@univerjs-pro/sheets-pivot 0.10.14-nightly.202511031023 → 0.10.14-nightly.202511070628

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 +9 -9
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5bf728=_0x279a;(function(_0x1c68c4,_0x5bb499){const _0x559418=_0x279a,_0x400d2f=_0x1c68c4();while(!![]){try{const _0x507b63=parseInt(_0x559418(0x33d))/0x1*(parseInt(_0x559418(0x2ee))/0x2)+-parseInt(_0x559418(0x39e))/0x3*(parseInt(_0x559418(0x274))/0x4)+-parseInt(_0x559418(0x214))/0x5*(-parseInt(_0x559418(0x2e0))/0x6)+parseInt(_0x559418(0x2f5))/0x7*(parseInt(_0x559418(0x42d))/0x8)+parseInt(_0x559418(0x2fd))/0x9*(parseInt(_0x559418(0x3a5))/0xa)+parseInt(_0x559418(0x3da))/0xb*(parseInt(_0x559418(0x39b))/0xc)+parseInt(_0x559418(0x3be))/0xd*(-parseInt(_0x559418(0x282))/0xe);if(_0x507b63===_0x5bb499)break;else _0x400d2f['push'](_0x400d2f['shift']());}catch(_0x4c437b){_0x400d2f['push'](_0x400d2f['shift']());}}}(_0x461b,0x28f08));var rn=Object[_0x5bf728(0x366)],ln=(_0xd155b0,_0x3bca06,_0x4162cd)=>_0x3bca06 in _0xd155b0?rn(_0xd155b0,_0x3bca06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4162cd}):_0xd155b0[_0x3bca06]=_0x4162cd,V=(_0x1e4934,_0x2a9364,_0x485106)=>ln(_0x1e4934,typeof _0x2a9364!=_0x5bf728(0x3e6)?_0x2a9364+'':_0x2a9364,_0x485106);import{PivotCellStyleTypeEnum as _0x2a40d9,PivotViewCellValueTypeEnum as _0x4c146a,isPrefixValue as _0x4ffa85,isErrorValue as _0x2c251c,PivotErrorTypeEnum as _0x1dd39a,PivotDateGroupFieldDateTypeEnum as _0x1dcfc0,DataFieldManager as _0x7fa536,FieldsCollection as _0x58643c,isDateValue as _0x36ad7b,DataField as _0x7ea1d5,generateHexNumber as _0x2962d6,isBaseGroupField as _0x3bed76,PivotTable as _0x15d468,PivotSubtotalTypeEnum as _0x597cf6,PivotTableFiledAreaEnum as _0x3a6ce8,excelDateToUnixMilliseconds as _0x15768b,PivotDataFieldTypeEnum as _0x3b6834,DateGroupField as _0x239928,createValueField as _0x387f7f,createLabelField as _0x454170,PivotTableChangeTypeEnum as _0x13920a,PivotView as _0x2089ac,GlobalConfig as _0x2f6290,isDateGroupFieldJSON as _0x399b61,PivotCallbackEnum as _0x1a52c8,PivotFilterTypeEnum as _0x5dae63,getAutoDisplayName as _0x267ddd,PivotDataFieldDataTypeEnum as _0x54c91a,PivotTableValuePositionEnum as _0xad4caa,isDateGroupField as _0x43eb06}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x5508a5,ObjectMatrix as _0x43fcd2,IUniverInstanceService as _0x2fecb8,UniverInstanceType as _0x332ca7,CellValueType as _0x24b2d4,numfmt as _0x567147,LocaleService as _0x2a9621,createAsyncInterceptorKey as _0x7cb202,createInterceptorKey as _0x1cbcea,CommandType as _0x56fcc3,Inject as _0x360cfb,ICommandService as _0x4e31c1,Disposable as _0x25f1fb,RANGE_TYPE as _0x49d1c0,numberToABC as _0x50a52a,Injector as _0x121ef7,LifecycleService as _0x2dfd91,IResourceManagerService as _0x4679cb,Rectangle as _0x3d3208,IConfigService as _0x224426,Tools as _0x48d9e9,AsyncInterceptorManager as _0x108fc1,InterceptorManager as _0x51d859,InterceptorEffectEnum as _0x393181,IUndoRedoService as _0x342a4e,sequenceExecute as _0x3e4922,CustomCommandExecutionError as _0x13dca5,mergeWorksheetSnapshotWithDefault as _0x2565d4,generateRandomId as _0x1323f3,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x104e87,DEFAULT_WORKSHEET_ROW_COUNT as _0x5f5337,DisposableCollection as _0x2a1164,Range as _0x451e59,DependentOn as _0x569100,Optional as _0x2a3879,Plugin as _0x15301e,merge as _0x2b305a}from'@univerjs/core';import{ErrorType as _0x10d8d1,serializeRangeWithSpreadsheet as _0x5554c8,IFeatureCalculationManagerService as _0x1cada9,GlobalComputingStatusService as _0x1cb0fc,IActiveDirtyManagerService as _0x5714d5}from'@univerjs/engine-formula';import{generateNullCell as _0x75ebc2,SetRangeValuesUndoMutationFactory as _0x289bda,SetRangeValuesMutation as _0x24965e,getSheetCommandTarget as _0x5b1933,InsertRowMutation as _0x70acf4,RemoveRowMutation as _0x2c9689,InsertColMutation as _0xded336,RemoveColMutation as _0x19ed4c,IExclusiveRangeService as _0x1b55aa,SheetInterceptorService as _0x34849c,INTERCEPTOR_POINT as _0xa62e49,InsertSheetCommand as _0x5b4034,InsertSheetUndoMutationFactory as _0x3c4f41,RemoveSheetMutation as _0x575055,InsertSheetMutation as _0x532b87,MoveRangeMutation as _0x345d91,SheetsSelectionsService as _0x969973,ClearSelectionContentCommand as _0x1053ee,ClearSelectionAllCommand as _0x152598,SetWorksheetColWidthMutation as _0x38a006,RefRangeService as _0x344cce,SetWorksheetActiveOperation as _0x3ef769,MoveRangeCommand as _0x523093,RemoveSheetCommand as _0x2da853}from'@univerjs/sheets';import{Subject as _0x688d9a,BehaviorSubject as _0x6f9e2d}from'rxjs';import{LS_CONFIG_KEY as _0x1e58ed,unshiftString as _0x30309b,isFeatureAuthorizedWithinTime as _0x174e93,getSheetFeatureLimit as _0x108804,ReleaseType as _0x2c1fa3,UniverLicensePlugin as _0x59a5cc}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x242433,RemoveSheetsFilterMutation as _0x24119c}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x406107}from'@univerjs/rpc';import{getFontStyleString as _0xb88763,FontCache as _0x31b8d0}from'@univerjs/engine-render';const Lo=Number['parseInt'](0x69088420),li=0x10,so=0x1,ao=_0x5bf728(0x3f7),mt=0x1,ci='rgb(240,241,243)',di=_0x5bf728(0x40d),wt=_0x5bf728(0x220),ui='#f4f4f5',fi=_0x5bf728(0x242),gi=_0x5bf728(0x3c0),hi='#1d32e9',vi=_0x5bf728(0x1ee),pi=_0x5bf728(0x334),Ci=_0x5bf728(0x295),mi=_0x5bf728(0x1ee),Ii=_0x5bf728(0x245),bi=0xe,Si=0x6;var Bo=(_0x564a3d=>(_0x564a3d[_0x5bf728(0x29a)]=_0x5bf728(0x1e1),_0x564a3d[_0x5bf728(0x394)]=_0x5bf728(0x239),_0x564a3d))(Bo||{});const $o={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ci},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Ti(_0x39dc7b,_0x2fbad9,_0x3a214f){const _0x28c786=_0x5bf728,_0x46f84e=_0x39dc7b[_0x28c786(0x21b)](_0x2a9621),_0x2e10f8=_0x3a214f[_0x28c786(0x348)]('_');switch(_0x2fbad9){case _0x1dcfc0[_0x28c786(0x3eb)]:return _0x46f84e['t'](_0x28c786(0x27d),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x1d0)]:return _0x46f84e['t'](_0x28c786(0x431),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x37c)]:return _0x46f84e['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x2c8)]:return _0x46f84e['t'](_0x28c786(0x3a3),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x277)]:return _0x46f84e['t'](_0x28c786(0x20f),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x423)]:return _0x46f84e['t'](_0x28c786(0x1cb),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x2c3)]:return _0x46f84e['t'](_0x28c786(0x3ee),..._0x2e10f8);case _0x1dcfc0['YearMonth']:return _0x46f84e['t'](_0x28c786(0x23d),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x228)]:return _0x46f84e['t'](_0x28c786(0x440),..._0x2e10f8);case _0x1dcfc0['YearQuarter']:return _0x46f84e['t'](_0x28c786(0x442),..._0x2e10f8);}return'';}const tt=(_0x40a41e,_0x5f2f1d,_0x30faca,_0x1ee720)=>{const _0x1f5c59=_0x5bf728;let _0x1bb43a;const _0x5f5aa8=_0x40a41e[_0x1f5c59(0x21b)](_0x2fecb8)['getCurrentUnitForType'](_0x332ca7[_0x1f5c59(0x25d)]);if(!_0x5f5aa8)return null;const _0x2d4255=_0x5f5aa8[_0x1f5c59(0x1fb)]();let _0x1760d1;if(_0x30faca&&(_0x1760d1=_0x2d4255['setValue'](_0x30faca)),_0x5f2f1d!=null&&_0x5f2f1d['v']||(_0x5f2f1d==null?void 0x0:_0x5f2f1d['v'])===0x0){_0x1bb43a||(_0x1bb43a={});const _0x19501e=Go(_0x5f2f1d['v']);typeof _0x19501e==_0x1f5c59(0x29f)?_0x1bb43a['t']=_0x24b2d4[_0x1f5c59(0x250)]:typeof _0x19501e==_0x1f5c59(0x23a)&&(_0x1bb43a['t']=_0x24b2d4['STRING']),_0x1bb43a['v']=_0x19501e;}if((_0x5f2f1d!=null&&_0x5f2f1d['i']||(_0x5f2f1d==null?void 0x0:_0x5f2f1d['i'])===0x0)&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['fi']=_0x5f2f1d['i']),_0x5f2f1d!=null&&_0x5f2f1d['s']&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['pbt']=_0x5f2f1d['s']),_0x30faca&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['s']=_0x1760d1),_0x1ee720&&_0x1bb43a!=null&&_0x1bb43a['v']&&_0x1bb43a['pbt']!==_0x2a40d9[_0x1f5c59(0x37e)]&&_0x1bb43a[_0x1f5c59(0x2c4)]!==_0x2a40d9[_0x1f5c59(0x453)]){const _0x1b6ce5=String(_0x1bb43a['v']),{dateType:_0x1e4a48}=_0x1ee720;_0x1bb43a['v']=Ti(_0x40a41e,_0x1e4a48,_0x1b6ce5),_0x1bb43a['t']=_0x24b2d4[_0x1f5c59(0x251)];}return _0x1bb43a;},yi=(_0x1aed94,_0x59accb,_0x512b50,_0x4b4631)=>{const _0x32f5f1=_0x5bf728;var _0x63d6fc,_0x466c17,_0x27e286,_0x5b4774,_0x22c99d,_0x3cd518,_0xcb65aa,_0x58b3f5,_0x55a2c2,_0x2664bb,_0x254cfa,_0x3893da,_0xd15452,_0x57bea5;const _0x323e97=_0x512b50[_0x32f5f1(0x1d2)],{cornerView:_0x998252,rowView:_0x75c002,colView:_0x34cafb,dataView:_0x2fc155,pageView:_0x3784dd,formatMap:_0x421af7,groupInfo:_0x3655eb}=_0x59accb,{row:_0xd43a88,col:_0x2688aa}=_0x323e97,_0x3aa105=new _0x43fcd2(),_0x594f9c={},_0x22c1f5={},_0x45f78e={},_0x35a2e7={},_0x47728f={};let _0x28c7f9=_0xd43a88,_0x2100cc=_0x2688aa;Object[_0x32f5f1(0x3ab)](_0x3784dd[_0x32f5f1(0x265)])[_0x32f5f1(0x28f)](_0xd75296=>{const _0x5d8369=_0x32f5f1;Object[_0x5d8369(0x3ab)](_0x3784dd[_0x5d8369(0x265)][Number(_0xd75296)])[_0x5d8369(0x28f)](_0x556ca8=>{const _0x587bdd=_0x5d8369,_0x5bff02={..._0x3784dd[_0x587bdd(0x265)][Number(_0xd75296)][Number(_0x556ca8)]};_0x3aa105[_0x587bdd(0x26b)](Number(_0xd75296)+_0x28c7f9,Number(_0x556ca8)+_0x2100cc,tt(_0x1aed94,_0x5bff02,fe['pageStyle']));});});const _0x254755=Object[_0x32f5f1(0x3ab)](_0x3784dd[_0x32f5f1(0x265)])[_0x32f5f1(0x395)];_0x28c7f9+=_0x254755+(_0x254755?mt:0x0);const _0x117523=_0x998252[_0x32f5f1(0x3de)](),_0x33c772=_0x998252[_0x32f5f1(0x2d1)]();for(let _0xe4101e=0x0;_0xe4101e<_0x117523;_0xe4101e++)for(let _0x300d53=0x0;_0x300d53<_0x33c772;_0x300d53++){const _0x5d24a4={...(_0x466c17=(_0x63d6fc=_0x998252['data'])==null?void 0x0:_0x63d6fc[_0xe4101e])==null?void 0x0:_0x466c17[_0x300d53]};_0x5d24a4&&((_0x27e286=_0x75c002[_0x32f5f1(0x22d)][_0x300d53])!=null&&_0x27e286[_0x32f5f1(0x30a)])&&_0x300d53===_0x33c772-0x1&&_0xe4101e===_0x117523-0x1&&(_0x5d24a4['v']=''+_0x4b4631['sheets-pivot.value']),_0x3aa105['setValue'](_0xe4101e+_0x28c7f9,_0x300d53+_0x2100cc,tt(_0x1aed94,_0x5d24a4,fe[_0x32f5f1(0x2ac)]));}for(let _0x45cf13=0x0;_0x45cf13<_0x998252['info']['length'];_0x45cf13++)_0x998252[_0x32f5f1(0x378)][_0x45cf13]&&(_0x45f78e[''+(_0x45cf13+_0x2100cc)]=_0x998252['info'][_0x45cf13]);_0x2100cc+=_0x33c772;const _0xca91a0=_0x34cafb[_0x32f5f1(0x22d)],_0x491799=_0x34cafb[_0x32f5f1(0x273)]()>=0x0?_0x34cafb['getLastRow']()+0x1:0x0,_0x214644=_0x34cafb['getLastCol']()>=0x0?_0x34cafb[_0x32f5f1(0x352)]()+0x1:0x0;for(let _0xb4009=0x0;_0xb4009<_0x214644;_0xb4009++){for(let _0x3465b0=0x0;_0x3465b0<_0x491799;_0x3465b0++){const _0x1eeedf={...(_0x22c99d=(_0x5b4774=_0x34cafb[_0x32f5f1(0x265)])==null?void 0x0:_0x5b4774[_0x3465b0])==null?void 0x0:_0x22c99d[_0xb4009]},_0x4f2924=(_0x3cd518=_0xca91a0[_0x3465b0])==null?void 0x0:_0x3cd518[_0x32f5f1(0x390)],_0x405cc8=_0x421af7[_0x4f2924],_0x2fec23=_0x3655eb[_0x4f2924];_0x1eeedf&&(_0x1eeedf['v']=vt(_0x1eeedf,_0x3465b0===0x0&&((_0xcb65aa=_0x34cafb[_0x32f5f1(0x262)](_0xb4009+0x1))==null?void 0x0:_0xcb65aa['isValue']),_0x405cc8,_0x4b4631));let _0x5494bf;_0x405cc8?_0x5494bf={...fe[_0x32f5f1(0x1f2)],'n':{'pattern':_0x405cc8}}:_0x5494bf={...fe[_0x32f5f1(0x1f2)]},_0x3aa105[_0x32f5f1(0x26b)](_0x3465b0+_0x28c7f9,_0xb4009+_0x2100cc,tt(_0x1aed94,_0x1eeedf,_0x5494bf,_0x2fec23));}_0x34cafb['info'][_0xb4009]&&(_0x22c1f5[''+(_0xb4009+_0x2100cc)]=_0x34cafb[_0x32f5f1(0x378)][_0xb4009]),_0x34cafb['headerMap'][_0xb4009+0x1]&&(_0x47728f[''+(_0xb4009+_0x28c7f9+0x1)]=_0x34cafb['headerMap'][_0xb4009+0x1]);}_0x28c7f9+=_0x117523;const _0x36132a=_0x75c002[_0x32f5f1(0x22d)],_0x4781e1=_0x75c002[_0x32f5f1(0x273)]()>=0x0?_0x75c002['getLastRow']()+0x1:0x0,_0x17dc90=_0x75c002['getLastCol']()>=0x0?_0x75c002['getLastCol']()+0x1:0x0;for(let _0x185fa2=0x0;_0x185fa2<_0x4781e1;_0x185fa2++){for(let _0x335459=0x0;_0x335459<_0x17dc90;_0x335459++){const _0x5d59b6={...(_0x55a2c2=(_0x58b3f5=_0x75c002[_0x32f5f1(0x265)])==null?void 0x0:_0x58b3f5[_0x185fa2])==null?void 0x0:_0x55a2c2[_0x335459]},_0x25296e=(_0x2664bb=_0x36132a[_0x335459])==null?void 0x0:_0x2664bb['tableFieldId'],_0x156a93=_0x421af7[_0x25296e],_0xaed029=_0x3655eb[_0x25296e];_0x5d59b6&&(_0x5d59b6['v']=vt(_0x5d59b6,!0x1,_0x156a93,_0x4b4631));let _0x95d3e3;_0x75c002['info'][_0x185fa2]['level']===_0x75c002[_0x32f5f1(0x2d1)]()?_0x95d3e3=fe[_0x32f5f1(0x226)]:_0x75c002[_0x32f5f1(0x378)][_0x185fa2][_0x32f5f1(0x233)]?_0x95d3e3=_0x75c002[_0x32f5f1(0x378)][_0x185fa2][_0x32f5f1(0x2cc)]===0x0?fe['grandTotal']:fe['subTotalStyle']:_0x95d3e3=fe['rowStyle'],_0x156a93&&(_0x95d3e3={..._0x95d3e3,'n':{'pattern':_0x156a93}}),_0x3aa105[_0x32f5f1(0x26b)](_0x185fa2+_0x28c7f9,_0x335459+_0x2688aa,tt(_0x1aed94,_0x5d59b6,_0x95d3e3,_0xaed029));}_0x75c002[_0x32f5f1(0x378)][_0x185fa2]&&(_0x594f9c[''+(_0x185fa2+_0x28c7f9)]=_0x75c002['info'][_0x185fa2]),_0x75c002[_0x32f5f1(0x22d)][_0x185fa2]&&(_0x35a2e7[''+(_0x185fa2+_0x2688aa)]=_0x75c002['headerMap'][_0x185fa2]);}const _0x31bc61=_0x2fc155['getRowCount'](),_0x47e610=_0x2fc155[_0x32f5f1(0x2d1)]();for(let _0x20cf13=0x0;_0x20cf13<_0x31bc61;_0x20cf13++)for(let _0x31cf45=0x0;_0x31cf45<_0x47e610;_0x31cf45++){const _0x2f398e={...(_0x3893da=(_0x254cfa=_0x2fc155['data'])==null?void 0x0:_0x254cfa[_0x20cf13])==null?void 0x0:_0x3893da[_0x31cf45]};let _0x5edf41;_0x75c002[_0x32f5f1(0x378)][_0x20cf13][_0x32f5f1(0x233)]?_0x5edf41=_0x75c002[_0x32f5f1(0x378)][_0x20cf13]['level']===0x0?fe[_0x32f5f1(0x2f3)]:fe[_0x32f5f1(0x3e5)]:_0x5edf41=fe['dataStyle'];const _0xbba63=_0x75c002[_0x32f5f1(0x378)][_0x20cf13][_0x32f5f1(0x3c2)],_0x51c74a=_0x34cafb[_0x32f5f1(0x378)][_0x31cf45][_0x32f5f1(0x3c2)],_0x72569e=Math['max'](_0xbba63,_0x51c74a),_0x1c2901=_0x512b50['fieldsConfig'][_0x32f5f1(0x3c5)]['concat']();let _0x51e550='';_0x72569e<0x0?_0x51e550=(_0xd15452=_0x1c2901[0x0])!=null?_0xd15452:'':_0x51e550=(_0x57bea5=_0x1c2901[_0x72569e])!=null?_0x57bea5:'';const _0x24694b=_0x421af7[_0x51e550];_0x24694b&&(_0x5edf41={..._0x5edf41,'n':{'pattern':_0x24694b}}),_0x3aa105[_0x32f5f1(0x26b)](_0x20cf13+_0x28c7f9,_0x31cf45+_0x2100cc,tt(_0x1aed94,_0x2f398e,_0x5edf41));}return{'valueMatrix':_0x3aa105,'rowInfo':_0x594f9c,'colInfo':_0x22c1f5,'cornerInfo':_0x45f78e,'rowHeaderMap':_0x35a2e7,'colHeaderMap':_0x47728f};};function vt(_0x4dd258,_0x55bd1d,_0xe5a455,_0x3ca769){const _0x8250a2=_0x5bf728;let _0xf4c0b0=_0x4dd258['v'];_0x55bd1d&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x33a)]);const _0x1a820c=_0x4dd258['t']&&(_0x4dd258['t']&_0x4c146a['blank'])>0x0;_0x1a820c&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x33c)]);const _0x631988=_0x4dd258['t']&&(_0x4dd258['t']&_0x4c146a[_0x8250a2(0x240)])>0x0;if(_0x631988&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x374)]),_0x4dd258['s']===_0x2a40d9[_0x8250a2(0x453)]){let _0xe03b20=_0xf4c0b0,_0x1379c5='';_0x4ffa85(_0xf4c0b0)&&(_0xe03b20=_0xf4c0b0[_0x8250a2(0x3e8)],_0x1379c5=_0xf4c0b0[_0x8250a2(0x27a)]);const _0x162ef6=_0xe5a455&&!_0x1a820c&&!_0x631988?_0x567147[_0x8250a2(0x369)](_0xe5a455,Number(_0xe03b20)):_0xe03b20;_0x1379c5?_0xf4c0b0=_0x162ef6+'\x20'+_0x1379c5:_0xf4c0b0=_0x162ef6+'\x20'+_0x3ca769[_0x8250a2(0x44b)];}else _0x4dd258['s']===_0x2a40d9[_0x8250a2(0x37e)]&&(_0xf4c0b0=_0xf4c0b0+'\x20'+_0x3ca769[_0x8250a2(0x2d7)]);return _0xf4c0b0;}function Go(_0x3aa63a){const _0x1378f2=_0x5bf728;if(_0x2c251c(_0x3aa63a)){const {errorType:_0x265a1d}=_0x3aa63a;switch(_0x265a1d){case _0x1dd39a[_0x1378f2(0x344)]:return _0x10d8d1[_0x1378f2(0x389)];case _0x1dd39a[_0x1378f2(0x450)]:return _0x10d8d1[_0x1378f2(0x2bf)];case _0x1dd39a[_0x1378f2(0x340)]:return _0x10d8d1[_0x1378f2(0x218)];case _0x1dd39a['NotName']:return _0x10d8d1[_0x1378f2(0x218)];case _0x1dd39a[_0x1378f2(0x1fc)]:return _0x10d8d1[_0x1378f2(0x34b)];}}return _0x3aa63a;}function ge(_0x10eca7,_0xe87e84,_0x173c60=!0x1,_0xdf4a69=!0x1){const _0x3e1adc=_0x5bf728,{data:_0x35d777}=_0xe87e84,_0x5745e6=_0xe87e84[_0x3e1adc(0x3de)](),_0x502d0d=_0xe87e84['getColCount']();if(_0x5745e6<=0x0||_0x502d0d<=0x0)return[];const _0x253b5c=_0xe87e84[_0x3e1adc(0x352)](),_0x1a2c4=_0xe87e84['getLastRow'](),_0x1303a6=_0xdf4a69?_0x1a2c4>=0x0?_0x1a2c4+0x1:0x0:_0x5745e6,_0x40d656=_0xdf4a69?_0x253b5c>=0x0?_0x253b5c+0x1:0x0:_0x502d0d,{row:_0xe080b5,col:_0x581440}=_0x10eca7,_0x5e18ec=_0xe080b5,_0x58d859=_0x581440;if(_0x173c60){const _0x141560=[];for(const [_0x2186c9,_0x221430]of Object[_0x3e1adc(0x2d6)](_0x35d777))for(const [_0x56a648,_0x1f936f]of Object[_0x3e1adc(0x2d6)](_0x221430))_0x141560[_0x3e1adc(0x42a)](_0x5508a5(_0x5e18ec+Number(_0x2186c9),_0x58d859+Number(_0x56a648)));return _0x141560;}else{const _0x3d6fec=_0xdf4a69?_0x1303a6>0x0?0x1:0x0:0x1,_0x23d92b=_0xdf4a69?_0x40d656>0x0?0x1:0x0:0x1,_0x3ddbd0=_0xe080b5+_0x1303a6-_0x3d6fec,_0x41d802=_0x581440+_0x40d656-_0x23d92b;return[{'startRow':_0x5e18ec,'startColumn':_0x58d859,'endRow':_0x3ddbd0,'endColumn':_0x41d802}];}}const z=_0x5bf728(0x359),Lt='SHEET_PIVOT_EXCLUSIVE_ID';var k=(_0x45dfe7=>(_0x45dfe7['Filter']=_0x5bf728(0x3c6),_0x45dfe7[_0x5bf728(0x324)]=_0x5bf728(0x399),_0x45dfe7['AddPivotField']='addPivotField',_0x45dfe7[_0x5bf728(0x258)]='AddPivotTableWithConfig',_0x45dfe7[_0x5bf728(0x434)]=_0x5bf728(0x35c),_0x45dfe7[_0x5bf728(0x41e)]=_0x5bf728(0x424),_0x45dfe7['RemovePivotField']=_0x5bf728(0x3bd),_0x45dfe7[_0x5bf728(0x3f2)]=_0x5bf728(0x330),_0x45dfe7[_0x5bf728(0x243)]=_0x5bf728(0x417),_0x45dfe7[_0x5bf728(0x328)]=_0x5bf728(0x401),_0x45dfe7[_0x5bf728(0x43e)]=_0x5bf728(0x3a8),_0x45dfe7[_0x5bf728(0x332)]=_0x5bf728(0x327),_0x45dfe7[_0x5bf728(0x3bf)]=_0x5bf728(0x29c),_0x45dfe7['DrillDown']=_0x5bf728(0x387),_0x45dfe7[_0x5bf728(0x386)]=_0x5bf728(0x252),_0x45dfe7[_0x5bf728(0x308)]='setPivotTableConfig',_0x45dfe7[_0x5bf728(0x2c2)]='resetPivotTable',_0x45dfe7))(k||{});const Mi={'sheets-pivot.blankValue':_0x5bf728(0x3e0),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x5bf728(0x319),'sheets-pivot.valueText':_0x5bf728(0x409),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x5bf728(0x2f4),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x5bf728(0x307),'sheets-pivot.minName':_0x5bf728(0x365),'sheets-pivot.productName':_0x5bf728(0x1ea),'sheets-pivot.stdDevName':_0x5bf728(0x286),'sheets-pivot.stdDevpName':_0x5bf728(0x2a3),'sheets-pivot.sumName':_0x5bf728(0x2dc),'sheets-pivot.varName':_0x5bf728(0x439),'sheets-pivot.varpName':_0x5bf728(0x291),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x5bf728(0x27a),'sheets-pivot.blank':_0x5bf728(0x20e),'sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x5bf728(0x22f),'sheets-pivot.emptyPivot.column':_0x5bf728(0x3f6),'sheets-pivot.emptyPivot.values':'Values'},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x7cb202('pivotPerformCheck'),jo=_0x1cbcea(_0x5bf728(0x3b8));var Be=(_0x143edc=>(_0x143edc[_0x5bf728(0x2de)]='add',_0x143edc[_0x5bf728(0x25a)]=_0x5bf728(0x25a),_0x143edc[_0x5bf728(0x367)]=_0x5bf728(0x367),_0x143edc))(Be||{}),$=(_0x22c99c=>(_0x22c99c['Add']=_0x5bf728(0x2de),_0x22c99c['Set']=_0x5bf728(0x2e3),_0x22c99c[_0x5bf728(0x346)]=_0x5bf728(0x25a),_0x22c99c))($||{});const ro={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x38f),'handler':()=>!0x0},lo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x40b),'handler':()=>!0x0},Rt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x375),'handler':()=>!0x0},co={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x3ea),'handler':()=>!0x0},uo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x2f6),'handler':()=>!0x0};var wi=Object['getOwnPropertyDescriptor'],_i=(_0x1f3ae5,_0x4ad71f,_0x4574f6,_0x444c3f)=>{const _0x1665a7=_0x5bf728;for(var _0x59f6b5=_0x444c3f>0x1?void 0x0:_0x444c3f?wi(_0x4ad71f,_0x4574f6):_0x4ad71f,_0x326a9d=_0x1f3ae5[_0x1665a7(0x395)]-0x1,_0x3dc844;_0x326a9d>=0x0;_0x326a9d--)(_0x3dc844=_0x1f3ae5[_0x326a9d])&&(_0x59f6b5=_0x3dc844(_0x59f6b5)||_0x59f6b5);return _0x59f6b5;},Fi=(_0x448199,_0x191533)=>(_0x1d31d2,_0x5d93a8)=>_0x191533(_0x1d31d2,_0x5d93a8,_0x448199);let X=class extends _0x25f1fb{constructor(_0x2ad6c9){const _0x49865e=_0x5bf728;super(),V(this,_0x49865e(0x276),new Map()),this['_commandService']=_0x2ad6c9;}['handleAsyncResponse'](_0x1f8d77){const _0x4b0346=_0x5bf728,{version:_0x2276a1}=_0x1f8d77,_0x126cd5=this[_0x4b0346(0x276)][_0x4b0346(0x21b)](_0x2276a1);_0x126cd5&&(_0x126cd5(_0x1f8d77),this[_0x4b0346(0x276)][_0x4b0346(0x25a)](_0x2276a1));}[_0x5bf728(0x382)](_0x1126d2){return new Promise((_0x2475a4,_0x57f8db)=>{const _0x45676b=_0x279a,_0x5a50e8=this[_0x45676b(0x430)]();this['_requestResolvers'][_0x45676b(0x2e3)](_0x5a50e8,_0x2475a4),this[_0x45676b(0x234)][_0x45676b(0x314)](ro['id'],{'version':_0x5a50e8,..._0x1126d2},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x3aace3=_0x5bf728;return Math[_0x3aace3(0x2da)]()['toString'](0x24)[_0x3aace3(0x2e4)](0x2,0x10);}};X=_i([Fi(0x0,_0x360cfb(_0x4e31c1))],X);const Jo={0x0:'K',0x1:'0',0x2:'4',0x3:'a',0x4:'t',0x5:'7',0x6:'r',0x7:'e',0x8:'M',0x9:'1','L':'2','R':'3','v':'5','U':'6','O':'8','u':'9','s':'b','Y':'c','T':'d','h':'f','N':'g','c':'h','f':'i','I':'j','q':'k','w':'l','r':'m','C':'n','A':'o','S':'p','n':'q','D':'s','e':'u','g':'v','b':'w','G':'x','p':'y','d':'z','o':'A','Q':'B','B':'C','a':'D','i':'E','k':'F','x':'G','P':'H','K':'I','M':'J','X':'L','F':'N','H':'O','V':'P','J':'Q','y':'R','j':'S','l':'T','E':'U','t':'V','m':'W','W':'X','z':'Y','Z':'Z'},Wo='heCY4fAC\x20T7Y6pS4fAC(wfY7CD7,\x20SeswfY07p)\x20{\x20\x20\x20\x2046p\x20{\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20wfY7CD7KChAV364o663p\x20=\x20wfY7CD7.DSwf4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20A6fNfC87DD3N7\x20=\x20MjHF.S36D7(34As(wfY7CD7KChAV364o663p[L]));\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!A6fNfC87DD3N7.eT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A6fNfC87DD3N7.eT\x20=\x20Fers76(wfY7CD7KChAV364o663p[2]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20fDmA6q76\x20=\x204pS7Ah\x20mA6q76xwAs3wjYAS7\x20!==\x20\x27eCT7hfC7T\x27\x20&&\x20D7wh\x20fCD43CY7Ah\x20mA6q76xwAs3wjYAS7;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20YAC47G4\x20=\x20fDmA6q76\x20?\x20D7wh\x20:\x20bfCTAb;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[L]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7\x20=\x20YAC47G4.__P7G__.D46fCNfhp(r7DD3N7mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[R]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67\x20=\x20YAC47G4.__P7G__.D46fCNfhp(DfNC34e67mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNCt3wfT\x20=\x20YAC47G4.__g76fhp__(DfNC34e67,\x20r7DD3N7,\x20SeswfY07p);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20TAr3fC\x20=\x20A6fNfC87DD3N7.Tr;\x20\x20\x20\x20\x20\x20\x20\x20heCY4fAC\x20fDaAr3fC834YcfCN(AV34476C,\x20APAD4)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476C\x20=\x20AV34476C.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4\x20=\x20APAD4.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CV364D\x20=\x20S34476C.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4V364D\x20=\x20cAD4.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!S34476C.fCYweT7D(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476C\x20===\x20cAD4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(S34476CV364D.w7CN4c\x20<\x20L\x20||\x20S34476CV364D[1]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20h3wD7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CjehhfG\x20=\x20S34476CV364D.DwfY7(9).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4jehhfG\x20=\x20cAD4V364D.DwfY7(-S34476CV364D.w7CN4c\x20+\x209).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476CjehhfG\x20===\x20cAD4jehhfG;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x20TAr3fCt3wfT\x20=\x20(TAr3fC\x20&&\x20TAr3fC.w7CN4c)\x20?\x20TAr3fC.DAr7((TrK47r)\x20=>\x20fDaAr3fC834YcfCN(TrK47r,\x20wAY34fAC.cAD4C3r7))\x20:\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(wAY34fAC.cAD4C3r7\x20===\x20\x27wAY3wcAD4\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAr3fCt3wfT\x20=\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20g3wfT\x20=\x20DfNCt3wfT\x20&&\x20TAr3fCt3wfT;\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20A6fNfC87DD3N7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Y34Yc\x20(766A6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT:\x20h3wD7,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',Di=_0x1f5861=>{const _0x3efc32=_0x5bf728;var _0x23f28c;return((_0x23f28c=_0x1f5861[_0x3efc32(0x2d0)])==null?void 0x0:_0x23f28c[_0x3efc32(0x2e9)]['replace'](/\r\n$/,''))||'';};class Ri extends _0x7fa536{constructor(_0x2e7f95,_0x18fc95){const _0x533659=_0x5bf728;super(),V(this,_0x533659(0x446),{}),V(this,_0x533659(0x253)),V(this,'_host'),(this['_univerInstanceService']=_0x18fc95,this[_0x533659(0x238)]=_0x2e7f95);}[_0x5bf728(0x1fe)](){const _0x4333f3=_0x5bf728;for(const _0x1ad7fc in this[_0x4333f3(0x1d3)]){const _0x5dce86=this[_0x4333f3(0x1d3)][_0x1ad7fc],_0x2345b9=_0x5dce86[_0x4333f3(0x232)]();this[_0x4333f3(0x446)][_0x2345b9]=_0x5dce86[_0x4333f3(0x3f9)]();}}[_0x5bf728(0x202)](){const _0x3dd288=_0x5bf728,_0x344a37=this[_0x3dd288(0x238)];return Oi['bind'](_0x344a37);}[_0x5bf728(0x406)](_0x1b39b7){const _0x4b8811=_0x5bf728,_0x31e85b=this[_0x4b8811(0x1d3)][_0x1b39b7][_0x4b8811(0x1fa)];delete this[_0x4b8811(0x1d3)][_0x1b39b7],delete this[_0x4b8811(0x446)][_0x31e85b];}[_0x5bf728(0x209)](_0x45e143){const _0x2db5cc=_0x5bf728;this['dataFields'][_0x45e143[_0x2db5cc(0x3f9)]()]=_0x45e143;}['removeCollectionImp'](_0x4500e1){const _0x33c114=_0x5bf728;var _0x1d271b,_0x2f3e87;const _0x4ec919=this[_0x33c114(0x238)][_0x33c114(0x31b)](_0x4500e1);if(_0x4ec919){const {unitId:_0x24cac4,subUnitId:_0xfc102c}=_0x4ec919,_0xf63374=(_0x1d271b=this['_host'][_0x33c114(0x448)](_0x24cac4,_0xfc102c,_0x4500e1))==null?void 0x0:_0x1d271b[_0x33c114(0x3f8)];this['_host'][_0x33c114(0x2e2)]({'token':_0x4500e1,'type':Be[_0x33c114(0x25a)],'dataRangeInfo':_0xf63374});}(_0x2f3e87=this[_0x33c114(0x28d)](_0x4500e1))==null||_0x2f3e87[_0x33c114(0x3bc)](),delete this[_0x33c114(0x278)][_0x4500e1];}[_0x5bf728(0x232)](_0x2cec6e,_0x6a76bf){const {sheetName:_0x547336,unitId:_0x28fce0,range:_0xbb1a37}=_0x2cec6e,{startRow:_0xe7078f,endRow:_0x4c4207}=_0xbb1a37;return _0x5554c8(_0x28fce0,_0x547336,{'startRow':_0xe7078f,'endRow':_0x4c4207,'startColumn':_0x6a76bf,'endColumn':_0x6a76bf});}['getDataFieldByRangeKey'](_0x57a6b3){const _0x4f6d0f=_0x5bf728;return this[_0x4f6d0f(0x1d3)][this[_0x4f6d0f(0x446)][_0x57a6b3]];}[_0x5bf728(0x3fd)](_0x31d88b,_0x303992){const _0x27e632=_0x5bf728;this[_0x27e632(0x446)][_0x31d88b]=_0x303992;}[_0x5bf728(0x438)](_0x168862,_0x13095b){const _0x4a9593=_0x5bf728;this[_0x4a9593(0x446)][_0x13095b]=this[_0x4a9593(0x446)][_0x168862],delete this[_0x4a9593(0x446)][_0x168862];}[_0x5bf728(0x235)](_0x3e3347,_0x8a6d59,_0x4b6857,_0x56ff3d){const _0x4f0eb3=_0x5bf728,_0x185e05=new _0x58643c(this);_0x185e05[_0x4f0eb3(0x2b9)](_0x8a6d59);const _0x139ceb=[];let _0x20eab7=0x0;for(const _0x571910 of _0x185e05['fieldIds']){const _0x34018a=this['getRangeKey'](_0x4b6857,_0x20eab7),_0x521ecc=this[_0x4f0eb3(0x1d3)][_0x571910];_0x521ecc&&(_0x521ecc[_0x4f0eb3(0x1fa)]=_0x34018a,this[_0x4f0eb3(0x3fd)](_0x34018a,_0x571910),_0x139ceb[_0x4f0eb3(0x42a)]({'index':_0x20eab7,'dataField':_0x521ecc})),_0x20eab7++;}return this['addCollection'](_0x3e3347,_0x185e05,_0x4b6857,_0x56ff3d),{'collection':_0x185e05,'updateDataFieldList':_0x139ceb};}[_0x5bf728(0x1e2)](_0x3ebe51,_0x484ff4){const _0x2f20fb=_0x5bf728;return _0x3ebe51[_0x2f20fb(0x441)]===_0x49d1c0[_0x2f20fb(0x2d2)]?{'startRow':0x0,'startColumn':_0x3ebe51[_0x2f20fb(0x3d2)],'endRow':_0x484ff4[_0x2f20fb(0x3de)]()-0x1,'endColumn':_0x3ebe51[_0x2f20fb(0x3cd)]}:{'startRow':_0x3ebe51[_0x2f20fb(0x373)],'startColumn':_0x3ebe51['startColumn'],'endRow':_0x3ebe51[_0x2f20fb(0x320)],'endColumn':_0x3ebe51[_0x2f20fb(0x3cd)]};}['createCollectionWithDataRange'](_0x422146){const _0x195031=_0x5bf728,{sheetName:_0x54e375,range:_0x4b8ed7}=_0x422146,_0x5aed78=this['_univerInstanceService'][_0x195031(0x350)](_0x332ca7[_0x195031(0x25d)]),_0x3d75de=_0x5aed78[_0x195031(0x356)](_0x54e375),_0x429333=_0x3d75de[_0x195031(0x341)](),{startColumn:_0x87c5b4,startRow:_0x4d7f67,endColumn:_0x53616a}=this[_0x195031(0x1e2)](_0x4b8ed7,_0x3d75de),_0x2b9169=_0x5aed78[_0x195031(0x1fb)](),_0x561267=new _0x58643c(this);_0x561267[_0x195031(0x402)](_0x422146);const _0x4f9073=[],_0x330bb2={};for(let _0x525cf1=_0x87c5b4;_0x525cf1<=_0x53616a;_0x525cf1++){const _0x2df2dd=_0x429333[_0x195031(0x35b)](_0x4d7f67,_0x525cf1),_0xc97c9a=this[_0x195031(0x232)](_0x422146,_0x525cf1),_0x340240=this['getDataFieldByRangeKey'](_0xc97c9a);if(_0x340240)_0x561267['addField'](_0x340240[_0x195031(0x3f9)](),_0x340240[_0x195031(0x3a4)]());else{const _0x3d4fc1=this[_0x195031(0x28e)]();let _0x87ee44=this[_0x195031(0x3af)](_0x2df2dd,_0x2b9169,_0x330bb2);_0x36ad7b(_0x87ee44)&&(_0x87ee44=_0x567147[_0x195031(0x369)](_0x87ee44['f'],Number(_0x87ee44['v'])));const _0xcb11d7=this['uniqueDataFieldName'](_0x87ee44,_0x525cf1),_0xbb6212=new _0x7ea1d5(_0x3d4fc1,_0xcb11d7,_0x2962d6(0x3));_0xbb6212[_0x195031(0x1fa)]=_0xc97c9a,this[_0x195031(0x1d3)][_0x3d4fc1]=_0xbb6212,_0x561267['addField'](_0x3d4fc1,_0xcb11d7),_0x4f9073['push']({'index':_0x525cf1,'dataField':_0xbb6212});}}return{'updateDataFieldList':_0x4f9073,'collection':_0x561267};}[_0x5bf728(0x2ef)](_0x1656b7){const _0x3eb628=_0x5bf728;return this[_0x3eb628(0x238)]['getTextInfo']()[_0x3eb628(0x297)]+'\x20'+_0x50a52a(_0x1656b7);}[_0x5bf728(0x1ca)](_0x58fe9d,_0x4b5ace){const _0x6389ca=_0x5bf728;return _0x58fe9d==null||_0x58fe9d===''?this[_0x6389ca(0x2ef)](_0x4b5ace):String(_0x58fe9d);}[_0x5bf728(0x28d)](_0x5225b7){const _0x438550=_0x5bf728;return this[_0x438550(0x278)][_0x5225b7];}[_0x5bf728(0x298)](_0x2ee953,_0xd15e6c,_0x5e461f,_0x35d561){const _0x4ae2e1=_0x5bf728;this[_0x4ae2e1(0x278)][_0x2ee953]=_0xd15e6c,_0xd15e6c[_0x4ae2e1(0x402)](_0x5e461f),this[_0x4ae2e1(0x238)]['broadcastCollectionChange']({'token':_0x2ee953,'type':Be['add'],'dataRangeInfo':_0x5e461f,'targetCellInfo':_0x35d561});}[_0x5bf728(0x221)](_0x17e074,_0x3712f9){const _0x4023d6=_0x5bf728,_0xff63f3=this[_0x4023d6(0x28d)](_0x17e074),_0x45962c=_0xff63f3[_0x4023d6(0x363)]();let _0x52413d=0x0;for(const _0x58663e of _0x45962c){const _0x5bf103=_0xff63f3[_0x4023d6(0x437)](_0x58663e),_0x19674e=this[_0x4023d6(0x232)](_0x3712f9,_0x52413d);this[_0x4023d6(0x438)](_0x5bf103['rangeKey'],_0x19674e),_0x52413d++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x5bf728(0x27b)](_0x31ef02,_0x514016){const _0x3ac005=_0x5bf728;if(this[_0x3ac005(0x28d)](_0x31ef02)){const _0x572390=this[_0x3ac005(0x212)](_0x514016),_0x5b3a92=[];for(const _0x3d2bb3 of _0x572390)this[_0x3ac005(0x446)][_0x3d2bb3]!==void 0x0&&_0x5b3a92[_0x3ac005(0x42a)](this[_0x3ac005(0x446)][_0x3d2bb3]);const _0x2f4cbd=this['getNoUsedDataFieldIds'](_0x31ef02),_0x358112=[],_0x40b82d=new Set(_0x5b3a92);for(const _0x2603b6 of _0x2f4cbd)_0x40b82d['has'](_0x2603b6)||_0x358112[_0x3ac005(0x42a)](_0x2603b6);return _0x358112;}}[_0x5bf728(0x40c)](_0x59a1fb,_0x80757f,_0x229016,_0x18290e,_0x170e97){const _0x52a258=_0x5bf728;return _0x80757f&&_0x80757f[_0x52a258(0x35b)](_0x18290e,_0x170e97)?_0x80757f[_0x52a258(0x35b)](_0x18290e,_0x170e97):_0x229016&&_0x229016[_0x52a258(0x35b)](_0x18290e,_0x170e97)?_0x229016[_0x52a258(0x35b)](_0x18290e,_0x170e97):_0x59a1fb[_0x52a258(0x35b)](_0x18290e,_0x170e97);}[_0x5bf728(0x39d)](_0x253681,_0x11ac0f,_0x112f03,_0x267f5f){const _0x330bf7=_0x5bf728,_0x437476=this[_0x330bf7(0x1d3)][_0x253681];if(!_0x437476)return;const {subUnitId:_0x4b4faa,range:_0x542664,unitId:_0x3a62b9}=_0x11ac0f,_0x237e74=this[_0x330bf7(0x253)][_0x330bf7(0x1db)](_0x3a62b9);if(!_0x237e74){console[_0x330bf7(0x1f7)](_0x330bf7(0x3fc));return;}const _0x3ff5fa=_0x237e74[_0x330bf7(0x292)](_0x4b4faa),_0x56b773=_0x3ff5fa['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x1c0167,unitDataMatrix:_0x4e1c8a}=_0x267f5f||{},{startRow:_0xd106ce,startColumn:_0x181e2c,endRow:_0x2ae063}=this[_0x330bf7(0x1e2)](_0x542664,_0x3ff5fa);_0x437476[_0x330bf7(0x30b)]();const _0x20abfa=_0x237e74[_0x330bf7(0x1fb)](),_0x20f30f={},_0x17f9f3=this[_0x330bf7(0x40c)](_0x56b773,_0x1c0167,_0x4e1c8a,_0xd106ce,_0x181e2c+_0x112f03);let _0x426918=this[_0x330bf7(0x3af)](_0x17f9f3,_0x20abfa,_0x20f30f);_0x36ad7b(_0x426918)&&(_0x426918=_0x567147[_0x330bf7(0x369)](_0x426918['f'],Number(_0x426918['v'])));const _0x42919d=this[_0x330bf7(0x1ca)](_0x426918,_0x181e2c+_0x112f03);_0x437476[_0x330bf7(0x302)](_0x42919d);for(let _0x2fb28a=_0xd106ce+0x1;_0x2fb28a<=_0x2ae063;_0x2fb28a++){const _0xa77f1d=this[_0x330bf7(0x40c)](_0x56b773,_0x1c0167,_0x4e1c8a,_0x2fb28a,_0x181e2c+_0x112f03);_0x437476[_0x330bf7(0x2bc)](this[_0x330bf7(0x3af)](_0xa77f1d,_0x20abfa,_0x20f30f),_0x2fb28a-0x1-_0xd106ce);}}[_0x5bf728(0x1d4)](_0x5d56ce,_0x57c111,_0xe9660d){const _0x5a52b6=_0x5bf728,{subUnitId:_0x4fda5c,range:_0x27cc98,unitId:_0x77970f}=_0xe9660d,_0x17dd24=this['_univerInstanceService'][_0x5a52b6(0x1db)](_0x77970f);if(!_0x17dd24){console[_0x5a52b6(0x1f7)](_0x5a52b6(0x3fc));return;}const _0x168e3c=_0x17dd24[_0x5a52b6(0x292)](_0x4fda5c),_0x3a76d2=_0x168e3c[_0x5a52b6(0x341)](),{startRow:_0x119864,startColumn:_0x25c12b,endRow:_0x2abcb3}=this[_0x5a52b6(0x1e2)](_0x27cc98,_0x168e3c),_0x1b33b6=_0x17dd24[_0x5a52b6(0x1fb)](),_0x216be4={};for(const {dataField:_0x508162,index:_0x3a8dd8}of _0x57c111){_0x508162[_0x5a52b6(0x30b)]();const _0x250be0=this[_0x5a52b6(0x40c)](_0x3a76d2,void 0x0,void 0x0,_0x119864,_0x25c12b+_0x3a8dd8);let _0x293509=this[_0x5a52b6(0x3af)](_0x250be0,_0x1b33b6,_0x216be4);_0x36ad7b(_0x293509)&&(_0x293509=_0x567147[_0x5a52b6(0x369)](_0x293509['f'],Number(_0x293509['v'])));const _0x5a72d3=this['uniqueDataFieldName'](_0x293509,_0x25c12b+_0x3a8dd8);_0x508162[_0x5a52b6(0x302)](_0x5a72d3);}_0x5d56ce[_0x5a52b6(0x443)]();for(let _0x193cc7=_0x119864+0x1;_0x193cc7<=_0x2abcb3;_0x193cc7++)for(const {index:_0x2e8640,dataField:_0xd22f97}of _0x57c111){const _0x54663a=_0x3a76d2[_0x5a52b6(0x35b)](_0x193cc7,_0x25c12b+_0x2e8640);_0xd22f97['addRecord'](this[_0x5a52b6(0x3af)](_0x54663a,_0x1b33b6,_0x216be4),_0x193cc7-0x1-_0x119864);}_0x5d56ce[_0x5a52b6(0x315)](_0x2abcb3-_0x119864);}[_0x5bf728(0x212)](_0x578404){const _0xb4c695=_0x5bf728,{range:_0x3c74f1}=_0x578404,{startColumn:_0x1e9729,endColumn:_0x45b3e7}=_0x3c74f1,_0xd5f385=[];for(let _0xb3b386=_0x1e9729;_0xb3b386<=_0x45b3e7;_0xb3b386++)_0xd5f385[_0xb4c695(0x42a)](this[_0xb4c695(0x232)](_0x578404,_0xb3b386));return _0xd5f385;}[_0x5bf728(0x3af)](_0x13e46e,_0x500b18,_0x28dde8){const _0x183894=_0x5bf728;if(_0x13e46e){const {s:_0x1e3a9e,v:_0x39cdb3,t:_0x28e4b7,p:_0x493238}=_0x13e46e;if(_0x493238)return Di(_0x493238);const _0x149632=_0x500b18[_0x183894(0x21b)](_0x1e3a9e);if(_0x149632&&_0x28e4b7===_0x24b2d4[_0x183894(0x250)]&&_0x149632['n']){const {pattern:_0x4a74c7}=_0x149632['n'];_0x28dde8[_0x4a74c7]||(_0x28dde8[_0x4a74c7]=_0x567147[_0x183894(0x3b7)](_0x4a74c7));const _0x2e1cf5=_0x28dde8[_0x4a74c7],_0x163f07=_0x2e1cf5[_0x183894(0x1e4)];if(_0x2e1cf5['isText'])return String(_0x39cdb3);if(_0x163f07)return{'v':_0x39cdb3,'f':_0x4a74c7};}if(_0x28e4b7===_0x24b2d4[_0x183894(0x250)])return Number(_0x39cdb3);if(_0x28e4b7===_0x24b2d4[_0x183894(0x251)]||_0x28e4b7===_0x24b2d4[_0x183894(0x300)])return String(_0x39cdb3);if(_0x28e4b7===void 0x0){const _0x3c93b8=Number(_0x39cdb3);if(!Number['isNaN'](_0x3c93b8)&&String(_0x3c93b8)===_0x39cdb3)return _0x3c93b8;}return _0x39cdb3!=null?_0x39cdb3:null;}else return null;}[_0x5bf728(0x3ae)](_0x528612){const _0x385897=_0x5bf728,{sheetName:_0x94dc2d,range:_0x569534,unitId:_0x178260}=_0x528612,_0x564f68=this[_0x385897(0x253)]['getUnit'](_0x178260);if(!_0x564f68)return console[_0x385897(0x1f7)](_0x385897(0x3fc)),{'header':[],'data':[]};const _0x1315a5=_0x564f68[_0x385897(0x356)](_0x94dc2d),_0x2b1de4=_0x1315a5['getCellMatrix'](),{startRow:_0x43807b,startColumn:_0x4e869f,endRow:_0x507132,endColumn:_0x395f8b}=this['getRangeStartEndInfo'](_0x569534,_0x1315a5),_0x40942b=_0x564f68[_0x385897(0x1fb)](),_0x39f00a=[],_0x2e5935=[],_0x563ec0={};for(let _0xbb972e=_0x43807b;_0xbb972e<=_0x507132;_0xbb972e++){const _0xd4c02b=[];for(let _0x389ff5=_0x4e869f;_0x389ff5<=_0x395f8b;_0x389ff5++){const _0x46e897=_0x2b1de4[_0x385897(0x35b)](_0xbb972e,_0x389ff5);_0xbb972e===_0x43807b?_0x39f00a[_0x385897(0x42a)](_0x46e897==null?null:String(_0x46e897['v'])):_0xd4c02b[_0x385897(0x42a)](this[_0x385897(0x3af)](_0x46e897,_0x40942b,_0x563ec0));}_0x2e5935['push'](_0xd4c02b);}return{'header':_0x39f00a,'data':_0x2e5935};}[_0x5bf728(0x361)](){const _0xaf26f9=_0x5bf728;return super[_0xaf26f9(0x361)]();}['fromJSON'](_0x1a699c){const _0x4ef54c=_0x5bf728;super[_0x4ef54c(0x2b9)](_0x1a699c),this[_0x4ef54c(0x1fe)]();}[_0x5bf728(0x3bc)](){const _0x1905a7=_0x5bf728;super[_0x1905a7(0x3bc)](),this[_0x1905a7(0x446)]={},this[_0x1905a7(0x238)]=null;}}const Ni=_0x44ce42=>{const _0x3b0119=_0x5bf728,{targetCellInfo:_0x51f3c4}=_0x44ce42,{matrixCache:_0x2b9dbe,rangesCache:_0x5bebbb}=Yo({'filter':_0x3b0119(0x2d8),'row':'Row','column':_0x3b0119(0x3f6),'values':_0x3b0119(0x287)},_0x51f3c4),_0x13cd19=new _0x43fcd2();return _0x2b9dbe[_0x3b0119(0x2f0)]((_0x5a3336,_0x2e9ea3,_0x1f3058)=>{const _0x2f7174=_0x3b0119;_0x13cd19[_0x2f7174(0x26b)](_0x5a3336,_0x2e9ea3,_0x1f3058);}),{'matrix':_0x13cd19,'rangesCache':_0x5bebbb};},ot=_0x37ff94=>{const _0x4c36c7=_0x5bf728;let _0x3599fa;if(_0x37ff94!=null&&_0x37ff94['v']||(_0x37ff94==null?void 0x0:_0x37ff94['v'])===0x0){_0x3599fa||(_0x3599fa={});const _0x41df61=Go(_0x37ff94['v']);typeof _0x41df61==_0x4c36c7(0x29f)?_0x3599fa['t']=_0x24b2d4[_0x4c36c7(0x250)]:typeof _0x41df61==_0x4c36c7(0x23a)&&(_0x3599fa['t']=_0x24b2d4[_0x4c36c7(0x251)]),_0x3599fa['v']=_0x41df61;}return _0x3599fa;},Vi=(_0x27bedf,_0x5ca4ef,_0x43cf0a)=>{const _0x3ed64a=_0x5bf728;var _0x947db1,_0x2a757f,_0x41bc7e,_0x14c608,_0x57c0f1,_0x3f916e,_0xc21f8c,_0x358dda,_0x53715b,_0x6ba6bb,_0x30e462,_0xafd6cd;const {cornerView:_0x1c3199,rowView:_0x3f7a39,colView:_0x33b702,dataView:_0x11dd5d,pageView:_0x30dd96,formatMap:_0x7472bc}=_0x27bedf,{row:_0x5b359f,col:_0x39a4bc}=_0x5ca4ef,_0x52027a=new _0x43fcd2();let _0x6d8f46=_0x5b359f,_0x112363=_0x39a4bc;Object['keys'](_0x30dd96[_0x3ed64a(0x265)])['forEach'](_0x2a752a=>{const _0x133cfa=_0x3ed64a;Object[_0x133cfa(0x3ab)](_0x30dd96[_0x133cfa(0x265)][Number(_0x2a752a)])[_0x133cfa(0x28f)](_0x79c9f=>{const _0x27ba93=_0x133cfa,_0x10836a={..._0x30dd96[_0x27ba93(0x265)][Number(_0x2a752a)][Number(_0x79c9f)]};_0x52027a[_0x27ba93(0x26b)](Number(_0x2a752a)+_0x6d8f46,Number(_0x79c9f)+_0x112363,ot(_0x10836a));});});const _0x28bdd7=Object[_0x3ed64a(0x3ab)](_0x30dd96['data'])['length'];_0x6d8f46+=_0x28bdd7+(_0x28bdd7?mt:0x0);const _0x2f7f06=_0x1c3199[_0x3ed64a(0x3de)](),_0x4d6311=_0x1c3199[_0x3ed64a(0x2d1)]();for(let _0x10954d=0x0;_0x10954d<_0x2f7f06;_0x10954d++)for(let _0x1b66a4=0x0;_0x1b66a4<_0x4d6311;_0x1b66a4++){const _0x20c42f={...(_0x2a757f=(_0x947db1=_0x1c3199[_0x3ed64a(0x265)])==null?void 0x0:_0x947db1[_0x10954d])==null?void 0x0:_0x2a757f[_0x1b66a4]};_0x20c42f&&((_0x41bc7e=_0x3f7a39['headerMap'][_0x1b66a4])!=null&&_0x41bc7e['isValue'])&&_0x1b66a4===_0x4d6311-0x1&&_0x10954d===_0x2f7f06-0x1&&(_0x20c42f['v']=''+_0x43cf0a[_0x3ed64a(0x33a)]),_0x52027a['setValue'](_0x10954d+_0x6d8f46,_0x1b66a4+_0x112363,ot(_0x20c42f));}_0x112363+=_0x4d6311;const _0xc4de6c=_0x33b702['headerMap'],_0x276f7a=_0x33b702['getLastRow']()>=0x0?_0x33b702['getLastRow']()+0x1:0x0,_0x4e6a43=_0x33b702[_0x3ed64a(0x352)]()>=0x0?_0x33b702[_0x3ed64a(0x352)]()+0x1:0x0;for(let _0x1ad553=0x0;_0x1ad553<_0x4e6a43;_0x1ad553++)for(let _0x9ecb39=0x0;_0x9ecb39<_0x276f7a;_0x9ecb39++){const _0x43d34f={...(_0x57c0f1=(_0x14c608=_0x33b702[_0x3ed64a(0x265)])==null?void 0x0:_0x14c608[_0x1ad553])==null?void 0x0:_0x57c0f1[_0x9ecb39]},_0x501c39=(_0x3f916e=_0xc4de6c[_0x1ad553])==null?void 0x0:_0x3f916e[_0x3ed64a(0x390)],_0x43971=_0x7472bc[_0x501c39];_0x43d34f&&(_0x43d34f['v']=vt(_0x43d34f,_0x1ad553===0x0&&((_0xc21f8c=_0x33b702[_0x3ed64a(0x262)](_0x9ecb39+0x1))==null?void 0x0:_0xc21f8c[_0x3ed64a(0x30a)]),_0x43971,_0x43cf0a)),_0x52027a[_0x3ed64a(0x26b)](_0x1ad553+_0x6d8f46,_0x9ecb39+_0x112363,ot(_0x43d34f));}_0x6d8f46+=_0x2f7f06;const _0x53ddc3=_0x3f7a39[_0x3ed64a(0x22d)],_0x5642e7=_0x3f7a39[_0x3ed64a(0x273)]()>=0x0?_0x3f7a39['getLastRow']()+0x1:0x0,_0x3737c5=_0x3f7a39[_0x3ed64a(0x352)]()>=0x0?_0x3f7a39[_0x3ed64a(0x352)]()+0x1:0x0;for(let _0x2bd984=0x0;_0x2bd984<_0x5642e7;_0x2bd984++)for(let _0x513d11=0x0;_0x513d11<_0x3737c5;_0x513d11++){const _0x2c52a4={...(_0x53715b=(_0x358dda=_0x3f7a39[_0x3ed64a(0x265)])==null?void 0x0:_0x358dda[_0x2bd984])==null?void 0x0:_0x53715b[_0x513d11]},_0x586847=(_0x6ba6bb=_0x53ddc3[_0x513d11])==null?void 0x0:_0x6ba6bb[_0x3ed64a(0x390)],_0x101587=_0x7472bc[_0x586847];_0x2c52a4&&(_0x2c52a4['v']=vt(_0x2c52a4,!0x1,_0x101587,_0x43cf0a)),_0x52027a[_0x3ed64a(0x26b)](_0x2bd984+_0x6d8f46,_0x513d11+_0x39a4bc,ot(_0x2c52a4));}const _0x5b6f5a=_0x11dd5d['getRowCount'](),_0x48694e=_0x11dd5d['getColCount']();for(let _0x4e4784=0x0;_0x4e4784<_0x5b6f5a;_0x4e4784++)for(let _0x484ce5=0x0;_0x484ce5<_0x48694e;_0x484ce5++){const _0x3f39b5={...(_0xafd6cd=(_0x30e462=_0x11dd5d[_0x3ed64a(0x265)])==null?void 0x0:_0x30e462[_0x4e4784])==null?void 0x0:_0xafd6cd[_0x484ce5]};_0x52027a[_0x3ed64a(0x26b)](_0x4e4784+_0x6d8f46,_0x484ce5+_0x112363,ot(_0x3f39b5));}return _0x52027a;},Ui=_0x24087e=>{const _0x302183=_0x5bf728,{view:_0x2650c6,targetCellInfo:_0x1ee821,isEmpty:_0x5b143e,textInfo:_0xde42b1}=_0x24087e;if(_0x5b143e)return Ni(_0x24087e);const {pageView:_0x334812,cornerView:_0x55775b,rowView:_0x20ac59,colView:_0x45960d,dataView:_0x3c0b00}=_0x2650c6,_0x23a4ce=ge(_0x1ee821,_0x334812,!0x0),_0x118738=_0x334812[_0x302183(0x1f9)]>=0x0?_0x334812[_0x302183(0x1f9)]+0x1:0x0,_0x2bd94d=_0x55775b['getRowCount'](),_0x5b9971=_0x55775b['getColCount'](),_0x47f45c=_0x23a4ce[_0x302183(0x395)]>0x0?mt:0x0,_0x38d724=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c,'col':_0x1ee821[_0x302183(0x37a)]},_0x55775b,!0x1,!0x1),_0xde35e4=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c+_0x2bd94d,'col':_0x1ee821[_0x302183(0x37a)]},_0x20ac59,!0x1,!0x0),_0x4692f3=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c,'col':_0x1ee821[_0x302183(0x37a)]+_0x5b9971},_0x45960d,!0x1,!0x0),_0x5d2db5=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c+_0x2bd94d,'col':_0x1ee821['col']+_0x5b9971},_0x3c0b00,!0x1,!0x1),_0x328ee4={'rowRanges':_0xde35e4,'colRanges':_0x4692f3,'cornerRanges':_0x38d724,'dataRanges':_0x5d2db5,'pageRanges':_0x23a4ce};return{'matrix':Vi(_0x2650c6,_0x1ee821,_0xde42b1),'rangesCache':_0x328ee4};};var Ai=Object[_0x5bf728(0x3a1)],Ei=(_0x14e5d7,_0x4b75a0,_0x127254,_0x37d45b)=>{for(var _0x26cea0=_0x37d45b>0x1?void 0x0:_0x37d45b?Ai(_0x4b75a0,_0x127254):_0x4b75a0,_0x177292=_0x14e5d7['length']-0x1,_0x553b0c;_0x177292>=0x0;_0x177292--)(_0x553b0c=_0x14e5d7[_0x177292])&&(_0x26cea0=_0x553b0c(_0x26cea0)||_0x26cea0);return _0x26cea0;},nt=(_0x1a8362,_0x3faea3)=>(_0xac36ef,_0xcd6a4d)=>_0x3faea3(_0xac36ef,_0xcd6a4d,_0x1a8362);let G=class extends _0x25f1fb{constructor(_0x54d0f1,_0x193a18,_0x460e13,_0x4b4403,_0x4f820e){const _0x5b6a68=_0x5bf728;super(),V(this,_0x5b6a68(0x3a9),new Map()),V(this,_0x5b6a68(0x30e),new Map()),V(this,_0x5b6a68(0x3f1),new Map()),V(this,_0x5b6a68(0x26c)),V(this,_0x5b6a68(0x207),new _0x688d9a()),V(this,_0x5b6a68(0x435),this[_0x5b6a68(0x207)][_0x5b6a68(0x244)]()),V(this,'_viewData$',new _0x688d9a()),V(this,_0x5b6a68(0x425),this[_0x5b6a68(0x2ad)]['asObservable']()),V(this,_0x5b6a68(0x30c),new _0x688d9a()),V(this,_0x5b6a68(0x294),this[_0x5b6a68(0x30c)][_0x5b6a68(0x244)]()),V(this,_0x5b6a68(0x398),new Map()),V(this,'needSameDeleteModel',[]),V(this,'_queryingMap',new Map()),(this['_injector']=_0x54d0f1,this[_0x5b6a68(0x253)]=_0x193a18,this['_lifecycleService']=_0x460e13,this[_0x5b6a68(0x234)]=_0x4b4403,this['_resourceManagerService']=_0x4f820e,this[_0x5b6a68(0x2ff)]());}[_0x5bf728(0x3dc)](){const _0x2ec13a=_0x5bf728;return this[_0x2ec13a(0x26c)]?this[_0x2ec13a(0x26c)]:Mi;}[_0x5bf728(0x2b6)](_0x1d0d89){const _0x518765=_0x5bf728;this[_0x518765(0x26c)]=_0x1d0d89;}[_0x5bf728(0x221)](_0x772d8b){const _0x2f8f65=_0x5bf728;var _0xd5144;const {from:_0x1630b9,to:_0x4afdcc,unitId:_0x279422,fromRange:_0x9f7c04,toRange:_0x2751b4}=_0x772d8b;if(_0x1630b9&&_0x4afdcc){const _0x5be0e6=this[_0x2f8f65(0x23e)](_0x279422),_0x698091=this[_0x2f8f65(0x3a9)]['get'](_0x279422),_0x35fa21=(_0xd5144=this[_0x2f8f65(0x253)][_0x2f8f65(0x1db)](_0x279422))==null?void 0x0:_0xd5144[_0x2f8f65(0x292)](_0x4afdcc[_0x2f8f65(0x2a0)]);if(!_0x698091||!_0x35fa21)return;const _0x178c33=_0x35fa21==null?void 0x0:_0x35fa21['getName']();for(const [_0x443e80,_0x54f263]of _0x698091[_0x2f8f65(0x2d6)]())for(const [_0x2483db,_0x36f4e3]of _0x54f263[_0x2f8f65(0x2d6)]()){const {sourceRangeInfo:_0x547106}=_0x36f4e3;if(_0x547106[_0x2f8f65(0x42b)]===_0x279422&&_0x547106[_0x2f8f65(0x2a0)]===_0x1630b9[_0x2f8f65(0x2a0)]&&_0x3d3208[_0x2f8f65(0x420)](_0x9f7c04,_0x547106[_0x2f8f65(0x284)])){const _0x5d529f={'row':_0x547106['range']['startRow']-_0x9f7c04['startRow'],'col':_0x547106['range'][_0x2f8f65(0x3d2)]-_0x9f7c04[_0x2f8f65(0x3d2)]},_0x1d0183={'unitId':_0x279422,'subUnitId':_0x4afdcc[_0x2f8f65(0x2a0)],'sheetName':_0x178c33,'range':{'startRow':_0x2751b4[_0x2f8f65(0x373)]+_0x5d529f[_0x2f8f65(0x2f2)],'endRow':_0x2751b4['startRow']+_0x5d529f[_0x2f8f65(0x2f2)]+_0x547106[_0x2f8f65(0x284)]['endRow']-_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x373)],'startColumn':_0x2751b4['startColumn']+_0x5d529f['col'],'endColumn':_0x2751b4['startColumn']+_0x5d529f[_0x2f8f65(0x37a)]+_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x3cd)]-_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x3d2)]}};_0x5be0e6[_0x2f8f65(0x221)](_0x2483db,_0x1d0183);const _0x2e6c8a={..._0x36f4e3,'sourceRangeInfo':_0x1d0183};this[_0x2f8f65(0x31c)](_0x279422,_0x4afdcc[_0x2f8f65(0x2a0)],_0x2483db,_0x2e6c8a),this[_0x2f8f65(0x2e2)]({'unitId':_0x279422,'token':_0x2483db,'type':Be['update'],'oldSourceRangeInfo':_0x547106,'dataRangeInfo':_0x1d0183,'targetCellInfo':_0x36f4e3[_0x2f8f65(0x1d2)]}),this[_0x2f8f65(0x3e1)]({'unitId':_0x279422,'subUnitId':_0x4afdcc[_0x2f8f65(0x2a0)],'oldSubUnitId':_0x443e80,'pivotTableId':_0x2483db,'pivotTableConfig':_0x2e6c8a,'collectionConfig':_0x5be0e6[_0x2f8f65(0x361)]()});}}}}[_0x5bf728(0x2e2)](_0x56da9f){this['_collectionChange$']['next'](_0x56da9f);}['getDataFieldManager'](_0x26ee93){const _0x1fbfa6=_0x5bf728;let _0x384ca3=this['_dataFieldManagerCollection'][_0x1fbfa6(0x21b)](_0x26ee93);return _0x384ca3||(_0x384ca3=new Ri(this,this['_univerInstanceService']),this[_0x1fbfa6(0x398)][_0x1fbfa6(0x2e3)](_0x26ee93,_0x384ca3)),_0x384ca3;}[_0x5bf728(0x28d)](_0x34b138,_0x4db7a5){const _0x46fd90=_0x5bf728;return this[_0x46fd90(0x23e)](_0x34b138)[_0x46fd90(0x278)][_0x4db7a5];}[_0x5bf728(0x27b)](_0x507ed4,_0x1a71a6,_0x27262c){const _0x5ae255=_0x5bf728;return this[_0x5ae255(0x23e)](_0x507ed4)[_0x5ae255(0x27b)](_0x1a71a6,_0x27262c);}['_ensurePivotMap'](_0x5291c8,_0x1d7b2d){const _0x337e56=_0x5bf728;let _0x2be222=this[_0x337e56(0x3a9)]['get'](_0x5291c8);_0x2be222||(_0x2be222=new Map(),this['_model']['set'](_0x5291c8,_0x2be222));let _0x2216bf=_0x2be222[_0x337e56(0x21b)](_0x1d7b2d);return _0x2216bf||(_0x2216bf=new Map(),_0x2be222['set'](_0x1d7b2d,_0x2216bf)),_0x2216bf;}[_0x5bf728(0x31c)](_0x3dbe72,_0x1230ad,_0x27bfd5,_0x54f2d7){const _0x1147eb=_0x5bf728;this[_0x1147eb(0x410)](_0x3dbe72,_0x1230ad)['set'](_0x27bfd5,_0x54f2d7);}['_deleteModelCache'](_0x3ed9f6,_0xc69c2,_0x423118){const _0x52bab5=_0x5bf728;var _0x17f6d9,_0x50c3f5,_0x27b004,_0x23fc85;((_0x50c3f5=(_0x17f6d9=this[_0x52bab5(0x3a9)][_0x52bab5(0x21b)](_0x3ed9f6))==null?void 0x0:_0x17f6d9[_0x52bab5(0x21b)](_0xc69c2))==null?void 0x0:_0x50c3f5[_0x52bab5(0x21b)](_0x423118))&&((_0x23fc85=(_0x27b004=this[_0x52bab5(0x3a9)][_0x52bab5(0x21b)](_0x3ed9f6))==null?void 0x0:_0x27b004['get'](_0xc69c2))==null||_0x23fc85[_0x52bab5(0x25a)](_0x423118));}[_0x5bf728(0x35a)](_0x275d2a,_0x16e4d3){const _0x16e21a=_0x5bf728;this[_0x16e21a(0x30e)][_0x16e21a(0x2e3)](_0x275d2a,_0x16e4d3);}[_0x5bf728(0x44f)](_0x92fd9f){const _0x48dabf=_0x5bf728;this[_0x48dabf(0x30e)][_0x48dabf(0x25a)](_0x92fd9f);}[_0x5bf728(0x38c)](_0x16860a,_0xcad73c){const _0x1cc528=_0x5bf728;let _0x4a829b=this[_0x1cc528(0x3f1)]['get'](_0x16860a);_0x4a829b||(_0x4a829b=new Map(),this[_0x1cc528(0x3f1)][_0x1cc528(0x2e3)](_0x16860a,_0x4a829b));let _0x2e08d4=_0x4a829b[_0x1cc528(0x21b)](_0xcad73c);return _0x2e08d4||(_0x2e08d4=new Map(),_0x4a829b[_0x1cc528(0x2e3)](_0xcad73c,_0x2e08d4)),_0x2e08d4;}[_0x5bf728(0x3e1)](_0x7d47d1){const _0x1e5e0d=_0x5bf728,{unitId:_0x19263a,subUnitId:_0x59b8df,pivotTableId:_0x348427,pivotTableConfig:_0xd4262b,collectionConfig:_0x55b6ad}=_0x7d47d1,_0xfeaaed={'unitId':_0x19263a,'subUnitId':_0x59b8df,'oldSubUnitId':_0x59b8df,'pivotTableId':_0x348427,'pivotTableConfig':_0xd4262b,'collectionConfig':_0x55b6ad};this['_commandService'][_0x1e5e0d(0x314)](co['id'],_0xfeaaed,{'onlyLocal':!0x0});}[_0x5bf728(0x30d)](_0x56c5fb,_0x381369,_0x47ff7a,_0x5df775,_0x49b70e,_0x1f0689,_0x3c5144,_0x1a701d=!0x1){const _0x518ebe=_0x5bf728;var _0x26fac5;this[_0x518ebe(0x234)][_0x518ebe(0x314)](Rt['id'],{'single':{'unitId':_0x56c5fb,'subUnitId':_0x381369,'type':_0x47ff7a,'pivotTableId':_0x5df775,'view':_0x49b70e,'pivotConfig':_0x1f0689},'collectionConfig':{[_0x56c5fb]:_0x3c5144}},{'onlyLocal':!0x0});const _0x4e8e96=!!((_0x26fac5=this[_0x518ebe(0x24c)](_0x5df775))!=null&&_0x26fac5[_0x518ebe(0x37d)]()),_0x417190=this[_0x518ebe(0x448)](_0x56c5fb,_0x381369,_0x5df775);_0x417190&&this[_0x518ebe(0x312)]({'view':_0x49b70e,'pivotTableId':_0x5df775,'textInfo':this[_0x518ebe(0x3dc)](),'isEmpty':_0x4e8e96,'targetCellInfo':_0x417190[_0x518ebe(0x1d2)]},_0x1a701d);}[_0x5bf728(0x312)](_0x259a83,_0xa50113){const _0x213c6b=_0x5bf728,{targetCellInfo:_0x1dd4e7,pivotTableId:_0x8df65b}=_0x259a83,{unitId:_0x20bf48,subUnitId:_0x13d848}=_0x1dd4e7,_0x83c392=this[_0x213c6b(0x38c)](_0x20bf48,_0x13d848),_0x2f31a4=_0x83c392['get'](_0x8df65b);let _0x53417f,_0x33b117;_0x2f31a4&&(_0x53417f=_0x2f31a4[_0x213c6b(0x36a)],_0x33b117=_0x2f31a4[_0x213c6b(0x1d7)]);const {rangesCache:_0x4a871e,matrix:_0x20d43b}=Ui(_0x259a83);_0x83c392[_0x213c6b(0x2e3)](_0x8df65b,{'rangeCache':_0x4a871e,'matrix':_0x20d43b,'oldMatrix':_0x33b117,'oldRangeCache':_0x53417f}),_0xa50113||this['_viewData$']['next']({'unitId':_0x20bf48,'subUnitId':_0x13d848,'pivotTableId':_0x8df65b});}[_0x5bf728(0x35c)](_0x15052b,_0x57869c,_0x85bf8,_0x1de344,_0x3289f1){const _0x4f2d7e=_0x5bf728;this[_0x4f2d7e(0x31c)](_0x15052b,_0x57869c,_0x85bf8,_0x3289f1),this['_updatePivotTableInstanceCache'](_0x85bf8,_0x1de344);}[_0x5bf728(0x2ce)](_0x568a2f,_0x26ccd9,_0xbea1f5){const _0x5635ae=_0x5bf728,_0x223158=this[_0x5635ae(0x23e)](_0x568a2f);_0x223158[_0x5635ae(0x41c)](_0xbea1f5)[_0x5635ae(0x28f)](_0xfa42c8=>{_0x223158['deleteDataField'](_0xfa42c8);}),this[_0x5635ae(0x2ea)](_0x568a2f,_0xbea1f5),this[_0x5635ae(0x2e6)](_0x568a2f,_0x26ccd9,_0xbea1f5),this[_0x5635ae(0x44f)](_0xbea1f5);}[_0x5bf728(0x432)](_0x321a91,_0x5124d7,_0x4f6be7,_0x3297d8){const _0x2953c9=_0x5bf728;this[_0x2953c9(0x31c)](_0x321a91,_0x5124d7,_0x4f6be7,_0x3297d8);}[_0x5bf728(0x448)](_0x5452f0,_0x544660,_0x421503){const _0x1736e0=_0x5bf728;var _0x362684,_0x44a16c;const _0x31ba5c=(_0x44a16c=(_0x362684=this['_model'][_0x1736e0(0x21b)](_0x5452f0))==null?void 0x0:_0x362684[_0x1736e0(0x21b)](_0x544660))==null?void 0x0:_0x44a16c[_0x1736e0(0x21b)](_0x421503);if(_0x31ba5c)return _0x31ba5c;}[_0x5bf728(0x379)](_0x21e5d1,_0x5ccedc,_0x5a0a99){const _0xbf3539=_0x5bf728;var _0x2f4c57,_0x4d01ee;const _0x2a35b5=(_0x4d01ee=(_0x2f4c57=this['_model'][_0xbf3539(0x21b)](_0x21e5d1))==null?void 0x0:_0x2f4c57[_0xbf3539(0x21b)](_0x5ccedc))==null?void 0x0:_0x4d01ee[_0xbf3539(0x21b)](_0x5a0a99);if(_0x2a35b5)return _0x2a35b5['fieldsConfig'];}['getPivotTableInstance'](_0x9a9ce9){const _0x2b7a96=_0x5bf728;return this['_pivotTableInstanceCache'][_0x2b7a96(0x21b)](_0x9a9ce9);}[_0x5bf728(0x3b5)](_0x4fa0bb){const _0x2b09cb=_0x5bf728;this[_0x2b09cb(0x3a9)]['delete'](_0x4fa0bb);const _0x5abbe0=this[_0x2b09cb(0x398)][_0x2b09cb(0x21b)](_0x4fa0bb);_0x5abbe0&&(_0x5abbe0['dispose'](),this['_dataFieldManagerCollection'][_0x2b09cb(0x25a)](_0x4fa0bb)),this['_viewData']['delete'](_0x4fa0bb),this[_0x2b09cb(0x2b2)][_0x2b09cb(0x28f)](_0x556844=>{_0x556844['deleteUnitId'](_0x4fa0bb);});}[_0x5bf728(0x235)](_0x3762fe,_0x5c2d0e,_0x14a12f,_0x481c20){const _0x226bde=_0x5bf728;return this['getDataFieldManager'](_0x14a12f[_0x226bde(0x42b)])['addCollectionByJSON'](_0x3762fe,_0x5c2d0e,_0x14a12f,_0x481c20);}[_0x5bf728(0x281)](_0x5eb6ae){const _0xaa8637=_0x5bf728;return this['getDataFieldManager'](_0x5eb6ae[_0xaa8637(0x42b)])[_0xaa8637(0x281)](_0x5eb6ae);}[_0x5bf728(0x1d4)](_0x572b90,_0x3d33f7,_0x549bee){const _0x506f2f=_0x5bf728;this[_0x506f2f(0x23e)](_0x549bee[_0x506f2f(0x42b)])['refreshData'](_0x572b90,_0x3d33f7,_0x549bee);}['removeDataField'](_0x5b7e30,_0x79febb){const _0x41164e=_0x5bf728;this[_0x41164e(0x23e)](_0x5b7e30)[_0x41164e(0x406)](_0x79febb);}[_0x5bf728(0x2ea)](_0xebadef,_0xc7099){const _0x558250=_0x5bf728;this[_0x558250(0x23e)](_0xebadef)[_0x558250(0x40e)](_0xc7099);}['getSubUnitPivotConfigs'](_0x9f83fa,_0x5a3ed7){const _0x56851a=_0x5bf728;var _0x15cca7;return(_0x15cca7=this[_0x56851a(0x3a9)][_0x56851a(0x21b)](_0x9f83fa))==null?void 0x0:_0x15cca7[_0x56851a(0x21b)](_0x5a3ed7);}[_0x5bf728(0x31b)](_0x40291c){const _0x590994=_0x5bf728;for(const [_0x941f5f,_0x5dbbe5]of this[_0x590994(0x3a9)][_0x590994(0x2d6)]())for(const [_0x59ef06,_0x2fe9b4]of _0x5dbbe5['entries']())if(_0x2fe9b4[_0x590994(0x1ff)](_0x40291c))return{'unitId':_0x941f5f,'subUnitId':_0x59ef06};return null;}[_0x5bf728(0x444)](_0x4b8942,_0x3f9787,_0x217649,_0x208fb6){const _0x2d2446=_0x5bf728,_0x5119a7=this[_0x2d2446(0x38c)](_0x4b8942,_0x3f9787);_0x208fb6?_0x5119a7['set'](_0x217649,_0x208fb6):_0x5119a7[_0x2d2446(0x25a)](_0x217649),this[_0x2d2446(0x2ad)][_0x2d2446(0x216)]({'unitId':_0x4b8942,'subUnitId':_0x3f9787,'pivotTableId':_0x217649});}[_0x5bf728(0x3bc)](){const _0x1104a1=_0x5bf728;super[_0x1104a1(0x3bc)]();}[_0x5bf728(0x436)](_0x17e8f2,_0x1e610a,_0x1a990a){const _0x319519=_0x5bf728;var _0x16736c,_0x318a01;const _0x3d6d63=(_0x318a01=(_0x16736c=this['_viewData'][_0x319519(0x21b)](_0x17e8f2))==null?void 0x0:_0x16736c[_0x319519(0x21b)](_0x1e610a))==null?void 0x0:_0x318a01['get'](_0x1a990a);return _0x3d6d63||null;}[_0x5bf728(0x393)](_0x163b62){const _0x22d16d=_0x5bf728;this[_0x22d16d(0x2f7)](_0x163b62);}[_0x5bf728(0x2f7)](_0x13a51f){const _0x1c49e3=_0x5bf728,{token:_0x5b8e35,unitId:_0x242350,subUnitId:_0x440b85}=_0x13a51f,_0x567559=_0x242350+'-'+_0x440b85+'-'+_0x5b8e35;this[_0x1c49e3(0x428)][_0x1c49e3(0x21b)](_0x567559)&&clearTimeout(this['_queryingMap'][_0x1c49e3(0x21b)](_0x567559));const _0xf8408c=setTimeout(()=>{const _0x120999=_0x1c49e3;this[_0x120999(0x3d7)](_0x13a51f),this[_0x120999(0x428)][_0x120999(0x25a)](_0x567559);},Pi);this[_0x1c49e3(0x428)][_0x1c49e3(0x2e3)](_0x567559,_0xf8408c);}['queryDirtyPivotTable'](_0x222160){const _0x2541a3=_0x5bf728,{unitId:_0x2517d2,subUnitId:_0x28470f,token:_0x3a89de,type:_0x4552b2,pivotConfig:_0x1a2942}=_0x222160,_0x4be64b=this[_0x2541a3(0x24c)](_0x3a89de),_0xbfc7ec=_0x4be64b==null?void 0x0:_0x4be64b[_0x2541a3(0x3b1)](),_0x5ea36f=_0x1a2942!=null?_0x1a2942:this[_0x2541a3(0x448)](_0x2517d2,_0x28470f,_0x3a89de);_0x5ea36f&&(_0x5ea36f['isEmpty']=!!(_0x4be64b!=null&&_0x4be64b[_0x2541a3(0x37d)]())),(_0xbfc7ec||_0x4552b2===$[_0x2541a3(0x346)])&&this[_0x2541a3(0x30d)](_0x2517d2,_0x28470f,_0x4552b2,_0x3a89de,_0xbfc7ec,_0x5ea36f,this['getDataFieldManager'](_0x2517d2)['toJSON']());}[_0x5bf728(0x361)](_0x3a6abc){const _0x53f54b=_0x5bf728,_0x55372e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x53f54b(0x23e)](_0x3a6abc)&&(_0x55372e['dataFieldManagerConfig'][_0x3a6abc]=this[_0x53f54b(0x23e)](_0x3a6abc)[_0x53f54b(0x361)]()),this['_model'][_0x53f54b(0x21b)](_0x3a6abc)){_0x55372e[_0x53f54b(0x368)][_0x3a6abc]={};const _0x1f74e1=this[_0x53f54b(0x3a9)]['get'](_0x3a6abc);_0x1f74e1!=null&&_0x1f74e1[_0x53f54b(0x222)]&&[..._0x1f74e1[_0x53f54b(0x3ab)]()][_0x53f54b(0x28f)](_0x4f419f=>{const _0x34263b=_0x53f54b,_0x4a7bc5=_0x1f74e1[_0x34263b(0x21b)](_0x4f419f);_0x4a7bc5!=null&&_0x4a7bc5[_0x34263b(0x222)]&&(_0x55372e[_0x34263b(0x368)][_0x3a6abc][_0x4f419f]={},[..._0x4a7bc5[_0x34263b(0x3ab)]()][_0x34263b(0x28f)](_0x3fa964=>{const _0x5e78e4=_0x34263b,_0x50946e=_0x4a7bc5[_0x5e78e4(0x21b)](_0x3fa964);_0x50946e&&(_0x55372e[_0x5e78e4(0x368)][_0x3a6abc][_0x4f419f][_0x3fa964]=_0x50946e);}));});}return _0x55372e;}[_0x5bf728(0x2b9)](_0x850286){const _0x174a43=_0x5bf728;var _0x4bcc16;const {dataFieldManagerConfig:_0x20c490,pivotTableConfigs:_0x540a73}=_0x850286;_0x20c490&&Object[_0x174a43(0x3ab)](_0x20c490)[_0x174a43(0x28f)](_0x62b5fb=>{const _0x32a345=_0x174a43;this[_0x32a345(0x23e)](_0x62b5fb)[_0x32a345(0x2b9)](_0x20c490[_0x62b5fb]);});const _0x49cbc2=[];if(_0x540a73){const _0x5be5df=(_0x4bcc16=this[_0x174a43(0x24a)]['get'](_0x224426)[_0x174a43(0x3fb)](_0x1e58ed))!=null?_0x4bcc16:{},{ls:_0x492717,pbk:_0x3e3ef1}=_0x5be5df,_0x348854=go(so,_0x492717,_0x3e3ef1)[_0x174a43(0x3e9)];Object[_0x174a43(0x3ab)](_0x540a73)['forEach'](_0x58f073=>{const _0xcdb7a7=_0x174a43;let _0x24a582=0x0;const _0x36bff1=_0x540a73[_0x58f073];Object[_0xcdb7a7(0x3ab)](_0x36bff1)[_0xcdb7a7(0x28f)](_0x2483d8=>{const _0x1f459f=_0xcdb7a7,_0x5e5bb3=_0x36bff1[_0x2483d8];Object[_0x1f459f(0x3ab)](_0x5e5bb3)[_0x1f459f(0x28f)](_0x1adcd0=>{const _0x1fbb24=_0x1f459f,_0x1dec1c=_0x5e5bb3[_0x1adcd0];if(_0x1dec1c){if(_0x24a582>=_0x348854)return;_0x24a582++;const _0x2ee625=this[_0x1fbb24(0x23e)](_0x58f073),_0x338395=_0x2ee625['collections'][_0x1adcd0],_0x1df27d=_0x338395[_0x1fbb24(0x363)]();let _0x3e7f98=0x0;const _0x53a76e=[];for(const _0x3d8ed8 of _0x1df27d){const _0x17eee0=_0x338395[_0x1fbb24(0x437)](_0x3d8ed8);if(_0x3bed76(_0x17eee0)){const _0x16a3f5=_0x17eee0[_0x1fbb24(0x213)](),_0x252f96=_0x338395['getFieldById'](_0x16a3f5);_0x252f96&&_0x53a76e[_0x1fbb24(0x42a)]([_0x17eee0,_0x252f96]);continue;}_0x2ee625['refreshDataField'](_0x3d8ed8,_0x1dec1c[_0x1fbb24(0x3f8)],_0x3e7f98),_0x3e7f98++;}_0x53a76e[_0x1fbb24(0x28f)](([_0x1e21fa,_0x4e061e])=>{const _0x60b874=_0x1fbb24;_0x1e21fa[_0x60b874(0x237)](_0x4e061e);});const _0x4ddb2f=new _0x15d468(_0x338395);_0x4ddb2f[_0x1fbb24(0x2b9)](_0x1dec1c[_0x1fbb24(0x427)]),this[_0x1fbb24(0x35c)](_0x58f073,_0x2483d8,_0x1adcd0,_0x4ddb2f,_0x1dec1c);const _0x302097=_0x4ddb2f['query']();_0x49cbc2[_0x1fbb24(0x42a)]({'unitId':_0x58f073,'subUnitId':_0x2483d8,'pivotTableId':_0x1adcd0,'view':_0x302097['toJSON'](),'pivotConfig':_0x1dec1c,'type':$[_0x1fbb24(0x2b4)]});const _0x460654=!!_0x4ddb2f[_0x1fbb24(0x37d)](),_0xc07965={'view':_0x302097,'pivotTableId':_0x1adcd0,'textInfo':this[_0x1fbb24(0x3dc)](),'isEmpty':_0x460654,'targetCellInfo':_0x1dec1c[_0x1fbb24(0x1d2)]};this[_0x1fbb24(0x312)](_0xc07965,!0x1);}});});});}_0x20c490&&Object[_0x174a43(0x3ab)](_0x20c490)[_0x174a43(0x28f)](_0x18e541=>{const _0x2a8418=_0x174a43,_0x1cda5e=this[_0x2a8418(0x23e)](_0x18e541);this[_0x2a8418(0x30c)][_0x2a8418(0x216)](_0x1cda5e[_0x2a8418(0x278)]);}),this[_0x174a43(0x234)]['executeCommand'](Rt['id'],{'batch':_0x49cbc2,'collectionConfig':_0x20c490},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x4cd27c=_0x5bf728;this[_0x4cd27c(0x3d8)](this[_0x4cd27c(0x2a2)][_0x4cd27c(0x1cd)]({'toJson':_0xbcbe2=>JSON[_0x4cd27c(0x3c7)](this[_0x4cd27c(0x361)](_0xbcbe2)),'parseJson':_0x2016f5=>{if(!_0x2016f5)return{};try{return JSON['parse'](_0x2016f5);}catch{return{};}},'businesses':[_0x332ca7[_0x4cd27c(0x25d)]],'pluginName':ao,'onLoad':(_0x398f14,_0x4c6792)=>{const _0x2c361c=_0x4cd27c;this[_0x2c361c(0x2b9)](_0x4c6792);},'onUnLoad':_0x439719=>{const _0xc2a4d=_0x4cd27c;this[_0xc2a4d(0x3b5)](_0x439719);}}));}};G=Ei([nt(0x0,_0x360cfb(_0x121ef7)),nt(0x1,_0x2fecb8),nt(0x2,_0x360cfb(_0x2dfd91)),nt(0x3,_0x4e31c1),nt(0x4,_0x360cfb(_0x4679cb))],G);const xi={0x0:{0x0:{'v':_0x5bf728(0x3c6),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x5bf728(0x3cb),'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':_0x5bf728(0x2f2),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Yo=(_0x37c595,_0x25687d)=>{const _0x394648=_0x5bf728,_0x9d3b4d=new _0x43fcd2(),_0x533da3=new _0x43fcd2(xi),{row:_0x4fa1e2,col:_0x12106b}=_0x25687d;_0x533da3[_0x394648(0x2f0)]((_0x31e9a6,_0x8f235c,_0x3099b9)=>{const _0x541c2f=_0x394648;let _0x1b7133='';_0x3099b9['v']==='filter'?_0x1b7133=_0x37c595[_0x541c2f(0x3c6)]:_0x3099b9['v']==='row'?_0x1b7133=_0x37c595[_0x541c2f(0x2f2)]:_0x3099b9['v']===_0x541c2f(0x3cb)?_0x1b7133=_0x37c595['column']:_0x3099b9['v']===_0x541c2f(0x2eb)&&(_0x1b7133=_0x37c595[_0x541c2f(0x2eb)]),_0x9d3b4d['setValue'](_0x31e9a6+_0x4fa1e2,_0x8f235c+_0x12106b,{..._0x3099b9,'v':_0x1b7133});});const _0x1782e5=_0x48d9e9['deepClone'](Bt);return Object[_0x394648(0x3ab)](Bt)[_0x394648(0x28f)](_0x208194=>{const _0x3259ef=_0x394648;_0x1782e5[_0x208194]=Bt[_0x208194][_0x3259ef(0x266)](_0x32140d=>({..._0x32140d,'startRow':_0x32140d[_0x3259ef(0x373)]+_0x4fa1e2,'endRow':_0x32140d['endRow']+_0x4fa1e2,'startColumn':_0x32140d['startColumn']+_0x12106b,'endColumn':_0x32140d[_0x3259ef(0x3cd)]+_0x12106b}));}),{'matrixCache':_0x9d3b4d,'rangesCache':_0x1782e5};};function Oi(_0x3e9ddd,_0x1d4455){const _0x41d940=_0x5bf728;let _0x5b3b6a='';const _0x2f69d5=this[_0x41d940(0x3dc)]();switch(_0x1d4455){case _0x597cf6[_0x41d940(0x388)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2b1)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3e9)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.countName']+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3f5)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2cb)]+_0x3e9ddd;break;case _0x597cf6['max']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x3d5)]+_0x3e9ddd;break;case _0x597cf6['min']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x24f)]+_0x3e9ddd;break;case _0x597cf6['product']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x25b)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x355)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x1d8)]+_0x3e9ddd;break;case _0x597cf6['stdDevp']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x22b)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3e3)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2db)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x38e)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.varName']+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x2c9)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.varpName']+_0x3e9ddd;break;default:_0x5b3b6a=_0x3e9ddd;break;}return _0x5b3b6a;}function ki(_0x594564,_0x2032f3,_0x3db150,_0x31e07c,_0x6907d8){const _0x2e2664=_0x5bf728;var _0x4694e7,_0x228728,_0x24eb20,_0x122fc8,_0x5a7274;const _0x148c74=_0x5508a5(_0x594564,_0x2032f3),{rangesInfo:_0x484719,areaInfo:_0x493b5e,headerMap:_0x73f3f2}=_0x6907d8;if(!_0x484719||!_0x493b5e||!_0x73f3f2)return;const _0x5bd394=Object[_0x2e2664(0x3ab)](_0x484719)[_0x2e2664(0x2aa)](_0xa6f0fc=>_0x484719[_0xa6f0fc][_0x2e2664(0x27c)](_0x3e0ae2=>_0x3d3208[_0x2e2664(0x420)](_0x3e0ae2,_0x148c74))),_0x3db039=_0x493b5e;let _0x1badf0,_0x1dad70,_0x36dd66;if(_0x5bd394==='rowRanges')_0x1badf0=(_0x4694e7=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x3b6)])==null?void 0x0:_0x4694e7[_0x594564],_0x1dad70=(_0x228728=_0x73f3f2==null?void 0x0:_0x73f3f2[_0x2e2664(0x3d9)])==null?void 0x0:_0x228728[_0x2032f3],_0x36dd66=_0x1dad70==null?void 0x0:_0x1dad70[_0x2e2664(0x390)];else{if(_0x5bd394==='colRanges')_0x1badf0=(_0x24eb20=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x353)])==null?void 0x0:_0x24eb20[_0x2032f3],_0x1dad70=(_0x122fc8=_0x73f3f2[_0x2e2664(0x254)])==null?void 0x0:_0x122fc8[_0x594564+0x1+_0x2032f3-_0x484719[_0x2e2664(0x1e5)][0x0]['startColumn']],_0x36dd66=_0x1dad70==null?void 0x0:_0x1dad70[_0x2e2664(0x390)];else{if(_0x5bd394===_0x2e2664(0x422))_0x1badf0=(_0x5a7274=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x3ce)])==null?void 0x0:_0x5a7274[_0x2032f3],_0x36dd66=_0x1badf0==null?void 0x0:_0x1badf0['tableFieldId'];else{if(_0x5bd394===_0x2e2664(0x329)){const _0x5379b7=_0x3db150==null?void 0x0:_0x3db150['fi'];_0x5379b7!==void 0x0&&(_0x36dd66=_0x31e07c['getFilterFieldIdByIndex'](_0x5379b7));}}}}return{'filterId':_0x36dd66,'info':_0x1badf0,'data':_0x3db150,'headerInfo':_0x1dad70};}function Li(_0x425f3d,_0x4139e6,_0x236f81){const _0x17c2ed=_0x5bf728,_0x302034=_0x425f3d[_0x17c2ed(0x35d)],_0x36e7fa=_0x302034[_0x17c2ed(0x363)](),_0x151231=new Set();_0x425f3d[_0x17c2ed(0x33b)](_0x2eebaa=>{const _0x38f057=_0x17c2ed;_0x151231[_0x38f057(0x2de)](_0x2eebaa[_0x38f057(0x1e0)]);});const _0xc09cde=_0x36e7fa[_0x17c2ed(0x266)](_0x27586f=>{const _0x135c79=_0x17c2ed,_0x267b14=_0x302034[_0x135c79(0x437)](_0x27586f);return{'checked':_0x151231['has'](_0x27586f),'dataFieldId':_0x267b14['id'],'id':_0x267b14['id'],'name':_0x302034[_0x135c79(0x2a1)](_0x267b14['id']),'type':_0x267b14[_0x135c79(0x2a6)](),'pivotTableId':_0x4139e6};}),_0xc2f167=[];_0x425f3d[_0x17c2ed(0x2d9)](_0x3a6ce8['Row'],_0x570bc8=>{const _0x5d43bd=_0x17c2ed;_0xc2f167[_0x5d43bd(0x42a)]({'dataFieldId':_0x570bc8[_0x5d43bd(0x1e0)],'tableFieldId':_0x570bc8[_0x5d43bd(0x3f9)](),'displayName':_0x570bc8[_0x5d43bd(0x2a1)]()});});const _0x2f6b40=[];_0x425f3d['iterateFieldByArea'](_0x3a6ce8['Column'],_0x549b15=>{const _0x32ffbc=_0x17c2ed;_0x2f6b40[_0x32ffbc(0x42a)]({'dataFieldId':_0x549b15[_0x32ffbc(0x1e0)],'tableFieldId':_0x549b15['getId'](),'displayName':_0x549b15[_0x32ffbc(0x2a1)]()});});const _0x577d40=[];if(_0x425f3d[_0x17c2ed(0x2d9)](_0x3a6ce8[_0x17c2ed(0x409)],_0x5efae0=>{const _0x58c52c=_0x17c2ed;_0x577d40[_0x58c52c(0x42a)]({'dataFieldId':_0x5efae0[_0x58c52c(0x1e0)],'tableFieldId':_0x5efae0['getId'](),'displayName':_0x5efae0[_0x58c52c(0x2a1)](),'format':_0x5efae0['getFormat'](),'subTotalType':_0x5efae0['getSubtotal']()});}),_0x577d40[_0x17c2ed(0x395)]>0x1){const _0x174048=_0x425f3d['getValueIndex']();(_0x425f3d['isColMultiMeasure']()?_0x2f6b40:_0xc2f167)[_0x17c2ed(0x32e)](_0x174048,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x17c2ed(0x1cf)});}const _0x3343e1=[];_0x425f3d['iterateFieldByArea'](_0x3a6ce8['Filter'],_0x542a63=>{const _0x31b67f=_0x17c2ed;_0x3343e1[_0x31b67f(0x42a)]({'dataFieldId':_0x542a63[_0x31b67f(0x1e0)],'tableFieldId':_0x542a63['getId'](),'displayName':_0x542a63[_0x31b67f(0x2a1)]()});});const _0x243729=_0x236f81[_0x17c2ed(0x3f8)];return{'sourceList':_0xc09cde,'sourceRange':_0x243729,'rowFields':_0xc2f167,'columnFields':_0x2f6b40,'valueFields':_0x577d40,'filterFields':_0x3343e1,'positionInfo':_0x236f81['targetCellInfo']};}function fo(_0xfb10a9,_0x5ef61b,_0x44cdc6='',_0x2042aa={}){const _0x3306e3=_0x5bf728,_0x1859e4=_0xfb10a9['get'](_0x2a9621);for(const _0x2d95ca in _0x5ef61b)if(Object[_0x3306e3(0x407)]['hasOwnProperty'][_0x3306e3(0x248)](_0x5ef61b,_0x2d95ca)){const _0x747a5c=_0x44cdc6?_0x44cdc6+'.'+_0x2d95ca:_0x2d95ca;typeof _0x5ef61b[_0x2d95ca]==_0x3306e3(0x310)&&_0x5ef61b[_0x2d95ca]!==null&&!Array[_0x3306e3(0x41a)](_0x5ef61b[_0x2d95ca])?fo(_0xfb10a9,_0x5ef61b[_0x2d95ca],_0x747a5c,_0x2042aa):_0x2042aa[_0x747a5c]=_0x1859e4['t'](_0x747a5c);}return _0x2042aa;}const $t=_0x4d90c0=>{const _0x186f75=_0x5bf728;if(!_0x4d90c0)return[];const {rowRanges:_0x2d95ea,colRanges:_0xeb9a0b,cornerRanges:_0x3d427c,dataRanges:_0x4a6cc2,pageRanges:_0x409c6d}=_0x4d90c0,_0xd7f24a=[..._0xeb9a0b,..._0x2d95ea,..._0x4a6cc2,..._0x3d427c]['filter'](_0x143d11=>_0x143d11[_0x186f75(0x373)]>=0x0&&_0x143d11[_0x186f75(0x3d2)]>=0x0&&_0x143d11[_0x186f75(0x320)]>=0x0&&_0x143d11[_0x186f75(0x3cd)]>=0x0);let _0x37e8ce=Number[_0x186f75(0x296)],_0x4fd78d=Number['MIN_SAFE_INTEGER'],_0xb081bc=Number[_0x186f75(0x296)],_0x433035=Number[_0x186f75(0x1da)];for(let _0x37a0f0=0x0;_0x37a0f0<_0xd7f24a['length'];_0x37a0f0++)_0x37e8ce=Math[_0x186f75(0x411)](_0x37e8ce,_0xd7f24a[_0x37a0f0][_0x186f75(0x373)]),_0x4fd78d=Math[_0x186f75(0x2c1)](_0x4fd78d,_0xd7f24a[_0x37a0f0]['endRow']),_0xb081bc=Math['min'](_0xb081bc,_0xd7f24a[_0x37a0f0][_0x186f75(0x3d2)]),_0x433035=Math['max'](_0x433035,_0xd7f24a[_0x37a0f0]['endColumn']);return[..._0x409c6d,{'startRow':_0x37e8ce,'endRow':_0x4fd78d,'startColumn':_0xb081bc,'endColumn':_0x433035}];};function _0x461b(){const _0xe701fc=['New','length','Style','addPivotField','_dataFieldManagerCollection','panel','setSortInfo','12tiFbkX','SetCollapse','refreshDataField','191703JswEOH','getDataFieldByDataFieldId','sheet.command.add-pivot-table','getOwnPropertyDescriptor','disposableCollection','sheets-pivot.cellDateGroupDisplay.hourMinute','getName','210670gfOWnV','getPivotItemRenderInfoCache','columnFields','setPivotSetting','_model','UpdateSource','keys','_initPivotDataGetListener','updateViewInfo','getRangeData','adjustSheetCellData','setRangeValueRedoMutation','query','getFieldPositionInfoById','getPivotTableRangeInfo','node','deleteUnitId','rowInfo','getFormatInfo','pivotMutationGenerate','_sheetInterceptorService','floor','sheets-pivot.dateGroup.month','dispose','removePivotField','1972022xoSMFX','UpdateValuePosition','#eceeff','params','valueIndex','getFieldFormat','dateType','valueFields','filter','stringify','_onRefRangeChange','remove','addPivotTableWithConfig','column','_globalSubject','endColumn','cornerInfo','sheet.command.pivot-drill-down','asyncInterceptor','markDirty$','startColumn','dataFieldManagerConfig','generateNewSheetName','sheets-pivot.maxName','originTargetInfo','queryDirtyPivotTable','disposeWithMe','rowHeaderMap','2485857KLvqSz','sheet.mutation.set-pivot-value-filter','getTextInfo','_exclusiveRangeService','getRowCount','versions','(Blank)','updateConfig','addFieldWithSourceId','sum','valueFilter','subTotalStyle','symbol','pivotTableIndexConfig','prefix','count','sheet.mutation.send-pivot-config-local','Year','startCollectChangeset','setPivotTableConfig','sheets-pivot.cellDateGroupDisplay.quarter','clearRenderCache','cellValue','_viewData','SetPivotCollapse','updateFieldPosition','limit\x20pivot','countNums','Column','SHEET_PIVOT_TABLE_PLUGIN','sourceRangeInfo','getId','sheets-pivot.dateGroup.minute','getConfig','workbook\x20is\x20not\x20found','setRangeKeyMap','forRow','onCommandExecuted','pivotConfigChange$','setPivotSort','setRange','onStarting','_ensurePivotItemRenderValueMatrixCache','SetOptions','deleteDataField','prototype','getDataFieldItemInfo','Value','renameField','sheet.mutation.send-pivot-data-local','getMatrixValue','rgb(255,255,255)','removeCollectionImp','_initDataSendListener','_ensurePivotMap','min','custom','getMatrixFromRunTimeData','pivotTableId','_initGlobalComputed','_globalComputingSrv','setPivotFilter','_globalComputedStartHelpFunc','setFieldFormat','isArray','version','getNoUsedDataFieldIds','_updateRenderEmptyCache','MovePivotField','sheet.command.set-pivot-fields-config','contains','onQueryStart','cornerRanges','Month','movePivotField','viewData$','getMatrix','fieldsConfig','_queryingMap','RemovePivotField','push','unitId','sheet.mutation.set-pivot-format','2504ZHojQH','getFieldCountByArea','subtotal','_generateUniqueVersion','sheets-pivot.cellDateGroupDisplay.minute','setPivotTable','_createExclusiveRange','AddPivotTable','collectionChange$','getViewData','getFieldById','updateRangeKeyMap','Var\x20of\x20','sheet.command.update-pivot-table-source-range','_initClearSelectionCommandInterceptor','_sheetsPivotTableConfigModel','sheets-pivot.dateGroup.hourMinute','SetPivotSetting','redos','sheets-pivot.cellDateGroupDisplay.yearMonthDate','rangeType','sheets-pivot.cellDateGroupDisplay.yearQuarter','updateAllDisplayName','sideEffectUpdateWorkerCache','sheets-pivot.dateGroup.quarter','rangeKeyMap','fetchThroughAsyncInterceptors','getPivotTableConfig','configVersion$','_subjectCollectionChange','sheets-pivot.subTotal','getTypeOfUnitDisposed$','textInfo','updatePivotTableMatrixInfo','_deletePivotTableInstanceCache','NotNumber','RemoveField','setValueFilterInfo','Subtotal','parse','uniqueDataFieldName','sheets-pivot.cellDateGroupDisplay.month','_sheetsPivotTableService','registerPluginResource','getColumnCount','ΣValue','Minute','_sheetsSelectionsService','targetCellInfo','dataFields','refreshData','getformat','getValuePosition','matrix','sheets-pivot.stdDevName','sheet.mutation.remove-pivot-table','MIN_SAFE_INTEGER','getUnit','setLabelFilterInfo','minDate','_refRangeService','_initLocale','dataFieldId','existing','getRangeStartEndInfo','getSheets','isDate','colRanges','sheets-pivot.dateGroup.monthDate','getActiveSheet','getFullYear','_viewUpdate$','Product\x20of\x20','getColumnWidth','sheet.mutation.remove-group-collection','AddField','#FFFFFF','_init','updateDataFieldsCollection','_ensurePivotItemRenderInfoCache','colStyle','triggerDirtyFeature','setSubtotalType','_sheetsPivotTableAdaptorModel','updateFieldSourceInfo','error','width','lastRow','rangeKey','getStyles','BadReference','setRangeValueUndoMutation','initDataRanges','has','from','_subjectViewChange','getAutoDisplayNameFunction','getSortInfo','updateConfigCache','sheets-pivot.dateGroup.yearMonthDate','_toJSON','_collectionChange$','return\x20','addDataFieldWithoutUnitInfo','_subjectFieldsCollectionChange','leftOffset','fieldId','sheet.command.set-pivot-value-filter','blank','sheets-pivot.cellDateGroupDisplay.date','sheet.mutation.pivot-update-value-position','_markDirty$','getRangeKeyList','getOriginFieldId','251735UanGbh','setOptions','next','oldRangeInfo','NAME','lastCol','getFilterInfo','get','\x20-\x20','getTextSize','_pivotTableMatrixInfo','filterFields','#b2b2b2','handleMoveRange','size','includes','sheets.tabs.sheet','Set','leafStyle','rowCount','YearMonthDate','resetPivotTable','DrillDown','sheets-pivot.stdDevpName','sheet.mutation.remove-pivot-field','headerMap','concat','Row','updateRenderCache','interceptCommand','getRangeKey','isBottomTotal','_commandService','addCollectionByJSON','result','refreshGroupField','_host','new','string','_initRemoveSheetCommandInterceptor','getDate','sheets-pivot.cellDateGroupDisplay.yearMonth','getDataFieldManager','getSheetId','other','_dataSyncPrimaryController','#f4f4f5','SetPivotFilter','asObservable','#e6ebfb','colCount','rangesInfo','call','_pivotTableRangeInfo','_injector','_pivotConfigChange$','getPivotTableInstance','iterateFieldDim','removeDataField','sheets-pivot.minName','NUMBER','STRING','setValuePivotFilter','_univerInstanceService','colHeaderMap','fields','dateGroupField','UpdateFieldPosition','AddPivotTableWithConfig','foreach','delete','sheets-pivot.productName','registerRefRange','UNIVER_SHEET','charCodeAt','intercept','resetArea','YearMonth','getHeaderMapItem','sheets-pivot.emptyPivot.filter','intersects','data','map','batch','sheet.mutation.add-group-collection','getDataFieldByTableId','dimension','setValue','_textInfo','getTableFieldById','setConfig','_initRegisterCommand','ManualFilter','paths','deleteField','getLastRow','16NOOoRz','_sheetsPivotRpcService','_requestResolvers','Date','collections','_ensurePivotTableRangeInfo','value','getUpdateRangeDeleteIds','some','sheets-pivot.cellDateGroupDisplay.year','notExecuteFormula','_initCommandInterceptListener','single','createCollectionWithDataRange','28vPcDWT','getUnitId','range','rowRanges','StdDev\x20of\x20','Values','getSubUnitPivotMatrix','generateMutationsByRanges','registerCallbackWithEvent','getPivotTableMatrixInfo','oldMatrix','getCollection','createDataFieldId','forEach','realDeleteValue','Varp\x20of\x20','getSheetBySheetId','sheet.mutation.update-date-group','fieldsCollectionChange$','#1d32e9','MAX_SAFE_INTEGER','sheets-pivot.columnName','addCollection','sheet.mutation.set-pivot-field-subtotal-type','Existing','collectionConfig','updateValuePosition','getInterceptPoints','measure','number','subUnitId','getDisplayName','_resourceManagerService','StdDevp\x20of\x20','getPivotTableCellData','removeField','getFieldDataType','_initPivotTextInfo','dataRangeInfo','_collectionConfigModel','find','fontRenderExtension','cornerStyle','_viewData$','sheets-pivot.dateGroup.year','sheet.command.move-pivot-field','sheet.command.remove-pivot-field','sheets-pivot.averageName','needSameDeleteModel','registerCommand','Add','formJSON','setTextInfo','filterInfo','endCollectChangeset','fromJSON','sheet.command.add-pivot-field','type','addRecord','NORMAL','registerDirtyService','NUM','collection','max','ResetPivotTable','Quarter','pbt','_initViewModelBySheetInterceptor','sheet.command.set-pivot-filter','getSubUnitPivotRenderCache','HourMinute','varp','SetValueFilter','sheets-pivot.countNumsName','level','sourceName','removePivotTable','setDirty','body','getColCount','COLUMN','RenameField','subscribe','getPivotTableIdByCell','entries','sheets-pivot.grandTotal','Filter','iterateFieldByArea','random','sheets-pivot.sumName','Sum\x20of\x20','_pivotInitCompleted$','add','_globalComputedEndHelpFunc','30jEVKOv','getSubUnitPivotConfigs','broadcastCollectionChange','set','substring','_ensurePivotTableMatrixInfo','_deleteModelCache','getRefRangeMutationsByMoveRange','options','dataStream','removeCollections','values','getFieldInfo','sheet.command.set-pivot-sort','218lDnbGI','_getAutoName','forValue','fieldIds','row','grandTotal','Count\x20of\x20','14GHjmAY','sheet.mutation.send-init-pivot-text-local','updateDirtyPivotTable','getSourceName','getIndexesByPathStr','message','_config','getMonth','9iDhCkV','markDirty','_initSnapshot','FORCE_STRING','sheets-pivot.dateGroup.yearQuarter','setName','areaInfo','getValueFilterInfos','sheet.command.set-pivot-field-setting','updatePivotTableRangeInfo','Max\x20of\x20','SetPivotTableConfig','_configVersion$','isValue','reset','_fieldsCollectionChange$','updateView','_pivotTableInstanceCache','sheet.mutation.rename-pivot-field','object','sheets-pivot.dateGroup.yearMonth','updateViewData','removeValueFilterInfoByValueFieldId','executeCommand','setDataRecordCount','Expand','_sheetsPivotDataSourceModel','clearExclusiveRangesByGroupId','Grand\x20Total','undos','getTargetByPivotId','_updateModelCache','setSourceName','collapseInfo','sheet.command.move-pivot-table','endRow','removeSourceRangeChange','getDirtyInfo','_localeService','Panel','_featureCalculationManagerService','SetSubtotalType','updatePivotSource','SetPivotSort','pageRanges','_pivotRenderInfoCache','getDataFieldId','document','registerSyncingMutations','splice','sheet.operation.pivot-table-view-formula-mark-dirty','setPivotCollapse','MUTATION','UpdatePivotSource','displayName','#e6ebfa','rowFields','addField','pushUndoRedo','addExclusiveRange','maxDate','sheets-pivot.value','iterateField','sheets-pivot.blank','2085AzKLkf','getCellRaw','sheet.mutation.pivot-update-field-source-info','NotFunction','getCellMatrix','shouldClear','_getPivotAppliedRanges','Div0','_activeDirtyManagerService','Delete','token','split','setPivotInitCompleted','removeValueFilterInfo','REF','interceptor','updateCollectionConfig','ptn','sheets-pivot.config','getCurrentUnitForType','originalFieldId','getLastCol','colInfo','_initUnitDisposed','stdDev','getSheetBySheetName','CELL_CONTENT','slice','SHEET_PIVOT_IN_MAIN_THREAD','_updatePivotTableInstanceCache','getValue','addPivotTable','dataFieldsCollection','BLANK_PLACEHOLDER','handleSourceRangeChange','sheetName','toJSON','name','getFieldIds','AddPivotField','Min\x20of\x20','defineProperty','update','pivotTableConfigs','format','rangeCache','SetSortInfo','sheets-pivot.emptyPivot.column','register','sortInfo','getValueIndex','sheets-pivot.dateGroup.date','viewUpdate$','_pivotRenderValueMatrixCache','startRow','sheets-pivot.other','sheet.mutation.send-pivot-view-local','valuePosition','_initConfig','info','getPivotTableModelConfig','col','getAutoFitColumnsMutations','Hour','isEmpty','GrandTotal','getSubtotal','COMMAND','sheet.mutation.set-pivot-position','getPivotDisplayConfig','getIntersects','getPivotPerformCheck','onQueryEnd','SetValuePivotFilter','drillDown','average','DIV_BY_ZERO','getTargetByPivotTableId','_configService','_ensureViewDataMap','setCollapse','var','sheet.mutation.get-pivot-data-local','tableFieldId','None','unshift','addDirtyPivotTable'];_0x461b=function(){return _0xe701fc;};return _0x461b();}function Bi(_0x467bce,_0x45bb67){const _0x1e4041=_0x5bf728,_0x4aad59=_0x45bb67[_0x1e4041(0x3c1)]['drillDown'],{pivotTableId:_0x437ff8,unitId:_0x251cdd,subUnitId:_0x1ad941}=_0x45bb67;if(!_0x4aad59)return;const _0xa4be3b=_0x467bce['get'](G),_0x928b2=_0xa4be3b[_0x1e4041(0x24c)](_0x437ff8),_0x8fb693=_0xa4be3b[_0x1e4041(0x448)](_0x251cdd,_0x1ad941,_0x437ff8);if(!_0x928b2||!_0x8fb693)return;const _0x313b34=_0x928b2[_0x1e4041(0x2f9)](_0x4aad59['tuple']);if(!(_0x313b34!=null&&_0x313b34[_0x1e4041(0x395)]))return;const _0x111396=_0x8fb693[_0x1e4041(0x3f8)],{unitId:_0x700434,subUnitId:_0x30670a,range:_0x1aa6fd}=_0x111396;let _0x57eff7=0x0;const _0x129d65=_0x928b2[_0x1e4041(0x35d)]['getFieldIds']()['reduce']((_0x1f9d6c,_0x52ecb7)=>{var _0x467aea;const _0x402ac2=(_0x467aea=_0x928b2['getDataFieldByDataFieldId'](_0x52ecb7))==null?void 0x0:_0x467aea['getformat']();return _0x402ac2&&(_0x1f9d6c[String(_0x57eff7)]=_0x402ac2),_0x57eff7++,_0x1f9d6c;},{});return{'indexes':_0x313b34,'range':_0x1aa6fd,'sourceUnitId':_0x700434,'sourceSubUnitId':_0x30670a,'formatMap':_0x129d65};}function Ko(_0x27be3b,_0x4b7147){const _0x9444da=_0x5bf728;if(!_0x27be3b||!_0x4b7147)return!0x0;const _0x589517=_0x30309b(Wo,Jo),_0x5e8e45=new Function(_0x9444da(0x208)+_0x589517)()(_0x27be3b,_0x4b7147)['message'],_0x49259c=_0x174e93(_0x5e8e45,'sf',Lo);return!((_0x5e8e45==null?void 0x0:_0x5e8e45['rt'])===_0x2c1fa3['NO_COMMERCIAL']&&!_0x49259c);}function go(_0x1c240c,_0x31761a,_0xbec88b){const _0xadf77=_0x5bf728,_0x46d45f={'count':_0x1c240c,'timeValid':!0x1};if(!_0x31761a||!_0xbec88b)return _0x46d45f;const _0x4942cc=_0x30309b(Wo,Jo),_0x34df3f=new Function(_0xadf77(0x208)+_0x4942cc)()(_0x31761a,_0xbec88b);if(_0x34df3f!=null&&_0x34df3f['valid']){const _0xe566d9=_0x34df3f[_0xadf77(0x2fa)],_0x1c0a08=_0x174e93(_0xe566d9,'sf',Lo);return{'count':_0x108804(_0xe566d9,_0x1c0a08,_0xadf77(0x34e),_0x1c240c,_0x1c240c,0x0),'timeValid':_0x1c0a08};}return _0x46d45f;}function Ho(_0x5963ba,_0x5781d3,_0x38693c,_0x5c662a){const _0x4f8abe=_0x5bf728,_0x37fbe4={'subUnitId':_0x38693c,'unitId':_0x5781d3,'cellValue':_0x75ebc2(_0x5c662a)},_0x524b97=_0x289bda(_0x5963ba,_0x37fbe4);let _0x5b3418=!0x1;return new _0x43fcd2(_0x524b97[_0x4f8abe(0x3f0)])[_0x4f8abe(0x2f0)]((_0xdd66f9,_0x533d63,_0x2246ac)=>{const _0x48bb87=_0x4f8abe;if(!_0x5b3418&&_0x2246ac&&(_0x2246ac[_0x48bb87(0x412)]||_0x2246ac['f']||_0x2246ac['p']||_0x2246ac['s']||_0x2246ac['si']||_0x2246ac['t']||_0x2246ac['v']))return _0x5b3418=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x24965e['id'],'params':_0x524b97},'setRangeValueRedoMutation':{'id':_0x24965e['id'],'params':_0x37fbe4},'shouldClear':_0x5b3418};}function $i(_0x32f605){const {row:_0xac7a7,col:_0x1dd284}=_0x32f605,_0x46606c={'startRow':_0xac7a7,'endRow':_0xac7a7,'startColumn':_0x1dd284,'endColumn':_0x1dd284},_0x507798={'startRow':_0xac7a7+0x2,'endRow':_0xac7a7+0xe,'startColumn':_0x1dd284,'endColumn':_0x1dd284+0x6};return[_0x46606c,_0x507798];}function Gi(_0x3eeec7,_0x25f980,_0x1d20e8){const _0x26a1c2=_0x5bf728,{cornerView:_0x1dbc84,rowView:_0x250366,colView:_0x161196,pageView:_0x5c4b9f}=_0x3eeec7,{row:_0x4b474e,col:_0x16de01}=_0x25f980;if(_0x1d20e8)return{'rowCount':bi+_0x4b474e,'colCount':Si+_0x16de01};const _0x3d92e5=_0x5c4b9f[_0x26a1c2(0x1f9)]>-0x1?_0x5c4b9f[_0x26a1c2(0x1f9)]+0x1:0x0,_0x1a1f48=_0x5c4b9f[_0x26a1c2(0x219)]>-0x1?_0x5c4b9f['lastCol']:0x0,_0x25e203=_0x4b474e+_0x3d92e5+(_0x3d92e5?0x1:0x0)+_0x1dbc84[_0x26a1c2(0x227)]+_0x250366['rowCount'],_0x263d5d=_0x16de01+_0x1a1f48,_0x4ce9df=_0x16de01+_0x1dbc84[_0x26a1c2(0x246)]+_0x161196[_0x26a1c2(0x246)],_0x4cbb4d=Math[_0x26a1c2(0x2c1)](_0x263d5d,_0x4ce9df);return{'rowCount':_0x25e203,'colCount':_0x4cbb4d};}function we(_0x5e2f8b,_0x52531f,_0x2f1586,_0x5340b8){const _0x587134=_0x5bf728,{row:_0x19f574,col:_0x18a4f1,unitId:_0x12ccbd,subUnitId:_0x597dcd}=_0x2f1586,_0x1ad341=Gi(_0x52531f,{'row':_0x19f574,'col':_0x18a4f1},_0x5340b8),_0x2c24ea=_0x5e2f8b[_0x587134(0x21b)](_0x2fecb8),_0x56eff0=_0x5b1933(_0x2c24ea,{'unitId':_0x12ccbd,'subUnitId':_0x597dcd}),_0x510e70=[],_0x42929a=[];if(!_0x56eff0)return{'undos':_0x42929a,'redos':_0x510e70};const {worksheet:_0x3b5e0e}=_0x56eff0,_0x1f6244=_0x3b5e0e['getRowCount'](),_0x51c35c=_0x3b5e0e[_0x587134(0x1ce)]();return _0x1f6244<_0x1ad341[_0x587134(0x227)]&&(_0x510e70[_0x587134(0x42a)]({'id':_0x70acf4['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':_0x1f6244,'endRow':_0x1ad341[_0x587134(0x227)]-0x1,'startColumn':0x0,'endColumn':_0x51c35c-0x1}}}),_0x42929a['push']({'id':_0x2c9689['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':_0x1f6244,'endRow':_0x1ad341['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x51c35c-0x1}}})),_0x51c35c<_0x1ad341[_0x587134(0x246)]&&(_0x510e70[_0x587134(0x42a)]({'id':_0xded336['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':0x0,'endRow':_0x1f6244-0x1,'startColumn':_0x51c35c,'endColumn':_0x1ad341['colCount']-0x1}}}),_0x42929a[_0x587134(0x42a)]({'id':_0x19ed4c['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':0x0,'endRow':_0x1f6244-0x1,'startColumn':_0x51c35c,'endColumn':_0x1ad341[_0x587134(0x246)]-0x1}}})),{'undos':_0x42929a,'redos':_0x510e70};}function ji(_0x28772d){const _0x24c2a4=_0x5bf728;let _0x226881=0x0;for(let _0x149db9=0x0;_0x149db9<_0x28772d[_0x24c2a4(0x395)];_0x149db9++){const _0x38e273=_0x28772d[_0x24c2a4(0x25e)](_0x149db9);_0x38e273>=0x4e00&&_0x38e273<=0x9fff||_0x38e273>=0x3000&&_0x38e273<=0x303f||_0x38e273>=0xff00&&_0x38e273<=0xffef?_0x226881+=0x2:_0x226881+=0x1;}return _0x226881;}function yo(_0x190138,_0x1a2c2f,_0x2f74b8,_0x38be28){const _0x101f68=_0x5bf728;var _0x2679cb,_0x285516,_0x36ac26,_0x4462c9;const {rowCount:_0x9ddb23,colCount:_0xb87277,headerMap:_0x3df26b}=_0x190138,_0x34f33d=0x64,_0x3ad528=Math[_0x101f68(0x411)](_0x9ddb23,_0x34f33d),_0x3796bd=Math[_0x101f68(0x411)](_0xb87277,_0x34f33d);let _0xdfcb4f='',_0x4cfc03=0x0;for(let _0x4378a2=0x0;_0x4378a2<_0x3ad528;_0x4378a2++)for(let _0x523f56=0x0;_0x523f56<_0x3796bd;_0x523f56++){const _0x5e0e79={...(_0x285516=(_0x2679cb=_0x190138[_0x101f68(0x265)])==null?void 0x0:_0x2679cb[_0x4378a2])==null?void 0x0:_0x285516[_0x523f56]},_0x18cbd7=(_0x36ac26=_0x3df26b[_0x4378a2])==null?void 0x0:_0x36ac26[_0x101f68(0x390)],_0x3ae10d=_0x38be28[_0x18cbd7];let _0x24a96f=_0x190138[_0x101f68(0x35b)](_0x4378a2,_0x523f56);if(_0x5e0e79){const _0x344207=_0x2f74b8?_0x523f56===0x0&&((_0x4462c9=_0x190138[_0x101f68(0x262)](_0x523f56+0x1))==null?void 0x0:_0x4462c9['isValue']):!0x1;_0x24a96f=vt(_0x5e0e79,_0x344207,_0x3ae10d,_0x1a2c2f);}if(_0x24a96f!==void 0x0){const _0x2b47f0=ji(String(_0x24a96f));_0x4cfc03<_0x2b47f0&&(_0xdfcb4f=String(_0x24a96f),_0x4cfc03=_0x2b47f0);}}return _0xdfcb4f;}function Ji(_0x46c07f){const _0x30eacc=_0x5bf728,{rowCount:_0x49c835,colCount:_0x447941}=_0x46c07f;let _0x3a5163='',_0x3fb48f=0x0;for(let _0xd0e580=_0x49c835-0x1;_0xd0e580>0x0&&_0xd0e580>_0x49c835-0x3;_0xd0e580--)for(let _0x1ab782=0x0;_0x1ab782<_0x447941;_0x1ab782++){const _0x1fe74f=_0x46c07f[_0x30eacc(0x35b)](_0xd0e580,_0x1ab782);if(_0x1fe74f!==void 0x0){const _0x248474=String(_0x1fe74f)[_0x30eacc(0x395)];_0x3fb48f<_0x248474&&(_0x3a5163=String(_0x1fe74f),_0x3fb48f=_0x248474);}}return _0x3a5163;}function Wi(_0xed7075){const _0xf97d7b=_0x5bf728,{rowCount:_0x1eeb3c,colCount:_0x24700d}=_0xed7075;let _0x4f611b='',_0x76d32c=0x0;for(let _0x467bc4=0x0;_0x467bc4<_0x1eeb3c;_0x467bc4++)for(let _0x3ad59a=0x0;_0x3ad59a<_0x24700d;_0x3ad59a++){const _0x1ec33e=_0xed7075[_0xf97d7b(0x35b)](_0x467bc4,_0x3ad59a);if(_0x1ec33e!==void 0x0){const _0x34fb66=String(_0x1ec33e)[_0xf97d7b(0x395)];_0x76d32c<_0x34fb66&&(_0x4f611b=String(_0x1ec33e),_0x76d32c=_0x34fb66);}}return _0x4f611b;}function Yi(_0x2ebbd0,_0x29284a){const _0x4dbb6e=_0x5bf728,{rowFields:_0x12d5c2,columnFields:_0x3bd323,valueFields:_0x304502,filterFields:_0x42d90f,dimension:_0x59bd63,measure:_0x451e52}=_0x29284a;for(const _0x31b34b of _0x12d5c2){const _0x28e316=_0x59bd63[_0x31b34b];_0x28e316&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x28e316[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x28e316[_0x4dbb6e(0x1e0)],_0x3a6ce8['Row'],void 0x0,_0x31b34b),_0x28e316[_0x4dbb6e(0x333)]&&_0x2ebbd0['renameField'](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x333)]),_0x28e316[_0x4dbb6e(0x36e)]&&_0x2ebbd0['setSortInfo'](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x36e)]),_0x28e316[_0x4dbb6e(0x2b7)]&&_0x2ebbd0[_0x4dbb6e(0x1dc)](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x2b7)]));}for(const _0x1134e7 of _0x3bd323){const _0x568200=_0x59bd63[_0x1134e7];_0x568200&&_0x2ebbd0[_0x4dbb6e(0x39f)](_0x568200[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x568200['dataFieldId'],_0x3a6ce8[_0x4dbb6e(0x3f6)],void 0x0,_0x1134e7),_0x568200[_0x4dbb6e(0x36e)]&&_0x2ebbd0['setSortInfo'](_0x568200['id'],_0x568200[_0x4dbb6e(0x36e)]),_0x568200['filterInfo']&&_0x2ebbd0['setLabelFilterInfo'](_0x568200['id'],_0x568200[_0x4dbb6e(0x2b7)]),_0x568200[_0x4dbb6e(0x333)]&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x568200['id'],_0x568200['displayName']));}for(const _0x5874f5 of _0x42d90f){const _0x33455d=_0x59bd63[_0x5874f5];_0x33455d&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x33455d[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x33455d['dataFieldId'],_0x3a6ce8['Filter'],void 0x0,_0x5874f5),_0x33455d['sortInfo']&&_0x2ebbd0[_0x4dbb6e(0x39a)](_0x33455d['id'],_0x33455d[_0x4dbb6e(0x36e)]),_0x33455d[_0x4dbb6e(0x2b7)]&&_0x2ebbd0[_0x4dbb6e(0x1dc)](_0x33455d['id'],_0x33455d[_0x4dbb6e(0x2b7)]),_0x33455d[_0x4dbb6e(0x333)]&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x33455d['id'],_0x33455d['displayName']));}for(const _0x14c1a4 of _0x304502){const _0x209094=_0x451e52[_0x14c1a4];_0x209094&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x209094[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x209094['dataFieldId'],_0x3a6ce8[_0x4dbb6e(0x409)],void 0x0,_0x14c1a4),_0x209094[_0x4dbb6e(0x42f)]!==void 0x0&&_0x2ebbd0[_0x4dbb6e(0x1f4)](_0x14c1a4,_0x209094[_0x4dbb6e(0x42f)]),_0x209094[_0x4dbb6e(0x369)]&&_0x2ebbd0[_0x4dbb6e(0x419)](_0x14c1a4,_0x209094['format']),_0x209094['displayName']&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x209094['id'],_0x209094[_0x4dbb6e(0x333)]));}const _0x23ba87=_0x29284a[_0x4dbb6e(0x3e4)];for(const {fieldId:_0x5a92e2,filterInfo:_0x3965c5}of _0x23ba87)_0x2ebbd0['setValueFilterInfo'](_0x5a92e2,_0x3965c5);}function Ki(_0x1445ad,_0x3ee04c){const _0x1a5a50=_0x5bf728,_0x108346=[];_0x3ee04c===_0x3a6ce8['Row']&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8[_0x1a5a50(0x22f)],_0x5d308a=>{const _0x2d5e64=_0x1a5a50;_0x108346[_0x2d5e64(0x42a)](_0x5d308a['getId']());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x3f6)]&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8['Column'],_0x199690=>{const _0x305abf=_0x1a5a50;_0x108346['push'](_0x199690[_0x305abf(0x3f9)]());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x2d8)]&&_0x1445ad['iterateFieldByArea'](_0x3a6ce8[_0x1a5a50(0x2d8)],_0x2d5d1=>{const _0x29e4a0=_0x1a5a50;_0x108346[_0x29e4a0(0x42a)](_0x2d5d1[_0x29e4a0(0x3f9)]());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x409)]&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8[_0x1a5a50(0x409)],_0x531030=>{const _0xe77000=_0x1a5a50;_0x108346[_0xe77000(0x42a)](_0x531030['getId']());}),_0x3ee04c===void 0x0&&_0x1445ad[_0x1a5a50(0x33b)](_0x3aed4d=>{const _0xb4c930=_0x1a5a50;_0x108346[_0xb4c930(0x42a)](_0x3aed4d['getId']());});const _0x216ff7=_0x108346['length'];for(let _0x512352=_0x216ff7-0x1;_0x512352>=0x0;_0x512352--)_0x1445ad[_0x1a5a50(0x2a5)](_0x108346[_0x512352]);const _0x3c1809=_0x1445ad[_0x1a5a50(0x304)]();for(const _0x244e50 in _0x3c1809)_0x1445ad[_0x1a5a50(0x34a)](_0x244e50);}function Hi(_0x1363b5,_0x43fd14){const _0x5055f7=_0x5bf728,_0x35d7c5=new Date(_0x15768b(_0x43fd14)),_0x3790d3=new Date(_0x15768b(_0x1363b5)),_0x50f9e9=_0x35d7c5['getFullYear'](),_0x184d10=_0x3790d3[_0x5055f7(0x1e8)](),_0x4ef3f7=_0x35d7c5['getMonth'](),_0x4b0567=_0x3790d3[_0x5055f7(0x2fc)](),_0x4e8cae=_0x35d7c5[_0x5055f7(0x23c)](),_0x4c0ac6=_0x3790d3[_0x5055f7(0x23c)](),_0x359fe7=_0x50f9e9===_0x184d10,_0x16ea23=_0x359fe7&&_0x4ef3f7===_0x4b0567;return _0x359fe7&&_0x16ea23&&!(_0x16ea23&&_0x4e8cae===_0x4c0ac6)?_0x1dcfc0[_0x5055f7(0x228)]:_0x359fe7&&!_0x16ea23?_0x1dcfc0['YearMonth']:_0x1dcfc0['Year'];}function qo(_0x43dae5,_0x6c55b9){const _0x541e90=_0x5bf728,_0x29e1c0=_0x43dae5[_0x541e90(0x21b)](G)['getTextInfo']();let _0x50f7f5='';switch(_0x6c55b9){case _0x1dcfc0[_0x541e90(0x228)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x205)];break;case _0x1dcfc0[_0x541e90(0x261)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x311)];break;case _0x1dcfc0['Year']:_0x50f7f5=_0x29e1c0[_0x541e90(0x2ae)];break;case _0x1dcfc0[_0x541e90(0x423)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x3bb)];break;case _0x1dcfc0['Quarter']:_0x50f7f5=_0x29e1c0[_0x541e90(0x445)];break;case _0x1dcfc0[_0x541e90(0x277)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x370)];break;case _0x1dcfc0[_0x541e90(0x2c8)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x43d)];break;case _0x1dcfc0[_0x541e90(0x37c)]:_0x50f7f5=_0x29e1c0['sheets-pivot.dateGroup.hour'];break;case _0x1dcfc0['Minute']:_0x50f7f5=_0x29e1c0[_0x541e90(0x3fa)];break;case _0x1dcfc0['MonthDate']:_0x50f7f5=_0x29e1c0[_0x541e90(0x1e6)];break;case _0x1dcfc0['YearQuarter']:_0x50f7f5=_0x29e1c0[_0x541e90(0x301)];break;default:_0x50f7f5='';break;}return _0x50f7f5;}const zo=_0x5bf728(0x34f),Mo={};var qi=Object['getOwnPropertyDescriptor'],zi=(_0x3b0493,_0x4596e6,_0x159c7c,_0x5cfeda)=>{const _0x3ac240=_0x5bf728;for(var _0xde70f0=_0x5cfeda>0x1?void 0x0:_0x5cfeda?qi(_0x4596e6,_0x159c7c):_0x4596e6,_0x4cf9ff=_0x3b0493[_0x3ac240(0x395)]-0x1,_0x209b12;_0x4cf9ff>=0x0;_0x4cf9ff--)(_0x209b12=_0x3b0493[_0x4cf9ff])&&(_0xde70f0=_0x209b12(_0xde70f0)||_0xde70f0);return _0xde70f0;},it=(_0x2c6e42,_0x5c136d)=>(_0x52cec2,_0x46f5e0)=>_0x5c136d(_0x52cec2,_0x46f5e0,_0x2c6e42);let ve=class extends _0x25f1fb{constructor(_0x1e3f2e,_0x1adf3f,_0x16953d,_0x2cf24e,_0x128d59){const _0x44e8bb=_0x5bf728;super(),V(this,_0x44e8bb(0x3a9),new Map()),V(this,_0x44e8bb(0x2a9),new Map()),V(this,_0x44e8bb(0x249),new Map()),V(this,'_pivotTableMatrixInfo',new Map()),V(this,_0x44e8bb(0x309),new _0x688d9a()),V(this,'_pivotInitCompleted$',new _0x688d9a()),V(this,'pivotInitCompleted$',this[_0x44e8bb(0x2dd)]['asObservable']()),V(this,'_pivotConfigChange$',new _0x688d9a()),V(this,_0x44e8bb(0x400),this['_pivotConfigChange$']['asObservable']()),V(this,_0x44e8bb(0x26c),{}),V(this,_0x44e8bb(0x449),this['_configVersion$'][_0x44e8bb(0x244)]()),(this[_0x44e8bb(0x24a)]=_0x1e3f2e,this['_commandService']=_0x1adf3f,this[_0x44e8bb(0x253)]=_0x16953d,this[_0x44e8bb(0x2a2)]=_0x2cf24e,this[_0x44e8bb(0x38b)]=_0x128d59,this['_initLocale'](),this[_0x44e8bb(0x354)]());const _0x503609=this[_0x44e8bb(0x38b)][_0x44e8bb(0x3fb)](zo);(_0x503609==null?void 0x0:_0x503609[_0x44e8bb(0x27e)])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x519ae8=_0x5bf728;this['disposeWithMe'](this[_0x519ae8(0x253)][_0x519ae8(0x44c)](_0x332ca7[_0x519ae8(0x25d)])['subscribe'](_0x5f9f08=>{const _0x2b5bf1=_0x519ae8;this['deleteUnitId'](_0x5f9f08[_0x2b5bf1(0x283)]());}));}[_0x5bf728(0x349)](){const _0x261e4d=_0x5bf728;this[_0x261e4d(0x2dd)]['next'](!0x0);}[_0x5bf728(0x1df)](){const _0x301700=_0x5bf728,_0x13e426=fo(this['_injector'],$o,'',{});this[_0x301700(0x26c)]=_0x13e426,this['_commandService']['executeCommand'](uo['id'],{'textInfo':_0x13e426},{'onlyLocal':!0x0});}[_0x5bf728(0x3dc)](){return this['_textInfo'];}[_0x5bf728(0x3ad)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4fac4c,_0x4f0afd){const _0x23c12f=_0x5bf728;this[_0x23c12f(0x44e)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4fac4c),this[_0x23c12f(0x306)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4f0afd);}[_0x5bf728(0x448)](_0x2a7eec,_0x25d9ef,_0x327e50){const _0x2732f0=_0x5bf728;var _0x43d119;const _0x34137=(_0x43d119=this[_0x2732f0(0x3a9)]['get'](_0x2a7eec))==null?void 0x0:_0x43d119[_0x2732f0(0x21b)](_0x25d9ef);if(_0x34137)return _0x34137['get'](_0x327e50);}[_0x5bf728(0x38a)](_0x3266d6,_0x5ab510){const _0x3f57c6=_0x5bf728,_0x32f9e5=this[_0x3f57c6(0x3a9)][_0x3f57c6(0x21b)](_0x3266d6);if(_0x32f9e5){for(const [_0x56a7c0,_0x3f29f3]of _0x32f9e5[_0x3f57c6(0x2d6)]())for(const [_0x47fcaa,_0x1a8573]of _0x3f29f3[_0x3f57c6(0x2d6)]())if(_0x47fcaa===_0x5ab510)return _0x1a8573[_0x3f57c6(0x1d2)];}}[_0x5bf728(0x31b)](_0x56a879,_0x4e1d15,_0x2107cc){const _0x2edc30=_0x5bf728,_0x2e1a1e=this[_0x2edc30(0x448)](_0x56a879,_0x4e1d15,_0x2107cc);return _0x2e1a1e==null?void 0x0:_0x2e1a1e[_0x2edc30(0x1d2)];}[_0x5bf728(0x2e1)](_0x531cc8,_0x3087b9){const _0x2e070d=_0x5bf728;var _0xb6900a;return(_0xb6900a=this[_0x2e070d(0x3a9)][_0x2e070d(0x21b)](_0x531cc8))==null?void 0x0:_0xb6900a[_0x2e070d(0x21b)](_0x3087b9);}[_0x5bf728(0x204)](_0x553325,_0x29da83,_0x394a6a,_0x4f454f){const _0x14f4fe=_0x5bf728,_0x18cbca=this[_0x14f4fe(0x410)](_0x553325,_0x29da83);_0x4f454f?_0x18cbca[_0x14f4fe(0x2e3)](_0x394a6a,_0x4f454f):_0x18cbca['delete'](_0x394a6a),this[_0x14f4fe(0x24b)][_0x14f4fe(0x216)]({'unitId':_0x553325,'subUnitId':_0x29da83,'pivotTableId':_0x394a6a,'pivotTableConfig':_0x4f454f});}[_0x5bf728(0x28d)](_0x3fbb88,_0x244a1e){const _0x1335c4=_0x5bf728;var _0x5d08ea;return(_0x5d08ea=this['_collectionConfigModel'][_0x1335c4(0x21b)](_0x3fbb88))==null?void 0x0:_0x5d08ea[_0x1335c4(0x278)][_0x244a1e];}[_0x5bf728(0x34d)](_0x29c64e,_0x2883ad){const _0x39434e=_0x5bf728;this['_collectionConfigModel'][_0x39434e(0x2e3)](_0x29c64e,_0x2883ad),this[_0x39434e(0x309)][_0x39434e(0x216)](Math[_0x39434e(0x2da)]());}[_0x5bf728(0x410)](_0x335580,_0x58e71e){const _0x69e783=_0x5bf728;let _0x430c12=this[_0x69e783(0x3a9)][_0x69e783(0x21b)](_0x335580);_0x430c12||(_0x430c12=new Map(),this[_0x69e783(0x3a9)][_0x69e783(0x2e3)](_0x335580,_0x430c12));let _0x38f061=_0x430c12[_0x69e783(0x21b)](_0x58e71e);return _0x38f061||(_0x38f061=new Map(),_0x430c12[_0x69e783(0x2e3)](_0x58e71e,_0x38f061)),_0x38f061;}[_0x5bf728(0x279)](_0x581da5,_0x1e673c){const _0x45e139=_0x5bf728;let _0x177f50=this['_pivotTableRangeInfo'][_0x45e139(0x21b)](_0x581da5);_0x177f50||(_0x177f50=new Map(),this[_0x45e139(0x249)][_0x45e139(0x2e3)](_0x581da5,_0x177f50));let _0x358b9b=_0x177f50[_0x45e139(0x21b)](_0x1e673c);return _0x358b9b||(_0x358b9b=new Map(),_0x177f50[_0x45e139(0x2e3)](_0x1e673c,_0x358b9b)),_0x358b9b;}[_0x5bf728(0x2e5)](_0x49cc38,_0x3d9290){const _0x3d404d=_0x5bf728;let _0x7bbd75=this[_0x3d404d(0x21e)][_0x3d404d(0x21b)](_0x49cc38);_0x7bbd75||(_0x7bbd75=new Map(),this['_pivotTableMatrixInfo']['set'](_0x49cc38,_0x7bbd75));let _0x596572=_0x7bbd75[_0x3d404d(0x21b)](_0x3d9290);return _0x596572||(_0x596572=new Map(),_0x7bbd75[_0x3d404d(0x2e3)](_0x3d9290,_0x596572)),_0x596572;}[_0x5bf728(0x306)](_0x53ba8f,_0x48b7bb,_0x243354,_0x28d971){const _0x216cd1=_0x5bf728;var _0x2dd27d;const _0x16eaab=this[_0x216cd1(0x279)](_0x53ba8f,_0x48b7bb),_0x4d026b=(_0x2dd27d=_0x16eaab[_0x216cd1(0x21b)](_0x243354))==null?void 0x0:_0x2dd27d[_0x216cd1(0x217)];_0x16eaab[_0x216cd1(0x2e3)](_0x243354,{'oldRangeInfo':_0x4d026b,'rangeInfo':_0x28d971});}[_0x5bf728(0x44e)](_0x8042c0,_0x39b000,_0x434168,_0x4071e2){const _0xa3dd05=_0x5bf728;var _0x1a4020;const _0x1e2256=this['_ensurePivotTableMatrixInfo'](_0x8042c0,_0x39b000),_0x2ab441=(_0x1a4020=_0x1e2256[_0xa3dd05(0x21b)](_0x434168))==null?void 0x0:_0x1a4020[_0xa3dd05(0x28c)];_0x1e2256[_0xa3dd05(0x2e3)](_0x434168,{'oldMatrix':_0x2ab441,'matrix':_0x4071e2});}[_0x5bf728(0x3b3)](_0xc445dd,_0x44966d,_0x52ceaa){const _0x432623=_0x5bf728;var _0x300f50,_0x19f514;return(_0x19f514=(_0x300f50=this['_pivotTableRangeInfo'][_0x432623(0x21b)](_0xc445dd))==null?void 0x0:_0x300f50['get'](_0x44966d))==null?void 0x0:_0x19f514[_0x432623(0x21b)](_0x52ceaa);}[_0x5bf728(0x28b)](_0x44c6a6,_0x4396e1,_0x18cd2d){const _0x53597d=_0x5bf728;var _0x24251a,_0x5171df;return(_0x5171df=(_0x24251a=this[_0x53597d(0x21e)][_0x53597d(0x21b)](_0x44c6a6))==null?void 0x0:_0x24251a[_0x53597d(0x21b)](_0x4396e1))==null?void 0x0:_0x5171df['get'](_0x18cd2d);}[_0x5bf728(0x3b5)](_0x1da089){const _0x370fee=_0x5bf728;this[_0x370fee(0x3a9)][_0x370fee(0x25a)](_0x1da089),this[_0x370fee(0x2a9)][_0x370fee(0x25a)](_0x1da089);}['_toJSON'](_0x3d5933){const _0x5e9035=_0x5bf728,_0x5e8bbf={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5e9035(0x2a9)][_0x5e9035(0x21b)](_0x3d5933)&&(_0x5e8bbf[_0x5e9035(0x3d3)][_0x3d5933]=this['_collectionConfigModel'][_0x5e9035(0x21b)](_0x3d5933)),this[_0x5e9035(0x3a9)][_0x5e9035(0x21b)](_0x3d5933)){_0x5e8bbf[_0x5e9035(0x368)][_0x3d5933]={};const _0xeef437=this[_0x5e9035(0x3a9)][_0x5e9035(0x21b)](_0x3d5933);_0xeef437!=null&&_0xeef437['size']&&[..._0xeef437[_0x5e9035(0x3ab)]()][_0x5e9035(0x28f)](_0x395873=>{const _0x1024f8=_0x5e9035,_0x23a658=_0xeef437['get'](_0x395873);_0x23a658!=null&&_0x23a658[_0x1024f8(0x222)]&&(_0x5e8bbf[_0x1024f8(0x368)][_0x3d5933][_0x395873]={},[..._0x23a658[_0x1024f8(0x3ab)]()][_0x1024f8(0x28f)](_0x897e2c=>{const _0x4d68e6=_0x23a658['get'](_0x897e2c);_0x4d68e6&&(_0x5e8bbf['pivotTableConfigs'][_0x3d5933][_0x395873][_0x897e2c]=_0x4d68e6);}));});}return _0x5e8bbf;}['_initSnapshot'](){const _0x2e324e=_0x5bf728;this[_0x2e324e(0x3d8)](this[_0x2e324e(0x2a2)][_0x2e324e(0x1cd)]({'toJson':_0x7e79cd=>JSON[_0x2e324e(0x3c7)](this[_0x2e324e(0x206)](_0x7e79cd)),'parseJson':_0xfc8a30=>({}),'businesses':[_0x332ca7[_0x2e324e(0x25d)]],'pluginName':ao,'onLoad':(_0xfeb410,_0x83b6fc)=>{},'onUnLoad':_0x4f1292=>{const _0x45f367=_0x2e324e;this[_0x45f367(0x3b5)](_0x4f1292);}}));}};ve=zi([it(0x0,_0x360cfb(_0x121ef7)),it(0x1,_0x360cfb(_0x4e31c1)),it(0x2,_0x360cfb(_0x2fecb8)),it(0x3,_0x360cfb(_0x4679cb)),it(0x4,_0x360cfb(_0x224426))],ve);var Qi=Object[_0x5bf728(0x3a1)],Xi=(_0x50a843,_0x39d531,_0x50d0af,_0x53daf3)=>{const _0x49d452=_0x5bf728;for(var _0x3ed536=_0x53daf3>0x1?void 0x0:_0x53daf3?Qi(_0x39d531,_0x50d0af):_0x39d531,_0x4ed0c3=_0x50a843[_0x49d452(0x395)]-0x1,_0x52a9a6;_0x4ed0c3>=0x0;_0x4ed0c3--)(_0x52a9a6=_0x50a843[_0x4ed0c3])&&(_0x3ed536=_0x52a9a6(_0x3ed536)||_0x3ed536);return _0x3ed536;},st=(_0x498094,_0x5d4111)=>(_0x2b7e14,_0xc1cb9d)=>_0x5d4111(_0x2b7e14,_0xc1cb9d,_0x498094);let Ne=class extends _0x25f1fb{constructor(_0x461326,_0x13f357,_0x17aebc,_0x12681e,_0x52aba9){const _0x5bd6ce=_0x5bf728;super(),V(this,_0x5bd6ce(0x32a),new Map()),V(this,_0x5bd6ce(0x372),new Map()),V(this,_0x5bd6ce(0x211),new _0x688d9a()),V(this,_0x5bd6ce(0x3d1),this[_0x5bd6ce(0x211)]['asObservable']()),V(this,_0x5bd6ce(0x1e9),new _0x688d9a()),V(this,_0x5bd6ce(0x371),this[_0x5bd6ce(0x1e9)][_0x5bd6ce(0x244)]()),V(this,_0x5bd6ce(0x26c)),(this[_0x5bd6ce(0x323)]=_0x461326,this[_0x5bd6ce(0x24a)]=_0x13f357,this[_0x5bd6ce(0x43c)]=_0x17aebc,this[_0x5bd6ce(0x253)]=_0x12681e,this[_0x5bd6ce(0x3dd)]=_0x52aba9,this[_0x5bd6ce(0x1df)](),this[_0x5bd6ce(0x354)]());}[_0x5bf728(0x354)](){const _0xac9521=_0x5bf728;this[_0xac9521(0x3d8)](this[_0xac9521(0x253)]['getTypeOfUnitDisposed$'](_0x332ca7[_0xac9521(0x25d)])[_0xac9521(0x2d4)](_0x387fa1=>{const _0x5faa40=_0xac9521;this['deleteUnitId'](_0x387fa1[_0x5faa40(0x283)]());}));}['_initLocale'](){const _0x26e267=_0x5bf728;this['_textInfo']=fo(this[_0x26e267(0x24a)],$o,'',{});}[_0x5bf728(0x230)](_0x275611){const _0x1709fa=_0x5bf728,{view:_0x575471,unitId:_0x475b03,subUnitId:_0x15b517,pivotTableId:_0x50df4f,type:_0x26aec6}=_0x275611,_0x266f1a=this[_0x1709fa(0x43c)][_0x1709fa(0x448)](_0x475b03,_0x15b517,_0x50df4f);if(!_0x575471||!_0x266f1a||_0x26aec6===$[_0x1709fa(0x346)])return;const {pageView:_0xb902b4,cornerView:_0x18431c,rowView:_0x395a03,colView:_0x29e2b3,dataView:_0x4021b8}=_0x575471,_0x6dbdc5=_0x266f1a[_0x1709fa(0x1d2)],_0x5bcf6e=_0x266f1a[_0x1709fa(0x37d)],_0x4e6c8f=this['_ensurePivotItemRenderValueMatrixCache'](_0x475b03,_0x15b517),_0x6c9810=this['_ensurePivotItemRenderInfoCache'](_0x475b03,_0x15b517,_0x50df4f);if(_0x5bcf6e)return this[_0x1709fa(0x41d)](_0x275611,_0x4e6c8f,_0x6dbdc5,_0x6c9810);{const _0x43a1e6=ge(_0x6dbdc5,_0xb902b4,!0x0),_0x13d490=_0xb902b4[_0x1709fa(0x1f9)]>=0x0?_0xb902b4[_0x1709fa(0x1f9)]+0x1:0x0,_0x18f68c=_0x18431c['getRowCount'](),_0x58c17d=_0x18431c['getColCount'](),_0x2303bc=_0x43a1e6[_0x1709fa(0x395)]>0x0?mt:0x0,_0x5b74ab=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc,'col':_0x6dbdc5[_0x1709fa(0x37a)]},_0x18431c,!0x1,!0x1),_0x1e256c=ge({'row':_0x6dbdc5['row']+_0x13d490+_0x2303bc+_0x18f68c,'col':_0x6dbdc5[_0x1709fa(0x37a)]},_0x395a03,!0x1,!0x0),_0x2027a1=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc,'col':_0x6dbdc5[_0x1709fa(0x37a)]+_0x58c17d},_0x29e2b3,!0x1,!0x0),_0x5f24c5=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc+_0x18f68c,'col':_0x6dbdc5['col']+_0x58c17d},_0x4021b8,!0x1,!0x1);_0x6c9810[_0x1709fa(0x247)]={'rowRanges':_0x1e256c,'colRanges':_0x2027a1,'cornerRanges':_0x5b74ab,'dataRanges':_0x5f24c5,'pageRanges':_0x43a1e6};const _0x38b2f9=yi(this['_injector'],_0x575471,_0x266f1a,this[_0x1709fa(0x26c)]),{valueMatrix:_0x3c57b8,rowInfo:_0x703a5c,colInfo:_0x154542,cornerInfo:_0x3c64bb,rowHeaderMap:_0x3f685f,colHeaderMap:_0x2fcb5f}=_0x38b2f9;return _0x6c9810[_0x1709fa(0x303)]={'rowInfo':_0x703a5c,'colInfo':_0x154542,'cornerInfo':_0x3c64bb},_0x6c9810[_0x1709fa(0x22d)]={'rowHeaderMap':_0x3f685f,'colHeaderMap':_0x2fcb5f},_0x3c57b8[_0x1709fa(0x28f)]((_0x5cc93c,_0x2a49e2)=>{const _0x23c190=_0x1709fa;Object[_0x23c190(0x3ab)](_0x2a49e2)[_0x23c190(0x28f)](_0xb7c031=>{const _0x55b63e=_0x23c190,_0x3fe418=+_0xb7c031,_0x2c57a3=_0x3c57b8[_0x55b63e(0x35b)](_0x5cc93c,_0x3fe418);_0x4e6c8f[_0x55b63e(0x26b)](_0x5cc93c,_0x3fe418,_0x2c57a3);});}),this[_0x1709fa(0x1e9)][_0x1709fa(0x216)]({'unitId':_0x475b03,'subUnitId':_0x15b517,'valueMatrix':_0x4e6c8f,'rangesCache':_0x6c9810[_0x1709fa(0x247)],'pivotTableId':_0x50df4f,'type':_0x275611['type']}),this[_0x1709fa(0x43c)]['updateViewInfo'](_0x475b03,_0x15b517,_0x50df4f,_0x4e6c8f,_0x6c9810[_0x1709fa(0x247)]),this[_0x1709fa(0x3dd)]['addExclusiveRange'](_0x475b03,_0x15b517,Lt,this['_createExclusiveRange'](_0x6c9810[_0x1709fa(0x247)],_0x50df4f)),{'rangeCache':_0x6c9810[_0x1709fa(0x247)],'matrix':_0x4e6c8f};}}[_0x5bf728(0x41d)](_0x43a625,_0x4eee2e,_0x15c5fa,_0x3bbfaf){const _0x171f09=_0x5bf728,_0x17fc8d=this[_0x171f09(0x323)]['t'],{unitId:_0x10c927,subUnitId:_0x1f524f,pivotTableId:_0x337d5a}=_0x43a625,_0xe17885={'filter':_0x17fc8d(_0x171f09(0x263)),'row':_0x17fc8d('sheets-pivot.emptyPivot.row'),'column':_0x17fc8d(_0x171f09(0x36c)),'values':_0x17fc8d('sheets-pivot.emptyPivot.values')},{matrixCache:_0x4348be,rangesCache:_0x33b43e}=Yo(_0xe17885,_0x15c5fa);return _0x4348be[_0x171f09(0x2f0)]((_0x4b3a45,_0x4aa550,_0x44958a)=>{const _0x3e4e6f=_0x171f09;_0x4eee2e[_0x3e4e6f(0x26b)](_0x4b3a45,_0x4aa550,_0x44958a);}),_0x3bbfaf[_0x171f09(0x247)]=_0x33b43e,this[_0x171f09(0x1e9)]['next']({'unitId':_0x10c927,'subUnitId':_0x1f524f,'valueMatrix':_0x4eee2e,'rangesCache':_0x33b43e,'pivotTableId':_0x337d5a,'type':_0x43a625[_0x171f09(0x2bb)],'isEmpty':!0x0}),this[_0x171f09(0x43c)][_0x171f09(0x3ad)](_0x10c927,_0x1f524f,_0x337d5a,_0x4eee2e,_0x33b43e),this[_0x171f09(0x3dd)][_0x171f09(0x338)](_0x10c927,_0x1f524f,Lt,this[_0x171f09(0x433)](_0x33b43e,_0x337d5a)),{'rangeCache':_0x3bbfaf[_0x171f09(0x247)],'matrix':_0x4eee2e};}[_0x5bf728(0x433)](_0x533dba,_0xd6e097){const _0x3128d7=_0x5bf728,_0x499271=[],_0x32886a=$t(_0x533dba);for(const _0x11bed9 of _0x32886a)_0x499271[_0x3128d7(0x42a)]({'groupId':_0xd6e097,'range':_0x11bed9});return _0x499271;}['clearRenderCache'](_0x162761){const _0x37a0ac=_0x5bf728;var _0x5e2723,_0x12a4fe,_0x2c5751,_0x2e7890;const {pivotTableId:_0x18d9e6,unitId:_0x4a2757,subUnitId:_0x5ef9d2}=_0x162761;if(!_0x18d9e6||!_0x4a2757||!_0x5ef9d2)return;const _0x59ab03=this['_ensurePivotItemRenderValueMatrixCache'](_0x4a2757,_0x5ef9d2),_0x7dbcf1=(_0x12a4fe=(_0x5e2723=this['_pivotRenderInfoCache'][_0x37a0ac(0x21b)](_0x4a2757))==null?void 0x0:_0x5e2723[_0x37a0ac(0x21b)](_0x5ef9d2))==null?void 0x0:_0x12a4fe['get'](_0x18d9e6);if(_0x7dbcf1!=null&&_0x7dbcf1[_0x37a0ac(0x247)]){for(const _0x1c4a90 of Object[_0x37a0ac(0x3ab)](_0x7dbcf1[_0x37a0ac(0x247)]))_0x7dbcf1[_0x37a0ac(0x247)][_0x1c4a90]['forEach'](_0x4f3627=>{const _0x1ab766=_0x37a0ac;for(let _0x52af42=_0x4f3627[_0x1ab766(0x373)];_0x52af42<=_0x4f3627['endRow'];_0x52af42++)for(let _0x1aa948=_0x4f3627[_0x1ab766(0x3d2)];_0x1aa948<=_0x4f3627[_0x1ab766(0x3cd)];_0x1aa948++)_0x59ab03[_0x1ab766(0x290)](_0x52af42,_0x1aa948);});}_0x7dbcf1&&((_0x2e7890=(_0x2c5751=this['_pivotRenderInfoCache'][_0x37a0ac(0x21b)](_0x4a2757))==null?void 0x0:_0x2c5751[_0x37a0ac(0x21b)](_0x5ef9d2))==null||_0x2e7890['delete'](_0x18d9e6)),this[_0x37a0ac(0x1e9)]['next']({'unitId':_0x4a2757,'subUnitId':_0x5ef9d2,'valueMatrix':_0x59ab03,'pivotTableId':_0x18d9e6,'rangesCache':void 0x0,'type':_0x162761['type']}),this['_exclusiveRangeService'][_0x37a0ac(0x318)](_0x4a2757,_0x5ef9d2,Lt,_0x18d9e6);}[_0x5bf728(0x1f1)](_0x18233f,_0xbb0cc5,_0x5b1548){const _0x1099fb=_0x5bf728;var _0x1d855b,_0x1a9d35,_0x15d337,_0x1e12af,_0xadfc19,_0x4d6418;return this[_0x1099fb(0x32a)]['has'](_0x18233f)||this[_0x1099fb(0x32a)][_0x1099fb(0x2e3)](_0x18233f,new Map()),(_0x1d855b=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))!=null&&_0x1d855b[_0x1099fb(0x1ff)](_0xbb0cc5)||(_0x1a9d35=this[_0x1099fb(0x32a)]['get'](_0x18233f))==null||_0x1a9d35[_0x1099fb(0x2e3)](_0xbb0cc5,new Map()),(_0x1e12af=(_0x15d337=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))==null?void 0x0:_0x15d337[_0x1099fb(0x21b)](_0xbb0cc5))!=null&&_0x1e12af[_0x1099fb(0x1ff)](_0x5b1548)||(_0x4d6418=(_0xadfc19=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))==null?void 0x0:_0xadfc19['get'](_0xbb0cc5))==null||_0x4d6418[_0x1099fb(0x2e3)](_0x5b1548,{}),this['_pivotRenderInfoCache']['get'](_0x18233f)['get'](_0xbb0cc5)[_0x1099fb(0x21b)](_0x5b1548);}[_0x5bf728(0x404)](_0x4d80cf,_0x19d646){const _0x1e77b1=_0x5bf728;var _0x260f49,_0x141451;return this[_0x1e77b1(0x372)][_0x1e77b1(0x1ff)](_0x4d80cf)||this[_0x1e77b1(0x372)]['set'](_0x4d80cf,new Map()),(_0x260f49=this[_0x1e77b1(0x372)]['get'](_0x4d80cf))!=null&&_0x260f49['has'](_0x19d646)||(_0x141451=this['_pivotRenderValueMatrixCache']['get'](_0x4d80cf))==null||_0x141451[_0x1e77b1(0x2e3)](_0x19d646,new _0x43fcd2()),this[_0x1e77b1(0x372)][_0x1e77b1(0x21b)](_0x4d80cf)['get'](_0x19d646);}[_0x5bf728(0x2a4)](_0x2fdc7f,_0x32bebf,_0x551d3f,_0xc94528){const _0x24cf49=_0x5bf728;var _0x7f6cc8,_0xfc64e8;const _0x457b28=(_0xfc64e8=(_0x7f6cc8=this[_0x24cf49(0x372)][_0x24cf49(0x21b)](_0x2fdc7f))==null?void 0x0:_0x7f6cc8[_0x24cf49(0x21b)](_0x32bebf))==null?void 0x0:_0xfc64e8[_0x24cf49(0x35b)](_0x551d3f,_0xc94528);if(_0x457b28!=null)return _0x457b28;}['getPivotTableIdByCell'](_0x358ebe,_0x4641a8,_0xf35e53,_0x333245){const _0xee8d81=_0x5bf728;var _0x3c3ac9;const _0x12ee7b=_0x5508a5(_0xf35e53,_0x333245),_0x18df54=(_0x3c3ac9=this[_0xee8d81(0x32a)]['get'](_0x358ebe))==null?void 0x0:_0x3c3ac9['get'](_0x4641a8);return _0x18df54?Array[_0xee8d81(0x200)](_0x18df54['keys']())[_0xee8d81(0x2aa)](_0x139be2=>{const _0x3e0bf6=_0xee8d81,_0x3a5c50=_0x18df54[_0x3e0bf6(0x21b)](_0x139be2),_0x2ef601=_0x3a5c50==null?void 0x0:_0x3a5c50['rangesInfo'];return _0x2ef601?Object['keys'](_0x2ef601)[_0x3e0bf6(0x27c)](_0xbd876f=>_0x2ef601[_0xbd876f]['some'](_0x2ce601=>_0x3d3208['contains'](_0x2ce601,_0x12ee7b))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x2fe227,_0x43c189,_0x1e50ec){const _0x857b0e=_0x5bf728;var _0x2a03de;const _0x44560b=(_0x2a03de=this[_0x857b0e(0x32a)]['get'](_0x2fe227))==null?void 0x0:_0x2a03de[_0x857b0e(0x21b)](_0x43c189),_0x481486=[];return _0x44560b&&Array[_0x857b0e(0x200)](_0x44560b[_0x857b0e(0x3ab)]())['forEach'](_0x2be0f0=>{const _0x33cea2=_0x857b0e,_0x522d0e=_0x44560b[_0x33cea2(0x21b)](_0x2be0f0),_0xcd90fd=_0x522d0e==null?void 0x0:_0x522d0e[_0x33cea2(0x247)];if(_0xcd90fd)for(const _0x2fa7b0 of Object[_0x33cea2(0x2eb)](_0xcd90fd)){let _0x46a525=!0x1;for(const _0x248e4d of _0x2fa7b0)if(_0x3d3208[_0x33cea2(0x264)](_0x248e4d,_0x1e50ec)){_0x481486[_0x33cea2(0x42a)](_0x2be0f0),_0x46a525=!0x0;break;}if(_0x46a525)break;}}),_0x481486;}[_0x5bf728(0x288)](_0x341ef7,_0x4d015a){const _0x2bd1fb=_0x5bf728;var _0x2d56a1,_0x16643b;return(_0x16643b=(_0x2d56a1=this[_0x2bd1fb(0x372)]['get'](_0x341ef7))==null?void 0x0:_0x2d56a1['get'](_0x4d015a))!=null?_0x16643b:new _0x43fcd2();}[_0x5bf728(0x2c7)](_0x244af0,_0x46679a){const _0x130930=_0x5bf728;var _0x505e71;return(_0x505e71=this[_0x130930(0x32a)]['get'](_0x244af0))==null?void 0x0:_0x505e71['get'](_0x46679a);}[_0x5bf728(0x3a6)](_0x23e94b,_0x39965d,_0x1b3747){const _0x2ac0cd=_0x5bf728;var _0x321bc7,_0x1f3c2b;return(_0x1f3c2b=(_0x321bc7=this[_0x2ac0cd(0x32a)][_0x2ac0cd(0x21b)](_0x23e94b))==null?void 0x0:_0x321bc7[_0x2ac0cd(0x21b)](_0x39965d))==null?void 0x0:_0x1f3c2b[_0x2ac0cd(0x21b)](_0x1b3747);}[_0x5bf728(0x3b5)](_0x2786a0){const _0x53fcdb=_0x5bf728;this[_0x53fcdb(0x32a)]['delete'](_0x2786a0),this[_0x53fcdb(0x372)]['delete'](_0x2786a0);}[_0x5bf728(0x2fe)](_0x5bede3,_0x5267a7){const _0x4b569f=_0x5bf728;this[_0x4b569f(0x211)][_0x4b569f(0x216)]({'unitId':_0x5bede3,'subUnitId':_0x5267a7});}};Ne=Xi([st(0x0,_0x360cfb(_0x2a9621)),st(0x1,_0x360cfb(_0x121ef7)),st(0x2,_0x360cfb(ve)),st(0x3,_0x360cfb(_0x2fecb8)),st(0x4,_0x360cfb(_0x1b55aa))],Ne);var Zi=Object[_0x5bf728(0x3a1)],es=(_0x3a85ca,_0x32c9fc,_0x229468,_0xad1f79)=>{const _0x396924=_0x5bf728;for(var _0x25fae0=_0xad1f79>0x1?void 0x0:_0xad1f79?Zi(_0x32c9fc,_0x229468):_0x32c9fc,_0x5cc307=_0x3a85ca[_0x396924(0x395)]-0x1,_0x107e99;_0x5cc307>=0x0;_0x5cc307--)(_0x107e99=_0x3a85ca[_0x5cc307])&&(_0x25fae0=_0x107e99(_0x25fae0)||_0x25fae0);return _0x25fae0;},wo=(_0x2ab384,_0x3353fb)=>(_0x3a7bcf,_0x221d91)=>_0x3353fb(_0x3a7bcf,_0x221d91,_0x2ab384);let ie=class extends _0x25f1fb{constructor(_0x2313d0,_0x5b5084){const _0x5d3ba2=_0x5bf728;super(),V(this,_0x5d3ba2(0x3d0),new _0x108fc1({'PIVOT_PERFORM_CHECK':be})),V(this,_0x5d3ba2(0x34c),new _0x51d859({'PIVOT_MUTATION_GENERATE':jo})),(this[_0x5d3ba2(0x3b9)]=_0x2313d0,this[_0x5d3ba2(0x1f5)]=_0x5b5084,this['_init']());}['_init'](){const _0xd32d53=_0x5bf728;this[_0xd32d53(0x2c5)]();}[_0x5bf728(0x384)](_0x5f3818){const _0x5d5570=_0x5bf728;return this[_0x5d5570(0x3d0)][_0x5d5570(0x447)](be)(!0x1,_0x5f3818);}[_0x5bf728(0x2c5)](){const _0x1709ac=_0x5bf728;this['disposeWithMe'](this[_0x1709ac(0x3b9)][_0x1709ac(0x25f)](_0xa62e49[_0x1709ac(0x357)],{'priority':0xc8,'effect':_0x393181[_0x1709ac(0x409)]|_0x393181[_0x1709ac(0x396)],'handler':(_0x244997,_0x19411b,_0x2cf20a)=>{const _0x49ae2a=_0x1709ac,{row:_0x2edae8,col:_0x5b6a6c,unitId:_0xdb8719,subUnitId:_0x461f73,workbook:_0x18003a}=_0x19411b,_0x1e6478=this[_0x49ae2a(0x1f5)][_0x49ae2a(0x2a4)](_0xdb8719,_0x461f73,_0x2edae8,_0x5b6a6c);if(!_0x1e6478)return _0x2cf20a(_0x244997);const _0x452cc3={..._0x244997};(_0x1e6478['v']||_0x1e6478['v']===0x0)&&(_0x452cc3['v']=_0x1e6478['v']),_0x1e6478['t']&&(_0x452cc3['t']=_0x1e6478['t']);const _0x15d5f8=(typeof(_0x244997==null?void 0x0:_0x244997['s'])=='string'?_0x18003a[_0x49ae2a(0x1fb)]()[_0x49ae2a(0x21b)](_0x244997==null?void 0x0:_0x244997['s']):_0x244997==null?void 0x0:_0x244997['s'])||{},_0x2af019=_0x18003a[_0x49ae2a(0x1fb)]()[_0x49ae2a(0x21b)](_0x1e6478['s']),_0x48541f={..._0x2af019,..._0x15d5f8};_0x2af019!=null&&_0x2af019['n']&&(_0x48541f['n']=_0x2af019['n']);const _0xe5f6c3=_0x18003a['getStyles']()[_0x49ae2a(0x26b)](_0x48541f);return _0x452cc3['s']=_0xe5f6c3,(_0x1e6478[_0x49ae2a(0x2c4)]===_0x2a40d9['Collapse']||_0x1e6478[_0x49ae2a(0x2c4)]===_0x2a40d9[_0x49ae2a(0x316)])&&(_0x452cc3['fontRenderExtension']={},_0x452cc3[_0x49ae2a(0x2ab)][_0x49ae2a(0x20b)]=li),_0x2cf20a(_0x452cc3);}}));}};ie=es([wo(0x0,_0x360cfb(_0x34849c)),wo(0x1,_0x360cfb(Ne))],ie);const Qo={'id':_0x5bf728(0x268),'type':_0x56fcc3[_0x5bf728(0x331)],'handler':(_0x9b78bb,_0x24f576)=>{const _0x30697e=_0x5bf728;if(!_0x24f576)return!0x1;if(!!_0x9b78bb[_0x30697e(0x21b)](_0x224426)[_0x30697e(0x3fb)](z))return!0x0;const {pivotTableId:_0x1d8b37,fieldJSON:_0x31a4fa,unitId:_0x2762fc,subUnitId:_0x91b061}=_0x24f576;let _0x10db61;const {dataFieldType:_0x5707cb,id:_0x3d8761,name:_0x585dc2,hexCode:_0x2d9f05,originalFieldId:_0x474f79}=_0x31a4fa;if(_0x5707cb===_0x3b6834[_0x30697e(0x256)]&&(_0x10db61=new _0x239928(_0x3d8761,_0x585dc2,_0x2d9f05,_0x474f79)),!_0x10db61)return!0x1;const _0x18cd37=_0x9b78bb['get'](G),_0x39480b=_0x18cd37['getDataFieldManager'](_0x2762fc),_0x5dab14=_0x39480b[_0x30697e(0x28d)](_0x1d8b37);_0x39480b[_0x30697e(0x209)](_0x10db61),_0x5dab14[_0x30697e(0x336)](_0x10db61[_0x30697e(0x3f9)](),_0x10db61[_0x30697e(0x3a4)]());const _0x419c4b=_0x5dab14[_0x30697e(0x437)](_0x10db61[_0x30697e(0x213)]());_0x419c4b&&_0x10db61[_0x30697e(0x237)](_0x419c4b);const _0xf6d44a=_0x18cd37[_0x30697e(0x448)](_0x2762fc,_0x91b061,_0x1d8b37);return _0x18cd37['addDirtyPivotTable']({'unitId':_0x2762fc,'subUnitId':_0x91b061,'token':_0x1d8b37,'type':$[_0x30697e(0x225)],'pivotConfig':_0xf6d44a}),!0x0;}},Xo={'id':_0x5bf728(0x1ec),'type':_0x56fcc3[_0x5bf728(0x331)],'handler':(_0x385170,_0x163f5d)=>{const _0x5b3e5e=_0x5bf728;if(!_0x163f5d)return!0x1;if(!!_0x385170['get'](_0x224426)[_0x5b3e5e(0x3fb)](z))return!0x0;const {pivotTableId:_0x39c2af,dataFieldId:_0x429e76,unitId:_0x34d131,subUnitId:_0x2ee88b}=_0x163f5d,_0x53ecdb=_0x385170['get'](G),_0x31fc9e=_0x53ecdb[_0x5b3e5e(0x23e)](_0x34d131);_0x31fc9e[_0x5b3e5e(0x28d)](_0x39c2af)['deleteField'](_0x429e76);let _0x305bd=!0x0;for(const _0x210583 in _0x31fc9e['collections'])if(_0x31fc9e[_0x5b3e5e(0x278)][_0x210583]['getFieldIds']()[_0x5b3e5e(0x223)](_0x429e76)){_0x305bd=!0x1;break;}_0x305bd&&_0x31fc9e[_0x5b3e5e(0x406)](_0x429e76);const _0x1eae5e=_0x53ecdb[_0x5b3e5e(0x448)](_0x34d131,_0x2ee88b,_0x39c2af);return _0x53ecdb[_0x5b3e5e(0x393)]({'unitId':_0x34d131,'subUnitId':_0x2ee88b,'token':_0x39c2af,'type':$[_0x5b3e5e(0x225)],'pivotConfig':_0x1eae5e}),!0x0;}};function Nt(_0x6c95ae,_0xe8f73f){const _0x38687c=_0x5bf728;switch(_0xe8f73f){case _0x3a6ce8[_0x38687c(0x409)]:return _0x6c95ae[_0x38687c(0x3c5)];case _0x3a6ce8[_0x38687c(0x2d8)]:return _0x6c95ae[_0x38687c(0x21f)];case _0x3a6ce8['Row']:return _0x6c95ae[_0x38687c(0x335)];case _0x3a6ce8['Column']:return _0x6c95ae[_0x38687c(0x3a7)];default:return[];}}function Je(_0x2c5ad3,_0x3880cc){const _0x59ddc6=_0x5bf728;return _0x2c5ad3[_0x59ddc6(0x29e)][_0x3880cc]||_0x2c5ad3[_0x59ddc6(0x26a)][_0x3880cc];}function ts(_0x3b0f53,_0x55f521){const _0x66a4e0=_0x5bf728,{area:_0x43cd02,fieldJson:_0x5e428d,index:_0x36af46}=_0x55f521;_0x43cd02===_0x3a6ce8[_0x66a4e0(0x409)]?_0x3b0f53[_0x66a4e0(0x29e)][_0x5e428d['id']]=_0x5e428d:_0x3b0f53[_0x66a4e0(0x26a)][_0x5e428d['id']]=_0x5e428d,Nt(_0x3b0f53,_0x43cd02)[_0x66a4e0(0x32e)](_0x36af46,0x0,_0x5e428d['id']);}function os(_0x411d57,_0x2acfee){const _0x56b541=_0x5bf728,{area:_0x5872ac,fieldId:_0x55e18d,index:_0x424f34}=_0x2acfee;_0x5872ac===_0x3a6ce8[_0x56b541(0x409)]?delete _0x411d57['measure'][_0x55e18d]:delete _0x411d57['dimension'][_0x55e18d],Nt(_0x411d57,_0x5872ac)[_0x56b541(0x32e)](_0x424f34,0x1);}function ns(_0x34c1c6,_0x5bb838){const {fieldId:_0x260c6e,name:_0x3a4138}=_0x5bb838,_0x52b20d=Je(_0x34c1c6,_0x260c6e);_0x52b20d&&(_0x52b20d['displayName']=_0x3a4138);}function is(_0x40cd09,_0x27e6cd){const _0x444636=_0x5bf728,{fieldId:_0x229261,collapse:_0x519f08,item:_0x3c859f}=_0x27e6cd;_0x3c859f!==void 0x0?(_0x40cd09[_0x444636(0x31e)][_0x229261]=_0x40cd09[_0x444636(0x31e)][_0x229261]||{},_0x40cd09[_0x444636(0x31e)][_0x229261][_0x3c859f]=_0x519f08):_0x40cd09[_0x444636(0x31e)][_0x229261]=_0x519f08;}function ss(_0x273da7,_0x1af4df){const _0x39c47=_0x5bf728,{fieldId:_0x44449a,format:_0x4b00e7}=_0x1af4df,_0x4c3b72=Je(_0x273da7,_0x44449a);_0x4c3b72&&(_0x4c3b72[_0x39c47(0x369)]=_0x4b00e7);}function as(_0x3c7502,_0x1fc874){const _0x34320a=_0x5bf728,{fieldId:_0x35fbcc,filterInfo:_0x17475b}=_0x1fc874,_0xce7cd0=Je(_0x3c7502,_0x35fbcc);_0xce7cd0&&(_0xce7cd0[_0x34320a(0x2b7)]=_0x17475b);}function rs(_0x5149d5,_0x119caf){const _0x422123=_0x5bf728,{fieldId:_0x1668ac,filterInfo:_0x194ef6}=_0x119caf,_0x362fd=_0x5149d5['valueFilter'][_0x422123(0x3c6)](_0x50ebad=>_0x50ebad[_0x422123(0x20c)]!==_0x1668ac);_0x194ef6&&_0x362fd['push']({'fieldId':_0x1668ac,'filterInfo':_0x194ef6}),_0x5149d5[_0x422123(0x3e4)]=_0x362fd;}function ls(_0x29d228,_0x4de7e1){const _0x440492=_0x5bf728,{fieldId:_0x3bbdb7,subtotalType:_0x5816ff}=_0x4de7e1,_0x8b4c8a=Je(_0x29d228,_0x3bbdb7);_0x8b4c8a&&(_0x8b4c8a[_0x440492(0x42f)]=_0x5816ff);}function cs(_0x20cf7e,_0x382c32){const _0x4fb8eb=_0x5bf728,{fieldId:_0x1136a7,oldArea:_0x4fe52c,area:_0x153b78,oldIndex:_0x127f91,index:_0x5cde33}=_0x382c32,_0x57e9d9=_0x4fe52c!==_0x3a6ce8[_0x4fb8eb(0x409)]&&_0x153b78===_0x3a6ce8[_0x4fb8eb(0x409)],_0x466393=_0x4fe52c===_0x3a6ce8[_0x4fb8eb(0x409)]&&_0x153b78!==_0x3a6ce8[_0x4fb8eb(0x409)];if(_0x57e9d9||_0x466393){const _0x526a3f=Je(_0x20cf7e,_0x1136a7);_0x526a3f&&(_0x57e9d9?(delete _0x20cf7e[_0x4fb8eb(0x26a)][_0x1136a7],_0x20cf7e[_0x4fb8eb(0x29e)][_0x1136a7]=_0x526a3f):(delete _0x20cf7e[_0x4fb8eb(0x29e)][_0x1136a7],_0x20cf7e['dimension'][_0x1136a7]=_0x526a3f));}const _0x2bd75e=Nt(_0x20cf7e,_0x4fe52c),_0x407b78=Nt(_0x20cf7e,_0x153b78);_0x2bd75e[_0x4fb8eb(0x32e)](_0x127f91,0x1),_0x407b78[_0x4fb8eb(0x32e)](_0x5cde33,0x0,_0x1136a7);}function ds(_0x574bdb,_0x3d3c8d){const _0x4c17dc=_0x5bf728,{valuePosition:_0x12d4c0,index:_0x4e0a6d}=_0x3d3c8d;_0x574bdb[_0x4c17dc(0x376)]=_0x12d4c0,_0x574bdb[_0x4c17dc(0x3c2)]=_0x4e0a6d;}function us(_0x2acd03,_0x18029a){const _0x1921f8=_0x5bf728,{tableFieldId:_0x546727,sourceName:_0x43c2ff,dataFieldId:_0x30ac44}=_0x18029a,_0x29d292=Je(_0x2acd03,_0x546727);_0x29d292&&(_0x29d292[_0x1921f8(0x2cd)]=_0x43c2ff,_0x29d292['dataFieldId']=_0x30ac44);}function fs(_0x335d4c,_0x4733a3){const _0x8f306=_0x5bf728,{fieldId:_0x470ebf,sortInfo:_0xe493ed}=_0x4733a3,_0x44846d=Je(_0x335d4c,_0x470ebf);_0x44846d&&(_0x44846d[_0x8f306(0x36e)]=_0xe493ed);}function gs(_0x4c5383,_0x821784){const _0x3c7340=_0x5bf728,{options:_0x3aa417}=_0x821784;_0x4c5383[_0x3c7340(0x2e8)]={..._0x4c5383[_0x3c7340(0x2e8)],..._0x3aa417};}const Gt={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x3589cd,_0xf1a0f2){const _0x551df4=_0x5bf728;if(!_0xf1a0f2)return!0x1;if(!!_0x3589cd['get'](_0x224426)['getConfig'](z))return!0x0;const _0x4c07ff=_0x3589cd['get'](G),{pivotTableId:_0xc7f003,fieldJson:_0x6c20cf,area:_0x47db40,index:_0x2cb1e4,unitId:_0x501f02,subUnitId:_0x42a979}=_0xf1a0f2,_0x4f6592=_0x4c07ff['getPivotTableInstance'](_0xc7f003);if(!_0x4f6592)return!0x1;let _0x3832b1;_0x47db40===_0x3a6ce8[_0x551df4(0x409)]?_0x3832b1=_0x387f7f(_0x6c20cf):_0x3832b1=_0x454170(_0x6c20cf),_0x4f6592[_0x551df4(0x336)](_0x3832b1,_0x47db40,_0x2cb1e4);const _0x5e9f89=_0x4c07ff['getPivotTableModelConfig'](_0x501f02,_0x42a979,_0xc7f003);ts(_0x5e9f89,_0xf1a0f2);const _0x55b46d=_0x4c07ff['getPivotTableConfig'](_0x501f02,_0x42a979,_0xc7f003);return _0x4c07ff[_0x551df4(0x393)]({'unitId':_0x501f02,'subUnitId':_0x42a979,'token':_0xc7f003,'type':$[_0x551df4(0x225)],'pivotConfig':_0x55b46d}),!0x0;}},jt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x22c),'handler'(_0x5f1db9,_0x584c6a){const _0x293646=_0x5bf728;if(!_0x584c6a)return!0x1;if(!!_0x5f1db9[_0x293646(0x21b)](_0x224426)[_0x293646(0x3fb)](z))return!0x0;const _0xb2e46e=_0x5f1db9['get'](G),{pivotTableId:_0x26a42b,fieldId:_0x1ab983,unitId:_0x15ebb6,subUnitId:_0x250e1d}=_0x584c6a,_0x5450c6=_0xb2e46e[_0x293646(0x24c)](_0x26a42b);if(!_0x5450c6)return!0x1;_0x5450c6[_0x293646(0x2a5)](_0x1ab983);const _0x3e7743=_0xb2e46e[_0x293646(0x379)](_0x15ebb6,_0x250e1d,_0x26a42b);os(_0x3e7743,_0x584c6a);const _0x5d26cf=_0xb2e46e[_0x293646(0x448)](_0x15ebb6,_0x250e1d,_0x26a42b);return _0xb2e46e[_0x293646(0x393)]({'unitId':_0x15ebb6,'subUnitId':_0x250e1d,'token':_0x26a42b,'type':$[_0x293646(0x225)],'pivotConfig':_0x5d26cf}),!0x0;}},Jt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x30f),'handler'(_0x1dfdd2,_0x1f5b31){const _0x5253da=_0x5bf728;if(!_0x1f5b31)return!0x1;if(!!_0x1dfdd2[_0x5253da(0x21b)](_0x224426)[_0x5253da(0x3fb)](z))return!0x0;const _0x3d91ac=_0x1dfdd2[_0x5253da(0x21b)](G),{unitId:_0x49a5b9,subUnitId:_0x1a9ad1,pivotTableId:_0x4ae8a2,fieldId:_0x214ad6,name:_0x2996eb}=_0x1f5b31,_0x5d0085=_0x3d91ac['getPivotTableInstance'](_0x4ae8a2);if(!_0x5d0085)return!0x1;_0x5d0085[_0x5253da(0x40a)](_0x214ad6,_0x2996eb);const _0x589d45=_0x3d91ac[_0x5253da(0x379)](_0x49a5b9,_0x1a9ad1,_0x4ae8a2);return ns(_0x589d45,_0x1f5b31),_0x3d91ac[_0x5253da(0x393)]({'unitId':_0x49a5b9,'subUnitId':_0x1a9ad1,'token':_0x4ae8a2,'type':$[_0x5253da(0x225)]}),!0x0;}},Wt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x47e5d9,_0x2d1a36){const _0x5e246d=_0x5bf728;if(!_0x2d1a36)return!0x1;if(!!_0x47e5d9['get'](_0x224426)[_0x5e246d(0x3fb)](z))return!0x0;const _0xe00c88=_0x47e5d9[_0x5e246d(0x21b)](G),{unitId:_0x3fcba2,subUnitId:_0x4e18dc,pivotTableId:_0x431c1d,fieldId:_0x2c2579,collapse:_0x17c4ce,item:_0x5dded1}=_0x2d1a36,_0x3c394b=_0xe00c88[_0x5e246d(0x24c)](_0x431c1d);if(!_0x3c394b)return!0x1;_0x3c394b[_0x5e246d(0x38d)](_0x2c2579,_0x17c4ce,_0x5dded1);const _0x74cca7=_0xe00c88['getPivotTableModelConfig'](_0x3fcba2,_0x4e18dc,_0x431c1d);return is(_0x74cca7,_0x2d1a36),_0xe00c88[_0x5e246d(0x393)]({'unitId':_0x3fcba2,'subUnitId':_0x4e18dc,'token':_0x431c1d,'type':$[_0x5e246d(0x225)]}),!0x0;}},Yt={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x42c),'handler'(_0x252112,_0x53087d){const _0x210003=_0x5bf728;if(!_0x53087d)return!0x1;if(!!_0x252112[_0x210003(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x244746=_0x252112[_0x210003(0x21b)](G),{unitId:_0x4014c2,subUnitId:_0x18dd40,pivotTableId:_0x149a6f,fieldId:_0x39b88f,format:_0x219bef}=_0x53087d,_0x1e941e=_0x244746[_0x210003(0x24c)](_0x149a6f);if(!_0x1e941e)return!0x1;_0x1e941e[_0x210003(0x419)](_0x39b88f,_0x219bef);const _0x43afc3=_0x244746[_0x210003(0x379)](_0x4014c2,_0x18dd40,_0x149a6f);return ss(_0x43afc3,_0x53087d),_0x244746[_0x210003(0x393)]({'unitId':_0x4014c2,'subUnitId':_0x18dd40,'token':_0x149a6f,'type':$['Set']}),!0x0;}},Kt={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x366ba3,_0x20bc9c){const _0x19555d=_0x5bf728;if(!_0x20bc9c)return!0x1;if(!!_0x366ba3[_0x19555d(0x21b)](_0x224426)[_0x19555d(0x3fb)](z))return!0x0;const _0x5e36ba=_0x366ba3[_0x19555d(0x21b)](G),{unitId:_0x10cc74,subUnitId:_0x1e5937,pivotTableId:_0x644cc6,fieldId:_0x282ceb,filterInfo:_0x2241f6}=_0x20bc9c,_0x20bd50=_0x5e36ba[_0x19555d(0x24c)](_0x644cc6);if(!_0x20bd50)return!0x1;_0x20bd50[_0x19555d(0x1dc)](_0x282ceb,_0x2241f6);const _0x380b12=_0x5e36ba['getPivotTableModelConfig'](_0x10cc74,_0x1e5937,_0x644cc6);return as(_0x380b12,_0x20bc9c),_0x5e36ba['addDirtyPivotTable']({'unitId':_0x10cc74,'subUnitId':_0x1e5937,'token':_0x644cc6,'type':$[_0x19555d(0x225)]}),!0x0;}},Ht={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x250668,_0x560fe4){const _0x507d58=_0x5bf728;if(!_0x560fe4)return!0x1;if(!!_0x250668['get'](_0x224426)[_0x507d58(0x3fb)](z))return!0x0;const _0x333d23=_0x250668[_0x507d58(0x21b)](G),{unitId:_0x431e39,subUnitId:_0x30b4c3,pivotTableId:_0x5d1741,options:_0x3620bf}=_0x560fe4,_0x679ac=_0x333d23[_0x507d58(0x24c)](_0x5d1741);if(!_0x679ac)return!0x1;_0x679ac[_0x507d58(0x215)](_0x3620bf);const _0xf8ca68=_0x333d23[_0x507d58(0x379)](_0x431e39,_0x30b4c3,_0x5d1741);return gs(_0xf8ca68,_0x560fe4),_0x333d23['addDirtyPivotTable']({'unitId':_0x431e39,'subUnitId':_0x30b4c3,'token':_0x5d1741,'type':$[_0x507d58(0x225)]}),!0x0;}},qt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x21abc4,_0xfc10d4){const _0x4a1cbd=_0x5bf728;if(!_0xfc10d4)return!0x1;if(!!_0x21abc4[_0x4a1cbd(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x51a42e=_0x21abc4[_0x4a1cbd(0x21b)](G),{unitId:_0x3867c2,subUnitId:_0x50c133,pivotTableId:_0x26c71a,sortInfo:_0x3a7dfa,fieldId:_0x561559}=_0xfc10d4,_0x3b9b6e=_0x51a42e[_0x4a1cbd(0x24c)](_0x26c71a);if(!_0x3b9b6e)return!0x1;_0x3b9b6e[_0x4a1cbd(0x39a)](_0x561559,_0x3a7dfa);const _0x547ef3=_0x51a42e[_0x4a1cbd(0x379)](_0x3867c2,_0x50c133,_0x26c71a);return fs(_0x547ef3,_0xfc10d4),_0x51a42e['addDirtyPivotTable']({'unitId':_0x3867c2,'subUnitId':_0x50c133,'token':_0x26c71a,'type':$[_0x4a1cbd(0x225)]}),!0x0;}},zt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x299),'handler'(_0x41e988,_0x411905){const _0x3b4602=_0x5bf728;if(!_0x411905)return!0x1;if(!!_0x41e988[_0x3b4602(0x21b)](_0x224426)[_0x3b4602(0x3fb)](z))return!0x0;const _0x1af289=_0x41e988['get'](G),{unitId:_0x58b9ad,subUnitId:_0x57d919,pivotTableId:_0x339b58,fieldId:_0x1e2712,subtotalType:_0x49b44b}=_0x411905,_0x3cd25b=_0x1af289['getPivotTableInstance'](_0x339b58);if(!_0x3cd25b)return!0x1;_0x3cd25b['setSubtotalType'](_0x1e2712,_0x49b44b);const _0x1132df=_0x1af289[_0x3b4602(0x379)](_0x58b9ad,_0x57d919,_0x339b58);return ls(_0x1132df,_0x411905),_0x1af289['addDirtyPivotTable']({'unitId':_0x58b9ad,'subUnitId':_0x57d919,'token':_0x339b58,'type':$['Set']}),!0x0;}},Qt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x3db),'handler'(_0x33c966,_0x1f3f15){const _0x1fe1a4=_0x5bf728;if(!_0x1f3f15)return!0x1;if(!!_0x33c966[_0x1fe1a4(0x21b)](_0x224426)[_0x1fe1a4(0x3fb)](z))return!0x0;const _0x381dea=_0x33c966[_0x1fe1a4(0x21b)](G),{unitId:_0x5c1172,subUnitId:_0x24bfe5,pivotTableId:_0xee511c,fieldId:_0x1541fb,filterInfo:_0x3e6789}=_0x1f3f15,_0x5b92ee=_0x381dea[_0x1fe1a4(0x24c)](_0xee511c);if(!_0x5b92ee)return!0x1;_0x5b92ee[_0x1fe1a4(0x452)](_0x1541fb,_0x3e6789);const _0x10963d=_0x381dea[_0x1fe1a4(0x379)](_0x5c1172,_0x24bfe5,_0xee511c);return rs(_0x10963d,_0x1f3f15),_0x381dea['addDirtyPivotTable']({'unitId':_0x5c1172,'subUnitId':_0x24bfe5,'token':_0xee511c,'type':$[_0x1fe1a4(0x225)]}),!0x0;}},Xt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x3a0c6f,_0xc5e2c0){const _0x48a9f5=_0x5bf728;if(!_0xc5e2c0)return!0x1;if(!!_0x3a0c6f[_0x48a9f5(0x21b)](_0x224426)[_0x48a9f5(0x3fb)](z))return!0x0;const _0x59cb99=_0x3a0c6f['get'](G),{unitId:_0x4f157f,subUnitId:_0x12fedb,pivotTableId:_0x4d0c85,area:_0x35c44f,index:_0x4141df,fieldId:_0x8573c}=_0xc5e2c0,_0x391829=_0x59cb99['getPivotTableInstance'](_0x4d0c85);if(!_0x391829)return!0x1;_0x391829[_0x48a9f5(0x3f3)](_0x8573c,_0x35c44f,_0x4141df);const _0x3d6ac0=_0x59cb99[_0x48a9f5(0x379)](_0x4f157f,_0x12fedb,_0x4d0c85);return cs(_0x3d6ac0,_0xc5e2c0),_0x59cb99[_0x48a9f5(0x393)]({'unitId':_0x4f157f,'subUnitId':_0x12fedb,'token':_0x4d0c85,'type':$[_0x48a9f5(0x225)]}),!0x0;}},Zt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x33f),'handler'(_0x3c96b9,_0x51f21e){const _0x6f1448=_0x5bf728;if(!_0x51f21e)return!0x1;if(!!_0x3c96b9[_0x6f1448(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x3bd057=_0x3c96b9['get'](G),{unitId:_0x5645c1,subUnitId:_0xa1a540,pivotTableId:_0x199e01,sourceName:_0xb29533,dataFieldId:_0x16e141,tableFieldId:_0x922643}=_0x51f21e,_0x39687d=_0x3bd057[_0x6f1448(0x24c)](_0x199e01);if(!_0x39687d)return!0x1;_0x39687d[_0x6f1448(0x1f6)](_0x922643,_0xb29533,_0x16e141);const _0x67ab36=_0x3bd057[_0x6f1448(0x379)](_0x5645c1,_0xa1a540,_0x199e01);return us(_0x67ab36,_0x51f21e),_0x3bd057[_0x6f1448(0x393)]({'unitId':_0x5645c1,'subUnitId':_0xa1a540,'token':_0x199e01,'type':$[_0x6f1448(0x225)]}),!0x0;}},eo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x210),'handler'(_0x33e2f6,_0x3ade98){const _0x5776a1=_0x5bf728;if(!_0x3ade98)return!0x1;if(!!_0x33e2f6[_0x5776a1(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x488e52=_0x33e2f6['get'](G),{unitId:_0xc96ad5,subUnitId:_0x9d3b9a,pivotTableId:_0x17d70e,valuePosition:_0x96b0d6,index:_0x3ccafd}=_0x3ade98,_0x5e0857=_0x488e52['getPivotTableInstance'](_0x17d70e);if(!_0x5e0857)return!0x1;_0x5e0857[_0x5776a1(0x29c)](_0x96b0d6,_0x3ccafd);const _0x3550dd=_0x488e52[_0x5776a1(0x379)](_0xc96ad5,_0x9d3b9a,_0x17d70e);return ds(_0x3550dd,_0x3ade98),_0x488e52[_0x5776a1(0x393)]({'unitId':_0xc96ad5,'subUnitId':_0x9d3b9a,'token':_0x17d70e,'type':$[_0x5776a1(0x225)]}),!0x0;}};function _0x279a(_0x3f53ae,_0x5b8750){const _0x461b08=_0x461b();return _0x279a=function(_0x279a27,_0x5eb7dc){_0x279a27=_0x279a27-0x1ca;let _0x2d7027=_0x461b08[_0x279a27];return _0x2d7027;},_0x279a(_0x3f53ae,_0x5b8750);}function Ce(_0x2f617a,_0x513bcf,_0x4f7eba){const _0x141f78=_0x5bf728,{pivotTableId:_0xaaa698,unitId:_0x1df4de,subUnitId:_0x429162}=_0x513bcf,_0x24724f=[],_0x152359=[];for(const _0x3a7cd3 of _0x4f7eba)switch(_0x3a7cd3['type']){case _0x13920a[_0x141f78(0x1ed)]:{const {fieldJson:_0x5d18be,area:_0xfbaa13,index:_0x13541f}=_0x3a7cd3,_0x3ecabc={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldJson':_0x5d18be,'area':_0xfbaa13,'index':_0x13541f},_0x3254f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5d18be['id'],'area':_0xfbaa13,'index':_0x13541f};_0x24724f[_0x141f78(0x42a)]({'id':Gt['id'],'params':_0x3ecabc}),_0x152359['unshift']({'id':jt['id'],'params':_0x3254f4});}break;case _0x13920a[_0x141f78(0x326)]:{const {fieldId:_0x4728d6,newSubtotalType:_0x105aed,oldSubtotalType:_0x58ef29}=_0x3a7cd3,_0x56d8ed={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x4728d6,'subtotalType':_0x105aed};_0x24724f[_0x141f78(0x42a)]({'id':zt['id'],'params':_0x56d8ed});const _0x44ab32={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x4728d6,'subtotalType':_0x58ef29};_0x152359['unshift']({'id':zt['id'],'params':_0x44ab32});}break;case _0x13920a[_0x141f78(0x451)]:{const {fieldId:_0x3847b6,fieldJson:_0x541202,area:_0x573572,index:_0x36f168}=_0x3a7cd3,_0x159442={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3847b6,'index':_0x36f168,'area':_0x573572};_0x24724f[_0x141f78(0x42a)]({'id':jt['id'],'params':_0x159442});const _0x2c2016={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldJson':_0x541202,'area':_0x573572,'index':_0x36f168};_0x152359[_0x141f78(0x392)]({'id':Gt['id'],'params':_0x2c2016});}break;case _0x13920a[_0x141f78(0x2d3)]:{const {fieldId:_0x1372d6,oldName:_0x578e6e,newName:_0x1f9e85}=_0x3a7cd3,_0xb0f465={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x1372d6,'name':_0x1f9e85};_0x24724f[_0x141f78(0x42a)]({'id':Jt['id'],'params':_0xb0f465});const _0x311f20={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x1372d6,'name':_0x578e6e};_0x152359[_0x141f78(0x392)]({'id':Jt['id'],'params':_0x311f20});}break;case _0x13920a['SetFilterInfo']:{const {fieldId:_0x552e04,oldFilterInfo:_0x1365b7,newFilterInfo:_0x350677}=_0x3a7cd3,_0x2d4b37={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x552e04,'filterInfo':_0x350677};_0x24724f[_0x141f78(0x42a)]({'id':Kt['id'],'params':_0x2d4b37});const _0x27b298={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x552e04,'filterInfo':_0x1365b7};_0x152359[_0x141f78(0x392)]({'id':Kt['id'],'params':_0x27b298});}break;case _0x13920a[_0x141f78(0x36b)]:{const {fieldId:_0x28fbdc,oldSortInfo:_0x1ed3a0,newSortInfo:_0x3a779c}=_0x3a7cd3,_0x242b32={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x28fbdc,'sortInfo':_0x3a779c};_0x24724f[_0x141f78(0x42a)]({'id':qt['id'],'params':_0x242b32});const _0x5c7ae0={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x28fbdc,'sortInfo':_0x1ed3a0};_0x152359[_0x141f78(0x392)]({'id':qt['id'],'params':_0x5c7ae0});}break;case _0x13920a[_0x141f78(0x405)]:{const {oldOptions:_0x332bf8,newOptions:_0x28fe1e}=_0x3a7cd3,_0x3ebce4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'options':_0x28fe1e};_0x24724f['push']({'id':Ht['id'],'params':_0x3ebce4});const _0xa3cd85={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'options':_0x332bf8};_0x152359[_0x141f78(0x392)]({'id':Ht['id'],'params':_0xa3cd85});}break;case _0x13920a[_0x141f78(0x257)]:{const {oldArea:_0x5edaa7,newArea:_0x21fcac,oldIndex:_0x260b94,newIndex:_0x1a733c,fieldId:_0x5b87ed}=_0x3a7cd3,_0x4349e7={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5b87ed,'area':_0x21fcac,'index':_0x1a733c,'oldArea':_0x5edaa7,'oldIndex':_0x260b94};_0x24724f[_0x141f78(0x42a)]({'id':Xt['id'],'params':_0x4349e7});const _0x2cbedc={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5b87ed,'area':_0x5edaa7,'index':_0x260b94,'oldArea':_0x21fcac,'oldIndex':_0x1a733c};_0x152359[_0x141f78(0x392)]({'id':Xt['id'],'params':_0x2cbedc});}break;case _0x13920a[_0x141f78(0x3bf)]:{const {oldValuePosition:_0x14fb16,newValuePosition:_0xc9f14a,oldIndex:_0xb4f678,newIndex:_0x4953c6}=_0x3a7cd3,_0x50582c={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'valuePosition':_0xc9f14a,'index':_0x4953c6};_0x24724f[_0x141f78(0x42a)]({'id':eo['id'],'params':_0x50582c});const _0x1914bf={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'valuePosition':_0x14fb16,'index':_0xb4f678};_0x152359['unshift']({'id':eo['id'],'params':_0x1914bf});}break;case _0x13920a[_0x141f78(0x39c)]:{const {fieldId:_0x5607b4,collapse:_0x59fa03,item:_0x1b3fb7}=_0x3a7cd3,_0x386486={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5607b4,'collapse':_0x59fa03,'item':_0x1b3fb7};_0x24724f[_0x141f78(0x42a)]({'id':Wt['id'],'params':_0x386486});const _0x2a2932={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5607b4,'collapse':!_0x59fa03,'item':_0x1b3fb7};_0x152359[_0x141f78(0x392)]({'id':Wt['id'],'params':_0x2a2932});}break;case _0x13920a['SetFieldFormat']:{const {newFormat:_0x566696,oldFormat:_0x4b14ec,fieldId:_0x3b7dda}=_0x3a7cd3,_0x81b7f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3b7dda,'format':_0x566696};_0x24724f[_0x141f78(0x42a)]({'id':Yt['id'],'params':_0x81b7f4});const _0x2d27f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3b7dda,'format':_0x4b14ec};_0x152359[_0x141f78(0x392)]({'id':Yt['id'],'params':_0x2d27f4});}break;case _0x13920a[_0x141f78(0x3aa)]:{const {tableFieldId:_0x5517d2,oldSourceName:_0x18ff56,newSourceName:_0x68782a,oldDataFieldId:_0x4d111f,newDataFieldId:_0x21121d}=_0x3a7cd3,_0x4f1ae8={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'tableFieldId':_0x5517d2,'sourceName':_0x68782a,'dataFieldId':_0x21121d};_0x24724f[_0x141f78(0x42a)]({'id':Zt['id'],'params':_0x4f1ae8});const _0x59908e={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'tableFieldId':_0x5517d2,'sourceName':_0x18ff56,'dataFieldId':_0x4d111f};_0x152359[_0x141f78(0x392)]({'id':Zt['id'],'params':_0x59908e});}break;case _0x13920a[_0x141f78(0x2ca)]:{const {fieldId:_0x31e16c,filterInfo:_0x433967,oldFilterInfo:_0x542c37}=_0x3a7cd3,_0x132d45={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x31e16c,'filterInfo':_0x433967};_0x24724f[_0x141f78(0x42a)]({'id':Qt['id'],'params':_0x132d45});const _0x1e04b9={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x31e16c,'filterInfo':_0x542c37};_0x152359[_0x141f78(0x392)]({'id':Qt['id'],'params':_0x1e04b9});}}return{'redos':_0x24724f,'undos':_0x152359};}function _e(_0x18ee31,_0x3263fd){const _0x3c4905=_0x5bf728;var _0x4c7b51;const _0x2187fd=_0x18ee31[_0x3c4905(0x21b)](ie),{cellInfo:_0xc7232d,view:_0x81830a,isEmpty:_0x11d34a}=_0x3263fd;return(_0x4c7b51=_0x2187fd[_0x3c4905(0x34c)]['fetchThroughInterceptors'](jo)(To,{'cellInfo':_0xc7232d,'view':_0x81830a,'isEmpty':_0x11d34a}))!=null?_0x4c7b51:To;}const hs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2ba),async 'handler'(_0x4453b0,_0x4b902f){const _0x15b4e2=_0x5bf728;if(!_0x4b902f)return!0x1;const _0x439992=_0x4453b0[_0x15b4e2(0x21b)](_0x4e31c1),_0x4ab95f=_0x4453b0[_0x15b4e2(0x21b)](X),_0x377ce6=_0x4453b0[_0x15b4e2(0x21b)](_0x342a4e),{pivotTableId:_0xf89047,dataFieldId:_0x1675aa,fieldArea:_0x4d0c79,index:_0x7b1f27,unitId:_0x9a626f,subUnitId:_0x6fd4b3}=_0x4b902f,_0x19714f=(await _0x4ab95f[_0x15b4e2(0x382)]({'unitId':_0x9a626f,'subUnitId':_0x6fd4b3,'pivotTableId':_0xf89047,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x1675aa,'fieldArea':_0x4d0c79,'index':_0x7b1f27}}}))[_0x15b4e2(0x236)]['addPivotField'];if(!_0x19714f)return!0x1;const {view:_0x185ed9,changesets:_0x247ba9,isEmpty:_0x5efcfd,pivotTableConfig:_0x47530f,shouldBeAddedGroupJSON:_0x500123}=_0x19714f,_0x547097=_0x47530f[_0x15b4e2(0x1d2)],_0x4b3a3f=new _0x2089ac();_0x4b3a3f[_0x15b4e2(0x2b5)](_0x185ed9);const _0x3a15fc={'cellInfo':_0x547097,'view':_0x4b3a3f,'isEmpty':_0x5efcfd};if(!await _0x4453b0['get'](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3a15fc))return!0x1;const _0x101c71=we(_0x4453b0,_0x4b3a3f,_0x547097,_0x5efcfd),_0x28a9bf=_e(_0x4453b0,_0x3a15fc),{undos:_0x4a32ba,redos:_0x461afc}=Ce(_0x439992,{'pivotTableId':_0xf89047,'unitId':_0x9a626f,'subUnitId':_0x6fd4b3},_0x247ba9);return _0x500123&&(_0x461afc[_0x15b4e2(0x392)]({'id':Qo['id'],'params':{'pivotTableId':_0xf89047,'fieldJSON':_0x500123,'unitId':_0x9a626f,'subUnitId':_0x6fd4b3}}),_0x4a32ba[_0x15b4e2(0x42a)]({'id':Xo['id'],'params':{'pivotTableId':_0xf89047,'dataFieldId':_0x500123['id'],'unitId':_0x9a626f,'subUnitId':_0x6fd4b3}})),_0x3e4922([..._0x101c71[_0x15b4e2(0x43f)],..._0x28a9bf['redos'],..._0x461afc],_0x439992),_0x377ce6[_0x15b4e2(0x337)]({'unitID':_0x9a626f,'redoMutations':[..._0x101c71['redos'],..._0x28a9bf[_0x15b4e2(0x43f)],..._0x461afc],'undoMutations':[..._0x101c71[_0x15b4e2(0x31a)],..._0x28a9bf[_0x15b4e2(0x31a)],..._0x4a32ba]}),!0x0;}},vs=()=>typeof process<'u'&&process['versions']!=null&&process[_0x5bf728(0x3df)][_0x5bf728(0x3b4)]!=null,It={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x52f44c,_0x35839d){const _0x1b02ed=_0x5bf728;var _0x45d31b;if(!_0x35839d)return!0x1;const _0x40916f=_0x52f44c['get'](_0x224426);if(!!_0x40916f['getConfig'](z))return!0x0;const _0x5851c4=_0x52f44c[_0x1b02ed(0x21b)](_0x2fecb8),_0x534374=_0x52f44c['get'](G),{pivotTableId:_0x47ce90,pivotTableConfig:_0x4e2b75,collectionConfig:_0x1b7452,unitId:_0x56d5e2,subUnitId:_0x3f27ed}=_0x35839d,{sourceRangeInfo:_0x311cd8,fieldsConfig:_0x1e2811,targetCellInfo:_0x17a7cd}=_0x4e2b75,_0x1fea90=_0x5851c4[_0x1b02ed(0x1db)](_0x56d5e2);if(!_0x1fea90||!_0x1fea90['getSheetBySheetId'](_0x3f27ed))return!0x1;if(!vs()){let _0x508b5b=0x0;_0x1fea90[_0x1b02ed(0x1e3)]()[_0x1b02ed(0x28f)](_0x4774d1=>{const _0x3480de=_0x1b02ed;var _0x23e915,_0x1447f1;_0x508b5b+=(_0x1447f1=(_0x23e915=_0x534374['getSubUnitPivotConfigs'](_0x56d5e2,_0x4774d1[_0x3480de(0x23f)]()))==null?void 0x0:_0x23e915[_0x3480de(0x222)])!=null?_0x1447f1:0x0;});const _0x13017c=(_0x45d31b=_0x40916f[_0x1b02ed(0x3fb)](_0x1e58ed))!=null?_0x45d31b:{},{ls:_0x569c46,pbk:_0x5d32da}=_0x13017c;if(!Ko(_0x569c46,_0x5d32da))throw new _0x13dca5('limit\x20pivot');const _0x5d991b=go(so,_0x569c46,_0x5d32da)[_0x1b02ed(0x3e9)];if(_0x508b5b>=_0x5d991b)throw new _0x13dca5(_0x1b02ed(0x3f4));}if(!_0x1b7452||!_0x1e2811)return!0x1;const {collection:_0x1658db,updateDataFieldList:_0x22aec4}=_0x534374[_0x1b02ed(0x235)](_0x47ce90,_0x1b7452,_0x311cd8,_0x17a7cd);_0x534374['refreshData'](_0x1658db,_0x22aec4,_0x311cd8);const _0x370bce=new _0x15d468(_0x1658db,void 0x0,_0x47ce90);_0x370bce[_0x1b02ed(0x2b9)](_0x1e2811);const _0x1f68b7=JSON[_0x1b02ed(0x454)](JSON[_0x1b02ed(0x3c7)](_0x4e2b75));return _0x534374['addPivotTable'](_0x56d5e2,_0x3f27ed,_0x47ce90,_0x370bce,_0x1f68b7),_0x534374[_0x1b02ed(0x393)]({'unitId':_0x56d5e2,'subUnitId':_0x3f27ed,'token':_0x47ce90,'type':$['Add'],'pivotConfig':_0x1f68b7}),!0x0;}},ps={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x5c3047,_0x5e89c8){const _0x4024c4=_0x5bf728;if(!_0x5e89c8)return!0x1;const {sourceDataInfo:_0x1ea617,pivotTableConfig:_0x5e6960}=_0x5e89c8;if(!_0x1ea617||!_0x5e6960)return!0x1;const {unitId:_0x2f45fa,subUnitId:_0x1742d3,range:_0x4c47ea}=_0x1ea617,_0x5ce702=_0x5c3047[_0x4024c4(0x21b)](_0x2fecb8),_0x2a03f5=_0x5c3047[_0x4024c4(0x21b)](X),_0x4ca736=_0x5c3047['get'](_0x2a9621),_0x3de609=_0x5c3047[_0x4024c4(0x21b)](_0x4e31c1),_0x3ef000=_0x5ce702[_0x4024c4(0x1db)](_0x2f45fa);if(!_0x3ef000)return!0x1;const _0x80bd40=_0x3ef000[_0x4024c4(0x292)](_0x1742d3);if(!_0x80bd40)return!0x1;const _0x13eb94=_0x2962d6(0x8),_0x130cf6=_0x4c47ea||{'startRow':0x0,'startColumn':0x0,'endRow':_0x80bd40[_0x4024c4(0x3de)]()-0x1,'endColumn':_0x80bd40[_0x4024c4(0x1ce)]()-0x1};_0x130cf6[_0x4024c4(0x441)]=_0x49d1c0[_0x4024c4(0x2bd)];const _0xb686b6=(await _0x2a03f5[_0x4024c4(0x382)]({'unitId':_0x2f45fa,'subUnitId':_0x1742d3,'pivotTableId':_0x13eb94,'params':{'type':k['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2f45fa,'sheetName':_0x80bd40[_0x4024c4(0x3a4)](),'subUnitId':_0x1742d3,'range':_0x130cf6},'pivotTableId':_0x13eb94,'pivotTableIndexConfig':_0x5e6960}}}))[_0x4024c4(0x236)]['addPivotTableWithConfig'];if(!_0xb686b6)return!0x1;const {isEmpty:_0x205a2f,fieldsConfig:_0x2f84cd,collectionConfig:_0x5ca1b6,changesets:_0x556555}=_0xb686b6,_0x3eba33=_0x3ef000['getSheets']()[_0x4024c4(0x395)],_0x26ec56=_0x2565d4({'rowCount':_0x80bd40[_0x4024c4(0x3de)]()-0x1,'columnCount':_0x80bd40[_0x4024c4(0x1ce)]()-0x1});_0x26ec56['id']=_0x1323f3(),_0x26ec56[_0x4024c4(0x362)]=_0x3ef000[_0x4024c4(0x3d4)](''+_0x4ca736['t'](_0x4024c4(0x224)));const _0x27a082={'index':_0x3eba33,'sheet':_0x26ec56,'unitId':_0x2f45fa},{redos:_0x258baf}=Ce(_0x3de609,{'pivotTableId':_0x13eb94,'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id']},_0x556555),_0x509375=[{'id':_0x5b4034['id'],'params':_0x27a082},{'id':It['id'],'params':{'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id'],'pivotTableId':_0x13eb94,'pivotTableConfig':{'isEmpty':_0x205a2f,'fieldsConfig':_0x2f84cd,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id']},'sourceRangeInfo':{'subUnitId':_0x1742d3,'unitId':_0x2f45fa,'range':_0x130cf6,'sheetName':_0x80bd40[_0x4024c4(0x3a4)]()}},'collectionConfig':_0x5ca1b6}},..._0x258baf];return _0x3e4922(_0x509375,_0x3de609),!0x0;}},Et={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x1d9),'handler'(_0x4005fd,_0x738a14){const _0x45aee3=_0x5bf728;if(!_0x738a14)return!0x1;if(!!_0x4005fd[_0x45aee3(0x21b)](_0x224426)[_0x45aee3(0x3fb)](z))return!0x0;const {pivotTableId:_0x419324,unitId:_0xef4984,subUnitId:_0x41921c}=_0x738a14,_0x3688e7=_0x4005fd[_0x45aee3(0x21b)](G);return _0x3688e7['getPivotTableConfig'](_0xef4984,_0x41921c,_0x419324)?(_0x3688e7[_0x45aee3(0x393)]({'unitId':_0xef4984,'subUnitId':_0x41921c,'token':_0x419324,'type':$[_0x45aee3(0x346)]}),_0x3688e7[_0x45aee3(0x2ce)](_0xef4984,_0x41921c,_0x419324),!0x0):!0x1;}},Cs={'type':_0x56fcc3['COMMAND'],'id':_0x5bf728(0x3a0),async 'handler'(_0x47034e,_0x2db98d){const _0x42f85e=_0x5bf728;var _0x2b418c,_0x251364;const _0x52cedf=_0x47034e[_0x42f85e(0x21b)](_0x4e31c1),_0x4cae5c=_0x47034e[_0x42f85e(0x21b)](_0x2fecb8),_0x4a268c=_0x47034e['get'](_0x2a9621),_0x5d0414=_0x47034e[_0x42f85e(0x21b)](X),_0x3cddc7=_0x47034e[_0x42f85e(0x21b)](_0x342a4e),_0x5123fe=_0x47034e[_0x42f85e(0x21b)](ve),_0x57772c=_0x47034e['get'](_0x224426);if(!_0x2db98d)return!0x1;const {pivotTableConfig:_0x104b42,positionType:_0x158666}=_0x2db98d,{targetCellInfo:_0x41804f,sourceRangeInfo:_0x2fd4bd}=_0x104b42,{unitId:_0x29de21,subUnitId:_0x1dabd0}=_0x41804f,_0x440369=_0x4cae5c[_0x42f85e(0x1db)](_0x29de21);if(!_0x440369)return!0x1;let _0x5886d4=0x0;_0x440369[_0x42f85e(0x1e3)]()[_0x42f85e(0x28f)](_0x54a5d0=>{const _0x1467ad=_0x42f85e;var _0x5ebcde,_0x1c15f8;_0x5886d4+=(_0x1c15f8=(_0x5ebcde=_0x5123fe['getSubUnitPivotConfigs'](_0x29de21,_0x54a5d0[_0x1467ad(0x23f)]()))==null?void 0x0:_0x5ebcde[_0x1467ad(0x222)])!=null?_0x1c15f8:0x0;});const _0x240ae5=(_0x2b418c=_0x57772c[_0x42f85e(0x3fb)](_0x1e58ed))!=null?_0x2b418c:{},{ls:_0x5ff3ca,pbk:_0x1d0fbc}=_0x240ae5;if(!Ko(_0x5ff3ca,_0x1d0fbc))return!0x1;const _0x185df1=go(so,_0x5ff3ca,_0x1d0fbc)['count'];if(_0x5886d4>=_0x185df1)return!0x1;const _0xca3ebc=_0x2db98d['pivotTableId']||_0x2962d6(0x8),_0x187dc4=(await _0x5d0414[_0x42f85e(0x382)]({'unitId':_0x29de21,'subUnitId':_0x1dabd0,'pivotTableId':_0xca3ebc,'params':{'type':k[_0x42f85e(0x434)],'addPivotTable':{'sourceRangeInfo':_0x2fd4bd,'pivotTableId':_0xca3ebc}}}))[_0x42f85e(0x236)]['addPivotTable'];if(!_0x187dc4)return!0x1;const {view:_0x106dba,isEmpty:_0x505783,fieldsConfig:_0x5962b6,collectionConfig:_0x560a3a}=_0x187dc4,_0x3cef51=[],_0x21294c=[];if(_0x158666===Bo[_0x42f85e(0x394)]){const _0x5313ea=_0x440369[_0x42f85e(0x1e3)]()[_0x42f85e(0x395)],_0x16ea6a=_0x2565d4({});_0x16ea6a['id']=_0x104b42[_0x42f85e(0x1d2)][_0x42f85e(0x2a0)],_0x16ea6a['name']=(_0x251364=_0x104b42[_0x42f85e(0x1d2)][_0x42f85e(0x360)])!=null?_0x251364:_0x440369['generateNewSheetName'](''+_0x4a268c['t'](_0x42f85e(0x224)));const _0x58404b={'index':_0x5313ea,'sheet':_0x16ea6a,'unitId':_0x29de21},_0x34444f=_0x3c4f41(_0x47034e,_0x58404b);_0x3cef51['push']({'id':_0x575055['id'],'params':_0x34444f}),_0x21294c[_0x42f85e(0x42a)]({'id':_0x532b87['id'],'params':_0x58404b});}else{if(!_0x440369['getSheetBySheetId'](_0x1dabd0))return!0x1;const _0x4114fe=we(_0x47034e,new _0x2089ac(),_0x41804f,!0x0);_0x21294c[_0x42f85e(0x42a)](..._0x4114fe[_0x42f85e(0x43f)]),_0x3cef51[_0x42f85e(0x42a)](..._0x4114fe[_0x42f85e(0x31a)]);const _0x1dc45f={'cellInfo':_0x41804f,'view':_0x106dba,'isEmpty':_0x505783};if(!await _0x47034e['get'](ie)[_0x42f85e(0x3d0)][_0x42f85e(0x447)](be)(!0x0,_0x1dc45f))return!0x1;const _0x5f1f25=_e(_0x47034e,_0x1dc45f);_0x21294c['push'](..._0x5f1f25['redos']),_0x3cef51[_0x42f85e(0x42a)](..._0x5f1f25['undos']);}return _0x21294c[_0x42f85e(0x42a)]({'id':It['id'],'params':{'unitId':_0x41804f[_0x42f85e(0x42b)],'subUnitId':_0x41804f['subUnitId'],'pivotTableId':_0xca3ebc,'pivotTableConfig':{'targetCellInfo':_0x41804f,'sourceRangeInfo':_0x2fd4bd,'fieldsConfig':_0x5962b6},'collectionConfig':_0x560a3a}}),_0x3cef51[_0x42f85e(0x392)]({'id':Et['id'],'params':{'unitId':_0x29de21,'subUnitId':_0x1dabd0,'pivotTableId':_0xca3ebc}}),_0x3e4922(_0x21294c,_0x52cedf)&&_0x3cddc7[_0x42f85e(0x337)]({'unitID':_0x29de21,'undoMutations':_0x3cef51,'redoMutations':_0x21294c}),!0x0;}},ms={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2af),async 'handler'(_0x362a1d,_0x41b4f5){const _0x2392a5=_0x5bf728;if(!_0x41b4f5)return!0x1;const _0x4f0901=_0x362a1d['get'](_0x4e31c1),_0x35fde8=_0x362a1d[_0x2392a5(0x21b)](X),_0x589d44=_0x362a1d[_0x2392a5(0x21b)](_0x342a4e),{pivotTableId:_0x409640,fieldId:_0x164784,area:_0x382068,index:_0xbc2d69,unitId:_0x1550bb,subUnitId:_0xb6e710}=_0x41b4f5,_0x2a3bc6=(await _0x35fde8['getPivotDisplayConfig']({'unitId':_0x1550bb,'subUnitId':_0xb6e710,'pivotTableId':_0x409640,'params':{'type':k[_0x2392a5(0x41e)],'movePivotField':{'fieldId':_0x164784,'area':_0x382068,'index':_0xbc2d69}}}))[_0x2392a5(0x236)]['movePivotField'];if(!_0x2a3bc6)return!0x1;const {changesets:_0x280803,view:_0x1de839,isEmpty:_0x3fae50,pivotTableConfig:_0x547041}=_0x2a3bc6,_0x3de264=_0x547041['targetCellInfo'],_0x46480e=new _0x2089ac();_0x46480e[_0x2392a5(0x2b5)](_0x1de839);const _0x2f77a0={'cellInfo':_0x3de264,'view':_0x46480e,'isEmpty':_0x3fae50};if(!await _0x362a1d[_0x2392a5(0x21b)](ie)[_0x2392a5(0x3d0)][_0x2392a5(0x447)](be)(!0x0,_0x2f77a0))return!0x1;const _0x3af46d=we(_0x362a1d,_0x46480e,_0x3de264,_0x3fae50),_0x2ad65b=_e(_0x362a1d,_0x2f77a0),{redos:_0x5a6658,undos:_0x19a1f0}=Ce(_0x4f0901,{'pivotTableId':_0x409640,'unitId':_0x1550bb,'subUnitId':_0xb6e710},_0x280803);return _0x3e4922([..._0x3af46d['redos'],..._0x2ad65b['redos'],..._0x5a6658],_0x4f0901),_0x589d44['pushUndoRedo']({'unitID':_0x1550bb,'redoMutations':[..._0x3af46d[_0x2392a5(0x43f)],..._0x2ad65b[_0x2392a5(0x43f)],..._0x5a6658],'undoMutations':[..._0x3af46d[_0x2392a5(0x31a)],..._0x2ad65b[_0x2392a5(0x31a)],..._0x19a1f0]}),!0x0;}},pt={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x381),'handler'(_0x1e7425,_0x4e54a4){const _0x103135=_0x5bf728;if(!_0x4e54a4)return!0x1;if(!!_0x1e7425['get'](_0x224426)[_0x103135(0x3fb)](z))return!0x0;const {pivotTableId:_0xf93e3e,targetCellPosition:_0x1616d6,unitId:_0x3a6128,subUnitId:_0x3d9434}=_0x4e54a4,_0x197f92=_0x1e7425[_0x103135(0x21b)](G);if(!_0x197f92['getPivotTableInstance'](_0x4e54a4[_0x103135(0x414)]))return!0x1;const _0x498a9a=_0x197f92[_0x103135(0x31b)](_0xf93e3e);if(!_0x498a9a)return!0x1;const _0x19711e=_0x197f92['getCollection'](_0x498a9a[_0x103135(0x42b)],_0x4e54a4[_0x103135(0x414)]);if(!_0x19711e)return!0x1;const _0x5d737f=_0x197f92[_0x103135(0x448)](_0x498a9a[_0x103135(0x42b)],_0x498a9a[_0x103135(0x2a0)],_0xf93e3e);if(!_0x5d737f)return!0x1;const _0x270289=_0x48d9e9['deepClone'](_0x5d737f);_0x270289['targetCellInfo']={'unitId':_0x3a6128,'subUnitId':_0x3d9434,'row':_0x1616d6['row'],'col':_0x1616d6[_0x103135(0x37a)]};const _0x178883=_0x19711e[_0x103135(0x361)]();if(_0x498a9a[_0x103135(0x2a0)]===_0x3d9434&&_0x498a9a['unitId']===_0x3a6128)_0x197f92[_0x103135(0x432)](_0x3a6128,_0x3d9434,_0xf93e3e,_0x270289),_0x197f92['addDirtyPivotTable']({'unitId':_0x3a6128,'subUnitId':_0x3d9434,'token':_0xf93e3e,'type':$[_0x103135(0x225)]});else{_0x197f92['addDirtyPivotTable']({'unitId':_0x498a9a[_0x103135(0x42b)],'subUnitId':_0x498a9a[_0x103135(0x2a0)],'token':_0xf93e3e,'type':$['Delete']}),_0x197f92[_0x103135(0x2ce)](_0x498a9a[_0x103135(0x42b)],_0x498a9a[_0x103135(0x2a0)],_0xf93e3e);const _0x400195=_0x197f92[_0x103135(0x235)](_0xf93e3e,_0x178883,_0x5d737f[_0x103135(0x3f8)],_0x270289[_0x103135(0x1d2)]),_0x3e165a=new _0x15d468(_0x400195[_0x103135(0x2c0)],void 0x0,_0xf93e3e);_0x3e165a['fromJSON'](_0x270289[_0x103135(0x427)]),_0x197f92[_0x103135(0x35c)](_0x3a6128,_0x3d9434,_0xf93e3e,_0x3e165a,_0x270289),_0x197f92[_0x103135(0x393)]({'unitId':_0x3a6128,'subUnitId':_0x3d9434,'token':_0xf93e3e,'type':$[_0x103135(0x2b4)],'pivotConfig':_0x270289});}return!0x0;}},Is={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x31f),'handler':(_0x33ce15,_0x1a014c)=>{const _0x3ac865=_0x5bf728,_0x2d4a7e=_0x33ce15[_0x3ac865(0x21b)](_0x4e31c1),_0x5205b2=_0x33ce15[_0x3ac865(0x21b)](_0x342a4e),_0x172f56=_0x33ce15[_0x3ac865(0x21b)](ve),_0x24a8ea=_0x33ce15[_0x3ac865(0x21b)](_0x2fecb8);if(!_0x1a014c)return!0x1;const _0x34bf1f=_0x5b1933(_0x24a8ea);if(!_0x34bf1f)return!0x1;const {unitId:_0x3839b8,subUnitId:_0x43a76f,workbook:_0x1b3381}=_0x34bf1f,_0x5db5ed=_0x172f56[_0x3ac865(0x448)](_0x1a014c[_0x3ac865(0x3d6)][_0x3ac865(0x42b)],_0x1a014c[_0x3ac865(0x3d6)]['subUnitId'],_0x1a014c['pivotTableId']);if(!_0x5db5ed)return!0x1;const _0x2e8831=_0x1b3381[_0x3ac865(0x292)](_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2a0)]);if(!_0x2e8831)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x1f6396=_0x2e8831[_0x3ac865(0x3de)](),_0x112386=_0x2e8831['getColumnCount']();if(_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)]>_0x1f6396||_0x1a014c['targetCellInfo'][_0x3ac865(0x37a)]>_0x112386)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x3d581b=[{'id':pt['id'],'params':{'unitId':_0x3839b8,'subUnitId':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2a0)],'pivotTableId':_0x1a014c[_0x3ac865(0x414)],'targetCellPosition':{'row':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)],'col':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x37a)]}}}],_0x5d67ca=[{'id':pt['id'],'params':{'unitId':_0x3839b8,'subUnitId':_0x43a76f,'pivotTableId':_0x1a014c['pivotTableId'],'targetCellPosition':{'row':_0x5db5ed[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)],'col':_0x5db5ed[_0x3ac865(0x1d2)][_0x3ac865(0x37a)]}}}];return _0x3e4922(_0x3d581b,_0x2d4a7e)&&_0x5205b2[_0x3ac865(0x337)]({'unitID':_0x3839b8,'undoMutations':_0x5d67ca,'redoMutations':_0x3d581b}),!0x0;}},bs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x3cf),async 'handler'(_0x1c0acf,_0x1c4427){const _0x1a8597=_0x5bf728;var _0x46a5b4;if(!_0x1c4427)return!0x1;const _0x110d3d=_0x1c0acf[_0x1a8597(0x21b)](_0x2fecb8),_0x4d2eb7=_0x5b1933(_0x110d3d);if(!_0x4d2eb7)return!0x1;const {unitId:_0x2ba6fe,subUnitId:_0x535fd7,workbook:_0x5705c5}=_0x4d2eb7,{row:_0x28692c,col:_0x5e1a5e}=_0x1c4427,_0x88b0a3=_0x1c0acf['get'](Ne),_0x8ce54a=_0x88b0a3[_0x1a8597(0x2d5)](_0x2ba6fe,_0x535fd7,_0x28692c,_0x5e1a5e);if(!_0x8ce54a)return!0x1;const _0x23acc9=(_0x46a5b4=_0x88b0a3[_0x1a8597(0x3a6)](_0x2ba6fe,_0x535fd7,_0x8ce54a))==null?void 0x0:_0x46a5b4[_0x1a8597(0x303)];if(!_0x23acc9)return!0x1;const _0x2f6601=_0x1c0acf['get'](ve)[_0x1a8597(0x448)](_0x2ba6fe,_0x535fd7,_0x8ce54a);if(!_0x2f6601)return!0x1;const {rowInfo:_0x333989,colInfo:_0x141e6b}=_0x23acc9,_0x2b2094=_0x333989[_0x28692c][_0x1a8597(0x271)],_0x581c65=_0x141e6b[_0x5e1a5e][_0x1a8597(0x271)],_0x4e2a86=_0x333989[_0x28692c][_0x1a8597(0x2cc)],_0x451be1=_0x141e6b[_0x5e1a5e][_0x1a8597(0x2cc)],_0x115300=_0x2b2094['concat'](_0x581c65),_0xcb1f9=_0x2f6601[_0x1a8597(0x427)][_0x1a8597(0x335)][_0x1a8597(0x358)](0x0,_0x4e2a86),_0x208a5d=_0x2f6601['fieldsConfig'][_0x1a8597(0x3a7)][_0x1a8597(0x358)](0x0,_0x451be1),_0xcebe0e=_0xcb1f9[_0x1a8597(0x22e)](_0x208a5d),_0x2f9598=_0x115300['map']((_0xadacf5,_0x5d322e)=>[_0xadacf5,_0xcebe0e[_0x5d322e]]),_0x4c3ad2=(await _0x1c0acf[_0x1a8597(0x21b)](X)[_0x1a8597(0x382)]({'unitId':_0x2ba6fe,'subUnitId':_0x535fd7,'pivotTableId':_0x8ce54a,'params':{'type':k[_0x1a8597(0x22a)],'drillDown':{'tuple':_0x2f9598}}}))['result'][_0x1a8597(0x387)];if(!_0x4c3ad2)return!0x1;const {indexes:_0x3d5b0c,range:_0xcebc87,sourceUnitId:_0x4625f4,sourceSubUnitId:_0x19eb90,formatMap:_0x499e84}=_0x4c3ad2,{startRow:_0x3e5ee3,endRow:_0x508698,startColumn:_0x5163f1,endColumn:_0x5a9f43}=_0xcebc87,_0x3b05ca=new _0x43fcd2(),_0x5723ba=_0x508698-_0x3e5ee3,_0x4d2cf3=_0x5a9f43-_0x5163f1,_0x2bf7b8={},_0x25f6bb=_0x5b1933(_0x110d3d,{'unitId':_0x4625f4,'subUnitId':_0x19eb90});if(!_0x25f6bb)return!0x1;const _0x17671a=fe[_0x1a8597(0x1f2)],_0x1f42aa=fe[_0x1a8597(0x3e5)],_0xb107d0=fe[_0x1a8597(0x3e5)],_0x397041=_0x5705c5[_0x1a8597(0x1fb)]()[_0x1a8597(0x26b)](_0x17671a),_0x2602aa=_0x5705c5[_0x1a8597(0x1fb)]()[_0x1a8597(0x26b)](_0x1f42aa),_0x318966=_0x5705c5['getStyles']()[_0x1a8597(0x26b)](_0xb107d0),{worksheet:_0x154061}=_0x25f6bb;let _0x2fa097=0x0;const _0x11a166=0x1;_0x3d5b0c[_0x1a8597(0x28f)](_0x11614f=>{const _0x191bdf=_0x1a8597;for(let _0x55f3ca=0x0;_0x55f3ca<=_0x5a9f43-_0x5163f1;_0x55f3ca++)_0x3b05ca[_0x191bdf(0x26b)](_0x2fa097,_0x55f3ca,_0x154061[_0x191bdf(0x33e)](_0x11614f+_0xcebc87[_0x191bdf(0x373)]+_0x11a166,_0x55f3ca));_0x2fa097++;});for(let _0xcc288e=_0x5163f1;_0xcc288e<=_0x5a9f43;_0xcc288e++){const _0x14b059=_0x154061[_0x1a8597(0x33e)](_0x3e5ee3,_0xcc288e);_0x2bf7b8[_0x3e5ee3]||(_0x2bf7b8[_0x3e5ee3]={}),_0x2bf7b8[_0x3e5ee3][_0xcc288e]={..._0x14b059,'s':_0x397041};}let _0x2c08a8=0x1;const _0x113ee6={},_0x4641a={};_0x3b05ca[_0x1a8597(0x3fe)]((_0x36599e,_0x2cd0d1)=>{const _0x4f1b03=_0x1a8597;_0x2cd0d1[_0x4f1b03(0x28f)](_0x136f41=>{const _0x3179f2=_0x4f1b03,_0x1bb347=_0x3b05ca[_0x3179f2(0x35b)](_0x36599e,_0x136f41);if(_0x2bf7b8[_0x2c08a8]||(_0x2bf7b8[_0x2c08a8]={}),_0x2bf7b8[_0x2c08a8][_0x136f41]={..._0x1bb347,'s':_0x2c08a8%0x2===0x0?_0x318966:_0x2602aa},_0x499e84[_0x136f41]&&_0x36599e>=0x0){const _0x205618=_0x2c08a8%0x2===0x0;let _0x5baae8=_0x205618?_0x4641a[_0x136f41]:_0x113ee6[_0x136f41];_0x5baae8||(_0x5baae8=_0x5705c5['getStyles']()['setValue']({..._0x205618?_0xb107d0:_0x1f42aa,'n':{'pattern':_0x499e84[_0x136f41]}}),_0x205618?_0x4641a[_0x136f41]=_0x5baae8:_0x113ee6[_0x136f41]=_0x5baae8),_0x2bf7b8[_0x2c08a8][_0x136f41]['s']=_0x5baae8;}}),_0x2c08a8++;});const _0x226628=new _0x43fcd2(_0x2bf7b8),_0x4e4d37={};_0x226628[_0x1a8597(0x2f0)]((_0x5b6ed1,_0x49741f,_0x11f881)=>{_0x4e4d37[_0x5b6ed1]||(_0x4e4d37[_0x5b6ed1]={}),_0x4e4d37[_0x5b6ed1][_0x49741f]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1fa1f5=[],_0x56a5af=[],_0x1cf1d4=_0x5705c5[_0x1a8597(0x1e3)]()[_0x1a8597(0x395)],_0x10e6da=_0x2565d4({'rowCount':Math[_0x1a8597(0x2c1)](_0x5f5337,_0x5723ba+0xa),'columnCount':Math[_0x1a8597(0x2c1)](_0x104e87,_0x4d2cf3+0x5)}),_0x458d0b=_0x1c0acf[_0x1a8597(0x21b)](_0x2a9621);_0x10e6da['id']=_0x1323f3(),_0x10e6da['name']=_0x5705c5[_0x1a8597(0x3d4)](''+_0x458d0b['t'](_0x1a8597(0x224)));const _0x51d361={'index':_0x1cf1d4,'sheet':_0x10e6da,'unitId':_0x2ba6fe},_0x239a7d=_0x3c4f41(_0x1c0acf,_0x51d361);_0x56a5af['push']({'id':_0x532b87['id'],'params':_0x51d361}),_0x1fa1f5[_0x1a8597(0x42a)]({'id':_0x575055['id'],'params':_0x239a7d}),_0x56a5af[_0x1a8597(0x42a)]({'id':_0x24965e['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'cellValue':_0x2bf7b8}}),_0x1fa1f5[_0x1a8597(0x392)]({'id':_0x24965e['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'cellValue':_0x4e4d37}});const _0x55dc1d={'startRow':0x0,'startColumn':0x0,'endRow':_0x2c08a8-0x1,'endColumn':_0x5a9f43};_0x56a5af[_0x1a8597(0x42a)]({'id':_0x242433['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'range':_0x55dc1d}}),_0x1fa1f5['unshift']({'id':_0x24119c['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id']}});const _0x33e4e1=_0x1c0acf[_0x1a8597(0x21b)](_0x4e31c1);return _0x3e4922(_0x56a5af,_0x33e4e1)&&_0x1c0acf['get'](_0x342a4e)[_0x1a8597(0x337)]({'unitID':_0x2ba6fe,'undoMutations':_0x1fa1f5,'redoMutations':_0x56a5af}),!0x0;}},Ss={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2b0),async 'handler'(_0x41951f,_0x57b6d2){const _0x3b5343=_0x5bf728;if(!_0x57b6d2)return!0x1;const _0xb4b6ff=_0x41951f[_0x3b5343(0x21b)](_0x4e31c1),_0x28888a=_0x41951f['get'](X),_0x242dd2=_0x41951f[_0x3b5343(0x21b)](_0x342a4e),{pivotTableId:_0x41e89b,fieldIds:_0x53ddbb,unitId:_0x295954,subUnitId:_0x66e8b}=_0x57b6d2,_0x1951b8=(await _0x28888a[_0x3b5343(0x382)]({'unitId':_0x295954,'subUnitId':_0x66e8b,'pivotTableId':_0x41e89b,'params':{'type':k['RemovePivotField'],'removePivotField':{'fieldIds':_0x53ddbb}}}))[_0x3b5343(0x236)][_0x3b5343(0x3bd)];if(!_0x1951b8)return!0x1;const {view:_0x377df8,changesets:_0x59de42,isEmpty:_0x43c026,pivotTableConfig:_0x5c3658}=_0x1951b8,_0x43804b=_0x5c3658[_0x3b5343(0x1d2)],_0x1f21f5=new _0x2089ac();_0x1f21f5[_0x3b5343(0x2b5)](_0x377df8);const _0x5ec086={'cellInfo':_0x43804b,'view':_0x1f21f5,'isEmpty':_0x43c026};if(!await _0x41951f[_0x3b5343(0x21b)](ie)['asyncInterceptor'][_0x3b5343(0x447)](be)(!0x0,_0x5ec086))return!0x1;const _0x1cbb04=we(_0x41951f,_0x1f21f5,_0x43804b,_0x43c026),_0x3ac79d=_e(_0x41951f,_0x5ec086),{redos:_0x131bbb,undos:_0x251303}=Ce(_0xb4b6ff,{'pivotTableId':_0x41e89b,'unitId':_0x295954,'subUnitId':_0x66e8b},_0x59de42);return _0x3e4922([..._0x1cbb04[_0x3b5343(0x43f)],..._0x3ac79d[_0x3b5343(0x43f)],..._0x131bbb],_0xb4b6ff),_0x242dd2[_0x3b5343(0x337)]({'unitID':_0x295954,'redoMutations':[..._0x1cbb04[_0x3b5343(0x43f)],..._0x3ac79d['redos'],..._0x131bbb],'undoMutations':[..._0x1cbb04['undos'],..._0x3ac79d['undos'],..._0x251303]}),!0x0;}},Ps={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x2f8772,_0x2389b2){const _0x2f6f3e=_0x5bf728;if(!_0x2389b2)return!0x1;const _0x12b568=_0x2f8772[_0x2f6f3e(0x21b)](_0x4e31c1),_0x4cc856=_0x2f8772['get'](_0x342a4e),_0x447ee9=_0x2f8772['get'](X),{resetArea:_0x44584f,pivotTableId:_0x306394,unitId:_0x1c42b6,subUnitId:_0x553630}=_0x2389b2,_0x467f13=(await _0x447ee9[_0x2f6f3e(0x382)]({'unitId':_0x1c42b6,'subUnitId':_0x553630,'pivotTableId':_0x306394,'params':{'type':k[_0x2f6f3e(0x2c2)],'resetPivotTable':{'pivotTableId':_0x306394,'resetArea':_0x44584f}}}))[_0x2f6f3e(0x236)]['resetPivotTable'];if(!_0x467f13)return!0x1;const {changesets:_0x1a350d}=_0x467f13,{redos:_0x15f225,undos:_0x4b251f}=Ce(_0x12b568,{'pivotTableId':_0x306394,'unitId':_0x1c42b6,'subUnitId':_0x553630},_0x1a350d);return _0x3e4922(_0x15f225,_0x12b568),_0x4cc856[_0x2f6f3e(0x337)]({'unitID':_0x1c42b6,'redoMutations':_0x15f225,'undoMutations':_0x4b251f}),!0x0;}},Ts={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x4ad21e,_0xf3eb9b){const _0x448a8a=_0x5bf728,_0x44fc42=_0x4ad21e[_0x448a8a(0x21b)](_0x4e31c1),_0x5826e2=_0x4ad21e[_0x448a8a(0x21b)](X),_0x42e13c=_0x4ad21e[_0x448a8a(0x21b)](Ne),_0x5c023d=_0x4ad21e[_0x448a8a(0x21b)](_0x2fecb8),_0x1a05ad=_0x4ad21e[_0x448a8a(0x21b)](_0x2a9621),_0x5c37ef=_0x4ad21e['get'](_0x342a4e);if(!_0xf3eb9b)return!0x1;const {unitId:_0x4e6421,subUnitId:_0x119862,row:_0x325928,col:_0x3c2a3c,collapse:_0x457f33}=_0xf3eb9b,_0x489a39=_0x5c023d[_0x448a8a(0x1db)](_0x4e6421);if(!_0x489a39||!_0x489a39[_0x448a8a(0x292)](_0x119862))return!0x1;const _0x48a001=_0x42e13c[_0x448a8a(0x2d5)](_0x4e6421,_0x119862,_0x325928,_0x3c2a3c);if(!_0x48a001)return!0x1;const _0x2d80e8=_0x42e13c[_0x448a8a(0x3a6)](_0x4e6421,_0x119862,_0x48a001);if(!_0x2d80e8)return!0x1;const _0x1f6d68=_0x5508a5(_0x325928,_0x3c2a3c),{rangesInfo:_0x3fa701,areaInfo:_0x4b4469,headerMap:_0x3f7496}=_0x2d80e8;if(!_0x3fa701||!_0x4b4469||!_0x3f7496)return!0x1;const _0x198bd4=Object['keys'](_0x3fa701)[_0x448a8a(0x2aa)](_0x454c2d=>_0x3fa701[_0x454c2d][_0x448a8a(0x27c)](_0x73739c=>_0x3d3208[_0x448a8a(0x420)](_0x73739c,_0x1f6d68)));let _0x4d38e8;_0x198bd4===_0x448a8a(0x285)?_0x4d38e8=_0x3f7496['rowHeaderMap'][_0x3c2a3c]:_0x198bd4===_0x448a8a(0x1e5)&&(_0x4d38e8=_0x3f7496[_0x448a8a(0x254)][_0x325928]);const _0x43e6c7=_0x4d38e8==null?void 0x0:_0x4d38e8['tableFieldId'],_0x5134e1=_0x42e13c[_0x448a8a(0x2a4)](_0x4e6421,_0x119862,_0x325928,_0x3c2a3c);let _0x504b5e=_0x5134e1==null?void 0x0:_0x5134e1['v'];if(_0x504b5e===_0x1a05ad['t'](_0x448a8a(0x33c))&&(_0x504b5e=_0x2f6290[_0x448a8a(0x35e)]),_0x504b5e==null||!_0x48a001||!_0x43e6c7)return!0x1;const _0x593aa7=await _0x5826e2[_0x448a8a(0x382)]({'unitId':_0x4e6421,'subUnitId':_0x119862,'pivotTableId':_0x48a001,'params':{'type':k[_0x448a8a(0x3f2)],'setPivotCollapse':{'tableFieldId':_0x43e6c7,'collapse':_0x457f33,'item':_0x504b5e}}}),_0x51cdb6=_0x593aa7==null?void 0x0:_0x593aa7['result'][_0x448a8a(0x330)];if(!_0x51cdb6)return!0x1;const {view:_0x48bfde,pivotTableConfig:_0x347c4c,isEmpty:_0x3e34a9,changesets:_0x520b83}=_0x51cdb6,_0xfe307c=new _0x2089ac();_0xfe307c['formJSON'](_0x48bfde);const _0x55da48=_0x347c4c[_0x448a8a(0x1d2)],_0x4a58c0={'cellInfo':_0x55da48,'view':_0xfe307c,'isEmpty':_0x3e34a9};if(!await _0x4ad21e[_0x448a8a(0x21b)](ie)[_0x448a8a(0x3d0)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4a58c0))return!0x1;const _0x276f6d=we(_0x4ad21e,_0xfe307c,_0x55da48,_0x3e34a9),_0x3a6d0e=_e(_0x4ad21e,_0x4a58c0),{redos:_0x25b0c2,undos:_0x45da8a}=Ce(_0x44fc42,{'pivotTableId':_0x48a001,'unitId':_0x4e6421,'subUnitId':_0x119862},_0x520b83);return _0x3e4922([..._0x276f6d[_0x448a8a(0x43f)],..._0x3a6d0e['redos'],..._0x25b0c2],_0x44fc42),_0x5c37ef[_0x448a8a(0x337)]({'unitID':_0x4e6421,'redoMutations':[..._0x276f6d[_0x448a8a(0x43f)],..._0x3a6d0e[_0x448a8a(0x43f)],..._0x25b0c2],'undoMutations':[..._0x276f6d[_0x448a8a(0x31a)],..._0x3a6d0e[_0x448a8a(0x31a)],..._0x45da8a]}),!0x0;}},ys={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x41f),async 'handler'(_0x5959b3,_0x185dbf){const _0xc4cb98=_0x5bf728;if(!_0x185dbf)return!0x1;const _0x30c69f=_0x5959b3[_0xc4cb98(0x21b)](_0x4e31c1),_0x3eee7b=_0x5959b3[_0xc4cb98(0x21b)](_0x342a4e),_0x240d46=_0x5959b3['get'](X),{pivotTableConfig:_0xbd6f8d,pivotTableId:_0x4c294c,unitId:_0x381f05,subUnitId:_0x34a449}=_0x185dbf,_0x1d428a=(await _0x240d46[_0xc4cb98(0x382)]({'unitId':_0x381f05,'subUnitId':_0x34a449,'pivotTableId':_0x4c294c,'params':{'type':k[_0xc4cb98(0x308)],'setPivotTableConfig':{'pivotTableId':_0x4c294c,'pivotTableConfig':_0xbd6f8d}}}))[_0xc4cb98(0x236)]['setPivotTableConfig'];if(!_0x1d428a)return!0x1;const {changesets:_0x421dd8}=_0x1d428a,{redos:_0x315b54,undos:_0x2194ec}=Ce(_0x30c69f,{'pivotTableId':_0x4c294c,'unitId':_0x381f05,'subUnitId':_0x34a449},_0x421dd8);return _0x3e4922(_0x315b54,_0x30c69f),_0x3eee7b[_0xc4cb98(0x337)]({'unitID':_0x381f05,'redoMutations':_0x315b54,'undoMutations':_0x2194ec}),!0x0;}},Ms={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2c6),async 'handler'(_0x3a89c5,_0x4821e6){const _0x16eecc=_0x5bf728;if(!_0x4821e6)return!0x1;const _0x587d7d=_0x3a89c5[_0x16eecc(0x21b)](_0x4e31c1),{pivotTableId:_0x4c67d7,tableFieldId:_0x261eea,items:_0x400b4c,unitId:_0x256002,subUnitId:_0x9ab3ea,isAll:_0x356bd1}=_0x4821e6,_0x334cef=_0x3a89c5[_0x16eecc(0x21b)](X),_0x4e2898=_0x3a89c5[_0x16eecc(0x21b)](_0x342a4e),_0x42fd91=(await _0x334cef[_0x16eecc(0x382)]({'unitId':_0x256002,'subUnitId':_0x9ab3ea,'pivotTableId':_0x4c67d7,'params':{'type':k[_0x16eecc(0x243)],'setPivotFilter':{'tableFieldId':_0x261eea,'items':_0x400b4c,'isAll':_0x356bd1}}}))[_0x16eecc(0x236)][_0x16eecc(0x417)];if(!_0x42fd91)return!0x1;const {changesets:_0x40884e,pivotTableConfig:_0x4a46aa,isEmpty:_0x445f89,view:_0x11d58e}=_0x42fd91,_0x316f5f=_0x4a46aa[_0x16eecc(0x1d2)],_0x1de1e1=new _0x2089ac();_0x1de1e1[_0x16eecc(0x2b5)](_0x11d58e);const _0x483246={'cellInfo':_0x316f5f,'view':_0x1de1e1,'isEmpty':_0x445f89};if(!await _0x3a89c5[_0x16eecc(0x21b)](ie)[_0x16eecc(0x3d0)][_0x16eecc(0x447)](be)(!0x0,_0x483246))return!0x1;const _0x4a531d=we(_0x3a89c5,_0x1de1e1,_0x316f5f,_0x445f89),_0x2b8f24=_e(_0x3a89c5,_0x483246),{undos:_0x1ad381,redos:_0x331310}=Ce(_0x587d7d,{'pivotTableId':_0x4c67d7,'unitId':_0x256002,'subUnitId':_0x9ab3ea},_0x40884e);return _0x3e4922([..._0x4a531d[_0x16eecc(0x43f)],..._0x2b8f24[_0x16eecc(0x43f)],..._0x331310],_0x587d7d),_0x4e2898['pushUndoRedo']({'unitID':_0x256002,'redoMutations':[..._0x4a531d[_0x16eecc(0x43f)],..._0x2b8f24[_0x16eecc(0x43f)],..._0x331310],'undoMutations':[..._0x4a531d[_0x16eecc(0x31a)],..._0x2b8f24['undos'],..._0x1ad381]}),!0x0;}},ws={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2ed),async 'handler'(_0x1a69dd,_0x3d8567){const _0x58cc28=_0x5bf728;if(!_0x3d8567)return!0x1;const _0x2fa28b=_0x1a69dd['get'](_0x4e31c1),_0x1e41c1=_0x1a69dd['get'](_0x342a4e),_0x2ca5a6=_0x1a69dd[_0x58cc28(0x21b)](X),{info:_0x39a3e1,tableFieldId:_0x53dcaa,pivotTableId:_0x12cac5,unitId:_0xe43921,subUnitId:_0x3f0e98}=_0x3d8567,_0x15a929=(await _0x2ca5a6[_0x58cc28(0x382)]({'unitId':_0xe43921,'subUnitId':_0x3f0e98,'pivotTableId':_0x12cac5,'params':{'type':k[_0x58cc28(0x328)],'setPivotSort':{'tableFieldId':_0x53dcaa,'info':_0x39a3e1}}}))['result'][_0x58cc28(0x401)];if(!_0x15a929)return!0x1;const {changesets:_0x1a0084}=_0x15a929,{redos:_0x1eea0e,undos:_0x4dbdfe}=Ce(_0x2fa28b,{'pivotTableId':_0x12cac5,'unitId':_0xe43921,'subUnitId':_0x3f0e98},_0x1a0084);return _0x3e4922(_0x1eea0e,_0x2fa28b),_0x1e41c1[_0x58cc28(0x337)]({'unitID':_0xe43921,'redoMutations':_0x1eea0e,'undoMutations':_0x4dbdfe}),!0x0;}},_s={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x20d),async 'handler'(_0x3659d7,_0x2deb87){const _0x583b1f=_0x5bf728;if(!_0x2deb87)return!0x1;const _0x528b9e=_0x3659d7['get'](_0x4e31c1),{pivotTableId:_0x585f9f,fieldId:_0x580b3c,valueFilterInfo:_0x4022a4,unitId:_0x32d4ab,subUnitId:_0x4e9c33}=_0x2deb87,_0x4b9404=_0x3659d7[_0x583b1f(0x21b)](X),_0x40f80a=_0x3659d7[_0x583b1f(0x21b)](_0x342a4e),_0x3073f6=(await _0x4b9404[_0x583b1f(0x382)]({'unitId':_0x32d4ab,'subUnitId':_0x4e9c33,'pivotTableId':_0x585f9f,'params':{'type':k[_0x583b1f(0x386)],'setValuePivotFilter':{'tableFieldId':_0x580b3c,'filterInfo':_0x4022a4}}}))[_0x583b1f(0x236)][_0x583b1f(0x252)];if(!_0x3073f6)return!0x1;const {changesets:_0x4a52f0,pivotTableConfig:_0x5bf581,isEmpty:_0x3dfb5f,view:_0x4d0313}=_0x3073f6,_0x2fd980=_0x5bf581[_0x583b1f(0x1d2)],_0x3ef433=new _0x2089ac();_0x3ef433[_0x583b1f(0x2b5)](_0x4d0313);const _0x3977fd={'cellInfo':_0x2fd980,'view':_0x3ef433,'isEmpty':_0x3dfb5f};if(!await _0x3659d7['get'](ie)[_0x583b1f(0x3d0)][_0x583b1f(0x447)](be)(!0x0,_0x3977fd))return!0x1;const _0x1967a0=we(_0x3659d7,_0x3ef433,_0x2fd980,_0x3dfb5f),_0x5bd10d=_e(_0x3659d7,_0x3977fd),{undos:_0x19b842,redos:_0x5aa262}=Ce(_0x528b9e,{'pivotTableId':_0x585f9f,'unitId':_0x32d4ab,'subUnitId':_0x4e9c33},_0x4a52f0);return _0x3e4922([..._0x1967a0['redos'],..._0x5bd10d[_0x583b1f(0x43f)],..._0x5aa262],_0x528b9e),_0x40f80a[_0x583b1f(0x337)]({'unitID':_0x32d4ab,'redoMutations':[..._0x1967a0['redos'],..._0x5bd10d[_0x583b1f(0x43f)],..._0x5aa262],'undoMutations':[..._0x1967a0[_0x583b1f(0x31a)],..._0x5bd10d[_0x583b1f(0x31a)],..._0x19b842]}),!0x0;}},to={'id':_0x5bf728(0x293),'type':_0x56fcc3['MUTATION'],'handler':(_0x34ea77,_0x13e197)=>{const _0xe2ea8a=_0x5bf728;if(!_0x13e197)return!0x1;if(!!_0x34ea77[_0xe2ea8a(0x21b)](_0x224426)['getConfig'](z))return!0x0;const {unitId:_0x5893ba,subUnitId:_0x3188bc,pivotTableId:_0xb7c69b,tableFieldId:_0x1b8c78,dateType:_0x5a890a}=_0x13e197,_0x17bd96=_0x34ea77['get'](G),_0x44f797=_0x17bd96['getPivotTableInstance'](_0xb7c69b);if(!_0x44f797)return!0x1;const _0x5a4685=_0x44f797[_0xe2ea8a(0x269)](_0x1b8c78);if(!_0x5a4685)return!0x1;const _0x301cbe=_0x5a4685[_0xe2ea8a(0x213)](),_0x5e80f5=_0x44f797[_0xe2ea8a(0x39f)](_0x301cbe),_0x27ae17=(_0x5e80f5==null?void 0x0:_0x5e80f5[_0xe2ea8a(0x3a4)]())+'\x20'+qo(_0x34ea77,_0x5a890a);_0x17bd96['getCollection'](_0x5893ba,_0xb7c69b)['setDisplayName'](_0x5a4685['id'],_0x27ae17);const _0x34f9b1=_0x44f797[_0xe2ea8a(0x26d)](_0x1b8c78);if(!_0x34f9b1)return!0x1;_0x44f797[_0xe2ea8a(0x40a)](_0x34f9b1[_0xe2ea8a(0x3f9)](),_0x27ae17),_0x5a4685['setDateType'](_0x5a890a);const _0x9c49ef=_0x17bd96['getPivotTableConfig'](_0x5893ba,_0x3188bc,_0xb7c69b);return _0x17bd96[_0xe2ea8a(0x393)]({'unitId':_0x5893ba,'subUnitId':_0x3188bc,'token':_0xb7c69b,'type':$[_0xe2ea8a(0x225)],'pivotConfig':_0x9c49ef}),!0x0;}},Fs={'id':'sheet.command.update-date-group','type':_0x56fcc3['COMMAND'],'handler':(_0x40a36e,_0x120ea8)=>{const _0xb979be=_0x5bf728;if(!_0x120ea8)return!0x1;const _0x4d8696=_0x40a36e[_0xb979be(0x21b)](_0x342a4e),{unitId:_0x1c5d84,subUnitId:_0x478a36,pivotTableId:_0xff50a7,tableFieldId:_0x2c9e2c}=_0x120ea8,_0x3876e6=[],_0x7620f4=[],_0x50315b=_0x40a36e[_0xb979be(0x21b)](ve),_0x580a0c=_0x50315b[_0xb979be(0x28d)](_0x1c5d84,_0xff50a7),_0x693194=_0x50315b[_0xb979be(0x448)](_0x1c5d84,_0x478a36,_0xff50a7);if(!(_0x693194!=null&&_0x693194['fieldsConfig'][_0xb979be(0x26a)]))return!0x1;const _0x1dff06=Object[_0xb979be(0x2eb)](_0x693194[_0xb979be(0x427)]['dimension'])['find'](_0x3836d4=>_0x3836d4['id']===_0x2c9e2c);if(!_0x1dff06)return!0x1;const _0x2ef2a7=_0x1dff06[_0xb979be(0x1e0)];if(!(_0x580a0c!=null&&_0x580a0c[_0xb979be(0x255)]))return!0x1;const _0x44884f=Object[_0xb979be(0x2eb)](_0x580a0c==null?void 0x0:_0x580a0c['fields'])[_0xb979be(0x2aa)](_0x4a5ed3=>_0x4a5ed3['id']===_0x2ef2a7);if(!_0x44884f)return!0x1;_0x399b61(_0x44884f)&&_0x3876e6[_0xb979be(0x42a)]({'id':to['id'],'params':{..._0x120ea8,'dateType':_0x44884f[_0xb979be(0x3c4)]}}),_0x7620f4['push']({'id':to['id'],'params':{..._0x120ea8}});const _0x4869d3=_0x40a36e[_0xb979be(0x21b)](_0x4e31c1);return _0x3e4922(_0x7620f4,_0x4869d3)&&_0x4d8696[_0xb979be(0x337)]({'unitID':_0x1c5d84,'undoMutations':_0x3876e6,'redoMutations':_0x7620f4}),!0x0;}},Ds={'type':_0x56fcc3['COMMAND'],'id':_0x5bf728(0x305),async 'handler'(_0x1bc050,_0x2b0fce){const _0x1c28af=_0x5bf728;if(!_0x2b0fce)return!0x1;const _0x2eab51=_0x1bc050[_0x1c28af(0x21b)](_0x4e31c1),_0x4c7c9c=_0x1bc050[_0x1c28af(0x21b)](_0x342a4e),_0x5396f9=_0x1bc050[_0x1c28af(0x21b)](X),{displayName:_0x3ec501,subtotalType:_0x55d32d,format:_0x2280d4,tableFieldId:_0x2510cf,pivotTableId:_0x231531,unitId:_0x2793a9,subUnitId:_0x986fe8}=_0x2b0fce,_0x4130e0=(await _0x5396f9[_0x1c28af(0x382)]({'unitId':_0x2793a9,'subUnitId':_0x986fe8,'pivotTableId':_0x231531,'params':{'type':k[_0x1c28af(0x43e)],'setPivotSetting':{'tableFieldId':_0x2510cf,'displayName':_0x3ec501,'subtotalType':_0x55d32d,'format':_0x2280d4}}}))[_0x1c28af(0x236)][_0x1c28af(0x3a8)];if(!_0x4130e0)return!0x1;const {changesets:_0x3e0172,view:_0x2fc434,pivotTableConfig:_0x22b2f3,isEmpty:_0x36dc46}=_0x4130e0,_0x3654bf=_0x22b2f3[_0x1c28af(0x1d2)],_0xe77bfd=new _0x2089ac();_0xe77bfd[_0x1c28af(0x2b5)](_0x2fc434);const _0x657e27={'cellInfo':_0x3654bf,'view':_0xe77bfd,'isEmpty':_0x36dc46};if(!await _0x1bc050[_0x1c28af(0x21b)](ie)[_0x1c28af(0x3d0)][_0x1c28af(0x447)](be)(!0x0,_0x657e27))return!0x1;const _0x22fbb8=we(_0x1bc050,_0xe77bfd,_0x3654bf,_0x36dc46),_0x53b5cd=_e(_0x1bc050,_0x657e27),{undos:_0x404922,redos:_0x3e309b}=Ce(_0x2eab51,{'pivotTableId':_0x231531,'unitId':_0x2793a9,'subUnitId':_0x986fe8},_0x3e0172);return _0x3e4922([..._0x22fbb8[_0x1c28af(0x43f)],..._0x53b5cd[_0x1c28af(0x43f)],..._0x3e309b],_0x2eab51),_0x4c7c9c[_0x1c28af(0x337)]({'unitID':_0x2793a9,'redoMutations':[..._0x22fbb8[_0x1c28af(0x43f)],..._0x53b5cd[_0x1c28af(0x43f)],..._0x3e309b],'undoMutations':[..._0x22fbb8[_0x1c28af(0x31a)],..._0x53b5cd['undos'],..._0x404922]}),!0x0;}},oo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x1010b6,_0x1cfc9f){const _0x13c8f7=_0x5bf728;if(!_0x1cfc9f)return!0x1;if(!!_0x1010b6[_0x13c8f7(0x21b)](_0x224426)[_0x13c8f7(0x3fb)](z))return!0x0;const _0x79a130=_0x1010b6[_0x13c8f7(0x21b)](G),{pivotTableId:_0x51760b,deleteIds:_0x5e0e23,collectionJSON:_0x4498a1,dataRangeInfo:_0x3d197e,unitId:_0x2db9c7,subUnitId:_0x1a78c4}=_0x1cfc9f,_0xc383f6=_0x79a130[_0x13c8f7(0x24c)](_0x51760b),_0x521c63=_0x79a130[_0x13c8f7(0x448)](_0x2db9c7,_0x1a78c4,_0x51760b);if(!_0xc383f6||!_0x521c63)return!0x1;const {collection:_0x3d3f2b,updateDataFieldList:_0x4e53a8}=_0x79a130[_0x13c8f7(0x235)](_0x51760b,_0x4498a1,_0x3d197e,_0x521c63['targetCellInfo']);_0x79a130['refreshData'](_0x3d3f2b,_0x4e53a8,_0x3d197e),_0xc383f6[_0x13c8f7(0x1f0)](_0x3d3f2b);for(const _0x4b20f8 of _0x5e0e23)_0x79a130[_0x13c8f7(0x24e)](_0x3d197e[_0x13c8f7(0x42b)],_0x4b20f8);const _0xc76971=_0x79a130[_0x13c8f7(0x448)](_0x2db9c7,_0x1a78c4,_0x51760b);return _0xc76971[_0x13c8f7(0x3f8)]=JSON[_0x13c8f7(0x454)](JSON['stringify'](_0x3d197e)),_0x79a130[_0x13c8f7(0x393)]({'unitId':_0x2db9c7,'subUnitId':_0x1a78c4,'token':_0x51760b,'type':$[_0x13c8f7(0x225)]}),!0x0;}},Rs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x43a),async 'handler'(_0x4418fc,_0x1af151){const _0x190952=_0x5bf728,_0x54a6f4=_0x4418fc[_0x190952(0x21b)](_0x4e31c1),_0x3455ab=_0x4418fc['get'](X),_0x233498=_0x4418fc[_0x190952(0x21b)](_0x342a4e);if(!_0x1af151)return!0x1;const {token:_0x2c69d4,dataRangeInfo:_0x5c3f1c,unitId:_0x24bbe1,subUnitId:_0x5143a9}=_0x1af151,_0x75ed06=[],_0x28bb65=[],_0x2fcfb4=(await _0x3455ab[_0x190952(0x382)]({'unitId':_0x24bbe1,'subUnitId':_0x5143a9,'pivotTableId':_0x2c69d4,'params':{'type':k[_0x190952(0x332)],'updatePivotSource':{'dataRangeInfo':_0x5c3f1c,'unitId':_0x24bbe1,'subUnitId':_0x5143a9}}}))['result'][_0x190952(0x327)];if(!_0x2fcfb4)return!0x1;const {changesets:_0x1b2667,deleteIds:_0x181926,collectionConfig:_0xe79888,oldCollectionConfig:_0x3c685a,view:_0x35ef04,isEmpty:_0x306f83,pivotTableConfig:_0x340edd}=_0x2fcfb4;_0x28bb65[_0x190952(0x42a)]({'id':oo['id'],'params':{'pivotTableId':_0x2c69d4,'deleteIds':_0x181926,'collectionJSON':_0xe79888,'dataRangeInfo':_0x5c3f1c,'unitId':_0x24bbe1,'subUnitId':_0x5143a9}}),_0x75ed06['unshift']({'id':oo['id'],'params':{'pivotTableId':_0x2c69d4,'deleteIds':[],'collectionJSON':_0x3c685a,'dataRangeInfo':_0x340edd[_0x190952(0x3f8)],'unitId':_0x24bbe1,'subUnitId':_0x5143a9}});const _0x196303=_0x340edd[_0x190952(0x1d2)],_0x405bbc=new _0x2089ac();_0x405bbc[_0x190952(0x2b5)](_0x35ef04);const _0x7a0919={'cellInfo':_0x196303,'view':_0x405bbc,'isEmpty':_0x306f83};if(!await _0x4418fc[_0x190952(0x21b)](ie)[_0x190952(0x3d0)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x7a0919))return!0x1;const _0x249f0e=we(_0x4418fc,_0x405bbc,_0x196303,_0x306f83),_0xb5ca74=_e(_0x4418fc,_0x7a0919),{undos:_0x2dc2c0,redos:_0x41739c}=Ce(_0x54a6f4,{'pivotTableId':_0x2c69d4,'unitId':_0x24bbe1,'subUnitId':_0x5143a9},_0x1b2667);return _0x3e4922([..._0x249f0e[_0x190952(0x43f)],..._0xb5ca74['redos'],..._0x28bb65,..._0x2dc2c0],_0x54a6f4),_0x233498[_0x190952(0x337)]({'unitID':_0x24bbe1,'redoMutations':[..._0x249f0e[_0x190952(0x43f)],..._0xb5ca74['redos'],..._0x28bb65,..._0x2dc2c0],'undoMutations':[..._0x249f0e[_0x190952(0x31a)],..._0xb5ca74['undos'],..._0x75ed06,..._0x41739c]}),!0x0;}},Ns={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x13a3f2,_0x219e99){const _0x54695b=_0x5bf728;if(!_0x219e99)return!0x1;const _0x16ccb7=_0x13a3f2[_0x54695b(0x21b)](_0x4e31c1),_0x5b0d4e=_0x13a3f2['get'](X),_0x50facc=_0x13a3f2[_0x54695b(0x21b)](_0x2fecb8),_0x4be756=_0x13a3f2[_0x54695b(0x21b)](_0x342a4e),{pivotTableId:_0x4d8035,position:_0x46c280,index:_0x268c72}=_0x219e99,_0x23adfc=_0x5b1933(_0x50facc);if(!_0x23adfc)return!0x1;const {unitId:_0x4b4a0a,subUnitId:_0x3e6d1d}=_0x23adfc,_0x3cd2cc=(await _0x5b0d4e['getPivotDisplayConfig']({'unitId':_0x4b4a0a,'subUnitId':_0x3e6d1d,'pivotTableId':_0x4d8035,'params':{'type':k[_0x54695b(0x3bf)],'updateValuePosition':{'position':_0x46c280,'index':_0x268c72}}}))[_0x54695b(0x236)][_0x54695b(0x29c)];if(!_0x3cd2cc)return!0x1;const {changesets:_0x352f2b,view:_0x419860,isEmpty:_0x43bcc4,pivotTableConfig:_0x58eddb}=_0x3cd2cc,_0x4ef04c=_0x58eddb['targetCellInfo'],_0x404087=new _0x2089ac();_0x404087[_0x54695b(0x2b5)](_0x419860);const _0x5eafd2=_0x13a3f2[_0x54695b(0x21b)](ie),_0x447b15={'cellInfo':_0x4ef04c,'view':_0x404087,'isEmpty':_0x43bcc4};if(!await _0x5eafd2['asyncInterceptor'][_0x54695b(0x447)](be)(!0x0,_0x447b15))return!0x1;const _0x31bc68=we(_0x13a3f2,_0x404087,_0x4ef04c,_0x43bcc4),_0xf40c48=_e(_0x13a3f2,_0x447b15),{undos:_0x3830b3,redos:_0x4a1a7a}=Ce(_0x16ccb7,{'pivotTableId':_0x4d8035,'unitId':_0x4b4a0a,'subUnitId':_0x3e6d1d},_0x352f2b);return _0x3e4922([..._0x31bc68[_0x54695b(0x43f)],..._0xf40c48[_0x54695b(0x43f)],..._0x4a1a7a],_0x16ccb7),_0x4be756['pushUndoRedo']({'unitID':_0x4b4a0a,'redoMutations':[..._0x31bc68[_0x54695b(0x43f)],..._0xf40c48[_0x54695b(0x43f)],..._0x4a1a7a],'undoMutations':[..._0x31bc68[_0x54695b(0x31a)],..._0xf40c48[_0x54695b(0x31a)],..._0x3830b3]}),!0x0;}},Vt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x32f),'handler'(){return!0x0;}};var Vs=Object[_0x5bf728(0x3a1)],Us=(_0x59919b,_0x56301a,_0x47c68e,_0x44b575)=>{const _0x772acd=_0x5bf728;for(var _0x13a427=_0x44b575>0x1?void 0x0:_0x44b575?Vs(_0x56301a,_0x47c68e):_0x56301a,_0x4f1c2c=_0x59919b[_0x772acd(0x395)]-0x1,_0x374199;_0x4f1c2c>=0x0;_0x4f1c2c--)(_0x374199=_0x59919b[_0x4f1c2c])&&(_0x13a427=_0x374199(_0x13a427)||_0x13a427);return _0x13a427;},at=(_0x4a2aec,_0x290359)=>(_0x5a7ae7,_0x253e97)=>_0x290359(_0x5a7ae7,_0x253e97,_0x4a2aec);const As=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0xd5d702,_0x1eb44b,_0x3092d6)=>{const _0x24ace7=_0x5bf728,_0x112549=_0xd5d702[_0x24ace7(0x35d)];_0xd5d702[_0x24ace7(0x24d)](_0x136c6d=>{const _0x1c6fa7=_0x24ace7,_0x26e546=_0x136c6d[_0x1c6fa7(0x3f9)](),_0x405f52=_0x136c6d[_0x1c6fa7(0x32b)](),_0x10fd9e=_0x136c6d[_0x1c6fa7(0x2f8)](),_0x628982=_0x136c6d[_0x1c6fa7(0x2a1)]();_0x1eb44b[_0x405f52]&&_0x1eb44b[_0x405f52]===_0x628982&&_0x10fd9e===_0x628982&&(_0xd5d702[_0x1c6fa7(0x40a)](_0x26e546,_0x112549[_0x1c6fa7(0x2a1)](_0x405f52)),_0x136c6d[_0x1c6fa7(0x31d)](_0x112549[_0x1c6fa7(0x2a1)](_0x405f52)));}),_0xd5d702['iterateFieldByArea'](_0x3a6ce8[_0x24ace7(0x409)],_0x3adc89=>{const _0x562ec9=_0x24ace7,_0x35ba7b=_0x3adc89['getId'](),_0x509d6d=_0x3adc89[_0x562ec9(0x32b)](),_0x3f0863=_0x3adc89['getSourceName'](),_0x420531=_0x3adc89[_0x562ec9(0x2a1)](),_0x25e663=_0x3adc89['getSubtotal'](),_0x6272e5=_0x3092d6(_0x3f0863,_0x25e663);_0x1eb44b[_0x509d6d]&&_0x1eb44b[_0x509d6d]===_0x3f0863&&_0x6272e5===_0x420531&&(_0xd5d702[_0x562ec9(0x40a)](_0x35ba7b,_0x3092d6(_0x112549[_0x562ec9(0x2a1)](_0x509d6d),_0x25e663)),_0x3adc89[_0x562ec9(0x31d)](_0x112549[_0x562ec9(0x2a1)](_0x509d6d)));});},xs=(_0x439be2,_0x195cf0,_0x22cd63)=>{const _0x55fa4c=_0x5bf728;var _0x53edc5,_0x68efe6;const {arrayFormulaCellData:_0x36691b,unitData:_0x437835}=_0x195cf0,{unitId:_0x2fefd1,subUnitId:_0x470d66}=_0x22cd63,_0x1895b6=_0x22cd63[_0x55fa4c(0x284)],{startColumn:_0x32a641,endColumn:_0x2166fe}=_0x1895b6,_0x2bc158=(_0x53edc5=_0x36691b==null?void 0x0:_0x36691b[_0x2fefd1])==null?void 0x0:_0x53edc5[_0x470d66],_0x4823a0=(_0x68efe6=_0x437835==null?void 0x0:_0x437835[_0x2fefd1])==null?void 0x0:_0x68efe6[_0x470d66],_0x313d1a=new Set(),_0x3526f=_0x2166fe-_0x32a641+0x1,{dirtyRanges:_0x275c4f}=_0x439be2;if(_0x275c4f)for(const {range:_0x5d4280,sheetId:_0xe6fc77,unitId:_0x5cb427}of _0x275c4f){if(_0xe6fc77!==_0x470d66||_0x2fefd1!==_0x5cb427)continue;const _0xa38f67=_0x3d3208[_0x55fa4c(0x383)](_0x5d4280,_0x1895b6);if(_0xa38f67){const {startColumn:_0x25718f,endColumn:_0x39011e}=_0xa38f67;for(let _0x574e3b=_0x25718f;_0x574e3b<=_0x39011e;_0x574e3b++)_0x313d1a[_0x55fa4c(0x2de)](_0x574e3b);}}if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f||_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)return Array['from'](_0x313d1a);if(_0x4823a0){const _0x19abc0=_0x4823a0[_0x55fa4c(0x426)](),_0x445ff2=Object[_0x55fa4c(0x3ab)](_0x19abc0);for(const _0x324c13 of _0x445ff2){const _0x491411=Number(_0x324c13),_0x37738d=_0x19abc0[_0x491411];if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)break;for(const _0x11a2b7 in _0x37738d){const _0x3bc6a0=Number(_0x11a2b7);_0x3bc6a0<_0x32a641||_0x3bc6a0>_0x2166fe||_0x313d1a['add'](_0x3bc6a0);}}}if(_0x2bc158){const _0x595449=_0x2bc158['getMatrix'](),_0x20e986=Object[_0x55fa4c(0x3ab)](_0x595449);for(const _0x446883 of _0x20e986){const _0x194df2=Number(_0x446883),_0x247ce8=_0x595449[_0x194df2];if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)break;for(const _0x144f37 in _0x247ce8){const _0x196c34=Number(_0x144f37);_0x196c34<_0x32a641||_0x196c34>_0x2166fe||_0x313d1a[_0x55fa4c(0x2de)](_0x196c34);}}}return Array[_0x55fa4c(0x200)](_0x313d1a);},Os=_0x22d6c7=>{const _0x537e21=_0x5bf728,_0x5dcb37=new Set(),_0x922cea=[];for(const _0x18ae0d of _0x22d6c7){const _0x557522=_0x18ae0d['startRow']+','+_0x18ae0d[_0x537e21(0x320)]+','+_0x18ae0d[_0x537e21(0x3d2)]+','+_0x18ae0d[_0x537e21(0x3cd)];_0x5dcb37[_0x537e21(0x1ff)](_0x557522)||(_0x5dcb37[_0x537e21(0x2de)](_0x557522),_0x922cea['push'](_0x18ae0d));}return _0x922cea;};let ct=class extends _0x25f1fb{constructor(_0x7db387,_0x28dccc,_0x1756b4,_0xb7224e,_0x1d04f2){const _0x510d59=_0x5bf728;super(),V(this,_0x510d59(0x3cc),new _0x6f9e2d(!0x0)),V(this,_0x510d59(0x418),_0x2e25ea=>{const _0x5cf86a=_0x510d59;this[_0x5cf86a(0x3cc)][_0x5cf86a(0x216)](!0x1);}),V(this,_0x510d59(0x2df),_0xc1b947=>{const _0x2877fc=_0x510d59;this[_0x2877fc(0x3cc)][_0x2877fc(0x216)](!0x0);}),(this[_0x510d59(0x317)]=_0x7db387,this[_0x510d59(0x325)]=_0x28dccc,this['_commandService']=_0x1756b4,this[_0x510d59(0x416)]=_0xb7224e,this[_0x510d59(0x24a)]=_0x1d04f2,this[_0x510d59(0x1ef)](),this[_0x510d59(0x3ac)]());}[_0x5bf728(0x1ef)](){const _0x4d0897=_0x5bf728;this[_0x4d0897(0x44a)](),this['_subjectViewChange'](),this[_0x4d0897(0x2a7)](),this[_0x4d0897(0x20a)]();}[_0x5bf728(0x415)](){const _0x1f088f=_0x5bf728;this[_0x1f088f(0x416)]['pushComputingStatusSubject'](this[_0x1f088f(0x3cc)]),_0x15d468[_0x1f088f(0x28a)](_0x1a52c8[_0x1f088f(0x421)],this[_0x1f088f(0x418)]),_0x15d468[_0x1f088f(0x28a)](_0x1a52c8[_0x1f088f(0x385)],this[_0x1f088f(0x2df)]);}[_0x5bf728(0x3ac)](){const _0x1c0d0e=_0x5bf728;this[_0x1c0d0e(0x3d8)](this[_0x1c0d0e(0x234)][_0x1c0d0e(0x3ff)](_0x502900=>{const _0xa6c00d=_0x1c0d0e;_0x502900['id']===_0x345d91['id']&&this[_0xa6c00d(0x317)][_0xa6c00d(0x221)](_0x502900['params']);})),this[_0x1c0d0e(0x3d8)](this[_0x1c0d0e(0x234)][_0x1c0d0e(0x3ff)](_0x498678=>{const _0x46d71f=_0x1c0d0e;if(_0x498678['id']!==ro['id'])return;const _0x2f979e=_0x498678[_0x46d71f(0x3c1)],{unitId:_0x3d524e,subUnitId:_0x2ebe9f,pivotTableId:_0x2375f3}=_0x2f979e,_0x380f9f=_0x2f979e['params'][_0x46d71f(0x2bb)],_0x31a6a9={};switch(_0x380f9f){case k[_0x46d71f(0x2d8)]:{const _0x2f94ca=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3c6)];if(!_0x2f94ca)return;const {row:_0x52e409,col:_0x1d0322,cellData:_0x40f27f,pivotItemRenderInfoCache:_0x333722,tableFieldId:_0x3d4ba2}=_0x2f94ca,_0x528a7b=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2f979e[_0x46d71f(0x414)]);if(!_0x528a7b||!_0x333722)return;if(_0x3d4ba2){const _0x576f98=_0x528a7b[_0x46d71f(0x269)](_0x3d4ba2);if(!_0x576f98)return;_0x31a6a9[_0x46d71f(0x3c6)]={..._0x528a7b[_0x46d71f(0x408)](_0x576f98),'tableFieldId':_0x3d4ba2,'pivotTableId':_0x2f979e[_0x46d71f(0x414)],'filterInfo':_0x528a7b[_0x46d71f(0x21a)](_0x3d4ba2),'sortInfo':_0x528a7b[_0x46d71f(0x203)](_0x3d4ba2),'format':_0x528a7b[_0x46d71f(0x3c3)](_0x3d4ba2)};}else{const _0x1e657e=ki(_0x52e409,_0x1d0322,_0x40f27f,_0x528a7b,_0x333722),_0x3002ed=_0x1e657e==null?void 0x0:_0x1e657e['filterId'];if(!_0x3002ed)return;const _0x5c8983=_0x528a7b[_0x46d71f(0x269)](_0x3002ed);if(!_0x5c8983)return;_0x31a6a9[_0x46d71f(0x3c6)]={..._0x528a7b[_0x46d71f(0x408)](_0x5c8983),'tableFieldId':_0x3002ed,'pivotTableId':_0x2f979e[_0x46d71f(0x414)],'filterInfo':_0x528a7b[_0x46d71f(0x21a)](_0x3002ed),'sortInfo':_0x528a7b['getSortInfo'](_0x3002ed),'format':_0x528a7b[_0x46d71f(0x3c3)](_0x3002ed)};}}break;case k[_0x46d71f(0x324)]:{const _0x2fcc32=_0x2f979e['params'][_0x46d71f(0x399)];if(!_0x2fcc32)return;const {pivotTableId:_0x19d74b}=_0x2fcc32,_0x18fcb3=this[_0x46d71f(0x317)]['getPivotTableInstance'](_0x19d74b);if(!_0x18fcb3)return;const _0x517905=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x19d74b),_0x3ad120=Li(_0x18fcb3,_0x19d74b,_0x517905);_0x31a6a9[_0x46d71f(0x399)]=_0x3ad120;}break;case k[_0x46d71f(0x364)]:{const _0x2ef44f=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x5d9ed6=this[_0x46d71f(0x317)]['getDataFieldManager'](_0x3d524e),_0x314cc1=_0x5d9ed6[_0x46d71f(0x28d)](_0x2375f3);let _0xfb1e0d=null;const _0x19b6fc=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3),_0x39b4f9=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x397)];if(!_0x2ef44f||!_0x19b6fc||!_0x39b4f9)return!0x1;const {dataFieldId:_0x5ce4a3,fieldArea:_0x7d2557,index:_0x460bd4}=_0x39b4f9;_0x2ef44f[_0x46d71f(0x3ec)]();const _0x1a2c85=_0x2ef44f['addFieldWithSourceId'](_0x5ce4a3,_0x7d2557,_0x460bd4);if(_0x1a2c85&&_0x7d2557===_0x3a6ce8['Value']){const _0x23aaa1=_0x1a2c85[_0x46d71f(0x3f9)](),_0x407217=_0x2ef44f[_0x46d71f(0x269)](_0x23aaa1);if(_0x407217){const _0x45a53a=_0x407217==null?void 0x0:_0x407217[_0x46d71f(0x2a6)]();_0x2ef44f[_0x46d71f(0x1f4)](_0x1a2c85[_0x46d71f(0x3f9)](),_0x45a53a===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}const _0x2f1ed8=_0x2ef44f[_0x46d71f(0x36f)](),_0xb97af5=_0x2ef44f[_0x46d71f(0x1d6)](),_0x201ed9=_0x2ef44f[_0x46d71f(0x42e)](_0x3a6ce8['Value']);if(_0x2f1ed8===-0x1&&_0x201ed9>0x1){const _0x2475e3=_0xb97af5===_0xad4caa[_0x46d71f(0x391)]?_0xad4caa[_0x46d71f(0x3f6)]:_0xb97af5,_0x51bab8=_0x2475e3===_0xad4caa['Row']?_0x3a6ce8[_0x46d71f(0x22f)]:_0x3a6ce8['Column'];_0x2ef44f[_0x46d71f(0x29c)](_0x2475e3,_0x2ef44f[_0x46d71f(0x42e)](_0x51bab8));}}else{if(_0x1a2c85&&(_0x7d2557===_0x3a6ce8[_0x46d71f(0x22f)]||_0x7d2557===_0x3a6ce8[_0x46d71f(0x3f6)])){const _0x47d2e4=_0x1a2c85['getId'](),_0x2cfc8f=_0x2ef44f[_0x46d71f(0x269)](_0x47d2e4);if(_0x2cfc8f&&(_0x2cfc8f==null?void 0x0:_0x2cfc8f[_0x46d71f(0x2a6)]())===_0x54c91a['date']){const _0x8dcb48=_0x2cfc8f[_0x46d71f(0x1d5)]();if(_0x8dcb48&&_0x2ef44f[_0x46d71f(0x419)](_0x1a2c85[_0x46d71f(0x3f9)](),_0x8dcb48),!_0x314cc1[_0x46d71f(0x363)]()[_0x46d71f(0x27c)](_0x5e83ce=>{const _0x40d45d=_0x46d71f,_0x599246=_0x314cc1[_0x40d45d(0x437)](_0x5e83ce);return _0x43eb06(_0x599246)?_0x599246[_0x40d45d(0x2ec)]()[_0x40d45d(0x351)]===_0x5ce4a3:!0x1;})){const _0x149f10=_0x5d9ed6[_0x46d71f(0x28e)](),_0x3c03f8=Hi(_0x2cfc8f[_0x46d71f(0x339)],_0x2cfc8f[_0x46d71f(0x1dd)]),_0x57e178=_0x2cfc8f['getName']()+_0x46d71f(0x21c)+qo(this['_injector'],_0x3c03f8),_0x178818=new _0x239928(_0x149f10,_0x57e178,_0x2962d6(0x3),_0x2cfc8f[_0x46d71f(0x3f9)](),_0x3c03f8);_0x5d9ed6[_0x46d71f(0x209)](_0x178818),_0x314cc1[_0x46d71f(0x336)](_0x149f10,_0x57e178),_0x2ef44f[_0x46d71f(0x3e2)](_0x149f10,_0x7d2557,(_0x460bd4!=null?_0x460bd4:0x0)+0x1),_0xfb1e0d=_0x178818;}}}}const _0x54ede5=_0x2ef44f[_0x46d71f(0x37d)](),_0xacb52f=_0x2ef44f[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)]();let _0x2dfaad;if(_0xfb1e0d){_0x2dfaad=_0xfb1e0d[_0x46d71f(0x361)]();const _0x4215bb=_0xfb1e0d[_0x46d71f(0x3f9)]();_0x314cc1[_0x46d71f(0x272)](_0x4215bb);let _0x14a6e0=!0x0;for(const _0x782896 in _0x5d9ed6[_0x46d71f(0x278)])if(_0x5d9ed6['collections'][_0x782896][_0x46d71f(0x363)]()[_0x46d71f(0x223)](_0x4215bb)){_0x14a6e0=!0x1;break;}_0x14a6e0&&_0x5d9ed6[_0x46d71f(0x406)](_0x4215bb);}const _0x24d91b=_0x2ef44f['endCollectChangeset']();_0x31a6a9['addPivotField']={'view':_0xacb52f,'changesets':_0x24d91b,'isEmpty':_0x54ede5,'pivotTableConfig':_0x19b6fc,'shouldBeAddedGroupJSON':_0x2dfaad};}break;case k[_0x46d71f(0x434)]:{const _0x3c859a=_0x2f979e['params'][_0x46d71f(0x35c)];if(!_0x3c859a)return;const _0x3cb819=_0x3c859a[_0x46d71f(0x3f8)],_0x48841e=_0x3c859a['pivotTableId'],{collection:_0x537c14}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x3cb819[_0x46d71f(0x42b)],'sheetName':_0x3cb819[_0x46d71f(0x360)],'subUnitId':_0x3cb819[_0x46d71f(0x2a0)],'range':_0x3cb819[_0x46d71f(0x284)]}),_0x121a66=new _0x15d468(_0x537c14,void 0x0,_0x48841e),_0x1add8f=_0x121a66[_0x46d71f(0x3b1)](),_0x12632e=_0x121a66[_0x46d71f(0x361)](),_0x3e629e=_0x537c14['toJSON']();_0x31a6a9['addPivotTable']={'view':_0x1add8f,'fieldsConfig':_0x12632e,'collectionConfig':_0x3e629e,'isEmpty':_0x121a66[_0x46d71f(0x37d)]()};}break;case k[_0x46d71f(0x41e)]:{const _0x465abb=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x424)];if(!_0x465abb)return;const {fieldId:_0x461577,area:_0x206333,index:_0x23c59d}=_0x465abb,_0x3eb5ba=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3eb5ba)return;const _0x51e7c=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3);if(!_0x51e7c)return;_0x51e7c[_0x46d71f(0x3ec)]();const {area:_0x5e1354,index:_0x2eb056}=_0x51e7c['getFieldPositionInfoById'](_0x461577);if(_0x51e7c[_0x46d71f(0x3f3)](_0x461577,_0x206333,_0x23c59d),_0x206333===_0x3a6ce8[_0x46d71f(0x409)]&&_0x51e7c[_0x46d71f(0x26d)](_0x461577)[_0x46d71f(0x37f)]()===void 0x0){const _0x4d6729=_0x51e7c[_0x46d71f(0x26d)](_0x461577);if(_0x4d6729&&_0x4d6729[_0x46d71f(0x37f)]()===void 0x0){const _0x549941=_0x51e7c[_0x46d71f(0x269)](_0x461577);if(_0x549941){const _0x1c112c=_0x549941==null?void 0x0:_0x549941['getFieldDataType']();_0x51e7c[_0x46d71f(0x1f4)](_0x461577,_0x1c112c===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}}}const _0x42ee51=_0x51e7c['getValuePosition'](),_0x255ed8=_0x51e7c[_0x46d71f(0x36f)](),_0x5a672d=_0x51e7c[_0x46d71f(0x42e)](_0x3a6ce8[_0x46d71f(0x409)])>0x1;if(_0x5a672d&&_0x5e1354===_0x206333&&(_0x206333===_0x3a6ce8['Row']&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x206333===_0x3a6ce8[_0x46d71f(0x3f6)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])){let _0x274e30=_0x255ed8;_0x2eb056<=_0x255ed8&&_0x274e30--,_0x23c59d<=_0x255ed8&&_0x274e30++,_0x51e7c['updateValuePosition'](_0x42ee51,_0x274e30);}else _0x5a672d&&(_0x5e1354===_0x3a6ce8[_0x46d71f(0x22f)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x5e1354===_0x3a6ce8['Column']&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])&&_0x255ed8>=_0x2eb056&&_0x51e7c['updateValuePosition'](_0x42ee51,_0x255ed8-0x1),_0x5a672d&&(_0x206333===_0x3a6ce8[_0x46d71f(0x22f)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x206333===_0x3a6ce8['Column']&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])&&_0x255ed8>=_0x23c59d&&_0x51e7c[_0x46d71f(0x29c)](_0x42ee51,_0x255ed8+0x1);const _0xa0f3b7=_0x51e7c[_0x46d71f(0x3b1)](),_0x41c5f5=_0x51e7c[_0x46d71f(0x37d)](),_0x416b33=_0x51e7c[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x424)]={'view':_0xa0f3b7[_0x46d71f(0x361)](),'changesets':_0x416b33,'isEmpty':_0x41c5f5,'pivotTableConfig':_0x3eb5ba};}break;case k[_0x46d71f(0x429)]:{const _0x23df98=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3bd)];if(!_0x23df98)return;const _0x3b891c=_0x23df98[_0x46d71f(0x2f1)],_0x472a0c=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x472a0c)return!0x1;const _0xe23057=this[_0x46d71f(0x317)]['getPivotTableInstance'](_0x2375f3);if(!_0xe23057)return!0x1;_0xe23057[_0x46d71f(0x3ec)]();for(const _0x2e34ae of _0x3b891c){const {area:_0x4984f4}=_0xe23057[_0x46d71f(0x3b2)](_0x2e34ae);_0x4984f4===_0x3a6ce8[_0x46d71f(0x409)]&&_0xe23057[_0x46d71f(0x313)](_0x2e34ae),(_0x4984f4===_0x3a6ce8[_0x46d71f(0x22f)]||_0x4984f4===_0x3a6ce8[_0x46d71f(0x3f6)])&&_0xe23057[_0x46d71f(0x34a)](_0x2e34ae),_0xe23057[_0x46d71f(0x2a5)](_0x2e34ae);}const _0xb81d3f=_0xe23057['isEmpty'](),_0x4d6e61=_0xe23057[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0xb97b56=_0xe23057[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x3bd)]={'changesets':_0xb97b56,'pivotTableConfig':_0x472a0c,'isEmpty':_0xb81d3f,'view':_0x4d6e61};}break;case k[_0x46d71f(0x243)]:{const _0xf68940=_0x2f979e[_0x46d71f(0x3c1)]['setPivotFilter'];if(!_0xf68940)return;const {tableFieldId:_0x573e8a,items:_0x192cfc,isAll:_0x4c7467}=_0xf68940,_0xc3909=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2375f3),_0x2d5caf=this[_0x46d71f(0x317)]['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0xc3909||!_0x2d5caf)return;_0xc3909['startCollectChangeset'](),_0xc3909[_0x46d71f(0x1dc)](_0x573e8a,{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x192cfc,'isAll':_0x4c7467});const _0x352c31=_0xc3909['isEmpty'](),_0xec52e5=_0xc3909[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x2f5654=_0xc3909[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x417)]={'view':_0xec52e5,'changesets':_0x2f5654,'isEmpty':_0x352c31,'pivotTableConfig':_0x2d5caf};}break;case k['SetValuePivotFilter']:{const _0x309e07=_0x2f979e['params'][_0x46d71f(0x252)];if(!_0x309e07)return;const {tableFieldId:_0x1ef6dc,filterInfo:_0x204347}=_0x309e07,_0x27202b=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x3ddaeb=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x27202b||!_0x3ddaeb)return;_0x27202b[_0x46d71f(0x3ec)](),_0x27202b[_0x46d71f(0x452)](_0x1ef6dc,_0x204347);const _0x5f3c8f=_0x27202b[_0x46d71f(0x37d)](),_0x33e1c8=_0x27202b[_0x46d71f(0x3b1)]()['toJSON'](),_0x1c387c=_0x27202b[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x252)]={'view':_0x33e1c8,'changesets':_0x1c387c,'isEmpty':_0x5f3c8f,'pivotTableConfig':_0x3ddaeb};}break;case k['SetPivotSort']:{const _0x5372ad=_0x2f979e[_0x46d71f(0x3c1)]['setPivotSort'];if(!_0x5372ad)return;const {tableFieldId:_0x4cddfc,info:_0x2203ac}=_0x5372ad,_0x5d5354=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x4b2588=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x5d5354||!_0x4b2588)return;_0x5d5354[_0x46d71f(0x3ec)](),_0x5d5354[_0x46d71f(0x39a)](_0x4cddfc,_0x2203ac);const _0x102443=_0x5d5354[_0x46d71f(0x37d)](),_0x5d329c=_0x5d5354[_0x46d71f(0x3b1)]()['toJSON'](),_0x2b37ad=_0x5d5354[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x401)]={'view':_0x5d329c,'changesets':_0x2b37ad,'isEmpty':_0x102443,'pivotTableConfig':_0x4b2588};}break;case k[_0x46d71f(0x43e)]:{const _0x504ef5=_0x2f979e[_0x46d71f(0x3c1)]['setPivotSetting'];if(!_0x504ef5)return;const {tableFieldId:_0x39ff6f,displayName:_0x45c833,subtotalType:_0x29f0fb,format:_0x14ead5}=_0x504ef5,_0x435a1b=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2375f3),_0xc18c7c=this[_0x46d71f(0x317)]['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x435a1b||!_0xc18c7c)return;_0x435a1b[_0x46d71f(0x3ec)](),_0x45c833!==void 0x0&&_0x435a1b[_0x46d71f(0x40a)](_0x39ff6f,_0x45c833),_0x29f0fb!==void 0x0&&_0x435a1b['setSubtotalType'](_0x39ff6f,_0x29f0fb),_0x14ead5!==void 0x0&&_0x435a1b[_0x46d71f(0x419)](_0x39ff6f,_0x14ead5);const _0x1f2816=_0x435a1b['isEmpty'](),_0x361edb=_0x435a1b['query']()[_0x46d71f(0x361)](),_0x54d23d=_0x435a1b[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x3a8)]={'changesets':_0x54d23d,'pivotTableConfig':_0xc18c7c,'isEmpty':_0x1f2816,'view':_0x361edb};}break;case k[_0x46d71f(0x332)]:{const _0x264c5a=_0x2f979e['params'][_0x46d71f(0x327)];if(!_0x264c5a)return;const {dataRangeInfo:_0x224709,unitId:_0x5eb4ea,subUnitId:_0x403e09}=_0x264c5a,_0x1019d9=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x448)](_0x5eb4ea,_0x403e09,_0x2375f3),_0x346006=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2375f3);if(!this[_0x46d71f(0x317)][_0x46d71f(0x28d)](_0x5eb4ea,_0x2375f3)||!_0x346006||!_0x1019d9)return;const _0x4698ee=this[_0x46d71f(0x317)]['getUpdateRangeDeleteIds'](_0x5eb4ea,_0x2375f3,_0x224709),_0x1c88f9=this[_0x46d71f(0x317)][_0x46d71f(0x28d)](_0x5eb4ea,_0x2375f3)['toJSON'](),{collection:_0x1c0ee9}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x224709[_0x46d71f(0x42b)],'sheetName':_0x224709[_0x46d71f(0x360)],'subUnitId':_0x224709[_0x46d71f(0x2a0)],'range':_0x224709[_0x46d71f(0x284)]}),_0x45f1cf=_0x1c0ee9[_0x46d71f(0x361)]();_0x346006[_0x46d71f(0x3ec)]();const _0x1f0d3c=this[_0x46d71f(0x317)][_0x46d71f(0x23e)](_0x5eb4ea)[_0x46d71f(0x202)]()||_0x267ddd;_0x346006['iterateField'](_0xd945b1=>{const _0x5a7225=_0x46d71f,_0x438166=_0xd945b1[_0x5a7225(0x32b)]();if(!_0x1c0ee9['hasField'](_0x438166)){const _0x5943f4=_0x1c0ee9['getDataFieldBySourceName'](_0xd945b1['getSourceName']());if(_0x5943f4){_0x346006['updateFieldSourceInfo'](_0xd945b1[_0x5a7225(0x3f9)](),_0x5943f4[_0x5a7225(0x3a4)](),_0x5943f4[_0x5a7225(0x3f9)]());const {area:_0x1ac1b0}=_0x346006[_0x5a7225(0x3b2)](_0xd945b1[_0x5a7225(0x3f9)]());let _0x75f3f0=_0xd945b1[_0x5a7225(0x2f8)]();const _0x3e12dd=_0xd945b1[_0x5a7225(0x2a1)]();if(_0x1ac1b0===_0x3a6ce8[_0x5a7225(0x409)]){const _0x3f0eaf=_0xd945b1[_0x5a7225(0x37f)]();_0x75f3f0=_0x1f0d3c(_0x5943f4[_0x5a7225(0x3a4)](),_0x3f0eaf);}_0x3e12dd!==_0x75f3f0&&_0x346006[_0x5a7225(0x40a)](_0xd945b1['getId'](),_0x75f3f0);}else _0x346006[_0x5a7225(0x2a5)](_0xd945b1['getId']());}});const _0x259d7f=_0x346006['isEmpty'](),_0x11413f=_0x346006[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x2db661=_0x346006['endCollectChangeset']();_0x31a6a9[_0x46d71f(0x327)]={'view':_0x11413f,'changesets':_0x2db661,'isEmpty':_0x259d7f,'pivotTableConfig':_0x1019d9,'collectionConfig':_0x45f1cf,'oldCollectionConfig':_0x1c88f9,'deleteIds':_0x4698ee};}break;case k[_0x46d71f(0x3bf)]:{const _0x75dc6f=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x29c)];if(!_0x75dc6f)return;const {position:_0x3fcaf3,index:_0x3ebcbc}=_0x75dc6f,_0xecc94e=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0xecc94e)return!0x1;const _0x498f25=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3);if(!_0x498f25)return!0x1;_0x498f25['startCollectChangeset'](),_0x498f25[_0x46d71f(0x29c)](_0x3fcaf3,_0x3ebcbc);const _0x42b5e0=_0x498f25[_0x46d71f(0x37d)](),_0x36f2e2=_0x498f25['query']()[_0x46d71f(0x361)](),_0x63c832=_0x498f25[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x29c)]={'changesets':_0x63c832,'pivotTableConfig':_0xecc94e,'isEmpty':_0x42b5e0,'view':_0x36f2e2};}break;case k[_0x46d71f(0x3f2)]:{const _0x4bcf16=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x330)];if(!_0x4bcf16)return;const {tableFieldId:_0x48338b,collapse:_0x1f6d94,item:_0x5c351a}=_0x4bcf16,_0x3488cb=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x17cce5=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3488cb||!_0x17cce5)return;_0x3488cb[_0x46d71f(0x3ec)](),_0x3488cb[_0x46d71f(0x38d)](_0x48338b,_0x1f6d94,_0x5c351a);const _0x245c8e=_0x3488cb['isEmpty'](),_0x23c378=_0x3488cb['query']()[_0x46d71f(0x361)](),_0x59bda9=_0x3488cb[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x330)]={'view':_0x23c378,'isEmpty':_0x245c8e,'pivotTableConfig':_0x17cce5,'changesets':_0x59bda9};}break;case k[_0x46d71f(0x308)]:{const _0x2461ab=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3ed)];if(!_0x2461ab)return;const {pivotTableConfig:_0x19506b}=_0x2461ab,_0x3d2fb3=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x440073=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3d2fb3||!_0x440073)return;_0x3d2fb3[_0x46d71f(0x3ec)](),Yi(_0x3d2fb3,_0x19506b);const _0x5db57b=_0x3d2fb3[_0x46d71f(0x37d)](),_0x4cbb3c=_0x3d2fb3[_0x46d71f(0x3b1)]()['toJSON'](),_0x511016=_0x3d2fb3[_0x46d71f(0x2b8)]();_0x31a6a9['setPivotTableConfig']={'view':_0x4cbb3c,'isEmpty':_0x5db57b,'pivotTableConfig':{..._0x440073,'fieldsConfig':_0x3d2fb3[_0x46d71f(0x361)]()},'changesets':_0x511016};}break;case k[_0x46d71f(0x2c2)]:{const _0x3d40fb=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x229)];if(!_0x3d40fb)return;const _0x353e74=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2375f3),_0x2cbd14=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x353e74||!_0x2cbd14)return;_0x353e74['startCollectChangeset'](),Ki(_0x353e74,_0x3d40fb[_0x46d71f(0x260)]);const _0x4dad5a=_0x353e74[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x42d469=_0x353e74[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x229)]={'view':_0x4dad5a,'isEmpty':!0x0,'pivotTableConfig':{..._0x2cbd14,'fieldsConfig':_0x353e74[_0x46d71f(0x361)]()},'changesets':_0x42d469};}break;case k['AddPivotTableWithConfig']:{const _0x433c21=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3ca)];if(!_0x433c21)return;const _0x184b50=_0x433c21[_0x46d71f(0x3f8)],_0x3fc13e=_0x433c21[_0x46d71f(0x414)],{collection:_0x1bd696}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x184b50[_0x46d71f(0x42b)],'sheetName':_0x184b50['sheetName'],'subUnitId':_0x184b50[_0x46d71f(0x2a0)],'range':_0x184b50[_0x46d71f(0x284)]}),_0x21c7a0=new _0x15d468(_0x1bd696,void 0x0,_0x3fc13e),_0x27e63e=_0x1bd696['getFieldIds'](),{rows:_0xbd5ea2,columns:_0x52e60d,filters:_0x1b7fe5,values:_0x4e8243}=_0x433c21[_0x46d71f(0x3e7)];_0x21c7a0['startCollectChangeset']();for(const {field:_0x5f58d7,selectedItems:_0x1a8f9d}of _0xbd5ea2||[]){const _0x54e6f6=_0x27e63e[_0x5f58d7];if(_0x54e6f6){const _0x356b25=_0x21c7a0[_0x46d71f(0x3e2)](_0x54e6f6,_0x3a6ce8['Row']);_0x1a8f9d&&_0x356b25&&_0x21c7a0['setLabelFilterInfo'](_0x356b25[_0x46d71f(0x3f9)](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x1a8f9d,'isAll':!0x1});}}for(const {field:_0xa197d2,selectedItems:_0x5b1d7e}of _0x52e60d||[]){const _0x3f584e=_0x27e63e[_0xa197d2];if(_0x3f584e){const _0x62d74e=_0x21c7a0[_0x46d71f(0x3e2)](_0x3f584e,_0x3a6ce8[_0x46d71f(0x3f6)]);_0x5b1d7e&&_0x62d74e&&_0x21c7a0[_0x46d71f(0x1dc)](_0x62d74e[_0x46d71f(0x3f9)](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x5b1d7e,'isAll':!0x1});}}for(const {field:_0x1f22e3,selectedItems:_0x837e15}of _0x1b7fe5||[]){const _0x5a5645=_0x27e63e[_0x1f22e3];if(_0x5a5645){const _0x5d4b83=_0x21c7a0[_0x46d71f(0x3e2)](_0x5a5645,_0x3a6ce8[_0x46d71f(0x2d8)]);_0x837e15&&_0x5d4b83&&_0x21c7a0[_0x46d71f(0x1dc)](_0x5d4b83['getId'](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x837e15,'isAll':!0x1});}}for(const {field:_0x3dbba9,subTotalType:_0x45d25d,formatString:_0x22672d}of _0x4e8243||[]){const _0x410192=_0x1bd696['getFieldById'](_0x27e63e[_0x3dbba9]);if(!_0x410192)continue;const _0x10aff7=_0x27e63e[_0x3dbba9];if(_0x10aff7){const _0x42cf02=_0x21c7a0[_0x46d71f(0x3e2)](_0x10aff7,_0x3a6ce8[_0x46d71f(0x409)]);if(_0x42cf02){if(_0x45d25d!==void 0x0){_0x21c7a0['setSubtotalType'](_0x42cf02[_0x46d71f(0x3f9)](),_0x45d25d);const _0x36460e=this[_0x46d71f(0x317)]['getDataFieldManager'](_0x184b50['unitId'])['getAutoDisplayNameFunction']()||_0x267ddd,_0x3d483b=_0x1bd696[_0x46d71f(0x2a1)](_0x10aff7),_0x3a6010=_0x36460e(_0x3d483b,_0x45d25d);_0x21c7a0[_0x46d71f(0x40a)](_0x42cf02[_0x46d71f(0x3f9)](),_0x3a6010);}else{if(_0x410192){const _0x53698f=_0x410192==null?void 0x0:_0x410192[_0x46d71f(0x2a6)]();_0x21c7a0['setSubtotalType'](_0x42cf02['getId'](),_0x53698f===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}}_0x22672d&&_0x21c7a0[_0x46d71f(0x419)](_0x42cf02[_0x46d71f(0x3f9)](),_0x22672d);}}}const _0x3ecf09=_0x21c7a0['query'](),_0x1195e7=_0x21c7a0[_0x46d71f(0x361)](),_0xef403=_0x21c7a0[_0x46d71f(0x37d)](),_0x12d42e=_0x21c7a0[_0x46d71f(0x2b8)](),_0x68d897=_0x1bd696[_0x46d71f(0x361)]();_0x31a6a9[_0x46d71f(0x3ca)]={'view':_0x3ecf09,'fieldsConfig':_0x1195e7,'collectionConfig':_0x68d897,'isEmpty':_0xef403,'changesets':_0x12d42e};}break;case k[_0x46d71f(0x22a)]:{const _0x13762d=Bi(this['_injector'],_0x2f979e);if(!_0x13762d)return;const {range:_0x1949ae,sourceSubUnitId:_0x237375,sourceUnitId:_0x566777,formatMap:_0x6dd0d3,indexes:_0x314ad3}=_0x13762d;_0x31a6a9[_0x46d71f(0x387)]={'range':_0x1949ae,'sourceSubUnitId':_0x237375,'sourceUnitId':_0x566777,'formatMap':_0x6dd0d3,'indexes':_0x314ad3};}break;}this['_commandService'][_0x46d71f(0x314)](lo['id'],{'version':_0x2f979e[_0x46d71f(0x41b)],'result':_0x31a6a9},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x26cab8=_0x5bf728;this['disposeWithMe'](this[_0x26cab8(0x234)][_0x26cab8(0x3ff)](_0x747f89=>{const _0x30528c=_0x26cab8;if(_0x747f89['id']!==uo['id'])return;const _0xd00506=_0x747f89['params'];return this[_0x30528c(0x317)][_0x30528c(0x2b6)](_0xd00506[_0x30528c(0x44d)]),!0x0;}));}[_0x5bf728(0x44a)](){const _0x329f0b=_0x5bf728;this[_0x329f0b(0x317)][_0x329f0b(0x435)][_0x329f0b(0x2d4)](_0xcefc3d=>{const _0xa97849=_0x329f0b;switch(_0xcefc3d[_0xa97849(0x2bb)]){case Be[_0xa97849(0x2de)]:_0xcefc3d[_0xa97849(0x2a8)]&&_0xcefc3d[_0xa97849(0x1d2)]&&this[_0xa97849(0x35f)](_0xcefc3d[_0xa97849(0x347)],_0xcefc3d[_0xa97849(0x2a8)],_0xcefc3d[_0xa97849(0x1d2)]);break;case Be[_0xa97849(0x25a)]:{const {unitId:_0x92d86e,subUnitId:_0x115a2c,token:_0x2af4b8}=_0xcefc3d;_0x92d86e&&_0x115a2c&&_0x2af4b8&&this[_0xa97849(0x321)](_0x92d86e,_0x115a2c,_0x2af4b8);}break;case Be[_0xa97849(0x367)]:{const {token:_0x25c17e,oldSourceRangeInfo:_0x5d086e,dataRangeInfo:_0x5e65a7,targetCellInfo:_0x443f4c}=_0xcefc3d,{unitId:_0x30ab69,subUnitId:_0x152265}=_0x5d086e||{};_0x30ab69&&_0x152265&&_0x25c17e&&this[_0xa97849(0x321)](_0x30ab69,_0x152265,_0x25c17e),_0x5e65a7&&_0x443f4c&&this[_0xa97849(0x35f)](_0x25c17e,_0x5e65a7,_0x443f4c);}break;}});}[_0x5bf728(0x20a)](){const _0x5e80ab=_0x5bf728;this[_0x5e80ab(0x317)][_0x5e80ab(0x294)][_0x5e80ab(0x2d4)](_0x401953=>{const _0x2571eb=_0x5e80ab;Object[_0x2571eb(0x3ab)](_0x401953)[_0x2571eb(0x28f)](_0x5ccba2=>{const _0x492ab2=_0x2571eb,_0x4e0f65=this[_0x492ab2(0x317)]['getTargetByPivotId'](_0x5ccba2);if(_0x4e0f65){const _0x391626=this[_0x492ab2(0x317)][_0x492ab2(0x448)](_0x4e0f65==null?void 0x0:_0x4e0f65[_0x492ab2(0x42b)],_0x4e0f65==null?void 0x0:_0x4e0f65[_0x492ab2(0x2a0)],_0x5ccba2);_0x391626&&(this[_0x492ab2(0x35f)](_0x5ccba2,_0x391626[_0x492ab2(0x3f8)],_0x391626[_0x492ab2(0x1d2)]),this['triggerDirtyFeature']([{'unitId':_0x4e0f65[_0x492ab2(0x42b)],'subUnitId':_0x4e0f65['subUnitId'],'token':_0x5ccba2}]));}});});}[_0x5bf728(0x201)](){const _0x41b2e2=_0x5bf728;this[_0x41b2e2(0x317)]['viewData$'][_0x41b2e2(0x2d4)](_0x1a3ea8=>{const _0x58983f=_0x41b2e2,{unitId:_0x2eab6e,subUnitId:_0x39a529,pivotTableId:_0x216952}=_0x1a3ea8;_0x2eab6e&&_0x39a529&&_0x216952&&this[_0x58983f(0x1f3)]([{'unitId':_0x2eab6e,'subUnitId':_0x39a529,'token':_0x216952}]);});}[_0x5bf728(0x1f3)](_0x199e2e){const _0x2c4872=_0x5bf728,_0x3b8e39={};_0x199e2e[_0x2c4872(0x28f)](_0x5793be=>{var _0x5c72be,_0x5dfe43;const {unitId:_0x4ec7aa,subUnitId:_0x2f4847,token:_0xb2335b}=_0x5793be;_0x3b8e39[_0x4ec7aa]=(_0x5c72be=_0x3b8e39[_0x4ec7aa])!=null?_0x5c72be:{},_0x3b8e39[_0x4ec7aa][_0x2f4847]=(_0x5dfe43=_0x3b8e39[_0x4ec7aa][_0x2f4847])!=null?_0x5dfe43:{},_0x3b8e39[_0x4ec7aa][_0x2f4847][_0xb2335b]=!0x0;}),this[_0x2c4872(0x234)]['executeCommand'](Vt['id'],_0x3b8e39);}[_0x5bf728(0x321)](_0x4e7641,_0x354b7c,_0x1545a0){const _0x2d6d81=_0x5bf728;this[_0x2d6d81(0x325)][_0x2d6d81(0x3c9)](_0x4e7641,_0x354b7c,[_0x1545a0]);}['handleSourceRangeChange'](_0x42ede4,_0x499e1d,_0x4439ba){const _0x4d5b57=_0x5bf728,{unitId:_0x396f98,subUnitId:_0x1336a0}=_0x499e1d;this[_0x4d5b57(0x325)][_0x4d5b57(0x1ff)](_0x4439ba[_0x4d5b57(0x42b)],_0x4439ba[_0x4d5b57(0x2a0)],_0x42ede4)&&this['removeSourceRangeChange'](_0x396f98,_0x1336a0,_0x42ede4);const _0x2c56b4={'sheetId':_0x1336a0,..._0x499e1d};this[_0x4d5b57(0x325)][_0x4d5b57(0x36d)](_0x4439ba[_0x4d5b57(0x42b)],_0x4439ba[_0x4d5b57(0x2a0)],_0x42ede4,{'unitId':_0x4439ba[_0x4d5b57(0x42b)],'subUnitId':_0x4439ba['subUnitId'],'dependencyRanges':[_0x2c56b4],'getDirtyData':(_0x317e54,_0x310b0c)=>{const _0x526938=_0x4d5b57,_0x4b26a3=this[_0x526938(0x317)],_0x565785=_0x4b26a3['getTargetByPivotId'](_0x42ede4);if(!_0x565785)return As();const {unitId:_0x3b3ac1,subUnitId:_0x5623d3}=_0x565785,_0x3653f7=xs(_0x317e54,_0x310b0c,_0x499e1d);if(_0x3653f7[_0x526938(0x395)]>0x0){const _0xb3fc54=_0x4b26a3['getCollection'](_0x396f98,_0x42ede4),_0x1beeff=_0xb3fc54[_0x526938(0x363)](),_0x4215b2=this[_0x526938(0x413)](_0x499e1d[_0x526938(0x42b)],_0x499e1d[_0x526938(0x2a0)],_0x310b0c),_0x255481={},_0x649372=this[_0x526938(0x317)][_0x526938(0x23e)](_0x3b3ac1)[_0x526938(0x202)]()||_0x267ddd,_0x4d49fd=[];for(const _0x415438 of _0x3653f7){const _0x2e63fa=_0x415438-(_0x499e1d[_0x526938(0x284)][_0x526938(0x3d2)]||0x0),_0x378f8a=_0x1beeff[_0x2e63fa];_0x4d49fd[_0x526938(0x42a)](_0x378f8a),_0x255481[_0x378f8a]=_0xb3fc54['getFieldById'](_0x378f8a)['getName'](),_0x4b26a3[_0x526938(0x23e)](_0x396f98)[_0x526938(0x39d)](_0x378f8a,_0x499e1d,_0x2e63fa,_0x4215b2);}_0xb3fc54['getGroupFieldsInfoByIds'](_0x4d49fd)[_0x526938(0x28f)](_0xd39203=>{const _0x37fb09=_0x526938,[_0x322e7b,_0x3a3987]=_0xd39203,_0x2ad705=_0xb3fc54[_0x37fb09(0x437)](_0x322e7b),_0x13a016=_0xb3fc54[_0x37fb09(0x437)](_0x3a3987);_0x2ad705&&_0x13a016&&_0x2ad705[_0x37fb09(0x237)](_0x13a016);}),_0xb3fc54[_0x526938(0x443)]();const _0x3572c7=_0x4b26a3[_0x526938(0x24c)](_0x42ede4);if(_0x3572c7){Es(_0x3572c7,_0x255481,_0x649372),_0x3572c7[_0x526938(0x2cf)](!0x0);const _0x1aa306=_0x3572c7[_0x526938(0x3b1)](),_0x3421ea=_0x4b26a3[_0x526938(0x448)](_0x3b3ac1,_0x5623d3,_0x42ede4),_0x2c1f7b=_0x4b26a3[_0x526938(0x23e)](_0x396f98)[_0x526938(0x361)]();_0x4b26a3[_0x526938(0x30d)](_0x3b3ac1,_0x5623d3,$[_0x526938(0x225)],_0x42ede4,_0x1aa306,_0x3421ea,_0x2c1f7b,!0x0);}}return this[_0x526938(0x322)](_0x3b3ac1,_0x5623d3,_0x42ede4);}});}[_0x5bf728(0x413)](_0x447f1b,_0x20a0be,_0xa6f7a1){var _0x405307,_0x35210f;const {arrayFormulaCellData:_0x30fae5,unitData:_0x949b41}=_0xa6f7a1,_0x1fbc87=(_0x405307=_0x30fae5==null?void 0x0:_0x30fae5[_0x447f1b])==null?void 0x0:_0x405307[_0x20a0be],_0x1f7756=(_0x35210f=_0x949b41==null?void 0x0:_0x949b41[_0x447f1b])==null?void 0x0:_0x35210f[_0x20a0be];return{'arrayFormulaCellDataMatrix':_0x1fbc87,'unitDataMatrix':_0x1f7756};}['getDirtyInfo'](_0x2352f0,_0x5d401f,_0x49f60f){const _0x1ef392=_0x5bf728,_0x5cf71f=this[_0x1ef392(0x317)][_0x1ef392(0x436)](_0x2352f0,_0x5d401f,_0x49f60f),_0x1436a9=[],_0x44dc85=new _0x43fcd2();if(_0x5cf71f){const {rangeCache:_0x233f73,matrix:_0x4dfc1f,oldRangeCache:_0xcde7b2,oldMatrix:_0xdf48ac}=_0x5cf71f,_0x59744c=$t(_0xcde7b2),_0x31c831=$t(_0x233f73);_0x1436a9['push'](..._0x31c831,..._0x59744c),_0xdf48ac&&_0xcde7b2&&_0x59744c[_0x1ef392(0x28f)](_0xd7218d=>{const _0x2ad490=_0x1ef392;for(let _0x487b66=_0xd7218d[_0x2ad490(0x373)];_0x487b66<=_0xd7218d[_0x2ad490(0x320)];_0x487b66++)for(let _0x4b04fd=_0xd7218d[_0x2ad490(0x3d2)];_0x4b04fd<=_0xd7218d[_0x2ad490(0x3cd)];_0x4b04fd++)_0x44dc85[_0x2ad490(0x290)](_0x487b66,_0x4b04fd);}),_0x4dfc1f&&_0x31c831&&_0x31c831[_0x1ef392(0x28f)](_0x1b0a86=>{const _0x4cb283=_0x1ef392;for(let _0x228604=_0x1b0a86[_0x4cb283(0x373)];_0x228604<=_0x1b0a86[_0x4cb283(0x320)];_0x228604++)for(let _0x2b80ae=_0x1b0a86['startColumn'];_0x2b80ae<=_0x1b0a86[_0x4cb283(0x3cd)];_0x2b80ae++)_0x44dc85['setValue'](_0x228604,_0x2b80ae,_0x4dfc1f['getValue'](_0x228604,_0x2b80ae));});}const _0x3a78dd={};return _0x3a78dd[_0x2352f0]={[_0x5d401f]:Os(_0x1436a9)},{'runtimeCellData':{[_0x2352f0]:{[_0x5d401f]:_0x44dc85}},'dirtyRanges':_0x3a78dd};}['dispose'](){}};ct=Us([at(0x0,_0x360cfb(G)),at(0x1,_0x360cfb(_0x1cada9)),at(0x2,_0x360cfb(_0x4e31c1)),at(0x3,_0x360cfb(_0x1cb0fc)),at(0x4,_0x360cfb(_0x121ef7))],ct);var ks=Object[_0x5bf728(0x3a1)],Ls=(_0x2967a6,_0x282395,_0x590c3d,_0x40991c)=>{for(var _0x206c19=_0x40991c>0x1?void 0x0:_0x40991c?ks(_0x282395,_0x590c3d):_0x282395,_0x3a47d8=_0x2967a6['length']-0x1,_0x545c7b;_0x3a47d8>=0x0;_0x3a47d8--)(_0x545c7b=_0x2967a6[_0x3a47d8])&&(_0x206c19=_0x545c7b(_0x206c19)||_0x206c19);return _0x206c19;},_t=(_0xa69f75,_0x32e6c6)=>(_0x35713b,_0x2c70bd)=>_0x32e6c6(_0x35713b,_0x2c70bd,_0xa69f75);let dt=class extends _0x25f1fb{constructor(_0x416da2,_0x17e3ba,_0x10891d,_0x120f7d){const _0x14a7cd=_0x5bf728;super(),V(this,_0x14a7cd(0x3a2),new _0x2a1164()),(this[_0x14a7cd(0x253)]=_0x416da2,this[_0x14a7cd(0x3b9)]=_0x17e3ba,this[_0x14a7cd(0x1d1)]=_0x10891d,this[_0x14a7cd(0x43c)]=_0x120f7d,this[_0x14a7cd(0x43b)]());}[_0x5bf728(0x43b)](){const _0x438cf7=_0x5bf728;this[_0x438cf7(0x3d8)](this[_0x438cf7(0x3b9)][_0x438cf7(0x231)]({'getMutations':_0x2d32ee=>{const _0x3f7d54=_0x438cf7;if(_0x2d32ee['id']===_0x1053ee['id']||_0x2d32ee['id']===_0x152598['id']){const _0x15f3b2=[],_0x46012b=[],_0x257a7b=this[_0x3f7d54(0x1d1)]['getCurrentSelections']()['map'](_0x192730=>_0x192730['range']),_0x40ec2c=_0x5b1933(this['_univerInstanceService']);if(!_0x40ec2c)return{'redos':[],'undos':[]};const {unitId:_0x585410,subUnitId:_0x354213}=_0x40ec2c,_0x3380db={},_0x5b7f6d=this[_0x3f7d54(0x43c)]['getSubUnitPivotConfigs'](_0x585410,_0x354213);if(_0x5b7f6d!=null&&_0x5b7f6d[_0x3f7d54(0x222)])for(const [_0x3b5a04,_0x324000]of _0x5b7f6d){const {unitId:_0x3b8ff3,subUnitId:_0xb7daab,row:_0x377aae,col:_0x5ca67e}=_0x324000[_0x3f7d54(0x1d2)];_0x3b8ff3===_0x40ec2c[_0x3f7d54(0x42b)]&&_0xb7daab===_0x40ec2c['subUnitId']&&(_0x3380db[_0x377aae+'-'+_0x5ca67e]=_0x3b5a04);}return _0x257a7b&&_0x40ec2c&&_0x257a7b[_0x3f7d54(0x28f)](_0x2dfbdb=>{const _0x270f65=_0x3f7d54;_0x451e59[_0x270f65(0x259)](_0x2dfbdb,(_0xf5f8b3,_0x3c9d9c)=>{const _0xa31c2d=_0x270f65,_0x24badf=_0xf5f8b3+'-'+_0x3c9d9c;if(_0x3380db[_0x24badf]){const _0x371fde=_0x3380db[_0x24badf];_0x15f3b2[_0xa31c2d(0x42a)]({'id':Et['id'],'params':{'unitId':_0x585410,'subUnitId':_0x354213,'pivotTableId':_0x371fde}});const _0x3beefd=this[_0xa31c2d(0x43c)]['getCollection'](_0x585410,_0x371fde),_0x4a52b7=this[_0xa31c2d(0x43c)][_0xa31c2d(0x448)](_0x585410,_0x354213,_0x371fde);_0x46012b[_0xa31c2d(0x42a)]({'id':It['id'],'params':{'unitId':_0x585410,'subUnitId':_0x354213,'pivotTableId':_0x371fde,'pivotTableConfig':_0x4a52b7,'collectionConfig':_0x3beefd}});}});}),{'redos':_0x15f3b2,'undos':_0x46012b};}return{'redos':[],'undos':[]};}}));}};dt=Ls([_t(0x0,_0x2fecb8),_t(0x1,_0x360cfb(_0x34849c)),_t(0x2,_0x360cfb(_0x969973)),_t(0x3,_0x360cfb(ve))],dt);var Bs=Object[_0x5bf728(0x3a1)],$s=(_0x1cb8fb,_0x70256b,_0x5ced46,_0x546554)=>{const _0x4d784c=_0x5bf728;for(var _0x28f9f4=_0x546554>0x1?void 0x0:_0x546554?Bs(_0x70256b,_0x5ced46):_0x70256b,_0xe1e097=_0x1cb8fb[_0x4d784c(0x395)]-0x1,_0x232b6a;_0xe1e097>=0x0;_0xe1e097--)(_0x232b6a=_0x1cb8fb[_0xe1e097])&&(_0x28f9f4=_0x232b6a(_0x28f9f4)||_0x28f9f4);return _0x28f9f4;},rt=(_0x1e5869,_0xa3a4c6)=>(_0x49731a,_0x33bedc)=>_0xa3a4c6(_0x49731a,_0x33bedc,_0x1e5869);let ut=class extends _0x25f1fb{constructor(_0x3199a7,_0xe7e13a,_0x2b98a5,_0x30c52b,_0x4f5149){const _0x25e297=_0x5bf728;super(),this[_0x25e297(0x3b9)]=_0x3199a7,this['_injector']=_0xe7e13a,this[_0x25e297(0x253)]=_0x2b98a5,this[_0x25e297(0x43c)]=_0x30c52b,this['_sheetsPivotTableService']=_0x4f5149,this[_0x25e297(0x27f)]();}[_0x5bf728(0x343)](_0x3b9836,_0x4fbeea,_0x3742f2){const _0x3f2c01=_0x5bf728,{pageView:_0x2d31fc,cornerView:_0x5af921,rowView:_0xfcbdaa,colView:_0x10e094,dataView:_0x5e40e5}=_0x4fbeea,_0x34da84=_0x3b9836;let _0x259a6d;if(_0x3742f2)_0x259a6d=[...$i(_0x34da84)];else{const _0x33338e=ge(_0x34da84,_0x2d31fc,!0x0),_0x2ba9b0=_0x2d31fc[_0x3f2c01(0x1f9)]>=0x0?_0x2d31fc[_0x3f2c01(0x1f9)]+0x1:0x0,_0x43abac=_0x5af921['rowCount'],_0x47e2f0=_0x5af921[_0x3f2c01(0x246)],_0x22602c=_0x33338e[_0x3f2c01(0x395)]>0x0?mt:0x0,_0x5f2494=ge({'row':_0x34da84['row']+_0x2ba9b0+_0x22602c,'col':_0x34da84[_0x3f2c01(0x37a)]},_0x5af921,!0x1,!0x1),_0x333e49=ge({'row':_0x34da84[_0x3f2c01(0x2f2)]+_0x2ba9b0+_0x22602c+_0x43abac,'col':_0x34da84[_0x3f2c01(0x37a)]},_0xfcbdaa,!0x1,!0x0),_0x293ead=ge({'row':_0x34da84['row']+_0x2ba9b0+_0x22602c,'col':_0x34da84[_0x3f2c01(0x37a)]+_0x47e2f0},_0x10e094,!0x1,!0x0),_0x5af5d2=ge({'row':_0x34da84[_0x3f2c01(0x2f2)]+_0x2ba9b0+_0x22602c+_0x43abac,'col':_0x34da84[_0x3f2c01(0x37a)]+_0x47e2f0},_0x5e40e5,!0x1,!0x0);_0x259a6d=[..._0x33338e,..._0x5f2494,..._0x333e49,..._0x293ead,..._0x5af5d2];}return _0x259a6d;}[_0x5bf728(0x27f)](){const _0x10fbab=_0x5bf728;this[_0x10fbab(0x3d8)](this['_sheetsPivotTableService'][_0x10fbab(0x34c)][_0x10fbab(0x25f)](this[_0x10fbab(0x1cc)][_0x10fbab(0x34c)][_0x10fbab(0x29d)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x4977aa,_0x83d486)=>{const _0x488cda=_0x10fbab,{cellInfo:_0x130076,view:_0x15632d,isEmpty:_0x59976e}=_0x83d486,_0x5d2099=_0x130076,{unitId:_0xe007f,subUnitId:_0x1d8a77}=_0x5d2099,_0x3b66e5=this[_0x488cda(0x343)](_0x130076,_0x15632d,_0x59976e),_0x5ba888=this[_0x488cda(0x3b9)][_0x488cda(0x289)]({'unitId':_0xe007f,'subUnitId':_0x1d8a77,'ranges':_0x3b66e5}),_0x3f131c=Ho(this['_injector'],_0xe007f,_0x1d8a77,_0x3b66e5);_0x3f131c['shouldClear']&&(_0x5ba888['redos'][_0x488cda(0x42a)](_0x3f131c[_0x488cda(0x3b0)]),_0x5ba888['undos'][_0x488cda(0x42a)](_0x3f131c['setRangeValueUndoMutation']));const _0x1abded=this['getAutoFitColumnsMutations'](_0x15632d,_0x130076);return _0x5ba888[_0x488cda(0x43f)][_0x488cda(0x42a)](..._0x1abded[_0x488cda(0x43f)]),_0x5ba888[_0x488cda(0x31a)]['push'](..._0x1abded[_0x488cda(0x31a)]),{'redos':_0x5ba888[_0x488cda(0x43f)],'undos':_0x5ba888[_0x488cda(0x31a)]};}}));}[_0x5bf728(0x37b)](_0x474658,_0x16f9c4){const _0x186f84=_0x5bf728,{col:_0x2909b1,unitId:_0x100da0,subUnitId:_0x4e73bb}=_0x16f9c4,_0x1444ec=[],_0x2a29f6=[],_0x1183de=_0x5b1933(this[_0x186f84(0x253)],{'unitId':_0x100da0,'subUnitId':_0x4e73bb});if(!_0x16f9c4||!_0x474658||!_0x1183de)return{'undos':_0x2a29f6,'redos':_0x1444ec};const _0x206292=this[_0x186f84(0x43c)][_0x186f84(0x3dc)](),{colView:_0x1d54dc,dataView:_0x36a014,cornerView:_0x2fdc2c,rowView:_0x3fa7fd,formatMap:_0x320297}=_0x474658,_0x56d208=yo(_0x1d54dc,_0x206292,!0x0,_0x320297),_0x5b5c2b=yo(_0x3fa7fd,_0x206292,!0x1,_0x320297),_0x5e6ea8=Ji(_0x36a014),_0x775eb2=Wi(_0x2fdc2c),{worksheet:_0x576f86}=_0x1183de;if(typeof window<'u'&&window[_0x186f84(0x32c)]){const _0x3cd46d=_0xb88763({...fe['colStyle']}),_0xaf0f36=_0x31b8d0[_0x186f84(0x21d)](_0x56d208,_0x3cd46d)[_0x186f84(0x1f8)]+0x10,_0xc46b76=_0x31b8d0[_0x186f84(0x21d)](_0x5e6ea8,_0x3cd46d)[_0x186f84(0x1f8)],_0x7d39c7=Math[_0x186f84(0x3ba)](Math[_0x186f84(0x2c1)](_0xaf0f36,_0xc46b76))+0x10,_0x2b4f18=Math[_0x186f84(0x3ba)](_0x31b8d0[_0x186f84(0x21d)](_0x5b5c2b,_0x3cd46d)[_0x186f84(0x1f8)]),_0x381737=Math[_0x186f84(0x3ba)](_0x31b8d0[_0x186f84(0x21d)](_0x775eb2,_0x3cd46d)[_0x186f84(0x1f8)]),_0x3e9c5e=Math[_0x186f84(0x2c1)](_0x2b4f18,_0x381737,0x28)+0xc,_0x1e145b=_0x1d54dc[_0x186f84(0x246)]+_0x2fdc2c[_0x186f84(0x246)],_0x358c90={},_0x39f3d={};for(let _0x47e7c0=_0x2909b1;_0x47e7c0<_0x2909b1+_0x1e145b;_0x47e7c0++){const _0x3b3b37=_0x576f86[_0x186f84(0x1eb)](_0x47e7c0);_0x358c90[_0x47e7c0]=_0x3b3b37,_0x47e7c0-_0x2909b1<_0x2fdc2c[_0x186f84(0x246)]?_0x39f3d[_0x47e7c0-_0x2909b1]=_0x3e9c5e:_0x39f3d[_0x47e7c0-_0x2909b1]=_0x7d39c7;}_0x1444ec[_0x186f84(0x42a)]({'id':_0x38a006['id'],'params':{'subUnitId':_0x4e73bb,'unitId':_0x100da0,'ranges':[{'startColumn':_0x2909b1,'endColumn':_0x2909b1+_0x1e145b-0x1,'startRow':0x0,'endRow':_0x576f86[_0x186f84(0x3de)]()-0x1}],'colWidth':_0x39f3d}}),_0x2a29f6['push']({'id':_0x38a006['id'],'params':{'subUnitId':_0x4e73bb,'unitId':_0x100da0,'ranges':[{'startColumn':_0x2909b1,'endColumn':_0x2909b1+_0x1e145b-0x1,'startRow':0x0,'endRow':_0x576f86[_0x186f84(0x3de)]()-0x1}],'colWidth':_0x358c90}});}return{'undos':_0x2a29f6,'redos':_0x1444ec};}};ut=$s([rt(0x0,_0x360cfb(_0x34849c)),rt(0x1,_0x360cfb(_0x121ef7)),rt(0x2,_0x360cfb(_0x2fecb8)),rt(0x3,_0x360cfb(ve)),rt(0x4,_0x360cfb(ie))],ut);var Gs=Object[_0x5bf728(0x3a1)],js=(_0x5c8f7a,_0x5f02a8,_0x46fe8c,_0x11d23c)=>{const _0x2ec637=_0x5bf728;for(var _0x2fb64d=_0x11d23c>0x1?void 0x0:_0x11d23c?Gs(_0x5f02a8,_0x46fe8c):_0x5f02a8,_0xbd96d=_0x5c8f7a[_0x2ec637(0x395)]-0x1,_0x32bb53;_0xbd96d>=0x0;_0xbd96d--)(_0x32bb53=_0x5c8f7a[_0xbd96d])&&(_0x2fb64d=_0x32bb53(_0x2fb64d)||_0x2fb64d);return _0x2fb64d;},ke=(_0x597ca9,_0x5cd157)=>(_0x19f9cd,_0x4dc26f)=>_0x5cd157(_0x19f9cd,_0x4dc26f,_0x597ca9);let ft=class extends _0x25f1fb{constructor(_0x40a707,_0xe88eb3,_0x3911aa,_0x897bb6,_0x31cf6b,_0x35cb00,_0x56a3a6){const _0x2c0b31=_0x5bf728;super(),V(this,_0x2c0b31(0x3a2),new _0x2a1164()),(this[_0x2c0b31(0x24a)]=_0x40a707,this[_0x2c0b31(0x1de)]=_0xe88eb3,this[_0x2c0b31(0x234)]=_0x3911aa,this[_0x2c0b31(0x253)]=_0x897bb6,this[_0x2c0b31(0x43c)]=_0x31cf6b,this[_0x2c0b31(0x1f5)]=_0x35cb00,this[_0x2c0b31(0x3b9)]=_0x56a3a6,this['_onRefRangeChange']());}[_0x5bf728(0x3c8)](){const _0x2ef9a6=_0x5bf728,_0x46aac8=(_0xb7fc36,_0x192e62)=>{const _0xa2b90f=_0x279a,_0x1ad99f=this['_univerInstanceService'][_0xa2b90f(0x350)](_0x332ca7['UNIVER_SHEET']);if(!_0x1ad99f||!(_0x1ad99f==null?void 0x0:_0x1ad99f['getSheetBySheetId'](_0x192e62)))return;this['disposableCollection'][_0xa2b90f(0x3bc)]();const _0x4de0f5=_0x56c7a5=>this['_refRangeHandle'](_0x56c7a5,_0xb7fc36,_0x192e62),_0x4ae3e5=this[_0xa2b90f(0x43c)][_0xa2b90f(0x2e1)](_0xb7fc36,_0x192e62);if(!(_0x4ae3e5!=null&&_0x4ae3e5[_0xa2b90f(0x222)]))return;Array[_0xa2b90f(0x200)](_0x4ae3e5[_0xa2b90f(0x2eb)]())['map'](_0x471343=>{const _0x5c58af=_0xa2b90f,{row:_0x2419d1,col:_0x3e6a20}=_0x471343[_0x5c58af(0x1d2)];return _0x5508a5(_0x2419d1,_0x3e6a20);})[_0xa2b90f(0x28f)](_0x150809=>{const _0x20fe9c=_0xa2b90f;this['disposableCollection'][_0x20fe9c(0x2de)](this['_refRangeService'][_0x20fe9c(0x25c)](_0x150809,_0x4de0f5,_0xb7fc36,_0x192e62));});},_0x1ce5e8=()=>{const _0x297764=_0x279a,_0x5e6023=this[_0x297764(0x253)][_0x297764(0x350)](_0x332ca7[_0x297764(0x25d)]);if(_0x5e6023){const _0x2d3a7e=_0x5e6023[_0x297764(0x1e7)]();if(!_0x2d3a7e)return;_0x46aac8(_0x5e6023['getUnitId'](),_0x2d3a7e[_0x297764(0x23f)]());}};this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x234)][_0x2ef9a6(0x3ff)](_0x2fc951=>{const _0x38f116=_0x2ef9a6;if(_0x2fc951['id']===_0x3ef769['id']){const _0x2a4326=_0x2fc951[_0x38f116(0x3c1)],_0x41b18a=_0x2a4326[_0x38f116(0x2a0)],_0xeaeb36=_0x2a4326[_0x38f116(0x42b)];if(!_0x41b18a||!_0xeaeb36)return;_0x46aac8(_0xeaeb36,_0x41b18a);}})),this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x43c)]['pivotInitCompleted$'][_0x2ef9a6(0x2d4)](_0x10c727=>{_0x10c727&&_0x1ce5e8();})),this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x43c)][_0x2ef9a6(0x400)][_0x2ef9a6(0x2d4)](_0x2fe582=>{const _0x37582b=_0x2ef9a6,_0x4a2b1a=_0x5b1933(this[_0x37582b(0x253)]);if(!_0x4a2b1a)return;const {unitId:_0x5abf32,subUnitId:_0x4f4873}=_0x4a2b1a,{unitId:_0x5403b9,subUnitId:_0x53ac4a}=_0x2fe582;_0x5abf32!==_0x5403b9||_0x4f4873!==_0x53ac4a||_0x46aac8(_0x5abf32,_0x4f4873);})),_0x1ce5e8();}['_refRangeHandle'](_0xff33a7,_0x2fbd14,_0x401ea1){const _0x1dd04c=_0x5bf728;switch(_0xff33a7['id']){case _0x523093['id']:return this[_0x1dd04c(0x2e7)](_0xff33a7['params'],_0x2fbd14,_0x401ea1);}return{'redos':[],'undos':[]};}[_0x5bf728(0x2e7)](_0x305cf4,_0x4a9829,_0x53ba49){const _0x171bd9=_0x5bf728,{fromRange:_0x3d6390,toRange:_0x386bb1}=_0x305cf4,_0x30af66=[],_0x7ec578=[],_0x2d1673=_0x5b1933(this['_univerInstanceService']);if(!_0x2d1673)return{'undos':_0x7ec578,'redos':_0x30af66};if(_0x4a9829!==_0x2d1673[_0x171bd9(0x42b)]||_0x53ba49!==_0x2d1673[_0x171bd9(0x2a0)])return{'undos':_0x7ec578,'redos':_0x30af66};const _0x16f272=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x4a9829,_0x53ba49);if(_0x16f272!=null&&_0x16f272['size'])for(const [_0x17add9,_0x23d70b]of _0x16f272){const {unitId:_0x3bd014,subUnitId:_0x47e77e,row:_0x16d76f,col:_0x3b0548}=_0x23d70b['targetCellInfo'];if(_0x3bd014===_0x2d1673[_0x171bd9(0x42b)]&&_0x47e77e===_0x2d1673['subUnitId']){const _0xa5da23=_0x5508a5(_0x16d76f,_0x3b0548);if(_0x3d3208[_0x171bd9(0x264)](_0xa5da23,_0x3d6390)){const _0x1cb303=_0x16d76f-_0x3d6390['startRow'],_0x5af2a6=_0x3b0548-_0x3d6390[_0x171bd9(0x3d2)],_0x2904e0={'row':_0x386bb1[_0x171bd9(0x373)]+_0x1cb303,'col':_0x386bb1[_0x171bd9(0x3d2)]+_0x5af2a6};_0x30af66[_0x171bd9(0x42a)]({'id':pt['id'],'params':{'unitId':_0x3bd014,'subUnitId':_0x47e77e,'pivotTableId':_0x17add9,'targetCellPosition':_0x2904e0}}),_0x7ec578[_0x171bd9(0x42a)]({'id':pt['id'],'params':{'unitId':_0x3bd014,'subUnitId':_0x47e77e,'pivotTableId':_0x17add9,'targetCellPosition':{'row':_0x16d76f,'col':_0x3b0548}}});const _0xe03011=_0x2904e0['row']-_0x16d76f,_0x4f4f5e=_0x2904e0[_0x171bd9(0x37a)]-_0x3b0548,_0x46a8fa=[],_0x209e84=this[_0x171bd9(0x1f5)][_0x171bd9(0x3a6)](_0x3bd014,_0x47e77e,_0x17add9),_0xb6c5e2=_0x209e84==null?void 0x0:_0x209e84[_0x171bd9(0x247)];if(_0xb6c5e2){Object[_0x171bd9(0x3ab)](_0xb6c5e2)[_0x171bd9(0x28f)](_0x4b8273=>{const _0x37a5b8=_0x171bd9;_0xb6c5e2[_0x4b8273][_0x37a5b8(0x28f)](_0x3851a7=>{const _0x479f19=_0x37a5b8,_0x2c1fa6={..._0x3851a7};_0x2c1fa6[_0x479f19(0x373)]=_0x3851a7[_0x479f19(0x373)]+_0xe03011,_0x2c1fa6[_0x479f19(0x320)]=_0x3851a7[_0x479f19(0x320)]+_0xe03011,_0x2c1fa6['startColumn']=_0x3851a7['startColumn']+_0x4f4f5e,_0x2c1fa6[_0x479f19(0x3cd)]=_0x3851a7[_0x479f19(0x3cd)]+_0x4f4f5e,_0x46a8fa['push'](_0x2c1fa6);});});const _0x1d2ced=this[_0x171bd9(0x3b9)][_0x171bd9(0x289)]({'unitId':_0x3bd014,'subUnitId':_0x47e77e,'ranges':_0x46a8fa});_0x30af66['push'](..._0x1d2ced[_0x171bd9(0x43f)]),_0x7ec578[_0x171bd9(0x42a)](..._0x1d2ced['undos']);const _0x774bd4=Ho(this[_0x171bd9(0x24a)],_0x3bd014,_0x47e77e,_0x46a8fa);_0x774bd4[_0x171bd9(0x342)]&&(_0x30af66[_0x171bd9(0x42a)](_0x774bd4[_0x171bd9(0x3b0)]),_0x7ec578[_0x171bd9(0x42a)](_0x774bd4[_0x171bd9(0x1fd)]));}}}}return{'redos':_0x30af66,'undos':_0x7ec578};}};ft=js([ke(0x0,_0x360cfb(_0x121ef7)),ke(0x1,_0x360cfb(_0x344cce)),ke(0x2,_0x4e31c1),ke(0x3,_0x2fecb8),ke(0x4,_0x360cfb(ve)),ke(0x5,_0x360cfb(Ne)),ke(0x6,_0x360cfb(_0x34849c))],ft);var Js=Object[_0x5bf728(0x3a1)],Ws=(_0x1c7335,_0x7677d4,_0x2204ce,_0x10030f)=>{const _0x200b12=_0x5bf728;for(var _0x1b939e=_0x10030f>0x1?void 0x0:_0x10030f?Js(_0x7677d4,_0x2204ce):_0x7677d4,_0x3b2aa1=_0x1c7335[_0x200b12(0x395)]-0x1,_0x4ac768;_0x3b2aa1>=0x0;_0x3b2aa1--)(_0x4ac768=_0x1c7335[_0x3b2aa1])&&(_0x1b939e=_0x4ac768(_0x1b939e)||_0x1b939e);return _0x1b939e;},_o=(_0x2489e8,_0x39edc2)=>(_0x10e27c,_0x667a87)=>_0x39edc2(_0x10e27c,_0x667a87,_0x2489e8);let gt=class extends _0x25f1fb{constructor(_0x5d6ac0,_0xd354b8){const _0xb0bd0=_0x5bf728;super(),this[_0xb0bd0(0x3b9)]=_0x5d6ac0,this[_0xb0bd0(0x43c)]=_0xd354b8,this[_0xb0bd0(0x23b)]();}[_0x5bf728(0x23b)](){const _0x53ae76=_0x5bf728;this[_0x53ae76(0x3d8)](this[_0x53ae76(0x3b9)]['interceptCommand']({'getMutations':_0x8907a5=>{const _0x5ab8dd=_0x53ae76;if(_0x8907a5['id']===_0x2da853['id']){const _0x3ca6b3=[],_0x7b7c4d=[],_0x37c9e8=_0x8907a5[_0x5ab8dd(0x3c1)],{unitId:_0x2139e3,subUnitId:_0x1eb3a6}=_0x37c9e8;if(!_0x2139e3||!_0x1eb3a6)return{'undos':_0x7b7c4d,'redos':_0x3ca6b3};const _0x4d22fa=this[_0x5ab8dd(0x43c)][_0x5ab8dd(0x2e1)](_0x2139e3,_0x1eb3a6);if(_0x4d22fa!=null&&_0x4d22fa['size'])for(const [_0x1a9f7d,_0x4c6f4e]of _0x4d22fa){_0x3ca6b3[_0x5ab8dd(0x42a)]({'id':Et['id'],'params':{'unitId':_0x2139e3,'subUnitId':_0x1eb3a6,'pivotTableId':_0x1a9f7d}});const _0x533907={...this[_0x5ab8dd(0x43c)][_0x5ab8dd(0x28d)](_0x2139e3,_0x1a9f7d)};_0x7b7c4d[_0x5ab8dd(0x42a)]({'id':It['id'],'params':{'unitId':_0x2139e3,'subUnitId':_0x1eb3a6,'pivotTableId':_0x1a9f7d,'pivotTableConfig':_0x4c6f4e,'collectionConfig':_0x533907}});}return{'redos':_0x3ca6b3,'undos':_0x7b7c4d};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x360cfb(_0x34849c)),_o(0x1,_0x360cfb(ve))],gt);var Ys=Object[_0x5bf728(0x3a1)],Ks=(_0x1bc24f,_0x5d4382,_0x5385e5,_0xdda479)=>{const _0x1d18c5=_0x5bf728;for(var _0x3d025c=_0xdda479>0x1?void 0x0:_0xdda479?Ys(_0x5d4382,_0x5385e5):_0x5d4382,_0x3eef78=_0x1bc24f[_0x1d18c5(0x395)]-0x1,_0x3967ea;_0x3eef78>=0x0;_0x3eef78--)(_0x3967ea=_0x1bc24f[_0x3eef78])&&(_0x3d025c=_0x3967ea(_0x3d025c)||_0x3d025c);return _0x3d025c;},Ye=(_0x182c7b,_0x409665)=>(_0x3d3bea,_0x5cf6da)=>_0x409665(_0x3d3bea,_0x5cf6da,_0x182c7b);let ht=class extends _0x25f1fb{constructor(_0x701863,_0x4baabb,_0xcceddb,_0x1041fe,_0x4ef600,_0x3ce156){const _0x30f28c=_0x5bf728;super(),this[_0x30f28c(0x234)]=_0x701863,this[_0x30f28c(0x275)]=_0x4baabb,this[_0x30f28c(0x1f5)]=_0xcceddb,this[_0x30f28c(0x43c)]=_0x1041fe,this['_univerInstanceService']=_0x4ef600,this[_0x30f28c(0x345)]=_0x3ce156,this[_0x30f28c(0x40f)](),this[_0x30f28c(0x2be)]();}[_0x5bf728(0x40f)](){const _0x36b8dc=_0x5bf728;this[_0x36b8dc(0x3d8)](this['_commandService'][_0x36b8dc(0x3ff)](_0x310696=>{const _0x305029=_0x36b8dc;if(_0x310696['id']!==lo['id'])return;const _0x13ca79=_0x310696[_0x305029(0x3c1)];this[_0x305029(0x275)]['handleAsyncResponse'](_0x13ca79);})),this[_0x36b8dc(0x3d8)](this[_0x36b8dc(0x234)][_0x36b8dc(0x3ff)](_0x168a1c=>{const _0x2c55d2=_0x36b8dc;if(_0x168a1c['id']===co['id']){const _0x240a85=_0x168a1c[_0x2c55d2(0x3c1)];if(_0x240a85){const {unitId:_0x57f4bc,subUnitId:_0x437cad,oldSubUnitId:_0x49b8fb,pivotTableId:_0x47a492,pivotTableConfig:_0x335b12,collectionConfig:_0x5e4b46}=_0x240a85;this[_0x2c55d2(0x43c)]['updateConfigCache'](_0x57f4bc,_0x49b8fb,_0x240a85[_0x2c55d2(0x414)],null),this[_0x2c55d2(0x43c)][_0x2c55d2(0x204)](_0x57f4bc,_0x437cad,_0x47a492,_0x335b12),this['_sheetsPivotTableConfigModel'][_0x2c55d2(0x34d)](_0x57f4bc,_0x5e4b46);}}})),this[_0x36b8dc(0x3d8)](this[_0x36b8dc(0x234)][_0x36b8dc(0x3ff)](_0x4f9457=>{const _0x16756a=_0x36b8dc;if(_0x4f9457['id']!==Rt['id'])return;const _0x2debd5=_0x5b1933(this[_0x16756a(0x253)]);if(!_0x2debd5)return;const {unitId:_0x252260,subUnitId:_0x2d3846}=_0x2debd5,_0x5ad5db=_0x4f9457[_0x16756a(0x3c1)];if(_0x5ad5db[_0x16756a(0x29b)]&&Object[_0x16756a(0x3ab)](_0x5ad5db['collectionConfig'])[_0x16756a(0x28f)](_0x5a1275=>{const _0x2c85fc=_0x16756a;var _0x1b2ea8;(_0x1b2ea8=_0x5ad5db['collectionConfig'])!=null&&_0x1b2ea8[_0x5a1275]&&this[_0x2c85fc(0x43c)][_0x2c85fc(0x34d)](_0x5a1275,_0x5ad5db[_0x2c85fc(0x29b)][_0x5a1275]);}),_0x5ad5db[_0x16756a(0x280)]){const _0x190bae=_0x5ad5db[_0x16756a(0x280)],{unitId:_0x2f177d,subUnitId:_0x18666b,view:_0x2e34b6,pivotTableId:_0x5a7ad3,type:_0xd60a45,pivotConfig:_0x28401a}=_0x190bae;if(_0xd60a45===$[_0x16756a(0x346)])this[_0x16756a(0x1f5)][_0x16756a(0x3ef)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'pivotTableId':_0x5a7ad3,'type':_0xd60a45}),this[_0x16756a(0x43c)]['updateConfigCache'](_0x2f177d,_0x18666b,_0x5a7ad3,null);else{const _0x2392b1=new _0x2089ac();_0x2392b1[_0x16756a(0x2b5)](_0x2e34b6),this[_0x16756a(0x43c)][_0x16756a(0x204)](_0x2f177d,_0x18666b,_0x5a7ad3,_0x28401a),this[_0x16756a(0x1f5)][_0x16756a(0x3ef)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'pivotTableId':_0x5a7ad3,'type':_0xd60a45,'view':_0x2392b1}),this['_sheetsPivotTableAdaptorModel'][_0x16756a(0x230)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'view':_0x2392b1,'pivotTableId':_0x5a7ad3,'type':_0xd60a45});}}else _0x5ad5db['batch']&&(_0x5ad5db[_0x16756a(0x267)][_0x16756a(0x28f)](_0x240254=>{const _0x29a8f9=_0x16756a,{unitId:_0x176072,subUnitId:_0x1eca6a,view:_0x30735d,pivotTableId:_0x4e3a62,type:_0x5301ec,pivotConfig:_0xad1321}=_0x240254,_0x35e870=new _0x2089ac();_0x35e870[_0x29a8f9(0x2b5)](_0x30735d),this[_0x29a8f9(0x43c)]['updateConfigCache'](_0x176072,_0x1eca6a,_0x4e3a62,_0xad1321),this[_0x29a8f9(0x1f5)][_0x29a8f9(0x230)]({'unitId':_0x176072,'subUnitId':_0x1eca6a,'view':_0x35e870,'pivotTableId':_0x4e3a62,'type':_0x5301ec});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this['_sheetsPivotTableAdaptorModel']['markDirty'](_0x252260,_0x2d3846);}));}[_0x5bf728(0x2be)](){const _0x403705=_0x5bf728;this[_0x403705(0x345)][_0x403705(0x36d)](Vt['id'],{'commandId':Vt['id'],'getDirtyData'(_0x1c1f78){const _0x2333d2=_0x403705;return{'dirtyUnitFeatureMap':_0x1c1f78[_0x2333d2(0x3c1)]};}});}};ht=Ks([Ye(0x0,_0x360cfb(_0x4e31c1)),Ye(0x1,_0x360cfb(X)),Ye(0x2,_0x360cfb(Ne)),Ye(0x3,_0x360cfb(ve)),Ye(0x4,_0x360cfb(_0x2fecb8)),Ye(0x5,_0x5714d5)],ht);var Hs=Object['defineProperty'],qs=Object[_0x5bf728(0x3a1)],zs=(_0x271db9,_0x51d5fe,_0x481426)=>_0x51d5fe in _0x271db9?Hs(_0x271db9,_0x51d5fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x481426}):_0x271db9[_0x51d5fe]=_0x481426,Qs=(_0x172945,_0x9bff10,_0x4ee9f0,_0x57a986)=>{const _0x208924=_0x5bf728;for(var _0x44c146=_0x57a986>0x1?void 0x0:_0x57a986?qs(_0x9bff10,_0x4ee9f0):_0x9bff10,_0x307ab9=_0x172945[_0x208924(0x395)]-0x1,_0x284df5;_0x307ab9>=0x0;_0x307ab9--)(_0x284df5=_0x172945[_0x307ab9])&&(_0x44c146=_0x284df5(_0x44c146)||_0x44c146);return _0x44c146;},Ft=(_0xc79bf5,_0xd272fc)=>(_0x99c0e5,_0x285f0b)=>_0xd272fc(_0x99c0e5,_0x285f0b,_0xc79bf5),Zo=(_0x25af4a,_0x5b64ad,_0x438155)=>zs(_0x25af4a,typeof _0x5b64ad!=_0x5bf728(0x3e6)?_0x5b64ad+'':_0x5b64ad,_0x438155);let Ut=class extends _0x15301e{constructor(_0x11e75b=Mo,_0x48e69c,_0x45b70b,_0x3c2b21,_0x184f4d){const _0x2ac851=_0x5bf728;super(),this[_0x2ac851(0x2fb)]=_0x11e75b,this[_0x2ac851(0x24a)]=_0x48e69c,this[_0x2ac851(0x234)]=_0x45b70b,this[_0x2ac851(0x38b)]=_0x3c2b21,this[_0x2ac851(0x241)]=_0x184f4d;const {..._0x3b2a54}=_0x2b305a({},Mo,this[_0x2ac851(0x2fb)]);this[_0x2ac851(0x38b)][_0x2ac851(0x26e)](zo,_0x3b2a54),this[_0x2ac851(0x26f)](),this[_0x2ac851(0x377)]();}[_0x5bf728(0x377)](){const _0x20783e=_0x5bf728;var _0x34ea27;const _0x354608=(_0x34ea27=this[_0x20783e(0x2fb)])==null?void 0x0:_0x34ea27[_0x20783e(0x27e)];this['_configService'][_0x20783e(0x26e)](z,_0x354608===!0x0);}[_0x5bf728(0x403)](){const _0x24edda=_0x5bf728;var _0x513595;let _0x2f6f9f=[];const _0x4696b3=(_0x513595=this['_config'])==null?void 0x0:_0x513595['notExecuteFormula'];_0x4696b3===!0x0?_0x2f6f9f=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x4696b3===!0x1?_0x2f6f9f=[[G],[ct]]:_0x4696b3===void 0x0&&(_0x2f6f9f=[[G],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x2f6f9f['forEach'](_0x7e9949=>this[_0x24edda(0x24a)]['add'](_0x7e9949)),[ct,ht,ie,dt,gt,ft,ut][_0x24edda(0x28f)](_0x26db0b=>{const _0x5058f1=_0x24edda;this['_injector'][_0x5058f1(0x1ff)](_0x26db0b)&&this[_0x5058f1(0x24a)][_0x5058f1(0x21b)](_0x26db0b);});}['_initRegisterCommand'](){[ps,Cs,hs,ms,Ss,Ns,Fs,Ts,ws,Ms,Ds,Rs,Is,bs,It,to,Et,Gt,Qo,Xo,Kt,jt,Jt,Wt,qt,Ht,pt,ro,lo,Rt,Xt,eo,zt,Yt,uo,oo,Zt,Vt,co,_s,Qt,ys,Ps]['forEach'](_0x1a9d9d=>{const _0x515863=_0x279a;var _0x3b84d6;(_0x3b84d6=this[_0x515863(0x241)])==null||_0x3b84d6[_0x515863(0x32d)](_0x1a9d9d),this['_commandService'][_0x515863(0x2b3)](_0x1a9d9d);});}};Zo(Ut,'pluginName',ao),Zo(Ut,_0x5bf728(0x2bb),_0x332ca7[_0x5bf728(0x25d)]),Ut=Qs([_0x569100(_0x59a5cc),Ft(0x1,_0x360cfb(_0x121ef7)),Ft(0x2,_0x360cfb(_0x4e31c1)),Ft(0x3,_0x224426),Ft(0x4,_0x2a3879(_0x406107))],Ut);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,Cs as AddPivotTableCommand,It as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Is as MovePivotTableCommand,k as PivotDisplayDataType,bs as PivotDrillDownCommand,$ as PivotTableOperationEnum,Vt as PivotTableViewDirtyMarkOperation,Bo as PositionType,Ss as RemovePivotFieldCommand,jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ts as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Yt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,qt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ds as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Rs as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ce as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,$i as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Li as getPivotTableInfo,vt as transFromCellValue,$t as unionPivotViewRange};
1
+ const _0x5f289e=_0xa9aa;(function(_0x4b0523,_0x5d0863){const _0x2ebc57=_0xa9aa,_0x38bf03=_0x4b0523();while(!![]){try{const _0x269e05=-parseInt(_0x2ebc57(0x11c))/0x1+-parseInt(_0x2ebc57(0x23c))/0x2+-parseInt(_0x2ebc57(0x176))/0x3+-parseInt(_0x2ebc57(0x291))/0x4+parseInt(_0x2ebc57(0xbc))/0x5+parseInt(_0x2ebc57(0xe6))/0x6*(-parseInt(_0x2ebc57(0x148))/0x7)+parseInt(_0x2ebc57(0xed))/0x8*(parseInt(_0x2ebc57(0x9c))/0x9);if(_0x269e05===_0x5d0863)break;else _0x38bf03['push'](_0x38bf03['shift']());}catch(_0x31da0c){_0x38bf03['push'](_0x38bf03['shift']());}}}(_0x514b,0xec002));var rn=Object[_0x5f289e(0x30f)],ln=(_0x32a0e1,_0x40d2ff,_0x1f7e4c)=>_0x40d2ff in _0x32a0e1?rn(_0x32a0e1,_0x40d2ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f7e4c}):_0x32a0e1[_0x40d2ff]=_0x1f7e4c,x=(_0x4435ea,_0x2ff037,_0x49363c)=>ln(_0x4435ea,typeof _0x2ff037!='symbol'?_0x2ff037+'':_0x2ff037,_0x49363c);import{PivotCellStyleTypeEnum as _0x4e0bb6,PivotViewCellValueTypeEnum as _0x4826b0,isPrefixValue as _0x240478,isErrorValue as _0x4e0ead,PivotErrorTypeEnum as _0xd32cce,PivotDateGroupFieldDateTypeEnum as _0x17a622,DataFieldManager as _0x5b91fc,FieldsCollection as _0x21a1ee,isDateValue as _0x4f2b97,DataField as _0x37acea,generateHexNumber as _0xdc8474,isBaseGroupField as _0x5092ae,PivotTable as _0x5257d7,PivotSubtotalTypeEnum as _0x5c74c6,PivotTableFiledAreaEnum as _0x31de81,excelDateToUnixMilliseconds as _0x10b44a,PivotDataFieldTypeEnum as _0x52305b,DateGroupField as _0x26b310,createValueField as _0x4db921,createLabelField as _0x1074a5,PivotTableChangeTypeEnum as _0x33ea0e,PivotView as _0x21b750,GlobalConfig as _0x416cb4,isDateGroupFieldJSON as _0x1ed442,PivotCallbackEnum as _0x2fcc24,PivotFilterTypeEnum as _0x4ecb74,getAutoDisplayName as _0x3cf054,PivotDataFieldDataTypeEnum as _0x3b1a02,PivotTableValuePositionEnum as _0x326e9b,isDateGroupField as _0x534005}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x27b91b,ObjectMatrix as _0x2cf1b4,IUniverInstanceService as _0x412edb,UniverInstanceType as _0x5c1aae,CellValueType as _0x5ba1ef,numfmt as _0x19929a,LocaleService as _0x29a017,createAsyncInterceptorKey as _0x29081b,createInterceptorKey as _0x285d6f,CommandType as _0x165e2c,Inject as _0x425448,ICommandService as _0x1db6fa,Disposable as _0x4882c1,RANGE_TYPE as _0xe5322f,numberToABC as _0x5d0ef0,Injector as _0x559951,LifecycleService as _0x59d13a,IResourceManagerService as _0x7180c1,Rectangle as _0x14db58,IConfigService as _0x3c4550,Tools as _0x52fc9f,AsyncInterceptorManager as _0x3f1c83,InterceptorManager as _0x27ab06,InterceptorEffectEnum as _0xdc3011,IUndoRedoService as _0x276b9d,sequenceExecute as _0x3893c9,CustomCommandExecutionError as _0x57b5fe,mergeWorksheetSnapshotWithDefault as _0x574450,generateRandomId as _0x3c4202,DEFAULT_WORKSHEET_COLUMN_COUNT as _0xd18e01,DEFAULT_WORKSHEET_ROW_COUNT as _0x17cc54,DisposableCollection as _0x353cec,Range as _0xe591c4,DependentOn as _0x48011f,Optional as _0x14583b,Plugin as _0x5a42b7,merge as _0x468aa8}from'@univerjs/core';import{ErrorType as _0x20361f,serializeRangeWithSpreadsheet as _0x40a9bf,IFeatureCalculationManagerService as _0x3def3c,GlobalComputingStatusService as _0x54b1ce,IActiveDirtyManagerService as _0x51ea25}from'@univerjs/engine-formula';import{generateNullCell as _0x206a1f,SetRangeValuesUndoMutationFactory as _0x265b5b,SetRangeValuesMutation as _0x1ac6c8,getSheetCommandTarget as _0x1681e1,InsertRowMutation as _0x49a8bb,RemoveRowMutation as _0xf1e6bf,InsertColMutation as _0x1aea04,RemoveColMutation as _0x1c3484,IExclusiveRangeService as _0x523a93,SheetInterceptorService as _0x30f5f2,INTERCEPTOR_POINT as _0x3fcea1,InsertSheetCommand as _0x417b96,InsertSheetUndoMutationFactory as _0x55ec9a,RemoveSheetMutation as _0x3bb39d,InsertSheetMutation as _0x26d162,MoveRangeMutation as _0x549e96,SheetsSelectionsService as _0x5174a3,ClearSelectionContentCommand as _0xd3ce8a,ClearSelectionAllCommand as _0x223752,SetWorksheetColWidthMutation as _0x4622a4,RefRangeService as _0x4b0b57,SetWorksheetActiveOperation as _0x324890,MoveRangeCommand as _0x5b6517,RemoveSheetCommand as _0x2c4819}from'@univerjs/sheets';import{Subject as _0x2130f6,BehaviorSubject as _0x3f7edb}from'rxjs';import{LS_CONFIG_KEY as _0x5b5fe1,unshiftString as _0x2dbe98,isFeatureAuthorizedWithinTime as _0xcf5672,getSheetFeatureLimit as _0x11b136,ReleaseType as _0x2af032,UniverLicensePlugin as _0x52bbbb}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x1b5e08,RemoveSheetsFilterMutation as _0x1371e7}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0xebcf98}from'@univerjs/rpc';import{getFontStyleString as _0x412e26,FontCache as _0x490c79}from'@univerjs/engine-render';const Ko=Number[_0x5f289e(0x2ae)](0x690d91f9),li=0x10,so=0x1,ao=_0x5f289e(0x190),mt=0x1,ci=_0x5f289e(0x230),di='rgb(255,255,255)',Ft=_0x5f289e(0x1d3),ui=_0x5f289e(0x1f3),fi=_0x5f289e(0x1f3),gi='#eceeff',hi=_0x5f289e(0x15b),vi='#FFFFFF',pi=_0x5f289e(0x29d),Ci=_0x5f289e(0x15b),mi='#FFFFFF',Ii='#e6ebfb',bi=0xe,Si=0x6;var Lo=(_0x1d21a0=>(_0x1d21a0[_0x5f289e(0x1c2)]=_0x5f289e(0x25b),_0x1d21a0[_0x5f289e(0x145)]=_0x5f289e(0x19c),_0x1d21a0))(Lo||{});const Bo={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','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,He={'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':ci},'ht':0x2,'vt':0x2,'tb':0x1},w={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':He,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ci},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':He,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':He,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':He,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':He,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':He,'vt':0x2}};function Pi(_0x388c03,_0x1a859c,_0x57ed9f){const _0x2ed3c7=_0x5f289e,_0x136316=_0x388c03[_0x2ed3c7(0x107)](_0x29a017),_0x129302=_0x57ed9f['split']('_');switch(_0x1a859c){case _0x17a622[_0x2ed3c7(0x16a)]:return _0x136316['t'](_0x2ed3c7(0x29f),..._0x129302);case _0x17a622[_0x2ed3c7(0xf7)]:return _0x136316['t'](_0x2ed3c7(0x142),..._0x129302);case _0x17a622[_0x2ed3c7(0xe4)]:return _0x136316['t'](_0x2ed3c7(0x2bc),..._0x129302);case _0x17a622[_0x2ed3c7(0x11d)]:return _0x136316['t'](_0x2ed3c7(0x296),..._0x129302);case _0x17a622[_0x2ed3c7(0x96)]:return _0x136316['t'](_0x2ed3c7(0x2af),..._0x129302);case _0x17a622[_0x2ed3c7(0x2a9)]:return _0x136316['t'](_0x2ed3c7(0xa3),..._0x129302);case _0x17a622[_0x2ed3c7(0x206)]:return _0x136316['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x129302);case _0x17a622[_0x2ed3c7(0x281)]:return _0x136316['t'](_0x2ed3c7(0x128),..._0x129302);case _0x17a622['YearMonthDate']:return _0x136316['t'](_0x2ed3c7(0x26c),..._0x129302);case _0x17a622['YearQuarter']:return _0x136316['t'](_0x2ed3c7(0x247),..._0x129302);}return'';}const tt=(_0x2fa59e,_0x3e80e7,_0x1df7a2,_0x404348)=>{const _0xb60bc8=_0x5f289e;let _0x25d242;const _0x19de84=_0x2fa59e[_0xb60bc8(0x107)](_0x412edb)[_0xb60bc8(0x16e)](_0x5c1aae['UNIVER_SHEET']);if(!_0x19de84)return null;const _0x57b717=_0x19de84[_0xb60bc8(0x258)]();let _0x311a6b;if(_0x1df7a2&&(_0x311a6b=_0x57b717[_0xb60bc8(0x95)](_0x1df7a2)),_0x3e80e7!=null&&_0x3e80e7['v']||(_0x3e80e7==null?void 0x0:_0x3e80e7['v'])===0x0){_0x25d242||(_0x25d242={});const _0x4e4ef5=Jo(_0x3e80e7['v']);typeof _0x4e4ef5==_0xb60bc8(0x27b)?_0x25d242['t']=_0x5ba1ef[_0xb60bc8(0xe2)]:typeof _0x4e4ef5==_0xb60bc8(0x2f3)&&(_0x25d242['t']=_0x5ba1ef['STRING']),_0x25d242['v']=_0x4e4ef5;}if((_0x3e80e7!=null&&_0x3e80e7['i']||(_0x3e80e7==null?void 0x0:_0x3e80e7['i'])===0x0)&&(_0x25d242||(_0x25d242={}),_0x25d242['fi']=_0x3e80e7['i']),_0x3e80e7!=null&&_0x3e80e7['s']&&(_0x25d242||(_0x25d242={}),_0x25d242[_0xb60bc8(0xc6)]=_0x3e80e7['s']),_0x1df7a2&&(_0x25d242||(_0x25d242={}),_0x25d242['s']=_0x311a6b),_0x404348&&_0x25d242!=null&&_0x25d242['v']&&_0x25d242['pbt']!==_0x4e0bb6['GrandTotal']&&_0x25d242[_0xb60bc8(0xc6)]!==_0x4e0bb6[_0xb60bc8(0x1ab)]){const _0x108d95=String(_0x25d242['v']),{dateType:_0x314222}=_0x404348;_0x25d242['v']=Pi(_0x2fa59e,_0x314222,_0x108d95),_0x25d242['t']=_0x5ba1ef[_0xb60bc8(0xf6)];}return _0x25d242;},yi=(_0x118d43,_0x449aae,_0x409986,_0x47aec3)=>{const _0xf2b6d5=_0x5f289e;var _0x380da6,_0x39ed1a,_0x1932e1,_0x28ed46,_0x3ed7dd,_0x5beedb,_0x1e8cbe,_0x4a5900,_0x2fbdd4,_0x21c09f,_0x12d48c,_0x3ef37b,_0x78e956,_0x445914;const _0x36a403=_0x409986[_0xf2b6d5(0x1f7)],{cornerView:_0x5a3b23,rowView:_0x53351d,colView:_0x353bb8,dataView:_0x4a136e,pageView:_0xd7651c,formatMap:_0x49707d,groupInfo:_0x26e0db}=_0x449aae,{row:_0x1d4e0d,col:_0x5d7e71}=_0x36a403,_0x1c49ef=new _0x2cf1b4(),_0x5a6b12={},_0x24024f={},_0x506975={},_0x4c1827={},_0x325268={};let _0x5a7ec6=_0x1d4e0d,_0xec97a3=_0x5d7e71;Object['keys'](_0xd7651c[_0xf2b6d5(0x10e)])[_0xf2b6d5(0x13f)](_0x4b1257=>{const _0x1b1e19=_0xf2b6d5;Object[_0x1b1e19(0x1d6)](_0xd7651c['data'][Number(_0x4b1257)])[_0x1b1e19(0x13f)](_0x4afd38=>{const _0x191ab6=_0x1b1e19,_0xad9c30={..._0xd7651c[_0x191ab6(0x10e)][Number(_0x4b1257)][Number(_0x4afd38)]};_0x1c49ef['setValue'](Number(_0x4b1257)+_0x5a7ec6,Number(_0x4afd38)+_0xec97a3,tt(_0x118d43,_0xad9c30,fe[_0x191ab6(0xeb)]));});});const _0x2c07ab=Object['keys'](_0xd7651c['data'])[_0xf2b6d5(0x294)];_0x5a7ec6+=_0x2c07ab+(_0x2c07ab?mt:0x0);const _0x4d0aaf=_0x5a3b23['getRowCount'](),_0x231e8b=_0x5a3b23[_0xf2b6d5(0x159)]();for(let _0x4fbfd5=0x0;_0x4fbfd5<_0x4d0aaf;_0x4fbfd5++)for(let _0x561bc8=0x0;_0x561bc8<_0x231e8b;_0x561bc8++){const _0x3afbe0={...(_0x39ed1a=(_0x380da6=_0x5a3b23[_0xf2b6d5(0x10e)])==null?void 0x0:_0x380da6[_0x4fbfd5])==null?void 0x0:_0x39ed1a[_0x561bc8]};_0x3afbe0&&((_0x1932e1=_0x53351d[_0xf2b6d5(0x25c)][_0x561bc8])!=null&&_0x1932e1[_0xf2b6d5(0x1b5)])&&_0x561bc8===_0x231e8b-0x1&&_0x4fbfd5===_0x4d0aaf-0x1&&(_0x3afbe0['v']=''+_0x47aec3['sheets-pivot.value']),_0x1c49ef[_0xf2b6d5(0x95)](_0x4fbfd5+_0x5a7ec6,_0x561bc8+_0xec97a3,tt(_0x118d43,_0x3afbe0,fe[_0xf2b6d5(0xd0)]));}for(let _0x270e3e=0x0;_0x270e3e<_0x5a3b23[_0xf2b6d5(0x2fe)][_0xf2b6d5(0x294)];_0x270e3e++)_0x5a3b23[_0xf2b6d5(0x2fe)][_0x270e3e]&&(_0x506975[''+(_0x270e3e+_0xec97a3)]=_0x5a3b23[_0xf2b6d5(0x2fe)][_0x270e3e]);_0xec97a3+=_0x231e8b;const _0x2293d9=_0x353bb8[_0xf2b6d5(0x25c)],_0x408abb=_0x353bb8['getLastRow']()>=0x0?_0x353bb8[_0xf2b6d5(0x276)]()+0x1:0x0,_0x465e3c=_0x353bb8[_0xf2b6d5(0xc9)]()>=0x0?_0x353bb8['getLastCol']()+0x1:0x0;for(let _0x59e3f7=0x0;_0x59e3f7<_0x465e3c;_0x59e3f7++){for(let _0x3db6e4=0x0;_0x3db6e4<_0x408abb;_0x3db6e4++){const _0x225732={...(_0x3ed7dd=(_0x28ed46=_0x353bb8[_0xf2b6d5(0x10e)])==null?void 0x0:_0x28ed46[_0x3db6e4])==null?void 0x0:_0x3ed7dd[_0x59e3f7]},_0x3909a3=(_0x5beedb=_0x2293d9[_0x3db6e4])==null?void 0x0:_0x5beedb[_0xf2b6d5(0x17c)],_0x50d237=_0x49707d[_0x3909a3],_0x48ae90=_0x26e0db[_0x3909a3];_0x225732&&(_0x225732['v']=vt(_0x225732,_0x3db6e4===0x0&&((_0x1e8cbe=_0x353bb8['getHeaderMapItem'](_0x59e3f7+0x1))==null?void 0x0:_0x1e8cbe[_0xf2b6d5(0x1b5)]),_0x50d237,_0x47aec3));let _0x5d5b3b;_0x50d237?_0x5d5b3b={...fe[_0xf2b6d5(0x2f8)],'n':{'pattern':_0x50d237}}:_0x5d5b3b={...fe[_0xf2b6d5(0x2f8)]},_0x1c49ef[_0xf2b6d5(0x95)](_0x3db6e4+_0x5a7ec6,_0x59e3f7+_0xec97a3,tt(_0x118d43,_0x225732,_0x5d5b3b,_0x48ae90));}_0x353bb8[_0xf2b6d5(0x2fe)][_0x59e3f7]&&(_0x24024f[''+(_0x59e3f7+_0xec97a3)]=_0x353bb8[_0xf2b6d5(0x2fe)][_0x59e3f7]),_0x353bb8[_0xf2b6d5(0x25c)][_0x59e3f7+0x1]&&(_0x325268[''+(_0x59e3f7+_0x5a7ec6+0x1)]=_0x353bb8[_0xf2b6d5(0x25c)][_0x59e3f7+0x1]);}_0x5a7ec6+=_0x4d0aaf;const _0x58eb1b=_0x53351d[_0xf2b6d5(0x25c)],_0x5ce2d6=_0x53351d[_0xf2b6d5(0x276)]()>=0x0?_0x53351d[_0xf2b6d5(0x276)]()+0x1:0x0,_0x466d2e=_0x53351d[_0xf2b6d5(0xc9)]()>=0x0?_0x53351d[_0xf2b6d5(0xc9)]()+0x1:0x0;for(let _0x1f4a55=0x0;_0x1f4a55<_0x5ce2d6;_0x1f4a55++){for(let _0x18034d=0x0;_0x18034d<_0x466d2e;_0x18034d++){const _0x1ac814={...(_0x2fbdd4=(_0x4a5900=_0x53351d[_0xf2b6d5(0x10e)])==null?void 0x0:_0x4a5900[_0x1f4a55])==null?void 0x0:_0x2fbdd4[_0x18034d]},_0xe3e7f=(_0x21c09f=_0x58eb1b[_0x18034d])==null?void 0x0:_0x21c09f[_0xf2b6d5(0x17c)],_0x176707=_0x49707d[_0xe3e7f],_0x440c32=_0x26e0db[_0xe3e7f];_0x1ac814&&(_0x1ac814['v']=vt(_0x1ac814,!0x1,_0x176707,_0x47aec3));let _0x46124a;_0x53351d[_0xf2b6d5(0x2fe)][_0x1f4a55][_0xf2b6d5(0x241)]===_0x53351d['getColCount']()?_0x46124a=fe[_0xf2b6d5(0x279)]:_0x53351d[_0xf2b6d5(0x2fe)][_0x1f4a55][_0xf2b6d5(0xbd)]?_0x46124a=_0x53351d[_0xf2b6d5(0x2fe)][_0x1f4a55][_0xf2b6d5(0x241)]===0x0?fe[_0xf2b6d5(0xb0)]:fe[_0xf2b6d5(0x2e2)]:_0x46124a=fe['rowStyle'],_0x176707&&(_0x46124a={..._0x46124a,'n':{'pattern':_0x176707}}),_0x1c49ef[_0xf2b6d5(0x95)](_0x1f4a55+_0x5a7ec6,_0x18034d+_0x5d7e71,tt(_0x118d43,_0x1ac814,_0x46124a,_0x440c32));}_0x53351d[_0xf2b6d5(0x2fe)][_0x1f4a55]&&(_0x5a6b12[''+(_0x1f4a55+_0x5a7ec6)]=_0x53351d[_0xf2b6d5(0x2fe)][_0x1f4a55]),_0x53351d[_0xf2b6d5(0x25c)][_0x1f4a55]&&(_0x4c1827[''+(_0x1f4a55+_0x5d7e71)]=_0x53351d[_0xf2b6d5(0x25c)][_0x1f4a55]);}const _0x58784f=_0x4a136e[_0xf2b6d5(0x23a)](),_0x186eaa=_0x4a136e[_0xf2b6d5(0x159)]();for(let _0x44b77c=0x0;_0x44b77c<_0x58784f;_0x44b77c++)for(let _0x156857=0x0;_0x156857<_0x186eaa;_0x156857++){const _0xe425a8={...(_0x3ef37b=(_0x12d48c=_0x4a136e[_0xf2b6d5(0x10e)])==null?void 0x0:_0x12d48c[_0x44b77c])==null?void 0x0:_0x3ef37b[_0x156857]};let _0x426a06;_0x53351d['info'][_0x44b77c][_0xf2b6d5(0xbd)]?_0x426a06=_0x53351d[_0xf2b6d5(0x2fe)][_0x44b77c][_0xf2b6d5(0x241)]===0x0?fe[_0xf2b6d5(0xb0)]:fe['subTotalStyle']:_0x426a06=fe[_0xf2b6d5(0x1d9)];const _0x15daa5=_0x53351d['info'][_0x44b77c][_0xf2b6d5(0x21d)],_0xd6bfb8=_0x353bb8['info'][_0x156857][_0xf2b6d5(0x21d)],_0x54d785=Math['max'](_0x15daa5,_0xd6bfb8),_0x4d6a5b=_0x409986[_0xf2b6d5(0x2ff)][_0xf2b6d5(0x220)][_0xf2b6d5(0x239)]();let _0x16f281='';_0x54d785<0x0?_0x16f281=(_0x78e956=_0x4d6a5b[0x0])!=null?_0x78e956:'':_0x16f281=(_0x445914=_0x4d6a5b[_0x54d785])!=null?_0x445914:'';const _0x485098=_0x49707d[_0x16f281];_0x485098&&(_0x426a06={..._0x426a06,'n':{'pattern':_0x485098}}),_0x1c49ef[_0xf2b6d5(0x95)](_0x44b77c+_0x5a7ec6,_0x156857+_0xec97a3,tt(_0x118d43,_0xe425a8,_0x426a06));}return{'valueMatrix':_0x1c49ef,'rowInfo':_0x5a6b12,'colInfo':_0x24024f,'cornerInfo':_0x506975,'rowHeaderMap':_0x4c1827,'colHeaderMap':_0x325268};};function vt(_0x34f404,_0x4c7a28,_0x3bd829,_0x22e2e5){const _0xc71811=_0x5f289e;let _0x19d40c=_0x34f404['v'];_0x4c7a28&&(_0x19d40c=''+_0x22e2e5[_0xc71811(0xe5)]);const _0xe4872e=_0x34f404['t']&&(_0x34f404['t']&_0x4826b0[_0xc71811(0x1a0)])>0x0;_0xe4872e&&(_0x19d40c=''+_0x22e2e5[_0xc71811(0xce)]);const _0x63363f=_0x34f404['t']&&(_0x34f404['t']&_0x4826b0['other'])>0x0;if(_0x63363f&&(_0x19d40c=''+_0x22e2e5['sheets-pivot.other']),_0x34f404['s']===_0x4e0bb6[_0xc71811(0x1ab)]){let _0x5a7f47=_0x19d40c,_0x5ae7e8='';_0x240478(_0x19d40c)&&(_0x5a7f47=_0x19d40c[_0xc71811(0x17b)],_0x5ae7e8=_0x19d40c[_0xc71811(0x234)]);const _0x219ab4=_0x3bd829&&!_0xe4872e&&!_0x63363f?_0x19929a[_0xc71811(0x16d)](_0x3bd829,Number(_0x5a7f47)):_0x5a7f47;_0x5ae7e8?_0x19d40c=_0x219ab4+'\x20'+_0x5ae7e8:_0x19d40c=_0x219ab4+'\x20'+_0x22e2e5[_0xc71811(0x20f)];}else _0x34f404['s']===_0x4e0bb6[_0xc71811(0x1da)]&&(_0x19d40c=_0x19d40c+'\x20'+_0x22e2e5['sheets-pivot.grandTotal']);return _0x19d40c;}function Jo(_0x2af53f){const _0x2ebf42=_0x5f289e;if(_0x4e0ead(_0x2af53f)){const {errorType:_0x391b4f}=_0x2af53f;switch(_0x391b4f){case _0xd32cce['Div0']:return _0x20361f['DIV_BY_ZERO'];case _0xd32cce[_0x2ebf42(0x1c1)]:return _0x20361f['NUM'];case _0xd32cce[_0x2ebf42(0xaa)]:return _0x20361f[_0x2ebf42(0xf4)];case _0xd32cce[_0x2ebf42(0x24e)]:return _0x20361f[_0x2ebf42(0xf4)];case _0xd32cce[_0x2ebf42(0x21e)]:return _0x20361f[_0x2ebf42(0x121)];}}return _0x2af53f;}function ge(_0x4b8eff,_0x54da11,_0x419e4c=!0x1,_0x20c238=!0x1){const _0x162897=_0x5f289e,{data:_0x552cd8}=_0x54da11,_0x21217f=_0x54da11[_0x162897(0x23a)](),_0x375c43=_0x54da11[_0x162897(0x159)]();if(_0x21217f<=0x0||_0x375c43<=0x0)return[];const _0x174601=_0x54da11['getLastCol'](),_0x3f8165=_0x54da11[_0x162897(0x276)](),_0x440bf4=_0x20c238?_0x3f8165>=0x0?_0x3f8165+0x1:0x0:_0x21217f,_0x3ee4be=_0x20c238?_0x174601>=0x0?_0x174601+0x1:0x0:_0x375c43,{row:_0x3f91ec,col:_0x448ffe}=_0x4b8eff,_0x577e34=_0x3f91ec,_0x30e9fc=_0x448ffe;if(_0x419e4c){const _0x2a3762=[];for(const [_0x49bed1,_0x2139c2]of Object['entries'](_0x552cd8))for(const [_0xd8534,_0x2d0fca]of Object['entries'](_0x2139c2))_0x2a3762[_0x162897(0x288)](_0x27b91b(_0x577e34+Number(_0x49bed1),_0x30e9fc+Number(_0xd8534)));return _0x2a3762;}else{const _0xdbfd6a=_0x20c238?_0x440bf4>0x0?0x1:0x0:0x1,_0x283b3c=_0x20c238?_0x3ee4be>0x0?0x1:0x0:0x1,_0x366719=_0x3f91ec+_0x440bf4-_0xdbfd6a,_0xf42e02=_0x448ffe+_0x3ee4be-_0x283b3c;return[{'startRow':_0x577e34,'startColumn':_0x30e9fc,'endRow':_0x366719,'endColumn':_0xf42e02}];}}const z=_0x5f289e(0x1f8),Kt=_0x5f289e(0x25e);var k=(_0x3c1a58=>(_0x3c1a58['Filter']='filter',_0x3c1a58[_0x5f289e(0x114)]='panel',_0x3c1a58[_0x5f289e(0x2d2)]='addPivotField',_0x3c1a58[_0x5f289e(0x2d8)]=_0x5f289e(0x2d8),_0x3c1a58[_0x5f289e(0x1bf)]=_0x5f289e(0x1b0),_0x3c1a58[_0x5f289e(0xac)]=_0x5f289e(0xc8),_0x3c1a58[_0x5f289e(0x2cd)]='removePivotField',_0x3c1a58[_0x5f289e(0x27a)]=_0x5f289e(0x30a),_0x3c1a58['SetPivotFilter']=_0x5f289e(0x295),_0x3c1a58[_0x5f289e(0x30d)]=_0x5f289e(0x13e),_0x3c1a58['SetPivotSetting']='setPivotSetting',_0x3c1a58[_0x5f289e(0x269)]=_0x5f289e(0x173),_0x3c1a58['UpdateValuePosition']=_0x5f289e(0x271),_0x3c1a58['DrillDown']='drillDown',_0x3c1a58[_0x5f289e(0x2dc)]=_0x5f289e(0x2df),_0x3c1a58['SetPivotTableConfig']=_0x5f289e(0x314),_0x3c1a58[_0x5f289e(0xe7)]=_0x5f289e(0x15f),_0x3c1a58))(k||{});const Mi={'sheets-pivot.blankValue':_0x5f289e(0x124),'sheets-pivot.columnName':_0x5f289e(0x20b),'sheets-pivot.subTotalText':_0x5f289e(0x109),'sheets-pivot.grandTotalText':_0x5f289e(0x211),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x5f289e(0x133),'sheets-pivot.countName':_0x5f289e(0x14f),'sheets-pivot.countNumsName':_0x5f289e(0x14f),'sheets-pivot.maxName':_0x5f289e(0x2d6),'sheets-pivot.minName':_0x5f289e(0x309),'sheets-pivot.productName':_0x5f289e(0x2ef),'sheets-pivot.stdDevName':_0x5f289e(0xf5),'sheets-pivot.stdDevpName':_0x5f289e(0x29a),'sheets-pivot.sumName':_0x5f289e(0x2ec),'sheets-pivot.varName':_0x5f289e(0x199),'sheets-pivot.varpName':_0x5f289e(0x22b),'sheets-pivot.subTotal':_0x5f289e(0x1ab),'sheets-pivot.grandTotal':_0x5f289e(0x211),'sheets-pivot.value':'value','sheets-pivot.blank':_0x5f289e(0x1a0),'sheets-pivot.other':_0x5f289e(0x179),'sheets-pivot.emptyPivot.filter':_0x5f289e(0x208),'sheets-pivot.emptyPivot.row':_0x5f289e(0x2a8),'sheets-pivot.emptyPivot.column':_0x5f289e(0x26e),'sheets-pivot.emptyPivot.values':_0x5f289e(0x22d)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x29081b('pivotPerformCheck'),$o=_0x285d6f(_0x5f289e(0x30c));var Le=(_0x903d89=>(_0x903d89[_0x5f289e(0x14a)]='add',_0x903d89[_0x5f289e(0x2e6)]=_0x5f289e(0x2e6),_0x903d89[_0x5f289e(0x249)]='update',_0x903d89))(Le||{}),B=(_0x5938c7=>(_0x5938c7[_0x5f289e(0x188)]=_0x5f289e(0x14a),_0x5938c7[_0x5f289e(0x2d7)]='set',_0x5938c7[_0x5f289e(0x28b)]=_0x5f289e(0x2e6),_0x5938c7))(B||{});const ro={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x191),'handler':()=>!0x0},lo={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Dt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x228),'handler':()=>!0x0},co={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x2ab),'handler':()=>!0x0},uo={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var Fi=Object[_0x5f289e(0xaf)],wi=(_0x1bd069,_0x88a0b7,_0x5602da,_0x19b8e4)=>{const _0x2df64e=_0x5f289e;for(var _0x100e80=_0x19b8e4>0x1?void 0x0:_0x19b8e4?Fi(_0x88a0b7,_0x5602da):_0x88a0b7,_0x2e2759=_0x1bd069[_0x2df64e(0x294)]-0x1,_0x1504f7;_0x2e2759>=0x0;_0x2e2759--)(_0x1504f7=_0x1bd069[_0x2e2759])&&(_0x100e80=_0x1504f7(_0x100e80)||_0x100e80);return _0x100e80;},_i=(_0x54a91e,_0xfb72db)=>(_0x532839,_0x365f17)=>_0xfb72db(_0x532839,_0x365f17,_0x54a91e);let X=class extends _0x4882c1{constructor(_0x3bcc0d){const _0x533498=_0x5f289e;super(),x(this,_0x533498(0xc2),new Map()),this[_0x533498(0x27f)]=_0x3bcc0d;}[_0x5f289e(0xcd)](_0x3cfd4d){const _0x3318c5=_0x5f289e,{version:_0x10e666}=_0x3cfd4d,_0x15e0c7=this[_0x3318c5(0xc2)][_0x3318c5(0x107)](_0x10e666);_0x15e0c7&&(_0x15e0c7(_0x3cfd4d),this[_0x3318c5(0xc2)]['delete'](_0x10e666));}[_0x5f289e(0x250)](_0x28286e){return new Promise((_0xfba3c9,_0x542186)=>{const _0x45d379=_0xa9aa,_0x4a083e=this['_generateUniqueVersion']();this[_0x45d379(0xc2)]['set'](_0x4a083e,_0xfba3c9),this[_0x45d379(0x27f)][_0x45d379(0xa0)](ro['id'],{'version':_0x4a083e,..._0x28286e},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x383981=_0x5f289e;return Math[_0x383981(0x115)]()[_0x383981(0x1e0)](0x24)[_0x383981(0x18d)](0x2,0x10);}};X=wi([_i(0x0,_0x425448(_0x1db6fa))],X);const Go={0x0:'q',0x1:'F',0x2:'0',0x3:'c',0x4:'9',0x5:'8',0x6:'y',0x7:'O',0x8:'4',0x9:'u','p':'1','c':'2','s':'3','z':'5','U':'6','B':'7','D':'a','O':'b','g':'d','F':'e','h':'f','w':'g','q':'h','b':'i','X':'j','v':'k','H':'l','P':'m','x':'n','t':'o','J':'p','T':'r','C':'s','K':'t','I':'v','u':'w','Y':'x','a':'z','N':'A','S':'B','d':'C','V':'D','M':'E','k':'G','r':'H','A':'I','m':'J','G':'K','Z':'L','f':'M','R':'N','n':'P','e':'Q','i':'R','E':'S','j':'T','L':'U','l':'V','y':'W','Q':'X','o':'Y','W':'Z'},Ho=_0x5f289e(0x1a8),Ri=_0x588cfd=>{const _0x373b82=_0x5f289e;var _0x1342c9;return((_0x1342c9=_0x588cfd[_0x373b82(0x2d0)])==null?void 0x0:_0x1342c9[_0x373b82(0x178)][_0x373b82(0x278)](/\r\n$/,''))||'';};class Di extends _0x5b91fc{constructor(_0x40115f,_0x2cadfd){const _0x57b78c=_0x5f289e;super(),x(this,_0x57b78c(0xec),{}),x(this,'_univerInstanceService'),x(this,_0x57b78c(0x10b)),(this[_0x57b78c(0xa4)]=_0x2cadfd,this['_host']=_0x40115f);}['initDataRanges'](){const _0x1a3fb2=_0x5f289e;for(const _0x344d11 in this[_0x1a3fb2(0x1eb)]){const _0x53991f=this[_0x1a3fb2(0x1eb)][_0x344d11],_0xb77aef=_0x53991f[_0x1a3fb2(0xcc)]();this[_0x1a3fb2(0xec)][_0xb77aef]=_0x53991f[_0x1a3fb2(0x2f0)]();}}[_0x5f289e(0x2db)](){const _0x2cfeb8=_0x5f289e,_0x55fb3a=this['_host'];return Ai[_0x2cfeb8(0x15e)](_0x55fb3a);}[_0x5f289e(0xc5)](_0x4806b9){const _0x47836b=_0x5f289e,_0x32b6e3=this[_0x47836b(0x1eb)][_0x4806b9][_0x47836b(0x1af)];delete this[_0x47836b(0x1eb)][_0x4806b9],delete this[_0x47836b(0xec)][_0x32b6e3];}[_0x5f289e(0x1fa)](_0x32731b){const _0x1c6172=_0x5f289e;this[_0x1c6172(0x1eb)][_0x32731b[_0x1c6172(0x2f0)]()]=_0x32731b;}[_0x5f289e(0x242)](_0x3e560c){const _0x19b552=_0x5f289e;var _0x57f240,_0x3cc427;const _0x541aab=this['_host'][_0x19b552(0xe1)](_0x3e560c);if(_0x541aab){const {unitId:_0x27f53a,subUnitId:_0x37d0ac}=_0x541aab,_0x57cb21=(_0x57f240=this[_0x19b552(0x10b)][_0x19b552(0x9e)](_0x27f53a,_0x37d0ac,_0x3e560c))==null?void 0x0:_0x57f240[_0x19b552(0x305)];this[_0x19b552(0x10b)]['broadcastCollectionChange']({'token':_0x3e560c,'type':Le[_0x19b552(0x2e6)],'dataRangeInfo':_0x57cb21});}(_0x3cc427=this[_0x19b552(0xbb)](_0x3e560c))==null||_0x3cc427[_0x19b552(0x245)](),delete this[_0x19b552(0x10d)][_0x3e560c];}[_0x5f289e(0xcc)](_0x11c228,_0x55a67f){const {sheetName:_0x1c0fe5,unitId:_0x54756d,range:_0x4102bb}=_0x11c228,{startRow:_0x37454f,endRow:_0x5e3816}=_0x4102bb;return _0x40a9bf(_0x54756d,_0x1c0fe5,{'startRow':_0x37454f,'endRow':_0x5e3816,'startColumn':_0x55a67f,'endColumn':_0x55a67f});}[_0x5f289e(0x2c0)](_0x51794d){const _0x54886c=_0x5f289e;return this[_0x54886c(0x1eb)][this[_0x54886c(0xec)][_0x51794d]];}[_0x5f289e(0x2e1)](_0x4df9e0,_0x12b53f){const _0x1a44aa=_0x5f289e;this[_0x1a44aa(0xec)][_0x4df9e0]=_0x12b53f;}['updateRangeKeyMap'](_0x5db3d0,_0x3d4b8a){const _0x4888c7=_0x5f289e;this[_0x4888c7(0xec)][_0x3d4b8a]=this[_0x4888c7(0xec)][_0x5db3d0],delete this[_0x4888c7(0xec)][_0x5db3d0];}[_0x5f289e(0x146)](_0x1cb547,_0x494d45,_0x168d5d,_0x4db5ac){const _0x146681=_0x5f289e,_0x8c8c95=new _0x21a1ee(this);_0x8c8c95[_0x146681(0x1dd)](_0x494d45);const _0x10e636=[];let _0x11bca4=0x0;for(const _0x5c67e5 of _0x8c8c95['fieldIds']){const _0x123a1f=this['getRangeKey'](_0x168d5d,_0x11bca4),_0x363871=this[_0x146681(0x1eb)][_0x5c67e5];_0x363871&&(_0x363871['rangeKey']=_0x123a1f,this[_0x146681(0x2e1)](_0x123a1f,_0x5c67e5),_0x10e636['push']({'index':_0x11bca4,'dataField':_0x363871})),_0x11bca4++;}return this['addCollection'](_0x1cb547,_0x8c8c95,_0x168d5d,_0x4db5ac),{'collection':_0x8c8c95,'updateDataFieldList':_0x10e636};}[_0x5f289e(0x2c6)](_0x19fd66,_0x245981){const _0x31ab0d=_0x5f289e;return _0x19fd66[_0x31ab0d(0x25d)]===_0xe5322f[_0x31ab0d(0x254)]?{'startRow':0x0,'startColumn':_0x19fd66['startColumn'],'endRow':_0x245981[_0x31ab0d(0x23a)]()-0x1,'endColumn':_0x19fd66[_0x31ab0d(0x153)]}:{'startRow':_0x19fd66[_0x31ab0d(0xd5)],'startColumn':_0x19fd66[_0x31ab0d(0x237)],'endRow':_0x19fd66[_0x31ab0d(0xfc)],'endColumn':_0x19fd66[_0x31ab0d(0x153)]};}[_0x5f289e(0x253)](_0x6b6970){const _0x53304d=_0x5f289e,{sheetName:_0x372fe6,range:_0x17641b}=_0x6b6970,_0xed0929=this[_0x53304d(0xa4)]['getCurrentUnitForType'](_0x5c1aae[_0x53304d(0x20e)]),_0x5c34b9=_0xed0929[_0x53304d(0x19a)](_0x372fe6),_0x2271b8=_0x5c34b9[_0x53304d(0xa8)](),{startColumn:_0x53e976,startRow:_0x2800cf,endColumn:_0x25298c}=this['getRangeStartEndInfo'](_0x17641b,_0x5c34b9),_0x49a99d=_0xed0929['getStyles'](),_0x240e14=new _0x21a1ee(this);_0x240e14['setRange'](_0x6b6970);const _0x57f940=[],_0x510403={};for(let _0x3e0dbc=_0x53e976;_0x3e0dbc<=_0x25298c;_0x3e0dbc++){const _0x231ac4=_0x2271b8['getValue'](_0x2800cf,_0x3e0dbc),_0x104f4d=this[_0x53304d(0xcc)](_0x6b6970,_0x3e0dbc),_0x44e77e=this[_0x53304d(0x2c0)](_0x104f4d);if(_0x44e77e)_0x240e14[_0x53304d(0xd9)](_0x44e77e[_0x53304d(0x2f0)](),_0x44e77e['getName']());else{const _0x3317d7=this[_0x53304d(0x235)]();let _0x2f0dd0=this['adjustSheetCellData'](_0x231ac4,_0x49a99d,_0x510403);_0x4f2b97(_0x2f0dd0)&&(_0x2f0dd0=_0x19929a[_0x53304d(0x16d)](_0x2f0dd0['f'],Number(_0x2f0dd0['v'])));const _0x352e8f=this['uniqueDataFieldName'](_0x2f0dd0,_0x3e0dbc),_0x1fef44=new _0x37acea(_0x3317d7,_0x352e8f,_0xdc8474(0x3));_0x1fef44[_0x53304d(0x1af)]=_0x104f4d,this[_0x53304d(0x1eb)][_0x3317d7]=_0x1fef44,_0x240e14[_0x53304d(0xd9)](_0x3317d7,_0x352e8f),_0x57f940[_0x53304d(0x288)]({'index':_0x3e0dbc,'dataField':_0x1fef44});}}return{'updateDataFieldList':_0x57f940,'collection':_0x240e14};}[_0x5f289e(0x1a2)](_0x28ec52){const _0x30086a=_0x5f289e;return this[_0x30086a(0x10b)][_0x30086a(0xb7)]()[_0x30086a(0x103)]+'\x20'+_0x5d0ef0(_0x28ec52);}['uniqueDataFieldName'](_0x1d805f,_0xa4a084){const _0x5d7250=_0x5f289e;return _0x1d805f==null||_0x1d805f===''?this[_0x5d7250(0x1a2)](_0xa4a084):String(_0x1d805f);}[_0x5f289e(0xbb)](_0x431283){const _0x41e588=_0x5f289e;return this[_0x41e588(0x10d)][_0x431283];}[_0x5f289e(0x2eb)](_0x4dae2f,_0x1193c1,_0x55bbbd,_0x50c81a){const _0x521580=_0x5f289e;this[_0x521580(0x10d)][_0x4dae2f]=_0x1193c1,_0x1193c1[_0x521580(0x193)](_0x55bbbd),this[_0x521580(0x10b)][_0x521580(0x2a2)]({'token':_0x4dae2f,'type':Le['add'],'dataRangeInfo':_0x55bbbd,'targetCellInfo':_0x50c81a});}['handleMoveRange'](_0x3b0618,_0x3c2e70){const _0x31a84f=_0x5f289e,_0x365dca=this[_0x31a84f(0xbb)](_0x3b0618),_0x50653f=_0x365dca[_0x31a84f(0x1d0)]();let _0x563cbb=0x0;for(const _0x205cfc of _0x50653f){const _0x29c61f=_0x365dca[_0x31a84f(0x2b0)](_0x205cfc),_0x15ce5e=this[_0x31a84f(0xcc)](_0x3c2e70,_0x563cbb);this['updateRangeKeyMap'](_0x29c61f[_0x31a84f(0x1af)],_0x15ce5e),_0x563cbb++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x1b6bfb,_0xb306a9){const _0x4251bb=_0x5f289e;if(this[_0x4251bb(0xbb)](_0x1b6bfb)){const _0x5bb76c=this[_0x4251bb(0x13a)](_0xb306a9),_0x1cd8cc=[];for(const _0x4846b4 of _0x5bb76c)this[_0x4251bb(0xec)][_0x4846b4]!==void 0x0&&_0x1cd8cc[_0x4251bb(0x288)](this[_0x4251bb(0xec)][_0x4846b4]);const _0x49fcec=this[_0x4251bb(0x2b1)](_0x1b6bfb),_0x5866d8=[],_0x29e484=new Set(_0x1cd8cc);for(const _0x32fbb3 of _0x49fcec)_0x29e484['has'](_0x32fbb3)||_0x5866d8[_0x4251bb(0x288)](_0x32fbb3);return _0x5866d8;}}[_0x5f289e(0x214)](_0x285f12,_0x44e979,_0x3ebde4,_0x5cac8b,_0x4052be){const _0x86bd22=_0x5f289e;return _0x44e979&&_0x44e979['getValue'](_0x5cac8b,_0x4052be)?_0x44e979[_0x86bd22(0x1d8)](_0x5cac8b,_0x4052be):_0x3ebde4&&_0x3ebde4[_0x86bd22(0x1d8)](_0x5cac8b,_0x4052be)?_0x3ebde4[_0x86bd22(0x1d8)](_0x5cac8b,_0x4052be):_0x285f12[_0x86bd22(0x1d8)](_0x5cac8b,_0x4052be);}['refreshDataField'](_0x5d7942,_0x2d2d01,_0x4c6669,_0x18fdb9){const _0x5a728b=_0x5f289e,_0x54e926=this['dataFields'][_0x5d7942];if(!_0x54e926)return;const {subUnitId:_0x785c81,range:_0x4caf0b,unitId:_0x2fe939}=_0x2d2d01,_0x5e4089=this[_0x5a728b(0xa4)][_0x5a728b(0xd8)](_0x2fe939);if(!_0x5e4089){console[_0x5a728b(0x112)](_0x5a728b(0x182));return;}const _0x371417=_0x5e4089[_0x5a728b(0x312)](_0x785c81),_0x47e3fc=_0x371417[_0x5a728b(0xa8)](),{arrayFormulaCellDataMatrix:_0x1f0f5c,unitDataMatrix:_0x1b4fdd}=_0x18fdb9||{},{startRow:_0x26ea2c,startColumn:_0x52dac9,endRow:_0x14af07}=this[_0x5a728b(0x2c6)](_0x4caf0b,_0x371417);_0x54e926[_0x5a728b(0x26f)]();const _0x4f74e4=_0x5e4089['getStyles'](),_0x1beae5={},_0x1ecf51=this[_0x5a728b(0x214)](_0x47e3fc,_0x1f0f5c,_0x1b4fdd,_0x26ea2c,_0x52dac9+_0x4c6669);let _0x170ba5=this[_0x5a728b(0x30b)](_0x1ecf51,_0x4f74e4,_0x1beae5);_0x4f2b97(_0x170ba5)&&(_0x170ba5=_0x19929a[_0x5a728b(0x16d)](_0x170ba5['f'],Number(_0x170ba5['v'])));const _0xbc158a=this[_0x5a728b(0x28c)](_0x170ba5,_0x52dac9+_0x4c6669);_0x54e926[_0x5a728b(0x2bd)](_0xbc158a);for(let _0x55d2d9=_0x26ea2c+0x1;_0x55d2d9<=_0x14af07;_0x55d2d9++){const _0xec0959=this[_0x5a728b(0x214)](_0x47e3fc,_0x1f0f5c,_0x1b4fdd,_0x55d2d9,_0x52dac9+_0x4c6669);_0x54e926[_0x5a728b(0x10f)](this[_0x5a728b(0x30b)](_0xec0959,_0x4f74e4,_0x1beae5),_0x55d2d9-0x1-_0x26ea2c);}}['refreshData'](_0x460c87,_0x291980,_0x56570c){const _0x28b72f=_0x5f289e,{subUnitId:_0x555f92,range:_0x2f7d20,unitId:_0x2c62f0}=_0x56570c,_0x23e12f=this['_univerInstanceService'][_0x28b72f(0xd8)](_0x2c62f0);if(!_0x23e12f){console[_0x28b72f(0x112)](_0x28b72f(0x182));return;}const _0x11abec=_0x23e12f['getSheetBySheetId'](_0x555f92),_0x3ed3ce=_0x11abec['getCellMatrix'](),{startRow:_0x5b0491,startColumn:_0x39b707,endRow:_0x4ceced}=this[_0x28b72f(0x2c6)](_0x2f7d20,_0x11abec),_0x387f13=_0x23e12f[_0x28b72f(0x258)](),_0x4b8ba9={};for(const {dataField:_0x4197c4,index:_0x1003bb}of _0x291980){_0x4197c4['reset']();const _0x2dcba9=this[_0x28b72f(0x214)](_0x3ed3ce,void 0x0,void 0x0,_0x5b0491,_0x39b707+_0x1003bb);let _0x41bda0=this[_0x28b72f(0x30b)](_0x2dcba9,_0x387f13,_0x4b8ba9);_0x4f2b97(_0x41bda0)&&(_0x41bda0=_0x19929a[_0x28b72f(0x16d)](_0x41bda0['f'],Number(_0x41bda0['v'])));const _0x1e224a=this[_0x28b72f(0x28c)](_0x41bda0,_0x39b707+_0x1003bb);_0x4197c4[_0x28b72f(0x2bd)](_0x1e224a);}_0x460c87[_0x28b72f(0xbe)]();for(let _0x4a9452=_0x5b0491+0x1;_0x4a9452<=_0x4ceced;_0x4a9452++)for(const {index:_0x1c4586,dataField:_0x27b47b}of _0x291980){const _0x65285f=_0x3ed3ce['getValue'](_0x4a9452,_0x39b707+_0x1c4586);_0x27b47b[_0x28b72f(0x10f)](this[_0x28b72f(0x30b)](_0x65285f,_0x387f13,_0x4b8ba9),_0x4a9452-0x1-_0x5b0491);}_0x460c87[_0x28b72f(0x18b)](_0x4ceced-_0x5b0491);}['getRangeKeyList'](_0x591f9d){const _0x3b4c78=_0x5f289e,{range:_0x417533}=_0x591f9d,{startColumn:_0x5d3b64,endColumn:_0x8c35a2}=_0x417533,_0x298292=[];for(let _0x59be98=_0x5d3b64;_0x59be98<=_0x8c35a2;_0x59be98++)_0x298292[_0x3b4c78(0x288)](this['getRangeKey'](_0x591f9d,_0x59be98));return _0x298292;}[_0x5f289e(0x30b)](_0x3d58b5,_0xa169c5,_0x9f4cee){const _0x58c05d=_0x5f289e;if(_0x3d58b5){const {s:_0x5f18c0,v:_0x2bfdaf,t:_0x25c936,p:_0x4f3be0}=_0x3d58b5;if(_0x4f3be0)return Ri(_0x4f3be0);const _0x80904c=_0xa169c5['get'](_0x5f18c0);if(_0x80904c&&_0x25c936===_0x5ba1ef['NUMBER']&&_0x80904c['n']){const {pattern:_0x25b01f}=_0x80904c['n'];_0x9f4cee[_0x25b01f]||(_0x9f4cee[_0x25b01f]=_0x19929a[_0x58c05d(0x27d)](_0x25b01f));const _0x5463cd=_0x9f4cee[_0x25b01f],_0x2503a4=_0x5463cd[_0x58c05d(0x195)];if(_0x5463cd['isText'])return String(_0x2bfdaf);if(_0x2503a4)return{'v':_0x2bfdaf,'f':_0x25b01f};}if(_0x25c936===_0x5ba1ef[_0x58c05d(0xe2)])return Number(_0x2bfdaf);if(_0x25c936===_0x5ba1ef[_0x58c05d(0xf6)]||_0x25c936===_0x5ba1ef['FORCE_STRING'])return String(_0x2bfdaf);if(_0x25c936===void 0x0){const _0x199fd9=Number(_0x2bfdaf);if(!Number['isNaN'](_0x199fd9)&&String(_0x199fd9)===_0x2bfdaf)return _0x199fd9;}return _0x2bfdaf!=null?_0x2bfdaf:null;}else return null;}[_0x5f289e(0x298)](_0x159116){const _0x523200=_0x5f289e,{sheetName:_0x2b700b,range:_0x18859d,unitId:_0x56746e}=_0x159116,_0x56cc17=this[_0x523200(0xa4)][_0x523200(0xd8)](_0x56746e);if(!_0x56cc17)return console[_0x523200(0x112)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x3ff8aa=_0x56cc17[_0x523200(0x19a)](_0x2b700b),_0x5b3cc0=_0x3ff8aa[_0x523200(0xa8)](),{startRow:_0x391da2,startColumn:_0x45f095,endRow:_0x3298ce,endColumn:_0x563a9d}=this[_0x523200(0x2c6)](_0x18859d,_0x3ff8aa),_0x34e0e1=_0x56cc17[_0x523200(0x258)](),_0x2579ab=[],_0x254fe1=[],_0x5ceca0={};for(let _0x33d8b1=_0x391da2;_0x33d8b1<=_0x3298ce;_0x33d8b1++){const _0x4cef99=[];for(let _0x393eaa=_0x45f095;_0x393eaa<=_0x563a9d;_0x393eaa++){const _0x1f19b3=_0x5b3cc0[_0x523200(0x1d8)](_0x33d8b1,_0x393eaa);_0x33d8b1===_0x391da2?_0x2579ab['push'](_0x1f19b3==null?null:String(_0x1f19b3['v'])):_0x4cef99['push'](this['adjustSheetCellData'](_0x1f19b3,_0x34e0e1,_0x5ceca0));}_0x254fe1['push'](_0x4cef99);}return{'header':_0x2579ab,'data':_0x254fe1};}[_0x5f289e(0xde)](){return super['toJSON']();}['fromJSON'](_0x275b18){const _0x34d1e3=_0x5f289e;super[_0x34d1e3(0x1dd)](_0x275b18),this[_0x34d1e3(0x163)]();}[_0x5f289e(0x245)](){const _0x494392=_0x5f289e;super['dispose'](),this[_0x494392(0xec)]={},this[_0x494392(0x10b)]=null;}}const Ni=_0x31a209=>{const _0x5c4356=_0x5f289e,{targetCellInfo:_0x2114ac}=_0x31a209,{matrixCache:_0x2998c9,rangesCache:_0x3f2c7c}=Wo({'filter':_0x5c4356(0x208),'row':_0x5c4356(0x2a8),'column':_0x5c4356(0x26e),'values':_0x5c4356(0x22d)},_0x2114ac),_0x807550=new _0x2cf1b4();return _0x2998c9[_0x5c4356(0x2bb)]((_0x3414ae,_0x4075d8,_0xc7a870)=>{const _0x3c49ff=_0x5c4356;_0x807550[_0x3c49ff(0x95)](_0x3414ae,_0x4075d8,_0xc7a870);}),{'matrix':_0x807550,'rangesCache':_0x3f2c7c};},ot=_0x1bb6d6=>{const _0x446d6b=_0x5f289e;let _0x4574db;if(_0x1bb6d6!=null&&_0x1bb6d6['v']||(_0x1bb6d6==null?void 0x0:_0x1bb6d6['v'])===0x0){_0x4574db||(_0x4574db={});const _0x1df6b5=Jo(_0x1bb6d6['v']);typeof _0x1df6b5==_0x446d6b(0x27b)?_0x4574db['t']=_0x5ba1ef[_0x446d6b(0xe2)]:typeof _0x1df6b5==_0x446d6b(0x2f3)&&(_0x4574db['t']=_0x5ba1ef[_0x446d6b(0xf6)]),_0x4574db['v']=_0x1df6b5;}return _0x4574db;},xi=(_0x203a33,_0xe9adcb,_0x4c112a)=>{const _0x21e0ad=_0x5f289e;var _0x2a3a7d,_0x59af55,_0x30e618,_0x255587,_0x3d9400,_0x11f8f1,_0x3568a1,_0x4a0076,_0x36d09b,_0x3f9e1c,_0x1b7739,_0x120f42;const {cornerView:_0x2d8f98,rowView:_0x12fad4,colView:_0x30ee3e,dataView:_0x450f7b,pageView:_0x451a86,formatMap:_0x56cd74}=_0x203a33,{row:_0x59ed3d,col:_0x16afde}=_0xe9adcb,_0x58100e=new _0x2cf1b4();let _0x1921c3=_0x59ed3d,_0x1ab7d7=_0x16afde;Object['keys'](_0x451a86[_0x21e0ad(0x10e)])[_0x21e0ad(0x13f)](_0x4a9105=>{const _0x37d0cd=_0x21e0ad;Object[_0x37d0cd(0x1d6)](_0x451a86['data'][Number(_0x4a9105)])[_0x37d0cd(0x13f)](_0x44f1a7=>{const _0xe59936=_0x37d0cd,_0x170197={..._0x451a86[_0xe59936(0x10e)][Number(_0x4a9105)][Number(_0x44f1a7)]};_0x58100e[_0xe59936(0x95)](Number(_0x4a9105)+_0x1921c3,Number(_0x44f1a7)+_0x1ab7d7,ot(_0x170197));});});const _0x42c10a=Object[_0x21e0ad(0x1d6)](_0x451a86[_0x21e0ad(0x10e)])[_0x21e0ad(0x294)];_0x1921c3+=_0x42c10a+(_0x42c10a?mt:0x0);const _0x5d30b2=_0x2d8f98[_0x21e0ad(0x23a)](),_0x591086=_0x2d8f98[_0x21e0ad(0x159)]();for(let _0x33ae90=0x0;_0x33ae90<_0x5d30b2;_0x33ae90++)for(let _0x354ab4=0x0;_0x354ab4<_0x591086;_0x354ab4++){const _0x3931e8={...(_0x59af55=(_0x2a3a7d=_0x2d8f98[_0x21e0ad(0x10e)])==null?void 0x0:_0x2a3a7d[_0x33ae90])==null?void 0x0:_0x59af55[_0x354ab4]};_0x3931e8&&((_0x30e618=_0x12fad4['headerMap'][_0x354ab4])!=null&&_0x30e618[_0x21e0ad(0x1b5)])&&_0x354ab4===_0x591086-0x1&&_0x33ae90===_0x5d30b2-0x1&&(_0x3931e8['v']=''+_0x4c112a[_0x21e0ad(0xe5)]),_0x58100e[_0x21e0ad(0x95)](_0x33ae90+_0x1921c3,_0x354ab4+_0x1ab7d7,ot(_0x3931e8));}_0x1ab7d7+=_0x591086;const _0x10f594=_0x30ee3e[_0x21e0ad(0x25c)],_0xd2bfdb=_0x30ee3e[_0x21e0ad(0x276)]()>=0x0?_0x30ee3e[_0x21e0ad(0x276)]()+0x1:0x0,_0x406ff2=_0x30ee3e[_0x21e0ad(0xc9)]()>=0x0?_0x30ee3e[_0x21e0ad(0xc9)]()+0x1:0x0;for(let _0x12b971=0x0;_0x12b971<_0x406ff2;_0x12b971++)for(let _0xa738f4=0x0;_0xa738f4<_0xd2bfdb;_0xa738f4++){const _0x17d473={...(_0x3d9400=(_0x255587=_0x30ee3e[_0x21e0ad(0x10e)])==null?void 0x0:_0x255587[_0x12b971])==null?void 0x0:_0x3d9400[_0xa738f4]},_0x4e14aa=(_0x11f8f1=_0x10f594[_0x12b971])==null?void 0x0:_0x11f8f1[_0x21e0ad(0x17c)],_0x399c97=_0x56cd74[_0x4e14aa];_0x17d473&&(_0x17d473['v']=vt(_0x17d473,_0x12b971===0x0&&((_0x3568a1=_0x30ee3e[_0x21e0ad(0x2c2)](_0xa738f4+0x1))==null?void 0x0:_0x3568a1['isValue']),_0x399c97,_0x4c112a)),_0x58100e[_0x21e0ad(0x95)](_0x12b971+_0x1921c3,_0xa738f4+_0x1ab7d7,ot(_0x17d473));}_0x1921c3+=_0x5d30b2;const _0x4ef116=_0x12fad4[_0x21e0ad(0x25c)],_0x591acf=_0x12fad4[_0x21e0ad(0x276)]()>=0x0?_0x12fad4[_0x21e0ad(0x276)]()+0x1:0x0,_0x2b554f=_0x12fad4[_0x21e0ad(0xc9)]()>=0x0?_0x12fad4[_0x21e0ad(0xc9)]()+0x1:0x0;for(let _0x17059b=0x0;_0x17059b<_0x591acf;_0x17059b++)for(let _0x4b32af=0x0;_0x4b32af<_0x2b554f;_0x4b32af++){const _0x8d0140={...(_0x36d09b=(_0x4a0076=_0x12fad4[_0x21e0ad(0x10e)])==null?void 0x0:_0x4a0076[_0x17059b])==null?void 0x0:_0x36d09b[_0x4b32af]},_0x12323f=(_0x3f9e1c=_0x4ef116[_0x4b32af])==null?void 0x0:_0x3f9e1c[_0x21e0ad(0x17c)],_0x673e29=_0x56cd74[_0x12323f];_0x8d0140&&(_0x8d0140['v']=vt(_0x8d0140,!0x1,_0x673e29,_0x4c112a)),_0x58100e[_0x21e0ad(0x95)](_0x17059b+_0x1921c3,_0x4b32af+_0x16afde,ot(_0x8d0140));}const _0x4dfb0f=_0x450f7b['getRowCount'](),_0x3718ef=_0x450f7b[_0x21e0ad(0x159)]();for(let _0x2dd296=0x0;_0x2dd296<_0x4dfb0f;_0x2dd296++)for(let _0x148cc9=0x0;_0x148cc9<_0x3718ef;_0x148cc9++){const _0x1d348a={...(_0x120f42=(_0x1b7739=_0x450f7b[_0x21e0ad(0x10e)])==null?void 0x0:_0x1b7739[_0x2dd296])==null?void 0x0:_0x120f42[_0x148cc9]};_0x58100e[_0x21e0ad(0x95)](_0x2dd296+_0x1921c3,_0x148cc9+_0x1ab7d7,ot(_0x1d348a));}return _0x58100e;},Ui=_0x2e10b6=>{const _0x573fb2=_0x5f289e,{view:_0x33e3f0,targetCellInfo:_0x4a762,isEmpty:_0x5b5a43,textInfo:_0x4880d8}=_0x2e10b6;if(_0x5b5a43)return Ni(_0x2e10b6);const {pageView:_0x1b5167,cornerView:_0x4e2fff,rowView:_0xf2a41f,colView:_0xd368d7,dataView:_0x4e6806}=_0x33e3f0,_0x234585=ge(_0x4a762,_0x1b5167,!0x0),_0x244c6c=_0x1b5167[_0x573fb2(0x15a)]>=0x0?_0x1b5167['lastRow']+0x1:0x0,_0x13f31a=_0x4e2fff[_0x573fb2(0x23a)](),_0x4c7837=_0x4e2fff[_0x573fb2(0x159)](),_0xd2e862=_0x234585[_0x573fb2(0x294)]>0x0?mt:0x0,_0x1fd40e=ge({'row':_0x4a762[_0x573fb2(0x1e1)]+_0x244c6c+_0xd2e862,'col':_0x4a762[_0x573fb2(0x1de)]},_0x4e2fff,!0x1,!0x1),_0x4b078f=ge({'row':_0x4a762[_0x573fb2(0x1e1)]+_0x244c6c+_0xd2e862+_0x13f31a,'col':_0x4a762['col']},_0xf2a41f,!0x1,!0x0),_0x434138=ge({'row':_0x4a762[_0x573fb2(0x1e1)]+_0x244c6c+_0xd2e862,'col':_0x4a762[_0x573fb2(0x1de)]+_0x4c7837},_0xd368d7,!0x1,!0x0),_0x340380=ge({'row':_0x4a762[_0x573fb2(0x1e1)]+_0x244c6c+_0xd2e862+_0x13f31a,'col':_0x4a762[_0x573fb2(0x1de)]+_0x4c7837},_0x4e6806,!0x1,!0x1),_0x196879={'rowRanges':_0x4b078f,'colRanges':_0x434138,'cornerRanges':_0x1fd40e,'dataRanges':_0x340380,'pageRanges':_0x234585};return{'matrix':xi(_0x33e3f0,_0x4a762,_0x4880d8),'rangesCache':_0x196879};};var Vi=Object[_0x5f289e(0xaf)],Ei=(_0x23ff14,_0x4913e2,_0x291793,_0x4e68a3)=>{const _0xe84958=_0x5f289e;for(var _0xf2944a=_0x4e68a3>0x1?void 0x0:_0x4e68a3?Vi(_0x4913e2,_0x291793):_0x4913e2,_0x4262b3=_0x23ff14[_0xe84958(0x294)]-0x1,_0x28fed4;_0x4262b3>=0x0;_0x4262b3--)(_0x28fed4=_0x23ff14[_0x4262b3])&&(_0xf2944a=_0x28fed4(_0xf2944a)||_0xf2944a);return _0xf2944a;},nt=(_0x2a1a8e,_0x4a9a6f)=>(_0x13e2f4,_0x41a455)=>_0x4a9a6f(_0x13e2f4,_0x41a455,_0x2a1a8e);let J=class extends _0x4882c1{constructor(_0x5382ce,_0xb2d27a,_0x3683af,_0x79563c,_0x56f954){const _0x105c7e=_0x5f289e;super(),x(this,_0x105c7e(0x218),new Map()),x(this,_0x105c7e(0x156),new Map()),x(this,'_viewData',new Map()),x(this,'_textInfo'),x(this,'_collectionChange$',new _0x2130f6()),x(this,_0x105c7e(0x219),this[_0x105c7e(0x165)]['asObservable']()),x(this,_0x105c7e(0x1ce),new _0x2130f6()),x(this,_0x105c7e(0x2c4),this[_0x105c7e(0x1ce)][_0x105c7e(0x2d3)]()),x(this,_0x105c7e(0x24a),new _0x2130f6()),x(this,_0x105c7e(0x263),this[_0x105c7e(0x24a)][_0x105c7e(0x2d3)]()),x(this,_0x105c7e(0x129),new Map()),x(this,'needSameDeleteModel',[]),x(this,_0x105c7e(0x184),new Map()),(this[_0x105c7e(0x304)]=_0x5382ce,this['_univerInstanceService']=_0xb2d27a,this[_0x105c7e(0x212)]=_0x3683af,this['_commandService']=_0x79563c,this[_0x105c7e(0x2ce)]=_0x56f954,this['_initSnapshot']());}[_0x5f289e(0xb7)](){const _0x1aea5b=_0x5f289e;return this[_0x1aea5b(0x19b)]?this['_textInfo']:Mi;}[_0x5f289e(0x2b7)](_0x2d1fbd){this['_textInfo']=_0x2d1fbd;}['handleMoveRange'](_0x1b7249){const _0x6199d0=_0x5f289e;var _0x273874;const {from:_0x365d9f,to:_0x270a37,unitId:_0x149ba9,fromRange:_0x28a237,toRange:_0x68c4c6}=_0x1b7249;if(_0x365d9f&&_0x270a37){const _0x909118=this[_0x6199d0(0x13d)](_0x149ba9),_0x2cf317=this[_0x6199d0(0x218)][_0x6199d0(0x107)](_0x149ba9),_0x39b56e=(_0x273874=this['_univerInstanceService'][_0x6199d0(0xd8)](_0x149ba9))==null?void 0x0:_0x273874[_0x6199d0(0x312)](_0x270a37['subUnitId']);if(!_0x2cf317||!_0x39b56e)return;const _0x19cc82=_0x39b56e==null?void 0x0:_0x39b56e[_0x6199d0(0x127)]();for(const [_0x46c404,_0x5d38e1]of _0x2cf317[_0x6199d0(0x116)]())for(const [_0x33889d,_0x3ecd89]of _0x5d38e1['entries']()){const {sourceRangeInfo:_0x4460f2}=_0x3ecd89;if(_0x4460f2[_0x6199d0(0x2e0)]===_0x149ba9&&_0x4460f2[_0x6199d0(0x14d)]===_0x365d9f[_0x6199d0(0x14d)]&&_0x14db58['contains'](_0x28a237,_0x4460f2['range'])){const _0x11bce3={'row':_0x4460f2[_0x6199d0(0x1f4)]['startRow']-_0x28a237[_0x6199d0(0xd5)],'col':_0x4460f2[_0x6199d0(0x1f4)][_0x6199d0(0x237)]-_0x28a237[_0x6199d0(0x237)]},_0x482703={'unitId':_0x149ba9,'subUnitId':_0x270a37[_0x6199d0(0x14d)],'sheetName':_0x19cc82,'range':{'startRow':_0x68c4c6[_0x6199d0(0xd5)]+_0x11bce3['row'],'endRow':_0x68c4c6['startRow']+_0x11bce3[_0x6199d0(0x1e1)]+_0x4460f2[_0x6199d0(0x1f4)][_0x6199d0(0xfc)]-_0x4460f2[_0x6199d0(0x1f4)][_0x6199d0(0xd5)],'startColumn':_0x68c4c6['startColumn']+_0x11bce3['col'],'endColumn':_0x68c4c6[_0x6199d0(0x237)]+_0x11bce3['col']+_0x4460f2['range']['endColumn']-_0x4460f2['range'][_0x6199d0(0x237)]}};_0x909118[_0x6199d0(0x26d)](_0x33889d,_0x482703);const _0x41d0fc={..._0x3ecd89,'sourceRangeInfo':_0x482703};this[_0x6199d0(0x2e9)](_0x149ba9,_0x270a37[_0x6199d0(0x14d)],_0x33889d,_0x41d0fc),this[_0x6199d0(0x2a2)]({'unitId':_0x149ba9,'token':_0x33889d,'type':Le[_0x6199d0(0x249)],'oldSourceRangeInfo':_0x4460f2,'dataRangeInfo':_0x482703,'targetCellInfo':_0x3ecd89[_0x6199d0(0x1f7)]}),this['updateConfig']({'unitId':_0x149ba9,'subUnitId':_0x270a37[_0x6199d0(0x14d)],'oldSubUnitId':_0x46c404,'pivotTableId':_0x33889d,'pivotTableConfig':_0x41d0fc,'collectionConfig':_0x909118[_0x6199d0(0xde)]()});}}}}[_0x5f289e(0x2a2)](_0x374443){const _0x5699ae=_0x5f289e;this[_0x5699ae(0x165)][_0x5699ae(0xb9)](_0x374443);}[_0x5f289e(0x13d)](_0xf7b034){const _0x46d9ff=_0x5f289e;let _0x11da03=this[_0x46d9ff(0x129)]['get'](_0xf7b034);return _0x11da03||(_0x11da03=new Di(this,this[_0x46d9ff(0xa4)]),this[_0x46d9ff(0x129)]['set'](_0xf7b034,_0x11da03)),_0x11da03;}['getCollection'](_0x2dc967,_0x460471){const _0x489633=_0x5f289e;return this[_0x489633(0x13d)](_0x2dc967)['collections'][_0x460471];}[_0x5f289e(0x150)](_0x395074,_0x177040,_0x1a8189){return this['getDataFieldManager'](_0x395074)['getUpdateRangeDeleteIds'](_0x177040,_0x1a8189);}[_0x5f289e(0x181)](_0x16c501,_0x2f16c0){const _0x1dd13f=_0x5f289e;let _0x374026=this[_0x1dd13f(0x218)][_0x1dd13f(0x107)](_0x16c501);_0x374026||(_0x374026=new Map(),this['_model']['set'](_0x16c501,_0x374026));let _0x46bda0=_0x374026[_0x1dd13f(0x107)](_0x2f16c0);return _0x46bda0||(_0x46bda0=new Map(),_0x374026['set'](_0x2f16c0,_0x46bda0)),_0x46bda0;}[_0x5f289e(0x2e9)](_0x51fe7d,_0x2b9047,_0x4e9437,_0x3ce494){this['_ensurePivotMap'](_0x51fe7d,_0x2b9047)['set'](_0x4e9437,_0x3ce494);}[_0x5f289e(0x1ee)](_0x50fa7c,_0x4984ea,_0x321b56){const _0x2fcc68=_0x5f289e;var _0x415c93,_0x4b3217,_0x1245b8,_0x25743a;((_0x4b3217=(_0x415c93=this['_model'][_0x2fcc68(0x107)](_0x50fa7c))==null?void 0x0:_0x415c93[_0x2fcc68(0x107)](_0x4984ea))==null?void 0x0:_0x4b3217[_0x2fcc68(0x107)](_0x321b56))&&((_0x25743a=(_0x1245b8=this[_0x2fcc68(0x218)][_0x2fcc68(0x107)](_0x50fa7c))==null?void 0x0:_0x1245b8['get'](_0x4984ea))==null||_0x25743a['delete'](_0x321b56));}[_0x5f289e(0x255)](_0x3f6d89,_0x617f8b){const _0x4b88a2=_0x5f289e;this['_pivotTableInstanceCache'][_0x4b88a2(0x110)](_0x3f6d89,_0x617f8b);}[_0x5f289e(0x27c)](_0x233f04){this['_pivotTableInstanceCache']['delete'](_0x233f04);}[_0x5f289e(0x120)](_0x5199a7,_0x16db2d){const _0x480130=_0x5f289e;let _0x2d68e1=this[_0x480130(0x172)][_0x480130(0x107)](_0x5199a7);_0x2d68e1||(_0x2d68e1=new Map(),this[_0x480130(0x172)]['set'](_0x5199a7,_0x2d68e1));let _0x292d51=_0x2d68e1[_0x480130(0x107)](_0x16db2d);return _0x292d51||(_0x292d51=new Map(),_0x2d68e1['set'](_0x16db2d,_0x292d51)),_0x292d51;}[_0x5f289e(0x105)](_0x4d2eae){const _0x173ed9=_0x5f289e,{unitId:_0x49b8db,subUnitId:_0x8ef437,pivotTableId:_0x450c1c,pivotTableConfig:_0x252788,collectionConfig:_0x1e6d0b}=_0x4d2eae,_0x54ac83={'unitId':_0x49b8db,'subUnitId':_0x8ef437,'oldSubUnitId':_0x8ef437,'pivotTableId':_0x450c1c,'pivotTableConfig':_0x252788,'collectionConfig':_0x1e6d0b};this[_0x173ed9(0x27f)][_0x173ed9(0xa0)](co['id'],_0x54ac83,{'onlyLocal':!0x0});}[_0x5f289e(0xfe)](_0x14ba7d,_0x57a782,_0x37d862,_0x57106d,_0x217d5a,_0x297c73,_0x5415a2,_0x165cd2=!0x1){const _0x267b65=_0x5f289e;var _0x46782a;this[_0x267b65(0x27f)][_0x267b65(0xa0)](Dt['id'],{'single':{'unitId':_0x14ba7d,'subUnitId':_0x57a782,'type':_0x37d862,'pivotTableId':_0x57106d,'view':_0x217d5a,'pivotConfig':_0x297c73},'collectionConfig':{[_0x14ba7d]:_0x5415a2}},{'onlyLocal':!0x0});const _0x21b63c=!!((_0x46782a=this[_0x267b65(0x23e)](_0x57106d))!=null&&_0x46782a[_0x267b65(0x16b)]()),_0x1b5fdc=this[_0x267b65(0x9e)](_0x14ba7d,_0x57a782,_0x57106d);_0x1b5fdc&&this[_0x267b65(0xf1)]({'view':_0x217d5a,'pivotTableId':_0x57106d,'textInfo':this[_0x267b65(0xb7)](),'isEmpty':_0x21b63c,'targetCellInfo':_0x1b5fdc['targetCellInfo']},_0x165cd2);}[_0x5f289e(0xf1)](_0x41f95d,_0x2d80a0){const _0x43e679=_0x5f289e,{targetCellInfo:_0x5689b7,pivotTableId:_0x995a12}=_0x41f95d,{unitId:_0x2dde6b,subUnitId:_0x5e6b00}=_0x5689b7,_0x3e0076=this[_0x43e679(0x120)](_0x2dde6b,_0x5e6b00),_0x1f25aa=_0x3e0076[_0x43e679(0x107)](_0x995a12);let _0x59523a,_0x5ac987;_0x1f25aa&&(_0x59523a=_0x1f25aa[_0x43e679(0x19e)],_0x5ac987=_0x1f25aa[_0x43e679(0x12a)]);const {rangesCache:_0x5cb9c7,matrix:_0x1b13d4}=Ui(_0x41f95d);_0x3e0076[_0x43e679(0x110)](_0x995a12,{'rangeCache':_0x5cb9c7,'matrix':_0x1b13d4,'oldMatrix':_0x5ac987,'oldRangeCache':_0x59523a}),_0x2d80a0||this['_viewData$'][_0x43e679(0xb9)]({'unitId':_0x2dde6b,'subUnitId':_0x5e6b00,'pivotTableId':_0x995a12});}[_0x5f289e(0x1b0)](_0x56d26a,_0x4a2461,_0x37a994,_0x58a7db,_0x546196){const _0x5b5d1b=_0x5f289e;this[_0x5b5d1b(0x2e9)](_0x56d26a,_0x4a2461,_0x37a994,_0x546196),this['_updatePivotTableInstanceCache'](_0x37a994,_0x58a7db);}[_0x5f289e(0x1c8)](_0x3fcb9a,_0x17d22c,_0x3adbcb){const _0x5c8980=_0x5f289e,_0x4728fb=this[_0x5c8980(0x13d)](_0x3fcb9a);_0x4728fb['getNoUsedDataFieldIds'](_0x3adbcb)['forEach'](_0x53aa24=>{const _0x1ee29a=_0x5c8980;_0x4728fb[_0x1ee29a(0xc5)](_0x53aa24);}),this[_0x5c8980(0x1a9)](_0x3fcb9a,_0x3adbcb),this['_deleteModelCache'](_0x3fcb9a,_0x17d22c,_0x3adbcb),this[_0x5c8980(0x27c)](_0x3adbcb);}[_0x5f289e(0x113)](_0x3fe33f,_0x451bc1,_0x3e8970,_0x4fc6f3){const _0x3588a4=_0x5f289e;this[_0x3588a4(0x2e9)](_0x3fe33f,_0x451bc1,_0x3e8970,_0x4fc6f3);}[_0x5f289e(0x9e)](_0x2a793e,_0x310e46,_0x215086){const _0x469324=_0x5f289e;var _0x3efcbf,_0x130872;const _0x38e4af=(_0x130872=(_0x3efcbf=this[_0x469324(0x218)][_0x469324(0x107)](_0x2a793e))==null?void 0x0:_0x3efcbf[_0x469324(0x107)](_0x310e46))==null?void 0x0:_0x130872['get'](_0x215086);if(_0x38e4af)return _0x38e4af;}['getPivotTableModelConfig'](_0x6ad130,_0x38b8dc,_0x4fb574){const _0x2326f8=_0x5f289e;var _0x397c8a,_0x4fbdf7;const _0x30b3aa=(_0x4fbdf7=(_0x397c8a=this[_0x2326f8(0x218)]['get'](_0x6ad130))==null?void 0x0:_0x397c8a['get'](_0x38b8dc))==null?void 0x0:_0x4fbdf7[_0x2326f8(0x107)](_0x4fb574);if(_0x30b3aa)return _0x30b3aa[_0x2326f8(0x2ff)];}[_0x5f289e(0x23e)](_0xbb2735){const _0x344534=_0x5f289e;return this[_0x344534(0x156)]['get'](_0xbb2735);}[_0x5f289e(0x149)](_0x2b7870){const _0x3877dd=_0x5f289e;this[_0x3877dd(0x218)][_0x3877dd(0x2e6)](_0x2b7870);const _0x5c7326=this[_0x3877dd(0x129)]['get'](_0x2b7870);_0x5c7326&&(_0x5c7326[_0x3877dd(0x245)](),this['_dataFieldManagerCollection']['delete'](_0x2b7870)),this['_viewData'][_0x3877dd(0x2e6)](_0x2b7870),this[_0x3877dd(0x316)]['forEach'](_0x26093c=>{const _0x1c0e37=_0x3877dd;_0x26093c[_0x1c0e37(0x149)](_0x2b7870);});}['addCollectionByJSON'](_0x1764f6,_0x4025f0,_0x6e555a,_0x2579c8){const _0x17128f=_0x5f289e;return this['getDataFieldManager'](_0x6e555a[_0x17128f(0x2e0)])[_0x17128f(0x146)](_0x1764f6,_0x4025f0,_0x6e555a,_0x2579c8);}[_0x5f289e(0x253)](_0xc732d9){const _0x3c7d6f=_0x5f289e;return this[_0x3c7d6f(0x13d)](_0xc732d9[_0x3c7d6f(0x2e0)])[_0x3c7d6f(0x253)](_0xc732d9);}[_0x5f289e(0x143)](_0x214fd7,_0x2d880b,_0x3da1c7){const _0x22de37=_0x5f289e;this[_0x22de37(0x13d)](_0x3da1c7[_0x22de37(0x2e0)])[_0x22de37(0x143)](_0x214fd7,_0x2d880b,_0x3da1c7);}[_0x5f289e(0x189)](_0x5ef96b,_0x493fef){const _0x3490ef=_0x5f289e;this[_0x3490ef(0x13d)](_0x5ef96b)['deleteDataField'](_0x493fef);}[_0x5f289e(0x1a9)](_0x45a798,_0x7a103e){const _0x3254b5=_0x5f289e;this[_0x3254b5(0x13d)](_0x45a798)[_0x3254b5(0x242)](_0x7a103e);}[_0x5f289e(0x98)](_0x1c670e,_0x2215fe){const _0x2d8964=_0x5f289e;var _0x1ae073;return(_0x1ae073=this[_0x2d8964(0x218)]['get'](_0x1c670e))==null?void 0x0:_0x1ae073[_0x2d8964(0x107)](_0x2215fe);}[_0x5f289e(0xe1)](_0x258044){const _0x8991d8=_0x5f289e;for(const [_0x3c37a7,_0xe878b]of this['_model'][_0x8991d8(0x116)]())for(const [_0x3c23a7,_0x9cb843]of _0xe878b[_0x8991d8(0x116)]())if(_0x9cb843['has'](_0x258044))return{'unitId':_0x3c37a7,'subUnitId':_0x3c23a7};return null;}[_0x5f289e(0x272)](_0x2223ce,_0x4688a1,_0x4a29eb,_0x48003e){const _0x1a20b8=_0x5f289e,_0x1d8794=this[_0x1a20b8(0x120)](_0x2223ce,_0x4688a1);_0x48003e?_0x1d8794[_0x1a20b8(0x110)](_0x4a29eb,_0x48003e):_0x1d8794[_0x1a20b8(0x2e6)](_0x4a29eb),this[_0x1a20b8(0x1ce)][_0x1a20b8(0xb9)]({'unitId':_0x2223ce,'subUnitId':_0x4688a1,'pivotTableId':_0x4a29eb});}['dispose'](){const _0xa828c5=_0x5f289e;super[_0xa828c5(0x245)]();}[_0x5f289e(0x2d4)](_0x48a785,_0x15e138,_0x14ccf1){const _0xf9aa02=_0x5f289e;var _0x1c0c70,_0x3eccb3;const _0x48039a=(_0x3eccb3=(_0x1c0c70=this[_0xf9aa02(0x172)]['get'](_0x48a785))==null?void 0x0:_0x1c0c70[_0xf9aa02(0x107)](_0x15e138))==null?void 0x0:_0x3eccb3[_0xf9aa02(0x107)](_0x14ccf1);return _0x48039a||null;}[_0x5f289e(0x152)](_0x3d3923){const _0x24ad04=_0x5f289e;this[_0x24ad04(0x135)](_0x3d3923);}[_0x5f289e(0x135)](_0x10359b){const _0x50e451=_0x5f289e,{token:_0x27afce,unitId:_0x3e3aef,subUnitId:_0x13d145}=_0x10359b,_0x1804de=_0x3e3aef+'-'+_0x13d145+'-'+_0x27afce;this[_0x50e451(0x184)][_0x50e451(0x107)](_0x1804de)&&clearTimeout(this[_0x50e451(0x184)][_0x50e451(0x107)](_0x1804de));const _0x3780c3=setTimeout(()=>{const _0xaf7440=_0x50e451;this[_0xaf7440(0x1a6)](_0x10359b),this['_queryingMap'][_0xaf7440(0x2e6)](_0x1804de);},Ti);this[_0x50e451(0x184)][_0x50e451(0x110)](_0x1804de,_0x3780c3);}['queryDirtyPivotTable'](_0x2b1f8f){const _0x69fe2f=_0x5f289e,{unitId:_0x27fda3,subUnitId:_0xea9d9a,token:_0x2ad189,type:_0x3a5bd0,pivotConfig:_0x4e787c}=_0x2b1f8f,_0x2051a6=this[_0x69fe2f(0x23e)](_0x2ad189),_0x213b41=_0x2051a6==null?void 0x0:_0x2051a6[_0x69fe2f(0x223)](),_0x38a4d2=_0x4e787c!=null?_0x4e787c:this['getPivotTableConfig'](_0x27fda3,_0xea9d9a,_0x2ad189);_0x38a4d2&&(_0x38a4d2[_0x69fe2f(0x16b)]=!!(_0x2051a6!=null&&_0x2051a6[_0x69fe2f(0x16b)]())),(_0x213b41||_0x3a5bd0===B[_0x69fe2f(0x28b)])&&this[_0x69fe2f(0xfe)](_0x27fda3,_0xea9d9a,_0x3a5bd0,_0x2ad189,_0x213b41,_0x38a4d2,this[_0x69fe2f(0x13d)](_0x27fda3)[_0x69fe2f(0xde)]());}[_0x5f289e(0xde)](_0x200984){const _0x2caadc=_0x5f289e,_0x4e6b6b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2caadc(0x13d)](_0x200984)&&(_0x4e6b6b[_0x2caadc(0x2a7)][_0x200984]=this[_0x2caadc(0x13d)](_0x200984)[_0x2caadc(0xde)]()),this[_0x2caadc(0x218)][_0x2caadc(0x107)](_0x200984)){_0x4e6b6b[_0x2caadc(0x10c)][_0x200984]={};const _0x3a88e6=this[_0x2caadc(0x218)][_0x2caadc(0x107)](_0x200984);_0x3a88e6!=null&&_0x3a88e6[_0x2caadc(0x25a)]&&[..._0x3a88e6[_0x2caadc(0x1d6)]()][_0x2caadc(0x13f)](_0x148645=>{const _0x1a3927=_0x2caadc,_0x96c3d0=_0x3a88e6[_0x1a3927(0x107)](_0x148645);_0x96c3d0!=null&&_0x96c3d0['size']&&(_0x4e6b6b['pivotTableConfigs'][_0x200984][_0x148645]={},[..._0x96c3d0[_0x1a3927(0x1d6)]()][_0x1a3927(0x13f)](_0x288bcc=>{const _0x8e5e54=_0x1a3927,_0x4d5036=_0x96c3d0[_0x8e5e54(0x107)](_0x288bcc);_0x4d5036&&(_0x4e6b6b[_0x8e5e54(0x10c)][_0x200984][_0x148645][_0x288bcc]=_0x4d5036);}));});}return _0x4e6b6b;}[_0x5f289e(0x1dd)](_0x37d9f3){const _0x3631b7=_0x5f289e;var _0x2886c3;const {dataFieldManagerConfig:_0x32a18e,pivotTableConfigs:_0x109008}=_0x37d9f3;_0x32a18e&&Object[_0x3631b7(0x1d6)](_0x32a18e)['forEach'](_0x18875e=>{const _0x385cee=_0x3631b7;this['getDataFieldManager'](_0x18875e)[_0x385cee(0x1dd)](_0x32a18e[_0x18875e]);});const _0x4d8070=[];if(_0x109008){const _0xc09394=(_0x2886c3=this[_0x3631b7(0x304)]['get'](_0x3c4550)[_0x3631b7(0x1d2)](_0x5b5fe1))!=null?_0x2886c3:{},{ls:_0xe53a8,pbk:_0x2fcb72}=_0xc09394,_0x5d6cc5=go(so,_0xe53a8,_0x2fcb72)['count'];Object[_0x3631b7(0x1d6)](_0x109008)['forEach'](_0xea10c5=>{const _0x3d5f75=_0x3631b7;let _0x327700=0x0;const _0x5be2a2=_0x109008[_0xea10c5];Object[_0x3d5f75(0x1d6)](_0x5be2a2)[_0x3d5f75(0x13f)](_0x3d857f=>{const _0x94a539=_0x3d5f75,_0x238dc3=_0x5be2a2[_0x3d857f];Object[_0x94a539(0x1d6)](_0x238dc3)[_0x94a539(0x13f)](_0x1c472e=>{const _0x4c15e8=_0x94a539,_0x51a611=_0x238dc3[_0x1c472e];if(_0x51a611){if(_0x327700>=_0x5d6cc5)return;_0x327700++;const _0x17b27e=this['getDataFieldManager'](_0xea10c5),_0x3ba82f=_0x17b27e['collections'][_0x1c472e],_0x29cd13=_0x3ba82f[_0x4c15e8(0x1d0)]();let _0x1e37c6=0x0;const _0x4823ba=[];for(const _0x43b2c7 of _0x29cd13){const _0x16ac57=_0x3ba82f['getFieldById'](_0x43b2c7);if(_0x5092ae(_0x16ac57)){const _0x487e68=_0x16ac57[_0x4c15e8(0x2aa)](),_0x36b6b6=_0x3ba82f[_0x4c15e8(0x2b0)](_0x487e68);_0x36b6b6&&_0x4823ba[_0x4c15e8(0x288)]([_0x16ac57,_0x36b6b6]);continue;}_0x17b27e['refreshDataField'](_0x43b2c7,_0x51a611[_0x4c15e8(0x305)],_0x1e37c6),_0x1e37c6++;}_0x4823ba['forEach'](([_0x2996fe,_0xac08a7])=>{const _0x15d8b9=_0x4c15e8;_0x2996fe[_0x15d8b9(0x136)](_0xac08a7);});const _0x35bdf5=new _0x5257d7(_0x3ba82f);_0x35bdf5[_0x4c15e8(0x1dd)](_0x51a611[_0x4c15e8(0x2ff)]),this['addPivotTable'](_0xea10c5,_0x3d857f,_0x1c472e,_0x35bdf5,_0x51a611);const _0x55f661=_0x35bdf5['query']();_0x4d8070['push']({'unitId':_0xea10c5,'subUnitId':_0x3d857f,'pivotTableId':_0x1c472e,'view':_0x55f661[_0x4c15e8(0xde)](),'pivotConfig':_0x51a611,'type':B[_0x4c15e8(0x188)]});const _0x2db0be=!!_0x35bdf5[_0x4c15e8(0x16b)](),_0x3de8b6={'view':_0x55f661,'pivotTableId':_0x1c472e,'textInfo':this[_0x4c15e8(0xb7)](),'isEmpty':_0x2db0be,'targetCellInfo':_0x51a611[_0x4c15e8(0x1f7)]};this[_0x4c15e8(0xf1)](_0x3de8b6,!0x1);}});});});}_0x32a18e&&Object[_0x3631b7(0x1d6)](_0x32a18e)['forEach'](_0x227efb=>{const _0x380849=_0x3631b7,_0x29dbcf=this['getDataFieldManager'](_0x227efb);this['_fieldsCollectionChange$'][_0x380849(0xb9)](_0x29dbcf[_0x380849(0x10d)]);}),this[_0x3631b7(0x27f)][_0x3631b7(0xa0)](Dt['id'],{'batch':_0x4d8070,'collectionConfig':_0x32a18e},{'onlyLocal':!0x0});}[_0x5f289e(0x22f)](){const _0x34d03e=_0x5f289e;this[_0x34d03e(0x266)](this['_resourceManagerService'][_0x34d03e(0x1b8)]({'toJson':_0x2e243e=>JSON[_0x34d03e(0x12b)](this[_0x34d03e(0xde)](_0x2e243e)),'parseJson':_0x1228fc=>{const _0x3c7b37=_0x34d03e;if(!_0x1228fc)return{};try{return JSON[_0x3c7b37(0x21b)](_0x1228fc);}catch{return{};}},'businesses':[_0x5c1aae[_0x34d03e(0x20e)]],'pluginName':ao,'onLoad':(_0x201f7d,_0x18e150)=>{const _0xb601c4=_0x34d03e;this[_0xb601c4(0x1dd)](_0x18e150);},'onUnLoad':_0x477ea2=>{const _0xa9361f=_0x34d03e;this[_0xa9361f(0x149)](_0x477ea2);}}));}};function _0xa9aa(_0x5b28b3,_0x5b5780){const _0x514b41=_0x514b();return _0xa9aa=function(_0xa9aa7a,_0x81c2aa){_0xa9aa7a=_0xa9aa7a-0x94;let _0x9c1798=_0x514b41[_0xa9aa7a];return _0x9c1798;},_0xa9aa(_0x5b28b3,_0x5b5780);}J=Ei([nt(0x0,_0x425448(_0x559951)),nt(0x1,_0x412edb),nt(0x2,_0x425448(_0x59d13a)),nt(0x3,_0x1db6fa),nt(0x4,_0x425448(_0x7180c1))],J);const Oi={0x0:{0x0:{'v':_0x5f289e(0x24b),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x5f289e(0x203),'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':_0x5f289e(0x1e1),'s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':_0x5f289e(0x1a3),'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':[]},Wo=(_0x4fe5a4,_0x3c1184)=>{const _0x1b1717=_0x5f289e,_0x206964=new _0x2cf1b4(),_0x2c71bd=new _0x2cf1b4(Oi),{row:_0x21dd16,col:_0x14d89e}=_0x3c1184;_0x2c71bd[_0x1b1717(0x2bb)]((_0x57c58d,_0x5d4585,_0x4d4558)=>{const _0x35d67e=_0x1b1717;let _0x313cbd='';_0x4d4558['v']===_0x35d67e(0x24b)?_0x313cbd=_0x4fe5a4[_0x35d67e(0x24b)]:_0x4d4558['v']===_0x35d67e(0x1e1)?_0x313cbd=_0x4fe5a4[_0x35d67e(0x1e1)]:_0x4d4558['v']===_0x35d67e(0x203)?_0x313cbd=_0x4fe5a4[_0x35d67e(0x203)]:_0x4d4558['v']===_0x35d67e(0x1a3)&&(_0x313cbd=_0x4fe5a4[_0x35d67e(0x1a3)]),_0x206964['setValue'](_0x57c58d+_0x21dd16,_0x5d4585+_0x14d89e,{..._0x4d4558,'v':_0x313cbd});});const _0x3139ad=_0x52fc9f[_0x1b1717(0xd6)](Lt);return Object[_0x1b1717(0x1d6)](Lt)[_0x1b1717(0x13f)](_0x4c42db=>{const _0x529233=_0x1b1717;_0x3139ad[_0x4c42db]=Lt[_0x4c42db][_0x529233(0x14c)](_0x587ecb=>({..._0x587ecb,'startRow':_0x587ecb[_0x529233(0xd5)]+_0x21dd16,'endRow':_0x587ecb['endRow']+_0x21dd16,'startColumn':_0x587ecb[_0x529233(0x237)]+_0x14d89e,'endColumn':_0x587ecb['endColumn']+_0x14d89e}));}),{'matrixCache':_0x206964,'rangesCache':_0x3139ad};};function Ai(_0x41ae6a,_0x16000c){const _0x11c37a=_0x5f289e;let _0x5dd3b5='';const _0x45c826=this[_0x11c37a(0xb7)]();switch(_0x16000c){case _0x5c74c6[_0x11c37a(0x1d5)]:_0x5dd3b5=_0x45c826['sheets-pivot.averageName']+_0x41ae6a;break;case _0x5c74c6['count']:_0x5dd3b5=_0x45c826[_0x11c37a(0x1bb)]+_0x41ae6a;break;case _0x5c74c6['countNums']:_0x5dd3b5=_0x45c826[_0x11c37a(0x2d5)]+_0x41ae6a;break;case _0x5c74c6[_0x11c37a(0x151)]:_0x5dd3b5=_0x45c826[_0x11c37a(0x2dd)]+_0x41ae6a;break;case _0x5c74c6[_0x11c37a(0x186)]:_0x5dd3b5=_0x45c826[_0x11c37a(0xf8)]+_0x41ae6a;break;case _0x5c74c6['product']:_0x5dd3b5=_0x45c826[_0x11c37a(0x99)]+_0x41ae6a;break;case _0x5c74c6['stdDev']:_0x5dd3b5=_0x45c826[_0x11c37a(0x11b)]+_0x41ae6a;break;case _0x5c74c6[_0x11c37a(0x157)]:_0x5dd3b5=_0x45c826[_0x11c37a(0x108)]+_0x41ae6a;break;case _0x5c74c6[_0x11c37a(0x29b)]:_0x5dd3b5=_0x45c826['sheets-pivot.sumName']+_0x41ae6a;break;case _0x5c74c6['var']:_0x5dd3b5=_0x45c826[_0x11c37a(0x200)]+_0x41ae6a;break;case _0x5c74c6['varp']:_0x5dd3b5=_0x45c826[_0x11c37a(0x24d)]+_0x41ae6a;break;default:_0x5dd3b5=_0x41ae6a;break;}return _0x5dd3b5;}function ki(_0x526cc3,_0x4ebfed,_0x2c4df6,_0x489e06,_0x250a62){const _0xace4dd=_0x5f289e;var _0x5d235e,_0x379950,_0x1dc77c,_0x299acf,_0x3fde08;const _0x1090be=_0x27b91b(_0x526cc3,_0x4ebfed),{rangesInfo:_0x5173a5,areaInfo:_0x5cb4c5,headerMap:_0x1c2a2e}=_0x250a62;if(!_0x5173a5||!_0x5cb4c5||!_0x1c2a2e)return;const _0x509bff=Object['keys'](_0x5173a5)[_0xace4dd(0x246)](_0x519bcc=>_0x5173a5[_0x519bcc][_0xace4dd(0x1aa)](_0x39a252=>_0x14db58[_0xace4dd(0x293)](_0x39a252,_0x1090be))),_0x5752c5=_0x5cb4c5;let _0x146d89,_0x291747,_0xa7196d;if(_0x509bff===_0xace4dd(0x238))_0x146d89=(_0x5d235e=_0x5752c5==null?void 0x0:_0x5752c5[_0xace4dd(0x1ea)])==null?void 0x0:_0x5d235e[_0x526cc3],_0x291747=(_0x379950=_0x1c2a2e==null?void 0x0:_0x1c2a2e[_0xace4dd(0x292)])==null?void 0x0:_0x379950[_0x4ebfed],_0xa7196d=_0x291747==null?void 0x0:_0x291747[_0xace4dd(0x17c)];else{if(_0x509bff==='colRanges')_0x146d89=(_0x1dc77c=_0x5752c5==null?void 0x0:_0x5752c5[_0xace4dd(0x167)])==null?void 0x0:_0x1dc77c[_0x4ebfed],_0x291747=(_0x299acf=_0x1c2a2e[_0xace4dd(0x137)])==null?void 0x0:_0x299acf[_0x526cc3+0x1+_0x4ebfed-_0x5173a5[_0xace4dd(0x119)][0x0][_0xace4dd(0x237)]],_0xa7196d=_0x291747==null?void 0x0:_0x291747[_0xace4dd(0x17c)];else{if(_0x509bff===_0xace4dd(0x229))_0x146d89=(_0x3fde08=_0x5752c5==null?void 0x0:_0x5752c5[_0xace4dd(0x126)])==null?void 0x0:_0x3fde08[_0x4ebfed],_0xa7196d=_0x146d89==null?void 0x0:_0x146d89[_0xace4dd(0x17c)];else{if(_0x509bff==='pageRanges'){const _0x557540=_0x2c4df6==null?void 0x0:_0x2c4df6['fi'];_0x557540!==void 0x0&&(_0xa7196d=_0x489e06[_0xace4dd(0x270)](_0x557540));}}}}return{'filterId':_0xa7196d,'info':_0x146d89,'data':_0x2c4df6,'headerInfo':_0x291747};}function Ki(_0x1fcab7,_0x5d32f1,_0x373087){const _0x539331=_0x5f289e,_0x2cb13a=_0x1fcab7[_0x539331(0x302)],_0x11ca65=_0x2cb13a[_0x539331(0x1d0)](),_0x13e611=new Set();_0x1fcab7[_0x539331(0x16f)](_0x54ed7d=>{const _0x5dba7b=_0x539331;_0x13e611['add'](_0x54ed7d[_0x5dba7b(0x31a)]);});const _0x3f8697=_0x11ca65[_0x539331(0x14c)](_0x19d8ea=>{const _0x3cd620=_0x539331,_0x5462ee=_0x2cb13a[_0x3cd620(0x2b0)](_0x19d8ea);return{'checked':_0x13e611[_0x3cd620(0x21c)](_0x19d8ea),'dataFieldId':_0x5462ee['id'],'id':_0x5462ee['id'],'name':_0x2cb13a[_0x3cd620(0xdd)](_0x5462ee['id']),'type':_0x5462ee['getFieldDataType'](),'pivotTableId':_0x5d32f1};}),_0x451c7d=[];_0x1fcab7['iterateFieldByArea'](_0x31de81[_0x539331(0x2a8)],_0x5c38e1=>{const _0x5504e=_0x539331;_0x451c7d[_0x5504e(0x288)]({'dataFieldId':_0x5c38e1[_0x5504e(0x31a)],'tableFieldId':_0x5c38e1[_0x5504e(0x2f0)](),'displayName':_0x5c38e1[_0x5504e(0xdd)]()});});const _0x3adc84=[];_0x1fcab7[_0x539331(0x2fd)](_0x31de81[_0x539331(0x26e)],_0x28dca1=>{const _0xbc704d=_0x539331;_0x3adc84[_0xbc704d(0x288)]({'dataFieldId':_0x28dca1[_0xbc704d(0x31a)],'tableFieldId':_0x28dca1[_0xbc704d(0x2f0)](),'displayName':_0x28dca1[_0xbc704d(0xdd)]()});});const _0x50e4bb=[];if(_0x1fcab7[_0x539331(0x2fd)](_0x31de81[_0x539331(0x18a)],_0x2eb811=>{const _0x2caf6c=_0x539331;_0x50e4bb[_0x2caf6c(0x288)]({'dataFieldId':_0x2eb811[_0x2caf6c(0x31a)],'tableFieldId':_0x2eb811[_0x2caf6c(0x2f0)](),'displayName':_0x2eb811[_0x2caf6c(0xdd)](),'format':_0x2eb811[_0x2caf6c(0xdf)](),'subTotalType':_0x2eb811[_0x2caf6c(0xfd)]()});}),_0x50e4bb[_0x539331(0x294)]>0x1){const _0x265022=_0x1fcab7[_0x539331(0x2a0)]();(_0x1fcab7[_0x539331(0x31b)]()?_0x3adc84:_0x451c7d)[_0x539331(0x2c9)](_0x265022,0x0,{'dataFieldId':'','tableFieldId':_0x539331(0x2b9),'displayName':_0x539331(0x31c)});}const _0x23b75d=[];_0x1fcab7[_0x539331(0x2fd)](_0x31de81['Filter'],_0xbc179=>{const _0x3fced9=_0x539331;_0x23b75d[_0x3fced9(0x288)]({'dataFieldId':_0xbc179['dataFieldId'],'tableFieldId':_0xbc179[_0x3fced9(0x2f0)](),'displayName':_0xbc179[_0x3fced9(0xdd)]()});});const _0x32a110=_0x373087['sourceRangeInfo'];return{'sourceList':_0x3f8697,'sourceRange':_0x32a110,'rowFields':_0x451c7d,'columnFields':_0x3adc84,'valueFields':_0x50e4bb,'filterFields':_0x23b75d,'positionInfo':_0x373087[_0x539331(0x1f7)]};}function fo(_0x113af7,_0x2010e3,_0x57ae89='',_0x2316b1={}){const _0x48a221=_0x5f289e,_0xe67ca3=_0x113af7['get'](_0x29a017);for(const _0x1ec787 in _0x2010e3)if(Object[_0x48a221(0x175)][_0x48a221(0x252)][_0x48a221(0x19d)](_0x2010e3,_0x1ec787)){const _0x570547=_0x57ae89?_0x57ae89+'.'+_0x1ec787:_0x1ec787;typeof _0x2010e3[_0x1ec787]==_0x48a221(0x1cf)&&_0x2010e3[_0x1ec787]!==null&&!Array[_0x48a221(0x222)](_0x2010e3[_0x1ec787])?fo(_0x113af7,_0x2010e3[_0x1ec787],_0x570547,_0x2316b1):_0x2316b1[_0x570547]=_0xe67ca3['t'](_0x570547);}return _0x2316b1;}const Bt=_0x258314=>{const _0x320a76=_0x5f289e;if(!_0x258314)return[];const {rowRanges:_0x1ae431,colRanges:_0x4cf193,cornerRanges:_0x4741c3,dataRanges:_0x335135,pageRanges:_0x96daae}=_0x258314,_0x448519=[..._0x4cf193,..._0x1ae431,..._0x335135,..._0x4741c3][_0x320a76(0x24b)](_0x45dba7=>_0x45dba7[_0x320a76(0xd5)]>=0x0&&_0x45dba7[_0x320a76(0x237)]>=0x0&&_0x45dba7['endRow']>=0x0&&_0x45dba7[_0x320a76(0x153)]>=0x0);let _0x8266cd=Number['MAX_SAFE_INTEGER'],_0x59d0ff=Number[_0x320a76(0x196)],_0x467651=Number['MAX_SAFE_INTEGER'],_0x595d19=Number[_0x320a76(0x196)];for(let _0x4bd407=0x0;_0x4bd407<_0x448519[_0x320a76(0x294)];_0x4bd407++)_0x8266cd=Math[_0x320a76(0x186)](_0x8266cd,_0x448519[_0x4bd407][_0x320a76(0xd5)]),_0x59d0ff=Math[_0x320a76(0x151)](_0x59d0ff,_0x448519[_0x4bd407][_0x320a76(0xfc)]),_0x467651=Math['min'](_0x467651,_0x448519[_0x4bd407][_0x320a76(0x237)]),_0x595d19=Math[_0x320a76(0x151)](_0x595d19,_0x448519[_0x4bd407]['endColumn']);return[..._0x96daae,{'startRow':_0x8266cd,'endRow':_0x59d0ff,'startColumn':_0x467651,'endColumn':_0x595d19}];};function Li(_0x531f78,_0x2809b7){const _0x3e258a=_0x5f289e,_0x1d542c=_0x2809b7[_0x3e258a(0xcf)][_0x3e258a(0x1f5)],{pivotTableId:_0x46adf8,unitId:_0x43c9cb,subUnitId:_0xedb487}=_0x2809b7;if(!_0x1d542c)return;const _0x30b7a5=_0x531f78[_0x3e258a(0x107)](J),_0x781d39=_0x30b7a5[_0x3e258a(0x23e)](_0x46adf8),_0x3e79ad=_0x30b7a5['getPivotTableConfig'](_0x43c9cb,_0xedb487,_0x46adf8);if(!_0x781d39||!_0x3e79ad)return;const _0x261bfa=_0x781d39[_0x3e258a(0x2be)](_0x1d542c[_0x3e258a(0x1cc)]);if(!(_0x261bfa!=null&&_0x261bfa[_0x3e258a(0x294)]))return;const _0x158494=_0x3e79ad[_0x3e258a(0x305)],{unitId:_0x259194,subUnitId:_0x562cfe,range:_0x1c96ce}=_0x158494;let _0x2758b7=0x0;const _0x577569=_0x781d39['dataFieldsCollection'][_0x3e258a(0x1d0)]()[_0x3e258a(0x17e)]((_0x9bca7a,_0xdc054f)=>{var _0x3bd283;const _0x2e54d4=(_0x3bd283=_0x781d39['getDataFieldByDataFieldId'](_0xdc054f))==null?void 0x0:_0x3bd283['getformat']();return _0x2e54d4&&(_0x9bca7a[String(_0x2758b7)]=_0x2e54d4),_0x2758b7++,_0x9bca7a;},{});return{'indexes':_0x261bfa,'range':_0x1c96ce,'sourceUnitId':_0x259194,'sourceSubUnitId':_0x562cfe,'formatMap':_0x577569};}function jo(_0x134682,_0x20fccf){const _0x56853a=_0x5f289e;if(!_0x134682||!_0x20fccf)return!0x0;const _0x30e2cb=_0x2dbe98(Ho,Go),_0x2bc249=new Function('return\x20'+_0x30e2cb)()(_0x134682,_0x20fccf)[_0x56853a(0x2b4)],_0x14e70f=_0xcf5672(_0x2bc249,'sf',Ko);return!((_0x2bc249==null?void 0x0:_0x2bc249['rt'])===_0x2af032[_0x56853a(0x183)]&&!_0x14e70f);}function go(_0x2df4b3,_0x3749de,_0x3bb0c3){const _0x6a319=_0x5f289e,_0x4362b9={'count':_0x2df4b3,'timeValid':!0x1};if(!_0x3749de||!_0x3bb0c3)return _0x4362b9;const _0x34c6c6=_0x2dbe98(Ho,Go),_0x3b52c8=new Function('return\x20'+_0x34c6c6)()(_0x3749de,_0x3bb0c3);if(_0x3b52c8!=null&&_0x3b52c8['valid']){const _0x194691=_0x3b52c8[_0x6a319(0x2b4)],_0x362b89=_0xcf5672(_0x194691,'sf',Ko);return{'count':_0x11b136(_0x194691,_0x362b89,'ptn',_0x2df4b3,_0x2df4b3,0x0),'timeValid':_0x362b89};}return _0x4362b9;}function qo(_0x1c130f,_0x9f9ede,_0x5e0097,_0x4c95d6){const _0x122a25=_0x5f289e,_0x23eb15={'subUnitId':_0x5e0097,'unitId':_0x9f9ede,'cellValue':_0x206a1f(_0x4c95d6)},_0xeffd88=_0x265b5b(_0x1c130f,_0x23eb15);let _0x23dec8=!0x1;return new _0x2cf1b4(_0xeffd88[_0x122a25(0x2c7)])[_0x122a25(0x2bb)]((_0x4ac406,_0x1b0981,_0xa39ab3)=>{if(!_0x23dec8&&_0xa39ab3&&(_0xa39ab3['custom']||_0xa39ab3['f']||_0xa39ab3['p']||_0xa39ab3['s']||_0xa39ab3['si']||_0xa39ab3['t']||_0xa39ab3['v']))return _0x23dec8=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1ac6c8['id'],'params':_0xeffd88},'setRangeValueRedoMutation':{'id':_0x1ac6c8['id'],'params':_0x23eb15},'shouldClear':_0x23dec8};}function Bi(_0x33ab8a){const {row:_0x515a39,col:_0x254008}=_0x33ab8a,_0x3fbe5c={'startRow':_0x515a39,'endRow':_0x515a39,'startColumn':_0x254008,'endColumn':_0x254008},_0x43128c={'startRow':_0x515a39+0x2,'endRow':_0x515a39+0xe,'startColumn':_0x254008,'endColumn':_0x254008+0x6};return[_0x3fbe5c,_0x43128c];}function Ji(_0x7251c8,_0x433ad7,_0x3525c6){const _0x31fe9d=_0x5f289e,{cornerView:_0xd2d6ab,rowView:_0x58b13d,colView:_0x105d11,pageView:_0x19c518}=_0x7251c8,{row:_0x62c1f6,col:_0x2f14cc}=_0x433ad7;if(_0x3525c6)return{'rowCount':bi+_0x62c1f6,'colCount':Si+_0x2f14cc};const _0x32d9bc=_0x19c518['lastRow']>-0x1?_0x19c518[_0x31fe9d(0x15a)]+0x1:0x0,_0x31384c=_0x19c518[_0x31fe9d(0x17f)]>-0x1?_0x19c518['lastCol']:0x0,_0x5f1087=_0x62c1f6+_0x32d9bc+(_0x32d9bc?0x1:0x0)+_0xd2d6ab[_0x31fe9d(0x1fb)]+_0x58b13d[_0x31fe9d(0x1fb)],_0x566926=_0x2f14cc+_0x31384c,_0x5f4218=_0x2f14cc+_0xd2d6ab[_0x31fe9d(0x1a4)]+_0x105d11[_0x31fe9d(0x1a4)],_0x1f574d=Math['max'](_0x566926,_0x5f4218);return{'rowCount':_0x5f1087,'colCount':_0x1f574d};}function Fe(_0x5a463f,_0x37e7be,_0x50bf6e,_0x23629e){const _0x43b6eb=_0x5f289e,{row:_0x3ee19f,col:_0x27dbfd,unitId:_0x288281,subUnitId:_0x225d10}=_0x50bf6e,_0x158a86=Ji(_0x37e7be,{'row':_0x3ee19f,'col':_0x27dbfd},_0x23629e),_0x1762fb=_0x5a463f['get'](_0x412edb),_0x79db67=_0x1681e1(_0x1762fb,{'unitId':_0x288281,'subUnitId':_0x225d10}),_0x38e25d=[],_0x2e4a7c=[];if(!_0x79db67)return{'undos':_0x2e4a7c,'redos':_0x38e25d};const {worksheet:_0x578b85}=_0x79db67,_0x286f48=_0x578b85['getRowCount'](),_0x3e8ded=_0x578b85['getColumnCount']();return _0x286f48<_0x158a86[_0x43b6eb(0x1fb)]&&(_0x38e25d[_0x43b6eb(0x288)]({'id':_0x49a8bb['id'],'params':{'unitId':_0x288281,'subUnitId':_0x225d10,'range':{'startRow':_0x286f48,'endRow':_0x158a86['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e8ded-0x1}}}),_0x2e4a7c['push']({'id':_0xf1e6bf['id'],'params':{'unitId':_0x288281,'subUnitId':_0x225d10,'range':{'startRow':_0x286f48,'endRow':_0x158a86['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e8ded-0x1}}})),_0x3e8ded<_0x158a86[_0x43b6eb(0x1a4)]&&(_0x38e25d['push']({'id':_0x1aea04['id'],'params':{'unitId':_0x288281,'subUnitId':_0x225d10,'range':{'startRow':0x0,'endRow':_0x286f48-0x1,'startColumn':_0x3e8ded,'endColumn':_0x158a86[_0x43b6eb(0x1a4)]-0x1}}}),_0x2e4a7c[_0x43b6eb(0x288)]({'id':_0x1c3484['id'],'params':{'unitId':_0x288281,'subUnitId':_0x225d10,'range':{'startRow':0x0,'endRow':_0x286f48-0x1,'startColumn':_0x3e8ded,'endColumn':_0x158a86[_0x43b6eb(0x1a4)]-0x1}}})),{'undos':_0x2e4a7c,'redos':_0x38e25d};}function $i(_0x23ff9d){const _0x5b499c=_0x5f289e;let _0x18ef17=0x0;for(let _0x55ca95=0x0;_0x55ca95<_0x23ff9d[_0x5b499c(0x294)];_0x55ca95++){const _0x784c0d=_0x23ff9d[_0x5b499c(0x20a)](_0x55ca95);_0x784c0d>=0x4e00&&_0x784c0d<=0x9fff||_0x784c0d>=0x3000&&_0x784c0d<=0x303f||_0x784c0d>=0xff00&&_0x784c0d<=0xffef?_0x18ef17+=0x2:_0x18ef17+=0x1;}return _0x18ef17;}function yo(_0x40a0dd,_0x509d44,_0xba3972,_0x12312c){const _0x7b5a68=_0x5f289e;var _0x533cba,_0x2c5093,_0x47a2cf,_0x325400;const {rowCount:_0x3ab37d,colCount:_0x105f5d,headerMap:_0x4fa802}=_0x40a0dd,_0x3d3d40=0x64,_0x1428d1=Math['min'](_0x3ab37d,_0x3d3d40),_0x5a647a=Math[_0x7b5a68(0x186)](_0x105f5d,_0x3d3d40);let _0x5469e3='',_0x39faa7=0x0;for(let _0x1270bf=0x0;_0x1270bf<_0x1428d1;_0x1270bf++)for(let _0x472eb0=0x0;_0x472eb0<_0x5a647a;_0x472eb0++){const _0x4da9dc={...(_0x2c5093=(_0x533cba=_0x40a0dd[_0x7b5a68(0x10e)])==null?void 0x0:_0x533cba[_0x1270bf])==null?void 0x0:_0x2c5093[_0x472eb0]},_0x542d26=(_0x47a2cf=_0x4fa802[_0x1270bf])==null?void 0x0:_0x47a2cf[_0x7b5a68(0x17c)],_0x41a063=_0x12312c[_0x542d26];let _0x5d2d72=_0x40a0dd[_0x7b5a68(0x1d8)](_0x1270bf,_0x472eb0);if(_0x4da9dc){const _0x3d05cd=_0xba3972?_0x472eb0===0x0&&((_0x325400=_0x40a0dd[_0x7b5a68(0x2c2)](_0x472eb0+0x1))==null?void 0x0:_0x325400[_0x7b5a68(0x1b5)]):!0x1;_0x5d2d72=vt(_0x4da9dc,_0x3d05cd,_0x41a063,_0x509d44);}if(_0x5d2d72!==void 0x0){const _0x1e61fa=$i(String(_0x5d2d72));_0x39faa7<_0x1e61fa&&(_0x5469e3=String(_0x5d2d72),_0x39faa7=_0x1e61fa);}}return _0x5469e3;}function Gi(_0x5c52b0){const _0xa57117=_0x5f289e,{rowCount:_0x39cef9,colCount:_0x4fe044}=_0x5c52b0;let _0x411a15='',_0xace0e6=0x0;for(let _0x1aaaba=_0x39cef9-0x1;_0x1aaaba>0x0&&_0x1aaaba>_0x39cef9-0x3;_0x1aaaba--)for(let _0x1be07a=0x0;_0x1be07a<_0x4fe044;_0x1be07a++){const _0x1c4bec=_0x5c52b0[_0xa57117(0x1d8)](_0x1aaaba,_0x1be07a);if(_0x1c4bec!==void 0x0){const _0x162f63=String(_0x1c4bec)['length'];_0xace0e6<_0x162f63&&(_0x411a15=String(_0x1c4bec),_0xace0e6=_0x162f63);}}return _0x411a15;}function Hi(_0x5bfd40){const _0x1ab26b=_0x5f289e,{rowCount:_0x3f185a,colCount:_0x253e9a}=_0x5bfd40;let _0x185c38='',_0x222ada=0x0;for(let _0x399ce6=0x0;_0x399ce6<_0x3f185a;_0x399ce6++)for(let _0x119f2e=0x0;_0x119f2e<_0x253e9a;_0x119f2e++){const _0xa69e95=_0x5bfd40[_0x1ab26b(0x1d8)](_0x399ce6,_0x119f2e);if(_0xa69e95!==void 0x0){const _0x351036=String(_0xa69e95)[_0x1ab26b(0x294)];_0x222ada<_0x351036&&(_0x185c38=String(_0xa69e95),_0x222ada=_0x351036);}}return _0x185c38;}function Wi(_0x4b1369,_0x2bfc2d){const _0x2306fe=_0x5f289e,{rowFields:_0x41bbb3,columnFields:_0x218ee7,valueFields:_0x3b085f,filterFields:_0x238c4a,dimension:_0xfb8ac0,measure:_0x30b49f}=_0x2bfc2d;for(const _0x5e4977 of _0x41bbb3){const _0x354eb0=_0xfb8ac0[_0x5e4977];_0x354eb0&&_0x4b1369[_0x2306fe(0x2cc)](_0x354eb0[_0x2306fe(0x31a)])&&(_0x4b1369[_0x2306fe(0x1fe)](_0x354eb0['dataFieldId'],_0x31de81['Row'],void 0x0,_0x5e4977),_0x354eb0[_0x2306fe(0x13c)]&&_0x4b1369['renameField'](_0x354eb0['id'],_0x354eb0['displayName']),_0x354eb0[_0x2306fe(0x2c1)]&&_0x4b1369[_0x2306fe(0x2c5)](_0x354eb0['id'],_0x354eb0[_0x2306fe(0x2c1)]),_0x354eb0[_0x2306fe(0x1b6)]&&_0x4b1369[_0x2306fe(0x243)](_0x354eb0['id'],_0x354eb0[_0x2306fe(0x1b6)]));}for(const _0x281b6c of _0x218ee7){const _0x23ced0=_0xfb8ac0[_0x281b6c];_0x23ced0&&_0x4b1369['getDataFieldByDataFieldId'](_0x23ced0[_0x2306fe(0x31a)])&&(_0x4b1369[_0x2306fe(0x1fe)](_0x23ced0['dataFieldId'],_0x31de81[_0x2306fe(0x26e)],void 0x0,_0x281b6c),_0x23ced0[_0x2306fe(0x2c1)]&&_0x4b1369[_0x2306fe(0x2c5)](_0x23ced0['id'],_0x23ced0[_0x2306fe(0x2c1)]),_0x23ced0[_0x2306fe(0x1b6)]&&_0x4b1369['setLabelFilterInfo'](_0x23ced0['id'],_0x23ced0['filterInfo']),_0x23ced0['displayName']&&_0x4b1369[_0x2306fe(0xc0)](_0x23ced0['id'],_0x23ced0[_0x2306fe(0x13c)]));}for(const _0x38c548 of _0x238c4a){const _0x4ad1a4=_0xfb8ac0[_0x38c548];_0x4ad1a4&&_0x4b1369[_0x2306fe(0x2cc)](_0x4ad1a4[_0x2306fe(0x31a)])&&(_0x4b1369[_0x2306fe(0x1fe)](_0x4ad1a4[_0x2306fe(0x31a)],_0x31de81[_0x2306fe(0x208)],void 0x0,_0x38c548),_0x4ad1a4[_0x2306fe(0x2c1)]&&_0x4b1369['setSortInfo'](_0x4ad1a4['id'],_0x4ad1a4[_0x2306fe(0x2c1)]),_0x4ad1a4[_0x2306fe(0x1b6)]&&_0x4b1369[_0x2306fe(0x243)](_0x4ad1a4['id'],_0x4ad1a4[_0x2306fe(0x1b6)]),_0x4ad1a4[_0x2306fe(0x13c)]&&_0x4b1369[_0x2306fe(0xc0)](_0x4ad1a4['id'],_0x4ad1a4[_0x2306fe(0x13c)]));}for(const _0x3cbefa of _0x3b085f){const _0x3635ef=_0x30b49f[_0x3cbefa];_0x3635ef&&_0x4b1369[_0x2306fe(0x2cc)](_0x3635ef[_0x2306fe(0x31a)])&&(_0x4b1369['addFieldWithSourceId'](_0x3635ef[_0x2306fe(0x31a)],_0x31de81['Value'],void 0x0,_0x3cbefa),_0x3635ef[_0x2306fe(0x169)]!==void 0x0&&_0x4b1369[_0x2306fe(0x194)](_0x3cbefa,_0x3635ef[_0x2306fe(0x169)]),_0x3635ef['format']&&_0x4b1369[_0x2306fe(0x12f)](_0x3cbefa,_0x3635ef[_0x2306fe(0x16d)]),_0x3635ef[_0x2306fe(0x13c)]&&_0x4b1369[_0x2306fe(0xc0)](_0x3635ef['id'],_0x3635ef[_0x2306fe(0x13c)]));}const _0x4b6b4d=_0x2bfc2d[_0x2306fe(0x217)];for(const {fieldId:_0x1bbdf9,filterInfo:_0x1ca8a6}of _0x4b6b4d)_0x4b1369[_0x2306fe(0x111)](_0x1bbdf9,_0x1ca8a6);}function ji(_0x5f54fa,_0x2ab536){const _0x3a6f1f=_0x5f289e,_0x108cab=[];_0x2ab536===_0x31de81[_0x3a6f1f(0x2a8)]&&_0x5f54fa[_0x3a6f1f(0x2fd)](_0x31de81[_0x3a6f1f(0x2a8)],_0x184c34=>{const _0x3c1d06=_0x3a6f1f;_0x108cab[_0x3c1d06(0x288)](_0x184c34[_0x3c1d06(0x2f0)]());}),_0x2ab536===_0x31de81['Column']&&_0x5f54fa['iterateFieldByArea'](_0x31de81[_0x3a6f1f(0x26e)],_0x157afb=>{const _0x88a13c=_0x3a6f1f;_0x108cab[_0x88a13c(0x288)](_0x157afb[_0x88a13c(0x2f0)]());}),_0x2ab536===_0x31de81[_0x3a6f1f(0x208)]&&_0x5f54fa[_0x3a6f1f(0x2fd)](_0x31de81['Filter'],_0x3290e5=>{const _0x5e1542=_0x3a6f1f;_0x108cab[_0x5e1542(0x288)](_0x3290e5[_0x5e1542(0x2f0)]());}),_0x2ab536===_0x31de81['Value']&&_0x5f54fa[_0x3a6f1f(0x2fd)](_0x31de81[_0x3a6f1f(0x18a)],_0x1101db=>{const _0x3941f5=_0x3a6f1f;_0x108cab['push'](_0x1101db[_0x3941f5(0x2f0)]());}),_0x2ab536===void 0x0&&_0x5f54fa[_0x3a6f1f(0x16f)](_0x17374c=>{_0x108cab['push'](_0x17374c['getId']());});const _0x60dc99=_0x108cab['length'];for(let _0x4aea3d=_0x60dc99-0x1;_0x4aea3d>=0x0;_0x4aea3d--)_0x5f54fa[_0x3a6f1f(0x166)](_0x108cab[_0x4aea3d]);const _0x440ecd=_0x5f54fa[_0x3a6f1f(0x2f2)]();for(const _0x3624ae in _0x440ecd)_0x5f54fa[_0x3a6f1f(0x2da)](_0x3624ae);}function qi(_0x47461f,_0x47377d){const _0x470b54=_0x5f289e,_0xbd0f=new Date(_0x10b44a(_0x47377d)),_0x2b122c=new Date(_0x10b44a(_0x47461f)),_0x925931=_0xbd0f['getFullYear'](),_0x6c0234=_0x2b122c[_0x470b54(0x261)](),_0x4f714b=_0xbd0f['getMonth'](),_0x196184=_0x2b122c['getMonth'](),_0x1d9936=_0xbd0f[_0x470b54(0x1a7)](),_0x2370d9=_0x2b122c['getDate'](),_0x2975e0=_0x925931===_0x6c0234,_0x6f4a05=_0x2975e0&&_0x4f714b===_0x196184;return _0x2975e0&&_0x6f4a05&&!(_0x6f4a05&&_0x1d9936===_0x2370d9)?_0x17a622[_0x470b54(0x29c)]:_0x2975e0&&!_0x6f4a05?_0x17a622['YearMonth']:_0x17a622['Year'];}function Yo(_0x1076fa,_0x11f165){const _0x4489c4=_0x5f289e,_0x1271c5=_0x1076fa[_0x4489c4(0x107)](J)[_0x4489c4(0xb7)]();let _0x40cc76='';switch(_0x11f165){case _0x17a622['YearMonthDate']:_0x40cc76=_0x1271c5[_0x4489c4(0x2a5)];break;case _0x17a622['YearMonth']:_0x40cc76=_0x1271c5[_0x4489c4(0x244)];break;case _0x17a622[_0x4489c4(0x16a)]:_0x40cc76=_0x1271c5[_0x4489c4(0x122)];break;case _0x17a622[_0x4489c4(0x2a9)]:_0x40cc76=_0x1271c5[_0x4489c4(0x1c7)];break;case _0x17a622['Quarter']:_0x40cc76=_0x1271c5[_0x4489c4(0x1a5)];break;case _0x17a622[_0x4489c4(0x96)]:_0x40cc76=_0x1271c5[_0x4489c4(0x134)];break;case _0x17a622[_0x4489c4(0x11d)]:_0x40cc76=_0x1271c5[_0x4489c4(0x180)];break;case _0x17a622[_0x4489c4(0xe4)]:_0x40cc76=_0x1271c5[_0x4489c4(0x1f0)];break;case _0x17a622[_0x4489c4(0xf7)]:_0x40cc76=_0x1271c5[_0x4489c4(0x9a)];break;case _0x17a622[_0x4489c4(0x1b2)]:_0x40cc76=_0x1271c5[_0x4489c4(0x97)];break;case _0x17a622[_0x4489c4(0x2d9)]:_0x40cc76=_0x1271c5[_0x4489c4(0xd7)];break;default:_0x40cc76='';break;}return _0x40cc76;}const zo=_0x5f289e(0xef),Mo={};var Yi=Object['getOwnPropertyDescriptor'],zi=(_0x4556a7,_0x1f4d89,_0x17ed6a,_0x10114a)=>{for(var _0x1ed3cc=_0x10114a>0x1?void 0x0:_0x10114a?Yi(_0x1f4d89,_0x17ed6a):_0x1f4d89,_0x3dfc61=_0x4556a7['length']-0x1,_0x1270b9;_0x3dfc61>=0x0;_0x3dfc61--)(_0x1270b9=_0x4556a7[_0x3dfc61])&&(_0x1ed3cc=_0x1270b9(_0x1ed3cc)||_0x1ed3cc);return _0x1ed3cc;},it=(_0x36655f,_0x43039f)=>(_0x3f16d8,_0x27e74a)=>_0x43039f(_0x3f16d8,_0x27e74a,_0x36655f);let ve=class extends _0x4882c1{constructor(_0x7a5a36,_0x220461,_0x3e7f9e,_0x3866e7,_0x5c8a12){const _0x42424d=_0x5f289e;super(),x(this,'_model',new Map()),x(this,'_collectionConfigModel',new Map()),x(this,_0x42424d(0x285),new Map()),x(this,_0x42424d(0xdb),new Map()),x(this,_0x42424d(0x273),new _0x2130f6()),x(this,_0x42424d(0x160),new _0x2130f6()),x(this,_0x42424d(0xe8),this['_pivotInitCompleted$'][_0x42424d(0x2d3)]()),x(this,'_pivotConfigChange$',new _0x2130f6()),x(this,_0x42424d(0xca),this['_pivotConfigChange$'][_0x42424d(0x2d3)]()),x(this,_0x42424d(0x19b),{}),x(this,'configVersion$',this[_0x42424d(0x273)][_0x42424d(0x2d3)]()),(this[_0x42424d(0x304)]=_0x7a5a36,this[_0x42424d(0x27f)]=_0x220461,this[_0x42424d(0xa4)]=_0x3e7f9e,this[_0x42424d(0x2ce)]=_0x3866e7,this[_0x42424d(0x1a1)]=_0x5c8a12,this[_0x42424d(0x2a6)](),this[_0x42424d(0x310)]());const _0x539c65=this['_configService']['getConfig'](zo);(_0x539c65==null?void 0x0:_0x539c65[_0x42424d(0x2f1)])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x3a16ae=_0x5f289e;this['disposeWithMe'](this[_0x3a16ae(0xa4)]['getTypeOfUnitDisposed$'](_0x5c1aae['UNIVER_SHEET'])[_0x3a16ae(0x174)](_0x548f2c=>{const _0x42bd8b=_0x3a16ae;this[_0x42bd8b(0x149)](_0x548f2c[_0x42bd8b(0x18e)]());}));}['setPivotInitCompleted'](){const _0x49832e=_0x5f289e;this[_0x49832e(0x160)][_0x49832e(0xb9)](!0x0);}['_initLocale'](){const _0x3af8f7=_0x5f289e,_0x537fe8=fo(this['_injector'],Bo,'',{});this['_textInfo']=_0x537fe8,this[_0x3af8f7(0x27f)][_0x3af8f7(0xa0)](uo['id'],{'textInfo':_0x537fe8},{'onlyLocal':!0x0});}[_0x5f289e(0xb7)](){return this['_textInfo'];}[_0x5f289e(0x313)](_0x2514f3,_0x269c6,_0x23ed37,_0x5ce316,_0x5d3de1){const _0x1e4bd9=_0x5f289e;this[_0x1e4bd9(0x12c)](_0x2514f3,_0x269c6,_0x23ed37,_0x5ce316),this['updatePivotTableRangeInfo'](_0x2514f3,_0x269c6,_0x23ed37,_0x5d3de1);}[_0x5f289e(0x9e)](_0xbb8c58,_0x1e1113,_0x1dbd79){const _0x1a2241=_0x5f289e;var _0x4577d4;const _0x5f4366=(_0x4577d4=this['_model'][_0x1a2241(0x107)](_0xbb8c58))==null?void 0x0:_0x4577d4[_0x1a2241(0x107)](_0x1e1113);if(_0x5f4366)return _0x5f4366['get'](_0x1dbd79);}[_0x5f289e(0x2b6)](_0x4503dd,_0x2bd368){const _0x4c13f1=_0x5f289e,_0x3c457f=this[_0x4c13f1(0x218)][_0x4c13f1(0x107)](_0x4503dd);if(_0x3c457f){for(const [_0x1c387a,_0xc69f80]of _0x3c457f[_0x4c13f1(0x116)]())for(const [_0x7d5c4f,_0x4e38df]of _0xc69f80[_0x4c13f1(0x116)]())if(_0x7d5c4f===_0x2bd368)return _0x4e38df[_0x4c13f1(0x1f7)];}}[_0x5f289e(0xe1)](_0x110dc5,_0x3364ad,_0x574422){const _0x274b26=_0x5f289e,_0x235384=this[_0x274b26(0x9e)](_0x110dc5,_0x3364ad,_0x574422);return _0x235384==null?void 0x0:_0x235384['targetCellInfo'];}[_0x5f289e(0x98)](_0x14c763,_0x3ca459){const _0x224aa4=_0x5f289e;var _0x393fbd;return(_0x393fbd=this[_0x224aa4(0x218)][_0x224aa4(0x107)](_0x14c763))==null?void 0x0:_0x393fbd[_0x224aa4(0x107)](_0x3ca459);}[_0x5f289e(0x23f)](_0xafe6d,_0x1d992d,_0x3fdaa0,_0x1979c5){const _0x4e2fcd=_0x5f289e,_0x5bf3fa=this[_0x4e2fcd(0x181)](_0xafe6d,_0x1d992d);_0x1979c5?_0x5bf3fa[_0x4e2fcd(0x110)](_0x3fdaa0,_0x1979c5):_0x5bf3fa[_0x4e2fcd(0x2e6)](_0x3fdaa0),this[_0x4e2fcd(0x22a)][_0x4e2fcd(0xb9)]({'unitId':_0xafe6d,'subUnitId':_0x1d992d,'pivotTableId':_0x3fdaa0,'pivotTableConfig':_0x1979c5});}[_0x5f289e(0xbb)](_0x48fedc,_0x141d4c){const _0x282b47=_0x5f289e;var _0x48ed7d;return(_0x48ed7d=this[_0x282b47(0xd4)][_0x282b47(0x107)](_0x48fedc))==null?void 0x0:_0x48ed7d[_0x282b47(0x10d)][_0x141d4c];}[_0x5f289e(0xc3)](_0x4f2914,_0x5ab259){const _0xc8fcc3=_0x5f289e;this[_0xc8fcc3(0xd4)][_0xc8fcc3(0x110)](_0x4f2914,_0x5ab259),this['_configVersion$']['next'](Math['random']());}[_0x5f289e(0x181)](_0x56732a,_0x312ed5){const _0x4e8981=_0x5f289e;let _0x352e73=this[_0x4e8981(0x218)]['get'](_0x56732a);_0x352e73||(_0x352e73=new Map(),this[_0x4e8981(0x218)][_0x4e8981(0x110)](_0x56732a,_0x352e73));let _0xc1d2fd=_0x352e73[_0x4e8981(0x107)](_0x312ed5);return _0xc1d2fd||(_0xc1d2fd=new Map(),_0x352e73[_0x4e8981(0x110)](_0x312ed5,_0xc1d2fd)),_0xc1d2fd;}[_0x5f289e(0x1b9)](_0x55962f,_0x375cac){const _0x3a9224=_0x5f289e;let _0x2d7051=this[_0x3a9224(0x285)][_0x3a9224(0x107)](_0x55962f);_0x2d7051||(_0x2d7051=new Map(),this[_0x3a9224(0x285)][_0x3a9224(0x110)](_0x55962f,_0x2d7051));let _0x4e3135=_0x2d7051[_0x3a9224(0x107)](_0x375cac);return _0x4e3135||(_0x4e3135=new Map(),_0x2d7051[_0x3a9224(0x110)](_0x375cac,_0x4e3135)),_0x4e3135;}[_0x5f289e(0xa2)](_0x228d54,_0x333eb7){const _0x5dfc88=_0x5f289e;let _0x5714f7=this[_0x5dfc88(0xdb)]['get'](_0x228d54);_0x5714f7||(_0x5714f7=new Map(),this['_pivotTableMatrixInfo']['set'](_0x228d54,_0x5714f7));let _0x472e2d=_0x5714f7[_0x5dfc88(0x107)](_0x333eb7);return _0x472e2d||(_0x472e2d=new Map(),_0x5714f7['set'](_0x333eb7,_0x472e2d)),_0x472e2d;}['updatePivotTableRangeInfo'](_0xe6ff5d,_0x3e2174,_0x262928,_0x187092){const _0x342eab=_0x5f289e;var _0x276791;const _0x538575=this['_ensurePivotTableRangeInfo'](_0xe6ff5d,_0x3e2174),_0xb2f6bc=(_0x276791=_0x538575['get'](_0x262928))==null?void 0x0:_0x276791[_0x342eab(0x22c)];_0x538575[_0x342eab(0x110)](_0x262928,{'oldRangeInfo':_0xb2f6bc,'rangeInfo':_0x187092});}[_0x5f289e(0x12c)](_0x5e7208,_0x4096b1,_0x233cc3,_0x344d99){const _0x67f315=_0x5f289e;var _0x418a10;const _0x197c78=this['_ensurePivotTableMatrixInfo'](_0x5e7208,_0x4096b1),_0x345be5=(_0x418a10=_0x197c78[_0x67f315(0x107)](_0x233cc3))==null?void 0x0:_0x418a10[_0x67f315(0x236)];_0x197c78[_0x67f315(0x110)](_0x233cc3,{'oldMatrix':_0x345be5,'matrix':_0x344d99});}[_0x5f289e(0x100)](_0x13688b,_0x3a12d7,_0x10b6f6){const _0x11bc00=_0x5f289e;var _0xa6f3d1,_0x36bd7d;return(_0x36bd7d=(_0xa6f3d1=this[_0x11bc00(0x285)]['get'](_0x13688b))==null?void 0x0:_0xa6f3d1['get'](_0x3a12d7))==null?void 0x0:_0x36bd7d[_0x11bc00(0x107)](_0x10b6f6);}[_0x5f289e(0x300)](_0xd4bf9c,_0x38433f,_0x3b25fd){const _0x4277eb=_0x5f289e;var _0x35b885,_0x556978;return(_0x556978=(_0x35b885=this[_0x4277eb(0xdb)][_0x4277eb(0x107)](_0xd4bf9c))==null?void 0x0:_0x35b885[_0x4277eb(0x107)](_0x38433f))==null?void 0x0:_0x556978[_0x4277eb(0x107)](_0x3b25fd);}[_0x5f289e(0x149)](_0x403f16){const _0x1fdcff=_0x5f289e;this[_0x1fdcff(0x218)][_0x1fdcff(0x2e6)](_0x403f16),this[_0x1fdcff(0xd4)][_0x1fdcff(0x2e6)](_0x403f16);}[_0x5f289e(0x2e4)](_0x49e932){const _0x35e9f6=_0x5f289e,_0x174e2b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x35e9f6(0xd4)][_0x35e9f6(0x107)](_0x49e932)&&(_0x174e2b[_0x35e9f6(0x2a7)][_0x49e932]=this['_collectionConfigModel'][_0x35e9f6(0x107)](_0x49e932)),this[_0x35e9f6(0x218)][_0x35e9f6(0x107)](_0x49e932)){_0x174e2b['pivotTableConfigs'][_0x49e932]={};const _0x15d099=this['_model'][_0x35e9f6(0x107)](_0x49e932);_0x15d099!=null&&_0x15d099[_0x35e9f6(0x25a)]&&[..._0x15d099[_0x35e9f6(0x1d6)]()][_0x35e9f6(0x13f)](_0x29825e=>{const _0x288b19=_0x35e9f6,_0x57a8d4=_0x15d099[_0x288b19(0x107)](_0x29825e);_0x57a8d4!=null&&_0x57a8d4[_0x288b19(0x25a)]&&(_0x174e2b[_0x288b19(0x10c)][_0x49e932][_0x29825e]={},[..._0x57a8d4[_0x288b19(0x1d6)]()]['forEach'](_0x17684d=>{const _0x213de0=_0x288b19,_0x2ed2a2=_0x57a8d4[_0x213de0(0x107)](_0x17684d);_0x2ed2a2&&(_0x174e2b[_0x213de0(0x10c)][_0x49e932][_0x29825e][_0x17684d]=_0x2ed2a2);}));});}return _0x174e2b;}[_0x5f289e(0x22f)](){const _0x1afe10=_0x5f289e;this[_0x1afe10(0x266)](this[_0x1afe10(0x2ce)][_0x1afe10(0x1b8)]({'toJson':_0x2fd51d=>JSON[_0x1afe10(0x12b)](this[_0x1afe10(0x2e4)](_0x2fd51d)),'parseJson':_0x14af0d=>({}),'businesses':[_0x5c1aae[_0x1afe10(0x20e)]],'pluginName':ao,'onLoad':(_0x2fcdf5,_0x456b44)=>{},'onUnLoad':_0x28b6ea=>{const _0x56f98e=_0x1afe10;this[_0x56f98e(0x149)](_0x28b6ea);}}));}};ve=zi([it(0x0,_0x425448(_0x559951)),it(0x1,_0x425448(_0x1db6fa)),it(0x2,_0x425448(_0x412edb)),it(0x3,_0x425448(_0x7180c1)),it(0x4,_0x425448(_0x3c4550))],ve);var Qi=Object[_0x5f289e(0xaf)],Xi=(_0x34d0cd,_0x34d48d,_0x2a0e3d,_0x4dd363)=>{const _0x2fc4fd=_0x5f289e;for(var _0x534ece=_0x4dd363>0x1?void 0x0:_0x4dd363?Qi(_0x34d48d,_0x2a0e3d):_0x34d48d,_0x17b093=_0x34d0cd[_0x2fc4fd(0x294)]-0x1,_0x1dcec6;_0x17b093>=0x0;_0x17b093--)(_0x1dcec6=_0x34d0cd[_0x17b093])&&(_0x534ece=_0x1dcec6(_0x534ece)||_0x534ece);return _0x534ece;},st=(_0x4859ee,_0x3da17f)=>(_0x3ca9f8,_0x4faab9)=>_0x3da17f(_0x3ca9f8,_0x4faab9,_0x4859ee);let Ne=class extends _0x4882c1{constructor(_0x542abe,_0x52ab12,_0x3f9963,_0x29a7bb,_0x374ab7){const _0x4c3dfc=_0x5f289e;super(),x(this,_0x4c3dfc(0x187),new Map()),x(this,_0x4c3dfc(0x283),new Map()),x(this,_0x4c3dfc(0x27e),new _0x2130f6()),x(this,_0x4c3dfc(0x18c),this[_0x4c3dfc(0x27e)][_0x4c3dfc(0x2d3)]()),x(this,_0x4c3dfc(0x1b7),new _0x2130f6()),x(this,'viewUpdate$',this['_viewUpdate$'][_0x4c3dfc(0x2d3)]()),x(this,_0x4c3dfc(0x19b)),(this[_0x4c3dfc(0x18f)]=_0x542abe,this[_0x4c3dfc(0x304)]=_0x52ab12,this[_0x4c3dfc(0xc4)]=_0x3f9963,this[_0x4c3dfc(0xa4)]=_0x29a7bb,this['_exclusiveRangeService']=_0x374ab7,this['_initLocale'](),this['_initUnitDisposed']());}['_initUnitDisposed'](){const _0x1d8ffd=_0x5f289e;this[_0x1d8ffd(0x266)](this[_0x1d8ffd(0xa4)][_0x1d8ffd(0x2e7)](_0x5c1aae[_0x1d8ffd(0x20e)])[_0x1d8ffd(0x174)](_0x5ada62=>{const _0x525745=_0x1d8ffd;this['deleteUnitId'](_0x5ada62[_0x525745(0x18e)]());}));}[_0x5f289e(0x2a6)](){const _0x4db1f0=_0x5f289e;this['_textInfo']=fo(this[_0x4db1f0(0x304)],Bo,'',{});}[_0x5f289e(0x118)](_0x4992eb){const _0x1a2a9a=_0x5f289e,{view:_0x322f2a,unitId:_0x42e23e,subUnitId:_0x8be7dc,pivotTableId:_0x1614e1,type:_0x339db9}=_0x4992eb,_0x30d085=this[_0x1a2a9a(0xc4)]['getPivotTableConfig'](_0x42e23e,_0x8be7dc,_0x1614e1);if(!_0x322f2a||!_0x30d085||_0x339db9===B[_0x1a2a9a(0x28b)])return;const {pageView:_0x499c1f,cornerView:_0x39cd71,rowView:_0x7c737,colView:_0x32b45e,dataView:_0x5a97fb}=_0x322f2a,_0x30df16=_0x30d085['targetCellInfo'],_0x3701f6=_0x30d085[_0x1a2a9a(0x16b)],_0x1052de=this[_0x1a2a9a(0x311)](_0x42e23e,_0x8be7dc),_0x39fc27=this[_0x1a2a9a(0xb8)](_0x42e23e,_0x8be7dc,_0x1614e1);if(_0x3701f6)return this['_updateRenderEmptyCache'](_0x4992eb,_0x1052de,_0x30df16,_0x39fc27);{const _0x94f0b7=ge(_0x30df16,_0x499c1f,!0x0),_0x1d33f3=_0x499c1f[_0x1a2a9a(0x15a)]>=0x0?_0x499c1f[_0x1a2a9a(0x15a)]+0x1:0x0,_0x40cf42=_0x39cd71[_0x1a2a9a(0x23a)](),_0x8a9ed4=_0x39cd71[_0x1a2a9a(0x159)](),_0x553bfb=_0x94f0b7[_0x1a2a9a(0x294)]>0x0?mt:0x0,_0x22230b=ge({'row':_0x30df16[_0x1a2a9a(0x1e1)]+_0x1d33f3+_0x553bfb,'col':_0x30df16['col']},_0x39cd71,!0x1,!0x1),_0xb7ddff=ge({'row':_0x30df16[_0x1a2a9a(0x1e1)]+_0x1d33f3+_0x553bfb+_0x40cf42,'col':_0x30df16[_0x1a2a9a(0x1de)]},_0x7c737,!0x1,!0x0),_0x1ec3b1=ge({'row':_0x30df16[_0x1a2a9a(0x1e1)]+_0x1d33f3+_0x553bfb,'col':_0x30df16[_0x1a2a9a(0x1de)]+_0x8a9ed4},_0x32b45e,!0x1,!0x0),_0x4fd39e=ge({'row':_0x30df16['row']+_0x1d33f3+_0x553bfb+_0x40cf42,'col':_0x30df16[_0x1a2a9a(0x1de)]+_0x8a9ed4},_0x5a97fb,!0x1,!0x1);_0x39fc27[_0x1a2a9a(0x215)]={'rowRanges':_0xb7ddff,'colRanges':_0x1ec3b1,'cornerRanges':_0x22230b,'dataRanges':_0x4fd39e,'pageRanges':_0x94f0b7};const _0x1e3a00=yi(this[_0x1a2a9a(0x304)],_0x322f2a,_0x30d085,this['_textInfo']),{valueMatrix:_0x2fcf98,rowInfo:_0xf57f8d,colInfo:_0x434562,cornerInfo:_0x5365e6,rowHeaderMap:_0x3c9633,colHeaderMap:_0x3e9c4a}=_0x1e3a00;return _0x39fc27[_0x1a2a9a(0x303)]={'rowInfo':_0xf57f8d,'colInfo':_0x434562,'cornerInfo':_0x5365e6},_0x39fc27[_0x1a2a9a(0x25c)]={'rowHeaderMap':_0x3c9633,'colHeaderMap':_0x3e9c4a},_0x2fcf98['forEach']((_0x3a7a0e,_0x32d3c0)=>{const _0x4b36fe=_0x1a2a9a;Object['keys'](_0x32d3c0)[_0x4b36fe(0x13f)](_0x595408=>{const _0x170e8a=+_0x595408,_0x2fcd2e=_0x2fcf98['getValue'](_0x3a7a0e,_0x170e8a);_0x1052de['setValue'](_0x3a7a0e,_0x170e8a,_0x2fcd2e);});}),this[_0x1a2a9a(0x1b7)][_0x1a2a9a(0xb9)]({'unitId':_0x42e23e,'subUnitId':_0x8be7dc,'valueMatrix':_0x1052de,'rangesCache':_0x39fc27[_0x1a2a9a(0x215)],'pivotTableId':_0x1614e1,'type':_0x4992eb[_0x1a2a9a(0x1be)]}),this[_0x1a2a9a(0xc4)][_0x1a2a9a(0x313)](_0x42e23e,_0x8be7dc,_0x1614e1,_0x1052de,_0x39fc27[_0x1a2a9a(0x215)]),this[_0x1a2a9a(0x9f)][_0x1a2a9a(0x2ea)](_0x42e23e,_0x8be7dc,Kt,this[_0x1a2a9a(0x287)](_0x39fc27[_0x1a2a9a(0x215)],_0x1614e1)),{'rangeCache':_0x39fc27[_0x1a2a9a(0x215)],'matrix':_0x1052de};}}['_updateRenderEmptyCache'](_0x2713b9,_0x2d731f,_0x90e1a6,_0x18f4f6){const _0x1b8f3a=_0x5f289e,_0x332130=this['_localeService']['t'],{unitId:_0x2d6ce9,subUnitId:_0x3b9278,pivotTableId:_0x3ace2f}=_0x2713b9,_0x5c2164={'filter':_0x332130(_0x1b8f3a(0x267)),'row':_0x332130(_0x1b8f3a(0xd1)),'column':_0x332130(_0x1b8f3a(0x20c)),'values':_0x332130(_0x1b8f3a(0x315))},{matrixCache:_0x123e71,rangesCache:_0x1f74b7}=Wo(_0x5c2164,_0x90e1a6);return _0x123e71[_0x1b8f3a(0x2bb)]((_0x51206a,_0x5b074c,_0x2c9611)=>{const _0x8dcc25=_0x1b8f3a;_0x2d731f[_0x8dcc25(0x95)](_0x51206a,_0x5b074c,_0x2c9611);}),_0x18f4f6[_0x1b8f3a(0x215)]=_0x1f74b7,this[_0x1b8f3a(0x1b7)]['next']({'unitId':_0x2d6ce9,'subUnitId':_0x3b9278,'valueMatrix':_0x2d731f,'rangesCache':_0x1f74b7,'pivotTableId':_0x3ace2f,'type':_0x2713b9[_0x1b8f3a(0x1be)],'isEmpty':!0x0}),this[_0x1b8f3a(0xc4)][_0x1b8f3a(0x313)](_0x2d6ce9,_0x3b9278,_0x3ace2f,_0x2d731f,_0x1f74b7),this[_0x1b8f3a(0x9f)][_0x1b8f3a(0x2ea)](_0x2d6ce9,_0x3b9278,Kt,this[_0x1b8f3a(0x287)](_0x1f74b7,_0x3ace2f)),{'rangeCache':_0x18f4f6[_0x1b8f3a(0x215)],'matrix':_0x2d731f};}[_0x5f289e(0x287)](_0x41a0c3,_0x22d7d3){const _0x2698e7=[],_0x5c5ec8=Bt(_0x41a0c3);for(const _0x3ca56b of _0x5c5ec8)_0x2698e7['push']({'groupId':_0x22d7d3,'range':_0x3ca56b});return _0x2698e7;}[_0x5f289e(0x2b3)](_0x547aad){const _0x59d273=_0x5f289e;var _0x448753,_0x3b78eb,_0x5cf69c,_0x57aced;const {pivotTableId:_0x47e189,unitId:_0x4c8f0d,subUnitId:_0x4561ae}=_0x547aad;if(!_0x47e189||!_0x4c8f0d||!_0x4561ae)return;const _0xa64d0d=this[_0x59d273(0x311)](_0x4c8f0d,_0x4561ae),_0x8392dd=(_0x3b78eb=(_0x448753=this[_0x59d273(0x187)][_0x59d273(0x107)](_0x4c8f0d))==null?void 0x0:_0x448753['get'](_0x4561ae))==null?void 0x0:_0x3b78eb[_0x59d273(0x107)](_0x47e189);if(_0x8392dd!=null&&_0x8392dd[_0x59d273(0x215)]){for(const _0x2c09a4 of Object['keys'](_0x8392dd[_0x59d273(0x215)]))_0x8392dd[_0x59d273(0x215)][_0x2c09a4]['forEach'](_0x13bbf9=>{const _0x9fa2e5=_0x59d273;for(let _0x5c7d14=_0x13bbf9['startRow'];_0x5c7d14<=_0x13bbf9[_0x9fa2e5(0xfc)];_0x5c7d14++)for(let _0x3d6d70=_0x13bbf9[_0x9fa2e5(0x237)];_0x3d6d70<=_0x13bbf9[_0x9fa2e5(0x153)];_0x3d6d70++)_0xa64d0d['realDeleteValue'](_0x5c7d14,_0x3d6d70);});}_0x8392dd&&((_0x57aced=(_0x5cf69c=this[_0x59d273(0x187)][_0x59d273(0x107)](_0x4c8f0d))==null?void 0x0:_0x5cf69c[_0x59d273(0x107)](_0x4561ae))==null||_0x57aced[_0x59d273(0x2e6)](_0x47e189)),this[_0x59d273(0x1b7)][_0x59d273(0xb9)]({'unitId':_0x4c8f0d,'subUnitId':_0x4561ae,'valueMatrix':_0xa64d0d,'pivotTableId':_0x47e189,'rangesCache':void 0x0,'type':_0x547aad[_0x59d273(0x1be)]}),this[_0x59d273(0x9f)]['clearExclusiveRangesByGroupId'](_0x4c8f0d,_0x4561ae,Kt,_0x47e189);}[_0x5f289e(0xb8)](_0x15dcd5,_0x217fb3,_0x25f29d){const _0x47cb53=_0x5f289e;var _0x2a356e,_0x1bf703,_0x74e4ce,_0x5a610b,_0x3d799a,_0x2b1048;return this[_0x47cb53(0x187)][_0x47cb53(0x21c)](_0x15dcd5)||this[_0x47cb53(0x187)][_0x47cb53(0x110)](_0x15dcd5,new Map()),(_0x2a356e=this[_0x47cb53(0x187)][_0x47cb53(0x107)](_0x15dcd5))!=null&&_0x2a356e[_0x47cb53(0x21c)](_0x217fb3)||(_0x1bf703=this[_0x47cb53(0x187)][_0x47cb53(0x107)](_0x15dcd5))==null||_0x1bf703[_0x47cb53(0x110)](_0x217fb3,new Map()),(_0x5a610b=(_0x74e4ce=this[_0x47cb53(0x187)][_0x47cb53(0x107)](_0x15dcd5))==null?void 0x0:_0x74e4ce['get'](_0x217fb3))!=null&&_0x5a610b[_0x47cb53(0x21c)](_0x25f29d)||(_0x2b1048=(_0x3d799a=this[_0x47cb53(0x187)][_0x47cb53(0x107)](_0x15dcd5))==null?void 0x0:_0x3d799a[_0x47cb53(0x107)](_0x217fb3))==null||_0x2b1048[_0x47cb53(0x110)](_0x25f29d,{}),this['_pivotRenderInfoCache'][_0x47cb53(0x107)](_0x15dcd5)[_0x47cb53(0x107)](_0x217fb3)[_0x47cb53(0x107)](_0x25f29d);}[_0x5f289e(0x311)](_0x16e6fe,_0x57af8d){const _0x520261=_0x5f289e;var _0x1cac87,_0x9619c;return this[_0x520261(0x283)][_0x520261(0x21c)](_0x16e6fe)||this[_0x520261(0x283)][_0x520261(0x110)](_0x16e6fe,new Map()),(_0x1cac87=this[_0x520261(0x283)][_0x520261(0x107)](_0x16e6fe))!=null&&_0x1cac87['has'](_0x57af8d)||(_0x9619c=this[_0x520261(0x283)]['get'](_0x16e6fe))==null||_0x9619c[_0x520261(0x110)](_0x57af8d,new _0x2cf1b4()),this['_pivotRenderValueMatrixCache'][_0x520261(0x107)](_0x16e6fe)[_0x520261(0x107)](_0x57af8d);}['getPivotTableCellData'](_0x30222b,_0x1501e6,_0x328f6a,_0x3628a5){const _0x277207=_0x5f289e;var _0x416ee5,_0x33d7f7;const _0x19ace8=(_0x33d7f7=(_0x416ee5=this[_0x277207(0x283)][_0x277207(0x107)](_0x30222b))==null?void 0x0:_0x416ee5['get'](_0x1501e6))==null?void 0x0:_0x33d7f7[_0x277207(0x1d8)](_0x328f6a,_0x3628a5);if(_0x19ace8!=null)return _0x19ace8;}['getPivotTableIdByCell'](_0x164c2d,_0x244d79,_0x853f77,_0xf812d4){const _0x1c8789=_0x5f289e;var _0x4391ec;const _0x580b59=_0x27b91b(_0x853f77,_0xf812d4),_0x47bb97=(_0x4391ec=this[_0x1c8789(0x187)][_0x1c8789(0x107)](_0x164c2d))==null?void 0x0:_0x4391ec[_0x1c8789(0x107)](_0x244d79);return _0x47bb97?Array[_0x1c8789(0x286)](_0x47bb97[_0x1c8789(0x1d6)]())['find'](_0xc4762d=>{const _0x1a2fbd=_0x1c8789,_0x57efc0=_0x47bb97[_0x1a2fbd(0x107)](_0xc4762d),_0x22aca7=_0x57efc0==null?void 0x0:_0x57efc0['rangesInfo'];return _0x22aca7?Object[_0x1a2fbd(0x1d6)](_0x22aca7)[_0x1a2fbd(0x1aa)](_0x2b14eb=>_0x22aca7[_0x2b14eb][_0x1a2fbd(0x1aa)](_0xfdad63=>_0x14db58['contains'](_0xfdad63,_0x580b59))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x1c41ae,_0x23e0fd,_0x156ae7){const _0x295bb3=_0x5f289e;var _0x2f6da0;const _0x2c262c=(_0x2f6da0=this[_0x295bb3(0x187)][_0x295bb3(0x107)](_0x1c41ae))==null?void 0x0:_0x2f6da0[_0x295bb3(0x107)](_0x23e0fd),_0x110937=[];return _0x2c262c&&Array[_0x295bb3(0x286)](_0x2c262c[_0x295bb3(0x1d6)]())[_0x295bb3(0x13f)](_0x583043=>{const _0x4872cb=_0x295bb3,_0x3e2c26=_0x2c262c['get'](_0x583043),_0x3bfc88=_0x3e2c26==null?void 0x0:_0x3e2c26['rangesInfo'];if(_0x3bfc88)for(const _0x52fc82 of Object[_0x4872cb(0x1a3)](_0x3bfc88)){let _0x4f92ee=!0x1;for(const _0x45f299 of _0x52fc82)if(_0x14db58[_0x4872cb(0x231)](_0x45f299,_0x156ae7)){_0x110937['push'](_0x583043),_0x4f92ee=!0x0;break;}if(_0x4f92ee)break;}}),_0x110937;}[_0x5f289e(0xf0)](_0x1c9df3,_0x387656){const _0x448fdd=_0x5f289e;var _0x238691,_0x79fc70;return(_0x79fc70=(_0x238691=this[_0x448fdd(0x283)]['get'](_0x1c9df3))==null?void 0x0:_0x238691['get'](_0x387656))!=null?_0x79fc70:new _0x2cf1b4();}[_0x5f289e(0x2cf)](_0x44cbd3,_0x266a93){const _0x22933e=_0x5f289e;var _0x2f13f3;return(_0x2f13f3=this[_0x22933e(0x187)]['get'](_0x44cbd3))==null?void 0x0:_0x2f13f3[_0x22933e(0x107)](_0x266a93);}[_0x5f289e(0x265)](_0x55c0b0,_0x20677c,_0x13154e){const _0x464e2a=_0x5f289e;var _0x4cfd9d,_0x5577f5;return(_0x5577f5=(_0x4cfd9d=this['_pivotRenderInfoCache'][_0x464e2a(0x107)](_0x55c0b0))==null?void 0x0:_0x4cfd9d[_0x464e2a(0x107)](_0x20677c))==null?void 0x0:_0x5577f5[_0x464e2a(0x107)](_0x13154e);}['deleteUnitId'](_0x52a1fd){const _0x4ff64a=_0x5f289e;this['_pivotRenderInfoCache'][_0x4ff64a(0x2e6)](_0x52a1fd),this[_0x4ff64a(0x283)]['delete'](_0x52a1fd);}['markDirty'](_0x5b236e,_0x3afaf3){const _0x532424=_0x5f289e;this[_0x532424(0x27e)]['next']({'unitId':_0x5b236e,'subUnitId':_0x3afaf3});}};Ne=Xi([st(0x0,_0x425448(_0x29a017)),st(0x1,_0x425448(_0x559951)),st(0x2,_0x425448(ve)),st(0x3,_0x425448(_0x412edb)),st(0x4,_0x425448(_0x523a93))],Ne);var Zi=Object[_0x5f289e(0xaf)],es=(_0x467fd1,_0x23dd1f,_0x2bf472,_0x4ef7e4)=>{for(var _0x28c7b8=_0x4ef7e4>0x1?void 0x0:_0x4ef7e4?Zi(_0x23dd1f,_0x2bf472):_0x23dd1f,_0x26ed57=_0x467fd1['length']-0x1,_0x396adb;_0x26ed57>=0x0;_0x26ed57--)(_0x396adb=_0x467fd1[_0x26ed57])&&(_0x28c7b8=_0x396adb(_0x28c7b8)||_0x28c7b8);return _0x28c7b8;},Fo=(_0x1ec532,_0x259453)=>(_0x281a05,_0x2a8d3c)=>_0x259453(_0x281a05,_0x2a8d3c,_0x1ec532);let ie=class extends _0x4882c1{constructor(_0x5cef24,_0x5c53c4){const _0x232b7b=_0x5f289e;super(),x(this,_0x232b7b(0xbf),new _0x3f1c83({'PIVOT_PERFORM_CHECK':be})),x(this,_0x232b7b(0x233),new _0x27ab06({'PIVOT_MUTATION_GENERATE':$o})),(this[_0x232b7b(0x1fd)]=_0x5cef24,this[_0x232b7b(0x2cb)]=_0x5c53c4,this[_0x232b7b(0x24f)]());}[_0x5f289e(0x24f)](){const _0x25bb15=_0x5f289e;this[_0x25bb15(0x240)]();}['getPivotPerformCheck'](_0x107d2c){const _0x490b71=_0x5f289e;return this[_0x490b71(0xbf)][_0x490b71(0x2b8)](be)(!0x1,_0x107d2c);}[_0x5f289e(0x240)](){const _0x351f77=_0x5f289e;this[_0x351f77(0x266)](this['_sheetInterceptorService'][_0x351f77(0x2a3)](_0x3fcea1[_0x351f77(0x264)],{'priority':0xc8,'effect':_0xdc3011['Value']|_0xdc3011[_0x351f77(0x154)],'handler':(_0x376b70,_0x30b31a,_0x4f1a93)=>{const _0x33251b=_0x351f77,{row:_0x13f2f9,col:_0x3e341c,unitId:_0x5a9234,subUnitId:_0x5dba6f,workbook:_0x577a4e}=_0x30b31a,_0x4e6e22=this[_0x33251b(0x2cb)]['getPivotTableCellData'](_0x5a9234,_0x5dba6f,_0x13f2f9,_0x3e341c);if(!_0x4e6e22)return _0x4f1a93(_0x376b70);const _0x30189f={..._0x376b70};(_0x4e6e22['v']||_0x4e6e22['v']===0x0)&&(_0x30189f['v']=_0x4e6e22['v']),_0x4e6e22['t']&&(_0x30189f['t']=_0x4e6e22['t']);const _0x481055=(typeof(_0x376b70==null?void 0x0:_0x376b70['s'])==_0x33251b(0x2f3)?_0x577a4e[_0x33251b(0x258)]()[_0x33251b(0x107)](_0x376b70==null?void 0x0:_0x376b70['s']):_0x376b70==null?void 0x0:_0x376b70['s'])||{},_0x48cb47=_0x577a4e[_0x33251b(0x258)]()[_0x33251b(0x107)](_0x4e6e22['s']),_0xe160e6={..._0x48cb47,..._0x481055};_0x48cb47!=null&&_0x48cb47['n']&&(_0xe160e6['n']=_0x48cb47['n']);const _0x4e8916=_0x577a4e[_0x33251b(0x258)]()[_0x33251b(0x95)](_0xe160e6);return _0x30189f['s']=_0x4e8916,(_0x4e6e22['pbt']===_0x4e0bb6['Collapse']||_0x4e6e22[_0x33251b(0xc6)]===_0x4e0bb6['Expand'])&&(_0x30189f[_0x33251b(0x1c0)]={},_0x30189f[_0x33251b(0x1c0)][_0x33251b(0x14e)]=li),_0x4f1a93(_0x30189f);}}));}};ie=es([Fo(0x0,_0x425448(_0x30f5f2)),Fo(0x1,_0x425448(Ne))],ie);const Qo={'id':_0x5f289e(0x11a),'type':_0x165e2c['MUTATION'],'handler':(_0xdce178,_0x57b715)=>{const _0x1f7dc0=_0x5f289e;if(!_0x57b715)return!0x1;if(!!_0xdce178[_0x1f7dc0(0x107)](_0x3c4550)['getConfig'](z))return!0x0;const {pivotTableId:_0x3419ee,fieldJSON:_0x1d9725,unitId:_0x197075,subUnitId:_0x313cb9}=_0x57b715;let _0x7cd6b2;const {dataFieldType:_0x3603a4,id:_0x194ab7,name:_0x100fb5,hexCode:_0x1e7c3f,originalFieldId:_0x33d4cc}=_0x1d9725;if(_0x3603a4===_0x52305b[_0x1f7dc0(0xb3)]&&(_0x7cd6b2=new _0x26b310(_0x194ab7,_0x100fb5,_0x1e7c3f,_0x33d4cc)),!_0x7cd6b2)return!0x1;const _0x494e95=_0xdce178[_0x1f7dc0(0x107)](J),_0x57743b=_0x494e95['getDataFieldManager'](_0x197075),_0x4e1280=_0x57743b[_0x1f7dc0(0xbb)](_0x3419ee);_0x57743b['addDataFieldWithoutUnitInfo'](_0x7cd6b2),_0x4e1280[_0x1f7dc0(0xd9)](_0x7cd6b2[_0x1f7dc0(0x2f0)](),_0x7cd6b2[_0x1f7dc0(0x127)]());const _0x4e0d6a=_0x4e1280[_0x1f7dc0(0x2b0)](_0x7cd6b2[_0x1f7dc0(0x2aa)]());_0x4e0d6a&&_0x7cd6b2[_0x1f7dc0(0x136)](_0x4e0d6a);const _0x2d9113=_0x494e95['getPivotTableConfig'](_0x197075,_0x313cb9,_0x3419ee);return _0x494e95[_0x1f7dc0(0x152)]({'unitId':_0x197075,'subUnitId':_0x313cb9,'token':_0x3419ee,'type':B[_0x1f7dc0(0x2d7)],'pivotConfig':_0x2d9113}),!0x0;}},Xo={'id':_0x5f289e(0x28f),'type':_0x165e2c[_0x5f289e(0x2fb)],'handler':(_0xa7afdd,_0x30eecc)=>{const _0x20b62f=_0x5f289e;if(!_0x30eecc)return!0x1;if(!!_0xa7afdd[_0x20b62f(0x107)](_0x3c4550)['getConfig'](z))return!0x0;const {pivotTableId:_0x236b09,dataFieldId:_0x306929,unitId:_0x29f9d6,subUnitId:_0x35570c}=_0x30eecc,_0x7240a9=_0xa7afdd[_0x20b62f(0x107)](J),_0x5706cc=_0x7240a9[_0x20b62f(0x13d)](_0x29f9d6);_0x5706cc['getCollection'](_0x236b09)[_0x20b62f(0x101)](_0x306929);let _0x55c38e=!0x0;for(const _0x456acb in _0x5706cc[_0x20b62f(0x10d)])if(_0x5706cc[_0x20b62f(0x10d)][_0x456acb][_0x20b62f(0x1d0)]()[_0x20b62f(0xcb)](_0x306929)){_0x55c38e=!0x1;break;}_0x55c38e&&_0x5706cc[_0x20b62f(0xc5)](_0x306929);const _0x5daa14=_0x7240a9[_0x20b62f(0x9e)](_0x29f9d6,_0x35570c,_0x236b09);return _0x7240a9['addDirtyPivotTable']({'unitId':_0x29f9d6,'subUnitId':_0x35570c,'token':_0x236b09,'type':B[_0x20b62f(0x2d7)],'pivotConfig':_0x5daa14}),!0x0;}};function Nt(_0x3e8cbe,_0x1f7798){const _0x13239f=_0x5f289e;switch(_0x1f7798){case _0x31de81[_0x13239f(0x18a)]:return _0x3e8cbe[_0x13239f(0x220)];case _0x31de81[_0x13239f(0x208)]:return _0x3e8cbe[_0x13239f(0x2d1)];case _0x31de81[_0x13239f(0x2a8)]:return _0x3e8cbe[_0x13239f(0x28e)];case _0x31de81[_0x13239f(0x26e)]:return _0x3e8cbe[_0x13239f(0xea)];default:return[];}}function Ge(_0x2a74e5,_0x5b9d2a){const _0x392e59=_0x5f289e;return _0x2a74e5[_0x392e59(0x17d)][_0x5b9d2a]||_0x2a74e5[_0x392e59(0x2ac)][_0x5b9d2a];}function ts(_0x1113ed,_0x41849e){const _0x46a529=_0x5f289e,{area:_0x340987,fieldJson:_0x14c0f1,index:_0x245aa2}=_0x41849e;_0x340987===_0x31de81[_0x46a529(0x18a)]?_0x1113ed[_0x46a529(0x17d)][_0x14c0f1['id']]=_0x14c0f1:_0x1113ed[_0x46a529(0x2ac)][_0x14c0f1['id']]=_0x14c0f1,Nt(_0x1113ed,_0x340987)['splice'](_0x245aa2,0x0,_0x14c0f1['id']);}function os(_0x596492,_0x26e938){const _0x2d3f38=_0x5f289e,{area:_0x16acea,fieldId:_0x22039f,index:_0x2f8ce9}=_0x26e938;_0x16acea===_0x31de81['Value']?delete _0x596492['measure'][_0x22039f]:delete _0x596492[_0x2d3f38(0x2ac)][_0x22039f],Nt(_0x596492,_0x16acea)[_0x2d3f38(0x2c9)](_0x2f8ce9,0x1);}function ns(_0x2a71f8,_0x2a9ac0){const {fieldId:_0x368aee,name:_0x1df260}=_0x2a9ac0,_0x106e2e=Ge(_0x2a71f8,_0x368aee);_0x106e2e&&(_0x106e2e['displayName']=_0x1df260);}function is(_0x374497,_0x16eb52){const _0x566d1f=_0x5f289e,{fieldId:_0x3447b7,collapse:_0x12dee3,item:_0x17f3ff}=_0x16eb52;_0x17f3ff!==void 0x0?(_0x374497[_0x566d1f(0x248)][_0x3447b7]=_0x374497[_0x566d1f(0x248)][_0x3447b7]||{},_0x374497[_0x566d1f(0x248)][_0x3447b7][_0x17f3ff]=_0x12dee3):_0x374497[_0x566d1f(0x248)][_0x3447b7]=_0x12dee3;}function ss(_0x3623a2,_0x1161ba){const _0x1588ba=_0x5f289e,{fieldId:_0x1c8318,format:_0x4f677a}=_0x1161ba,_0x4d2283=Ge(_0x3623a2,_0x1c8318);_0x4d2283&&(_0x4d2283[_0x1588ba(0x16d)]=_0x4f677a);}function as(_0xec9b04,_0x4a0d29){const _0x529e91=_0x5f289e,{fieldId:_0x488d67,filterInfo:_0x26d753}=_0x4a0d29,_0xfeb5b2=Ge(_0xec9b04,_0x488d67);_0xfeb5b2&&(_0xfeb5b2[_0x529e91(0x1b6)]=_0x26d753);}function rs(_0x50cba4,_0x631355){const _0x5ca40a=_0x5f289e,{fieldId:_0x5473a8,filterInfo:_0x58f8dd}=_0x631355,_0x19eb4c=_0x50cba4['valueFilter'][_0x5ca40a(0x24b)](_0x5f3f87=>_0x5f3f87[_0x5ca40a(0x301)]!==_0x5473a8);_0x58f8dd&&_0x19eb4c[_0x5ca40a(0x288)]({'fieldId':_0x5473a8,'filterInfo':_0x58f8dd}),_0x50cba4[_0x5ca40a(0x217)]=_0x19eb4c;}function ls(_0x57073b,_0x71897){const _0x4446b4=_0x5f289e,{fieldId:_0x44341c,subtotalType:_0x41ffb9}=_0x71897,_0x2b5d38=Ge(_0x57073b,_0x44341c);_0x2b5d38&&(_0x2b5d38[_0x4446b4(0x169)]=_0x41ffb9);}function cs(_0xb35a12,_0x759063){const _0x33d80e=_0x5f289e,{fieldId:_0x4d50cb,oldArea:_0xcebcc,area:_0x35d377,oldIndex:_0x5000cc,index:_0x30e019}=_0x759063,_0x267992=_0xcebcc!==_0x31de81[_0x33d80e(0x18a)]&&_0x35d377===_0x31de81[_0x33d80e(0x18a)],_0x3181f7=_0xcebcc===_0x31de81[_0x33d80e(0x18a)]&&_0x35d377!==_0x31de81[_0x33d80e(0x18a)];if(_0x267992||_0x3181f7){const _0x420ca6=Ge(_0xb35a12,_0x4d50cb);_0x420ca6&&(_0x267992?(delete _0xb35a12[_0x33d80e(0x2ac)][_0x4d50cb],_0xb35a12['measure'][_0x4d50cb]=_0x420ca6):(delete _0xb35a12[_0x33d80e(0x17d)][_0x4d50cb],_0xb35a12[_0x33d80e(0x2ac)][_0x4d50cb]=_0x420ca6));}const _0x519bf6=Nt(_0xb35a12,_0xcebcc),_0x182bed=Nt(_0xb35a12,_0x35d377);_0x519bf6[_0x33d80e(0x2c9)](_0x5000cc,0x1),_0x182bed[_0x33d80e(0x2c9)](_0x30e019,0x0,_0x4d50cb);}function ds(_0x4a2150,_0x3a5e5e){const _0x16c05f=_0x5f289e,{valuePosition:_0x45cf7a,index:_0x4e54c2}=_0x3a5e5e;_0x4a2150[_0x16c05f(0x2c3)]=_0x45cf7a,_0x4a2150[_0x16c05f(0x21d)]=_0x4e54c2;}function us(_0x1ac304,_0x188417){const _0x3a8197=_0x5f289e,{tableFieldId:_0x297ba0,sourceName:_0x5306ec,dataFieldId:_0x19ae0b}=_0x188417,_0x1f27bc=Ge(_0x1ac304,_0x297ba0);_0x1f27bc&&(_0x1f27bc[_0x3a8197(0xff)]=_0x5306ec,_0x1f27bc[_0x3a8197(0x31a)]=_0x19ae0b);}function fs(_0x1dc414,_0x9cd00f){const _0x7edf93=_0x5f289e,{fieldId:_0x41fde0,sortInfo:_0x2bbf7a}=_0x9cd00f,_0xa7de05=Ge(_0x1dc414,_0x41fde0);_0xa7de05&&(_0xa7de05[_0x7edf93(0x2c1)]=_0x2bbf7a);}function gs(_0x42c5a3,_0x543ea6){const _0x2ae51c=_0x5f289e,{options:_0xb884ef}=_0x543ea6;_0x42c5a3['options']={..._0x42c5a3[_0x2ae51c(0x1e6)],..._0xb884ef};}const Jt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x102),'handler'(_0x396147,_0x591111){const _0x41eb8c=_0x5f289e;if(!_0x591111)return!0x1;if(!!_0x396147[_0x41eb8c(0x107)](_0x3c4550)['getConfig'](z))return!0x0;const _0x3eb167=_0x396147['get'](J),{pivotTableId:_0xf36c76,fieldJson:_0x2c40a4,area:_0x1a3e0d,index:_0x1456c6,unitId:_0x3cc94a,subUnitId:_0x36d279}=_0x591111,_0x172f1b=_0x3eb167[_0x41eb8c(0x23e)](_0xf36c76);if(!_0x172f1b)return!0x1;let _0x5decd0;_0x1a3e0d===_0x31de81['Value']?_0x5decd0=_0x4db921(_0x2c40a4):_0x5decd0=_0x1074a5(_0x2c40a4),_0x172f1b['addField'](_0x5decd0,_0x1a3e0d,_0x1456c6);const _0x19db0b=_0x3eb167[_0x41eb8c(0xb6)](_0x3cc94a,_0x36d279,_0xf36c76);ts(_0x19db0b,_0x591111);const _0x51a5c8=_0x3eb167['getPivotTableConfig'](_0x3cc94a,_0x36d279,_0xf36c76);return _0x3eb167[_0x41eb8c(0x152)]({'unitId':_0x3cc94a,'subUnitId':_0x36d279,'token':_0xf36c76,'type':B[_0x41eb8c(0x2d7)],'pivotConfig':_0x51a5c8}),!0x0;}},$t={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x21f),'handler'(_0xbee0f1,_0x36e568){const _0x410621=_0x5f289e;if(!_0x36e568)return!0x1;if(!!_0xbee0f1[_0x410621(0x107)](_0x3c4550)[_0x410621(0x1d2)](z))return!0x0;const _0x44d8ed=_0xbee0f1[_0x410621(0x107)](J),{pivotTableId:_0x1ed497,fieldId:_0x14534b,unitId:_0x19cce3,subUnitId:_0xd3d996}=_0x36e568,_0x47beb2=_0x44d8ed['getPivotTableInstance'](_0x1ed497);if(!_0x47beb2)return!0x1;_0x47beb2['removeField'](_0x14534b);const _0x8ca7b3=_0x44d8ed[_0x410621(0xb6)](_0x19cce3,_0xd3d996,_0x1ed497);os(_0x8ca7b3,_0x36e568);const _0x193fe6=_0x44d8ed[_0x410621(0x9e)](_0x19cce3,_0xd3d996,_0x1ed497);return _0x44d8ed[_0x410621(0x152)]({'unitId':_0x19cce3,'subUnitId':_0xd3d996,'token':_0x1ed497,'type':B[_0x410621(0x2d7)],'pivotConfig':_0x193fe6}),!0x0;}},Gt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x4dd1c5,_0x1bdbbf){const _0x5ca089=_0x5f289e;if(!_0x1bdbbf)return!0x1;if(!!_0x4dd1c5[_0x5ca089(0x107)](_0x3c4550)[_0x5ca089(0x1d2)](z))return!0x0;const _0x4465e2=_0x4dd1c5[_0x5ca089(0x107)](J),{unitId:_0x911fcb,subUnitId:_0x269ce2,pivotTableId:_0x3d2ee2,fieldId:_0x481b99,name:_0x5386a3}=_0x1bdbbf,_0x5556b1=_0x4465e2['getPivotTableInstance'](_0x3d2ee2);if(!_0x5556b1)return!0x1;_0x5556b1[_0x5ca089(0xc0)](_0x481b99,_0x5386a3);const _0x1c774c=_0x4465e2[_0x5ca089(0xb6)](_0x911fcb,_0x269ce2,_0x3d2ee2);return ns(_0x1c774c,_0x1bdbbf),_0x4465e2['addDirtyPivotTable']({'unitId':_0x911fcb,'subUnitId':_0x269ce2,'token':_0x3d2ee2,'type':B['Set']}),!0x0;}},Ht={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0xae),'handler'(_0x3304bc,_0x138d9f){const _0x516bd=_0x5f289e;if(!_0x138d9f)return!0x1;if(!!_0x3304bc[_0x516bd(0x107)](_0x3c4550)[_0x516bd(0x1d2)](z))return!0x0;const _0x33f8e9=_0x3304bc['get'](J),{unitId:_0x109344,subUnitId:_0x1d1cb8,pivotTableId:_0x4a385f,fieldId:_0x1143b9,collapse:_0x5eeda5,item:_0x40ce32}=_0x138d9f,_0x98440a=_0x33f8e9['getPivotTableInstance'](_0x4a385f);if(!_0x98440a)return!0x1;_0x98440a[_0x516bd(0x1e2)](_0x1143b9,_0x5eeda5,_0x40ce32);const _0x3001cf=_0x33f8e9[_0x516bd(0xb6)](_0x109344,_0x1d1cb8,_0x4a385f);return is(_0x3001cf,_0x138d9f),_0x33f8e9[_0x516bd(0x152)]({'unitId':_0x109344,'subUnitId':_0x1d1cb8,'token':_0x4a385f,'type':B[_0x516bd(0x2d7)]}),!0x0;}},Wt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x117),'handler'(_0x5cfb44,_0x55491a){const _0x1d6ddf=_0x5f289e;if(!_0x55491a)return!0x1;if(!!_0x5cfb44[_0x1d6ddf(0x107)](_0x3c4550)[_0x1d6ddf(0x1d2)](z))return!0x0;const _0x1346aa=_0x5cfb44[_0x1d6ddf(0x107)](J),{unitId:_0x187224,subUnitId:_0x854dce,pivotTableId:_0x5e2b27,fieldId:_0x32d581,format:_0x5084ed}=_0x55491a,_0xdacd98=_0x1346aa[_0x1d6ddf(0x23e)](_0x5e2b27);if(!_0xdacd98)return!0x1;_0xdacd98[_0x1d6ddf(0x12f)](_0x32d581,_0x5084ed);const _0x57a82b=_0x1346aa[_0x1d6ddf(0xb6)](_0x187224,_0x854dce,_0x5e2b27);return ss(_0x57a82b,_0x55491a),_0x1346aa[_0x1d6ddf(0x152)]({'unitId':_0x187224,'subUnitId':_0x854dce,'token':_0x5e2b27,'type':B[_0x1d6ddf(0x2d7)]}),!0x0;}},jt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0xb5),'handler'(_0x5e4c95,_0x4f6d4f){const _0x1639b5=_0x5f289e;if(!_0x4f6d4f)return!0x1;if(!!_0x5e4c95['get'](_0x3c4550)[_0x1639b5(0x1d2)](z))return!0x0;const _0x18e702=_0x5e4c95[_0x1639b5(0x107)](J),{unitId:_0x5a8187,subUnitId:_0x2872ad,pivotTableId:_0x1357bc,fieldId:_0x411169,filterInfo:_0x1ad64f}=_0x4f6d4f,_0x4aac29=_0x18e702[_0x1639b5(0x23e)](_0x1357bc);if(!_0x4aac29)return!0x1;_0x4aac29[_0x1639b5(0x243)](_0x411169,_0x1ad64f);const _0x2536a8=_0x18e702[_0x1639b5(0xb6)](_0x5a8187,_0x2872ad,_0x1357bc);return as(_0x2536a8,_0x4f6d4f),_0x18e702[_0x1639b5(0x152)]({'unitId':_0x5a8187,'subUnitId':_0x2872ad,'token':_0x1357bc,'type':B[_0x1639b5(0x2d7)]}),!0x0;}},qt={'type':_0x165e2c['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x464ce1,_0x4f16d2){const _0x389959=_0x5f289e;if(!_0x4f16d2)return!0x1;if(!!_0x464ce1[_0x389959(0x107)](_0x3c4550)['getConfig'](z))return!0x0;const _0xaff530=_0x464ce1['get'](J),{unitId:_0x23c2a6,subUnitId:_0x2ae281,pivotTableId:_0x38c123,options:_0x433b67}=_0x4f16d2,_0x103fab=_0xaff530[_0x389959(0x23e)](_0x38c123);if(!_0x103fab)return!0x1;_0x103fab[_0x389959(0x1cd)](_0x433b67);const _0x56c808=_0xaff530['getPivotTableModelConfig'](_0x23c2a6,_0x2ae281,_0x38c123);return gs(_0x56c808,_0x4f16d2),_0xaff530[_0x389959(0x152)]({'unitId':_0x23c2a6,'subUnitId':_0x2ae281,'token':_0x38c123,'type':B[_0x389959(0x2d7)]}),!0x0;}},Yt={'type':_0x165e2c['MUTATION'],'id':_0x5f289e(0xc7),'handler'(_0x1e2f61,_0x40e189){const _0x4e83b1=_0x5f289e;if(!_0x40e189)return!0x1;if(!!_0x1e2f61[_0x4e83b1(0x107)](_0x3c4550)[_0x4e83b1(0x1d2)](z))return!0x0;const _0x23b7f5=_0x1e2f61[_0x4e83b1(0x107)](J),{unitId:_0xf44652,subUnitId:_0x2f58cc,pivotTableId:_0x301ff2,sortInfo:_0x4a68fd,fieldId:_0x1b9603}=_0x40e189,_0xff42fa=_0x23b7f5[_0x4e83b1(0x23e)](_0x301ff2);if(!_0xff42fa)return!0x1;_0xff42fa[_0x4e83b1(0x2c5)](_0x1b9603,_0x4a68fd);const _0x320c24=_0x23b7f5[_0x4e83b1(0xb6)](_0xf44652,_0x2f58cc,_0x301ff2);return fs(_0x320c24,_0x40e189),_0x23b7f5[_0x4e83b1(0x152)]({'unitId':_0xf44652,'subUnitId':_0x2f58cc,'token':_0x301ff2,'type':B[_0x4e83b1(0x2d7)]}),!0x0;}},zt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x9d),'handler'(_0x2a53ed,_0x2b5401){const _0x3122d6=_0x5f289e;if(!_0x2b5401)return!0x1;if(!!_0x2a53ed[_0x3122d6(0x107)](_0x3c4550)[_0x3122d6(0x1d2)](z))return!0x0;const _0x30043d=_0x2a53ed[_0x3122d6(0x107)](J),{unitId:_0x5e4aa7,subUnitId:_0x4d8757,pivotTableId:_0x5ab1e5,fieldId:_0x4d5ee9,subtotalType:_0x336ba4}=_0x2b5401,_0xdb4cf5=_0x30043d['getPivotTableInstance'](_0x5ab1e5);if(!_0xdb4cf5)return!0x1;_0xdb4cf5[_0x3122d6(0x194)](_0x4d5ee9,_0x336ba4);const _0x323322=_0x30043d[_0x3122d6(0xb6)](_0x5e4aa7,_0x4d8757,_0x5ab1e5);return ls(_0x323322,_0x2b5401),_0x30043d[_0x3122d6(0x152)]({'unitId':_0x5e4aa7,'subUnitId':_0x4d8757,'token':_0x5ab1e5,'type':B['Set']}),!0x0;}},Qt={'type':_0x165e2c['MUTATION'],'id':_0x5f289e(0x2e5),'handler'(_0x25b268,_0x573cb3){const _0x360908=_0x5f289e;if(!_0x573cb3)return!0x1;if(!!_0x25b268['get'](_0x3c4550)[_0x360908(0x1d2)](z))return!0x0;const _0x488b7c=_0x25b268[_0x360908(0x107)](J),{unitId:_0x2da3fa,subUnitId:_0x49ca2f,pivotTableId:_0x313b6f,fieldId:_0x2e8958,filterInfo:_0x8a22d6}=_0x573cb3,_0x12c6f1=_0x488b7c[_0x360908(0x23e)](_0x313b6f);if(!_0x12c6f1)return!0x1;_0x12c6f1['setValueFilterInfo'](_0x2e8958,_0x8a22d6);const _0x48c64c=_0x488b7c['getPivotTableModelConfig'](_0x2da3fa,_0x49ca2f,_0x313b6f);return rs(_0x48c64c,_0x573cb3),_0x488b7c['addDirtyPivotTable']({'unitId':_0x2da3fa,'subUnitId':_0x49ca2f,'token':_0x313b6f,'type':B[_0x360908(0x2d7)]}),!0x0;}},Xt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x259),'handler'(_0x12c853,_0x5505d8){const _0x3375af=_0x5f289e;if(!_0x5505d8)return!0x1;if(!!_0x12c853[_0x3375af(0x107)](_0x3c4550)[_0x3375af(0x1d2)](z))return!0x0;const _0x407edd=_0x12c853['get'](J),{unitId:_0x15c234,subUnitId:_0x12ab4b,pivotTableId:_0x4c3242,area:_0x1aa603,index:_0x25ea37,fieldId:_0x2fd45a}=_0x5505d8,_0x5b032a=_0x407edd[_0x3375af(0x23e)](_0x4c3242);if(!_0x5b032a)return!0x1;_0x5b032a[_0x3375af(0x209)](_0x2fd45a,_0x1aa603,_0x25ea37);const _0x51fbed=_0x407edd[_0x3375af(0xb6)](_0x15c234,_0x12ab4b,_0x4c3242);return cs(_0x51fbed,_0x5505d8),_0x407edd['addDirtyPivotTable']({'unitId':_0x15c234,'subUnitId':_0x12ab4b,'token':_0x4c3242,'type':B[_0x3375af(0x2d7)]}),!0x0;}},Zt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x4658d2,_0x176c98){const _0x58d684=_0x5f289e;if(!_0x176c98)return!0x1;if(!!_0x4658d2[_0x58d684(0x107)](_0x3c4550)[_0x58d684(0x1d2)](z))return!0x0;const _0x471ee=_0x4658d2['get'](J),{unitId:_0x2c8c60,subUnitId:_0x1bbb9c,pivotTableId:_0x26ef2d,sourceName:_0x48f08f,dataFieldId:_0x52513c,tableFieldId:_0x12d2ce}=_0x176c98,_0x681fb4=_0x471ee[_0x58d684(0x23e)](_0x26ef2d);if(!_0x681fb4)return!0x1;_0x681fb4[_0x58d684(0x2f9)](_0x12d2ce,_0x48f08f,_0x52513c);const _0x1b4e6f=_0x471ee[_0x58d684(0xb6)](_0x2c8c60,_0x1bbb9c,_0x26ef2d);return us(_0x1b4e6f,_0x176c98),_0x471ee[_0x58d684(0x152)]({'unitId':_0x2c8c60,'subUnitId':_0x1bbb9c,'token':_0x26ef2d,'type':B[_0x58d684(0x2d7)]}),!0x0;}},eo={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x221),'handler'(_0x51141e,_0x2163dc){const _0x17b9d0=_0x5f289e;if(!_0x2163dc)return!0x1;if(!!_0x51141e[_0x17b9d0(0x107)](_0x3c4550)[_0x17b9d0(0x1d2)](z))return!0x0;const _0x493a07=_0x51141e[_0x17b9d0(0x107)](J),{unitId:_0x54968e,subUnitId:_0x2c5c94,pivotTableId:_0x4c1ac2,valuePosition:_0x26c959,index:_0x5047a2}=_0x2163dc,_0x968606=_0x493a07[_0x17b9d0(0x23e)](_0x4c1ac2);if(!_0x968606)return!0x1;_0x968606[_0x17b9d0(0x271)](_0x26c959,_0x5047a2);const _0x316fe6=_0x493a07[_0x17b9d0(0xb6)](_0x54968e,_0x2c5c94,_0x4c1ac2);return ds(_0x316fe6,_0x2163dc),_0x493a07['addDirtyPivotTable']({'unitId':_0x54968e,'subUnitId':_0x2c5c94,'token':_0x4c1ac2,'type':B[_0x17b9d0(0x2d7)]}),!0x0;}};function Ce(_0x2cb8d7,_0x456f4e,_0x5c7194){const _0x108cdf=_0x5f289e,{pivotTableId:_0x5d4145,unitId:_0x4e6bd9,subUnitId:_0x4945ea}=_0x456f4e,_0x478a54=[],_0x3513ec=[];for(const _0x52f450 of _0x5c7194)switch(_0x52f450[_0x108cdf(0x1be)]){case _0x33ea0e[_0x108cdf(0x2ee)]:{const {fieldJson:_0x2aa009,area:_0x1f6770,index:_0x1b7216}=_0x52f450,_0x3d4a9c={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldJson':_0x2aa009,'area':_0x1f6770,'index':_0x1b7216},_0x44a8fa={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x2aa009['id'],'area':_0x1f6770,'index':_0x1b7216};_0x478a54[_0x108cdf(0x288)]({'id':Jt['id'],'params':_0x3d4a9c}),_0x3513ec['unshift']({'id':$t['id'],'params':_0x44a8fa});}break;case _0x33ea0e[_0x108cdf(0x158)]:{const {fieldId:_0x5df83d,newSubtotalType:_0x49e04b,oldSubtotalType:_0x4bfd45}=_0x52f450,_0x500c5d={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x5df83d,'subtotalType':_0x49e04b};_0x478a54[_0x108cdf(0x288)]({'id':zt['id'],'params':_0x500c5d});const _0x1df09b={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x5df83d,'subtotalType':_0x4bfd45};_0x3513ec[_0x108cdf(0x306)]({'id':zt['id'],'params':_0x1df09b});}break;case _0x33ea0e['RemoveField']:{const {fieldId:_0x1d5454,fieldJson:_0xb53ed,area:_0x2c8989,index:_0x530828}=_0x52f450,_0x3cedeb={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x1d5454,'index':_0x530828,'area':_0x2c8989};_0x478a54[_0x108cdf(0x288)]({'id':$t['id'],'params':_0x3cedeb});const _0x3f7780={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldJson':_0xb53ed,'area':_0x2c8989,'index':_0x530828};_0x3513ec[_0x108cdf(0x306)]({'id':Jt['id'],'params':_0x3f7780});}break;case _0x33ea0e[_0x108cdf(0x268)]:{const {fieldId:_0x5092ab,oldName:_0x10b717,newName:_0x401cc1}=_0x52f450,_0xb6aaf3={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x5092ab,'name':_0x401cc1};_0x478a54['push']({'id':Gt['id'],'params':_0xb6aaf3});const _0x1a55e2={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x5092ab,'name':_0x10b717};_0x3513ec[_0x108cdf(0x306)]({'id':Gt['id'],'params':_0x1a55e2});}break;case _0x33ea0e[_0x108cdf(0x2ca)]:{const {fieldId:_0x48a309,oldFilterInfo:_0x3b29e5,newFilterInfo:_0x3f06a8}=_0x52f450,_0x398332={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x48a309,'filterInfo':_0x3f06a8};_0x478a54[_0x108cdf(0x288)]({'id':jt['id'],'params':_0x398332});const _0x137181={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x48a309,'filterInfo':_0x3b29e5};_0x3513ec['unshift']({'id':jt['id'],'params':_0x137181});}break;case _0x33ea0e[_0x108cdf(0x204)]:{const {fieldId:_0x36d860,oldSortInfo:_0x31e1ed,newSortInfo:_0x216284}=_0x52f450,_0xc8a265={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x36d860,'sortInfo':_0x216284};_0x478a54[_0x108cdf(0x288)]({'id':Yt['id'],'params':_0xc8a265});const _0x12c352={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x36d860,'sortInfo':_0x31e1ed};_0x3513ec[_0x108cdf(0x306)]({'id':Yt['id'],'params':_0x12c352});}break;case _0x33ea0e[_0x108cdf(0x147)]:{const {oldOptions:_0x714de,newOptions:_0x3d5046}=_0x52f450,_0xb06682={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'options':_0x3d5046};_0x478a54[_0x108cdf(0x288)]({'id':qt['id'],'params':_0xb06682});const _0x5e3165={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'options':_0x714de};_0x3513ec[_0x108cdf(0x306)]({'id':qt['id'],'params':_0x5e3165});}break;case _0x33ea0e[_0x108cdf(0x1c5)]:{const {oldArea:_0x2c9169,newArea:_0x6666af,oldIndex:_0x257b5c,newIndex:_0xc4b24f,fieldId:_0x565e61}=_0x52f450,_0x2329e5={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x565e61,'area':_0x6666af,'index':_0xc4b24f,'oldArea':_0x2c9169,'oldIndex':_0x257b5c};_0x478a54['push']({'id':Xt['id'],'params':_0x2329e5});const _0x5d82c4={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x565e61,'area':_0x2c9169,'index':_0x257b5c,'oldArea':_0x6666af,'oldIndex':_0xc4b24f};_0x3513ec['unshift']({'id':Xt['id'],'params':_0x5d82c4});}break;case _0x33ea0e[_0x108cdf(0x274)]:{const {oldValuePosition:_0x5c4262,newValuePosition:_0x442aad,oldIndex:_0x46c273,newIndex:_0x496fd6}=_0x52f450,_0x2e8c09={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'valuePosition':_0x442aad,'index':_0x496fd6};_0x478a54['push']({'id':eo['id'],'params':_0x2e8c09});const _0x3f13d9={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'valuePosition':_0x5c4262,'index':_0x46c273};_0x3513ec['unshift']({'id':eo['id'],'params':_0x3f13d9});}break;case _0x33ea0e['SetCollapse']:{const {fieldId:_0x5f4dc0,collapse:_0x51e21a,item:_0x4cd9ec}=_0x52f450,_0x56f27f={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x5f4dc0,'collapse':_0x51e21a,'item':_0x4cd9ec};_0x478a54[_0x108cdf(0x288)]({'id':Ht['id'],'params':_0x56f27f});const _0x601e33={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x5f4dc0,'collapse':!_0x51e21a,'item':_0x4cd9ec};_0x3513ec[_0x108cdf(0x306)]({'id':Ht['id'],'params':_0x601e33});}break;case _0x33ea0e[_0x108cdf(0x26a)]:{const {newFormat:_0x463e3d,oldFormat:_0x36c1bf,fieldId:_0x9f82b2}=_0x52f450,_0x141589={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x9f82b2,'format':_0x463e3d};_0x478a54['push']({'id':Wt['id'],'params':_0x141589});const _0x54f788={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0x9f82b2,'format':_0x36c1bf};_0x3513ec[_0x108cdf(0x306)]({'id':Wt['id'],'params':_0x54f788});}break;case _0x33ea0e[_0x108cdf(0x2fc)]:{const {tableFieldId:_0xe8d60b,oldSourceName:_0x5d4275,newSourceName:_0x1d62f5,oldDataFieldId:_0xe4a9a6,newDataFieldId:_0x5f32a4}=_0x52f450,_0x4d8066={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'tableFieldId':_0xe8d60b,'sourceName':_0x1d62f5,'dataFieldId':_0x5f32a4};_0x478a54[_0x108cdf(0x288)]({'id':Zt['id'],'params':_0x4d8066});const _0x22dfc4={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'tableFieldId':_0xe8d60b,'sourceName':_0x5d4275,'dataFieldId':_0xe4a9a6};_0x3513ec[_0x108cdf(0x306)]({'id':Zt['id'],'params':_0x22dfc4});}break;case _0x33ea0e[_0x108cdf(0x106)]:{const {fieldId:_0xecb98c,filterInfo:_0x538843,oldFilterInfo:_0x48aa37}=_0x52f450,_0x32cc1={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0xecb98c,'filterInfo':_0x538843};_0x478a54[_0x108cdf(0x288)]({'id':Qt['id'],'params':_0x32cc1});const _0xdea0fe={'unitId':_0x4e6bd9,'subUnitId':_0x4945ea,'pivotTableId':_0x5d4145,'fieldId':_0xecb98c,'filterInfo':_0x48aa37};_0x3513ec[_0x108cdf(0x306)]({'id':Qt['id'],'params':_0xdea0fe});}}return{'redos':_0x478a54,'undos':_0x3513ec};}function we(_0xa2ecfc,_0x52606e){const _0x11f0cc=_0x5f289e;var _0x1632a0;const _0x1faf9e=_0xa2ecfc['get'](ie),{cellInfo:_0x27b11c,view:_0x1fc8ae,isEmpty:_0x7f4a05}=_0x52606e;return(_0x1632a0=_0x1faf9e[_0x11f0cc(0x233)][_0x11f0cc(0x284)]($o)(Po,{'cellInfo':_0x27b11c,'view':_0x1fc8ae,'isEmpty':_0x7f4a05}))!=null?_0x1632a0:Po;}const hs={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x226),async 'handler'(_0xbc6728,_0x36f690){const _0x4c7712=_0x5f289e;if(!_0x36f690)return!0x1;const _0x554fd5=_0xbc6728[_0x4c7712(0x107)](_0x1db6fa),_0x35f7d7=_0xbc6728['get'](X),_0x104a52=_0xbc6728[_0x4c7712(0x107)](_0x276b9d),{pivotTableId:_0xb6c324,dataFieldId:_0x4aff39,fieldArea:_0x78608,index:_0x15455f,unitId:_0x5dd8c6,subUnitId:_0x31e89b}=_0x36f690,_0x24919d=(await _0x35f7d7[_0x4c7712(0x250)]({'unitId':_0x5dd8c6,'subUnitId':_0x31e89b,'pivotTableId':_0xb6c324,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x4aff39,'fieldArea':_0x78608,'index':_0x15455f}}}))['result'][_0x4c7712(0x1ff)];if(!_0x24919d)return!0x1;const {view:_0x48511d,changesets:_0x15d745,isEmpty:_0x2ea5e9,pivotTableConfig:_0x442ba2,shouldBeAddedGroupJSON:_0x1862c6}=_0x24919d,_0x19c660=_0x442ba2[_0x4c7712(0x1f7)],_0x3b0f1e=new _0x21b750();_0x3b0f1e[_0x4c7712(0x15c)](_0x48511d);const _0x284955={'cellInfo':_0x19c660,'view':_0x3b0f1e,'isEmpty':_0x2ea5e9};if(!await _0xbc6728[_0x4c7712(0x107)](ie)['asyncInterceptor'][_0x4c7712(0x2b8)](be)(!0x0,_0x284955))return!0x1;const _0x31363d=Fe(_0xbc6728,_0x3b0f1e,_0x19c660,_0x2ea5e9),_0x5d2625=we(_0xbc6728,_0x284955),{undos:_0x154d49,redos:_0x3cca20}=Ce(_0x554fd5,{'pivotTableId':_0xb6c324,'unitId':_0x5dd8c6,'subUnitId':_0x31e89b},_0x15d745);return _0x1862c6&&(_0x3cca20[_0x4c7712(0x306)]({'id':Qo['id'],'params':{'pivotTableId':_0xb6c324,'fieldJSON':_0x1862c6,'unitId':_0x5dd8c6,'subUnitId':_0x31e89b}}),_0x154d49[_0x4c7712(0x288)]({'id':Xo['id'],'params':{'pivotTableId':_0xb6c324,'dataFieldId':_0x1862c6['id'],'unitId':_0x5dd8c6,'subUnitId':_0x31e89b}})),_0x3893c9([..._0x31363d[_0x4c7712(0x141)],..._0x5d2625[_0x4c7712(0x141)],..._0x3cca20],_0x554fd5),_0x104a52[_0x4c7712(0x201)]({'unitID':_0x5dd8c6,'redoMutations':[..._0x31363d[_0x4c7712(0x141)],..._0x5d2625[_0x4c7712(0x141)],..._0x3cca20],'undoMutations':[..._0x31363d[_0x4c7712(0x1f2)],..._0x5d2625[_0x4c7712(0x1f2)],..._0x154d49]}),!0x0;}},vs=()=>typeof process<'u'&&process[_0x5f289e(0x297)]!=null&&process[_0x5f289e(0x297)][_0x5f289e(0x94)]!=null,It={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x282),'handler'(_0x34807a,_0x4001a1){const _0x1885df=_0x5f289e;var _0x19c395;if(!_0x4001a1)return!0x1;const _0x450a88=_0x34807a[_0x1885df(0x107)](_0x3c4550);if(!!_0x450a88['getConfig'](z))return!0x0;const _0x5e9570=_0x34807a['get'](_0x412edb),_0x1d068d=_0x34807a[_0x1885df(0x107)](J),{pivotTableId:_0x45837a,pivotTableConfig:_0x20f7ec,collectionConfig:_0x24da7c,unitId:_0x23db27,subUnitId:_0x48d6bc}=_0x4001a1,{sourceRangeInfo:_0x5c82f4,fieldsConfig:_0x50cd14,targetCellInfo:_0x582d04}=_0x20f7ec,_0x416c06=_0x5e9570[_0x1885df(0xd8)](_0x23db27);if(!_0x416c06||!_0x416c06[_0x1885df(0x312)](_0x48d6bc))return!0x1;if(!vs()){let _0xb975af=0x0;_0x416c06[_0x1885df(0xd3)]()['forEach'](_0x4da7e8=>{const _0x2e411b=_0x1885df;var _0x3e31a9,_0x11e05b;_0xb975af+=(_0x11e05b=(_0x3e31a9=_0x1d068d['getSubUnitPivotConfigs'](_0x23db27,_0x4da7e8[_0x2e411b(0xe9)]()))==null?void 0x0:_0x3e31a9['size'])!=null?_0x11e05b:0x0;});const _0x2b5278=(_0x19c395=_0x450a88['getConfig'](_0x5b5fe1))!=null?_0x19c395:{},{ls:_0x1ed76a,pbk:_0x39f9cb}=_0x2b5278;if(!jo(_0x1ed76a,_0x39f9cb))throw new _0x57b5fe(_0x1885df(0x138));const _0x3d4a86=go(so,_0x1ed76a,_0x39f9cb)['count'];if(_0xb975af>=_0x3d4a86)throw new _0x57b5fe('limit\x20pivot');}if(!_0x24da7c||!_0x50cd14)return!0x1;const {collection:_0x6b1398,updateDataFieldList:_0x43a8c1}=_0x1d068d[_0x1885df(0x146)](_0x45837a,_0x24da7c,_0x5c82f4,_0x582d04);_0x1d068d[_0x1885df(0x143)](_0x6b1398,_0x43a8c1,_0x5c82f4);const _0x396c7f=new _0x5257d7(_0x6b1398,void 0x0,_0x45837a);_0x396c7f[_0x1885df(0x1dd)](_0x50cd14);const _0x36aa91=JSON[_0x1885df(0x21b)](JSON[_0x1885df(0x12b)](_0x20f7ec));return _0x1d068d[_0x1885df(0x1b0)](_0x23db27,_0x48d6bc,_0x45837a,_0x396c7f,_0x36aa91),_0x1d068d['addDirtyPivotTable']({'unitId':_0x23db27,'subUnitId':_0x48d6bc,'token':_0x45837a,'type':B[_0x1885df(0x188)],'pivotConfig':_0x36aa91}),!0x0;}},ps={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0xf3),async 'handler'(_0x27a77c,_0x481e29){const _0x4d319a=_0x5f289e;if(!_0x481e29)return!0x1;const {sourceDataInfo:_0x31c991,pivotTableConfig:_0x19d36a}=_0x481e29;if(!_0x31c991||!_0x19d36a)return!0x1;const {unitId:_0x2d2483,subUnitId:_0x18840d,range:_0x41bb8d}=_0x31c991,_0xe3236d=_0x27a77c[_0x4d319a(0x107)](_0x412edb),_0x47a899=_0x27a77c[_0x4d319a(0x107)](X),_0x5dba72=_0x27a77c[_0x4d319a(0x107)](_0x29a017),_0x1c3639=_0x27a77c[_0x4d319a(0x107)](_0x1db6fa),_0x78803c=_0xe3236d[_0x4d319a(0xd8)](_0x2d2483);if(!_0x78803c)return!0x1;const _0x5c78e7=_0x78803c[_0x4d319a(0x312)](_0x18840d);if(!_0x5c78e7)return!0x1;const _0x1f1412=_0xdc8474(0x8),_0x352d3c=_0x41bb8d||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5c78e7['getRowCount']()-0x1,'endColumn':_0x5c78e7[_0x4d319a(0x224)]()-0x1};_0x352d3c[_0x4d319a(0x25d)]=_0xe5322f[_0x4d319a(0x1e7)];const _0x54a9db=(await _0x47a899[_0x4d319a(0x250)]({'unitId':_0x2d2483,'subUnitId':_0x18840d,'pivotTableId':_0x1f1412,'params':{'type':k[_0x4d319a(0x2d8)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2d2483,'sheetName':_0x5c78e7['getName'](),'subUnitId':_0x18840d,'range':_0x352d3c},'pivotTableId':_0x1f1412,'pivotTableIndexConfig':_0x19d36a}}}))[_0x4d319a(0x1e9)][_0x4d319a(0x1fc)];if(!_0x54a9db)return!0x1;const {isEmpty:_0x4037a1,fieldsConfig:_0x7f1cae,collectionConfig:_0x477502,changesets:_0x4066e9}=_0x54a9db,_0x383f77=_0x78803c[_0x4d319a(0xd3)]()[_0x4d319a(0x294)],_0x3dc3e4=_0x574450({'rowCount':_0x5c78e7[_0x4d319a(0x23a)]()-0x1,'columnCount':_0x5c78e7[_0x4d319a(0x224)]()-0x1});_0x3dc3e4['id']=_0x3c4202(),_0x3dc3e4['name']=_0x78803c[_0x4d319a(0xdc)](''+_0x5dba72['t'](_0x4d319a(0x1ca)));const _0x51809f={'index':_0x383f77,'sheet':_0x3dc3e4,'unitId':_0x2d2483},{redos:_0x185163}=Ce(_0x1c3639,{'pivotTableId':_0x1f1412,'unitId':_0x2d2483,'subUnitId':_0x3dc3e4['id']},_0x4066e9),_0x3d4811=[{'id':_0x417b96['id'],'params':_0x51809f},{'id':It['id'],'params':{'unitId':_0x2d2483,'subUnitId':_0x3dc3e4['id'],'pivotTableId':_0x1f1412,'pivotTableConfig':{'isEmpty':_0x4037a1,'fieldsConfig':_0x7f1cae,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2d2483,'subUnitId':_0x3dc3e4['id']},'sourceRangeInfo':{'subUnitId':_0x18840d,'unitId':_0x2d2483,'range':_0x352d3c,'sheetName':_0x5c78e7['getName']()}},'collectionConfig':_0x477502}},..._0x185163];return _0x3893c9(_0x3d4811,_0x1c3639),!0x0;}},Et={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0x11f),'handler'(_0x11fc92,_0xcb76a5){const _0x10ce42=_0x5f289e;if(!_0xcb76a5)return!0x1;if(!!_0x11fc92[_0x10ce42(0x107)](_0x3c4550)[_0x10ce42(0x1d2)](z))return!0x0;const {pivotTableId:_0xf0693,unitId:_0x561e8f,subUnitId:_0x58a7d4}=_0xcb76a5,_0x276a57=_0x11fc92[_0x10ce42(0x107)](J);return _0x276a57['getPivotTableConfig'](_0x561e8f,_0x58a7d4,_0xf0693)?(_0x276a57[_0x10ce42(0x152)]({'unitId':_0x561e8f,'subUnitId':_0x58a7d4,'token':_0xf0693,'type':B[_0x10ce42(0x28b)]}),_0x276a57[_0x10ce42(0x1c8)](_0x561e8f,_0x58a7d4,_0xf0693),!0x0):!0x1;}},Cs={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0xfa),async 'handler'(_0x766cf9,_0x2e65a2){const _0x26e5d1=_0x5f289e;var _0x3b028d,_0x1570ec;const _0x3f0a7d=_0x766cf9[_0x26e5d1(0x107)](_0x1db6fa),_0x515813=_0x766cf9[_0x26e5d1(0x107)](_0x412edb),_0x18c362=_0x766cf9[_0x26e5d1(0x107)](_0x29a017),_0x4e544c=_0x766cf9[_0x26e5d1(0x107)](X),_0x585bf4=_0x766cf9[_0x26e5d1(0x107)](_0x276b9d),_0x240e9d=_0x766cf9[_0x26e5d1(0x107)](ve),_0x55a466=_0x766cf9['get'](_0x3c4550);if(!_0x2e65a2)return!0x1;const {pivotTableConfig:_0x203fd4,positionType:_0xe1a93a}=_0x2e65a2,{targetCellInfo:_0x3f3ab6,sourceRangeInfo:_0x481b1f}=_0x203fd4,{unitId:_0x33003b,subUnitId:_0x8ce151}=_0x3f3ab6,_0x29a7ed=_0x515813['getUnit'](_0x33003b);if(!_0x29a7ed)return!0x1;let _0x4ddede=0x0;_0x29a7ed[_0x26e5d1(0xd3)]()['forEach'](_0xd4bb75=>{const _0x13ac97=_0x26e5d1;var _0x1b3b8f,_0x48a4e8;_0x4ddede+=(_0x48a4e8=(_0x1b3b8f=_0x240e9d[_0x13ac97(0x98)](_0x33003b,_0xd4bb75['getSheetId']()))==null?void 0x0:_0x1b3b8f[_0x13ac97(0x25a)])!=null?_0x48a4e8:0x0;});const _0x44c996=(_0x3b028d=_0x55a466[_0x26e5d1(0x1d2)](_0x5b5fe1))!=null?_0x3b028d:{},{ls:_0x8eca41,pbk:_0x4559ea}=_0x44c996;if(!jo(_0x8eca41,_0x4559ea))return!0x1;const _0x34dc22=go(so,_0x8eca41,_0x4559ea)[_0x26e5d1(0x277)];if(_0x4ddede>=_0x34dc22)return!0x1;const _0x585872=_0x2e65a2[_0x26e5d1(0x2f6)]||_0xdc8474(0x8),_0xdd2e19=(await _0x4e544c[_0x26e5d1(0x250)]({'unitId':_0x33003b,'subUnitId':_0x8ce151,'pivotTableId':_0x585872,'params':{'type':k[_0x26e5d1(0x1bf)],'addPivotTable':{'sourceRangeInfo':_0x481b1f,'pivotTableId':_0x585872}}}))['result']['addPivotTable'];if(!_0xdd2e19)return!0x1;const {view:_0xe53f2a,isEmpty:_0x2ea374,fieldsConfig:_0x4470c7,collectionConfig:_0x5ba976}=_0xdd2e19,_0x5c31f5=[],_0xaaea5b=[];if(_0xe1a93a===Lo[_0x26e5d1(0x145)]){const _0xfef445=_0x29a7ed['getSheets']()['length'],_0x43d47d=_0x574450({});_0x43d47d['id']=_0x203fd4[_0x26e5d1(0x1f7)][_0x26e5d1(0x14d)],_0x43d47d[_0x26e5d1(0x25f)]=(_0x1570ec=_0x203fd4[_0x26e5d1(0x1f7)][_0x26e5d1(0x1ad)])!=null?_0x1570ec:_0x29a7ed[_0x26e5d1(0xdc)](''+_0x18c362['t']('sheets.tabs.sheet'));const _0x5520e2={'index':_0xfef445,'sheet':_0x43d47d,'unitId':_0x33003b},_0x55234e=_0x55ec9a(_0x766cf9,_0x5520e2);_0x5c31f5[_0x26e5d1(0x288)]({'id':_0x3bb39d['id'],'params':_0x55234e}),_0xaaea5b[_0x26e5d1(0x288)]({'id':_0x26d162['id'],'params':_0x5520e2});}else{if(!_0x29a7ed[_0x26e5d1(0x312)](_0x8ce151))return!0x1;const _0x178fa4=Fe(_0x766cf9,new _0x21b750(),_0x3f3ab6,!0x0);_0xaaea5b['push'](..._0x178fa4['redos']),_0x5c31f5['push'](..._0x178fa4[_0x26e5d1(0x1f2)]);const _0x359868={'cellInfo':_0x3f3ab6,'view':_0xe53f2a,'isEmpty':_0x2ea374};if(!await _0x766cf9['get'](ie)[_0x26e5d1(0xbf)][_0x26e5d1(0x2b8)](be)(!0x0,_0x359868))return!0x1;const _0x3716cb=we(_0x766cf9,_0x359868);_0xaaea5b[_0x26e5d1(0x288)](..._0x3716cb['redos']),_0x5c31f5['push'](..._0x3716cb[_0x26e5d1(0x1f2)]);}return _0xaaea5b[_0x26e5d1(0x288)]({'id':It['id'],'params':{'unitId':_0x3f3ab6['unitId'],'subUnitId':_0x3f3ab6[_0x26e5d1(0x14d)],'pivotTableId':_0x585872,'pivotTableConfig':{'targetCellInfo':_0x3f3ab6,'sourceRangeInfo':_0x481b1f,'fieldsConfig':_0x4470c7},'collectionConfig':_0x5ba976}}),_0x5c31f5[_0x26e5d1(0x306)]({'id':Et['id'],'params':{'unitId':_0x33003b,'subUnitId':_0x8ce151,'pivotTableId':_0x585872}}),_0x3893c9(_0xaaea5b,_0x3f0a7d)&&_0x585bf4['pushUndoRedo']({'unitID':_0x33003b,'undoMutations':_0x5c31f5,'redoMutations':_0xaaea5b}),!0x0;}},ms={'type':_0x165e2c['COMMAND'],'id':_0x5f289e(0x1ae),async 'handler'(_0x116fd9,_0xb0a75a){const _0x44f994=_0x5f289e;if(!_0xb0a75a)return!0x1;const _0x1d2c5b=_0x116fd9[_0x44f994(0x107)](_0x1db6fa),_0x139307=_0x116fd9['get'](X),_0x360204=_0x116fd9[_0x44f994(0x107)](_0x276b9d),{pivotTableId:_0xee6414,fieldId:_0x2fb5a0,area:_0x2895fa,index:_0x1d3877,unitId:_0x554721,subUnitId:_0x291bb4}=_0xb0a75a,_0x376b4a=(await _0x139307[_0x44f994(0x250)]({'unitId':_0x554721,'subUnitId':_0x291bb4,'pivotTableId':_0xee6414,'params':{'type':k[_0x44f994(0xac)],'movePivotField':{'fieldId':_0x2fb5a0,'area':_0x2895fa,'index':_0x1d3877}}}))[_0x44f994(0x1e9)][_0x44f994(0xc8)];if(!_0x376b4a)return!0x1;const {changesets:_0x311a72,view:_0x5b197a,isEmpty:_0x287cec,pivotTableConfig:_0x53d3a0}=_0x376b4a,_0x4a5703=_0x53d3a0[_0x44f994(0x1f7)],_0x5a0b44=new _0x21b750();_0x5a0b44[_0x44f994(0x15c)](_0x5b197a);const _0x20b685={'cellInfo':_0x4a5703,'view':_0x5a0b44,'isEmpty':_0x287cec};if(!await _0x116fd9[_0x44f994(0x107)](ie)[_0x44f994(0xbf)][_0x44f994(0x2b8)](be)(!0x0,_0x20b685))return!0x1;const _0x1d32bb=Fe(_0x116fd9,_0x5a0b44,_0x4a5703,_0x287cec),_0x1b5bc7=we(_0x116fd9,_0x20b685),{redos:_0x2bddb7,undos:_0x248d39}=Ce(_0x1d2c5b,{'pivotTableId':_0xee6414,'unitId':_0x554721,'subUnitId':_0x291bb4},_0x311a72);return _0x3893c9([..._0x1d32bb[_0x44f994(0x141)],..._0x1b5bc7['redos'],..._0x2bddb7],_0x1d2c5b),_0x360204[_0x44f994(0x201)]({'unitID':_0x554721,'redoMutations':[..._0x1d32bb[_0x44f994(0x141)],..._0x1b5bc7[_0x44f994(0x141)],..._0x2bddb7],'undoMutations':[..._0x1d32bb[_0x44f994(0x1f2)],..._0x1b5bc7[_0x44f994(0x1f2)],..._0x248d39]}),!0x0;}},pt={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':_0x5f289e(0xb1),'handler'(_0x51145e,_0x15cc79){const _0x20ccaa=_0x5f289e;if(!_0x15cc79)return!0x1;if(!!_0x51145e['get'](_0x3c4550)[_0x20ccaa(0x1d2)](z))return!0x0;const {pivotTableId:_0x506348,targetCellPosition:_0x5504f3,unitId:_0x5c1b8e,subUnitId:_0x3f355a}=_0x15cc79,_0x2ea0e2=_0x51145e[_0x20ccaa(0x107)](J);if(!_0x2ea0e2[_0x20ccaa(0x23e)](_0x15cc79[_0x20ccaa(0x2f6)]))return!0x1;const _0x36a003=_0x2ea0e2[_0x20ccaa(0xe1)](_0x506348);if(!_0x36a003)return!0x1;const _0x201e0c=_0x2ea0e2[_0x20ccaa(0xbb)](_0x36a003['unitId'],_0x15cc79[_0x20ccaa(0x2f6)]);if(!_0x201e0c)return!0x1;const _0x215d55=_0x2ea0e2[_0x20ccaa(0x9e)](_0x36a003[_0x20ccaa(0x2e0)],_0x36a003[_0x20ccaa(0x14d)],_0x506348);if(!_0x215d55)return!0x1;const _0x347f46=_0x52fc9f['deepClone'](_0x215d55);_0x347f46[_0x20ccaa(0x1f7)]={'unitId':_0x5c1b8e,'subUnitId':_0x3f355a,'row':_0x5504f3[_0x20ccaa(0x1e1)],'col':_0x5504f3[_0x20ccaa(0x1de)]};const _0x38f426=_0x201e0c[_0x20ccaa(0xde)]();if(_0x36a003[_0x20ccaa(0x14d)]===_0x3f355a&&_0x36a003[_0x20ccaa(0x2e0)]===_0x5c1b8e)_0x2ea0e2[_0x20ccaa(0x113)](_0x5c1b8e,_0x3f355a,_0x506348,_0x347f46),_0x2ea0e2[_0x20ccaa(0x152)]({'unitId':_0x5c1b8e,'subUnitId':_0x3f355a,'token':_0x506348,'type':B[_0x20ccaa(0x2d7)]});else{_0x2ea0e2[_0x20ccaa(0x152)]({'unitId':_0x36a003[_0x20ccaa(0x2e0)],'subUnitId':_0x36a003[_0x20ccaa(0x14d)],'token':_0x506348,'type':B[_0x20ccaa(0x28b)]}),_0x2ea0e2[_0x20ccaa(0x1c8)](_0x36a003[_0x20ccaa(0x2e0)],_0x36a003[_0x20ccaa(0x14d)],_0x506348);const _0x85aff1=_0x2ea0e2[_0x20ccaa(0x146)](_0x506348,_0x38f426,_0x215d55[_0x20ccaa(0x305)],_0x347f46[_0x20ccaa(0x1f7)]),_0x1d0db2=new _0x5257d7(_0x85aff1[_0x20ccaa(0x227)],void 0x0,_0x506348);_0x1d0db2[_0x20ccaa(0x1dd)](_0x347f46[_0x20ccaa(0x2ff)]),_0x2ea0e2[_0x20ccaa(0x1b0)](_0x5c1b8e,_0x3f355a,_0x506348,_0x1d0db2,_0x347f46),_0x2ea0e2[_0x20ccaa(0x152)]({'unitId':_0x5c1b8e,'subUnitId':_0x3f355a,'token':_0x506348,'type':B[_0x20ccaa(0x188)],'pivotConfig':_0x347f46});}return!0x0;}},Is={'type':_0x165e2c['COMMAND'],'id':'sheet.command.move-pivot-table','handler':(_0x20b98d,_0x141834)=>{const _0x43df2b=_0x5f289e,_0x572065=_0x20b98d[_0x43df2b(0x107)](_0x1db6fa),_0x2e1bbf=_0x20b98d[_0x43df2b(0x107)](_0x276b9d),_0x2a1c9d=_0x20b98d[_0x43df2b(0x107)](ve),_0xcdacb1=_0x20b98d['get'](_0x412edb);if(!_0x141834)return!0x1;const _0x1d2129=_0x1681e1(_0xcdacb1);if(!_0x1d2129)return!0x1;const {unitId:_0x856f52,subUnitId:_0x9784f6,workbook:_0x5cfcf8}=_0x1d2129,_0x1dc10c=_0x2a1c9d['getPivotTableConfig'](_0x141834[_0x43df2b(0x213)][_0x43df2b(0x2e0)],_0x141834[_0x43df2b(0x213)][_0x43df2b(0x14d)],_0x141834[_0x43df2b(0x2f6)]);if(!_0x1dc10c)return!0x1;const _0x249797=_0x5cfcf8['getSheetBySheetId'](_0x141834['targetCellInfo'][_0x43df2b(0x14d)]);if(!_0x249797)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x300ff2=_0x249797[_0x43df2b(0x23a)](),_0x2be5af=_0x249797[_0x43df2b(0x224)]();if(_0x141834[_0x43df2b(0x1f7)][_0x43df2b(0x1e1)]>_0x300ff2||_0x141834[_0x43df2b(0x1f7)][_0x43df2b(0x1de)]>_0x2be5af)throw new Error(_0x43df2b(0x23b));const _0x53e09d=[{'id':pt['id'],'params':{'unitId':_0x856f52,'subUnitId':_0x141834['targetCellInfo'][_0x43df2b(0x14d)],'pivotTableId':_0x141834[_0x43df2b(0x2f6)],'targetCellPosition':{'row':_0x141834['targetCellInfo'][_0x43df2b(0x1e1)],'col':_0x141834[_0x43df2b(0x1f7)]['col']}}}],_0x4712fa=[{'id':pt['id'],'params':{'unitId':_0x856f52,'subUnitId':_0x9784f6,'pivotTableId':_0x141834['pivotTableId'],'targetCellPosition':{'row':_0x1dc10c['targetCellInfo'][_0x43df2b(0x1e1)],'col':_0x1dc10c[_0x43df2b(0x1f7)][_0x43df2b(0x1de)]}}}];return _0x3893c9(_0x53e09d,_0x572065)&&_0x2e1bbf[_0x43df2b(0x201)]({'unitID':_0x856f52,'undoMutations':_0x4712fa,'redoMutations':_0x53e09d}),!0x0;}},bs={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x168),async 'handler'(_0x43c9e5,_0x14b54f){const _0x1ec97e=_0x5f289e;var _0xff9cd9;if(!_0x14b54f)return!0x1;const _0x3c1369=_0x43c9e5[_0x1ec97e(0x107)](_0x412edb),_0xf9c65e=_0x1681e1(_0x3c1369);if(!_0xf9c65e)return!0x1;const {unitId:_0x574979,subUnitId:_0x106dce,workbook:_0x4a0e46}=_0xf9c65e,{row:_0x1bfff0,col:_0x35f58d}=_0x14b54f,_0x4e282c=_0x43c9e5['get'](Ne),_0x50d9e1=_0x4e282c[_0x1ec97e(0x290)](_0x574979,_0x106dce,_0x1bfff0,_0x35f58d);if(!_0x50d9e1)return!0x1;const _0x5db3b5=(_0xff9cd9=_0x4e282c[_0x1ec97e(0x265)](_0x574979,_0x106dce,_0x50d9e1))==null?void 0x0:_0xff9cd9[_0x1ec97e(0x303)];if(!_0x5db3b5)return!0x1;const _0x2597af=_0x43c9e5[_0x1ec97e(0x107)](ve)[_0x1ec97e(0x9e)](_0x574979,_0x106dce,_0x50d9e1);if(!_0x2597af)return!0x1;const {rowInfo:_0x200ec4,colInfo:_0x1526fd}=_0x5db3b5,_0x388e97=_0x200ec4[_0x1bfff0][_0x1ec97e(0x2e8)],_0x33cd22=_0x1526fd[_0x35f58d][_0x1ec97e(0x2e8)],_0x23a9a9=_0x200ec4[_0x1bfff0]['level'],_0x5da161=_0x1526fd[_0x35f58d]['level'],_0x316830=_0x388e97[_0x1ec97e(0x239)](_0x33cd22),_0x21db5c=_0x2597af[_0x1ec97e(0x2ff)][_0x1ec97e(0x28e)]['slice'](0x0,_0x23a9a9),_0x5387aa=_0x2597af['fieldsConfig'][_0x1ec97e(0xea)]['slice'](0x0,_0x5da161),_0x2ca130=_0x21db5c[_0x1ec97e(0x239)](_0x5387aa),_0x575e84=_0x316830[_0x1ec97e(0x14c)]((_0x17ca5c,_0x34ac53)=>[_0x17ca5c,_0x2ca130[_0x34ac53]]),_0x3f29c7=(await _0x43c9e5[_0x1ec97e(0x107)](X)[_0x1ec97e(0x250)]({'unitId':_0x574979,'subUnitId':_0x106dce,'pivotTableId':_0x50d9e1,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0x575e84}}}))['result'][_0x1ec97e(0x1f5)];if(!_0x3f29c7)return!0x1;const {indexes:_0x24c1af,range:_0x236c9f,sourceUnitId:_0x476bd7,sourceSubUnitId:_0x164ade,formatMap:_0x4c12b5}=_0x3f29c7,{startRow:_0x6f6ff4,endRow:_0x2cc63a,startColumn:_0x19d8ce,endColumn:_0x585e50}=_0x236c9f,_0x5a2144=new _0x2cf1b4(),_0x31a6ba=_0x2cc63a-_0x6f6ff4,_0x33dc88=_0x585e50-_0x19d8ce,_0x3e4bfa={},_0x3d566a=_0x1681e1(_0x3c1369,{'unitId':_0x476bd7,'subUnitId':_0x164ade});if(!_0x3d566a)return!0x1;const _0xa52c2c=fe[_0x1ec97e(0x2f8)],_0x3fdb73=fe[_0x1ec97e(0x2e2)],_0x3a8d11=fe[_0x1ec97e(0x2e2)],_0x2e346e=_0x4a0e46[_0x1ec97e(0x258)]()['setValue'](_0xa52c2c),_0xc31176=_0x4a0e46[_0x1ec97e(0x258)]()[_0x1ec97e(0x95)](_0x3fdb73),_0x335fea=_0x4a0e46[_0x1ec97e(0x258)]()[_0x1ec97e(0x95)](_0x3a8d11),{worksheet:_0x3fcb6e}=_0x3d566a;let _0x32d3d7=0x0;const _0x3a16cc=0x1;_0x24c1af[_0x1ec97e(0x13f)](_0x41bfb7=>{const _0x444936=_0x1ec97e;for(let _0x26883b=0x0;_0x26883b<=_0x585e50-_0x19d8ce;_0x26883b++)_0x5a2144[_0x444936(0x95)](_0x32d3d7,_0x26883b,_0x3fcb6e[_0x444936(0x1dc)](_0x41bfb7+_0x236c9f['startRow']+_0x3a16cc,_0x26883b));_0x32d3d7++;});for(let _0x1de1c6=_0x19d8ce;_0x1de1c6<=_0x585e50;_0x1de1c6++){const _0x458229=_0x3fcb6e[_0x1ec97e(0x1dc)](_0x6f6ff4,_0x1de1c6);_0x3e4bfa[_0x6f6ff4]||(_0x3e4bfa[_0x6f6ff4]={}),_0x3e4bfa[_0x6f6ff4][_0x1de1c6]={..._0x458229,'s':_0x2e346e};}let _0x2c866e=0x1;const _0x4e375e={},_0x1b700d={};_0x5a2144['forRow']((_0x5efde2,_0x4d83b5)=>{const _0x310539=_0x1ec97e;_0x4d83b5[_0x310539(0x13f)](_0x5512a1=>{const _0x30eb3e=_0x310539,_0x1cf3e9=_0x5a2144[_0x30eb3e(0x1d8)](_0x5efde2,_0x5512a1);if(_0x3e4bfa[_0x2c866e]||(_0x3e4bfa[_0x2c866e]={}),_0x3e4bfa[_0x2c866e][_0x5512a1]={..._0x1cf3e9,'s':_0x2c866e%0x2===0x0?_0x335fea:_0xc31176},_0x4c12b5[_0x5512a1]&&_0x5efde2>=0x0){const _0x1c7ecf=_0x2c866e%0x2===0x0;let _0x3ae2c0=_0x1c7ecf?_0x1b700d[_0x5512a1]:_0x4e375e[_0x5512a1];_0x3ae2c0||(_0x3ae2c0=_0x4a0e46[_0x30eb3e(0x258)]()[_0x30eb3e(0x95)]({..._0x1c7ecf?_0x3a8d11:_0x3fdb73,'n':{'pattern':_0x4c12b5[_0x5512a1]}}),_0x1c7ecf?_0x1b700d[_0x5512a1]=_0x3ae2c0:_0x4e375e[_0x5512a1]=_0x3ae2c0),_0x3e4bfa[_0x2c866e][_0x5512a1]['s']=_0x3ae2c0;}}),_0x2c866e++;});const _0x2d866c=new _0x2cf1b4(_0x3e4bfa),_0x38c959={};_0x2d866c['forValue']((_0x1204f2,_0x580844,_0x17c19d)=>{_0x38c959[_0x1204f2]||(_0x38c959[_0x1204f2]={}),_0x38c959[_0x1204f2][_0x580844]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x53ada0=[],_0x50dbc6=[],_0x5498a3=_0x4a0e46['getSheets']()[_0x1ec97e(0x294)],_0x1de818=_0x574450({'rowCount':Math[_0x1ec97e(0x151)](_0x17cc54,_0x31a6ba+0xa),'columnCount':Math[_0x1ec97e(0x151)](_0xd18e01,_0x33dc88+0x5)}),_0x4e3f42=_0x43c9e5[_0x1ec97e(0x107)](_0x29a017);_0x1de818['id']=_0x3c4202(),_0x1de818[_0x1ec97e(0x25f)]=_0x4a0e46[_0x1ec97e(0xdc)](''+_0x4e3f42['t'](_0x1ec97e(0x1ca)));const _0x49127f={'index':_0x5498a3,'sheet':_0x1de818,'unitId':_0x574979},_0x302bd9=_0x55ec9a(_0x43c9e5,_0x49127f);_0x50dbc6[_0x1ec97e(0x288)]({'id':_0x26d162['id'],'params':_0x49127f}),_0x53ada0[_0x1ec97e(0x288)]({'id':_0x3bb39d['id'],'params':_0x302bd9}),_0x50dbc6[_0x1ec97e(0x288)]({'id':_0x1ac6c8['id'],'params':{'unitId':_0x574979,'subUnitId':_0x1de818['id'],'cellValue':_0x3e4bfa}}),_0x53ada0[_0x1ec97e(0x306)]({'id':_0x1ac6c8['id'],'params':{'unitId':_0x574979,'subUnitId':_0x1de818['id'],'cellValue':_0x38c959}});const _0x1fdbc7={'startRow':0x0,'startColumn':0x0,'endRow':_0x2c866e-0x1,'endColumn':_0x585e50};_0x50dbc6['push']({'id':_0x1b5e08['id'],'params':{'unitId':_0x574979,'subUnitId':_0x1de818['id'],'range':_0x1fdbc7}}),_0x53ada0['unshift']({'id':_0x1371e7['id'],'params':{'unitId':_0x574979,'subUnitId':_0x1de818['id']}});const _0xbad5bc=_0x43c9e5[_0x1ec97e(0x107)](_0x1db6fa);return _0x3893c9(_0x50dbc6,_0xbad5bc)&&_0x43c9e5[_0x1ec97e(0x107)](_0x276b9d)[_0x1ec97e(0x201)]({'unitID':_0x574979,'undoMutations':_0x53ada0,'redoMutations':_0x50dbc6}),!0x0;}},Ss={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x232),async 'handler'(_0x2d34be,_0x2b86a4){const _0x10b524=_0x5f289e;if(!_0x2b86a4)return!0x1;const _0xab939f=_0x2d34be['get'](_0x1db6fa),_0x3fdd66=_0x2d34be[_0x10b524(0x107)](X),_0x58f192=_0x2d34be[_0x10b524(0x107)](_0x276b9d),{pivotTableId:_0x2e8464,fieldIds:_0x578cf3,unitId:_0x271272,subUnitId:_0x2f907e}=_0x2b86a4,_0x52fcb5=(await _0x3fdd66['getPivotDisplayConfig']({'unitId':_0x271272,'subUnitId':_0x2f907e,'pivotTableId':_0x2e8464,'params':{'type':k[_0x10b524(0x2cd)],'removePivotField':{'fieldIds':_0x578cf3}}}))[_0x10b524(0x1e9)]['removePivotField'];if(!_0x52fcb5)return!0x1;const {view:_0x9a2e2a,changesets:_0xb455b3,isEmpty:_0xd99d79,pivotTableConfig:_0x4fab9d}=_0x52fcb5,_0x479d35=_0x4fab9d[_0x10b524(0x1f7)],_0x4b66f9=new _0x21b750();_0x4b66f9['formJSON'](_0x9a2e2a);const _0x2ebd5b={'cellInfo':_0x479d35,'view':_0x4b66f9,'isEmpty':_0xd99d79};if(!await _0x2d34be['get'](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2ebd5b))return!0x1;const _0x465fa9=Fe(_0x2d34be,_0x4b66f9,_0x479d35,_0xd99d79),_0x50899a=we(_0x2d34be,_0x2ebd5b),{redos:_0x2becac,undos:_0x5c1386}=Ce(_0xab939f,{'pivotTableId':_0x2e8464,'unitId':_0x271272,'subUnitId':_0x2f907e},_0xb455b3);return _0x3893c9([..._0x465fa9['redos'],..._0x50899a['redos'],..._0x2becac],_0xab939f),_0x58f192['pushUndoRedo']({'unitID':_0x271272,'redoMutations':[..._0x465fa9[_0x10b524(0x141)],..._0x50899a[_0x10b524(0x141)],..._0x2becac],'undoMutations':[..._0x465fa9[_0x10b524(0x1f2)],..._0x50899a[_0x10b524(0x1f2)],..._0x5c1386]}),!0x0;}},Ts={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x9ec281,_0x84d127){const _0x7b4e72=_0x5f289e;if(!_0x84d127)return!0x1;const _0x5dcd19=_0x9ec281[_0x7b4e72(0x107)](_0x1db6fa),_0x5b8b25=_0x9ec281[_0x7b4e72(0x107)](_0x276b9d),_0x2f49f3=_0x9ec281['get'](X),{resetArea:_0x10020c,pivotTableId:_0x4d1a03,unitId:_0x45faf5,subUnitId:_0x322ea6}=_0x84d127,_0x1b7650=(await _0x2f49f3[_0x7b4e72(0x250)]({'unitId':_0x45faf5,'subUnitId':_0x322ea6,'pivotTableId':_0x4d1a03,'params':{'type':k['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x4d1a03,'resetArea':_0x10020c}}}))['result']['resetPivotTable'];if(!_0x1b7650)return!0x1;const {changesets:_0x333912}=_0x1b7650,{redos:_0x47bbe2,undos:_0xde00d4}=Ce(_0x5dcd19,{'pivotTableId':_0x4d1a03,'unitId':_0x45faf5,'subUnitId':_0x322ea6},_0x333912);return _0x3893c9(_0x47bbe2,_0x5dcd19),_0x5b8b25[_0x7b4e72(0x201)]({'unitID':_0x45faf5,'redoMutations':_0x47bbe2,'undoMutations':_0xde00d4}),!0x0;}},Ps={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x1ec),async 'handler'(_0x143f42,_0x57ffe3){const _0x9dfe1a=_0x5f289e,_0x1da09d=_0x143f42[_0x9dfe1a(0x107)](_0x1db6fa),_0x56ebff=_0x143f42[_0x9dfe1a(0x107)](X),_0x1313d7=_0x143f42[_0x9dfe1a(0x107)](Ne),_0x3d44c3=_0x143f42['get'](_0x412edb),_0x5e2425=_0x143f42[_0x9dfe1a(0x107)](_0x29a017),_0x5b53d6=_0x143f42['get'](_0x276b9d);if(!_0x57ffe3)return!0x1;const {unitId:_0x4d0fa9,subUnitId:_0x124486,row:_0x3d0cfe,col:_0x3d365c,collapse:_0x424822}=_0x57ffe3,_0x53ceb7=_0x3d44c3[_0x9dfe1a(0xd8)](_0x4d0fa9);if(!_0x53ceb7||!_0x53ceb7['getSheetBySheetId'](_0x124486))return!0x1;const _0x3bfb8d=_0x1313d7[_0x9dfe1a(0x290)](_0x4d0fa9,_0x124486,_0x3d0cfe,_0x3d365c);if(!_0x3bfb8d)return!0x1;const _0x20e841=_0x1313d7[_0x9dfe1a(0x265)](_0x4d0fa9,_0x124486,_0x3bfb8d);if(!_0x20e841)return!0x1;const _0x32c4ad=_0x27b91b(_0x3d0cfe,_0x3d365c),{rangesInfo:_0x11ed5a,areaInfo:_0x4f03be,headerMap:_0x1be8e0}=_0x20e841;if(!_0x11ed5a||!_0x4f03be||!_0x1be8e0)return!0x1;const _0x23800e=Object['keys'](_0x11ed5a)[_0x9dfe1a(0x246)](_0x16685e=>_0x11ed5a[_0x16685e][_0x9dfe1a(0x1aa)](_0x9b901a=>_0x14db58[_0x9dfe1a(0x293)](_0x9b901a,_0x32c4ad)));let _0x3e366f;_0x23800e===_0x9dfe1a(0x238)?_0x3e366f=_0x1be8e0['rowHeaderMap'][_0x3d365c]:_0x23800e===_0x9dfe1a(0x119)&&(_0x3e366f=_0x1be8e0['colHeaderMap'][_0x3d0cfe]);const _0xfc6d53=_0x3e366f==null?void 0x0:_0x3e366f[_0x9dfe1a(0x17c)],_0x1f14a1=_0x1313d7[_0x9dfe1a(0x2ba)](_0x4d0fa9,_0x124486,_0x3d0cfe,_0x3d365c);let _0xa4d6aa=_0x1f14a1==null?void 0x0:_0x1f14a1['v'];if(_0xa4d6aa===_0x5e2425['t'](_0x9dfe1a(0xce))&&(_0xa4d6aa=_0x416cb4[_0x9dfe1a(0x198)]),_0xa4d6aa==null||!_0x3bfb8d||!_0xfc6d53)return!0x1;const _0x66c5ad=await _0x56ebff[_0x9dfe1a(0x250)]({'unitId':_0x4d0fa9,'subUnitId':_0x124486,'pivotTableId':_0x3bfb8d,'params':{'type':k[_0x9dfe1a(0x27a)],'setPivotCollapse':{'tableFieldId':_0xfc6d53,'collapse':_0x424822,'item':_0xa4d6aa}}}),_0xd73b8d=_0x66c5ad==null?void 0x0:_0x66c5ad[_0x9dfe1a(0x1e9)][_0x9dfe1a(0x30a)];if(!_0xd73b8d)return!0x1;const {view:_0x4d6826,pivotTableConfig:_0x44e32e,isEmpty:_0xfd9622,changesets:_0x49c729}=_0xd73b8d,_0xc7ebed=new _0x21b750();_0xc7ebed[_0x9dfe1a(0x15c)](_0x4d6826);const _0x25d8cd=_0x44e32e['targetCellInfo'],_0x4a59c8={'cellInfo':_0x25d8cd,'view':_0xc7ebed,'isEmpty':_0xfd9622};if(!await _0x143f42[_0x9dfe1a(0x107)](ie)[_0x9dfe1a(0xbf)][_0x9dfe1a(0x2b8)](be)(!0x0,_0x4a59c8))return!0x1;const _0x342fd=Fe(_0x143f42,_0xc7ebed,_0x25d8cd,_0xfd9622),_0x295822=we(_0x143f42,_0x4a59c8),{redos:_0x20d7ec,undos:_0x116065}=Ce(_0x1da09d,{'pivotTableId':_0x3bfb8d,'unitId':_0x4d0fa9,'subUnitId':_0x124486},_0x49c729);return _0x3893c9([..._0x342fd[_0x9dfe1a(0x141)],..._0x295822[_0x9dfe1a(0x141)],..._0x20d7ec],_0x1da09d),_0x5b53d6[_0x9dfe1a(0x201)]({'unitID':_0x4d0fa9,'redoMutations':[..._0x342fd['redos'],..._0x295822[_0x9dfe1a(0x141)],..._0x20d7ec],'undoMutations':[..._0x342fd[_0x9dfe1a(0x1f2)],..._0x295822[_0x9dfe1a(0x1f2)],..._0x116065]}),!0x0;}},ys={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x1e54b0,_0x360d65){const _0x522665=_0x5f289e;if(!_0x360d65)return!0x1;const _0x444b72=_0x1e54b0['get'](_0x1db6fa),_0xca9f13=_0x1e54b0[_0x522665(0x107)](_0x276b9d),_0x313441=_0x1e54b0[_0x522665(0x107)](X),{pivotTableConfig:_0x1f3e96,pivotTableId:_0xc4247f,unitId:_0x69e09c,subUnitId:_0x40d1e6}=_0x360d65,_0x24c4b2=(await _0x313441[_0x522665(0x250)]({'unitId':_0x69e09c,'subUnitId':_0x40d1e6,'pivotTableId':_0xc4247f,'params':{'type':k[_0x522665(0x2f7)],'setPivotTableConfig':{'pivotTableId':_0xc4247f,'pivotTableConfig':_0x1f3e96}}}))[_0x522665(0x1e9)][_0x522665(0x314)];if(!_0x24c4b2)return!0x1;const {changesets:_0x249706}=_0x24c4b2,{redos:_0x584953,undos:_0x3dc2ba}=Ce(_0x444b72,{'pivotTableId':_0xc4247f,'unitId':_0x69e09c,'subUnitId':_0x40d1e6},_0x249706);return _0x3893c9(_0x584953,_0x444b72),_0xca9f13[_0x522665(0x201)]({'unitID':_0x69e09c,'redoMutations':_0x584953,'undoMutations':_0x3dc2ba}),!0x0;}},Ms={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x202),async 'handler'(_0x1535a2,_0x42b628){const _0x58a3ef=_0x5f289e;if(!_0x42b628)return!0x1;const _0x3013f2=_0x1535a2[_0x58a3ef(0x107)](_0x1db6fa),{pivotTableId:_0x25b264,tableFieldId:_0x3a8917,items:_0x330b13,unitId:_0x355d17,subUnitId:_0x5dbef4,isAll:_0x3f1ebd}=_0x42b628,_0x319645=_0x1535a2['get'](X),_0x5dc2ca=_0x1535a2[_0x58a3ef(0x107)](_0x276b9d),_0x1dcc93=(await _0x319645[_0x58a3ef(0x250)]({'unitId':_0x355d17,'subUnitId':_0x5dbef4,'pivotTableId':_0x25b264,'params':{'type':k[_0x58a3ef(0x1bc)],'setPivotFilter':{'tableFieldId':_0x3a8917,'items':_0x330b13,'isAll':_0x3f1ebd}}}))['result'][_0x58a3ef(0x295)];if(!_0x1dcc93)return!0x1;const {changesets:_0x116621,pivotTableConfig:_0x1331bf,isEmpty:_0x21825e,view:_0xde5d20}=_0x1dcc93,_0xe03be7=_0x1331bf[_0x58a3ef(0x1f7)],_0x470510=new _0x21b750();_0x470510['formJSON'](_0xde5d20);const _0x36f93e={'cellInfo':_0xe03be7,'view':_0x470510,'isEmpty':_0x21825e};if(!await _0x1535a2[_0x58a3ef(0x107)](ie)[_0x58a3ef(0xbf)][_0x58a3ef(0x2b8)](be)(!0x0,_0x36f93e))return!0x1;const _0x3eb68d=Fe(_0x1535a2,_0x470510,_0xe03be7,_0x21825e),_0x2fbd70=we(_0x1535a2,_0x36f93e),{undos:_0x435073,redos:_0x3f5f50}=Ce(_0x3013f2,{'pivotTableId':_0x25b264,'unitId':_0x355d17,'subUnitId':_0x5dbef4},_0x116621);return _0x3893c9([..._0x3eb68d[_0x58a3ef(0x141)],..._0x2fbd70[_0x58a3ef(0x141)],..._0x3f5f50],_0x3013f2),_0x5dc2ca[_0x58a3ef(0x201)]({'unitID':_0x355d17,'redoMutations':[..._0x3eb68d['redos'],..._0x2fbd70[_0x58a3ef(0x141)],..._0x3f5f50],'undoMutations':[..._0x3eb68d['undos'],..._0x2fbd70['undos'],..._0x435073]}),!0x0;}},Fs={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x280),async 'handler'(_0xe3dedd,_0x239569){const _0x1d6f4a=_0x5f289e;if(!_0x239569)return!0x1;const _0x513c18=_0xe3dedd[_0x1d6f4a(0x107)](_0x1db6fa),_0x503d5c=_0xe3dedd[_0x1d6f4a(0x107)](_0x276b9d),_0x17e1d6=_0xe3dedd[_0x1d6f4a(0x107)](X),{info:_0x1b67b4,tableFieldId:_0x589185,pivotTableId:_0x499427,unitId:_0x4300f1,subUnitId:_0x35bb7b}=_0x239569,_0x34f838=(await _0x17e1d6[_0x1d6f4a(0x250)]({'unitId':_0x4300f1,'subUnitId':_0x35bb7b,'pivotTableId':_0x499427,'params':{'type':k['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x589185,'info':_0x1b67b4}}}))[_0x1d6f4a(0x1e9)][_0x1d6f4a(0x13e)];if(!_0x34f838)return!0x1;const {changesets:_0x353e97}=_0x34f838,{redos:_0x2f94be,undos:_0x3a3cf9}=Ce(_0x513c18,{'pivotTableId':_0x499427,'unitId':_0x4300f1,'subUnitId':_0x35bb7b},_0x353e97);return _0x3893c9(_0x2f94be,_0x513c18),_0x503d5c[_0x1d6f4a(0x201)]({'unitID':_0x4300f1,'redoMutations':_0x2f94be,'undoMutations':_0x3a3cf9}),!0x0;}},ws={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x1e5),async 'handler'(_0x515487,_0x53132f){const _0xb9b46e=_0x5f289e;if(!_0x53132f)return!0x1;const _0x3aa837=_0x515487[_0xb9b46e(0x107)](_0x1db6fa),{pivotTableId:_0x23fc05,fieldId:_0x22617b,valueFilterInfo:_0x2bb351,unitId:_0x4790d4,subUnitId:_0x431cf0}=_0x53132f,_0x174746=_0x515487[_0xb9b46e(0x107)](X),_0x5a6ece=_0x515487['get'](_0x276b9d),_0x1c76d6=(await _0x174746[_0xb9b46e(0x250)]({'unitId':_0x4790d4,'subUnitId':_0x431cf0,'pivotTableId':_0x23fc05,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x22617b,'filterInfo':_0x2bb351}}}))['result'][_0xb9b46e(0x2df)];if(!_0x1c76d6)return!0x1;const {changesets:_0x1fc3c6,pivotTableConfig:_0x8bdfa9,isEmpty:_0x5b9cde,view:_0x1559db}=_0x1c76d6,_0x22fe1=_0x8bdfa9[_0xb9b46e(0x1f7)],_0x49df6d=new _0x21b750();_0x49df6d['formJSON'](_0x1559db);const _0xe0428d={'cellInfo':_0x22fe1,'view':_0x49df6d,'isEmpty':_0x5b9cde};if(!await _0x515487[_0xb9b46e(0x107)](ie)[_0xb9b46e(0xbf)][_0xb9b46e(0x2b8)](be)(!0x0,_0xe0428d))return!0x1;const _0x3fb1e2=Fe(_0x515487,_0x49df6d,_0x22fe1,_0x5b9cde),_0x4fd237=we(_0x515487,_0xe0428d),{undos:_0x4cc1a6,redos:_0x5a1078}=Ce(_0x3aa837,{'pivotTableId':_0x23fc05,'unitId':_0x4790d4,'subUnitId':_0x431cf0},_0x1fc3c6);return _0x3893c9([..._0x3fb1e2[_0xb9b46e(0x141)],..._0x4fd237[_0xb9b46e(0x141)],..._0x5a1078],_0x3aa837),_0x5a6ece[_0xb9b46e(0x201)]({'unitID':_0x4790d4,'redoMutations':[..._0x3fb1e2[_0xb9b46e(0x141)],..._0x4fd237[_0xb9b46e(0x141)],..._0x5a1078],'undoMutations':[..._0x3fb1e2[_0xb9b46e(0x1f2)],..._0x4fd237[_0xb9b46e(0x1f2)],..._0x4cc1a6]}),!0x0;}},to={'id':_0x5f289e(0x12d),'type':_0x165e2c[_0x5f289e(0x2fb)],'handler':(_0xb9a197,_0xd44b6e)=>{const _0x42e73c=_0x5f289e;if(!_0xd44b6e)return!0x1;if(!!_0xb9a197[_0x42e73c(0x107)](_0x3c4550)['getConfig'](z))return!0x0;const {unitId:_0x3c4e09,subUnitId:_0x4f137b,pivotTableId:_0x5440aa,tableFieldId:_0xdf159f,dateType:_0x2299b9}=_0xd44b6e,_0x350ea2=_0xb9a197[_0x42e73c(0x107)](J),_0x238661=_0x350ea2[_0x42e73c(0x23e)](_0x5440aa);if(!_0x238661)return!0x1;const _0x4338e8=_0x238661[_0x42e73c(0x1c6)](_0xdf159f);if(!_0x4338e8)return!0x1;const _0x476642=_0x4338e8[_0x42e73c(0x2aa)](),_0x187cbe=_0x238661[_0x42e73c(0x2cc)](_0x476642),_0x385095=(_0x187cbe==null?void 0x0:_0x187cbe[_0x42e73c(0x127)]())+'\x20'+Yo(_0xb9a197,_0x2299b9);_0x350ea2[_0x42e73c(0xbb)](_0x3c4e09,_0x5440aa)[_0x42e73c(0x21a)](_0x4338e8['id'],_0x385095);const _0x10350b=_0x238661['getTableFieldById'](_0xdf159f);if(!_0x10350b)return!0x1;_0x238661[_0x42e73c(0xc0)](_0x10350b['getId'](),_0x385095),_0x4338e8[_0x42e73c(0x162)](_0x2299b9);const _0x7ec635=_0x350ea2[_0x42e73c(0x9e)](_0x3c4e09,_0x4f137b,_0x5440aa);return _0x350ea2[_0x42e73c(0x152)]({'unitId':_0x3c4e09,'subUnitId':_0x4f137b,'token':_0x5440aa,'type':B[_0x42e73c(0x2d7)],'pivotConfig':_0x7ec635}),!0x0;}},_s={'id':_0x5f289e(0x2de),'type':_0x165e2c['COMMAND'],'handler':(_0xce8996,_0xf1efd4)=>{const _0x156236=_0x5f289e;if(!_0xf1efd4)return!0x1;const _0x43ef06=_0xce8996[_0x156236(0x107)](_0x276b9d),{unitId:_0x65c702,subUnitId:_0x2ad434,pivotTableId:_0x22eae8,tableFieldId:_0x381f4e}=_0xf1efd4,_0x2ae3e9=[],_0x284acd=[],_0x1eb775=_0xce8996[_0x156236(0x107)](ve),_0x44271c=_0x1eb775[_0x156236(0xbb)](_0x65c702,_0x22eae8),_0x1e24f5=_0x1eb775[_0x156236(0x9e)](_0x65c702,_0x2ad434,_0x22eae8);if(!(_0x1e24f5!=null&&_0x1e24f5[_0x156236(0x2ff)][_0x156236(0x2ac)]))return!0x1;const _0x1f73ea=Object['values'](_0x1e24f5[_0x156236(0x2ff)][_0x156236(0x2ac)])[_0x156236(0x246)](_0x3bc104=>_0x3bc104['id']===_0x381f4e);if(!_0x1f73ea)return!0x1;const _0x255cd2=_0x1f73ea['dataFieldId'];if(!(_0x44271c!=null&&_0x44271c[_0x156236(0x19f)]))return!0x1;const _0x65ddc8=Object['values'](_0x44271c==null?void 0x0:_0x44271c[_0x156236(0x19f)])[_0x156236(0x246)](_0x406a26=>_0x406a26['id']===_0x255cd2);if(!_0x65ddc8)return!0x1;_0x1ed442(_0x65ddc8)&&_0x2ae3e9[_0x156236(0x288)]({'id':to['id'],'params':{..._0xf1efd4,'dateType':_0x65ddc8['dateType']}}),_0x284acd[_0x156236(0x288)]({'id':to['id'],'params':{..._0xf1efd4}});const _0x402fd9=_0xce8996[_0x156236(0x107)](_0x1db6fa);return _0x3893c9(_0x284acd,_0x402fd9)&&_0x43ef06[_0x156236(0x201)]({'unitID':_0x65c702,'undoMutations':_0x2ae3e9,'redoMutations':_0x284acd}),!0x0;}},Rs={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x139),async 'handler'(_0x3923b1,_0x35e94c){const _0x473781=_0x5f289e;if(!_0x35e94c)return!0x1;const _0x3199d3=_0x3923b1['get'](_0x1db6fa),_0x38c4fa=_0x3923b1['get'](_0x276b9d),_0x5e1639=_0x3923b1['get'](X),{displayName:_0x85f8d9,subtotalType:_0x189695,format:_0x4da448,tableFieldId:_0x3b6c73,pivotTableId:_0x962747,unitId:_0x2ba8f9,subUnitId:_0x5b8441}=_0x35e94c,_0x18cdf2=(await _0x5e1639['getPivotDisplayConfig']({'unitId':_0x2ba8f9,'subUnitId':_0x5b8441,'pivotTableId':_0x962747,'params':{'type':k['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x3b6c73,'displayName':_0x85f8d9,'subtotalType':_0x189695,'format':_0x4da448}}}))[_0x473781(0x1e9)][_0x473781(0x23d)];if(!_0x18cdf2)return!0x1;const {changesets:_0x3c055c,view:_0x35ba0d,pivotTableConfig:_0x58d561,isEmpty:_0x3a8121}=_0x18cdf2,_0x294190=_0x58d561[_0x473781(0x1f7)],_0x1c6b50=new _0x21b750();_0x1c6b50[_0x473781(0x15c)](_0x35ba0d);const _0x199077={'cellInfo':_0x294190,'view':_0x1c6b50,'isEmpty':_0x3a8121};if(!await _0x3923b1['get'](ie)[_0x473781(0xbf)][_0x473781(0x2b8)](be)(!0x0,_0x199077))return!0x1;const _0x289fb8=Fe(_0x3923b1,_0x1c6b50,_0x294190,_0x3a8121),_0x207c73=we(_0x3923b1,_0x199077),{undos:_0x649834,redos:_0x41d537}=Ce(_0x3199d3,{'pivotTableId':_0x962747,'unitId':_0x2ba8f9,'subUnitId':_0x5b8441},_0x3c055c);return _0x3893c9([..._0x289fb8[_0x473781(0x141)],..._0x207c73[_0x473781(0x141)],..._0x41d537],_0x3199d3),_0x38c4fa['pushUndoRedo']({'unitID':_0x2ba8f9,'redoMutations':[..._0x289fb8[_0x473781(0x141)],..._0x207c73[_0x473781(0x141)],..._0x41d537],'undoMutations':[..._0x289fb8[_0x473781(0x1f2)],..._0x207c73[_0x473781(0x1f2)],..._0x649834]}),!0x0;}},oo={'type':_0x165e2c[_0x5f289e(0x2fb)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x526649,_0x4dcb27){const _0x4870af=_0x5f289e;if(!_0x4dcb27)return!0x1;if(!!_0x526649['get'](_0x3c4550)[_0x4870af(0x1d2)](z))return!0x0;const _0x5a25e5=_0x526649[_0x4870af(0x107)](J),{pivotTableId:_0x39f916,deleteIds:_0x1c44e3,collectionJSON:_0x222507,dataRangeInfo:_0xc8d595,unitId:_0x3e20c5,subUnitId:_0x374fcd}=_0x4dcb27,_0x1960c7=_0x5a25e5[_0x4870af(0x23e)](_0x39f916),_0x45cd9f=_0x5a25e5[_0x4870af(0x9e)](_0x3e20c5,_0x374fcd,_0x39f916);if(!_0x1960c7||!_0x45cd9f)return!0x1;const {collection:_0xbed5d7,updateDataFieldList:_0x44da7c}=_0x5a25e5[_0x4870af(0x146)](_0x39f916,_0x222507,_0xc8d595,_0x45cd9f['targetCellInfo']);_0x5a25e5[_0x4870af(0x143)](_0xbed5d7,_0x44da7c,_0xc8d595),_0x1960c7[_0x4870af(0x256)](_0xbed5d7);for(const _0x22cda5 of _0x1c44e3)_0x5a25e5['removeDataField'](_0xc8d595[_0x4870af(0x2e0)],_0x22cda5);const _0x38d52d=_0x5a25e5['getPivotTableConfig'](_0x3e20c5,_0x374fcd,_0x39f916);return _0x38d52d[_0x4870af(0x305)]=JSON[_0x4870af(0x21b)](JSON['stringify'](_0xc8d595)),_0x5a25e5['addDirtyPivotTable']({'unitId':_0x3e20c5,'subUnitId':_0x374fcd,'token':_0x39f916,'type':B['Set']}),!0x0;}},Ds={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x216),async 'handler'(_0x158759,_0x1eb89a){const _0x4a355d=_0x5f289e,_0x4f5a6c=_0x158759[_0x4a355d(0x107)](_0x1db6fa),_0x204f48=_0x158759[_0x4a355d(0x107)](X),_0x41d336=_0x158759[_0x4a355d(0x107)](_0x276b9d);if(!_0x1eb89a)return!0x1;const {token:_0x3d2923,dataRangeInfo:_0x427fd7,unitId:_0x35a5f2,subUnitId:_0x74b049}=_0x1eb89a,_0xbb1c2e=[],_0x2733fa=[],_0x49b652=(await _0x204f48[_0x4a355d(0x250)]({'unitId':_0x35a5f2,'subUnitId':_0x74b049,'pivotTableId':_0x3d2923,'params':{'type':k['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x427fd7,'unitId':_0x35a5f2,'subUnitId':_0x74b049}}}))['result'][_0x4a355d(0x173)];if(!_0x49b652)return!0x1;const {changesets:_0x22b62e,deleteIds:_0x5ac89c,collectionConfig:_0xac4e9c,oldCollectionConfig:_0x2d4686,view:_0x29206e,isEmpty:_0x2e4b19,pivotTableConfig:_0x59d30a}=_0x49b652;_0x2733fa[_0x4a355d(0x288)]({'id':oo['id'],'params':{'pivotTableId':_0x3d2923,'deleteIds':_0x5ac89c,'collectionJSON':_0xac4e9c,'dataRangeInfo':_0x427fd7,'unitId':_0x35a5f2,'subUnitId':_0x74b049}}),_0xbb1c2e[_0x4a355d(0x306)]({'id':oo['id'],'params':{'pivotTableId':_0x3d2923,'deleteIds':[],'collectionJSON':_0x2d4686,'dataRangeInfo':_0x59d30a[_0x4a355d(0x305)],'unitId':_0x35a5f2,'subUnitId':_0x74b049}});const _0x54d6bb=_0x59d30a[_0x4a355d(0x1f7)],_0x11e892=new _0x21b750();_0x11e892[_0x4a355d(0x15c)](_0x29206e);const _0x2e6b9a={'cellInfo':_0x54d6bb,'view':_0x11e892,'isEmpty':_0x2e4b19};if(!await _0x158759[_0x4a355d(0x107)](ie)[_0x4a355d(0xbf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2e6b9a))return!0x1;const _0x24ea64=Fe(_0x158759,_0x11e892,_0x54d6bb,_0x2e4b19),_0x485bd7=we(_0x158759,_0x2e6b9a),{undos:_0x48dcae,redos:_0x699716}=Ce(_0x4f5a6c,{'pivotTableId':_0x3d2923,'unitId':_0x35a5f2,'subUnitId':_0x74b049},_0x22b62e);return _0x3893c9([..._0x24ea64[_0x4a355d(0x141)],..._0x485bd7[_0x4a355d(0x141)],..._0x2733fa,..._0x48dcae],_0x4f5a6c),_0x41d336[_0x4a355d(0x201)]({'unitID':_0x35a5f2,'redoMutations':[..._0x24ea64[_0x4a355d(0x141)],..._0x485bd7[_0x4a355d(0x141)],..._0x2733fa,..._0x48dcae],'undoMutations':[..._0x24ea64[_0x4a355d(0x1f2)],..._0x485bd7['undos'],..._0xbb1c2e,..._0x699716]}),!0x0;}},Ns={'type':_0x165e2c[_0x5f289e(0x2e3)],'id':_0x5f289e(0x1df),async 'handler'(_0x162192,_0x4d568f){const _0x663a71=_0x5f289e;if(!_0x4d568f)return!0x1;const _0x589105=_0x162192[_0x663a71(0x107)](_0x1db6fa),_0x5e91db=_0x162192[_0x663a71(0x107)](X),_0x44c088=_0x162192[_0x663a71(0x107)](_0x412edb),_0x3baa72=_0x162192[_0x663a71(0x107)](_0x276b9d),{pivotTableId:_0x471004,position:_0xc33e81,index:_0x3b1faf}=_0x4d568f,_0x353615=_0x1681e1(_0x44c088);if(!_0x353615)return!0x1;const {unitId:_0x23c1e6,subUnitId:_0x2d4ea2}=_0x353615,_0x156b61=(await _0x5e91db[_0x663a71(0x250)]({'unitId':_0x23c1e6,'subUnitId':_0x2d4ea2,'pivotTableId':_0x471004,'params':{'type':k[_0x663a71(0x274)],'updateValuePosition':{'position':_0xc33e81,'index':_0x3b1faf}}}))[_0x663a71(0x1e9)][_0x663a71(0x271)];if(!_0x156b61)return!0x1;const {changesets:_0x3ad0f5,view:_0x483397,isEmpty:_0x335d9d,pivotTableConfig:_0x3814a5}=_0x156b61,_0x4683df=_0x3814a5['targetCellInfo'],_0x30baf5=new _0x21b750();_0x30baf5[_0x663a71(0x15c)](_0x483397);const _0x1312a4=_0x162192[_0x663a71(0x107)](ie),_0x13eb83={'cellInfo':_0x4683df,'view':_0x30baf5,'isEmpty':_0x335d9d};if(!await _0x1312a4[_0x663a71(0xbf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x13eb83))return!0x1;const _0x32ac9f=Fe(_0x162192,_0x30baf5,_0x4683df,_0x335d9d),_0x31949c=we(_0x162192,_0x13eb83),{undos:_0x579da9,redos:_0x11e7ad}=Ce(_0x589105,{'pivotTableId':_0x471004,'unitId':_0x23c1e6,'subUnitId':_0x2d4ea2},_0x3ad0f5);return _0x3893c9([..._0x32ac9f[_0x663a71(0x141)],..._0x31949c['redos'],..._0x11e7ad],_0x589105),_0x3baa72[_0x663a71(0x201)]({'unitID':_0x23c1e6,'redoMutations':[..._0x32ac9f[_0x663a71(0x141)],..._0x31949c[_0x663a71(0x141)],..._0x11e7ad],'undoMutations':[..._0x32ac9f[_0x663a71(0x1f2)],..._0x31949c['undos'],..._0x579da9]}),!0x0;}},xt={'type':_0x165e2c['MUTATION'],'id':_0x5f289e(0x317),'handler'(){return!0x0;}};var xs=Object[_0x5f289e(0xaf)],Us=(_0x1cfe9d,_0x2c9ef6,_0x5e1567,_0x9812eb)=>{const _0x5b06d2=_0x5f289e;for(var _0x117fd5=_0x9812eb>0x1?void 0x0:_0x9812eb?xs(_0x2c9ef6,_0x5e1567):_0x2c9ef6,_0x3247d7=_0x1cfe9d[_0x5b06d2(0x294)]-0x1,_0x4ab462;_0x3247d7>=0x0;_0x3247d7--)(_0x4ab462=_0x1cfe9d[_0x3247d7])&&(_0x117fd5=_0x4ab462(_0x117fd5)||_0x117fd5);return _0x117fd5;},at=(_0xbdb914,_0x262e6d)=>(_0x2d18cd,_0x518d38)=>_0x262e6d(_0x2d18cd,_0x518d38,_0xbdb914);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x39d16d,_0x2e0f3d,_0x4be5ee)=>{const _0x1de5a9=_0x5f289e,_0x3d0035=_0x39d16d[_0x1de5a9(0x302)];_0x39d16d[_0x1de5a9(0x2b2)](_0x4fdac4=>{const _0x3a6b28=_0x1de5a9,_0x16abf1=_0x4fdac4['getId'](),_0x5527c9=_0x4fdac4[_0x3a6b28(0x140)](),_0x194eff=_0x4fdac4[_0x3a6b28(0x1c3)](),_0x5d5202=_0x4fdac4[_0x3a6b28(0xdd)]();_0x2e0f3d[_0x5527c9]&&_0x2e0f3d[_0x5527c9]===_0x5d5202&&_0x194eff===_0x5d5202&&(_0x39d16d[_0x3a6b28(0xc0)](_0x16abf1,_0x3d0035[_0x3a6b28(0xdd)](_0x5527c9)),_0x4fdac4[_0x3a6b28(0x1c4)](_0x3d0035[_0x3a6b28(0xdd)](_0x5527c9)));}),_0x39d16d[_0x1de5a9(0x2fd)](_0x31de81[_0x1de5a9(0x18a)],_0x363e7d=>{const _0x38511d=_0x1de5a9,_0x1c3e1e=_0x363e7d[_0x38511d(0x2f0)](),_0x41ec50=_0x363e7d[_0x38511d(0x140)](),_0x26dd79=_0x363e7d[_0x38511d(0x1c3)](),_0x4348c6=_0x363e7d[_0x38511d(0xdd)](),_0x556f31=_0x363e7d[_0x38511d(0xfd)](),_0xb9b73f=_0x4be5ee(_0x26dd79,_0x556f31);_0x2e0f3d[_0x41ec50]&&_0x2e0f3d[_0x41ec50]===_0x26dd79&&_0xb9b73f===_0x4348c6&&(_0x39d16d['renameField'](_0x1c3e1e,_0x4be5ee(_0x3d0035[_0x38511d(0xdd)](_0x41ec50),_0x556f31)),_0x363e7d[_0x38511d(0x1c4)](_0x3d0035[_0x38511d(0xdd)](_0x41ec50)));});},Os=(_0x185ed2,_0x53b360,_0x2f5bd8)=>{const _0x3d227a=_0x5f289e;var _0x1a1670,_0x37703c;const {arrayFormulaCellData:_0x2e26c7,unitData:_0x2ee05b}=_0x53b360,{unitId:_0x18ae56,subUnitId:_0x55e9b2}=_0x2f5bd8,_0xcf98d2=_0x2f5bd8[_0x3d227a(0x1f4)],{startColumn:_0xd0ab22,endColumn:_0x3de8bf}=_0xcf98d2,_0x13fbd7=(_0x1a1670=_0x2e26c7==null?void 0x0:_0x2e26c7[_0x18ae56])==null?void 0x0:_0x1a1670[_0x55e9b2],_0x5ac656=(_0x37703c=_0x2ee05b==null?void 0x0:_0x2ee05b[_0x18ae56])==null?void 0x0:_0x37703c[_0x55e9b2],_0x4977d5=new Set(),_0x205f9b=_0x3de8bf-_0xd0ab22+0x1,{dirtyRanges:_0x23f932}=_0x185ed2;if(_0x23f932)for(const {range:_0xb708e0,sheetId:_0xddae75,unitId:_0x38ac5e}of _0x23f932){if(_0xddae75!==_0x55e9b2||_0x18ae56!==_0x38ac5e)continue;const _0x3afc85=_0x14db58[_0x3d227a(0x10a)](_0xb708e0,_0xcf98d2);if(_0x3afc85){const {startColumn:_0x458566,endColumn:_0x11cf6a}=_0x3afc85;for(let _0x31f472=_0x458566;_0x31f472<=_0x11cf6a;_0x31f472++)_0x4977d5[_0x3d227a(0x14a)](_0x31f472);}}if(_0x4977d5[_0x3d227a(0x25a)]===_0x205f9b||_0x4977d5['size']===_0x205f9b)return Array['from'](_0x4977d5);if(_0x5ac656){const _0x58e35c=_0x5ac656[_0x3d227a(0x20d)](),_0x467166=Object[_0x3d227a(0x1d6)](_0x58e35c);for(const _0xff51e1 of _0x467166){const _0x5cddfe=Number(_0xff51e1),_0x45fb03=_0x58e35c[_0x5cddfe];if(_0x4977d5[_0x3d227a(0x25a)]===_0x205f9b)break;for(const _0x2a11bc in _0x45fb03){const _0x178e91=Number(_0x2a11bc);_0x178e91<_0xd0ab22||_0x178e91>_0x3de8bf||_0x4977d5[_0x3d227a(0x14a)](_0x178e91);}}}if(_0x13fbd7){const _0x4406ed=_0x13fbd7[_0x3d227a(0x20d)](),_0x1b8214=Object[_0x3d227a(0x1d6)](_0x4406ed);for(const _0x482ef7 of _0x1b8214){const _0x3c3635=Number(_0x482ef7),_0x2fe5d9=_0x4406ed[_0x3c3635];if(_0x4977d5[_0x3d227a(0x25a)]===_0x205f9b)break;for(const _0x2a4173 in _0x2fe5d9){const _0x4a3195=Number(_0x2a4173);_0x4a3195<_0xd0ab22||_0x4a3195>_0x3de8bf||_0x4977d5[_0x3d227a(0x14a)](_0x4a3195);}}}return Array[_0x3d227a(0x286)](_0x4977d5);},As=_0x3f55ef=>{const _0x1b1b9a=_0x5f289e,_0x2eeaef=new Set(),_0x5a1614=[];for(const _0x5e51a9 of _0x3f55ef){const _0x22c8f5=_0x5e51a9['startRow']+','+_0x5e51a9[_0x1b1b9a(0xfc)]+','+_0x5e51a9['startColumn']+','+_0x5e51a9[_0x1b1b9a(0x153)];_0x2eeaef[_0x1b1b9a(0x21c)](_0x22c8f5)||(_0x2eeaef[_0x1b1b9a(0x14a)](_0x22c8f5),_0x5a1614['push'](_0x5e51a9));}return _0x5a1614;};let ct=class extends _0x4882c1{constructor(_0x2debde,_0xb8af32,_0x173e67,_0x44e59b,_0x3a5c4c){const _0x2ed5f7=_0x5f289e;super(),x(this,_0x2ed5f7(0x1f6),new _0x3f7edb(!0x0)),x(this,_0x2ed5f7(0xe0),_0x3799be=>{const _0x35e265=_0x2ed5f7;this['_globalSubject'][_0x35e265(0xb9)](!0x1);}),x(this,_0x2ed5f7(0x9b),_0x5612e2=>{this['_globalSubject']['next'](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x2debde,this[_0x2ed5f7(0x1b1)]=_0xb8af32,this['_commandService']=_0x173e67,this['_globalComputingSrv']=_0x44e59b,this[_0x2ed5f7(0x304)]=_0x3a5c4c,this[_0x2ed5f7(0x24f)](),this[_0x2ed5f7(0x318)]());}['_init'](){const _0x8e47b5=_0x5f289e;this[_0x8e47b5(0x207)](),this[_0x8e47b5(0x28a)](),this[_0x8e47b5(0xc1)](),this[_0x8e47b5(0x308)]();}[_0x5f289e(0x262)](){const _0x57aae4=_0x5f289e;this[_0x57aae4(0x210)][_0x57aae4(0x2ed)](this[_0x57aae4(0x1f6)]),_0x5257d7['registerCallbackWithEvent'](_0x2fcc24['onQueryStart'],this[_0x57aae4(0xe0)]),_0x5257d7[_0x57aae4(0x1bd)](_0x2fcc24['onQueryEnd'],this[_0x57aae4(0x9b)]);}[_0x5f289e(0x318)](){const _0x1f4dcf=_0x5f289e;this[_0x1f4dcf(0x266)](this[_0x1f4dcf(0x27f)][_0x1f4dcf(0x17a)](_0x326c8b=>{const _0x1e77a2=_0x1f4dcf;_0x326c8b['id']===_0x549e96['id']&&this['_sheetsPivotDataSourceModel'][_0x1e77a2(0x26d)](_0x326c8b['params']);})),this['disposeWithMe'](this[_0x1f4dcf(0x27f)][_0x1f4dcf(0x17a)](_0x27ff48=>{const _0x3708c2=_0x1f4dcf;if(_0x27ff48['id']!==ro['id'])return;const _0x3a1643=_0x27ff48[_0x3708c2(0xcf)],{unitId:_0x53fc6c,subUnitId:_0x34efdf,pivotTableId:_0x3cccf4}=_0x3a1643,_0x1db792=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x1be)],_0x345379={};switch(_0x1db792){case k[_0x3708c2(0x208)]:{const _0xbb7fff=_0x3a1643[_0x3708c2(0xcf)]['filter'];if(!_0xbb7fff)return;const {row:_0x300641,col:_0x1d1487,cellData:_0x1b8f72,pivotItemRenderInfoCache:_0x3a49cb,tableFieldId:_0x1af1cc}=_0xbb7fff,_0x46f675=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3a1643[_0x3708c2(0x2f6)]);if(!_0x46f675||!_0x3a49cb)return;if(_0x1af1cc){const _0x337752=_0x46f675[_0x3708c2(0x1c6)](_0x1af1cc);if(!_0x337752)return;_0x345379['filter']={..._0x46f675[_0x3708c2(0x14b)](_0x337752),'tableFieldId':_0x1af1cc,'pivotTableId':_0x3a1643[_0x3708c2(0x2f6)],'filterInfo':_0x46f675[_0x3708c2(0x22e)](_0x1af1cc),'sortInfo':_0x46f675[_0x3708c2(0xfb)](_0x1af1cc),'format':_0x46f675[_0x3708c2(0x2f5)](_0x1af1cc)};}else{const _0x474348=ki(_0x300641,_0x1d1487,_0x1b8f72,_0x46f675,_0x3a49cb),_0x2ec739=_0x474348==null?void 0x0:_0x474348['filterId'];if(!_0x2ec739)return;const _0xe74205=_0x46f675[_0x3708c2(0x1c6)](_0x2ec739);if(!_0xe74205)return;_0x345379[_0x3708c2(0x24b)]={..._0x46f675[_0x3708c2(0x14b)](_0xe74205),'tableFieldId':_0x2ec739,'pivotTableId':_0x3a1643['pivotTableId'],'filterInfo':_0x46f675[_0x3708c2(0x22e)](_0x2ec739),'sortInfo':_0x46f675[_0x3708c2(0xfb)](_0x2ec739),'format':_0x46f675['getFieldFormat'](_0x2ec739)};}}break;case k[_0x3708c2(0x114)]:{const _0xb5be95=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x275)];if(!_0xb5be95)return;const {pivotTableId:_0x168ffb}=_0xb5be95,_0x58d8ff=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x168ffb);if(!_0x58d8ff)return;const _0x2635fd=this[_0x3708c2(0x185)]['getPivotTableConfig'](_0x53fc6c,_0x34efdf,_0x168ffb),_0x581c40=Ki(_0x58d8ff,_0x168ffb,_0x2635fd);_0x345379[_0x3708c2(0x275)]=_0x581c40;}break;case k[_0x3708c2(0x2d2)]:{const _0x519b01=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3cccf4),_0x518a78=this[_0x3708c2(0x185)][_0x3708c2(0x13d)](_0x53fc6c),_0x20549d=_0x518a78['getCollection'](_0x3cccf4);let _0x1a6db4=null;const _0x2c90c0=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4),_0xb21438=_0x3a1643[_0x3708c2(0xcf)]['addPivotField'];if(!_0x519b01||!_0x2c90c0||!_0xb21438)return!0x1;const {dataFieldId:_0x547d9f,fieldArea:_0x45bfb1,index:_0x3bf52a}=_0xb21438;_0x519b01[_0x3708c2(0x16c)]();const _0x48dc30=_0x519b01[_0x3708c2(0x1fe)](_0x547d9f,_0x45bfb1,_0x3bf52a);if(_0x48dc30&&_0x45bfb1===_0x31de81[_0x3708c2(0x18a)]){const _0x5c679d=_0x48dc30[_0x3708c2(0x2f0)](),_0x14e434=_0x519b01[_0x3708c2(0x1c6)](_0x5c679d);if(_0x14e434){const _0x173e8d=_0x14e434==null?void 0x0:_0x14e434['getFieldDataType']();_0x519b01[_0x3708c2(0x194)](_0x48dc30['getId'](),_0x173e8d===_0x3b1a02['number']?_0x5c74c6[_0x3708c2(0x29b)]:_0x5c74c6['count']);}const _0x6c0772=_0x519b01['getValueIndex'](),_0x4435c1=_0x519b01[_0x3708c2(0xa6)](),_0x1c0192=_0x519b01[_0x3708c2(0x1b3)](_0x31de81[_0x3708c2(0x18a)]);if(_0x6c0772===-0x1&&_0x1c0192>0x1){const _0x194ea4=_0x4435c1===_0x326e9b[_0x3708c2(0x1ed)]?_0x326e9b['Column']:_0x4435c1,_0x36797f=_0x194ea4===_0x326e9b[_0x3708c2(0x2a8)]?_0x31de81[_0x3708c2(0x2a8)]:_0x31de81[_0x3708c2(0x26e)];_0x519b01[_0x3708c2(0x271)](_0x194ea4,_0x519b01[_0x3708c2(0x1b3)](_0x36797f));}}else{if(_0x48dc30&&(_0x45bfb1===_0x31de81['Row']||_0x45bfb1===_0x31de81[_0x3708c2(0x26e)])){const _0x32d473=_0x48dc30[_0x3708c2(0x2f0)](),_0xc76ca8=_0x519b01['getDataFieldByTableId'](_0x32d473);if(_0xc76ca8&&(_0xc76ca8==null?void 0x0:_0xc76ca8[_0x3708c2(0x2ad)]())===_0x3b1a02['date']){const _0x459383=_0xc76ca8['getformat']();if(_0x459383&&_0x519b01[_0x3708c2(0x12f)](_0x48dc30[_0x3708c2(0x2f0)](),_0x459383),!_0x20549d[_0x3708c2(0x1d0)]()['some'](_0x2f9960=>{const _0x4b6ed3=_0x3708c2,_0x17277c=_0x20549d['getFieldById'](_0x2f9960);return _0x534005(_0x17277c)?_0x17277c[_0x4b6ed3(0x225)]()[_0x4b6ed3(0x2bf)]===_0x547d9f:!0x1;})){const _0x289bb7=_0x518a78[_0x3708c2(0x235)](),_0x14b296=qi(_0xc76ca8[_0x3708c2(0x177)],_0xc76ca8[_0x3708c2(0x24c)]),_0x2852bb=_0xc76ca8[_0x3708c2(0x127)]()+_0x3708c2(0x1e4)+Yo(this['_injector'],_0x14b296),_0x150ba7=new _0x26b310(_0x289bb7,_0x2852bb,_0xdc8474(0x3),_0xc76ca8['getId'](),_0x14b296);_0x518a78[_0x3708c2(0x1fa)](_0x150ba7),_0x20549d[_0x3708c2(0xd9)](_0x289bb7,_0x2852bb),_0x519b01['addFieldWithSourceId'](_0x289bb7,_0x45bfb1,(_0x3bf52a!=null?_0x3bf52a:0x0)+0x1),_0x1a6db4=_0x150ba7;}}}}const _0x29cd2f=_0x519b01['isEmpty'](),_0x2c10e8=_0x519b01[_0x3708c2(0x223)]()['toJSON']();let _0x3eb4e5;if(_0x1a6db4){_0x3eb4e5=_0x1a6db4['toJSON']();const _0x32d024=_0x1a6db4['getId']();_0x20549d['deleteField'](_0x32d024);let _0x23850d=!0x0;for(const _0x1554f9 in _0x518a78[_0x3708c2(0x10d)])if(_0x518a78[_0x3708c2(0x10d)][_0x1554f9][_0x3708c2(0x1d0)]()[_0x3708c2(0xcb)](_0x32d024)){_0x23850d=!0x1;break;}_0x23850d&&_0x518a78[_0x3708c2(0xc5)](_0x32d024);}const _0x3ce870=_0x519b01[_0x3708c2(0x2b5)]();_0x345379['addPivotField']={'view':_0x2c10e8,'changesets':_0x3ce870,'isEmpty':_0x29cd2f,'pivotTableConfig':_0x2c90c0,'shouldBeAddedGroupJSON':_0x3eb4e5};}break;case k[_0x3708c2(0x1bf)]:{const _0x14e2e8=_0x3a1643[_0x3708c2(0xcf)]['addPivotTable'];if(!_0x14e2e8)return;const _0x43b6c0=_0x14e2e8['sourceRangeInfo'],_0x1d1e5e=_0x14e2e8[_0x3708c2(0x2f6)],{collection:_0x1ae018}=this[_0x3708c2(0x185)][_0x3708c2(0x253)]({'unitId':_0x43b6c0[_0x3708c2(0x2e0)],'sheetName':_0x43b6c0[_0x3708c2(0x1ad)],'subUnitId':_0x43b6c0[_0x3708c2(0x14d)],'range':_0x43b6c0[_0x3708c2(0x1f4)]}),_0x1d3a96=new _0x5257d7(_0x1ae018,void 0x0,_0x1d1e5e),_0x45b35f=_0x1d3a96[_0x3708c2(0x223)](),_0x4c672f=_0x1d3a96[_0x3708c2(0xde)](),_0x4421d3=_0x1ae018['toJSON']();_0x345379['addPivotTable']={'view':_0x45b35f,'fieldsConfig':_0x4c672f,'collectionConfig':_0x4421d3,'isEmpty':_0x1d3a96[_0x3708c2(0x16b)]()};}break;case k[_0x3708c2(0xac)]:{const _0x3aa74b=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0xc8)];if(!_0x3aa74b)return;const {fieldId:_0x419382,area:_0x573150,index:_0x210e26}=_0x3aa74b,_0x52fcc7=this[_0x3708c2(0x185)][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x52fcc7)return;const _0x150ee4=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3cccf4);if(!_0x150ee4)return;_0x150ee4['startCollectChangeset']();const {area:_0x256884,index:_0xcbde49}=_0x150ee4[_0x3708c2(0xa9)](_0x419382);if(_0x150ee4['updateFieldPosition'](_0x419382,_0x573150,_0x210e26),_0x573150===_0x31de81[_0x3708c2(0x18a)]&&_0x150ee4['getTableFieldById'](_0x419382)[_0x3708c2(0xfd)]()===void 0x0){const _0x4ce68b=_0x150ee4[_0x3708c2(0xd2)](_0x419382);if(_0x4ce68b&&_0x4ce68b[_0x3708c2(0xfd)]()===void 0x0){const _0x463b8b=_0x150ee4[_0x3708c2(0x1c6)](_0x419382);if(_0x463b8b){const _0x339c81=_0x463b8b==null?void 0x0:_0x463b8b[_0x3708c2(0x2ad)]();_0x150ee4['setSubtotalType'](_0x419382,_0x339c81===_0x3b1a02[_0x3708c2(0x27b)]?_0x5c74c6[_0x3708c2(0x29b)]:_0x5c74c6[_0x3708c2(0x277)]);}}}const _0x2b460d=_0x150ee4[_0x3708c2(0xa6)](),_0x574969=_0x150ee4[_0x3708c2(0x2a0)](),_0x4fdecf=_0x150ee4[_0x3708c2(0x1b3)](_0x31de81[_0x3708c2(0x18a)])>0x1;if(_0x4fdecf&&_0x256884===_0x573150&&(_0x573150===_0x31de81[_0x3708c2(0x2a8)]&&_0x2b460d===_0x326e9b['Row']||_0x573150===_0x31de81['Column']&&_0x2b460d===_0x326e9b[_0x3708c2(0x26e)])){let _0x15b093=_0x574969;_0xcbde49<=_0x574969&&_0x15b093--,_0x210e26<=_0x574969&&_0x15b093++,_0x150ee4[_0x3708c2(0x271)](_0x2b460d,_0x15b093);}else _0x4fdecf&&(_0x256884===_0x31de81[_0x3708c2(0x2a8)]&&_0x2b460d===_0x326e9b[_0x3708c2(0x2a8)]||_0x256884===_0x31de81[_0x3708c2(0x26e)]&&_0x2b460d===_0x326e9b[_0x3708c2(0x26e)])&&_0x574969>=_0xcbde49&&_0x150ee4[_0x3708c2(0x271)](_0x2b460d,_0x574969-0x1),_0x4fdecf&&(_0x573150===_0x31de81['Row']&&_0x2b460d===_0x326e9b['Row']||_0x573150===_0x31de81[_0x3708c2(0x26e)]&&_0x2b460d===_0x326e9b[_0x3708c2(0x26e)])&&_0x574969>=_0x210e26&&_0x150ee4['updateValuePosition'](_0x2b460d,_0x574969+0x1);const _0xe6cf1b=_0x150ee4[_0x3708c2(0x223)](),_0x146179=_0x150ee4[_0x3708c2(0x16b)](),_0x3b0eae=_0x150ee4[_0x3708c2(0x2b5)]();_0x345379[_0x3708c2(0xc8)]={'view':_0xe6cf1b[_0x3708c2(0xde)](),'changesets':_0x3b0eae,'isEmpty':_0x146179,'pivotTableConfig':_0x52fcc7};}break;case k[_0x3708c2(0x2cd)]:{const _0xbcab3c=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x1d7)];if(!_0xbcab3c)return;const _0x123989=_0xbcab3c['fieldIds'],_0x1fb6ef=this[_0x3708c2(0x185)]['getPivotTableConfig'](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x1fb6ef)return!0x1;const _0x4fba7d=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x3cccf4);if(!_0x4fba7d)return!0x1;_0x4fba7d['startCollectChangeset']();for(const _0x4e3fee of _0x123989){const {area:_0x2c52b6}=_0x4fba7d[_0x3708c2(0xa9)](_0x4e3fee);_0x2c52b6===_0x31de81[_0x3708c2(0x18a)]&&_0x4fba7d['removeValueFilterInfoByValueFieldId'](_0x4e3fee),(_0x2c52b6===_0x31de81[_0x3708c2(0x2a8)]||_0x2c52b6===_0x31de81['Column'])&&_0x4fba7d['removeValueFilterInfo'](_0x4e3fee),_0x4fba7d[_0x3708c2(0x166)](_0x4e3fee);}const _0x2e76fe=_0x4fba7d['isEmpty'](),_0x5161b2=_0x4fba7d[_0x3708c2(0x223)]()['toJSON'](),_0x300d88=_0x4fba7d[_0x3708c2(0x2b5)]();_0x345379['removePivotField']={'changesets':_0x300d88,'pivotTableConfig':_0x1fb6ef,'isEmpty':_0x2e76fe,'view':_0x5161b2};}break;case k['SetPivotFilter']:{const _0x2b4ec7=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x295)];if(!_0x2b4ec7)return;const {tableFieldId:_0x3ac293,items:_0x382dbb,isAll:_0x23fc7c}=_0x2b4ec7,_0x25574b=this[_0x3708c2(0x185)]['getPivotTableInstance'](_0x3cccf4),_0x1c8ec7=this[_0x3708c2(0x185)]['getPivotTableConfig'](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x25574b||!_0x1c8ec7)return;_0x25574b[_0x3708c2(0x16c)](),_0x25574b[_0x3708c2(0x243)](_0x3ac293,{'type':_0x4ecb74[_0x3708c2(0x319)],'list':_0x382dbb,'isAll':_0x23fc7c});const _0x59c6e3=_0x25574b['isEmpty'](),_0x741e3=_0x25574b['query']()['toJSON'](),_0x10fad4=_0x25574b[_0x3708c2(0x2b5)]();_0x345379[_0x3708c2(0x295)]={'view':_0x741e3,'changesets':_0x10fad4,'isEmpty':_0x59c6e3,'pivotTableConfig':_0x1c8ec7};}break;case k[_0x3708c2(0x2dc)]:{const _0x2d2499=_0x3a1643[_0x3708c2(0xcf)]['setValuePivotFilter'];if(!_0x2d2499)return;const {tableFieldId:_0x31e944,filterInfo:_0x3a8646}=_0x2d2499,_0x2c1394=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3cccf4),_0x166d98=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x2c1394||!_0x166d98)return;_0x2c1394[_0x3708c2(0x16c)](),_0x2c1394[_0x3708c2(0x111)](_0x31e944,_0x3a8646);const _0x46ba32=_0x2c1394[_0x3708c2(0x16b)](),_0x22390a=_0x2c1394[_0x3708c2(0x223)]()[_0x3708c2(0xde)](),_0x21dbda=_0x2c1394['endCollectChangeset']();_0x345379[_0x3708c2(0x2df)]={'view':_0x22390a,'changesets':_0x21dbda,'isEmpty':_0x46ba32,'pivotTableConfig':_0x166d98};}break;case k[_0x3708c2(0x30d)]:{const _0x104874=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x13e)];if(!_0x104874)return;const {tableFieldId:_0x1e25bc,info:_0x13e1dc}=_0x104874,_0x43d721=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3cccf4),_0x86c94c=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x43d721||!_0x86c94c)return;_0x43d721[_0x3708c2(0x16c)](),_0x43d721[_0x3708c2(0x2c5)](_0x1e25bc,_0x13e1dc);const _0x589c49=_0x43d721['isEmpty'](),_0x2eab30=_0x43d721[_0x3708c2(0x223)]()[_0x3708c2(0xde)](),_0x572172=_0x43d721['endCollectChangeset']();_0x345379['setPivotSort']={'view':_0x2eab30,'changesets':_0x572172,'isEmpty':_0x589c49,'pivotTableConfig':_0x86c94c};}break;case k[_0x3708c2(0xb2)]:{const _0x21c86f=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x23d)];if(!_0x21c86f)return;const {tableFieldId:_0x221858,displayName:_0x4355e7,subtotalType:_0x25363a,format:_0x56fe59}=_0x21c86f,_0x42afaf=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3cccf4),_0x58fc47=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x42afaf||!_0x58fc47)return;_0x42afaf[_0x3708c2(0x16c)](),_0x4355e7!==void 0x0&&_0x42afaf[_0x3708c2(0xc0)](_0x221858,_0x4355e7),_0x25363a!==void 0x0&&_0x42afaf[_0x3708c2(0x194)](_0x221858,_0x25363a),_0x56fe59!==void 0x0&&_0x42afaf[_0x3708c2(0x12f)](_0x221858,_0x56fe59);const _0x1673e2=_0x42afaf[_0x3708c2(0x16b)](),_0x5ebc02=_0x42afaf[_0x3708c2(0x223)]()['toJSON'](),_0x45cd6f=_0x42afaf['endCollectChangeset']();_0x345379[_0x3708c2(0x23d)]={'changesets':_0x45cd6f,'pivotTableConfig':_0x58fc47,'isEmpty':_0x1673e2,'view':_0x5ebc02};}break;case k[_0x3708c2(0x269)]:{const _0x2ce8fc=_0x3a1643['params'][_0x3708c2(0x173)];if(!_0x2ce8fc)return;const {dataRangeInfo:_0x4ed346,unitId:_0x364b6a,subUnitId:_0x2f4567}=_0x2ce8fc,_0x348ad6=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x364b6a,_0x2f4567,_0x3cccf4),_0xa94a27=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3cccf4);if(!this['_sheetsPivotDataSourceModel'][_0x3708c2(0xbb)](_0x364b6a,_0x3cccf4)||!_0xa94a27||!_0x348ad6)return;const _0x789a55=this[_0x3708c2(0x185)]['getUpdateRangeDeleteIds'](_0x364b6a,_0x3cccf4,_0x4ed346),_0x516efa=this[_0x3708c2(0x185)]['getCollection'](_0x364b6a,_0x3cccf4)[_0x3708c2(0xde)](),{collection:_0x74b4a9}=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x253)]({'unitId':_0x4ed346[_0x3708c2(0x2e0)],'sheetName':_0x4ed346[_0x3708c2(0x1ad)],'subUnitId':_0x4ed346[_0x3708c2(0x14d)],'range':_0x4ed346[_0x3708c2(0x1f4)]}),_0x190c06=_0x74b4a9[_0x3708c2(0xde)]();_0xa94a27[_0x3708c2(0x16c)]();const _0x5709be=this[_0x3708c2(0x185)][_0x3708c2(0x13d)](_0x364b6a)[_0x3708c2(0x2db)]()||_0x3cf054;_0xa94a27[_0x3708c2(0x16f)](_0x5acf35=>{const _0x55f352=_0x3708c2,_0x14ab20=_0x5acf35[_0x55f352(0x140)]();if(!_0x74b4a9[_0x55f352(0x170)](_0x14ab20)){const _0x5b5aeb=_0x74b4a9[_0x55f352(0x307)](_0x5acf35['getSourceName']());if(_0x5b5aeb){_0xa94a27['updateFieldSourceInfo'](_0x5acf35[_0x55f352(0x2f0)](),_0x5b5aeb['getName'](),_0x5b5aeb[_0x55f352(0x2f0)]());const {area:_0x5aa911}=_0xa94a27[_0x55f352(0xa9)](_0x5acf35[_0x55f352(0x2f0)]());let _0x554845=_0x5acf35[_0x55f352(0x1c3)]();const _0x4e4674=_0x5acf35[_0x55f352(0xdd)]();if(_0x5aa911===_0x31de81[_0x55f352(0x18a)]){const _0x34d677=_0x5acf35[_0x55f352(0xfd)]();_0x554845=_0x5709be(_0x5b5aeb['getName'](),_0x34d677);}_0x4e4674!==_0x554845&&_0xa94a27[_0x55f352(0xc0)](_0x5acf35[_0x55f352(0x2f0)](),_0x554845);}else _0xa94a27['removeField'](_0x5acf35[_0x55f352(0x2f0)]());}});const _0x4342e5=_0xa94a27['isEmpty'](),_0x359735=_0xa94a27[_0x3708c2(0x223)]()[_0x3708c2(0xde)](),_0x18b1f5=_0xa94a27[_0x3708c2(0x2b5)]();_0x345379['updatePivotSource']={'view':_0x359735,'changesets':_0x18b1f5,'isEmpty':_0x4342e5,'pivotTableConfig':_0x348ad6,'collectionConfig':_0x190c06,'oldCollectionConfig':_0x516efa,'deleteIds':_0x789a55};}break;case k[_0x3708c2(0x274)]:{const _0x2996e6=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x271)];if(!_0x2996e6)return;const {position:_0x748b13,index:_0x1f5ada}=_0x2996e6,_0x2a1e41=this[_0x3708c2(0x185)][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x2a1e41)return!0x1;const _0x199685=this[_0x3708c2(0x185)]['getPivotTableInstance'](_0x3cccf4);if(!_0x199685)return!0x1;_0x199685[_0x3708c2(0x16c)](),_0x199685['updateValuePosition'](_0x748b13,_0x1f5ada);const _0x4e58ca=_0x199685['isEmpty'](),_0x4c0ac2=_0x199685[_0x3708c2(0x223)]()[_0x3708c2(0xde)](),_0x3c881a=_0x199685['endCollectChangeset']();_0x345379[_0x3708c2(0x271)]={'changesets':_0x3c881a,'pivotTableConfig':_0x2a1e41,'isEmpty':_0x4e58ca,'view':_0x4c0ac2};}break;case k['SetPivotCollapse']:{const _0x3950cf=_0x3a1643['params']['setPivotCollapse'];if(!_0x3950cf)return;const {tableFieldId:_0x3fe246,collapse:_0x34ec0a,item:_0x23ec96}=_0x3950cf,_0x25bf22=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x23e)](_0x3cccf4),_0xf04e98=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x25bf22||!_0xf04e98)return;_0x25bf22[_0x3708c2(0x16c)](),_0x25bf22[_0x3708c2(0x1e2)](_0x3fe246,_0x34ec0a,_0x23ec96);const _0x3f983b=_0x25bf22[_0x3708c2(0x16b)](),_0x5b60fd=_0x25bf22[_0x3708c2(0x223)]()['toJSON'](),_0x303fe7=_0x25bf22[_0x3708c2(0x2b5)]();_0x345379[_0x3708c2(0x30a)]={'view':_0x5b60fd,'isEmpty':_0x3f983b,'pivotTableConfig':_0xf04e98,'changesets':_0x303fe7};}break;case k[_0x3708c2(0x2f7)]:{const _0xfb3118=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x314)];if(!_0xfb3118)return;const {pivotTableConfig:_0x27b187}=_0xfb3118,_0x46de78=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x23e)](_0x3cccf4),_0x13ec85=this[_0x3708c2(0x185)][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0x46de78||!_0x13ec85)return;_0x46de78[_0x3708c2(0x16c)](),Wi(_0x46de78,_0x27b187);const _0x42b808=_0x46de78['isEmpty'](),_0x2d9a84=_0x46de78[_0x3708c2(0x223)]()[_0x3708c2(0xde)](),_0x23d64b=_0x46de78[_0x3708c2(0x2b5)]();_0x345379[_0x3708c2(0x314)]={'view':_0x2d9a84,'isEmpty':_0x42b808,'pivotTableConfig':{..._0x13ec85,'fieldsConfig':_0x46de78[_0x3708c2(0xde)]()},'changesets':_0x23d64b};}break;case k[_0x3708c2(0xe7)]:{const _0x5b9153=_0x3a1643[_0x3708c2(0xcf)][_0x3708c2(0x15f)];if(!_0x5b9153)return;const _0xbee5f=this[_0x3708c2(0x185)][_0x3708c2(0x23e)](_0x3cccf4),_0x3bd8c5=this[_0x3708c2(0x185)][_0x3708c2(0x9e)](_0x53fc6c,_0x34efdf,_0x3cccf4);if(!_0xbee5f||!_0x3bd8c5)return;_0xbee5f[_0x3708c2(0x16c)](),ji(_0xbee5f,_0x5b9153[_0x3708c2(0x28d)]);const _0x29cc37=_0xbee5f[_0x3708c2(0x223)]()['toJSON'](),_0x8a2266=_0xbee5f[_0x3708c2(0x2b5)]();_0x345379[_0x3708c2(0x15f)]={'view':_0x29cc37,'isEmpty':!0x0,'pivotTableConfig':{..._0x3bd8c5,'fieldsConfig':_0xbee5f[_0x3708c2(0xde)]()},'changesets':_0x8a2266};}break;case k[_0x3708c2(0x2d8)]:{const _0x4b4c0e=_0x3a1643['params'][_0x3708c2(0x1fc)];if(!_0x4b4c0e)return;const _0x53df65=_0x4b4c0e['sourceRangeInfo'],_0x16faab=_0x4b4c0e[_0x3708c2(0x2f6)],{collection:_0x3c9009}=this[_0x3708c2(0x185)][_0x3708c2(0x253)]({'unitId':_0x53df65[_0x3708c2(0x2e0)],'sheetName':_0x53df65['sheetName'],'subUnitId':_0x53df65[_0x3708c2(0x14d)],'range':_0x53df65['range']}),_0x507cd9=new _0x5257d7(_0x3c9009,void 0x0,_0x16faab),_0x2e06f0=_0x3c9009[_0x3708c2(0x1d0)](),{rows:_0x106210,columns:_0x283d6a,filters:_0x4cf086,values:_0x11a0aa}=_0x4b4c0e[_0x3708c2(0x1f9)];_0x507cd9[_0x3708c2(0x16c)]();for(const {field:_0x34230e,selectedItems:_0x4e69b7}of _0x106210||[]){const _0x2d941f=_0x2e06f0[_0x34230e];if(_0x2d941f){const _0x1159c7=_0x507cd9[_0x3708c2(0x1fe)](_0x2d941f,_0x31de81[_0x3708c2(0x2a8)]);_0x4e69b7&&_0x1159c7&&_0x507cd9[_0x3708c2(0x243)](_0x1159c7['getId'](),{'type':_0x4ecb74['ManualFilter'],'list':_0x4e69b7,'isAll':!0x1});}}for(const {field:_0xe0a7e1,selectedItems:_0x200699}of _0x283d6a||[]){const _0x3c5a05=_0x2e06f0[_0xe0a7e1];if(_0x3c5a05){const _0xc83f31=_0x507cd9['addFieldWithSourceId'](_0x3c5a05,_0x31de81['Column']);_0x200699&&_0xc83f31&&_0x507cd9[_0x3708c2(0x243)](_0xc83f31['getId'](),{'type':_0x4ecb74[_0x3708c2(0x319)],'list':_0x200699,'isAll':!0x1});}}for(const {field:_0x127900,selectedItems:_0x40c003}of _0x4cf086||[]){const _0x1bf780=_0x2e06f0[_0x127900];if(_0x1bf780){const _0x2e6f98=_0x507cd9[_0x3708c2(0x1fe)](_0x1bf780,_0x31de81['Filter']);_0x40c003&&_0x2e6f98&&_0x507cd9[_0x3708c2(0x243)](_0x2e6f98[_0x3708c2(0x2f0)](),{'type':_0x4ecb74[_0x3708c2(0x319)],'list':_0x40c003,'isAll':!0x1});}}for(const {field:_0x2c3bbe,subTotalType:_0x1da319,formatString:_0x3f4024}of _0x11a0aa||[]){const _0x5b09e6=_0x3c9009[_0x3708c2(0x2b0)](_0x2e06f0[_0x2c3bbe]);if(!_0x5b09e6)continue;const _0x29ed56=_0x2e06f0[_0x2c3bbe];if(_0x29ed56){const _0x4512dd=_0x507cd9[_0x3708c2(0x1fe)](_0x29ed56,_0x31de81[_0x3708c2(0x18a)]);if(_0x4512dd){if(_0x1da319!==void 0x0){_0x507cd9[_0x3708c2(0x194)](_0x4512dd[_0x3708c2(0x2f0)](),_0x1da319);const _0x3b41eb=this['_sheetsPivotDataSourceModel'][_0x3708c2(0x13d)](_0x53df65[_0x3708c2(0x2e0)])[_0x3708c2(0x2db)]()||_0x3cf054,_0xf29f36=_0x3c9009[_0x3708c2(0xdd)](_0x29ed56),_0x33f941=_0x3b41eb(_0xf29f36,_0x1da319);_0x507cd9[_0x3708c2(0xc0)](_0x4512dd['getId'](),_0x33f941);}else{if(_0x5b09e6){const _0x5aecd4=_0x5b09e6==null?void 0x0:_0x5b09e6[_0x3708c2(0x2ad)]();_0x507cd9[_0x3708c2(0x194)](_0x4512dd[_0x3708c2(0x2f0)](),_0x5aecd4===_0x3b1a02[_0x3708c2(0x27b)]?_0x5c74c6[_0x3708c2(0x29b)]:_0x5c74c6[_0x3708c2(0x277)]);}}_0x3f4024&&_0x507cd9[_0x3708c2(0x12f)](_0x4512dd[_0x3708c2(0x2f0)](),_0x3f4024);}}}const _0x307d1e=_0x507cd9[_0x3708c2(0x223)](),_0x4c5301=_0x507cd9[_0x3708c2(0xde)](),_0x2b21f1=_0x507cd9[_0x3708c2(0x16b)](),_0xc84c3e=_0x507cd9['endCollectChangeset'](),_0xb67066=_0x3c9009['toJSON']();_0x345379[_0x3708c2(0x1fc)]={'view':_0x307d1e,'fieldsConfig':_0x4c5301,'collectionConfig':_0xb67066,'isEmpty':_0x2b21f1,'changesets':_0xc84c3e};}break;case k[_0x3708c2(0xf2)]:{const _0x25cf9b=Li(this[_0x3708c2(0x304)],_0x3a1643);if(!_0x25cf9b)return;const {range:_0x56ee52,sourceSubUnitId:_0x3cf296,sourceUnitId:_0x365279,formatMap:_0x50ed89,indexes:_0x2cf382}=_0x25cf9b;_0x345379['drillDown']={'range':_0x56ee52,'sourceSubUnitId':_0x3cf296,'sourceUnitId':_0x365279,'formatMap':_0x50ed89,'indexes':_0x2cf382};}break;}this[_0x3708c2(0x27f)][_0x3708c2(0xa0)](lo['id'],{'version':_0x3a1643[_0x3708c2(0x30e)],'result':_0x345379},{'onlyLocal':!0x0});}));}[_0x5f289e(0xc1)](){const _0x1c0ef5=_0x5f289e;this[_0x1c0ef5(0x266)](this[_0x1c0ef5(0x27f)][_0x1c0ef5(0x17a)](_0x16529f=>{const _0xcc634e=_0x1c0ef5;if(_0x16529f['id']!==uo['id'])return;const _0xfac15f=_0x16529f[_0xcc634e(0xcf)];return this[_0xcc634e(0x185)][_0xcc634e(0x2b7)](_0xfac15f[_0xcc634e(0x29e)]),!0x0;}));}[_0x5f289e(0x207)](){const _0x49a7e5=_0x5f289e;this[_0x49a7e5(0x185)][_0x49a7e5(0x219)]['subscribe'](_0x28f7d5=>{const _0x7884a4=_0x49a7e5;switch(_0x28f7d5[_0x7884a4(0x1be)]){case Le[_0x7884a4(0x14a)]:_0x28f7d5[_0x7884a4(0x2a1)]&&_0x28f7d5[_0x7884a4(0x1f7)]&&this[_0x7884a4(0x197)](_0x28f7d5['token'],_0x28f7d5[_0x7884a4(0x2a1)],_0x28f7d5[_0x7884a4(0x1f7)]);break;case Le[_0x7884a4(0x2e6)]:{const {unitId:_0x31da9c,subUnitId:_0xe812d2,token:_0x4a4364}=_0x28f7d5;_0x31da9c&&_0xe812d2&&_0x4a4364&&this[_0x7884a4(0x131)](_0x31da9c,_0xe812d2,_0x4a4364);}break;case Le[_0x7884a4(0x249)]:{const {token:_0x24cf1a,oldSourceRangeInfo:_0x104365,dataRangeInfo:_0x21eb50,targetCellInfo:_0x4e2caa}=_0x28f7d5,{unitId:_0xf9155d,subUnitId:_0x229bc2}=_0x104365||{};_0xf9155d&&_0x229bc2&&_0x24cf1a&&this[_0x7884a4(0x131)](_0xf9155d,_0x229bc2,_0x24cf1a),_0x21eb50&&_0x4e2caa&&this[_0x7884a4(0x197)](_0x24cf1a,_0x21eb50,_0x4e2caa);}break;}});}[_0x5f289e(0x308)](){this['_sheetsPivotDataSourceModel']['fieldsCollectionChange$']['subscribe'](_0x48ab0e=>{const _0x2f31ad=_0xa9aa;Object['keys'](_0x48ab0e)[_0x2f31ad(0x13f)](_0x135409=>{const _0x482c53=_0x2f31ad,_0x24e2ad=this['_sheetsPivotDataSourceModel'][_0x482c53(0xe1)](_0x135409);if(_0x24e2ad){const _0x39083e=this[_0x482c53(0x185)]['getPivotTableConfig'](_0x24e2ad==null?void 0x0:_0x24e2ad[_0x482c53(0x2e0)],_0x24e2ad==null?void 0x0:_0x24e2ad[_0x482c53(0x14d)],_0x135409);_0x39083e&&(this[_0x482c53(0x197)](_0x135409,_0x39083e['sourceRangeInfo'],_0x39083e['targetCellInfo']),this[_0x482c53(0x132)]([{'unitId':_0x24e2ad[_0x482c53(0x2e0)],'subUnitId':_0x24e2ad[_0x482c53(0x14d)],'token':_0x135409}]));}});});}[_0x5f289e(0x28a)](){const _0x545f7c=_0x5f289e;this[_0x545f7c(0x185)][_0x545f7c(0x2c4)][_0x545f7c(0x174)](_0x4bbd51=>{const _0x4a6533=_0x545f7c,{unitId:_0x1ffae5,subUnitId:_0x304c9f,pivotTableId:_0x1d87b9}=_0x4bbd51;_0x1ffae5&&_0x304c9f&&_0x1d87b9&&this[_0x4a6533(0x132)]([{'unitId':_0x1ffae5,'subUnitId':_0x304c9f,'token':_0x1d87b9}]);});}[_0x5f289e(0x132)](_0x18fec5){const _0x125c5c=_0x5f289e,_0x35116d={};_0x18fec5[_0x125c5c(0x13f)](_0x2a0176=>{var _0x1070fb,_0x34cafc;const {unitId:_0x25645c,subUnitId:_0x27dfb3,token:_0x30e622}=_0x2a0176;_0x35116d[_0x25645c]=(_0x1070fb=_0x35116d[_0x25645c])!=null?_0x1070fb:{},_0x35116d[_0x25645c][_0x27dfb3]=(_0x34cafc=_0x35116d[_0x25645c][_0x27dfb3])!=null?_0x34cafc:{},_0x35116d[_0x25645c][_0x27dfb3][_0x30e622]=!0x0;}),this[_0x125c5c(0x27f)][_0x125c5c(0xa0)](xt['id'],_0x35116d);}[_0x5f289e(0x131)](_0x56e540,_0x227ec9,_0x2b9361){const _0x3be738=_0x5f289e;this[_0x3be738(0x1b1)]['remove'](_0x56e540,_0x227ec9,[_0x2b9361]);}[_0x5f289e(0x197)](_0x51c6c4,_0x3a59c1,_0x3e0744){const _0x835a49=_0x5f289e,{unitId:_0x3ea94f,subUnitId:_0xe42368}=_0x3a59c1;this['_featureCalculationManagerService'][_0x835a49(0x21c)](_0x3e0744[_0x835a49(0x2e0)],_0x3e0744[_0x835a49(0x14d)],_0x51c6c4)&&this[_0x835a49(0x131)](_0x3ea94f,_0xe42368,_0x51c6c4);const _0x23898b={'sheetId':_0xe42368,..._0x3a59c1};this['_featureCalculationManagerService']['register'](_0x3e0744[_0x835a49(0x2e0)],_0x3e0744['subUnitId'],_0x51c6c4,{'unitId':_0x3e0744[_0x835a49(0x2e0)],'subUnitId':_0x3e0744['subUnitId'],'dependencyRanges':[_0x23898b],'getDirtyData':(_0x3c9d35,_0x13d6cb)=>{const _0x1d77ce=_0x835a49,_0x4c42c8=this[_0x1d77ce(0x185)],_0x1f89fc=_0x4c42c8[_0x1d77ce(0xe1)](_0x51c6c4);if(!_0x1f89fc)return Vs();const {unitId:_0x1953c3,subUnitId:_0x373845}=_0x1f89fc,_0x5ed917=Os(_0x3c9d35,_0x13d6cb,_0x3a59c1);if(_0x5ed917[_0x1d77ce(0x294)]>0x0){const _0x38b342=_0x4c42c8[_0x1d77ce(0xbb)](_0x3ea94f,_0x51c6c4),_0x514c19=_0x38b342[_0x1d77ce(0x1d0)](),_0x3e9a68=this[_0x1d77ce(0x1ba)](_0x3a59c1[_0x1d77ce(0x2e0)],_0x3a59c1[_0x1d77ce(0x14d)],_0x13d6cb),_0x37fe83={},_0x1c6f12=this[_0x1d77ce(0x185)][_0x1d77ce(0x13d)](_0x1953c3)['getAutoDisplayNameFunction']()||_0x3cf054,_0x485853=[];for(const _0x553738 of _0x5ed917){const _0x4025e5=_0x553738-(_0x3a59c1['range']['startColumn']||0x0),_0x311cd4=_0x514c19[_0x4025e5];_0x485853[_0x1d77ce(0x288)](_0x311cd4),_0x37fe83[_0x311cd4]=_0x38b342[_0x1d77ce(0x2b0)](_0x311cd4)[_0x1d77ce(0x127)](),_0x4c42c8['getDataFieldManager'](_0x3ea94f)[_0x1d77ce(0x1b4)](_0x311cd4,_0x3a59c1,_0x4025e5,_0x3e9a68);}_0x38b342[_0x1d77ce(0xb4)](_0x485853)['forEach'](_0x1989fb=>{const _0xd6b9d7=_0x1d77ce,[_0x2a8eeb,_0x253d33]=_0x1989fb,_0xdb391=_0x38b342[_0xd6b9d7(0x2b0)](_0x2a8eeb),_0x2050a1=_0x38b342[_0xd6b9d7(0x2b0)](_0x253d33);_0xdb391&&_0x2050a1&&_0xdb391[_0xd6b9d7(0x136)](_0x2050a1);}),_0x38b342[_0x1d77ce(0xbe)]();const _0x28ae5d=_0x4c42c8[_0x1d77ce(0x23e)](_0x51c6c4);if(_0x28ae5d){Es(_0x28ae5d,_0x37fe83,_0x1c6f12),_0x28ae5d[_0x1d77ce(0x299)](!0x0);const _0x1dddda=_0x28ae5d['query'](),_0xbc6106=_0x4c42c8['getPivotTableConfig'](_0x1953c3,_0x373845,_0x51c6c4),_0x46d7f4=_0x4c42c8['getDataFieldManager'](_0x3ea94f)['toJSON']();_0x4c42c8['updateView'](_0x1953c3,_0x373845,B[_0x1d77ce(0x2d7)],_0x51c6c4,_0x1dddda,_0xbc6106,_0x46d7f4,!0x0);}}return this[_0x1d77ce(0xda)](_0x1953c3,_0x373845,_0x51c6c4);}});}['getMatrixFromRunTimeData'](_0xfa581b,_0x3cf892,_0x55fe30){var _0x296bc1,_0x3319b9;const {arrayFormulaCellData:_0x384b67,unitData:_0x27a613}=_0x55fe30,_0x1429e4=(_0x296bc1=_0x384b67==null?void 0x0:_0x384b67[_0xfa581b])==null?void 0x0:_0x296bc1[_0x3cf892],_0x4ae004=(_0x3319b9=_0x27a613==null?void 0x0:_0x27a613[_0xfa581b])==null?void 0x0:_0x3319b9[_0x3cf892];return{'arrayFormulaCellDataMatrix':_0x1429e4,'unitDataMatrix':_0x4ae004};}[_0x5f289e(0xda)](_0x12350c,_0x5f1e89,_0x48a58d){const _0x53f832=_0x5f289e,_0x54ce94=this[_0x53f832(0x185)][_0x53f832(0x2d4)](_0x12350c,_0x5f1e89,_0x48a58d),_0x2cd9c3=[],_0x33cdc1=new _0x2cf1b4();if(_0x54ce94){const {rangeCache:_0x4881f1,matrix:_0x9facfa,oldRangeCache:_0x5416b6,oldMatrix:_0x1b28a9}=_0x54ce94,_0x5abb52=Bt(_0x5416b6),_0x12271b=Bt(_0x4881f1);_0x2cd9c3[_0x53f832(0x288)](..._0x12271b,..._0x5abb52),_0x1b28a9&&_0x5416b6&&_0x5abb52[_0x53f832(0x13f)](_0x287734=>{const _0x192418=_0x53f832;for(let _0x5737dc=_0x287734[_0x192418(0xd5)];_0x5737dc<=_0x287734[_0x192418(0xfc)];_0x5737dc++)for(let _0xdaef05=_0x287734[_0x192418(0x237)];_0xdaef05<=_0x287734[_0x192418(0x153)];_0xdaef05++)_0x33cdc1['realDeleteValue'](_0x5737dc,_0xdaef05);}),_0x9facfa&&_0x12271b&&_0x12271b[_0x53f832(0x13f)](_0x5de792=>{const _0xd51f62=_0x53f832;for(let _0x3ed362=_0x5de792[_0xd51f62(0xd5)];_0x3ed362<=_0x5de792[_0xd51f62(0xfc)];_0x3ed362++)for(let _0x2350c9=_0x5de792[_0xd51f62(0x237)];_0x2350c9<=_0x5de792[_0xd51f62(0x153)];_0x2350c9++)_0x33cdc1[_0xd51f62(0x95)](_0x3ed362,_0x2350c9,_0x9facfa[_0xd51f62(0x1d8)](_0x3ed362,_0x2350c9));});}const _0x38c6aa={};return _0x38c6aa[_0x12350c]={[_0x5f1e89]:As(_0x2cd9c3)},{'runtimeCellData':{[_0x12350c]:{[_0x5f1e89]:_0x33cdc1}},'dirtyRanges':_0x38c6aa};}['dispose'](){}};ct=Us([at(0x0,_0x425448(J)),at(0x1,_0x425448(_0x3def3c)),at(0x2,_0x425448(_0x1db6fa)),at(0x3,_0x425448(_0x54b1ce)),at(0x4,_0x425448(_0x559951))],ct);var ks=Object[_0x5f289e(0xaf)],Ks=(_0x515938,_0x22ed17,_0x23dd09,_0x130d54)=>{for(var _0x51a81d=_0x130d54>0x1?void 0x0:_0x130d54?ks(_0x22ed17,_0x23dd09):_0x22ed17,_0x1ad8a2=_0x515938['length']-0x1,_0xe222aa;_0x1ad8a2>=0x0;_0x1ad8a2--)(_0xe222aa=_0x515938[_0x1ad8a2])&&(_0x51a81d=_0xe222aa(_0x51a81d)||_0x51a81d);return _0x51a81d;},wt=(_0x4796d4,_0x2140de)=>(_0xc941f1,_0x524a78)=>_0x2140de(_0xc941f1,_0x524a78,_0x4796d4);let dt=class extends _0x4882c1{constructor(_0x25d0c4,_0x2ad9cb,_0xe1c87,_0x101558){const _0x401eb8=_0x5f289e;super(),x(this,_0x401eb8(0x1ef),new _0x353cec()),(this[_0x401eb8(0xa4)]=_0x25d0c4,this[_0x401eb8(0x1fd)]=_0x2ad9cb,this['_sheetsSelectionsService']=_0xe1c87,this[_0x401eb8(0xc4)]=_0x101558,this[_0x401eb8(0x205)]());}[_0x5f289e(0x205)](){const _0x53acce=_0x5f289e;this[_0x53acce(0x266)](this[_0x53acce(0x1fd)][_0x53acce(0xa1)]({'getMutations':_0x6e1aa1=>{const _0x3e4dee=_0x53acce;if(_0x6e1aa1['id']===_0xd3ce8a['id']||_0x6e1aa1['id']===_0x223752['id']){const _0x4a22a8=[],_0x178184=[],_0x1d967b=this[_0x3e4dee(0x2fa)][_0x3e4dee(0x12e)]()['map'](_0x551fec=>_0x551fec[_0x3e4dee(0x1f4)]),_0x3126af=_0x1681e1(this['_univerInstanceService']);if(!_0x3126af)return{'redos':[],'undos':[]};const {unitId:_0x594fc9,subUnitId:_0x313b36}=_0x3126af,_0x598468={},_0x3d98ec=this[_0x3e4dee(0xc4)][_0x3e4dee(0x98)](_0x594fc9,_0x313b36);if(_0x3d98ec!=null&&_0x3d98ec[_0x3e4dee(0x25a)])for(const [_0xc2d7f8,_0x565744]of _0x3d98ec){const {unitId:_0xf113c4,subUnitId:_0xdbd962,row:_0x3b065c,col:_0x2acab4}=_0x565744[_0x3e4dee(0x1f7)];_0xf113c4===_0x3126af[_0x3e4dee(0x2e0)]&&_0xdbd962===_0x3126af[_0x3e4dee(0x14d)]&&(_0x598468[_0x3b065c+'-'+_0x2acab4]=_0xc2d7f8);}return _0x1d967b&&_0x3126af&&_0x1d967b[_0x3e4dee(0x13f)](_0x1849e6=>{const _0x5b0dad=_0x3e4dee;_0xe591c4[_0x5b0dad(0x2f4)](_0x1849e6,(_0x47289f,_0x469a87)=>{const _0x2483f3=_0x5b0dad,_0x229767=_0x47289f+'-'+_0x469a87;if(_0x598468[_0x229767]){const _0x26bbd7=_0x598468[_0x229767];_0x4a22a8['push']({'id':Et['id'],'params':{'unitId':_0x594fc9,'subUnitId':_0x313b36,'pivotTableId':_0x26bbd7}});const _0x5e5516=this[_0x2483f3(0xc4)][_0x2483f3(0xbb)](_0x594fc9,_0x26bbd7),_0x2bbdba=this['_sheetsPivotTableConfigModel'][_0x2483f3(0x9e)](_0x594fc9,_0x313b36,_0x26bbd7);_0x178184[_0x2483f3(0x288)]({'id':It['id'],'params':{'unitId':_0x594fc9,'subUnitId':_0x313b36,'pivotTableId':_0x26bbd7,'pivotTableConfig':_0x2bbdba,'collectionConfig':_0x5e5516}});}});}),{'redos':_0x4a22a8,'undos':_0x178184};}return{'redos':[],'undos':[]};}}));}};dt=Ks([wt(0x0,_0x412edb),wt(0x1,_0x425448(_0x30f5f2)),wt(0x2,_0x425448(_0x5174a3)),wt(0x3,_0x425448(ve))],dt);var Ls=Object[_0x5f289e(0xaf)],Bs=(_0x7cab50,_0x536b06,_0x11e1ba,_0x792182)=>{const _0x19840a=_0x5f289e;for(var _0x480cd5=_0x792182>0x1?void 0x0:_0x792182?Ls(_0x536b06,_0x11e1ba):_0x536b06,_0x442a75=_0x7cab50[_0x19840a(0x294)]-0x1,_0x447540;_0x442a75>=0x0;_0x442a75--)(_0x447540=_0x7cab50[_0x442a75])&&(_0x480cd5=_0x447540(_0x480cd5)||_0x480cd5);return _0x480cd5;},rt=(_0x26abb1,_0x1fd73c)=>(_0x45c85d,_0x3c3ae6)=>_0x1fd73c(_0x45c85d,_0x3c3ae6,_0x26abb1);let ut=class extends _0x4882c1{constructor(_0x3f4a39,_0x8c8a7c,_0x1bf660,_0x1beb2a,_0x45f55e){const _0x193b7c=_0x5f289e;super(),this[_0x193b7c(0x1fd)]=_0x3f4a39,this['_injector']=_0x8c8a7c,this['_univerInstanceService']=_0x1bf660,this[_0x193b7c(0xc4)]=_0x1beb2a,this['_sheetsPivotTableService']=_0x45f55e,this[_0x193b7c(0x161)]();}['_getPivotAppliedRanges'](_0x475dbc,_0x1fe9ac,_0x5d1803){const _0xcf1591=_0x5f289e,{pageView:_0x1d9311,cornerView:_0x285e7e,rowView:_0x1b163e,colView:_0x2fa4c4,dataView:_0x46f071}=_0x1fe9ac,_0x43b0e8=_0x475dbc;let _0xeca5e7;if(_0x5d1803)_0xeca5e7=[...Bi(_0x43b0e8)];else{const _0x9721cc=ge(_0x43b0e8,_0x1d9311,!0x0),_0x4d76f7=_0x1d9311[_0xcf1591(0x15a)]>=0x0?_0x1d9311['lastRow']+0x1:0x0,_0x1cba99=_0x285e7e[_0xcf1591(0x1fb)],_0x220c4a=_0x285e7e[_0xcf1591(0x1a4)],_0x46cd15=_0x9721cc[_0xcf1591(0x294)]>0x0?mt:0x0,_0x1fc7dc=ge({'row':_0x43b0e8['row']+_0x4d76f7+_0x46cd15,'col':_0x43b0e8[_0xcf1591(0x1de)]},_0x285e7e,!0x1,!0x1),_0x5b8845=ge({'row':_0x43b0e8[_0xcf1591(0x1e1)]+_0x4d76f7+_0x46cd15+_0x1cba99,'col':_0x43b0e8[_0xcf1591(0x1de)]},_0x1b163e,!0x1,!0x0),_0x352af1=ge({'row':_0x43b0e8[_0xcf1591(0x1e1)]+_0x4d76f7+_0x46cd15,'col':_0x43b0e8[_0xcf1591(0x1de)]+_0x220c4a},_0x2fa4c4,!0x1,!0x0),_0x48093e=ge({'row':_0x43b0e8[_0xcf1591(0x1e1)]+_0x4d76f7+_0x46cd15+_0x1cba99,'col':_0x43b0e8[_0xcf1591(0x1de)]+_0x220c4a},_0x46f071,!0x1,!0x0);_0xeca5e7=[..._0x9721cc,..._0x1fc7dc,..._0x5b8845,..._0x352af1,..._0x48093e];}return _0xeca5e7;}[_0x5f289e(0x161)](){const _0x4fbd87=_0x5f289e;this[_0x4fbd87(0x266)](this[_0x4fbd87(0xe3)][_0x4fbd87(0x233)][_0x4fbd87(0x2a3)](this[_0x4fbd87(0xe3)][_0x4fbd87(0x233)]['getInterceptPoints']()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x1d72a4,_0x2b247f)=>{const _0x2f868f=_0x4fbd87,{cellInfo:_0x235899,view:_0x1dbbe3,isEmpty:_0x235e66}=_0x2b247f,_0x14fc90=_0x235899,{unitId:_0x205f6c,subUnitId:_0x36af09}=_0x14fc90,_0x3106f4=this[_0x2f868f(0x13b)](_0x235899,_0x1dbbe3,_0x235e66),_0x127178=this[_0x2f868f(0x1fd)][_0x2f868f(0x125)]({'unitId':_0x205f6c,'subUnitId':_0x36af09,'ranges':_0x3106f4}),_0x237eb4=qo(this['_injector'],_0x205f6c,_0x36af09,_0x3106f4);_0x237eb4['shouldClear']&&(_0x127178['redos'][_0x2f868f(0x288)](_0x237eb4['setRangeValueRedoMutation']),_0x127178[_0x2f868f(0x1f2)][_0x2f868f(0x288)](_0x237eb4[_0x2f868f(0x123)]));const _0x307c7b=this[_0x2f868f(0x11e)](_0x1dbbe3,_0x235899);return _0x127178[_0x2f868f(0x141)][_0x2f868f(0x288)](..._0x307c7b['redos']),_0x127178['undos'][_0x2f868f(0x288)](..._0x307c7b[_0x2f868f(0x1f2)]),{'redos':_0x127178[_0x2f868f(0x141)],'undos':_0x127178['undos']};}}));}[_0x5f289e(0x11e)](_0x124986,_0x567083){const _0x29c055=_0x5f289e,{col:_0x24e222,unitId:_0x28d9fd,subUnitId:_0x16f156}=_0x567083,_0x1522e5=[],_0x4b089c=[],_0x6791ed=_0x1681e1(this['_univerInstanceService'],{'unitId':_0x28d9fd,'subUnitId':_0x16f156});if(!_0x567083||!_0x124986||!_0x6791ed)return{'undos':_0x4b089c,'redos':_0x1522e5};const _0x21de4c=this[_0x29c055(0xc4)]['getTextInfo'](),{colView:_0x442b42,dataView:_0x3edbfd,cornerView:_0x452fb7,rowView:_0x46b0a3,formatMap:_0x535616}=_0x124986,_0x598d7d=yo(_0x442b42,_0x21de4c,!0x0,_0x535616),_0x5a8f20=yo(_0x46b0a3,_0x21de4c,!0x1,_0x535616),_0x415ca0=Gi(_0x3edbfd),_0x191dc6=Hi(_0x452fb7),{worksheet:_0xf41889}=_0x6791ed;if(typeof window<'u'&&window[_0x29c055(0x171)]){const _0x4a1be8=_0x412e26({...fe[_0x29c055(0x2f8)]}),_0x93f7f3=_0x490c79[_0x29c055(0x1c9)](_0x598d7d,_0x4a1be8)['width']+0x10,_0x5cfd42=_0x490c79[_0x29c055(0x1c9)](_0x415ca0,_0x4a1be8)[_0x29c055(0x1e3)],_0x851a76=Math['floor'](Math['max'](_0x93f7f3,_0x5cfd42))+0x10,_0xd752d8=Math[_0x29c055(0x2c8)](_0x490c79[_0x29c055(0x1c9)](_0x5a8f20,_0x4a1be8)[_0x29c055(0x1e3)]),_0x5eb3ab=Math[_0x29c055(0x2c8)](_0x490c79[_0x29c055(0x1c9)](_0x191dc6,_0x4a1be8)[_0x29c055(0x1e3)]),_0x357d3d=Math[_0x29c055(0x151)](_0xd752d8,_0x5eb3ab,0x28)+0xc,_0x17cdb4=_0x442b42[_0x29c055(0x1a4)]+_0x452fb7[_0x29c055(0x1a4)],_0x16a26a={},_0x46ebf6={};for(let _0x5b0991=_0x24e222;_0x5b0991<_0x24e222+_0x17cdb4;_0x5b0991++){const _0x52e0ad=_0xf41889[_0x29c055(0x2a4)](_0x5b0991);_0x16a26a[_0x5b0991]=_0x52e0ad,_0x5b0991-_0x24e222<_0x452fb7[_0x29c055(0x1a4)]?_0x46ebf6[_0x5b0991-_0x24e222]=_0x357d3d:_0x46ebf6[_0x5b0991-_0x24e222]=_0x851a76;}_0x1522e5[_0x29c055(0x288)]({'id':_0x4622a4['id'],'params':{'subUnitId':_0x16f156,'unitId':_0x28d9fd,'ranges':[{'startColumn':_0x24e222,'endColumn':_0x24e222+_0x17cdb4-0x1,'startRow':0x0,'endRow':_0xf41889[_0x29c055(0x23a)]()-0x1}],'colWidth':_0x46ebf6}}),_0x4b089c[_0x29c055(0x288)]({'id':_0x4622a4['id'],'params':{'subUnitId':_0x16f156,'unitId':_0x28d9fd,'ranges':[{'startColumn':_0x24e222,'endColumn':_0x24e222+_0x17cdb4-0x1,'startRow':0x0,'endRow':_0xf41889['getRowCount']()-0x1}],'colWidth':_0x16a26a}});}return{'undos':_0x4b089c,'redos':_0x1522e5};}};ut=Bs([rt(0x0,_0x425448(_0x30f5f2)),rt(0x1,_0x425448(_0x559951)),rt(0x2,_0x425448(_0x412edb)),rt(0x3,_0x425448(ve)),rt(0x4,_0x425448(ie))],ut);var Js=Object['getOwnPropertyDescriptor'],$s=(_0x1a79aa,_0x26f1de,_0x462942,_0x17581e)=>{const _0x2ac96c=_0x5f289e;for(var _0x5152e8=_0x17581e>0x1?void 0x0:_0x17581e?Js(_0x26f1de,_0x462942):_0x26f1de,_0x10657b=_0x1a79aa[_0x2ac96c(0x294)]-0x1,_0x4f633f;_0x10657b>=0x0;_0x10657b--)(_0x4f633f=_0x1a79aa[_0x10657b])&&(_0x5152e8=_0x4f633f(_0x5152e8)||_0x5152e8);return _0x5152e8;},ke=(_0x471595,_0x590910)=>(_0x291a27,_0x523d5a)=>_0x590910(_0x291a27,_0x523d5a,_0x471595);let ft=class extends _0x4882c1{constructor(_0x682757,_0x19393b,_0x488523,_0x1e9316,_0x595fde,_0x2b9c4d,_0x45448e){const _0x47984d=_0x5f289e;super(),x(this,_0x47984d(0x1ef),new _0x353cec()),(this[_0x47984d(0x304)]=_0x682757,this[_0x47984d(0x144)]=_0x19393b,this['_commandService']=_0x488523,this[_0x47984d(0xa4)]=_0x1e9316,this[_0x47984d(0xc4)]=_0x595fde,this['_sheetsPivotTableAdaptorModel']=_0x2b9c4d,this[_0x47984d(0x1fd)]=_0x45448e,this['_onRefRangeChange']());}[_0x5f289e(0x289)](){const _0x17d8aa=_0x5f289e,_0x7abb9c=(_0x47b6f4,_0x588292)=>{const _0x160da2=_0xa9aa,_0x374a59=this['_univerInstanceService']['getCurrentUnitForType'](_0x5c1aae[_0x160da2(0x20e)]);if(!_0x374a59||!(_0x374a59==null?void 0x0:_0x374a59[_0x160da2(0x312)](_0x588292)))return;this['disposableCollection'][_0x160da2(0x245)]();const _0x53cd10=_0x4edc65=>this[_0x160da2(0x1e8)](_0x4edc65,_0x47b6f4,_0x588292),_0x54115a=this['_sheetsPivotTableConfigModel'][_0x160da2(0x98)](_0x47b6f4,_0x588292);if(!(_0x54115a!=null&&_0x54115a[_0x160da2(0x25a)]))return;Array['from'](_0x54115a[_0x160da2(0x1a3)]())[_0x160da2(0x14c)](_0x209f4f=>{const _0x348d8c=_0x160da2,{row:_0x500128,col:_0x3a3e1b}=_0x209f4f[_0x348d8c(0x1f7)];return _0x27b91b(_0x500128,_0x3a3e1b);})[_0x160da2(0x13f)](_0x47c9d0=>{const _0x4d3182=_0x160da2;this[_0x4d3182(0x1ef)][_0x4d3182(0x14a)](this[_0x4d3182(0x144)][_0x4d3182(0x1f1)](_0x47c9d0,_0x53cd10,_0x47b6f4,_0x588292));});},_0x452deb=()=>{const _0x263a42=_0xa9aa,_0x8d814c=this[_0x263a42(0xa4)][_0x263a42(0x16e)](_0x5c1aae[_0x263a42(0x20e)]);if(_0x8d814c){const _0x5ec5c4=_0x8d814c[_0x263a42(0x1d1)]();if(!_0x5ec5c4)return;_0x7abb9c(_0x8d814c[_0x263a42(0x18e)](),_0x5ec5c4[_0x263a42(0xe9)]());}};this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x40fbad=>{const _0x2d7ea0=_0xa9aa;if(_0x40fbad['id']===_0x324890['id']){const _0x431b10=_0x40fbad[_0x2d7ea0(0xcf)],_0x528315=_0x431b10[_0x2d7ea0(0x14d)],_0x143f13=_0x431b10['unitId'];if(!_0x528315||!_0x143f13)return;_0x7abb9c(_0x143f13,_0x528315);}})),this[_0x17d8aa(0x266)](this['_sheetsPivotTableConfigModel'][_0x17d8aa(0xe8)]['subscribe'](_0x4491a3=>{_0x4491a3&&_0x452deb();})),this['disposeWithMe'](this[_0x17d8aa(0xc4)][_0x17d8aa(0xca)][_0x17d8aa(0x174)](_0x2fd47e=>{const _0x17e330=_0x17d8aa,_0x20f050=_0x1681e1(this[_0x17e330(0xa4)]);if(!_0x20f050)return;const {unitId:_0x2157b7,subUnitId:_0x1b7cc8}=_0x20f050,{unitId:_0x5aef1c,subUnitId:_0x55987f}=_0x2fd47e;_0x2157b7!==_0x5aef1c||_0x1b7cc8!==_0x55987f||_0x7abb9c(_0x2157b7,_0x1b7cc8);})),_0x452deb();}[_0x5f289e(0x1e8)](_0x5d2a1e,_0x1baf05,_0x54859b){const _0x45cc60=_0x5f289e;switch(_0x5d2a1e['id']){case _0x5b6517['id']:return this[_0x45cc60(0xa5)](_0x5d2a1e[_0x45cc60(0xcf)],_0x1baf05,_0x54859b);}return{'redos':[],'undos':[]};}[_0x5f289e(0xa5)](_0x3b9008,_0x4804b8,_0x57e9aa){const _0x3eb112=_0x5f289e,{fromRange:_0x3aed85,toRange:_0x198d17}=_0x3b9008,_0x2208d8=[],_0x3a993f=[],_0x39a4dc=_0x1681e1(this[_0x3eb112(0xa4)]);if(!_0x39a4dc)return{'undos':_0x3a993f,'redos':_0x2208d8};if(_0x4804b8!==_0x39a4dc[_0x3eb112(0x2e0)]||_0x57e9aa!==_0x39a4dc[_0x3eb112(0x14d)])return{'undos':_0x3a993f,'redos':_0x2208d8};const _0x4208ce=this['_sheetsPivotTableConfigModel'][_0x3eb112(0x98)](_0x4804b8,_0x57e9aa);if(_0x4208ce!=null&&_0x4208ce['size'])for(const [_0x406557,_0x36bfd8]of _0x4208ce){const {unitId:_0x2f48c0,subUnitId:_0x5dfc83,row:_0x563041,col:_0x38530a}=_0x36bfd8['targetCellInfo'];if(_0x2f48c0===_0x39a4dc[_0x3eb112(0x2e0)]&&_0x5dfc83===_0x39a4dc[_0x3eb112(0x14d)]){const _0x179103=_0x27b91b(_0x563041,_0x38530a);if(_0x14db58[_0x3eb112(0x231)](_0x179103,_0x3aed85)){const _0x46508e=_0x563041-_0x3aed85[_0x3eb112(0xd5)],_0xa8576f=_0x38530a-_0x3aed85[_0x3eb112(0x237)],_0x2a99fb={'row':_0x198d17[_0x3eb112(0xd5)]+_0x46508e,'col':_0x198d17['startColumn']+_0xa8576f};_0x2208d8[_0x3eb112(0x288)]({'id':pt['id'],'params':{'unitId':_0x2f48c0,'subUnitId':_0x5dfc83,'pivotTableId':_0x406557,'targetCellPosition':_0x2a99fb}}),_0x3a993f[_0x3eb112(0x288)]({'id':pt['id'],'params':{'unitId':_0x2f48c0,'subUnitId':_0x5dfc83,'pivotTableId':_0x406557,'targetCellPosition':{'row':_0x563041,'col':_0x38530a}}});const _0x4670dd=_0x2a99fb[_0x3eb112(0x1e1)]-_0x563041,_0x23d6c1=_0x2a99fb[_0x3eb112(0x1de)]-_0x38530a,_0x7c038e=[],_0x39360e=this[_0x3eb112(0x2cb)][_0x3eb112(0x265)](_0x2f48c0,_0x5dfc83,_0x406557),_0x5ee34f=_0x39360e==null?void 0x0:_0x39360e[_0x3eb112(0x215)];if(_0x5ee34f){Object['keys'](_0x5ee34f)[_0x3eb112(0x13f)](_0x9605f9=>{const _0x326680=_0x3eb112;_0x5ee34f[_0x9605f9][_0x326680(0x13f)](_0x142015=>{const _0x5ec94c=_0x326680,_0x7289e8={..._0x142015};_0x7289e8['startRow']=_0x142015['startRow']+_0x4670dd,_0x7289e8[_0x5ec94c(0xfc)]=_0x142015[_0x5ec94c(0xfc)]+_0x4670dd,_0x7289e8[_0x5ec94c(0x237)]=_0x142015[_0x5ec94c(0x237)]+_0x23d6c1,_0x7289e8[_0x5ec94c(0x153)]=_0x142015[_0x5ec94c(0x153)]+_0x23d6c1,_0x7c038e[_0x5ec94c(0x288)](_0x7289e8);});});const _0x47d889=this[_0x3eb112(0x1fd)][_0x3eb112(0x125)]({'unitId':_0x2f48c0,'subUnitId':_0x5dfc83,'ranges':_0x7c038e});_0x2208d8[_0x3eb112(0x288)](..._0x47d889[_0x3eb112(0x141)]),_0x3a993f[_0x3eb112(0x288)](..._0x47d889[_0x3eb112(0x1f2)]);const _0x4de6a9=qo(this[_0x3eb112(0x304)],_0x2f48c0,_0x5dfc83,_0x7c038e);_0x4de6a9[_0x3eb112(0x1d4)]&&(_0x2208d8[_0x3eb112(0x288)](_0x4de6a9[_0x3eb112(0x1ac)]),_0x3a993f['push'](_0x4de6a9[_0x3eb112(0x123)]));}}}}return{'redos':_0x2208d8,'undos':_0x3a993f};}};ft=$s([ke(0x0,_0x425448(_0x559951)),ke(0x1,_0x425448(_0x4b0b57)),ke(0x2,_0x1db6fa),ke(0x3,_0x412edb),ke(0x4,_0x425448(ve)),ke(0x5,_0x425448(Ne)),ke(0x6,_0x425448(_0x30f5f2))],ft);var Gs=Object['getOwnPropertyDescriptor'],Hs=(_0x232330,_0x47384d,_0x524929,_0x5646a4)=>{const _0x40550e=_0x5f289e;for(var _0x23f365=_0x5646a4>0x1?void 0x0:_0x5646a4?Gs(_0x47384d,_0x524929):_0x47384d,_0x3e90a0=_0x232330[_0x40550e(0x294)]-0x1,_0xef5573;_0x3e90a0>=0x0;_0x3e90a0--)(_0xef5573=_0x232330[_0x3e90a0])&&(_0x23f365=_0xef5573(_0x23f365)||_0x23f365);return _0x23f365;},wo=(_0x1b952d,_0x5d9b70)=>(_0x58e02f,_0x3d353d)=>_0x5d9b70(_0x58e02f,_0x3d353d,_0x1b952d);let gt=class extends _0x4882c1{constructor(_0x49385f,_0x4f7bfc){const _0x57c33e=_0x5f289e;super(),this['_sheetInterceptorService']=_0x49385f,this['_sheetsPivotTableConfigModel']=_0x4f7bfc,this[_0x57c33e(0x15d)]();}[_0x5f289e(0x15d)](){const _0x2ab5b1=_0x5f289e;this[_0x2ab5b1(0x266)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x526cca=>{const _0x1d714e=_0x2ab5b1;if(_0x526cca['id']===_0x2c4819['id']){const _0x27b71c=[],_0x2f8899=[],_0xb0eadf=_0x526cca[_0x1d714e(0xcf)],{unitId:_0x9f671d,subUnitId:_0x4cdee9}=_0xb0eadf;if(!_0x9f671d||!_0x4cdee9)return{'undos':_0x2f8899,'redos':_0x27b71c};const _0x42818a=this[_0x1d714e(0xc4)][_0x1d714e(0x98)](_0x9f671d,_0x4cdee9);if(_0x42818a!=null&&_0x42818a[_0x1d714e(0x25a)])for(const [_0x4dc239,_0x8c2e36]of _0x42818a){_0x27b71c[_0x1d714e(0x288)]({'id':Et['id'],'params':{'unitId':_0x9f671d,'subUnitId':_0x4cdee9,'pivotTableId':_0x4dc239}});const _0x4a057d={...this[_0x1d714e(0xc4)][_0x1d714e(0xbb)](_0x9f671d,_0x4dc239)};_0x2f8899[_0x1d714e(0x288)]({'id':It['id'],'params':{'unitId':_0x9f671d,'subUnitId':_0x4cdee9,'pivotTableId':_0x4dc239,'pivotTableConfig':_0x8c2e36,'collectionConfig':_0x4a057d}});}return{'redos':_0x27b71c,'undos':_0x2f8899};}return{'redos':[],'undos':[]};}}));}};gt=Hs([wo(0x0,_0x425448(_0x30f5f2)),wo(0x1,_0x425448(ve))],gt);var Ws=Object['getOwnPropertyDescriptor'],js=(_0xddc255,_0x41cde6,_0x5d3a1a,_0x348c03)=>{const _0xd53f60=_0x5f289e;for(var _0x1e0d8e=_0x348c03>0x1?void 0x0:_0x348c03?Ws(_0x41cde6,_0x5d3a1a):_0x41cde6,_0x2398de=_0xddc255[_0xd53f60(0x294)]-0x1,_0x3fbf9a;_0x2398de>=0x0;_0x2398de--)(_0x3fbf9a=_0xddc255[_0x2398de])&&(_0x1e0d8e=_0x3fbf9a(_0x1e0d8e)||_0x1e0d8e);return _0x1e0d8e;},We=(_0x36e3bf,_0x8cf24c)=>(_0x14bc04,_0x2f0abd)=>_0x8cf24c(_0x14bc04,_0x2f0abd,_0x36e3bf);let ht=class extends _0x4882c1{constructor(_0x2d4e0d,_0x57e5f6,_0x47c92c,_0x22005f,_0x57bd06,_0xf6f94c){const _0xc47658=_0x5f289e;super(),this[_0xc47658(0x27f)]=_0x2d4e0d,this[_0xc47658(0xee)]=_0x57e5f6,this[_0xc47658(0x2cb)]=_0x47c92c,this[_0xc47658(0xc4)]=_0x22005f,this[_0xc47658(0xa4)]=_0x57bd06,this['_activeDirtyManagerService']=_0xf6f94c,this[_0xc47658(0x1cb)](),this[_0xc47658(0x130)]();}[_0x5f289e(0x1cb)](){const _0x46c79f=_0x5f289e;this[_0x46c79f(0x266)](this['_commandService'][_0x46c79f(0x17a)](_0x2407a6=>{const _0x525546=_0x46c79f;if(_0x2407a6['id']!==lo['id'])return;const _0x5e45be=_0x2407a6[_0x525546(0xcf)];this[_0x525546(0xee)]['handleAsyncResponse'](_0x5e45be);})),this['disposeWithMe'](this['_commandService'][_0x46c79f(0x17a)](_0x518c36=>{const _0x1a2869=_0x46c79f;if(_0x518c36['id']===co['id']){const _0x3d4260=_0x518c36[_0x1a2869(0xcf)];if(_0x3d4260){const {unitId:_0x47a4d8,subUnitId:_0x13cb05,oldSubUnitId:_0x537ebe,pivotTableId:_0x2ffd5b,pivotTableConfig:_0x3b0269,collectionConfig:_0x1225da}=_0x3d4260;this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x47a4d8,_0x537ebe,_0x3d4260[_0x1a2869(0x2f6)],null),this['_sheetsPivotTableConfigModel'][_0x1a2869(0x23f)](_0x47a4d8,_0x13cb05,_0x2ffd5b,_0x3b0269),this[_0x1a2869(0xc4)][_0x1a2869(0xc3)](_0x47a4d8,_0x1225da);}}})),this[_0x46c79f(0x266)](this[_0x46c79f(0x27f)][_0x46c79f(0x17a)](_0x544d29=>{const _0x442c3a=_0x46c79f;if(_0x544d29['id']!==Dt['id'])return;const _0x18ed66=_0x1681e1(this[_0x442c3a(0xa4)]);if(!_0x18ed66)return;const {unitId:_0x478e14,subUnitId:_0x4b8721}=_0x18ed66,_0x236938=_0x544d29['params'];if(_0x236938[_0x442c3a(0xf9)]&&Object[_0x442c3a(0x1d6)](_0x236938[_0x442c3a(0xf9)])[_0x442c3a(0x13f)](_0x43bcd5=>{const _0x522644=_0x442c3a;var _0x478302;(_0x478302=_0x236938[_0x522644(0xf9)])!=null&&_0x478302[_0x43bcd5]&&this[_0x522644(0xc4)]['updateCollectionConfig'](_0x43bcd5,_0x236938[_0x522644(0xf9)][_0x43bcd5]);}),_0x236938[_0x442c3a(0x260)]){const _0x22d350=_0x236938[_0x442c3a(0x260)],{unitId:_0x373ba1,subUnitId:_0x111e33,view:_0x431527,pivotTableId:_0x5187ad,type:_0x3c7ec4,pivotConfig:_0x48e650}=_0x22d350;if(_0x3c7ec4===B['Delete'])this[_0x442c3a(0x2cb)]['clearRenderCache']({'unitId':_0x373ba1,'subUnitId':_0x111e33,'pivotTableId':_0x5187ad,'type':_0x3c7ec4}),this[_0x442c3a(0xc4)][_0x442c3a(0x23f)](_0x373ba1,_0x111e33,_0x5187ad,null);else{const _0x2d8c75=new _0x21b750();_0x2d8c75[_0x442c3a(0x15c)](_0x431527),this[_0x442c3a(0xc4)][_0x442c3a(0x23f)](_0x373ba1,_0x111e33,_0x5187ad,_0x48e650),this[_0x442c3a(0x2cb)][_0x442c3a(0x2b3)]({'unitId':_0x373ba1,'subUnitId':_0x111e33,'pivotTableId':_0x5187ad,'type':_0x3c7ec4,'view':_0x2d8c75}),this[_0x442c3a(0x2cb)]['updateRenderCache']({'unitId':_0x373ba1,'subUnitId':_0x111e33,'view':_0x2d8c75,'pivotTableId':_0x5187ad,'type':_0x3c7ec4});}}else _0x236938[_0x442c3a(0x26b)]&&(_0x236938[_0x442c3a(0x26b)][_0x442c3a(0x13f)](_0x75ad6c=>{const _0x4c6cc0=_0x442c3a,{unitId:_0x506381,subUnitId:_0x168664,view:_0x71c53b,pivotTableId:_0x20c320,type:_0x1c9fbd,pivotConfig:_0x250842}=_0x75ad6c,_0x5bae96=new _0x21b750();_0x5bae96[_0x4c6cc0(0x15c)](_0x71c53b),this[_0x4c6cc0(0xc4)][_0x4c6cc0(0x23f)](_0x506381,_0x168664,_0x20c320,_0x250842),this[_0x4c6cc0(0x2cb)]['updateRenderCache']({'unitId':_0x506381,'subUnitId':_0x168664,'view':_0x5bae96,'pivotTableId':_0x20c320,'type':_0x1c9fbd});}),this[_0x442c3a(0xc4)]['setPivotInitCompleted']());this[_0x442c3a(0x2cb)][_0x442c3a(0x192)](_0x478e14,_0x4b8721);}));}[_0x5f289e(0x130)](){const _0x4c1782=_0x5f289e;this['_activeDirtyManagerService'][_0x4c1782(0x164)](xt['id'],{'commandId':xt['id'],'getDirtyData'(_0x507ca4){return{'dirtyUnitFeatureMap':_0x507ca4['params']};}});}};ht=js([We(0x0,_0x425448(_0x1db6fa)),We(0x1,_0x425448(X)),We(0x2,_0x425448(Ne)),We(0x3,_0x425448(ve)),We(0x4,_0x425448(_0x412edb)),We(0x5,_0x51ea25)],ht);function _0x514b(){const _0x105095=['level','removeCollectionImp','setLabelFilterInfo','sheets-pivot.dateGroup.yearMonth','dispose','find','sheets-pivot.cellDateGroupDisplay.yearQuarter','collapseInfo','update','_fieldsCollectionChange$','filter','minDate','sheets-pivot.varpName','NotName','_init','getPivotDisplayConfig','_initRegisterCommand','hasOwnProperty','createCollectionWithDataRange','COLUMN','_updatePivotTableInstanceCache','updateDataFieldsCollection','_dataSyncPrimaryController','getStyles','sheet.mutation.pivot-update-field-position','size','existing','headerMap','rangeType','SHEET_PIVOT_EXCLUSIVE_ID','name','single','getFullYear','_initGlobalComputed','fieldsCollectionChange$','CELL_CONTENT','getPivotItemRenderInfoCache','disposeWithMe','sheets-pivot.emptyPivot.filter','RenameField','UpdatePivotSource','SetFieldFormat','batch','sheets-pivot.cellDateGroupDisplay.yearMonthDate','handleMoveRange','Column','reset','getFilterFieldIdByIndex','updateValuePosition','sideEffectUpdateWorkerCache','_configVersion$','UpdateValuePosition','panel','getLastRow','count','replace','leafStyle','SetPivotCollapse','number','_deletePivotTableInstanceCache','getFormatInfo','_markDirty$','_commandService','sheet.command.set-pivot-sort','YearMonth','sheet.mutation.add-pivot-table','_pivotRenderValueMatrixCache','fetchThroughInterceptors','_pivotTableRangeInfo','from','_createExclusiveRange','push','_onRefRangeChange','_subjectViewChange','Delete','uniqueDataFieldName','resetArea','rowFields','sheet.mutation.remove-group-collection','getPivotTableIdByCell','4099432FHAjNk','rowHeaderMap','contains','length','setPivotFilter','sheets-pivot.cellDateGroupDisplay.hourMinute','versions','getRangeData','setDirty','StdDevp\x20of\x20','sum','YearMonthDate','#e6ebfa','textInfo','sheets-pivot.cellDateGroupDisplay.year','getValueIndex','dataRangeInfo','broadcastCollectionChange','intercept','getColumnWidth','sheets-pivot.dateGroup.yearMonthDate','_initLocale','dataFieldManagerConfig','Row','Month','getOriginFieldId','sheet.mutation.send-pivot-config-local','dimension','getFieldDataType','parseInt','sheets-pivot.cellDateGroupDisplay.date','getFieldById','getNoUsedDataFieldIds','iterateFieldDim','clearRenderCache','message','endCollectChangeset','getTargetByPivotTableId','setTextInfo','fetchThroughAsyncInterceptors','PivotMultipleValueId','getPivotTableCellData','forValue','sheets-pivot.cellDateGroupDisplay.hour','setName','getIndexesByPathStr','originalFieldId','getDataFieldByRangeKey','sortInfo','getHeaderMapItem','valuePosition','viewData$','setSortInfo','getRangeStartEndInfo','cellValue','floor','splice','SetFilterInfo','_sheetsPivotTableAdaptorModel','getDataFieldByDataFieldId','RemovePivotField','_resourceManagerService','getSubUnitPivotRenderCache','body','filterFields','AddPivotField','asObservable','getViewData','sheets-pivot.countNumsName','Max\x20of\x20','Set','AddPivotTableWithConfig','YearQuarter','removeValueFilterInfo','getAutoDisplayNameFunction','SetValuePivotFilter','sheets-pivot.maxName','sheet.command.update-date-group','setValuePivotFilter','unitId','setRangeKeyMap','subTotalStyle','COMMAND','_toJSON','sheet.mutation.set-pivot-value-filter','delete','getTypeOfUnitDisposed$','paths','_updateModelCache','addExclusiveRange','addCollection','Sum\x20of\x20','pushComputingStatusSubject','AddField','Product\x20of\x20','getId','notExecuteFormula','getValueFilterInfos','string','foreach','getFieldFormat','pivotTableId','SetPivotTableConfig','colStyle','updateFieldSourceInfo','_sheetsSelectionsService','MUTATION','UpdateSource','iterateFieldByArea','info','fieldsConfig','getPivotTableMatrixInfo','fieldId','dataFieldsCollection','areaInfo','_injector','sourceRangeInfo','unshift','getDataFieldBySourceName','_subjectFieldsCollectionChange','Min\x20of\x20','setPivotCollapse','adjustSheetCellData','pivotMutationGenerate','SetPivotSort','version','defineProperty','_initUnitDisposed','_ensurePivotItemRenderValueMatrixCache','getSheetBySheetId','updateViewInfo','setPivotTableConfig','sheets-pivot.emptyPivot.values','needSameDeleteModel','sheet.operation.pivot-table-view-formula-mark-dirty','_initPivotDataGetListener','ManualFilter','dataFieldId','isColMultiMeasure','ΣValue','node','setValue','Date','sheets-pivot.dateGroup.monthDate','getSubUnitPivotConfigs','sheets-pivot.productName','sheets-pivot.dateGroup.minute','_globalComputedEndHelpFunc','18810450wEfZzn','sheet.mutation.set-pivot-field-subtotal-type','getPivotTableConfig','_exclusiveRangeService','executeCommand','interceptCommand','_ensurePivotTableMatrixInfo','sheets-pivot.cellDateGroupDisplay.month','_univerInstanceService','getRefRangeMutationsByMoveRange','getValuePosition','registerSyncingMutations','getCellMatrix','getFieldPositionInfoById','NotFunction','onStarting','MovePivotField','_initConfig','sheet.mutation.set-pivot-collapse','getOwnPropertyDescriptor','grandTotal','sheet.mutation.set-pivot-position','SetPivotSetting','dateGroupField','getGroupFieldsInfoByIds','sheet.mutation.set-pivot-filter','getPivotTableModelConfig','getTextInfo','_ensurePivotItemRenderInfoCache','next','symbol','getCollection','2546270PLCWeb','isBottomTotal','updateAllDisplayName','asyncInterceptor','renameField','_initPivotTextInfo','_requestResolvers','updateCollectionConfig','_sheetsPivotTableConfigModel','deleteDataField','pbt','sheet.mutation.set-pivot-sort-info','movePivotField','getLastCol','pivotConfigChange$','includes','getRangeKey','handleAsyncResponse','sheets-pivot.blank','params','cornerStyle','sheets-pivot.emptyPivot.row','getTableFieldById','getSheets','_collectionConfigModel','startRow','deepClone','sheets-pivot.dateGroup.yearQuarter','getUnit','addField','getDirtyInfo','_pivotTableMatrixInfo','generateNewSheetName','getDisplayName','toJSON','getFormat','_globalComputedStartHelpFunc','getTargetByPivotId','NUMBER','_sheetsPivotTableService','Hour','sheets-pivot.value','546yzmBLS','ResetPivotTable','pivotInitCompleted$','getSheetId','columnFields','pageStyle','rangeKeyMap','16kHEJOK','_sheetsPivotRpcService','sheets-pivot.config','getSubUnitPivotMatrix','updateViewData','DrillDown','sheet.command.add-pivot-table-with-config','NAME','StdDev\x20of\x20','STRING','Minute','sheets-pivot.minName','collectionConfig','sheet.command.add-pivot-table','getSortInfo','endRow','getSubtotal','updateView','sourceName','getPivotTableRangeInfo','deleteField','sheet.mutation.add-pivot-field','sheets-pivot.columnName','registerCommand','updateConfig','SetValueFilter','get','sheets-pivot.stdDevpName','Total','getIntersects','_host','pivotTableConfigs','collections','data','addRecord','set','setValueFilterInfo','error','setPivotTable','Panel','random','entries','sheet.mutation.set-pivot-format','updateRenderCache','colRanges','sheet.mutation.add-group-collection','sheets-pivot.stdDevName','1301681TqNVKy','HourMinute','getAutoFitColumnsMutations','sheet.mutation.remove-pivot-table','_ensureViewDataMap','REF','sheets-pivot.dateGroup.year','setRangeValueUndoMutation','(Blank)','generateMutationsByRanges','cornerInfo','getName','sheets-pivot.cellDateGroupDisplay.yearMonth','_dataFieldManagerCollection','matrix','stringify','updatePivotTableMatrixInfo','sheet.mutation.update-date-group','getCurrentSelections','setFieldFormat','registerDirtyService','removeSourceRangeChange','triggerDirtyFeature','Average\x20of\x20','sheets-pivot.dateGroup.date','updateDirtyPivotTable','refreshGroupField','colHeaderMap','limit\x20pivot','sheet.command.set-pivot-field-setting','getRangeKeyList','_getPivotAppliedRanges','displayName','getDataFieldManager','setPivotSort','forEach','getDataFieldId','redos','sheets-pivot.cellDateGroupDisplay.minute','refreshData','_refRangeService','New','addCollectionByJSON','SetOptions','20118frPdeE','deleteUnitId','add','getDataFieldItemInfo','map','subUnitId','leftOffset','Count\x20of\x20','getUpdateRangeDeleteIds','max','addDirtyPivotTable','endColumn','Style','_config','_pivotTableInstanceCache','stdDevp','SetSubtotalType','getColCount','lastRow','#1d32e9','formJSON','_initRemoveSheetCommandInterceptor','bind','resetPivotTable','_pivotInitCompleted$','_initCommandInterceptListener','setDateType','initDataRanges','register','_collectionChange$','removeField','colInfo','sheet.command.pivot-drill-down','subtotal','Year','isEmpty','startCollectChangeset','format','getCurrentUnitForType','iterateField','hasField','document','_viewData','updatePivotSource','subscribe','prototype','277017iNCADn','maxDate','dataStream','other','onCommandExecuted','prefix','tableFieldId','measure','reduce','lastCol','sheets-pivot.dateGroup.hourMinute','_ensurePivotMap','workbook\x20is\x20not\x20found','NO_COMMERCIAL','_queryingMap','_sheetsPivotDataSourceModel','min','_pivotRenderInfoCache','Add','removeDataField','Value','setDataRecordCount','markDirty$','substring','getUnitId','_localeService','SHEET_PIVOT_TABLE_PLUGIN','sheet.mutation.get-pivot-data-local','markDirty','setRange','setSubtotalType','isDate','MIN_SAFE_INTEGER','handleSourceRangeChange','BLANK_PLACEHOLDER','Var\x20of\x20','getSheetBySheetName','_textInfo','new','call','rangeCache','fields','blank','_configService','_getAutoName','values','colCount','sheets-pivot.dateGroup.quarter','queryDirtyPivotTable','getDate','h9x3Kbtx\x20gF3T6JKbtx(Hb3FxCF,\x20J9OHb3GF6)\x20{\x20\x20\x20\x20KT6\x20{\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20Hb3FxCFAxhtnDTKNTTD6\x20=\x20Hb3FxCF.CJHbK(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20tTbwbxfFCCDwF\x20=\x20mE7R.JDTCF(DKtO(Hb3FxCFAxhtnDTKNTTD6[c]));\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!tTbwbxfFCCDwF.9g)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tTbwbxfFCCDwF.9g\x20=\x20R9POFT(Hb3FxCFAxhtnDTKNTTD6[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20bCytTvFT\x20=\x20K6JFth\x20ytTvFTkHtODHE3tJF\x20!==\x20\x279xgFhbxFg\x27\x20&&\x20CFHh\x20bxCKDx3Fth\x20ytTvFTkHtODHE3tJF;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x203txKFYK\x20=\x20bCytTvFT\x20?\x20CFHh\x20:\x20ubxgtu;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[c]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(PFCCDwFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[s]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(CbwxDK9TFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxlDHbg\x20=\x203txKFYK.__IFTbh6__(CbwxDK9TF,\x20PFCCDwF,\x20J9OHb3GF6);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20gtPDbx\x20=\x20tTbwbxfFCCDwF.gP;\x20\x20\x20\x20\x20\x20\x20\x20h9x3Kbtx\x20bCVtPDbxfDK3qbxw(tnDKKFTx,\x20trtCK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTx\x20=\x20tnDKKFTx.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCK\x20=\x20trtCK.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxnDTKC\x20=\x20JDKKFTx.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKnDTKC\x20=\x20qtCK.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!JDKKFTx.bx3H9gFC(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTx\x20===\x20qtCK;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(JDKKFTxnDTKC.HFxwKq\x20<\x20c\x20||\x20JDKKFTxnDTKC[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20hDHCF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxE9hhbY\x20=\x20JDKKFTxnDTKC.CHb3F(p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKE9hhbY\x20=\x20qtCKnDTKC.CHb3F(-JDKKFTxnDTKC.HFxwKq\x20+\x20p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTxE9hhbY\x20===\x20qtCKE9hhbY;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HFK\x20gtPDbxlDHbg\x20=\x20(gtPDbx\x20&&\x20gtPDbx.HFxwKq)\x20?\x20gtPDbx.CtPF((gPAKFP)\x20=>\x20bCVtPDbxfDK3qbxw(gPAKFP,\x20Ht3DKbtx.qtCKxDPF))\x20:\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(Ht3DKbtx.qtCKxDPF\x20===\x20\x27Ht3DHqtCK\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gtPDbxlDHbg\x20=\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20IDHbg\x20=\x20CbwxlDHbg\x20&&\x20gtPDbxlDHbg;\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20tTbwbxfFCCDwF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x203DK3q\x20(FTTtT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg:\x20hDHCF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','removeCollections','some','Subtotal','setRangeValueRedoMutation','sheetName','sheet.command.move-pivot-field','rangeKey','addPivotTable','_featureCalculationManagerService','MonthDate','getFieldCountByArea','refreshDataField','isValue','filterInfo','_viewUpdate$','registerPluginResource','_ensurePivotTableRangeInfo','getMatrixFromRunTimeData','sheets-pivot.countName','SetPivotFilter','registerCallbackWithEvent','type','AddPivotTable','fontRenderExtension','NotNumber','Existing','getSourceName','setSourceName','UpdateFieldPosition','getDataFieldByTableId','sheets-pivot.dateGroup.month','removePivotTable','getTextSize','sheets.tabs.sheet','_initDataSendListener','tuple','setOptions','_viewData$','object','getFieldIds','getActiveSheet','getConfig','#b2b2b2','shouldClear','average','keys','removePivotField','getValue','dataStyle','GrandTotal','setConfig','getCellRaw','fromJSON','col','sheet.command.update-pivot-value-position','toString','row','setCollapse','width','\x20-\x20','sheet.command.set-pivot-value-filter','options','NORMAL','_refRangeHandle','result','rowInfo','dataFields','sheet.command.set-pivot-collapse','None','_deleteModelCache','disposableCollection','sheets-pivot.dateGroup.hour','registerRefRange','undos','#f4f4f5','range','drillDown','_globalSubject','targetCellInfo','SHEET_PIVOT_IN_MAIN_THREAD','pivotTableIndexConfig','addDataFieldWithoutUnitInfo','rowCount','addPivotTableWithConfig','_sheetInterceptorService','addFieldWithSourceId','addPivotField','sheets-pivot.varName','pushUndoRedo','sheet.command.set-pivot-filter','column','SetSortInfo','_initClearSelectionCommandInterceptor','Quarter','_subjectCollectionChange','Filter','updateFieldPosition','charCodeAt','Column\x20','sheets-pivot.emptyPivot.column','getMatrix','UNIVER_SHEET','sheets-pivot.subTotal','_globalComputingSrv','Grand\x20Total','_lifecycleService','originTargetInfo','getMatrixValue','rangesInfo','sheet.command.update-pivot-table-source-range','valueFilter','_model','collectionChange$','setDisplayName','parse','has','valueIndex','BadReference','sheet.mutation.remove-pivot-field','valueFields','sheet.mutation.pivot-update-value-position','isArray','query','getColumnCount','getFieldInfo','sheet.command.add-pivot-field','collection','sheet.mutation.send-pivot-view-local','cornerRanges','_pivotConfigChange$','Varp\x20of\x20','oldRangeInfo','Values','getFilterInfo','_initSnapshot','rgb(240,241,243)','intersects','sheet.command.remove-pivot-field','interceptor','value','createDataFieldId','oldMatrix','startColumn','rowRanges','concat','getRowCount','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','2084568HsloOF','setPivotSetting','getPivotTableInstance','updateConfigCache','_initViewModelBySheetInterceptor'];_0x514b=function(){return _0x105095;};return _0x514b();}var qs=Object[_0x5f289e(0x30f)],Ys=Object[_0x5f289e(0xaf)],zs=(_0x122752,_0x67f384,_0xd47aeb)=>_0x67f384 in _0x122752?qs(_0x122752,_0x67f384,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd47aeb}):_0x122752[_0x67f384]=_0xd47aeb,Qs=(_0x251cd4,_0x514c69,_0x4bef6c,_0x30e334)=>{const _0x393d73=_0x5f289e;for(var _0x4565fb=_0x30e334>0x1?void 0x0:_0x30e334?Ys(_0x514c69,_0x4bef6c):_0x514c69,_0x3e57dd=_0x251cd4[_0x393d73(0x294)]-0x1,_0x173cb2;_0x3e57dd>=0x0;_0x3e57dd--)(_0x173cb2=_0x251cd4[_0x3e57dd])&&(_0x4565fb=_0x173cb2(_0x4565fb)||_0x4565fb);return _0x4565fb;},_t=(_0x334d07,_0x5169fa)=>(_0x24ebfb,_0x4e2685)=>_0x5169fa(_0x24ebfb,_0x4e2685,_0x334d07),Zo=(_0x56d587,_0x578626,_0x4bc54c)=>zs(_0x56d587,typeof _0x578626!=_0x5f289e(0xba)?_0x578626+'':_0x578626,_0x4bc54c);let Ut=class extends _0x5a42b7{constructor(_0x23fc06=Mo,_0x75f626,_0x61ec9c,_0x1fecf1,_0x3206ac){const _0x656591=_0x5f289e;super(),this[_0x656591(0x155)]=_0x23fc06,this[_0x656591(0x304)]=_0x75f626,this[_0x656591(0x27f)]=_0x61ec9c,this[_0x656591(0x1a1)]=_0x1fecf1,this[_0x656591(0x257)]=_0x3206ac;const {..._0xc12fe5}=_0x468aa8({},Mo,this['_config']);this[_0x656591(0x1a1)][_0x656591(0x1db)](zo,_0xc12fe5),this[_0x656591(0x251)](),this[_0x656591(0xad)]();}[_0x5f289e(0xad)](){const _0x355894=_0x5f289e;var _0x49029b;const _0x5b5c0a=(_0x49029b=this[_0x355894(0x155)])==null?void 0x0:_0x49029b[_0x355894(0x2f1)];this[_0x355894(0x1a1)]['setConfig'](z,_0x5b5c0a===!0x0);}[_0x5f289e(0xab)](){const _0x426558=_0x5f289e;var _0x1ae348;let _0x5e7cb9=[];const _0x19d09e=(_0x1ae348=this[_0x426558(0x155)])==null?void 0x0:_0x1ae348['notExecuteFormula'];_0x19d09e===!0x0?_0x5e7cb9=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x19d09e===!0x1?_0x5e7cb9=[[J],[ct]]:_0x19d09e===void 0x0&&(_0x5e7cb9=[[J],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x5e7cb9[_0x426558(0x13f)](_0x1d9bb4=>this[_0x426558(0x304)][_0x426558(0x14a)](_0x1d9bb4)),[ct,ht,ie,dt,gt,ft,ut]['forEach'](_0x5d0cee=>{const _0x4f5678=_0x426558;this['_injector'][_0x4f5678(0x21c)](_0x5d0cee)&&this[_0x4f5678(0x304)][_0x4f5678(0x107)](_0x5d0cee);});}[_0x5f289e(0x251)](){const _0x2bb3ee=_0x5f289e;[ps,Cs,hs,ms,Ss,Ns,_s,Ps,Fs,Ms,Rs,Ds,Is,bs,It,to,Et,Jt,Qo,Xo,jt,$t,Gt,Ht,Yt,qt,pt,ro,lo,Dt,Xt,eo,zt,Wt,uo,oo,Zt,xt,co,ws,Qt,ys,Ts][_0x2bb3ee(0x13f)](_0x3d20b0=>{const _0x175d19=_0x2bb3ee;var _0x53ade8;(_0x53ade8=this['_dataSyncPrimaryController'])==null||_0x53ade8[_0x175d19(0xa7)](_0x3d20b0),this[_0x175d19(0x27f)][_0x175d19(0x104)](_0x3d20b0);});}};Zo(Ut,'pluginName',ao),Zo(Ut,_0x5f289e(0x1be),_0x5c1aae[_0x5f289e(0x20e)]),Ut=Qs([_0x48011f(_0x52bbbb),_t(0x1,_0x425448(_0x559951)),_t(0x2,_0x425448(_0x1db6fa)),_t(0x3,_0x3c4550),_t(0x4,_0x14583b(_0xebcf98))],Ut);export{hs as AddPivotFieldCommand,Jt as AddPivotFieldMutation,Cs as AddPivotTableCommand,It as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Is as MovePivotTableCommand,k as PivotDisplayDataType,bs as PivotDrillDownCommand,B as PivotTableOperationEnum,xt as PivotTableViewDirtyMarkOperation,Lo as PositionType,Ss as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Gt as RenamePivotFieldMutation,Ts as ResetPivotFieldsConfigCommand,zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ps as SetPivotCollapseCommand,Ht as SetPivotCollapseMutation,Wt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,jt as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Fs as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,ws as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,J as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,_s as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Rs as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ce as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,qo as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Bi as getEmptyPivotRanges,Nt as getFieldListByArea,Fe as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Ki as getPivotTableInfo,vt as transFromCellValue,Bt as unionPivotViewRange};