@univerjs-pro/sheets-pivot 0.10.1-nightly.202508020912 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +39 -39
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +10 -10
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3e64d8=_0x141d;(function(_0x12aba3,_0x572d42){const _0x557d48=_0x141d,_0x1859c7=_0x12aba3();while(!![]){try{const _0x247ad2=-parseInt(_0x557d48(0x29e))/0x1*(parseInt(_0x557d48(0x32c))/0x2)+parseInt(_0x557d48(0x331))/0x3+-parseInt(_0x557d48(0x15f))/0x4+-parseInt(_0x557d48(0x282))/0x5*(parseInt(_0x557d48(0x117))/0x6)+parseInt(_0x557d48(0x159))/0x7+-parseInt(_0x557d48(0x151))/0x8*(-parseInt(_0x557d48(0x262))/0x9)+parseInt(_0x557d48(0x147))/0xa*(parseInt(_0x557d48(0x2f0))/0xb);if(_0x247ad2===_0x572d42)break;else _0x1859c7['push'](_0x1859c7['shift']());}catch(_0x5ebac0){_0x1859c7['push'](_0x1859c7['shift']());}}}(_0x458c,0xf2ba9));var sn=Object[_0x3e64d8(0x2f6)],an=(_0x2044b8,_0x1601cb,_0x31e2bd)=>_0x1601cb in _0x2044b8?sn(_0x2044b8,_0x1601cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31e2bd}):_0x2044b8[_0x1601cb]=_0x31e2bd,V=(_0x468e4f,_0x302a45,_0x2d95d4)=>an(_0x468e4f,typeof _0x302a45!='symbol'?_0x302a45+'':_0x302a45,_0x2d95d4);import{PivotCellStyleTypeEnum as _0x2ceb7a,PivotViewCellValueTypeEnum as _0x485151,isPrefixValue as _0x2b5b63,isErrorValue as _0x537346,PivotErrorTypeEnum as _0x386f17,PivotDateGroupFieldDateTypeEnum as _0x4b4fce,DataFieldManager as _0x20a600,FieldsCollection as _0x4ba63e,isDateValue as _0x3a6c8c,DataField as _0x14a95a,generateHexNumber as _0x6b8c21,isBaseGroupField as _0xf5ac43,PivotTable as _0x1c5293,PivotSubtotalTypeEnum as _0x2ae972,PivotTableFiledAreaEnum as _0x5bb14c,excelDateToUnixMilliseconds as _0x6532fb,createValueField as _0x4fd228,createLabelField as _0x19df2b,PivotTableChangeTypeEnum as _0x107a7c,BaseGroupField as _0x3a7abb,PivotView as _0x7d4b1b,isDateGroupFieldJSON as _0x6861e6,PivotCallbackEnum as _0x3b65ab,PivotFilterTypeEnum as _0x578352,getAutoDisplayName as _0x42d109,PivotDataFieldDataTypeEnum as _0x161891,PivotTableValuePositionEnum as _0x1a7c94,isDateGroupField as _0x21063d,DateGroupField as _0x48fd7b}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x42af7f,ObjectMatrix as _0x2067c1,IUniverInstanceService as _0x4eff45,UniverInstanceType as _0x273a5e,CellValueType as _0x13b1fc,numfmt as _0x2d4f3d,LocaleService as _0x34afa6,createAsyncInterceptorKey as _0x198675,createInterceptorKey as _0x402567,CommandType as _0x1e552e,RANGE_TYPE as _0x391d1d,numberToABC as _0x2f4efc,Inject as _0x5e764c,Injector as _0x4a79fb,LifecycleService as _0x53e3f8,ICommandService as _0x56dc87,IResourceManagerService as _0x38cbb2,Disposable as _0x41248b,Rectangle as _0x5e2546,IConfigService as _0x1b9dd7,Tools as _0x4d403b,AsyncInterceptorManager as _0x5dc865,InterceptorManager as _0x5f0f7b,InterceptorEffectEnum as _0x46ae8e,CustomCommandExecutionError as _0x462fc5,IUndoRedoService as _0xaae365,sequenceExecute as _0x594e7c,mergeWorksheetSnapshotWithDefault as _0x4472ab,generateRandomId as _0x3f23a1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x300091,DEFAULT_WORKSHEET_ROW_COUNT as _0x52a9f7,DisposableCollection as _0xd254f0,Range as _0x32c45e,DependentOn as _0xa5a44,Optional as _0x3c8be7,Plugin as _0x39cb72,merge as _0x45a86b}from'@univerjs/core';import{ErrorType as _0x2f552b,serializeRangeWithSpreadsheet as _0xb58f84,IFeatureCalculationManagerService as _0x43eff9,GlobalComputingStatusService as _0x14b9f2,IActiveDirtyManagerService as _0x43401c}from'@univerjs/engine-formula';import{generateNullCell as _0x2a217c,SetRangeValuesUndoMutationFactory as _0x52bcf3,SetRangeValuesMutation as _0x1f88a6,getSheetCommandTarget as _0x3a629a,InsertRowMutation as _0x20bd3b,RemoveRowMutation as _0x260841,InsertColMutation as _0x4d5485,RemoveColMutation as _0x1c8efe,IExclusiveRangeService as _0xf1fdac,SheetInterceptorService as _0x595b5e,INTERCEPTOR_POINT as _0x36bbf1,InsertSheetCommand as _0x23475d,InsertSheetUndoMutationFactory as _0x5769ca,RemoveSheetMutation as _0x206ea9,InsertSheetMutation as _0x24da71,MoveRangeMutation as _0x20e208,SheetsSelectionsService as _0x3cf03c,ClearSelectionContentCommand as _0x3914b7,ClearSelectionAllCommand as _0x3ec062,SetWorksheetColWidthMutation as _0x15cb3a,RefRangeService as _0x5463fa,SetWorksheetActiveOperation as _0x167c02,MoveRangeCommand as _0x581a37,RemoveSheetCommand as _0x61ec53}from'@univerjs/sheets';import{Subject as _0x37d4e0,BehaviorSubject as _0x3af789}from'rxjs';import{LS_CONFIG_KEY as _0x1eec45,unshiftString as _0x2f865f,isFeatureAuthorizedWithinTime as _0x2859f2,getSheetFeatureLimit as _0x345642,ReleaseType as _0x409f2c,UniverLicensePlugin as _0x214898}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x50d66f,RemoveSheetsFilterMutation as _0x445fce}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x11af54}from'@univerjs/rpc';import{getFontStyleString as _0x205650,FontCache as _0x4c6db8}from'@univerjs/engine-render';const Ao=Number['parseInt'](0x688dd73d),ri=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',mt=0x1,li=_0x3e64d8(0x33b),ci=_0x3e64d8(0x1a6),wt=_0x3e64d8(0x16e),di=_0x3e64d8(0x1d1),ui='#f4f4f5',fi='#eceeff',gi=_0x3e64d8(0x2e0),vi=_0x3e64d8(0xe9),hi=_0x3e64d8(0x18a),pi=_0x3e64d8(0x2e0),Ii=_0x3e64d8(0xe9),mi=_0x3e64d8(0x32b),Ci=0xe,bi=0x6;var ko=(_0x2a8464=>(_0x2a8464[_0x3e64d8(0x1d5)]=_0x3e64d8(0x206),_0x2a8464[_0x3e64d8(0x22d)]='new',_0x2a8464))(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':li},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':mi},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':pi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':hi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':fi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':di},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':gi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Si(_0x32288c,_0x111287,_0x177eea){const _0x298c8b=_0x3e64d8,_0x2819e3=_0x32288c[_0x298c8b(0x1f3)](_0x34afa6),_0x591c25=_0x177eea[_0x298c8b(0x234)]('_');switch(_0x111287){case _0x4b4fce['Year']:return _0x2819e3['t'](_0x298c8b(0x34b),..._0x591c25);case _0x4b4fce['Minute']:return _0x2819e3['t'](_0x298c8b(0x1d6),..._0x591c25);case _0x4b4fce['Hour']:return _0x2819e3['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x591c25);case _0x4b4fce[_0x298c8b(0x2b8)]:return _0x2819e3['t'](_0x298c8b(0x2fb),..._0x591c25);case _0x4b4fce[_0x298c8b(0x31d)]:return _0x2819e3['t'](_0x298c8b(0x342),..._0x591c25);case _0x4b4fce['Month']:return _0x2819e3['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x591c25);case _0x4b4fce[_0x298c8b(0x2d5)]:return _0x2819e3['t'](_0x298c8b(0x347),..._0x591c25);case _0x4b4fce['YearMonth']:return _0x2819e3['t'](_0x298c8b(0x1b1),..._0x591c25);case _0x4b4fce[_0x298c8b(0x228)]:return _0x2819e3['t'](_0x298c8b(0x333),..._0x591c25);case _0x4b4fce[_0x298c8b(0x34c)]:return _0x2819e3['t'](_0x298c8b(0x32e),..._0x591c25);}return'';}const tt=(_0x426af1,_0x3a60f1,_0x12b92f,_0x408d7c)=>{const _0x565b9c=_0x3e64d8;let _0x1f294f;const _0x5d434c=_0x426af1[_0x565b9c(0x1f3)](_0x4eff45)[_0x565b9c(0x18d)](_0x273a5e['UNIVER_SHEET']);if(!_0x5d434c)return null;const _0x2cfe8b=_0x5d434c['getStyles']();let _0x315a22;if(_0x12b92f&&(_0x315a22=_0x2cfe8b['setValue'](_0x12b92f)),_0x3a60f1!=null&&_0x3a60f1['v']||(_0x3a60f1==null?void 0x0:_0x3a60f1['v'])===0x0){_0x1f294f||(_0x1f294f={});const _0x4bfe66=Lo(_0x3a60f1['v']);typeof _0x4bfe66==_0x565b9c(0x336)?_0x1f294f['t']=_0x13b1fc[_0x565b9c(0x20f)]:typeof _0x4bfe66==_0x565b9c(0x1e0)&&(_0x1f294f['t']=_0x13b1fc[_0x565b9c(0x303)]),_0x1f294f['v']=_0x4bfe66;}if((_0x3a60f1!=null&&_0x3a60f1['i']||(_0x3a60f1==null?void 0x0:_0x3a60f1['i'])===0x0)&&(_0x1f294f||(_0x1f294f={}),_0x1f294f['fi']=_0x3a60f1['i']),_0x3a60f1!=null&&_0x3a60f1['s']&&(_0x1f294f||(_0x1f294f={}),_0x1f294f[_0x565b9c(0x2d4)]=_0x3a60f1['s']),_0x12b92f&&(_0x1f294f||(_0x1f294f={}),_0x1f294f['s']=_0x315a22),_0x408d7c&&_0x1f294f!=null&&_0x1f294f['v']&&_0x1f294f['pbt']!==_0x2ceb7a[_0x565b9c(0x121)]&&_0x1f294f['pbt']!==_0x2ceb7a[_0x565b9c(0x156)]){const _0x105680=String(_0x1f294f['v']),{dateType:_0x4d6d01}=_0x408d7c;_0x1f294f['v']=Si(_0x426af1,_0x4d6d01,_0x105680),_0x1f294f['t']=_0x13b1fc[_0x565b9c(0x303)];}return _0x1f294f;},Mi=(_0x577d2b,_0x50b73c,_0x1ab9ad,_0x3ed98)=>{const _0x243d01=_0x3e64d8;var _0x4486b9,_0x5e1546,_0x1a2f94,_0x29e06c,_0x2bff59,_0x5166d9,_0x2664b2,_0x4ef1b4,_0x1e43a8,_0x19db8c,_0x205c50,_0x1fd2a4,_0x423b73,_0xdc5c61;const _0x3e9977=_0x1ab9ad['targetCellInfo'],{cornerView:_0xfb2714,rowView:_0x345932,colView:_0x4062f9,dataView:_0x3ae1cb,pageView:_0x457627,formatMap:_0x45f6be,groupInfo:_0x5370e1}=_0x50b73c,{row:_0x10f726,col:_0x2f129d}=_0x3e9977,_0xd8c547=new _0x2067c1(),_0x556e38={},_0x3cbb61={},_0x834b43={},_0x535516={},_0x1afa88={};let _0x3537ed=_0x10f726,_0x4c4477=_0x2f129d;Object[_0x243d01(0x19b)](_0x457627[_0x243d01(0x274)])[_0x243d01(0x14a)](_0x2c7705=>{const _0x4458a1=_0x243d01;Object[_0x4458a1(0x19b)](_0x457627['data'][Number(_0x2c7705)])[_0x4458a1(0x14a)](_0x14a341=>{const _0x589dc4=_0x4458a1,_0x4e0592={..._0x457627['data'][Number(_0x2c7705)][Number(_0x14a341)]};_0xd8c547[_0x589dc4(0x1df)](Number(_0x2c7705)+_0x3537ed,Number(_0x14a341)+_0x4c4477,tt(_0x577d2b,_0x4e0592,fe[_0x589dc4(0x2d6)]));});});const _0x1c3119=Object[_0x243d01(0x19b)](_0x457627[_0x243d01(0x274)])[_0x243d01(0x169)];_0x3537ed+=_0x1c3119+(_0x1c3119?mt:0x0);const _0x4415ca=_0xfb2714[_0x243d01(0x240)](),_0x4b924e=_0xfb2714['getColCount']();for(let _0xa6d538=0x0;_0xa6d538<_0x4415ca;_0xa6d538++)for(let _0x131ef4=0x0;_0x131ef4<_0x4b924e;_0x131ef4++){const _0x290556={...(_0x5e1546=(_0x4486b9=_0xfb2714[_0x243d01(0x274)])==null?void 0x0:_0x4486b9[_0xa6d538])==null?void 0x0:_0x5e1546[_0x131ef4]};_0x290556&&((_0x1a2f94=_0x345932['headerMap'][_0x131ef4])!=null&&_0x1a2f94['isValue'])&&_0x131ef4===_0x4b924e-0x1&&_0xa6d538===_0x4415ca-0x1&&(_0x290556['v']=''+_0x3ed98[_0x243d01(0xd6)]),_0xd8c547[_0x243d01(0x1df)](_0xa6d538+_0x3537ed,_0x131ef4+_0x4c4477,tt(_0x577d2b,_0x290556,fe['cornerStyle']));}for(let _0xf9d7ac=0x0;_0xf9d7ac<_0xfb2714[_0x243d01(0x2c8)][_0x243d01(0x169)];_0xf9d7ac++)_0xfb2714[_0x243d01(0x2c8)][_0xf9d7ac]&&(_0x834b43[''+(_0xf9d7ac+_0x4c4477)]=_0xfb2714[_0x243d01(0x2c8)][_0xf9d7ac]);_0x4c4477+=_0x4b924e;const _0x5ac3a6=_0x4062f9[_0x243d01(0x1e3)],_0x26feb2=_0x4062f9[_0x243d01(0x2c0)]()>=0x0?_0x4062f9[_0x243d01(0x2c0)]()+0x1:0x0,_0x44209b=_0x4062f9['getLastCol']()>=0x0?_0x4062f9[_0x243d01(0x2eb)]()+0x1:0x0;for(let _0x440401=0x0;_0x440401<_0x44209b;_0x440401++){for(let _0x35e440=0x0;_0x35e440<_0x26feb2;_0x35e440++){const _0x5e6343={...(_0x2bff59=(_0x29e06c=_0x4062f9[_0x243d01(0x274)])==null?void 0x0:_0x29e06c[_0x35e440])==null?void 0x0:_0x2bff59[_0x440401]},_0x257155=(_0x5166d9=_0x5ac3a6[_0x35e440])==null?void 0x0:_0x5166d9[_0x243d01(0x298)],_0x4b5b35=_0x45f6be[_0x257155],_0x21c24e=_0x5370e1[_0x257155];_0x5e6343&&(_0x5e6343['v']=ht(_0x5e6343,_0x35e440===0x0&&((_0x2664b2=_0x4062f9[_0x243d01(0x1fb)](_0x440401+0x1))==null?void 0x0:_0x2664b2[_0x243d01(0x1c4)]),_0x4b5b35,_0x3ed98));let _0x592816;_0x4b5b35?_0x592816={...fe[_0x243d01(0x1a7)],'n':{'pattern':_0x4b5b35}}:_0x592816={...fe['colStyle']},_0xd8c547[_0x243d01(0x1df)](_0x35e440+_0x3537ed,_0x440401+_0x4c4477,tt(_0x577d2b,_0x5e6343,_0x592816,_0x21c24e));}_0x4062f9[_0x243d01(0x2c8)][_0x440401]&&(_0x3cbb61[''+(_0x440401+_0x4c4477)]=_0x4062f9[_0x243d01(0x2c8)][_0x440401]),_0x4062f9[_0x243d01(0x1e3)][_0x440401+0x1]&&(_0x1afa88[''+(_0x440401+_0x3537ed+0x1)]=_0x4062f9[_0x243d01(0x1e3)][_0x440401+0x1]);}_0x3537ed+=_0x4415ca;const _0x68aa46=_0x345932[_0x243d01(0x1e3)],_0x29ca20=_0x345932[_0x243d01(0x2c0)]()>=0x0?_0x345932[_0x243d01(0x2c0)]()+0x1:0x0,_0x45a2bc=_0x345932['getLastCol']()>=0x0?_0x345932[_0x243d01(0x2eb)]()+0x1:0x0;for(let _0x21332e=0x0;_0x21332e<_0x29ca20;_0x21332e++){for(let _0x3da090=0x0;_0x3da090<_0x45a2bc;_0x3da090++){const _0x7ee776={...(_0x1e43a8=(_0x4ef1b4=_0x345932['data'])==null?void 0x0:_0x4ef1b4[_0x21332e])==null?void 0x0:_0x1e43a8[_0x3da090]},_0xda81e9=(_0x19db8c=_0x68aa46[_0x3da090])==null?void 0x0:_0x19db8c[_0x243d01(0x298)],_0x3d6696=_0x45f6be[_0xda81e9],_0x51ae6b=_0x5370e1[_0xda81e9];_0x7ee776&&(_0x7ee776['v']=ht(_0x7ee776,!0x1,_0x3d6696,_0x3ed98));let _0x3f72bb;_0x345932['info'][_0x21332e][_0x243d01(0x27e)]===_0x345932[_0x243d01(0x1a9)]()?_0x3f72bb=fe[_0x243d01(0x294)]:_0x345932[_0x243d01(0x2c8)][_0x21332e][_0x243d01(0x195)]?_0x3f72bb=_0x345932[_0x243d01(0x2c8)][_0x21332e][_0x243d01(0x27e)]===0x0?fe['grandTotal']:fe[_0x243d01(0x332)]:_0x3f72bb=fe[_0x243d01(0x2da)],_0x3d6696&&(_0x3f72bb={..._0x3f72bb,'n':{'pattern':_0x3d6696}}),_0xd8c547[_0x243d01(0x1df)](_0x21332e+_0x3537ed,_0x3da090+_0x2f129d,tt(_0x577d2b,_0x7ee776,_0x3f72bb,_0x51ae6b));}_0x345932[_0x243d01(0x2c8)][_0x21332e]&&(_0x556e38[''+(_0x21332e+_0x3537ed)]=_0x345932['info'][_0x21332e]),_0x345932[_0x243d01(0x1e3)][_0x21332e]&&(_0x535516[''+(_0x21332e+_0x2f129d)]=_0x345932[_0x243d01(0x1e3)][_0x21332e]);}const _0x371aac=_0x3ae1cb[_0x243d01(0x240)](),_0x1bd128=_0x3ae1cb['getColCount']();for(let _0x5c5e84=0x0;_0x5c5e84<_0x371aac;_0x5c5e84++)for(let _0x2381fb=0x0;_0x2381fb<_0x1bd128;_0x2381fb++){const _0x23e7d8={...(_0x1fd2a4=(_0x205c50=_0x3ae1cb[_0x243d01(0x274)])==null?void 0x0:_0x205c50[_0x5c5e84])==null?void 0x0:_0x1fd2a4[_0x2381fb]};let _0x135847;_0x345932['info'][_0x5c5e84][_0x243d01(0x195)]?_0x135847=_0x345932[_0x243d01(0x2c8)][_0x5c5e84][_0x243d01(0x27e)]===0x0?fe[_0x243d01(0x34a)]:fe[_0x243d01(0x332)]:_0x135847=fe[_0x243d01(0x13f)];const _0x35ac0e=_0x345932[_0x243d01(0x2c8)][_0x5c5e84]['valueIndex'],_0x2b60a3=_0x4062f9['info'][_0x2381fb][_0x243d01(0x252)],_0x3aaada=Math[_0x243d01(0x343)](_0x35ac0e,_0x2b60a3),_0x4621bd=_0x1ab9ad[_0x243d01(0x31f)][_0x243d01(0x2b0)][_0x243d01(0x162)]();let _0x1df1c3='';_0x3aaada<0x0?_0x1df1c3=(_0x423b73=_0x4621bd[0x0])!=null?_0x423b73:'':_0x1df1c3=(_0xdc5c61=_0x4621bd[_0x3aaada])!=null?_0xdc5c61:'';const _0x1af556=_0x45f6be[_0x1df1c3];_0x1af556&&(_0x135847={..._0x135847,'n':{'pattern':_0x1af556}}),_0xd8c547[_0x243d01(0x1df)](_0x5c5e84+_0x3537ed,_0x2381fb+_0x4c4477,tt(_0x577d2b,_0x23e7d8,_0x135847));}return{'valueMatrix':_0xd8c547,'rowInfo':_0x556e38,'colInfo':_0x3cbb61,'cornerInfo':_0x834b43,'rowHeaderMap':_0x535516,'colHeaderMap':_0x1afa88};};function ht(_0xcc6427,_0xbc90f4,_0x41214c,_0x50067e){const _0x341f5c=_0x3e64d8;let _0x2c2fa3=_0xcc6427['v'];_0xbc90f4&&(_0x2c2fa3=''+_0x50067e['sheets-pivot.value']);const _0x55555c=_0xcc6427['t']&&(_0xcc6427['t']&_0x485151['blank'])>0x0;if(_0x55555c&&(_0x2c2fa3=''+_0x50067e[_0x341f5c(0x1ac)]),_0xcc6427['s']===_0x2ceb7a[_0x341f5c(0x156)]){let _0x1b43b9=_0x2c2fa3,_0x36e321='';_0x2b5b63(_0x2c2fa3)&&(_0x1b43b9=_0x2c2fa3['prefix'],_0x36e321=_0x2c2fa3['value']);const _0x3cd07a=_0x41214c&&!_0x55555c?_0x2d4f3d['format'](_0x41214c,Number(_0x1b43b9)):_0x1b43b9;_0x36e321?_0x2c2fa3=_0x3cd07a+'\x20'+_0x36e321:_0x2c2fa3=_0x3cd07a+'\x20'+_0x50067e[_0x341f5c(0x339)];}else _0xcc6427['s']===_0x2ceb7a[_0x341f5c(0x121)]&&(_0x2c2fa3=_0x2c2fa3+'\x20'+_0x50067e[_0x341f5c(0x2d0)]);return _0x2c2fa3;}function Lo(_0x23b5f2){const _0x3e3e1b=_0x3e64d8;if(_0x537346(_0x23b5f2)){const {errorType:_0x104487}=_0x23b5f2;switch(_0x104487){case _0x386f17[_0x3e3e1b(0x29b)]:return _0x2f552b[_0x3e3e1b(0x212)];case _0x386f17[_0x3e3e1b(0x1ee)]:return _0x2f552b[_0x3e3e1b(0x1b3)];case _0x386f17[_0x3e3e1b(0x163)]:return _0x2f552b['NAME'];case _0x386f17[_0x3e3e1b(0x308)]:return _0x2f552b[_0x3e3e1b(0x237)];case _0x386f17[_0x3e3e1b(0x272)]:return _0x2f552b[_0x3e3e1b(0x170)];}}return _0x23b5f2;}function ge(_0xa4ba49,_0x56a480,_0xcbfea4=!0x1,_0x3ba635=!0x1){const _0x3566c6=_0x3e64d8,{data:_0x5770c6}=_0x56a480,_0x462cf4=_0x56a480[_0x3566c6(0x240)](),_0x3c6500=_0x56a480[_0x3566c6(0x1a9)]();if(_0x462cf4<=0x0||_0x3c6500<=0x0)return[];const _0x2d4564=_0x56a480['getLastCol'](),_0xd49d70=_0x56a480[_0x3566c6(0x2c0)](),_0x511305=_0x3ba635?_0xd49d70>=0x0?_0xd49d70+0x1:0x0:_0x462cf4,_0x266aa9=_0x3ba635?_0x2d4564>=0x0?_0x2d4564+0x1:0x0:_0x3c6500,{row:_0x4a6b17,col:_0x80b686}=_0xa4ba49,_0x4e6dcb=_0x4a6b17,_0x5eb7f5=_0x80b686;if(_0xcbfea4){const _0x44f72a=[];for(const [_0x327949,_0x131331]of Object[_0x3566c6(0x2f8)](_0x5770c6))for(const [_0x5d3d69,_0x513a90]of Object[_0x3566c6(0x2f8)](_0x131331))_0x44f72a[_0x3566c6(0x2b6)](_0x42af7f(_0x4e6dcb+Number(_0x327949),_0x5eb7f5+Number(_0x5d3d69)));return _0x44f72a;}else{const _0x512d19=_0x3ba635?_0x511305>0x0?0x1:0x0:0x1,_0x30b902=_0x3ba635?_0x266aa9>0x0?0x1:0x0:0x1,_0x34a034=_0x4a6b17+_0x511305-_0x512d19,_0x4cd68c=_0x80b686+_0x266aa9-_0x30b902;return[{'startRow':_0x4e6dcb,'startColumn':_0x5eb7f5,'endRow':_0x34a034,'endColumn':_0x4cd68c}];}}const q='SHEET_PIVOT_IN_MAIN_THREAD',Bt=_0x3e64d8(0x14b);var k=(_0x158d33=>(_0x158d33[_0x3e64d8(0x233)]=_0x3e64d8(0x2b5),_0x158d33[_0x3e64d8(0x15c)]=_0x3e64d8(0x28c),_0x158d33['AddPivotField']='addPivotField',_0x158d33[_0x3e64d8(0x13b)]=_0x3e64d8(0x13b),_0x158d33[_0x3e64d8(0x23f)]=_0x3e64d8(0x12f),_0x158d33[_0x3e64d8(0x253)]=_0x3e64d8(0x242),_0x158d33[_0x3e64d8(0x177)]=_0x3e64d8(0x280),_0x158d33[_0x3e64d8(0x18c)]=_0x3e64d8(0x113),_0x158d33['SetPivotFilter']=_0x3e64d8(0x17b),_0x158d33[_0x3e64d8(0x2c6)]=_0x3e64d8(0x1f8),_0x158d33['SetPivotSetting']='setPivotSetting',_0x158d33[_0x3e64d8(0x33c)]=_0x3e64d8(0x17d),_0x158d33['UpdateValuePosition']='updateValuePosition',_0x158d33[_0x3e64d8(0x26a)]=_0x3e64d8(0x335),_0x158d33[_0x3e64d8(0x221)]='setValuePivotFilter',_0x158d33['SetPivotTableConfig']=_0x3e64d8(0x186),_0x158d33[_0x3e64d8(0x2d9)]=_0x3e64d8(0xd9),_0x158d33))(k||{});const Ti={'sheets-pivot.blankValue':_0x3e64d8(0x28d),'sheets-pivot.columnName':_0x3e64d8(0x153),'sheets-pivot.subTotalText':_0x3e64d8(0x2fe),'sheets-pivot.grandTotalText':_0x3e64d8(0x2af),'sheets-pivot.valueText':_0x3e64d8(0x203),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x3e64d8(0x2e9),'sheets-pivot.countNumsName':_0x3e64d8(0x2e9),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x3e64d8(0x1ae),'sheets-pivot.stdDevpName':_0x3e64d8(0x1c7),'sheets-pivot.sumName':_0x3e64d8(0x100),'sheets-pivot.varName':_0x3e64d8(0x120),'sheets-pivot.varpName':_0x3e64d8(0x2ce),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x3e64d8(0x2af),'sheets-pivot.value':_0x3e64d8(0x341),'sheets-pivot.blank':_0x3e64d8(0x2f2),'sheets-pivot.emptyPivot.filter':_0x3e64d8(0x233),'sheets-pivot.emptyPivot.row':_0x3e64d8(0x16b),'sheets-pivot.emptyPivot.column':_0x3e64d8(0x2d2),'sheets-pivot.emptyPivot.values':_0x3e64d8(0x349)},So={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x198675(_0x3e64d8(0x194)),Ho=_0x402567(_0x3e64d8(0x292));var Be=(_0x305d97=>(_0x305d97[_0x3e64d8(0x167)]=_0x3e64d8(0x167),_0x305d97[_0x3e64d8(0xda)]=_0x3e64d8(0xda),_0x305d97['update']=_0x3e64d8(0x109),_0x305d97))(Be||{}),H=(_0x400db5=>(_0x400db5[_0x3e64d8(0x1fd)]=_0x3e64d8(0x167),_0x400db5[_0x3e64d8(0x249)]=_0x3e64d8(0x1b9),_0x400db5[_0x3e64d8(0x28e)]=_0x3e64d8(0xda),_0x400db5))(H||{});const $o={0x0:'5',0x1:'O',0x2:'y',0x3:'1',0x4:'9',0x5:'j',0x6:'g',0x7:'J',0x8:'X',0x9:'K','v':'0','a':'2','t':'3','U':'4','L':'6','X':'7','Q':'8','O':'a','j':'b','V':'c','w':'d','r':'e','c':'f','D':'h','H':'i','N':'k','A':'l','F':'m','P':'n','g':'o','B':'p','S':'q','M':'r','f':'s','I':'t','C':'u','i':'v','G':'w','T':'x','d':'z','K':'A','q':'B','Y':'C','n':'D','e':'E','x':'F','z':'G','W':'H','p':'I','o':'L','k':'M','h':'N','E':'P','J':'Q','s':'R','u':'S','R':'T','l':'U','y':'V','b':'W','m':'Y','Z':'Z'},Jo=_0x3e64d8(0x26f),ro={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x191),'handler':()=>!0x0},lo={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x192),'handler':()=>!0x0},Dt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x12a),'handler':()=>!0x0},co={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0xf0),'handler':()=>!0x0},uo={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x22b),'handler':()=>!0x0},yi=_0x5485a8=>{const _0x6f5c0e=_0x3e64d8;var _0xebe7e;return((_0xebe7e=_0x5485a8[_0x6f5c0e(0x1af)])==null?void 0x0:_0xebe7e[_0x6f5c0e(0xd8)][_0x6f5c0e(0x1ef)](/\r\n$/,''))||'';};class wi extends _0x20a600{constructor(_0x19a531,_0x3ee295){const _0x398ee1=_0x3e64d8;super(),V(this,_0x398ee1(0x161),{}),V(this,_0x398ee1(0x309)),V(this,'_host'),(this['_univerInstanceService']=_0x3ee295,this[_0x398ee1(0x122)]=_0x19a531);}[_0x3e64d8(0x235)](){const _0x53f9d1=_0x3e64d8;for(const _0x2fc435 in this[_0x53f9d1(0x131)]){const _0x330a75=this[_0x53f9d1(0x131)][_0x2fc435],_0x382b9a=_0x330a75[_0x53f9d1(0x130)]();this['rangeKeyMap'][_0x382b9a]=_0x330a75[_0x53f9d1(0x10b)]();}}['getAutoDisplayNameFunction'](){const _0x289e63=_0x3e64d8,_0x4a29df=this[_0x289e63(0x122)];return Oi['bind'](_0x4a29df);}[_0x3e64d8(0x16a)](_0x32c146){const _0x3f3c70=_0x3e64d8,_0x34a2dd=this[_0x3f3c70(0x131)][_0x32c146][_0x3f3c70(0x283)];delete this[_0x3f3c70(0x131)][_0x32c146],delete this['rangeKeyMap'][_0x34a2dd];}[_0x3e64d8(0x2cb)](_0x1d25b2){const _0x2003c9=_0x3e64d8;this['dataFields'][_0x1d25b2[_0x2003c9(0x10b)]()]=_0x1d25b2;}[_0x3e64d8(0xf8)](_0x4fb638){const _0x9885df=_0x3e64d8;var _0x367eb6,_0x19bf48;const _0x42d21f=this[_0x9885df(0x122)][_0x9885df(0x187)](_0x4fb638);if(_0x42d21f){const {unitId:_0x33f00a,subUnitId:_0x2412ed}=_0x42d21f,_0x3bd2ff=(_0x367eb6=this['_host'][_0x9885df(0x26b)](_0x33f00a,_0x2412ed,_0x4fb638))==null?void 0x0:_0x367eb6[_0x9885df(0x1e8)];this[_0x9885df(0x122)][_0x9885df(0x299)]({'token':_0x4fb638,'type':Be[_0x9885df(0xda)],'dataRangeInfo':_0x3bd2ff});}(_0x19bf48=this[_0x9885df(0x1fc)](_0x4fb638))==null||_0x19bf48[_0x9885df(0x295)](),delete this['collections'][_0x4fb638];}[_0x3e64d8(0x130)](_0x48dae6,_0x44c439){const {sheetName:_0x34160d,unitId:_0x4b6494,range:_0x16a1ee}=_0x48dae6,{startRow:_0x4fa4ee,endRow:_0x56c684}=_0x16a1ee;return _0xb58f84(_0x4b6494,_0x34160d,{'startRow':_0x4fa4ee,'endRow':_0x56c684,'startColumn':_0x44c439,'endColumn':_0x44c439});}[_0x3e64d8(0x2e4)](_0x5ba7bf){const _0x385288=_0x3e64d8;return this[_0x385288(0x131)][this['rangeKeyMap'][_0x5ba7bf]];}[_0x3e64d8(0x314)](_0x33d7ca,_0x34b3c2){const _0x3a4d02=_0x3e64d8;this[_0x3a4d02(0x161)][_0x33d7ca]=_0x34b3c2;}['updateRangeKeyMap'](_0x13bb30,_0x2880cb){const _0x49c4ff=_0x3e64d8;this[_0x49c4ff(0x161)][_0x2880cb]=this[_0x49c4ff(0x161)][_0x13bb30],delete this[_0x49c4ff(0x161)][_0x13bb30];}[_0x3e64d8(0x260)](_0x525645,_0xd54e8e,_0xb73ea5,_0x27d588){const _0x4fe4ff=_0x3e64d8,_0x5dd58f=new _0x4ba63e(this);_0x5dd58f['fromJSON'](_0xd54e8e);const _0x1d7bcf=[];let _0x262436=0x0;for(const _0x497bee of _0x5dd58f['fieldIds']){const _0x3418d1=this[_0x4fe4ff(0x130)](_0xb73ea5,_0x262436),_0x34545e=this['dataFields'][_0x497bee];_0x34545e&&(_0x34545e['rangeKey']=_0x3418d1,this['setRangeKeyMap'](_0x3418d1,_0x497bee),_0x1d7bcf[_0x4fe4ff(0x2b6)]({'index':_0x262436,'dataField':_0x34545e})),_0x262436++;}return this[_0x4fe4ff(0x2fd)](_0x525645,_0x5dd58f,_0xb73ea5,_0x27d588),{'collection':_0x5dd58f,'updateDataFieldList':_0x1d7bcf};}[_0x3e64d8(0x2ca)](_0x36ffd7,_0x405a51){const _0x355d36=_0x3e64d8;return _0x36ffd7[_0x355d36(0x107)]===_0x391d1d[_0x355d36(0x29f)]?{'startRow':0x0,'startColumn':_0x36ffd7[_0x355d36(0x178)],'endRow':_0x405a51[_0x355d36(0x240)]()-0x1,'endColumn':_0x36ffd7[_0x355d36(0x1fa)]}:{'startRow':_0x36ffd7[_0x355d36(0x31a)],'startColumn':_0x36ffd7[_0x355d36(0x178)],'endRow':_0x36ffd7[_0x355d36(0x129)],'endColumn':_0x36ffd7[_0x355d36(0x1fa)]};}[_0x3e64d8(0x239)](_0x4ba6d9){const _0x203d39=_0x3e64d8,{sheetName:_0x2d7b98,range:_0x1f1803}=_0x4ba6d9,_0x5adaca=this[_0x203d39(0x309)]['getCurrentUnitForType'](_0x273a5e[_0x203d39(0x180)]),_0x17269e=_0x5adaca[_0x203d39(0x2cf)](_0x2d7b98),_0x11e07f=_0x17269e[_0x203d39(0x1a1)](),{startColumn:_0x449aac,startRow:_0x12db09,endColumn:_0x201234}=this[_0x203d39(0x2ca)](_0x1f1803,_0x17269e),_0x536085=_0x5adaca[_0x203d39(0x1de)](),_0x1c9047=new _0x4ba63e(this);_0x1c9047[_0x203d39(0x204)](_0x4ba6d9);const _0x2ccea4=[],_0x4d8cc6={};for(let _0x33ed29=_0x449aac;_0x33ed29<=_0x201234;_0x33ed29++){const _0x5ac786=_0x11e07f[_0x203d39(0x1d2)](_0x12db09,_0x33ed29),_0x7f7ac2=this[_0x203d39(0x130)](_0x4ba6d9,_0x33ed29),_0x40bbae=this['getDataFieldByRangeKey'](_0x7f7ac2);if(_0x40bbae)_0x1c9047['addField'](_0x40bbae[_0x203d39(0x10b)](),_0x40bbae['getName']());else{const _0x4a6037=this[_0x203d39(0x2d3)]();let _0x114b42=this[_0x203d39(0x1a5)](_0x5ac786,_0x536085,_0x4d8cc6);_0x3a6c8c(_0x114b42)&&(_0x114b42=_0x2d4f3d[_0x203d39(0x193)](_0x114b42['f'],Number(_0x114b42['v'])));const _0x288c81=this[_0x203d39(0x281)](_0x114b42,_0x33ed29),_0x2c0260=new _0x14a95a(_0x4a6037,_0x288c81,_0x6b8c21(0x3));_0x2c0260[_0x203d39(0x283)]=_0x7f7ac2,this['dataFields'][_0x4a6037]=_0x2c0260,_0x1c9047['addField'](_0x4a6037,_0x288c81),_0x2ccea4[_0x203d39(0x2b6)]({'index':_0x33ed29,'dataField':_0x2c0260});}}return{'updateDataFieldList':_0x2ccea4,'collection':_0x1c9047};}[_0x3e64d8(0x17e)](_0x3828e6){const _0x389af8=_0x3e64d8;return this[_0x389af8(0x122)]['getTextInfo']()[_0x389af8(0x149)]+'\x20'+_0x2f4efc(_0x3828e6);}[_0x3e64d8(0x281)](_0x3b0d10,_0x32ee36){const _0x39d183=_0x3e64d8;return _0x3b0d10==null||_0x3b0d10===''?this[_0x39d183(0x17e)](_0x32ee36):String(_0x3b0d10);}[_0x3e64d8(0x1fc)](_0x144859){const _0x3a0447=_0x3e64d8;return this[_0x3a0447(0x256)][_0x144859];}[_0x3e64d8(0x2fd)](_0x11e5fe,_0x407067,_0x4894a3,_0x1187bf){const _0x3b7af3=_0x3e64d8;this[_0x3b7af3(0x256)][_0x11e5fe]=_0x407067,_0x407067['setRange'](_0x4894a3),this[_0x3b7af3(0x122)][_0x3b7af3(0x299)]({'token':_0x11e5fe,'type':Be[_0x3b7af3(0x167)],'dataRangeInfo':_0x4894a3,'targetCellInfo':_0x1187bf});}[_0x3e64d8(0x19f)](_0x5df46e,_0x30614a){const _0x4fd678=_0x3e64d8,_0xf75b4=this[_0x4fd678(0x1fc)](_0x5df46e),_0x4e5f2f=_0xf75b4['getFieldIds']();let _0x224e68=0x0;for(const _0xe5eda5 of _0x4e5f2f){const _0x558738=_0xf75b4[_0x4fd678(0x1ca)](_0xe5eda5),_0x1fa9e9=this[_0x4fd678(0x130)](_0x30614a,_0x224e68);this[_0x4fd678(0x269)](_0x558738['rangeKey'],_0x1fa9e9),_0x224e68++;}}[_0x3e64d8(0x29a)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x2609c5,_0x2ef8f9){const _0x1ea325=_0x3e64d8;if(this['getCollection'](_0x2609c5)){const _0xb38ca8=this['getRangeKeyList'](_0x2ef8f9),_0x5ebe54=[];for(const _0x53af15 of _0xb38ca8)this[_0x1ea325(0x161)][_0x53af15]!==void 0x0&&_0x5ebe54[_0x1ea325(0x2b6)](this[_0x1ea325(0x161)][_0x53af15]);const _0x47e6e6=this[_0x1ea325(0x286)](_0x2609c5),_0x1e21b4=[],_0x465762=new Set(_0x5ebe54);for(const _0x3bcb44 of _0x47e6e6)_0x465762[_0x1ea325(0xe7)](_0x3bcb44)||_0x1e21b4[_0x1ea325(0x2b6)](_0x3bcb44);return _0x1e21b4;}}[_0x3e64d8(0x2f4)](_0x5d3ba8,_0x40dd2f,_0x44e221,_0x1c3a31,_0xc73805){const _0x56cd86=_0x3e64d8;return _0x40dd2f&&_0x40dd2f['getValue'](_0x1c3a31,_0xc73805)?_0x40dd2f['getValue'](_0x1c3a31,_0xc73805):_0x44e221&&_0x44e221['getValue'](_0x1c3a31,_0xc73805)?_0x44e221[_0x56cd86(0x1d2)](_0x1c3a31,_0xc73805):_0x5d3ba8[_0x56cd86(0x1d2)](_0x1c3a31,_0xc73805);}[_0x3e64d8(0xd2)](_0x923bc2,_0x25c57f,_0x54a092,_0x37f855){const _0x403090=_0x3e64d8,_0x1bdbcd=this[_0x403090(0x131)][_0x923bc2];if(!_0x1bdbcd)return;const {subUnitId:_0x4471e7,range:_0x14b52e,unitId:_0x54ee96}=_0x25c57f,_0x95cc9=this[_0x403090(0x309)][_0x403090(0xfe)](_0x54ee96);if(!_0x95cc9){console[_0x403090(0x345)](_0x403090(0x267));return;}const _0x4a9691=_0x95cc9[_0x403090(0x190)](_0x4471e7),_0x131918=_0x4a9691[_0x403090(0x1a1)](),{arrayFormulaCellDataMatrix:_0x4d5055,unitDataMatrix:_0x49060b}=_0x37f855||{},{startRow:_0x5f0610,startColumn:_0x3a0731,endRow:_0xfa5f30}=this[_0x403090(0x2ca)](_0x14b52e,_0x4a9691);_0x1bdbcd[_0x403090(0x22c)]();const _0x1fc00d=_0x95cc9['getStyles'](),_0x4fd344={},_0x2838e9=this['getMatrixValue'](_0x131918,_0x4d5055,_0x49060b,_0x5f0610,_0x3a0731+_0x54a092);let _0x1a832a=this[_0x403090(0x1a5)](_0x2838e9,_0x1fc00d,_0x4fd344);_0x3a6c8c(_0x1a832a)&&(_0x1a832a=_0x2d4f3d['format'](_0x1a832a['f'],Number(_0x1a832a['v'])));const _0x231319=this[_0x403090(0x281)](_0x1a832a,_0x3a0731+_0x54a092);_0x1bdbcd[_0x403090(0x1d0)](_0x231319);for(let _0x4898b2=_0x5f0610+0x1;_0x4898b2<=_0xfa5f30;_0x4898b2++){const _0xd9dce7=this[_0x403090(0x2f4)](_0x131918,_0x4d5055,_0x49060b,_0x4898b2,_0x3a0731+_0x54a092);_0x1bdbcd[_0x403090(0x276)](this[_0x403090(0x1a5)](_0xd9dce7,_0x1fc00d,_0x4fd344),_0x4898b2-0x1-_0x5f0610);}}[_0x3e64d8(0x141)](_0x5a170f,_0x320775,_0xd4985a){const _0x2c375b=_0x3e64d8,{subUnitId:_0x2a6f97,range:_0x113d8b,unitId:_0x2b2f5a}=_0xd4985a,_0x55530c=this['_univerInstanceService'][_0x2c375b(0xfe)](_0x2b2f5a);if(!_0x55530c){console[_0x2c375b(0x345)](_0x2c375b(0x267));return;}const _0xa8d441=_0x55530c[_0x2c375b(0x190)](_0x2a6f97),_0x1ccccd=_0xa8d441['getCellMatrix'](),{startRow:_0x51d5b5,startColumn:_0x212318,endRow:_0x339d04}=this[_0x2c375b(0x2ca)](_0x113d8b,_0xa8d441),_0x497257=_0x55530c[_0x2c375b(0x1de)](),_0x45292c={};for(const {dataField:_0x2f8e88,index:_0x273451}of _0x320775){_0x2f8e88[_0x2c375b(0x22c)]();const _0x4cd6d3=this[_0x2c375b(0x2f4)](_0x1ccccd,void 0x0,void 0x0,_0x51d5b5,_0x212318+_0x273451);let _0x2fc62d=this[_0x2c375b(0x1a5)](_0x4cd6d3,_0x497257,_0x45292c);_0x3a6c8c(_0x2fc62d)&&(_0x2fc62d=_0x2d4f3d['format'](_0x2fc62d['f'],Number(_0x2fc62d['v'])));const _0x17c911=this[_0x2c375b(0x281)](_0x2fc62d,_0x212318+_0x273451);_0x2f8e88[_0x2c375b(0x1d0)](_0x17c911);}_0x5a170f[_0x2c375b(0x1d8)]();for(let _0x1f79c4=_0x51d5b5+0x1;_0x1f79c4<=_0x339d04;_0x1f79c4++)for(const {index:_0x52ff78,dataField:_0xc1da3e}of _0x320775){const _0x54a730=_0x1ccccd[_0x2c375b(0x1d2)](_0x1f79c4,_0x212318+_0x52ff78);_0xc1da3e[_0x2c375b(0x276)](this[_0x2c375b(0x1a5)](_0x54a730,_0x497257,_0x45292c),_0x1f79c4-0x1-_0x51d5b5);}_0x5a170f[_0x2c375b(0x165)](_0x339d04-_0x51d5b5);}['getRangeKeyList'](_0x55a678){const _0x3b8d26=_0x3e64d8,{range:_0x5330e0}=_0x55a678,{startColumn:_0x3fcd65,endColumn:_0x3902a8}=_0x5330e0,_0xa6accb=[];for(let _0x27d699=_0x3fcd65;_0x27d699<=_0x3902a8;_0x27d699++)_0xa6accb[_0x3b8d26(0x2b6)](this[_0x3b8d26(0x130)](_0x55a678,_0x27d699));return _0xa6accb;}[_0x3e64d8(0x1a5)](_0x18e3c6,_0x1aed04,_0x30b399){const _0x3f6ad0=_0x3e64d8;if(_0x18e3c6){const {s:_0x23bf8e,v:_0x22de43,t:_0x3b3226,p:_0x3a925d}=_0x18e3c6;if(_0x3a925d)return yi(_0x3a925d);const _0x493372=_0x1aed04[_0x3f6ad0(0x1f3)](_0x23bf8e);if(_0x493372&&_0x3b3226===_0x13b1fc['NUMBER']&&_0x493372['n']){const {pattern:_0x37190c}=_0x493372['n'];_0x30b399[_0x37190c]||(_0x30b399[_0x37190c]=_0x2d4f3d[_0x3f6ad0(0x246)](_0x37190c));const _0x27768b=_0x30b399[_0x37190c],_0x585405=_0x27768b[_0x3f6ad0(0x24d)];if(_0x27768b[_0x3f6ad0(0xfc)])return String(_0x22de43);if(_0x585405)return{'v':_0x22de43,'f':_0x37190c};}if(_0x3b3226===_0x13b1fc['NUMBER'])return Number(_0x22de43);if(_0x3b3226===_0x13b1fc[_0x3f6ad0(0x303)]||_0x3b3226===_0x13b1fc[_0x3f6ad0(0x1b2)])return String(_0x22de43);if(_0x3b3226===void 0x0){const _0xc729a2=Number(_0x22de43);if(!Number[_0x3f6ad0(0x259)](_0xc729a2)&&String(_0xc729a2)===_0x22de43)return _0xc729a2;}return _0x22de43!=null?_0x22de43:null;}else return null;}['getRangeData'](_0x73741c){const _0x113aae=_0x3e64d8,{sheetName:_0x50f1f9,range:_0xc3d921,unitId:_0x133947}=_0x73741c,_0x10410=this['_univerInstanceService'][_0x113aae(0xfe)](_0x133947);if(!_0x10410)return console[_0x113aae(0x345)](_0x113aae(0x267)),{'header':[],'data':[]};const _0x1d0ee8=_0x10410[_0x113aae(0x2cf)](_0x50f1f9),_0x549051=_0x1d0ee8['getCellMatrix'](),{startRow:_0x4e7d22,startColumn:_0x1577d4,endRow:_0x425150,endColumn:_0x299088}=this[_0x113aae(0x2ca)](_0xc3d921,_0x1d0ee8),_0x526ede=_0x10410[_0x113aae(0x1de)](),_0x199a34=[],_0x3d2057=[],_0x36e7d7={};for(let _0x109974=_0x4e7d22;_0x109974<=_0x425150;_0x109974++){const _0x5a2524=[];for(let _0xa1d162=_0x1577d4;_0xa1d162<=_0x299088;_0xa1d162++){const _0x3b36e0=_0x549051[_0x113aae(0x1d2)](_0x109974,_0xa1d162);_0x109974===_0x4e7d22?_0x199a34[_0x113aae(0x2b6)](_0x3b36e0==null?null:String(_0x3b36e0['v'])):_0x5a2524[_0x113aae(0x2b6)](this['adjustSheetCellData'](_0x3b36e0,_0x526ede,_0x36e7d7));}_0x3d2057['push'](_0x5a2524);}return{'header':_0x199a34,'data':_0x3d2057};}[_0x3e64d8(0x2db)](){const _0x106718=_0x3e64d8;return super[_0x106718(0x2db)]();}[_0x3e64d8(0x2c3)](_0x410896){const _0x48f73f=_0x3e64d8;super['fromJSON'](_0x410896),this[_0x48f73f(0x235)]();}[_0x3e64d8(0x295)](){const _0x1edb39=_0x3e64d8;super['dispose'](),this[_0x1edb39(0x161)]={},this[_0x1edb39(0x122)]=null;}}const _i=_0x2cbc09=>{const _0xfc2807=_0x3e64d8,{targetCellInfo:_0x215fbb}=_0x2cbc09,{matrixCache:_0xe4c09,rangesCache:_0x901a63}=Wo({'filter':_0xfc2807(0x233),'row':_0xfc2807(0x16b),'column':'Column','values':'Values'},_0x215fbb),_0x3ebf6e=new _0x2067c1();return _0xe4c09[_0xfc2807(0xde)]((_0x513258,_0xa2e6f0,_0x10fe64)=>{const _0x3549fc=_0xfc2807;_0x3ebf6e[_0x3549fc(0x1df)](_0x513258,_0xa2e6f0,_0x10fe64);}),{'matrix':_0x3ebf6e,'rangesCache':_0x901a63};},ot=_0x524269=>{const _0x4e5a44=_0x3e64d8;let _0x1db4a;if(_0x524269!=null&&_0x524269['v']||(_0x524269==null?void 0x0:_0x524269['v'])===0x0){_0x1db4a||(_0x1db4a={});const _0x4f7cbc=Lo(_0x524269['v']);typeof _0x4f7cbc==_0x4e5a44(0x336)?_0x1db4a['t']=_0x13b1fc[_0x4e5a44(0x20f)]:typeof _0x4f7cbc=='string'&&(_0x1db4a['t']=_0x13b1fc[_0x4e5a44(0x303)]),_0x1db4a['v']=_0x4f7cbc;}return _0x1db4a;},Fi=(_0x42824c,_0xe184b5,_0x4a2a64)=>{const _0x33e36b=_0x3e64d8;var _0x26d710,_0x524e9e,_0x5babc7,_0x158fe8,_0x300d2e,_0x273733,_0x50250a,_0xfd7505,_0x5c7543,_0x3ac470,_0x19c8ff,_0x2938f3;const {cornerView:_0x5109d7,rowView:_0x55683d,colView:_0x38af39,dataView:_0x2fc6b9,pageView:_0x19a996,formatMap:_0x443bc5}=_0x42824c,{row:_0x350e1c,col:_0xdcc1d6}=_0xe184b5,_0x369e9f=new _0x2067c1();let _0x4e02f3=_0x350e1c,_0x33c480=_0xdcc1d6;Object[_0x33e36b(0x19b)](_0x19a996['data'])[_0x33e36b(0x14a)](_0x1b5899=>{const _0x113575=_0x33e36b;Object['keys'](_0x19a996[_0x113575(0x274)][Number(_0x1b5899)])[_0x113575(0x14a)](_0x3f718d=>{const _0x16b23c=_0x113575,_0x372868={..._0x19a996['data'][Number(_0x1b5899)][Number(_0x3f718d)]};_0x369e9f[_0x16b23c(0x1df)](Number(_0x1b5899)+_0x4e02f3,Number(_0x3f718d)+_0x33c480,ot(_0x372868));});});const _0x9ab3a2=Object[_0x33e36b(0x19b)](_0x19a996[_0x33e36b(0x274)])['length'];_0x4e02f3+=_0x9ab3a2+(_0x9ab3a2?mt:0x0);const _0x349cc2=_0x5109d7['getRowCount'](),_0x2c20c1=_0x5109d7[_0x33e36b(0x1a9)]();for(let _0x28d057=0x0;_0x28d057<_0x349cc2;_0x28d057++)for(let _0x59c06c=0x0;_0x59c06c<_0x2c20c1;_0x59c06c++){const _0x377cc8={...(_0x524e9e=(_0x26d710=_0x5109d7[_0x33e36b(0x274)])==null?void 0x0:_0x26d710[_0x28d057])==null?void 0x0:_0x524e9e[_0x59c06c]};_0x377cc8&&((_0x5babc7=_0x55683d[_0x33e36b(0x1e3)][_0x59c06c])!=null&&_0x5babc7[_0x33e36b(0x1c4)])&&_0x59c06c===_0x2c20c1-0x1&&_0x28d057===_0x349cc2-0x1&&(_0x377cc8['v']=''+_0x4a2a64[_0x33e36b(0xd6)]),_0x369e9f[_0x33e36b(0x1df)](_0x28d057+_0x4e02f3,_0x59c06c+_0x33c480,ot(_0x377cc8));}_0x33c480+=_0x2c20c1;const _0x5abc3f=_0x38af39['headerMap'],_0xa0c8ef=_0x38af39[_0x33e36b(0x2c0)]()>=0x0?_0x38af39[_0x33e36b(0x2c0)]()+0x1:0x0,_0x3442a1=_0x38af39[_0x33e36b(0x2eb)]()>=0x0?_0x38af39[_0x33e36b(0x2eb)]()+0x1:0x0;for(let _0x2d4aa2=0x0;_0x2d4aa2<_0x3442a1;_0x2d4aa2++)for(let _0x4cb377=0x0;_0x4cb377<_0xa0c8ef;_0x4cb377++){const _0x2b0b3a={...(_0x300d2e=(_0x158fe8=_0x38af39['data'])==null?void 0x0:_0x158fe8[_0x2d4aa2])==null?void 0x0:_0x300d2e[_0x4cb377]},_0x77aeed=(_0x273733=_0x5abc3f[_0x2d4aa2])==null?void 0x0:_0x273733[_0x33e36b(0x298)],_0x21e29c=_0x443bc5[_0x77aeed];_0x2b0b3a&&(_0x2b0b3a['v']=ht(_0x2b0b3a,_0x2d4aa2===0x0&&((_0x50250a=_0x38af39[_0x33e36b(0x1fb)](_0x4cb377+0x1))==null?void 0x0:_0x50250a[_0x33e36b(0x1c4)]),_0x21e29c,_0x4a2a64)),_0x369e9f[_0x33e36b(0x1df)](_0x2d4aa2+_0x4e02f3,_0x4cb377+_0x33c480,ot(_0x2b0b3a));}_0x4e02f3+=_0x349cc2;const _0x48afc2=_0x55683d[_0x33e36b(0x1e3)],_0x1dedec=_0x55683d[_0x33e36b(0x2c0)]()>=0x0?_0x55683d[_0x33e36b(0x2c0)]()+0x1:0x0,_0xe28f24=_0x55683d[_0x33e36b(0x2eb)]()>=0x0?_0x55683d[_0x33e36b(0x2eb)]()+0x1:0x0;for(let _0x43c3f3=0x0;_0x43c3f3<_0x1dedec;_0x43c3f3++)for(let _0x1eb208=0x0;_0x1eb208<_0xe28f24;_0x1eb208++){const _0x16e1c3={...(_0x5c7543=(_0xfd7505=_0x55683d['data'])==null?void 0x0:_0xfd7505[_0x43c3f3])==null?void 0x0:_0x5c7543[_0x1eb208]},_0x370f83=(_0x3ac470=_0x48afc2[_0x1eb208])==null?void 0x0:_0x3ac470['tableFieldId'],_0x29f3a7=_0x443bc5[_0x370f83];_0x16e1c3&&(_0x16e1c3['v']=ht(_0x16e1c3,!0x1,_0x29f3a7,_0x4a2a64)),_0x369e9f[_0x33e36b(0x1df)](_0x43c3f3+_0x4e02f3,_0x1eb208+_0xdcc1d6,ot(_0x16e1c3));}const _0x40f323=_0x2fc6b9[_0x33e36b(0x240)](),_0x46050f=_0x2fc6b9[_0x33e36b(0x1a9)]();for(let _0x57f8cb=0x0;_0x57f8cb<_0x40f323;_0x57f8cb++)for(let _0x2fb966=0x0;_0x2fb966<_0x46050f;_0x2fb966++){const _0x4a173e={...(_0x2938f3=(_0x19c8ff=_0x2fc6b9[_0x33e36b(0x274)])==null?void 0x0:_0x19c8ff[_0x57f8cb])==null?void 0x0:_0x2938f3[_0x2fb966]};_0x369e9f[_0x33e36b(0x1df)](_0x57f8cb+_0x4e02f3,_0x2fb966+_0x33c480,ot(_0x4a173e));}return _0x369e9f;},Ri=_0xfd962f=>{const _0x2d0f67=_0x3e64d8,{view:_0x3ea956,targetCellInfo:_0x18e145,isEmpty:_0xfcd0e3,textInfo:_0x27d973}=_0xfd962f;if(_0xfcd0e3)return _i(_0xfd962f);const {pageView:_0x3c50bc,cornerView:_0x4ab38a,rowView:_0x4338ce,colView:_0x2b380f,dataView:_0x43ee3a}=_0x3ea956,_0x31b0c1=ge(_0x18e145,_0x3c50bc,!0x0),_0x5c247b=_0x3c50bc[_0x2d0f67(0x21e)]>=0x0?_0x3c50bc[_0x2d0f67(0x21e)]+0x1:0x0,_0x19dab0=_0x4ab38a[_0x2d0f67(0x240)](),_0x2b41df=_0x4ab38a['getColCount'](),_0x1ef5c7=_0x31b0c1[_0x2d0f67(0x169)]>0x0?mt:0x0,_0x328067=ge({'row':_0x18e145[_0x2d0f67(0x2e7)]+_0x5c247b+_0x1ef5c7,'col':_0x18e145[_0x2d0f67(0x2c4)]},_0x4ab38a,!0x1,!0x1),_0x59f9cc=ge({'row':_0x18e145['row']+_0x5c247b+_0x1ef5c7+_0x19dab0,'col':_0x18e145[_0x2d0f67(0x2c4)]},_0x4338ce,!0x1,!0x0),_0x5b3e5d=ge({'row':_0x18e145[_0x2d0f67(0x2e7)]+_0x5c247b+_0x1ef5c7,'col':_0x18e145[_0x2d0f67(0x2c4)]+_0x2b41df},_0x2b380f,!0x1,!0x0),_0xc22e03=ge({'row':_0x18e145['row']+_0x5c247b+_0x1ef5c7+_0x19dab0,'col':_0x18e145[_0x2d0f67(0x2c4)]+_0x2b41df},_0x43ee3a,!0x1,!0x1),_0x229105={'rowRanges':_0x59f9cc,'colRanges':_0x5b3e5d,'cornerRanges':_0x328067,'dataRanges':_0xc22e03,'pageRanges':_0x31b0c1};return{'matrix':Fi(_0x3ea956,_0x18e145,_0x27d973),'rangesCache':_0x229105};};var Di=Object[_0x3e64d8(0x1f1)],Ni=(_0x3a6061,_0x95a5ac,_0x5c114d,_0x201700)=>{const _0x1e442c=_0x3e64d8;for(var _0x1a1423=_0x201700>0x1?void 0x0:_0x201700?Di(_0x95a5ac,_0x5c114d):_0x95a5ac,_0x336d2b=_0x3a6061[_0x1e442c(0x169)]-0x1,_0x1a6811;_0x336d2b>=0x0;_0x336d2b--)(_0x1a6811=_0x3a6061[_0x336d2b])&&(_0x1a1423=_0x1a6811(_0x1a1423)||_0x1a1423);return _0x1a1423;},nt=(_0xe7d6a5,_0x5ac38b)=>(_0x22d71d,_0x141207)=>_0x5ac38b(_0x22d71d,_0x141207,_0xe7d6a5);let $=class extends _0x41248b{constructor(_0x591989,_0x1a26ed,_0x509025,_0x223cca,_0x5dc9e9){const _0x2a7c7c=_0x3e64d8;super(),V(this,_0x2a7c7c(0x1a3),new Map()),V(this,_0x2a7c7c(0x10d),new Map()),V(this,'_viewData',new Map()),V(this,'_textInfo'),V(this,_0x2a7c7c(0x344),new _0x37d4e0()),V(this,_0x2a7c7c(0x1cd),this[_0x2a7c7c(0x344)][_0x2a7c7c(0x1cc)]()),V(this,'_viewData$',new _0x37d4e0()),V(this,_0x2a7c7c(0x2d7),this['_viewData$'][_0x2a7c7c(0x1cc)]()),V(this,_0x2a7c7c(0x318),new _0x37d4e0()),V(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x2a7c7c(0x1cc)]()),V(this,_0x2a7c7c(0x2d8),new Map()),V(this,_0x2a7c7c(0x266),[]),V(this,'_queryingMap',new Map()),(this[_0x2a7c7c(0x146)]=_0x591989,this['_univerInstanceService']=_0x1a26ed,this[_0x2a7c7c(0x301)]=_0x509025,this[_0x2a7c7c(0x13a)]=_0x223cca,this[_0x2a7c7c(0x2e6)]=_0x5dc9e9,this[_0x2a7c7c(0x31b)]());}['getTextInfo'](){const _0x443de4=_0x3e64d8;return this[_0x443de4(0x123)]?this[_0x443de4(0x123)]:Ti;}[_0x3e64d8(0x27f)](_0x3e1541){this['_textInfo']=_0x3e1541;}[_0x3e64d8(0x19f)](_0x34431f){const _0x2e3c80=_0x3e64d8;var _0x2f4c37;const {from:_0x43ce3c,to:_0x291d6b,unitId:_0x41ea0d,fromRange:_0x5c7cc8,toRange:_0x5f380a}=_0x34431f;if(_0x43ce3c&&_0x291d6b){const _0x20b4a2=this['getDataFieldManager'](_0x41ea0d),_0x4e2535=this['_model']['get'](_0x41ea0d),_0x1e58fa=(_0x2f4c37=this[_0x2e3c80(0x309)][_0x2e3c80(0xfe)](_0x41ea0d))==null?void 0x0:_0x2f4c37[_0x2e3c80(0x190)](_0x291d6b['subUnitId']);if(!_0x4e2535||!_0x1e58fa)return;const _0x22681e=_0x1e58fa==null?void 0x0:_0x1e58fa[_0x2e3c80(0x275)]();for(const [_0x25b1ef,_0x50e119]of _0x4e2535[_0x2e3c80(0x2f8)]())for(const [_0x55bcbd,_0x3dae6d]of _0x50e119['entries']()){const {sourceRangeInfo:_0x1ec36c}=_0x3dae6d;if(_0x1ec36c['unitId']===_0x41ea0d&&_0x1ec36c['subUnitId']===_0x43ce3c['subUnitId']&&_0x5e2546[_0x2e3c80(0x1bf)](_0x5c7cc8,_0x1ec36c['range'])){const _0x4c103a={'row':_0x1ec36c['range'][_0x2e3c80(0x31a)]-_0x5c7cc8[_0x2e3c80(0x31a)],'col':_0x1ec36c['range'][_0x2e3c80(0x178)]-_0x5c7cc8[_0x2e3c80(0x178)]},_0x458c43={'unitId':_0x41ea0d,'subUnitId':_0x291d6b[_0x2e3c80(0x268)],'sheetName':_0x22681e,'range':{'startRow':_0x5f380a['startRow']+_0x4c103a['row'],'endRow':_0x5f380a[_0x2e3c80(0x31a)]+_0x4c103a[_0x2e3c80(0x2e7)]+_0x1ec36c[_0x2e3c80(0x168)][_0x2e3c80(0x129)]-_0x1ec36c[_0x2e3c80(0x168)]['startRow'],'startColumn':_0x5f380a['startColumn']+_0x4c103a['col'],'endColumn':_0x5f380a[_0x2e3c80(0x178)]+_0x4c103a[_0x2e3c80(0x2c4)]+_0x1ec36c[_0x2e3c80(0x168)]['endColumn']-_0x1ec36c['range']['startColumn']}};_0x20b4a2['handleMoveRange'](_0x55bcbd,_0x458c43);const _0x1786dc={..._0x3dae6d,'sourceRangeInfo':_0x458c43};this[_0x2e3c80(0x34d)](_0x41ea0d,_0x291d6b['subUnitId'],_0x55bcbd,_0x1786dc),this[_0x2e3c80(0x299)]({'unitId':_0x41ea0d,'token':_0x55bcbd,'type':Be[_0x2e3c80(0x109)],'oldSourceRangeInfo':_0x1ec36c,'dataRangeInfo':_0x458c43,'targetCellInfo':_0x3dae6d['targetCellInfo']}),this[_0x2e3c80(0xe3)]({'unitId':_0x41ea0d,'subUnitId':_0x291d6b['subUnitId'],'oldSubUnitId':_0x25b1ef,'pivotTableId':_0x55bcbd,'pivotTableConfig':_0x1786dc,'collectionConfig':_0x20b4a2[_0x2e3c80(0x2db)]()});}}}}[_0x3e64d8(0x299)](_0x23983c){const _0x3c8650=_0x3e64d8;this[_0x3c8650(0x344)]['next'](_0x23983c);}[_0x3e64d8(0x207)](_0x4073a2){const _0x2f55d4=_0x3e64d8;let _0x15fd41=this[_0x2f55d4(0x2d8)][_0x2f55d4(0x1f3)](_0x4073a2);return _0x15fd41||(_0x15fd41=new wi(this,this[_0x2f55d4(0x309)]),this[_0x2f55d4(0x2d8)]['set'](_0x4073a2,_0x15fd41)),_0x15fd41;}[_0x3e64d8(0x1fc)](_0x3c756d,_0x412b66){const _0x545dc6=_0x3e64d8;return this[_0x545dc6(0x207)](_0x3c756d)[_0x545dc6(0x256)][_0x412b66];}[_0x3e64d8(0x326)](_0x14e9a8,_0x59620c,_0x5b83f5){const _0x46df6c=_0x3e64d8;return this[_0x46df6c(0x207)](_0x14e9a8)['getUpdateRangeDeleteIds'](_0x59620c,_0x5b83f5);}[_0x3e64d8(0x257)](_0x4ba98b,_0x5e3864){const _0x26169b=_0x3e64d8;let _0x793b91=this[_0x26169b(0x1a3)][_0x26169b(0x1f3)](_0x4ba98b);_0x793b91||(_0x793b91=new Map(),this[_0x26169b(0x1a3)]['set'](_0x4ba98b,_0x793b91));let _0x4a14fc=_0x793b91[_0x26169b(0x1f3)](_0x5e3864);return _0x4a14fc||(_0x4a14fc=new Map(),_0x793b91[_0x26169b(0x1b9)](_0x5e3864,_0x4a14fc)),_0x4a14fc;}['_updateModelCache'](_0x370bca,_0x113429,_0x534ea8,_0x5a760f){const _0x5cbd18=_0x3e64d8;this[_0x5cbd18(0x257)](_0x370bca,_0x113429)[_0x5cbd18(0x1b9)](_0x534ea8,_0x5a760f);}['_deleteModelCache'](_0x40fb17,_0x5dbb39,_0x258de2){const _0x8451c3=_0x3e64d8;var _0x304157,_0xfc2828,_0x26192f,_0x2cbdf3;((_0xfc2828=(_0x304157=this['_model'][_0x8451c3(0x1f3)](_0x40fb17))==null?void 0x0:_0x304157[_0x8451c3(0x1f3)](_0x5dbb39))==null?void 0x0:_0xfc2828[_0x8451c3(0x1f3)](_0x258de2))&&((_0x2cbdf3=(_0x26192f=this[_0x8451c3(0x1a3)]['get'](_0x40fb17))==null?void 0x0:_0x26192f['get'](_0x5dbb39))==null||_0x2cbdf3[_0x8451c3(0xda)](_0x258de2));}[_0x3e64d8(0x340)](_0x395f1f,_0x303f0e){const _0xcd76ff=_0x3e64d8;this[_0xcd76ff(0x10d)][_0xcd76ff(0x1b9)](_0x395f1f,_0x303f0e);}['_deletePivotTableInstanceCache'](_0x2eaf1d){const _0x2af004=_0x3e64d8;this[_0x2af004(0x10d)][_0x2af004(0xda)](_0x2eaf1d);}[_0x3e64d8(0x250)](_0x21c63b,_0x188dfa){const _0x1cbc96=_0x3e64d8;let _0x419f44=this['_viewData'][_0x1cbc96(0x1f3)](_0x21c63b);_0x419f44||(_0x419f44=new Map(),this[_0x1cbc96(0x2a5)]['set'](_0x21c63b,_0x419f44));let _0x27fa2e=_0x419f44[_0x1cbc96(0x1f3)](_0x188dfa);return _0x27fa2e||(_0x27fa2e=new Map(),_0x419f44[_0x1cbc96(0x1b9)](_0x188dfa,_0x27fa2e)),_0x27fa2e;}[_0x3e64d8(0xe3)](_0x12d437){const _0x23831f=_0x3e64d8,{unitId:_0x565af0,subUnitId:_0x2017b2,pivotTableId:_0x5a9cdf,pivotTableConfig:_0x420c5d,collectionConfig:_0x33f203}=_0x12d437,_0x58a722={'unitId':_0x565af0,'subUnitId':_0x2017b2,'oldSubUnitId':_0x2017b2,'pivotTableId':_0x5a9cdf,'pivotTableConfig':_0x420c5d,'collectionConfig':_0x33f203};this['_commandService'][_0x23831f(0x279)](co['id'],_0x58a722,{'onlyLocal':!0x0});}['updateView'](_0x1f128b,_0x80fa4f,_0x241450,_0x2f7b7b,_0x5a1a7a,_0x1bac35,_0x4ccf42,_0xc2dafd=!0x1){const _0x3202e9=_0x3e64d8;var _0x22014e;this[_0x3202e9(0x13a)][_0x3202e9(0x279)](Dt['id'],{'single':{'unitId':_0x1f128b,'subUnitId':_0x80fa4f,'type':_0x241450,'pivotTableId':_0x2f7b7b,'view':_0x5a1a7a,'pivotConfig':_0x1bac35},'collectionConfig':{[_0x1f128b]:_0x4ccf42}},{'onlyLocal':!0x0});const _0x1c7472=!!((_0x22014e=this[_0x3202e9(0x33f)](_0x2f7b7b))!=null&&_0x22014e[_0x3202e9(0x1c5)]()),_0x1efc56=this[_0x3202e9(0x26b)](_0x1f128b,_0x80fa4f,_0x2f7b7b);_0x1efc56&&this['updateViewData']({'view':_0x5a1a7a,'pivotTableId':_0x2f7b7b,'textInfo':this['getTextInfo'](),'isEmpty':_0x1c7472,'targetCellInfo':_0x1efc56[_0x3202e9(0x1ff)]},_0xc2dafd);}[_0x3e64d8(0x30a)](_0x5379af,_0x582ea4){const _0xb34ebd=_0x3e64d8,{targetCellInfo:_0x799bda,pivotTableId:_0x5b0472}=_0x5379af,{unitId:_0xeff376,subUnitId:_0xc17714}=_0x799bda,_0x233d0b=this[_0xb34ebd(0x250)](_0xeff376,_0xc17714),_0x3eb219=_0x233d0b['get'](_0x5b0472);let _0x31dae1,_0x2cec9c;_0x3eb219&&(_0x31dae1=_0x3eb219[_0xb34ebd(0x289)],_0x2cec9c=_0x3eb219[_0xb34ebd(0xe0)]);const {rangesCache:_0x3a0d64,matrix:_0x3634c8}=Ri(_0x5379af);_0x233d0b[_0xb34ebd(0x1b9)](_0x5b0472,{'rangeCache':_0x3a0d64,'matrix':_0x3634c8,'oldMatrix':_0x2cec9c,'oldRangeCache':_0x31dae1}),_0x582ea4||this[_0xb34ebd(0x214)]['next']({'unitId':_0xeff376,'subUnitId':_0xc17714,'pivotTableId':_0x5b0472});}[_0x3e64d8(0x12f)](_0x54f091,_0x264ad2,_0xe46d15,_0x10e510,_0x4de1c9){const _0x3a8495=_0x3e64d8;this[_0x3a8495(0x34d)](_0x54f091,_0x264ad2,_0xe46d15,_0x4de1c9),this[_0x3a8495(0x340)](_0xe46d15,_0x10e510);}[_0x3e64d8(0x2e5)](_0x4dedef,_0x3521d9,_0x2fb470){const _0x4015ff=_0x3e64d8,_0x25c4c1=this[_0x4015ff(0x207)](_0x4dedef);_0x25c4c1[_0x4015ff(0x286)](_0x2fb470)[_0x4015ff(0x14a)](_0xb6fe9a=>{_0x25c4c1['deleteDataField'](_0xb6fe9a);}),this['removeCollections'](_0x4dedef,_0x2fb470),this[_0x4015ff(0x11e)](_0x4dedef,_0x3521d9,_0x2fb470),this['_deletePivotTableInstanceCache'](_0x2fb470);}['setPivotTable'](_0x1d0896,_0x331b6e,_0x248c19,_0x402711){const _0x1d9683=_0x3e64d8;this[_0x1d9683(0x34d)](_0x1d0896,_0x331b6e,_0x248c19,_0x402711);}[_0x3e64d8(0x26b)](_0x19b814,_0x4a189c,_0x44cbd8){const _0x38918b=_0x3e64d8;var _0x2cc01e,_0x43406c;const _0x314611=(_0x43406c=(_0x2cc01e=this[_0x38918b(0x1a3)]['get'](_0x19b814))==null?void 0x0:_0x2cc01e['get'](_0x4a189c))==null?void 0x0:_0x43406c['get'](_0x44cbd8);if(_0x314611)return _0x314611;}[_0x3e64d8(0x24b)](_0x56cf0b,_0x4f71fb,_0x4d69a8){const _0xbc53d3=_0x3e64d8;var _0x23f676,_0x59b1ad;const _0x349374=(_0x59b1ad=(_0x23f676=this[_0xbc53d3(0x1a3)][_0xbc53d3(0x1f3)](_0x56cf0b))==null?void 0x0:_0x23f676[_0xbc53d3(0x1f3)](_0x4f71fb))==null?void 0x0:_0x59b1ad[_0xbc53d3(0x1f3)](_0x4d69a8);if(_0x349374)return _0x349374['fieldsConfig'];}[_0x3e64d8(0x33f)](_0x5be1ba){const _0x5a5bd8=_0x3e64d8;return this[_0x5a5bd8(0x10d)][_0x5a5bd8(0x1f3)](_0x5be1ba);}['deleteUnitId'](_0x507e03){const _0x533507=_0x3e64d8;this[_0x533507(0x1a3)][_0x533507(0xda)](_0x507e03);const _0x36cea9=this[_0x533507(0x2d8)][_0x533507(0x1f3)](_0x507e03);_0x36cea9&&(_0x36cea9['dispose'](),this[_0x533507(0x2d8)][_0x533507(0xda)](_0x507e03)),this['_viewData'][_0x533507(0xda)](_0x507e03),this[_0x533507(0x266)][_0x533507(0x14a)](_0x234f3b=>{const _0x43b335=_0x533507;_0x234f3b[_0x43b335(0x197)](_0x507e03);});}['addCollectionByJSON'](_0x249abf,_0x265741,_0x52cb60,_0xd39864){const _0x34c56d=_0x3e64d8;return this[_0x34c56d(0x207)](_0x52cb60[_0x34c56d(0x1ba)])['addCollectionByJSON'](_0x249abf,_0x265741,_0x52cb60,_0xd39864);}[_0x3e64d8(0x239)](_0x3e14e5){const _0x51250b=_0x3e64d8;return this[_0x51250b(0x207)](_0x3e14e5['unitId'])[_0x51250b(0x239)](_0x3e14e5);}[_0x3e64d8(0x141)](_0x5cbf4d,_0x30d7d7,_0x43ec97){const _0x9168ee=_0x3e64d8;this[_0x9168ee(0x207)](_0x43ec97[_0x9168ee(0x1ba)])[_0x9168ee(0x141)](_0x5cbf4d,_0x30d7d7,_0x43ec97);}[_0x3e64d8(0x1f0)](_0x2970b9,_0x41df4f){const _0x1073d2=_0x3e64d8;this['getDataFieldManager'](_0x2970b9)[_0x1073d2(0x16a)](_0x41df4f);}[_0x3e64d8(0x105)](_0x39eb49,_0x495108){const _0x75175b=_0x3e64d8;this[_0x75175b(0x207)](_0x39eb49)['removeCollectionImp'](_0x495108);}[_0x3e64d8(0x2ae)](_0x31964e,_0x1b5eaf){const _0x5aaf10=_0x3e64d8;var _0x2b85c7;return(_0x2b85c7=this[_0x5aaf10(0x1a3)]['get'](_0x31964e))==null?void 0x0:_0x2b85c7[_0x5aaf10(0x1f3)](_0x1b5eaf);}[_0x3e64d8(0x187)](_0x178625){const _0x485626=_0x3e64d8;for(const [_0x643c9e,_0x64d974]of this[_0x485626(0x1a3)][_0x485626(0x2f8)]())for(const [_0x2f0303,_0x9a89c6]of _0x64d974[_0x485626(0x2f8)]())if(_0x9a89c6[_0x485626(0xe7)](_0x178625))return{'unitId':_0x643c9e,'subUnitId':_0x2f0303};return null;}[_0x3e64d8(0x1ad)](_0x262c64,_0x5890f6,_0x36b844,_0x5e4ab2){const _0x202bb3=_0x3e64d8,_0x150bc4=this[_0x202bb3(0x250)](_0x262c64,_0x5890f6);_0x5e4ab2?_0x150bc4[_0x202bb3(0x1b9)](_0x36b844,_0x5e4ab2):_0x150bc4['delete'](_0x36b844),this[_0x202bb3(0x214)][_0x202bb3(0xf6)]({'unitId':_0x262c64,'subUnitId':_0x5890f6,'pivotTableId':_0x36b844});}[_0x3e64d8(0x295)](){super['dispose']();}[_0x3e64d8(0x2a7)](_0x8873c5,_0x24afa3,_0x2ec3e2){const _0x3c8144=_0x3e64d8;var _0x4b8395,_0x559173;const _0x742031=(_0x559173=(_0x4b8395=this[_0x3c8144(0x2a5)][_0x3c8144(0x1f3)](_0x8873c5))==null?void 0x0:_0x4b8395['get'](_0x24afa3))==null?void 0x0:_0x559173['get'](_0x2ec3e2);return _0x742031||null;}[_0x3e64d8(0x157)](_0x240c7a){const _0x1d6939=_0x3e64d8;this[_0x1d6939(0x302)](_0x240c7a);}['updateDirtyPivotTable'](_0x3475b7){const _0x38a0c9=_0x3e64d8,{token:_0x2718c5,unitId:_0x558201,subUnitId:_0x106670}=_0x3475b7,_0x404ecf=_0x558201+'-'+_0x106670+'-'+_0x2718c5;this[_0x38a0c9(0x25e)][_0x38a0c9(0x1f3)](_0x404ecf)&&clearTimeout(this[_0x38a0c9(0x25e)]['get'](_0x404ecf));const _0x17956b=setTimeout(()=>{const _0x1c2495=_0x38a0c9;this[_0x1c2495(0x291)](_0x3475b7),this[_0x1c2495(0x25e)][_0x1c2495(0xda)](_0x404ecf);},Pi);this['_queryingMap'][_0x38a0c9(0x1b9)](_0x404ecf,_0x17956b);}['queryDirtyPivotTable'](_0x4a37df){const _0x38045c=_0x3e64d8,{unitId:_0x42c168,subUnitId:_0x27bb56,token:_0x471ac3,type:_0x4edc59,pivotConfig:_0x290a82}=_0x4a37df,_0x262c12=this[_0x38045c(0x33f)](_0x471ac3),_0x64008=_0x262c12==null?void 0x0:_0x262c12[_0x38045c(0x2ba)](),_0x6b9cd7=_0x290a82!=null?_0x290a82:this[_0x38045c(0x26b)](_0x42c168,_0x27bb56,_0x471ac3);_0x6b9cd7&&(_0x6b9cd7['isEmpty']=!!(_0x262c12!=null&&_0x262c12[_0x38045c(0x1c5)]())),(_0x64008||_0x4edc59===H[_0x38045c(0x28e)])&&this[_0x38045c(0x19e)](_0x42c168,_0x27bb56,_0x4edc59,_0x471ac3,_0x64008,_0x6b9cd7,this['getDataFieldManager'](_0x42c168)[_0x38045c(0x2db)]());}[_0x3e64d8(0x2db)](_0x17218b){const _0x19e7de=_0x3e64d8,_0x24d8cc={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x19e7de(0x207)](_0x17218b)&&(_0x24d8cc[_0x19e7de(0x2a3)][_0x17218b]=this[_0x19e7de(0x207)](_0x17218b)[_0x19e7de(0x2db)]()),this[_0x19e7de(0x1a3)]['get'](_0x17218b)){_0x24d8cc[_0x19e7de(0xe8)][_0x17218b]={};const _0x2969a3=this[_0x19e7de(0x1a3)][_0x19e7de(0x1f3)](_0x17218b);_0x2969a3!=null&&_0x2969a3[_0x19e7de(0x2b7)]&&[..._0x2969a3[_0x19e7de(0x19b)]()][_0x19e7de(0x14a)](_0x4734d3=>{const _0x2a768e=_0x19e7de,_0x19c6e9=_0x2969a3['get'](_0x4734d3);_0x19c6e9!=null&&_0x19c6e9[_0x2a768e(0x2b7)]&&(_0x24d8cc[_0x2a768e(0xe8)][_0x17218b][_0x4734d3]={},[..._0x19c6e9[_0x2a768e(0x19b)]()][_0x2a768e(0x14a)](_0x3da1f8=>{const _0x442609=_0x2a768e,_0x4dcb7b=_0x19c6e9[_0x442609(0x1f3)](_0x3da1f8);_0x4dcb7b&&(_0x24d8cc[_0x442609(0xe8)][_0x17218b][_0x4734d3][_0x3da1f8]=_0x4dcb7b);}));});}return _0x24d8cc;}[_0x3e64d8(0x2c3)](_0x6f2703){const _0x27c602=_0x3e64d8;var _0x18bf3f;const {dataFieldManagerConfig:_0x436d04,pivotTableConfigs:_0x40f8a8}=_0x6f2703;_0x436d04&&Object[_0x27c602(0x19b)](_0x436d04)[_0x27c602(0x14a)](_0x1606b7=>{const _0x30df04=_0x27c602;this['getDataFieldManager'](_0x1606b7)[_0x30df04(0x2c3)](_0x436d04[_0x1606b7]);});const _0x3bffb9=[];if(_0x40f8a8){const _0x690cff=(_0x18bf3f=this['_injector'][_0x27c602(0x1f3)](_0x1b9dd7)['getConfig'](_0x1eec45))!=null?_0x18bf3f:{},{ls:_0x3923d7,pbk:_0x112d2f}=_0x690cff,_0x2befef=go(so,_0x3923d7,_0x112d2f)[_0x27c602(0x19a)];Object[_0x27c602(0x19b)](_0x40f8a8)[_0x27c602(0x14a)](_0x2f88a2=>{const _0x2631af=_0x27c602;let _0x3eac66=0x0;const _0x342e1c=_0x40f8a8[_0x2f88a2];Object[_0x2631af(0x19b)](_0x342e1c)[_0x2631af(0x14a)](_0x127aed=>{const _0x18ddf5=_0x2631af,_0x320e5f=_0x342e1c[_0x127aed];Object[_0x18ddf5(0x19b)](_0x320e5f)[_0x18ddf5(0x14a)](_0x4f3564=>{const _0x46a65f=_0x18ddf5,_0x46f425=_0x320e5f[_0x4f3564];if(_0x46f425){if(_0x3eac66>=_0x2befef)return;_0x3eac66++;const _0x3a896b=this[_0x46a65f(0x207)](_0x2f88a2),_0x52dc93=_0x3a896b[_0x46a65f(0x256)][_0x4f3564],_0xbfd42=_0x52dc93['getFieldIds']();let _0x1b91f7=0x0;const _0x59ee91=[];for(const _0x727f9c of _0xbfd42){const _0x1e14cb=_0x52dc93[_0x46a65f(0x1ca)](_0x727f9c);if(_0xf5ac43(_0x1e14cb)){const _0x18288a=_0x1e14cb[_0x46a65f(0x21c)](),_0x8bc795=_0x52dc93['getFieldById'](_0x18288a);_0x8bc795&&_0x59ee91['push']([_0x1e14cb,_0x8bc795]);continue;}_0x3a896b[_0x46a65f(0xd2)](_0x727f9c,_0x46f425[_0x46a65f(0x1e8)],_0x1b91f7),_0x1b91f7++;}_0x59ee91['forEach'](([_0x519db1,_0x226de6])=>{const _0x2397b3=_0x46a65f;_0x519db1[_0x2397b3(0x1a8)](_0x226de6);});const _0x45460f=new _0x1c5293(_0x52dc93);_0x45460f[_0x46a65f(0x2c3)](_0x46f425[_0x46a65f(0x31f)]),this[_0x46a65f(0x12f)](_0x2f88a2,_0x127aed,_0x4f3564,_0x45460f,_0x46f425);const _0xa81de0=_0x45460f[_0x46a65f(0x2ba)]();_0x3bffb9[_0x46a65f(0x2b6)]({'unitId':_0x2f88a2,'subUnitId':_0x127aed,'pivotTableId':_0x4f3564,'view':_0xa81de0[_0x46a65f(0x2db)](),'pivotConfig':_0x46f425,'type':H['Add']});const _0x14fe7a=!!_0x45460f[_0x46a65f(0x1c5)](),_0x524025={'view':_0xa81de0,'pivotTableId':_0x4f3564,'textInfo':this[_0x46a65f(0x175)](),'isEmpty':_0x14fe7a,'targetCellInfo':_0x46f425[_0x46a65f(0x1ff)]};this['updateViewData'](_0x524025,!0x1);}});});});}_0x436d04&&Object[_0x27c602(0x19b)](_0x436d04)['forEach'](_0x3816d9=>{const _0x392504=_0x27c602,_0x259022=this[_0x392504(0x207)](_0x3816d9);this[_0x392504(0x318)][_0x392504(0xf6)](_0x259022[_0x392504(0x256)]);}),this[_0x27c602(0x13a)][_0x27c602(0x279)](Dt['id'],{'batch':_0x3bffb9,'collectionConfig':_0x436d04},{'onlyLocal':!0x0});}[_0x3e64d8(0x31b)](){const _0x2f6baa=_0x3e64d8;this['disposeWithMe'](this[_0x2f6baa(0x2e6)][_0x2f6baa(0x171)]({'toJson':_0x71207=>JSON[_0x2f6baa(0x20b)](this[_0x2f6baa(0x2db)](_0x71207)),'parseJson':_0x6e773f=>{const _0x37e6b2=_0x2f6baa;if(!_0x6e773f)return{};try{return JSON[_0x37e6b2(0xe2)](_0x6e773f);}catch{return{};}},'businesses':[_0x273a5e[_0x2f6baa(0x180)]],'pluginName':ao,'onLoad':(_0x3b9d0f,_0x2c63f0)=>{const _0x453071=_0x2f6baa;this[_0x453071(0x2c3)](_0x2c63f0);},'onUnLoad':_0x1f7954=>{const _0x10b626=_0x2f6baa;this[_0x10b626(0x197)](_0x1f7954);}}));}};$=Ni([nt(0x0,_0x5e764c(_0x4a79fb)),nt(0x1,_0x4eff45),nt(0x2,_0x5e764c(_0x53e3f8)),nt(0x3,_0x56dc87),nt(0x4,_0x5e764c(_0x38cbb2))],$);const Vi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x3e64d8(0x2e7),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x3e64d8(0x21d),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Wo=(_0xe350f0,_0x22a458)=>{const _0x4e5f29=_0x3e64d8,_0x3d3769=new _0x2067c1(),_0xcb91d4=new _0x2067c1(Vi),{row:_0x3dc382,col:_0x4cbdf2}=_0x22a458;_0xcb91d4[_0x4e5f29(0xde)]((_0x3376c5,_0x1a1a82,_0x5d17cc)=>{const _0x386b32=_0x4e5f29;let _0x1f3a8f='';_0x5d17cc['v']===_0x386b32(0x2b5)?_0x1f3a8f=_0xe350f0[_0x386b32(0x2b5)]:_0x5d17cc['v']===_0x386b32(0x2e7)?_0x1f3a8f=_0xe350f0[_0x386b32(0x2e7)]:_0x5d17cc['v']===_0x386b32(0x226)?_0x1f3a8f=_0xe350f0['column']:_0x5d17cc['v']===_0x386b32(0x21d)&&(_0x1f3a8f=_0xe350f0['values']),_0x3d3769['setValue'](_0x3376c5+_0x3dc382,_0x1a1a82+_0x4cbdf2,{..._0x5d17cc,'v':_0x1f3a8f});});const _0x484510=_0x4d403b[_0x4e5f29(0x1f9)](Lt);return Object[_0x4e5f29(0x19b)](Lt)[_0x4e5f29(0x14a)](_0x39d117=>{const _0xceb68f=_0x4e5f29;_0x484510[_0x39d117]=Lt[_0x39d117]['map'](_0x4e877a=>({..._0x4e877a,'startRow':_0x4e877a[_0xceb68f(0x31a)]+_0x3dc382,'endRow':_0x4e877a[_0xceb68f(0x129)]+_0x3dc382,'startColumn':_0x4e877a[_0xceb68f(0x178)]+_0x4cbdf2,'endColumn':_0x4e877a[_0xceb68f(0x1fa)]+_0x4cbdf2}));}),{'matrixCache':_0x3d3769,'rangesCache':_0x484510};};function Oi(_0x5c82c8,_0x313095){const _0x44907c=_0x3e64d8;let _0x139f00='';const _0x324065=this['getTextInfo']();switch(_0x313095){case _0x2ae972[_0x44907c(0x31c)]:_0x139f00=_0x324065[_0x44907c(0x108)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x19a)]:_0x139f00=_0x324065[_0x44907c(0x12b)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0xec)]:_0x139f00=_0x324065[_0x44907c(0x11d)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x343)]:_0x139f00=_0x324065[_0x44907c(0x20d)]+_0x5c82c8;break;case _0x2ae972['min']:_0x139f00=_0x324065[_0x44907c(0x30b)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0xe1)]:_0x139f00=_0x324065['sheets-pivot.productName']+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x232)]:_0x139f00=_0x324065['sheets-pivot.stdDevName']+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x247)]:_0x139f00=_0x324065['sheets-pivot.stdDevpName']+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x264)]:_0x139f00=_0x324065['sheets-pivot.sumName']+_0x5c82c8;break;case _0x2ae972['var']:_0x139f00=_0x324065[_0x44907c(0x2c2)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0xd3)]:_0x139f00=_0x324065[_0x44907c(0x317)]+_0x5c82c8;break;default:_0x139f00=_0x5c82c8;break;}return _0x139f00;}function Ui(_0x54b1db,_0x12ceb8,_0x48135a,_0x33990c,_0xdd3111){const _0x6aa28c=_0x3e64d8;var _0x26030f,_0x242661,_0x30ec73,_0x28bb89,_0x388f2d;const _0x436a88=_0x42af7f(_0x54b1db,_0x12ceb8),{rangesInfo:_0x744932,areaInfo:_0x5d8595,headerMap:_0x5cae6a}=_0xdd3111;if(!_0x744932||!_0x5d8595||!_0x5cae6a)return;const _0x57052e=Object['keys'](_0x744932)[_0x6aa28c(0x20a)](_0x2be704=>_0x744932[_0x2be704]['some'](_0x1c639c=>_0x5e2546[_0x6aa28c(0x1bf)](_0x1c639c,_0x436a88))),_0x4488eb=_0x5d8595;let _0x2964ac,_0x5ca6d8,_0x440132;if(_0x57052e===_0x6aa28c(0xdd))_0x2964ac=(_0x26030f=_0x4488eb==null?void 0x0:_0x4488eb[_0x6aa28c(0x258)])==null?void 0x0:_0x26030f[_0x54b1db],_0x5ca6d8=(_0x242661=_0x5cae6a==null?void 0x0:_0x5cae6a['rowHeaderMap'])==null?void 0x0:_0x242661[_0x12ceb8],_0x440132=_0x5ca6d8==null?void 0x0:_0x5ca6d8[_0x6aa28c(0x298)];else{if(_0x57052e==='colRanges')_0x2964ac=(_0x30ec73=_0x4488eb==null?void 0x0:_0x4488eb[_0x6aa28c(0x138)])==null?void 0x0:_0x30ec73[_0x12ceb8],_0x5ca6d8=(_0x28bb89=_0x5cae6a[_0x6aa28c(0x324)])==null?void 0x0:_0x28bb89[_0x54b1db+0x1+_0x12ceb8-_0x744932['colRanges'][0x0]['startColumn']],_0x440132=_0x5ca6d8==null?void 0x0:_0x5ca6d8['tableFieldId'];else{if(_0x57052e==='cornerRanges')_0x2964ac=(_0x388f2d=_0x4488eb==null?void 0x0:_0x4488eb[_0x6aa28c(0x2d1)])==null?void 0x0:_0x388f2d[_0x12ceb8],_0x440132=_0x2964ac==null?void 0x0:_0x2964ac[_0x6aa28c(0x298)];else{if(_0x57052e==='pageRanges'){const _0x3f39f3=_0x48135a==null?void 0x0:_0x48135a['fi'];_0x3f39f3!==void 0x0&&(_0x440132=_0x33990c[_0x6aa28c(0x189)](_0x3f39f3));}}}}return{'filterId':_0x440132,'info':_0x2964ac,'data':_0x48135a,'headerInfo':_0x5ca6d8};}function Ei(_0x51d4f9,_0x508d83,_0x317973){const _0x11c432=_0x3e64d8,_0x2ef95b=_0x51d4f9[_0x11c432(0x1dd)],_0x30aadf=_0x2ef95b['getFieldIds'](),_0x21b7ac=new Set();_0x51d4f9[_0x11c432(0x11f)](_0x1df538=>{const _0x5537e3=_0x11c432;_0x21b7ac[_0x5537e3(0x167)](_0x1df538['dataFieldId']);});const _0x4c9c97=_0x30aadf['map'](_0x1564ae=>{const _0x2bc460=_0x11c432,_0x511e3c=_0x2ef95b[_0x2bc460(0x1ca)](_0x1564ae);return{'checked':_0x21b7ac['has'](_0x1564ae),'dataFieldId':_0x511e3c['id'],'id':_0x511e3c['id'],'name':_0x2ef95b[_0x2bc460(0x1c3)](_0x511e3c['id']),'type':_0x511e3c[_0x2bc460(0x304)](),'pivotTableId':_0x508d83};}),_0x433277=[];_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x16b)],_0x547138=>{const _0x5658e8=_0x11c432;_0x433277[_0x5658e8(0x2b6)]({'dataFieldId':_0x547138[_0x5658e8(0x293)],'tableFieldId':_0x547138['getId'](),'displayName':_0x547138[_0x5658e8(0x1c3)]()});});const _0x157335=[];_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x2d2)],_0x10ea21=>{const _0x38ebc4=_0x11c432;_0x157335[_0x38ebc4(0x2b6)]({'dataFieldId':_0x10ea21[_0x38ebc4(0x293)],'tableFieldId':_0x10ea21[_0x38ebc4(0x10b)](),'displayName':_0x10ea21[_0x38ebc4(0x1c3)]()});});const _0x3015f1=[];if(_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x203)],_0x21ab11=>{const _0x24310f=_0x11c432;_0x3015f1[_0x24310f(0x2b6)]({'dataFieldId':_0x21ab11[_0x24310f(0x293)],'tableFieldId':_0x21ab11['getId'](),'displayName':_0x21ab11[_0x24310f(0x1c3)](),'format':_0x21ab11[_0x24310f(0x150)](),'subTotalType':_0x21ab11[_0x24310f(0x334)]()});}),_0x3015f1['length']>0x1){const _0x291cb1=_0x51d4f9[_0x11c432(0x183)]();(_0x51d4f9[_0x11c432(0x261)]()?_0x157335:_0x433277)['splice'](_0x291cb1,0x0,{'dataFieldId':'','tableFieldId':_0x11c432(0x119),'displayName':_0x11c432(0x2a9)});}const _0x42dac3=[];_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x233)],_0x5879e0=>{const _0x476c22=_0x11c432;_0x42dac3['push']({'dataFieldId':_0x5879e0[_0x476c22(0x293)],'tableFieldId':_0x5879e0[_0x476c22(0x10b)](),'displayName':_0x5879e0[_0x476c22(0x1c3)]()});});const _0x4a7bd9=_0x317973[_0x11c432(0x1e8)];return{'sourceList':_0x4c9c97,'sourceRange':_0x4a7bd9,'rowFields':_0x433277,'columnFields':_0x157335,'valueFields':_0x3015f1,'filterFields':_0x42dac3,'positionInfo':_0x317973['targetCellInfo']};}function fo(_0x50bb68,_0x23a8e8,_0x5a697e='',_0x1894a8={}){const _0x1b3a0c=_0x3e64d8,_0x4925a8=_0x50bb68[_0x1b3a0c(0x1f3)](_0x34afa6);for(const _0x36a794 in _0x23a8e8)if(Object['prototype']['hasOwnProperty'][_0x1b3a0c(0x1db)](_0x23a8e8,_0x36a794)){const _0xfb2ef0=_0x5a697e?_0x5a697e+'.'+_0x36a794:_0x36a794;typeof _0x23a8e8[_0x36a794]==_0x1b3a0c(0x2a8)&&_0x23a8e8[_0x36a794]!==null&&!Array[_0x1b3a0c(0x126)](_0x23a8e8[_0x36a794])?fo(_0x50bb68,_0x23a8e8[_0x36a794],_0xfb2ef0,_0x1894a8):_0x1894a8[_0xfb2ef0]=_0x4925a8['t'](_0xfb2ef0);}return _0x1894a8;}const Ht=_0x3dcc14=>{const _0x5b0ce6=_0x3e64d8;if(!_0x3dcc14)return[];const {rowRanges:_0x2976f6,colRanges:_0x3d3657,cornerRanges:_0x40ad09,dataRanges:_0x582cea,pageRanges:_0x327bf4}=_0x3dcc14,_0x3b50aa=[..._0x3d3657,..._0x2976f6,..._0x582cea,..._0x40ad09][_0x5b0ce6(0x2b5)](_0x1c9489=>_0x1c9489[_0x5b0ce6(0x31a)]>=0x0&&_0x1c9489[_0x5b0ce6(0x178)]>=0x0&&_0x1c9489[_0x5b0ce6(0x129)]>=0x0&&_0x1c9489[_0x5b0ce6(0x1fa)]>=0x0);let _0x254d85=Number['MAX_SAFE_INTEGER'],_0x3a39c1=Number[_0x5b0ce6(0xf2)],_0x5ca542=Number[_0x5b0ce6(0x179)],_0x51c517=Number[_0x5b0ce6(0xf2)];for(let _0x2acd7b=0x0;_0x2acd7b<_0x3b50aa[_0x5b0ce6(0x169)];_0x2acd7b++)_0x254d85=Math[_0x5b0ce6(0x1ec)](_0x254d85,_0x3b50aa[_0x2acd7b][_0x5b0ce6(0x31a)]),_0x3a39c1=Math[_0x5b0ce6(0x343)](_0x3a39c1,_0x3b50aa[_0x2acd7b]['endRow']),_0x5ca542=Math['min'](_0x5ca542,_0x3b50aa[_0x2acd7b]['startColumn']),_0x51c517=Math[_0x5b0ce6(0x343)](_0x51c517,_0x3b50aa[_0x2acd7b][_0x5b0ce6(0x1fa)]);return[..._0x327bf4,{'startRow':_0x254d85,'endRow':_0x3a39c1,'startColumn':_0x5ca542,'endColumn':_0x51c517}];};function xi(_0x34a28b,_0x704cdb){const _0x421ee8=_0x3e64d8,_0x267a55=_0x704cdb[_0x421ee8(0x1e6)][_0x421ee8(0x335)],{pivotTableId:_0x536bde,unitId:_0x2ba4d4,subUnitId:_0x561644}=_0x704cdb;if(!_0x267a55)return;const _0x39b3bf=_0x34a28b[_0x421ee8(0x1f3)]($),_0x55ae5e=_0x39b3bf[_0x421ee8(0x33f)](_0x536bde),_0x113c61=_0x39b3bf[_0x421ee8(0x26b)](_0x2ba4d4,_0x561644,_0x536bde);if(!_0x55ae5e||!_0x113c61)return;const _0x4b38f8=_0x55ae5e[_0x421ee8(0x223)](_0x267a55[_0x421ee8(0xeb)]);if(!(_0x4b38f8!=null&&_0x4b38f8[_0x421ee8(0x169)]))return;const _0x17ba38=_0x113c61['sourceRangeInfo'],{unitId:_0x4a0819,subUnitId:_0x4584c3,range:_0x749405}=_0x17ba38;let _0x21d03c=0x0;const _0x56994f=_0x55ae5e['dataFieldsCollection'][_0x421ee8(0x215)]()[_0x421ee8(0x208)]((_0x1d53ce,_0x484a61)=>{const _0x539dcd=_0x421ee8;var _0x4fabd4;const _0x126e5e=(_0x4fabd4=_0x55ae5e[_0x539dcd(0x128)](_0x484a61))==null?void 0x0:_0x4fabd4[_0x539dcd(0x1b0)]();return _0x126e5e&&(_0x1d53ce[String(_0x21d03c)]=_0x126e5e),_0x21d03c++,_0x1d53ce;},{});return{'indexes':_0x4b38f8,'range':_0x749405,'sourceUnitId':_0x4a0819,'sourceSubUnitId':_0x4584c3,'formatMap':_0x56994f};}function jo(_0x1164c6,_0x3f8931){const _0x5577f4=_0x3e64d8;if(!_0x1164c6||!_0x3f8931)return!0x0;const _0x14ab6d=_0x2f865f(Jo,$o),_0x546047=new Function(_0x5577f4(0xdf)+_0x14ab6d)()(_0x1164c6,_0x3f8931)[_0x5577f4(0x2ec)],_0x2cb8c9=_0x2859f2(_0x546047,'sf',Ao);return!((_0x546047==null?void 0x0:_0x546047['rt'])===_0x409f2c[_0x5577f4(0xd1)]&&!_0x2cb8c9);}function go(_0x38110e,_0xa20952,_0x1d2cb3){const _0x5e2d24=_0x3e64d8,_0x4c55b2={'count':_0x38110e,'timeValid':!0x1};if(!_0xa20952||!_0x1d2cb3)return _0x4c55b2;const _0x3dffd8=_0x2f865f(Jo,$o),_0x392110=new Function(_0x5e2d24(0xdf)+_0x3dffd8)()(_0xa20952,_0x1d2cb3);if(_0x392110!=null&&_0x392110[_0x5e2d24(0x26c)]){const _0x4a8dfb=_0x392110['message'],_0x9cfde6=_0x2859f2(_0x4a8dfb,'sf',Ao);return{'count':_0x345642(_0x4a8dfb,_0x9cfde6,'ptn',_0x38110e,_0x38110e,0x0),'timeValid':_0x9cfde6};}return _0x4c55b2;}function Go(_0x2bfd0e,_0x267a67,_0x33556a,_0x263054){const _0x2f90d2=_0x3e64d8,_0x5cffe7={'subUnitId':_0x33556a,'unitId':_0x267a67,'cellValue':_0x2a217c(_0x263054)},_0x249752=_0x52bcf3(_0x2bfd0e,_0x5cffe7);let _0x2d51ec=!0x1;return new _0x2067c1(_0x249752[_0x2f90d2(0x2ad)])[_0x2f90d2(0xde)]((_0x5b371f,_0x32f409,_0x18d59a)=>{const _0x45bded=_0x2f90d2;if(!_0x2d51ec&&_0x18d59a&&(_0x18d59a[_0x45bded(0x33e)]||_0x18d59a['f']||_0x18d59a['p']||_0x18d59a['s']||_0x18d59a['si']||_0x18d59a['t']||_0x18d59a['v']))return _0x2d51ec=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1f88a6['id'],'params':_0x249752},'setRangeValueRedoMutation':{'id':_0x1f88a6['id'],'params':_0x5cffe7},'shouldClear':_0x2d51ec};}function Ai(_0x603e20){const {row:_0x2a80ec,col:_0x44a8da}=_0x603e20,_0x452f4c={'startRow':_0x2a80ec,'endRow':_0x2a80ec,'startColumn':_0x44a8da,'endColumn':_0x44a8da},_0xeecb31={'startRow':_0x2a80ec+0x2,'endRow':_0x2a80ec+0xe,'startColumn':_0x44a8da,'endColumn':_0x44a8da+0x6};return[_0x452f4c,_0xeecb31];}function ki(_0x5b0162,_0x2b9260,_0x1e3ac5){const _0x221250=_0x3e64d8,{cornerView:_0x25bd01,rowView:_0x578c54,colView:_0x29c887,pageView:_0x3cf5d4}=_0x5b0162,{row:_0x2b0fc3,col:_0xa2a9a6}=_0x2b9260;if(_0x1e3ac5)return{'rowCount':Ci+_0x2b0fc3,'colCount':bi+_0xa2a9a6};const _0x1a57ef=_0x3cf5d4[_0x221250(0x21e)]>-0x1?_0x3cf5d4[_0x221250(0x21e)]+0x1:0x0,_0x3e2aa1=_0x3cf5d4['lastCol']>-0x1?_0x3cf5d4[_0x221250(0x2f9)]:0x0,_0x17e25d=_0x2b0fc3+_0x1a57ef+(_0x1a57ef?0x1:0x0)+_0x25bd01[_0x221250(0x114)]+_0x578c54[_0x221250(0x114)],_0x4b3b63=_0xa2a9a6+_0x3e2aa1,_0x26e973=_0xa2a9a6+_0x25bd01[_0x221250(0x101)]+_0x29c887[_0x221250(0x101)],_0x1184da=Math[_0x221250(0x343)](_0x4b3b63,_0x26e973);return{'rowCount':_0x17e25d,'colCount':_0x1184da};}function we(_0x3e4766,_0x3848e9,_0x1ae252,_0x510e57){const _0x1d6592=_0x3e64d8,{row:_0xe61cf4,col:_0x2a7443,unitId:_0x37cf07,subUnitId:_0x535b74}=_0x1ae252,_0x190bb6=ki(_0x3848e9,{'row':_0xe61cf4,'col':_0x2a7443},_0x510e57),_0xb4bf3=_0x3e4766[_0x1d6592(0x1f3)](_0x4eff45),_0x3dd6f3=_0x3a629a(_0xb4bf3,{'unitId':_0x37cf07,'subUnitId':_0x535b74}),_0x1d4894=[],_0x2cbecc=[];if(!_0x3dd6f3)return{'undos':_0x2cbecc,'redos':_0x1d4894};const {worksheet:_0x253dee}=_0x3dd6f3,_0x5bc367=_0x253dee[_0x1d6592(0x240)](),_0xa1c340=_0x253dee['getColumnCount']();return _0x5bc367<_0x190bb6['rowCount']&&(_0x1d4894[_0x1d6592(0x2b6)]({'id':_0x20bd3b['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':_0x5bc367,'endRow':_0x190bb6['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xa1c340-0x1}}}),_0x2cbecc[_0x1d6592(0x2b6)]({'id':_0x260841['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':_0x5bc367,'endRow':_0x190bb6[_0x1d6592(0x114)]-0x1,'startColumn':0x0,'endColumn':_0xa1c340-0x1}}})),_0xa1c340<_0x190bb6['colCount']&&(_0x1d4894[_0x1d6592(0x2b6)]({'id':_0x4d5485['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':0x0,'endRow':_0x5bc367-0x1,'startColumn':_0xa1c340,'endColumn':_0x190bb6['colCount']-0x1}}}),_0x2cbecc['push']({'id':_0x1c8efe['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':0x0,'endRow':_0x5bc367-0x1,'startColumn':_0xa1c340,'endColumn':_0x190bb6[_0x1d6592(0x101)]-0x1}}})),{'undos':_0x2cbecc,'redos':_0x1d4894};}function Bi(_0x34d549){const _0x481326=_0x3e64d8;let _0x2c0828=0x0;for(let _0x255b4e=0x0;_0x255b4e<_0x34d549[_0x481326(0x169)];_0x255b4e++){const _0x4240e8=_0x34d549[_0x481326(0xdc)](_0x255b4e);_0x4240e8>=0x4e00&&_0x4240e8<=0x9fff||_0x4240e8>=0x3000&&_0x4240e8<=0x303f||_0x4240e8>=0xff00&&_0x4240e8<=0xffef?_0x2c0828+=0x2:_0x2c0828+=0x1;}return _0x2c0828;}function Mo(_0x20f25e,_0x26bade,_0x490e42,_0x2a2a98){const _0x28e71d=_0x3e64d8;var _0x2071b6,_0xde41,_0x1c4f95,_0x5dfed5;const {rowCount:_0x291336,colCount:_0x2f209b,headerMap:_0x36f9c8}=_0x20f25e,_0x14bff9=0x64,_0xf63d37=Math[_0x28e71d(0x1ec)](_0x291336,_0x14bff9),_0x21d3be=Math[_0x28e71d(0x1ec)](_0x2f209b,_0x14bff9);let _0x57d152='',_0x2a94a0=0x0;for(let _0xb22412=0x0;_0xb22412<_0xf63d37;_0xb22412++)for(let _0xb47c98=0x0;_0xb47c98<_0x21d3be;_0xb47c98++){const _0x46b037={...(_0xde41=(_0x2071b6=_0x20f25e['data'])==null?void 0x0:_0x2071b6[_0xb22412])==null?void 0x0:_0xde41[_0xb47c98]},_0x1d6d86=(_0x1c4f95=_0x36f9c8[_0xb22412])==null?void 0x0:_0x1c4f95['tableFieldId'],_0x4d8e2e=_0x2a2a98[_0x1d6d86];let _0x3ef92e=_0x20f25e[_0x28e71d(0x1d2)](_0xb22412,_0xb47c98);if(_0x46b037){const _0x54e63c=_0x490e42?_0xb47c98===0x0&&((_0x5dfed5=_0x20f25e['getHeaderMapItem'](_0xb47c98+0x1))==null?void 0x0:_0x5dfed5[_0x28e71d(0x1c4)]):!0x1;_0x3ef92e=ht(_0x46b037,_0x54e63c,_0x4d8e2e,_0x26bade);}if(_0x3ef92e!==void 0x0){const _0x485d6a=Bi(String(_0x3ef92e));_0x2a94a0<_0x485d6a&&(_0x57d152=String(_0x3ef92e),_0x2a94a0=_0x485d6a);}}return _0x57d152;}function Li(_0x41ded2){const _0x3176b1=_0x3e64d8,{rowCount:_0x46a24f,colCount:_0x1db97f}=_0x41ded2;let _0x7061f7='',_0x2017b4=0x0;for(let _0x542604=_0x46a24f-0x1;_0x542604>0x0&&_0x542604>_0x46a24f-0x3;_0x542604--)for(let _0x393298=0x0;_0x393298<_0x1db97f;_0x393298++){const _0x59e71a=_0x41ded2[_0x3176b1(0x1d2)](_0x542604,_0x393298);if(_0x59e71a!==void 0x0){const _0x3cc28e=String(_0x59e71a)[_0x3176b1(0x169)];_0x2017b4<_0x3cc28e&&(_0x7061f7=String(_0x59e71a),_0x2017b4=_0x3cc28e);}}return _0x7061f7;}function Hi(_0xd1f609){const _0x568a1c=_0x3e64d8,{rowCount:_0x3bea26,colCount:_0x25fcd4}=_0xd1f609;let _0x30fe57='',_0x4528ae=0x0;for(let _0x21b9b4=0x0;_0x21b9b4<_0x3bea26;_0x21b9b4++)for(let _0xe63c4b=0x0;_0xe63c4b<_0x25fcd4;_0xe63c4b++){const _0x385c56=_0xd1f609[_0x568a1c(0x1d2)](_0x21b9b4,_0xe63c4b);if(_0x385c56!==void 0x0){const _0xff038a=String(_0x385c56)[_0x568a1c(0x169)];_0x4528ae<_0xff038a&&(_0x30fe57=String(_0x385c56),_0x4528ae=_0xff038a);}}return _0x30fe57;}function $i(_0x17a589,_0x43f54c){const _0x5b5c03=_0x3e64d8,{rowFields:_0x12969e,columnFields:_0x14de56,valueFields:_0x50185c,filterFields:_0x4909fc,dimension:_0x5b1911,measure:_0x3f2c8c}=_0x43f54c;for(const _0x3b3d2d of _0x12969e){const _0x17aae9=_0x5b1911[_0x3b3d2d];_0x17aae9&&_0x17a589['getDataFieldByDataFieldId'](_0x17aae9[_0x5b5c03(0x293)])&&(_0x17a589[_0x5b5c03(0x148)](_0x17aae9[_0x5b5c03(0x293)],_0x5bb14c[_0x5b5c03(0x16b)],void 0x0,_0x3b3d2d),_0x17aae9[_0x5b5c03(0x10a)]&&_0x17a589[_0x5b5c03(0x2ff)](_0x17aae9['id'],_0x17aae9['displayName']),_0x17aae9[_0x5b5c03(0x1f2)]&&_0x17a589[_0x5b5c03(0x28f)](_0x17aae9['id'],_0x17aae9[_0x5b5c03(0x1f2)]),_0x17aae9[_0x5b5c03(0x154)]&&_0x17a589[_0x5b5c03(0x166)](_0x17aae9['id'],_0x17aae9[_0x5b5c03(0x154)]));}for(const _0x1349eb of _0x14de56){const _0x3c7e00=_0x5b1911[_0x1349eb];_0x3c7e00&&_0x17a589[_0x5b5c03(0x128)](_0x3c7e00[_0x5b5c03(0x293)])&&(_0x17a589['addFieldWithSourceId'](_0x3c7e00[_0x5b5c03(0x293)],_0x5bb14c[_0x5b5c03(0x2d2)],void 0x0,_0x1349eb),_0x3c7e00[_0x5b5c03(0x1f2)]&&_0x17a589[_0x5b5c03(0x28f)](_0x3c7e00['id'],_0x3c7e00[_0x5b5c03(0x1f2)]),_0x3c7e00[_0x5b5c03(0x154)]&&_0x17a589[_0x5b5c03(0x166)](_0x3c7e00['id'],_0x3c7e00[_0x5b5c03(0x154)]),_0x3c7e00['displayName']&&_0x17a589[_0x5b5c03(0x2ff)](_0x3c7e00['id'],_0x3c7e00[_0x5b5c03(0x10a)]));}for(const _0x4a1f58 of _0x4909fc){const _0x127621=_0x5b1911[_0x4a1f58];_0x127621&&_0x17a589[_0x5b5c03(0x128)](_0x127621[_0x5b5c03(0x293)])&&(_0x17a589[_0x5b5c03(0x148)](_0x127621[_0x5b5c03(0x293)],_0x5bb14c['Filter'],void 0x0,_0x4a1f58),_0x127621[_0x5b5c03(0x1f2)]&&_0x17a589[_0x5b5c03(0x28f)](_0x127621['id'],_0x127621[_0x5b5c03(0x1f2)]),_0x127621[_0x5b5c03(0x154)]&&_0x17a589[_0x5b5c03(0x166)](_0x127621['id'],_0x127621['filterInfo']),_0x127621['displayName']&&_0x17a589[_0x5b5c03(0x2ff)](_0x127621['id'],_0x127621[_0x5b5c03(0x10a)]));}for(const _0x10799b of _0x50185c){const _0x2e6993=_0x3f2c8c[_0x10799b];_0x2e6993&&_0x17a589['getDataFieldByDataFieldId'](_0x2e6993['dataFieldId'])&&(_0x17a589[_0x5b5c03(0x148)](_0x2e6993['dataFieldId'],_0x5bb14c[_0x5b5c03(0x203)],void 0x0,_0x10799b),_0x2e6993[_0x5b5c03(0x16c)]!==void 0x0&&_0x17a589['setSubtotalType'](_0x10799b,_0x2e6993[_0x5b5c03(0x16c)]),_0x2e6993[_0x5b5c03(0x193)]&&_0x17a589[_0x5b5c03(0x1ed)](_0x10799b,_0x2e6993[_0x5b5c03(0x193)]),_0x2e6993[_0x5b5c03(0x10a)]&&_0x17a589[_0x5b5c03(0x2ff)](_0x2e6993['id'],_0x2e6993[_0x5b5c03(0x10a)]));}const _0x4b131a=_0x43f54c[_0x5b5c03(0x23d)];for(const {fieldId:_0x244f7b,filterInfo:_0x165a9e}of _0x4b131a)_0x17a589[_0x5b5c03(0x173)](_0x244f7b,_0x165a9e);}function Ji(_0x262c77,_0x474efa){const _0xba1d33=_0x3e64d8,_0x2bcb6d=[];_0x474efa===_0x5bb14c[_0xba1d33(0x16b)]&&_0x262c77[_0xba1d33(0x201)](_0x5bb14c[_0xba1d33(0x16b)],_0xff26e=>{const _0x279576=_0xba1d33;_0x2bcb6d[_0x279576(0x2b6)](_0xff26e[_0x279576(0x10b)]());}),_0x474efa===_0x5bb14c['Column']&&_0x262c77['iterateFieldByArea'](_0x5bb14c[_0xba1d33(0x2d2)],_0x20cb95=>{const _0x387c61=_0xba1d33;_0x2bcb6d[_0x387c61(0x2b6)](_0x20cb95[_0x387c61(0x10b)]());}),_0x474efa===_0x5bb14c[_0xba1d33(0x233)]&&_0x262c77['iterateFieldByArea'](_0x5bb14c[_0xba1d33(0x233)],_0x47e623=>{const _0x35dd77=_0xba1d33;_0x2bcb6d[_0x35dd77(0x2b6)](_0x47e623[_0x35dd77(0x10b)]());}),_0x474efa===_0x5bb14c[_0xba1d33(0x203)]&&_0x262c77[_0xba1d33(0x201)](_0x5bb14c[_0xba1d33(0x203)],_0xa92268=>{const _0x3f9742=_0xba1d33;_0x2bcb6d[_0x3f9742(0x2b6)](_0xa92268[_0x3f9742(0x10b)]());}),_0x474efa===void 0x0&&_0x262c77[_0xba1d33(0x11f)](_0x253e4e=>{const _0x469f55=_0xba1d33;_0x2bcb6d['push'](_0x253e4e[_0x469f55(0x10b)]());});const _0x45a4e7=_0x2bcb6d['length'];for(let _0x43054c=_0x45a4e7-0x1;_0x43054c>=0x0;_0x43054c--)_0x262c77[_0xba1d33(0x30c)](_0x2bcb6d[_0x43054c]);const _0x1cac99=_0x262c77[_0xba1d33(0x2b4)]();for(const _0x14ee28 in _0x1cac99)_0x262c77[_0xba1d33(0x346)](_0x14ee28);}function Wi(_0xb52a83,_0x464f45){const _0x19ca43=_0x3e64d8,_0xc90ddc=new Date(_0x6532fb(_0x464f45)),_0x54395e=new Date(_0x6532fb(_0xb52a83)),_0x3aecb3=_0xc90ddc[_0x19ca43(0x217)](),_0x1b5d72=_0x54395e[_0x19ca43(0x217)](),_0x14fde5=_0xc90ddc['getMonth'](),_0x2bc886=_0x54395e['getMonth'](),_0x53e6c2=_0xc90ddc['getDate'](),_0x556ba0=_0x54395e[_0x19ca43(0x143)](),_0x3febfb=_0x3aecb3===_0x1b5d72,_0x4115d4=_0x3febfb&&_0x14fde5===_0x2bc886;return _0x3febfb&&_0x4115d4&&!(_0x4115d4&&_0x53e6c2===_0x556ba0)?_0x4b4fce[_0x19ca43(0x228)]:_0x3febfb&&!_0x4115d4?_0x4b4fce['YearMonth']:_0x4b4fce['Year'];}function Ko(_0x5c4ab3,_0xf0ee09){const _0x15e5ac=_0x3e64d8,_0x52f476=_0x5c4ab3[_0x15e5ac(0x1f3)]($)[_0x15e5ac(0x175)]();let _0x191433='';switch(_0xf0ee09){case _0x4b4fce[_0x15e5ac(0x228)]:_0x191433=_0x52f476[_0x15e5ac(0x200)];break;case _0x4b4fce['YearMonth']:_0x191433=_0x52f476['sheets-pivot.dateGroup.yearMonth'];break;case _0x4b4fce['Year']:_0x191433=_0x52f476['sheets-pivot.dateGroup.year'];break;case _0x4b4fce[_0x15e5ac(0x1b7)]:_0x191433=_0x52f476[_0x15e5ac(0x32a)];break;case _0x4b4fce[_0x15e5ac(0x2d5)]:_0x191433=_0x52f476[_0x15e5ac(0xcf)];break;case _0x4b4fce['Date']:_0x191433=_0x52f476[_0x15e5ac(0x1aa)];break;case _0x4b4fce['HourMinute']:_0x191433=_0x52f476[_0x15e5ac(0x254)];break;case _0x4b4fce['Hour']:_0x191433=_0x52f476[_0x15e5ac(0x104)];break;case _0x4b4fce['Minute']:_0x191433=_0x52f476[_0x15e5ac(0x2f1)];break;case _0x4b4fce[_0x15e5ac(0x1d4)]:_0x191433=_0x52f476[_0x15e5ac(0x125)];break;case _0x4b4fce[_0x15e5ac(0x34c)]:_0x191433=_0x52f476['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x191433='';break;}return _0x191433;}const qo=_0x3e64d8(0x1a4),To={};var ji=Object[_0x3e64d8(0x1f1)],Gi=(_0x25c507,_0x2c5732,_0x58c988,_0x1f5185)=>{const _0x4f3b26=_0x3e64d8;for(var _0x3645a4=_0x1f5185>0x1?void 0x0:_0x1f5185?ji(_0x2c5732,_0x58c988):_0x2c5732,_0x4877d0=_0x25c507[_0x4f3b26(0x169)]-0x1,_0x4cf477;_0x4877d0>=0x0;_0x4877d0--)(_0x4cf477=_0x25c507[_0x4877d0])&&(_0x3645a4=_0x4cf477(_0x3645a4)||_0x3645a4);return _0x3645a4;},it=(_0x5c1251,_0x246296)=>(_0x1fbe4c,_0x1f05c0)=>_0x246296(_0x1fbe4c,_0x1f05c0,_0x5c1251);let he=class extends _0x41248b{constructor(_0x1cbb31,_0x37a42e,_0x5a37f8,_0x4be9f9,_0xaaea4b){const _0xf55455=_0x3e64d8;super(),V(this,_0xf55455(0x1a3),new Map()),V(this,_0xf55455(0x338),new Map()),V(this,_0xf55455(0x2f5),new Map()),V(this,'_pivotTableMatrixInfo',new Map()),V(this,_0xf55455(0xf1),new _0x37d4e0()),V(this,'_pivotInitCompleted$',new _0x37d4e0()),V(this,_0xf55455(0x311),this['_pivotInitCompleted$'][_0xf55455(0x1cc)]()),V(this,_0xf55455(0x1e7),new _0x37d4e0()),V(this,_0xf55455(0x1dc),this[_0xf55455(0x1e7)][_0xf55455(0x1cc)]()),V(this,_0xf55455(0x123),{}),V(this,_0xf55455(0x14d),this[_0xf55455(0xf1)][_0xf55455(0x1cc)]()),(this[_0xf55455(0x146)]=_0x1cbb31,this[_0xf55455(0x13a)]=_0x37a42e,this[_0xf55455(0x309)]=_0x5a37f8,this[_0xf55455(0x2e6)]=_0x4be9f9,this[_0xf55455(0x26e)]=_0xaaea4b,this[_0xf55455(0x1cb)](),this[_0xf55455(0x273)]());const _0x3e6602=this[_0xf55455(0x26e)]['getConfig'](qo);(_0x3e6602==null?void 0x0:_0x3e6602['notExecuteFormula'])===!0x0&&this[_0xf55455(0x31b)]();}[_0x3e64d8(0x273)](){const _0x24b95a=_0x3e64d8;this[_0x24b95a(0x103)](this['_univerInstanceService'][_0x24b95a(0x11a)](_0x273a5e['UNIVER_SHEET'])[_0x24b95a(0x1b6)](_0x4ce05c=>{const _0x2d3277=_0x24b95a;this[_0x2d3277(0x197)](_0x4ce05c['getUnitId']());}));}[_0x3e64d8(0x300)](){const _0x31e38f=_0x3e64d8;this[_0x31e38f(0x20c)][_0x31e38f(0xf6)](!0x0);}[_0x3e64d8(0x1cb)](){const _0xed00e5=_0x3e64d8,_0x298115=fo(this[_0xed00e5(0x146)],Bo,'',{});this['_textInfo']=_0x298115,this['_commandService'][_0xed00e5(0x279)](uo['id'],{'textInfo':_0x298115},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x504d73=_0x3e64d8;return this[_0x504d73(0x123)];}[_0x3e64d8(0xd5)](_0x47f7bd,_0x64426e,_0x5e8f62,_0x2d85bf,_0x32599a){const _0x1ac2e8=_0x3e64d8;this[_0x1ac2e8(0x27a)](_0x47f7bd,_0x64426e,_0x5e8f62,_0x2d85bf),this[_0x1ac2e8(0x290)](_0x47f7bd,_0x64426e,_0x5e8f62,_0x32599a);}[_0x3e64d8(0x26b)](_0x4d7894,_0x35ad5c,_0x27a5c2){const _0x1f54bc=_0x3e64d8;var _0x2751d0;const _0x1e7b68=(_0x2751d0=this[_0x1f54bc(0x1a3)][_0x1f54bc(0x1f3)](_0x4d7894))==null?void 0x0:_0x2751d0[_0x1f54bc(0x1f3)](_0x35ad5c);if(_0x1e7b68)return _0x1e7b68[_0x1f54bc(0x1f3)](_0x27a5c2);}[_0x3e64d8(0x14f)](_0x20a176,_0x23930c){const _0x182a69=_0x3e64d8,_0xe6f516=this[_0x182a69(0x1a3)]['get'](_0x20a176);if(_0xe6f516){for(const [_0x5ab1e9,_0x3557d5]of _0xe6f516[_0x182a69(0x2f8)]())for(const [_0x55296d,_0xd8135d]of _0x3557d5['entries']())if(_0x55296d===_0x23930c)return _0xd8135d[_0x182a69(0x1ff)];}}[_0x3e64d8(0x187)](_0x1950dd,_0x578aef,_0x48b366){const _0x484904=_0x3e64d8,_0x12dec6=this[_0x484904(0x26b)](_0x1950dd,_0x578aef,_0x48b366);return _0x12dec6==null?void 0x0:_0x12dec6[_0x484904(0x1ff)];}[_0x3e64d8(0x2ae)](_0x2e0bbd,_0x8a95e6){const _0x91ed17=_0x3e64d8;var _0x10ff3d;return(_0x10ff3d=this[_0x91ed17(0x1a3)][_0x91ed17(0x1f3)](_0x2e0bbd))==null?void 0x0:_0x10ff3d['get'](_0x8a95e6);}[_0x3e64d8(0x21a)](_0x22663c,_0x14a171,_0x1a20e1,_0xf49c92){const _0x1b0c57=_0x3e64d8,_0x416bb2=this['_ensurePivotMap'](_0x22663c,_0x14a171);_0xf49c92?_0x416bb2['set'](_0x1a20e1,_0xf49c92):_0x416bb2[_0x1b0c57(0xda)](_0x1a20e1),this[_0x1b0c57(0x1e7)][_0x1b0c57(0xf6)]({'unitId':_0x22663c,'subUnitId':_0x14a171,'pivotTableId':_0x1a20e1,'pivotTableConfig':_0xf49c92});}[_0x3e64d8(0x1fc)](_0x26903a,_0x3cc0fb){const _0x27269d=_0x3e64d8;var _0x458e4d;return(_0x458e4d=this[_0x27269d(0x338)]['get'](_0x26903a))==null?void 0x0:_0x458e4d[_0x27269d(0x256)][_0x3cc0fb];}['updateCollectionConfig'](_0x58fe73,_0x4de9dc){const _0x40178b=_0x3e64d8;this[_0x40178b(0x338)][_0x40178b(0x1b9)](_0x58fe73,_0x4de9dc),this[_0x40178b(0xf1)][_0x40178b(0xf6)](Math[_0x40178b(0x278)]());}[_0x3e64d8(0x257)](_0x1cd87e,_0x3472e5){const _0x455c3c=_0x3e64d8;let _0x2e8360=this[_0x455c3c(0x1a3)][_0x455c3c(0x1f3)](_0x1cd87e);_0x2e8360||(_0x2e8360=new Map(),this['_model'][_0x455c3c(0x1b9)](_0x1cd87e,_0x2e8360));let _0x3a0faf=_0x2e8360[_0x455c3c(0x1f3)](_0x3472e5);return _0x3a0faf||(_0x3a0faf=new Map(),_0x2e8360[_0x455c3c(0x1b9)](_0x3472e5,_0x3a0faf)),_0x3a0faf;}[_0x3e64d8(0x17c)](_0x128927,_0x4c3a5a){const _0x35113f=_0x3e64d8;let _0x4b53d1=this[_0x35113f(0x2f5)][_0x35113f(0x1f3)](_0x128927);_0x4b53d1||(_0x4b53d1=new Map(),this[_0x35113f(0x2f5)][_0x35113f(0x1b9)](_0x128927,_0x4b53d1));let _0x41fe4a=_0x4b53d1[_0x35113f(0x1f3)](_0x4c3a5a);return _0x41fe4a||(_0x41fe4a=new Map(),_0x4b53d1[_0x35113f(0x1b9)](_0x4c3a5a,_0x41fe4a)),_0x41fe4a;}[_0x3e64d8(0x1bb)](_0x2949df,_0x26ea42){const _0x25dc12=_0x3e64d8;let _0x6cea6d=this[_0x25dc12(0x124)]['get'](_0x2949df);_0x6cea6d||(_0x6cea6d=new Map(),this['_pivotTableMatrixInfo'][_0x25dc12(0x1b9)](_0x2949df,_0x6cea6d));let _0x32e21f=_0x6cea6d['get'](_0x26ea42);return _0x32e21f||(_0x32e21f=new Map(),_0x6cea6d[_0x25dc12(0x1b9)](_0x26ea42,_0x32e21f)),_0x32e21f;}[_0x3e64d8(0x290)](_0x4c99d0,_0x4aeeaf,_0x1cbb9e,_0x43782){const _0x19c609=_0x3e64d8;var _0x1ae4d3;const _0x327c5f=this['_ensurePivotTableRangeInfo'](_0x4c99d0,_0x4aeeaf),_0x287019=(_0x1ae4d3=_0x327c5f[_0x19c609(0x1f3)](_0x1cbb9e))==null?void 0x0:_0x1ae4d3[_0x19c609(0x23b)];_0x327c5f[_0x19c609(0x1b9)](_0x1cbb9e,{'oldRangeInfo':_0x287019,'rangeInfo':_0x43782});}[_0x3e64d8(0x27a)](_0x614a69,_0x2c758d,_0xea8b49,_0x4bda3b){const _0x428eef=_0x3e64d8;var _0x26f732;const _0x587b54=this[_0x428eef(0x1bb)](_0x614a69,_0x2c758d),_0x1a7e71=(_0x26f732=_0x587b54[_0x428eef(0x1f3)](_0xea8b49))==null?void 0x0:_0x26f732[_0x428eef(0x2a4)];_0x587b54[_0x428eef(0x1b9)](_0xea8b49,{'oldMatrix':_0x1a7e71,'matrix':_0x4bda3b});}['getPivotTableRangeInfo'](_0x425a1a,_0x3eb106,_0x2830b2){const _0x35ca50=_0x3e64d8;var _0x551be8,_0x4606d8;return(_0x4606d8=(_0x551be8=this['_pivotTableRangeInfo'][_0x35ca50(0x1f3)](_0x425a1a))==null?void 0x0:_0x551be8['get'](_0x3eb106))==null?void 0x0:_0x4606d8[_0x35ca50(0x1f3)](_0x2830b2);}[_0x3e64d8(0x21f)](_0x4e0399,_0x37ebff,_0x150ff6){const _0x102ca6=_0x3e64d8;var _0xf6f206,_0x11011f;return(_0x11011f=(_0xf6f206=this[_0x102ca6(0x124)]['get'](_0x4e0399))==null?void 0x0:_0xf6f206['get'](_0x37ebff))==null?void 0x0:_0x11011f[_0x102ca6(0x1f3)](_0x150ff6);}[_0x3e64d8(0x197)](_0x33076b){const _0x35301a=_0x3e64d8;this[_0x35301a(0x1a3)][_0x35301a(0xda)](_0x33076b),this[_0x35301a(0x338)][_0x35301a(0xda)](_0x33076b);}[_0x3e64d8(0x15a)](_0x393947){const _0x25abc7=_0x3e64d8,_0x14ced0={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x25abc7(0x338)]['get'](_0x393947)&&(_0x14ced0[_0x25abc7(0x2a3)][_0x393947]=this[_0x25abc7(0x338)][_0x25abc7(0x1f3)](_0x393947)),this[_0x25abc7(0x1a3)][_0x25abc7(0x1f3)](_0x393947)){_0x14ced0[_0x25abc7(0xe8)][_0x393947]={};const _0xb630ab=this[_0x25abc7(0x1a3)]['get'](_0x393947);_0xb630ab!=null&&_0xb630ab[_0x25abc7(0x2b7)]&&[..._0xb630ab[_0x25abc7(0x19b)]()][_0x25abc7(0x14a)](_0x36ad89=>{const _0x27cab6=_0x25abc7,_0x3590f9=_0xb630ab[_0x27cab6(0x1f3)](_0x36ad89);_0x3590f9!=null&&_0x3590f9[_0x27cab6(0x2b7)]&&(_0x14ced0['pivotTableConfigs'][_0x393947][_0x36ad89]={},[..._0x3590f9[_0x27cab6(0x19b)]()][_0x27cab6(0x14a)](_0x35369b=>{const _0x51c1e7=_0x27cab6,_0x2816e9=_0x3590f9['get'](_0x35369b);_0x2816e9&&(_0x14ced0[_0x51c1e7(0xe8)][_0x393947][_0x36ad89][_0x35369b]=_0x2816e9);}));});}return _0x14ced0;}[_0x3e64d8(0x31b)](){const _0x27caa5=_0x3e64d8;this['disposeWithMe'](this[_0x27caa5(0x2e6)][_0x27caa5(0x171)]({'toJson':_0x6b4a25=>JSON[_0x27caa5(0x20b)](this[_0x27caa5(0x15a)](_0x6b4a25)),'parseJson':_0x5bdb6f=>({}),'businesses':[_0x273a5e[_0x27caa5(0x180)]],'pluginName':ao,'onLoad':(_0x3f76e8,_0x19c789)=>{},'onUnLoad':_0x1778e0=>{const _0x1452f9=_0x27caa5;this[_0x1452f9(0x197)](_0x1778e0);}}));}};he=Gi([it(0x0,_0x5e764c(_0x4a79fb)),it(0x1,_0x5e764c(_0x56dc87)),it(0x2,_0x5e764c(_0x4eff45)),it(0x3,_0x5e764c(_0x38cbb2)),it(0x4,_0x5e764c(_0x1b9dd7))],he);var Ki=Object[_0x3e64d8(0x1f1)],qi=(_0x3792c2,_0x58418f,_0x1f67eb,_0x50de90)=>{const _0x1b106a=_0x3e64d8;for(var _0x19871c=_0x50de90>0x1?void 0x0:_0x50de90?Ki(_0x58418f,_0x1f67eb):_0x58418f,_0xd90552=_0x3792c2[_0x1b106a(0x169)]-0x1,_0x15983e;_0xd90552>=0x0;_0xd90552--)(_0x15983e=_0x3792c2[_0xd90552])&&(_0x19871c=_0x15983e(_0x19871c)||_0x19871c);return _0x19871c;},st=(_0xf0bec2,_0x4ec707)=>(_0x3da0bd,_0x1b2a59)=>_0x4ec707(_0x3da0bd,_0x1b2a59,_0xf0bec2);let Ne=class extends _0x41248b{constructor(_0x48440d,_0x1e8afa,_0x5a4b95,_0x1f638f,_0x4850b8){const _0x2c5aee=_0x3e64d8;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x2c5aee(0x2ab),new Map()),V(this,_0x2c5aee(0x134),new _0x37d4e0()),V(this,'markDirty$',this[_0x2c5aee(0x134)][_0x2c5aee(0x1cc)]()),V(this,_0x2c5aee(0x22f),new _0x37d4e0()),V(this,_0x2c5aee(0x2f3),this['_viewUpdate$'][_0x2c5aee(0x1cc)]()),V(this,_0x2c5aee(0x123)),(this[_0x2c5aee(0x270)]=_0x48440d,this['_injector']=_0x1e8afa,this[_0x2c5aee(0x329)]=_0x5a4b95,this[_0x2c5aee(0x309)]=_0x1f638f,this['_exclusiveRangeService']=_0x4850b8,this[_0x2c5aee(0x1cb)](),this[_0x2c5aee(0x273)]());}[_0x3e64d8(0x273)](){const _0x5bf571=_0x3e64d8;this[_0x5bf571(0x103)](this[_0x5bf571(0x309)][_0x5bf571(0x11a)](_0x273a5e[_0x5bf571(0x180)])[_0x5bf571(0x1b6)](_0x171e3b=>{const _0x454eb0=_0x5bf571;this[_0x454eb0(0x197)](_0x171e3b[_0x454eb0(0x337)]());}));}[_0x3e64d8(0x1cb)](){const _0x3c552b=_0x3e64d8;this[_0x3c552b(0x123)]=fo(this['_injector'],Bo,'',{});}['updateRenderCache'](_0x53057b){const _0x228fdf=_0x3e64d8,{view:_0x197152,unitId:_0x3e0159,subUnitId:_0x38d34b,pivotTableId:_0x457c7b,type:_0x591778}=_0x53057b,_0x36bec1=this['_sheetsPivotTableConfigModel'][_0x228fdf(0x26b)](_0x3e0159,_0x38d34b,_0x457c7b);if(!_0x197152||!_0x36bec1||_0x591778===H[_0x228fdf(0x28e)])return;const {pageView:_0x37baaa,cornerView:_0x4c1367,rowView:_0x185da8,colView:_0x34ba3e,dataView:_0x97e86}=_0x197152,_0x8e854e=_0x36bec1[_0x228fdf(0x1ff)],_0xd4c281=_0x36bec1[_0x228fdf(0x1c5)],_0x16e1ca=this[_0x228fdf(0x1a2)](_0x3e0159,_0x38d34b),_0x1dfbfb=this[_0x228fdf(0x174)](_0x3e0159,_0x38d34b,_0x457c7b);if(_0xd4c281)return this['_updateRenderEmptyCache'](_0x53057b,_0x16e1ca,_0x8e854e,_0x1dfbfb);{const _0x486f12=ge(_0x8e854e,_0x37baaa,!0x0),_0x12f954=_0x37baaa['lastRow']>=0x0?_0x37baaa[_0x228fdf(0x21e)]+0x1:0x0,_0x43fdbf=_0x4c1367[_0x228fdf(0x240)](),_0x290f7a=_0x4c1367[_0x228fdf(0x1a9)](),_0x5c368d=_0x486f12[_0x228fdf(0x169)]>0x0?mt:0x0,_0xd2bfb4=ge({'row':_0x8e854e[_0x228fdf(0x2e7)]+_0x12f954+_0x5c368d,'col':_0x8e854e['col']},_0x4c1367,!0x1,!0x1),_0x376b6c=ge({'row':_0x8e854e[_0x228fdf(0x2e7)]+_0x12f954+_0x5c368d+_0x43fdbf,'col':_0x8e854e[_0x228fdf(0x2c4)]},_0x185da8,!0x1,!0x0),_0x138f41=ge({'row':_0x8e854e[_0x228fdf(0x2e7)]+_0x12f954+_0x5c368d,'col':_0x8e854e[_0x228fdf(0x2c4)]+_0x290f7a},_0x34ba3e,!0x1,!0x0),_0x166f5a=ge({'row':_0x8e854e['row']+_0x12f954+_0x5c368d+_0x43fdbf,'col':_0x8e854e[_0x228fdf(0x2c4)]+_0x290f7a},_0x97e86,!0x1,!0x1);_0x1dfbfb['rangesInfo']={'rowRanges':_0x376b6c,'colRanges':_0x138f41,'cornerRanges':_0xd2bfb4,'dataRanges':_0x166f5a,'pageRanges':_0x486f12};const _0x38cb1b=Mi(this[_0x228fdf(0x146)],_0x197152,_0x36bec1,this[_0x228fdf(0x123)]),{valueMatrix:_0x234ba4,rowInfo:_0x260a0c,colInfo:_0x1d5087,cornerInfo:_0x1707bf,rowHeaderMap:_0x2d1de3,colHeaderMap:_0x559f48}=_0x38cb1b;return _0x1dfbfb[_0x228fdf(0x297)]={'rowInfo':_0x260a0c,'colInfo':_0x1d5087,'cornerInfo':_0x1707bf},_0x1dfbfb[_0x228fdf(0x1e3)]={'rowHeaderMap':_0x2d1de3,'colHeaderMap':_0x559f48},_0x234ba4['forEach']((_0x35644a,_0x236b66)=>{const _0x1aec75=_0x228fdf;Object[_0x1aec75(0x19b)](_0x236b66)[_0x1aec75(0x14a)](_0x5008b1=>{const _0x3affb9=_0x1aec75,_0x111d7b=+_0x5008b1,_0x598369=_0x234ba4[_0x3affb9(0x1d2)](_0x35644a,_0x111d7b);_0x16e1ca[_0x3affb9(0x1df)](_0x35644a,_0x111d7b,_0x598369);});}),this[_0x228fdf(0x22f)][_0x228fdf(0xf6)]({'unitId':_0x3e0159,'subUnitId':_0x38d34b,'valueMatrix':_0x16e1ca,'rangesCache':_0x1dfbfb[_0x228fdf(0x2ed)],'pivotTableId':_0x457c7b,'type':_0x53057b[_0x228fdf(0x1da)]}),this[_0x228fdf(0x329)][_0x228fdf(0xd5)](_0x3e0159,_0x38d34b,_0x457c7b,_0x16e1ca,_0x1dfbfb[_0x228fdf(0x2ed)]),this[_0x228fdf(0x1fe)]['addExclusiveRange'](_0x3e0159,_0x38d34b,Bt,this['_createExclusiveRange'](_0x1dfbfb[_0x228fdf(0x2ed)],_0x457c7b)),{'rangeCache':_0x1dfbfb[_0x228fdf(0x2ed)],'matrix':_0x16e1ca};}}[_0x3e64d8(0x2bd)](_0x39e13e,_0x1ace89,_0x21fc56,_0x385c72){const _0x5f21d6=_0x3e64d8,_0xc1000=this[_0x5f21d6(0x270)]['t'],{unitId:_0x4a979b,subUnitId:_0x3e0032,pivotTableId:_0x4b755b}=_0x39e13e,_0x361b7e={'filter':_0xc1000(_0x5f21d6(0x1ce)),'row':_0xc1000('sheets-pivot.emptyPivot.row'),'column':_0xc1000('sheets-pivot.emptyPivot.column'),'values':_0xc1000('sheets-pivot.emptyPivot.values')},{matrixCache:_0x55e133,rangesCache:_0x5077a6}=Wo(_0x361b7e,_0x21fc56);return _0x55e133['forValue']((_0xe1c585,_0x1734d6,_0x33e9c7)=>{const _0x515181=_0x5f21d6;_0x1ace89[_0x515181(0x1df)](_0xe1c585,_0x1734d6,_0x33e9c7);}),_0x385c72['rangesInfo']=_0x5077a6,this['_viewUpdate$'][_0x5f21d6(0xf6)]({'unitId':_0x4a979b,'subUnitId':_0x3e0032,'valueMatrix':_0x1ace89,'rangesCache':_0x5077a6,'pivotTableId':_0x4b755b,'type':_0x39e13e[_0x5f21d6(0x1da)],'isEmpty':!0x0}),this[_0x5f21d6(0x329)][_0x5f21d6(0xd5)](_0x4a979b,_0x3e0032,_0x4b755b,_0x1ace89,_0x5077a6),this['_exclusiveRangeService'][_0x5f21d6(0x22a)](_0x4a979b,_0x3e0032,Bt,this[_0x5f21d6(0x1c0)](_0x5077a6,_0x4b755b)),{'rangeCache':_0x385c72[_0x5f21d6(0x2ed)],'matrix':_0x1ace89};}[_0x3e64d8(0x1c0)](_0x526aa7,_0x3ddfd2){const _0x257766=_0x3e64d8,_0x49a764=[],_0x5e706b=Ht(_0x526aa7);for(const _0x1f1a18 of _0x5e706b)_0x49a764[_0x257766(0x2b6)]({'groupId':_0x3ddfd2,'range':_0x1f1a18});return _0x49a764;}[_0x3e64d8(0x2a0)](_0x45404d){const _0xc4fefc=_0x3e64d8;var _0x48e8df,_0xaee651,_0x411a3d,_0x4a5bd1;const {pivotTableId:_0x2e10a6,unitId:_0x32f038,subUnitId:_0x2557d9}=_0x45404d;if(!_0x2e10a6||!_0x32f038||!_0x2557d9)return;const _0x59e0d6=this['_ensurePivotItemRenderValueMatrixCache'](_0x32f038,_0x2557d9),_0x9c1d81=(_0xaee651=(_0x48e8df=this['_pivotRenderInfoCache']['get'](_0x32f038))==null?void 0x0:_0x48e8df['get'](_0x2557d9))==null?void 0x0:_0xaee651[_0xc4fefc(0x1f3)](_0x2e10a6);if(_0x9c1d81!=null&&_0x9c1d81[_0xc4fefc(0x2ed)]){for(const _0xeaaaa8 of Object[_0xc4fefc(0x19b)](_0x9c1d81[_0xc4fefc(0x2ed)]))_0x9c1d81[_0xc4fefc(0x2ed)][_0xeaaaa8]['forEach'](_0x27729b=>{const _0x5acfb0=_0xc4fefc;for(let _0x3e4618=_0x27729b[_0x5acfb0(0x31a)];_0x3e4618<=_0x27729b['endRow'];_0x3e4618++)for(let _0x343e60=_0x27729b['startColumn'];_0x343e60<=_0x27729b['endColumn'];_0x343e60++)_0x59e0d6['realDeleteValue'](_0x3e4618,_0x343e60);});}_0x9c1d81&&((_0x4a5bd1=(_0x411a3d=this[_0xc4fefc(0x1f5)][_0xc4fefc(0x1f3)](_0x32f038))==null?void 0x0:_0x411a3d[_0xc4fefc(0x1f3)](_0x2557d9))==null||_0x4a5bd1[_0xc4fefc(0xda)](_0x2e10a6)),this[_0xc4fefc(0x22f)][_0xc4fefc(0xf6)]({'unitId':_0x32f038,'subUnitId':_0x2557d9,'valueMatrix':_0x59e0d6,'pivotTableId':_0x2e10a6,'rangesCache':void 0x0,'type':_0x45404d[_0xc4fefc(0x1da)]}),this['_exclusiveRangeService'][_0xc4fefc(0x158)](_0x32f038,_0x2557d9,Bt,_0x2e10a6);}[_0x3e64d8(0x174)](_0x31b6b0,_0x30e642,_0x4a1e1c){const _0x327844=_0x3e64d8;var _0x418ddf,_0xd0cdd6,_0x4ffc09,_0xa9f960,_0x4148c7,_0x397d4d;return this[_0x327844(0x1f5)]['has'](_0x31b6b0)||this[_0x327844(0x1f5)][_0x327844(0x1b9)](_0x31b6b0,new Map()),(_0x418ddf=this['_pivotRenderInfoCache'][_0x327844(0x1f3)](_0x31b6b0))!=null&&_0x418ddf['has'](_0x30e642)||(_0xd0cdd6=this[_0x327844(0x1f5)][_0x327844(0x1f3)](_0x31b6b0))==null||_0xd0cdd6['set'](_0x30e642,new Map()),(_0xa9f960=(_0x4ffc09=this['_pivotRenderInfoCache']['get'](_0x31b6b0))==null?void 0x0:_0x4ffc09[_0x327844(0x1f3)](_0x30e642))!=null&&_0xa9f960[_0x327844(0xe7)](_0x4a1e1c)||(_0x397d4d=(_0x4148c7=this[_0x327844(0x1f5)][_0x327844(0x1f3)](_0x31b6b0))==null?void 0x0:_0x4148c7['get'](_0x30e642))==null||_0x397d4d[_0x327844(0x1b9)](_0x4a1e1c,{}),this[_0x327844(0x1f5)]['get'](_0x31b6b0)[_0x327844(0x1f3)](_0x30e642)['get'](_0x4a1e1c);}[_0x3e64d8(0x1a2)](_0x1ec952,_0x4fbee8){const _0x29820c=_0x3e64d8;var _0x39d256,_0x585b1c;return this['_pivotRenderValueMatrixCache'][_0x29820c(0xe7)](_0x1ec952)||this[_0x29820c(0x2ab)]['set'](_0x1ec952,new Map()),(_0x39d256=this[_0x29820c(0x2ab)][_0x29820c(0x1f3)](_0x1ec952))!=null&&_0x39d256[_0x29820c(0xe7)](_0x4fbee8)||(_0x585b1c=this[_0x29820c(0x2ab)][_0x29820c(0x1f3)](_0x1ec952))==null||_0x585b1c[_0x29820c(0x1b9)](_0x4fbee8,new _0x2067c1()),this[_0x29820c(0x2ab)][_0x29820c(0x1f3)](_0x1ec952)[_0x29820c(0x1f3)](_0x4fbee8);}[_0x3e64d8(0x245)](_0xd0da6f,_0x247b2c,_0x40439b,_0x161e37){const _0x64f98c=_0x3e64d8;var _0x2afecb,_0x4c0ebc;const _0x3d7590=(_0x4c0ebc=(_0x2afecb=this[_0x64f98c(0x2ab)][_0x64f98c(0x1f3)](_0xd0da6f))==null?void 0x0:_0x2afecb[_0x64f98c(0x1f3)](_0x247b2c))==null?void 0x0:_0x4c0ebc[_0x64f98c(0x1d2)](_0x40439b,_0x161e37);if(_0x3d7590!=null)return _0x3d7590;}[_0x3e64d8(0x277)](_0x426d77,_0x375fc2,_0x43d31a,_0x9cac09){const _0x4a41fc=_0x3e64d8;var _0x21cd59;const _0x8b2e92=_0x42af7f(_0x43d31a,_0x9cac09),_0x5811d7=(_0x21cd59=this[_0x4a41fc(0x1f5)][_0x4a41fc(0x1f3)](_0x426d77))==null?void 0x0:_0x21cd59[_0x4a41fc(0x1f3)](_0x375fc2);return _0x5811d7?Array[_0x4a41fc(0x202)](_0x5811d7[_0x4a41fc(0x19b)]())[_0x4a41fc(0x20a)](_0x3c04ef=>{const _0x877d8f=_0x4a41fc,_0x56eccd=_0x5811d7[_0x877d8f(0x1f3)](_0x3c04ef),_0x3fe7ff=_0x56eccd==null?void 0x0:_0x56eccd[_0x877d8f(0x2ed)];return _0x3fe7ff?Object[_0x877d8f(0x19b)](_0x3fe7ff)[_0x877d8f(0x28a)](_0x4eaa62=>_0x3fe7ff[_0x4eaa62][_0x877d8f(0x28a)](_0x3e0533=>_0x5e2546['contains'](_0x3e0533,_0x8b2e92))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x57493e,_0x539d94,_0x2c21be){const _0xc1ccf7=_0x3e64d8;var _0x43b23f;const _0x673e8=(_0x43b23f=this[_0xc1ccf7(0x1f5)][_0xc1ccf7(0x1f3)](_0x57493e))==null?void 0x0:_0x43b23f[_0xc1ccf7(0x1f3)](_0x539d94),_0x475231=[];return _0x673e8&&Array['from'](_0x673e8[_0xc1ccf7(0x19b)]())[_0xc1ccf7(0x14a)](_0x1d2d1b=>{const _0x1902a9=_0xc1ccf7,_0x58597c=_0x673e8[_0x1902a9(0x1f3)](_0x1d2d1b),_0x35e992=_0x58597c==null?void 0x0:_0x58597c[_0x1902a9(0x2ed)];if(_0x35e992)for(const _0x49633e of Object['values'](_0x35e992)){let _0x32ffe6=!0x1;for(const _0x3fe50f of _0x49633e)if(_0x5e2546['intersects'](_0x3fe50f,_0x2c21be)){_0x475231[_0x1902a9(0x2b6)](_0x1d2d1b),_0x32ffe6=!0x0;break;}if(_0x32ffe6)break;}}),_0x475231;}['getSubUnitPivotMatrix'](_0x54112f,_0x21fd48){const _0x47de34=_0x3e64d8;var _0x4d4ec0,_0x323ee5;return(_0x323ee5=(_0x4d4ec0=this[_0x47de34(0x2ab)]['get'](_0x54112f))==null?void 0x0:_0x4d4ec0[_0x47de34(0x1f3)](_0x21fd48))!=null?_0x323ee5:new _0x2067c1();}[_0x3e64d8(0x10c)](_0x14e696,_0x1ce97c){const _0x2d54ea=_0x3e64d8;var _0x5ccbf7;return(_0x5ccbf7=this[_0x2d54ea(0x1f5)][_0x2d54ea(0x1f3)](_0x14e696))==null?void 0x0:_0x5ccbf7[_0x2d54ea(0x1f3)](_0x1ce97c);}['getPivotItemRenderInfoCache'](_0x10737c,_0x3dc198,_0x4c623c){const _0x2cc525=_0x3e64d8;var _0x452c7a,_0x5cbecb;return(_0x5cbecb=(_0x452c7a=this[_0x2cc525(0x1f5)]['get'](_0x10737c))==null?void 0x0:_0x452c7a[_0x2cc525(0x1f3)](_0x3dc198))==null?void 0x0:_0x5cbecb[_0x2cc525(0x1f3)](_0x4c623c);}[_0x3e64d8(0x197)](_0x35f8f4){const _0x4a5a25=_0x3e64d8;this[_0x4a5a25(0x1f5)]['delete'](_0x35f8f4),this[_0x4a5a25(0x2ab)][_0x4a5a25(0xda)](_0x35f8f4);}['markDirty'](_0x9b299b,_0x3215ce){const _0x20810a=_0x3e64d8;this['_markDirty$'][_0x20810a(0xf6)]({'unitId':_0x9b299b,'subUnitId':_0x3215ce});}};Ne=qi([st(0x0,_0x5e764c(_0x34afa6)),st(0x1,_0x5e764c(_0x4a79fb)),st(0x2,_0x5e764c(he)),st(0x3,_0x5e764c(_0x4eff45)),st(0x4,_0x5e764c(_0xf1fdac))],Ne);var Yi=Object[_0x3e64d8(0x1f1)],zi=(_0x4dc4ff,_0x1f0079,_0x5855ad,_0x420b2e)=>{const _0x296559=_0x3e64d8;for(var _0xa2742=_0x420b2e>0x1?void 0x0:_0x420b2e?Yi(_0x1f0079,_0x5855ad):_0x1f0079,_0x5c04e0=_0x4dc4ff[_0x296559(0x169)]-0x1,_0x536334;_0x5c04e0>=0x0;_0x5c04e0--)(_0x536334=_0x4dc4ff[_0x5c04e0])&&(_0xa2742=_0x536334(_0xa2742)||_0xa2742);return _0xa2742;},yo=(_0x1678e4,_0x59cb45)=>(_0x33dfe7,_0x2b731d)=>_0x59cb45(_0x33dfe7,_0x2b731d,_0x1678e4);let ie=class extends _0x41248b{constructor(_0x129357,_0x1187a6){const _0x59e0b3=_0x3e64d8;super(),V(this,_0x59e0b3(0x132),new _0x5dc865({'PIVOT_PERFORM_CHECK':be})),V(this,'interceptor',new _0x5f0f7b({'PIVOT_MUTATION_GENERATE':Ho})),(this[_0x59e0b3(0x142)]=_0x129357,this[_0x59e0b3(0x198)]=_0x1187a6,this['_init']());}[_0x3e64d8(0xdb)](){this['_initViewModelBySheetInterceptor']();}['getPivotPerformCheck'](_0x15dff8){const _0x56d4d2=_0x3e64d8;return this['asyncInterceptor'][_0x56d4d2(0x306)](be)(!0x1,_0x15dff8);}['_initViewModelBySheetInterceptor'](){const _0x1d9df6=_0x3e64d8;this['disposeWithMe'](this[_0x1d9df6(0x142)][_0x1d9df6(0x218)](_0x36bbf1[_0x1d9df6(0x116)],{'priority':0xc8,'effect':_0x46ae8e[_0x1d9df6(0x203)]|_0x46ae8e[_0x1d9df6(0x24c)],'handler':(_0x5e4bde,_0x2acefa,_0xa9fea3)=>{const _0x5a5554=_0x1d9df6,{row:_0x9c6eb5,col:_0x4a44ce,unitId:_0x2d7b3b,subUnitId:_0x384b62,workbook:_0x282e84}=_0x2acefa,_0x53ada1=this[_0x5a5554(0x198)][_0x5a5554(0x245)](_0x2d7b3b,_0x384b62,_0x9c6eb5,_0x4a44ce);if(!_0x53ada1)return _0xa9fea3(_0x5e4bde);const _0x4d5567={..._0x5e4bde};(_0x53ada1['v']||_0x53ada1['v']===0x0)&&(_0x4d5567['v']=_0x53ada1['v']),_0x53ada1['t']&&(_0x4d5567['t']=_0x53ada1['t']);const _0x467d45=(typeof(_0x5e4bde==null?void 0x0:_0x5e4bde['s'])==_0x5a5554(0x1e0)?_0x282e84[_0x5a5554(0x1de)]()[_0x5a5554(0x1f3)](_0x5e4bde==null?void 0x0:_0x5e4bde['s']):_0x5e4bde==null?void 0x0:_0x5e4bde['s'])||{},_0x26d1aa=_0x282e84['getStyles']()['get'](_0x53ada1['s']),_0x3e7be9={..._0x26d1aa,..._0x467d45};_0x26d1aa!=null&&_0x26d1aa['n']&&(_0x3e7be9['n']=_0x26d1aa['n']);const _0x8aeee8=_0x282e84['getStyles']()[_0x5a5554(0x1df)](_0x3e7be9);return _0x4d5567['s']=_0x8aeee8,(_0x53ada1[_0x5a5554(0x2d4)]===_0x2ceb7a[_0x5a5554(0x27d)]||_0x53ada1[_0x5a5554(0x2d4)]===_0x2ceb7a[_0x5a5554(0xff)])&&(_0x4d5567['fontRenderExtension']={},_0x4d5567['fontRenderExtension'][_0x5a5554(0x21b)]=ri),_0xa9fea3(_0x4d5567);}}));}};ie=zi([yo(0x0,_0x5e764c(_0x595b5e)),yo(0x1,_0x5e764c(Ne))],ie);function Nt(_0x2ae742,_0x406911){const _0x50abb0=_0x3e64d8;switch(_0x406911){case _0x5bb14c[_0x50abb0(0x203)]:return _0x2ae742[_0x50abb0(0x2b0)];case _0x5bb14c[_0x50abb0(0x233)]:return _0x2ae742[_0x50abb0(0x18f)];case _0x5bb14c[_0x50abb0(0x16b)]:return _0x2ae742['rowFields'];case _0x5bb14c[_0x50abb0(0x2d2)]:return _0x2ae742[_0x50abb0(0x1d9)];default:return[];}}function $e(_0x4feadf,_0x4047aa){const _0x5a0cd6=_0x3e64d8;return _0x4feadf['measure'][_0x4047aa]||_0x4feadf[_0x5a0cd6(0x2b9)][_0x4047aa];}function Qi(_0x4b86a0,_0x35ee2f){const _0x21810d=_0x3e64d8,{area:_0x475173,fieldJson:_0x32085a,index:_0x2f893a}=_0x35ee2f;_0x475173===_0x5bb14c[_0x21810d(0x203)]?_0x4b86a0['measure'][_0x32085a['id']]=_0x32085a:_0x4b86a0['dimension'][_0x32085a['id']]=_0x32085a,Nt(_0x4b86a0,_0x475173)[_0x21810d(0x22e)](_0x2f893a,0x0,_0x32085a['id']);}function Xi(_0x518e23,_0x544eeb){const _0x392d62=_0x3e64d8,{area:_0x347dc6,fieldId:_0x3951f0,index:_0x1e4c15}=_0x544eeb;_0x347dc6===_0x5bb14c[_0x392d62(0x203)]?delete _0x518e23[_0x392d62(0x2bc)][_0x3951f0]:delete _0x518e23[_0x392d62(0x2b9)][_0x3951f0],Nt(_0x518e23,_0x347dc6)[_0x392d62(0x22e)](_0x1e4c15,0x1);}function Zi(_0x1a1c9d,_0x3b6f89){const _0x14e033=_0x3e64d8,{fieldId:_0x52aa8d,name:_0x1c32c8}=_0x3b6f89,_0x1f13b3=$e(_0x1a1c9d,_0x52aa8d);_0x1f13b3&&(_0x1f13b3[_0x14e033(0x10a)]=_0x1c32c8);}function es(_0x26eaa4,_0x13b05a){const _0x3b8df5=_0x3e64d8,{fieldId:_0x34af41,collapse:_0x33c1cb,item:_0x5c2620}=_0x13b05a;_0x5c2620!==void 0x0?(_0x26eaa4['collapseInfo'][_0x34af41]=_0x26eaa4[_0x3b8df5(0x2de)][_0x34af41]||{},_0x26eaa4[_0x3b8df5(0x2de)][_0x34af41][_0x5c2620]=_0x33c1cb):_0x26eaa4[_0x3b8df5(0x2de)][_0x34af41]=_0x33c1cb;}function ts(_0x548295,_0x5beb21){const _0x5e0c59=_0x3e64d8,{fieldId:_0x1560c3,format:_0x2e376e}=_0x5beb21,_0x1c61dc=$e(_0x548295,_0x1560c3);_0x1c61dc&&(_0x1c61dc[_0x5e0c59(0x193)]=_0x2e376e);}function os(_0x35759d,_0x3f010a){const _0x48d165=_0x3e64d8,{fieldId:_0x1587e5,filterInfo:_0x4a629c}=_0x3f010a,_0x2aaeb4=$e(_0x35759d,_0x1587e5);_0x2aaeb4&&(_0x2aaeb4[_0x48d165(0x154)]=_0x4a629c);}function ns(_0x171283,_0x51e9b7){const _0x14d987=_0x3e64d8,{fieldId:_0x24be06,filterInfo:_0x3d5418}=_0x51e9b7,_0x2fe3b7=_0x171283[_0x14d987(0x23d)]['filter'](_0x45f1c8=>_0x45f1c8[_0x14d987(0x323)]!==_0x24be06);_0x3d5418&&_0x2fe3b7['push']({'fieldId':_0x24be06,'filterInfo':_0x3d5418}),_0x171283['valueFilter']=_0x2fe3b7;}function is(_0x1e2b4a,_0x3707c9){const _0x3141b1=_0x3e64d8,{fieldId:_0x56c87c,subtotalType:_0x29dde5}=_0x3707c9,_0x1eeed5=$e(_0x1e2b4a,_0x56c87c);_0x1eeed5&&(_0x1eeed5[_0x3141b1(0x16c)]=_0x29dde5);}function ss(_0x1efb2d,_0x1e56fe){const _0x2e1b32=_0x3e64d8,{fieldId:_0x302400,oldArea:_0x5cf0df,area:_0x211c59,oldIndex:_0x3e06a6,index:_0x586688}=_0x1e56fe,_0x36ee82=_0x5cf0df!==_0x5bb14c['Value']&&_0x211c59===_0x5bb14c[_0x2e1b32(0x203)],_0x26377a=_0x5cf0df===_0x5bb14c[_0x2e1b32(0x203)]&&_0x211c59!==_0x5bb14c[_0x2e1b32(0x203)];if(_0x36ee82||_0x26377a){const _0x261c93=$e(_0x1efb2d,_0x302400);_0x261c93&&(_0x36ee82?(delete _0x1efb2d['dimension'][_0x302400],_0x1efb2d[_0x2e1b32(0x2bc)][_0x302400]=_0x261c93):(delete _0x1efb2d[_0x2e1b32(0x2bc)][_0x302400],_0x1efb2d[_0x2e1b32(0x2b9)][_0x302400]=_0x261c93));}const _0x4bad81=Nt(_0x1efb2d,_0x5cf0df),_0x293226=Nt(_0x1efb2d,_0x211c59);_0x4bad81['splice'](_0x3e06a6,0x1),_0x293226['splice'](_0x586688,0x0,_0x302400);}function as(_0x3170fb,_0x5a7f66){const {valuePosition:_0x25e430,index:_0x2228f3}=_0x5a7f66;_0x3170fb['valuePosition']=_0x25e430,_0x3170fb['valueIndex']=_0x2228f3;}function rs(_0x447203,_0x1cda55){const _0x27ab2d=_0x3e64d8,{tableFieldId:_0x2cb5b2,sourceName:_0x501edc,dataFieldId:_0x17779c}=_0x1cda55,_0xb08c9b=$e(_0x447203,_0x2cb5b2);_0xb08c9b&&(_0xb08c9b[_0x27ab2d(0x2cc)]=_0x501edc,_0xb08c9b['dataFieldId']=_0x17779c);}function ls(_0x3d02d9,_0x32965a){const _0x29704d=_0x3e64d8,{fieldId:_0x556843,sortInfo:_0x116d43}=_0x32965a,_0x43693b=$e(_0x3d02d9,_0x556843);_0x43693b&&(_0x43693b[_0x29704d(0x1f2)]=_0x116d43);}function cs(_0x2b9715,_0x5c88e6){const _0x3c4836=_0x3e64d8,{options:_0x256b3e}=_0x5c88e6;_0x2b9715[_0x3c4836(0x1c2)]={..._0x2b9715[_0x3c4836(0x1c2)],..._0x256b3e};}const $t={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x115),'handler'(_0x591ef8,_0x453ca3){const _0x3b152c=_0x3e64d8;if(!_0x453ca3)return!0x1;if(!!_0x591ef8[_0x3b152c(0x1f3)](_0x1b9dd7)[_0x3b152c(0x2e2)](q))return!0x0;const _0x1edfe3=_0x591ef8[_0x3b152c(0x1f3)]($),{pivotTableId:_0x5bd7bf,fieldJson:_0x94dd63,area:_0x40bf9a,index:_0x4ae6ac,unitId:_0x378f15,subUnitId:_0x4d4527}=_0x453ca3,_0x317a01=_0x1edfe3[_0x3b152c(0x33f)](_0x5bd7bf);if(!_0x317a01)return!0x1;let _0x5aa610;_0x40bf9a===_0x5bb14c['Value']?_0x5aa610=_0x4fd228(_0x94dd63):_0x5aa610=_0x19df2b(_0x94dd63),_0x317a01[_0x3b152c(0xe4)](_0x5aa610,_0x40bf9a,_0x4ae6ac);const _0x5d9f54=_0x1edfe3['getPivotTableModelConfig'](_0x378f15,_0x4d4527,_0x5bd7bf);Qi(_0x5d9f54,_0x453ca3);const _0x2f3e41=_0x1edfe3['getPivotTableConfig'](_0x378f15,_0x4d4527,_0x5bd7bf);return _0x1edfe3['addDirtyPivotTable']({'unitId':_0x378f15,'subUnitId':_0x4d4527,'token':_0x5bd7bf,'type':H['Set'],'pivotConfig':_0x2f3e41}),!0x0;}},Jt={'type':_0x1e552e['MUTATION'],'id':_0x3e64d8(0x30d),'handler'(_0x5327a9,_0x1c5648){const _0x332725=_0x3e64d8;if(!_0x1c5648)return!0x1;if(!!_0x5327a9[_0x332725(0x1f3)](_0x1b9dd7)[_0x332725(0x2e2)](q))return!0x0;const _0x38a5b0=_0x5327a9['get']($),{pivotTableId:_0x230b85,fieldId:_0x58b47c,unitId:_0x10b3a8,subUnitId:_0x40c252}=_0x1c5648,_0x4797fc=_0x38a5b0[_0x332725(0x33f)](_0x230b85);if(!_0x4797fc)return!0x1;_0x4797fc[_0x332725(0x30c)](_0x58b47c);const _0x131ea2=_0x38a5b0['getPivotTableModelConfig'](_0x10b3a8,_0x40c252,_0x230b85);Xi(_0x131ea2,_0x1c5648);const _0x553812=_0x38a5b0[_0x332725(0x26b)](_0x10b3a8,_0x40c252,_0x230b85);return _0x38a5b0[_0x332725(0x157)]({'unitId':_0x10b3a8,'subUnitId':_0x40c252,'token':_0x230b85,'type':H[_0x332725(0x249)],'pivotConfig':_0x553812}),!0x0;}},Wt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x12c),'handler'(_0x537d20,_0x178767){const _0x4e1407=_0x3e64d8;if(!_0x178767)return!0x1;if(!!_0x537d20[_0x4e1407(0x1f3)](_0x1b9dd7)[_0x4e1407(0x2e2)](q))return!0x0;const _0x51c9b1=_0x537d20[_0x4e1407(0x1f3)]($),{unitId:_0x221af3,subUnitId:_0x5cccee,pivotTableId:_0x5579bf,fieldId:_0x18249d,name:_0x4afb37}=_0x178767,_0x4fd4c5=_0x51c9b1[_0x4e1407(0x33f)](_0x5579bf);if(!_0x4fd4c5)return!0x1;_0x4fd4c5['renameField'](_0x18249d,_0x4afb37);const _0x5168e8=_0x51c9b1[_0x4e1407(0x24b)](_0x221af3,_0x5cccee,_0x5579bf);return Zi(_0x5168e8,_0x178767),_0x51c9b1[_0x4e1407(0x157)]({'unitId':_0x221af3,'subUnitId':_0x5cccee,'token':_0x5579bf,'type':H[_0x4e1407(0x249)]}),!0x0;}},jt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x4b99bc,_0x42a9ae){const _0x401fdf=_0x3e64d8;if(!_0x42a9ae)return!0x1;if(!!_0x4b99bc[_0x401fdf(0x1f3)](_0x1b9dd7)[_0x401fdf(0x2e2)](q))return!0x0;const _0x21973a=_0x4b99bc[_0x401fdf(0x1f3)]($),{unitId:_0x3d52a6,subUnitId:_0x1518cb,pivotTableId:_0x4049df,fieldId:_0x593d8b,collapse:_0x23359c,item:_0x31ec58}=_0x42a9ae,_0x248f75=_0x21973a[_0x401fdf(0x33f)](_0x4049df);if(!_0x248f75)return!0x1;_0x248f75[_0x401fdf(0x13e)](_0x593d8b,_0x23359c,_0x31ec58);const _0x323d29=_0x21973a[_0x401fdf(0x24b)](_0x3d52a6,_0x1518cb,_0x4049df);return es(_0x323d29,_0x42a9ae),_0x21973a['addDirtyPivotTable']({'unitId':_0x3d52a6,'subUnitId':_0x1518cb,'token':_0x4049df,'type':H['Set']}),!0x0;}},Gt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x241),'handler'(_0x507262,_0x541b7a){const _0x3a4448=_0x3e64d8;if(!_0x541b7a)return!0x1;if(!!_0x507262[_0x3a4448(0x1f3)](_0x1b9dd7)[_0x3a4448(0x2e2)](q))return!0x0;const _0x3b265b=_0x507262['get']($),{unitId:_0x3b6f1e,subUnitId:_0x1def5f,pivotTableId:_0x4c64e8,fieldId:_0x15ad55,format:_0x2a40bf}=_0x541b7a,_0x35f38d=_0x3b265b[_0x3a4448(0x33f)](_0x4c64e8);if(!_0x35f38d)return!0x1;_0x35f38d[_0x3a4448(0x1ed)](_0x15ad55,_0x2a40bf);const _0x39d384=_0x3b265b[_0x3a4448(0x24b)](_0x3b6f1e,_0x1def5f,_0x4c64e8);return ts(_0x39d384,_0x541b7a),_0x3b265b['addDirtyPivotTable']({'unitId':_0x3b6f1e,'subUnitId':_0x1def5f,'token':_0x4c64e8,'type':H['Set']}),!0x0;}},Kt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x176),'handler'(_0x48feba,_0x217b65){const _0x1166cc=_0x3e64d8;if(!_0x217b65)return!0x1;if(!!_0x48feba[_0x1166cc(0x1f3)](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x5d104e=_0x48feba[_0x1166cc(0x1f3)]($),{unitId:_0x266c03,subUnitId:_0x3463a3,pivotTableId:_0x207125,fieldId:_0x2e2020,filterInfo:_0x572590}=_0x217b65,_0x199b64=_0x5d104e[_0x1166cc(0x33f)](_0x207125);if(!_0x199b64)return!0x1;_0x199b64[_0x1166cc(0x166)](_0x2e2020,_0x572590);const _0x5c2fd0=_0x5d104e[_0x1166cc(0x24b)](_0x266c03,_0x3463a3,_0x207125);return os(_0x5c2fd0,_0x217b65),_0x5d104e[_0x1166cc(0x157)]({'unitId':_0x266c03,'subUnitId':_0x3463a3,'token':_0x207125,'type':H[_0x1166cc(0x249)]}),!0x0;}},qt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x155),'handler'(_0x4553d6,_0x3113cd){const _0x449cd7=_0x3e64d8;if(!_0x3113cd)return!0x1;if(!!_0x4553d6[_0x449cd7(0x1f3)](_0x1b9dd7)[_0x449cd7(0x2e2)](q))return!0x0;const _0x10197c=_0x4553d6[_0x449cd7(0x1f3)]($),{unitId:_0x406234,subUnitId:_0x34cbef,pivotTableId:_0x198703,options:_0x29bcfb}=_0x3113cd,_0x42ce74=_0x10197c['getPivotTableInstance'](_0x198703);if(!_0x42ce74)return!0x1;_0x42ce74[_0x449cd7(0x248)](_0x29bcfb);const _0x1ef86f=_0x10197c[_0x449cd7(0x24b)](_0x406234,_0x34cbef,_0x198703);return cs(_0x1ef86f,_0x3113cd),_0x10197c['addDirtyPivotTable']({'unitId':_0x406234,'subUnitId':_0x34cbef,'token':_0x198703,'type':H[_0x449cd7(0x249)]}),!0x0;}},Yt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x1c6),'handler'(_0x1d7905,_0x32a874){const _0x536f1f=_0x3e64d8;if(!_0x32a874)return!0x1;if(!!_0x1d7905['get'](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x4c1d99=_0x1d7905[_0x536f1f(0x1f3)]($),{unitId:_0x402429,subUnitId:_0x54f56f,pivotTableId:_0x2d0473,sortInfo:_0x5537f7,fieldId:_0x4f1ff6}=_0x32a874,_0x19faad=_0x4c1d99[_0x536f1f(0x33f)](_0x2d0473);if(!_0x19faad)return!0x1;_0x19faad[_0x536f1f(0x28f)](_0x4f1ff6,_0x5537f7);const _0x20ac05=_0x4c1d99[_0x536f1f(0x24b)](_0x402429,_0x54f56f,_0x2d0473);return ls(_0x20ac05,_0x32a874),_0x4c1d99[_0x536f1f(0x157)]({'unitId':_0x402429,'subUnitId':_0x54f56f,'token':_0x2d0473,'type':H[_0x536f1f(0x249)]}),!0x0;}},zt={'type':_0x1e552e['MUTATION'],'id':_0x3e64d8(0x17a),'handler'(_0x3c6af3,_0x3d6ed1){const _0xb5bdff=_0x3e64d8;if(!_0x3d6ed1)return!0x1;if(!!_0x3c6af3['get'](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x9f1e61=_0x3c6af3[_0xb5bdff(0x1f3)]($),{unitId:_0x1fc4fb,subUnitId:_0x189a5b,pivotTableId:_0x1b7a5e,fieldId:_0x2a036c,subtotalType:_0x4cf9d8}=_0x3d6ed1,_0xb3d60f=_0x9f1e61[_0xb5bdff(0x33f)](_0x1b7a5e);if(!_0xb3d60f)return!0x1;_0xb3d60f[_0xb5bdff(0x2c5)](_0x2a036c,_0x4cf9d8);const _0x5cabe6=_0x9f1e61['getPivotTableModelConfig'](_0x1fc4fb,_0x189a5b,_0x1b7a5e);return is(_0x5cabe6,_0x3d6ed1),_0x9f1e61[_0xb5bdff(0x157)]({'unitId':_0x1fc4fb,'subUnitId':_0x189a5b,'token':_0x1b7a5e,'type':H[_0xb5bdff(0x249)]}),!0x0;}},Qt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x4ef6ba,_0x2a9ec4){const _0x1796d7=_0x3e64d8;if(!_0x2a9ec4)return!0x1;if(!!_0x4ef6ba[_0x1796d7(0x1f3)](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x5807ee=_0x4ef6ba[_0x1796d7(0x1f3)]($),{unitId:_0x3d0858,subUnitId:_0x2dbc77,pivotTableId:_0x472c70,fieldId:_0x195c08,filterInfo:_0x2d9be3}=_0x2a9ec4,_0x43f17b=_0x5807ee[_0x1796d7(0x33f)](_0x472c70);if(!_0x43f17b)return!0x1;_0x43f17b[_0x1796d7(0x173)](_0x195c08,_0x2d9be3);const _0x3072e1=_0x5807ee[_0x1796d7(0x24b)](_0x3d0858,_0x2dbc77,_0x472c70);return ns(_0x3072e1,_0x2a9ec4),_0x5807ee[_0x1796d7(0x157)]({'unitId':_0x3d0858,'subUnitId':_0x2dbc77,'token':_0x472c70,'type':H['Set']}),!0x0;}},Xt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0xd7),'handler'(_0xe1dba6,_0x5bf1da){const _0x5cd66f=_0x3e64d8;if(!_0x5bf1da)return!0x1;if(!!_0xe1dba6[_0x5cd66f(0x1f3)](_0x1b9dd7)[_0x5cd66f(0x2e2)](q))return!0x0;const _0x5a4813=_0xe1dba6[_0x5cd66f(0x1f3)]($),{unitId:_0x1d2600,subUnitId:_0x3ea59a,pivotTableId:_0x32745e,area:_0x570a08,index:_0x4b8b49,fieldId:_0x458132}=_0x5bf1da,_0x951cef=_0x5a4813['getPivotTableInstance'](_0x32745e);if(!_0x951cef)return!0x1;_0x951cef[_0x5cd66f(0x211)](_0x458132,_0x570a08,_0x4b8b49);const _0x284136=_0x5a4813[_0x5cd66f(0x24b)](_0x1d2600,_0x3ea59a,_0x32745e);return ss(_0x284136,_0x5bf1da),_0x5a4813['addDirtyPivotTable']({'unitId':_0x1d2600,'subUnitId':_0x3ea59a,'token':_0x32745e,'type':H[_0x5cd66f(0x249)]}),!0x0;}},Zt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x209),'handler'(_0x513dbf,_0x41d610){const _0x278a21=_0x3e64d8;if(!_0x41d610)return!0x1;if(!!_0x513dbf[_0x278a21(0x1f3)](_0x1b9dd7)[_0x278a21(0x2e2)](q))return!0x0;const _0x12e4ed=_0x513dbf['get']($),{unitId:_0x2a74ed,subUnitId:_0x308c99,pivotTableId:_0x53d1db,sourceName:_0x2bf257,dataFieldId:_0x507ba0,tableFieldId:_0x15d8c9}=_0x41d610,_0x28c2a6=_0x12e4ed[_0x278a21(0x33f)](_0x53d1db);if(!_0x28c2a6)return!0x1;_0x28c2a6['updateFieldSourceInfo'](_0x15d8c9,_0x2bf257,_0x507ba0);const _0x2049f2=_0x12e4ed[_0x278a21(0x24b)](_0x2a74ed,_0x308c99,_0x53d1db);return rs(_0x2049f2,_0x41d610),_0x12e4ed[_0x278a21(0x157)]({'unitId':_0x2a74ed,'subUnitId':_0x308c99,'token':_0x53d1db,'type':H[_0x278a21(0x249)]}),!0x0;}},eo={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x111),'handler'(_0x1b1781,_0x1b322a){const _0x394a27=_0x3e64d8;if(!_0x1b322a)return!0x1;if(!!_0x1b1781['get'](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x348819=_0x1b1781[_0x394a27(0x1f3)]($),{unitId:_0x2ecdc1,subUnitId:_0x37d107,pivotTableId:_0x3deef1,valuePosition:_0x3412b9,index:_0x89afb7}=_0x1b322a,_0x36c1f7=_0x348819[_0x394a27(0x33f)](_0x3deef1);if(!_0x36c1f7)return!0x1;_0x36c1f7[_0x394a27(0x1ea)](_0x3412b9,_0x89afb7);const _0x3fe64d=_0x348819['getPivotTableModelConfig'](_0x2ecdc1,_0x37d107,_0x3deef1);return as(_0x3fe64d,_0x1b322a),_0x348819[_0x394a27(0x157)]({'unitId':_0x2ecdc1,'subUnitId':_0x37d107,'token':_0x3deef1,'type':H['Set']}),!0x0;}};function Ie(_0x4386e2,_0x5f2c41,_0x4b04c8){const _0x45819d=_0x3e64d8,{pivotTableId:_0x47ba77,unitId:_0x451fe9,subUnitId:_0x263bfb}=_0x5f2c41,_0x192ef7=[],_0x488c3a=[];for(const _0x3d9d69 of _0x4b04c8)switch(_0x3d9d69['type']){case _0x107a7c[_0x45819d(0x1f7)]:{const {fieldJson:_0x2b3c5c,area:_0x30a488,index:_0x49c404}=_0x3d9d69,_0x35881c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldJson':_0x2b3c5c,'area':_0x30a488,'index':_0x49c404},_0x4adbdf={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x2b3c5c['id'],'area':_0x30a488,'index':_0x49c404};_0x192ef7['push']({'id':$t['id'],'params':_0x35881c}),_0x488c3a[_0x45819d(0x28b)]({'id':Jt['id'],'params':_0x4adbdf});}break;case _0x107a7c[_0x45819d(0x14e)]:{const {fieldId:_0x4bc0bc,newSubtotalType:_0xc5c5a5,oldSubtotalType:_0x4e169c}=_0x3d9d69,_0x49c358={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x4bc0bc,'subtotalType':_0xc5c5a5};_0x192ef7['push']({'id':zt['id'],'params':_0x49c358});const _0x30743c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x4bc0bc,'subtotalType':_0x4e169c};_0x488c3a[_0x45819d(0x28b)]({'id':zt['id'],'params':_0x30743c});}break;case _0x107a7c[_0x45819d(0x11b)]:{const {fieldId:_0x2d2ef6,fieldJson:_0x4f59eb,area:_0x8619b4,index:_0x2a511c}=_0x3d9d69,_0x238f71={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x2d2ef6,'index':_0x2a511c,'area':_0x8619b4};_0x192ef7['push']({'id':Jt['id'],'params':_0x238f71});const _0x5b6e20={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldJson':_0x4f59eb,'area':_0x8619b4,'index':_0x2a511c};_0x488c3a[_0x45819d(0x28b)]({'id':$t['id'],'params':_0x5b6e20});}break;case _0x107a7c[_0x45819d(0x227)]:{const {fieldId:_0x17c904,oldName:_0x16805a,newName:_0x5d6589}=_0x3d9d69,_0x294308={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x17c904,'name':_0x5d6589};_0x192ef7['push']({'id':Wt['id'],'params':_0x294308});const _0x1c0ea1={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x17c904,'name':_0x16805a};_0x488c3a[_0x45819d(0x28b)]({'id':Wt['id'],'params':_0x1c0ea1});}break;case _0x107a7c[_0x45819d(0x229)]:{const {fieldId:_0x6cf27d,oldFilterInfo:_0x13ea67,newFilterInfo:_0x168975}=_0x3d9d69,_0x257a3f={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x6cf27d,'filterInfo':_0x168975};_0x192ef7[_0x45819d(0x2b6)]({'id':Kt['id'],'params':_0x257a3f});const _0x1b7511={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x6cf27d,'filterInfo':_0x13ea67};_0x488c3a['unshift']({'id':Kt['id'],'params':_0x1b7511});}break;case _0x107a7c[_0x45819d(0x30f)]:{const {fieldId:_0x110932,oldSortInfo:_0xede839,newSortInfo:_0x485d22}=_0x3d9d69,_0x4783b8={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x110932,'sortInfo':_0x485d22};_0x192ef7['push']({'id':Yt['id'],'params':_0x4783b8});const _0x5739c3={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x110932,'sortInfo':_0xede839};_0x488c3a[_0x45819d(0x28b)]({'id':Yt['id'],'params':_0x5739c3});}break;case _0x107a7c[_0x45819d(0xee)]:{const {oldOptions:_0x2591b2,newOptions:_0x55102d}=_0x3d9d69,_0x40ae27={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'options':_0x55102d};_0x192ef7[_0x45819d(0x2b6)]({'id':qt['id'],'params':_0x40ae27});const _0x11e03c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'options':_0x2591b2};_0x488c3a[_0x45819d(0x28b)]({'id':qt['id'],'params':_0x11e03c});}break;case _0x107a7c[_0x45819d(0x2ac)]:{const {oldArea:_0x8456ad,newArea:_0x1b6a89,oldIndex:_0x39117c,newIndex:_0x35e8e9,fieldId:_0x5706e7}=_0x3d9d69,_0x5d8b30={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5706e7,'area':_0x1b6a89,'index':_0x35e8e9,'oldArea':_0x8456ad,'oldIndex':_0x39117c};_0x192ef7['push']({'id':Xt['id'],'params':_0x5d8b30});const _0x3308b5={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5706e7,'area':_0x8456ad,'index':_0x39117c,'oldArea':_0x1b6a89,'oldIndex':_0x35e8e9};_0x488c3a[_0x45819d(0x28b)]({'id':Xt['id'],'params':_0x3308b5});}break;case _0x107a7c[_0x45819d(0x10f)]:{const {oldValuePosition:_0x4fd821,newValuePosition:_0x5c6e10,oldIndex:_0x4c9450,newIndex:_0x463943}=_0x3d9d69,_0x14518a={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'valuePosition':_0x5c6e10,'index':_0x463943};_0x192ef7['push']({'id':eo['id'],'params':_0x14518a});const _0x437230={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'valuePosition':_0x4fd821,'index':_0x4c9450};_0x488c3a[_0x45819d(0x28b)]({'id':eo['id'],'params':_0x437230});}break;case _0x107a7c['SetCollapse']:{const {fieldId:_0x179def,collapse:_0x2ae659,item:_0x25c787}=_0x3d9d69,_0x1a495c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x179def,'collapse':_0x2ae659,'item':_0x25c787};_0x192ef7['push']({'id':jt['id'],'params':_0x1a495c});const _0x4dad2a={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x179def,'collapse':!_0x2ae659,'item':_0x25c787};_0x488c3a[_0x45819d(0x28b)]({'id':jt['id'],'params':_0x4dad2a});}break;case _0x107a7c[_0x45819d(0x145)]:{const {newFormat:_0x5e31b9,oldFormat:_0x5a3837,fieldId:_0x551427}=_0x3d9d69,_0x4b1299={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x551427,'format':_0x5e31b9};_0x192ef7['push']({'id':Gt['id'],'params':_0x4b1299});const _0xe3364e={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x551427,'format':_0x5a3837};_0x488c3a[_0x45819d(0x28b)]({'id':Gt['id'],'params':_0xe3364e});}break;case _0x107a7c['UpdateSource']:{const {tableFieldId:_0x2113e5,oldSourceName:_0x3c4eb7,newSourceName:_0xb15e1,oldDataFieldId:_0x3a30c3,newDataFieldId:_0x3edc13}=_0x3d9d69,_0x391a0e={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'tableFieldId':_0x2113e5,'sourceName':_0xb15e1,'dataFieldId':_0x3edc13};_0x192ef7[_0x45819d(0x2b6)]({'id':Zt['id'],'params':_0x391a0e});const _0x2ad4d3={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'tableFieldId':_0x2113e5,'sourceName':_0x3c4eb7,'dataFieldId':_0x3a30c3};_0x488c3a[_0x45819d(0x28b)]({'id':Zt['id'],'params':_0x2ad4d3});}break;case _0x107a7c['SetValueFilter']:{const {fieldId:_0x5cb023,filterInfo:_0x2e6597,oldFilterInfo:_0x37054e}=_0x3d9d69,_0x5de9d5={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5cb023,'filterInfo':_0x2e6597};_0x192ef7[_0x45819d(0x2b6)]({'id':Qt['id'],'params':_0x5de9d5});const _0x594ee7={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5cb023,'filterInfo':_0x37054e};_0x488c3a['unshift']({'id':Qt['id'],'params':_0x594ee7});}}return{'redos':_0x192ef7,'undos':_0x488c3a};}function _e(_0xe6e7db,_0xc19907){const _0xa8760d=_0x3e64d8;var _0x57152c;const _0x31cde8=_0xe6e7db[_0xa8760d(0x1f3)](ie),{cellInfo:_0xa031b0,view:_0x1bbb67,isEmpty:_0x123394}=_0xc19907;return(_0x57152c=_0x31cde8['interceptor'][_0xa8760d(0x1e2)](Ho)(So,{'cellInfo':_0xa031b0,'view':_0x1bbb67,'isEmpty':_0x123394}))!=null?_0x57152c:So;}const ds=()=>typeof process<'u'&&process[_0x3e64d8(0x24a)]!=null&&process[_0x3e64d8(0x24a)][_0x3e64d8(0x15b)]!=null,Ct={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':'sheet.mutation.add-pivot-table','handler'(_0x44168d,_0x545eca){const _0x99e8bb=_0x3e64d8;var _0x14b739;if(!_0x545eca)return!0x1;const _0x594dae=_0x44168d[_0x99e8bb(0x1f3)](_0x1b9dd7);if(!!_0x594dae[_0x99e8bb(0x2e2)](q))return!0x0;const _0x2a6b35=_0x44168d['get'](_0x4eff45),_0x347435=_0x44168d[_0x99e8bb(0x1f3)]($),{pivotTableId:_0x1d7acb,pivotTableConfig:_0x2190ee,collectionConfig:_0x5e22b3,unitId:_0x42beb1,subUnitId:_0x208d38}=_0x545eca,{sourceRangeInfo:_0x28b04b,fieldsConfig:_0x1cb425,targetCellInfo:_0x1cf2cd}=_0x2190ee,_0x45b2c5=_0x2a6b35[_0x99e8bb(0xfe)](_0x42beb1);if(!_0x45b2c5||!_0x45b2c5[_0x99e8bb(0x190)](_0x208d38))return!0x1;if(!ds()){let _0x18655b=0x0;_0x45b2c5[_0x99e8bb(0x2e3)]()['forEach'](_0x1cfbc0=>{const _0xe5aad5=_0x99e8bb;var _0x260979,_0x58daf0;_0x18655b+=(_0x58daf0=(_0x260979=_0x347435[_0xe5aad5(0x2ae)](_0x42beb1,_0x1cfbc0[_0xe5aad5(0x18e)]()))==null?void 0x0:_0x260979[_0xe5aad5(0x2b7)])!=null?_0x58daf0:0x0;});const _0x314fdc=(_0x14b739=_0x594dae['getConfig'](_0x1eec45))!=null?_0x14b739:{},{ls:_0x4fde32,pbk:_0x39d564}=_0x314fdc;if(!jo(_0x4fde32,_0x39d564))throw new _0x462fc5(_0x99e8bb(0x2b2));const _0x3f0836=go(so,_0x4fde32,_0x39d564)[_0x99e8bb(0x19a)];if(_0x18655b>=_0x3f0836)throw new _0x462fc5('limit\x20pivot');}if(!_0x5e22b3||!_0x1cb425)return!0x1;const {collection:_0x1ee760,updateDataFieldList:_0x3c3763}=_0x347435['addCollectionByJSON'](_0x1d7acb,_0x5e22b3,_0x28b04b,_0x1cf2cd);_0x347435[_0x99e8bb(0x141)](_0x1ee760,_0x3c3763,_0x28b04b);const _0xc55638=new _0x1c5293(_0x1ee760,void 0x0,_0x1d7acb);_0xc55638[_0x99e8bb(0x2c3)](_0x1cb425);const _0x2af15d=JSON[_0x99e8bb(0xe2)](JSON[_0x99e8bb(0x20b)](_0x2190ee));return _0x347435[_0x99e8bb(0x12f)](_0x42beb1,_0x208d38,_0x1d7acb,_0xc55638,_0x2af15d),_0x347435[_0x99e8bb(0x157)]({'unitId':_0x42beb1,'subUnitId':_0x208d38,'token':_0x1d7acb,'type':H['Add'],'pivotConfig':_0x2af15d}),!0x0;}},Et={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x230),'handler'(_0x2e701f,_0x34db28){const _0x4317bf=_0x3e64d8;if(!_0x34db28)return!0x1;if(!!_0x2e701f[_0x4317bf(0x1f3)](_0x1b9dd7)[_0x4317bf(0x2e2)](q))return!0x0;const {pivotTableId:_0x39b120,unitId:_0x1e8f32,subUnitId:_0x43f39c}=_0x34db28,_0xdd840d=_0x2e701f[_0x4317bf(0x1f3)]($);return _0xdd840d[_0x4317bf(0x26b)](_0x1e8f32,_0x43f39c,_0x39b120)?(_0xdd840d[_0x4317bf(0x157)]({'unitId':_0x1e8f32,'subUnitId':_0x43f39c,'token':_0x39b120,'type':H['Delete']}),_0xdd840d['removePivotTable'](_0x1e8f32,_0x43f39c,_0x39b120),!0x0):!0x1;}},pt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x29d),'handler'(_0x4820aa,_0x43ebd6){const _0x35f884=_0x3e64d8;if(!_0x43ebd6)return!0x1;if(!!_0x4820aa[_0x35f884(0x1f3)](_0x1b9dd7)[_0x35f884(0x2e2)](q))return!0x0;const {pivotTableId:_0x32c3f2,targetCellPosition:_0x2260ee,unitId:_0x700dfd,subUnitId:_0x20380a}=_0x43ebd6,_0x4f51ff=_0x4820aa[_0x35f884(0x1f3)]($);if(!_0x4f51ff[_0x35f884(0x33f)](_0x43ebd6[_0x35f884(0x152)]))return!0x1;const _0x28e6e5=_0x4f51ff[_0x35f884(0x187)](_0x32c3f2);if(!_0x28e6e5)return!0x1;const _0x33c4e8=_0x4f51ff[_0x35f884(0x1fc)](_0x28e6e5[_0x35f884(0x1ba)],_0x43ebd6[_0x35f884(0x152)]);if(!_0x33c4e8)return!0x1;const _0x1aa02d=_0x4f51ff[_0x35f884(0x26b)](_0x28e6e5[_0x35f884(0x1ba)],_0x28e6e5['subUnitId'],_0x32c3f2);if(!_0x1aa02d)return!0x1;const _0x15ba7f=_0x4d403b['deepClone'](_0x1aa02d);_0x15ba7f['targetCellInfo']={'unitId':_0x700dfd,'subUnitId':_0x20380a,'row':_0x2260ee[_0x35f884(0x2e7)],'col':_0x2260ee['col']};const _0xb43ffb=_0x33c4e8[_0x35f884(0x2db)]();if(_0x28e6e5['subUnitId']===_0x20380a&&_0x28e6e5[_0x35f884(0x1ba)]===_0x700dfd)_0x4f51ff[_0x35f884(0x19c)](_0x700dfd,_0x20380a,_0x32c3f2,_0x15ba7f),_0x4f51ff[_0x35f884(0x157)]({'unitId':_0x700dfd,'subUnitId':_0x20380a,'token':_0x32c3f2,'type':H['Set']});else{_0x4f51ff[_0x35f884(0x157)]({'unitId':_0x28e6e5[_0x35f884(0x1ba)],'subUnitId':_0x28e6e5[_0x35f884(0x268)],'token':_0x32c3f2,'type':H[_0x35f884(0x28e)]}),_0x4f51ff[_0x35f884(0x2e5)](_0x28e6e5[_0x35f884(0x1ba)],_0x28e6e5['subUnitId'],_0x32c3f2);const _0xc6b8f3=_0x4f51ff['addCollectionByJSON'](_0x32c3f2,_0xb43ffb,_0x1aa02d['sourceRangeInfo'],_0x15ba7f[_0x35f884(0x1ff)]),_0x305c62=new _0x1c5293(_0xc6b8f3[_0x35f884(0xf9)],void 0x0,_0x32c3f2);_0x305c62[_0x35f884(0x2c3)](_0x15ba7f[_0x35f884(0x31f)]),_0x4f51ff[_0x35f884(0x12f)](_0x700dfd,_0x20380a,_0x32c3f2,_0x305c62,_0x15ba7f),_0x4f51ff[_0x35f884(0x157)]({'unitId':_0x700dfd,'subUnitId':_0x20380a,'token':_0x32c3f2,'type':H[_0x35f884(0x1fd)],'pivotConfig':_0x15ba7f});}return!0x0;}},to={'type':_0x1e552e['MUTATION'],'id':_0x3e64d8(0x17f),'handler'(_0x41aea3,_0x2403d7){const _0x1f1f83=_0x3e64d8;if(!_0x2403d7)return!0x1;if(!!_0x41aea3['get'](_0x1b9dd7)[_0x1f1f83(0x2e2)](q))return!0x0;const _0x986fe8=_0x41aea3[_0x1f1f83(0x1f3)]($),{pivotTableId:_0x25f125,deleteIds:_0x117a79,collectionJSON:_0x167f03,dataRangeInfo:_0x1300a7,unitId:_0x3fb510,subUnitId:_0x260618}=_0x2403d7,_0x1a3ed2=_0x986fe8[_0x1f1f83(0x33f)](_0x25f125),_0x1292c9=_0x986fe8[_0x1f1f83(0x26b)](_0x3fb510,_0x260618,_0x25f125);if(!_0x1a3ed2||!_0x1292c9)return!0x1;const {collection:_0x4c75d6,updateDataFieldList:_0x47737a}=_0x986fe8['addCollectionByJSON'](_0x25f125,_0x167f03,_0x1300a7,_0x1292c9['targetCellInfo']);_0x986fe8[_0x1f1f83(0x141)](_0x4c75d6,_0x47737a,_0x1300a7),_0x1a3ed2[_0x1f1f83(0x2ea)](_0x4c75d6);for(const _0x16f6a5 of _0x117a79)_0x986fe8[_0x1f1f83(0x1f0)](_0x1300a7['unitId'],_0x16f6a5);const _0x2c7b42=_0x986fe8['getPivotTableConfig'](_0x3fb510,_0x260618,_0x25f125);return _0x2c7b42[_0x1f1f83(0x1e8)]=JSON[_0x1f1f83(0xe2)](JSON[_0x1f1f83(0x20b)](_0x1300a7)),_0x986fe8['addDirtyPivotTable']({'unitId':_0x3fb510,'subUnitId':_0x260618,'token':_0x25f125,'type':H[_0x1f1f83(0x249)]}),!0x0;}},Vt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x34e),'handler'(){return!0x0;}};var us=Object['getOwnPropertyDescriptor'],fs=(_0x3b42de,_0x4ded1c,_0x6999de,_0x2486b2)=>{for(var _0x3ca8a7=_0x2486b2>0x1?void 0x0:_0x2486b2?us(_0x4ded1c,_0x6999de):_0x4ded1c,_0x75037=_0x3b42de['length']-0x1,_0x46cc87;_0x75037>=0x0;_0x75037--)(_0x46cc87=_0x3b42de[_0x75037])&&(_0x3ca8a7=_0x46cc87(_0x3ca8a7)||_0x3ca8a7);return _0x3ca8a7;},gs=(_0x5bcc66,_0x5a48e6)=>(_0x3b9251,_0x94c9d3)=>_0x5a48e6(_0x3b9251,_0x94c9d3,_0x5bcc66);let Z=class extends _0x41248b{constructor(_0x31e6ce){const _0x2e9aaa=_0x3e64d8;super(),V(this,_0x2e9aaa(0x26d),new Map()),this[_0x2e9aaa(0x13a)]=_0x31e6ce;}[_0x3e64d8(0x2dd)](_0x1229f5){const _0x1419b9=_0x3e64d8,{version:_0x11aee5}=_0x1229f5,_0x36539a=this[_0x1419b9(0x26d)][_0x1419b9(0x1f3)](_0x11aee5);_0x36539a&&(_0x36539a(_0x1229f5),this[_0x1419b9(0x26d)]['delete'](_0x11aee5));}[_0x3e64d8(0x2b1)](_0x557a1e){return new Promise((_0x5ce9a7,_0x432cdc)=>{const _0x46e54a=_0x141d,_0x3c3486=this['_generateUniqueVersion']();this[_0x46e54a(0x26d)][_0x46e54a(0x1b9)](_0x3c3486,_0x5ce9a7),this[_0x46e54a(0x13a)][_0x46e54a(0x279)](ro['id'],{'version':_0x3c3486,..._0x557a1e},{'onlyLocal':!0x0});});}[_0x3e64d8(0x2cd)](){const _0x36ae4f=_0x3e64d8;return Math[_0x36ae4f(0x278)]()[_0x36ae4f(0x106)](0x24)[_0x36ae4f(0x1bd)](0x2,0x10);}};Z=fs([gs(0x0,_0x5e764c(_0x56dc87))],Z);const Yo={'id':'sheet.mutation.add-group-collection','type':_0x1e552e[_0x3e64d8(0x2bb)],'handler':(_0x46492b,_0x437e18)=>{const _0x3bb979=_0x3e64d8;if(!_0x437e18)return!0x1;if(!!_0x46492b['get'](_0x1b9dd7)[_0x3bb979(0x2e2)](q))return!0x0;const {pivotTableId:_0x2b083d,fieldJSON:_0x2e9e6d,unitId:_0x564360,subUnitId:_0x9678f5}=_0x437e18,_0x4c7390=_0x3a7abb[_0x3bb979(0x2c3)](_0x2e9e6d);if(!_0x4c7390)return!0x1;const _0x27e86a=_0x46492b[_0x3bb979(0x1f3)]($),_0x3a95fb=_0x27e86a['getDataFieldManager'](_0x564360),_0x32759c=_0x3a95fb[_0x3bb979(0x1fc)](_0x2b083d);_0x3a95fb[_0x3bb979(0x2cb)](_0x4c7390),_0x32759c[_0x3bb979(0xe4)](_0x4c7390[_0x3bb979(0x10b)](),_0x4c7390['getName']());const _0x343257=_0x32759c[_0x3bb979(0x1ca)](_0x4c7390[_0x3bb979(0x21c)]());_0x343257&&_0x4c7390['refreshGroupField'](_0x343257);const _0x42b46c=_0x27e86a[_0x3bb979(0x26b)](_0x564360,_0x9678f5,_0x2b083d);return _0x27e86a[_0x3bb979(0x157)]({'unitId':_0x564360,'subUnitId':_0x9678f5,'token':_0x2b083d,'type':H[_0x3bb979(0x249)],'pivotConfig':_0x42b46c}),!0x0;}},zo={'id':'sheet.mutation.remove-group-collection','type':_0x1e552e[_0x3e64d8(0x2bb)],'handler':(_0x5515af,_0x148df0)=>{const _0x3cd129=_0x3e64d8;if(!_0x148df0)return!0x1;if(!!_0x5515af[_0x3cd129(0x1f3)](_0x1b9dd7)[_0x3cd129(0x2e2)](q))return!0x0;const {pivotTableId:_0x40313f,dataFieldId:_0x4d8e73,unitId:_0x23f2ed,subUnitId:_0x1743f8}=_0x148df0,_0xd092ed=_0x5515af[_0x3cd129(0x1f3)]($),_0xd6c21c=_0xd092ed[_0x3cd129(0x207)](_0x23f2ed);_0xd6c21c[_0x3cd129(0x1fc)](_0x40313f)['deleteField'](_0x4d8e73);let _0x2f1f36=!0x0;for(const _0x5f2d12 in _0xd6c21c[_0x3cd129(0x256)])if(_0xd6c21c[_0x3cd129(0x256)][_0x5f2d12][_0x3cd129(0x215)]()['includes'](_0x4d8e73)){_0x2f1f36=!0x1;break;}_0x2f1f36&&_0xd6c21c[_0x3cd129(0x16a)](_0x4d8e73);const _0x547639=_0xd092ed[_0x3cd129(0x26b)](_0x23f2ed,_0x1743f8,_0x40313f);return _0xd092ed[_0x3cd129(0x157)]({'unitId':_0x23f2ed,'subUnitId':_0x1743f8,'token':_0x40313f,'type':H['Set'],'pivotConfig':_0x547639}),!0x0;}},vs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x2df),async 'handler'(_0x4b1280,_0x1e1922){const _0x204ce3=_0x3e64d8;if(!_0x1e1922)return!0x1;const _0x4addd6=_0x4b1280[_0x204ce3(0x1f3)](_0x56dc87),_0x2e1212=_0x4b1280['get'](Z),_0x5c82aa=_0x4b1280[_0x204ce3(0x1f3)](_0xaae365),{pivotTableId:_0x2a2efb,dataFieldId:_0x3ce09f,fieldArea:_0x5cc293,index:_0x45544a,unitId:_0x173253,subUnitId:_0x36f02c}=_0x1e1922,_0x462177=(await _0x2e1212[_0x204ce3(0x2b1)]({'unitId':_0x173253,'subUnitId':_0x36f02c,'pivotTableId':_0x2a2efb,'params':{'type':k[_0x204ce3(0x219)],'addPivotField':{'dataFieldId':_0x3ce09f,'fieldArea':_0x5cc293,'index':_0x45544a}}}))[_0x204ce3(0x316)][_0x204ce3(0x263)];if(!_0x462177)return!0x1;const {view:_0x166dae,changesets:_0x46b5ec,isEmpty:_0x371ee8,pivotTableConfig:_0x5eb6bb,shouldBeAddedGroupJSON:_0x8011c0}=_0x462177,_0x30ef0f=_0x5eb6bb[_0x204ce3(0x1ff)],_0x407505=new _0x7d4b1b();_0x407505['formJSON'](_0x166dae);const _0x5171b5={'cellInfo':_0x30ef0f,'view':_0x407505,'isEmpty':_0x371ee8};if(!await _0x4b1280['get'](ie)[_0x204ce3(0x132)][_0x204ce3(0x306)](be)(!0x0,_0x5171b5))return!0x1;const _0x16d822=we(_0x4b1280,_0x407505,_0x30ef0f,_0x371ee8),_0x584d6f=_e(_0x4b1280,_0x5171b5),{undos:_0x3f53b2,redos:_0x149513}=Ie(_0x4addd6,{'pivotTableId':_0x2a2efb,'unitId':_0x173253,'subUnitId':_0x36f02c},_0x46b5ec);return _0x8011c0&&(_0x149513['unshift']({'id':Yo['id'],'params':{'pivotTableId':_0x2a2efb,'fieldJSON':_0x8011c0,'unitId':_0x173253,'subUnitId':_0x36f02c}}),_0x3f53b2[_0x204ce3(0x2b6)]({'id':zo['id'],'params':{'pivotTableId':_0x2a2efb,'dataFieldId':_0x8011c0['id'],'unitId':_0x173253,'subUnitId':_0x36f02c}})),_0x594e7c([..._0x16d822[_0x204ce3(0x288)],..._0x584d6f['redos'],..._0x149513],_0x4addd6),_0x5c82aa['pushUndoRedo']({'unitID':_0x173253,'redoMutations':[..._0x16d822['redos'],..._0x584d6f[_0x204ce3(0x288)],..._0x149513],'undoMutations':[..._0x16d822[_0x204ce3(0x1d3)],..._0x584d6f[_0x204ce3(0x1d3)],..._0x3f53b2]}),!0x0;}},hs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x2f7),async 'handler'(_0x3f51ae,_0x1f79e2){const _0x4edbfb=_0x3e64d8;if(!_0x1f79e2)return!0x1;const {sourceDataInfo:_0xbaa46,pivotTableConfig:_0x4d8b80}=_0x1f79e2;if(!_0xbaa46||!_0x4d8b80)return!0x1;const {unitId:_0x21be62,subUnitId:_0x2d682e,range:_0x30e36e}=_0xbaa46,_0x419e01=_0x3f51ae[_0x4edbfb(0x1f3)](_0x4eff45),_0x3e4a39=_0x3f51ae[_0x4edbfb(0x1f3)](Z),_0x2e444a=_0x3f51ae[_0x4edbfb(0x1f3)](_0x34afa6),_0x2c9001=_0x3f51ae[_0x4edbfb(0x1f3)](_0x56dc87),_0x4ba78c=_0x419e01[_0x4edbfb(0xfe)](_0x21be62);if(!_0x4ba78c)return!0x1;const _0x497c26=_0x4ba78c[_0x4edbfb(0x190)](_0x2d682e);if(!_0x497c26)return!0x1;const _0x373632=_0x6b8c21(0x8),_0xef0f45=_0x30e36e||{'startRow':0x0,'startColumn':0x0,'endRow':_0x497c26['getRowCount']()-0x1,'endColumn':_0x497c26[_0x4edbfb(0x164)]()-0x1};_0xef0f45[_0x4edbfb(0x107)]=_0x391d1d[_0x4edbfb(0x102)];const _0x2fe509=(await _0x3e4a39['getPivotDisplayConfig']({'unitId':_0x21be62,'subUnitId':_0x2d682e,'pivotTableId':_0x373632,'params':{'type':k[_0x4edbfb(0x13b)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x21be62,'sheetName':_0x497c26[_0x4edbfb(0x275)](),'subUnitId':_0x2d682e,'range':_0xef0f45},'pivotTableId':_0x373632,'pivotTableIndexConfig':_0x4d8b80}}}))[_0x4edbfb(0x316)][_0x4edbfb(0xfa)];if(!_0x2fe509)return!0x1;const {isEmpty:_0x4540c7,fieldsConfig:_0x15d3a0,collectionConfig:_0x29be6c,changesets:_0x20409f}=_0x2fe509,_0x134338=_0x4ba78c[_0x4edbfb(0x2e3)]()['length'],_0x22bcdb=_0x4472ab({'rowCount':_0x497c26[_0x4edbfb(0x240)]()-0x1,'columnCount':_0x497c26[_0x4edbfb(0x164)]()-0x1});_0x22bcdb['id']=_0x3f23a1(),_0x22bcdb[_0x4edbfb(0x2bf)]=_0x4ba78c[_0x4edbfb(0xf4)](''+_0x2e444a['t'](_0x4edbfb(0x1a0)));const _0xafc2e2={'index':_0x134338,'sheet':_0x22bcdb,'unitId':_0x21be62},{redos:_0x271ca9}=Ie(_0x2c9001,{'pivotTableId':_0x373632,'unitId':_0x21be62,'subUnitId':_0x22bcdb['id']},_0x20409f),_0x4a1652=[{'id':_0x23475d['id'],'params':_0xafc2e2},{'id':Ct['id'],'params':{'unitId':_0x21be62,'subUnitId':_0x22bcdb['id'],'pivotTableId':_0x373632,'pivotTableConfig':{'isEmpty':_0x4540c7,'fieldsConfig':_0x15d3a0,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x21be62,'subUnitId':_0x22bcdb['id']},'sourceRangeInfo':{'subUnitId':_0x2d682e,'unitId':_0x21be62,'range':_0xef0f45,'sheetName':_0x497c26[_0x4edbfb(0x275)]()}},'collectionConfig':_0x29be6c}},..._0x271ca9];return _0x594e7c(_0x4a1652,_0x2c9001),!0x0;}},ps={'type':_0x1e552e['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x3a1739,_0x1ed671){const _0x35c47a=_0x3e64d8;var _0x22eb28,_0x1a9137;const _0x51a732=_0x3a1739[_0x35c47a(0x1f3)](_0x56dc87),_0x124752=_0x3a1739[_0x35c47a(0x1f3)](_0x4eff45),_0x1372f7=_0x3a1739[_0x35c47a(0x1f3)](_0x34afa6),_0x54aec9=_0x3a1739[_0x35c47a(0x1f3)](Z),_0x57d62b=_0x3a1739[_0x35c47a(0x1f3)](_0xaae365),_0x320aa9=_0x3a1739[_0x35c47a(0x1f3)](he),_0x32ebaa=_0x3a1739[_0x35c47a(0x1f3)](_0x1b9dd7);if(!_0x1ed671)return!0x1;const {pivotTableConfig:_0x1c32f8,positionType:_0x1516e0}=_0x1ed671,{targetCellInfo:_0x5cae69,sourceRangeInfo:_0x5d972d}=_0x1c32f8,{unitId:_0x1b67bc,subUnitId:_0x2b4b74}=_0x5cae69,_0x2a34c9=_0x124752['getUnit'](_0x1b67bc);if(!_0x2a34c9)return!0x1;let _0x57006e=0x0;_0x2a34c9[_0x35c47a(0x2e3)]()['forEach'](_0x3aa358=>{const _0x33cc89=_0x35c47a;var _0x252cad,_0x3f8868;_0x57006e+=(_0x3f8868=(_0x252cad=_0x320aa9[_0x33cc89(0x2ae)](_0x1b67bc,_0x3aa358['getSheetId']()))==null?void 0x0:_0x252cad[_0x33cc89(0x2b7)])!=null?_0x3f8868:0x0;});const _0x157c87=(_0x22eb28=_0x32ebaa[_0x35c47a(0x2e2)](_0x1eec45))!=null?_0x22eb28:{},{ls:_0x81e946,pbk:_0x59476b}=_0x157c87;if(!jo(_0x81e946,_0x59476b))return!0x1;const _0x4d2abd=go(so,_0x81e946,_0x59476b)[_0x35c47a(0x19a)];if(_0x57006e>=_0x4d2abd)return!0x1;const _0x3387df=_0x1ed671[_0x35c47a(0x152)]||_0x6b8c21(0x8),_0x2b5f21=(await _0x54aec9[_0x35c47a(0x2b1)]({'unitId':_0x1b67bc,'subUnitId':_0x2b4b74,'pivotTableId':_0x3387df,'params':{'type':k[_0x35c47a(0x23f)],'addPivotTable':{'sourceRangeInfo':_0x5d972d,'pivotTableId':_0x3387df}}}))[_0x35c47a(0x316)][_0x35c47a(0x12f)];if(!_0x2b5f21)return!0x1;const {view:_0x32a00b,isEmpty:_0x5415ae,fieldsConfig:_0x12446a,collectionConfig:_0xe50027}=_0x2b5f21,_0x1ae29b=[],_0x39a7e4=[];if(_0x1516e0===ko[_0x35c47a(0x22d)]){const _0x2f761a=_0x2a34c9[_0x35c47a(0x2e3)]()['length'],_0x597433=_0x4472ab({});_0x597433['id']=_0x1c32f8[_0x35c47a(0x1ff)][_0x35c47a(0x268)],_0x597433['name']=(_0x1a9137=_0x1c32f8[_0x35c47a(0x1ff)][_0x35c47a(0x231)])!=null?_0x1a9137:_0x2a34c9[_0x35c47a(0xf4)](''+_0x1372f7['t'](_0x35c47a(0x1a0)));const _0x5795c0={'index':_0x2f761a,'sheet':_0x597433,'unitId':_0x1b67bc},_0x31b668=_0x5769ca(_0x3a1739,_0x5795c0);_0x1ae29b[_0x35c47a(0x2b6)]({'id':_0x206ea9['id'],'params':_0x31b668}),_0x39a7e4[_0x35c47a(0x2b6)]({'id':_0x24da71['id'],'params':_0x5795c0});}else{if(!_0x2a34c9[_0x35c47a(0x190)](_0x2b4b74))return!0x1;const _0x576f6c=we(_0x3a1739,new _0x7d4b1b(),_0x5cae69,!0x0);_0x39a7e4[_0x35c47a(0x2b6)](..._0x576f6c[_0x35c47a(0x288)]),_0x1ae29b['push'](..._0x576f6c['undos']);const _0x393ac6={'cellInfo':_0x5cae69,'view':_0x32a00b,'isEmpty':_0x5415ae};if(!await _0x3a1739[_0x35c47a(0x1f3)](ie)['asyncInterceptor'][_0x35c47a(0x306)](be)(!0x0,_0x393ac6))return!0x1;const _0x179185=_e(_0x3a1739,_0x393ac6);_0x39a7e4[_0x35c47a(0x2b6)](..._0x179185[_0x35c47a(0x288)]),_0x1ae29b[_0x35c47a(0x2b6)](..._0x179185['undos']);}return _0x39a7e4[_0x35c47a(0x2b6)]({'id':Ct['id'],'params':{'unitId':_0x5cae69[_0x35c47a(0x1ba)],'subUnitId':_0x5cae69[_0x35c47a(0x268)],'pivotTableId':_0x3387df,'pivotTableConfig':{'targetCellInfo':_0x5cae69,'sourceRangeInfo':_0x5d972d,'fieldsConfig':_0x12446a},'collectionConfig':_0xe50027}}),_0x1ae29b[_0x35c47a(0x28b)]({'id':Et['id'],'params':{'unitId':_0x1b67bc,'subUnitId':_0x2b4b74,'pivotTableId':_0x3387df}}),_0x594e7c(_0x39a7e4,_0x51a732)&&_0x57d62b[_0x35c47a(0x210)]({'unitID':_0x1b67bc,'undoMutations':_0x1ae29b,'redoMutations':_0x39a7e4}),!0x0;}},Is={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x13c),async 'handler'(_0x314e22,_0x467213){const _0x5e1700=_0x3e64d8;if(!_0x467213)return!0x1;const _0x2c8a36=_0x314e22[_0x5e1700(0x1f3)](_0x56dc87),_0x351818=_0x314e22['get'](Z),_0x26f3f3=_0x314e22['get'](_0xaae365),{pivotTableId:_0x263602,fieldId:_0x1c3295,area:_0x2e3214,index:_0x2bdca2,unitId:_0x58d40a,subUnitId:_0x23b615}=_0x467213,_0x4edfc6=(await _0x351818['getPivotDisplayConfig']({'unitId':_0x58d40a,'subUnitId':_0x23b615,'pivotTableId':_0x263602,'params':{'type':k[_0x5e1700(0x253)],'movePivotField':{'fieldId':_0x1c3295,'area':_0x2e3214,'index':_0x2bdca2}}}))['result'][_0x5e1700(0x242)];if(!_0x4edfc6)return!0x1;const {changesets:_0x35ec07,view:_0xb16577,isEmpty:_0x314268,pivotTableConfig:_0x225426}=_0x4edfc6,_0x2b334b=_0x225426[_0x5e1700(0x1ff)],_0x15e0d1=new _0x7d4b1b();_0x15e0d1[_0x5e1700(0x1b4)](_0xb16577);const _0x5e0c68={'cellInfo':_0x2b334b,'view':_0x15e0d1,'isEmpty':_0x314268};if(!await _0x314e22[_0x5e1700(0x1f3)](ie)['asyncInterceptor'][_0x5e1700(0x306)](be)(!0x0,_0x5e0c68))return!0x1;const _0x38812a=we(_0x314e22,_0x15e0d1,_0x2b334b,_0x314268),_0x1b7368=_e(_0x314e22,_0x5e0c68),{redos:_0x390a3a,undos:_0x337ea4}=Ie(_0x2c8a36,{'pivotTableId':_0x263602,'unitId':_0x58d40a,'subUnitId':_0x23b615},_0x35ec07);return _0x594e7c([..._0x38812a['redos'],..._0x1b7368['redos'],..._0x390a3a],_0x2c8a36),_0x26f3f3[_0x5e1700(0x210)]({'unitID':_0x58d40a,'redoMutations':[..._0x38812a['redos'],..._0x1b7368[_0x5e1700(0x288)],..._0x390a3a],'undoMutations':[..._0x38812a[_0x5e1700(0x1d3)],..._0x1b7368[_0x5e1700(0x1d3)],..._0x337ea4]}),!0x0;}},ms={'type':_0x1e552e['COMMAND'],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x2b4d58,_0x4bed2f){const _0x2628a1=_0x3e64d8;var _0xf5b05a;if(!_0x4bed2f)return!0x1;const _0x3c6b24=_0x2b4d58['get'](_0x4eff45),_0x46fcc4=_0x3a629a(_0x3c6b24);if(!_0x46fcc4)return!0x1;const {unitId:_0x5a7cf9,subUnitId:_0x12e510,workbook:_0xef8c18}=_0x46fcc4,{row:_0x1a02de,col:_0x1ec3e5}=_0x4bed2f,_0x1cf807=_0x2b4d58[_0x2628a1(0x1f3)](Ne),_0x452a73=_0x1cf807[_0x2628a1(0x277)](_0x5a7cf9,_0x12e510,_0x1a02de,_0x1ec3e5);if(!_0x452a73)return!0x1;const _0x5b89e6=(_0xf5b05a=_0x1cf807[_0x2628a1(0x29c)](_0x5a7cf9,_0x12e510,_0x452a73))==null?void 0x0:_0xf5b05a[_0x2628a1(0x297)];if(!_0x5b89e6)return!0x1;const _0x5df19f=_0x2b4d58[_0x2628a1(0x1f3)](he)[_0x2628a1(0x26b)](_0x5a7cf9,_0x12e510,_0x452a73);if(!_0x5df19f)return!0x1;const {rowInfo:_0x477b71,colInfo:_0x3bf78b}=_0x5b89e6,_0xcc7186=_0x477b71[_0x1a02de]['paths'],_0x2519c3=_0x3bf78b[_0x1ec3e5][_0x2628a1(0x18b)],_0x15e5f4=_0x477b71[_0x1a02de][_0x2628a1(0x27e)],_0x19191d=_0x3bf78b[_0x1ec3e5][_0x2628a1(0x27e)],_0x3432fd=_0xcc7186[_0x2628a1(0x162)](_0x2519c3),_0x475be5=_0x5df19f[_0x2628a1(0x31f)][_0x2628a1(0x238)][_0x2628a1(0x1c8)](0x0,_0x15e5f4),_0x3e37e6=_0x5df19f[_0x2628a1(0x31f)]['columnFields'][_0x2628a1(0x1c8)](0x0,_0x19191d),_0x2405af=_0x475be5[_0x2628a1(0x162)](_0x3e37e6),_0x2578dd=_0x3432fd['map']((_0x9dd82e,_0x37ddb9)=>[_0x9dd82e,_0x2405af[_0x37ddb9]]),_0x2fb87d=(await _0x2b4d58['get'](Z)['getPivotDisplayConfig']({'unitId':_0x5a7cf9,'subUnitId':_0x12e510,'pivotTableId':_0x452a73,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0x2578dd}}}))['result'][_0x2628a1(0x335)];if(!_0x2fb87d)return!0x1;const {indexes:_0x21c1c8,range:_0x20fbe1,sourceUnitId:_0x510829,sourceSubUnitId:_0x5a263b,formatMap:_0x53ebda}=_0x2fb87d,{startRow:_0x51bf63,endRow:_0x4326b9,startColumn:_0x36e96b,endColumn:_0xdd4b4c}=_0x20fbe1,_0x3c960b=new _0x2067c1(),_0x1e5a30=_0x4326b9-_0x51bf63,_0x318ea9=_0xdd4b4c-_0x36e96b,_0x17578b={},_0x27052c=_0x3a629a(_0x3c6b24,{'unitId':_0x510829,'subUnitId':_0x5a263b});if(!_0x27052c)return!0x1;const _0x47ab3b=fe['colStyle'],_0xb670f=fe[_0x2628a1(0x332)],_0x18a055=fe[_0x2628a1(0x332)],_0x86b058=_0xef8c18['getStyles']()[_0x2628a1(0x1df)](_0x47ab3b),_0x5bf08f=_0xef8c18[_0x2628a1(0x1de)]()['setValue'](_0xb670f),_0x3bdaf5=_0xef8c18[_0x2628a1(0x1de)]()[_0x2628a1(0x1df)](_0x18a055),{worksheet:_0x429fa7}=_0x27052c;let _0x456e15=0x0;const _0x4451be=0x1;_0x21c1c8[_0x2628a1(0x14a)](_0x9445d2=>{const _0x48f0c6=_0x2628a1;for(let _0x7f7da6=0x0;_0x7f7da6<=_0xdd4b4c-_0x36e96b;_0x7f7da6++)_0x3c960b[_0x48f0c6(0x1df)](_0x456e15,_0x7f7da6,_0x429fa7['getCellRaw'](_0x9445d2+_0x20fbe1[_0x48f0c6(0x31a)]+_0x4451be,_0x7f7da6));_0x456e15++;});for(let _0x53c102=_0x36e96b;_0x53c102<=_0xdd4b4c;_0x53c102++){const _0x542f43=_0x429fa7[_0x2628a1(0xed)](_0x51bf63,_0x53c102);_0x17578b[_0x51bf63]||(_0x17578b[_0x51bf63]={}),_0x17578b[_0x51bf63][_0x53c102]={..._0x542f43,'s':_0x86b058};}let _0x32d293=0x1;const _0x4dfc6c={},_0x2ac355={};_0x3c960b[_0x2628a1(0x11c)]((_0x4a6cfa,_0x20744a)=>{const _0x799541=_0x2628a1;_0x20744a[_0x799541(0x14a)](_0x4f03cc=>{const _0x2308dd=_0x799541,_0x206689=_0x3c960b['getValue'](_0x4a6cfa,_0x4f03cc);if(_0x17578b[_0x32d293]||(_0x17578b[_0x32d293]={}),_0x17578b[_0x32d293][_0x4f03cc]={..._0x206689,'s':_0x32d293%0x2===0x0?_0x3bdaf5:_0x5bf08f},_0x53ebda[_0x4f03cc]&&_0x4a6cfa>=0x0){const _0x4ab71f=_0x32d293%0x2===0x0;let _0x143788=_0x4ab71f?_0x2ac355[_0x4f03cc]:_0x4dfc6c[_0x4f03cc];_0x143788||(_0x143788=_0xef8c18[_0x2308dd(0x1de)]()[_0x2308dd(0x1df)]({..._0x4ab71f?_0x18a055:_0xb670f,'n':{'pattern':_0x53ebda[_0x4f03cc]}}),_0x4ab71f?_0x2ac355[_0x4f03cc]=_0x143788:_0x4dfc6c[_0x4f03cc]=_0x143788),_0x17578b[_0x32d293][_0x4f03cc]['s']=_0x143788;}}),_0x32d293++;});const _0x2fc05b=new _0x2067c1(_0x17578b),_0x7595b9={};_0x2fc05b['forValue']((_0xfebe4e,_0x22b9f9,_0xd75ba6)=>{_0x7595b9[_0xfebe4e]||(_0x7595b9[_0xfebe4e]={}),_0x7595b9[_0xfebe4e][_0x22b9f9]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x24a405=[],_0x18273f=[],_0x1e1fa2=_0xef8c18[_0x2628a1(0x2e3)]()[_0x2628a1(0x169)],_0x2ec1a8=_0x4472ab({'rowCount':Math['max'](_0x52a9f7,_0x1e5a30+0xa),'columnCount':Math[_0x2628a1(0x343)](_0x300091,_0x318ea9+0x5)}),_0x56275d=_0x2b4d58['get'](_0x34afa6);_0x2ec1a8['id']=_0x3f23a1(),_0x2ec1a8[_0x2628a1(0x2bf)]=_0xef8c18[_0x2628a1(0xf4)](''+_0x56275d['t']('sheets.tabs.sheet'));const _0x109268={'index':_0x1e1fa2,'sheet':_0x2ec1a8,'unitId':_0x5a7cf9},_0x2fc5e6=_0x5769ca(_0x2b4d58,_0x109268);_0x18273f['push']({'id':_0x24da71['id'],'params':_0x109268}),_0x24a405[_0x2628a1(0x2b6)]({'id':_0x206ea9['id'],'params':_0x2fc5e6}),_0x18273f[_0x2628a1(0x2b6)]({'id':_0x1f88a6['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id'],'cellValue':_0x17578b}}),_0x24a405['unshift']({'id':_0x1f88a6['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id'],'cellValue':_0x7595b9}});const _0x4f6996={'startRow':0x0,'startColumn':0x0,'endRow':_0x32d293-0x1,'endColumn':_0xdd4b4c};_0x18273f[_0x2628a1(0x2b6)]({'id':_0x50d66f['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id'],'range':_0x4f6996}}),_0x24a405[_0x2628a1(0x28b)]({'id':_0x445fce['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id']}});const _0x45b507=_0x2b4d58[_0x2628a1(0x1f3)](_0x56dc87);return _0x594e7c(_0x18273f,_0x45b507)&&_0x2b4d58[_0x2628a1(0x1f3)](_0xaae365)[_0x2628a1(0x210)]({'unitID':_0x5a7cf9,'undoMutations':_0x24a405,'redoMutations':_0x18273f}),!0x0;}},Cs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x3bdaa2,_0x3b337b){const _0x379536=_0x3e64d8;if(!_0x3b337b)return!0x1;const _0x1e3585=_0x3bdaa2[_0x379536(0x1f3)](_0x56dc87),_0x885170=_0x3bdaa2[_0x379536(0x1f3)](Z),_0x273d38=_0x3bdaa2[_0x379536(0x1f3)](_0xaae365),{pivotTableId:_0x433990,fieldIds:_0x520dd9,unitId:_0x11f9c0,subUnitId:_0x497bf1}=_0x3b337b,_0x1856d2=(await _0x885170[_0x379536(0x2b1)]({'unitId':_0x11f9c0,'subUnitId':_0x497bf1,'pivotTableId':_0x433990,'params':{'type':k['RemovePivotField'],'removePivotField':{'fieldIds':_0x520dd9}}}))[_0x379536(0x316)][_0x379536(0x280)];if(!_0x1856d2)return!0x1;const {view:_0x20a4d6,changesets:_0x45d9c4,isEmpty:_0x2aa586,pivotTableConfig:_0x28f2b3}=_0x1856d2,_0x41ccfb=_0x28f2b3['targetCellInfo'],_0x41a1e2=new _0x7d4b1b();_0x41a1e2[_0x379536(0x1b4)](_0x20a4d6);const _0x1b9d96={'cellInfo':_0x41ccfb,'view':_0x41a1e2,'isEmpty':_0x2aa586};if(!await _0x3bdaa2[_0x379536(0x1f3)](ie)['asyncInterceptor'][_0x379536(0x306)](be)(!0x0,_0x1b9d96))return!0x1;const _0x86cd37=we(_0x3bdaa2,_0x41a1e2,_0x41ccfb,_0x2aa586),_0x53a98d=_e(_0x3bdaa2,_0x1b9d96),{redos:_0x196e60,undos:_0x4a1aef}=Ie(_0x1e3585,{'pivotTableId':_0x433990,'unitId':_0x11f9c0,'subUnitId':_0x497bf1},_0x45d9c4);return _0x594e7c([..._0x86cd37[_0x379536(0x288)],..._0x53a98d[_0x379536(0x288)],..._0x196e60],_0x1e3585),_0x273d38[_0x379536(0x210)]({'unitID':_0x11f9c0,'redoMutations':[..._0x86cd37[_0x379536(0x288)],..._0x53a98d['redos'],..._0x196e60],'undoMutations':[..._0x86cd37['undos'],..._0x53a98d['undos'],..._0x4a1aef]}),!0x0;}},bs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x3f1890,_0x48ea49){const _0x4370e3=_0x3e64d8;var _0x4fc738;const _0x4a1c2c=_0x3f1890[_0x4370e3(0x1f3)](_0x56dc87),_0x1734e7=_0x3f1890[_0x4370e3(0x1f3)](Z),_0x114bbb=_0x3f1890[_0x4370e3(0x1f3)](Ne),_0x1e9b72=_0x3f1890[_0x4370e3(0x1f3)](_0x4eff45),_0x35e34f=_0x3f1890['get'](_0xaae365);if(!_0x48ea49)return!0x1;const {unitId:_0x42edb6,subUnitId:_0x1eae3b,row:_0x35202b,col:_0x3266d9,collapse:_0x4eae3e}=_0x48ea49,_0x4d9172=_0x1e9b72['getUnit'](_0x42edb6);if(!_0x4d9172||!_0x4d9172[_0x4370e3(0x190)](_0x1eae3b))return!0x1;const _0x5a40fd=_0x114bbb[_0x4370e3(0x277)](_0x42edb6,_0x1eae3b,_0x35202b,_0x3266d9);if(!_0x5a40fd)return!0x1;const _0x5d7d02=_0x114bbb[_0x4370e3(0x29c)](_0x42edb6,_0x1eae3b,_0x5a40fd);if(!_0x5d7d02)return!0x1;const _0x100faf=_0x42af7f(_0x35202b,_0x3266d9),{rangesInfo:_0x1c7eba,areaInfo:_0x4c9ae9,headerMap:_0x24dedd}=_0x5d7d02;if(!_0x1c7eba||!_0x4c9ae9||!_0x24dedd)return!0x1;const _0x50fc3a=Object[_0x4370e3(0x19b)](_0x1c7eba)['find'](_0x1213fd=>_0x1c7eba[_0x1213fd][_0x4370e3(0x28a)](_0xafafdd=>_0x5e2546[_0x4370e3(0x1bf)](_0xafafdd,_0x100faf)));let _0x35f42c;_0x50fc3a==='rowRanges'?_0x35f42c=_0x24dedd[_0x4370e3(0x140)][_0x3266d9]:_0x50fc3a==='colRanges'&&(_0x35f42c=_0x24dedd['colHeaderMap'][_0x35202b]);const _0x1460ea=_0x35f42c==null?void 0x0:_0x35f42c['tableFieldId'],_0x490f78=(_0x4fc738=_0x114bbb[_0x4370e3(0x245)](_0x42edb6,_0x1eae3b,_0x35202b,_0x3266d9))==null?void 0x0:_0x4fc738['v'];if(_0x490f78==null||!_0x5a40fd||!_0x1460ea)return!0x1;const _0x5a0af0=await _0x1734e7[_0x4370e3(0x2b1)]({'unitId':_0x42edb6,'subUnitId':_0x1eae3b,'pivotTableId':_0x5a40fd,'params':{'type':k[_0x4370e3(0x18c)],'setPivotCollapse':{'tableFieldId':_0x1460ea,'collapse':_0x4eae3e,'item':_0x490f78}}}),_0x53bee4=_0x5a0af0==null?void 0x0:_0x5a0af0[_0x4370e3(0x316)][_0x4370e3(0x113)];if(!_0x53bee4)return!0x1;const {view:_0x54ea23,pivotTableConfig:_0x3b0fbe,isEmpty:_0x2fef5c,changesets:_0x2c3b40}=_0x53bee4,_0x36bfbb=new _0x7d4b1b();_0x36bfbb[_0x4370e3(0x1b4)](_0x54ea23);const _0x2610d7=_0x3b0fbe[_0x4370e3(0x1ff)],_0x55ad0e={'cellInfo':_0x2610d7,'view':_0x36bfbb,'isEmpty':_0x2fef5c};if(!await _0x3f1890['get'](ie)[_0x4370e3(0x132)][_0x4370e3(0x306)](be)(!0x0,_0x55ad0e))return!0x1;const _0x394c73=we(_0x3f1890,_0x36bfbb,_0x2610d7,_0x2fef5c),_0x2c1d6b=_e(_0x3f1890,_0x55ad0e),{redos:_0x5113fc,undos:_0x2c2ce0}=Ie(_0x4a1c2c,{'pivotTableId':_0x5a40fd,'unitId':_0x42edb6,'subUnitId':_0x1eae3b},_0x2c3b40);return _0x594e7c([..._0x394c73[_0x4370e3(0x288)],..._0x2c1d6b[_0x4370e3(0x288)],..._0x5113fc],_0x4a1c2c),_0x35e34f[_0x4370e3(0x210)]({'unitID':_0x42edb6,'redoMutations':[..._0x394c73[_0x4370e3(0x288)],..._0x2c1d6b[_0x4370e3(0x288)],..._0x5113fc],'undoMutations':[..._0x394c73[_0x4370e3(0x1d3)],..._0x2c1d6b[_0x4370e3(0x1d3)],..._0x2c2ce0]}),!0x0;}},Ps={'type':_0x1e552e['COMMAND'],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x1adac0,_0x54f528){const _0x1ecb65=_0x3e64d8;if(!_0x54f528)return!0x1;const _0x50a934=_0x1adac0[_0x1ecb65(0x1f3)](_0x56dc87),{pivotTableId:_0x30b7ed,tableFieldId:_0x23eea9,items:_0x90d22e,unitId:_0x21693a,subUnitId:_0xed930c,isAll:_0x85a843}=_0x54f528,_0x40e754=_0x1adac0[_0x1ecb65(0x1f3)](Z),_0x4ff57b=_0x1adac0['get'](_0xaae365),_0x174140=(await _0x40e754[_0x1ecb65(0x2b1)]({'unitId':_0x21693a,'subUnitId':_0xed930c,'pivotTableId':_0x30b7ed,'params':{'type':k['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x23eea9,'items':_0x90d22e,'isAll':_0x85a843}}}))['result'][_0x1ecb65(0x17b)];if(!_0x174140)return!0x1;const {changesets:_0x73ec90,pivotTableConfig:_0x3a60e4,isEmpty:_0x4ec6e9,view:_0x3d5485}=_0x174140,_0x208d8a=_0x3a60e4[_0x1ecb65(0x1ff)],_0x233268=new _0x7d4b1b();_0x233268['formJSON'](_0x3d5485);const _0x45fcca={'cellInfo':_0x208d8a,'view':_0x233268,'isEmpty':_0x4ec6e9};if(!await _0x1adac0[_0x1ecb65(0x1f3)](ie)[_0x1ecb65(0x132)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x45fcca))return!0x1;const _0x507174=we(_0x1adac0,_0x233268,_0x208d8a,_0x4ec6e9),_0x35854e=_e(_0x1adac0,_0x45fcca),{undos:_0x55d3fc,redos:_0x5e2889}=Ie(_0x50a934,{'pivotTableId':_0x30b7ed,'unitId':_0x21693a,'subUnitId':_0xed930c},_0x73ec90);return _0x594e7c([..._0x507174['redos'],..._0x35854e[_0x1ecb65(0x288)],..._0x5e2889],_0x50a934),_0x4ff57b[_0x1ecb65(0x210)]({'unitID':_0x21693a,'redoMutations':[..._0x507174[_0x1ecb65(0x288)],..._0x35854e['redos'],..._0x5e2889],'undoMutations':[..._0x507174['undos'],..._0x35854e[_0x1ecb65(0x1d3)],..._0x55d3fc]}),!0x0;}},Ss={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x23c),async 'handler'(_0x1653c2,_0x5b38c2){const _0x3868c7=_0x3e64d8;if(!_0x5b38c2)return!0x1;const _0x3fa62a=_0x1653c2[_0x3868c7(0x1f3)](_0x56dc87),_0xad7610=_0x1653c2[_0x3868c7(0x1f3)](_0xaae365),_0x266bc7=_0x1653c2[_0x3868c7(0x1f3)](Z),{info:_0x3eda0d,tableFieldId:_0x96d306,pivotTableId:_0xcc78cd,unitId:_0x5504e9,subUnitId:_0x264c91}=_0x5b38c2,_0x1730f8=(await _0x266bc7['getPivotDisplayConfig']({'unitId':_0x5504e9,'subUnitId':_0x264c91,'pivotTableId':_0xcc78cd,'params':{'type':k[_0x3868c7(0x2c6)],'setPivotSort':{'tableFieldId':_0x96d306,'info':_0x3eda0d}}}))[_0x3868c7(0x316)][_0x3868c7(0x1f8)];if(!_0x1730f8)return!0x1;const {changesets:_0x1fbd5f}=_0x1730f8,{redos:_0x2167a9,undos:_0x2dab1f}=Ie(_0x3fa62a,{'pivotTableId':_0xcc78cd,'unitId':_0x5504e9,'subUnitId':_0x264c91},_0x1fbd5f);return _0x594e7c(_0x2167a9,_0x3fa62a),_0xad7610[_0x3868c7(0x210)]({'unitID':_0x5504e9,'redoMutations':_0x2167a9,'undoMutations':_0x2dab1f}),!0x0;}},Ms={'type':_0x1e552e['COMMAND'],'id':_0x3e64d8(0x31e),async 'handler'(_0xcb41e1,_0x16bc35){const _0x257510=_0x3e64d8;if(!_0x16bc35)return!0x1;const _0x39eb0e=_0xcb41e1[_0x257510(0x1f3)](_0x56dc87),_0x114d41=_0xcb41e1[_0x257510(0x1f3)](_0xaae365),_0x13dd02=_0xcb41e1[_0x257510(0x1f3)](Z),{displayName:_0xa5fd34,subtotalType:_0x8c3ceb,format:_0x1894c0,tableFieldId:_0x250f65,pivotTableId:_0x6685b,unitId:_0x5abf22,subUnitId:_0x4a6aca}=_0x16bc35,_0x8fae5e=(await _0x13dd02[_0x257510(0x2b1)]({'unitId':_0x5abf22,'subUnitId':_0x4a6aca,'pivotTableId':_0x6685b,'params':{'type':k[_0x257510(0x181)],'setPivotSetting':{'tableFieldId':_0x250f65,'displayName':_0xa5fd34,'subtotalType':_0x8c3ceb,'format':_0x1894c0}}}))['result'][_0x257510(0x27c)];if(!_0x8fae5e)return!0x1;const {changesets:_0x85b311,view:_0x3b3e58,pivotTableConfig:_0x3f6e9d,isEmpty:_0x17bfb8}=_0x8fae5e,_0xd0a45e=_0x3f6e9d[_0x257510(0x1ff)],_0x341a92=new _0x7d4b1b();_0x341a92['formJSON'](_0x3b3e58);const _0x34c6b9={'cellInfo':_0xd0a45e,'view':_0x341a92,'isEmpty':_0x17bfb8};if(!await _0xcb41e1['get'](ie)['asyncInterceptor'][_0x257510(0x306)](be)(!0x0,_0x34c6b9))return!0x1;const _0x212eee=we(_0xcb41e1,_0x341a92,_0xd0a45e,_0x17bfb8),_0x3c7675=_e(_0xcb41e1,_0x34c6b9),{undos:_0x23f0dc,redos:_0x352ed9}=Ie(_0x39eb0e,{'pivotTableId':_0x6685b,'unitId':_0x5abf22,'subUnitId':_0x4a6aca},_0x85b311);return _0x594e7c([..._0x212eee[_0x257510(0x288)],..._0x3c7675['redos'],..._0x352ed9],_0x39eb0e),_0x114d41['pushUndoRedo']({'unitID':_0x5abf22,'redoMutations':[..._0x212eee[_0x257510(0x288)],..._0x3c7675[_0x257510(0x288)],..._0x352ed9],'undoMutations':[..._0x212eee[_0x257510(0x1d3)],..._0x3c7675[_0x257510(0x1d3)],..._0x23f0dc]}),!0x0;}},Ts={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x15e),async 'handler'(_0xe98bb7,_0x51b2b8){const _0x2a26d9=_0x3e64d8,_0xfa776a=_0xe98bb7[_0x2a26d9(0x1f3)](_0x56dc87),_0x132419=_0xe98bb7[_0x2a26d9(0x1f3)](Z),_0xc4c811=_0xe98bb7['get'](_0xaae365);if(!_0x51b2b8)return!0x1;const {token:_0xf7fa38,dataRangeInfo:_0x45c8d7,unitId:_0x1cf95b,subUnitId:_0x40a2b3}=_0x51b2b8,_0xd05497=[],_0x237e12=[],_0x8b57b4=(await _0x132419[_0x2a26d9(0x2b1)]({'unitId':_0x1cf95b,'subUnitId':_0x40a2b3,'pivotTableId':_0xf7fa38,'params':{'type':k[_0x2a26d9(0x33c)],'updatePivotSource':{'dataRangeInfo':_0x45c8d7,'unitId':_0x1cf95b,'subUnitId':_0x40a2b3}}}))['result'][_0x2a26d9(0x17d)];if(!_0x8b57b4)return!0x1;const {changesets:_0x562891,deleteIds:_0xc0a9bf,collectionConfig:_0x7863ac,oldCollectionConfig:_0x5adcc0,view:_0x173708,isEmpty:_0x3f9e85,pivotTableConfig:_0xc24728}=_0x8b57b4;_0x237e12[_0x2a26d9(0x2b6)]({'id':to['id'],'params':{'pivotTableId':_0xf7fa38,'deleteIds':_0xc0a9bf,'collectionJSON':_0x7863ac,'dataRangeInfo':_0x45c8d7,'unitId':_0x1cf95b,'subUnitId':_0x40a2b3}}),_0xd05497[_0x2a26d9(0x28b)]({'id':to['id'],'params':{'pivotTableId':_0xf7fa38,'deleteIds':[],'collectionJSON':_0x5adcc0,'dataRangeInfo':_0xc24728[_0x2a26d9(0x1e8)],'unitId':_0x1cf95b,'subUnitId':_0x40a2b3}});const _0x554c5d=_0xc24728['targetCellInfo'],_0x5d2540=new _0x7d4b1b();_0x5d2540[_0x2a26d9(0x1b4)](_0x173708);const _0x5f0f50={'cellInfo':_0x554c5d,'view':_0x5d2540,'isEmpty':_0x3f9e85};if(!await _0xe98bb7[_0x2a26d9(0x1f3)](ie)[_0x2a26d9(0x132)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5f0f50))return!0x1;const _0x10bac0=we(_0xe98bb7,_0x5d2540,_0x554c5d,_0x3f9e85),_0x27a0a0=_e(_0xe98bb7,_0x5f0f50),{undos:_0x5d8ca1,redos:_0xe81b11}=Ie(_0xfa776a,{'pivotTableId':_0xf7fa38,'unitId':_0x1cf95b,'subUnitId':_0x40a2b3},_0x562891);return _0x594e7c([..._0x10bac0[_0x2a26d9(0x288)],..._0x27a0a0['redos'],..._0x237e12,..._0x5d8ca1],_0xfa776a),_0xc4c811['pushUndoRedo']({'unitID':_0x1cf95b,'redoMutations':[..._0x10bac0[_0x2a26d9(0x288)],..._0x27a0a0[_0x2a26d9(0x288)],..._0x237e12,..._0x5d8ca1],'undoMutations':[..._0x10bac0[_0x2a26d9(0x1d3)],..._0x27a0a0['undos'],..._0xd05497,..._0xe81b11]}),!0x0;}},ys={'type':_0x1e552e['COMMAND'],'id':_0x3e64d8(0x320),async 'handler'(_0x3f65e5,_0x2b1efd){const _0x53ab03=_0x3e64d8;if(!_0x2b1efd)return!0x1;const _0x31c35c=_0x3f65e5[_0x53ab03(0x1f3)](_0x56dc87),_0x411d2b=_0x3f65e5[_0x53ab03(0x1f3)](Z),_0x4683d7=_0x3f65e5[_0x53ab03(0x1f3)](_0x4eff45),_0x3eb020=_0x3f65e5[_0x53ab03(0x1f3)](_0xaae365),{pivotTableId:_0x521fd5,position:_0x3f4312,index:_0x1365eb}=_0x2b1efd,_0x5055ca=_0x3a629a(_0x4683d7);if(!_0x5055ca)return!0x1;const {unitId:_0x44ee9e,subUnitId:_0x394207}=_0x5055ca,_0x327a06=(await _0x411d2b['getPivotDisplayConfig']({'unitId':_0x44ee9e,'subUnitId':_0x394207,'pivotTableId':_0x521fd5,'params':{'type':k[_0x53ab03(0x10f)],'updateValuePosition':{'position':_0x3f4312,'index':_0x1365eb}}}))['result'][_0x53ab03(0x1ea)];if(!_0x327a06)return!0x1;const {changesets:_0x403329,view:_0x1e82ad,isEmpty:_0x588c28,pivotTableConfig:_0x4d50ed}=_0x327a06,_0x342f23=_0x4d50ed[_0x53ab03(0x1ff)],_0x48a7ac=new _0x7d4b1b();_0x48a7ac['formJSON'](_0x1e82ad);const _0x1f6b9c=_0x3f65e5[_0x53ab03(0x1f3)](ie),_0x1d6d26={'cellInfo':_0x342f23,'view':_0x48a7ac,'isEmpty':_0x588c28};if(!await _0x1f6b9c['asyncInterceptor'][_0x53ab03(0x306)](be)(!0x0,_0x1d6d26))return!0x1;const _0xc65b39=we(_0x3f65e5,_0x48a7ac,_0x342f23,_0x588c28),_0x39276e=_e(_0x3f65e5,_0x1d6d26),{undos:_0x5be93a,redos:_0x1a6498}=Ie(_0x31c35c,{'pivotTableId':_0x521fd5,'unitId':_0x44ee9e,'subUnitId':_0x394207},_0x403329);return _0x594e7c([..._0xc65b39[_0x53ab03(0x288)],..._0x39276e[_0x53ab03(0x288)],..._0x1a6498],_0x31c35c),_0x3eb020[_0x53ab03(0x210)]({'unitID':_0x44ee9e,'redoMutations':[..._0xc65b39[_0x53ab03(0x288)],..._0x39276e[_0x53ab03(0x288)],..._0x1a6498],'undoMutations':[..._0xc65b39[_0x53ab03(0x1d3)],..._0x39276e[_0x53ab03(0x1d3)],..._0x5be93a]}),!0x0;}},ws={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x25d),'handler':(_0x40c510,_0x3a6f6f)=>{const _0x285305=_0x3e64d8,_0x5a7e3a=_0x40c510['get'](_0x56dc87),_0x17d151=_0x40c510[_0x285305(0x1f3)](_0xaae365),_0x4bae5f=_0x40c510[_0x285305(0x1f3)](he),_0x5d7aad=_0x40c510['get'](_0x4eff45);if(!_0x3a6f6f)return!0x1;const _0x5bd305=_0x3a629a(_0x5d7aad);if(!_0x5bd305)return!0x1;const {unitId:_0x347296,subUnitId:_0x4645ff,workbook:_0x3c3910}=_0x5bd305,_0x2ede03=_0x4bae5f[_0x285305(0x26b)](_0x3a6f6f[_0x285305(0xfd)]['unitId'],_0x3a6f6f[_0x285305(0xfd)][_0x285305(0x268)],_0x3a6f6f['pivotTableId']);if(!_0x2ede03)return!0x1;const _0x20c2f2=_0x3c3910[_0x285305(0x190)](_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x268)]);if(!_0x20c2f2)throw new Error(_0x285305(0x12d));const _0x1e89ee=_0x20c2f2[_0x285305(0x240)](),_0x4fc562=_0x20c2f2[_0x285305(0x164)]();if(_0x3a6f6f['targetCellInfo'][_0x285305(0x2e7)]>_0x1e89ee||_0x3a6f6f['targetCellInfo'][_0x285305(0x2c4)]>_0x4fc562)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x3d3fd3=[{'id':pt['id'],'params':{'unitId':_0x347296,'subUnitId':_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x268)],'pivotTableId':_0x3a6f6f[_0x285305(0x152)],'targetCellPosition':{'row':_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x2e7)],'col':_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x2c4)]}}}],_0x420b93=[{'id':pt['id'],'params':{'unitId':_0x347296,'subUnitId':_0x4645ff,'pivotTableId':_0x3a6f6f[_0x285305(0x152)],'targetCellPosition':{'row':_0x2ede03[_0x285305(0x1ff)][_0x285305(0x2e7)],'col':_0x2ede03['targetCellInfo'][_0x285305(0x2c4)]}}}];return _0x594e7c(_0x3d3fd3,_0x5a7e3a)&&_0x17d151[_0x285305(0x210)]({'unitID':_0x347296,'undoMutations':_0x420b93,'redoMutations':_0x3d3fd3}),!0x0;}},_s={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x2e1),async 'handler'(_0x611ce3,_0x11b40b){const _0x3433ca=_0x3e64d8;if(!_0x11b40b)return!0x1;const _0x1cd37c=_0x611ce3[_0x3433ca(0x1f3)](_0x56dc87),{pivotTableId:_0x195762,fieldId:_0x4eaedd,valueFilterInfo:_0x659d51,unitId:_0x41f47c,subUnitId:_0x25b318}=_0x11b40b,_0x1435cb=_0x611ce3['get'](Z),_0x58c864=_0x611ce3[_0x3433ca(0x1f3)](_0xaae365),_0x150662=(await _0x1435cb[_0x3433ca(0x2b1)]({'unitId':_0x41f47c,'subUnitId':_0x25b318,'pivotTableId':_0x195762,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x4eaedd,'filterInfo':_0x659d51}}}))[_0x3433ca(0x316)][_0x3433ca(0x2b3)];if(!_0x150662)return!0x1;const {changesets:_0xa8a325,pivotTableConfig:_0x22b21c,isEmpty:_0x23f8e2,view:_0x4a4502}=_0x150662,_0x3bede2=_0x22b21c[_0x3433ca(0x1ff)],_0x336016=new _0x7d4b1b();_0x336016['formJSON'](_0x4a4502);const _0x1c079c={'cellInfo':_0x3bede2,'view':_0x336016,'isEmpty':_0x23f8e2};if(!await _0x611ce3['get'](ie)[_0x3433ca(0x132)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1c079c))return!0x1;const _0x5dc10d=we(_0x611ce3,_0x336016,_0x3bede2,_0x23f8e2),_0x3da399=_e(_0x611ce3,_0x1c079c),{undos:_0x5be72d,redos:_0x94d561}=Ie(_0x1cd37c,{'pivotTableId':_0x195762,'unitId':_0x41f47c,'subUnitId':_0x25b318},_0xa8a325);return _0x594e7c([..._0x5dc10d[_0x3433ca(0x288)],..._0x3da399[_0x3433ca(0x288)],..._0x94d561],_0x1cd37c),_0x58c864[_0x3433ca(0x210)]({'unitID':_0x41f47c,'redoMutations':[..._0x5dc10d[_0x3433ca(0x288)],..._0x3da399['redos'],..._0x94d561],'undoMutations':[..._0x5dc10d[_0x3433ca(0x1d3)],..._0x3da399['undos'],..._0x5be72d]}),!0x0;}},Fs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x13bad6,_0xe83875){const _0xdc4e3c=_0x3e64d8;if(!_0xe83875)return!0x1;const _0x2d060f=_0x13bad6['get'](_0x56dc87),_0x55f568=_0x13bad6[_0xdc4e3c(0x1f3)](_0xaae365),_0x317194=_0x13bad6[_0xdc4e3c(0x1f3)](Z),{pivotTableConfig:_0x132f1c,pivotTableId:_0x254034,unitId:_0x3b6ec4,subUnitId:_0x55029d}=_0xe83875,_0x4a8ee9=(await _0x317194[_0xdc4e3c(0x2b1)]({'unitId':_0x3b6ec4,'subUnitId':_0x55029d,'pivotTableId':_0x254034,'params':{'type':k[_0xdc4e3c(0x2a6)],'setPivotTableConfig':{'pivotTableId':_0x254034,'pivotTableConfig':_0x132f1c}}}))[_0xdc4e3c(0x316)][_0xdc4e3c(0x186)];if(!_0x4a8ee9)return!0x1;const {changesets:_0x47830a}=_0x4a8ee9,{redos:_0x2d2271,undos:_0xd3b0a3}=Ie(_0x2d060f,{'pivotTableId':_0x254034,'unitId':_0x3b6ec4,'subUnitId':_0x55029d},_0x47830a);return _0x594e7c(_0x2d2271,_0x2d060f),_0x55f568[_0xdc4e3c(0x210)]({'unitID':_0x3b6ec4,'redoMutations':_0x2d2271,'undoMutations':_0xd3b0a3}),!0x0;}},Rs={'type':_0x1e552e['COMMAND'],'id':_0x3e64d8(0x1cf),async 'handler'(_0x1bad2b,_0x1fe9bc){const _0x5636db=_0x3e64d8;if(!_0x1fe9bc)return!0x1;const _0x1a7cfe=_0x1bad2b[_0x5636db(0x1f3)](_0x56dc87),_0x47f2b2=_0x1bad2b['get'](_0xaae365),_0x22edba=_0x1bad2b[_0x5636db(0x1f3)](Z),{resetArea:_0x1afbd3,pivotTableId:_0x5efa1c,unitId:_0x4b84d8,subUnitId:_0x497ab6}=_0x1fe9bc,_0x431a3d=(await _0x22edba[_0x5636db(0x2b1)]({'unitId':_0x4b84d8,'subUnitId':_0x497ab6,'pivotTableId':_0x5efa1c,'params':{'type':k[_0x5636db(0x2d9)],'resetPivotTable':{'pivotTableId':_0x5efa1c,'resetArea':_0x1afbd3}}}))[_0x5636db(0x316)][_0x5636db(0xd9)];if(!_0x431a3d)return!0x1;const {changesets:_0x1f4b5c}=_0x431a3d,{redos:_0x279c62,undos:_0x4c4cea}=Ie(_0x1a7cfe,{'pivotTableId':_0x5efa1c,'unitId':_0x4b84d8,'subUnitId':_0x497ab6},_0x1f4b5c);return _0x594e7c(_0x279c62,_0x1a7cfe),_0x47f2b2[_0x5636db(0x210)]({'unitID':_0x4b84d8,'redoMutations':_0x279c62,'undoMutations':_0x4c4cea}),!0x0;}},oo={'id':_0x3e64d8(0x327),'type':_0x1e552e[_0x3e64d8(0x2bb)],'handler':(_0xafc728,_0xd8c7cb)=>{const _0x1b18bf=_0x3e64d8;if(!_0xd8c7cb)return!0x1;if(!!_0xafc728[_0x1b18bf(0x1f3)](_0x1b9dd7)[_0x1b18bf(0x2e2)](q))return!0x0;const {unitId:_0x2859f3,subUnitId:_0x272cd0,pivotTableId:_0x35b52a,tableFieldId:_0x1926cb,dateType:_0x3a12a7}=_0xd8c7cb,_0x5b6c6d=_0xafc728['get']($),_0x24e22f=_0x5b6c6d[_0x1b18bf(0x33f)](_0x35b52a);if(!_0x24e22f)return!0x1;const _0x53b2bf=_0x24e22f[_0x1b18bf(0xf5)](_0x1926cb);if(!_0x53b2bf)return!0x1;const _0x9fa9d2=_0x53b2bf[_0x1b18bf(0x21c)](),_0x448944=_0x24e22f['getDataFieldByDataFieldId'](_0x9fa9d2),_0xd73eff=(_0x448944==null?void 0x0:_0x448944[_0x1b18bf(0x275)]())+'\x20'+Ko(_0xafc728,_0x3a12a7);_0x5b6c6d[_0x1b18bf(0x1fc)](_0x2859f3,_0x35b52a)['setDisplayName'](_0x53b2bf['id'],_0xd73eff);const _0x375ce8=_0x24e22f['getTableFieldById'](_0x1926cb);if(!_0x375ce8)return!0x1;_0x24e22f['renameField'](_0x375ce8['getId'](),_0xd73eff),_0x53b2bf[_0x1b18bf(0x24e)](_0x3a12a7);const _0x5ac222=_0x5b6c6d[_0x1b18bf(0x26b)](_0x2859f3,_0x272cd0,_0x35b52a);return _0x5b6c6d[_0x1b18bf(0x157)]({'unitId':_0x2859f3,'subUnitId':_0x272cd0,'token':_0x35b52a,'type':H[_0x1b18bf(0x249)],'pivotConfig':_0x5ac222}),!0x0;}},Ds={'id':_0x3e64d8(0x110),'type':_0x1e552e[_0x3e64d8(0x2dc)],'handler':(_0x1c0a31,_0x5e1319)=>{const _0x349b91=_0x3e64d8;if(!_0x5e1319)return!0x1;const _0x44903f=_0x1c0a31[_0x349b91(0x1f3)](_0xaae365),{unitId:_0x2665e8,subUnitId:_0x14db22,pivotTableId:_0x3c4c5c,tableFieldId:_0x5d3280}=_0x5e1319,_0x10f39e=[],_0x4ca416=[],_0x489404=_0x1c0a31['get'](he),_0x4477b6=_0x489404['getCollection'](_0x2665e8,_0x3c4c5c),_0x3788de=_0x489404[_0x349b91(0x26b)](_0x2665e8,_0x14db22,_0x3c4c5c);if(!(_0x3788de!=null&&_0x3788de[_0x349b91(0x31f)][_0x349b91(0x2b9)]))return!0x1;const _0x43bc3d=Object['values'](_0x3788de['fieldsConfig'][_0x349b91(0x2b9)])[_0x349b91(0x20a)](_0x5998b=>_0x5998b['id']===_0x5d3280);if(!_0x43bc3d)return!0x1;const _0x2e784b=_0x43bc3d[_0x349b91(0x293)];if(!(_0x4477b6!=null&&_0x4477b6['fields']))return!0x1;const _0x5a935c=Object[_0x349b91(0x21d)](_0x4477b6==null?void 0x0:_0x4477b6[_0x349b91(0x20e)])[_0x349b91(0x20a)](_0x561d04=>_0x561d04['id']===_0x2e784b);if(!_0x5a935c)return!0x1;_0x6861e6(_0x5a935c)&&_0x10f39e[_0x349b91(0x2b6)]({'id':oo['id'],'params':{..._0x5e1319,'dateType':_0x5a935c[_0x349b91(0x24f)]}}),_0x4ca416[_0x349b91(0x2b6)]({'id':oo['id'],'params':{..._0x5e1319}});const _0x244f50=_0x1c0a31['get'](_0x56dc87);return _0x594e7c(_0x4ca416,_0x244f50)&&_0x44903f[_0x349b91(0x210)]({'unitID':_0x2665e8,'undoMutations':_0x10f39e,'redoMutations':_0x4ca416}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Vs=(_0x5e1300,_0x3c2e4d,_0x3d3daa,_0xa56f23)=>{const _0x1aad30=_0x3e64d8;for(var _0x4bb9c1=_0xa56f23>0x1?void 0x0:_0xa56f23?Ns(_0x3c2e4d,_0x3d3daa):_0x3c2e4d,_0x149dbb=_0x5e1300[_0x1aad30(0x169)]-0x1,_0x1cb2da;_0x149dbb>=0x0;_0x149dbb--)(_0x1cb2da=_0x5e1300[_0x149dbb])&&(_0x4bb9c1=_0x1cb2da(_0x4bb9c1)||_0x4bb9c1);return _0x4bb9c1;},at=(_0x8a0fee,_0x40c9e9)=>(_0x209b44,_0x32bac6)=>_0x40c9e9(_0x209b44,_0x32bac6,_0x8a0fee);const Os=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Us=(_0x183a18,_0x41a46e,_0x2bf5d1)=>{const _0x5b94b6=_0x3e64d8,_0x3de327=_0x183a18[_0x5b94b6(0x1dd)];_0x183a18[_0x5b94b6(0x13d)](_0x2fb404=>{const _0x259a12=_0x5b94b6,_0x8d1959=_0x2fb404[_0x259a12(0x10b)](),_0x162fe9=_0x2fb404['getDataFieldId'](),_0x3627a8=_0x2fb404[_0x259a12(0x1e4)](),_0x58773a=_0x2fb404[_0x259a12(0x1c3)]();_0x41a46e[_0x162fe9]&&_0x41a46e[_0x162fe9]===_0x58773a&&_0x3627a8===_0x58773a&&(_0x183a18[_0x259a12(0x2ff)](_0x8d1959,_0x3de327[_0x259a12(0x1c3)](_0x162fe9)),_0x2fb404[_0x259a12(0x182)](_0x3de327[_0x259a12(0x1c3)](_0x162fe9)));}),_0x183a18[_0x5b94b6(0x201)](_0x5bb14c[_0x5b94b6(0x203)],_0x2041cb=>{const _0x6de11a=_0x5b94b6,_0x376c8d=_0x2041cb['getId'](),_0x2ae393=_0x2041cb[_0x6de11a(0x2e8)](),_0x472353=_0x2041cb['getSourceName'](),_0xf1f618=_0x2041cb[_0x6de11a(0x1c3)](),_0x39aec0=_0x2041cb[_0x6de11a(0x334)](),_0x224abb=_0x2bf5d1(_0x472353,_0x39aec0);_0x41a46e[_0x2ae393]&&_0x41a46e[_0x2ae393]===_0x472353&&_0x224abb===_0xf1f618&&(_0x183a18[_0x6de11a(0x2ff)](_0x376c8d,_0x2bf5d1(_0x3de327[_0x6de11a(0x1c3)](_0x2ae393),_0x39aec0)),_0x2041cb[_0x6de11a(0x182)](_0x3de327[_0x6de11a(0x1c3)](_0x2ae393)));});},Es=(_0x2bae78,_0x82a213,_0x6e424c)=>{const _0x39ba12=_0x3e64d8;var _0x55e8da,_0x544375;const {arrayFormulaCellData:_0x52c0a3,unitData:_0xfe559a}=_0x82a213,{unitId:_0x528790,subUnitId:_0x7c41a3}=_0x6e424c,_0x4202b8=_0x6e424c[_0x39ba12(0x168)],{startColumn:_0x48fd96,endColumn:_0x836feb}=_0x4202b8,_0x2cdbdf=(_0x55e8da=_0x52c0a3==null?void 0x0:_0x52c0a3[_0x528790])==null?void 0x0:_0x55e8da[_0x7c41a3],_0x1273a1=(_0x544375=_0xfe559a==null?void 0x0:_0xfe559a[_0x528790])==null?void 0x0:_0x544375[_0x7c41a3],_0x2e0a31=new Set(),_0x22804f=_0x836feb-_0x48fd96+0x1,{dirtyRanges:_0x416f84}=_0x2bae78;if(_0x416f84)for(const {range:_0x47df7f,sheetId:_0x584c14,unitId:_0x33b56f}of _0x416f84){if(_0x584c14!==_0x7c41a3||_0x528790!==_0x33b56f)continue;const _0x2a0d0d=_0x5e2546['getIntersects'](_0x47df7f,_0x4202b8);if(_0x2a0d0d){const {startColumn:_0x348668,endColumn:_0xe7b507}=_0x2a0d0d;for(let _0x12c97b=_0x348668;_0x12c97b<=_0xe7b507;_0x12c97b++)_0x2e0a31[_0x39ba12(0x167)](_0x12c97b);}}if(_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f||_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f)return Array[_0x39ba12(0x202)](_0x2e0a31);if(_0x1273a1){const _0x5a6b13=_0x1273a1[_0x39ba12(0x284)](),_0x2e8144=Object['keys'](_0x5a6b13);for(const _0x2c8a69 of _0x2e8144){const _0x593f4b=Number(_0x2c8a69),_0x2f98f9=_0x5a6b13[_0x593f4b];if(_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f)break;for(const _0x34027d in _0x2f98f9){const _0x1bb94a=Number(_0x34027d);_0x1bb94a<_0x48fd96||_0x1bb94a>_0x836feb||_0x2e0a31[_0x39ba12(0x167)](_0x1bb94a);}}}if(_0x2cdbdf){const _0x486402=_0x2cdbdf[_0x39ba12(0x284)](),_0x43cb61=Object[_0x39ba12(0x19b)](_0x486402);for(const _0x306c3c of _0x43cb61){const _0x3ac605=Number(_0x306c3c),_0x84c411=_0x486402[_0x3ac605];if(_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f)break;for(const _0x335332 in _0x84c411){const _0x345bfc=Number(_0x335332);_0x345bfc<_0x48fd96||_0x345bfc>_0x836feb||_0x2e0a31['add'](_0x345bfc);}}}return Array[_0x39ba12(0x202)](_0x2e0a31);},xs=_0x548a16=>{const _0x4722c4=_0x3e64d8,_0x1a3527=new Set(),_0xb2d6d0=[];for(const _0x426717 of _0x548a16){const _0x16ab43=_0x426717[_0x4722c4(0x31a)]+','+_0x426717[_0x4722c4(0x129)]+','+_0x426717['startColumn']+','+_0x426717[_0x4722c4(0x1fa)];_0x1a3527[_0x4722c4(0xe7)](_0x16ab43)||(_0x1a3527[_0x4722c4(0x167)](_0x16ab43),_0xb2d6d0['push'](_0x426717));}return _0xb2d6d0;};function _0x141d(_0x4859bf,_0x4e58ef){const _0x458c43=_0x458c();return _0x141d=function(_0x141d19,_0x5a0dd7){_0x141d19=_0x141d19-0xcf;let _0x478201=_0x458c43[_0x141d19];return _0x478201;},_0x141d(_0x4859bf,_0x4e58ef);}function _0x458c(){const _0x38c7c5=['AddField','setPivotSort','deepClone','endColumn','getHeaderMapItem','getCollection','Add','_exclusiveRangeService','targetCellInfo','sheets-pivot.dateGroup.yearMonthDate','iterateFieldByArea','from','Value','setRange','includes','existing','getDataFieldManager','reduce','sheet.mutation.pivot-update-field-source-info','find','stringify','_pivotInitCompleted$','sheets-pivot.maxName','fields','NUMBER','pushUndoRedo','updateFieldPosition','DIV_BY_ZERO','_globalComputingSrv','_viewData$','getFieldIds','notExecuteFormula','getFullYear','intercept','AddPivotField','updateConfigCache','leftOffset','getOriginFieldId','values','lastRow','getPivotTableMatrixInfo','registerSyncingMutations','SetValuePivotFilter','_initPivotDataGetListener','getIndexesByPathStr','map','getValuePosition','column','RenameField','YearMonthDate','SetFilterInfo','addExclusiveRange','sheet.mutation.send-init-pivot-text-local','reset','New','splice','_viewUpdate$','sheet.mutation.remove-pivot-table','sheetName','stdDev','Filter','split','initDataRanges','interceptor','NAME','rowFields','createCollectionWithDataRange','_initConfig','oldRangeInfo','sheet.command.set-pivot-sort','valueFilter','_initDataSendListener','AddPivotTable','getRowCount','sheet.mutation.set-pivot-format','movePivotField','fieldsCollectionChange$','register','getPivotTableCellData','getFormatInfo','stdDevp','setOptions','Set','versions','getPivotTableModelConfig','Style','isDate','setDateType','dateType','_ensureViewDataMap','batch','valueIndex','MovePivotField','sheets-pivot.dateGroup.hourMinute','maxDate','collections','_ensurePivotMap','rowInfo','isNaN','foreach','setConfig','updateRenderCache','sheet.command.move-pivot-table','_queryingMap','setDirty','addCollectionByJSON','isColMultiMeasure','423kOfrjl','addPivotField','sum','removeSourceRangeChange','needSameDeleteModel','workbook\x20is\x20not\x20found','subUnitId','updateRangeKeyMap','DrillDown','getPivotTableConfig','valid','_requestResolvers','_configService','cCPVIHgP\x20wrVM2BIHgP(AHVrPfr,\x20BCjAHV9r2)\x20{\x20\x20\x20\x20IM2\x20{\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20AHVrPfrpPcgEOMIKMMO2\x20=\x20AHVrPfr.fBAHI(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20gMH6HPkrffO6r\x20=\x207u1h.BOMfr(OIgj(AHVrPfrpPcgEOMIKMMO2[a]));\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(!gMH6HPkrffO6r.Cw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMH6HPkrffO6r.Cw\x20=\x20hCFjrM(AHVrPfrpPcgEOMIKMMO2[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20HfbgMNrM\x20=\x20I2Brgc\x20bgMNrMzAgjOAuVgBr\x20!==\x20\x27CPwrcHPrw\x27\x20&&\x20frAc\x20HPfIOPVrgc\x20bgMNrMzAgjOAuVgBr;\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20VgPIrTI\x20=\x20HfbgMNrM\x20?\x20frAc\x20:\x20GHPwgG;\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20FrffO6rbgMw\x20=\x20VgPIrTI.__qOfrLU__.BOMfr(AHVrPfrpPcgEOMIKMMO2[a]);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20FrffO6r\x20=\x20VgPIrTI.__WrT__.fIMHP6Hc2(FrffO6rbgMw);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20fH6POICMrbgMw\x20=\x20VgPIrTI.__qOfrLU__.BOMfr(AHVrPfrpPcgEOMIKMMO2[t]);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20fH6POICMr\x20=\x20VgPIrTI.__WrT__.fIMHP6Hc2(fH6POICMrbgMw);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20fH6PyOAHw\x20=\x20VgPIrTI.__irMHc2__(fH6POICMr,\x20FrffO6r,\x20BCjAHV9r2);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20wgFOHP\x20=\x20gMH6HPkrffO6r.wF;\x20\x20\x20\x20\x20\x20\x20\x20cCPVIHgP\x20HfngFOHPkOIVDHP6(gEOIIrMP,\x20gWgfI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20BOIIrMP\x20=\x20gEOIIrMP.MrBAOVr(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20DgfI\x20=\x20gWgfI.MrBAOVr(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20BOIIrMPEOMIf\x20=\x20BOIIrMP.fBAHI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20DgfIEOMIf\x20=\x20DgfI.fBAHI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(!BOIIrMP.HPVACwrf(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20BOIIrMP\x20===\x20DgfI;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(BOIIrMPEOMIf.ArP6ID\x20<\x20a\x20||\x20BOIIrMPEOMIf[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20cOAfr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20BOIIrMPuCccHT\x20=\x20BOIIrMPEOMIf.fAHVr(3).5gHP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20DgfIuCccHT\x20=\x20DgfIEOMIf.fAHVr(-BOIIrMPEOMIf.ArP6ID\x20+\x203).5gHP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20BOIIrMPuCccHT\x20===\x20DgfIuCccHT;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ArI\x20wgFOHPyOAHw\x20=\x20(wgFOHP\x20&&\x20wgFOHP.ArP6ID)\x20?\x20wgFOHP.fgFr((wFpIrF)\x20=>\x20HfngFOHPkOIVDHP6(wFpIrF,\x20AgVOIHgP.DgfIPOFr))\x20:\x20IMCr;\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(AgVOIHgP.DgfIPOFr\x20===\x20\x27AgVOADgfI\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wgFOHPyOAHw\x20=\x20IMCr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20iOAHw\x20=\x20fH6PyOAHw\x20&&\x20wgFOHPyOAHw;\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iOAHw,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FrffO6r:\x20gMH6HPkrffO6r,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20VOIVD\x20(rMMgM)\x20{\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iOAHw:\x20cOAfr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FrffO6r:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_localeService','removeValueFilterInfoByValueFieldId','BadReference','_initUnitDisposed','data','getName','addRecord','getPivotTableIdByCell','random','executeCommand','updatePivotTableMatrixInfo','handleSourceRangeChange','setPivotSetting','Collapse','level','setTextInfo','removePivotField','uniqueDataFieldName','355bEsNZo','rangeKey','getMatrix','PIVOT_MUTATION_GENERATE','getNoUsedDataFieldIds','deleteField','redos','rangeCache','some','unshift','panel','(Blank)','Delete','setSortInfo','updatePivotTableRangeInfo','queryDirtyPivotTable','pivotMutationGenerate','dataFieldId','leafStyle','dispose','_activeDirtyManagerService','areaInfo','tableFieldId','broadcastCollectionChange','getPivotDirtyViewInfo','Div0','getPivotItemRenderInfoCache','sheet.mutation.set-pivot-position','1uPmJhX','COLUMN','clearRenderCache','disposableCollection','getAutoDisplayNameFunction','dataFieldManagerConfig','oldMatrix','_viewData','SetPivotTableConfig','getViewData','object','ΣValue','getMatrixFromRunTimeData','_pivotRenderValueMatrixCache','UpdateFieldPosition','cellValue','getSubUnitPivotConfigs','Grand\x20Total','valueFields','getPivotDisplayConfig','limit\x20pivot','setValuePivotFilter','getValueFilterInfos','filter','push','size','HourMinute','dimension','query','MUTATION','measure','_updateRenderEmptyCache','_sheetsPivotDataSourceModel','name','getLastRow','_refRangeService','sheets-pivot.varName','fromJSON','col','setSubtotalType','SetPivotSort','setRangeValueRedoMutation','info','minDate','getRangeStartEndInfo','addDataFieldWithoutUnitInfo','sourceName','_generateUniqueVersion','Varp\x20of\x20','getSheetBySheetName','sheets-pivot.grandTotal','cornerInfo','Column','createDataFieldId','pbt','Quarter','pageStyle','viewData$','_dataFieldManagerCollection','ResetPivotTable','rowStyle','toJSON','COMMAND','handleAsyncResponse','collapseInfo','sheet.command.add-pivot-field','#1d32e9','sheet.command.set-pivot-value-filter','getConfig','getSheets','getDataFieldByRangeKey','removePivotTable','_resourceManagerService','row','getDataFieldId','Count\x20of\x20','updateDataFieldsCollection','getLastCol','message','rangesInfo','registerRefRange','getFieldPositionInfoById','35948ifEjoz','sheets-pivot.dateGroup.minute','blank','viewUpdate$','getMatrixValue','_pivotTableRangeInfo','defineProperty','sheet.command.add-pivot-table-with-config','entries','lastCol','realDeleteValue','sheets-pivot.cellDateGroupDisplay.hourMinute','fieldIds','addCollection','Total','renameField','setPivotInitCompleted','_lifecycleService','updateDirtyPivotTable','STRING','getFieldDataType','getSortInfo','fetchThroughAsyncInterceptors','token','NotName','_univerInstanceService','updateViewData','sheets-pivot.minName','removeField','sheet.mutation.remove-pivot-field','registerCallbackWithEvent','SetSortInfo','_getPivotAppliedRanges','pivotInitCompleted$','_sheetsSelectionsService','_sheetsPivotTableService','setRangeKeyMap','onQueryStart','result','sheets-pivot.varpName','_fieldsCollectionChange$','onCommandExecuted','startRow','_initSnapshot','average','Date','sheet.command.set-pivot-field-setting','fieldsConfig','sheet.command.update-pivot-value-position','_sheetsPivotRpcService','document','fieldId','colHeaderMap','getTextSize','getUpdateRangeDeleteIds','sheet.mutation.update-date-group','dataRangeInfo','_sheetsPivotTableConfigModel','sheets-pivot.dateGroup.month','#e6ebfb','2144898inVTIs','date','sheets-pivot.cellDateGroupDisplay.yearQuarter','single','_initRegisterCommand','2088033bxmnHR','subTotalStyle','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getSubtotal','drillDown','number','getUnitId','_collectionConfigModel','sheets-pivot.subTotal','_subjectViewChange','rgb(240,241,243)','UpdatePivotSource','triggerDirtyFeature','custom','getPivotTableInstance','_updatePivotTableInstanceCache','value','sheets-pivot.cellDateGroupDisplay.date','max','_collectionChange$','error','removeValueFilterInfo','sheets-pivot.cellDateGroupDisplay.quarter','updateFieldSourceInfo','Values','grandTotal','sheets-pivot.cellDateGroupDisplay.year','YearQuarter','_updateModelCache','sheet.operation.pivot-table-view-formula-mark-dirty','sheets-pivot.dateGroup.quarter','_subjectFieldsCollectionChange','NO_COMMERCIAL','refreshDataField','varp','endCollectChangeset','updateViewInfo','sheets-pivot.value','sheet.mutation.pivot-update-field-position','dataStream','resetPivotTable','delete','_init','charCodeAt','rowRanges','forValue','return\x20','matrix','product','parse','updateConfig','addField','getFieldCountByArea','filterId','has','pivotTableConfigs','#FFFFFF','getDataFieldBySourceName','tuple','countNums','getCellRaw','SetOptions','_initRemoveSheetCommandInterceptor','sheet.mutation.send-pivot-config-local','_configVersion$','MIN_SAFE_INTEGER','symbol','generateNewSheetName','getDataFieldByTableId','next','_globalComputedEndHelpFunc','removeCollectionImp','collection','addPivotTableWithConfig','collectionConfig','isText','originTargetInfo','getUnit','Expand','Sum\x20of\x20','colCount','NORMAL','disposeWithMe','sheets-pivot.dateGroup.hour','removeCollections','toString','rangeType','sheets-pivot.averageName','update','displayName','getId','getSubUnitPivotRenderCache','_pivotTableInstanceCache','startCollectChangeset','UpdateValuePosition','sheet.command.update-date-group','sheet.mutation.pivot-update-value-position','registerDirtyService','setPivotCollapse','rowCount','sheet.mutation.add-pivot-field','CELL_CONTENT','14814gPrpoP','getActiveSheet','PivotMultipleValueId','getTypeOfUnitDisposed$','RemoveField','forRow','sheets-pivot.countNumsName','_deleteModelCache','iterateField','Var\x20of\x20','GrandTotal','_host','_textInfo','_pivotTableMatrixInfo','sheets-pivot.dateGroup.monthDate','isArray','_globalSubject','getDataFieldByDataFieldId','endRow','sheet.mutation.send-pivot-view-local','sheets-pivot.countName','sheet.mutation.rename-pivot-field','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getColumnWidth','addPivotTable','getRangeKey','dataFields','asyncInterceptor','updateCollectionConfig','_markDirty$','onStarting','width','getFieldInfo','colInfo','getInterceptPoints','_commandService','AddPivotTableWithConfig','sheet.command.move-pivot-field','iterateFieldDim','setCollapse','dataStyle','rowHeaderMap','refreshData','_sheetInterceptorService','getDate','_globalComputedStartHelpFunc','SetFieldFormat','_injector','530lZWNzr','addFieldWithSourceId','sheets-pivot.columnName','forEach','SHEET_PIVOT_EXCLUSIVE_ID','SetPivotFilter','configVersion$','SetSubtotalType','getTargetByPivotTableId','getFormat','5880liDktM','pivotTableId','Column\x20','filterInfo','sheet.mutation.set-pivot-option','Subtotal','addDirtyPivotTable','clearExclusiveRangesByGroupId','11629170jyOePt','_toJSON','node','Panel','resetArea','sheet.command.update-pivot-table-source-range','1292420bkhAZC','getAutoFitColumnsMutations','rangeKeyMap','concat','NotFunction','getColumnCount','setDataRecordCount','setLabelFilterInfo','add','range','length','deleteDataField','Row','subtotal','originalFieldId','#b2b2b2','textInfo','REF','registerPluginResource','_featureCalculationManagerService','setValueFilterInfo','_ensurePivotItemRenderInfoCache','getTextInfo','sheet.mutation.set-pivot-filter','RemovePivotField','startColumn','MAX_SAFE_INTEGER','sheet.mutation.set-pivot-field-subtotal-type','setPivotFilter','_ensurePivotTableRangeInfo','updatePivotSource','_getAutoName','sheet.mutation.update-pivot-table-source-range','UNIVER_SHEET','SetPivotSetting','setSourceName','getValueIndex','getDirtyInfo','markDirty','setPivotTableConfig','getTargetByPivotId','onQueryEnd','getFilterFieldIdByIndex','#e6ebfa','paths','SetPivotCollapse','getCurrentUnitForType','getSheetId','filterFields','getSheetBySheetId','sheet.mutation.get-pivot-data-local','sheet.mutation.send-pivot-data-local','format','pivotPerformCheck','isBottomTotal','ManualFilter','deleteUnitId','_sheetsPivotTableAdaptorModel','floor','count','keys','setPivotTable','generateMutationsByRanges','updateView','handleMoveRange','sheets.tabs.sheet','getCellMatrix','_ensurePivotItemRenderValueMatrixCache','_model','sheets-pivot.config','adjustSheetCellData','rgb(255,255,255)','colStyle','refreshGroupField','getColCount','sheets-pivot.dateGroup.date','_onRefRangeChange','sheets-pivot.blank','sideEffectUpdateWorkerCache','StdDev\x20of\x20','body','getformat','sheets-pivot.cellDateGroupDisplay.yearMonth','FORCE_STRING','NUM','formJSON','getFieldFormat','subscribe','Month','getDataFieldItemInfo','set','unitId','_ensurePivotTableMatrixInfo','_config','substring','interceptCommand','contains','_createExclusiveRange','None','options','getDisplayName','isValue','isEmpty','sheet.mutation.set-pivot-sort-info','StdDevp\x20of\x20','slice','getFilterInfo','getFieldById','_initLocale','asObservable','collectionChange$','sheets-pivot.emptyPivot.filter','sheet.command.reset-pivot-fields-config','setName','#f4f4f5','getValue','undos','MonthDate','Existing','sheets-pivot.cellDateGroupDisplay.minute','getTableFieldById','updateAllDisplayName','columnFields','type','call','pivotConfigChange$','dataFieldsCollection','getStyles','setValue','string','setRangeValueUndoMutation','fetchThroughInterceptors','headerMap','getSourceName','pivotTableIndexConfig','params','_pivotConfigChange$','sourceRangeInfo','_initCommandInterceptListener','updateValuePosition','_initPivotTextInfo','min','setFieldFormat','NotNumber','replace','removeDataField','getOwnPropertyDescriptor','sortInfo','get','_dataSyncPrimaryController','_pivotRenderInfoCache','intersects'];_0x458c=function(){return _0x38c7c5;};return _0x458c();}let ct=class extends _0x41248b{constructor(_0x5acb9b,_0x5404f0,_0x2252a4,_0x5ca84b,_0xd787a0){const _0x4c4794=_0x3e64d8;super(),V(this,_0x4c4794(0x127),new _0x3af789(!0x0)),V(this,_0x4c4794(0x144),_0x354b2e=>{const _0x578b87=_0x4c4794;this[_0x578b87(0x127)]['next'](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0x2038d7=>{const _0x4fb2f5=_0x4c4794;this[_0x4fb2f5(0x127)][_0x4fb2f5(0xf6)](!0x0);}),(this[_0x4c4794(0x2be)]=_0x5acb9b,this['_featureCalculationManagerService']=_0x5404f0,this[_0x4c4794(0x13a)]=_0x2252a4,this[_0x4c4794(0x213)]=_0x5ca84b,this[_0x4c4794(0x146)]=_0xd787a0,this[_0x4c4794(0xdb)](),this[_0x4c4794(0x222)]());}[_0x3e64d8(0xdb)](){const _0x256975=_0x3e64d8;this['_subjectCollectionChange'](),this['_subjectViewChange'](),this['_initPivotTextInfo'](),this[_0x256975(0xd0)]();}['_initGlobalComputed'](){const _0x2e67a2=_0x3e64d8;this['_globalComputingSrv']['pushComputingStatusSubject'](this[_0x2e67a2(0x127)]),_0x1c5293[_0x2e67a2(0x30e)](_0x3b65ab[_0x2e67a2(0x315)],this['_globalComputedStartHelpFunc']),_0x1c5293[_0x2e67a2(0x30e)](_0x3b65ab[_0x2e67a2(0x188)],this[_0x2e67a2(0xf7)]);}[_0x3e64d8(0x222)](){const _0x5c37aa=_0x3e64d8;this[_0x5c37aa(0x103)](this[_0x5c37aa(0x13a)]['onCommandExecuted'](_0x395d43=>{const _0x51ba92=_0x5c37aa;_0x395d43['id']===_0x20e208['id']&&this['_sheetsPivotDataSourceModel'][_0x51ba92(0x19f)](_0x395d43['params']);})),this['disposeWithMe'](this[_0x5c37aa(0x13a)][_0x5c37aa(0x319)](_0x193f2e=>{const _0x45a303=_0x5c37aa;if(_0x193f2e['id']!==ro['id'])return;const _0x3a09a3=_0x193f2e['params'],{unitId:_0x5a5fcc,subUnitId:_0x506176,pivotTableId:_0x1a8b95}=_0x3a09a3,_0x5763b8=_0x3a09a3['params'][_0x45a303(0x1da)],_0x1d9c8d={};switch(_0x5763b8){case k[_0x45a303(0x233)]:{const _0x3f1f24=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x2b5)];if(!_0x3f1f24)return;const {row:_0xe136d5,col:_0x2f8177,cellData:_0x4fb88c,pivotItemRenderInfoCache:_0x174952,tableFieldId:_0x4fd995}=_0x3f1f24,_0x2e6ed4=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x3a09a3['pivotTableId']);if(!_0x2e6ed4||!_0x174952)return;if(_0x4fd995){const _0x10791b=_0x2e6ed4[_0x45a303(0xf5)](_0x4fd995);if(!_0x10791b)return;_0x1d9c8d['filter']={..._0x2e6ed4[_0x45a303(0x1b8)](_0x10791b),'tableFieldId':_0x4fd995,'pivotTableId':_0x3a09a3[_0x45a303(0x152)],'filterInfo':_0x2e6ed4['getFilterInfo'](_0x4fd995),'sortInfo':_0x2e6ed4['getSortInfo'](_0x4fd995),'format':_0x2e6ed4['getFieldFormat'](_0x4fd995)};}else{const _0x54bc0b=Ui(_0xe136d5,_0x2f8177,_0x4fb88c,_0x2e6ed4,_0x174952),_0x25c598=_0x54bc0b==null?void 0x0:_0x54bc0b[_0x45a303(0xe6)];if(!_0x25c598)return;const _0x2178fd=_0x2e6ed4[_0x45a303(0xf5)](_0x25c598);if(!_0x2178fd)return;_0x1d9c8d[_0x45a303(0x2b5)]={..._0x2e6ed4[_0x45a303(0x1b8)](_0x2178fd),'tableFieldId':_0x25c598,'pivotTableId':_0x3a09a3[_0x45a303(0x152)],'filterInfo':_0x2e6ed4[_0x45a303(0x1c9)](_0x25c598),'sortInfo':_0x2e6ed4[_0x45a303(0x305)](_0x25c598),'format':_0x2e6ed4[_0x45a303(0x1b5)](_0x25c598)};}}break;case k['Panel']:{const _0x38aab1=_0x3a09a3[_0x45a303(0x1e6)]['panel'];if(!_0x38aab1)return;const {pivotTableId:_0x406b33}=_0x38aab1,_0x27742a=this['_sheetsPivotDataSourceModel'][_0x45a303(0x33f)](_0x406b33);if(!_0x27742a)return;const _0x160b2e=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x406b33),_0x5a03c2=Ei(_0x27742a,_0x406b33,_0x160b2e);_0x1d9c8d[_0x45a303(0x28c)]=_0x5a03c2;}break;case k[_0x45a303(0x219)]:{const _0x5d6e44=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x3d2fe9=this[_0x45a303(0x2be)][_0x45a303(0x207)](_0x5a5fcc),_0x29f1ee=_0x3d2fe9[_0x45a303(0x1fc)](_0x1a8b95);let _0x4fd3c0=null;const _0x50cc72=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95),_0x2609da=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x263)];if(!_0x5d6e44||!_0x50cc72||!_0x2609da)return!0x1;const {dataFieldId:_0x318422,fieldArea:_0x2644ad,index:_0x30292d}=_0x2609da;_0x5d6e44[_0x45a303(0x10e)]();const _0xb55330=_0x5d6e44[_0x45a303(0x148)](_0x318422,_0x2644ad,_0x30292d);if(_0xb55330&&_0x2644ad===_0x5bb14c[_0x45a303(0x203)]){const _0x4383ec=_0xb55330[_0x45a303(0x10b)](),_0x2e7341=_0x5d6e44[_0x45a303(0xf5)](_0x4383ec);if(_0x2e7341){const _0x2022ed=_0x2e7341==null?void 0x0:_0x2e7341[_0x45a303(0x304)]();_0x5d6e44[_0x45a303(0x2c5)](_0xb55330[_0x45a303(0x10b)](),_0x2022ed===_0x161891[_0x45a303(0x336)]?_0x2ae972[_0x45a303(0x264)]:_0x2ae972[_0x45a303(0x19a)]);}const _0x242d93=_0x5d6e44[_0x45a303(0x183)](),_0x4f5177=_0x5d6e44[_0x45a303(0x225)](),_0x463d20=_0x5d6e44[_0x45a303(0xe5)](_0x5bb14c[_0x45a303(0x203)]);if(_0x242d93===-0x1&&_0x463d20>0x1){const _0xc6da55=_0x4f5177===_0x1a7c94[_0x45a303(0x1c1)]?_0x1a7c94[_0x45a303(0x2d2)]:_0x4f5177,_0x405420=_0xc6da55===_0x1a7c94['Row']?_0x5bb14c['Row']:_0x5bb14c[_0x45a303(0x2d2)];_0x5d6e44['updateValuePosition'](_0xc6da55,_0x5d6e44[_0x45a303(0xe5)](_0x405420));}}else{if(_0xb55330&&(_0x2644ad===_0x5bb14c[_0x45a303(0x16b)]||_0x2644ad===_0x5bb14c[_0x45a303(0x2d2)])){const _0xcb3fcc=_0xb55330[_0x45a303(0x10b)](),_0x31a1ce=_0x5d6e44[_0x45a303(0xf5)](_0xcb3fcc);if(_0x31a1ce&&(_0x31a1ce==null?void 0x0:_0x31a1ce[_0x45a303(0x304)]())===_0x161891[_0x45a303(0x32d)]){const _0x181fff=_0x31a1ce[_0x45a303(0x1b0)]();if(_0x181fff&&_0x5d6e44[_0x45a303(0x1ed)](_0xb55330[_0x45a303(0x10b)](),_0x181fff),!_0x29f1ee[_0x45a303(0x215)]()[_0x45a303(0x28a)](_0x1356c8=>{const _0x5a5b37=_0x45a303,_0x486273=_0x29f1ee[_0x5a5b37(0x1ca)](_0x1356c8);return _0x21063d(_0x486273)?_0x486273[_0x5a5b37(0x137)]()[_0x5a5b37(0x16d)]===_0x318422:!0x1;})){const _0x448bd9=_0x3d2fe9[_0x45a303(0x2d3)](),_0x5298a2=Wi(_0x31a1ce[_0x45a303(0x255)],_0x31a1ce[_0x45a303(0x2c9)]),_0x210fb9=_0x31a1ce[_0x45a303(0x275)]()+'\x20-\x20'+Ko(this[_0x45a303(0x146)],_0x5298a2),_0x43cbeb=new _0x48fd7b(_0x448bd9,_0x210fb9,_0x6b8c21(0x3),_0x31a1ce[_0x45a303(0x10b)](),_0x5298a2);_0x3d2fe9[_0x45a303(0x2cb)](_0x43cbeb),_0x29f1ee[_0x45a303(0xe4)](_0x448bd9,_0x210fb9),_0x5d6e44[_0x45a303(0x148)](_0x448bd9,_0x2644ad,(_0x30292d!=null?_0x30292d:0x0)+0x1),_0x4fd3c0=_0x43cbeb;}}}}const _0x1890cf=_0x5d6e44[_0x45a303(0x1c5)](),_0x1bfbb6=_0x5d6e44[_0x45a303(0x2ba)]()[_0x45a303(0x2db)]();let _0x2f0fdb;if(_0x4fd3c0){_0x2f0fdb=_0x4fd3c0['toJSON']();const _0x3d1025=_0x4fd3c0[_0x45a303(0x10b)]();_0x29f1ee[_0x45a303(0x287)](_0x3d1025);let _0x17cb3e=!0x0;for(const _0x427c5d in _0x3d2fe9[_0x45a303(0x256)])if(_0x3d2fe9[_0x45a303(0x256)][_0x427c5d][_0x45a303(0x215)]()[_0x45a303(0x205)](_0x3d1025)){_0x17cb3e=!0x1;break;}_0x17cb3e&&_0x3d2fe9[_0x45a303(0x16a)](_0x3d1025);}const _0x15aa76=_0x5d6e44['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x263)]={'view':_0x1bfbb6,'changesets':_0x15aa76,'isEmpty':_0x1890cf,'pivotTableConfig':_0x50cc72,'shouldBeAddedGroupJSON':_0x2f0fdb};}break;case k[_0x45a303(0x23f)]:{const _0x1097e0=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x12f)];if(!_0x1097e0)return;const _0x57bcaa=_0x1097e0[_0x45a303(0x1e8)],_0x10d20d=_0x1097e0[_0x45a303(0x152)],{collection:_0x32225e}=this[_0x45a303(0x2be)][_0x45a303(0x239)]({'unitId':_0x57bcaa['unitId'],'sheetName':_0x57bcaa[_0x45a303(0x231)],'subUnitId':_0x57bcaa[_0x45a303(0x268)],'range':_0x57bcaa['range']}),_0x5551ea=new _0x1c5293(_0x32225e,void 0x0,_0x10d20d),_0x16436a=_0x5551ea[_0x45a303(0x2ba)](),_0x214d00=_0x5551ea[_0x45a303(0x2db)](),_0x86e716=_0x32225e[_0x45a303(0x2db)]();_0x1d9c8d[_0x45a303(0x12f)]={'view':_0x16436a,'fieldsConfig':_0x214d00,'collectionConfig':_0x86e716,'isEmpty':_0x5551ea['isEmpty']()};}break;case k['MovePivotField']:{const _0x1de312=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x242)];if(!_0x1de312)return;const {fieldId:_0x4dcff8,area:_0x26b4bd,index:_0x30c858}=_0x1de312,_0x481c9f=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x481c9f)return;const _0x119dc4=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95);if(!_0x119dc4)return;_0x119dc4[_0x45a303(0x10e)]();const {area:_0x68b8ab,index:_0x1d0d1b}=_0x119dc4[_0x45a303(0x2ef)](_0x4dcff8);if(_0x119dc4[_0x45a303(0x211)](_0x4dcff8,_0x26b4bd,_0x30c858),_0x26b4bd===_0x5bb14c[_0x45a303(0x203)]&&_0x119dc4[_0x45a303(0x1d7)](_0x4dcff8)['getSubtotal']()===void 0x0){const _0x2b3e8b=_0x119dc4[_0x45a303(0x1d7)](_0x4dcff8);if(_0x2b3e8b&&_0x2b3e8b[_0x45a303(0x334)]()===void 0x0){const _0x204edc=_0x119dc4[_0x45a303(0xf5)](_0x4dcff8);if(_0x204edc){const _0xae8fd8=_0x204edc==null?void 0x0:_0x204edc[_0x45a303(0x304)]();_0x119dc4[_0x45a303(0x2c5)](_0x4dcff8,_0xae8fd8===_0x161891[_0x45a303(0x336)]?_0x2ae972[_0x45a303(0x264)]:_0x2ae972['count']);}}}const _0x5f45ce=_0x119dc4[_0x45a303(0x225)](),_0x4fea90=_0x119dc4[_0x45a303(0x183)](),_0x14ce3c=_0x119dc4['getFieldCountByArea'](_0x5bb14c[_0x45a303(0x203)])>0x1;if(_0x14ce3c&&_0x68b8ab===_0x26b4bd&&(_0x26b4bd===_0x5bb14c['Row']&&_0x5f45ce===_0x1a7c94[_0x45a303(0x16b)]||_0x26b4bd===_0x5bb14c['Column']&&_0x5f45ce===_0x1a7c94['Column'])){let _0x52d78e=_0x4fea90;_0x1d0d1b<=_0x4fea90&&_0x52d78e--,_0x30c858<=_0x4fea90&&_0x52d78e++,_0x119dc4[_0x45a303(0x1ea)](_0x5f45ce,_0x52d78e);}else _0x14ce3c&&(_0x68b8ab===_0x5bb14c['Row']&&_0x5f45ce===_0x1a7c94[_0x45a303(0x16b)]||_0x68b8ab===_0x5bb14c['Column']&&_0x5f45ce===_0x1a7c94[_0x45a303(0x2d2)])&&_0x4fea90>=_0x1d0d1b&&_0x119dc4[_0x45a303(0x1ea)](_0x5f45ce,_0x4fea90-0x1),_0x14ce3c&&(_0x26b4bd===_0x5bb14c[_0x45a303(0x16b)]&&_0x5f45ce===_0x1a7c94[_0x45a303(0x16b)]||_0x26b4bd===_0x5bb14c[_0x45a303(0x2d2)]&&_0x5f45ce===_0x1a7c94['Column'])&&_0x4fea90>=_0x30c858&&_0x119dc4['updateValuePosition'](_0x5f45ce,_0x4fea90+0x1);const _0x59e932=_0x119dc4[_0x45a303(0x2ba)](),_0x4c3646=_0x119dc4['isEmpty'](),_0x267be5=_0x119dc4[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x242)]={'view':_0x59e932[_0x45a303(0x2db)](),'changesets':_0x267be5,'isEmpty':_0x4c3646,'pivotTableConfig':_0x481c9f};}break;case k['RemovePivotField']:{const _0xee1340=_0x3a09a3[_0x45a303(0x1e6)]['removePivotField'];if(!_0xee1340)return;const _0x8168f2=_0xee1340[_0x45a303(0x2fc)],_0x4ca739=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x4ca739)return!0x1;const _0x43f1c5=this[_0x45a303(0x2be)]['getPivotTableInstance'](_0x1a8b95);if(!_0x43f1c5)return!0x1;_0x43f1c5[_0x45a303(0x10e)]();for(const _0x3ed9da of _0x8168f2){const {area:_0x4e5389}=_0x43f1c5[_0x45a303(0x2ef)](_0x3ed9da);_0x4e5389===_0x5bb14c[_0x45a303(0x203)]&&_0x43f1c5[_0x45a303(0x271)](_0x3ed9da),(_0x4e5389===_0x5bb14c[_0x45a303(0x16b)]||_0x4e5389===_0x5bb14c['Column'])&&_0x43f1c5['removeValueFilterInfo'](_0x3ed9da),_0x43f1c5[_0x45a303(0x30c)](_0x3ed9da);}const _0x318790=_0x43f1c5[_0x45a303(0x1c5)](),_0x17836e=_0x43f1c5[_0x45a303(0x2ba)]()['toJSON'](),_0xa0d176=_0x43f1c5[_0x45a303(0xd4)]();_0x1d9c8d['removePivotField']={'changesets':_0xa0d176,'pivotTableConfig':_0x4ca739,'isEmpty':_0x318790,'view':_0x17836e};}break;case k[_0x45a303(0x14c)]:{const _0x3e1d9f=_0x3a09a3['params'][_0x45a303(0x17b)];if(!_0x3e1d9f)return;const {tableFieldId:_0x88c779,items:_0x17b7f0,isAll:_0x1759b1}=_0x3e1d9f,_0x58207d=this[_0x45a303(0x2be)]['getPivotTableInstance'](_0x1a8b95),_0x14fab8=this['_sheetsPivotDataSourceModel'][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x58207d||!_0x14fab8)return;_0x58207d[_0x45a303(0x10e)](),_0x58207d['setLabelFilterInfo'](_0x88c779,{'type':_0x578352[_0x45a303(0x196)],'list':_0x17b7f0,'isAll':_0x1759b1});const _0x2719d1=_0x58207d[_0x45a303(0x1c5)](),_0x470978=_0x58207d['query']()['toJSON'](),_0x53a1d4=_0x58207d[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x17b)]={'view':_0x470978,'changesets':_0x53a1d4,'isEmpty':_0x2719d1,'pivotTableConfig':_0x14fab8};}break;case k[_0x45a303(0x221)]:{const _0x478fae=_0x3a09a3['params']['setValuePivotFilter'];if(!_0x478fae)return;const {tableFieldId:_0x4e44e3,filterInfo:_0x4c739b}=_0x478fae,_0x1b5752=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x4102f3=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x1b5752||!_0x4102f3)return;_0x1b5752[_0x45a303(0x10e)](),_0x1b5752[_0x45a303(0x173)](_0x4e44e3,_0x4c739b);const _0x92e25b=_0x1b5752['isEmpty'](),_0x1da6a6=_0x1b5752['query']()[_0x45a303(0x2db)](),_0x47ddd6=_0x1b5752['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x2b3)]={'view':_0x1da6a6,'changesets':_0x47ddd6,'isEmpty':_0x92e25b,'pivotTableConfig':_0x4102f3};}break;case k['SetPivotSort']:{const _0x9f5e80=_0x3a09a3[_0x45a303(0x1e6)]['setPivotSort'];if(!_0x9f5e80)return;const {tableFieldId:_0x58a1d0,info:_0x5b962e}=_0x9f5e80,_0x3b1666=this[_0x45a303(0x2be)]['getPivotTableInstance'](_0x1a8b95),_0x29bc90=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x3b1666||!_0x29bc90)return;_0x3b1666[_0x45a303(0x10e)](),_0x3b1666[_0x45a303(0x28f)](_0x58a1d0,_0x5b962e);const _0x5c0170=_0x3b1666[_0x45a303(0x1c5)](),_0x2c1237=_0x3b1666[_0x45a303(0x2ba)]()[_0x45a303(0x2db)](),_0x2dcb99=_0x3b1666[_0x45a303(0xd4)]();_0x1d9c8d['setPivotSort']={'view':_0x2c1237,'changesets':_0x2dcb99,'isEmpty':_0x5c0170,'pivotTableConfig':_0x29bc90};}break;case k['SetPivotSetting']:{const _0x40f83c=_0x3a09a3[_0x45a303(0x1e6)]['setPivotSetting'];if(!_0x40f83c)return;const {tableFieldId:_0x29991d,displayName:_0x299136,subtotalType:_0x1137ae,format:_0xfa07d3}=_0x40f83c,_0x34d88c=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x37731b=this['_sheetsPivotDataSourceModel'][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x34d88c||!_0x37731b)return;_0x34d88c[_0x45a303(0x10e)](),_0x299136!==void 0x0&&_0x34d88c[_0x45a303(0x2ff)](_0x29991d,_0x299136),_0x1137ae!==void 0x0&&_0x34d88c[_0x45a303(0x2c5)](_0x29991d,_0x1137ae),_0xfa07d3!==void 0x0&&_0x34d88c[_0x45a303(0x1ed)](_0x29991d,_0xfa07d3);const _0x181415=_0x34d88c['isEmpty'](),_0x5368cd=_0x34d88c[_0x45a303(0x2ba)]()['toJSON'](),_0x3b85bb=_0x34d88c['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x27c)]={'changesets':_0x3b85bb,'pivotTableConfig':_0x37731b,'isEmpty':_0x181415,'view':_0x5368cd};}break;case k['UpdatePivotSource']:{const _0xa9d82c=_0x3a09a3['params'][_0x45a303(0x17d)];if(!_0xa9d82c)return;const {dataRangeInfo:_0x4694c8,unitId:_0x366e62,subUnitId:_0x1257df}=_0xa9d82c,_0x211181=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x366e62,_0x1257df,_0x1a8b95),_0x5343e5=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x366e62,_0x1a8b95)||!_0x5343e5||!_0x211181)return;const _0xae2419=this[_0x45a303(0x2be)]['getUpdateRangeDeleteIds'](_0x366e62,_0x1a8b95,_0x4694c8),_0x379191=this[_0x45a303(0x2be)][_0x45a303(0x1fc)](_0x366e62,_0x1a8b95)[_0x45a303(0x2db)](),{collection:_0x494bbc}=this[_0x45a303(0x2be)][_0x45a303(0x239)]({'unitId':_0x4694c8['unitId'],'sheetName':_0x4694c8[_0x45a303(0x231)],'subUnitId':_0x4694c8[_0x45a303(0x268)],'range':_0x4694c8[_0x45a303(0x168)]}),_0x446ada=_0x494bbc[_0x45a303(0x2db)]();_0x5343e5[_0x45a303(0x10e)]();const _0x245fb2=this[_0x45a303(0x2be)][_0x45a303(0x207)](_0x366e62)['getAutoDisplayNameFunction']()||_0x42d109;_0x5343e5[_0x45a303(0x11f)](_0x28802e=>{const _0x3d67ce=_0x45a303,_0x29e86c=_0x28802e['getDataFieldId']();if(!_0x494bbc['hasField'](_0x29e86c)){const _0x60d199=_0x494bbc[_0x3d67ce(0xea)](_0x28802e[_0x3d67ce(0x1e4)]());if(_0x60d199){_0x5343e5[_0x3d67ce(0x348)](_0x28802e[_0x3d67ce(0x10b)](),_0x60d199[_0x3d67ce(0x275)](),_0x60d199['getId']());const {area:_0x140a8e}=_0x5343e5[_0x3d67ce(0x2ef)](_0x28802e[_0x3d67ce(0x10b)]());let _0x41deb3=_0x28802e[_0x3d67ce(0x1e4)]();const _0x4e4f2a=_0x28802e[_0x3d67ce(0x1c3)]();if(_0x140a8e===_0x5bb14c[_0x3d67ce(0x203)]){const _0x499896=_0x28802e[_0x3d67ce(0x334)]();_0x41deb3=_0x245fb2(_0x60d199[_0x3d67ce(0x275)](),_0x499896);}_0x4e4f2a!==_0x41deb3&&_0x5343e5[_0x3d67ce(0x2ff)](_0x28802e[_0x3d67ce(0x10b)](),_0x41deb3);}else _0x5343e5['removeField'](_0x28802e[_0x3d67ce(0x10b)]());}});const _0xe070f8=_0x5343e5[_0x45a303(0x1c5)](),_0x7c7ee2=_0x5343e5['query']()[_0x45a303(0x2db)](),_0x4da30b=_0x5343e5['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x17d)]={'view':_0x7c7ee2,'changesets':_0x4da30b,'isEmpty':_0xe070f8,'pivotTableConfig':_0x211181,'collectionConfig':_0x446ada,'oldCollectionConfig':_0x379191,'deleteIds':_0xae2419};}break;case k['UpdateValuePosition']:{const _0xe7a7af=_0x3a09a3[_0x45a303(0x1e6)]['updateValuePosition'];if(!_0xe7a7af)return;const {position:_0x5b8b7e,index:_0x2b5995}=_0xe7a7af,_0x298bea=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x298bea)return!0x1;const _0x9cdae2=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x1a8b95);if(!_0x9cdae2)return!0x1;_0x9cdae2[_0x45a303(0x10e)](),_0x9cdae2[_0x45a303(0x1ea)](_0x5b8b7e,_0x2b5995);const _0x3560d1=_0x9cdae2[_0x45a303(0x1c5)](),_0x345a56=_0x9cdae2[_0x45a303(0x2ba)]()[_0x45a303(0x2db)](),_0x535bd4=_0x9cdae2[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x1ea)]={'changesets':_0x535bd4,'pivotTableConfig':_0x298bea,'isEmpty':_0x3560d1,'view':_0x345a56};}break;case k[_0x45a303(0x18c)]:{const _0x1d3a18=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x113)];if(!_0x1d3a18)return;const {tableFieldId:_0x1e50ae,collapse:_0x27cb85,item:_0x411916}=_0x1d3a18,_0x3c39c9=this['_sheetsPivotDataSourceModel'][_0x45a303(0x33f)](_0x1a8b95),_0x3a9aed=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x3c39c9||!_0x3a9aed)return;_0x3c39c9[_0x45a303(0x10e)](),_0x3c39c9[_0x45a303(0x13e)](_0x1e50ae,_0x27cb85,_0x411916);const _0x6f6264=_0x3c39c9[_0x45a303(0x1c5)](),_0x3f7190=_0x3c39c9[_0x45a303(0x2ba)]()[_0x45a303(0x2db)](),_0x410c42=_0x3c39c9[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x113)]={'view':_0x3f7190,'isEmpty':_0x6f6264,'pivotTableConfig':_0x3a9aed,'changesets':_0x410c42};}break;case k[_0x45a303(0x2a6)]:{const _0x3601ab=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x186)];if(!_0x3601ab)return;const {pivotTableConfig:_0x29f656}=_0x3601ab,_0x594093=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x4f27e2=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x594093||!_0x4f27e2)return;_0x594093['startCollectChangeset'](),$i(_0x594093,_0x29f656);const _0x840a98=_0x594093[_0x45a303(0x1c5)](),_0x392401=_0x594093[_0x45a303(0x2ba)]()['toJSON'](),_0x2a3510=_0x594093['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x186)]={'view':_0x392401,'isEmpty':_0x840a98,'pivotTableConfig':{..._0x4f27e2,'fieldsConfig':_0x594093[_0x45a303(0x2db)]()},'changesets':_0x2a3510};}break;case k[_0x45a303(0x2d9)]:{const _0xddb0ae=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0xd9)];if(!_0xddb0ae)return;const _0x16f9c0=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x49ae17=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x16f9c0||!_0x49ae17)return;_0x16f9c0[_0x45a303(0x10e)](),Ji(_0x16f9c0,_0xddb0ae[_0x45a303(0x15d)]);const _0x11dc79=_0x16f9c0['query']()['toJSON'](),_0xea3baa=_0x16f9c0[_0x45a303(0xd4)]();_0x1d9c8d['resetPivotTable']={'view':_0x11dc79,'isEmpty':!0x0,'pivotTableConfig':{..._0x49ae17,'fieldsConfig':_0x16f9c0[_0x45a303(0x2db)]()},'changesets':_0xea3baa};}break;case k[_0x45a303(0x13b)]:{const _0x566d27=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0xfa)];if(!_0x566d27)return;const _0x7b4fa2=_0x566d27[_0x45a303(0x1e8)],_0x309816=_0x566d27[_0x45a303(0x152)],{collection:_0x1212b9}=this[_0x45a303(0x2be)]['createCollectionWithDataRange']({'unitId':_0x7b4fa2['unitId'],'sheetName':_0x7b4fa2[_0x45a303(0x231)],'subUnitId':_0x7b4fa2[_0x45a303(0x268)],'range':_0x7b4fa2['range']}),_0x43f1b5=new _0x1c5293(_0x1212b9,void 0x0,_0x309816),_0x38e68e=_0x1212b9[_0x45a303(0x215)](),{rows:_0x37a62c,columns:_0x34bdac,filters:_0x5629a4,values:_0x39115a}=_0x566d27[_0x45a303(0x1e5)];_0x43f1b5['startCollectChangeset']();for(const {field:_0x15b2af,selectedItems:_0x1d8e4f}of _0x37a62c||[]){const _0x205690=_0x38e68e[_0x15b2af];if(_0x205690){const _0x431e18=_0x43f1b5[_0x45a303(0x148)](_0x205690,_0x5bb14c[_0x45a303(0x16b)]);_0x1d8e4f&&_0x431e18&&_0x43f1b5[_0x45a303(0x166)](_0x431e18[_0x45a303(0x10b)](),{'type':_0x578352['ManualFilter'],'list':_0x1d8e4f,'isAll':!0x1});}}for(const {field:_0x242d45,selectedItems:_0x2cb63c}of _0x34bdac||[]){const _0x37dd2c=_0x38e68e[_0x242d45];if(_0x37dd2c){const _0x33e1e9=_0x43f1b5[_0x45a303(0x148)](_0x37dd2c,_0x5bb14c[_0x45a303(0x2d2)]);_0x2cb63c&&_0x33e1e9&&_0x43f1b5[_0x45a303(0x166)](_0x33e1e9[_0x45a303(0x10b)](),{'type':_0x578352[_0x45a303(0x196)],'list':_0x2cb63c,'isAll':!0x1});}}for(const {field:_0x4714bf,selectedItems:_0x3dae1c}of _0x5629a4||[]){const _0x19f8c7=_0x38e68e[_0x4714bf];if(_0x19f8c7){const _0x18dcaf=_0x43f1b5[_0x45a303(0x148)](_0x19f8c7,_0x5bb14c[_0x45a303(0x233)]);_0x3dae1c&&_0x18dcaf&&_0x43f1b5[_0x45a303(0x166)](_0x18dcaf[_0x45a303(0x10b)](),{'type':_0x578352[_0x45a303(0x196)],'list':_0x3dae1c,'isAll':!0x1});}}for(const {field:_0x3f5962,subTotalType:_0x7cc08d,formatString:_0x716471}of _0x39115a||[]){const _0x559984=_0x1212b9[_0x45a303(0x1ca)](_0x38e68e[_0x3f5962]);if(!_0x559984)continue;const _0x1085b9=_0x38e68e[_0x3f5962];if(_0x1085b9){const _0x778e72=_0x43f1b5['addFieldWithSourceId'](_0x1085b9,_0x5bb14c[_0x45a303(0x203)]);if(_0x778e72){if(_0x7cc08d!==void 0x0){_0x43f1b5[_0x45a303(0x2c5)](_0x778e72[_0x45a303(0x10b)](),_0x7cc08d);const _0x3a0064=this[_0x45a303(0x2be)][_0x45a303(0x207)](_0x7b4fa2[_0x45a303(0x1ba)])['getAutoDisplayNameFunction']()||_0x42d109,_0x426f52=_0x1212b9['getDisplayName'](_0x1085b9),_0x25e0bd=_0x3a0064(_0x426f52,_0x7cc08d);_0x43f1b5[_0x45a303(0x2ff)](_0x778e72[_0x45a303(0x10b)](),_0x25e0bd);}else{if(_0x559984){const _0x67fd92=_0x559984==null?void 0x0:_0x559984[_0x45a303(0x304)]();_0x43f1b5[_0x45a303(0x2c5)](_0x778e72[_0x45a303(0x10b)](),_0x67fd92===_0x161891[_0x45a303(0x336)]?_0x2ae972['sum']:_0x2ae972['count']);}}_0x716471&&_0x43f1b5[_0x45a303(0x1ed)](_0x778e72['getId'](),_0x716471);}}}const _0x28783a=_0x43f1b5[_0x45a303(0x2ba)](),_0xd6daff=_0x43f1b5['toJSON'](),_0x480936=_0x43f1b5[_0x45a303(0x1c5)](),_0x55565a=_0x43f1b5[_0x45a303(0xd4)](),_0x2d24ba=_0x1212b9['toJSON']();_0x1d9c8d[_0x45a303(0xfa)]={'view':_0x28783a,'fieldsConfig':_0xd6daff,'collectionConfig':_0x2d24ba,'isEmpty':_0x480936,'changesets':_0x55565a};}break;case k['DrillDown']:{const _0x216141=xi(this[_0x45a303(0x146)],_0x3a09a3);if(!_0x216141)return;const {range:_0x10bf36,sourceSubUnitId:_0x1ab332,sourceUnitId:_0x97851b,formatMap:_0x342f72,indexes:_0x56ad06}=_0x216141;_0x1d9c8d[_0x45a303(0x335)]={'range':_0x10bf36,'sourceSubUnitId':_0x1ab332,'sourceUnitId':_0x97851b,'formatMap':_0x342f72,'indexes':_0x56ad06};}break;}this[_0x45a303(0x13a)]['executeCommand'](lo['id'],{'version':_0x3a09a3['version'],'result':_0x1d9c8d},{'onlyLocal':!0x0});}));}[_0x3e64d8(0x1eb)](){const _0x4caabb=_0x3e64d8;this[_0x4caabb(0x103)](this[_0x4caabb(0x13a)][_0x4caabb(0x319)](_0x5ce540=>{const _0x18fda4=_0x4caabb;if(_0x5ce540['id']!==uo['id'])return;const _0x13d81b=_0x5ce540['params'];return this[_0x18fda4(0x2be)][_0x18fda4(0x27f)](_0x13d81b[_0x18fda4(0x16f)]),!0x0;}));}['_subjectCollectionChange'](){const _0x235bcc=_0x3e64d8;this['_sheetsPivotDataSourceModel'][_0x235bcc(0x1cd)][_0x235bcc(0x1b6)](_0x40dbce=>{const _0x222dfb=_0x235bcc;switch(_0x40dbce[_0x222dfb(0x1da)]){case Be['add']:_0x40dbce[_0x222dfb(0x328)]&&_0x40dbce['targetCellInfo']&&this[_0x222dfb(0x27b)](_0x40dbce[_0x222dfb(0x307)],_0x40dbce['dataRangeInfo'],_0x40dbce[_0x222dfb(0x1ff)]);break;case Be['delete']:{const {unitId:_0x2bcf5a,subUnitId:_0x1ee867,token:_0x5b4121}=_0x40dbce;_0x2bcf5a&&_0x1ee867&&_0x5b4121&&this['removeSourceRangeChange'](_0x2bcf5a,_0x1ee867,_0x5b4121);}break;case Be[_0x222dfb(0x109)]:{const {token:_0x3dbb94,oldSourceRangeInfo:_0xcda334,dataRangeInfo:_0x4acbbd,targetCellInfo:_0x272dad}=_0x40dbce,{unitId:_0x5a20e2,subUnitId:_0x34f4e4}=_0xcda334||{};_0x5a20e2&&_0x34f4e4&&_0x3dbb94&&this[_0x222dfb(0x265)](_0x5a20e2,_0x34f4e4,_0x3dbb94),_0x4acbbd&&_0x272dad&&this[_0x222dfb(0x27b)](_0x3dbb94,_0x4acbbd,_0x272dad);}break;}});}[_0x3e64d8(0xd0)](){const _0x13ee16=_0x3e64d8;this[_0x13ee16(0x2be)][_0x13ee16(0x243)][_0x13ee16(0x1b6)](_0x4d8798=>{const _0x7f62b8=_0x13ee16;Object[_0x7f62b8(0x19b)](_0x4d8798)[_0x7f62b8(0x14a)](_0x4f4b1b=>{const _0x38a4fe=_0x7f62b8,_0x10e9a0=this['_sheetsPivotDataSourceModel'][_0x38a4fe(0x187)](_0x4f4b1b);if(_0x10e9a0){const _0x2b3c2d=this[_0x38a4fe(0x2be)][_0x38a4fe(0x26b)](_0x10e9a0==null?void 0x0:_0x10e9a0[_0x38a4fe(0x1ba)],_0x10e9a0==null?void 0x0:_0x10e9a0['subUnitId'],_0x4f4b1b);_0x2b3c2d&&(this[_0x38a4fe(0x27b)](_0x4f4b1b,_0x2b3c2d['sourceRangeInfo'],_0x2b3c2d[_0x38a4fe(0x1ff)]),this['triggerDirtyFeature']([{'unitId':_0x10e9a0[_0x38a4fe(0x1ba)],'subUnitId':_0x10e9a0[_0x38a4fe(0x268)],'token':_0x4f4b1b}]));}});});}[_0x3e64d8(0x33a)](){const _0x19f772=_0x3e64d8;this[_0x19f772(0x2be)][_0x19f772(0x2d7)][_0x19f772(0x1b6)](_0x58cda7=>{const _0x2b0959=_0x19f772,{unitId:_0x10c698,subUnitId:_0x5e6f06,pivotTableId:_0x40e0c0}=_0x58cda7;_0x10c698&&_0x5e6f06&&_0x40e0c0&&this[_0x2b0959(0x33d)]([{'unitId':_0x10c698,'subUnitId':_0x5e6f06,'token':_0x40e0c0}]);});}[_0x3e64d8(0x33d)](_0x23ad99){const _0x3b4644=_0x3e64d8,_0x3150cb={};_0x23ad99['forEach'](_0x2fcbed=>{var _0x4e6841,_0xeea22e;const {unitId:_0x3a170a,subUnitId:_0x57d7b3,token:_0x544dfb}=_0x2fcbed;_0x3150cb[_0x3a170a]=(_0x4e6841=_0x3150cb[_0x3a170a])!=null?_0x4e6841:{},_0x3150cb[_0x3a170a][_0x57d7b3]=(_0xeea22e=_0x3150cb[_0x3a170a][_0x57d7b3])!=null?_0xeea22e:{},_0x3150cb[_0x3a170a][_0x57d7b3][_0x544dfb]=!0x0;}),this[_0x3b4644(0x13a)][_0x3b4644(0x279)](Vt['id'],_0x3150cb);}['removeSourceRangeChange'](_0x446af5,_0x3e80eb,_0x47b086){const _0x53bba4=_0x3e64d8;this[_0x53bba4(0x172)]['remove'](_0x446af5,_0x3e80eb,[_0x47b086]);}[_0x3e64d8(0x27b)](_0x589051,_0x5c97e9,_0x7f6a23){const _0x160adb=_0x3e64d8,{unitId:_0x2a2920,subUnitId:_0x2276c6}=_0x5c97e9;this[_0x160adb(0x172)][_0x160adb(0xe7)](_0x7f6a23['unitId'],_0x7f6a23[_0x160adb(0x268)],_0x589051)&&this[_0x160adb(0x265)](_0x2a2920,_0x2276c6,_0x589051);const _0x26fd2={'sheetId':_0x2276c6,..._0x5c97e9};this[_0x160adb(0x172)]['register'](_0x7f6a23[_0x160adb(0x1ba)],_0x7f6a23[_0x160adb(0x268)],_0x589051,{'unitId':_0x7f6a23[_0x160adb(0x1ba)],'subUnitId':_0x7f6a23[_0x160adb(0x268)],'dependencyRanges':[_0x26fd2],'getDirtyData':(_0x3a180f,_0x361f16)=>{const _0x4bc155=_0x160adb,_0x2967a2=this[_0x4bc155(0x2be)],_0x46c974=_0x2967a2[_0x4bc155(0x187)](_0x589051);if(!_0x46c974)return Os();const {unitId:_0x3da5c3,subUnitId:_0x17a748}=_0x46c974,_0xf0a4a0=Es(_0x3a180f,_0x361f16,_0x5c97e9);if(_0xf0a4a0[_0x4bc155(0x169)]>0x0){const _0xb06e98=_0x2967a2[_0x4bc155(0x1fc)](_0x2a2920,_0x589051),_0x1ccab0=_0xb06e98['getFieldIds'](),_0x3892aa=this[_0x4bc155(0x2aa)](_0x5c97e9[_0x4bc155(0x1ba)],_0x5c97e9[_0x4bc155(0x268)],_0x361f16),_0xb41bf8={},_0x65b5b=this[_0x4bc155(0x2be)][_0x4bc155(0x207)](_0x3da5c3)[_0x4bc155(0x2a2)]()||_0x42d109,_0x50b51e=[];for(const _0x42e686 of _0xf0a4a0){const _0x5559b4=_0x42e686-(_0x5c97e9[_0x4bc155(0x168)]['startColumn']||0x0),_0x3d6d07=_0x1ccab0[_0x5559b4];_0x50b51e[_0x4bc155(0x2b6)](_0x3d6d07),_0xb41bf8[_0x3d6d07]=_0xb06e98[_0x4bc155(0x1ca)](_0x3d6d07)[_0x4bc155(0x275)](),_0x2967a2[_0x4bc155(0x207)](_0x2a2920)[_0x4bc155(0xd2)](_0x3d6d07,_0x5c97e9,_0x5559b4,_0x3892aa);}_0xb06e98['getGroupFieldsInfoByIds'](_0x50b51e)[_0x4bc155(0x14a)](_0x27d18a=>{const _0x3936db=_0x4bc155,[_0x2e36f9,_0x2279f6]=_0x27d18a,_0x389dc2=_0xb06e98[_0x3936db(0x1ca)](_0x2e36f9),_0x2f2d3e=_0xb06e98['getFieldById'](_0x2279f6);_0x389dc2&&_0x2f2d3e&&_0x389dc2[_0x3936db(0x1a8)](_0x2f2d3e);}),_0xb06e98[_0x4bc155(0x1d8)]();const _0x407155=_0x2967a2[_0x4bc155(0x33f)](_0x589051);if(_0x407155){Us(_0x407155,_0xb41bf8,_0x65b5b),_0x407155[_0x4bc155(0x25f)](!0x0);const _0x4dd4d6=_0x407155[_0x4bc155(0x2ba)](),_0x8f971a=_0x2967a2['getPivotTableConfig'](_0x3da5c3,_0x17a748,_0x589051),_0x10a173=_0x2967a2['getDataFieldManager'](_0x2a2920)[_0x4bc155(0x2db)]();_0x2967a2[_0x4bc155(0x19e)](_0x3da5c3,_0x17a748,H[_0x4bc155(0x249)],_0x589051,_0x4dd4d6,_0x8f971a,_0x10a173,!0x0);}}return this[_0x4bc155(0x184)](_0x3da5c3,_0x17a748,_0x589051);}});}[_0x3e64d8(0x2aa)](_0x464de1,_0x287d69,_0x4c24dd){var _0x70c15,_0x359c8e;const {arrayFormulaCellData:_0x16dbe1,unitData:_0x450feb}=_0x4c24dd,_0x130877=(_0x70c15=_0x16dbe1==null?void 0x0:_0x16dbe1[_0x464de1])==null?void 0x0:_0x70c15[_0x287d69],_0x385ec6=(_0x359c8e=_0x450feb==null?void 0x0:_0x450feb[_0x464de1])==null?void 0x0:_0x359c8e[_0x287d69];return{'arrayFormulaCellDataMatrix':_0x130877,'unitDataMatrix':_0x385ec6};}[_0x3e64d8(0x184)](_0x20c33e,_0x2006c7,_0x248b99){const _0x6a101c=_0x3e64d8,_0x2cb4e1=this[_0x6a101c(0x2be)]['getViewData'](_0x20c33e,_0x2006c7,_0x248b99),_0xdfbc7=[],_0x47644b=new _0x2067c1();if(_0x2cb4e1){const {rangeCache:_0x375659,matrix:_0x5ca819,oldRangeCache:_0x511c6f,oldMatrix:_0x404662}=_0x2cb4e1,_0x82e5be=Ht(_0x511c6f),_0x302f7e=Ht(_0x375659);_0xdfbc7[_0x6a101c(0x2b6)](..._0x302f7e,..._0x82e5be),_0x404662&&_0x511c6f&&_0x82e5be[_0x6a101c(0x14a)](_0x28b848=>{const _0x487a39=_0x6a101c;for(let _0x559bce=_0x28b848[_0x487a39(0x31a)];_0x559bce<=_0x28b848[_0x487a39(0x129)];_0x559bce++)for(let _0x3db2b5=_0x28b848[_0x487a39(0x178)];_0x3db2b5<=_0x28b848[_0x487a39(0x1fa)];_0x3db2b5++)_0x47644b[_0x487a39(0x2fa)](_0x559bce,_0x3db2b5);}),_0x5ca819&&_0x302f7e&&_0x302f7e[_0x6a101c(0x14a)](_0x442dbf=>{const _0x160f44=_0x6a101c;for(let _0x38f7fe=_0x442dbf[_0x160f44(0x31a)];_0x38f7fe<=_0x442dbf[_0x160f44(0x129)];_0x38f7fe++)for(let _0x2a7961=_0x442dbf[_0x160f44(0x178)];_0x2a7961<=_0x442dbf[_0x160f44(0x1fa)];_0x2a7961++)_0x47644b[_0x160f44(0x1df)](_0x38f7fe,_0x2a7961,_0x5ca819[_0x160f44(0x1d2)](_0x38f7fe,_0x2a7961));});}const _0x47754d={};return _0x47754d[_0x20c33e]={[_0x2006c7]:xs(_0xdfbc7)},{'runtimeCellData':{[_0x20c33e]:{[_0x2006c7]:_0x47644b}},'dirtyRanges':_0x47754d};}[_0x3e64d8(0x295)](){}};ct=Vs([at(0x0,_0x5e764c($)),at(0x1,_0x5e764c(_0x43eff9)),at(0x2,_0x5e764c(_0x56dc87)),at(0x3,_0x5e764c(_0x14b9f2)),at(0x4,_0x5e764c(_0x4a79fb))],ct);var As=Object[_0x3e64d8(0x1f1)],ks=(_0x262b37,_0x1b6ddd,_0x365c43,_0x3a67f4)=>{for(var _0x40c83a=_0x3a67f4>0x1?void 0x0:_0x3a67f4?As(_0x1b6ddd,_0x365c43):_0x1b6ddd,_0x32d1f8=_0x262b37['length']-0x1,_0x250597;_0x32d1f8>=0x0;_0x32d1f8--)(_0x250597=_0x262b37[_0x32d1f8])&&(_0x40c83a=_0x250597(_0x40c83a)||_0x40c83a);return _0x40c83a;},_t=(_0x2d5295,_0x28d716)=>(_0x120a10,_0x38a2af)=>_0x28d716(_0x120a10,_0x38a2af,_0x2d5295);let dt=class extends _0x41248b{constructor(_0x275c66,_0x1c6b99,_0x7d2dbf,_0x2e2dd2){const _0x32bf01=_0x3e64d8;super(),V(this,'disposableCollection',new _0xd254f0()),(this[_0x32bf01(0x309)]=_0x275c66,this[_0x32bf01(0x142)]=_0x1c6b99,this['_sheetsSelectionsService']=_0x7d2dbf,this[_0x32bf01(0x329)]=_0x2e2dd2,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x2606d7=_0x3e64d8;this[_0x2606d7(0x103)](this[_0x2606d7(0x142)][_0x2606d7(0x1be)]({'getMutations':_0x1b7cbc=>{const _0x4af9fd=_0x2606d7;if(_0x1b7cbc['id']===_0x3914b7['id']||_0x1b7cbc['id']===_0x3ec062['id']){const _0x1fe5d6=[],_0x3948ea=[],_0x4bd3db=this[_0x4af9fd(0x312)]['getCurrentSelections']()[_0x4af9fd(0x224)](_0x4b5a72=>_0x4b5a72[_0x4af9fd(0x168)]),_0x2fd5e5=_0x3a629a(this[_0x4af9fd(0x309)]);if(!_0x2fd5e5)return{'redos':[],'undos':[]};const {unitId:_0x3a9641,subUnitId:_0x169cdb}=_0x2fd5e5,_0x1f9ccb={},_0x34a22f=this[_0x4af9fd(0x329)][_0x4af9fd(0x2ae)](_0x3a9641,_0x169cdb);if(_0x34a22f!=null&&_0x34a22f[_0x4af9fd(0x2b7)])for(const [_0xf2c31a,_0x24e73f]of _0x34a22f){const {unitId:_0x4ee7a3,subUnitId:_0x87fe03,row:_0x3659b3,col:_0x1b452b}=_0x24e73f[_0x4af9fd(0x1ff)];_0x4ee7a3===_0x2fd5e5[_0x4af9fd(0x1ba)]&&_0x87fe03===_0x2fd5e5[_0x4af9fd(0x268)]&&(_0x1f9ccb[_0x3659b3+'-'+_0x1b452b]=_0xf2c31a);}return _0x4bd3db&&_0x2fd5e5&&_0x4bd3db[_0x4af9fd(0x14a)](_0x2e0630=>{const _0x5da5eb=_0x4af9fd;_0x32c45e[_0x5da5eb(0x25a)](_0x2e0630,(_0x31e771,_0x4862a3)=>{const _0x45cf73=_0x5da5eb,_0x4cf8ed=_0x31e771+'-'+_0x4862a3;if(_0x1f9ccb[_0x4cf8ed]){const _0x307e0d=_0x1f9ccb[_0x4cf8ed];_0x1fe5d6[_0x45cf73(0x2b6)]({'id':Et['id'],'params':{'unitId':_0x3a9641,'subUnitId':_0x169cdb,'pivotTableId':_0x307e0d}});const _0x3f7e6f=this['_sheetsPivotTableConfigModel'][_0x45cf73(0x1fc)](_0x3a9641,_0x307e0d),_0x365621=this[_0x45cf73(0x329)][_0x45cf73(0x26b)](_0x3a9641,_0x169cdb,_0x307e0d);_0x3948ea['push']({'id':Ct['id'],'params':{'unitId':_0x3a9641,'subUnitId':_0x169cdb,'pivotTableId':_0x307e0d,'pivotTableConfig':_0x365621,'collectionConfig':_0x3f7e6f}});}});}),{'redos':_0x1fe5d6,'undos':_0x3948ea};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x4eff45),_t(0x1,_0x5e764c(_0x595b5e)),_t(0x2,_0x5e764c(_0x3cf03c)),_t(0x3,_0x5e764c(he))],dt);var Bs=Object[_0x3e64d8(0x1f1)],Ls=(_0x406740,_0x2e04fe,_0x1e7e69,_0x4e05a4)=>{const _0x2f145c=_0x3e64d8;for(var _0x3af05c=_0x4e05a4>0x1?void 0x0:_0x4e05a4?Bs(_0x2e04fe,_0x1e7e69):_0x2e04fe,_0x39fe73=_0x406740[_0x2f145c(0x169)]-0x1,_0x59538e;_0x39fe73>=0x0;_0x39fe73--)(_0x59538e=_0x406740[_0x39fe73])&&(_0x3af05c=_0x59538e(_0x3af05c)||_0x3af05c);return _0x3af05c;},rt=(_0x4a9f03,_0xcdc702)=>(_0xfca20e,_0x4124e8)=>_0xcdc702(_0xfca20e,_0x4124e8,_0x4a9f03);let ut=class extends _0x41248b{constructor(_0x13660e,_0x320a91,_0xfcd33e,_0x7c3a49,_0x2680e6){const _0x520edc=_0x3e64d8;super(),this[_0x520edc(0x142)]=_0x13660e,this[_0x520edc(0x146)]=_0x320a91,this[_0x520edc(0x309)]=_0xfcd33e,this[_0x520edc(0x329)]=_0x7c3a49,this['_sheetsPivotTableService']=_0x2680e6,this[_0x520edc(0x1e9)]();}['_getPivotAppliedRanges'](_0x138646,_0x41c16f,_0x1d29e2){const _0x242483=_0x3e64d8,{pageView:_0x481c0f,cornerView:_0x40f198,rowView:_0x3e3839,colView:_0x225934,dataView:_0x4317ed}=_0x41c16f,_0x5e5e74=_0x138646;let _0x1e6cb2;if(_0x1d29e2)_0x1e6cb2=[...Ai(_0x5e5e74)];else{const _0x3476d1=ge(_0x5e5e74,_0x481c0f,!0x0),_0x53dbae=_0x481c0f[_0x242483(0x21e)]>=0x0?_0x481c0f[_0x242483(0x21e)]+0x1:0x0,_0x4d9d59=_0x40f198[_0x242483(0x114)],_0x45b444=_0x40f198[_0x242483(0x101)],_0x2df96b=_0x3476d1[_0x242483(0x169)]>0x0?mt:0x0,_0x3247d6=ge({'row':_0x5e5e74['row']+_0x53dbae+_0x2df96b,'col':_0x5e5e74['col']},_0x40f198,!0x1,!0x1),_0x588c5b=ge({'row':_0x5e5e74[_0x242483(0x2e7)]+_0x53dbae+_0x2df96b+_0x4d9d59,'col':_0x5e5e74['col']},_0x3e3839,!0x1,!0x0),_0x10319f=ge({'row':_0x5e5e74['row']+_0x53dbae+_0x2df96b,'col':_0x5e5e74[_0x242483(0x2c4)]+_0x45b444},_0x225934,!0x1,!0x0),_0x2176dc=ge({'row':_0x5e5e74[_0x242483(0x2e7)]+_0x53dbae+_0x2df96b+_0x4d9d59,'col':_0x5e5e74['col']+_0x45b444},_0x4317ed,!0x1,!0x0);_0x1e6cb2=[..._0x3476d1,..._0x3247d6,..._0x588c5b,..._0x10319f,..._0x2176dc];}return _0x1e6cb2;}[_0x3e64d8(0x1e9)](){const _0x3adbbf=_0x3e64d8;this[_0x3adbbf(0x103)](this[_0x3adbbf(0x313)]['interceptor'][_0x3adbbf(0x218)](this['_sheetsPivotTableService'][_0x3adbbf(0x236)][_0x3adbbf(0x139)]()[_0x3adbbf(0x285)],{'handler':(_0x10c978,_0x10eb70)=>{const _0x40d9cf=_0x3adbbf,{cellInfo:_0x15853f,view:_0x4495c6,isEmpty:_0x361363}=_0x10eb70,_0x549224=_0x15853f,{unitId:_0x11c22b,subUnitId:_0x1c863d}=_0x549224,_0x116263=this[_0x40d9cf(0x310)](_0x15853f,_0x4495c6,_0x361363),_0x11fdb2=this[_0x40d9cf(0x142)][_0x40d9cf(0x19d)]({'unitId':_0x11c22b,'subUnitId':_0x1c863d,'ranges':_0x116263}),_0x37f9fa=Go(this[_0x40d9cf(0x146)],_0x11c22b,_0x1c863d,_0x116263);_0x37f9fa['shouldClear']&&(_0x11fdb2['redos'][_0x40d9cf(0x2b6)](_0x37f9fa[_0x40d9cf(0x2c7)]),_0x11fdb2[_0x40d9cf(0x1d3)]['push'](_0x37f9fa[_0x40d9cf(0x1e1)]));const _0x540f8f=this['getAutoFitColumnsMutations'](_0x4495c6,_0x15853f);return _0x11fdb2['redos'][_0x40d9cf(0x2b6)](..._0x540f8f[_0x40d9cf(0x288)]),_0x11fdb2[_0x40d9cf(0x1d3)][_0x40d9cf(0x2b6)](..._0x540f8f[_0x40d9cf(0x1d3)]),{'redos':_0x11fdb2[_0x40d9cf(0x288)],'undos':_0x11fdb2[_0x40d9cf(0x1d3)]};}}));}[_0x3e64d8(0x160)](_0x351b70,_0x34ec80){const _0x5dae48=_0x3e64d8,{col:_0x2f1f29,unitId:_0x3202f7,subUnitId:_0x233053}=_0x34ec80,_0x515de1=[],_0x3dfaf2=[],_0x3d11f7=_0x3a629a(this['_univerInstanceService'],{'unitId':_0x3202f7,'subUnitId':_0x233053});if(!_0x34ec80||!_0x351b70||!_0x3d11f7)return{'undos':_0x3dfaf2,'redos':_0x515de1};const _0x59287f=this[_0x5dae48(0x329)][_0x5dae48(0x175)](),{colView:_0xddf1ed,dataView:_0x4a18df,cornerView:_0x23a7dc,rowView:_0x5e3392,formatMap:_0xfc166b}=_0x351b70,_0x502d57=Mo(_0xddf1ed,_0x59287f,!0x0,_0xfc166b),_0x1bfc98=Mo(_0x5e3392,_0x59287f,!0x1,_0xfc166b),_0x115ccf=Li(_0x4a18df),_0x4ebe0c=Hi(_0x23a7dc),{worksheet:_0x14e491}=_0x3d11f7;if(typeof window<'u'&&window[_0x5dae48(0x322)]){const _0x19884f=_0x205650({...fe[_0x5dae48(0x1a7)]}),_0x16fbd1=_0x4c6db8[_0x5dae48(0x325)](_0x502d57,_0x19884f)[_0x5dae48(0x136)]+0x10,_0x6042a7=_0x4c6db8[_0x5dae48(0x325)](_0x115ccf,_0x19884f)[_0x5dae48(0x136)],_0x1c7e9f=Math[_0x5dae48(0x199)](Math['max'](_0x16fbd1,_0x6042a7))+0x10,_0x31d88a=Math['floor'](_0x4c6db8['getTextSize'](_0x1bfc98,_0x19884f)[_0x5dae48(0x136)]),_0x312e6a=Math[_0x5dae48(0x199)](_0x4c6db8[_0x5dae48(0x325)](_0x4ebe0c,_0x19884f)[_0x5dae48(0x136)]),_0x316592=Math[_0x5dae48(0x343)](_0x31d88a,_0x312e6a,0x28)+0xc,_0x39f494=_0xddf1ed[_0x5dae48(0x101)]+_0x23a7dc['colCount'],_0x351e76={},_0x238ef0={};for(let _0x3238cc=_0x2f1f29;_0x3238cc<_0x2f1f29+_0x39f494;_0x3238cc++){const _0x18b5a6=_0x14e491[_0x5dae48(0x12e)](_0x3238cc);_0x351e76[_0x3238cc]=_0x18b5a6,_0x3238cc-_0x2f1f29<_0x23a7dc[_0x5dae48(0x101)]?_0x238ef0[_0x3238cc-_0x2f1f29]=_0x316592:_0x238ef0[_0x3238cc-_0x2f1f29]=_0x1c7e9f;}_0x515de1[_0x5dae48(0x2b6)]({'id':_0x15cb3a['id'],'params':{'subUnitId':_0x233053,'unitId':_0x3202f7,'ranges':[{'startColumn':_0x2f1f29,'endColumn':_0x2f1f29+_0x39f494-0x1,'startRow':0x0,'endRow':_0x14e491[_0x5dae48(0x240)]()-0x1}],'colWidth':_0x238ef0}}),_0x3dfaf2[_0x5dae48(0x2b6)]({'id':_0x15cb3a['id'],'params':{'subUnitId':_0x233053,'unitId':_0x3202f7,'ranges':[{'startColumn':_0x2f1f29,'endColumn':_0x2f1f29+_0x39f494-0x1,'startRow':0x0,'endRow':_0x14e491[_0x5dae48(0x240)]()-0x1}],'colWidth':_0x351e76}});}return{'undos':_0x3dfaf2,'redos':_0x515de1};}};ut=Ls([rt(0x0,_0x5e764c(_0x595b5e)),rt(0x1,_0x5e764c(_0x4a79fb)),rt(0x2,_0x5e764c(_0x4eff45)),rt(0x3,_0x5e764c(he)),rt(0x4,_0x5e764c(ie))],ut);var Hs=Object[_0x3e64d8(0x1f1)],$s=(_0x3edb03,_0x3bd5e5,_0x485d1c,_0x10884e)=>{const _0x186a17=_0x3e64d8;for(var _0x53e27a=_0x10884e>0x1?void 0x0:_0x10884e?Hs(_0x3bd5e5,_0x485d1c):_0x3bd5e5,_0x501588=_0x3edb03[_0x186a17(0x169)]-0x1,_0x185631;_0x501588>=0x0;_0x501588--)(_0x185631=_0x3edb03[_0x501588])&&(_0x53e27a=_0x185631(_0x53e27a)||_0x53e27a);return _0x53e27a;},Ae=(_0x3db834,_0x2b2e46)=>(_0x4ebab6,_0x2504ae)=>_0x2b2e46(_0x4ebab6,_0x2504ae,_0x3db834);let ft=class extends _0x41248b{constructor(_0x69b325,_0x10dd7d,_0x4ea7e6,_0x5a0604,_0x41cfcd,_0x20820c,_0x6ce65c){const _0x6342be=_0x3e64d8;super(),V(this,_0x6342be(0x2a1),new _0xd254f0()),(this[_0x6342be(0x146)]=_0x69b325,this[_0x6342be(0x2c1)]=_0x10dd7d,this[_0x6342be(0x13a)]=_0x4ea7e6,this[_0x6342be(0x309)]=_0x5a0604,this[_0x6342be(0x329)]=_0x41cfcd,this['_sheetsPivotTableAdaptorModel']=_0x20820c,this[_0x6342be(0x142)]=_0x6ce65c,this['_onRefRangeChange']());}[_0x3e64d8(0x1ab)](){const _0x58601b=_0x3e64d8,_0x4c873b=(_0x407337,_0x2dc17d)=>{const _0x225315=_0x141d,_0x24eb76=this[_0x225315(0x309)]['getCurrentUnitForType'](_0x273a5e[_0x225315(0x180)]);if(!_0x24eb76||!(_0x24eb76==null?void 0x0:_0x24eb76[_0x225315(0x190)](_0x2dc17d)))return;this[_0x225315(0x2a1)][_0x225315(0x295)]();const _0x3ba1eb=_0x552a2c=>this['_refRangeHandle'](_0x552a2c,_0x407337,_0x2dc17d),_0x5a5d41=this[_0x225315(0x329)]['getSubUnitPivotConfigs'](_0x407337,_0x2dc17d);if(!(_0x5a5d41!=null&&_0x5a5d41[_0x225315(0x2b7)]))return;Array[_0x225315(0x202)](_0x5a5d41[_0x225315(0x21d)]())[_0x225315(0x224)](_0x31b000=>{const _0x5d1c19=_0x225315,{row:_0x2f2d6f,col:_0x17ea77}=_0x31b000[_0x5d1c19(0x1ff)];return _0x42af7f(_0x2f2d6f,_0x17ea77);})['forEach'](_0x15280c=>{const _0x4a9742=_0x225315;this[_0x4a9742(0x2a1)][_0x4a9742(0x167)](this['_refRangeService'][_0x4a9742(0x2ee)](_0x15280c,_0x3ba1eb,_0x407337,_0x2dc17d));});},_0x197350=()=>{const _0xb2db44=_0x141d,_0x45f1f4=this[_0xb2db44(0x309)][_0xb2db44(0x18d)](_0x273a5e[_0xb2db44(0x180)]);if(_0x45f1f4){const _0x40e9c0=_0x45f1f4[_0xb2db44(0x118)]();if(!_0x40e9c0)return;_0x4c873b(_0x45f1f4[_0xb2db44(0x337)](),_0x40e9c0[_0xb2db44(0x18e)]());}};this[_0x58601b(0x103)](this[_0x58601b(0x13a)]['onCommandExecuted'](_0x1b5b82=>{const _0x50a015=_0x58601b;if(_0x1b5b82['id']===_0x167c02['id']){const _0x5661ac=_0x1b5b82['params'],_0x3232c2=_0x5661ac[_0x50a015(0x268)],_0x4dd10a=_0x5661ac[_0x50a015(0x1ba)];if(!_0x3232c2||!_0x4dd10a)return;_0x4c873b(_0x4dd10a,_0x3232c2);}})),this['disposeWithMe'](this[_0x58601b(0x329)][_0x58601b(0x311)][_0x58601b(0x1b6)](_0x23fc23=>{_0x23fc23&&_0x197350();})),this['disposeWithMe'](this[_0x58601b(0x329)][_0x58601b(0x1dc)][_0x58601b(0x1b6)](_0x393375=>{const _0xa5053d=_0x58601b,_0xa37057=_0x3a629a(this[_0xa5053d(0x309)]);if(!_0xa37057)return;const {unitId:_0x5e31da,subUnitId:_0x460fbb}=_0xa37057,{unitId:_0x3fa408,subUnitId:_0x5e2ff7}=_0x393375;_0x5e31da!==_0x3fa408||_0x460fbb!==_0x5e2ff7||_0x4c873b(_0x5e31da,_0x460fbb);})),_0x197350();}['_refRangeHandle'](_0x50ad5e,_0x494451,_0x4f15f4){const _0x2b4543=_0x3e64d8;switch(_0x50ad5e['id']){case _0x581a37['id']:return this['getRefRangeMutationsByMoveRange'](_0x50ad5e[_0x2b4543(0x1e6)],_0x494451,_0x4f15f4);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x27aecc,_0x4ec927,_0x4cdb74){const _0x4ceb78=_0x3e64d8,{fromRange:_0x4d6fa5,toRange:_0x2bf98c}=_0x27aecc,_0x488f12=[],_0x7b3523=[],_0x15239a=_0x3a629a(this['_univerInstanceService']);if(!_0x15239a)return{'undos':_0x7b3523,'redos':_0x488f12};if(_0x4ec927!==_0x15239a['unitId']||_0x4cdb74!==_0x15239a[_0x4ceb78(0x268)])return{'undos':_0x7b3523,'redos':_0x488f12};const _0x141365=this[_0x4ceb78(0x329)][_0x4ceb78(0x2ae)](_0x4ec927,_0x4cdb74);if(_0x141365!=null&&_0x141365[_0x4ceb78(0x2b7)])for(const [_0x3d6fa4,_0x4528d9]of _0x141365){const {unitId:_0x430aef,subUnitId:_0x530dbd,row:_0xe76f12,col:_0x324273}=_0x4528d9[_0x4ceb78(0x1ff)];if(_0x430aef===_0x15239a[_0x4ceb78(0x1ba)]&&_0x530dbd===_0x15239a['subUnitId']){const _0x3eaf62=_0x42af7f(_0xe76f12,_0x324273);if(_0x5e2546[_0x4ceb78(0x1f6)](_0x3eaf62,_0x4d6fa5)){const _0x13e290=_0xe76f12-_0x4d6fa5[_0x4ceb78(0x31a)],_0x5288fa=_0x324273-_0x4d6fa5['startColumn'],_0x20debf={'row':_0x2bf98c[_0x4ceb78(0x31a)]+_0x13e290,'col':_0x2bf98c[_0x4ceb78(0x178)]+_0x5288fa};_0x488f12[_0x4ceb78(0x2b6)]({'id':pt['id'],'params':{'unitId':_0x430aef,'subUnitId':_0x530dbd,'pivotTableId':_0x3d6fa4,'targetCellPosition':_0x20debf}}),_0x7b3523[_0x4ceb78(0x2b6)]({'id':pt['id'],'params':{'unitId':_0x430aef,'subUnitId':_0x530dbd,'pivotTableId':_0x3d6fa4,'targetCellPosition':{'row':_0xe76f12,'col':_0x324273}}});const _0x9191d8=_0x20debf[_0x4ceb78(0x2e7)]-_0xe76f12,_0x46f617=_0x20debf[_0x4ceb78(0x2c4)]-_0x324273,_0x3660c0=[],_0x188bb4=this['_sheetsPivotTableAdaptorModel'][_0x4ceb78(0x29c)](_0x430aef,_0x530dbd,_0x3d6fa4),_0x5d77c0=_0x188bb4==null?void 0x0:_0x188bb4['rangesInfo'];if(_0x5d77c0){Object[_0x4ceb78(0x19b)](_0x5d77c0)['forEach'](_0x3db931=>{_0x5d77c0[_0x3db931]['forEach'](_0x32cb8a=>{const _0x51c5fd=_0x141d,_0x4964f7={..._0x32cb8a};_0x4964f7[_0x51c5fd(0x31a)]=_0x32cb8a['startRow']+_0x9191d8,_0x4964f7['endRow']=_0x32cb8a[_0x51c5fd(0x129)]+_0x9191d8,_0x4964f7[_0x51c5fd(0x178)]=_0x32cb8a[_0x51c5fd(0x178)]+_0x46f617,_0x4964f7[_0x51c5fd(0x1fa)]=_0x32cb8a[_0x51c5fd(0x1fa)]+_0x46f617,_0x3660c0[_0x51c5fd(0x2b6)](_0x4964f7);});});const _0x188105=this['_sheetInterceptorService'][_0x4ceb78(0x19d)]({'unitId':_0x430aef,'subUnitId':_0x530dbd,'ranges':_0x3660c0});_0x488f12[_0x4ceb78(0x2b6)](..._0x188105[_0x4ceb78(0x288)]),_0x7b3523[_0x4ceb78(0x2b6)](..._0x188105[_0x4ceb78(0x1d3)]);const _0x187114=Go(this['_injector'],_0x430aef,_0x530dbd,_0x3660c0);_0x187114['shouldClear']&&(_0x488f12[_0x4ceb78(0x2b6)](_0x187114[_0x4ceb78(0x2c7)]),_0x7b3523['push'](_0x187114[_0x4ceb78(0x1e1)]));}}}}return{'redos':_0x488f12,'undos':_0x7b3523};}};ft=$s([Ae(0x0,_0x5e764c(_0x4a79fb)),Ae(0x1,_0x5e764c(_0x5463fa)),Ae(0x2,_0x56dc87),Ae(0x3,_0x4eff45),Ae(0x4,_0x5e764c(he)),Ae(0x5,_0x5e764c(Ne)),Ae(0x6,_0x5e764c(_0x595b5e))],ft);var Js=Object[_0x3e64d8(0x1f1)],Ws=(_0xbf6c02,_0x4a93e6,_0x69fef5,_0x2b577e)=>{const _0x110f63=_0x3e64d8;for(var _0x39906a=_0x2b577e>0x1?void 0x0:_0x2b577e?Js(_0x4a93e6,_0x69fef5):_0x4a93e6,_0x544f9e=_0xbf6c02[_0x110f63(0x169)]-0x1,_0x48666a;_0x544f9e>=0x0;_0x544f9e--)(_0x48666a=_0xbf6c02[_0x544f9e])&&(_0x39906a=_0x48666a(_0x39906a)||_0x39906a);return _0x39906a;},wo=(_0x2ce3b2,_0x58697b)=>(_0x5bba81,_0x38b82e)=>_0x58697b(_0x5bba81,_0x38b82e,_0x2ce3b2);let gt=class extends _0x41248b{constructor(_0x11e850,_0x325d78){const _0x590751=_0x3e64d8;super(),this[_0x590751(0x142)]=_0x11e850,this[_0x590751(0x329)]=_0x325d78,this[_0x590751(0xef)]();}[_0x3e64d8(0xef)](){const _0x49c7ed=_0x3e64d8;this[_0x49c7ed(0x103)](this['_sheetInterceptorService'][_0x49c7ed(0x1be)]({'getMutations':_0x5a44fe=>{const _0x241fdc=_0x49c7ed;if(_0x5a44fe['id']===_0x61ec53['id']){const _0xc2e861=[],_0x368a0d=[],_0x4976bc=_0x5a44fe[_0x241fdc(0x1e6)],{unitId:_0x259b7a,subUnitId:_0x558cf4}=_0x4976bc;if(!_0x259b7a||!_0x558cf4)return{'undos':_0x368a0d,'redos':_0xc2e861};const _0x2b057b=this[_0x241fdc(0x329)][_0x241fdc(0x2ae)](_0x259b7a,_0x558cf4);if(_0x2b057b!=null&&_0x2b057b[_0x241fdc(0x2b7)])for(const [_0x3e3822,_0x5853f2]of _0x2b057b){_0xc2e861[_0x241fdc(0x2b6)]({'id':Et['id'],'params':{'unitId':_0x259b7a,'subUnitId':_0x558cf4,'pivotTableId':_0x3e3822}});const _0x9c9030={...this[_0x241fdc(0x329)][_0x241fdc(0x1fc)](_0x259b7a,_0x3e3822)};_0x368a0d[_0x241fdc(0x2b6)]({'id':Ct['id'],'params':{'unitId':_0x259b7a,'subUnitId':_0x558cf4,'pivotTableId':_0x3e3822,'pivotTableConfig':_0x5853f2,'collectionConfig':_0x9c9030}});}return{'redos':_0xc2e861,'undos':_0x368a0d};}return{'redos':[],'undos':[]};}}));}};gt=Ws([wo(0x0,_0x5e764c(_0x595b5e)),wo(0x1,_0x5e764c(he))],gt);var js=Object[_0x3e64d8(0x1f1)],Gs=(_0x9c4b9d,_0x1ed5c7,_0x178b58,_0x20d840)=>{const _0x238832=_0x3e64d8;for(var _0x45f900=_0x20d840>0x1?void 0x0:_0x20d840?js(_0x1ed5c7,_0x178b58):_0x1ed5c7,_0x320ac0=_0x9c4b9d[_0x238832(0x169)]-0x1,_0x2ca70b;_0x320ac0>=0x0;_0x320ac0--)(_0x2ca70b=_0x9c4b9d[_0x320ac0])&&(_0x45f900=_0x2ca70b(_0x45f900)||_0x45f900);return _0x45f900;},je=(_0x4cd01e,_0x5c450b)=>(_0x276230,_0x5588e4)=>_0x5c450b(_0x276230,_0x5588e4,_0x4cd01e);let vt=class extends _0x41248b{constructor(_0x31108d,_0x5897e3,_0x9db0e5,_0x3496ff,_0x2ff3c8,_0x179fb7){const _0x386e9d=_0x3e64d8;super(),this[_0x386e9d(0x13a)]=_0x31108d,this[_0x386e9d(0x321)]=_0x5897e3,this[_0x386e9d(0x198)]=_0x9db0e5,this[_0x386e9d(0x329)]=_0x3496ff,this[_0x386e9d(0x309)]=_0x2ff3c8,this[_0x386e9d(0x296)]=_0x179fb7,this[_0x386e9d(0x23e)](),this[_0x386e9d(0x112)]();}['_initDataSendListener'](){const _0x1a7ffd=_0x3e64d8;this[_0x1a7ffd(0x103)](this[_0x1a7ffd(0x13a)]['onCommandExecuted'](_0x2cd47d=>{const _0x128bc9=_0x1a7ffd;if(_0x2cd47d['id']!==lo['id'])return;const _0x5ad930=_0x2cd47d[_0x128bc9(0x1e6)];this[_0x128bc9(0x321)]['handleAsyncResponse'](_0x5ad930);})),this[_0x1a7ffd(0x103)](this[_0x1a7ffd(0x13a)]['onCommandExecuted'](_0x1a5bfc=>{const _0x2ac570=_0x1a7ffd;if(_0x1a5bfc['id']===co['id']){const _0x33ee7b=_0x1a5bfc[_0x2ac570(0x1e6)];if(_0x33ee7b){const {unitId:_0x54e192,subUnitId:_0x194169,oldSubUnitId:_0x56d3d1,pivotTableId:_0x4f58fd,pivotTableConfig:_0x48ef8e,collectionConfig:_0x8665ee}=_0x33ee7b;this[_0x2ac570(0x329)][_0x2ac570(0x21a)](_0x54e192,_0x56d3d1,_0x33ee7b[_0x2ac570(0x152)],null),this[_0x2ac570(0x329)][_0x2ac570(0x21a)](_0x54e192,_0x194169,_0x4f58fd,_0x48ef8e),this[_0x2ac570(0x329)][_0x2ac570(0x133)](_0x54e192,_0x8665ee);}}})),this[_0x1a7ffd(0x103)](this[_0x1a7ffd(0x13a)][_0x1a7ffd(0x319)](_0x49f192=>{const _0x183db2=_0x1a7ffd;if(_0x49f192['id']!==Dt['id'])return;const _0x4f1760=_0x3a629a(this[_0x183db2(0x309)]);if(!_0x4f1760)return;const {unitId:_0x4e3199,subUnitId:_0x5464e1}=_0x4f1760,_0x215bb5=_0x49f192[_0x183db2(0x1e6)];if(_0x215bb5[_0x183db2(0xfb)]&&Object[_0x183db2(0x19b)](_0x215bb5['collectionConfig'])[_0x183db2(0x14a)](_0x14a158=>{const _0x5ecf47=_0x183db2;var _0x1bb902;(_0x1bb902=_0x215bb5[_0x5ecf47(0xfb)])!=null&&_0x1bb902[_0x14a158]&&this[_0x5ecf47(0x329)][_0x5ecf47(0x133)](_0x14a158,_0x215bb5[_0x5ecf47(0xfb)][_0x14a158]);}),_0x215bb5['single']){const _0x35aed8=_0x215bb5[_0x183db2(0x32f)],{unitId:_0xe72b58,subUnitId:_0x36a9e1,view:_0x51c4cb,pivotTableId:_0x1df494,type:_0x5705b5,pivotConfig:_0x30fa90}=_0x35aed8;if(_0x5705b5===H['Delete'])this[_0x183db2(0x198)]['clearRenderCache']({'unitId':_0xe72b58,'subUnitId':_0x36a9e1,'pivotTableId':_0x1df494,'type':_0x5705b5}),this[_0x183db2(0x329)][_0x183db2(0x21a)](_0xe72b58,_0x36a9e1,_0x1df494,null);else{const _0x1bad4b=new _0x7d4b1b();_0x1bad4b[_0x183db2(0x1b4)](_0x51c4cb),this[_0x183db2(0x329)]['updateConfigCache'](_0xe72b58,_0x36a9e1,_0x1df494,_0x30fa90),this[_0x183db2(0x198)][_0x183db2(0x2a0)]({'unitId':_0xe72b58,'subUnitId':_0x36a9e1,'pivotTableId':_0x1df494,'type':_0x5705b5,'view':_0x1bad4b}),this[_0x183db2(0x198)][_0x183db2(0x25c)]({'unitId':_0xe72b58,'subUnitId':_0x36a9e1,'view':_0x1bad4b,'pivotTableId':_0x1df494,'type':_0x5705b5});}}else _0x215bb5['batch']&&(_0x215bb5[_0x183db2(0x251)][_0x183db2(0x14a)](_0x2584fe=>{const _0x55aa83=_0x183db2,{unitId:_0x3ed39d,subUnitId:_0x490c3e,view:_0x4a33b5,pivotTableId:_0xd565b1,type:_0x36e4be,pivotConfig:_0x5bc270}=_0x2584fe,_0x11b75d=new _0x7d4b1b();_0x11b75d['formJSON'](_0x4a33b5),this['_sheetsPivotTableConfigModel'][_0x55aa83(0x21a)](_0x3ed39d,_0x490c3e,_0xd565b1,_0x5bc270),this[_0x55aa83(0x198)][_0x55aa83(0x25c)]({'unitId':_0x3ed39d,'subUnitId':_0x490c3e,'view':_0x11b75d,'pivotTableId':_0xd565b1,'type':_0x36e4be});}),this[_0x183db2(0x329)][_0x183db2(0x300)]());this[_0x183db2(0x198)][_0x183db2(0x185)](_0x4e3199,_0x5464e1);}));}[_0x3e64d8(0x112)](){const _0x547d67=_0x3e64d8;this[_0x547d67(0x296)][_0x547d67(0x244)](Vt['id'],{'commandId':Vt['id'],'getDirtyData'(_0x1fcaf7){const _0xd5938c=_0x547d67;return{'dirtyUnitFeatureMap':_0x1fcaf7[_0xd5938c(0x1e6)]};}});}};vt=Gs([je(0x0,_0x5e764c(_0x56dc87)),je(0x1,_0x5e764c(Z)),je(0x2,_0x5e764c(Ne)),je(0x3,_0x5e764c(he)),je(0x4,_0x5e764c(_0x4eff45)),je(0x5,_0x43401c)],vt);var Ks=Object[_0x3e64d8(0x2f6)],qs=Object[_0x3e64d8(0x1f1)],Ys=(_0x1abf57,_0x2b1011,_0x1366e7)=>_0x2b1011 in _0x1abf57?Ks(_0x1abf57,_0x2b1011,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1366e7}):_0x1abf57[_0x2b1011]=_0x1366e7,zs=(_0x8608bb,_0x4880c4,_0x1a6c06,_0x38a68f)=>{const _0x9e98f7=_0x3e64d8;for(var _0x4c65f5=_0x38a68f>0x1?void 0x0:_0x38a68f?qs(_0x4880c4,_0x1a6c06):_0x4880c4,_0x56d2bc=_0x8608bb[_0x9e98f7(0x169)]-0x1,_0x552549;_0x56d2bc>=0x0;_0x56d2bc--)(_0x552549=_0x8608bb[_0x56d2bc])&&(_0x4c65f5=_0x552549(_0x4c65f5)||_0x4c65f5);return _0x4c65f5;},Ft=(_0x3e0f50,_0x2d4017)=>(_0x1089cc,_0x2208c7)=>_0x2d4017(_0x1089cc,_0x2208c7,_0x3e0f50),Qo=(_0x20b29a,_0x5f4d30,_0x1cd518)=>Ys(_0x20b29a,typeof _0x5f4d30!=_0x3e64d8(0xf3)?_0x5f4d30+'':_0x5f4d30,_0x1cd518);let Ot=class extends _0x39cb72{constructor(_0x1456b4=To,_0x485523,_0x157f85,_0x21e41a,_0x39ddf5){const _0x53d177=_0x3e64d8;super(),this[_0x53d177(0x1bc)]=_0x1456b4,this[_0x53d177(0x146)]=_0x485523,this[_0x53d177(0x13a)]=_0x157f85,this[_0x53d177(0x26e)]=_0x21e41a,this[_0x53d177(0x1f4)]=_0x39ddf5;const {..._0x1177cd}=_0x45a86b({},To,this['_config']);this[_0x53d177(0x26e)][_0x53d177(0x25b)](qo,_0x1177cd),this[_0x53d177(0x330)](),this[_0x53d177(0x23a)]();}[_0x3e64d8(0x23a)](){const _0x36f504=_0x3e64d8;var _0x48aed2;const _0x2b4194=(_0x48aed2=this['_config'])==null?void 0x0:_0x48aed2['notExecuteFormula'];this['_configService'][_0x36f504(0x25b)](q,_0x2b4194===!0x0);}[_0x3e64d8(0x135)](){const _0x5adb84=_0x3e64d8;var _0x1cb49a;let _0x47a186=[];const _0x2bf657=(_0x1cb49a=this['_config'])==null?void 0x0:_0x1cb49a[_0x5adb84(0x216)];_0x2bf657===!0x0?_0x47a186=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x2bf657===!0x1?_0x47a186=[[$],[ct]]:_0x2bf657===void 0x0&&(_0x47a186=[[$],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x47a186[_0x5adb84(0x14a)](_0x5ee610=>this[_0x5adb84(0x146)][_0x5adb84(0x167)](_0x5ee610)),[ct,vt,ie,dt,gt,ft,ut][_0x5adb84(0x14a)](_0x465795=>{const _0x5dd146=_0x5adb84;this[_0x5dd146(0x146)]['has'](_0x465795)&&this[_0x5dd146(0x146)]['get'](_0x465795);});}[_0x3e64d8(0x330)](){[hs,ps,vs,Is,Cs,ys,Ds,bs,Ss,Ps,Ms,Ts,ws,ms,Ct,oo,Et,$t,Yo,zo,Kt,Jt,Wt,jt,Yt,qt,pt,ro,lo,Dt,Xt,eo,zt,Gt,uo,to,Zt,Vt,co,_s,Qt,Fs,Rs]['forEach'](_0x92157d=>{const _0x94b344=_0x141d;var _0x4a46c9;(_0x4a46c9=this['_dataSyncPrimaryController'])==null||_0x4a46c9[_0x94b344(0x220)](_0x92157d),this['_commandService']['registerCommand'](_0x92157d);});}};Qo(Ot,'pluginName',ao),Qo(Ot,_0x3e64d8(0x1da),_0x273a5e['UNIVER_SHEET']),Ot=zs([_0xa5a44(_0x214898),Ft(0x1,_0x5e764c(_0x4a79fb)),Ft(0x2,_0x5e764c(_0x56dc87)),Ft(0x3,_0x1b9dd7),Ft(0x4,_0x3c8be7(_0x11af54))],Ot);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,ms as PivotDrillDownCommand,H as PivotTableOperationEnum,Vt as PivotTableViewDirtyMarkOperation,ko as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,jt as SetPivotCollapseMutation,Gt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ps as SetPivotFilterCommand,Kt as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ss as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ot as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ms as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ts as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ie as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Go as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ui as getPivotCellInfo,go as getPivotInfoByLicense,Ei as getPivotTableInfo,ht as transFromCellValue,Ht as unionPivotViewRange};
1
+ const _0x56d0e0=_0x3ed0;(function(_0x5d033f,_0x27378a){const _0x4dce41=_0x3ed0,_0x643c9a=_0x5d033f();while(!![]){try{const _0x525d68=-parseInt(_0x4dce41(0x17d))/0x1*(-parseInt(_0x4dce41(0x2bc))/0x2)+-parseInt(_0x4dce41(0x12e))/0x3+-parseInt(_0x4dce41(0x22a))/0x4*(-parseInt(_0x4dce41(0xa4))/0x5)+parseInt(_0x4dce41(0x1ea))/0x6*(parseInt(_0x4dce41(0x2f7))/0x7)+parseInt(_0x4dce41(0x2e8))/0x8*(parseInt(_0x4dce41(0xa7))/0x9)+-parseInt(_0x4dce41(0x1ee))/0xa+-parseInt(_0x4dce41(0xf3))/0xb*(-parseInt(_0x4dce41(0x1b2))/0xc);if(_0x525d68===_0x27378a)break;else _0x643c9a['push'](_0x643c9a['shift']());}catch(_0x351f77){_0x643c9a['push'](_0x643c9a['shift']());}}}(_0x26dd,0xd693c));function _0x3ed0(_0x2d662d,_0x91c937){const _0x26ddd4=_0x26dd();return _0x3ed0=function(_0x3ed03b,_0x5b4de2){_0x3ed03b=_0x3ed03b-0x95;let _0x58dc9c=_0x26ddd4[_0x3ed03b];return _0x58dc9c;},_0x3ed0(_0x2d662d,_0x91c937);}var sn=Object['defineProperty'],an=(_0x1b7ab7,_0x5772db,_0x2011a0)=>_0x5772db in _0x1b7ab7?sn(_0x1b7ab7,_0x5772db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2011a0}):_0x1b7ab7[_0x5772db]=_0x2011a0,x=(_0x3c4877,_0x3aa5e7,_0xabf53e)=>an(_0x3c4877,typeof _0x3aa5e7!=_0x56d0e0(0x258)?_0x3aa5e7+'':_0x3aa5e7,_0xabf53e);import{PivotCellStyleTypeEnum as _0x21cce1,PivotViewCellValueTypeEnum as _0x2f6d80,isPrefixValue as _0x575876,isErrorValue as _0x169058,PivotErrorTypeEnum as _0xae7c34,PivotDateGroupFieldDateTypeEnum as _0x48b318,DataFieldManager as _0x52f968,FieldsCollection as _0x490a96,isDateValue as _0x3a4a11,DataField as _0x1b9bfa,generateHexNumber as _0x5f23b3,isBaseGroupField as _0x4cb430,PivotTable as _0x2d1deb,PivotSubtotalTypeEnum as _0x2d4c9c,PivotTableFiledAreaEnum as _0x209a53,excelDateToUnixMilliseconds as _0x5948f3,createValueField as _0x388633,createLabelField as _0xf31d68,PivotTableChangeTypeEnum as _0x457734,BaseGroupField as _0x3f8cde,PivotView as _0x10dd37,isDateGroupFieldJSON as _0x3d1b43,PivotCallbackEnum as _0x1f9b4d,PivotFilterTypeEnum as _0x2c2e76,getAutoDisplayName as _0x3728f5,PivotDataFieldDataTypeEnum as _0x215fad,PivotTableValuePositionEnum as _0x542f1a,isDateGroupField as _0x14b378,DateGroupField as _0x165595}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x301f71,ObjectMatrix as _0x3ca4f2,IUniverInstanceService as _0xcc1cef,UniverInstanceType as _0x318ece,CellValueType as _0xdf1541,numfmt as _0x572683,LocaleService as _0x20e317,createAsyncInterceptorKey as _0x174b12,createInterceptorKey as _0x4f3329,CommandType as _0x1d2c8e,RANGE_TYPE as _0x2128d3,numberToABC as _0x2c9960,Inject as _0x4baf86,Injector as _0x2d4021,LifecycleService as _0x3ff1c4,ICommandService as _0x20632e,IResourceManagerService as _0x8338a8,Disposable as _0x5876c8,Rectangle as _0x1d39b7,IConfigService as _0x26de3f,Tools as _0x48433f,AsyncInterceptorManager as _0x183b97,InterceptorManager as _0x4e0ab8,InterceptorEffectEnum as _0x3e0c38,CustomCommandExecutionError as _0xcc5c64,IUndoRedoService as _0x45083e,sequenceExecute as _0x3da62c,mergeWorksheetSnapshotWithDefault as _0x8c309a,generateRandomId as _0x4a3980,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x2a1b07,DEFAULT_WORKSHEET_ROW_COUNT as _0x24a306,DisposableCollection as _0x2825bd,Range as _0x4e9c51,DependentOn as _0x34253e,Optional as _0x4818db,Plugin as _0x20f576,merge as _0x52fd2b}from'@univerjs/core';import{ErrorType as _0x5a0a01,serializeRangeWithSpreadsheet as _0x3f34af,IFeatureCalculationManagerService as _0x54a085,GlobalComputingStatusService as _0x39ab26,IActiveDirtyManagerService as _0x5b9492}from'@univerjs/engine-formula';import{generateNullCell as _0x152f42,SetRangeValuesUndoMutationFactory as _0x59dbe6,SetRangeValuesMutation as _0x4296bd,getSheetCommandTarget as _0x28fad5,InsertRowMutation as _0x30ec4b,RemoveRowMutation as _0x190378,InsertColMutation as _0xc4d96e,RemoveColMutation as _0x286da3,IExclusiveRangeService as _0x146963,SheetInterceptorService as _0x566ca4,INTERCEPTOR_POINT as _0x23db00,InsertSheetCommand as _0x47e403,InsertSheetUndoMutationFactory as _0x187333,RemoveSheetMutation as _0x1ed11c,InsertSheetMutation as _0x3df40f,MoveRangeMutation as _0x5969b2,SheetsSelectionsService as _0x1fb5a5,ClearSelectionContentCommand as _0x4b1e41,ClearSelectionAllCommand as _0x1bbd3d,SetWorksheetColWidthMutation as _0x5cd116,RefRangeService as _0xc974ab,SetWorksheetActiveOperation as _0x4d91c1,MoveRangeCommand as _0x3e8e4a,RemoveSheetCommand as _0x40db58}from'@univerjs/sheets';import{Subject as _0x4b9dd8,BehaviorSubject as _0x113985}from'rxjs';import{LS_CONFIG_KEY as _0x15e632,unshiftString as _0x7a2704,isFeatureAuthorizedWithinTime as _0xd3766e,getSheetFeatureLimit as _0x2eacfc,ReleaseType as _0x3adf61,UniverLicensePlugin as _0xfc9253}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x4a17aa,RemoveSheetsFilterMutation as _0x92d617}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x5415b4}from'@univerjs/rpc';import{getFontStyleString as _0x37e192,FontCache as _0x297f7c}from'@univerjs/engine-render';const Ao=Number[_0x56d0e0(0x30b)](0x688def55),ri=0x10,so=0x1,ao=_0x56d0e0(0x154),It=0x1,li=_0x56d0e0(0xd0),ci='rgb(255,255,255)',Ft='#b2b2b2',di='#f4f4f5',ui='#f4f4f5',fi='#eceeff',gi=_0x56d0e0(0x23d),hi=_0x56d0e0(0x2ac),vi=_0x56d0e0(0x1fe),pi='#1d32e9',mi='#FFFFFF',Ii=_0x56d0e0(0x1d0),Ci=0xe,bi=0x6;var jo=(_0x3c9eb1=>(_0x3c9eb1[_0x56d0e0(0x105)]='existing',_0x3c9eb1[_0x56d0e0(0x2d0)]='new',_0x3c9eb1))(jo||{});const ko={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Ti=0x1e,Ye={'b':{'s':0x1,'cl':{'rgb':Ft}},'l':{'s':0x1,'cl':{'rgb':Ft}},'r':{'s':0x1,'cl':{'rgb':Ft}},'t':{'s':0x1,'cl':{'rgb':Ft}}},oe={'bg':{'rgb':li},'ht':0x2,'vt':0x2,'tb':0x1},w={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':Ye,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':pi},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Ye,'bg':{'rgb':vi},'vt':0x2},'cornerStyle':{'bd':Ye,'bg':{'rgb':fi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Ye,'bg':{'rgb':di},'vt':0x2},'leafStyle':{'bd':Ye,'bg':{'rgb':ui},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':gi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Ye,'vt':0x2}};function Si(_0x148955,_0x4bfdbb,_0x917ded){const _0xc435d2=_0x56d0e0,_0x54cc50=_0x148955[_0xc435d2(0x30d)](_0x20e317),_0xb6c03=_0x917ded[_0xc435d2(0x98)]('_');switch(_0x4bfdbb){case _0x48b318[_0xc435d2(0x19e)]:return _0x54cc50['t'](_0xc435d2(0x254),..._0xb6c03);case _0x48b318[_0xc435d2(0x1fa)]:return _0x54cc50['t'](_0xc435d2(0xe4),..._0xb6c03);case _0x48b318[_0xc435d2(0x204)]:return _0x54cc50['t'](_0xc435d2(0x2dd),..._0xb6c03);case _0x48b318[_0xc435d2(0x13f)]:return _0x54cc50['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0xb6c03);case _0x48b318['Date']:return _0x54cc50['t'](_0xc435d2(0x156),..._0xb6c03);case _0x48b318[_0xc435d2(0x208)]:return _0x54cc50['t']('sheets-pivot.cellDateGroupDisplay.month',..._0xb6c03);case _0x48b318[_0xc435d2(0x1f5)]:return _0x54cc50['t'](_0xc435d2(0x2d4),..._0xb6c03);case _0x48b318[_0xc435d2(0x1de)]:return _0x54cc50['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0xb6c03);case _0x48b318[_0xc435d2(0x2f8)]:return _0x54cc50['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0xb6c03);case _0x48b318['YearQuarter']:return _0x54cc50['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0xb6c03);}return'';}const tt=(_0x441720,_0x42290c,_0x12bc16,_0x189eb8)=>{const _0x5d13b7=_0x56d0e0;let _0x96fa40;const _0x3dcd3=_0x441720[_0x5d13b7(0x30d)](_0xcc1cef)['getCurrentUnitForType'](_0x318ece[_0x5d13b7(0x2f2)]);if(!_0x3dcd3)return null;const _0x11abd2=_0x3dcd3[_0x5d13b7(0x23b)]();let _0x4575fd;if(_0x12bc16&&(_0x4575fd=_0x11abd2['setValue'](_0x12bc16)),_0x42290c!=null&&_0x42290c['v']||(_0x42290c==null?void 0x0:_0x42290c['v'])===0x0){_0x96fa40||(_0x96fa40={});const _0x2860fa=Lo(_0x42290c['v']);typeof _0x2860fa==_0x5d13b7(0x2c9)?_0x96fa40['t']=_0xdf1541['NUMBER']:typeof _0x2860fa==_0x5d13b7(0x194)&&(_0x96fa40['t']=_0xdf1541[_0x5d13b7(0x2c7)]),_0x96fa40['v']=_0x2860fa;}if((_0x42290c!=null&&_0x42290c['i']||(_0x42290c==null?void 0x0:_0x42290c['i'])===0x0)&&(_0x96fa40||(_0x96fa40={}),_0x96fa40['fi']=_0x42290c['i']),_0x42290c!=null&&_0x42290c['s']&&(_0x96fa40||(_0x96fa40={}),_0x96fa40[_0x5d13b7(0x2ee)]=_0x42290c['s']),_0x12bc16&&(_0x96fa40||(_0x96fa40={}),_0x96fa40['s']=_0x4575fd),_0x189eb8&&_0x96fa40!=null&&_0x96fa40['v']&&_0x96fa40[_0x5d13b7(0x2ee)]!==_0x21cce1[_0x5d13b7(0x267)]&&_0x96fa40[_0x5d13b7(0x2ee)]!==_0x21cce1[_0x5d13b7(0x256)]){const _0x374a72=String(_0x96fa40['v']),{dateType:_0x4df6f3}=_0x189eb8;_0x96fa40['v']=Si(_0x441720,_0x4df6f3,_0x374a72),_0x96fa40['t']=_0xdf1541[_0x5d13b7(0x2c7)];}return _0x96fa40;},Pi=(_0x1b931b,_0xdfc98d,_0x3f5323,_0x127fe0)=>{const _0x58447f=_0x56d0e0;var _0x3470ac,_0x1b7d08,_0x2abedf,_0x23efdb,_0x2fdcc0,_0x3d14c1,_0x1d704d,_0x5105bf,_0x2897fe,_0x5f0f01,_0x1f085a,_0x509f62,_0x53c579,_0x28d273;const _0x5d1714=_0x3f5323[_0x58447f(0x2fa)],{cornerView:_0x82c7fa,rowView:_0x5504a8,colView:_0x3a8e75,dataView:_0x4964ad,pageView:_0x576fca,formatMap:_0x43d479,groupInfo:_0x46de7d}=_0xdfc98d,{row:_0x56a03e,col:_0x1422f0}=_0x5d1714,_0x150a28=new _0x3ca4f2(),_0x586523={},_0x3fc61f={},_0x2182dc={},_0x58c1d4={},_0x3e5c53={};let _0x41ea8a=_0x56a03e,_0x592a4b=_0x1422f0;Object[_0x58447f(0x271)](_0x576fca[_0x58447f(0x179)])[_0x58447f(0xd2)](_0x5cde79=>{const _0x53b8cc=_0x58447f;Object[_0x53b8cc(0x271)](_0x576fca[_0x53b8cc(0x179)][Number(_0x5cde79)])[_0x53b8cc(0xd2)](_0x375176=>{const _0x2fe3c7=_0x53b8cc,_0x61ffda={..._0x576fca[_0x2fe3c7(0x179)][Number(_0x5cde79)][Number(_0x375176)]};_0x150a28[_0x2fe3c7(0x1e2)](Number(_0x5cde79)+_0x41ea8a,Number(_0x375176)+_0x592a4b,tt(_0x1b931b,_0x61ffda,fe[_0x2fe3c7(0x24a)]));});});const _0x4335dc=Object[_0x58447f(0x271)](_0x576fca['data'])[_0x58447f(0x2a0)];_0x41ea8a+=_0x4335dc+(_0x4335dc?It:0x0);const _0x2010c8=_0x82c7fa[_0x58447f(0x17b)](),_0x5352e9=_0x82c7fa['getColCount']();for(let _0x4357b8=0x0;_0x4357b8<_0x2010c8;_0x4357b8++)for(let _0x1ed2a7=0x0;_0x1ed2a7<_0x5352e9;_0x1ed2a7++){const _0x1e57bf={...(_0x1b7d08=(_0x3470ac=_0x82c7fa[_0x58447f(0x179)])==null?void 0x0:_0x3470ac[_0x4357b8])==null?void 0x0:_0x1b7d08[_0x1ed2a7]};_0x1e57bf&&((_0x2abedf=_0x5504a8[_0x58447f(0x287)][_0x1ed2a7])!=null&&_0x2abedf[_0x58447f(0x143)])&&_0x1ed2a7===_0x5352e9-0x1&&_0x4357b8===_0x2010c8-0x1&&(_0x1e57bf['v']=''+_0x127fe0['sheets-pivot.value']),_0x150a28[_0x58447f(0x1e2)](_0x4357b8+_0x41ea8a,_0x1ed2a7+_0x592a4b,tt(_0x1b931b,_0x1e57bf,fe['cornerStyle']));}for(let _0x5e43cb=0x0;_0x5e43cb<_0x82c7fa[_0x58447f(0x229)][_0x58447f(0x2a0)];_0x5e43cb++)_0x82c7fa[_0x58447f(0x229)][_0x5e43cb]&&(_0x2182dc[''+(_0x5e43cb+_0x592a4b)]=_0x82c7fa[_0x58447f(0x229)][_0x5e43cb]);_0x592a4b+=_0x5352e9;const _0x295240=_0x3a8e75[_0x58447f(0x287)],_0xff77dc=_0x3a8e75[_0x58447f(0x249)]()>=0x0?_0x3a8e75[_0x58447f(0x249)]()+0x1:0x0,_0x6576b0=_0x3a8e75[_0x58447f(0x128)]()>=0x0?_0x3a8e75[_0x58447f(0x128)]()+0x1:0x0;for(let _0x3ec876=0x0;_0x3ec876<_0x6576b0;_0x3ec876++){for(let _0x581fb4=0x0;_0x581fb4<_0xff77dc;_0x581fb4++){const _0x27a2c0={...(_0x2fdcc0=(_0x23efdb=_0x3a8e75[_0x58447f(0x179)])==null?void 0x0:_0x23efdb[_0x581fb4])==null?void 0x0:_0x2fdcc0[_0x3ec876]},_0x4963c4=(_0x3d14c1=_0x295240[_0x581fb4])==null?void 0x0:_0x3d14c1[_0x58447f(0xd3)],_0x1b54a6=_0x43d479[_0x4963c4],_0x2480ee=_0x46de7d[_0x4963c4];_0x27a2c0&&(_0x27a2c0['v']=vt(_0x27a2c0,_0x581fb4===0x0&&((_0x1d704d=_0x3a8e75[_0x58447f(0x176)](_0x3ec876+0x1))==null?void 0x0:_0x1d704d[_0x58447f(0x143)]),_0x1b54a6,_0x127fe0));let _0x2a67e6;_0x1b54a6?_0x2a67e6={...fe[_0x58447f(0x1e7)],'n':{'pattern':_0x1b54a6}}:_0x2a67e6={...fe[_0x58447f(0x1e7)]},_0x150a28[_0x58447f(0x1e2)](_0x581fb4+_0x41ea8a,_0x3ec876+_0x592a4b,tt(_0x1b931b,_0x27a2c0,_0x2a67e6,_0x2480ee));}_0x3a8e75[_0x58447f(0x229)][_0x3ec876]&&(_0x3fc61f[''+(_0x3ec876+_0x592a4b)]=_0x3a8e75[_0x58447f(0x229)][_0x3ec876]),_0x3a8e75[_0x58447f(0x287)][_0x3ec876+0x1]&&(_0x3e5c53[''+(_0x3ec876+_0x41ea8a+0x1)]=_0x3a8e75['headerMap'][_0x3ec876+0x1]);}_0x41ea8a+=_0x2010c8;const _0x2b5a1c=_0x5504a8[_0x58447f(0x287)],_0x4268cb=_0x5504a8[_0x58447f(0x249)]()>=0x0?_0x5504a8[_0x58447f(0x249)]()+0x1:0x0,_0x3346c4=_0x5504a8[_0x58447f(0x128)]()>=0x0?_0x5504a8[_0x58447f(0x128)]()+0x1:0x0;for(let _0x2bd8d8=0x0;_0x2bd8d8<_0x4268cb;_0x2bd8d8++){for(let _0x53a353=0x0;_0x53a353<_0x3346c4;_0x53a353++){const _0x45e69d={...(_0x2897fe=(_0x5105bf=_0x5504a8[_0x58447f(0x179)])==null?void 0x0:_0x5105bf[_0x2bd8d8])==null?void 0x0:_0x2897fe[_0x53a353]},_0x452a43=(_0x5f0f01=_0x2b5a1c[_0x53a353])==null?void 0x0:_0x5f0f01['tableFieldId'],_0x189f2e=_0x43d479[_0x452a43],_0x254313=_0x46de7d[_0x452a43];_0x45e69d&&(_0x45e69d['v']=vt(_0x45e69d,!0x1,_0x189f2e,_0x127fe0));let _0x229c0c;_0x5504a8[_0x58447f(0x229)][_0x2bd8d8][_0x58447f(0x15e)]===_0x5504a8[_0x58447f(0x2f4)]()?_0x229c0c=fe[_0x58447f(0x1ef)]:_0x5504a8[_0x58447f(0x229)][_0x2bd8d8]['isBottomTotal']?_0x229c0c=_0x5504a8[_0x58447f(0x229)][_0x2bd8d8][_0x58447f(0x15e)]===0x0?fe['grandTotal']:fe[_0x58447f(0x22d)]:_0x229c0c=fe[_0x58447f(0x14e)],_0x189f2e&&(_0x229c0c={..._0x229c0c,'n':{'pattern':_0x189f2e}}),_0x150a28[_0x58447f(0x1e2)](_0x2bd8d8+_0x41ea8a,_0x53a353+_0x1422f0,tt(_0x1b931b,_0x45e69d,_0x229c0c,_0x254313));}_0x5504a8['info'][_0x2bd8d8]&&(_0x586523[''+(_0x2bd8d8+_0x41ea8a)]=_0x5504a8[_0x58447f(0x229)][_0x2bd8d8]),_0x5504a8[_0x58447f(0x287)][_0x2bd8d8]&&(_0x58c1d4[''+(_0x2bd8d8+_0x1422f0)]=_0x5504a8[_0x58447f(0x287)][_0x2bd8d8]);}const _0x418908=_0x4964ad[_0x58447f(0x17b)](),_0x381bfa=_0x4964ad[_0x58447f(0x2f4)]();for(let _0x3e729e=0x0;_0x3e729e<_0x418908;_0x3e729e++)for(let _0x1e7f42=0x0;_0x1e7f42<_0x381bfa;_0x1e7f42++){const _0x4d7c38={...(_0x509f62=(_0x1f085a=_0x4964ad['data'])==null?void 0x0:_0x1f085a[_0x3e729e])==null?void 0x0:_0x509f62[_0x1e7f42]};let _0x5d9a10;_0x5504a8[_0x58447f(0x229)][_0x3e729e][_0x58447f(0x27d)]?_0x5d9a10=_0x5504a8[_0x58447f(0x229)][_0x3e729e]['level']===0x0?fe[_0x58447f(0x268)]:fe['subTotalStyle']:_0x5d9a10=fe[_0x58447f(0x235)];const _0x5d654a=_0x5504a8['info'][_0x3e729e][_0x58447f(0xfc)],_0x457a32=_0x3a8e75[_0x58447f(0x229)][_0x1e7f42]['valueIndex'],_0x7f132b=Math[_0x58447f(0x276)](_0x5d654a,_0x457a32),_0x469edd=_0x3f5323[_0x58447f(0x1c5)][_0x58447f(0x236)][_0x58447f(0x31b)]();let _0x59f9cf='';_0x7f132b<0x0?_0x59f9cf=(_0x53c579=_0x469edd[0x0])!=null?_0x53c579:'':_0x59f9cf=(_0x28d273=_0x469edd[_0x7f132b])!=null?_0x28d273:'';const _0x38c380=_0x43d479[_0x59f9cf];_0x38c380&&(_0x5d9a10={..._0x5d9a10,'n':{'pattern':_0x38c380}}),_0x150a28[_0x58447f(0x1e2)](_0x3e729e+_0x41ea8a,_0x1e7f42+_0x592a4b,tt(_0x1b931b,_0x4d7c38,_0x5d9a10));}return{'valueMatrix':_0x150a28,'rowInfo':_0x586523,'colInfo':_0x3fc61f,'cornerInfo':_0x2182dc,'rowHeaderMap':_0x58c1d4,'colHeaderMap':_0x3e5c53};};function vt(_0x41a890,_0x29a416,_0x3e7596,_0x3ecc3d){const _0x5949f6=_0x56d0e0;let _0x4fc7b7=_0x41a890['v'];_0x29a416&&(_0x4fc7b7=''+_0x3ecc3d[_0x5949f6(0x1c6)]);const _0x35d2d6=_0x41a890['t']&&(_0x41a890['t']&_0x2f6d80[_0x5949f6(0x2ba)])>0x0;if(_0x35d2d6&&(_0x4fc7b7=''+_0x3ecc3d['sheets-pivot.blank']),_0x41a890['s']===_0x21cce1[_0x5949f6(0x256)]){let _0x4825f5=_0x4fc7b7,_0x3fb56b='';_0x575876(_0x4fc7b7)&&(_0x4825f5=_0x4fc7b7[_0x5949f6(0x2a5)],_0x3fb56b=_0x4fc7b7[_0x5949f6(0x1f9)]);const _0x125825=_0x3e7596&&!_0x35d2d6?_0x572683[_0x5949f6(0x104)](_0x3e7596,Number(_0x4825f5)):_0x4825f5;_0x3fb56b?_0x4fc7b7=_0x125825+'\x20'+_0x3fb56b:_0x4fc7b7=_0x125825+'\x20'+_0x3ecc3d['sheets-pivot.subTotal'];}else _0x41a890['s']===_0x21cce1[_0x5949f6(0x267)]&&(_0x4fc7b7=_0x4fc7b7+'\x20'+_0x3ecc3d[_0x5949f6(0x220)]);return _0x4fc7b7;}function Lo(_0x2988e1){const _0x43f879=_0x56d0e0;if(_0x169058(_0x2988e1)){const {errorType:_0x37ed77}=_0x2988e1;switch(_0x37ed77){case _0xae7c34[_0x43f879(0x2e5)]:return _0x5a0a01[_0x43f879(0x28b)];case _0xae7c34[_0x43f879(0x1e4)]:return _0x5a0a01[_0x43f879(0x24f)];case _0xae7c34['NotFunction']:return _0x5a0a01[_0x43f879(0x304)];case _0xae7c34[_0x43f879(0x18f)]:return _0x5a0a01[_0x43f879(0x304)];case _0xae7c34['BadReference']:return _0x5a0a01[_0x43f879(0x114)];}}return _0x2988e1;}function ge(_0x5d2d0d,_0x39cbdd,_0x159c8f=!0x1,_0x70a411=!0x1){const _0x140e04=_0x56d0e0,{data:_0x2b4bd8}=_0x39cbdd,_0x343b6b=_0x39cbdd['getRowCount'](),_0x25dbef=_0x39cbdd[_0x140e04(0x2f4)]();if(_0x343b6b<=0x0||_0x25dbef<=0x0)return[];const _0x88fc08=_0x39cbdd[_0x140e04(0x128)](),_0x4c7d21=_0x39cbdd[_0x140e04(0x249)](),_0xa7c6f0=_0x70a411?_0x4c7d21>=0x0?_0x4c7d21+0x1:0x0:_0x343b6b,_0x382ba4=_0x70a411?_0x88fc08>=0x0?_0x88fc08+0x1:0x0:_0x25dbef,{row:_0x5f550c,col:_0x3d2bf4}=_0x5d2d0d,_0x4c1100=_0x5f550c,_0x323524=_0x3d2bf4;if(_0x159c8f){const _0x16295d=[];for(const [_0x336342,_0x103822]of Object[_0x140e04(0x2ce)](_0x2b4bd8))for(const [_0x50ca7d,_0x5c3caa]of Object['entries'](_0x103822))_0x16295d[_0x140e04(0x222)](_0x301f71(_0x4c1100+Number(_0x336342),_0x323524+Number(_0x50ca7d)));return _0x16295d;}else{const _0x5146b0=_0x70a411?_0xa7c6f0>0x0?0x1:0x0:0x1,_0x3900d5=_0x70a411?_0x382ba4>0x0?0x1:0x0:0x1,_0xa83b44=_0x5f550c+_0xa7c6f0-_0x5146b0,_0x5bcb37=_0x3d2bf4+_0x382ba4-_0x3900d5;return[{'startRow':_0x4c1100,'startColumn':_0x323524,'endRow':_0xa83b44,'endColumn':_0x5bcb37}];}}const K=_0x56d0e0(0x2cd),kt=_0x56d0e0(0x1e0);var j=(_0x3a81e3=>(_0x3a81e3[_0x56d0e0(0x9c)]=_0x56d0e0(0xcf),_0x3a81e3['Panel']=_0x56d0e0(0x2f0),_0x3a81e3[_0x56d0e0(0xe6)]='addPivotField',_0x3a81e3[_0x56d0e0(0x125)]=_0x56d0e0(0x125),_0x3a81e3[_0x56d0e0(0x19a)]=_0x56d0e0(0xe7),_0x3a81e3['MovePivotField']=_0x56d0e0(0x115),_0x3a81e3['RemovePivotField']=_0x56d0e0(0x159),_0x3a81e3['SetPivotCollapse']=_0x56d0e0(0x1f2),_0x3a81e3['SetPivotFilter']=_0x56d0e0(0x107),_0x3a81e3[_0x56d0e0(0x275)]=_0x56d0e0(0x282),_0x3a81e3[_0x56d0e0(0x1d6)]=_0x56d0e0(0x2b9),_0x3a81e3[_0x56d0e0(0x2a4)]=_0x56d0e0(0x212),_0x3a81e3[_0x56d0e0(0x15f)]=_0x56d0e0(0x1e6),_0x3a81e3[_0x56d0e0(0x206)]='drillDown',_0x3a81e3['SetValuePivotFilter']=_0x56d0e0(0x2b2),_0x3a81e3[_0x56d0e0(0x2d5)]=_0x56d0e0(0x27a),_0x3a81e3[_0x56d0e0(0x28a)]=_0x56d0e0(0xd6),_0x3a81e3))(j||{});const yi={'sheets-pivot.blankValue':_0x56d0e0(0xd1),'sheets-pivot.columnName':_0x56d0e0(0x113),'sheets-pivot.subTotalText':_0x56d0e0(0x11c),'sheets-pivot.grandTotalText':_0x56d0e0(0x13d),'sheets-pivot.valueText':_0x56d0e0(0xd9),'sheets-pivot.averageName':_0x56d0e0(0x171),'sheets-pivot.countName':_0x56d0e0(0x1cf),'sheets-pivot.countNumsName':_0x56d0e0(0x1cf),'sheets-pivot.maxName':_0x56d0e0(0xf5),'sheets-pivot.minName':_0x56d0e0(0x2d7),'sheets-pivot.productName':_0x56d0e0(0x9a),'sheets-pivot.stdDevName':_0x56d0e0(0x20b),'sheets-pivot.stdDevpName':_0x56d0e0(0x174),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x56d0e0(0xda),'sheets-pivot.varpName':_0x56d0e0(0xc9),'sheets-pivot.subTotal':_0x56d0e0(0x256),'sheets-pivot.grandTotal':_0x56d0e0(0x13d),'sheets-pivot.value':'value','sheets-pivot.blank':_0x56d0e0(0x2ba),'sheets-pivot.emptyPivot.filter':_0x56d0e0(0x9c),'sheets-pivot.emptyPivot.row':_0x56d0e0(0x1ec),'sheets-pivot.emptyPivot.column':_0x56d0e0(0x2a7),'sheets-pivot.emptyPivot.values':'Values'},So={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x174b12('pivotPerformCheck'),Bo=_0x4f3329(_0x56d0e0(0x2df));var ke=(_0x30fce7=>(_0x30fce7[_0x56d0e0(0x307)]=_0x56d0e0(0x307),_0x30fce7[_0x56d0e0(0x2bd)]=_0x56d0e0(0x2bd),_0x30fce7['update']=_0x56d0e0(0xea),_0x30fce7))(ke||{}),B=(_0x121f9b=>(_0x121f9b[_0x56d0e0(0x1da)]=_0x56d0e0(0x307),_0x121f9b[_0x56d0e0(0x24d)]=_0x56d0e0(0x200),_0x121f9b['Delete']=_0x56d0e0(0x2bd),_0x121f9b))(B||{});const qo={0x0:'p',0x1:'8',0x2:'Y',0x3:'f',0x4:'F',0x5:'N',0x6:'w',0x7:'H',0x8:'Z',0x9:'k','W':'0','O':'1','P':'2','a':'3','o':'4','v':'5','i':'6','w':'7','K':'9','D':'a','V':'b','m':'c','b':'d','T':'e','U':'g','A':'h','Y':'i','M':'j','h':'l','r':'m','q':'n','x':'o','s':'q','c':'r','j':'s','F':'t','n':'u','C':'v','I':'x','Z':'y','N':'z','t':'A','J':'B','e':'C','B':'D','z':'E','g':'G','L':'I','p':'J','X':'K','Q':'L','f':'M','S':'O','y':'P','k':'Q','H':'R','R':'S','l':'T','G':'U','u':'V','E':'W','d':'X'},$o=_0x56d0e0(0x15b),ro={'type':_0x1d2c8e['MUTATION'],'id':_0x56d0e0(0xed),'handler':()=>!0x0},lo={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x1fd),'handler':()=>!0x0},Dt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x1e1),'handler':()=>!0x0},co={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x28c),'handler':()=>!0x0},uo={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x121),'handler':()=>!0x0},Mi=_0x5a094c=>{const _0x19f5b7=_0x56d0e0;var _0x28dc3e;return((_0x28dc3e=_0x5a094c[_0x19f5b7(0x16c)])==null?void 0x0:_0x28dc3e['dataStream'][_0x19f5b7(0x2ab)](/\r\n$/,''))||'';};class Fi extends _0x52f968{constructor(_0x2a0139,_0x58e678){const _0x3f3bb4=_0x56d0e0;super(),x(this,_0x3f3bb4(0x2b0),{}),x(this,_0x3f3bb4(0x117)),x(this,_0x3f3bb4(0x14a)),(this['_univerInstanceService']=_0x58e678,this[_0x3f3bb4(0x14a)]=_0x2a0139);}[_0x56d0e0(0x1d3)](){const _0x4e75f5=_0x56d0e0;for(const _0x23fcb9 in this[_0x4e75f5(0x1e8)]){const _0x9e2b21=this['dataFields'][_0x23fcb9],_0x18302b=_0x9e2b21[_0x4e75f5(0x1af)]();this[_0x4e75f5(0x2b0)][_0x18302b]=_0x9e2b21[_0x4e75f5(0xfe)]();}}[_0x56d0e0(0x225)](){const _0x5e88d1=this['_host'];return Ui['bind'](_0x5e88d1);}[_0x56d0e0(0xfd)](_0x25fe47){const _0x4deb92=_0x56d0e0,_0xbac77e=this['dataFields'][_0x25fe47][_0x4deb92(0x2e2)];delete this[_0x4deb92(0x1e8)][_0x25fe47],delete this['rangeKeyMap'][_0xbac77e];}[_0x56d0e0(0x134)](_0xae64bb){const _0x5dc6b5=_0x56d0e0;this[_0x5dc6b5(0x1e8)][_0xae64bb[_0x5dc6b5(0xfe)]()]=_0xae64bb;}[_0x56d0e0(0x1ca)](_0x120bca){const _0x577cc4=_0x56d0e0;var _0x2d79f2,_0x2e5953;const _0x32a394=this['_host']['getTargetByPivotId'](_0x120bca);if(_0x32a394){const {unitId:_0x59f8a8,subUnitId:_0x350d31}=_0x32a394,_0x25c54b=(_0x2d79f2=this['_host']['getPivotTableConfig'](_0x59f8a8,_0x350d31,_0x120bca))==null?void 0x0:_0x2d79f2[_0x577cc4(0x21e)];this[_0x577cc4(0x14a)][_0x577cc4(0xb8)]({'token':_0x120bca,'type':ke[_0x577cc4(0x2bd)],'dataRangeInfo':_0x25c54b});}(_0x2e5953=this[_0x577cc4(0x144)](_0x120bca))==null||_0x2e5953[_0x577cc4(0x2fe)](),delete this['collections'][_0x120bca];}[_0x56d0e0(0x1af)](_0x379730,_0x2efd20){const {sheetName:_0x252692,unitId:_0x14983e,range:_0x28231a}=_0x379730,{startRow:_0x49718c,endRow:_0x25c78c}=_0x28231a;return _0x3f34af(_0x14983e,_0x252692,{'startRow':_0x49718c,'endRow':_0x25c78c,'startColumn':_0x2efd20,'endColumn':_0x2efd20});}['getDataFieldByRangeKey'](_0x4a0784){const _0x3f9ba8=_0x56d0e0;return this[_0x3f9ba8(0x1e8)][this['rangeKeyMap'][_0x4a0784]];}[_0x56d0e0(0x1b0)](_0x10c0b2,_0x48c524){const _0x2c2fda=_0x56d0e0;this[_0x2c2fda(0x2b0)][_0x10c0b2]=_0x48c524;}[_0x56d0e0(0x168)](_0x375ed5,_0x4ad42e){this['rangeKeyMap'][_0x4ad42e]=this['rangeKeyMap'][_0x375ed5],delete this['rangeKeyMap'][_0x375ed5];}[_0x56d0e0(0x253)](_0x3c6d9e,_0x42d9b1,_0x387dc7,_0x480f83){const _0x585c7b=_0x56d0e0,_0x351741=new _0x490a96(this);_0x351741[_0x585c7b(0x135)](_0x42d9b1);const _0x3f51bd=[];let _0x2014c8=0x0;for(const _0x3f1a6f of _0x351741[_0x585c7b(0x1a8)]){const _0x499bf9=this[_0x585c7b(0x1af)](_0x387dc7,_0x2014c8),_0x48c363=this[_0x585c7b(0x1e8)][_0x3f1a6f];_0x48c363&&(_0x48c363[_0x585c7b(0x2e2)]=_0x499bf9,this[_0x585c7b(0x1b0)](_0x499bf9,_0x3f1a6f),_0x3f51bd[_0x585c7b(0x222)]({'index':_0x2014c8,'dataField':_0x48c363})),_0x2014c8++;}return this[_0x585c7b(0x2c1)](_0x3c6d9e,_0x351741,_0x387dc7,_0x480f83),{'collection':_0x351741,'updateDataFieldList':_0x3f51bd};}[_0x56d0e0(0x2ff)](_0x44b009,_0x5f2dbc){const _0x45ce4a=_0x56d0e0;return _0x44b009[_0x45ce4a(0x2c6)]===_0x2128d3[_0x45ce4a(0x30c)]?{'startRow':0x0,'startColumn':_0x44b009[_0x45ce4a(0x136)],'endRow':_0x5f2dbc['getRowCount']()-0x1,'endColumn':_0x44b009[_0x45ce4a(0x149)]}:{'startRow':_0x44b009[_0x45ce4a(0x2db)],'startColumn':_0x44b009[_0x45ce4a(0x136)],'endRow':_0x44b009['endRow'],'endColumn':_0x44b009[_0x45ce4a(0x149)]};}[_0x56d0e0(0x298)](_0x27df0c){const _0x36a924=_0x56d0e0,{sheetName:_0x38d426,range:_0x2f2b1a}=_0x27df0c,_0x4b5985=this['_univerInstanceService'][_0x36a924(0x295)](_0x318ece['UNIVER_SHEET']),_0x1f8bee=_0x4b5985['getSheetBySheetName'](_0x38d426),_0xa2cca2=_0x1f8bee[_0x36a924(0xf6)](),{startColumn:_0x126b24,startRow:_0x75bb6b,endColumn:_0x218b96}=this[_0x36a924(0x2ff)](_0x2f2b1a,_0x1f8bee),_0x42043e=_0x4b5985[_0x36a924(0x23b)](),_0x1c92ed=new _0x490a96(this);_0x1c92ed[_0x36a924(0xc3)](_0x27df0c);const _0x42516a=[],_0x53c559={};for(let _0x19ba8b=_0x126b24;_0x19ba8b<=_0x218b96;_0x19ba8b++){const _0x1a9fd8=_0xa2cca2[_0x36a924(0xe3)](_0x75bb6b,_0x19ba8b),_0x133d28=this[_0x36a924(0x1af)](_0x27df0c,_0x19ba8b),_0x478867=this['getDataFieldByRangeKey'](_0x133d28);if(_0x478867)_0x1c92ed[_0x36a924(0xa3)](_0x478867[_0x36a924(0xfe)](),_0x478867['getName']());else{const _0x1498a1=this[_0x36a924(0x29d)]();let _0x3b24c=this[_0x36a924(0x306)](_0x1a9fd8,_0x42043e,_0x53c559);_0x3a4a11(_0x3b24c)&&(_0x3b24c=_0x572683[_0x36a924(0x104)](_0x3b24c['f'],Number(_0x3b24c['v'])));const _0x424f4a=this[_0x36a924(0x126)](_0x3b24c,_0x19ba8b),_0x8fd040=new _0x1b9bfa(_0x1498a1,_0x424f4a,_0x5f23b3(0x3));_0x8fd040[_0x36a924(0x2e2)]=_0x133d28,this[_0x36a924(0x1e8)][_0x1498a1]=_0x8fd040,_0x1c92ed[_0x36a924(0xa3)](_0x1498a1,_0x424f4a),_0x42516a[_0x36a924(0x222)]({'index':_0x19ba8b,'dataField':_0x8fd040});}}return{'updateDataFieldList':_0x42516a,'collection':_0x1c92ed};}[_0x56d0e0(0x25c)](_0x3e0cf4){const _0x4b827c=_0x56d0e0;return this[_0x4b827c(0x14a)][_0x4b827c(0x1f0)]()[_0x4b827c(0x29e)]+'\x20'+_0x2c9960(_0x3e0cf4);}[_0x56d0e0(0x126)](_0x8807e4,_0x396978){const _0x129f8d=_0x56d0e0;return _0x8807e4==null||_0x8807e4===''?this[_0x129f8d(0x25c)](_0x396978):String(_0x8807e4);}[_0x56d0e0(0x144)](_0x3ec5ec){const _0x580b27=_0x56d0e0;return this[_0x580b27(0x263)][_0x3ec5ec];}['addCollection'](_0x42b0ce,_0x46581f,_0x1cfa68,_0x160b7a){const _0x2c0dd7=_0x56d0e0;this[_0x2c0dd7(0x263)][_0x42b0ce]=_0x46581f,_0x46581f[_0x2c0dd7(0xc3)](_0x1cfa68),this[_0x2c0dd7(0x14a)][_0x2c0dd7(0xb8)]({'token':_0x42b0ce,'type':ke[_0x2c0dd7(0x307)],'dataRangeInfo':_0x1cfa68,'targetCellInfo':_0x160b7a});}['handleMoveRange'](_0x46dced,_0x38a7ef){const _0x532d2a=_0x56d0e0,_0x57a79b=this[_0x532d2a(0x144)](_0x46dced),_0x50bbab=_0x57a79b['getFieldIds']();let _0x5d01c4=0x0;for(const _0x3e071b of _0x50bbab){const _0x57523e=_0x57a79b[_0x532d2a(0x2f1)](_0x3e071b),_0x3905ee=this[_0x532d2a(0x1af)](_0x38a7ef,_0x5d01c4);this[_0x532d2a(0x168)](_0x57523e[_0x532d2a(0x2e2)],_0x3905ee),_0x5d01c4++;}}[_0x56d0e0(0x127)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x56d0e0(0x213)](_0x424bcb,_0x54397a){const _0x6e461f=_0x56d0e0;if(this['getCollection'](_0x424bcb)){const _0xd60261=this['getRangeKeyList'](_0x54397a),_0x105251=[];for(const _0xbbc329 of _0xd60261)this['rangeKeyMap'][_0xbbc329]!==void 0x0&&_0x105251[_0x6e461f(0x222)](this[_0x6e461f(0x2b0)][_0xbbc329]);const _0x51f361=this[_0x6e461f(0x2f6)](_0x424bcb),_0x2382f4=[],_0x1d4c3e=new Set(_0x105251);for(const _0x148841 of _0x51f361)_0x1d4c3e[_0x6e461f(0x13b)](_0x148841)||_0x2382f4[_0x6e461f(0x222)](_0x148841);return _0x2382f4;}}['getMatrixValue'](_0x46fdfa,_0x5b0871,_0x5953b7,_0x27a375,_0x39585b){const _0x3efbaf=_0x56d0e0;return _0x5b0871&&_0x5b0871[_0x3efbaf(0xe3)](_0x27a375,_0x39585b)?_0x5b0871[_0x3efbaf(0xe3)](_0x27a375,_0x39585b):_0x5953b7&&_0x5953b7[_0x3efbaf(0xe3)](_0x27a375,_0x39585b)?_0x5953b7['getValue'](_0x27a375,_0x39585b):_0x46fdfa['getValue'](_0x27a375,_0x39585b);}[_0x56d0e0(0x1f8)](_0x55e856,_0x5e85c9,_0x3511a7,_0x143db1){const _0x39a5fa=_0x56d0e0,_0x541115=this[_0x39a5fa(0x1e8)][_0x55e856];if(!_0x541115)return;const {subUnitId:_0x24489e,range:_0x491928,unitId:_0x5e132b}=_0x5e85c9,_0x7dc434=this['_univerInstanceService']['getUnit'](_0x5e132b);if(!_0x7dc434){console[_0x39a5fa(0x25e)](_0x39a5fa(0x317));return;}const _0x300a2f=_0x7dc434[_0x39a5fa(0x255)](_0x24489e),_0x172704=_0x300a2f[_0x39a5fa(0xf6)](),{arrayFormulaCellDataMatrix:_0x3a4aa2,unitDataMatrix:_0x246146}=_0x143db1||{},{startRow:_0x558509,startColumn:_0x4baa68,endRow:_0x5c8f2f}=this[_0x39a5fa(0x2ff)](_0x491928,_0x300a2f);_0x541115[_0x39a5fa(0x26a)]();const _0x578ce7=_0x7dc434[_0x39a5fa(0x23b)](),_0x544d3f={},_0x34aeec=this[_0x39a5fa(0x169)](_0x172704,_0x3a4aa2,_0x246146,_0x558509,_0x4baa68+_0x3511a7);let _0xfff036=this[_0x39a5fa(0x306)](_0x34aeec,_0x578ce7,_0x544d3f);_0x3a4a11(_0xfff036)&&(_0xfff036=_0x572683[_0x39a5fa(0x104)](_0xfff036['f'],Number(_0xfff036['v'])));const _0x489ba4=this[_0x39a5fa(0x126)](_0xfff036,_0x4baa68+_0x3511a7);_0x541115[_0x39a5fa(0xc1)](_0x489ba4);for(let _0x13d2f3=_0x558509+0x1;_0x13d2f3<=_0x5c8f2f;_0x13d2f3++){const _0x1366db=this[_0x39a5fa(0x169)](_0x172704,_0x3a4aa2,_0x246146,_0x13d2f3,_0x4baa68+_0x3511a7);_0x541115[_0x39a5fa(0x22e)](this['adjustSheetCellData'](_0x1366db,_0x578ce7,_0x544d3f),_0x13d2f3-0x1-_0x558509);}}[_0x56d0e0(0xc4)](_0x21af86,_0x32f4d5,_0x188988){const _0x264724=_0x56d0e0,{subUnitId:_0x2e9df0,range:_0x2dc2ea,unitId:_0x5cf07d}=_0x188988,_0x26e5e1=this[_0x264724(0x117)][_0x264724(0x18d)](_0x5cf07d);if(!_0x26e5e1){console[_0x264724(0x25e)](_0x264724(0x317));return;}const _0x2a935b=_0x26e5e1['getSheetBySheetId'](_0x2e9df0),_0x275dcc=_0x2a935b['getCellMatrix'](),{startRow:_0x444937,startColumn:_0xee166b,endRow:_0x17a53c}=this[_0x264724(0x2ff)](_0x2dc2ea,_0x2a935b),_0x620baf=_0x26e5e1[_0x264724(0x23b)](),_0x299e52={};for(const {dataField:_0x4b8a5d,index:_0x3d44eb}of _0x32f4d5){_0x4b8a5d[_0x264724(0x26a)]();const _0x27756e=this[_0x264724(0x169)](_0x275dcc,void 0x0,void 0x0,_0x444937,_0xee166b+_0x3d44eb);let _0x561ca0=this[_0x264724(0x306)](_0x27756e,_0x620baf,_0x299e52);_0x3a4a11(_0x561ca0)&&(_0x561ca0=_0x572683['format'](_0x561ca0['f'],Number(_0x561ca0['v'])));const _0x5dff3f=this[_0x264724(0x126)](_0x561ca0,_0xee166b+_0x3d44eb);_0x4b8a5d[_0x264724(0xc1)](_0x5dff3f);}_0x21af86['updateAllDisplayName']();for(let _0x55d487=_0x444937+0x1;_0x55d487<=_0x17a53c;_0x55d487++)for(const {index:_0x5f3d6a,dataField:_0x1ae6b3}of _0x32f4d5){const _0x44e008=_0x275dcc[_0x264724(0xe3)](_0x55d487,_0xee166b+_0x5f3d6a);_0x1ae6b3['addRecord'](this[_0x264724(0x306)](_0x44e008,_0x620baf,_0x299e52),_0x55d487-0x1-_0x444937);}_0x21af86[_0x264724(0x30f)](_0x17a53c-_0x444937);}[_0x56d0e0(0x26c)](_0x254a70){const _0x2ed463=_0x56d0e0,{range:_0x37c0be}=_0x254a70,{startColumn:_0x106e57,endColumn:_0x458c4f}=_0x37c0be,_0x4adbb9=[];for(let _0x1a3fa4=_0x106e57;_0x1a3fa4<=_0x458c4f;_0x1a3fa4++)_0x4adbb9[_0x2ed463(0x222)](this[_0x2ed463(0x1af)](_0x254a70,_0x1a3fa4));return _0x4adbb9;}[_0x56d0e0(0x306)](_0x4813bf,_0xe7ad27,_0x5191ef){const _0x2186f7=_0x56d0e0;if(_0x4813bf){const {s:_0x2a106b,v:_0x309714,t:_0x50f972,p:_0x5397f6}=_0x4813bf;if(_0x5397f6)return Mi(_0x5397f6);const _0x3e3ece=_0xe7ad27[_0x2186f7(0x30d)](_0x2a106b);if(_0x3e3ece&&_0x50f972===_0xdf1541[_0x2186f7(0x29a)]&&_0x3e3ece['n']){const {pattern:_0x2fcefb}=_0x3e3ece['n'];_0x5191ef[_0x2fcefb]||(_0x5191ef[_0x2fcefb]=_0x572683[_0x2186f7(0x147)](_0x2fcefb));const _0x5e7ea8=_0x5191ef[_0x2fcefb],_0x32d63d=_0x5e7ea8[_0x2186f7(0x234)];if(_0x5e7ea8[_0x2186f7(0xaa)])return String(_0x309714);if(_0x32d63d)return{'v':_0x309714,'f':_0x2fcefb};}if(_0x50f972===_0xdf1541['NUMBER'])return Number(_0x309714);if(_0x50f972===_0xdf1541['STRING']||_0x50f972===_0xdf1541[_0x2186f7(0x2b1)])return String(_0x309714);if(_0x50f972===void 0x0){const _0x42dc5f=Number(_0x309714);if(!Number[_0x2186f7(0x16f)](_0x42dc5f)&&String(_0x42dc5f)===_0x309714)return _0x42dc5f;}return _0x309714!=null?_0x309714:null;}else return null;}['getRangeData'](_0x329955){const _0x1c8190=_0x56d0e0,{sheetName:_0x4dba44,range:_0x1351be,unitId:_0x2a108c}=_0x329955,_0x2c574c=this[_0x1c8190(0x117)]['getUnit'](_0x2a108c);if(!_0x2c574c)return console['error'](_0x1c8190(0x317)),{'header':[],'data':[]};const _0x281433=_0x2c574c[_0x1c8190(0x1d9)](_0x4dba44),_0x3561fe=_0x281433[_0x1c8190(0xf6)](),{startRow:_0x93f77d,startColumn:_0xb0897c,endRow:_0xed2971,endColumn:_0x128c4c}=this['getRangeStartEndInfo'](_0x1351be,_0x281433),_0x114085=_0x2c574c[_0x1c8190(0x23b)](),_0x560667=[],_0x2ef683=[],_0x291ca9={};for(let _0xbd9bf2=_0x93f77d;_0xbd9bf2<=_0xed2971;_0xbd9bf2++){const _0x1496a1=[];for(let _0x53d6d7=_0xb0897c;_0x53d6d7<=_0x128c4c;_0x53d6d7++){const _0x4610ed=_0x3561fe['getValue'](_0xbd9bf2,_0x53d6d7);_0xbd9bf2===_0x93f77d?_0x560667['push'](_0x4610ed==null?null:String(_0x4610ed['v'])):_0x1496a1[_0x1c8190(0x222)](this[_0x1c8190(0x306)](_0x4610ed,_0x114085,_0x291ca9));}_0x2ef683[_0x1c8190(0x222)](_0x1496a1);}return{'header':_0x560667,'data':_0x2ef683};}['toJSON'](){return super['toJSON']();}[_0x56d0e0(0x135)](_0xae5f3e){const _0x28400b=_0x56d0e0;super[_0x28400b(0x135)](_0xae5f3e),this[_0x28400b(0x1d3)]();}[_0x56d0e0(0x2fe)](){const _0x37d9c5=_0x56d0e0;super[_0x37d9c5(0x2fe)](),this[_0x37d9c5(0x2b0)]={},this['_host']=null;}}const wi=_0x5c0e6c=>{const _0x51a390=_0x56d0e0,{targetCellInfo:_0x1813ac}=_0x5c0e6c,{matrixCache:_0x4f5f47,rangesCache:_0x3d103d}=Yo({'filter':'Filter','row':_0x51a390(0x1ec),'column':'Column','values':_0x51a390(0x130)},_0x1813ac),_0x258f08=new _0x3ca4f2();return _0x4f5f47[_0x51a390(0x2a3)]((_0x1ef5e9,_0x5ab333,_0x279066)=>{_0x258f08['setValue'](_0x1ef5e9,_0x5ab333,_0x279066);}),{'matrix':_0x258f08,'rangesCache':_0x3d103d};},ot=_0x3a2829=>{const _0x195b80=_0x56d0e0;let _0x7da79;if(_0x3a2829!=null&&_0x3a2829['v']||(_0x3a2829==null?void 0x0:_0x3a2829['v'])===0x0){_0x7da79||(_0x7da79={});const _0x7a85bd=Lo(_0x3a2829['v']);typeof _0x7a85bd==_0x195b80(0x2c9)?_0x7da79['t']=_0xdf1541['NUMBER']:typeof _0x7a85bd==_0x195b80(0x194)&&(_0x7da79['t']=_0xdf1541['STRING']),_0x7da79['v']=_0x7a85bd;}return _0x7da79;},_i=(_0x2e7a9c,_0x599790,_0x45d58d)=>{const _0x1864ee=_0x56d0e0;var _0x6145c1,_0x20ec25,_0x327ae7,_0x279364,_0x21dcef,_0x16efda,_0x3b8c0b,_0x212e52,_0x171030,_0x7ec139,_0x2371f5,_0x192adf;const {cornerView:_0x5237f0,rowView:_0x15ee97,colView:_0x246bc9,dataView:_0x267dce,pageView:_0x2c5b46,formatMap:_0x2fe83a}=_0x2e7a9c,{row:_0x23b46c,col:_0x3746b4}=_0x599790,_0x4631a5=new _0x3ca4f2();let _0x4a8400=_0x23b46c,_0x31d11a=_0x3746b4;Object['keys'](_0x2c5b46[_0x1864ee(0x179)])[_0x1864ee(0xd2)](_0x5a4215=>{const _0x9af151=_0x1864ee;Object[_0x9af151(0x271)](_0x2c5b46[_0x9af151(0x179)][Number(_0x5a4215)])[_0x9af151(0xd2)](_0x27fdd4=>{const _0x140f0f=_0x9af151,_0x45d3a0={..._0x2c5b46[_0x140f0f(0x179)][Number(_0x5a4215)][Number(_0x27fdd4)]};_0x4631a5[_0x140f0f(0x1e2)](Number(_0x5a4215)+_0x4a8400,Number(_0x27fdd4)+_0x31d11a,ot(_0x45d3a0));});});const _0x2dd4ee=Object['keys'](_0x2c5b46[_0x1864ee(0x179)])[_0x1864ee(0x2a0)];_0x4a8400+=_0x2dd4ee+(_0x2dd4ee?It:0x0);const _0x258546=_0x5237f0[_0x1864ee(0x17b)](),_0x55f8e3=_0x5237f0[_0x1864ee(0x2f4)]();for(let _0x45e7c7=0x0;_0x45e7c7<_0x258546;_0x45e7c7++)for(let _0x239b49=0x0;_0x239b49<_0x55f8e3;_0x239b49++){const _0x2f36ec={...(_0x20ec25=(_0x6145c1=_0x5237f0['data'])==null?void 0x0:_0x6145c1[_0x45e7c7])==null?void 0x0:_0x20ec25[_0x239b49]};_0x2f36ec&&((_0x327ae7=_0x15ee97[_0x1864ee(0x287)][_0x239b49])!=null&&_0x327ae7[_0x1864ee(0x143)])&&_0x239b49===_0x55f8e3-0x1&&_0x45e7c7===_0x258546-0x1&&(_0x2f36ec['v']=''+_0x45d58d['sheets-pivot.value']),_0x4631a5[_0x1864ee(0x1e2)](_0x45e7c7+_0x4a8400,_0x239b49+_0x31d11a,ot(_0x2f36ec));}_0x31d11a+=_0x55f8e3;const _0x35fd40=_0x246bc9['headerMap'],_0x551b57=_0x246bc9[_0x1864ee(0x249)]()>=0x0?_0x246bc9[_0x1864ee(0x249)]()+0x1:0x0,_0x63eecc=_0x246bc9[_0x1864ee(0x128)]()>=0x0?_0x246bc9[_0x1864ee(0x128)]()+0x1:0x0;for(let _0xf0e943=0x0;_0xf0e943<_0x63eecc;_0xf0e943++)for(let _0x54a40e=0x0;_0x54a40e<_0x551b57;_0x54a40e++){const _0x43d64a={...(_0x21dcef=(_0x279364=_0x246bc9[_0x1864ee(0x179)])==null?void 0x0:_0x279364[_0xf0e943])==null?void 0x0:_0x21dcef[_0x54a40e]},_0x296007=(_0x16efda=_0x35fd40[_0xf0e943])==null?void 0x0:_0x16efda[_0x1864ee(0xd3)],_0x1d69b9=_0x2fe83a[_0x296007];_0x43d64a&&(_0x43d64a['v']=vt(_0x43d64a,_0xf0e943===0x0&&((_0x3b8c0b=_0x246bc9[_0x1864ee(0x176)](_0x54a40e+0x1))==null?void 0x0:_0x3b8c0b[_0x1864ee(0x143)]),_0x1d69b9,_0x45d58d)),_0x4631a5[_0x1864ee(0x1e2)](_0xf0e943+_0x4a8400,_0x54a40e+_0x31d11a,ot(_0x43d64a));}_0x4a8400+=_0x258546;const _0x1a40f2=_0x15ee97[_0x1864ee(0x287)],_0x4ae8cf=_0x15ee97[_0x1864ee(0x249)]()>=0x0?_0x15ee97[_0x1864ee(0x249)]()+0x1:0x0,_0x5f011a=_0x15ee97['getLastCol']()>=0x0?_0x15ee97[_0x1864ee(0x128)]()+0x1:0x0;for(let _0x4ca9e0=0x0;_0x4ca9e0<_0x4ae8cf;_0x4ca9e0++)for(let _0x543e16=0x0;_0x543e16<_0x5f011a;_0x543e16++){const _0xe5c909={...(_0x171030=(_0x212e52=_0x15ee97['data'])==null?void 0x0:_0x212e52[_0x4ca9e0])==null?void 0x0:_0x171030[_0x543e16]},_0x20dd77=(_0x7ec139=_0x1a40f2[_0x543e16])==null?void 0x0:_0x7ec139['tableFieldId'],_0x30a7fd=_0x2fe83a[_0x20dd77];_0xe5c909&&(_0xe5c909['v']=vt(_0xe5c909,!0x1,_0x30a7fd,_0x45d58d)),_0x4631a5[_0x1864ee(0x1e2)](_0x4ca9e0+_0x4a8400,_0x543e16+_0x3746b4,ot(_0xe5c909));}const _0x189208=_0x267dce[_0x1864ee(0x17b)](),_0x3a73a7=_0x267dce['getColCount']();for(let _0x3941ca=0x0;_0x3941ca<_0x189208;_0x3941ca++)for(let _0x43f050=0x0;_0x43f050<_0x3a73a7;_0x43f050++){const _0x2a5957={...(_0x192adf=(_0x2371f5=_0x267dce[_0x1864ee(0x179)])==null?void 0x0:_0x2371f5[_0x3941ca])==null?void 0x0:_0x192adf[_0x43f050]};_0x4631a5[_0x1864ee(0x1e2)](_0x3941ca+_0x4a8400,_0x43f050+_0x31d11a,ot(_0x2a5957));}return _0x4631a5;},Ri=_0x2ab792=>{const _0x213e54=_0x56d0e0,{view:_0x5a75ec,targetCellInfo:_0x312b09,isEmpty:_0x2ea9f5,textInfo:_0x559a38}=_0x2ab792;if(_0x2ea9f5)return wi(_0x2ab792);const {pageView:_0x1865b8,cornerView:_0x229bcd,rowView:_0x394352,colView:_0xfeabcf,dataView:_0x1266fd}=_0x5a75ec,_0x353f08=ge(_0x312b09,_0x1865b8,!0x0),_0x119bd5=_0x1865b8[_0x213e54(0x245)]>=0x0?_0x1865b8[_0x213e54(0x245)]+0x1:0x0,_0x3e0c96=_0x229bcd[_0x213e54(0x17b)](),_0x2f210c=_0x229bcd[_0x213e54(0x2f4)](),_0x1313f2=_0x353f08[_0x213e54(0x2a0)]>0x0?It:0x0,_0x2ef81e=ge({'row':_0x312b09['row']+_0x119bd5+_0x1313f2,'col':_0x312b09['col']},_0x229bcd,!0x1,!0x1),_0x395583=ge({'row':_0x312b09[_0x213e54(0x155)]+_0x119bd5+_0x1313f2+_0x3e0c96,'col':_0x312b09[_0x213e54(0x1c4)]},_0x394352,!0x1,!0x0),_0x1d9247=ge({'row':_0x312b09[_0x213e54(0x155)]+_0x119bd5+_0x1313f2,'col':_0x312b09[_0x213e54(0x1c4)]+_0x2f210c},_0xfeabcf,!0x1,!0x0),_0x109468=ge({'row':_0x312b09[_0x213e54(0x155)]+_0x119bd5+_0x1313f2+_0x3e0c96,'col':_0x312b09[_0x213e54(0x1c4)]+_0x2f210c},_0x1266fd,!0x1,!0x1),_0x508f0f={'rowRanges':_0x395583,'colRanges':_0x1d9247,'cornerRanges':_0x2ef81e,'dataRanges':_0x109468,'pageRanges':_0x353f08};return{'matrix':_i(_0x5a75ec,_0x312b09,_0x559a38),'rangesCache':_0x508f0f};};var Di=Object[_0x56d0e0(0x1a1)],Ni=(_0x4873b5,_0x364f37,_0x3c0ec9,_0x4a2e6c)=>{const _0x150bb9=_0x56d0e0;for(var _0x5121b7=_0x4a2e6c>0x1?void 0x0:_0x4a2e6c?Di(_0x364f37,_0x3c0ec9):_0x364f37,_0x3b529d=_0x4873b5[_0x150bb9(0x2a0)]-0x1,_0x4d467b;_0x3b529d>=0x0;_0x3b529d--)(_0x4d467b=_0x4873b5[_0x3b529d])&&(_0x5121b7=_0x4d467b(_0x5121b7)||_0x5121b7);return _0x5121b7;},nt=(_0x52721d,_0x5624c6)=>(_0x191964,_0x27acf9)=>_0x5624c6(_0x191964,_0x27acf9,_0x52721d);let q=class extends _0x5876c8{constructor(_0xffdbc5,_0x4605ce,_0x136224,_0x40f734,_0x33056d){const _0x21d759=_0x56d0e0;super(),x(this,_0x21d759(0xb2),new Map()),x(this,_0x21d759(0x227),new Map()),x(this,'_viewData',new Map()),x(this,'_textInfo'),x(this,_0x21d759(0x1aa),new _0x4b9dd8()),x(this,'collectionChange$',this['_collectionChange$'][_0x21d759(0x20f)]()),x(this,_0x21d759(0xb9),new _0x4b9dd8()),x(this,_0x21d759(0x237),this[_0x21d759(0xb9)][_0x21d759(0x20f)]()),x(this,_0x21d759(0x164),new _0x4b9dd8()),x(this,_0x21d759(0x141),this[_0x21d759(0x164)]['asObservable']()),x(this,_0x21d759(0xee),new Map()),x(this,_0x21d759(0x226),[]),x(this,_0x21d759(0x22f),new Map()),(this[_0x21d759(0x2a8)]=_0xffdbc5,this[_0x21d759(0x117)]=_0x4605ce,this[_0x21d759(0x1f7)]=_0x136224,this[_0x21d759(0x2e1)]=_0x40f734,this['_resourceManagerService']=_0x33056d,this[_0x21d759(0x2b6)]());}[_0x56d0e0(0x1f0)](){const _0x5b1e8c=_0x56d0e0;return this[_0x5b1e8c(0x145)]?this['_textInfo']:yi;}['setTextInfo'](_0x5aac06){const _0x3c3630=_0x56d0e0;this[_0x3c3630(0x145)]=_0x5aac06;}['handleMoveRange'](_0x26684b){const _0x264ef2=_0x56d0e0;var _0x23482f;const {from:_0x573184,to:_0x3c86d8,unitId:_0x876322,fromRange:_0x2acfc2,toRange:_0x229b96}=_0x26684b;if(_0x573184&&_0x3c86d8){const _0x53b2f5=this[_0x264ef2(0x101)](_0x876322),_0x5b942b=this[_0x264ef2(0xb2)][_0x264ef2(0x30d)](_0x876322),_0x1d75a2=(_0x23482f=this[_0x264ef2(0x117)][_0x264ef2(0x18d)](_0x876322))==null?void 0x0:_0x23482f[_0x264ef2(0x255)](_0x3c86d8[_0x264ef2(0x17a)]);if(!_0x5b942b||!_0x1d75a2)return;const _0x354284=_0x1d75a2==null?void 0x0:_0x1d75a2[_0x264ef2(0x1b5)]();for(const [_0x54b270,_0x1cffd3]of _0x5b942b['entries']())for(const [_0x84edf8,_0x593483]of _0x1cffd3[_0x264ef2(0x2ce)]()){const {sourceRangeInfo:_0x3ba597}=_0x593483;if(_0x3ba597['unitId']===_0x876322&&_0x3ba597[_0x264ef2(0x17a)]===_0x573184[_0x264ef2(0x17a)]&&_0x1d39b7[_0x264ef2(0x27f)](_0x2acfc2,_0x3ba597[_0x264ef2(0x12d)])){const _0x4025b1={'row':_0x3ba597[_0x264ef2(0x12d)][_0x264ef2(0x2db)]-_0x2acfc2[_0x264ef2(0x2db)],'col':_0x3ba597[_0x264ef2(0x12d)]['startColumn']-_0x2acfc2[_0x264ef2(0x136)]},_0x270829={'unitId':_0x876322,'subUnitId':_0x3c86d8[_0x264ef2(0x17a)],'sheetName':_0x354284,'range':{'startRow':_0x229b96['startRow']+_0x4025b1[_0x264ef2(0x155)],'endRow':_0x229b96[_0x264ef2(0x2db)]+_0x4025b1['row']+_0x3ba597['range'][_0x264ef2(0x103)]-_0x3ba597[_0x264ef2(0x12d)]['startRow'],'startColumn':_0x229b96[_0x264ef2(0x136)]+_0x4025b1[_0x264ef2(0x1c4)],'endColumn':_0x229b96[_0x264ef2(0x136)]+_0x4025b1['col']+_0x3ba597[_0x264ef2(0x12d)][_0x264ef2(0x149)]-_0x3ba597[_0x264ef2(0x12d)][_0x264ef2(0x136)]}};_0x53b2f5[_0x264ef2(0x23c)](_0x84edf8,_0x270829);const _0x5cae3d={..._0x593483,'sourceRangeInfo':_0x270829};this[_0x264ef2(0x261)](_0x876322,_0x3c86d8['subUnitId'],_0x84edf8,_0x5cae3d),this[_0x264ef2(0xb8)]({'unitId':_0x876322,'token':_0x84edf8,'type':ke[_0x264ef2(0xea)],'oldSourceRangeInfo':_0x3ba597,'dataRangeInfo':_0x270829,'targetCellInfo':_0x593483[_0x264ef2(0x2fa)]}),this[_0x264ef2(0x244)]({'unitId':_0x876322,'subUnitId':_0x3c86d8['subUnitId'],'oldSubUnitId':_0x54b270,'pivotTableId':_0x84edf8,'pivotTableConfig':_0x5cae3d,'collectionConfig':_0x53b2f5[_0x264ef2(0x166)]()});}}}}[_0x56d0e0(0xb8)](_0x4e448d){const _0x50d1aa=_0x56d0e0;this[_0x50d1aa(0x1aa)][_0x50d1aa(0x1a3)](_0x4e448d);}['getDataFieldManager'](_0x2a10ef){const _0x550b67=_0x56d0e0;let _0x5873f4=this[_0x550b67(0xee)]['get'](_0x2a10ef);return _0x5873f4||(_0x5873f4=new Fi(this,this[_0x550b67(0x117)]),this['_dataFieldManagerCollection']['set'](_0x2a10ef,_0x5873f4)),_0x5873f4;}[_0x56d0e0(0x144)](_0x2fb83d,_0x26332e){const _0x1eb720=_0x56d0e0;return this[_0x1eb720(0x101)](_0x2fb83d)[_0x1eb720(0x263)][_0x26332e];}['getUpdateRangeDeleteIds'](_0x3488a5,_0x1eb153,_0x8e5733){const _0x19938c=_0x56d0e0;return this[_0x19938c(0x101)](_0x3488a5)[_0x19938c(0x213)](_0x1eb153,_0x8e5733);}[_0x56d0e0(0x2dc)](_0x316d30,_0x4d9e74){const _0xb9d350=_0x56d0e0;let _0x29fc67=this[_0xb9d350(0xb2)]['get'](_0x316d30);_0x29fc67||(_0x29fc67=new Map(),this[_0xb9d350(0xb2)][_0xb9d350(0x200)](_0x316d30,_0x29fc67));let _0x4eb84a=_0x29fc67[_0xb9d350(0x30d)](_0x4d9e74);return _0x4eb84a||(_0x4eb84a=new Map(),_0x29fc67[_0xb9d350(0x200)](_0x4d9e74,_0x4eb84a)),_0x4eb84a;}['_updateModelCache'](_0x2ef773,_0x1c5d03,_0x659e03,_0x32f215){const _0x282b93=_0x56d0e0;this[_0x282b93(0x2dc)](_0x2ef773,_0x1c5d03)[_0x282b93(0x200)](_0x659e03,_0x32f215);}[_0x56d0e0(0xd8)](_0x5c6284,_0x5490ac,_0x238b6a){const _0x58e6e2=_0x56d0e0;var _0x397234,_0x14cf5a,_0x55b7f3,_0x2e74bb;((_0x14cf5a=(_0x397234=this['_model'][_0x58e6e2(0x30d)](_0x5c6284))==null?void 0x0:_0x397234[_0x58e6e2(0x30d)](_0x5490ac))==null?void 0x0:_0x14cf5a[_0x58e6e2(0x30d)](_0x238b6a))&&((_0x2e74bb=(_0x55b7f3=this[_0x58e6e2(0xb2)][_0x58e6e2(0x30d)](_0x5c6284))==null?void 0x0:_0x55b7f3[_0x58e6e2(0x30d)](_0x5490ac))==null||_0x2e74bb[_0x58e6e2(0x2bd)](_0x238b6a));}['_updatePivotTableInstanceCache'](_0x4b457c,_0x4095ce){const _0x4a7603=_0x56d0e0;this[_0x4a7603(0x227)][_0x4a7603(0x200)](_0x4b457c,_0x4095ce);}[_0x56d0e0(0x272)](_0xe9b8a2){const _0x3d0ee7=_0x56d0e0;this['_pivotTableInstanceCache'][_0x3d0ee7(0x2bd)](_0xe9b8a2);}['_ensureViewDataMap'](_0x97d10b,_0x4074b6){const _0x3c1d42=_0x56d0e0;let _0x5a5fdd=this['_viewData'][_0x3c1d42(0x30d)](_0x97d10b);_0x5a5fdd||(_0x5a5fdd=new Map(),this[_0x3c1d42(0x301)][_0x3c1d42(0x200)](_0x97d10b,_0x5a5fdd));let _0x449b45=_0x5a5fdd[_0x3c1d42(0x30d)](_0x4074b6);return _0x449b45||(_0x449b45=new Map(),_0x5a5fdd[_0x3c1d42(0x200)](_0x4074b6,_0x449b45)),_0x449b45;}[_0x56d0e0(0x244)](_0x6a8668){const _0x2dade6=_0x56d0e0,{unitId:_0x4525c8,subUnitId:_0x225b92,pivotTableId:_0x4a9605,pivotTableConfig:_0x1732ce,collectionConfig:_0x5e1096}=_0x6a8668,_0x5b7465={'unitId':_0x4525c8,'subUnitId':_0x225b92,'oldSubUnitId':_0x225b92,'pivotTableId':_0x4a9605,'pivotTableConfig':_0x1732ce,'collectionConfig':_0x5e1096};this[_0x2dade6(0x2e1)][_0x2dade6(0x223)](co['id'],_0x5b7465,{'onlyLocal':!0x0});}[_0x56d0e0(0x160)](_0x3d26ff,_0x814417,_0x3e1963,_0x314302,_0x17c50f,_0x7fa069,_0x13ed38,_0x4cb13c=!0x1){const _0x1604e2=_0x56d0e0;var _0x402013;this[_0x1604e2(0x2e1)][_0x1604e2(0x223)](Dt['id'],{'single':{'unitId':_0x3d26ff,'subUnitId':_0x814417,'type':_0x3e1963,'pivotTableId':_0x314302,'view':_0x17c50f,'pivotConfig':_0x7fa069},'collectionConfig':{[_0x3d26ff]:_0x13ed38}},{'onlyLocal':!0x0});const _0x325b9c=!!((_0x402013=this[_0x1604e2(0x2e4)](_0x314302))!=null&&_0x402013[_0x1604e2(0x16b)]()),_0x2b82fa=this[_0x1604e2(0x1dc)](_0x3d26ff,_0x814417,_0x314302);_0x2b82fa&&this[_0x1604e2(0x308)]({'view':_0x17c50f,'pivotTableId':_0x314302,'textInfo':this[_0x1604e2(0x1f0)](),'isEmpty':_0x325b9c,'targetCellInfo':_0x2b82fa[_0x1604e2(0x2fa)]},_0x4cb13c);}['updateViewData'](_0x18e5f1,_0x5f147c){const _0x50f70c=_0x56d0e0,{targetCellInfo:_0x313540,pivotTableId:_0x120f9c}=_0x18e5f1,{unitId:_0x899b71,subUnitId:_0x109e57}=_0x313540,_0x5be32e=this[_0x50f70c(0x2d6)](_0x899b71,_0x109e57),_0x1c6264=_0x5be32e['get'](_0x120f9c);let _0x3e2643,_0x517641;_0x1c6264&&(_0x3e2643=_0x1c6264['rangeCache'],_0x517641=_0x1c6264[_0x50f70c(0x1b6)]);const {rangesCache:_0x4ba9b6,matrix:_0x17efae}=Ri(_0x18e5f1);_0x5be32e['set'](_0x120f9c,{'rangeCache':_0x4ba9b6,'matrix':_0x17efae,'oldMatrix':_0x517641,'oldRangeCache':_0x3e2643}),_0x5f147c||this['_viewData$']['next']({'unitId':_0x899b71,'subUnitId':_0x109e57,'pivotTableId':_0x120f9c});}['addPivotTable'](_0x42d659,_0x200d35,_0x12053b,_0x48154c,_0x54642f){const _0x43fd14=_0x56d0e0;this[_0x43fd14(0x261)](_0x42d659,_0x200d35,_0x12053b,_0x54642f),this[_0x43fd14(0x2fb)](_0x12053b,_0x48154c);}[_0x56d0e0(0x1e5)](_0x3b8614,_0x118576,_0x452daf){const _0x478770=_0x56d0e0,_0x149ec6=this['getDataFieldManager'](_0x3b8614);_0x149ec6[_0x478770(0x2f6)](_0x452daf)[_0x478770(0xd2)](_0x32d5b9=>{const _0x3c8aa0=_0x478770;_0x149ec6[_0x3c8aa0(0xfd)](_0x32d5b9);}),this[_0x478770(0x270)](_0x3b8614,_0x452daf),this[_0x478770(0xd8)](_0x3b8614,_0x118576,_0x452daf),this[_0x478770(0x272)](_0x452daf);}['setPivotTable'](_0x21d39e,_0x225a70,_0xc35c3f,_0x143677){const _0x456fab=_0x56d0e0;this[_0x456fab(0x261)](_0x21d39e,_0x225a70,_0xc35c3f,_0x143677);}[_0x56d0e0(0x1dc)](_0x13f24e,_0x46f4c6,_0x258957){const _0x3bb333=_0x56d0e0;var _0x10376a,_0x33f7fd;const _0x50f6f1=(_0x33f7fd=(_0x10376a=this[_0x3bb333(0xb2)][_0x3bb333(0x30d)](_0x13f24e))==null?void 0x0:_0x10376a[_0x3bb333(0x30d)](_0x46f4c6))==null?void 0x0:_0x33f7fd['get'](_0x258957);if(_0x50f6f1)return _0x50f6f1;}[_0x56d0e0(0x242)](_0x162b62,_0x4b3782,_0x6be19f){const _0x28ebe7=_0x56d0e0;var _0x49def7,_0x267bb5;const _0x12ee4e=(_0x267bb5=(_0x49def7=this[_0x28ebe7(0xb2)][_0x28ebe7(0x30d)](_0x162b62))==null?void 0x0:_0x49def7[_0x28ebe7(0x30d)](_0x4b3782))==null?void 0x0:_0x267bb5['get'](_0x6be19f);if(_0x12ee4e)return _0x12ee4e['fieldsConfig'];}[_0x56d0e0(0x2e4)](_0x47f25b){const _0x4268ac=_0x56d0e0;return this[_0x4268ac(0x227)][_0x4268ac(0x30d)](_0x47f25b);}[_0x56d0e0(0x1be)](_0x4a2456){const _0x3afd5f=_0x56d0e0;this[_0x3afd5f(0xb2)][_0x3afd5f(0x2bd)](_0x4a2456);const _0x342299=this['_dataFieldManagerCollection'][_0x3afd5f(0x30d)](_0x4a2456);_0x342299&&(_0x342299[_0x3afd5f(0x2fe)](),this[_0x3afd5f(0xee)][_0x3afd5f(0x2bd)](_0x4a2456)),this[_0x3afd5f(0x301)][_0x3afd5f(0x2bd)](_0x4a2456),this[_0x3afd5f(0x226)][_0x3afd5f(0xd2)](_0x47d10a=>{_0x47d10a['deleteUnitId'](_0x4a2456);});}[_0x56d0e0(0x253)](_0x1d25cc,_0x5371ac,_0x4bbd9e,_0x58043b){const _0x46caac=_0x56d0e0;return this[_0x46caac(0x101)](_0x4bbd9e[_0x46caac(0x243)])[_0x46caac(0x253)](_0x1d25cc,_0x5371ac,_0x4bbd9e,_0x58043b);}[_0x56d0e0(0x298)](_0xace20a){const _0x3f27b8=_0x56d0e0;return this['getDataFieldManager'](_0xace20a[_0x3f27b8(0x243)])[_0x3f27b8(0x298)](_0xace20a);}['refreshData'](_0x2a6ff0,_0x49613f,_0x1c2d46){const _0xef98e5=_0x56d0e0;this['getDataFieldManager'](_0x1c2d46[_0xef98e5(0x243)])[_0xef98e5(0xc4)](_0x2a6ff0,_0x49613f,_0x1c2d46);}[_0x56d0e0(0x293)](_0x46ff0b,_0x366a9f){const _0x9d2366=_0x56d0e0;this[_0x9d2366(0x101)](_0x46ff0b)['deleteDataField'](_0x366a9f);}[_0x56d0e0(0x270)](_0x22405b,_0x5cb975){const _0x5071f7=_0x56d0e0;this[_0x5071f7(0x101)](_0x22405b)['removeCollectionImp'](_0x5cb975);}[_0x56d0e0(0x2ad)](_0x10e71a,_0x27b361){const _0x31488f=_0x56d0e0;var _0x13f458;return(_0x13f458=this[_0x31488f(0xb2)][_0x31488f(0x30d)](_0x10e71a))==null?void 0x0:_0x13f458[_0x31488f(0x30d)](_0x27b361);}[_0x56d0e0(0x108)](_0x3e2d63){const _0x3ae36a=_0x56d0e0;for(const [_0x455706,_0x229c52]of this[_0x3ae36a(0xb2)][_0x3ae36a(0x2ce)]())for(const [_0x497b1e,_0x56020e]of _0x229c52[_0x3ae36a(0x2ce)]())if(_0x56020e['has'](_0x3e2d63))return{'unitId':_0x455706,'subUnitId':_0x497b1e};return null;}[_0x56d0e0(0x1d7)](_0xef2495,_0x50f491,_0x444ddb,_0x770819){const _0x20eb82=_0x56d0e0,_0x27e452=this['_ensureViewDataMap'](_0xef2495,_0x50f491);_0x770819?_0x27e452[_0x20eb82(0x200)](_0x444ddb,_0x770819):_0x27e452['delete'](_0x444ddb),this[_0x20eb82(0xb9)][_0x20eb82(0x1a3)]({'unitId':_0xef2495,'subUnitId':_0x50f491,'pivotTableId':_0x444ddb});}[_0x56d0e0(0x2fe)](){const _0x96d630=_0x56d0e0;super[_0x96d630(0x2fe)]();}['getViewData'](_0x4a459d,_0x5d3682,_0xb79cee){const _0x29f2b8=_0x56d0e0;var _0x300ecd,_0x1b0432;const _0x4fb5cc=(_0x1b0432=(_0x300ecd=this[_0x29f2b8(0x301)]['get'](_0x4a459d))==null?void 0x0:_0x300ecd['get'](_0x5d3682))==null?void 0x0:_0x1b0432[_0x29f2b8(0x30d)](_0xb79cee);return _0x4fb5cc||null;}['addDirtyPivotTable'](_0x5d37ec){const _0x1961ce=_0x56d0e0;this[_0x1961ce(0x2bb)](_0x5d37ec);}[_0x56d0e0(0x2bb)](_0x33bb68){const _0x2088d3=_0x56d0e0,{token:_0x481ed4,unitId:_0x53c759,subUnitId:_0x5c7619}=_0x33bb68,_0x2c76c9=_0x53c759+'-'+_0x5c7619+'-'+_0x481ed4;this[_0x2088d3(0x22f)]['get'](_0x2c76c9)&&clearTimeout(this['_queryingMap'][_0x2088d3(0x30d)](_0x2c76c9));const _0x6002e6=setTimeout(()=>{const _0x1a9c0a=_0x2088d3;this[_0x1a9c0a(0x280)](_0x33bb68),this[_0x1a9c0a(0x22f)]['delete'](_0x2c76c9);},Ti);this[_0x2088d3(0x22f)][_0x2088d3(0x200)](_0x2c76c9,_0x6002e6);}['queryDirtyPivotTable'](_0x2ec103){const _0x3ea564=_0x56d0e0,{unitId:_0x5dbbc7,subUnitId:_0x2bf95b,token:_0x330d15,type:_0x2b31f9,pivotConfig:_0x11c327}=_0x2ec103,_0x59074b=this[_0x3ea564(0x2e4)](_0x330d15),_0x4763db=_0x59074b==null?void 0x0:_0x59074b[_0x3ea564(0x133)](),_0x404dc2=_0x11c327!=null?_0x11c327:this[_0x3ea564(0x1dc)](_0x5dbbc7,_0x2bf95b,_0x330d15);_0x404dc2&&(_0x404dc2['isEmpty']=!!(_0x59074b!=null&&_0x59074b[_0x3ea564(0x16b)]())),(_0x4763db||_0x2b31f9===B[_0x3ea564(0x12b)])&&this[_0x3ea564(0x160)](_0x5dbbc7,_0x2bf95b,_0x2b31f9,_0x330d15,_0x4763db,_0x404dc2,this[_0x3ea564(0x101)](_0x5dbbc7)[_0x3ea564(0x166)]());}[_0x56d0e0(0x166)](_0x51bf1d){const _0xd87283=_0x56d0e0,_0x2a75f2={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xd87283(0x101)](_0x51bf1d)&&(_0x2a75f2['dataFieldManagerConfig'][_0x51bf1d]=this[_0xd87283(0x101)](_0x51bf1d)[_0xd87283(0x166)]()),this[_0xd87283(0xb2)][_0xd87283(0x30d)](_0x51bf1d)){_0x2a75f2[_0xd87283(0x247)][_0x51bf1d]={};const _0x4a9ad5=this[_0xd87283(0xb2)][_0xd87283(0x30d)](_0x51bf1d);_0x4a9ad5!=null&&_0x4a9ad5['size']&&[..._0x4a9ad5[_0xd87283(0x271)]()]['forEach'](_0x4ac4e2=>{const _0x2a028c=_0xd87283,_0x2784a2=_0x4a9ad5[_0x2a028c(0x30d)](_0x4ac4e2);_0x2784a2!=null&&_0x2784a2[_0x2a028c(0x9b)]&&(_0x2a75f2[_0x2a028c(0x247)][_0x51bf1d][_0x4ac4e2]={},[..._0x2784a2[_0x2a028c(0x271)]()]['forEach'](_0x5528e8=>{const _0x38c06e=_0x2a028c,_0x4346ef=_0x2784a2[_0x38c06e(0x30d)](_0x5528e8);_0x4346ef&&(_0x2a75f2['pivotTableConfigs'][_0x51bf1d][_0x4ac4e2][_0x5528e8]=_0x4346ef);}));});}return _0x2a75f2;}['fromJSON'](_0x4c33be){const _0x51bd24=_0x56d0e0;var _0x50ad78;const {dataFieldManagerConfig:_0x35862b,pivotTableConfigs:_0x1f0140}=_0x4c33be;_0x35862b&&Object['keys'](_0x35862b)[_0x51bd24(0xd2)](_0x2a71d4=>{const _0x4fcf1a=_0x51bd24;this[_0x4fcf1a(0x101)](_0x2a71d4)[_0x4fcf1a(0x135)](_0x35862b[_0x2a71d4]);});const _0x5b8373=[];if(_0x1f0140){const _0x3ad44f=(_0x50ad78=this['_injector'][_0x51bd24(0x30d)](_0x26de3f)[_0x51bd24(0x22b)](_0x15e632))!=null?_0x50ad78:{},{ls:_0x2b3b0e,pbk:_0x2499ff}=_0x3ad44f,_0x4128f0=go(so,_0x2b3b0e,_0x2499ff)[_0x51bd24(0x296)];Object['keys'](_0x1f0140)[_0x51bd24(0xd2)](_0x1d992f=>{const _0x58c6ab=_0x51bd24;let _0x10eeba=0x0;const _0x57d306=_0x1f0140[_0x1d992f];Object['keys'](_0x57d306)[_0x58c6ab(0xd2)](_0x4e5caf=>{const _0x14b2f0=_0x58c6ab,_0x2b03e7=_0x57d306[_0x4e5caf];Object[_0x14b2f0(0x271)](_0x2b03e7)[_0x14b2f0(0xd2)](_0x479791=>{const _0x4ab130=_0x14b2f0,_0x117ef9=_0x2b03e7[_0x479791];if(_0x117ef9){if(_0x10eeba>=_0x4128f0)return;_0x10eeba++;const _0x444d7e=this[_0x4ab130(0x101)](_0x1d992f),_0x589a35=_0x444d7e[_0x4ab130(0x263)][_0x479791],_0x30c8b7=_0x589a35['getFieldIds']();let _0x38f40f=0x0;const _0x167040=[];for(const _0x24c7cc of _0x30c8b7){const _0x7f7a62=_0x589a35[_0x4ab130(0x2f1)](_0x24c7cc);if(_0x4cb430(_0x7f7a62)){const _0x13460f=_0x7f7a62['getOriginFieldId'](),_0x22169e=_0x589a35[_0x4ab130(0x2f1)](_0x13460f);_0x22169e&&_0x167040[_0x4ab130(0x222)]([_0x7f7a62,_0x22169e]);continue;}_0x444d7e['refreshDataField'](_0x24c7cc,_0x117ef9['sourceRangeInfo'],_0x38f40f),_0x38f40f++;}_0x167040['forEach'](([_0x5fd965,_0x20b3c1])=>{const _0x15d0c3=_0x4ab130;_0x5fd965[_0x15d0c3(0x2ea)](_0x20b3c1);});const _0x2d9416=new _0x2d1deb(_0x589a35);_0x2d9416[_0x4ab130(0x135)](_0x117ef9[_0x4ab130(0x1c5)]),this[_0x4ab130(0xe7)](_0x1d992f,_0x4e5caf,_0x479791,_0x2d9416,_0x117ef9);const _0x5f24e9=_0x2d9416[_0x4ab130(0x133)]();_0x5b8373[_0x4ab130(0x222)]({'unitId':_0x1d992f,'subUnitId':_0x4e5caf,'pivotTableId':_0x479791,'view':_0x5f24e9[_0x4ab130(0x166)](),'pivotConfig':_0x117ef9,'type':B[_0x4ab130(0x1da)]});const _0x2066f3=!!_0x2d9416[_0x4ab130(0x16b)](),_0x3d0b97={'view':_0x5f24e9,'pivotTableId':_0x479791,'textInfo':this['getTextInfo'](),'isEmpty':_0x2066f3,'targetCellInfo':_0x117ef9['targetCellInfo']};this[_0x4ab130(0x308)](_0x3d0b97,!0x1);}});});});}_0x35862b&&Object[_0x51bd24(0x271)](_0x35862b)['forEach'](_0x29caf8=>{const _0x1c80fa=_0x51bd24,_0x46a830=this[_0x1c80fa(0x101)](_0x29caf8);this['_fieldsCollectionChange$']['next'](_0x46a830[_0x1c80fa(0x263)]);}),this[_0x51bd24(0x2e1)][_0x51bd24(0x223)](Dt['id'],{'batch':_0x5b8373,'collectionConfig':_0x35862b},{'onlyLocal':!0x0});}[_0x56d0e0(0x2b6)](){const _0x28cef6=_0x56d0e0;this[_0x28cef6(0x21c)](this[_0x28cef6(0x16d)][_0x28cef6(0x15c)]({'toJson':_0x584c9c=>JSON[_0x28cef6(0x251)](this[_0x28cef6(0x166)](_0x584c9c)),'parseJson':_0x4a42e8=>{const _0x34cdf6=_0x28cef6;if(!_0x4a42e8)return{};try{return JSON[_0x34cdf6(0x1c0)](_0x4a42e8);}catch{return{};}},'businesses':[_0x318ece[_0x28cef6(0x2f2)]],'pluginName':ao,'onLoad':(_0x45a077,_0x3c41f4)=>{const _0x30c02e=_0x28cef6;this[_0x30c02e(0x135)](_0x3c41f4);},'onUnLoad':_0x1d17f8=>{const _0x3d7312=_0x28cef6;this[_0x3d7312(0x1be)](_0x1d17f8);}}));}};q=Ni([nt(0x0,_0x4baf86(_0x2d4021)),nt(0x1,_0xcc1cef),nt(0x2,_0x4baf86(_0x3ff1c4)),nt(0x3,_0x20632e),nt(0x4,_0x4baf86(_0x8338a8))],q);const xi={0x0:{0x0:{'v':_0x56d0e0(0xcf),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x56d0e0(0x19b),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x8:{0x0:{'v':_0x56d0e0(0x155),'s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':_0x56d0e0(0x319),'s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Yo=(_0x3f553e,_0x334707)=>{const _0x32a872=_0x56d0e0,_0xef0d64=new _0x3ca4f2(),_0xd9ca3d=new _0x3ca4f2(xi),{row:_0x37efb4,col:_0x2ef3dd}=_0x334707;_0xd9ca3d[_0x32a872(0x2a3)]((_0x4e5f31,_0x912f49,_0x1c1c07)=>{const _0x48a453=_0x32a872;let _0x1f5cb0='';_0x1c1c07['v']===_0x48a453(0xcf)?_0x1f5cb0=_0x3f553e[_0x48a453(0xcf)]:_0x1c1c07['v']==='row'?_0x1f5cb0=_0x3f553e[_0x48a453(0x155)]:_0x1c1c07['v']===_0x48a453(0x19b)?_0x1f5cb0=_0x3f553e[_0x48a453(0x19b)]:_0x1c1c07['v']===_0x48a453(0x319)&&(_0x1f5cb0=_0x3f553e[_0x48a453(0x319)]),_0xef0d64['setValue'](_0x4e5f31+_0x37efb4,_0x912f49+_0x2ef3dd,{..._0x1c1c07,'v':_0x1f5cb0});});const _0x46c50f=_0x48433f['deepClone'](Lt);return Object['keys'](Lt)[_0x32a872(0xd2)](_0xcb4dee=>{const _0x22d5c9=_0x32a872;_0x46c50f[_0xcb4dee]=Lt[_0xcb4dee][_0x22d5c9(0x1a4)](_0x498a1c=>({..._0x498a1c,'startRow':_0x498a1c[_0x22d5c9(0x2db)]+_0x37efb4,'endRow':_0x498a1c[_0x22d5c9(0x103)]+_0x37efb4,'startColumn':_0x498a1c['startColumn']+_0x2ef3dd,'endColumn':_0x498a1c['endColumn']+_0x2ef3dd}));}),{'matrixCache':_0xef0d64,'rangesCache':_0x46c50f};};function Ui(_0x463325,_0x1fba87){const _0x131082=_0x56d0e0;let _0x1786d8='';const _0x385cbb=this[_0x131082(0x1f0)]();switch(_0x1fba87){case _0x2d4c9c['average']:_0x1786d8=_0x385cbb[_0x131082(0x1c8)]+_0x463325;break;case _0x2d4c9c[_0x131082(0x296)]:_0x1786d8=_0x385cbb[_0x131082(0x132)]+_0x463325;break;case _0x2d4c9c[_0x131082(0x186)]:_0x1786d8=_0x385cbb[_0x131082(0x25f)]+_0x463325;break;case _0x2d4c9c[_0x131082(0x276)]:_0x1786d8=_0x385cbb[_0x131082(0x291)]+_0x463325;break;case _0x2d4c9c[_0x131082(0x2de)]:_0x1786d8=_0x385cbb[_0x131082(0x30a)]+_0x463325;break;case _0x2d4c9c['product']:_0x1786d8=_0x385cbb[_0x131082(0x27e)]+_0x463325;break;case _0x2d4c9c[_0x131082(0x28e)]:_0x1786d8=_0x385cbb[_0x131082(0x239)]+_0x463325;break;case _0x2d4c9c['stdDevp']:_0x1786d8=_0x385cbb[_0x131082(0xf8)]+_0x463325;break;case _0x2d4c9c[_0x131082(0x119)]:_0x1786d8=_0x385cbb[_0x131082(0x228)]+_0x463325;break;case _0x2d4c9c['var']:_0x1786d8=_0x385cbb[_0x131082(0x18e)]+_0x463325;break;case _0x2d4c9c[_0x131082(0x1eb)]:_0x1786d8=_0x385cbb[_0x131082(0xaf)]+_0x463325;break;default:_0x1786d8=_0x463325;break;}return _0x1786d8;}function Vi(_0x592fcd,_0x466835,_0x46d10b,_0x55ba98,_0x90d0ac){const _0x37ed9d=_0x56d0e0;var _0x56a094,_0x1193e8,_0x5d177c,_0x4ba509,_0xba17df;const _0x353ab7=_0x301f71(_0x592fcd,_0x466835),{rangesInfo:_0x3a8dff,areaInfo:_0x4680d,headerMap:_0x171cab}=_0x90d0ac;if(!_0x3a8dff||!_0x4680d||!_0x171cab)return;const _0x361bf2=Object[_0x37ed9d(0x271)](_0x3a8dff)['find'](_0x389d20=>_0x3a8dff[_0x389d20][_0x37ed9d(0x19d)](_0x1eb5ea=>_0x1d39b7[_0x37ed9d(0x27f)](_0x1eb5ea,_0x353ab7))),_0x210165=_0x4680d;let _0x34824c,_0x142d5e,_0x3cedde;if(_0x361bf2==='rowRanges')_0x34824c=(_0x56a094=_0x210165==null?void 0x0:_0x210165[_0x37ed9d(0x305)])==null?void 0x0:_0x56a094[_0x592fcd],_0x142d5e=(_0x1193e8=_0x171cab==null?void 0x0:_0x171cab['rowHeaderMap'])==null?void 0x0:_0x1193e8[_0x466835],_0x3cedde=_0x142d5e==null?void 0x0:_0x142d5e[_0x37ed9d(0xd3)];else{if(_0x361bf2===_0x37ed9d(0x29c))_0x34824c=(_0x5d177c=_0x210165==null?void 0x0:_0x210165[_0x37ed9d(0xf4)])==null?void 0x0:_0x5d177c[_0x466835],_0x142d5e=(_0x4ba509=_0x171cab[_0x37ed9d(0x9e)])==null?void 0x0:_0x4ba509[_0x592fcd+0x1+_0x466835-_0x3a8dff['colRanges'][0x0][_0x37ed9d(0x136)]],_0x3cedde=_0x142d5e==null?void 0x0:_0x142d5e[_0x37ed9d(0xd3)];else{if(_0x361bf2===_0x37ed9d(0x1ab))_0x34824c=(_0xba17df=_0x210165==null?void 0x0:_0x210165[_0x37ed9d(0x99)])==null?void 0x0:_0xba17df[_0x466835],_0x3cedde=_0x34824c==null?void 0x0:_0x34824c[_0x37ed9d(0xd3)];else{if(_0x361bf2===_0x37ed9d(0x231)){const _0x3b0479=_0x46d10b==null?void 0x0:_0x46d10b['fi'];_0x3b0479!==void 0x0&&(_0x3cedde=_0x55ba98[_0x37ed9d(0x1a7)](_0x3b0479));}}}}return{'filterId':_0x3cedde,'info':_0x34824c,'data':_0x46d10b,'headerInfo':_0x142d5e};}function Ei(_0x4bb44d,_0x1bc507,_0x17934c){const _0x23a160=_0x56d0e0,_0x10e3b8=_0x4bb44d['dataFieldsCollection'],_0x319976=_0x10e3b8[_0x23a160(0x106)](),_0x1bfbc4=new Set();_0x4bb44d['iterateField'](_0x2c1e8b=>{const _0x55208a=_0x23a160;_0x1bfbc4[_0x55208a(0x307)](_0x2c1e8b['dataFieldId']);});const _0x24784e=_0x319976[_0x23a160(0x1a4)](_0x3cba36=>{const _0x97598=_0x23a160,_0x20515c=_0x10e3b8[_0x97598(0x2f1)](_0x3cba36);return{'checked':_0x1bfbc4[_0x97598(0x13b)](_0x3cba36),'dataFieldId':_0x20515c['id'],'id':_0x20515c['id'],'name':_0x10e3b8[_0x97598(0x123)](_0x20515c['id']),'type':_0x20515c['getFieldDataType'](),'pivotTableId':_0x1bc507};}),_0x3b2a16=[];_0x4bb44d[_0x23a160(0x318)](_0x209a53['Row'],_0x2703b0=>{const _0x27a60f=_0x23a160;_0x3b2a16['push']({'dataFieldId':_0x2703b0[_0x27a60f(0xf1)],'tableFieldId':_0x2703b0['getId'](),'displayName':_0x2703b0[_0x27a60f(0x123)]()});});const _0x246a4b=[];_0x4bb44d[_0x23a160(0x318)](_0x209a53[_0x23a160(0x2a7)],_0x42b5df=>{const _0xfb61bf=_0x23a160;_0x246a4b['push']({'dataFieldId':_0x42b5df[_0xfb61bf(0xf1)],'tableFieldId':_0x42b5df[_0xfb61bf(0xfe)](),'displayName':_0x42b5df['getDisplayName']()});});const _0x42b8c5=[];if(_0x4bb44d[_0x23a160(0x318)](_0x209a53[_0x23a160(0xd9)],_0x3c466c=>{const _0xf3ee9=_0x23a160;_0x42b8c5[_0xf3ee9(0x222)]({'dataFieldId':_0x3c466c[_0xf3ee9(0xf1)],'tableFieldId':_0x3c466c[_0xf3ee9(0xfe)](),'displayName':_0x3c466c[_0xf3ee9(0x123)](),'format':_0x3c466c[_0xf3ee9(0x26e)](),'subTotalType':_0x3c466c[_0xf3ee9(0x1a9)]()});}),_0x42b8c5['length']>0x1){const _0x189b8c=_0x4bb44d[_0x23a160(0x1ff)]();(_0x4bb44d[_0x23a160(0x1bf)]()?_0x246a4b:_0x3b2a16)[_0x23a160(0x312)](_0x189b8c,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x23a160(0x316)});}const _0x1bac8f=[];_0x4bb44d['iterateFieldByArea'](_0x209a53['Filter'],_0x2802a3=>{const _0x260db9=_0x23a160;_0x1bac8f[_0x260db9(0x222)]({'dataFieldId':_0x2802a3[_0x260db9(0xf1)],'tableFieldId':_0x2802a3[_0x260db9(0xfe)](),'displayName':_0x2802a3[_0x260db9(0x123)]()});});const _0x10f591=_0x17934c[_0x23a160(0x21e)];return{'sourceList':_0x24784e,'sourceRange':_0x10f591,'rowFields':_0x3b2a16,'columnFields':_0x246a4b,'valueFields':_0x42b8c5,'filterFields':_0x1bac8f,'positionInfo':_0x17934c[_0x23a160(0x2fa)]};}function fo(_0x6f580,_0x633c96,_0x580f57='',_0xd4de93={}){const _0x48a28b=_0x56d0e0,_0x246ca6=_0x6f580[_0x48a28b(0x30d)](_0x20e317);for(const _0x31306e in _0x633c96)if(Object[_0x48a28b(0x264)][_0x48a28b(0x12f)][_0x48a28b(0x218)](_0x633c96,_0x31306e)){const _0x2b1284=_0x580f57?_0x580f57+'.'+_0x31306e:_0x31306e;typeof _0x633c96[_0x31306e]==_0x48a28b(0x11d)&&_0x633c96[_0x31306e]!==null&&!Array['isArray'](_0x633c96[_0x31306e])?fo(_0x6f580,_0x633c96[_0x31306e],_0x2b1284,_0xd4de93):_0xd4de93[_0x2b1284]=_0x246ca6['t'](_0x2b1284);}return _0xd4de93;}const Bt=_0x498404=>{const _0x5bb051=_0x56d0e0;if(!_0x498404)return[];const {rowRanges:_0x5d4fc1,colRanges:_0x934287,cornerRanges:_0x21614a,dataRanges:_0x5240d6,pageRanges:_0x1eaf4c}=_0x498404,_0x542fc6=[..._0x934287,..._0x5d4fc1,..._0x5240d6,..._0x21614a][_0x5bb051(0xcf)](_0x51c781=>_0x51c781['startRow']>=0x0&&_0x51c781[_0x5bb051(0x136)]>=0x0&&_0x51c781[_0x5bb051(0x103)]>=0x0&&_0x51c781[_0x5bb051(0x149)]>=0x0);let _0x5656db=Number['MAX_SAFE_INTEGER'],_0x146189=Number['MIN_SAFE_INTEGER'],_0x289155=Number['MAX_SAFE_INTEGER'],_0x534c12=Number[_0x5bb051(0x122)];for(let _0x5e162a=0x0;_0x5e162a<_0x542fc6[_0x5bb051(0x2a0)];_0x5e162a++)_0x5656db=Math['min'](_0x5656db,_0x542fc6[_0x5e162a][_0x5bb051(0x2db)]),_0x146189=Math[_0x5bb051(0x276)](_0x146189,_0x542fc6[_0x5e162a][_0x5bb051(0x103)]),_0x289155=Math[_0x5bb051(0x2de)](_0x289155,_0x542fc6[_0x5e162a]['startColumn']),_0x534c12=Math['max'](_0x534c12,_0x542fc6[_0x5e162a][_0x5bb051(0x149)]);return[..._0x1eaf4c,{'startRow':_0x5656db,'endRow':_0x146189,'startColumn':_0x289155,'endColumn':_0x534c12}];};function Oi(_0x27f8d4,_0x10a33d){const _0x3022c7=_0x56d0e0,_0xaf417=_0x10a33d[_0x3022c7(0x205)]['drillDown'],{pivotTableId:_0x1e979a,unitId:_0x9c3b93,subUnitId:_0x52daab}=_0x10a33d;if(!_0xaf417)return;const _0x1d3644=_0x27f8d4[_0x3022c7(0x30d)](q),_0x50507b=_0x1d3644[_0x3022c7(0x2e4)](_0x1e979a),_0x4e925c=_0x1d3644[_0x3022c7(0x1dc)](_0x9c3b93,_0x52daab,_0x1e979a);if(!_0x50507b||!_0x4e925c)return;const _0x21aa4e=_0x50507b[_0x3022c7(0x2c0)](_0xaf417[_0x3022c7(0xf0)]);if(!(_0x21aa4e!=null&&_0x21aa4e[_0x3022c7(0x2a0)]))return;const _0xecbf67=_0x4e925c[_0x3022c7(0x21e)],{unitId:_0x8674eb,subUnitId:_0x100eed,range:_0x14f84d}=_0xecbf67;let _0x26a9da=0x0;const _0x2c6c1c=_0x50507b[_0x3022c7(0xe2)][_0x3022c7(0x106)]()[_0x3022c7(0xb1)]((_0x9e21cb,_0x409029)=>{const _0x24e977=_0x3022c7;var _0xc933f;const _0x1d59bb=(_0xc933f=_0x50507b[_0x24e977(0x13e)](_0x409029))==null?void 0x0:_0xc933f['getformat']();return _0x1d59bb&&(_0x9e21cb[String(_0x26a9da)]=_0x1d59bb),_0x26a9da++,_0x9e21cb;},{});return{'indexes':_0x21aa4e,'range':_0x14f84d,'sourceUnitId':_0x8674eb,'sourceSubUnitId':_0x100eed,'formatMap':_0x2c6c1c};}function Jo(_0x1c91ad,_0x4cf420){const _0x4435d7=_0x56d0e0;if(!_0x1c91ad||!_0x4cf420)return!0x0;const _0x4f5d2f=_0x7a2704($o,qo),_0x18f173=new Function('return\x20'+_0x4f5d2f)()(_0x1c91ad,_0x4cf420)[_0x4435d7(0x224)],_0x2b2597=_0xd3766e(_0x18f173,'sf',Ao);return!((_0x18f173==null?void 0x0:_0x18f173['rt'])===_0x3adf61[_0x4435d7(0xe9)]&&!_0x2b2597);}function go(_0x31d3e1,_0x92d74b,_0x9ba3bd){const _0x5b6d52=_0x56d0e0,_0x4eea4e={'count':_0x31d3e1,'timeValid':!0x1};if(!_0x92d74b||!_0x9ba3bd)return _0x4eea4e;const _0x57eec0=_0x7a2704($o,qo),_0x5398a3=new Function(_0x5b6d52(0x262)+_0x57eec0)()(_0x92d74b,_0x9ba3bd);if(_0x5398a3!=null&&_0x5398a3[_0x5b6d52(0xa6)]){const _0x2ee32d=_0x5398a3['message'],_0x380260=_0xd3766e(_0x2ee32d,'sf',Ao);return{'count':_0x2eacfc(_0x2ee32d,_0x380260,'ptn',_0x31d3e1,_0x31d3e1,0x0),'timeValid':_0x380260};}return _0x4eea4e;}function Wo(_0x43272c,_0x3c3d01,_0x4b4698,_0x34c662){const _0x5c100c=_0x56d0e0,_0x19b989={'subUnitId':_0x4b4698,'unitId':_0x3c3d01,'cellValue':_0x152f42(_0x34c662)},_0x2edb03=_0x59dbe6(_0x43272c,_0x19b989);let _0x48a362=!0x1;return new _0x3ca4f2(_0x2edb03['cellValue'])[_0x5c100c(0x2a3)]((_0x815e85,_0x3a3ab0,_0x92f188)=>{const _0x1cc1f5=_0x5c100c;if(!_0x48a362&&_0x92f188&&(_0x92f188[_0x1cc1f5(0x183)]||_0x92f188['f']||_0x92f188['p']||_0x92f188['s']||_0x92f188['si']||_0x92f188['t']||_0x92f188['v']))return _0x48a362=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x4296bd['id'],'params':_0x2edb03},'setRangeValueRedoMutation':{'id':_0x4296bd['id'],'params':_0x19b989},'shouldClear':_0x48a362};}function Ai(_0x16b0a4){const {row:_0x294b01,col:_0x2b151c}=_0x16b0a4,_0x3e001d={'startRow':_0x294b01,'endRow':_0x294b01,'startColumn':_0x2b151c,'endColumn':_0x2b151c},_0xa3ae81={'startRow':_0x294b01+0x2,'endRow':_0x294b01+0xe,'startColumn':_0x2b151c,'endColumn':_0x2b151c+0x6};return[_0x3e001d,_0xa3ae81];}function ji(_0x46dfec,_0x38ac7f,_0x5a2484){const _0x309e85=_0x56d0e0,{cornerView:_0x56b9ba,rowView:_0x4c37b9,colView:_0x476f4d,pageView:_0x384239}=_0x46dfec,{row:_0x3c25b7,col:_0x2725c1}=_0x38ac7f;if(_0x5a2484)return{'rowCount':Ci+_0x3c25b7,'colCount':bi+_0x2725c1};const _0x8c13c8=_0x384239[_0x309e85(0x245)]>-0x1?_0x384239['lastRow']+0x1:0x0,_0x218d24=_0x384239[_0x309e85(0x210)]>-0x1?_0x384239[_0x309e85(0x210)]:0x0,_0x4cc40a=_0x3c25b7+_0x8c13c8+(_0x8c13c8?0x1:0x0)+_0x56b9ba[_0x309e85(0x142)]+_0x4c37b9[_0x309e85(0x142)],_0x1a1ba2=_0x2725c1+_0x218d24,_0x5997ff=_0x2725c1+_0x56b9ba[_0x309e85(0x1b3)]+_0x476f4d[_0x309e85(0x1b3)],_0x3fc1c6=Math[_0x309e85(0x276)](_0x1a1ba2,_0x5997ff);return{'rowCount':_0x4cc40a,'colCount':_0x3fc1c6};}function Fe(_0x5839f5,_0x20d78c,_0x11ee10,_0x38fa3b){const _0x5e87c3=_0x56d0e0,{row:_0x118bb3,col:_0xe735c0,unitId:_0x2e043b,subUnitId:_0x49c0d6}=_0x11ee10,_0x2d8236=ji(_0x20d78c,{'row':_0x118bb3,'col':_0xe735c0},_0x38fa3b),_0xa06cdc=_0x5839f5[_0x5e87c3(0x30d)](_0xcc1cef),_0x2999bb=_0x28fad5(_0xa06cdc,{'unitId':_0x2e043b,'subUnitId':_0x49c0d6}),_0x176639=[],_0xb3e7ed=[];if(!_0x2999bb)return{'undos':_0xb3e7ed,'redos':_0x176639};const {worksheet:_0x18c8a0}=_0x2999bb,_0x4020ee=_0x18c8a0['getRowCount'](),_0x54b235=_0x18c8a0[_0x5e87c3(0x1d1)]();return _0x4020ee<_0x2d8236[_0x5e87c3(0x142)]&&(_0x176639[_0x5e87c3(0x222)]({'id':_0x30ec4b['id'],'params':{'unitId':_0x2e043b,'subUnitId':_0x49c0d6,'range':{'startRow':_0x4020ee,'endRow':_0x2d8236[_0x5e87c3(0x142)]-0x1,'startColumn':0x0,'endColumn':_0x54b235-0x1}}}),_0xb3e7ed[_0x5e87c3(0x222)]({'id':_0x190378['id'],'params':{'unitId':_0x2e043b,'subUnitId':_0x49c0d6,'range':{'startRow':_0x4020ee,'endRow':_0x2d8236[_0x5e87c3(0x142)]-0x1,'startColumn':0x0,'endColumn':_0x54b235-0x1}}})),_0x54b235<_0x2d8236[_0x5e87c3(0x1b3)]&&(_0x176639['push']({'id':_0xc4d96e['id'],'params':{'unitId':_0x2e043b,'subUnitId':_0x49c0d6,'range':{'startRow':0x0,'endRow':_0x4020ee-0x1,'startColumn':_0x54b235,'endColumn':_0x2d8236[_0x5e87c3(0x1b3)]-0x1}}}),_0xb3e7ed[_0x5e87c3(0x222)]({'id':_0x286da3['id'],'params':{'unitId':_0x2e043b,'subUnitId':_0x49c0d6,'range':{'startRow':0x0,'endRow':_0x4020ee-0x1,'startColumn':_0x54b235,'endColumn':_0x2d8236[_0x5e87c3(0x1b3)]-0x1}}})),{'undos':_0xb3e7ed,'redos':_0x176639};}function ki(_0x3aa8b3){const _0x2b4d44=_0x56d0e0;let _0x4ac758=0x0;for(let _0x4648ff=0x0;_0x4648ff<_0x3aa8b3[_0x2b4d44(0x2a0)];_0x4648ff++){const _0x4ba3f2=_0x3aa8b3[_0x2b4d44(0x19f)](_0x4648ff);_0x4ba3f2>=0x4e00&&_0x4ba3f2<=0x9fff||_0x4ba3f2>=0x3000&&_0x4ba3f2<=0x303f||_0x4ba3f2>=0xff00&&_0x4ba3f2<=0xffef?_0x4ac758+=0x2:_0x4ac758+=0x1;}return _0x4ac758;}function _0x26dd(){const _0x4666c8=['getDataFieldId','NORMAL','_ensurePivotItemRenderValueMatrixCache','updateFieldPosition','Count\x20of\x20','#e6ebfb','getColumnCount','dimension','initDataRanges','YearQuarter','generateMutationsByRanges','SetPivotSetting','sideEffectUpdateWorkerCache','Collapse','getSheetBySheetName','Add','_sheetsPivotTableConfigModel','getPivotTableConfig','sheet.mutation.set-pivot-value-filter','YearMonth','date','SHEET_PIVOT_EXCLUSIVE_ID','sheet.mutation.send-pivot-view-local','setValue','updatePivotTableRangeInfo','NotNumber','removePivotTable','updateValuePosition','colStyle','dataFields','removeValueFilterInfo','282YneVEj','varp','Row','viewUpdate$','7744640WcrRGh','leafStyle','getTextInfo','setTextInfo','setPivotCollapse','_ensurePivotTableMatrixInfo','sheet.command.set-pivot-field-setting','Quarter','filterInfo','_lifecycleService','refreshDataField','value','Minute','sheet.mutation.set-pivot-collapse','_sheetsPivotTableAdaptorModel','sheet.mutation.send-pivot-data-local','#e6ebfa','getValueIndex','set','addPivotTableWithConfig','addDirtyPivotTable','displayName','Hour','params','DrillDown','registerCommand','Month','sheets-pivot.dateGroup.hourMinute','getMonth','StdDev\x20of\x20','_pivotInitCompleted$','pivotInitCompleted$','getPivotDisplayConfig','asObservable','lastCol','single','updatePivotSource','getUpdateRangeDeleteIds','sheet.mutation.remove-pivot-table','_configService','onQueryEnd','Expand','call','setPivotInitCompleted','sheets-pivot.dateGroup.quarter','getFieldCountByArea','disposeWithMe','_pivotConfigChange$','sourceRangeInfo','subtotal','sheets-pivot.grandTotal','getDataFieldBySourceName','push','executeCommand','message','getAutoDisplayNameFunction','needSameDeleteModel','_pivotTableInstanceCache','sheets-pivot.sumName','info','876NiLrPW','getConfig','Panel','subTotalStyle','addRecord','_queryingMap','find','pageRanges','pivotConfigChange$','endCollectChangeset','isDate','dataStyle','valueFields','viewData$','updateDataFieldsCollection','sheets-pivot.stdDevName','setSortInfo','getStyles','handleMoveRange','#1d32e9','sheet.mutation.pivot-update-value-position','setValueFilterInfo','_globalSubject','_pivotTableRangeInfo','getPivotTableModelConfig','unitId','updateConfig','lastRow','startCollectChangeset','pivotTableConfigs','SetCollapse','getLastRow','pageStyle','getIntersects','name','Set','_updateRenderEmptyCache','NUM','sheets-pivot.dateGroup.year','stringify','defineProperty','addCollectionByJSON','sheets-pivot.cellDateGroupDisplay.year','getSheetBySheetId','Subtotal','_activeDirtyManagerService','symbol','getPivotTableRangeInfo','setCollapse','getSourceName','_getAutoName','_initUnitDisposed','error','sheets-pivot.countNumsName','sheet.mutation.add-group-collection','_updateModelCache','return\x20','collections','prototype','getPivotTableIdByCell','_initConfig','GrandTotal','grandTotal','getActiveSheet','reset','setRangeValueUndoMutation','getRangeKeyList','_init','getFormat','oldMatrix','removeCollections','keys','_deletePivotTableInstanceCache','RemovePivotField','_createExclusiveRange','SetPivotSort','max','sheet.mutation.rename-pivot-field','sheet.command.remove-pivot-field','getInterceptPoints','setPivotTableConfig','ManualFilter','sheet.mutation.set-pivot-option','isBottomTotal','sheets-pivot.productName','contains','queryDirtyPivotTable','collapseInfo','setPivotSort','getMatrixFromRunTimeData','sheets-pivot.emptyPivot.column','undos','setOptions','headerMap','UpdateSource','sheets-pivot.dateGroup.yearQuarter','ResetPivotTable','DIV_BY_ZERO','sheet.mutation.send-pivot-config-local','SetValuePivotFilter','stdDev','collection','updateConfigCache','sheets-pivot.maxName','filterId','removeDataField','getTableFieldById','getCurrentUnitForType','count','realDeleteValue','createCollectionWithDataRange','drillDown','NUMBER','register','colRanges','createDataFieldId','sheets-pivot.columnName','getDirtyInfo','length','renameField','UpdateFieldPosition','forValue','UpdatePivotSource','prefix','PIVOT_MUTATION_GENERATE','Column','_injector','\x20-\x20','getColumnWidth','replace','#FFFFFF','getSubUnitPivotConfigs','collectionConfig','dataFieldManagerConfig','rangeKeyMap','FORCE_STRING','setValuePivotFilter','valuePosition','rowRanges','AddField','_initSnapshot','_initPivotTextInfo','redos','setPivotSetting','blank','updateDirtyPivotTable','2DbBava','delete','versions','result','getIndexesByPathStr','addCollection','dataRangeInfo','SetPivotFilter','sheets-pivot.dateGroup.monthDate','registerCallbackWithEvent','rangeType','STRING','sheets-pivot.dateGroup.date','number','getPivotPerformCheck','batch','getFieldPositionInfoById','SHEET_PIVOT_IN_MAIN_THREAD','entries','_pivotRenderInfoCache','New','getTextSize','getSheets','getFieldInfo','sheets-pivot.cellDateGroupDisplay.quarter','SetPivotTableConfig','_ensureViewDataMap','Min\x20of\x20','getDataFieldItemInfo','paths','getFieldDataType','startRow','_ensurePivotMap','sheets-pivot.cellDateGroupDisplay.hour','min','pivotMutationGenerate','areaInfo','_commandService','rangeKey','floor','getPivotTableInstance','Div0','pluginName','oldRangeInfo','3361448tJZFmM','getTypeOfUnitDisposed$','refreshGroupField','_ensurePivotItemRenderInfoCache','setSourceName','getRefRangeMutationsByMoveRange','pbt','_initCommandInterceptListener','panel','getFieldById','UNIVER_SHEET','forRow','getColCount','remove','getNoUsedDataFieldIds','126777IkvCAP','YearMonthDate','SetPivotCollapse','targetCellInfo','_updatePivotTableInstanceCache','onStarting','iterateField','dispose','getRangeStartEndInfo','_sheetsPivotTableService','_viewData','from','minDate','NAME','rowInfo','adjustSheetCellData','add','updateViewData','sheets-pivot.dateGroup.minute','sheets-pivot.minName','parseInt','COLUMN','get','getIntersectsPivotTable','setDataRecordCount','deleteField','markDirty$','splice','_sheetsPivotRpcService','sheetName','intersects','ΣValue','workbook\x20is\x20not\x20found','iterateFieldByArea','values','sheets-pivot.dateGroup.yearMonth','concat','_initViewModelBySheetInterceptor','_initRegisterCommand','sheet.mutation.set-pivot-sort-info','textInfo','_subjectCollectionChange','split','cornerInfo','Product\x20of\x20','size','Filter','getPivotTableMatrixInfo','colHeaderMap','iterateFieldDim','sheet.command.reset-pivot-fields-config','handleAsyncResponse','_globalComputingSrv','addField','4880mDdxkz','_initDataSendListener','valid','9ZpBMDi','getUnitId','_exclusiveRangeService','isText','_localeService','subscribe','sheet.mutation.update-pivot-table-source-range','sheet.mutation.update-date-group','sheets-pivot.varpName','RemoveField','reduce','_model','sheet.command.set-pivot-fields-config','options','MUTATION','_initPivotDataGetListener','sheet.operation.pivot-table-view-formula-mark-dirty','broadcastCollectionChange','_viewData$','rowFields','_onRefRangeChange','_sheetsSelectionsService','valueFilter','_markDirty$','sheet.command.add-pivot-table','getViewData','setName','version','setRange','refreshData','registerSyncingMutations','notExecuteFormula','interceptor','shouldClear','Varp\x20of\x20','columnFields','removeValueFilterInfoByValueFieldId','_initLocale','clearRenderCache','collectionChange$','filter','rgb(240,241,243)','(Blank)','forEach','tableFieldId','_configVersion$','pushComputingStatusSubject','resetPivotTable','limit\x20pivot','_deleteModelCache','Value','Var\x20of\x20','updateCollectionConfig','_config','_getPivotAppliedRanges','_pivotRenderValueMatrixCache','setConfig','sheet.command.pivot-drill-down','sheets.tabs.sheet','dataFieldsCollection','getValue','sheets-pivot.cellDateGroupDisplay.minute','getSheetId','AddPivotField','addPivotTable','_sheetsPivotDataSourceModel','NO_COMMERCIAL','update','setSubtotalType','removeField','sheet.mutation.get-pivot-data-local','_dataFieldManagerCollection','_featureCalculationManagerService','tuple','dataFieldId','getCellRaw','220tgDDEy','colInfo','Max\x20of\x20','getCellMatrix','sheet.command.set-pivot-value-filter','sheets-pivot.stdDevpName','sheet.mutation.add-pivot-table','maxDate','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','valueIndex','deleteDataField','getId','deepClone','COMMAND','getDataFieldManager','slice','endRow','format','Existing','getFieldIds','setPivotFilter','getTargetByPivotId','addExclusiveRange','token','getFieldFormat','_refRangeHandle','sheets-pivot.emptyPivot.values','getValuePosition','_refRangeService','fields','getOriginFieldId','getAutoFitColumnsMutations','Column\x20','REF','movePivotField','getTargetByPivotTableId','_univerInstanceService','MovePivotField','sum','sheet.mutation.set-pivot-format','generateNewSheetName','Total','object','markDirty','sheet.command.set-pivot-collapse','_collectionConfigModel','sheet.mutation.send-init-pivot-text-local','MIN_SAFE_INTEGER','getDisplayName','formJSON','AddPivotTableWithConfig','uniqueDataFieldName','getPivotDirtyViewInfo','getLastCol','sheet.command.set-pivot-sort','setLabelFilterInfo','Delete','sheet.mutation.set-pivot-filter','range','2271804pfixco','hasOwnProperty','Values','SetSubtotalType','sheets-pivot.countName','query','addDataFieldWithoutUnitInfo','fromJSON','startColumn','clearExclusiveRangesByGroupId','sheets-pivot.emptyPivot.filter','_pivotTableMatrixInfo','getFilterInfo','has','onCommandExecuted','Grand\x20Total','getDataFieldByDataFieldId','HourMinute','fetchThroughInterceptors','fieldsCollectionChange$','rowCount','isValue','getCollection','_textInfo','fetchThroughAsyncInterceptors','getFormatInfo','interceptCommand','endColumn','_host','updateRenderCache','removeSourceRangeChange','setDateType','rowStyle','setDisplayName','hasField','handleSourceRangeChange','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_sheetInterceptorService','SHEET_PIVOT_TABLE_PLUGIN','row','sheets-pivot.cellDateGroupDisplay.date','_dataSyncPrimaryController','addFieldWithSourceId','removePivotField','updateViewInfo','3nqmFYxq\x20bTmcZ0FYxq(hYmTqjT,\x200nVhYmXTZ)\x20{\x20\x20\x20\x20FcZ\x20{\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20hYmTqjTLq3xyDcFtccDZ\x20=\x20hYmTqjT.j0hYF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20xcYUYqfTjjDUT\x20=\x20pRS5.0DcjT(DFxV(hYmTqjTLq3xyDcFtccDZ[P]));\x20\x20\x20\x20\x20\x20\x20\x20Y3\x20(!xcYUYqfTjjDUT.nb)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xcYUYqfTjjDUT.nb\x20=\x205nrVTc(hYmTqjTLq3xyDcFtccDZ[o]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20YjExc9Tc\x20=\x20FZ0Tx3\x20Exc9TcghxVDhRmx0T\x20!==\x20\x27nqbT3YqTb\x27\x20&&\x20jTh3\x20YqjFDqmTx3\x20Exc9TcghxVDhRmx0T;\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20mxqFTIF\x20=\x20YjExc9Tc\x20?\x20jTh3\x20:\x206Yqbx6;\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20rTjjDUTExcb\x20=\x20mxqFTIF.__JDjTio__.0DcjT(hYmTqjTLq3xyDcFtccDZ[P]);\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20rTjjDUT\x20=\x20mxqFTIF.__7TI__.jFcYqUY3Z(rTjjDUTExcb);\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20jYUqDFncTExcb\x20=\x20mxqFTIF.__JDjTio__.0DcjT(hYmTqjTLq3xyDcFtccDZ[a]);\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20jYUqDFncT\x20=\x20mxqFTIF.__7TI__.jFcYqUY3Z(jYUqDFncTExcb);\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20jYUquDhYb\x20=\x20mxqFTIF.__CTcY3Z__(jYUqDFncT,\x20rTjjDUT,\x200nVhYmXTZ);\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20bxrDYq\x20=\x20xcYUYqfTjjDUT.br;\x20\x20\x20\x20\x20\x20\x20\x203nqmFYxq\x20YjBxrDYqfDFmAYqU(xyDFFTcq,\x20x7xjF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x200DFFTcq\x20=\x20xyDFFTcq.cT0hDmT(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20AxjF\x20=\x20x7xjF.cT0hDmT(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x200DFFTcqyDcFj\x20=\x200DFFTcq.j0hYF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20AxjFyDcFj\x20=\x20AxjF.j0hYF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y3\x20(!0DFFTcq.YqmhnbTj(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cTFncq\x200DFFTcq\x20===\x20AxjF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y3\x20(0DFFTcqyDcFj.hTqUFA\x20<\x20P\x20||\x200DFFTcqyDcFj[W]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cTFncq\x203DhjT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x200DFFTcqRn33YI\x20=\x200DFFTcqyDcFj.jhYmT(O).MxYq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20AxjFRn33YI\x20=\x20AxjFyDcFj.jhYmT(-0DFFTcqyDcFj.hTqUFA\x20+\x20O).MxYq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cTFncq\x200DFFTcqRn33YI\x20===\x20AxjFRn33YI;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTF\x20bxrDYquDhYb\x20=\x20(bxrDYq\x20&&\x20bxrDYq.hTqUFA)\x20?\x20bxrDYq.jxrT((brLFTr)\x20=>\x20YjBxrDYqfDFmAYqU(brLFTr,\x20hxmDFYxq.AxjFqDrT))\x20:\x20FcnT;\x20\x20\x20\x20\x20\x20\x20\x20Y3\x20(hxmDFYxq.AxjFqDrT\x20===\x20\x27hxmDhAxjF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bxrDYquDhYb\x20=\x20FcnT;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20mxqjF\x20CDhYb\x20=\x20jYUquDhYb\x20&&\x20bxrDYquDhYb;\x20\x20\x20\x20\x20\x20\x20\x20cTFncq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CDhYb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rTjjDUT:\x20xcYUYqfTjjDUT,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20mDFmA\x20(Tccxc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cTFncq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CDhYb:\x203DhjT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rTjjDUT:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','registerPluginResource','addPivotField','level','UpdateValuePosition','updateView','sheet.mutation.remove-pivot-field','getPivotTableCellData','sheet.mutation.pivot-update-field-source-info','_fieldsCollectionChange$','getDataFieldByTableId','toJSON','_initClearSelectionCommandInterceptor','updateRangeKeyMap','getMatrixValue','sheet.command.update-date-group','isEmpty','body','_resourceManagerService','width','isNaN','_requestResolvers','Average\x20of\x20','leftOffset','originTargetInfo','StdDevp\x20of\x20','updateFieldSourceInfo','getHeaderMapItem','random','sheet.command.add-pivot-field','data','subUnitId','getRowCount','rangesInfo','486958qAFUdQ','sourceName','triggerDirtyFeature','setFieldFormat','pushUndoRedo','registerDirtyService','custom','_generateUniqueVersion','sheet.mutation.pivot-update-field-position','countNums','sortInfo','measure','_subjectFieldsCollectionChange','sheets-pivot.dateGroup.yearMonthDate','_initGlobalComputed','setPivotTable','getUnit','sheets-pivot.varName','NotName','SetFilterInfo','pivotTableIndexConfig','substring','sheets-pivot.dateGroup.hour','string','includes','updatePivotTableMatrixInfo','pivotTableId','getFullYear','getSortInfo','AddPivotTable','column','sheet.command.move-pivot-field','some','Year','charCodeAt','unshift','getOwnPropertyDescriptor','_globalComputedEndHelpFunc','next','map','getValueFilterInfos','getMatrix','getFilterFieldIdByIndex','fieldIds','getSubtotal','_collectionChange$','cornerRanges','_initRemoveSheetCommandInterceptor','disposableCollection','toString','getRangeKey','setRangeKeyMap','type','263124ahFKvl','colCount','setRangeValueRedoMutation','getName','matrix','SetOptions','_viewUpdate$','fontRenderExtension','getPivotItemRenderInfoCache','setDirty','getGroupFieldsInfoByIds','asyncInterceptor','deleteUnitId','isColMultiMeasure','parse','updateAllDisplayName','_subjectViewChange','CELL_CONTENT','col','fieldsConfig','sheets-pivot.value','getDate','sheets-pivot.averageName','sheet.command.add-pivot-table-with-config','removeCollectionImp'];_0x26dd=function(){return _0x4666c8;};return _0x26dd();}function Po(_0x2b3aad,_0x138449,_0x6abcfb,_0x45a333){const _0x9d8bb1=_0x56d0e0;var _0x21edce,_0x22ae03,_0x42d85e,_0x4936a7;const {rowCount:_0x211556,colCount:_0x367856,headerMap:_0x596c0f}=_0x2b3aad,_0x47632c=0x64,_0x3af40a=Math[_0x9d8bb1(0x2de)](_0x211556,_0x47632c),_0x3cdab2=Math['min'](_0x367856,_0x47632c);let _0x23d83e='',_0x430ed3=0x0;for(let _0x712a42=0x0;_0x712a42<_0x3af40a;_0x712a42++)for(let _0x2d3b7e=0x0;_0x2d3b7e<_0x3cdab2;_0x2d3b7e++){const _0x575f59={...(_0x22ae03=(_0x21edce=_0x2b3aad[_0x9d8bb1(0x179)])==null?void 0x0:_0x21edce[_0x712a42])==null?void 0x0:_0x22ae03[_0x2d3b7e]},_0x5eb3fd=(_0x42d85e=_0x596c0f[_0x712a42])==null?void 0x0:_0x42d85e[_0x9d8bb1(0xd3)],_0x3f9d09=_0x45a333[_0x5eb3fd];let _0x135d93=_0x2b3aad[_0x9d8bb1(0xe3)](_0x712a42,_0x2d3b7e);if(_0x575f59){const _0x36e450=_0x6abcfb?_0x2d3b7e===0x0&&((_0x4936a7=_0x2b3aad[_0x9d8bb1(0x176)](_0x2d3b7e+0x1))==null?void 0x0:_0x4936a7[_0x9d8bb1(0x143)]):!0x1;_0x135d93=vt(_0x575f59,_0x36e450,_0x3f9d09,_0x138449);}if(_0x135d93!==void 0x0){const _0xc553c4=ki(String(_0x135d93));_0x430ed3<_0xc553c4&&(_0x23d83e=String(_0x135d93),_0x430ed3=_0xc553c4);}}return _0x23d83e;}function Li(_0x13e06b){const _0xa85616=_0x56d0e0,{rowCount:_0x5d7888,colCount:_0x336ebb}=_0x13e06b;let _0x1bbb1c='',_0x493fa6=0x0;for(let _0xb9c0e7=_0x5d7888-0x1;_0xb9c0e7>0x0&&_0xb9c0e7>_0x5d7888-0x3;_0xb9c0e7--)for(let _0xaaed6c=0x0;_0xaaed6c<_0x336ebb;_0xaaed6c++){const _0x5cd980=_0x13e06b['getValue'](_0xb9c0e7,_0xaaed6c);if(_0x5cd980!==void 0x0){const _0x2d319f=String(_0x5cd980)[_0xa85616(0x2a0)];_0x493fa6<_0x2d319f&&(_0x1bbb1c=String(_0x5cd980),_0x493fa6=_0x2d319f);}}return _0x1bbb1c;}function Bi(_0x3ae628){const _0x542ae3=_0x56d0e0,{rowCount:_0x5c3e07,colCount:_0x1f23de}=_0x3ae628;let _0x2e9673='',_0x43931e=0x0;for(let _0x412b1d=0x0;_0x412b1d<_0x5c3e07;_0x412b1d++)for(let _0x482281=0x0;_0x482281<_0x1f23de;_0x482281++){const _0x11154e=_0x3ae628['getValue'](_0x412b1d,_0x482281);if(_0x11154e!==void 0x0){const _0xdcb45f=String(_0x11154e)[_0x542ae3(0x2a0)];_0x43931e<_0xdcb45f&&(_0x2e9673=String(_0x11154e),_0x43931e=_0xdcb45f);}}return _0x2e9673;}function qi(_0x5752fa,_0xe4c234){const _0x254423=_0x56d0e0,{rowFields:_0x2bfc4f,columnFields:_0xa2045,valueFields:_0x5f3d26,filterFields:_0x11ac0d,dimension:_0x15f56e,measure:_0x40c12}=_0xe4c234;for(const _0x3471f8 of _0x2bfc4f){const _0x3c77ed=_0x15f56e[_0x3471f8];_0x3c77ed&&_0x5752fa[_0x254423(0x13e)](_0x3c77ed[_0x254423(0xf1)])&&(_0x5752fa['addFieldWithSourceId'](_0x3c77ed[_0x254423(0xf1)],_0x209a53[_0x254423(0x1ec)],void 0x0,_0x3471f8),_0x3c77ed['displayName']&&_0x5752fa[_0x254423(0x2a1)](_0x3c77ed['id'],_0x3c77ed[_0x254423(0x203)]),_0x3c77ed[_0x254423(0x187)]&&_0x5752fa[_0x254423(0x23a)](_0x3c77ed['id'],_0x3c77ed[_0x254423(0x187)]),_0x3c77ed[_0x254423(0x1f6)]&&_0x5752fa[_0x254423(0x12a)](_0x3c77ed['id'],_0x3c77ed[_0x254423(0x1f6)]));}for(const _0x49c030 of _0xa2045){const _0x13ba3c=_0x15f56e[_0x49c030];_0x13ba3c&&_0x5752fa['getDataFieldByDataFieldId'](_0x13ba3c[_0x254423(0xf1)])&&(_0x5752fa[_0x254423(0x158)](_0x13ba3c[_0x254423(0xf1)],_0x209a53[_0x254423(0x2a7)],void 0x0,_0x49c030),_0x13ba3c[_0x254423(0x187)]&&_0x5752fa[_0x254423(0x23a)](_0x13ba3c['id'],_0x13ba3c[_0x254423(0x187)]),_0x13ba3c[_0x254423(0x1f6)]&&_0x5752fa[_0x254423(0x12a)](_0x13ba3c['id'],_0x13ba3c[_0x254423(0x1f6)]),_0x13ba3c[_0x254423(0x203)]&&_0x5752fa[_0x254423(0x2a1)](_0x13ba3c['id'],_0x13ba3c[_0x254423(0x203)]));}for(const _0x427d7c of _0x11ac0d){const _0x400612=_0x15f56e[_0x427d7c];_0x400612&&_0x5752fa[_0x254423(0x13e)](_0x400612[_0x254423(0xf1)])&&(_0x5752fa[_0x254423(0x158)](_0x400612[_0x254423(0xf1)],_0x209a53[_0x254423(0x9c)],void 0x0,_0x427d7c),_0x400612['sortInfo']&&_0x5752fa[_0x254423(0x23a)](_0x400612['id'],_0x400612['sortInfo']),_0x400612[_0x254423(0x1f6)]&&_0x5752fa[_0x254423(0x12a)](_0x400612['id'],_0x400612[_0x254423(0x1f6)]),_0x400612[_0x254423(0x203)]&&_0x5752fa[_0x254423(0x2a1)](_0x400612['id'],_0x400612['displayName']));}for(const _0x23f8d2 of _0x5f3d26){const _0x1f55f8=_0x40c12[_0x23f8d2];_0x1f55f8&&_0x5752fa[_0x254423(0x13e)](_0x1f55f8['dataFieldId'])&&(_0x5752fa[_0x254423(0x158)](_0x1f55f8[_0x254423(0xf1)],_0x209a53['Value'],void 0x0,_0x23f8d2),_0x1f55f8[_0x254423(0x21f)]!==void 0x0&&_0x5752fa[_0x254423(0xeb)](_0x23f8d2,_0x1f55f8[_0x254423(0x21f)]),_0x1f55f8['format']&&_0x5752fa[_0x254423(0x180)](_0x23f8d2,_0x1f55f8['format']),_0x1f55f8['displayName']&&_0x5752fa[_0x254423(0x2a1)](_0x1f55f8['id'],_0x1f55f8[_0x254423(0x203)]));}const _0x4ed005=_0xe4c234[_0x254423(0xbd)];for(const {fieldId:_0x27a9cf,filterInfo:_0x597b67}of _0x4ed005)_0x5752fa[_0x254423(0x23f)](_0x27a9cf,_0x597b67);}function $i(_0x5e4f4c,_0x327da3){const _0x1db98d=_0x56d0e0,_0x195ed6=[];_0x327da3===_0x209a53[_0x1db98d(0x1ec)]&&_0x5e4f4c[_0x1db98d(0x318)](_0x209a53['Row'],_0x6d3bf4=>{const _0x3d0684=_0x1db98d;_0x195ed6[_0x3d0684(0x222)](_0x6d3bf4[_0x3d0684(0xfe)]());}),_0x327da3===_0x209a53['Column']&&_0x5e4f4c[_0x1db98d(0x318)](_0x209a53['Column'],_0x27f326=>{const _0x24a0c2=_0x1db98d;_0x195ed6[_0x24a0c2(0x222)](_0x27f326[_0x24a0c2(0xfe)]());}),_0x327da3===_0x209a53[_0x1db98d(0x9c)]&&_0x5e4f4c[_0x1db98d(0x318)](_0x209a53['Filter'],_0x410f0f=>{const _0x4ab12e=_0x1db98d;_0x195ed6[_0x4ab12e(0x222)](_0x410f0f[_0x4ab12e(0xfe)]());}),_0x327da3===_0x209a53['Value']&&_0x5e4f4c['iterateFieldByArea'](_0x209a53[_0x1db98d(0xd9)],_0x5ba547=>{const _0x330383=_0x1db98d;_0x195ed6[_0x330383(0x222)](_0x5ba547[_0x330383(0xfe)]());}),_0x327da3===void 0x0&&_0x5e4f4c[_0x1db98d(0x2fd)](_0x29c3c8=>{const _0x4e72d3=_0x1db98d;_0x195ed6[_0x4e72d3(0x222)](_0x29c3c8['getId']());});const _0x5caa48=_0x195ed6[_0x1db98d(0x2a0)];for(let _0x5e7213=_0x5caa48-0x1;_0x5e7213>=0x0;_0x5e7213--)_0x5e4f4c[_0x1db98d(0xec)](_0x195ed6[_0x5e7213]);const _0x393e93=_0x5e4f4c[_0x1db98d(0x1a5)]();for(const _0x2faa1f in _0x393e93)_0x5e4f4c[_0x1db98d(0x1e9)](_0x2faa1f);}function Yi(_0x3da304,_0x5953ce){const _0x23a468=_0x56d0e0,_0x3bb178=new Date(_0x5948f3(_0x5953ce)),_0x3b135d=new Date(_0x5948f3(_0x3da304)),_0x23585f=_0x3bb178[_0x23a468(0x198)](),_0x39fe31=_0x3b135d['getFullYear'](),_0x290fe8=_0x3bb178[_0x23a468(0x20a)](),_0x5933e5=_0x3b135d['getMonth'](),_0x4ede62=_0x3bb178[_0x23a468(0x1c7)](),_0x4ae307=_0x3b135d[_0x23a468(0x1c7)](),_0x1f6f64=_0x23585f===_0x39fe31,_0xea6453=_0x1f6f64&&_0x290fe8===_0x5933e5;return _0x1f6f64&&_0xea6453&&!(_0xea6453&&_0x4ede62===_0x4ae307)?_0x48b318[_0x23a468(0x2f8)]:_0x1f6f64&&!_0xea6453?_0x48b318[_0x23a468(0x1de)]:_0x48b318[_0x23a468(0x19e)];}function Go(_0x47cffd,_0x52bc1f){const _0x3d2424=_0x56d0e0,_0x4650b2=_0x47cffd[_0x3d2424(0x30d)](q)['getTextInfo']();let _0x4a955f='';switch(_0x52bc1f){case _0x48b318[_0x3d2424(0x2f8)]:_0x4a955f=_0x4650b2[_0x3d2424(0x18a)];break;case _0x48b318['YearMonth']:_0x4a955f=_0x4650b2[_0x3d2424(0x31a)];break;case _0x48b318[_0x3d2424(0x19e)]:_0x4a955f=_0x4650b2[_0x3d2424(0x250)];break;case _0x48b318['Month']:_0x4a955f=_0x4650b2['sheets-pivot.dateGroup.month'];break;case _0x48b318[_0x3d2424(0x1f5)]:_0x4a955f=_0x4650b2[_0x3d2424(0x21a)];break;case _0x48b318['Date']:_0x4a955f=_0x4650b2[_0x3d2424(0x2c8)];break;case _0x48b318[_0x3d2424(0x13f)]:_0x4a955f=_0x4650b2[_0x3d2424(0x209)];break;case _0x48b318[_0x3d2424(0x204)]:_0x4a955f=_0x4650b2[_0x3d2424(0x193)];break;case _0x48b318[_0x3d2424(0x1fa)]:_0x4a955f=_0x4650b2[_0x3d2424(0x309)];break;case _0x48b318['MonthDate']:_0x4a955f=_0x4650b2[_0x3d2424(0x2c4)];break;case _0x48b318[_0x3d2424(0x1d4)]:_0x4a955f=_0x4650b2[_0x3d2424(0x289)];break;default:_0x4a955f='';break;}return _0x4a955f;}const Ko='sheets-pivot.config',yo={};var Ji=Object['getOwnPropertyDescriptor'],Wi=(_0x277ccd,_0x2a6d35,_0x198df1,_0x428a4e)=>{for(var _0xbaf80f=_0x428a4e>0x1?void 0x0:_0x428a4e?Ji(_0x2a6d35,_0x198df1):_0x2a6d35,_0x5bc4ef=_0x277ccd['length']-0x1,_0x3ee185;_0x5bc4ef>=0x0;_0x5bc4ef--)(_0x3ee185=_0x277ccd[_0x5bc4ef])&&(_0xbaf80f=_0x3ee185(_0xbaf80f)||_0xbaf80f);return _0xbaf80f;},it=(_0x4741a5,_0x9fb390)=>(_0x113969,_0x81d133)=>_0x9fb390(_0x113969,_0x81d133,_0x4741a5);let ve=class extends _0x5876c8{constructor(_0x4b8075,_0x499687,_0x36262b,_0x4fd663,_0x80080d){const _0x2fb61c=_0x56d0e0;super(),x(this,_0x2fb61c(0xb2),new Map()),x(this,_0x2fb61c(0x120),new Map()),x(this,_0x2fb61c(0x241),new Map()),x(this,_0x2fb61c(0x139),new Map()),x(this,'_configVersion$',new _0x4b9dd8()),x(this,_0x2fb61c(0x20c),new _0x4b9dd8()),x(this,_0x2fb61c(0x20d),this[_0x2fb61c(0x20c)]['asObservable']()),x(this,_0x2fb61c(0x21d),new _0x4b9dd8()),x(this,_0x2fb61c(0x232),this[_0x2fb61c(0x21d)][_0x2fb61c(0x20f)]()),x(this,_0x2fb61c(0x145),{}),x(this,'configVersion$',this[_0x2fb61c(0xd4)]['asObservable']()),(this[_0x2fb61c(0x2a8)]=_0x4b8075,this[_0x2fb61c(0x2e1)]=_0x499687,this[_0x2fb61c(0x117)]=_0x36262b,this[_0x2fb61c(0x16d)]=_0x4fd663,this[_0x2fb61c(0x215)]=_0x80080d,this[_0x2fb61c(0xcc)](),this[_0x2fb61c(0x25d)]());const _0x2027c8=this[_0x2fb61c(0x215)][_0x2fb61c(0x22b)](Ko);(_0x2027c8==null?void 0x0:_0x2027c8[_0x2fb61c(0xc6)])===!0x0&&this[_0x2fb61c(0x2b6)]();}['_initUnitDisposed'](){const _0x30f162=_0x56d0e0;this[_0x30f162(0x21c)](this[_0x30f162(0x117)]['getTypeOfUnitDisposed$'](_0x318ece['UNIVER_SHEET'])['subscribe'](_0xa3412a=>{const _0x37f0dc=_0x30f162;this['deleteUnitId'](_0xa3412a[_0x37f0dc(0xa8)]());}));}[_0x56d0e0(0x219)](){const _0x4e7ed6=_0x56d0e0;this[_0x4e7ed6(0x20c)][_0x4e7ed6(0x1a3)](!0x0);}[_0x56d0e0(0xcc)](){const _0x1015f=_0x56d0e0,_0x26d652=fo(this['_injector'],ko,'',{});this[_0x1015f(0x145)]=_0x26d652,this['_commandService'][_0x1015f(0x223)](uo['id'],{'textInfo':_0x26d652},{'onlyLocal':!0x0});}[_0x56d0e0(0x1f0)](){const _0x307548=_0x56d0e0;return this[_0x307548(0x145)];}[_0x56d0e0(0x15a)](_0x133402,_0x7414d3,_0x56a3fd,_0x1776dd,_0x2765aa){const _0x40c077=_0x56d0e0;this[_0x40c077(0x196)](_0x133402,_0x7414d3,_0x56a3fd,_0x1776dd),this[_0x40c077(0x1e3)](_0x133402,_0x7414d3,_0x56a3fd,_0x2765aa);}[_0x56d0e0(0x1dc)](_0x497771,_0x49d06a,_0x66abe2){const _0xe9bd2d=_0x56d0e0;var _0x2929be;const _0x5f477d=(_0x2929be=this[_0xe9bd2d(0xb2)][_0xe9bd2d(0x30d)](_0x497771))==null?void 0x0:_0x2929be[_0xe9bd2d(0x30d)](_0x49d06a);if(_0x5f477d)return _0x5f477d[_0xe9bd2d(0x30d)](_0x66abe2);}[_0x56d0e0(0x116)](_0x4c59b2,_0x1aad2f){const _0x5b1fe5=_0x56d0e0,_0x3879b2=this['_model'][_0x5b1fe5(0x30d)](_0x4c59b2);if(_0x3879b2){for(const [_0x545fd8,_0x73d976]of _0x3879b2[_0x5b1fe5(0x2ce)]())for(const [_0x2c7332,_0x27750e]of _0x73d976[_0x5b1fe5(0x2ce)]())if(_0x2c7332===_0x1aad2f)return _0x27750e['targetCellInfo'];}}[_0x56d0e0(0x108)](_0xb04f2c,_0xb5e27a,_0x433c36){const _0x257fff=_0x56d0e0,_0x597f0e=this['getPivotTableConfig'](_0xb04f2c,_0xb5e27a,_0x433c36);return _0x597f0e==null?void 0x0:_0x597f0e[_0x257fff(0x2fa)];}['getSubUnitPivotConfigs'](_0x416f84,_0x598b79){const _0x1e82aa=_0x56d0e0;var _0x1aded5;return(_0x1aded5=this['_model'][_0x1e82aa(0x30d)](_0x416f84))==null?void 0x0:_0x1aded5[_0x1e82aa(0x30d)](_0x598b79);}[_0x56d0e0(0x290)](_0x146ca4,_0xa40743,_0x1b8275,_0x5b4a68){const _0xf77c4a=_0x56d0e0,_0x2e2c26=this['_ensurePivotMap'](_0x146ca4,_0xa40743);_0x5b4a68?_0x2e2c26[_0xf77c4a(0x200)](_0x1b8275,_0x5b4a68):_0x2e2c26[_0xf77c4a(0x2bd)](_0x1b8275),this[_0xf77c4a(0x21d)][_0xf77c4a(0x1a3)]({'unitId':_0x146ca4,'subUnitId':_0xa40743,'pivotTableId':_0x1b8275,'pivotTableConfig':_0x5b4a68});}[_0x56d0e0(0x144)](_0x2fa8a8,_0x196850){const _0x386494=_0x56d0e0;var _0x3c9479;return(_0x3c9479=this[_0x386494(0x120)][_0x386494(0x30d)](_0x2fa8a8))==null?void 0x0:_0x3c9479[_0x386494(0x263)][_0x196850];}[_0x56d0e0(0xdb)](_0x618703,_0x58fed4){const _0x3cb368=_0x56d0e0;this[_0x3cb368(0x120)][_0x3cb368(0x200)](_0x618703,_0x58fed4),this['_configVersion$'][_0x3cb368(0x1a3)](Math[_0x3cb368(0x177)]());}[_0x56d0e0(0x2dc)](_0x3d3a5f,_0x4cfa9c){const _0x469873=_0x56d0e0;let _0x9cb2df=this[_0x469873(0xb2)][_0x469873(0x30d)](_0x3d3a5f);_0x9cb2df||(_0x9cb2df=new Map(),this['_model']['set'](_0x3d3a5f,_0x9cb2df));let _0x5f4dac=_0x9cb2df[_0x469873(0x30d)](_0x4cfa9c);return _0x5f4dac||(_0x5f4dac=new Map(),_0x9cb2df[_0x469873(0x200)](_0x4cfa9c,_0x5f4dac)),_0x5f4dac;}['_ensurePivotTableRangeInfo'](_0x4e1d37,_0x2c423d){const _0xfabe5=_0x56d0e0;let _0xdc0ba2=this[_0xfabe5(0x241)][_0xfabe5(0x30d)](_0x4e1d37);_0xdc0ba2||(_0xdc0ba2=new Map(),this[_0xfabe5(0x241)][_0xfabe5(0x200)](_0x4e1d37,_0xdc0ba2));let _0x1deacb=_0xdc0ba2['get'](_0x2c423d);return _0x1deacb||(_0x1deacb=new Map(),_0xdc0ba2[_0xfabe5(0x200)](_0x2c423d,_0x1deacb)),_0x1deacb;}[_0x56d0e0(0x1f3)](_0x3998ed,_0x53f9c7){const _0x33c63f=_0x56d0e0;let _0x4b1864=this[_0x33c63f(0x139)][_0x33c63f(0x30d)](_0x3998ed);_0x4b1864||(_0x4b1864=new Map(),this[_0x33c63f(0x139)][_0x33c63f(0x200)](_0x3998ed,_0x4b1864));let _0x3c9c99=_0x4b1864[_0x33c63f(0x30d)](_0x53f9c7);return _0x3c9c99||(_0x3c9c99=new Map(),_0x4b1864[_0x33c63f(0x200)](_0x53f9c7,_0x3c9c99)),_0x3c9c99;}[_0x56d0e0(0x1e3)](_0x5e40fa,_0x334378,_0x3fdfb2,_0x179869){const _0x251a35=_0x56d0e0;var _0x3719ec;const _0x104dfb=this['_ensurePivotTableRangeInfo'](_0x5e40fa,_0x334378),_0x40e3ac=(_0x3719ec=_0x104dfb[_0x251a35(0x30d)](_0x3fdfb2))==null?void 0x0:_0x3719ec[_0x251a35(0x2e7)];_0x104dfb[_0x251a35(0x200)](_0x3fdfb2,{'oldRangeInfo':_0x40e3ac,'rangeInfo':_0x179869});}['updatePivotTableMatrixInfo'](_0x30ac39,_0x379327,_0x2f339d,_0x18afef){const _0x538757=_0x56d0e0;var _0x500268;const _0x2384de=this['_ensurePivotTableMatrixInfo'](_0x30ac39,_0x379327),_0x471a15=(_0x500268=_0x2384de[_0x538757(0x30d)](_0x2f339d))==null?void 0x0:_0x500268[_0x538757(0x26f)];_0x2384de[_0x538757(0x200)](_0x2f339d,{'oldMatrix':_0x471a15,'matrix':_0x18afef});}[_0x56d0e0(0x259)](_0x176e2c,_0x5ec954,_0x58bbf2){const _0x2f44c7=_0x56d0e0;var _0x3509b8,_0x2ebd4b;return(_0x2ebd4b=(_0x3509b8=this[_0x2f44c7(0x241)][_0x2f44c7(0x30d)](_0x176e2c))==null?void 0x0:_0x3509b8[_0x2f44c7(0x30d)](_0x5ec954))==null?void 0x0:_0x2ebd4b[_0x2f44c7(0x30d)](_0x58bbf2);}[_0x56d0e0(0x9d)](_0xb820d9,_0x3f0600,_0x172916){const _0x15e15a=_0x56d0e0;var _0x325dfb,_0x138a3d;return(_0x138a3d=(_0x325dfb=this[_0x15e15a(0x139)]['get'](_0xb820d9))==null?void 0x0:_0x325dfb[_0x15e15a(0x30d)](_0x3f0600))==null?void 0x0:_0x138a3d[_0x15e15a(0x30d)](_0x172916);}[_0x56d0e0(0x1be)](_0x9d7aaf){const _0x11a39c=_0x56d0e0;this['_model'][_0x11a39c(0x2bd)](_0x9d7aaf),this[_0x11a39c(0x120)][_0x11a39c(0x2bd)](_0x9d7aaf);}['_toJSON'](_0x191335){const _0x3ceef0=_0x56d0e0,_0x12149e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x191335)&&(_0x12149e[_0x3ceef0(0x2af)][_0x191335]=this[_0x3ceef0(0x120)][_0x3ceef0(0x30d)](_0x191335)),this[_0x3ceef0(0xb2)][_0x3ceef0(0x30d)](_0x191335)){_0x12149e[_0x3ceef0(0x247)][_0x191335]={};const _0x12e318=this[_0x3ceef0(0xb2)][_0x3ceef0(0x30d)](_0x191335);_0x12e318!=null&&_0x12e318['size']&&[..._0x12e318[_0x3ceef0(0x271)]()][_0x3ceef0(0xd2)](_0x4a4825=>{const _0x24d201=_0x3ceef0,_0x9bd6ff=_0x12e318['get'](_0x4a4825);_0x9bd6ff!=null&&_0x9bd6ff[_0x24d201(0x9b)]&&(_0x12149e[_0x24d201(0x247)][_0x191335][_0x4a4825]={},[..._0x9bd6ff[_0x24d201(0x271)]()][_0x24d201(0xd2)](_0xb7a9d0=>{const _0x3f048e=_0x24d201,_0x2d6648=_0x9bd6ff[_0x3f048e(0x30d)](_0xb7a9d0);_0x2d6648&&(_0x12149e[_0x3f048e(0x247)][_0x191335][_0x4a4825][_0xb7a9d0]=_0x2d6648);}));});}return _0x12149e;}['_initSnapshot'](){const _0x3f7890=_0x56d0e0;this[_0x3f7890(0x21c)](this['_resourceManagerService'][_0x3f7890(0x15c)]({'toJson':_0x5ca861=>JSON[_0x3f7890(0x251)](this['_toJSON'](_0x5ca861)),'parseJson':_0x8dbe1a=>({}),'businesses':[_0x318ece[_0x3f7890(0x2f2)]],'pluginName':ao,'onLoad':(_0x1a391a,_0xb26add)=>{},'onUnLoad':_0x579598=>{const _0x5b8139=_0x3f7890;this[_0x5b8139(0x1be)](_0x579598);}}));}};ve=Wi([it(0x0,_0x4baf86(_0x2d4021)),it(0x1,_0x4baf86(_0x20632e)),it(0x2,_0x4baf86(_0xcc1cef)),it(0x3,_0x4baf86(_0x8338a8)),it(0x4,_0x4baf86(_0x26de3f))],ve);var Gi=Object[_0x56d0e0(0x1a1)],Ki=(_0x3a01e6,_0x550580,_0x38e677,_0x110a6a)=>{const _0x10a878=_0x56d0e0;for(var _0x1416d9=_0x110a6a>0x1?void 0x0:_0x110a6a?Gi(_0x550580,_0x38e677):_0x550580,_0x80c98c=_0x3a01e6[_0x10a878(0x2a0)]-0x1,_0x34b60f;_0x80c98c>=0x0;_0x80c98c--)(_0x34b60f=_0x3a01e6[_0x80c98c])&&(_0x1416d9=_0x34b60f(_0x1416d9)||_0x1416d9);return _0x1416d9;},st=(_0x2764bf,_0x5d758e)=>(_0x129245,_0x55087d)=>_0x5d758e(_0x129245,_0x55087d,_0x2764bf);let Ne=class extends _0x5876c8{constructor(_0x35fb5e,_0x4c63fa,_0x2cf4ae,_0x1b6021,_0x13a005){const _0x5a5f78=_0x56d0e0;super(),x(this,_0x5a5f78(0x2cf),new Map()),x(this,_0x5a5f78(0xde),new Map()),x(this,_0x5a5f78(0xbe),new _0x4b9dd8()),x(this,_0x5a5f78(0x311),this['_markDirty$']['asObservable']()),x(this,_0x5a5f78(0x1b8),new _0x4b9dd8()),x(this,_0x5a5f78(0x1ed),this[_0x5a5f78(0x1b8)][_0x5a5f78(0x20f)]()),x(this,'_textInfo'),(this['_localeService']=_0x35fb5e,this[_0x5a5f78(0x2a8)]=_0x4c63fa,this[_0x5a5f78(0x1db)]=_0x2cf4ae,this[_0x5a5f78(0x117)]=_0x1b6021,this['_exclusiveRangeService']=_0x13a005,this[_0x5a5f78(0xcc)](),this[_0x5a5f78(0x25d)]());}[_0x56d0e0(0x25d)](){const _0x4e0c9b=_0x56d0e0;this[_0x4e0c9b(0x21c)](this[_0x4e0c9b(0x117)][_0x4e0c9b(0x2e9)](_0x318ece[_0x4e0c9b(0x2f2)])[_0x4e0c9b(0xac)](_0x123a3d=>{const _0x2d0a36=_0x4e0c9b;this['deleteUnitId'](_0x123a3d[_0x2d0a36(0xa8)]());}));}[_0x56d0e0(0xcc)](){const _0x3741b4=_0x56d0e0;this[_0x3741b4(0x145)]=fo(this[_0x3741b4(0x2a8)],ko,'',{});}[_0x56d0e0(0x14b)](_0x5b2cc9){const _0x3ed246=_0x56d0e0,{view:_0xc23a04,unitId:_0x51f61d,subUnitId:_0x173c11,pivotTableId:_0x526f29,type:_0x3c7f10}=_0x5b2cc9,_0x3cf636=this[_0x3ed246(0x1db)][_0x3ed246(0x1dc)](_0x51f61d,_0x173c11,_0x526f29);if(!_0xc23a04||!_0x3cf636||_0x3c7f10===B['Delete'])return;const {pageView:_0x2d346e,cornerView:_0x56d78a,rowView:_0x9b9b55,colView:_0x5b7788,dataView:_0x3ce60d}=_0xc23a04,_0x20d302=_0x3cf636[_0x3ed246(0x2fa)],_0x13636f=_0x3cf636['isEmpty'],_0x4aef38=this[_0x3ed246(0x1cd)](_0x51f61d,_0x173c11),_0x54fc55=this['_ensurePivotItemRenderInfoCache'](_0x51f61d,_0x173c11,_0x526f29);if(_0x13636f)return this[_0x3ed246(0x24e)](_0x5b2cc9,_0x4aef38,_0x20d302,_0x54fc55);{const _0x4f15fe=ge(_0x20d302,_0x2d346e,!0x0),_0x18559f=_0x2d346e[_0x3ed246(0x245)]>=0x0?_0x2d346e[_0x3ed246(0x245)]+0x1:0x0,_0x2a4a60=_0x56d78a['getRowCount'](),_0x44b121=_0x56d78a['getColCount'](),_0x58f4bc=_0x4f15fe[_0x3ed246(0x2a0)]>0x0?It:0x0,_0x1e0629=ge({'row':_0x20d302['row']+_0x18559f+_0x58f4bc,'col':_0x20d302[_0x3ed246(0x1c4)]},_0x56d78a,!0x1,!0x1),_0x3964e2=ge({'row':_0x20d302[_0x3ed246(0x155)]+_0x18559f+_0x58f4bc+_0x2a4a60,'col':_0x20d302[_0x3ed246(0x1c4)]},_0x9b9b55,!0x1,!0x0),_0x489d52=ge({'row':_0x20d302[_0x3ed246(0x155)]+_0x18559f+_0x58f4bc,'col':_0x20d302['col']+_0x44b121},_0x5b7788,!0x1,!0x0),_0x216ec2=ge({'row':_0x20d302[_0x3ed246(0x155)]+_0x18559f+_0x58f4bc+_0x2a4a60,'col':_0x20d302[_0x3ed246(0x1c4)]+_0x44b121},_0x3ce60d,!0x1,!0x1);_0x54fc55['rangesInfo']={'rowRanges':_0x3964e2,'colRanges':_0x489d52,'cornerRanges':_0x1e0629,'dataRanges':_0x216ec2,'pageRanges':_0x4f15fe};const _0x156f93=Pi(this[_0x3ed246(0x2a8)],_0xc23a04,_0x3cf636,this[_0x3ed246(0x145)]),{valueMatrix:_0x436e2b,rowInfo:_0x4f9917,colInfo:_0x23305e,cornerInfo:_0x4ff8ec,rowHeaderMap:_0x408794,colHeaderMap:_0x2d834b}=_0x156f93;return _0x54fc55['areaInfo']={'rowInfo':_0x4f9917,'colInfo':_0x23305e,'cornerInfo':_0x4ff8ec},_0x54fc55[_0x3ed246(0x287)]={'rowHeaderMap':_0x408794,'colHeaderMap':_0x2d834b},_0x436e2b[_0x3ed246(0xd2)]((_0x2b790e,_0x158794)=>{const _0x1b6730=_0x3ed246;Object[_0x1b6730(0x271)](_0x158794)[_0x1b6730(0xd2)](_0x3fae89=>{const _0x2d86fe=_0x1b6730,_0x80c326=+_0x3fae89,_0x2f20ce=_0x436e2b[_0x2d86fe(0xe3)](_0x2b790e,_0x80c326);_0x4aef38[_0x2d86fe(0x1e2)](_0x2b790e,_0x80c326,_0x2f20ce);});}),this['_viewUpdate$'][_0x3ed246(0x1a3)]({'unitId':_0x51f61d,'subUnitId':_0x173c11,'valueMatrix':_0x4aef38,'rangesCache':_0x54fc55[_0x3ed246(0x17c)],'pivotTableId':_0x526f29,'type':_0x5b2cc9['type']}),this[_0x3ed246(0x1db)][_0x3ed246(0x15a)](_0x51f61d,_0x173c11,_0x526f29,_0x4aef38,_0x54fc55[_0x3ed246(0x17c)]),this[_0x3ed246(0xa9)][_0x3ed246(0x109)](_0x51f61d,_0x173c11,kt,this[_0x3ed246(0x274)](_0x54fc55['rangesInfo'],_0x526f29)),{'rangeCache':_0x54fc55[_0x3ed246(0x17c)],'matrix':_0x4aef38};}}[_0x56d0e0(0x24e)](_0x28b645,_0x5a87c,_0x1f5073,_0x392770){const _0x3a8b02=_0x56d0e0,_0x2d22e9=this[_0x3a8b02(0xab)]['t'],{unitId:_0x4c7c1e,subUnitId:_0x26f234,pivotTableId:_0x51c82a}=_0x28b645,_0x19ca66={'filter':_0x2d22e9(_0x3a8b02(0x138)),'row':_0x2d22e9('sheets-pivot.emptyPivot.row'),'column':_0x2d22e9(_0x3a8b02(0x284)),'values':_0x2d22e9(_0x3a8b02(0x10d))},{matrixCache:_0x45851f,rangesCache:_0x2cf5e3}=Yo(_0x19ca66,_0x1f5073);return _0x45851f[_0x3a8b02(0x2a3)]((_0x406080,_0x5a2dcb,_0x2058b0)=>{const _0x1e494c=_0x3a8b02;_0x5a87c[_0x1e494c(0x1e2)](_0x406080,_0x5a2dcb,_0x2058b0);}),_0x392770['rangesInfo']=_0x2cf5e3,this[_0x3a8b02(0x1b8)][_0x3a8b02(0x1a3)]({'unitId':_0x4c7c1e,'subUnitId':_0x26f234,'valueMatrix':_0x5a87c,'rangesCache':_0x2cf5e3,'pivotTableId':_0x51c82a,'type':_0x28b645[_0x3a8b02(0x1b1)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x3a8b02(0x15a)](_0x4c7c1e,_0x26f234,_0x51c82a,_0x5a87c,_0x2cf5e3),this[_0x3a8b02(0xa9)]['addExclusiveRange'](_0x4c7c1e,_0x26f234,kt,this[_0x3a8b02(0x274)](_0x2cf5e3,_0x51c82a)),{'rangeCache':_0x392770[_0x3a8b02(0x17c)],'matrix':_0x5a87c};}[_0x56d0e0(0x274)](_0xec875b,_0x480653){const _0x4fca79=_0x56d0e0,_0x2514b9=[],_0x35ec52=Bt(_0xec875b);for(const _0x158b09 of _0x35ec52)_0x2514b9[_0x4fca79(0x222)]({'groupId':_0x480653,'range':_0x158b09});return _0x2514b9;}[_0x56d0e0(0xcd)](_0x3c75c6){const _0x1cb053=_0x56d0e0;var _0x49ee10,_0x1d6af1,_0x49b677,_0x38d6d0;const {pivotTableId:_0x1c27c0,unitId:_0x5f4648,subUnitId:_0x2425e2}=_0x3c75c6;if(!_0x1c27c0||!_0x5f4648||!_0x2425e2)return;const _0x4c5b36=this[_0x1cb053(0x1cd)](_0x5f4648,_0x2425e2),_0xaaf897=(_0x1d6af1=(_0x49ee10=this[_0x1cb053(0x2cf)][_0x1cb053(0x30d)](_0x5f4648))==null?void 0x0:_0x49ee10[_0x1cb053(0x30d)](_0x2425e2))==null?void 0x0:_0x1d6af1['get'](_0x1c27c0);if(_0xaaf897!=null&&_0xaaf897['rangesInfo']){for(const _0x48c02f of Object[_0x1cb053(0x271)](_0xaaf897[_0x1cb053(0x17c)]))_0xaaf897[_0x1cb053(0x17c)][_0x48c02f]['forEach'](_0x30056c=>{const _0x398341=_0x1cb053;for(let _0x2dd556=_0x30056c[_0x398341(0x2db)];_0x2dd556<=_0x30056c[_0x398341(0x103)];_0x2dd556++)for(let _0x5dc338=_0x30056c[_0x398341(0x136)];_0x5dc338<=_0x30056c[_0x398341(0x149)];_0x5dc338++)_0x4c5b36[_0x398341(0x297)](_0x2dd556,_0x5dc338);});}_0xaaf897&&((_0x38d6d0=(_0x49b677=this[_0x1cb053(0x2cf)][_0x1cb053(0x30d)](_0x5f4648))==null?void 0x0:_0x49b677[_0x1cb053(0x30d)](_0x2425e2))==null||_0x38d6d0[_0x1cb053(0x2bd)](_0x1c27c0)),this[_0x1cb053(0x1b8)][_0x1cb053(0x1a3)]({'unitId':_0x5f4648,'subUnitId':_0x2425e2,'valueMatrix':_0x4c5b36,'pivotTableId':_0x1c27c0,'rangesCache':void 0x0,'type':_0x3c75c6[_0x1cb053(0x1b1)]}),this['_exclusiveRangeService'][_0x1cb053(0x137)](_0x5f4648,_0x2425e2,kt,_0x1c27c0);}[_0x56d0e0(0x2eb)](_0x47f90d,_0x683fe1,_0x1b87bc){const _0x52bed9=_0x56d0e0;var _0x49ce84,_0x5c2806,_0x9126c5,_0x371d51,_0x2f6438,_0x549c9f;return this[_0x52bed9(0x2cf)]['has'](_0x47f90d)||this[_0x52bed9(0x2cf)][_0x52bed9(0x200)](_0x47f90d,new Map()),(_0x49ce84=this[_0x52bed9(0x2cf)]['get'](_0x47f90d))!=null&&_0x49ce84['has'](_0x683fe1)||(_0x5c2806=this[_0x52bed9(0x2cf)][_0x52bed9(0x30d)](_0x47f90d))==null||_0x5c2806[_0x52bed9(0x200)](_0x683fe1,new Map()),(_0x371d51=(_0x9126c5=this['_pivotRenderInfoCache'][_0x52bed9(0x30d)](_0x47f90d))==null?void 0x0:_0x9126c5[_0x52bed9(0x30d)](_0x683fe1))!=null&&_0x371d51[_0x52bed9(0x13b)](_0x1b87bc)||(_0x549c9f=(_0x2f6438=this[_0x52bed9(0x2cf)][_0x52bed9(0x30d)](_0x47f90d))==null?void 0x0:_0x2f6438[_0x52bed9(0x30d)](_0x683fe1))==null||_0x549c9f[_0x52bed9(0x200)](_0x1b87bc,{}),this[_0x52bed9(0x2cf)]['get'](_0x47f90d)[_0x52bed9(0x30d)](_0x683fe1)[_0x52bed9(0x30d)](_0x1b87bc);}[_0x56d0e0(0x1cd)](_0x206ca4,_0x52cdbe){const _0x3fff06=_0x56d0e0;var _0x17da9f,_0x5279c4;return this[_0x3fff06(0xde)]['has'](_0x206ca4)||this[_0x3fff06(0xde)]['set'](_0x206ca4,new Map()),(_0x17da9f=this['_pivotRenderValueMatrixCache'][_0x3fff06(0x30d)](_0x206ca4))!=null&&_0x17da9f[_0x3fff06(0x13b)](_0x52cdbe)||(_0x5279c4=this['_pivotRenderValueMatrixCache'][_0x3fff06(0x30d)](_0x206ca4))==null||_0x5279c4[_0x3fff06(0x200)](_0x52cdbe,new _0x3ca4f2()),this[_0x3fff06(0xde)][_0x3fff06(0x30d)](_0x206ca4)[_0x3fff06(0x30d)](_0x52cdbe);}['getPivotTableCellData'](_0x41f76e,_0x784de8,_0x36a8e6,_0x25fe9b){const _0x16b2ff=_0x56d0e0;var _0x419041,_0x3937b0;const _0x1742f9=(_0x3937b0=(_0x419041=this[_0x16b2ff(0xde)][_0x16b2ff(0x30d)](_0x41f76e))==null?void 0x0:_0x419041[_0x16b2ff(0x30d)](_0x784de8))==null?void 0x0:_0x3937b0['getValue'](_0x36a8e6,_0x25fe9b);if(_0x1742f9!=null)return _0x1742f9;}[_0x56d0e0(0x265)](_0xc33e0f,_0x3be5b5,_0x1e3d70,_0x52fb3a){const _0xc3a28a=_0x56d0e0;var _0x5cb42d;const _0x971951=_0x301f71(_0x1e3d70,_0x52fb3a),_0x58ba6b=(_0x5cb42d=this[_0xc3a28a(0x2cf)]['get'](_0xc33e0f))==null?void 0x0:_0x5cb42d[_0xc3a28a(0x30d)](_0x3be5b5);return _0x58ba6b?Array[_0xc3a28a(0x302)](_0x58ba6b[_0xc3a28a(0x271)]())[_0xc3a28a(0x230)](_0x34111b=>{const _0x40169b=_0xc3a28a,_0x3e1dbf=_0x58ba6b[_0x40169b(0x30d)](_0x34111b),_0x1d1751=_0x3e1dbf==null?void 0x0:_0x3e1dbf[_0x40169b(0x17c)];return _0x1d1751?Object[_0x40169b(0x271)](_0x1d1751)[_0x40169b(0x19d)](_0x18d7de=>_0x1d1751[_0x18d7de][_0x40169b(0x19d)](_0xe11494=>_0x1d39b7['contains'](_0xe11494,_0x971951))):!0x1;}):void 0x0;}[_0x56d0e0(0x30e)](_0x4c94c0,_0x4a4154,_0x4b0ed3){const _0x44cd4f=_0x56d0e0;var _0x275f53;const _0xd161db=(_0x275f53=this[_0x44cd4f(0x2cf)][_0x44cd4f(0x30d)](_0x4c94c0))==null?void 0x0:_0x275f53[_0x44cd4f(0x30d)](_0x4a4154),_0x1537bf=[];return _0xd161db&&Array[_0x44cd4f(0x302)](_0xd161db[_0x44cd4f(0x271)]())['forEach'](_0x2b0d0e=>{const _0x5c2cb1=_0x44cd4f,_0x3577d8=_0xd161db[_0x5c2cb1(0x30d)](_0x2b0d0e),_0x23d2ea=_0x3577d8==null?void 0x0:_0x3577d8['rangesInfo'];if(_0x23d2ea)for(const _0x669eb4 of Object[_0x5c2cb1(0x319)](_0x23d2ea)){let _0xee8f19=!0x1;for(const _0x173d41 of _0x669eb4)if(_0x1d39b7[_0x5c2cb1(0x315)](_0x173d41,_0x4b0ed3)){_0x1537bf[_0x5c2cb1(0x222)](_0x2b0d0e),_0xee8f19=!0x0;break;}if(_0xee8f19)break;}}),_0x1537bf;}['getSubUnitPivotMatrix'](_0x1cc1d9,_0x434e4f){const _0x1d7f9a=_0x56d0e0;var _0x20e6da,_0x2d0351;return(_0x2d0351=(_0x20e6da=this[_0x1d7f9a(0xde)][_0x1d7f9a(0x30d)](_0x1cc1d9))==null?void 0x0:_0x20e6da[_0x1d7f9a(0x30d)](_0x434e4f))!=null?_0x2d0351:new _0x3ca4f2();}['getSubUnitPivotRenderCache'](_0x1e3ab4,_0x4c22f4){const _0x38344a=_0x56d0e0;var _0x15226c;return(_0x15226c=this[_0x38344a(0x2cf)][_0x38344a(0x30d)](_0x1e3ab4))==null?void 0x0:_0x15226c[_0x38344a(0x30d)](_0x4c22f4);}[_0x56d0e0(0x1ba)](_0x5e2fdf,_0x1e1383,_0x13e0b0){const _0x2edc63=_0x56d0e0;var _0x349071,_0x48427a;return(_0x48427a=(_0x349071=this[_0x2edc63(0x2cf)]['get'](_0x5e2fdf))==null?void 0x0:_0x349071[_0x2edc63(0x30d)](_0x1e1383))==null?void 0x0:_0x48427a[_0x2edc63(0x30d)](_0x13e0b0);}['deleteUnitId'](_0x36158e){const _0x3b48f1=_0x56d0e0;this[_0x3b48f1(0x2cf)][_0x3b48f1(0x2bd)](_0x36158e),this[_0x3b48f1(0xde)][_0x3b48f1(0x2bd)](_0x36158e);}[_0x56d0e0(0x11e)](_0x1b9f11,_0xbc736c){const _0x424cc6=_0x56d0e0;this['_markDirty$'][_0x424cc6(0x1a3)]({'unitId':_0x1b9f11,'subUnitId':_0xbc736c});}};Ne=Ki([st(0x0,_0x4baf86(_0x20e317)),st(0x1,_0x4baf86(_0x2d4021)),st(0x2,_0x4baf86(ve)),st(0x3,_0x4baf86(_0xcc1cef)),st(0x4,_0x4baf86(_0x146963))],Ne);var Hi=Object['getOwnPropertyDescriptor'],zi=(_0x126815,_0x4fb2be,_0x43c696,_0x32fe71)=>{const _0x2929a0=_0x56d0e0;for(var _0x51aa91=_0x32fe71>0x1?void 0x0:_0x32fe71?Hi(_0x4fb2be,_0x43c696):_0x4fb2be,_0x1eb8c8=_0x126815[_0x2929a0(0x2a0)]-0x1,_0x153fe1;_0x1eb8c8>=0x0;_0x1eb8c8--)(_0x153fe1=_0x126815[_0x1eb8c8])&&(_0x51aa91=_0x153fe1(_0x51aa91)||_0x51aa91);return _0x51aa91;},Mo=(_0xf0d231,_0x323f73)=>(_0x1a8f9f,_0x1a29cb)=>_0x323f73(_0x1a8f9f,_0x1a29cb,_0xf0d231);let ie=class extends _0x5876c8{constructor(_0x23fef4,_0x318d08){const _0x177244=_0x56d0e0;super(),x(this,'asyncInterceptor',new _0x183b97({'PIVOT_PERFORM_CHECK':be})),x(this,_0x177244(0xc7),new _0x4e0ab8({'PIVOT_MUTATION_GENERATE':Bo})),(this['_sheetInterceptorService']=_0x23fef4,this[_0x177244(0x1fc)]=_0x318d08,this[_0x177244(0x26d)]());}[_0x56d0e0(0x26d)](){const _0x3dd4a8=_0x56d0e0;this[_0x3dd4a8(0x31c)]();}[_0x56d0e0(0x2ca)](_0x4c2cac){const _0x2cc3aa=_0x56d0e0;return this[_0x2cc3aa(0x1bd)][_0x2cc3aa(0x146)](be)(!0x1,_0x4c2cac);}[_0x56d0e0(0x31c)](){const _0x578540=_0x56d0e0;this['disposeWithMe'](this[_0x578540(0x153)]['intercept'](_0x23db00[_0x578540(0x1c3)],{'priority':0xc8,'effect':_0x3e0c38['Value']|_0x3e0c38['Style'],'handler':(_0x2afeaf,_0x5c93fd,_0xfac5c7)=>{const _0x419415=_0x578540,{row:_0x49633c,col:_0x1bac08,unitId:_0x541ada,subUnitId:_0x10c80f,workbook:_0x53651b}=_0x5c93fd,_0x4c407a=this[_0x419415(0x1fc)][_0x419415(0x162)](_0x541ada,_0x10c80f,_0x49633c,_0x1bac08);if(!_0x4c407a)return _0xfac5c7(_0x2afeaf);const _0x52009b={..._0x2afeaf};(_0x4c407a['v']||_0x4c407a['v']===0x0)&&(_0x52009b['v']=_0x4c407a['v']),_0x4c407a['t']&&(_0x52009b['t']=_0x4c407a['t']);const _0x22cfe2=(typeof(_0x2afeaf==null?void 0x0:_0x2afeaf['s'])=='string'?_0x53651b[_0x419415(0x23b)]()['get'](_0x2afeaf==null?void 0x0:_0x2afeaf['s']):_0x2afeaf==null?void 0x0:_0x2afeaf['s'])||{},_0x11ebc9=_0x53651b[_0x419415(0x23b)]()[_0x419415(0x30d)](_0x4c407a['s']),_0x2b5009={..._0x11ebc9,..._0x22cfe2};_0x11ebc9!=null&&_0x11ebc9['n']&&(_0x2b5009['n']=_0x11ebc9['n']);const _0x200d6e=_0x53651b['getStyles']()[_0x419415(0x1e2)](_0x2b5009);return _0x52009b['s']=_0x200d6e,(_0x4c407a[_0x419415(0x2ee)]===_0x21cce1[_0x419415(0x1d8)]||_0x4c407a[_0x419415(0x2ee)]===_0x21cce1[_0x419415(0x217)])&&(_0x52009b[_0x419415(0x1b9)]={},_0x52009b[_0x419415(0x1b9)][_0x419415(0x172)]=ri),_0xfac5c7(_0x52009b);}}));}};ie=zi([Mo(0x0,_0x4baf86(_0x566ca4)),Mo(0x1,_0x4baf86(Ne))],ie);function Nt(_0x7bc30,_0x5c454b){const _0x474317=_0x56d0e0;switch(_0x5c454b){case _0x209a53[_0x474317(0xd9)]:return _0x7bc30['valueFields'];case _0x209a53['Filter']:return _0x7bc30['filterFields'];case _0x209a53['Row']:return _0x7bc30[_0x474317(0xba)];case _0x209a53[_0x474317(0x2a7)]:return _0x7bc30[_0x474317(0xca)];default:return[];}}function qe(_0x288c35,_0x1bec96){const _0x4af7dc=_0x56d0e0;return _0x288c35[_0x4af7dc(0x188)][_0x1bec96]||_0x288c35['dimension'][_0x1bec96];}function Zi(_0x429938,_0x313ef0){const _0x1bb0fb=_0x56d0e0,{area:_0x43b691,fieldJson:_0x3d20b0,index:_0x32b5f4}=_0x313ef0;_0x43b691===_0x209a53[_0x1bb0fb(0xd9)]?_0x429938[_0x1bb0fb(0x188)][_0x3d20b0['id']]=_0x3d20b0:_0x429938['dimension'][_0x3d20b0['id']]=_0x3d20b0,Nt(_0x429938,_0x43b691)['splice'](_0x32b5f4,0x0,_0x3d20b0['id']);}function Qi(_0x57b03c,_0x4bb88f){const _0x15036e=_0x56d0e0,{area:_0x5c81f0,fieldId:_0x541933,index:_0x4e7056}=_0x4bb88f;_0x5c81f0===_0x209a53[_0x15036e(0xd9)]?delete _0x57b03c['measure'][_0x541933]:delete _0x57b03c[_0x15036e(0x1d2)][_0x541933],Nt(_0x57b03c,_0x5c81f0)['splice'](_0x4e7056,0x1);}function Xi(_0x22e1b2,_0x219cc9){const _0x2dd8f3=_0x56d0e0,{fieldId:_0x20cabf,name:_0x5b21b9}=_0x219cc9,_0x3c8a2a=qe(_0x22e1b2,_0x20cabf);_0x3c8a2a&&(_0x3c8a2a[_0x2dd8f3(0x203)]=_0x5b21b9);}function es(_0x17d218,_0x32c8be){const _0x33a04b=_0x56d0e0,{fieldId:_0x5a1236,collapse:_0x1c131b,item:_0x595faf}=_0x32c8be;_0x595faf!==void 0x0?(_0x17d218[_0x33a04b(0x281)][_0x5a1236]=_0x17d218[_0x33a04b(0x281)][_0x5a1236]||{},_0x17d218[_0x33a04b(0x281)][_0x5a1236][_0x595faf]=_0x1c131b):_0x17d218[_0x33a04b(0x281)][_0x5a1236]=_0x1c131b;}function ts(_0x140d23,_0x550270){const _0x32b5ee=_0x56d0e0,{fieldId:_0x55185b,format:_0x53614c}=_0x550270,_0x43ca61=qe(_0x140d23,_0x55185b);_0x43ca61&&(_0x43ca61[_0x32b5ee(0x104)]=_0x53614c);}function os(_0x1cb050,_0xd840c1){const {fieldId:_0x151b06,filterInfo:_0x3d643f}=_0xd840c1,_0x371370=qe(_0x1cb050,_0x151b06);_0x371370&&(_0x371370['filterInfo']=_0x3d643f);}function ns(_0x13dcd4,_0xa94153){const _0x5ec646=_0x56d0e0,{fieldId:_0x15274d,filterInfo:_0x294fd6}=_0xa94153,_0x357ff8=_0x13dcd4['valueFilter']['filter'](_0x2cb7bd=>_0x2cb7bd['fieldId']!==_0x15274d);_0x294fd6&&_0x357ff8[_0x5ec646(0x222)]({'fieldId':_0x15274d,'filterInfo':_0x294fd6}),_0x13dcd4[_0x5ec646(0xbd)]=_0x357ff8;}function is(_0x49957d,_0x2e5dd6){const {fieldId:_0x3767e9,subtotalType:_0x59c087}=_0x2e5dd6,_0x768b52=qe(_0x49957d,_0x3767e9);_0x768b52&&(_0x768b52['subtotal']=_0x59c087);}function ss(_0x514a8f,_0x149c9f){const _0x3d3c4d=_0x56d0e0,{fieldId:_0x14d6e8,oldArea:_0x97edcd,area:_0x4de196,oldIndex:_0x1b7751,index:_0x58694e}=_0x149c9f,_0x55e38b=_0x97edcd!==_0x209a53[_0x3d3c4d(0xd9)]&&_0x4de196===_0x209a53[_0x3d3c4d(0xd9)],_0x4e03b4=_0x97edcd===_0x209a53[_0x3d3c4d(0xd9)]&&_0x4de196!==_0x209a53[_0x3d3c4d(0xd9)];if(_0x55e38b||_0x4e03b4){const _0x3fe66d=qe(_0x514a8f,_0x14d6e8);_0x3fe66d&&(_0x55e38b?(delete _0x514a8f[_0x3d3c4d(0x1d2)][_0x14d6e8],_0x514a8f[_0x3d3c4d(0x188)][_0x14d6e8]=_0x3fe66d):(delete _0x514a8f[_0x3d3c4d(0x188)][_0x14d6e8],_0x514a8f[_0x3d3c4d(0x1d2)][_0x14d6e8]=_0x3fe66d));}const _0x4314dd=Nt(_0x514a8f,_0x97edcd),_0x31da8e=Nt(_0x514a8f,_0x4de196);_0x4314dd['splice'](_0x1b7751,0x1),_0x31da8e[_0x3d3c4d(0x312)](_0x58694e,0x0,_0x14d6e8);}function as(_0x3d19d9,_0x2bd2a3){const _0x4ece74=_0x56d0e0,{valuePosition:_0x1afc6a,index:_0x210e8c}=_0x2bd2a3;_0x3d19d9[_0x4ece74(0x2b3)]=_0x1afc6a,_0x3d19d9[_0x4ece74(0xfc)]=_0x210e8c;}function rs(_0x44033e,_0x47a2cc){const _0xebd810=_0x56d0e0,{tableFieldId:_0x45e847,sourceName:_0x3b1a6a,dataFieldId:_0x52ed1f}=_0x47a2cc,_0x2bcce0=qe(_0x44033e,_0x45e847);_0x2bcce0&&(_0x2bcce0[_0xebd810(0x17e)]=_0x3b1a6a,_0x2bcce0[_0xebd810(0xf1)]=_0x52ed1f);}function ls(_0x118c7,_0x1a953c){const _0x5e681e=_0x56d0e0,{fieldId:_0x29d8c5,sortInfo:_0x4a7f02}=_0x1a953c,_0x2d6cb5=qe(_0x118c7,_0x29d8c5);_0x2d6cb5&&(_0x2d6cb5[_0x5e681e(0x187)]=_0x4a7f02);}function cs(_0x31ec92,_0x48739f){const _0x5cd821=_0x56d0e0,{options:_0x46c6ef}=_0x48739f;_0x31ec92[_0x5cd821(0xb4)]={..._0x31ec92[_0x5cd821(0xb4)],..._0x46c6ef};}const qt={'type':_0x1d2c8e['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x42410f,_0x535281){const _0x4aed03=_0x56d0e0;if(!_0x535281)return!0x1;if(!!_0x42410f[_0x4aed03(0x30d)](_0x26de3f)[_0x4aed03(0x22b)](K))return!0x0;const _0x175739=_0x42410f['get'](q),{pivotTableId:_0x2d4c56,fieldJson:_0x3f18e8,area:_0x5c6878,index:_0x565eaf,unitId:_0x527fe6,subUnitId:_0x18b63d}=_0x535281,_0x149e11=_0x175739[_0x4aed03(0x2e4)](_0x2d4c56);if(!_0x149e11)return!0x1;let _0x126e4a;_0x5c6878===_0x209a53[_0x4aed03(0xd9)]?_0x126e4a=_0x388633(_0x3f18e8):_0x126e4a=_0xf31d68(_0x3f18e8),_0x149e11[_0x4aed03(0xa3)](_0x126e4a,_0x5c6878,_0x565eaf);const _0x55ced0=_0x175739[_0x4aed03(0x242)](_0x527fe6,_0x18b63d,_0x2d4c56);Zi(_0x55ced0,_0x535281);const _0x294d7c=_0x175739[_0x4aed03(0x1dc)](_0x527fe6,_0x18b63d,_0x2d4c56);return _0x175739[_0x4aed03(0x202)]({'unitId':_0x527fe6,'subUnitId':_0x18b63d,'token':_0x2d4c56,'type':B[_0x4aed03(0x24d)],'pivotConfig':_0x294d7c}),!0x0;}},$t={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x161),'handler'(_0x286531,_0x40b2ea){const _0x2a3a79=_0x56d0e0;if(!_0x40b2ea)return!0x1;if(!!_0x286531[_0x2a3a79(0x30d)](_0x26de3f)[_0x2a3a79(0x22b)](K))return!0x0;const _0xb7b5df=_0x286531[_0x2a3a79(0x30d)](q),{pivotTableId:_0x13502d,fieldId:_0x312cac,unitId:_0x131e37,subUnitId:_0x53f812}=_0x40b2ea,_0x4eee2e=_0xb7b5df['getPivotTableInstance'](_0x13502d);if(!_0x4eee2e)return!0x1;_0x4eee2e['removeField'](_0x312cac);const _0x12f595=_0xb7b5df[_0x2a3a79(0x242)](_0x131e37,_0x53f812,_0x13502d);Qi(_0x12f595,_0x40b2ea);const _0xbee531=_0xb7b5df['getPivotTableConfig'](_0x131e37,_0x53f812,_0x13502d);return _0xb7b5df[_0x2a3a79(0x202)]({'unitId':_0x131e37,'subUnitId':_0x53f812,'token':_0x13502d,'type':B[_0x2a3a79(0x24d)],'pivotConfig':_0xbee531}),!0x0;}},Yt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x277),'handler'(_0x481a7c,_0x40d35e){const _0x4365b1=_0x56d0e0;if(!_0x40d35e)return!0x1;if(!!_0x481a7c[_0x4365b1(0x30d)](_0x26de3f)[_0x4365b1(0x22b)](K))return!0x0;const _0x420136=_0x481a7c[_0x4365b1(0x30d)](q),{unitId:_0x645f05,subUnitId:_0x48e233,pivotTableId:_0x3f8b6f,fieldId:_0x257dc2,name:_0x49cc89}=_0x40d35e,_0x5a37bd=_0x420136['getPivotTableInstance'](_0x3f8b6f);if(!_0x5a37bd)return!0x1;_0x5a37bd['renameField'](_0x257dc2,_0x49cc89);const _0x527415=_0x420136[_0x4365b1(0x242)](_0x645f05,_0x48e233,_0x3f8b6f);return Xi(_0x527415,_0x40d35e),_0x420136[_0x4365b1(0x202)]({'unitId':_0x645f05,'subUnitId':_0x48e233,'token':_0x3f8b6f,'type':B[_0x4365b1(0x24d)]}),!0x0;}},Jt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x1fb),'handler'(_0x5cbf60,_0x395dc2){const _0x170078=_0x56d0e0;if(!_0x395dc2)return!0x1;if(!!_0x5cbf60[_0x170078(0x30d)](_0x26de3f)[_0x170078(0x22b)](K))return!0x0;const _0x48463f=_0x5cbf60[_0x170078(0x30d)](q),{unitId:_0x262c6f,subUnitId:_0x49f75f,pivotTableId:_0x38702a,fieldId:_0x462a33,collapse:_0x2b8284,item:_0x240dc3}=_0x395dc2,_0x482d94=_0x48463f['getPivotTableInstance'](_0x38702a);if(!_0x482d94)return!0x1;_0x482d94[_0x170078(0x25a)](_0x462a33,_0x2b8284,_0x240dc3);const _0x492768=_0x48463f[_0x170078(0x242)](_0x262c6f,_0x49f75f,_0x38702a);return es(_0x492768,_0x395dc2),_0x48463f['addDirtyPivotTable']({'unitId':_0x262c6f,'subUnitId':_0x49f75f,'token':_0x38702a,'type':B[_0x170078(0x24d)]}),!0x0;}},Wt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x11a),'handler'(_0x33d075,_0x38b3c8){const _0x3755db=_0x56d0e0;if(!_0x38b3c8)return!0x1;if(!!_0x33d075[_0x3755db(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const _0x72ca49=_0x33d075[_0x3755db(0x30d)](q),{unitId:_0x22a62f,subUnitId:_0x2b1ec1,pivotTableId:_0x315d2e,fieldId:_0x49a5f6,format:_0x1a9ae1}=_0x38b3c8,_0x438005=_0x72ca49[_0x3755db(0x2e4)](_0x315d2e);if(!_0x438005)return!0x1;_0x438005['setFieldFormat'](_0x49a5f6,_0x1a9ae1);const _0x218b64=_0x72ca49['getPivotTableModelConfig'](_0x22a62f,_0x2b1ec1,_0x315d2e);return ts(_0x218b64,_0x38b3c8),_0x72ca49['addDirtyPivotTable']({'unitId':_0x22a62f,'subUnitId':_0x2b1ec1,'token':_0x315d2e,'type':B[_0x3755db(0x24d)]}),!0x0;}},Gt={'type':_0x1d2c8e['MUTATION'],'id':_0x56d0e0(0x12c),'handler'(_0x1c9847,_0x24a485){const _0x2f53de=_0x56d0e0;if(!_0x24a485)return!0x1;if(!!_0x1c9847['get'](_0x26de3f)[_0x2f53de(0x22b)](K))return!0x0;const _0x2aa02b=_0x1c9847['get'](q),{unitId:_0x55d02c,subUnitId:_0x394215,pivotTableId:_0x5902c2,fieldId:_0x243db2,filterInfo:_0x210fc2}=_0x24a485,_0x4c0cf5=_0x2aa02b[_0x2f53de(0x2e4)](_0x5902c2);if(!_0x4c0cf5)return!0x1;_0x4c0cf5[_0x2f53de(0x12a)](_0x243db2,_0x210fc2);const _0xd9f7b9=_0x2aa02b[_0x2f53de(0x242)](_0x55d02c,_0x394215,_0x5902c2);return os(_0xd9f7b9,_0x24a485),_0x2aa02b[_0x2f53de(0x202)]({'unitId':_0x55d02c,'subUnitId':_0x394215,'token':_0x5902c2,'type':B[_0x2f53de(0x24d)]}),!0x0;}},Kt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x27c),'handler'(_0x3842d2,_0x2a2aae){const _0x3d13ed=_0x56d0e0;if(!_0x2a2aae)return!0x1;if(!!_0x3842d2[_0x3d13ed(0x30d)](_0x26de3f)[_0x3d13ed(0x22b)](K))return!0x0;const _0x20b1d0=_0x3842d2[_0x3d13ed(0x30d)](q),{unitId:_0x2fc626,subUnitId:_0x38d338,pivotTableId:_0x42cf9d,options:_0xd9786f}=_0x2a2aae,_0x346c7d=_0x20b1d0[_0x3d13ed(0x2e4)](_0x42cf9d);if(!_0x346c7d)return!0x1;_0x346c7d[_0x3d13ed(0x286)](_0xd9786f);const _0x278c8f=_0x20b1d0[_0x3d13ed(0x242)](_0x2fc626,_0x38d338,_0x42cf9d);return cs(_0x278c8f,_0x2a2aae),_0x20b1d0['addDirtyPivotTable']({'unitId':_0x2fc626,'subUnitId':_0x38d338,'token':_0x42cf9d,'type':B[_0x3d13ed(0x24d)]}),!0x0;}},Ht={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x95),'handler'(_0x1b5622,_0x4215eb){const _0x110908=_0x56d0e0;if(!_0x4215eb)return!0x1;if(!!_0x1b5622[_0x110908(0x30d)](_0x26de3f)[_0x110908(0x22b)](K))return!0x0;const _0x4fc99b=_0x1b5622[_0x110908(0x30d)](q),{unitId:_0x547708,subUnitId:_0x2c2dfd,pivotTableId:_0x4caf8b,sortInfo:_0x2308c8,fieldId:_0x62f3a1}=_0x4215eb,_0x3847a4=_0x4fc99b[_0x110908(0x2e4)](_0x4caf8b);if(!_0x3847a4)return!0x1;_0x3847a4[_0x110908(0x23a)](_0x62f3a1,_0x2308c8);const _0x3e8ef3=_0x4fc99b[_0x110908(0x242)](_0x547708,_0x2c2dfd,_0x4caf8b);return ls(_0x3e8ef3,_0x4215eb),_0x4fc99b['addDirtyPivotTable']({'unitId':_0x547708,'subUnitId':_0x2c2dfd,'token':_0x4caf8b,'type':B[_0x110908(0x24d)]}),!0x0;}},zt={'type':_0x1d2c8e['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x508eee,_0x209ea1){const _0x3373f1=_0x56d0e0;if(!_0x209ea1)return!0x1;if(!!_0x508eee[_0x3373f1(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const _0x7b7fc1=_0x508eee['get'](q),{unitId:_0x2a049c,subUnitId:_0x4f3a57,pivotTableId:_0x4e5f19,fieldId:_0xaf6dbc,subtotalType:_0x9fdea}=_0x209ea1,_0x3a7b9b=_0x7b7fc1[_0x3373f1(0x2e4)](_0x4e5f19);if(!_0x3a7b9b)return!0x1;_0x3a7b9b[_0x3373f1(0xeb)](_0xaf6dbc,_0x9fdea);const _0x5bf018=_0x7b7fc1['getPivotTableModelConfig'](_0x2a049c,_0x4f3a57,_0x4e5f19);return is(_0x5bf018,_0x209ea1),_0x7b7fc1[_0x3373f1(0x202)]({'unitId':_0x2a049c,'subUnitId':_0x4f3a57,'token':_0x4e5f19,'type':B[_0x3373f1(0x24d)]}),!0x0;}},Zt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x1dd),'handler'(_0x514888,_0x25c79c){const _0x18456b=_0x56d0e0;if(!_0x25c79c)return!0x1;if(!!_0x514888[_0x18456b(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const _0x422ad6=_0x514888['get'](q),{unitId:_0x3f90f0,subUnitId:_0x10139c,pivotTableId:_0xf7d92e,fieldId:_0x32ea84,filterInfo:_0x4844a6}=_0x25c79c,_0x455ea8=_0x422ad6[_0x18456b(0x2e4)](_0xf7d92e);if(!_0x455ea8)return!0x1;_0x455ea8[_0x18456b(0x23f)](_0x32ea84,_0x4844a6);const _0x43adb2=_0x422ad6['getPivotTableModelConfig'](_0x3f90f0,_0x10139c,_0xf7d92e);return ns(_0x43adb2,_0x25c79c),_0x422ad6[_0x18456b(0x202)]({'unitId':_0x3f90f0,'subUnitId':_0x10139c,'token':_0xf7d92e,'type':B[_0x18456b(0x24d)]}),!0x0;}},Qt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x185),'handler'(_0x25e96f,_0x652cc1){const _0x1bb20b=_0x56d0e0;if(!_0x652cc1)return!0x1;if(!!_0x25e96f[_0x1bb20b(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const _0x5f21d7=_0x25e96f['get'](q),{unitId:_0x14280a,subUnitId:_0x240549,pivotTableId:_0x1ee3c1,area:_0x468216,index:_0x16583b,fieldId:_0x1a1927}=_0x652cc1,_0x352397=_0x5f21d7[_0x1bb20b(0x2e4)](_0x1ee3c1);if(!_0x352397)return!0x1;_0x352397[_0x1bb20b(0x1ce)](_0x1a1927,_0x468216,_0x16583b);const _0x429356=_0x5f21d7['getPivotTableModelConfig'](_0x14280a,_0x240549,_0x1ee3c1);return ss(_0x429356,_0x652cc1),_0x5f21d7[_0x1bb20b(0x202)]({'unitId':_0x14280a,'subUnitId':_0x240549,'token':_0x1ee3c1,'type':B['Set']}),!0x0;}},Xt={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x163),'handler'(_0x4e4ab9,_0x137c4f){const _0x1ed536=_0x56d0e0;if(!_0x137c4f)return!0x1;if(!!_0x4e4ab9[_0x1ed536(0x30d)](_0x26de3f)[_0x1ed536(0x22b)](K))return!0x0;const _0x991fed=_0x4e4ab9[_0x1ed536(0x30d)](q),{unitId:_0x599c33,subUnitId:_0x2ade06,pivotTableId:_0x26bf5b,sourceName:_0x320fe9,dataFieldId:_0x2b464c,tableFieldId:_0x4f7e6b}=_0x137c4f,_0x3c61d5=_0x991fed[_0x1ed536(0x2e4)](_0x26bf5b);if(!_0x3c61d5)return!0x1;_0x3c61d5[_0x1ed536(0x175)](_0x4f7e6b,_0x320fe9,_0x2b464c);const _0x168b9a=_0x991fed[_0x1ed536(0x242)](_0x599c33,_0x2ade06,_0x26bf5b);return rs(_0x168b9a,_0x137c4f),_0x991fed[_0x1ed536(0x202)]({'unitId':_0x599c33,'subUnitId':_0x2ade06,'token':_0x26bf5b,'type':B[_0x1ed536(0x24d)]}),!0x0;}},eo={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0x23e),'handler'(_0xba89a0,_0x235310){const _0x58e1a3=_0x56d0e0;if(!_0x235310)return!0x1;if(!!_0xba89a0['get'](_0x26de3f)[_0x58e1a3(0x22b)](K))return!0x0;const _0x1935ed=_0xba89a0[_0x58e1a3(0x30d)](q),{unitId:_0x4dd81a,subUnitId:_0x285540,pivotTableId:_0x482b80,valuePosition:_0x36648e,index:_0x33b4d3}=_0x235310,_0x5c9197=_0x1935ed[_0x58e1a3(0x2e4)](_0x482b80);if(!_0x5c9197)return!0x1;_0x5c9197[_0x58e1a3(0x1e6)](_0x36648e,_0x33b4d3);const _0x110463=_0x1935ed['getPivotTableModelConfig'](_0x4dd81a,_0x285540,_0x482b80);return as(_0x110463,_0x235310),_0x1935ed[_0x58e1a3(0x202)]({'unitId':_0x4dd81a,'subUnitId':_0x285540,'token':_0x482b80,'type':B[_0x58e1a3(0x24d)]}),!0x0;}};function me(_0x3196c3,_0x5a4b02,_0x25b299){const _0x101b0e=_0x56d0e0,{pivotTableId:_0x1e7399,unitId:_0x43ee79,subUnitId:_0x1a86df}=_0x5a4b02,_0x955627=[],_0x56fe44=[];for(const _0x1eebff of _0x25b299)switch(_0x1eebff[_0x101b0e(0x1b1)]){case _0x457734[_0x101b0e(0x2b5)]:{const {fieldJson:_0xc568d0,area:_0x1191b5,index:_0x3a02ca}=_0x1eebff,_0x2a58ef={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldJson':_0xc568d0,'area':_0x1191b5,'index':_0x3a02ca},_0x4691c4={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0xc568d0['id'],'area':_0x1191b5,'index':_0x3a02ca};_0x955627[_0x101b0e(0x222)]({'id':qt['id'],'params':_0x2a58ef}),_0x56fe44[_0x101b0e(0x1a0)]({'id':$t['id'],'params':_0x4691c4});}break;case _0x457734[_0x101b0e(0x131)]:{const {fieldId:_0x383dc4,newSubtotalType:_0x1e8493,oldSubtotalType:_0x42195b}=_0x1eebff,_0x17c0fd={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x383dc4,'subtotalType':_0x1e8493};_0x955627[_0x101b0e(0x222)]({'id':zt['id'],'params':_0x17c0fd});const _0x112500={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x383dc4,'subtotalType':_0x42195b};_0x56fe44['unshift']({'id':zt['id'],'params':_0x112500});}break;case _0x457734[_0x101b0e(0xb0)]:{const {fieldId:_0x58cf7c,fieldJson:_0x5317db,area:_0x5e101c,index:_0x5c25ea}=_0x1eebff,_0x355bc3={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x58cf7c,'index':_0x5c25ea,'area':_0x5e101c};_0x955627['push']({'id':$t['id'],'params':_0x355bc3});const _0x317cfa={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldJson':_0x5317db,'area':_0x5e101c,'index':_0x5c25ea};_0x56fe44[_0x101b0e(0x1a0)]({'id':qt['id'],'params':_0x317cfa});}break;case _0x457734['RenameField']:{const {fieldId:_0x3d1862,oldName:_0x20c980,newName:_0x42ae11}=_0x1eebff,_0x3d1397={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x3d1862,'name':_0x42ae11};_0x955627[_0x101b0e(0x222)]({'id':Yt['id'],'params':_0x3d1397});const _0x192d88={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x3d1862,'name':_0x20c980};_0x56fe44[_0x101b0e(0x1a0)]({'id':Yt['id'],'params':_0x192d88});}break;case _0x457734[_0x101b0e(0x190)]:{const {fieldId:_0x319921,oldFilterInfo:_0x2738a6,newFilterInfo:_0x3bc098}=_0x1eebff,_0x1e6592={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x319921,'filterInfo':_0x3bc098};_0x955627['push']({'id':Gt['id'],'params':_0x1e6592});const _0x4bdb3b={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x319921,'filterInfo':_0x2738a6};_0x56fe44['unshift']({'id':Gt['id'],'params':_0x4bdb3b});}break;case _0x457734['SetSortInfo']:{const {fieldId:_0x40f2c1,oldSortInfo:_0x49372a,newSortInfo:_0x5a4615}=_0x1eebff,_0x117f09={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x40f2c1,'sortInfo':_0x5a4615};_0x955627[_0x101b0e(0x222)]({'id':Ht['id'],'params':_0x117f09});const _0x4032db={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x40f2c1,'sortInfo':_0x49372a};_0x56fe44['unshift']({'id':Ht['id'],'params':_0x4032db});}break;case _0x457734[_0x101b0e(0x1b7)]:{const {oldOptions:_0x20fe8f,newOptions:_0x2adb09}=_0x1eebff,_0x3e1b1c={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'options':_0x2adb09};_0x955627[_0x101b0e(0x222)]({'id':Kt['id'],'params':_0x3e1b1c});const _0x124f42={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'options':_0x20fe8f};_0x56fe44[_0x101b0e(0x1a0)]({'id':Kt['id'],'params':_0x124f42});}break;case _0x457734[_0x101b0e(0x2a2)]:{const {oldArea:_0x257aa7,newArea:_0x4a65a3,oldIndex:_0x327e31,newIndex:_0x59ced8,fieldId:_0x50a325}=_0x1eebff,_0x13b03f={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x50a325,'area':_0x4a65a3,'index':_0x59ced8,'oldArea':_0x257aa7,'oldIndex':_0x327e31};_0x955627[_0x101b0e(0x222)]({'id':Qt['id'],'params':_0x13b03f});const _0x1c2994={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x50a325,'area':_0x257aa7,'index':_0x327e31,'oldArea':_0x4a65a3,'oldIndex':_0x59ced8};_0x56fe44[_0x101b0e(0x1a0)]({'id':Qt['id'],'params':_0x1c2994});}break;case _0x457734[_0x101b0e(0x15f)]:{const {oldValuePosition:_0x31718c,newValuePosition:_0x6e4648,oldIndex:_0x4fdadb,newIndex:_0x528501}=_0x1eebff,_0x56dea8={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'valuePosition':_0x6e4648,'index':_0x528501};_0x955627['push']({'id':eo['id'],'params':_0x56dea8});const _0x4419d2={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'valuePosition':_0x31718c,'index':_0x4fdadb};_0x56fe44['unshift']({'id':eo['id'],'params':_0x4419d2});}break;case _0x457734[_0x101b0e(0x248)]:{const {fieldId:_0x1b3d50,collapse:_0x5f3bc9,item:_0xb161c6}=_0x1eebff,_0x57820b={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x1b3d50,'collapse':_0x5f3bc9,'item':_0xb161c6};_0x955627[_0x101b0e(0x222)]({'id':Jt['id'],'params':_0x57820b});const _0x6379aa={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x1b3d50,'collapse':!_0x5f3bc9,'item':_0xb161c6};_0x56fe44[_0x101b0e(0x1a0)]({'id':Jt['id'],'params':_0x6379aa});}break;case _0x457734['SetFieldFormat']:{const {newFormat:_0x1e488a,oldFormat:_0xa6da26,fieldId:_0x22526f}=_0x1eebff,_0x4c54c8={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x22526f,'format':_0x1e488a};_0x955627[_0x101b0e(0x222)]({'id':Wt['id'],'params':_0x4c54c8});const _0x8200f2={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x22526f,'format':_0xa6da26};_0x56fe44[_0x101b0e(0x1a0)]({'id':Wt['id'],'params':_0x8200f2});}break;case _0x457734[_0x101b0e(0x288)]:{const {tableFieldId:_0x2e5ca4,oldSourceName:_0x4036c0,newSourceName:_0x3eebd5,oldDataFieldId:_0x2bb8b1,newDataFieldId:_0x389c5e}=_0x1eebff,_0x461539={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'tableFieldId':_0x2e5ca4,'sourceName':_0x3eebd5,'dataFieldId':_0x389c5e};_0x955627[_0x101b0e(0x222)]({'id':Xt['id'],'params':_0x461539});const _0x4b5d0e={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'tableFieldId':_0x2e5ca4,'sourceName':_0x4036c0,'dataFieldId':_0x2bb8b1};_0x56fe44[_0x101b0e(0x1a0)]({'id':Xt['id'],'params':_0x4b5d0e});}break;case _0x457734['SetValueFilter']:{const {fieldId:_0x2534f8,filterInfo:_0x4333dc,oldFilterInfo:_0x4ee203}=_0x1eebff,_0x5a826f={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x2534f8,'filterInfo':_0x4333dc};_0x955627[_0x101b0e(0x222)]({'id':Zt['id'],'params':_0x5a826f});const _0x1a84db={'unitId':_0x43ee79,'subUnitId':_0x1a86df,'pivotTableId':_0x1e7399,'fieldId':_0x2534f8,'filterInfo':_0x4ee203};_0x56fe44[_0x101b0e(0x1a0)]({'id':Zt['id'],'params':_0x1a84db});}}return{'redos':_0x955627,'undos':_0x56fe44};}function we(_0x5ca164,_0x38d85c){const _0x3d585b=_0x56d0e0;var _0x4e8ba3;const _0x9299e6=_0x5ca164[_0x3d585b(0x30d)](ie),{cellInfo:_0x502c7c,view:_0x32e812,isEmpty:_0x4c13d2}=_0x38d85c;return(_0x4e8ba3=_0x9299e6[_0x3d585b(0xc7)][_0x3d585b(0x140)](Bo)(So,{'cellInfo':_0x502c7c,'view':_0x32e812,'isEmpty':_0x4c13d2}))!=null?_0x4e8ba3:So;}const ds=()=>typeof process<'u'&&process[_0x56d0e0(0x2be)]!=null&&process['versions']['node']!=null,Ct={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0xf9),'handler'(_0x45bcc2,_0x1c22b4){const _0x5ccd32=_0x56d0e0;var _0x5927dd;if(!_0x1c22b4)return!0x1;const _0x2cf8ce=_0x45bcc2[_0x5ccd32(0x30d)](_0x26de3f);if(!!_0x2cf8ce[_0x5ccd32(0x22b)](K))return!0x0;const _0x590c9e=_0x45bcc2[_0x5ccd32(0x30d)](_0xcc1cef),_0x57bed6=_0x45bcc2[_0x5ccd32(0x30d)](q),{pivotTableId:_0x1e1f58,pivotTableConfig:_0x28867b,collectionConfig:_0x1e535b,unitId:_0x9529da,subUnitId:_0x4031b9}=_0x1c22b4,{sourceRangeInfo:_0x556f2b,fieldsConfig:_0xcd8b40,targetCellInfo:_0x343259}=_0x28867b,_0x9164b6=_0x590c9e['getUnit'](_0x9529da);if(!_0x9164b6||!_0x9164b6[_0x5ccd32(0x255)](_0x4031b9))return!0x1;if(!ds()){let _0x594908=0x0;_0x9164b6['getSheets']()[_0x5ccd32(0xd2)](_0x196f76=>{const _0x3f54b1=_0x5ccd32;var _0x389ba2,_0x14e537;_0x594908+=(_0x14e537=(_0x389ba2=_0x57bed6[_0x3f54b1(0x2ad)](_0x9529da,_0x196f76[_0x3f54b1(0xe5)]()))==null?void 0x0:_0x389ba2[_0x3f54b1(0x9b)])!=null?_0x14e537:0x0;});const _0x128f3d=(_0x5927dd=_0x2cf8ce[_0x5ccd32(0x22b)](_0x15e632))!=null?_0x5927dd:{},{ls:_0x47c320,pbk:_0x32abe6}=_0x128f3d;if(!Jo(_0x47c320,_0x32abe6))throw new _0xcc5c64(_0x5ccd32(0xd7));const _0x5c6de9=go(so,_0x47c320,_0x32abe6)[_0x5ccd32(0x296)];if(_0x594908>=_0x5c6de9)throw new _0xcc5c64(_0x5ccd32(0xd7));}if(!_0x1e535b||!_0xcd8b40)return!0x1;const {collection:_0x461ae6,updateDataFieldList:_0x25c41b}=_0x57bed6[_0x5ccd32(0x253)](_0x1e1f58,_0x1e535b,_0x556f2b,_0x343259);_0x57bed6['refreshData'](_0x461ae6,_0x25c41b,_0x556f2b);const _0xdbf790=new _0x2d1deb(_0x461ae6,void 0x0,_0x1e1f58);_0xdbf790['fromJSON'](_0xcd8b40);const _0x4cee09=JSON['parse'](JSON['stringify'](_0x28867b));return _0x57bed6[_0x5ccd32(0xe7)](_0x9529da,_0x4031b9,_0x1e1f58,_0xdbf790,_0x4cee09),_0x57bed6[_0x5ccd32(0x202)]({'unitId':_0x9529da,'subUnitId':_0x4031b9,'token':_0x1e1f58,'type':B[_0x5ccd32(0x1da)],'pivotConfig':_0x4cee09}),!0x0;}},Et={'type':_0x1d2c8e['MUTATION'],'id':_0x56d0e0(0x214),'handler'(_0x2f4783,_0x52a83a){const _0x13c771=_0x56d0e0;if(!_0x52a83a)return!0x1;if(!!_0x2f4783[_0x13c771(0x30d)](_0x26de3f)[_0x13c771(0x22b)](K))return!0x0;const {pivotTableId:_0x34c7c2,unitId:_0x478cf7,subUnitId:_0x30039d}=_0x52a83a,_0x4d9162=_0x2f4783[_0x13c771(0x30d)](q);return _0x4d9162[_0x13c771(0x1dc)](_0x478cf7,_0x30039d,_0x34c7c2)?(_0x4d9162[_0x13c771(0x202)]({'unitId':_0x478cf7,'subUnitId':_0x30039d,'token':_0x34c7c2,'type':B[_0x13c771(0x12b)]}),_0x4d9162['removePivotTable'](_0x478cf7,_0x30039d,_0x34c7c2),!0x0):!0x1;}},pt={'type':_0x1d2c8e['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x38712c,_0x2b4dd9){const _0x468527=_0x56d0e0;if(!_0x2b4dd9)return!0x1;if(!!_0x38712c[_0x468527(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const {pivotTableId:_0x36a116,targetCellPosition:_0x54c000,unitId:_0x36894d,subUnitId:_0x54cd39}=_0x2b4dd9,_0x485040=_0x38712c['get'](q);if(!_0x485040[_0x468527(0x2e4)](_0x2b4dd9[_0x468527(0x197)]))return!0x1;const _0x4ac1f9=_0x485040[_0x468527(0x108)](_0x36a116);if(!_0x4ac1f9)return!0x1;const _0x4fb812=_0x485040[_0x468527(0x144)](_0x4ac1f9[_0x468527(0x243)],_0x2b4dd9[_0x468527(0x197)]);if(!_0x4fb812)return!0x1;const _0x2355f2=_0x485040[_0x468527(0x1dc)](_0x4ac1f9[_0x468527(0x243)],_0x4ac1f9['subUnitId'],_0x36a116);if(!_0x2355f2)return!0x1;const _0x2d7606=_0x48433f[_0x468527(0xff)](_0x2355f2);_0x2d7606['targetCellInfo']={'unitId':_0x36894d,'subUnitId':_0x54cd39,'row':_0x54c000['row'],'col':_0x54c000[_0x468527(0x1c4)]};const _0x17d605=_0x4fb812['toJSON']();if(_0x4ac1f9[_0x468527(0x17a)]===_0x54cd39&&_0x4ac1f9[_0x468527(0x243)]===_0x36894d)_0x485040[_0x468527(0x18c)](_0x36894d,_0x54cd39,_0x36a116,_0x2d7606),_0x485040[_0x468527(0x202)]({'unitId':_0x36894d,'subUnitId':_0x54cd39,'token':_0x36a116,'type':B['Set']});else{_0x485040[_0x468527(0x202)]({'unitId':_0x4ac1f9['unitId'],'subUnitId':_0x4ac1f9[_0x468527(0x17a)],'token':_0x36a116,'type':B[_0x468527(0x12b)]}),_0x485040[_0x468527(0x1e5)](_0x4ac1f9[_0x468527(0x243)],_0x4ac1f9[_0x468527(0x17a)],_0x36a116);const _0x45f8f5=_0x485040[_0x468527(0x253)](_0x36a116,_0x17d605,_0x2355f2['sourceRangeInfo'],_0x2d7606[_0x468527(0x2fa)]),_0x2e601d=new _0x2d1deb(_0x45f8f5[_0x468527(0x28f)],void 0x0,_0x36a116);_0x2e601d['fromJSON'](_0x2d7606['fieldsConfig']),_0x485040['addPivotTable'](_0x36894d,_0x54cd39,_0x36a116,_0x2e601d,_0x2d7606),_0x485040['addDirtyPivotTable']({'unitId':_0x36894d,'subUnitId':_0x54cd39,'token':_0x36a116,'type':B[_0x468527(0x1da)],'pivotConfig':_0x2d7606});}return!0x0;}},to={'type':_0x1d2c8e[_0x56d0e0(0xb5)],'id':_0x56d0e0(0xad),'handler'(_0xa043d8,_0x72fd18){const _0x322586=_0x56d0e0;if(!_0x72fd18)return!0x1;if(!!_0xa043d8[_0x322586(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const _0x2eb238=_0xa043d8[_0x322586(0x30d)](q),{pivotTableId:_0x527566,deleteIds:_0x4406d7,collectionJSON:_0x1ef67c,dataRangeInfo:_0x3948a6,unitId:_0x1a5f89,subUnitId:_0x32f2c8}=_0x72fd18,_0x311669=_0x2eb238[_0x322586(0x2e4)](_0x527566),_0x498529=_0x2eb238[_0x322586(0x1dc)](_0x1a5f89,_0x32f2c8,_0x527566);if(!_0x311669||!_0x498529)return!0x1;const {collection:_0x5ef740,updateDataFieldList:_0x293505}=_0x2eb238[_0x322586(0x253)](_0x527566,_0x1ef67c,_0x3948a6,_0x498529[_0x322586(0x2fa)]);_0x2eb238['refreshData'](_0x5ef740,_0x293505,_0x3948a6),_0x311669[_0x322586(0x238)](_0x5ef740);for(const _0x13c658 of _0x4406d7)_0x2eb238[_0x322586(0x293)](_0x3948a6[_0x322586(0x243)],_0x13c658);const _0x2854c6=_0x2eb238[_0x322586(0x1dc)](_0x1a5f89,_0x32f2c8,_0x527566);return _0x2854c6[_0x322586(0x21e)]=JSON[_0x322586(0x1c0)](JSON['stringify'](_0x3948a6)),_0x2eb238['addDirtyPivotTable']({'unitId':_0x1a5f89,'subUnitId':_0x32f2c8,'token':_0x527566,'type':B['Set']}),!0x0;}},xt={'type':_0x1d2c8e['MUTATION'],'id':_0x56d0e0(0xb7),'handler'(){return!0x0;}};var us=Object[_0x56d0e0(0x1a1)],fs=(_0x420023,_0x230870,_0x13faec,_0x1be2f6)=>{const _0x151ce4=_0x56d0e0;for(var _0xfdcc9e=_0x1be2f6>0x1?void 0x0:_0x1be2f6?us(_0x230870,_0x13faec):_0x230870,_0x32cd9c=_0x420023[_0x151ce4(0x2a0)]-0x1,_0xa4c47c;_0x32cd9c>=0x0;_0x32cd9c--)(_0xa4c47c=_0x420023[_0x32cd9c])&&(_0xfdcc9e=_0xa4c47c(_0xfdcc9e)||_0xfdcc9e);return _0xfdcc9e;},gs=(_0xa880b6,_0x3996ae)=>(_0x5f220c,_0x5ece2e)=>_0x3996ae(_0x5f220c,_0x5ece2e,_0xa880b6);let X=class extends _0x5876c8{constructor(_0x45d7ab){const _0x59adf9=_0x56d0e0;super(),x(this,_0x59adf9(0x170),new Map()),this[_0x59adf9(0x2e1)]=_0x45d7ab;}['handleAsyncResponse'](_0x22efa7){const _0x39f3ea=_0x56d0e0,{version:_0x2e2085}=_0x22efa7,_0x124524=this['_requestResolvers'][_0x39f3ea(0x30d)](_0x2e2085);_0x124524&&(_0x124524(_0x22efa7),this[_0x39f3ea(0x170)]['delete'](_0x2e2085));}[_0x56d0e0(0x20e)](_0x153f40){return new Promise((_0x83c5f0,_0x194fee)=>{const _0x3a0b2c=_0x3ed0,_0x585171=this[_0x3a0b2c(0x184)]();this[_0x3a0b2c(0x170)][_0x3a0b2c(0x200)](_0x585171,_0x83c5f0),this['_commandService'][_0x3a0b2c(0x223)](ro['id'],{'version':_0x585171,..._0x153f40},{'onlyLocal':!0x0});});}[_0x56d0e0(0x184)](){const _0x1a4832=_0x56d0e0;return Math[_0x1a4832(0x177)]()[_0x1a4832(0x1ae)](0x24)[_0x1a4832(0x192)](0x2,0x10);}};X=fs([gs(0x0,_0x4baf86(_0x20632e))],X);const Ho={'id':_0x56d0e0(0x260),'type':_0x1d2c8e['MUTATION'],'handler':(_0x3fae3c,_0x89319e)=>{const _0x5e69f6=_0x56d0e0;if(!_0x89319e)return!0x1;if(!!_0x3fae3c[_0x5e69f6(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const {pivotTableId:_0x1875fe,fieldJSON:_0x1d243f,unitId:_0x33af5b,subUnitId:_0x3becdd}=_0x89319e,_0x572d7d=_0x3f8cde[_0x5e69f6(0x135)](_0x1d243f);if(!_0x572d7d)return!0x1;const _0x54fd01=_0x3fae3c[_0x5e69f6(0x30d)](q),_0x1d2428=_0x54fd01['getDataFieldManager'](_0x33af5b),_0x52e321=_0x1d2428[_0x5e69f6(0x144)](_0x1875fe);_0x1d2428['addDataFieldWithoutUnitInfo'](_0x572d7d),_0x52e321[_0x5e69f6(0xa3)](_0x572d7d[_0x5e69f6(0xfe)](),_0x572d7d[_0x5e69f6(0x1b5)]());const _0x55524e=_0x52e321['getFieldById'](_0x572d7d['getOriginFieldId']());_0x55524e&&_0x572d7d[_0x5e69f6(0x2ea)](_0x55524e);const _0x48c9cc=_0x54fd01['getPivotTableConfig'](_0x33af5b,_0x3becdd,_0x1875fe);return _0x54fd01[_0x5e69f6(0x202)]({'unitId':_0x33af5b,'subUnitId':_0x3becdd,'token':_0x1875fe,'type':B[_0x5e69f6(0x24d)],'pivotConfig':_0x48c9cc}),!0x0;}},zo={'id':'sheet.mutation.remove-group-collection','type':_0x1d2c8e[_0x56d0e0(0xb5)],'handler':(_0x2c68ef,_0x3d277d)=>{const _0x28cd13=_0x56d0e0;if(!_0x3d277d)return!0x1;if(!!_0x2c68ef[_0x28cd13(0x30d)](_0x26de3f)[_0x28cd13(0x22b)](K))return!0x0;const {pivotTableId:_0x563008,dataFieldId:_0x3a99b7,unitId:_0x1391bf,subUnitId:_0x42bf20}=_0x3d277d,_0x245509=_0x2c68ef[_0x28cd13(0x30d)](q),_0x59ac6f=_0x245509[_0x28cd13(0x101)](_0x1391bf);_0x59ac6f[_0x28cd13(0x144)](_0x563008)[_0x28cd13(0x310)](_0x3a99b7);let _0x586257=!0x0;for(const _0xa26f68 in _0x59ac6f['collections'])if(_0x59ac6f[_0x28cd13(0x263)][_0xa26f68][_0x28cd13(0x106)]()[_0x28cd13(0x195)](_0x3a99b7)){_0x586257=!0x1;break;}_0x586257&&_0x59ac6f[_0x28cd13(0xfd)](_0x3a99b7);const _0x1bb93e=_0x245509[_0x28cd13(0x1dc)](_0x1391bf,_0x42bf20,_0x563008);return _0x245509[_0x28cd13(0x202)]({'unitId':_0x1391bf,'subUnitId':_0x42bf20,'token':_0x563008,'type':B[_0x28cd13(0x24d)],'pivotConfig':_0x1bb93e}),!0x0;}},hs={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0x178),async 'handler'(_0x21a4da,_0x1d7e21){const _0x53dc9a=_0x56d0e0;if(!_0x1d7e21)return!0x1;const _0x112ced=_0x21a4da[_0x53dc9a(0x30d)](_0x20632e),_0x125ced=_0x21a4da[_0x53dc9a(0x30d)](X),_0x1e2736=_0x21a4da[_0x53dc9a(0x30d)](_0x45083e),{pivotTableId:_0x46604b,dataFieldId:_0x12829c,fieldArea:_0x5e5413,index:_0x271d0d,unitId:_0x1aa9b2,subUnitId:_0x2b9f7a}=_0x1d7e21,_0x1fcb54=(await _0x125ced[_0x53dc9a(0x20e)]({'unitId':_0x1aa9b2,'subUnitId':_0x2b9f7a,'pivotTableId':_0x46604b,'params':{'type':j[_0x53dc9a(0xe6)],'addPivotField':{'dataFieldId':_0x12829c,'fieldArea':_0x5e5413,'index':_0x271d0d}}}))[_0x53dc9a(0x2bf)][_0x53dc9a(0x15d)];if(!_0x1fcb54)return!0x1;const {view:_0x599e05,changesets:_0x47a743,isEmpty:_0x5cc8a5,pivotTableConfig:_0x219905,shouldBeAddedGroupJSON:_0x57d419}=_0x1fcb54,_0x1e4858=_0x219905['targetCellInfo'],_0x592323=new _0x10dd37();_0x592323[_0x53dc9a(0x124)](_0x599e05);const _0x4251d0={'cellInfo':_0x1e4858,'view':_0x592323,'isEmpty':_0x5cc8a5};if(!await _0x21a4da[_0x53dc9a(0x30d)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4251d0))return!0x1;const _0x255611=Fe(_0x21a4da,_0x592323,_0x1e4858,_0x5cc8a5),_0x408b7e=we(_0x21a4da,_0x4251d0),{undos:_0x2917c4,redos:_0x111dc6}=me(_0x112ced,{'pivotTableId':_0x46604b,'unitId':_0x1aa9b2,'subUnitId':_0x2b9f7a},_0x47a743);return _0x57d419&&(_0x111dc6[_0x53dc9a(0x1a0)]({'id':Ho['id'],'params':{'pivotTableId':_0x46604b,'fieldJSON':_0x57d419,'unitId':_0x1aa9b2,'subUnitId':_0x2b9f7a}}),_0x2917c4[_0x53dc9a(0x222)]({'id':zo['id'],'params':{'pivotTableId':_0x46604b,'dataFieldId':_0x57d419['id'],'unitId':_0x1aa9b2,'subUnitId':_0x2b9f7a}})),_0x3da62c([..._0x255611['redos'],..._0x408b7e[_0x53dc9a(0x2b8)],..._0x111dc6],_0x112ced),_0x1e2736['pushUndoRedo']({'unitID':_0x1aa9b2,'redoMutations':[..._0x255611['redos'],..._0x408b7e[_0x53dc9a(0x2b8)],..._0x111dc6],'undoMutations':[..._0x255611['undos'],..._0x408b7e[_0x53dc9a(0x285)],..._0x2917c4]}),!0x0;}},vs={'type':_0x1d2c8e['COMMAND'],'id':_0x56d0e0(0x1c9),async 'handler'(_0x116bd8,_0x38c8f1){const _0x679a11=_0x56d0e0;if(!_0x38c8f1)return!0x1;const {sourceDataInfo:_0x392bba,pivotTableConfig:_0x127659}=_0x38c8f1;if(!_0x392bba||!_0x127659)return!0x1;const {unitId:_0x3fc74b,subUnitId:_0x49340e,range:_0x49f5c1}=_0x392bba,_0x4a472e=_0x116bd8['get'](_0xcc1cef),_0x66e922=_0x116bd8[_0x679a11(0x30d)](X),_0x33ccc6=_0x116bd8[_0x679a11(0x30d)](_0x20e317),_0x32cd66=_0x116bd8[_0x679a11(0x30d)](_0x20632e),_0xb440ad=_0x4a472e[_0x679a11(0x18d)](_0x3fc74b);if(!_0xb440ad)return!0x1;const _0x411fa8=_0xb440ad[_0x679a11(0x255)](_0x49340e);if(!_0x411fa8)return!0x1;const _0x5bff3a=_0x5f23b3(0x8),_0x26cccb=_0x49f5c1||{'startRow':0x0,'startColumn':0x0,'endRow':_0x411fa8[_0x679a11(0x17b)]()-0x1,'endColumn':_0x411fa8[_0x679a11(0x1d1)]()-0x1};_0x26cccb[_0x679a11(0x2c6)]=_0x2128d3[_0x679a11(0x1cc)];const _0x58ba6a=(await _0x66e922[_0x679a11(0x20e)]({'unitId':_0x3fc74b,'subUnitId':_0x49340e,'pivotTableId':_0x5bff3a,'params':{'type':j[_0x679a11(0x125)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x3fc74b,'sheetName':_0x411fa8[_0x679a11(0x1b5)](),'subUnitId':_0x49340e,'range':_0x26cccb},'pivotTableId':_0x5bff3a,'pivotTableIndexConfig':_0x127659}}}))['result'][_0x679a11(0x201)];if(!_0x58ba6a)return!0x1;const {isEmpty:_0x16983b,fieldsConfig:_0xd53e35,collectionConfig:_0xea6769,changesets:_0x51194}=_0x58ba6a,_0x36db2b=_0xb440ad['getSheets']()[_0x679a11(0x2a0)],_0x1d8520=_0x8c309a({'rowCount':_0x411fa8['getRowCount']()-0x1,'columnCount':_0x411fa8[_0x679a11(0x1d1)]()-0x1});_0x1d8520['id']=_0x4a3980(),_0x1d8520[_0x679a11(0x24c)]=_0xb440ad[_0x679a11(0x11b)](''+_0x33ccc6['t'](_0x679a11(0xe1)));const _0x48f0e4={'index':_0x36db2b,'sheet':_0x1d8520,'unitId':_0x3fc74b},{redos:_0x279c99}=me(_0x32cd66,{'pivotTableId':_0x5bff3a,'unitId':_0x3fc74b,'subUnitId':_0x1d8520['id']},_0x51194),_0x38497c=[{'id':_0x47e403['id'],'params':_0x48f0e4},{'id':Ct['id'],'params':{'unitId':_0x3fc74b,'subUnitId':_0x1d8520['id'],'pivotTableId':_0x5bff3a,'pivotTableConfig':{'isEmpty':_0x16983b,'fieldsConfig':_0xd53e35,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x3fc74b,'subUnitId':_0x1d8520['id']},'sourceRangeInfo':{'subUnitId':_0x49340e,'unitId':_0x3fc74b,'range':_0x26cccb,'sheetName':_0x411fa8[_0x679a11(0x1b5)]()}},'collectionConfig':_0xea6769}},..._0x279c99];return _0x3da62c(_0x38497c,_0x32cd66),!0x0;}},ps={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0xbf),async 'handler'(_0x1fca75,_0x1ce7c8){const _0x4b3946=_0x56d0e0;var _0x4f71a5,_0xcd4859;const _0x390d0d=_0x1fca75[_0x4b3946(0x30d)](_0x20632e),_0x44909c=_0x1fca75[_0x4b3946(0x30d)](_0xcc1cef),_0x313f83=_0x1fca75[_0x4b3946(0x30d)](_0x20e317),_0x3bcf33=_0x1fca75[_0x4b3946(0x30d)](X),_0x11eda2=_0x1fca75[_0x4b3946(0x30d)](_0x45083e),_0x181bb5=_0x1fca75[_0x4b3946(0x30d)](ve),_0x141405=_0x1fca75['get'](_0x26de3f);if(!_0x1ce7c8)return!0x1;const {pivotTableConfig:_0x2422b9,positionType:_0x46fff1}=_0x1ce7c8,{targetCellInfo:_0x32d2da,sourceRangeInfo:_0x4ecbe6}=_0x2422b9,{unitId:_0x99016,subUnitId:_0x58ce21}=_0x32d2da,_0x16627c=_0x44909c[_0x4b3946(0x18d)](_0x99016);if(!_0x16627c)return!0x1;let _0x355871=0x0;_0x16627c[_0x4b3946(0x2d2)]()[_0x4b3946(0xd2)](_0x44c8bb=>{const _0x34b68a=_0x4b3946;var _0x372393,_0x2c2a51;_0x355871+=(_0x2c2a51=(_0x372393=_0x181bb5[_0x34b68a(0x2ad)](_0x99016,_0x44c8bb[_0x34b68a(0xe5)]()))==null?void 0x0:_0x372393[_0x34b68a(0x9b)])!=null?_0x2c2a51:0x0;});const _0xa0b716=(_0x4f71a5=_0x141405[_0x4b3946(0x22b)](_0x15e632))!=null?_0x4f71a5:{},{ls:_0x254c34,pbk:_0x3bb389}=_0xa0b716;if(!Jo(_0x254c34,_0x3bb389))return!0x1;const _0x4942bd=go(so,_0x254c34,_0x3bb389)[_0x4b3946(0x296)];if(_0x355871>=_0x4942bd)return!0x1;const _0x405174=_0x1ce7c8['pivotTableId']||_0x5f23b3(0x8),_0x1a2db3=(await _0x3bcf33['getPivotDisplayConfig']({'unitId':_0x99016,'subUnitId':_0x58ce21,'pivotTableId':_0x405174,'params':{'type':j[_0x4b3946(0x19a)],'addPivotTable':{'sourceRangeInfo':_0x4ecbe6,'pivotTableId':_0x405174}}}))[_0x4b3946(0x2bf)][_0x4b3946(0xe7)];if(!_0x1a2db3)return!0x1;const {view:_0x219d1,isEmpty:_0x3ab53e,fieldsConfig:_0x199f8d,collectionConfig:_0x125cad}=_0x1a2db3,_0x5ab8f4=[],_0x33f2f5=[];if(_0x46fff1===jo[_0x4b3946(0x2d0)]){const _0xaa0e4d=_0x16627c[_0x4b3946(0x2d2)]()[_0x4b3946(0x2a0)],_0x38fd3e=_0x8c309a({});_0x38fd3e['id']=_0x2422b9[_0x4b3946(0x2fa)][_0x4b3946(0x17a)],_0x38fd3e[_0x4b3946(0x24c)]=(_0xcd4859=_0x2422b9[_0x4b3946(0x2fa)]['sheetName'])!=null?_0xcd4859:_0x16627c['generateNewSheetName'](''+_0x313f83['t'](_0x4b3946(0xe1)));const _0x43f825={'index':_0xaa0e4d,'sheet':_0x38fd3e,'unitId':_0x99016},_0x147426=_0x187333(_0x1fca75,_0x43f825);_0x5ab8f4[_0x4b3946(0x222)]({'id':_0x1ed11c['id'],'params':_0x147426}),_0x33f2f5[_0x4b3946(0x222)]({'id':_0x3df40f['id'],'params':_0x43f825});}else{if(!_0x16627c[_0x4b3946(0x255)](_0x58ce21))return!0x1;const _0x2f6f1e=Fe(_0x1fca75,new _0x10dd37(),_0x32d2da,!0x0);_0x33f2f5[_0x4b3946(0x222)](..._0x2f6f1e[_0x4b3946(0x2b8)]),_0x5ab8f4['push'](..._0x2f6f1e[_0x4b3946(0x285)]);const _0xf33f4e={'cellInfo':_0x32d2da,'view':_0x219d1,'isEmpty':_0x3ab53e};if(!await _0x1fca75[_0x4b3946(0x30d)](ie)[_0x4b3946(0x1bd)][_0x4b3946(0x146)](be)(!0x0,_0xf33f4e))return!0x1;const _0x2fe166=we(_0x1fca75,_0xf33f4e);_0x33f2f5[_0x4b3946(0x222)](..._0x2fe166[_0x4b3946(0x2b8)]),_0x5ab8f4['push'](..._0x2fe166[_0x4b3946(0x285)]);}return _0x33f2f5[_0x4b3946(0x222)]({'id':Ct['id'],'params':{'unitId':_0x32d2da['unitId'],'subUnitId':_0x32d2da[_0x4b3946(0x17a)],'pivotTableId':_0x405174,'pivotTableConfig':{'targetCellInfo':_0x32d2da,'sourceRangeInfo':_0x4ecbe6,'fieldsConfig':_0x199f8d},'collectionConfig':_0x125cad}}),_0x5ab8f4[_0x4b3946(0x1a0)]({'id':Et['id'],'params':{'unitId':_0x99016,'subUnitId':_0x58ce21,'pivotTableId':_0x405174}}),_0x3da62c(_0x33f2f5,_0x390d0d)&&_0x11eda2[_0x4b3946(0x181)]({'unitID':_0x99016,'undoMutations':_0x5ab8f4,'redoMutations':_0x33f2f5}),!0x0;}},ms={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0x19c),async 'handler'(_0x4fc827,_0xef2593){const _0xca484e=_0x56d0e0;if(!_0xef2593)return!0x1;const _0x2ec3c4=_0x4fc827[_0xca484e(0x30d)](_0x20632e),_0x24efbf=_0x4fc827[_0xca484e(0x30d)](X),_0x9024e0=_0x4fc827[_0xca484e(0x30d)](_0x45083e),{pivotTableId:_0x3370f0,fieldId:_0x361cd4,area:_0x48419f,index:_0x265184,unitId:_0x5c1276,subUnitId:_0x27f128}=_0xef2593,_0x376715=(await _0x24efbf['getPivotDisplayConfig']({'unitId':_0x5c1276,'subUnitId':_0x27f128,'pivotTableId':_0x3370f0,'params':{'type':j['MovePivotField'],'movePivotField':{'fieldId':_0x361cd4,'area':_0x48419f,'index':_0x265184}}}))[_0xca484e(0x2bf)][_0xca484e(0x115)];if(!_0x376715)return!0x1;const {changesets:_0x40297b,view:_0x20470f,isEmpty:_0x1e55bd,pivotTableConfig:_0x3cbb0e}=_0x376715,_0x545766=_0x3cbb0e['targetCellInfo'],_0x3e91be=new _0x10dd37();_0x3e91be[_0xca484e(0x124)](_0x20470f);const _0x562f65={'cellInfo':_0x545766,'view':_0x3e91be,'isEmpty':_0x1e55bd};if(!await _0x4fc827[_0xca484e(0x30d)](ie)[_0xca484e(0x1bd)][_0xca484e(0x146)](be)(!0x0,_0x562f65))return!0x1;const _0x364141=Fe(_0x4fc827,_0x3e91be,_0x545766,_0x1e55bd),_0x114c6b=we(_0x4fc827,_0x562f65),{redos:_0x2de24f,undos:_0x4040ea}=me(_0x2ec3c4,{'pivotTableId':_0x3370f0,'unitId':_0x5c1276,'subUnitId':_0x27f128},_0x40297b);return _0x3da62c([..._0x364141['redos'],..._0x114c6b[_0xca484e(0x2b8)],..._0x2de24f],_0x2ec3c4),_0x9024e0['pushUndoRedo']({'unitID':_0x5c1276,'redoMutations':[..._0x364141[_0xca484e(0x2b8)],..._0x114c6b[_0xca484e(0x2b8)],..._0x2de24f],'undoMutations':[..._0x364141[_0xca484e(0x285)],..._0x114c6b[_0xca484e(0x285)],..._0x4040ea]}),!0x0;}},Is={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0xe0),async 'handler'(_0x5057dc,_0x33f65b){const _0x14bbc9=_0x56d0e0;var _0x15efe4;if(!_0x33f65b)return!0x1;const _0x925e62=_0x5057dc[_0x14bbc9(0x30d)](_0xcc1cef),_0x141146=_0x28fad5(_0x925e62);if(!_0x141146)return!0x1;const {unitId:_0xeefe8d,subUnitId:_0x40b472,workbook:_0x5f5061}=_0x141146,{row:_0x59df1f,col:_0x4dcf0d}=_0x33f65b,_0x11d54e=_0x5057dc['get'](Ne),_0x2649c9=_0x11d54e[_0x14bbc9(0x265)](_0xeefe8d,_0x40b472,_0x59df1f,_0x4dcf0d);if(!_0x2649c9)return!0x1;const _0x46b0a8=(_0x15efe4=_0x11d54e[_0x14bbc9(0x1ba)](_0xeefe8d,_0x40b472,_0x2649c9))==null?void 0x0:_0x15efe4[_0x14bbc9(0x2e0)];if(!_0x46b0a8)return!0x1;const _0xdbe08=_0x5057dc['get'](ve)[_0x14bbc9(0x1dc)](_0xeefe8d,_0x40b472,_0x2649c9);if(!_0xdbe08)return!0x1;const {rowInfo:_0x17c7ab,colInfo:_0x4cdcaa}=_0x46b0a8,_0x3d7418=_0x17c7ab[_0x59df1f]['paths'],_0x2bbf2d=_0x4cdcaa[_0x4dcf0d][_0x14bbc9(0x2d9)],_0x39f92b=_0x17c7ab[_0x59df1f][_0x14bbc9(0x15e)],_0x27205f=_0x4cdcaa[_0x4dcf0d]['level'],_0x34dbd7=_0x3d7418[_0x14bbc9(0x31b)](_0x2bbf2d),_0x1ad80c=_0xdbe08[_0x14bbc9(0x1c5)]['rowFields'][_0x14bbc9(0x102)](0x0,_0x39f92b),_0xd6af34=_0xdbe08[_0x14bbc9(0x1c5)][_0x14bbc9(0xca)][_0x14bbc9(0x102)](0x0,_0x27205f),_0x4d41f9=_0x1ad80c[_0x14bbc9(0x31b)](_0xd6af34),_0x412b7a=_0x34dbd7[_0x14bbc9(0x1a4)]((_0x501390,_0x2cb80b)=>[_0x501390,_0x4d41f9[_0x2cb80b]]),_0x3106a0=(await _0x5057dc[_0x14bbc9(0x30d)](X)[_0x14bbc9(0x20e)]({'unitId':_0xeefe8d,'subUnitId':_0x40b472,'pivotTableId':_0x2649c9,'params':{'type':j[_0x14bbc9(0x206)],'drillDown':{'tuple':_0x412b7a}}}))[_0x14bbc9(0x2bf)][_0x14bbc9(0x299)];if(!_0x3106a0)return!0x1;const {indexes:_0x554931,range:_0x5c16cf,sourceUnitId:_0x4e85e1,sourceSubUnitId:_0x180f05,formatMap:_0x4e7268}=_0x3106a0,{startRow:_0x5b343f,endRow:_0x888a20,startColumn:_0x4de5e8,endColumn:_0xfeaf91}=_0x5c16cf,_0x58e018=new _0x3ca4f2(),_0x20e4c8=_0x888a20-_0x5b343f,_0x111dbd=_0xfeaf91-_0x4de5e8,_0x1141c3={},_0x3f4e89=_0x28fad5(_0x925e62,{'unitId':_0x4e85e1,'subUnitId':_0x180f05});if(!_0x3f4e89)return!0x1;const _0xb835d2=fe[_0x14bbc9(0x1e7)],_0x5c0607=fe[_0x14bbc9(0x22d)],_0x249d9b=fe[_0x14bbc9(0x22d)],_0x1ac430=_0x5f5061['getStyles']()[_0x14bbc9(0x1e2)](_0xb835d2),_0xa214bb=_0x5f5061[_0x14bbc9(0x23b)]()[_0x14bbc9(0x1e2)](_0x5c0607),_0xcffdb5=_0x5f5061[_0x14bbc9(0x23b)]()['setValue'](_0x249d9b),{worksheet:_0xe5d978}=_0x3f4e89;let _0x1652b3=0x0;const _0x476e4b=0x1;_0x554931['forEach'](_0x51f001=>{const _0x3d0920=_0x14bbc9;for(let _0x4f33a2=0x0;_0x4f33a2<=_0xfeaf91-_0x4de5e8;_0x4f33a2++)_0x58e018['setValue'](_0x1652b3,_0x4f33a2,_0xe5d978[_0x3d0920(0xf2)](_0x51f001+_0x5c16cf[_0x3d0920(0x2db)]+_0x476e4b,_0x4f33a2));_0x1652b3++;});for(let _0x4f1bfb=_0x4de5e8;_0x4f1bfb<=_0xfeaf91;_0x4f1bfb++){const _0x40d965=_0xe5d978[_0x14bbc9(0xf2)](_0x5b343f,_0x4f1bfb);_0x1141c3[_0x5b343f]||(_0x1141c3[_0x5b343f]={}),_0x1141c3[_0x5b343f][_0x4f1bfb]={..._0x40d965,'s':_0x1ac430};}let _0x537cfc=0x1;const _0x5c227d={},_0x2668d4={};_0x58e018[_0x14bbc9(0x2f3)]((_0xd6b874,_0x2912df)=>{const _0x36e11c=_0x14bbc9;_0x2912df[_0x36e11c(0xd2)](_0x241944=>{const _0x566896=_0x36e11c,_0xca33b9=_0x58e018[_0x566896(0xe3)](_0xd6b874,_0x241944);if(_0x1141c3[_0x537cfc]||(_0x1141c3[_0x537cfc]={}),_0x1141c3[_0x537cfc][_0x241944]={..._0xca33b9,'s':_0x537cfc%0x2===0x0?_0xcffdb5:_0xa214bb},_0x4e7268[_0x241944]&&_0xd6b874>=0x0){const _0x283b3d=_0x537cfc%0x2===0x0;let _0x5b2f90=_0x283b3d?_0x2668d4[_0x241944]:_0x5c227d[_0x241944];_0x5b2f90||(_0x5b2f90=_0x5f5061['getStyles']()[_0x566896(0x1e2)]({..._0x283b3d?_0x249d9b:_0x5c0607,'n':{'pattern':_0x4e7268[_0x241944]}}),_0x283b3d?_0x2668d4[_0x241944]=_0x5b2f90:_0x5c227d[_0x241944]=_0x5b2f90),_0x1141c3[_0x537cfc][_0x241944]['s']=_0x5b2f90;}}),_0x537cfc++;});const _0x30cc6e=new _0x3ca4f2(_0x1141c3),_0x2e5294={};_0x30cc6e['forValue']((_0x455cd6,_0x4b085a,_0x2c8872)=>{_0x2e5294[_0x455cd6]||(_0x2e5294[_0x455cd6]={}),_0x2e5294[_0x455cd6][_0x4b085a]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x412706=[],_0x45f1a7=[],_0x4ea187=_0x5f5061[_0x14bbc9(0x2d2)]()[_0x14bbc9(0x2a0)],_0x1f9edc=_0x8c309a({'rowCount':Math[_0x14bbc9(0x276)](_0x24a306,_0x20e4c8+0xa),'columnCount':Math[_0x14bbc9(0x276)](_0x2a1b07,_0x111dbd+0x5)}),_0x50620a=_0x5057dc[_0x14bbc9(0x30d)](_0x20e317);_0x1f9edc['id']=_0x4a3980(),_0x1f9edc[_0x14bbc9(0x24c)]=_0x5f5061[_0x14bbc9(0x11b)](''+_0x50620a['t'](_0x14bbc9(0xe1)));const _0x3fd3d1={'index':_0x4ea187,'sheet':_0x1f9edc,'unitId':_0xeefe8d},_0x702095=_0x187333(_0x5057dc,_0x3fd3d1);_0x45f1a7[_0x14bbc9(0x222)]({'id':_0x3df40f['id'],'params':_0x3fd3d1}),_0x412706['push']({'id':_0x1ed11c['id'],'params':_0x702095}),_0x45f1a7['push']({'id':_0x4296bd['id'],'params':{'unitId':_0xeefe8d,'subUnitId':_0x1f9edc['id'],'cellValue':_0x1141c3}}),_0x412706[_0x14bbc9(0x1a0)]({'id':_0x4296bd['id'],'params':{'unitId':_0xeefe8d,'subUnitId':_0x1f9edc['id'],'cellValue':_0x2e5294}});const _0x5a5169={'startRow':0x0,'startColumn':0x0,'endRow':_0x537cfc-0x1,'endColumn':_0xfeaf91};_0x45f1a7[_0x14bbc9(0x222)]({'id':_0x4a17aa['id'],'params':{'unitId':_0xeefe8d,'subUnitId':_0x1f9edc['id'],'range':_0x5a5169}}),_0x412706[_0x14bbc9(0x1a0)]({'id':_0x92d617['id'],'params':{'unitId':_0xeefe8d,'subUnitId':_0x1f9edc['id']}});const _0x3bbcc8=_0x5057dc[_0x14bbc9(0x30d)](_0x20632e);return _0x3da62c(_0x45f1a7,_0x3bbcc8)&&_0x5057dc[_0x14bbc9(0x30d)](_0x45083e)[_0x14bbc9(0x181)]({'unitID':_0xeefe8d,'undoMutations':_0x412706,'redoMutations':_0x45f1a7}),!0x0;}},Cs={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0x278),async 'handler'(_0x4825d6,_0x115d48){const _0x2c5882=_0x56d0e0;if(!_0x115d48)return!0x1;const _0x513d52=_0x4825d6[_0x2c5882(0x30d)](_0x20632e),_0x4f2d2b=_0x4825d6[_0x2c5882(0x30d)](X),_0x45d910=_0x4825d6[_0x2c5882(0x30d)](_0x45083e),{pivotTableId:_0x80fb71,fieldIds:_0x194dc1,unitId:_0x31961a,subUnitId:_0x530f97}=_0x115d48,_0x3d014c=(await _0x4f2d2b[_0x2c5882(0x20e)]({'unitId':_0x31961a,'subUnitId':_0x530f97,'pivotTableId':_0x80fb71,'params':{'type':j[_0x2c5882(0x273)],'removePivotField':{'fieldIds':_0x194dc1}}}))[_0x2c5882(0x2bf)]['removePivotField'];if(!_0x3d014c)return!0x1;const {view:_0x644f08,changesets:_0x1624a5,isEmpty:_0x2ad436,pivotTableConfig:_0x4d8400}=_0x3d014c,_0x4eca6b=_0x4d8400[_0x2c5882(0x2fa)],_0x350e8b=new _0x10dd37();_0x350e8b['formJSON'](_0x644f08);const _0x3c04d7={'cellInfo':_0x4eca6b,'view':_0x350e8b,'isEmpty':_0x2ad436};if(!await _0x4825d6[_0x2c5882(0x30d)](ie)[_0x2c5882(0x1bd)][_0x2c5882(0x146)](be)(!0x0,_0x3c04d7))return!0x1;const _0x389639=Fe(_0x4825d6,_0x350e8b,_0x4eca6b,_0x2ad436),_0x28fa34=we(_0x4825d6,_0x3c04d7),{redos:_0x216434,undos:_0x447a07}=me(_0x513d52,{'pivotTableId':_0x80fb71,'unitId':_0x31961a,'subUnitId':_0x530f97},_0x1624a5);return _0x3da62c([..._0x389639[_0x2c5882(0x2b8)],..._0x28fa34['redos'],..._0x216434],_0x513d52),_0x45d910['pushUndoRedo']({'unitID':_0x31961a,'redoMutations':[..._0x389639[_0x2c5882(0x2b8)],..._0x28fa34['redos'],..._0x216434],'undoMutations':[..._0x389639[_0x2c5882(0x285)],..._0x28fa34[_0x2c5882(0x285)],..._0x447a07]}),!0x0;}},bs={'type':_0x1d2c8e['COMMAND'],'id':_0x56d0e0(0x11f),async 'handler'(_0x187edb,_0x4ae796){const _0x553578=_0x56d0e0;var _0x4def8e;const _0x117ac=_0x187edb[_0x553578(0x30d)](_0x20632e),_0x34cd26=_0x187edb['get'](X),_0x1228c8=_0x187edb[_0x553578(0x30d)](Ne),_0x20fd6f=_0x187edb[_0x553578(0x30d)](_0xcc1cef),_0x1585ab=_0x187edb[_0x553578(0x30d)](_0x45083e);if(!_0x4ae796)return!0x1;const {unitId:_0x128621,subUnitId:_0x128f1e,row:_0x214b5f,col:_0x3139bf,collapse:_0x2eb902}=_0x4ae796,_0x55076b=_0x20fd6f[_0x553578(0x18d)](_0x128621);if(!_0x55076b||!_0x55076b['getSheetBySheetId'](_0x128f1e))return!0x1;const _0x304a22=_0x1228c8[_0x553578(0x265)](_0x128621,_0x128f1e,_0x214b5f,_0x3139bf);if(!_0x304a22)return!0x1;const _0x47452f=_0x1228c8[_0x553578(0x1ba)](_0x128621,_0x128f1e,_0x304a22);if(!_0x47452f)return!0x1;const _0x561cbe=_0x301f71(_0x214b5f,_0x3139bf),{rangesInfo:_0x21dfe8,areaInfo:_0x1bb881,headerMap:_0x3aff15}=_0x47452f;if(!_0x21dfe8||!_0x1bb881||!_0x3aff15)return!0x1;const _0x179c98=Object['keys'](_0x21dfe8)[_0x553578(0x230)](_0x2b7973=>_0x21dfe8[_0x2b7973][_0x553578(0x19d)](_0xa9a5a1=>_0x1d39b7[_0x553578(0x27f)](_0xa9a5a1,_0x561cbe)));let _0xdfe720;_0x179c98===_0x553578(0x2b4)?_0xdfe720=_0x3aff15['rowHeaderMap'][_0x3139bf]:_0x179c98===_0x553578(0x29c)&&(_0xdfe720=_0x3aff15[_0x553578(0x9e)][_0x214b5f]);const _0x270e31=_0xdfe720==null?void 0x0:_0xdfe720['tableFieldId'],_0x399e24=(_0x4def8e=_0x1228c8[_0x553578(0x162)](_0x128621,_0x128f1e,_0x214b5f,_0x3139bf))==null?void 0x0:_0x4def8e['v'];if(_0x399e24==null||!_0x304a22||!_0x270e31)return!0x1;const _0x4dbe93=await _0x34cd26[_0x553578(0x20e)]({'unitId':_0x128621,'subUnitId':_0x128f1e,'pivotTableId':_0x304a22,'params':{'type':j[_0x553578(0x2f9)],'setPivotCollapse':{'tableFieldId':_0x270e31,'collapse':_0x2eb902,'item':_0x399e24}}}),_0xe63fdc=_0x4dbe93==null?void 0x0:_0x4dbe93[_0x553578(0x2bf)][_0x553578(0x1f2)];if(!_0xe63fdc)return!0x1;const {view:_0x35a18e,pivotTableConfig:_0x1b5b74,isEmpty:_0x527745,changesets:_0x295821}=_0xe63fdc,_0x11b49e=new _0x10dd37();_0x11b49e[_0x553578(0x124)](_0x35a18e);const _0xe5077d=_0x1b5b74[_0x553578(0x2fa)],_0x556393={'cellInfo':_0xe5077d,'view':_0x11b49e,'isEmpty':_0x527745};if(!await _0x187edb[_0x553578(0x30d)](ie)[_0x553578(0x1bd)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x556393))return!0x1;const _0x360ac8=Fe(_0x187edb,_0x11b49e,_0xe5077d,_0x527745),_0x5c1198=we(_0x187edb,_0x556393),{redos:_0x3bec0b,undos:_0x42dd5c}=me(_0x117ac,{'pivotTableId':_0x304a22,'unitId':_0x128621,'subUnitId':_0x128f1e},_0x295821);return _0x3da62c([..._0x360ac8[_0x553578(0x2b8)],..._0x5c1198[_0x553578(0x2b8)],..._0x3bec0b],_0x117ac),_0x1585ab[_0x553578(0x181)]({'unitID':_0x128621,'redoMutations':[..._0x360ac8[_0x553578(0x2b8)],..._0x5c1198['redos'],..._0x3bec0b],'undoMutations':[..._0x360ac8[_0x553578(0x285)],..._0x5c1198[_0x553578(0x285)],..._0x42dd5c]}),!0x0;}},Ts={'type':_0x1d2c8e['COMMAND'],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x398896,_0x1873da){const _0x334287=_0x56d0e0;if(!_0x1873da)return!0x1;const _0x558a1a=_0x398896['get'](_0x20632e),{pivotTableId:_0x19ec9f,tableFieldId:_0x856d5f,items:_0x384948,unitId:_0x2774f8,subUnitId:_0x564466,isAll:_0x2bb97b}=_0x1873da,_0x4d62b8=_0x398896[_0x334287(0x30d)](X),_0x4dd51e=_0x398896['get'](_0x45083e),_0x3d272a=(await _0x4d62b8[_0x334287(0x20e)]({'unitId':_0x2774f8,'subUnitId':_0x564466,'pivotTableId':_0x19ec9f,'params':{'type':j['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x856d5f,'items':_0x384948,'isAll':_0x2bb97b}}}))[_0x334287(0x2bf)][_0x334287(0x107)];if(!_0x3d272a)return!0x1;const {changesets:_0xff8dd,pivotTableConfig:_0x79d891,isEmpty:_0x51df22,view:_0x32a216}=_0x3d272a,_0x3d63fb=_0x79d891[_0x334287(0x2fa)],_0x1a9d33=new _0x10dd37();_0x1a9d33[_0x334287(0x124)](_0x32a216);const _0x173d86={'cellInfo':_0x3d63fb,'view':_0x1a9d33,'isEmpty':_0x51df22};if(!await _0x398896[_0x334287(0x30d)](ie)[_0x334287(0x1bd)][_0x334287(0x146)](be)(!0x0,_0x173d86))return!0x1;const _0x56bbf9=Fe(_0x398896,_0x1a9d33,_0x3d63fb,_0x51df22),_0x1a4948=we(_0x398896,_0x173d86),{undos:_0x5b9417,redos:_0x3bf35a}=me(_0x558a1a,{'pivotTableId':_0x19ec9f,'unitId':_0x2774f8,'subUnitId':_0x564466},_0xff8dd);return _0x3da62c([..._0x56bbf9['redos'],..._0x1a4948[_0x334287(0x2b8)],..._0x3bf35a],_0x558a1a),_0x4dd51e[_0x334287(0x181)]({'unitID':_0x2774f8,'redoMutations':[..._0x56bbf9[_0x334287(0x2b8)],..._0x1a4948[_0x334287(0x2b8)],..._0x3bf35a],'undoMutations':[..._0x56bbf9['undos'],..._0x1a4948[_0x334287(0x285)],..._0x5b9417]}),!0x0;}},Ss={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0x129),async 'handler'(_0xbd6208,_0x313bc9){const _0x11ece0=_0x56d0e0;if(!_0x313bc9)return!0x1;const _0x57c82c=_0xbd6208['get'](_0x20632e),_0x274200=_0xbd6208[_0x11ece0(0x30d)](_0x45083e),_0x26ff6a=_0xbd6208[_0x11ece0(0x30d)](X),{info:_0x10e3f3,tableFieldId:_0x21ac2d,pivotTableId:_0x5e3d3c,unitId:_0x17413e,subUnitId:_0x1584bc}=_0x313bc9,_0x2b2281=(await _0x26ff6a[_0x11ece0(0x20e)]({'unitId':_0x17413e,'subUnitId':_0x1584bc,'pivotTableId':_0x5e3d3c,'params':{'type':j[_0x11ece0(0x275)],'setPivotSort':{'tableFieldId':_0x21ac2d,'info':_0x10e3f3}}}))[_0x11ece0(0x2bf)]['setPivotSort'];if(!_0x2b2281)return!0x1;const {changesets:_0x500fbb}=_0x2b2281,{redos:_0x68913d,undos:_0x2260e0}=me(_0x57c82c,{'pivotTableId':_0x5e3d3c,'unitId':_0x17413e,'subUnitId':_0x1584bc},_0x500fbb);return _0x3da62c(_0x68913d,_0x57c82c),_0x274200[_0x11ece0(0x181)]({'unitID':_0x17413e,'redoMutations':_0x68913d,'undoMutations':_0x2260e0}),!0x0;}},Ps={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0x1f4),async 'handler'(_0x409fc2,_0x4f3451){const _0x131754=_0x56d0e0;if(!_0x4f3451)return!0x1;const _0x227342=_0x409fc2[_0x131754(0x30d)](_0x20632e),_0x234d4d=_0x409fc2[_0x131754(0x30d)](_0x45083e),_0x221cef=_0x409fc2[_0x131754(0x30d)](X),{displayName:_0x46ced2,subtotalType:_0x28aff3,format:_0xfd1b6,tableFieldId:_0x44a5bb,pivotTableId:_0x112af1,unitId:_0x427965,subUnitId:_0x3c7e4d}=_0x4f3451,_0x1d6114=(await _0x221cef[_0x131754(0x20e)]({'unitId':_0x427965,'subUnitId':_0x3c7e4d,'pivotTableId':_0x112af1,'params':{'type':j[_0x131754(0x1d6)],'setPivotSetting':{'tableFieldId':_0x44a5bb,'displayName':_0x46ced2,'subtotalType':_0x28aff3,'format':_0xfd1b6}}}))[_0x131754(0x2bf)][_0x131754(0x2b9)];if(!_0x1d6114)return!0x1;const {changesets:_0x150981,view:_0x14b662,pivotTableConfig:_0x4a6b7c,isEmpty:_0x542776}=_0x1d6114,_0x51c595=_0x4a6b7c[_0x131754(0x2fa)],_0x21447b=new _0x10dd37();_0x21447b[_0x131754(0x124)](_0x14b662);const _0x39cd24={'cellInfo':_0x51c595,'view':_0x21447b,'isEmpty':_0x542776};if(!await _0x409fc2[_0x131754(0x30d)](ie)[_0x131754(0x1bd)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x39cd24))return!0x1;const _0x43fad6=Fe(_0x409fc2,_0x21447b,_0x51c595,_0x542776),_0x2350fa=we(_0x409fc2,_0x39cd24),{undos:_0xa26fde,redos:_0x1161e2}=me(_0x227342,{'pivotTableId':_0x112af1,'unitId':_0x427965,'subUnitId':_0x3c7e4d},_0x150981);return _0x3da62c([..._0x43fad6['redos'],..._0x2350fa['redos'],..._0x1161e2],_0x227342),_0x234d4d[_0x131754(0x181)]({'unitID':_0x427965,'redoMutations':[..._0x43fad6[_0x131754(0x2b8)],..._0x2350fa[_0x131754(0x2b8)],..._0x1161e2],'undoMutations':[..._0x43fad6[_0x131754(0x285)],..._0x2350fa[_0x131754(0x285)],..._0xa26fde]}),!0x0;}},ys={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x24228d,_0x53cbf7){const _0x23fd85=_0x56d0e0,_0x4003f3=_0x24228d[_0x23fd85(0x30d)](_0x20632e),_0x480c31=_0x24228d[_0x23fd85(0x30d)](X),_0x3d56b3=_0x24228d[_0x23fd85(0x30d)](_0x45083e);if(!_0x53cbf7)return!0x1;const {token:_0x420578,dataRangeInfo:_0x2fd5f4,unitId:_0x17563b,subUnitId:_0x19781a}=_0x53cbf7,_0x5e2077=[],_0x341c0d=[],_0x48abc5=(await _0x480c31['getPivotDisplayConfig']({'unitId':_0x17563b,'subUnitId':_0x19781a,'pivotTableId':_0x420578,'params':{'type':j[_0x23fd85(0x2a4)],'updatePivotSource':{'dataRangeInfo':_0x2fd5f4,'unitId':_0x17563b,'subUnitId':_0x19781a}}}))[_0x23fd85(0x2bf)][_0x23fd85(0x212)];if(!_0x48abc5)return!0x1;const {changesets:_0x6c2f7f,deleteIds:_0x5e1aad,collectionConfig:_0x3d7051,oldCollectionConfig:_0x5ddcbb,view:_0x29708f,isEmpty:_0x52cb45,pivotTableConfig:_0x1aea5f}=_0x48abc5;_0x341c0d[_0x23fd85(0x222)]({'id':to['id'],'params':{'pivotTableId':_0x420578,'deleteIds':_0x5e1aad,'collectionJSON':_0x3d7051,'dataRangeInfo':_0x2fd5f4,'unitId':_0x17563b,'subUnitId':_0x19781a}}),_0x5e2077[_0x23fd85(0x1a0)]({'id':to['id'],'params':{'pivotTableId':_0x420578,'deleteIds':[],'collectionJSON':_0x5ddcbb,'dataRangeInfo':_0x1aea5f['sourceRangeInfo'],'unitId':_0x17563b,'subUnitId':_0x19781a}});const _0x4d2a89=_0x1aea5f[_0x23fd85(0x2fa)],_0x452222=new _0x10dd37();_0x452222['formJSON'](_0x29708f);const _0xcf4487={'cellInfo':_0x4d2a89,'view':_0x452222,'isEmpty':_0x52cb45};if(!await _0x24228d[_0x23fd85(0x30d)](ie)[_0x23fd85(0x1bd)][_0x23fd85(0x146)](be)(!0x0,_0xcf4487))return!0x1;const _0xec3233=Fe(_0x24228d,_0x452222,_0x4d2a89,_0x52cb45),_0x242311=we(_0x24228d,_0xcf4487),{undos:_0x3a3cc,redos:_0x41f0d2}=me(_0x4003f3,{'pivotTableId':_0x420578,'unitId':_0x17563b,'subUnitId':_0x19781a},_0x6c2f7f);return _0x3da62c([..._0xec3233[_0x23fd85(0x2b8)],..._0x242311[_0x23fd85(0x2b8)],..._0x341c0d,..._0x3a3cc],_0x4003f3),_0x3d56b3[_0x23fd85(0x181)]({'unitID':_0x17563b,'redoMutations':[..._0xec3233[_0x23fd85(0x2b8)],..._0x242311[_0x23fd85(0x2b8)],..._0x341c0d,..._0x3a3cc],'undoMutations':[..._0xec3233['undos'],..._0x242311[_0x23fd85(0x285)],..._0x5e2077,..._0x41f0d2]}),!0x0;}},Ms={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x164124,_0x1ac218){const _0x4def9a=_0x56d0e0;if(!_0x1ac218)return!0x1;const _0x4ceb2c=_0x164124[_0x4def9a(0x30d)](_0x20632e),_0x5c4f8d=_0x164124[_0x4def9a(0x30d)](X),_0xcd6810=_0x164124[_0x4def9a(0x30d)](_0xcc1cef),_0x1e374f=_0x164124[_0x4def9a(0x30d)](_0x45083e),{pivotTableId:_0x8995b7,position:_0x469c82,index:_0x1b24c1}=_0x1ac218,_0x6a8e2a=_0x28fad5(_0xcd6810);if(!_0x6a8e2a)return!0x1;const {unitId:_0x33dc24,subUnitId:_0x20f42b}=_0x6a8e2a,_0xef37b0=(await _0x5c4f8d['getPivotDisplayConfig']({'unitId':_0x33dc24,'subUnitId':_0x20f42b,'pivotTableId':_0x8995b7,'params':{'type':j[_0x4def9a(0x15f)],'updateValuePosition':{'position':_0x469c82,'index':_0x1b24c1}}}))['result'][_0x4def9a(0x1e6)];if(!_0xef37b0)return!0x1;const {changesets:_0x1ae260,view:_0x20728c,isEmpty:_0x189ef5,pivotTableConfig:_0x52dc9b}=_0xef37b0,_0x1a9805=_0x52dc9b['targetCellInfo'],_0x214242=new _0x10dd37();_0x214242[_0x4def9a(0x124)](_0x20728c);const _0x251aac=_0x164124[_0x4def9a(0x30d)](ie),_0x21a6f5={'cellInfo':_0x1a9805,'view':_0x214242,'isEmpty':_0x189ef5};if(!await _0x251aac[_0x4def9a(0x1bd)][_0x4def9a(0x146)](be)(!0x0,_0x21a6f5))return!0x1;const _0x2a2a9e=Fe(_0x164124,_0x214242,_0x1a9805,_0x189ef5),_0x731509=we(_0x164124,_0x21a6f5),{undos:_0x30fa60,redos:_0x2226af}=me(_0x4ceb2c,{'pivotTableId':_0x8995b7,'unitId':_0x33dc24,'subUnitId':_0x20f42b},_0x1ae260);return _0x3da62c([..._0x2a2a9e[_0x4def9a(0x2b8)],..._0x731509['redos'],..._0x2226af],_0x4ceb2c),_0x1e374f['pushUndoRedo']({'unitID':_0x33dc24,'redoMutations':[..._0x2a2a9e[_0x4def9a(0x2b8)],..._0x731509[_0x4def9a(0x2b8)],..._0x2226af],'undoMutations':[..._0x2a2a9e[_0x4def9a(0x285)],..._0x731509[_0x4def9a(0x285)],..._0x30fa60]}),!0x0;}},Fs={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':'sheet.command.move-pivot-table','handler':(_0x368734,_0x253748)=>{const _0x47bd45=_0x56d0e0,_0x1d8deb=_0x368734[_0x47bd45(0x30d)](_0x20632e),_0x5ad1dc=_0x368734['get'](_0x45083e),_0x1df2e0=_0x368734[_0x47bd45(0x30d)](ve),_0x1aa57a=_0x368734[_0x47bd45(0x30d)](_0xcc1cef);if(!_0x253748)return!0x1;const _0x583a35=_0x28fad5(_0x1aa57a);if(!_0x583a35)return!0x1;const {unitId:_0x4fd03c,subUnitId:_0x4e8f91,workbook:_0xddb2c4}=_0x583a35,_0x4d5b65=_0x1df2e0['getPivotTableConfig'](_0x253748[_0x47bd45(0x173)][_0x47bd45(0x243)],_0x253748[_0x47bd45(0x173)][_0x47bd45(0x17a)],_0x253748[_0x47bd45(0x197)]);if(!_0x4d5b65)return!0x1;const _0x1901b1=_0xddb2c4[_0x47bd45(0x255)](_0x253748[_0x47bd45(0x2fa)]['subUnitId']);if(!_0x1901b1)throw new Error(_0x47bd45(0xfb));const _0x5e80ce=_0x1901b1[_0x47bd45(0x17b)](),_0x294494=_0x1901b1[_0x47bd45(0x1d1)]();if(_0x253748[_0x47bd45(0x2fa)][_0x47bd45(0x155)]>_0x5e80ce||_0x253748[_0x47bd45(0x2fa)][_0x47bd45(0x1c4)]>_0x294494)throw new Error(_0x47bd45(0x152));const _0x36a754=[{'id':pt['id'],'params':{'unitId':_0x4fd03c,'subUnitId':_0x253748[_0x47bd45(0x2fa)][_0x47bd45(0x17a)],'pivotTableId':_0x253748['pivotTableId'],'targetCellPosition':{'row':_0x253748['targetCellInfo'][_0x47bd45(0x155)],'col':_0x253748[_0x47bd45(0x2fa)][_0x47bd45(0x1c4)]}}}],_0x5a262d=[{'id':pt['id'],'params':{'unitId':_0x4fd03c,'subUnitId':_0x4e8f91,'pivotTableId':_0x253748['pivotTableId'],'targetCellPosition':{'row':_0x4d5b65[_0x47bd45(0x2fa)]['row'],'col':_0x4d5b65[_0x47bd45(0x2fa)]['col']}}}];return _0x3da62c(_0x36a754,_0x1d8deb)&&_0x5ad1dc[_0x47bd45(0x181)]({'unitID':_0x4fd03c,'undoMutations':_0x5a262d,'redoMutations':_0x36a754}),!0x0;}},ws={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0xf7),async 'handler'(_0x4c662d,_0x16783a){const _0x4f939c=_0x56d0e0;if(!_0x16783a)return!0x1;const _0x5b756d=_0x4c662d[_0x4f939c(0x30d)](_0x20632e),{pivotTableId:_0x54a5c3,fieldId:_0x1e80e9,valueFilterInfo:_0x318b5d,unitId:_0x11f868,subUnitId:_0x563d4b}=_0x16783a,_0x1207d0=_0x4c662d[_0x4f939c(0x30d)](X),_0x3c5127=_0x4c662d[_0x4f939c(0x30d)](_0x45083e),_0x2c49ee=(await _0x1207d0[_0x4f939c(0x20e)]({'unitId':_0x11f868,'subUnitId':_0x563d4b,'pivotTableId':_0x54a5c3,'params':{'type':j[_0x4f939c(0x28d)],'setValuePivotFilter':{'tableFieldId':_0x1e80e9,'filterInfo':_0x318b5d}}}))['result'][_0x4f939c(0x2b2)];if(!_0x2c49ee)return!0x1;const {changesets:_0x222ed9,pivotTableConfig:_0x20632b,isEmpty:_0x4efbd7,view:_0xf8a1b7}=_0x2c49ee,_0x3096a7=_0x20632b[_0x4f939c(0x2fa)],_0x5d3aff=new _0x10dd37();_0x5d3aff['formJSON'](_0xf8a1b7);const _0x42accf={'cellInfo':_0x3096a7,'view':_0x5d3aff,'isEmpty':_0x4efbd7};if(!await _0x4c662d[_0x4f939c(0x30d)](ie)[_0x4f939c(0x1bd)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x42accf))return!0x1;const _0x3498bf=Fe(_0x4c662d,_0x5d3aff,_0x3096a7,_0x4efbd7),_0x57843d=we(_0x4c662d,_0x42accf),{undos:_0x16c939,redos:_0x2ba6fa}=me(_0x5b756d,{'pivotTableId':_0x54a5c3,'unitId':_0x11f868,'subUnitId':_0x563d4b},_0x222ed9);return _0x3da62c([..._0x3498bf['redos'],..._0x57843d[_0x4f939c(0x2b8)],..._0x2ba6fa],_0x5b756d),_0x3c5127[_0x4f939c(0x181)]({'unitID':_0x11f868,'redoMutations':[..._0x3498bf['redos'],..._0x57843d['redos'],..._0x2ba6fa],'undoMutations':[..._0x3498bf[_0x4f939c(0x285)],..._0x57843d['undos'],..._0x16c939]}),!0x0;}},_s={'type':_0x1d2c8e[_0x56d0e0(0x100)],'id':_0x56d0e0(0xb3),async 'handler'(_0x330dfe,_0x56090b){const _0x107485=_0x56d0e0;if(!_0x56090b)return!0x1;const _0x27b1cb=_0x330dfe[_0x107485(0x30d)](_0x20632e),_0x4b6ca1=_0x330dfe[_0x107485(0x30d)](_0x45083e),_0x227be2=_0x330dfe[_0x107485(0x30d)](X),{pivotTableConfig:_0x2d969e,pivotTableId:_0x2e09ea,unitId:_0x2c7843,subUnitId:_0x439aec}=_0x56090b,_0x3f6740=(await _0x227be2[_0x107485(0x20e)]({'unitId':_0x2c7843,'subUnitId':_0x439aec,'pivotTableId':_0x2e09ea,'params':{'type':j[_0x107485(0x2d5)],'setPivotTableConfig':{'pivotTableId':_0x2e09ea,'pivotTableConfig':_0x2d969e}}}))[_0x107485(0x2bf)][_0x107485(0x27a)];if(!_0x3f6740)return!0x1;const {changesets:_0x1a9736}=_0x3f6740,{redos:_0x3ea543,undos:_0x3f3e60}=me(_0x27b1cb,{'pivotTableId':_0x2e09ea,'unitId':_0x2c7843,'subUnitId':_0x439aec},_0x1a9736);return _0x3da62c(_0x3ea543,_0x27b1cb),_0x4b6ca1[_0x107485(0x181)]({'unitID':_0x2c7843,'redoMutations':_0x3ea543,'undoMutations':_0x3f3e60}),!0x0;}},Rs={'type':_0x1d2c8e['COMMAND'],'id':_0x56d0e0(0xa0),async 'handler'(_0x5beebf,_0x34d9ae){const _0x21023c=_0x56d0e0;if(!_0x34d9ae)return!0x1;const _0x3db209=_0x5beebf['get'](_0x20632e),_0x2a32dd=_0x5beebf[_0x21023c(0x30d)](_0x45083e),_0x2b8138=_0x5beebf[_0x21023c(0x30d)](X),{resetArea:_0x46a0ec,pivotTableId:_0x16ce51,unitId:_0x2d990e,subUnitId:_0x59846c}=_0x34d9ae,_0x78dec9=(await _0x2b8138['getPivotDisplayConfig']({'unitId':_0x2d990e,'subUnitId':_0x59846c,'pivotTableId':_0x16ce51,'params':{'type':j[_0x21023c(0x28a)],'resetPivotTable':{'pivotTableId':_0x16ce51,'resetArea':_0x46a0ec}}}))[_0x21023c(0x2bf)][_0x21023c(0xd6)];if(!_0x78dec9)return!0x1;const {changesets:_0x4c9efb}=_0x78dec9,{redos:_0x57c977,undos:_0xf6d530}=me(_0x3db209,{'pivotTableId':_0x16ce51,'unitId':_0x2d990e,'subUnitId':_0x59846c},_0x4c9efb);return _0x3da62c(_0x57c977,_0x3db209),_0x2a32dd[_0x21023c(0x181)]({'unitID':_0x2d990e,'redoMutations':_0x57c977,'undoMutations':_0xf6d530}),!0x0;}},oo={'id':_0x56d0e0(0xae),'type':_0x1d2c8e[_0x56d0e0(0xb5)],'handler':(_0xd281a8,_0x373fc0)=>{const _0x567f86=_0x56d0e0;if(!_0x373fc0)return!0x1;if(!!_0xd281a8[_0x567f86(0x30d)](_0x26de3f)['getConfig'](K))return!0x0;const {unitId:_0x1f0509,subUnitId:_0x3dd277,pivotTableId:_0x229663,tableFieldId:_0x35acf2,dateType:_0x4ddb7e}=_0x373fc0,_0x2fa390=_0xd281a8[_0x567f86(0x30d)](q),_0x24e0b5=_0x2fa390[_0x567f86(0x2e4)](_0x229663);if(!_0x24e0b5)return!0x1;const _0x44be1d=_0x24e0b5[_0x567f86(0x165)](_0x35acf2);if(!_0x44be1d)return!0x1;const _0x12127c=_0x44be1d[_0x567f86(0x111)](),_0xde6818=_0x24e0b5[_0x567f86(0x13e)](_0x12127c),_0x2628dc=(_0xde6818==null?void 0x0:_0xde6818[_0x567f86(0x1b5)]())+'\x20'+Go(_0xd281a8,_0x4ddb7e);_0x2fa390[_0x567f86(0x144)](_0x1f0509,_0x229663)[_0x567f86(0x14f)](_0x44be1d['id'],_0x2628dc);const _0x27ae66=_0x24e0b5[_0x567f86(0x294)](_0x35acf2);if(!_0x27ae66)return!0x1;_0x24e0b5[_0x567f86(0x2a1)](_0x27ae66[_0x567f86(0xfe)](),_0x2628dc),_0x44be1d[_0x567f86(0x14d)](_0x4ddb7e);const _0x3edcfb=_0x2fa390[_0x567f86(0x1dc)](_0x1f0509,_0x3dd277,_0x229663);return _0x2fa390['addDirtyPivotTable']({'unitId':_0x1f0509,'subUnitId':_0x3dd277,'token':_0x229663,'type':B[_0x567f86(0x24d)],'pivotConfig':_0x3edcfb}),!0x0;}},Ds={'id':_0x56d0e0(0x16a),'type':_0x1d2c8e[_0x56d0e0(0x100)],'handler':(_0x21c860,_0x36af4f)=>{const _0x35ad64=_0x56d0e0;if(!_0x36af4f)return!0x1;const _0x35134f=_0x21c860['get'](_0x45083e),{unitId:_0x4b5a62,subUnitId:_0x3c6568,pivotTableId:_0x484dc0,tableFieldId:_0x3e88a3}=_0x36af4f,_0xe74b27=[],_0x20d229=[],_0x527c27=_0x21c860['get'](ve),_0x21e78a=_0x527c27[_0x35ad64(0x144)](_0x4b5a62,_0x484dc0),_0x41b11a=_0x527c27[_0x35ad64(0x1dc)](_0x4b5a62,_0x3c6568,_0x484dc0);if(!(_0x41b11a!=null&&_0x41b11a['fieldsConfig'][_0x35ad64(0x1d2)]))return!0x1;const _0x1b2be4=Object[_0x35ad64(0x319)](_0x41b11a[_0x35ad64(0x1c5)][_0x35ad64(0x1d2)])['find'](_0x1618b2=>_0x1618b2['id']===_0x3e88a3);if(!_0x1b2be4)return!0x1;const _0x592f8b=_0x1b2be4[_0x35ad64(0xf1)];if(!(_0x21e78a!=null&&_0x21e78a['fields']))return!0x1;const _0x201859=Object[_0x35ad64(0x319)](_0x21e78a==null?void 0x0:_0x21e78a[_0x35ad64(0x110)])[_0x35ad64(0x230)](_0x36ffb3=>_0x36ffb3['id']===_0x592f8b);if(!_0x201859)return!0x1;_0x3d1b43(_0x201859)&&_0xe74b27['push']({'id':oo['id'],'params':{..._0x36af4f,'dateType':_0x201859['dateType']}}),_0x20d229[_0x35ad64(0x222)]({'id':oo['id'],'params':{..._0x36af4f}});const _0x43e6d4=_0x21c860[_0x35ad64(0x30d)](_0x20632e);return _0x3da62c(_0x20d229,_0x43e6d4)&&_0x35134f['pushUndoRedo']({'unitID':_0x4b5a62,'undoMutations':_0xe74b27,'redoMutations':_0x20d229}),!0x0;}};var Ns=Object[_0x56d0e0(0x1a1)],xs=(_0x31ac61,_0x5f1f3a,_0x19a586,_0x3c1529)=>{const _0x15f547=_0x56d0e0;for(var _0x236d33=_0x3c1529>0x1?void 0x0:_0x3c1529?Ns(_0x5f1f3a,_0x19a586):_0x5f1f3a,_0x47614d=_0x31ac61[_0x15f547(0x2a0)]-0x1,_0x2873f7;_0x47614d>=0x0;_0x47614d--)(_0x2873f7=_0x31ac61[_0x47614d])&&(_0x236d33=_0x2873f7(_0x236d33)||_0x236d33);return _0x236d33;},at=(_0x3db353,_0x23cdaa)=>(_0x535474,_0x1a7657)=>_0x23cdaa(_0x535474,_0x1a7657,_0x3db353);const Us=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Vs=(_0x104412,_0x54dec7,_0x34579e)=>{const _0x10ada8=_0x56d0e0,_0x409dd2=_0x104412['dataFieldsCollection'];_0x104412[_0x10ada8(0x9f)](_0x111fa7=>{const _0x51da83=_0x10ada8,_0x567db7=_0x111fa7['getId'](),_0x351850=_0x111fa7['getDataFieldId'](),_0x2a7787=_0x111fa7['getSourceName'](),_0x37a001=_0x111fa7[_0x51da83(0x123)]();_0x54dec7[_0x351850]&&_0x54dec7[_0x351850]===_0x37a001&&_0x2a7787===_0x37a001&&(_0x104412[_0x51da83(0x2a1)](_0x567db7,_0x409dd2[_0x51da83(0x123)](_0x351850)),_0x111fa7['setSourceName'](_0x409dd2[_0x51da83(0x123)](_0x351850)));}),_0x104412['iterateFieldByArea'](_0x209a53['Value'],_0x9be47b=>{const _0x4a166a=_0x10ada8,_0x2a8df5=_0x9be47b[_0x4a166a(0xfe)](),_0x3bd03f=_0x9be47b[_0x4a166a(0x1cb)](),_0x128484=_0x9be47b['getSourceName'](),_0x357101=_0x9be47b['getDisplayName'](),_0x5c2d0e=_0x9be47b['getSubtotal'](),_0x2b44ac=_0x34579e(_0x128484,_0x5c2d0e);_0x54dec7[_0x3bd03f]&&_0x54dec7[_0x3bd03f]===_0x128484&&_0x2b44ac===_0x357101&&(_0x104412[_0x4a166a(0x2a1)](_0x2a8df5,_0x34579e(_0x409dd2[_0x4a166a(0x123)](_0x3bd03f),_0x5c2d0e)),_0x9be47b[_0x4a166a(0x2ec)](_0x409dd2[_0x4a166a(0x123)](_0x3bd03f)));});},Es=(_0x414d5e,_0x4a1796,_0x1221a0)=>{const _0x39e405=_0x56d0e0;var _0x112d82,_0x29ae06;const {arrayFormulaCellData:_0x2a3036,unitData:_0x280949}=_0x4a1796,{unitId:_0x1343cb,subUnitId:_0xf33374}=_0x1221a0,_0x26f819=_0x1221a0[_0x39e405(0x12d)],{startColumn:_0x1ade9b,endColumn:_0x24b669}=_0x26f819,_0x26bf29=(_0x112d82=_0x2a3036==null?void 0x0:_0x2a3036[_0x1343cb])==null?void 0x0:_0x112d82[_0xf33374],_0x52e718=(_0x29ae06=_0x280949==null?void 0x0:_0x280949[_0x1343cb])==null?void 0x0:_0x29ae06[_0xf33374],_0x24c216=new Set(),_0x6bbdb=_0x24b669-_0x1ade9b+0x1,{dirtyRanges:_0x51174c}=_0x414d5e;if(_0x51174c)for(const {range:_0x404905,sheetId:_0x132d66,unitId:_0x5e2f55}of _0x51174c){if(_0x132d66!==_0xf33374||_0x1343cb!==_0x5e2f55)continue;const _0x1c23aa=_0x1d39b7[_0x39e405(0x24b)](_0x404905,_0x26f819);if(_0x1c23aa){const {startColumn:_0x2719ab,endColumn:_0x24c04f}=_0x1c23aa;for(let _0x403dc9=_0x2719ab;_0x403dc9<=_0x24c04f;_0x403dc9++)_0x24c216[_0x39e405(0x307)](_0x403dc9);}}if(_0x24c216['size']===_0x6bbdb||_0x24c216[_0x39e405(0x9b)]===_0x6bbdb)return Array[_0x39e405(0x302)](_0x24c216);if(_0x52e718){const _0x22d63e=_0x52e718[_0x39e405(0x1a6)](),_0x4d0e0a=Object[_0x39e405(0x271)](_0x22d63e);for(const _0x100e03 of _0x4d0e0a){const _0x44a220=Number(_0x100e03),_0x5fc1c3=_0x22d63e[_0x44a220];if(_0x24c216[_0x39e405(0x9b)]===_0x6bbdb)break;for(const _0x3f7736 in _0x5fc1c3){const _0x35ea50=Number(_0x3f7736);_0x35ea50<_0x1ade9b||_0x35ea50>_0x24b669||_0x24c216[_0x39e405(0x307)](_0x35ea50);}}}if(_0x26bf29){const _0x2497ba=_0x26bf29['getMatrix'](),_0x1661db=Object[_0x39e405(0x271)](_0x2497ba);for(const _0x144c8b of _0x1661db){const _0x56ef43=Number(_0x144c8b),_0x15375c=_0x2497ba[_0x56ef43];if(_0x24c216[_0x39e405(0x9b)]===_0x6bbdb)break;for(const _0x317628 in _0x15375c){const _0x2b74e5=Number(_0x317628);_0x2b74e5<_0x1ade9b||_0x2b74e5>_0x24b669||_0x24c216[_0x39e405(0x307)](_0x2b74e5);}}}return Array[_0x39e405(0x302)](_0x24c216);},Os=_0x57e553=>{const _0x185aef=_0x56d0e0,_0x2c1aaf=new Set(),_0x7d3f0d=[];for(const _0xc247c of _0x57e553){const _0x4fa71e=_0xc247c['startRow']+','+_0xc247c[_0x185aef(0x103)]+','+_0xc247c['startColumn']+','+_0xc247c[_0x185aef(0x149)];_0x2c1aaf[_0x185aef(0x13b)](_0x4fa71e)||(_0x2c1aaf[_0x185aef(0x307)](_0x4fa71e),_0x7d3f0d[_0x185aef(0x222)](_0xc247c));}return _0x7d3f0d;};let ct=class extends _0x5876c8{constructor(_0xbaee58,_0x32914d,_0x3dc1cd,_0x215702,_0x591549){const _0x530cbd=_0x56d0e0;super(),x(this,_0x530cbd(0x240),new _0x113985(!0x0)),x(this,'_globalComputedStartHelpFunc',_0x444539=>{const _0x1aed0a=_0x530cbd;this['_globalSubject'][_0x1aed0a(0x1a3)](!0x1);}),x(this,_0x530cbd(0x1a2),_0x177595=>{this['_globalSubject']['next'](!0x0);}),(this[_0x530cbd(0xe8)]=_0xbaee58,this[_0x530cbd(0xef)]=_0x32914d,this['_commandService']=_0x3dc1cd,this[_0x530cbd(0xa2)]=_0x215702,this[_0x530cbd(0x2a8)]=_0x591549,this[_0x530cbd(0x26d)](),this[_0x530cbd(0xb6)]());}[_0x56d0e0(0x26d)](){const _0x976d38=_0x56d0e0;this[_0x976d38(0x97)](),this[_0x976d38(0x1c2)](),this[_0x976d38(0x2b7)](),this[_0x976d38(0x189)]();}[_0x56d0e0(0x18b)](){const _0x226223=_0x56d0e0;this[_0x226223(0xa2)][_0x226223(0xd5)](this[_0x226223(0x240)]),_0x2d1deb[_0x226223(0x2c5)](_0x1f9b4d['onQueryStart'],this['_globalComputedStartHelpFunc']),_0x2d1deb[_0x226223(0x2c5)](_0x1f9b4d[_0x226223(0x216)],this[_0x226223(0x1a2)]);}[_0x56d0e0(0xb6)](){const _0x243a49=_0x56d0e0;this['disposeWithMe'](this['_commandService'][_0x243a49(0x13c)](_0x1d3ba8=>{const _0x2fa456=_0x243a49;_0x1d3ba8['id']===_0x5969b2['id']&&this[_0x2fa456(0xe8)][_0x2fa456(0x23c)](_0x1d3ba8[_0x2fa456(0x205)]);})),this[_0x243a49(0x21c)](this[_0x243a49(0x2e1)][_0x243a49(0x13c)](_0x13d88d=>{const _0xf9edc8=_0x243a49;if(_0x13d88d['id']!==ro['id'])return;const _0xcabcd6=_0x13d88d[_0xf9edc8(0x205)],{unitId:_0x2f5fc9,subUnitId:_0x2d3bf6,pivotTableId:_0x4d8950}=_0xcabcd6,_0x49ca57=_0xcabcd6['params'][_0xf9edc8(0x1b1)],_0x2f93b7={};switch(_0x49ca57){case j['Filter']:{const _0x59c66f=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0xcf)];if(!_0x59c66f)return;const {row:_0x26c4bb,col:_0x1cf4af,cellData:_0x2f6af1,pivotItemRenderInfoCache:_0x35fc8e,tableFieldId:_0x250c64}=_0x59c66f,_0x286b40=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0xcabcd6[_0xf9edc8(0x197)]);if(!_0x286b40||!_0x35fc8e)return;if(_0x250c64){const _0x317355=_0x286b40[_0xf9edc8(0x165)](_0x250c64);if(!_0x317355)return;_0x2f93b7[_0xf9edc8(0xcf)]={..._0x286b40[_0xf9edc8(0x2d8)](_0x317355),'tableFieldId':_0x250c64,'pivotTableId':_0xcabcd6[_0xf9edc8(0x197)],'filterInfo':_0x286b40[_0xf9edc8(0x13a)](_0x250c64),'sortInfo':_0x286b40[_0xf9edc8(0x199)](_0x250c64),'format':_0x286b40[_0xf9edc8(0x10b)](_0x250c64)};}else{const _0x458056=Vi(_0x26c4bb,_0x1cf4af,_0x2f6af1,_0x286b40,_0x35fc8e),_0x1c71f6=_0x458056==null?void 0x0:_0x458056[_0xf9edc8(0x292)];if(!_0x1c71f6)return;const _0x1f7d43=_0x286b40['getDataFieldByTableId'](_0x1c71f6);if(!_0x1f7d43)return;_0x2f93b7[_0xf9edc8(0xcf)]={..._0x286b40[_0xf9edc8(0x2d8)](_0x1f7d43),'tableFieldId':_0x1c71f6,'pivotTableId':_0xcabcd6['pivotTableId'],'filterInfo':_0x286b40[_0xf9edc8(0x13a)](_0x1c71f6),'sortInfo':_0x286b40[_0xf9edc8(0x199)](_0x1c71f6),'format':_0x286b40[_0xf9edc8(0x10b)](_0x1c71f6)};}}break;case j[_0xf9edc8(0x22c)]:{const _0x3479d4=_0xcabcd6[_0xf9edc8(0x205)]['panel'];if(!_0x3479d4)return;const {pivotTableId:_0xd116e6}=_0x3479d4,_0x4a85f8=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0xd116e6);if(!_0x4a85f8)return;const _0x107549=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2f5fc9,_0x2d3bf6,_0xd116e6),_0x53395a=Ei(_0x4a85f8,_0xd116e6,_0x107549);_0x2f93b7[_0xf9edc8(0x2f0)]=_0x53395a;}break;case j[_0xf9edc8(0xe6)]:{const _0x1eaf02=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950),_0x36382d=this[_0xf9edc8(0xe8)]['getDataFieldManager'](_0x2f5fc9),_0x5567bb=_0x36382d[_0xf9edc8(0x144)](_0x4d8950);let _0x542120=null;const _0x5a5068=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950),_0x19ef67=_0xcabcd6[_0xf9edc8(0x205)]['addPivotField'];if(!_0x1eaf02||!_0x5a5068||!_0x19ef67)return!0x1;const {dataFieldId:_0x4e9d2f,fieldArea:_0x1897e0,index:_0x34c238}=_0x19ef67;_0x1eaf02[_0xf9edc8(0x246)]();const _0x33488e=_0x1eaf02[_0xf9edc8(0x158)](_0x4e9d2f,_0x1897e0,_0x34c238);if(_0x33488e&&_0x1897e0===_0x209a53[_0xf9edc8(0xd9)]){const _0x50d570=_0x33488e[_0xf9edc8(0xfe)](),_0x700448=_0x1eaf02[_0xf9edc8(0x165)](_0x50d570);if(_0x700448){const _0x43f636=_0x700448==null?void 0x0:_0x700448[_0xf9edc8(0x2da)]();_0x1eaf02[_0xf9edc8(0xeb)](_0x33488e[_0xf9edc8(0xfe)](),_0x43f636===_0x215fad[_0xf9edc8(0x2c9)]?_0x2d4c9c[_0xf9edc8(0x119)]:_0x2d4c9c[_0xf9edc8(0x296)]);}const _0x553ed1=_0x1eaf02['getValueIndex'](),_0x3a05d=_0x1eaf02['getValuePosition'](),_0xbfb5b1=_0x1eaf02['getFieldCountByArea'](_0x209a53[_0xf9edc8(0xd9)]);if(_0x553ed1===-0x1&&_0xbfb5b1>0x1){const _0x5bcb2b=_0x3a05d===_0x542f1a['None']?_0x542f1a[_0xf9edc8(0x2a7)]:_0x3a05d,_0x423662=_0x5bcb2b===_0x542f1a[_0xf9edc8(0x1ec)]?_0x209a53[_0xf9edc8(0x1ec)]:_0x209a53['Column'];_0x1eaf02[_0xf9edc8(0x1e6)](_0x5bcb2b,_0x1eaf02[_0xf9edc8(0x21b)](_0x423662));}}else{if(_0x33488e&&(_0x1897e0===_0x209a53[_0xf9edc8(0x1ec)]||_0x1897e0===_0x209a53['Column'])){const _0x544c6f=_0x33488e[_0xf9edc8(0xfe)](),_0x389717=_0x1eaf02['getDataFieldByTableId'](_0x544c6f);if(_0x389717&&(_0x389717==null?void 0x0:_0x389717[_0xf9edc8(0x2da)]())===_0x215fad[_0xf9edc8(0x1df)]){const _0x529585=_0x389717['getformat']();if(_0x529585&&_0x1eaf02[_0xf9edc8(0x180)](_0x33488e['getId'](),_0x529585),!_0x5567bb[_0xf9edc8(0x106)]()[_0xf9edc8(0x19d)](_0x1cb9bb=>{const _0x3d63f8=_0xf9edc8,_0xe3660a=_0x5567bb[_0x3d63f8(0x2f1)](_0x1cb9bb);return _0x14b378(_0xe3660a)?_0xe3660a[_0x3d63f8(0x2d3)]()['originalFieldId']===_0x4e9d2f:!0x1;})){const _0x1b37e3=_0x36382d[_0xf9edc8(0x29d)](),_0x125299=Yi(_0x389717[_0xf9edc8(0xfa)],_0x389717[_0xf9edc8(0x303)]),_0x7e0cb=_0x389717[_0xf9edc8(0x1b5)]()+_0xf9edc8(0x2a9)+Go(this[_0xf9edc8(0x2a8)],_0x125299),_0x2635ce=new _0x165595(_0x1b37e3,_0x7e0cb,_0x5f23b3(0x3),_0x389717['getId'](),_0x125299);_0x36382d[_0xf9edc8(0x134)](_0x2635ce),_0x5567bb[_0xf9edc8(0xa3)](_0x1b37e3,_0x7e0cb),_0x1eaf02[_0xf9edc8(0x158)](_0x1b37e3,_0x1897e0,(_0x34c238!=null?_0x34c238:0x0)+0x1),_0x542120=_0x2635ce;}}}}const _0xd82033=_0x1eaf02['isEmpty'](),_0x2681f9=_0x1eaf02[_0xf9edc8(0x133)]()[_0xf9edc8(0x166)]();let _0xec0388;if(_0x542120){_0xec0388=_0x542120[_0xf9edc8(0x166)]();const _0x1424c0=_0x542120['getId']();_0x5567bb[_0xf9edc8(0x310)](_0x1424c0);let _0x575553=!0x0;for(const _0x1fb065 in _0x36382d[_0xf9edc8(0x263)])if(_0x36382d[_0xf9edc8(0x263)][_0x1fb065][_0xf9edc8(0x106)]()[_0xf9edc8(0x195)](_0x1424c0)){_0x575553=!0x1;break;}_0x575553&&_0x36382d[_0xf9edc8(0xfd)](_0x1424c0);}const _0x485683=_0x1eaf02[_0xf9edc8(0x233)]();_0x2f93b7['addPivotField']={'view':_0x2681f9,'changesets':_0x485683,'isEmpty':_0xd82033,'pivotTableConfig':_0x5a5068,'shouldBeAddedGroupJSON':_0xec0388};}break;case j[_0xf9edc8(0x19a)]:{const _0x680d09=_0xcabcd6['params'][_0xf9edc8(0xe7)];if(!_0x680d09)return;const _0x1c2a87=_0x680d09['sourceRangeInfo'],_0x50220c=_0x680d09[_0xf9edc8(0x197)],{collection:_0x5c04dc}=this[_0xf9edc8(0xe8)][_0xf9edc8(0x298)]({'unitId':_0x1c2a87[_0xf9edc8(0x243)],'sheetName':_0x1c2a87['sheetName'],'subUnitId':_0x1c2a87[_0xf9edc8(0x17a)],'range':_0x1c2a87['range']}),_0x3bbc82=new _0x2d1deb(_0x5c04dc,void 0x0,_0x50220c),_0x10bb66=_0x3bbc82[_0xf9edc8(0x133)](),_0x26acbf=_0x3bbc82[_0xf9edc8(0x166)](),_0x4ec298=_0x5c04dc[_0xf9edc8(0x166)]();_0x2f93b7[_0xf9edc8(0xe7)]={'view':_0x10bb66,'fieldsConfig':_0x26acbf,'collectionConfig':_0x4ec298,'isEmpty':_0x3bbc82[_0xf9edc8(0x16b)]()};}break;case j[_0xf9edc8(0x118)]:{const _0x147830=_0xcabcd6['params'][_0xf9edc8(0x115)];if(!_0x147830)return;const {fieldId:_0x539a81,area:_0x28ce7a,index:_0x26310f}=_0x147830,_0x4960a4=this['_sheetsPivotDataSourceModel'][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x4960a4)return;const _0x4fe86e=this[_0xf9edc8(0xe8)]['getPivotTableInstance'](_0x4d8950);if(!_0x4fe86e)return;_0x4fe86e[_0xf9edc8(0x246)]();const {area:_0x9dbfce,index:_0x3ff53b}=_0x4fe86e[_0xf9edc8(0x2cc)](_0x539a81);if(_0x4fe86e['updateFieldPosition'](_0x539a81,_0x28ce7a,_0x26310f),_0x28ce7a===_0x209a53['Value']&&_0x4fe86e['getTableFieldById'](_0x539a81)[_0xf9edc8(0x1a9)]()===void 0x0){const _0x51bc4d=_0x4fe86e[_0xf9edc8(0x294)](_0x539a81);if(_0x51bc4d&&_0x51bc4d[_0xf9edc8(0x1a9)]()===void 0x0){const _0x5dde29=_0x4fe86e[_0xf9edc8(0x165)](_0x539a81);if(_0x5dde29){const _0x508011=_0x5dde29==null?void 0x0:_0x5dde29[_0xf9edc8(0x2da)]();_0x4fe86e[_0xf9edc8(0xeb)](_0x539a81,_0x508011===_0x215fad[_0xf9edc8(0x2c9)]?_0x2d4c9c[_0xf9edc8(0x119)]:_0x2d4c9c[_0xf9edc8(0x296)]);}}}const _0x29ebd7=_0x4fe86e[_0xf9edc8(0x10e)](),_0x318dd4=_0x4fe86e[_0xf9edc8(0x1ff)](),_0x43c876=_0x4fe86e[_0xf9edc8(0x21b)](_0x209a53[_0xf9edc8(0xd9)])>0x1;if(_0x43c876&&_0x9dbfce===_0x28ce7a&&(_0x28ce7a===_0x209a53[_0xf9edc8(0x1ec)]&&_0x29ebd7===_0x542f1a[_0xf9edc8(0x1ec)]||_0x28ce7a===_0x209a53[_0xf9edc8(0x2a7)]&&_0x29ebd7===_0x542f1a[_0xf9edc8(0x2a7)])){let _0x20570f=_0x318dd4;_0x3ff53b<=_0x318dd4&&_0x20570f--,_0x26310f<=_0x318dd4&&_0x20570f++,_0x4fe86e[_0xf9edc8(0x1e6)](_0x29ebd7,_0x20570f);}else _0x43c876&&(_0x9dbfce===_0x209a53['Row']&&_0x29ebd7===_0x542f1a['Row']||_0x9dbfce===_0x209a53['Column']&&_0x29ebd7===_0x542f1a['Column'])&&_0x318dd4>=_0x3ff53b&&_0x4fe86e[_0xf9edc8(0x1e6)](_0x29ebd7,_0x318dd4-0x1),_0x43c876&&(_0x28ce7a===_0x209a53['Row']&&_0x29ebd7===_0x542f1a[_0xf9edc8(0x1ec)]||_0x28ce7a===_0x209a53[_0xf9edc8(0x2a7)]&&_0x29ebd7===_0x542f1a[_0xf9edc8(0x2a7)])&&_0x318dd4>=_0x26310f&&_0x4fe86e['updateValuePosition'](_0x29ebd7,_0x318dd4+0x1);const _0x27b384=_0x4fe86e[_0xf9edc8(0x133)](),_0x5e9cda=_0x4fe86e[_0xf9edc8(0x16b)](),_0x20c1d5=_0x4fe86e[_0xf9edc8(0x233)]();_0x2f93b7[_0xf9edc8(0x115)]={'view':_0x27b384[_0xf9edc8(0x166)](),'changesets':_0x20c1d5,'isEmpty':_0x5e9cda,'pivotTableConfig':_0x4960a4};}break;case j['RemovePivotField']:{const _0x19f837=_0xcabcd6['params'][_0xf9edc8(0x159)];if(!_0x19f837)return;const _0x5b8a4d=_0x19f837['fieldIds'],_0x54b264=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x54b264)return!0x1;const _0x4d2361=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950);if(!_0x4d2361)return!0x1;_0x4d2361[_0xf9edc8(0x246)]();for(const _0x177fd8 of _0x5b8a4d){const {area:_0x5d84d7}=_0x4d2361[_0xf9edc8(0x2cc)](_0x177fd8);_0x5d84d7===_0x209a53[_0xf9edc8(0xd9)]&&_0x4d2361[_0xf9edc8(0xcb)](_0x177fd8),(_0x5d84d7===_0x209a53[_0xf9edc8(0x1ec)]||_0x5d84d7===_0x209a53[_0xf9edc8(0x2a7)])&&_0x4d2361['removeValueFilterInfo'](_0x177fd8),_0x4d2361[_0xf9edc8(0xec)](_0x177fd8);}const _0xf0c5b4=_0x4d2361[_0xf9edc8(0x16b)](),_0x1b5c52=_0x4d2361[_0xf9edc8(0x133)]()['toJSON'](),_0x2d405e=_0x4d2361['endCollectChangeset']();_0x2f93b7[_0xf9edc8(0x159)]={'changesets':_0x2d405e,'pivotTableConfig':_0x54b264,'isEmpty':_0xf0c5b4,'view':_0x1b5c52};}break;case j[_0xf9edc8(0x2c3)]:{const _0x433433=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0x107)];if(!_0x433433)return;const {tableFieldId:_0x2a5965,items:_0x23e92a,isAll:_0x5bedcb}=_0x433433,_0x52444c=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950),_0x4badb3=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x52444c||!_0x4badb3)return;_0x52444c[_0xf9edc8(0x246)](),_0x52444c['setLabelFilterInfo'](_0x2a5965,{'type':_0x2c2e76[_0xf9edc8(0x27b)],'list':_0x23e92a,'isAll':_0x5bedcb});const _0x2d24b2=_0x52444c['isEmpty'](),_0x38a2cf=_0x52444c['query']()['toJSON'](),_0x5b1ce5=_0x52444c[_0xf9edc8(0x233)]();_0x2f93b7[_0xf9edc8(0x107)]={'view':_0x38a2cf,'changesets':_0x5b1ce5,'isEmpty':_0x2d24b2,'pivotTableConfig':_0x4badb3};}break;case j[_0xf9edc8(0x28d)]:{const _0x2c5412=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0x2b2)];if(!_0x2c5412)return;const {tableFieldId:_0x589c3e,filterInfo:_0x1cec7b}=_0x2c5412,_0xf6be3=this['_sheetsPivotDataSourceModel'][_0xf9edc8(0x2e4)](_0x4d8950),_0x59be2d=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0xf6be3||!_0x59be2d)return;_0xf6be3[_0xf9edc8(0x246)](),_0xf6be3[_0xf9edc8(0x23f)](_0x589c3e,_0x1cec7b);const _0x157493=_0xf6be3[_0xf9edc8(0x16b)](),_0x4e0294=_0xf6be3[_0xf9edc8(0x133)]()[_0xf9edc8(0x166)](),_0x3f03f0=_0xf6be3[_0xf9edc8(0x233)]();_0x2f93b7['setValuePivotFilter']={'view':_0x4e0294,'changesets':_0x3f03f0,'isEmpty':_0x157493,'pivotTableConfig':_0x59be2d};}break;case j[_0xf9edc8(0x275)]:{const _0x5abe3c=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0x282)];if(!_0x5abe3c)return;const {tableFieldId:_0x50fb93,info:_0x5d0947}=_0x5abe3c,_0x367fcc=this[_0xf9edc8(0xe8)]['getPivotTableInstance'](_0x4d8950),_0x14cb0e=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x367fcc||!_0x14cb0e)return;_0x367fcc[_0xf9edc8(0x246)](),_0x367fcc[_0xf9edc8(0x23a)](_0x50fb93,_0x5d0947);const _0x34632e=_0x367fcc[_0xf9edc8(0x16b)](),_0x4f329a=_0x367fcc['query']()[_0xf9edc8(0x166)](),_0x161292=_0x367fcc['endCollectChangeset']();_0x2f93b7[_0xf9edc8(0x282)]={'view':_0x4f329a,'changesets':_0x161292,'isEmpty':_0x34632e,'pivotTableConfig':_0x14cb0e};}break;case j[_0xf9edc8(0x1d6)]:{const _0x280771=_0xcabcd6['params'][_0xf9edc8(0x2b9)];if(!_0x280771)return;const {tableFieldId:_0x467c2a,displayName:_0x1740b6,subtotalType:_0x48b025,format:_0x10710d}=_0x280771,_0x258a51=this['_sheetsPivotDataSourceModel'][_0xf9edc8(0x2e4)](_0x4d8950),_0x23f82c=this['_sheetsPivotDataSourceModel'][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x258a51||!_0x23f82c)return;_0x258a51[_0xf9edc8(0x246)](),_0x1740b6!==void 0x0&&_0x258a51['renameField'](_0x467c2a,_0x1740b6),_0x48b025!==void 0x0&&_0x258a51[_0xf9edc8(0xeb)](_0x467c2a,_0x48b025),_0x10710d!==void 0x0&&_0x258a51[_0xf9edc8(0x180)](_0x467c2a,_0x10710d);const _0x500cda=_0x258a51[_0xf9edc8(0x16b)](),_0x11202c=_0x258a51[_0xf9edc8(0x133)]()[_0xf9edc8(0x166)](),_0x5a8cb7=_0x258a51[_0xf9edc8(0x233)]();_0x2f93b7[_0xf9edc8(0x2b9)]={'changesets':_0x5a8cb7,'pivotTableConfig':_0x23f82c,'isEmpty':_0x500cda,'view':_0x11202c};}break;case j[_0xf9edc8(0x2a4)]:{const _0x435697=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0x212)];if(!_0x435697)return;const {dataRangeInfo:_0x55d7d5,unitId:_0x40fd9a,subUnitId:_0x4875e3}=_0x435697,_0x103a93=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x40fd9a,_0x4875e3,_0x4d8950),_0x17ed36=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x40fd9a,_0x4d8950)||!_0x17ed36||!_0x103a93)return;const _0x18bf87=this[_0xf9edc8(0xe8)]['getUpdateRangeDeleteIds'](_0x40fd9a,_0x4d8950,_0x55d7d5),_0x8e3ef1=this[_0xf9edc8(0xe8)][_0xf9edc8(0x144)](_0x40fd9a,_0x4d8950)[_0xf9edc8(0x166)](),{collection:_0x24a0d8}=this[_0xf9edc8(0xe8)]['createCollectionWithDataRange']({'unitId':_0x55d7d5[_0xf9edc8(0x243)],'sheetName':_0x55d7d5[_0xf9edc8(0x314)],'subUnitId':_0x55d7d5['subUnitId'],'range':_0x55d7d5[_0xf9edc8(0x12d)]}),_0x165dd6=_0x24a0d8[_0xf9edc8(0x166)]();_0x17ed36['startCollectChangeset']();const _0x594d8f=this[_0xf9edc8(0xe8)][_0xf9edc8(0x101)](_0x40fd9a)['getAutoDisplayNameFunction']()||_0x3728f5;_0x17ed36[_0xf9edc8(0x2fd)](_0x38bee4=>{const _0x1c1937=_0xf9edc8,_0x4f963c=_0x38bee4[_0x1c1937(0x1cb)]();if(!_0x24a0d8[_0x1c1937(0x150)](_0x4f963c)){const _0x362bd2=_0x24a0d8[_0x1c1937(0x221)](_0x38bee4['getSourceName']());if(_0x362bd2){_0x17ed36[_0x1c1937(0x175)](_0x38bee4['getId'](),_0x362bd2[_0x1c1937(0x1b5)](),_0x362bd2[_0x1c1937(0xfe)]());const {area:_0x41f95b}=_0x17ed36['getFieldPositionInfoById'](_0x38bee4[_0x1c1937(0xfe)]());let _0x155507=_0x38bee4[_0x1c1937(0x25b)]();const _0x580101=_0x38bee4['getDisplayName']();if(_0x41f95b===_0x209a53[_0x1c1937(0xd9)]){const _0x59a306=_0x38bee4['getSubtotal']();_0x155507=_0x594d8f(_0x362bd2[_0x1c1937(0x1b5)](),_0x59a306);}_0x580101!==_0x155507&&_0x17ed36['renameField'](_0x38bee4['getId'](),_0x155507);}else _0x17ed36[_0x1c1937(0xec)](_0x38bee4['getId']());}});const _0x510214=_0x17ed36['isEmpty'](),_0x23059c=_0x17ed36['query']()[_0xf9edc8(0x166)](),_0x3b974b=_0x17ed36[_0xf9edc8(0x233)]();_0x2f93b7['updatePivotSource']={'view':_0x23059c,'changesets':_0x3b974b,'isEmpty':_0x510214,'pivotTableConfig':_0x103a93,'collectionConfig':_0x165dd6,'oldCollectionConfig':_0x8e3ef1,'deleteIds':_0x18bf87};}break;case j[_0xf9edc8(0x15f)]:{const _0x2638f0=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0x1e6)];if(!_0x2638f0)return;const {position:_0x56ca46,index:_0x3bacee}=_0x2638f0,_0x312b27=this['_sheetsPivotDataSourceModel'][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x312b27)return!0x1;const _0x531ba4=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950);if(!_0x531ba4)return!0x1;_0x531ba4[_0xf9edc8(0x246)](),_0x531ba4['updateValuePosition'](_0x56ca46,_0x3bacee);const _0x5d4f2a=_0x531ba4[_0xf9edc8(0x16b)](),_0x56bbc6=_0x531ba4[_0xf9edc8(0x133)]()[_0xf9edc8(0x166)](),_0xeca622=_0x531ba4[_0xf9edc8(0x233)]();_0x2f93b7['updateValuePosition']={'changesets':_0xeca622,'pivotTableConfig':_0x312b27,'isEmpty':_0x5d4f2a,'view':_0x56bbc6};}break;case j[_0xf9edc8(0x2f9)]:{const _0x7b8077=_0xcabcd6[_0xf9edc8(0x205)]['setPivotCollapse'];if(!_0x7b8077)return;const {tableFieldId:_0xfd24b5,collapse:_0x4fe15b,item:_0x55a41f}=_0x7b8077,_0x9900e1=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950),_0x32cd20=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x9900e1||!_0x32cd20)return;_0x9900e1[_0xf9edc8(0x246)](),_0x9900e1[_0xf9edc8(0x25a)](_0xfd24b5,_0x4fe15b,_0x55a41f);const _0x4ea08a=_0x9900e1[_0xf9edc8(0x16b)](),_0xc2474a=_0x9900e1[_0xf9edc8(0x133)]()[_0xf9edc8(0x166)](),_0x1fe239=_0x9900e1[_0xf9edc8(0x233)]();_0x2f93b7[_0xf9edc8(0x1f2)]={'view':_0xc2474a,'isEmpty':_0x4ea08a,'pivotTableConfig':_0x32cd20,'changesets':_0x1fe239};}break;case j[_0xf9edc8(0x2d5)]:{const _0x3f3cfd=_0xcabcd6['params'][_0xf9edc8(0x27a)];if(!_0x3f3cfd)return;const {pivotTableConfig:_0x29a83f}=_0x3f3cfd,_0xf359b=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950),_0x3422a8=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0xf359b||!_0x3422a8)return;_0xf359b[_0xf9edc8(0x246)](),qi(_0xf359b,_0x29a83f);const _0x334c4d=_0xf359b['isEmpty'](),_0x221041=_0xf359b['query']()[_0xf9edc8(0x166)](),_0x23be64=_0xf359b[_0xf9edc8(0x233)]();_0x2f93b7[_0xf9edc8(0x27a)]={'view':_0x221041,'isEmpty':_0x334c4d,'pivotTableConfig':{..._0x3422a8,'fieldsConfig':_0xf359b[_0xf9edc8(0x166)]()},'changesets':_0x23be64};}break;case j[_0xf9edc8(0x28a)]:{const _0x10c961=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0xd6)];if(!_0x10c961)return;const _0x136932=this[_0xf9edc8(0xe8)][_0xf9edc8(0x2e4)](_0x4d8950),_0x59c9a1=this[_0xf9edc8(0xe8)][_0xf9edc8(0x1dc)](_0x2f5fc9,_0x2d3bf6,_0x4d8950);if(!_0x136932||!_0x59c9a1)return;_0x136932[_0xf9edc8(0x246)](),$i(_0x136932,_0x10c961['resetArea']);const _0x5d0f5c=_0x136932[_0xf9edc8(0x133)]()[_0xf9edc8(0x166)](),_0x5c768a=_0x136932[_0xf9edc8(0x233)]();_0x2f93b7[_0xf9edc8(0xd6)]={'view':_0x5d0f5c,'isEmpty':!0x0,'pivotTableConfig':{..._0x59c9a1,'fieldsConfig':_0x136932[_0xf9edc8(0x166)]()},'changesets':_0x5c768a};}break;case j[_0xf9edc8(0x125)]:{const _0x54fe7c=_0xcabcd6[_0xf9edc8(0x205)][_0xf9edc8(0x201)];if(!_0x54fe7c)return;const _0x1468db=_0x54fe7c[_0xf9edc8(0x21e)],_0x172d99=_0x54fe7c[_0xf9edc8(0x197)],{collection:_0x3e166a}=this[_0xf9edc8(0xe8)][_0xf9edc8(0x298)]({'unitId':_0x1468db[_0xf9edc8(0x243)],'sheetName':_0x1468db[_0xf9edc8(0x314)],'subUnitId':_0x1468db[_0xf9edc8(0x17a)],'range':_0x1468db[_0xf9edc8(0x12d)]}),_0x26af36=new _0x2d1deb(_0x3e166a,void 0x0,_0x172d99),_0x376693=_0x3e166a['getFieldIds'](),{rows:_0x369dc9,columns:_0x224eaf,filters:_0x2a1919,values:_0x3c883a}=_0x54fe7c[_0xf9edc8(0x191)];_0x26af36[_0xf9edc8(0x246)]();for(const {field:_0x529c93,selectedItems:_0x1cd578}of _0x369dc9||[]){const _0x5c367c=_0x376693[_0x529c93];if(_0x5c367c){const _0x34a2fd=_0x26af36[_0xf9edc8(0x158)](_0x5c367c,_0x209a53[_0xf9edc8(0x1ec)]);_0x1cd578&&_0x34a2fd&&_0x26af36[_0xf9edc8(0x12a)](_0x34a2fd[_0xf9edc8(0xfe)](),{'type':_0x2c2e76[_0xf9edc8(0x27b)],'list':_0x1cd578,'isAll':!0x1});}}for(const {field:_0x510997,selectedItems:_0x31b2e0}of _0x224eaf||[]){const _0x2e71ff=_0x376693[_0x510997];if(_0x2e71ff){const _0xabf491=_0x26af36['addFieldWithSourceId'](_0x2e71ff,_0x209a53[_0xf9edc8(0x2a7)]);_0x31b2e0&&_0xabf491&&_0x26af36[_0xf9edc8(0x12a)](_0xabf491[_0xf9edc8(0xfe)](),{'type':_0x2c2e76[_0xf9edc8(0x27b)],'list':_0x31b2e0,'isAll':!0x1});}}for(const {field:_0x156e0a,selectedItems:_0x4fe039}of _0x2a1919||[]){const _0x388c23=_0x376693[_0x156e0a];if(_0x388c23){const _0x4784ef=_0x26af36[_0xf9edc8(0x158)](_0x388c23,_0x209a53['Filter']);_0x4fe039&&_0x4784ef&&_0x26af36[_0xf9edc8(0x12a)](_0x4784ef[_0xf9edc8(0xfe)](),{'type':_0x2c2e76[_0xf9edc8(0x27b)],'list':_0x4fe039,'isAll':!0x1});}}for(const {field:_0xf942e7,subTotalType:_0x3617d0,formatString:_0x4ed07f}of _0x3c883a||[]){const _0x14eb5c=_0x3e166a['getFieldById'](_0x376693[_0xf942e7]);if(!_0x14eb5c)continue;const _0x41aa6c=_0x376693[_0xf942e7];if(_0x41aa6c){const _0x4baaba=_0x26af36[_0xf9edc8(0x158)](_0x41aa6c,_0x209a53[_0xf9edc8(0xd9)]);if(_0x4baaba){if(_0x3617d0!==void 0x0){_0x26af36[_0xf9edc8(0xeb)](_0x4baaba[_0xf9edc8(0xfe)](),_0x3617d0);const _0x319cc0=this['_sheetsPivotDataSourceModel'][_0xf9edc8(0x101)](_0x1468db[_0xf9edc8(0x243)])[_0xf9edc8(0x225)]()||_0x3728f5,_0x5e91f3=_0x3e166a[_0xf9edc8(0x123)](_0x41aa6c),_0x5b0612=_0x319cc0(_0x5e91f3,_0x3617d0);_0x26af36[_0xf9edc8(0x2a1)](_0x4baaba['getId'](),_0x5b0612);}else{if(_0x14eb5c){const _0x65a0ab=_0x14eb5c==null?void 0x0:_0x14eb5c['getFieldDataType']();_0x26af36['setSubtotalType'](_0x4baaba[_0xf9edc8(0xfe)](),_0x65a0ab===_0x215fad['number']?_0x2d4c9c[_0xf9edc8(0x119)]:_0x2d4c9c[_0xf9edc8(0x296)]);}}_0x4ed07f&&_0x26af36['setFieldFormat'](_0x4baaba[_0xf9edc8(0xfe)](),_0x4ed07f);}}}const _0x3ea708=_0x26af36[_0xf9edc8(0x133)](),_0x102149=_0x26af36[_0xf9edc8(0x166)](),_0x149335=_0x26af36[_0xf9edc8(0x16b)](),_0x235031=_0x26af36[_0xf9edc8(0x233)](),_0x1f3f1a=_0x3e166a[_0xf9edc8(0x166)]();_0x2f93b7['addPivotTableWithConfig']={'view':_0x3ea708,'fieldsConfig':_0x102149,'collectionConfig':_0x1f3f1a,'isEmpty':_0x149335,'changesets':_0x235031};}break;case j[_0xf9edc8(0x206)]:{const _0x4b0bd8=Oi(this[_0xf9edc8(0x2a8)],_0xcabcd6);if(!_0x4b0bd8)return;const {range:_0x49e9c8,sourceSubUnitId:_0x46df19,sourceUnitId:_0x2332b6,formatMap:_0x471547,indexes:_0x558c46}=_0x4b0bd8;_0x2f93b7['drillDown']={'range':_0x49e9c8,'sourceSubUnitId':_0x46df19,'sourceUnitId':_0x2332b6,'formatMap':_0x471547,'indexes':_0x558c46};}break;}this[_0xf9edc8(0x2e1)]['executeCommand'](lo['id'],{'version':_0xcabcd6[_0xf9edc8(0xc2)],'result':_0x2f93b7},{'onlyLocal':!0x0});}));}[_0x56d0e0(0x2b7)](){const _0x4d22b1=_0x56d0e0;this['disposeWithMe'](this[_0x4d22b1(0x2e1)]['onCommandExecuted'](_0x4236cf=>{const _0x3d5b5a=_0x4d22b1;if(_0x4236cf['id']!==uo['id'])return;const _0x127918=_0x4236cf[_0x3d5b5a(0x205)];return this[_0x3d5b5a(0xe8)][_0x3d5b5a(0x1f1)](_0x127918[_0x3d5b5a(0x96)]),!0x0;}));}[_0x56d0e0(0x97)](){const _0x21ea08=_0x56d0e0;this[_0x21ea08(0xe8)][_0x21ea08(0xce)]['subscribe'](_0x25fc04=>{const _0x200f2a=_0x21ea08;switch(_0x25fc04['type']){case ke[_0x200f2a(0x307)]:_0x25fc04['dataRangeInfo']&&_0x25fc04[_0x200f2a(0x2fa)]&&this[_0x200f2a(0x151)](_0x25fc04[_0x200f2a(0x10a)],_0x25fc04[_0x200f2a(0x2c2)],_0x25fc04[_0x200f2a(0x2fa)]);break;case ke[_0x200f2a(0x2bd)]:{const {unitId:_0x2afda5,subUnitId:_0x3dd520,token:_0x42f0cb}=_0x25fc04;_0x2afda5&&_0x3dd520&&_0x42f0cb&&this[_0x200f2a(0x14c)](_0x2afda5,_0x3dd520,_0x42f0cb);}break;case ke[_0x200f2a(0xea)]:{const {token:_0x2829fc,oldSourceRangeInfo:_0x1f13e1,dataRangeInfo:_0x6599f7,targetCellInfo:_0x1e19cb}=_0x25fc04,{unitId:_0x17246b,subUnitId:_0x834985}=_0x1f13e1||{};_0x17246b&&_0x834985&&_0x2829fc&&this[_0x200f2a(0x14c)](_0x17246b,_0x834985,_0x2829fc),_0x6599f7&&_0x1e19cb&&this[_0x200f2a(0x151)](_0x2829fc,_0x6599f7,_0x1e19cb);}break;}});}[_0x56d0e0(0x189)](){const _0x25f6bf=_0x56d0e0;this[_0x25f6bf(0xe8)][_0x25f6bf(0x141)][_0x25f6bf(0xac)](_0x29b8f9=>{const _0x25accf=_0x25f6bf;Object[_0x25accf(0x271)](_0x29b8f9)[_0x25accf(0xd2)](_0x12bbf0=>{const _0x4201af=_0x25accf,_0x2498af=this[_0x4201af(0xe8)][_0x4201af(0x108)](_0x12bbf0);if(_0x2498af){const _0x3c1890=this['_sheetsPivotDataSourceModel'][_0x4201af(0x1dc)](_0x2498af==null?void 0x0:_0x2498af[_0x4201af(0x243)],_0x2498af==null?void 0x0:_0x2498af['subUnitId'],_0x12bbf0);_0x3c1890&&(this[_0x4201af(0x151)](_0x12bbf0,_0x3c1890[_0x4201af(0x21e)],_0x3c1890['targetCellInfo']),this[_0x4201af(0x17f)]([{'unitId':_0x2498af['unitId'],'subUnitId':_0x2498af['subUnitId'],'token':_0x12bbf0}]));}});});}['_subjectViewChange'](){const _0x2cd8da=_0x56d0e0;this[_0x2cd8da(0xe8)][_0x2cd8da(0x237)][_0x2cd8da(0xac)](_0x2d405d=>{const _0x2ac569=_0x2cd8da,{unitId:_0x4ea922,subUnitId:_0x2471a6,pivotTableId:_0x311eed}=_0x2d405d;_0x4ea922&&_0x2471a6&&_0x311eed&&this[_0x2ac569(0x17f)]([{'unitId':_0x4ea922,'subUnitId':_0x2471a6,'token':_0x311eed}]);});}[_0x56d0e0(0x17f)](_0x3f3420){const _0x432e6f=_0x56d0e0,_0x5de043={};_0x3f3420[_0x432e6f(0xd2)](_0xbfa0b7=>{var _0x677b70,_0x48e33b;const {unitId:_0xaf7e03,subUnitId:_0x5bd2e4,token:_0x4ca491}=_0xbfa0b7;_0x5de043[_0xaf7e03]=(_0x677b70=_0x5de043[_0xaf7e03])!=null?_0x677b70:{},_0x5de043[_0xaf7e03][_0x5bd2e4]=(_0x48e33b=_0x5de043[_0xaf7e03][_0x5bd2e4])!=null?_0x48e33b:{},_0x5de043[_0xaf7e03][_0x5bd2e4][_0x4ca491]=!0x0;}),this[_0x432e6f(0x2e1)][_0x432e6f(0x223)](xt['id'],_0x5de043);}['removeSourceRangeChange'](_0x2cc661,_0x28070b,_0x2dee7b){const _0x32fbc7=_0x56d0e0;this[_0x32fbc7(0xef)][_0x32fbc7(0x2f5)](_0x2cc661,_0x28070b,[_0x2dee7b]);}['handleSourceRangeChange'](_0x896745,_0x6620c,_0xb8a033){const _0x5ba65a=_0x56d0e0,{unitId:_0x24c11a,subUnitId:_0x2cb0d5}=_0x6620c;this[_0x5ba65a(0xef)]['has'](_0xb8a033['unitId'],_0xb8a033[_0x5ba65a(0x17a)],_0x896745)&&this[_0x5ba65a(0x14c)](_0x24c11a,_0x2cb0d5,_0x896745);const _0x4543e1={'sheetId':_0x2cb0d5,..._0x6620c};this['_featureCalculationManagerService'][_0x5ba65a(0x29b)](_0xb8a033[_0x5ba65a(0x243)],_0xb8a033['subUnitId'],_0x896745,{'unitId':_0xb8a033[_0x5ba65a(0x243)],'subUnitId':_0xb8a033[_0x5ba65a(0x17a)],'dependencyRanges':[_0x4543e1],'getDirtyData':(_0x3b5145,_0x5213ea)=>{const _0x1745d4=_0x5ba65a,_0x198bf9=this[_0x1745d4(0xe8)],_0x1fabf5=_0x198bf9[_0x1745d4(0x108)](_0x896745);if(!_0x1fabf5)return Us();const {unitId:_0x196f29,subUnitId:_0x2bb32a}=_0x1fabf5,_0x4977ba=Es(_0x3b5145,_0x5213ea,_0x6620c);if(_0x4977ba[_0x1745d4(0x2a0)]>0x0){const _0x569185=_0x198bf9[_0x1745d4(0x144)](_0x24c11a,_0x896745),_0x2e7255=_0x569185[_0x1745d4(0x106)](),_0x30f8b3=this[_0x1745d4(0x283)](_0x6620c['unitId'],_0x6620c[_0x1745d4(0x17a)],_0x5213ea),_0x425db2={},_0x331834=this['_sheetsPivotDataSourceModel'][_0x1745d4(0x101)](_0x196f29)['getAutoDisplayNameFunction']()||_0x3728f5,_0x45ea5d=[];for(const _0x18ca84 of _0x4977ba){const _0x5d01bb=_0x18ca84-(_0x6620c[_0x1745d4(0x12d)][_0x1745d4(0x136)]||0x0),_0x15f469=_0x2e7255[_0x5d01bb];_0x45ea5d[_0x1745d4(0x222)](_0x15f469),_0x425db2[_0x15f469]=_0x569185[_0x1745d4(0x2f1)](_0x15f469)[_0x1745d4(0x1b5)](),_0x198bf9[_0x1745d4(0x101)](_0x24c11a)[_0x1745d4(0x1f8)](_0x15f469,_0x6620c,_0x5d01bb,_0x30f8b3);}_0x569185[_0x1745d4(0x1bc)](_0x45ea5d)[_0x1745d4(0xd2)](_0x32f8cf=>{const _0x1f0f79=_0x1745d4,[_0x40f11f,_0x4266f5]=_0x32f8cf,_0x102454=_0x569185[_0x1f0f79(0x2f1)](_0x40f11f),_0x38efec=_0x569185[_0x1f0f79(0x2f1)](_0x4266f5);_0x102454&&_0x38efec&&_0x102454[_0x1f0f79(0x2ea)](_0x38efec);}),_0x569185[_0x1745d4(0x1c1)]();const _0x2cbb68=_0x198bf9[_0x1745d4(0x2e4)](_0x896745);if(_0x2cbb68){Vs(_0x2cbb68,_0x425db2,_0x331834),_0x2cbb68[_0x1745d4(0x1bb)](!0x0);const _0x5c0f9d=_0x2cbb68[_0x1745d4(0x133)](),_0x158249=_0x198bf9[_0x1745d4(0x1dc)](_0x196f29,_0x2bb32a,_0x896745),_0x41eaf9=_0x198bf9['getDataFieldManager'](_0x24c11a)['toJSON']();_0x198bf9[_0x1745d4(0x160)](_0x196f29,_0x2bb32a,B[_0x1745d4(0x24d)],_0x896745,_0x5c0f9d,_0x158249,_0x41eaf9,!0x0);}}return this[_0x1745d4(0x29f)](_0x196f29,_0x2bb32a,_0x896745);}});}['getMatrixFromRunTimeData'](_0x4066cb,_0x3a7057,_0x433ecf){var _0x1694df,_0x557db5;const {arrayFormulaCellData:_0x308885,unitData:_0x2d1643}=_0x433ecf,_0x1d9780=(_0x1694df=_0x308885==null?void 0x0:_0x308885[_0x4066cb])==null?void 0x0:_0x1694df[_0x3a7057],_0x4d78b2=(_0x557db5=_0x2d1643==null?void 0x0:_0x2d1643[_0x4066cb])==null?void 0x0:_0x557db5[_0x3a7057];return{'arrayFormulaCellDataMatrix':_0x1d9780,'unitDataMatrix':_0x4d78b2};}[_0x56d0e0(0x29f)](_0x1106f8,_0x1b289c,_0x118b14){const _0x3c6952=_0x56d0e0,_0x15f223=this[_0x3c6952(0xe8)][_0x3c6952(0xc0)](_0x1106f8,_0x1b289c,_0x118b14),_0x598f6f=[],_0x2f7e0d=new _0x3ca4f2();if(_0x15f223){const {rangeCache:_0x3d0f21,matrix:_0x28b38a,oldRangeCache:_0x2cf3ad,oldMatrix:_0x6ceb08}=_0x15f223,_0x3c678c=Bt(_0x2cf3ad),_0x3adb21=Bt(_0x3d0f21);_0x598f6f[_0x3c6952(0x222)](..._0x3adb21,..._0x3c678c),_0x6ceb08&&_0x2cf3ad&&_0x3c678c[_0x3c6952(0xd2)](_0x503e04=>{const _0xa800d=_0x3c6952;for(let _0x4c79c8=_0x503e04['startRow'];_0x4c79c8<=_0x503e04[_0xa800d(0x103)];_0x4c79c8++)for(let _0x46b275=_0x503e04[_0xa800d(0x136)];_0x46b275<=_0x503e04['endColumn'];_0x46b275++)_0x2f7e0d[_0xa800d(0x297)](_0x4c79c8,_0x46b275);}),_0x28b38a&&_0x3adb21&&_0x3adb21[_0x3c6952(0xd2)](_0xb21c8a=>{const _0x3a9dc3=_0x3c6952;for(let _0x3dc9d9=_0xb21c8a[_0x3a9dc3(0x2db)];_0x3dc9d9<=_0xb21c8a['endRow'];_0x3dc9d9++)for(let _0x1e80d4=_0xb21c8a[_0x3a9dc3(0x136)];_0x1e80d4<=_0xb21c8a['endColumn'];_0x1e80d4++)_0x2f7e0d[_0x3a9dc3(0x1e2)](_0x3dc9d9,_0x1e80d4,_0x28b38a[_0x3a9dc3(0xe3)](_0x3dc9d9,_0x1e80d4));});}const _0x900655={};return _0x900655[_0x1106f8]={[_0x1b289c]:Os(_0x598f6f)},{'runtimeCellData':{[_0x1106f8]:{[_0x1b289c]:_0x2f7e0d}},'dirtyRanges':_0x900655};}[_0x56d0e0(0x2fe)](){}};ct=xs([at(0x0,_0x4baf86(q)),at(0x1,_0x4baf86(_0x54a085)),at(0x2,_0x4baf86(_0x20632e)),at(0x3,_0x4baf86(_0x39ab26)),at(0x4,_0x4baf86(_0x2d4021))],ct);var As=Object['getOwnPropertyDescriptor'],js=(_0x3d61d0,_0xaa3bcb,_0x56e725,_0x5d4e9a)=>{const _0x288ebd=_0x56d0e0;for(var _0x1d4cdc=_0x5d4e9a>0x1?void 0x0:_0x5d4e9a?As(_0xaa3bcb,_0x56e725):_0xaa3bcb,_0x335d09=_0x3d61d0[_0x288ebd(0x2a0)]-0x1,_0x16895b;_0x335d09>=0x0;_0x335d09--)(_0x16895b=_0x3d61d0[_0x335d09])&&(_0x1d4cdc=_0x16895b(_0x1d4cdc)||_0x1d4cdc);return _0x1d4cdc;},wt=(_0x52c35c,_0x388060)=>(_0x482c7c,_0xe296a8)=>_0x388060(_0x482c7c,_0xe296a8,_0x52c35c);let dt=class extends _0x5876c8{constructor(_0x516d4f,_0x42eb9b,_0x5ac136,_0x24015f){const _0x44eb75=_0x56d0e0;super(),x(this,'disposableCollection',new _0x2825bd()),(this[_0x44eb75(0x117)]=_0x516d4f,this['_sheetInterceptorService']=_0x42eb9b,this['_sheetsSelectionsService']=_0x5ac136,this[_0x44eb75(0x1db)]=_0x24015f,this[_0x44eb75(0x167)]());}[_0x56d0e0(0x167)](){const _0x931563=_0x56d0e0;this[_0x931563(0x21c)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x5a19ca=>{const _0x174198=_0x931563;if(_0x5a19ca['id']===_0x4b1e41['id']||_0x5a19ca['id']===_0x1bbd3d['id']){const _0x3a88f6=[],_0xc0db7d=[],_0xe7dce5=this[_0x174198(0xbc)]['getCurrentSelections']()[_0x174198(0x1a4)](_0x40022a=>_0x40022a[_0x174198(0x12d)]),_0x74ac38=_0x28fad5(this[_0x174198(0x117)]);if(!_0x74ac38)return{'redos':[],'undos':[]};const {unitId:_0x49d8d0,subUnitId:_0x273cfd}=_0x74ac38,_0x57ef8b={},_0x45d375=this[_0x174198(0x1db)]['getSubUnitPivotConfigs'](_0x49d8d0,_0x273cfd);if(_0x45d375!=null&&_0x45d375['size'])for(const [_0x93c05a,_0x193aba]of _0x45d375){const {unitId:_0x23a4e0,subUnitId:_0x106a5b,row:_0x35d6d9,col:_0x5a696e}=_0x193aba['targetCellInfo'];_0x23a4e0===_0x74ac38[_0x174198(0x243)]&&_0x106a5b===_0x74ac38['subUnitId']&&(_0x57ef8b[_0x35d6d9+'-'+_0x5a696e]=_0x93c05a);}return _0xe7dce5&&_0x74ac38&&_0xe7dce5[_0x174198(0xd2)](_0x3ae631=>{_0x4e9c51['foreach'](_0x3ae631,(_0x2d1bc7,_0x2d3c81)=>{const _0x830d72=_0x3ed0,_0x3f93a4=_0x2d1bc7+'-'+_0x2d3c81;if(_0x57ef8b[_0x3f93a4]){const _0x2de147=_0x57ef8b[_0x3f93a4];_0x3a88f6[_0x830d72(0x222)]({'id':Et['id'],'params':{'unitId':_0x49d8d0,'subUnitId':_0x273cfd,'pivotTableId':_0x2de147}});const _0x36fc9f=this[_0x830d72(0x1db)][_0x830d72(0x144)](_0x49d8d0,_0x2de147),_0x361838=this[_0x830d72(0x1db)][_0x830d72(0x1dc)](_0x49d8d0,_0x273cfd,_0x2de147);_0xc0db7d[_0x830d72(0x222)]({'id':Ct['id'],'params':{'unitId':_0x49d8d0,'subUnitId':_0x273cfd,'pivotTableId':_0x2de147,'pivotTableConfig':_0x361838,'collectionConfig':_0x36fc9f}});}});}),{'redos':_0x3a88f6,'undos':_0xc0db7d};}return{'redos':[],'undos':[]};}}));}};dt=js([wt(0x0,_0xcc1cef),wt(0x1,_0x4baf86(_0x566ca4)),wt(0x2,_0x4baf86(_0x1fb5a5)),wt(0x3,_0x4baf86(ve))],dt);var ks=Object[_0x56d0e0(0x1a1)],Ls=(_0x52b3ae,_0x2c64c6,_0x4688fd,_0x4ae6f3)=>{const _0x1fc705=_0x56d0e0;for(var _0x2f8493=_0x4ae6f3>0x1?void 0x0:_0x4ae6f3?ks(_0x2c64c6,_0x4688fd):_0x2c64c6,_0x2cb0e9=_0x52b3ae[_0x1fc705(0x2a0)]-0x1,_0x853edb;_0x2cb0e9>=0x0;_0x2cb0e9--)(_0x853edb=_0x52b3ae[_0x2cb0e9])&&(_0x2f8493=_0x853edb(_0x2f8493)||_0x2f8493);return _0x2f8493;},rt=(_0x1cf10d,_0x4989f8)=>(_0x19b5b9,_0x49bdbe)=>_0x4989f8(_0x19b5b9,_0x49bdbe,_0x1cf10d);let ut=class extends _0x5876c8{constructor(_0x3a39b8,_0x3b6314,_0x3edd67,_0x510ddd,_0x1fd662){const _0x19ddfe=_0x56d0e0;super(),this[_0x19ddfe(0x153)]=_0x3a39b8,this[_0x19ddfe(0x2a8)]=_0x3b6314,this[_0x19ddfe(0x117)]=_0x3edd67,this['_sheetsPivotTableConfigModel']=_0x510ddd,this[_0x19ddfe(0x300)]=_0x1fd662,this[_0x19ddfe(0x2ef)]();}[_0x56d0e0(0xdd)](_0x4557a9,_0x55cd61,_0x3dfa8a){const _0x4f8e99=_0x56d0e0,{pageView:_0x321471,cornerView:_0x45a473,rowView:_0x1947c0,colView:_0x42a42a,dataView:_0x295454}=_0x55cd61,_0xcd2e97=_0x4557a9;let _0x52b0bd;if(_0x3dfa8a)_0x52b0bd=[...Ai(_0xcd2e97)];else{const _0x1d24a4=ge(_0xcd2e97,_0x321471,!0x0),_0x347eb4=_0x321471['lastRow']>=0x0?_0x321471[_0x4f8e99(0x245)]+0x1:0x0,_0x524b3c=_0x45a473[_0x4f8e99(0x142)],_0x2ba9db=_0x45a473[_0x4f8e99(0x1b3)],_0xd9a54d=_0x1d24a4[_0x4f8e99(0x2a0)]>0x0?It:0x0,_0x4556d5=ge({'row':_0xcd2e97['row']+_0x347eb4+_0xd9a54d,'col':_0xcd2e97[_0x4f8e99(0x1c4)]},_0x45a473,!0x1,!0x1),_0x299eea=ge({'row':_0xcd2e97[_0x4f8e99(0x155)]+_0x347eb4+_0xd9a54d+_0x524b3c,'col':_0xcd2e97['col']},_0x1947c0,!0x1,!0x0),_0x45da0e=ge({'row':_0xcd2e97[_0x4f8e99(0x155)]+_0x347eb4+_0xd9a54d,'col':_0xcd2e97[_0x4f8e99(0x1c4)]+_0x2ba9db},_0x42a42a,!0x1,!0x0),_0x25ca39=ge({'row':_0xcd2e97[_0x4f8e99(0x155)]+_0x347eb4+_0xd9a54d+_0x524b3c,'col':_0xcd2e97[_0x4f8e99(0x1c4)]+_0x2ba9db},_0x295454,!0x1,!0x0);_0x52b0bd=[..._0x1d24a4,..._0x4556d5,..._0x299eea,..._0x45da0e,..._0x25ca39];}return _0x52b0bd;}[_0x56d0e0(0x2ef)](){const _0x627e18=_0x56d0e0;this[_0x627e18(0x21c)](this[_0x627e18(0x300)][_0x627e18(0xc7)]['intercept'](this[_0x627e18(0x300)][_0x627e18(0xc7)][_0x627e18(0x279)]()[_0x627e18(0x2a6)],{'handler':(_0x5a22f6,_0x307052)=>{const _0x50edf6=_0x627e18,{cellInfo:_0x5c23af,view:_0x3b22e5,isEmpty:_0x44ba6f}=_0x307052,_0x3b02cd=_0x5c23af,{unitId:_0x1b9212,subUnitId:_0x253be5}=_0x3b02cd,_0x4a1ac3=this[_0x50edf6(0xdd)](_0x5c23af,_0x3b22e5,_0x44ba6f),_0x1e9ca2=this['_sheetInterceptorService'][_0x50edf6(0x1d5)]({'unitId':_0x1b9212,'subUnitId':_0x253be5,'ranges':_0x4a1ac3}),_0x3478c5=Wo(this[_0x50edf6(0x2a8)],_0x1b9212,_0x253be5,_0x4a1ac3);_0x3478c5[_0x50edf6(0xc8)]&&(_0x1e9ca2[_0x50edf6(0x2b8)][_0x50edf6(0x222)](_0x3478c5[_0x50edf6(0x1b4)]),_0x1e9ca2[_0x50edf6(0x285)][_0x50edf6(0x222)](_0x3478c5[_0x50edf6(0x26b)]));const _0x1c9d24=this[_0x50edf6(0x112)](_0x3b22e5,_0x5c23af);return _0x1e9ca2['redos']['push'](..._0x1c9d24[_0x50edf6(0x2b8)]),_0x1e9ca2[_0x50edf6(0x285)][_0x50edf6(0x222)](..._0x1c9d24['undos']),{'redos':_0x1e9ca2[_0x50edf6(0x2b8)],'undos':_0x1e9ca2[_0x50edf6(0x285)]};}}));}[_0x56d0e0(0x112)](_0x467fcc,_0x254306){const _0x26af7b=_0x56d0e0,{col:_0x5b6a2b,unitId:_0x3a2185,subUnitId:_0x25d1e3}=_0x254306,_0x1c2770=[],_0x4c6b50=[],_0x301a2c=_0x28fad5(this[_0x26af7b(0x117)],{'unitId':_0x3a2185,'subUnitId':_0x25d1e3});if(!_0x254306||!_0x467fcc||!_0x301a2c)return{'undos':_0x4c6b50,'redos':_0x1c2770};const _0x3d2d31=this[_0x26af7b(0x1db)][_0x26af7b(0x1f0)](),{colView:_0x232dbb,dataView:_0xd54637,cornerView:_0x13459b,rowView:_0x3dcf37,formatMap:_0x291d16}=_0x467fcc,_0x245bb0=Po(_0x232dbb,_0x3d2d31,!0x0,_0x291d16),_0x476046=Po(_0x3dcf37,_0x3d2d31,!0x1,_0x291d16),_0x35d522=Li(_0xd54637),_0xf516dd=Bi(_0x13459b),{worksheet:_0x262476}=_0x301a2c;if(typeof window<'u'&&window['document']){const _0x19a96a=_0x37e192({...fe[_0x26af7b(0x1e7)]}),_0x584638=_0x297f7c[_0x26af7b(0x2d1)](_0x245bb0,_0x19a96a)[_0x26af7b(0x16e)]+0x10,_0x3a9253=_0x297f7c[_0x26af7b(0x2d1)](_0x35d522,_0x19a96a)[_0x26af7b(0x16e)],_0x50a879=Math[_0x26af7b(0x2e3)](Math[_0x26af7b(0x276)](_0x584638,_0x3a9253))+0x10,_0x402190=Math['floor'](_0x297f7c[_0x26af7b(0x2d1)](_0x476046,_0x19a96a)[_0x26af7b(0x16e)]),_0x53a89c=Math['floor'](_0x297f7c[_0x26af7b(0x2d1)](_0xf516dd,_0x19a96a)[_0x26af7b(0x16e)]),_0x56b90c=Math[_0x26af7b(0x276)](_0x402190,_0x53a89c,0x28)+0xc,_0x1f1b95=_0x232dbb[_0x26af7b(0x1b3)]+_0x13459b[_0x26af7b(0x1b3)],_0x152f3e={},_0x2a60b1={};for(let _0x2305c1=_0x5b6a2b;_0x2305c1<_0x5b6a2b+_0x1f1b95;_0x2305c1++){const _0x3a3f54=_0x262476[_0x26af7b(0x2aa)](_0x2305c1);_0x152f3e[_0x2305c1]=_0x3a3f54,_0x2305c1-_0x5b6a2b<_0x13459b[_0x26af7b(0x1b3)]?_0x2a60b1[_0x2305c1-_0x5b6a2b]=_0x56b90c:_0x2a60b1[_0x2305c1-_0x5b6a2b]=_0x50a879;}_0x1c2770['push']({'id':_0x5cd116['id'],'params':{'subUnitId':_0x25d1e3,'unitId':_0x3a2185,'ranges':[{'startColumn':_0x5b6a2b,'endColumn':_0x5b6a2b+_0x1f1b95-0x1,'startRow':0x0,'endRow':_0x262476[_0x26af7b(0x17b)]()-0x1}],'colWidth':_0x2a60b1}}),_0x4c6b50[_0x26af7b(0x222)]({'id':_0x5cd116['id'],'params':{'subUnitId':_0x25d1e3,'unitId':_0x3a2185,'ranges':[{'startColumn':_0x5b6a2b,'endColumn':_0x5b6a2b+_0x1f1b95-0x1,'startRow':0x0,'endRow':_0x262476[_0x26af7b(0x17b)]()-0x1}],'colWidth':_0x152f3e}});}return{'undos':_0x4c6b50,'redos':_0x1c2770};}};ut=Ls([rt(0x0,_0x4baf86(_0x566ca4)),rt(0x1,_0x4baf86(_0x2d4021)),rt(0x2,_0x4baf86(_0xcc1cef)),rt(0x3,_0x4baf86(ve)),rt(0x4,_0x4baf86(ie))],ut);var Bs=Object['getOwnPropertyDescriptor'],qs=(_0x2483b1,_0x348f62,_0x9aec92,_0x1fa1e7)=>{const _0x2d6c8e=_0x56d0e0;for(var _0x26b23b=_0x1fa1e7>0x1?void 0x0:_0x1fa1e7?Bs(_0x348f62,_0x9aec92):_0x348f62,_0x291d38=_0x2483b1[_0x2d6c8e(0x2a0)]-0x1,_0x1502ed;_0x291d38>=0x0;_0x291d38--)(_0x1502ed=_0x2483b1[_0x291d38])&&(_0x26b23b=_0x1502ed(_0x26b23b)||_0x26b23b);return _0x26b23b;},Ae=(_0xc262f1,_0x45317a)=>(_0x5abda2,_0x3d1b38)=>_0x45317a(_0x5abda2,_0x3d1b38,_0xc262f1);let ft=class extends _0x5876c8{constructor(_0x29bc62,_0x2776e9,_0x16e320,_0x15f9e0,_0x3b57f4,_0x164e4f,_0x4b9e1d){const _0x50ab0d=_0x56d0e0;super(),x(this,_0x50ab0d(0x1ad),new _0x2825bd()),(this[_0x50ab0d(0x2a8)]=_0x29bc62,this[_0x50ab0d(0x10f)]=_0x2776e9,this['_commandService']=_0x16e320,this[_0x50ab0d(0x117)]=_0x15f9e0,this[_0x50ab0d(0x1db)]=_0x3b57f4,this[_0x50ab0d(0x1fc)]=_0x164e4f,this[_0x50ab0d(0x153)]=_0x4b9e1d,this[_0x50ab0d(0xbb)]());}[_0x56d0e0(0xbb)](){const _0x348931=_0x56d0e0,_0x4634b2=(_0x3871e2,_0x4ea7ce)=>{const _0x3d0eb6=_0x3ed0,_0x40578a=this['_univerInstanceService'][_0x3d0eb6(0x295)](_0x318ece[_0x3d0eb6(0x2f2)]);if(!_0x40578a||!(_0x40578a==null?void 0x0:_0x40578a[_0x3d0eb6(0x255)](_0x4ea7ce)))return;this['disposableCollection'][_0x3d0eb6(0x2fe)]();const _0x470a0c=_0x2112c6=>this[_0x3d0eb6(0x10c)](_0x2112c6,_0x3871e2,_0x4ea7ce),_0x42d0ad=this['_sheetsPivotTableConfigModel'][_0x3d0eb6(0x2ad)](_0x3871e2,_0x4ea7ce);if(!(_0x42d0ad!=null&&_0x42d0ad[_0x3d0eb6(0x9b)]))return;Array['from'](_0x42d0ad[_0x3d0eb6(0x319)]())[_0x3d0eb6(0x1a4)](_0xe6f10c=>{const _0x1901af=_0x3d0eb6,{row:_0x15c995,col:_0x426290}=_0xe6f10c[_0x1901af(0x2fa)];return _0x301f71(_0x15c995,_0x426290);})['forEach'](_0x353e57=>{const _0x5d1ff8=_0x3d0eb6;this[_0x5d1ff8(0x1ad)][_0x5d1ff8(0x307)](this[_0x5d1ff8(0x10f)]['registerRefRange'](_0x353e57,_0x470a0c,_0x3871e2,_0x4ea7ce));});},_0xc1a28e=()=>{const _0x41c75e=_0x3ed0,_0x114f4e=this[_0x41c75e(0x117)][_0x41c75e(0x295)](_0x318ece[_0x41c75e(0x2f2)]);if(_0x114f4e){const _0x23fdfe=_0x114f4e[_0x41c75e(0x269)]();if(!_0x23fdfe)return;_0x4634b2(_0x114f4e[_0x41c75e(0xa8)](),_0x23fdfe[_0x41c75e(0xe5)]());}};this[_0x348931(0x21c)](this[_0x348931(0x2e1)]['onCommandExecuted'](_0x56aa01=>{const _0x21a940=_0x348931;if(_0x56aa01['id']===_0x4d91c1['id']){const _0x1b0c69=_0x56aa01[_0x21a940(0x205)],_0x3e3a2b=_0x1b0c69[_0x21a940(0x17a)],_0x4e8e35=_0x1b0c69['unitId'];if(!_0x3e3a2b||!_0x4e8e35)return;_0x4634b2(_0x4e8e35,_0x3e3a2b);}})),this[_0x348931(0x21c)](this['_sheetsPivotTableConfigModel'][_0x348931(0x20d)]['subscribe'](_0x4f00c4=>{_0x4f00c4&&_0xc1a28e();})),this[_0x348931(0x21c)](this[_0x348931(0x1db)][_0x348931(0x232)][_0x348931(0xac)](_0x5927c9=>{const _0x16b629=_0x348931,_0x4e7c4d=_0x28fad5(this[_0x16b629(0x117)]);if(!_0x4e7c4d)return;const {unitId:_0x55c6ab,subUnitId:_0x5434c4}=_0x4e7c4d,{unitId:_0x4138cc,subUnitId:_0x470c47}=_0x5927c9;_0x55c6ab!==_0x4138cc||_0x5434c4!==_0x470c47||_0x4634b2(_0x55c6ab,_0x5434c4);})),_0xc1a28e();}['_refRangeHandle'](_0x3b1b3a,_0x14fcad,_0x7efe4c){switch(_0x3b1b3a['id']){case _0x3e8e4a['id']:return this['getRefRangeMutationsByMoveRange'](_0x3b1b3a['params'],_0x14fcad,_0x7efe4c);}return{'redos':[],'undos':[]};}[_0x56d0e0(0x2ed)](_0xe730,_0x3f69a3,_0x340e8a){const _0x2dca40=_0x56d0e0,{fromRange:_0x18dbed,toRange:_0x1fac31}=_0xe730,_0x404a17=[],_0x41fb35=[],_0x34ddf7=_0x28fad5(this[_0x2dca40(0x117)]);if(!_0x34ddf7)return{'undos':_0x41fb35,'redos':_0x404a17};if(_0x3f69a3!==_0x34ddf7[_0x2dca40(0x243)]||_0x340e8a!==_0x34ddf7['subUnitId'])return{'undos':_0x41fb35,'redos':_0x404a17};const _0x4b76b6=this[_0x2dca40(0x1db)][_0x2dca40(0x2ad)](_0x3f69a3,_0x340e8a);if(_0x4b76b6!=null&&_0x4b76b6['size'])for(const [_0x8ada00,_0x320050]of _0x4b76b6){const {unitId:_0x4a1e9c,subUnitId:_0x2a732d,row:_0xa0656a,col:_0x516d46}=_0x320050[_0x2dca40(0x2fa)];if(_0x4a1e9c===_0x34ddf7['unitId']&&_0x2a732d===_0x34ddf7[_0x2dca40(0x17a)]){const _0x5af762=_0x301f71(_0xa0656a,_0x516d46);if(_0x1d39b7[_0x2dca40(0x315)](_0x5af762,_0x18dbed)){const _0x19af9c=_0xa0656a-_0x18dbed['startRow'],_0x1f2a4e=_0x516d46-_0x18dbed[_0x2dca40(0x136)],_0x1881f7={'row':_0x1fac31[_0x2dca40(0x2db)]+_0x19af9c,'col':_0x1fac31[_0x2dca40(0x136)]+_0x1f2a4e};_0x404a17['push']({'id':pt['id'],'params':{'unitId':_0x4a1e9c,'subUnitId':_0x2a732d,'pivotTableId':_0x8ada00,'targetCellPosition':_0x1881f7}}),_0x41fb35['push']({'id':pt['id'],'params':{'unitId':_0x4a1e9c,'subUnitId':_0x2a732d,'pivotTableId':_0x8ada00,'targetCellPosition':{'row':_0xa0656a,'col':_0x516d46}}});const _0x503010=_0x1881f7[_0x2dca40(0x155)]-_0xa0656a,_0x4321c2=_0x1881f7[_0x2dca40(0x1c4)]-_0x516d46,_0x3f9f3f=[],_0x1bdfdf=this[_0x2dca40(0x1fc)][_0x2dca40(0x1ba)](_0x4a1e9c,_0x2a732d,_0x8ada00),_0x570d32=_0x1bdfdf==null?void 0x0:_0x1bdfdf[_0x2dca40(0x17c)];if(_0x570d32){Object[_0x2dca40(0x271)](_0x570d32)[_0x2dca40(0xd2)](_0x9c06=>{_0x570d32[_0x9c06]['forEach'](_0x411285=>{const _0x37daba=_0x3ed0,_0x1228f0={..._0x411285};_0x1228f0['startRow']=_0x411285[_0x37daba(0x2db)]+_0x503010,_0x1228f0[_0x37daba(0x103)]=_0x411285[_0x37daba(0x103)]+_0x503010,_0x1228f0[_0x37daba(0x136)]=_0x411285[_0x37daba(0x136)]+_0x4321c2,_0x1228f0[_0x37daba(0x149)]=_0x411285[_0x37daba(0x149)]+_0x4321c2,_0x3f9f3f[_0x37daba(0x222)](_0x1228f0);});});const _0x1636f3=this[_0x2dca40(0x153)]['generateMutationsByRanges']({'unitId':_0x4a1e9c,'subUnitId':_0x2a732d,'ranges':_0x3f9f3f});_0x404a17[_0x2dca40(0x222)](..._0x1636f3[_0x2dca40(0x2b8)]),_0x41fb35[_0x2dca40(0x222)](..._0x1636f3[_0x2dca40(0x285)]);const _0x5a313c=Wo(this[_0x2dca40(0x2a8)],_0x4a1e9c,_0x2a732d,_0x3f9f3f);_0x5a313c['shouldClear']&&(_0x404a17[_0x2dca40(0x222)](_0x5a313c['setRangeValueRedoMutation']),_0x41fb35[_0x2dca40(0x222)](_0x5a313c[_0x2dca40(0x26b)]));}}}}return{'redos':_0x404a17,'undos':_0x41fb35};}};ft=qs([Ae(0x0,_0x4baf86(_0x2d4021)),Ae(0x1,_0x4baf86(_0xc974ab)),Ae(0x2,_0x20632e),Ae(0x3,_0xcc1cef),Ae(0x4,_0x4baf86(ve)),Ae(0x5,_0x4baf86(Ne)),Ae(0x6,_0x4baf86(_0x566ca4))],ft);var $s=Object['getOwnPropertyDescriptor'],Ys=(_0x568ee5,_0x41384e,_0x451c61,_0x26f4a3)=>{for(var _0x20e1cc=_0x26f4a3>0x1?void 0x0:_0x26f4a3?$s(_0x41384e,_0x451c61):_0x41384e,_0x5723cc=_0x568ee5['length']-0x1,_0x3cb0e8;_0x5723cc>=0x0;_0x5723cc--)(_0x3cb0e8=_0x568ee5[_0x5723cc])&&(_0x20e1cc=_0x3cb0e8(_0x20e1cc)||_0x20e1cc);return _0x20e1cc;},Fo=(_0x4c521c,_0x5d9062)=>(_0x236364,_0x440535)=>_0x5d9062(_0x236364,_0x440535,_0x4c521c);let gt=class extends _0x5876c8{constructor(_0x553198,_0x396f7f){const _0x583f49=_0x56d0e0;super(),this[_0x583f49(0x153)]=_0x553198,this['_sheetsPivotTableConfigModel']=_0x396f7f,this[_0x583f49(0x1ac)]();}['_initRemoveSheetCommandInterceptor'](){const _0x4a003a=_0x56d0e0;this['disposeWithMe'](this[_0x4a003a(0x153)][_0x4a003a(0x148)]({'getMutations':_0xc9649e=>{const _0x47189e=_0x4a003a;if(_0xc9649e['id']===_0x40db58['id']){const _0x5ca697=[],_0x1f0806=[],_0x2785b8=_0xc9649e[_0x47189e(0x205)],{unitId:_0x4ff376,subUnitId:_0x2d0166}=_0x2785b8;if(!_0x4ff376||!_0x2d0166)return{'undos':_0x1f0806,'redos':_0x5ca697};const _0x3e33dc=this[_0x47189e(0x1db)]['getSubUnitPivotConfigs'](_0x4ff376,_0x2d0166);if(_0x3e33dc!=null&&_0x3e33dc[_0x47189e(0x9b)])for(const [_0x43975b,_0x31813b]of _0x3e33dc){_0x5ca697[_0x47189e(0x222)]({'id':Et['id'],'params':{'unitId':_0x4ff376,'subUnitId':_0x2d0166,'pivotTableId':_0x43975b}});const _0x12f1a1={...this[_0x47189e(0x1db)]['getCollection'](_0x4ff376,_0x43975b)};_0x1f0806[_0x47189e(0x222)]({'id':Ct['id'],'params':{'unitId':_0x4ff376,'subUnitId':_0x2d0166,'pivotTableId':_0x43975b,'pivotTableConfig':_0x31813b,'collectionConfig':_0x12f1a1}});}return{'redos':_0x5ca697,'undos':_0x1f0806};}return{'redos':[],'undos':[]};}}));}};gt=Ys([Fo(0x0,_0x4baf86(_0x566ca4)),Fo(0x1,_0x4baf86(ve))],gt);var Js=Object[_0x56d0e0(0x1a1)],Ws=(_0x4556cf,_0x4d1012,_0x55ea65,_0x5e74e7)=>{const _0x2e863c=_0x56d0e0;for(var _0x1390fb=_0x5e74e7>0x1?void 0x0:_0x5e74e7?Js(_0x4d1012,_0x55ea65):_0x4d1012,_0x528b68=_0x4556cf[_0x2e863c(0x2a0)]-0x1,_0x47f689;_0x528b68>=0x0;_0x528b68--)(_0x47f689=_0x4556cf[_0x528b68])&&(_0x1390fb=_0x47f689(_0x1390fb)||_0x1390fb);return _0x1390fb;},Je=(_0x56ded5,_0x4640d8)=>(_0xb5029d,_0x201388)=>_0x4640d8(_0xb5029d,_0x201388,_0x56ded5);let ht=class extends _0x5876c8{constructor(_0x48e742,_0xa34ea3,_0x744365,_0x5eee33,_0x749ee4,_0x2a145e){const _0x4e319a=_0x56d0e0;super(),this['_commandService']=_0x48e742,this[_0x4e319a(0x313)]=_0xa34ea3,this[_0x4e319a(0x1fc)]=_0x744365,this[_0x4e319a(0x1db)]=_0x5eee33,this[_0x4e319a(0x117)]=_0x749ee4,this['_activeDirtyManagerService']=_0x2a145e,this[_0x4e319a(0xa5)](),this[_0x4e319a(0x182)]();}[_0x56d0e0(0xa5)](){const _0x329682=_0x56d0e0;this['disposeWithMe'](this[_0x329682(0x2e1)]['onCommandExecuted'](_0x183e03=>{const _0x57e852=_0x329682;if(_0x183e03['id']!==lo['id'])return;const _0x37265a=_0x183e03[_0x57e852(0x205)];this['_sheetsPivotRpcService'][_0x57e852(0xa1)](_0x37265a);})),this[_0x329682(0x21c)](this[_0x329682(0x2e1)][_0x329682(0x13c)](_0x4935f7=>{const _0x56ae36=_0x329682;if(_0x4935f7['id']===co['id']){const _0x1605ab=_0x4935f7['params'];if(_0x1605ab){const {unitId:_0x53a803,subUnitId:_0x3bb58c,oldSubUnitId:_0x1be5a5,pivotTableId:_0x395802,pivotTableConfig:_0x5256ac,collectionConfig:_0x5884ff}=_0x1605ab;this[_0x56ae36(0x1db)][_0x56ae36(0x290)](_0x53a803,_0x1be5a5,_0x1605ab[_0x56ae36(0x197)],null),this[_0x56ae36(0x1db)][_0x56ae36(0x290)](_0x53a803,_0x3bb58c,_0x395802,_0x5256ac),this[_0x56ae36(0x1db)][_0x56ae36(0xdb)](_0x53a803,_0x5884ff);}}})),this[_0x329682(0x21c)](this[_0x329682(0x2e1)][_0x329682(0x13c)](_0x1c6eb3=>{const _0x335bc9=_0x329682;if(_0x1c6eb3['id']!==Dt['id'])return;const _0x101408=_0x28fad5(this['_univerInstanceService']);if(!_0x101408)return;const {unitId:_0x5e634b,subUnitId:_0x3455f7}=_0x101408,_0x3e6087=_0x1c6eb3[_0x335bc9(0x205)];if(_0x3e6087[_0x335bc9(0x2ae)]&&Object[_0x335bc9(0x271)](_0x3e6087[_0x335bc9(0x2ae)])[_0x335bc9(0xd2)](_0x42f3d2=>{const _0x47bb1b=_0x335bc9;var _0x57651b;(_0x57651b=_0x3e6087['collectionConfig'])!=null&&_0x57651b[_0x42f3d2]&&this['_sheetsPivotTableConfigModel'][_0x47bb1b(0xdb)](_0x42f3d2,_0x3e6087[_0x47bb1b(0x2ae)][_0x42f3d2]);}),_0x3e6087[_0x335bc9(0x211)]){const _0x1d80ee=_0x3e6087[_0x335bc9(0x211)],{unitId:_0x3cd9d8,subUnitId:_0x6d6920,view:_0xe62055,pivotTableId:_0x4d21a1,type:_0x4e8a84,pivotConfig:_0x15d8b8}=_0x1d80ee;if(_0x4e8a84===B[_0x335bc9(0x12b)])this[_0x335bc9(0x1fc)][_0x335bc9(0xcd)]({'unitId':_0x3cd9d8,'subUnitId':_0x6d6920,'pivotTableId':_0x4d21a1,'type':_0x4e8a84}),this['_sheetsPivotTableConfigModel'][_0x335bc9(0x290)](_0x3cd9d8,_0x6d6920,_0x4d21a1,null);else{const _0x4c2d6a=new _0x10dd37();_0x4c2d6a[_0x335bc9(0x124)](_0xe62055),this['_sheetsPivotTableConfigModel'][_0x335bc9(0x290)](_0x3cd9d8,_0x6d6920,_0x4d21a1,_0x15d8b8),this[_0x335bc9(0x1fc)][_0x335bc9(0xcd)]({'unitId':_0x3cd9d8,'subUnitId':_0x6d6920,'pivotTableId':_0x4d21a1,'type':_0x4e8a84,'view':_0x4c2d6a}),this[_0x335bc9(0x1fc)][_0x335bc9(0x14b)]({'unitId':_0x3cd9d8,'subUnitId':_0x6d6920,'view':_0x4c2d6a,'pivotTableId':_0x4d21a1,'type':_0x4e8a84});}}else _0x3e6087[_0x335bc9(0x2cb)]&&(_0x3e6087[_0x335bc9(0x2cb)][_0x335bc9(0xd2)](_0x41f8c8=>{const _0x36aa1f=_0x335bc9,{unitId:_0x483cce,subUnitId:_0x58c9a4,view:_0x3afa3c,pivotTableId:_0xea57ec,type:_0x13675d,pivotConfig:_0x421b8f}=_0x41f8c8,_0x333c2f=new _0x10dd37();_0x333c2f[_0x36aa1f(0x124)](_0x3afa3c),this[_0x36aa1f(0x1db)]['updateConfigCache'](_0x483cce,_0x58c9a4,_0xea57ec,_0x421b8f),this[_0x36aa1f(0x1fc)][_0x36aa1f(0x14b)]({'unitId':_0x483cce,'subUnitId':_0x58c9a4,'view':_0x333c2f,'pivotTableId':_0xea57ec,'type':_0x13675d});}),this[_0x335bc9(0x1db)]['setPivotInitCompleted']());this['_sheetsPivotTableAdaptorModel'][_0x335bc9(0x11e)](_0x5e634b,_0x3455f7);}));}[_0x56d0e0(0x182)](){const _0x390e8d=_0x56d0e0;this[_0x390e8d(0x257)][_0x390e8d(0x29b)](xt['id'],{'commandId':xt['id'],'getDirtyData'(_0x3d3ec7){const _0x4b4357=_0x390e8d;return{'dirtyUnitFeatureMap':_0x3d3ec7[_0x4b4357(0x205)]};}});}};ht=Ws([Je(0x0,_0x4baf86(_0x20632e)),Je(0x1,_0x4baf86(X)),Je(0x2,_0x4baf86(Ne)),Je(0x3,_0x4baf86(ve)),Je(0x4,_0x4baf86(_0xcc1cef)),Je(0x5,_0x5b9492)],ht);var Gs=Object[_0x56d0e0(0x252)],Ks=Object[_0x56d0e0(0x1a1)],Hs=(_0x3bd086,_0x1c43d8,_0x3f790d)=>_0x1c43d8 in _0x3bd086?Gs(_0x3bd086,_0x1c43d8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f790d}):_0x3bd086[_0x1c43d8]=_0x3f790d,zs=(_0xa1b842,_0x5db061,_0x21d3c3,_0x4c424f)=>{for(var _0xa28b8b=_0x4c424f>0x1?void 0x0:_0x4c424f?Ks(_0x5db061,_0x21d3c3):_0x5db061,_0xc783f9=_0xa1b842['length']-0x1,_0x1ce1ce;_0xc783f9>=0x0;_0xc783f9--)(_0x1ce1ce=_0xa1b842[_0xc783f9])&&(_0xa28b8b=_0x1ce1ce(_0xa28b8b)||_0xa28b8b);return _0xa28b8b;},_t=(_0x5304bf,_0x5b90c9)=>(_0x3cc3fa,_0x2862cc)=>_0x5b90c9(_0x3cc3fa,_0x2862cc,_0x5304bf),Zo=(_0x1f0f3f,_0x1ff061,_0x5b315d)=>Hs(_0x1f0f3f,typeof _0x1ff061!=_0x56d0e0(0x258)?_0x1ff061+'':_0x1ff061,_0x5b315d);let Ut=class extends _0x20f576{constructor(_0x2f255e=yo,_0x5269d5,_0x40eba7,_0x31cbf5,_0x113220){const _0x80591d=_0x56d0e0;super(),this[_0x80591d(0xdc)]=_0x2f255e,this['_injector']=_0x5269d5,this[_0x80591d(0x2e1)]=_0x40eba7,this[_0x80591d(0x215)]=_0x31cbf5,this[_0x80591d(0x157)]=_0x113220;const {..._0x9d4002}=_0x52fd2b({},yo,this[_0x80591d(0xdc)]);this[_0x80591d(0x215)][_0x80591d(0xdf)](Ko,_0x9d4002),this[_0x80591d(0x31d)](),this[_0x80591d(0x266)]();}[_0x56d0e0(0x266)](){const _0x6d0c5c=_0x56d0e0;var _0x50005a;const _0x55d2ed=(_0x50005a=this[_0x6d0c5c(0xdc)])==null?void 0x0:_0x50005a[_0x6d0c5c(0xc6)];this[_0x6d0c5c(0x215)]['setConfig'](K,_0x55d2ed===!0x0);}[_0x56d0e0(0x2fc)](){const _0x4f7cab=_0x56d0e0;var _0x3215e4;let _0xec2946=[];const _0x7f5750=(_0x3215e4=this[_0x4f7cab(0xdc)])==null?void 0x0:_0x3215e4[_0x4f7cab(0xc6)];_0x7f5750===!0x0?_0xec2946=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x7f5750===!0x1?_0xec2946=[[q],[ct]]:_0x7f5750===void 0x0&&(_0xec2946=[[q],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0xec2946[_0x4f7cab(0xd2)](_0x4fba70=>this[_0x4f7cab(0x2a8)][_0x4f7cab(0x307)](_0x4fba70)),[ct,ht,ie,dt,gt,ft,ut][_0x4f7cab(0xd2)](_0x200f2d=>{const _0xeddb7f=_0x4f7cab;this[_0xeddb7f(0x2a8)][_0xeddb7f(0x13b)](_0x200f2d)&&this[_0xeddb7f(0x2a8)][_0xeddb7f(0x30d)](_0x200f2d);});}['_initRegisterCommand'](){[vs,ps,hs,ms,Cs,Ms,Ds,bs,Ss,Ts,Ps,ys,Fs,Is,Ct,oo,Et,qt,Ho,zo,Gt,$t,Yt,Jt,Ht,Kt,pt,ro,lo,Dt,Qt,eo,zt,Wt,uo,to,Xt,xt,co,ws,Zt,_s,Rs]['forEach'](_0x2fb0d7=>{const _0x4f75de=_0x3ed0;var _0x60facb;(_0x60facb=this[_0x4f75de(0x157)])==null||_0x60facb[_0x4f75de(0xc5)](_0x2fb0d7),this[_0x4f75de(0x2e1)][_0x4f75de(0x207)](_0x2fb0d7);});}};Zo(Ut,_0x56d0e0(0x2e6),ao),Zo(Ut,'type',_0x318ece[_0x56d0e0(0x2f2)]),Ut=zs([_0x34253e(_0xfc9253),_t(0x1,_0x4baf86(_0x2d4021)),_t(0x2,_0x4baf86(_0x20632e)),_t(0x3,_0x26de3f),_t(0x4,_0x4818db(_0x5415b4))],Ut);export{hs as AddPivotFieldCommand,qt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Fs as MovePivotTableCommand,j as PivotDisplayDataType,Is as PivotDrillDownCommand,B as PivotTableOperationEnum,xt as PivotTableViewDirtyMarkOperation,jo as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Yt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Ko as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Jt as SetPivotCollapseMutation,Wt as SetPivotFieldFormatMutation,_s as SetPivotFieldsConfigCommand,Ts as SetPivotFilterCommand,Gt as SetPivotFilterMutation,Kt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ss as SetPivotSortCommand,Ht as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,ws as SetPivotValueFilterCommand,Zt as SetPivotValueFilterMutation,q as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Qt as UpdateFieldPositionMutation,Ps as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Jo as canUsePivot,fe as defaultThemeStyle,Wo as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,Fe as getInsertRowColMutations,Vi as getPivotCellInfo,go as getPivotInfoByLicense,Ei as getPivotTableInfo,vt as transFromCellValue,Bt as unionPivotViewRange};