@univerjs-pro/sheets-pivot 0.10.11-nightly.202510220308 → 0.10.12-nightly.202510221114

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 +42 -42
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +10 -10
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4ecf17=_0x3142;(function(_0x1aff1a,_0x18eec5){const _0x557482=_0x3142,_0x1e3b1c=_0x1aff1a();while(!![]){try{const _0x5a8a2e=-parseInt(_0x557482(0xfe))/0x1*(parseInt(_0x557482(0x192))/0x2)+-parseInt(_0x557482(0x1b8))/0x3+parseInt(_0x557482(0x317))/0x4+-parseInt(_0x557482(0x2cc))/0x5*(-parseInt(_0x557482(0x257))/0x6)+-parseInt(_0x557482(0x146))/0x7*(parseInt(_0x557482(0x19c))/0x8)+parseInt(_0x557482(0x1a8))/0x9+-parseInt(_0x557482(0x1ef))/0xa;if(_0x5a8a2e===_0x18eec5)break;else _0x1e3b1c['push'](_0x1e3b1c['shift']());}catch(_0x8bf355){_0x1e3b1c['push'](_0x1e3b1c['shift']());}}}(_0x4b80,0x9ed66));var rn=Object[_0x4ecf17(0x131)],ln=(_0x4243a9,_0xb35fa0,_0x1b4d59)=>_0xb35fa0 in _0x4243a9?rn(_0x4243a9,_0xb35fa0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b4d59}):_0x4243a9[_0xb35fa0]=_0x1b4d59,E=(_0x502a0f,_0x1ec466,_0x283d0a)=>ln(_0x502a0f,typeof _0x1ec466!=_0x4ecf17(0x32d)?_0x1ec466+'':_0x1ec466,_0x283d0a);import{PivotCellStyleTypeEnum as _0x3bb476,PivotViewCellValueTypeEnum as _0x43db68,isPrefixValue as _0x2e7f41,isErrorValue as _0x4c49f8,PivotErrorTypeEnum as _0x5d842b,PivotDateGroupFieldDateTypeEnum as _0x10b11c,DataFieldManager as _0x57c1cd,FieldsCollection as _0x3ffa37,isDateValue as _0x17d1b1,DataField as _0x4d158d,generateHexNumber as _0x145b1f,isBaseGroupField as _0x1872b3,PivotTable as _0x5401ef,PivotSubtotalTypeEnum as _0x5d2132,PivotTableFiledAreaEnum as _0x2709e7,excelDateToUnixMilliseconds as _0xec5043,PivotDataFieldTypeEnum as _0x413ab9,DateGroupField as _0x10e772,createValueField as _0x84a627,createLabelField as _0x1fa783,PivotTableChangeTypeEnum as _0x1cf1db,PivotView as _0x1a96b2,GlobalConfig as _0x1fffb4,isDateGroupFieldJSON as _0x1bfc80,PivotCallbackEnum as _0x5a3993,PivotFilterTypeEnum as _0x407a67,getAutoDisplayName as _0x54995d,PivotDataFieldDataTypeEnum as _0x4e0d1b,PivotTableValuePositionEnum as _0x36e652,isDateGroupField as _0x5e5189}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x5a6119,ObjectMatrix as _0x440b29,IUniverInstanceService as _0x2e3e1a,UniverInstanceType as _0x5d5a47,CellValueType as _0xc70568,numfmt as _0x3460d9,LocaleService as _0x44162e,createAsyncInterceptorKey as _0x3c4e6b,createInterceptorKey as _0x506104,CommandType as _0x302072,Inject as _0x1878d6,ICommandService as _0x372820,Disposable as _0xf43bf4,RANGE_TYPE as _0x58c920,numberToABC as _0xff06bf,Injector as _0x1b260f,LifecycleService as _0x3d665e,IResourceManagerService as _0x2a8a14,Rectangle as _0x3cec3a,IConfigService as _0x24eb52,Tools as _0x1a663c,AsyncInterceptorManager as _0x3261c4,InterceptorManager as _0x4d122c,InterceptorEffectEnum as _0x35fbdd,IUndoRedoService as _0x29a29f,sequenceExecute as _0x1d2824,CustomCommandExecutionError as _0x496192,mergeWorksheetSnapshotWithDefault as _0x2b1cf5,generateRandomId as _0x2b28fa,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x33daf4,DEFAULT_WORKSHEET_ROW_COUNT as _0x4172b5,DisposableCollection as _0x3ef362,Range as _0x23adbb,DependentOn as _0x55eba3,Optional as _0x4a2673,Plugin as _0x144815,merge as _0x3bab17}from'@univerjs/core';import{ErrorType as _0x465d55,serializeRangeWithSpreadsheet as _0x337997,IFeatureCalculationManagerService as _0x496f1e,GlobalComputingStatusService as _0x376a2b,IActiveDirtyManagerService as _0x2dce65}from'@univerjs/engine-formula';import{generateNullCell as _0xd08695,SetRangeValuesUndoMutationFactory as _0x18b4cd,SetRangeValuesMutation as _0x2691c0,getSheetCommandTarget as _0x7b9dcd,InsertRowMutation as _0x36b0e6,RemoveRowMutation as _0x432b10,InsertColMutation as _0x277773,RemoveColMutation as _0x7d3b89,IExclusiveRangeService as _0x18211d,SheetInterceptorService as _0x11b527,INTERCEPTOR_POINT as _0x1aeef4,InsertSheetCommand as _0x282005,InsertSheetUndoMutationFactory as _0x1cc422,RemoveSheetMutation as _0x1732e4,InsertSheetMutation as _0x535571,MoveRangeMutation as _0x41c1c2,SheetsSelectionsService as _0x2ceeec,ClearSelectionContentCommand as _0x203489,ClearSelectionAllCommand as _0x425366,SetWorksheetColWidthMutation as _0x48622a,RefRangeService as _0xab9e71,SetWorksheetActiveOperation as _0x2c4fcb,MoveRangeCommand as _0x25b7ca,RemoveSheetCommand as _0x32aaa5}from'@univerjs/sheets';import{Subject as _0x598d55,BehaviorSubject as _0x4f2c4a}from'rxjs';import{LS_CONFIG_KEY as _0x1fc276,unshiftString as _0x536e3b,isFeatureAuthorizedWithinTime as _0x26a9b7,getSheetFeatureLimit as _0x58e711,ReleaseType as _0x3b5082,UniverLicensePlugin as _0x28ac39}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x5a7f46,RemoveSheetsFilterMutation as _0x3530ab}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x31afff}from'@univerjs/rpc';import{getFontStyleString as _0x3c8ecf,FontCache as _0x5a0f55}from'@univerjs/engine-render';const jo=Number[_0x4ecf17(0x313)](0x68f84bf5),li=0x10,so=0x1,ao=_0x4ecf17(0x27e),It=0x1,di=_0x4ecf17(0x17e),ci='rgb(255,255,255)',wt=_0x4ecf17(0x10e),ui=_0x4ecf17(0x1e1),fi=_0x4ecf17(0x1e1),gi=_0x4ecf17(0x2be),hi=_0x4ecf17(0x1a9),vi=_0x4ecf17(0x10b),pi='#e6ebfa',mi=_0x4ecf17(0x1a9),Ii='#FFFFFF',Ci=_0x4ecf17(0x291),bi=0xe,Si=0x6;var Lo=(_0x52ff83=>(_0x52ff83[_0x4ecf17(0x15d)]=_0x4ecf17(0x1df),_0x52ff83[_0x4ecf17(0x338)]='new',_0x52ff83))(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,Ge={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':Ge,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Ge,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Ge,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Ge,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Ge,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Ge,'vt':0x2}};function Pi(_0x33cac5,_0x4393ed,_0x359bec){const _0x6a2374=_0x4ecf17,_0x29bd2a=_0x33cac5['get'](_0x44162e),_0x3cac30=_0x359bec['split']('_');switch(_0x4393ed){case _0x10b11c['Year']:return _0x29bd2a['t'](_0x6a2374(0x180),..._0x3cac30);case _0x10b11c[_0x6a2374(0x219)]:return _0x29bd2a['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x3cac30);case _0x10b11c['Hour']:return _0x29bd2a['t'](_0x6a2374(0x2b7),..._0x3cac30);case _0x10b11c['HourMinute']:return _0x29bd2a['t'](_0x6a2374(0x144),..._0x3cac30);case _0x10b11c[_0x6a2374(0x100)]:return _0x29bd2a['t'](_0x6a2374(0x1ba),..._0x3cac30);case _0x10b11c[_0x6a2374(0x155)]:return _0x29bd2a['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x3cac30);case _0x10b11c[_0x6a2374(0x2eb)]:return _0x29bd2a['t'](_0x6a2374(0x17b),..._0x3cac30);case _0x10b11c[_0x6a2374(0x282)]:return _0x29bd2a['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x3cac30);case _0x10b11c[_0x6a2374(0x2a1)]:return _0x29bd2a['t'](_0x6a2374(0x28d),..._0x3cac30);case _0x10b11c['YearQuarter']:return _0x29bd2a['t'](_0x6a2374(0x241),..._0x3cac30);}return'';}const tt=(_0x2c570c,_0x43e38d,_0x5576be,_0x5d3d4d)=>{const _0x3df46=_0x4ecf17;let _0x50a623;const _0x35471c=_0x2c570c['get'](_0x2e3e1a)[_0x3df46(0x306)](_0x5d5a47[_0x3df46(0x2b0)]);if(!_0x35471c)return null;const _0x4133d=_0x35471c[_0x3df46(0x21d)]();let _0xdd77c4;if(_0x5576be&&(_0xdd77c4=_0x4133d[_0x3df46(0x2e1)](_0x5576be)),_0x43e38d!=null&&_0x43e38d['v']||(_0x43e38d==null?void 0x0:_0x43e38d['v'])===0x0){_0x50a623||(_0x50a623={});const _0x4866de=$o(_0x43e38d['v']);typeof _0x4866de==_0x3df46(0x2f6)?_0x50a623['t']=_0xc70568[_0x3df46(0x2dd)]:typeof _0x4866de==_0x3df46(0xec)&&(_0x50a623['t']=_0xc70568[_0x3df46(0x33e)]),_0x50a623['v']=_0x4866de;}if((_0x43e38d!=null&&_0x43e38d['i']||(_0x43e38d==null?void 0x0:_0x43e38d['i'])===0x0)&&(_0x50a623||(_0x50a623={}),_0x50a623['fi']=_0x43e38d['i']),_0x43e38d!=null&&_0x43e38d['s']&&(_0x50a623||(_0x50a623={}),_0x50a623[_0x3df46(0x20a)]=_0x43e38d['s']),_0x5576be&&(_0x50a623||(_0x50a623={}),_0x50a623['s']=_0xdd77c4),_0x5d3d4d&&_0x50a623!=null&&_0x50a623['v']&&_0x50a623[_0x3df46(0x20a)]!==_0x3bb476[_0x3df46(0x270)]&&_0x50a623['pbt']!==_0x3bb476[_0x3df46(0x10c)]){const _0x1f4d11=String(_0x50a623['v']),{dateType:_0x2a57fe}=_0x5d3d4d;_0x50a623['v']=Pi(_0x2c570c,_0x2a57fe,_0x1f4d11),_0x50a623['t']=_0xc70568[_0x3df46(0x33e)];}return _0x50a623;},yi=(_0x355f95,_0x36be71,_0x47e311,_0x4c4788)=>{const _0x442a3a=_0x4ecf17;var _0x461bb3,_0xe2ba06,_0x36c96a,_0x31dd1f,_0x3c9996,_0x4f3fd5,_0x18c478,_0xc2bd28,_0x3b108b,_0x3607ef,_0x4a26e2,_0x3fe7d8,_0x2d313c,_0xd69f00;const _0x30b8c1=_0x47e311[_0x442a3a(0x1d1)],{cornerView:_0x5562e3,rowView:_0x144449,colView:_0x5a2a5f,dataView:_0x483bb6,pageView:_0x23800c,formatMap:_0x1d0570,groupInfo:_0x576b1a}=_0x36be71,{row:_0xacbfad,col:_0x4e63b0}=_0x30b8c1,_0x2adc31=new _0x440b29(),_0x5bb46a={},_0x329f54={},_0x395e22={},_0x2f76e4={},_0x38f032={};let _0x33ba95=_0xacbfad,_0x3cfaf8=_0x4e63b0;Object['keys'](_0x23800c[_0x442a3a(0x2c5)])[_0x442a3a(0x26a)](_0x205cb5=>{const _0x252fb3=_0x442a3a;Object[_0x252fb3(0x248)](_0x23800c[_0x252fb3(0x2c5)][Number(_0x205cb5)])[_0x252fb3(0x26a)](_0x1c407d=>{const _0x3b9aec=_0x252fb3,_0x17af52={..._0x23800c[_0x3b9aec(0x2c5)][Number(_0x205cb5)][Number(_0x1c407d)]};_0x2adc31[_0x3b9aec(0x2e1)](Number(_0x205cb5)+_0x33ba95,Number(_0x1c407d)+_0x3cfaf8,tt(_0x355f95,_0x17af52,fe['pageStyle']));});});const _0x4309b4=Object[_0x442a3a(0x248)](_0x23800c[_0x442a3a(0x2c5)])[_0x442a3a(0x1b4)];_0x33ba95+=_0x4309b4+(_0x4309b4?It:0x0);const _0x31b593=_0x5562e3['getRowCount'](),_0x3c478b=_0x5562e3[_0x442a3a(0x2e4)]();for(let _0x4f7be3=0x0;_0x4f7be3<_0x31b593;_0x4f7be3++)for(let _0x51e99c=0x0;_0x51e99c<_0x3c478b;_0x51e99c++){const _0x28f861={...(_0xe2ba06=(_0x461bb3=_0x5562e3['data'])==null?void 0x0:_0x461bb3[_0x4f7be3])==null?void 0x0:_0xe2ba06[_0x51e99c]};_0x28f861&&((_0x36c96a=_0x144449['headerMap'][_0x51e99c])!=null&&_0x36c96a[_0x442a3a(0x245)])&&_0x51e99c===_0x3c478b-0x1&&_0x4f7be3===_0x31b593-0x1&&(_0x28f861['v']=''+_0x4c4788[_0x442a3a(0x1e0)]),_0x2adc31[_0x442a3a(0x2e1)](_0x4f7be3+_0x33ba95,_0x51e99c+_0x3cfaf8,tt(_0x355f95,_0x28f861,fe['cornerStyle']));}for(let _0x267ae4=0x0;_0x267ae4<_0x5562e3[_0x442a3a(0x2c6)][_0x442a3a(0x1b4)];_0x267ae4++)_0x5562e3[_0x442a3a(0x2c6)][_0x267ae4]&&(_0x395e22[''+(_0x267ae4+_0x3cfaf8)]=_0x5562e3[_0x442a3a(0x2c6)][_0x267ae4]);_0x3cfaf8+=_0x3c478b;const _0x4a3783=_0x5a2a5f[_0x442a3a(0x1bc)],_0x81ed25=_0x5a2a5f['getLastRow']()>=0x0?_0x5a2a5f[_0x442a3a(0x179)]()+0x1:0x0,_0x1887bb=_0x5a2a5f[_0x442a3a(0x125)]()>=0x0?_0x5a2a5f['getLastCol']()+0x1:0x0;for(let _0x5541a2=0x0;_0x5541a2<_0x1887bb;_0x5541a2++){for(let _0x422ca1=0x0;_0x422ca1<_0x81ed25;_0x422ca1++){const _0x26256f={...(_0x3c9996=(_0x31dd1f=_0x5a2a5f[_0x442a3a(0x2c5)])==null?void 0x0:_0x31dd1f[_0x422ca1])==null?void 0x0:_0x3c9996[_0x5541a2]},_0x37ef3b=(_0x4f3fd5=_0x4a3783[_0x422ca1])==null?void 0x0:_0x4f3fd5[_0x442a3a(0x18f)],_0x4d1f94=_0x1d0570[_0x37ef3b],_0x8f5e40=_0x576b1a[_0x37ef3b];_0x26256f&&(_0x26256f['v']=vt(_0x26256f,_0x422ca1===0x0&&((_0x18c478=_0x5a2a5f[_0x442a3a(0x119)](_0x5541a2+0x1))==null?void 0x0:_0x18c478['isValue']),_0x4d1f94,_0x4c4788));let _0x53de15;_0x4d1f94?_0x53de15={...fe[_0x442a3a(0x316)],'n':{'pattern':_0x4d1f94}}:_0x53de15={...fe[_0x442a3a(0x316)]},_0x2adc31[_0x442a3a(0x2e1)](_0x422ca1+_0x33ba95,_0x5541a2+_0x3cfaf8,tt(_0x355f95,_0x26256f,_0x53de15,_0x8f5e40));}_0x5a2a5f[_0x442a3a(0x2c6)][_0x5541a2]&&(_0x329f54[''+(_0x5541a2+_0x3cfaf8)]=_0x5a2a5f[_0x442a3a(0x2c6)][_0x5541a2]),_0x5a2a5f[_0x442a3a(0x1bc)][_0x5541a2+0x1]&&(_0x38f032[''+(_0x5541a2+_0x33ba95+0x1)]=_0x5a2a5f[_0x442a3a(0x1bc)][_0x5541a2+0x1]);}_0x33ba95+=_0x31b593;const _0x210fae=_0x144449['headerMap'],_0x4b0940=_0x144449[_0x442a3a(0x179)]()>=0x0?_0x144449[_0x442a3a(0x179)]()+0x1:0x0,_0x5a9012=_0x144449[_0x442a3a(0x125)]()>=0x0?_0x144449[_0x442a3a(0x125)]()+0x1:0x0;for(let _0x13651a=0x0;_0x13651a<_0x4b0940;_0x13651a++){for(let _0x4a1645=0x0;_0x4a1645<_0x5a9012;_0x4a1645++){const _0x2a98a4={...(_0x3b108b=(_0xc2bd28=_0x144449[_0x442a3a(0x2c5)])==null?void 0x0:_0xc2bd28[_0x13651a])==null?void 0x0:_0x3b108b[_0x4a1645]},_0x811872=(_0x3607ef=_0x210fae[_0x4a1645])==null?void 0x0:_0x3607ef[_0x442a3a(0x18f)],_0x4ce551=_0x1d0570[_0x811872],_0x18a7c6=_0x576b1a[_0x811872];_0x2a98a4&&(_0x2a98a4['v']=vt(_0x2a98a4,!0x1,_0x4ce551,_0x4c4788));let _0x309988;_0x144449[_0x442a3a(0x2c6)][_0x13651a]['level']===_0x144449[_0x442a3a(0x2e4)]()?_0x309988=fe[_0x442a3a(0x15a)]:_0x144449[_0x442a3a(0x2c6)][_0x13651a][_0x442a3a(0x30c)]?_0x309988=_0x144449['info'][_0x13651a][_0x442a3a(0x194)]===0x0?fe[_0x442a3a(0x1fb)]:fe['subTotalStyle']:_0x309988=fe[_0x442a3a(0x1b0)],_0x4ce551&&(_0x309988={..._0x309988,'n':{'pattern':_0x4ce551}}),_0x2adc31[_0x442a3a(0x2e1)](_0x13651a+_0x33ba95,_0x4a1645+_0x4e63b0,tt(_0x355f95,_0x2a98a4,_0x309988,_0x18a7c6));}_0x144449['info'][_0x13651a]&&(_0x5bb46a[''+(_0x13651a+_0x33ba95)]=_0x144449[_0x442a3a(0x2c6)][_0x13651a]),_0x144449[_0x442a3a(0x1bc)][_0x13651a]&&(_0x2f76e4[''+(_0x13651a+_0x4e63b0)]=_0x144449[_0x442a3a(0x1bc)][_0x13651a]);}const _0x53b9ab=_0x483bb6['getRowCount'](),_0x2f567d=_0x483bb6[_0x442a3a(0x2e4)]();for(let _0xfd1e90=0x0;_0xfd1e90<_0x53b9ab;_0xfd1e90++)for(let _0x283d2d=0x0;_0x283d2d<_0x2f567d;_0x283d2d++){const _0x290564={...(_0x3fe7d8=(_0x4a26e2=_0x483bb6['data'])==null?void 0x0:_0x4a26e2[_0xfd1e90])==null?void 0x0:_0x3fe7d8[_0x283d2d]};let _0x32b7e2;_0x144449[_0x442a3a(0x2c6)][_0xfd1e90]['isBottomTotal']?_0x32b7e2=_0x144449[_0x442a3a(0x2c6)][_0xfd1e90][_0x442a3a(0x194)]===0x0?fe[_0x442a3a(0x1fb)]:fe[_0x442a3a(0x11f)]:_0x32b7e2=fe[_0x442a3a(0x351)];const _0xe0544b=_0x144449[_0x442a3a(0x2c6)][_0xfd1e90]['valueIndex'],_0x5348a6=_0x5a2a5f[_0x442a3a(0x2c6)][_0x283d2d]['valueIndex'],_0x1174e6=Math[_0x442a3a(0x274)](_0xe0544b,_0x5348a6),_0x5e68d4=_0x47e311[_0x442a3a(0x1f6)][_0x442a3a(0x1c1)][_0x442a3a(0x21a)]();let _0x1934ac='';_0x1174e6<0x0?_0x1934ac=(_0x2d313c=_0x5e68d4[0x0])!=null?_0x2d313c:'':_0x1934ac=(_0xd69f00=_0x5e68d4[_0x1174e6])!=null?_0xd69f00:'';const _0xdbb1a0=_0x1d0570[_0x1934ac];_0xdbb1a0&&(_0x32b7e2={..._0x32b7e2,'n':{'pattern':_0xdbb1a0}}),_0x2adc31[_0x442a3a(0x2e1)](_0xfd1e90+_0x33ba95,_0x283d2d+_0x3cfaf8,tt(_0x355f95,_0x290564,_0x32b7e2));}return{'valueMatrix':_0x2adc31,'rowInfo':_0x5bb46a,'colInfo':_0x329f54,'cornerInfo':_0x395e22,'rowHeaderMap':_0x2f76e4,'colHeaderMap':_0x38f032};};function vt(_0x1386bb,_0xd01312,_0x41823f,_0x107e82){const _0x3d0521=_0x4ecf17;let _0x1355f4=_0x1386bb['v'];_0xd01312&&(_0x1355f4=''+_0x107e82[_0x3d0521(0x1e0)]);const _0x4fef03=_0x1386bb['t']&&(_0x1386bb['t']&_0x43db68[_0x3d0521(0x170)])>0x0;_0x4fef03&&(_0x1355f4=''+_0x107e82[_0x3d0521(0x346)]);const _0x4447dc=_0x1386bb['t']&&(_0x1386bb['t']&_0x43db68[_0x3d0521(0x2d8)])>0x0;if(_0x4447dc&&(_0x1355f4=''+_0x107e82['sheets-pivot.other']),_0x1386bb['s']===_0x3bb476['Subtotal']){let _0x56d4ae=_0x1355f4,_0x41e32a='';_0x2e7f41(_0x1355f4)&&(_0x56d4ae=_0x1355f4[_0x3d0521(0x2cb)],_0x41e32a=_0x1355f4[_0x3d0521(0x234)]);const _0xa54dff=_0x41823f&&!_0x4fef03&&!_0x4447dc?_0x3460d9[_0x3d0521(0x175)](_0x41823f,Number(_0x56d4ae)):_0x56d4ae;_0x41e32a?_0x1355f4=_0xa54dff+'\x20'+_0x41e32a:_0x1355f4=_0xa54dff+'\x20'+_0x107e82[_0x3d0521(0x107)];}else _0x1386bb['s']===_0x3bb476[_0x3d0521(0x270)]&&(_0x1355f4=_0x1355f4+'\x20'+_0x107e82[_0x3d0521(0x1f0)]);return _0x1355f4;}function $o(_0x48dfbe){const _0x4f78e5=_0x4ecf17;if(_0x4c49f8(_0x48dfbe)){const {errorType:_0xd4ec6b}=_0x48dfbe;switch(_0xd4ec6b){case _0x5d842b[_0x4f78e5(0x2ba)]:return _0x465d55[_0x4f78e5(0x1aa)];case _0x5d842b['NotNumber']:return _0x465d55[_0x4f78e5(0x142)];case _0x5d842b[_0x4f78e5(0x329)]:return _0x465d55['NAME'];case _0x5d842b[_0x4f78e5(0x109)]:return _0x465d55[_0x4f78e5(0x31c)];case _0x5d842b['BadReference']:return _0x465d55[_0x4f78e5(0x32b)];}}return _0x48dfbe;}function ge(_0x3f915d,_0x4babcc,_0x4b67cd=!0x1,_0x407be2=!0x1){const _0x467e46=_0x4ecf17,{data:_0x1a0680}=_0x4babcc,_0x5a882d=_0x4babcc[_0x467e46(0x11a)](),_0x49bb4e=_0x4babcc[_0x467e46(0x2e4)]();if(_0x5a882d<=0x0||_0x49bb4e<=0x0)return[];const _0x1a5867=_0x4babcc[_0x467e46(0x125)](),_0x34a254=_0x4babcc[_0x467e46(0x179)](),_0x59c292=_0x407be2?_0x34a254>=0x0?_0x34a254+0x1:0x0:_0x5a882d,_0x35f7a8=_0x407be2?_0x1a5867>=0x0?_0x1a5867+0x1:0x0:_0x49bb4e,{row:_0x15eeb4,col:_0x5f0d51}=_0x3f915d,_0x4396e4=_0x15eeb4,_0x343277=_0x5f0d51;if(_0x4b67cd){const _0x2c824a=[];for(const [_0x2e3358,_0xfac91]of Object[_0x467e46(0x128)](_0x1a0680))for(const [_0x105f9e,_0x31d7cc]of Object[_0x467e46(0x128)](_0xfac91))_0x2c824a['push'](_0x5a6119(_0x4396e4+Number(_0x2e3358),_0x343277+Number(_0x105f9e)));return _0x2c824a;}else{const _0x49e9fb=_0x407be2?_0x59c292>0x0?0x1:0x0:0x1,_0x1f6c28=_0x407be2?_0x35f7a8>0x0?0x1:0x0:0x1,_0x45beff=_0x15eeb4+_0x59c292-_0x49e9fb,_0x5abed7=_0x5f0d51+_0x35f7a8-_0x1f6c28;return[{'startRow':_0x4396e4,'startColumn':_0x343277,'endRow':_0x45beff,'endColumn':_0x5abed7}];}}const Y=_0x4ecf17(0x13d),jt='SHEET_PIVOT_EXCLUSIVE_ID';var A=(_0x39e173=>(_0x39e173[_0x4ecf17(0x10a)]=_0x4ecf17(0x312),_0x39e173['Panel']=_0x4ecf17(0x269),_0x39e173[_0x4ecf17(0x2fe)]=_0x4ecf17(0x199),_0x39e173[_0x4ecf17(0x1a0)]=_0x4ecf17(0x1a0),_0x39e173[_0x4ecf17(0x2f7)]=_0x4ecf17(0x2fd),_0x39e173[_0x4ecf17(0x310)]='movePivotField',_0x39e173[_0x4ecf17(0x188)]=_0x4ecf17(0x14c),_0x39e173[_0x4ecf17(0x1a7)]='setPivotCollapse',_0x39e173[_0x4ecf17(0x314)]=_0x4ecf17(0x2e3),_0x39e173[_0x4ecf17(0x357)]='setPivotSort',_0x39e173['SetPivotSetting']=_0x4ecf17(0x156),_0x39e173[_0x4ecf17(0x28e)]='updatePivotSource',_0x39e173[_0x4ecf17(0x34b)]='updateValuePosition',_0x39e173[_0x4ecf17(0x211)]=_0x4ecf17(0x283),_0x39e173['SetValuePivotFilter']=_0x4ecf17(0x177),_0x39e173[_0x4ecf17(0x239)]=_0x4ecf17(0x16c),_0x39e173['ResetPivotTable']=_0x4ecf17(0x1b7),_0x39e173))(A||{});const Mi={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x4ecf17(0xdf),'sheets-pivot.subTotalText':_0x4ecf17(0x1c0),'sheets-pivot.grandTotalText':_0x4ecf17(0x173),'sheets-pivot.valueText':_0x4ecf17(0x1e5),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x4ecf17(0x2e9),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x4ecf17(0x33c),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x4ecf17(0x2c2),'sheets-pivot.stdDevName':_0x4ecf17(0x2b6),'sheets-pivot.stdDevpName':_0x4ecf17(0x215),'sheets-pivot.sumName':_0x4ecf17(0x27d),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x4ecf17(0x300),'sheets-pivot.subTotal':_0x4ecf17(0x10c),'sheets-pivot.grandTotal':_0x4ecf17(0x173),'sheets-pivot.value':_0x4ecf17(0x234),'sheets-pivot.blank':_0x4ecf17(0x170),'sheets-pivot.other':_0x4ecf17(0x2d8),'sheets-pivot.emptyPivot.filter':_0x4ecf17(0x10a),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x4ecf17(0x266),'sheets-pivot.emptyPivot.values':_0x4ecf17(0x288)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x3c4e6b(_0x4ecf17(0x1e8)),zo=_0x506104(_0x4ecf17(0x13c));var Le=(_0x320efc=>(_0x320efc[_0x4ecf17(0xf2)]=_0x4ecf17(0xf2),_0x320efc[_0x4ecf17(0x21c)]=_0x4ecf17(0x21c),_0x320efc['update']=_0x4ecf17(0xfa),_0x320efc))(Le||{}),B=(_0x5767c4=>(_0x5767c4['Add']=_0x4ecf17(0xf2),_0x5767c4[_0x4ecf17(0x1c8)]=_0x4ecf17(0x1ed),_0x5767c4['Delete']='delete',_0x5767c4))(B||{});const ro={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x14e),'handler':()=>!0x0},lo={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x311),'handler':()=>!0x0},Dt={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x238),'handler':()=>!0x0},co={'type':_0x302072[_0x4ecf17(0x114)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x302072['MUTATION'],'id':_0x4ecf17(0x34d),'handler':()=>!0x0};var wi=Object[_0x4ecf17(0x24f)],_i=(_0xf7801e,_0x16def9,_0x117aff,_0x302c31)=>{const _0x161a97=_0x4ecf17;for(var _0x5d874d=_0x302c31>0x1?void 0x0:_0x302c31?wi(_0x16def9,_0x117aff):_0x16def9,_0x4654c6=_0xf7801e[_0x161a97(0x1b4)]-0x1,_0x4563cd;_0x4654c6>=0x0;_0x4654c6--)(_0x4563cd=_0xf7801e[_0x4654c6])&&(_0x5d874d=_0x4563cd(_0x5d874d)||_0x5d874d);return _0x5d874d;},Fi=(_0x34c16f,_0x24326b)=>(_0x3e4d12,_0xda8314)=>_0x24326b(_0x3e4d12,_0xda8314,_0x34c16f);let Z=class extends _0xf43bf4{constructor(_0x5d13fd){const _0x44dfee=_0x4ecf17;super(),E(this,_0x44dfee(0x1f4),new Map()),this[_0x44dfee(0x275)]=_0x5d13fd;}[_0x4ecf17(0x228)](_0x49f3df){const _0x402486=_0x4ecf17,{version:_0x173c8e}=_0x49f3df,_0x3387b0=this[_0x402486(0x1f4)]['get'](_0x173c8e);_0x3387b0&&(_0x3387b0(_0x49f3df),this[_0x402486(0x1f4)][_0x402486(0x21c)](_0x173c8e));}[_0x4ecf17(0x19e)](_0x478955){return new Promise((_0x3adffd,_0x59f384)=>{const _0x191aba=_0x3142,_0x41b728=this[_0x191aba(0x1f5)]();this[_0x191aba(0x1f4)][_0x191aba(0x1ed)](_0x41b728,_0x3adffd),this['_commandService'][_0x191aba(0x19d)](ro['id'],{'version':_0x41b728,..._0x478955},{'onlyLocal':!0x0});});}[_0x4ecf17(0x1f5)](){const _0x2786d5=_0x4ecf17;return Math[_0x2786d5(0x2dc)]()[_0x2786d5(0x25b)](0x24)[_0x2786d5(0x25f)](0x2,0x10);}};Z=_i([Fi(0x0,_0x1878d6(_0x372820))],Z);const Jo={0x0:'0',0x1:'k',0x2:'C',0x3:'l',0x4:'8',0x5:'7',0x6:'Z',0x7:'A',0x8:'9',0x9:'a','H':'1','s':'2','u':'3','n':'4','W':'5','o':'6','e':'b','S':'c','r':'d','d':'e','a':'f','b':'g','Q':'h','j':'i','p':'j','Z':'m','T':'n','k':'o','g':'p','N':'q','E':'r','z':'s','h':'t','U':'u','G':'v','O':'w','K':'x','Y':'y','A':'z','x':'B','X':'D','w':'E','D':'F','B':'G','v':'H','I':'I','f':'J','y':'K','l':'L','m':'M','M':'N','J':'O','i':'P','C':'Q','V':'R','F':'S','q':'T','c':'U','R':'V','t':'W','L':'X','P':'Y'},Go='aUTShjkT\x20rdSEYghjkT(3jSdTzd,\x20gUe3jSydY)\x20{\x20\x20\x20\x20hEY\x20{\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x203jSdTzdITaki9Eh7EE9Y\x20=\x203jSdTzd.zg3jh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20kEjbjTmdzz9bd\x20=\x20fFJM.g9Ezd(9hke(3jSdTzdITaki9Eh7EE9Y[s]));\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(!kEjbjTmdzz9bd.Ur)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kEjbjTmdzz9bd.Ur\x20=\x20MUZedE(3jSdTzdITaki9Eh7EE9Y[n]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20jztkE1dE\x20=\x20hYgdka\x20tkE1dEB3ke93FSkgd\x20!==\x20\x27UTrdajTdr\x27\x20&&\x20zd3a\x20jTzh9TSdka\x20tkE1dEB3ke93FSkgd;\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20SkThdKh\x20=\x20jztkE1dE\x20?\x20zd3a\x20:\x20OjTrkO;\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Zdzz9bdtkEr\x20=\x20SkThdKh.__x9zdon__.g9Ezd(3jSdTzdITaki9Eh7EE9Y[s]);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Zdzz9bd\x20=\x20SkThdKh.__vdK__.zhEjTbjaY(Zdzz9bdtkEr);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20zjbT9hUEdtkEr\x20=\x20SkThdKh.__x9zdon__.g9Ezd(3jSdTzdITaki9Eh7EE9Y[u]);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20zjbT9hUEd\x20=\x20SkThdKh.__vdK__.zhEjTbjaY(zjbT9hUEdtkEr);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20zjbTR93jr\x20=\x20SkThdKh.__GdEjaY__(zjbT9hUEd,\x20Zdzz9bd,\x20gUe3jSydY);\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20rkZ9jT\x20=\x20kEjbjTmdzz9bd.rZ;\x20\x20\x20\x20\x20\x20\x20\x20aUTShjkT\x20jzXkZ9jTm9hSQjTb(ki9hhdET,\x20kvkzh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20g9hhdET\x20=\x20ki9hhdET.Edg39Sd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Qkzh\x20=\x20kvkzh.Edg39Sd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20g9hhdETi9Ehz\x20=\x20g9hhdET.zg3jh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20Qkzhi9Ehz\x20=\x20Qkzh.zg3jh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(!g9hhdET.jTS3Urdz(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20g9hhdET\x20===\x20Qkzh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(g9hhdETi9Ehz.3dTbhQ\x20<\x20s\x20||\x20g9hhdETi9Ehz[0]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20a93zd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20g9hhdETFUaajK\x20=\x20g9hhdETi9Ehz.z3jSd(H).pkjT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20QkzhFUaajK\x20=\x20Qkzhi9Ehz.z3jSd(-g9hhdETi9Ehz.3dTbhQ\x20+\x20H).pkjT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20g9hhdETFUaajK\x20===\x20QkzhFUaajK;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203dh\x20rkZ9jTR93jr\x20=\x20(rkZ9jT\x20&&\x20rkZ9jT.3dTbhQ)\x20?\x20rkZ9jT.zkZd((rZIhdZ)\x20=>\x20jzXkZ9jTm9hSQjTb(rZIhdZ,\x203kS9hjkT.QkzhT9Zd))\x20:\x20hEUd;\x20\x20\x20\x20\x20\x20\x20\x20ja\x20(3kS9hjkT.QkzhT9Zd\x20===\x20\x273kS93Qkzh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rkZ9jTR93jr\x20=\x20hEUd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SkTzh\x20G93jr\x20=\x20zjbTR93jr\x20&&\x20rkZ9jTR93jr;\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G93jr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zdzz9bd:\x20kEjbjTmdzz9bd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20S9hSQ\x20(dEEkE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20EdhUET\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G93jr:\x20a93zd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zdzz9bd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',Ri=_0x1983ca=>{const _0x548963=_0x4ecf17;var _0x12a8ec;return((_0x12a8ec=_0x1983ca[_0x548963(0x172)])==null?void 0x0:_0x12a8ec[_0x548963(0x302)][_0x548963(0x13e)](/\r\n$/,''))||'';};class Di extends _0x57c1cd{constructor(_0x43d3f2,_0x13c379){const _0x173485=_0x4ecf17;super(),E(this,_0x173485(0x341),{}),E(this,_0x173485(0x1ac)),E(this,_0x173485(0x29e)),(this[_0x173485(0x1ac)]=_0x13c379,this[_0x173485(0x29e)]=_0x43d3f2);}[_0x4ecf17(0xfd)](){const _0x4cd2b0=_0x4ecf17;for(const _0x40287f in this[_0x4cd2b0(0x137)]){const _0x2f7179=this['dataFields'][_0x40287f],_0x1d2107=_0x2f7179[_0x4cd2b0(0x2a7)]();this[_0x4cd2b0(0x341)][_0x1d2107]=_0x2f7179[_0x4cd2b0(0x102)]();}}['getAutoDisplayNameFunction'](){const _0x1dc966=_0x4ecf17,_0x4939ba=this[_0x1dc966(0x29e)];return ki[_0x1dc966(0x135)](_0x4939ba);}[_0x4ecf17(0x178)](_0x10d286){const _0x14c2f1=_0x4ecf17,_0x455ba7=this[_0x14c2f1(0x137)][_0x10d286][_0x14c2f1(0x2f5)];delete this[_0x14c2f1(0x137)][_0x10d286],delete this['rangeKeyMap'][_0x455ba7];}[_0x4ecf17(0x23a)](_0x253f18){const _0xae333=_0x4ecf17;this[_0xae333(0x137)][_0x253f18[_0xae333(0x102)]()]=_0x253f18;}['removeCollectionImp'](_0x4e450a){const _0x44192f=_0x4ecf17;var _0x153a6a,_0x46f711;const _0x4a0229=this[_0x44192f(0x29e)][_0x44192f(0x340)](_0x4e450a);if(_0x4a0229){const {unitId:_0x33b402,subUnitId:_0xd844df}=_0x4a0229,_0x449eb2=(_0x153a6a=this[_0x44192f(0x29e)]['getPivotTableConfig'](_0x33b402,_0xd844df,_0x4e450a))==null?void 0x0:_0x153a6a[_0x44192f(0x24b)];this['_host'][_0x44192f(0x1b6)]({'token':_0x4e450a,'type':Le[_0x44192f(0x21c)],'dataRangeInfo':_0x449eb2});}(_0x46f711=this[_0x44192f(0x193)](_0x4e450a))==null||_0x46f711['dispose'](),delete this[_0x44192f(0x208)][_0x4e450a];}[_0x4ecf17(0x2a7)](_0x4f9b25,_0x2b0e4e){const {sheetName:_0x6682d2,unitId:_0x19eb0d,range:_0x47356d}=_0x4f9b25,{startRow:_0x59e2ae,endRow:_0x1f330a}=_0x47356d;return _0x337997(_0x19eb0d,_0x6682d2,{'startRow':_0x59e2ae,'endRow':_0x1f330a,'startColumn':_0x2b0e4e,'endColumn':_0x2b0e4e});}[_0x4ecf17(0x167)](_0x30c2e6){const _0xaac912=_0x4ecf17;return this[_0xaac912(0x137)][this['rangeKeyMap'][_0x30c2e6]];}['setRangeKeyMap'](_0x4a6445,_0x2f252d){this['rangeKeyMap'][_0x4a6445]=_0x2f252d;}[_0x4ecf17(0x169)](_0x4ea916,_0x48f013){const _0x3086af=_0x4ecf17;this[_0x3086af(0x341)][_0x48f013]=this[_0x3086af(0x341)][_0x4ea916],delete this[_0x3086af(0x341)][_0x4ea916];}[_0x4ecf17(0x17f)](_0x36d77d,_0x55ad61,_0x3ce0d4,_0x1eb4cc){const _0x2f4da6=_0x4ecf17,_0x302352=new _0x3ffa37(this);_0x302352['fromJSON'](_0x55ad61);const _0x57548c=[];let _0xca8787=0x0;for(const _0x24dc40 of _0x302352['fieldIds']){const _0x2f7dfb=this['getRangeKey'](_0x3ce0d4,_0xca8787),_0xb3addd=this[_0x2f4da6(0x137)][_0x24dc40];_0xb3addd&&(_0xb3addd[_0x2f4da6(0x2f5)]=_0x2f7dfb,this[_0x2f4da6(0x334)](_0x2f7dfb,_0x24dc40),_0x57548c['push']({'index':_0xca8787,'dataField':_0xb3addd})),_0xca8787++;}return this['addCollection'](_0x36d77d,_0x302352,_0x3ce0d4,_0x1eb4cc),{'collection':_0x302352,'updateDataFieldList':_0x57548c};}['getRangeStartEndInfo'](_0x28f545,_0x314834){const _0xe7a114=_0x4ecf17;return _0x28f545[_0xe7a114(0x1a3)]===_0x58c920[_0xe7a114(0x10f)]?{'startRow':0x0,'startColumn':_0x28f545['startColumn'],'endRow':_0x314834[_0xe7a114(0x11a)]()-0x1,'endColumn':_0x28f545[_0xe7a114(0x2c3)]}:{'startRow':_0x28f545[_0xe7a114(0x171)],'startColumn':_0x28f545['startColumn'],'endRow':_0x28f545[_0xe7a114(0x139)],'endColumn':_0x28f545[_0xe7a114(0x2c3)]};}[_0x4ecf17(0x198)](_0x1606f2){const _0x2e9561=_0x4ecf17,{sheetName:_0xd59e8e,range:_0x4bcf75}=_0x1606f2,_0x50f7a0=this[_0x2e9561(0x1ac)][_0x2e9561(0x306)](_0x5d5a47[_0x2e9561(0x2b0)]),_0x3294e9=_0x50f7a0[_0x2e9561(0xf8)](_0xd59e8e),_0xb5ace1=_0x3294e9['getCellMatrix'](),{startColumn:_0x22ed17,startRow:_0x5d3daa,endColumn:_0xf03226}=this['getRangeStartEndInfo'](_0x4bcf75,_0x3294e9),_0x3a854c=_0x50f7a0['getStyles'](),_0x2b3ff4=new _0x3ffa37(this);_0x2b3ff4[_0x2e9561(0xe4)](_0x1606f2);const _0x21e335=[],_0x4d392e={};for(let _0x3c7e20=_0x22ed17;_0x3c7e20<=_0xf03226;_0x3c7e20++){const _0x1444fb=_0xb5ace1[_0x2e9561(0x345)](_0x5d3daa,_0x3c7e20),_0x1766b2=this[_0x2e9561(0x2a7)](_0x1606f2,_0x3c7e20),_0x26929f=this['getDataFieldByRangeKey'](_0x1766b2);if(_0x26929f)_0x2b3ff4[_0x2e9561(0x2f9)](_0x26929f[_0x2e9561(0x102)](),_0x26929f[_0x2e9561(0x16e)]());else{const _0x5da4a2=this[_0x2e9561(0x285)]();let _0x4f6d89=this['adjustSheetCellData'](_0x1444fb,_0x3a854c,_0x4d392e);_0x17d1b1(_0x4f6d89)&&(_0x4f6d89=_0x3460d9[_0x2e9561(0x175)](_0x4f6d89['f'],Number(_0x4f6d89['v'])));const _0xe82e0c=this[_0x2e9561(0x19a)](_0x4f6d89,_0x3c7e20),_0x268a45=new _0x4d158d(_0x5da4a2,_0xe82e0c,_0x145b1f(0x3));_0x268a45[_0x2e9561(0x2f5)]=_0x1766b2,this[_0x2e9561(0x137)][_0x5da4a2]=_0x268a45,_0x2b3ff4[_0x2e9561(0x2f9)](_0x5da4a2,_0xe82e0c),_0x21e335[_0x2e9561(0x2ce)]({'index':_0x3c7e20,'dataField':_0x268a45});}}return{'updateDataFieldList':_0x21e335,'collection':_0x2b3ff4};}[_0x4ecf17(0x267)](_0x5c1073){const _0x3a9e25=_0x4ecf17;return this[_0x3a9e25(0x29e)]['getTextInfo']()[_0x3a9e25(0x17d)]+'\x20'+_0xff06bf(_0x5c1073);}[_0x4ecf17(0x19a)](_0x9739e3,_0x7b8396){const _0x27c8f2=_0x4ecf17;return _0x9739e3==null||_0x9739e3===''?this[_0x27c8f2(0x267)](_0x7b8396):String(_0x9739e3);}[_0x4ecf17(0x193)](_0x257094){const _0x30dd3f=_0x4ecf17;return this[_0x30dd3f(0x208)][_0x257094];}[_0x4ecf17(0x16f)](_0x4bf9fe,_0x4db471,_0x117c84,_0x2f4f9b){const _0x1f1096=_0x4ecf17;this[_0x1f1096(0x208)][_0x4bf9fe]=_0x4db471,_0x4db471[_0x1f1096(0xe4)](_0x117c84),this['_host'][_0x1f1096(0x1b6)]({'token':_0x4bf9fe,'type':Le['add'],'dataRangeInfo':_0x117c84,'targetCellInfo':_0x2f4f9b});}[_0x4ecf17(0x339)](_0x404dc0,_0x42e26c){const _0x51d8ba=_0x4ecf17,_0x3dc6f0=this[_0x51d8ba(0x193)](_0x404dc0),_0x794633=_0x3dc6f0[_0x51d8ba(0x2c1)]();let _0x1e1396=0x0;for(const _0x2caa87 of _0x794633){const _0x1b4562=_0x3dc6f0[_0x51d8ba(0x184)](_0x2caa87),_0x1e84bd=this[_0x51d8ba(0x2a7)](_0x42e26c,_0x1e1396);this[_0x51d8ba(0x169)](_0x1b4562['rangeKey'],_0x1e84bd),_0x1e1396++;}}[_0x4ecf17(0x110)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4ecf17(0x1cc)](_0x4746c9,_0x2c2d8b){const _0xc36f04=_0x4ecf17;if(this[_0xc36f04(0x193)](_0x4746c9)){const _0x118472=this[_0xc36f04(0x160)](_0x2c2d8b),_0x255f8f=[];for(const _0x1a63ac of _0x118472)this['rangeKeyMap'][_0x1a63ac]!==void 0x0&&_0x255f8f['push'](this[_0xc36f04(0x341)][_0x1a63ac]);const _0x42883c=this['getNoUsedDataFieldIds'](_0x4746c9),_0x25e11d=[],_0x459e4f=new Set(_0x255f8f);for(const _0x4c5965 of _0x42883c)_0x459e4f[_0xc36f04(0x295)](_0x4c5965)||_0x25e11d[_0xc36f04(0x2ce)](_0x4c5965);return _0x25e11d;}}[_0x4ecf17(0x2ed)](_0xa812a3,_0x1b7923,_0x3dc058,_0x26752b,_0x5e8d60){const _0x3c16b2=_0x4ecf17;return _0x1b7923&&_0x1b7923['getValue'](_0x26752b,_0x5e8d60)?_0x1b7923[_0x3c16b2(0x345)](_0x26752b,_0x5e8d60):_0x3dc058&&_0x3dc058['getValue'](_0x26752b,_0x5e8d60)?_0x3dc058[_0x3c16b2(0x345)](_0x26752b,_0x5e8d60):_0xa812a3[_0x3c16b2(0x345)](_0x26752b,_0x5e8d60);}['refreshDataField'](_0x82139e,_0x32f27f,_0x471325,_0x4fa3c0){const _0x297244=_0x4ecf17,_0x367962=this[_0x297244(0x137)][_0x82139e];if(!_0x367962)return;const {subUnitId:_0x468d3f,range:_0x3a1948,unitId:_0x4ef84e}=_0x32f27f,_0x5773c3=this[_0x297244(0x1ac)][_0x297244(0x31b)](_0x4ef84e);if(!_0x5773c3){console[_0x297244(0x2f3)]('workbook\x20is\x20not\x20found');return;}const _0x24ed89=_0x5773c3['getSheetBySheetId'](_0x468d3f),_0x506959=_0x24ed89['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x1650e9,unitDataMatrix:_0x5bf849}=_0x4fa3c0||{},{startRow:_0x1022ef,startColumn:_0x2e0bc7,endRow:_0x56696a}=this[_0x297244(0x333)](_0x3a1948,_0x24ed89);_0x367962[_0x297244(0xe5)]();const _0x558762=_0x5773c3[_0x297244(0x21d)](),_0x4ab67d={},_0x3a724e=this[_0x297244(0x2ed)](_0x506959,_0x1650e9,_0x5bf849,_0x1022ef,_0x2e0bc7+_0x471325);let _0x1dc914=this[_0x297244(0x2cd)](_0x3a724e,_0x558762,_0x4ab67d);_0x17d1b1(_0x1dc914)&&(_0x1dc914=_0x3460d9['format'](_0x1dc914['f'],Number(_0x1dc914['v'])));const _0x1294a9=this['uniqueDataFieldName'](_0x1dc914,_0x2e0bc7+_0x471325);_0x367962[_0x297244(0x124)](_0x1294a9);for(let _0x1c8864=_0x1022ef+0x1;_0x1c8864<=_0x56696a;_0x1c8864++){const _0x4b4320=this['getMatrixValue'](_0x506959,_0x1650e9,_0x5bf849,_0x1c8864,_0x2e0bc7+_0x471325);_0x367962[_0x297244(0x30e)](this['adjustSheetCellData'](_0x4b4320,_0x558762,_0x4ab67d),_0x1c8864-0x1-_0x1022ef);}}[_0x4ecf17(0x272)](_0x5afcc6,_0x1867f3,_0x79bc0){const _0xe10e2=_0x4ecf17,{subUnitId:_0x15565b,range:_0x160e4f,unitId:_0x515c56}=_0x79bc0,_0x5acc37=this[_0xe10e2(0x1ac)][_0xe10e2(0x31b)](_0x515c56);if(!_0x5acc37){console[_0xe10e2(0x2f3)](_0xe10e2(0x18c));return;}const _0x3f35f7=_0x5acc37[_0xe10e2(0x2bf)](_0x15565b),_0x89adfa=_0x3f35f7[_0xe10e2(0x2aa)](),{startRow:_0x53b912,startColumn:_0xfac5d3,endRow:_0x1b4b55}=this[_0xe10e2(0x333)](_0x160e4f,_0x3f35f7),_0xab820a=_0x5acc37[_0xe10e2(0x21d)](),_0x48a8b8={};for(const {dataField:_0x1003a0,index:_0x97b01b}of _0x1867f3){_0x1003a0[_0xe10e2(0xe5)]();const _0x5a38ce=this[_0xe10e2(0x2ed)](_0x89adfa,void 0x0,void 0x0,_0x53b912,_0xfac5d3+_0x97b01b);let _0x3b5d4a=this[_0xe10e2(0x2cd)](_0x5a38ce,_0xab820a,_0x48a8b8);_0x17d1b1(_0x3b5d4a)&&(_0x3b5d4a=_0x3460d9[_0xe10e2(0x175)](_0x3b5d4a['f'],Number(_0x3b5d4a['v'])));const _0x49f931=this[_0xe10e2(0x19a)](_0x3b5d4a,_0xfac5d3+_0x97b01b);_0x1003a0[_0xe10e2(0x124)](_0x49f931);}_0x5afcc6[_0xe10e2(0x250)]();for(let _0x2d8c5d=_0x53b912+0x1;_0x2d8c5d<=_0x1b4b55;_0x2d8c5d++)for(const {index:_0x6f2599,dataField:_0x170441}of _0x1867f3){const _0x16e91d=_0x89adfa[_0xe10e2(0x345)](_0x2d8c5d,_0xfac5d3+_0x6f2599);_0x170441[_0xe10e2(0x30e)](this[_0xe10e2(0x2cd)](_0x16e91d,_0xab820a,_0x48a8b8),_0x2d8c5d-0x1-_0x53b912);}_0x5afcc6[_0xe10e2(0x201)](_0x1b4b55-_0x53b912);}['getRangeKeyList'](_0x4fa274){const _0x5dc2c2=_0x4ecf17,{range:_0x387cc1}=_0x4fa274,{startColumn:_0x5e4f77,endColumn:_0x8244e8}=_0x387cc1,_0x4a60aa=[];for(let _0x176b92=_0x5e4f77;_0x176b92<=_0x8244e8;_0x176b92++)_0x4a60aa[_0x5dc2c2(0x2ce)](this[_0x5dc2c2(0x2a7)](_0x4fa274,_0x176b92));return _0x4a60aa;}[_0x4ecf17(0x2cd)](_0x1f4ca0,_0x154487,_0x12ab46){const _0xa1339d=_0x4ecf17;if(_0x1f4ca0){const {s:_0x2bccb3,v:_0x526463,t:_0x206d4d,p:_0x494311}=_0x1f4ca0;if(_0x494311)return Ri(_0x494311);const _0x45c505=_0x154487['get'](_0x2bccb3);if(_0x45c505&&_0x206d4d===_0xc70568[_0xa1339d(0x2dd)]&&_0x45c505['n']){const {pattern:_0x1abb3f}=_0x45c505['n'];_0x12ab46[_0x1abb3f]||(_0x12ab46[_0x1abb3f]=_0x3460d9[_0xa1339d(0x2ef)](_0x1abb3f));const _0x12c22f=_0x12ab46[_0x1abb3f],_0x213eff=_0x12c22f[_0xa1339d(0x149)];if(_0x12c22f[_0xa1339d(0x174)])return String(_0x526463);if(_0x213eff)return{'v':_0x526463,'f':_0x1abb3f};}if(_0x206d4d===_0xc70568[_0xa1339d(0x2dd)])return Number(_0x526463);if(_0x206d4d===_0xc70568['STRING']||_0x206d4d===_0xc70568[_0xa1339d(0x120)])return String(_0x526463);if(_0x206d4d===void 0x0){const _0x1e9c9c=Number(_0x526463);if(!Number['isNaN'](_0x1e9c9c)&&String(_0x1e9c9c)===_0x526463)return _0x1e9c9c;}return _0x526463!=null?_0x526463:null;}else return null;}['getRangeData'](_0x27cae2){const _0x57d263=_0x4ecf17,{sheetName:_0x4c7c3a,range:_0x3c73c6,unitId:_0x2e0f2a}=_0x27cae2,_0x8d325e=this[_0x57d263(0x1ac)]['getUnit'](_0x2e0f2a);if(!_0x8d325e)return console[_0x57d263(0x2f3)](_0x57d263(0x18c)),{'header':[],'data':[]};const _0x4750dc=_0x8d325e[_0x57d263(0xf8)](_0x4c7c3a),_0x16c66f=_0x4750dc[_0x57d263(0x2aa)](),{startRow:_0x409a8b,startColumn:_0x2210cd,endRow:_0x2c8b76,endColumn:_0x2bdef2}=this['getRangeStartEndInfo'](_0x3c73c6,_0x4750dc),_0x54b0d2=_0x8d325e[_0x57d263(0x21d)](),_0xa7626d=[],_0x41ec87=[],_0x3b8be6={};for(let _0x25ac72=_0x409a8b;_0x25ac72<=_0x2c8b76;_0x25ac72++){const _0xd34a85=[];for(let _0x1de8f0=_0x2210cd;_0x1de8f0<=_0x2bdef2;_0x1de8f0++){const _0x5d478a=_0x16c66f[_0x57d263(0x345)](_0x25ac72,_0x1de8f0);_0x25ac72===_0x409a8b?_0xa7626d[_0x57d263(0x2ce)](_0x5d478a==null?null:String(_0x5d478a['v'])):_0xd34a85['push'](this[_0x57d263(0x2cd)](_0x5d478a,_0x54b0d2,_0x3b8be6));}_0x41ec87['push'](_0xd34a85);}return{'header':_0xa7626d,'data':_0x41ec87};}[_0x4ecf17(0x213)](){const _0x59e27d=_0x4ecf17;return super[_0x59e27d(0x213)]();}[_0x4ecf17(0x359)](_0x2d7052){const _0x5434e9=_0x4ecf17;super[_0x5434e9(0x359)](_0x2d7052),this[_0x5434e9(0xfd)]();}[_0x4ecf17(0x15e)](){const _0x1ea52a=_0x4ecf17;super[_0x1ea52a(0x15e)](),this[_0x1ea52a(0x341)]={},this[_0x1ea52a(0x29e)]=null;}}const Ni=_0x2fe53d=>{const _0x1ede55=_0x4ecf17,{targetCellInfo:_0x31c7f6}=_0x2fe53d,{matrixCache:_0x360e20,rangesCache:_0x674e89}=Wo({'filter':_0x1ede55(0x10a),'row':_0x1ede55(0xde),'column':'Column','values':_0x1ede55(0x288)},_0x31c7f6),_0x55969b=new _0x440b29();return _0x360e20[_0x1ede55(0x2b1)]((_0x26b4a0,_0xad3f32,_0x18d2f1)=>{const _0x38769d=_0x1ede55;_0x55969b[_0x38769d(0x2e1)](_0x26b4a0,_0xad3f32,_0x18d2f1);}),{'matrix':_0x55969b,'rangesCache':_0x674e89};},ot=_0x5638a9=>{const _0x4a83b6=_0x4ecf17;let _0x4bccf1;if(_0x5638a9!=null&&_0x5638a9['v']||(_0x5638a9==null?void 0x0:_0x5638a9['v'])===0x0){_0x4bccf1||(_0x4bccf1={});const _0x3b1306=$o(_0x5638a9['v']);typeof _0x3b1306==_0x4a83b6(0x2f6)?_0x4bccf1['t']=_0xc70568[_0x4a83b6(0x2dd)]:typeof _0x3b1306=='string'&&(_0x4bccf1['t']=_0xc70568[_0x4a83b6(0x33e)]),_0x4bccf1['v']=_0x3b1306;}return _0x4bccf1;},Ei=(_0x62a2d8,_0x522447,_0x388d19)=>{const _0x80517=_0x4ecf17;var _0x160159,_0x25c16d,_0x33b072,_0x2aa357,_0x3a3215,_0x53c087,_0x2c46cf,_0x52b5c8,_0x1de8bd,_0xfb12df,_0xa4bbbd,_0x15e949;const {cornerView:_0x13f093,rowView:_0x4699c8,colView:_0x10cfad,dataView:_0x3b9b50,pageView:_0x97d266,formatMap:_0x5f1108}=_0x62a2d8,{row:_0x5802cc,col:_0x4162c6}=_0x522447,_0x1a8ced=new _0x440b29();let _0x382170=_0x5802cc,_0x387b73=_0x4162c6;Object[_0x80517(0x248)](_0x97d266[_0x80517(0x2c5)])['forEach'](_0x337b30=>{const _0x8b5f06=_0x80517;Object[_0x8b5f06(0x248)](_0x97d266['data'][Number(_0x337b30)])['forEach'](_0xd84349=>{const _0x5317cf=_0x8b5f06,_0x15ab88={..._0x97d266[_0x5317cf(0x2c5)][Number(_0x337b30)][Number(_0xd84349)]};_0x1a8ced[_0x5317cf(0x2e1)](Number(_0x337b30)+_0x382170,Number(_0xd84349)+_0x387b73,ot(_0x15ab88));});});const _0x47754a=Object[_0x80517(0x248)](_0x97d266['data'])[_0x80517(0x1b4)];_0x382170+=_0x47754a+(_0x47754a?It:0x0);const _0x1766cd=_0x13f093[_0x80517(0x11a)](),_0x28da96=_0x13f093[_0x80517(0x2e4)]();for(let _0x9bda08=0x0;_0x9bda08<_0x1766cd;_0x9bda08++)for(let _0x1314cb=0x0;_0x1314cb<_0x28da96;_0x1314cb++){const _0x26d850={...(_0x25c16d=(_0x160159=_0x13f093[_0x80517(0x2c5)])==null?void 0x0:_0x160159[_0x9bda08])==null?void 0x0:_0x25c16d[_0x1314cb]};_0x26d850&&((_0x33b072=_0x4699c8[_0x80517(0x1bc)][_0x1314cb])!=null&&_0x33b072[_0x80517(0x245)])&&_0x1314cb===_0x28da96-0x1&&_0x9bda08===_0x1766cd-0x1&&(_0x26d850['v']=''+_0x388d19[_0x80517(0x1e0)]),_0x1a8ced[_0x80517(0x2e1)](_0x9bda08+_0x382170,_0x1314cb+_0x387b73,ot(_0x26d850));}_0x387b73+=_0x28da96;const _0x1270d5=_0x10cfad[_0x80517(0x1bc)],_0x3d5d56=_0x10cfad[_0x80517(0x179)]()>=0x0?_0x10cfad['getLastRow']()+0x1:0x0,_0x162249=_0x10cfad[_0x80517(0x125)]()>=0x0?_0x10cfad[_0x80517(0x125)]()+0x1:0x0;for(let _0x7c5294=0x0;_0x7c5294<_0x162249;_0x7c5294++)for(let _0x59b932=0x0;_0x59b932<_0x3d5d56;_0x59b932++){const _0x908050={...(_0x3a3215=(_0x2aa357=_0x10cfad[_0x80517(0x2c5)])==null?void 0x0:_0x2aa357[_0x7c5294])==null?void 0x0:_0x3a3215[_0x59b932]},_0x313bc0=(_0x53c087=_0x1270d5[_0x7c5294])==null?void 0x0:_0x53c087[_0x80517(0x18f)],_0x1eadf5=_0x5f1108[_0x313bc0];_0x908050&&(_0x908050['v']=vt(_0x908050,_0x7c5294===0x0&&((_0x2c46cf=_0x10cfad[_0x80517(0x119)](_0x59b932+0x1))==null?void 0x0:_0x2c46cf[_0x80517(0x245)]),_0x1eadf5,_0x388d19)),_0x1a8ced[_0x80517(0x2e1)](_0x7c5294+_0x382170,_0x59b932+_0x387b73,ot(_0x908050));}_0x382170+=_0x1766cd;const _0xc0dff3=_0x4699c8[_0x80517(0x1bc)],_0x5d50f9=_0x4699c8[_0x80517(0x179)]()>=0x0?_0x4699c8[_0x80517(0x179)]()+0x1:0x0,_0x2f9009=_0x4699c8['getLastCol']()>=0x0?_0x4699c8[_0x80517(0x125)]()+0x1:0x0;for(let _0x719cdb=0x0;_0x719cdb<_0x5d50f9;_0x719cdb++)for(let _0x107994=0x0;_0x107994<_0x2f9009;_0x107994++){const _0x28b2a8={...(_0x1de8bd=(_0x52b5c8=_0x4699c8[_0x80517(0x2c5)])==null?void 0x0:_0x52b5c8[_0x719cdb])==null?void 0x0:_0x1de8bd[_0x107994]},_0x56e442=(_0xfb12df=_0xc0dff3[_0x107994])==null?void 0x0:_0xfb12df['tableFieldId'],_0xbb8adb=_0x5f1108[_0x56e442];_0x28b2a8&&(_0x28b2a8['v']=vt(_0x28b2a8,!0x1,_0xbb8adb,_0x388d19)),_0x1a8ced[_0x80517(0x2e1)](_0x719cdb+_0x382170,_0x107994+_0x4162c6,ot(_0x28b2a8));}const _0x1ebd08=_0x3b9b50['getRowCount'](),_0x5807dd=_0x3b9b50['getColCount']();for(let _0x505e5c=0x0;_0x505e5c<_0x1ebd08;_0x505e5c++)for(let _0x576ee0=0x0;_0x576ee0<_0x5807dd;_0x576ee0++){const _0x580b3f={...(_0x15e949=(_0xa4bbbd=_0x3b9b50[_0x80517(0x2c5)])==null?void 0x0:_0xa4bbbd[_0x505e5c])==null?void 0x0:_0x15e949[_0x576ee0]};_0x1a8ced[_0x80517(0x2e1)](_0x505e5c+_0x382170,_0x576ee0+_0x387b73,ot(_0x580b3f));}return _0x1a8ced;},Ui=_0xbcbec8=>{const _0x1dc1d0=_0x4ecf17,{view:_0x2c306e,targetCellInfo:_0x5625ab,isEmpty:_0x2c37dc,textInfo:_0x2bd515}=_0xbcbec8;if(_0x2c37dc)return Ni(_0xbcbec8);const {pageView:_0x11fd14,cornerView:_0x3c3d86,rowView:_0x237cba,colView:_0x4bce0c,dataView:_0x4950a1}=_0x2c306e,_0x44feec=ge(_0x5625ab,_0x11fd14,!0x0),_0x55b967=_0x11fd14[_0x1dc1d0(0x225)]>=0x0?_0x11fd14['lastRow']+0x1:0x0,_0x3b5e50=_0x3c3d86['getRowCount'](),_0x3afcae=_0x3c3d86['getColCount'](),_0x184634=_0x44feec[_0x1dc1d0(0x1b4)]>0x0?It:0x0,_0x59af61=ge({'row':_0x5625ab['row']+_0x55b967+_0x184634,'col':_0x5625ab[_0x1dc1d0(0x17c)]},_0x3c3d86,!0x1,!0x1),_0x4398ac=ge({'row':_0x5625ab[_0x1dc1d0(0x1ab)]+_0x55b967+_0x184634+_0x3b5e50,'col':_0x5625ab['col']},_0x237cba,!0x1,!0x0),_0x181053=ge({'row':_0x5625ab['row']+_0x55b967+_0x184634,'col':_0x5625ab[_0x1dc1d0(0x17c)]+_0x3afcae},_0x4bce0c,!0x1,!0x0),_0x2c0421=ge({'row':_0x5625ab[_0x1dc1d0(0x1ab)]+_0x55b967+_0x184634+_0x3b5e50,'col':_0x5625ab['col']+_0x3afcae},_0x4950a1,!0x1,!0x1),_0x46af76={'rowRanges':_0x4398ac,'colRanges':_0x181053,'cornerRanges':_0x59af61,'dataRanges':_0x2c0421,'pageRanges':_0x44feec};return{'matrix':Ei(_0x2c306e,_0x5625ab,_0x2bd515),'rangesCache':_0x46af76};};var Vi=Object['getOwnPropertyDescriptor'],xi=(_0x3a9261,_0x28a574,_0x2992e4,_0x52c96f)=>{const _0x4d5ce1=_0x4ecf17;for(var _0x622b8=_0x52c96f>0x1?void 0x0:_0x52c96f?Vi(_0x28a574,_0x2992e4):_0x28a574,_0x53a399=_0x3a9261[_0x4d5ce1(0x1b4)]-0x1,_0x2aed21;_0x53a399>=0x0;_0x53a399--)(_0x2aed21=_0x3a9261[_0x53a399])&&(_0x622b8=_0x2aed21(_0x622b8)||_0x622b8);return _0x622b8;},nt=(_0x24ab00,_0x5d6b58)=>(_0x2e363b,_0x30abc8)=>_0x5d6b58(_0x2e363b,_0x30abc8,_0x24ab00);let $=class extends _0xf43bf4{constructor(_0x21739d,_0x2e665f,_0x427827,_0x3ddbb6,_0x417412){const _0x2cce2c=_0x4ecf17;super(),E(this,_0x2cce2c(0x116),new Map()),E(this,_0x2cce2c(0x34e),new Map()),E(this,_0x2cce2c(0x32c),new Map()),E(this,_0x2cce2c(0x1f1)),E(this,_0x2cce2c(0x1c2),new _0x598d55()),E(this,'collectionChange$',this[_0x2cce2c(0x1c2)][_0x2cce2c(0x296)]()),E(this,_0x2cce2c(0x12e),new _0x598d55()),E(this,_0x2cce2c(0x24e),this[_0x2cce2c(0x12e)][_0x2cce2c(0x296)]()),E(this,_0x2cce2c(0x281),new _0x598d55()),E(this,_0x2cce2c(0x2af),this['_fieldsCollectionChange$'][_0x2cce2c(0x296)]()),E(this,_0x2cce2c(0x31f),new Map()),E(this,'needSameDeleteModel',[]),E(this,'_queryingMap',new Map()),(this['_injector']=_0x21739d,this[_0x2cce2c(0x1ac)]=_0x2e665f,this[_0x2cce2c(0x229)]=_0x427827,this[_0x2cce2c(0x275)]=_0x3ddbb6,this[_0x2cce2c(0x2d5)]=_0x417412,this[_0x2cce2c(0x108)]());}[_0x4ecf17(0x27f)](){const _0xccab0e=_0x4ecf17;return this['_textInfo']?this[_0xccab0e(0x1f1)]:Mi;}['setTextInfo'](_0x4ccb82){this['_textInfo']=_0x4ccb82;}[_0x4ecf17(0x339)](_0x52964f){const _0x48e537=_0x4ecf17;var _0x581160;const {from:_0x5968f8,to:_0x1c2fd4,unitId:_0x35ad7c,fromRange:_0x1af4e2,toRange:_0xfba463}=_0x52964f;if(_0x5968f8&&_0x1c2fd4){const _0x566b9a=this[_0x48e537(0x276)](_0x35ad7c),_0x20374f=this['_model'][_0x48e537(0x181)](_0x35ad7c),_0x4d9098=(_0x581160=this['_univerInstanceService'][_0x48e537(0x31b)](_0x35ad7c))==null?void 0x0:_0x581160[_0x48e537(0x2bf)](_0x1c2fd4[_0x48e537(0x117)]);if(!_0x20374f||!_0x4d9098)return;const _0x1058b3=_0x4d9098==null?void 0x0:_0x4d9098[_0x48e537(0x16e)]();for(const [_0x519589,_0x2aaf94]of _0x20374f[_0x48e537(0x128)]())for(const [_0x3ddcb7,_0x339666]of _0x2aaf94[_0x48e537(0x128)]()){const {sourceRangeInfo:_0x573c72}=_0x339666;if(_0x573c72[_0x48e537(0x2f2)]===_0x35ad7c&&_0x573c72[_0x48e537(0x117)]===_0x5968f8['subUnitId']&&_0x3cec3a[_0x48e537(0x335)](_0x1af4e2,_0x573c72[_0x48e537(0x22e)])){const _0x378d2b={'row':_0x573c72[_0x48e537(0x22e)][_0x48e537(0x171)]-_0x1af4e2[_0x48e537(0x171)],'col':_0x573c72['range']['startColumn']-_0x1af4e2[_0x48e537(0x2f8)]},_0x51f1a9={'unitId':_0x35ad7c,'subUnitId':_0x1c2fd4[_0x48e537(0x117)],'sheetName':_0x1058b3,'range':{'startRow':_0xfba463[_0x48e537(0x171)]+_0x378d2b[_0x48e537(0x1ab)],'endRow':_0xfba463[_0x48e537(0x171)]+_0x378d2b[_0x48e537(0x1ab)]+_0x573c72['range'][_0x48e537(0x139)]-_0x573c72[_0x48e537(0x22e)][_0x48e537(0x171)],'startColumn':_0xfba463[_0x48e537(0x2f8)]+_0x378d2b[_0x48e537(0x17c)],'endColumn':_0xfba463[_0x48e537(0x2f8)]+_0x378d2b[_0x48e537(0x17c)]+_0x573c72[_0x48e537(0x22e)][_0x48e537(0x2c3)]-_0x573c72[_0x48e537(0x22e)]['startColumn']}};_0x566b9a[_0x48e537(0x339)](_0x3ddcb7,_0x51f1a9);const _0x1e8ede={..._0x339666,'sourceRangeInfo':_0x51f1a9};this[_0x48e537(0x121)](_0x35ad7c,_0x1c2fd4[_0x48e537(0x117)],_0x3ddcb7,_0x1e8ede),this['broadcastCollectionChange']({'unitId':_0x35ad7c,'token':_0x3ddcb7,'type':Le[_0x48e537(0xfa)],'oldSourceRangeInfo':_0x573c72,'dataRangeInfo':_0x51f1a9,'targetCellInfo':_0x339666[_0x48e537(0x1d1)]}),this[_0x48e537(0x30d)]({'unitId':_0x35ad7c,'subUnitId':_0x1c2fd4['subUnitId'],'oldSubUnitId':_0x519589,'pivotTableId':_0x3ddcb7,'pivotTableConfig':_0x1e8ede,'collectionConfig':_0x566b9a['toJSON']()});}}}}['broadcastCollectionChange'](_0x5bb322){const _0x432b6b=_0x4ecf17;this['_collectionChange$'][_0x432b6b(0x18e)](_0x5bb322);}['getDataFieldManager'](_0x2f27fc){const _0x6b759c=_0x4ecf17;let _0x5c0072=this[_0x6b759c(0x31f)]['get'](_0x2f27fc);return _0x5c0072||(_0x5c0072=new Di(this,this[_0x6b759c(0x1ac)]),this[_0x6b759c(0x31f)][_0x6b759c(0x1ed)](_0x2f27fc,_0x5c0072)),_0x5c0072;}[_0x4ecf17(0x193)](_0x140751,_0x351ff0){const _0x3d22d7=_0x4ecf17;return this[_0x3d22d7(0x276)](_0x140751)[_0x3d22d7(0x208)][_0x351ff0];}[_0x4ecf17(0x1cc)](_0x557991,_0x229b2b,_0xe1bce){const _0x1d545f=_0x4ecf17;return this[_0x1d545f(0x276)](_0x557991)[_0x1d545f(0x1cc)](_0x229b2b,_0xe1bce);}[_0x4ecf17(0x2d0)](_0x5c8c34,_0x287174){const _0x164c02=_0x4ecf17;let _0x3546f6=this[_0x164c02(0x116)]['get'](_0x5c8c34);_0x3546f6||(_0x3546f6=new Map(),this[_0x164c02(0x116)]['set'](_0x5c8c34,_0x3546f6));let _0x5dffff=_0x3546f6[_0x164c02(0x181)](_0x287174);return _0x5dffff||(_0x5dffff=new Map(),_0x3546f6['set'](_0x287174,_0x5dffff)),_0x5dffff;}[_0x4ecf17(0x121)](_0x50baf1,_0xae5178,_0x20694c,_0x2073a7){const _0x2fdb38=_0x4ecf17;this[_0x2fdb38(0x2d0)](_0x50baf1,_0xae5178)[_0x2fdb38(0x1ed)](_0x20694c,_0x2073a7);}[_0x4ecf17(0x28c)](_0x1792b2,_0x1bfa10,_0x507ca3){const _0x154a68=_0x4ecf17;var _0xca6269,_0x3fa69a,_0x790883,_0x46591f;((_0x3fa69a=(_0xca6269=this['_model'][_0x154a68(0x181)](_0x1792b2))==null?void 0x0:_0xca6269[_0x154a68(0x181)](_0x1bfa10))==null?void 0x0:_0x3fa69a[_0x154a68(0x181)](_0x507ca3))&&((_0x46591f=(_0x790883=this[_0x154a68(0x116)][_0x154a68(0x181)](_0x1792b2))==null?void 0x0:_0x790883['get'](_0x1bfa10))==null||_0x46591f[_0x154a68(0x21c)](_0x507ca3));}[_0x4ecf17(0x2ec)](_0x33cdc9,_0x1b5671){const _0x25ea73=_0x4ecf17;this[_0x25ea73(0x34e)][_0x25ea73(0x1ed)](_0x33cdc9,_0x1b5671);}[_0x4ecf17(0x28a)](_0x44374c){const _0x1339ed=_0x4ecf17;this[_0x1339ed(0x34e)][_0x1339ed(0x21c)](_0x44374c);}[_0x4ecf17(0x187)](_0x1f82b5,_0x12125f){const _0x1130ad=_0x4ecf17;let _0x4ec50e=this[_0x1130ad(0x32c)]['get'](_0x1f82b5);_0x4ec50e||(_0x4ec50e=new Map(),this[_0x1130ad(0x32c)][_0x1130ad(0x1ed)](_0x1f82b5,_0x4ec50e));let _0x4dab16=_0x4ec50e['get'](_0x12125f);return _0x4dab16||(_0x4dab16=new Map(),_0x4ec50e[_0x1130ad(0x1ed)](_0x12125f,_0x4dab16)),_0x4dab16;}['updateConfig'](_0x56967d){const _0x2b744a=_0x4ecf17,{unitId:_0x2bf420,subUnitId:_0x3f387b,pivotTableId:_0x1863aa,pivotTableConfig:_0x3c27a6,collectionConfig:_0x50be8e}=_0x56967d,_0x36fa4e={'unitId':_0x2bf420,'subUnitId':_0x3f387b,'oldSubUnitId':_0x3f387b,'pivotTableId':_0x1863aa,'pivotTableConfig':_0x3c27a6,'collectionConfig':_0x50be8e};this[_0x2b744a(0x275)]['executeCommand'](co['id'],_0x36fa4e,{'onlyLocal':!0x0});}[_0x4ecf17(0x18b)](_0x22cb4d,_0x11ff3c,_0x4ba547,_0x35e53e,_0x4403ee,_0x7b19b8,_0x302700,_0x1b1353=!0x1){const _0x3b0708=_0x4ecf17;var _0x521f97;this['_commandService']['executeCommand'](Dt['id'],{'single':{'unitId':_0x22cb4d,'subUnitId':_0x11ff3c,'type':_0x4ba547,'pivotTableId':_0x35e53e,'view':_0x4403ee,'pivotConfig':_0x7b19b8},'collectionConfig':{[_0x22cb4d]:_0x302700}},{'onlyLocal':!0x0});const _0x48f3d8=!!((_0x521f97=this[_0x3b0708(0x200)](_0x35e53e))!=null&&_0x521f97['isEmpty']()),_0x542074=this[_0x3b0708(0x32e)](_0x22cb4d,_0x11ff3c,_0x35e53e);_0x542074&&this[_0x3b0708(0xe8)]({'view':_0x4403ee,'pivotTableId':_0x35e53e,'textInfo':this['getTextInfo'](),'isEmpty':_0x48f3d8,'targetCellInfo':_0x542074[_0x3b0708(0x1d1)]},_0x1b1353);}[_0x4ecf17(0xe8)](_0x2e77c9,_0x5cb667){const _0x42dd2d=_0x4ecf17,{targetCellInfo:_0x143bc7,pivotTableId:_0xd5bb41}=_0x2e77c9,{unitId:_0x4b3161,subUnitId:_0xd029c9}=_0x143bc7,_0x30e1eb=this[_0x42dd2d(0x187)](_0x4b3161,_0xd029c9),_0x465e88=_0x30e1eb[_0x42dd2d(0x181)](_0xd5bb41);let _0xc87c4a,_0x392304;_0x465e88&&(_0xc87c4a=_0x465e88[_0x42dd2d(0x1f9)],_0x392304=_0x465e88[_0x42dd2d(0x1e9)]);const {rangesCache:_0x51de05,matrix:_0x18c87c}=Ui(_0x2e77c9);_0x30e1eb[_0x42dd2d(0x1ed)](_0xd5bb41,{'rangeCache':_0x51de05,'matrix':_0x18c87c,'oldMatrix':_0x392304,'oldRangeCache':_0xc87c4a}),_0x5cb667||this[_0x42dd2d(0x12e)][_0x42dd2d(0x18e)]({'unitId':_0x4b3161,'subUnitId':_0xd029c9,'pivotTableId':_0xd5bb41});}[_0x4ecf17(0x2fd)](_0x4c0978,_0x164e16,_0x408d3b,_0x1f60dc,_0x2b64fd){const _0x44163a=_0x4ecf17;this[_0x44163a(0x121)](_0x4c0978,_0x164e16,_0x408d3b,_0x2b64fd),this[_0x44163a(0x2ec)](_0x408d3b,_0x1f60dc);}['removePivotTable'](_0xfabb97,_0x500f69,_0x2f03e2){const _0x28cb18=_0x4ecf17,_0x299688=this[_0x28cb18(0x276)](_0xfabb97);_0x299688[_0x28cb18(0xed)](_0x2f03e2)[_0x28cb18(0x26a)](_0x14e9e3=>{const _0x35b4ca=_0x28cb18;_0x299688[_0x35b4ca(0x178)](_0x14e9e3);}),this[_0x28cb18(0x24a)](_0xfabb97,_0x2f03e2),this[_0x28cb18(0x28c)](_0xfabb97,_0x500f69,_0x2f03e2),this['_deletePivotTableInstanceCache'](_0x2f03e2);}[_0x4ecf17(0x2d1)](_0x30c8a6,_0xc7b9d3,_0x1c0ca6,_0x1fd4a2){const _0x1dafe7=_0x4ecf17;this[_0x1dafe7(0x121)](_0x30c8a6,_0xc7b9d3,_0x1c0ca6,_0x1fd4a2);}[_0x4ecf17(0x32e)](_0x32b060,_0x3186cf,_0x39732e){const _0x2cf403=_0x4ecf17;var _0x23b2c9,_0x4aaa2a;const _0x48d879=(_0x4aaa2a=(_0x23b2c9=this[_0x2cf403(0x116)][_0x2cf403(0x181)](_0x32b060))==null?void 0x0:_0x23b2c9[_0x2cf403(0x181)](_0x3186cf))==null?void 0x0:_0x4aaa2a[_0x2cf403(0x181)](_0x39732e);if(_0x48d879)return _0x48d879;}['getPivotTableModelConfig'](_0x587f1c,_0x3cc68d,_0x5145f4){const _0x372b20=_0x4ecf17;var _0x52007e,_0x170b9f;const _0x5c7b89=(_0x170b9f=(_0x52007e=this[_0x372b20(0x116)]['get'](_0x587f1c))==null?void 0x0:_0x52007e[_0x372b20(0x181)](_0x3cc68d))==null?void 0x0:_0x170b9f[_0x372b20(0x181)](_0x5145f4);if(_0x5c7b89)return _0x5c7b89[_0x372b20(0x1f6)];}['getPivotTableInstance'](_0x312bfa){const _0x3e087c=_0x4ecf17;return this[_0x3e087c(0x34e)]['get'](_0x312bfa);}[_0x4ecf17(0x2ca)](_0x5796be){const _0x4a8be4=_0x4ecf17;this[_0x4a8be4(0x116)][_0x4a8be4(0x21c)](_0x5796be);const _0x1eb405=this[_0x4a8be4(0x31f)][_0x4a8be4(0x181)](_0x5796be);_0x1eb405&&(_0x1eb405[_0x4a8be4(0x15e)](),this[_0x4a8be4(0x31f)][_0x4a8be4(0x21c)](_0x5796be)),this[_0x4a8be4(0x32c)]['delete'](_0x5796be),this[_0x4a8be4(0x34c)][_0x4a8be4(0x26a)](_0x10997e=>{_0x10997e['deleteUnitId'](_0x5796be);});}[_0x4ecf17(0x17f)](_0x15633e,_0x5aa2ec,_0x29fd4b,_0x55105c){const _0x2d3071=_0x4ecf17;return this[_0x2d3071(0x276)](_0x29fd4b[_0x2d3071(0x2f2)])['addCollectionByJSON'](_0x15633e,_0x5aa2ec,_0x29fd4b,_0x55105c);}[_0x4ecf17(0x198)](_0xed52a){const _0x244d1e=_0x4ecf17;return this['getDataFieldManager'](_0xed52a[_0x244d1e(0x2f2)])[_0x244d1e(0x198)](_0xed52a);}[_0x4ecf17(0x272)](_0x1f9064,_0x5e6c6b,_0x5336c3){const _0x2e5622=_0x4ecf17;this[_0x2e5622(0x276)](_0x5336c3[_0x2e5622(0x2f2)])['refreshData'](_0x1f9064,_0x5e6c6b,_0x5336c3);}['removeDataField'](_0x2c096d,_0x5e655c){const _0xb783d7=_0x4ecf17;this[_0xb783d7(0x276)](_0x2c096d)[_0xb783d7(0x178)](_0x5e655c);}[_0x4ecf17(0x24a)](_0x371a67,_0x5a9dea){const _0x38707f=_0x4ecf17;this[_0x38707f(0x276)](_0x371a67)['removeCollectionImp'](_0x5a9dea);}[_0x4ecf17(0x112)](_0x29909b,_0x1985f3){const _0x397fa0=_0x4ecf17;var _0x39ca09;return(_0x39ca09=this[_0x397fa0(0x116)][_0x397fa0(0x181)](_0x29909b))==null?void 0x0:_0x39ca09[_0x397fa0(0x181)](_0x1985f3);}[_0x4ecf17(0x340)](_0x3801ff){const _0x3fa901=_0x4ecf17;for(const [_0x1e0f56,_0x54ab39]of this[_0x3fa901(0x116)][_0x3fa901(0x128)]())for(const [_0x4fe5c1,_0x21e775]of _0x54ab39[_0x3fa901(0x128)]())if(_0x21e775[_0x3fa901(0x295)](_0x3801ff))return{'unitId':_0x1e0f56,'subUnitId':_0x4fe5c1};return null;}[_0x4ecf17(0x232)](_0x40432a,_0x403660,_0x38fc40,_0xd741bb){const _0x1cbeaf=_0x4ecf17,_0x78decb=this['_ensureViewDataMap'](_0x40432a,_0x403660);_0xd741bb?_0x78decb[_0x1cbeaf(0x1ed)](_0x38fc40,_0xd741bb):_0x78decb[_0x1cbeaf(0x21c)](_0x38fc40),this[_0x1cbeaf(0x12e)][_0x1cbeaf(0x18e)]({'unitId':_0x40432a,'subUnitId':_0x403660,'pivotTableId':_0x38fc40});}[_0x4ecf17(0x15e)](){const _0x12cba8=_0x4ecf17;super[_0x12cba8(0x15e)]();}[_0x4ecf17(0x259)](_0x1036a1,_0x236f7a,_0x77b26a){const _0x1eb3cc=_0x4ecf17;var _0x5bd169,_0x55ed8e;const _0x1dd873=(_0x55ed8e=(_0x5bd169=this[_0x1eb3cc(0x32c)][_0x1eb3cc(0x181)](_0x1036a1))==null?void 0x0:_0x5bd169['get'](_0x236f7a))==null?void 0x0:_0x55ed8e[_0x1eb3cc(0x181)](_0x77b26a);return _0x1dd873||null;}[_0x4ecf17(0x2db)](_0x3143c1){this['updateDirtyPivotTable'](_0x3143c1);}[_0x4ecf17(0x327)](_0x76568a){const _0x54833b=_0x4ecf17,{token:_0x5be707,unitId:_0x443735,subUnitId:_0x2cb927}=_0x76568a,_0x28966a=_0x443735+'-'+_0x2cb927+'-'+_0x5be707;this['_queryingMap']['get'](_0x28966a)&&clearTimeout(this['_queryingMap'][_0x54833b(0x181)](_0x28966a));const _0x511c86=setTimeout(()=>{const _0x18f6d2=_0x54833b;this['queryDirtyPivotTable'](_0x76568a),this[_0x18f6d2(0x1cf)][_0x18f6d2(0x21c)](_0x28966a);},Ti);this[_0x54833b(0x1cf)]['set'](_0x28966a,_0x511c86);}[_0x4ecf17(0x223)](_0x117cb9){const _0x34cd26=_0x4ecf17,{unitId:_0x44a862,subUnitId:_0x362be9,token:_0x10a0a0,type:_0x360d9d,pivotConfig:_0x4d7cc2}=_0x117cb9,_0x561e7c=this[_0x34cd26(0x200)](_0x10a0a0),_0x54bd12=_0x561e7c==null?void 0x0:_0x561e7c[_0x34cd26(0x337)](),_0x580893=_0x4d7cc2!=null?_0x4d7cc2:this[_0x34cd26(0x32e)](_0x44a862,_0x362be9,_0x10a0a0);_0x580893&&(_0x580893[_0x34cd26(0x1d5)]=!!(_0x561e7c!=null&&_0x561e7c[_0x34cd26(0x1d5)]())),(_0x54bd12||_0x360d9d===B['Delete'])&&this['updateView'](_0x44a862,_0x362be9,_0x360d9d,_0x10a0a0,_0x54bd12,_0x580893,this['getDataFieldManager'](_0x44a862)['toJSON']());}[_0x4ecf17(0x213)](_0x248bd1){const _0x4b8d0a=_0x4ecf17,_0x490e26={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4b8d0a(0x276)](_0x248bd1)&&(_0x490e26['dataFieldManagerConfig'][_0x248bd1]=this[_0x4b8d0a(0x276)](_0x248bd1)[_0x4b8d0a(0x213)]()),this[_0x4b8d0a(0x116)][_0x4b8d0a(0x181)](_0x248bd1)){_0x490e26['pivotTableConfigs'][_0x248bd1]={};const _0x305013=this['_model'][_0x4b8d0a(0x181)](_0x248bd1);_0x305013!=null&&_0x305013[_0x4b8d0a(0x262)]&&[..._0x305013[_0x4b8d0a(0x248)]()][_0x4b8d0a(0x26a)](_0x5ce34f=>{const _0xcc9f24=_0x4b8d0a,_0x56c62d=_0x305013[_0xcc9f24(0x181)](_0x5ce34f);_0x56c62d!=null&&_0x56c62d[_0xcc9f24(0x262)]&&(_0x490e26[_0xcc9f24(0x21b)][_0x248bd1][_0x5ce34f]={},[..._0x56c62d['keys']()][_0xcc9f24(0x26a)](_0x53783e=>{const _0x1b961a=_0xcc9f24,_0x206406=_0x56c62d[_0x1b961a(0x181)](_0x53783e);_0x206406&&(_0x490e26[_0x1b961a(0x21b)][_0x248bd1][_0x5ce34f][_0x53783e]=_0x206406);}));});}return _0x490e26;}[_0x4ecf17(0x359)](_0x3c4d25){const _0x2617d6=_0x4ecf17;var _0x191e7d;const {dataFieldManagerConfig:_0x532eda,pivotTableConfigs:_0x1d2fa4}=_0x3c4d25;_0x532eda&&Object['keys'](_0x532eda)[_0x2617d6(0x26a)](_0x19ec46=>{const _0x1e15ed=_0x2617d6;this[_0x1e15ed(0x276)](_0x19ec46)[_0x1e15ed(0x359)](_0x532eda[_0x19ec46]);});const _0x2bf684=[];if(_0x1d2fa4){const _0x5be391=(_0x191e7d=this['_injector']['get'](_0x24eb52)[_0x2617d6(0x342)](_0x1fc276))!=null?_0x191e7d:{},{ls:_0x3b19bb,pbk:_0x496be2}=_0x5be391,_0x3b9c3e=go(so,_0x3b19bb,_0x496be2)[_0x2617d6(0xf1)];Object[_0x2617d6(0x248)](_0x1d2fa4)[_0x2617d6(0x26a)](_0x11ae90=>{let _0x5acc29=0x0;const _0x34b94d=_0x1d2fa4[_0x11ae90];Object['keys'](_0x34b94d)['forEach'](_0x3da3c0=>{const _0x4a2b5e=_0x3142,_0x3eefd8=_0x34b94d[_0x3da3c0];Object['keys'](_0x3eefd8)[_0x4a2b5e(0x26a)](_0x5b4c9e=>{const _0x1d2a89=_0x4a2b5e,_0x168efb=_0x3eefd8[_0x5b4c9e];if(_0x168efb){if(_0x5acc29>=_0x3b9c3e)return;_0x5acc29++;const _0x3129a3=this[_0x1d2a89(0x276)](_0x11ae90),_0x1c39ff=_0x3129a3['collections'][_0x5b4c9e],_0x6225f0=_0x1c39ff['getFieldIds']();let _0x17d702=0x0;const _0x347596=[];for(const _0x26cdb2 of _0x6225f0){const _0x5c772b=_0x1c39ff[_0x1d2a89(0x184)](_0x26cdb2);if(_0x1872b3(_0x5c772b)){const _0x2b4e90=_0x5c772b[_0x1d2a89(0x122)](),_0x53733a=_0x1c39ff[_0x1d2a89(0x184)](_0x2b4e90);_0x53733a&&_0x347596[_0x1d2a89(0x2ce)]([_0x5c772b,_0x53733a]);continue;}_0x3129a3[_0x1d2a89(0x319)](_0x26cdb2,_0x168efb[_0x1d2a89(0x24b)],_0x17d702),_0x17d702++;}_0x347596['forEach'](([_0x329c45,_0x146967])=>{const _0x2846c1=_0x1d2a89;_0x329c45[_0x2846c1(0x2d2)](_0x146967);});const _0x25a705=new _0x5401ef(_0x1c39ff);_0x25a705[_0x1d2a89(0x359)](_0x168efb[_0x1d2a89(0x1f6)]),this['addPivotTable'](_0x11ae90,_0x3da3c0,_0x5b4c9e,_0x25a705,_0x168efb);const _0x12a99b=_0x25a705[_0x1d2a89(0x337)]();_0x2bf684[_0x1d2a89(0x2ce)]({'unitId':_0x11ae90,'subUnitId':_0x3da3c0,'pivotTableId':_0x5b4c9e,'view':_0x12a99b['toJSON'](),'pivotConfig':_0x168efb,'type':B[_0x1d2a89(0x26b)]});const _0x512d00=!!_0x25a705['isEmpty'](),_0x5199af={'view':_0x12a99b,'pivotTableId':_0x5b4c9e,'textInfo':this[_0x1d2a89(0x27f)](),'isEmpty':_0x512d00,'targetCellInfo':_0x168efb['targetCellInfo']};this[_0x1d2a89(0xe8)](_0x5199af,!0x1);}});});});}_0x532eda&&Object['keys'](_0x532eda)[_0x2617d6(0x26a)](_0x3dab12=>{const _0x17143f=_0x2617d6,_0x2d0315=this['getDataFieldManager'](_0x3dab12);this[_0x17143f(0x281)]['next'](_0x2d0315['collections']);}),this[_0x2617d6(0x275)]['executeCommand'](Dt['id'],{'batch':_0x2bf684,'collectionConfig':_0x532eda},{'onlyLocal':!0x0});}[_0x4ecf17(0x108)](){const _0x1bf53d=_0x4ecf17;this['disposeWithMe'](this['_resourceManagerService'][_0x1bf53d(0x2bb)]({'toJson':_0x264fb8=>JSON[_0x1bf53d(0x244)](this[_0x1bf53d(0x213)](_0x264fb8)),'parseJson':_0x4de403=>{const _0x12c322=_0x1bf53d;if(!_0x4de403)return{};try{return JSON[_0x12c322(0x251)](_0x4de403);}catch{return{};}},'businesses':[_0x5d5a47[_0x1bf53d(0x2b0)]],'pluginName':ao,'onLoad':(_0xf2dca1,_0x518787)=>{this['fromJSON'](_0x518787);},'onUnLoad':_0x1f66ed=>{this['deleteUnitId'](_0x1f66ed);}}));}};$=xi([nt(0x0,_0x1878d6(_0x1b260f)),nt(0x1,_0x2e3e1a),nt(0x2,_0x1878d6(_0x3d665e)),nt(0x3,_0x372820),nt(0x4,_0x1878d6(_0x2a8a14))],$);const Oi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x4ecf17(0x13a),'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':_0x4ecf17(0x1ab),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x4ecf17(0x1f8),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Wo=(_0x1aab17,_0x24e77a)=>{const _0x4a2c2a=_0x4ecf17,_0x40ec55=new _0x440b29(),_0x55f980=new _0x440b29(Oi),{row:_0x380648,col:_0x4083c3}=_0x24e77a;_0x55f980[_0x4a2c2a(0x2b1)]((_0x2d846c,_0x34a2f6,_0xd2fff4)=>{const _0x284d7f=_0x4a2c2a;let _0xc43ee='';_0xd2fff4['v']===_0x284d7f(0x312)?_0xc43ee=_0x1aab17[_0x284d7f(0x312)]:_0xd2fff4['v']===_0x284d7f(0x1ab)?_0xc43ee=_0x1aab17[_0x284d7f(0x1ab)]:_0xd2fff4['v']==='column'?_0xc43ee=_0x1aab17[_0x284d7f(0x13a)]:_0xd2fff4['v']===_0x284d7f(0x1f8)&&(_0xc43ee=_0x1aab17[_0x284d7f(0x1f8)]),_0x40ec55[_0x284d7f(0x2e1)](_0x2d846c+_0x380648,_0x34a2f6+_0x4083c3,{..._0xd2fff4,'v':_0xc43ee});});const _0x2fd0a3=_0x1a663c['deepClone'](Lt);return Object[_0x4a2c2a(0x248)](Lt)[_0x4a2c2a(0x26a)](_0xeede1d=>{const _0x16cbe1=_0x4a2c2a;_0x2fd0a3[_0xeede1d]=Lt[_0xeede1d]['map'](_0x2b4812=>({..._0x2b4812,'startRow':_0x2b4812[_0x16cbe1(0x171)]+_0x380648,'endRow':_0x2b4812[_0x16cbe1(0x139)]+_0x380648,'startColumn':_0x2b4812[_0x16cbe1(0x2f8)]+_0x4083c3,'endColumn':_0x2b4812[_0x16cbe1(0x2c3)]+_0x4083c3}));}),{'matrixCache':_0x40ec55,'rangesCache':_0x2fd0a3};};function ki(_0x397474,_0x4064c8){const _0x292d24=_0x4ecf17;let _0x5f2a84='';const _0x4c023d=this[_0x292d24(0x27f)]();switch(_0x4064c8){case _0x5d2132['average']:_0x5f2a84=_0x4c023d[_0x292d24(0x1eb)]+_0x397474;break;case _0x5d2132[_0x292d24(0xf1)]:_0x5f2a84=_0x4c023d[_0x292d24(0xf0)]+_0x397474;break;case _0x5d2132['countNums']:_0x5f2a84=_0x4c023d['sheets-pivot.countNumsName']+_0x397474;break;case _0x5d2132[_0x292d24(0x274)]:_0x5f2a84=_0x4c023d[_0x292d24(0x16d)]+_0x397474;break;case _0x5d2132[_0x292d24(0x145)]:_0x5f2a84=_0x4c023d[_0x292d24(0x115)]+_0x397474;break;case _0x5d2132[_0x292d24(0x196)]:_0x5f2a84=_0x4c023d[_0x292d24(0x347)]+_0x397474;break;case _0x5d2132['stdDev']:_0x5f2a84=_0x4c023d[_0x292d24(0x231)]+_0x397474;break;case _0x5d2132[_0x292d24(0x140)]:_0x5f2a84=_0x4c023d[_0x292d24(0x301)]+_0x397474;break;case _0x5d2132[_0x292d24(0x105)]:_0x5f2a84=_0x4c023d[_0x292d24(0x1ae)]+_0x397474;break;case _0x5d2132[_0x292d24(0x293)]:_0x5f2a84=_0x4c023d[_0x292d24(0xe6)]+_0x397474;break;case _0x5d2132['varp']:_0x5f2a84=_0x4c023d[_0x292d24(0x15c)]+_0x397474;break;default:_0x5f2a84=_0x397474;break;}return _0x5f2a84;}function Ai(_0x5c7d05,_0x3ff03b,_0x4d7ff3,_0x10eaa6,_0x15f607){const _0x243a2c=_0x4ecf17;var _0x264ad8,_0x4928c4,_0x3a6bcf,_0x38d0c8,_0x1cdf62;const _0x741e64=_0x5a6119(_0x5c7d05,_0x3ff03b),{rangesInfo:_0x290dae,areaInfo:_0x24a5f4,headerMap:_0x107b14}=_0x15f607;if(!_0x290dae||!_0x24a5f4||!_0x107b14)return;const _0x1710e9=Object[_0x243a2c(0x248)](_0x290dae)[_0x243a2c(0xe7)](_0x48843f=>_0x290dae[_0x48843f][_0x243a2c(0x2e0)](_0x3cdd83=>_0x3cec3a[_0x243a2c(0x335)](_0x3cdd83,_0x741e64))),_0x2a5684=_0x24a5f4;let _0x57695c,_0x18b654,_0xe8acee;if(_0x1710e9===_0x243a2c(0x183))_0x57695c=(_0x264ad8=_0x2a5684==null?void 0x0:_0x2a5684[_0x243a2c(0x2c9)])==null?void 0x0:_0x264ad8[_0x5c7d05],_0x18b654=(_0x4928c4=_0x107b14==null?void 0x0:_0x107b14['rowHeaderMap'])==null?void 0x0:_0x4928c4[_0x3ff03b],_0xe8acee=_0x18b654==null?void 0x0:_0x18b654[_0x243a2c(0x18f)];else{if(_0x1710e9===_0x243a2c(0x28b))_0x57695c=(_0x3a6bcf=_0x2a5684==null?void 0x0:_0x2a5684[_0x243a2c(0x129)])==null?void 0x0:_0x3a6bcf[_0x3ff03b],_0x18b654=(_0x38d0c8=_0x107b14[_0x243a2c(0x33d)])==null?void 0x0:_0x38d0c8[_0x5c7d05+0x1+_0x3ff03b-_0x290dae['colRanges'][0x0]['startColumn']],_0xe8acee=_0x18b654==null?void 0x0:_0x18b654[_0x243a2c(0x18f)];else{if(_0x1710e9===_0x243a2c(0x2c4))_0x57695c=(_0x1cdf62=_0x2a5684==null?void 0x0:_0x2a5684[_0x243a2c(0x224)])==null?void 0x0:_0x1cdf62[_0x3ff03b],_0xe8acee=_0x57695c==null?void 0x0:_0x57695c[_0x243a2c(0x18f)];else{if(_0x1710e9===_0x243a2c(0x195)){const _0x5abdd3=_0x4d7ff3==null?void 0x0:_0x4d7ff3['fi'];_0x5abdd3!==void 0x0&&(_0xe8acee=_0x10eaa6[_0x243a2c(0x1fd)](_0x5abdd3));}}}}return{'filterId':_0xe8acee,'info':_0x57695c,'data':_0x4d7ff3,'headerInfo':_0x18b654};}function ji(_0x2959fc,_0x3fd729,_0x428503){const _0x3da992=_0x4ecf17,_0x33611f=_0x2959fc[_0x3da992(0x21f)],_0x2e9957=_0x33611f[_0x3da992(0x2c1)](),_0xd46722=new Set();_0x2959fc[_0x3da992(0x2bd)](_0x19246e=>{const _0x1f41b4=_0x3da992;_0xd46722['add'](_0x19246e[_0x1f41b4(0x318)]);});const _0x5aa3bc=_0x2e9957[_0x3da992(0xf7)](_0x1e46bd=>{const _0x44d26b=_0x3da992,_0x20b356=_0x33611f[_0x44d26b(0x184)](_0x1e46bd);return{'checked':_0xd46722[_0x44d26b(0x295)](_0x1e46bd),'dataFieldId':_0x20b356['id'],'id':_0x20b356['id'],'name':_0x33611f[_0x44d26b(0x226)](_0x20b356['id']),'type':_0x20b356[_0x44d26b(0x2a5)](),'pivotTableId':_0x3fd729};}),_0x34348e=[];_0x2959fc[_0x3da992(0x255)](_0x2709e7[_0x3da992(0xde)],_0x5c566c=>{const _0x33f70f=_0x3da992;_0x34348e[_0x33f70f(0x2ce)]({'dataFieldId':_0x5c566c[_0x33f70f(0x318)],'tableFieldId':_0x5c566c['getId'](),'displayName':_0x5c566c['getDisplayName']()});});const _0x3b408a=[];_0x2959fc[_0x3da992(0x255)](_0x2709e7['Column'],_0x49405b=>{const _0x4516d1=_0x3da992;_0x3b408a[_0x4516d1(0x2ce)]({'dataFieldId':_0x49405b['dataFieldId'],'tableFieldId':_0x49405b['getId'](),'displayName':_0x49405b[_0x4516d1(0x226)]()});});const _0x308352=[];if(_0x2959fc[_0x3da992(0x255)](_0x2709e7[_0x3da992(0x1e5)],_0x1a6ccb=>{const _0x1d8a86=_0x3da992;_0x308352['push']({'dataFieldId':_0x1a6ccb[_0x1d8a86(0x318)],'tableFieldId':_0x1a6ccb[_0x1d8a86(0x102)](),'displayName':_0x1a6ccb[_0x1d8a86(0x226)](),'format':_0x1a6ccb[_0x1d8a86(0x14d)](),'subTotalType':_0x1a6ccb[_0x1d8a86(0x2b2)]()});}),_0x308352[_0x3da992(0x1b4)]>0x1){const _0x2018fa=_0x2959fc['getValueIndex']();(_0x2959fc[_0x3da992(0x1fe)]()?_0x3b408a:_0x34348e)[_0x3da992(0x1a4)](_0x2018fa,0x0,{'dataFieldId':'','tableFieldId':_0x3da992(0x323),'displayName':_0x3da992(0x31d)});}const _0x454406=[];_0x2959fc['iterateFieldByArea'](_0x2709e7[_0x3da992(0x10a)],_0x9b3c08=>{const _0x41730d=_0x3da992;_0x454406[_0x41730d(0x2ce)]({'dataFieldId':_0x9b3c08['dataFieldId'],'tableFieldId':_0x9b3c08[_0x41730d(0x102)](),'displayName':_0x9b3c08['getDisplayName']()});});const _0x48ac2a=_0x428503[_0x3da992(0x24b)];return{'sourceList':_0x5aa3bc,'sourceRange':_0x48ac2a,'rowFields':_0x34348e,'columnFields':_0x3b408a,'valueFields':_0x308352,'filterFields':_0x454406,'positionInfo':_0x428503[_0x3da992(0x1d1)]};}function fo(_0x2cc796,_0x39340f,_0xeb9292='',_0x55d5fd={}){const _0x5cf662=_0x4ecf17,_0x32ca18=_0x2cc796[_0x5cf662(0x181)](_0x44162e);for(const _0x1e3b8c in _0x39340f)if(Object[_0x5cf662(0x1e4)][_0x5cf662(0x1c6)][_0x5cf662(0x27b)](_0x39340f,_0x1e3b8c)){const _0x1a06a6=_0xeb9292?_0xeb9292+'.'+_0x1e3b8c:_0x1e3b8c;typeof _0x39340f[_0x1e3b8c]==_0x5cf662(0x344)&&_0x39340f[_0x1e3b8c]!==null&&!Array[_0x5cf662(0x12d)](_0x39340f[_0x1e3b8c])?fo(_0x2cc796,_0x39340f[_0x1e3b8c],_0x1a06a6,_0x55d5fd):_0x55d5fd[_0x1a06a6]=_0x32ca18['t'](_0x1a06a6);}return _0x55d5fd;}const Bt=_0x3655bc=>{const _0x4ffac5=_0x4ecf17;if(!_0x3655bc)return[];const {rowRanges:_0x35b5a8,colRanges:_0x204ec8,cornerRanges:_0x57f9d6,dataRanges:_0x303be3,pageRanges:_0x18fd2d}=_0x3655bc,_0x4021fc=[..._0x204ec8,..._0x35b5a8,..._0x303be3,..._0x57f9d6]['filter'](_0x371489=>_0x371489['startRow']>=0x0&&_0x371489[_0x4ffac5(0x2f8)]>=0x0&&_0x371489[_0x4ffac5(0x139)]>=0x0&&_0x371489[_0x4ffac5(0x2c3)]>=0x0);let _0x351df9=Number[_0x4ffac5(0x130)],_0x4f95c9=Number[_0x4ffac5(0x143)],_0x36e54b=Number[_0x4ffac5(0x130)],_0x2731ad=Number[_0x4ffac5(0x143)];for(let _0x28e6f1=0x0;_0x28e6f1<_0x4021fc[_0x4ffac5(0x1b4)];_0x28e6f1++)_0x351df9=Math[_0x4ffac5(0x145)](_0x351df9,_0x4021fc[_0x28e6f1]['startRow']),_0x4f95c9=Math['max'](_0x4f95c9,_0x4021fc[_0x28e6f1][_0x4ffac5(0x139)]),_0x36e54b=Math[_0x4ffac5(0x145)](_0x36e54b,_0x4021fc[_0x28e6f1][_0x4ffac5(0x2f8)]),_0x2731ad=Math[_0x4ffac5(0x274)](_0x2731ad,_0x4021fc[_0x28e6f1][_0x4ffac5(0x2c3)]);return[..._0x18fd2d,{'startRow':_0x351df9,'endRow':_0x4f95c9,'startColumn':_0x36e54b,'endColumn':_0x2731ad}];};function Li(_0x1d21c,_0x514ade){const _0x2136e6=_0x4ecf17,_0x1e8063=_0x514ade[_0x2136e6(0x11e)][_0x2136e6(0x283)],{pivotTableId:_0xd2f42d,unitId:_0x369cb8,subUnitId:_0x461110}=_0x514ade;if(!_0x1e8063)return;const _0x8a9869=_0x1d21c[_0x2136e6(0x181)]($),_0x433abc=_0x8a9869[_0x2136e6(0x200)](_0xd2f42d),_0xea40c8=_0x8a9869[_0x2136e6(0x32e)](_0x369cb8,_0x461110,_0xd2f42d);if(!_0x433abc||!_0xea40c8)return;const _0x3a20cd=_0x433abc[_0x2136e6(0x1c5)](_0x1e8063[_0x2136e6(0x1d4)]);if(!(_0x3a20cd!=null&&_0x3a20cd[_0x2136e6(0x1b4)]))return;const _0x308c9e=_0xea40c8[_0x2136e6(0x24b)],{unitId:_0x31af20,subUnitId:_0x46137f,range:_0x22b099}=_0x308c9e;let _0x178f60=0x0;const _0x305c1a=_0x433abc[_0x2136e6(0x21f)][_0x2136e6(0x2c1)]()[_0x2136e6(0x290)]((_0x5d951f,_0x956fc4)=>{const _0x3013cb=_0x2136e6;var _0x10757f;const _0x1a4bb6=(_0x10757f=_0x433abc[_0x3013cb(0x252)](_0x956fc4))==null?void 0x0:_0x10757f[_0x3013cb(0x1b9)]();return _0x1a4bb6&&(_0x5d951f[String(_0x178f60)]=_0x1a4bb6),_0x178f60++,_0x5d951f;},{});return{'indexes':_0x3a20cd,'range':_0x22b099,'sourceUnitId':_0x31af20,'sourceSubUnitId':_0x46137f,'formatMap':_0x305c1a};}function Ko(_0x295069,_0x2c6d53){const _0x37619a=_0x4ecf17;if(!_0x295069||!_0x2c6d53)return!0x0;const _0x447446=_0x536e3b(Go,Jo),_0x1c4c48=new Function('return\x20'+_0x447446)()(_0x295069,_0x2c6d53)[_0x37619a(0x2f1)],_0x590eef=_0x26a9b7(_0x1c4c48,'sf',jo);return!((_0x1c4c48==null?void 0x0:_0x1c4c48['rt'])===_0x3b5082['NO_COMMERCIAL']&&!_0x590eef);}function go(_0xcc9e37,_0x25038d,_0x1b82b4){const _0x1ff871=_0x4ecf17,_0x2fb379={'count':_0xcc9e37,'timeValid':!0x1};if(!_0x25038d||!_0x1b82b4)return _0x2fb379;const _0x16cf65=_0x536e3b(Go,Jo),_0x1420fa=new Function(_0x1ff871(0x2cf)+_0x16cf65)()(_0x25038d,_0x1b82b4);if(_0x1420fa!=null&&_0x1420fa['valid']){const _0x6b3966=_0x1420fa[_0x1ff871(0x2f1)],_0x23cc25=_0x26a9b7(_0x6b3966,'sf',jo);return{'count':_0x58e711(_0x6b3966,_0x23cc25,_0x1ff871(0x1e7),_0xcc9e37,_0xcc9e37,0x0),'timeValid':_0x23cc25};}return _0x2fb379;}function Ho(_0x135721,_0x4bb0e9,_0x52b63a,_0x51f53d){const _0x345f44=_0x4ecf17,_0x2ca6bd={'subUnitId':_0x52b63a,'unitId':_0x4bb0e9,'cellValue':_0xd08695(_0x51f53d)},_0x381393=_0x18b4cd(_0x135721,_0x2ca6bd);let _0xe42813=!0x1;return new _0x440b29(_0x381393[_0x345f44(0x33f)])[_0x345f44(0x2b1)]((_0x29b749,_0x26a678,_0x4ea444)=>{const _0x3986b7=_0x345f44;if(!_0xe42813&&_0x4ea444&&(_0x4ea444[_0x3986b7(0x2bc)]||_0x4ea444['f']||_0x4ea444['p']||_0x4ea444['s']||_0x4ea444['si']||_0x4ea444['t']||_0x4ea444['v']))return _0xe42813=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2691c0['id'],'params':_0x381393},'setRangeValueRedoMutation':{'id':_0x2691c0['id'],'params':_0x2ca6bd},'shouldClear':_0xe42813};}function Bi(_0x53cb9c){const {row:_0x4a31ba,col:_0x1e0eee}=_0x53cb9c,_0x5addf7={'startRow':_0x4a31ba,'endRow':_0x4a31ba,'startColumn':_0x1e0eee,'endColumn':_0x1e0eee},_0xb644b8={'startRow':_0x4a31ba+0x2,'endRow':_0x4a31ba+0xe,'startColumn':_0x1e0eee,'endColumn':_0x1e0eee+0x6};return[_0x5addf7,_0xb644b8];}function $i(_0x2f796d,_0x4851e9,_0x530c7e){const _0x1686a1=_0x4ecf17,{cornerView:_0x25c3cb,rowView:_0x2b30c0,colView:_0x23e523,pageView:_0x1663af}=_0x2f796d,{row:_0x2329dc,col:_0x1075cd}=_0x4851e9;if(_0x530c7e)return{'rowCount':bi+_0x2329dc,'colCount':Si+_0x1075cd};const _0x472dd4=_0x1663af['lastRow']>-0x1?_0x1663af['lastRow']+0x1:0x0,_0x312463=_0x1663af[_0x1686a1(0x24d)]>-0x1?_0x1663af[_0x1686a1(0x24d)]:0x0,_0x58673c=_0x2329dc+_0x472dd4+(_0x472dd4?0x1:0x0)+_0x25c3cb[_0x1686a1(0x113)]+_0x2b30c0[_0x1686a1(0x113)],_0x36e558=_0x1075cd+_0x312463,_0x572393=_0x1075cd+_0x25c3cb[_0x1686a1(0xf9)]+_0x23e523[_0x1686a1(0xf9)],_0x51134b=Math[_0x1686a1(0x274)](_0x36e558,_0x572393);return{'rowCount':_0x58673c,'colCount':_0x51134b};}function we(_0x5cbe96,_0x546d6c,_0x562e80,_0x3cd2bb){const _0x34ddba=_0x4ecf17,{row:_0x930240,col:_0x298d65,unitId:_0x568bfc,subUnitId:_0x57bfc5}=_0x562e80,_0xf138d7=$i(_0x546d6c,{'row':_0x930240,'col':_0x298d65},_0x3cd2bb),_0x5383b4=_0x5cbe96['get'](_0x2e3e1a),_0x37f2e1=_0x7b9dcd(_0x5383b4,{'unitId':_0x568bfc,'subUnitId':_0x57bfc5}),_0x4f90cd=[],_0x3a0c2f=[];if(!_0x37f2e1)return{'undos':_0x3a0c2f,'redos':_0x4f90cd};const {worksheet:_0x315eb9}=_0x37f2e1,_0x559c2e=_0x315eb9[_0x34ddba(0x11a)](),_0x423c3a=_0x315eb9[_0x34ddba(0x26f)]();return _0x559c2e<_0xf138d7[_0x34ddba(0x113)]&&(_0x4f90cd[_0x34ddba(0x2ce)]({'id':_0x36b0e6['id'],'params':{'unitId':_0x568bfc,'subUnitId':_0x57bfc5,'range':{'startRow':_0x559c2e,'endRow':_0xf138d7[_0x34ddba(0x113)]-0x1,'startColumn':0x0,'endColumn':_0x423c3a-0x1}}}),_0x3a0c2f['push']({'id':_0x432b10['id'],'params':{'unitId':_0x568bfc,'subUnitId':_0x57bfc5,'range':{'startRow':_0x559c2e,'endRow':_0xf138d7[_0x34ddba(0x113)]-0x1,'startColumn':0x0,'endColumn':_0x423c3a-0x1}}})),_0x423c3a<_0xf138d7[_0x34ddba(0xf9)]&&(_0x4f90cd['push']({'id':_0x277773['id'],'params':{'unitId':_0x568bfc,'subUnitId':_0x57bfc5,'range':{'startRow':0x0,'endRow':_0x559c2e-0x1,'startColumn':_0x423c3a,'endColumn':_0xf138d7[_0x34ddba(0xf9)]-0x1}}}),_0x3a0c2f[_0x34ddba(0x2ce)]({'id':_0x7d3b89['id'],'params':{'unitId':_0x568bfc,'subUnitId':_0x57bfc5,'range':{'startRow':0x0,'endRow':_0x559c2e-0x1,'startColumn':_0x423c3a,'endColumn':_0xf138d7[_0x34ddba(0xf9)]-0x1}}})),{'undos':_0x3a0c2f,'redos':_0x4f90cd};}function zi(_0x3d60be){const _0x4840a2=_0x4ecf17;let _0x2eabe8=0x0;for(let _0x4a473c=0x0;_0x4a473c<_0x3d60be['length'];_0x4a473c++){const _0x442b8f=_0x3d60be[_0x4840a2(0x12f)](_0x4a473c);_0x442b8f>=0x4e00&&_0x442b8f<=0x9fff||_0x442b8f>=0x3000&&_0x442b8f<=0x303f||_0x442b8f>=0xff00&&_0x442b8f<=0xffef?_0x2eabe8+=0x2:_0x2eabe8+=0x1;}return _0x2eabe8;}function yo(_0x17196d,_0x4b7953,_0x58e798,_0x46316f){const _0x2c7079=_0x4ecf17;var _0x57f620,_0x4c02ba,_0x49b9bf,_0x197a16;const {rowCount:_0x555c8d,colCount:_0x5cd55c,headerMap:_0x2e7cf8}=_0x17196d,_0x16295f=0x64,_0x3c843b=Math['min'](_0x555c8d,_0x16295f),_0x569150=Math[_0x2c7079(0x145)](_0x5cd55c,_0x16295f);let _0x1eadbd='',_0x543bf9=0x0;for(let _0x48f271=0x0;_0x48f271<_0x3c843b;_0x48f271++)for(let _0x2566c2=0x0;_0x2566c2<_0x569150;_0x2566c2++){const _0x4aff00={...(_0x4c02ba=(_0x57f620=_0x17196d[_0x2c7079(0x2c5)])==null?void 0x0:_0x57f620[_0x48f271])==null?void 0x0:_0x4c02ba[_0x2566c2]},_0x44ee6b=(_0x49b9bf=_0x2e7cf8[_0x48f271])==null?void 0x0:_0x49b9bf['tableFieldId'],_0x5ebf70=_0x46316f[_0x44ee6b];let _0x1d78df=_0x17196d['getValue'](_0x48f271,_0x2566c2);if(_0x4aff00){const _0x378526=_0x58e798?_0x2566c2===0x0&&((_0x197a16=_0x17196d[_0x2c7079(0x119)](_0x2566c2+0x1))==null?void 0x0:_0x197a16[_0x2c7079(0x245)]):!0x1;_0x1d78df=vt(_0x4aff00,_0x378526,_0x5ebf70,_0x4b7953);}if(_0x1d78df!==void 0x0){const _0x31ffd8=zi(String(_0x1d78df));_0x543bf9<_0x31ffd8&&(_0x1eadbd=String(_0x1d78df),_0x543bf9=_0x31ffd8);}}return _0x1eadbd;}function Ji(_0xf4d938){const _0x42ee28=_0x4ecf17,{rowCount:_0x39a528,colCount:_0x201fbd}=_0xf4d938;let _0xf495b0='',_0x510f2a=0x0;for(let _0x354d68=_0x39a528-0x1;_0x354d68>0x0&&_0x354d68>_0x39a528-0x3;_0x354d68--)for(let _0x244a72=0x0;_0x244a72<_0x201fbd;_0x244a72++){const _0x469bd5=_0xf4d938[_0x42ee28(0x345)](_0x354d68,_0x244a72);if(_0x469bd5!==void 0x0){const _0x3c39a8=String(_0x469bd5)[_0x42ee28(0x1b4)];_0x510f2a<_0x3c39a8&&(_0xf495b0=String(_0x469bd5),_0x510f2a=_0x3c39a8);}}return _0xf495b0;}function Gi(_0x20cd42){const _0x4d8e7f=_0x4ecf17,{rowCount:_0x142f86,colCount:_0x4a9279}=_0x20cd42;let _0xa39c15='',_0x338bfe=0x0;for(let _0x381e68=0x0;_0x381e68<_0x142f86;_0x381e68++)for(let _0x5defba=0x0;_0x5defba<_0x4a9279;_0x5defba++){const _0x3c4114=_0x20cd42[_0x4d8e7f(0x345)](_0x381e68,_0x5defba);if(_0x3c4114!==void 0x0){const _0x361122=String(_0x3c4114)[_0x4d8e7f(0x1b4)];_0x338bfe<_0x361122&&(_0xa39c15=String(_0x3c4114),_0x338bfe=_0x361122);}}return _0xa39c15;}function Wi(_0x1c7d97,_0x244ba4){const _0x47f932=_0x4ecf17,{rowFields:_0x479da4,columnFields:_0x22231e,valueFields:_0xaad69,filterFields:_0x130c90,dimension:_0x28fd8e,measure:_0x11eead}=_0x244ba4;for(const _0x2300af of _0x479da4){const _0x378dfb=_0x28fd8e[_0x2300af];_0x378dfb&&_0x1c7d97[_0x47f932(0x252)](_0x378dfb[_0x47f932(0x318)])&&(_0x1c7d97['addFieldWithSourceId'](_0x378dfb[_0x47f932(0x318)],_0x2709e7[_0x47f932(0xde)],void 0x0,_0x2300af),_0x378dfb[_0x47f932(0x233)]&&_0x1c7d97['renameField'](_0x378dfb['id'],_0x378dfb[_0x47f932(0x233)]),_0x378dfb[_0x47f932(0x11d)]&&_0x1c7d97['setSortInfo'](_0x378dfb['id'],_0x378dfb[_0x47f932(0x11d)]),_0x378dfb['filterInfo']&&_0x1c7d97[_0x47f932(0x331)](_0x378dfb['id'],_0x378dfb[_0x47f932(0x1db)]));}for(const _0x1a65b7 of _0x22231e){const _0x541da2=_0x28fd8e[_0x1a65b7];_0x541da2&&_0x1c7d97[_0x47f932(0x252)](_0x541da2['dataFieldId'])&&(_0x1c7d97[_0x47f932(0x14f)](_0x541da2['dataFieldId'],_0x2709e7[_0x47f932(0x266)],void 0x0,_0x1a65b7),_0x541da2[_0x47f932(0x11d)]&&_0x1c7d97['setSortInfo'](_0x541da2['id'],_0x541da2[_0x47f932(0x11d)]),_0x541da2[_0x47f932(0x1db)]&&_0x1c7d97[_0x47f932(0x331)](_0x541da2['id'],_0x541da2[_0x47f932(0x1db)]),_0x541da2[_0x47f932(0x233)]&&_0x1c7d97[_0x47f932(0xdd)](_0x541da2['id'],_0x541da2['displayName']));}for(const _0x55b2dc of _0x130c90){const _0x4a7d5f=_0x28fd8e[_0x55b2dc];_0x4a7d5f&&_0x1c7d97[_0x47f932(0x252)](_0x4a7d5f[_0x47f932(0x318)])&&(_0x1c7d97[_0x47f932(0x14f)](_0x4a7d5f[_0x47f932(0x318)],_0x2709e7['Filter'],void 0x0,_0x55b2dc),_0x4a7d5f[_0x47f932(0x11d)]&&_0x1c7d97[_0x47f932(0x1ad)](_0x4a7d5f['id'],_0x4a7d5f[_0x47f932(0x11d)]),_0x4a7d5f[_0x47f932(0x1db)]&&_0x1c7d97[_0x47f932(0x331)](_0x4a7d5f['id'],_0x4a7d5f[_0x47f932(0x1db)]),_0x4a7d5f[_0x47f932(0x233)]&&_0x1c7d97[_0x47f932(0xdd)](_0x4a7d5f['id'],_0x4a7d5f[_0x47f932(0x233)]));}for(const _0x5dc4c5 of _0xaad69){const _0x3150de=_0x11eead[_0x5dc4c5];_0x3150de&&_0x1c7d97[_0x47f932(0x252)](_0x3150de[_0x47f932(0x318)])&&(_0x1c7d97[_0x47f932(0x14f)](_0x3150de['dataFieldId'],_0x2709e7['Value'],void 0x0,_0x5dc4c5),_0x3150de[_0x47f932(0x2ac)]!==void 0x0&&_0x1c7d97[_0x47f932(0x1ec)](_0x5dc4c5,_0x3150de[_0x47f932(0x2ac)]),_0x3150de[_0x47f932(0x175)]&&_0x1c7d97[_0x47f932(0x1ea)](_0x5dc4c5,_0x3150de[_0x47f932(0x175)]),_0x3150de[_0x47f932(0x233)]&&_0x1c7d97[_0x47f932(0xdd)](_0x3150de['id'],_0x3150de['displayName']));}const _0x2644d4=_0x244ba4['valueFilter'];for(const {fieldId:_0x2e677a,filterInfo:_0x5e758a}of _0x2644d4)_0x1c7d97[_0x47f932(0x206)](_0x2e677a,_0x5e758a);}function Ki(_0x1164d2,_0x413321){const _0x4a9327=_0x4ecf17,_0x53fb3d=[];_0x413321===_0x2709e7['Row']&&_0x1164d2[_0x4a9327(0x255)](_0x2709e7[_0x4a9327(0xde)],_0x49074a=>{const _0x2df749=_0x4a9327;_0x53fb3d[_0x2df749(0x2ce)](_0x49074a[_0x2df749(0x102)]());}),_0x413321===_0x2709e7[_0x4a9327(0x266)]&&_0x1164d2['iterateFieldByArea'](_0x2709e7['Column'],_0x19cfa7=>{const _0x427610=_0x4a9327;_0x53fb3d['push'](_0x19cfa7[_0x427610(0x102)]());}),_0x413321===_0x2709e7['Filter']&&_0x1164d2[_0x4a9327(0x255)](_0x2709e7[_0x4a9327(0x10a)],_0x105468=>{_0x53fb3d['push'](_0x105468['getId']());}),_0x413321===_0x2709e7[_0x4a9327(0x1e5)]&&_0x1164d2[_0x4a9327(0x255)](_0x2709e7[_0x4a9327(0x1e5)],_0x668a87=>{const _0x5c7ad9=_0x4a9327;_0x53fb3d[_0x5c7ad9(0x2ce)](_0x668a87[_0x5c7ad9(0x102)]());}),_0x413321===void 0x0&&_0x1164d2[_0x4a9327(0x2bd)](_0x26a2ad=>{const _0x1b8cc5=_0x4a9327;_0x53fb3d['push'](_0x26a2ad[_0x1b8cc5(0x102)]());});const _0x37273c=_0x53fb3d['length'];for(let _0x2d0f15=_0x37273c-0x1;_0x2d0f15>=0x0;_0x2d0f15--)_0x1164d2['removeField'](_0x53fb3d[_0x2d0f15]);const _0x48a021=_0x1164d2[_0x4a9327(0x1ca)]();for(const _0x1397a2 in _0x48a021)_0x1164d2['removeValueFilterInfo'](_0x1397a2);}function Hi(_0x218444,_0x1a9e0e){const _0x19c899=_0x4ecf17,_0x4921b4=new Date(_0xec5043(_0x1a9e0e)),_0x21569e=new Date(_0xec5043(_0x218444)),_0x34c312=_0x4921b4['getFullYear'](),_0x19baf4=_0x21569e[_0x19c899(0x22d)](),_0x39c183=_0x4921b4[_0x19c899(0x35a)](),_0x30b9d5=_0x21569e['getMonth'](),_0x5619d4=_0x4921b4[_0x19c899(0x320)](),_0x1b655b=_0x21569e[_0x19c899(0x320)](),_0x87ccae=_0x34c312===_0x19baf4,_0x5a2fee=_0x87ccae&&_0x39c183===_0x30b9d5;return _0x87ccae&&_0x5a2fee&&!(_0x5a2fee&&_0x5619d4===_0x1b655b)?_0x10b11c[_0x19c899(0x2a1)]:_0x87ccae&&!_0x5a2fee?_0x10b11c[_0x19c899(0x282)]:_0x10b11c[_0x19c899(0x163)];}function qo(_0x313764,_0xc398e7){const _0x1e19e7=_0x4ecf17,_0x4617cb=_0x313764['get']($)[_0x1e19e7(0x27f)]();let _0x567b0d='';switch(_0xc398e7){case _0x10b11c[_0x1e19e7(0x2a1)]:_0x567b0d=_0x4617cb['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x10b11c['YearMonth']:_0x567b0d=_0x4617cb['sheets-pivot.dateGroup.yearMonth'];break;case _0x10b11c[_0x1e19e7(0x163)]:_0x567b0d=_0x4617cb[_0x1e19e7(0x1f3)];break;case _0x10b11c['Month']:_0x567b0d=_0x4617cb[_0x1e19e7(0x11b)];break;case _0x10b11c[_0x1e19e7(0x2eb)]:_0x567b0d=_0x4617cb[_0x1e19e7(0xff)];break;case _0x10b11c[_0x1e19e7(0x100)]:_0x567b0d=_0x4617cb[_0x1e19e7(0xe9)];break;case _0x10b11c['HourMinute']:_0x567b0d=_0x4617cb[_0x1e19e7(0x32f)];break;case _0x10b11c[_0x1e19e7(0x29a)]:_0x567b0d=_0x4617cb[_0x1e19e7(0x297)];break;case _0x10b11c[_0x1e19e7(0x219)]:_0x567b0d=_0x4617cb[_0x1e19e7(0x16a)];break;case _0x10b11c[_0x1e19e7(0x2a9)]:_0x567b0d=_0x4617cb[_0x1e19e7(0x1a1)];break;case _0x10b11c[_0x1e19e7(0x185)]:_0x567b0d=_0x4617cb['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x567b0d='';break;}return _0x567b0d;}const Yo=_0x4ecf17(0x13b),Mo={};var qi=Object['getOwnPropertyDescriptor'],Yi=(_0x16f161,_0x2aa063,_0x126144,_0x147a76)=>{const _0x451a1d=_0x4ecf17;for(var _0x40e209=_0x147a76>0x1?void 0x0:_0x147a76?qi(_0x2aa063,_0x126144):_0x2aa063,_0x148277=_0x16f161[_0x451a1d(0x1b4)]-0x1,_0x1abd18;_0x148277>=0x0;_0x148277--)(_0x1abd18=_0x16f161[_0x148277])&&(_0x40e209=_0x1abd18(_0x40e209)||_0x40e209);return _0x40e209;},it=(_0x5ca2b1,_0x556449)=>(_0x1afaab,_0xc1721b)=>_0x556449(_0x1afaab,_0xc1721b,_0x5ca2b1);let ve=class extends _0xf43bf4{constructor(_0x3b2d5e,_0x53bcab,_0x39d900,_0x37283b,_0x507050){const _0x1fe4b7=_0x4ecf17;super(),E(this,'_model',new Map()),E(this,'_collectionConfigModel',new Map()),E(this,_0x1fe4b7(0x191),new Map()),E(this,_0x1fe4b7(0x2e5),new Map()),E(this,_0x1fe4b7(0x299),new _0x598d55()),E(this,_0x1fe4b7(0x1f7),new _0x598d55()),E(this,_0x1fe4b7(0x29d),this[_0x1fe4b7(0x1f7)]['asObservable']()),E(this,_0x1fe4b7(0x31a),new _0x598d55()),E(this,_0x1fe4b7(0x10d),this['_pivotConfigChange$'][_0x1fe4b7(0x296)]()),E(this,_0x1fe4b7(0x1f1),{}),E(this,_0x1fe4b7(0x17a),this[_0x1fe4b7(0x299)]['asObservable']()),(this[_0x1fe4b7(0x22f)]=_0x3b2d5e,this[_0x1fe4b7(0x275)]=_0x53bcab,this[_0x1fe4b7(0x1ac)]=_0x39d900,this['_resourceManagerService']=_0x37283b,this['_configService']=_0x507050,this[_0x1fe4b7(0x12a)](),this[_0x1fe4b7(0x330)]());const _0x3e2e20=this[_0x1fe4b7(0x325)][_0x1fe4b7(0x342)](Yo);(_0x3e2e20==null?void 0x0:_0x3e2e20[_0x1fe4b7(0x246)])===!0x0&&this['_initSnapshot']();}[_0x4ecf17(0x330)](){const _0xf614c=_0x4ecf17;this[_0xf614c(0x258)](this['_univerInstanceService'][_0xf614c(0x150)](_0x5d5a47['UNIVER_SHEET'])[_0xf614c(0x277)](_0x5afed1=>{const _0x59da62=_0xf614c;this['deleteUnitId'](_0x5afed1[_0x59da62(0x2e8)]());}));}['setPivotInitCompleted'](){const _0x412449=_0x4ecf17;this[_0x412449(0x1f7)]['next'](!0x0);}[_0x4ecf17(0x12a)](){const _0x23f05b=_0x4ecf17,_0x3d54fa=fo(this[_0x23f05b(0x22f)],Bo,'',{});this[_0x23f05b(0x1f1)]=_0x3d54fa,this[_0x23f05b(0x275)][_0x23f05b(0x19d)](uo['id'],{'textInfo':_0x3d54fa},{'onlyLocal':!0x0});}[_0x4ecf17(0x27f)](){const _0x44281a=_0x4ecf17;return this[_0x44281a(0x1f1)];}[_0x4ecf17(0x2ad)](_0x47ef8d,_0x384d6c,_0x5b7440,_0x42deb6,_0x51015d){const _0x42b2a1=_0x4ecf17;this[_0x42b2a1(0x25d)](_0x47ef8d,_0x384d6c,_0x5b7440,_0x42deb6),this[_0x42b2a1(0x2e7)](_0x47ef8d,_0x384d6c,_0x5b7440,_0x51015d);}[_0x4ecf17(0x32e)](_0x510dcb,_0x1bb986,_0x2a835b){const _0x55bb43=_0x4ecf17;var _0x43304d;const _0x449890=(_0x43304d=this[_0x55bb43(0x116)]['get'](_0x510dcb))==null?void 0x0:_0x43304d[_0x55bb43(0x181)](_0x1bb986);if(_0x449890)return _0x449890[_0x55bb43(0x181)](_0x2a835b);}['getTargetByPivotTableId'](_0x12ebf2,_0x2a31bd){const _0x1db64b=_0x4ecf17,_0x58be17=this[_0x1db64b(0x116)][_0x1db64b(0x181)](_0x12ebf2);if(_0x58be17){for(const [_0x46486c,_0x3469b1]of _0x58be17['entries']())for(const [_0xd0893e,_0xa9f040]of _0x3469b1['entries']())if(_0xd0893e===_0x2a31bd)return _0xa9f040[_0x1db64b(0x1d1)];}}['getTargetByPivotId'](_0x59e9eb,_0x4ab0b7,_0x4dc4fb){const _0x4f1083=_0x4ecf17,_0x1a4eaa=this[_0x4f1083(0x32e)](_0x59e9eb,_0x4ab0b7,_0x4dc4fb);return _0x1a4eaa==null?void 0x0:_0x1a4eaa[_0x4f1083(0x1d1)];}[_0x4ecf17(0x112)](_0x2f752d,_0x4b4cc4){const _0x391865=_0x4ecf17;var _0x3d885e;return(_0x3d885e=this['_model'][_0x391865(0x181)](_0x2f752d))==null?void 0x0:_0x3d885e[_0x391865(0x181)](_0x4b4cc4);}[_0x4ecf17(0x1f2)](_0x26b5a4,_0x291e09,_0x1a145c,_0x54a97b){const _0x14c3de=_0x4ecf17,_0x4f9247=this[_0x14c3de(0x2d0)](_0x26b5a4,_0x291e09);_0x54a97b?_0x4f9247[_0x14c3de(0x1ed)](_0x1a145c,_0x54a97b):_0x4f9247['delete'](_0x1a145c),this['_pivotConfigChange$'][_0x14c3de(0x18e)]({'unitId':_0x26b5a4,'subUnitId':_0x291e09,'pivotTableId':_0x1a145c,'pivotTableConfig':_0x54a97b});}['getCollection'](_0x1b89bb,_0x44beb7){const _0x3ec985=_0x4ecf17;var _0x1900b7;return(_0x1900b7=this[_0x3ec985(0x2d6)][_0x3ec985(0x181)](_0x1b89bb))==null?void 0x0:_0x1900b7[_0x3ec985(0x208)][_0x44beb7];}[_0x4ecf17(0x2b9)](_0x3ff30f,_0x16d0ca){const _0xe3cc14=_0x4ecf17;this[_0xe3cc14(0x2d6)][_0xe3cc14(0x1ed)](_0x3ff30f,_0x16d0ca),this[_0xe3cc14(0x299)]['next'](Math[_0xe3cc14(0x2dc)]());}[_0x4ecf17(0x2d0)](_0xedcf5e,_0x15da47){const _0x189403=_0x4ecf17;let _0xf629e5=this[_0x189403(0x116)][_0x189403(0x181)](_0xedcf5e);_0xf629e5||(_0xf629e5=new Map(),this[_0x189403(0x116)]['set'](_0xedcf5e,_0xf629e5));let _0x2ad596=_0xf629e5[_0x189403(0x181)](_0x15da47);return _0x2ad596||(_0x2ad596=new Map(),_0xf629e5['set'](_0x15da47,_0x2ad596)),_0x2ad596;}[_0x4ecf17(0x1d7)](_0x1dacfc,_0x508513){const _0x3c1299=_0x4ecf17;let _0x533c14=this[_0x3c1299(0x191)][_0x3c1299(0x181)](_0x1dacfc);_0x533c14||(_0x533c14=new Map(),this['_pivotTableRangeInfo'][_0x3c1299(0x1ed)](_0x1dacfc,_0x533c14));let _0x3b7855=_0x533c14[_0x3c1299(0x181)](_0x508513);return _0x3b7855||(_0x3b7855=new Map(),_0x533c14['set'](_0x508513,_0x3b7855)),_0x3b7855;}[_0x4ecf17(0x23f)](_0x202fb3,_0x332a58){const _0x276bb7=_0x4ecf17;let _0x2634ae=this['_pivotTableMatrixInfo'][_0x276bb7(0x181)](_0x202fb3);_0x2634ae||(_0x2634ae=new Map(),this[_0x276bb7(0x2e5)][_0x276bb7(0x1ed)](_0x202fb3,_0x2634ae));let _0x4d1c45=_0x2634ae['get'](_0x332a58);return _0x4d1c45||(_0x4d1c45=new Map(),_0x2634ae[_0x276bb7(0x1ed)](_0x332a58,_0x4d1c45)),_0x4d1c45;}[_0x4ecf17(0x2e7)](_0x13af0b,_0x403013,_0x1db906,_0xf4c462){const _0x371d2f=_0x4ecf17;var _0x2c8ee1;const _0x5df48c=this[_0x371d2f(0x1d7)](_0x13af0b,_0x403013),_0x27bde7=(_0x2c8ee1=_0x5df48c[_0x371d2f(0x181)](_0x1db906))==null?void 0x0:_0x2c8ee1[_0x371d2f(0x358)];_0x5df48c[_0x371d2f(0x1ed)](_0x1db906,{'oldRangeInfo':_0x27bde7,'rangeInfo':_0xf4c462});}[_0x4ecf17(0x25d)](_0x2f6bef,_0x226e57,_0x47f0bb,_0x2f26c5){const _0x4224f0=_0x4ecf17;var _0x43a5ec;const _0x40e356=this[_0x4224f0(0x23f)](_0x2f6bef,_0x226e57),_0x5eaca2=(_0x43a5ec=_0x40e356['get'](_0x47f0bb))==null?void 0x0:_0x43a5ec['oldMatrix'];_0x40e356[_0x4224f0(0x1ed)](_0x47f0bb,{'oldMatrix':_0x5eaca2,'matrix':_0x2f26c5});}['getPivotTableRangeInfo'](_0x293306,_0x7eaf18,_0x199156){const _0x5c3461=_0x4ecf17;var _0x191123,_0x510cad;return(_0x510cad=(_0x191123=this[_0x5c3461(0x191)][_0x5c3461(0x181)](_0x293306))==null?void 0x0:_0x191123[_0x5c3461(0x181)](_0x7eaf18))==null?void 0x0:_0x510cad[_0x5c3461(0x181)](_0x199156);}['getPivotTableMatrixInfo'](_0x47ef64,_0x338c0c,_0x23021e){const _0x332161=_0x4ecf17;var _0x5103d8,_0x3a9a2b;return(_0x3a9a2b=(_0x5103d8=this[_0x332161(0x2e5)][_0x332161(0x181)](_0x47ef64))==null?void 0x0:_0x5103d8[_0x332161(0x181)](_0x338c0c))==null?void 0x0:_0x3a9a2b['get'](_0x23021e);}['deleteUnitId'](_0x694a2b){const _0x35ea58=_0x4ecf17;this[_0x35ea58(0x116)][_0x35ea58(0x21c)](_0x694a2b),this[_0x35ea58(0x2d6)][_0x35ea58(0x21c)](_0x694a2b);}[_0x4ecf17(0x350)](_0x3a3d4a){const _0x3c9c71=_0x4ecf17,_0x5b8820={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3c9c71(0x2d6)][_0x3c9c71(0x181)](_0x3a3d4a)&&(_0x5b8820[_0x3c9c71(0x138)][_0x3a3d4a]=this[_0x3c9c71(0x2d6)][_0x3c9c71(0x181)](_0x3a3d4a)),this[_0x3c9c71(0x116)][_0x3c9c71(0x181)](_0x3a3d4a)){_0x5b8820['pivotTableConfigs'][_0x3a3d4a]={};const _0x54fde6=this['_model']['get'](_0x3a3d4a);_0x54fde6!=null&&_0x54fde6['size']&&[..._0x54fde6['keys']()]['forEach'](_0x52d9f8=>{const _0x5c37d5=_0x3c9c71,_0x3b36b4=_0x54fde6[_0x5c37d5(0x181)](_0x52d9f8);_0x3b36b4!=null&&_0x3b36b4[_0x5c37d5(0x262)]&&(_0x5b8820['pivotTableConfigs'][_0x3a3d4a][_0x52d9f8]={},[..._0x3b36b4[_0x5c37d5(0x248)]()][_0x5c37d5(0x26a)](_0x3a8d92=>{const _0x15176f=_0x5c37d5,_0x38b4ed=_0x3b36b4[_0x15176f(0x181)](_0x3a8d92);_0x38b4ed&&(_0x5b8820[_0x15176f(0x21b)][_0x3a3d4a][_0x52d9f8][_0x3a8d92]=_0x38b4ed);}));});}return _0x5b8820;}[_0x4ecf17(0x108)](){const _0x16e707=_0x4ecf17;this[_0x16e707(0x258)](this['_resourceManagerService'][_0x16e707(0x2bb)]({'toJson':_0x22685e=>JSON[_0x16e707(0x244)](this['_toJSON'](_0x22685e)),'parseJson':_0x42ebbb=>({}),'businesses':[_0x5d5a47[_0x16e707(0x2b0)]],'pluginName':ao,'onLoad':(_0x538bc0,_0x1ba8a2)=>{},'onUnLoad':_0x2e1856=>{const _0x4fdee1=_0x16e707;this[_0x4fdee1(0x2ca)](_0x2e1856);}}));}};function _0x4b80(){const _0x4bac2f=['getDataFieldByTableId','getUpdateRangeDeleteIds','sheets-pivot.emptyPivot.column','SetCollapse','_queryingMap','pluginName','targetCellInfo','UpdateSource','sheet.mutation.set-pivot-format','tuple','isEmpty','sheet.command.pivot-drill-down','_ensurePivotTableRangeInfo','_sheetsPivotDataSourceModel','updatePivotSource','sheet.mutation.set-pivot-collapse','filterInfo','_markDirty$','_initRegisterCommand','removePivotTable','existing','sheets-pivot.value','#f4f4f5','getSheets','sheet.command.update-date-group','prototype','Value','sheet.mutation.set-pivot-field-subtotal-type','ptn','pivotPerformCheck','matrix','setFieldFormat','sheets-pivot.averageName','setSubtotalType','set','getDataFieldItemInfo','1410610CwvrBq','sheets-pivot.grandTotal','_textInfo','updateConfigCache','sheets-pivot.dateGroup.year','_requestResolvers','_generateUniqueVersion','fieldsConfig','_pivotInitCompleted$','values','rangeCache','_activeDirtyManagerService','grandTotal','name','getFilterFieldIdByIndex','isColMultiMeasure','_subjectFieldsCollectionChange','getPivotTableInstance','setDataRecordCount','measure','includes','register','deepClone','setValueFilterInfo','RenameField','collections','sheet.mutation.pivot-update-field-source-info','pbt','getPivotTableIdByCell','intercept','_featureCalculationManagerService','BLANK_PLACEHOLDER','_refRangeService','from','DrillDown','clearRenderCache','toJSON','\x20-\x20','StdDevp\x20of\x20','removeValueFilterInfoByValueFieldId','addPivotTableWithConfig','shouldClear','Minute','concat','pivotTableConfigs','delete','getStyles','getSubUnitPivotMatrix','dataFieldsCollection','getGroupFieldsInfoByIds','sheet.command.set-pivot-fields-config','addExclusiveRange','queryDirtyPivotTable','cornerInfo','lastRow','getDisplayName','asyncInterceptor','handleAsyncResponse','_lifecycleService','_initGlobalComputed','interceptCommand','_exclusiveRangeService','getFullYear','range','_injector','setOptions','sheets-pivot.stdDevName','sideEffectUpdateWorkerCache','displayName','value','getFieldPositionInfoById','_sheetsPivotTableAdaptorModel','PIVOT_MUTATION_GENERATE','sheet.mutation.send-pivot-view-local','SetPivotTableConfig','addDataFieldWithoutUnitInfo','floor','getFieldFormat','sheet.command.set-pivot-filter','getTableFieldById','_ensurePivotTableMatrixInfo','onQueryEnd','sheets-pivot.cellDateGroupDisplay.yearQuarter','options','maxDate','stringify','isValue','notExecuteFormula','getRefRangeMutationsByMoveRange','keys','sheet.command.set-pivot-value-filter','removeCollections','sourceRangeInfo','_globalComputedEndHelpFunc','lastCol','viewData$','getOwnPropertyDescriptor','updateAllDisplayName','parse','getDataFieldByDataFieldId','getColumnWidth','registerCommand','iterateFieldByArea','getPivotItemRenderInfoCache','1336890eUzgfh','disposeWithMe','getViewData','hasField','toString','_subjectViewChange','updatePivotTableMatrixInfo','sheets.tabs.sheet','substring','fetchThroughAsyncInterceptors','registerDirtyService','size','deleteField','Expand','sheet.mutation.remove-pivot-field','Column','_getAutoName','sheet.mutation.pivot-update-field-position','panel','forEach','Add','sheet.mutation.update-date-group','setPivotCollapse','getMatrixFromRunTimeData','getColumnCount','GrandTotal','endCollectChangeset','refreshData','UpdateFieldPosition','max','_commandService','getDataFieldManager','subscribe','movePivotField','fontRenderExtension','COMMAND','call','setDisplayName','Sum\x20of\x20','SHEET_PIVOT_TABLE_PLUGIN','getTextInfo','updateDataFieldsCollection','_fieldsCollectionChange$','YearMonth','drillDown','Style','createDataFieldId','intersects','leftOffset','Values','SetOptions','_deletePivotTableInstanceCache','colRanges','_deleteModelCache','sheets-pivot.cellDateGroupDisplay.yearMonthDate','UpdatePivotSource','collectionConfig','reduce','#e6ebfb','_getPivotAppliedRanges','var','updateValuePosition','has','asObservable','sheets-pivot.dateGroup.hour','sheet.mutation.set-pivot-value-filter','_configVersion$','Hour','_globalSubject','getMatrix','pivotInitCompleted$','_host','sheet.command.move-pivot-field','getPivotPerformCheck','YearMonthDate','rangesInfo','_updateRenderEmptyCache','rowFields','getFieldDataType','getPivotTableModelConfig','getRangeKey','foreach','MonthDate','getCellMatrix','getFieldInfo','subtotal','updateViewInfo','getInterceptPoints','fieldsCollectionChange$','UNIVER_SHEET','forValue','getSubtotal','sheet.command.add-pivot-table','pushComputingStatusSubject','sheet.command.move-pivot-table','StdDev\x20of\x20','sheets-pivot.cellDateGroupDisplay.hour','setRangeValueRedoMutation','updateCollectionConfig','Div0','registerPluginResource','custom','iterateField','#eceeff','getSheetBySheetId','ManualFilter','getFieldIds','Product\x20of\x20','endColumn','cornerRanges','data','info','NORMAL','getSubUnitPivotRenderCache','rowInfo','deleteUnitId','prefix','15CGYhTr','adjustSheetCellData','push','return\x20','_ensurePivotMap','setPivotTable','refreshGroupField','updateRenderCache','_subjectCollectionChange','_resourceManagerService','_collectionConfigModel','interceptor','other','markDirty','getIntersects','addDirtyPivotTable','random','NUMBER','triggerDirtyFeature','rowHeaderMap','some','setValue','getFieldCountByArea','setPivotFilter','getColCount','_pivotTableMatrixInfo','getDataFieldBySourceName','updatePivotTableRangeInfo','getUnitId','Count\x20of\x20','registerRefRange','Quarter','_updatePivotTableInstanceCache','getMatrixValue','_sheetsPivotTableConfigModel','getFormatInfo','redos','message','unitId','error','slice','rangeKey','number','AddPivotTable','startColumn','addField','removeDataField','sheet.command.add-pivot-table-with-config','SetValueFilter','addPivotTable','AddPivotField','single','Varp\x20of\x20','sheets-pivot.stdDevpName','dataStream','getValueIndex','removeSourceRangeChange','sheet.mutation.remove-pivot-table','getCurrentUnitForType','textInfo','getValuePosition','version','sheet.command.update-pivot-value-position','collapseInfo','isBottomTotal','updateConfig','addRecord','getPivotTableCellData','MovePivotField','sheet.mutation.send-pivot-data-local','filter','parseInt','SetPivotFilter','Delete','colStyle','4027900DJeRHm','dataFieldId','refreshDataField','_pivotConfigChange$','getUnit','NAME','ΣValue','versions','_dataFieldManagerCollection','getDate','setPivotSort','_init','PivotMultipleValueId','iterateFieldDim','_configService','node','updateDirtyPivotTable','date','NotFunction','CELL_CONTENT','REF','_viewData','symbol','getPivotTableConfig','sheets-pivot.dateGroup.hourMinute','_initUnitDisposed','setLabelFilterInfo','removeValueFilterInfo','getRangeStartEndInfo','setRangeKeyMap','contains','_config','query','New','handleMoveRange','updateFieldSourceInfo','getAutoDisplayNameFunction','Max\x20of\x20','colHeaderMap','STRING','cellValue','getTargetByPivotId','rangeKeyMap','getConfig','sheet.command.set-pivot-field-setting','object','getValue','sheets-pivot.blank','sheets-pivot.productName','markDirty$','pivotTableId','valueIndex','UpdateValuePosition','needSameDeleteModel','sheet.mutation.send-init-pivot-text-local','_pivotTableInstanceCache','valueFilter','_toJSON','dataStyle','sheetName','updateFieldPosition','undos','sheet.command.remove-pivot-field','sheet.mutation.pivot-update-value-position','SetPivotSort','oldRangeInfo','fromJSON','getMonth','setDirty','result','renameField','Row','Column\x20','sheet.mutation.rename-pivot-field','getDirtyInfo','_sheetInterceptorService','areaInfo','setRange','reset','sheets-pivot.varName','find','updateViewData','sheets-pivot.dateGroup.date','_initConfig','_globalComputedStartHelpFunc','string','getNoUsedDataFieldIds','dimension','setTextInfo','sheets-pivot.countName','count','add','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheet.mutation.set-pivot-sort-info','remove','startCollectChangeset','map','getSheetBySheetName','colCount','update','viewUpdate$','_globalComputingSrv','initDataRanges','1yfkWsr','sheets-pivot.dateGroup.quarter','Date','registerCallbackWithEvent','getId','paths','getCellRaw','sum','width','sheets-pivot.subTotal','_initSnapshot','NotName','Filter','#FFFFFF','Subtotal','pivotConfigChange$','#b2b2b2','COLUMN','getPivotDirtyViewInfo','fieldId','getSubUnitPivotConfigs','rowCount','MUTATION','sheets-pivot.minName','_model','subUnitId','sheet.mutation.update-pivot-table-source-range','getHeaderMapItem','getRowCount','sheets-pivot.dateGroup.month','valuePosition','sortInfo','params','subTotalStyle','FORCE_STRING','_updateModelCache','getOriginFieldId','sheets-pivot.emptyPivot.filter','setName','getLastCol','setSourceName','setConfig','entries','colInfo','_initLocale','onCommandExecuted','getActiveSheet','isArray','_viewData$','charCodeAt','MAX_SAFE_INTEGER','defineProperty','_dataSyncPrimaryController','fieldIds','forRow','bind','_initPivotTextInfo','dataFields','dataFieldManagerConfig','endRow','column','sheets-pivot.config','pivotMutationGenerate','SHEET_PIVOT_IN_MAIN_THREAD','replace','removeField','stdDevp','dateType','NUM','MIN_SAFE_INTEGER','sheets-pivot.cellDateGroupDisplay.hourMinute','min','294LvxTtG','minDate','unshift','isDate','getSortInfo','sheet.operation.pivot-table-view-formula-mark-dirty','removePivotField','getFormat','sheet.mutation.get-pivot-data-local','addFieldWithSourceId','getTypeOfUnitDisposed$','sheet.mutation.set-pivot-position','getDataFieldId','_initCommandInterceptListener','_initRemoveSheetCommandInterceptor','Month','setPivotSetting','generateMutationsByRanges','Panel','getAutoFitColumnsMutations','leafStyle','formJSON','sheets-pivot.varpName','Existing','dispose','_localeService','getRangeKeyList','generateNewSheetName','disposableCollection','Year','setRangeValueUndoMutation','getSourceName','registerSyncingMutations','getDataFieldByRangeKey','type','updateRangeKeyMap','sheets-pivot.dateGroup.minute','originTargetInfo','setPivotTableConfig','sheets-pivot.maxName','getName','addCollection','blank','startRow','body','Grand\x20Total','isText','format','_refRangeHandle','setValuePivotFilter','deleteDataField','getLastRow','configVersion$','sheets-pivot.cellDateGroupDisplay.quarter','col','sheets-pivot.columnName','rgb(240,241,243)','addCollectionByJSON','sheets-pivot.cellDateGroupDisplay.year','get','_pivotRenderInfoCache','rowRanges','getFieldById','YearQuarter','_initDataSendListener','_ensureViewDataMap','RemovePivotField','_sheetsPivotTableService','getTextSize','updateView','workbook\x20is\x20not\x20found','columnFields','next','tableFieldId','collection','_pivotTableRangeInfo','637702ZekxsU','getCollection','level','pageRanges','product','fields','createCollectionWithDataRange','addPivotField','uniqueDataFieldName','limit\x20pivot','107496LdWPiO','executeCommand','getPivotDisplayConfig','_viewUpdate$','AddPivotTableWithConfig','sheets-pivot.dateGroup.monthDate','_onRefRangeChange','rangeType','splice','_pivotRenderValueMatrixCache','getFilterInfo','SetPivotCollapse','10732788nQfSYF','#1d32e9','DIV_BY_ZERO','row','_univerInstanceService','setSortInfo','sheets-pivot.sumName','_ensurePivotItemRenderValueMatrixCache','rowStyle','getIntersectsPivotTable','batch','_initClearSelectionCommandInterceptor','length','SetValuePivotFilter','broadcastCollectionChange','resetPivotTable','3579264fVEFMg','getformat','sheets-pivot.cellDateGroupDisplay.date','_createExclusiveRange','headerMap','realDeleteValue','_sheetsPivotRpcService','handleSourceRangeChange','Total','valueFields','_collectionChange$','getSheetId','None','getIndexesByPathStr','hasOwnProperty','pushUndoRedo','Set','RemoveField','getValueFilterInfos'];_0x4b80=function(){return _0x4bac2f;};return _0x4b80();}ve=Yi([it(0x0,_0x1878d6(_0x1b260f)),it(0x1,_0x1878d6(_0x372820)),it(0x2,_0x1878d6(_0x2e3e1a)),it(0x3,_0x1878d6(_0x2a8a14)),it(0x4,_0x1878d6(_0x24eb52))],ve);var Qi=Object[_0x4ecf17(0x24f)],Zi=(_0x531d4e,_0x3e31e7,_0x45a208,_0x4450ba)=>{const _0x1de7dc=_0x4ecf17;for(var _0x1924eb=_0x4450ba>0x1?void 0x0:_0x4450ba?Qi(_0x3e31e7,_0x45a208):_0x3e31e7,_0x3eab13=_0x531d4e[_0x1de7dc(0x1b4)]-0x1,_0xd94a62;_0x3eab13>=0x0;_0x3eab13--)(_0xd94a62=_0x531d4e[_0x3eab13])&&(_0x1924eb=_0xd94a62(_0x1924eb)||_0x1924eb);return _0x1924eb;},st=(_0x6ac539,_0x4312dd)=>(_0x17c43b,_0x4b5c3e)=>_0x4312dd(_0x17c43b,_0x4b5c3e,_0x6ac539);let Ne=class extends _0xf43bf4{constructor(_0x74598d,_0x3d6fcd,_0x17d67c,_0x3bce87,_0x1a7f0b){const _0x94c16b=_0x4ecf17;super(),E(this,'_pivotRenderInfoCache',new Map()),E(this,_0x94c16b(0x1a5),new Map()),E(this,'_markDirty$',new _0x598d55()),E(this,_0x94c16b(0x348),this['_markDirty$'][_0x94c16b(0x296)]()),E(this,_0x94c16b(0x19f),new _0x598d55()),E(this,_0x94c16b(0xfb),this[_0x94c16b(0x19f)][_0x94c16b(0x296)]()),E(this,_0x94c16b(0x1f1)),(this[_0x94c16b(0x15f)]=_0x74598d,this[_0x94c16b(0x22f)]=_0x3d6fcd,this[_0x94c16b(0x2ee)]=_0x17d67c,this[_0x94c16b(0x1ac)]=_0x3bce87,this[_0x94c16b(0x22c)]=_0x1a7f0b,this['_initLocale'](),this[_0x94c16b(0x330)]());}[_0x4ecf17(0x330)](){const _0x314d10=_0x4ecf17;this[_0x314d10(0x258)](this[_0x314d10(0x1ac)]['getTypeOfUnitDisposed$'](_0x5d5a47[_0x314d10(0x2b0)])[_0x314d10(0x277)](_0x175c7e=>{const _0x43218f=_0x314d10;this[_0x43218f(0x2ca)](_0x175c7e[_0x43218f(0x2e8)]());}));}[_0x4ecf17(0x12a)](){const _0x56bcba=_0x4ecf17;this['_textInfo']=fo(this[_0x56bcba(0x22f)],Bo,'',{});}[_0x4ecf17(0x2d3)](_0x4e209e){const _0x1f1410=_0x4ecf17,{view:_0x3faae7,unitId:_0x5b98dc,subUnitId:_0x268055,pivotTableId:_0x269308,type:_0x5e678e}=_0x4e209e,_0x5de277=this[_0x1f1410(0x2ee)]['getPivotTableConfig'](_0x5b98dc,_0x268055,_0x269308);if(!_0x3faae7||!_0x5de277||_0x5e678e===B[_0x1f1410(0x315)])return;const {pageView:_0x414d2c,cornerView:_0x1aabd9,rowView:_0x54e991,colView:_0xab7b10,dataView:_0x340ca5}=_0x3faae7,_0x5e46bf=_0x5de277[_0x1f1410(0x1d1)],_0x16b75f=_0x5de277[_0x1f1410(0x1d5)],_0x261564=this[_0x1f1410(0x1af)](_0x5b98dc,_0x268055),_0x16f7ca=this['_ensurePivotItemRenderInfoCache'](_0x5b98dc,_0x268055,_0x269308);if(_0x16b75f)return this[_0x1f1410(0x2a3)](_0x4e209e,_0x261564,_0x5e46bf,_0x16f7ca);{const _0x226153=ge(_0x5e46bf,_0x414d2c,!0x0),_0x12bf0e=_0x414d2c[_0x1f1410(0x225)]>=0x0?_0x414d2c[_0x1f1410(0x225)]+0x1:0x0,_0x5754ba=_0x1aabd9[_0x1f1410(0x11a)](),_0x28d64a=_0x1aabd9[_0x1f1410(0x2e4)](),_0x5ec1aa=_0x226153[_0x1f1410(0x1b4)]>0x0?It:0x0,_0x5876e6=ge({'row':_0x5e46bf[_0x1f1410(0x1ab)]+_0x12bf0e+_0x5ec1aa,'col':_0x5e46bf['col']},_0x1aabd9,!0x1,!0x1),_0x452cc5=ge({'row':_0x5e46bf['row']+_0x12bf0e+_0x5ec1aa+_0x5754ba,'col':_0x5e46bf[_0x1f1410(0x17c)]},_0x54e991,!0x1,!0x0),_0x24fae3=ge({'row':_0x5e46bf[_0x1f1410(0x1ab)]+_0x12bf0e+_0x5ec1aa,'col':_0x5e46bf[_0x1f1410(0x17c)]+_0x28d64a},_0xab7b10,!0x1,!0x0),_0x297b00=ge({'row':_0x5e46bf[_0x1f1410(0x1ab)]+_0x12bf0e+_0x5ec1aa+_0x5754ba,'col':_0x5e46bf[_0x1f1410(0x17c)]+_0x28d64a},_0x340ca5,!0x1,!0x1);_0x16f7ca[_0x1f1410(0x2a2)]={'rowRanges':_0x452cc5,'colRanges':_0x24fae3,'cornerRanges':_0x5876e6,'dataRanges':_0x297b00,'pageRanges':_0x226153};const _0x2b654a=yi(this[_0x1f1410(0x22f)],_0x3faae7,_0x5de277,this['_textInfo']),{valueMatrix:_0x253983,rowInfo:_0x458d6a,colInfo:_0x2c014e,cornerInfo:_0x1b0f68,rowHeaderMap:_0x260221,colHeaderMap:_0x1a24dc}=_0x2b654a;return _0x16f7ca[_0x1f1410(0xe3)]={'rowInfo':_0x458d6a,'colInfo':_0x2c014e,'cornerInfo':_0x1b0f68},_0x16f7ca[_0x1f1410(0x1bc)]={'rowHeaderMap':_0x260221,'colHeaderMap':_0x1a24dc},_0x253983['forEach']((_0x113ec6,_0x2fd69f)=>{const _0x4dedb0=_0x1f1410;Object[_0x4dedb0(0x248)](_0x2fd69f)[_0x4dedb0(0x26a)](_0x2dec97=>{const _0x24d3e4=_0x4dedb0,_0x44cefb=+_0x2dec97,_0x4c6423=_0x253983['getValue'](_0x113ec6,_0x44cefb);_0x261564[_0x24d3e4(0x2e1)](_0x113ec6,_0x44cefb,_0x4c6423);});}),this[_0x1f1410(0x19f)][_0x1f1410(0x18e)]({'unitId':_0x5b98dc,'subUnitId':_0x268055,'valueMatrix':_0x261564,'rangesCache':_0x16f7ca['rangesInfo'],'pivotTableId':_0x269308,'type':_0x4e209e[_0x1f1410(0x168)]}),this['_sheetsPivotTableConfigModel'][_0x1f1410(0x2ad)](_0x5b98dc,_0x268055,_0x269308,_0x261564,_0x16f7ca['rangesInfo']),this[_0x1f1410(0x22c)][_0x1f1410(0x222)](_0x5b98dc,_0x268055,jt,this[_0x1f1410(0x1bb)](_0x16f7ca[_0x1f1410(0x2a2)],_0x269308)),{'rangeCache':_0x16f7ca[_0x1f1410(0x2a2)],'matrix':_0x261564};}}['_updateRenderEmptyCache'](_0x54850d,_0x557390,_0x5e2d31,_0x1802d0){const _0xe32e2f=_0x4ecf17,_0x53fd1d=this[_0xe32e2f(0x15f)]['t'],{unitId:_0x2d8b08,subUnitId:_0x5a7ad8,pivotTableId:_0x15a3ee}=_0x54850d,_0x32215d={'filter':_0x53fd1d(_0xe32e2f(0x123)),'row':_0x53fd1d('sheets-pivot.emptyPivot.row'),'column':_0x53fd1d(_0xe32e2f(0x1cd)),'values':_0x53fd1d('sheets-pivot.emptyPivot.values')},{matrixCache:_0x26e7cb,rangesCache:_0x3dbcb6}=Wo(_0x32215d,_0x5e2d31);return _0x26e7cb[_0xe32e2f(0x2b1)]((_0x58d231,_0x533322,_0x234282)=>{_0x557390['setValue'](_0x58d231,_0x533322,_0x234282);}),_0x1802d0['rangesInfo']=_0x3dbcb6,this[_0xe32e2f(0x19f)][_0xe32e2f(0x18e)]({'unitId':_0x2d8b08,'subUnitId':_0x5a7ad8,'valueMatrix':_0x557390,'rangesCache':_0x3dbcb6,'pivotTableId':_0x15a3ee,'type':_0x54850d[_0xe32e2f(0x168)],'isEmpty':!0x0}),this[_0xe32e2f(0x2ee)][_0xe32e2f(0x2ad)](_0x2d8b08,_0x5a7ad8,_0x15a3ee,_0x557390,_0x3dbcb6),this[_0xe32e2f(0x22c)][_0xe32e2f(0x222)](_0x2d8b08,_0x5a7ad8,jt,this['_createExclusiveRange'](_0x3dbcb6,_0x15a3ee)),{'rangeCache':_0x1802d0[_0xe32e2f(0x2a2)],'matrix':_0x557390};}[_0x4ecf17(0x1bb)](_0x5929cb,_0x1027ea){const _0x4de03a=_0x4ecf17,_0x1f1b96=[],_0x2de49d=Bt(_0x5929cb);for(const _0x580514 of _0x2de49d)_0x1f1b96[_0x4de03a(0x2ce)]({'groupId':_0x1027ea,'range':_0x580514});return _0x1f1b96;}[_0x4ecf17(0x212)](_0x261f1b){const _0xac800f=_0x4ecf17;var _0xd27623,_0x5c5fef,_0x3245f1,_0x278e54;const {pivotTableId:_0x4dcd39,unitId:_0x3797a6,subUnitId:_0x102a77}=_0x261f1b;if(!_0x4dcd39||!_0x3797a6||!_0x102a77)return;const _0xc23417=this['_ensurePivotItemRenderValueMatrixCache'](_0x3797a6,_0x102a77),_0x2a1993=(_0x5c5fef=(_0xd27623=this[_0xac800f(0x182)]['get'](_0x3797a6))==null?void 0x0:_0xd27623['get'](_0x102a77))==null?void 0x0:_0x5c5fef[_0xac800f(0x181)](_0x4dcd39);if(_0x2a1993!=null&&_0x2a1993['rangesInfo']){for(const _0x5b71dc of Object[_0xac800f(0x248)](_0x2a1993[_0xac800f(0x2a2)]))_0x2a1993[_0xac800f(0x2a2)][_0x5b71dc][_0xac800f(0x26a)](_0x21b1ad=>{const _0x246f7c=_0xac800f;for(let _0x34e113=_0x21b1ad['startRow'];_0x34e113<=_0x21b1ad[_0x246f7c(0x139)];_0x34e113++)for(let _0x20a6e5=_0x21b1ad[_0x246f7c(0x2f8)];_0x20a6e5<=_0x21b1ad[_0x246f7c(0x2c3)];_0x20a6e5++)_0xc23417[_0x246f7c(0x1bd)](_0x34e113,_0x20a6e5);});}_0x2a1993&&((_0x278e54=(_0x3245f1=this[_0xac800f(0x182)][_0xac800f(0x181)](_0x3797a6))==null?void 0x0:_0x3245f1[_0xac800f(0x181)](_0x102a77))==null||_0x278e54[_0xac800f(0x21c)](_0x4dcd39)),this['_viewUpdate$'][_0xac800f(0x18e)]({'unitId':_0x3797a6,'subUnitId':_0x102a77,'valueMatrix':_0xc23417,'pivotTableId':_0x4dcd39,'rangesCache':void 0x0,'type':_0x261f1b[_0xac800f(0x168)]}),this[_0xac800f(0x22c)]['clearExclusiveRangesByGroupId'](_0x3797a6,_0x102a77,jt,_0x4dcd39);}['_ensurePivotItemRenderInfoCache'](_0x247d10,_0x2d1de1,_0x2209b5){const _0x3307d8=_0x4ecf17;var _0x32d1d8,_0x492586,_0x469e36,_0x10fc63,_0x58efea,_0x2097c5;return this['_pivotRenderInfoCache']['has'](_0x247d10)||this['_pivotRenderInfoCache'][_0x3307d8(0x1ed)](_0x247d10,new Map()),(_0x32d1d8=this[_0x3307d8(0x182)][_0x3307d8(0x181)](_0x247d10))!=null&&_0x32d1d8[_0x3307d8(0x295)](_0x2d1de1)||(_0x492586=this[_0x3307d8(0x182)]['get'](_0x247d10))==null||_0x492586[_0x3307d8(0x1ed)](_0x2d1de1,new Map()),(_0x10fc63=(_0x469e36=this[_0x3307d8(0x182)]['get'](_0x247d10))==null?void 0x0:_0x469e36[_0x3307d8(0x181)](_0x2d1de1))!=null&&_0x10fc63['has'](_0x2209b5)||(_0x2097c5=(_0x58efea=this['_pivotRenderInfoCache'][_0x3307d8(0x181)](_0x247d10))==null?void 0x0:_0x58efea[_0x3307d8(0x181)](_0x2d1de1))==null||_0x2097c5['set'](_0x2209b5,{}),this['_pivotRenderInfoCache'][_0x3307d8(0x181)](_0x247d10)[_0x3307d8(0x181)](_0x2d1de1)[_0x3307d8(0x181)](_0x2209b5);}[_0x4ecf17(0x1af)](_0x49e5fc,_0x2f523c){const _0x413072=_0x4ecf17;var _0x63445f,_0x185436;return this['_pivotRenderValueMatrixCache'][_0x413072(0x295)](_0x49e5fc)||this[_0x413072(0x1a5)]['set'](_0x49e5fc,new Map()),(_0x63445f=this[_0x413072(0x1a5)][_0x413072(0x181)](_0x49e5fc))!=null&&_0x63445f[_0x413072(0x295)](_0x2f523c)||(_0x185436=this['_pivotRenderValueMatrixCache']['get'](_0x49e5fc))==null||_0x185436[_0x413072(0x1ed)](_0x2f523c,new _0x440b29()),this['_pivotRenderValueMatrixCache']['get'](_0x49e5fc)[_0x413072(0x181)](_0x2f523c);}[_0x4ecf17(0x30f)](_0x58085f,_0x5b9cae,_0x4dc8e9,_0x248f6e){const _0x3fc4bc=_0x4ecf17;var _0x459635,_0x1c0258;const _0x2f8823=(_0x1c0258=(_0x459635=this[_0x3fc4bc(0x1a5)]['get'](_0x58085f))==null?void 0x0:_0x459635[_0x3fc4bc(0x181)](_0x5b9cae))==null?void 0x0:_0x1c0258['getValue'](_0x4dc8e9,_0x248f6e);if(_0x2f8823!=null)return _0x2f8823;}[_0x4ecf17(0x20b)](_0xe2b7d8,_0x3c2182,_0x490232,_0x2e118a){const _0x391a61=_0x4ecf17;var _0x43bc06;const _0x4064b4=_0x5a6119(_0x490232,_0x2e118a),_0x4e6a1d=(_0x43bc06=this[_0x391a61(0x182)][_0x391a61(0x181)](_0xe2b7d8))==null?void 0x0:_0x43bc06[_0x391a61(0x181)](_0x3c2182);return _0x4e6a1d?Array[_0x391a61(0x210)](_0x4e6a1d['keys']())[_0x391a61(0xe7)](_0x4d03b3=>{const _0x231539=_0x391a61,_0x2d9b2a=_0x4e6a1d[_0x231539(0x181)](_0x4d03b3),_0x56e464=_0x2d9b2a==null?void 0x0:_0x2d9b2a[_0x231539(0x2a2)];return _0x56e464?Object['keys'](_0x56e464)['some'](_0x43f150=>_0x56e464[_0x43f150]['some'](_0x335366=>_0x3cec3a['contains'](_0x335366,_0x4064b4))):!0x1;}):void 0x0;}[_0x4ecf17(0x1b1)](_0x4e176d,_0x185350,_0xec6e58){const _0x524dfd=_0x4ecf17;var _0x119cf3;const _0x3a528e=(_0x119cf3=this['_pivotRenderInfoCache']['get'](_0x4e176d))==null?void 0x0:_0x119cf3['get'](_0x185350),_0x3f6498=[];return _0x3a528e&&Array['from'](_0x3a528e[_0x524dfd(0x248)]())[_0x524dfd(0x26a)](_0xa6975=>{const _0x36be0a=_0x524dfd,_0x5a7e1c=_0x3a528e[_0x36be0a(0x181)](_0xa6975),_0x36241c=_0x5a7e1c==null?void 0x0:_0x5a7e1c[_0x36be0a(0x2a2)];if(_0x36241c)for(const _0x5ed47c of Object['values'](_0x36241c)){let _0x27eb06=!0x1;for(const _0x390b88 of _0x5ed47c)if(_0x3cec3a[_0x36be0a(0x286)](_0x390b88,_0xec6e58)){_0x3f6498['push'](_0xa6975),_0x27eb06=!0x0;break;}if(_0x27eb06)break;}}),_0x3f6498;}[_0x4ecf17(0x21e)](_0x542594,_0x6375b5){const _0x174aff=_0x4ecf17;var _0x5600e1,_0x1c0fc0;return(_0x1c0fc0=(_0x5600e1=this['_pivotRenderValueMatrixCache'][_0x174aff(0x181)](_0x542594))==null?void 0x0:_0x5600e1['get'](_0x6375b5))!=null?_0x1c0fc0:new _0x440b29();}[_0x4ecf17(0x2c8)](_0x4ba54d,_0x38e6c4){const _0x41c3fa=_0x4ecf17;var _0x35fd69;return(_0x35fd69=this[_0x41c3fa(0x182)]['get'](_0x4ba54d))==null?void 0x0:_0x35fd69[_0x41c3fa(0x181)](_0x38e6c4);}[_0x4ecf17(0x256)](_0x51e811,_0xf57f2c,_0x3a1541){const _0x11650e=_0x4ecf17;var _0x785d3f,_0x4ad868;return(_0x4ad868=(_0x785d3f=this[_0x11650e(0x182)][_0x11650e(0x181)](_0x51e811))==null?void 0x0:_0x785d3f[_0x11650e(0x181)](_0xf57f2c))==null?void 0x0:_0x4ad868[_0x11650e(0x181)](_0x3a1541);}[_0x4ecf17(0x2ca)](_0x49baaf){const _0x507e1b=_0x4ecf17;this[_0x507e1b(0x182)]['delete'](_0x49baaf),this[_0x507e1b(0x1a5)]['delete'](_0x49baaf);}['markDirty'](_0x3fba46,_0x4ab248){const _0x491481=_0x4ecf17;this[_0x491481(0x1dc)]['next']({'unitId':_0x3fba46,'subUnitId':_0x4ab248});}};Ne=Zi([st(0x0,_0x1878d6(_0x44162e)),st(0x1,_0x1878d6(_0x1b260f)),st(0x2,_0x1878d6(ve)),st(0x3,_0x1878d6(_0x2e3e1a)),st(0x4,_0x1878d6(_0x18211d))],Ne);var Xi=Object[_0x4ecf17(0x24f)],es=(_0x2a8d0c,_0x343678,_0x541eaf,_0x24ccc3)=>{const _0x369edc=_0x4ecf17;for(var _0x2e2f04=_0x24ccc3>0x1?void 0x0:_0x24ccc3?Xi(_0x343678,_0x541eaf):_0x343678,_0x48047c=_0x2a8d0c[_0x369edc(0x1b4)]-0x1,_0x7611cc;_0x48047c>=0x0;_0x48047c--)(_0x7611cc=_0x2a8d0c[_0x48047c])&&(_0x2e2f04=_0x7611cc(_0x2e2f04)||_0x2e2f04);return _0x2e2f04;},wo=(_0x3f09f2,_0x1373a3)=>(_0x3f2c14,_0x433df2)=>_0x1373a3(_0x3f2c14,_0x433df2,_0x3f09f2);function _0x3142(_0x43e1bb,_0x477735){const _0x4b8090=_0x4b80();return _0x3142=function(_0x3142bc,_0x578337){_0x3142bc=_0x3142bc-0xdd;let _0x48c95e=_0x4b8090[_0x3142bc];return _0x48c95e;},_0x3142(_0x43e1bb,_0x477735);}let ie=class extends _0xf43bf4{constructor(_0x35ae82,_0x165fdf){const _0x1a1345=_0x4ecf17;super(),E(this,_0x1a1345(0x227),new _0x3261c4({'PIVOT_PERFORM_CHECK':be})),E(this,'interceptor',new _0x4d122c({'PIVOT_MUTATION_GENERATE':zo})),(this[_0x1a1345(0xe2)]=_0x35ae82,this[_0x1a1345(0x236)]=_0x165fdf,this[_0x1a1345(0x322)]());}[_0x4ecf17(0x322)](){this['_initViewModelBySheetInterceptor']();}[_0x4ecf17(0x2a0)](_0x5c2ab6){const _0x4d9bb8=_0x4ecf17;return this['asyncInterceptor'][_0x4d9bb8(0x260)](be)(!0x1,_0x5c2ab6);}['_initViewModelBySheetInterceptor'](){const _0x440987=_0x4ecf17;this[_0x440987(0x258)](this['_sheetInterceptorService'][_0x440987(0x20c)](_0x1aeef4[_0x440987(0x32a)],{'priority':0xc8,'effect':_0x35fbdd[_0x440987(0x1e5)]|_0x35fbdd[_0x440987(0x284)],'handler':(_0x5548b0,_0x223fed,_0x40a2cb)=>{const _0x2c7afe=_0x440987,{row:_0x5e495b,col:_0x2523e1,unitId:_0xa6ac52,subUnitId:_0x41d1f0,workbook:_0x3dfbe3}=_0x223fed,_0x334b0b=this['_sheetsPivotTableAdaptorModel'][_0x2c7afe(0x30f)](_0xa6ac52,_0x41d1f0,_0x5e495b,_0x2523e1);if(!_0x334b0b)return _0x40a2cb(_0x5548b0);const _0x3c929c={..._0x5548b0};(_0x334b0b['v']||_0x334b0b['v']===0x0)&&(_0x3c929c['v']=_0x334b0b['v']),_0x334b0b['t']&&(_0x3c929c['t']=_0x334b0b['t']);const _0x275fa0=(typeof(_0x5548b0==null?void 0x0:_0x5548b0['s'])==_0x2c7afe(0xec)?_0x3dfbe3[_0x2c7afe(0x21d)]()[_0x2c7afe(0x181)](_0x5548b0==null?void 0x0:_0x5548b0['s']):_0x5548b0==null?void 0x0:_0x5548b0['s'])||{},_0x5317ad=_0x3dfbe3[_0x2c7afe(0x21d)]()['get'](_0x334b0b['s']),_0x36f786={..._0x5317ad,..._0x275fa0};_0x5317ad!=null&&_0x5317ad['n']&&(_0x36f786['n']=_0x5317ad['n']);const _0x3ca585=_0x3dfbe3['getStyles']()[_0x2c7afe(0x2e1)](_0x36f786);return _0x3c929c['s']=_0x3ca585,(_0x334b0b[_0x2c7afe(0x20a)]===_0x3bb476['Collapse']||_0x334b0b[_0x2c7afe(0x20a)]===_0x3bb476[_0x2c7afe(0x264)])&&(_0x3c929c[_0x2c7afe(0x279)]={},_0x3c929c['fontRenderExtension'][_0x2c7afe(0x287)]=li),_0x40a2cb(_0x3c929c);}}));}};ie=es([wo(0x0,_0x1878d6(_0x11b527)),wo(0x1,_0x1878d6(Ne))],ie);const Qo={'id':'sheet.mutation.add-group-collection','type':_0x302072['MUTATION'],'handler':(_0x69ec6b,_0x6ef14e)=>{const _0x34482c=_0x4ecf17;if(!_0x6ef14e)return!0x1;if(!!_0x69ec6b[_0x34482c(0x181)](_0x24eb52)[_0x34482c(0x342)](Y))return!0x0;const {pivotTableId:_0x3c3bfa,fieldJSON:_0x25ed24,unitId:_0xf81db3,subUnitId:_0x55110}=_0x6ef14e;let _0x52a2f0;const {dataFieldType:_0x2d1118,id:_0x2255e8,name:_0x2150cf,hexCode:_0x489238,originalFieldId:_0x5d6f37}=_0x25ed24;if(_0x2d1118===_0x413ab9['dateGroupField']&&(_0x52a2f0=new _0x10e772(_0x2255e8,_0x2150cf,_0x489238,_0x5d6f37)),!_0x52a2f0)return!0x1;const _0x2cab9f=_0x69ec6b[_0x34482c(0x181)]($),_0x58a151=_0x2cab9f[_0x34482c(0x276)](_0xf81db3),_0x42dc14=_0x58a151['getCollection'](_0x3c3bfa);_0x58a151['addDataFieldWithoutUnitInfo'](_0x52a2f0),_0x42dc14[_0x34482c(0x2f9)](_0x52a2f0['getId'](),_0x52a2f0['getName']());const _0x1b3afd=_0x42dc14[_0x34482c(0x184)](_0x52a2f0[_0x34482c(0x122)]());_0x1b3afd&&_0x52a2f0[_0x34482c(0x2d2)](_0x1b3afd);const _0x241eee=_0x2cab9f[_0x34482c(0x32e)](_0xf81db3,_0x55110,_0x3c3bfa);return _0x2cab9f['addDirtyPivotTable']({'unitId':_0xf81db3,'subUnitId':_0x55110,'token':_0x3c3bfa,'type':B[_0x34482c(0x1c8)],'pivotConfig':_0x241eee}),!0x0;}},Zo={'id':'sheet.mutation.remove-group-collection','type':_0x302072[_0x4ecf17(0x114)],'handler':(_0x2c3510,_0xcc5ec8)=>{const _0x131e8f=_0x4ecf17;if(!_0xcc5ec8)return!0x1;if(!!_0x2c3510[_0x131e8f(0x181)](_0x24eb52)['getConfig'](Y))return!0x0;const {pivotTableId:_0x453135,dataFieldId:_0x1a6cfd,unitId:_0x2cebf9,subUnitId:_0x27d5f4}=_0xcc5ec8,_0x27d648=_0x2c3510[_0x131e8f(0x181)]($),_0x16a7f0=_0x27d648[_0x131e8f(0x276)](_0x2cebf9);_0x16a7f0[_0x131e8f(0x193)](_0x453135)['deleteField'](_0x1a6cfd);let _0xc8235a=!0x0;for(const _0x226111 in _0x16a7f0[_0x131e8f(0x208)])if(_0x16a7f0[_0x131e8f(0x208)][_0x226111]['getFieldIds']()[_0x131e8f(0x203)](_0x1a6cfd)){_0xc8235a=!0x1;break;}_0xc8235a&&_0x16a7f0[_0x131e8f(0x178)](_0x1a6cfd);const _0x33f84d=_0x27d648[_0x131e8f(0x32e)](_0x2cebf9,_0x27d5f4,_0x453135);return _0x27d648[_0x131e8f(0x2db)]({'unitId':_0x2cebf9,'subUnitId':_0x27d5f4,'token':_0x453135,'type':B[_0x131e8f(0x1c8)],'pivotConfig':_0x33f84d}),!0x0;}};function Nt(_0x1f980c,_0x542d47){const _0x2e2a0f=_0x4ecf17;switch(_0x542d47){case _0x2709e7[_0x2e2a0f(0x1e5)]:return _0x1f980c[_0x2e2a0f(0x1c1)];case _0x2709e7['Filter']:return _0x1f980c['filterFields'];case _0x2709e7[_0x2e2a0f(0xde)]:return _0x1f980c[_0x2e2a0f(0x2a4)];case _0x2709e7[_0x2e2a0f(0x266)]:return _0x1f980c['columnFields'];default:return[];}}function Je(_0x11409a,_0x3cb609){const _0x21dd5b=_0x4ecf17;return _0x11409a[_0x21dd5b(0x202)][_0x3cb609]||_0x11409a['dimension'][_0x3cb609];}function ts(_0x31423,_0x18b756){const _0x2b10c7=_0x4ecf17,{area:_0x20c746,fieldJson:_0x3d3bf5,index:_0x5283cf}=_0x18b756;_0x20c746===_0x2709e7[_0x2b10c7(0x1e5)]?_0x31423[_0x2b10c7(0x202)][_0x3d3bf5['id']]=_0x3d3bf5:_0x31423[_0x2b10c7(0xee)][_0x3d3bf5['id']]=_0x3d3bf5,Nt(_0x31423,_0x20c746)[_0x2b10c7(0x1a4)](_0x5283cf,0x0,_0x3d3bf5['id']);}function os(_0x1d1f43,_0x53dacd){const _0xd86c0a=_0x4ecf17,{area:_0x1486db,fieldId:_0x588e80,index:_0x54458a}=_0x53dacd;_0x1486db===_0x2709e7[_0xd86c0a(0x1e5)]?delete _0x1d1f43[_0xd86c0a(0x202)][_0x588e80]:delete _0x1d1f43[_0xd86c0a(0xee)][_0x588e80],Nt(_0x1d1f43,_0x1486db)['splice'](_0x54458a,0x1);}function ns(_0x92ac9d,_0x5ce762){const _0x24048a=_0x4ecf17,{fieldId:_0x17e7fd,name:_0x40a523}=_0x5ce762,_0x39c914=Je(_0x92ac9d,_0x17e7fd);_0x39c914&&(_0x39c914[_0x24048a(0x233)]=_0x40a523);}function is(_0x3ad15c,_0xe280){const _0x135368=_0x4ecf17,{fieldId:_0x9d8f40,collapse:_0x2e77ca,item:_0x2da669}=_0xe280;_0x2da669!==void 0x0?(_0x3ad15c[_0x135368(0x30b)][_0x9d8f40]=_0x3ad15c[_0x135368(0x30b)][_0x9d8f40]||{},_0x3ad15c[_0x135368(0x30b)][_0x9d8f40][_0x2da669]=_0x2e77ca):_0x3ad15c['collapseInfo'][_0x9d8f40]=_0x2e77ca;}function ss(_0x13117a,_0x2787b0){const _0x504357=_0x4ecf17,{fieldId:_0x413725,format:_0x5a84e0}=_0x2787b0,_0x13b371=Je(_0x13117a,_0x413725);_0x13b371&&(_0x13b371[_0x504357(0x175)]=_0x5a84e0);}function as(_0x1e7f54,_0x8df740){const _0x24711d=_0x4ecf17,{fieldId:_0x3f64c9,filterInfo:_0x398c58}=_0x8df740,_0x225189=Je(_0x1e7f54,_0x3f64c9);_0x225189&&(_0x225189[_0x24711d(0x1db)]=_0x398c58);}function rs(_0xe43f24,_0x2b6d38){const _0x230498=_0x4ecf17,{fieldId:_0x3ee09e,filterInfo:_0x2f2547}=_0x2b6d38,_0x48d3d2=_0xe43f24[_0x230498(0x34f)]['filter'](_0x1b8b38=>_0x1b8b38[_0x230498(0x111)]!==_0x3ee09e);_0x2f2547&&_0x48d3d2[_0x230498(0x2ce)]({'fieldId':_0x3ee09e,'filterInfo':_0x2f2547}),_0xe43f24['valueFilter']=_0x48d3d2;}function ls(_0x3a6fb4,_0x3ec892){const _0x121783=_0x4ecf17,{fieldId:_0x4fdf56,subtotalType:_0x31fc63}=_0x3ec892,_0x343882=Je(_0x3a6fb4,_0x4fdf56);_0x343882&&(_0x343882[_0x121783(0x2ac)]=_0x31fc63);}function ds(_0x1ac4c5,_0x4bf821){const _0xf6a814=_0x4ecf17,{fieldId:_0xe84a36,oldArea:_0x1e7686,area:_0x2e5080,oldIndex:_0x2d057f,index:_0x5bfbb2}=_0x4bf821,_0x1119cb=_0x1e7686!==_0x2709e7[_0xf6a814(0x1e5)]&&_0x2e5080===_0x2709e7[_0xf6a814(0x1e5)],_0x103a04=_0x1e7686===_0x2709e7[_0xf6a814(0x1e5)]&&_0x2e5080!==_0x2709e7[_0xf6a814(0x1e5)];if(_0x1119cb||_0x103a04){const _0x3e5b13=Je(_0x1ac4c5,_0xe84a36);_0x3e5b13&&(_0x1119cb?(delete _0x1ac4c5['dimension'][_0xe84a36],_0x1ac4c5[_0xf6a814(0x202)][_0xe84a36]=_0x3e5b13):(delete _0x1ac4c5['measure'][_0xe84a36],_0x1ac4c5[_0xf6a814(0xee)][_0xe84a36]=_0x3e5b13));}const _0x4c640c=Nt(_0x1ac4c5,_0x1e7686),_0x43ab03=Nt(_0x1ac4c5,_0x2e5080);_0x4c640c[_0xf6a814(0x1a4)](_0x2d057f,0x1),_0x43ab03[_0xf6a814(0x1a4)](_0x5bfbb2,0x0,_0xe84a36);}function cs(_0xb88346,_0x3abd34){const _0x8a82ea=_0x4ecf17,{valuePosition:_0x55ba2a,index:_0x587529}=_0x3abd34;_0xb88346[_0x8a82ea(0x11c)]=_0x55ba2a,_0xb88346[_0x8a82ea(0x34a)]=_0x587529;}function us(_0x26207f,_0x3bd30e){const _0x2c4a76=_0x4ecf17,{tableFieldId:_0x39382b,sourceName:_0x1a5476,dataFieldId:_0x49b090}=_0x3bd30e,_0x1d0680=Je(_0x26207f,_0x39382b);_0x1d0680&&(_0x1d0680['sourceName']=_0x1a5476,_0x1d0680[_0x2c4a76(0x318)]=_0x49b090);}function fs(_0x4727a2,_0x5e763f){const {fieldId:_0x35cce2,sortInfo:_0xc16af}=_0x5e763f,_0x1fb0de=Je(_0x4727a2,_0x35cce2);_0x1fb0de&&(_0x1fb0de['sortInfo']=_0xc16af);}function gs(_0x1e9f9c,_0x497af6){const _0x162b05=_0x4ecf17,{options:_0x583c1b}=_0x497af6;_0x1e9f9c[_0x162b05(0x242)]={..._0x1e9f9c[_0x162b05(0x242)],..._0x583c1b};}const $t={'type':_0x302072[_0x4ecf17(0x114)],'id':'sheet.mutation.add-pivot-field','handler'(_0x1ae50c,_0x91601e){const _0xf90413=_0x4ecf17;if(!_0x91601e)return!0x1;if(!!_0x1ae50c['get'](_0x24eb52)[_0xf90413(0x342)](Y))return!0x0;const _0x3ca0c4=_0x1ae50c[_0xf90413(0x181)]($),{pivotTableId:_0x553bec,fieldJson:_0xb916f0,area:_0x15f9bf,index:_0x59eff5,unitId:_0x1973df,subUnitId:_0xd097c1}=_0x91601e,_0x494b10=_0x3ca0c4['getPivotTableInstance'](_0x553bec);if(!_0x494b10)return!0x1;let _0x1382cd;_0x15f9bf===_0x2709e7[_0xf90413(0x1e5)]?_0x1382cd=_0x84a627(_0xb916f0):_0x1382cd=_0x1fa783(_0xb916f0),_0x494b10[_0xf90413(0x2f9)](_0x1382cd,_0x15f9bf,_0x59eff5);const _0x3e53d1=_0x3ca0c4[_0xf90413(0x2a6)](_0x1973df,_0xd097c1,_0x553bec);ts(_0x3e53d1,_0x91601e);const _0x402746=_0x3ca0c4[_0xf90413(0x32e)](_0x1973df,_0xd097c1,_0x553bec);return _0x3ca0c4[_0xf90413(0x2db)]({'unitId':_0x1973df,'subUnitId':_0xd097c1,'token':_0x553bec,'type':B[_0xf90413(0x1c8)],'pivotConfig':_0x402746}),!0x0;}},zt={'type':_0x302072['MUTATION'],'id':_0x4ecf17(0x265),'handler'(_0x2ece21,_0x5856a4){const _0x222b99=_0x4ecf17;if(!_0x5856a4)return!0x1;if(!!_0x2ece21[_0x222b99(0x181)](_0x24eb52)[_0x222b99(0x342)](Y))return!0x0;const _0x9c65f7=_0x2ece21[_0x222b99(0x181)]($),{pivotTableId:_0x17700,fieldId:_0x50f6b6,unitId:_0x546b6c,subUnitId:_0x41a4f5}=_0x5856a4,_0x4ad04f=_0x9c65f7[_0x222b99(0x200)](_0x17700);if(!_0x4ad04f)return!0x1;_0x4ad04f['removeField'](_0x50f6b6);const _0x1585fe=_0x9c65f7[_0x222b99(0x2a6)](_0x546b6c,_0x41a4f5,_0x17700);os(_0x1585fe,_0x5856a4);const _0x4c211f=_0x9c65f7[_0x222b99(0x32e)](_0x546b6c,_0x41a4f5,_0x17700);return _0x9c65f7[_0x222b99(0x2db)]({'unitId':_0x546b6c,'subUnitId':_0x41a4f5,'token':_0x17700,'type':B[_0x222b99(0x1c8)],'pivotConfig':_0x4c211f}),!0x0;}},Jt={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0xe0),'handler'(_0x2db62f,_0x590741){const _0x5910dc=_0x4ecf17;if(!_0x590741)return!0x1;if(!!_0x2db62f[_0x5910dc(0x181)](_0x24eb52)[_0x5910dc(0x342)](Y))return!0x0;const _0x3d10a3=_0x2db62f['get']($),{unitId:_0x19c54f,subUnitId:_0x2ea0bb,pivotTableId:_0x54c29a,fieldId:_0x41c80e,name:_0x47fce2}=_0x590741,_0x486acf=_0x3d10a3[_0x5910dc(0x200)](_0x54c29a);if(!_0x486acf)return!0x1;_0x486acf[_0x5910dc(0xdd)](_0x41c80e,_0x47fce2);const _0x4a1f73=_0x3d10a3[_0x5910dc(0x2a6)](_0x19c54f,_0x2ea0bb,_0x54c29a);return ns(_0x4a1f73,_0x590741),_0x3d10a3[_0x5910dc(0x2db)]({'unitId':_0x19c54f,'subUnitId':_0x2ea0bb,'token':_0x54c29a,'type':B[_0x5910dc(0x1c8)]}),!0x0;}},Gt={'type':_0x302072['MUTATION'],'id':_0x4ecf17(0x1da),'handler'(_0xbfd823,_0x192645){const _0x1c4854=_0x4ecf17;if(!_0x192645)return!0x1;if(!!_0xbfd823[_0x1c4854(0x181)](_0x24eb52)[_0x1c4854(0x342)](Y))return!0x0;const _0x465cb6=_0xbfd823[_0x1c4854(0x181)]($),{unitId:_0x27218d,subUnitId:_0x1d2fdf,pivotTableId:_0x3494de,fieldId:_0x26c55e,collapse:_0x283bd3,item:_0x465221}=_0x192645,_0x247d65=_0x465cb6[_0x1c4854(0x200)](_0x3494de);if(!_0x247d65)return!0x1;_0x247d65['setCollapse'](_0x26c55e,_0x283bd3,_0x465221);const _0x589dc4=_0x465cb6['getPivotTableModelConfig'](_0x27218d,_0x1d2fdf,_0x3494de);return is(_0x589dc4,_0x192645),_0x465cb6[_0x1c4854(0x2db)]({'unitId':_0x27218d,'subUnitId':_0x1d2fdf,'token':_0x3494de,'type':B[_0x1c4854(0x1c8)]}),!0x0;}},Wt={'type':_0x302072['MUTATION'],'id':_0x4ecf17(0x1d3),'handler'(_0x4b11ef,_0x30d56e){const _0x2edea9=_0x4ecf17;if(!_0x30d56e)return!0x1;if(!!_0x4b11ef[_0x2edea9(0x181)](_0x24eb52)[_0x2edea9(0x342)](Y))return!0x0;const _0x343ab6=_0x4b11ef[_0x2edea9(0x181)]($),{unitId:_0x3e50bd,subUnitId:_0x5e0759,pivotTableId:_0xb9c581,fieldId:_0x20ff2c,format:_0x4b47eb}=_0x30d56e,_0x56b9ff=_0x343ab6[_0x2edea9(0x200)](_0xb9c581);if(!_0x56b9ff)return!0x1;_0x56b9ff[_0x2edea9(0x1ea)](_0x20ff2c,_0x4b47eb);const _0x3f93ca=_0x343ab6[_0x2edea9(0x2a6)](_0x3e50bd,_0x5e0759,_0xb9c581);return ss(_0x3f93ca,_0x30d56e),_0x343ab6[_0x2edea9(0x2db)]({'unitId':_0x3e50bd,'subUnitId':_0x5e0759,'token':_0xb9c581,'type':B[_0x2edea9(0x1c8)]}),!0x0;}},Kt={'type':_0x302072[_0x4ecf17(0x114)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x31a527,_0xea645f){const _0x4e1c46=_0x4ecf17;if(!_0xea645f)return!0x1;if(!!_0x31a527[_0x4e1c46(0x181)](_0x24eb52)[_0x4e1c46(0x342)](Y))return!0x0;const _0x47b53a=_0x31a527['get']($),{unitId:_0x13906e,subUnitId:_0x5ed759,pivotTableId:_0x4f9aaa,fieldId:_0x39512b,filterInfo:_0x5ab6a8}=_0xea645f,_0x110cab=_0x47b53a[_0x4e1c46(0x200)](_0x4f9aaa);if(!_0x110cab)return!0x1;_0x110cab[_0x4e1c46(0x331)](_0x39512b,_0x5ab6a8);const _0x47522b=_0x47b53a[_0x4e1c46(0x2a6)](_0x13906e,_0x5ed759,_0x4f9aaa);return as(_0x47522b,_0xea645f),_0x47b53a[_0x4e1c46(0x2db)]({'unitId':_0x13906e,'subUnitId':_0x5ed759,'token':_0x4f9aaa,'type':B[_0x4e1c46(0x1c8)]}),!0x0;}},Ht={'type':_0x302072['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x43ab51,_0x516de5){const _0x4ad4f6=_0x4ecf17;if(!_0x516de5)return!0x1;if(!!_0x43ab51['get'](_0x24eb52)[_0x4ad4f6(0x342)](Y))return!0x0;const _0x5784e4=_0x43ab51[_0x4ad4f6(0x181)]($),{unitId:_0x3ef2ab,subUnitId:_0x49487b,pivotTableId:_0x5a2e4a,options:_0x55c252}=_0x516de5,_0x14bbb2=_0x5784e4[_0x4ad4f6(0x200)](_0x5a2e4a);if(!_0x14bbb2)return!0x1;_0x14bbb2[_0x4ad4f6(0x230)](_0x55c252);const _0x3bba52=_0x5784e4[_0x4ad4f6(0x2a6)](_0x3ef2ab,_0x49487b,_0x5a2e4a);return gs(_0x3bba52,_0x516de5),_0x5784e4[_0x4ad4f6(0x2db)]({'unitId':_0x3ef2ab,'subUnitId':_0x49487b,'token':_0x5a2e4a,'type':B[_0x4ad4f6(0x1c8)]}),!0x0;}},qt={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0xf4),'handler'(_0x243972,_0x2f280d){const _0x152d3b=_0x4ecf17;if(!_0x2f280d)return!0x1;if(!!_0x243972[_0x152d3b(0x181)](_0x24eb52)[_0x152d3b(0x342)](Y))return!0x0;const _0x57cb7d=_0x243972[_0x152d3b(0x181)]($),{unitId:_0x3f61d2,subUnitId:_0x2f17ff,pivotTableId:_0x1fe815,sortInfo:_0x112471,fieldId:_0x428e86}=_0x2f280d,_0x194301=_0x57cb7d['getPivotTableInstance'](_0x1fe815);if(!_0x194301)return!0x1;_0x194301[_0x152d3b(0x1ad)](_0x428e86,_0x112471);const _0x2caa6d=_0x57cb7d[_0x152d3b(0x2a6)](_0x3f61d2,_0x2f17ff,_0x1fe815);return fs(_0x2caa6d,_0x2f280d),_0x57cb7d['addDirtyPivotTable']({'unitId':_0x3f61d2,'subUnitId':_0x2f17ff,'token':_0x1fe815,'type':B['Set']}),!0x0;}},Yt={'type':_0x302072['MUTATION'],'id':_0x4ecf17(0x1e6),'handler'(_0x18172c,_0x5f4a16){const _0xc2813f=_0x4ecf17;if(!_0x5f4a16)return!0x1;if(!!_0x18172c['get'](_0x24eb52)[_0xc2813f(0x342)](Y))return!0x0;const _0x711ab=_0x18172c[_0xc2813f(0x181)]($),{unitId:_0x48b0c9,subUnitId:_0x498e6e,pivotTableId:_0x323de2,fieldId:_0x222e62,subtotalType:_0x5ab23d}=_0x5f4a16,_0x58fcab=_0x711ab[_0xc2813f(0x200)](_0x323de2);if(!_0x58fcab)return!0x1;_0x58fcab['setSubtotalType'](_0x222e62,_0x5ab23d);const _0x1377e0=_0x711ab[_0xc2813f(0x2a6)](_0x48b0c9,_0x498e6e,_0x323de2);return ls(_0x1377e0,_0x5f4a16),_0x711ab['addDirtyPivotTable']({'unitId':_0x48b0c9,'subUnitId':_0x498e6e,'token':_0x323de2,'type':B['Set']}),!0x0;}},Qt={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x298),'handler'(_0x4b835c,_0x56730f){const _0x24fcce=_0x4ecf17;if(!_0x56730f)return!0x1;if(!!_0x4b835c[_0x24fcce(0x181)](_0x24eb52)[_0x24fcce(0x342)](Y))return!0x0;const _0x519081=_0x4b835c[_0x24fcce(0x181)]($),{unitId:_0x3be4c1,subUnitId:_0xc70372,pivotTableId:_0x3286fe,fieldId:_0x1ae47f,filterInfo:_0x1633ea}=_0x56730f,_0x481d3d=_0x519081[_0x24fcce(0x200)](_0x3286fe);if(!_0x481d3d)return!0x1;_0x481d3d['setValueFilterInfo'](_0x1ae47f,_0x1633ea);const _0x561e17=_0x519081[_0x24fcce(0x2a6)](_0x3be4c1,_0xc70372,_0x3286fe);return rs(_0x561e17,_0x56730f),_0x519081[_0x24fcce(0x2db)]({'unitId':_0x3be4c1,'subUnitId':_0xc70372,'token':_0x3286fe,'type':B['Set']}),!0x0;}},Zt={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x268),'handler'(_0x28af2f,_0x5ddac9){const _0x52cb79=_0x4ecf17;if(!_0x5ddac9)return!0x1;if(!!_0x28af2f['get'](_0x24eb52)['getConfig'](Y))return!0x0;const _0x5c71b1=_0x28af2f[_0x52cb79(0x181)]($),{unitId:_0x41ae81,subUnitId:_0x4c0f8b,pivotTableId:_0x4dc3b1,area:_0x5b0253,index:_0x5050eb,fieldId:_0x5720ae}=_0x5ddac9,_0x151f53=_0x5c71b1[_0x52cb79(0x200)](_0x4dc3b1);if(!_0x151f53)return!0x1;_0x151f53['updateFieldPosition'](_0x5720ae,_0x5b0253,_0x5050eb);const _0x480672=_0x5c71b1[_0x52cb79(0x2a6)](_0x41ae81,_0x4c0f8b,_0x4dc3b1);return ds(_0x480672,_0x5ddac9),_0x5c71b1[_0x52cb79(0x2db)]({'unitId':_0x41ae81,'subUnitId':_0x4c0f8b,'token':_0x4dc3b1,'type':B[_0x52cb79(0x1c8)]}),!0x0;}},Xt={'type':_0x302072['MUTATION'],'id':_0x4ecf17(0x209),'handler'(_0xdda250,_0x2b8be3){const _0x26f971=_0x4ecf17;if(!_0x2b8be3)return!0x1;if(!!_0xdda250[_0x26f971(0x181)](_0x24eb52)[_0x26f971(0x342)](Y))return!0x0;const _0xc5b2e0=_0xdda250[_0x26f971(0x181)]($),{unitId:_0x2a32c7,subUnitId:_0x595556,pivotTableId:_0x333ebd,sourceName:_0x497d58,dataFieldId:_0x28d886,tableFieldId:_0x566da1}=_0x2b8be3,_0x2726ba=_0xc5b2e0['getPivotTableInstance'](_0x333ebd);if(!_0x2726ba)return!0x1;_0x2726ba[_0x26f971(0x33a)](_0x566da1,_0x497d58,_0x28d886);const _0x27256d=_0xc5b2e0[_0x26f971(0x2a6)](_0x2a32c7,_0x595556,_0x333ebd);return us(_0x27256d,_0x2b8be3),_0xc5b2e0[_0x26f971(0x2db)]({'unitId':_0x2a32c7,'subUnitId':_0x595556,'token':_0x333ebd,'type':B[_0x26f971(0x1c8)]}),!0x0;}},eo={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x356),'handler'(_0x3184a7,_0xdf5c7d){const _0x456e68=_0x4ecf17;if(!_0xdf5c7d)return!0x1;if(!!_0x3184a7[_0x456e68(0x181)](_0x24eb52)['getConfig'](Y))return!0x0;const _0x41d63e=_0x3184a7[_0x456e68(0x181)]($),{unitId:_0x1c5c7b,subUnitId:_0x2f46d9,pivotTableId:_0x50e683,valuePosition:_0x37fc8f,index:_0x199a81}=_0xdf5c7d,_0x3f0f38=_0x41d63e[_0x456e68(0x200)](_0x50e683);if(!_0x3f0f38)return!0x1;_0x3f0f38[_0x456e68(0x294)](_0x37fc8f,_0x199a81);const _0x48b743=_0x41d63e[_0x456e68(0x2a6)](_0x1c5c7b,_0x2f46d9,_0x50e683);return cs(_0x48b743,_0xdf5c7d),_0x41d63e['addDirtyPivotTable']({'unitId':_0x1c5c7b,'subUnitId':_0x2f46d9,'token':_0x50e683,'type':B[_0x456e68(0x1c8)]}),!0x0;}};function me(_0x3c168e,_0x223e9c,_0x21aff1){const _0x3eb749=_0x4ecf17,{pivotTableId:_0x3226e3,unitId:_0x405710,subUnitId:_0x5d784a}=_0x223e9c,_0x5974e0=[],_0x908675=[];for(const _0x294d7b of _0x21aff1)switch(_0x294d7b[_0x3eb749(0x168)]){case _0x1cf1db['AddField']:{const {fieldJson:_0x1a1d5c,area:_0x56cff0,index:_0x5ae94b}=_0x294d7b,_0x290aa0={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldJson':_0x1a1d5c,'area':_0x56cff0,'index':_0x5ae94b},_0x132dfa={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x1a1d5c['id'],'area':_0x56cff0,'index':_0x5ae94b};_0x5974e0[_0x3eb749(0x2ce)]({'id':$t['id'],'params':_0x290aa0}),_0x908675[_0x3eb749(0x148)]({'id':zt['id'],'params':_0x132dfa});}break;case _0x1cf1db['SetSubtotalType']:{const {fieldId:_0x491d11,newSubtotalType:_0x1a9de5,oldSubtotalType:_0x1a7b79}=_0x294d7b,_0x664904={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x491d11,'subtotalType':_0x1a9de5};_0x5974e0[_0x3eb749(0x2ce)]({'id':Yt['id'],'params':_0x664904});const _0xcabaad={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x491d11,'subtotalType':_0x1a7b79};_0x908675['unshift']({'id':Yt['id'],'params':_0xcabaad});}break;case _0x1cf1db[_0x3eb749(0x1c9)]:{const {fieldId:_0x4c5e4a,fieldJson:_0xafe60a,area:_0x25e827,index:_0x3c4875}=_0x294d7b,_0x34e3f7={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x4c5e4a,'index':_0x3c4875,'area':_0x25e827};_0x5974e0['push']({'id':zt['id'],'params':_0x34e3f7});const _0x50899f={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldJson':_0xafe60a,'area':_0x25e827,'index':_0x3c4875};_0x908675[_0x3eb749(0x148)]({'id':$t['id'],'params':_0x50899f});}break;case _0x1cf1db[_0x3eb749(0x207)]:{const {fieldId:_0x5b402a,oldName:_0x49dea1,newName:_0x1e3187}=_0x294d7b,_0x51d510={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x5b402a,'name':_0x1e3187};_0x5974e0[_0x3eb749(0x2ce)]({'id':Jt['id'],'params':_0x51d510});const _0x39f0b2={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x5b402a,'name':_0x49dea1};_0x908675[_0x3eb749(0x148)]({'id':Jt['id'],'params':_0x39f0b2});}break;case _0x1cf1db['SetFilterInfo']:{const {fieldId:_0x4f00cf,oldFilterInfo:_0x1828bd,newFilterInfo:_0x5404bb}=_0x294d7b,_0x1ed5e3={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x4f00cf,'filterInfo':_0x5404bb};_0x5974e0[_0x3eb749(0x2ce)]({'id':Kt['id'],'params':_0x1ed5e3});const _0x405dd4={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x4f00cf,'filterInfo':_0x1828bd};_0x908675['unshift']({'id':Kt['id'],'params':_0x405dd4});}break;case _0x1cf1db['SetSortInfo']:{const {fieldId:_0x547de3,oldSortInfo:_0x5ad8e1,newSortInfo:_0x4eaadb}=_0x294d7b,_0x3e8525={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x547de3,'sortInfo':_0x4eaadb};_0x5974e0[_0x3eb749(0x2ce)]({'id':qt['id'],'params':_0x3e8525});const _0x128167={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x547de3,'sortInfo':_0x5ad8e1};_0x908675[_0x3eb749(0x148)]({'id':qt['id'],'params':_0x128167});}break;case _0x1cf1db[_0x3eb749(0x289)]:{const {oldOptions:_0x58e764,newOptions:_0x3469c3}=_0x294d7b,_0x59a42d={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'options':_0x3469c3};_0x5974e0[_0x3eb749(0x2ce)]({'id':Ht['id'],'params':_0x59a42d});const _0xe327ac={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'options':_0x58e764};_0x908675[_0x3eb749(0x148)]({'id':Ht['id'],'params':_0xe327ac});}break;case _0x1cf1db[_0x3eb749(0x273)]:{const {oldArea:_0x4834b2,newArea:_0x3f4397,oldIndex:_0x28e578,newIndex:_0x4d7325,fieldId:_0x12b438}=_0x294d7b,_0x20f40c={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x12b438,'area':_0x3f4397,'index':_0x4d7325,'oldArea':_0x4834b2,'oldIndex':_0x28e578};_0x5974e0[_0x3eb749(0x2ce)]({'id':Zt['id'],'params':_0x20f40c});const _0x433b56={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x12b438,'area':_0x4834b2,'index':_0x28e578,'oldArea':_0x3f4397,'oldIndex':_0x4d7325};_0x908675[_0x3eb749(0x148)]({'id':Zt['id'],'params':_0x433b56});}break;case _0x1cf1db['UpdateValuePosition']:{const {oldValuePosition:_0x3577c0,newValuePosition:_0x144a93,oldIndex:_0x6bc7cd,newIndex:_0x22836a}=_0x294d7b,_0x49d6d8={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'valuePosition':_0x144a93,'index':_0x22836a};_0x5974e0[_0x3eb749(0x2ce)]({'id':eo['id'],'params':_0x49d6d8});const _0x34a8ae={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'valuePosition':_0x3577c0,'index':_0x6bc7cd};_0x908675[_0x3eb749(0x148)]({'id':eo['id'],'params':_0x34a8ae});}break;case _0x1cf1db[_0x3eb749(0x1ce)]:{const {fieldId:_0x31e3c1,collapse:_0x2552b8,item:_0x9be51b}=_0x294d7b,_0x1165ab={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x31e3c1,'collapse':_0x2552b8,'item':_0x9be51b};_0x5974e0[_0x3eb749(0x2ce)]({'id':Gt['id'],'params':_0x1165ab});const _0x162bf5={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x31e3c1,'collapse':!_0x2552b8,'item':_0x9be51b};_0x908675[_0x3eb749(0x148)]({'id':Gt['id'],'params':_0x162bf5});}break;case _0x1cf1db['SetFieldFormat']:{const {newFormat:_0x304786,oldFormat:_0x391fba,fieldId:_0x43276f}=_0x294d7b,_0x19c8cc={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x43276f,'format':_0x304786};_0x5974e0['push']({'id':Wt['id'],'params':_0x19c8cc});const _0x17e337={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x43276f,'format':_0x391fba};_0x908675[_0x3eb749(0x148)]({'id':Wt['id'],'params':_0x17e337});}break;case _0x1cf1db[_0x3eb749(0x1d2)]:{const {tableFieldId:_0x336996,oldSourceName:_0x5b29f2,newSourceName:_0x4d5cac,oldDataFieldId:_0x13be08,newDataFieldId:_0x90382d}=_0x294d7b,_0x104225={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'tableFieldId':_0x336996,'sourceName':_0x4d5cac,'dataFieldId':_0x90382d};_0x5974e0[_0x3eb749(0x2ce)]({'id':Xt['id'],'params':_0x104225});const _0x35e7dd={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'tableFieldId':_0x336996,'sourceName':_0x5b29f2,'dataFieldId':_0x13be08};_0x908675[_0x3eb749(0x148)]({'id':Xt['id'],'params':_0x35e7dd});}break;case _0x1cf1db[_0x3eb749(0x2fc)]:{const {fieldId:_0x24634f,filterInfo:_0xd44710,oldFilterInfo:_0x34549b}=_0x294d7b,_0x5942a7={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x24634f,'filterInfo':_0xd44710};_0x5974e0[_0x3eb749(0x2ce)]({'id':Qt['id'],'params':_0x5942a7});const _0x2726d7={'unitId':_0x405710,'subUnitId':_0x5d784a,'pivotTableId':_0x3226e3,'fieldId':_0x24634f,'filterInfo':_0x34549b};_0x908675[_0x3eb749(0x148)]({'id':Qt['id'],'params':_0x2726d7});}}return{'redos':_0x5974e0,'undos':_0x908675};}function _e(_0x12a489,_0x43eb6f){const _0x1210cf=_0x4ecf17;var _0x5c0596;const _0x55a289=_0x12a489[_0x1210cf(0x181)](ie),{cellInfo:_0x5eae99,view:_0x21a481,isEmpty:_0x4904db}=_0x43eb6f;return(_0x5c0596=_0x55a289[_0x1210cf(0x2d7)]['fetchThroughInterceptors'](zo)(Po,{'cellInfo':_0x5eae99,'view':_0x21a481,'isEmpty':_0x4904db}))!=null?_0x5c0596:Po;}const hs={'type':_0x302072[_0x4ecf17(0x27a)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x3f77b1,_0x126ce1){const _0x74f905=_0x4ecf17;if(!_0x126ce1)return!0x1;const _0x2fb8b7=_0x3f77b1['get'](_0x372820),_0x268abb=_0x3f77b1['get'](Z),_0x423fe2=_0x3f77b1[_0x74f905(0x181)](_0x29a29f),{pivotTableId:_0x3c0444,dataFieldId:_0x4bf083,fieldArea:_0x1d4db2,index:_0x25bd29,unitId:_0x4499b0,subUnitId:_0x314217}=_0x126ce1,_0x400172=(await _0x268abb[_0x74f905(0x19e)]({'unitId':_0x4499b0,'subUnitId':_0x314217,'pivotTableId':_0x3c0444,'params':{'type':A[_0x74f905(0x2fe)],'addPivotField':{'dataFieldId':_0x4bf083,'fieldArea':_0x1d4db2,'index':_0x25bd29}}}))[_0x74f905(0x35c)][_0x74f905(0x199)];if(!_0x400172)return!0x1;const {view:_0x16d710,changesets:_0x4dc98b,isEmpty:_0x37a9dc,pivotTableConfig:_0x1b30de,shouldBeAddedGroupJSON:_0x3436ac}=_0x400172,_0x1f7780=_0x1b30de['targetCellInfo'],_0x3e1149=new _0x1a96b2();_0x3e1149[_0x74f905(0x15b)](_0x16d710);const _0x2c1dbf={'cellInfo':_0x1f7780,'view':_0x3e1149,'isEmpty':_0x37a9dc};if(!await _0x3f77b1['get'](ie)[_0x74f905(0x227)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2c1dbf))return!0x1;const _0x54c4b3=we(_0x3f77b1,_0x3e1149,_0x1f7780,_0x37a9dc),_0x44ee37=_e(_0x3f77b1,_0x2c1dbf),{undos:_0x6e21a,redos:_0x1a26d1}=me(_0x2fb8b7,{'pivotTableId':_0x3c0444,'unitId':_0x4499b0,'subUnitId':_0x314217},_0x4dc98b);return _0x3436ac&&(_0x1a26d1[_0x74f905(0x148)]({'id':Qo['id'],'params':{'pivotTableId':_0x3c0444,'fieldJSON':_0x3436ac,'unitId':_0x4499b0,'subUnitId':_0x314217}}),_0x6e21a[_0x74f905(0x2ce)]({'id':Zo['id'],'params':{'pivotTableId':_0x3c0444,'dataFieldId':_0x3436ac['id'],'unitId':_0x4499b0,'subUnitId':_0x314217}})),_0x1d2824([..._0x54c4b3[_0x74f905(0x2f0)],..._0x44ee37[_0x74f905(0x2f0)],..._0x1a26d1],_0x2fb8b7),_0x423fe2[_0x74f905(0x1c7)]({'unitID':_0x4499b0,'redoMutations':[..._0x54c4b3[_0x74f905(0x2f0)],..._0x44ee37[_0x74f905(0x2f0)],..._0x1a26d1],'undoMutations':[..._0x54c4b3[_0x74f905(0x354)],..._0x44ee37[_0x74f905(0x354)],..._0x6e21a]}),!0x0;}},vs=()=>typeof process<'u'&&process[_0x4ecf17(0x31e)]!=null&&process[_0x4ecf17(0x31e)][_0x4ecf17(0x326)]!=null,Ct={'type':_0x302072[_0x4ecf17(0x114)],'id':'sheet.mutation.add-pivot-table','handler'(_0x4079ee,_0xf6bf7d){const _0xc302ee=_0x4ecf17;var _0x5926c5;if(!_0xf6bf7d)return!0x1;const _0x26f490=_0x4079ee[_0xc302ee(0x181)](_0x24eb52);if(!!_0x26f490[_0xc302ee(0x342)](Y))return!0x0;const _0x3a0cd2=_0x4079ee['get'](_0x2e3e1a),_0x1411b7=_0x4079ee[_0xc302ee(0x181)]($),{pivotTableId:_0x43e5de,pivotTableConfig:_0xdd074f,collectionConfig:_0x306d95,unitId:_0x3767a9,subUnitId:_0x33724b}=_0xf6bf7d,{sourceRangeInfo:_0x1f7faa,fieldsConfig:_0x5e0185,targetCellInfo:_0x55878b}=_0xdd074f,_0x5b98de=_0x3a0cd2[_0xc302ee(0x31b)](_0x3767a9);if(!_0x5b98de||!_0x5b98de[_0xc302ee(0x2bf)](_0x33724b))return!0x1;if(!vs()){let _0x45f176=0x0;_0x5b98de[_0xc302ee(0x1e2)]()[_0xc302ee(0x26a)](_0x54749a=>{const _0x310826=_0xc302ee;var _0x5eaba0,_0x10706d;_0x45f176+=(_0x10706d=(_0x5eaba0=_0x1411b7['getSubUnitPivotConfigs'](_0x3767a9,_0x54749a[_0x310826(0x1c3)]()))==null?void 0x0:_0x5eaba0[_0x310826(0x262)])!=null?_0x10706d:0x0;});const _0x2b3eee=(_0x5926c5=_0x26f490[_0xc302ee(0x342)](_0x1fc276))!=null?_0x5926c5:{},{ls:_0x79b60a,pbk:_0x105cdc}=_0x2b3eee;if(!Ko(_0x79b60a,_0x105cdc))throw new _0x496192('limit\x20pivot');const _0x37dac3=go(so,_0x79b60a,_0x105cdc)[_0xc302ee(0xf1)];if(_0x45f176>=_0x37dac3)throw new _0x496192(_0xc302ee(0x19b));}if(!_0x306d95||!_0x5e0185)return!0x1;const {collection:_0x1be915,updateDataFieldList:_0x3a686e}=_0x1411b7[_0xc302ee(0x17f)](_0x43e5de,_0x306d95,_0x1f7faa,_0x55878b);_0x1411b7['refreshData'](_0x1be915,_0x3a686e,_0x1f7faa);const _0x4287ed=new _0x5401ef(_0x1be915,void 0x0,_0x43e5de);_0x4287ed['fromJSON'](_0x5e0185);const _0x129170=JSON[_0xc302ee(0x251)](JSON[_0xc302ee(0x244)](_0xdd074f));return _0x1411b7[_0xc302ee(0x2fd)](_0x3767a9,_0x33724b,_0x43e5de,_0x4287ed,_0x129170),_0x1411b7[_0xc302ee(0x2db)]({'unitId':_0x3767a9,'subUnitId':_0x33724b,'token':_0x43e5de,'type':B[_0xc302ee(0x26b)],'pivotConfig':_0x129170}),!0x0;}},ps={'type':_0x302072['COMMAND'],'id':_0x4ecf17(0x2fb),async 'handler'(_0x5ef3c8,_0x17b8eb){const _0x266a87=_0x4ecf17;if(!_0x17b8eb)return!0x1;const {sourceDataInfo:_0x401fa4,pivotTableConfig:_0x5ee145}=_0x17b8eb;if(!_0x401fa4||!_0x5ee145)return!0x1;const {unitId:_0x514e03,subUnitId:_0x53be59,range:_0x2e4686}=_0x401fa4,_0x5d83bf=_0x5ef3c8['get'](_0x2e3e1a),_0x3716cd=_0x5ef3c8[_0x266a87(0x181)](Z),_0x42680e=_0x5ef3c8[_0x266a87(0x181)](_0x44162e),_0x147555=_0x5ef3c8[_0x266a87(0x181)](_0x372820),_0x55bdb1=_0x5d83bf[_0x266a87(0x31b)](_0x514e03);if(!_0x55bdb1)return!0x1;const _0x7d6d1e=_0x55bdb1[_0x266a87(0x2bf)](_0x53be59);if(!_0x7d6d1e)return!0x1;const _0x4d51cf=_0x145b1f(0x8),_0x114060=_0x2e4686||{'startRow':0x0,'startColumn':0x0,'endRow':_0x7d6d1e[_0x266a87(0x11a)]()-0x1,'endColumn':_0x7d6d1e[_0x266a87(0x26f)]()-0x1};_0x114060[_0x266a87(0x1a3)]=_0x58c920[_0x266a87(0x2c7)];const _0x10c00f=(await _0x3716cd[_0x266a87(0x19e)]({'unitId':_0x514e03,'subUnitId':_0x53be59,'pivotTableId':_0x4d51cf,'params':{'type':A['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x514e03,'sheetName':_0x7d6d1e[_0x266a87(0x16e)](),'subUnitId':_0x53be59,'range':_0x114060},'pivotTableId':_0x4d51cf,'pivotTableIndexConfig':_0x5ee145}}}))[_0x266a87(0x35c)][_0x266a87(0x217)];if(!_0x10c00f)return!0x1;const {isEmpty:_0x2e9446,fieldsConfig:_0x498ae2,collectionConfig:_0x42cc5a,changesets:_0x10298c}=_0x10c00f,_0x2c13a5=_0x55bdb1[_0x266a87(0x1e2)]()[_0x266a87(0x1b4)],_0x1e976e=_0x2b1cf5({'rowCount':_0x7d6d1e[_0x266a87(0x11a)]()-0x1,'columnCount':_0x7d6d1e[_0x266a87(0x26f)]()-0x1});_0x1e976e['id']=_0x2b28fa(),_0x1e976e['name']=_0x55bdb1['generateNewSheetName'](''+_0x42680e['t'](_0x266a87(0x25e)));const _0x3273b3={'index':_0x2c13a5,'sheet':_0x1e976e,'unitId':_0x514e03},{redos:_0x16cecd}=me(_0x147555,{'pivotTableId':_0x4d51cf,'unitId':_0x514e03,'subUnitId':_0x1e976e['id']},_0x10298c),_0x20ccb2=[{'id':_0x282005['id'],'params':_0x3273b3},{'id':Ct['id'],'params':{'unitId':_0x514e03,'subUnitId':_0x1e976e['id'],'pivotTableId':_0x4d51cf,'pivotTableConfig':{'isEmpty':_0x2e9446,'fieldsConfig':_0x498ae2,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x514e03,'subUnitId':_0x1e976e['id']},'sourceRangeInfo':{'subUnitId':_0x53be59,'unitId':_0x514e03,'range':_0x114060,'sheetName':_0x7d6d1e[_0x266a87(0x16e)]()}},'collectionConfig':_0x42cc5a}},..._0x16cecd];return _0x1d2824(_0x20ccb2,_0x147555),!0x0;}},xt={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x305),'handler'(_0x5499a1,_0x19daba){const _0x3a85d1=_0x4ecf17;if(!_0x19daba)return!0x1;if(!!_0x5499a1[_0x3a85d1(0x181)](_0x24eb52)[_0x3a85d1(0x342)](Y))return!0x0;const {pivotTableId:_0x46735f,unitId:_0x5a08b8,subUnitId:_0x4e86c5}=_0x19daba,_0x1242e2=_0x5499a1[_0x3a85d1(0x181)]($);return _0x1242e2[_0x3a85d1(0x32e)](_0x5a08b8,_0x4e86c5,_0x46735f)?(_0x1242e2[_0x3a85d1(0x2db)]({'unitId':_0x5a08b8,'subUnitId':_0x4e86c5,'token':_0x46735f,'type':B[_0x3a85d1(0x315)]}),_0x1242e2['removePivotTable'](_0x5a08b8,_0x4e86c5,_0x46735f),!0x0):!0x1;}},ms={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x2b3),async 'handler'(_0x367027,_0x458a07){const _0x437fa2=_0x4ecf17;var _0x2311d1,_0x4f1e8a;const _0x5a3f68=_0x367027[_0x437fa2(0x181)](_0x372820),_0x27730c=_0x367027['get'](_0x2e3e1a),_0x2453ab=_0x367027['get'](_0x44162e),_0x40bf3b=_0x367027[_0x437fa2(0x181)](Z),_0x487bc5=_0x367027[_0x437fa2(0x181)](_0x29a29f),_0x2253e0=_0x367027[_0x437fa2(0x181)](ve),_0x5d07ef=_0x367027[_0x437fa2(0x181)](_0x24eb52);if(!_0x458a07)return!0x1;const {pivotTableConfig:_0x261785,positionType:_0x532213}=_0x458a07,{targetCellInfo:_0x1db446,sourceRangeInfo:_0x43d3bf}=_0x261785,{unitId:_0x37d3c7,subUnitId:_0x3f6ef3}=_0x1db446,_0x1ae627=_0x27730c[_0x437fa2(0x31b)](_0x37d3c7);if(!_0x1ae627)return!0x1;let _0xa376d9=0x0;_0x1ae627[_0x437fa2(0x1e2)]()[_0x437fa2(0x26a)](_0x351852=>{const _0x4aa8d8=_0x437fa2;var _0x1e77ae,_0x26ba53;_0xa376d9+=(_0x26ba53=(_0x1e77ae=_0x2253e0['getSubUnitPivotConfigs'](_0x37d3c7,_0x351852['getSheetId']()))==null?void 0x0:_0x1e77ae[_0x4aa8d8(0x262)])!=null?_0x26ba53:0x0;});const _0x5e15d3=(_0x2311d1=_0x5d07ef[_0x437fa2(0x342)](_0x1fc276))!=null?_0x2311d1:{},{ls:_0x455a9d,pbk:_0x440143}=_0x5e15d3;if(!Ko(_0x455a9d,_0x440143))return!0x1;const _0x196b62=go(so,_0x455a9d,_0x440143)[_0x437fa2(0xf1)];if(_0xa376d9>=_0x196b62)return!0x1;const _0x53d590=_0x458a07[_0x437fa2(0x349)]||_0x145b1f(0x8),_0x2e44d8=(await _0x40bf3b[_0x437fa2(0x19e)]({'unitId':_0x37d3c7,'subUnitId':_0x3f6ef3,'pivotTableId':_0x53d590,'params':{'type':A[_0x437fa2(0x2f7)],'addPivotTable':{'sourceRangeInfo':_0x43d3bf,'pivotTableId':_0x53d590}}}))[_0x437fa2(0x35c)]['addPivotTable'];if(!_0x2e44d8)return!0x1;const {view:_0xa75f5a,isEmpty:_0x4a4602,fieldsConfig:_0xf9c54,collectionConfig:_0x437759}=_0x2e44d8,_0x2b655d=[],_0x564a85=[];if(_0x532213===Lo[_0x437fa2(0x338)]){const _0x21ed7a=_0x1ae627[_0x437fa2(0x1e2)]()[_0x437fa2(0x1b4)],_0x31c9d3=_0x2b1cf5({});_0x31c9d3['id']=_0x261785['targetCellInfo'][_0x437fa2(0x117)],_0x31c9d3['name']=(_0x4f1e8a=_0x261785[_0x437fa2(0x1d1)][_0x437fa2(0x352)])!=null?_0x4f1e8a:_0x1ae627['generateNewSheetName'](''+_0x2453ab['t'](_0x437fa2(0x25e)));const _0x5d7ff4={'index':_0x21ed7a,'sheet':_0x31c9d3,'unitId':_0x37d3c7},_0x558f4c=_0x1cc422(_0x367027,_0x5d7ff4);_0x2b655d[_0x437fa2(0x2ce)]({'id':_0x1732e4['id'],'params':_0x558f4c}),_0x564a85[_0x437fa2(0x2ce)]({'id':_0x535571['id'],'params':_0x5d7ff4});}else{if(!_0x1ae627[_0x437fa2(0x2bf)](_0x3f6ef3))return!0x1;const _0x39893b=we(_0x367027,new _0x1a96b2(),_0x1db446,!0x0);_0x564a85[_0x437fa2(0x2ce)](..._0x39893b[_0x437fa2(0x2f0)]),_0x2b655d[_0x437fa2(0x2ce)](..._0x39893b['undos']);const _0x578f7f={'cellInfo':_0x1db446,'view':_0xa75f5a,'isEmpty':_0x4a4602};if(!await _0x367027[_0x437fa2(0x181)](ie)[_0x437fa2(0x227)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x578f7f))return!0x1;const _0x4d5cc5=_e(_0x367027,_0x578f7f);_0x564a85[_0x437fa2(0x2ce)](..._0x4d5cc5[_0x437fa2(0x2f0)]),_0x2b655d[_0x437fa2(0x2ce)](..._0x4d5cc5[_0x437fa2(0x354)]);}return _0x564a85[_0x437fa2(0x2ce)]({'id':Ct['id'],'params':{'unitId':_0x1db446['unitId'],'subUnitId':_0x1db446['subUnitId'],'pivotTableId':_0x53d590,'pivotTableConfig':{'targetCellInfo':_0x1db446,'sourceRangeInfo':_0x43d3bf,'fieldsConfig':_0xf9c54},'collectionConfig':_0x437759}}),_0x2b655d[_0x437fa2(0x148)]({'id':xt['id'],'params':{'unitId':_0x37d3c7,'subUnitId':_0x3f6ef3,'pivotTableId':_0x53d590}}),_0x1d2824(_0x564a85,_0x5a3f68)&&_0x487bc5[_0x437fa2(0x1c7)]({'unitID':_0x37d3c7,'undoMutations':_0x2b655d,'redoMutations':_0x564a85}),!0x0;}},Is={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x29f),async 'handler'(_0x227d7b,_0x25cdda){const _0xeb6cad=_0x4ecf17;if(!_0x25cdda)return!0x1;const _0x3918bc=_0x227d7b[_0xeb6cad(0x181)](_0x372820),_0x4f5b1a=_0x227d7b['get'](Z),_0x5dd2bf=_0x227d7b[_0xeb6cad(0x181)](_0x29a29f),{pivotTableId:_0x13d5a0,fieldId:_0x3656f0,area:_0x35ca4b,index:_0x1d73fb,unitId:_0x285694,subUnitId:_0x4922aa}=_0x25cdda,_0x3a453d=(await _0x4f5b1a[_0xeb6cad(0x19e)]({'unitId':_0x285694,'subUnitId':_0x4922aa,'pivotTableId':_0x13d5a0,'params':{'type':A[_0xeb6cad(0x310)],'movePivotField':{'fieldId':_0x3656f0,'area':_0x35ca4b,'index':_0x1d73fb}}}))[_0xeb6cad(0x35c)]['movePivotField'];if(!_0x3a453d)return!0x1;const {changesets:_0x304828,view:_0x3a09e7,isEmpty:_0x139d27,pivotTableConfig:_0x13d8f3}=_0x3a453d,_0x13e47e=_0x13d8f3[_0xeb6cad(0x1d1)],_0x572659=new _0x1a96b2();_0x572659[_0xeb6cad(0x15b)](_0x3a09e7);const _0x57b693={'cellInfo':_0x13e47e,'view':_0x572659,'isEmpty':_0x139d27};if(!await _0x227d7b['get'](ie)[_0xeb6cad(0x227)][_0xeb6cad(0x260)](be)(!0x0,_0x57b693))return!0x1;const _0x539d4f=we(_0x227d7b,_0x572659,_0x13e47e,_0x139d27),_0x588971=_e(_0x227d7b,_0x57b693),{redos:_0x4ab78d,undos:_0xb5b75a}=me(_0x3918bc,{'pivotTableId':_0x13d5a0,'unitId':_0x285694,'subUnitId':_0x4922aa},_0x304828);return _0x1d2824([..._0x539d4f[_0xeb6cad(0x2f0)],..._0x588971[_0xeb6cad(0x2f0)],..._0x4ab78d],_0x3918bc),_0x5dd2bf[_0xeb6cad(0x1c7)]({'unitID':_0x285694,'redoMutations':[..._0x539d4f['redos'],..._0x588971[_0xeb6cad(0x2f0)],..._0x4ab78d],'undoMutations':[..._0x539d4f[_0xeb6cad(0x354)],..._0x588971[_0xeb6cad(0x354)],..._0xb5b75a]}),!0x0;}},pt={'type':_0x302072['MUTATION'],'id':_0x4ecf17(0x151),'handler'(_0x38bba7,_0x327dbc){const _0x5b3c33=_0x4ecf17;if(!_0x327dbc)return!0x1;if(!!_0x38bba7[_0x5b3c33(0x181)](_0x24eb52)[_0x5b3c33(0x342)](Y))return!0x0;const {pivotTableId:_0x319cd8,targetCellPosition:_0x44cac5,unitId:_0x251b4d,subUnitId:_0x406862}=_0x327dbc,_0x1ccb78=_0x38bba7[_0x5b3c33(0x181)]($);if(!_0x1ccb78['getPivotTableInstance'](_0x327dbc[_0x5b3c33(0x349)]))return!0x1;const _0x59d81b=_0x1ccb78[_0x5b3c33(0x340)](_0x319cd8);if(!_0x59d81b)return!0x1;const _0x136441=_0x1ccb78[_0x5b3c33(0x193)](_0x59d81b['unitId'],_0x327dbc['pivotTableId']);if(!_0x136441)return!0x1;const _0x4c57b6=_0x1ccb78['getPivotTableConfig'](_0x59d81b['unitId'],_0x59d81b[_0x5b3c33(0x117)],_0x319cd8);if(!_0x4c57b6)return!0x1;const _0x1b6e82=_0x1a663c[_0x5b3c33(0x205)](_0x4c57b6);_0x1b6e82[_0x5b3c33(0x1d1)]={'unitId':_0x251b4d,'subUnitId':_0x406862,'row':_0x44cac5['row'],'col':_0x44cac5[_0x5b3c33(0x17c)]};const _0x3d6c97=_0x136441[_0x5b3c33(0x213)]();if(_0x59d81b[_0x5b3c33(0x117)]===_0x406862&&_0x59d81b[_0x5b3c33(0x2f2)]===_0x251b4d)_0x1ccb78[_0x5b3c33(0x2d1)](_0x251b4d,_0x406862,_0x319cd8,_0x1b6e82),_0x1ccb78[_0x5b3c33(0x2db)]({'unitId':_0x251b4d,'subUnitId':_0x406862,'token':_0x319cd8,'type':B[_0x5b3c33(0x1c8)]});else{_0x1ccb78['addDirtyPivotTable']({'unitId':_0x59d81b[_0x5b3c33(0x2f2)],'subUnitId':_0x59d81b[_0x5b3c33(0x117)],'token':_0x319cd8,'type':B[_0x5b3c33(0x315)]}),_0x1ccb78[_0x5b3c33(0x1de)](_0x59d81b[_0x5b3c33(0x2f2)],_0x59d81b[_0x5b3c33(0x117)],_0x319cd8);const _0x9d4443=_0x1ccb78[_0x5b3c33(0x17f)](_0x319cd8,_0x3d6c97,_0x4c57b6[_0x5b3c33(0x24b)],_0x1b6e82['targetCellInfo']),_0x435004=new _0x5401ef(_0x9d4443[_0x5b3c33(0x190)],void 0x0,_0x319cd8);_0x435004[_0x5b3c33(0x359)](_0x1b6e82[_0x5b3c33(0x1f6)]),_0x1ccb78[_0x5b3c33(0x2fd)](_0x251b4d,_0x406862,_0x319cd8,_0x435004,_0x1b6e82),_0x1ccb78[_0x5b3c33(0x2db)]({'unitId':_0x251b4d,'subUnitId':_0x406862,'token':_0x319cd8,'type':B['Add'],'pivotConfig':_0x1b6e82});}return!0x0;}},Cs={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x2b5),'handler':(_0x4d33e6,_0x3efc9c)=>{const _0x3f4cad=_0x4ecf17,_0x5d7b59=_0x4d33e6[_0x3f4cad(0x181)](_0x372820),_0x578201=_0x4d33e6['get'](_0x29a29f),_0x511696=_0x4d33e6['get'](ve),_0x5e31fa=_0x4d33e6[_0x3f4cad(0x181)](_0x2e3e1a);if(!_0x3efc9c)return!0x1;const _0x56892a=_0x7b9dcd(_0x5e31fa);if(!_0x56892a)return!0x1;const {unitId:_0x982075,subUnitId:_0x3eb3e3,workbook:_0x11e09d}=_0x56892a,_0x574c94=_0x511696['getPivotTableConfig'](_0x3efc9c['originTargetInfo'][_0x3f4cad(0x2f2)],_0x3efc9c[_0x3f4cad(0x16b)][_0x3f4cad(0x117)],_0x3efc9c['pivotTableId']);if(!_0x574c94)return!0x1;const _0xbdda13=_0x11e09d[_0x3f4cad(0x2bf)](_0x3efc9c['targetCellInfo'][_0x3f4cad(0x117)]);if(!_0xbdda13)throw new Error(_0x3f4cad(0xf3));const _0x7590e0=_0xbdda13[_0x3f4cad(0x11a)](),_0xf86e40=_0xbdda13['getColumnCount']();if(_0x3efc9c[_0x3f4cad(0x1d1)][_0x3f4cad(0x1ab)]>_0x7590e0||_0x3efc9c[_0x3f4cad(0x1d1)][_0x3f4cad(0x17c)]>_0xf86e40)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x25628f=[{'id':pt['id'],'params':{'unitId':_0x982075,'subUnitId':_0x3efc9c[_0x3f4cad(0x1d1)][_0x3f4cad(0x117)],'pivotTableId':_0x3efc9c['pivotTableId'],'targetCellPosition':{'row':_0x3efc9c[_0x3f4cad(0x1d1)][_0x3f4cad(0x1ab)],'col':_0x3efc9c['targetCellInfo']['col']}}}],_0x362c5d=[{'id':pt['id'],'params':{'unitId':_0x982075,'subUnitId':_0x3eb3e3,'pivotTableId':_0x3efc9c[_0x3f4cad(0x349)],'targetCellPosition':{'row':_0x574c94[_0x3f4cad(0x1d1)][_0x3f4cad(0x1ab)],'col':_0x574c94[_0x3f4cad(0x1d1)]['col']}}}];return _0x1d2824(_0x25628f,_0x5d7b59)&&_0x578201[_0x3f4cad(0x1c7)]({'unitID':_0x982075,'undoMutations':_0x362c5d,'redoMutations':_0x25628f}),!0x0;}},bs={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x1d6),async 'handler'(_0x22ede2,_0x5d6a49){const _0x16e673=_0x4ecf17;var _0x367f81;if(!_0x5d6a49)return!0x1;const _0x5a02f0=_0x22ede2['get'](_0x2e3e1a),_0x5d6fc2=_0x7b9dcd(_0x5a02f0);if(!_0x5d6fc2)return!0x1;const {unitId:_0x2da181,subUnitId:_0x1f5ebf,workbook:_0x338260}=_0x5d6fc2,{row:_0x3d91dc,col:_0x3b6938}=_0x5d6a49,_0x1415c6=_0x22ede2['get'](Ne),_0x2152bd=_0x1415c6[_0x16e673(0x20b)](_0x2da181,_0x1f5ebf,_0x3d91dc,_0x3b6938);if(!_0x2152bd)return!0x1;const _0x358f2c=(_0x367f81=_0x1415c6[_0x16e673(0x256)](_0x2da181,_0x1f5ebf,_0x2152bd))==null?void 0x0:_0x367f81['areaInfo'];if(!_0x358f2c)return!0x1;const _0x279558=_0x22ede2[_0x16e673(0x181)](ve)['getPivotTableConfig'](_0x2da181,_0x1f5ebf,_0x2152bd);if(!_0x279558)return!0x1;const {rowInfo:_0x2200fb,colInfo:_0x8aa24e}=_0x358f2c,_0x2bbb72=_0x2200fb[_0x3d91dc][_0x16e673(0x103)],_0x423dc2=_0x8aa24e[_0x3b6938][_0x16e673(0x103)],_0x5d20cf=_0x2200fb[_0x3d91dc][_0x16e673(0x194)],_0x3b80c5=_0x8aa24e[_0x3b6938]['level'],_0x3ff265=_0x2bbb72[_0x16e673(0x21a)](_0x423dc2),_0x2b0e90=_0x279558[_0x16e673(0x1f6)]['rowFields']['slice'](0x0,_0x5d20cf),_0x4798d7=_0x279558[_0x16e673(0x1f6)][_0x16e673(0x18d)][_0x16e673(0x2f4)](0x0,_0x3b80c5),_0x5c7765=_0x2b0e90[_0x16e673(0x21a)](_0x4798d7),_0x223ea0=_0x3ff265[_0x16e673(0xf7)]((_0x39dc24,_0x101cd4)=>[_0x39dc24,_0x5c7765[_0x101cd4]]),_0x51f270=(await _0x22ede2[_0x16e673(0x181)](Z)[_0x16e673(0x19e)]({'unitId':_0x2da181,'subUnitId':_0x1f5ebf,'pivotTableId':_0x2152bd,'params':{'type':A[_0x16e673(0x211)],'drillDown':{'tuple':_0x223ea0}}}))['result'][_0x16e673(0x283)];if(!_0x51f270)return!0x1;const {indexes:_0x359ef7,range:_0x5ea7d5,sourceUnitId:_0x19b48a,sourceSubUnitId:_0x152399,formatMap:_0x2b0f4e}=_0x51f270,{startRow:_0x4e7359,endRow:_0x2c2d07,startColumn:_0x27c2df,endColumn:_0x5a8fb6}=_0x5ea7d5,_0x4a9c9b=new _0x440b29(),_0x483d25=_0x2c2d07-_0x4e7359,_0x1b388b=_0x5a8fb6-_0x27c2df,_0x21f5d2={},_0x5c4084=_0x7b9dcd(_0x5a02f0,{'unitId':_0x19b48a,'subUnitId':_0x152399});if(!_0x5c4084)return!0x1;const _0x392524=fe[_0x16e673(0x316)],_0x3d27d1=fe[_0x16e673(0x11f)],_0x47771f=fe[_0x16e673(0x11f)],_0x3df5ab=_0x338260[_0x16e673(0x21d)]()['setValue'](_0x392524),_0x58238e=_0x338260[_0x16e673(0x21d)]()[_0x16e673(0x2e1)](_0x3d27d1),_0x556201=_0x338260[_0x16e673(0x21d)]()[_0x16e673(0x2e1)](_0x47771f),{worksheet:_0x180a82}=_0x5c4084;let _0x1b35fb=0x0;const _0x2b1fe7=0x1;_0x359ef7['forEach'](_0x5a3c0e=>{const _0x444640=_0x16e673;for(let _0x1e3eaa=0x0;_0x1e3eaa<=_0x5a8fb6-_0x27c2df;_0x1e3eaa++)_0x4a9c9b[_0x444640(0x2e1)](_0x1b35fb,_0x1e3eaa,_0x180a82[_0x444640(0x104)](_0x5a3c0e+_0x5ea7d5['startRow']+_0x2b1fe7,_0x1e3eaa));_0x1b35fb++;});for(let _0x51dc7c=_0x27c2df;_0x51dc7c<=_0x5a8fb6;_0x51dc7c++){const _0x461a33=_0x180a82[_0x16e673(0x104)](_0x4e7359,_0x51dc7c);_0x21f5d2[_0x4e7359]||(_0x21f5d2[_0x4e7359]={}),_0x21f5d2[_0x4e7359][_0x51dc7c]={..._0x461a33,'s':_0x3df5ab};}let _0x5ddac3=0x1;const _0x26847f={},_0x32cd8c={};_0x4a9c9b[_0x16e673(0x134)]((_0x3b2f2c,_0x2ccc6e)=>{const _0x21fe9d=_0x16e673;_0x2ccc6e[_0x21fe9d(0x26a)](_0x50cc4a=>{const _0x45fd6e=_0x21fe9d,_0x12d404=_0x4a9c9b[_0x45fd6e(0x345)](_0x3b2f2c,_0x50cc4a);if(_0x21f5d2[_0x5ddac3]||(_0x21f5d2[_0x5ddac3]={}),_0x21f5d2[_0x5ddac3][_0x50cc4a]={..._0x12d404,'s':_0x5ddac3%0x2===0x0?_0x556201:_0x58238e},_0x2b0f4e[_0x50cc4a]&&_0x3b2f2c>=0x0){const _0x189e37=_0x5ddac3%0x2===0x0;let _0x4a0752=_0x189e37?_0x32cd8c[_0x50cc4a]:_0x26847f[_0x50cc4a];_0x4a0752||(_0x4a0752=_0x338260['getStyles']()[_0x45fd6e(0x2e1)]({..._0x189e37?_0x47771f:_0x3d27d1,'n':{'pattern':_0x2b0f4e[_0x50cc4a]}}),_0x189e37?_0x32cd8c[_0x50cc4a]=_0x4a0752:_0x26847f[_0x50cc4a]=_0x4a0752),_0x21f5d2[_0x5ddac3][_0x50cc4a]['s']=_0x4a0752;}}),_0x5ddac3++;});const _0x2e9e46=new _0x440b29(_0x21f5d2),_0x26706e={};_0x2e9e46[_0x16e673(0x2b1)]((_0x48c384,_0x2ffa85,_0xa74469)=>{_0x26706e[_0x48c384]||(_0x26706e[_0x48c384]={}),_0x26706e[_0x48c384][_0x2ffa85]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xbba0b8=[],_0x1f0a51=[],_0x21fba3=_0x338260[_0x16e673(0x1e2)]()[_0x16e673(0x1b4)],_0x280486=_0x2b1cf5({'rowCount':Math[_0x16e673(0x274)](_0x4172b5,_0x483d25+0xa),'columnCount':Math[_0x16e673(0x274)](_0x33daf4,_0x1b388b+0x5)}),_0x2336be=_0x22ede2[_0x16e673(0x181)](_0x44162e);_0x280486['id']=_0x2b28fa(),_0x280486[_0x16e673(0x1fc)]=_0x338260[_0x16e673(0x161)](''+_0x2336be['t'](_0x16e673(0x25e)));const _0x7c7253={'index':_0x21fba3,'sheet':_0x280486,'unitId':_0x2da181},_0x37f188=_0x1cc422(_0x22ede2,_0x7c7253);_0x1f0a51['push']({'id':_0x535571['id'],'params':_0x7c7253}),_0xbba0b8[_0x16e673(0x2ce)]({'id':_0x1732e4['id'],'params':_0x37f188}),_0x1f0a51[_0x16e673(0x2ce)]({'id':_0x2691c0['id'],'params':{'unitId':_0x2da181,'subUnitId':_0x280486['id'],'cellValue':_0x21f5d2}}),_0xbba0b8['unshift']({'id':_0x2691c0['id'],'params':{'unitId':_0x2da181,'subUnitId':_0x280486['id'],'cellValue':_0x26706e}});const _0x5580b4={'startRow':0x0,'startColumn':0x0,'endRow':_0x5ddac3-0x1,'endColumn':_0x5a8fb6};_0x1f0a51['push']({'id':_0x5a7f46['id'],'params':{'unitId':_0x2da181,'subUnitId':_0x280486['id'],'range':_0x5580b4}}),_0xbba0b8[_0x16e673(0x148)]({'id':_0x3530ab['id'],'params':{'unitId':_0x2da181,'subUnitId':_0x280486['id']}});const _0x4b3085=_0x22ede2[_0x16e673(0x181)](_0x372820);return _0x1d2824(_0x1f0a51,_0x4b3085)&&_0x22ede2[_0x16e673(0x181)](_0x29a29f)['pushUndoRedo']({'unitID':_0x2da181,'undoMutations':_0xbba0b8,'redoMutations':_0x1f0a51}),!0x0;}},Ss={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x355),async 'handler'(_0x5a483c,_0x44b000){const _0xbb75f4=_0x4ecf17;if(!_0x44b000)return!0x1;const _0x57b844=_0x5a483c['get'](_0x372820),_0x5cf90c=_0x5a483c[_0xbb75f4(0x181)](Z),_0x3433e2=_0x5a483c['get'](_0x29a29f),{pivotTableId:_0x151659,fieldIds:_0x52f86c,unitId:_0x3290cc,subUnitId:_0x3fc054}=_0x44b000,_0x266153=(await _0x5cf90c[_0xbb75f4(0x19e)]({'unitId':_0x3290cc,'subUnitId':_0x3fc054,'pivotTableId':_0x151659,'params':{'type':A[_0xbb75f4(0x188)],'removePivotField':{'fieldIds':_0x52f86c}}}))[_0xbb75f4(0x35c)]['removePivotField'];if(!_0x266153)return!0x1;const {view:_0x1cebb6,changesets:_0x12a6b5,isEmpty:_0x1c1409,pivotTableConfig:_0xd53a35}=_0x266153,_0x2b567e=_0xd53a35[_0xbb75f4(0x1d1)],_0x148a7d=new _0x1a96b2();_0x148a7d['formJSON'](_0x1cebb6);const _0x56cab4={'cellInfo':_0x2b567e,'view':_0x148a7d,'isEmpty':_0x1c1409};if(!await _0x5a483c[_0xbb75f4(0x181)](ie)['asyncInterceptor'][_0xbb75f4(0x260)](be)(!0x0,_0x56cab4))return!0x1;const _0x17c46a=we(_0x5a483c,_0x148a7d,_0x2b567e,_0x1c1409),_0x4d08c2=_e(_0x5a483c,_0x56cab4),{redos:_0x328f03,undos:_0x34339c}=me(_0x57b844,{'pivotTableId':_0x151659,'unitId':_0x3290cc,'subUnitId':_0x3fc054},_0x12a6b5);return _0x1d2824([..._0x17c46a[_0xbb75f4(0x2f0)],..._0x4d08c2[_0xbb75f4(0x2f0)],..._0x328f03],_0x57b844),_0x3433e2[_0xbb75f4(0x1c7)]({'unitID':_0x3290cc,'redoMutations':[..._0x17c46a[_0xbb75f4(0x2f0)],..._0x4d08c2[_0xbb75f4(0x2f0)],..._0x328f03],'undoMutations':[..._0x17c46a[_0xbb75f4(0x354)],..._0x4d08c2[_0xbb75f4(0x354)],..._0x34339c]}),!0x0;}},Ts={'type':_0x302072[_0x4ecf17(0x27a)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x29e273,_0x2a2b11){const _0x2aeed4=_0x4ecf17;if(!_0x2a2b11)return!0x1;const _0x4fba85=_0x29e273[_0x2aeed4(0x181)](_0x372820),_0xc7b2bc=_0x29e273[_0x2aeed4(0x181)](_0x29a29f),_0x30b345=_0x29e273[_0x2aeed4(0x181)](Z),{resetArea:_0x5ba3a5,pivotTableId:_0x5b79c5,unitId:_0x38e167,subUnitId:_0x3fb418}=_0x2a2b11,_0x244a2c=(await _0x30b345[_0x2aeed4(0x19e)]({'unitId':_0x38e167,'subUnitId':_0x3fb418,'pivotTableId':_0x5b79c5,'params':{'type':A['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x5b79c5,'resetArea':_0x5ba3a5}}}))[_0x2aeed4(0x35c)][_0x2aeed4(0x1b7)];if(!_0x244a2c)return!0x1;const {changesets:_0x49018c}=_0x244a2c,{redos:_0x2a3a5f,undos:_0x32ce68}=me(_0x4fba85,{'pivotTableId':_0x5b79c5,'unitId':_0x38e167,'subUnitId':_0x3fb418},_0x49018c);return _0x1d2824(_0x2a3a5f,_0x4fba85),_0xc7b2bc[_0x2aeed4(0x1c7)]({'unitID':_0x38e167,'redoMutations':_0x2a3a5f,'undoMutations':_0x32ce68}),!0x0;}},Ps={'type':_0x302072[_0x4ecf17(0x27a)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x3a1a05,_0x5c2f72){const _0x3b4636=_0x4ecf17,_0x51974c=_0x3a1a05[_0x3b4636(0x181)](_0x372820),_0x3fb2a2=_0x3a1a05['get'](Z),_0x473566=_0x3a1a05[_0x3b4636(0x181)](Ne),_0xb9f80e=_0x3a1a05[_0x3b4636(0x181)](_0x2e3e1a),_0xa6fed7=_0x3a1a05[_0x3b4636(0x181)](_0x44162e),_0x535823=_0x3a1a05['get'](_0x29a29f);if(!_0x5c2f72)return!0x1;const {unitId:_0x13606b,subUnitId:_0x421a87,row:_0x1bbeab,col:_0x5f145f,collapse:_0x6a33cc}=_0x5c2f72,_0x30c4e9=_0xb9f80e[_0x3b4636(0x31b)](_0x13606b);if(!_0x30c4e9||!_0x30c4e9[_0x3b4636(0x2bf)](_0x421a87))return!0x1;const _0x1d1ae6=_0x473566[_0x3b4636(0x20b)](_0x13606b,_0x421a87,_0x1bbeab,_0x5f145f);if(!_0x1d1ae6)return!0x1;const _0x4ccfa7=_0x473566['getPivotItemRenderInfoCache'](_0x13606b,_0x421a87,_0x1d1ae6);if(!_0x4ccfa7)return!0x1;const _0x21c814=_0x5a6119(_0x1bbeab,_0x5f145f),{rangesInfo:_0x3c5f30,areaInfo:_0x2006c4,headerMap:_0x36dbf0}=_0x4ccfa7;if(!_0x3c5f30||!_0x2006c4||!_0x36dbf0)return!0x1;const _0x228a3f=Object[_0x3b4636(0x248)](_0x3c5f30)['find'](_0x5a1c8d=>_0x3c5f30[_0x5a1c8d][_0x3b4636(0x2e0)](_0x3594d2=>_0x3cec3a['contains'](_0x3594d2,_0x21c814)));let _0x4e7f90;_0x228a3f===_0x3b4636(0x183)?_0x4e7f90=_0x36dbf0[_0x3b4636(0x2df)][_0x5f145f]:_0x228a3f===_0x3b4636(0x28b)&&(_0x4e7f90=_0x36dbf0['colHeaderMap'][_0x1bbeab]);const _0x39e308=_0x4e7f90==null?void 0x0:_0x4e7f90[_0x3b4636(0x18f)],_0x3fd970=_0x473566[_0x3b4636(0x30f)](_0x13606b,_0x421a87,_0x1bbeab,_0x5f145f);let _0x345f3a=_0x3fd970==null?void 0x0:_0x3fd970['v'];if(_0x345f3a===_0xa6fed7['t'](_0x3b4636(0x346))&&(_0x345f3a=_0x1fffb4[_0x3b4636(0x20e)]),_0x345f3a==null||!_0x1d1ae6||!_0x39e308)return!0x1;const _0x517296=await _0x3fb2a2[_0x3b4636(0x19e)]({'unitId':_0x13606b,'subUnitId':_0x421a87,'pivotTableId':_0x1d1ae6,'params':{'type':A[_0x3b4636(0x1a7)],'setPivotCollapse':{'tableFieldId':_0x39e308,'collapse':_0x6a33cc,'item':_0x345f3a}}}),_0x17401c=_0x517296==null?void 0x0:_0x517296[_0x3b4636(0x35c)][_0x3b4636(0x26d)];if(!_0x17401c)return!0x1;const {view:_0x81d370,pivotTableConfig:_0x3d1921,isEmpty:_0x472a10,changesets:_0x590720}=_0x17401c,_0x3e8aa8=new _0x1a96b2();_0x3e8aa8[_0x3b4636(0x15b)](_0x81d370);const _0x1889d7=_0x3d1921[_0x3b4636(0x1d1)],_0xbc377c={'cellInfo':_0x1889d7,'view':_0x3e8aa8,'isEmpty':_0x472a10};if(!await _0x3a1a05['get'](ie)[_0x3b4636(0x227)][_0x3b4636(0x260)](be)(!0x0,_0xbc377c))return!0x1;const _0x469013=we(_0x3a1a05,_0x3e8aa8,_0x1889d7,_0x472a10),_0x54b328=_e(_0x3a1a05,_0xbc377c),{redos:_0x45ed1b,undos:_0x31998d}=me(_0x51974c,{'pivotTableId':_0x1d1ae6,'unitId':_0x13606b,'subUnitId':_0x421a87},_0x590720);return _0x1d2824([..._0x469013[_0x3b4636(0x2f0)],..._0x54b328[_0x3b4636(0x2f0)],..._0x45ed1b],_0x51974c),_0x535823[_0x3b4636(0x1c7)]({'unitID':_0x13606b,'redoMutations':[..._0x469013[_0x3b4636(0x2f0)],..._0x54b328[_0x3b4636(0x2f0)],..._0x45ed1b],'undoMutations':[..._0x469013['undos'],..._0x54b328['undos'],..._0x31998d]}),!0x0;}},ys={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x221),async 'handler'(_0x10ccb2,_0xd58a29){const _0x122291=_0x4ecf17;if(!_0xd58a29)return!0x1;const _0x12bbe9=_0x10ccb2[_0x122291(0x181)](_0x372820),_0xc52c2f=_0x10ccb2[_0x122291(0x181)](_0x29a29f),_0x54673e=_0x10ccb2[_0x122291(0x181)](Z),{pivotTableConfig:_0x2e1a5e,pivotTableId:_0x4001f2,unitId:_0x21c92f,subUnitId:_0x41054c}=_0xd58a29,_0x2d2448=(await _0x54673e['getPivotDisplayConfig']({'unitId':_0x21c92f,'subUnitId':_0x41054c,'pivotTableId':_0x4001f2,'params':{'type':A[_0x122291(0x239)],'setPivotTableConfig':{'pivotTableId':_0x4001f2,'pivotTableConfig':_0x2e1a5e}}}))['result'][_0x122291(0x16c)];if(!_0x2d2448)return!0x1;const {changesets:_0x47c2cd}=_0x2d2448,{redos:_0x37dba6,undos:_0x2176ee}=me(_0x12bbe9,{'pivotTableId':_0x4001f2,'unitId':_0x21c92f,'subUnitId':_0x41054c},_0x47c2cd);return _0x1d2824(_0x37dba6,_0x12bbe9),_0xc52c2f[_0x122291(0x1c7)]({'unitID':_0x21c92f,'redoMutations':_0x37dba6,'undoMutations':_0x2176ee}),!0x0;}},Ms={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x23d),async 'handler'(_0x36a122,_0x6bc958){const _0xf7f4bf=_0x4ecf17;if(!_0x6bc958)return!0x1;const _0x587437=_0x36a122[_0xf7f4bf(0x181)](_0x372820),{pivotTableId:_0x43edcf,tableFieldId:_0x31f3dd,items:_0x3be88b,unitId:_0x4f1220,subUnitId:_0x4fd934,isAll:_0x31057d}=_0x6bc958,_0xcd879=_0x36a122[_0xf7f4bf(0x181)](Z),_0xb325ce=_0x36a122[_0xf7f4bf(0x181)](_0x29a29f),_0x1cf620=(await _0xcd879[_0xf7f4bf(0x19e)]({'unitId':_0x4f1220,'subUnitId':_0x4fd934,'pivotTableId':_0x43edcf,'params':{'type':A[_0xf7f4bf(0x314)],'setPivotFilter':{'tableFieldId':_0x31f3dd,'items':_0x3be88b,'isAll':_0x31057d}}}))[_0xf7f4bf(0x35c)]['setPivotFilter'];if(!_0x1cf620)return!0x1;const {changesets:_0x379edd,pivotTableConfig:_0x3ff017,isEmpty:_0x2bf327,view:_0x314332}=_0x1cf620,_0x131e35=_0x3ff017[_0xf7f4bf(0x1d1)],_0x453d4a=new _0x1a96b2();_0x453d4a[_0xf7f4bf(0x15b)](_0x314332);const _0x322e38={'cellInfo':_0x131e35,'view':_0x453d4a,'isEmpty':_0x2bf327};if(!await _0x36a122[_0xf7f4bf(0x181)](ie)[_0xf7f4bf(0x227)][_0xf7f4bf(0x260)](be)(!0x0,_0x322e38))return!0x1;const _0x14f0fb=we(_0x36a122,_0x453d4a,_0x131e35,_0x2bf327),_0x2392ff=_e(_0x36a122,_0x322e38),{undos:_0x3e46c2,redos:_0x3eb3c0}=me(_0x587437,{'pivotTableId':_0x43edcf,'unitId':_0x4f1220,'subUnitId':_0x4fd934},_0x379edd);return _0x1d2824([..._0x14f0fb[_0xf7f4bf(0x2f0)],..._0x2392ff['redos'],..._0x3eb3c0],_0x587437),_0xb325ce[_0xf7f4bf(0x1c7)]({'unitID':_0x4f1220,'redoMutations':[..._0x14f0fb[_0xf7f4bf(0x2f0)],..._0x2392ff['redos'],..._0x3eb3c0],'undoMutations':[..._0x14f0fb['undos'],..._0x2392ff[_0xf7f4bf(0x354)],..._0x3e46c2]}),!0x0;}},ws={'type':_0x302072[_0x4ecf17(0x27a)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x393a42,_0x3efaa0){const _0x4f6237=_0x4ecf17;if(!_0x3efaa0)return!0x1;const _0x4b8fa7=_0x393a42[_0x4f6237(0x181)](_0x372820),_0xbf6839=_0x393a42[_0x4f6237(0x181)](_0x29a29f),_0x27367d=_0x393a42[_0x4f6237(0x181)](Z),{info:_0x368e23,tableFieldId:_0x3ada71,pivotTableId:_0x170e04,unitId:_0x5a47a6,subUnitId:_0x5d82eb}=_0x3efaa0,_0x2f38d6=(await _0x27367d[_0x4f6237(0x19e)]({'unitId':_0x5a47a6,'subUnitId':_0x5d82eb,'pivotTableId':_0x170e04,'params':{'type':A[_0x4f6237(0x357)],'setPivotSort':{'tableFieldId':_0x3ada71,'info':_0x368e23}}}))['result'][_0x4f6237(0x321)];if(!_0x2f38d6)return!0x1;const {changesets:_0x30343f}=_0x2f38d6,{redos:_0x3d9b29,undos:_0x1ef72c}=me(_0x4b8fa7,{'pivotTableId':_0x170e04,'unitId':_0x5a47a6,'subUnitId':_0x5d82eb},_0x30343f);return _0x1d2824(_0x3d9b29,_0x4b8fa7),_0xbf6839[_0x4f6237(0x1c7)]({'unitID':_0x5a47a6,'redoMutations':_0x3d9b29,'undoMutations':_0x1ef72c}),!0x0;}},_s={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x249),async 'handler'(_0x170b7d,_0x450634){const _0x21fdf1=_0x4ecf17;if(!_0x450634)return!0x1;const _0x565bb9=_0x170b7d['get'](_0x372820),{pivotTableId:_0x22252e,fieldId:_0x52762d,valueFilterInfo:_0x330047,unitId:_0x3d63aa,subUnitId:_0xe837f6}=_0x450634,_0x326ae0=_0x170b7d['get'](Z),_0x14323f=_0x170b7d[_0x21fdf1(0x181)](_0x29a29f),_0xeaa781=(await _0x326ae0[_0x21fdf1(0x19e)]({'unitId':_0x3d63aa,'subUnitId':_0xe837f6,'pivotTableId':_0x22252e,'params':{'type':A[_0x21fdf1(0x1b5)],'setValuePivotFilter':{'tableFieldId':_0x52762d,'filterInfo':_0x330047}}}))['result'][_0x21fdf1(0x177)];if(!_0xeaa781)return!0x1;const {changesets:_0x1c04c0,pivotTableConfig:_0xf6e02,isEmpty:_0x2060c7,view:_0x4b7c24}=_0xeaa781,_0x3c7d9d=_0xf6e02[_0x21fdf1(0x1d1)],_0x39bae3=new _0x1a96b2();_0x39bae3[_0x21fdf1(0x15b)](_0x4b7c24);const _0xcbd440={'cellInfo':_0x3c7d9d,'view':_0x39bae3,'isEmpty':_0x2060c7};if(!await _0x170b7d[_0x21fdf1(0x181)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0xcbd440))return!0x1;const _0x263708=we(_0x170b7d,_0x39bae3,_0x3c7d9d,_0x2060c7),_0x1e356f=_e(_0x170b7d,_0xcbd440),{undos:_0x3d3207,redos:_0x48645e}=me(_0x565bb9,{'pivotTableId':_0x22252e,'unitId':_0x3d63aa,'subUnitId':_0xe837f6},_0x1c04c0);return _0x1d2824([..._0x263708[_0x21fdf1(0x2f0)],..._0x1e356f[_0x21fdf1(0x2f0)],..._0x48645e],_0x565bb9),_0x14323f[_0x21fdf1(0x1c7)]({'unitID':_0x3d63aa,'redoMutations':[..._0x263708[_0x21fdf1(0x2f0)],..._0x1e356f['redos'],..._0x48645e],'undoMutations':[..._0x263708[_0x21fdf1(0x354)],..._0x1e356f[_0x21fdf1(0x354)],..._0x3d3207]}),!0x0;}},to={'id':_0x4ecf17(0x26c),'type':_0x302072['MUTATION'],'handler':(_0x3bea87,_0x489d0d)=>{const _0x4e62ad=_0x4ecf17;if(!_0x489d0d)return!0x1;if(!!_0x3bea87[_0x4e62ad(0x181)](_0x24eb52)[_0x4e62ad(0x342)](Y))return!0x0;const {unitId:_0x102a06,subUnitId:_0xb1389e,pivotTableId:_0x4e5957,tableFieldId:_0xf661f5,dateType:_0x4a266e}=_0x489d0d,_0x2fce7c=_0x3bea87[_0x4e62ad(0x181)]($),_0x149116=_0x2fce7c[_0x4e62ad(0x200)](_0x4e5957);if(!_0x149116)return!0x1;const _0x3afe98=_0x149116[_0x4e62ad(0x1cb)](_0xf661f5);if(!_0x3afe98)return!0x1;const _0x474fab=_0x3afe98[_0x4e62ad(0x122)](),_0x13d4df=_0x149116[_0x4e62ad(0x252)](_0x474fab),_0x2af17b=(_0x13d4df==null?void 0x0:_0x13d4df[_0x4e62ad(0x16e)]())+'\x20'+qo(_0x3bea87,_0x4a266e);_0x2fce7c[_0x4e62ad(0x193)](_0x102a06,_0x4e5957)[_0x4e62ad(0x27c)](_0x3afe98['id'],_0x2af17b);const _0x4c9335=_0x149116[_0x4e62ad(0x23e)](_0xf661f5);if(!_0x4c9335)return!0x1;_0x149116[_0x4e62ad(0xdd)](_0x4c9335['getId'](),_0x2af17b),_0x3afe98['setDateType'](_0x4a266e);const _0x3c3229=_0x2fce7c[_0x4e62ad(0x32e)](_0x102a06,_0xb1389e,_0x4e5957);return _0x2fce7c[_0x4e62ad(0x2db)]({'unitId':_0x102a06,'subUnitId':_0xb1389e,'token':_0x4e5957,'type':B['Set'],'pivotConfig':_0x3c3229}),!0x0;}},Fs={'id':_0x4ecf17(0x1e3),'type':_0x302072[_0x4ecf17(0x27a)],'handler':(_0x56bc21,_0x6b94f4)=>{const _0x224273=_0x4ecf17;if(!_0x6b94f4)return!0x1;const _0x3db119=_0x56bc21[_0x224273(0x181)](_0x29a29f),{unitId:_0x2d15e9,subUnitId:_0x545be3,pivotTableId:_0x5a604e,tableFieldId:_0x38b2f6}=_0x6b94f4,_0x764fd5=[],_0x1a9c83=[],_0x4aa381=_0x56bc21['get'](ve),_0x2bda26=_0x4aa381[_0x224273(0x193)](_0x2d15e9,_0x5a604e),_0x2009f8=_0x4aa381[_0x224273(0x32e)](_0x2d15e9,_0x545be3,_0x5a604e);if(!(_0x2009f8!=null&&_0x2009f8[_0x224273(0x1f6)]['dimension']))return!0x1;const _0x17d898=Object[_0x224273(0x1f8)](_0x2009f8['fieldsConfig'][_0x224273(0xee)])[_0x224273(0xe7)](_0x420be3=>_0x420be3['id']===_0x38b2f6);if(!_0x17d898)return!0x1;const _0x517876=_0x17d898['dataFieldId'];if(!(_0x2bda26!=null&&_0x2bda26[_0x224273(0x197)]))return!0x1;const _0x4852b9=Object[_0x224273(0x1f8)](_0x2bda26==null?void 0x0:_0x2bda26[_0x224273(0x197)])['find'](_0x302dff=>_0x302dff['id']===_0x517876);if(!_0x4852b9)return!0x1;_0x1bfc80(_0x4852b9)&&_0x764fd5[_0x224273(0x2ce)]({'id':to['id'],'params':{..._0x6b94f4,'dateType':_0x4852b9[_0x224273(0x141)]}}),_0x1a9c83[_0x224273(0x2ce)]({'id':to['id'],'params':{..._0x6b94f4}});const _0x17dbe6=_0x56bc21[_0x224273(0x181)](_0x372820);return _0x1d2824(_0x1a9c83,_0x17dbe6)&&_0x3db119[_0x224273(0x1c7)]({'unitID':_0x2d15e9,'undoMutations':_0x764fd5,'redoMutations':_0x1a9c83}),!0x0;}},Rs={'type':_0x302072['COMMAND'],'id':_0x4ecf17(0x343),async 'handler'(_0x2ffa48,_0x1dddb5){const _0x47d5ed=_0x4ecf17;if(!_0x1dddb5)return!0x1;const _0x8912ef=_0x2ffa48[_0x47d5ed(0x181)](_0x372820),_0x200519=_0x2ffa48[_0x47d5ed(0x181)](_0x29a29f),_0x204dd3=_0x2ffa48[_0x47d5ed(0x181)](Z),{displayName:_0x1d5f3e,subtotalType:_0x191bf5,format:_0xe4bb37,tableFieldId:_0x5094ef,pivotTableId:_0x155122,unitId:_0x759b71,subUnitId:_0x141e6f}=_0x1dddb5,_0x5267b2=(await _0x204dd3[_0x47d5ed(0x19e)]({'unitId':_0x759b71,'subUnitId':_0x141e6f,'pivotTableId':_0x155122,'params':{'type':A['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x5094ef,'displayName':_0x1d5f3e,'subtotalType':_0x191bf5,'format':_0xe4bb37}}}))[_0x47d5ed(0x35c)][_0x47d5ed(0x156)];if(!_0x5267b2)return!0x1;const {changesets:_0x220996,view:_0x577e5a,pivotTableConfig:_0x59c705,isEmpty:_0x464b5}=_0x5267b2,_0x29b2e9=_0x59c705[_0x47d5ed(0x1d1)],_0x1cf22f=new _0x1a96b2();_0x1cf22f[_0x47d5ed(0x15b)](_0x577e5a);const _0x266ae3={'cellInfo':_0x29b2e9,'view':_0x1cf22f,'isEmpty':_0x464b5};if(!await _0x2ffa48[_0x47d5ed(0x181)](ie)['asyncInterceptor'][_0x47d5ed(0x260)](be)(!0x0,_0x266ae3))return!0x1;const _0x2b3c8a=we(_0x2ffa48,_0x1cf22f,_0x29b2e9,_0x464b5),_0x336e86=_e(_0x2ffa48,_0x266ae3),{undos:_0x46d4bc,redos:_0x1e241b}=me(_0x8912ef,{'pivotTableId':_0x155122,'unitId':_0x759b71,'subUnitId':_0x141e6f},_0x220996);return _0x1d2824([..._0x2b3c8a[_0x47d5ed(0x2f0)],..._0x336e86[_0x47d5ed(0x2f0)],..._0x1e241b],_0x8912ef),_0x200519[_0x47d5ed(0x1c7)]({'unitID':_0x759b71,'redoMutations':[..._0x2b3c8a[_0x47d5ed(0x2f0)],..._0x336e86[_0x47d5ed(0x2f0)],..._0x1e241b],'undoMutations':[..._0x2b3c8a['undos'],..._0x336e86['undos'],..._0x46d4bc]}),!0x0;}},oo={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x118),'handler'(_0x526050,_0x404802){const _0x33cd12=_0x4ecf17;if(!_0x404802)return!0x1;if(!!_0x526050['get'](_0x24eb52)[_0x33cd12(0x342)](Y))return!0x0;const _0x3eb102=_0x526050['get']($),{pivotTableId:_0x5a340d,deleteIds:_0x3abc05,collectionJSON:_0x276425,dataRangeInfo:_0x512ad2,unitId:_0x4a24d5,subUnitId:_0x256d70}=_0x404802,_0x3f068c=_0x3eb102['getPivotTableInstance'](_0x5a340d),_0x58f224=_0x3eb102[_0x33cd12(0x32e)](_0x4a24d5,_0x256d70,_0x5a340d);if(!_0x3f068c||!_0x58f224)return!0x1;const {collection:_0x49c632,updateDataFieldList:_0x25ae34}=_0x3eb102[_0x33cd12(0x17f)](_0x5a340d,_0x276425,_0x512ad2,_0x58f224['targetCellInfo']);_0x3eb102[_0x33cd12(0x272)](_0x49c632,_0x25ae34,_0x512ad2),_0x3f068c[_0x33cd12(0x280)](_0x49c632);for(const _0x3adc10 of _0x3abc05)_0x3eb102[_0x33cd12(0x2fa)](_0x512ad2[_0x33cd12(0x2f2)],_0x3adc10);const _0x546a02=_0x3eb102[_0x33cd12(0x32e)](_0x4a24d5,_0x256d70,_0x5a340d);return _0x546a02[_0x33cd12(0x24b)]=JSON['parse'](JSON[_0x33cd12(0x244)](_0x512ad2)),_0x3eb102[_0x33cd12(0x2db)]({'unitId':_0x4a24d5,'subUnitId':_0x256d70,'token':_0x5a340d,'type':B['Set']}),!0x0;}},Ds={'type':_0x302072[_0x4ecf17(0x27a)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x4a2aeb,_0xfc1676){const _0x5d313d=_0x4ecf17,_0x3644cb=_0x4a2aeb['get'](_0x372820),_0x18b697=_0x4a2aeb[_0x5d313d(0x181)](Z),_0x10b40=_0x4a2aeb[_0x5d313d(0x181)](_0x29a29f);if(!_0xfc1676)return!0x1;const {token:_0x48fe4c,dataRangeInfo:_0x19f2e3,unitId:_0x7bec2c,subUnitId:_0x344eed}=_0xfc1676,_0x3fb199=[],_0x2115a3=[],_0xac443b=(await _0x18b697[_0x5d313d(0x19e)]({'unitId':_0x7bec2c,'subUnitId':_0x344eed,'pivotTableId':_0x48fe4c,'params':{'type':A[_0x5d313d(0x28e)],'updatePivotSource':{'dataRangeInfo':_0x19f2e3,'unitId':_0x7bec2c,'subUnitId':_0x344eed}}}))[_0x5d313d(0x35c)][_0x5d313d(0x1d9)];if(!_0xac443b)return!0x1;const {changesets:_0x1e6188,deleteIds:_0xe8abbd,collectionConfig:_0xc62c0,oldCollectionConfig:_0x2ce735,view:_0x363101,isEmpty:_0x480179,pivotTableConfig:_0x522fce}=_0xac443b;_0x2115a3[_0x5d313d(0x2ce)]({'id':oo['id'],'params':{'pivotTableId':_0x48fe4c,'deleteIds':_0xe8abbd,'collectionJSON':_0xc62c0,'dataRangeInfo':_0x19f2e3,'unitId':_0x7bec2c,'subUnitId':_0x344eed}}),_0x3fb199[_0x5d313d(0x148)]({'id':oo['id'],'params':{'pivotTableId':_0x48fe4c,'deleteIds':[],'collectionJSON':_0x2ce735,'dataRangeInfo':_0x522fce[_0x5d313d(0x24b)],'unitId':_0x7bec2c,'subUnitId':_0x344eed}});const _0x572607=_0x522fce['targetCellInfo'],_0x5f26c4=new _0x1a96b2();_0x5f26c4[_0x5d313d(0x15b)](_0x363101);const _0x582c68={'cellInfo':_0x572607,'view':_0x5f26c4,'isEmpty':_0x480179};if(!await _0x4a2aeb['get'](ie)[_0x5d313d(0x227)][_0x5d313d(0x260)](be)(!0x0,_0x582c68))return!0x1;const _0x5c1bc7=we(_0x4a2aeb,_0x5f26c4,_0x572607,_0x480179),_0x3d71a4=_e(_0x4a2aeb,_0x582c68),{undos:_0x4eb6b0,redos:_0x1fc654}=me(_0x3644cb,{'pivotTableId':_0x48fe4c,'unitId':_0x7bec2c,'subUnitId':_0x344eed},_0x1e6188);return _0x1d2824([..._0x5c1bc7[_0x5d313d(0x2f0)],..._0x3d71a4[_0x5d313d(0x2f0)],..._0x2115a3,..._0x4eb6b0],_0x3644cb),_0x10b40['pushUndoRedo']({'unitID':_0x7bec2c,'redoMutations':[..._0x5c1bc7['redos'],..._0x3d71a4[_0x5d313d(0x2f0)],..._0x2115a3,..._0x4eb6b0],'undoMutations':[..._0x5c1bc7[_0x5d313d(0x354)],..._0x3d71a4['undos'],..._0x3fb199,..._0x1fc654]}),!0x0;}},Ns={'type':_0x302072[_0x4ecf17(0x27a)],'id':_0x4ecf17(0x30a),async 'handler'(_0x21925f,_0x1b7f8f){const _0x6cb129=_0x4ecf17;if(!_0x1b7f8f)return!0x1;const _0x2728a2=_0x21925f[_0x6cb129(0x181)](_0x372820),_0x457873=_0x21925f['get'](Z),_0x586f7a=_0x21925f[_0x6cb129(0x181)](_0x2e3e1a),_0x48fe96=_0x21925f[_0x6cb129(0x181)](_0x29a29f),{pivotTableId:_0x54afb5,position:_0x4ef811,index:_0x4483b3}=_0x1b7f8f,_0x3e6cf2=_0x7b9dcd(_0x586f7a);if(!_0x3e6cf2)return!0x1;const {unitId:_0x39eccc,subUnitId:_0x459965}=_0x3e6cf2,_0x40b102=(await _0x457873[_0x6cb129(0x19e)]({'unitId':_0x39eccc,'subUnitId':_0x459965,'pivotTableId':_0x54afb5,'params':{'type':A[_0x6cb129(0x34b)],'updateValuePosition':{'position':_0x4ef811,'index':_0x4483b3}}}))[_0x6cb129(0x35c)][_0x6cb129(0x294)];if(!_0x40b102)return!0x1;const {changesets:_0x55722e,view:_0x53d822,isEmpty:_0x12fd27,pivotTableConfig:_0x3da6bf}=_0x40b102,_0x44347e=_0x3da6bf[_0x6cb129(0x1d1)],_0x1bbcb4=new _0x1a96b2();_0x1bbcb4['formJSON'](_0x53d822);const _0x3f7c25=_0x21925f[_0x6cb129(0x181)](ie),_0x102fe2={'cellInfo':_0x44347e,'view':_0x1bbcb4,'isEmpty':_0x12fd27};if(!await _0x3f7c25[_0x6cb129(0x227)][_0x6cb129(0x260)](be)(!0x0,_0x102fe2))return!0x1;const _0xeb5e9f=we(_0x21925f,_0x1bbcb4,_0x44347e,_0x12fd27),_0x3f4a73=_e(_0x21925f,_0x102fe2),{undos:_0x34b8c7,redos:_0x1d979a}=me(_0x2728a2,{'pivotTableId':_0x54afb5,'unitId':_0x39eccc,'subUnitId':_0x459965},_0x55722e);return _0x1d2824([..._0xeb5e9f[_0x6cb129(0x2f0)],..._0x3f4a73[_0x6cb129(0x2f0)],..._0x1d979a],_0x2728a2),_0x48fe96[_0x6cb129(0x1c7)]({'unitID':_0x39eccc,'redoMutations':[..._0xeb5e9f[_0x6cb129(0x2f0)],..._0x3f4a73['redos'],..._0x1d979a],'undoMutations':[..._0xeb5e9f[_0x6cb129(0x354)],..._0x3f4a73[_0x6cb129(0x354)],..._0x34b8c7]}),!0x0;}},Et={'type':_0x302072[_0x4ecf17(0x114)],'id':_0x4ecf17(0x14b),'handler'(){return!0x0;}};var Es=Object[_0x4ecf17(0x24f)],Us=(_0x53ea10,_0x19d0f9,_0x355f7f,_0x1df6f7)=>{const _0x5bc4ef=_0x4ecf17;for(var _0x581f41=_0x1df6f7>0x1?void 0x0:_0x1df6f7?Es(_0x19d0f9,_0x355f7f):_0x19d0f9,_0x4901c3=_0x53ea10[_0x5bc4ef(0x1b4)]-0x1,_0x28d927;_0x4901c3>=0x0;_0x4901c3--)(_0x28d927=_0x53ea10[_0x4901c3])&&(_0x581f41=_0x28d927(_0x581f41)||_0x581f41);return _0x581f41;},at=(_0xfdf41f,_0x5d56c0)=>(_0x5794bf,_0xa59ad8)=>_0x5d56c0(_0x5794bf,_0xa59ad8,_0xfdf41f);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),xs=(_0x3704dd,_0x3b8f37,_0x102db0)=>{const _0x12206d=_0x4ecf17,_0x58520f=_0x3704dd[_0x12206d(0x21f)];_0x3704dd[_0x12206d(0x324)](_0x3355b5=>{const _0x3bb8f4=_0x12206d,_0x38cffe=_0x3355b5[_0x3bb8f4(0x102)](),_0x278a5b=_0x3355b5[_0x3bb8f4(0x152)](),_0x2abcad=_0x3355b5[_0x3bb8f4(0x165)](),_0x3e73c2=_0x3355b5['getDisplayName']();_0x3b8f37[_0x278a5b]&&_0x3b8f37[_0x278a5b]===_0x3e73c2&&_0x2abcad===_0x3e73c2&&(_0x3704dd['renameField'](_0x38cffe,_0x58520f[_0x3bb8f4(0x226)](_0x278a5b)),_0x3355b5[_0x3bb8f4(0x126)](_0x58520f['getDisplayName'](_0x278a5b)));}),_0x3704dd[_0x12206d(0x255)](_0x2709e7[_0x12206d(0x1e5)],_0x36a4b7=>{const _0x86f3d6=_0x12206d,_0x2a3e94=_0x36a4b7['getId'](),_0x2b8e2f=_0x36a4b7['getDataFieldId'](),_0x55ac20=_0x36a4b7[_0x86f3d6(0x165)](),_0x7b8bda=_0x36a4b7[_0x86f3d6(0x226)](),_0x604bc=_0x36a4b7['getSubtotal'](),_0x103371=_0x102db0(_0x55ac20,_0x604bc);_0x3b8f37[_0x2b8e2f]&&_0x3b8f37[_0x2b8e2f]===_0x55ac20&&_0x103371===_0x7b8bda&&(_0x3704dd[_0x86f3d6(0xdd)](_0x2a3e94,_0x102db0(_0x58520f[_0x86f3d6(0x226)](_0x2b8e2f),_0x604bc)),_0x36a4b7['setSourceName'](_0x58520f[_0x86f3d6(0x226)](_0x2b8e2f)));});},Os=(_0x1ef82a,_0x427877,_0x2971c7)=>{const _0x16c794=_0x4ecf17;var _0x41df97,_0x3c7f26;const {arrayFormulaCellData:_0x2ee7bb,unitData:_0x3709a9}=_0x427877,{unitId:_0x2ce85c,subUnitId:_0xd4db0}=_0x2971c7,_0x438102=_0x2971c7[_0x16c794(0x22e)],{startColumn:_0x481405,endColumn:_0x5c9af0}=_0x438102,_0x45db19=(_0x41df97=_0x2ee7bb==null?void 0x0:_0x2ee7bb[_0x2ce85c])==null?void 0x0:_0x41df97[_0xd4db0],_0xc58b32=(_0x3c7f26=_0x3709a9==null?void 0x0:_0x3709a9[_0x2ce85c])==null?void 0x0:_0x3c7f26[_0xd4db0],_0x29f373=new Set(),_0x3e6377=_0x5c9af0-_0x481405+0x1,{dirtyRanges:_0x2fc295}=_0x1ef82a;if(_0x2fc295)for(const {range:_0x286b44,sheetId:_0x5bad2d,unitId:_0x5964b7}of _0x2fc295){if(_0x5bad2d!==_0xd4db0||_0x2ce85c!==_0x5964b7)continue;const _0x405a99=_0x3cec3a[_0x16c794(0x2da)](_0x286b44,_0x438102);if(_0x405a99){const {startColumn:_0x478700,endColumn:_0x4c5641}=_0x405a99;for(let _0x1cf2be=_0x478700;_0x1cf2be<=_0x4c5641;_0x1cf2be++)_0x29f373[_0x16c794(0xf2)](_0x1cf2be);}}if(_0x29f373[_0x16c794(0x262)]===_0x3e6377||_0x29f373[_0x16c794(0x262)]===_0x3e6377)return Array[_0x16c794(0x210)](_0x29f373);if(_0xc58b32){const _0x27b524=_0xc58b32[_0x16c794(0x29c)](),_0x947848=Object[_0x16c794(0x248)](_0x27b524);for(const _0x2d9490 of _0x947848){const _0x41bb79=Number(_0x2d9490),_0x86326c=_0x27b524[_0x41bb79];if(_0x29f373[_0x16c794(0x262)]===_0x3e6377)break;for(const _0x4923f8 in _0x86326c){const _0x4c9501=Number(_0x4923f8);_0x4c9501<_0x481405||_0x4c9501>_0x5c9af0||_0x29f373[_0x16c794(0xf2)](_0x4c9501);}}}if(_0x45db19){const _0x2b7d20=_0x45db19[_0x16c794(0x29c)](),_0x7402da=Object['keys'](_0x2b7d20);for(const _0x2c99cf of _0x7402da){const _0x360b42=Number(_0x2c99cf),_0x3fe439=_0x2b7d20[_0x360b42];if(_0x29f373[_0x16c794(0x262)]===_0x3e6377)break;for(const _0x4f427f in _0x3fe439){const _0x400b7b=Number(_0x4f427f);_0x400b7b<_0x481405||_0x400b7b>_0x5c9af0||_0x29f373[_0x16c794(0xf2)](_0x400b7b);}}}return Array[_0x16c794(0x210)](_0x29f373);},ks=_0x443d40=>{const _0x3487f6=_0x4ecf17,_0x57ba96=new Set(),_0x47c23f=[];for(const _0x4b892c of _0x443d40){const _0x428bd9=_0x4b892c[_0x3487f6(0x171)]+','+_0x4b892c[_0x3487f6(0x139)]+','+_0x4b892c[_0x3487f6(0x2f8)]+','+_0x4b892c[_0x3487f6(0x2c3)];_0x57ba96['has'](_0x428bd9)||(_0x57ba96[_0x3487f6(0xf2)](_0x428bd9),_0x47c23f[_0x3487f6(0x2ce)](_0x4b892c));}return _0x47c23f;};let dt=class extends _0xf43bf4{constructor(_0x1e3240,_0x347af1,_0x23e96e,_0x2c875a,_0x118a39){const _0x3405d2=_0x4ecf17;super(),E(this,_0x3405d2(0x29b),new _0x4f2c4a(!0x0)),E(this,'_globalComputedStartHelpFunc',_0x189faf=>{const _0x5a823b=_0x3405d2;this[_0x5a823b(0x29b)][_0x5a823b(0x18e)](!0x1);}),E(this,_0x3405d2(0x24c),_0x149cfc=>{const _0x47d3d9=_0x3405d2;this[_0x47d3d9(0x29b)]['next'](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x1e3240,this[_0x3405d2(0x20d)]=_0x347af1,this[_0x3405d2(0x275)]=_0x23e96e,this[_0x3405d2(0xfc)]=_0x2c875a,this[_0x3405d2(0x22f)]=_0x118a39,this['_init'](),this['_initPivotDataGetListener']());}[_0x4ecf17(0x322)](){const _0x105771=_0x4ecf17;this[_0x105771(0x2d4)](),this['_subjectViewChange'](),this[_0x105771(0x136)](),this[_0x105771(0x1ff)]();}[_0x4ecf17(0x22a)](){const _0x3c0e59=_0x4ecf17;this['_globalComputingSrv'][_0x3c0e59(0x2b4)](this['_globalSubject']),_0x5401ef[_0x3c0e59(0x101)](_0x5a3993['onQueryStart'],this[_0x3c0e59(0xeb)]),_0x5401ef[_0x3c0e59(0x101)](_0x5a3993[_0x3c0e59(0x240)],this[_0x3c0e59(0x24c)]);}['_initPivotDataGetListener'](){const _0x6d1cd5=_0x4ecf17;this['disposeWithMe'](this[_0x6d1cd5(0x275)][_0x6d1cd5(0x12b)](_0x3f0b09=>{const _0x5aeeef=_0x6d1cd5;_0x3f0b09['id']===_0x41c1c2['id']&&this['_sheetsPivotDataSourceModel'][_0x5aeeef(0x339)](_0x3f0b09[_0x5aeeef(0x11e)]);})),this[_0x6d1cd5(0x258)](this[_0x6d1cd5(0x275)][_0x6d1cd5(0x12b)](_0x5df2f4=>{const _0x5a95e1=_0x6d1cd5;if(_0x5df2f4['id']!==ro['id'])return;const _0x35e40a=_0x5df2f4[_0x5a95e1(0x11e)],{unitId:_0x2aee1d,subUnitId:_0x518918,pivotTableId:_0x17de1d}=_0x35e40a,_0x4d7da4=_0x35e40a[_0x5a95e1(0x11e)]['type'],_0xf2072e={};switch(_0x4d7da4){case A['Filter']:{const _0x25c96c=_0x35e40a[_0x5a95e1(0x11e)][_0x5a95e1(0x312)];if(!_0x25c96c)return;const {row:_0x2ea0b6,col:_0x434215,cellData:_0x5a3923,pivotItemRenderInfoCache:_0x3c427c,tableFieldId:_0x97f2be}=_0x25c96c,_0x55850e=this[_0x5a95e1(0x1d8)]['getPivotTableInstance'](_0x35e40a[_0x5a95e1(0x349)]);if(!_0x55850e||!_0x3c427c)return;if(_0x97f2be){const _0xde3782=_0x55850e['getDataFieldByTableId'](_0x97f2be);if(!_0xde3782)return;_0xf2072e['filter']={..._0x55850e[_0x5a95e1(0x1ee)](_0xde3782),'tableFieldId':_0x97f2be,'pivotTableId':_0x35e40a[_0x5a95e1(0x349)],'filterInfo':_0x55850e['getFilterInfo'](_0x97f2be),'sortInfo':_0x55850e[_0x5a95e1(0x14a)](_0x97f2be),'format':_0x55850e[_0x5a95e1(0x23c)](_0x97f2be)};}else{const _0x34ec9c=Ai(_0x2ea0b6,_0x434215,_0x5a3923,_0x55850e,_0x3c427c),_0x40ba41=_0x34ec9c==null?void 0x0:_0x34ec9c['filterId'];if(!_0x40ba41)return;const _0x5e0a4b=_0x55850e[_0x5a95e1(0x1cb)](_0x40ba41);if(!_0x5e0a4b)return;_0xf2072e[_0x5a95e1(0x312)]={..._0x55850e[_0x5a95e1(0x1ee)](_0x5e0a4b),'tableFieldId':_0x40ba41,'pivotTableId':_0x35e40a[_0x5a95e1(0x349)],'filterInfo':_0x55850e[_0x5a95e1(0x1a6)](_0x40ba41),'sortInfo':_0x55850e[_0x5a95e1(0x14a)](_0x40ba41),'format':_0x55850e[_0x5a95e1(0x23c)](_0x40ba41)};}}break;case A[_0x5a95e1(0x158)]:{const _0x1688c5=_0x35e40a['params'][_0x5a95e1(0x269)];if(!_0x1688c5)return;const {pivotTableId:_0x12466f}=_0x1688c5,_0x516d11=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x12466f);if(!_0x516d11)return;const _0x58e78b=this[_0x5a95e1(0x1d8)]['getPivotTableConfig'](_0x2aee1d,_0x518918,_0x12466f),_0x1df2c8=ji(_0x516d11,_0x12466f,_0x58e78b);_0xf2072e['panel']=_0x1df2c8;}break;case A[_0x5a95e1(0x2fe)]:{const _0x53d6da=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x17de1d),_0x4353c3=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x276)](_0x2aee1d),_0x1fd8ee=_0x4353c3[_0x5a95e1(0x193)](_0x17de1d);let _0x399918=null;const _0x3a01e4=this['_sheetsPivotDataSourceModel'][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d),_0x344254=_0x35e40a[_0x5a95e1(0x11e)][_0x5a95e1(0x199)];if(!_0x53d6da||!_0x3a01e4||!_0x344254)return!0x1;const {dataFieldId:_0x5d93fd,fieldArea:_0x50c48a,index:_0x5b1ce}=_0x344254;_0x53d6da[_0x5a95e1(0xf6)]();const _0x60045c=_0x53d6da[_0x5a95e1(0x14f)](_0x5d93fd,_0x50c48a,_0x5b1ce);if(_0x60045c&&_0x50c48a===_0x2709e7[_0x5a95e1(0x1e5)]){const _0x3f7301=_0x60045c[_0x5a95e1(0x102)](),_0x2d13e4=_0x53d6da[_0x5a95e1(0x1cb)](_0x3f7301);if(_0x2d13e4){const _0xc6243c=_0x2d13e4==null?void 0x0:_0x2d13e4[_0x5a95e1(0x2a5)]();_0x53d6da['setSubtotalType'](_0x60045c[_0x5a95e1(0x102)](),_0xc6243c===_0x4e0d1b[_0x5a95e1(0x2f6)]?_0x5d2132[_0x5a95e1(0x105)]:_0x5d2132['count']);}const _0x43ad0f=_0x53d6da[_0x5a95e1(0x303)](),_0x561bd4=_0x53d6da['getValuePosition'](),_0x506777=_0x53d6da[_0x5a95e1(0x2e2)](_0x2709e7['Value']);if(_0x43ad0f===-0x1&&_0x506777>0x1){const _0x2906ac=_0x561bd4===_0x36e652[_0x5a95e1(0x1c4)]?_0x36e652['Column']:_0x561bd4,_0x3cd3ef=_0x2906ac===_0x36e652[_0x5a95e1(0xde)]?_0x2709e7[_0x5a95e1(0xde)]:_0x2709e7[_0x5a95e1(0x266)];_0x53d6da[_0x5a95e1(0x294)](_0x2906ac,_0x53d6da[_0x5a95e1(0x2e2)](_0x3cd3ef));}}else{if(_0x60045c&&(_0x50c48a===_0x2709e7[_0x5a95e1(0xde)]||_0x50c48a===_0x2709e7['Column'])){const _0xe3ddca=_0x60045c[_0x5a95e1(0x102)](),_0x1b20c2=_0x53d6da[_0x5a95e1(0x1cb)](_0xe3ddca);if(_0x1b20c2&&(_0x1b20c2==null?void 0x0:_0x1b20c2[_0x5a95e1(0x2a5)]())===_0x4e0d1b[_0x5a95e1(0x328)]){const _0x3c6245=_0x1b20c2[_0x5a95e1(0x1b9)]();if(_0x3c6245&&_0x53d6da[_0x5a95e1(0x1ea)](_0x60045c[_0x5a95e1(0x102)](),_0x3c6245),!_0x1fd8ee[_0x5a95e1(0x2c1)]()[_0x5a95e1(0x2e0)](_0x362469=>{const _0x5d5735=_0x5a95e1,_0x3aff78=_0x1fd8ee[_0x5d5735(0x184)](_0x362469);return _0x5e5189(_0x3aff78)?_0x3aff78[_0x5d5735(0x2ab)]()['originalFieldId']===_0x5d93fd:!0x1;})){const _0x30fe24=_0x4353c3['createDataFieldId'](),_0x43723b=Hi(_0x1b20c2[_0x5a95e1(0x243)],_0x1b20c2[_0x5a95e1(0x147)]),_0x2bab5c=_0x1b20c2[_0x5a95e1(0x16e)]()+_0x5a95e1(0x214)+qo(this[_0x5a95e1(0x22f)],_0x43723b),_0x3c8b5e=new _0x10e772(_0x30fe24,_0x2bab5c,_0x145b1f(0x3),_0x1b20c2[_0x5a95e1(0x102)](),_0x43723b);_0x4353c3[_0x5a95e1(0x23a)](_0x3c8b5e),_0x1fd8ee[_0x5a95e1(0x2f9)](_0x30fe24,_0x2bab5c),_0x53d6da['addFieldWithSourceId'](_0x30fe24,_0x50c48a,(_0x5b1ce!=null?_0x5b1ce:0x0)+0x1),_0x399918=_0x3c8b5e;}}}}const _0xa5886f=_0x53d6da[_0x5a95e1(0x1d5)](),_0x301308=_0x53d6da[_0x5a95e1(0x337)]()[_0x5a95e1(0x213)]();let _0x5edf99;if(_0x399918){_0x5edf99=_0x399918[_0x5a95e1(0x213)]();const _0xcd1970=_0x399918['getId']();_0x1fd8ee[_0x5a95e1(0x263)](_0xcd1970);let _0x5b3018=!0x0;for(const _0x269c36 in _0x4353c3[_0x5a95e1(0x208)])if(_0x4353c3[_0x5a95e1(0x208)][_0x269c36][_0x5a95e1(0x2c1)]()[_0x5a95e1(0x203)](_0xcd1970)){_0x5b3018=!0x1;break;}_0x5b3018&&_0x4353c3[_0x5a95e1(0x178)](_0xcd1970);}const _0x3e70ab=_0x53d6da[_0x5a95e1(0x271)]();_0xf2072e['addPivotField']={'view':_0x301308,'changesets':_0x3e70ab,'isEmpty':_0xa5886f,'pivotTableConfig':_0x3a01e4,'shouldBeAddedGroupJSON':_0x5edf99};}break;case A[_0x5a95e1(0x2f7)]:{const _0x7aa3=_0x35e40a[_0x5a95e1(0x11e)][_0x5a95e1(0x2fd)];if(!_0x7aa3)return;const _0x394e99=_0x7aa3[_0x5a95e1(0x24b)],_0x2d0aee=_0x7aa3['pivotTableId'],{collection:_0x390d9a}=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x198)]({'unitId':_0x394e99[_0x5a95e1(0x2f2)],'sheetName':_0x394e99[_0x5a95e1(0x352)],'subUnitId':_0x394e99[_0x5a95e1(0x117)],'range':_0x394e99[_0x5a95e1(0x22e)]}),_0x210ca7=new _0x5401ef(_0x390d9a,void 0x0,_0x2d0aee),_0x7e74a3=_0x210ca7[_0x5a95e1(0x337)](),_0x1c7cb6=_0x210ca7['toJSON'](),_0x12257e=_0x390d9a[_0x5a95e1(0x213)]();_0xf2072e[_0x5a95e1(0x2fd)]={'view':_0x7e74a3,'fieldsConfig':_0x1c7cb6,'collectionConfig':_0x12257e,'isEmpty':_0x210ca7[_0x5a95e1(0x1d5)]()};}break;case A[_0x5a95e1(0x310)]:{const _0x3dd9be=_0x35e40a[_0x5a95e1(0x11e)][_0x5a95e1(0x278)];if(!_0x3dd9be)return;const {fieldId:_0xaee400,area:_0x2b8407,index:_0x3ada27}=_0x3dd9be,_0x4f655c=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x4f655c)return;const _0x4f4ee9=this[_0x5a95e1(0x1d8)]['getPivotTableInstance'](_0x17de1d);if(!_0x4f4ee9)return;_0x4f4ee9[_0x5a95e1(0xf6)]();const {area:_0x39b707,index:_0x5b168d}=_0x4f4ee9[_0x5a95e1(0x235)](_0xaee400);if(_0x4f4ee9[_0x5a95e1(0x353)](_0xaee400,_0x2b8407,_0x3ada27),_0x2b8407===_0x2709e7[_0x5a95e1(0x1e5)]&&_0x4f4ee9[_0x5a95e1(0x23e)](_0xaee400)[_0x5a95e1(0x2b2)]()===void 0x0){const _0x12b5d0=_0x4f4ee9[_0x5a95e1(0x23e)](_0xaee400);if(_0x12b5d0&&_0x12b5d0[_0x5a95e1(0x2b2)]()===void 0x0){const _0x51703b=_0x4f4ee9[_0x5a95e1(0x1cb)](_0xaee400);if(_0x51703b){const _0x1debf3=_0x51703b==null?void 0x0:_0x51703b[_0x5a95e1(0x2a5)]();_0x4f4ee9[_0x5a95e1(0x1ec)](_0xaee400,_0x1debf3===_0x4e0d1b['number']?_0x5d2132['sum']:_0x5d2132['count']);}}}const _0x2039b7=_0x4f4ee9[_0x5a95e1(0x308)](),_0x31c227=_0x4f4ee9[_0x5a95e1(0x303)](),_0xe3ffd7=_0x4f4ee9[_0x5a95e1(0x2e2)](_0x2709e7[_0x5a95e1(0x1e5)])>0x1;if(_0xe3ffd7&&_0x39b707===_0x2b8407&&(_0x2b8407===_0x2709e7[_0x5a95e1(0xde)]&&_0x2039b7===_0x36e652[_0x5a95e1(0xde)]||_0x2b8407===_0x2709e7['Column']&&_0x2039b7===_0x36e652['Column'])){let _0x5431ea=_0x31c227;_0x5b168d<=_0x31c227&&_0x5431ea--,_0x3ada27<=_0x31c227&&_0x5431ea++,_0x4f4ee9[_0x5a95e1(0x294)](_0x2039b7,_0x5431ea);}else _0xe3ffd7&&(_0x39b707===_0x2709e7[_0x5a95e1(0xde)]&&_0x2039b7===_0x36e652[_0x5a95e1(0xde)]||_0x39b707===_0x2709e7[_0x5a95e1(0x266)]&&_0x2039b7===_0x36e652[_0x5a95e1(0x266)])&&_0x31c227>=_0x5b168d&&_0x4f4ee9[_0x5a95e1(0x294)](_0x2039b7,_0x31c227-0x1),_0xe3ffd7&&(_0x2b8407===_0x2709e7[_0x5a95e1(0xde)]&&_0x2039b7===_0x36e652[_0x5a95e1(0xde)]||_0x2b8407===_0x2709e7['Column']&&_0x2039b7===_0x36e652[_0x5a95e1(0x266)])&&_0x31c227>=_0x3ada27&&_0x4f4ee9[_0x5a95e1(0x294)](_0x2039b7,_0x31c227+0x1);const _0x28889d=_0x4f4ee9['query'](),_0x2ade6d=_0x4f4ee9[_0x5a95e1(0x1d5)](),_0x12238a=_0x4f4ee9[_0x5a95e1(0x271)]();_0xf2072e['movePivotField']={'view':_0x28889d[_0x5a95e1(0x213)](),'changesets':_0x12238a,'isEmpty':_0x2ade6d,'pivotTableConfig':_0x4f655c};}break;case A[_0x5a95e1(0x188)]:{const _0x1e4792=_0x35e40a[_0x5a95e1(0x11e)][_0x5a95e1(0x14c)];if(!_0x1e4792)return;const _0x4ac50a=_0x1e4792[_0x5a95e1(0x133)],_0x5c7f75=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x5c7f75)return!0x1;const _0x392708=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x17de1d);if(!_0x392708)return!0x1;_0x392708[_0x5a95e1(0xf6)]();for(const _0x2418d2 of _0x4ac50a){const {area:_0x4e86e6}=_0x392708[_0x5a95e1(0x235)](_0x2418d2);_0x4e86e6===_0x2709e7[_0x5a95e1(0x1e5)]&&_0x392708[_0x5a95e1(0x216)](_0x2418d2),(_0x4e86e6===_0x2709e7['Row']||_0x4e86e6===_0x2709e7['Column'])&&_0x392708[_0x5a95e1(0x332)](_0x2418d2),_0x392708[_0x5a95e1(0x13f)](_0x2418d2);}const _0x161426=_0x392708[_0x5a95e1(0x1d5)](),_0x2e0b6c=_0x392708[_0x5a95e1(0x337)]()[_0x5a95e1(0x213)](),_0x68f9b7=_0x392708[_0x5a95e1(0x271)]();_0xf2072e[_0x5a95e1(0x14c)]={'changesets':_0x68f9b7,'pivotTableConfig':_0x5c7f75,'isEmpty':_0x161426,'view':_0x2e0b6c};}break;case A['SetPivotFilter']:{const _0x5cb6b8=_0x35e40a[_0x5a95e1(0x11e)]['setPivotFilter'];if(!_0x5cb6b8)return;const {tableFieldId:_0x2521de,items:_0x3fd523,isAll:_0x5371b2}=_0x5cb6b8,_0xd2c6ee=this[_0x5a95e1(0x1d8)]['getPivotTableInstance'](_0x17de1d),_0x28c992=this['_sheetsPivotDataSourceModel'][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d);if(!_0xd2c6ee||!_0x28c992)return;_0xd2c6ee[_0x5a95e1(0xf6)](),_0xd2c6ee[_0x5a95e1(0x331)](_0x2521de,{'type':_0x407a67[_0x5a95e1(0x2c0)],'list':_0x3fd523,'isAll':_0x5371b2});const _0x219a7b=_0xd2c6ee[_0x5a95e1(0x1d5)](),_0x4db5e9=_0xd2c6ee[_0x5a95e1(0x337)]()[_0x5a95e1(0x213)](),_0x270d6f=_0xd2c6ee[_0x5a95e1(0x271)]();_0xf2072e['setPivotFilter']={'view':_0x4db5e9,'changesets':_0x270d6f,'isEmpty':_0x219a7b,'pivotTableConfig':_0x28c992};}break;case A['SetValuePivotFilter']:{const _0x1e5ce8=_0x35e40a[_0x5a95e1(0x11e)]['setValuePivotFilter'];if(!_0x1e5ce8)return;const {tableFieldId:_0x43b396,filterInfo:_0xf543af}=_0x1e5ce8,_0x1fa8cc=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x17de1d),_0x53e4a8=this['_sheetsPivotDataSourceModel'][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x1fa8cc||!_0x53e4a8)return;_0x1fa8cc[_0x5a95e1(0xf6)](),_0x1fa8cc[_0x5a95e1(0x206)](_0x43b396,_0xf543af);const _0x507be9=_0x1fa8cc[_0x5a95e1(0x1d5)](),_0x51af80=_0x1fa8cc[_0x5a95e1(0x337)]()[_0x5a95e1(0x213)](),_0x43beec=_0x1fa8cc[_0x5a95e1(0x271)]();_0xf2072e['setValuePivotFilter']={'view':_0x51af80,'changesets':_0x43beec,'isEmpty':_0x507be9,'pivotTableConfig':_0x53e4a8};}break;case A[_0x5a95e1(0x357)]:{const _0xa476ce=_0x35e40a[_0x5a95e1(0x11e)]['setPivotSort'];if(!_0xa476ce)return;const {tableFieldId:_0x28b5f5,info:_0x4d1f1a}=_0xa476ce,_0x2cad63=this[_0x5a95e1(0x1d8)]['getPivotTableInstance'](_0x17de1d),_0x37a49e=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x2cad63||!_0x37a49e)return;_0x2cad63[_0x5a95e1(0xf6)](),_0x2cad63['setSortInfo'](_0x28b5f5,_0x4d1f1a);const _0xe2e260=_0x2cad63[_0x5a95e1(0x1d5)](),_0x8a7ec4=_0x2cad63['query']()[_0x5a95e1(0x213)](),_0x4ebc58=_0x2cad63['endCollectChangeset']();_0xf2072e[_0x5a95e1(0x321)]={'view':_0x8a7ec4,'changesets':_0x4ebc58,'isEmpty':_0xe2e260,'pivotTableConfig':_0x37a49e};}break;case A['SetPivotSetting']:{const _0x42a4a5=_0x35e40a['params']['setPivotSetting'];if(!_0x42a4a5)return;const {tableFieldId:_0x31e50a,displayName:_0x392eda,subtotalType:_0x215947,format:_0x47dd11}=_0x42a4a5,_0x46abab=this[_0x5a95e1(0x1d8)]['getPivotTableInstance'](_0x17de1d),_0x37ea91=this[_0x5a95e1(0x1d8)]['getPivotTableConfig'](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x46abab||!_0x37ea91)return;_0x46abab[_0x5a95e1(0xf6)](),_0x392eda!==void 0x0&&_0x46abab[_0x5a95e1(0xdd)](_0x31e50a,_0x392eda),_0x215947!==void 0x0&&_0x46abab['setSubtotalType'](_0x31e50a,_0x215947),_0x47dd11!==void 0x0&&_0x46abab[_0x5a95e1(0x1ea)](_0x31e50a,_0x47dd11);const _0x53d53a=_0x46abab[_0x5a95e1(0x1d5)](),_0x2eea59=_0x46abab[_0x5a95e1(0x337)]()[_0x5a95e1(0x213)](),_0x751a04=_0x46abab[_0x5a95e1(0x271)]();_0xf2072e[_0x5a95e1(0x156)]={'changesets':_0x751a04,'pivotTableConfig':_0x37ea91,'isEmpty':_0x53d53a,'view':_0x2eea59};}break;case A['UpdatePivotSource']:{const _0x5396b8=_0x35e40a[_0x5a95e1(0x11e)]['updatePivotSource'];if(!_0x5396b8)return;const {dataRangeInfo:_0x2d7bc5,unitId:_0x45a6cf,subUnitId:_0x5c9d4c}=_0x5396b8,_0x50458d=this[_0x5a95e1(0x1d8)]['getPivotTableConfig'](_0x45a6cf,_0x5c9d4c,_0x17de1d),_0x5d9195=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x17de1d);if(!this[_0x5a95e1(0x1d8)][_0x5a95e1(0x193)](_0x45a6cf,_0x17de1d)||!_0x5d9195||!_0x50458d)return;const _0x2cd13b=this[_0x5a95e1(0x1d8)]['getUpdateRangeDeleteIds'](_0x45a6cf,_0x17de1d,_0x2d7bc5),_0x1ee668=this['_sheetsPivotDataSourceModel'][_0x5a95e1(0x193)](_0x45a6cf,_0x17de1d)['toJSON'](),{collection:_0x127c04}=this[_0x5a95e1(0x1d8)]['createCollectionWithDataRange']({'unitId':_0x2d7bc5[_0x5a95e1(0x2f2)],'sheetName':_0x2d7bc5[_0x5a95e1(0x352)],'subUnitId':_0x2d7bc5[_0x5a95e1(0x117)],'range':_0x2d7bc5[_0x5a95e1(0x22e)]}),_0x2dd5d5=_0x127c04[_0x5a95e1(0x213)]();_0x5d9195[_0x5a95e1(0xf6)]();const _0x2075c6=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x276)](_0x45a6cf)[_0x5a95e1(0x33b)]()||_0x54995d;_0x5d9195[_0x5a95e1(0x2bd)](_0x4dd421=>{const _0x50ef19=_0x5a95e1,_0xb56066=_0x4dd421[_0x50ef19(0x152)]();if(!_0x127c04[_0x50ef19(0x25a)](_0xb56066)){const _0x4431e3=_0x127c04[_0x50ef19(0x2e6)](_0x4dd421['getSourceName']());if(_0x4431e3){_0x5d9195[_0x50ef19(0x33a)](_0x4dd421[_0x50ef19(0x102)](),_0x4431e3[_0x50ef19(0x16e)](),_0x4431e3[_0x50ef19(0x102)]());const {area:_0x371647}=_0x5d9195[_0x50ef19(0x235)](_0x4dd421['getId']());let _0x40e24a=_0x4dd421['getSourceName']();const _0x888c23=_0x4dd421['getDisplayName']();if(_0x371647===_0x2709e7[_0x50ef19(0x1e5)]){const _0x5beefb=_0x4dd421[_0x50ef19(0x2b2)]();_0x40e24a=_0x2075c6(_0x4431e3['getName'](),_0x5beefb);}_0x888c23!==_0x40e24a&&_0x5d9195[_0x50ef19(0xdd)](_0x4dd421[_0x50ef19(0x102)](),_0x40e24a);}else _0x5d9195[_0x50ef19(0x13f)](_0x4dd421['getId']());}});const _0x53a9c8=_0x5d9195[_0x5a95e1(0x1d5)](),_0x43efcd=_0x5d9195[_0x5a95e1(0x337)]()[_0x5a95e1(0x213)](),_0x284f23=_0x5d9195[_0x5a95e1(0x271)]();_0xf2072e[_0x5a95e1(0x1d9)]={'view':_0x43efcd,'changesets':_0x284f23,'isEmpty':_0x53a9c8,'pivotTableConfig':_0x50458d,'collectionConfig':_0x2dd5d5,'oldCollectionConfig':_0x1ee668,'deleteIds':_0x2cd13b};}break;case A[_0x5a95e1(0x34b)]:{const _0x1e7063=_0x35e40a[_0x5a95e1(0x11e)]['updateValuePosition'];if(!_0x1e7063)return;const {position:_0x2e46d6,index:_0x231b48}=_0x1e7063,_0x2719af=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x2719af)return!0x1;const _0x476748=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x17de1d);if(!_0x476748)return!0x1;_0x476748[_0x5a95e1(0xf6)](),_0x476748[_0x5a95e1(0x294)](_0x2e46d6,_0x231b48);const _0x299097=_0x476748[_0x5a95e1(0x1d5)](),_0x510286=_0x476748[_0x5a95e1(0x337)]()['toJSON'](),_0xab1274=_0x476748[_0x5a95e1(0x271)]();_0xf2072e[_0x5a95e1(0x294)]={'changesets':_0xab1274,'pivotTableConfig':_0x2719af,'isEmpty':_0x299097,'view':_0x510286};}break;case A[_0x5a95e1(0x1a7)]:{const _0x55efd7=_0x35e40a[_0x5a95e1(0x11e)][_0x5a95e1(0x26d)];if(!_0x55efd7)return;const {tableFieldId:_0x5288d3,collapse:_0x451656,item:_0x322a5b}=_0x55efd7,_0x136739=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x17de1d),_0x273c92=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x136739||!_0x273c92)return;_0x136739[_0x5a95e1(0xf6)](),_0x136739['setCollapse'](_0x5288d3,_0x451656,_0x322a5b);const _0x34ffd8=_0x136739[_0x5a95e1(0x1d5)](),_0x1ed5f0=_0x136739['query']()[_0x5a95e1(0x213)](),_0x25855c=_0x136739[_0x5a95e1(0x271)]();_0xf2072e[_0x5a95e1(0x26d)]={'view':_0x1ed5f0,'isEmpty':_0x34ffd8,'pivotTableConfig':_0x273c92,'changesets':_0x25855c};}break;case A[_0x5a95e1(0x239)]:{const _0x19eb1f=_0x35e40a['params'][_0x5a95e1(0x16c)];if(!_0x19eb1f)return;const {pivotTableConfig:_0x1e8359}=_0x19eb1f,_0x3cbda8=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x17de1d),_0x364899=this['_sheetsPivotDataSourceModel'][_0x5a95e1(0x32e)](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x3cbda8||!_0x364899)return;_0x3cbda8[_0x5a95e1(0xf6)](),Wi(_0x3cbda8,_0x1e8359);const _0x758d96=_0x3cbda8['isEmpty'](),_0x4a998c=_0x3cbda8['query']()[_0x5a95e1(0x213)](),_0x5417ae=_0x3cbda8[_0x5a95e1(0x271)]();_0xf2072e['setPivotTableConfig']={'view':_0x4a998c,'isEmpty':_0x758d96,'pivotTableConfig':{..._0x364899,'fieldsConfig':_0x3cbda8[_0x5a95e1(0x213)]()},'changesets':_0x5417ae};}break;case A['ResetPivotTable']:{const _0x36756c=_0x35e40a['params'][_0x5a95e1(0x1b7)];if(!_0x36756c)return;const _0x17e0e4=this[_0x5a95e1(0x1d8)][_0x5a95e1(0x200)](_0x17de1d),_0x4b80e3=this[_0x5a95e1(0x1d8)]['getPivotTableConfig'](_0x2aee1d,_0x518918,_0x17de1d);if(!_0x17e0e4||!_0x4b80e3)return;_0x17e0e4['startCollectChangeset'](),Ki(_0x17e0e4,_0x36756c['resetArea']);const _0x2e2084=_0x17e0e4['query']()[_0x5a95e1(0x213)](),_0x2ed60d=_0x17e0e4[_0x5a95e1(0x271)]();_0xf2072e[_0x5a95e1(0x1b7)]={'view':_0x2e2084,'isEmpty':!0x0,'pivotTableConfig':{..._0x4b80e3,'fieldsConfig':_0x17e0e4[_0x5a95e1(0x213)]()},'changesets':_0x2ed60d};}break;case A['AddPivotTableWithConfig']:{const _0x566c2d=_0x35e40a[_0x5a95e1(0x11e)][_0x5a95e1(0x217)];if(!_0x566c2d)return;const _0x2ef357=_0x566c2d[_0x5a95e1(0x24b)],_0x309e4e=_0x566c2d[_0x5a95e1(0x349)],{collection:_0x561403}=this['_sheetsPivotDataSourceModel'][_0x5a95e1(0x198)]({'unitId':_0x2ef357[_0x5a95e1(0x2f2)],'sheetName':_0x2ef357['sheetName'],'subUnitId':_0x2ef357[_0x5a95e1(0x117)],'range':_0x2ef357[_0x5a95e1(0x22e)]}),_0xb82aec=new _0x5401ef(_0x561403,void 0x0,_0x309e4e),_0x515c36=_0x561403[_0x5a95e1(0x2c1)](),{rows:_0x7855fd,columns:_0x5bd069,filters:_0x10da98,values:_0x3930f2}=_0x566c2d['pivotTableIndexConfig'];_0xb82aec[_0x5a95e1(0xf6)]();for(const {field:_0x58d05a,selectedItems:_0x59cda5}of _0x7855fd||[]){const _0x5c70ed=_0x515c36[_0x58d05a];if(_0x5c70ed){const _0x23109e=_0xb82aec[_0x5a95e1(0x14f)](_0x5c70ed,_0x2709e7[_0x5a95e1(0xde)]);_0x59cda5&&_0x23109e&&_0xb82aec['setLabelFilterInfo'](_0x23109e[_0x5a95e1(0x102)](),{'type':_0x407a67[_0x5a95e1(0x2c0)],'list':_0x59cda5,'isAll':!0x1});}}for(const {field:_0x162363,selectedItems:_0x5923bb}of _0x5bd069||[]){const _0x433368=_0x515c36[_0x162363];if(_0x433368){const _0x443360=_0xb82aec['addFieldWithSourceId'](_0x433368,_0x2709e7[_0x5a95e1(0x266)]);_0x5923bb&&_0x443360&&_0xb82aec['setLabelFilterInfo'](_0x443360['getId'](),{'type':_0x407a67['ManualFilter'],'list':_0x5923bb,'isAll':!0x1});}}for(const {field:_0x5f300d,selectedItems:_0x5ad2ed}of _0x10da98||[]){const _0x19b0d7=_0x515c36[_0x5f300d];if(_0x19b0d7){const _0x5b4efe=_0xb82aec[_0x5a95e1(0x14f)](_0x19b0d7,_0x2709e7[_0x5a95e1(0x10a)]);_0x5ad2ed&&_0x5b4efe&&_0xb82aec[_0x5a95e1(0x331)](_0x5b4efe['getId'](),{'type':_0x407a67['ManualFilter'],'list':_0x5ad2ed,'isAll':!0x1});}}for(const {field:_0x9fc494,subTotalType:_0x42e764,formatString:_0x32381b}of _0x3930f2||[]){const _0x20681f=_0x561403[_0x5a95e1(0x184)](_0x515c36[_0x9fc494]);if(!_0x20681f)continue;const _0x397510=_0x515c36[_0x9fc494];if(_0x397510){const _0x3eec42=_0xb82aec[_0x5a95e1(0x14f)](_0x397510,_0x2709e7[_0x5a95e1(0x1e5)]);if(_0x3eec42){if(_0x42e764!==void 0x0){_0xb82aec['setSubtotalType'](_0x3eec42['getId'](),_0x42e764);const _0x5e7027=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x2ef357[_0x5a95e1(0x2f2)])[_0x5a95e1(0x33b)]()||_0x54995d,_0x329e69=_0x561403[_0x5a95e1(0x226)](_0x397510),_0x189c37=_0x5e7027(_0x329e69,_0x42e764);_0xb82aec[_0x5a95e1(0xdd)](_0x3eec42['getId'](),_0x189c37);}else{if(_0x20681f){const _0x508c60=_0x20681f==null?void 0x0:_0x20681f[_0x5a95e1(0x2a5)]();_0xb82aec[_0x5a95e1(0x1ec)](_0x3eec42['getId'](),_0x508c60===_0x4e0d1b[_0x5a95e1(0x2f6)]?_0x5d2132[_0x5a95e1(0x105)]:_0x5d2132['count']);}}_0x32381b&&_0xb82aec[_0x5a95e1(0x1ea)](_0x3eec42[_0x5a95e1(0x102)](),_0x32381b);}}}const _0x5a0723=_0xb82aec[_0x5a95e1(0x337)](),_0x23c433=_0xb82aec[_0x5a95e1(0x213)](),_0x13f41a=_0xb82aec[_0x5a95e1(0x1d5)](),_0x50f6ba=_0xb82aec[_0x5a95e1(0x271)](),_0x2ab172=_0x561403['toJSON']();_0xf2072e['addPivotTableWithConfig']={'view':_0x5a0723,'fieldsConfig':_0x23c433,'collectionConfig':_0x2ab172,'isEmpty':_0x13f41a,'changesets':_0x50f6ba};}break;case A[_0x5a95e1(0x211)]:{const _0x112f72=Li(this[_0x5a95e1(0x22f)],_0x35e40a);if(!_0x112f72)return;const {range:_0x1124fa,sourceSubUnitId:_0x53593e,sourceUnitId:_0x22d49c,formatMap:_0x3c8d75,indexes:_0x1814c0}=_0x112f72;_0xf2072e[_0x5a95e1(0x283)]={'range':_0x1124fa,'sourceSubUnitId':_0x53593e,'sourceUnitId':_0x22d49c,'formatMap':_0x3c8d75,'indexes':_0x1814c0};}break;}this['_commandService'][_0x5a95e1(0x19d)](lo['id'],{'version':_0x35e40a[_0x5a95e1(0x309)],'result':_0xf2072e},{'onlyLocal':!0x0});}));}[_0x4ecf17(0x136)](){const _0xbffe0d=_0x4ecf17;this[_0xbffe0d(0x258)](this['_commandService'][_0xbffe0d(0x12b)](_0xcd508d=>{const _0x1e8d4e=_0xbffe0d;if(_0xcd508d['id']!==uo['id'])return;const _0x405e24=_0xcd508d[_0x1e8d4e(0x11e)];return this[_0x1e8d4e(0x1d8)][_0x1e8d4e(0xef)](_0x405e24[_0x1e8d4e(0x307)]),!0x0;}));}[_0x4ecf17(0x2d4)](){const _0x5c838c=_0x4ecf17;this[_0x5c838c(0x1d8)]['collectionChange$'][_0x5c838c(0x277)](_0x4a4499=>{const _0x4b8297=_0x5c838c;switch(_0x4a4499[_0x4b8297(0x168)]){case Le['add']:_0x4a4499['dataRangeInfo']&&_0x4a4499[_0x4b8297(0x1d1)]&&this[_0x4b8297(0x1bf)](_0x4a4499['token'],_0x4a4499['dataRangeInfo'],_0x4a4499[_0x4b8297(0x1d1)]);break;case Le[_0x4b8297(0x21c)]:{const {unitId:_0xa27669,subUnitId:_0x3af79d,token:_0x426f1e}=_0x4a4499;_0xa27669&&_0x3af79d&&_0x426f1e&&this[_0x4b8297(0x304)](_0xa27669,_0x3af79d,_0x426f1e);}break;case Le[_0x4b8297(0xfa)]:{const {token:_0x35b066,oldSourceRangeInfo:_0x10e22e,dataRangeInfo:_0x2564aa,targetCellInfo:_0x301b87}=_0x4a4499,{unitId:_0x598122,subUnitId:_0x27d9ac}=_0x10e22e||{};_0x598122&&_0x27d9ac&&_0x35b066&&this[_0x4b8297(0x304)](_0x598122,_0x27d9ac,_0x35b066),_0x2564aa&&_0x301b87&&this[_0x4b8297(0x1bf)](_0x35b066,_0x2564aa,_0x301b87);}break;}});}[_0x4ecf17(0x1ff)](){const _0x2ab832=_0x4ecf17;this[_0x2ab832(0x1d8)][_0x2ab832(0x2af)][_0x2ab832(0x277)](_0x3275aa=>{const _0x4c7be3=_0x2ab832;Object[_0x4c7be3(0x248)](_0x3275aa)[_0x4c7be3(0x26a)](_0x71d5aa=>{const _0x1cad24=_0x4c7be3,_0x365d1d=this[_0x1cad24(0x1d8)]['getTargetByPivotId'](_0x71d5aa);if(_0x365d1d){const _0x12d30a=this[_0x1cad24(0x1d8)][_0x1cad24(0x32e)](_0x365d1d==null?void 0x0:_0x365d1d['unitId'],_0x365d1d==null?void 0x0:_0x365d1d['subUnitId'],_0x71d5aa);_0x12d30a&&(this[_0x1cad24(0x1bf)](_0x71d5aa,_0x12d30a[_0x1cad24(0x24b)],_0x12d30a['targetCellInfo']),this[_0x1cad24(0x2de)]([{'unitId':_0x365d1d[_0x1cad24(0x2f2)],'subUnitId':_0x365d1d[_0x1cad24(0x117)],'token':_0x71d5aa}]));}});});}[_0x4ecf17(0x25c)](){const _0x344ade=_0x4ecf17;this[_0x344ade(0x1d8)][_0x344ade(0x24e)][_0x344ade(0x277)](_0x3e25b3=>{const _0x1ea5d8=_0x344ade,{unitId:_0x5b246e,subUnitId:_0x5723c0,pivotTableId:_0x1c43b0}=_0x3e25b3;_0x5b246e&&_0x5723c0&&_0x1c43b0&&this[_0x1ea5d8(0x2de)]([{'unitId':_0x5b246e,'subUnitId':_0x5723c0,'token':_0x1c43b0}]);});}[_0x4ecf17(0x2de)](_0x4e3cdf){const _0x83ba7d=_0x4ecf17,_0x38a83e={};_0x4e3cdf[_0x83ba7d(0x26a)](_0x107b2e=>{var _0x580308,_0x2f0c4b;const {unitId:_0x5d80cc,subUnitId:_0x3af63a,token:_0x2a97a1}=_0x107b2e;_0x38a83e[_0x5d80cc]=(_0x580308=_0x38a83e[_0x5d80cc])!=null?_0x580308:{},_0x38a83e[_0x5d80cc][_0x3af63a]=(_0x2f0c4b=_0x38a83e[_0x5d80cc][_0x3af63a])!=null?_0x2f0c4b:{},_0x38a83e[_0x5d80cc][_0x3af63a][_0x2a97a1]=!0x0;}),this['_commandService']['executeCommand'](Et['id'],_0x38a83e);}[_0x4ecf17(0x304)](_0xa7edab,_0x2d6368,_0x5ba583){const _0x46781c=_0x4ecf17;this[_0x46781c(0x20d)][_0x46781c(0xf5)](_0xa7edab,_0x2d6368,[_0x5ba583]);}[_0x4ecf17(0x1bf)](_0x4a5070,_0x3c328a,_0x349ab8){const _0x19812e=_0x4ecf17,{unitId:_0x2f48b5,subUnitId:_0x3dfa50}=_0x3c328a;this[_0x19812e(0x20d)][_0x19812e(0x295)](_0x349ab8['unitId'],_0x349ab8[_0x19812e(0x117)],_0x4a5070)&&this[_0x19812e(0x304)](_0x2f48b5,_0x3dfa50,_0x4a5070);const _0x1d8e39={'sheetId':_0x3dfa50,..._0x3c328a};this[_0x19812e(0x20d)][_0x19812e(0x204)](_0x349ab8[_0x19812e(0x2f2)],_0x349ab8[_0x19812e(0x117)],_0x4a5070,{'unitId':_0x349ab8[_0x19812e(0x2f2)],'subUnitId':_0x349ab8[_0x19812e(0x117)],'dependencyRanges':[_0x1d8e39],'getDirtyData':(_0x13a68d,_0x419cbb)=>{const _0x409d0e=_0x19812e,_0x41ce6e=this[_0x409d0e(0x1d8)],_0x37a13c=_0x41ce6e[_0x409d0e(0x340)](_0x4a5070);if(!_0x37a13c)return Vs();const {unitId:_0x53ae2d,subUnitId:_0x15ea47}=_0x37a13c,_0x49f612=Os(_0x13a68d,_0x419cbb,_0x3c328a);if(_0x49f612[_0x409d0e(0x1b4)]>0x0){const _0xce4094=_0x41ce6e[_0x409d0e(0x193)](_0x2f48b5,_0x4a5070),_0x5c0977=_0xce4094[_0x409d0e(0x2c1)](),_0x5c15c0=this[_0x409d0e(0x26e)](_0x3c328a['unitId'],_0x3c328a[_0x409d0e(0x117)],_0x419cbb),_0x7a23e7={},_0x30022c=this[_0x409d0e(0x1d8)][_0x409d0e(0x276)](_0x53ae2d)[_0x409d0e(0x33b)]()||_0x54995d,_0x3dbdf6=[];for(const _0x3153db of _0x49f612){const _0x25da3a=_0x3153db-(_0x3c328a[_0x409d0e(0x22e)]['startColumn']||0x0),_0x1aa721=_0x5c0977[_0x25da3a];_0x3dbdf6['push'](_0x1aa721),_0x7a23e7[_0x1aa721]=_0xce4094[_0x409d0e(0x184)](_0x1aa721)[_0x409d0e(0x16e)](),_0x41ce6e[_0x409d0e(0x276)](_0x2f48b5)[_0x409d0e(0x319)](_0x1aa721,_0x3c328a,_0x25da3a,_0x5c15c0);}_0xce4094[_0x409d0e(0x220)](_0x3dbdf6)[_0x409d0e(0x26a)](_0x1f8004=>{const [_0x1f5974,_0x25a04a]=_0x1f8004,_0x2046dc=_0xce4094['getFieldById'](_0x1f5974),_0xc72efb=_0xce4094['getFieldById'](_0x25a04a);_0x2046dc&&_0xc72efb&&_0x2046dc['refreshGroupField'](_0xc72efb);}),_0xce4094['updateAllDisplayName']();const _0x26bad2=_0x41ce6e[_0x409d0e(0x200)](_0x4a5070);if(_0x26bad2){xs(_0x26bad2,_0x7a23e7,_0x30022c),_0x26bad2[_0x409d0e(0x35b)](!0x0);const _0x10a28b=_0x26bad2[_0x409d0e(0x337)](),_0x4d4ee3=_0x41ce6e[_0x409d0e(0x32e)](_0x53ae2d,_0x15ea47,_0x4a5070),_0x239bf5=_0x41ce6e['getDataFieldManager'](_0x2f48b5)[_0x409d0e(0x213)]();_0x41ce6e[_0x409d0e(0x18b)](_0x53ae2d,_0x15ea47,B[_0x409d0e(0x1c8)],_0x4a5070,_0x10a28b,_0x4d4ee3,_0x239bf5,!0x0);}}return this[_0x409d0e(0xe1)](_0x53ae2d,_0x15ea47,_0x4a5070);}});}[_0x4ecf17(0x26e)](_0x5200d6,_0x4717b8,_0x4ee281){var _0x1ec7a8,_0xb2868c;const {arrayFormulaCellData:_0x3c6b1e,unitData:_0x3255a7}=_0x4ee281,_0x3b1ef0=(_0x1ec7a8=_0x3c6b1e==null?void 0x0:_0x3c6b1e[_0x5200d6])==null?void 0x0:_0x1ec7a8[_0x4717b8],_0x14e0fc=(_0xb2868c=_0x3255a7==null?void 0x0:_0x3255a7[_0x5200d6])==null?void 0x0:_0xb2868c[_0x4717b8];return{'arrayFormulaCellDataMatrix':_0x3b1ef0,'unitDataMatrix':_0x14e0fc};}[_0x4ecf17(0xe1)](_0x547bbe,_0x32fbf7,_0x5e77c3){const _0x2ee0cb=_0x4ecf17,_0x44cb00=this[_0x2ee0cb(0x1d8)][_0x2ee0cb(0x259)](_0x547bbe,_0x32fbf7,_0x5e77c3),_0xefcd8=[],_0x4c5ca3=new _0x440b29();if(_0x44cb00){const {rangeCache:_0x122c31,matrix:_0x13e55c,oldRangeCache:_0x3d75c4,oldMatrix:_0x57ff26}=_0x44cb00,_0x4ce81d=Bt(_0x3d75c4),_0x1a52ce=Bt(_0x122c31);_0xefcd8[_0x2ee0cb(0x2ce)](..._0x1a52ce,..._0x4ce81d),_0x57ff26&&_0x3d75c4&&_0x4ce81d[_0x2ee0cb(0x26a)](_0x1b71bc=>{const _0x3ffc92=_0x2ee0cb;for(let _0x1eda86=_0x1b71bc['startRow'];_0x1eda86<=_0x1b71bc[_0x3ffc92(0x139)];_0x1eda86++)for(let _0x5c029e=_0x1b71bc[_0x3ffc92(0x2f8)];_0x5c029e<=_0x1b71bc['endColumn'];_0x5c029e++)_0x4c5ca3['realDeleteValue'](_0x1eda86,_0x5c029e);}),_0x13e55c&&_0x1a52ce&&_0x1a52ce['forEach'](_0x3df3f6=>{const _0x461682=_0x2ee0cb;for(let _0x3247ff=_0x3df3f6[_0x461682(0x171)];_0x3247ff<=_0x3df3f6['endRow'];_0x3247ff++)for(let _0x48107e=_0x3df3f6['startColumn'];_0x48107e<=_0x3df3f6[_0x461682(0x2c3)];_0x48107e++)_0x4c5ca3[_0x461682(0x2e1)](_0x3247ff,_0x48107e,_0x13e55c[_0x461682(0x345)](_0x3247ff,_0x48107e));});}const _0x4d97a9={};return _0x4d97a9[_0x547bbe]={[_0x32fbf7]:ks(_0xefcd8)},{'runtimeCellData':{[_0x547bbe]:{[_0x32fbf7]:_0x4c5ca3}},'dirtyRanges':_0x4d97a9};}[_0x4ecf17(0x15e)](){}};dt=Us([at(0x0,_0x1878d6($)),at(0x1,_0x1878d6(_0x496f1e)),at(0x2,_0x1878d6(_0x372820)),at(0x3,_0x1878d6(_0x376a2b)),at(0x4,_0x1878d6(_0x1b260f))],dt);var As=Object[_0x4ecf17(0x24f)],js=(_0x1d7f9d,_0x36156e,_0x364a11,_0x581ac3)=>{const _0x1e11c5=_0x4ecf17;for(var _0x46077f=_0x581ac3>0x1?void 0x0:_0x581ac3?As(_0x36156e,_0x364a11):_0x36156e,_0x5927dd=_0x1d7f9d[_0x1e11c5(0x1b4)]-0x1,_0x216b35;_0x5927dd>=0x0;_0x5927dd--)(_0x216b35=_0x1d7f9d[_0x5927dd])&&(_0x46077f=_0x216b35(_0x46077f)||_0x46077f);return _0x46077f;},_t=(_0x154eae,_0x30c8cc)=>(_0x41f968,_0x10f0ee)=>_0x30c8cc(_0x41f968,_0x10f0ee,_0x154eae);let ct=class extends _0xf43bf4{constructor(_0x20a9c3,_0xb075f5,_0x30280e,_0x4a7e8f){const _0x58705f=_0x4ecf17;super(),E(this,_0x58705f(0x162),new _0x3ef362()),(this[_0x58705f(0x1ac)]=_0x20a9c3,this[_0x58705f(0xe2)]=_0xb075f5,this['_sheetsSelectionsService']=_0x30280e,this[_0x58705f(0x2ee)]=_0x4a7e8f,this[_0x58705f(0x1b3)]());}[_0x4ecf17(0x1b3)](){const _0x454edb=_0x4ecf17;this[_0x454edb(0x258)](this[_0x454edb(0xe2)][_0x454edb(0x22b)]({'getMutations':_0x56330a=>{const _0x8735ca=_0x454edb;if(_0x56330a['id']===_0x203489['id']||_0x56330a['id']===_0x425366['id']){const _0x1291d6=[],_0x304e1c=[],_0x3d4119=this['_sheetsSelectionsService']['getCurrentSelections']()[_0x8735ca(0xf7)](_0x21d2a3=>_0x21d2a3[_0x8735ca(0x22e)]),_0x174a0b=_0x7b9dcd(this[_0x8735ca(0x1ac)]);if(!_0x174a0b)return{'redos':[],'undos':[]};const {unitId:_0x5b835a,subUnitId:_0xfb9b8a}=_0x174a0b,_0x5e73eb={},_0x17487d=this[_0x8735ca(0x2ee)][_0x8735ca(0x112)](_0x5b835a,_0xfb9b8a);if(_0x17487d!=null&&_0x17487d['size'])for(const [_0x1a464b,_0x2834d7]of _0x17487d){const {unitId:_0x49402f,subUnitId:_0x516329,row:_0x2a8dbd,col:_0xd586d6}=_0x2834d7[_0x8735ca(0x1d1)];_0x49402f===_0x174a0b[_0x8735ca(0x2f2)]&&_0x516329===_0x174a0b[_0x8735ca(0x117)]&&(_0x5e73eb[_0x2a8dbd+'-'+_0xd586d6]=_0x1a464b);}return _0x3d4119&&_0x174a0b&&_0x3d4119[_0x8735ca(0x26a)](_0x36f04c=>{const _0x1d2ecc=_0x8735ca;_0x23adbb[_0x1d2ecc(0x2a8)](_0x36f04c,(_0x1f022a,_0x54fca7)=>{const _0x6df35e=_0x1d2ecc,_0x245fd5=_0x1f022a+'-'+_0x54fca7;if(_0x5e73eb[_0x245fd5]){const _0x173e2e=_0x5e73eb[_0x245fd5];_0x1291d6[_0x6df35e(0x2ce)]({'id':xt['id'],'params':{'unitId':_0x5b835a,'subUnitId':_0xfb9b8a,'pivotTableId':_0x173e2e}});const _0x8eaebe=this[_0x6df35e(0x2ee)][_0x6df35e(0x193)](_0x5b835a,_0x173e2e),_0x4190f8=this[_0x6df35e(0x2ee)][_0x6df35e(0x32e)](_0x5b835a,_0xfb9b8a,_0x173e2e);_0x304e1c[_0x6df35e(0x2ce)]({'id':Ct['id'],'params':{'unitId':_0x5b835a,'subUnitId':_0xfb9b8a,'pivotTableId':_0x173e2e,'pivotTableConfig':_0x4190f8,'collectionConfig':_0x8eaebe}});}});}),{'redos':_0x1291d6,'undos':_0x304e1c};}return{'redos':[],'undos':[]};}}));}};ct=js([_t(0x0,_0x2e3e1a),_t(0x1,_0x1878d6(_0x11b527)),_t(0x2,_0x1878d6(_0x2ceeec)),_t(0x3,_0x1878d6(ve))],ct);var Ls=Object['getOwnPropertyDescriptor'],Bs=(_0x23ab19,_0x342fb9,_0x353eb3,_0x325611)=>{const _0x312472=_0x4ecf17;for(var _0x2d920c=_0x325611>0x1?void 0x0:_0x325611?Ls(_0x342fb9,_0x353eb3):_0x342fb9,_0x137d52=_0x23ab19[_0x312472(0x1b4)]-0x1,_0x6ebbc6;_0x137d52>=0x0;_0x137d52--)(_0x6ebbc6=_0x23ab19[_0x137d52])&&(_0x2d920c=_0x6ebbc6(_0x2d920c)||_0x2d920c);return _0x2d920c;},rt=(_0x31ff95,_0x331aac)=>(_0x55d14c,_0x179fa2)=>_0x331aac(_0x55d14c,_0x179fa2,_0x31ff95);let ut=class extends _0xf43bf4{constructor(_0x16c0d4,_0x270fc7,_0x1314ca,_0x3970c1,_0x125f93){const _0x518de2=_0x4ecf17;super(),this[_0x518de2(0xe2)]=_0x16c0d4,this[_0x518de2(0x22f)]=_0x270fc7,this[_0x518de2(0x1ac)]=_0x1314ca,this[_0x518de2(0x2ee)]=_0x3970c1,this[_0x518de2(0x189)]=_0x125f93,this[_0x518de2(0x153)]();}[_0x4ecf17(0x292)](_0x230df8,_0x467a40,_0x4e86c1){const _0x360161=_0x4ecf17,{pageView:_0x40230f,cornerView:_0x2f5d4d,rowView:_0x450d93,colView:_0xe599b7,dataView:_0x3d49f3}=_0x467a40,_0x11baf4=_0x230df8;let _0x452606;if(_0x4e86c1)_0x452606=[...Bi(_0x11baf4)];else{const _0x3a5530=ge(_0x11baf4,_0x40230f,!0x0),_0x4299ea=_0x40230f['lastRow']>=0x0?_0x40230f[_0x360161(0x225)]+0x1:0x0,_0x372bd2=_0x2f5d4d[_0x360161(0x113)],_0x4bc740=_0x2f5d4d[_0x360161(0xf9)],_0x29d25b=_0x3a5530[_0x360161(0x1b4)]>0x0?It:0x0,_0x39539f=ge({'row':_0x11baf4['row']+_0x4299ea+_0x29d25b,'col':_0x11baf4[_0x360161(0x17c)]},_0x2f5d4d,!0x1,!0x1),_0x52a4e6=ge({'row':_0x11baf4[_0x360161(0x1ab)]+_0x4299ea+_0x29d25b+_0x372bd2,'col':_0x11baf4[_0x360161(0x17c)]},_0x450d93,!0x1,!0x0),_0x4d6774=ge({'row':_0x11baf4[_0x360161(0x1ab)]+_0x4299ea+_0x29d25b,'col':_0x11baf4['col']+_0x4bc740},_0xe599b7,!0x1,!0x0),_0x55a044=ge({'row':_0x11baf4[_0x360161(0x1ab)]+_0x4299ea+_0x29d25b+_0x372bd2,'col':_0x11baf4['col']+_0x4bc740},_0x3d49f3,!0x1,!0x0);_0x452606=[..._0x3a5530,..._0x39539f,..._0x52a4e6,..._0x4d6774,..._0x55a044];}return _0x452606;}[_0x4ecf17(0x153)](){const _0x2c6ea4=_0x4ecf17;this[_0x2c6ea4(0x258)](this[_0x2c6ea4(0x189)]['interceptor']['intercept'](this['_sheetsPivotTableService'][_0x2c6ea4(0x2d7)][_0x2c6ea4(0x2ae)]()[_0x2c6ea4(0x237)],{'handler':(_0x5f3f75,_0x46ae83)=>{const _0x3a4a1c=_0x2c6ea4,{cellInfo:_0x548381,view:_0x593510,isEmpty:_0x237ac1}=_0x46ae83,_0x2f150f=_0x548381,{unitId:_0x4db2a5,subUnitId:_0x44c7f7}=_0x2f150f,_0x27e337=this[_0x3a4a1c(0x292)](_0x548381,_0x593510,_0x237ac1),_0x15f05c=this[_0x3a4a1c(0xe2)][_0x3a4a1c(0x157)]({'unitId':_0x4db2a5,'subUnitId':_0x44c7f7,'ranges':_0x27e337}),_0x40ec7a=Ho(this[_0x3a4a1c(0x22f)],_0x4db2a5,_0x44c7f7,_0x27e337);_0x40ec7a[_0x3a4a1c(0x218)]&&(_0x15f05c[_0x3a4a1c(0x2f0)]['push'](_0x40ec7a[_0x3a4a1c(0x2b8)]),_0x15f05c[_0x3a4a1c(0x354)]['push'](_0x40ec7a[_0x3a4a1c(0x164)]));const _0x45add3=this[_0x3a4a1c(0x159)](_0x593510,_0x548381);return _0x15f05c['redos'][_0x3a4a1c(0x2ce)](..._0x45add3[_0x3a4a1c(0x2f0)]),_0x15f05c[_0x3a4a1c(0x354)][_0x3a4a1c(0x2ce)](..._0x45add3[_0x3a4a1c(0x354)]),{'redos':_0x15f05c[_0x3a4a1c(0x2f0)],'undos':_0x15f05c[_0x3a4a1c(0x354)]};}}));}['getAutoFitColumnsMutations'](_0x4db186,_0x3031e5){const _0x3dc193=_0x4ecf17,{col:_0xf526c7,unitId:_0x5b1551,subUnitId:_0x2c085e}=_0x3031e5,_0x418ffa=[],_0x282478=[],_0x1ea889=_0x7b9dcd(this[_0x3dc193(0x1ac)],{'unitId':_0x5b1551,'subUnitId':_0x2c085e});if(!_0x3031e5||!_0x4db186||!_0x1ea889)return{'undos':_0x282478,'redos':_0x418ffa};const _0xe2b07=this['_sheetsPivotTableConfigModel'][_0x3dc193(0x27f)](),{colView:_0x2ee8a4,dataView:_0x5d4880,cornerView:_0x314d01,rowView:_0xbd0e0d,formatMap:_0x2a8887}=_0x4db186,_0x2a54da=yo(_0x2ee8a4,_0xe2b07,!0x0,_0x2a8887),_0x35a4dd=yo(_0xbd0e0d,_0xe2b07,!0x1,_0x2a8887),_0x2595c8=Ji(_0x5d4880),_0x3e0531=Gi(_0x314d01),{worksheet:_0x1d408a}=_0x1ea889;if(typeof window<'u'&&window['document']){const _0x5b4674=_0x3c8ecf({...fe[_0x3dc193(0x316)]}),_0x37f8f1=_0x5a0f55[_0x3dc193(0x18a)](_0x2a54da,_0x5b4674)[_0x3dc193(0x106)]+0x10,_0x62c42=_0x5a0f55['getTextSize'](_0x2595c8,_0x5b4674)[_0x3dc193(0x106)],_0x1cdfcb=Math[_0x3dc193(0x23b)](Math[_0x3dc193(0x274)](_0x37f8f1,_0x62c42))+0x10,_0x4411c8=Math['floor'](_0x5a0f55[_0x3dc193(0x18a)](_0x35a4dd,_0x5b4674)['width']),_0x570231=Math['floor'](_0x5a0f55[_0x3dc193(0x18a)](_0x3e0531,_0x5b4674)[_0x3dc193(0x106)]),_0x56dfe5=Math['max'](_0x4411c8,_0x570231,0x28)+0xc,_0x1902fb=_0x2ee8a4[_0x3dc193(0xf9)]+_0x314d01[_0x3dc193(0xf9)],_0x2c7f7e={},_0x49f331={};for(let _0x7bc2b=_0xf526c7;_0x7bc2b<_0xf526c7+_0x1902fb;_0x7bc2b++){const _0x2bba17=_0x1d408a[_0x3dc193(0x253)](_0x7bc2b);_0x2c7f7e[_0x7bc2b]=_0x2bba17,_0x7bc2b-_0xf526c7<_0x314d01[_0x3dc193(0xf9)]?_0x49f331[_0x7bc2b-_0xf526c7]=_0x56dfe5:_0x49f331[_0x7bc2b-_0xf526c7]=_0x1cdfcb;}_0x418ffa['push']({'id':_0x48622a['id'],'params':{'subUnitId':_0x2c085e,'unitId':_0x5b1551,'ranges':[{'startColumn':_0xf526c7,'endColumn':_0xf526c7+_0x1902fb-0x1,'startRow':0x0,'endRow':_0x1d408a[_0x3dc193(0x11a)]()-0x1}],'colWidth':_0x49f331}}),_0x282478[_0x3dc193(0x2ce)]({'id':_0x48622a['id'],'params':{'subUnitId':_0x2c085e,'unitId':_0x5b1551,'ranges':[{'startColumn':_0xf526c7,'endColumn':_0xf526c7+_0x1902fb-0x1,'startRow':0x0,'endRow':_0x1d408a[_0x3dc193(0x11a)]()-0x1}],'colWidth':_0x2c7f7e}});}return{'undos':_0x282478,'redos':_0x418ffa};}};ut=Bs([rt(0x0,_0x1878d6(_0x11b527)),rt(0x1,_0x1878d6(_0x1b260f)),rt(0x2,_0x1878d6(_0x2e3e1a)),rt(0x3,_0x1878d6(ve)),rt(0x4,_0x1878d6(ie))],ut);var $s=Object[_0x4ecf17(0x24f)],zs=(_0x4737cf,_0x6787a8,_0x11ff3a,_0x56161f)=>{for(var _0x1114ab=_0x56161f>0x1?void 0x0:_0x56161f?$s(_0x6787a8,_0x11ff3a):_0x6787a8,_0x1bdab4=_0x4737cf['length']-0x1,_0x2eece7;_0x1bdab4>=0x0;_0x1bdab4--)(_0x2eece7=_0x4737cf[_0x1bdab4])&&(_0x1114ab=_0x2eece7(_0x1114ab)||_0x1114ab);return _0x1114ab;},Ae=(_0x271d56,_0x1b9e62)=>(_0x2be40a,_0x45eedd)=>_0x1b9e62(_0x2be40a,_0x45eedd,_0x271d56);let ft=class extends _0xf43bf4{constructor(_0x1bd562,_0x5a4948,_0x22604f,_0x412228,_0x474ab1,_0x5256be,_0x4335ee){const _0x19b210=_0x4ecf17;super(),E(this,_0x19b210(0x162),new _0x3ef362()),(this[_0x19b210(0x22f)]=_0x1bd562,this[_0x19b210(0x20f)]=_0x5a4948,this['_commandService']=_0x22604f,this[_0x19b210(0x1ac)]=_0x412228,this['_sheetsPivotTableConfigModel']=_0x474ab1,this['_sheetsPivotTableAdaptorModel']=_0x5256be,this['_sheetInterceptorService']=_0x4335ee,this['_onRefRangeChange']());}[_0x4ecf17(0x1a2)](){const _0x5b4909=_0x4ecf17,_0x50f3ad=(_0x2f732e,_0x4bea7b)=>{const _0x586674=_0x3142,_0x108b76=this['_univerInstanceService'][_0x586674(0x306)](_0x5d5a47[_0x586674(0x2b0)]);if(!_0x108b76||!(_0x108b76==null?void 0x0:_0x108b76[_0x586674(0x2bf)](_0x4bea7b)))return;this['disposableCollection'][_0x586674(0x15e)]();const _0x417254=_0x2cbc6b=>this[_0x586674(0x176)](_0x2cbc6b,_0x2f732e,_0x4bea7b),_0x5cd66b=this[_0x586674(0x2ee)][_0x586674(0x112)](_0x2f732e,_0x4bea7b);if(!(_0x5cd66b!=null&&_0x5cd66b[_0x586674(0x262)]))return;Array[_0x586674(0x210)](_0x5cd66b['values']())['map'](_0x13f6cf=>{const {row:_0xfa121d,col:_0x4698a9}=_0x13f6cf['targetCellInfo'];return _0x5a6119(_0xfa121d,_0x4698a9);})[_0x586674(0x26a)](_0x299614=>{const _0x161884=_0x586674;this[_0x161884(0x162)]['add'](this['_refRangeService'][_0x161884(0x2ea)](_0x299614,_0x417254,_0x2f732e,_0x4bea7b));});},_0x2e0759=()=>{const _0x22b951=_0x3142,_0x5a3129=this[_0x22b951(0x1ac)][_0x22b951(0x306)](_0x5d5a47['UNIVER_SHEET']);if(_0x5a3129){const _0x20b8b9=_0x5a3129[_0x22b951(0x12c)]();if(!_0x20b8b9)return;_0x50f3ad(_0x5a3129[_0x22b951(0x2e8)](),_0x20b8b9[_0x22b951(0x1c3)]());}};this[_0x5b4909(0x258)](this['_commandService'][_0x5b4909(0x12b)](_0x5ddbfe=>{const _0x202536=_0x5b4909;if(_0x5ddbfe['id']===_0x2c4fcb['id']){const _0x401782=_0x5ddbfe[_0x202536(0x11e)],_0x1fd780=_0x401782[_0x202536(0x117)],_0x4fd169=_0x401782['unitId'];if(!_0x1fd780||!_0x4fd169)return;_0x50f3ad(_0x4fd169,_0x1fd780);}})),this[_0x5b4909(0x258)](this[_0x5b4909(0x2ee)][_0x5b4909(0x29d)][_0x5b4909(0x277)](_0x333c0b=>{_0x333c0b&&_0x2e0759();})),this[_0x5b4909(0x258)](this['_sheetsPivotTableConfigModel'][_0x5b4909(0x10d)][_0x5b4909(0x277)](_0x391cd1=>{const _0x2e8972=_0x5b4909,_0x5c1286=_0x7b9dcd(this[_0x2e8972(0x1ac)]);if(!_0x5c1286)return;const {unitId:_0x178467,subUnitId:_0x26d950}=_0x5c1286,{unitId:_0x19d0d9,subUnitId:_0x12f439}=_0x391cd1;_0x178467!==_0x19d0d9||_0x26d950!==_0x12f439||_0x50f3ad(_0x178467,_0x26d950);})),_0x2e0759();}[_0x4ecf17(0x176)](_0x507738,_0x3b68d5,_0x1f7220){const _0x35749f=_0x4ecf17;switch(_0x507738['id']){case _0x25b7ca['id']:return this['getRefRangeMutationsByMoveRange'](_0x507738[_0x35749f(0x11e)],_0x3b68d5,_0x1f7220);}return{'redos':[],'undos':[]};}[_0x4ecf17(0x247)](_0x37eb6a,_0x270e33,_0x48494d){const _0x5a1c8a=_0x4ecf17,{fromRange:_0x36eff7,toRange:_0x1e8424}=_0x37eb6a,_0x2738d4=[],_0x260804=[],_0x24ff21=_0x7b9dcd(this[_0x5a1c8a(0x1ac)]);if(!_0x24ff21)return{'undos':_0x260804,'redos':_0x2738d4};if(_0x270e33!==_0x24ff21[_0x5a1c8a(0x2f2)]||_0x48494d!==_0x24ff21[_0x5a1c8a(0x117)])return{'undos':_0x260804,'redos':_0x2738d4};const _0x1bf1b7=this['_sheetsPivotTableConfigModel'][_0x5a1c8a(0x112)](_0x270e33,_0x48494d);if(_0x1bf1b7!=null&&_0x1bf1b7[_0x5a1c8a(0x262)])for(const [_0x157f61,_0xbdfa70]of _0x1bf1b7){const {unitId:_0x71419,subUnitId:_0x247ffe,row:_0x26ab5b,col:_0xfe1931}=_0xbdfa70[_0x5a1c8a(0x1d1)];if(_0x71419===_0x24ff21[_0x5a1c8a(0x2f2)]&&_0x247ffe===_0x24ff21[_0x5a1c8a(0x117)]){const _0x56dcba=_0x5a6119(_0x26ab5b,_0xfe1931);if(_0x3cec3a['intersects'](_0x56dcba,_0x36eff7)){const _0x12311f=_0x26ab5b-_0x36eff7[_0x5a1c8a(0x171)],_0x27a2df=_0xfe1931-_0x36eff7[_0x5a1c8a(0x2f8)],_0x5965c3={'row':_0x1e8424[_0x5a1c8a(0x171)]+_0x12311f,'col':_0x1e8424[_0x5a1c8a(0x2f8)]+_0x27a2df};_0x2738d4[_0x5a1c8a(0x2ce)]({'id':pt['id'],'params':{'unitId':_0x71419,'subUnitId':_0x247ffe,'pivotTableId':_0x157f61,'targetCellPosition':_0x5965c3}}),_0x260804['push']({'id':pt['id'],'params':{'unitId':_0x71419,'subUnitId':_0x247ffe,'pivotTableId':_0x157f61,'targetCellPosition':{'row':_0x26ab5b,'col':_0xfe1931}}});const _0x1094ee=_0x5965c3['row']-_0x26ab5b,_0x54358b=_0x5965c3[_0x5a1c8a(0x17c)]-_0xfe1931,_0x2a68c3=[],_0xb6358e=this['_sheetsPivotTableAdaptorModel'][_0x5a1c8a(0x256)](_0x71419,_0x247ffe,_0x157f61),_0x17e63e=_0xb6358e==null?void 0x0:_0xb6358e[_0x5a1c8a(0x2a2)];if(_0x17e63e){Object[_0x5a1c8a(0x248)](_0x17e63e)[_0x5a1c8a(0x26a)](_0x3e8581=>{const _0x1c916b=_0x5a1c8a;_0x17e63e[_0x3e8581][_0x1c916b(0x26a)](_0x3c2cf4=>{const _0x2436bd=_0x1c916b,_0x545682={..._0x3c2cf4};_0x545682[_0x2436bd(0x171)]=_0x3c2cf4[_0x2436bd(0x171)]+_0x1094ee,_0x545682[_0x2436bd(0x139)]=_0x3c2cf4['endRow']+_0x1094ee,_0x545682[_0x2436bd(0x2f8)]=_0x3c2cf4[_0x2436bd(0x2f8)]+_0x54358b,_0x545682[_0x2436bd(0x2c3)]=_0x3c2cf4[_0x2436bd(0x2c3)]+_0x54358b,_0x2a68c3['push'](_0x545682);});});const _0x19c7ea=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x71419,'subUnitId':_0x247ffe,'ranges':_0x2a68c3});_0x2738d4[_0x5a1c8a(0x2ce)](..._0x19c7ea[_0x5a1c8a(0x2f0)]),_0x260804[_0x5a1c8a(0x2ce)](..._0x19c7ea[_0x5a1c8a(0x354)]);const _0x7a455e=Ho(this[_0x5a1c8a(0x22f)],_0x71419,_0x247ffe,_0x2a68c3);_0x7a455e[_0x5a1c8a(0x218)]&&(_0x2738d4[_0x5a1c8a(0x2ce)](_0x7a455e[_0x5a1c8a(0x2b8)]),_0x260804[_0x5a1c8a(0x2ce)](_0x7a455e[_0x5a1c8a(0x164)]));}}}}return{'redos':_0x2738d4,'undos':_0x260804};}};ft=zs([Ae(0x0,_0x1878d6(_0x1b260f)),Ae(0x1,_0x1878d6(_0xab9e71)),Ae(0x2,_0x372820),Ae(0x3,_0x2e3e1a),Ae(0x4,_0x1878d6(ve)),Ae(0x5,_0x1878d6(Ne)),Ae(0x6,_0x1878d6(_0x11b527))],ft);var Js=Object['getOwnPropertyDescriptor'],Gs=(_0x5072ab,_0x245118,_0x48eb24,_0x1bcf12)=>{const _0x562e6b=_0x4ecf17;for(var _0x1a3cfe=_0x1bcf12>0x1?void 0x0:_0x1bcf12?Js(_0x245118,_0x48eb24):_0x245118,_0x4551a7=_0x5072ab[_0x562e6b(0x1b4)]-0x1,_0x5f212b;_0x4551a7>=0x0;_0x4551a7--)(_0x5f212b=_0x5072ab[_0x4551a7])&&(_0x1a3cfe=_0x5f212b(_0x1a3cfe)||_0x1a3cfe);return _0x1a3cfe;},_o=(_0x460ae8,_0x95a2f3)=>(_0x43c5bd,_0x428547)=>_0x95a2f3(_0x43c5bd,_0x428547,_0x460ae8);let gt=class extends _0xf43bf4{constructor(_0x1aa5ea,_0x3e7234){const _0x2fe1b7=_0x4ecf17;super(),this[_0x2fe1b7(0xe2)]=_0x1aa5ea,this[_0x2fe1b7(0x2ee)]=_0x3e7234,this[_0x2fe1b7(0x154)]();}['_initRemoveSheetCommandInterceptor'](){const _0x4c311d=_0x4ecf17;this[_0x4c311d(0x258)](this[_0x4c311d(0xe2)][_0x4c311d(0x22b)]({'getMutations':_0x2b2ea3=>{const _0x2628f6=_0x4c311d;if(_0x2b2ea3['id']===_0x32aaa5['id']){const _0x25c54d=[],_0x4f8d05=[],_0x1f4e68=_0x2b2ea3[_0x2628f6(0x11e)],{unitId:_0x3c9833,subUnitId:_0x5ce18b}=_0x1f4e68;if(!_0x3c9833||!_0x5ce18b)return{'undos':_0x4f8d05,'redos':_0x25c54d};const _0x218c9d=this[_0x2628f6(0x2ee)]['getSubUnitPivotConfigs'](_0x3c9833,_0x5ce18b);if(_0x218c9d!=null&&_0x218c9d[_0x2628f6(0x262)])for(const [_0x4262d3,_0x286525]of _0x218c9d){_0x25c54d['push']({'id':xt['id'],'params':{'unitId':_0x3c9833,'subUnitId':_0x5ce18b,'pivotTableId':_0x4262d3}});const _0x5d0283={...this[_0x2628f6(0x2ee)]['getCollection'](_0x3c9833,_0x4262d3)};_0x4f8d05[_0x2628f6(0x2ce)]({'id':Ct['id'],'params':{'unitId':_0x3c9833,'subUnitId':_0x5ce18b,'pivotTableId':_0x4262d3,'pivotTableConfig':_0x286525,'collectionConfig':_0x5d0283}});}return{'redos':_0x25c54d,'undos':_0x4f8d05};}return{'redos':[],'undos':[]};}}));}};gt=Gs([_o(0x0,_0x1878d6(_0x11b527)),_o(0x1,_0x1878d6(ve))],gt);var Ws=Object['getOwnPropertyDescriptor'],Ks=(_0xd750c5,_0x7c37c4,_0x41337c,_0x2f930a)=>{const _0x11193f=_0x4ecf17;for(var _0x44cc09=_0x2f930a>0x1?void 0x0:_0x2f930a?Ws(_0x7c37c4,_0x41337c):_0x7c37c4,_0x34a91d=_0xd750c5[_0x11193f(0x1b4)]-0x1,_0x38cac3;_0x34a91d>=0x0;_0x34a91d--)(_0x38cac3=_0xd750c5[_0x34a91d])&&(_0x44cc09=_0x38cac3(_0x44cc09)||_0x44cc09);return _0x44cc09;},We=(_0x94ed05,_0x4d28f6)=>(_0x5deca7,_0x32c04f)=>_0x4d28f6(_0x5deca7,_0x32c04f,_0x94ed05);let ht=class extends _0xf43bf4{constructor(_0x22b607,_0x253471,_0x1b79ce,_0x4a69b7,_0x50e00d,_0x573332){const _0x3430c2=_0x4ecf17;super(),this[_0x3430c2(0x275)]=_0x22b607,this['_sheetsPivotRpcService']=_0x253471,this[_0x3430c2(0x236)]=_0x1b79ce,this['_sheetsPivotTableConfigModel']=_0x4a69b7,this[_0x3430c2(0x1ac)]=_0x50e00d,this[_0x3430c2(0x1fa)]=_0x573332,this[_0x3430c2(0x186)](),this['registerDirtyService']();}['_initDataSendListener'](){const _0x2cc447=_0x4ecf17;this[_0x2cc447(0x258)](this[_0x2cc447(0x275)][_0x2cc447(0x12b)](_0x593e8c=>{const _0x224b47=_0x2cc447;if(_0x593e8c['id']!==lo['id'])return;const _0x30c22e=_0x593e8c[_0x224b47(0x11e)];this[_0x224b47(0x1be)][_0x224b47(0x228)](_0x30c22e);})),this[_0x2cc447(0x258)](this['_commandService'][_0x2cc447(0x12b)](_0x3c0df2=>{const _0x2a1c8e=_0x2cc447;if(_0x3c0df2['id']===co['id']){const _0x1836d9=_0x3c0df2[_0x2a1c8e(0x11e)];if(_0x1836d9){const {unitId:_0x17ed7f,subUnitId:_0x5785be,oldSubUnitId:_0x56e541,pivotTableId:_0x312b69,pivotTableConfig:_0x5d5b66,collectionConfig:_0x37934f}=_0x1836d9;this['_sheetsPivotTableConfigModel'][_0x2a1c8e(0x1f2)](_0x17ed7f,_0x56e541,_0x1836d9[_0x2a1c8e(0x349)],null),this[_0x2a1c8e(0x2ee)][_0x2a1c8e(0x1f2)](_0x17ed7f,_0x5785be,_0x312b69,_0x5d5b66),this[_0x2a1c8e(0x2ee)]['updateCollectionConfig'](_0x17ed7f,_0x37934f);}}})),this['disposeWithMe'](this[_0x2cc447(0x275)]['onCommandExecuted'](_0x171086=>{const _0x5ba832=_0x2cc447;if(_0x171086['id']!==Dt['id'])return;const _0xf02039=_0x7b9dcd(this['_univerInstanceService']);if(!_0xf02039)return;const {unitId:_0x4e58fa,subUnitId:_0x514139}=_0xf02039,_0x29801d=_0x171086[_0x5ba832(0x11e)];if(_0x29801d['collectionConfig']&&Object[_0x5ba832(0x248)](_0x29801d['collectionConfig'])['forEach'](_0x36fc46=>{const _0x199564=_0x5ba832;var _0x1add83;(_0x1add83=_0x29801d[_0x199564(0x28f)])!=null&&_0x1add83[_0x36fc46]&&this[_0x199564(0x2ee)][_0x199564(0x2b9)](_0x36fc46,_0x29801d[_0x199564(0x28f)][_0x36fc46]);}),_0x29801d[_0x5ba832(0x2ff)]){const _0x1ababa=_0x29801d[_0x5ba832(0x2ff)],{unitId:_0x22d25c,subUnitId:_0x36e340,view:_0x477381,pivotTableId:_0x2e1de8,type:_0x42abd8,pivotConfig:_0x269287}=_0x1ababa;if(_0x42abd8===B[_0x5ba832(0x315)])this[_0x5ba832(0x236)]['clearRenderCache']({'unitId':_0x22d25c,'subUnitId':_0x36e340,'pivotTableId':_0x2e1de8,'type':_0x42abd8}),this[_0x5ba832(0x2ee)]['updateConfigCache'](_0x22d25c,_0x36e340,_0x2e1de8,null);else{const _0x4ddeb1=new _0x1a96b2();_0x4ddeb1[_0x5ba832(0x15b)](_0x477381),this['_sheetsPivotTableConfigModel'][_0x5ba832(0x1f2)](_0x22d25c,_0x36e340,_0x2e1de8,_0x269287),this[_0x5ba832(0x236)][_0x5ba832(0x212)]({'unitId':_0x22d25c,'subUnitId':_0x36e340,'pivotTableId':_0x2e1de8,'type':_0x42abd8,'view':_0x4ddeb1}),this['_sheetsPivotTableAdaptorModel'][_0x5ba832(0x2d3)]({'unitId':_0x22d25c,'subUnitId':_0x36e340,'view':_0x4ddeb1,'pivotTableId':_0x2e1de8,'type':_0x42abd8});}}else _0x29801d['batch']&&(_0x29801d[_0x5ba832(0x1b2)]['forEach'](_0x19d3aa=>{const _0x1cee13=_0x5ba832,{unitId:_0x4638e6,subUnitId:_0xbc4df6,view:_0x34edc4,pivotTableId:_0x1ade8c,type:_0x43e808,pivotConfig:_0x4a7238}=_0x19d3aa,_0x1e3eb6=new _0x1a96b2();_0x1e3eb6[_0x1cee13(0x15b)](_0x34edc4),this[_0x1cee13(0x2ee)][_0x1cee13(0x1f2)](_0x4638e6,_0xbc4df6,_0x1ade8c,_0x4a7238),this[_0x1cee13(0x236)][_0x1cee13(0x2d3)]({'unitId':_0x4638e6,'subUnitId':_0xbc4df6,'view':_0x1e3eb6,'pivotTableId':_0x1ade8c,'type':_0x43e808});}),this[_0x5ba832(0x2ee)]['setPivotInitCompleted']());this[_0x5ba832(0x236)][_0x5ba832(0x2d9)](_0x4e58fa,_0x514139);}));}[_0x4ecf17(0x261)](){const _0x32d3af=_0x4ecf17;this[_0x32d3af(0x1fa)]['register'](Et['id'],{'commandId':Et['id'],'getDirtyData'(_0x1426c7){const _0x23eed4=_0x32d3af;return{'dirtyUnitFeatureMap':_0x1426c7[_0x23eed4(0x11e)]};}});}};ht=Ks([We(0x0,_0x1878d6(_0x372820)),We(0x1,_0x1878d6(Z)),We(0x2,_0x1878d6(Ne)),We(0x3,_0x1878d6(ve)),We(0x4,_0x1878d6(_0x2e3e1a)),We(0x5,_0x2dce65)],ht);var Hs=Object['defineProperty'],qs=Object[_0x4ecf17(0x24f)],Ys=(_0x19353a,_0x1c0649,_0x553a23)=>_0x1c0649 in _0x19353a?Hs(_0x19353a,_0x1c0649,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x553a23}):_0x19353a[_0x1c0649]=_0x553a23,Qs=(_0x3ff757,_0x258416,_0x31d5c8,_0x422c3e)=>{const _0x106dd9=_0x4ecf17;for(var _0x7ce589=_0x422c3e>0x1?void 0x0:_0x422c3e?qs(_0x258416,_0x31d5c8):_0x258416,_0x415d1c=_0x3ff757[_0x106dd9(0x1b4)]-0x1,_0x2ad623;_0x415d1c>=0x0;_0x415d1c--)(_0x2ad623=_0x3ff757[_0x415d1c])&&(_0x7ce589=_0x2ad623(_0x7ce589)||_0x7ce589);return _0x7ce589;},Ft=(_0x95f761,_0x10686a)=>(_0x463aa7,_0x4474ee)=>_0x10686a(_0x463aa7,_0x4474ee,_0x95f761),Xo=(_0x4c49b5,_0x517e27,_0x3ea888)=>Ys(_0x4c49b5,typeof _0x517e27!=_0x4ecf17(0x32d)?_0x517e27+'':_0x517e27,_0x3ea888);let Ut=class extends _0x144815{constructor(_0x54ec7c=Mo,_0x2f642b,_0x35c4e2,_0x30b346,_0x1d200d){const _0x593393=_0x4ecf17;super(),this[_0x593393(0x336)]=_0x54ec7c,this[_0x593393(0x22f)]=_0x2f642b,this[_0x593393(0x275)]=_0x35c4e2,this[_0x593393(0x325)]=_0x30b346,this[_0x593393(0x132)]=_0x1d200d;const {..._0x4770c0}=_0x3bab17({},Mo,this['_config']);this['_configService']['setConfig'](Yo,_0x4770c0),this[_0x593393(0x1dd)](),this[_0x593393(0xea)]();}[_0x4ecf17(0xea)](){const _0x14bf95=_0x4ecf17;var _0x20be09;const _0x48fe97=(_0x20be09=this['_config'])==null?void 0x0:_0x20be09[_0x14bf95(0x246)];this['_configService'][_0x14bf95(0x127)](Y,_0x48fe97===!0x0);}['onStarting'](){const _0xe223e4=_0x4ecf17;var _0x2addb3;let _0x69149a=[];const _0x132171=(_0x2addb3=this[_0xe223e4(0x336)])==null?void 0x0:_0x2addb3['notExecuteFormula'];_0x132171===!0x0?_0x69149a=[[ie],[Z],[ht],[Ne],[ve],[gt],[ct],[ft],[ut]]:_0x132171===!0x1?_0x69149a=[[$],[dt]]:_0x132171===void 0x0&&(_0x69149a=[[$],[dt],[ie],[Z],[ht],[Ne],[ve],[gt],[ct],[ft],[ut]]),_0x69149a[_0xe223e4(0x26a)](_0x32d6c7=>this[_0xe223e4(0x22f)]['add'](_0x32d6c7)),[dt,ht,ie,ct,gt,ft,ut][_0xe223e4(0x26a)](_0x2a459a=>{const _0x367831=_0xe223e4;this[_0x367831(0x22f)][_0x367831(0x295)](_0x2a459a)&&this[_0x367831(0x22f)][_0x367831(0x181)](_0x2a459a);});}[_0x4ecf17(0x1dd)](){const _0x2e6df1=_0x4ecf17;[ps,ms,hs,Is,Ss,Ns,Fs,Ps,ws,Ms,Rs,Ds,Cs,bs,Ct,to,xt,$t,Qo,Zo,Kt,zt,Jt,Gt,qt,Ht,pt,ro,lo,Dt,Zt,eo,Yt,Wt,uo,oo,Xt,Et,co,_s,Qt,ys,Ts][_0x2e6df1(0x26a)](_0x3a4f12=>{const _0x2d6636=_0x2e6df1;var _0x683891;(_0x683891=this[_0x2d6636(0x132)])==null||_0x683891[_0x2d6636(0x166)](_0x3a4f12),this['_commandService'][_0x2d6636(0x254)](_0x3a4f12);});}};Xo(Ut,_0x4ecf17(0x1d0),ao),Xo(Ut,_0x4ecf17(0x168),_0x5d5a47[_0x4ecf17(0x2b0)]),Ut=Qs([_0x55eba3(_0x28ac39),Ft(0x1,_0x1878d6(_0x1b260f)),Ft(0x2,_0x1878d6(_0x372820)),Ft(0x3,_0x24eb52),Ft(0x4,_0x4a2673(_0x31afff))],Ut);export{hs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ms as AddPivotTableCommand,Ct as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,Cs as MovePivotTableCommand,A as PivotDisplayDataType,bs as PivotDrillDownCommand,B as PivotTableOperationEnum,Et as PivotTableViewDirtyMarkOperation,Lo as PositionType,Ss as RemovePivotFieldCommand,zt as RemovePivotFieldMutation,xt as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Ts as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ps as SetPivotCollapseCommand,Gt as SetPivotCollapseMutation,Wt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,Zt as UpdateFieldPositionMutation,Rs as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Bi as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ai as getPivotCellInfo,go as getPivotInfoByLicense,ji as getPivotTableInfo,vt as transFromCellValue,Bt as unionPivotViewRange};
1
+ const _0x2cfc65=_0x2e44;(function(_0x46cce6,_0x18a43d){const _0x1107f7=_0x2e44,_0x51e9d3=_0x46cce6();while(!![]){try{const _0xd7b271=-parseInt(_0x1107f7(0x255))/0x1+parseInt(_0x1107f7(0x1e7))/0x2+parseInt(_0x1107f7(0x26d))/0x3+parseInt(_0x1107f7(0x300))/0x4*(parseInt(_0x1107f7(0x375))/0x5)+parseInt(_0x1107f7(0x168))/0x6*(-parseInt(_0x1107f7(0x139))/0x7)+-parseInt(_0x1107f7(0x1b1))/0x8*(parseInt(_0x1107f7(0x12a))/0x9)+parseInt(_0x1107f7(0x31c))/0xa*(parseInt(_0x1107f7(0x228))/0xb);if(_0xd7b271===_0x18a43d)break;else _0x51e9d3['push'](_0x51e9d3['shift']());}catch(_0x20efe4){_0x51e9d3['push'](_0x51e9d3['shift']());}}}(_0x4801,0xc35a0));var rn=Object[_0x2cfc65(0x2d7)],ln=(_0x13e402,_0x9e334c,_0x38ac65)=>_0x9e334c in _0x13e402?rn(_0x13e402,_0x9e334c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38ac65}):_0x13e402[_0x9e334c]=_0x38ac65,U=(_0x94c8c0,_0x4a2d96,_0x653559)=>ln(_0x94c8c0,typeof _0x4a2d96!=_0x2cfc65(0x194)?_0x4a2d96+'':_0x4a2d96,_0x653559);import{PivotCellStyleTypeEnum as _0x71ed97,PivotViewCellValueTypeEnum as _0xc85d3a,isPrefixValue as _0x4d1932,isErrorValue as _0x16426a,PivotErrorTypeEnum as _0x3c91e8,PivotDateGroupFieldDateTypeEnum as _0x43d554,DataFieldManager as _0x381862,FieldsCollection as _0x5df76f,isDateValue as _0x31a954,DataField as _0x2c0cfa,generateHexNumber as _0x552661,isBaseGroupField as _0x228625,PivotTable as _0xa87c2b,PivotSubtotalTypeEnum as _0x383156,PivotTableFiledAreaEnum as _0xeefe5e,excelDateToUnixMilliseconds as _0x181a06,PivotDataFieldTypeEnum as _0x4b22e0,DateGroupField as _0x21a19e,createValueField as _0x10871b,createLabelField as _0x8b4139,PivotTableChangeTypeEnum as _0x25cb6c,PivotView as _0x1b10b0,GlobalConfig as _0x133eb4,isDateGroupFieldJSON as _0x3eae7d,PivotCallbackEnum as _0x5cba55,PivotFilterTypeEnum as _0x20c8d7,getAutoDisplayName as _0x2a7e7e,PivotDataFieldDataTypeEnum as _0x11da01,PivotTableValuePositionEnum as _0x497671,isDateGroupField as _0x627b16}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x1aea22,ObjectMatrix as _0x3d4b3d,IUniverInstanceService as _0x295672,UniverInstanceType as _0x407cd0,CellValueType as _0x334d9b,numfmt as _0x53fa13,LocaleService as _0x2a61e0,createAsyncInterceptorKey as _0x2db911,createInterceptorKey as _0x26c109,CommandType as _0x36216a,Inject as _0x4eaa26,ICommandService as _0x4c491b,Disposable as _0x9a7a73,RANGE_TYPE as _0x2948f9,numberToABC as _0x31756d,Injector as _0x297017,LifecycleService as _0x1781c9,IResourceManagerService as _0x5937c1,Rectangle as _0x2492ba,IConfigService as _0x931275,Tools as _0x414e34,AsyncInterceptorManager as _0x2c06cc,InterceptorManager as _0x4854c3,InterceptorEffectEnum as _0x122284,IUndoRedoService as _0x5cd9a0,sequenceExecute as _0x414dc6,CustomCommandExecutionError as _0x3580bc,mergeWorksheetSnapshotWithDefault as _0x6dfe44,generateRandomId as _0x44435e,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x28ab5a,DEFAULT_WORKSHEET_ROW_COUNT as _0x3b3fd0,DisposableCollection as _0x21dd5d,Range as _0x5dacc2,DependentOn as _0x1623b1,Optional as _0x329209,Plugin as _0xb6e4b9,merge as _0x1febab}from'@univerjs/core';import{ErrorType as _0x1c78be,serializeRangeWithSpreadsheet as _0x1ee221,IFeatureCalculationManagerService as _0x68720c,GlobalComputingStatusService as _0x13f6da,IActiveDirtyManagerService as _0x521ace}from'@univerjs/engine-formula';import{generateNullCell as _0x1aefa4,SetRangeValuesUndoMutationFactory as _0x17451a,SetRangeValuesMutation as _0x2f97a2,getSheetCommandTarget as _0x5d0da0,InsertRowMutation as _0x432841,RemoveRowMutation as _0x489192,InsertColMutation as _0x541d31,RemoveColMutation as _0x121316,IExclusiveRangeService as _0xea2477,SheetInterceptorService as _0x36d3f4,INTERCEPTOR_POINT as _0x389984,InsertSheetCommand as _0x235ef5,InsertSheetUndoMutationFactory as _0x2fb6e0,RemoveSheetMutation as _0x45fd86,InsertSheetMutation as _0x49873a,MoveRangeMutation as _0x2bf82a,SheetsSelectionsService as _0x3de9b1,ClearSelectionContentCommand as _0x1d1ab3,ClearSelectionAllCommand as _0x38d272,SetWorksheetColWidthMutation as _0xe2718f,RefRangeService as _0x4e6465,SetWorksheetActiveOperation as _0x72a149,MoveRangeCommand as _0x1d9ddb,RemoveSheetCommand as _0x22a8ec}from'@univerjs/sheets';import{Subject as _0x307900,BehaviorSubject as _0x329c39}from'rxjs';import{LS_CONFIG_KEY as _0x2b702e,unshiftString as _0x2228ab,isFeatureAuthorizedWithinTime as _0x41ae26,getSheetFeatureLimit as _0x5da2ca,ReleaseType as _0x533376,UniverLicensePlugin as _0x480b43}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x38a016,RemoveSheetsFilterMutation as _0x3ef0c1}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1b20d0}from'@univerjs/rpc';import{getFontStyleString as _0x5ba26a,FontCache as _0x17a2c1}from'@univerjs/engine-render';const Lo=Number['parseInt'](0x68f8bce8),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,ci=_0x2cfc65(0x17e),di=_0x2cfc65(0x311),wt=_0x2cfc65(0x171),ui=_0x2cfc65(0x2b6),fi=_0x2cfc65(0x2b6),gi=_0x2cfc65(0x1b2),hi=_0x2cfc65(0x19e),vi='#FFFFFF',pi=_0x2cfc65(0x2c1),mi=_0x2cfc65(0x19e),Ii='#FFFFFF',Ci=_0x2cfc65(0x1cc),bi=0xe,Si=0x6;var ko=(_0x5e5314=>(_0x5e5314[_0x2cfc65(0x12e)]=_0x2cfc65(0x308),_0x5e5314[_0x2cfc65(0x345)]=_0x2cfc65(0x2a6),_0x5e5314))(ko||{});const Go={'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,je={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':je,'vt':0x2}};function Ti(_0x3d86dc,_0x2847d8,_0x14799e){const _0x4b7f52=_0x2cfc65,_0x5d0b12=_0x3d86dc[_0x4b7f52(0x13e)](_0x2a61e0),_0x271323=_0x14799e[_0x4b7f52(0x28e)]('_');switch(_0x2847d8){case _0x43d554[_0x4b7f52(0x2ca)]:return _0x5d0b12['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x271323);case _0x43d554[_0x4b7f52(0x302)]:return _0x5d0b12['t'](_0x4b7f52(0x377),..._0x271323);case _0x43d554[_0x4b7f52(0x2b7)]:return _0x5d0b12['t'](_0x4b7f52(0x267),..._0x271323);case _0x43d554[_0x4b7f52(0x24c)]:return _0x5d0b12['t'](_0x4b7f52(0x373),..._0x271323);case _0x43d554['Date']:return _0x5d0b12['t'](_0x4b7f52(0x224),..._0x271323);case _0x43d554['Month']:return _0x5d0b12['t'](_0x4b7f52(0x241),..._0x271323);case _0x43d554['Quarter']:return _0x5d0b12['t'](_0x4b7f52(0x316),..._0x271323);case _0x43d554[_0x4b7f52(0x2a9)]:return _0x5d0b12['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x271323);case _0x43d554['YearMonthDate']:return _0x5d0b12['t'](_0x4b7f52(0x298),..._0x271323);case _0x43d554[_0x4b7f52(0x238)]:return _0x5d0b12['t'](_0x4b7f52(0x301),..._0x271323);}return'';}const tt=(_0x4954ad,_0x43632e,_0x307215,_0x2901a2)=>{const _0x307db2=_0x2cfc65;let _0x2fff19;const _0x42936b=_0x4954ad[_0x307db2(0x13e)](_0x295672)['getCurrentUnitForType'](_0x407cd0['UNIVER_SHEET']);if(!_0x42936b)return null;const _0x3d4a2a=_0x42936b[_0x307db2(0x340)]();let _0x1a6da8;if(_0x307215&&(_0x1a6da8=_0x3d4a2a[_0x307db2(0x2e3)](_0x307215)),_0x43632e!=null&&_0x43632e['v']||(_0x43632e==null?void 0x0:_0x43632e['v'])===0x0){_0x2fff19||(_0x2fff19={});const _0x3f9d72=$o(_0x43632e['v']);typeof _0x3f9d72==_0x307db2(0x16f)?_0x2fff19['t']=_0x334d9b['NUMBER']:typeof _0x3f9d72==_0x307db2(0x18f)&&(_0x2fff19['t']=_0x334d9b['STRING']),_0x2fff19['v']=_0x3f9d72;}if((_0x43632e!=null&&_0x43632e['i']||(_0x43632e==null?void 0x0:_0x43632e['i'])===0x0)&&(_0x2fff19||(_0x2fff19={}),_0x2fff19['fi']=_0x43632e['i']),_0x43632e!=null&&_0x43632e['s']&&(_0x2fff19||(_0x2fff19={}),_0x2fff19[_0x307db2(0x1db)]=_0x43632e['s']),_0x307215&&(_0x2fff19||(_0x2fff19={}),_0x2fff19['s']=_0x1a6da8),_0x2901a2&&_0x2fff19!=null&&_0x2fff19['v']&&_0x2fff19['pbt']!==_0x71ed97[_0x307db2(0x2f3)]&&_0x2fff19['pbt']!==_0x71ed97[_0x307db2(0x285)]){const _0x4d8cce=String(_0x2fff19['v']),{dateType:_0xe8301f}=_0x2901a2;_0x2fff19['v']=Ti(_0x4954ad,_0xe8301f,_0x4d8cce),_0x2fff19['t']=_0x334d9b['STRING'];}return _0x2fff19;},yi=(_0x2f5cb1,_0x1c3d22,_0x4de292,_0x229299)=>{const _0x10ffc9=_0x2cfc65;var _0x27e12f,_0x1012b4,_0x999d99,_0x5d9ea9,_0x1eebe5,_0x3ad96f,_0x209c4b,_0x2f86b2,_0x4a6a95,_0x57511f,_0xfd2300,_0x447b59,_0x336399,_0x4d557e;const _0x475dec=_0x4de292[_0x10ffc9(0x216)],{cornerView:_0x221a3c,rowView:_0x14c30d,colView:_0x3d93e0,dataView:_0x582e76,pageView:_0x5da038,formatMap:_0x1a603f,groupInfo:_0x1ea4dc}=_0x1c3d22,{row:_0x3096d0,col:_0x223c6e}=_0x475dec,_0x19cfdd=new _0x3d4b3d(),_0x3be3d3={},_0x2a192b={},_0x3dba4d={},_0x307a8c={},_0x44ebd0={};let _0x19dcfb=_0x3096d0,_0xaac21=_0x223c6e;Object[_0x10ffc9(0x23b)](_0x5da038[_0x10ffc9(0x186)])[_0x10ffc9(0x112)](_0x3a72a6=>{const _0x544498=_0x10ffc9;Object['keys'](_0x5da038['data'][Number(_0x3a72a6)])[_0x544498(0x112)](_0x2e6890=>{const _0x33c25d=_0x544498,_0x4a7647={..._0x5da038[_0x33c25d(0x186)][Number(_0x3a72a6)][Number(_0x2e6890)]};_0x19cfdd[_0x33c25d(0x2e3)](Number(_0x3a72a6)+_0x19dcfb,Number(_0x2e6890)+_0xaac21,tt(_0x2f5cb1,_0x4a7647,fe[_0x33c25d(0x2ba)]));});});const _0x901f2=Object['keys'](_0x5da038[_0x10ffc9(0x186)])[_0x10ffc9(0x1fd)];_0x19dcfb+=_0x901f2+(_0x901f2?It:0x0);const _0x571331=_0x221a3c[_0x10ffc9(0x10e)](),_0x511e1d=_0x221a3c['getColCount']();for(let _0x2fb9ed=0x0;_0x2fb9ed<_0x571331;_0x2fb9ed++)for(let _0x53c75f=0x0;_0x53c75f<_0x511e1d;_0x53c75f++){const _0xd559f4={...(_0x1012b4=(_0x27e12f=_0x221a3c[_0x10ffc9(0x186)])==null?void 0x0:_0x27e12f[_0x2fb9ed])==null?void 0x0:_0x1012b4[_0x53c75f]};_0xd559f4&&((_0x999d99=_0x14c30d[_0x10ffc9(0x175)][_0x53c75f])!=null&&_0x999d99[_0x10ffc9(0x12c)])&&_0x53c75f===_0x511e1d-0x1&&_0x2fb9ed===_0x571331-0x1&&(_0xd559f4['v']=''+_0x229299[_0x10ffc9(0x234)]),_0x19cfdd[_0x10ffc9(0x2e3)](_0x2fb9ed+_0x19dcfb,_0x53c75f+_0xaac21,tt(_0x2f5cb1,_0xd559f4,fe[_0x10ffc9(0x25e)]));}for(let _0x4e8035=0x0;_0x4e8035<_0x221a3c[_0x10ffc9(0x1bf)]['length'];_0x4e8035++)_0x221a3c[_0x10ffc9(0x1bf)][_0x4e8035]&&(_0x3dba4d[''+(_0x4e8035+_0xaac21)]=_0x221a3c[_0x10ffc9(0x1bf)][_0x4e8035]);_0xaac21+=_0x511e1d;const _0x395633=_0x3d93e0[_0x10ffc9(0x175)],_0x26bdf6=_0x3d93e0[_0x10ffc9(0x292)]()>=0x0?_0x3d93e0[_0x10ffc9(0x292)]()+0x1:0x0,_0x2c944e=_0x3d93e0[_0x10ffc9(0x353)]()>=0x0?_0x3d93e0[_0x10ffc9(0x353)]()+0x1:0x0;for(let _0x37bb18=0x0;_0x37bb18<_0x2c944e;_0x37bb18++){for(let _0x52ecef=0x0;_0x52ecef<_0x26bdf6;_0x52ecef++){const _0x458aab={...(_0x1eebe5=(_0x5d9ea9=_0x3d93e0['data'])==null?void 0x0:_0x5d9ea9[_0x52ecef])==null?void 0x0:_0x1eebe5[_0x37bb18]},_0x365125=(_0x3ad96f=_0x395633[_0x52ecef])==null?void 0x0:_0x3ad96f[_0x10ffc9(0x297)],_0x31bfdf=_0x1a603f[_0x365125],_0x3cc524=_0x1ea4dc[_0x365125];_0x458aab&&(_0x458aab['v']=vt(_0x458aab,_0x52ecef===0x0&&((_0x209c4b=_0x3d93e0[_0x10ffc9(0x21f)](_0x37bb18+0x1))==null?void 0x0:_0x209c4b[_0x10ffc9(0x12c)]),_0x31bfdf,_0x229299));let _0x2b4e77;_0x31bfdf?_0x2b4e77={...fe[_0x10ffc9(0x165)],'n':{'pattern':_0x31bfdf}}:_0x2b4e77={...fe[_0x10ffc9(0x165)]},_0x19cfdd['setValue'](_0x52ecef+_0x19dcfb,_0x37bb18+_0xaac21,tt(_0x2f5cb1,_0x458aab,_0x2b4e77,_0x3cc524));}_0x3d93e0[_0x10ffc9(0x1bf)][_0x37bb18]&&(_0x2a192b[''+(_0x37bb18+_0xaac21)]=_0x3d93e0[_0x10ffc9(0x1bf)][_0x37bb18]),_0x3d93e0[_0x10ffc9(0x175)][_0x37bb18+0x1]&&(_0x44ebd0[''+(_0x37bb18+_0x19dcfb+0x1)]=_0x3d93e0[_0x10ffc9(0x175)][_0x37bb18+0x1]);}_0x19dcfb+=_0x571331;const _0x54df0e=_0x14c30d['headerMap'],_0x23b004=_0x14c30d[_0x10ffc9(0x292)]()>=0x0?_0x14c30d['getLastRow']()+0x1:0x0,_0x47d672=_0x14c30d['getLastCol']()>=0x0?_0x14c30d[_0x10ffc9(0x353)]()+0x1:0x0;for(let _0x217662=0x0;_0x217662<_0x23b004;_0x217662++){for(let _0x5c7e10=0x0;_0x5c7e10<_0x47d672;_0x5c7e10++){const _0x5d3139={...(_0x4a6a95=(_0x2f86b2=_0x14c30d[_0x10ffc9(0x186)])==null?void 0x0:_0x2f86b2[_0x217662])==null?void 0x0:_0x4a6a95[_0x5c7e10]},_0x5e42ab=(_0x57511f=_0x54df0e[_0x5c7e10])==null?void 0x0:_0x57511f[_0x10ffc9(0x297)],_0x5388e2=_0x1a603f[_0x5e42ab],_0x349d01=_0x1ea4dc[_0x5e42ab];_0x5d3139&&(_0x5d3139['v']=vt(_0x5d3139,!0x1,_0x5388e2,_0x229299));let _0x2f7cca;_0x14c30d['info'][_0x217662][_0x10ffc9(0x32e)]===_0x14c30d[_0x10ffc9(0x135)]()?_0x2f7cca=fe[_0x10ffc9(0x24f)]:_0x14c30d[_0x10ffc9(0x1bf)][_0x217662]['isBottomTotal']?_0x2f7cca=_0x14c30d[_0x10ffc9(0x1bf)][_0x217662][_0x10ffc9(0x32e)]===0x0?fe[_0x10ffc9(0x31f)]:fe[_0x10ffc9(0x1c9)]:_0x2f7cca=fe[_0x10ffc9(0x314)],_0x5388e2&&(_0x2f7cca={..._0x2f7cca,'n':{'pattern':_0x5388e2}}),_0x19cfdd[_0x10ffc9(0x2e3)](_0x217662+_0x19dcfb,_0x5c7e10+_0x223c6e,tt(_0x2f5cb1,_0x5d3139,_0x2f7cca,_0x349d01));}_0x14c30d[_0x10ffc9(0x1bf)][_0x217662]&&(_0x3be3d3[''+(_0x217662+_0x19dcfb)]=_0x14c30d[_0x10ffc9(0x1bf)][_0x217662]),_0x14c30d[_0x10ffc9(0x175)][_0x217662]&&(_0x307a8c[''+(_0x217662+_0x223c6e)]=_0x14c30d[_0x10ffc9(0x175)][_0x217662]);}const _0x208cf4=_0x582e76['getRowCount'](),_0x77b1b=_0x582e76[_0x10ffc9(0x135)]();for(let _0x3e8b16=0x0;_0x3e8b16<_0x208cf4;_0x3e8b16++)for(let _0x406165=0x0;_0x406165<_0x77b1b;_0x406165++){const _0x476149={...(_0x447b59=(_0xfd2300=_0x582e76['data'])==null?void 0x0:_0xfd2300[_0x3e8b16])==null?void 0x0:_0x447b59[_0x406165]};let _0x3d1e92;_0x14c30d[_0x10ffc9(0x1bf)][_0x3e8b16]['isBottomTotal']?_0x3d1e92=_0x14c30d[_0x10ffc9(0x1bf)][_0x3e8b16][_0x10ffc9(0x32e)]===0x0?fe['grandTotal']:fe[_0x10ffc9(0x1c9)]:_0x3d1e92=fe['dataStyle'];const _0x357f26=_0x14c30d[_0x10ffc9(0x1bf)][_0x3e8b16]['valueIndex'],_0x4d5ebe=_0x3d93e0['info'][_0x406165][_0x10ffc9(0x23f)],_0x4cec7c=Math[_0x10ffc9(0x29c)](_0x357f26,_0x4d5ebe),_0x28d161=_0x4de292[_0x10ffc9(0x356)]['valueFields'][_0x10ffc9(0x150)]();let _0x2277fd='';_0x4cec7c<0x0?_0x2277fd=(_0x336399=_0x28d161[0x0])!=null?_0x336399:'':_0x2277fd=(_0x4d557e=_0x28d161[_0x4cec7c])!=null?_0x4d557e:'';const _0x547baf=_0x1a603f[_0x2277fd];_0x547baf&&(_0x3d1e92={..._0x3d1e92,'n':{'pattern':_0x547baf}}),_0x19cfdd[_0x10ffc9(0x2e3)](_0x3e8b16+_0x19dcfb,_0x406165+_0xaac21,tt(_0x2f5cb1,_0x476149,_0x3d1e92));}return{'valueMatrix':_0x19cfdd,'rowInfo':_0x3be3d3,'colInfo':_0x2a192b,'cornerInfo':_0x3dba4d,'rowHeaderMap':_0x307a8c,'colHeaderMap':_0x44ebd0};};function _0x2e44(_0x28db58,_0x1ecb5a){const _0x480196=_0x4801();return _0x2e44=function(_0x2e4461,_0x1c57f4){_0x2e4461=_0x2e4461-0x10e;let _0x3fc55c=_0x480196[_0x2e4461];return _0x3fc55c;},_0x2e44(_0x28db58,_0x1ecb5a);}function vt(_0x837c21,_0x773706,_0x77a2dc,_0x39baba){const _0x2560df=_0x2cfc65;let _0x599db5=_0x837c21['v'];_0x773706&&(_0x599db5=''+_0x39baba[_0x2560df(0x234)]);const _0x143272=_0x837c21['t']&&(_0x837c21['t']&_0xc85d3a[_0x2560df(0x352)])>0x0;_0x143272&&(_0x599db5=''+_0x39baba[_0x2560df(0x2a0)]);const _0x834eb2=_0x837c21['t']&&(_0x837c21['t']&_0xc85d3a[_0x2560df(0x20e)])>0x0;if(_0x834eb2&&(_0x599db5=''+_0x39baba[_0x2560df(0x177)]),_0x837c21['s']===_0x71ed97[_0x2560df(0x285)]){let _0x3b3aeb=_0x599db5,_0x59b0ca='';_0x4d1932(_0x599db5)&&(_0x3b3aeb=_0x599db5[_0x2560df(0x2d0)],_0x59b0ca=_0x599db5[_0x2560df(0x1cd)]);const _0x38af47=_0x77a2dc&&!_0x143272&&!_0x834eb2?_0x53fa13[_0x2560df(0x14c)](_0x77a2dc,Number(_0x3b3aeb)):_0x3b3aeb;_0x59b0ca?_0x599db5=_0x38af47+'\x20'+_0x59b0ca:_0x599db5=_0x38af47+'\x20'+_0x39baba[_0x2560df(0x341)];}else _0x837c21['s']===_0x71ed97[_0x2560df(0x2f3)]&&(_0x599db5=_0x599db5+'\x20'+_0x39baba['sheets-pivot.grandTotal']);return _0x599db5;}function $o(_0x303bb0){const _0x5e3f5e=_0x2cfc65;if(_0x16426a(_0x303bb0)){const {errorType:_0x116f01}=_0x303bb0;switch(_0x116f01){case _0x3c91e8[_0x5e3f5e(0x12f)]:return _0x1c78be[_0x5e3f5e(0x1be)];case _0x3c91e8[_0x5e3f5e(0x1c6)]:return _0x1c78be[_0x5e3f5e(0x290)];case _0x3c91e8[_0x5e3f5e(0x2e0)]:return _0x1c78be['NAME'];case _0x3c91e8[_0x5e3f5e(0x2e6)]:return _0x1c78be[_0x5e3f5e(0x2c7)];case _0x3c91e8[_0x5e3f5e(0x29f)]:return _0x1c78be[_0x5e3f5e(0x217)];}}return _0x303bb0;}function ge(_0x3ce605,_0x58eed8,_0x4ad37d=!0x1,_0x316b62=!0x1){const _0x49fe1d=_0x2cfc65,{data:_0x3c7527}=_0x58eed8,_0x5bbc07=_0x58eed8['getRowCount'](),_0x1909b6=_0x58eed8[_0x49fe1d(0x135)]();if(_0x5bbc07<=0x0||_0x1909b6<=0x0)return[];const _0x4c2770=_0x58eed8[_0x49fe1d(0x353)](),_0x20b6ba=_0x58eed8[_0x49fe1d(0x292)](),_0x111b1d=_0x316b62?_0x20b6ba>=0x0?_0x20b6ba+0x1:0x0:_0x5bbc07,_0x360206=_0x316b62?_0x4c2770>=0x0?_0x4c2770+0x1:0x0:_0x1909b6,{row:_0x2a0da8,col:_0x67240f}=_0x3ce605,_0x1a0d1e=_0x2a0da8,_0x1fbc69=_0x67240f;if(_0x4ad37d){const _0x40c1cb=[];for(const [_0x3e5917,_0x331a57]of Object[_0x49fe1d(0x2f2)](_0x3c7527))for(const [_0x3fe8db,_0x381156]of Object[_0x49fe1d(0x2f2)](_0x331a57))_0x40c1cb[_0x49fe1d(0x17f)](_0x1aea22(_0x1a0d1e+Number(_0x3e5917),_0x1fbc69+Number(_0x3fe8db)));return _0x40c1cb;}else{const _0x2f32fd=_0x316b62?_0x111b1d>0x0?0x1:0x0:0x1,_0x4ea749=_0x316b62?_0x360206>0x0?0x1:0x0:0x1,_0x49e49b=_0x2a0da8+_0x111b1d-_0x2f32fd,_0x2c50ee=_0x67240f+_0x360206-_0x4ea749;return[{'startRow':_0x1a0d1e,'startColumn':_0x1fbc69,'endRow':_0x49e49b,'endColumn':_0x2c50ee}];}}const Y=_0x2cfc65(0x14b),Lt=_0x2cfc65(0x2b4);var B=(_0x4ad488=>(_0x4ad488[_0x2cfc65(0x38d)]=_0x2cfc65(0x211),_0x4ad488[_0x2cfc65(0x2dd)]=_0x2cfc65(0x15b),_0x4ad488[_0x2cfc65(0x1af)]=_0x2cfc65(0x328),_0x4ad488[_0x2cfc65(0x320)]=_0x2cfc65(0x320),_0x4ad488[_0x2cfc65(0x119)]=_0x2cfc65(0x20c),_0x4ad488['MovePivotField']=_0x2cfc65(0x197),_0x4ad488[_0x2cfc65(0x1dc)]=_0x2cfc65(0x21e),_0x4ad488[_0x2cfc65(0x2e9)]=_0x2cfc65(0x237),_0x4ad488[_0x2cfc65(0x318)]=_0x2cfc65(0x335),_0x4ad488['SetPivotSort']=_0x2cfc65(0x1d8),_0x4ad488[_0x2cfc65(0x382)]=_0x2cfc65(0x28b),_0x4ad488[_0x2cfc65(0x14e)]=_0x2cfc65(0x271),_0x4ad488[_0x2cfc65(0x250)]='updateValuePosition',_0x4ad488['DrillDown']='drillDown',_0x4ad488[_0x2cfc65(0x2ae)]=_0x2cfc65(0x22d),_0x4ad488[_0x2cfc65(0x371)]=_0x2cfc65(0x37c),_0x4ad488[_0x2cfc65(0x170)]=_0x2cfc65(0x260),_0x4ad488))(B||{});const Mi={'sheets-pivot.blankValue':_0x2cfc65(0x36f),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x2cfc65(0x1b9),'sheets-pivot.grandTotalText':_0x2cfc65(0x11a),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x2cfc65(0x35b),'sheets-pivot.countName':_0x2cfc65(0x2d2),'sheets-pivot.countNumsName':_0x2cfc65(0x2d2),'sheets-pivot.maxName':_0x2cfc65(0x2fa),'sheets-pivot.minName':_0x2cfc65(0x295),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x2cfc65(0x30e),'sheets-pivot.stdDevpName':_0x2cfc65(0x259),'sheets-pivot.sumName':_0x2cfc65(0x164),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x2cfc65(0x232),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x2cfc65(0x11a),'sheets-pivot.value':'value','sheets-pivot.blank':_0x2cfc65(0x352),'sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x2cfc65(0x2bf),'sheets-pivot.emptyPivot.column':_0x2cfc65(0x19b),'sheets-pivot.emptyPivot.values':_0x2cfc65(0x34b)},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x2db911(_0x2cfc65(0x35f)),Jo=_0x26c109('pivotMutationGenerate');var ke=(_0xfffedf=>(_0xfffedf[_0x2cfc65(0x123)]=_0x2cfc65(0x123),_0xfffedf[_0x2cfc65(0x173)]=_0x2cfc65(0x173),_0xfffedf[_0x2cfc65(0x133)]=_0x2cfc65(0x133),_0xfffedf))(ke||{}),G=(_0x1ad39c=>(_0x1ad39c[_0x2cfc65(0x299)]=_0x2cfc65(0x123),_0x1ad39c[_0x2cfc65(0x2d8)]='set',_0x1ad39c[_0x2cfc65(0x132)]=_0x2cfc65(0x173),_0x1ad39c))(G||{});const ro={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x23d),'handler':()=>!0x0},lo={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x2df),'handler':()=>!0x0},Dt={'type':_0x36216a['MUTATION'],'id':_0x2cfc65(0x26f),'handler':()=>!0x0},co={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x214),'handler':()=>!0x0},uo={'type':_0x36216a['MUTATION'],'id':_0x2cfc65(0x385),'handler':()=>!0x0};var wi=Object[_0x2cfc65(0x283)],_i=(_0x1133ec,_0x5c72e0,_0xfb9ec9,_0x56a4ea)=>{const _0x48ab83=_0x2cfc65;for(var _0x4db16c=_0x56a4ea>0x1?void 0x0:_0x56a4ea?wi(_0x5c72e0,_0xfb9ec9):_0x5c72e0,_0x3cf718=_0x1133ec[_0x48ab83(0x1fd)]-0x1,_0x5a0981;_0x3cf718>=0x0;_0x3cf718--)(_0x5a0981=_0x1133ec[_0x3cf718])&&(_0x4db16c=_0x5a0981(_0x4db16c)||_0x4db16c);return _0x4db16c;},Fi=(_0x4d577d,_0x581e54)=>(_0xbdadf9,_0x7bd304)=>_0x581e54(_0xbdadf9,_0x7bd304,_0x4d577d);let X=class extends _0x9a7a73{constructor(_0xaef03a){const _0x337c03=_0x2cfc65;super(),U(this,_0x337c03(0x1c2),new Map()),this['_commandService']=_0xaef03a;}[_0x2cfc65(0x2be)](_0x348ba4){const _0x199652=_0x2cfc65,{version:_0x12b7ec}=_0x348ba4,_0x2de2af=this[_0x199652(0x1c2)]['get'](_0x12b7ec);_0x2de2af&&(_0x2de2af(_0x348ba4),this[_0x199652(0x1c2)][_0x199652(0x173)](_0x12b7ec));}[_0x2cfc65(0x110)](_0x2469a6){return new Promise((_0x28a86a,_0x4b0b18)=>{const _0x2d3514=_0x2e44,_0x2db356=this[_0x2d3514(0x1c5)]();this[_0x2d3514(0x1c2)]['set'](_0x2db356,_0x28a86a),this[_0x2d3514(0x1a6)][_0x2d3514(0x306)](ro['id'],{'version':_0x2db356,..._0x2469a6},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x23fecb=_0x2cfc65;return Math['random']()[_0x23fecb(0x36a)](0x24)[_0x23fecb(0x264)](0x2,0x10);}};X=_i([Fi(0x0,_0x4eaa26(_0x4c491b))],X);const Wo={0x0:'g',0x1:'C',0x2:'G',0x3:'k',0x4:'N',0x5:'v',0x6:'o',0x7:'K',0x8:'c',0x9:'y','t':'0','Z':'1','N':'2','n':'3','v':'4','R':'5','X':'6','y':'7','P':'8','U':'9','G':'a','d':'b','c':'d','b':'e','h':'f','f':'h','B':'i','T':'j','L':'l','Q':'m','a':'n','O':'p','A':'q','m':'r','s':'s','l':'t','S':'u','k':'w','I':'x','o':'z','K':'A','E':'B','q':'D','H':'E','u':'F','F':'H','W':'I','e':'J','D':'L','g':'M','r':'O','p':'P','Y':'Q','z':'R','x':'S','V':'T','C':'U','J':'V','w':'W','i':'X','j':'Y','M':'Z'},jo=_0x2cfc65(0x219),Ri=_0x42e9eb=>{const _0x511a5b=_0x2cfc65;var _0x1f9eaf;return((_0x1f9eaf=_0x42e9eb['body'])==null?void 0x0:_0x1f9eaf[_0x511a5b(0x20a)][_0x511a5b(0x1cf)](/\r\n$/,''))||'';};class Di extends _0x381862{constructor(_0x3b7c08,_0x2058e7){const _0x51d504=_0x2cfc65;super(),U(this,_0x51d504(0x226),{}),U(this,'_univerInstanceService'),U(this,_0x51d504(0x190)),(this[_0x51d504(0x231)]=_0x2058e7,this[_0x51d504(0x190)]=_0x3b7c08);}[_0x2cfc65(0x23a)](){const _0x241de6=_0x2cfc65;for(const _0x44aefc in this['dataFields']){const _0x4ef2bc=this[_0x241de6(0x1a5)][_0x44aefc],_0x1b88ee=_0x4ef2bc[_0x241de6(0x2f9)]();this[_0x241de6(0x226)][_0x1b88ee]=_0x4ef2bc[_0x241de6(0x159)]();}}[_0x2cfc65(0x13a)](){const _0x480417=_0x2cfc65,_0x4610dd=this[_0x480417(0x190)];return Ai[_0x480417(0x32f)](_0x4610dd);}[_0x2cfc65(0x118)](_0x331867){const _0x20ce1e=_0x2cfc65,_0x2e056c=this[_0x20ce1e(0x1a5)][_0x331867][_0x20ce1e(0x156)];delete this[_0x20ce1e(0x1a5)][_0x331867],delete this[_0x20ce1e(0x226)][_0x2e056c];}['addDataFieldWithoutUnitInfo'](_0xf36ce7){const _0x46c762=_0x2cfc65;this[_0x46c762(0x1a5)][_0xf36ce7[_0x46c762(0x159)]()]=_0xf36ce7;}[_0x2cfc65(0x30f)](_0x4c7918){const _0x38223b=_0x2cfc65;var _0x575fa4,_0x409641;const _0x4ae3ee=this[_0x38223b(0x190)][_0x38223b(0x1c1)](_0x4c7918);if(_0x4ae3ee){const {unitId:_0x1ee65e,subUnitId:_0x13c189}=_0x4ae3ee,_0x4b6c35=(_0x575fa4=this[_0x38223b(0x190)][_0x38223b(0x21d)](_0x1ee65e,_0x13c189,_0x4c7918))==null?void 0x0:_0x575fa4[_0x38223b(0x27f)];this[_0x38223b(0x190)][_0x38223b(0x1eb)]({'token':_0x4c7918,'type':ke[_0x38223b(0x173)],'dataRangeInfo':_0x4b6c35});}(_0x409641=this['getCollection'](_0x4c7918))==null||_0x409641['dispose'](),delete this[_0x38223b(0x337)][_0x4c7918];}[_0x2cfc65(0x2f9)](_0x210754,_0x393b90){const {sheetName:_0xd71088,unitId:_0x54ab5b,range:_0x30c51b}=_0x210754,{startRow:_0xa1ebab,endRow:_0x3e287c}=_0x30c51b;return _0x1ee221(_0x54ab5b,_0xd71088,{'startRow':_0xa1ebab,'endRow':_0x3e287c,'startColumn':_0x393b90,'endColumn':_0x393b90});}['getDataFieldByRangeKey'](_0x5417c5){const _0x519ca6=_0x2cfc65;return this[_0x519ca6(0x1a5)][this[_0x519ca6(0x226)][_0x5417c5]];}[_0x2cfc65(0x33b)](_0x3dc15c,_0x5075e8){this['rangeKeyMap'][_0x3dc15c]=_0x5075e8;}[_0x2cfc65(0x2ac)](_0x7b4f73,_0x353302){const _0x2a3e17=_0x2cfc65;this[_0x2a3e17(0x226)][_0x353302]=this[_0x2a3e17(0x226)][_0x7b4f73],delete this[_0x2a3e17(0x226)][_0x7b4f73];}['addCollectionByJSON'](_0x1ce575,_0x3f94d0,_0x2d6c00,_0x305c66){const _0xa245fe=_0x2cfc65,_0x66d7b1=new _0x5df76f(this);_0x66d7b1[_0xa245fe(0x2db)](_0x3f94d0);const _0x2312ab=[];let _0xb95717=0x0;for(const _0x280181 of _0x66d7b1['fieldIds']){const _0x4b778b=this[_0xa245fe(0x2f9)](_0x2d6c00,_0xb95717),_0x5236d4=this[_0xa245fe(0x1a5)][_0x280181];_0x5236d4&&(_0x5236d4[_0xa245fe(0x156)]=_0x4b778b,this[_0xa245fe(0x33b)](_0x4b778b,_0x280181),_0x2312ab[_0xa245fe(0x17f)]({'index':_0xb95717,'dataField':_0x5236d4})),_0xb95717++;}return this['addCollection'](_0x1ce575,_0x66d7b1,_0x2d6c00,_0x305c66),{'collection':_0x66d7b1,'updateDataFieldList':_0x2312ab};}['getRangeStartEndInfo'](_0x3c4188,_0x5f4ca6){const _0x16f8f5=_0x2cfc65;return _0x3c4188['rangeType']===_0x2948f9['COLUMN']?{'startRow':0x0,'startColumn':_0x3c4188[_0x16f8f5(0x256)],'endRow':_0x5f4ca6[_0x16f8f5(0x10e)]()-0x1,'endColumn':_0x3c4188[_0x16f8f5(0x354)]}:{'startRow':_0x3c4188[_0x16f8f5(0x21c)],'startColumn':_0x3c4188['startColumn'],'endRow':_0x3c4188[_0x16f8f5(0x389)],'endColumn':_0x3c4188[_0x16f8f5(0x354)]};}['createCollectionWithDataRange'](_0x56a013){const _0x53f05e=_0x2cfc65,{sheetName:_0xd66724,range:_0x2c0634}=_0x56a013,_0x2090e7=this['_univerInstanceService'][_0x53f05e(0x1ff)](_0x407cd0[_0x53f05e(0x281)]),_0x1bc6b4=_0x2090e7[_0x53f05e(0x367)](_0xd66724),_0x17820e=_0x1bc6b4[_0x53f05e(0x179)](),{startColumn:_0x5a8554,startRow:_0x2d6b14,endColumn:_0x227c16}=this[_0x53f05e(0x36e)](_0x2c0634,_0x1bc6b4),_0x17e99b=_0x2090e7[_0x53f05e(0x340)](),_0x355800=new _0x5df76f(this);_0x355800[_0x53f05e(0x31d)](_0x56a013);const _0x39a934=[],_0x3dab98={};for(let _0xcb2f2a=_0x5a8554;_0xcb2f2a<=_0x227c16;_0xcb2f2a++){const _0x3bc591=_0x17820e[_0x53f05e(0x2dc)](_0x2d6b14,_0xcb2f2a),_0x8dda33=this[_0x53f05e(0x2f9)](_0x56a013,_0xcb2f2a),_0x1b68d0=this[_0x53f05e(0x30b)](_0x8dda33);if(_0x1b68d0)_0x355800[_0x53f05e(0x1c7)](_0x1b68d0[_0x53f05e(0x159)](),_0x1b68d0[_0x53f05e(0x27a)]());else{const _0x284e6e=this[_0x53f05e(0x1d0)]();let _0x203bd0=this['adjustSheetCellData'](_0x3bc591,_0x17e99b,_0x3dab98);_0x31a954(_0x203bd0)&&(_0x203bd0=_0x53fa13[_0x53f05e(0x14c)](_0x203bd0['f'],Number(_0x203bd0['v'])));const _0x21c9fc=this[_0x53f05e(0x2cc)](_0x203bd0,_0xcb2f2a),_0x55204b=new _0x2c0cfa(_0x284e6e,_0x21c9fc,_0x552661(0x3));_0x55204b[_0x53f05e(0x156)]=_0x8dda33,this[_0x53f05e(0x1a5)][_0x284e6e]=_0x55204b,_0x355800[_0x53f05e(0x1c7)](_0x284e6e,_0x21c9fc),_0x39a934['push']({'index':_0xcb2f2a,'dataField':_0x55204b});}}return{'updateDataFieldList':_0x39a934,'collection':_0x355800};}['_getAutoName'](_0x3aa556){const _0x1592e9=_0x2cfc65;return this[_0x1592e9(0x190)][_0x1592e9(0x111)]()[_0x1592e9(0x181)]+'\x20'+_0x31756d(_0x3aa556);}[_0x2cfc65(0x2cc)](_0x5350f5,_0x536506){const _0xa837c1=_0x2cfc65;return _0x5350f5==null||_0x5350f5===''?this[_0xa837c1(0x203)](_0x536506):String(_0x5350f5);}['getCollection'](_0x138136){const _0x52f2a3=_0x2cfc65;return this[_0x52f2a3(0x337)][_0x138136];}[_0x2cfc65(0x242)](_0x41847f,_0x1bfba5,_0x8c508e,_0x337029){const _0x48d8b8=_0x2cfc65;this[_0x48d8b8(0x337)][_0x41847f]=_0x1bfba5,_0x1bfba5[_0x48d8b8(0x31d)](_0x8c508e),this['_host'][_0x48d8b8(0x1eb)]({'token':_0x41847f,'type':ke[_0x48d8b8(0x123)],'dataRangeInfo':_0x8c508e,'targetCellInfo':_0x337029});}['handleMoveRange'](_0x45b890,_0x3715cd){const _0x50a527=_0x2cfc65,_0x1e42c7=this[_0x50a527(0x161)](_0x45b890),_0x24cd17=_0x1e42c7[_0x50a527(0x2fb)]();let _0x2c743d=0x0;for(const _0x34fb76 of _0x24cd17){const _0x50902b=_0x1e42c7['getFieldById'](_0x34fb76),_0x45e18c=this[_0x50a527(0x2f9)](_0x3715cd,_0x2c743d);this[_0x50a527(0x2ac)](_0x50902b[_0x50a527(0x156)],_0x45e18c),_0x2c743d++;}}[_0x2cfc65(0x215)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x2cfc65(0x351)](_0x511353,_0x3a41af){const _0x1459b2=_0x2cfc65;if(this['getCollection'](_0x511353)){const _0x5498e5=this[_0x1459b2(0x172)](_0x3a41af),_0x255f2d=[];for(const _0x3eea6b of _0x5498e5)this[_0x1459b2(0x226)][_0x3eea6b]!==void 0x0&&_0x255f2d[_0x1459b2(0x17f)](this['rangeKeyMap'][_0x3eea6b]);const _0x21c068=this['getNoUsedDataFieldIds'](_0x511353),_0x4a1e40=[],_0x1f2378=new Set(_0x255f2d);for(const _0x495384 of _0x21c068)_0x1f2378['has'](_0x495384)||_0x4a1e40[_0x1459b2(0x17f)](_0x495384);return _0x4a1e40;}}[_0x2cfc65(0x326)](_0x1acd1d,_0x1ef415,_0x371e07,_0xf1e3bd,_0x556d51){const _0x4e588d=_0x2cfc65;return _0x1ef415&&_0x1ef415[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51)?_0x1ef415[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51):_0x371e07&&_0x371e07[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51)?_0x371e07[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51):_0x1acd1d[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51);}[_0x2cfc65(0x277)](_0x3ecd3a,_0x114db5,_0x268186,_0x2aa551){const _0x491eab=_0x2cfc65,_0x355f43=this['dataFields'][_0x3ecd3a];if(!_0x355f43)return;const {subUnitId:_0xae2d72,range:_0x2212c9,unitId:_0x81cb5}=_0x114db5,_0x379af9=this[_0x491eab(0x231)][_0x491eab(0x15d)](_0x81cb5);if(!_0x379af9){console[_0x491eab(0x162)]('workbook\x20is\x20not\x20found');return;}const _0x1d787d=_0x379af9['getSheetBySheetId'](_0xae2d72),_0x157f74=_0x1d787d['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x2c8850,unitDataMatrix:_0x2e808e}=_0x2aa551||{},{startRow:_0x396881,startColumn:_0x3cbc32,endRow:_0x2ed52d}=this[_0x491eab(0x36e)](_0x2212c9,_0x1d787d);_0x355f43['reset']();const _0x2cb765=_0x379af9['getStyles'](),_0x28a8ad={},_0xa81067=this[_0x491eab(0x326)](_0x157f74,_0x2c8850,_0x2e808e,_0x396881,_0x3cbc32+_0x268186);let _0x13ba23=this[_0x491eab(0x1f5)](_0xa81067,_0x2cb765,_0x28a8ad);_0x31a954(_0x13ba23)&&(_0x13ba23=_0x53fa13[_0x491eab(0x14c)](_0x13ba23['f'],Number(_0x13ba23['v'])));const _0x5e6fb8=this[_0x491eab(0x2cc)](_0x13ba23,_0x3cbc32+_0x268186);_0x355f43[_0x491eab(0x31b)](_0x5e6fb8);for(let _0x275b9c=_0x396881+0x1;_0x275b9c<=_0x2ed52d;_0x275b9c++){const _0x5096df=this[_0x491eab(0x326)](_0x157f74,_0x2c8850,_0x2e808e,_0x275b9c,_0x3cbc32+_0x268186);_0x355f43[_0x491eab(0x229)](this[_0x491eab(0x1f5)](_0x5096df,_0x2cb765,_0x28a8ad),_0x275b9c-0x1-_0x396881);}}[_0x2cfc65(0x180)](_0x596c13,_0x38786b,_0x1869b4){const _0x4f496f=_0x2cfc65,{subUnitId:_0x23154e,range:_0x2e0ef7,unitId:_0x4311cc}=_0x1869b4,_0x2bcb53=this['_univerInstanceService'][_0x4f496f(0x15d)](_0x4311cc);if(!_0x2bcb53){console[_0x4f496f(0x162)](_0x4f496f(0x2e4));return;}const _0x30d285=_0x2bcb53['getSheetBySheetId'](_0x23154e),_0x26a727=_0x30d285[_0x4f496f(0x179)](),{startRow:_0x5e0909,startColumn:_0x3184f8,endRow:_0x99640e}=this[_0x4f496f(0x36e)](_0x2e0ef7,_0x30d285),_0x2a020e=_0x2bcb53[_0x4f496f(0x340)](),_0x3cd6f8={};for(const {dataField:_0x5249a0,index:_0x2ed442}of _0x38786b){_0x5249a0[_0x4f496f(0x2c0)]();const _0x2a43bd=this[_0x4f496f(0x326)](_0x26a727,void 0x0,void 0x0,_0x5e0909,_0x3184f8+_0x2ed442);let _0x12fd52=this[_0x4f496f(0x1f5)](_0x2a43bd,_0x2a020e,_0x3cd6f8);_0x31a954(_0x12fd52)&&(_0x12fd52=_0x53fa13['format'](_0x12fd52['f'],Number(_0x12fd52['v'])));const _0x27113e=this['uniqueDataFieldName'](_0x12fd52,_0x3184f8+_0x2ed442);_0x5249a0[_0x4f496f(0x31b)](_0x27113e);}_0x596c13['updateAllDisplayName']();for(let _0x489e3f=_0x5e0909+0x1;_0x489e3f<=_0x99640e;_0x489e3f++)for(const {index:_0x48e84c,dataField:_0x43b256}of _0x38786b){const _0x55397c=_0x26a727[_0x4f496f(0x2dc)](_0x489e3f,_0x3184f8+_0x48e84c);_0x43b256[_0x4f496f(0x229)](this[_0x4f496f(0x1f5)](_0x55397c,_0x2a020e,_0x3cd6f8),_0x489e3f-0x1-_0x5e0909);}_0x596c13[_0x4f496f(0x1b3)](_0x99640e-_0x5e0909);}['getRangeKeyList'](_0x2a9ea6){const _0x32f3a2=_0x2cfc65,{range:_0x103206}=_0x2a9ea6,{startColumn:_0x53d4a6,endColumn:_0x5920f7}=_0x103206,_0xc33e07=[];for(let _0x5d7483=_0x53d4a6;_0x5d7483<=_0x5920f7;_0x5d7483++)_0xc33e07['push'](this[_0x32f3a2(0x2f9)](_0x2a9ea6,_0x5d7483));return _0xc33e07;}['adjustSheetCellData'](_0x4cb2ea,_0x1e67b4,_0x132154){const _0x164d8e=_0x2cfc65;if(_0x4cb2ea){const {s:_0xeffd6b,v:_0xec95f,t:_0x219874,p:_0x29df5b}=_0x4cb2ea;if(_0x29df5b)return Ri(_0x29df5b);const _0x735b64=_0x1e67b4['get'](_0xeffd6b);if(_0x735b64&&_0x219874===_0x334d9b['NUMBER']&&_0x735b64['n']){const {pattern:_0x53c1bf}=_0x735b64['n'];_0x132154[_0x53c1bf]||(_0x132154[_0x53c1bf]=_0x53fa13[_0x164d8e(0x2f5)](_0x53c1bf));const _0x1253b6=_0x132154[_0x53c1bf],_0x1526b3=_0x1253b6[_0x164d8e(0x147)];if(_0x1253b6['isText'])return String(_0xec95f);if(_0x1526b3)return{'v':_0xec95f,'f':_0x53c1bf};}if(_0x219874===_0x334d9b[_0x164d8e(0x274)])return Number(_0xec95f);if(_0x219874===_0x334d9b[_0x164d8e(0x1ae)]||_0x219874===_0x334d9b[_0x164d8e(0x152)])return String(_0xec95f);if(_0x219874===void 0x0){const _0x419e9d=Number(_0xec95f);if(!Number['isNaN'](_0x419e9d)&&String(_0x419e9d)===_0xec95f)return _0x419e9d;}return _0xec95f!=null?_0xec95f:null;}else return null;}[_0x2cfc65(0x129)](_0x4371d1){const _0x4a6838=_0x2cfc65,{sheetName:_0x476e82,range:_0x4869bb,unitId:_0x3ca14a}=_0x4371d1,_0x16884a=this[_0x4a6838(0x231)][_0x4a6838(0x15d)](_0x3ca14a);if(!_0x16884a)return console[_0x4a6838(0x162)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x36edc0=_0x16884a[_0x4a6838(0x367)](_0x476e82),_0x1f1b6f=_0x36edc0['getCellMatrix'](),{startRow:_0x4402ea,startColumn:_0x18a449,endRow:_0x5706ae,endColumn:_0x257f53}=this['getRangeStartEndInfo'](_0x4869bb,_0x36edc0),_0x4cdc68=_0x16884a[_0x4a6838(0x340)](),_0x1cd61e=[],_0x111e7e=[],_0xf58d6d={};for(let _0x113532=_0x4402ea;_0x113532<=_0x5706ae;_0x113532++){const _0x584664=[];for(let _0x2735ad=_0x18a449;_0x2735ad<=_0x257f53;_0x2735ad++){const _0x1f49a6=_0x1f1b6f[_0x4a6838(0x2dc)](_0x113532,_0x2735ad);_0x113532===_0x4402ea?_0x1cd61e[_0x4a6838(0x17f)](_0x1f49a6==null?null:String(_0x1f49a6['v'])):_0x584664[_0x4a6838(0x17f)](this['adjustSheetCellData'](_0x1f49a6,_0x4cdc68,_0xf58d6d));}_0x111e7e[_0x4a6838(0x17f)](_0x584664);}return{'header':_0x1cd61e,'data':_0x111e7e};}[_0x2cfc65(0x2d6)](){const _0x33a0cf=_0x2cfc65;return super[_0x33a0cf(0x2d6)]();}[_0x2cfc65(0x2db)](_0x3f5183){const _0x5ab067=_0x2cfc65;super[_0x5ab067(0x2db)](_0x3f5183),this[_0x5ab067(0x23a)]();}[_0x2cfc65(0x208)](){const _0x3ad3ba=_0x2cfc65;super[_0x3ad3ba(0x208)](),this['rangeKeyMap']={},this[_0x3ad3ba(0x190)]=null;}}const Ni=_0x4581ed=>{const _0x474b6c=_0x2cfc65,{targetCellInfo:_0x49815b}=_0x4581ed,{matrixCache:_0x39fff4,rangesCache:_0x5927ab}=Ko({'filter':_0x474b6c(0x38d),'row':_0x474b6c(0x2bf),'column':_0x474b6c(0x19b),'values':_0x474b6c(0x34b)},_0x49815b),_0x505a2b=new _0x3d4b3d();return _0x39fff4[_0x474b6c(0x115)]((_0xde54a,_0x22c17d,_0x2d903e)=>{const _0x2d5764=_0x474b6c;_0x505a2b[_0x2d5764(0x2e3)](_0xde54a,_0x22c17d,_0x2d903e);}),{'matrix':_0x505a2b,'rangesCache':_0x5927ab};},ot=_0x1844d1=>{const _0x4aaf2f=_0x2cfc65;let _0xe599d5;if(_0x1844d1!=null&&_0x1844d1['v']||(_0x1844d1==null?void 0x0:_0x1844d1['v'])===0x0){_0xe599d5||(_0xe599d5={});const _0x48361c=$o(_0x1844d1['v']);typeof _0x48361c==_0x4aaf2f(0x16f)?_0xe599d5['t']=_0x334d9b['NUMBER']:typeof _0x48361c==_0x4aaf2f(0x18f)&&(_0xe599d5['t']=_0x334d9b[_0x4aaf2f(0x1ae)]),_0xe599d5['v']=_0x48361c;}return _0xe599d5;},Ui=(_0x1cec13,_0x1a260e,_0x3b3aee)=>{const _0x347e4b=_0x2cfc65;var _0x290ea4,_0x201317,_0x23b698,_0x31a6ec,_0x448715,_0x439134,_0xf047b7,_0x5d768f,_0x4bd27,_0x44d579,_0xc926d0,_0x4c8ab6;const {cornerView:_0x48b911,rowView:_0x41f2f7,colView:_0x3d8ae2,dataView:_0x3515bb,pageView:_0x1ef3b3,formatMap:_0x536247}=_0x1cec13,{row:_0x2641ef,col:_0x501ec0}=_0x1a260e,_0x27a158=new _0x3d4b3d();let _0x4a6bd0=_0x2641ef,_0x2f6018=_0x501ec0;Object['keys'](_0x1ef3b3[_0x347e4b(0x186)])[_0x347e4b(0x112)](_0x41c3bd=>{const _0x5db4cc=_0x347e4b;Object[_0x5db4cc(0x23b)](_0x1ef3b3[_0x5db4cc(0x186)][Number(_0x41c3bd)])[_0x5db4cc(0x112)](_0x3f4447=>{const _0xfba35f=_0x5db4cc,_0x37f64a={..._0x1ef3b3[_0xfba35f(0x186)][Number(_0x41c3bd)][Number(_0x3f4447)]};_0x27a158[_0xfba35f(0x2e3)](Number(_0x41c3bd)+_0x4a6bd0,Number(_0x3f4447)+_0x2f6018,ot(_0x37f64a));});});const _0x42c830=Object[_0x347e4b(0x23b)](_0x1ef3b3[_0x347e4b(0x186)])[_0x347e4b(0x1fd)];_0x4a6bd0+=_0x42c830+(_0x42c830?It:0x0);const _0x375e14=_0x48b911[_0x347e4b(0x10e)](),_0x2cea83=_0x48b911[_0x347e4b(0x135)]();for(let _0x6a4021=0x0;_0x6a4021<_0x375e14;_0x6a4021++)for(let _0x2ec3b4=0x0;_0x2ec3b4<_0x2cea83;_0x2ec3b4++){const _0x5913c9={...(_0x201317=(_0x290ea4=_0x48b911[_0x347e4b(0x186)])==null?void 0x0:_0x290ea4[_0x6a4021])==null?void 0x0:_0x201317[_0x2ec3b4]};_0x5913c9&&((_0x23b698=_0x41f2f7[_0x347e4b(0x175)][_0x2ec3b4])!=null&&_0x23b698[_0x347e4b(0x12c)])&&_0x2ec3b4===_0x2cea83-0x1&&_0x6a4021===_0x375e14-0x1&&(_0x5913c9['v']=''+_0x3b3aee[_0x347e4b(0x234)]),_0x27a158[_0x347e4b(0x2e3)](_0x6a4021+_0x4a6bd0,_0x2ec3b4+_0x2f6018,ot(_0x5913c9));}_0x2f6018+=_0x2cea83;const _0x27132b=_0x3d8ae2[_0x347e4b(0x175)],_0x14f7cc=_0x3d8ae2[_0x347e4b(0x292)]()>=0x0?_0x3d8ae2[_0x347e4b(0x292)]()+0x1:0x0,_0x24c251=_0x3d8ae2[_0x347e4b(0x353)]()>=0x0?_0x3d8ae2[_0x347e4b(0x353)]()+0x1:0x0;for(let _0x4e45ad=0x0;_0x4e45ad<_0x24c251;_0x4e45ad++)for(let _0x22862c=0x0;_0x22862c<_0x14f7cc;_0x22862c++){const _0x7fbbdc={...(_0x448715=(_0x31a6ec=_0x3d8ae2[_0x347e4b(0x186)])==null?void 0x0:_0x31a6ec[_0x4e45ad])==null?void 0x0:_0x448715[_0x22862c]},_0x38fd01=(_0x439134=_0x27132b[_0x4e45ad])==null?void 0x0:_0x439134[_0x347e4b(0x297)],_0x2b65bd=_0x536247[_0x38fd01];_0x7fbbdc&&(_0x7fbbdc['v']=vt(_0x7fbbdc,_0x4e45ad===0x0&&((_0xf047b7=_0x3d8ae2[_0x347e4b(0x21f)](_0x22862c+0x1))==null?void 0x0:_0xf047b7[_0x347e4b(0x12c)]),_0x2b65bd,_0x3b3aee)),_0x27a158[_0x347e4b(0x2e3)](_0x4e45ad+_0x4a6bd0,_0x22862c+_0x2f6018,ot(_0x7fbbdc));}_0x4a6bd0+=_0x375e14;const _0x4a138a=_0x41f2f7[_0x347e4b(0x175)],_0x177513=_0x41f2f7['getLastRow']()>=0x0?_0x41f2f7['getLastRow']()+0x1:0x0,_0x426a14=_0x41f2f7['getLastCol']()>=0x0?_0x41f2f7[_0x347e4b(0x353)]()+0x1:0x0;for(let _0xce9aa2=0x0;_0xce9aa2<_0x177513;_0xce9aa2++)for(let _0x6db607=0x0;_0x6db607<_0x426a14;_0x6db607++){const _0x1fc04a={...(_0x4bd27=(_0x5d768f=_0x41f2f7[_0x347e4b(0x186)])==null?void 0x0:_0x5d768f[_0xce9aa2])==null?void 0x0:_0x4bd27[_0x6db607]},_0xbddc4c=(_0x44d579=_0x4a138a[_0x6db607])==null?void 0x0:_0x44d579[_0x347e4b(0x297)],_0x583706=_0x536247[_0xbddc4c];_0x1fc04a&&(_0x1fc04a['v']=vt(_0x1fc04a,!0x1,_0x583706,_0x3b3aee)),_0x27a158[_0x347e4b(0x2e3)](_0xce9aa2+_0x4a6bd0,_0x6db607+_0x501ec0,ot(_0x1fc04a));}const _0x419ba1=_0x3515bb['getRowCount'](),_0x1f8b87=_0x3515bb[_0x347e4b(0x135)]();for(let _0xaf54ed=0x0;_0xaf54ed<_0x419ba1;_0xaf54ed++)for(let _0x52288e=0x0;_0x52288e<_0x1f8b87;_0x52288e++){const _0x1de44f={...(_0x4c8ab6=(_0xc926d0=_0x3515bb[_0x347e4b(0x186)])==null?void 0x0:_0xc926d0[_0xaf54ed])==null?void 0x0:_0x4c8ab6[_0x52288e]};_0x27a158['setValue'](_0xaf54ed+_0x4a6bd0,_0x52288e+_0x2f6018,ot(_0x1de44f));}return _0x27a158;},Vi=_0x4f56df=>{const _0x2c5b58=_0x2cfc65,{view:_0x102895,targetCellInfo:_0x5cb77c,isEmpty:_0x5ad2ad,textInfo:_0x2e15c8}=_0x4f56df;if(_0x5ad2ad)return Ni(_0x4f56df);const {pageView:_0x7bf062,cornerView:_0xeea62,rowView:_0x334221,colView:_0x211fe9,dataView:_0x183c9d}=_0x102895,_0x3683f2=ge(_0x5cb77c,_0x7bf062,!0x0),_0x43a42e=_0x7bf062[_0x2c5b58(0x1ad)]>=0x0?_0x7bf062['lastRow']+0x1:0x0,_0x37ecdc=_0xeea62[_0x2c5b58(0x10e)](),_0x2ea50d=_0xeea62[_0x2c5b58(0x135)](),_0x2a965a=_0x3683f2[_0x2c5b58(0x1fd)]>0x0?It:0x0,_0x45b29e=ge({'row':_0x5cb77c[_0x2c5b58(0x379)]+_0x43a42e+_0x2a965a,'col':_0x5cb77c[_0x2c5b58(0x183)]},_0xeea62,!0x1,!0x1),_0x4195a1=ge({'row':_0x5cb77c['row']+_0x43a42e+_0x2a965a+_0x37ecdc,'col':_0x5cb77c[_0x2c5b58(0x183)]},_0x334221,!0x1,!0x0),_0x376832=ge({'row':_0x5cb77c[_0x2c5b58(0x379)]+_0x43a42e+_0x2a965a,'col':_0x5cb77c[_0x2c5b58(0x183)]+_0x2ea50d},_0x211fe9,!0x1,!0x0),_0x124783=ge({'row':_0x5cb77c[_0x2c5b58(0x379)]+_0x43a42e+_0x2a965a+_0x37ecdc,'col':_0x5cb77c[_0x2c5b58(0x183)]+_0x2ea50d},_0x183c9d,!0x1,!0x1),_0x1034bd={'rowRanges':_0x4195a1,'colRanges':_0x376832,'cornerRanges':_0x45b29e,'dataRanges':_0x124783,'pageRanges':_0x3683f2};return{'matrix':Ui(_0x102895,_0x5cb77c,_0x2e15c8),'rangesCache':_0x1034bd};};var Oi=Object['getOwnPropertyDescriptor'],Ei=(_0x2df688,_0x2652fc,_0x2e7c0d,_0x55cbbc)=>{const _0x4511d4=_0x2cfc65;for(var _0x29d9fa=_0x55cbbc>0x1?void 0x0:_0x55cbbc?Oi(_0x2652fc,_0x2e7c0d):_0x2652fc,_0x53ed29=_0x2df688[_0x4511d4(0x1fd)]-0x1,_0x4155f2;_0x53ed29>=0x0;_0x53ed29--)(_0x4155f2=_0x2df688[_0x53ed29])&&(_0x29d9fa=_0x4155f2(_0x29d9fa)||_0x29d9fa);return _0x29d9fa;},nt=(_0x421da2,_0x55db27)=>(_0x182175,_0x26841c)=>_0x55db27(_0x182175,_0x26841c,_0x421da2);let $=class extends _0x9a7a73{constructor(_0x4f75a6,_0x105bb2,_0x465d23,_0x5bd4fa,_0x43b855){const _0xf33c5a=_0x2cfc65;super(),U(this,_0xf33c5a(0x1f8),new Map()),U(this,_0xf33c5a(0x1ef),new Map()),U(this,_0xf33c5a(0x359),new Map()),U(this,_0xf33c5a(0x213)),U(this,_0xf33c5a(0x19f),new _0x307900()),U(this,_0xf33c5a(0x376),this[_0xf33c5a(0x19f)][_0xf33c5a(0x244)]()),U(this,'_viewData$',new _0x307900()),U(this,_0xf33c5a(0x324),this[_0xf33c5a(0x309)][_0xf33c5a(0x244)]()),U(this,_0xf33c5a(0x209),new _0x307900()),U(this,_0xf33c5a(0x38c),this[_0xf33c5a(0x209)]['asObservable']()),U(this,'_dataFieldManagerCollection',new Map()),U(this,'needSameDeleteModel',[]),U(this,_0xf33c5a(0x220),new Map()),(this[_0xf33c5a(0x13c)]=_0x4f75a6,this[_0xf33c5a(0x231)]=_0x105bb2,this['_lifecycleService']=_0x465d23,this['_commandService']=_0x5bd4fa,this[_0xf33c5a(0x384)]=_0x43b855,this[_0xf33c5a(0x291)]());}[_0x2cfc65(0x111)](){const _0x578298=_0x2cfc65;return this[_0x578298(0x213)]?this[_0x578298(0x213)]:Mi;}[_0x2cfc65(0x35c)](_0x647d9f){const _0x648431=_0x2cfc65;this[_0x648431(0x213)]=_0x647d9f;}[_0x2cfc65(0x2cf)](_0x272a97){const _0x38662f=_0x2cfc65;var _0x4c27c9;const {from:_0x3b9c7f,to:_0x26ab44,unitId:_0x22a4af,fromRange:_0x47cae5,toRange:_0x1f5ee1}=_0x272a97;if(_0x3b9c7f&&_0x26ab44){const _0x35b9db=this[_0x38662f(0x212)](_0x22a4af),_0x522b26=this[_0x38662f(0x1f8)][_0x38662f(0x13e)](_0x22a4af),_0x4c3fff=(_0x4c27c9=this[_0x38662f(0x231)][_0x38662f(0x15d)](_0x22a4af))==null?void 0x0:_0x4c27c9[_0x38662f(0x248)](_0x26ab44[_0x38662f(0x1bc)]);if(!_0x522b26||!_0x4c3fff)return;const _0x5a6eee=_0x4c3fff==null?void 0x0:_0x4c3fff[_0x38662f(0x27a)]();for(const [_0x2f84c1,_0x4978a1]of _0x522b26['entries']())for(const [_0x3e51bf,_0x5c6d41]of _0x4978a1[_0x38662f(0x2f2)]()){const {sourceRangeInfo:_0x5dfca2}=_0x5c6d41;if(_0x5dfca2['unitId']===_0x22a4af&&_0x5dfca2[_0x38662f(0x1bc)]===_0x3b9c7f[_0x38662f(0x1bc)]&&_0x2492ba['contains'](_0x47cae5,_0x5dfca2[_0x38662f(0x16d)])){const _0x14809c={'row':_0x5dfca2[_0x38662f(0x16d)]['startRow']-_0x47cae5['startRow'],'col':_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x256)]-_0x47cae5['startColumn']},_0x5356c2={'unitId':_0x22a4af,'subUnitId':_0x26ab44[_0x38662f(0x1bc)],'sheetName':_0x5a6eee,'range':{'startRow':_0x1f5ee1['startRow']+_0x14809c[_0x38662f(0x379)],'endRow':_0x1f5ee1[_0x38662f(0x21c)]+_0x14809c[_0x38662f(0x379)]+_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x389)]-_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x21c)],'startColumn':_0x1f5ee1['startColumn']+_0x14809c['col'],'endColumn':_0x1f5ee1[_0x38662f(0x256)]+_0x14809c[_0x38662f(0x183)]+_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x354)]-_0x5dfca2['range'][_0x38662f(0x256)]}};_0x35b9db[_0x38662f(0x2cf)](_0x3e51bf,_0x5356c2);const _0x26b780={..._0x5c6d41,'sourceRangeInfo':_0x5356c2};this[_0x38662f(0x28a)](_0x22a4af,_0x26ab44[_0x38662f(0x1bc)],_0x3e51bf,_0x26b780),this[_0x38662f(0x1eb)]({'unitId':_0x22a4af,'token':_0x3e51bf,'type':ke[_0x38662f(0x133)],'oldSourceRangeInfo':_0x5dfca2,'dataRangeInfo':_0x5356c2,'targetCellInfo':_0x5c6d41[_0x38662f(0x216)]}),this['updateConfig']({'unitId':_0x22a4af,'subUnitId':_0x26ab44[_0x38662f(0x1bc)],'oldSubUnitId':_0x2f84c1,'pivotTableId':_0x3e51bf,'pivotTableConfig':_0x26b780,'collectionConfig':_0x35b9db['toJSON']()});}}}}['broadcastCollectionChange'](_0x260a0e){const _0x555c85=_0x2cfc65;this[_0x555c85(0x19f)][_0x555c85(0x2c4)](_0x260a0e);}[_0x2cfc65(0x212)](_0x14f80f){const _0x3b4942=_0x2cfc65;let _0x8a234b=this[_0x3b4942(0x24d)][_0x3b4942(0x13e)](_0x14f80f);return _0x8a234b||(_0x8a234b=new Di(this,this[_0x3b4942(0x231)]),this['_dataFieldManagerCollection']['set'](_0x14f80f,_0x8a234b)),_0x8a234b;}[_0x2cfc65(0x161)](_0x3fbd6a,_0x25f1d0){const _0x32e632=_0x2cfc65;return this[_0x32e632(0x212)](_0x3fbd6a)[_0x32e632(0x337)][_0x25f1d0];}[_0x2cfc65(0x351)](_0x5a7c0e,_0x2b6ffc,_0x1e5884){const _0x36ea1f=_0x2cfc65;return this[_0x36ea1f(0x212)](_0x5a7c0e)['getUpdateRangeDeleteIds'](_0x2b6ffc,_0x1e5884);}[_0x2cfc65(0x330)](_0x45e981,_0x30f87b){const _0x5f37bb=_0x2cfc65;let _0x26a842=this['_model'][_0x5f37bb(0x13e)](_0x45e981);_0x26a842||(_0x26a842=new Map(),this[_0x5f37bb(0x1f8)][_0x5f37bb(0x289)](_0x45e981,_0x26a842));let _0x4e8364=_0x26a842['get'](_0x30f87b);return _0x4e8364||(_0x4e8364=new Map(),_0x26a842['set'](_0x30f87b,_0x4e8364)),_0x4e8364;}[_0x2cfc65(0x28a)](_0x5e129d,_0x1dfc37,_0x5a463e,_0xafced7){const _0x38fa8b=_0x2cfc65;this['_ensurePivotMap'](_0x5e129d,_0x1dfc37)[_0x38fa8b(0x289)](_0x5a463e,_0xafced7);}[_0x2cfc65(0x19a)](_0x5e9e0b,_0x329fee,_0x3d0fa8){const _0x3fb151=_0x2cfc65;var _0x1bac10,_0x2fc949,_0x116295,_0xd4e780;((_0x2fc949=(_0x1bac10=this[_0x3fb151(0x1f8)][_0x3fb151(0x13e)](_0x5e9e0b))==null?void 0x0:_0x1bac10[_0x3fb151(0x13e)](_0x329fee))==null?void 0x0:_0x2fc949[_0x3fb151(0x13e)](_0x3d0fa8))&&((_0xd4e780=(_0x116295=this[_0x3fb151(0x1f8)]['get'](_0x5e9e0b))==null?void 0x0:_0x116295['get'](_0x329fee))==null||_0xd4e780[_0x3fb151(0x173)](_0x3d0fa8));}[_0x2cfc65(0x344)](_0xa76ea,_0x5c4c75){const _0x5b9a32=_0x2cfc65;this[_0x5b9a32(0x1ef)][_0x5b9a32(0x289)](_0xa76ea,_0x5c4c75);}[_0x2cfc65(0x2cb)](_0x31df0a){const _0x496bbf=_0x2cfc65;this[_0x496bbf(0x1ef)]['delete'](_0x31df0a);}[_0x2cfc65(0x269)](_0x9d2aab,_0x4c2ff5){const _0x2f97c8=_0x2cfc65;let _0x24c953=this[_0x2f97c8(0x359)]['get'](_0x9d2aab);_0x24c953||(_0x24c953=new Map(),this['_viewData']['set'](_0x9d2aab,_0x24c953));let _0x260d85=_0x24c953['get'](_0x4c2ff5);return _0x260d85||(_0x260d85=new Map(),_0x24c953[_0x2f97c8(0x289)](_0x4c2ff5,_0x260d85)),_0x260d85;}['updateConfig'](_0x4de8dd){const _0x13b8fb=_0x2cfc65,{unitId:_0x4744ca,subUnitId:_0x54d2c5,pivotTableId:_0x23fd78,pivotTableConfig:_0x4f03c9,collectionConfig:_0x18b66a}=_0x4de8dd,_0x49bc3b={'unitId':_0x4744ca,'subUnitId':_0x54d2c5,'oldSubUnitId':_0x54d2c5,'pivotTableId':_0x23fd78,'pivotTableConfig':_0x4f03c9,'collectionConfig':_0x18b66a};this['_commandService'][_0x13b8fb(0x306)](co['id'],_0x49bc3b,{'onlyLocal':!0x0});}[_0x2cfc65(0x1b0)](_0x44989c,_0x15ae2b,_0x114dcb,_0x3ddfdd,_0x34ad12,_0x4db9c4,_0x386ab2,_0x46afee=!0x1){const _0x3a79fb=_0x2cfc65;var _0x501dcc;this[_0x3a79fb(0x1a6)]['executeCommand'](Dt['id'],{'single':{'unitId':_0x44989c,'subUnitId':_0x15ae2b,'type':_0x114dcb,'pivotTableId':_0x3ddfdd,'view':_0x34ad12,'pivotConfig':_0x4db9c4},'collectionConfig':{[_0x44989c]:_0x386ab2}},{'onlyLocal':!0x0});const _0x4c0f19=!!((_0x501dcc=this[_0x3a79fb(0x2bc)](_0x3ddfdd))!=null&&_0x501dcc[_0x3a79fb(0x313)]()),_0xc6b54d=this['getPivotTableConfig'](_0x44989c,_0x15ae2b,_0x3ddfdd);_0xc6b54d&&this[_0x3a79fb(0x192)]({'view':_0x34ad12,'pivotTableId':_0x3ddfdd,'textInfo':this[_0x3a79fb(0x111)](),'isEmpty':_0x4c0f19,'targetCellInfo':_0xc6b54d['targetCellInfo']},_0x46afee);}[_0x2cfc65(0x192)](_0x4f3a20,_0x1e061c){const _0x3c961a=_0x2cfc65,{targetCellInfo:_0xef3e0b,pivotTableId:_0x397c9d}=_0x4f3a20,{unitId:_0x4df809,subUnitId:_0xa841d2}=_0xef3e0b,_0x3dbf34=this['_ensureViewDataMap'](_0x4df809,_0xa841d2),_0x3b69f9=_0x3dbf34[_0x3c961a(0x13e)](_0x397c9d);let _0x258b9d,_0x5f3255;_0x3b69f9&&(_0x258b9d=_0x3b69f9[_0x3c961a(0x338)],_0x5f3255=_0x3b69f9[_0x3c961a(0x2b9)]);const {rangesCache:_0x23f696,matrix:_0x147ba7}=Vi(_0x4f3a20);_0x3dbf34['set'](_0x397c9d,{'rangeCache':_0x23f696,'matrix':_0x147ba7,'oldMatrix':_0x5f3255,'oldRangeCache':_0x258b9d}),_0x1e061c||this[_0x3c961a(0x309)]['next']({'unitId':_0x4df809,'subUnitId':_0xa841d2,'pivotTableId':_0x397c9d});}[_0x2cfc65(0x20c)](_0x213f0d,_0x2b254f,_0x350a21,_0x246657,_0x553d20){const _0x58c961=_0x2cfc65;this[_0x58c961(0x28a)](_0x213f0d,_0x2b254f,_0x350a21,_0x553d20),this[_0x58c961(0x344)](_0x350a21,_0x246657);}[_0x2cfc65(0x343)](_0x36514f,_0x650b0a,_0x31bbb8){const _0x123619=_0x2cfc65,_0x52393c=this['getDataFieldManager'](_0x36514f);_0x52393c[_0x123619(0x1ce)](_0x31bbb8)['forEach'](_0x5c6ff9=>{_0x52393c['deleteDataField'](_0x5c6ff9);}),this[_0x123619(0x26c)](_0x36514f,_0x31bbb8),this[_0x123619(0x19a)](_0x36514f,_0x650b0a,_0x31bbb8),this[_0x123619(0x2cb)](_0x31bbb8);}[_0x2cfc65(0x240)](_0x5f553b,_0x132efc,_0xfd6238,_0x33be4c){const _0x12f458=_0x2cfc65;this[_0x12f458(0x28a)](_0x5f553b,_0x132efc,_0xfd6238,_0x33be4c);}['getPivotTableConfig'](_0x450835,_0x78c77b,_0x51516a){const _0x5bafd1=_0x2cfc65;var _0xac86eb,_0x2bc04f;const _0x29ea60=(_0x2bc04f=(_0xac86eb=this[_0x5bafd1(0x1f8)][_0x5bafd1(0x13e)](_0x450835))==null?void 0x0:_0xac86eb['get'](_0x78c77b))==null?void 0x0:_0x2bc04f[_0x5bafd1(0x13e)](_0x51516a);if(_0x29ea60)return _0x29ea60;}[_0x2cfc65(0x206)](_0x2c24bd,_0x2cfdea,_0xe5ca47){const _0x3eae70=_0x2cfc65;var _0x3f3532,_0x232122;const _0x3f7008=(_0x232122=(_0x3f3532=this[_0x3eae70(0x1f8)][_0x3eae70(0x13e)](_0x2c24bd))==null?void 0x0:_0x3f3532[_0x3eae70(0x13e)](_0x2cfdea))==null?void 0x0:_0x232122[_0x3eae70(0x13e)](_0xe5ca47);if(_0x3f7008)return _0x3f7008[_0x3eae70(0x356)];}[_0x2cfc65(0x2bc)](_0x59062a){const _0x2c1e38=_0x2cfc65;return this[_0x2c1e38(0x1ef)]['get'](_0x59062a);}[_0x2cfc65(0x163)](_0x1ef669){const _0x377e06=_0x2cfc65;this['_model']['delete'](_0x1ef669);const _0x25565d=this[_0x377e06(0x24d)][_0x377e06(0x13e)](_0x1ef669);_0x25565d&&(_0x25565d[_0x377e06(0x208)](),this[_0x377e06(0x24d)]['delete'](_0x1ef669)),this[_0x377e06(0x359)]['delete'](_0x1ef669),this[_0x377e06(0x30d)][_0x377e06(0x112)](_0x37d923=>{_0x37d923['deleteUnitId'](_0x1ef669);});}[_0x2cfc65(0x121)](_0x49c36d,_0x15866b,_0x15d087,_0x47ef25){const _0x42b226=_0x2cfc65;return this[_0x42b226(0x212)](_0x15d087[_0x42b226(0x130)])[_0x42b226(0x121)](_0x49c36d,_0x15866b,_0x15d087,_0x47ef25);}[_0x2cfc65(0x225)](_0x4e790b){const _0x12aa4e=_0x2cfc65;return this['getDataFieldManager'](_0x4e790b[_0x12aa4e(0x130)])[_0x12aa4e(0x225)](_0x4e790b);}[_0x2cfc65(0x180)](_0xe148ed,_0x7f987a,_0x5dc6f1){const _0x175f93=_0x2cfc65;this[_0x175f93(0x212)](_0x5dc6f1[_0x175f93(0x130)])[_0x175f93(0x180)](_0xe148ed,_0x7f987a,_0x5dc6f1);}[_0x2cfc65(0x2ef)](_0x5811d4,_0x2151c5){const _0x4e51e3=_0x2cfc65;this[_0x4e51e3(0x212)](_0x5811d4)[_0x4e51e3(0x118)](_0x2151c5);}[_0x2cfc65(0x26c)](_0x42e314,_0x406832){const _0x5833d2=_0x2cfc65;this[_0x5833d2(0x212)](_0x42e314)[_0x5833d2(0x30f)](_0x406832);}[_0x2cfc65(0x34d)](_0x1c318f,_0x568045){const _0x456b76=_0x2cfc65;var _0x44f204;return(_0x44f204=this[_0x456b76(0x1f8)][_0x456b76(0x13e)](_0x1c318f))==null?void 0x0:_0x44f204[_0x456b76(0x13e)](_0x568045);}[_0x2cfc65(0x1c1)](_0x233a1c){const _0x45991e=_0x2cfc65;for(const [_0x252095,_0x10b1b8]of this['_model'][_0x45991e(0x2f2)]())for(const [_0x524305,_0x3c736d]of _0x10b1b8[_0x45991e(0x2f2)]())if(_0x3c736d[_0x45991e(0x19c)](_0x233a1c))return{'unitId':_0x252095,'subUnitId':_0x524305};return null;}[_0x2cfc65(0x357)](_0x428bc8,_0x4909ef,_0x459395,_0x15b92a){const _0x205329=_0x2cfc65,_0x2b660d=this[_0x205329(0x269)](_0x428bc8,_0x4909ef);_0x15b92a?_0x2b660d['set'](_0x459395,_0x15b92a):_0x2b660d[_0x205329(0x173)](_0x459395),this['_viewData$']['next']({'unitId':_0x428bc8,'subUnitId':_0x4909ef,'pivotTableId':_0x459395});}['dispose'](){super['dispose']();}[_0x2cfc65(0x2d5)](_0x250c04,_0x53faaa,_0x2507b9){const _0x232fba=_0x2cfc65;var _0x43d067,_0x24995d;const _0x2cd8c9=(_0x24995d=(_0x43d067=this[_0x232fba(0x359)]['get'](_0x250c04))==null?void 0x0:_0x43d067[_0x232fba(0x13e)](_0x53faaa))==null?void 0x0:_0x24995d['get'](_0x2507b9);return _0x2cd8c9||null;}[_0x2cfc65(0x1ba)](_0x539dcd){this['updateDirtyPivotTable'](_0x539dcd);}[_0x2cfc65(0x239)](_0x5bafe0){const _0x2d6d4e=_0x2cfc65,{token:_0x5aa5bf,unitId:_0x17ad17,subUnitId:_0x3228e6}=_0x5bafe0,_0xed4c09=_0x17ad17+'-'+_0x3228e6+'-'+_0x5aa5bf;this['_queryingMap']['get'](_0xed4c09)&&clearTimeout(this[_0x2d6d4e(0x220)][_0x2d6d4e(0x13e)](_0xed4c09));const _0x46a9c9=setTimeout(()=>{const _0x5812a4=_0x2d6d4e;this[_0x5812a4(0x145)](_0x5bafe0),this[_0x5812a4(0x220)][_0x5812a4(0x173)](_0xed4c09);},Pi);this[_0x2d6d4e(0x220)]['set'](_0xed4c09,_0x46a9c9);}[_0x2cfc65(0x145)](_0x473988){const _0x2e6c83=_0x2cfc65,{unitId:_0x4a5b17,subUnitId:_0x445173,token:_0x31f7d1,type:_0x2ccc23,pivotConfig:_0x27b0b3}=_0x473988,_0x67bedf=this[_0x2e6c83(0x2bc)](_0x31f7d1),_0x11d641=_0x67bedf==null?void 0x0:_0x67bedf[_0x2e6c83(0x2b1)](),_0x282c0c=_0x27b0b3!=null?_0x27b0b3:this[_0x2e6c83(0x21d)](_0x4a5b17,_0x445173,_0x31f7d1);_0x282c0c&&(_0x282c0c['isEmpty']=!!(_0x67bedf!=null&&_0x67bedf[_0x2e6c83(0x313)]())),(_0x11d641||_0x2ccc23===G[_0x2e6c83(0x132)])&&this[_0x2e6c83(0x1b0)](_0x4a5b17,_0x445173,_0x2ccc23,_0x31f7d1,_0x11d641,_0x282c0c,this[_0x2e6c83(0x212)](_0x4a5b17)[_0x2e6c83(0x2d6)]());}[_0x2cfc65(0x2d6)](_0xb85478){const _0x5a3edf=_0x2cfc65,_0x4c3fc2={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5a3edf(0x212)](_0xb85478)&&(_0x4c3fc2[_0x5a3edf(0x22b)][_0xb85478]=this[_0x5a3edf(0x212)](_0xb85478)[_0x5a3edf(0x2d6)]()),this[_0x5a3edf(0x1f8)]['get'](_0xb85478)){_0x4c3fc2['pivotTableConfigs'][_0xb85478]={};const _0xce7157=this[_0x5a3edf(0x1f8)][_0x5a3edf(0x13e)](_0xb85478);_0xce7157!=null&&_0xce7157[_0x5a3edf(0x1ed)]&&[..._0xce7157['keys']()][_0x5a3edf(0x112)](_0x429687=>{const _0x316fa4=_0x5a3edf,_0x467a5a=_0xce7157[_0x316fa4(0x13e)](_0x429687);_0x467a5a!=null&&_0x467a5a[_0x316fa4(0x1ed)]&&(_0x4c3fc2[_0x316fa4(0x1fe)][_0xb85478][_0x429687]={},[..._0x467a5a['keys']()]['forEach'](_0x47944b=>{const _0x12b106=_0x316fa4,_0x22d136=_0x467a5a[_0x12b106(0x13e)](_0x47944b);_0x22d136&&(_0x4c3fc2['pivotTableConfigs'][_0xb85478][_0x429687][_0x47944b]=_0x22d136);}));});}return _0x4c3fc2;}['fromJSON'](_0x40e53c){const _0x2f9d79=_0x2cfc65;var _0xd3d06;const {dataFieldManagerConfig:_0x7e1355,pivotTableConfigs:_0x391776}=_0x40e53c;_0x7e1355&&Object[_0x2f9d79(0x23b)](_0x7e1355)['forEach'](_0x19e4d7=>{this['getDataFieldManager'](_0x19e4d7)['fromJSON'](_0x7e1355[_0x19e4d7]);});const _0x27bd77=[];if(_0x391776){const _0x446045=(_0xd3d06=this[_0x2f9d79(0x13c)][_0x2f9d79(0x13e)](_0x931275)[_0x2f9d79(0x303)](_0x2b702e))!=null?_0xd3d06:{},{ls:_0x3fe25a,pbk:_0x43ccb1}=_0x446045,_0x133373=go(so,_0x3fe25a,_0x43ccb1)[_0x2f9d79(0x251)];Object[_0x2f9d79(0x23b)](_0x391776)[_0x2f9d79(0x112)](_0x1fdd3d=>{const _0x11f130=_0x2f9d79;let _0x4a497e=0x0;const _0x6c4b75=_0x391776[_0x1fdd3d];Object[_0x11f130(0x23b)](_0x6c4b75)[_0x11f130(0x112)](_0x4e3577=>{const _0xc4a05c=_0x11f130,_0x584f39=_0x6c4b75[_0x4e3577];Object[_0xc4a05c(0x23b)](_0x584f39)['forEach'](_0x1b2d29=>{const _0x1b1b7b=_0xc4a05c,_0x1dabc2=_0x584f39[_0x1b2d29];if(_0x1dabc2){if(_0x4a497e>=_0x133373)return;_0x4a497e++;const _0x35b44e=this[_0x1b1b7b(0x212)](_0x1fdd3d),_0x57121f=_0x35b44e[_0x1b1b7b(0x337)][_0x1b2d29],_0x70df3d=_0x57121f[_0x1b1b7b(0x2fb)]();let _0x41daca=0x0;const _0x56871e=[];for(const _0x3dddad of _0x70df3d){const _0x5b8f2d=_0x57121f[_0x1b1b7b(0x11c)](_0x3dddad);if(_0x228625(_0x5b8f2d)){const _0x264e18=_0x5b8f2d[_0x1b1b7b(0x1df)](),_0x469167=_0x57121f[_0x1b1b7b(0x11c)](_0x264e18);_0x469167&&_0x56871e[_0x1b1b7b(0x17f)]([_0x5b8f2d,_0x469167]);continue;}_0x35b44e[_0x1b1b7b(0x277)](_0x3dddad,_0x1dabc2[_0x1b1b7b(0x27f)],_0x41daca),_0x41daca++;}_0x56871e[_0x1b1b7b(0x112)](([_0x4eed2c,_0x2e0cfb])=>{const _0x527855=_0x1b1b7b;_0x4eed2c[_0x527855(0x249)](_0x2e0cfb);});const _0xd4666a=new _0xa87c2b(_0x57121f);_0xd4666a[_0x1b1b7b(0x2db)](_0x1dabc2['fieldsConfig']),this[_0x1b1b7b(0x20c)](_0x1fdd3d,_0x4e3577,_0x1b2d29,_0xd4666a,_0x1dabc2);const _0x318a74=_0xd4666a[_0x1b1b7b(0x2b1)]();_0x27bd77['push']({'unitId':_0x1fdd3d,'subUnitId':_0x4e3577,'pivotTableId':_0x1b2d29,'view':_0x318a74['toJSON'](),'pivotConfig':_0x1dabc2,'type':G[_0x1b1b7b(0x299)]});const _0xdd2652=!!_0xd4666a[_0x1b1b7b(0x313)](),_0x326342={'view':_0x318a74,'pivotTableId':_0x1b2d29,'textInfo':this[_0x1b1b7b(0x111)](),'isEmpty':_0xdd2652,'targetCellInfo':_0x1dabc2[_0x1b1b7b(0x216)]};this[_0x1b1b7b(0x192)](_0x326342,!0x1);}});});});}_0x7e1355&&Object[_0x2f9d79(0x23b)](_0x7e1355)[_0x2f9d79(0x112)](_0x2c9af4=>{const _0x4e4618=_0x2f9d79,_0x2316af=this[_0x4e4618(0x212)](_0x2c9af4);this[_0x4e4618(0x209)][_0x4e4618(0x2c4)](_0x2316af[_0x4e4618(0x337)]);}),this[_0x2f9d79(0x1a6)][_0x2f9d79(0x306)](Dt['id'],{'batch':_0x27bd77,'collectionConfig':_0x7e1355},{'onlyLocal':!0x0});}[_0x2cfc65(0x291)](){const _0x2a7ffe=_0x2cfc65;this[_0x2a7ffe(0x134)](this[_0x2a7ffe(0x384)]['registerPluginResource']({'toJson':_0x261363=>JSON[_0x2a7ffe(0x205)](this['toJSON'](_0x261363)),'parseJson':_0x2680c7=>{if(!_0x2680c7)return{};try{return JSON['parse'](_0x2680c7);}catch{return{};}},'businesses':[_0x407cd0['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x2090e8,_0x5231f0)=>{const _0x55b242=_0x2a7ffe;this[_0x55b242(0x2db)](_0x5231f0);},'onUnLoad':_0x1c1a44=>{const _0x6c16a=_0x2a7ffe;this[_0x6c16a(0x163)](_0x1c1a44);}}));}};$=Ei([nt(0x0,_0x4eaa26(_0x297017)),nt(0x1,_0x295672),nt(0x2,_0x4eaa26(_0x1781c9)),nt(0x3,_0x4c491b),nt(0x4,_0x4eaa26(_0x5937c1))],$);const xi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x2cfc65(0x379),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x2cfc65(0x282),'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':_}}},kt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Ko=(_0x405a6a,_0xc68ec1)=>{const _0x3ecc14=_0x2cfc65,_0x7c2d1f=new _0x3d4b3d(),_0x1b82e=new _0x3d4b3d(xi),{row:_0x3ea2c9,col:_0x2f298f}=_0xc68ec1;_0x1b82e['forValue']((_0x4976da,_0x3832c5,_0x81d688)=>{const _0x1e6055=_0x2e44;let _0x18400d='';_0x81d688['v']==='filter'?_0x18400d=_0x405a6a[_0x1e6055(0x211)]:_0x81d688['v']==='row'?_0x18400d=_0x405a6a['row']:_0x81d688['v']===_0x1e6055(0x117)?_0x18400d=_0x405a6a[_0x1e6055(0x117)]:_0x81d688['v']==='values'&&(_0x18400d=_0x405a6a[_0x1e6055(0x282)]),_0x7c2d1f[_0x1e6055(0x2e3)](_0x4976da+_0x3ea2c9,_0x3832c5+_0x2f298f,{..._0x81d688,'v':_0x18400d});});const _0x4298d3=_0x414e34[_0x3ecc14(0x36c)](kt);return Object[_0x3ecc14(0x23b)](kt)[_0x3ecc14(0x112)](_0x3f2479=>{const _0x44996a=_0x3ecc14;_0x4298d3[_0x3f2479]=kt[_0x3f2479][_0x44996a(0x26e)](_0x26a58c=>({..._0x26a58c,'startRow':_0x26a58c['startRow']+_0x3ea2c9,'endRow':_0x26a58c['endRow']+_0x3ea2c9,'startColumn':_0x26a58c[_0x44996a(0x256)]+_0x2f298f,'endColumn':_0x26a58c[_0x44996a(0x354)]+_0x2f298f}));}),{'matrixCache':_0x7c2d1f,'rangesCache':_0x4298d3};};function Ai(_0x3d095f,_0x3b3ebe){const _0x58e7b4=_0x2cfc65;let _0xddeaff='';const _0x3ff624=this[_0x58e7b4(0x111)]();switch(_0x3b3ebe){case _0x383156[_0x58e7b4(0x37d)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x33c)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x251)]:_0xddeaff=_0x3ff624['sheets-pivot.countName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x369)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x230)]+_0x3d095f;break;case _0x383156['max']:_0xddeaff=_0x3ff624[_0x58e7b4(0x2eb)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x276)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x236)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x327)]:_0xddeaff=_0x3ff624['sheets-pivot.productName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1f9)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x18a)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1d4)]:_0xddeaff=_0x3ff624['sheets-pivot.stdDevpName']+_0x3d095f;break;case _0x383156['sum']:_0xddeaff=_0x3ff624['sheets-pivot.sumName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1f3)]:_0xddeaff=_0x3ff624['sheets-pivot.varName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1fc)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x174)]+_0x3d095f;break;default:_0xddeaff=_0x3d095f;break;}return _0xddeaff;}function Bi(_0x4835cd,_0x3131fe,_0xa2918c,_0x2fdfc3,_0x35e65f){const _0x26e81e=_0x2cfc65;var _0x303ac4,_0x1de631,_0x19535b,_0x32867b,_0x4af1a6;const _0x536c52=_0x1aea22(_0x4835cd,_0x3131fe),{rangesInfo:_0x307951,areaInfo:_0x2d5af2,headerMap:_0x564856}=_0x35e65f;if(!_0x307951||!_0x2d5af2||!_0x564856)return;const _0x4777ea=Object['keys'](_0x307951)[_0x26e81e(0x193)](_0x13632f=>_0x307951[_0x13632f][_0x26e81e(0x32c)](_0x377410=>_0x2492ba[_0x26e81e(0x33e)](_0x377410,_0x536c52))),_0x1532f2=_0x2d5af2;let _0x13857b,_0x586a0a,_0x2794ec;if(_0x4777ea===_0x26e81e(0x201))_0x13857b=(_0x303ac4=_0x1532f2==null?void 0x0:_0x1532f2['rowInfo'])==null?void 0x0:_0x303ac4[_0x4835cd],_0x586a0a=(_0x1de631=_0x564856==null?void 0x0:_0x564856[_0x26e81e(0x2c3)])==null?void 0x0:_0x1de631[_0x3131fe],_0x2794ec=_0x586a0a==null?void 0x0:_0x586a0a[_0x26e81e(0x297)];else{if(_0x4777ea==='colRanges')_0x13857b=(_0x19535b=_0x1532f2==null?void 0x0:_0x1532f2[_0x26e81e(0x227)])==null?void 0x0:_0x19535b[_0x3131fe],_0x586a0a=(_0x32867b=_0x564856['colHeaderMap'])==null?void 0x0:_0x32867b[_0x4835cd+0x1+_0x3131fe-_0x307951[_0x26e81e(0x1e6)][0x0][_0x26e81e(0x256)]],_0x2794ec=_0x586a0a==null?void 0x0:_0x586a0a['tableFieldId'];else{if(_0x4777ea===_0x26e81e(0x29a))_0x13857b=(_0x4af1a6=_0x1532f2==null?void 0x0:_0x1532f2[_0x26e81e(0x14d)])==null?void 0x0:_0x4af1a6[_0x3131fe],_0x2794ec=_0x13857b==null?void 0x0:_0x13857b[_0x26e81e(0x297)];else{if(_0x4777ea===_0x26e81e(0x1f4)){const _0x3eebfc=_0xa2918c==null?void 0x0:_0xa2918c['fi'];_0x3eebfc!==void 0x0&&(_0x2794ec=_0x2fdfc3[_0x26e81e(0x268)](_0x3eebfc));}}}}return{'filterId':_0x2794ec,'info':_0x13857b,'data':_0xa2918c,'headerInfo':_0x586a0a};}function Li(_0x325afc,_0x1673fb,_0x4b6de0){const _0x1b4978=_0x2cfc65,_0x5ee823=_0x325afc[_0x1b4978(0x116)],_0x55a725=_0x5ee823[_0x1b4978(0x2fb)](),_0x4a067b=new Set();_0x325afc[_0x1b4978(0x2ce)](_0x1c97e6=>{const _0xeca935=_0x1b4978;_0x4a067b['add'](_0x1c97e6[_0xeca935(0x38e)]);});const _0x10e620=_0x55a725[_0x1b4978(0x26e)](_0x1b0132=>{const _0x16a46c=_0x1b4978,_0x503986=_0x5ee823['getFieldById'](_0x1b0132);return{'checked':_0x4a067b['has'](_0x1b0132),'dataFieldId':_0x503986['id'],'id':_0x503986['id'],'name':_0x5ee823[_0x16a46c(0x2ab)](_0x503986['id']),'type':_0x503986[_0x16a46c(0x141)](),'pivotTableId':_0x1673fb};}),_0x19fc1a=[];_0x325afc[_0x1b4978(0x188)](_0xeefe5e['Row'],_0x11a9fb=>{const _0x3f752=_0x1b4978;_0x19fc1a[_0x3f752(0x17f)]({'dataFieldId':_0x11a9fb['dataFieldId'],'tableFieldId':_0x11a9fb[_0x3f752(0x159)](),'displayName':_0x11a9fb[_0x3f752(0x2ab)]()});});const _0x3f2834=[];_0x325afc['iterateFieldByArea'](_0xeefe5e[_0x1b4978(0x19b)],_0x356c45=>{const _0x525de7=_0x1b4978;_0x3f2834[_0x525de7(0x17f)]({'dataFieldId':_0x356c45[_0x525de7(0x38e)],'tableFieldId':_0x356c45['getId'](),'displayName':_0x356c45[_0x525de7(0x2ab)]()});});const _0x550118=[];if(_0x325afc[_0x1b4978(0x188)](_0xeefe5e['Value'],_0x10fc09=>{const _0x4be165=_0x1b4978;_0x550118['push']({'dataFieldId':_0x10fc09['dataFieldId'],'tableFieldId':_0x10fc09[_0x4be165(0x159)](),'displayName':_0x10fc09[_0x4be165(0x2ab)](),'format':_0x10fc09['getFormat'](),'subTotalType':_0x10fc09['getSubtotal']()});}),_0x550118[_0x1b4978(0x1fd)]>0x1){const _0x17de59=_0x325afc[_0x1b4978(0x294)]();(_0x325afc['isColMultiMeasure']()?_0x3f2834:_0x19fc1a)['splice'](_0x17de59,0x0,{'dataFieldId':'','tableFieldId':_0x1b4978(0x1e8),'displayName':_0x1b4978(0x160)});}const _0x2f12dc=[];_0x325afc[_0x1b4978(0x188)](_0xeefe5e['Filter'],_0x335869=>{const _0xe0c5da=_0x1b4978;_0x2f12dc[_0xe0c5da(0x17f)]({'dataFieldId':_0x335869[_0xe0c5da(0x38e)],'tableFieldId':_0x335869[_0xe0c5da(0x159)](),'displayName':_0x335869[_0xe0c5da(0x2ab)]()});});const _0x534cc8=_0x4b6de0[_0x1b4978(0x27f)];return{'sourceList':_0x10e620,'sourceRange':_0x534cc8,'rowFields':_0x19fc1a,'columnFields':_0x3f2834,'valueFields':_0x550118,'filterFields':_0x2f12dc,'positionInfo':_0x4b6de0[_0x1b4978(0x216)]};}function fo(_0x2f7b34,_0x59e567,_0x467201='',_0x56ebfc={}){const _0x5dc7e3=_0x2cfc65,_0x3f7458=_0x2f7b34['get'](_0x2a61e0);for(const _0x520490 in _0x59e567)if(Object[_0x5dc7e3(0x1e3)][_0x5dc7e3(0x1e4)][_0x5dc7e3(0x154)](_0x59e567,_0x520490)){const _0x310c88=_0x467201?_0x467201+'.'+_0x520490:_0x520490;typeof _0x59e567[_0x520490]==_0x5dc7e3(0x17c)&&_0x59e567[_0x520490]!==null&&!Array[_0x5dc7e3(0x15e)](_0x59e567[_0x520490])?fo(_0x2f7b34,_0x59e567[_0x520490],_0x310c88,_0x56ebfc):_0x56ebfc[_0x310c88]=_0x3f7458['t'](_0x310c88);}return _0x56ebfc;}const Gt=_0x3bc64d=>{const _0x2a9c36=_0x2cfc65;if(!_0x3bc64d)return[];const {rowRanges:_0x1342ab,colRanges:_0x25b824,cornerRanges:_0x366e33,dataRanges:_0x5c4285,pageRanges:_0x1d595d}=_0x3bc64d,_0x60c52=[..._0x25b824,..._0x1342ab,..._0x5c4285,..._0x366e33][_0x2a9c36(0x211)](_0x23079b=>_0x23079b[_0x2a9c36(0x21c)]>=0x0&&_0x23079b['startColumn']>=0x0&&_0x23079b[_0x2a9c36(0x389)]>=0x0&&_0x23079b[_0x2a9c36(0x354)]>=0x0);let _0x3d4018=Number[_0x2a9c36(0x2d4)],_0x404938=Number['MIN_SAFE_INTEGER'],_0x228224=Number[_0x2a9c36(0x2d4)],_0x1ccad5=Number[_0x2a9c36(0x2fc)];for(let _0x42eab8=0x0;_0x42eab8<_0x60c52[_0x2a9c36(0x1fd)];_0x42eab8++)_0x3d4018=Math['min'](_0x3d4018,_0x60c52[_0x42eab8][_0x2a9c36(0x21c)]),_0x404938=Math['max'](_0x404938,_0x60c52[_0x42eab8]['endRow']),_0x228224=Math[_0x2a9c36(0x276)](_0x228224,_0x60c52[_0x42eab8][_0x2a9c36(0x256)]),_0x1ccad5=Math[_0x2a9c36(0x29c)](_0x1ccad5,_0x60c52[_0x42eab8][_0x2a9c36(0x354)]);return[..._0x1d595d,{'startRow':_0x3d4018,'endRow':_0x404938,'startColumn':_0x228224,'endColumn':_0x1ccad5}];};function ki(_0x4232ae,_0x5bbbc1){const _0x3be18b=_0x2cfc65,_0x5dc432=_0x5bbbc1[_0x3be18b(0x1c4)][_0x3be18b(0x2c2)],{pivotTableId:_0x319736,unitId:_0x3840d3,subUnitId:_0x4cf7b5}=_0x5bbbc1;if(!_0x5dc432)return;const _0x389f0a=_0x4232ae['get']($),_0x125a0c=_0x389f0a[_0x3be18b(0x2bc)](_0x319736),_0x4e6206=_0x389f0a[_0x3be18b(0x21d)](_0x3840d3,_0x4cf7b5,_0x319736);if(!_0x125a0c||!_0x4e6206)return;const _0x55b008=_0x125a0c['getIndexesByPathStr'](_0x5dc432[_0x3be18b(0x1f6)]);if(!(_0x55b008!=null&&_0x55b008['length']))return;const _0x2908da=_0x4e6206['sourceRangeInfo'],{unitId:_0x2de16a,subUnitId:_0x19e056,range:_0x3cb851}=_0x2908da;let _0x25e79a=0x0;const _0x158253=_0x125a0c[_0x3be18b(0x116)]['getFieldIds']()[_0x3be18b(0x245)]((_0x2903fc,_0x48b902)=>{const _0x59179e=_0x3be18b;var _0x27b1c3;const _0xb00920=(_0x27b1c3=_0x125a0c[_0x59179e(0x2a5)](_0x48b902))==null?void 0x0:_0x27b1c3[_0x59179e(0x37b)]();return _0xb00920&&(_0x2903fc[String(_0x25e79a)]=_0xb00920),_0x25e79a++,_0x2903fc;},{});return{'indexes':_0x55b008,'range':_0x3cb851,'sourceUnitId':_0x2de16a,'sourceSubUnitId':_0x19e056,'formatMap':_0x158253};}function Ho(_0x980954,_0x289d8e){const _0x4f3e7a=_0x2cfc65;if(!_0x980954||!_0x289d8e)return!0x0;const _0x15668b=_0x2228ab(jo,Wo),_0x11ffe6=new Function(_0x4f3e7a(0x18d)+_0x15668b)()(_0x980954,_0x289d8e)[_0x4f3e7a(0x1d5)],_0x59a9c7=_0x41ae26(_0x11ffe6,'sf',Lo);return!((_0x11ffe6==null?void 0x0:_0x11ffe6['rt'])===_0x533376[_0x4f3e7a(0x325)]&&!_0x59a9c7);}function go(_0x39b5e5,_0x3faee4,_0x38a9bd){const _0x535584=_0x2cfc65,_0x24a2d0={'count':_0x39b5e5,'timeValid':!0x1};if(!_0x3faee4||!_0x38a9bd)return _0x24a2d0;const _0x1e2bf9=_0x2228ab(jo,Wo),_0x4d8b6b=new Function(_0x535584(0x18d)+_0x1e2bf9)()(_0x3faee4,_0x38a9bd);if(_0x4d8b6b!=null&&_0x4d8b6b[_0x535584(0x355)]){const _0x5bf5f1=_0x4d8b6b[_0x535584(0x1d5)],_0x36922c=_0x41ae26(_0x5bf5f1,'sf',Lo);return{'count':_0x5da2ca(_0x5bf5f1,_0x36922c,_0x535584(0x2f1),_0x39b5e5,_0x39b5e5,0x0),'timeValid':_0x36922c};}return _0x24a2d0;}function qo(_0x2afb79,_0x29a08a,_0x5c4f8d,_0x159a05){const _0x19f4b5=_0x2cfc65,_0x188f37={'subUnitId':_0x5c4f8d,'unitId':_0x29a08a,'cellValue':_0x1aefa4(_0x159a05)},_0x30e483=_0x17451a(_0x2afb79,_0x188f37);let _0xbc7cf2=!0x1;return new _0x3d4b3d(_0x30e483[_0x19f4b5(0x124)])[_0x19f4b5(0x115)]((_0x4860a4,_0x30b5a4,_0x1ba9e0)=>{const _0x400985=_0x19f4b5;if(!_0xbc7cf2&&_0x1ba9e0&&(_0x1ba9e0[_0x400985(0x252)]||_0x1ba9e0['f']||_0x1ba9e0['p']||_0x1ba9e0['s']||_0x1ba9e0['si']||_0x1ba9e0['t']||_0x1ba9e0['v']))return _0xbc7cf2=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2f97a2['id'],'params':_0x30e483},'setRangeValueRedoMutation':{'id':_0x2f97a2['id'],'params':_0x188f37},'shouldClear':_0xbc7cf2};}function Gi(_0x348c46){const {row:_0xae4c4b,col:_0x3143fa}=_0x348c46,_0x36d620={'startRow':_0xae4c4b,'endRow':_0xae4c4b,'startColumn':_0x3143fa,'endColumn':_0x3143fa},_0x461bd9={'startRow':_0xae4c4b+0x2,'endRow':_0xae4c4b+0xe,'startColumn':_0x3143fa,'endColumn':_0x3143fa+0x6};return[_0x36d620,_0x461bd9];}function $i(_0x1aa04c,_0x3cfd8f,_0x322d7f){const _0x41295f=_0x2cfc65,{cornerView:_0x278d57,rowView:_0x1bdea9,colView:_0x56b043,pageView:_0x53a1ee}=_0x1aa04c,{row:_0x56f2ed,col:_0xff71ac}=_0x3cfd8f;if(_0x322d7f)return{'rowCount':bi+_0x56f2ed,'colCount':Si+_0xff71ac};const _0x396d06=_0x53a1ee[_0x41295f(0x1ad)]>-0x1?_0x53a1ee[_0x41295f(0x1ad)]+0x1:0x0,_0x31ce05=_0x53a1ee['lastCol']>-0x1?_0x53a1ee['lastCol']:0x0,_0x5aa29a=_0x56f2ed+_0x396d06+(_0x396d06?0x1:0x0)+_0x278d57['rowCount']+_0x1bdea9[_0x41295f(0x1b5)],_0x5a567e=_0xff71ac+_0x31ce05,_0x28b481=_0xff71ac+_0x278d57[_0x41295f(0x16a)]+_0x56b043[_0x41295f(0x16a)],_0x51882b=Math['max'](_0x5a567e,_0x28b481);return{'rowCount':_0x5aa29a,'colCount':_0x51882b};}function we(_0x8f9354,_0x321419,_0x1e2cdb,_0x5472e8){const _0x10a5b7=_0x2cfc65,{row:_0x1d0269,col:_0x3c6e42,unitId:_0x21e374,subUnitId:_0x55e9db}=_0x1e2cdb,_0x58efd3=$i(_0x321419,{'row':_0x1d0269,'col':_0x3c6e42},_0x5472e8),_0x4ca0f1=_0x8f9354[_0x10a5b7(0x13e)](_0x295672),_0x3cf768=_0x5d0da0(_0x4ca0f1,{'unitId':_0x21e374,'subUnitId':_0x55e9db}),_0x40df23=[],_0x2a5767=[];if(!_0x3cf768)return{'undos':_0x2a5767,'redos':_0x40df23};const {worksheet:_0x1d6573}=_0x3cf768,_0x285072=_0x1d6573[_0x10a5b7(0x10e)](),_0x4e001f=_0x1d6573['getColumnCount']();return _0x285072<_0x58efd3[_0x10a5b7(0x1b5)]&&(_0x40df23[_0x10a5b7(0x17f)]({'id':_0x432841['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':_0x285072,'endRow':_0x58efd3[_0x10a5b7(0x1b5)]-0x1,'startColumn':0x0,'endColumn':_0x4e001f-0x1}}}),_0x2a5767['push']({'id':_0x489192['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':_0x285072,'endRow':_0x58efd3[_0x10a5b7(0x1b5)]-0x1,'startColumn':0x0,'endColumn':_0x4e001f-0x1}}})),_0x4e001f<_0x58efd3[_0x10a5b7(0x16a)]&&(_0x40df23['push']({'id':_0x541d31['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':0x0,'endRow':_0x285072-0x1,'startColumn':_0x4e001f,'endColumn':_0x58efd3['colCount']-0x1}}}),_0x2a5767['push']({'id':_0x121316['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':0x0,'endRow':_0x285072-0x1,'startColumn':_0x4e001f,'endColumn':_0x58efd3[_0x10a5b7(0x16a)]-0x1}}})),{'undos':_0x2a5767,'redos':_0x40df23};}function Ji(_0x3989ff){const _0x509ea8=_0x2cfc65;let _0x4e6d32=0x0;for(let _0x3fba5e=0x0;_0x3fba5e<_0x3989ff['length'];_0x3fba5e++){const _0x5c21ca=_0x3989ff[_0x509ea8(0x2a1)](_0x3fba5e);_0x5c21ca>=0x4e00&&_0x5c21ca<=0x9fff||_0x5c21ca>=0x3000&&_0x5c21ca<=0x303f||_0x5c21ca>=0xff00&&_0x5c21ca<=0xffef?_0x4e6d32+=0x2:_0x4e6d32+=0x1;}return _0x4e6d32;}function yo(_0x4e35bf,_0x5cd3be,_0xa0ccca,_0x1f6654){const _0x5407c7=_0x2cfc65;var _0x3f627e,_0x26a67f,_0x46225b,_0x1a919c;const {rowCount:_0x331372,colCount:_0x43de8c,headerMap:_0x397bbe}=_0x4e35bf,_0x48b3bf=0x64,_0x428202=Math[_0x5407c7(0x276)](_0x331372,_0x48b3bf),_0x799c47=Math['min'](_0x43de8c,_0x48b3bf);let _0x6ab8ac='',_0x1fcd05=0x0;for(let _0x4c6dd5=0x0;_0x4c6dd5<_0x428202;_0x4c6dd5++)for(let _0x424272=0x0;_0x424272<_0x799c47;_0x424272++){const _0x57daea={...(_0x26a67f=(_0x3f627e=_0x4e35bf[_0x5407c7(0x186)])==null?void 0x0:_0x3f627e[_0x4c6dd5])==null?void 0x0:_0x26a67f[_0x424272]},_0x361790=(_0x46225b=_0x397bbe[_0x4c6dd5])==null?void 0x0:_0x46225b[_0x5407c7(0x297)],_0xf8a59b=_0x1f6654[_0x361790];let _0x3194ff=_0x4e35bf['getValue'](_0x4c6dd5,_0x424272);if(_0x57daea){const _0x1b25d6=_0xa0ccca?_0x424272===0x0&&((_0x1a919c=_0x4e35bf[_0x5407c7(0x21f)](_0x424272+0x1))==null?void 0x0:_0x1a919c['isValue']):!0x1;_0x3194ff=vt(_0x57daea,_0x1b25d6,_0xf8a59b,_0x5cd3be);}if(_0x3194ff!==void 0x0){const _0x5e87a9=Ji(String(_0x3194ff));_0x1fcd05<_0x5e87a9&&(_0x6ab8ac=String(_0x3194ff),_0x1fcd05=_0x5e87a9);}}return _0x6ab8ac;}function Wi(_0x5d6d77){const {rowCount:_0x135b4a,colCount:_0x5e6dec}=_0x5d6d77;let _0x5bf284='',_0x1ee5fd=0x0;for(let _0xb5614a=_0x135b4a-0x1;_0xb5614a>0x0&&_0xb5614a>_0x135b4a-0x3;_0xb5614a--)for(let _0x1b4386=0x0;_0x1b4386<_0x5e6dec;_0x1b4386++){const _0x3c9fdd=_0x5d6d77['getValue'](_0xb5614a,_0x1b4386);if(_0x3c9fdd!==void 0x0){const _0x48407d=String(_0x3c9fdd)['length'];_0x1ee5fd<_0x48407d&&(_0x5bf284=String(_0x3c9fdd),_0x1ee5fd=_0x48407d);}}return _0x5bf284;}function ji(_0x4e4c7b){const _0x4fa787=_0x2cfc65,{rowCount:_0xfcf7cd,colCount:_0x5d0fdb}=_0x4e4c7b;let _0x3ef15f='',_0x3f950d=0x0;for(let _0x4dcf58=0x0;_0x4dcf58<_0xfcf7cd;_0x4dcf58++)for(let _0x41035b=0x0;_0x41035b<_0x5d0fdb;_0x41035b++){const _0x146b23=_0x4e4c7b['getValue'](_0x4dcf58,_0x41035b);if(_0x146b23!==void 0x0){const _0x397e1b=String(_0x146b23)[_0x4fa787(0x1fd)];_0x3f950d<_0x397e1b&&(_0x3ef15f=String(_0x146b23),_0x3f950d=_0x397e1b);}}return _0x3ef15f;}function Ki(_0x474ee3,_0x487c0d){const _0x354cae=_0x2cfc65,{rowFields:_0x39c14a,columnFields:_0x4fb42a,valueFields:_0x108e6b,filterFields:_0x431fae,dimension:_0x5ddf07,measure:_0x32dd07}=_0x487c0d;for(const _0x32454d of _0x39c14a){const _0x32c5b9=_0x5ddf07[_0x32454d];_0x32c5b9&&_0x474ee3[_0x354cae(0x2a5)](_0x32c5b9[_0x354cae(0x38e)])&&(_0x474ee3['addFieldWithSourceId'](_0x32c5b9[_0x354cae(0x38e)],_0xeefe5e[_0x354cae(0x2bf)],void 0x0,_0x32454d),_0x32c5b9[_0x354cae(0x1a3)]&&_0x474ee3[_0x354cae(0x38a)](_0x32c5b9['id'],_0x32c5b9[_0x354cae(0x1a3)]),_0x32c5b9[_0x354cae(0x195)]&&_0x474ee3['setSortInfo'](_0x32c5b9['id'],_0x32c5b9['sortInfo']),_0x32c5b9[_0x354cae(0x12d)]&&_0x474ee3[_0x354cae(0x26a)](_0x32c5b9['id'],_0x32c5b9['filterInfo']));}for(const _0x40f156 of _0x4fb42a){const _0x386615=_0x5ddf07[_0x40f156];_0x386615&&_0x474ee3[_0x354cae(0x2a5)](_0x386615[_0x354cae(0x38e)])&&(_0x474ee3[_0x354cae(0x2f8)](_0x386615[_0x354cae(0x38e)],_0xeefe5e['Column'],void 0x0,_0x40f156),_0x386615[_0x354cae(0x195)]&&_0x474ee3[_0x354cae(0x17b)](_0x386615['id'],_0x386615[_0x354cae(0x195)]),_0x386615['filterInfo']&&_0x474ee3[_0x354cae(0x26a)](_0x386615['id'],_0x386615[_0x354cae(0x12d)]),_0x386615[_0x354cae(0x1a3)]&&_0x474ee3[_0x354cae(0x38a)](_0x386615['id'],_0x386615[_0x354cae(0x1a3)]));}for(const _0x2ed79f of _0x431fae){const _0x538c3c=_0x5ddf07[_0x2ed79f];_0x538c3c&&_0x474ee3[_0x354cae(0x2a5)](_0x538c3c[_0x354cae(0x38e)])&&(_0x474ee3[_0x354cae(0x2f8)](_0x538c3c[_0x354cae(0x38e)],_0xeefe5e['Filter'],void 0x0,_0x2ed79f),_0x538c3c['sortInfo']&&_0x474ee3[_0x354cae(0x17b)](_0x538c3c['id'],_0x538c3c[_0x354cae(0x195)]),_0x538c3c[_0x354cae(0x12d)]&&_0x474ee3[_0x354cae(0x26a)](_0x538c3c['id'],_0x538c3c['filterInfo']),_0x538c3c['displayName']&&_0x474ee3[_0x354cae(0x38a)](_0x538c3c['id'],_0x538c3c[_0x354cae(0x1a3)]));}for(const _0x2e21df of _0x108e6b){const _0x2c1b71=_0x32dd07[_0x2e21df];_0x2c1b71&&_0x474ee3[_0x354cae(0x2a5)](_0x2c1b71[_0x354cae(0x38e)])&&(_0x474ee3[_0x354cae(0x2f8)](_0x2c1b71[_0x354cae(0x38e)],_0xeefe5e[_0x354cae(0x346)],void 0x0,_0x2e21df),_0x2c1b71[_0x354cae(0x14a)]!==void 0x0&&_0x474ee3[_0x354cae(0x157)](_0x2e21df,_0x2c1b71[_0x354cae(0x14a)]),_0x2c1b71['format']&&_0x474ee3[_0x354cae(0x1f0)](_0x2e21df,_0x2c1b71[_0x354cae(0x14c)]),_0x2c1b71[_0x354cae(0x1a3)]&&_0x474ee3['renameField'](_0x2c1b71['id'],_0x2c1b71['displayName']));}const _0x3e6f56=_0x487c0d['valueFilter'];for(const {fieldId:_0x486ab7,filterInfo:_0x3cc140}of _0x3e6f56)_0x474ee3['setValueFilterInfo'](_0x486ab7,_0x3cc140);}function Hi(_0x33b4d6,_0x3f9b75){const _0x5376b2=_0x2cfc65,_0x2a0b87=[];_0x3f9b75===_0xeefe5e[_0x5376b2(0x2bf)]&&_0x33b4d6['iterateFieldByArea'](_0xeefe5e[_0x5376b2(0x2bf)],_0x5e868c=>{const _0x3e23b3=_0x5376b2;_0x2a0b87[_0x3e23b3(0x17f)](_0x5e868c[_0x3e23b3(0x159)]());}),_0x3f9b75===_0xeefe5e[_0x5376b2(0x19b)]&&_0x33b4d6[_0x5376b2(0x188)](_0xeefe5e[_0x5376b2(0x19b)],_0x5dec6f=>{const _0x5934c1=_0x5376b2;_0x2a0b87[_0x5934c1(0x17f)](_0x5dec6f[_0x5934c1(0x159)]());}),_0x3f9b75===_0xeefe5e[_0x5376b2(0x38d)]&&_0x33b4d6[_0x5376b2(0x188)](_0xeefe5e['Filter'],_0x36fd4e=>{const _0x21ad21=_0x5376b2;_0x2a0b87[_0x21ad21(0x17f)](_0x36fd4e[_0x21ad21(0x159)]());}),_0x3f9b75===_0xeefe5e[_0x5376b2(0x346)]&&_0x33b4d6['iterateFieldByArea'](_0xeefe5e[_0x5376b2(0x346)],_0x35d3ba=>{const _0x1dc488=_0x5376b2;_0x2a0b87[_0x1dc488(0x17f)](_0x35d3ba[_0x1dc488(0x159)]());}),_0x3f9b75===void 0x0&&_0x33b4d6['iterateField'](_0x186c75=>{const _0x46954c=_0x5376b2;_0x2a0b87[_0x46954c(0x17f)](_0x186c75[_0x46954c(0x159)]());});const _0x5226e3=_0x2a0b87[_0x5376b2(0x1fd)];for(let _0x5a1cf6=_0x5226e3-0x1;_0x5a1cf6>=0x0;_0x5a1cf6--)_0x33b4d6[_0x5376b2(0x2ed)](_0x2a0b87[_0x5a1cf6]);const _0x4dfed0=_0x33b4d6[_0x5376b2(0x34c)]();for(const _0x574ecb in _0x4dfed0)_0x33b4d6[_0x5376b2(0x293)](_0x574ecb);}function qi(_0x463d5b,_0x42b372){const _0x4bc94e=_0x2cfc65,_0x6f1be7=new Date(_0x181a06(_0x42b372)),_0x138021=new Date(_0x181a06(_0x463d5b)),_0x5d916f=_0x6f1be7[_0x4bc94e(0x1b7)](),_0x30b0ba=_0x138021[_0x4bc94e(0x1b7)](),_0x750703=_0x6f1be7[_0x4bc94e(0x142)](),_0x2a4de6=_0x138021[_0x4bc94e(0x142)](),_0x10a725=_0x6f1be7['getDate'](),_0x642399=_0x138021['getDate'](),_0x33e43a=_0x5d916f===_0x30b0ba,_0x3f7a93=_0x33e43a&&_0x750703===_0x2a4de6;return _0x33e43a&&_0x3f7a93&&!(_0x3f7a93&&_0x10a725===_0x642399)?_0x43d554['YearMonthDate']:_0x33e43a&&!_0x3f7a93?_0x43d554['YearMonth']:_0x43d554[_0x4bc94e(0x2ca)];}function Qo(_0x2286be,_0x348a71){const _0x4ea1af=_0x2cfc65,_0x7d28ec=_0x2286be[_0x4ea1af(0x13e)]($)[_0x4ea1af(0x111)]();let _0x5e71ae='';switch(_0x348a71){case _0x43d554[_0x4ea1af(0x1a4)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x151)];break;case _0x43d554['YearMonth']:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x34a)];break;case _0x43d554[_0x4ea1af(0x2ca)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.year'];break;case _0x43d554[_0x4ea1af(0x2d1)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x36b)];break;case _0x43d554[_0x4ea1af(0x1dd)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.quarter'];break;case _0x43d554[_0x4ea1af(0x332)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x27d)];break;case _0x43d554[_0x4ea1af(0x24c)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.hourMinute'];break;case _0x43d554[_0x4ea1af(0x2b7)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x1d7)];break;case _0x43d554['Minute']:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.minute'];break;case _0x43d554[_0x4ea1af(0x17a)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.monthDate'];break;case _0x43d554[_0x4ea1af(0x238)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x2aa)];break;default:_0x5e71ae='';break;}return _0x5e71ae;}const Yo='sheets-pivot.config',Mo={};var Qi=Object['getOwnPropertyDescriptor'],Yi=(_0x6996a6,_0x4cd54d,_0x3e2a08,_0x4292f3)=>{for(var _0x4e04c3=_0x4292f3>0x1?void 0x0:_0x4292f3?Qi(_0x4cd54d,_0x3e2a08):_0x4cd54d,_0x4199cf=_0x6996a6['length']-0x1,_0x508b30;_0x4199cf>=0x0;_0x4199cf--)(_0x508b30=_0x6996a6[_0x4199cf])&&(_0x4e04c3=_0x508b30(_0x4e04c3)||_0x4e04c3);return _0x4e04c3;},it=(_0x13b7aa,_0x424a87)=>(_0x46a5b9,_0x1f82e2)=>_0x424a87(_0x46a5b9,_0x1f82e2,_0x13b7aa);let ve=class extends _0x9a7a73{constructor(_0x88b6e0,_0x3246da,_0x349c84,_0x164fb6,_0x21863a){const _0x463599=_0x2cfc65;super(),U(this,_0x463599(0x1f8),new Map()),U(this,_0x463599(0x13b),new Map()),U(this,_0x463599(0x1fb),new Map()),U(this,_0x463599(0x34e),new Map()),U(this,_0x463599(0x128),new _0x307900()),U(this,_0x463599(0x204),new _0x307900()),U(this,_0x463599(0x342),this['_pivotInitCompleted$'][_0x463599(0x244)]()),U(this,_0x463599(0x1d9),new _0x307900()),U(this,'pivotConfigChange$',this['_pivotConfigChange$']['asObservable']()),U(this,_0x463599(0x213),{}),U(this,'configVersion$',this['_configVersion$'][_0x463599(0x244)]()),(this['_injector']=_0x88b6e0,this[_0x463599(0x1a6)]=_0x3246da,this[_0x463599(0x231)]=_0x349c84,this[_0x463599(0x384)]=_0x164fb6,this[_0x463599(0x20d)]=_0x21863a,this[_0x463599(0x2ec)](),this[_0x463599(0x131)]());const _0x3ec2c3=this[_0x463599(0x20d)]['getConfig'](Yo);(_0x3ec2c3==null?void 0x0:_0x3ec2c3[_0x463599(0x275)])===!0x0&&this[_0x463599(0x291)]();}[_0x2cfc65(0x131)](){const _0x470be9=_0x2cfc65;this[_0x470be9(0x134)](this[_0x470be9(0x231)][_0x470be9(0x166)](_0x407cd0[_0x470be9(0x281)])[_0x470be9(0x1c3)](_0x3db80c=>{const _0x2f0f0e=_0x470be9;this[_0x2f0f0e(0x163)](_0x3db80c['getUnitId']());}));}[_0x2cfc65(0x2f0)](){const _0x1d53ec=_0x2cfc65;this[_0x1d53ec(0x204)][_0x1d53ec(0x2c4)](!0x0);}[_0x2cfc65(0x2ec)](){const _0xffd81b=_0x2cfc65,_0x420118=fo(this[_0xffd81b(0x13c)],Go,'',{});this[_0xffd81b(0x213)]=_0x420118,this[_0xffd81b(0x1a6)][_0xffd81b(0x306)](uo['id'],{'textInfo':_0x420118},{'onlyLocal':!0x0});}['getTextInfo'](){return this['_textInfo'];}[_0x2cfc65(0x336)](_0x4f6a05,_0x57785c,_0xb2fd9b,_0x1a68dd,_0x333e33){const _0x32af4d=_0x2cfc65;this[_0x32af4d(0x33a)](_0x4f6a05,_0x57785c,_0xb2fd9b,_0x1a68dd),this[_0x32af4d(0x2af)](_0x4f6a05,_0x57785c,_0xb2fd9b,_0x333e33);}[_0x2cfc65(0x21d)](_0x5301bb,_0x22f7ac,_0x28d713){const _0x40b6cc=_0x2cfc65;var _0x1c78b3;const _0x2c7240=(_0x1c78b3=this[_0x40b6cc(0x1f8)]['get'](_0x5301bb))==null?void 0x0:_0x1c78b3['get'](_0x22f7ac);if(_0x2c7240)return _0x2c7240[_0x40b6cc(0x13e)](_0x28d713);}[_0x2cfc65(0x310)](_0x1b3c2e,_0x5988d9){const _0x4d0816=_0x2cfc65,_0x6e56b2=this[_0x4d0816(0x1f8)]['get'](_0x1b3c2e);if(_0x6e56b2){for(const [_0x345c6b,_0x322fea]of _0x6e56b2[_0x4d0816(0x2f2)]())for(const [_0x1f84b6,_0x2b38ed]of _0x322fea['entries']())if(_0x1f84b6===_0x5988d9)return _0x2b38ed[_0x4d0816(0x216)];}}[_0x2cfc65(0x1c1)](_0x452bee,_0x283644,_0x5a4706){const _0x3d04cc=_0x2cfc65,_0x22d9d9=this[_0x3d04cc(0x21d)](_0x452bee,_0x283644,_0x5a4706);return _0x22d9d9==null?void 0x0:_0x22d9d9['targetCellInfo'];}[_0x2cfc65(0x34d)](_0x2c640d,_0x4c228f){const _0x111c75=_0x2cfc65;var _0x49366e;return(_0x49366e=this[_0x111c75(0x1f8)][_0x111c75(0x13e)](_0x2c640d))==null?void 0x0:_0x49366e[_0x111c75(0x13e)](_0x4c228f);}['updateConfigCache'](_0x17fd33,_0x584f95,_0x3b9f6a,_0x95eab9){const _0x554681=_0x2cfc65,_0x5b4e4d=this[_0x554681(0x330)](_0x17fd33,_0x584f95);_0x95eab9?_0x5b4e4d[_0x554681(0x289)](_0x3b9f6a,_0x95eab9):_0x5b4e4d['delete'](_0x3b9f6a),this['_pivotConfigChange$'][_0x554681(0x2c4)]({'unitId':_0x17fd33,'subUnitId':_0x584f95,'pivotTableId':_0x3b9f6a,'pivotTableConfig':_0x95eab9});}[_0x2cfc65(0x161)](_0x501c75,_0x3e9f32){const _0x15d7b6=_0x2cfc65;var _0x519cf4;return(_0x519cf4=this[_0x15d7b6(0x13b)][_0x15d7b6(0x13e)](_0x501c75))==null?void 0x0:_0x519cf4['collections'][_0x3e9f32];}[_0x2cfc65(0x1e1)](_0x79e79d,_0x56ecc8){const _0x46258a=_0x2cfc65;this['_collectionConfigModel'][_0x46258a(0x289)](_0x79e79d,_0x56ecc8),this[_0x46258a(0x128)]['next'](Math['random']());}[_0x2cfc65(0x330)](_0x2afa41,_0x1f283b){const _0x24ea82=_0x2cfc65;let _0x466e54=this[_0x24ea82(0x1f8)][_0x24ea82(0x13e)](_0x2afa41);_0x466e54||(_0x466e54=new Map(),this['_model'][_0x24ea82(0x289)](_0x2afa41,_0x466e54));let _0x161cab=_0x466e54[_0x24ea82(0x13e)](_0x1f283b);return _0x161cab||(_0x161cab=new Map(),_0x466e54[_0x24ea82(0x289)](_0x1f283b,_0x161cab)),_0x161cab;}[_0x2cfc65(0x113)](_0x5a47c6,_0x136b4f){const _0xd1db8=_0x2cfc65;let _0x564fbe=this[_0xd1db8(0x1fb)][_0xd1db8(0x13e)](_0x5a47c6);_0x564fbe||(_0x564fbe=new Map(),this[_0xd1db8(0x1fb)]['set'](_0x5a47c6,_0x564fbe));let _0x143b74=_0x564fbe[_0xd1db8(0x13e)](_0x136b4f);return _0x143b74||(_0x143b74=new Map(),_0x564fbe['set'](_0x136b4f,_0x143b74)),_0x143b74;}[_0x2cfc65(0x1ac)](_0x4a84f6,_0x20e16e){const _0xb5b5e3=_0x2cfc65;let _0x4396a5=this[_0xb5b5e3(0x34e)][_0xb5b5e3(0x13e)](_0x4a84f6);_0x4396a5||(_0x4396a5=new Map(),this['_pivotTableMatrixInfo'][_0xb5b5e3(0x289)](_0x4a84f6,_0x4396a5));let _0x3d925d=_0x4396a5[_0xb5b5e3(0x13e)](_0x20e16e);return _0x3d925d||(_0x3d925d=new Map(),_0x4396a5['set'](_0x20e16e,_0x3d925d)),_0x3d925d;}[_0x2cfc65(0x2af)](_0x3d2d16,_0x4952d8,_0x57c1c7,_0x3a3d0b){const _0xd8a587=_0x2cfc65;var _0x53d465;const _0x2751dc=this[_0xd8a587(0x113)](_0x3d2d16,_0x4952d8),_0x311433=(_0x53d465=_0x2751dc[_0xd8a587(0x13e)](_0x57c1c7))==null?void 0x0:_0x53d465[_0xd8a587(0x1b8)];_0x2751dc['set'](_0x57c1c7,{'oldRangeInfo':_0x311433,'rangeInfo':_0x3a3d0b});}[_0x2cfc65(0x33a)](_0x53529e,_0xd4e9ab,_0x4d02e4,_0x5696c5){const _0x36bb69=_0x2cfc65;var _0x49d32e;const _0x544351=this[_0x36bb69(0x1ac)](_0x53529e,_0xd4e9ab),_0x44d912=(_0x49d32e=_0x544351[_0x36bb69(0x13e)](_0x4d02e4))==null?void 0x0:_0x49d32e[_0x36bb69(0x2d9)];_0x544351[_0x36bb69(0x289)](_0x4d02e4,{'oldMatrix':_0x44d912,'matrix':_0x5696c5});}[_0x2cfc65(0x19d)](_0x4e9a6d,_0xe18ca,_0x885f78){const _0xaed5b9=_0x2cfc65;var _0x24c289,_0x261c85;return(_0x261c85=(_0x24c289=this[_0xaed5b9(0x1fb)]['get'](_0x4e9a6d))==null?void 0x0:_0x24c289[_0xaed5b9(0x13e)](_0xe18ca))==null?void 0x0:_0x261c85[_0xaed5b9(0x13e)](_0x885f78);}[_0x2cfc65(0x1e9)](_0x3d6ed1,_0x14c9de,_0x544912){const _0x3c6f27=_0x2cfc65;var _0x599276,_0x4a322d;return(_0x4a322d=(_0x599276=this[_0x3c6f27(0x34e)]['get'](_0x3d6ed1))==null?void 0x0:_0x599276['get'](_0x14c9de))==null?void 0x0:_0x4a322d['get'](_0x544912);}[_0x2cfc65(0x163)](_0x5dee9d){const _0x2a9d0e=_0x2cfc65;this[_0x2a9d0e(0x1f8)][_0x2a9d0e(0x173)](_0x5dee9d),this['_collectionConfigModel']['delete'](_0x5dee9d);}['_toJSON'](_0x1dba01){const _0x345daf=_0x2cfc65,_0x2b11c5={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x1dba01)&&(_0x2b11c5[_0x345daf(0x22b)][_0x1dba01]=this['_collectionConfigModel']['get'](_0x1dba01)),this[_0x345daf(0x1f8)][_0x345daf(0x13e)](_0x1dba01)){_0x2b11c5['pivotTableConfigs'][_0x1dba01]={};const _0x419e6a=this[_0x345daf(0x1f8)]['get'](_0x1dba01);_0x419e6a!=null&&_0x419e6a['size']&&[..._0x419e6a[_0x345daf(0x23b)]()]['forEach'](_0x121fa0=>{const _0x22cc3e=_0x345daf,_0x30f88d=_0x419e6a[_0x22cc3e(0x13e)](_0x121fa0);_0x30f88d!=null&&_0x30f88d[_0x22cc3e(0x1ed)]&&(_0x2b11c5[_0x22cc3e(0x1fe)][_0x1dba01][_0x121fa0]={},[..._0x30f88d[_0x22cc3e(0x23b)]()][_0x22cc3e(0x112)](_0xbe026a=>{const _0x263f19=_0x22cc3e,_0x59b85d=_0x30f88d[_0x263f19(0x13e)](_0xbe026a);_0x59b85d&&(_0x2b11c5[_0x263f19(0x1fe)][_0x1dba01][_0x121fa0][_0xbe026a]=_0x59b85d);}));});}return _0x2b11c5;}['_initSnapshot'](){const _0x53d9a5=_0x2cfc65;this['disposeWithMe'](this[_0x53d9a5(0x384)][_0x53d9a5(0x207)]({'toJson':_0x3fb36b=>JSON['stringify'](this[_0x53d9a5(0x31a)](_0x3fb36b)),'parseJson':_0x2073b1=>({}),'businesses':[_0x407cd0[_0x53d9a5(0x281)]],'pluginName':ao,'onLoad':(_0x2d7e31,_0x259c91)=>{},'onUnLoad':_0xa24986=>{const _0x27f55e=_0x53d9a5;this[_0x27f55e(0x163)](_0xa24986);}}));}};ve=Yi([it(0x0,_0x4eaa26(_0x297017)),it(0x1,_0x4eaa26(_0x4c491b)),it(0x2,_0x4eaa26(_0x295672)),it(0x3,_0x4eaa26(_0x5937c1)),it(0x4,_0x4eaa26(_0x931275))],ve);var zi=Object[_0x2cfc65(0x283)],Xi=(_0x398a90,_0x530a55,_0x406250,_0xdfcfef)=>{for(var _0xb603cc=_0xdfcfef>0x1?void 0x0:_0xdfcfef?zi(_0x530a55,_0x406250):_0x530a55,_0x15c033=_0x398a90['length']-0x1,_0x2c0641;_0x15c033>=0x0;_0x15c033--)(_0x2c0641=_0x398a90[_0x15c033])&&(_0xb603cc=_0x2c0641(_0xb603cc)||_0xb603cc);return _0xb603cc;},st=(_0x1bba1e,_0x3c5d80)=>(_0x1a000f,_0x2086f8)=>_0x3c5d80(_0x1a000f,_0x2086f8,_0x1bba1e);let Ne=class extends _0x9a7a73{constructor(_0x4eaeba,_0x854487,_0x24c85d,_0xc25f6d,_0x205e67){const _0x74c4aa=_0x2cfc65;super(),U(this,_0x74c4aa(0x1a8),new Map()),U(this,'_pivotRenderValueMatrixCache',new Map()),U(this,_0x74c4aa(0x140),new _0x307900()),U(this,'markDirty$',this[_0x74c4aa(0x140)][_0x74c4aa(0x244)]()),U(this,_0x74c4aa(0x1e5),new _0x307900()),U(this,_0x74c4aa(0x2ee),this[_0x74c4aa(0x1e5)][_0x74c4aa(0x244)]()),U(this,_0x74c4aa(0x213)),(this[_0x74c4aa(0x24b)]=_0x4eaeba,this[_0x74c4aa(0x13c)]=_0x854487,this[_0x74c4aa(0x16c)]=_0x24c85d,this[_0x74c4aa(0x231)]=_0xc25f6d,this[_0x74c4aa(0x25f)]=_0x205e67,this[_0x74c4aa(0x2ec)](),this['_initUnitDisposed']());}[_0x2cfc65(0x131)](){const _0xf2f15e=_0x2cfc65;this['disposeWithMe'](this[_0xf2f15e(0x231)][_0xf2f15e(0x166)](_0x407cd0[_0xf2f15e(0x281)])['subscribe'](_0x135fdf=>{const _0x10371b=_0xf2f15e;this[_0x10371b(0x163)](_0x135fdf[_0x10371b(0x27c)]());}));}['_initLocale'](){this['_textInfo']=fo(this['_injector'],Go,'',{});}['updateRenderCache'](_0x196957){const _0x40923a=_0x2cfc65,{view:_0x595f5e,unitId:_0x17bfab,subUnitId:_0xb18223,pivotTableId:_0x2795a3,type:_0x18cae1}=_0x196957,_0xe57a7d=this[_0x40923a(0x16c)][_0x40923a(0x21d)](_0x17bfab,_0xb18223,_0x2795a3);if(!_0x595f5e||!_0xe57a7d||_0x18cae1===G[_0x40923a(0x132)])return;const {pageView:_0x58ec1d,cornerView:_0x4aec38,rowView:_0x312b0d,colView:_0x1a5d55,dataView:_0x1b1ef1}=_0x595f5e,_0x523f98=_0xe57a7d[_0x40923a(0x216)],_0x31d840=_0xe57a7d[_0x40923a(0x313)],_0x24635e=this['_ensurePivotItemRenderValueMatrixCache'](_0x17bfab,_0xb18223),_0x1451d2=this[_0x40923a(0x2de)](_0x17bfab,_0xb18223,_0x2795a3);if(_0x31d840)return this[_0x40923a(0x1cb)](_0x196957,_0x24635e,_0x523f98,_0x1451d2);{const _0x19c76f=ge(_0x523f98,_0x58ec1d,!0x0),_0x3b1547=_0x58ec1d[_0x40923a(0x1ad)]>=0x0?_0x58ec1d[_0x40923a(0x1ad)]+0x1:0x0,_0x27e294=_0x4aec38[_0x40923a(0x10e)](),_0x4f05ab=_0x4aec38['getColCount'](),_0x53373e=_0x19c76f['length']>0x0?It:0x0,_0x45659e=ge({'row':_0x523f98[_0x40923a(0x379)]+_0x3b1547+_0x53373e,'col':_0x523f98[_0x40923a(0x183)]},_0x4aec38,!0x1,!0x1),_0x3cd9a7=ge({'row':_0x523f98[_0x40923a(0x379)]+_0x3b1547+_0x53373e+_0x27e294,'col':_0x523f98['col']},_0x312b0d,!0x1,!0x0),_0x39e6dd=ge({'row':_0x523f98[_0x40923a(0x379)]+_0x3b1547+_0x53373e,'col':_0x523f98[_0x40923a(0x183)]+_0x4f05ab},_0x1a5d55,!0x1,!0x0),_0x3a575b=ge({'row':_0x523f98['row']+_0x3b1547+_0x53373e+_0x27e294,'col':_0x523f98[_0x40923a(0x183)]+_0x4f05ab},_0x1b1ef1,!0x1,!0x1);_0x1451d2['rangesInfo']={'rowRanges':_0x3cd9a7,'colRanges':_0x39e6dd,'cornerRanges':_0x45659e,'dataRanges':_0x3a575b,'pageRanges':_0x19c76f};const _0x6c065b=yi(this[_0x40923a(0x13c)],_0x595f5e,_0xe57a7d,this[_0x40923a(0x213)]),{valueMatrix:_0x1bb377,rowInfo:_0x18556f,colInfo:_0x500c54,cornerInfo:_0xb272c0,rowHeaderMap:_0x54e8a3,colHeaderMap:_0x3cc616}=_0x6c065b;return _0x1451d2['areaInfo']={'rowInfo':_0x18556f,'colInfo':_0x500c54,'cornerInfo':_0xb272c0},_0x1451d2[_0x40923a(0x175)]={'rowHeaderMap':_0x54e8a3,'colHeaderMap':_0x3cc616},_0x1bb377[_0x40923a(0x112)]((_0x2374f5,_0x3613bc)=>{const _0x3c82b2=_0x40923a;Object[_0x3c82b2(0x23b)](_0x3613bc)[_0x3c82b2(0x112)](_0xabf0b7=>{const _0x257dc3=_0x3c82b2,_0x21d9e6=+_0xabf0b7,_0x5d2ffd=_0x1bb377[_0x257dc3(0x2dc)](_0x2374f5,_0x21d9e6);_0x24635e[_0x257dc3(0x2e3)](_0x2374f5,_0x21d9e6,_0x5d2ffd);});}),this['_viewUpdate$']['next']({'unitId':_0x17bfab,'subUnitId':_0xb18223,'valueMatrix':_0x24635e,'rangesCache':_0x1451d2[_0x40923a(0x257)],'pivotTableId':_0x2795a3,'type':_0x196957[_0x40923a(0x38b)]}),this[_0x40923a(0x16c)][_0x40923a(0x336)](_0x17bfab,_0xb18223,_0x2795a3,_0x24635e,_0x1451d2['rangesInfo']),this[_0x40923a(0x25f)]['addExclusiveRange'](_0x17bfab,_0xb18223,Lt,this[_0x40923a(0x361)](_0x1451d2['rangesInfo'],_0x2795a3)),{'rangeCache':_0x1451d2[_0x40923a(0x257)],'matrix':_0x24635e};}}[_0x2cfc65(0x1cb)](_0xc8bb8,_0x3efb10,_0xf6b8b4,_0x6b9700){const _0x15f2ae=_0x2cfc65,_0x127d14=this['_localeService']['t'],{unitId:_0x56d661,subUnitId:_0x1e70bd,pivotTableId:_0x39620d}=_0xc8bb8,_0x5df492={'filter':_0x127d14(_0x15f2ae(0x2b2)),'row':_0x127d14('sheets-pivot.emptyPivot.row'),'column':_0x127d14(_0x15f2ae(0x218)),'values':_0x127d14(_0x15f2ae(0x32b))},{matrixCache:_0x2936e6,rangesCache:_0x39d970}=Ko(_0x5df492,_0xf6b8b4);return _0x2936e6['forValue']((_0x5148f2,_0x14ee0f,_0x28a0f7)=>{const _0x2c1074=_0x15f2ae;_0x3efb10[_0x2c1074(0x2e3)](_0x5148f2,_0x14ee0f,_0x28a0f7);}),_0x6b9700[_0x15f2ae(0x257)]=_0x39d970,this[_0x15f2ae(0x1e5)][_0x15f2ae(0x2c4)]({'unitId':_0x56d661,'subUnitId':_0x1e70bd,'valueMatrix':_0x3efb10,'rangesCache':_0x39d970,'pivotTableId':_0x39620d,'type':_0xc8bb8[_0x15f2ae(0x38b)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x15f2ae(0x336)](_0x56d661,_0x1e70bd,_0x39620d,_0x3efb10,_0x39d970),this[_0x15f2ae(0x25f)][_0x15f2ae(0x2f4)](_0x56d661,_0x1e70bd,Lt,this[_0x15f2ae(0x361)](_0x39d970,_0x39620d)),{'rangeCache':_0x6b9700['rangesInfo'],'matrix':_0x3efb10};}[_0x2cfc65(0x361)](_0x1265d8,_0x4f5092){const _0x12c6c9=_0x2cfc65,_0x4894e8=[],_0x2fbbda=Gt(_0x1265d8);for(const _0x358b8f of _0x2fbbda)_0x4894e8[_0x12c6c9(0x17f)]({'groupId':_0x4f5092,'range':_0x358b8f});return _0x4894e8;}['clearRenderCache'](_0x1e59d2){const _0x1053c2=_0x2cfc65;var _0x38274f,_0x10cf0e,_0x44bb37,_0xd01f45;const {pivotTableId:_0x2f714a,unitId:_0x5994c2,subUnitId:_0x38adcc}=_0x1e59d2;if(!_0x2f714a||!_0x5994c2||!_0x38adcc)return;const _0x2c78f9=this[_0x1053c2(0x138)](_0x5994c2,_0x38adcc),_0x505d70=(_0x10cf0e=(_0x38274f=this[_0x1053c2(0x1a8)][_0x1053c2(0x13e)](_0x5994c2))==null?void 0x0:_0x38274f[_0x1053c2(0x13e)](_0x38adcc))==null?void 0x0:_0x10cf0e[_0x1053c2(0x13e)](_0x2f714a);if(_0x505d70!=null&&_0x505d70[_0x1053c2(0x257)]){for(const _0x462158 of Object[_0x1053c2(0x23b)](_0x505d70['rangesInfo']))_0x505d70[_0x1053c2(0x257)][_0x462158][_0x1053c2(0x112)](_0x6ff914=>{const _0x298bbe=_0x1053c2;for(let _0x6a10f6=_0x6ff914[_0x298bbe(0x21c)];_0x6a10f6<=_0x6ff914[_0x298bbe(0x389)];_0x6a10f6++)for(let _0x5b7f2b=_0x6ff914[_0x298bbe(0x256)];_0x5b7f2b<=_0x6ff914[_0x298bbe(0x354)];_0x5b7f2b++)_0x2c78f9['realDeleteValue'](_0x6a10f6,_0x5b7f2b);});}_0x505d70&&((_0xd01f45=(_0x44bb37=this[_0x1053c2(0x1a8)]['get'](_0x5994c2))==null?void 0x0:_0x44bb37['get'](_0x38adcc))==null||_0xd01f45['delete'](_0x2f714a)),this[_0x1053c2(0x1e5)][_0x1053c2(0x2c4)]({'unitId':_0x5994c2,'subUnitId':_0x38adcc,'valueMatrix':_0x2c78f9,'pivotTableId':_0x2f714a,'rangesCache':void 0x0,'type':_0x1e59d2['type']}),this[_0x1053c2(0x25f)][_0x1053c2(0x307)](_0x5994c2,_0x38adcc,Lt,_0x2f714a);}[_0x2cfc65(0x2de)](_0x12ea6a,_0x1e5a10,_0x92872c){const _0x412798=_0x2cfc65;var _0x3a4242,_0x42685e,_0x2c7774,_0x59c134,_0x896145,_0x1bac89;return this['_pivotRenderInfoCache']['has'](_0x12ea6a)||this[_0x412798(0x1a8)][_0x412798(0x289)](_0x12ea6a,new Map()),(_0x3a4242=this[_0x412798(0x1a8)][_0x412798(0x13e)](_0x12ea6a))!=null&&_0x3a4242[_0x412798(0x19c)](_0x1e5a10)||(_0x42685e=this[_0x412798(0x1a8)]['get'](_0x12ea6a))==null||_0x42685e[_0x412798(0x289)](_0x1e5a10,new Map()),(_0x59c134=(_0x2c7774=this[_0x412798(0x1a8)]['get'](_0x12ea6a))==null?void 0x0:_0x2c7774[_0x412798(0x13e)](_0x1e5a10))!=null&&_0x59c134[_0x412798(0x19c)](_0x92872c)||(_0x1bac89=(_0x896145=this[_0x412798(0x1a8)]['get'](_0x12ea6a))==null?void 0x0:_0x896145['get'](_0x1e5a10))==null||_0x1bac89[_0x412798(0x289)](_0x92872c,{}),this[_0x412798(0x1a8)][_0x412798(0x13e)](_0x12ea6a)[_0x412798(0x13e)](_0x1e5a10)[_0x412798(0x13e)](_0x92872c);}['_ensurePivotItemRenderValueMatrixCache'](_0x5a639a,_0x3201de){const _0x38f693=_0x2cfc65;var _0x364b0d,_0x34670b;return this[_0x38f693(0x11b)][_0x38f693(0x19c)](_0x5a639a)||this['_pivotRenderValueMatrixCache']['set'](_0x5a639a,new Map()),(_0x364b0d=this[_0x38f693(0x11b)][_0x38f693(0x13e)](_0x5a639a))!=null&&_0x364b0d[_0x38f693(0x19c)](_0x3201de)||(_0x34670b=this[_0x38f693(0x11b)][_0x38f693(0x13e)](_0x5a639a))==null||_0x34670b['set'](_0x3201de,new _0x3d4b3d()),this[_0x38f693(0x11b)][_0x38f693(0x13e)](_0x5a639a)[_0x38f693(0x13e)](_0x3201de);}[_0x2cfc65(0x1e0)](_0x3f5635,_0x443ea6,_0x38af40,_0x16cc1e){const _0x19a706=_0x2cfc65;var _0x39a5eb,_0xe9484b;const _0x152125=(_0xe9484b=(_0x39a5eb=this[_0x19a706(0x11b)][_0x19a706(0x13e)](_0x3f5635))==null?void 0x0:_0x39a5eb['get'](_0x443ea6))==null?void 0x0:_0xe9484b[_0x19a706(0x2dc)](_0x38af40,_0x16cc1e);if(_0x152125!=null)return _0x152125;}['getPivotTableIdByCell'](_0x2d3ea3,_0x427349,_0x5df062,_0xaaf76a){const _0x41a3c0=_0x2cfc65;var _0x186ce8;const _0x1ab3d1=_0x1aea22(_0x5df062,_0xaaf76a),_0x4d65a3=(_0x186ce8=this['_pivotRenderInfoCache'][_0x41a3c0(0x13e)](_0x2d3ea3))==null?void 0x0:_0x186ce8[_0x41a3c0(0x13e)](_0x427349);return _0x4d65a3?Array[_0x41a3c0(0x25a)](_0x4d65a3[_0x41a3c0(0x23b)]())['find'](_0x266bbf=>{const _0x40e80f=_0x41a3c0,_0x5dc812=_0x4d65a3[_0x40e80f(0x13e)](_0x266bbf),_0x361140=_0x5dc812==null?void 0x0:_0x5dc812[_0x40e80f(0x257)];return _0x361140?Object[_0x40e80f(0x23b)](_0x361140)[_0x40e80f(0x32c)](_0x173860=>_0x361140[_0x173860]['some'](_0x5d5b3d=>_0x2492ba[_0x40e80f(0x33e)](_0x5d5b3d,_0x1ab3d1))):!0x1;}):void 0x0;}[_0x2cfc65(0x10f)](_0x75549e,_0x3de1ae,_0x3c7671){const _0xf90cee=_0x2cfc65;var _0x54bd8f;const _0x28988b=(_0x54bd8f=this['_pivotRenderInfoCache']['get'](_0x75549e))==null?void 0x0:_0x54bd8f[_0xf90cee(0x13e)](_0x3de1ae),_0x5c59cf=[];return _0x28988b&&Array[_0xf90cee(0x25a)](_0x28988b['keys']())[_0xf90cee(0x112)](_0xb4c0c4=>{const _0x248c14=_0xf90cee,_0x13f682=_0x28988b[_0x248c14(0x13e)](_0xb4c0c4),_0x524d2a=_0x13f682==null?void 0x0:_0x13f682[_0x248c14(0x257)];if(_0x524d2a)for(const _0x2bd5c3 of Object[_0x248c14(0x282)](_0x524d2a)){let _0x239997=!0x1;for(const _0x1c5ab8 of _0x2bd5c3)if(_0x2492ba[_0x248c14(0x1b6)](_0x1c5ab8,_0x3c7671)){_0x5c59cf['push'](_0xb4c0c4),_0x239997=!0x0;break;}if(_0x239997)break;}}),_0x5c59cf;}['getSubUnitPivotMatrix'](_0x3062ed,_0x1528cd){const _0x196dbe=_0x2cfc65;var _0x108197,_0x1ca068;return(_0x1ca068=(_0x108197=this[_0x196dbe(0x11b)]['get'](_0x3062ed))==null?void 0x0:_0x108197[_0x196dbe(0x13e)](_0x1528cd))!=null?_0x1ca068:new _0x3d4b3d();}[_0x2cfc65(0x167)](_0x232f81,_0x1552cb){const _0x383ad1=_0x2cfc65;var _0x2120c5;return(_0x2120c5=this[_0x383ad1(0x1a8)][_0x383ad1(0x13e)](_0x232f81))==null?void 0x0:_0x2120c5[_0x383ad1(0x13e)](_0x1552cb);}['getPivotItemRenderInfoCache'](_0x3554f1,_0x16b8b9,_0x3b7f1c){const _0x4b3f0c=_0x2cfc65;var _0x5a888e,_0x10bb0;return(_0x10bb0=(_0x5a888e=this[_0x4b3f0c(0x1a8)]['get'](_0x3554f1))==null?void 0x0:_0x5a888e[_0x4b3f0c(0x13e)](_0x16b8b9))==null?void 0x0:_0x10bb0[_0x4b3f0c(0x13e)](_0x3b7f1c);}[_0x2cfc65(0x163)](_0x12bf75){const _0x29b6d4=_0x2cfc65;this[_0x29b6d4(0x1a8)]['delete'](_0x12bf75),this[_0x29b6d4(0x11b)]['delete'](_0x12bf75);}[_0x2cfc65(0x25d)](_0x1ed874,_0x7ced8d){this['_markDirty$']['next']({'unitId':_0x1ed874,'subUnitId':_0x7ced8d});}};Ne=Xi([st(0x0,_0x4eaa26(_0x2a61e0)),st(0x1,_0x4eaa26(_0x297017)),st(0x2,_0x4eaa26(ve)),st(0x3,_0x4eaa26(_0x295672)),st(0x4,_0x4eaa26(_0xea2477))],Ne);var Zi=Object['getOwnPropertyDescriptor'],es=(_0x173e87,_0x2a9de2,_0x50d916,_0xb3be91)=>{const _0x295660=_0x2cfc65;for(var _0x385d09=_0xb3be91>0x1?void 0x0:_0xb3be91?Zi(_0x2a9de2,_0x50d916):_0x2a9de2,_0x3fe563=_0x173e87[_0x295660(0x1fd)]-0x1,_0x458987;_0x3fe563>=0x0;_0x3fe563--)(_0x458987=_0x173e87[_0x3fe563])&&(_0x385d09=_0x458987(_0x385d09)||_0x385d09);return _0x385d09;},wo=(_0xe2a771,_0x117c0b)=>(_0x40538c,_0x2f72f7)=>_0x117c0b(_0x40538c,_0x2f72f7,_0xe2a771);let ie=class extends _0x9a7a73{constructor(_0x2da035,_0x205f0c){const _0x3ce2eb=_0x2cfc65;super(),U(this,'asyncInterceptor',new _0x2c06cc({'PIVOT_PERFORM_CHECK':be})),U(this,_0x3ce2eb(0x1fa),new _0x4854c3({'PIVOT_MUTATION_GENERATE':Jo})),(this[_0x3ce2eb(0x176)]=_0x2da035,this[_0x3ce2eb(0x1d1)]=_0x205f0c,this[_0x3ce2eb(0x273)]());}[_0x2cfc65(0x273)](){const _0x4e4ea2=_0x2cfc65;this[_0x4e4ea2(0x125)]();}['getPivotPerformCheck'](_0x21feba){const _0x5f0211=_0x2cfc65;return this[_0x5f0211(0x221)][_0x5f0211(0x36d)](be)(!0x1,_0x21feba);}[_0x2cfc65(0x125)](){const _0x486482=_0x2cfc65;this[_0x486482(0x134)](this[_0x486482(0x176)]['intercept'](_0x389984[_0x486482(0x2cd)],{'priority':0xc8,'effect':_0x122284[_0x486482(0x346)]|_0x122284[_0x486482(0x279)],'handler':(_0x559271,_0x1b9e50,_0x1b2171)=>{const _0x18aa27=_0x486482,{row:_0xe42db7,col:_0x1e7c6d,unitId:_0x5ea368,subUnitId:_0xa2c074,workbook:_0x535f26}=_0x1b9e50,_0x4ae504=this[_0x18aa27(0x1d1)][_0x18aa27(0x1e0)](_0x5ea368,_0xa2c074,_0xe42db7,_0x1e7c6d);if(!_0x4ae504)return _0x1b2171(_0x559271);const _0x51e402={..._0x559271};(_0x4ae504['v']||_0x4ae504['v']===0x0)&&(_0x51e402['v']=_0x4ae504['v']),_0x4ae504['t']&&(_0x51e402['t']=_0x4ae504['t']);const _0x3324e1=(typeof(_0x559271==null?void 0x0:_0x559271['s'])==_0x18aa27(0x18f)?_0x535f26['getStyles']()['get'](_0x559271==null?void 0x0:_0x559271['s']):_0x559271==null?void 0x0:_0x559271['s'])||{},_0x20609f=_0x535f26[_0x18aa27(0x340)]()[_0x18aa27(0x13e)](_0x4ae504['s']),_0x45fe4a={..._0x20609f,..._0x3324e1};_0x20609f!=null&&_0x20609f['n']&&(_0x45fe4a['n']=_0x20609f['n']);const _0x37dbde=_0x535f26[_0x18aa27(0x340)]()[_0x18aa27(0x2e3)](_0x45fe4a);return _0x51e402['s']=_0x37dbde,(_0x4ae504[_0x18aa27(0x1db)]===_0x71ed97['Collapse']||_0x4ae504[_0x18aa27(0x1db)]===_0x71ed97[_0x18aa27(0x137)])&&(_0x51e402[_0x18aa27(0x284)]={},_0x51e402[_0x18aa27(0x284)]['leftOffset']=li),_0x1b2171(_0x51e402);}}));}};ie=es([wo(0x0,_0x4eaa26(_0x36d3f4)),wo(0x1,_0x4eaa26(Ne))],ie);const zo={'id':_0x2cfc65(0x1ee),'type':_0x36216a[_0x2cfc65(0x11f)],'handler':(_0x3d43cb,_0x1f8b95)=>{const _0x1e992c=_0x2cfc65;if(!_0x1f8b95)return!0x1;if(!!_0x3d43cb[_0x1e992c(0x13e)](_0x931275)[_0x1e992c(0x303)](Y))return!0x0;const {pivotTableId:_0x5bccc8,fieldJSON:_0x4bc2d8,unitId:_0x30a063,subUnitId:_0x323946}=_0x1f8b95;let _0x3a62d7;const {dataFieldType:_0x48d214,id:_0x370483,name:_0x2924a0,hexCode:_0x10afd9,originalFieldId:_0x4075c1}=_0x4bc2d8;if(_0x48d214===_0x4b22e0['dateGroupField']&&(_0x3a62d7=new _0x21a19e(_0x370483,_0x2924a0,_0x10afd9,_0x4075c1)),!_0x3a62d7)return!0x1;const _0x13d737=_0x3d43cb['get']($),_0x399807=_0x13d737[_0x1e992c(0x212)](_0x30a063),_0x2381bb=_0x399807[_0x1e992c(0x161)](_0x5bccc8);_0x399807[_0x1e992c(0x2b8)](_0x3a62d7),_0x2381bb[_0x1e992c(0x1c7)](_0x3a62d7[_0x1e992c(0x159)](),_0x3a62d7[_0x1e992c(0x27a)]());const _0x4c758b=_0x2381bb[_0x1e992c(0x11c)](_0x3a62d7[_0x1e992c(0x1df)]());_0x4c758b&&_0x3a62d7[_0x1e992c(0x249)](_0x4c758b);const _0x14f2c6=_0x13d737[_0x1e992c(0x21d)](_0x30a063,_0x323946,_0x5bccc8);return _0x13d737[_0x1e992c(0x1ba)]({'unitId':_0x30a063,'subUnitId':_0x323946,'token':_0x5bccc8,'type':G['Set'],'pivotConfig':_0x14f2c6}),!0x0;}},Xo={'id':_0x2cfc65(0x272),'type':_0x36216a[_0x2cfc65(0x11f)],'handler':(_0x36c8c7,_0x30b844)=>{const _0x81ea69=_0x2cfc65;if(!_0x30b844)return!0x1;if(!!_0x36c8c7[_0x81ea69(0x13e)](_0x931275)['getConfig'](Y))return!0x0;const {pivotTableId:_0x4f2edd,dataFieldId:_0x439a4b,unitId:_0x431995,subUnitId:_0x199e1e}=_0x30b844,_0x17548a=_0x36c8c7[_0x81ea69(0x13e)]($),_0x1e6478=_0x17548a[_0x81ea69(0x212)](_0x431995);_0x1e6478[_0x81ea69(0x161)](_0x4f2edd)[_0x81ea69(0x349)](_0x439a4b);let _0x396e1c=!0x0;for(const _0x4f441c in _0x1e6478[_0x81ea69(0x337)])if(_0x1e6478[_0x81ea69(0x337)][_0x4f441c][_0x81ea69(0x2fb)]()[_0x81ea69(0x270)](_0x439a4b)){_0x396e1c=!0x1;break;}_0x396e1c&&_0x1e6478[_0x81ea69(0x118)](_0x439a4b);const _0x113198=_0x17548a[_0x81ea69(0x21d)](_0x431995,_0x199e1e,_0x4f2edd);return _0x17548a[_0x81ea69(0x1ba)]({'unitId':_0x431995,'subUnitId':_0x199e1e,'token':_0x4f2edd,'type':G[_0x81ea69(0x2d8)],'pivotConfig':_0x113198}),!0x0;}};function Nt(_0x4a34b1,_0x546124){const _0x1946e7=_0x2cfc65;switch(_0x546124){case _0xeefe5e[_0x1946e7(0x346)]:return _0x4a34b1[_0x1946e7(0x127)];case _0xeefe5e[_0x1946e7(0x38d)]:return _0x4a34b1[_0x1946e7(0x378)];case _0xeefe5e[_0x1946e7(0x2bf)]:return _0x4a34b1[_0x1946e7(0x247)];case _0xeefe5e['Column']:return _0x4a34b1['columnFields'];default:return[];}}function We(_0x5796b4,_0x367fb3){const _0x58f6f1=_0x2cfc65;return _0x5796b4[_0x58f6f1(0x35a)][_0x367fb3]||_0x5796b4[_0x58f6f1(0x331)][_0x367fb3];}function ts(_0x4eef00,_0x5c3442){const _0x271120=_0x2cfc65,{area:_0x1007f3,fieldJson:_0x5038f3,index:_0x5b0a30}=_0x5c3442;_0x1007f3===_0xeefe5e[_0x271120(0x346)]?_0x4eef00[_0x271120(0x35a)][_0x5038f3['id']]=_0x5038f3:_0x4eef00['dimension'][_0x5038f3['id']]=_0x5038f3,Nt(_0x4eef00,_0x1007f3)[_0x271120(0x1d6)](_0x5b0a30,0x0,_0x5038f3['id']);}function os(_0x22fecd,_0x253782){const _0x3deed3=_0x2cfc65,{area:_0x17d02f,fieldId:_0x1755ca,index:_0x22d53a}=_0x253782;_0x17d02f===_0xeefe5e[_0x3deed3(0x346)]?delete _0x22fecd[_0x3deed3(0x35a)][_0x1755ca]:delete _0x22fecd[_0x3deed3(0x331)][_0x1755ca],Nt(_0x22fecd,_0x17d02f)[_0x3deed3(0x1d6)](_0x22d53a,0x1);}function ns(_0x360f2a,_0x3ce726){const _0x2fe9ac=_0x2cfc65,{fieldId:_0x258a73,name:_0x178f27}=_0x3ce726,_0x845c2=We(_0x360f2a,_0x258a73);_0x845c2&&(_0x845c2[_0x2fe9ac(0x1a3)]=_0x178f27);}function is(_0x12739d,_0x414c5d){const _0x52b4e8=_0x2cfc65,{fieldId:_0x394a8d,collapse:_0x518499,item:_0x4c46ae}=_0x414c5d;_0x4c46ae!==void 0x0?(_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d]=_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d]||{},_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d][_0x4c46ae]=_0x518499):_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d]=_0x518499;}function ss(_0xb0d833,_0x4ce440){const {fieldId:_0x4cf206,format:_0x2754c5}=_0x4ce440,_0x27ecef=We(_0xb0d833,_0x4cf206);_0x27ecef&&(_0x27ecef['format']=_0x2754c5);}function as(_0x427ef4,_0x514627){const _0x1414ca=_0x2cfc65,{fieldId:_0x466234,filterInfo:_0x5f0d64}=_0x514627,_0x104521=We(_0x427ef4,_0x466234);_0x104521&&(_0x104521[_0x1414ca(0x12d)]=_0x5f0d64);}function rs(_0x1ba6e7,_0x2fa6d5){const _0x27cc8c=_0x2cfc65,{fieldId:_0x12cb5e,filterInfo:_0x5269a4}=_0x2fa6d5,_0x2b206c=_0x1ba6e7[_0x27cc8c(0x15f)][_0x27cc8c(0x211)](_0x1ba46b=>_0x1ba46b[_0x27cc8c(0x2b0)]!==_0x12cb5e);_0x5269a4&&_0x2b206c['push']({'fieldId':_0x12cb5e,'filterInfo':_0x5269a4}),_0x1ba6e7[_0x27cc8c(0x15f)]=_0x2b206c;}function ls(_0x1f9138,_0x4d2cfe){const _0x1b3e47=_0x2cfc65,{fieldId:_0x2ba828,subtotalType:_0x16fb9c}=_0x4d2cfe,_0x3d16c4=We(_0x1f9138,_0x2ba828);_0x3d16c4&&(_0x3d16c4[_0x1b3e47(0x14a)]=_0x16fb9c);}function cs(_0x5b8b38,_0x526ca0){const _0x343b4b=_0x2cfc65,{fieldId:_0x58e622,oldArea:_0x2c43d2,area:_0x313b81,oldIndex:_0x3b8182,index:_0x30aaa0}=_0x526ca0,_0x2c85fd=_0x2c43d2!==_0xeefe5e[_0x343b4b(0x346)]&&_0x313b81===_0xeefe5e[_0x343b4b(0x346)],_0x5f4d4f=_0x2c43d2===_0xeefe5e[_0x343b4b(0x346)]&&_0x313b81!==_0xeefe5e[_0x343b4b(0x346)];if(_0x2c85fd||_0x5f4d4f){const _0x51b24b=We(_0x5b8b38,_0x58e622);_0x51b24b&&(_0x2c85fd?(delete _0x5b8b38[_0x343b4b(0x331)][_0x58e622],_0x5b8b38[_0x343b4b(0x35a)][_0x58e622]=_0x51b24b):(delete _0x5b8b38['measure'][_0x58e622],_0x5b8b38[_0x343b4b(0x331)][_0x58e622]=_0x51b24b));}const _0x3948a1=Nt(_0x5b8b38,_0x2c43d2),_0x26206b=Nt(_0x5b8b38,_0x313b81);_0x3948a1[_0x343b4b(0x1d6)](_0x3b8182,0x1),_0x26206b[_0x343b4b(0x1d6)](_0x30aaa0,0x0,_0x58e622);}function ds(_0x184377,_0x463bb1){const _0x4f84b0=_0x2cfc65,{valuePosition:_0x5101fa,index:_0x164e6e}=_0x463bb1;_0x184377[_0x4f84b0(0x120)]=_0x5101fa,_0x184377['valueIndex']=_0x164e6e;}function us(_0x592e59,_0x3ac3ac){const _0x3bbee8=_0x2cfc65,{tableFieldId:_0x101d2b,sourceName:_0x52f312,dataFieldId:_0x1ab7c3}=_0x3ac3ac,_0x5c83f1=We(_0x592e59,_0x101d2b);_0x5c83f1&&(_0x5c83f1[_0x3bbee8(0x304)]=_0x52f312,_0x5c83f1[_0x3bbee8(0x38e)]=_0x1ab7c3);}function fs(_0x3050b8,_0xd19fa8){const _0x5993ac=_0x2cfc65,{fieldId:_0x451de8,sortInfo:_0xca0f85}=_0xd19fa8,_0x58163d=We(_0x3050b8,_0x451de8);_0x58163d&&(_0x58163d[_0x5993ac(0x195)]=_0xca0f85);}function gs(_0x45e671,_0x79ab0f){const _0x584439=_0x2cfc65,{options:_0x5bc143}=_0x79ab0f;_0x45e671[_0x584439(0x2a2)]={..._0x45e671[_0x584439(0x2a2)],..._0x5bc143};}function _0x4801(){const _0x3d33e8=['getHeaderMapItem','_queryingMap','asyncInterceptor','single','_initCommandInterceptListener','sheets-pivot.cellDateGroupDisplay.date','createCollectionWithDataRange','rangeKeyMap','colInfo','1897159JFKSrJ','addRecord','result','dataFieldManagerConfig','sum','setValuePivotFilter','_dataSyncPrimaryController','sheet.mutation.rename-pivot-field','sheets-pivot.countNumsName','_univerInstanceService','Varp\x20of\x20','updateFieldSourceInfo','sheets-pivot.value','redos','sheets-pivot.minName','setPivotCollapse','YearQuarter','updateDirtyPivotTable','initDataRanges','keys','_initPivotDataGetListener','sheet.mutation.get-pivot-data-local','sheet.command.update-date-group','valueIndex','setPivotTable','sheets-pivot.cellDateGroupDisplay.month','addCollection','getSheets','asObservable','reduce','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','rowFields','getSheetBySheetId','refreshGroupField','_subjectCollectionChange','_localeService','HourMinute','_dataFieldManagerCollection','handleSourceRangeChange','leafStyle','UpdateValuePosition','count','custom','interceptCommand','getValuePosition','1161654wcTPkU','startColumn','rangesInfo','getCurrentSelections','StdDevp\x20of\x20','from','sheet.command.move-pivot-table','getDataFieldByTableId','markDirty','cornerStyle','_exclusiveRangeService','resetPivotTable','setRangeValueRedoMutation','sheet.command.set-pivot-value-filter','sheet.mutation.set-pivot-filter','substring','getIntersects','dateType','sheets-pivot.cellDateGroupDisplay.hour','getFilterFieldIdByIndex','_ensureViewDataMap','setLabelFilterInfo','sheet.mutation.set-pivot-field-subtotal-type','removeCollections','1582419FfjvSD','map','sheet.mutation.send-pivot-view-local','includes','updatePivotSource','sheet.mutation.remove-group-collection','_init','NUMBER','notExecuteFormula','min','refreshDataField','token','Style','getName','getSourceName','getUnitId','sheets-pivot.dateGroup.date','_initRemoveSheetCommandInterceptor','sourceRangeInfo','shouldClear','UNIVER_SHEET','values','getOwnPropertyDescriptor','fontRenderExtension','Subtotal','NORMAL','setOptions','getDirtyInfo','set','_updateModelCache','setPivotSetting','sheet.mutation.add-pivot-table','setSourceName','split','intercept','NUM','_initSnapshot','getLastRow','removeValueFilterInfo','getValueIndex','Min\x20of\x20','getSubtotal','tableFieldId','sheets-pivot.cellDateGroupDisplay.yearMonthDate','Add','cornerRanges','sheet.command.set-pivot-collapse','max','getFieldCountByArea','setRangeValueUndoMutation','BadReference','sheets-pivot.blank','charCodeAt','options','_subjectViewChange','originTargetInfo','getDataFieldByDataFieldId','new','_refRangeHandle','registerCommand','YearMonth','sheets-pivot.dateGroup.yearQuarter','getDisplayName','updateRangeKeyMap','_sheetsPivotDataSourceModel','SetValuePivotFilter','updatePivotTableRangeInfo','fieldId','query','sheets-pivot.emptyPivot.filter','setCollapse','SHEET_PIVOT_EXCLUSIVE_ID','sheet.mutation.set-pivot-value-filter','#f4f4f5','Hour','addDataFieldWithoutUnitInfo','matrix','pageStyle','name','getPivotTableInstance','filterId','handleAsyncResponse','Row','reset','#e6ebfa','drillDown','rowHeaderMap','next','sheet.operation.pivot-table-view-formula-mark-dirty','getTableFieldById','NAME','register','pivotConfigChange$','Year','_deletePivotTableInstanceCache','uniqueDataFieldName','CELL_CONTENT','iterateField','handleMoveRange','prefix','Month','Count\x20of\x20','getDataFieldItemInfo','MAX_SAFE_INTEGER','getViewData','toJSON','defineProperty','Set','oldMatrix','parse','fromJSON','getValue','Panel','_ensurePivotItemRenderInfoCache','sheet.mutation.send-pivot-data-local','NotFunction','paths','sheet.command.remove-pivot-field','setValue','workbook\x20is\x20not\x20found','getDataFieldId','NotName','date','getPivotItemRenderInfoCache','SetPivotCollapse','setValueFilterInfo','sheets-pivot.maxName','_initLocale','removeField','viewUpdate$','removeDataField','setPivotInitCompleted','ptn','entries','GrandTotal','addExclusiveRange','getFormatInfo','iterateFieldDim','foreach','addFieldWithSourceId','getRangeKey','Max\x20of\x20','getFieldIds','MIN_SAFE_INTEGER','slice','SetFilterInfo','collectionConfig','90944UwFzcm','sheets-pivot.cellDateGroupDisplay.yearQuarter','Minute','getConfig','sourceName','getCellRaw','executeCommand','clearExclusiveRangesByGroupId','existing','_viewData$','sheet.mutation.remove-pivot-field','getDataFieldByRangeKey','versions','needSameDeleteModel','StdDev\x20of\x20','removeCollectionImp','getTargetByPivotTableId','rgb(255,255,255)','_initClearSelectionCommandInterceptor','isEmpty','rowStyle','updateAllDisplayName','sheets-pivot.cellDateGroupDisplay.quarter','addPivotTableWithConfig','SetPivotFilter','undos','_toJSON','setName','30BHNbDA','setRange','originalFieldId','grandTotal','AddPivotTableWithConfig','sheet.mutation.pivot-update-value-position','startCollectChangeset','SetSubtotalType','viewData$','NO_COMMERCIAL','getMatrixValue','product','addPivotField','setDirty','_sheetsPivotRpcService','sheets-pivot.emptyPivot.values','some','getRefRangeMutationsByMoveRange','level','bind','_ensurePivotMap','dimension','Date','getPivotTableIdByCell','COMMAND','setPivotFilter','updateViewInfo','collections','rangeCache','sheets.tabs.sheet','updatePivotTableMatrixInfo','setRangeKeyMap','sheets-pivot.averageName','getSortInfo','contains','unshift','getStyles','sheets-pivot.subTotal','pivotInitCompleted$','removePivotTable','_updatePivotTableInstanceCache','New','Value','getFieldPositionInfoById','getMatrix','deleteField','sheets-pivot.dateGroup.yearMonth','Values','getValueFilterInfos','getSubUnitPivotConfigs','_pivotTableMatrixInfo','sheet.mutation.update-pivot-table-source-range','fields','getUpdateRangeDeleteIds','blank','getLastCol','endColumn','valid','fieldsConfig','sideEffectUpdateWorkerCache','SetPivotSort','_viewData','measure','Average\x20of\x20','setTextInfo','sheet.command.move-pivot-field','_getPivotAppliedRanges','pivotPerformCheck','_refRangeService','_createExclusiveRange','setConfig','getGroupFieldsInfoByIds','sheetName','onQueryStart','_initGlobalComputed','getSheetBySheetName','formJSON','countNums','toString','sheets-pivot.dateGroup.month','deepClone','fetchThroughAsyncInterceptors','getRangeStartEndInfo','(Blank)','textInfo','SetPivotTableConfig','remove','sheets-pivot.cellDateGroupDisplay.hourMinute','document','310QWoLtF','collectionChange$','sheets-pivot.cellDateGroupDisplay.minute','filterFields','row','sheet.mutation.add-pivot-field','getformat','setPivotTableConfig','average','sheet.command.add-pivot-field','sheet.mutation.set-pivot-format','pushUndoRedo','sheet.mutation.set-pivot-position','SetPivotSetting','sheet.command.set-pivot-field-setting','_resourceManagerService','sheet.mutation.send-init-pivot-text-local','pivotTableId','getMatrixFromRunTimeData','onQueryEnd','endRow','renameField','type','fieldsCollectionChange$','Filter','dataFieldId','getRowCount','getIntersectsPivotTable','getPivotDisplayConfig','getTextInfo','forEach','_ensurePivotTableRangeInfo','registerSyncingMutations','forValue','dataFieldsCollection','column','deleteDataField','AddPivotTable','Grand\x20Total','_pivotRenderValueMatrixCache','getFieldById','getTextSize','sheet.mutation.set-pivot-sort-info','MUTATION','valuePosition','addCollectionByJSON','_globalSubject','add','cellValue','_initViewModelBySheetInterceptor','generateNewSheetName','valueFields','_configVersion$','getRangeData','9UvoJuc','_globalComputedEndHelpFunc','isValue','filterInfo','Existing','Div0','unitId','_initUnitDisposed','Delete','update','disposeWithMe','getColCount','node','Expand','_ensurePivotItemRenderValueMatrixCache','70BbpjAJ','getAutoDisplayNameFunction','_collectionConfigModel','_injector','_featureCalculationManagerService','get','clearRenderCache','_markDirty$','getFieldDataType','getMonth','AddField','PIVOT_MUTATION_GENERATE','queryDirtyPivotTable','pushComputingStatusSubject','isDate','_sheetsSelectionsService','getDataFieldBySourceName','subtotal','SHEET_PIVOT_IN_MAIN_THREAD','format','cornerInfo','UpdatePivotSource','SetSortInfo','concat','sheets-pivot.dateGroup.yearMonthDate','FORCE_STRING','BLANK_PLACEHOLDER','call','limit\x20pivot','rangeKey','setSubtotalType','_config','getId','floor','panel','_initConfig','getUnit','isArray','valueFilter','ΣValue','getCollection','error','deleteUnitId','Sum\x20of\x20','colStyle','getTypeOfUnitDisposed$','getSubUnitPivotRenderCache','813606LiGVYu','triggerDirtyFeature','colCount','setDisplayName','_sheetsPivotTableConfigModel','range','minDate','number','ResetPivotTable','#b2b2b2','getRangeKeyList','delete','sheets-pivot.varpName','headerMap','_sheetInterceptorService','sheets-pivot.other','_onRefRangeChange','getCellMatrix','MonthDate','setSortInfo','object','_activeDirtyManagerService','rgb(240,241,243)','push','refreshData','sheets-pivot.columnName','updateConfigCache','col','_initRegisterCommand','realDeleteValue','data','_sheetsPivotTableService','iterateFieldByArea','pivotTableIndexConfig','sheets-pivot.stdDevName','getColumnCount','endCollectChangeset','return\x20','generateMutationsByRanges','string','_host','updateFieldPosition','updateViewData','find','symbol','sortInfo','sheet.command.set-pivot-sort','movePivotField','dataRangeInfo','rangeType','_deleteModelCache','Column','has','getPivotTableRangeInfo','#1d32e9','_collectionChange$','_initDataSendListener','updateValuePosition','getSheetId','displayName','YearMonthDate','dataFields','_commandService','ManualFilter','_pivotRenderInfoCache','registerRefRange','sheet.command.pivot-drill-down','sheet.mutation.pivot-update-field-source-info','_ensurePivotTableMatrixInfo','lastRow','STRING','AddPivotField','updateView','5029512kaSEzV','#eceeff','setDataRecordCount','getColumnWidth','rowCount','intersects','getFullYear','oldRangeInfo','Total','addDirtyPivotTable','_globalComputingSrv','subUnitId','removeSourceRangeChange','DIV_BY_ZERO','info','batch','getTargetByPivotId','_requestResolvers','subscribe','params','_generateUniqueVersion','NotNumber','addField','collection','subTotalStyle','updateRenderCache','_updateRenderEmptyCache','#e6ebfb','value','getNoUsedDataFieldIds','replace','createDataFieldId','_sheetsPivotTableAdaptorModel','collapseInfo','disposableCollection','stdDevp','message','splice','sheets-pivot.dateGroup.hour','setPivotSort','_pivotConfigChange$','getFieldInfo','pbt','RemovePivotField','Quarter','_initPivotTextInfo','getOriginFieldId','getPivotTableCellData','updateCollectionConfig','\x20-\x20','prototype','hasOwnProperty','_viewUpdate$','colRanges','2984002GwSVTP','PivotMultipleValueId','getPivotTableMatrixInfo','width','broadcastCollectionChange','getFieldFormat','size','sheet.mutation.add-group-collection','_pivotTableInstanceCache','setFieldFormat','registerDirtyService','onCommandExecuted','var','pageRanges','adjustSheetCellData','tuple','sheet.command.reset-pivot-fields-config','_model','stdDev','interceptor','_pivotTableRangeInfo','varp','length','pivotTableConfigs','getCurrentUnitForType','DrillDown','rowRanges','maxDate','_getAutoName','_pivotInitCompleted$','stringify','getPivotTableModelConfig','registerPluginResource','dispose','_fieldsCollectionChange$','dataStream','getAutoFitColumnsMutations','addPivotTable','_configService','other','RemoveField','setDateType','filter','getDataFieldManager','_textInfo','sheet.mutation.send-pivot-config-local','getPivotDirtyViewInfo','targetCellInfo','REF','sheets-pivot.emptyPivot.column','hSa8lB6a\x20cb8m9OlB6a(LB8basb,\x20OSdLB87b9)\x20{\x20\x20\x20\x20lm9\x20{\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20LB8basbWah6pGmlKmmG9\x20=\x20LB8basb.sOLBl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x206mB0BagbssG0b\x20=\x20exr4.OGmsb(Gl6d(LB8basbWah6pGmlKmmG9[N]));\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!6mB0BagbssG0b.Sc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206mB0BagbssG0b.Sc\x20=\x204SQdbm(LB8basbWah6pGmlKmmG9[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20Bsw6m3bm\x20=\x20l9Ob6h\x20w6m3bm2L6dGLx86Ob\x20!==\x20\x27SacbhBabc\x27\x20&&\x20sbLh\x20BaslGa8b6h\x20w6m3bm2L6dGLx86Ob;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x2086albIl\x20=\x20Bsw6m3bm\x20?\x20sbLh\x20:\x20kBac6k;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0bw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[N]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0b\x20=\x2086albIl.__FbI__.slmBa0Bh9(QbssG0bw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmbw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[n]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmb\x20=\x2086albIl.__FbI__.slmBa0Bh9(sB0aGlSmbw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aJGLBc\x20=\x2086albIl.__5bmBh9__(sB0aGlSmb,\x20QbssG0b,\x20OSdLB87b9);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20c6QGBa\x20=\x206mB0BagbssG0b.cQ;\x20\x20\x20\x20\x20\x20\x20\x20hSa8lB6a\x20Bsq6QGBagGl8fBa0(6pGllbma,\x206F6sl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbma\x20=\x206pGllbma.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6sl\x20=\x206F6sl.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmapGmls\x20=\x20OGllbma.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slpGmls\x20=\x20f6sl.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!OGllbma.Ba8LScbs(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbma\x20===\x20f6sl;\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(OGllbmapGmls.Lba0lf\x20<\x20N\x20||\x20OGllbmapGmls[t]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20hGLsb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmaxShhBI\x20=\x20OGllbmapGmls.sLB8b(Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slxShhBI\x20=\x20f6slpGmls.sLB8b(-OGllbmapGmls.Lba0lf\x20+\x20Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbmaxShhBI\x20===\x20f6slxShhBI;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Lbl\x20c6QGBaJGLBc\x20=\x20(c6QGBa\x20&&\x20c6QGBa.Lba0lf)\x20?\x20c6QGBa.s6Qb((cQWlbQ)\x20=>\x20Bsq6QGBagGl8fBa0(cQWlbQ,\x20L68GlB6a.f6slaGQb))\x20:\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(L68GlB6a.f6slaGQb\x20===\x20\x27L68GLf6sl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20c6QGBaJGLBc\x20=\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x205GLBc\x20=\x20sB0aJGLBc\x20&&\x20c6QGBaJGLBc;\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x206mB0BagbssG0b,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Gl8f\x20(bmm6m)\x20{\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc:\x20hGLsb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','SetFieldFormat','registerCallbackWithEvent','startRow','getPivotTableConfig','removePivotField'];_0x4801=function(){return _0x3d33e8;};return _0x4801();}const $t={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x37a),'handler'(_0x437b2e,_0x6988f7){const _0xdfbbb1=_0x2cfc65;if(!_0x6988f7)return!0x1;if(!!_0x437b2e[_0xdfbbb1(0x13e)](_0x931275)[_0xdfbbb1(0x303)](Y))return!0x0;const _0x2a7cd3=_0x437b2e['get']($),{pivotTableId:_0x9972fa,fieldJson:_0x1dfe94,area:_0x54ee47,index:_0x149831,unitId:_0xeaa696,subUnitId:_0x19a674}=_0x6988f7,_0x1ed46a=_0x2a7cd3[_0xdfbbb1(0x2bc)](_0x9972fa);if(!_0x1ed46a)return!0x1;let _0xc4e8db;_0x54ee47===_0xeefe5e[_0xdfbbb1(0x346)]?_0xc4e8db=_0x10871b(_0x1dfe94):_0xc4e8db=_0x8b4139(_0x1dfe94),_0x1ed46a[_0xdfbbb1(0x1c7)](_0xc4e8db,_0x54ee47,_0x149831);const _0x4f5b79=_0x2a7cd3[_0xdfbbb1(0x206)](_0xeaa696,_0x19a674,_0x9972fa);ts(_0x4f5b79,_0x6988f7);const _0x2dbe14=_0x2a7cd3['getPivotTableConfig'](_0xeaa696,_0x19a674,_0x9972fa);return _0x2a7cd3[_0xdfbbb1(0x1ba)]({'unitId':_0xeaa696,'subUnitId':_0x19a674,'token':_0x9972fa,'type':G[_0xdfbbb1(0x2d8)],'pivotConfig':_0x2dbe14}),!0x0;}},Jt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x30a),'handler'(_0x470761,_0x5da1c4){const _0x5deb61=_0x2cfc65;if(!_0x5da1c4)return!0x1;if(!!_0x470761[_0x5deb61(0x13e)](_0x931275)[_0x5deb61(0x303)](Y))return!0x0;const _0x536406=_0x470761[_0x5deb61(0x13e)]($),{pivotTableId:_0x6787ce,fieldId:_0x68cbb3,unitId:_0x3a02c3,subUnitId:_0x40ed19}=_0x5da1c4,_0x379ece=_0x536406['getPivotTableInstance'](_0x6787ce);if(!_0x379ece)return!0x1;_0x379ece[_0x5deb61(0x2ed)](_0x68cbb3);const _0x365f13=_0x536406['getPivotTableModelConfig'](_0x3a02c3,_0x40ed19,_0x6787ce);os(_0x365f13,_0x5da1c4);const _0x55f91e=_0x536406[_0x5deb61(0x21d)](_0x3a02c3,_0x40ed19,_0x6787ce);return _0x536406['addDirtyPivotTable']({'unitId':_0x3a02c3,'subUnitId':_0x40ed19,'token':_0x6787ce,'type':G['Set'],'pivotConfig':_0x55f91e}),!0x0;}},Wt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x22f),'handler'(_0x4c3c5e,_0x6e1f66){const _0x18ce68=_0x2cfc65;if(!_0x6e1f66)return!0x1;if(!!_0x4c3c5e[_0x18ce68(0x13e)](_0x931275)[_0x18ce68(0x303)](Y))return!0x0;const _0x55377e=_0x4c3c5e[_0x18ce68(0x13e)]($),{unitId:_0x180e91,subUnitId:_0x3275b2,pivotTableId:_0x4bd625,fieldId:_0x2584ee,name:_0x2e3a32}=_0x6e1f66,_0x51d8c5=_0x55377e[_0x18ce68(0x2bc)](_0x4bd625);if(!_0x51d8c5)return!0x1;_0x51d8c5[_0x18ce68(0x38a)](_0x2584ee,_0x2e3a32);const _0x48af9b=_0x55377e[_0x18ce68(0x206)](_0x180e91,_0x3275b2,_0x4bd625);return ns(_0x48af9b,_0x6e1f66),_0x55377e[_0x18ce68(0x1ba)]({'unitId':_0x180e91,'subUnitId':_0x3275b2,'token':_0x4bd625,'type':G[_0x18ce68(0x2d8)]}),!0x0;}},jt={'type':_0x36216a['MUTATION'],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x1ab240,_0x1ad8d4){const _0x98bdbc=_0x2cfc65;if(!_0x1ad8d4)return!0x1;if(!!_0x1ab240[_0x98bdbc(0x13e)](_0x931275)[_0x98bdbc(0x303)](Y))return!0x0;const _0x212001=_0x1ab240[_0x98bdbc(0x13e)]($),{unitId:_0x90169d,subUnitId:_0x2bdc29,pivotTableId:_0x439431,fieldId:_0x5db3d3,collapse:_0x5f5c94,item:_0x57d261}=_0x1ad8d4,_0x141732=_0x212001[_0x98bdbc(0x2bc)](_0x439431);if(!_0x141732)return!0x1;_0x141732[_0x98bdbc(0x2b3)](_0x5db3d3,_0x5f5c94,_0x57d261);const _0x358c25=_0x212001[_0x98bdbc(0x206)](_0x90169d,_0x2bdc29,_0x439431);return is(_0x358c25,_0x1ad8d4),_0x212001['addDirtyPivotTable']({'unitId':_0x90169d,'subUnitId':_0x2bdc29,'token':_0x439431,'type':G[_0x98bdbc(0x2d8)]}),!0x0;}},Kt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x37f),'handler'(_0x308ab4,_0x4778d7){const _0x5d5532=_0x2cfc65;if(!_0x4778d7)return!0x1;if(!!_0x308ab4[_0x5d5532(0x13e)](_0x931275)[_0x5d5532(0x303)](Y))return!0x0;const _0x53c09e=_0x308ab4[_0x5d5532(0x13e)]($),{unitId:_0x12cef4,subUnitId:_0x30f128,pivotTableId:_0x39fa7c,fieldId:_0x5c660d,format:_0x5d1a05}=_0x4778d7,_0xb12e53=_0x53c09e['getPivotTableInstance'](_0x39fa7c);if(!_0xb12e53)return!0x1;_0xb12e53['setFieldFormat'](_0x5c660d,_0x5d1a05);const _0x135d66=_0x53c09e[_0x5d5532(0x206)](_0x12cef4,_0x30f128,_0x39fa7c);return ss(_0x135d66,_0x4778d7),_0x53c09e[_0x5d5532(0x1ba)]({'unitId':_0x12cef4,'subUnitId':_0x30f128,'token':_0x39fa7c,'type':G[_0x5d5532(0x2d8)]}),!0x0;}},Ht={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x263),'handler'(_0x36f1b0,_0x5ad60b){const _0x5de5dc=_0x2cfc65;if(!_0x5ad60b)return!0x1;if(!!_0x36f1b0['get'](_0x931275)[_0x5de5dc(0x303)](Y))return!0x0;const _0x91b4c6=_0x36f1b0[_0x5de5dc(0x13e)]($),{unitId:_0x40bfcb,subUnitId:_0x25d696,pivotTableId:_0x5e873c,fieldId:_0x5859d4,filterInfo:_0x5d72b9}=_0x5ad60b,_0xe5b68a=_0x91b4c6['getPivotTableInstance'](_0x5e873c);if(!_0xe5b68a)return!0x1;_0xe5b68a[_0x5de5dc(0x26a)](_0x5859d4,_0x5d72b9);const _0xde9d61=_0x91b4c6[_0x5de5dc(0x206)](_0x40bfcb,_0x25d696,_0x5e873c);return as(_0xde9d61,_0x5ad60b),_0x91b4c6[_0x5de5dc(0x1ba)]({'unitId':_0x40bfcb,'subUnitId':_0x25d696,'token':_0x5e873c,'type':G[_0x5de5dc(0x2d8)]}),!0x0;}},qt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':'sheet.mutation.set-pivot-option','handler'(_0x5cc0d8,_0x424a0a){const _0x407758=_0x2cfc65;if(!_0x424a0a)return!0x1;if(!!_0x5cc0d8['get'](_0x931275)[_0x407758(0x303)](Y))return!0x0;const _0xae83b4=_0x5cc0d8[_0x407758(0x13e)]($),{unitId:_0xf7d9ce,subUnitId:_0x29e8ac,pivotTableId:_0x1e741e,options:_0x3e7a1c}=_0x424a0a,_0x14d444=_0xae83b4[_0x407758(0x2bc)](_0x1e741e);if(!_0x14d444)return!0x1;_0x14d444[_0x407758(0x287)](_0x3e7a1c);const _0x25b119=_0xae83b4[_0x407758(0x206)](_0xf7d9ce,_0x29e8ac,_0x1e741e);return gs(_0x25b119,_0x424a0a),_0xae83b4[_0x407758(0x1ba)]({'unitId':_0xf7d9ce,'subUnitId':_0x29e8ac,'token':_0x1e741e,'type':G['Set']}),!0x0;}},Qt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x11e),'handler'(_0x1e35c2,_0x216c06){const _0x3c62bf=_0x2cfc65;if(!_0x216c06)return!0x1;if(!!_0x1e35c2[_0x3c62bf(0x13e)](_0x931275)[_0x3c62bf(0x303)](Y))return!0x0;const _0xf24af6=_0x1e35c2[_0x3c62bf(0x13e)]($),{unitId:_0x4276d5,subUnitId:_0x16fb95,pivotTableId:_0x35ae81,sortInfo:_0x54ec55,fieldId:_0x7f08be}=_0x216c06,_0x25bcdf=_0xf24af6[_0x3c62bf(0x2bc)](_0x35ae81);if(!_0x25bcdf)return!0x1;_0x25bcdf[_0x3c62bf(0x17b)](_0x7f08be,_0x54ec55);const _0x5b3321=_0xf24af6['getPivotTableModelConfig'](_0x4276d5,_0x16fb95,_0x35ae81);return fs(_0x5b3321,_0x216c06),_0xf24af6[_0x3c62bf(0x1ba)]({'unitId':_0x4276d5,'subUnitId':_0x16fb95,'token':_0x35ae81,'type':G[_0x3c62bf(0x2d8)]}),!0x0;}},Yt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x26b),'handler'(_0xfd43f8,_0x42136c){const _0x218ab4=_0x2cfc65;if(!_0x42136c)return!0x1;if(!!_0xfd43f8[_0x218ab4(0x13e)](_0x931275)[_0x218ab4(0x303)](Y))return!0x0;const _0x2674f4=_0xfd43f8[_0x218ab4(0x13e)]($),{unitId:_0x35c870,subUnitId:_0xb7ca65,pivotTableId:_0xb250a5,fieldId:_0x27e6fa,subtotalType:_0x528d64}=_0x42136c,_0x423790=_0x2674f4[_0x218ab4(0x2bc)](_0xb250a5);if(!_0x423790)return!0x1;_0x423790[_0x218ab4(0x157)](_0x27e6fa,_0x528d64);const _0x52c55c=_0x2674f4[_0x218ab4(0x206)](_0x35c870,_0xb7ca65,_0xb250a5);return ls(_0x52c55c,_0x42136c),_0x2674f4['addDirtyPivotTable']({'unitId':_0x35c870,'subUnitId':_0xb7ca65,'token':_0xb250a5,'type':G['Set']}),!0x0;}},zt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x2b5),'handler'(_0x1b1917,_0x197ad6){const _0x11ea43=_0x2cfc65;if(!_0x197ad6)return!0x1;if(!!_0x1b1917[_0x11ea43(0x13e)](_0x931275)['getConfig'](Y))return!0x0;const _0x21ec37=_0x1b1917[_0x11ea43(0x13e)]($),{unitId:_0x56f301,subUnitId:_0x4bd13a,pivotTableId:_0x4bcf11,fieldId:_0x4a97b7,filterInfo:_0x324575}=_0x197ad6,_0xd6c55e=_0x21ec37[_0x11ea43(0x2bc)](_0x4bcf11);if(!_0xd6c55e)return!0x1;_0xd6c55e[_0x11ea43(0x2ea)](_0x4a97b7,_0x324575);const _0x57340a=_0x21ec37['getPivotTableModelConfig'](_0x56f301,_0x4bd13a,_0x4bcf11);return rs(_0x57340a,_0x197ad6),_0x21ec37[_0x11ea43(0x1ba)]({'unitId':_0x56f301,'subUnitId':_0x4bd13a,'token':_0x4bcf11,'type':G[_0x11ea43(0x2d8)]}),!0x0;}},Xt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x5cb76a,_0x145fa2){const _0x491b3d=_0x2cfc65;if(!_0x145fa2)return!0x1;if(!!_0x5cb76a['get'](_0x931275)[_0x491b3d(0x303)](Y))return!0x0;const _0x2fbe8b=_0x5cb76a[_0x491b3d(0x13e)]($),{unitId:_0x347dd2,subUnitId:_0x4fdefc,pivotTableId:_0x1710ec,area:_0x2772ce,index:_0x420ff4,fieldId:_0x102f46}=_0x145fa2,_0x44b9ed=_0x2fbe8b[_0x491b3d(0x2bc)](_0x1710ec);if(!_0x44b9ed)return!0x1;_0x44b9ed[_0x491b3d(0x191)](_0x102f46,_0x2772ce,_0x420ff4);const _0x46851d=_0x2fbe8b[_0x491b3d(0x206)](_0x347dd2,_0x4fdefc,_0x1710ec);return cs(_0x46851d,_0x145fa2),_0x2fbe8b['addDirtyPivotTable']({'unitId':_0x347dd2,'subUnitId':_0x4fdefc,'token':_0x1710ec,'type':G['Set']}),!0x0;}},Zt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x1ab),'handler'(_0x16dccc,_0x1e5855){const _0x23db8b=_0x2cfc65;if(!_0x1e5855)return!0x1;if(!!_0x16dccc[_0x23db8b(0x13e)](_0x931275)[_0x23db8b(0x303)](Y))return!0x0;const _0x11644d=_0x16dccc['get']($),{unitId:_0x59ab5f,subUnitId:_0x5101a3,pivotTableId:_0x1995ee,sourceName:_0x39a185,dataFieldId:_0x3c6ca6,tableFieldId:_0x2c7c0b}=_0x1e5855,_0x22d5a4=_0x11644d[_0x23db8b(0x2bc)](_0x1995ee);if(!_0x22d5a4)return!0x1;_0x22d5a4['updateFieldSourceInfo'](_0x2c7c0b,_0x39a185,_0x3c6ca6);const _0x4b0d33=_0x11644d['getPivotTableModelConfig'](_0x59ab5f,_0x5101a3,_0x1995ee);return us(_0x4b0d33,_0x1e5855),_0x11644d[_0x23db8b(0x1ba)]({'unitId':_0x59ab5f,'subUnitId':_0x5101a3,'token':_0x1995ee,'type':G[_0x23db8b(0x2d8)]}),!0x0;}},eo={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x321),'handler'(_0x207b39,_0x2c2951){const _0x50f72c=_0x2cfc65;if(!_0x2c2951)return!0x1;if(!!_0x207b39[_0x50f72c(0x13e)](_0x931275)[_0x50f72c(0x303)](Y))return!0x0;const _0x1a7b36=_0x207b39[_0x50f72c(0x13e)]($),{unitId:_0x5d70e4,subUnitId:_0x3cc8ef,pivotTableId:_0x4561ab,valuePosition:_0x56fc03,index:_0x4b231c}=_0x2c2951,_0x31a502=_0x1a7b36[_0x50f72c(0x2bc)](_0x4561ab);if(!_0x31a502)return!0x1;_0x31a502[_0x50f72c(0x1a1)](_0x56fc03,_0x4b231c);const _0x7e0a98=_0x1a7b36[_0x50f72c(0x206)](_0x5d70e4,_0x3cc8ef,_0x4561ab);return ds(_0x7e0a98,_0x2c2951),_0x1a7b36['addDirtyPivotTable']({'unitId':_0x5d70e4,'subUnitId':_0x3cc8ef,'token':_0x4561ab,'type':G['Set']}),!0x0;}};function me(_0x2c32eb,_0xcb8851,_0x24f12b){const _0xb19609=_0x2cfc65,{pivotTableId:_0x2fa1da,unitId:_0x37a9f6,subUnitId:_0x544f0e}=_0xcb8851,_0x25494d=[],_0x5eae13=[];for(const _0x2279c4 of _0x24f12b)switch(_0x2279c4[_0xb19609(0x38b)]){case _0x25cb6c[_0xb19609(0x143)]:{const {fieldJson:_0x4b24af,area:_0x1a0ca4,index:_0x297945}=_0x2279c4,_0x15cf20={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldJson':_0x4b24af,'area':_0x1a0ca4,'index':_0x297945},_0x26f38d={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x4b24af['id'],'area':_0x1a0ca4,'index':_0x297945};_0x25494d['push']({'id':$t['id'],'params':_0x15cf20}),_0x5eae13[_0xb19609(0x33f)]({'id':Jt['id'],'params':_0x26f38d});}break;case _0x25cb6c[_0xb19609(0x323)]:{const {fieldId:_0x3c0369,newSubtotalType:_0x1f6c6a,oldSubtotalType:_0x31ef21}=_0x2279c4,_0x45aab1={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x3c0369,'subtotalType':_0x1f6c6a};_0x25494d[_0xb19609(0x17f)]({'id':Yt['id'],'params':_0x45aab1});const _0x12f799={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x3c0369,'subtotalType':_0x31ef21};_0x5eae13['unshift']({'id':Yt['id'],'params':_0x12f799});}break;case _0x25cb6c[_0xb19609(0x20f)]:{const {fieldId:_0x5b216c,fieldJson:_0x296ba2,area:_0x42338d,index:_0x5bc5c0}=_0x2279c4,_0x230b21={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x5b216c,'index':_0x5bc5c0,'area':_0x42338d};_0x25494d['push']({'id':Jt['id'],'params':_0x230b21});const _0x1b2971={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldJson':_0x296ba2,'area':_0x42338d,'index':_0x5bc5c0};_0x5eae13[_0xb19609(0x33f)]({'id':$t['id'],'params':_0x1b2971});}break;case _0x25cb6c['RenameField']:{const {fieldId:_0xd5421f,oldName:_0x1b1c62,newName:_0x42ba43}=_0x2279c4,_0x13da40={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0xd5421f,'name':_0x42ba43};_0x25494d[_0xb19609(0x17f)]({'id':Wt['id'],'params':_0x13da40});const _0xd62ca5={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0xd5421f,'name':_0x1b1c62};_0x5eae13[_0xb19609(0x33f)]({'id':Wt['id'],'params':_0xd62ca5});}break;case _0x25cb6c[_0xb19609(0x2fe)]:{const {fieldId:_0x585fe4,oldFilterInfo:_0x9f0b1d,newFilterInfo:_0x43da53}=_0x2279c4,_0x5e3b41={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x585fe4,'filterInfo':_0x43da53};_0x25494d['push']({'id':Ht['id'],'params':_0x5e3b41});const _0xbc08c0={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x585fe4,'filterInfo':_0x9f0b1d};_0x5eae13[_0xb19609(0x33f)]({'id':Ht['id'],'params':_0xbc08c0});}break;case _0x25cb6c[_0xb19609(0x14f)]:{const {fieldId:_0x172021,oldSortInfo:_0xf54d6d,newSortInfo:_0x2ddaa5}=_0x2279c4,_0x325113={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x172021,'sortInfo':_0x2ddaa5};_0x25494d[_0xb19609(0x17f)]({'id':Qt['id'],'params':_0x325113});const _0x93020a={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x172021,'sortInfo':_0xf54d6d};_0x5eae13[_0xb19609(0x33f)]({'id':Qt['id'],'params':_0x93020a});}break;case _0x25cb6c['SetOptions']:{const {oldOptions:_0x22ea6c,newOptions:_0x452a2c}=_0x2279c4,_0x14b743={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'options':_0x452a2c};_0x25494d[_0xb19609(0x17f)]({'id':qt['id'],'params':_0x14b743});const _0x3f85bf={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'options':_0x22ea6c};_0x5eae13[_0xb19609(0x33f)]({'id':qt['id'],'params':_0x3f85bf});}break;case _0x25cb6c['UpdateFieldPosition']:{const {oldArea:_0x269223,newArea:_0x5d6a07,oldIndex:_0x5d987c,newIndex:_0x33849b,fieldId:_0x2ad96f}=_0x2279c4,_0x309e5d={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x2ad96f,'area':_0x5d6a07,'index':_0x33849b,'oldArea':_0x269223,'oldIndex':_0x5d987c};_0x25494d[_0xb19609(0x17f)]({'id':Xt['id'],'params':_0x309e5d});const _0x24c45e={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x2ad96f,'area':_0x269223,'index':_0x5d987c,'oldArea':_0x5d6a07,'oldIndex':_0x33849b};_0x5eae13[_0xb19609(0x33f)]({'id':Xt['id'],'params':_0x24c45e});}break;case _0x25cb6c[_0xb19609(0x250)]:{const {oldValuePosition:_0x294100,newValuePosition:_0xd1fcae,oldIndex:_0x70f9e3,newIndex:_0x45060b}=_0x2279c4,_0x46170e={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'valuePosition':_0xd1fcae,'index':_0x45060b};_0x25494d['push']({'id':eo['id'],'params':_0x46170e});const _0x36aa60={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'valuePosition':_0x294100,'index':_0x70f9e3};_0x5eae13['unshift']({'id':eo['id'],'params':_0x36aa60});}break;case _0x25cb6c['SetCollapse']:{const {fieldId:_0x5761d9,collapse:_0x41317a,item:_0x2fda2b}=_0x2279c4,_0x65230={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x5761d9,'collapse':_0x41317a,'item':_0x2fda2b};_0x25494d[_0xb19609(0x17f)]({'id':jt['id'],'params':_0x65230});const _0xe516ad={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x5761d9,'collapse':!_0x41317a,'item':_0x2fda2b};_0x5eae13[_0xb19609(0x33f)]({'id':jt['id'],'params':_0xe516ad});}break;case _0x25cb6c[_0xb19609(0x21a)]:{const {newFormat:_0xe79ad2,oldFormat:_0x39fa22,fieldId:_0x41d494}=_0x2279c4,_0x428f7b={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x41d494,'format':_0xe79ad2};_0x25494d['push']({'id':Kt['id'],'params':_0x428f7b});const _0xafb14f={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x41d494,'format':_0x39fa22};_0x5eae13[_0xb19609(0x33f)]({'id':Kt['id'],'params':_0xafb14f});}break;case _0x25cb6c['UpdateSource']:{const {tableFieldId:_0x3a35ff,oldSourceName:_0x846a8c,newSourceName:_0xded575,oldDataFieldId:_0x422b5f,newDataFieldId:_0x4e6682}=_0x2279c4,_0x2a69f3={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'tableFieldId':_0x3a35ff,'sourceName':_0xded575,'dataFieldId':_0x4e6682};_0x25494d[_0xb19609(0x17f)]({'id':Zt['id'],'params':_0x2a69f3});const _0x298407={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'tableFieldId':_0x3a35ff,'sourceName':_0x846a8c,'dataFieldId':_0x422b5f};_0x5eae13['unshift']({'id':Zt['id'],'params':_0x298407});}break;case _0x25cb6c['SetValueFilter']:{const {fieldId:_0x35fda9,filterInfo:_0x41a229,oldFilterInfo:_0x4fdbb1}=_0x2279c4,_0x1fd73c={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x35fda9,'filterInfo':_0x41a229};_0x25494d['push']({'id':zt['id'],'params':_0x1fd73c});const _0x5992cb={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x35fda9,'filterInfo':_0x4fdbb1};_0x5eae13[_0xb19609(0x33f)]({'id':zt['id'],'params':_0x5992cb});}}return{'redos':_0x25494d,'undos':_0x5eae13};}function _e(_0x112bb6,_0x35576b){const _0x349f66=_0x2cfc65;var _0x5b3600;const _0x580765=_0x112bb6[_0x349f66(0x13e)](ie),{cellInfo:_0x4b061,view:_0x3580cb,isEmpty:_0x5e7a49}=_0x35576b;return(_0x5b3600=_0x580765[_0x349f66(0x1fa)]['fetchThroughInterceptors'](Jo)(To,{'cellInfo':_0x4b061,'view':_0x3580cb,'isEmpty':_0x5e7a49}))!=null?_0x5b3600:To;}const hs={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x37e),async 'handler'(_0x3177c6,_0x37eb1c){const _0x445514=_0x2cfc65;if(!_0x37eb1c)return!0x1;const _0x2b1d65=_0x3177c6[_0x445514(0x13e)](_0x4c491b),_0x23e787=_0x3177c6[_0x445514(0x13e)](X),_0x445c30=_0x3177c6['get'](_0x5cd9a0),{pivotTableId:_0x249e16,dataFieldId:_0x17f784,fieldArea:_0x32ea2e,index:_0x3becb3,unitId:_0x201e78,subUnitId:_0x337721}=_0x37eb1c,_0x2df7f8=(await _0x23e787[_0x445514(0x110)]({'unitId':_0x201e78,'subUnitId':_0x337721,'pivotTableId':_0x249e16,'params':{'type':B[_0x445514(0x1af)],'addPivotField':{'dataFieldId':_0x17f784,'fieldArea':_0x32ea2e,'index':_0x3becb3}}}))['result'][_0x445514(0x328)];if(!_0x2df7f8)return!0x1;const {view:_0x255ba4,changesets:_0x7f28f8,isEmpty:_0x4d6a6a,pivotTableConfig:_0x160bc2,shouldBeAddedGroupJSON:_0x13b903}=_0x2df7f8,_0x22087a=_0x160bc2['targetCellInfo'],_0x4934eb=new _0x1b10b0();_0x4934eb[_0x445514(0x368)](_0x255ba4);const _0x387c74={'cellInfo':_0x22087a,'view':_0x4934eb,'isEmpty':_0x4d6a6a};if(!await _0x3177c6[_0x445514(0x13e)](ie)[_0x445514(0x221)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x387c74))return!0x1;const _0x4853ab=we(_0x3177c6,_0x4934eb,_0x22087a,_0x4d6a6a),_0x5d62d4=_e(_0x3177c6,_0x387c74),{undos:_0x4b27fa,redos:_0x4cef66}=me(_0x2b1d65,{'pivotTableId':_0x249e16,'unitId':_0x201e78,'subUnitId':_0x337721},_0x7f28f8);return _0x13b903&&(_0x4cef66[_0x445514(0x33f)]({'id':zo['id'],'params':{'pivotTableId':_0x249e16,'fieldJSON':_0x13b903,'unitId':_0x201e78,'subUnitId':_0x337721}}),_0x4b27fa[_0x445514(0x17f)]({'id':Xo['id'],'params':{'pivotTableId':_0x249e16,'dataFieldId':_0x13b903['id'],'unitId':_0x201e78,'subUnitId':_0x337721}})),_0x414dc6([..._0x4853ab[_0x445514(0x235)],..._0x5d62d4[_0x445514(0x235)],..._0x4cef66],_0x2b1d65),_0x445c30[_0x445514(0x380)]({'unitID':_0x201e78,'redoMutations':[..._0x4853ab['redos'],..._0x5d62d4[_0x445514(0x235)],..._0x4cef66],'undoMutations':[..._0x4853ab['undos'],..._0x5d62d4[_0x445514(0x319)],..._0x4b27fa]}),!0x0;}},vs=()=>typeof process<'u'&&process['versions']!=null&&process[_0x2cfc65(0x30c)][_0x2cfc65(0x136)]!=null,Ct={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x28c),'handler'(_0x3b7432,_0x36b482){const _0x4c0664=_0x2cfc65;var _0x4f690b;if(!_0x36b482)return!0x1;const _0x480972=_0x3b7432['get'](_0x931275);if(!!_0x480972[_0x4c0664(0x303)](Y))return!0x0;const _0xf5151c=_0x3b7432['get'](_0x295672),_0x2f9935=_0x3b7432['get']($),{pivotTableId:_0x361d9a,pivotTableConfig:_0x131080,collectionConfig:_0x1ccbe0,unitId:_0x546065,subUnitId:_0x53c299}=_0x36b482,{sourceRangeInfo:_0x2d0dff,fieldsConfig:_0x45be3b,targetCellInfo:_0x16491a}=_0x131080,_0xccd03d=_0xf5151c[_0x4c0664(0x15d)](_0x546065);if(!_0xccd03d||!_0xccd03d[_0x4c0664(0x248)](_0x53c299))return!0x1;if(!vs()){let _0xd47031=0x0;_0xccd03d[_0x4c0664(0x243)]()['forEach'](_0x4bb097=>{const _0x431cf3=_0x4c0664;var _0x309b16,_0x178654;_0xd47031+=(_0x178654=(_0x309b16=_0x2f9935['getSubUnitPivotConfigs'](_0x546065,_0x4bb097[_0x431cf3(0x1a2)]()))==null?void 0x0:_0x309b16[_0x431cf3(0x1ed)])!=null?_0x178654:0x0;});const _0x552bdc=(_0x4f690b=_0x480972[_0x4c0664(0x303)](_0x2b702e))!=null?_0x4f690b:{},{ls:_0xa0b1d9,pbk:_0xb8c5f6}=_0x552bdc;if(!Ho(_0xa0b1d9,_0xb8c5f6))throw new _0x3580bc(_0x4c0664(0x155));const _0x5b16f2=go(so,_0xa0b1d9,_0xb8c5f6)[_0x4c0664(0x251)];if(_0xd47031>=_0x5b16f2)throw new _0x3580bc(_0x4c0664(0x155));}if(!_0x1ccbe0||!_0x45be3b)return!0x1;const {collection:_0x51b3de,updateDataFieldList:_0x4cfa57}=_0x2f9935[_0x4c0664(0x121)](_0x361d9a,_0x1ccbe0,_0x2d0dff,_0x16491a);_0x2f9935[_0x4c0664(0x180)](_0x51b3de,_0x4cfa57,_0x2d0dff);const _0x537c52=new _0xa87c2b(_0x51b3de,void 0x0,_0x361d9a);_0x537c52['fromJSON'](_0x45be3b);const _0x41137d=JSON[_0x4c0664(0x2da)](JSON[_0x4c0664(0x205)](_0x131080));return _0x2f9935[_0x4c0664(0x20c)](_0x546065,_0x53c299,_0x361d9a,_0x537c52,_0x41137d),_0x2f9935[_0x4c0664(0x1ba)]({'unitId':_0x546065,'subUnitId':_0x53c299,'token':_0x361d9a,'type':G[_0x4c0664(0x299)],'pivotConfig':_0x41137d}),!0x0;}},ps={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x32cee,_0x2d49ed){const _0x54dab4=_0x2cfc65;if(!_0x2d49ed)return!0x1;const {sourceDataInfo:_0x55c528,pivotTableConfig:_0x40da68}=_0x2d49ed;if(!_0x55c528||!_0x40da68)return!0x1;const {unitId:_0x2a6314,subUnitId:_0x4ea9fe,range:_0x4c21fc}=_0x55c528,_0x2bd166=_0x32cee[_0x54dab4(0x13e)](_0x295672),_0x2ea547=_0x32cee['get'](X),_0x44344e=_0x32cee['get'](_0x2a61e0),_0x20ce44=_0x32cee['get'](_0x4c491b),_0x340f82=_0x2bd166[_0x54dab4(0x15d)](_0x2a6314);if(!_0x340f82)return!0x1;const _0x4ad95e=_0x340f82[_0x54dab4(0x248)](_0x4ea9fe);if(!_0x4ad95e)return!0x1;const _0x465171=_0x552661(0x8),_0x11d7b0=_0x4c21fc||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4ad95e[_0x54dab4(0x10e)]()-0x1,'endColumn':_0x4ad95e[_0x54dab4(0x18b)]()-0x1};_0x11d7b0[_0x54dab4(0x199)]=_0x2948f9[_0x54dab4(0x286)];const _0x2d0816=(await _0x2ea547[_0x54dab4(0x110)]({'unitId':_0x2a6314,'subUnitId':_0x4ea9fe,'pivotTableId':_0x465171,'params':{'type':B['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2a6314,'sheetName':_0x4ad95e[_0x54dab4(0x27a)](),'subUnitId':_0x4ea9fe,'range':_0x11d7b0},'pivotTableId':_0x465171,'pivotTableIndexConfig':_0x40da68}}}))[_0x54dab4(0x22a)]['addPivotTableWithConfig'];if(!_0x2d0816)return!0x1;const {isEmpty:_0x579018,fieldsConfig:_0x4bddfa,collectionConfig:_0x1e322b,changesets:_0x4ae16c}=_0x2d0816,_0xe722b0=_0x340f82[_0x54dab4(0x243)]()[_0x54dab4(0x1fd)],_0x135ad8=_0x6dfe44({'rowCount':_0x4ad95e[_0x54dab4(0x10e)]()-0x1,'columnCount':_0x4ad95e[_0x54dab4(0x18b)]()-0x1});_0x135ad8['id']=_0x44435e(),_0x135ad8[_0x54dab4(0x2bb)]=_0x340f82['generateNewSheetName'](''+_0x44344e['t'](_0x54dab4(0x339)));const _0xce1a0b={'index':_0xe722b0,'sheet':_0x135ad8,'unitId':_0x2a6314},{redos:_0x3c1f94}=me(_0x20ce44,{'pivotTableId':_0x465171,'unitId':_0x2a6314,'subUnitId':_0x135ad8['id']},_0x4ae16c),_0x4dd540=[{'id':_0x235ef5['id'],'params':_0xce1a0b},{'id':Ct['id'],'params':{'unitId':_0x2a6314,'subUnitId':_0x135ad8['id'],'pivotTableId':_0x465171,'pivotTableConfig':{'isEmpty':_0x579018,'fieldsConfig':_0x4bddfa,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2a6314,'subUnitId':_0x135ad8['id']},'sourceRangeInfo':{'subUnitId':_0x4ea9fe,'unitId':_0x2a6314,'range':_0x11d7b0,'sheetName':_0x4ad95e[_0x54dab4(0x27a)]()}},'collectionConfig':_0x1e322b}},..._0x3c1f94];return _0x414dc6(_0x4dd540,_0x20ce44),!0x0;}},Et={'type':_0x36216a[_0x2cfc65(0x11f)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x53258d,_0x291d82){const _0x3a4898=_0x2cfc65;if(!_0x291d82)return!0x1;if(!!_0x53258d[_0x3a4898(0x13e)](_0x931275)[_0x3a4898(0x303)](Y))return!0x0;const {pivotTableId:_0x195691,unitId:_0x3d1829,subUnitId:_0x29859b}=_0x291d82,_0x42ad52=_0x53258d[_0x3a4898(0x13e)]($);return _0x42ad52[_0x3a4898(0x21d)](_0x3d1829,_0x29859b,_0x195691)?(_0x42ad52[_0x3a4898(0x1ba)]({'unitId':_0x3d1829,'subUnitId':_0x29859b,'token':_0x195691,'type':G[_0x3a4898(0x132)]}),_0x42ad52['removePivotTable'](_0x3d1829,_0x29859b,_0x195691),!0x0):!0x1;}},ms={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x504ce0,_0x3b7697){const _0x379a0f=_0x2cfc65;var _0x4b452a,_0x777583;const _0x31416a=_0x504ce0[_0x379a0f(0x13e)](_0x4c491b),_0x2abf1b=_0x504ce0['get'](_0x295672),_0x516126=_0x504ce0['get'](_0x2a61e0),_0x20b579=_0x504ce0[_0x379a0f(0x13e)](X),_0x1a1a88=_0x504ce0[_0x379a0f(0x13e)](_0x5cd9a0),_0x49d944=_0x504ce0[_0x379a0f(0x13e)](ve),_0x51732f=_0x504ce0[_0x379a0f(0x13e)](_0x931275);if(!_0x3b7697)return!0x1;const {pivotTableConfig:_0x1fa5fd,positionType:_0x1f99fb}=_0x3b7697,{targetCellInfo:_0x10c2f6,sourceRangeInfo:_0x27a70b}=_0x1fa5fd,{unitId:_0x14a44d,subUnitId:_0x22187c}=_0x10c2f6,_0x18543f=_0x2abf1b['getUnit'](_0x14a44d);if(!_0x18543f)return!0x1;let _0xc97229=0x0;_0x18543f[_0x379a0f(0x243)]()[_0x379a0f(0x112)](_0x14dfb2=>{const _0x2b21f3=_0x379a0f;var _0x4ac680,_0x506421;_0xc97229+=(_0x506421=(_0x4ac680=_0x49d944[_0x2b21f3(0x34d)](_0x14a44d,_0x14dfb2['getSheetId']()))==null?void 0x0:_0x4ac680['size'])!=null?_0x506421:0x0;});const _0x3b4366=(_0x4b452a=_0x51732f[_0x379a0f(0x303)](_0x2b702e))!=null?_0x4b452a:{},{ls:_0x595215,pbk:_0x5909ae}=_0x3b4366;if(!Ho(_0x595215,_0x5909ae))return!0x1;const _0x521ad0=go(so,_0x595215,_0x5909ae)[_0x379a0f(0x251)];if(_0xc97229>=_0x521ad0)return!0x1;const _0x1fd74c=_0x3b7697['pivotTableId']||_0x552661(0x8),_0xec8f22=(await _0x20b579[_0x379a0f(0x110)]({'unitId':_0x14a44d,'subUnitId':_0x22187c,'pivotTableId':_0x1fd74c,'params':{'type':B[_0x379a0f(0x119)],'addPivotTable':{'sourceRangeInfo':_0x27a70b,'pivotTableId':_0x1fd74c}}}))[_0x379a0f(0x22a)]['addPivotTable'];if(!_0xec8f22)return!0x1;const {view:_0x51cc87,isEmpty:_0x42ddc5,fieldsConfig:_0x23e4b6,collectionConfig:_0x11683a}=_0xec8f22,_0xd1fbc5=[],_0x41a6db=[];if(_0x1f99fb===ko[_0x379a0f(0x345)]){const _0x55a483=_0x18543f['getSheets']()[_0x379a0f(0x1fd)],_0x28c068=_0x6dfe44({});_0x28c068['id']=_0x1fa5fd[_0x379a0f(0x216)][_0x379a0f(0x1bc)],_0x28c068['name']=(_0x777583=_0x1fa5fd[_0x379a0f(0x216)]['sheetName'])!=null?_0x777583:_0x18543f[_0x379a0f(0x126)](''+_0x516126['t']('sheets.tabs.sheet'));const _0x4981de={'index':_0x55a483,'sheet':_0x28c068,'unitId':_0x14a44d},_0x3779d7=_0x2fb6e0(_0x504ce0,_0x4981de);_0xd1fbc5[_0x379a0f(0x17f)]({'id':_0x45fd86['id'],'params':_0x3779d7}),_0x41a6db[_0x379a0f(0x17f)]({'id':_0x49873a['id'],'params':_0x4981de});}else{if(!_0x18543f[_0x379a0f(0x248)](_0x22187c))return!0x1;const _0xd823bd=we(_0x504ce0,new _0x1b10b0(),_0x10c2f6,!0x0);_0x41a6db[_0x379a0f(0x17f)](..._0xd823bd[_0x379a0f(0x235)]),_0xd1fbc5[_0x379a0f(0x17f)](..._0xd823bd[_0x379a0f(0x319)]);const _0x4c1f64={'cellInfo':_0x10c2f6,'view':_0x51cc87,'isEmpty':_0x42ddc5};if(!await _0x504ce0[_0x379a0f(0x13e)](ie)[_0x379a0f(0x221)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4c1f64))return!0x1;const _0x79fe83=_e(_0x504ce0,_0x4c1f64);_0x41a6db[_0x379a0f(0x17f)](..._0x79fe83[_0x379a0f(0x235)]),_0xd1fbc5[_0x379a0f(0x17f)](..._0x79fe83[_0x379a0f(0x319)]);}return _0x41a6db[_0x379a0f(0x17f)]({'id':Ct['id'],'params':{'unitId':_0x10c2f6['unitId'],'subUnitId':_0x10c2f6[_0x379a0f(0x1bc)],'pivotTableId':_0x1fd74c,'pivotTableConfig':{'targetCellInfo':_0x10c2f6,'sourceRangeInfo':_0x27a70b,'fieldsConfig':_0x23e4b6},'collectionConfig':_0x11683a}}),_0xd1fbc5[_0x379a0f(0x33f)]({'id':Et['id'],'params':{'unitId':_0x14a44d,'subUnitId':_0x22187c,'pivotTableId':_0x1fd74c}}),_0x414dc6(_0x41a6db,_0x31416a)&&_0x1a1a88['pushUndoRedo']({'unitID':_0x14a44d,'undoMutations':_0xd1fbc5,'redoMutations':_0x41a6db}),!0x0;}},Is={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x35d),async 'handler'(_0x431b1e,_0x5ad401){const _0x5d55fd=_0x2cfc65;if(!_0x5ad401)return!0x1;const _0x8e2219=_0x431b1e[_0x5d55fd(0x13e)](_0x4c491b),_0x3372d7=_0x431b1e[_0x5d55fd(0x13e)](X),_0x2a58cc=_0x431b1e[_0x5d55fd(0x13e)](_0x5cd9a0),{pivotTableId:_0x3f3437,fieldId:_0x2a94f8,area:_0x54e818,index:_0x25b4b9,unitId:_0x5eca6e,subUnitId:_0x2d4f92}=_0x5ad401,_0x291550=(await _0x3372d7[_0x5d55fd(0x110)]({'unitId':_0x5eca6e,'subUnitId':_0x2d4f92,'pivotTableId':_0x3f3437,'params':{'type':B['MovePivotField'],'movePivotField':{'fieldId':_0x2a94f8,'area':_0x54e818,'index':_0x25b4b9}}}))[_0x5d55fd(0x22a)][_0x5d55fd(0x197)];if(!_0x291550)return!0x1;const {changesets:_0x29b3bc,view:_0x55fa05,isEmpty:_0x3afc54,pivotTableConfig:_0x454cb0}=_0x291550,_0x2ad5b7=_0x454cb0[_0x5d55fd(0x216)],_0x2bfddd=new _0x1b10b0();_0x2bfddd[_0x5d55fd(0x368)](_0x55fa05);const _0x4ef3ff={'cellInfo':_0x2ad5b7,'view':_0x2bfddd,'isEmpty':_0x3afc54};if(!await _0x431b1e[_0x5d55fd(0x13e)](ie)[_0x5d55fd(0x221)][_0x5d55fd(0x36d)](be)(!0x0,_0x4ef3ff))return!0x1;const _0x4fe0cb=we(_0x431b1e,_0x2bfddd,_0x2ad5b7,_0x3afc54),_0x2e4986=_e(_0x431b1e,_0x4ef3ff),{redos:_0x5b4e3d,undos:_0x2608f2}=me(_0x8e2219,{'pivotTableId':_0x3f3437,'unitId':_0x5eca6e,'subUnitId':_0x2d4f92},_0x29b3bc);return _0x414dc6([..._0x4fe0cb['redos'],..._0x2e4986[_0x5d55fd(0x235)],..._0x5b4e3d],_0x8e2219),_0x2a58cc[_0x5d55fd(0x380)]({'unitID':_0x5eca6e,'redoMutations':[..._0x4fe0cb[_0x5d55fd(0x235)],..._0x2e4986[_0x5d55fd(0x235)],..._0x5b4e3d],'undoMutations':[..._0x4fe0cb[_0x5d55fd(0x319)],..._0x2e4986['undos'],..._0x2608f2]}),!0x0;}},pt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x381),'handler'(_0x153942,_0x251156){const _0x450c8d=_0x2cfc65;if(!_0x251156)return!0x1;if(!!_0x153942[_0x450c8d(0x13e)](_0x931275)[_0x450c8d(0x303)](Y))return!0x0;const {pivotTableId:_0x4be850,targetCellPosition:_0x42edf2,unitId:_0x1ce633,subUnitId:_0x14e0c2}=_0x251156,_0x2052bd=_0x153942[_0x450c8d(0x13e)]($);if(!_0x2052bd[_0x450c8d(0x2bc)](_0x251156[_0x450c8d(0x386)]))return!0x1;const _0x32c22c=_0x2052bd[_0x450c8d(0x1c1)](_0x4be850);if(!_0x32c22c)return!0x1;const _0x2150a1=_0x2052bd['getCollection'](_0x32c22c[_0x450c8d(0x130)],_0x251156[_0x450c8d(0x386)]);if(!_0x2150a1)return!0x1;const _0x57be65=_0x2052bd[_0x450c8d(0x21d)](_0x32c22c[_0x450c8d(0x130)],_0x32c22c[_0x450c8d(0x1bc)],_0x4be850);if(!_0x57be65)return!0x1;const _0x24cac6=_0x414e34['deepClone'](_0x57be65);_0x24cac6[_0x450c8d(0x216)]={'unitId':_0x1ce633,'subUnitId':_0x14e0c2,'row':_0x42edf2[_0x450c8d(0x379)],'col':_0x42edf2[_0x450c8d(0x183)]};const _0x1ee7ae=_0x2150a1[_0x450c8d(0x2d6)]();if(_0x32c22c[_0x450c8d(0x1bc)]===_0x14e0c2&&_0x32c22c[_0x450c8d(0x130)]===_0x1ce633)_0x2052bd[_0x450c8d(0x240)](_0x1ce633,_0x14e0c2,_0x4be850,_0x24cac6),_0x2052bd['addDirtyPivotTable']({'unitId':_0x1ce633,'subUnitId':_0x14e0c2,'token':_0x4be850,'type':G['Set']});else{_0x2052bd['addDirtyPivotTable']({'unitId':_0x32c22c[_0x450c8d(0x130)],'subUnitId':_0x32c22c[_0x450c8d(0x1bc)],'token':_0x4be850,'type':G['Delete']}),_0x2052bd[_0x450c8d(0x343)](_0x32c22c['unitId'],_0x32c22c[_0x450c8d(0x1bc)],_0x4be850);const _0x1e551e=_0x2052bd[_0x450c8d(0x121)](_0x4be850,_0x1ee7ae,_0x57be65[_0x450c8d(0x27f)],_0x24cac6[_0x450c8d(0x216)]),_0x5ab047=new _0xa87c2b(_0x1e551e[_0x450c8d(0x1c8)],void 0x0,_0x4be850);_0x5ab047[_0x450c8d(0x2db)](_0x24cac6['fieldsConfig']),_0x2052bd[_0x450c8d(0x20c)](_0x1ce633,_0x14e0c2,_0x4be850,_0x5ab047,_0x24cac6),_0x2052bd[_0x450c8d(0x1ba)]({'unitId':_0x1ce633,'subUnitId':_0x14e0c2,'token':_0x4be850,'type':G[_0x450c8d(0x299)],'pivotConfig':_0x24cac6});}return!0x0;}},Cs={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x25b),'handler':(_0x4085e4,_0x1825cc)=>{const _0x7753f5=_0x2cfc65,_0x9ac1b4=_0x4085e4['get'](_0x4c491b),_0x302849=_0x4085e4[_0x7753f5(0x13e)](_0x5cd9a0),_0x1786ed=_0x4085e4['get'](ve),_0x196075=_0x4085e4[_0x7753f5(0x13e)](_0x295672);if(!_0x1825cc)return!0x1;const _0x3acba6=_0x5d0da0(_0x196075);if(!_0x3acba6)return!0x1;const {unitId:_0x17497e,subUnitId:_0x191f36,workbook:_0x595a11}=_0x3acba6,_0x4e1683=_0x1786ed[_0x7753f5(0x21d)](_0x1825cc[_0x7753f5(0x2a4)]['unitId'],_0x1825cc[_0x7753f5(0x2a4)]['subUnitId'],_0x1825cc['pivotTableId']);if(!_0x4e1683)return!0x1;const _0x3775ef=_0x595a11[_0x7753f5(0x248)](_0x1825cc['targetCellInfo'][_0x7753f5(0x1bc)]);if(!_0x3775ef)throw new Error(_0x7753f5(0x246));const _0x4c3764=_0x3775ef['getRowCount'](),_0x13afdc=_0x3775ef[_0x7753f5(0x18b)]();if(_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x379)]>_0x4c3764||_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x183)]>_0x13afdc)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x956bdd=[{'id':pt['id'],'params':{'unitId':_0x17497e,'subUnitId':_0x1825cc[_0x7753f5(0x216)]['subUnitId'],'pivotTableId':_0x1825cc[_0x7753f5(0x386)],'targetCellPosition':{'row':_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x379)],'col':_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x183)]}}}],_0xec21c8=[{'id':pt['id'],'params':{'unitId':_0x17497e,'subUnitId':_0x191f36,'pivotTableId':_0x1825cc[_0x7753f5(0x386)],'targetCellPosition':{'row':_0x4e1683[_0x7753f5(0x216)][_0x7753f5(0x379)],'col':_0x4e1683[_0x7753f5(0x216)][_0x7753f5(0x183)]}}}];return _0x414dc6(_0x956bdd,_0x9ac1b4)&&_0x302849[_0x7753f5(0x380)]({'unitID':_0x17497e,'undoMutations':_0xec21c8,'redoMutations':_0x956bdd}),!0x0;}},bs={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x1aa),async 'handler'(_0x18ec8f,_0x278443){const _0x1f21c9=_0x2cfc65;var _0x4d19e2;if(!_0x278443)return!0x1;const _0x4c7257=_0x18ec8f[_0x1f21c9(0x13e)](_0x295672),_0x721c83=_0x5d0da0(_0x4c7257);if(!_0x721c83)return!0x1;const {unitId:_0x2c28b1,subUnitId:_0x24c395,workbook:_0x3daa91}=_0x721c83,{row:_0x179d6a,col:_0x213083}=_0x278443,_0x30637d=_0x18ec8f[_0x1f21c9(0x13e)](Ne),_0x36d9e6=_0x30637d[_0x1f21c9(0x333)](_0x2c28b1,_0x24c395,_0x179d6a,_0x213083);if(!_0x36d9e6)return!0x1;const _0x158242=(_0x4d19e2=_0x30637d[_0x1f21c9(0x2e8)](_0x2c28b1,_0x24c395,_0x36d9e6))==null?void 0x0:_0x4d19e2['areaInfo'];if(!_0x158242)return!0x1;const _0x54ef7c=_0x18ec8f[_0x1f21c9(0x13e)](ve)[_0x1f21c9(0x21d)](_0x2c28b1,_0x24c395,_0x36d9e6);if(!_0x54ef7c)return!0x1;const {rowInfo:_0x584531,colInfo:_0x39a5d3}=_0x158242,_0x50ebed=_0x584531[_0x179d6a][_0x1f21c9(0x2e1)],_0x19bab2=_0x39a5d3[_0x213083][_0x1f21c9(0x2e1)],_0x182686=_0x584531[_0x179d6a]['level'],_0x56b50b=_0x39a5d3[_0x213083][_0x1f21c9(0x32e)],_0x5f014d=_0x50ebed[_0x1f21c9(0x150)](_0x19bab2),_0x38d0f2=_0x54ef7c[_0x1f21c9(0x356)][_0x1f21c9(0x247)][_0x1f21c9(0x2fd)](0x0,_0x182686),_0xc7a70d=_0x54ef7c['fieldsConfig']['columnFields'][_0x1f21c9(0x2fd)](0x0,_0x56b50b),_0x403b1a=_0x38d0f2['concat'](_0xc7a70d),_0x3acfb7=_0x5f014d[_0x1f21c9(0x26e)]((_0x2efcd0,_0x35ef30)=>[_0x2efcd0,_0x403b1a[_0x35ef30]]),_0x409925=(await _0x18ec8f['get'](X)[_0x1f21c9(0x110)]({'unitId':_0x2c28b1,'subUnitId':_0x24c395,'pivotTableId':_0x36d9e6,'params':{'type':B[_0x1f21c9(0x200)],'drillDown':{'tuple':_0x3acfb7}}}))[_0x1f21c9(0x22a)][_0x1f21c9(0x2c2)];if(!_0x409925)return!0x1;const {indexes:_0x449d7b,range:_0x166fd1,sourceUnitId:_0x29333e,sourceSubUnitId:_0x3a4340,formatMap:_0xf28063}=_0x409925,{startRow:_0xb53702,endRow:_0x30257a,startColumn:_0x4d4682,endColumn:_0x3a6971}=_0x166fd1,_0x48944a=new _0x3d4b3d(),_0x58b1b4=_0x30257a-_0xb53702,_0x521503=_0x3a6971-_0x4d4682,_0x18876d={},_0x1dcb04=_0x5d0da0(_0x4c7257,{'unitId':_0x29333e,'subUnitId':_0x3a4340});if(!_0x1dcb04)return!0x1;const _0x51d9e2=fe['colStyle'],_0x46d53b=fe[_0x1f21c9(0x1c9)],_0x155b77=fe[_0x1f21c9(0x1c9)],_0x38dc82=_0x3daa91[_0x1f21c9(0x340)]()[_0x1f21c9(0x2e3)](_0x51d9e2),_0xcab1db=_0x3daa91[_0x1f21c9(0x340)]()['setValue'](_0x46d53b),_0x459b92=_0x3daa91[_0x1f21c9(0x340)]()[_0x1f21c9(0x2e3)](_0x155b77),{worksheet:_0x438af0}=_0x1dcb04;let _0x459315=0x0;const _0x41bdee=0x1;_0x449d7b[_0x1f21c9(0x112)](_0x64cf48=>{const _0x40ea36=_0x1f21c9;for(let _0x166b0e=0x0;_0x166b0e<=_0x3a6971-_0x4d4682;_0x166b0e++)_0x48944a[_0x40ea36(0x2e3)](_0x459315,_0x166b0e,_0x438af0[_0x40ea36(0x305)](_0x64cf48+_0x166fd1['startRow']+_0x41bdee,_0x166b0e));_0x459315++;});for(let _0x3428b2=_0x4d4682;_0x3428b2<=_0x3a6971;_0x3428b2++){const _0x24f548=_0x438af0[_0x1f21c9(0x305)](_0xb53702,_0x3428b2);_0x18876d[_0xb53702]||(_0x18876d[_0xb53702]={}),_0x18876d[_0xb53702][_0x3428b2]={..._0x24f548,'s':_0x38dc82};}let _0x32687a=0x1;const _0x394bd4={},_0x38cb83={};_0x48944a['forRow']((_0x12ebbd,_0x555505)=>{const _0x5bf8f7=_0x1f21c9;_0x555505[_0x5bf8f7(0x112)](_0x2f210d=>{const _0x390e1d=_0x5bf8f7,_0x1bc9ed=_0x48944a['getValue'](_0x12ebbd,_0x2f210d);if(_0x18876d[_0x32687a]||(_0x18876d[_0x32687a]={}),_0x18876d[_0x32687a][_0x2f210d]={..._0x1bc9ed,'s':_0x32687a%0x2===0x0?_0x459b92:_0xcab1db},_0xf28063[_0x2f210d]&&_0x12ebbd>=0x0){const _0x8d341b=_0x32687a%0x2===0x0;let _0x306b91=_0x8d341b?_0x38cb83[_0x2f210d]:_0x394bd4[_0x2f210d];_0x306b91||(_0x306b91=_0x3daa91[_0x390e1d(0x340)]()[_0x390e1d(0x2e3)]({..._0x8d341b?_0x155b77:_0x46d53b,'n':{'pattern':_0xf28063[_0x2f210d]}}),_0x8d341b?_0x38cb83[_0x2f210d]=_0x306b91:_0x394bd4[_0x2f210d]=_0x306b91),_0x18876d[_0x32687a][_0x2f210d]['s']=_0x306b91;}}),_0x32687a++;});const _0x157d84=new _0x3d4b3d(_0x18876d),_0x2d103a={};_0x157d84[_0x1f21c9(0x115)]((_0xdc7913,_0x45fafd,_0x5b51ac)=>{_0x2d103a[_0xdc7913]||(_0x2d103a[_0xdc7913]={}),_0x2d103a[_0xdc7913][_0x45fafd]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3c9777=[],_0x15ed24=[],_0x13b4ef=_0x3daa91[_0x1f21c9(0x243)]()[_0x1f21c9(0x1fd)],_0x480f96=_0x6dfe44({'rowCount':Math[_0x1f21c9(0x29c)](_0x3b3fd0,_0x58b1b4+0xa),'columnCount':Math[_0x1f21c9(0x29c)](_0x28ab5a,_0x521503+0x5)}),_0x595604=_0x18ec8f[_0x1f21c9(0x13e)](_0x2a61e0);_0x480f96['id']=_0x44435e(),_0x480f96['name']=_0x3daa91[_0x1f21c9(0x126)](''+_0x595604['t'](_0x1f21c9(0x339)));const _0x2a1e28={'index':_0x13b4ef,'sheet':_0x480f96,'unitId':_0x2c28b1},_0x3218e4=_0x2fb6e0(_0x18ec8f,_0x2a1e28);_0x15ed24['push']({'id':_0x49873a['id'],'params':_0x2a1e28}),_0x3c9777[_0x1f21c9(0x17f)]({'id':_0x45fd86['id'],'params':_0x3218e4}),_0x15ed24[_0x1f21c9(0x17f)]({'id':_0x2f97a2['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id'],'cellValue':_0x18876d}}),_0x3c9777[_0x1f21c9(0x33f)]({'id':_0x2f97a2['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id'],'cellValue':_0x2d103a}});const _0x514672={'startRow':0x0,'startColumn':0x0,'endRow':_0x32687a-0x1,'endColumn':_0x3a6971};_0x15ed24[_0x1f21c9(0x17f)]({'id':_0x38a016['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id'],'range':_0x514672}}),_0x3c9777[_0x1f21c9(0x33f)]({'id':_0x3ef0c1['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id']}});const _0x1bb083=_0x18ec8f['get'](_0x4c491b);return _0x414dc6(_0x15ed24,_0x1bb083)&&_0x18ec8f['get'](_0x5cd9a0)[_0x1f21c9(0x380)]({'unitID':_0x2c28b1,'undoMutations':_0x3c9777,'redoMutations':_0x15ed24}),!0x0;}},Ss={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x2e2),async 'handler'(_0x5aa7b9,_0x37c3f8){const _0x24bdb7=_0x2cfc65;if(!_0x37c3f8)return!0x1;const _0x3ed129=_0x5aa7b9['get'](_0x4c491b),_0x2146ed=_0x5aa7b9[_0x24bdb7(0x13e)](X),_0x3f6d3c=_0x5aa7b9[_0x24bdb7(0x13e)](_0x5cd9a0),{pivotTableId:_0x3970df,fieldIds:_0xd8a51f,unitId:_0x379bb6,subUnitId:_0x4bee72}=_0x37c3f8,_0x188073=(await _0x2146ed['getPivotDisplayConfig']({'unitId':_0x379bb6,'subUnitId':_0x4bee72,'pivotTableId':_0x3970df,'params':{'type':B[_0x24bdb7(0x1dc)],'removePivotField':{'fieldIds':_0xd8a51f}}}))[_0x24bdb7(0x22a)]['removePivotField'];if(!_0x188073)return!0x1;const {view:_0x4388cc,changesets:_0x3ba1d0,isEmpty:_0x26781e,pivotTableConfig:_0x50454f}=_0x188073,_0x428343=_0x50454f[_0x24bdb7(0x216)],_0x485487=new _0x1b10b0();_0x485487[_0x24bdb7(0x368)](_0x4388cc);const _0x13575c={'cellInfo':_0x428343,'view':_0x485487,'isEmpty':_0x26781e};if(!await _0x5aa7b9['get'](ie)[_0x24bdb7(0x221)][_0x24bdb7(0x36d)](be)(!0x0,_0x13575c))return!0x1;const _0xc342e9=we(_0x5aa7b9,_0x485487,_0x428343,_0x26781e),_0xf4a4d7=_e(_0x5aa7b9,_0x13575c),{redos:_0x220087,undos:_0x41d210}=me(_0x3ed129,{'pivotTableId':_0x3970df,'unitId':_0x379bb6,'subUnitId':_0x4bee72},_0x3ba1d0);return _0x414dc6([..._0xc342e9[_0x24bdb7(0x235)],..._0xf4a4d7[_0x24bdb7(0x235)],..._0x220087],_0x3ed129),_0x3f6d3c[_0x24bdb7(0x380)]({'unitID':_0x379bb6,'redoMutations':[..._0xc342e9[_0x24bdb7(0x235)],..._0xf4a4d7[_0x24bdb7(0x235)],..._0x220087],'undoMutations':[..._0xc342e9[_0x24bdb7(0x319)],..._0xf4a4d7[_0x24bdb7(0x319)],..._0x41d210]}),!0x0;}},Ps={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x1f7),async 'handler'(_0x36fab4,_0x2f198e){const _0x808c92=_0x2cfc65;if(!_0x2f198e)return!0x1;const _0x33c3d2=_0x36fab4[_0x808c92(0x13e)](_0x4c491b),_0x44b81e=_0x36fab4['get'](_0x5cd9a0),_0x4d699e=_0x36fab4[_0x808c92(0x13e)](X),{resetArea:_0x52b7b9,pivotTableId:_0x517006,unitId:_0x3a5daa,subUnitId:_0x2f2133}=_0x2f198e,_0x1eaaed=(await _0x4d699e['getPivotDisplayConfig']({'unitId':_0x3a5daa,'subUnitId':_0x2f2133,'pivotTableId':_0x517006,'params':{'type':B[_0x808c92(0x170)],'resetPivotTable':{'pivotTableId':_0x517006,'resetArea':_0x52b7b9}}}))[_0x808c92(0x22a)][_0x808c92(0x260)];if(!_0x1eaaed)return!0x1;const {changesets:_0x17999b}=_0x1eaaed,{redos:_0x463fe7,undos:_0x5c5ec1}=me(_0x33c3d2,{'pivotTableId':_0x517006,'unitId':_0x3a5daa,'subUnitId':_0x2f2133},_0x17999b);return _0x414dc6(_0x463fe7,_0x33c3d2),_0x44b81e[_0x808c92(0x380)]({'unitID':_0x3a5daa,'redoMutations':_0x463fe7,'undoMutations':_0x5c5ec1}),!0x0;}},Ts={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x29b),async 'handler'(_0x4202ab,_0x221907){const _0x46af6b=_0x2cfc65,_0x5a4e3b=_0x4202ab[_0x46af6b(0x13e)](_0x4c491b),_0x8bc3b4=_0x4202ab[_0x46af6b(0x13e)](X),_0x196db3=_0x4202ab[_0x46af6b(0x13e)](Ne),_0x1f4293=_0x4202ab[_0x46af6b(0x13e)](_0x295672),_0x35e893=_0x4202ab[_0x46af6b(0x13e)](_0x2a61e0),_0x3aeecf=_0x4202ab[_0x46af6b(0x13e)](_0x5cd9a0);if(!_0x221907)return!0x1;const {unitId:_0x1de49c,subUnitId:_0x24bafe,row:_0x547343,col:_0x248186,collapse:_0x41a0c3}=_0x221907,_0x50661b=_0x1f4293[_0x46af6b(0x15d)](_0x1de49c);if(!_0x50661b||!_0x50661b['getSheetBySheetId'](_0x24bafe))return!0x1;const _0x30e37c=_0x196db3[_0x46af6b(0x333)](_0x1de49c,_0x24bafe,_0x547343,_0x248186);if(!_0x30e37c)return!0x1;const _0x4b6678=_0x196db3['getPivotItemRenderInfoCache'](_0x1de49c,_0x24bafe,_0x30e37c);if(!_0x4b6678)return!0x1;const _0x174741=_0x1aea22(_0x547343,_0x248186),{rangesInfo:_0x35f2d3,areaInfo:_0x5ead2d,headerMap:_0x85f089}=_0x4b6678;if(!_0x35f2d3||!_0x5ead2d||!_0x85f089)return!0x1;const _0x49301a=Object[_0x46af6b(0x23b)](_0x35f2d3)[_0x46af6b(0x193)](_0x10d42d=>_0x35f2d3[_0x10d42d][_0x46af6b(0x32c)](_0x2d538c=>_0x2492ba[_0x46af6b(0x33e)](_0x2d538c,_0x174741)));let _0x18e8f5;_0x49301a===_0x46af6b(0x201)?_0x18e8f5=_0x85f089[_0x46af6b(0x2c3)][_0x248186]:_0x49301a===_0x46af6b(0x1e6)&&(_0x18e8f5=_0x85f089['colHeaderMap'][_0x547343]);const _0x100b91=_0x18e8f5==null?void 0x0:_0x18e8f5['tableFieldId'],_0x3cdd05=_0x196db3[_0x46af6b(0x1e0)](_0x1de49c,_0x24bafe,_0x547343,_0x248186);let _0x52010b=_0x3cdd05==null?void 0x0:_0x3cdd05['v'];if(_0x52010b===_0x35e893['t'](_0x46af6b(0x2a0))&&(_0x52010b=_0x133eb4[_0x46af6b(0x153)]),_0x52010b==null||!_0x30e37c||!_0x100b91)return!0x1;const _0x4168ad=await _0x8bc3b4[_0x46af6b(0x110)]({'unitId':_0x1de49c,'subUnitId':_0x24bafe,'pivotTableId':_0x30e37c,'params':{'type':B['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x100b91,'collapse':_0x41a0c3,'item':_0x52010b}}}),_0x5e7b00=_0x4168ad==null?void 0x0:_0x4168ad[_0x46af6b(0x22a)][_0x46af6b(0x237)];if(!_0x5e7b00)return!0x1;const {view:_0x5a6956,pivotTableConfig:_0x451d05,isEmpty:_0x18aa8f,changesets:_0x449442}=_0x5e7b00,_0x235da8=new _0x1b10b0();_0x235da8[_0x46af6b(0x368)](_0x5a6956);const _0x44d4a0=_0x451d05[_0x46af6b(0x216)],_0x17f6f8={'cellInfo':_0x44d4a0,'view':_0x235da8,'isEmpty':_0x18aa8f};if(!await _0x4202ab[_0x46af6b(0x13e)](ie)[_0x46af6b(0x221)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x17f6f8))return!0x1;const _0x362797=we(_0x4202ab,_0x235da8,_0x44d4a0,_0x18aa8f),_0x24571f=_e(_0x4202ab,_0x17f6f8),{redos:_0x347a8d,undos:_0x3851ee}=me(_0x5a4e3b,{'pivotTableId':_0x30e37c,'unitId':_0x1de49c,'subUnitId':_0x24bafe},_0x449442);return _0x414dc6([..._0x362797[_0x46af6b(0x235)],..._0x24571f['redos'],..._0x347a8d],_0x5a4e3b),_0x3aeecf[_0x46af6b(0x380)]({'unitID':_0x1de49c,'redoMutations':[..._0x362797[_0x46af6b(0x235)],..._0x24571f[_0x46af6b(0x235)],..._0x347a8d],'undoMutations':[..._0x362797[_0x46af6b(0x319)],..._0x24571f[_0x46af6b(0x319)],..._0x3851ee]}),!0x0;}},ys={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x4a6a3e,_0xe719d5){const _0x18227c=_0x2cfc65;if(!_0xe719d5)return!0x1;const _0x4bb2aa=_0x4a6a3e['get'](_0x4c491b),_0x2f3c58=_0x4a6a3e[_0x18227c(0x13e)](_0x5cd9a0),_0x23e287=_0x4a6a3e[_0x18227c(0x13e)](X),{pivotTableConfig:_0x196a13,pivotTableId:_0x3fa0b5,unitId:_0x405100,subUnitId:_0x12ec6d}=_0xe719d5,_0x6d3632=(await _0x23e287['getPivotDisplayConfig']({'unitId':_0x405100,'subUnitId':_0x12ec6d,'pivotTableId':_0x3fa0b5,'params':{'type':B[_0x18227c(0x371)],'setPivotTableConfig':{'pivotTableId':_0x3fa0b5,'pivotTableConfig':_0x196a13}}}))[_0x18227c(0x22a)][_0x18227c(0x37c)];if(!_0x6d3632)return!0x1;const {changesets:_0x453f20}=_0x6d3632,{redos:_0x2acb87,undos:_0x1600b5}=me(_0x4bb2aa,{'pivotTableId':_0x3fa0b5,'unitId':_0x405100,'subUnitId':_0x12ec6d},_0x453f20);return _0x414dc6(_0x2acb87,_0x4bb2aa),_0x2f3c58[_0x18227c(0x380)]({'unitID':_0x405100,'redoMutations':_0x2acb87,'undoMutations':_0x1600b5}),!0x0;}},Ms={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x29217f,_0x45762a){const _0x39d93b=_0x2cfc65;if(!_0x45762a)return!0x1;const _0x736440=_0x29217f[_0x39d93b(0x13e)](_0x4c491b),{pivotTableId:_0x4c3af2,tableFieldId:_0x466e9c,items:_0x43519d,unitId:_0x14c203,subUnitId:_0x16b7d0,isAll:_0x14ba51}=_0x45762a,_0x30f10f=_0x29217f[_0x39d93b(0x13e)](X),_0x29f2d4=_0x29217f['get'](_0x5cd9a0),_0x44a9ee=(await _0x30f10f['getPivotDisplayConfig']({'unitId':_0x14c203,'subUnitId':_0x16b7d0,'pivotTableId':_0x4c3af2,'params':{'type':B[_0x39d93b(0x318)],'setPivotFilter':{'tableFieldId':_0x466e9c,'items':_0x43519d,'isAll':_0x14ba51}}}))[_0x39d93b(0x22a)][_0x39d93b(0x335)];if(!_0x44a9ee)return!0x1;const {changesets:_0x4bb749,pivotTableConfig:_0x37f8d6,isEmpty:_0x595952,view:_0x3c5a4f}=_0x44a9ee,_0x44935a=_0x37f8d6['targetCellInfo'],_0x448666=new _0x1b10b0();_0x448666['formJSON'](_0x3c5a4f);const _0x168aa0={'cellInfo':_0x44935a,'view':_0x448666,'isEmpty':_0x595952};if(!await _0x29217f[_0x39d93b(0x13e)](ie)[_0x39d93b(0x221)][_0x39d93b(0x36d)](be)(!0x0,_0x168aa0))return!0x1;const _0x3d9f90=we(_0x29217f,_0x448666,_0x44935a,_0x595952),_0x1e1739=_e(_0x29217f,_0x168aa0),{undos:_0x164a00,redos:_0x519776}=me(_0x736440,{'pivotTableId':_0x4c3af2,'unitId':_0x14c203,'subUnitId':_0x16b7d0},_0x4bb749);return _0x414dc6([..._0x3d9f90[_0x39d93b(0x235)],..._0x1e1739[_0x39d93b(0x235)],..._0x519776],_0x736440),_0x29f2d4[_0x39d93b(0x380)]({'unitID':_0x14c203,'redoMutations':[..._0x3d9f90[_0x39d93b(0x235)],..._0x1e1739['redos'],..._0x519776],'undoMutations':[..._0x3d9f90[_0x39d93b(0x319)],..._0x1e1739['undos'],..._0x164a00]}),!0x0;}},ws={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x196),async 'handler'(_0x71112d,_0x230304){const _0xaa28de=_0x2cfc65;if(!_0x230304)return!0x1;const _0x35b1f9=_0x71112d[_0xaa28de(0x13e)](_0x4c491b),_0x5e8a4d=_0x71112d[_0xaa28de(0x13e)](_0x5cd9a0),_0x274cd4=_0x71112d[_0xaa28de(0x13e)](X),{info:_0x475b5e,tableFieldId:_0x16f841,pivotTableId:_0x2fccab,unitId:_0x36149a,subUnitId:_0x44a467}=_0x230304,_0xe1f341=(await _0x274cd4[_0xaa28de(0x110)]({'unitId':_0x36149a,'subUnitId':_0x44a467,'pivotTableId':_0x2fccab,'params':{'type':B[_0xaa28de(0x358)],'setPivotSort':{'tableFieldId':_0x16f841,'info':_0x475b5e}}}))[_0xaa28de(0x22a)][_0xaa28de(0x1d8)];if(!_0xe1f341)return!0x1;const {changesets:_0x59c50e}=_0xe1f341,{redos:_0x311b87,undos:_0x5de3b8}=me(_0x35b1f9,{'pivotTableId':_0x2fccab,'unitId':_0x36149a,'subUnitId':_0x44a467},_0x59c50e);return _0x414dc6(_0x311b87,_0x35b1f9),_0x5e8a4d['pushUndoRedo']({'unitID':_0x36149a,'redoMutations':_0x311b87,'undoMutations':_0x5de3b8}),!0x0;}},_s={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x262),async 'handler'(_0x4c31b2,_0x45b0ef){const _0xa13f89=_0x2cfc65;if(!_0x45b0ef)return!0x1;const _0x5027af=_0x4c31b2[_0xa13f89(0x13e)](_0x4c491b),{pivotTableId:_0x4bb11a,fieldId:_0x47d11f,valueFilterInfo:_0x3a49aa,unitId:_0x4b44ee,subUnitId:_0xfa5d8f}=_0x45b0ef,_0x7840d5=_0x4c31b2[_0xa13f89(0x13e)](X),_0x11d755=_0x4c31b2[_0xa13f89(0x13e)](_0x5cd9a0),_0x253a4f=(await _0x7840d5[_0xa13f89(0x110)]({'unitId':_0x4b44ee,'subUnitId':_0xfa5d8f,'pivotTableId':_0x4bb11a,'params':{'type':B[_0xa13f89(0x2ae)],'setValuePivotFilter':{'tableFieldId':_0x47d11f,'filterInfo':_0x3a49aa}}}))[_0xa13f89(0x22a)][_0xa13f89(0x22d)];if(!_0x253a4f)return!0x1;const {changesets:_0x3d20cc,pivotTableConfig:_0xa4ccdc,isEmpty:_0x486a2a,view:_0x5d8328}=_0x253a4f,_0x3a0c81=_0xa4ccdc[_0xa13f89(0x216)],_0x5807d8=new _0x1b10b0();_0x5807d8[_0xa13f89(0x368)](_0x5d8328);const _0x110bb4={'cellInfo':_0x3a0c81,'view':_0x5807d8,'isEmpty':_0x486a2a};if(!await _0x4c31b2[_0xa13f89(0x13e)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x110bb4))return!0x1;const _0x27d63d=we(_0x4c31b2,_0x5807d8,_0x3a0c81,_0x486a2a),_0x15d387=_e(_0x4c31b2,_0x110bb4),{undos:_0x14f18e,redos:_0x58a3d7}=me(_0x5027af,{'pivotTableId':_0x4bb11a,'unitId':_0x4b44ee,'subUnitId':_0xfa5d8f},_0x3d20cc);return _0x414dc6([..._0x27d63d[_0xa13f89(0x235)],..._0x15d387[_0xa13f89(0x235)],..._0x58a3d7],_0x5027af),_0x11d755[_0xa13f89(0x380)]({'unitID':_0x4b44ee,'redoMutations':[..._0x27d63d['redos'],..._0x15d387[_0xa13f89(0x235)],..._0x58a3d7],'undoMutations':[..._0x27d63d[_0xa13f89(0x319)],..._0x15d387['undos'],..._0x14f18e]}),!0x0;}},to={'id':'sheet.mutation.update-date-group','type':_0x36216a[_0x2cfc65(0x11f)],'handler':(_0x59fdb2,_0x2139aa)=>{const _0x2a70c3=_0x2cfc65;if(!_0x2139aa)return!0x1;if(!!_0x59fdb2['get'](_0x931275)[_0x2a70c3(0x303)](Y))return!0x0;const {unitId:_0x5b929c,subUnitId:_0x48bcb3,pivotTableId:_0x9be6c8,tableFieldId:_0x47c7e9,dateType:_0x339d33}=_0x2139aa,_0x52890e=_0x59fdb2[_0x2a70c3(0x13e)]($),_0x1d6519=_0x52890e['getPivotTableInstance'](_0x9be6c8);if(!_0x1d6519)return!0x1;const _0x282a76=_0x1d6519['getDataFieldByTableId'](_0x47c7e9);if(!_0x282a76)return!0x1;const _0xc99872=_0x282a76[_0x2a70c3(0x1df)](),_0x471657=_0x1d6519[_0x2a70c3(0x2a5)](_0xc99872),_0x5b8599=(_0x471657==null?void 0x0:_0x471657[_0x2a70c3(0x27a)]())+'\x20'+Qo(_0x59fdb2,_0x339d33);_0x52890e[_0x2a70c3(0x161)](_0x5b929c,_0x9be6c8)[_0x2a70c3(0x16b)](_0x282a76['id'],_0x5b8599);const _0x501488=_0x1d6519[_0x2a70c3(0x2c6)](_0x47c7e9);if(!_0x501488)return!0x1;_0x1d6519[_0x2a70c3(0x38a)](_0x501488[_0x2a70c3(0x159)](),_0x5b8599),_0x282a76[_0x2a70c3(0x210)](_0x339d33);const _0x2bd3a0=_0x52890e[_0x2a70c3(0x21d)](_0x5b929c,_0x48bcb3,_0x9be6c8);return _0x52890e[_0x2a70c3(0x1ba)]({'unitId':_0x5b929c,'subUnitId':_0x48bcb3,'token':_0x9be6c8,'type':G[_0x2a70c3(0x2d8)],'pivotConfig':_0x2bd3a0}),!0x0;}},Fs={'id':_0x2cfc65(0x23e),'type':_0x36216a[_0x2cfc65(0x334)],'handler':(_0x2aa7fa,_0x4dad35)=>{const _0x5bb955=_0x2cfc65;if(!_0x4dad35)return!0x1;const _0x4562f2=_0x2aa7fa[_0x5bb955(0x13e)](_0x5cd9a0),{unitId:_0x8ea79c,subUnitId:_0x2fcd27,pivotTableId:_0x43a735,tableFieldId:_0x3b5b12}=_0x4dad35,_0xb55af8=[],_0x555873=[],_0x109dea=_0x2aa7fa['get'](ve),_0x32767e=_0x109dea['getCollection'](_0x8ea79c,_0x43a735),_0x30e030=_0x109dea['getPivotTableConfig'](_0x8ea79c,_0x2fcd27,_0x43a735);if(!(_0x30e030!=null&&_0x30e030['fieldsConfig'][_0x5bb955(0x331)]))return!0x1;const _0x37cb2e=Object[_0x5bb955(0x282)](_0x30e030[_0x5bb955(0x356)][_0x5bb955(0x331)])[_0x5bb955(0x193)](_0x76196=>_0x76196['id']===_0x3b5b12);if(!_0x37cb2e)return!0x1;const _0xccab09=_0x37cb2e['dataFieldId'];if(!(_0x32767e!=null&&_0x32767e[_0x5bb955(0x350)]))return!0x1;const _0x4710d0=Object[_0x5bb955(0x282)](_0x32767e==null?void 0x0:_0x32767e[_0x5bb955(0x350)])[_0x5bb955(0x193)](_0x29bfe9=>_0x29bfe9['id']===_0xccab09);if(!_0x4710d0)return!0x1;_0x3eae7d(_0x4710d0)&&_0xb55af8[_0x5bb955(0x17f)]({'id':to['id'],'params':{..._0x4dad35,'dateType':_0x4710d0[_0x5bb955(0x266)]}}),_0x555873[_0x5bb955(0x17f)]({'id':to['id'],'params':{..._0x4dad35}});const _0x4fbdfa=_0x2aa7fa[_0x5bb955(0x13e)](_0x4c491b);return _0x414dc6(_0x555873,_0x4fbdfa)&&_0x4562f2['pushUndoRedo']({'unitID':_0x8ea79c,'undoMutations':_0xb55af8,'redoMutations':_0x555873}),!0x0;}},Rs={'type':_0x36216a['COMMAND'],'id':_0x2cfc65(0x383),async 'handler'(_0x3aba59,_0x560418){const _0x364e84=_0x2cfc65;if(!_0x560418)return!0x1;const _0x4e29eb=_0x3aba59[_0x364e84(0x13e)](_0x4c491b),_0x3cb6a0=_0x3aba59[_0x364e84(0x13e)](_0x5cd9a0),_0x55d4ec=_0x3aba59[_0x364e84(0x13e)](X),{displayName:_0x8fd691,subtotalType:_0x4b1fed,format:_0x582253,tableFieldId:_0x5b86ed,pivotTableId:_0x28dd80,unitId:_0x97b832,subUnitId:_0x46401c}=_0x560418,_0x375c0d=(await _0x55d4ec[_0x364e84(0x110)]({'unitId':_0x97b832,'subUnitId':_0x46401c,'pivotTableId':_0x28dd80,'params':{'type':B[_0x364e84(0x382)],'setPivotSetting':{'tableFieldId':_0x5b86ed,'displayName':_0x8fd691,'subtotalType':_0x4b1fed,'format':_0x582253}}}))[_0x364e84(0x22a)]['setPivotSetting'];if(!_0x375c0d)return!0x1;const {changesets:_0x5d1b88,view:_0x1299f2,pivotTableConfig:_0x28631d,isEmpty:_0x5ea8d1}=_0x375c0d,_0x28518d=_0x28631d[_0x364e84(0x216)],_0x66c504=new _0x1b10b0();_0x66c504[_0x364e84(0x368)](_0x1299f2);const _0x7f1a48={'cellInfo':_0x28518d,'view':_0x66c504,'isEmpty':_0x5ea8d1};if(!await _0x3aba59[_0x364e84(0x13e)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x7f1a48))return!0x1;const _0x58d708=we(_0x3aba59,_0x66c504,_0x28518d,_0x5ea8d1),_0x690661=_e(_0x3aba59,_0x7f1a48),{undos:_0x3659d6,redos:_0x4c7d21}=me(_0x4e29eb,{'pivotTableId':_0x28dd80,'unitId':_0x97b832,'subUnitId':_0x46401c},_0x5d1b88);return _0x414dc6([..._0x58d708['redos'],..._0x690661[_0x364e84(0x235)],..._0x4c7d21],_0x4e29eb),_0x3cb6a0[_0x364e84(0x380)]({'unitID':_0x97b832,'redoMutations':[..._0x58d708[_0x364e84(0x235)],..._0x690661[_0x364e84(0x235)],..._0x4c7d21],'undoMutations':[..._0x58d708['undos'],..._0x690661[_0x364e84(0x319)],..._0x3659d6]}),!0x0;}},oo={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x34f),'handler'(_0x181671,_0x374749){const _0x517c21=_0x2cfc65;if(!_0x374749)return!0x1;if(!!_0x181671['get'](_0x931275)[_0x517c21(0x303)](Y))return!0x0;const _0x5641f2=_0x181671[_0x517c21(0x13e)]($),{pivotTableId:_0x3af75,deleteIds:_0x2ef138,collectionJSON:_0x2692e6,dataRangeInfo:_0x306480,unitId:_0x348020,subUnitId:_0x1f2271}=_0x374749,_0x5c2799=_0x5641f2[_0x517c21(0x2bc)](_0x3af75),_0x31f18b=_0x5641f2[_0x517c21(0x21d)](_0x348020,_0x1f2271,_0x3af75);if(!_0x5c2799||!_0x31f18b)return!0x1;const {collection:_0x31769b,updateDataFieldList:_0x4a27e4}=_0x5641f2[_0x517c21(0x121)](_0x3af75,_0x2692e6,_0x306480,_0x31f18b['targetCellInfo']);_0x5641f2[_0x517c21(0x180)](_0x31769b,_0x4a27e4,_0x306480),_0x5c2799['updateDataFieldsCollection'](_0x31769b);for(const _0x1e917f of _0x2ef138)_0x5641f2['removeDataField'](_0x306480[_0x517c21(0x130)],_0x1e917f);const _0x1dbc1=_0x5641f2[_0x517c21(0x21d)](_0x348020,_0x1f2271,_0x3af75);return _0x1dbc1['sourceRangeInfo']=JSON[_0x517c21(0x2da)](JSON[_0x517c21(0x205)](_0x306480)),_0x5641f2[_0x517c21(0x1ba)]({'unitId':_0x348020,'subUnitId':_0x1f2271,'token':_0x3af75,'type':G[_0x517c21(0x2d8)]}),!0x0;}},Ds={'type':_0x36216a['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x2f7e82,_0x5a28f9){const _0x540a6d=_0x2cfc65,_0x136af7=_0x2f7e82['get'](_0x4c491b),_0x2c6660=_0x2f7e82['get'](X),_0x544554=_0x2f7e82['get'](_0x5cd9a0);if(!_0x5a28f9)return!0x1;const {token:_0x5eff9d,dataRangeInfo:_0x42d543,unitId:_0xcd6bf9,subUnitId:_0x1daad7}=_0x5a28f9,_0xb69992=[],_0x2d1feb=[],_0x2b7919=(await _0x2c6660[_0x540a6d(0x110)]({'unitId':_0xcd6bf9,'subUnitId':_0x1daad7,'pivotTableId':_0x5eff9d,'params':{'type':B[_0x540a6d(0x14e)],'updatePivotSource':{'dataRangeInfo':_0x42d543,'unitId':_0xcd6bf9,'subUnitId':_0x1daad7}}}))['result'][_0x540a6d(0x271)];if(!_0x2b7919)return!0x1;const {changesets:_0x25e6a4,deleteIds:_0x2f5b21,collectionConfig:_0x5da974,oldCollectionConfig:_0x58a603,view:_0x4863e2,isEmpty:_0x1fb921,pivotTableConfig:_0x577c27}=_0x2b7919;_0x2d1feb[_0x540a6d(0x17f)]({'id':oo['id'],'params':{'pivotTableId':_0x5eff9d,'deleteIds':_0x2f5b21,'collectionJSON':_0x5da974,'dataRangeInfo':_0x42d543,'unitId':_0xcd6bf9,'subUnitId':_0x1daad7}}),_0xb69992['unshift']({'id':oo['id'],'params':{'pivotTableId':_0x5eff9d,'deleteIds':[],'collectionJSON':_0x58a603,'dataRangeInfo':_0x577c27['sourceRangeInfo'],'unitId':_0xcd6bf9,'subUnitId':_0x1daad7}});const _0x341237=_0x577c27[_0x540a6d(0x216)],_0x28dfff=new _0x1b10b0();_0x28dfff['formJSON'](_0x4863e2);const _0x33066b={'cellInfo':_0x341237,'view':_0x28dfff,'isEmpty':_0x1fb921};if(!await _0x2f7e82['get'](ie)[_0x540a6d(0x221)][_0x540a6d(0x36d)](be)(!0x0,_0x33066b))return!0x1;const _0x48121b=we(_0x2f7e82,_0x28dfff,_0x341237,_0x1fb921),_0xa01f2a=_e(_0x2f7e82,_0x33066b),{undos:_0x36df08,redos:_0x49a365}=me(_0x136af7,{'pivotTableId':_0x5eff9d,'unitId':_0xcd6bf9,'subUnitId':_0x1daad7},_0x25e6a4);return _0x414dc6([..._0x48121b[_0x540a6d(0x235)],..._0xa01f2a['redos'],..._0x2d1feb,..._0x36df08],_0x136af7),_0x544554[_0x540a6d(0x380)]({'unitID':_0xcd6bf9,'redoMutations':[..._0x48121b[_0x540a6d(0x235)],..._0xa01f2a['redos'],..._0x2d1feb,..._0x36df08],'undoMutations':[..._0x48121b[_0x540a6d(0x319)],..._0xa01f2a[_0x540a6d(0x319)],..._0xb69992,..._0x49a365]}),!0x0;}},Ns={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x53e4c2,_0x4019c3){const _0x3629e7=_0x2cfc65;if(!_0x4019c3)return!0x1;const _0x4e43ac=_0x53e4c2[_0x3629e7(0x13e)](_0x4c491b),_0x24ab53=_0x53e4c2[_0x3629e7(0x13e)](X),_0x1663e4=_0x53e4c2['get'](_0x295672),_0x1a0534=_0x53e4c2[_0x3629e7(0x13e)](_0x5cd9a0),{pivotTableId:_0x40803f,position:_0x2913ca,index:_0x43fe9b}=_0x4019c3,_0x5a6e3c=_0x5d0da0(_0x1663e4);if(!_0x5a6e3c)return!0x1;const {unitId:_0xe102c9,subUnitId:_0x171312}=_0x5a6e3c,_0xd895fe=(await _0x24ab53[_0x3629e7(0x110)]({'unitId':_0xe102c9,'subUnitId':_0x171312,'pivotTableId':_0x40803f,'params':{'type':B[_0x3629e7(0x250)],'updateValuePosition':{'position':_0x2913ca,'index':_0x43fe9b}}}))[_0x3629e7(0x22a)][_0x3629e7(0x1a1)];if(!_0xd895fe)return!0x1;const {changesets:_0x428c45,view:_0x403956,isEmpty:_0x48f128,pivotTableConfig:_0x56c49d}=_0xd895fe,_0x1cc9e4=_0x56c49d[_0x3629e7(0x216)],_0x31001c=new _0x1b10b0();_0x31001c[_0x3629e7(0x368)](_0x403956);const _0x4b8079=_0x53e4c2[_0x3629e7(0x13e)](ie),_0x5d324e={'cellInfo':_0x1cc9e4,'view':_0x31001c,'isEmpty':_0x48f128};if(!await _0x4b8079[_0x3629e7(0x221)][_0x3629e7(0x36d)](be)(!0x0,_0x5d324e))return!0x1;const _0x3920e2=we(_0x53e4c2,_0x31001c,_0x1cc9e4,_0x48f128),_0x3be82f=_e(_0x53e4c2,_0x5d324e),{undos:_0x284881,redos:_0x30c05f}=me(_0x4e43ac,{'pivotTableId':_0x40803f,'unitId':_0xe102c9,'subUnitId':_0x171312},_0x428c45);return _0x414dc6([..._0x3920e2[_0x3629e7(0x235)],..._0x3be82f[_0x3629e7(0x235)],..._0x30c05f],_0x4e43ac),_0x1a0534[_0x3629e7(0x380)]({'unitID':_0xe102c9,'redoMutations':[..._0x3920e2[_0x3629e7(0x235)],..._0x3be82f['redos'],..._0x30c05f],'undoMutations':[..._0x3920e2[_0x3629e7(0x319)],..._0x3be82f[_0x3629e7(0x319)],..._0x284881]}),!0x0;}},Ut={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x2c5),'handler'(){return!0x0;}};var Us=Object[_0x2cfc65(0x283)],Vs=(_0x228484,_0xdc90c8,_0x26bd7f,_0x2de73d)=>{const _0x8855ab=_0x2cfc65;for(var _0x1a14da=_0x2de73d>0x1?void 0x0:_0x2de73d?Us(_0xdc90c8,_0x26bd7f):_0xdc90c8,_0x1a5b0e=_0x228484[_0x8855ab(0x1fd)]-0x1,_0x6a2e3;_0x1a5b0e>=0x0;_0x1a5b0e--)(_0x6a2e3=_0x228484[_0x1a5b0e])&&(_0x1a14da=_0x6a2e3(_0x1a14da)||_0x1a14da);return _0x1a14da;},at=(_0x59091c,_0x17d39e)=>(_0x1466ae,_0x18f9d5)=>_0x17d39e(_0x1466ae,_0x18f9d5,_0x59091c);const Os=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x281c8d,_0x27f1dd,_0x1c5a36)=>{const _0x5a773b=_0x2cfc65,_0x5d7363=_0x281c8d[_0x5a773b(0x116)];_0x281c8d[_0x5a773b(0x2f6)](_0xfad075=>{const _0x18e85c=_0x5a773b,_0x2e5e0e=_0xfad075['getId'](),_0x4583f5=_0xfad075[_0x18e85c(0x2e5)](),_0x2d691a=_0xfad075['getSourceName'](),_0x20ca5b=_0xfad075['getDisplayName']();_0x27f1dd[_0x4583f5]&&_0x27f1dd[_0x4583f5]===_0x20ca5b&&_0x2d691a===_0x20ca5b&&(_0x281c8d[_0x18e85c(0x38a)](_0x2e5e0e,_0x5d7363[_0x18e85c(0x2ab)](_0x4583f5)),_0xfad075[_0x18e85c(0x28d)](_0x5d7363[_0x18e85c(0x2ab)](_0x4583f5)));}),_0x281c8d['iterateFieldByArea'](_0xeefe5e[_0x5a773b(0x346)],_0x5d702b=>{const _0x4249ef=_0x5a773b,_0x2d0b1c=_0x5d702b[_0x4249ef(0x159)](),_0x5ee186=_0x5d702b[_0x4249ef(0x2e5)](),_0x1aa1f1=_0x5d702b['getSourceName'](),_0x3ff027=_0x5d702b[_0x4249ef(0x2ab)](),_0x1c5b5b=_0x5d702b[_0x4249ef(0x296)](),_0xb40bc=_0x1c5a36(_0x1aa1f1,_0x1c5b5b);_0x27f1dd[_0x5ee186]&&_0x27f1dd[_0x5ee186]===_0x1aa1f1&&_0xb40bc===_0x3ff027&&(_0x281c8d['renameField'](_0x2d0b1c,_0x1c5a36(_0x5d7363[_0x4249ef(0x2ab)](_0x5ee186),_0x1c5b5b)),_0x5d702b[_0x4249ef(0x28d)](_0x5d7363[_0x4249ef(0x2ab)](_0x5ee186)));});},xs=(_0x2a767a,_0x56a4ce,_0x32f46b)=>{const _0x21e07c=_0x2cfc65;var _0x1b4b12,_0x1b8526;const {arrayFormulaCellData:_0x468fb7,unitData:_0xc0797b}=_0x56a4ce,{unitId:_0x41eb8d,subUnitId:_0x8793e6}=_0x32f46b,_0x1d8869=_0x32f46b[_0x21e07c(0x16d)],{startColumn:_0x209c6e,endColumn:_0x268ff7}=_0x1d8869,_0x4b3b3b=(_0x1b4b12=_0x468fb7==null?void 0x0:_0x468fb7[_0x41eb8d])==null?void 0x0:_0x1b4b12[_0x8793e6],_0x1ec1a7=(_0x1b8526=_0xc0797b==null?void 0x0:_0xc0797b[_0x41eb8d])==null?void 0x0:_0x1b8526[_0x8793e6],_0x325be9=new Set(),_0xc244b3=_0x268ff7-_0x209c6e+0x1,{dirtyRanges:_0x8dce58}=_0x2a767a;if(_0x8dce58)for(const {range:_0x535d3a,sheetId:_0x271070,unitId:_0x4db993}of _0x8dce58){if(_0x271070!==_0x8793e6||_0x41eb8d!==_0x4db993)continue;const _0x382d04=_0x2492ba[_0x21e07c(0x265)](_0x535d3a,_0x1d8869);if(_0x382d04){const {startColumn:_0x2ce861,endColumn:_0x16f839}=_0x382d04;for(let _0x1aa50=_0x2ce861;_0x1aa50<=_0x16f839;_0x1aa50++)_0x325be9[_0x21e07c(0x123)](_0x1aa50);}}if(_0x325be9[_0x21e07c(0x1ed)]===_0xc244b3||_0x325be9[_0x21e07c(0x1ed)]===_0xc244b3)return Array['from'](_0x325be9);if(_0x1ec1a7){const _0x390074=_0x1ec1a7[_0x21e07c(0x348)](),_0x4d124d=Object['keys'](_0x390074);for(const _0x34e064 of _0x4d124d){const _0x380d16=Number(_0x34e064),_0x419b97=_0x390074[_0x380d16];if(_0x325be9['size']===_0xc244b3)break;for(const _0x3000c1 in _0x419b97){const _0x1112c6=Number(_0x3000c1);_0x1112c6<_0x209c6e||_0x1112c6>_0x268ff7||_0x325be9[_0x21e07c(0x123)](_0x1112c6);}}}if(_0x4b3b3b){const _0x451182=_0x4b3b3b[_0x21e07c(0x348)](),_0x52f237=Object[_0x21e07c(0x23b)](_0x451182);for(const _0x689a48 of _0x52f237){const _0x37bd65=Number(_0x689a48),_0x36324b=_0x451182[_0x37bd65];if(_0x325be9[_0x21e07c(0x1ed)]===_0xc244b3)break;for(const _0x4fd1ad in _0x36324b){const _0x5e250c=Number(_0x4fd1ad);_0x5e250c<_0x209c6e||_0x5e250c>_0x268ff7||_0x325be9[_0x21e07c(0x123)](_0x5e250c);}}}return Array[_0x21e07c(0x25a)](_0x325be9);},As=_0x3478a7=>{const _0x54c8ca=_0x2cfc65,_0x3c195e=new Set(),_0x26b48e=[];for(const _0xe062e of _0x3478a7){const _0x51db00=_0xe062e[_0x54c8ca(0x21c)]+','+_0xe062e[_0x54c8ca(0x389)]+','+_0xe062e[_0x54c8ca(0x256)]+','+_0xe062e[_0x54c8ca(0x354)];_0x3c195e[_0x54c8ca(0x19c)](_0x51db00)||(_0x3c195e[_0x54c8ca(0x123)](_0x51db00),_0x26b48e[_0x54c8ca(0x17f)](_0xe062e));}return _0x26b48e;};let ct=class extends _0x9a7a73{constructor(_0x4f0259,_0x4974cc,_0x6114c2,_0x1f8e8f,_0x252617){const _0x39650a=_0x2cfc65;super(),U(this,_0x39650a(0x122),new _0x329c39(!0x0)),U(this,'_globalComputedStartHelpFunc',_0x5b7de8=>{this['_globalSubject']['next'](!0x1);}),U(this,_0x39650a(0x12b),_0x5ba8ba=>{const _0x2e233e=_0x39650a;this[_0x2e233e(0x122)][_0x2e233e(0x2c4)](!0x0);}),(this[_0x39650a(0x2ad)]=_0x4f0259,this[_0x39650a(0x13d)]=_0x4974cc,this['_commandService']=_0x6114c2,this['_globalComputingSrv']=_0x1f8e8f,this[_0x39650a(0x13c)]=_0x252617,this[_0x39650a(0x273)](),this['_initPivotDataGetListener']());}[_0x2cfc65(0x273)](){const _0x25d110=_0x2cfc65;this['_subjectCollectionChange'](),this[_0x25d110(0x2a3)](),this[_0x25d110(0x1de)](),this['_subjectFieldsCollectionChange']();}[_0x2cfc65(0x366)](){const _0x49fa45=_0x2cfc65;this[_0x49fa45(0x1bb)][_0x49fa45(0x146)](this[_0x49fa45(0x122)]),_0xa87c2b[_0x49fa45(0x21b)](_0x5cba55[_0x49fa45(0x365)],this['_globalComputedStartHelpFunc']),_0xa87c2b[_0x49fa45(0x21b)](_0x5cba55[_0x49fa45(0x388)],this[_0x49fa45(0x12b)]);}[_0x2cfc65(0x23c)](){const _0x10cd09=_0x2cfc65;this[_0x10cd09(0x134)](this[_0x10cd09(0x1a6)][_0x10cd09(0x1f2)](_0x238851=>{const _0x3384ff=_0x10cd09;_0x238851['id']===_0x2bf82a['id']&&this['_sheetsPivotDataSourceModel'][_0x3384ff(0x2cf)](_0x238851[_0x3384ff(0x1c4)]);})),this[_0x10cd09(0x134)](this[_0x10cd09(0x1a6)][_0x10cd09(0x1f2)](_0x2ff4a3=>{const _0x5d77b1=_0x10cd09;if(_0x2ff4a3['id']!==ro['id'])return;const _0x286301=_0x2ff4a3[_0x5d77b1(0x1c4)],{unitId:_0x16df08,subUnitId:_0x34fb29,pivotTableId:_0x505477}=_0x286301,_0x2af3a0=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x38b)],_0x29452b={};switch(_0x2af3a0){case B[_0x5d77b1(0x38d)]:{const _0x39305c=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x211)];if(!_0x39305c)return;const {row:_0x8aa1b8,col:_0x311b06,cellData:_0x41bd18,pivotItemRenderInfoCache:_0x140240,tableFieldId:_0x5b320e}=_0x39305c,_0x522782=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x286301['pivotTableId']);if(!_0x522782||!_0x140240)return;if(_0x5b320e){const _0x196bef=_0x522782[_0x5d77b1(0x25c)](_0x5b320e);if(!_0x196bef)return;_0x29452b[_0x5d77b1(0x211)]={..._0x522782['getDataFieldItemInfo'](_0x196bef),'tableFieldId':_0x5b320e,'pivotTableId':_0x286301['pivotTableId'],'filterInfo':_0x522782['getFilterInfo'](_0x5b320e),'sortInfo':_0x522782[_0x5d77b1(0x33d)](_0x5b320e),'format':_0x522782[_0x5d77b1(0x1ec)](_0x5b320e)};}else{const _0x5e3afe=Bi(_0x8aa1b8,_0x311b06,_0x41bd18,_0x522782,_0x140240),_0x3523c2=_0x5e3afe==null?void 0x0:_0x5e3afe[_0x5d77b1(0x2bd)];if(!_0x3523c2)return;const _0x4f92e5=_0x522782['getDataFieldByTableId'](_0x3523c2);if(!_0x4f92e5)return;_0x29452b[_0x5d77b1(0x211)]={..._0x522782[_0x5d77b1(0x2d3)](_0x4f92e5),'tableFieldId':_0x3523c2,'pivotTableId':_0x286301[_0x5d77b1(0x386)],'filterInfo':_0x522782['getFilterInfo'](_0x3523c2),'sortInfo':_0x522782[_0x5d77b1(0x33d)](_0x3523c2),'format':_0x522782[_0x5d77b1(0x1ec)](_0x3523c2)};}}break;case B['Panel']:{const _0x43290b=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x15b)];if(!_0x43290b)return;const {pivotTableId:_0x2e9668}=_0x43290b,_0x161b1e=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x2e9668);if(!_0x161b1e)return;const _0x41addd=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x2e9668),_0x1ef488=Li(_0x161b1e,_0x2e9668,_0x41addd);_0x29452b[_0x5d77b1(0x15b)]=_0x1ef488;}break;case B[_0x5d77b1(0x1af)]:{const _0x269e79=this[_0x5d77b1(0x2ad)]['getPivotTableInstance'](_0x505477),_0x5528b4=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x212)](_0x16df08),_0x36340=_0x5528b4[_0x5d77b1(0x161)](_0x505477);let _0x26e4ff=null;const _0x2ed4fc=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477),_0x1549ff=_0x286301[_0x5d77b1(0x1c4)]['addPivotField'];if(!_0x269e79||!_0x2ed4fc||!_0x1549ff)return!0x1;const {dataFieldId:_0x2bd190,fieldArea:_0x415207,index:_0x124c05}=_0x1549ff;_0x269e79[_0x5d77b1(0x322)]();const _0x501ec9=_0x269e79['addFieldWithSourceId'](_0x2bd190,_0x415207,_0x124c05);if(_0x501ec9&&_0x415207===_0xeefe5e[_0x5d77b1(0x346)]){const _0x34e878=_0x501ec9['getId'](),_0xa9cb49=_0x269e79[_0x5d77b1(0x25c)](_0x34e878);if(_0xa9cb49){const _0x134b21=_0xa9cb49==null?void 0x0:_0xa9cb49[_0x5d77b1(0x141)]();_0x269e79[_0x5d77b1(0x157)](_0x501ec9['getId'](),_0x134b21===_0x11da01[_0x5d77b1(0x16f)]?_0x383156[_0x5d77b1(0x22c)]:_0x383156[_0x5d77b1(0x251)]);}const _0x58d4a5=_0x269e79['getValueIndex'](),_0x34fa08=_0x269e79[_0x5d77b1(0x254)](),_0xce0036=_0x269e79[_0x5d77b1(0x29d)](_0xeefe5e[_0x5d77b1(0x346)]);if(_0x58d4a5===-0x1&&_0xce0036>0x1){const _0x51e6c2=_0x34fa08===_0x497671['None']?_0x497671[_0x5d77b1(0x19b)]:_0x34fa08,_0x4c32e9=_0x51e6c2===_0x497671[_0x5d77b1(0x2bf)]?_0xeefe5e[_0x5d77b1(0x2bf)]:_0xeefe5e[_0x5d77b1(0x19b)];_0x269e79[_0x5d77b1(0x1a1)](_0x51e6c2,_0x269e79[_0x5d77b1(0x29d)](_0x4c32e9));}}else{if(_0x501ec9&&(_0x415207===_0xeefe5e[_0x5d77b1(0x2bf)]||_0x415207===_0xeefe5e['Column'])){const _0x46ba4d=_0x501ec9['getId'](),_0x23042f=_0x269e79[_0x5d77b1(0x25c)](_0x46ba4d);if(_0x23042f&&(_0x23042f==null?void 0x0:_0x23042f[_0x5d77b1(0x141)]())===_0x11da01[_0x5d77b1(0x2e7)]){const _0x3ca9da=_0x23042f[_0x5d77b1(0x37b)]();if(_0x3ca9da&&_0x269e79[_0x5d77b1(0x1f0)](_0x501ec9[_0x5d77b1(0x159)](),_0x3ca9da),!_0x36340[_0x5d77b1(0x2fb)]()[_0x5d77b1(0x32c)](_0x1e17ef=>{const _0x2eeb0b=_0x5d77b1,_0x27ea72=_0x36340[_0x2eeb0b(0x11c)](_0x1e17ef);return _0x627b16(_0x27ea72)?_0x27ea72[_0x2eeb0b(0x1da)]()[_0x2eeb0b(0x31e)]===_0x2bd190:!0x1;})){const _0x3f15a5=_0x5528b4[_0x5d77b1(0x1d0)](),_0x3d37c0=qi(_0x23042f[_0x5d77b1(0x202)],_0x23042f[_0x5d77b1(0x16e)]),_0x7a45d=_0x23042f[_0x5d77b1(0x27a)]()+_0x5d77b1(0x1e2)+Qo(this[_0x5d77b1(0x13c)],_0x3d37c0),_0x25e36e=new _0x21a19e(_0x3f15a5,_0x7a45d,_0x552661(0x3),_0x23042f['getId'](),_0x3d37c0);_0x5528b4[_0x5d77b1(0x2b8)](_0x25e36e),_0x36340['addField'](_0x3f15a5,_0x7a45d),_0x269e79[_0x5d77b1(0x2f8)](_0x3f15a5,_0x415207,(_0x124c05!=null?_0x124c05:0x0)+0x1),_0x26e4ff=_0x25e36e;}}}}const _0x5bd7bd=_0x269e79[_0x5d77b1(0x313)](),_0x52afb7=_0x269e79[_0x5d77b1(0x2b1)]()['toJSON']();let _0x58f029;if(_0x26e4ff){_0x58f029=_0x26e4ff[_0x5d77b1(0x2d6)]();const _0x48197f=_0x26e4ff[_0x5d77b1(0x159)]();_0x36340[_0x5d77b1(0x349)](_0x48197f);let _0x1a27e4=!0x0;for(const _0x3b8db2 in _0x5528b4[_0x5d77b1(0x337)])if(_0x5528b4[_0x5d77b1(0x337)][_0x3b8db2][_0x5d77b1(0x2fb)]()['includes'](_0x48197f)){_0x1a27e4=!0x1;break;}_0x1a27e4&&_0x5528b4['deleteDataField'](_0x48197f);}const _0x3be0ce=_0x269e79['endCollectChangeset']();_0x29452b['addPivotField']={'view':_0x52afb7,'changesets':_0x3be0ce,'isEmpty':_0x5bd7bd,'pivotTableConfig':_0x2ed4fc,'shouldBeAddedGroupJSON':_0x58f029};}break;case B[_0x5d77b1(0x119)]:{const _0x1169e3=_0x286301['params'][_0x5d77b1(0x20c)];if(!_0x1169e3)return;const _0x339baa=_0x1169e3['sourceRangeInfo'],_0x2c426a=_0x1169e3[_0x5d77b1(0x386)],{collection:_0x4d1536}=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x225)]({'unitId':_0x339baa[_0x5d77b1(0x130)],'sheetName':_0x339baa[_0x5d77b1(0x364)],'subUnitId':_0x339baa['subUnitId'],'range':_0x339baa['range']}),_0x5df805=new _0xa87c2b(_0x4d1536,void 0x0,_0x2c426a),_0x56baff=_0x5df805[_0x5d77b1(0x2b1)](),_0x2329c2=_0x5df805[_0x5d77b1(0x2d6)](),_0x21ad8c=_0x4d1536['toJSON']();_0x29452b['addPivotTable']={'view':_0x56baff,'fieldsConfig':_0x2329c2,'collectionConfig':_0x21ad8c,'isEmpty':_0x5df805['isEmpty']()};}break;case B['MovePivotField']:{const _0x260a60=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x197)];if(!_0x260a60)return;const {fieldId:_0x57fd43,area:_0xeaa555,index:_0x815313}=_0x260a60,_0x10495=this[_0x5d77b1(0x2ad)]['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x10495)return;const _0x1622b2=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477);if(!_0x1622b2)return;_0x1622b2[_0x5d77b1(0x322)]();const {area:_0xdabb2e,index:_0x2dcbf9}=_0x1622b2['getFieldPositionInfoById'](_0x57fd43);if(_0x1622b2[_0x5d77b1(0x191)](_0x57fd43,_0xeaa555,_0x815313),_0xeaa555===_0xeefe5e['Value']&&_0x1622b2[_0x5d77b1(0x2c6)](_0x57fd43)['getSubtotal']()===void 0x0){const _0x400cb9=_0x1622b2[_0x5d77b1(0x2c6)](_0x57fd43);if(_0x400cb9&&_0x400cb9['getSubtotal']()===void 0x0){const _0x1fc631=_0x1622b2[_0x5d77b1(0x25c)](_0x57fd43);if(_0x1fc631){const _0x53d657=_0x1fc631==null?void 0x0:_0x1fc631[_0x5d77b1(0x141)]();_0x1622b2[_0x5d77b1(0x157)](_0x57fd43,_0x53d657===_0x11da01[_0x5d77b1(0x16f)]?_0x383156['sum']:_0x383156[_0x5d77b1(0x251)]);}}}const _0x485669=_0x1622b2['getValuePosition'](),_0x53b1ca=_0x1622b2['getValueIndex'](),_0x4b407a=_0x1622b2[_0x5d77b1(0x29d)](_0xeefe5e[_0x5d77b1(0x346)])>0x1;if(_0x4b407a&&_0xdabb2e===_0xeaa555&&(_0xeaa555===_0xeefe5e[_0x5d77b1(0x2bf)]&&_0x485669===_0x497671[_0x5d77b1(0x2bf)]||_0xeaa555===_0xeefe5e['Column']&&_0x485669===_0x497671['Column'])){let _0x27479c=_0x53b1ca;_0x2dcbf9<=_0x53b1ca&&_0x27479c--,_0x815313<=_0x53b1ca&&_0x27479c++,_0x1622b2[_0x5d77b1(0x1a1)](_0x485669,_0x27479c);}else _0x4b407a&&(_0xdabb2e===_0xeefe5e[_0x5d77b1(0x2bf)]&&_0x485669===_0x497671[_0x5d77b1(0x2bf)]||_0xdabb2e===_0xeefe5e['Column']&&_0x485669===_0x497671['Column'])&&_0x53b1ca>=_0x2dcbf9&&_0x1622b2['updateValuePosition'](_0x485669,_0x53b1ca-0x1),_0x4b407a&&(_0xeaa555===_0xeefe5e[_0x5d77b1(0x2bf)]&&_0x485669===_0x497671[_0x5d77b1(0x2bf)]||_0xeaa555===_0xeefe5e[_0x5d77b1(0x19b)]&&_0x485669===_0x497671[_0x5d77b1(0x19b)])&&_0x53b1ca>=_0x815313&&_0x1622b2[_0x5d77b1(0x1a1)](_0x485669,_0x53b1ca+0x1);const _0x3796b6=_0x1622b2[_0x5d77b1(0x2b1)](),_0x263784=_0x1622b2['isEmpty'](),_0x349ee9=_0x1622b2['endCollectChangeset']();_0x29452b[_0x5d77b1(0x197)]={'view':_0x3796b6[_0x5d77b1(0x2d6)](),'changesets':_0x349ee9,'isEmpty':_0x263784,'pivotTableConfig':_0x10495};}break;case B['RemovePivotField']:{const _0x41f8ff=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x21e)];if(!_0x41f8ff)return;const _0x4a9843=_0x41f8ff['fieldIds'],_0x5837fd=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x5837fd)return!0x1;const _0x78d98c=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477);if(!_0x78d98c)return!0x1;_0x78d98c[_0x5d77b1(0x322)]();for(const _0x4b230c of _0x4a9843){const {area:_0x120fcb}=_0x78d98c['getFieldPositionInfoById'](_0x4b230c);_0x120fcb===_0xeefe5e[_0x5d77b1(0x346)]&&_0x78d98c['removeValueFilterInfoByValueFieldId'](_0x4b230c),(_0x120fcb===_0xeefe5e[_0x5d77b1(0x2bf)]||_0x120fcb===_0xeefe5e[_0x5d77b1(0x19b)])&&_0x78d98c[_0x5d77b1(0x293)](_0x4b230c),_0x78d98c[_0x5d77b1(0x2ed)](_0x4b230c);}const _0x412744=_0x78d98c[_0x5d77b1(0x313)](),_0x20604d=_0x78d98c[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x528d94=_0x78d98c['endCollectChangeset']();_0x29452b[_0x5d77b1(0x21e)]={'changesets':_0x528d94,'pivotTableConfig':_0x5837fd,'isEmpty':_0x412744,'view':_0x20604d};}break;case B[_0x5d77b1(0x318)]:{const _0x5aec66=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x335)];if(!_0x5aec66)return;const {tableFieldId:_0x31c8e8,items:_0x5f52f5,isAll:_0x5ca2a4}=_0x5aec66,_0x3f7c0e=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x505477),_0x38fcb6=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x3f7c0e||!_0x38fcb6)return;_0x3f7c0e['startCollectChangeset'](),_0x3f7c0e[_0x5d77b1(0x26a)](_0x31c8e8,{'type':_0x20c8d7[_0x5d77b1(0x1a7)],'list':_0x5f52f5,'isAll':_0x5ca2a4});const _0x50dc16=_0x3f7c0e[_0x5d77b1(0x313)](),_0x50e57a=_0x3f7c0e[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x41ec0e=_0x3f7c0e[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x335)]={'view':_0x50e57a,'changesets':_0x41ec0e,'isEmpty':_0x50dc16,'pivotTableConfig':_0x38fcb6};}break;case B[_0x5d77b1(0x2ae)]:{const _0x415978=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x22d)];if(!_0x415978)return;const {tableFieldId:_0x1e3692,filterInfo:_0x394380}=_0x415978,_0x565a98=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x540004=this[_0x5d77b1(0x2ad)]['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x565a98||!_0x540004)return;_0x565a98[_0x5d77b1(0x322)](),_0x565a98[_0x5d77b1(0x2ea)](_0x1e3692,_0x394380);const _0x3d71be=_0x565a98[_0x5d77b1(0x313)](),_0xfd08c3=_0x565a98[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x35fece=_0x565a98[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x22d)]={'view':_0xfd08c3,'changesets':_0x35fece,'isEmpty':_0x3d71be,'pivotTableConfig':_0x540004};}break;case B[_0x5d77b1(0x358)]:{const _0x463ad7=_0x286301['params'][_0x5d77b1(0x1d8)];if(!_0x463ad7)return;const {tableFieldId:_0x324e00,info:_0x532243}=_0x463ad7,_0x234b45=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x55c5ff=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x234b45||!_0x55c5ff)return;_0x234b45[_0x5d77b1(0x322)](),_0x234b45[_0x5d77b1(0x17b)](_0x324e00,_0x532243);const _0x466086=_0x234b45[_0x5d77b1(0x313)](),_0x8e50e4=_0x234b45['query']()[_0x5d77b1(0x2d6)](),_0x528cc9=_0x234b45[_0x5d77b1(0x18c)]();_0x29452b['setPivotSort']={'view':_0x8e50e4,'changesets':_0x528cc9,'isEmpty':_0x466086,'pivotTableConfig':_0x55c5ff};}break;case B[_0x5d77b1(0x382)]:{const _0x5f51b6=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x28b)];if(!_0x5f51b6)return;const {tableFieldId:_0x3feb97,displayName:_0x466057,subtotalType:_0xc9d8b9,format:_0x50d5bc}=_0x5f51b6,_0xa506ca=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x169037=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0xa506ca||!_0x169037)return;_0xa506ca[_0x5d77b1(0x322)](),_0x466057!==void 0x0&&_0xa506ca[_0x5d77b1(0x38a)](_0x3feb97,_0x466057),_0xc9d8b9!==void 0x0&&_0xa506ca[_0x5d77b1(0x157)](_0x3feb97,_0xc9d8b9),_0x50d5bc!==void 0x0&&_0xa506ca[_0x5d77b1(0x1f0)](_0x3feb97,_0x50d5bc);const _0x562456=_0xa506ca['isEmpty'](),_0x2d236b=_0xa506ca[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x39005e=_0xa506ca['endCollectChangeset']();_0x29452b['setPivotSetting']={'changesets':_0x39005e,'pivotTableConfig':_0x169037,'isEmpty':_0x562456,'view':_0x2d236b};}break;case B['UpdatePivotSource']:{const _0x37ebd6=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x271)];if(!_0x37ebd6)return;const {dataRangeInfo:_0x1c8733,unitId:_0x274dd4,subUnitId:_0x2ecfbc}=_0x37ebd6,_0x280352=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x21d)](_0x274dd4,_0x2ecfbc,_0x505477),_0x3a19bf=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x505477);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x274dd4,_0x505477)||!_0x3a19bf||!_0x280352)return;const _0x18afd5=this[_0x5d77b1(0x2ad)]['getUpdateRangeDeleteIds'](_0x274dd4,_0x505477,_0x1c8733),_0x6e6094=this[_0x5d77b1(0x2ad)]['getCollection'](_0x274dd4,_0x505477)[_0x5d77b1(0x2d6)](),{collection:_0x2c231d}=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x225)]({'unitId':_0x1c8733['unitId'],'sheetName':_0x1c8733[_0x5d77b1(0x364)],'subUnitId':_0x1c8733[_0x5d77b1(0x1bc)],'range':_0x1c8733[_0x5d77b1(0x16d)]}),_0x45e958=_0x2c231d[_0x5d77b1(0x2d6)]();_0x3a19bf[_0x5d77b1(0x322)]();const _0x1d4fa0=this[_0x5d77b1(0x2ad)]['getDataFieldManager'](_0x274dd4)['getAutoDisplayNameFunction']()||_0x2a7e7e;_0x3a19bf[_0x5d77b1(0x2ce)](_0x27fc1d=>{const _0x5488ab=_0x5d77b1,_0x76dd85=_0x27fc1d['getDataFieldId']();if(!_0x2c231d['hasField'](_0x76dd85)){const _0x2c72d0=_0x2c231d[_0x5488ab(0x149)](_0x27fc1d[_0x5488ab(0x27b)]());if(_0x2c72d0){_0x3a19bf[_0x5488ab(0x233)](_0x27fc1d[_0x5488ab(0x159)](),_0x2c72d0['getName'](),_0x2c72d0[_0x5488ab(0x159)]());const {area:_0x115759}=_0x3a19bf[_0x5488ab(0x347)](_0x27fc1d[_0x5488ab(0x159)]());let _0x32a1f0=_0x27fc1d[_0x5488ab(0x27b)]();const _0x1d7afd=_0x27fc1d[_0x5488ab(0x2ab)]();if(_0x115759===_0xeefe5e[_0x5488ab(0x346)]){const _0x4c4bd6=_0x27fc1d['getSubtotal']();_0x32a1f0=_0x1d4fa0(_0x2c72d0[_0x5488ab(0x27a)](),_0x4c4bd6);}_0x1d7afd!==_0x32a1f0&&_0x3a19bf['renameField'](_0x27fc1d[_0x5488ab(0x159)](),_0x32a1f0);}else _0x3a19bf[_0x5488ab(0x2ed)](_0x27fc1d[_0x5488ab(0x159)]());}});const _0x478e2c=_0x3a19bf[_0x5d77b1(0x313)](),_0x1dca57=_0x3a19bf[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x475b35=_0x3a19bf[_0x5d77b1(0x18c)]();_0x29452b['updatePivotSource']={'view':_0x1dca57,'changesets':_0x475b35,'isEmpty':_0x478e2c,'pivotTableConfig':_0x280352,'collectionConfig':_0x45e958,'oldCollectionConfig':_0x6e6094,'deleteIds':_0x18afd5};}break;case B[_0x5d77b1(0x250)]:{const _0x2a5f88=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x1a1)];if(!_0x2a5f88)return;const {position:_0x50fec4,index:_0x504535}=_0x2a5f88,_0x268fea=this[_0x5d77b1(0x2ad)]['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x268fea)return!0x1;const _0x3ff90d=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477);if(!_0x3ff90d)return!0x1;_0x3ff90d[_0x5d77b1(0x322)](),_0x3ff90d[_0x5d77b1(0x1a1)](_0x50fec4,_0x504535);const _0x592689=_0x3ff90d[_0x5d77b1(0x313)](),_0x386373=_0x3ff90d['query']()[_0x5d77b1(0x2d6)](),_0x805196=_0x3ff90d[_0x5d77b1(0x18c)]();_0x29452b['updateValuePosition']={'changesets':_0x805196,'pivotTableConfig':_0x268fea,'isEmpty':_0x592689,'view':_0x386373};}break;case B[_0x5d77b1(0x2e9)]:{const _0x2ba09a=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x237)];if(!_0x2ba09a)return;const {tableFieldId:_0x2f7037,collapse:_0x25d304,item:_0x328e62}=_0x2ba09a,_0x465ae7=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x15fc7b=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x465ae7||!_0x15fc7b)return;_0x465ae7[_0x5d77b1(0x322)](),_0x465ae7['setCollapse'](_0x2f7037,_0x25d304,_0x328e62);const _0x341693=_0x465ae7['isEmpty'](),_0x4479d0=_0x465ae7[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0xc02da3=_0x465ae7[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x237)]={'view':_0x4479d0,'isEmpty':_0x341693,'pivotTableConfig':_0x15fc7b,'changesets':_0xc02da3};}break;case B[_0x5d77b1(0x371)]:{const _0x3c549b=_0x286301['params'][_0x5d77b1(0x37c)];if(!_0x3c549b)return;const {pivotTableConfig:_0x466ca7}=_0x3c549b,_0x4caca8=this[_0x5d77b1(0x2ad)]['getPivotTableInstance'](_0x505477),_0x32b492=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x4caca8||!_0x32b492)return;_0x4caca8[_0x5d77b1(0x322)](),Ki(_0x4caca8,_0x466ca7);const _0x3db093=_0x4caca8[_0x5d77b1(0x313)](),_0x42bc5d=_0x4caca8[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x14051f=_0x4caca8[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x37c)]={'view':_0x42bc5d,'isEmpty':_0x3db093,'pivotTableConfig':{..._0x32b492,'fieldsConfig':_0x4caca8[_0x5d77b1(0x2d6)]()},'changesets':_0x14051f};}break;case B[_0x5d77b1(0x170)]:{const _0x21657e=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x260)];if(!_0x21657e)return;const _0x35adfd=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x44564a=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x35adfd||!_0x44564a)return;_0x35adfd[_0x5d77b1(0x322)](),Hi(_0x35adfd,_0x21657e['resetArea']);const _0x57f83c=_0x35adfd[_0x5d77b1(0x2b1)]()['toJSON'](),_0x38133a=_0x35adfd['endCollectChangeset']();_0x29452b[_0x5d77b1(0x260)]={'view':_0x57f83c,'isEmpty':!0x0,'pivotTableConfig':{..._0x44564a,'fieldsConfig':_0x35adfd[_0x5d77b1(0x2d6)]()},'changesets':_0x38133a};}break;case B[_0x5d77b1(0x320)]:{const _0x222202=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x317)];if(!_0x222202)return;const _0xffd31e=_0x222202['sourceRangeInfo'],_0x5610fd=_0x222202['pivotTableId'],{collection:_0x314124}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0xffd31e[_0x5d77b1(0x130)],'sheetName':_0xffd31e['sheetName'],'subUnitId':_0xffd31e[_0x5d77b1(0x1bc)],'range':_0xffd31e[_0x5d77b1(0x16d)]}),_0x503283=new _0xa87c2b(_0x314124,void 0x0,_0x5610fd),_0x42fe20=_0x314124[_0x5d77b1(0x2fb)](),{rows:_0x1c1ef9,columns:_0xc6be30,filters:_0x25b9d6,values:_0x45be95}=_0x222202[_0x5d77b1(0x189)];_0x503283['startCollectChangeset']();for(const {field:_0x37bd09,selectedItems:_0x14e210}of _0x1c1ef9||[]){const _0x5af1e0=_0x42fe20[_0x37bd09];if(_0x5af1e0){const _0x397904=_0x503283[_0x5d77b1(0x2f8)](_0x5af1e0,_0xeefe5e[_0x5d77b1(0x2bf)]);_0x14e210&&_0x397904&&_0x503283[_0x5d77b1(0x26a)](_0x397904[_0x5d77b1(0x159)](),{'type':_0x20c8d7['ManualFilter'],'list':_0x14e210,'isAll':!0x1});}}for(const {field:_0x4236b9,selectedItems:_0x185f56}of _0xc6be30||[]){const _0x10ca39=_0x42fe20[_0x4236b9];if(_0x10ca39){const _0x3e3275=_0x503283[_0x5d77b1(0x2f8)](_0x10ca39,_0xeefe5e[_0x5d77b1(0x19b)]);_0x185f56&&_0x3e3275&&_0x503283[_0x5d77b1(0x26a)](_0x3e3275[_0x5d77b1(0x159)](),{'type':_0x20c8d7[_0x5d77b1(0x1a7)],'list':_0x185f56,'isAll':!0x1});}}for(const {field:_0xf075f9,selectedItems:_0x348733}of _0x25b9d6||[]){const _0x2032d8=_0x42fe20[_0xf075f9];if(_0x2032d8){const _0x2a96a9=_0x503283[_0x5d77b1(0x2f8)](_0x2032d8,_0xeefe5e[_0x5d77b1(0x38d)]);_0x348733&&_0x2a96a9&&_0x503283[_0x5d77b1(0x26a)](_0x2a96a9[_0x5d77b1(0x159)](),{'type':_0x20c8d7['ManualFilter'],'list':_0x348733,'isAll':!0x1});}}for(const {field:_0x18b89b,subTotalType:_0x92414,formatString:_0x48c72f}of _0x45be95||[]){const _0xc9c24a=_0x314124[_0x5d77b1(0x11c)](_0x42fe20[_0x18b89b]);if(!_0xc9c24a)continue;const _0x46977e=_0x42fe20[_0x18b89b];if(_0x46977e){const _0x49af18=_0x503283[_0x5d77b1(0x2f8)](_0x46977e,_0xeefe5e[_0x5d77b1(0x346)]);if(_0x49af18){if(_0x92414!==void 0x0){_0x503283[_0x5d77b1(0x157)](_0x49af18[_0x5d77b1(0x159)](),_0x92414);const _0x5d2e57=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x212)](_0xffd31e[_0x5d77b1(0x130)])[_0x5d77b1(0x13a)]()||_0x2a7e7e,_0x4013de=_0x314124[_0x5d77b1(0x2ab)](_0x46977e),_0x5550c0=_0x5d2e57(_0x4013de,_0x92414);_0x503283[_0x5d77b1(0x38a)](_0x49af18[_0x5d77b1(0x159)](),_0x5550c0);}else{if(_0xc9c24a){const _0x91af3d=_0xc9c24a==null?void 0x0:_0xc9c24a[_0x5d77b1(0x141)]();_0x503283[_0x5d77b1(0x157)](_0x49af18[_0x5d77b1(0x159)](),_0x91af3d===_0x11da01['number']?_0x383156[_0x5d77b1(0x22c)]:_0x383156[_0x5d77b1(0x251)]);}}_0x48c72f&&_0x503283['setFieldFormat'](_0x49af18['getId'](),_0x48c72f);}}}const _0x124285=_0x503283[_0x5d77b1(0x2b1)](),_0x142a43=_0x503283[_0x5d77b1(0x2d6)](),_0x51570c=_0x503283[_0x5d77b1(0x313)](),_0x23bf2a=_0x503283[_0x5d77b1(0x18c)](),_0x20bdd2=_0x314124['toJSON']();_0x29452b['addPivotTableWithConfig']={'view':_0x124285,'fieldsConfig':_0x142a43,'collectionConfig':_0x20bdd2,'isEmpty':_0x51570c,'changesets':_0x23bf2a};}break;case B[_0x5d77b1(0x200)]:{const _0x4376ec=ki(this['_injector'],_0x286301);if(!_0x4376ec)return;const {range:_0x494f3d,sourceSubUnitId:_0x65266f,sourceUnitId:_0x4fb72f,formatMap:_0x5495b1,indexes:_0x5cbcc5}=_0x4376ec;_0x29452b[_0x5d77b1(0x2c2)]={'range':_0x494f3d,'sourceSubUnitId':_0x65266f,'sourceUnitId':_0x4fb72f,'formatMap':_0x5495b1,'indexes':_0x5cbcc5};}break;}this[_0x5d77b1(0x1a6)][_0x5d77b1(0x306)](lo['id'],{'version':_0x286301['version'],'result':_0x29452b},{'onlyLocal':!0x0});}));}[_0x2cfc65(0x1de)](){const _0x54b6da=_0x2cfc65;this['disposeWithMe'](this[_0x54b6da(0x1a6)][_0x54b6da(0x1f2)](_0x34dcab=>{const _0x162d53=_0x54b6da;if(_0x34dcab['id']!==uo['id'])return;const _0x215f86=_0x34dcab[_0x162d53(0x1c4)];return this[_0x162d53(0x2ad)][_0x162d53(0x35c)](_0x215f86[_0x162d53(0x370)]),!0x0;}));}[_0x2cfc65(0x24a)](){const _0x57553b=_0x2cfc65;this[_0x57553b(0x2ad)][_0x57553b(0x376)]['subscribe'](_0x18bdd7=>{const _0x1d32e3=_0x57553b;switch(_0x18bdd7[_0x1d32e3(0x38b)]){case ke[_0x1d32e3(0x123)]:_0x18bdd7['dataRangeInfo']&&_0x18bdd7[_0x1d32e3(0x216)]&&this['handleSourceRangeChange'](_0x18bdd7[_0x1d32e3(0x278)],_0x18bdd7[_0x1d32e3(0x198)],_0x18bdd7['targetCellInfo']);break;case ke['delete']:{const {unitId:_0x11b143,subUnitId:_0x3e3ec6,token:_0x90e20a}=_0x18bdd7;_0x11b143&&_0x3e3ec6&&_0x90e20a&&this[_0x1d32e3(0x1bd)](_0x11b143,_0x3e3ec6,_0x90e20a);}break;case ke[_0x1d32e3(0x133)]:{const {token:_0x55725c,oldSourceRangeInfo:_0x5b1630,dataRangeInfo:_0x4949e3,targetCellInfo:_0x17fe33}=_0x18bdd7,{unitId:_0x49bb50,subUnitId:_0x571a1e}=_0x5b1630||{};_0x49bb50&&_0x571a1e&&_0x55725c&&this[_0x1d32e3(0x1bd)](_0x49bb50,_0x571a1e,_0x55725c),_0x4949e3&&_0x17fe33&&this[_0x1d32e3(0x24e)](_0x55725c,_0x4949e3,_0x17fe33);}break;}});}['_subjectFieldsCollectionChange'](){const _0x47aea3=_0x2cfc65;this[_0x47aea3(0x2ad)][_0x47aea3(0x38c)][_0x47aea3(0x1c3)](_0x2f4fb2=>{const _0x5b9482=_0x47aea3;Object[_0x5b9482(0x23b)](_0x2f4fb2)['forEach'](_0x194f6b=>{const _0x24aec6=_0x5b9482,_0x3ea21e=this[_0x24aec6(0x2ad)][_0x24aec6(0x1c1)](_0x194f6b);if(_0x3ea21e){const _0x12f9eb=this[_0x24aec6(0x2ad)]['getPivotTableConfig'](_0x3ea21e==null?void 0x0:_0x3ea21e[_0x24aec6(0x130)],_0x3ea21e==null?void 0x0:_0x3ea21e['subUnitId'],_0x194f6b);_0x12f9eb&&(this[_0x24aec6(0x24e)](_0x194f6b,_0x12f9eb[_0x24aec6(0x27f)],_0x12f9eb[_0x24aec6(0x216)]),this[_0x24aec6(0x169)]([{'unitId':_0x3ea21e[_0x24aec6(0x130)],'subUnitId':_0x3ea21e[_0x24aec6(0x1bc)],'token':_0x194f6b}]));}});});}[_0x2cfc65(0x2a3)](){const _0x4fc92d=_0x2cfc65;this[_0x4fc92d(0x2ad)][_0x4fc92d(0x324)][_0x4fc92d(0x1c3)](_0x4aa1ec=>{const _0x1d317c=_0x4fc92d,{unitId:_0x569b5a,subUnitId:_0xbe725,pivotTableId:_0x5b50f9}=_0x4aa1ec;_0x569b5a&&_0xbe725&&_0x5b50f9&&this[_0x1d317c(0x169)]([{'unitId':_0x569b5a,'subUnitId':_0xbe725,'token':_0x5b50f9}]);});}[_0x2cfc65(0x169)](_0x354d74){const _0x10d655=_0x2cfc65,_0x44aced={};_0x354d74['forEach'](_0x2e5b5e=>{var _0x3defe2,_0x880f01;const {unitId:_0x212a50,subUnitId:_0x207862,token:_0x50b357}=_0x2e5b5e;_0x44aced[_0x212a50]=(_0x3defe2=_0x44aced[_0x212a50])!=null?_0x3defe2:{},_0x44aced[_0x212a50][_0x207862]=(_0x880f01=_0x44aced[_0x212a50][_0x207862])!=null?_0x880f01:{},_0x44aced[_0x212a50][_0x207862][_0x50b357]=!0x0;}),this[_0x10d655(0x1a6)][_0x10d655(0x306)](Ut['id'],_0x44aced);}['removeSourceRangeChange'](_0x57f9b6,_0xe0edd3,_0x6d5e8d){const _0x1539d2=_0x2cfc65;this[_0x1539d2(0x13d)][_0x1539d2(0x372)](_0x57f9b6,_0xe0edd3,[_0x6d5e8d]);}[_0x2cfc65(0x24e)](_0x1fc75f,_0x4fc0da,_0x2d2a50){const _0x24c1dd=_0x2cfc65,{unitId:_0x258bb8,subUnitId:_0x155cb8}=_0x4fc0da;this['_featureCalculationManagerService'][_0x24c1dd(0x19c)](_0x2d2a50[_0x24c1dd(0x130)],_0x2d2a50[_0x24c1dd(0x1bc)],_0x1fc75f)&&this[_0x24c1dd(0x1bd)](_0x258bb8,_0x155cb8,_0x1fc75f);const _0x256bec={'sheetId':_0x155cb8,..._0x4fc0da};this[_0x24c1dd(0x13d)][_0x24c1dd(0x2c8)](_0x2d2a50[_0x24c1dd(0x130)],_0x2d2a50[_0x24c1dd(0x1bc)],_0x1fc75f,{'unitId':_0x2d2a50[_0x24c1dd(0x130)],'subUnitId':_0x2d2a50[_0x24c1dd(0x1bc)],'dependencyRanges':[_0x256bec],'getDirtyData':(_0x5dee17,_0x5eca38)=>{const _0x93a40b=_0x24c1dd,_0x352886=this[_0x93a40b(0x2ad)],_0x356959=_0x352886[_0x93a40b(0x1c1)](_0x1fc75f);if(!_0x356959)return Os();const {unitId:_0x5e2845,subUnitId:_0x916bfb}=_0x356959,_0x36ea76=xs(_0x5dee17,_0x5eca38,_0x4fc0da);if(_0x36ea76[_0x93a40b(0x1fd)]>0x0){const _0x9186df=_0x352886['getCollection'](_0x258bb8,_0x1fc75f),_0xb0be33=_0x9186df[_0x93a40b(0x2fb)](),_0x1e06fc=this[_0x93a40b(0x387)](_0x4fc0da[_0x93a40b(0x130)],_0x4fc0da[_0x93a40b(0x1bc)],_0x5eca38),_0x54f9d8={},_0x176a0a=this[_0x93a40b(0x2ad)][_0x93a40b(0x212)](_0x5e2845)[_0x93a40b(0x13a)]()||_0x2a7e7e,_0x3dc9ca=[];for(const _0x504265 of _0x36ea76){const _0x271cea=_0x504265-(_0x4fc0da[_0x93a40b(0x16d)][_0x93a40b(0x256)]||0x0),_0x296b12=_0xb0be33[_0x271cea];_0x3dc9ca['push'](_0x296b12),_0x54f9d8[_0x296b12]=_0x9186df['getFieldById'](_0x296b12)[_0x93a40b(0x27a)](),_0x352886[_0x93a40b(0x212)](_0x258bb8)['refreshDataField'](_0x296b12,_0x4fc0da,_0x271cea,_0x1e06fc);}_0x9186df[_0x93a40b(0x363)](_0x3dc9ca)[_0x93a40b(0x112)](_0x22730f=>{const _0x46f8af=_0x93a40b,[_0x2a5afa,_0x1abb13]=_0x22730f,_0x33d3ec=_0x9186df['getFieldById'](_0x2a5afa),_0x3014c1=_0x9186df[_0x46f8af(0x11c)](_0x1abb13);_0x33d3ec&&_0x3014c1&&_0x33d3ec[_0x46f8af(0x249)](_0x3014c1);}),_0x9186df[_0x93a40b(0x315)]();const _0x3dd8d5=_0x352886[_0x93a40b(0x2bc)](_0x1fc75f);if(_0x3dd8d5){Es(_0x3dd8d5,_0x54f9d8,_0x176a0a),_0x3dd8d5[_0x93a40b(0x329)](!0x0);const _0x1c019d=_0x3dd8d5['query'](),_0x2b4db4=_0x352886['getPivotTableConfig'](_0x5e2845,_0x916bfb,_0x1fc75f),_0x59c2e7=_0x352886[_0x93a40b(0x212)](_0x258bb8)[_0x93a40b(0x2d6)]();_0x352886['updateView'](_0x5e2845,_0x916bfb,G[_0x93a40b(0x2d8)],_0x1fc75f,_0x1c019d,_0x2b4db4,_0x59c2e7,!0x0);}}return this[_0x93a40b(0x288)](_0x5e2845,_0x916bfb,_0x1fc75f);}});}[_0x2cfc65(0x387)](_0x9889d,_0xfff8f4,_0x593061){var _0x228379,_0x2a2831;const {arrayFormulaCellData:_0x43db18,unitData:_0x32d667}=_0x593061,_0x210644=(_0x228379=_0x43db18==null?void 0x0:_0x43db18[_0x9889d])==null?void 0x0:_0x228379[_0xfff8f4],_0x4df081=(_0x2a2831=_0x32d667==null?void 0x0:_0x32d667[_0x9889d])==null?void 0x0:_0x2a2831[_0xfff8f4];return{'arrayFormulaCellDataMatrix':_0x210644,'unitDataMatrix':_0x4df081};}[_0x2cfc65(0x288)](_0x3351fc,_0x214d39,_0x3224ef){const _0x97bddc=_0x2cfc65,_0x49a51d=this[_0x97bddc(0x2ad)][_0x97bddc(0x2d5)](_0x3351fc,_0x214d39,_0x3224ef),_0x213a03=[],_0xaad519=new _0x3d4b3d();if(_0x49a51d){const {rangeCache:_0x54c577,matrix:_0x1c1121,oldRangeCache:_0x83280e,oldMatrix:_0xb7dd88}=_0x49a51d,_0x5c2e0c=Gt(_0x83280e),_0x27fcc5=Gt(_0x54c577);_0x213a03[_0x97bddc(0x17f)](..._0x27fcc5,..._0x5c2e0c),_0xb7dd88&&_0x83280e&&_0x5c2e0c[_0x97bddc(0x112)](_0x4f0758=>{const _0x268e05=_0x97bddc;for(let _0x57c5b8=_0x4f0758[_0x268e05(0x21c)];_0x57c5b8<=_0x4f0758[_0x268e05(0x389)];_0x57c5b8++)for(let _0x1aa777=_0x4f0758['startColumn'];_0x1aa777<=_0x4f0758[_0x268e05(0x354)];_0x1aa777++)_0xaad519[_0x268e05(0x185)](_0x57c5b8,_0x1aa777);}),_0x1c1121&&_0x27fcc5&&_0x27fcc5[_0x97bddc(0x112)](_0x217059=>{const _0x681878=_0x97bddc;for(let _0xceb140=_0x217059[_0x681878(0x21c)];_0xceb140<=_0x217059[_0x681878(0x389)];_0xceb140++)for(let _0x1b4649=_0x217059[_0x681878(0x256)];_0x1b4649<=_0x217059['endColumn'];_0x1b4649++)_0xaad519[_0x681878(0x2e3)](_0xceb140,_0x1b4649,_0x1c1121[_0x681878(0x2dc)](_0xceb140,_0x1b4649));});}const _0x4c8c09={};return _0x4c8c09[_0x3351fc]={[_0x214d39]:As(_0x213a03)},{'runtimeCellData':{[_0x3351fc]:{[_0x214d39]:_0xaad519}},'dirtyRanges':_0x4c8c09};}[_0x2cfc65(0x208)](){}};ct=Vs([at(0x0,_0x4eaa26($)),at(0x1,_0x4eaa26(_0x68720c)),at(0x2,_0x4eaa26(_0x4c491b)),at(0x3,_0x4eaa26(_0x13f6da)),at(0x4,_0x4eaa26(_0x297017))],ct);var Bs=Object[_0x2cfc65(0x283)],Ls=(_0x52799f,_0xe817d3,_0x3c1e43,_0x242093)=>{const _0x18e9ee=_0x2cfc65;for(var _0x72c39=_0x242093>0x1?void 0x0:_0x242093?Bs(_0xe817d3,_0x3c1e43):_0xe817d3,_0x338127=_0x52799f[_0x18e9ee(0x1fd)]-0x1,_0x1e0e5b;_0x338127>=0x0;_0x338127--)(_0x1e0e5b=_0x52799f[_0x338127])&&(_0x72c39=_0x1e0e5b(_0x72c39)||_0x72c39);return _0x72c39;},_t=(_0x49f2da,_0x1bf174)=>(_0xcb7c6f,_0x2de629)=>_0x1bf174(_0xcb7c6f,_0x2de629,_0x49f2da);let dt=class extends _0x9a7a73{constructor(_0x2cb5fe,_0x4d1bd9,_0x53c37e,_0x1ec03b){const _0x2a605d=_0x2cfc65;super(),U(this,_0x2a605d(0x1d3),new _0x21dd5d()),(this[_0x2a605d(0x231)]=_0x2cb5fe,this['_sheetInterceptorService']=_0x4d1bd9,this[_0x2a605d(0x148)]=_0x53c37e,this['_sheetsPivotTableConfigModel']=_0x1ec03b,this[_0x2a605d(0x312)]());}[_0x2cfc65(0x312)](){const _0x54e645=_0x2cfc65;this[_0x54e645(0x134)](this[_0x54e645(0x176)][_0x54e645(0x253)]({'getMutations':_0x2057ff=>{const _0x1f26f5=_0x54e645;if(_0x2057ff['id']===_0x1d1ab3['id']||_0x2057ff['id']===_0x38d272['id']){const _0x39ea1d=[],_0x33043a=[],_0x5b2e9f=this[_0x1f26f5(0x148)][_0x1f26f5(0x258)]()[_0x1f26f5(0x26e)](_0x3c73dc=>_0x3c73dc[_0x1f26f5(0x16d)]),_0x587e65=_0x5d0da0(this[_0x1f26f5(0x231)]);if(!_0x587e65)return{'redos':[],'undos':[]};const {unitId:_0x1439a4,subUnitId:_0x355315}=_0x587e65,_0x3312ab={},_0x23cdca=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x1439a4,_0x355315);if(_0x23cdca!=null&&_0x23cdca[_0x1f26f5(0x1ed)])for(const [_0x59be88,_0xfa333c]of _0x23cdca){const {unitId:_0xaefb72,subUnitId:_0x30dddd,row:_0x34b90b,col:_0x5d63f3}=_0xfa333c[_0x1f26f5(0x216)];_0xaefb72===_0x587e65[_0x1f26f5(0x130)]&&_0x30dddd===_0x587e65[_0x1f26f5(0x1bc)]&&(_0x3312ab[_0x34b90b+'-'+_0x5d63f3]=_0x59be88);}return _0x5b2e9f&&_0x587e65&&_0x5b2e9f[_0x1f26f5(0x112)](_0x1b3efe=>{const _0x3412a9=_0x1f26f5;_0x5dacc2[_0x3412a9(0x2f7)](_0x1b3efe,(_0x5f3073,_0x3a0a2e)=>{const _0x6525e5=_0x3412a9,_0x40104f=_0x5f3073+'-'+_0x3a0a2e;if(_0x3312ab[_0x40104f]){const _0x3fc716=_0x3312ab[_0x40104f];_0x39ea1d['push']({'id':Et['id'],'params':{'unitId':_0x1439a4,'subUnitId':_0x355315,'pivotTableId':_0x3fc716}});const _0x2730fd=this[_0x6525e5(0x16c)][_0x6525e5(0x161)](_0x1439a4,_0x3fc716),_0x195037=this['_sheetsPivotTableConfigModel'][_0x6525e5(0x21d)](_0x1439a4,_0x355315,_0x3fc716);_0x33043a[_0x6525e5(0x17f)]({'id':Ct['id'],'params':{'unitId':_0x1439a4,'subUnitId':_0x355315,'pivotTableId':_0x3fc716,'pivotTableConfig':_0x195037,'collectionConfig':_0x2730fd}});}});}),{'redos':_0x39ea1d,'undos':_0x33043a};}return{'redos':[],'undos':[]};}}));}};dt=Ls([_t(0x0,_0x295672),_t(0x1,_0x4eaa26(_0x36d3f4)),_t(0x2,_0x4eaa26(_0x3de9b1)),_t(0x3,_0x4eaa26(ve))],dt);var ks=Object[_0x2cfc65(0x283)],Gs=(_0x2e8f0a,_0x1cf668,_0x3494ab,_0x1fe55e)=>{const _0x5dcf47=_0x2cfc65;for(var _0x8d5da9=_0x1fe55e>0x1?void 0x0:_0x1fe55e?ks(_0x1cf668,_0x3494ab):_0x1cf668,_0xe94a7c=_0x2e8f0a[_0x5dcf47(0x1fd)]-0x1,_0x818431;_0xe94a7c>=0x0;_0xe94a7c--)(_0x818431=_0x2e8f0a[_0xe94a7c])&&(_0x8d5da9=_0x818431(_0x8d5da9)||_0x8d5da9);return _0x8d5da9;},rt=(_0x369fdd,_0x43e340)=>(_0x166751,_0x320cee)=>_0x43e340(_0x166751,_0x320cee,_0x369fdd);let ut=class extends _0x9a7a73{constructor(_0x246366,_0x523b23,_0x4062ba,_0xa752b7,_0x9615fc){const _0x2d8285=_0x2cfc65;super(),this[_0x2d8285(0x176)]=_0x246366,this[_0x2d8285(0x13c)]=_0x523b23,this[_0x2d8285(0x231)]=_0x4062ba,this[_0x2d8285(0x16c)]=_0xa752b7,this[_0x2d8285(0x187)]=_0x9615fc,this[_0x2d8285(0x223)]();}[_0x2cfc65(0x35e)](_0x3e91a2,_0x18453b,_0x27d52f){const _0x3d1005=_0x2cfc65,{pageView:_0x109ba3,cornerView:_0x5e913c,rowView:_0x2202a4,colView:_0x12d85b,dataView:_0x30692a}=_0x18453b,_0x1e3e0b=_0x3e91a2;let _0x2355a3;if(_0x27d52f)_0x2355a3=[...Gi(_0x1e3e0b)];else{const _0xd86c1c=ge(_0x1e3e0b,_0x109ba3,!0x0),_0x5c32d0=_0x109ba3[_0x3d1005(0x1ad)]>=0x0?_0x109ba3[_0x3d1005(0x1ad)]+0x1:0x0,_0x362163=_0x5e913c[_0x3d1005(0x1b5)],_0x3f2036=_0x5e913c[_0x3d1005(0x16a)],_0x307f22=_0xd86c1c[_0x3d1005(0x1fd)]>0x0?It:0x0,_0x58b16b=ge({'row':_0x1e3e0b[_0x3d1005(0x379)]+_0x5c32d0+_0x307f22,'col':_0x1e3e0b['col']},_0x5e913c,!0x1,!0x1),_0x148021=ge({'row':_0x1e3e0b['row']+_0x5c32d0+_0x307f22+_0x362163,'col':_0x1e3e0b['col']},_0x2202a4,!0x1,!0x0),_0x4aae8c=ge({'row':_0x1e3e0b[_0x3d1005(0x379)]+_0x5c32d0+_0x307f22,'col':_0x1e3e0b[_0x3d1005(0x183)]+_0x3f2036},_0x12d85b,!0x1,!0x0),_0x55b40a=ge({'row':_0x1e3e0b[_0x3d1005(0x379)]+_0x5c32d0+_0x307f22+_0x362163,'col':_0x1e3e0b[_0x3d1005(0x183)]+_0x3f2036},_0x30692a,!0x1,!0x0);_0x2355a3=[..._0xd86c1c,..._0x58b16b,..._0x148021,..._0x4aae8c,..._0x55b40a];}return _0x2355a3;}['_initCommandInterceptListener'](){const _0x3e2614=_0x2cfc65;this[_0x3e2614(0x134)](this['_sheetsPivotTableService'][_0x3e2614(0x1fa)][_0x3e2614(0x28f)](this[_0x3e2614(0x187)][_0x3e2614(0x1fa)]['getInterceptPoints']()[_0x3e2614(0x144)],{'handler':(_0x3eb011,_0x373b1d)=>{const _0x25747f=_0x3e2614,{cellInfo:_0x596901,view:_0x32cee1,isEmpty:_0x8c8949}=_0x373b1d,_0x1967a0=_0x596901,{unitId:_0x41f581,subUnitId:_0x11b2ce}=_0x1967a0,_0x45a512=this[_0x25747f(0x35e)](_0x596901,_0x32cee1,_0x8c8949),_0x554d5d=this[_0x25747f(0x176)][_0x25747f(0x18e)]({'unitId':_0x41f581,'subUnitId':_0x11b2ce,'ranges':_0x45a512}),_0x265b2c=qo(this[_0x25747f(0x13c)],_0x41f581,_0x11b2ce,_0x45a512);_0x265b2c['shouldClear']&&(_0x554d5d[_0x25747f(0x235)][_0x25747f(0x17f)](_0x265b2c[_0x25747f(0x261)]),_0x554d5d['undos'][_0x25747f(0x17f)](_0x265b2c[_0x25747f(0x29e)]));const _0x7bd8d2=this[_0x25747f(0x20b)](_0x32cee1,_0x596901);return _0x554d5d[_0x25747f(0x235)][_0x25747f(0x17f)](..._0x7bd8d2['redos']),_0x554d5d[_0x25747f(0x319)]['push'](..._0x7bd8d2[_0x25747f(0x319)]),{'redos':_0x554d5d[_0x25747f(0x235)],'undos':_0x554d5d[_0x25747f(0x319)]};}}));}['getAutoFitColumnsMutations'](_0x4c4b54,_0x47a911){const _0x3a3c82=_0x2cfc65,{col:_0x402734,unitId:_0x5cd499,subUnitId:_0x1b757f}=_0x47a911,_0x554f87=[],_0x390a46=[],_0x155465=_0x5d0da0(this[_0x3a3c82(0x231)],{'unitId':_0x5cd499,'subUnitId':_0x1b757f});if(!_0x47a911||!_0x4c4b54||!_0x155465)return{'undos':_0x390a46,'redos':_0x554f87};const _0x4d14e5=this[_0x3a3c82(0x16c)][_0x3a3c82(0x111)](),{colView:_0x121496,dataView:_0x5f00c4,cornerView:_0x5306f6,rowView:_0x391c18,formatMap:_0x2ab304}=_0x4c4b54,_0x194965=yo(_0x121496,_0x4d14e5,!0x0,_0x2ab304),_0x286825=yo(_0x391c18,_0x4d14e5,!0x1,_0x2ab304),_0x220f86=Wi(_0x5f00c4),_0x18d6cb=ji(_0x5306f6),{worksheet:_0x1b8256}=_0x155465;if(typeof window<'u'&&window[_0x3a3c82(0x374)]){const _0x3e4aa9=_0x5ba26a({...fe[_0x3a3c82(0x165)]}),_0x270b51=_0x17a2c1[_0x3a3c82(0x11d)](_0x194965,_0x3e4aa9)[_0x3a3c82(0x1ea)]+0x10,_0x28ca20=_0x17a2c1[_0x3a3c82(0x11d)](_0x220f86,_0x3e4aa9)[_0x3a3c82(0x1ea)],_0xe84f41=Math[_0x3a3c82(0x15a)](Math['max'](_0x270b51,_0x28ca20))+0x10,_0x3541e5=Math['floor'](_0x17a2c1[_0x3a3c82(0x11d)](_0x286825,_0x3e4aa9)[_0x3a3c82(0x1ea)]),_0xf35724=Math[_0x3a3c82(0x15a)](_0x17a2c1[_0x3a3c82(0x11d)](_0x18d6cb,_0x3e4aa9)[_0x3a3c82(0x1ea)]),_0x541bb9=Math[_0x3a3c82(0x29c)](_0x3541e5,_0xf35724,0x28)+0xc,_0x53e7bc=_0x121496[_0x3a3c82(0x16a)]+_0x5306f6['colCount'],_0xd978e5={},_0x4492e5={};for(let _0x14981f=_0x402734;_0x14981f<_0x402734+_0x53e7bc;_0x14981f++){const _0x184441=_0x1b8256[_0x3a3c82(0x1b4)](_0x14981f);_0xd978e5[_0x14981f]=_0x184441,_0x14981f-_0x402734<_0x5306f6[_0x3a3c82(0x16a)]?_0x4492e5[_0x14981f-_0x402734]=_0x541bb9:_0x4492e5[_0x14981f-_0x402734]=_0xe84f41;}_0x554f87[_0x3a3c82(0x17f)]({'id':_0xe2718f['id'],'params':{'subUnitId':_0x1b757f,'unitId':_0x5cd499,'ranges':[{'startColumn':_0x402734,'endColumn':_0x402734+_0x53e7bc-0x1,'startRow':0x0,'endRow':_0x1b8256['getRowCount']()-0x1}],'colWidth':_0x4492e5}}),_0x390a46['push']({'id':_0xe2718f['id'],'params':{'subUnitId':_0x1b757f,'unitId':_0x5cd499,'ranges':[{'startColumn':_0x402734,'endColumn':_0x402734+_0x53e7bc-0x1,'startRow':0x0,'endRow':_0x1b8256['getRowCount']()-0x1}],'colWidth':_0xd978e5}});}return{'undos':_0x390a46,'redos':_0x554f87};}};ut=Gs([rt(0x0,_0x4eaa26(_0x36d3f4)),rt(0x1,_0x4eaa26(_0x297017)),rt(0x2,_0x4eaa26(_0x295672)),rt(0x3,_0x4eaa26(ve)),rt(0x4,_0x4eaa26(ie))],ut);var $s=Object[_0x2cfc65(0x283)],Js=(_0x20524f,_0x1820a8,_0x30b2ab,_0x3100d0)=>{for(var _0x321354=_0x3100d0>0x1?void 0x0:_0x3100d0?$s(_0x1820a8,_0x30b2ab):_0x1820a8,_0x23407d=_0x20524f['length']-0x1,_0x82f090;_0x23407d>=0x0;_0x23407d--)(_0x82f090=_0x20524f[_0x23407d])&&(_0x321354=_0x82f090(_0x321354)||_0x321354);return _0x321354;},Be=(_0x135d7a,_0x5ca7ff)=>(_0x42721f,_0x5e9758)=>_0x5ca7ff(_0x42721f,_0x5e9758,_0x135d7a);let ft=class extends _0x9a7a73{constructor(_0x5e532d,_0x24310a,_0x2847c5,_0x54df92,_0x725d27,_0x136bff,_0x45a5f5){const _0x34c0a1=_0x2cfc65;super(),U(this,_0x34c0a1(0x1d3),new _0x21dd5d()),(this[_0x34c0a1(0x13c)]=_0x5e532d,this[_0x34c0a1(0x360)]=_0x24310a,this['_commandService']=_0x2847c5,this['_univerInstanceService']=_0x54df92,this[_0x34c0a1(0x16c)]=_0x725d27,this[_0x34c0a1(0x1d1)]=_0x136bff,this['_sheetInterceptorService']=_0x45a5f5,this[_0x34c0a1(0x178)]());}[_0x2cfc65(0x178)](){const _0x4cabaf=_0x2cfc65,_0x1c3c0b=(_0x20fc44,_0x597907)=>{const _0x519142=_0x2e44,_0x413848=this[_0x519142(0x231)][_0x519142(0x1ff)](_0x407cd0[_0x519142(0x281)]);if(!_0x413848||!(_0x413848==null?void 0x0:_0x413848['getSheetBySheetId'](_0x597907)))return;this[_0x519142(0x1d3)]['dispose']();const _0x510d65=_0x2f0516=>this[_0x519142(0x2a7)](_0x2f0516,_0x20fc44,_0x597907),_0x532815=this[_0x519142(0x16c)]['getSubUnitPivotConfigs'](_0x20fc44,_0x597907);if(!(_0x532815!=null&&_0x532815['size']))return;Array['from'](_0x532815[_0x519142(0x282)]())[_0x519142(0x26e)](_0x13adff=>{const {row:_0x38bd5d,col:_0x33f343}=_0x13adff['targetCellInfo'];return _0x1aea22(_0x38bd5d,_0x33f343);})[_0x519142(0x112)](_0x4d9269=>{const _0xae981b=_0x519142;this[_0xae981b(0x1d3)]['add'](this[_0xae981b(0x360)][_0xae981b(0x1a9)](_0x4d9269,_0x510d65,_0x20fc44,_0x597907));});},_0x116c0a=()=>{const _0x4c969d=_0x2e44,_0x2ec34f=this['_univerInstanceService'][_0x4c969d(0x1ff)](_0x407cd0[_0x4c969d(0x281)]);if(_0x2ec34f){const _0x4392a4=_0x2ec34f['getActiveSheet']();if(!_0x4392a4)return;_0x1c3c0b(_0x2ec34f[_0x4c969d(0x27c)](),_0x4392a4[_0x4c969d(0x1a2)]());}};this[_0x4cabaf(0x134)](this[_0x4cabaf(0x1a6)]['onCommandExecuted'](_0x61caa8=>{const _0x42d5ce=_0x4cabaf;if(_0x61caa8['id']===_0x72a149['id']){const _0x2cf043=_0x61caa8[_0x42d5ce(0x1c4)],_0x121cfd=_0x2cf043[_0x42d5ce(0x1bc)],_0x32a25b=_0x2cf043[_0x42d5ce(0x130)];if(!_0x121cfd||!_0x32a25b)return;_0x1c3c0b(_0x32a25b,_0x121cfd);}})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel'][_0x4cabaf(0x342)][_0x4cabaf(0x1c3)](_0x10a827=>{_0x10a827&&_0x116c0a();})),this[_0x4cabaf(0x134)](this[_0x4cabaf(0x16c)][_0x4cabaf(0x2c9)][_0x4cabaf(0x1c3)](_0x312021=>{const _0x482f9f=_0x4cabaf,_0x43e952=_0x5d0da0(this[_0x482f9f(0x231)]);if(!_0x43e952)return;const {unitId:_0x3dfc24,subUnitId:_0x44cb33}=_0x43e952,{unitId:_0x80f609,subUnitId:_0x2336a1}=_0x312021;_0x3dfc24!==_0x80f609||_0x44cb33!==_0x2336a1||_0x1c3c0b(_0x3dfc24,_0x44cb33);})),_0x116c0a();}[_0x2cfc65(0x2a7)](_0x107b0b,_0x4a0512,_0x405783){const _0x4069e4=_0x2cfc65;switch(_0x107b0b['id']){case _0x1d9ddb['id']:return this[_0x4069e4(0x32d)](_0x107b0b[_0x4069e4(0x1c4)],_0x4a0512,_0x405783);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x1517c5,_0xdc5ede,_0x16d390){const _0x1a1b2d=_0x2cfc65,{fromRange:_0xa6e95,toRange:_0x4b7a88}=_0x1517c5,_0x1dc528=[],_0x28c5c2=[],_0x3b3e46=_0x5d0da0(this[_0x1a1b2d(0x231)]);if(!_0x3b3e46)return{'undos':_0x28c5c2,'redos':_0x1dc528};if(_0xdc5ede!==_0x3b3e46['unitId']||_0x16d390!==_0x3b3e46['subUnitId'])return{'undos':_0x28c5c2,'redos':_0x1dc528};const _0x90f96a=this[_0x1a1b2d(0x16c)][_0x1a1b2d(0x34d)](_0xdc5ede,_0x16d390);if(_0x90f96a!=null&&_0x90f96a[_0x1a1b2d(0x1ed)])for(const [_0x25cffe,_0x24f266]of _0x90f96a){const {unitId:_0x17918a,subUnitId:_0x14e20b,row:_0x2724f8,col:_0x466878}=_0x24f266[_0x1a1b2d(0x216)];if(_0x17918a===_0x3b3e46[_0x1a1b2d(0x130)]&&_0x14e20b===_0x3b3e46[_0x1a1b2d(0x1bc)]){const _0x13ecf5=_0x1aea22(_0x2724f8,_0x466878);if(_0x2492ba[_0x1a1b2d(0x1b6)](_0x13ecf5,_0xa6e95)){const _0x25035f=_0x2724f8-_0xa6e95['startRow'],_0x22279a=_0x466878-_0xa6e95[_0x1a1b2d(0x256)],_0x16d37f={'row':_0x4b7a88['startRow']+_0x25035f,'col':_0x4b7a88[_0x1a1b2d(0x256)]+_0x22279a};_0x1dc528[_0x1a1b2d(0x17f)]({'id':pt['id'],'params':{'unitId':_0x17918a,'subUnitId':_0x14e20b,'pivotTableId':_0x25cffe,'targetCellPosition':_0x16d37f}}),_0x28c5c2[_0x1a1b2d(0x17f)]({'id':pt['id'],'params':{'unitId':_0x17918a,'subUnitId':_0x14e20b,'pivotTableId':_0x25cffe,'targetCellPosition':{'row':_0x2724f8,'col':_0x466878}}});const _0x1182bc=_0x16d37f[_0x1a1b2d(0x379)]-_0x2724f8,_0x5324e1=_0x16d37f[_0x1a1b2d(0x183)]-_0x466878,_0x3db6a2=[],_0x205b42=this['_sheetsPivotTableAdaptorModel'][_0x1a1b2d(0x2e8)](_0x17918a,_0x14e20b,_0x25cffe),_0x52fadc=_0x205b42==null?void 0x0:_0x205b42[_0x1a1b2d(0x257)];if(_0x52fadc){Object[_0x1a1b2d(0x23b)](_0x52fadc)[_0x1a1b2d(0x112)](_0x32553e=>{const _0x543f1f=_0x1a1b2d;_0x52fadc[_0x32553e][_0x543f1f(0x112)](_0x500a07=>{const _0x37a8b0=_0x543f1f,_0x208df7={..._0x500a07};_0x208df7[_0x37a8b0(0x21c)]=_0x500a07[_0x37a8b0(0x21c)]+_0x1182bc,_0x208df7[_0x37a8b0(0x389)]=_0x500a07['endRow']+_0x1182bc,_0x208df7[_0x37a8b0(0x256)]=_0x500a07['startColumn']+_0x5324e1,_0x208df7[_0x37a8b0(0x354)]=_0x500a07[_0x37a8b0(0x354)]+_0x5324e1,_0x3db6a2[_0x37a8b0(0x17f)](_0x208df7);});});const _0x1975bc=this[_0x1a1b2d(0x176)][_0x1a1b2d(0x18e)]({'unitId':_0x17918a,'subUnitId':_0x14e20b,'ranges':_0x3db6a2});_0x1dc528['push'](..._0x1975bc[_0x1a1b2d(0x235)]),_0x28c5c2[_0x1a1b2d(0x17f)](..._0x1975bc[_0x1a1b2d(0x319)]);const _0x10d7cc=qo(this[_0x1a1b2d(0x13c)],_0x17918a,_0x14e20b,_0x3db6a2);_0x10d7cc[_0x1a1b2d(0x280)]&&(_0x1dc528[_0x1a1b2d(0x17f)](_0x10d7cc[_0x1a1b2d(0x261)]),_0x28c5c2[_0x1a1b2d(0x17f)](_0x10d7cc['setRangeValueUndoMutation']));}}}}return{'redos':_0x1dc528,'undos':_0x28c5c2};}};ft=Js([Be(0x0,_0x4eaa26(_0x297017)),Be(0x1,_0x4eaa26(_0x4e6465)),Be(0x2,_0x4c491b),Be(0x3,_0x295672),Be(0x4,_0x4eaa26(ve)),Be(0x5,_0x4eaa26(Ne)),Be(0x6,_0x4eaa26(_0x36d3f4))],ft);var Ws=Object[_0x2cfc65(0x283)],js=(_0x442461,_0x570f71,_0x7a9b72,_0x5412d5)=>{const _0x1db90a=_0x2cfc65;for(var _0x18a241=_0x5412d5>0x1?void 0x0:_0x5412d5?Ws(_0x570f71,_0x7a9b72):_0x570f71,_0x3df8b1=_0x442461[_0x1db90a(0x1fd)]-0x1,_0x5bce19;_0x3df8b1>=0x0;_0x3df8b1--)(_0x5bce19=_0x442461[_0x3df8b1])&&(_0x18a241=_0x5bce19(_0x18a241)||_0x18a241);return _0x18a241;},_o=(_0x1b750a,_0x3f67a5)=>(_0x3afbc2,_0x368ca0)=>_0x3f67a5(_0x3afbc2,_0x368ca0,_0x1b750a);let gt=class extends _0x9a7a73{constructor(_0x2e71d1,_0x34d08e){const _0x548863=_0x2cfc65;super(),this[_0x548863(0x176)]=_0x2e71d1,this[_0x548863(0x16c)]=_0x34d08e,this['_initRemoveSheetCommandInterceptor']();}[_0x2cfc65(0x27e)](){const _0x44d2f7=_0x2cfc65;this[_0x44d2f7(0x134)](this[_0x44d2f7(0x176)][_0x44d2f7(0x253)]({'getMutations':_0x4fb6bd=>{const _0x436e0a=_0x44d2f7;if(_0x4fb6bd['id']===_0x22a8ec['id']){const _0x3954ca=[],_0x1934c0=[],_0x3e2f96=_0x4fb6bd[_0x436e0a(0x1c4)],{unitId:_0x3f5875,subUnitId:_0x290cb1}=_0x3e2f96;if(!_0x3f5875||!_0x290cb1)return{'undos':_0x1934c0,'redos':_0x3954ca};const _0x29ff82=this[_0x436e0a(0x16c)][_0x436e0a(0x34d)](_0x3f5875,_0x290cb1);if(_0x29ff82!=null&&_0x29ff82[_0x436e0a(0x1ed)])for(const [_0x8d8201,_0x1dc02a]of _0x29ff82){_0x3954ca[_0x436e0a(0x17f)]({'id':Et['id'],'params':{'unitId':_0x3f5875,'subUnitId':_0x290cb1,'pivotTableId':_0x8d8201}});const _0x5b0f68={...this[_0x436e0a(0x16c)][_0x436e0a(0x161)](_0x3f5875,_0x8d8201)};_0x1934c0[_0x436e0a(0x17f)]({'id':Ct['id'],'params':{'unitId':_0x3f5875,'subUnitId':_0x290cb1,'pivotTableId':_0x8d8201,'pivotTableConfig':_0x1dc02a,'collectionConfig':_0x5b0f68}});}return{'redos':_0x3954ca,'undos':_0x1934c0};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x4eaa26(_0x36d3f4)),_o(0x1,_0x4eaa26(ve))],gt);var Ks=Object[_0x2cfc65(0x283)],Hs=(_0x52b969,_0x1b1f23,_0x38164b,_0xa67a57)=>{const _0x3fbb59=_0x2cfc65;for(var _0x1c4fc9=_0xa67a57>0x1?void 0x0:_0xa67a57?Ks(_0x1b1f23,_0x38164b):_0x1b1f23,_0x43415a=_0x52b969[_0x3fbb59(0x1fd)]-0x1,_0x5087f0;_0x43415a>=0x0;_0x43415a--)(_0x5087f0=_0x52b969[_0x43415a])&&(_0x1c4fc9=_0x5087f0(_0x1c4fc9)||_0x1c4fc9);return _0x1c4fc9;},Ke=(_0x4ed608,_0x36b67b)=>(_0x35c297,_0x438262)=>_0x36b67b(_0x35c297,_0x438262,_0x4ed608);let ht=class extends _0x9a7a73{constructor(_0x4cf738,_0x1cf661,_0x3cd2af,_0x25fe91,_0x3bd1df,_0x2b5a7d){const _0x4b6104=_0x2cfc65;super(),this[_0x4b6104(0x1a6)]=_0x4cf738,this[_0x4b6104(0x32a)]=_0x1cf661,this[_0x4b6104(0x1d1)]=_0x3cd2af,this[_0x4b6104(0x16c)]=_0x25fe91,this[_0x4b6104(0x231)]=_0x3bd1df,this[_0x4b6104(0x17d)]=_0x2b5a7d,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x2cfc65(0x1a0)](){const _0x43ba34=_0x2cfc65;this['disposeWithMe'](this[_0x43ba34(0x1a6)][_0x43ba34(0x1f2)](_0x5b2fb6=>{const _0x4f382d=_0x43ba34;if(_0x5b2fb6['id']!==lo['id'])return;const _0x4db8b6=_0x5b2fb6[_0x4f382d(0x1c4)];this['_sheetsPivotRpcService'][_0x4f382d(0x2be)](_0x4db8b6);})),this[_0x43ba34(0x134)](this['_commandService'][_0x43ba34(0x1f2)](_0x5e170b=>{const _0x5ad696=_0x43ba34;if(_0x5e170b['id']===co['id']){const _0x4b7838=_0x5e170b[_0x5ad696(0x1c4)];if(_0x4b7838){const {unitId:_0x40ba0c,subUnitId:_0x3f687b,oldSubUnitId:_0x5a41fa,pivotTableId:_0x3e04d5,pivotTableConfig:_0x1d7e56,collectionConfig:_0x28ee9c}=_0x4b7838;this[_0x5ad696(0x16c)][_0x5ad696(0x182)](_0x40ba0c,_0x5a41fa,_0x4b7838['pivotTableId'],null),this[_0x5ad696(0x16c)][_0x5ad696(0x182)](_0x40ba0c,_0x3f687b,_0x3e04d5,_0x1d7e56),this['_sheetsPivotTableConfigModel'][_0x5ad696(0x1e1)](_0x40ba0c,_0x28ee9c);}}})),this[_0x43ba34(0x134)](this[_0x43ba34(0x1a6)][_0x43ba34(0x1f2)](_0x55c03a=>{const _0x3e7fed=_0x43ba34;if(_0x55c03a['id']!==Dt['id'])return;const _0x5e3c21=_0x5d0da0(this[_0x3e7fed(0x231)]);if(!_0x5e3c21)return;const {unitId:_0x5c4323,subUnitId:_0x5238cf}=_0x5e3c21,_0x55d42b=_0x55c03a[_0x3e7fed(0x1c4)];if(_0x55d42b['collectionConfig']&&Object[_0x3e7fed(0x23b)](_0x55d42b[_0x3e7fed(0x2ff)])[_0x3e7fed(0x112)](_0x418b3d=>{const _0x135197=_0x3e7fed;var _0x16a995;(_0x16a995=_0x55d42b[_0x135197(0x2ff)])!=null&&_0x16a995[_0x418b3d]&&this['_sheetsPivotTableConfigModel'][_0x135197(0x1e1)](_0x418b3d,_0x55d42b[_0x135197(0x2ff)][_0x418b3d]);}),_0x55d42b['single']){const _0x605a54=_0x55d42b[_0x3e7fed(0x222)],{unitId:_0x379dcb,subUnitId:_0x158813,view:_0x2add91,pivotTableId:_0x5c94cc,type:_0x162319,pivotConfig:_0x63f390}=_0x605a54;if(_0x162319===G[_0x3e7fed(0x132)])this['_sheetsPivotTableAdaptorModel'][_0x3e7fed(0x13f)]({'unitId':_0x379dcb,'subUnitId':_0x158813,'pivotTableId':_0x5c94cc,'type':_0x162319}),this[_0x3e7fed(0x16c)][_0x3e7fed(0x182)](_0x379dcb,_0x158813,_0x5c94cc,null);else{const _0x2d205a=new _0x1b10b0();_0x2d205a['formJSON'](_0x2add91),this[_0x3e7fed(0x16c)][_0x3e7fed(0x182)](_0x379dcb,_0x158813,_0x5c94cc,_0x63f390),this[_0x3e7fed(0x1d1)]['clearRenderCache']({'unitId':_0x379dcb,'subUnitId':_0x158813,'pivotTableId':_0x5c94cc,'type':_0x162319,'view':_0x2d205a}),this[_0x3e7fed(0x1d1)][_0x3e7fed(0x1ca)]({'unitId':_0x379dcb,'subUnitId':_0x158813,'view':_0x2d205a,'pivotTableId':_0x5c94cc,'type':_0x162319});}}else _0x55d42b['batch']&&(_0x55d42b[_0x3e7fed(0x1c0)]['forEach'](_0x3610be=>{const _0x9ea5ef=_0x3e7fed,{unitId:_0x20cf32,subUnitId:_0x573af5,view:_0x3471f7,pivotTableId:_0x5117e2,type:_0x15daa8,pivotConfig:_0x1734f1}=_0x3610be,_0xfa51af=new _0x1b10b0();_0xfa51af['formJSON'](_0x3471f7),this[_0x9ea5ef(0x16c)][_0x9ea5ef(0x182)](_0x20cf32,_0x573af5,_0x5117e2,_0x1734f1),this[_0x9ea5ef(0x1d1)][_0x9ea5ef(0x1ca)]({'unitId':_0x20cf32,'subUnitId':_0x573af5,'view':_0xfa51af,'pivotTableId':_0x5117e2,'type':_0x15daa8});}),this[_0x3e7fed(0x16c)]['setPivotInitCompleted']());this[_0x3e7fed(0x1d1)][_0x3e7fed(0x25d)](_0x5c4323,_0x5238cf);}));}[_0x2cfc65(0x1f1)](){const _0x388696=_0x2cfc65;this[_0x388696(0x17d)]['register'](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x5df882){const _0x30475a=_0x388696;return{'dirtyUnitFeatureMap':_0x5df882[_0x30475a(0x1c4)]};}});}};ht=Hs([Ke(0x0,_0x4eaa26(_0x4c491b)),Ke(0x1,_0x4eaa26(X)),Ke(0x2,_0x4eaa26(Ne)),Ke(0x3,_0x4eaa26(ve)),Ke(0x4,_0x4eaa26(_0x295672)),Ke(0x5,_0x521ace)],ht);var qs=Object[_0x2cfc65(0x2d7)],Qs=Object['getOwnPropertyDescriptor'],Ys=(_0x395a59,_0xdccac2,_0x29ac1a)=>_0xdccac2 in _0x395a59?qs(_0x395a59,_0xdccac2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29ac1a}):_0x395a59[_0xdccac2]=_0x29ac1a,zs=(_0x355c7a,_0x22d0cd,_0x5329ee,_0x42d6a4)=>{const _0x4bff6d=_0x2cfc65;for(var _0x311741=_0x42d6a4>0x1?void 0x0:_0x42d6a4?Qs(_0x22d0cd,_0x5329ee):_0x22d0cd,_0x5ee44f=_0x355c7a[_0x4bff6d(0x1fd)]-0x1,_0x3fee22;_0x5ee44f>=0x0;_0x5ee44f--)(_0x3fee22=_0x355c7a[_0x5ee44f])&&(_0x311741=_0x3fee22(_0x311741)||_0x311741);return _0x311741;},Ft=(_0x4543e9,_0x5ba0ea)=>(_0x2006dd,_0x2b9753)=>_0x5ba0ea(_0x2006dd,_0x2b9753,_0x4543e9),Zo=(_0x3065b7,_0x40bf53,_0x120159)=>Ys(_0x3065b7,typeof _0x40bf53!=_0x2cfc65(0x194)?_0x40bf53+'':_0x40bf53,_0x120159);let Vt=class extends _0xb6e4b9{constructor(_0x18a64e=Mo,_0x5c59f0,_0x53bf34,_0x34de61,_0x1cfacc){const _0x3cba3f=_0x2cfc65;super(),this[_0x3cba3f(0x158)]=_0x18a64e,this[_0x3cba3f(0x13c)]=_0x5c59f0,this[_0x3cba3f(0x1a6)]=_0x53bf34,this[_0x3cba3f(0x20d)]=_0x34de61,this['_dataSyncPrimaryController']=_0x1cfacc;const {..._0x26549c}=_0x1febab({},Mo,this['_config']);this[_0x3cba3f(0x20d)][_0x3cba3f(0x362)](Yo,_0x26549c),this[_0x3cba3f(0x184)](),this[_0x3cba3f(0x15c)]();}['_initConfig'](){const _0x27dbbb=_0x2cfc65;var _0xb7bfcc;const _0x272a62=(_0xb7bfcc=this['_config'])==null?void 0x0:_0xb7bfcc[_0x27dbbb(0x275)];this[_0x27dbbb(0x20d)]['setConfig'](Y,_0x272a62===!0x0);}['onStarting'](){const _0x1c95d5=_0x2cfc65;var _0x4a1577;let _0x13aa14=[];const _0x40910f=(_0x4a1577=this[_0x1c95d5(0x158)])==null?void 0x0:_0x4a1577['notExecuteFormula'];_0x40910f===!0x0?_0x13aa14=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x40910f===!0x1?_0x13aa14=[[$],[ct]]:_0x40910f===void 0x0&&(_0x13aa14=[[$],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x13aa14[_0x1c95d5(0x112)](_0x5bdf9f=>this[_0x1c95d5(0x13c)][_0x1c95d5(0x123)](_0x5bdf9f)),[ct,ht,ie,dt,gt,ft,ut][_0x1c95d5(0x112)](_0x409caf=>{const _0x458d59=_0x1c95d5;this[_0x458d59(0x13c)]['has'](_0x409caf)&&this[_0x458d59(0x13c)][_0x458d59(0x13e)](_0x409caf);});}['_initRegisterCommand'](){const _0x16a002=_0x2cfc65;[ps,ms,hs,Is,Ss,Ns,Fs,Ts,ws,Ms,Rs,Ds,Cs,bs,Ct,to,Et,$t,zo,Xo,Ht,Jt,Wt,jt,Qt,qt,pt,ro,lo,Dt,Xt,eo,Yt,Kt,uo,oo,Zt,Ut,co,_s,zt,ys,Ps][_0x16a002(0x112)](_0x1b2fb0=>{const _0x44454c=_0x16a002;var _0x182f71;(_0x182f71=this[_0x44454c(0x22e)])==null||_0x182f71[_0x44454c(0x114)](_0x1b2fb0),this[_0x44454c(0x1a6)][_0x44454c(0x2a8)](_0x1b2fb0);});}};Zo(Vt,'pluginName',ao),Zo(Vt,_0x2cfc65(0x38b),_0x407cd0[_0x2cfc65(0x281)]),Vt=zs([_0x1623b1(_0x480b43),Ft(0x1,_0x4eaa26(_0x297017)),Ft(0x2,_0x4eaa26(_0x4c491b)),Ft(0x3,_0x931275),Ft(0x4,_0x329209(_0x1b20d0))],Vt);export{hs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ms as AddPivotTableCommand,Ct as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,Cs as MovePivotTableCommand,B as PivotDisplayDataType,bs as PivotDrillDownCommand,G as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,ko as PositionType,Ss as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ts as SetPivotCollapseCommand,jt as SetPivotCollapseMutation,Kt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,Qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,zt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Rs as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ho as canUsePivot,fe as defaultThemeStyle,qo as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Gi as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Bi as getPivotCellInfo,go as getPivotInfoByLicense,Li as getPivotTableInfo,vt as transFromCellValue,Gt as unionPivotViewRange};