@univerjs-pro/sheets-pivot 0.10.13-nightly.202510290902 → 0.10.14-nightly.202511031023
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3f7e1b=_0x4808;(function(_0x2ef8ef,_0x3205d7){const _0x580714=_0x4808,_0x44d4d6=_0x2ef8ef();while(!![]){try{const _0x2a7b8e=-parseInt(_0x580714(0x315))/0x1+parseInt(_0x580714(0x36c))/0x2*(parseInt(_0x580714(0x25d))/0x3)+-parseInt(_0x580714(0x115))/0x4+parseInt(_0x580714(0x195))/0x5*(-parseInt(_0x580714(0x107))/0x6)+parseInt(_0x580714(0x275))/0x7*(-parseInt(_0x580714(0x1b2))/0x8)+parseInt(_0x580714(0x176))/0x9+parseInt(_0x580714(0x2fd))/0xa*(parseInt(_0x580714(0x2e3))/0xb);if(_0x2a7b8e===_0x3205d7)break;else _0x44d4d6['push'](_0x44d4d6['shift']());}catch(_0x5f4bb0){_0x44d4d6['push'](_0x44d4d6['shift']());}}}(_0x4dec,0x3dc98));var rn=Object['defineProperty'],ln=(_0x2486ac,_0x426772,_0x127bb6)=>_0x426772 in _0x2486ac?rn(_0x2486ac,_0x426772,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x127bb6}):_0x2486ac[_0x426772]=_0x127bb6,N=(_0x15ffb2,_0x3c352a,_0x2c952f)=>ln(_0x15ffb2,typeof _0x3c352a!=_0x3f7e1b(0x34a)?_0x3c352a+'':_0x3c352a,_0x2c952f);import{PivotCellStyleTypeEnum as _0x3de9b5,PivotViewCellValueTypeEnum as _0x53a8a4,isPrefixValue as _0xe63bc2,isErrorValue as _0x5966e7,PivotErrorTypeEnum as _0x261300,PivotDateGroupFieldDateTypeEnum as _0x2203bd,DataFieldManager as _0x426fa6,FieldsCollection as _0x10aa9e,isDateValue as _0x2acf58,DataField as _0x3c4ec7,generateHexNumber as _0x40f965,isBaseGroupField as _0x58babc,PivotTable as _0x991e33,PivotSubtotalTypeEnum as _0x1bde00,PivotTableFiledAreaEnum as _0xf0891,excelDateToUnixMilliseconds as _0x381acb,PivotDataFieldTypeEnum as _0x4ae4c8,DateGroupField as _0x31599c,createValueField as _0x39faef,createLabelField as _0x31ce60,PivotTableChangeTypeEnum as _0x436039,PivotView as _0x50bf2b,GlobalConfig as _0x88790d,isDateGroupFieldJSON as _0x45f861,PivotCallbackEnum as _0x124427,PivotFilterTypeEnum as _0x3dcab7,getAutoDisplayName as _0x493ab0,PivotDataFieldDataTypeEnum as _0x3e2b99,PivotTableValuePositionEnum as _0x13df1d,isDateGroupField as _0x29f759}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x301301,ObjectMatrix as _0x1e8df5,IUniverInstanceService as _0x30bb52,UniverInstanceType as _0x5bedd4,CellValueType as _0x37f91f,numfmt as _0x5480ca,LocaleService as _0x470962,createAsyncInterceptorKey as _0x1ef967,createInterceptorKey as _0x2e3afd,CommandType as _0x375b46,Inject as _0xbe4270,ICommandService as _0x106ae8,Disposable as _0x5c8ab1,RANGE_TYPE as _0x12eba8,numberToABC as _0x3780e8,Injector as _0x4affd6,LifecycleService as _0x37d86d,IResourceManagerService as _0x450e95,Rectangle as _0x58ac80,IConfigService as _0x1c8e08,Tools as _0x8aa74a,AsyncInterceptorManager as _0x473a85,InterceptorManager as _0x1553f1,InterceptorEffectEnum as _0x457394,IUndoRedoService as _0xe827cc,sequenceExecute as _0x1ae4a0,CustomCommandExecutionError as _0x93a5,mergeWorksheetSnapshotWithDefault as _0x475b2e,generateRandomId as _0x2e1f29,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x21f836,DEFAULT_WORKSHEET_ROW_COUNT as _0x94572c,DisposableCollection as _0x1d4a6d,Range as _0x3ff323,DependentOn as _0x36702b,Optional as _0x3d5e31,Plugin as _0x229557,merge as _0x1fa2f5}from'@univerjs/core';import{ErrorType as _0x583621,serializeRangeWithSpreadsheet as _0x22710b,IFeatureCalculationManagerService as _0x4f8326,GlobalComputingStatusService as _0xcda319,IActiveDirtyManagerService as _0x4eb8e3}from'@univerjs/engine-formula';import{generateNullCell as _0x8e46d5,SetRangeValuesUndoMutationFactory as _0xa3564a,SetRangeValuesMutation as _0x2792bb,getSheetCommandTarget as _0x2407c5,InsertRowMutation as _0x1c3381,RemoveRowMutation as _0x3bf3bd,InsertColMutation as _0x2a5e02,RemoveColMutation as _0x40bbb5,IExclusiveRangeService as _0x574cc5,SheetInterceptorService as _0x52503e,INTERCEPTOR_POINT as _0x22f024,InsertSheetCommand as _0x47433d,InsertSheetUndoMutationFactory as _0x4b0229,RemoveSheetMutation as _0x5f22ae,InsertSheetMutation as _0x2fa713,MoveRangeMutation as _0x5c06b9,SheetsSelectionsService as _0x3c76aa,ClearSelectionContentCommand as _0x1388c5,ClearSelectionAllCommand as _0x5c4824,SetWorksheetColWidthMutation as _0x1fa3c5,RefRangeService as _0x59ecd7,SetWorksheetActiveOperation as _0x2ae31c,MoveRangeCommand as _0x544a67,RemoveSheetCommand as _0x2e9787}from'@univerjs/sheets';import{Subject as _0xd2eb14,BehaviorSubject as _0x506864}from'rxjs';import{LS_CONFIG_KEY as _0x256fae,unshiftString as _0xab890f,isFeatureAuthorizedWithinTime as _0xedd3d1,getSheetFeatureLimit as _0x113600,ReleaseType as _0x726949,UniverLicensePlugin as _0x50be00}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0xde19f5,RemoveSheetsFilterMutation as _0x59ace0}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x253654}from'@univerjs/rpc';function _0x4808(_0x1c94a3,_0x58c5be){const _0x4decb4=_0x4dec();return _0x4808=function(_0x4808ad,_0x5d034e){_0x4808ad=_0x4808ad-0xf5;let _0x72e58e=_0x4decb4[_0x4808ad];return _0x72e58e;},_0x4808(_0x1c94a3,_0x58c5be);}import{getFontStyleString as _0x685dd7,FontCache as _0x23e31e}from'@univerjs/engine-render';const Ko=Number['parseInt'](0x6901d926),li=0x10,so=0x1,ao=_0x3f7e1b(0x152),It=0x1,ci=_0x3f7e1b(0x14b),di=_0x3f7e1b(0x282),wt=_0x3f7e1b(0x277),ui='#f4f4f5',fi=_0x3f7e1b(0x278),gi=_0x3f7e1b(0x33d),hi=_0x3f7e1b(0x248),vi=_0x3f7e1b(0x2cb),pi=_0x3f7e1b(0x1a5),mi=_0x3f7e1b(0x248),Ii=_0x3f7e1b(0x2cb),Ci=_0x3f7e1b(0x1de),bi=0xe,Si=0x6;var Lo=(_0x5a3738=>(_0x5a3738[_0x3f7e1b(0x2c9)]=_0x3f7e1b(0x19d),_0x5a3738['New']=_0x3f7e1b(0x31a),_0x5a3738))(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':''}}},Pi=0x1e,ze={'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},R={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':ze,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':ze,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':ze,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':ze,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':ze,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':ze,'vt':0x2}};function Ti(_0x377299,_0x2604fa,_0x100cf4){const _0x36c443=_0x3f7e1b,_0x9397b2=_0x377299[_0x36c443(0x1f2)](_0x470962),_0xb8ba70=_0x100cf4['split']('_');switch(_0x2604fa){case _0x2203bd[_0x36c443(0x2a3)]:return _0x9397b2['t'](_0x36c443(0x224),..._0xb8ba70);case _0x2203bd[_0x36c443(0x228)]:return _0x9397b2['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0xb8ba70);case _0x2203bd['Hour']:return _0x9397b2['t'](_0x36c443(0x257),..._0xb8ba70);case _0x2203bd[_0x36c443(0x18f)]:return _0x9397b2['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0xb8ba70);case _0x2203bd['Date']:return _0x9397b2['t'](_0x36c443(0x156),..._0xb8ba70);case _0x2203bd[_0x36c443(0x2d8)]:return _0x9397b2['t'](_0x36c443(0x261),..._0xb8ba70);case _0x2203bd['Quarter']:return _0x9397b2['t'](_0x36c443(0x280),..._0xb8ba70);case _0x2203bd[_0x36c443(0x102)]:return _0x9397b2['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0xb8ba70);case _0x2203bd['YearMonthDate']:return _0x9397b2['t'](_0x36c443(0x314),..._0xb8ba70);case _0x2203bd[_0x36c443(0x10d)]:return _0x9397b2['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0xb8ba70);}return'';}const tt=(_0x3b020d,_0x4b399f,_0x5c48bf,_0x145540)=>{const _0x5e2027=_0x3f7e1b;let _0x1cc6fa;const _0x39f645=_0x3b020d[_0x5e2027(0x1f2)](_0x30bb52)['getCurrentUnitForType'](_0x5bedd4[_0x5e2027(0x117)]);if(!_0x39f645)return null;const _0x3e209b=_0x39f645[_0x5e2027(0x2b8)]();let _0x3ad351;if(_0x5c48bf&&(_0x3ad351=_0x3e209b[_0x5e2027(0x241)](_0x5c48bf)),_0x4b399f!=null&&_0x4b399f['v']||(_0x4b399f==null?void 0x0:_0x4b399f['v'])===0x0){_0x1cc6fa||(_0x1cc6fa={});const _0xaad203=Ho(_0x4b399f['v']);typeof _0xaad203==_0x5e2027(0x1fb)?_0x1cc6fa['t']=_0x37f91f[_0x5e2027(0x22d)]:typeof _0xaad203==_0x5e2027(0x274)&&(_0x1cc6fa['t']=_0x37f91f[_0x5e2027(0x2f3)]),_0x1cc6fa['v']=_0xaad203;}if((_0x4b399f!=null&&_0x4b399f['i']||(_0x4b399f==null?void 0x0:_0x4b399f['i'])===0x0)&&(_0x1cc6fa||(_0x1cc6fa={}),_0x1cc6fa['fi']=_0x4b399f['i']),_0x4b399f!=null&&_0x4b399f['s']&&(_0x1cc6fa||(_0x1cc6fa={}),_0x1cc6fa[_0x5e2027(0x133)]=_0x4b399f['s']),_0x5c48bf&&(_0x1cc6fa||(_0x1cc6fa={}),_0x1cc6fa['s']=_0x3ad351),_0x145540&&_0x1cc6fa!=null&&_0x1cc6fa['v']&&_0x1cc6fa[_0x5e2027(0x133)]!==_0x3de9b5[_0x5e2027(0x360)]&&_0x1cc6fa[_0x5e2027(0x133)]!==_0x3de9b5[_0x5e2027(0x14c)]){const _0x18544a=String(_0x1cc6fa['v']),{dateType:_0x3642a3}=_0x145540;_0x1cc6fa['v']=Ti(_0x3b020d,_0x3642a3,_0x18544a),_0x1cc6fa['t']=_0x37f91f['STRING'];}return _0x1cc6fa;},Mi=(_0x3c3e7f,_0x194ef2,_0x1473c1,_0x5211d5)=>{const _0xd7eeac=_0x3f7e1b;var _0x189725,_0x5e0705,_0x2388fe,_0x5e2ac3,_0x33f71d,_0x4551ac,_0x254575,_0x1680b2,_0x47338d,_0x26abde,_0x3ce11e,_0x38f9a4,_0x6e16f6,_0x486e77;const _0x2f87e9=_0x1473c1[_0xd7eeac(0x259)],{cornerView:_0x1400d3,rowView:_0x1237fb,colView:_0xd9a157,dataView:_0x50ec1a,pageView:_0x175ffd,formatMap:_0x3a2c71,groupInfo:_0x40ae8c}=_0x194ef2,{row:_0x148a23,col:_0x3a05f4}=_0x2f87e9,_0x37dd76=new _0x1e8df5(),_0x54f5f7={},_0x1c4395={},_0x460175={},_0x5ce727={},_0x2f39eb={};let _0x1e80f1=_0x148a23,_0x1f4b82=_0x3a05f4;Object[_0xd7eeac(0x1f4)](_0x175ffd[_0xd7eeac(0x355)])['forEach'](_0x3977ad=>{const _0x2d3d75=_0xd7eeac;Object[_0x2d3d75(0x1f4)](_0x175ffd['data'][Number(_0x3977ad)])[_0x2d3d75(0x1b9)](_0x48e08d=>{const _0x55457c=_0x2d3d75,_0x2a7b23={..._0x175ffd[_0x55457c(0x355)][Number(_0x3977ad)][Number(_0x48e08d)]};_0x37dd76[_0x55457c(0x241)](Number(_0x3977ad)+_0x1e80f1,Number(_0x48e08d)+_0x1f4b82,tt(_0x3c3e7f,_0x2a7b23,fe[_0x55457c(0x1e7)]));});});const _0x448e2c=Object[_0xd7eeac(0x1f4)](_0x175ffd['data'])[_0xd7eeac(0x18a)];_0x1e80f1+=_0x448e2c+(_0x448e2c?It:0x0);const _0x1a66b2=_0x1400d3[_0xd7eeac(0x10f)](),_0xa97d1c=_0x1400d3[_0xd7eeac(0x116)]();for(let _0x261c2c=0x0;_0x261c2c<_0x1a66b2;_0x261c2c++)for(let _0x36d658=0x0;_0x36d658<_0xa97d1c;_0x36d658++){const _0x328fb1={...(_0x5e0705=(_0x189725=_0x1400d3[_0xd7eeac(0x355)])==null?void 0x0:_0x189725[_0x261c2c])==null?void 0x0:_0x5e0705[_0x36d658]};_0x328fb1&&((_0x2388fe=_0x1237fb[_0xd7eeac(0x19c)][_0x36d658])!=null&&_0x2388fe['isValue'])&&_0x36d658===_0xa97d1c-0x1&&_0x261c2c===_0x1a66b2-0x1&&(_0x328fb1['v']=''+_0x5211d5[_0xd7eeac(0x1fc)]),_0x37dd76['setValue'](_0x261c2c+_0x1e80f1,_0x36d658+_0x1f4b82,tt(_0x3c3e7f,_0x328fb1,fe[_0xd7eeac(0x20b)]));}for(let _0x1a3f5f=0x0;_0x1a3f5f<_0x1400d3[_0xd7eeac(0x215)][_0xd7eeac(0x18a)];_0x1a3f5f++)_0x1400d3[_0xd7eeac(0x215)][_0x1a3f5f]&&(_0x460175[''+(_0x1a3f5f+_0x1f4b82)]=_0x1400d3[_0xd7eeac(0x215)][_0x1a3f5f]);_0x1f4b82+=_0xa97d1c;const _0xe0d8af=_0xd9a157['headerMap'],_0x5cd858=_0xd9a157[_0xd7eeac(0x14d)]()>=0x0?_0xd9a157[_0xd7eeac(0x14d)]()+0x1:0x0,_0x2d919a=_0xd9a157['getLastCol']()>=0x0?_0xd9a157[_0xd7eeac(0x2ad)]()+0x1:0x0;for(let _0xe7d9b8=0x0;_0xe7d9b8<_0x2d919a;_0xe7d9b8++){for(let _0x5e760d=0x0;_0x5e760d<_0x5cd858;_0x5e760d++){const _0x205263={...(_0x33f71d=(_0x5e2ac3=_0xd9a157[_0xd7eeac(0x355)])==null?void 0x0:_0x5e2ac3[_0x5e760d])==null?void 0x0:_0x33f71d[_0xe7d9b8]},_0x1c1cb=(_0x4551ac=_0xe0d8af[_0x5e760d])==null?void 0x0:_0x4551ac[_0xd7eeac(0xff)],_0x49297a=_0x3a2c71[_0x1c1cb],_0x52cfa1=_0x40ae8c[_0x1c1cb];_0x205263&&(_0x205263['v']=vt(_0x205263,_0x5e760d===0x0&&((_0x254575=_0xd9a157['getHeaderMapItem'](_0xe7d9b8+0x1))==null?void 0x0:_0x254575[_0xd7eeac(0x366)]),_0x49297a,_0x5211d5));let _0x32217e;_0x49297a?_0x32217e={...fe[_0xd7eeac(0x312)],'n':{'pattern':_0x49297a}}:_0x32217e={...fe[_0xd7eeac(0x312)]},_0x37dd76[_0xd7eeac(0x241)](_0x5e760d+_0x1e80f1,_0xe7d9b8+_0x1f4b82,tt(_0x3c3e7f,_0x205263,_0x32217e,_0x52cfa1));}_0xd9a157[_0xd7eeac(0x215)][_0xe7d9b8]&&(_0x1c4395[''+(_0xe7d9b8+_0x1f4b82)]=_0xd9a157[_0xd7eeac(0x215)][_0xe7d9b8]),_0xd9a157[_0xd7eeac(0x19c)][_0xe7d9b8+0x1]&&(_0x2f39eb[''+(_0xe7d9b8+_0x1e80f1+0x1)]=_0xd9a157['headerMap'][_0xe7d9b8+0x1]);}_0x1e80f1+=_0x1a66b2;const _0x2d78f0=_0x1237fb['headerMap'],_0x45c6a=_0x1237fb['getLastRow']()>=0x0?_0x1237fb['getLastRow']()+0x1:0x0,_0x40757d=_0x1237fb[_0xd7eeac(0x2ad)]()>=0x0?_0x1237fb['getLastCol']()+0x1:0x0;for(let _0x248ce5=0x0;_0x248ce5<_0x45c6a;_0x248ce5++){for(let _0x2be382=0x0;_0x2be382<_0x40757d;_0x2be382++){const _0x5873b3={...(_0x47338d=(_0x1680b2=_0x1237fb['data'])==null?void 0x0:_0x1680b2[_0x248ce5])==null?void 0x0:_0x47338d[_0x2be382]},_0x48eee1=(_0x26abde=_0x2d78f0[_0x2be382])==null?void 0x0:_0x26abde['tableFieldId'],_0x4769bd=_0x3a2c71[_0x48eee1],_0x3db269=_0x40ae8c[_0x48eee1];_0x5873b3&&(_0x5873b3['v']=vt(_0x5873b3,!0x1,_0x4769bd,_0x5211d5));let _0x385760;_0x1237fb[_0xd7eeac(0x215)][_0x248ce5][_0xd7eeac(0x16f)]===_0x1237fb[_0xd7eeac(0x116)]()?_0x385760=fe[_0xd7eeac(0x15f)]:_0x1237fb[_0xd7eeac(0x215)][_0x248ce5]['isBottomTotal']?_0x385760=_0x1237fb[_0xd7eeac(0x215)][_0x248ce5][_0xd7eeac(0x16f)]===0x0?fe[_0xd7eeac(0x1a3)]:fe[_0xd7eeac(0x263)]:_0x385760=fe[_0xd7eeac(0x11c)],_0x4769bd&&(_0x385760={..._0x385760,'n':{'pattern':_0x4769bd}}),_0x37dd76[_0xd7eeac(0x241)](_0x248ce5+_0x1e80f1,_0x2be382+_0x3a05f4,tt(_0x3c3e7f,_0x5873b3,_0x385760,_0x3db269));}_0x1237fb[_0xd7eeac(0x215)][_0x248ce5]&&(_0x54f5f7[''+(_0x248ce5+_0x1e80f1)]=_0x1237fb[_0xd7eeac(0x215)][_0x248ce5]),_0x1237fb[_0xd7eeac(0x19c)][_0x248ce5]&&(_0x5ce727[''+(_0x248ce5+_0x3a05f4)]=_0x1237fb['headerMap'][_0x248ce5]);}const _0xcdb9dd=_0x50ec1a[_0xd7eeac(0x10f)](),_0x1681d4=_0x50ec1a['getColCount']();for(let _0x33387d=0x0;_0x33387d<_0xcdb9dd;_0x33387d++)for(let _0x5d031c=0x0;_0x5d031c<_0x1681d4;_0x5d031c++){const _0x585a0c={...(_0x38f9a4=(_0x3ce11e=_0x50ec1a[_0xd7eeac(0x355)])==null?void 0x0:_0x3ce11e[_0x33387d])==null?void 0x0:_0x38f9a4[_0x5d031c]};let _0x347313;_0x1237fb[_0xd7eeac(0x215)][_0x33387d]['isBottomTotal']?_0x347313=_0x1237fb[_0xd7eeac(0x215)][_0x33387d][_0xd7eeac(0x16f)]===0x0?fe['grandTotal']:fe[_0xd7eeac(0x263)]:_0x347313=fe[_0xd7eeac(0x106)];const _0x334d31=_0x1237fb[_0xd7eeac(0x215)][_0x33387d]['valueIndex'],_0x59328f=_0xd9a157[_0xd7eeac(0x215)][_0x5d031c]['valueIndex'],_0x1bae74=Math[_0xd7eeac(0x1eb)](_0x334d31,_0x59328f),_0x37a9fb=_0x1473c1[_0xd7eeac(0x2ed)][_0xd7eeac(0x32d)][_0xd7eeac(0x171)]();let _0x28af1a='';_0x1bae74<0x0?_0x28af1a=(_0x6e16f6=_0x37a9fb[0x0])!=null?_0x6e16f6:'':_0x28af1a=(_0x486e77=_0x37a9fb[_0x1bae74])!=null?_0x486e77:'';const _0x82a454=_0x3a2c71[_0x28af1a];_0x82a454&&(_0x347313={..._0x347313,'n':{'pattern':_0x82a454}}),_0x37dd76[_0xd7eeac(0x241)](_0x33387d+_0x1e80f1,_0x5d031c+_0x1f4b82,tt(_0x3c3e7f,_0x585a0c,_0x347313));}return{'valueMatrix':_0x37dd76,'rowInfo':_0x54f5f7,'colInfo':_0x1c4395,'cornerInfo':_0x460175,'rowHeaderMap':_0x5ce727,'colHeaderMap':_0x2f39eb};};function vt(_0x173e5a,_0x2315e0,_0x3ef237,_0x5449f3){const _0x2f4be4=_0x3f7e1b;let _0xed4268=_0x173e5a['v'];_0x2315e0&&(_0xed4268=''+_0x5449f3[_0x2f4be4(0x1fc)]);const _0x168c87=_0x173e5a['t']&&(_0x173e5a['t']&_0x53a8a4[_0x2f4be4(0x36b)])>0x0;_0x168c87&&(_0xed4268=''+_0x5449f3[_0x2f4be4(0x2ae)]);const _0x1fb037=_0x173e5a['t']&&(_0x173e5a['t']&_0x53a8a4[_0x2f4be4(0x2bf)])>0x0;if(_0x1fb037&&(_0xed4268=''+_0x5449f3[_0x2f4be4(0x1f5)]),_0x173e5a['s']===_0x3de9b5[_0x2f4be4(0x14c)]){let _0x5c58dc=_0xed4268,_0x229d54='';_0xe63bc2(_0xed4268)&&(_0x5c58dc=_0xed4268[_0x2f4be4(0x270)],_0x229d54=_0xed4268[_0x2f4be4(0x110)]);const _0x31393a=_0x3ef237&&!_0x168c87&&!_0x1fb037?_0x5480ca[_0x2f4be4(0x17c)](_0x3ef237,Number(_0x5c58dc)):_0x5c58dc;_0x229d54?_0xed4268=_0x31393a+'\x20'+_0x229d54:_0xed4268=_0x31393a+'\x20'+_0x5449f3[_0x2f4be4(0x1a9)];}else _0x173e5a['s']===_0x3de9b5['GrandTotal']&&(_0xed4268=_0xed4268+'\x20'+_0x5449f3[_0x2f4be4(0x305)]);return _0xed4268;}function Ho(_0x2fce87){const _0x4baa41=_0x3f7e1b;if(_0x5966e7(_0x2fce87)){const {errorType:_0x4b1aa8}=_0x2fce87;switch(_0x4b1aa8){case _0x261300['Div0']:return _0x583621[_0x4baa41(0x1ad)];case _0x261300[_0x4baa41(0x256)]:return _0x583621['NUM'];case _0x261300[_0x4baa41(0x1a6)]:return _0x583621[_0x4baa41(0x34b)];case _0x261300[_0x4baa41(0x1c7)]:return _0x583621[_0x4baa41(0x34b)];case _0x261300[_0x4baa41(0x154)]:return _0x583621['REF'];}}return _0x2fce87;}function ge(_0x179f04,_0x2ae653,_0x35d200=!0x1,_0x296f01=!0x1){const _0x55cc38=_0x3f7e1b,{data:_0xb194a1}=_0x2ae653,_0xb4afee=_0x2ae653[_0x55cc38(0x10f)](),_0x4e1ec3=_0x2ae653[_0x55cc38(0x116)]();if(_0xb4afee<=0x0||_0x4e1ec3<=0x0)return[];const _0x1f9044=_0x2ae653['getLastCol'](),_0x438977=_0x2ae653[_0x55cc38(0x14d)](),_0x5bb478=_0x296f01?_0x438977>=0x0?_0x438977+0x1:0x0:_0xb4afee,_0x379792=_0x296f01?_0x1f9044>=0x0?_0x1f9044+0x1:0x0:_0x4e1ec3,{row:_0x5183ab,col:_0x333f7d}=_0x179f04,_0x14f95b=_0x5183ab,_0x553a41=_0x333f7d;if(_0x35d200){const _0x4ebd29=[];for(const [_0x56614f,_0x1ef503]of Object[_0x55cc38(0x134)](_0xb194a1))for(const [_0x2a26fc,_0x56dacc]of Object['entries'](_0x1ef503))_0x4ebd29[_0x55cc38(0x144)](_0x301301(_0x14f95b+Number(_0x56614f),_0x553a41+Number(_0x2a26fc)));return _0x4ebd29;}else{const _0x2a038d=_0x296f01?_0x5bb478>0x0?0x1:0x0:0x1,_0x4b164c=_0x296f01?_0x379792>0x0?0x1:0x0:0x1,_0x3976a9=_0x5183ab+_0x5bb478-_0x2a038d,_0x1e947a=_0x333f7d+_0x379792-_0x4b164c;return[{'startRow':_0x14f95b,'startColumn':_0x553a41,'endRow':_0x3976a9,'endColumn':_0x1e947a}];}}const G='SHEET_PIVOT_IN_MAIN_THREAD',Kt=_0x3f7e1b(0x11a);var k=(_0x90d5b0=>(_0x90d5b0[_0x3f7e1b(0x20d)]=_0x3f7e1b(0x15e),_0x90d5b0[_0x3f7e1b(0x229)]=_0x3f7e1b(0x1ed),_0x90d5b0[_0x3f7e1b(0x237)]=_0x3f7e1b(0x232),_0x90d5b0[_0x3f7e1b(0x25e)]=_0x3f7e1b(0x25e),_0x90d5b0[_0x3f7e1b(0x316)]='addPivotTable',_0x90d5b0['MovePivotField']=_0x3f7e1b(0x2c5),_0x90d5b0['RemovePivotField']=_0x3f7e1b(0x337),_0x90d5b0[_0x3f7e1b(0x1ab)]=_0x3f7e1b(0x2b3),_0x90d5b0[_0x3f7e1b(0x142)]='setPivotFilter',_0x90d5b0[_0x3f7e1b(0x205)]=_0x3f7e1b(0x30f),_0x90d5b0['SetPivotSetting']=_0x3f7e1b(0x1f3),_0x90d5b0[_0x3f7e1b(0x30b)]='updatePivotSource',_0x90d5b0[_0x3f7e1b(0x362)]=_0x3f7e1b(0x276),_0x90d5b0[_0x3f7e1b(0x246)]=_0x3f7e1b(0x2b7),_0x90d5b0[_0x3f7e1b(0x2b0)]='setValuePivotFilter',_0x90d5b0[_0x3f7e1b(0x2ab)]='setPivotTableConfig',_0x90d5b0['ResetPivotTable']=_0x3f7e1b(0x1e6),_0x90d5b0))(k||{});const yi={'sheets-pivot.blankValue':_0x3f7e1b(0x155),'sheets-pivot.columnName':_0x3f7e1b(0xf6),'sheets-pivot.subTotalText':_0x3f7e1b(0x298),'sheets-pivot.grandTotalText':_0x3f7e1b(0x24a),'sheets-pivot.valueText':_0x3f7e1b(0x1ec),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x3f7e1b(0x308),'sheets-pivot.maxName':_0x3f7e1b(0x1e9),'sheets-pivot.minName':_0x3f7e1b(0x250),'sheets-pivot.productName':_0x3f7e1b(0x286),'sheets-pivot.stdDevName':_0x3f7e1b(0x1a4),'sheets-pivot.stdDevpName':_0x3f7e1b(0x136),'sheets-pivot.sumName':_0x3f7e1b(0x158),'sheets-pivot.varName':_0x3f7e1b(0x365),'sheets-pivot.varpName':_0x3f7e1b(0x267),'sheets-pivot.subTotal':_0x3f7e1b(0x14c),'sheets-pivot.grandTotal':_0x3f7e1b(0x24a),'sheets-pivot.value':_0x3f7e1b(0x110),'sheets-pivot.blank':_0x3f7e1b(0x36b),'sheets-pivot.other':_0x3f7e1b(0x2bf),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':'Values'},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x1ef967(_0x3f7e1b(0x351)),Qo=_0x2e3afd(_0x3f7e1b(0x105));var Le=(_0x4a5f86=>(_0x4a5f86[_0x3f7e1b(0x2e1)]=_0x3f7e1b(0x2e1),_0x4a5f86['delete']=_0x3f7e1b(0x11d),_0x4a5f86[_0x3f7e1b(0x16a)]=_0x3f7e1b(0x16a),_0x4a5f86))(Le||{}),B=(_0x132ee5=>(_0x132ee5[_0x3f7e1b(0x192)]=_0x3f7e1b(0x2e1),_0x132ee5[_0x3f7e1b(0x26f)]=_0x3f7e1b(0x1dd),_0x132ee5[_0x3f7e1b(0xfb)]=_0x3f7e1b(0x11d),_0x132ee5))(B||{});const ro={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x2f8),'handler':()=>!0x0},lo={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x2fa),'handler':()=>!0x0},Dt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x2f6),'handler':()=>!0x0},co={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x375b46['MUTATION'],'id':_0x3f7e1b(0x1f6),'handler':()=>!0x0};var wi=Object['getOwnPropertyDescriptor'],Ri=(_0x18f4dc,_0x5795b9,_0x35a07b,_0x38e154)=>{const _0x8f88a3=_0x3f7e1b;for(var _0x33276b=_0x38e154>0x1?void 0x0:_0x38e154?wi(_0x5795b9,_0x35a07b):_0x5795b9,_0xe8731=_0x18f4dc[_0x8f88a3(0x18a)]-0x1,_0x18dff5;_0xe8731>=0x0;_0xe8731--)(_0x18dff5=_0x18f4dc[_0xe8731])&&(_0x33276b=_0x18dff5(_0x33276b)||_0x33276b);return _0x33276b;},_i=(_0x462513,_0x262229)=>(_0x338ddb,_0x22d412)=>_0x262229(_0x338ddb,_0x22d412,_0x462513);let X=class extends _0x5c8ab1{constructor(_0x34f98c){const _0x5691d3=_0x3f7e1b;super(),N(this,'_requestResolvers',new Map()),this[_0x5691d3(0x33b)]=_0x34f98c;}['handleAsyncResponse'](_0x4f83dd){const _0x4c87dc=_0x3f7e1b,{version:_0x1ac79a}=_0x4f83dd,_0x48399a=this[_0x4c87dc(0x157)]['get'](_0x1ac79a);_0x48399a&&(_0x48399a(_0x4f83dd),this[_0x4c87dc(0x157)][_0x4c87dc(0x11d)](_0x1ac79a));}[_0x3f7e1b(0x13a)](_0x3033ee){return new Promise((_0x2dc05b,_0x3c89ed)=>{const _0x2dd006=_0x4808,_0x46eaed=this[_0x2dd006(0x24c)]();this[_0x2dd006(0x157)]['set'](_0x46eaed,_0x2dc05b),this[_0x2dd006(0x33b)][_0x2dd006(0x271)](ro['id'],{'version':_0x46eaed,..._0x3033ee},{'onlyLocal':!0x0});});}[_0x3f7e1b(0x24c)](){const _0x50a2aa=_0x3f7e1b;return Math['random']()[_0x50a2aa(0x2ea)](0x24)[_0x50a2aa(0x28f)](0x2,0x10);}};X=Ri([_i(0x0,_0xbe4270(_0x106ae8))],X);const $o={0x0:'E',0x1:'y',0x2:'6',0x3:'W',0x4:'U',0x5:'H',0x6:'q',0x7:'F',0x8:'J',0x9:'1','A':'0','p':'2','T':'3','J':'4','o':'5','v':'7','x':'8','q':'9','V':'a','a':'b','O':'c','r':'d','K':'e','h':'f','g':'g','X':'h','Y':'i','b':'j','l':'k','D':'l','U':'m','c':'n','R':'o','M':'p','H':'r','z':'s','Q':'t','P':'u','k':'v','w':'w','N':'x','G':'z','I':'A','d':'B','m':'C','i':'D','f':'G','S':'I','j':'K','Z':'L','B':'M','y':'N','s':'O','F':'P','u':'Q','t':'R','L':'S','n':'T','E':'V','C':'X','W':'Y','e':'Z'},zo='hPcOQYRc\x20rKOH1MQYRc(DYOKczK,\x20MPaDYOjK1)\x20{\x20\x20\x20\x20QH1\x20{\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20DYOKczKSchRFVHQIHHV1\x20=\x20DYOKczK.zMDYQ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20RHYgYcBKzzVgK\x20=\x208Lsy.MVHzK(VQRa(DYOKczKSchRFVHQIHHV1[p]));\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(!RHYgYcBKzzVgK.Pr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RHYgYcBKzzVgK.Pr\x20=\x20yPUaKH(DYOKczKSchRFVHQIHHV1[J]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20Yz3RHlKH\x20=\x20Q1MKRh\x203RHlKHfDRaVDLORMK\x20!==\x20\x27PcrKhYcKr\x27\x20&&\x20zKDh\x20YczQVcOKRh\x203RHlKHfDRaVDLORMK;\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20ORcQKNQ\x20=\x20Yz3RHlKH\x20?\x20zKDh\x20:\x20wYcrRw;\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20UKzzVgK3RHr\x20=\x20ORcQKNQ.__dVzK2J__.MVHzK(DYOKczKSchRFVHQIHHV1[p]);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20UKzzVgK\x20=\x20ORcQKNQ.__5KN__.zQHYcgYh1(UKzzVgK3RHr);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20zYgcVQPHK3RHr\x20=\x20ORcQKNQ.__dVzK2J__.MVHzK(DYOKczKSchRFVHQIHHV1[T]);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20zYgcVQPHK\x20=\x20ORcQKNQ.__5KN__.zQHYcgYh1(zYgcVQPHK3RHr);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20zYgcEVDYr\x20=\x20ORcQKNQ.__kKHYh1__(zYgcVQPHK,\x20UKzzVgK,\x20MPaDYOjK1);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20rRUVYc\x20=\x20RHYgYcBKzzVgK.rU;\x20\x20\x20\x20\x20\x20\x20\x20hPcOQYRc\x20YziRUVYcBVQOXYcg(RFVQQKHc,\x20R5RzQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20MVQQKHc\x20=\x20RFVQQKHc.HKMDVOK(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20XRzQ\x20=\x20R5RzQ.HKMDVOK(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20MVQQKHcFVHQz\x20=\x20MVQQKHc.zMDYQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20XRzQFVHQz\x20=\x20XRzQ.zMDYQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(!MVQQKHc.YcODPrKz(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20MVQQKHc\x20===\x20XRzQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(MVQQKHcFVHQz.DKcgQX\x20<\x20p\x20||\x20MVQQKHcFVHQz[A]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20hVDzK;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20MVQQKHcLPhhYN\x20=\x20MVQQKHcFVHQz.zDYOK(9).bRYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20XRzQLPhhYN\x20=\x20XRzQFVHQz.zDYOK(-MVQQKHcFVHQz.DKcgQX\x20+\x209).bRYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20MVQQKHcLPhhYN\x20===\x20XRzQLPhhYN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DKQ\x20rRUVYcEVDYr\x20=\x20(rRUVYc\x20&&\x20rRUVYc.DKcgQX)\x20?\x20rRUVYc.zRUK((rUSQKU)\x20=>\x20YziRUVYcBVQOXYcg(rUSQKU,\x20DROVQYRc.XRzQcVUK))\x20:\x20QHPK;\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(DROVQYRc.XRzQcVUK\x20===\x20\x27DROVDXRzQ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rRUVYcEVDYr\x20=\x20QHPK;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20kVDYr\x20=\x20zYgcEVDYr\x20&&\x20rRUVYcEVDYr;\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kVDYr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UKzzVgK:\x20RHYgYcBKzzVgK,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20OVQOX\x20(KHHRH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kVDYr:\x20hVDzK,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UKzzVgK:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',Fi=_0xd746a1=>{const _0x4f58b4=_0x3f7e1b;var _0x1ca3bc;return((_0x1ca3bc=_0xd746a1[_0x4f58b4(0x18e)])==null?void 0x0:_0x1ca3bc[_0x4f58b4(0x254)]['replace'](/\r\n$/,''))||'';};class Di extends _0x426fa6{constructor(_0x2e2365,_0x1a723a){const _0x40ca55=_0x3f7e1b;super(),N(this,_0x40ca55(0x328),{}),N(this,'_univerInstanceService'),N(this,_0x40ca55(0x1e5)),(this[_0x40ca55(0x319)]=_0x1a723a,this[_0x40ca55(0x1e5)]=_0x2e2365);}['initDataRanges'](){const _0x94a211=_0x3f7e1b;for(const _0x45473b in this[_0x94a211(0x225)]){const _0x599aa1=this[_0x94a211(0x225)][_0x45473b],_0x263eea=_0x599aa1[_0x94a211(0x1e1)]();this['rangeKeyMap'][_0x263eea]=_0x599aa1['getId']();}}[_0x3f7e1b(0x36e)](){const _0x3314e3=_0x3f7e1b,_0x284ce1=this[_0x3314e3(0x1e5)];return Ai[_0x3314e3(0x28a)](_0x284ce1);}[_0x3f7e1b(0x19b)](_0x3081dc){const _0x4eaded=_0x3f7e1b,_0x1dd31b=this[_0x4eaded(0x225)][_0x3081dc][_0x4eaded(0x327)];delete this[_0x4eaded(0x225)][_0x3081dc],delete this[_0x4eaded(0x328)][_0x1dd31b];}[_0x3f7e1b(0x185)](_0x2b842a){const _0x195295=_0x3f7e1b;this[_0x195295(0x225)][_0x2b842a['getId']()]=_0x2b842a;}[_0x3f7e1b(0x268)](_0x103fb0){const _0x3fe3a1=_0x3f7e1b;var _0x2da5d1,_0xc46c9f;const _0x47d144=this[_0x3fe3a1(0x1e5)][_0x3fe3a1(0x138)](_0x103fb0);if(_0x47d144){const {unitId:_0x249346,subUnitId:_0x5dec96}=_0x47d144,_0x4478d1=(_0x2da5d1=this['_host']['getPivotTableConfig'](_0x249346,_0x5dec96,_0x103fb0))==null?void 0x0:_0x2da5d1[_0x3fe3a1(0x207)];this['_host']['broadcastCollectionChange']({'token':_0x103fb0,'type':Le[_0x3fe3a1(0x11d)],'dataRangeInfo':_0x4478d1});}(_0xc46c9f=this[_0x3fe3a1(0x28b)](_0x103fb0))==null||_0xc46c9f[_0x3fe3a1(0x20e)](),delete this[_0x3fe3a1(0x33a)][_0x103fb0];}[_0x3f7e1b(0x1e1)](_0x43a6e2,_0x44765d){const {sheetName:_0x16293d,unitId:_0x4b0a52,range:_0x2d6dee}=_0x43a6e2,{startRow:_0x12f594,endRow:_0x69ae60}=_0x2d6dee;return _0x22710b(_0x4b0a52,_0x16293d,{'startRow':_0x12f594,'endRow':_0x69ae60,'startColumn':_0x44765d,'endColumn':_0x44765d});}[_0x3f7e1b(0x2e8)](_0x3184f3){const _0x243673=_0x3f7e1b;return this[_0x243673(0x225)][this['rangeKeyMap'][_0x3184f3]];}[_0x3f7e1b(0x291)](_0x17d622,_0x593802){const _0xfcc6d7=_0x3f7e1b;this[_0xfcc6d7(0x328)][_0x17d622]=_0x593802;}['updateRangeKeyMap'](_0xec0ae8,_0x35697d){const _0x29513d=_0x3f7e1b;this[_0x29513d(0x328)][_0x35697d]=this[_0x29513d(0x328)][_0xec0ae8],delete this[_0x29513d(0x328)][_0xec0ae8];}['addCollectionByJSON'](_0x1b1939,_0x23d130,_0xfcec45,_0x4c9777){const _0x26fc47=_0x3f7e1b,_0x27d9de=new _0x10aa9e(this);_0x27d9de[_0x26fc47(0x22b)](_0x23d130);const _0x571952=[];let _0x4a00ff=0x0;for(const _0x31bc42 of _0x27d9de['fieldIds']){const _0x33afbb=this[_0x26fc47(0x1e1)](_0xfcec45,_0x4a00ff),_0x286c22=this['dataFields'][_0x31bc42];_0x286c22&&(_0x286c22['rangeKey']=_0x33afbb,this[_0x26fc47(0x291)](_0x33afbb,_0x31bc42),_0x571952['push']({'index':_0x4a00ff,'dataField':_0x286c22})),_0x4a00ff++;}return this['addCollection'](_0x1b1939,_0x27d9de,_0xfcec45,_0x4c9777),{'collection':_0x27d9de,'updateDataFieldList':_0x571952};}[_0x3f7e1b(0x344)](_0x121d8f,_0x1078c6){const _0x530f58=_0x3f7e1b;return _0x121d8f[_0x530f58(0x320)]===_0x12eba8[_0x530f58(0x25c)]?{'startRow':0x0,'startColumn':_0x121d8f[_0x530f58(0x2d3)],'endRow':_0x1078c6[_0x530f58(0x10f)]()-0x1,'endColumn':_0x121d8f[_0x530f58(0x31f)]}:{'startRow':_0x121d8f[_0x530f58(0x375)],'startColumn':_0x121d8f[_0x530f58(0x2d3)],'endRow':_0x121d8f['endRow'],'endColumn':_0x121d8f[_0x530f58(0x31f)]};}['createCollectionWithDataRange'](_0x412735){const _0x7ec4d=_0x3f7e1b,{sheetName:_0x22875f,range:_0x112428}=_0x412735,_0x24959d=this[_0x7ec4d(0x319)][_0x7ec4d(0x358)](_0x5bedd4[_0x7ec4d(0x117)]),_0x1e8152=_0x24959d[_0x7ec4d(0x184)](_0x22875f),_0x1b82e1=_0x1e8152[_0x7ec4d(0x1ef)](),{startColumn:_0x1dab4f,startRow:_0x4eaec3,endColumn:_0x358433}=this[_0x7ec4d(0x344)](_0x112428,_0x1e8152),_0x3e7c13=_0x24959d[_0x7ec4d(0x2b8)](),_0x3a3a45=new _0x10aa9e(this);_0x3a3a45[_0x7ec4d(0x1ff)](_0x412735);const _0x1ade8b=[],_0x4e70d9={};for(let _0x1a546d=_0x1dab4f;_0x1a546d<=_0x358433;_0x1a546d++){const _0x1d12be=_0x1b82e1[_0x7ec4d(0x100)](_0x4eaec3,_0x1a546d),_0x439915=this[_0x7ec4d(0x1e1)](_0x412735,_0x1a546d),_0x1fa317=this[_0x7ec4d(0x2e8)](_0x439915);if(_0x1fa317)_0x3a3a45['addField'](_0x1fa317['getId'](),_0x1fa317[_0x7ec4d(0x137)]());else{const _0x1b7462=this[_0x7ec4d(0x1cb)]();let _0x4daf9f=this[_0x7ec4d(0x169)](_0x1d12be,_0x3e7c13,_0x4e70d9);_0x2acf58(_0x4daf9f)&&(_0x4daf9f=_0x5480ca[_0x7ec4d(0x17c)](_0x4daf9f['f'],Number(_0x4daf9f['v'])));const _0x1db50d=this[_0x7ec4d(0x19a)](_0x4daf9f,_0x1a546d),_0x425fcd=new _0x3c4ec7(_0x1b7462,_0x1db50d,_0x40f965(0x3));_0x425fcd[_0x7ec4d(0x327)]=_0x439915,this[_0x7ec4d(0x225)][_0x1b7462]=_0x425fcd,_0x3a3a45['addField'](_0x1b7462,_0x1db50d),_0x1ade8b[_0x7ec4d(0x144)]({'index':_0x1a546d,'dataField':_0x425fcd});}}return{'updateDataFieldList':_0x1ade8b,'collection':_0x3a3a45};}['_getAutoName'](_0x18f61e){const _0xd88d4b=_0x3f7e1b;return this[_0xd88d4b(0x1e5)][_0xd88d4b(0x16c)]()[_0xd88d4b(0x347)]+'\x20'+_0x3780e8(_0x18f61e);}[_0x3f7e1b(0x19a)](_0x57a052,_0x275ec6){return _0x57a052==null||_0x57a052===''?this['_getAutoName'](_0x275ec6):String(_0x57a052);}[_0x3f7e1b(0x28b)](_0x56827e){const _0x14adf8=_0x3f7e1b;return this[_0x14adf8(0x33a)][_0x56827e];}[_0x3f7e1b(0x2ca)](_0x2e408e,_0x269208,_0x468544,_0x5aec34){const _0x157c10=_0x3f7e1b;this[_0x157c10(0x33a)][_0x2e408e]=_0x269208,_0x269208[_0x157c10(0x1ff)](_0x468544),this[_0x157c10(0x1e5)]['broadcastCollectionChange']({'token':_0x2e408e,'type':Le[_0x157c10(0x2e1)],'dataRangeInfo':_0x468544,'targetCellInfo':_0x5aec34});}[_0x3f7e1b(0x36a)](_0x16a989,_0x4122e9){const _0x2898df=_0x3f7e1b,_0x57f7d2=this[_0x2898df(0x28b)](_0x16a989),_0x5846af=_0x57f7d2[_0x2898df(0x29a)]();let _0xd58e6f=0x0;for(const _0xa9d8e2 of _0x5846af){const _0x5d5aa5=_0x57f7d2[_0x2898df(0x32b)](_0xa9d8e2),_0x3d802e=this['getRangeKey'](_0x4122e9,_0xd58e6f);this[_0x2898df(0x23b)](_0x5d5aa5['rangeKey'],_0x3d802e),_0xd58e6f++;}}[_0x3f7e1b(0x234)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x3f7e1b(0x166)](_0x406d72,_0xaf01dd){const _0x382aa3=_0x3f7e1b;if(this[_0x382aa3(0x28b)](_0x406d72)){const _0x50037c=this['getRangeKeyList'](_0xaf01dd),_0x376050=[];for(const _0x4bfe31 of _0x50037c)this[_0x382aa3(0x328)][_0x4bfe31]!==void 0x0&&_0x376050[_0x382aa3(0x144)](this[_0x382aa3(0x328)][_0x4bfe31]);const _0x2f009c=this[_0x382aa3(0x127)](_0x406d72),_0x124dea=[],_0x29fb78=new Set(_0x376050);for(const _0x4ffb71 of _0x2f009c)_0x29fb78[_0x382aa3(0x130)](_0x4ffb71)||_0x124dea[_0x382aa3(0x144)](_0x4ffb71);return _0x124dea;}}[_0x3f7e1b(0x36d)](_0x4a13b4,_0x2508bc,_0x3c518e,_0x1a9db3,_0xf1ad95){const _0x2d2183=_0x3f7e1b;return _0x2508bc&&_0x2508bc[_0x2d2183(0x100)](_0x1a9db3,_0xf1ad95)?_0x2508bc[_0x2d2183(0x100)](_0x1a9db3,_0xf1ad95):_0x3c518e&&_0x3c518e[_0x2d2183(0x100)](_0x1a9db3,_0xf1ad95)?_0x3c518e[_0x2d2183(0x100)](_0x1a9db3,_0xf1ad95):_0x4a13b4['getValue'](_0x1a9db3,_0xf1ad95);}[_0x3f7e1b(0x1ba)](_0x520cb2,_0x4be3c8,_0x206c82,_0x30747e){const _0xd99f3=_0x3f7e1b,_0x1c91d8=this['dataFields'][_0x520cb2];if(!_0x1c91d8)return;const {subUnitId:_0x60f1f3,range:_0x3edfb6,unitId:_0x465758}=_0x4be3c8,_0x5696a4=this[_0xd99f3(0x319)][_0xd99f3(0x2a8)](_0x465758);if(!_0x5696a4){console[_0xd99f3(0x23c)]('workbook\x20is\x20not\x20found');return;}const _0x236faa=_0x5696a4[_0xd99f3(0x222)](_0x60f1f3),_0x4325e3=_0x236faa[_0xd99f3(0x1ef)](),{arrayFormulaCellDataMatrix:_0x1b70b,unitDataMatrix:_0x12379f}=_0x30747e||{},{startRow:_0x1b1d1c,startColumn:_0x58d5f4,endRow:_0x305260}=this[_0xd99f3(0x344)](_0x3edfb6,_0x236faa);_0x1c91d8['reset']();const _0x404336=_0x5696a4[_0xd99f3(0x2b8)](),_0x186cf3={},_0x317da5=this[_0xd99f3(0x36d)](_0x4325e3,_0x1b70b,_0x12379f,_0x1b1d1c,_0x58d5f4+_0x206c82);let _0x37ba70=this[_0xd99f3(0x169)](_0x317da5,_0x404336,_0x186cf3);_0x2acf58(_0x37ba70)&&(_0x37ba70=_0x5480ca[_0xd99f3(0x17c)](_0x37ba70['f'],Number(_0x37ba70['v'])));const _0xfcc9e0=this[_0xd99f3(0x19a)](_0x37ba70,_0x58d5f4+_0x206c82);_0x1c91d8[_0xd99f3(0x26d)](_0xfcc9e0);for(let _0x25caad=_0x1b1d1c+0x1;_0x25caad<=_0x305260;_0x25caad++){const _0x27a5db=this[_0xd99f3(0x36d)](_0x4325e3,_0x1b70b,_0x12379f,_0x25caad,_0x58d5f4+_0x206c82);_0x1c91d8['addRecord'](this[_0xd99f3(0x169)](_0x27a5db,_0x404336,_0x186cf3),_0x25caad-0x1-_0x1b1d1c);}}[_0x3f7e1b(0x153)](_0x595134,_0x467a46,_0x4b30e7){const _0x3ace6d=_0x3f7e1b,{subUnitId:_0x3d40e3,range:_0x3a82ff,unitId:_0x3f737c}=_0x4b30e7,_0x570b8c=this['_univerInstanceService'][_0x3ace6d(0x2a8)](_0x3f737c);if(!_0x570b8c){console['error'](_0x3ace6d(0x1b8));return;}const _0xc81536=_0x570b8c[_0x3ace6d(0x222)](_0x3d40e3),_0x27c5d9=_0xc81536[_0x3ace6d(0x1ef)](),{startRow:_0x230475,startColumn:_0x2e065c,endRow:_0x1c54a3}=this[_0x3ace6d(0x344)](_0x3a82ff,_0xc81536),_0x47ca2c=_0x570b8c[_0x3ace6d(0x2b8)](),_0x23f15b={};for(const {dataField:_0x591a82,index:_0x212bfc}of _0x467a46){_0x591a82['reset']();const _0xcc155b=this['getMatrixValue'](_0x27c5d9,void 0x0,void 0x0,_0x230475,_0x2e065c+_0x212bfc);let _0x50acec=this[_0x3ace6d(0x169)](_0xcc155b,_0x47ca2c,_0x23f15b);_0x2acf58(_0x50acec)&&(_0x50acec=_0x5480ca[_0x3ace6d(0x17c)](_0x50acec['f'],Number(_0x50acec['v'])));const _0x4abbcd=this[_0x3ace6d(0x19a)](_0x50acec,_0x2e065c+_0x212bfc);_0x591a82[_0x3ace6d(0x26d)](_0x4abbcd);}_0x595134['updateAllDisplayName']();for(let _0xc0dc4f=_0x230475+0x1;_0xc0dc4f<=_0x1c54a3;_0xc0dc4f++)for(const {index:_0x1f2793,dataField:_0x35d863}of _0x467a46){const _0x511f16=_0x27c5d9[_0x3ace6d(0x100)](_0xc0dc4f,_0x2e065c+_0x1f2793);_0x35d863[_0x3ace6d(0x126)](this['adjustSheetCellData'](_0x511f16,_0x47ca2c,_0x23f15b),_0xc0dc4f-0x1-_0x230475);}_0x595134[_0x3ace6d(0x167)](_0x1c54a3-_0x230475);}[_0x3f7e1b(0x289)](_0x4283d0){const _0x383769=_0x3f7e1b,{range:_0x1a3429}=_0x4283d0,{startColumn:_0x22b24a,endColumn:_0x596475}=_0x1a3429,_0x477d79=[];for(let _0xf08a98=_0x22b24a;_0xf08a98<=_0x596475;_0xf08a98++)_0x477d79[_0x383769(0x144)](this[_0x383769(0x1e1)](_0x4283d0,_0xf08a98));return _0x477d79;}['adjustSheetCellData'](_0x86cb77,_0x4b5581,_0x1993ab){const _0x43aa45=_0x3f7e1b;if(_0x86cb77){const {s:_0x4d2f44,v:_0x1f2059,t:_0xee5b41,p:_0x4c0a41}=_0x86cb77;if(_0x4c0a41)return Fi(_0x4c0a41);const _0x90db14=_0x4b5581[_0x43aa45(0x1f2)](_0x4d2f44);if(_0x90db14&&_0xee5b41===_0x37f91f[_0x43aa45(0x22d)]&&_0x90db14['n']){const {pattern:_0x4db15f}=_0x90db14['n'];_0x1993ab[_0x4db15f]||(_0x1993ab[_0x4db15f]=_0x5480ca[_0x43aa45(0x2d1)](_0x4db15f));const _0x253dda=_0x1993ab[_0x4db15f],_0x23367f=_0x253dda[_0x43aa45(0x297)];if(_0x253dda[_0x43aa45(0x243)])return String(_0x1f2059);if(_0x23367f)return{'v':_0x1f2059,'f':_0x4db15f};}if(_0xee5b41===_0x37f91f[_0x43aa45(0x22d)])return Number(_0x1f2059);if(_0xee5b41===_0x37f91f[_0x43aa45(0x2f3)]||_0xee5b41===_0x37f91f[_0x43aa45(0x175)])return String(_0x1f2059);if(_0xee5b41===void 0x0){const _0x225891=Number(_0x1f2059);if(!Number[_0x43aa45(0x113)](_0x225891)&&String(_0x225891)===_0x1f2059)return _0x225891;}return _0x1f2059!=null?_0x1f2059:null;}else return null;}[_0x3f7e1b(0x2a6)](_0x2d8ee5){const _0x4b074a=_0x3f7e1b,{sheetName:_0x356fd3,range:_0x16eca0,unitId:_0x54038f}=_0x2d8ee5,_0x1ee199=this[_0x4b074a(0x319)]['getUnit'](_0x54038f);if(!_0x1ee199)return console[_0x4b074a(0x23c)](_0x4b074a(0x1b8)),{'header':[],'data':[]};const _0x2eff14=_0x1ee199['getSheetBySheetName'](_0x356fd3),_0x13a1f3=_0x2eff14[_0x4b074a(0x1ef)](),{startRow:_0x219d8e,startColumn:_0x17db91,endRow:_0x598beb,endColumn:_0x72465e}=this['getRangeStartEndInfo'](_0x16eca0,_0x2eff14),_0x521706=_0x1ee199[_0x4b074a(0x2b8)](),_0x134f43=[],_0xb98ead=[],_0x415577={};for(let _0x1e78c7=_0x219d8e;_0x1e78c7<=_0x598beb;_0x1e78c7++){const _0x23690d=[];for(let _0x1822c6=_0x17db91;_0x1822c6<=_0x72465e;_0x1822c6++){const _0x39f3f1=_0x13a1f3['getValue'](_0x1e78c7,_0x1822c6);_0x1e78c7===_0x219d8e?_0x134f43[_0x4b074a(0x144)](_0x39f3f1==null?null:String(_0x39f3f1['v'])):_0x23690d[_0x4b074a(0x144)](this[_0x4b074a(0x169)](_0x39f3f1,_0x521706,_0x415577));}_0xb98ead['push'](_0x23690d);}return{'header':_0x134f43,'data':_0xb98ead};}[_0x3f7e1b(0x132)](){return super['toJSON']();}[_0x3f7e1b(0x22b)](_0x2d60f6){const _0x4dad24=_0x3f7e1b;super[_0x4dad24(0x22b)](_0x2d60f6),this[_0x4dad24(0x2ff)]();}[_0x3f7e1b(0x20e)](){const _0x9dfeef=_0x3f7e1b;super[_0x9dfeef(0x20e)](),this['rangeKeyMap']={},this[_0x9dfeef(0x1e5)]=null;}}const Vi=_0x3799f2=>{const _0x59d7a6=_0x3f7e1b,{targetCellInfo:_0x8a7d2f}=_0x3799f2,{matrixCache:_0x2fee83,rangesCache:_0x287c1d}=Yo({'filter':_0x59d7a6(0x20d),'row':'Row','column':_0x59d7a6(0x21c),'values':'Values'},_0x8a7d2f),_0x3bd427=new _0x1e8df5();return _0x2fee83['forValue']((_0x3ef2a0,_0x539ed5,_0xa3ad40)=>{const _0xbad9e3=_0x59d7a6;_0x3bd427[_0xbad9e3(0x241)](_0x3ef2a0,_0x539ed5,_0xa3ad40);}),{'matrix':_0x3bd427,'rangesCache':_0x287c1d};},ot=_0x51dea2=>{const _0x52a146=_0x3f7e1b;let _0xf76335;if(_0x51dea2!=null&&_0x51dea2['v']||(_0x51dea2==null?void 0x0:_0x51dea2['v'])===0x0){_0xf76335||(_0xf76335={});const _0x3e9eab=Ho(_0x51dea2['v']);typeof _0x3e9eab==_0x52a146(0x1fb)?_0xf76335['t']=_0x37f91f[_0x52a146(0x22d)]:typeof _0x3e9eab==_0x52a146(0x274)&&(_0xf76335['t']=_0x37f91f[_0x52a146(0x2f3)]),_0xf76335['v']=_0x3e9eab;}return _0xf76335;},Ni=(_0x58eca4,_0x3c8ac1,_0x26159b)=>{const _0x2a9331=_0x3f7e1b;var _0x2b0df6,_0x587d42,_0x5c261e,_0x465d40,_0x1d9558,_0x4e29e2,_0x3a4a5d,_0x40618c,_0x5e0387,_0x1559dc,_0x4042c,_0x13abd9;const {cornerView:_0x41b3f6,rowView:_0x4fc7c6,colView:_0x3e68ec,dataView:_0x55cc70,pageView:_0x1ac765,formatMap:_0x488b35}=_0x58eca4,{row:_0x3182d7,col:_0x1b413a}=_0x3c8ac1,_0x587d3f=new _0x1e8df5();let _0x459367=_0x3182d7,_0x46f56e=_0x1b413a;Object[_0x2a9331(0x1f4)](_0x1ac765[_0x2a9331(0x355)])[_0x2a9331(0x1b9)](_0x4f40bf=>{const _0x2696d9=_0x2a9331;Object[_0x2696d9(0x1f4)](_0x1ac765['data'][Number(_0x4f40bf)])[_0x2696d9(0x1b9)](_0x12d0da=>{const _0x3e4d19=_0x2696d9,_0x5d7808={..._0x1ac765[_0x3e4d19(0x355)][Number(_0x4f40bf)][Number(_0x12d0da)]};_0x587d3f[_0x3e4d19(0x241)](Number(_0x4f40bf)+_0x459367,Number(_0x12d0da)+_0x46f56e,ot(_0x5d7808));});});const _0x26f445=Object[_0x2a9331(0x1f4)](_0x1ac765[_0x2a9331(0x355)])['length'];_0x459367+=_0x26f445+(_0x26f445?It:0x0);const _0x59b446=_0x41b3f6[_0x2a9331(0x10f)](),_0x4dc6f2=_0x41b3f6[_0x2a9331(0x116)]();for(let _0x5d62b1=0x0;_0x5d62b1<_0x59b446;_0x5d62b1++)for(let _0x20b93a=0x0;_0x20b93a<_0x4dc6f2;_0x20b93a++){const _0x1e2b45={...(_0x587d42=(_0x2b0df6=_0x41b3f6['data'])==null?void 0x0:_0x2b0df6[_0x5d62b1])==null?void 0x0:_0x587d42[_0x20b93a]};_0x1e2b45&&((_0x5c261e=_0x4fc7c6['headerMap'][_0x20b93a])!=null&&_0x5c261e[_0x2a9331(0x366)])&&_0x20b93a===_0x4dc6f2-0x1&&_0x5d62b1===_0x59b446-0x1&&(_0x1e2b45['v']=''+_0x26159b['sheets-pivot.value']),_0x587d3f['setValue'](_0x5d62b1+_0x459367,_0x20b93a+_0x46f56e,ot(_0x1e2b45));}_0x46f56e+=_0x4dc6f2;const _0x3c01a9=_0x3e68ec[_0x2a9331(0x19c)],_0xdd33e7=_0x3e68ec[_0x2a9331(0x14d)]()>=0x0?_0x3e68ec['getLastRow']()+0x1:0x0,_0x31b0b4=_0x3e68ec[_0x2a9331(0x2ad)]()>=0x0?_0x3e68ec[_0x2a9331(0x2ad)]()+0x1:0x0;for(let _0x290a4a=0x0;_0x290a4a<_0x31b0b4;_0x290a4a++)for(let _0x2bfc77=0x0;_0x2bfc77<_0xdd33e7;_0x2bfc77++){const _0x54376b={...(_0x1d9558=(_0x465d40=_0x3e68ec[_0x2a9331(0x355)])==null?void 0x0:_0x465d40[_0x290a4a])==null?void 0x0:_0x1d9558[_0x2bfc77]},_0x5765c6=(_0x4e29e2=_0x3c01a9[_0x290a4a])==null?void 0x0:_0x4e29e2[_0x2a9331(0xff)],_0xa907d9=_0x488b35[_0x5765c6];_0x54376b&&(_0x54376b['v']=vt(_0x54376b,_0x290a4a===0x0&&((_0x3a4a5d=_0x3e68ec[_0x2a9331(0x22f)](_0x2bfc77+0x1))==null?void 0x0:_0x3a4a5d['isValue']),_0xa907d9,_0x26159b)),_0x587d3f[_0x2a9331(0x241)](_0x290a4a+_0x459367,_0x2bfc77+_0x46f56e,ot(_0x54376b));}_0x459367+=_0x59b446;const _0x4b9d47=_0x4fc7c6['headerMap'],_0x37296e=_0x4fc7c6[_0x2a9331(0x14d)]()>=0x0?_0x4fc7c6[_0x2a9331(0x14d)]()+0x1:0x0,_0x2242f7=_0x4fc7c6[_0x2a9331(0x2ad)]()>=0x0?_0x4fc7c6['getLastCol']()+0x1:0x0;for(let _0x52ccf8=0x0;_0x52ccf8<_0x37296e;_0x52ccf8++)for(let _0x40ff07=0x0;_0x40ff07<_0x2242f7;_0x40ff07++){const _0x83ecfe={...(_0x5e0387=(_0x40618c=_0x4fc7c6[_0x2a9331(0x355)])==null?void 0x0:_0x40618c[_0x52ccf8])==null?void 0x0:_0x5e0387[_0x40ff07]},_0x437987=(_0x1559dc=_0x4b9d47[_0x40ff07])==null?void 0x0:_0x1559dc[_0x2a9331(0xff)],_0x381193=_0x488b35[_0x437987];_0x83ecfe&&(_0x83ecfe['v']=vt(_0x83ecfe,!0x1,_0x381193,_0x26159b)),_0x587d3f['setValue'](_0x52ccf8+_0x459367,_0x40ff07+_0x1b413a,ot(_0x83ecfe));}const _0x976018=_0x55cc70[_0x2a9331(0x10f)](),_0x2a481f=_0x55cc70[_0x2a9331(0x116)]();for(let _0x4d0985=0x0;_0x4d0985<_0x976018;_0x4d0985++)for(let _0x4f3ee2=0x0;_0x4f3ee2<_0x2a481f;_0x4f3ee2++){const _0x315448={...(_0x13abd9=(_0x4042c=_0x55cc70[_0x2a9331(0x355)])==null?void 0x0:_0x4042c[_0x4d0985])==null?void 0x0:_0x13abd9[_0x4f3ee2]};_0x587d3f[_0x2a9331(0x241)](_0x4d0985+_0x459367,_0x4f3ee2+_0x46f56e,ot(_0x315448));}return _0x587d3f;},Ui=_0x17f8ee=>{const _0x55442b=_0x3f7e1b,{view:_0x56ae9f,targetCellInfo:_0x236b2c,isEmpty:_0x5eb65b,textInfo:_0x67ea6c}=_0x17f8ee;if(_0x5eb65b)return Vi(_0x17f8ee);const {pageView:_0x3ddd5d,cornerView:_0x3f542b,rowView:_0x5c204f,colView:_0xf93900,dataView:_0x3d5579}=_0x56ae9f,_0x552aa7=ge(_0x236b2c,_0x3ddd5d,!0x0),_0x40824c=_0x3ddd5d[_0x55442b(0x348)]>=0x0?_0x3ddd5d[_0x55442b(0x348)]+0x1:0x0,_0x487bad=_0x3f542b[_0x55442b(0x10f)](),_0x4b4ffb=_0x3f542b[_0x55442b(0x116)](),_0x50279b=_0x552aa7[_0x55442b(0x18a)]>0x0?It:0x0,_0x3b196e=ge({'row':_0x236b2c[_0x55442b(0x12d)]+_0x40824c+_0x50279b,'col':_0x236b2c[_0x55442b(0x1d8)]},_0x3f542b,!0x1,!0x1),_0x119ae0=ge({'row':_0x236b2c[_0x55442b(0x12d)]+_0x40824c+_0x50279b+_0x487bad,'col':_0x236b2c[_0x55442b(0x1d8)]},_0x5c204f,!0x1,!0x0),_0x52ab5c=ge({'row':_0x236b2c[_0x55442b(0x12d)]+_0x40824c+_0x50279b,'col':_0x236b2c[_0x55442b(0x1d8)]+_0x4b4ffb},_0xf93900,!0x1,!0x0),_0x3e07d3=ge({'row':_0x236b2c['row']+_0x40824c+_0x50279b+_0x487bad,'col':_0x236b2c['col']+_0x4b4ffb},_0x3d5579,!0x1,!0x1),_0x31e5b2={'rowRanges':_0x119ae0,'colRanges':_0x52ab5c,'cornerRanges':_0x3b196e,'dataRanges':_0x3e07d3,'pageRanges':_0x552aa7};return{'matrix':Ni(_0x56ae9f,_0x236b2c,_0x67ea6c),'rangesCache':_0x31e5b2};};var Oi=Object['getOwnPropertyDescriptor'],Ei=(_0x3ca763,_0xcd1809,_0x29067f,_0x22b88e)=>{const _0x510e9e=_0x3f7e1b;for(var _0x1578c4=_0x22b88e>0x1?void 0x0:_0x22b88e?Oi(_0xcd1809,_0x29067f):_0xcd1809,_0x4c23b5=_0x3ca763[_0x510e9e(0x18a)]-0x1,_0x350887;_0x4c23b5>=0x0;_0x4c23b5--)(_0x350887=_0x3ca763[_0x4c23b5])&&(_0x1578c4=_0x350887(_0x1578c4)||_0x1578c4);return _0x1578c4;},nt=(_0x2be6b1,_0x59f3aa)=>(_0x2a2ebb,_0x2eb13d)=>_0x59f3aa(_0x2a2ebb,_0x2eb13d,_0x2be6b1);let H=class extends _0x5c8ab1{constructor(_0x5e5200,_0x119e75,_0x5c452e,_0x104344,_0x2cea92){const _0x385dba=_0x3f7e1b;super(),N(this,'_model',new Map()),N(this,'_pivotTableInstanceCache',new Map()),N(this,'_viewData',new Map()),N(this,_0x385dba(0x204)),N(this,_0x385dba(0x201),new _0xd2eb14()),N(this,_0x385dba(0x324),this[_0x385dba(0x201)][_0x385dba(0x1d3)]()),N(this,_0x385dba(0x27f),new _0xd2eb14()),N(this,_0x385dba(0x13b),this[_0x385dba(0x27f)][_0x385dba(0x1d3)]()),N(this,_0x385dba(0x33e),new _0xd2eb14()),N(this,'fieldsCollectionChange$',this[_0x385dba(0x33e)][_0x385dba(0x1d3)]()),N(this,_0x385dba(0x18d),new Map()),N(this,'needSameDeleteModel',[]),N(this,_0x385dba(0x2a5),new Map()),(this[_0x385dba(0x203)]=_0x5e5200,this[_0x385dba(0x319)]=_0x119e75,this[_0x385dba(0x35f)]=_0x5c452e,this[_0x385dba(0x33b)]=_0x104344,this[_0x385dba(0x2a9)]=_0x2cea92,this[_0x385dba(0x161)]());}[_0x3f7e1b(0x16c)](){const _0x52c49f=_0x3f7e1b;return this[_0x52c49f(0x204)]?this[_0x52c49f(0x204)]:yi;}[_0x3f7e1b(0x2af)](_0x1922c7){const _0x540a5d=_0x3f7e1b;this[_0x540a5d(0x204)]=_0x1922c7;}[_0x3f7e1b(0x36a)](_0x29ca4a){const _0x385712=_0x3f7e1b;var _0x109512;const {from:_0x5e6c81,to:_0x3e372f,unitId:_0x452603,fromRange:_0x40774a,toRange:_0x2d4964}=_0x29ca4a;if(_0x5e6c81&&_0x3e372f){const _0x55e209=this[_0x385712(0x2e2)](_0x452603),_0x54def9=this[_0x385712(0x294)][_0x385712(0x1f2)](_0x452603),_0x2ac97c=(_0x109512=this[_0x385712(0x319)][_0x385712(0x2a8)](_0x452603))==null?void 0x0:_0x109512[_0x385712(0x222)](_0x3e372f[_0x385712(0x21e)]);if(!_0x54def9||!_0x2ac97c)return;const _0x549f25=_0x2ac97c==null?void 0x0:_0x2ac97c['getName']();for(const [_0x2b3a6c,_0x402ac5]of _0x54def9['entries']())for(const [_0x112084,_0x133473]of _0x402ac5['entries']()){const {sourceRangeInfo:_0x5efecc}=_0x133473;if(_0x5efecc[_0x385712(0x29f)]===_0x452603&&_0x5efecc[_0x385712(0x21e)]===_0x5e6c81['subUnitId']&&_0x58ac80[_0x385712(0x160)](_0x40774a,_0x5efecc[_0x385712(0x191)])){const _0xccb35e={'row':_0x5efecc[_0x385712(0x191)][_0x385712(0x375)]-_0x40774a[_0x385712(0x375)],'col':_0x5efecc[_0x385712(0x191)]['startColumn']-_0x40774a[_0x385712(0x2d3)]},_0x8e27a6={'unitId':_0x452603,'subUnitId':_0x3e372f[_0x385712(0x21e)],'sheetName':_0x549f25,'range':{'startRow':_0x2d4964[_0x385712(0x375)]+_0xccb35e['row'],'endRow':_0x2d4964[_0x385712(0x375)]+_0xccb35e['row']+_0x5efecc['range'][_0x385712(0x213)]-_0x5efecc[_0x385712(0x191)][_0x385712(0x375)],'startColumn':_0x2d4964['startColumn']+_0xccb35e['col'],'endColumn':_0x2d4964['startColumn']+_0xccb35e[_0x385712(0x1d8)]+_0x5efecc[_0x385712(0x191)]['endColumn']-_0x5efecc['range'][_0x385712(0x2d3)]}};_0x55e209[_0x385712(0x36a)](_0x112084,_0x8e27a6);const _0x233706={..._0x133473,'sourceRangeInfo':_0x8e27a6};this[_0x385712(0x163)](_0x452603,_0x3e372f['subUnitId'],_0x112084,_0x233706),this[_0x385712(0x10c)]({'unitId':_0x452603,'token':_0x112084,'type':Le[_0x385712(0x16a)],'oldSourceRangeInfo':_0x5efecc,'dataRangeInfo':_0x8e27a6,'targetCellInfo':_0x133473[_0x385712(0x259)]}),this[_0x385712(0x109)]({'unitId':_0x452603,'subUnitId':_0x3e372f['subUnitId'],'oldSubUnitId':_0x2b3a6c,'pivotTableId':_0x112084,'pivotTableConfig':_0x233706,'collectionConfig':_0x55e209['toJSON']()});}}}}['broadcastCollectionChange'](_0x43f035){const _0xf3d5ed=_0x3f7e1b;this[_0xf3d5ed(0x201)]['next'](_0x43f035);}[_0x3f7e1b(0x2e2)](_0x235011){const _0x4386b5=_0x3f7e1b;let _0x1c5bf6=this['_dataFieldManagerCollection'][_0x4386b5(0x1f2)](_0x235011);return _0x1c5bf6||(_0x1c5bf6=new Di(this,this[_0x4386b5(0x319)]),this[_0x4386b5(0x18d)]['set'](_0x235011,_0x1c5bf6)),_0x1c5bf6;}[_0x3f7e1b(0x28b)](_0x300e8e,_0x505b9b){const _0x15badd=_0x3f7e1b;return this[_0x15badd(0x2e2)](_0x300e8e)[_0x15badd(0x33a)][_0x505b9b];}[_0x3f7e1b(0x166)](_0x29594e,_0xa0ae62,_0x4675db){const _0x5043e6=_0x3f7e1b;return this[_0x5043e6(0x2e2)](_0x29594e)[_0x5043e6(0x166)](_0xa0ae62,_0x4675db);}['_ensurePivotMap'](_0x53b242,_0x5aaf6b){const _0x1c2b32=_0x3f7e1b;let _0x105f5b=this[_0x1c2b32(0x294)][_0x1c2b32(0x1f2)](_0x53b242);_0x105f5b||(_0x105f5b=new Map(),this[_0x1c2b32(0x294)][_0x1c2b32(0x1dd)](_0x53b242,_0x105f5b));let _0x391ca6=_0x105f5b['get'](_0x5aaf6b);return _0x391ca6||(_0x391ca6=new Map(),_0x105f5b[_0x1c2b32(0x1dd)](_0x5aaf6b,_0x391ca6)),_0x391ca6;}[_0x3f7e1b(0x163)](_0x1a7bb3,_0x293649,_0x23e15c,_0xc4f55f){const _0x7c58ba=_0x3f7e1b;this[_0x7c58ba(0x332)](_0x1a7bb3,_0x293649)[_0x7c58ba(0x1dd)](_0x23e15c,_0xc4f55f);}[_0x3f7e1b(0x219)](_0x27a61d,_0x3445be,_0x50b4d8){const _0xfddd89=_0x3f7e1b;var _0x243712,_0x33278f,_0xa74f1b,_0x25a6be;((_0x33278f=(_0x243712=this[_0xfddd89(0x294)]['get'](_0x27a61d))==null?void 0x0:_0x243712[_0xfddd89(0x1f2)](_0x3445be))==null?void 0x0:_0x33278f[_0xfddd89(0x1f2)](_0x50b4d8))&&((_0x25a6be=(_0xa74f1b=this[_0xfddd89(0x294)]['get'](_0x27a61d))==null?void 0x0:_0xa74f1b[_0xfddd89(0x1f2)](_0x3445be))==null||_0x25a6be[_0xfddd89(0x11d)](_0x50b4d8));}[_0x3f7e1b(0x13f)](_0x2dbf17,_0x19682e){const _0xa07178=_0x3f7e1b;this[_0xa07178(0x17f)][_0xa07178(0x1dd)](_0x2dbf17,_0x19682e);}[_0x3f7e1b(0x253)](_0xa691b0){const _0x2742f2=_0x3f7e1b;this[_0x2742f2(0x17f)]['delete'](_0xa691b0);}['_ensureViewDataMap'](_0x38bf91,_0x38048e){const _0x5a2fab=_0x3f7e1b;let _0x79fd60=this[_0x5a2fab(0x2d5)][_0x5a2fab(0x1f2)](_0x38bf91);_0x79fd60||(_0x79fd60=new Map(),this[_0x5a2fab(0x2d5)][_0x5a2fab(0x1dd)](_0x38bf91,_0x79fd60));let _0x420f76=_0x79fd60['get'](_0x38048e);return _0x420f76||(_0x420f76=new Map(),_0x79fd60[_0x5a2fab(0x1dd)](_0x38048e,_0x420f76)),_0x420f76;}[_0x3f7e1b(0x109)](_0x18030f){const _0x21aca3=_0x3f7e1b,{unitId:_0x561c52,subUnitId:_0x3fc0b1,pivotTableId:_0x1928f4,pivotTableConfig:_0x4925f2,collectionConfig:_0x1b2a96}=_0x18030f,_0x3ff375={'unitId':_0x561c52,'subUnitId':_0x3fc0b1,'oldSubUnitId':_0x3fc0b1,'pivotTableId':_0x1928f4,'pivotTableConfig':_0x4925f2,'collectionConfig':_0x1b2a96};this[_0x21aca3(0x33b)][_0x21aca3(0x271)](co['id'],_0x3ff375,{'onlyLocal':!0x0});}[_0x3f7e1b(0x190)](_0x114676,_0x16ec6a,_0x91ee79,_0x1ec69d,_0x32962c,_0x3b4ffc,_0x2b8b2f,_0x277166=!0x1){const _0x336f67=_0x3f7e1b;var _0x52fee2;this['_commandService'][_0x336f67(0x271)](Dt['id'],{'single':{'unitId':_0x114676,'subUnitId':_0x16ec6a,'type':_0x91ee79,'pivotTableId':_0x1ec69d,'view':_0x32962c,'pivotConfig':_0x3b4ffc},'collectionConfig':{[_0x114676]:_0x2b8b2f}},{'onlyLocal':!0x0});const _0x4ff6eb=!!((_0x52fee2=this[_0x336f67(0x363)](_0x1ec69d))!=null&&_0x52fee2[_0x336f67(0x183)]()),_0x42d762=this[_0x336f67(0x2d7)](_0x114676,_0x16ec6a,_0x1ec69d);_0x42d762&&this['updateViewData']({'view':_0x32962c,'pivotTableId':_0x1ec69d,'textInfo':this[_0x336f67(0x16c)](),'isEmpty':_0x4ff6eb,'targetCellInfo':_0x42d762[_0x336f67(0x259)]},_0x277166);}[_0x3f7e1b(0x273)](_0x40c5bf,_0x24073d){const _0x3cd581=_0x3f7e1b,{targetCellInfo:_0x2b92da,pivotTableId:_0x52bd3c}=_0x40c5bf,{unitId:_0x5a003a,subUnitId:_0x2f8c9b}=_0x2b92da,_0x47abbd=this[_0x3cd581(0x2dd)](_0x5a003a,_0x2f8c9b),_0x108001=_0x47abbd[_0x3cd581(0x1f2)](_0x52bd3c);let _0x13526f,_0x22bad2;_0x108001&&(_0x13526f=_0x108001[_0x3cd581(0x1bd)],_0x22bad2=_0x108001[_0x3cd581(0x128)]);const {rangesCache:_0xe7313a,matrix:_0x2faa6f}=Ui(_0x40c5bf);_0x47abbd[_0x3cd581(0x1dd)](_0x52bd3c,{'rangeCache':_0xe7313a,'matrix':_0x2faa6f,'oldMatrix':_0x22bad2,'oldRangeCache':_0x13526f}),_0x24073d||this['_viewData$'][_0x3cd581(0x249)]({'unitId':_0x5a003a,'subUnitId':_0x2f8c9b,'pivotTableId':_0x52bd3c});}[_0x3f7e1b(0x1e0)](_0x5ee078,_0x1ef371,_0x54c848,_0x3df861,_0x13dc77){const _0x1f2b49=_0x3f7e1b;this['_updateModelCache'](_0x5ee078,_0x1ef371,_0x54c848,_0x13dc77),this[_0x1f2b49(0x13f)](_0x54c848,_0x3df861);}[_0x3f7e1b(0x357)](_0x2e9758,_0x254fcc,_0x587de2){const _0x2a35f2=_0x3f7e1b,_0x23795e=this['getDataFieldManager'](_0x2e9758);_0x23795e[_0x2a35f2(0x127)](_0x587de2)['forEach'](_0x2a7565=>{const _0x15e8dd=_0x2a35f2;_0x23795e[_0x15e8dd(0x19b)](_0x2a7565);}),this[_0x2a35f2(0x12a)](_0x2e9758,_0x587de2),this[_0x2a35f2(0x219)](_0x2e9758,_0x254fcc,_0x587de2),this['_deletePivotTableInstanceCache'](_0x587de2);}[_0x3f7e1b(0x21f)](_0xc7f96e,_0x544627,_0x348353,_0x34655d){this['_updateModelCache'](_0xc7f96e,_0x544627,_0x348353,_0x34655d);}[_0x3f7e1b(0x2d7)](_0x373053,_0x30ad73,_0x47718e){const _0x5bb358=_0x3f7e1b;var _0x1cefcd,_0x25c57d;const _0x24427a=(_0x25c57d=(_0x1cefcd=this[_0x5bb358(0x294)]['get'](_0x373053))==null?void 0x0:_0x1cefcd[_0x5bb358(0x1f2)](_0x30ad73))==null?void 0x0:_0x25c57d[_0x5bb358(0x1f2)](_0x47718e);if(_0x24427a)return _0x24427a;}[_0x3f7e1b(0x17b)](_0x89dfdb,_0xaada5d,_0x136493){const _0x312a04=_0x3f7e1b;var _0x58e945,_0x234ff6;const _0x4923be=(_0x234ff6=(_0x58e945=this[_0x312a04(0x294)]['get'](_0x89dfdb))==null?void 0x0:_0x58e945[_0x312a04(0x1f2)](_0xaada5d))==null?void 0x0:_0x234ff6['get'](_0x136493);if(_0x4923be)return _0x4923be[_0x312a04(0x2ed)];}[_0x3f7e1b(0x363)](_0x2b19a5){const _0x3ef34b=_0x3f7e1b;return this[_0x3ef34b(0x17f)][_0x3ef34b(0x1f2)](_0x2b19a5);}[_0x3f7e1b(0x302)](_0x1e4f0b){const _0x37fad9=_0x3f7e1b;this[_0x37fad9(0x294)][_0x37fad9(0x11d)](_0x1e4f0b);const _0x4d8904=this[_0x37fad9(0x18d)][_0x37fad9(0x1f2)](_0x1e4f0b);_0x4d8904&&(_0x4d8904[_0x37fad9(0x20e)](),this[_0x37fad9(0x18d)][_0x37fad9(0x11d)](_0x1e4f0b)),this[_0x37fad9(0x2d5)][_0x37fad9(0x11d)](_0x1e4f0b),this[_0x37fad9(0x338)]['forEach'](_0x34ed60=>{const _0x125b2b=_0x37fad9;_0x34ed60[_0x125b2b(0x302)](_0x1e4f0b);});}['addCollectionByJSON'](_0x4fbf5d,_0xeb672f,_0x2d93cc,_0x3aeaf4){const _0x2ec1a3=_0x3f7e1b;return this['getDataFieldManager'](_0x2d93cc[_0x2ec1a3(0x29f)])[_0x2ec1a3(0x2d4)](_0x4fbf5d,_0xeb672f,_0x2d93cc,_0x3aeaf4);}[_0x3f7e1b(0x217)](_0x2b2388){const _0x8f0715=_0x3f7e1b;return this[_0x8f0715(0x2e2)](_0x2b2388[_0x8f0715(0x29f)])[_0x8f0715(0x217)](_0x2b2388);}['refreshData'](_0x4c5e20,_0x4c5c9b,_0x5e376b){const _0x732af0=_0x3f7e1b;this['getDataFieldManager'](_0x5e376b[_0x732af0(0x29f)])[_0x732af0(0x153)](_0x4c5e20,_0x4c5c9b,_0x5e376b);}[_0x3f7e1b(0x12e)](_0x4ae031,_0x440ce4){const _0x24e226=_0x3f7e1b;this[_0x24e226(0x2e2)](_0x4ae031)[_0x24e226(0x19b)](_0x440ce4);}[_0x3f7e1b(0x12a)](_0x3aadb1,_0xf4706d){const _0x5ef0e0=_0x3f7e1b;this[_0x5ef0e0(0x2e2)](_0x3aadb1)['removeCollectionImp'](_0xf4706d);}[_0x3f7e1b(0x2ce)](_0x40cc88,_0x55204c){const _0x282399=_0x3f7e1b;var _0x84ce30;return(_0x84ce30=this[_0x282399(0x294)][_0x282399(0x1f2)](_0x40cc88))==null?void 0x0:_0x84ce30['get'](_0x55204c);}[_0x3f7e1b(0x138)](_0x26eaf8){const _0xb6aafe=_0x3f7e1b;for(const [_0x9c799a,_0x490c36]of this[_0xb6aafe(0x294)][_0xb6aafe(0x134)]())for(const [_0x144fd0,_0x485a2b]of _0x490c36[_0xb6aafe(0x134)]())if(_0x485a2b[_0xb6aafe(0x130)](_0x26eaf8))return{'unitId':_0x9c799a,'subUnitId':_0x144fd0};return null;}[_0x3f7e1b(0xfd)](_0x3c31a2,_0x8d0185,_0x844e96,_0x4e0c1b){const _0x51f517=_0x3f7e1b,_0x84ee95=this[_0x51f517(0x2dd)](_0x3c31a2,_0x8d0185);_0x4e0c1b?_0x84ee95['set'](_0x844e96,_0x4e0c1b):_0x84ee95[_0x51f517(0x11d)](_0x844e96),this[_0x51f517(0x27f)][_0x51f517(0x249)]({'unitId':_0x3c31a2,'subUnitId':_0x8d0185,'pivotTableId':_0x844e96});}['dispose'](){const _0x21017b=_0x3f7e1b;super[_0x21017b(0x20e)]();}[_0x3f7e1b(0x1b4)](_0x4d31de,_0x2cef15,_0x4dc493){const _0x30082e=_0x3f7e1b;var _0x4b162f,_0x28d5e9;const _0x572bf4=(_0x28d5e9=(_0x4b162f=this[_0x30082e(0x2d5)][_0x30082e(0x1f2)](_0x4d31de))==null?void 0x0:_0x4b162f['get'](_0x2cef15))==null?void 0x0:_0x28d5e9[_0x30082e(0x1f2)](_0x4dc493);return _0x572bf4||null;}[_0x3f7e1b(0x353)](_0x245aa5){this['updateDirtyPivotTable'](_0x245aa5);}['updateDirtyPivotTable'](_0x348502){const _0x27a606=_0x3f7e1b,{token:_0x6ec80,unitId:_0x437728,subUnitId:_0xcb360c}=_0x348502,_0x362215=_0x437728+'-'+_0xcb360c+'-'+_0x6ec80;this['_queryingMap'][_0x27a606(0x1f2)](_0x362215)&&clearTimeout(this[_0x27a606(0x2a5)]['get'](_0x362215));const _0x50e9f4=setTimeout(()=>{const _0x5ba5c2=_0x27a606;this[_0x5ba5c2(0x218)](_0x348502),this[_0x5ba5c2(0x2a5)]['delete'](_0x362215);},Pi);this[_0x27a606(0x2a5)][_0x27a606(0x1dd)](_0x362215,_0x50e9f4);}[_0x3f7e1b(0x218)](_0x543228){const _0x2a558c=_0x3f7e1b,{unitId:_0x4b0d31,subUnitId:_0x46ada3,token:_0x12547d,type:_0x253136,pivotConfig:_0x3461a9}=_0x543228,_0x9178f8=this[_0x2a558c(0x363)](_0x12547d),_0x52b96e=_0x9178f8==null?void 0x0:_0x9178f8[_0x2a558c(0x15d)](),_0x497419=_0x3461a9!=null?_0x3461a9:this['getPivotTableConfig'](_0x4b0d31,_0x46ada3,_0x12547d);_0x497419&&(_0x497419['isEmpty']=!!(_0x9178f8!=null&&_0x9178f8[_0x2a558c(0x183)]())),(_0x52b96e||_0x253136===B['Delete'])&&this[_0x2a558c(0x190)](_0x4b0d31,_0x46ada3,_0x253136,_0x12547d,_0x52b96e,_0x497419,this['getDataFieldManager'](_0x4b0d31)[_0x2a558c(0x132)]());}[_0x3f7e1b(0x132)](_0x37cee0){const _0x5d0767=_0x3f7e1b,_0x23e309={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5d0767(0x2e2)](_0x37cee0)&&(_0x23e309['dataFieldManagerConfig'][_0x37cee0]=this[_0x5d0767(0x2e2)](_0x37cee0)[_0x5d0767(0x132)]()),this['_model'][_0x5d0767(0x1f2)](_0x37cee0)){_0x23e309[_0x5d0767(0x10e)][_0x37cee0]={};const _0x254a97=this[_0x5d0767(0x294)][_0x5d0767(0x1f2)](_0x37cee0);_0x254a97!=null&&_0x254a97['size']&&[..._0x254a97[_0x5d0767(0x1f4)]()][_0x5d0767(0x1b9)](_0x2c4b3b=>{const _0x245187=_0x5d0767,_0x87b536=_0x254a97[_0x245187(0x1f2)](_0x2c4b3b);_0x87b536!=null&&_0x87b536[_0x245187(0x111)]&&(_0x23e309[_0x245187(0x10e)][_0x37cee0][_0x2c4b3b]={},[..._0x87b536[_0x245187(0x1f4)]()]['forEach'](_0x51bb25=>{const _0x292fdb=_0x245187,_0x47c9b1=_0x87b536[_0x292fdb(0x1f2)](_0x51bb25);_0x47c9b1&&(_0x23e309[_0x292fdb(0x10e)][_0x37cee0][_0x2c4b3b][_0x51bb25]=_0x47c9b1);}));});}return _0x23e309;}['fromJSON'](_0x12c6f8){const _0x25e9ed=_0x3f7e1b;var _0x2b111f;const {dataFieldManagerConfig:_0xf4caaa,pivotTableConfigs:_0x2be68d}=_0x12c6f8;_0xf4caaa&&Object['keys'](_0xf4caaa)[_0x25e9ed(0x1b9)](_0x4c70a1=>{const _0x2c21a9=_0x25e9ed;this[_0x2c21a9(0x2e2)](_0x4c70a1)[_0x2c21a9(0x22b)](_0xf4caaa[_0x4c70a1]);});const _0x2ff1f5=[];if(_0x2be68d){const _0x47f731=(_0x2b111f=this['_injector'][_0x25e9ed(0x1f2)](_0x1c8e08)[_0x25e9ed(0x1fe)](_0x256fae))!=null?_0x2b111f:{},{ls:_0x1502ad,pbk:_0x565f6b}=_0x47f731,_0x579015=go(so,_0x1502ad,_0x565f6b)[_0x25e9ed(0x20f)];Object[_0x25e9ed(0x1f4)](_0x2be68d)[_0x25e9ed(0x1b9)](_0x433a37=>{const _0x39dd3e=_0x25e9ed;let _0x5d409c=0x0;const _0x284ae8=_0x2be68d[_0x433a37];Object[_0x39dd3e(0x1f4)](_0x284ae8)[_0x39dd3e(0x1b9)](_0x33ee61=>{const _0x49a53d=_0x39dd3e,_0x8bce17=_0x284ae8[_0x33ee61];Object['keys'](_0x8bce17)[_0x49a53d(0x1b9)](_0x11c3be=>{const _0x504cc5=_0x49a53d,_0x149db6=_0x8bce17[_0x11c3be];if(_0x149db6){if(_0x5d409c>=_0x579015)return;_0x5d409c++;const _0xefd861=this[_0x504cc5(0x2e2)](_0x433a37),_0x185fea=_0xefd861[_0x504cc5(0x33a)][_0x11c3be],_0x476a37=_0x185fea[_0x504cc5(0x29a)]();let _0x4bc6bf=0x0;const _0x232c05=[];for(const _0x40efa2 of _0x476a37){const _0x553b14=_0x185fea['getFieldById'](_0x40efa2);if(_0x58babc(_0x553b14)){const _0x13ac70=_0x553b14[_0x504cc5(0x35b)](),_0x160dea=_0x185fea[_0x504cc5(0x32b)](_0x13ac70);_0x160dea&&_0x232c05[_0x504cc5(0x144)]([_0x553b14,_0x160dea]);continue;}_0xefd861[_0x504cc5(0x1ba)](_0x40efa2,_0x149db6[_0x504cc5(0x207)],_0x4bc6bf),_0x4bc6bf++;}_0x232c05[_0x504cc5(0x1b9)](([_0x5d0ee8,_0x3ec4e7])=>{const _0x414929=_0x504cc5;_0x5d0ee8[_0x414929(0x2d2)](_0x3ec4e7);});const _0x4f45a5=new _0x991e33(_0x185fea);_0x4f45a5['fromJSON'](_0x149db6[_0x504cc5(0x2ed)]),this[_0x504cc5(0x1e0)](_0x433a37,_0x33ee61,_0x11c3be,_0x4f45a5,_0x149db6);const _0x651607=_0x4f45a5['query']();_0x2ff1f5[_0x504cc5(0x144)]({'unitId':_0x433a37,'subUnitId':_0x33ee61,'pivotTableId':_0x11c3be,'view':_0x651607[_0x504cc5(0x132)](),'pivotConfig':_0x149db6,'type':B[_0x504cc5(0x192)]});const _0xa9d3b5=!!_0x4f45a5[_0x504cc5(0x183)](),_0x554937={'view':_0x651607,'pivotTableId':_0x11c3be,'textInfo':this[_0x504cc5(0x16c)](),'isEmpty':_0xa9d3b5,'targetCellInfo':_0x149db6[_0x504cc5(0x259)]};this[_0x504cc5(0x273)](_0x554937,!0x1);}});});});}_0xf4caaa&&Object['keys'](_0xf4caaa)[_0x25e9ed(0x1b9)](_0x2ea03a=>{const _0x33ae4a=_0x25e9ed,_0x103b8f=this[_0x33ae4a(0x2e2)](_0x2ea03a);this['_fieldsCollectionChange$'][_0x33ae4a(0x249)](_0x103b8f[_0x33ae4a(0x33a)]);}),this[_0x25e9ed(0x33b)][_0x25e9ed(0x271)](Dt['id'],{'batch':_0x2ff1f5,'collectionConfig':_0xf4caaa},{'onlyLocal':!0x0});}[_0x3f7e1b(0x161)](){const _0x1ee570=_0x3f7e1b;this[_0x1ee570(0x120)](this[_0x1ee570(0x2a9)][_0x1ee570(0x17a)]({'toJson':_0x3f1cc8=>JSON[_0x1ee570(0x28d)](this['toJSON'](_0x3f1cc8)),'parseJson':_0x46fe71=>{const _0x461bbc=_0x1ee570;if(!_0x46fe71)return{};try{return JSON[_0x461bbc(0x151)](_0x46fe71);}catch{return{};}},'businesses':[_0x5bedd4['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x231d8b,_0xd7c225)=>{const _0x214bd5=_0x1ee570;this[_0x214bd5(0x22b)](_0xd7c225);},'onUnLoad':_0x170e32=>{const _0x40f215=_0x1ee570;this[_0x40f215(0x302)](_0x170e32);}}));}};H=Ei([nt(0x0,_0xbe4270(_0x4affd6)),nt(0x1,_0x30bb52),nt(0x2,_0xbe4270(_0x37d86d)),nt(0x3,_0x106ae8),nt(0x4,_0xbe4270(_0x450e95))],H);const xi={0x0:{0x0:{'v':_0x3f7e1b(0x15e),'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':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x8:{0x0:{'v':_0x3f7e1b(0x12d),'s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':_0x3f7e1b(0x35c),'s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Yo=(_0x6b7feb,_0x2de881)=>{const _0x14d6e6=_0x3f7e1b,_0x301565=new _0x1e8df5(),_0x3e3123=new _0x1e8df5(xi),{row:_0xcd5084,col:_0x33d6cb}=_0x2de881;_0x3e3123['forValue']((_0x478e59,_0x2a3bcd,_0x2e3d6c)=>{const _0x386b5f=_0x4808;let _0x175dff='';_0x2e3d6c['v']===_0x386b5f(0x15e)?_0x175dff=_0x6b7feb[_0x386b5f(0x15e)]:_0x2e3d6c['v']==='row'?_0x175dff=_0x6b7feb[_0x386b5f(0x12d)]:_0x2e3d6c['v']===_0x386b5f(0x17d)?_0x175dff=_0x6b7feb[_0x386b5f(0x17d)]:_0x2e3d6c['v']==='values'&&(_0x175dff=_0x6b7feb['values']),_0x301565[_0x386b5f(0x241)](_0x478e59+_0xcd5084,_0x2a3bcd+_0x33d6cb,{..._0x2e3d6c,'v':_0x175dff});});const _0x4abaaa=_0x8aa74a[_0x14d6e6(0x2b6)](Lt);return Object[_0x14d6e6(0x1f4)](Lt)['forEach'](_0x202f3e=>{const _0x118b6a=_0x14d6e6;_0x4abaaa[_0x202f3e]=Lt[_0x202f3e][_0x118b6a(0x33c)](_0xc604f3=>({..._0xc604f3,'startRow':_0xc604f3[_0x118b6a(0x375)]+_0xcd5084,'endRow':_0xc604f3[_0x118b6a(0x213)]+_0xcd5084,'startColumn':_0xc604f3['startColumn']+_0x33d6cb,'endColumn':_0xc604f3[_0x118b6a(0x31f)]+_0x33d6cb}));}),{'matrixCache':_0x301565,'rangesCache':_0x4abaaa};};function Ai(_0x503e99,_0x67ef8){const _0x4ce380=_0x3f7e1b;let _0x471820='';const _0x589012=this[_0x4ce380(0x16c)]();switch(_0x67ef8){case _0x1bde00[_0x4ce380(0x258)]:_0x471820=_0x589012[_0x4ce380(0x311)]+_0x503e99;break;case _0x1bde00[_0x4ce380(0x20f)]:_0x471820=_0x589012[_0x4ce380(0x1ca)]+_0x503e99;break;case _0x1bde00['countNums']:_0x471820=_0x589012[_0x4ce380(0x2bc)]+_0x503e99;break;case _0x1bde00['max']:_0x471820=_0x589012[_0x4ce380(0x30a)]+_0x503e99;break;case _0x1bde00[_0x4ce380(0x1fa)]:_0x471820=_0x589012['sheets-pivot.minName']+_0x503e99;break;case _0x1bde00['product']:_0x471820=_0x589012[_0x4ce380(0x310)]+_0x503e99;break;case _0x1bde00['stdDev']:_0x471820=_0x589012['sheets-pivot.stdDevName']+_0x503e99;break;case _0x1bde00[_0x4ce380(0x124)]:_0x471820=_0x589012[_0x4ce380(0x2aa)]+_0x503e99;break;case _0x1bde00['sum']:_0x471820=_0x589012[_0x4ce380(0x32c)]+_0x503e99;break;case _0x1bde00[_0x4ce380(0x36f)]:_0x471820=_0x589012[_0x4ce380(0x1d2)]+_0x503e99;break;case _0x1bde00[_0x4ce380(0x244)]:_0x471820=_0x589012[_0x4ce380(0x269)]+_0x503e99;break;default:_0x471820=_0x503e99;break;}return _0x471820;}function ki(_0x2c9b10,_0x291e81,_0x5d6d43,_0x275527,_0x3a1619){const _0x36c808=_0x3f7e1b;var _0x428672,_0x4f2fb8,_0x546e75,_0x4d7a8a,_0x4b6919;const _0xbf50aa=_0x301301(_0x2c9b10,_0x291e81),{rangesInfo:_0x408645,areaInfo:_0x29d74e,headerMap:_0x153aa0}=_0x3a1619;if(!_0x408645||!_0x29d74e||!_0x153aa0)return;const _0x3f4078=Object['keys'](_0x408645)[_0x36c808(0x343)](_0x20e567=>_0x408645[_0x20e567]['some'](_0x249ea7=>_0x58ac80[_0x36c808(0x160)](_0x249ea7,_0xbf50aa))),_0x12d4af=_0x29d74e;let _0x23fa80,_0x48f3ee,_0xb2cccc;if(_0x3f4078===_0x36c808(0x202))_0x23fa80=(_0x428672=_0x12d4af==null?void 0x0:_0x12d4af[_0x36c808(0x2db)])==null?void 0x0:_0x428672[_0x2c9b10],_0x48f3ee=(_0x4f2fb8=_0x153aa0==null?void 0x0:_0x153aa0[_0x36c808(0x16e)])==null?void 0x0:_0x4f2fb8[_0x291e81],_0xb2cccc=_0x48f3ee==null?void 0x0:_0x48f3ee[_0x36c808(0xff)];else{if(_0x3f4078===_0x36c808(0x145))_0x23fa80=(_0x546e75=_0x12d4af==null?void 0x0:_0x12d4af['colInfo'])==null?void 0x0:_0x546e75[_0x291e81],_0x48f3ee=(_0x4d7a8a=_0x153aa0[_0x36c808(0x307)])==null?void 0x0:_0x4d7a8a[_0x2c9b10+0x1+_0x291e81-_0x408645[_0x36c808(0x145)][0x0][_0x36c808(0x2d3)]],_0xb2cccc=_0x48f3ee==null?void 0x0:_0x48f3ee[_0x36c808(0xff)];else{if(_0x3f4078===_0x36c808(0x31e))_0x23fa80=(_0x4b6919=_0x12d4af==null?void 0x0:_0x12d4af['cornerInfo'])==null?void 0x0:_0x4b6919[_0x291e81],_0xb2cccc=_0x23fa80==null?void 0x0:_0x23fa80['tableFieldId'];else{if(_0x3f4078===_0x36c808(0x2c6)){const _0x1d15e4=_0x5d6d43==null?void 0x0:_0x5d6d43['fi'];_0x1d15e4!==void 0x0&&(_0xb2cccc=_0x275527['getFilterFieldIdByIndex'](_0x1d15e4));}}}}return{'filterId':_0xb2cccc,'info':_0x23fa80,'data':_0x5d6d43,'headerInfo':_0x48f3ee};}function Ki(_0x262308,_0x335f75,_0x447711){const _0x63ea60=_0x3f7e1b,_0x5ac6e6=_0x262308[_0x63ea60(0x1c4)],_0x5f0dfa=_0x5ac6e6[_0x63ea60(0x29a)](),_0x4d9f75=new Set();_0x262308[_0x63ea60(0x14f)](_0x4337d8=>{const _0x479ea7=_0x63ea60;_0x4d9f75['add'](_0x4337d8[_0x479ea7(0x216)]);});const _0x4090dd=_0x5f0dfa[_0x63ea60(0x33c)](_0x24f8e9=>{const _0x1c4baa=_0x5ac6e6['getFieldById'](_0x24f8e9);return{'checked':_0x4d9f75['has'](_0x24f8e9),'dataFieldId':_0x1c4baa['id'],'id':_0x1c4baa['id'],'name':_0x5ac6e6['getDisplayName'](_0x1c4baa['id']),'type':_0x1c4baa['getFieldDataType'](),'pivotTableId':_0x335f75};}),_0x2fe22f=[];_0x262308[_0x63ea60(0x20a)](_0xf0891['Row'],_0x25ed5a=>{const _0x3d303c=_0x63ea60;_0x2fe22f[_0x3d303c(0x144)]({'dataFieldId':_0x25ed5a[_0x3d303c(0x216)],'tableFieldId':_0x25ed5a[_0x3d303c(0x19f)](),'displayName':_0x25ed5a[_0x3d303c(0x323)]()});});const _0x5f10d2=[];_0x262308[_0x63ea60(0x20a)](_0xf0891[_0x63ea60(0x21c)],_0x3027fb=>{const _0x2ad4e0=_0x63ea60;_0x5f10d2['push']({'dataFieldId':_0x3027fb[_0x2ad4e0(0x216)],'tableFieldId':_0x3027fb['getId'](),'displayName':_0x3027fb[_0x2ad4e0(0x323)]()});});const _0x34f2b6=[];if(_0x262308[_0x63ea60(0x20a)](_0xf0891[_0x63ea60(0x1ec)],_0x3ae31b=>{const _0x1fd2ba=_0x63ea60;_0x34f2b6[_0x1fd2ba(0x144)]({'dataFieldId':_0x3ae31b['dataFieldId'],'tableFieldId':_0x3ae31b[_0x1fd2ba(0x19f)](),'displayName':_0x3ae31b['getDisplayName'](),'format':_0x3ae31b['getFormat'](),'subTotalType':_0x3ae31b[_0x1fd2ba(0x374)]()});}),_0x34f2b6[_0x63ea60(0x18a)]>0x1){const _0x2d509b=_0x262308[_0x63ea60(0x22a)]();(_0x262308[_0x63ea60(0x239)]()?_0x5f10d2:_0x2fe22f)[_0x63ea60(0x356)](_0x2d509b,0x0,{'dataFieldId':'','tableFieldId':_0x63ea60(0x29e),'displayName':_0x63ea60(0x24b)});}const _0x437e4d=[];_0x262308[_0x63ea60(0x20a)](_0xf0891[_0x63ea60(0x20d)],_0x5cd454=>{const _0x3a9927=_0x63ea60;_0x437e4d[_0x3a9927(0x144)]({'dataFieldId':_0x5cd454[_0x3a9927(0x216)],'tableFieldId':_0x5cd454[_0x3a9927(0x19f)](),'displayName':_0x5cd454['getDisplayName']()});});const _0x2ff3ee=_0x447711[_0x63ea60(0x207)];return{'sourceList':_0x4090dd,'sourceRange':_0x2ff3ee,'rowFields':_0x2fe22f,'columnFields':_0x5f10d2,'valueFields':_0x34f2b6,'filterFields':_0x437e4d,'positionInfo':_0x447711['targetCellInfo']};}function fo(_0x3af399,_0x37cb1b,_0x29b83c='',_0x418e86={}){const _0x3545a2=_0x3f7e1b,_0x130007=_0x3af399['get'](_0x470962);for(const _0x21feb0 in _0x37cb1b)if(Object[_0x3545a2(0xfc)][_0x3545a2(0x27e)][_0x3545a2(0x25b)](_0x37cb1b,_0x21feb0)){const _0x51e4f3=_0x29b83c?_0x29b83c+'.'+_0x21feb0:_0x21feb0;typeof _0x37cb1b[_0x21feb0]==_0x3545a2(0x23d)&&_0x37cb1b[_0x21feb0]!==null&&!Array[_0x3545a2(0x372)](_0x37cb1b[_0x21feb0])?fo(_0x3af399,_0x37cb1b[_0x21feb0],_0x51e4f3,_0x418e86):_0x418e86[_0x51e4f3]=_0x130007['t'](_0x51e4f3);}return _0x418e86;}const Bt=_0x5d4404=>{const _0x4be336=_0x3f7e1b;if(!_0x5d4404)return[];const {rowRanges:_0x1d7d38,colRanges:_0x1796fa,cornerRanges:_0x5f5244,dataRanges:_0x5755db,pageRanges:_0xbe8e46}=_0x5d4404,_0x555f5e=[..._0x1796fa,..._0x1d7d38,..._0x5755db,..._0x5f5244][_0x4be336(0x15e)](_0x148664=>_0x148664['startRow']>=0x0&&_0x148664[_0x4be336(0x2d3)]>=0x0&&_0x148664[_0x4be336(0x213)]>=0x0&&_0x148664[_0x4be336(0x31f)]>=0x0);let _0x31280f=Number['MAX_SAFE_INTEGER'],_0x38e33c=Number['MIN_SAFE_INTEGER'],_0xd7e0ae=Number[_0x4be336(0x19e)],_0x365da0=Number['MIN_SAFE_INTEGER'];for(let _0x346755=0x0;_0x346755<_0x555f5e[_0x4be336(0x18a)];_0x346755++)_0x31280f=Math[_0x4be336(0x1fa)](_0x31280f,_0x555f5e[_0x346755][_0x4be336(0x375)]),_0x38e33c=Math['max'](_0x38e33c,_0x555f5e[_0x346755][_0x4be336(0x213)]),_0xd7e0ae=Math[_0x4be336(0x1fa)](_0xd7e0ae,_0x555f5e[_0x346755][_0x4be336(0x2d3)]),_0x365da0=Math[_0x4be336(0x1eb)](_0x365da0,_0x555f5e[_0x346755]['endColumn']);return[..._0xbe8e46,{'startRow':_0x31280f,'endRow':_0x38e33c,'startColumn':_0xd7e0ae,'endColumn':_0x365da0}];};function Li(_0x350764,_0x48f22c){const _0x3c4a4d=_0x3f7e1b,_0x44ed28=_0x48f22c[_0x3c4a4d(0x2bb)][_0x3c4a4d(0x2b7)],{pivotTableId:_0x53cb88,unitId:_0x46400a,subUnitId:_0x37add2}=_0x48f22c;if(!_0x44ed28)return;const _0x12ac4e=_0x350764[_0x3c4a4d(0x1f2)](H),_0x278ceb=_0x12ac4e[_0x3c4a4d(0x363)](_0x53cb88),_0x40e08b=_0x12ac4e[_0x3c4a4d(0x2d7)](_0x46400a,_0x37add2,_0x53cb88);if(!_0x278ceb||!_0x40e08b)return;const _0x1c4c30=_0x278ceb[_0x3c4a4d(0x230)](_0x44ed28[_0x3c4a4d(0x143)]);if(!(_0x1c4c30!=null&&_0x1c4c30['length']))return;const _0x2da47c=_0x40e08b[_0x3c4a4d(0x207)],{unitId:_0x5bb689,subUnitId:_0x4cc67e,range:_0x47eb8a}=_0x2da47c;let _0x446ba9=0x0;const _0x3fa1e7=_0x278ceb[_0x3c4a4d(0x1c4)]['getFieldIds']()['reduce']((_0x234b60,_0x371f73)=>{const _0x4f1111=_0x3c4a4d;var _0x4e50d2;const _0x36e7d8=(_0x4e50d2=_0x278ceb['getDataFieldByDataFieldId'](_0x371f73))==null?void 0x0:_0x4e50d2[_0x4f1111(0x210)]();return _0x36e7d8&&(_0x234b60[String(_0x446ba9)]=_0x36e7d8),_0x446ba9++,_0x234b60;},{});return{'indexes':_0x1c4c30,'range':_0x47eb8a,'sourceUnitId':_0x5bb689,'sourceSubUnitId':_0x4cc67e,'formatMap':_0x3fa1e7};}function Jo(_0x41c3c4,_0x384332){const _0x2c3826=_0x3f7e1b;if(!_0x41c3c4||!_0x384332)return!0x0;const _0x46ab53=_0xab890f(zo,$o),_0x1ba2de=new Function(_0x2c3826(0x1c9)+_0x46ab53)()(_0x41c3c4,_0x384332)[_0x2c3826(0x1da)],_0x42b71f=_0xedd3d1(_0x1ba2de,'sf',Ko);return!((_0x1ba2de==null?void 0x0:_0x1ba2de['rt'])===_0x726949['NO_COMMERCIAL']&&!_0x42b71f);}function go(_0x34b6d6,_0x20982a,_0x34a16b){const _0x2a6415=_0x3f7e1b,_0x2c76fd={'count':_0x34b6d6,'timeValid':!0x1};if(!_0x20982a||!_0x34a16b)return _0x2c76fd;const _0xaceadd=_0xab890f(zo,$o),_0xc2c4f8=new Function(_0x2a6415(0x1c9)+_0xaceadd)()(_0x20982a,_0x34a16b);if(_0xc2c4f8!=null&&_0xc2c4f8[_0x2a6415(0x235)]){const _0x180df9=_0xc2c4f8[_0x2a6415(0x1da)],_0x203736=_0xedd3d1(_0x180df9,'sf',Ko);return{'count':_0x113600(_0x180df9,_0x203736,_0x2a6415(0x27a),_0x34b6d6,_0x34b6d6,0x0),'timeValid':_0x203736};}return _0x2c76fd;}function Wo(_0x36baac,_0x20a36f,_0x3b42fd,_0x5cab2f){const _0x4571d5=_0x3f7e1b,_0x42a474={'subUnitId':_0x3b42fd,'unitId':_0x20a36f,'cellValue':_0x8e46d5(_0x5cab2f)},_0x242f07=_0xa3564a(_0x36baac,_0x42a474);let _0x45f33f=!0x1;return new _0x1e8df5(_0x242f07[_0x4571d5(0x2df)])[_0x4571d5(0x1e3)]((_0x59cb4c,_0x5448a2,_0x422200)=>{const _0x49c4fd=_0x4571d5;if(!_0x45f33f&&_0x422200&&(_0x422200[_0x49c4fd(0x174)]||_0x422200['f']||_0x422200['p']||_0x422200['s']||_0x422200['si']||_0x422200['t']||_0x422200['v']))return _0x45f33f=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2792bb['id'],'params':_0x242f07},'setRangeValueRedoMutation':{'id':_0x2792bb['id'],'params':_0x42a474},'shouldClear':_0x45f33f};}function Bi(_0x24aa1f){const {row:_0xfb3dc5,col:_0x4ce24d}=_0x24aa1f,_0x55ff60={'startRow':_0xfb3dc5,'endRow':_0xfb3dc5,'startColumn':_0x4ce24d,'endColumn':_0x4ce24d},_0x249fbf={'startRow':_0xfb3dc5+0x2,'endRow':_0xfb3dc5+0xe,'startColumn':_0x4ce24d,'endColumn':_0x4ce24d+0x6};return[_0x55ff60,_0x249fbf];}function Hi(_0x39e619,_0x3b6514,_0x26522e){const _0x4fe8e4=_0x3f7e1b,{cornerView:_0x3f73c2,rowView:_0x533082,colView:_0x2de5de,pageView:_0x28b58d}=_0x39e619,{row:_0x180c56,col:_0x2b3fd4}=_0x3b6514;if(_0x26522e)return{'rowCount':bi+_0x180c56,'colCount':Si+_0x2b3fd4};const _0x1eec47=_0x28b58d['lastRow']>-0x1?_0x28b58d[_0x4fe8e4(0x348)]+0x1:0x0,_0x4d29e3=_0x28b58d['lastCol']>-0x1?_0x28b58d[_0x4fe8e4(0x226)]:0x0,_0x57b3c4=_0x180c56+_0x1eec47+(_0x1eec47?0x1:0x0)+_0x3f73c2[_0x4fe8e4(0x339)]+_0x533082[_0x4fe8e4(0x339)],_0x28befe=_0x2b3fd4+_0x4d29e3,_0x1de1e6=_0x2b3fd4+_0x3f73c2[_0x4fe8e4(0x2ba)]+_0x2de5de[_0x4fe8e4(0x2ba)],_0x47ddff=Math[_0x4fe8e4(0x1eb)](_0x28befe,_0x1de1e6);return{'rowCount':_0x57b3c4,'colCount':_0x47ddff};}function we(_0x546f6a,_0x27ad7f,_0x250684,_0x2c886c){const _0x4c80c2=_0x3f7e1b,{row:_0x2ccd50,col:_0x1350c9,unitId:_0x523524,subUnitId:_0x272016}=_0x250684,_0xc2f8d7=Hi(_0x27ad7f,{'row':_0x2ccd50,'col':_0x1350c9},_0x2c886c),_0x3c817f=_0x546f6a[_0x4c80c2(0x1f2)](_0x30bb52),_0x30679d=_0x2407c5(_0x3c817f,{'unitId':_0x523524,'subUnitId':_0x272016}),_0x136226=[],_0x27cbfc=[];if(!_0x30679d)return{'undos':_0x27cbfc,'redos':_0x136226};const {worksheet:_0x5087f0}=_0x30679d,_0x28d4c5=_0x5087f0[_0x4c80c2(0x10f)](),_0xbc39d7=_0x5087f0[_0x4c80c2(0x2e6)]();return _0x28d4c5<_0xc2f8d7['rowCount']&&(_0x136226[_0x4c80c2(0x144)]({'id':_0x1c3381['id'],'params':{'unitId':_0x523524,'subUnitId':_0x272016,'range':{'startRow':_0x28d4c5,'endRow':_0xc2f8d7['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xbc39d7-0x1}}}),_0x27cbfc[_0x4c80c2(0x144)]({'id':_0x3bf3bd['id'],'params':{'unitId':_0x523524,'subUnitId':_0x272016,'range':{'startRow':_0x28d4c5,'endRow':_0xc2f8d7[_0x4c80c2(0x339)]-0x1,'startColumn':0x0,'endColumn':_0xbc39d7-0x1}}})),_0xbc39d7<_0xc2f8d7[_0x4c80c2(0x2ba)]&&(_0x136226[_0x4c80c2(0x144)]({'id':_0x2a5e02['id'],'params':{'unitId':_0x523524,'subUnitId':_0x272016,'range':{'startRow':0x0,'endRow':_0x28d4c5-0x1,'startColumn':_0xbc39d7,'endColumn':_0xc2f8d7[_0x4c80c2(0x2ba)]-0x1}}}),_0x27cbfc['push']({'id':_0x40bbb5['id'],'params':{'unitId':_0x523524,'subUnitId':_0x272016,'range':{'startRow':0x0,'endRow':_0x28d4c5-0x1,'startColumn':_0xbc39d7,'endColumn':_0xc2f8d7['colCount']-0x1}}})),{'undos':_0x27cbfc,'redos':_0x136226};}function Qi(_0x2ab606){const _0x28ba06=_0x3f7e1b;let _0x38c1e1=0x0;for(let _0x3bf02=0x0;_0x3bf02<_0x2ab606[_0x28ba06(0x18a)];_0x3bf02++){const _0x49358c=_0x2ab606[_0x28ba06(0x2a1)](_0x3bf02);_0x49358c>=0x4e00&&_0x49358c<=0x9fff||_0x49358c>=0x3000&&_0x49358c<=0x303f||_0x49358c>=0xff00&&_0x49358c<=0xffef?_0x38c1e1+=0x2:_0x38c1e1+=0x1;}return _0x38c1e1;}function Mo(_0x43b104,_0xeaa80e,_0x549f47,_0xf5f0e){const _0x445e60=_0x3f7e1b;var _0x91f5ff,_0x10c10f,_0x134e6c,_0x496e77;const {rowCount:_0x2663ea,colCount:_0x2a27b9,headerMap:_0x175233}=_0x43b104,_0x3d6f9c=0x64,_0x4532aa=Math['min'](_0x2663ea,_0x3d6f9c),_0x420af4=Math[_0x445e60(0x1fa)](_0x2a27b9,_0x3d6f9c);let _0x1d70eb='',_0x3a7fd1=0x0;for(let _0xaf4d0d=0x0;_0xaf4d0d<_0x4532aa;_0xaf4d0d++)for(let _0x2d873a=0x0;_0x2d873a<_0x420af4;_0x2d873a++){const _0x1f2249={...(_0x10c10f=(_0x91f5ff=_0x43b104[_0x445e60(0x355)])==null?void 0x0:_0x91f5ff[_0xaf4d0d])==null?void 0x0:_0x10c10f[_0x2d873a]},_0x565e7e=(_0x134e6c=_0x175233[_0xaf4d0d])==null?void 0x0:_0x134e6c[_0x445e60(0xff)],_0xc0d1b=_0xf5f0e[_0x565e7e];let _0x42ea96=_0x43b104[_0x445e60(0x100)](_0xaf4d0d,_0x2d873a);if(_0x1f2249){const _0x2c75c5=_0x549f47?_0x2d873a===0x0&&((_0x496e77=_0x43b104[_0x445e60(0x22f)](_0x2d873a+0x1))==null?void 0x0:_0x496e77[_0x445e60(0x366)]):!0x1;_0x42ea96=vt(_0x1f2249,_0x2c75c5,_0xc0d1b,_0xeaa80e);}if(_0x42ea96!==void 0x0){const _0x4fc49b=Qi(String(_0x42ea96));_0x3a7fd1<_0x4fc49b&&(_0x1d70eb=String(_0x42ea96),_0x3a7fd1=_0x4fc49b);}}return _0x1d70eb;}function $i(_0x11ac9f){const _0x431d21=_0x3f7e1b,{rowCount:_0x1869f3,colCount:_0x1ab085}=_0x11ac9f;let _0x389cf5='',_0x336e6b=0x0;for(let _0x215ad9=_0x1869f3-0x1;_0x215ad9>0x0&&_0x215ad9>_0x1869f3-0x3;_0x215ad9--)for(let _0x214827=0x0;_0x214827<_0x1ab085;_0x214827++){const _0x50f771=_0x11ac9f[_0x431d21(0x100)](_0x215ad9,_0x214827);if(_0x50f771!==void 0x0){const _0x417506=String(_0x50f771)[_0x431d21(0x18a)];_0x336e6b<_0x417506&&(_0x389cf5=String(_0x50f771),_0x336e6b=_0x417506);}}return _0x389cf5;}function zi(_0x11a093){const _0x23e853=_0x3f7e1b,{rowCount:_0x3e71f4,colCount:_0x2f594e}=_0x11a093;let _0x593b1a='',_0x36dc0b=0x0;for(let _0x517778=0x0;_0x517778<_0x3e71f4;_0x517778++)for(let _0x45cb17=0x0;_0x45cb17<_0x2f594e;_0x45cb17++){const _0x47fdb=_0x11a093['getValue'](_0x517778,_0x45cb17);if(_0x47fdb!==void 0x0){const _0x4e3138=String(_0x47fdb)[_0x23e853(0x18a)];_0x36dc0b<_0x4e3138&&(_0x593b1a=String(_0x47fdb),_0x36dc0b=_0x4e3138);}}return _0x593b1a;}function Yi(_0x3d9336,_0xc6f978){const _0x3f06ec=_0x3f7e1b,{rowFields:_0x2a6fd7,columnFields:_0x13e476,valueFields:_0x133a6c,filterFields:_0x66c6ea,dimension:_0x5c571b,measure:_0x4ffb22}=_0xc6f978;for(const _0x58a88c of _0x2a6fd7){const _0x56db27=_0x5c571b[_0x58a88c];_0x56db27&&_0x3d9336[_0x3f06ec(0x146)](_0x56db27[_0x3f06ec(0x216)])&&(_0x3d9336['addFieldWithSourceId'](_0x56db27[_0x3f06ec(0x216)],_0xf0891[_0x3f06ec(0x1d5)],void 0x0,_0x58a88c),_0x56db27[_0x3f06ec(0x181)]&&_0x3d9336['renameField'](_0x56db27['id'],_0x56db27[_0x3f06ec(0x181)]),_0x56db27[_0x3f06ec(0x251)]&&_0x3d9336['setSortInfo'](_0x56db27['id'],_0x56db27[_0x3f06ec(0x251)]),_0x56db27['filterInfo']&&_0x3d9336['setLabelFilterInfo'](_0x56db27['id'],_0x56db27['filterInfo']));}for(const _0x445c6e of _0x13e476){const _0x5379d6=_0x5c571b[_0x445c6e];_0x5379d6&&_0x3d9336['getDataFieldByDataFieldId'](_0x5379d6['dataFieldId'])&&(_0x3d9336[_0x3f06ec(0x26a)](_0x5379d6[_0x3f06ec(0x216)],_0xf0891['Column'],void 0x0,_0x445c6e),_0x5379d6[_0x3f06ec(0x251)]&&_0x3d9336[_0x3f06ec(0x168)](_0x5379d6['id'],_0x5379d6[_0x3f06ec(0x251)]),_0x5379d6[_0x3f06ec(0x123)]&&_0x3d9336[_0x3f06ec(0x27c)](_0x5379d6['id'],_0x5379d6[_0x3f06ec(0x123)]),_0x5379d6[_0x3f06ec(0x181)]&&_0x3d9336['renameField'](_0x5379d6['id'],_0x5379d6['displayName']));}for(const _0x3fb1ce of _0x66c6ea){const _0x58e30f=_0x5c571b[_0x3fb1ce];_0x58e30f&&_0x3d9336[_0x3f06ec(0x146)](_0x58e30f['dataFieldId'])&&(_0x3d9336[_0x3f06ec(0x26a)](_0x58e30f['dataFieldId'],_0xf0891[_0x3f06ec(0x20d)],void 0x0,_0x3fb1ce),_0x58e30f[_0x3f06ec(0x251)]&&_0x3d9336[_0x3f06ec(0x168)](_0x58e30f['id'],_0x58e30f['sortInfo']),_0x58e30f[_0x3f06ec(0x123)]&&_0x3d9336[_0x3f06ec(0x27c)](_0x58e30f['id'],_0x58e30f[_0x3f06ec(0x123)]),_0x58e30f['displayName']&&_0x3d9336['renameField'](_0x58e30f['id'],_0x58e30f['displayName']));}for(const _0x5dca97 of _0x133a6c){const _0x49f105=_0x4ffb22[_0x5dca97];_0x49f105&&_0x3d9336['getDataFieldByDataFieldId'](_0x49f105[_0x3f06ec(0x216)])&&(_0x3d9336[_0x3f06ec(0x26a)](_0x49f105[_0x3f06ec(0x216)],_0xf0891[_0x3f06ec(0x1ec)],void 0x0,_0x5dca97),_0x49f105[_0x3f06ec(0xf7)]!==void 0x0&&_0x3d9336[_0x3f06ec(0x2b4)](_0x5dca97,_0x49f105[_0x3f06ec(0xf7)]),_0x49f105[_0x3f06ec(0x17c)]&&_0x3d9336[_0x3f06ec(0x114)](_0x5dca97,_0x49f105[_0x3f06ec(0x17c)]),_0x49f105[_0x3f06ec(0x181)]&&_0x3d9336[_0x3f06ec(0x223)](_0x49f105['id'],_0x49f105[_0x3f06ec(0x181)]));}const _0x5312b6=_0xc6f978['valueFilter'];for(const {fieldId:_0x516968,filterInfo:_0x570ea6}of _0x5312b6)_0x3d9336['setValueFilterInfo'](_0x516968,_0x570ea6);}function Ji(_0x205543,_0x23eb10){const _0x406389=_0x3f7e1b,_0x55531b=[];_0x23eb10===_0xf0891['Row']&&_0x205543[_0x406389(0x20a)](_0xf0891[_0x406389(0x1d5)],_0x1da959=>{const _0x2d55e6=_0x406389;_0x55531b[_0x2d55e6(0x144)](_0x1da959['getId']());}),_0x23eb10===_0xf0891[_0x406389(0x21c)]&&_0x205543['iterateFieldByArea'](_0xf0891['Column'],_0x1cc311=>{const _0x1a0732=_0x406389;_0x55531b[_0x1a0732(0x144)](_0x1cc311['getId']());}),_0x23eb10===_0xf0891['Filter']&&_0x205543[_0x406389(0x20a)](_0xf0891[_0x406389(0x20d)],_0x1af42e=>{const _0x301763=_0x406389;_0x55531b[_0x301763(0x144)](_0x1af42e[_0x301763(0x19f)]());}),_0x23eb10===_0xf0891[_0x406389(0x1ec)]&&_0x205543[_0x406389(0x20a)](_0xf0891['Value'],_0x781a3=>{const _0x1bf55f=_0x406389;_0x55531b[_0x1bf55f(0x144)](_0x781a3[_0x1bf55f(0x19f)]());}),_0x23eb10===void 0x0&&_0x205543['iterateField'](_0x44a2bd=>{const _0x583a56=_0x406389;_0x55531b[_0x583a56(0x144)](_0x44a2bd['getId']());});const _0x100ac8=_0x55531b[_0x406389(0x18a)];for(let _0x43b8c4=_0x100ac8-0x1;_0x43b8c4>=0x0;_0x43b8c4--)_0x205543[_0x406389(0x2f4)](_0x55531b[_0x43b8c4]);const _0xf39915=_0x205543[_0x406389(0x252)]();for(const _0x3dd144 in _0xf39915)_0x205543[_0x406389(0x245)](_0x3dd144);}function Wi(_0x1bcff,_0x2b5ef3){const _0x321175=_0x3f7e1b,_0x11db46=new Date(_0x381acb(_0x2b5ef3)),_0x36a1b9=new Date(_0x381acb(_0x1bcff)),_0x14881f=_0x11db46[_0x321175(0x352)](),_0x49247c=_0x36a1b9['getFullYear'](),_0x1b4bce=_0x11db46[_0x321175(0x2b1)](),_0x34bc8d=_0x36a1b9[_0x321175(0x2b1)](),_0x45a0ea=_0x11db46['getDate'](),_0x31cef9=_0x36a1b9[_0x321175(0x1f9)](),_0xade37e=_0x14881f===_0x49247c,_0x3ff6b1=_0xade37e&&_0x1b4bce===_0x34bc8d;return _0xade37e&&_0x3ff6b1&&!(_0x3ff6b1&&_0x45a0ea===_0x31cef9)?_0x2203bd['YearMonthDate']:_0xade37e&&!_0x3ff6b1?_0x2203bd['YearMonth']:_0x2203bd[_0x321175(0x2a3)];}function jo(_0x2d1854,_0x264a86){const _0x35ae6e=_0x3f7e1b,_0x1e15a7=_0x2d1854[_0x35ae6e(0x1f2)](H)[_0x35ae6e(0x16c)]();let _0x2e465f='';switch(_0x264a86){case _0x2203bd[_0x35ae6e(0x376)]:_0x2e465f=_0x1e15a7['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x2203bd[_0x35ae6e(0x102)]:_0x2e465f=_0x1e15a7[_0x35ae6e(0x10b)];break;case _0x2203bd[_0x35ae6e(0x2a3)]:_0x2e465f=_0x1e15a7[_0x35ae6e(0x1c5)];break;case _0x2203bd['Month']:_0x2e465f=_0x1e15a7[_0x35ae6e(0x1bf)];break;case _0x2203bd[_0x35ae6e(0x260)]:_0x2e465f=_0x1e15a7[_0x35ae6e(0x1d6)];break;case _0x2203bd[_0x35ae6e(0x20c)]:_0x2e465f=_0x1e15a7[_0x35ae6e(0x2a7)];break;case _0x2203bd['HourMinute']:_0x2e465f=_0x1e15a7[_0x35ae6e(0x140)];break;case _0x2203bd[_0x35ae6e(0x2c2)]:_0x2e465f=_0x1e15a7[_0x35ae6e(0x1cf)];break;case _0x2203bd[_0x35ae6e(0x228)]:_0x2e465f=_0x1e15a7['sheets-pivot.dateGroup.minute'];break;case _0x2203bd[_0x35ae6e(0x13d)]:_0x2e465f=_0x1e15a7[_0x35ae6e(0x370)];break;case _0x2203bd[_0x35ae6e(0x10d)]:_0x2e465f=_0x1e15a7[_0x35ae6e(0x336)];break;default:_0x2e465f='';break;}return _0x2e465f;}const Go='sheets-pivot.config',yo={};var ji=Object['getOwnPropertyDescriptor'],Gi=(_0x5c974e,_0x32af2f,_0x4f2417,_0x5b52a9)=>{const _0x5b2f7e=_0x3f7e1b;for(var _0xf4c5a8=_0x5b52a9>0x1?void 0x0:_0x5b52a9?ji(_0x32af2f,_0x4f2417):_0x32af2f,_0x4bee89=_0x5c974e[_0x5b2f7e(0x18a)]-0x1,_0x2bbf24;_0x4bee89>=0x0;_0x4bee89--)(_0x2bbf24=_0x5c974e[_0x4bee89])&&(_0xf4c5a8=_0x2bbf24(_0xf4c5a8)||_0xf4c5a8);return _0xf4c5a8;},it=(_0x142783,_0x193dd5)=>(_0x176764,_0x25ab4b)=>_0x193dd5(_0x176764,_0x25ab4b,_0x142783);let ve=class extends _0x5c8ab1{constructor(_0x484f7e,_0x81353,_0x54f912,_0x357b1f,_0x2af137){const _0x28ac0d=_0x3f7e1b;super(),N(this,_0x28ac0d(0x294),new Map()),N(this,_0x28ac0d(0x139),new Map()),N(this,'_pivotTableRangeInfo',new Map()),N(this,_0x28ac0d(0x345),new Map()),N(this,_0x28ac0d(0x197),new _0xd2eb14()),N(this,'_pivotInitCompleted$',new _0xd2eb14()),N(this,_0x28ac0d(0x12b),this[_0x28ac0d(0x23f)][_0x28ac0d(0x1d3)]()),N(this,'_pivotConfigChange$',new _0xd2eb14()),N(this,_0x28ac0d(0x330),this['_pivotConfigChange$'][_0x28ac0d(0x1d3)]()),N(this,_0x28ac0d(0x204),{}),N(this,'configVersion$',this[_0x28ac0d(0x197)][_0x28ac0d(0x1d3)]()),(this['_injector']=_0x484f7e,this[_0x28ac0d(0x33b)]=_0x81353,this[_0x28ac0d(0x319)]=_0x54f912,this[_0x28ac0d(0x2a9)]=_0x357b1f,this[_0x28ac0d(0x29c)]=_0x2af137,this[_0x28ac0d(0x1c3)](),this['_initUnitDisposed']());const _0x518828=this[_0x28ac0d(0x29c)][_0x28ac0d(0x1fe)](Go);(_0x518828==null?void 0x0:_0x518828['notExecuteFormula'])===!0x0&&this[_0x28ac0d(0x161)]();}[_0x3f7e1b(0x2a2)](){const _0x5a3640=_0x3f7e1b;this[_0x5a3640(0x120)](this['_univerInstanceService'][_0x5a3640(0xf9)](_0x5bedd4[_0x5a3640(0x117)])[_0x5a3640(0x220)](_0x32e20d=>{const _0x3f0b1d=_0x5a3640;this[_0x3f0b1d(0x302)](_0x32e20d[_0x3f0b1d(0x2ec)]());}));}[_0x3f7e1b(0x29d)](){const _0x5e1d60=_0x3f7e1b;this[_0x5e1d60(0x23f)][_0x5e1d60(0x249)](!0x0);}['_initLocale'](){const _0x2f77d6=_0x3f7e1b,_0x53eabd=fo(this[_0x2f77d6(0x203)],Bo,'',{});this[_0x2f77d6(0x204)]=_0x53eabd,this['_commandService'][_0x2f77d6(0x271)](uo['id'],{'textInfo':_0x53eabd},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x2f48cb=_0x3f7e1b;return this[_0x2f48cb(0x204)];}[_0x3f7e1b(0x341)](_0x3355c2,_0x18ed08,_0x4abccf,_0x51276b,_0x14a2d9){const _0x5bcb51=_0x3f7e1b;this[_0x5bcb51(0x1a7)](_0x3355c2,_0x18ed08,_0x4abccf,_0x51276b),this[_0x5bcb51(0x119)](_0x3355c2,_0x18ed08,_0x4abccf,_0x14a2d9);}[_0x3f7e1b(0x2d7)](_0x367a71,_0x30b768,_0xabb2f4){const _0x20354a=_0x3f7e1b;var _0x96cd91;const _0x5af49c=(_0x96cd91=this['_model'][_0x20354a(0x1f2)](_0x367a71))==null?void 0x0:_0x96cd91['get'](_0x30b768);if(_0x5af49c)return _0x5af49c['get'](_0xabb2f4);}[_0x3f7e1b(0x14a)](_0x5af731,_0x1e11ae){const _0x856bf4=_0x3f7e1b,_0x581a38=this[_0x856bf4(0x294)]['get'](_0x5af731);if(_0x581a38){for(const [_0x144564,_0x4ed68e]of _0x581a38[_0x856bf4(0x134)]())for(const [_0x4455b9,_0x2732ad]of _0x4ed68e['entries']())if(_0x4455b9===_0x1e11ae)return _0x2732ad[_0x856bf4(0x259)];}}[_0x3f7e1b(0x138)](_0x5496e4,_0x42cc82,_0x564df4){const _0x5a13db=this['getPivotTableConfig'](_0x5496e4,_0x42cc82,_0x564df4);return _0x5a13db==null?void 0x0:_0x5a13db['targetCellInfo'];}[_0x3f7e1b(0x2ce)](_0x496c89,_0x3fb792){const _0x375756=_0x3f7e1b;var _0x4413ad;return(_0x4413ad=this['_model'][_0x375756(0x1f2)](_0x496c89))==null?void 0x0:_0x4413ad['get'](_0x3fb792);}['updateConfigCache'](_0x38ba1d,_0x2089ef,_0x4597f5,_0x5982c3){const _0x25c611=_0x3f7e1b,_0x4b5f70=this[_0x25c611(0x332)](_0x38ba1d,_0x2089ef);_0x5982c3?_0x4b5f70[_0x25c611(0x1dd)](_0x4597f5,_0x5982c3):_0x4b5f70[_0x25c611(0x11d)](_0x4597f5),this[_0x25c611(0x179)][_0x25c611(0x249)]({'unitId':_0x38ba1d,'subUnitId':_0x2089ef,'pivotTableId':_0x4597f5,'pivotTableConfig':_0x5982c3});}[_0x3f7e1b(0x28b)](_0x2b6fc2,_0x572dc9){const _0x1b3645=_0x3f7e1b;var _0x4a7ea2;return(_0x4a7ea2=this[_0x1b3645(0x139)][_0x1b3645(0x1f2)](_0x2b6fc2))==null?void 0x0:_0x4a7ea2[_0x1b3645(0x33a)][_0x572dc9];}[_0x3f7e1b(0x34e)](_0x217b71,_0x3d269){const _0x5275cd=_0x3f7e1b;this['_collectionConfigModel'][_0x5275cd(0x1dd)](_0x217b71,_0x3d269),this[_0x5275cd(0x197)]['next'](Math[_0x5275cd(0x1bc)]());}[_0x3f7e1b(0x332)](_0x5a7f10,_0x51c31a){const _0x26d7fc=_0x3f7e1b;let _0x397d88=this[_0x26d7fc(0x294)][_0x26d7fc(0x1f2)](_0x5a7f10);_0x397d88||(_0x397d88=new Map(),this[_0x26d7fc(0x294)][_0x26d7fc(0x1dd)](_0x5a7f10,_0x397d88));let _0x5e3a51=_0x397d88[_0x26d7fc(0x1f2)](_0x51c31a);return _0x5e3a51||(_0x5e3a51=new Map(),_0x397d88[_0x26d7fc(0x1dd)](_0x51c31a,_0x5e3a51)),_0x5e3a51;}['_ensurePivotTableRangeInfo'](_0x3bb9b4,_0x47c93f){const _0x3e7556=_0x3f7e1b;let _0x126d4b=this[_0x3e7556(0x34d)][_0x3e7556(0x1f2)](_0x3bb9b4);_0x126d4b||(_0x126d4b=new Map(),this[_0x3e7556(0x34d)][_0x3e7556(0x1dd)](_0x3bb9b4,_0x126d4b));let _0x4dbf11=_0x126d4b['get'](_0x47c93f);return _0x4dbf11||(_0x4dbf11=new Map(),_0x126d4b[_0x3e7556(0x1dd)](_0x47c93f,_0x4dbf11)),_0x4dbf11;}['_ensurePivotTableMatrixInfo'](_0x4d1ac6,_0x587f6e){const _0x1705a8=_0x3f7e1b;let _0x4bef84=this[_0x1705a8(0x345)]['get'](_0x4d1ac6);_0x4bef84||(_0x4bef84=new Map(),this['_pivotTableMatrixInfo'][_0x1705a8(0x1dd)](_0x4d1ac6,_0x4bef84));let _0x140239=_0x4bef84['get'](_0x587f6e);return _0x140239||(_0x140239=new Map(),_0x4bef84[_0x1705a8(0x1dd)](_0x587f6e,_0x140239)),_0x140239;}['updatePivotTableRangeInfo'](_0xacec3f,_0x2a6fa1,_0x398d2f,_0x8541de){const _0x228a33=_0x3f7e1b;var _0x1b15bb;const _0x535b54=this[_0x228a33(0x26c)](_0xacec3f,_0x2a6fa1),_0x534f3a=(_0x1b15bb=_0x535b54['get'](_0x398d2f))==null?void 0x0:_0x1b15bb[_0x228a33(0x24d)];_0x535b54['set'](_0x398d2f,{'oldRangeInfo':_0x534f3a,'rangeInfo':_0x8541de});}[_0x3f7e1b(0x1a7)](_0xae11dd,_0x41eb0d,_0x29fe09,_0x4fe1b5){const _0x24a192=_0x3f7e1b;var _0x4ec31d;const _0x591e59=this[_0x24a192(0x334)](_0xae11dd,_0x41eb0d),_0xf4a1a3=(_0x4ec31d=_0x591e59[_0x24a192(0x1f2)](_0x29fe09))==null?void 0x0:_0x4ec31d[_0x24a192(0x284)];_0x591e59[_0x24a192(0x1dd)](_0x29fe09,{'oldMatrix':_0xf4a1a3,'matrix':_0x4fe1b5});}[_0x3f7e1b(0x2c0)](_0x90502c,_0x3a979,_0x25d37d){const _0x542343=_0x3f7e1b;var _0x13e4ed,_0x10e54e;return(_0x10e54e=(_0x13e4ed=this[_0x542343(0x34d)][_0x542343(0x1f2)](_0x90502c))==null?void 0x0:_0x13e4ed[_0x542343(0x1f2)](_0x3a979))==null?void 0x0:_0x10e54e['get'](_0x25d37d);}[_0x3f7e1b(0x21b)](_0x5df54c,_0x36385f,_0x2649ce){const _0x184104=_0x3f7e1b;var _0x466789,_0x35a6b2;return(_0x35a6b2=(_0x466789=this[_0x184104(0x345)][_0x184104(0x1f2)](_0x5df54c))==null?void 0x0:_0x466789[_0x184104(0x1f2)](_0x36385f))==null?void 0x0:_0x35a6b2[_0x184104(0x1f2)](_0x2649ce);}[_0x3f7e1b(0x302)](_0x3de7c9){const _0x33c334=_0x3f7e1b;this['_model'][_0x33c334(0x11d)](_0x3de7c9),this[_0x33c334(0x139)][_0x33c334(0x11d)](_0x3de7c9);}[_0x3f7e1b(0x22c)](_0x123f37){const _0x16894b=_0x3f7e1b,_0x166915={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x16894b(0x1f2)](_0x123f37)&&(_0x166915['dataFieldManagerConfig'][_0x123f37]=this[_0x16894b(0x139)]['get'](_0x123f37)),this[_0x16894b(0x294)]['get'](_0x123f37)){_0x166915[_0x16894b(0x10e)][_0x123f37]={};const _0x9578c7=this[_0x16894b(0x294)][_0x16894b(0x1f2)](_0x123f37);_0x9578c7!=null&&_0x9578c7['size']&&[..._0x9578c7[_0x16894b(0x1f4)]()][_0x16894b(0x1b9)](_0x3bb57d=>{const _0x56a642=_0x16894b,_0x4255d1=_0x9578c7[_0x56a642(0x1f2)](_0x3bb57d);_0x4255d1!=null&&_0x4255d1[_0x56a642(0x111)]&&(_0x166915[_0x56a642(0x10e)][_0x123f37][_0x3bb57d]={},[..._0x4255d1[_0x56a642(0x1f4)]()][_0x56a642(0x1b9)](_0x30c99b=>{const _0x3d8d17=_0x56a642,_0x42b90d=_0x4255d1['get'](_0x30c99b);_0x42b90d&&(_0x166915[_0x3d8d17(0x10e)][_0x123f37][_0x3bb57d][_0x30c99b]=_0x42b90d);}));});}return _0x166915;}[_0x3f7e1b(0x161)](){const _0x182f2e=_0x3f7e1b;this[_0x182f2e(0x120)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x1ca192=>JSON[_0x182f2e(0x28d)](this[_0x182f2e(0x22c)](_0x1ca192)),'parseJson':_0x27d965=>({}),'businesses':[_0x5bedd4[_0x182f2e(0x117)]],'pluginName':ao,'onLoad':(_0x52558a,_0x2a320b)=>{},'onUnLoad':_0x1687a2=>{const _0x221f59=_0x182f2e;this[_0x221f59(0x302)](_0x1687a2);}}));}};ve=Gi([it(0x0,_0xbe4270(_0x4affd6)),it(0x1,_0xbe4270(_0x106ae8)),it(0x2,_0xbe4270(_0x30bb52)),it(0x3,_0xbe4270(_0x450e95)),it(0x4,_0xbe4270(_0x1c8e08))],ve);var qi=Object[_0x3f7e1b(0x14e)],Xi=(_0x26995f,_0x3a02e8,_0x44f346,_0x1e7af4)=>{const _0x16bd07=_0x3f7e1b;for(var _0x18a7b3=_0x1e7af4>0x1?void 0x0:_0x1e7af4?qi(_0x3a02e8,_0x44f346):_0x3a02e8,_0x5906bf=_0x26995f[_0x16bd07(0x18a)]-0x1,_0x3cad8c;_0x5906bf>=0x0;_0x5906bf--)(_0x3cad8c=_0x26995f[_0x5906bf])&&(_0x18a7b3=_0x3cad8c(_0x18a7b3)||_0x18a7b3);return _0x18a7b3;},st=(_0x45c952,_0xa904be)=>(_0x3dd7c0,_0x5b107d)=>_0xa904be(_0x3dd7c0,_0x5b107d,_0x45c952);let Ve=class extends _0x5c8ab1{constructor(_0x3fc07f,_0xd3268,_0x4a5973,_0x45dfb5,_0x35114a){const _0x443292=_0x3f7e1b;super(),N(this,'_pivotRenderInfoCache',new Map()),N(this,_0x443292(0x1c2),new Map()),N(this,_0x443292(0x24e),new _0xd2eb14()),N(this,'markDirty$',this[_0x443292(0x24e)]['asObservable']()),N(this,_0x443292(0xf8),new _0xd2eb14()),N(this,'viewUpdate$',this[_0x443292(0xf8)][_0x443292(0x1d3)]()),N(this,_0x443292(0x204)),(this[_0x443292(0x303)]=_0x3fc07f,this[_0x443292(0x203)]=_0xd3268,this[_0x443292(0x371)]=_0x4a5973,this[_0x443292(0x319)]=_0x45dfb5,this[_0x443292(0x1b1)]=_0x35114a,this[_0x443292(0x1c3)](),this['_initUnitDisposed']());}[_0x3f7e1b(0x2a2)](){const _0x10a405=_0x3f7e1b;this[_0x10a405(0x120)](this[_0x10a405(0x319)][_0x10a405(0xf9)](_0x5bedd4[_0x10a405(0x117)])[_0x10a405(0x220)](_0xf2b38d=>{const _0x31422f=_0x10a405;this['deleteUnitId'](_0xf2b38d[_0x31422f(0x2ec)]());}));}[_0x3f7e1b(0x1c3)](){const _0x1c5d2f=_0x3f7e1b;this[_0x1c5d2f(0x204)]=fo(this[_0x1c5d2f(0x203)],Bo,'',{});}['updateRenderCache'](_0x1ba2fb){const _0x4e681b=_0x3f7e1b,{view:_0x2394aa,unitId:_0x3213c0,subUnitId:_0x11ae75,pivotTableId:_0xa67b59,type:_0x2e9bb2}=_0x1ba2fb,_0x39acd8=this['_sheetsPivotTableConfigModel'][_0x4e681b(0x2d7)](_0x3213c0,_0x11ae75,_0xa67b59);if(!_0x2394aa||!_0x39acd8||_0x2e9bb2===B[_0x4e681b(0xfb)])return;const {pageView:_0x2dc0b8,cornerView:_0xbae101,rowView:_0x3197cb,colView:_0x17beb3,dataView:_0x5a7c3a}=_0x2394aa,_0x57ac1c=_0x39acd8[_0x4e681b(0x259)],_0x512644=_0x39acd8[_0x4e681b(0x183)],_0x1ad399=this['_ensurePivotItemRenderValueMatrixCache'](_0x3213c0,_0x11ae75),_0x93957b=this[_0x4e681b(0x1cc)](_0x3213c0,_0x11ae75,_0xa67b59);if(_0x512644)return this[_0x4e681b(0x112)](_0x1ba2fb,_0x1ad399,_0x57ac1c,_0x93957b);{const _0x5b30bf=ge(_0x57ac1c,_0x2dc0b8,!0x0),_0x1c5227=_0x2dc0b8['lastRow']>=0x0?_0x2dc0b8[_0x4e681b(0x348)]+0x1:0x0,_0x204696=_0xbae101['getRowCount'](),_0x185e10=_0xbae101[_0x4e681b(0x116)](),_0x409113=_0x5b30bf['length']>0x0?It:0x0,_0x1d621b=ge({'row':_0x57ac1c['row']+_0x1c5227+_0x409113,'col':_0x57ac1c[_0x4e681b(0x1d8)]},_0xbae101,!0x1,!0x1),_0x161b26=ge({'row':_0x57ac1c['row']+_0x1c5227+_0x409113+_0x204696,'col':_0x57ac1c[_0x4e681b(0x1d8)]},_0x3197cb,!0x1,!0x0),_0x5aed08=ge({'row':_0x57ac1c[_0x4e681b(0x12d)]+_0x1c5227+_0x409113,'col':_0x57ac1c['col']+_0x185e10},_0x17beb3,!0x1,!0x0),_0x12064f=ge({'row':_0x57ac1c[_0x4e681b(0x12d)]+_0x1c5227+_0x409113+_0x204696,'col':_0x57ac1c['col']+_0x185e10},_0x5a7c3a,!0x1,!0x1);_0x93957b[_0x4e681b(0x231)]={'rowRanges':_0x161b26,'colRanges':_0x5aed08,'cornerRanges':_0x1d621b,'dataRanges':_0x12064f,'pageRanges':_0x5b30bf};const _0x1bf072=Mi(this[_0x4e681b(0x203)],_0x2394aa,_0x39acd8,this['_textInfo']),{valueMatrix:_0x499519,rowInfo:_0x4a1ce0,colInfo:_0x288bbf,cornerInfo:_0x2393bf,rowHeaderMap:_0x137b6c,colHeaderMap:_0x3d745f}=_0x1bf072;return _0x93957b[_0x4e681b(0x2e5)]={'rowInfo':_0x4a1ce0,'colInfo':_0x288bbf,'cornerInfo':_0x2393bf},_0x93957b[_0x4e681b(0x19c)]={'rowHeaderMap':_0x137b6c,'colHeaderMap':_0x3d745f},_0x499519[_0x4e681b(0x1b9)]((_0x1edd1e,_0x2e20eb)=>{const _0x4991e9=_0x4e681b;Object[_0x4991e9(0x1f4)](_0x2e20eb)['forEach'](_0x3b0d06=>{const _0x2332a0=_0x4991e9,_0x1edae1=+_0x3b0d06,_0x3fb5dd=_0x499519[_0x2332a0(0x100)](_0x1edd1e,_0x1edae1);_0x1ad399[_0x2332a0(0x241)](_0x1edd1e,_0x1edae1,_0x3fb5dd);});}),this[_0x4e681b(0xf8)][_0x4e681b(0x249)]({'unitId':_0x3213c0,'subUnitId':_0x11ae75,'valueMatrix':_0x1ad399,'rangesCache':_0x93957b[_0x4e681b(0x231)],'pivotTableId':_0xa67b59,'type':_0x1ba2fb[_0x4e681b(0x1f8)]}),this[_0x4e681b(0x371)]['updateViewInfo'](_0x3213c0,_0x11ae75,_0xa67b59,_0x1ad399,_0x93957b[_0x4e681b(0x231)]),this[_0x4e681b(0x1b1)][_0x4e681b(0x361)](_0x3213c0,_0x11ae75,Kt,this[_0x4e681b(0x1b7)](_0x93957b[_0x4e681b(0x231)],_0xa67b59)),{'rangeCache':_0x93957b[_0x4e681b(0x231)],'matrix':_0x1ad399};}}[_0x3f7e1b(0x112)](_0x4a08ff,_0x538a96,_0x507cb8,_0xcbce6e){const _0x211e85=_0x3f7e1b,_0x752cf6=this[_0x211e85(0x303)]['t'],{unitId:_0x55ad19,subUnitId:_0x42bdfb,pivotTableId:_0x1779d1}=_0x4a08ff,_0x21e206={'filter':_0x752cf6(_0x211e85(0x194)),'row':_0x752cf6('sheets-pivot.emptyPivot.row'),'column':_0x752cf6(_0x211e85(0x293)),'values':_0x752cf6(_0x211e85(0x1b6))},{matrixCache:_0x19dab4,rangesCache:_0x1585e1}=Yo(_0x21e206,_0x507cb8);return _0x19dab4[_0x211e85(0x1e3)]((_0x30b4b0,_0x198ef5,_0x5058a8)=>{_0x538a96['setValue'](_0x30b4b0,_0x198ef5,_0x5058a8);}),_0xcbce6e['rangesInfo']=_0x1585e1,this['_viewUpdate$'][_0x211e85(0x249)]({'unitId':_0x55ad19,'subUnitId':_0x42bdfb,'valueMatrix':_0x538a96,'rangesCache':_0x1585e1,'pivotTableId':_0x1779d1,'type':_0x4a08ff['type'],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x211e85(0x341)](_0x55ad19,_0x42bdfb,_0x1779d1,_0x538a96,_0x1585e1),this[_0x211e85(0x1b1)]['addExclusiveRange'](_0x55ad19,_0x42bdfb,Kt,this['_createExclusiveRange'](_0x1585e1,_0x1779d1)),{'rangeCache':_0xcbce6e[_0x211e85(0x231)],'matrix':_0x538a96};}[_0x3f7e1b(0x1b7)](_0x323631,_0x38c41b){const _0x402c9d=_0x3f7e1b,_0x1fe7f4=[],_0x47d09a=Bt(_0x323631);for(const _0x8073f7 of _0x47d09a)_0x1fe7f4[_0x402c9d(0x144)]({'groupId':_0x38c41b,'range':_0x8073f7});return _0x1fe7f4;}[_0x3f7e1b(0x1be)](_0x4aaaac){const _0x2af1e2=_0x3f7e1b;var _0x145303,_0x321b59,_0xf9390f,_0xaa4c64;const {pivotTableId:_0x31a185,unitId:_0x14639d,subUnitId:_0x233695}=_0x4aaaac;if(!_0x31a185||!_0x14639d||!_0x233695)return;const _0x34dfab=this[_0x2af1e2(0x1e2)](_0x14639d,_0x233695),_0x292667=(_0x321b59=(_0x145303=this[_0x2af1e2(0x2cf)][_0x2af1e2(0x1f2)](_0x14639d))==null?void 0x0:_0x145303[_0x2af1e2(0x1f2)](_0x233695))==null?void 0x0:_0x321b59[_0x2af1e2(0x1f2)](_0x31a185);if(_0x292667!=null&&_0x292667[_0x2af1e2(0x231)]){for(const _0x75d31b of Object[_0x2af1e2(0x1f4)](_0x292667[_0x2af1e2(0x231)]))_0x292667['rangesInfo'][_0x75d31b][_0x2af1e2(0x1b9)](_0x44bb0d=>{const _0x18ae3c=_0x2af1e2;for(let _0x41be42=_0x44bb0d['startRow'];_0x41be42<=_0x44bb0d[_0x18ae3c(0x213)];_0x41be42++)for(let _0x18c007=_0x44bb0d['startColumn'];_0x18c007<=_0x44bb0d[_0x18ae3c(0x31f)];_0x18c007++)_0x34dfab['realDeleteValue'](_0x41be42,_0x18c007);});}_0x292667&&((_0xaa4c64=(_0xf9390f=this[_0x2af1e2(0x2cf)][_0x2af1e2(0x1f2)](_0x14639d))==null?void 0x0:_0xf9390f[_0x2af1e2(0x1f2)](_0x233695))==null||_0xaa4c64[_0x2af1e2(0x11d)](_0x31a185)),this[_0x2af1e2(0xf8)][_0x2af1e2(0x249)]({'unitId':_0x14639d,'subUnitId':_0x233695,'valueMatrix':_0x34dfab,'pivotTableId':_0x31a185,'rangesCache':void 0x0,'type':_0x4aaaac[_0x2af1e2(0x1f8)]}),this[_0x2af1e2(0x1b1)]['clearExclusiveRangesByGroupId'](_0x14639d,_0x233695,Kt,_0x31a185);}[_0x3f7e1b(0x1cc)](_0x30c49c,_0x32b7a1,_0x2518ff){const _0xc56d8f=_0x3f7e1b;var _0x2477bf,_0xf8bc2a,_0x2f52b1,_0x45993a,_0x23fc0a,_0x4c2ec5;return this[_0xc56d8f(0x2cf)][_0xc56d8f(0x130)](_0x30c49c)||this[_0xc56d8f(0x2cf)]['set'](_0x30c49c,new Map()),(_0x2477bf=this[_0xc56d8f(0x2cf)]['get'](_0x30c49c))!=null&&_0x2477bf[_0xc56d8f(0x130)](_0x32b7a1)||(_0xf8bc2a=this[_0xc56d8f(0x2cf)]['get'](_0x30c49c))==null||_0xf8bc2a[_0xc56d8f(0x1dd)](_0x32b7a1,new Map()),(_0x45993a=(_0x2f52b1=this[_0xc56d8f(0x2cf)][_0xc56d8f(0x1f2)](_0x30c49c))==null?void 0x0:_0x2f52b1[_0xc56d8f(0x1f2)](_0x32b7a1))!=null&&_0x45993a['has'](_0x2518ff)||(_0x4c2ec5=(_0x23fc0a=this[_0xc56d8f(0x2cf)]['get'](_0x30c49c))==null?void 0x0:_0x23fc0a[_0xc56d8f(0x1f2)](_0x32b7a1))==null||_0x4c2ec5[_0xc56d8f(0x1dd)](_0x2518ff,{}),this[_0xc56d8f(0x2cf)][_0xc56d8f(0x1f2)](_0x30c49c)[_0xc56d8f(0x1f2)](_0x32b7a1)[_0xc56d8f(0x1f2)](_0x2518ff);}[_0x3f7e1b(0x1e2)](_0x57b839,_0x4780ca){const _0x36ac9f=_0x3f7e1b;var _0xaafc1d,_0x38fe80;return this[_0x36ac9f(0x1c2)][_0x36ac9f(0x130)](_0x57b839)||this['_pivotRenderValueMatrixCache'][_0x36ac9f(0x1dd)](_0x57b839,new Map()),(_0xaafc1d=this[_0x36ac9f(0x1c2)][_0x36ac9f(0x1f2)](_0x57b839))!=null&&_0xaafc1d[_0x36ac9f(0x130)](_0x4780ca)||(_0x38fe80=this[_0x36ac9f(0x1c2)][_0x36ac9f(0x1f2)](_0x57b839))==null||_0x38fe80[_0x36ac9f(0x1dd)](_0x4780ca,new _0x1e8df5()),this['_pivotRenderValueMatrixCache'][_0x36ac9f(0x1f2)](_0x57b839)[_0x36ac9f(0x1f2)](_0x4780ca);}[_0x3f7e1b(0x1ce)](_0x53c2c5,_0x2e6fd1,_0x3f3a54,_0x29b4e7){const _0xd2d718=_0x3f7e1b;var _0x5100f1,_0x20e26a;const _0xcdc99f=(_0x20e26a=(_0x5100f1=this[_0xd2d718(0x1c2)]['get'](_0x53c2c5))==null?void 0x0:_0x5100f1['get'](_0x2e6fd1))==null?void 0x0:_0x20e26a['getValue'](_0x3f3a54,_0x29b4e7);if(_0xcdc99f!=null)return _0xcdc99f;}[_0x3f7e1b(0x16b)](_0x23b6cb,_0x5af9d4,_0x7a8dd0,_0x5f326f){const _0x3e98e4=_0x3f7e1b;var _0x398f38;const _0x260cc2=_0x301301(_0x7a8dd0,_0x5f326f),_0x14a0d6=(_0x398f38=this[_0x3e98e4(0x2cf)][_0x3e98e4(0x1f2)](_0x23b6cb))==null?void 0x0:_0x398f38['get'](_0x5af9d4);return _0x14a0d6?Array[_0x3e98e4(0x31c)](_0x14a0d6[_0x3e98e4(0x1f4)]())[_0x3e98e4(0x343)](_0x36a9a0=>{const _0x50f22b=_0x3e98e4,_0x293258=_0x14a0d6[_0x50f22b(0x1f2)](_0x36a9a0),_0x42ec9f=_0x293258==null?void 0x0:_0x293258[_0x50f22b(0x231)];return _0x42ec9f?Object[_0x50f22b(0x1f4)](_0x42ec9f)[_0x50f22b(0x318)](_0x336b0b=>_0x42ec9f[_0x336b0b]['some'](_0x32240e=>_0x58ac80[_0x50f22b(0x160)](_0x32240e,_0x260cc2))):!0x1;}):void 0x0;}[_0x3f7e1b(0x13e)](_0x53f5d3,_0x3feb61,_0x2f854c){const _0x383901=_0x3f7e1b;var _0x45759d;const _0x3b0904=(_0x45759d=this[_0x383901(0x2cf)][_0x383901(0x1f2)](_0x53f5d3))==null?void 0x0:_0x45759d[_0x383901(0x1f2)](_0x3feb61),_0x50ae87=[];return _0x3b0904&&Array[_0x383901(0x31c)](_0x3b0904['keys']())[_0x383901(0x1b9)](_0x206584=>{const _0x587730=_0x383901,_0x3a4331=_0x3b0904['get'](_0x206584),_0x5406da=_0x3a4331==null?void 0x0:_0x3a4331[_0x587730(0x231)];if(_0x5406da)for(const _0x4e7047 of Object[_0x587730(0x35c)](_0x5406da)){let _0x37704d=!0x1;for(const _0x1ddbdb of _0x4e7047)if(_0x58ac80[_0x587730(0x236)](_0x1ddbdb,_0x2f854c)){_0x50ae87[_0x587730(0x144)](_0x206584),_0x37704d=!0x0;break;}if(_0x37704d)break;}}),_0x50ae87;}[_0x3f7e1b(0x1f1)](_0x5c39e6,_0x1fd8ab){const _0x5de0bc=_0x3f7e1b;var _0x1b36ae,_0xb184e7;return(_0xb184e7=(_0x1b36ae=this['_pivotRenderValueMatrixCache'][_0x5de0bc(0x1f2)](_0x5c39e6))==null?void 0x0:_0x1b36ae[_0x5de0bc(0x1f2)](_0x1fd8ab))!=null?_0xb184e7:new _0x1e8df5();}[_0x3f7e1b(0x27b)](_0x1f26cb,_0x4318a4){const _0x22b03f=_0x3f7e1b;var _0x2eab9a;return(_0x2eab9a=this[_0x22b03f(0x2cf)][_0x22b03f(0x1f2)](_0x1f26cb))==null?void 0x0:_0x2eab9a[_0x22b03f(0x1f2)](_0x4318a4);}['getPivotItemRenderInfoCache'](_0x53635f,_0x4be526,_0x453404){const _0x418136=_0x3f7e1b;var _0x4ab95c,_0x5d1c34;return(_0x5d1c34=(_0x4ab95c=this[_0x418136(0x2cf)][_0x418136(0x1f2)](_0x53635f))==null?void 0x0:_0x4ab95c['get'](_0x4be526))==null?void 0x0:_0x5d1c34[_0x418136(0x1f2)](_0x453404);}[_0x3f7e1b(0x302)](_0x475266){const _0x46d2e4=_0x3f7e1b;this[_0x46d2e4(0x2cf)][_0x46d2e4(0x11d)](_0x475266),this[_0x46d2e4(0x1c2)][_0x46d2e4(0x11d)](_0x475266);}[_0x3f7e1b(0x32a)](_0x48252c,_0x1a6bc7){const _0x5706e6=_0x3f7e1b;this[_0x5706e6(0x24e)]['next']({'unitId':_0x48252c,'subUnitId':_0x1a6bc7});}};Ve=Xi([st(0x0,_0xbe4270(_0x470962)),st(0x1,_0xbe4270(_0x4affd6)),st(0x2,_0xbe4270(ve)),st(0x3,_0xbe4270(_0x30bb52)),st(0x4,_0xbe4270(_0x574cc5))],Ve);var Zi=Object[_0x3f7e1b(0x14e)],es=(_0x5a9412,_0x302cda,_0x48fed6,_0x360fc4)=>{const _0x57f366=_0x3f7e1b;for(var _0xd66e14=_0x360fc4>0x1?void 0x0:_0x360fc4?Zi(_0x302cda,_0x48fed6):_0x302cda,_0x1dcec5=_0x5a9412[_0x57f366(0x18a)]-0x1,_0x2d7059;_0x1dcec5>=0x0;_0x1dcec5--)(_0x2d7059=_0x5a9412[_0x1dcec5])&&(_0xd66e14=_0x2d7059(_0xd66e14)||_0xd66e14);return _0xd66e14;},wo=(_0x57eb27,_0x24ca73)=>(_0xe6899,_0x1b3267)=>_0x24ca73(_0xe6899,_0x1b3267,_0x57eb27);let ie=class extends _0x5c8ab1{constructor(_0x5d8094,_0xac572c){const _0x846a4f=_0x3f7e1b;super(),N(this,_0x846a4f(0x182),new _0x473a85({'PIVOT_PERFORM_CHECK':be})),N(this,'interceptor',new _0x1553f1({'PIVOT_MUTATION_GENERATE':Qo})),(this[_0x846a4f(0x2fc)]=_0x5d8094,this['_sheetsPivotTableAdaptorModel']=_0xac572c,this[_0x846a4f(0x21d)]());}[_0x3f7e1b(0x21d)](){const _0x103b5c=_0x3f7e1b;this[_0x103b5c(0x206)]();}['getPivotPerformCheck'](_0x1188b5){const _0x23c8e1=_0x3f7e1b;return this[_0x23c8e1(0x182)][_0x23c8e1(0x103)](be)(!0x1,_0x1188b5);}[_0x3f7e1b(0x206)](){const _0x5ee88e=_0x3f7e1b;this[_0x5ee88e(0x120)](this[_0x5ee88e(0x2fc)][_0x5ee88e(0x2be)](_0x22f024[_0x5ee88e(0x12f)],{'priority':0xc8,'effect':_0x457394[_0x5ee88e(0x1ec)]|_0x457394[_0x5ee88e(0x121)],'handler':(_0x389349,_0x2ecac1,_0x4be9a5)=>{const _0x3e1309=_0x5ee88e,{row:_0x549d4b,col:_0x51c5c0,unitId:_0x13697b,subUnitId:_0xe630ad,workbook:_0x26bedd}=_0x2ecac1,_0x10df6f=this[_0x3e1309(0x32e)]['getPivotTableCellData'](_0x13697b,_0xe630ad,_0x549d4b,_0x51c5c0);if(!_0x10df6f)return _0x4be9a5(_0x389349);const _0x3be70b={..._0x389349};(_0x10df6f['v']||_0x10df6f['v']===0x0)&&(_0x3be70b['v']=_0x10df6f['v']),_0x10df6f['t']&&(_0x3be70b['t']=_0x10df6f['t']);const _0x2f3726=(typeof(_0x389349==null?void 0x0:_0x389349['s'])==_0x3e1309(0x274)?_0x26bedd['getStyles']()['get'](_0x389349==null?void 0x0:_0x389349['s']):_0x389349==null?void 0x0:_0x389349['s'])||{},_0x4855fc=_0x26bedd[_0x3e1309(0x2b8)]()['get'](_0x10df6f['s']),_0x190f61={..._0x4855fc,..._0x2f3726};_0x4855fc!=null&&_0x4855fc['n']&&(_0x190f61['n']=_0x4855fc['n']);const _0x2d700a=_0x26bedd[_0x3e1309(0x2b8)]()[_0x3e1309(0x241)](_0x190f61);return _0x3be70b['s']=_0x2d700a,(_0x10df6f[_0x3e1309(0x133)]===_0x3de9b5['Collapse']||_0x10df6f['pbt']===_0x3de9b5['Expand'])&&(_0x3be70b[_0x3e1309(0x262)]={},_0x3be70b['fontRenderExtension']['leftOffset']=li),_0x4be9a5(_0x3be70b);}}));}};ie=es([wo(0x0,_0xbe4270(_0x52503e)),wo(0x1,_0xbe4270(Ve))],ie);const qo={'id':_0x3f7e1b(0x306),'type':_0x375b46['MUTATION'],'handler':(_0x3f7ad5,_0xfa10ba)=>{const _0x1969ee=_0x3f7e1b;if(!_0xfa10ba)return!0x1;if(!!_0x3f7ad5[_0x1969ee(0x1f2)](_0x1c8e08)['getConfig'](G))return!0x0;const {pivotTableId:_0x4f2836,fieldJSON:_0xd47bc,unitId:_0x442f9d,subUnitId:_0x4dda60}=_0xfa10ba;let _0x3aa516;const {dataFieldType:_0xddb7bd,id:_0x2200f9,name:_0x35c848,hexCode:_0x4d68dd,originalFieldId:_0x2d313d}=_0xd47bc;if(_0xddb7bd===_0x4ae4c8[_0x1969ee(0x354)]&&(_0x3aa516=new _0x31599c(_0x2200f9,_0x35c848,_0x4d68dd,_0x2d313d)),!_0x3aa516)return!0x1;const _0x134818=_0x3f7ad5['get'](H),_0x3691e0=_0x134818[_0x1969ee(0x2e2)](_0x442f9d),_0x436ff2=_0x3691e0[_0x1969ee(0x28b)](_0x4f2836);_0x3691e0[_0x1969ee(0x185)](_0x3aa516),_0x436ff2['addField'](_0x3aa516[_0x1969ee(0x19f)](),_0x3aa516[_0x1969ee(0x137)]());const _0x266c74=_0x436ff2['getFieldById'](_0x3aa516[_0x1969ee(0x35b)]());_0x266c74&&_0x3aa516[_0x1969ee(0x2d2)](_0x266c74);const _0x226a67=_0x134818[_0x1969ee(0x2d7)](_0x442f9d,_0x4dda60,_0x4f2836);return _0x134818[_0x1969ee(0x353)]({'unitId':_0x442f9d,'subUnitId':_0x4dda60,'token':_0x4f2836,'type':B[_0x1969ee(0x26f)],'pivotConfig':_0x226a67}),!0x0;}},Xo={'id':'sheet.mutation.remove-group-collection','type':_0x375b46[_0x3f7e1b(0x2cd)],'handler':(_0xd0725e,_0x3eb718)=>{const _0x4af4ce=_0x3f7e1b;if(!_0x3eb718)return!0x1;if(!!_0xd0725e[_0x4af4ce(0x1f2)](_0x1c8e08)[_0x4af4ce(0x1fe)](G))return!0x0;const {pivotTableId:_0x3cf34f,dataFieldId:_0x4473ae,unitId:_0x38ac20,subUnitId:_0x4345f6}=_0x3eb718,_0x3f9dbe=_0xd0725e[_0x4af4ce(0x1f2)](H),_0x337a04=_0x3f9dbe[_0x4af4ce(0x2e2)](_0x38ac20);_0x337a04[_0x4af4ce(0x28b)](_0x3cf34f)[_0x4af4ce(0x2e9)](_0x4473ae);let _0x30ca4c=!0x0;for(const _0x2f261b in _0x337a04[_0x4af4ce(0x33a)])if(_0x337a04[_0x4af4ce(0x33a)][_0x2f261b][_0x4af4ce(0x29a)]()[_0x4af4ce(0x1d9)](_0x4473ae)){_0x30ca4c=!0x1;break;}_0x30ca4c&&_0x337a04['deleteDataField'](_0x4473ae);const _0x3aaedd=_0x3f9dbe[_0x4af4ce(0x2d7)](_0x38ac20,_0x4345f6,_0x3cf34f);return _0x3f9dbe[_0x4af4ce(0x353)]({'unitId':_0x38ac20,'subUnitId':_0x4345f6,'token':_0x3cf34f,'type':B[_0x4af4ce(0x26f)],'pivotConfig':_0x3aaedd}),!0x0;}};function Vt(_0x4b010b,_0x402dfd){const _0x23a84a=_0x3f7e1b;switch(_0x402dfd){case _0xf0891[_0x23a84a(0x1ec)]:return _0x4b010b[_0x23a84a(0x32d)];case _0xf0891[_0x23a84a(0x20d)]:return _0x4b010b[_0x23a84a(0x2b2)];case _0xf0891['Row']:return _0x4b010b['rowFields'];case _0xf0891[_0x23a84a(0x21c)]:return _0x4b010b[_0x23a84a(0x32f)];default:return[];}}function $e(_0x1522a0,_0x1ed6ab){const _0x55da97=_0x3f7e1b;return _0x1522a0['measure'][_0x1ed6ab]||_0x1522a0[_0x55da97(0x31d)][_0x1ed6ab];}function ts(_0x3d9c51,_0xb3c1c9){const _0x4ff170=_0x3f7e1b,{area:_0x1e7f39,fieldJson:_0x1d7435,index:_0x33fc60}=_0xb3c1c9;_0x1e7f39===_0xf0891['Value']?_0x3d9c51[_0x4ff170(0x2b9)][_0x1d7435['id']]=_0x1d7435:_0x3d9c51[_0x4ff170(0x31d)][_0x1d7435['id']]=_0x1d7435,Vt(_0x3d9c51,_0x1e7f39)[_0x4ff170(0x356)](_0x33fc60,0x0,_0x1d7435['id']);}function os(_0x38b3b5,_0x2d719a){const _0x2e146b=_0x3f7e1b,{area:_0x35b4cf,fieldId:_0x33cb4c,index:_0x2ef997}=_0x2d719a;_0x35b4cf===_0xf0891[_0x2e146b(0x1ec)]?delete _0x38b3b5[_0x2e146b(0x2b9)][_0x33cb4c]:delete _0x38b3b5[_0x2e146b(0x31d)][_0x33cb4c],Vt(_0x38b3b5,_0x35b4cf)[_0x2e146b(0x356)](_0x2ef997,0x1);}function ns(_0xffd23d,_0x16fcd9){const _0x116ac2=_0x3f7e1b,{fieldId:_0x167403,name:_0x561e46}=_0x16fcd9,_0x49f02c=$e(_0xffd23d,_0x167403);_0x49f02c&&(_0x49f02c[_0x116ac2(0x181)]=_0x561e46);}function is(_0x9e9957,_0x1f8592){const _0x5076a2=_0x3f7e1b,{fieldId:_0x24e083,collapse:_0x5e5075,item:_0x152d4e}=_0x1f8592;_0x152d4e!==void 0x0?(_0x9e9957[_0x5076a2(0x1a8)][_0x24e083]=_0x9e9957['collapseInfo'][_0x24e083]||{},_0x9e9957['collapseInfo'][_0x24e083][_0x152d4e]=_0x5e5075):_0x9e9957[_0x5076a2(0x1a8)][_0x24e083]=_0x5e5075;}function ss(_0x5572f5,_0x41333c){const _0x286d62=_0x3f7e1b,{fieldId:_0x3c8aec,format:_0x520c45}=_0x41333c,_0x3f6fcd=$e(_0x5572f5,_0x3c8aec);_0x3f6fcd&&(_0x3f6fcd[_0x286d62(0x17c)]=_0x520c45);}function as(_0x350a6a,_0x35444f){const _0x112688=_0x3f7e1b,{fieldId:_0x1c40d8,filterInfo:_0x3d564c}=_0x35444f,_0x46f419=$e(_0x350a6a,_0x1c40d8);_0x46f419&&(_0x46f419[_0x112688(0x123)]=_0x3d564c);}function rs(_0x3ab658,_0x27d090){const _0x517d32=_0x3f7e1b,{fieldId:_0x10b75a,filterInfo:_0x526d82}=_0x27d090,_0x3039ce=_0x3ab658[_0x517d32(0x2d9)]['filter'](_0x1c4b79=>_0x1c4b79[_0x517d32(0x27d)]!==_0x10b75a);_0x526d82&&_0x3039ce[_0x517d32(0x144)]({'fieldId':_0x10b75a,'filterInfo':_0x526d82}),_0x3ab658[_0x517d32(0x2d9)]=_0x3039ce;}function ls(_0x260590,_0x3cd029){const {fieldId:_0x3c8d81,subtotalType:_0x1807ea}=_0x3cd029,_0x107573=$e(_0x260590,_0x3c8d81);_0x107573&&(_0x107573['subtotal']=_0x1807ea);}function cs(_0x48c1f3,_0xa915ae){const _0x2732c1=_0x3f7e1b,{fieldId:_0x153388,oldArea:_0x7fc5f2,area:_0x392d3f,oldIndex:_0x446fe8,index:_0x43b24e}=_0xa915ae,_0x1886f9=_0x7fc5f2!==_0xf0891[_0x2732c1(0x1ec)]&&_0x392d3f===_0xf0891[_0x2732c1(0x1ec)],_0x5ca586=_0x7fc5f2===_0xf0891[_0x2732c1(0x1ec)]&&_0x392d3f!==_0xf0891[_0x2732c1(0x1ec)];if(_0x1886f9||_0x5ca586){const _0x5921b4=$e(_0x48c1f3,_0x153388);_0x5921b4&&(_0x1886f9?(delete _0x48c1f3['dimension'][_0x153388],_0x48c1f3[_0x2732c1(0x2b9)][_0x153388]=_0x5921b4):(delete _0x48c1f3[_0x2732c1(0x2b9)][_0x153388],_0x48c1f3[_0x2732c1(0x31d)][_0x153388]=_0x5921b4));}const _0x2adbd9=Vt(_0x48c1f3,_0x7fc5f2),_0x5a6b0d=Vt(_0x48c1f3,_0x392d3f);_0x2adbd9['splice'](_0x446fe8,0x1),_0x5a6b0d[_0x2732c1(0x356)](_0x43b24e,0x0,_0x153388);}function ds(_0x3b6f90,_0x4a1e15){const {valuePosition:_0x4f6b2e,index:_0xa60ea9}=_0x4a1e15;_0x3b6f90['valuePosition']=_0x4f6b2e,_0x3b6f90['valueIndex']=_0xa60ea9;}function us(_0x5bf770,_0x56dc2f){const _0x3b2201=_0x3f7e1b,{tableFieldId:_0x5eb8fc,sourceName:_0x40154a,dataFieldId:_0x54aa78}=_0x56dc2f,_0x1a52ba=$e(_0x5bf770,_0x5eb8fc);_0x1a52ba&&(_0x1a52ba['sourceName']=_0x40154a,_0x1a52ba[_0x3b2201(0x216)]=_0x54aa78);}function fs(_0x2d6129,_0x150406){const {fieldId:_0x346286,sortInfo:_0x30d2ce}=_0x150406,_0x319a1d=$e(_0x2d6129,_0x346286);_0x319a1d&&(_0x319a1d['sortInfo']=_0x30d2ce);}function gs(_0x46d440,_0x3c39a4){const _0x580e19=_0x3f7e1b,{options:_0x11acbb}=_0x3c39a4;_0x46d440[_0x580e19(0x214)]={..._0x46d440[_0x580e19(0x214)],..._0x11acbb};}const Ht={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x304),'handler'(_0x120ec4,_0x170f8f){const _0x31f030=_0x3f7e1b;if(!_0x170f8f)return!0x1;if(!!_0x120ec4['get'](_0x1c8e08)[_0x31f030(0x1fe)](G))return!0x0;const _0x4201bc=_0x120ec4[_0x31f030(0x1f2)](H),{pivotTableId:_0x3213aa,fieldJson:_0xd37e7c,area:_0x303986,index:_0x35d7cd,unitId:_0x2689a8,subUnitId:_0x1e1b8f}=_0x170f8f,_0x110974=_0x4201bc[_0x31f030(0x363)](_0x3213aa);if(!_0x110974)return!0x1;let _0x5179a0;_0x303986===_0xf0891[_0x31f030(0x1ec)]?_0x5179a0=_0x39faef(_0xd37e7c):_0x5179a0=_0x31ce60(_0xd37e7c),_0x110974[_0x31f030(0x188)](_0x5179a0,_0x303986,_0x35d7cd);const _0xbdd45=_0x4201bc[_0x31f030(0x17b)](_0x2689a8,_0x1e1b8f,_0x3213aa);ts(_0xbdd45,_0x170f8f);const _0x464094=_0x4201bc[_0x31f030(0x2d7)](_0x2689a8,_0x1e1b8f,_0x3213aa);return _0x4201bc[_0x31f030(0x353)]({'unitId':_0x2689a8,'subUnitId':_0x1e1b8f,'token':_0x3213aa,'type':B[_0x31f030(0x26f)],'pivotConfig':_0x464094}),!0x0;}},Qt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x199),'handler'(_0x3fcce7,_0x544fdc){const _0x1bba3d=_0x3f7e1b;if(!_0x544fdc)return!0x1;if(!!_0x3fcce7[_0x1bba3d(0x1f2)](_0x1c8e08)[_0x1bba3d(0x1fe)](G))return!0x0;const _0x35e300=_0x3fcce7['get'](H),{pivotTableId:_0x96f222,fieldId:_0x823eca,unitId:_0x3d1794,subUnitId:_0x4f4c6c}=_0x544fdc,_0x16a257=_0x35e300['getPivotTableInstance'](_0x96f222);if(!_0x16a257)return!0x1;_0x16a257[_0x1bba3d(0x2f4)](_0x823eca);const _0x2d64e0=_0x35e300[_0x1bba3d(0x17b)](_0x3d1794,_0x4f4c6c,_0x96f222);os(_0x2d64e0,_0x544fdc);const _0x178be3=_0x35e300[_0x1bba3d(0x2d7)](_0x3d1794,_0x4f4c6c,_0x96f222);return _0x35e300['addDirtyPivotTable']({'unitId':_0x3d1794,'subUnitId':_0x4f4c6c,'token':_0x96f222,'type':B[_0x1bba3d(0x26f)],'pivotConfig':_0x178be3}),!0x0;}},$t={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x165),'handler'(_0x4fe79b,_0x381a89){const _0x2b513a=_0x3f7e1b;if(!_0x381a89)return!0x1;if(!!_0x4fe79b[_0x2b513a(0x1f2)](_0x1c8e08)[_0x2b513a(0x1fe)](G))return!0x0;const _0x34c292=_0x4fe79b['get'](H),{unitId:_0x2ff156,subUnitId:_0x1c2c36,pivotTableId:_0x450785,fieldId:_0x21d67b,name:_0x272d1e}=_0x381a89,_0x49d506=_0x34c292[_0x2b513a(0x363)](_0x450785);if(!_0x49d506)return!0x1;_0x49d506[_0x2b513a(0x223)](_0x21d67b,_0x272d1e);const _0x5531f1=_0x34c292[_0x2b513a(0x17b)](_0x2ff156,_0x1c2c36,_0x450785);return ns(_0x5531f1,_0x381a89),_0x34c292[_0x2b513a(0x353)]({'unitId':_0x2ff156,'subUnitId':_0x1c2c36,'token':_0x450785,'type':B[_0x2b513a(0x26f)]}),!0x0;}},zt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x1e4),'handler'(_0x3674d5,_0x6f9d89){const _0x536697=_0x3f7e1b;if(!_0x6f9d89)return!0x1;if(!!_0x3674d5['get'](_0x1c8e08)[_0x536697(0x1fe)](G))return!0x0;const _0x66c2c6=_0x3674d5[_0x536697(0x1f2)](H),{unitId:_0x56fccb,subUnitId:_0x3ef8e9,pivotTableId:_0x5809fb,fieldId:_0x1b3415,collapse:_0x5952a3,item:_0x3fb4f3}=_0x6f9d89,_0x183eb1=_0x66c2c6[_0x536697(0x363)](_0x5809fb);if(!_0x183eb1)return!0x1;_0x183eb1['setCollapse'](_0x1b3415,_0x5952a3,_0x3fb4f3);const _0x42a939=_0x66c2c6['getPivotTableModelConfig'](_0x56fccb,_0x3ef8e9,_0x5809fb);return is(_0x42a939,_0x6f9d89),_0x66c2c6[_0x536697(0x353)]({'unitId':_0x56fccb,'subUnitId':_0x3ef8e9,'token':_0x5809fb,'type':B[_0x536697(0x26f)]}),!0x0;}},Yt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x2f1),'handler'(_0x2ee9b0,_0x2782b5){const _0x2640b1=_0x3f7e1b;if(!_0x2782b5)return!0x1;if(!!_0x2ee9b0[_0x2640b1(0x1f2)](_0x1c8e08)[_0x2640b1(0x1fe)](G))return!0x0;const _0x34d0be=_0x2ee9b0['get'](H),{unitId:_0x36e64e,subUnitId:_0x589ccf,pivotTableId:_0x1cae26,fieldId:_0x18404e,format:_0x5cff04}=_0x2782b5,_0x9b58ba=_0x34d0be[_0x2640b1(0x363)](_0x1cae26);if(!_0x9b58ba)return!0x1;_0x9b58ba[_0x2640b1(0x114)](_0x18404e,_0x5cff04);const _0x3e732e=_0x34d0be[_0x2640b1(0x17b)](_0x36e64e,_0x589ccf,_0x1cae26);return ss(_0x3e732e,_0x2782b5),_0x34d0be[_0x2640b1(0x353)]({'unitId':_0x36e64e,'subUnitId':_0x589ccf,'token':_0x1cae26,'type':B[_0x2640b1(0x26f)]}),!0x0;}},Jt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x193359,_0x4821ef){const _0x4946a9=_0x3f7e1b;if(!_0x4821ef)return!0x1;if(!!_0x193359[_0x4946a9(0x1f2)](_0x1c8e08)[_0x4946a9(0x1fe)](G))return!0x0;const _0x39ad59=_0x193359['get'](H),{unitId:_0x5f5de8,subUnitId:_0xc484d7,pivotTableId:_0x2191a4,fieldId:_0x4af9e3,filterInfo:_0x400a69}=_0x4821ef,_0x616c92=_0x39ad59[_0x4946a9(0x363)](_0x2191a4);if(!_0x616c92)return!0x1;_0x616c92[_0x4946a9(0x27c)](_0x4af9e3,_0x400a69);const _0x2c2ca3=_0x39ad59[_0x4946a9(0x17b)](_0x5f5de8,_0xc484d7,_0x2191a4);return as(_0x2c2ca3,_0x4821ef),_0x39ad59[_0x4946a9(0x353)]({'unitId':_0x5f5de8,'subUnitId':_0xc484d7,'token':_0x2191a4,'type':B[_0x4946a9(0x26f)]}),!0x0;}},Wt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':'sheet.mutation.set-pivot-option','handler'(_0x1a7edd,_0x47a6ab){const _0x2c696b=_0x3f7e1b;if(!_0x47a6ab)return!0x1;if(!!_0x1a7edd['get'](_0x1c8e08)[_0x2c696b(0x1fe)](G))return!0x0;const _0x1e16d7=_0x1a7edd['get'](H),{unitId:_0x541e69,subUnitId:_0xf1e489,pivotTableId:_0x1ad91b,options:_0xa735ac}=_0x47a6ab,_0x21a26d=_0x1e16d7[_0x2c696b(0x363)](_0x1ad91b);if(!_0x21a26d)return!0x1;_0x21a26d['setOptions'](_0xa735ac);const _0xfc7d65=_0x1e16d7[_0x2c696b(0x17b)](_0x541e69,_0xf1e489,_0x1ad91b);return gs(_0xfc7d65,_0x47a6ab),_0x1e16d7[_0x2c696b(0x353)]({'unitId':_0x541e69,'subUnitId':_0xf1e489,'token':_0x1ad91b,'type':B['Set']}),!0x0;}},jt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x3b369d,_0x5c917d){const _0x40dd7a=_0x3f7e1b;if(!_0x5c917d)return!0x1;if(!!_0x3b369d[_0x40dd7a(0x1f2)](_0x1c8e08)[_0x40dd7a(0x1fe)](G))return!0x0;const _0x3423ff=_0x3b369d[_0x40dd7a(0x1f2)](H),{unitId:_0x3f2965,subUnitId:_0x3ba013,pivotTableId:_0x4e6ff9,sortInfo:_0x28a72a,fieldId:_0x2f4858}=_0x5c917d,_0x27a1b4=_0x3423ff[_0x40dd7a(0x363)](_0x4e6ff9);if(!_0x27a1b4)return!0x1;_0x27a1b4[_0x40dd7a(0x168)](_0x2f4858,_0x28a72a);const _0x44aa22=_0x3423ff[_0x40dd7a(0x17b)](_0x3f2965,_0x3ba013,_0x4e6ff9);return fs(_0x44aa22,_0x5c917d),_0x3423ff[_0x40dd7a(0x353)]({'unitId':_0x3f2965,'subUnitId':_0x3ba013,'token':_0x4e6ff9,'type':B[_0x40dd7a(0x26f)]}),!0x0;}},Gt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x131),'handler'(_0x5ed078,_0x3ac840){const _0x27ef36=_0x3f7e1b;if(!_0x3ac840)return!0x1;if(!!_0x5ed078[_0x27ef36(0x1f2)](_0x1c8e08)[_0x27ef36(0x1fe)](G))return!0x0;const _0x2a50e2=_0x5ed078[_0x27ef36(0x1f2)](H),{unitId:_0x45d114,subUnitId:_0x263043,pivotTableId:_0x55bcf3,fieldId:_0xbf592f,subtotalType:_0x137750}=_0x3ac840,_0x511256=_0x2a50e2[_0x27ef36(0x363)](_0x55bcf3);if(!_0x511256)return!0x1;_0x511256[_0x27ef36(0x2b4)](_0xbf592f,_0x137750);const _0x200fd6=_0x2a50e2['getPivotTableModelConfig'](_0x45d114,_0x263043,_0x55bcf3);return ls(_0x200fd6,_0x3ac840),_0x2a50e2[_0x27ef36(0x353)]({'unitId':_0x45d114,'subUnitId':_0x263043,'token':_0x55bcf3,'type':B[_0x27ef36(0x26f)]}),!0x0;}},qt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x322),'handler'(_0x16d0fe,_0x857fb){const _0xb7095e=_0x3f7e1b;if(!_0x857fb)return!0x1;if(!!_0x16d0fe['get'](_0x1c8e08)['getConfig'](G))return!0x0;const _0x424f91=_0x16d0fe[_0xb7095e(0x1f2)](H),{unitId:_0x3645be,subUnitId:_0x3ca617,pivotTableId:_0x55f144,fieldId:_0x5f3c9a,filterInfo:_0x2a83cd}=_0x857fb,_0x228136=_0x424f91[_0xb7095e(0x363)](_0x55f144);if(!_0x228136)return!0x1;_0x228136[_0xb7095e(0x23a)](_0x5f3c9a,_0x2a83cd);const _0x49ab08=_0x424f91[_0xb7095e(0x17b)](_0x3645be,_0x3ca617,_0x55f144);return rs(_0x49ab08,_0x857fb),_0x424f91['addDirtyPivotTable']({'unitId':_0x3645be,'subUnitId':_0x3ca617,'token':_0x55f144,'type':B[_0xb7095e(0x26f)]}),!0x0;}},Xt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x38e062,_0x59e22e){const _0x37a301=_0x3f7e1b;if(!_0x59e22e)return!0x1;if(!!_0x38e062[_0x37a301(0x1f2)](_0x1c8e08)['getConfig'](G))return!0x0;const _0xf2fa98=_0x38e062[_0x37a301(0x1f2)](H),{unitId:_0x43c14e,subUnitId:_0x5a5bbc,pivotTableId:_0x3c9a30,area:_0x5ba5b2,index:_0x53a60a,fieldId:_0x39e5f2}=_0x59e22e,_0x4f8c18=_0xf2fa98['getPivotTableInstance'](_0x3c9a30);if(!_0x4f8c18)return!0x1;_0x4f8c18[_0x37a301(0x1ee)](_0x39e5f2,_0x5ba5b2,_0x53a60a);const _0x5d6e3b=_0xf2fa98[_0x37a301(0x17b)](_0x43c14e,_0x5a5bbc,_0x3c9a30);return cs(_0x5d6e3b,_0x59e22e),_0xf2fa98[_0x37a301(0x353)]({'unitId':_0x43c14e,'subUnitId':_0x5a5bbc,'token':_0x3c9a30,'type':B[_0x37a301(0x26f)]}),!0x0;}},Zt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x2b5),'handler'(_0x3c157e,_0x209b2e){const _0x2178a2=_0x3f7e1b;if(!_0x209b2e)return!0x1;if(!!_0x3c157e['get'](_0x1c8e08)[_0x2178a2(0x1fe)](G))return!0x0;const _0x5dfd50=_0x3c157e[_0x2178a2(0x1f2)](H),{unitId:_0x72da32,subUnitId:_0x3f559f,pivotTableId:_0x258e59,sourceName:_0x3fdbae,dataFieldId:_0x50b4cc,tableFieldId:_0x332695}=_0x209b2e,_0x27768c=_0x5dfd50[_0x2178a2(0x363)](_0x258e59);if(!_0x27768c)return!0x1;_0x27768c[_0x2178a2(0x172)](_0x332695,_0x3fdbae,_0x50b4cc);const _0x227c43=_0x5dfd50[_0x2178a2(0x17b)](_0x72da32,_0x3f559f,_0x258e59);return us(_0x227c43,_0x209b2e),_0x5dfd50['addDirtyPivotTable']({'unitId':_0x72da32,'subUnitId':_0x3f559f,'token':_0x258e59,'type':B['Set']}),!0x0;}},eo={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x190711,_0x14ef25){const _0x5d0ec5=_0x3f7e1b;if(!_0x14ef25)return!0x1;if(!!_0x190711[_0x5d0ec5(0x1f2)](_0x1c8e08)['getConfig'](G))return!0x0;const _0x51f643=_0x190711[_0x5d0ec5(0x1f2)](H),{unitId:_0x26e065,subUnitId:_0xc899fb,pivotTableId:_0x32f4e3,valuePosition:_0x3e55a7,index:_0x91e143}=_0x14ef25,_0x15e299=_0x51f643[_0x5d0ec5(0x363)](_0x32f4e3);if(!_0x15e299)return!0x1;_0x15e299[_0x5d0ec5(0x276)](_0x3e55a7,_0x91e143);const _0x273ac9=_0x51f643[_0x5d0ec5(0x17b)](_0x26e065,_0xc899fb,_0x32f4e3);return ds(_0x273ac9,_0x14ef25),_0x51f643['addDirtyPivotTable']({'unitId':_0x26e065,'subUnitId':_0xc899fb,'token':_0x32f4e3,'type':B['Set']}),!0x0;}};function me(_0x2fcc09,_0x361210,_0x38cf5a){const _0x2de382=_0x3f7e1b,{pivotTableId:_0x13ebd0,unitId:_0x238fcb,subUnitId:_0x46999f}=_0x361210,_0x4e17a0=[],_0x18247c=[];for(const _0x2c4d2f of _0x38cf5a)switch(_0x2c4d2f[_0x2de382(0x1f8)]){case _0x436039[_0x2de382(0x317)]:{const {fieldJson:_0x568a7,area:_0x55f942,index:_0x45d750}=_0x2c4d2f,_0x5f1715={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldJson':_0x568a7,'area':_0x55f942,'index':_0x45d750},_0x5ccddf={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x568a7['id'],'area':_0x55f942,'index':_0x45d750};_0x4e17a0[_0x2de382(0x144)]({'id':Ht['id'],'params':_0x5f1715}),_0x18247c['unshift']({'id':Qt['id'],'params':_0x5ccddf});}break;case _0x436039[_0x2de382(0x2a0)]:{const {fieldId:_0x371b27,newSubtotalType:_0x56dba6,oldSubtotalType:_0x4d93cb}=_0x2c4d2f,_0x4bc6ff={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x371b27,'subtotalType':_0x56dba6};_0x4e17a0[_0x2de382(0x144)]({'id':Gt['id'],'params':_0x4bc6ff});const _0x370e63={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x371b27,'subtotalType':_0x4d93cb};_0x18247c[_0x2de382(0x1fd)]({'id':Gt['id'],'params':_0x370e63});}break;case _0x436039['RemoveField']:{const {fieldId:_0x4edbb7,fieldJson:_0x44dbc3,area:_0x52b654,index:_0xa1bb54}=_0x2c4d2f,_0x5c6e5c={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x4edbb7,'index':_0xa1bb54,'area':_0x52b654};_0x4e17a0[_0x2de382(0x144)]({'id':Qt['id'],'params':_0x5c6e5c});const _0x4dbf14={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldJson':_0x44dbc3,'area':_0x52b654,'index':_0xa1bb54};_0x18247c['unshift']({'id':Ht['id'],'params':_0x4dbf14});}break;case _0x436039[_0x2de382(0x28e)]:{const {fieldId:_0x30546e,oldName:_0x48ea53,newName:_0xa2e4e}=_0x2c4d2f,_0x339fa0={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x30546e,'name':_0xa2e4e};_0x4e17a0[_0x2de382(0x144)]({'id':$t['id'],'params':_0x339fa0});const _0x81ca2={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x30546e,'name':_0x48ea53};_0x18247c['unshift']({'id':$t['id'],'params':_0x81ca2});}break;case _0x436039[_0x2de382(0x23e)]:{const {fieldId:_0x41c50e,oldFilterInfo:_0x81acdd,newFilterInfo:_0x2e77af}=_0x2c4d2f,_0x563815={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x41c50e,'filterInfo':_0x2e77af};_0x4e17a0[_0x2de382(0x144)]({'id':Jt['id'],'params':_0x563815});const _0x3b5f4a={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x41c50e,'filterInfo':_0x81acdd};_0x18247c[_0x2de382(0x1fd)]({'id':Jt['id'],'params':_0x3b5f4a});}break;case _0x436039['SetSortInfo']:{const {fieldId:_0x44e175,oldSortInfo:_0x1bda97,newSortInfo:_0x56fe72}=_0x2c4d2f,_0x53b99b={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x44e175,'sortInfo':_0x56fe72};_0x4e17a0[_0x2de382(0x144)]({'id':jt['id'],'params':_0x53b99b});const _0x1a30f4={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x44e175,'sortInfo':_0x1bda97};_0x18247c[_0x2de382(0x1fd)]({'id':jt['id'],'params':_0x1a30f4});}break;case _0x436039[_0x2de382(0x13c)]:{const {oldOptions:_0x3657c4,newOptions:_0x4be72c}=_0x2c4d2f,_0x1f5a4c={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'options':_0x4be72c};_0x4e17a0[_0x2de382(0x144)]({'id':Wt['id'],'params':_0x1f5a4c});const _0x4bb891={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'options':_0x3657c4};_0x18247c[_0x2de382(0x1fd)]({'id':Wt['id'],'params':_0x4bb891});}break;case _0x436039[_0x2de382(0x11b)]:{const {oldArea:_0x54598f,newArea:_0x2576e2,oldIndex:_0x33960a,newIndex:_0x5d5b33,fieldId:_0x11c4ed}=_0x2c4d2f,_0x4fe09d={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x11c4ed,'area':_0x2576e2,'index':_0x5d5b33,'oldArea':_0x54598f,'oldIndex':_0x33960a};_0x4e17a0[_0x2de382(0x144)]({'id':Xt['id'],'params':_0x4fe09d});const _0x240a2c={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x11c4ed,'area':_0x54598f,'index':_0x33960a,'oldArea':_0x2576e2,'oldIndex':_0x5d5b33};_0x18247c[_0x2de382(0x1fd)]({'id':Xt['id'],'params':_0x240a2c});}break;case _0x436039[_0x2de382(0x362)]:{const {oldValuePosition:_0x4c33fe,newValuePosition:_0x294c06,oldIndex:_0x1f9c8a,newIndex:_0x5bf8da}=_0x2c4d2f,_0x36fc7a={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'valuePosition':_0x294c06,'index':_0x5bf8da};_0x4e17a0['push']({'id':eo['id'],'params':_0x36fc7a});const _0x4ae964={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'valuePosition':_0x4c33fe,'index':_0x1f9c8a};_0x18247c[_0x2de382(0x1fd)]({'id':eo['id'],'params':_0x4ae964});}break;case _0x436039[_0x2de382(0x290)]:{const {fieldId:_0x16a6cc,collapse:_0x4cb69a,item:_0x1f452b}=_0x2c4d2f,_0x249d48={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x16a6cc,'collapse':_0x4cb69a,'item':_0x1f452b};_0x4e17a0[_0x2de382(0x144)]({'id':zt['id'],'params':_0x249d48});const _0x3d75e7={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x16a6cc,'collapse':!_0x4cb69a,'item':_0x1f452b};_0x18247c['unshift']({'id':zt['id'],'params':_0x3d75e7});}break;case _0x436039[_0x2de382(0x335)]:{const {newFormat:_0x4c4d7a,oldFormat:_0x27f700,fieldId:_0x2ebfc3}=_0x2c4d2f,_0x3d62bc={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x2ebfc3,'format':_0x4c4d7a};_0x4e17a0[_0x2de382(0x144)]({'id':Yt['id'],'params':_0x3d62bc});const _0x1b298b={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0x2ebfc3,'format':_0x27f700};_0x18247c['unshift']({'id':Yt['id'],'params':_0x1b298b});}break;case _0x436039[_0x2de382(0x15a)]:{const {tableFieldId:_0x303750,oldSourceName:_0x3254ca,newSourceName:_0x3601ca,oldDataFieldId:_0x35620b,newDataFieldId:_0x347ae5}=_0x2c4d2f,_0x3f6911={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'tableFieldId':_0x303750,'sourceName':_0x3601ca,'dataFieldId':_0x347ae5};_0x4e17a0[_0x2de382(0x144)]({'id':Zt['id'],'params':_0x3f6911});const _0x32fe45={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'tableFieldId':_0x303750,'sourceName':_0x3254ca,'dataFieldId':_0x35620b};_0x18247c[_0x2de382(0x1fd)]({'id':Zt['id'],'params':_0x32fe45});}break;case _0x436039['SetValueFilter']:{const {fieldId:_0xb208c9,filterInfo:_0x3f7811,oldFilterInfo:_0x1311c2}=_0x2c4d2f,_0x7631e1={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0xb208c9,'filterInfo':_0x3f7811};_0x4e17a0[_0x2de382(0x144)]({'id':qt['id'],'params':_0x7631e1});const _0x540aa9={'unitId':_0x238fcb,'subUnitId':_0x46999f,'pivotTableId':_0x13ebd0,'fieldId':_0xb208c9,'filterInfo':_0x1311c2};_0x18247c[_0x2de382(0x1fd)]({'id':qt['id'],'params':_0x540aa9});}}return{'redos':_0x4e17a0,'undos':_0x18247c};}function Re(_0x1172d0,_0x5ebcb9){const _0x476a72=_0x3f7e1b;var _0x3dc127;const _0x1e1a0e=_0x1172d0[_0x476a72(0x1f2)](ie),{cellInfo:_0x30ad8f,view:_0x38e767,isEmpty:_0x4185cf}=_0x5ebcb9;return(_0x3dc127=_0x1e1a0e['interceptor'][_0x476a72(0x272)](Qo)(To,{'cellInfo':_0x30ad8f,'view':_0x38e767,'isEmpty':_0x4185cf}))!=null?_0x3dc127:To;}const hs={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x283),async 'handler'(_0x85621,_0x458a7d){const _0x31be2a=_0x3f7e1b;if(!_0x458a7d)return!0x1;const _0x56fc40=_0x85621['get'](_0x106ae8),_0x2333d6=_0x85621['get'](X),_0x427c6d=_0x85621['get'](_0xe827cc),{pivotTableId:_0x205d8b,dataFieldId:_0x15dd00,fieldArea:_0x12ec62,index:_0x3a677f,unitId:_0x506669,subUnitId:_0x40235e}=_0x458a7d,_0x508a6b=(await _0x2333d6[_0x31be2a(0x13a)]({'unitId':_0x506669,'subUnitId':_0x40235e,'pivotTableId':_0x205d8b,'params':{'type':k[_0x31be2a(0x237)],'addPivotField':{'dataFieldId':_0x15dd00,'fieldArea':_0x12ec62,'index':_0x3a677f}}}))['result'][_0x31be2a(0x232)];if(!_0x508a6b)return!0x1;const {view:_0x56ef48,changesets:_0x52a289,isEmpty:_0x142202,pivotTableConfig:_0x130e38,shouldBeAddedGroupJSON:_0x2cb9bc}=_0x508a6b,_0x109a0f=_0x130e38[_0x31be2a(0x259)],_0x108be4=new _0x50bf2b();_0x108be4[_0x31be2a(0x198)](_0x56ef48);const _0x5529b8={'cellInfo':_0x109a0f,'view':_0x108be4,'isEmpty':_0x142202};if(!await _0x85621['get'](ie)[_0x31be2a(0x182)][_0x31be2a(0x103)](be)(!0x0,_0x5529b8))return!0x1;const _0x534e1d=we(_0x85621,_0x108be4,_0x109a0f,_0x142202),_0x4af2a9=Re(_0x85621,_0x5529b8),{undos:_0x2e24df,redos:_0x468b8a}=me(_0x56fc40,{'pivotTableId':_0x205d8b,'unitId':_0x506669,'subUnitId':_0x40235e},_0x52a289);return _0x2cb9bc&&(_0x468b8a[_0x31be2a(0x1fd)]({'id':qo['id'],'params':{'pivotTableId':_0x205d8b,'fieldJSON':_0x2cb9bc,'unitId':_0x506669,'subUnitId':_0x40235e}}),_0x2e24df[_0x31be2a(0x144)]({'id':Xo['id'],'params':{'pivotTableId':_0x205d8b,'dataFieldId':_0x2cb9bc['id'],'unitId':_0x506669,'subUnitId':_0x40235e}})),_0x1ae4a0([..._0x534e1d['redos'],..._0x4af2a9[_0x31be2a(0x173)],..._0x468b8a],_0x56fc40),_0x427c6d[_0x31be2a(0x25a)]({'unitID':_0x506669,'redoMutations':[..._0x534e1d[_0x31be2a(0x173)],..._0x4af2a9[_0x31be2a(0x173)],..._0x468b8a],'undoMutations':[..._0x534e1d[_0x31be2a(0x1d1)],..._0x4af2a9[_0x31be2a(0x1d1)],..._0x2e24df]}),!0x0;}},vs=()=>typeof process<'u'&&process['versions']!=null&&process[_0x3f7e1b(0x1db)][_0x3f7e1b(0x242)]!=null,Ct={'type':_0x375b46['MUTATION'],'id':_0x3f7e1b(0x255),'handler'(_0x179f97,_0x26fcf3){const _0x8f87f3=_0x3f7e1b;var _0x242fc3;if(!_0x26fcf3)return!0x1;const _0x95404e=_0x179f97[_0x8f87f3(0x1f2)](_0x1c8e08);if(!!_0x95404e[_0x8f87f3(0x1fe)](G))return!0x0;const _0x389649=_0x179f97[_0x8f87f3(0x1f2)](_0x30bb52),_0x25092e=_0x179f97['get'](H),{pivotTableId:_0x7c62f0,pivotTableConfig:_0x572d48,collectionConfig:_0x40f566,unitId:_0x32d726,subUnitId:_0xf2a53a}=_0x26fcf3,{sourceRangeInfo:_0xf4b4c1,fieldsConfig:_0x80b448,targetCellInfo:_0xeb7a6c}=_0x572d48,_0x4652ac=_0x389649['getUnit'](_0x32d726);if(!_0x4652ac||!_0x4652ac[_0x8f87f3(0x222)](_0xf2a53a))return!0x1;if(!vs()){let _0x2a2b0d=0x0;_0x4652ac['getSheets']()[_0x8f87f3(0x1b9)](_0x5ab7bb=>{const _0x49c763=_0x8f87f3;var _0x5139b6,_0x16a4f0;_0x2a2b0d+=(_0x16a4f0=(_0x5139b6=_0x25092e[_0x49c763(0x2ce)](_0x32d726,_0x5ab7bb[_0x49c763(0x2cc)]()))==null?void 0x0:_0x5139b6[_0x49c763(0x111)])!=null?_0x16a4f0:0x0;});const _0x5e95bd=(_0x242fc3=_0x95404e[_0x8f87f3(0x1fe)](_0x256fae))!=null?_0x242fc3:{},{ls:_0x749d3d,pbk:_0x3e9a67}=_0x5e95bd;if(!Jo(_0x749d3d,_0x3e9a67))throw new _0x93a5(_0x8f87f3(0x295));const _0x32e8fb=go(so,_0x749d3d,_0x3e9a67)[_0x8f87f3(0x20f)];if(_0x2a2b0d>=_0x32e8fb)throw new _0x93a5(_0x8f87f3(0x295));}if(!_0x40f566||!_0x80b448)return!0x1;const {collection:_0x587589,updateDataFieldList:_0x358dbf}=_0x25092e[_0x8f87f3(0x2d4)](_0x7c62f0,_0x40f566,_0xf4b4c1,_0xeb7a6c);_0x25092e[_0x8f87f3(0x153)](_0x587589,_0x358dbf,_0xf4b4c1);const _0x2d8d89=new _0x991e33(_0x587589,void 0x0,_0x7c62f0);_0x2d8d89[_0x8f87f3(0x22b)](_0x80b448);const _0x7277f7=JSON['parse'](JSON[_0x8f87f3(0x28d)](_0x572d48));return _0x25092e[_0x8f87f3(0x1e0)](_0x32d726,_0xf2a53a,_0x7c62f0,_0x2d8d89,_0x7277f7),_0x25092e[_0x8f87f3(0x353)]({'unitId':_0x32d726,'subUnitId':_0xf2a53a,'token':_0x7c62f0,'type':B[_0x8f87f3(0x192)],'pivotConfig':_0x7277f7}),!0x0;}},ps={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x29b),async 'handler'(_0x307e1f,_0x250410){const _0x866fec=_0x3f7e1b;if(!_0x250410)return!0x1;const {sourceDataInfo:_0x41e776,pivotTableConfig:_0xb85e96}=_0x250410;if(!_0x41e776||!_0xb85e96)return!0x1;const {unitId:_0x553812,subUnitId:_0x3c3e28,range:_0x11bcad}=_0x41e776,_0x4dd2f0=_0x307e1f['get'](_0x30bb52),_0x1bf089=_0x307e1f[_0x866fec(0x1f2)](X),_0x52ab73=_0x307e1f[_0x866fec(0x1f2)](_0x470962),_0x5a2e6a=_0x307e1f[_0x866fec(0x1f2)](_0x106ae8),_0x5884dd=_0x4dd2f0[_0x866fec(0x2a8)](_0x553812);if(!_0x5884dd)return!0x1;const _0x39b36b=_0x5884dd['getSheetBySheetId'](_0x3c3e28);if(!_0x39b36b)return!0x1;const _0x3b3040=_0x40f965(0x8),_0x4dda12=_0x11bcad||{'startRow':0x0,'startColumn':0x0,'endRow':_0x39b36b[_0x866fec(0x10f)]()-0x1,'endColumn':_0x39b36b['getColumnCount']()-0x1};_0x4dda12[_0x866fec(0x320)]=_0x12eba8['NORMAL'];const _0xfa70e3=(await _0x1bf089['getPivotDisplayConfig']({'unitId':_0x553812,'subUnitId':_0x3c3e28,'pivotTableId':_0x3b3040,'params':{'type':k[_0x866fec(0x25e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x553812,'sheetName':_0x39b36b[_0x866fec(0x137)](),'subUnitId':_0x3c3e28,'range':_0x4dda12},'pivotTableId':_0x3b3040,'pivotTableIndexConfig':_0xb85e96}}}))[_0x866fec(0x129)][_0x866fec(0x200)];if(!_0xfa70e3)return!0x1;const {isEmpty:_0xd4e538,fieldsConfig:_0x3907c3,collectionConfig:_0x413018,changesets:_0x210928}=_0xfa70e3,_0x12cdff=_0x5884dd[_0x866fec(0x164)]()[_0x866fec(0x18a)],_0x59015a=_0x475b2e({'rowCount':_0x39b36b[_0x866fec(0x10f)]()-0x1,'columnCount':_0x39b36b[_0x866fec(0x2e6)]()-0x1});_0x59015a['id']=_0x2e1f29(),_0x59015a[_0x866fec(0x373)]=_0x5884dd[_0x866fec(0x377)](''+_0x52ab73['t'](_0x866fec(0x2c8)));const _0x3147fd={'index':_0x12cdff,'sheet':_0x59015a,'unitId':_0x553812},{redos:_0xe18f51}=me(_0x5a2e6a,{'pivotTableId':_0x3b3040,'unitId':_0x553812,'subUnitId':_0x59015a['id']},_0x210928),_0x56f6e2=[{'id':_0x47433d['id'],'params':_0x3147fd},{'id':Ct['id'],'params':{'unitId':_0x553812,'subUnitId':_0x59015a['id'],'pivotTableId':_0x3b3040,'pivotTableConfig':{'isEmpty':_0xd4e538,'fieldsConfig':_0x3907c3,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x553812,'subUnitId':_0x59015a['id']},'sourceRangeInfo':{'subUnitId':_0x3c3e28,'unitId':_0x553812,'range':_0x4dda12,'sheetName':_0x39b36b[_0x866fec(0x137)]()}},'collectionConfig':_0x413018}},..._0xe18f51];return _0x1ae4a0(_0x56f6e2,_0x5a2e6a),!0x0;}},Et={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x1c8),'handler'(_0xf91cd0,_0x5e3844){const _0x17b005=_0x3f7e1b;if(!_0x5e3844)return!0x1;if(!!_0xf91cd0['get'](_0x1c8e08)[_0x17b005(0x1fe)](G))return!0x0;const {pivotTableId:_0x98ad41,unitId:_0x1e3ad7,subUnitId:_0x14d615}=_0x5e3844,_0x2e6595=_0xf91cd0[_0x17b005(0x1f2)](H);return _0x2e6595[_0x17b005(0x2d7)](_0x1e3ad7,_0x14d615,_0x98ad41)?(_0x2e6595[_0x17b005(0x353)]({'unitId':_0x1e3ad7,'subUnitId':_0x14d615,'token':_0x98ad41,'type':B['Delete']}),_0x2e6595['removePivotTable'](_0x1e3ad7,_0x14d615,_0x98ad41),!0x0):!0x1;}},ms={'type':_0x375b46['COMMAND'],'id':_0x3f7e1b(0x125),async 'handler'(_0x9a6e26,_0x288c09){const _0x363a0b=_0x3f7e1b;var _0x2296c1,_0x367138;const _0x2948c0=_0x9a6e26[_0x363a0b(0x1f2)](_0x106ae8),_0x3dab60=_0x9a6e26[_0x363a0b(0x1f2)](_0x30bb52),_0x430ea3=_0x9a6e26[_0x363a0b(0x1f2)](_0x470962),_0x28a1b2=_0x9a6e26['get'](X),_0x5a8cb9=_0x9a6e26[_0x363a0b(0x1f2)](_0xe827cc),_0x541c92=_0x9a6e26['get'](ve),_0x51917b=_0x9a6e26[_0x363a0b(0x1f2)](_0x1c8e08);if(!_0x288c09)return!0x1;const {pivotTableConfig:_0x1f2423,positionType:_0x1a030d}=_0x288c09,{targetCellInfo:_0x14937f,sourceRangeInfo:_0x1868ba}=_0x1f2423,{unitId:_0x5edb0f,subUnitId:_0x2a53b7}=_0x14937f,_0x171d34=_0x3dab60['getUnit'](_0x5edb0f);if(!_0x171d34)return!0x1;let _0x19be87=0x0;_0x171d34['getSheets']()[_0x363a0b(0x1b9)](_0x4fb045=>{const _0xf39f4d=_0x363a0b;var _0x7f92eb,_0x15c81f;_0x19be87+=(_0x15c81f=(_0x7f92eb=_0x541c92['getSubUnitPivotConfigs'](_0x5edb0f,_0x4fb045[_0xf39f4d(0x2cc)]()))==null?void 0x0:_0x7f92eb[_0xf39f4d(0x111)])!=null?_0x15c81f:0x0;});const _0x3fb9ec=(_0x2296c1=_0x51917b[_0x363a0b(0x1fe)](_0x256fae))!=null?_0x2296c1:{},{ls:_0xc1a5f3,pbk:_0x2486e0}=_0x3fb9ec;if(!Jo(_0xc1a5f3,_0x2486e0))return!0x1;const _0x7024cb=go(so,_0xc1a5f3,_0x2486e0)[_0x363a0b(0x20f)];if(_0x19be87>=_0x7024cb)return!0x1;const _0x4a255b=_0x288c09['pivotTableId']||_0x40f965(0x8),_0x3a3c43=(await _0x28a1b2[_0x363a0b(0x13a)]({'unitId':_0x5edb0f,'subUnitId':_0x2a53b7,'pivotTableId':_0x4a255b,'params':{'type':k[_0x363a0b(0x316)],'addPivotTable':{'sourceRangeInfo':_0x1868ba,'pivotTableId':_0x4a255b}}}))['result']['addPivotTable'];if(!_0x3a3c43)return!0x1;const {view:_0x8f9e48,isEmpty:_0x2c096e,fieldsConfig:_0x2360df,collectionConfig:_0x2bae78}=_0x3a3c43,_0x1e42f5=[],_0x39dfd3=[];if(_0x1a030d===Lo[_0x363a0b(0x147)]){const _0x5f49f4=_0x171d34[_0x363a0b(0x164)]()[_0x363a0b(0x18a)],_0xafaa38=_0x475b2e({});_0xafaa38['id']=_0x1f2423[_0x363a0b(0x259)][_0x363a0b(0x21e)],_0xafaa38[_0x363a0b(0x373)]=(_0x367138=_0x1f2423[_0x363a0b(0x259)]['sheetName'])!=null?_0x367138:_0x171d34[_0x363a0b(0x377)](''+_0x430ea3['t'](_0x363a0b(0x2c8)));const _0x1d482e={'index':_0x5f49f4,'sheet':_0xafaa38,'unitId':_0x5edb0f},_0x1ea06c=_0x4b0229(_0x9a6e26,_0x1d482e);_0x1e42f5[_0x363a0b(0x144)]({'id':_0x5f22ae['id'],'params':_0x1ea06c}),_0x39dfd3[_0x363a0b(0x144)]({'id':_0x2fa713['id'],'params':_0x1d482e});}else{if(!_0x171d34[_0x363a0b(0x222)](_0x2a53b7))return!0x1;const _0x4ec5b1=we(_0x9a6e26,new _0x50bf2b(),_0x14937f,!0x0);_0x39dfd3[_0x363a0b(0x144)](..._0x4ec5b1['redos']),_0x1e42f5[_0x363a0b(0x144)](..._0x4ec5b1['undos']);const _0x4b4558={'cellInfo':_0x14937f,'view':_0x8f9e48,'isEmpty':_0x2c096e};if(!await _0x9a6e26[_0x363a0b(0x1f2)](ie)[_0x363a0b(0x182)][_0x363a0b(0x103)](be)(!0x0,_0x4b4558))return!0x1;const _0x56eb08=Re(_0x9a6e26,_0x4b4558);_0x39dfd3['push'](..._0x56eb08[_0x363a0b(0x173)]),_0x1e42f5[_0x363a0b(0x144)](..._0x56eb08['undos']);}return _0x39dfd3['push']({'id':Ct['id'],'params':{'unitId':_0x14937f[_0x363a0b(0x29f)],'subUnitId':_0x14937f[_0x363a0b(0x21e)],'pivotTableId':_0x4a255b,'pivotTableConfig':{'targetCellInfo':_0x14937f,'sourceRangeInfo':_0x1868ba,'fieldsConfig':_0x2360df},'collectionConfig':_0x2bae78}}),_0x1e42f5['unshift']({'id':Et['id'],'params':{'unitId':_0x5edb0f,'subUnitId':_0x2a53b7,'pivotTableId':_0x4a255b}}),_0x1ae4a0(_0x39dfd3,_0x2948c0)&&_0x5a8cb9[_0x363a0b(0x25a)]({'unitID':_0x5edb0f,'undoMutations':_0x1e42f5,'redoMutations':_0x39dfd3}),!0x0;}},Is={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x1c1),async 'handler'(_0x456248,_0x2fffbf){const _0x4343b3=_0x3f7e1b;if(!_0x2fffbf)return!0x1;const _0x2da67b=_0x456248[_0x4343b3(0x1f2)](_0x106ae8),_0xc5134d=_0x456248[_0x4343b3(0x1f2)](X),_0x191070=_0x456248[_0x4343b3(0x1f2)](_0xe827cc),{pivotTableId:_0x252615,fieldId:_0x34f23c,area:_0x11ead1,index:_0x901b3,unitId:_0x410ebe,subUnitId:_0x1b5179}=_0x2fffbf,_0x5a85e4=(await _0xc5134d[_0x4343b3(0x13a)]({'unitId':_0x410ebe,'subUnitId':_0x1b5179,'pivotTableId':_0x252615,'params':{'type':k['MovePivotField'],'movePivotField':{'fieldId':_0x34f23c,'area':_0x11ead1,'index':_0x901b3}}}))[_0x4343b3(0x129)]['movePivotField'];if(!_0x5a85e4)return!0x1;const {changesets:_0x379236,view:_0x26867c,isEmpty:_0xf8ec9f,pivotTableConfig:_0x133572}=_0x5a85e4,_0x17456a=_0x133572['targetCellInfo'],_0x579c6e=new _0x50bf2b();_0x579c6e[_0x4343b3(0x198)](_0x26867c);const _0x3d8cfb={'cellInfo':_0x17456a,'view':_0x579c6e,'isEmpty':_0xf8ec9f};if(!await _0x456248[_0x4343b3(0x1f2)](ie)[_0x4343b3(0x182)][_0x4343b3(0x103)](be)(!0x0,_0x3d8cfb))return!0x1;const _0x55d579=we(_0x456248,_0x579c6e,_0x17456a,_0xf8ec9f),_0x5cc286=Re(_0x456248,_0x3d8cfb),{redos:_0x305f69,undos:_0x59092a}=me(_0x2da67b,{'pivotTableId':_0x252615,'unitId':_0x410ebe,'subUnitId':_0x1b5179},_0x379236);return _0x1ae4a0([..._0x55d579[_0x4343b3(0x173)],..._0x5cc286[_0x4343b3(0x173)],..._0x305f69],_0x2da67b),_0x191070[_0x4343b3(0x25a)]({'unitID':_0x410ebe,'redoMutations':[..._0x55d579[_0x4343b3(0x173)],..._0x5cc286[_0x4343b3(0x173)],..._0x305f69],'undoMutations':[..._0x55d579[_0x4343b3(0x1d1)],..._0x5cc286[_0x4343b3(0x1d1)],..._0x59092a]}),!0x0;}},pt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x22e),'handler'(_0x5c60a2,_0x470fe3){const _0x9a8ed1=_0x3f7e1b;if(!_0x470fe3)return!0x1;if(!!_0x5c60a2[_0x9a8ed1(0x1f2)](_0x1c8e08)['getConfig'](G))return!0x0;const {pivotTableId:_0x57db8f,targetCellPosition:_0x4404e0,unitId:_0x3f7211,subUnitId:_0x5eddcd}=_0x470fe3,_0x5d9a52=_0x5c60a2['get'](H);if(!_0x5d9a52['getPivotTableInstance'](_0x470fe3[_0x9a8ed1(0x2a4)]))return!0x1;const _0x499d78=_0x5d9a52[_0x9a8ed1(0x138)](_0x57db8f);if(!_0x499d78)return!0x1;const _0xa686de=_0x5d9a52['getCollection'](_0x499d78[_0x9a8ed1(0x29f)],_0x470fe3['pivotTableId']);if(!_0xa686de)return!0x1;const _0x281c5e=_0x5d9a52['getPivotTableConfig'](_0x499d78['unitId'],_0x499d78[_0x9a8ed1(0x21e)],_0x57db8f);if(!_0x281c5e)return!0x1;const _0x3a4a95=_0x8aa74a[_0x9a8ed1(0x2b6)](_0x281c5e);_0x3a4a95[_0x9a8ed1(0x259)]={'unitId':_0x3f7211,'subUnitId':_0x5eddcd,'row':_0x4404e0['row'],'col':_0x4404e0[_0x9a8ed1(0x1d8)]};const _0x542ed3=_0xa686de['toJSON']();if(_0x499d78[_0x9a8ed1(0x21e)]===_0x5eddcd&&_0x499d78[_0x9a8ed1(0x29f)]===_0x3f7211)_0x5d9a52[_0x9a8ed1(0x21f)](_0x3f7211,_0x5eddcd,_0x57db8f,_0x3a4a95),_0x5d9a52['addDirtyPivotTable']({'unitId':_0x3f7211,'subUnitId':_0x5eddcd,'token':_0x57db8f,'type':B[_0x9a8ed1(0x26f)]});else{_0x5d9a52[_0x9a8ed1(0x353)]({'unitId':_0x499d78['unitId'],'subUnitId':_0x499d78[_0x9a8ed1(0x21e)],'token':_0x57db8f,'type':B[_0x9a8ed1(0xfb)]}),_0x5d9a52['removePivotTable'](_0x499d78['unitId'],_0x499d78[_0x9a8ed1(0x21e)],_0x57db8f);const _0x5824b6=_0x5d9a52['addCollectionByJSON'](_0x57db8f,_0x542ed3,_0x281c5e[_0x9a8ed1(0x207)],_0x3a4a95[_0x9a8ed1(0x259)]),_0x56bba5=new _0x991e33(_0x5824b6['collection'],void 0x0,_0x57db8f);_0x56bba5[_0x9a8ed1(0x22b)](_0x3a4a95['fieldsConfig']),_0x5d9a52['addPivotTable'](_0x3f7211,_0x5eddcd,_0x57db8f,_0x56bba5,_0x3a4a95),_0x5d9a52[_0x9a8ed1(0x353)]({'unitId':_0x3f7211,'subUnitId':_0x5eddcd,'token':_0x57db8f,'type':B[_0x9a8ed1(0x192)],'pivotConfig':_0x3a4a95});}return!0x0;}},Cs={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x309),'handler':(_0x5a9b5a,_0x2776c3)=>{const _0x59323b=_0x3f7e1b,_0x553efe=_0x5a9b5a[_0x59323b(0x1f2)](_0x106ae8),_0x332b27=_0x5a9b5a[_0x59323b(0x1f2)](_0xe827cc),_0x42bf47=_0x5a9b5a[_0x59323b(0x1f2)](ve),_0x4aed9b=_0x5a9b5a[_0x59323b(0x1f2)](_0x30bb52);if(!_0x2776c3)return!0x1;const _0x22dd3a=_0x2407c5(_0x4aed9b);if(!_0x22dd3a)return!0x1;const {unitId:_0x52c67c,subUnitId:_0x5ced00,workbook:_0x2f183f}=_0x22dd3a,_0x4bc10f=_0x42bf47[_0x59323b(0x2d7)](_0x2776c3[_0x59323b(0x1ac)]['unitId'],_0x2776c3[_0x59323b(0x1ac)][_0x59323b(0x21e)],_0x2776c3[_0x59323b(0x2a4)]);if(!_0x4bc10f)return!0x1;const _0x17837f=_0x2f183f['getSheetBySheetId'](_0x2776c3[_0x59323b(0x259)][_0x59323b(0x21e)]);if(!_0x17837f)throw new Error(_0x59323b(0x180));const _0x1608e0=_0x17837f['getRowCount'](),_0x311b36=_0x17837f[_0x59323b(0x2e6)]();if(_0x2776c3['targetCellInfo'][_0x59323b(0x12d)]>_0x1608e0||_0x2776c3['targetCellInfo'][_0x59323b(0x1d8)]>_0x311b36)throw new Error(_0x59323b(0x321));const _0x85ca90=[{'id':pt['id'],'params':{'unitId':_0x52c67c,'subUnitId':_0x2776c3[_0x59323b(0x259)][_0x59323b(0x21e)],'pivotTableId':_0x2776c3[_0x59323b(0x2a4)],'targetCellPosition':{'row':_0x2776c3[_0x59323b(0x259)]['row'],'col':_0x2776c3[_0x59323b(0x259)][_0x59323b(0x1d8)]}}}],_0x2d3660=[{'id':pt['id'],'params':{'unitId':_0x52c67c,'subUnitId':_0x5ced00,'pivotTableId':_0x2776c3[_0x59323b(0x2a4)],'targetCellPosition':{'row':_0x4bc10f[_0x59323b(0x259)]['row'],'col':_0x4bc10f[_0x59323b(0x259)][_0x59323b(0x1d8)]}}}];return _0x1ae4a0(_0x85ca90,_0x553efe)&&_0x332b27[_0x59323b(0x25a)]({'unitID':_0x52c67c,'undoMutations':_0x2d3660,'redoMutations':_0x85ca90}),!0x0;}},bs={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x30c),async 'handler'(_0xbb38f5,_0x1aebcf){const _0x5c4ebc=_0x3f7e1b;var _0x4145fe;if(!_0x1aebcf)return!0x1;const _0x1acc25=_0xbb38f5[_0x5c4ebc(0x1f2)](_0x30bb52),_0x3a9c39=_0x2407c5(_0x1acc25);if(!_0x3a9c39)return!0x1;const {unitId:_0x523289,subUnitId:_0x4ea04c,workbook:_0x503f24}=_0x3a9c39,{row:_0x3fac64,col:_0x3dcc63}=_0x1aebcf,_0x2c20b6=_0xbb38f5['get'](Ve),_0x58ff7f=_0x2c20b6[_0x5c4ebc(0x16b)](_0x523289,_0x4ea04c,_0x3fac64,_0x3dcc63);if(!_0x58ff7f)return!0x1;const _0x1eae56=(_0x4145fe=_0x2c20b6[_0x5c4ebc(0x2f5)](_0x523289,_0x4ea04c,_0x58ff7f))==null?void 0x0:_0x4145fe['areaInfo'];if(!_0x1eae56)return!0x1;const _0x1f3b6a=_0xbb38f5[_0x5c4ebc(0x1f2)](ve)[_0x5c4ebc(0x2d7)](_0x523289,_0x4ea04c,_0x58ff7f);if(!_0x1f3b6a)return!0x1;const {rowInfo:_0x262c04,colInfo:_0x28f61c}=_0x1eae56,_0x34e74b=_0x262c04[_0x3fac64][_0x5c4ebc(0x33f)],_0x1441aa=_0x28f61c[_0x3dcc63]['paths'],_0x3ff986=_0x262c04[_0x3fac64][_0x5c4ebc(0x16f)],_0x5a8a18=_0x28f61c[_0x3dcc63][_0x5c4ebc(0x16f)],_0x412f5a=_0x34e74b[_0x5c4ebc(0x171)](_0x1441aa),_0x3cc08b=_0x1f3b6a['fieldsConfig'][_0x5c4ebc(0x104)]['slice'](0x0,_0x3ff986),_0x101e14=_0x1f3b6a[_0x5c4ebc(0x2ed)][_0x5c4ebc(0x32f)][_0x5c4ebc(0x299)](0x0,_0x5a8a18),_0x47d4a5=_0x3cc08b[_0x5c4ebc(0x171)](_0x101e14),_0x46153d=_0x412f5a[_0x5c4ebc(0x33c)]((_0x53845b,_0x4a1e2a)=>[_0x53845b,_0x47d4a5[_0x4a1e2a]]),_0x410bef=(await _0xbb38f5[_0x5c4ebc(0x1f2)](X)[_0x5c4ebc(0x13a)]({'unitId':_0x523289,'subUnitId':_0x4ea04c,'pivotTableId':_0x58ff7f,'params':{'type':k[_0x5c4ebc(0x246)],'drillDown':{'tuple':_0x46153d}}}))[_0x5c4ebc(0x129)][_0x5c4ebc(0x2b7)];if(!_0x410bef)return!0x1;const {indexes:_0x3cfa52,range:_0x90840,sourceUnitId:_0x20c38c,sourceSubUnitId:_0x212018,formatMap:_0x2ab317}=_0x410bef,{startRow:_0x3a9c67,endRow:_0x28b0fc,startColumn:_0x58f6b3,endColumn:_0x563c99}=_0x90840,_0x14edcc=new _0x1e8df5(),_0xab9f4a=_0x28b0fc-_0x3a9c67,_0x451f8c=_0x563c99-_0x58f6b3,_0x2918e2={},_0x45a093=_0x2407c5(_0x1acc25,{'unitId':_0x20c38c,'subUnitId':_0x212018});if(!_0x45a093)return!0x1;const _0x5963d7=fe['colStyle'],_0x153376=fe['subTotalStyle'],_0x58ee4d=fe['subTotalStyle'],_0x32c338=_0x503f24['getStyles']()[_0x5c4ebc(0x241)](_0x5963d7),_0x3c5519=_0x503f24['getStyles']()[_0x5c4ebc(0x241)](_0x153376),_0x2ebf7d=_0x503f24[_0x5c4ebc(0x2b8)]()[_0x5c4ebc(0x241)](_0x58ee4d),{worksheet:_0x11b1d1}=_0x45a093;let _0x4b3d7b=0x0;const _0x43fe6d=0x1;_0x3cfa52[_0x5c4ebc(0x1b9)](_0x571e3a=>{const _0x422e66=_0x5c4ebc;for(let _0x2d9077=0x0;_0x2d9077<=_0x563c99-_0x58f6b3;_0x2d9077++)_0x14edcc['setValue'](_0x4b3d7b,_0x2d9077,_0x11b1d1['getCellRaw'](_0x571e3a+_0x90840[_0x422e66(0x375)]+_0x43fe6d,_0x2d9077));_0x4b3d7b++;});for(let _0x1e01f3=_0x58f6b3;_0x1e01f3<=_0x563c99;_0x1e01f3++){const _0x4e6fe8=_0x11b1d1[_0x5c4ebc(0x2c4)](_0x3a9c67,_0x1e01f3);_0x2918e2[_0x3a9c67]||(_0x2918e2[_0x3a9c67]={}),_0x2918e2[_0x3a9c67][_0x1e01f3]={..._0x4e6fe8,'s':_0x32c338};}let _0x3c2f3c=0x1;const _0x3fba6b={},_0x17e4ee={};_0x14edcc[_0x5c4ebc(0x2ef)]((_0x3c5605,_0x20bab8)=>{const _0x143a91=_0x5c4ebc;_0x20bab8[_0x143a91(0x1b9)](_0x443313=>{const _0x43de76=_0x14edcc['getValue'](_0x3c5605,_0x443313);if(_0x2918e2[_0x3c2f3c]||(_0x2918e2[_0x3c2f3c]={}),_0x2918e2[_0x3c2f3c][_0x443313]={..._0x43de76,'s':_0x3c2f3c%0x2===0x0?_0x2ebf7d:_0x3c5519},_0x2ab317[_0x443313]&&_0x3c5605>=0x0){const _0x4d1a3e=_0x3c2f3c%0x2===0x0;let _0x330ad7=_0x4d1a3e?_0x17e4ee[_0x443313]:_0x3fba6b[_0x443313];_0x330ad7||(_0x330ad7=_0x503f24['getStyles']()['setValue']({..._0x4d1a3e?_0x58ee4d:_0x153376,'n':{'pattern':_0x2ab317[_0x443313]}}),_0x4d1a3e?_0x17e4ee[_0x443313]=_0x330ad7:_0x3fba6b[_0x443313]=_0x330ad7),_0x2918e2[_0x3c2f3c][_0x443313]['s']=_0x330ad7;}}),_0x3c2f3c++;});const _0x530df4=new _0x1e8df5(_0x2918e2),_0x17dec1={};_0x530df4['forValue']((_0x367a1d,_0x3d8579,_0x1e52e9)=>{_0x17dec1[_0x367a1d]||(_0x17dec1[_0x367a1d]={}),_0x17dec1[_0x367a1d][_0x3d8579]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1f6bfc=[],_0x1e387c=[],_0x1a27c5=_0x503f24['getSheets']()[_0x5c4ebc(0x18a)],_0x3ef4a5=_0x475b2e({'rowCount':Math['max'](_0x94572c,_0xab9f4a+0xa),'columnCount':Math[_0x5c4ebc(0x1eb)](_0x21f836,_0x451f8c+0x5)}),_0x4ab553=_0xbb38f5['get'](_0x470962);_0x3ef4a5['id']=_0x2e1f29(),_0x3ef4a5[_0x5c4ebc(0x373)]=_0x503f24[_0x5c4ebc(0x377)](''+_0x4ab553['t'](_0x5c4ebc(0x2c8)));const _0x1d9d52={'index':_0x1a27c5,'sheet':_0x3ef4a5,'unitId':_0x523289},_0x36be9d=_0x4b0229(_0xbb38f5,_0x1d9d52);_0x1e387c[_0x5c4ebc(0x144)]({'id':_0x2fa713['id'],'params':_0x1d9d52}),_0x1f6bfc['push']({'id':_0x5f22ae['id'],'params':_0x36be9d}),_0x1e387c[_0x5c4ebc(0x144)]({'id':_0x2792bb['id'],'params':{'unitId':_0x523289,'subUnitId':_0x3ef4a5['id'],'cellValue':_0x2918e2}}),_0x1f6bfc[_0x5c4ebc(0x1fd)]({'id':_0x2792bb['id'],'params':{'unitId':_0x523289,'subUnitId':_0x3ef4a5['id'],'cellValue':_0x17dec1}});const _0x52b995={'startRow':0x0,'startColumn':0x0,'endRow':_0x3c2f3c-0x1,'endColumn':_0x563c99};_0x1e387c[_0x5c4ebc(0x144)]({'id':_0xde19f5['id'],'params':{'unitId':_0x523289,'subUnitId':_0x3ef4a5['id'],'range':_0x52b995}}),_0x1f6bfc[_0x5c4ebc(0x1fd)]({'id':_0x59ace0['id'],'params':{'unitId':_0x523289,'subUnitId':_0x3ef4a5['id']}});const _0x11ba81=_0xbb38f5[_0x5c4ebc(0x1f2)](_0x106ae8);return _0x1ae4a0(_0x1e387c,_0x11ba81)&&_0xbb38f5[_0x5c4ebc(0x1f2)](_0xe827cc)[_0x5c4ebc(0x25a)]({'unitID':_0x523289,'undoMutations':_0x1f6bfc,'redoMutations':_0x1e387c}),!0x0;}},Ss={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x50a2ef,_0x2eb488){const _0x342de1=_0x3f7e1b;if(!_0x2eb488)return!0x1;const _0x16bde2=_0x50a2ef[_0x342de1(0x1f2)](_0x106ae8),_0xbdca3f=_0x50a2ef[_0x342de1(0x1f2)](X),_0x16d6c1=_0x50a2ef[_0x342de1(0x1f2)](_0xe827cc),{pivotTableId:_0x214d2b,fieldIds:_0xae2af4,unitId:_0x1d9563,subUnitId:_0xf02370}=_0x2eb488,_0x1c2aae=(await _0xbdca3f['getPivotDisplayConfig']({'unitId':_0x1d9563,'subUnitId':_0xf02370,'pivotTableId':_0x214d2b,'params':{'type':k[_0x342de1(0x141)],'removePivotField':{'fieldIds':_0xae2af4}}}))[_0x342de1(0x129)]['removePivotField'];if(!_0x1c2aae)return!0x1;const {view:_0xdf2352,changesets:_0x252c3c,isEmpty:_0x2e0180,pivotTableConfig:_0x2a047b}=_0x1c2aae,_0xc6f627=_0x2a047b['targetCellInfo'],_0x234842=new _0x50bf2b();_0x234842[_0x342de1(0x198)](_0xdf2352);const _0x442889={'cellInfo':_0xc6f627,'view':_0x234842,'isEmpty':_0x2e0180};if(!await _0x50a2ef[_0x342de1(0x1f2)](ie)[_0x342de1(0x182)][_0x342de1(0x103)](be)(!0x0,_0x442889))return!0x1;const _0x33eaf6=we(_0x50a2ef,_0x234842,_0xc6f627,_0x2e0180),_0x4e8c05=Re(_0x50a2ef,_0x442889),{redos:_0x1ee150,undos:_0x2ecb18}=me(_0x16bde2,{'pivotTableId':_0x214d2b,'unitId':_0x1d9563,'subUnitId':_0xf02370},_0x252c3c);return _0x1ae4a0([..._0x33eaf6[_0x342de1(0x173)],..._0x4e8c05['redos'],..._0x1ee150],_0x16bde2),_0x16d6c1['pushUndoRedo']({'unitID':_0x1d9563,'redoMutations':[..._0x33eaf6[_0x342de1(0x173)],..._0x4e8c05[_0x342de1(0x173)],..._0x1ee150],'undoMutations':[..._0x33eaf6[_0x342de1(0x1d1)],..._0x4e8c05[_0x342de1(0x1d1)],..._0x2ecb18]}),!0x0;}},Ps={'type':_0x375b46['COMMAND'],'id':_0x3f7e1b(0x1dc),async 'handler'(_0x4c7734,_0x10ff6b){const _0x4787bc=_0x3f7e1b;if(!_0x10ff6b)return!0x1;const _0x29df48=_0x4c7734[_0x4787bc(0x1f2)](_0x106ae8),_0x25a37b=_0x4c7734[_0x4787bc(0x1f2)](_0xe827cc),_0x43790b=_0x4c7734[_0x4787bc(0x1f2)](X),{resetArea:_0x3b549e,pivotTableId:_0x313a1,unitId:_0x3e08d5,subUnitId:_0x2b1b37}=_0x10ff6b,_0x209831=(await _0x43790b[_0x4787bc(0x13a)]({'unitId':_0x3e08d5,'subUnitId':_0x2b1b37,'pivotTableId':_0x313a1,'params':{'type':k[_0x4787bc(0x1af)],'resetPivotTable':{'pivotTableId':_0x313a1,'resetArea':_0x3b549e}}}))[_0x4787bc(0x129)][_0x4787bc(0x1e6)];if(!_0x209831)return!0x1;const {changesets:_0x483b48}=_0x209831,{redos:_0x319266,undos:_0x377ab2}=me(_0x29df48,{'pivotTableId':_0x313a1,'unitId':_0x3e08d5,'subUnitId':_0x2b1b37},_0x483b48);return _0x1ae4a0(_0x319266,_0x29df48),_0x25a37b[_0x4787bc(0x25a)]({'unitID':_0x3e08d5,'redoMutations':_0x319266,'undoMutations':_0x377ab2}),!0x0;}},Ts={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x1fe80b,_0x330297){const _0x2d40f5=_0x3f7e1b,_0x57d302=_0x1fe80b[_0x2d40f5(0x1f2)](_0x106ae8),_0x2fefd8=_0x1fe80b[_0x2d40f5(0x1f2)](X),_0x129560=_0x1fe80b['get'](Ve),_0x434d31=_0x1fe80b[_0x2d40f5(0x1f2)](_0x30bb52),_0xf3ea0f=_0x1fe80b[_0x2d40f5(0x1f2)](_0x470962),_0x213013=_0x1fe80b[_0x2d40f5(0x1f2)](_0xe827cc);if(!_0x330297)return!0x1;const {unitId:_0xee8f3e,subUnitId:_0x2d4fc0,row:_0x3c8eeb,col:_0x49c592,collapse:_0xfd9d3c}=_0x330297,_0x86a624=_0x434d31[_0x2d40f5(0x2a8)](_0xee8f3e);if(!_0x86a624||!_0x86a624[_0x2d40f5(0x222)](_0x2d4fc0))return!0x1;const _0x23f0b0=_0x129560[_0x2d40f5(0x16b)](_0xee8f3e,_0x2d4fc0,_0x3c8eeb,_0x49c592);if(!_0x23f0b0)return!0x1;const _0x3dd8e9=_0x129560[_0x2d40f5(0x2f5)](_0xee8f3e,_0x2d4fc0,_0x23f0b0);if(!_0x3dd8e9)return!0x1;const _0xc8b2a3=_0x301301(_0x3c8eeb,_0x49c592),{rangesInfo:_0x93be86,areaInfo:_0x30381c,headerMap:_0x428db8}=_0x3dd8e9;if(!_0x93be86||!_0x30381c||!_0x428db8)return!0x1;const _0x2686f0=Object[_0x2d40f5(0x1f4)](_0x93be86)[_0x2d40f5(0x343)](_0x1e7cbd=>_0x93be86[_0x1e7cbd][_0x2d40f5(0x318)](_0x2fd7de=>_0x58ac80[_0x2d40f5(0x160)](_0x2fd7de,_0xc8b2a3)));let _0x3bf360;_0x2686f0==='rowRanges'?_0x3bf360=_0x428db8['rowHeaderMap'][_0x49c592]:_0x2686f0===_0x2d40f5(0x145)&&(_0x3bf360=_0x428db8['colHeaderMap'][_0x3c8eeb]);const _0x54be46=_0x3bf360==null?void 0x0:_0x3bf360[_0x2d40f5(0xff)],_0x5d09b1=_0x129560[_0x2d40f5(0x1ce)](_0xee8f3e,_0x2d4fc0,_0x3c8eeb,_0x49c592);let _0x4ac4c2=_0x5d09b1==null?void 0x0:_0x5d09b1['v'];if(_0x4ac4c2===_0xf3ea0f['t']('sheets-pivot.blank')&&(_0x4ac4c2=_0x88790d[_0x2d40f5(0x1df)]),_0x4ac4c2==null||!_0x23f0b0||!_0x54be46)return!0x1;const _0x313991=await _0x2fefd8[_0x2d40f5(0x13a)]({'unitId':_0xee8f3e,'subUnitId':_0x2d4fc0,'pivotTableId':_0x23f0b0,'params':{'type':k[_0x2d40f5(0x1ab)],'setPivotCollapse':{'tableFieldId':_0x54be46,'collapse':_0xfd9d3c,'item':_0x4ac4c2}}}),_0x369c37=_0x313991==null?void 0x0:_0x313991[_0x2d40f5(0x129)][_0x2d40f5(0x2b3)];if(!_0x369c37)return!0x1;const {view:_0x37a4dd,pivotTableConfig:_0x337003,isEmpty:_0x12a0ff,changesets:_0x3ebcd4}=_0x369c37,_0x4fc09c=new _0x50bf2b();_0x4fc09c[_0x2d40f5(0x198)](_0x37a4dd);const _0x552ed9=_0x337003['targetCellInfo'],_0x983067={'cellInfo':_0x552ed9,'view':_0x4fc09c,'isEmpty':_0x12a0ff};if(!await _0x1fe80b[_0x2d40f5(0x1f2)](ie)['asyncInterceptor'][_0x2d40f5(0x103)](be)(!0x0,_0x983067))return!0x1;const _0x559221=we(_0x1fe80b,_0x4fc09c,_0x552ed9,_0x12a0ff),_0x364652=Re(_0x1fe80b,_0x983067),{redos:_0x567811,undos:_0x3d8775}=me(_0x57d302,{'pivotTableId':_0x23f0b0,'unitId':_0xee8f3e,'subUnitId':_0x2d4fc0},_0x3ebcd4);return _0x1ae4a0([..._0x559221['redos'],..._0x364652[_0x2d40f5(0x173)],..._0x567811],_0x57d302),_0x213013[_0x2d40f5(0x25a)]({'unitID':_0xee8f3e,'redoMutations':[..._0x559221['redos'],..._0x364652[_0x2d40f5(0x173)],..._0x567811],'undoMutations':[..._0x559221['undos'],..._0x364652[_0x2d40f5(0x1d1)],..._0x3d8775]}),!0x0;}},Ms={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x1a0),async 'handler'(_0xb6715d,_0x38fbf0){const _0x246e0e=_0x3f7e1b;if(!_0x38fbf0)return!0x1;const _0x48e5c7=_0xb6715d[_0x246e0e(0x1f2)](_0x106ae8),_0x4275ed=_0xb6715d['get'](_0xe827cc),_0x20ab68=_0xb6715d[_0x246e0e(0x1f2)](X),{pivotTableConfig:_0x350a10,pivotTableId:_0x43b279,unitId:_0x4a6401,subUnitId:_0x438995}=_0x38fbf0,_0x353681=(await _0x20ab68['getPivotDisplayConfig']({'unitId':_0x4a6401,'subUnitId':_0x438995,'pivotTableId':_0x43b279,'params':{'type':k[_0x246e0e(0x2ab)],'setPivotTableConfig':{'pivotTableId':_0x43b279,'pivotTableConfig':_0x350a10}}}))[_0x246e0e(0x129)][_0x246e0e(0x2d0)];if(!_0x353681)return!0x1;const {changesets:_0x4cd984}=_0x353681,{redos:_0x48bc93,undos:_0x39ea89}=me(_0x48e5c7,{'pivotTableId':_0x43b279,'unitId':_0x4a6401,'subUnitId':_0x438995},_0x4cd984);return _0x1ae4a0(_0x48bc93,_0x48e5c7),_0x4275ed[_0x246e0e(0x25a)]({'unitID':_0x4a6401,'redoMutations':_0x48bc93,'undoMutations':_0x39ea89}),!0x0;}},ys={'type':_0x375b46['COMMAND'],'id':_0x3f7e1b(0x325),async 'handler'(_0x29ff3f,_0x4e4ddd){const _0x59a657=_0x3f7e1b;if(!_0x4e4ddd)return!0x1;const _0xf2da58=_0x29ff3f[_0x59a657(0x1f2)](_0x106ae8),{pivotTableId:_0x2a1ab3,tableFieldId:_0x3f1d64,items:_0x27bffd,unitId:_0x32bdc7,subUnitId:_0xf843d0,isAll:_0x43081e}=_0x4e4ddd,_0xfe497f=_0x29ff3f[_0x59a657(0x1f2)](X),_0x233efc=_0x29ff3f['get'](_0xe827cc),_0x478de9=(await _0xfe497f['getPivotDisplayConfig']({'unitId':_0x32bdc7,'subUnitId':_0xf843d0,'pivotTableId':_0x2a1ab3,'params':{'type':k[_0x59a657(0x142)],'setPivotFilter':{'tableFieldId':_0x3f1d64,'items':_0x27bffd,'isAll':_0x43081e}}}))[_0x59a657(0x129)][_0x59a657(0x1f0)];if(!_0x478de9)return!0x1;const {changesets:_0x1436de,pivotTableConfig:_0x34e121,isEmpty:_0x3a30e9,view:_0x4b4983}=_0x478de9,_0x10fabd=_0x34e121[_0x59a657(0x259)],_0x2703ac=new _0x50bf2b();_0x2703ac[_0x59a657(0x198)](_0x4b4983);const _0x2015f7={'cellInfo':_0x10fabd,'view':_0x2703ac,'isEmpty':_0x3a30e9};if(!await _0x29ff3f[_0x59a657(0x1f2)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2015f7))return!0x1;const _0x4e040e=we(_0x29ff3f,_0x2703ac,_0x10fabd,_0x3a30e9),_0x1c45ad=Re(_0x29ff3f,_0x2015f7),{undos:_0x1cdf15,redos:_0x7f1a76}=me(_0xf2da58,{'pivotTableId':_0x2a1ab3,'unitId':_0x32bdc7,'subUnitId':_0xf843d0},_0x1436de);return _0x1ae4a0([..._0x4e040e[_0x59a657(0x173)],..._0x1c45ad['redos'],..._0x7f1a76],_0xf2da58),_0x233efc[_0x59a657(0x25a)]({'unitID':_0x32bdc7,'redoMutations':[..._0x4e040e[_0x59a657(0x173)],..._0x1c45ad[_0x59a657(0x173)],..._0x7f1a76],'undoMutations':[..._0x4e040e[_0x59a657(0x1d1)],..._0x1c45ad['undos'],..._0x1cdf15]}),!0x0;}},ws={'type':_0x375b46['COMMAND'],'id':_0x3f7e1b(0xfa),async 'handler'(_0x25aa32,_0x1ef485){const _0x49d6b3=_0x3f7e1b;if(!_0x1ef485)return!0x1;const _0x28604d=_0x25aa32[_0x49d6b3(0x1f2)](_0x106ae8),_0x2f0d78=_0x25aa32['get'](_0xe827cc),_0x552c6d=_0x25aa32[_0x49d6b3(0x1f2)](X),{info:_0x6948b1,tableFieldId:_0x3b6819,pivotTableId:_0x44647a,unitId:_0x51db73,subUnitId:_0x5645aa}=_0x1ef485,_0xb3c637=(await _0x552c6d['getPivotDisplayConfig']({'unitId':_0x51db73,'subUnitId':_0x5645aa,'pivotTableId':_0x44647a,'params':{'type':k[_0x49d6b3(0x205)],'setPivotSort':{'tableFieldId':_0x3b6819,'info':_0x6948b1}}}))[_0x49d6b3(0x129)][_0x49d6b3(0x30f)];if(!_0xb3c637)return!0x1;const {changesets:_0x556d04}=_0xb3c637,{redos:_0x582238,undos:_0x2a1016}=me(_0x28604d,{'pivotTableId':_0x44647a,'unitId':_0x51db73,'subUnitId':_0x5645aa},_0x556d04);return _0x1ae4a0(_0x582238,_0x28604d),_0x2f0d78[_0x49d6b3(0x25a)]({'unitID':_0x51db73,'redoMutations':_0x582238,'undoMutations':_0x2a1016}),!0x0;}},Rs={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x187),async 'handler'(_0x2e50ba,_0x22cca0){const _0x45035d=_0x3f7e1b;if(!_0x22cca0)return!0x1;const _0x5bf2b6=_0x2e50ba[_0x45035d(0x1f2)](_0x106ae8),{pivotTableId:_0x48e961,fieldId:_0x5c755e,valueFilterInfo:_0x10271d,unitId:_0x4756bd,subUnitId:_0x23b02b}=_0x22cca0,_0x300f70=_0x2e50ba[_0x45035d(0x1f2)](X),_0x3708c5=_0x2e50ba['get'](_0xe827cc),_0x1f2bac=(await _0x300f70[_0x45035d(0x13a)]({'unitId':_0x4756bd,'subUnitId':_0x23b02b,'pivotTableId':_0x48e961,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x5c755e,'filterInfo':_0x10271d}}}))[_0x45035d(0x129)][_0x45035d(0x209)];if(!_0x1f2bac)return!0x1;const {changesets:_0x58290d,pivotTableConfig:_0x48d463,isEmpty:_0x3255ef,view:_0xe21a4f}=_0x1f2bac,_0x45a46b=_0x48d463[_0x45035d(0x259)],_0x46e9e2=new _0x50bf2b();_0x46e9e2[_0x45035d(0x198)](_0xe21a4f);const _0xe111df={'cellInfo':_0x45a46b,'view':_0x46e9e2,'isEmpty':_0x3255ef};if(!await _0x2e50ba[_0x45035d(0x1f2)](ie)[_0x45035d(0x182)][_0x45035d(0x103)](be)(!0x0,_0xe111df))return!0x1;const _0x1559e9=we(_0x2e50ba,_0x46e9e2,_0x45a46b,_0x3255ef),_0x31b01e=Re(_0x2e50ba,_0xe111df),{undos:_0xc44790,redos:_0x2afcf1}=me(_0x5bf2b6,{'pivotTableId':_0x48e961,'unitId':_0x4756bd,'subUnitId':_0x23b02b},_0x58290d);return _0x1ae4a0([..._0x1559e9['redos'],..._0x31b01e[_0x45035d(0x173)],..._0x2afcf1],_0x5bf2b6),_0x3708c5[_0x45035d(0x25a)]({'unitID':_0x4756bd,'redoMutations':[..._0x1559e9[_0x45035d(0x173)],..._0x31b01e['redos'],..._0x2afcf1],'undoMutations':[..._0x1559e9[_0x45035d(0x1d1)],..._0x31b01e['undos'],..._0xc44790]}),!0x0;}},to={'id':_0x3f7e1b(0x135),'type':_0x375b46['MUTATION'],'handler':(_0x3b64da,_0x8c45ca)=>{const _0x193f5d=_0x3f7e1b;if(!_0x8c45ca)return!0x1;if(!!_0x3b64da[_0x193f5d(0x1f2)](_0x1c8e08)['getConfig'](G))return!0x0;const {unitId:_0x4bda1b,subUnitId:_0x2b3aa7,pivotTableId:_0x1d182b,tableFieldId:_0x252cda,dateType:_0x278420}=_0x8c45ca,_0x44ca94=_0x3b64da[_0x193f5d(0x1f2)](H),_0x44b873=_0x44ca94[_0x193f5d(0x363)](_0x1d182b);if(!_0x44b873)return!0x1;const _0x2e5bc5=_0x44b873[_0x193f5d(0x2c7)](_0x252cda);if(!_0x2e5bc5)return!0x1;const _0x42782e=_0x2e5bc5['getOriginFieldId'](),_0x6faac9=_0x44b873['getDataFieldByDataFieldId'](_0x42782e),_0x5088b0=(_0x6faac9==null?void 0x0:_0x6faac9[_0x193f5d(0x137)]())+'\x20'+jo(_0x3b64da,_0x278420);_0x44ca94['getCollection'](_0x4bda1b,_0x1d182b)[_0x193f5d(0x1cd)](_0x2e5bc5['id'],_0x5088b0);const _0x264fa5=_0x44b873['getTableFieldById'](_0x252cda);if(!_0x264fa5)return!0x1;_0x44b873['renameField'](_0x264fa5[_0x193f5d(0x19f)](),_0x5088b0),_0x2e5bc5[_0x193f5d(0x238)](_0x278420);const _0x4a667c=_0x44ca94['getPivotTableConfig'](_0x4bda1b,_0x2b3aa7,_0x1d182b);return _0x44ca94[_0x193f5d(0x353)]({'unitId':_0x4bda1b,'subUnitId':_0x2b3aa7,'token':_0x1d182b,'type':B['Set'],'pivotConfig':_0x4a667c}),!0x0;}},_s={'id':'sheet.command.update-date-group','type':_0x375b46[_0x3f7e1b(0x1c0)],'handler':(_0x4e8b15,_0x51b924)=>{const _0x2e0ce0=_0x3f7e1b;if(!_0x51b924)return!0x1;const _0x2280e1=_0x4e8b15[_0x2e0ce0(0x1f2)](_0xe827cc),{unitId:_0x37a897,subUnitId:_0x536728,pivotTableId:_0x32a270,tableFieldId:_0xbb0487}=_0x51b924,_0x387950=[],_0x208e9f=[],_0x2f811e=_0x4e8b15[_0x2e0ce0(0x1f2)](ve),_0x50db36=_0x2f811e[_0x2e0ce0(0x28b)](_0x37a897,_0x32a270),_0x216cda=_0x2f811e['getPivotTableConfig'](_0x37a897,_0x536728,_0x32a270);if(!(_0x216cda!=null&&_0x216cda[_0x2e0ce0(0x2ed)][_0x2e0ce0(0x31d)]))return!0x1;const _0x1f6f3d=Object[_0x2e0ce0(0x35c)](_0x216cda[_0x2e0ce0(0x2ed)][_0x2e0ce0(0x31d)])[_0x2e0ce0(0x343)](_0x1301c2=>_0x1301c2['id']===_0xbb0487);if(!_0x1f6f3d)return!0x1;const _0x2838ae=_0x1f6f3d[_0x2e0ce0(0x216)];if(!(_0x50db36!=null&&_0x50db36[_0x2e0ce0(0x1ea)]))return!0x1;const _0x30462c=Object[_0x2e0ce0(0x35c)](_0x50db36==null?void 0x0:_0x50db36[_0x2e0ce0(0x1ea)])[_0x2e0ce0(0x343)](_0x5dff0b=>_0x5dff0b['id']===_0x2838ae);if(!_0x30462c)return!0x1;_0x45f861(_0x30462c)&&_0x387950[_0x2e0ce0(0x144)]({'id':to['id'],'params':{..._0x51b924,'dateType':_0x30462c['dateType']}}),_0x208e9f['push']({'id':to['id'],'params':{..._0x51b924}});const _0xfd6189=_0x4e8b15[_0x2e0ce0(0x1f2)](_0x106ae8);return _0x1ae4a0(_0x208e9f,_0xfd6189)&&_0x2280e1['pushUndoRedo']({'unitID':_0x37a897,'undoMutations':_0x387950,'redoMutations':_0x208e9f}),!0x0;}},Fs={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x37a),async 'handler'(_0x43ebbc,_0x25f4c3){const _0x326eb3=_0x3f7e1b;if(!_0x25f4c3)return!0x1;const _0x4a2d77=_0x43ebbc[_0x326eb3(0x1f2)](_0x106ae8),_0x4732cf=_0x43ebbc[_0x326eb3(0x1f2)](_0xe827cc),_0x5c818e=_0x43ebbc[_0x326eb3(0x1f2)](X),{displayName:_0x3cc2f4,subtotalType:_0x35ef1,format:_0x152d8a,tableFieldId:_0xc4d200,pivotTableId:_0x200dae,unitId:_0x89a1ea,subUnitId:_0x290df9}=_0x25f4c3,_0x2e4da3=(await _0x5c818e[_0x326eb3(0x13a)]({'unitId':_0x89a1ea,'subUnitId':_0x290df9,'pivotTableId':_0x200dae,'params':{'type':k[_0x326eb3(0x1b5)],'setPivotSetting':{'tableFieldId':_0xc4d200,'displayName':_0x3cc2f4,'subtotalType':_0x35ef1,'format':_0x152d8a}}}))[_0x326eb3(0x129)][_0x326eb3(0x1f3)];if(!_0x2e4da3)return!0x1;const {changesets:_0x1cdde5,view:_0x32e4eb,pivotTableConfig:_0x4d3bba,isEmpty:_0x867407}=_0x2e4da3,_0x416841=_0x4d3bba[_0x326eb3(0x259)],_0x112746=new _0x50bf2b();_0x112746['formJSON'](_0x32e4eb);const _0x36480c={'cellInfo':_0x416841,'view':_0x112746,'isEmpty':_0x867407};if(!await _0x43ebbc[_0x326eb3(0x1f2)](ie)[_0x326eb3(0x182)][_0x326eb3(0x103)](be)(!0x0,_0x36480c))return!0x1;const _0x513b77=we(_0x43ebbc,_0x112746,_0x416841,_0x867407),_0x29ce7f=Re(_0x43ebbc,_0x36480c),{undos:_0x15ebe3,redos:_0x3517e1}=me(_0x4a2d77,{'pivotTableId':_0x200dae,'unitId':_0x89a1ea,'subUnitId':_0x290df9},_0x1cdde5);return _0x1ae4a0([..._0x513b77[_0x326eb3(0x173)],..._0x29ce7f[_0x326eb3(0x173)],..._0x3517e1],_0x4a2d77),_0x4732cf['pushUndoRedo']({'unitID':_0x89a1ea,'redoMutations':[..._0x513b77[_0x326eb3(0x173)],..._0x29ce7f[_0x326eb3(0x173)],..._0x3517e1],'undoMutations':[..._0x513b77['undos'],..._0x29ce7f[_0x326eb3(0x1d1)],..._0x15ebe3]}),!0x0;}},oo={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x37b),'handler'(_0x214239,_0x2d096d){const _0x123744=_0x3f7e1b;if(!_0x2d096d)return!0x1;if(!!_0x214239[_0x123744(0x1f2)](_0x1c8e08)[_0x123744(0x1fe)](G))return!0x0;const _0x394a7e=_0x214239[_0x123744(0x1f2)](H),{pivotTableId:_0x57e83a,deleteIds:_0x3b8d09,collectionJSON:_0x51552b,dataRangeInfo:_0x537210,unitId:_0x2c5afd,subUnitId:_0x18e2da}=_0x2d096d,_0x44bf57=_0x394a7e[_0x123744(0x363)](_0x57e83a),_0x4551bf=_0x394a7e['getPivotTableConfig'](_0x2c5afd,_0x18e2da,_0x57e83a);if(!_0x44bf57||!_0x4551bf)return!0x1;const {collection:_0x2c5803,updateDataFieldList:_0x485176}=_0x394a7e['addCollectionByJSON'](_0x57e83a,_0x51552b,_0x537210,_0x4551bf['targetCellInfo']);_0x394a7e[_0x123744(0x153)](_0x2c5803,_0x485176,_0x537210),_0x44bf57[_0x123744(0x2f9)](_0x2c5803);for(const _0xb37a35 of _0x3b8d09)_0x394a7e[_0x123744(0x12e)](_0x537210[_0x123744(0x29f)],_0xb37a35);const _0x397042=_0x394a7e[_0x123744(0x2d7)](_0x2c5afd,_0x18e2da,_0x57e83a);return _0x397042[_0x123744(0x207)]=JSON[_0x123744(0x151)](JSON['stringify'](_0x537210)),_0x394a7e['addDirtyPivotTable']({'unitId':_0x2c5afd,'subUnitId':_0x18e2da,'token':_0x57e83a,'type':B[_0x123744(0x26f)]}),!0x0;}},Ds={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x333),async 'handler'(_0x5c6f45,_0x168bd8){const _0x4722ed=_0x3f7e1b,_0x2b81fe=_0x5c6f45[_0x4722ed(0x1f2)](_0x106ae8),_0x3b9c21=_0x5c6f45[_0x4722ed(0x1f2)](X),_0x1f8458=_0x5c6f45['get'](_0xe827cc);if(!_0x168bd8)return!0x1;const {token:_0x4ccc4c,dataRangeInfo:_0x4de351,unitId:_0x283bbe,subUnitId:_0x541242}=_0x168bd8,_0x1ed8a0=[],_0x1e905d=[],_0x5d3f19=(await _0x3b9c21[_0x4722ed(0x13a)]({'unitId':_0x283bbe,'subUnitId':_0x541242,'pivotTableId':_0x4ccc4c,'params':{'type':k['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x4de351,'unitId':_0x283bbe,'subUnitId':_0x541242}}}))['result'][_0x4722ed(0x2e0)];if(!_0x5d3f19)return!0x1;const {changesets:_0x2e0b40,deleteIds:_0xa4ffc9,collectionConfig:_0x2be122,oldCollectionConfig:_0x28e9c0,view:_0x56b859,isEmpty:_0x55a9a2,pivotTableConfig:_0x3c1161}=_0x5d3f19;_0x1e905d[_0x4722ed(0x144)]({'id':oo['id'],'params':{'pivotTableId':_0x4ccc4c,'deleteIds':_0xa4ffc9,'collectionJSON':_0x2be122,'dataRangeInfo':_0x4de351,'unitId':_0x283bbe,'subUnitId':_0x541242}}),_0x1ed8a0['unshift']({'id':oo['id'],'params':{'pivotTableId':_0x4ccc4c,'deleteIds':[],'collectionJSON':_0x28e9c0,'dataRangeInfo':_0x3c1161[_0x4722ed(0x207)],'unitId':_0x283bbe,'subUnitId':_0x541242}});const _0x47bd70=_0x3c1161[_0x4722ed(0x259)],_0xf31138=new _0x50bf2b();_0xf31138[_0x4722ed(0x198)](_0x56b859);const _0x34743c={'cellInfo':_0x47bd70,'view':_0xf31138,'isEmpty':_0x55a9a2};if(!await _0x5c6f45[_0x4722ed(0x1f2)](ie)[_0x4722ed(0x182)][_0x4722ed(0x103)](be)(!0x0,_0x34743c))return!0x1;const _0x33065f=we(_0x5c6f45,_0xf31138,_0x47bd70,_0x55a9a2),_0x4c2219=Re(_0x5c6f45,_0x34743c),{undos:_0x43f393,redos:_0x3fcd07}=me(_0x2b81fe,{'pivotTableId':_0x4ccc4c,'unitId':_0x283bbe,'subUnitId':_0x541242},_0x2e0b40);return _0x1ae4a0([..._0x33065f['redos'],..._0x4c2219['redos'],..._0x1e905d,..._0x43f393],_0x2b81fe),_0x1f8458[_0x4722ed(0x25a)]({'unitID':_0x283bbe,'redoMutations':[..._0x33065f[_0x4722ed(0x173)],..._0x4c2219['redos'],..._0x1e905d,..._0x43f393],'undoMutations':[..._0x33065f['undos'],..._0x4c2219['undos'],..._0x1ed8a0,..._0x3fcd07]}),!0x0;}},Vs={'type':_0x375b46[_0x3f7e1b(0x1c0)],'id':_0x3f7e1b(0x379),async 'handler'(_0x7a52d8,_0x5bbdaf){const _0x283192=_0x3f7e1b;if(!_0x5bbdaf)return!0x1;const _0x37ad38=_0x7a52d8[_0x283192(0x1f2)](_0x106ae8),_0x5b2e9a=_0x7a52d8[_0x283192(0x1f2)](X),_0x2a88ae=_0x7a52d8[_0x283192(0x1f2)](_0x30bb52),_0x39b95c=_0x7a52d8[_0x283192(0x1f2)](_0xe827cc),{pivotTableId:_0x48093d,position:_0x3f4805,index:_0x31ab82}=_0x5bbdaf,_0x108516=_0x2407c5(_0x2a88ae);if(!_0x108516)return!0x1;const {unitId:_0xa29dee,subUnitId:_0x41ea45}=_0x108516,_0x585229=(await _0x5b2e9a[_0x283192(0x13a)]({'unitId':_0xa29dee,'subUnitId':_0x41ea45,'pivotTableId':_0x48093d,'params':{'type':k[_0x283192(0x362)],'updateValuePosition':{'position':_0x3f4805,'index':_0x31ab82}}}))[_0x283192(0x129)]['updateValuePosition'];if(!_0x585229)return!0x1;const {changesets:_0x16ccc5,view:_0x3b54e8,isEmpty:_0x165203,pivotTableConfig:_0x393b3b}=_0x585229,_0x51e571=_0x393b3b[_0x283192(0x259)],_0x26ccd6=new _0x50bf2b();_0x26ccd6[_0x283192(0x198)](_0x3b54e8);const _0x5f2137=_0x7a52d8['get'](ie),_0x3a9478={'cellInfo':_0x51e571,'view':_0x26ccd6,'isEmpty':_0x165203};if(!await _0x5f2137[_0x283192(0x182)][_0x283192(0x103)](be)(!0x0,_0x3a9478))return!0x1;const _0x422e6b=we(_0x7a52d8,_0x26ccd6,_0x51e571,_0x165203),_0x385ec2=Re(_0x7a52d8,_0x3a9478),{undos:_0x408cfa,redos:_0x39ed80}=me(_0x37ad38,{'pivotTableId':_0x48093d,'unitId':_0xa29dee,'subUnitId':_0x41ea45},_0x16ccc5);return _0x1ae4a0([..._0x422e6b[_0x283192(0x173)],..._0x385ec2['redos'],..._0x39ed80],_0x37ad38),_0x39b95c[_0x283192(0x25a)]({'unitID':_0xa29dee,'redoMutations':[..._0x422e6b[_0x283192(0x173)],..._0x385ec2[_0x283192(0x173)],..._0x39ed80],'undoMutations':[..._0x422e6b[_0x283192(0x1d1)],..._0x385ec2[_0x283192(0x1d1)],..._0x408cfa]}),!0x0;}},Nt={'type':_0x375b46[_0x3f7e1b(0x2cd)],'id':_0x3f7e1b(0x1ae),'handler'(){return!0x0;}};var Ns=Object[_0x3f7e1b(0x14e)],Us=(_0x2f514f,_0x14c7f5,_0x2efe65,_0x585456)=>{const _0x44729a=_0x3f7e1b;for(var _0x1ac65e=_0x585456>0x1?void 0x0:_0x585456?Ns(_0x14c7f5,_0x2efe65):_0x14c7f5,_0x180f2d=_0x2f514f[_0x44729a(0x18a)]-0x1,_0x24df11;_0x180f2d>=0x0;_0x180f2d--)(_0x24df11=_0x2f514f[_0x180f2d])&&(_0x1ac65e=_0x24df11(_0x1ac65e)||_0x1ac65e);return _0x1ac65e;},at=(_0x583647,_0x39fc57)=>(_0x17153f,_0x30eea4)=>_0x39fc57(_0x17153f,_0x30eea4,_0x583647);const Os=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x4189a2,_0x3d307a,_0xcc4870)=>{const _0x5346ad=_0x3f7e1b,_0x2b3f92=_0x4189a2[_0x5346ad(0x1c4)];_0x4189a2[_0x5346ad(0x211)](_0x2b5628=>{const _0x14dc58=_0x5346ad,_0x4aa711=_0x2b5628[_0x14dc58(0x19f)](),_0x5735c2=_0x2b5628[_0x14dc58(0x1d4)](),_0x2b89b0=_0x2b5628[_0x14dc58(0x149)](),_0x374fdc=_0x2b5628[_0x14dc58(0x323)]();_0x3d307a[_0x5735c2]&&_0x3d307a[_0x5735c2]===_0x374fdc&&_0x2b89b0===_0x374fdc&&(_0x4189a2[_0x14dc58(0x223)](_0x4aa711,_0x2b3f92['getDisplayName'](_0x5735c2)),_0x2b5628['setSourceName'](_0x2b3f92[_0x14dc58(0x323)](_0x5735c2)));}),_0x4189a2[_0x5346ad(0x20a)](_0xf0891['Value'],_0x550814=>{const _0x3e033a=_0x5346ad,_0x2e174a=_0x550814[_0x3e033a(0x19f)](),_0x24503d=_0x550814[_0x3e033a(0x1d4)](),_0x2f08c9=_0x550814[_0x3e033a(0x149)](),_0x1f6668=_0x550814[_0x3e033a(0x323)](),_0x1ef63c=_0x550814['getSubtotal'](),_0x170476=_0xcc4870(_0x2f08c9,_0x1ef63c);_0x3d307a[_0x24503d]&&_0x3d307a[_0x24503d]===_0x2f08c9&&_0x170476===_0x1f6668&&(_0x4189a2[_0x3e033a(0x223)](_0x2e174a,_0xcc4870(_0x2b3f92[_0x3e033a(0x323)](_0x24503d),_0x1ef63c)),_0x550814[_0x3e033a(0x1aa)](_0x2b3f92['getDisplayName'](_0x24503d)));});},xs=(_0x1ad14e,_0x314086,_0x4babff)=>{const _0x62c8f3=_0x3f7e1b;var _0x4b5a22,_0x1a1d8b;const {arrayFormulaCellData:_0x21a470,unitData:_0x4cf66a}=_0x314086,{unitId:_0x32ab07,subUnitId:_0x50533e}=_0x4babff,_0x4f7dd9=_0x4babff['range'],{startColumn:_0x43ac70,endColumn:_0xf4ef67}=_0x4f7dd9,_0x570fa0=(_0x4b5a22=_0x21a470==null?void 0x0:_0x21a470[_0x32ab07])==null?void 0x0:_0x4b5a22[_0x50533e],_0x48fb7e=(_0x1a1d8b=_0x4cf66a==null?void 0x0:_0x4cf66a[_0x32ab07])==null?void 0x0:_0x1a1d8b[_0x50533e],_0x582dea=new Set(),_0x4484cd=_0xf4ef67-_0x43ac70+0x1,{dirtyRanges:_0x4ae284}=_0x1ad14e;if(_0x4ae284)for(const {range:_0x3d021f,sheetId:_0x3f36d9,unitId:_0x196a06}of _0x4ae284){if(_0x3f36d9!==_0x50533e||_0x32ab07!==_0x196a06)continue;const _0x4768cf=_0x58ac80[_0x62c8f3(0x233)](_0x3d021f,_0x4f7dd9);if(_0x4768cf){const {startColumn:_0x2808bf,endColumn:_0x12afef}=_0x4768cf;for(let _0x667a7=_0x2808bf;_0x667a7<=_0x12afef;_0x667a7++)_0x582dea[_0x62c8f3(0x2e1)](_0x667a7);}}if(_0x582dea['size']===_0x4484cd||_0x582dea['size']===_0x4484cd)return Array['from'](_0x582dea);if(_0x48fb7e){const _0x5f4acb=_0x48fb7e['getMatrix'](),_0x24c0b1=Object[_0x62c8f3(0x1f4)](_0x5f4acb);for(const _0x1197c5 of _0x24c0b1){const _0x11c40b=Number(_0x1197c5),_0x90ab28=_0x5f4acb[_0x11c40b];if(_0x582dea[_0x62c8f3(0x111)]===_0x4484cd)break;for(const _0x516bf0 in _0x90ab28){const _0x5a9fb0=Number(_0x516bf0);_0x5a9fb0<_0x43ac70||_0x5a9fb0>_0xf4ef67||_0x582dea[_0x62c8f3(0x2e1)](_0x5a9fb0);}}}if(_0x570fa0){const _0x1cbc87=_0x570fa0[_0x62c8f3(0x1f7)](),_0x4d1573=Object['keys'](_0x1cbc87);for(const _0x14d5e8 of _0x4d1573){const _0x2b650b=Number(_0x14d5e8),_0x40d696=_0x1cbc87[_0x2b650b];if(_0x582dea['size']===_0x4484cd)break;for(const _0x5e9841 in _0x40d696){const _0x56d34b=Number(_0x5e9841);_0x56d34b<_0x43ac70||_0x56d34b>_0xf4ef67||_0x582dea[_0x62c8f3(0x2e1)](_0x56d34b);}}}return Array[_0x62c8f3(0x31c)](_0x582dea);},As=_0x3d0292=>{const _0x378c9f=_0x3f7e1b,_0x29e9a6=new Set(),_0x47e38e=[];for(const _0x52356d of _0x3d0292){const _0x3df7f2=_0x52356d[_0x378c9f(0x375)]+','+_0x52356d[_0x378c9f(0x213)]+','+_0x52356d['startColumn']+','+_0x52356d[_0x378c9f(0x31f)];_0x29e9a6[_0x378c9f(0x130)](_0x3df7f2)||(_0x29e9a6[_0x378c9f(0x2e1)](_0x3df7f2),_0x47e38e['push'](_0x52356d));}return _0x47e38e;};let ct=class extends _0x5c8ab1{constructor(_0x518479,_0x18a250,_0x5adade,_0x5c083d,_0x829e76){const _0x5145d6=_0x3f7e1b;super(),N(this,_0x5145d6(0x159),new _0x506864(!0x0)),N(this,'_globalComputedStartHelpFunc',_0x5e4b35=>{const _0x518980=_0x5145d6;this[_0x518980(0x159)][_0x518980(0x249)](!0x1);}),N(this,_0x5145d6(0x18c),_0x2331b1=>{this['_globalSubject']['next'](!0x0);}),(this[_0x5145d6(0x2f2)]=_0x518479,this['_featureCalculationManagerService']=_0x18a250,this['_commandService']=_0x5adade,this[_0x5145d6(0x2d6)]=_0x5c083d,this[_0x5145d6(0x203)]=_0x829e76,this[_0x5145d6(0x21d)](),this[_0x5145d6(0x300)]());}[_0x3f7e1b(0x21d)](){const _0x55fbfe=_0x3f7e1b;this[_0x55fbfe(0x212)](),this[_0x55fbfe(0x1a2)](),this[_0x55fbfe(0x279)](),this[_0x55fbfe(0x331)]();}['_initGlobalComputed'](){const _0x2ba87c=_0x3f7e1b;this[_0x2ba87c(0x2d6)][_0x2ba87c(0x186)](this[_0x2ba87c(0x159)]),_0x991e33[_0x2ba87c(0x15c)](_0x124427[_0x2ba87c(0xf5)],this['_globalComputedStartHelpFunc']),_0x991e33['registerCallbackWithEvent'](_0x124427['onQueryEnd'],this[_0x2ba87c(0x18c)]);}['_initPivotDataGetListener'](){const _0x59560b=_0x3f7e1b;this[_0x59560b(0x120)](this['_commandService']['onCommandExecuted'](_0x4f1e3b=>{const _0x1633ed=_0x59560b;_0x4f1e3b['id']===_0x5c06b9['id']&&this[_0x1633ed(0x2f2)]['handleMoveRange'](_0x4f1e3b[_0x1633ed(0x2bb)]);})),this[_0x59560b(0x120)](this['_commandService'][_0x59560b(0x1e8)](_0x59bcd7=>{const _0x786c22=_0x59560b;if(_0x59bcd7['id']!==ro['id'])return;const _0x4afe77=_0x59bcd7['params'],{unitId:_0x7d43ae,subUnitId:_0x7461ef,pivotTableId:_0xad12a4}=_0x4afe77,_0x414c32=_0x4afe77['params'][_0x786c22(0x1f8)],_0x19d60a={};switch(_0x414c32){case k[_0x786c22(0x20d)]:{const _0x277a3c=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x15e)];if(!_0x277a3c)return;const {row:_0xfd7d6f,col:_0x54bd9f,cellData:_0x1a1416,pivotItemRenderInfoCache:_0x37511d,tableFieldId:_0x2cb280}=_0x277a3c,_0x443f02=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0x4afe77[_0x786c22(0x2a4)]);if(!_0x443f02||!_0x37511d)return;if(_0x2cb280){const _0x444ce2=_0x443f02[_0x786c22(0x2c7)](_0x2cb280);if(!_0x444ce2)return;_0x19d60a['filter']={..._0x443f02[_0x786c22(0x2f0)](_0x444ce2),'tableFieldId':_0x2cb280,'pivotTableId':_0x4afe77[_0x786c22(0x2a4)],'filterInfo':_0x443f02[_0x786c22(0x16d)](_0x2cb280),'sortInfo':_0x443f02[_0x786c22(0x1b0)](_0x2cb280),'format':_0x443f02['getFieldFormat'](_0x2cb280)};}else{const _0x151a98=ki(_0xfd7d6f,_0x54bd9f,_0x1a1416,_0x443f02,_0x37511d),_0x2995a5=_0x151a98==null?void 0x0:_0x151a98[_0x786c22(0x359)];if(!_0x2995a5)return;const _0xa7658c=_0x443f02[_0x786c22(0x2c7)](_0x2995a5);if(!_0xa7658c)return;_0x19d60a[_0x786c22(0x15e)]={..._0x443f02['getDataFieldItemInfo'](_0xa7658c),'tableFieldId':_0x2995a5,'pivotTableId':_0x4afe77['pivotTableId'],'filterInfo':_0x443f02[_0x786c22(0x16d)](_0x2995a5),'sortInfo':_0x443f02[_0x786c22(0x1b0)](_0x2995a5),'format':_0x443f02[_0x786c22(0x2dc)](_0x2995a5)};}}break;case k[_0x786c22(0x229)]:{const _0x52f809=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x1ed)];if(!_0x52f809)return;const {pivotTableId:_0x33f809}=_0x52f809,_0x16207d=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0x33f809);if(!_0x16207d)return;const _0x447880=this[_0x786c22(0x2f2)][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0x33f809),_0x14d054=Ki(_0x16207d,_0x33f809,_0x447880);_0x19d60a[_0x786c22(0x1ed)]=_0x14d054;}break;case k[_0x786c22(0x237)]:{const _0x3f0a00=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4),_0x5849b7=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x7d43ae),_0x2875ed=_0x5849b7['getCollection'](_0xad12a4);let _0x4345e0=null;const _0x3cfbc3=this[_0x786c22(0x2f2)]['getPivotTableConfig'](_0x7d43ae,_0x7461ef,_0xad12a4),_0x528c48=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x232)];if(!_0x3f0a00||!_0x3cfbc3||!_0x528c48)return!0x1;const {dataFieldId:_0x206edc,fieldArea:_0x452c38,index:_0x3ae76e}=_0x528c48;_0x3f0a00[_0x786c22(0x266)]();const _0x2b2b6a=_0x3f0a00[_0x786c22(0x26a)](_0x206edc,_0x452c38,_0x3ae76e);if(_0x2b2b6a&&_0x452c38===_0xf0891['Value']){const _0x706794=_0x2b2b6a[_0x786c22(0x19f)](),_0x1484c8=_0x3f0a00['getDataFieldByTableId'](_0x706794);if(_0x1484c8){const _0x20afe3=_0x1484c8==null?void 0x0:_0x1484c8[_0x786c22(0x1b3)]();_0x3f0a00['setSubtotalType'](_0x2b2b6a[_0x786c22(0x19f)](),_0x20afe3===_0x3e2b99[_0x786c22(0x1fb)]?_0x1bde00['sum']:_0x1bde00[_0x786c22(0x20f)]);}const _0x3aef1a=_0x3f0a00[_0x786c22(0x22a)](),_0x40add6=_0x3f0a00[_0x786c22(0x364)](),_0x4ae4dd=_0x3f0a00['getFieldCountByArea'](_0xf0891[_0x786c22(0x1ec)]);if(_0x3aef1a===-0x1&&_0x4ae4dd>0x1){const _0x50e0fa=_0x40add6===_0x13df1d[_0x786c22(0x285)]?_0x13df1d['Column']:_0x40add6,_0x5af7fd=_0x50e0fa===_0x13df1d['Row']?_0xf0891[_0x786c22(0x1d5)]:_0xf0891['Column'];_0x3f0a00[_0x786c22(0x276)](_0x50e0fa,_0x3f0a00['getFieldCountByArea'](_0x5af7fd));}}else{if(_0x2b2b6a&&(_0x452c38===_0xf0891['Row']||_0x452c38===_0xf0891[_0x786c22(0x21c)])){const _0x38ec51=_0x2b2b6a[_0x786c22(0x19f)](),_0x99b262=_0x3f0a00[_0x786c22(0x2c7)](_0x38ec51);if(_0x99b262&&(_0x99b262==null?void 0x0:_0x99b262['getFieldDataType']())===_0x3e2b99['date']){const _0x561c43=_0x99b262[_0x786c22(0x210)]();if(_0x561c43&&_0x3f0a00[_0x786c22(0x114)](_0x2b2b6a[_0x786c22(0x19f)](),_0x561c43),!_0x2875ed[_0x786c22(0x29a)]()[_0x786c22(0x318)](_0x5013a1=>{const _0x579a41=_0x786c22,_0x239c87=_0x2875ed[_0x579a41(0x32b)](_0x5013a1);return _0x29f759(_0x239c87)?_0x239c87[_0x579a41(0x346)]()[_0x579a41(0x150)]===_0x206edc:!0x1;})){const _0x22a6af=_0x5849b7[_0x786c22(0x1cb)](),_0x2915fc=Wi(_0x99b262[_0x786c22(0x17e)],_0x99b262[_0x786c22(0x281)]),_0x3d5c40=_0x99b262[_0x786c22(0x137)]()+_0x786c22(0x2de)+jo(this[_0x786c22(0x203)],_0x2915fc),_0x1600dc=new _0x31599c(_0x22a6af,_0x3d5c40,_0x40f965(0x3),_0x99b262[_0x786c22(0x19f)](),_0x2915fc);_0x5849b7[_0x786c22(0x185)](_0x1600dc),_0x2875ed[_0x786c22(0x188)](_0x22a6af,_0x3d5c40),_0x3f0a00[_0x786c22(0x26a)](_0x22a6af,_0x452c38,(_0x3ae76e!=null?_0x3ae76e:0x0)+0x1),_0x4345e0=_0x1600dc;}}}}const _0x195af7=_0x3f0a00['isEmpty'](),_0x544776=_0x3f0a00[_0x786c22(0x15d)]()[_0x786c22(0x132)]();let _0x35ef15;if(_0x4345e0){_0x35ef15=_0x4345e0[_0x786c22(0x132)]();const _0x2dee54=_0x4345e0[_0x786c22(0x19f)]();_0x2875ed[_0x786c22(0x2e9)](_0x2dee54);let _0xbc5358=!0x0;for(const _0x5b7e53 in _0x5849b7[_0x786c22(0x33a)])if(_0x5849b7[_0x786c22(0x33a)][_0x5b7e53][_0x786c22(0x29a)]()[_0x786c22(0x1d9)](_0x2dee54)){_0xbc5358=!0x1;break;}_0xbc5358&&_0x5849b7[_0x786c22(0x19b)](_0x2dee54);}const _0x250454=_0x3f0a00[_0x786c22(0x329)]();_0x19d60a[_0x786c22(0x232)]={'view':_0x544776,'changesets':_0x250454,'isEmpty':_0x195af7,'pivotTableConfig':_0x3cfbc3,'shouldBeAddedGroupJSON':_0x35ef15};}break;case k[_0x786c22(0x316)]:{const _0x34ea24=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x1e0)];if(!_0x34ea24)return;const _0x1e6f36=_0x34ea24[_0x786c22(0x207)],_0x1d9df0=_0x34ea24[_0x786c22(0x2a4)],{collection:_0x29d5fe}=this[_0x786c22(0x2f2)][_0x786c22(0x217)]({'unitId':_0x1e6f36[_0x786c22(0x29f)],'sheetName':_0x1e6f36[_0x786c22(0x208)],'subUnitId':_0x1e6f36[_0x786c22(0x21e)],'range':_0x1e6f36[_0x786c22(0x191)]}),_0x498e19=new _0x991e33(_0x29d5fe,void 0x0,_0x1d9df0),_0x577a24=_0x498e19[_0x786c22(0x15d)](),_0x21ea05=_0x498e19[_0x786c22(0x132)](),_0x25da9a=_0x29d5fe[_0x786c22(0x132)]();_0x19d60a['addPivotTable']={'view':_0x577a24,'fieldsConfig':_0x21ea05,'collectionConfig':_0x25da9a,'isEmpty':_0x498e19['isEmpty']()};}break;case k[_0x786c22(0x34f)]:{const _0x375929=_0x4afe77['params'][_0x786c22(0x2c5)];if(!_0x375929)return;const {fieldId:_0xa72e64,area:_0x4b2f8e,index:_0x4ec81a}=_0x375929,_0x4093a6=this[_0x786c22(0x2f2)][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x4093a6)return;const _0x55a89c=this['_sheetsPivotDataSourceModel'][_0x786c22(0x363)](_0xad12a4);if(!_0x55a89c)return;_0x55a89c[_0x786c22(0x266)]();const {area:_0xb5c75b,index:_0x248673}=_0x55a89c['getFieldPositionInfoById'](_0xa72e64);if(_0x55a89c[_0x786c22(0x1ee)](_0xa72e64,_0x4b2f8e,_0x4ec81a),_0x4b2f8e===_0xf0891[_0x786c22(0x1ec)]&&_0x55a89c[_0x786c22(0x292)](_0xa72e64)['getSubtotal']()===void 0x0){const _0x596d70=_0x55a89c[_0x786c22(0x292)](_0xa72e64);if(_0x596d70&&_0x596d70[_0x786c22(0x374)]()===void 0x0){const _0x1cec4c=_0x55a89c[_0x786c22(0x2c7)](_0xa72e64);if(_0x1cec4c){const _0x3dc9aa=_0x1cec4c==null?void 0x0:_0x1cec4c['getFieldDataType']();_0x55a89c['setSubtotalType'](_0xa72e64,_0x3dc9aa===_0x3e2b99[_0x786c22(0x1fb)]?_0x1bde00[_0x786c22(0x26e)]:_0x1bde00[_0x786c22(0x20f)]);}}}const _0x2d4d6f=_0x55a89c['getValuePosition'](),_0x5ace2e=_0x55a89c[_0x786c22(0x22a)](),_0xb9f3cb=_0x55a89c[_0x786c22(0x247)](_0xf0891['Value'])>0x1;if(_0xb9f3cb&&_0xb5c75b===_0x4b2f8e&&(_0x4b2f8e===_0xf0891[_0x786c22(0x1d5)]&&_0x2d4d6f===_0x13df1d[_0x786c22(0x1d5)]||_0x4b2f8e===_0xf0891[_0x786c22(0x21c)]&&_0x2d4d6f===_0x13df1d['Column'])){let _0x141d5d=_0x5ace2e;_0x248673<=_0x5ace2e&&_0x141d5d--,_0x4ec81a<=_0x5ace2e&&_0x141d5d++,_0x55a89c[_0x786c22(0x276)](_0x2d4d6f,_0x141d5d);}else _0xb9f3cb&&(_0xb5c75b===_0xf0891['Row']&&_0x2d4d6f===_0x13df1d['Row']||_0xb5c75b===_0xf0891[_0x786c22(0x21c)]&&_0x2d4d6f===_0x13df1d[_0x786c22(0x21c)])&&_0x5ace2e>=_0x248673&&_0x55a89c[_0x786c22(0x276)](_0x2d4d6f,_0x5ace2e-0x1),_0xb9f3cb&&(_0x4b2f8e===_0xf0891[_0x786c22(0x1d5)]&&_0x2d4d6f===_0x13df1d[_0x786c22(0x1d5)]||_0x4b2f8e===_0xf0891[_0x786c22(0x21c)]&&_0x2d4d6f===_0x13df1d['Column'])&&_0x5ace2e>=_0x4ec81a&&_0x55a89c['updateValuePosition'](_0x2d4d6f,_0x5ace2e+0x1);const _0x52523=_0x55a89c[_0x786c22(0x15d)](),_0x207ae7=_0x55a89c[_0x786c22(0x183)](),_0x2e6d1=_0x55a89c[_0x786c22(0x329)]();_0x19d60a[_0x786c22(0x2c5)]={'view':_0x52523[_0x786c22(0x132)](),'changesets':_0x2e6d1,'isEmpty':_0x207ae7,'pivotTableConfig':_0x4093a6};}break;case k[_0x786c22(0x141)]:{const _0x268563=_0x4afe77['params'][_0x786c22(0x337)];if(!_0x268563)return;const _0x5eeae9=_0x268563[_0x786c22(0x101)],_0x3f276=this[_0x786c22(0x2f2)]['getPivotTableConfig'](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x3f276)return!0x1;const _0x39320d=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4);if(!_0x39320d)return!0x1;_0x39320d[_0x786c22(0x266)]();for(const _0x4edb17 of _0x5eeae9){const {area:_0x3126a5}=_0x39320d[_0x786c22(0x34c)](_0x4edb17);_0x3126a5===_0xf0891[_0x786c22(0x1ec)]&&_0x39320d[_0x786c22(0x296)](_0x4edb17),(_0x3126a5===_0xf0891[_0x786c22(0x1d5)]||_0x3126a5===_0xf0891['Column'])&&_0x39320d[_0x786c22(0x245)](_0x4edb17),_0x39320d[_0x786c22(0x2f4)](_0x4edb17);}const _0x53076d=_0x39320d[_0x786c22(0x183)](),_0x590fd1=_0x39320d['query']()[_0x786c22(0x132)](),_0x1c687d=_0x39320d[_0x786c22(0x329)]();_0x19d60a['removePivotField']={'changesets':_0x1c687d,'pivotTableConfig':_0x3f276,'isEmpty':_0x53076d,'view':_0x590fd1};}break;case k['SetPivotFilter']:{const _0x46e4cb=_0x4afe77[_0x786c22(0x2bb)]['setPivotFilter'];if(!_0x46e4cb)return;const {tableFieldId:_0x49a48a,items:_0x5d4eb7,isAll:_0x283428}=_0x46e4cb,_0xc13018=this['_sheetsPivotDataSourceModel'][_0x786c22(0x363)](_0xad12a4),_0x501728=this[_0x786c22(0x2f2)][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0xc13018||!_0x501728)return;_0xc13018[_0x786c22(0x266)](),_0xc13018[_0x786c22(0x27c)](_0x49a48a,{'type':_0x3dcab7[_0x786c22(0x2ee)],'list':_0x5d4eb7,'isAll':_0x283428});const _0x20460d=_0xc13018[_0x786c22(0x183)](),_0x3f8722=_0xc13018[_0x786c22(0x15d)]()[_0x786c22(0x132)](),_0x25eb7d=_0xc13018[_0x786c22(0x329)]();_0x19d60a[_0x786c22(0x1f0)]={'view':_0x3f8722,'changesets':_0x25eb7d,'isEmpty':_0x20460d,'pivotTableConfig':_0x501728};}break;case k['SetValuePivotFilter']:{const _0x5b4bfe=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x209)];if(!_0x5b4bfe)return;const {tableFieldId:_0x286c6c,filterInfo:_0x3574ff}=_0x5b4bfe,_0x4ce76a=this['_sheetsPivotDataSourceModel'][_0x786c22(0x363)](_0xad12a4),_0x16aaa4=this[_0x786c22(0x2f2)]['getPivotTableConfig'](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x4ce76a||!_0x16aaa4)return;_0x4ce76a[_0x786c22(0x266)](),_0x4ce76a[_0x786c22(0x23a)](_0x286c6c,_0x3574ff);const _0x3712bc=_0x4ce76a[_0x786c22(0x183)](),_0x444f29=_0x4ce76a['query']()[_0x786c22(0x132)](),_0x3bdf62=_0x4ce76a[_0x786c22(0x329)]();_0x19d60a[_0x786c22(0x209)]={'view':_0x444f29,'changesets':_0x3bdf62,'isEmpty':_0x3712bc,'pivotTableConfig':_0x16aaa4};}break;case k['SetPivotSort']:{const _0x2199bc=_0x4afe77['params']['setPivotSort'];if(!_0x2199bc)return;const {tableFieldId:_0x458597,info:_0x34e480}=_0x2199bc,_0x33a867=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4),_0x1fcdc6=this[_0x786c22(0x2f2)][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x33a867||!_0x1fcdc6)return;_0x33a867['startCollectChangeset'](),_0x33a867['setSortInfo'](_0x458597,_0x34e480);const _0x51df49=_0x33a867[_0x786c22(0x183)](),_0x48976b=_0x33a867['query']()[_0x786c22(0x132)](),_0x44549f=_0x33a867[_0x786c22(0x329)]();_0x19d60a['setPivotSort']={'view':_0x48976b,'changesets':_0x44549f,'isEmpty':_0x51df49,'pivotTableConfig':_0x1fcdc6};}break;case k['SetPivotSetting']:{const _0x3c93a0=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x1f3)];if(!_0x3c93a0)return;const {tableFieldId:_0x38b153,displayName:_0x2c1090,subtotalType:_0x33e90b,format:_0x4ec3d9}=_0x3c93a0,_0x4ee14c=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4),_0x397b91=this['_sheetsPivotDataSourceModel'][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x4ee14c||!_0x397b91)return;_0x4ee14c['startCollectChangeset'](),_0x2c1090!==void 0x0&&_0x4ee14c[_0x786c22(0x223)](_0x38b153,_0x2c1090),_0x33e90b!==void 0x0&&_0x4ee14c[_0x786c22(0x2b4)](_0x38b153,_0x33e90b),_0x4ec3d9!==void 0x0&&_0x4ee14c[_0x786c22(0x114)](_0x38b153,_0x4ec3d9);const _0x1afe31=_0x4ee14c['isEmpty'](),_0x47537b=_0x4ee14c[_0x786c22(0x15d)]()[_0x786c22(0x132)](),_0x260c92=_0x4ee14c[_0x786c22(0x329)]();_0x19d60a['setPivotSetting']={'changesets':_0x260c92,'pivotTableConfig':_0x397b91,'isEmpty':_0x1afe31,'view':_0x47537b};}break;case k['UpdatePivotSource']:{const _0x375cdc=_0x4afe77['params']['updatePivotSource'];if(!_0x375cdc)return;const {dataRangeInfo:_0x15a4a9,unitId:_0x1c44d3,subUnitId:_0x2450ae}=_0x375cdc,_0x2e730d=this[_0x786c22(0x2f2)][_0x786c22(0x2d7)](_0x1c44d3,_0x2450ae,_0xad12a4),_0x992da4=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4);if(!this[_0x786c22(0x2f2)][_0x786c22(0x28b)](_0x1c44d3,_0xad12a4)||!_0x992da4||!_0x2e730d)return;const _0xfa39f7=this[_0x786c22(0x2f2)][_0x786c22(0x166)](_0x1c44d3,_0xad12a4,_0x15a4a9),_0x16c3b4=this['_sheetsPivotDataSourceModel'][_0x786c22(0x28b)](_0x1c44d3,_0xad12a4)['toJSON'](),{collection:_0x524897}=this['_sheetsPivotDataSourceModel'][_0x786c22(0x217)]({'unitId':_0x15a4a9[_0x786c22(0x29f)],'sheetName':_0x15a4a9[_0x786c22(0x208)],'subUnitId':_0x15a4a9[_0x786c22(0x21e)],'range':_0x15a4a9[_0x786c22(0x191)]}),_0x2f1aee=_0x524897[_0x786c22(0x132)]();_0x992da4[_0x786c22(0x266)]();const _0x18f989=this['_sheetsPivotDataSourceModel'][_0x786c22(0x2e2)](_0x1c44d3)[_0x786c22(0x36e)]()||_0x493ab0;_0x992da4[_0x786c22(0x14f)](_0x65ca38=>{const _0x2b6f5e=_0x786c22,_0x584851=_0x65ca38['getDataFieldId']();if(!_0x524897[_0x2b6f5e(0x1a1)](_0x584851)){const _0x46daae=_0x524897[_0x2b6f5e(0x21a)](_0x65ca38['getSourceName']());if(_0x46daae){_0x992da4['updateFieldSourceInfo'](_0x65ca38[_0x2b6f5e(0x19f)](),_0x46daae[_0x2b6f5e(0x137)](),_0x46daae['getId']());const {area:_0x3cff5d}=_0x992da4['getFieldPositionInfoById'](_0x65ca38[_0x2b6f5e(0x19f)]());let _0x59f129=_0x65ca38['getSourceName']();const _0x78866c=_0x65ca38[_0x2b6f5e(0x323)]();if(_0x3cff5d===_0xf0891['Value']){const _0x46b340=_0x65ca38[_0x2b6f5e(0x374)]();_0x59f129=_0x18f989(_0x46daae[_0x2b6f5e(0x137)](),_0x46b340);}_0x78866c!==_0x59f129&&_0x992da4['renameField'](_0x65ca38[_0x2b6f5e(0x19f)](),_0x59f129);}else _0x992da4[_0x2b6f5e(0x2f4)](_0x65ca38['getId']());}});const _0x2952c1=_0x992da4['isEmpty'](),_0x515735=_0x992da4[_0x786c22(0x15d)]()[_0x786c22(0x132)](),_0x490435=_0x992da4['endCollectChangeset']();_0x19d60a['updatePivotSource']={'view':_0x515735,'changesets':_0x490435,'isEmpty':_0x2952c1,'pivotTableConfig':_0x2e730d,'collectionConfig':_0x2f1aee,'oldCollectionConfig':_0x16c3b4,'deleteIds':_0xfa39f7};}break;case k[_0x786c22(0x362)]:{const _0x44434d=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x276)];if(!_0x44434d)return;const {position:_0x332f99,index:_0x5314f2}=_0x44434d,_0x526fc=this[_0x786c22(0x2f2)][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x526fc)return!0x1;const _0x830945=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4);if(!_0x830945)return!0x1;_0x830945[_0x786c22(0x266)](),_0x830945['updateValuePosition'](_0x332f99,_0x5314f2);const _0x20273e=_0x830945[_0x786c22(0x183)](),_0x421bab=_0x830945[_0x786c22(0x15d)]()[_0x786c22(0x132)](),_0x29972a=_0x830945['endCollectChangeset']();_0x19d60a[_0x786c22(0x276)]={'changesets':_0x29972a,'pivotTableConfig':_0x526fc,'isEmpty':_0x20273e,'view':_0x421bab};}break;case k[_0x786c22(0x1ab)]:{const _0x52c4b5=_0x4afe77[_0x786c22(0x2bb)]['setPivotCollapse'];if(!_0x52c4b5)return;const {tableFieldId:_0xf7c1aa,collapse:_0x1b63f9,item:_0x53ba42}=_0x52c4b5,_0x4813b5=this['_sheetsPivotDataSourceModel'][_0x786c22(0x363)](_0xad12a4),_0x5a806c=this['_sheetsPivotDataSourceModel'][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x4813b5||!_0x5a806c)return;_0x4813b5[_0x786c22(0x266)](),_0x4813b5[_0x786c22(0x2c1)](_0xf7c1aa,_0x1b63f9,_0x53ba42);const _0x4f9bcb=_0x4813b5[_0x786c22(0x183)](),_0x3c9eaf=_0x4813b5[_0x786c22(0x15d)]()[_0x786c22(0x132)](),_0x287475=_0x4813b5[_0x786c22(0x329)]();_0x19d60a[_0x786c22(0x2b3)]={'view':_0x3c9eaf,'isEmpty':_0x4f9bcb,'pivotTableConfig':_0x5a806c,'changesets':_0x287475};}break;case k[_0x786c22(0x2ab)]:{const _0x15bdb0=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x2d0)];if(!_0x15bdb0)return;const {pivotTableConfig:_0x2f087c}=_0x15bdb0,_0x3fb810=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4),_0x4c41fe=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x3fb810||!_0x4c41fe)return;_0x3fb810[_0x786c22(0x266)](),Yi(_0x3fb810,_0x2f087c);const _0x1e9b79=_0x3fb810[_0x786c22(0x183)](),_0x2f9e68=_0x3fb810['query']()[_0x786c22(0x132)](),_0xe79bfc=_0x3fb810[_0x786c22(0x329)]();_0x19d60a['setPivotTableConfig']={'view':_0x2f9e68,'isEmpty':_0x1e9b79,'pivotTableConfig':{..._0x4c41fe,'fieldsConfig':_0x3fb810['toJSON']()},'changesets':_0xe79bfc};}break;case k['ResetPivotTable']:{const _0x1cb4e9=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x1e6)];if(!_0x1cb4e9)return;const _0x48ad48=this[_0x786c22(0x2f2)][_0x786c22(0x363)](_0xad12a4),_0x192a27=this[_0x786c22(0x2f2)][_0x786c22(0x2d7)](_0x7d43ae,_0x7461ef,_0xad12a4);if(!_0x48ad48||!_0x192a27)return;_0x48ad48['startCollectChangeset'](),Ji(_0x48ad48,_0x1cb4e9['resetArea']);const _0x367e5a=_0x48ad48[_0x786c22(0x15d)]()[_0x786c22(0x132)](),_0x2f35d2=_0x48ad48[_0x786c22(0x329)]();_0x19d60a[_0x786c22(0x1e6)]={'view':_0x367e5a,'isEmpty':!0x0,'pivotTableConfig':{..._0x192a27,'fieldsConfig':_0x48ad48['toJSON']()},'changesets':_0x2f35d2};}break;case k[_0x786c22(0x25e)]:{const _0x3fec04=_0x4afe77[_0x786c22(0x2bb)][_0x786c22(0x200)];if(!_0x3fec04)return;const _0x4e5792=_0x3fec04[_0x786c22(0x207)],_0x575c01=_0x3fec04[_0x786c22(0x2a4)],{collection:_0x8818ff}=this[_0x786c22(0x2f2)][_0x786c22(0x217)]({'unitId':_0x4e5792[_0x786c22(0x29f)],'sheetName':_0x4e5792[_0x786c22(0x208)],'subUnitId':_0x4e5792[_0x786c22(0x21e)],'range':_0x4e5792[_0x786c22(0x191)]}),_0x1e060a=new _0x991e33(_0x8818ff,void 0x0,_0x575c01),_0x379d57=_0x8818ff[_0x786c22(0x29a)](),{rows:_0x488b56,columns:_0x4daf2d,filters:_0x59544a,values:_0x28ad1c}=_0x3fec04[_0x786c22(0x35e)];_0x1e060a[_0x786c22(0x266)]();for(const {field:_0x3cb7b2,selectedItems:_0x4a9ada}of _0x488b56||[]){const _0x30e7e6=_0x379d57[_0x3cb7b2];if(_0x30e7e6){const _0x1bf7b9=_0x1e060a[_0x786c22(0x26a)](_0x30e7e6,_0xf0891[_0x786c22(0x1d5)]);_0x4a9ada&&_0x1bf7b9&&_0x1e060a[_0x786c22(0x27c)](_0x1bf7b9[_0x786c22(0x19f)](),{'type':_0x3dcab7[_0x786c22(0x2ee)],'list':_0x4a9ada,'isAll':!0x1});}}for(const {field:_0x5cf517,selectedItems:_0x266ca2}of _0x4daf2d||[]){const _0x4e7fad=_0x379d57[_0x5cf517];if(_0x4e7fad){const _0x12cd0a=_0x1e060a[_0x786c22(0x26a)](_0x4e7fad,_0xf0891[_0x786c22(0x21c)]);_0x266ca2&&_0x12cd0a&&_0x1e060a['setLabelFilterInfo'](_0x12cd0a[_0x786c22(0x19f)](),{'type':_0x3dcab7[_0x786c22(0x2ee)],'list':_0x266ca2,'isAll':!0x1});}}for(const {field:_0x494c82,selectedItems:_0x30e886}of _0x59544a||[]){const _0x319a82=_0x379d57[_0x494c82];if(_0x319a82){const _0x13c228=_0x1e060a['addFieldWithSourceId'](_0x319a82,_0xf0891[_0x786c22(0x20d)]);_0x30e886&&_0x13c228&&_0x1e060a[_0x786c22(0x27c)](_0x13c228[_0x786c22(0x19f)](),{'type':_0x3dcab7[_0x786c22(0x2ee)],'list':_0x30e886,'isAll':!0x1});}}for(const {field:_0x2fbfd0,subTotalType:_0x5502bf,formatString:_0x39ec4b}of _0x28ad1c||[]){const _0x33c8f6=_0x8818ff[_0x786c22(0x32b)](_0x379d57[_0x2fbfd0]);if(!_0x33c8f6)continue;const _0x402802=_0x379d57[_0x2fbfd0];if(_0x402802){const _0x488356=_0x1e060a[_0x786c22(0x26a)](_0x402802,_0xf0891['Value']);if(_0x488356){if(_0x5502bf!==void 0x0){_0x1e060a['setSubtotalType'](_0x488356[_0x786c22(0x19f)](),_0x5502bf);const _0x5f6899=this[_0x786c22(0x2f2)][_0x786c22(0x2e2)](_0x4e5792[_0x786c22(0x29f)])[_0x786c22(0x36e)]()||_0x493ab0,_0x3d7be8=_0x8818ff[_0x786c22(0x323)](_0x402802),_0x2f79aa=_0x5f6899(_0x3d7be8,_0x5502bf);_0x1e060a[_0x786c22(0x223)](_0x488356[_0x786c22(0x19f)](),_0x2f79aa);}else{if(_0x33c8f6){const _0x5ac5d8=_0x33c8f6==null?void 0x0:_0x33c8f6[_0x786c22(0x1b3)]();_0x1e060a['setSubtotalType'](_0x488356['getId'](),_0x5ac5d8===_0x3e2b99[_0x786c22(0x1fb)]?_0x1bde00[_0x786c22(0x26e)]:_0x1bde00[_0x786c22(0x20f)]);}}_0x39ec4b&&_0x1e060a[_0x786c22(0x114)](_0x488356['getId'](),_0x39ec4b);}}}const _0x3f8d4e=_0x1e060a[_0x786c22(0x15d)](),_0x1f801a=_0x1e060a['toJSON'](),_0x8bfdb6=_0x1e060a[_0x786c22(0x183)](),_0x594ba5=_0x1e060a['endCollectChangeset'](),_0x1799c0=_0x8818ff[_0x786c22(0x132)]();_0x19d60a[_0x786c22(0x200)]={'view':_0x3f8d4e,'fieldsConfig':_0x1f801a,'collectionConfig':_0x1799c0,'isEmpty':_0x8bfdb6,'changesets':_0x594ba5};}break;case k[_0x786c22(0x246)]:{const _0x3d868f=Li(this[_0x786c22(0x203)],_0x4afe77);if(!_0x3d868f)return;const {range:_0x11e22a,sourceSubUnitId:_0x364969,sourceUnitId:_0x56f669,formatMap:_0x2de3f4,indexes:_0x3b1ebb}=_0x3d868f;_0x19d60a[_0x786c22(0x2b7)]={'range':_0x11e22a,'sourceSubUnitId':_0x364969,'sourceUnitId':_0x56f669,'formatMap':_0x2de3f4,'indexes':_0x3b1ebb};}break;}this[_0x786c22(0x33b)][_0x786c22(0x271)](lo['id'],{'version':_0x4afe77[_0x786c22(0x1bb)],'result':_0x19d60a},{'onlyLocal':!0x0});}));}[_0x3f7e1b(0x279)](){const _0x406b25=_0x3f7e1b;this[_0x406b25(0x120)](this[_0x406b25(0x33b)][_0x406b25(0x1e8)](_0x4071a3=>{const _0x355d2b=_0x406b25;if(_0x4071a3['id']!==uo['id'])return;const _0x3bc1cd=_0x4071a3[_0x355d2b(0x2bb)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x3bc1cd[_0x355d2b(0x162)]),!0x0;}));}[_0x3f7e1b(0x212)](){const _0x28dedf=_0x3f7e1b;this[_0x28dedf(0x2f2)][_0x28dedf(0x324)][_0x28dedf(0x220)](_0x3bc92a=>{const _0x2a5b87=_0x28dedf;switch(_0x3bc92a[_0x2a5b87(0x1f8)]){case Le[_0x2a5b87(0x2e1)]:_0x3bc92a[_0x2a5b87(0x287)]&&_0x3bc92a[_0x2a5b87(0x259)]&&this[_0x2a5b87(0xfe)](_0x3bc92a[_0x2a5b87(0x2eb)],_0x3bc92a[_0x2a5b87(0x287)],_0x3bc92a['targetCellInfo']);break;case Le[_0x2a5b87(0x11d)]:{const {unitId:_0x3e22f8,subUnitId:_0x56e63e,token:_0x4ae31b}=_0x3bc92a;_0x3e22f8&&_0x56e63e&&_0x4ae31b&&this[_0x2a5b87(0x148)](_0x3e22f8,_0x56e63e,_0x4ae31b);}break;case Le['update']:{const {token:_0x34dc6f,oldSourceRangeInfo:_0x59e249,dataRangeInfo:_0x268d17,targetCellInfo:_0xa836f1}=_0x3bc92a,{unitId:_0x3c8fe4,subUnitId:_0x291822}=_0x59e249||{};_0x3c8fe4&&_0x291822&&_0x34dc6f&&this[_0x2a5b87(0x148)](_0x3c8fe4,_0x291822,_0x34dc6f),_0x268d17&&_0xa836f1&&this[_0x2a5b87(0xfe)](_0x34dc6f,_0x268d17,_0xa836f1);}break;}});}[_0x3f7e1b(0x331)](){const _0x88f89b=_0x3f7e1b;this[_0x88f89b(0x2f2)]['fieldsCollectionChange$'][_0x88f89b(0x220)](_0x2c45a8=>{const _0x3abf7d=_0x88f89b;Object[_0x3abf7d(0x1f4)](_0x2c45a8)['forEach'](_0x153652=>{const _0x8e9f95=_0x3abf7d,_0x22aab9=this['_sheetsPivotDataSourceModel'][_0x8e9f95(0x138)](_0x153652);if(_0x22aab9){const _0x35e73c=this[_0x8e9f95(0x2f2)]['getPivotTableConfig'](_0x22aab9==null?void 0x0:_0x22aab9['unitId'],_0x22aab9==null?void 0x0:_0x22aab9[_0x8e9f95(0x21e)],_0x153652);_0x35e73c&&(this[_0x8e9f95(0xfe)](_0x153652,_0x35e73c[_0x8e9f95(0x207)],_0x35e73c[_0x8e9f95(0x259)]),this['triggerDirtyFeature']([{'unitId':_0x22aab9[_0x8e9f95(0x29f)],'subUnitId':_0x22aab9['subUnitId'],'token':_0x153652}]));}});});}[_0x3f7e1b(0x1a2)](){const _0x17198d=_0x3f7e1b;this[_0x17198d(0x2f2)]['viewData$'][_0x17198d(0x220)](_0x9aa2db=>{const _0x5c30b8=_0x17198d,{unitId:_0xf01bab,subUnitId:_0x439f53,pivotTableId:_0x12d6cf}=_0x9aa2db;_0xf01bab&&_0x439f53&&_0x12d6cf&&this[_0x5c30b8(0x2bd)]([{'unitId':_0xf01bab,'subUnitId':_0x439f53,'token':_0x12d6cf}]);});}['triggerDirtyFeature'](_0x5b15fd){const _0x553a31=_0x3f7e1b,_0x56115e={};_0x5b15fd[_0x553a31(0x1b9)](_0x5b0cbe=>{var _0x4e853f,_0x4f7a09;const {unitId:_0x36ebb9,subUnitId:_0x4024fc,token:_0x57905a}=_0x5b0cbe;_0x56115e[_0x36ebb9]=(_0x4e853f=_0x56115e[_0x36ebb9])!=null?_0x4e853f:{},_0x56115e[_0x36ebb9][_0x4024fc]=(_0x4f7a09=_0x56115e[_0x36ebb9][_0x4024fc])!=null?_0x4f7a09:{},_0x56115e[_0x36ebb9][_0x4024fc][_0x57905a]=!0x0;}),this['_commandService']['executeCommand'](Nt['id'],_0x56115e);}[_0x3f7e1b(0x148)](_0x38b778,_0x43d376,_0x532f9e){const _0x14121a=_0x3f7e1b;this[_0x14121a(0x340)][_0x14121a(0x2f7)](_0x38b778,_0x43d376,[_0x532f9e]);}[_0x3f7e1b(0xfe)](_0x2ced44,_0x21d143,_0x145896){const _0x13b987=_0x3f7e1b,{unitId:_0xb048fd,subUnitId:_0x485ef6}=_0x21d143;this['_featureCalculationManagerService'][_0x13b987(0x130)](_0x145896[_0x13b987(0x29f)],_0x145896[_0x13b987(0x21e)],_0x2ced44)&&this[_0x13b987(0x148)](_0xb048fd,_0x485ef6,_0x2ced44);const _0x3cfc72={'sheetId':_0x485ef6,..._0x21d143};this['_featureCalculationManagerService'][_0x13b987(0x170)](_0x145896[_0x13b987(0x29f)],_0x145896[_0x13b987(0x21e)],_0x2ced44,{'unitId':_0x145896['unitId'],'subUnitId':_0x145896[_0x13b987(0x21e)],'dependencyRanges':[_0x3cfc72],'getDirtyData':(_0x514de5,_0x20f523)=>{const _0x4f22ac=_0x13b987,_0x49bb42=this['_sheetsPivotDataSourceModel'],_0x54826a=_0x49bb42['getTargetByPivotId'](_0x2ced44);if(!_0x54826a)return Os();const {unitId:_0x5653b2,subUnitId:_0x26340e}=_0x54826a,_0x5b793e=xs(_0x514de5,_0x20f523,_0x21d143);if(_0x5b793e[_0x4f22ac(0x18a)]>0x0){const _0x383d54=_0x49bb42[_0x4f22ac(0x28b)](_0xb048fd,_0x2ced44),_0xda7857=_0x383d54[_0x4f22ac(0x29a)](),_0x4b3016=this[_0x4f22ac(0x368)](_0x21d143[_0x4f22ac(0x29f)],_0x21d143[_0x4f22ac(0x21e)],_0x20f523),_0x319936={},_0x3b5238=this[_0x4f22ac(0x2f2)][_0x4f22ac(0x2e2)](_0x5653b2)[_0x4f22ac(0x36e)]()||_0x493ab0,_0x2bbef4=[];for(const _0x453676 of _0x5b793e){const _0x9a6b87=_0x453676-(_0x21d143[_0x4f22ac(0x191)][_0x4f22ac(0x2d3)]||0x0),_0x3ce39e=_0xda7857[_0x9a6b87];_0x2bbef4['push'](_0x3ce39e),_0x319936[_0x3ce39e]=_0x383d54[_0x4f22ac(0x32b)](_0x3ce39e)['getName'](),_0x49bb42[_0x4f22ac(0x2e2)](_0xb048fd)[_0x4f22ac(0x1ba)](_0x3ce39e,_0x21d143,_0x9a6b87,_0x4b3016);}_0x383d54['getGroupFieldsInfoByIds'](_0x2bbef4)['forEach'](_0x2f7bef=>{const _0x261927=_0x4f22ac,[_0x58adb4,_0x5ba610]=_0x2f7bef,_0x4a5378=_0x383d54[_0x261927(0x32b)](_0x58adb4),_0x326016=_0x383d54[_0x261927(0x32b)](_0x5ba610);_0x4a5378&&_0x326016&&_0x4a5378[_0x261927(0x2d2)](_0x326016);}),_0x383d54[_0x4f22ac(0x2da)]();const _0x2a9555=_0x49bb42[_0x4f22ac(0x363)](_0x2ced44);if(_0x2a9555){Es(_0x2a9555,_0x319936,_0x3b5238),_0x2a9555[_0x4f22ac(0x1d7)](!0x0);const _0x4cc9f9=_0x2a9555['query'](),_0x174cf9=_0x49bb42[_0x4f22ac(0x2d7)](_0x5653b2,_0x26340e,_0x2ced44),_0x5ce5ee=_0x49bb42[_0x4f22ac(0x2e2)](_0xb048fd)['toJSON']();_0x49bb42[_0x4f22ac(0x190)](_0x5653b2,_0x26340e,B[_0x4f22ac(0x26f)],_0x2ced44,_0x4cc9f9,_0x174cf9,_0x5ce5ee,!0x0);}}return this[_0x4f22ac(0x326)](_0x5653b2,_0x26340e,_0x2ced44);}});}[_0x3f7e1b(0x368)](_0x5522af,_0x653500,_0xd61c81){var _0x8517ef,_0x110824;const {arrayFormulaCellData:_0x2c00cd,unitData:_0x57f149}=_0xd61c81,_0x27d705=(_0x8517ef=_0x2c00cd==null?void 0x0:_0x2c00cd[_0x5522af])==null?void 0x0:_0x8517ef[_0x653500],_0x55f96d=(_0x110824=_0x57f149==null?void 0x0:_0x57f149[_0x5522af])==null?void 0x0:_0x110824[_0x653500];return{'arrayFormulaCellDataMatrix':_0x27d705,'unitDataMatrix':_0x55f96d};}[_0x3f7e1b(0x326)](_0x4b7fe8,_0x1bb820,_0x5a34b5){const _0x2f3abb=_0x3f7e1b,_0x26000d=this[_0x2f3abb(0x2f2)]['getViewData'](_0x4b7fe8,_0x1bb820,_0x5a34b5),_0x504064=[],_0x3d3589=new _0x1e8df5();if(_0x26000d){const {rangeCache:_0x44168c,matrix:_0x391b0e,oldRangeCache:_0x39868d,oldMatrix:_0x2b801e}=_0x26000d,_0x2c4ae0=Bt(_0x39868d),_0x56e536=Bt(_0x44168c);_0x504064[_0x2f3abb(0x144)](..._0x56e536,..._0x2c4ae0),_0x2b801e&&_0x39868d&&_0x2c4ae0[_0x2f3abb(0x1b9)](_0x24f851=>{const _0x3c32cd=_0x2f3abb;for(let _0x50c752=_0x24f851[_0x3c32cd(0x375)];_0x50c752<=_0x24f851['endRow'];_0x50c752++)for(let _0x2bcfb9=_0x24f851[_0x3c32cd(0x2d3)];_0x2bcfb9<=_0x24f851[_0x3c32cd(0x31f)];_0x2bcfb9++)_0x3d3589[_0x3c32cd(0x2ac)](_0x50c752,_0x2bcfb9);}),_0x391b0e&&_0x56e536&&_0x56e536[_0x2f3abb(0x1b9)](_0x1bb5a6=>{const _0x5cd854=_0x2f3abb;for(let _0x542855=_0x1bb5a6[_0x5cd854(0x375)];_0x542855<=_0x1bb5a6[_0x5cd854(0x213)];_0x542855++)for(let _0x37283c=_0x1bb5a6[_0x5cd854(0x2d3)];_0x37283c<=_0x1bb5a6[_0x5cd854(0x31f)];_0x37283c++)_0x3d3589[_0x5cd854(0x241)](_0x542855,_0x37283c,_0x391b0e['getValue'](_0x542855,_0x37283c));});}const _0x5f123c={};return _0x5f123c[_0x4b7fe8]={[_0x1bb820]:As(_0x504064)},{'runtimeCellData':{[_0x4b7fe8]:{[_0x1bb820]:_0x3d3589}},'dirtyRanges':_0x5f123c};}[_0x3f7e1b(0x20e)](){}};ct=Us([at(0x0,_0xbe4270(H)),at(0x1,_0xbe4270(_0x4f8326)),at(0x2,_0xbe4270(_0x106ae8)),at(0x3,_0xbe4270(_0xcda319)),at(0x4,_0xbe4270(_0x4affd6))],ct);var ks=Object[_0x3f7e1b(0x14e)],Ks=(_0x5b8c59,_0xf21f2,_0x20621c,_0x4cd75d)=>{const _0x4b7463=_0x3f7e1b;for(var _0x237f82=_0x4cd75d>0x1?void 0x0:_0x4cd75d?ks(_0xf21f2,_0x20621c):_0xf21f2,_0x10d4f2=_0x5b8c59[_0x4b7463(0x18a)]-0x1,_0x29da5f;_0x10d4f2>=0x0;_0x10d4f2--)(_0x29da5f=_0x5b8c59[_0x10d4f2])&&(_0x237f82=_0x29da5f(_0x237f82)||_0x237f82);return _0x237f82;},Rt=(_0x2d292f,_0x2354cc)=>(_0x3a78d3,_0x2943d3)=>_0x2354cc(_0x3a78d3,_0x2943d3,_0x2d292f);let dt=class extends _0x5c8ab1{constructor(_0x158ec1,_0x5900bd,_0xa06f59,_0x11b7d9){const _0x555677=_0x3f7e1b;super(),N(this,_0x555677(0x30e),new _0x1d4a6d()),(this[_0x555677(0x319)]=_0x158ec1,this['_sheetInterceptorService']=_0x5900bd,this[_0x555677(0x2fb)]=_0xa06f59,this['_sheetsPivotTableConfigModel']=_0x11b7d9,this[_0x555677(0x37c)]());}[_0x3f7e1b(0x37c)](){const _0x378d32=_0x3f7e1b;this['disposeWithMe'](this[_0x378d32(0x2fc)][_0x378d32(0x264)]({'getMutations':_0x8625d9=>{const _0x4b8148=_0x378d32;if(_0x8625d9['id']===_0x1388c5['id']||_0x8625d9['id']===_0x5c4824['id']){const _0x1104cf=[],_0x314284=[],_0x1f5058=this[_0x4b8148(0x2fb)]['getCurrentSelections']()[_0x4b8148(0x33c)](_0x39f80a=>_0x39f80a['range']),_0x201183=_0x2407c5(this['_univerInstanceService']);if(!_0x201183)return{'redos':[],'undos':[]};const {unitId:_0x23a3df,subUnitId:_0x2f2c84}=_0x201183,_0xe86d94={},_0x45a488=this[_0x4b8148(0x371)]['getSubUnitPivotConfigs'](_0x23a3df,_0x2f2c84);if(_0x45a488!=null&&_0x45a488['size'])for(const [_0x333a65,_0x53db4e]of _0x45a488){const {unitId:_0x18aa73,subUnitId:_0x31fc03,row:_0x3f0326,col:_0xe5d50d}=_0x53db4e[_0x4b8148(0x259)];_0x18aa73===_0x201183[_0x4b8148(0x29f)]&&_0x31fc03===_0x201183[_0x4b8148(0x21e)]&&(_0xe86d94[_0x3f0326+'-'+_0xe5d50d]=_0x333a65);}return _0x1f5058&&_0x201183&&_0x1f5058[_0x4b8148(0x1b9)](_0xbabf22=>{_0x3ff323['foreach'](_0xbabf22,(_0x4efacd,_0x5a2878)=>{const _0x4bb43f=_0x4808,_0x4a1f01=_0x4efacd+'-'+_0x5a2878;if(_0xe86d94[_0x4a1f01]){const _0x5894f3=_0xe86d94[_0x4a1f01];_0x1104cf['push']({'id':Et['id'],'params':{'unitId':_0x23a3df,'subUnitId':_0x2f2c84,'pivotTableId':_0x5894f3}});const _0x4c101b=this[_0x4bb43f(0x371)]['getCollection'](_0x23a3df,_0x5894f3),_0x572e97=this[_0x4bb43f(0x371)][_0x4bb43f(0x2d7)](_0x23a3df,_0x2f2c84,_0x5894f3);_0x314284[_0x4bb43f(0x144)]({'id':Ct['id'],'params':{'unitId':_0x23a3df,'subUnitId':_0x2f2c84,'pivotTableId':_0x5894f3,'pivotTableConfig':_0x572e97,'collectionConfig':_0x4c101b}});}});}),{'redos':_0x1104cf,'undos':_0x314284};}return{'redos':[],'undos':[]};}}));}};dt=Ks([Rt(0x0,_0x30bb52),Rt(0x1,_0xbe4270(_0x52503e)),Rt(0x2,_0xbe4270(_0x3c76aa)),Rt(0x3,_0xbe4270(ve))],dt);var Ls=Object[_0x3f7e1b(0x14e)],Bs=(_0x5a3345,_0x42736a,_0x19d3cf,_0x1c9110)=>{const _0x3c7c46=_0x3f7e1b;for(var _0x904a32=_0x1c9110>0x1?void 0x0:_0x1c9110?Ls(_0x42736a,_0x19d3cf):_0x42736a,_0x330f9b=_0x5a3345[_0x3c7c46(0x18a)]-0x1,_0x4b0103;_0x330f9b>=0x0;_0x330f9b--)(_0x4b0103=_0x5a3345[_0x330f9b])&&(_0x904a32=_0x4b0103(_0x904a32)||_0x904a32);return _0x904a32;},rt=(_0x3bfea5,_0x42bbb5)=>(_0x3465d6,_0x22cb11)=>_0x42bbb5(_0x3465d6,_0x22cb11,_0x3bfea5);let ut=class extends _0x5c8ab1{constructor(_0x2e1e5f,_0x5a0431,_0x2d1faf,_0x56515e,_0x1f21eb){const _0x5157ef=_0x3f7e1b;super(),this[_0x5157ef(0x2fc)]=_0x2e1e5f,this[_0x5157ef(0x203)]=_0x5a0431,this[_0x5157ef(0x319)]=_0x2d1faf,this[_0x5157ef(0x371)]=_0x56515e,this[_0x5157ef(0x193)]=_0x1f21eb,this[_0x5157ef(0x265)]();}['_getPivotAppliedRanges'](_0x23c8ee,_0x178500,_0x5d4a74){const _0x3186be=_0x3f7e1b,{pageView:_0x14f3e1,cornerView:_0x2b2506,rowView:_0x5baacb,colView:_0x406494,dataView:_0x41a8fd}=_0x178500,_0x441669=_0x23c8ee;let _0x3cd2c8;if(_0x5d4a74)_0x3cd2c8=[...Bi(_0x441669)];else{const _0x4048e1=ge(_0x441669,_0x14f3e1,!0x0),_0x1bef6d=_0x14f3e1[_0x3186be(0x348)]>=0x0?_0x14f3e1[_0x3186be(0x348)]+0x1:0x0,_0x225a1c=_0x2b2506['rowCount'],_0x3242b5=_0x2b2506[_0x3186be(0x2ba)],_0x48c0ab=_0x4048e1['length']>0x0?It:0x0,_0x62d47f=ge({'row':_0x441669[_0x3186be(0x12d)]+_0x1bef6d+_0x48c0ab,'col':_0x441669[_0x3186be(0x1d8)]},_0x2b2506,!0x1,!0x1),_0xedf2e3=ge({'row':_0x441669[_0x3186be(0x12d)]+_0x1bef6d+_0x48c0ab+_0x225a1c,'col':_0x441669['col']},_0x5baacb,!0x1,!0x0),_0x3542e4=ge({'row':_0x441669[_0x3186be(0x12d)]+_0x1bef6d+_0x48c0ab,'col':_0x441669[_0x3186be(0x1d8)]+_0x3242b5},_0x406494,!0x1,!0x0),_0x59a169=ge({'row':_0x441669[_0x3186be(0x12d)]+_0x1bef6d+_0x48c0ab+_0x225a1c,'col':_0x441669['col']+_0x3242b5},_0x41a8fd,!0x1,!0x0);_0x3cd2c8=[..._0x4048e1,..._0x62d47f,..._0xedf2e3,..._0x3542e4,..._0x59a169];}return _0x3cd2c8;}[_0x3f7e1b(0x265)](){const _0x425a35=_0x3f7e1b;this['disposeWithMe'](this[_0x425a35(0x193)][_0x425a35(0x2e7)][_0x425a35(0x2be)](this[_0x425a35(0x193)][_0x425a35(0x2e7)][_0x425a35(0x35d)]()[_0x425a35(0x342)],{'handler':(_0x5b53a2,_0x3b4f4b)=>{const _0x8d1413=_0x425a35,{cellInfo:_0x2cdc2d,view:_0x110521,isEmpty:_0x52af9a}=_0x3b4f4b,_0x25a2fe=_0x2cdc2d,{unitId:_0x2b5978,subUnitId:_0x3df4eb}=_0x25a2fe,_0x28612c=this[_0x8d1413(0x189)](_0x2cdc2d,_0x110521,_0x52af9a),_0x258b7e=this[_0x8d1413(0x2fc)][_0x8d1413(0x10a)]({'unitId':_0x2b5978,'subUnitId':_0x3df4eb,'ranges':_0x28612c}),_0x1c368f=Wo(this[_0x8d1413(0x203)],_0x2b5978,_0x3df4eb,_0x28612c);_0x1c368f[_0x8d1413(0x118)]&&(_0x258b7e[_0x8d1413(0x173)][_0x8d1413(0x144)](_0x1c368f[_0x8d1413(0x301)]),_0x258b7e['undos']['push'](_0x1c368f[_0x8d1413(0x11f)]));const _0x4f31c0=this[_0x8d1413(0x2c3)](_0x110521,_0x2cdc2d);return _0x258b7e[_0x8d1413(0x173)][_0x8d1413(0x144)](..._0x4f31c0[_0x8d1413(0x173)]),_0x258b7e[_0x8d1413(0x1d1)][_0x8d1413(0x144)](..._0x4f31c0['undos']),{'redos':_0x258b7e[_0x8d1413(0x173)],'undos':_0x258b7e[_0x8d1413(0x1d1)]};}}));}[_0x3f7e1b(0x2c3)](_0x3cd5bc,_0x8c8396){const _0x3264c9=_0x3f7e1b,{col:_0x508f59,unitId:_0x18a9a1,subUnitId:_0x25c09d}=_0x8c8396,_0x5364a4=[],_0x3652e3=[],_0x28a88a=_0x2407c5(this[_0x3264c9(0x319)],{'unitId':_0x18a9a1,'subUnitId':_0x25c09d});if(!_0x8c8396||!_0x3cd5bc||!_0x28a88a)return{'undos':_0x3652e3,'redos':_0x5364a4};const _0x3e70c8=this[_0x3264c9(0x371)][_0x3264c9(0x16c)](),{colView:_0x3d94d0,dataView:_0x2986c1,cornerView:_0x6ec94f,rowView:_0x5c7400,formatMap:_0x74d504}=_0x3cd5bc,_0x320139=Mo(_0x3d94d0,_0x3e70c8,!0x0,_0x74d504),_0x5ec67e=Mo(_0x5c7400,_0x3e70c8,!0x1,_0x74d504),_0x5388a8=$i(_0x2986c1),_0xe3040a=zi(_0x6ec94f),{worksheet:_0x422c39}=_0x28a88a;if(typeof window<'u'&&window[_0x3264c9(0x196)]){const _0x150a06=_0x685dd7({...fe[_0x3264c9(0x312)]}),_0x2fc75c=_0x23e31e[_0x3264c9(0x11e)](_0x320139,_0x150a06)['width']+0x10,_0xf90fa9=_0x23e31e[_0x3264c9(0x11e)](_0x5388a8,_0x150a06)[_0x3264c9(0x378)],_0xa23cb5=Math[_0x3264c9(0x369)](Math[_0x3264c9(0x1eb)](_0x2fc75c,_0xf90fa9))+0x10,_0x3fcb59=Math[_0x3264c9(0x369)](_0x23e31e[_0x3264c9(0x11e)](_0x5ec67e,_0x150a06)[_0x3264c9(0x378)]),_0x5c2f5d=Math['floor'](_0x23e31e[_0x3264c9(0x11e)](_0xe3040a,_0x150a06)['width']),_0x3c3d18=Math[_0x3264c9(0x1eb)](_0x3fcb59,_0x5c2f5d,0x28)+0xc,_0x5d4009=_0x3d94d0[_0x3264c9(0x2ba)]+_0x6ec94f['colCount'],_0x86b5ce={},_0x198abe={};for(let _0x433c80=_0x508f59;_0x433c80<_0x508f59+_0x5d4009;_0x433c80++){const _0x5a8191=_0x422c39['getColumnWidth'](_0x433c80);_0x86b5ce[_0x433c80]=_0x5a8191,_0x433c80-_0x508f59<_0x6ec94f['colCount']?_0x198abe[_0x433c80-_0x508f59]=_0x3c3d18:_0x198abe[_0x433c80-_0x508f59]=_0xa23cb5;}_0x5364a4[_0x3264c9(0x144)]({'id':_0x1fa3c5['id'],'params':{'subUnitId':_0x25c09d,'unitId':_0x18a9a1,'ranges':[{'startColumn':_0x508f59,'endColumn':_0x508f59+_0x5d4009-0x1,'startRow':0x0,'endRow':_0x422c39['getRowCount']()-0x1}],'colWidth':_0x198abe}}),_0x3652e3[_0x3264c9(0x144)]({'id':_0x1fa3c5['id'],'params':{'subUnitId':_0x25c09d,'unitId':_0x18a9a1,'ranges':[{'startColumn':_0x508f59,'endColumn':_0x508f59+_0x5d4009-0x1,'startRow':0x0,'endRow':_0x422c39[_0x3264c9(0x10f)]()-0x1}],'colWidth':_0x86b5ce}});}return{'undos':_0x3652e3,'redos':_0x5364a4};}};ut=Bs([rt(0x0,_0xbe4270(_0x52503e)),rt(0x1,_0xbe4270(_0x4affd6)),rt(0x2,_0xbe4270(_0x30bb52)),rt(0x3,_0xbe4270(ve)),rt(0x4,_0xbe4270(ie))],ut);var Hs=Object[_0x3f7e1b(0x14e)],Qs=(_0x536fa7,_0x2c703b,_0x5d899a,_0x612a6c)=>{const _0x1e233b=_0x3f7e1b;for(var _0x24fe3b=_0x612a6c>0x1?void 0x0:_0x612a6c?Hs(_0x2c703b,_0x5d899a):_0x2c703b,_0x362945=_0x536fa7[_0x1e233b(0x18a)]-0x1,_0x133175;_0x362945>=0x0;_0x362945--)(_0x133175=_0x536fa7[_0x362945])&&(_0x24fe3b=_0x133175(_0x24fe3b)||_0x24fe3b);return _0x24fe3b;},ke=(_0x34e86f,_0xc13a99)=>(_0x3db550,_0x31b671)=>_0xc13a99(_0x3db550,_0x31b671,_0x34e86f);function _0x4dec(){const _0x5abca9=['getDataFieldItemInfo','sheet.mutation.set-pivot-format','_sheetsPivotDataSourceModel','STRING','removeField','getPivotItemRenderInfoCache','sheet.mutation.send-pivot-view-local','remove','sheet.mutation.get-pivot-data-local','updateDataFieldsCollection','sheet.mutation.send-pivot-data-local','_sheetsSelectionsService','_sheetInterceptorService','30QMbsYI','onStarting','initDataRanges','_initPivotDataGetListener','setRangeValueRedoMutation','deleteUnitId','_localeService','sheet.mutation.add-pivot-field','sheets-pivot.grandTotal','sheet.mutation.add-group-collection','colHeaderMap','Count\x20of\x20','sheet.command.move-pivot-table','sheets-pivot.maxName','UpdatePivotSource','sheet.command.pivot-drill-down','batch','disposableCollection','setPivotSort','sheets-pivot.productName','sheets-pivot.averageName','colStyle','_activeDirtyManagerService','sheets-pivot.cellDateGroupDisplay.yearMonthDate','302746XbzYLc','AddPivotTable','AddField','some','_univerInstanceService','new','getRefRangeMutationsByMoveRange','from','dimension','cornerRanges','endColumn','rangeType','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sheet.mutation.set-pivot-value-filter','getDisplayName','collectionChange$','sheet.command.set-pivot-filter','getDirtyInfo','rangeKey','rangeKeyMap','endCollectChangeset','markDirty','getFieldById','sheets-pivot.sumName','valueFields','_sheetsPivotTableAdaptorModel','columnFields','pivotConfigChange$','_subjectFieldsCollectionChange','_ensurePivotMap','sheet.command.update-pivot-table-source-range','_ensurePivotTableMatrixInfo','SetFieldFormat','sheets-pivot.dateGroup.yearQuarter','removePivotField','needSameDeleteModel','rowCount','collections','_commandService','map','#eceeff','_fieldsCollectionChange$','paths','_featureCalculationManagerService','updateViewInfo','PIVOT_MUTATION_GENERATE','find','getRangeStartEndInfo','_pivotTableMatrixInfo','getFieldInfo','sheets-pivot.columnName','lastRow','_initRegisterCommand','symbol','NAME','getFieldPositionInfoById','_pivotTableRangeInfo','updateCollectionConfig','MovePivotField','_refRangeService','pivotPerformCheck','getFullYear','addDirtyPivotTable','dateGroupField','data','splice','removePivotTable','getCurrentUnitForType','filterId','_initDataSendListener','getOriginFieldId','values','getInterceptPoints','pivotTableIndexConfig','_lifecycleService','GrandTotal','addExclusiveRange','UpdateValuePosition','getPivotTableInstance','getValuePosition','Var\x20of\x20','isValue','_sheetsPivotRpcService','getMatrixFromRunTimeData','floor','handleMoveRange','blank','278UtVYOY','getMatrixValue','getAutoDisplayNameFunction','var','sheets-pivot.dateGroup.monthDate','_sheetsPivotTableConfigModel','isArray','name','getSubtotal','startRow','YearMonthDate','generateNewSheetName','width','sheet.command.update-pivot-value-position','sheet.command.set-pivot-field-setting','sheet.mutation.update-pivot-table-source-range','_initClearSelectionCommandInterceptor','onQueryStart','Column\x20','subtotal','_viewUpdate$','getTypeOfUnitDisposed$','sheet.command.set-pivot-sort','Delete','prototype','sideEffectUpdateWorkerCache','handleSourceRangeChange','tableFieldId','getValue','fieldIds','YearMonth','fetchThroughAsyncInterceptors','rowFields','pivotMutationGenerate','dataStyle','1338FLwyOm','_initRemoveSheetCommandInterceptor','updateConfig','generateMutationsByRanges','sheets-pivot.dateGroup.yearMonth','broadcastCollectionChange','YearQuarter','pivotTableConfigs','getRowCount','value','size','_updateRenderEmptyCache','isNaN','setFieldFormat','1057344JDwdGY','getColCount','UNIVER_SHEET','shouldClear','updatePivotTableRangeInfo','SHEET_PIVOT_EXCLUSIVE_ID','UpdateFieldPosition','rowStyle','delete','getTextSize','setRangeValueUndoMutation','disposeWithMe','Style','registerDirtyService','filterInfo','stdDevp','sheet.command.add-pivot-table','addRecord','getNoUsedDataFieldIds','matrix','result','removeCollections','pivotInitCompleted$','updateRenderCache','row','removeDataField','CELL_CONTENT','has','sheet.mutation.set-pivot-field-subtotal-type','toJSON','pbt','entries','sheet.mutation.update-date-group','StdDevp\x20of\x20','getName','getTargetByPivotId','_collectionConfigModel','getPivotDisplayConfig','viewData$','SetOptions','MonthDate','getIntersectsPivotTable','_updatePivotTableInstanceCache','sheets-pivot.dateGroup.hourMinute','RemovePivotField','SetPivotFilter','tuple','push','colRanges','getDataFieldByDataFieldId','New','removeSourceRangeChange','getSourceName','getTargetByPivotTableId','rgb(240,241,243)','Subtotal','getLastRow','getOwnPropertyDescriptor','iterateField','originalFieldId','parse','SHEET_PIVOT_TABLE_PLUGIN','refreshData','BadReference','(Blank)','sheets-pivot.cellDateGroupDisplay.date','_requestResolvers','Sum\x20of\x20','_globalSubject','UpdateSource','_initConfig','registerCallbackWithEvent','query','filter','leafStyle','contains','_initSnapshot','textInfo','_updateModelCache','getSheets','sheet.mutation.rename-pivot-field','getUpdateRangeDeleteIds','setDataRecordCount','setSortInfo','adjustSheetCellData','update','getPivotTableIdByCell','getTextInfo','getFilterInfo','rowHeaderMap','level','register','concat','updateFieldSourceInfo','redos','custom','FORCE_STRING','2534796XKOPYu','_config','notExecuteFormula','_pivotConfigChange$','registerPluginResource','getPivotTableModelConfig','format','column','maxDate','_pivotTableInstanceCache','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','displayName','asyncInterceptor','isEmpty','getSheetBySheetName','addDataFieldWithoutUnitInfo','pushComputingStatusSubject','sheet.command.set-pivot-value-filter','addField','_getPivotAppliedRanges','length','registerCommand','_globalComputedEndHelpFunc','_dataFieldManagerCollection','body','HourMinute','updateView','range','Add','_sheetsPivotTableService','sheets-pivot.emptyPivot.filter','1305gvVWvD','document','_configVersion$','formJSON','sheet.mutation.remove-pivot-field','uniqueDataFieldName','deleteDataField','headerMap','existing','MAX_SAFE_INTEGER','getId','sheet.command.set-pivot-fields-config','hasField','_subjectViewChange','grandTotal','StdDev\x20of\x20','#e6ebfa','NotFunction','updatePivotTableMatrixInfo','collapseInfo','sheets-pivot.subTotal','setSourceName','SetPivotCollapse','originTargetInfo','DIV_BY_ZERO','sheet.operation.pivot-table-view-formula-mark-dirty','ResetPivotTable','getSortInfo','_exclusiveRangeService','586304NpaLDQ','getFieldDataType','getViewData','SetPivotSetting','sheets-pivot.emptyPivot.values','_createExclusiveRange','workbook\x20is\x20not\x20found','forEach','refreshDataField','version','random','rangeCache','clearRenderCache','sheets-pivot.dateGroup.month','COMMAND','sheet.command.move-pivot-field','_pivotRenderValueMatrixCache','_initLocale','dataFieldsCollection','sheets-pivot.dateGroup.year','handleAsyncResponse','NotName','sheet.mutation.remove-pivot-table','return\x20','sheets-pivot.countName','createDataFieldId','_ensurePivotItemRenderInfoCache','setDisplayName','getPivotTableCellData','sheets-pivot.dateGroup.hour','_dataSyncPrimaryController','undos','sheets-pivot.varName','asObservable','getDataFieldId','Row','sheets-pivot.dateGroup.quarter','setDirty','col','includes','message','versions','sheet.command.reset-pivot-fields-config','set','#e6ebfb','BLANK_PLACEHOLDER','addPivotTable','getRangeKey','_ensurePivotItemRenderValueMatrixCache','forValue','sheet.mutation.set-pivot-collapse','_host','resetPivotTable','pageStyle','onCommandExecuted','Max\x20of\x20','fields','max','Value','panel','updateFieldPosition','getCellMatrix','setPivotFilter','getSubUnitPivotMatrix','get','setPivotSetting','keys','sheets-pivot.other','sheet.mutation.send-init-pivot-text-local','getMatrix','type','getDate','min','number','sheets-pivot.value','unshift','getConfig','setRange','addPivotTableWithConfig','_collectionChange$','rowRanges','_injector','_textInfo','SetPivotSort','_initViewModelBySheetInterceptor','sourceRangeInfo','sheetName','setValuePivotFilter','iterateFieldByArea','cornerStyle','Date','Filter','dispose','count','getformat','iterateFieldDim','_subjectCollectionChange','endRow','options','info','dataFieldId','createCollectionWithDataRange','queryDirtyPivotTable','_deleteModelCache','getDataFieldBySourceName','getPivotTableMatrixInfo','Column','_init','subUnitId','setPivotTable','subscribe','_refRangeHandle','getSheetBySheetId','renameField','sheets-pivot.cellDateGroupDisplay.year','dataFields','lastCol','collectionConfig','Minute','Panel','getValueIndex','fromJSON','_toJSON','NUMBER','sheet.mutation.set-pivot-position','getHeaderMapItem','getIndexesByPathStr','rangesInfo','addPivotField','getIntersects','getPivotDirtyViewInfo','valid','intersects','AddPivotField','setDateType','isColMultiMeasure','setValueFilterInfo','updateRangeKeyMap','error','object','SetFilterInfo','_pivotInitCompleted$','single','setValue','node','isText','varp','removeValueFilterInfo','DrillDown','getFieldCountByArea','#1d32e9','next','Grand\x20Total','ΣValue','_generateUniqueVersion','oldRangeInfo','_markDirty$','pluginName','Min\x20of\x20','sortInfo','getValueFilterInfos','_deletePivotTableInstanceCache','dataStream','sheet.mutation.add-pivot-table','NotNumber','sheets-pivot.cellDateGroupDisplay.hour','average','targetCellInfo','pushUndoRedo','call','COLUMN','6042scOdJg','AddPivotTableWithConfig','_onRefRangeChange','Quarter','sheets-pivot.cellDateGroupDisplay.month','fontRenderExtension','subTotalStyle','interceptCommand','_initCommandInterceptListener','startCollectChangeset','Varp\x20of\x20','removeCollectionImp','sheets-pivot.varpName','addFieldWithSourceId','setConfig','_ensurePivotTableRangeInfo','setName','sum','Set','prefix','executeCommand','fetchThroughInterceptors','updateViewData','string','28ixIRCc','updateValuePosition','#b2b2b2','#f4f4f5','_initPivotTextInfo','ptn','getSubUnitPivotRenderCache','setLabelFilterInfo','fieldId','hasOwnProperty','_viewData$','sheets-pivot.cellDateGroupDisplay.quarter','minDate','rgb(255,255,255)','sheet.command.add-pivot-field','oldMatrix','None','Product\x20of\x20','dataRangeInfo','updateConfigCache','getRangeKeyList','bind','getCollection','getActiveSheet','stringify','RenameField','substring','SetCollapse','setRangeKeyMap','getTableFieldById','sheets-pivot.emptyPivot.column','_model','limit\x20pivot','removeValueFilterInfoByValueFieldId','isDate','Total','slice','getFieldIds','sheet.command.add-pivot-table-with-config','_configService','setPivotInitCompleted','PivotMultipleValueId','unitId','SetSubtotalType','charCodeAt','_initUnitDisposed','Year','pivotTableId','_queryingMap','getRangeData','sheets-pivot.dateGroup.date','getUnit','_resourceManagerService','sheets-pivot.stdDevpName','SetPivotTableConfig','realDeleteValue','getLastCol','sheets-pivot.blank','setTextInfo','SetValuePivotFilter','getMonth','filterFields','setPivotCollapse','setSubtotalType','sheet.mutation.pivot-update-field-source-info','deepClone','drillDown','getStyles','measure','colCount','params','sheets-pivot.countNumsName','triggerDirtyFeature','intercept','other','getPivotTableRangeInfo','setCollapse','Hour','getAutoFitColumnsMutations','getCellRaw','movePivotField','pageRanges','getDataFieldByTableId','sheets.tabs.sheet','Existing','addCollection','#FFFFFF','getSheetId','MUTATION','getSubUnitPivotConfigs','_pivotRenderInfoCache','setPivotTableConfig','getFormatInfo','refreshGroupField','startColumn','addCollectionByJSON','_viewData','_globalComputingSrv','getPivotTableConfig','Month','valueFilter','updateAllDisplayName','rowInfo','getFieldFormat','_ensureViewDataMap','\x20-\x20','cellValue','updatePivotSource','add','getDataFieldManager','2236399wrDpJR','registerSyncingMutations','areaInfo','getColumnCount','interceptor','getDataFieldByRangeKey','deleteField','toString','token','getUnitId','fieldsConfig','ManualFilter','forRow'];_0x4dec=function(){return _0x5abca9;};return _0x4dec();}let ft=class extends _0x5c8ab1{constructor(_0x32da57,_0x3ab0f1,_0x5c8a8e,_0x52969d,_0x55fca0,_0x375a67,_0x4d104f){const _0x2ba921=_0x3f7e1b;super(),N(this,_0x2ba921(0x30e),new _0x1d4a6d()),(this[_0x2ba921(0x203)]=_0x32da57,this['_refRangeService']=_0x3ab0f1,this[_0x2ba921(0x33b)]=_0x5c8a8e,this[_0x2ba921(0x319)]=_0x52969d,this[_0x2ba921(0x371)]=_0x55fca0,this[_0x2ba921(0x32e)]=_0x375a67,this[_0x2ba921(0x2fc)]=_0x4d104f,this[_0x2ba921(0x25f)]());}[_0x3f7e1b(0x25f)](){const _0xcefcde=_0x3f7e1b,_0x2dfe3e=(_0x3ea0f6,_0x2cda45)=>{const _0x444f87=_0x4808,_0xacfc6f=this[_0x444f87(0x319)][_0x444f87(0x358)](_0x5bedd4[_0x444f87(0x117)]);if(!_0xacfc6f||!(_0xacfc6f==null?void 0x0:_0xacfc6f['getSheetBySheetId'](_0x2cda45)))return;this[_0x444f87(0x30e)]['dispose']();const _0x2dc6ea=_0x272f10=>this[_0x444f87(0x221)](_0x272f10,_0x3ea0f6,_0x2cda45),_0x595c24=this[_0x444f87(0x371)]['getSubUnitPivotConfigs'](_0x3ea0f6,_0x2cda45);if(!(_0x595c24!=null&&_0x595c24[_0x444f87(0x111)]))return;Array[_0x444f87(0x31c)](_0x595c24[_0x444f87(0x35c)]())[_0x444f87(0x33c)](_0x252ab5=>{const {row:_0x239848,col:_0x3f9203}=_0x252ab5['targetCellInfo'];return _0x301301(_0x239848,_0x3f9203);})[_0x444f87(0x1b9)](_0x4906e3=>{const _0x579b2b=_0x444f87;this[_0x579b2b(0x30e)]['add'](this[_0x579b2b(0x350)]['registerRefRange'](_0x4906e3,_0x2dc6ea,_0x3ea0f6,_0x2cda45));});},_0x535660=()=>{const _0x20d480=_0x4808,_0x2ff62c=this[_0x20d480(0x319)][_0x20d480(0x358)](_0x5bedd4['UNIVER_SHEET']);if(_0x2ff62c){const _0x437e28=_0x2ff62c[_0x20d480(0x28c)]();if(!_0x437e28)return;_0x2dfe3e(_0x2ff62c[_0x20d480(0x2ec)](),_0x437e28[_0x20d480(0x2cc)]());}};this[_0xcefcde(0x120)](this['_commandService'][_0xcefcde(0x1e8)](_0x42b83d=>{const _0x29546d=_0xcefcde;if(_0x42b83d['id']===_0x2ae31c['id']){const _0x4b62a5=_0x42b83d[_0x29546d(0x2bb)],_0x31fecc=_0x4b62a5['subUnitId'],_0x2baeef=_0x4b62a5[_0x29546d(0x29f)];if(!_0x31fecc||!_0x2baeef)return;_0x2dfe3e(_0x2baeef,_0x31fecc);}})),this[_0xcefcde(0x120)](this['_sheetsPivotTableConfigModel'][_0xcefcde(0x12b)]['subscribe'](_0x266a4e=>{_0x266a4e&&_0x535660();})),this[_0xcefcde(0x120)](this['_sheetsPivotTableConfigModel'][_0xcefcde(0x330)][_0xcefcde(0x220)](_0x441610=>{const _0x2dd4dd=_0xcefcde,_0x102836=_0x2407c5(this[_0x2dd4dd(0x319)]);if(!_0x102836)return;const {unitId:_0x175038,subUnitId:_0x4062ec}=_0x102836,{unitId:_0x6c6c17,subUnitId:_0x3c7668}=_0x441610;_0x175038!==_0x6c6c17||_0x4062ec!==_0x3c7668||_0x2dfe3e(_0x175038,_0x4062ec);})),_0x535660();}[_0x3f7e1b(0x221)](_0x439123,_0x4ad3ec,_0x1d7ec){switch(_0x439123['id']){case _0x544a67['id']:return this['getRefRangeMutationsByMoveRange'](_0x439123['params'],_0x4ad3ec,_0x1d7ec);}return{'redos':[],'undos':[]};}[_0x3f7e1b(0x31b)](_0x5c07ec,_0x580d8d,_0x3df56a){const _0x1a9291=_0x3f7e1b,{fromRange:_0x1bbfac,toRange:_0x219329}=_0x5c07ec,_0x571afc=[],_0x1adaef=[],_0x5f133c=_0x2407c5(this['_univerInstanceService']);if(!_0x5f133c)return{'undos':_0x1adaef,'redos':_0x571afc};if(_0x580d8d!==_0x5f133c[_0x1a9291(0x29f)]||_0x3df56a!==_0x5f133c[_0x1a9291(0x21e)])return{'undos':_0x1adaef,'redos':_0x571afc};const _0x2e6b82=this[_0x1a9291(0x371)]['getSubUnitPivotConfigs'](_0x580d8d,_0x3df56a);if(_0x2e6b82!=null&&_0x2e6b82[_0x1a9291(0x111)])for(const [_0x142080,_0x3cf6ef]of _0x2e6b82){const {unitId:_0x4a2830,subUnitId:_0x1c1382,row:_0x10e574,col:_0x52ef7f}=_0x3cf6ef[_0x1a9291(0x259)];if(_0x4a2830===_0x5f133c['unitId']&&_0x1c1382===_0x5f133c[_0x1a9291(0x21e)]){const _0x3f9009=_0x301301(_0x10e574,_0x52ef7f);if(_0x58ac80[_0x1a9291(0x236)](_0x3f9009,_0x1bbfac)){const _0x19f111=_0x10e574-_0x1bbfac[_0x1a9291(0x375)],_0x1baa25=_0x52ef7f-_0x1bbfac[_0x1a9291(0x2d3)],_0x536f71={'row':_0x219329[_0x1a9291(0x375)]+_0x19f111,'col':_0x219329[_0x1a9291(0x2d3)]+_0x1baa25};_0x571afc[_0x1a9291(0x144)]({'id':pt['id'],'params':{'unitId':_0x4a2830,'subUnitId':_0x1c1382,'pivotTableId':_0x142080,'targetCellPosition':_0x536f71}}),_0x1adaef[_0x1a9291(0x144)]({'id':pt['id'],'params':{'unitId':_0x4a2830,'subUnitId':_0x1c1382,'pivotTableId':_0x142080,'targetCellPosition':{'row':_0x10e574,'col':_0x52ef7f}}});const _0x4f65a9=_0x536f71[_0x1a9291(0x12d)]-_0x10e574,_0x42e217=_0x536f71[_0x1a9291(0x1d8)]-_0x52ef7f,_0x160784=[],_0x23f9b5=this[_0x1a9291(0x32e)][_0x1a9291(0x2f5)](_0x4a2830,_0x1c1382,_0x142080),_0x5c8dec=_0x23f9b5==null?void 0x0:_0x23f9b5[_0x1a9291(0x231)];if(_0x5c8dec){Object['keys'](_0x5c8dec)[_0x1a9291(0x1b9)](_0x1e2e6b=>{const _0x415db1=_0x1a9291;_0x5c8dec[_0x1e2e6b][_0x415db1(0x1b9)](_0x575959=>{const _0x3ab31a=_0x415db1,_0x34f9ed={..._0x575959};_0x34f9ed[_0x3ab31a(0x375)]=_0x575959['startRow']+_0x4f65a9,_0x34f9ed[_0x3ab31a(0x213)]=_0x575959[_0x3ab31a(0x213)]+_0x4f65a9,_0x34f9ed[_0x3ab31a(0x2d3)]=_0x575959[_0x3ab31a(0x2d3)]+_0x42e217,_0x34f9ed['endColumn']=_0x575959[_0x3ab31a(0x31f)]+_0x42e217,_0x160784[_0x3ab31a(0x144)](_0x34f9ed);});});const _0x3fc57f=this[_0x1a9291(0x2fc)][_0x1a9291(0x10a)]({'unitId':_0x4a2830,'subUnitId':_0x1c1382,'ranges':_0x160784});_0x571afc['push'](..._0x3fc57f['redos']),_0x1adaef[_0x1a9291(0x144)](..._0x3fc57f[_0x1a9291(0x1d1)]);const _0xecdbd4=Wo(this[_0x1a9291(0x203)],_0x4a2830,_0x1c1382,_0x160784);_0xecdbd4[_0x1a9291(0x118)]&&(_0x571afc[_0x1a9291(0x144)](_0xecdbd4[_0x1a9291(0x301)]),_0x1adaef[_0x1a9291(0x144)](_0xecdbd4[_0x1a9291(0x11f)]));}}}}return{'redos':_0x571afc,'undos':_0x1adaef};}};ft=Qs([ke(0x0,_0xbe4270(_0x4affd6)),ke(0x1,_0xbe4270(_0x59ecd7)),ke(0x2,_0x106ae8),ke(0x3,_0x30bb52),ke(0x4,_0xbe4270(ve)),ke(0x5,_0xbe4270(Ve)),ke(0x6,_0xbe4270(_0x52503e))],ft);var $s=Object['getOwnPropertyDescriptor'],zs=(_0x3a04ca,_0x34b6dc,_0xc7b280,_0x28f4a3)=>{for(var _0x5ad41a=_0x28f4a3>0x1?void 0x0:_0x28f4a3?$s(_0x34b6dc,_0xc7b280):_0x34b6dc,_0x225b5c=_0x3a04ca['length']-0x1,_0xfcc7a9;_0x225b5c>=0x0;_0x225b5c--)(_0xfcc7a9=_0x3a04ca[_0x225b5c])&&(_0x5ad41a=_0xfcc7a9(_0x5ad41a)||_0x5ad41a);return _0x5ad41a;},Ro=(_0x27de5d,_0x2d764b)=>(_0x3018ea,_0x35e277)=>_0x2d764b(_0x3018ea,_0x35e277,_0x27de5d);let gt=class extends _0x5c8ab1{constructor(_0x240082,_0xa4fbe4){const _0x513c65=_0x3f7e1b;super(),this[_0x513c65(0x2fc)]=_0x240082,this[_0x513c65(0x371)]=_0xa4fbe4,this[_0x513c65(0x108)]();}['_initRemoveSheetCommandInterceptor'](){const _0x197eae=_0x3f7e1b;this[_0x197eae(0x120)](this[_0x197eae(0x2fc)]['interceptCommand']({'getMutations':_0x470d62=>{const _0x50b150=_0x197eae;if(_0x470d62['id']===_0x2e9787['id']){const _0x3d62b4=[],_0x396cb5=[],_0x59e710=_0x470d62[_0x50b150(0x2bb)],{unitId:_0x5d70a8,subUnitId:_0x27bac1}=_0x59e710;if(!_0x5d70a8||!_0x27bac1)return{'undos':_0x396cb5,'redos':_0x3d62b4};const _0x524490=this[_0x50b150(0x371)]['getSubUnitPivotConfigs'](_0x5d70a8,_0x27bac1);if(_0x524490!=null&&_0x524490[_0x50b150(0x111)])for(const [_0x3a14ec,_0x18bcfc]of _0x524490){_0x3d62b4[_0x50b150(0x144)]({'id':Et['id'],'params':{'unitId':_0x5d70a8,'subUnitId':_0x27bac1,'pivotTableId':_0x3a14ec}});const _0xe3fa5d={...this[_0x50b150(0x371)][_0x50b150(0x28b)](_0x5d70a8,_0x3a14ec)};_0x396cb5[_0x50b150(0x144)]({'id':Ct['id'],'params':{'unitId':_0x5d70a8,'subUnitId':_0x27bac1,'pivotTableId':_0x3a14ec,'pivotTableConfig':_0x18bcfc,'collectionConfig':_0xe3fa5d}});}return{'redos':_0x3d62b4,'undos':_0x396cb5};}return{'redos':[],'undos':[]};}}));}};gt=zs([Ro(0x0,_0xbe4270(_0x52503e)),Ro(0x1,_0xbe4270(ve))],gt);var Ys=Object[_0x3f7e1b(0x14e)],Js=(_0x3e8da4,_0x12d648,_0xc09d71,_0x499ba8)=>{for(var _0x59e669=_0x499ba8>0x1?void 0x0:_0x499ba8?Ys(_0x12d648,_0xc09d71):_0x12d648,_0x1da654=_0x3e8da4['length']-0x1,_0xfbaa52;_0x1da654>=0x0;_0x1da654--)(_0xfbaa52=_0x3e8da4[_0x1da654])&&(_0x59e669=_0xfbaa52(_0x59e669)||_0x59e669);return _0x59e669;},Ye=(_0x4b3769,_0xdacb35)=>(_0x42951c,_0x495210)=>_0xdacb35(_0x42951c,_0x495210,_0x4b3769);let ht=class extends _0x5c8ab1{constructor(_0x3cac5d,_0xca2fd2,_0xc304a3,_0x11dad5,_0x27188f,_0x1cb3d5){const _0x1d5a04=_0x3f7e1b;super(),this['_commandService']=_0x3cac5d,this[_0x1d5a04(0x367)]=_0xca2fd2,this[_0x1d5a04(0x32e)]=_0xc304a3,this[_0x1d5a04(0x371)]=_0x11dad5,this['_univerInstanceService']=_0x27188f,this['_activeDirtyManagerService']=_0x1cb3d5,this[_0x1d5a04(0x35a)](),this[_0x1d5a04(0x122)]();}[_0x3f7e1b(0x35a)](){const _0x754cc2=_0x3f7e1b;this['disposeWithMe'](this[_0x754cc2(0x33b)][_0x754cc2(0x1e8)](_0x5ecd0b=>{const _0xa8b8e2=_0x754cc2;if(_0x5ecd0b['id']!==lo['id'])return;const _0x8ed694=_0x5ecd0b[_0xa8b8e2(0x2bb)];this[_0xa8b8e2(0x367)][_0xa8b8e2(0x1c6)](_0x8ed694);})),this[_0x754cc2(0x120)](this[_0x754cc2(0x33b)]['onCommandExecuted'](_0x14ac48=>{const _0x256898=_0x754cc2;if(_0x14ac48['id']===co['id']){const _0xd860d0=_0x14ac48[_0x256898(0x2bb)];if(_0xd860d0){const {unitId:_0x518453,subUnitId:_0x5c40ca,oldSubUnitId:_0xdaa2fb,pivotTableId:_0x416714,pivotTableConfig:_0x11448b,collectionConfig:_0x1fdf2f}=_0xd860d0;this[_0x256898(0x371)][_0x256898(0x288)](_0x518453,_0xdaa2fb,_0xd860d0['pivotTableId'],null),this[_0x256898(0x371)][_0x256898(0x288)](_0x518453,_0x5c40ca,_0x416714,_0x11448b),this[_0x256898(0x371)][_0x256898(0x34e)](_0x518453,_0x1fdf2f);}}})),this[_0x754cc2(0x120)](this[_0x754cc2(0x33b)][_0x754cc2(0x1e8)](_0x477714=>{const _0x22b679=_0x754cc2;if(_0x477714['id']!==Dt['id'])return;const _0x5ef9af=_0x2407c5(this[_0x22b679(0x319)]);if(!_0x5ef9af)return;const {unitId:_0x20ce07,subUnitId:_0x24e2d1}=_0x5ef9af,_0x44e3be=_0x477714['params'];if(_0x44e3be['collectionConfig']&&Object[_0x22b679(0x1f4)](_0x44e3be[_0x22b679(0x227)])['forEach'](_0xfe7a41=>{const _0x2787df=_0x22b679;var _0x49e2eb;(_0x49e2eb=_0x44e3be[_0x2787df(0x227)])!=null&&_0x49e2eb[_0xfe7a41]&&this[_0x2787df(0x371)][_0x2787df(0x34e)](_0xfe7a41,_0x44e3be[_0x2787df(0x227)][_0xfe7a41]);}),_0x44e3be[_0x22b679(0x240)]){const _0x55672a=_0x44e3be['single'],{unitId:_0x4d27d7,subUnitId:_0x1f28b7,view:_0x25476d,pivotTableId:_0x2653ca,type:_0x1bbee7,pivotConfig:_0x31548e}=_0x55672a;if(_0x1bbee7===B['Delete'])this['_sheetsPivotTableAdaptorModel'][_0x22b679(0x1be)]({'unitId':_0x4d27d7,'subUnitId':_0x1f28b7,'pivotTableId':_0x2653ca,'type':_0x1bbee7}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x4d27d7,_0x1f28b7,_0x2653ca,null);else{const _0x2f4ead=new _0x50bf2b();_0x2f4ead[_0x22b679(0x198)](_0x25476d),this[_0x22b679(0x371)][_0x22b679(0x288)](_0x4d27d7,_0x1f28b7,_0x2653ca,_0x31548e),this[_0x22b679(0x32e)]['clearRenderCache']({'unitId':_0x4d27d7,'subUnitId':_0x1f28b7,'pivotTableId':_0x2653ca,'type':_0x1bbee7,'view':_0x2f4ead}),this[_0x22b679(0x32e)][_0x22b679(0x12c)]({'unitId':_0x4d27d7,'subUnitId':_0x1f28b7,'view':_0x2f4ead,'pivotTableId':_0x2653ca,'type':_0x1bbee7});}}else _0x44e3be[_0x22b679(0x30d)]&&(_0x44e3be['batch']['forEach'](_0x5a3590=>{const _0x214fad=_0x22b679,{unitId:_0x34d7d7,subUnitId:_0x30652c,view:_0x598dcd,pivotTableId:_0x55c3a9,type:_0x16a191,pivotConfig:_0x52d9bf}=_0x5a3590,_0x24f70e=new _0x50bf2b();_0x24f70e[_0x214fad(0x198)](_0x598dcd),this[_0x214fad(0x371)][_0x214fad(0x288)](_0x34d7d7,_0x30652c,_0x55c3a9,_0x52d9bf),this[_0x214fad(0x32e)]['updateRenderCache']({'unitId':_0x34d7d7,'subUnitId':_0x30652c,'view':_0x24f70e,'pivotTableId':_0x55c3a9,'type':_0x16a191});}),this[_0x22b679(0x371)][_0x22b679(0x29d)]());this[_0x22b679(0x32e)][_0x22b679(0x32a)](_0x20ce07,_0x24e2d1);}));}[_0x3f7e1b(0x122)](){const _0x318d9b=_0x3f7e1b;this[_0x318d9b(0x313)][_0x318d9b(0x170)](Nt['id'],{'commandId':Nt['id'],'getDirtyData'(_0x2764cb){const _0x4fdcdc=_0x318d9b;return{'dirtyUnitFeatureMap':_0x2764cb[_0x4fdcdc(0x2bb)]};}});}};ht=Js([Ye(0x0,_0xbe4270(_0x106ae8)),Ye(0x1,_0xbe4270(X)),Ye(0x2,_0xbe4270(Ve)),Ye(0x3,_0xbe4270(ve)),Ye(0x4,_0xbe4270(_0x30bb52)),Ye(0x5,_0x4eb8e3)],ht);var Ws=Object['defineProperty'],js=Object[_0x3f7e1b(0x14e)],Gs=(_0x46fff2,_0x32e714,_0x287ae2)=>_0x32e714 in _0x46fff2?Ws(_0x46fff2,_0x32e714,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x287ae2}):_0x46fff2[_0x32e714]=_0x287ae2,qs=(_0x44c8c3,_0x574a57,_0x5d9019,_0x29d78e)=>{const _0x2998a3=_0x3f7e1b;for(var _0x50800b=_0x29d78e>0x1?void 0x0:_0x29d78e?js(_0x574a57,_0x5d9019):_0x574a57,_0x445634=_0x44c8c3[_0x2998a3(0x18a)]-0x1,_0x2aee07;_0x445634>=0x0;_0x445634--)(_0x2aee07=_0x44c8c3[_0x445634])&&(_0x50800b=_0x2aee07(_0x50800b)||_0x50800b);return _0x50800b;},_t=(_0x1b66cc,_0x7a1dfc)=>(_0x2a26f2,_0x51d376)=>_0x7a1dfc(_0x2a26f2,_0x51d376,_0x1b66cc),Zo=(_0x1e29eb,_0x49bd36,_0xb5845e)=>Gs(_0x1e29eb,typeof _0x49bd36!=_0x3f7e1b(0x34a)?_0x49bd36+'':_0x49bd36,_0xb5845e);let Ut=class extends _0x229557{constructor(_0x22a80d=yo,_0x597a97,_0x3739ec,_0x12f3e4,_0x107ec7){const _0x15585e=_0x3f7e1b;super(),this[_0x15585e(0x177)]=_0x22a80d,this[_0x15585e(0x203)]=_0x597a97,this[_0x15585e(0x33b)]=_0x3739ec,this[_0x15585e(0x29c)]=_0x12f3e4,this[_0x15585e(0x1d0)]=_0x107ec7;const {..._0x4687f3}=_0x1fa2f5({},yo,this[_0x15585e(0x177)]);this[_0x15585e(0x29c)][_0x15585e(0x26b)](Go,_0x4687f3),this['_initRegisterCommand'](),this[_0x15585e(0x15b)]();}[_0x3f7e1b(0x15b)](){const _0x4104d7=_0x3f7e1b;var _0x278aed;const _0x4695c5=(_0x278aed=this[_0x4104d7(0x177)])==null?void 0x0:_0x278aed[_0x4104d7(0x178)];this['_configService'][_0x4104d7(0x26b)](G,_0x4695c5===!0x0);}[_0x3f7e1b(0x2fe)](){const _0x152757=_0x3f7e1b;var _0x1b2c00;let _0x5dfe3c=[];const _0x3f96d9=(_0x1b2c00=this[_0x152757(0x177)])==null?void 0x0:_0x1b2c00[_0x152757(0x178)];_0x3f96d9===!0x0?_0x5dfe3c=[[ie],[X],[ht],[Ve],[ve],[gt],[dt],[ft],[ut]]:_0x3f96d9===!0x1?_0x5dfe3c=[[H],[ct]]:_0x3f96d9===void 0x0&&(_0x5dfe3c=[[H],[ct],[ie],[X],[ht],[Ve],[ve],[gt],[dt],[ft],[ut]]),_0x5dfe3c[_0x152757(0x1b9)](_0x14b026=>this[_0x152757(0x203)][_0x152757(0x2e1)](_0x14b026)),[ct,ht,ie,dt,gt,ft,ut][_0x152757(0x1b9)](_0x129663=>{const _0x3aa0bf=_0x152757;this[_0x3aa0bf(0x203)]['has'](_0x129663)&&this[_0x3aa0bf(0x203)][_0x3aa0bf(0x1f2)](_0x129663);});}[_0x3f7e1b(0x349)](){const _0x54d306=_0x3f7e1b;[ps,ms,hs,Is,Ss,Vs,_s,Ts,ws,ys,Fs,Ds,Cs,bs,Ct,to,Et,Ht,qo,Xo,Jt,Qt,$t,zt,jt,Wt,pt,ro,lo,Dt,Xt,eo,Gt,Yt,uo,oo,Zt,Nt,co,Rs,qt,Ms,Ps][_0x54d306(0x1b9)](_0x4ab8cf=>{const _0x4721c6=_0x54d306;var _0x492a34;(_0x492a34=this['_dataSyncPrimaryController'])==null||_0x492a34[_0x4721c6(0x2e4)](_0x4ab8cf),this['_commandService'][_0x4721c6(0x18b)](_0x4ab8cf);});}};Zo(Ut,_0x3f7e1b(0x24f),ao),Zo(Ut,_0x3f7e1b(0x1f8),_0x5bedd4['UNIVER_SHEET']),Ut=qs([_0x36702b(_0x50be00),_t(0x1,_0xbe4270(_0x4affd6)),_t(0x2,_0xbe4270(_0x106ae8)),_t(0x3,_0x1c8e08),_t(0x4,_0x3d5e31(_0x253654))],Ut);export{hs as AddPivotFieldCommand,Ht 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,k as PivotDisplayDataType,bs as PivotDrillDownCommand,B as PivotTableOperationEnum,Nt as PivotTableViewDirtyMarkOperation,Lo as PositionType,Ss as RemovePivotFieldCommand,Qt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,$t as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,Go as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ts as SetPivotCollapseCommand,zt as SetPivotCollapseMutation,Yt as SetPivotFieldFormatMutation,Ms as SetPivotFieldsConfigCommand,ys as SetPivotFilterCommand,Jt as SetPivotFilterMutation,Wt as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,jt as SetPivotSortMutation,Gt as SetPivotSubtotalTypeMutation,Rs as SetPivotValueFilterCommand,qt as SetPivotValueFilterMutation,H as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ve as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,_s as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Fs as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Vs as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Jo as canUsePivot,fe as defaultThemeStyle,Wo as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Bi as getEmptyPivotRanges,Vt as getFieldListByArea,we as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Ki as getPivotTableInfo,vt as transFromCellValue,Bt as unionPivotViewRange};
|
|
1
|
+
const _0x5bf728=_0x279a;(function(_0x1c68c4,_0x5bb499){const _0x559418=_0x279a,_0x400d2f=_0x1c68c4();while(!![]){try{const _0x507b63=parseInt(_0x559418(0x33d))/0x1*(parseInt(_0x559418(0x2ee))/0x2)+-parseInt(_0x559418(0x39e))/0x3*(parseInt(_0x559418(0x274))/0x4)+-parseInt(_0x559418(0x214))/0x5*(-parseInt(_0x559418(0x2e0))/0x6)+parseInt(_0x559418(0x2f5))/0x7*(parseInt(_0x559418(0x42d))/0x8)+parseInt(_0x559418(0x2fd))/0x9*(parseInt(_0x559418(0x3a5))/0xa)+parseInt(_0x559418(0x3da))/0xb*(parseInt(_0x559418(0x39b))/0xc)+parseInt(_0x559418(0x3be))/0xd*(-parseInt(_0x559418(0x282))/0xe);if(_0x507b63===_0x5bb499)break;else _0x400d2f['push'](_0x400d2f['shift']());}catch(_0x4c437b){_0x400d2f['push'](_0x400d2f['shift']());}}}(_0x461b,0x28f08));var rn=Object[_0x5bf728(0x366)],ln=(_0xd155b0,_0x3bca06,_0x4162cd)=>_0x3bca06 in _0xd155b0?rn(_0xd155b0,_0x3bca06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4162cd}):_0xd155b0[_0x3bca06]=_0x4162cd,V=(_0x1e4934,_0x2a9364,_0x485106)=>ln(_0x1e4934,typeof _0x2a9364!=_0x5bf728(0x3e6)?_0x2a9364+'':_0x2a9364,_0x485106);import{PivotCellStyleTypeEnum as _0x2a40d9,PivotViewCellValueTypeEnum as _0x4c146a,isPrefixValue as _0x4ffa85,isErrorValue as _0x2c251c,PivotErrorTypeEnum as _0x1dd39a,PivotDateGroupFieldDateTypeEnum as _0x1dcfc0,DataFieldManager as _0x7fa536,FieldsCollection as _0x58643c,isDateValue as _0x36ad7b,DataField as _0x7ea1d5,generateHexNumber as _0x2962d6,isBaseGroupField as _0x3bed76,PivotTable as _0x15d468,PivotSubtotalTypeEnum as _0x597cf6,PivotTableFiledAreaEnum as _0x3a6ce8,excelDateToUnixMilliseconds as _0x15768b,PivotDataFieldTypeEnum as _0x3b6834,DateGroupField as _0x239928,createValueField as _0x387f7f,createLabelField as _0x454170,PivotTableChangeTypeEnum as _0x13920a,PivotView as _0x2089ac,GlobalConfig as _0x2f6290,isDateGroupFieldJSON as _0x399b61,PivotCallbackEnum as _0x1a52c8,PivotFilterTypeEnum as _0x5dae63,getAutoDisplayName as _0x267ddd,PivotDataFieldDataTypeEnum as _0x54c91a,PivotTableValuePositionEnum as _0xad4caa,isDateGroupField as _0x43eb06}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x5508a5,ObjectMatrix as _0x43fcd2,IUniverInstanceService as _0x2fecb8,UniverInstanceType as _0x332ca7,CellValueType as _0x24b2d4,numfmt as _0x567147,LocaleService as _0x2a9621,createAsyncInterceptorKey as _0x7cb202,createInterceptorKey as _0x1cbcea,CommandType as _0x56fcc3,Inject as _0x360cfb,ICommandService as _0x4e31c1,Disposable as _0x25f1fb,RANGE_TYPE as _0x49d1c0,numberToABC as _0x50a52a,Injector as _0x121ef7,LifecycleService as _0x2dfd91,IResourceManagerService as _0x4679cb,Rectangle as _0x3d3208,IConfigService as _0x224426,Tools as _0x48d9e9,AsyncInterceptorManager as _0x108fc1,InterceptorManager as _0x51d859,InterceptorEffectEnum as _0x393181,IUndoRedoService as _0x342a4e,sequenceExecute as _0x3e4922,CustomCommandExecutionError as _0x13dca5,mergeWorksheetSnapshotWithDefault as _0x2565d4,generateRandomId as _0x1323f3,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x104e87,DEFAULT_WORKSHEET_ROW_COUNT as _0x5f5337,DisposableCollection as _0x2a1164,Range as _0x451e59,DependentOn as _0x569100,Optional as _0x2a3879,Plugin as _0x15301e,merge as _0x2b305a}from'@univerjs/core';import{ErrorType as _0x10d8d1,serializeRangeWithSpreadsheet as _0x5554c8,IFeatureCalculationManagerService as _0x1cada9,GlobalComputingStatusService as _0x1cb0fc,IActiveDirtyManagerService as _0x5714d5}from'@univerjs/engine-formula';import{generateNullCell as _0x75ebc2,SetRangeValuesUndoMutationFactory as _0x289bda,SetRangeValuesMutation as _0x24965e,getSheetCommandTarget as _0x5b1933,InsertRowMutation as _0x70acf4,RemoveRowMutation as _0x2c9689,InsertColMutation as _0xded336,RemoveColMutation as _0x19ed4c,IExclusiveRangeService as _0x1b55aa,SheetInterceptorService as _0x34849c,INTERCEPTOR_POINT as _0xa62e49,InsertSheetCommand as _0x5b4034,InsertSheetUndoMutationFactory as _0x3c4f41,RemoveSheetMutation as _0x575055,InsertSheetMutation as _0x532b87,MoveRangeMutation as _0x345d91,SheetsSelectionsService as _0x969973,ClearSelectionContentCommand as _0x1053ee,ClearSelectionAllCommand as _0x152598,SetWorksheetColWidthMutation as _0x38a006,RefRangeService as _0x344cce,SetWorksheetActiveOperation as _0x3ef769,MoveRangeCommand as _0x523093,RemoveSheetCommand as _0x2da853}from'@univerjs/sheets';import{Subject as _0x688d9a,BehaviorSubject as _0x6f9e2d}from'rxjs';import{LS_CONFIG_KEY as _0x1e58ed,unshiftString as _0x30309b,isFeatureAuthorizedWithinTime as _0x174e93,getSheetFeatureLimit as _0x108804,ReleaseType as _0x2c1fa3,UniverLicensePlugin as _0x59a5cc}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x242433,RemoveSheetsFilterMutation as _0x24119c}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x406107}from'@univerjs/rpc';import{getFontStyleString as _0xb88763,FontCache as _0x31b8d0}from'@univerjs/engine-render';const Lo=Number['parseInt'](0x69088420),li=0x10,so=0x1,ao=_0x5bf728(0x3f7),mt=0x1,ci='rgb(240,241,243)',di=_0x5bf728(0x40d),wt=_0x5bf728(0x220),ui='#f4f4f5',fi=_0x5bf728(0x242),gi=_0x5bf728(0x3c0),hi='#1d32e9',vi=_0x5bf728(0x1ee),pi=_0x5bf728(0x334),Ci=_0x5bf728(0x295),mi=_0x5bf728(0x1ee),Ii=_0x5bf728(0x245),bi=0xe,Si=0x6;var Bo=(_0x564a3d=>(_0x564a3d[_0x5bf728(0x29a)]=_0x5bf728(0x1e1),_0x564a3d[_0x5bf728(0x394)]=_0x5bf728(0x239),_0x564a3d))(Bo||{});const $o={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ci},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Ti(_0x39dc7b,_0x2fbad9,_0x3a214f){const _0x28c786=_0x5bf728,_0x46f84e=_0x39dc7b[_0x28c786(0x21b)](_0x2a9621),_0x2e10f8=_0x3a214f[_0x28c786(0x348)]('_');switch(_0x2fbad9){case _0x1dcfc0[_0x28c786(0x3eb)]:return _0x46f84e['t'](_0x28c786(0x27d),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x1d0)]:return _0x46f84e['t'](_0x28c786(0x431),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x37c)]:return _0x46f84e['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x2c8)]:return _0x46f84e['t'](_0x28c786(0x3a3),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x277)]:return _0x46f84e['t'](_0x28c786(0x20f),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x423)]:return _0x46f84e['t'](_0x28c786(0x1cb),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x2c3)]:return _0x46f84e['t'](_0x28c786(0x3ee),..._0x2e10f8);case _0x1dcfc0['YearMonth']:return _0x46f84e['t'](_0x28c786(0x23d),..._0x2e10f8);case _0x1dcfc0[_0x28c786(0x228)]:return _0x46f84e['t'](_0x28c786(0x440),..._0x2e10f8);case _0x1dcfc0['YearQuarter']:return _0x46f84e['t'](_0x28c786(0x442),..._0x2e10f8);}return'';}const tt=(_0x40a41e,_0x5f2f1d,_0x30faca,_0x1ee720)=>{const _0x1f5c59=_0x5bf728;let _0x1bb43a;const _0x5f5aa8=_0x40a41e[_0x1f5c59(0x21b)](_0x2fecb8)['getCurrentUnitForType'](_0x332ca7[_0x1f5c59(0x25d)]);if(!_0x5f5aa8)return null;const _0x2d4255=_0x5f5aa8[_0x1f5c59(0x1fb)]();let _0x1760d1;if(_0x30faca&&(_0x1760d1=_0x2d4255['setValue'](_0x30faca)),_0x5f2f1d!=null&&_0x5f2f1d['v']||(_0x5f2f1d==null?void 0x0:_0x5f2f1d['v'])===0x0){_0x1bb43a||(_0x1bb43a={});const _0x19501e=Go(_0x5f2f1d['v']);typeof _0x19501e==_0x1f5c59(0x29f)?_0x1bb43a['t']=_0x24b2d4[_0x1f5c59(0x250)]:typeof _0x19501e==_0x1f5c59(0x23a)&&(_0x1bb43a['t']=_0x24b2d4['STRING']),_0x1bb43a['v']=_0x19501e;}if((_0x5f2f1d!=null&&_0x5f2f1d['i']||(_0x5f2f1d==null?void 0x0:_0x5f2f1d['i'])===0x0)&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['fi']=_0x5f2f1d['i']),_0x5f2f1d!=null&&_0x5f2f1d['s']&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['pbt']=_0x5f2f1d['s']),_0x30faca&&(_0x1bb43a||(_0x1bb43a={}),_0x1bb43a['s']=_0x1760d1),_0x1ee720&&_0x1bb43a!=null&&_0x1bb43a['v']&&_0x1bb43a['pbt']!==_0x2a40d9[_0x1f5c59(0x37e)]&&_0x1bb43a[_0x1f5c59(0x2c4)]!==_0x2a40d9[_0x1f5c59(0x453)]){const _0x1b6ce5=String(_0x1bb43a['v']),{dateType:_0x1e4a48}=_0x1ee720;_0x1bb43a['v']=Ti(_0x40a41e,_0x1e4a48,_0x1b6ce5),_0x1bb43a['t']=_0x24b2d4[_0x1f5c59(0x251)];}return _0x1bb43a;},yi=(_0x1aed94,_0x59accb,_0x512b50,_0x4b4631)=>{const _0x32f5f1=_0x5bf728;var _0x63d6fc,_0x466c17,_0x27e286,_0x5b4774,_0x22c99d,_0x3cd518,_0xcb65aa,_0x58b3f5,_0x55a2c2,_0x2664bb,_0x254cfa,_0x3893da,_0xd15452,_0x57bea5;const _0x323e97=_0x512b50[_0x32f5f1(0x1d2)],{cornerView:_0x998252,rowView:_0x75c002,colView:_0x34cafb,dataView:_0x2fc155,pageView:_0x3784dd,formatMap:_0x421af7,groupInfo:_0x3655eb}=_0x59accb,{row:_0xd43a88,col:_0x2688aa}=_0x323e97,_0x3aa105=new _0x43fcd2(),_0x594f9c={},_0x22c1f5={},_0x45f78e={},_0x35a2e7={},_0x47728f={};let _0x28c7f9=_0xd43a88,_0x2100cc=_0x2688aa;Object[_0x32f5f1(0x3ab)](_0x3784dd[_0x32f5f1(0x265)])[_0x32f5f1(0x28f)](_0xd75296=>{const _0x5d8369=_0x32f5f1;Object[_0x5d8369(0x3ab)](_0x3784dd[_0x5d8369(0x265)][Number(_0xd75296)])[_0x5d8369(0x28f)](_0x556ca8=>{const _0x587bdd=_0x5d8369,_0x5bff02={..._0x3784dd[_0x587bdd(0x265)][Number(_0xd75296)][Number(_0x556ca8)]};_0x3aa105[_0x587bdd(0x26b)](Number(_0xd75296)+_0x28c7f9,Number(_0x556ca8)+_0x2100cc,tt(_0x1aed94,_0x5bff02,fe['pageStyle']));});});const _0x254755=Object[_0x32f5f1(0x3ab)](_0x3784dd[_0x32f5f1(0x265)])[_0x32f5f1(0x395)];_0x28c7f9+=_0x254755+(_0x254755?mt:0x0);const _0x117523=_0x998252[_0x32f5f1(0x3de)](),_0x33c772=_0x998252[_0x32f5f1(0x2d1)]();for(let _0xe4101e=0x0;_0xe4101e<_0x117523;_0xe4101e++)for(let _0x300d53=0x0;_0x300d53<_0x33c772;_0x300d53++){const _0x5d24a4={...(_0x466c17=(_0x63d6fc=_0x998252['data'])==null?void 0x0:_0x63d6fc[_0xe4101e])==null?void 0x0:_0x466c17[_0x300d53]};_0x5d24a4&&((_0x27e286=_0x75c002[_0x32f5f1(0x22d)][_0x300d53])!=null&&_0x27e286[_0x32f5f1(0x30a)])&&_0x300d53===_0x33c772-0x1&&_0xe4101e===_0x117523-0x1&&(_0x5d24a4['v']=''+_0x4b4631['sheets-pivot.value']),_0x3aa105['setValue'](_0xe4101e+_0x28c7f9,_0x300d53+_0x2100cc,tt(_0x1aed94,_0x5d24a4,fe[_0x32f5f1(0x2ac)]));}for(let _0x45cf13=0x0;_0x45cf13<_0x998252['info']['length'];_0x45cf13++)_0x998252[_0x32f5f1(0x378)][_0x45cf13]&&(_0x45f78e[''+(_0x45cf13+_0x2100cc)]=_0x998252['info'][_0x45cf13]);_0x2100cc+=_0x33c772;const _0xca91a0=_0x34cafb[_0x32f5f1(0x22d)],_0x491799=_0x34cafb[_0x32f5f1(0x273)]()>=0x0?_0x34cafb['getLastRow']()+0x1:0x0,_0x214644=_0x34cafb['getLastCol']()>=0x0?_0x34cafb[_0x32f5f1(0x352)]()+0x1:0x0;for(let _0xb4009=0x0;_0xb4009<_0x214644;_0xb4009++){for(let _0x3465b0=0x0;_0x3465b0<_0x491799;_0x3465b0++){const _0x1eeedf={...(_0x22c99d=(_0x5b4774=_0x34cafb[_0x32f5f1(0x265)])==null?void 0x0:_0x5b4774[_0x3465b0])==null?void 0x0:_0x22c99d[_0xb4009]},_0x4f2924=(_0x3cd518=_0xca91a0[_0x3465b0])==null?void 0x0:_0x3cd518[_0x32f5f1(0x390)],_0x405cc8=_0x421af7[_0x4f2924],_0x2fec23=_0x3655eb[_0x4f2924];_0x1eeedf&&(_0x1eeedf['v']=vt(_0x1eeedf,_0x3465b0===0x0&&((_0xcb65aa=_0x34cafb[_0x32f5f1(0x262)](_0xb4009+0x1))==null?void 0x0:_0xcb65aa['isValue']),_0x405cc8,_0x4b4631));let _0x5494bf;_0x405cc8?_0x5494bf={...fe[_0x32f5f1(0x1f2)],'n':{'pattern':_0x405cc8}}:_0x5494bf={...fe[_0x32f5f1(0x1f2)]},_0x3aa105[_0x32f5f1(0x26b)](_0x3465b0+_0x28c7f9,_0xb4009+_0x2100cc,tt(_0x1aed94,_0x1eeedf,_0x5494bf,_0x2fec23));}_0x34cafb['info'][_0xb4009]&&(_0x22c1f5[''+(_0xb4009+_0x2100cc)]=_0x34cafb[_0x32f5f1(0x378)][_0xb4009]),_0x34cafb['headerMap'][_0xb4009+0x1]&&(_0x47728f[''+(_0xb4009+_0x28c7f9+0x1)]=_0x34cafb['headerMap'][_0xb4009+0x1]);}_0x28c7f9+=_0x117523;const _0x36132a=_0x75c002[_0x32f5f1(0x22d)],_0x4781e1=_0x75c002[_0x32f5f1(0x273)]()>=0x0?_0x75c002['getLastRow']()+0x1:0x0,_0x17dc90=_0x75c002['getLastCol']()>=0x0?_0x75c002['getLastCol']()+0x1:0x0;for(let _0x185fa2=0x0;_0x185fa2<_0x4781e1;_0x185fa2++){for(let _0x335459=0x0;_0x335459<_0x17dc90;_0x335459++){const _0x5d59b6={...(_0x55a2c2=(_0x58b3f5=_0x75c002[_0x32f5f1(0x265)])==null?void 0x0:_0x58b3f5[_0x185fa2])==null?void 0x0:_0x55a2c2[_0x335459]},_0x25296e=(_0x2664bb=_0x36132a[_0x335459])==null?void 0x0:_0x2664bb['tableFieldId'],_0x156a93=_0x421af7[_0x25296e],_0xaed029=_0x3655eb[_0x25296e];_0x5d59b6&&(_0x5d59b6['v']=vt(_0x5d59b6,!0x1,_0x156a93,_0x4b4631));let _0x95d3e3;_0x75c002['info'][_0x185fa2]['level']===_0x75c002[_0x32f5f1(0x2d1)]()?_0x95d3e3=fe[_0x32f5f1(0x226)]:_0x75c002[_0x32f5f1(0x378)][_0x185fa2][_0x32f5f1(0x233)]?_0x95d3e3=_0x75c002[_0x32f5f1(0x378)][_0x185fa2][_0x32f5f1(0x2cc)]===0x0?fe['grandTotal']:fe['subTotalStyle']:_0x95d3e3=fe['rowStyle'],_0x156a93&&(_0x95d3e3={..._0x95d3e3,'n':{'pattern':_0x156a93}}),_0x3aa105[_0x32f5f1(0x26b)](_0x185fa2+_0x28c7f9,_0x335459+_0x2688aa,tt(_0x1aed94,_0x5d59b6,_0x95d3e3,_0xaed029));}_0x75c002[_0x32f5f1(0x378)][_0x185fa2]&&(_0x594f9c[''+(_0x185fa2+_0x28c7f9)]=_0x75c002['info'][_0x185fa2]),_0x75c002[_0x32f5f1(0x22d)][_0x185fa2]&&(_0x35a2e7[''+(_0x185fa2+_0x2688aa)]=_0x75c002['headerMap'][_0x185fa2]);}const _0x31bc61=_0x2fc155['getRowCount'](),_0x47e610=_0x2fc155[_0x32f5f1(0x2d1)]();for(let _0x20cf13=0x0;_0x20cf13<_0x31bc61;_0x20cf13++)for(let _0x31cf45=0x0;_0x31cf45<_0x47e610;_0x31cf45++){const _0x2f398e={...(_0x3893da=(_0x254cfa=_0x2fc155['data'])==null?void 0x0:_0x254cfa[_0x20cf13])==null?void 0x0:_0x3893da[_0x31cf45]};let _0x5edf41;_0x75c002[_0x32f5f1(0x378)][_0x20cf13][_0x32f5f1(0x233)]?_0x5edf41=_0x75c002[_0x32f5f1(0x378)][_0x20cf13]['level']===0x0?fe[_0x32f5f1(0x2f3)]:fe[_0x32f5f1(0x3e5)]:_0x5edf41=fe['dataStyle'];const _0xbba63=_0x75c002[_0x32f5f1(0x378)][_0x20cf13][_0x32f5f1(0x3c2)],_0x51c74a=_0x34cafb[_0x32f5f1(0x378)][_0x31cf45][_0x32f5f1(0x3c2)],_0x72569e=Math['max'](_0xbba63,_0x51c74a),_0x1c2901=_0x512b50['fieldsConfig'][_0x32f5f1(0x3c5)]['concat']();let _0x51e550='';_0x72569e<0x0?_0x51e550=(_0xd15452=_0x1c2901[0x0])!=null?_0xd15452:'':_0x51e550=(_0x57bea5=_0x1c2901[_0x72569e])!=null?_0x57bea5:'';const _0x24694b=_0x421af7[_0x51e550];_0x24694b&&(_0x5edf41={..._0x5edf41,'n':{'pattern':_0x24694b}}),_0x3aa105[_0x32f5f1(0x26b)](_0x20cf13+_0x28c7f9,_0x31cf45+_0x2100cc,tt(_0x1aed94,_0x2f398e,_0x5edf41));}return{'valueMatrix':_0x3aa105,'rowInfo':_0x594f9c,'colInfo':_0x22c1f5,'cornerInfo':_0x45f78e,'rowHeaderMap':_0x35a2e7,'colHeaderMap':_0x47728f};};function vt(_0x4dd258,_0x55bd1d,_0xe5a455,_0x3ca769){const _0x8250a2=_0x5bf728;let _0xf4c0b0=_0x4dd258['v'];_0x55bd1d&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x33a)]);const _0x1a820c=_0x4dd258['t']&&(_0x4dd258['t']&_0x4c146a['blank'])>0x0;_0x1a820c&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x33c)]);const _0x631988=_0x4dd258['t']&&(_0x4dd258['t']&_0x4c146a[_0x8250a2(0x240)])>0x0;if(_0x631988&&(_0xf4c0b0=''+_0x3ca769[_0x8250a2(0x374)]),_0x4dd258['s']===_0x2a40d9[_0x8250a2(0x453)]){let _0xe03b20=_0xf4c0b0,_0x1379c5='';_0x4ffa85(_0xf4c0b0)&&(_0xe03b20=_0xf4c0b0[_0x8250a2(0x3e8)],_0x1379c5=_0xf4c0b0[_0x8250a2(0x27a)]);const _0x162ef6=_0xe5a455&&!_0x1a820c&&!_0x631988?_0x567147[_0x8250a2(0x369)](_0xe5a455,Number(_0xe03b20)):_0xe03b20;_0x1379c5?_0xf4c0b0=_0x162ef6+'\x20'+_0x1379c5:_0xf4c0b0=_0x162ef6+'\x20'+_0x3ca769[_0x8250a2(0x44b)];}else _0x4dd258['s']===_0x2a40d9[_0x8250a2(0x37e)]&&(_0xf4c0b0=_0xf4c0b0+'\x20'+_0x3ca769[_0x8250a2(0x2d7)]);return _0xf4c0b0;}function Go(_0x3aa63a){const _0x1378f2=_0x5bf728;if(_0x2c251c(_0x3aa63a)){const {errorType:_0x265a1d}=_0x3aa63a;switch(_0x265a1d){case _0x1dd39a[_0x1378f2(0x344)]:return _0x10d8d1[_0x1378f2(0x389)];case _0x1dd39a[_0x1378f2(0x450)]:return _0x10d8d1[_0x1378f2(0x2bf)];case _0x1dd39a[_0x1378f2(0x340)]:return _0x10d8d1[_0x1378f2(0x218)];case _0x1dd39a['NotName']:return _0x10d8d1[_0x1378f2(0x218)];case _0x1dd39a[_0x1378f2(0x1fc)]:return _0x10d8d1[_0x1378f2(0x34b)];}}return _0x3aa63a;}function ge(_0x10eca7,_0xe87e84,_0x173c60=!0x1,_0xdf4a69=!0x1){const _0x3e1adc=_0x5bf728,{data:_0x35d777}=_0xe87e84,_0x5745e6=_0xe87e84[_0x3e1adc(0x3de)](),_0x502d0d=_0xe87e84['getColCount']();if(_0x5745e6<=0x0||_0x502d0d<=0x0)return[];const _0x253b5c=_0xe87e84[_0x3e1adc(0x352)](),_0x1a2c4=_0xe87e84['getLastRow'](),_0x1303a6=_0xdf4a69?_0x1a2c4>=0x0?_0x1a2c4+0x1:0x0:_0x5745e6,_0x40d656=_0xdf4a69?_0x253b5c>=0x0?_0x253b5c+0x1:0x0:_0x502d0d,{row:_0xe080b5,col:_0x581440}=_0x10eca7,_0x5e18ec=_0xe080b5,_0x58d859=_0x581440;if(_0x173c60){const _0x141560=[];for(const [_0x2186c9,_0x221430]of Object[_0x3e1adc(0x2d6)](_0x35d777))for(const [_0x56a648,_0x1f936f]of Object[_0x3e1adc(0x2d6)](_0x221430))_0x141560[_0x3e1adc(0x42a)](_0x5508a5(_0x5e18ec+Number(_0x2186c9),_0x58d859+Number(_0x56a648)));return _0x141560;}else{const _0x3d6fec=_0xdf4a69?_0x1303a6>0x0?0x1:0x0:0x1,_0x23d92b=_0xdf4a69?_0x40d656>0x0?0x1:0x0:0x1,_0x3ddbd0=_0xe080b5+_0x1303a6-_0x3d6fec,_0x41d802=_0x581440+_0x40d656-_0x23d92b;return[{'startRow':_0x5e18ec,'startColumn':_0x58d859,'endRow':_0x3ddbd0,'endColumn':_0x41d802}];}}const z=_0x5bf728(0x359),Lt='SHEET_PIVOT_EXCLUSIVE_ID';var k=(_0x45dfe7=>(_0x45dfe7['Filter']=_0x5bf728(0x3c6),_0x45dfe7[_0x5bf728(0x324)]=_0x5bf728(0x399),_0x45dfe7['AddPivotField']='addPivotField',_0x45dfe7[_0x5bf728(0x258)]='AddPivotTableWithConfig',_0x45dfe7[_0x5bf728(0x434)]=_0x5bf728(0x35c),_0x45dfe7[_0x5bf728(0x41e)]=_0x5bf728(0x424),_0x45dfe7['RemovePivotField']=_0x5bf728(0x3bd),_0x45dfe7[_0x5bf728(0x3f2)]=_0x5bf728(0x330),_0x45dfe7[_0x5bf728(0x243)]=_0x5bf728(0x417),_0x45dfe7[_0x5bf728(0x328)]=_0x5bf728(0x401),_0x45dfe7[_0x5bf728(0x43e)]=_0x5bf728(0x3a8),_0x45dfe7[_0x5bf728(0x332)]=_0x5bf728(0x327),_0x45dfe7[_0x5bf728(0x3bf)]=_0x5bf728(0x29c),_0x45dfe7['DrillDown']=_0x5bf728(0x387),_0x45dfe7[_0x5bf728(0x386)]=_0x5bf728(0x252),_0x45dfe7[_0x5bf728(0x308)]='setPivotTableConfig',_0x45dfe7[_0x5bf728(0x2c2)]='resetPivotTable',_0x45dfe7))(k||{});const Mi={'sheets-pivot.blankValue':_0x5bf728(0x3e0),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x5bf728(0x319),'sheets-pivot.valueText':_0x5bf728(0x409),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x5bf728(0x2f4),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x5bf728(0x307),'sheets-pivot.minName':_0x5bf728(0x365),'sheets-pivot.productName':_0x5bf728(0x1ea),'sheets-pivot.stdDevName':_0x5bf728(0x286),'sheets-pivot.stdDevpName':_0x5bf728(0x2a3),'sheets-pivot.sumName':_0x5bf728(0x2dc),'sheets-pivot.varName':_0x5bf728(0x439),'sheets-pivot.varpName':_0x5bf728(0x291),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x5bf728(0x27a),'sheets-pivot.blank':_0x5bf728(0x20e),'sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x5bf728(0x22f),'sheets-pivot.emptyPivot.column':_0x5bf728(0x3f6),'sheets-pivot.emptyPivot.values':'Values'},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x7cb202('pivotPerformCheck'),jo=_0x1cbcea(_0x5bf728(0x3b8));var Be=(_0x143edc=>(_0x143edc[_0x5bf728(0x2de)]='add',_0x143edc[_0x5bf728(0x25a)]=_0x5bf728(0x25a),_0x143edc[_0x5bf728(0x367)]=_0x5bf728(0x367),_0x143edc))(Be||{}),$=(_0x22c99c=>(_0x22c99c['Add']=_0x5bf728(0x2de),_0x22c99c['Set']=_0x5bf728(0x2e3),_0x22c99c[_0x5bf728(0x346)]=_0x5bf728(0x25a),_0x22c99c))($||{});const ro={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x38f),'handler':()=>!0x0},lo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x40b),'handler':()=>!0x0},Rt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x375),'handler':()=>!0x0},co={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x3ea),'handler':()=>!0x0},uo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x2f6),'handler':()=>!0x0};var wi=Object['getOwnPropertyDescriptor'],_i=(_0x1f3ae5,_0x4ad71f,_0x4574f6,_0x444c3f)=>{const _0x1665a7=_0x5bf728;for(var _0x59f6b5=_0x444c3f>0x1?void 0x0:_0x444c3f?wi(_0x4ad71f,_0x4574f6):_0x4ad71f,_0x326a9d=_0x1f3ae5[_0x1665a7(0x395)]-0x1,_0x3dc844;_0x326a9d>=0x0;_0x326a9d--)(_0x3dc844=_0x1f3ae5[_0x326a9d])&&(_0x59f6b5=_0x3dc844(_0x59f6b5)||_0x59f6b5);return _0x59f6b5;},Fi=(_0x448199,_0x191533)=>(_0x1d31d2,_0x5d93a8)=>_0x191533(_0x1d31d2,_0x5d93a8,_0x448199);let X=class extends _0x25f1fb{constructor(_0x2ad6c9){const _0x49865e=_0x5bf728;super(),V(this,_0x49865e(0x276),new Map()),this['_commandService']=_0x2ad6c9;}['handleAsyncResponse'](_0x1f8d77){const _0x4b0346=_0x5bf728,{version:_0x2276a1}=_0x1f8d77,_0x126cd5=this[_0x4b0346(0x276)][_0x4b0346(0x21b)](_0x2276a1);_0x126cd5&&(_0x126cd5(_0x1f8d77),this[_0x4b0346(0x276)][_0x4b0346(0x25a)](_0x2276a1));}[_0x5bf728(0x382)](_0x1126d2){return new Promise((_0x2475a4,_0x57f8db)=>{const _0x45676b=_0x279a,_0x5a50e8=this[_0x45676b(0x430)]();this['_requestResolvers'][_0x45676b(0x2e3)](_0x5a50e8,_0x2475a4),this[_0x45676b(0x234)][_0x45676b(0x314)](ro['id'],{'version':_0x5a50e8,..._0x1126d2},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x3aace3=_0x5bf728;return Math[_0x3aace3(0x2da)]()['toString'](0x24)[_0x3aace3(0x2e4)](0x2,0x10);}};X=_i([Fi(0x0,_0x360cfb(_0x4e31c1))],X);const Jo={0x0:'K',0x1:'0',0x2:'4',0x3:'a',0x4:'t',0x5:'7',0x6:'r',0x7:'e',0x8:'M',0x9:'1','L':'2','R':'3','v':'5','U':'6','O':'8','u':'9','s':'b','Y':'c','T':'d','h':'f','N':'g','c':'h','f':'i','I':'j','q':'k','w':'l','r':'m','C':'n','A':'o','S':'p','n':'q','D':'s','e':'u','g':'v','b':'w','G':'x','p':'y','d':'z','o':'A','Q':'B','B':'C','a':'D','i':'E','k':'F','x':'G','P':'H','K':'I','M':'J','X':'L','F':'N','H':'O','V':'P','J':'Q','y':'R','j':'S','l':'T','E':'U','t':'V','m':'W','W':'X','z':'Y','Z':'Z'},Wo='heCY4fAC\x20T7Y6pS4fAC(wfY7CD7,\x20SeswfY07p)\x20{\x20\x20\x20\x2046p\x20{\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20wfY7CD7KChAV364o663p\x20=\x20wfY7CD7.DSwf4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20A6fNfC87DD3N7\x20=\x20MjHF.S36D7(34As(wfY7CD7KChAV364o663p[L]));\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!A6fNfC87DD3N7.eT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A6fNfC87DD3N7.eT\x20=\x20Fers76(wfY7CD7KChAV364o663p[2]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20fDmA6q76\x20=\x204pS7Ah\x20mA6q76xwAs3wjYAS7\x20!==\x20\x27eCT7hfC7T\x27\x20&&\x20D7wh\x20fCD43CY7Ah\x20mA6q76xwAs3wjYAS7;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20YAC47G4\x20=\x20fDmA6q76\x20?\x20D7wh\x20:\x20bfCTAb;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[L]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7\x20=\x20YAC47G4.__P7G__.D46fCNfhp(r7DD3N7mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[R]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67\x20=\x20YAC47G4.__P7G__.D46fCNfhp(DfNC34e67mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNCt3wfT\x20=\x20YAC47G4.__g76fhp__(DfNC34e67,\x20r7DD3N7,\x20SeswfY07p);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20TAr3fC\x20=\x20A6fNfC87DD3N7.Tr;\x20\x20\x20\x20\x20\x20\x20\x20heCY4fAC\x20fDaAr3fC834YcfCN(AV34476C,\x20APAD4)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476C\x20=\x20AV34476C.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4\x20=\x20APAD4.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CV364D\x20=\x20S34476C.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4V364D\x20=\x20cAD4.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!S34476C.fCYweT7D(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476C\x20===\x20cAD4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(S34476CV364D.w7CN4c\x20<\x20L\x20||\x20S34476CV364D[1]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20h3wD7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CjehhfG\x20=\x20S34476CV364D.DwfY7(9).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4jehhfG\x20=\x20cAD4V364D.DwfY7(-S34476CV364D.w7CN4c\x20+\x209).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476CjehhfG\x20===\x20cAD4jehhfG;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x20TAr3fCt3wfT\x20=\x20(TAr3fC\x20&&\x20TAr3fC.w7CN4c)\x20?\x20TAr3fC.DAr7((TrK47r)\x20=>\x20fDaAr3fC834YcfCN(TrK47r,\x20wAY34fAC.cAD4C3r7))\x20:\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(wAY34fAC.cAD4C3r7\x20===\x20\x27wAY3wcAD4\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAr3fCt3wfT\x20=\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20g3wfT\x20=\x20DfNCt3wfT\x20&&\x20TAr3fCt3wfT;\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20A6fNfC87DD3N7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Y34Yc\x20(766A6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT:\x20h3wD7,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',Di=_0x1f5861=>{const _0x3efc32=_0x5bf728;var _0x23f28c;return((_0x23f28c=_0x1f5861[_0x3efc32(0x2d0)])==null?void 0x0:_0x23f28c[_0x3efc32(0x2e9)]['replace'](/\r\n$/,''))||'';};class Ri extends _0x7fa536{constructor(_0x2e7f95,_0x18fc95){const _0x533659=_0x5bf728;super(),V(this,_0x533659(0x446),{}),V(this,_0x533659(0x253)),V(this,'_host'),(this['_univerInstanceService']=_0x18fc95,this[_0x533659(0x238)]=_0x2e7f95);}[_0x5bf728(0x1fe)](){const _0x4333f3=_0x5bf728;for(const _0x1ad7fc in this[_0x4333f3(0x1d3)]){const _0x5dce86=this[_0x4333f3(0x1d3)][_0x1ad7fc],_0x2345b9=_0x5dce86[_0x4333f3(0x232)]();this[_0x4333f3(0x446)][_0x2345b9]=_0x5dce86[_0x4333f3(0x3f9)]();}}[_0x5bf728(0x202)](){const _0x3dd288=_0x5bf728,_0x344a37=this[_0x3dd288(0x238)];return Oi['bind'](_0x344a37);}[_0x5bf728(0x406)](_0x1b39b7){const _0x4b8811=_0x5bf728,_0x31e85b=this[_0x4b8811(0x1d3)][_0x1b39b7][_0x4b8811(0x1fa)];delete this[_0x4b8811(0x1d3)][_0x1b39b7],delete this[_0x4b8811(0x446)][_0x31e85b];}[_0x5bf728(0x209)](_0x45e143){const _0x2db5cc=_0x5bf728;this['dataFields'][_0x45e143[_0x2db5cc(0x3f9)]()]=_0x45e143;}['removeCollectionImp'](_0x4500e1){const _0x33c114=_0x5bf728;var _0x1d271b,_0x2f3e87;const _0x4ec919=this[_0x33c114(0x238)][_0x33c114(0x31b)](_0x4500e1);if(_0x4ec919){const {unitId:_0x24cac4,subUnitId:_0xfc102c}=_0x4ec919,_0xf63374=(_0x1d271b=this['_host'][_0x33c114(0x448)](_0x24cac4,_0xfc102c,_0x4500e1))==null?void 0x0:_0x1d271b[_0x33c114(0x3f8)];this['_host'][_0x33c114(0x2e2)]({'token':_0x4500e1,'type':Be[_0x33c114(0x25a)],'dataRangeInfo':_0xf63374});}(_0x2f3e87=this[_0x33c114(0x28d)](_0x4500e1))==null||_0x2f3e87[_0x33c114(0x3bc)](),delete this[_0x33c114(0x278)][_0x4500e1];}[_0x5bf728(0x232)](_0x2cec6e,_0x6a76bf){const {sheetName:_0x547336,unitId:_0x28fce0,range:_0xbb1a37}=_0x2cec6e,{startRow:_0xe7078f,endRow:_0x4c4207}=_0xbb1a37;return _0x5554c8(_0x28fce0,_0x547336,{'startRow':_0xe7078f,'endRow':_0x4c4207,'startColumn':_0x6a76bf,'endColumn':_0x6a76bf});}['getDataFieldByRangeKey'](_0x57a6b3){const _0x4f6d0f=_0x5bf728;return this[_0x4f6d0f(0x1d3)][this[_0x4f6d0f(0x446)][_0x57a6b3]];}[_0x5bf728(0x3fd)](_0x31d88b,_0x303992){const _0x27e632=_0x5bf728;this[_0x27e632(0x446)][_0x31d88b]=_0x303992;}[_0x5bf728(0x438)](_0x168862,_0x13095b){const _0x4a9593=_0x5bf728;this[_0x4a9593(0x446)][_0x13095b]=this[_0x4a9593(0x446)][_0x168862],delete this[_0x4a9593(0x446)][_0x168862];}[_0x5bf728(0x235)](_0x3e3347,_0x8a6d59,_0x4b6857,_0x56ff3d){const _0x4f0eb3=_0x5bf728,_0x185e05=new _0x58643c(this);_0x185e05[_0x4f0eb3(0x2b9)](_0x8a6d59);const _0x139ceb=[];let _0x20eab7=0x0;for(const _0x571910 of _0x185e05['fieldIds']){const _0x34018a=this['getRangeKey'](_0x4b6857,_0x20eab7),_0x521ecc=this[_0x4f0eb3(0x1d3)][_0x571910];_0x521ecc&&(_0x521ecc[_0x4f0eb3(0x1fa)]=_0x34018a,this[_0x4f0eb3(0x3fd)](_0x34018a,_0x571910),_0x139ceb[_0x4f0eb3(0x42a)]({'index':_0x20eab7,'dataField':_0x521ecc})),_0x20eab7++;}return this['addCollection'](_0x3e3347,_0x185e05,_0x4b6857,_0x56ff3d),{'collection':_0x185e05,'updateDataFieldList':_0x139ceb};}[_0x5bf728(0x1e2)](_0x3ebe51,_0x484ff4){const _0x2f20fb=_0x5bf728;return _0x3ebe51[_0x2f20fb(0x441)]===_0x49d1c0[_0x2f20fb(0x2d2)]?{'startRow':0x0,'startColumn':_0x3ebe51[_0x2f20fb(0x3d2)],'endRow':_0x484ff4[_0x2f20fb(0x3de)]()-0x1,'endColumn':_0x3ebe51[_0x2f20fb(0x3cd)]}:{'startRow':_0x3ebe51[_0x2f20fb(0x373)],'startColumn':_0x3ebe51['startColumn'],'endRow':_0x3ebe51[_0x2f20fb(0x320)],'endColumn':_0x3ebe51[_0x2f20fb(0x3cd)]};}['createCollectionWithDataRange'](_0x422146){const _0x195031=_0x5bf728,{sheetName:_0x54e375,range:_0x4b8ed7}=_0x422146,_0x5aed78=this['_univerInstanceService'][_0x195031(0x350)](_0x332ca7[_0x195031(0x25d)]),_0x3d75de=_0x5aed78[_0x195031(0x356)](_0x54e375),_0x429333=_0x3d75de[_0x195031(0x341)](),{startColumn:_0x87c5b4,startRow:_0x4d7f67,endColumn:_0x53616a}=this[_0x195031(0x1e2)](_0x4b8ed7,_0x3d75de),_0x2b9169=_0x5aed78[_0x195031(0x1fb)](),_0x561267=new _0x58643c(this);_0x561267[_0x195031(0x402)](_0x422146);const _0x4f9073=[],_0x330bb2={};for(let _0x525cf1=_0x87c5b4;_0x525cf1<=_0x53616a;_0x525cf1++){const _0x2df2dd=_0x429333[_0x195031(0x35b)](_0x4d7f67,_0x525cf1),_0xc97c9a=this[_0x195031(0x232)](_0x422146,_0x525cf1),_0x340240=this['getDataFieldByRangeKey'](_0xc97c9a);if(_0x340240)_0x561267['addField'](_0x340240[_0x195031(0x3f9)](),_0x340240[_0x195031(0x3a4)]());else{const _0x3d4fc1=this[_0x195031(0x28e)]();let _0x87ee44=this[_0x195031(0x3af)](_0x2df2dd,_0x2b9169,_0x330bb2);_0x36ad7b(_0x87ee44)&&(_0x87ee44=_0x567147[_0x195031(0x369)](_0x87ee44['f'],Number(_0x87ee44['v'])));const _0xcb11d7=this['uniqueDataFieldName'](_0x87ee44,_0x525cf1),_0xbb6212=new _0x7ea1d5(_0x3d4fc1,_0xcb11d7,_0x2962d6(0x3));_0xbb6212[_0x195031(0x1fa)]=_0xc97c9a,this[_0x195031(0x1d3)][_0x3d4fc1]=_0xbb6212,_0x561267['addField'](_0x3d4fc1,_0xcb11d7),_0x4f9073['push']({'index':_0x525cf1,'dataField':_0xbb6212});}}return{'updateDataFieldList':_0x4f9073,'collection':_0x561267};}[_0x5bf728(0x2ef)](_0x1656b7){const _0x3eb628=_0x5bf728;return this[_0x3eb628(0x238)]['getTextInfo']()[_0x3eb628(0x297)]+'\x20'+_0x50a52a(_0x1656b7);}[_0x5bf728(0x1ca)](_0x58fe9d,_0x4b5ace){const _0x6389ca=_0x5bf728;return _0x58fe9d==null||_0x58fe9d===''?this[_0x6389ca(0x2ef)](_0x4b5ace):String(_0x58fe9d);}[_0x5bf728(0x28d)](_0x5225b7){const _0x438550=_0x5bf728;return this[_0x438550(0x278)][_0x5225b7];}[_0x5bf728(0x298)](_0x2ee953,_0xd15e6c,_0x5e461f,_0x35d561){const _0x4ae2e1=_0x5bf728;this[_0x4ae2e1(0x278)][_0x2ee953]=_0xd15e6c,_0xd15e6c[_0x4ae2e1(0x402)](_0x5e461f),this[_0x4ae2e1(0x238)]['broadcastCollectionChange']({'token':_0x2ee953,'type':Be['add'],'dataRangeInfo':_0x5e461f,'targetCellInfo':_0x35d561});}[_0x5bf728(0x221)](_0x17e074,_0x3712f9){const _0x4023d6=_0x5bf728,_0xff63f3=this[_0x4023d6(0x28d)](_0x17e074),_0x45962c=_0xff63f3[_0x4023d6(0x363)]();let _0x52413d=0x0;for(const _0x58663e of _0x45962c){const _0x5bf103=_0xff63f3[_0x4023d6(0x437)](_0x58663e),_0x19674e=this[_0x4023d6(0x232)](_0x3712f9,_0x52413d);this[_0x4023d6(0x438)](_0x5bf103['rangeKey'],_0x19674e),_0x52413d++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x5bf728(0x27b)](_0x31ef02,_0x514016){const _0x3ac005=_0x5bf728;if(this[_0x3ac005(0x28d)](_0x31ef02)){const _0x572390=this[_0x3ac005(0x212)](_0x514016),_0x5b3a92=[];for(const _0x3d2bb3 of _0x572390)this[_0x3ac005(0x446)][_0x3d2bb3]!==void 0x0&&_0x5b3a92[_0x3ac005(0x42a)](this[_0x3ac005(0x446)][_0x3d2bb3]);const _0x2f4cbd=this['getNoUsedDataFieldIds'](_0x31ef02),_0x358112=[],_0x40b82d=new Set(_0x5b3a92);for(const _0x2603b6 of _0x2f4cbd)_0x40b82d['has'](_0x2603b6)||_0x358112[_0x3ac005(0x42a)](_0x2603b6);return _0x358112;}}[_0x5bf728(0x40c)](_0x59a1fb,_0x80757f,_0x229016,_0x18290e,_0x170e97){const _0x52a258=_0x5bf728;return _0x80757f&&_0x80757f[_0x52a258(0x35b)](_0x18290e,_0x170e97)?_0x80757f[_0x52a258(0x35b)](_0x18290e,_0x170e97):_0x229016&&_0x229016[_0x52a258(0x35b)](_0x18290e,_0x170e97)?_0x229016[_0x52a258(0x35b)](_0x18290e,_0x170e97):_0x59a1fb[_0x52a258(0x35b)](_0x18290e,_0x170e97);}[_0x5bf728(0x39d)](_0x253681,_0x11ac0f,_0x112f03,_0x267f5f){const _0x330bf7=_0x5bf728,_0x437476=this[_0x330bf7(0x1d3)][_0x253681];if(!_0x437476)return;const {subUnitId:_0x4b4faa,range:_0x542664,unitId:_0x3a62b9}=_0x11ac0f,_0x237e74=this[_0x330bf7(0x253)][_0x330bf7(0x1db)](_0x3a62b9);if(!_0x237e74){console[_0x330bf7(0x1f7)](_0x330bf7(0x3fc));return;}const _0x3ff5fa=_0x237e74[_0x330bf7(0x292)](_0x4b4faa),_0x56b773=_0x3ff5fa['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x1c0167,unitDataMatrix:_0x4e1c8a}=_0x267f5f||{},{startRow:_0xd106ce,startColumn:_0x181e2c,endRow:_0x2ae063}=this[_0x330bf7(0x1e2)](_0x542664,_0x3ff5fa);_0x437476[_0x330bf7(0x30b)]();const _0x20abfa=_0x237e74[_0x330bf7(0x1fb)](),_0x20f30f={},_0x17f9f3=this[_0x330bf7(0x40c)](_0x56b773,_0x1c0167,_0x4e1c8a,_0xd106ce,_0x181e2c+_0x112f03);let _0x426918=this[_0x330bf7(0x3af)](_0x17f9f3,_0x20abfa,_0x20f30f);_0x36ad7b(_0x426918)&&(_0x426918=_0x567147[_0x330bf7(0x369)](_0x426918['f'],Number(_0x426918['v'])));const _0x42919d=this[_0x330bf7(0x1ca)](_0x426918,_0x181e2c+_0x112f03);_0x437476[_0x330bf7(0x302)](_0x42919d);for(let _0x2fb28a=_0xd106ce+0x1;_0x2fb28a<=_0x2ae063;_0x2fb28a++){const _0xa77f1d=this[_0x330bf7(0x40c)](_0x56b773,_0x1c0167,_0x4e1c8a,_0x2fb28a,_0x181e2c+_0x112f03);_0x437476[_0x330bf7(0x2bc)](this[_0x330bf7(0x3af)](_0xa77f1d,_0x20abfa,_0x20f30f),_0x2fb28a-0x1-_0xd106ce);}}[_0x5bf728(0x1d4)](_0x5d56ce,_0x57c111,_0xe9660d){const _0x5a52b6=_0x5bf728,{subUnitId:_0x4fda5c,range:_0x27cc98,unitId:_0x77970f}=_0xe9660d,_0x17dd24=this['_univerInstanceService'][_0x5a52b6(0x1db)](_0x77970f);if(!_0x17dd24){console[_0x5a52b6(0x1f7)](_0x5a52b6(0x3fc));return;}const _0x168e3c=_0x17dd24[_0x5a52b6(0x292)](_0x4fda5c),_0x3a76d2=_0x168e3c[_0x5a52b6(0x341)](),{startRow:_0x119864,startColumn:_0x25c12b,endRow:_0x2abcb3}=this[_0x5a52b6(0x1e2)](_0x27cc98,_0x168e3c),_0x1b33b6=_0x17dd24[_0x5a52b6(0x1fb)](),_0x216be4={};for(const {dataField:_0x508162,index:_0x3a8dd8}of _0x57c111){_0x508162[_0x5a52b6(0x30b)]();const _0x250be0=this[_0x5a52b6(0x40c)](_0x3a76d2,void 0x0,void 0x0,_0x119864,_0x25c12b+_0x3a8dd8);let _0x293509=this[_0x5a52b6(0x3af)](_0x250be0,_0x1b33b6,_0x216be4);_0x36ad7b(_0x293509)&&(_0x293509=_0x567147[_0x5a52b6(0x369)](_0x293509['f'],Number(_0x293509['v'])));const _0x5a72d3=this['uniqueDataFieldName'](_0x293509,_0x25c12b+_0x3a8dd8);_0x508162[_0x5a52b6(0x302)](_0x5a72d3);}_0x5d56ce[_0x5a52b6(0x443)]();for(let _0x193cc7=_0x119864+0x1;_0x193cc7<=_0x2abcb3;_0x193cc7++)for(const {index:_0x2e8640,dataField:_0xd22f97}of _0x57c111){const _0x54663a=_0x3a76d2[_0x5a52b6(0x35b)](_0x193cc7,_0x25c12b+_0x2e8640);_0xd22f97['addRecord'](this[_0x5a52b6(0x3af)](_0x54663a,_0x1b33b6,_0x216be4),_0x193cc7-0x1-_0x119864);}_0x5d56ce[_0x5a52b6(0x315)](_0x2abcb3-_0x119864);}[_0x5bf728(0x212)](_0x578404){const _0xb4c695=_0x5bf728,{range:_0x3c74f1}=_0x578404,{startColumn:_0x1e9729,endColumn:_0x45b3e7}=_0x3c74f1,_0xd5f385=[];for(let _0xb3b386=_0x1e9729;_0xb3b386<=_0x45b3e7;_0xb3b386++)_0xd5f385[_0xb4c695(0x42a)](this[_0xb4c695(0x232)](_0x578404,_0xb3b386));return _0xd5f385;}[_0x5bf728(0x3af)](_0x13e46e,_0x500b18,_0x28dde8){const _0x183894=_0x5bf728;if(_0x13e46e){const {s:_0x1e3a9e,v:_0x39cdb3,t:_0x28e4b7,p:_0x493238}=_0x13e46e;if(_0x493238)return Di(_0x493238);const _0x149632=_0x500b18[_0x183894(0x21b)](_0x1e3a9e);if(_0x149632&&_0x28e4b7===_0x24b2d4[_0x183894(0x250)]&&_0x149632['n']){const {pattern:_0x4a74c7}=_0x149632['n'];_0x28dde8[_0x4a74c7]||(_0x28dde8[_0x4a74c7]=_0x567147[_0x183894(0x3b7)](_0x4a74c7));const _0x2e1cf5=_0x28dde8[_0x4a74c7],_0x163f07=_0x2e1cf5[_0x183894(0x1e4)];if(_0x2e1cf5['isText'])return String(_0x39cdb3);if(_0x163f07)return{'v':_0x39cdb3,'f':_0x4a74c7};}if(_0x28e4b7===_0x24b2d4[_0x183894(0x250)])return Number(_0x39cdb3);if(_0x28e4b7===_0x24b2d4[_0x183894(0x251)]||_0x28e4b7===_0x24b2d4[_0x183894(0x300)])return String(_0x39cdb3);if(_0x28e4b7===void 0x0){const _0x3c93b8=Number(_0x39cdb3);if(!Number['isNaN'](_0x3c93b8)&&String(_0x3c93b8)===_0x39cdb3)return _0x3c93b8;}return _0x39cdb3!=null?_0x39cdb3:null;}else return null;}[_0x5bf728(0x3ae)](_0x528612){const _0x385897=_0x5bf728,{sheetName:_0x94dc2d,range:_0x569534,unitId:_0x178260}=_0x528612,_0x564f68=this[_0x385897(0x253)]['getUnit'](_0x178260);if(!_0x564f68)return console[_0x385897(0x1f7)](_0x385897(0x3fc)),{'header':[],'data':[]};const _0x1315a5=_0x564f68[_0x385897(0x356)](_0x94dc2d),_0x2b1de4=_0x1315a5['getCellMatrix'](),{startRow:_0x43807b,startColumn:_0x4e869f,endRow:_0x507132,endColumn:_0x395f8b}=this['getRangeStartEndInfo'](_0x569534,_0x1315a5),_0x40942b=_0x564f68[_0x385897(0x1fb)](),_0x39f00a=[],_0x2e5935=[],_0x563ec0={};for(let _0xbb972e=_0x43807b;_0xbb972e<=_0x507132;_0xbb972e++){const _0xd4c02b=[];for(let _0x389ff5=_0x4e869f;_0x389ff5<=_0x395f8b;_0x389ff5++){const _0x46e897=_0x2b1de4[_0x385897(0x35b)](_0xbb972e,_0x389ff5);_0xbb972e===_0x43807b?_0x39f00a[_0x385897(0x42a)](_0x46e897==null?null:String(_0x46e897['v'])):_0xd4c02b[_0x385897(0x42a)](this[_0x385897(0x3af)](_0x46e897,_0x40942b,_0x563ec0));}_0x2e5935['push'](_0xd4c02b);}return{'header':_0x39f00a,'data':_0x2e5935};}[_0x5bf728(0x361)](){const _0xaf26f9=_0x5bf728;return super[_0xaf26f9(0x361)]();}['fromJSON'](_0x1a699c){const _0x4ef54c=_0x5bf728;super[_0x4ef54c(0x2b9)](_0x1a699c),this[_0x4ef54c(0x1fe)]();}[_0x5bf728(0x3bc)](){const _0x1905a7=_0x5bf728;super[_0x1905a7(0x3bc)](),this[_0x1905a7(0x446)]={},this[_0x1905a7(0x238)]=null;}}const Ni=_0x44ce42=>{const _0x3b0119=_0x5bf728,{targetCellInfo:_0x51f3c4}=_0x44ce42,{matrixCache:_0x2b9dbe,rangesCache:_0x5bebbb}=Yo({'filter':_0x3b0119(0x2d8),'row':'Row','column':_0x3b0119(0x3f6),'values':_0x3b0119(0x287)},_0x51f3c4),_0x13cd19=new _0x43fcd2();return _0x2b9dbe[_0x3b0119(0x2f0)]((_0x5a3336,_0x2e9ea3,_0x1f3058)=>{const _0x2f7174=_0x3b0119;_0x13cd19[_0x2f7174(0x26b)](_0x5a3336,_0x2e9ea3,_0x1f3058);}),{'matrix':_0x13cd19,'rangesCache':_0x5bebbb};},ot=_0x37ff94=>{const _0x4c36c7=_0x5bf728;let _0x3599fa;if(_0x37ff94!=null&&_0x37ff94['v']||(_0x37ff94==null?void 0x0:_0x37ff94['v'])===0x0){_0x3599fa||(_0x3599fa={});const _0x41df61=Go(_0x37ff94['v']);typeof _0x41df61==_0x4c36c7(0x29f)?_0x3599fa['t']=_0x24b2d4[_0x4c36c7(0x250)]:typeof _0x41df61==_0x4c36c7(0x23a)&&(_0x3599fa['t']=_0x24b2d4[_0x4c36c7(0x251)]),_0x3599fa['v']=_0x41df61;}return _0x3599fa;},Vi=(_0x27bedf,_0x5ca4ef,_0x43cf0a)=>{const _0x3ed64a=_0x5bf728;var _0x947db1,_0x2a757f,_0x41bc7e,_0x14c608,_0x57c0f1,_0x3f916e,_0xc21f8c,_0x358dda,_0x53715b,_0x6ba6bb,_0x30e462,_0xafd6cd;const {cornerView:_0x1c3199,rowView:_0x3f7a39,colView:_0x33b702,dataView:_0x11dd5d,pageView:_0x30dd96,formatMap:_0x7472bc}=_0x27bedf,{row:_0x5b359f,col:_0x39a4bc}=_0x5ca4ef,_0x52027a=new _0x43fcd2();let _0x6d8f46=_0x5b359f,_0x112363=_0x39a4bc;Object['keys'](_0x30dd96[_0x3ed64a(0x265)])['forEach'](_0x2a752a=>{const _0x133cfa=_0x3ed64a;Object[_0x133cfa(0x3ab)](_0x30dd96[_0x133cfa(0x265)][Number(_0x2a752a)])[_0x133cfa(0x28f)](_0x79c9f=>{const _0x27ba93=_0x133cfa,_0x10836a={..._0x30dd96[_0x27ba93(0x265)][Number(_0x2a752a)][Number(_0x79c9f)]};_0x52027a[_0x27ba93(0x26b)](Number(_0x2a752a)+_0x6d8f46,Number(_0x79c9f)+_0x112363,ot(_0x10836a));});});const _0x28bdd7=Object[_0x3ed64a(0x3ab)](_0x30dd96['data'])['length'];_0x6d8f46+=_0x28bdd7+(_0x28bdd7?mt:0x0);const _0x2f7f06=_0x1c3199[_0x3ed64a(0x3de)](),_0x4d6311=_0x1c3199[_0x3ed64a(0x2d1)]();for(let _0x10954d=0x0;_0x10954d<_0x2f7f06;_0x10954d++)for(let _0x1b66a4=0x0;_0x1b66a4<_0x4d6311;_0x1b66a4++){const _0x20c42f={...(_0x2a757f=(_0x947db1=_0x1c3199[_0x3ed64a(0x265)])==null?void 0x0:_0x947db1[_0x10954d])==null?void 0x0:_0x2a757f[_0x1b66a4]};_0x20c42f&&((_0x41bc7e=_0x3f7a39['headerMap'][_0x1b66a4])!=null&&_0x41bc7e['isValue'])&&_0x1b66a4===_0x4d6311-0x1&&_0x10954d===_0x2f7f06-0x1&&(_0x20c42f['v']=''+_0x43cf0a[_0x3ed64a(0x33a)]),_0x52027a['setValue'](_0x10954d+_0x6d8f46,_0x1b66a4+_0x112363,ot(_0x20c42f));}_0x112363+=_0x4d6311;const _0xc4de6c=_0x33b702['headerMap'],_0x276f7a=_0x33b702['getLastRow']()>=0x0?_0x33b702['getLastRow']()+0x1:0x0,_0x4e6a43=_0x33b702[_0x3ed64a(0x352)]()>=0x0?_0x33b702[_0x3ed64a(0x352)]()+0x1:0x0;for(let _0x1ad553=0x0;_0x1ad553<_0x4e6a43;_0x1ad553++)for(let _0x9ecb39=0x0;_0x9ecb39<_0x276f7a;_0x9ecb39++){const _0x43d34f={...(_0x57c0f1=(_0x14c608=_0x33b702[_0x3ed64a(0x265)])==null?void 0x0:_0x14c608[_0x1ad553])==null?void 0x0:_0x57c0f1[_0x9ecb39]},_0x501c39=(_0x3f916e=_0xc4de6c[_0x1ad553])==null?void 0x0:_0x3f916e[_0x3ed64a(0x390)],_0x43971=_0x7472bc[_0x501c39];_0x43d34f&&(_0x43d34f['v']=vt(_0x43d34f,_0x1ad553===0x0&&((_0xc21f8c=_0x33b702[_0x3ed64a(0x262)](_0x9ecb39+0x1))==null?void 0x0:_0xc21f8c[_0x3ed64a(0x30a)]),_0x43971,_0x43cf0a)),_0x52027a[_0x3ed64a(0x26b)](_0x1ad553+_0x6d8f46,_0x9ecb39+_0x112363,ot(_0x43d34f));}_0x6d8f46+=_0x2f7f06;const _0x53ddc3=_0x3f7a39[_0x3ed64a(0x22d)],_0x5642e7=_0x3f7a39[_0x3ed64a(0x273)]()>=0x0?_0x3f7a39['getLastRow']()+0x1:0x0,_0x3737c5=_0x3f7a39[_0x3ed64a(0x352)]()>=0x0?_0x3f7a39[_0x3ed64a(0x352)]()+0x1:0x0;for(let _0x2bd984=0x0;_0x2bd984<_0x5642e7;_0x2bd984++)for(let _0x513d11=0x0;_0x513d11<_0x3737c5;_0x513d11++){const _0x2c52a4={...(_0x53715b=(_0x358dda=_0x3f7a39[_0x3ed64a(0x265)])==null?void 0x0:_0x358dda[_0x2bd984])==null?void 0x0:_0x53715b[_0x513d11]},_0x586847=(_0x6ba6bb=_0x53ddc3[_0x513d11])==null?void 0x0:_0x6ba6bb[_0x3ed64a(0x390)],_0x101587=_0x7472bc[_0x586847];_0x2c52a4&&(_0x2c52a4['v']=vt(_0x2c52a4,!0x1,_0x101587,_0x43cf0a)),_0x52027a[_0x3ed64a(0x26b)](_0x2bd984+_0x6d8f46,_0x513d11+_0x39a4bc,ot(_0x2c52a4));}const _0x5b6f5a=_0x11dd5d['getRowCount'](),_0x48694e=_0x11dd5d['getColCount']();for(let _0x4e4784=0x0;_0x4e4784<_0x5b6f5a;_0x4e4784++)for(let _0x484ce5=0x0;_0x484ce5<_0x48694e;_0x484ce5++){const _0x3f39b5={...(_0xafd6cd=(_0x30e462=_0x11dd5d[_0x3ed64a(0x265)])==null?void 0x0:_0x30e462[_0x4e4784])==null?void 0x0:_0xafd6cd[_0x484ce5]};_0x52027a[_0x3ed64a(0x26b)](_0x4e4784+_0x6d8f46,_0x484ce5+_0x112363,ot(_0x3f39b5));}return _0x52027a;},Ui=_0x24087e=>{const _0x302183=_0x5bf728,{view:_0x2650c6,targetCellInfo:_0x1ee821,isEmpty:_0x5b143e,textInfo:_0xde42b1}=_0x24087e;if(_0x5b143e)return Ni(_0x24087e);const {pageView:_0x334812,cornerView:_0x55775b,rowView:_0x20ac59,colView:_0x45960d,dataView:_0x3c0b00}=_0x2650c6,_0x23a4ce=ge(_0x1ee821,_0x334812,!0x0),_0x118738=_0x334812[_0x302183(0x1f9)]>=0x0?_0x334812[_0x302183(0x1f9)]+0x1:0x0,_0x2bd94d=_0x55775b['getRowCount'](),_0x5b9971=_0x55775b['getColCount'](),_0x47f45c=_0x23a4ce[_0x302183(0x395)]>0x0?mt:0x0,_0x38d724=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c,'col':_0x1ee821[_0x302183(0x37a)]},_0x55775b,!0x1,!0x1),_0xde35e4=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c+_0x2bd94d,'col':_0x1ee821[_0x302183(0x37a)]},_0x20ac59,!0x1,!0x0),_0x4692f3=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c,'col':_0x1ee821[_0x302183(0x37a)]+_0x5b9971},_0x45960d,!0x1,!0x0),_0x5d2db5=ge({'row':_0x1ee821[_0x302183(0x2f2)]+_0x118738+_0x47f45c+_0x2bd94d,'col':_0x1ee821['col']+_0x5b9971},_0x3c0b00,!0x1,!0x1),_0x328ee4={'rowRanges':_0xde35e4,'colRanges':_0x4692f3,'cornerRanges':_0x38d724,'dataRanges':_0x5d2db5,'pageRanges':_0x23a4ce};return{'matrix':Vi(_0x2650c6,_0x1ee821,_0xde42b1),'rangesCache':_0x328ee4};};var Ai=Object[_0x5bf728(0x3a1)],Ei=(_0x14e5d7,_0x4b75a0,_0x127254,_0x37d45b)=>{for(var _0x26cea0=_0x37d45b>0x1?void 0x0:_0x37d45b?Ai(_0x4b75a0,_0x127254):_0x4b75a0,_0x177292=_0x14e5d7['length']-0x1,_0x553b0c;_0x177292>=0x0;_0x177292--)(_0x553b0c=_0x14e5d7[_0x177292])&&(_0x26cea0=_0x553b0c(_0x26cea0)||_0x26cea0);return _0x26cea0;},nt=(_0x1a8362,_0x3faea3)=>(_0xac36ef,_0xcd6a4d)=>_0x3faea3(_0xac36ef,_0xcd6a4d,_0x1a8362);let G=class extends _0x25f1fb{constructor(_0x54d0f1,_0x193a18,_0x460e13,_0x4b4403,_0x4f820e){const _0x5b6a68=_0x5bf728;super(),V(this,_0x5b6a68(0x3a9),new Map()),V(this,_0x5b6a68(0x30e),new Map()),V(this,_0x5b6a68(0x3f1),new Map()),V(this,_0x5b6a68(0x26c)),V(this,_0x5b6a68(0x207),new _0x688d9a()),V(this,_0x5b6a68(0x435),this[_0x5b6a68(0x207)][_0x5b6a68(0x244)]()),V(this,'_viewData$',new _0x688d9a()),V(this,_0x5b6a68(0x425),this[_0x5b6a68(0x2ad)]['asObservable']()),V(this,_0x5b6a68(0x30c),new _0x688d9a()),V(this,_0x5b6a68(0x294),this[_0x5b6a68(0x30c)][_0x5b6a68(0x244)]()),V(this,_0x5b6a68(0x398),new Map()),V(this,'needSameDeleteModel',[]),V(this,'_queryingMap',new Map()),(this['_injector']=_0x54d0f1,this[_0x5b6a68(0x253)]=_0x193a18,this['_lifecycleService']=_0x460e13,this[_0x5b6a68(0x234)]=_0x4b4403,this['_resourceManagerService']=_0x4f820e,this[_0x5b6a68(0x2ff)]());}[_0x5bf728(0x3dc)](){const _0x2ec13a=_0x5bf728;return this[_0x2ec13a(0x26c)]?this[_0x2ec13a(0x26c)]:Mi;}[_0x5bf728(0x2b6)](_0x1d0d89){const _0x518765=_0x5bf728;this[_0x518765(0x26c)]=_0x1d0d89;}[_0x5bf728(0x221)](_0x772d8b){const _0x2f8f65=_0x5bf728;var _0xd5144;const {from:_0x1630b9,to:_0x4afdcc,unitId:_0x279422,fromRange:_0x9f7c04,toRange:_0x2751b4}=_0x772d8b;if(_0x1630b9&&_0x4afdcc){const _0x5be0e6=this[_0x2f8f65(0x23e)](_0x279422),_0x698091=this[_0x2f8f65(0x3a9)]['get'](_0x279422),_0x35fa21=(_0xd5144=this[_0x2f8f65(0x253)][_0x2f8f65(0x1db)](_0x279422))==null?void 0x0:_0xd5144[_0x2f8f65(0x292)](_0x4afdcc[_0x2f8f65(0x2a0)]);if(!_0x698091||!_0x35fa21)return;const _0x178c33=_0x35fa21==null?void 0x0:_0x35fa21['getName']();for(const [_0x443e80,_0x54f263]of _0x698091[_0x2f8f65(0x2d6)]())for(const [_0x2483db,_0x36f4e3]of _0x54f263[_0x2f8f65(0x2d6)]()){const {sourceRangeInfo:_0x547106}=_0x36f4e3;if(_0x547106[_0x2f8f65(0x42b)]===_0x279422&&_0x547106[_0x2f8f65(0x2a0)]===_0x1630b9[_0x2f8f65(0x2a0)]&&_0x3d3208[_0x2f8f65(0x420)](_0x9f7c04,_0x547106[_0x2f8f65(0x284)])){const _0x5d529f={'row':_0x547106['range']['startRow']-_0x9f7c04['startRow'],'col':_0x547106['range'][_0x2f8f65(0x3d2)]-_0x9f7c04[_0x2f8f65(0x3d2)]},_0x1d0183={'unitId':_0x279422,'subUnitId':_0x4afdcc[_0x2f8f65(0x2a0)],'sheetName':_0x178c33,'range':{'startRow':_0x2751b4[_0x2f8f65(0x373)]+_0x5d529f[_0x2f8f65(0x2f2)],'endRow':_0x2751b4['startRow']+_0x5d529f[_0x2f8f65(0x2f2)]+_0x547106[_0x2f8f65(0x284)]['endRow']-_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x373)],'startColumn':_0x2751b4['startColumn']+_0x5d529f['col'],'endColumn':_0x2751b4['startColumn']+_0x5d529f[_0x2f8f65(0x37a)]+_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x3cd)]-_0x547106[_0x2f8f65(0x284)][_0x2f8f65(0x3d2)]}};_0x5be0e6[_0x2f8f65(0x221)](_0x2483db,_0x1d0183);const _0x2e6c8a={..._0x36f4e3,'sourceRangeInfo':_0x1d0183};this[_0x2f8f65(0x31c)](_0x279422,_0x4afdcc[_0x2f8f65(0x2a0)],_0x2483db,_0x2e6c8a),this[_0x2f8f65(0x2e2)]({'unitId':_0x279422,'token':_0x2483db,'type':Be['update'],'oldSourceRangeInfo':_0x547106,'dataRangeInfo':_0x1d0183,'targetCellInfo':_0x36f4e3[_0x2f8f65(0x1d2)]}),this[_0x2f8f65(0x3e1)]({'unitId':_0x279422,'subUnitId':_0x4afdcc[_0x2f8f65(0x2a0)],'oldSubUnitId':_0x443e80,'pivotTableId':_0x2483db,'pivotTableConfig':_0x2e6c8a,'collectionConfig':_0x5be0e6[_0x2f8f65(0x361)]()});}}}}[_0x5bf728(0x2e2)](_0x56da9f){this['_collectionChange$']['next'](_0x56da9f);}['getDataFieldManager'](_0x26ee93){const _0x1fbfa6=_0x5bf728;let _0x384ca3=this['_dataFieldManagerCollection'][_0x1fbfa6(0x21b)](_0x26ee93);return _0x384ca3||(_0x384ca3=new Ri(this,this['_univerInstanceService']),this[_0x1fbfa6(0x398)][_0x1fbfa6(0x2e3)](_0x26ee93,_0x384ca3)),_0x384ca3;}[_0x5bf728(0x28d)](_0x34b138,_0x4db7a5){const _0x46fd90=_0x5bf728;return this[_0x46fd90(0x23e)](_0x34b138)[_0x46fd90(0x278)][_0x4db7a5];}[_0x5bf728(0x27b)](_0x507ed4,_0x1a71a6,_0x27262c){const _0x5ae255=_0x5bf728;return this[_0x5ae255(0x23e)](_0x507ed4)[_0x5ae255(0x27b)](_0x1a71a6,_0x27262c);}['_ensurePivotMap'](_0x5291c8,_0x1d7b2d){const _0x337e56=_0x5bf728;let _0x2be222=this[_0x337e56(0x3a9)]['get'](_0x5291c8);_0x2be222||(_0x2be222=new Map(),this['_model']['set'](_0x5291c8,_0x2be222));let _0x2216bf=_0x2be222[_0x337e56(0x21b)](_0x1d7b2d);return _0x2216bf||(_0x2216bf=new Map(),_0x2be222['set'](_0x1d7b2d,_0x2216bf)),_0x2216bf;}[_0x5bf728(0x31c)](_0x3dbe72,_0x1230ad,_0x27bfd5,_0x54f2d7){const _0x1147eb=_0x5bf728;this[_0x1147eb(0x410)](_0x3dbe72,_0x1230ad)['set'](_0x27bfd5,_0x54f2d7);}['_deleteModelCache'](_0x3ed9f6,_0xc69c2,_0x423118){const _0x52bab5=_0x5bf728;var _0x17f6d9,_0x50c3f5,_0x27b004,_0x23fc85;((_0x50c3f5=(_0x17f6d9=this[_0x52bab5(0x3a9)][_0x52bab5(0x21b)](_0x3ed9f6))==null?void 0x0:_0x17f6d9[_0x52bab5(0x21b)](_0xc69c2))==null?void 0x0:_0x50c3f5[_0x52bab5(0x21b)](_0x423118))&&((_0x23fc85=(_0x27b004=this[_0x52bab5(0x3a9)][_0x52bab5(0x21b)](_0x3ed9f6))==null?void 0x0:_0x27b004['get'](_0xc69c2))==null||_0x23fc85[_0x52bab5(0x25a)](_0x423118));}[_0x5bf728(0x35a)](_0x275d2a,_0x16e4d3){const _0x16e21a=_0x5bf728;this[_0x16e21a(0x30e)][_0x16e21a(0x2e3)](_0x275d2a,_0x16e4d3);}[_0x5bf728(0x44f)](_0x92fd9f){const _0x48dabf=_0x5bf728;this[_0x48dabf(0x30e)][_0x48dabf(0x25a)](_0x92fd9f);}[_0x5bf728(0x38c)](_0x16860a,_0xcad73c){const _0x1cc528=_0x5bf728;let _0x4a829b=this[_0x1cc528(0x3f1)]['get'](_0x16860a);_0x4a829b||(_0x4a829b=new Map(),this[_0x1cc528(0x3f1)][_0x1cc528(0x2e3)](_0x16860a,_0x4a829b));let _0x2e08d4=_0x4a829b[_0x1cc528(0x21b)](_0xcad73c);return _0x2e08d4||(_0x2e08d4=new Map(),_0x4a829b[_0x1cc528(0x2e3)](_0xcad73c,_0x2e08d4)),_0x2e08d4;}[_0x5bf728(0x3e1)](_0x7d47d1){const _0x1e5e0d=_0x5bf728,{unitId:_0x19263a,subUnitId:_0x59b8df,pivotTableId:_0x348427,pivotTableConfig:_0xd4262b,collectionConfig:_0x55b6ad}=_0x7d47d1,_0xfeaaed={'unitId':_0x19263a,'subUnitId':_0x59b8df,'oldSubUnitId':_0x59b8df,'pivotTableId':_0x348427,'pivotTableConfig':_0xd4262b,'collectionConfig':_0x55b6ad};this['_commandService'][_0x1e5e0d(0x314)](co['id'],_0xfeaaed,{'onlyLocal':!0x0});}[_0x5bf728(0x30d)](_0x56c5fb,_0x381369,_0x47ff7a,_0x5df775,_0x49b70e,_0x1f0689,_0x3c5144,_0x1a701d=!0x1){const _0x518ebe=_0x5bf728;var _0x26fac5;this[_0x518ebe(0x234)][_0x518ebe(0x314)](Rt['id'],{'single':{'unitId':_0x56c5fb,'subUnitId':_0x381369,'type':_0x47ff7a,'pivotTableId':_0x5df775,'view':_0x49b70e,'pivotConfig':_0x1f0689},'collectionConfig':{[_0x56c5fb]:_0x3c5144}},{'onlyLocal':!0x0});const _0x4e8e96=!!((_0x26fac5=this[_0x518ebe(0x24c)](_0x5df775))!=null&&_0x26fac5[_0x518ebe(0x37d)]()),_0x417190=this[_0x518ebe(0x448)](_0x56c5fb,_0x381369,_0x5df775);_0x417190&&this[_0x518ebe(0x312)]({'view':_0x49b70e,'pivotTableId':_0x5df775,'textInfo':this[_0x518ebe(0x3dc)](),'isEmpty':_0x4e8e96,'targetCellInfo':_0x417190[_0x518ebe(0x1d2)]},_0x1a701d);}[_0x5bf728(0x312)](_0x259a83,_0xa50113){const _0x213c6b=_0x5bf728,{targetCellInfo:_0x1dd4e7,pivotTableId:_0x8df65b}=_0x259a83,{unitId:_0x20bf48,subUnitId:_0x13d848}=_0x1dd4e7,_0x83c392=this[_0x213c6b(0x38c)](_0x20bf48,_0x13d848),_0x2f31a4=_0x83c392['get'](_0x8df65b);let _0x53417f,_0x33b117;_0x2f31a4&&(_0x53417f=_0x2f31a4[_0x213c6b(0x36a)],_0x33b117=_0x2f31a4[_0x213c6b(0x1d7)]);const {rangesCache:_0x4a871e,matrix:_0x20d43b}=Ui(_0x259a83);_0x83c392[_0x213c6b(0x2e3)](_0x8df65b,{'rangeCache':_0x4a871e,'matrix':_0x20d43b,'oldMatrix':_0x33b117,'oldRangeCache':_0x53417f}),_0xa50113||this['_viewData$']['next']({'unitId':_0x20bf48,'subUnitId':_0x13d848,'pivotTableId':_0x8df65b});}[_0x5bf728(0x35c)](_0x15052b,_0x57869c,_0x85bf8,_0x1de344,_0x3289f1){const _0x4f2d7e=_0x5bf728;this[_0x4f2d7e(0x31c)](_0x15052b,_0x57869c,_0x85bf8,_0x3289f1),this['_updatePivotTableInstanceCache'](_0x85bf8,_0x1de344);}[_0x5bf728(0x2ce)](_0x568a2f,_0x26ccd9,_0xbea1f5){const _0x5635ae=_0x5bf728,_0x223158=this[_0x5635ae(0x23e)](_0x568a2f);_0x223158[_0x5635ae(0x41c)](_0xbea1f5)[_0x5635ae(0x28f)](_0xfa42c8=>{_0x223158['deleteDataField'](_0xfa42c8);}),this[_0x5635ae(0x2ea)](_0x568a2f,_0xbea1f5),this[_0x5635ae(0x2e6)](_0x568a2f,_0x26ccd9,_0xbea1f5),this[_0x5635ae(0x44f)](_0xbea1f5);}[_0x5bf728(0x432)](_0x321a91,_0x5124d7,_0x4f6be7,_0x3297d8){const _0x2953c9=_0x5bf728;this[_0x2953c9(0x31c)](_0x321a91,_0x5124d7,_0x4f6be7,_0x3297d8);}[_0x5bf728(0x448)](_0x5452f0,_0x544660,_0x421503){const _0x1736e0=_0x5bf728;var _0x362684,_0x44a16c;const _0x31ba5c=(_0x44a16c=(_0x362684=this['_model'][_0x1736e0(0x21b)](_0x5452f0))==null?void 0x0:_0x362684[_0x1736e0(0x21b)](_0x544660))==null?void 0x0:_0x44a16c[_0x1736e0(0x21b)](_0x421503);if(_0x31ba5c)return _0x31ba5c;}[_0x5bf728(0x379)](_0x21e5d1,_0x5ccedc,_0x5a0a99){const _0xbf3539=_0x5bf728;var _0x2f4c57,_0x4d01ee;const _0x2a35b5=(_0x4d01ee=(_0x2f4c57=this['_model'][_0xbf3539(0x21b)](_0x21e5d1))==null?void 0x0:_0x2f4c57[_0xbf3539(0x21b)](_0x5ccedc))==null?void 0x0:_0x4d01ee[_0xbf3539(0x21b)](_0x5a0a99);if(_0x2a35b5)return _0x2a35b5['fieldsConfig'];}['getPivotTableInstance'](_0x9a9ce9){const _0x2b7a96=_0x5bf728;return this['_pivotTableInstanceCache'][_0x2b7a96(0x21b)](_0x9a9ce9);}[_0x5bf728(0x3b5)](_0x4fa0bb){const _0x2b09cb=_0x5bf728;this[_0x2b09cb(0x3a9)]['delete'](_0x4fa0bb);const _0x5abbe0=this[_0x2b09cb(0x398)][_0x2b09cb(0x21b)](_0x4fa0bb);_0x5abbe0&&(_0x5abbe0['dispose'](),this['_dataFieldManagerCollection'][_0x2b09cb(0x25a)](_0x4fa0bb)),this['_viewData']['delete'](_0x4fa0bb),this[_0x2b09cb(0x2b2)][_0x2b09cb(0x28f)](_0x556844=>{_0x556844['deleteUnitId'](_0x4fa0bb);});}[_0x5bf728(0x235)](_0x3762fe,_0x5c2d0e,_0x14a12f,_0x481c20){const _0x226bde=_0x5bf728;return this['getDataFieldManager'](_0x14a12f[_0x226bde(0x42b)])['addCollectionByJSON'](_0x3762fe,_0x5c2d0e,_0x14a12f,_0x481c20);}[_0x5bf728(0x281)](_0x5eb6ae){const _0xaa8637=_0x5bf728;return this['getDataFieldManager'](_0x5eb6ae[_0xaa8637(0x42b)])[_0xaa8637(0x281)](_0x5eb6ae);}[_0x5bf728(0x1d4)](_0x572b90,_0x3d33f7,_0x549bee){const _0x506f2f=_0x5bf728;this[_0x506f2f(0x23e)](_0x549bee[_0x506f2f(0x42b)])['refreshData'](_0x572b90,_0x3d33f7,_0x549bee);}['removeDataField'](_0x5b7e30,_0x79febb){const _0x41164e=_0x5bf728;this[_0x41164e(0x23e)](_0x5b7e30)[_0x41164e(0x406)](_0x79febb);}[_0x5bf728(0x2ea)](_0xebadef,_0xc7099){const _0x558250=_0x5bf728;this[_0x558250(0x23e)](_0xebadef)[_0x558250(0x40e)](_0xc7099);}['getSubUnitPivotConfigs'](_0x9f83fa,_0x5a3ed7){const _0x56851a=_0x5bf728;var _0x15cca7;return(_0x15cca7=this[_0x56851a(0x3a9)][_0x56851a(0x21b)](_0x9f83fa))==null?void 0x0:_0x15cca7[_0x56851a(0x21b)](_0x5a3ed7);}[_0x5bf728(0x31b)](_0x40291c){const _0x590994=_0x5bf728;for(const [_0x941f5f,_0x5dbbe5]of this[_0x590994(0x3a9)][_0x590994(0x2d6)]())for(const [_0x59ef06,_0x2fe9b4]of _0x5dbbe5['entries']())if(_0x2fe9b4[_0x590994(0x1ff)](_0x40291c))return{'unitId':_0x941f5f,'subUnitId':_0x59ef06};return null;}[_0x5bf728(0x444)](_0x4b8942,_0x3f9787,_0x217649,_0x208fb6){const _0x2d2446=_0x5bf728,_0x5119a7=this[_0x2d2446(0x38c)](_0x4b8942,_0x3f9787);_0x208fb6?_0x5119a7['set'](_0x217649,_0x208fb6):_0x5119a7[_0x2d2446(0x25a)](_0x217649),this[_0x2d2446(0x2ad)][_0x2d2446(0x216)]({'unitId':_0x4b8942,'subUnitId':_0x3f9787,'pivotTableId':_0x217649});}[_0x5bf728(0x3bc)](){const _0x1104a1=_0x5bf728;super[_0x1104a1(0x3bc)]();}[_0x5bf728(0x436)](_0x17e8f2,_0x1e610a,_0x1a990a){const _0x319519=_0x5bf728;var _0x16736c,_0x318a01;const _0x3d6d63=(_0x318a01=(_0x16736c=this['_viewData'][_0x319519(0x21b)](_0x17e8f2))==null?void 0x0:_0x16736c[_0x319519(0x21b)](_0x1e610a))==null?void 0x0:_0x318a01['get'](_0x1a990a);return _0x3d6d63||null;}[_0x5bf728(0x393)](_0x163b62){const _0x22d16d=_0x5bf728;this[_0x22d16d(0x2f7)](_0x163b62);}[_0x5bf728(0x2f7)](_0x13a51f){const _0x1c49e3=_0x5bf728,{token:_0x5b8e35,unitId:_0x242350,subUnitId:_0x440b85}=_0x13a51f,_0x567559=_0x242350+'-'+_0x440b85+'-'+_0x5b8e35;this[_0x1c49e3(0x428)][_0x1c49e3(0x21b)](_0x567559)&&clearTimeout(this['_queryingMap'][_0x1c49e3(0x21b)](_0x567559));const _0xf8408c=setTimeout(()=>{const _0x120999=_0x1c49e3;this[_0x120999(0x3d7)](_0x13a51f),this[_0x120999(0x428)][_0x120999(0x25a)](_0x567559);},Pi);this[_0x1c49e3(0x428)][_0x1c49e3(0x2e3)](_0x567559,_0xf8408c);}['queryDirtyPivotTable'](_0x222160){const _0x2541a3=_0x5bf728,{unitId:_0x2517d2,subUnitId:_0x28470f,token:_0x3a89de,type:_0x4552b2,pivotConfig:_0x1a2942}=_0x222160,_0x4be64b=this[_0x2541a3(0x24c)](_0x3a89de),_0xbfc7ec=_0x4be64b==null?void 0x0:_0x4be64b[_0x2541a3(0x3b1)](),_0x5ea36f=_0x1a2942!=null?_0x1a2942:this[_0x2541a3(0x448)](_0x2517d2,_0x28470f,_0x3a89de);_0x5ea36f&&(_0x5ea36f['isEmpty']=!!(_0x4be64b!=null&&_0x4be64b[_0x2541a3(0x37d)]())),(_0xbfc7ec||_0x4552b2===$[_0x2541a3(0x346)])&&this[_0x2541a3(0x30d)](_0x2517d2,_0x28470f,_0x4552b2,_0x3a89de,_0xbfc7ec,_0x5ea36f,this['getDataFieldManager'](_0x2517d2)['toJSON']());}[_0x5bf728(0x361)](_0x3a6abc){const _0x53f54b=_0x5bf728,_0x55372e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x53f54b(0x23e)](_0x3a6abc)&&(_0x55372e['dataFieldManagerConfig'][_0x3a6abc]=this[_0x53f54b(0x23e)](_0x3a6abc)[_0x53f54b(0x361)]()),this['_model'][_0x53f54b(0x21b)](_0x3a6abc)){_0x55372e[_0x53f54b(0x368)][_0x3a6abc]={};const _0x1f74e1=this[_0x53f54b(0x3a9)]['get'](_0x3a6abc);_0x1f74e1!=null&&_0x1f74e1[_0x53f54b(0x222)]&&[..._0x1f74e1[_0x53f54b(0x3ab)]()][_0x53f54b(0x28f)](_0x4f419f=>{const _0x34263b=_0x53f54b,_0x4a7bc5=_0x1f74e1[_0x34263b(0x21b)](_0x4f419f);_0x4a7bc5!=null&&_0x4a7bc5[_0x34263b(0x222)]&&(_0x55372e[_0x34263b(0x368)][_0x3a6abc][_0x4f419f]={},[..._0x4a7bc5[_0x34263b(0x3ab)]()][_0x34263b(0x28f)](_0x3fa964=>{const _0x5e78e4=_0x34263b,_0x50946e=_0x4a7bc5[_0x5e78e4(0x21b)](_0x3fa964);_0x50946e&&(_0x55372e[_0x5e78e4(0x368)][_0x3a6abc][_0x4f419f][_0x3fa964]=_0x50946e);}));});}return _0x55372e;}[_0x5bf728(0x2b9)](_0x850286){const _0x174a43=_0x5bf728;var _0x4bcc16;const {dataFieldManagerConfig:_0x20c490,pivotTableConfigs:_0x540a73}=_0x850286;_0x20c490&&Object[_0x174a43(0x3ab)](_0x20c490)[_0x174a43(0x28f)](_0x62b5fb=>{const _0x32a345=_0x174a43;this[_0x32a345(0x23e)](_0x62b5fb)[_0x32a345(0x2b9)](_0x20c490[_0x62b5fb]);});const _0x49cbc2=[];if(_0x540a73){const _0x5be5df=(_0x4bcc16=this[_0x174a43(0x24a)]['get'](_0x224426)[_0x174a43(0x3fb)](_0x1e58ed))!=null?_0x4bcc16:{},{ls:_0x492717,pbk:_0x3e3ef1}=_0x5be5df,_0x348854=go(so,_0x492717,_0x3e3ef1)[_0x174a43(0x3e9)];Object[_0x174a43(0x3ab)](_0x540a73)['forEach'](_0x58f073=>{const _0xcdb7a7=_0x174a43;let _0x24a582=0x0;const _0x36bff1=_0x540a73[_0x58f073];Object[_0xcdb7a7(0x3ab)](_0x36bff1)[_0xcdb7a7(0x28f)](_0x2483d8=>{const _0x1f459f=_0xcdb7a7,_0x5e5bb3=_0x36bff1[_0x2483d8];Object[_0x1f459f(0x3ab)](_0x5e5bb3)[_0x1f459f(0x28f)](_0x1adcd0=>{const _0x1fbb24=_0x1f459f,_0x1dec1c=_0x5e5bb3[_0x1adcd0];if(_0x1dec1c){if(_0x24a582>=_0x348854)return;_0x24a582++;const _0x2ee625=this[_0x1fbb24(0x23e)](_0x58f073),_0x338395=_0x2ee625['collections'][_0x1adcd0],_0x1df27d=_0x338395[_0x1fbb24(0x363)]();let _0x3e7f98=0x0;const _0x53a76e=[];for(const _0x3d8ed8 of _0x1df27d){const _0x17eee0=_0x338395[_0x1fbb24(0x437)](_0x3d8ed8);if(_0x3bed76(_0x17eee0)){const _0x16a3f5=_0x17eee0[_0x1fbb24(0x213)](),_0x252f96=_0x338395['getFieldById'](_0x16a3f5);_0x252f96&&_0x53a76e[_0x1fbb24(0x42a)]([_0x17eee0,_0x252f96]);continue;}_0x2ee625['refreshDataField'](_0x3d8ed8,_0x1dec1c[_0x1fbb24(0x3f8)],_0x3e7f98),_0x3e7f98++;}_0x53a76e[_0x1fbb24(0x28f)](([_0x1e21fa,_0x4e061e])=>{const _0x60b874=_0x1fbb24;_0x1e21fa[_0x60b874(0x237)](_0x4e061e);});const _0x4ddb2f=new _0x15d468(_0x338395);_0x4ddb2f[_0x1fbb24(0x2b9)](_0x1dec1c[_0x1fbb24(0x427)]),this[_0x1fbb24(0x35c)](_0x58f073,_0x2483d8,_0x1adcd0,_0x4ddb2f,_0x1dec1c);const _0x302097=_0x4ddb2f['query']();_0x49cbc2[_0x1fbb24(0x42a)]({'unitId':_0x58f073,'subUnitId':_0x2483d8,'pivotTableId':_0x1adcd0,'view':_0x302097['toJSON'](),'pivotConfig':_0x1dec1c,'type':$[_0x1fbb24(0x2b4)]});const _0x460654=!!_0x4ddb2f[_0x1fbb24(0x37d)](),_0xc07965={'view':_0x302097,'pivotTableId':_0x1adcd0,'textInfo':this[_0x1fbb24(0x3dc)](),'isEmpty':_0x460654,'targetCellInfo':_0x1dec1c[_0x1fbb24(0x1d2)]};this[_0x1fbb24(0x312)](_0xc07965,!0x1);}});});});}_0x20c490&&Object[_0x174a43(0x3ab)](_0x20c490)[_0x174a43(0x28f)](_0x18e541=>{const _0x2a8418=_0x174a43,_0x1cda5e=this[_0x2a8418(0x23e)](_0x18e541);this[_0x2a8418(0x30c)][_0x2a8418(0x216)](_0x1cda5e[_0x2a8418(0x278)]);}),this[_0x174a43(0x234)]['executeCommand'](Rt['id'],{'batch':_0x49cbc2,'collectionConfig':_0x20c490},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x4cd27c=_0x5bf728;this[_0x4cd27c(0x3d8)](this[_0x4cd27c(0x2a2)][_0x4cd27c(0x1cd)]({'toJson':_0xbcbe2=>JSON[_0x4cd27c(0x3c7)](this[_0x4cd27c(0x361)](_0xbcbe2)),'parseJson':_0x2016f5=>{if(!_0x2016f5)return{};try{return JSON['parse'](_0x2016f5);}catch{return{};}},'businesses':[_0x332ca7[_0x4cd27c(0x25d)]],'pluginName':ao,'onLoad':(_0x398f14,_0x4c6792)=>{const _0x2c361c=_0x4cd27c;this[_0x2c361c(0x2b9)](_0x4c6792);},'onUnLoad':_0x439719=>{const _0xc2a4d=_0x4cd27c;this[_0xc2a4d(0x3b5)](_0x439719);}}));}};G=Ei([nt(0x0,_0x360cfb(_0x121ef7)),nt(0x1,_0x2fecb8),nt(0x2,_0x360cfb(_0x2dfd91)),nt(0x3,_0x4e31c1),nt(0x4,_0x360cfb(_0x4679cb))],G);const xi={0x0:{0x0:{'v':_0x5bf728(0x3c6),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x5bf728(0x3cb),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x5bf728(0x2f2),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Yo=(_0x37c595,_0x25687d)=>{const _0x394648=_0x5bf728,_0x9d3b4d=new _0x43fcd2(),_0x533da3=new _0x43fcd2(xi),{row:_0x4fa1e2,col:_0x12106b}=_0x25687d;_0x533da3[_0x394648(0x2f0)]((_0x31e9a6,_0x8f235c,_0x3099b9)=>{const _0x541c2f=_0x394648;let _0x1b7133='';_0x3099b9['v']==='filter'?_0x1b7133=_0x37c595[_0x541c2f(0x3c6)]:_0x3099b9['v']==='row'?_0x1b7133=_0x37c595[_0x541c2f(0x2f2)]:_0x3099b9['v']===_0x541c2f(0x3cb)?_0x1b7133=_0x37c595['column']:_0x3099b9['v']===_0x541c2f(0x2eb)&&(_0x1b7133=_0x37c595[_0x541c2f(0x2eb)]),_0x9d3b4d['setValue'](_0x31e9a6+_0x4fa1e2,_0x8f235c+_0x12106b,{..._0x3099b9,'v':_0x1b7133});});const _0x1782e5=_0x48d9e9['deepClone'](Bt);return Object[_0x394648(0x3ab)](Bt)[_0x394648(0x28f)](_0x208194=>{const _0x3259ef=_0x394648;_0x1782e5[_0x208194]=Bt[_0x208194][_0x3259ef(0x266)](_0x32140d=>({..._0x32140d,'startRow':_0x32140d[_0x3259ef(0x373)]+_0x4fa1e2,'endRow':_0x32140d['endRow']+_0x4fa1e2,'startColumn':_0x32140d['startColumn']+_0x12106b,'endColumn':_0x32140d[_0x3259ef(0x3cd)]+_0x12106b}));}),{'matrixCache':_0x9d3b4d,'rangesCache':_0x1782e5};};function Oi(_0x3e9ddd,_0x1d4455){const _0x41d940=_0x5bf728;let _0x5b3b6a='';const _0x2f69d5=this[_0x41d940(0x3dc)]();switch(_0x1d4455){case _0x597cf6[_0x41d940(0x388)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2b1)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3e9)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.countName']+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3f5)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2cb)]+_0x3e9ddd;break;case _0x597cf6['max']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x3d5)]+_0x3e9ddd;break;case _0x597cf6['min']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x24f)]+_0x3e9ddd;break;case _0x597cf6['product']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x25b)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x355)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x1d8)]+_0x3e9ddd;break;case _0x597cf6['stdDevp']:_0x5b3b6a=_0x2f69d5[_0x41d940(0x22b)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x3e3)]:_0x5b3b6a=_0x2f69d5[_0x41d940(0x2db)]+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x38e)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.varName']+_0x3e9ddd;break;case _0x597cf6[_0x41d940(0x2c9)]:_0x5b3b6a=_0x2f69d5['sheets-pivot.varpName']+_0x3e9ddd;break;default:_0x5b3b6a=_0x3e9ddd;break;}return _0x5b3b6a;}function ki(_0x594564,_0x2032f3,_0x3db150,_0x31e07c,_0x6907d8){const _0x2e2664=_0x5bf728;var _0x4694e7,_0x228728,_0x24eb20,_0x122fc8,_0x5a7274;const _0x148c74=_0x5508a5(_0x594564,_0x2032f3),{rangesInfo:_0x484719,areaInfo:_0x493b5e,headerMap:_0x73f3f2}=_0x6907d8;if(!_0x484719||!_0x493b5e||!_0x73f3f2)return;const _0x5bd394=Object[_0x2e2664(0x3ab)](_0x484719)[_0x2e2664(0x2aa)](_0xa6f0fc=>_0x484719[_0xa6f0fc][_0x2e2664(0x27c)](_0x3e0ae2=>_0x3d3208[_0x2e2664(0x420)](_0x3e0ae2,_0x148c74))),_0x3db039=_0x493b5e;let _0x1badf0,_0x1dad70,_0x36dd66;if(_0x5bd394==='rowRanges')_0x1badf0=(_0x4694e7=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x3b6)])==null?void 0x0:_0x4694e7[_0x594564],_0x1dad70=(_0x228728=_0x73f3f2==null?void 0x0:_0x73f3f2[_0x2e2664(0x3d9)])==null?void 0x0:_0x228728[_0x2032f3],_0x36dd66=_0x1dad70==null?void 0x0:_0x1dad70[_0x2e2664(0x390)];else{if(_0x5bd394==='colRanges')_0x1badf0=(_0x24eb20=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x353)])==null?void 0x0:_0x24eb20[_0x2032f3],_0x1dad70=(_0x122fc8=_0x73f3f2[_0x2e2664(0x254)])==null?void 0x0:_0x122fc8[_0x594564+0x1+_0x2032f3-_0x484719[_0x2e2664(0x1e5)][0x0]['startColumn']],_0x36dd66=_0x1dad70==null?void 0x0:_0x1dad70[_0x2e2664(0x390)];else{if(_0x5bd394===_0x2e2664(0x422))_0x1badf0=(_0x5a7274=_0x3db039==null?void 0x0:_0x3db039[_0x2e2664(0x3ce)])==null?void 0x0:_0x5a7274[_0x2032f3],_0x36dd66=_0x1badf0==null?void 0x0:_0x1badf0['tableFieldId'];else{if(_0x5bd394===_0x2e2664(0x329)){const _0x5379b7=_0x3db150==null?void 0x0:_0x3db150['fi'];_0x5379b7!==void 0x0&&(_0x36dd66=_0x31e07c['getFilterFieldIdByIndex'](_0x5379b7));}}}}return{'filterId':_0x36dd66,'info':_0x1badf0,'data':_0x3db150,'headerInfo':_0x1dad70};}function Li(_0x425f3d,_0x4139e6,_0x236f81){const _0x17c2ed=_0x5bf728,_0x302034=_0x425f3d[_0x17c2ed(0x35d)],_0x36e7fa=_0x302034[_0x17c2ed(0x363)](),_0x151231=new Set();_0x425f3d[_0x17c2ed(0x33b)](_0x2eebaa=>{const _0x38f057=_0x17c2ed;_0x151231[_0x38f057(0x2de)](_0x2eebaa[_0x38f057(0x1e0)]);});const _0xc09cde=_0x36e7fa[_0x17c2ed(0x266)](_0x27586f=>{const _0x135c79=_0x17c2ed,_0x267b14=_0x302034[_0x135c79(0x437)](_0x27586f);return{'checked':_0x151231['has'](_0x27586f),'dataFieldId':_0x267b14['id'],'id':_0x267b14['id'],'name':_0x302034[_0x135c79(0x2a1)](_0x267b14['id']),'type':_0x267b14[_0x135c79(0x2a6)](),'pivotTableId':_0x4139e6};}),_0xc2f167=[];_0x425f3d[_0x17c2ed(0x2d9)](_0x3a6ce8['Row'],_0x570bc8=>{const _0x5d43bd=_0x17c2ed;_0xc2f167[_0x5d43bd(0x42a)]({'dataFieldId':_0x570bc8[_0x5d43bd(0x1e0)],'tableFieldId':_0x570bc8[_0x5d43bd(0x3f9)](),'displayName':_0x570bc8[_0x5d43bd(0x2a1)]()});});const _0x2f6b40=[];_0x425f3d['iterateFieldByArea'](_0x3a6ce8['Column'],_0x549b15=>{const _0x32ffbc=_0x17c2ed;_0x2f6b40[_0x32ffbc(0x42a)]({'dataFieldId':_0x549b15[_0x32ffbc(0x1e0)],'tableFieldId':_0x549b15['getId'](),'displayName':_0x549b15[_0x32ffbc(0x2a1)]()});});const _0x577d40=[];if(_0x425f3d[_0x17c2ed(0x2d9)](_0x3a6ce8[_0x17c2ed(0x409)],_0x5efae0=>{const _0x58c52c=_0x17c2ed;_0x577d40[_0x58c52c(0x42a)]({'dataFieldId':_0x5efae0[_0x58c52c(0x1e0)],'tableFieldId':_0x5efae0['getId'](),'displayName':_0x5efae0[_0x58c52c(0x2a1)](),'format':_0x5efae0['getFormat'](),'subTotalType':_0x5efae0['getSubtotal']()});}),_0x577d40[_0x17c2ed(0x395)]>0x1){const _0x174048=_0x425f3d['getValueIndex']();(_0x425f3d['isColMultiMeasure']()?_0x2f6b40:_0xc2f167)[_0x17c2ed(0x32e)](_0x174048,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x17c2ed(0x1cf)});}const _0x3343e1=[];_0x425f3d['iterateFieldByArea'](_0x3a6ce8['Filter'],_0x542a63=>{const _0x31b67f=_0x17c2ed;_0x3343e1[_0x31b67f(0x42a)]({'dataFieldId':_0x542a63[_0x31b67f(0x1e0)],'tableFieldId':_0x542a63['getId'](),'displayName':_0x542a63[_0x31b67f(0x2a1)]()});});const _0x243729=_0x236f81[_0x17c2ed(0x3f8)];return{'sourceList':_0xc09cde,'sourceRange':_0x243729,'rowFields':_0xc2f167,'columnFields':_0x2f6b40,'valueFields':_0x577d40,'filterFields':_0x3343e1,'positionInfo':_0x236f81['targetCellInfo']};}function fo(_0xfb10a9,_0x5ef61b,_0x44cdc6='',_0x2042aa={}){const _0x3306e3=_0x5bf728,_0x1859e4=_0xfb10a9['get'](_0x2a9621);for(const _0x2d95ca in _0x5ef61b)if(Object[_0x3306e3(0x407)]['hasOwnProperty'][_0x3306e3(0x248)](_0x5ef61b,_0x2d95ca)){const _0x747a5c=_0x44cdc6?_0x44cdc6+'.'+_0x2d95ca:_0x2d95ca;typeof _0x5ef61b[_0x2d95ca]==_0x3306e3(0x310)&&_0x5ef61b[_0x2d95ca]!==null&&!Array[_0x3306e3(0x41a)](_0x5ef61b[_0x2d95ca])?fo(_0xfb10a9,_0x5ef61b[_0x2d95ca],_0x747a5c,_0x2042aa):_0x2042aa[_0x747a5c]=_0x1859e4['t'](_0x747a5c);}return _0x2042aa;}const $t=_0x4d90c0=>{const _0x186f75=_0x5bf728;if(!_0x4d90c0)return[];const {rowRanges:_0x2d95ea,colRanges:_0xeb9a0b,cornerRanges:_0x3d427c,dataRanges:_0x4a6cc2,pageRanges:_0x409c6d}=_0x4d90c0,_0xd7f24a=[..._0xeb9a0b,..._0x2d95ea,..._0x4a6cc2,..._0x3d427c]['filter'](_0x143d11=>_0x143d11[_0x186f75(0x373)]>=0x0&&_0x143d11[_0x186f75(0x3d2)]>=0x0&&_0x143d11[_0x186f75(0x320)]>=0x0&&_0x143d11[_0x186f75(0x3cd)]>=0x0);let _0x37e8ce=Number[_0x186f75(0x296)],_0x4fd78d=Number['MIN_SAFE_INTEGER'],_0xb081bc=Number[_0x186f75(0x296)],_0x433035=Number[_0x186f75(0x1da)];for(let _0x37a0f0=0x0;_0x37a0f0<_0xd7f24a['length'];_0x37a0f0++)_0x37e8ce=Math[_0x186f75(0x411)](_0x37e8ce,_0xd7f24a[_0x37a0f0][_0x186f75(0x373)]),_0x4fd78d=Math[_0x186f75(0x2c1)](_0x4fd78d,_0xd7f24a[_0x37a0f0]['endRow']),_0xb081bc=Math['min'](_0xb081bc,_0xd7f24a[_0x37a0f0][_0x186f75(0x3d2)]),_0x433035=Math['max'](_0x433035,_0xd7f24a[_0x37a0f0]['endColumn']);return[..._0x409c6d,{'startRow':_0x37e8ce,'endRow':_0x4fd78d,'startColumn':_0xb081bc,'endColumn':_0x433035}];};function _0x461b(){const _0xe701fc=['New','length','Style','addPivotField','_dataFieldManagerCollection','panel','setSortInfo','12tiFbkX','SetCollapse','refreshDataField','191703JswEOH','getDataFieldByDataFieldId','sheet.command.add-pivot-table','getOwnPropertyDescriptor','disposableCollection','sheets-pivot.cellDateGroupDisplay.hourMinute','getName','210670gfOWnV','getPivotItemRenderInfoCache','columnFields','setPivotSetting','_model','UpdateSource','keys','_initPivotDataGetListener','updateViewInfo','getRangeData','adjustSheetCellData','setRangeValueRedoMutation','query','getFieldPositionInfoById','getPivotTableRangeInfo','node','deleteUnitId','rowInfo','getFormatInfo','pivotMutationGenerate','_sheetInterceptorService','floor','sheets-pivot.dateGroup.month','dispose','removePivotField','1972022xoSMFX','UpdateValuePosition','#eceeff','params','valueIndex','getFieldFormat','dateType','valueFields','filter','stringify','_onRefRangeChange','remove','addPivotTableWithConfig','column','_globalSubject','endColumn','cornerInfo','sheet.command.pivot-drill-down','asyncInterceptor','markDirty$','startColumn','dataFieldManagerConfig','generateNewSheetName','sheets-pivot.maxName','originTargetInfo','queryDirtyPivotTable','disposeWithMe','rowHeaderMap','2485857KLvqSz','sheet.mutation.set-pivot-value-filter','getTextInfo','_exclusiveRangeService','getRowCount','versions','(Blank)','updateConfig','addFieldWithSourceId','sum','valueFilter','subTotalStyle','symbol','pivotTableIndexConfig','prefix','count','sheet.mutation.send-pivot-config-local','Year','startCollectChangeset','setPivotTableConfig','sheets-pivot.cellDateGroupDisplay.quarter','clearRenderCache','cellValue','_viewData','SetPivotCollapse','updateFieldPosition','limit\x20pivot','countNums','Column','SHEET_PIVOT_TABLE_PLUGIN','sourceRangeInfo','getId','sheets-pivot.dateGroup.minute','getConfig','workbook\x20is\x20not\x20found','setRangeKeyMap','forRow','onCommandExecuted','pivotConfigChange$','setPivotSort','setRange','onStarting','_ensurePivotItemRenderValueMatrixCache','SetOptions','deleteDataField','prototype','getDataFieldItemInfo','Value','renameField','sheet.mutation.send-pivot-data-local','getMatrixValue','rgb(255,255,255)','removeCollectionImp','_initDataSendListener','_ensurePivotMap','min','custom','getMatrixFromRunTimeData','pivotTableId','_initGlobalComputed','_globalComputingSrv','setPivotFilter','_globalComputedStartHelpFunc','setFieldFormat','isArray','version','getNoUsedDataFieldIds','_updateRenderEmptyCache','MovePivotField','sheet.command.set-pivot-fields-config','contains','onQueryStart','cornerRanges','Month','movePivotField','viewData$','getMatrix','fieldsConfig','_queryingMap','RemovePivotField','push','unitId','sheet.mutation.set-pivot-format','2504ZHojQH','getFieldCountByArea','subtotal','_generateUniqueVersion','sheets-pivot.cellDateGroupDisplay.minute','setPivotTable','_createExclusiveRange','AddPivotTable','collectionChange$','getViewData','getFieldById','updateRangeKeyMap','Var\x20of\x20','sheet.command.update-pivot-table-source-range','_initClearSelectionCommandInterceptor','_sheetsPivotTableConfigModel','sheets-pivot.dateGroup.hourMinute','SetPivotSetting','redos','sheets-pivot.cellDateGroupDisplay.yearMonthDate','rangeType','sheets-pivot.cellDateGroupDisplay.yearQuarter','updateAllDisplayName','sideEffectUpdateWorkerCache','sheets-pivot.dateGroup.quarter','rangeKeyMap','fetchThroughAsyncInterceptors','getPivotTableConfig','configVersion$','_subjectCollectionChange','sheets-pivot.subTotal','getTypeOfUnitDisposed$','textInfo','updatePivotTableMatrixInfo','_deletePivotTableInstanceCache','NotNumber','RemoveField','setValueFilterInfo','Subtotal','parse','uniqueDataFieldName','sheets-pivot.cellDateGroupDisplay.month','_sheetsPivotTableService','registerPluginResource','getColumnCount','ΣValue','Minute','_sheetsSelectionsService','targetCellInfo','dataFields','refreshData','getformat','getValuePosition','matrix','sheets-pivot.stdDevName','sheet.mutation.remove-pivot-table','MIN_SAFE_INTEGER','getUnit','setLabelFilterInfo','minDate','_refRangeService','_initLocale','dataFieldId','existing','getRangeStartEndInfo','getSheets','isDate','colRanges','sheets-pivot.dateGroup.monthDate','getActiveSheet','getFullYear','_viewUpdate$','Product\x20of\x20','getColumnWidth','sheet.mutation.remove-group-collection','AddField','#FFFFFF','_init','updateDataFieldsCollection','_ensurePivotItemRenderInfoCache','colStyle','triggerDirtyFeature','setSubtotalType','_sheetsPivotTableAdaptorModel','updateFieldSourceInfo','error','width','lastRow','rangeKey','getStyles','BadReference','setRangeValueUndoMutation','initDataRanges','has','from','_subjectViewChange','getAutoDisplayNameFunction','getSortInfo','updateConfigCache','sheets-pivot.dateGroup.yearMonthDate','_toJSON','_collectionChange$','return\x20','addDataFieldWithoutUnitInfo','_subjectFieldsCollectionChange','leftOffset','fieldId','sheet.command.set-pivot-value-filter','blank','sheets-pivot.cellDateGroupDisplay.date','sheet.mutation.pivot-update-value-position','_markDirty$','getRangeKeyList','getOriginFieldId','251735UanGbh','setOptions','next','oldRangeInfo','NAME','lastCol','getFilterInfo','get','\x20-\x20','getTextSize','_pivotTableMatrixInfo','filterFields','#b2b2b2','handleMoveRange','size','includes','sheets.tabs.sheet','Set','leafStyle','rowCount','YearMonthDate','resetPivotTable','DrillDown','sheets-pivot.stdDevpName','sheet.mutation.remove-pivot-field','headerMap','concat','Row','updateRenderCache','interceptCommand','getRangeKey','isBottomTotal','_commandService','addCollectionByJSON','result','refreshGroupField','_host','new','string','_initRemoveSheetCommandInterceptor','getDate','sheets-pivot.cellDateGroupDisplay.yearMonth','getDataFieldManager','getSheetId','other','_dataSyncPrimaryController','#f4f4f5','SetPivotFilter','asObservable','#e6ebfb','colCount','rangesInfo','call','_pivotTableRangeInfo','_injector','_pivotConfigChange$','getPivotTableInstance','iterateFieldDim','removeDataField','sheets-pivot.minName','NUMBER','STRING','setValuePivotFilter','_univerInstanceService','colHeaderMap','fields','dateGroupField','UpdateFieldPosition','AddPivotTableWithConfig','foreach','delete','sheets-pivot.productName','registerRefRange','UNIVER_SHEET','charCodeAt','intercept','resetArea','YearMonth','getHeaderMapItem','sheets-pivot.emptyPivot.filter','intersects','data','map','batch','sheet.mutation.add-group-collection','getDataFieldByTableId','dimension','setValue','_textInfo','getTableFieldById','setConfig','_initRegisterCommand','ManualFilter','paths','deleteField','getLastRow','16NOOoRz','_sheetsPivotRpcService','_requestResolvers','Date','collections','_ensurePivotTableRangeInfo','value','getUpdateRangeDeleteIds','some','sheets-pivot.cellDateGroupDisplay.year','notExecuteFormula','_initCommandInterceptListener','single','createCollectionWithDataRange','28vPcDWT','getUnitId','range','rowRanges','StdDev\x20of\x20','Values','getSubUnitPivotMatrix','generateMutationsByRanges','registerCallbackWithEvent','getPivotTableMatrixInfo','oldMatrix','getCollection','createDataFieldId','forEach','realDeleteValue','Varp\x20of\x20','getSheetBySheetId','sheet.mutation.update-date-group','fieldsCollectionChange$','#1d32e9','MAX_SAFE_INTEGER','sheets-pivot.columnName','addCollection','sheet.mutation.set-pivot-field-subtotal-type','Existing','collectionConfig','updateValuePosition','getInterceptPoints','measure','number','subUnitId','getDisplayName','_resourceManagerService','StdDevp\x20of\x20','getPivotTableCellData','removeField','getFieldDataType','_initPivotTextInfo','dataRangeInfo','_collectionConfigModel','find','fontRenderExtension','cornerStyle','_viewData$','sheets-pivot.dateGroup.year','sheet.command.move-pivot-field','sheet.command.remove-pivot-field','sheets-pivot.averageName','needSameDeleteModel','registerCommand','Add','formJSON','setTextInfo','filterInfo','endCollectChangeset','fromJSON','sheet.command.add-pivot-field','type','addRecord','NORMAL','registerDirtyService','NUM','collection','max','ResetPivotTable','Quarter','pbt','_initViewModelBySheetInterceptor','sheet.command.set-pivot-filter','getSubUnitPivotRenderCache','HourMinute','varp','SetValueFilter','sheets-pivot.countNumsName','level','sourceName','removePivotTable','setDirty','body','getColCount','COLUMN','RenameField','subscribe','getPivotTableIdByCell','entries','sheets-pivot.grandTotal','Filter','iterateFieldByArea','random','sheets-pivot.sumName','Sum\x20of\x20','_pivotInitCompleted$','add','_globalComputedEndHelpFunc','30jEVKOv','getSubUnitPivotConfigs','broadcastCollectionChange','set','substring','_ensurePivotTableMatrixInfo','_deleteModelCache','getRefRangeMutationsByMoveRange','options','dataStream','removeCollections','values','getFieldInfo','sheet.command.set-pivot-sort','218lDnbGI','_getAutoName','forValue','fieldIds','row','grandTotal','Count\x20of\x20','14GHjmAY','sheet.mutation.send-init-pivot-text-local','updateDirtyPivotTable','getSourceName','getIndexesByPathStr','message','_config','getMonth','9iDhCkV','markDirty','_initSnapshot','FORCE_STRING','sheets-pivot.dateGroup.yearQuarter','setName','areaInfo','getValueFilterInfos','sheet.command.set-pivot-field-setting','updatePivotTableRangeInfo','Max\x20of\x20','SetPivotTableConfig','_configVersion$','isValue','reset','_fieldsCollectionChange$','updateView','_pivotTableInstanceCache','sheet.mutation.rename-pivot-field','object','sheets-pivot.dateGroup.yearMonth','updateViewData','removeValueFilterInfoByValueFieldId','executeCommand','setDataRecordCount','Expand','_sheetsPivotDataSourceModel','clearExclusiveRangesByGroupId','Grand\x20Total','undos','getTargetByPivotId','_updateModelCache','setSourceName','collapseInfo','sheet.command.move-pivot-table','endRow','removeSourceRangeChange','getDirtyInfo','_localeService','Panel','_featureCalculationManagerService','SetSubtotalType','updatePivotSource','SetPivotSort','pageRanges','_pivotRenderInfoCache','getDataFieldId','document','registerSyncingMutations','splice','sheet.operation.pivot-table-view-formula-mark-dirty','setPivotCollapse','MUTATION','UpdatePivotSource','displayName','#e6ebfa','rowFields','addField','pushUndoRedo','addExclusiveRange','maxDate','sheets-pivot.value','iterateField','sheets-pivot.blank','2085AzKLkf','getCellRaw','sheet.mutation.pivot-update-field-source-info','NotFunction','getCellMatrix','shouldClear','_getPivotAppliedRanges','Div0','_activeDirtyManagerService','Delete','token','split','setPivotInitCompleted','removeValueFilterInfo','REF','interceptor','updateCollectionConfig','ptn','sheets-pivot.config','getCurrentUnitForType','originalFieldId','getLastCol','colInfo','_initUnitDisposed','stdDev','getSheetBySheetName','CELL_CONTENT','slice','SHEET_PIVOT_IN_MAIN_THREAD','_updatePivotTableInstanceCache','getValue','addPivotTable','dataFieldsCollection','BLANK_PLACEHOLDER','handleSourceRangeChange','sheetName','toJSON','name','getFieldIds','AddPivotField','Min\x20of\x20','defineProperty','update','pivotTableConfigs','format','rangeCache','SetSortInfo','sheets-pivot.emptyPivot.column','register','sortInfo','getValueIndex','sheets-pivot.dateGroup.date','viewUpdate$','_pivotRenderValueMatrixCache','startRow','sheets-pivot.other','sheet.mutation.send-pivot-view-local','valuePosition','_initConfig','info','getPivotTableModelConfig','col','getAutoFitColumnsMutations','Hour','isEmpty','GrandTotal','getSubtotal','COMMAND','sheet.mutation.set-pivot-position','getPivotDisplayConfig','getIntersects','getPivotPerformCheck','onQueryEnd','SetValuePivotFilter','drillDown','average','DIV_BY_ZERO','getTargetByPivotTableId','_configService','_ensureViewDataMap','setCollapse','var','sheet.mutation.get-pivot-data-local','tableFieldId','None','unshift','addDirtyPivotTable'];_0x461b=function(){return _0xe701fc;};return _0x461b();}function Bi(_0x467bce,_0x45bb67){const _0x1e4041=_0x5bf728,_0x4aad59=_0x45bb67[_0x1e4041(0x3c1)]['drillDown'],{pivotTableId:_0x437ff8,unitId:_0x251cdd,subUnitId:_0x1ad941}=_0x45bb67;if(!_0x4aad59)return;const _0xa4be3b=_0x467bce['get'](G),_0x928b2=_0xa4be3b[_0x1e4041(0x24c)](_0x437ff8),_0x8fb693=_0xa4be3b[_0x1e4041(0x448)](_0x251cdd,_0x1ad941,_0x437ff8);if(!_0x928b2||!_0x8fb693)return;const _0x313b34=_0x928b2[_0x1e4041(0x2f9)](_0x4aad59['tuple']);if(!(_0x313b34!=null&&_0x313b34[_0x1e4041(0x395)]))return;const _0x111396=_0x8fb693[_0x1e4041(0x3f8)],{unitId:_0x700434,subUnitId:_0x30670a,range:_0x1aa6fd}=_0x111396;let _0x57eff7=0x0;const _0x129d65=_0x928b2[_0x1e4041(0x35d)]['getFieldIds']()['reduce']((_0x1f9d6c,_0x52ecb7)=>{var _0x467aea;const _0x402ac2=(_0x467aea=_0x928b2['getDataFieldByDataFieldId'](_0x52ecb7))==null?void 0x0:_0x467aea['getformat']();return _0x402ac2&&(_0x1f9d6c[String(_0x57eff7)]=_0x402ac2),_0x57eff7++,_0x1f9d6c;},{});return{'indexes':_0x313b34,'range':_0x1aa6fd,'sourceUnitId':_0x700434,'sourceSubUnitId':_0x30670a,'formatMap':_0x129d65};}function Ko(_0x27be3b,_0x4b7147){const _0x9444da=_0x5bf728;if(!_0x27be3b||!_0x4b7147)return!0x0;const _0x589517=_0x30309b(Wo,Jo),_0x5e8e45=new Function(_0x9444da(0x208)+_0x589517)()(_0x27be3b,_0x4b7147)['message'],_0x49259c=_0x174e93(_0x5e8e45,'sf',Lo);return!((_0x5e8e45==null?void 0x0:_0x5e8e45['rt'])===_0x2c1fa3['NO_COMMERCIAL']&&!_0x49259c);}function go(_0x1c240c,_0x31761a,_0xbec88b){const _0xadf77=_0x5bf728,_0x46d45f={'count':_0x1c240c,'timeValid':!0x1};if(!_0x31761a||!_0xbec88b)return _0x46d45f;const _0x4942cc=_0x30309b(Wo,Jo),_0x34df3f=new Function(_0xadf77(0x208)+_0x4942cc)()(_0x31761a,_0xbec88b);if(_0x34df3f!=null&&_0x34df3f['valid']){const _0xe566d9=_0x34df3f[_0xadf77(0x2fa)],_0x1c0a08=_0x174e93(_0xe566d9,'sf',Lo);return{'count':_0x108804(_0xe566d9,_0x1c0a08,_0xadf77(0x34e),_0x1c240c,_0x1c240c,0x0),'timeValid':_0x1c0a08};}return _0x46d45f;}function Ho(_0x5963ba,_0x5781d3,_0x38693c,_0x5c662a){const _0x4f8abe=_0x5bf728,_0x37fbe4={'subUnitId':_0x38693c,'unitId':_0x5781d3,'cellValue':_0x75ebc2(_0x5c662a)},_0x524b97=_0x289bda(_0x5963ba,_0x37fbe4);let _0x5b3418=!0x1;return new _0x43fcd2(_0x524b97[_0x4f8abe(0x3f0)])[_0x4f8abe(0x2f0)]((_0xdd66f9,_0x533d63,_0x2246ac)=>{const _0x48bb87=_0x4f8abe;if(!_0x5b3418&&_0x2246ac&&(_0x2246ac[_0x48bb87(0x412)]||_0x2246ac['f']||_0x2246ac['p']||_0x2246ac['s']||_0x2246ac['si']||_0x2246ac['t']||_0x2246ac['v']))return _0x5b3418=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x24965e['id'],'params':_0x524b97},'setRangeValueRedoMutation':{'id':_0x24965e['id'],'params':_0x37fbe4},'shouldClear':_0x5b3418};}function $i(_0x32f605){const {row:_0xac7a7,col:_0x1dd284}=_0x32f605,_0x46606c={'startRow':_0xac7a7,'endRow':_0xac7a7,'startColumn':_0x1dd284,'endColumn':_0x1dd284},_0x507798={'startRow':_0xac7a7+0x2,'endRow':_0xac7a7+0xe,'startColumn':_0x1dd284,'endColumn':_0x1dd284+0x6};return[_0x46606c,_0x507798];}function Gi(_0x3eeec7,_0x25f980,_0x1d20e8){const _0x26a1c2=_0x5bf728,{cornerView:_0x1dbc84,rowView:_0x250366,colView:_0x161196,pageView:_0x5c4b9f}=_0x3eeec7,{row:_0x4b474e,col:_0x16de01}=_0x25f980;if(_0x1d20e8)return{'rowCount':bi+_0x4b474e,'colCount':Si+_0x16de01};const _0x3d92e5=_0x5c4b9f[_0x26a1c2(0x1f9)]>-0x1?_0x5c4b9f[_0x26a1c2(0x1f9)]+0x1:0x0,_0x1a1f48=_0x5c4b9f[_0x26a1c2(0x219)]>-0x1?_0x5c4b9f['lastCol']:0x0,_0x25e203=_0x4b474e+_0x3d92e5+(_0x3d92e5?0x1:0x0)+_0x1dbc84[_0x26a1c2(0x227)]+_0x250366['rowCount'],_0x263d5d=_0x16de01+_0x1a1f48,_0x4ce9df=_0x16de01+_0x1dbc84[_0x26a1c2(0x246)]+_0x161196[_0x26a1c2(0x246)],_0x4cbb4d=Math[_0x26a1c2(0x2c1)](_0x263d5d,_0x4ce9df);return{'rowCount':_0x25e203,'colCount':_0x4cbb4d};}function we(_0x5e2f8b,_0x52531f,_0x2f1586,_0x5340b8){const _0x587134=_0x5bf728,{row:_0x19f574,col:_0x18a4f1,unitId:_0x12ccbd,subUnitId:_0x597dcd}=_0x2f1586,_0x1ad341=Gi(_0x52531f,{'row':_0x19f574,'col':_0x18a4f1},_0x5340b8),_0x2c24ea=_0x5e2f8b[_0x587134(0x21b)](_0x2fecb8),_0x56eff0=_0x5b1933(_0x2c24ea,{'unitId':_0x12ccbd,'subUnitId':_0x597dcd}),_0x510e70=[],_0x42929a=[];if(!_0x56eff0)return{'undos':_0x42929a,'redos':_0x510e70};const {worksheet:_0x3b5e0e}=_0x56eff0,_0x1f6244=_0x3b5e0e['getRowCount'](),_0x51c35c=_0x3b5e0e[_0x587134(0x1ce)]();return _0x1f6244<_0x1ad341[_0x587134(0x227)]&&(_0x510e70[_0x587134(0x42a)]({'id':_0x70acf4['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':_0x1f6244,'endRow':_0x1ad341[_0x587134(0x227)]-0x1,'startColumn':0x0,'endColumn':_0x51c35c-0x1}}}),_0x42929a['push']({'id':_0x2c9689['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':_0x1f6244,'endRow':_0x1ad341['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x51c35c-0x1}}})),_0x51c35c<_0x1ad341[_0x587134(0x246)]&&(_0x510e70[_0x587134(0x42a)]({'id':_0xded336['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':0x0,'endRow':_0x1f6244-0x1,'startColumn':_0x51c35c,'endColumn':_0x1ad341['colCount']-0x1}}}),_0x42929a[_0x587134(0x42a)]({'id':_0x19ed4c['id'],'params':{'unitId':_0x12ccbd,'subUnitId':_0x597dcd,'range':{'startRow':0x0,'endRow':_0x1f6244-0x1,'startColumn':_0x51c35c,'endColumn':_0x1ad341[_0x587134(0x246)]-0x1}}})),{'undos':_0x42929a,'redos':_0x510e70};}function ji(_0x28772d){const _0x24c2a4=_0x5bf728;let _0x226881=0x0;for(let _0x149db9=0x0;_0x149db9<_0x28772d[_0x24c2a4(0x395)];_0x149db9++){const _0x38e273=_0x28772d[_0x24c2a4(0x25e)](_0x149db9);_0x38e273>=0x4e00&&_0x38e273<=0x9fff||_0x38e273>=0x3000&&_0x38e273<=0x303f||_0x38e273>=0xff00&&_0x38e273<=0xffef?_0x226881+=0x2:_0x226881+=0x1;}return _0x226881;}function yo(_0x190138,_0x1a2c2f,_0x2f74b8,_0x38be28){const _0x101f68=_0x5bf728;var _0x2679cb,_0x285516,_0x36ac26,_0x4462c9;const {rowCount:_0x9ddb23,colCount:_0xb87277,headerMap:_0x3df26b}=_0x190138,_0x34f33d=0x64,_0x3ad528=Math[_0x101f68(0x411)](_0x9ddb23,_0x34f33d),_0x3796bd=Math[_0x101f68(0x411)](_0xb87277,_0x34f33d);let _0xdfcb4f='',_0x4cfc03=0x0;for(let _0x4378a2=0x0;_0x4378a2<_0x3ad528;_0x4378a2++)for(let _0x523f56=0x0;_0x523f56<_0x3796bd;_0x523f56++){const _0x5e0e79={...(_0x285516=(_0x2679cb=_0x190138[_0x101f68(0x265)])==null?void 0x0:_0x2679cb[_0x4378a2])==null?void 0x0:_0x285516[_0x523f56]},_0x18cbd7=(_0x36ac26=_0x3df26b[_0x4378a2])==null?void 0x0:_0x36ac26[_0x101f68(0x390)],_0x3ae10d=_0x38be28[_0x18cbd7];let _0x24a96f=_0x190138[_0x101f68(0x35b)](_0x4378a2,_0x523f56);if(_0x5e0e79){const _0x344207=_0x2f74b8?_0x523f56===0x0&&((_0x4462c9=_0x190138[_0x101f68(0x262)](_0x523f56+0x1))==null?void 0x0:_0x4462c9['isValue']):!0x1;_0x24a96f=vt(_0x5e0e79,_0x344207,_0x3ae10d,_0x1a2c2f);}if(_0x24a96f!==void 0x0){const _0x2b47f0=ji(String(_0x24a96f));_0x4cfc03<_0x2b47f0&&(_0xdfcb4f=String(_0x24a96f),_0x4cfc03=_0x2b47f0);}}return _0xdfcb4f;}function Ji(_0x46c07f){const _0x30eacc=_0x5bf728,{rowCount:_0x49c835,colCount:_0x447941}=_0x46c07f;let _0x3a5163='',_0x3fb48f=0x0;for(let _0xd0e580=_0x49c835-0x1;_0xd0e580>0x0&&_0xd0e580>_0x49c835-0x3;_0xd0e580--)for(let _0x1ab782=0x0;_0x1ab782<_0x447941;_0x1ab782++){const _0x1fe74f=_0x46c07f[_0x30eacc(0x35b)](_0xd0e580,_0x1ab782);if(_0x1fe74f!==void 0x0){const _0x248474=String(_0x1fe74f)[_0x30eacc(0x395)];_0x3fb48f<_0x248474&&(_0x3a5163=String(_0x1fe74f),_0x3fb48f=_0x248474);}}return _0x3a5163;}function Wi(_0xed7075){const _0xf97d7b=_0x5bf728,{rowCount:_0x1eeb3c,colCount:_0x24700d}=_0xed7075;let _0x4f611b='',_0x76d32c=0x0;for(let _0x467bc4=0x0;_0x467bc4<_0x1eeb3c;_0x467bc4++)for(let _0x3ad59a=0x0;_0x3ad59a<_0x24700d;_0x3ad59a++){const _0x1ec33e=_0xed7075[_0xf97d7b(0x35b)](_0x467bc4,_0x3ad59a);if(_0x1ec33e!==void 0x0){const _0x34fb66=String(_0x1ec33e)[_0xf97d7b(0x395)];_0x76d32c<_0x34fb66&&(_0x4f611b=String(_0x1ec33e),_0x76d32c=_0x34fb66);}}return _0x4f611b;}function Yi(_0x2ebbd0,_0x29284a){const _0x4dbb6e=_0x5bf728,{rowFields:_0x12d5c2,columnFields:_0x3bd323,valueFields:_0x304502,filterFields:_0x42d90f,dimension:_0x59bd63,measure:_0x451e52}=_0x29284a;for(const _0x31b34b of _0x12d5c2){const _0x28e316=_0x59bd63[_0x31b34b];_0x28e316&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x28e316[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x28e316[_0x4dbb6e(0x1e0)],_0x3a6ce8['Row'],void 0x0,_0x31b34b),_0x28e316[_0x4dbb6e(0x333)]&&_0x2ebbd0['renameField'](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x333)]),_0x28e316[_0x4dbb6e(0x36e)]&&_0x2ebbd0['setSortInfo'](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x36e)]),_0x28e316[_0x4dbb6e(0x2b7)]&&_0x2ebbd0[_0x4dbb6e(0x1dc)](_0x28e316['id'],_0x28e316[_0x4dbb6e(0x2b7)]));}for(const _0x1134e7 of _0x3bd323){const _0x568200=_0x59bd63[_0x1134e7];_0x568200&&_0x2ebbd0[_0x4dbb6e(0x39f)](_0x568200[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x568200['dataFieldId'],_0x3a6ce8[_0x4dbb6e(0x3f6)],void 0x0,_0x1134e7),_0x568200[_0x4dbb6e(0x36e)]&&_0x2ebbd0['setSortInfo'](_0x568200['id'],_0x568200[_0x4dbb6e(0x36e)]),_0x568200['filterInfo']&&_0x2ebbd0['setLabelFilterInfo'](_0x568200['id'],_0x568200[_0x4dbb6e(0x2b7)]),_0x568200[_0x4dbb6e(0x333)]&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x568200['id'],_0x568200['displayName']));}for(const _0x5874f5 of _0x42d90f){const _0x33455d=_0x59bd63[_0x5874f5];_0x33455d&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x33455d[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x33455d['dataFieldId'],_0x3a6ce8['Filter'],void 0x0,_0x5874f5),_0x33455d['sortInfo']&&_0x2ebbd0[_0x4dbb6e(0x39a)](_0x33455d['id'],_0x33455d[_0x4dbb6e(0x36e)]),_0x33455d[_0x4dbb6e(0x2b7)]&&_0x2ebbd0[_0x4dbb6e(0x1dc)](_0x33455d['id'],_0x33455d[_0x4dbb6e(0x2b7)]),_0x33455d[_0x4dbb6e(0x333)]&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x33455d['id'],_0x33455d['displayName']));}for(const _0x14c1a4 of _0x304502){const _0x209094=_0x451e52[_0x14c1a4];_0x209094&&_0x2ebbd0['getDataFieldByDataFieldId'](_0x209094[_0x4dbb6e(0x1e0)])&&(_0x2ebbd0[_0x4dbb6e(0x3e2)](_0x209094['dataFieldId'],_0x3a6ce8[_0x4dbb6e(0x409)],void 0x0,_0x14c1a4),_0x209094[_0x4dbb6e(0x42f)]!==void 0x0&&_0x2ebbd0[_0x4dbb6e(0x1f4)](_0x14c1a4,_0x209094[_0x4dbb6e(0x42f)]),_0x209094[_0x4dbb6e(0x369)]&&_0x2ebbd0[_0x4dbb6e(0x419)](_0x14c1a4,_0x209094['format']),_0x209094['displayName']&&_0x2ebbd0[_0x4dbb6e(0x40a)](_0x209094['id'],_0x209094[_0x4dbb6e(0x333)]));}const _0x23ba87=_0x29284a[_0x4dbb6e(0x3e4)];for(const {fieldId:_0x5a92e2,filterInfo:_0x3965c5}of _0x23ba87)_0x2ebbd0['setValueFilterInfo'](_0x5a92e2,_0x3965c5);}function Ki(_0x1445ad,_0x3ee04c){const _0x1a5a50=_0x5bf728,_0x108346=[];_0x3ee04c===_0x3a6ce8['Row']&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8[_0x1a5a50(0x22f)],_0x5d308a=>{const _0x2d5e64=_0x1a5a50;_0x108346[_0x2d5e64(0x42a)](_0x5d308a['getId']());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x3f6)]&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8['Column'],_0x199690=>{const _0x305abf=_0x1a5a50;_0x108346['push'](_0x199690[_0x305abf(0x3f9)]());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x2d8)]&&_0x1445ad['iterateFieldByArea'](_0x3a6ce8[_0x1a5a50(0x2d8)],_0x2d5d1=>{const _0x29e4a0=_0x1a5a50;_0x108346[_0x29e4a0(0x42a)](_0x2d5d1[_0x29e4a0(0x3f9)]());}),_0x3ee04c===_0x3a6ce8[_0x1a5a50(0x409)]&&_0x1445ad[_0x1a5a50(0x2d9)](_0x3a6ce8[_0x1a5a50(0x409)],_0x531030=>{const _0xe77000=_0x1a5a50;_0x108346[_0xe77000(0x42a)](_0x531030['getId']());}),_0x3ee04c===void 0x0&&_0x1445ad[_0x1a5a50(0x33b)](_0x3aed4d=>{const _0xb4c930=_0x1a5a50;_0x108346[_0xb4c930(0x42a)](_0x3aed4d['getId']());});const _0x216ff7=_0x108346['length'];for(let _0x512352=_0x216ff7-0x1;_0x512352>=0x0;_0x512352--)_0x1445ad[_0x1a5a50(0x2a5)](_0x108346[_0x512352]);const _0x3c1809=_0x1445ad[_0x1a5a50(0x304)]();for(const _0x244e50 in _0x3c1809)_0x1445ad[_0x1a5a50(0x34a)](_0x244e50);}function Hi(_0x1363b5,_0x43fd14){const _0x5055f7=_0x5bf728,_0x35d7c5=new Date(_0x15768b(_0x43fd14)),_0x3790d3=new Date(_0x15768b(_0x1363b5)),_0x50f9e9=_0x35d7c5['getFullYear'](),_0x184d10=_0x3790d3[_0x5055f7(0x1e8)](),_0x4ef3f7=_0x35d7c5['getMonth'](),_0x4b0567=_0x3790d3[_0x5055f7(0x2fc)](),_0x4e8cae=_0x35d7c5[_0x5055f7(0x23c)](),_0x4c0ac6=_0x3790d3[_0x5055f7(0x23c)](),_0x359fe7=_0x50f9e9===_0x184d10,_0x16ea23=_0x359fe7&&_0x4ef3f7===_0x4b0567;return _0x359fe7&&_0x16ea23&&!(_0x16ea23&&_0x4e8cae===_0x4c0ac6)?_0x1dcfc0[_0x5055f7(0x228)]:_0x359fe7&&!_0x16ea23?_0x1dcfc0['YearMonth']:_0x1dcfc0['Year'];}function qo(_0x43dae5,_0x6c55b9){const _0x541e90=_0x5bf728,_0x29e1c0=_0x43dae5[_0x541e90(0x21b)](G)['getTextInfo']();let _0x50f7f5='';switch(_0x6c55b9){case _0x1dcfc0[_0x541e90(0x228)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x205)];break;case _0x1dcfc0[_0x541e90(0x261)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x311)];break;case _0x1dcfc0['Year']:_0x50f7f5=_0x29e1c0[_0x541e90(0x2ae)];break;case _0x1dcfc0[_0x541e90(0x423)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x3bb)];break;case _0x1dcfc0['Quarter']:_0x50f7f5=_0x29e1c0[_0x541e90(0x445)];break;case _0x1dcfc0[_0x541e90(0x277)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x370)];break;case _0x1dcfc0[_0x541e90(0x2c8)]:_0x50f7f5=_0x29e1c0[_0x541e90(0x43d)];break;case _0x1dcfc0[_0x541e90(0x37c)]:_0x50f7f5=_0x29e1c0['sheets-pivot.dateGroup.hour'];break;case _0x1dcfc0['Minute']:_0x50f7f5=_0x29e1c0[_0x541e90(0x3fa)];break;case _0x1dcfc0['MonthDate']:_0x50f7f5=_0x29e1c0[_0x541e90(0x1e6)];break;case _0x1dcfc0['YearQuarter']:_0x50f7f5=_0x29e1c0[_0x541e90(0x301)];break;default:_0x50f7f5='';break;}return _0x50f7f5;}const zo=_0x5bf728(0x34f),Mo={};var qi=Object['getOwnPropertyDescriptor'],zi=(_0x3b0493,_0x4596e6,_0x159c7c,_0x5cfeda)=>{const _0x3ac240=_0x5bf728;for(var _0xde70f0=_0x5cfeda>0x1?void 0x0:_0x5cfeda?qi(_0x4596e6,_0x159c7c):_0x4596e6,_0x4cf9ff=_0x3b0493[_0x3ac240(0x395)]-0x1,_0x209b12;_0x4cf9ff>=0x0;_0x4cf9ff--)(_0x209b12=_0x3b0493[_0x4cf9ff])&&(_0xde70f0=_0x209b12(_0xde70f0)||_0xde70f0);return _0xde70f0;},it=(_0x2c6e42,_0x5c136d)=>(_0x52cec2,_0x46f5e0)=>_0x5c136d(_0x52cec2,_0x46f5e0,_0x2c6e42);let ve=class extends _0x25f1fb{constructor(_0x1e3f2e,_0x1adf3f,_0x16953d,_0x2cf24e,_0x128d59){const _0x44e8bb=_0x5bf728;super(),V(this,_0x44e8bb(0x3a9),new Map()),V(this,_0x44e8bb(0x2a9),new Map()),V(this,_0x44e8bb(0x249),new Map()),V(this,'_pivotTableMatrixInfo',new Map()),V(this,_0x44e8bb(0x309),new _0x688d9a()),V(this,'_pivotInitCompleted$',new _0x688d9a()),V(this,'pivotInitCompleted$',this[_0x44e8bb(0x2dd)]['asObservable']()),V(this,'_pivotConfigChange$',new _0x688d9a()),V(this,_0x44e8bb(0x400),this['_pivotConfigChange$']['asObservable']()),V(this,_0x44e8bb(0x26c),{}),V(this,_0x44e8bb(0x449),this['_configVersion$'][_0x44e8bb(0x244)]()),(this[_0x44e8bb(0x24a)]=_0x1e3f2e,this['_commandService']=_0x1adf3f,this[_0x44e8bb(0x253)]=_0x16953d,this[_0x44e8bb(0x2a2)]=_0x2cf24e,this[_0x44e8bb(0x38b)]=_0x128d59,this['_initLocale'](),this[_0x44e8bb(0x354)]());const _0x503609=this[_0x44e8bb(0x38b)][_0x44e8bb(0x3fb)](zo);(_0x503609==null?void 0x0:_0x503609[_0x44e8bb(0x27e)])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x519ae8=_0x5bf728;this['disposeWithMe'](this[_0x519ae8(0x253)][_0x519ae8(0x44c)](_0x332ca7[_0x519ae8(0x25d)])['subscribe'](_0x5f9f08=>{const _0x2b5bf1=_0x519ae8;this['deleteUnitId'](_0x5f9f08[_0x2b5bf1(0x283)]());}));}[_0x5bf728(0x349)](){const _0x261e4d=_0x5bf728;this[_0x261e4d(0x2dd)]['next'](!0x0);}[_0x5bf728(0x1df)](){const _0x301700=_0x5bf728,_0x13e426=fo(this['_injector'],$o,'',{});this[_0x301700(0x26c)]=_0x13e426,this['_commandService']['executeCommand'](uo['id'],{'textInfo':_0x13e426},{'onlyLocal':!0x0});}[_0x5bf728(0x3dc)](){return this['_textInfo'];}[_0x5bf728(0x3ad)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4fac4c,_0x4f0afd){const _0x23c12f=_0x5bf728;this[_0x23c12f(0x44e)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4fac4c),this[_0x23c12f(0x306)](_0x4d1bcd,_0x545612,_0x5b4c6d,_0x4f0afd);}[_0x5bf728(0x448)](_0x2a7eec,_0x25d9ef,_0x327e50){const _0x2732f0=_0x5bf728;var _0x43d119;const _0x34137=(_0x43d119=this[_0x2732f0(0x3a9)]['get'](_0x2a7eec))==null?void 0x0:_0x43d119[_0x2732f0(0x21b)](_0x25d9ef);if(_0x34137)return _0x34137['get'](_0x327e50);}[_0x5bf728(0x38a)](_0x3266d6,_0x5ab510){const _0x3f57c6=_0x5bf728,_0x32f9e5=this[_0x3f57c6(0x3a9)][_0x3f57c6(0x21b)](_0x3266d6);if(_0x32f9e5){for(const [_0x56a7c0,_0x3f29f3]of _0x32f9e5[_0x3f57c6(0x2d6)]())for(const [_0x47fcaa,_0x1a8573]of _0x3f29f3[_0x3f57c6(0x2d6)]())if(_0x47fcaa===_0x5ab510)return _0x1a8573[_0x3f57c6(0x1d2)];}}[_0x5bf728(0x31b)](_0x56a879,_0x4e1d15,_0x2107cc){const _0x2edc30=_0x5bf728,_0x2e1a1e=this[_0x2edc30(0x448)](_0x56a879,_0x4e1d15,_0x2107cc);return _0x2e1a1e==null?void 0x0:_0x2e1a1e[_0x2edc30(0x1d2)];}[_0x5bf728(0x2e1)](_0x531cc8,_0x3087b9){const _0x2e070d=_0x5bf728;var _0xb6900a;return(_0xb6900a=this[_0x2e070d(0x3a9)][_0x2e070d(0x21b)](_0x531cc8))==null?void 0x0:_0xb6900a[_0x2e070d(0x21b)](_0x3087b9);}[_0x5bf728(0x204)](_0x553325,_0x29da83,_0x394a6a,_0x4f454f){const _0x14f4fe=_0x5bf728,_0x18cbca=this[_0x14f4fe(0x410)](_0x553325,_0x29da83);_0x4f454f?_0x18cbca[_0x14f4fe(0x2e3)](_0x394a6a,_0x4f454f):_0x18cbca['delete'](_0x394a6a),this[_0x14f4fe(0x24b)][_0x14f4fe(0x216)]({'unitId':_0x553325,'subUnitId':_0x29da83,'pivotTableId':_0x394a6a,'pivotTableConfig':_0x4f454f});}[_0x5bf728(0x28d)](_0x3fbb88,_0x244a1e){const _0x1335c4=_0x5bf728;var _0x5d08ea;return(_0x5d08ea=this['_collectionConfigModel'][_0x1335c4(0x21b)](_0x3fbb88))==null?void 0x0:_0x5d08ea[_0x1335c4(0x278)][_0x244a1e];}[_0x5bf728(0x34d)](_0x29c64e,_0x2883ad){const _0x39434e=_0x5bf728;this['_collectionConfigModel'][_0x39434e(0x2e3)](_0x29c64e,_0x2883ad),this[_0x39434e(0x309)][_0x39434e(0x216)](Math[_0x39434e(0x2da)]());}[_0x5bf728(0x410)](_0x335580,_0x58e71e){const _0x69e783=_0x5bf728;let _0x430c12=this[_0x69e783(0x3a9)][_0x69e783(0x21b)](_0x335580);_0x430c12||(_0x430c12=new Map(),this[_0x69e783(0x3a9)][_0x69e783(0x2e3)](_0x335580,_0x430c12));let _0x38f061=_0x430c12[_0x69e783(0x21b)](_0x58e71e);return _0x38f061||(_0x38f061=new Map(),_0x430c12[_0x69e783(0x2e3)](_0x58e71e,_0x38f061)),_0x38f061;}[_0x5bf728(0x279)](_0x581da5,_0x1e673c){const _0x45e139=_0x5bf728;let _0x177f50=this['_pivotTableRangeInfo'][_0x45e139(0x21b)](_0x581da5);_0x177f50||(_0x177f50=new Map(),this[_0x45e139(0x249)][_0x45e139(0x2e3)](_0x581da5,_0x177f50));let _0x358b9b=_0x177f50[_0x45e139(0x21b)](_0x1e673c);return _0x358b9b||(_0x358b9b=new Map(),_0x177f50[_0x45e139(0x2e3)](_0x1e673c,_0x358b9b)),_0x358b9b;}[_0x5bf728(0x2e5)](_0x49cc38,_0x3d9290){const _0x3d404d=_0x5bf728;let _0x7bbd75=this[_0x3d404d(0x21e)][_0x3d404d(0x21b)](_0x49cc38);_0x7bbd75||(_0x7bbd75=new Map(),this['_pivotTableMatrixInfo']['set'](_0x49cc38,_0x7bbd75));let _0x596572=_0x7bbd75[_0x3d404d(0x21b)](_0x3d9290);return _0x596572||(_0x596572=new Map(),_0x7bbd75[_0x3d404d(0x2e3)](_0x3d9290,_0x596572)),_0x596572;}[_0x5bf728(0x306)](_0x53ba8f,_0x48b7bb,_0x243354,_0x28d971){const _0x216cd1=_0x5bf728;var _0x2dd27d;const _0x16eaab=this[_0x216cd1(0x279)](_0x53ba8f,_0x48b7bb),_0x4d026b=(_0x2dd27d=_0x16eaab[_0x216cd1(0x21b)](_0x243354))==null?void 0x0:_0x2dd27d[_0x216cd1(0x217)];_0x16eaab[_0x216cd1(0x2e3)](_0x243354,{'oldRangeInfo':_0x4d026b,'rangeInfo':_0x28d971});}[_0x5bf728(0x44e)](_0x8042c0,_0x39b000,_0x434168,_0x4071e2){const _0xa3dd05=_0x5bf728;var _0x1a4020;const _0x1e2256=this['_ensurePivotTableMatrixInfo'](_0x8042c0,_0x39b000),_0x2ab441=(_0x1a4020=_0x1e2256[_0xa3dd05(0x21b)](_0x434168))==null?void 0x0:_0x1a4020[_0xa3dd05(0x28c)];_0x1e2256[_0xa3dd05(0x2e3)](_0x434168,{'oldMatrix':_0x2ab441,'matrix':_0x4071e2});}[_0x5bf728(0x3b3)](_0xc445dd,_0x44966d,_0x52ceaa){const _0x432623=_0x5bf728;var _0x300f50,_0x19f514;return(_0x19f514=(_0x300f50=this['_pivotTableRangeInfo'][_0x432623(0x21b)](_0xc445dd))==null?void 0x0:_0x300f50['get'](_0x44966d))==null?void 0x0:_0x19f514[_0x432623(0x21b)](_0x52ceaa);}[_0x5bf728(0x28b)](_0x44c6a6,_0x4396e1,_0x18cd2d){const _0x53597d=_0x5bf728;var _0x24251a,_0x5171df;return(_0x5171df=(_0x24251a=this[_0x53597d(0x21e)][_0x53597d(0x21b)](_0x44c6a6))==null?void 0x0:_0x24251a[_0x53597d(0x21b)](_0x4396e1))==null?void 0x0:_0x5171df['get'](_0x18cd2d);}[_0x5bf728(0x3b5)](_0x1da089){const _0x370fee=_0x5bf728;this[_0x370fee(0x3a9)][_0x370fee(0x25a)](_0x1da089),this[_0x370fee(0x2a9)][_0x370fee(0x25a)](_0x1da089);}['_toJSON'](_0x3d5933){const _0x5e9035=_0x5bf728,_0x5e8bbf={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5e9035(0x2a9)][_0x5e9035(0x21b)](_0x3d5933)&&(_0x5e8bbf[_0x5e9035(0x3d3)][_0x3d5933]=this['_collectionConfigModel'][_0x5e9035(0x21b)](_0x3d5933)),this[_0x5e9035(0x3a9)][_0x5e9035(0x21b)](_0x3d5933)){_0x5e8bbf[_0x5e9035(0x368)][_0x3d5933]={};const _0xeef437=this[_0x5e9035(0x3a9)][_0x5e9035(0x21b)](_0x3d5933);_0xeef437!=null&&_0xeef437['size']&&[..._0xeef437[_0x5e9035(0x3ab)]()][_0x5e9035(0x28f)](_0x395873=>{const _0x1024f8=_0x5e9035,_0x23a658=_0xeef437['get'](_0x395873);_0x23a658!=null&&_0x23a658[_0x1024f8(0x222)]&&(_0x5e8bbf[_0x1024f8(0x368)][_0x3d5933][_0x395873]={},[..._0x23a658[_0x1024f8(0x3ab)]()][_0x1024f8(0x28f)](_0x897e2c=>{const _0x4d68e6=_0x23a658['get'](_0x897e2c);_0x4d68e6&&(_0x5e8bbf['pivotTableConfigs'][_0x3d5933][_0x395873][_0x897e2c]=_0x4d68e6);}));});}return _0x5e8bbf;}['_initSnapshot'](){const _0x2e324e=_0x5bf728;this[_0x2e324e(0x3d8)](this[_0x2e324e(0x2a2)][_0x2e324e(0x1cd)]({'toJson':_0x7e79cd=>JSON[_0x2e324e(0x3c7)](this[_0x2e324e(0x206)](_0x7e79cd)),'parseJson':_0xfc8a30=>({}),'businesses':[_0x332ca7[_0x2e324e(0x25d)]],'pluginName':ao,'onLoad':(_0xfeb410,_0x83b6fc)=>{},'onUnLoad':_0x4f1292=>{const _0x45f367=_0x2e324e;this[_0x45f367(0x3b5)](_0x4f1292);}}));}};ve=zi([it(0x0,_0x360cfb(_0x121ef7)),it(0x1,_0x360cfb(_0x4e31c1)),it(0x2,_0x360cfb(_0x2fecb8)),it(0x3,_0x360cfb(_0x4679cb)),it(0x4,_0x360cfb(_0x224426))],ve);var Qi=Object[_0x5bf728(0x3a1)],Xi=(_0x50a843,_0x39d531,_0x50d0af,_0x53daf3)=>{const _0x49d452=_0x5bf728;for(var _0x3ed536=_0x53daf3>0x1?void 0x0:_0x53daf3?Qi(_0x39d531,_0x50d0af):_0x39d531,_0x4ed0c3=_0x50a843[_0x49d452(0x395)]-0x1,_0x52a9a6;_0x4ed0c3>=0x0;_0x4ed0c3--)(_0x52a9a6=_0x50a843[_0x4ed0c3])&&(_0x3ed536=_0x52a9a6(_0x3ed536)||_0x3ed536);return _0x3ed536;},st=(_0x498094,_0x5d4111)=>(_0x2b7e14,_0xc1cb9d)=>_0x5d4111(_0x2b7e14,_0xc1cb9d,_0x498094);let Ne=class extends _0x25f1fb{constructor(_0x461326,_0x13f357,_0x17aebc,_0x12681e,_0x52aba9){const _0x5bd6ce=_0x5bf728;super(),V(this,_0x5bd6ce(0x32a),new Map()),V(this,_0x5bd6ce(0x372),new Map()),V(this,_0x5bd6ce(0x211),new _0x688d9a()),V(this,_0x5bd6ce(0x3d1),this[_0x5bd6ce(0x211)]['asObservable']()),V(this,_0x5bd6ce(0x1e9),new _0x688d9a()),V(this,_0x5bd6ce(0x371),this[_0x5bd6ce(0x1e9)][_0x5bd6ce(0x244)]()),V(this,_0x5bd6ce(0x26c)),(this[_0x5bd6ce(0x323)]=_0x461326,this[_0x5bd6ce(0x24a)]=_0x13f357,this[_0x5bd6ce(0x43c)]=_0x17aebc,this[_0x5bd6ce(0x253)]=_0x12681e,this[_0x5bd6ce(0x3dd)]=_0x52aba9,this[_0x5bd6ce(0x1df)](),this[_0x5bd6ce(0x354)]());}[_0x5bf728(0x354)](){const _0xac9521=_0x5bf728;this[_0xac9521(0x3d8)](this[_0xac9521(0x253)]['getTypeOfUnitDisposed$'](_0x332ca7[_0xac9521(0x25d)])[_0xac9521(0x2d4)](_0x387fa1=>{const _0x5faa40=_0xac9521;this['deleteUnitId'](_0x387fa1[_0x5faa40(0x283)]());}));}['_initLocale'](){const _0x26e267=_0x5bf728;this['_textInfo']=fo(this[_0x26e267(0x24a)],$o,'',{});}[_0x5bf728(0x230)](_0x275611){const _0x1709fa=_0x5bf728,{view:_0x575471,unitId:_0x475b03,subUnitId:_0x15b517,pivotTableId:_0x50df4f,type:_0x26aec6}=_0x275611,_0x266f1a=this[_0x1709fa(0x43c)][_0x1709fa(0x448)](_0x475b03,_0x15b517,_0x50df4f);if(!_0x575471||!_0x266f1a||_0x26aec6===$[_0x1709fa(0x346)])return;const {pageView:_0xb902b4,cornerView:_0x18431c,rowView:_0x395a03,colView:_0x29e2b3,dataView:_0x4021b8}=_0x575471,_0x6dbdc5=_0x266f1a[_0x1709fa(0x1d2)],_0x5bcf6e=_0x266f1a[_0x1709fa(0x37d)],_0x4e6c8f=this['_ensurePivotItemRenderValueMatrixCache'](_0x475b03,_0x15b517),_0x6c9810=this['_ensurePivotItemRenderInfoCache'](_0x475b03,_0x15b517,_0x50df4f);if(_0x5bcf6e)return this[_0x1709fa(0x41d)](_0x275611,_0x4e6c8f,_0x6dbdc5,_0x6c9810);{const _0x43a1e6=ge(_0x6dbdc5,_0xb902b4,!0x0),_0x13d490=_0xb902b4[_0x1709fa(0x1f9)]>=0x0?_0xb902b4[_0x1709fa(0x1f9)]+0x1:0x0,_0x18f68c=_0x18431c['getRowCount'](),_0x58c17d=_0x18431c['getColCount'](),_0x2303bc=_0x43a1e6[_0x1709fa(0x395)]>0x0?mt:0x0,_0x5b74ab=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc,'col':_0x6dbdc5[_0x1709fa(0x37a)]},_0x18431c,!0x1,!0x1),_0x1e256c=ge({'row':_0x6dbdc5['row']+_0x13d490+_0x2303bc+_0x18f68c,'col':_0x6dbdc5[_0x1709fa(0x37a)]},_0x395a03,!0x1,!0x0),_0x2027a1=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc,'col':_0x6dbdc5[_0x1709fa(0x37a)]+_0x58c17d},_0x29e2b3,!0x1,!0x0),_0x5f24c5=ge({'row':_0x6dbdc5[_0x1709fa(0x2f2)]+_0x13d490+_0x2303bc+_0x18f68c,'col':_0x6dbdc5['col']+_0x58c17d},_0x4021b8,!0x1,!0x1);_0x6c9810[_0x1709fa(0x247)]={'rowRanges':_0x1e256c,'colRanges':_0x2027a1,'cornerRanges':_0x5b74ab,'dataRanges':_0x5f24c5,'pageRanges':_0x43a1e6};const _0x38b2f9=yi(this['_injector'],_0x575471,_0x266f1a,this[_0x1709fa(0x26c)]),{valueMatrix:_0x3c57b8,rowInfo:_0x703a5c,colInfo:_0x154542,cornerInfo:_0x3c64bb,rowHeaderMap:_0x3f685f,colHeaderMap:_0x2fcb5f}=_0x38b2f9;return _0x6c9810[_0x1709fa(0x303)]={'rowInfo':_0x703a5c,'colInfo':_0x154542,'cornerInfo':_0x3c64bb},_0x6c9810[_0x1709fa(0x22d)]={'rowHeaderMap':_0x3f685f,'colHeaderMap':_0x2fcb5f},_0x3c57b8[_0x1709fa(0x28f)]((_0x5cc93c,_0x2a49e2)=>{const _0x23c190=_0x1709fa;Object[_0x23c190(0x3ab)](_0x2a49e2)[_0x23c190(0x28f)](_0xb7c031=>{const _0x55b63e=_0x23c190,_0x3fe418=+_0xb7c031,_0x2c57a3=_0x3c57b8[_0x55b63e(0x35b)](_0x5cc93c,_0x3fe418);_0x4e6c8f[_0x55b63e(0x26b)](_0x5cc93c,_0x3fe418,_0x2c57a3);});}),this[_0x1709fa(0x1e9)][_0x1709fa(0x216)]({'unitId':_0x475b03,'subUnitId':_0x15b517,'valueMatrix':_0x4e6c8f,'rangesCache':_0x6c9810[_0x1709fa(0x247)],'pivotTableId':_0x50df4f,'type':_0x275611['type']}),this[_0x1709fa(0x43c)]['updateViewInfo'](_0x475b03,_0x15b517,_0x50df4f,_0x4e6c8f,_0x6c9810[_0x1709fa(0x247)]),this[_0x1709fa(0x3dd)]['addExclusiveRange'](_0x475b03,_0x15b517,Lt,this['_createExclusiveRange'](_0x6c9810[_0x1709fa(0x247)],_0x50df4f)),{'rangeCache':_0x6c9810[_0x1709fa(0x247)],'matrix':_0x4e6c8f};}}[_0x5bf728(0x41d)](_0x43a625,_0x4eee2e,_0x15c5fa,_0x3bbfaf){const _0x171f09=_0x5bf728,_0x17fc8d=this[_0x171f09(0x323)]['t'],{unitId:_0x10c927,subUnitId:_0x1f524f,pivotTableId:_0x337d5a}=_0x43a625,_0xe17885={'filter':_0x17fc8d(_0x171f09(0x263)),'row':_0x17fc8d('sheets-pivot.emptyPivot.row'),'column':_0x17fc8d(_0x171f09(0x36c)),'values':_0x17fc8d('sheets-pivot.emptyPivot.values')},{matrixCache:_0x4348be,rangesCache:_0x33b43e}=Yo(_0xe17885,_0x15c5fa);return _0x4348be[_0x171f09(0x2f0)]((_0x4b3a45,_0x4aa550,_0x44958a)=>{const _0x3e4e6f=_0x171f09;_0x4eee2e[_0x3e4e6f(0x26b)](_0x4b3a45,_0x4aa550,_0x44958a);}),_0x3bbfaf[_0x171f09(0x247)]=_0x33b43e,this[_0x171f09(0x1e9)]['next']({'unitId':_0x10c927,'subUnitId':_0x1f524f,'valueMatrix':_0x4eee2e,'rangesCache':_0x33b43e,'pivotTableId':_0x337d5a,'type':_0x43a625[_0x171f09(0x2bb)],'isEmpty':!0x0}),this[_0x171f09(0x43c)][_0x171f09(0x3ad)](_0x10c927,_0x1f524f,_0x337d5a,_0x4eee2e,_0x33b43e),this[_0x171f09(0x3dd)][_0x171f09(0x338)](_0x10c927,_0x1f524f,Lt,this[_0x171f09(0x433)](_0x33b43e,_0x337d5a)),{'rangeCache':_0x3bbfaf[_0x171f09(0x247)],'matrix':_0x4eee2e};}[_0x5bf728(0x433)](_0x533dba,_0xd6e097){const _0x3128d7=_0x5bf728,_0x499271=[],_0x32886a=$t(_0x533dba);for(const _0x11bed9 of _0x32886a)_0x499271[_0x3128d7(0x42a)]({'groupId':_0xd6e097,'range':_0x11bed9});return _0x499271;}['clearRenderCache'](_0x162761){const _0x37a0ac=_0x5bf728;var _0x5e2723,_0x12a4fe,_0x2c5751,_0x2e7890;const {pivotTableId:_0x18d9e6,unitId:_0x4a2757,subUnitId:_0x5ef9d2}=_0x162761;if(!_0x18d9e6||!_0x4a2757||!_0x5ef9d2)return;const _0x59ab03=this['_ensurePivotItemRenderValueMatrixCache'](_0x4a2757,_0x5ef9d2),_0x7dbcf1=(_0x12a4fe=(_0x5e2723=this['_pivotRenderInfoCache'][_0x37a0ac(0x21b)](_0x4a2757))==null?void 0x0:_0x5e2723[_0x37a0ac(0x21b)](_0x5ef9d2))==null?void 0x0:_0x12a4fe['get'](_0x18d9e6);if(_0x7dbcf1!=null&&_0x7dbcf1[_0x37a0ac(0x247)]){for(const _0x1c4a90 of Object[_0x37a0ac(0x3ab)](_0x7dbcf1[_0x37a0ac(0x247)]))_0x7dbcf1[_0x37a0ac(0x247)][_0x1c4a90]['forEach'](_0x4f3627=>{const _0x1ab766=_0x37a0ac;for(let _0x52af42=_0x4f3627[_0x1ab766(0x373)];_0x52af42<=_0x4f3627['endRow'];_0x52af42++)for(let _0x1aa948=_0x4f3627[_0x1ab766(0x3d2)];_0x1aa948<=_0x4f3627[_0x1ab766(0x3cd)];_0x1aa948++)_0x59ab03[_0x1ab766(0x290)](_0x52af42,_0x1aa948);});}_0x7dbcf1&&((_0x2e7890=(_0x2c5751=this['_pivotRenderInfoCache'][_0x37a0ac(0x21b)](_0x4a2757))==null?void 0x0:_0x2c5751[_0x37a0ac(0x21b)](_0x5ef9d2))==null||_0x2e7890['delete'](_0x18d9e6)),this[_0x37a0ac(0x1e9)]['next']({'unitId':_0x4a2757,'subUnitId':_0x5ef9d2,'valueMatrix':_0x59ab03,'pivotTableId':_0x18d9e6,'rangesCache':void 0x0,'type':_0x162761['type']}),this['_exclusiveRangeService'][_0x37a0ac(0x318)](_0x4a2757,_0x5ef9d2,Lt,_0x18d9e6);}[_0x5bf728(0x1f1)](_0x18233f,_0xbb0cc5,_0x5b1548){const _0x1099fb=_0x5bf728;var _0x1d855b,_0x1a9d35,_0x15d337,_0x1e12af,_0xadfc19,_0x4d6418;return this[_0x1099fb(0x32a)]['has'](_0x18233f)||this[_0x1099fb(0x32a)][_0x1099fb(0x2e3)](_0x18233f,new Map()),(_0x1d855b=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))!=null&&_0x1d855b[_0x1099fb(0x1ff)](_0xbb0cc5)||(_0x1a9d35=this[_0x1099fb(0x32a)]['get'](_0x18233f))==null||_0x1a9d35[_0x1099fb(0x2e3)](_0xbb0cc5,new Map()),(_0x1e12af=(_0x15d337=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))==null?void 0x0:_0x15d337[_0x1099fb(0x21b)](_0xbb0cc5))!=null&&_0x1e12af[_0x1099fb(0x1ff)](_0x5b1548)||(_0x4d6418=(_0xadfc19=this[_0x1099fb(0x32a)][_0x1099fb(0x21b)](_0x18233f))==null?void 0x0:_0xadfc19['get'](_0xbb0cc5))==null||_0x4d6418[_0x1099fb(0x2e3)](_0x5b1548,{}),this['_pivotRenderInfoCache']['get'](_0x18233f)['get'](_0xbb0cc5)[_0x1099fb(0x21b)](_0x5b1548);}[_0x5bf728(0x404)](_0x4d80cf,_0x19d646){const _0x1e77b1=_0x5bf728;var _0x260f49,_0x141451;return this[_0x1e77b1(0x372)][_0x1e77b1(0x1ff)](_0x4d80cf)||this[_0x1e77b1(0x372)]['set'](_0x4d80cf,new Map()),(_0x260f49=this[_0x1e77b1(0x372)]['get'](_0x4d80cf))!=null&&_0x260f49['has'](_0x19d646)||(_0x141451=this['_pivotRenderValueMatrixCache']['get'](_0x4d80cf))==null||_0x141451[_0x1e77b1(0x2e3)](_0x19d646,new _0x43fcd2()),this[_0x1e77b1(0x372)][_0x1e77b1(0x21b)](_0x4d80cf)['get'](_0x19d646);}[_0x5bf728(0x2a4)](_0x2fdc7f,_0x32bebf,_0x551d3f,_0xc94528){const _0x24cf49=_0x5bf728;var _0x7f6cc8,_0xfc64e8;const _0x457b28=(_0xfc64e8=(_0x7f6cc8=this[_0x24cf49(0x372)][_0x24cf49(0x21b)](_0x2fdc7f))==null?void 0x0:_0x7f6cc8[_0x24cf49(0x21b)](_0x32bebf))==null?void 0x0:_0xfc64e8[_0x24cf49(0x35b)](_0x551d3f,_0xc94528);if(_0x457b28!=null)return _0x457b28;}['getPivotTableIdByCell'](_0x358ebe,_0x4641a8,_0xf35e53,_0x333245){const _0xee8d81=_0x5bf728;var _0x3c3ac9;const _0x12ee7b=_0x5508a5(_0xf35e53,_0x333245),_0x18df54=(_0x3c3ac9=this[_0xee8d81(0x32a)]['get'](_0x358ebe))==null?void 0x0:_0x3c3ac9['get'](_0x4641a8);return _0x18df54?Array[_0xee8d81(0x200)](_0x18df54['keys']())[_0xee8d81(0x2aa)](_0x139be2=>{const _0x3e0bf6=_0xee8d81,_0x3a5c50=_0x18df54[_0x3e0bf6(0x21b)](_0x139be2),_0x2ef601=_0x3a5c50==null?void 0x0:_0x3a5c50['rangesInfo'];return _0x2ef601?Object['keys'](_0x2ef601)[_0x3e0bf6(0x27c)](_0xbd876f=>_0x2ef601[_0xbd876f]['some'](_0x2ce601=>_0x3d3208['contains'](_0x2ce601,_0x12ee7b))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x2fe227,_0x43c189,_0x1e50ec){const _0x857b0e=_0x5bf728;var _0x2a03de;const _0x44560b=(_0x2a03de=this[_0x857b0e(0x32a)]['get'](_0x2fe227))==null?void 0x0:_0x2a03de[_0x857b0e(0x21b)](_0x43c189),_0x481486=[];return _0x44560b&&Array[_0x857b0e(0x200)](_0x44560b[_0x857b0e(0x3ab)]())['forEach'](_0x2be0f0=>{const _0x33cea2=_0x857b0e,_0x522d0e=_0x44560b[_0x33cea2(0x21b)](_0x2be0f0),_0xcd90fd=_0x522d0e==null?void 0x0:_0x522d0e[_0x33cea2(0x247)];if(_0xcd90fd)for(const _0x2fa7b0 of Object[_0x33cea2(0x2eb)](_0xcd90fd)){let _0x46a525=!0x1;for(const _0x248e4d of _0x2fa7b0)if(_0x3d3208[_0x33cea2(0x264)](_0x248e4d,_0x1e50ec)){_0x481486[_0x33cea2(0x42a)](_0x2be0f0),_0x46a525=!0x0;break;}if(_0x46a525)break;}}),_0x481486;}[_0x5bf728(0x288)](_0x341ef7,_0x4d015a){const _0x2bd1fb=_0x5bf728;var _0x2d56a1,_0x16643b;return(_0x16643b=(_0x2d56a1=this[_0x2bd1fb(0x372)]['get'](_0x341ef7))==null?void 0x0:_0x2d56a1['get'](_0x4d015a))!=null?_0x16643b:new _0x43fcd2();}[_0x5bf728(0x2c7)](_0x244af0,_0x46679a){const _0x130930=_0x5bf728;var _0x505e71;return(_0x505e71=this[_0x130930(0x32a)]['get'](_0x244af0))==null?void 0x0:_0x505e71['get'](_0x46679a);}[_0x5bf728(0x3a6)](_0x23e94b,_0x39965d,_0x1b3747){const _0x2ac0cd=_0x5bf728;var _0x321bc7,_0x1f3c2b;return(_0x1f3c2b=(_0x321bc7=this[_0x2ac0cd(0x32a)][_0x2ac0cd(0x21b)](_0x23e94b))==null?void 0x0:_0x321bc7[_0x2ac0cd(0x21b)](_0x39965d))==null?void 0x0:_0x1f3c2b[_0x2ac0cd(0x21b)](_0x1b3747);}[_0x5bf728(0x3b5)](_0x2786a0){const _0x53fcdb=_0x5bf728;this[_0x53fcdb(0x32a)]['delete'](_0x2786a0),this[_0x53fcdb(0x372)]['delete'](_0x2786a0);}[_0x5bf728(0x2fe)](_0x5bede3,_0x5267a7){const _0x4b569f=_0x5bf728;this[_0x4b569f(0x211)][_0x4b569f(0x216)]({'unitId':_0x5bede3,'subUnitId':_0x5267a7});}};Ne=Xi([st(0x0,_0x360cfb(_0x2a9621)),st(0x1,_0x360cfb(_0x121ef7)),st(0x2,_0x360cfb(ve)),st(0x3,_0x360cfb(_0x2fecb8)),st(0x4,_0x360cfb(_0x1b55aa))],Ne);var Zi=Object[_0x5bf728(0x3a1)],es=(_0x3a85ca,_0x32c9fc,_0x229468,_0xad1f79)=>{const _0x396924=_0x5bf728;for(var _0x25fae0=_0xad1f79>0x1?void 0x0:_0xad1f79?Zi(_0x32c9fc,_0x229468):_0x32c9fc,_0x5cc307=_0x3a85ca[_0x396924(0x395)]-0x1,_0x107e99;_0x5cc307>=0x0;_0x5cc307--)(_0x107e99=_0x3a85ca[_0x5cc307])&&(_0x25fae0=_0x107e99(_0x25fae0)||_0x25fae0);return _0x25fae0;},wo=(_0x2ab384,_0x3353fb)=>(_0x3a7bcf,_0x221d91)=>_0x3353fb(_0x3a7bcf,_0x221d91,_0x2ab384);let ie=class extends _0x25f1fb{constructor(_0x2313d0,_0x5b5084){const _0x5d3ba2=_0x5bf728;super(),V(this,_0x5d3ba2(0x3d0),new _0x108fc1({'PIVOT_PERFORM_CHECK':be})),V(this,_0x5d3ba2(0x34c),new _0x51d859({'PIVOT_MUTATION_GENERATE':jo})),(this[_0x5d3ba2(0x3b9)]=_0x2313d0,this[_0x5d3ba2(0x1f5)]=_0x5b5084,this['_init']());}['_init'](){const _0xd32d53=_0x5bf728;this[_0xd32d53(0x2c5)]();}[_0x5bf728(0x384)](_0x5f3818){const _0x5d5570=_0x5bf728;return this[_0x5d5570(0x3d0)][_0x5d5570(0x447)](be)(!0x1,_0x5f3818);}[_0x5bf728(0x2c5)](){const _0x1709ac=_0x5bf728;this['disposeWithMe'](this[_0x1709ac(0x3b9)][_0x1709ac(0x25f)](_0xa62e49[_0x1709ac(0x357)],{'priority':0xc8,'effect':_0x393181[_0x1709ac(0x409)]|_0x393181[_0x1709ac(0x396)],'handler':(_0x244997,_0x19411b,_0x2cf20a)=>{const _0x49ae2a=_0x1709ac,{row:_0x2edae8,col:_0x5b6a6c,unitId:_0xdb8719,subUnitId:_0x461f73,workbook:_0x18003a}=_0x19411b,_0x1e6478=this[_0x49ae2a(0x1f5)][_0x49ae2a(0x2a4)](_0xdb8719,_0x461f73,_0x2edae8,_0x5b6a6c);if(!_0x1e6478)return _0x2cf20a(_0x244997);const _0x452cc3={..._0x244997};(_0x1e6478['v']||_0x1e6478['v']===0x0)&&(_0x452cc3['v']=_0x1e6478['v']),_0x1e6478['t']&&(_0x452cc3['t']=_0x1e6478['t']);const _0x15d5f8=(typeof(_0x244997==null?void 0x0:_0x244997['s'])=='string'?_0x18003a[_0x49ae2a(0x1fb)]()[_0x49ae2a(0x21b)](_0x244997==null?void 0x0:_0x244997['s']):_0x244997==null?void 0x0:_0x244997['s'])||{},_0x2af019=_0x18003a[_0x49ae2a(0x1fb)]()[_0x49ae2a(0x21b)](_0x1e6478['s']),_0x48541f={..._0x2af019,..._0x15d5f8};_0x2af019!=null&&_0x2af019['n']&&(_0x48541f['n']=_0x2af019['n']);const _0xe5f6c3=_0x18003a['getStyles']()[_0x49ae2a(0x26b)](_0x48541f);return _0x452cc3['s']=_0xe5f6c3,(_0x1e6478[_0x49ae2a(0x2c4)]===_0x2a40d9['Collapse']||_0x1e6478[_0x49ae2a(0x2c4)]===_0x2a40d9[_0x49ae2a(0x316)])&&(_0x452cc3['fontRenderExtension']={},_0x452cc3[_0x49ae2a(0x2ab)][_0x49ae2a(0x20b)]=li),_0x2cf20a(_0x452cc3);}}));}};ie=es([wo(0x0,_0x360cfb(_0x34849c)),wo(0x1,_0x360cfb(Ne))],ie);const Qo={'id':_0x5bf728(0x268),'type':_0x56fcc3[_0x5bf728(0x331)],'handler':(_0x9b78bb,_0x24f576)=>{const _0x30697e=_0x5bf728;if(!_0x24f576)return!0x1;if(!!_0x9b78bb[_0x30697e(0x21b)](_0x224426)[_0x30697e(0x3fb)](z))return!0x0;const {pivotTableId:_0x1d8b37,fieldJSON:_0x31a4fa,unitId:_0x2762fc,subUnitId:_0x91b061}=_0x24f576;let _0x10db61;const {dataFieldType:_0x5707cb,id:_0x3d8761,name:_0x585dc2,hexCode:_0x2d9f05,originalFieldId:_0x474f79}=_0x31a4fa;if(_0x5707cb===_0x3b6834[_0x30697e(0x256)]&&(_0x10db61=new _0x239928(_0x3d8761,_0x585dc2,_0x2d9f05,_0x474f79)),!_0x10db61)return!0x1;const _0x18cd37=_0x9b78bb['get'](G),_0x39480b=_0x18cd37['getDataFieldManager'](_0x2762fc),_0x5dab14=_0x39480b[_0x30697e(0x28d)](_0x1d8b37);_0x39480b[_0x30697e(0x209)](_0x10db61),_0x5dab14[_0x30697e(0x336)](_0x10db61[_0x30697e(0x3f9)](),_0x10db61[_0x30697e(0x3a4)]());const _0x419c4b=_0x5dab14[_0x30697e(0x437)](_0x10db61[_0x30697e(0x213)]());_0x419c4b&&_0x10db61[_0x30697e(0x237)](_0x419c4b);const _0xf6d44a=_0x18cd37[_0x30697e(0x448)](_0x2762fc,_0x91b061,_0x1d8b37);return _0x18cd37['addDirtyPivotTable']({'unitId':_0x2762fc,'subUnitId':_0x91b061,'token':_0x1d8b37,'type':$[_0x30697e(0x225)],'pivotConfig':_0xf6d44a}),!0x0;}},Xo={'id':_0x5bf728(0x1ec),'type':_0x56fcc3[_0x5bf728(0x331)],'handler':(_0x385170,_0x163f5d)=>{const _0x5b3e5e=_0x5bf728;if(!_0x163f5d)return!0x1;if(!!_0x385170['get'](_0x224426)[_0x5b3e5e(0x3fb)](z))return!0x0;const {pivotTableId:_0x39c2af,dataFieldId:_0x429e76,unitId:_0x34d131,subUnitId:_0x2ee88b}=_0x163f5d,_0x53ecdb=_0x385170['get'](G),_0x31fc9e=_0x53ecdb[_0x5b3e5e(0x23e)](_0x34d131);_0x31fc9e[_0x5b3e5e(0x28d)](_0x39c2af)['deleteField'](_0x429e76);let _0x305bd=!0x0;for(const _0x210583 in _0x31fc9e['collections'])if(_0x31fc9e[_0x5b3e5e(0x278)][_0x210583]['getFieldIds']()[_0x5b3e5e(0x223)](_0x429e76)){_0x305bd=!0x1;break;}_0x305bd&&_0x31fc9e[_0x5b3e5e(0x406)](_0x429e76);const _0x1eae5e=_0x53ecdb[_0x5b3e5e(0x448)](_0x34d131,_0x2ee88b,_0x39c2af);return _0x53ecdb[_0x5b3e5e(0x393)]({'unitId':_0x34d131,'subUnitId':_0x2ee88b,'token':_0x39c2af,'type':$[_0x5b3e5e(0x225)],'pivotConfig':_0x1eae5e}),!0x0;}};function Nt(_0x6c95ae,_0xe8f73f){const _0x38687c=_0x5bf728;switch(_0xe8f73f){case _0x3a6ce8[_0x38687c(0x409)]:return _0x6c95ae[_0x38687c(0x3c5)];case _0x3a6ce8[_0x38687c(0x2d8)]:return _0x6c95ae[_0x38687c(0x21f)];case _0x3a6ce8['Row']:return _0x6c95ae[_0x38687c(0x335)];case _0x3a6ce8['Column']:return _0x6c95ae[_0x38687c(0x3a7)];default:return[];}}function Je(_0x2c5ad3,_0x3880cc){const _0x59ddc6=_0x5bf728;return _0x2c5ad3[_0x59ddc6(0x29e)][_0x3880cc]||_0x2c5ad3[_0x59ddc6(0x26a)][_0x3880cc];}function ts(_0x3b0f53,_0x55f521){const _0x66a4e0=_0x5bf728,{area:_0x43cd02,fieldJson:_0x5e428d,index:_0x36af46}=_0x55f521;_0x43cd02===_0x3a6ce8[_0x66a4e0(0x409)]?_0x3b0f53[_0x66a4e0(0x29e)][_0x5e428d['id']]=_0x5e428d:_0x3b0f53[_0x66a4e0(0x26a)][_0x5e428d['id']]=_0x5e428d,Nt(_0x3b0f53,_0x43cd02)[_0x66a4e0(0x32e)](_0x36af46,0x0,_0x5e428d['id']);}function os(_0x411d57,_0x2acfee){const _0x56b541=_0x5bf728,{area:_0x5872ac,fieldId:_0x55e18d,index:_0x424f34}=_0x2acfee;_0x5872ac===_0x3a6ce8[_0x56b541(0x409)]?delete _0x411d57['measure'][_0x55e18d]:delete _0x411d57['dimension'][_0x55e18d],Nt(_0x411d57,_0x5872ac)[_0x56b541(0x32e)](_0x424f34,0x1);}function ns(_0x34c1c6,_0x5bb838){const {fieldId:_0x260c6e,name:_0x3a4138}=_0x5bb838,_0x52b20d=Je(_0x34c1c6,_0x260c6e);_0x52b20d&&(_0x52b20d['displayName']=_0x3a4138);}function is(_0x40cd09,_0x27e6cd){const _0x444636=_0x5bf728,{fieldId:_0x229261,collapse:_0x519f08,item:_0x3c859f}=_0x27e6cd;_0x3c859f!==void 0x0?(_0x40cd09[_0x444636(0x31e)][_0x229261]=_0x40cd09[_0x444636(0x31e)][_0x229261]||{},_0x40cd09[_0x444636(0x31e)][_0x229261][_0x3c859f]=_0x519f08):_0x40cd09[_0x444636(0x31e)][_0x229261]=_0x519f08;}function ss(_0x273da7,_0x1af4df){const _0x39c47=_0x5bf728,{fieldId:_0x44449a,format:_0x4b00e7}=_0x1af4df,_0x4c3b72=Je(_0x273da7,_0x44449a);_0x4c3b72&&(_0x4c3b72[_0x39c47(0x369)]=_0x4b00e7);}function as(_0x3c7502,_0x1fc874){const _0x34320a=_0x5bf728,{fieldId:_0x35fbcc,filterInfo:_0x17475b}=_0x1fc874,_0xce7cd0=Je(_0x3c7502,_0x35fbcc);_0xce7cd0&&(_0xce7cd0[_0x34320a(0x2b7)]=_0x17475b);}function rs(_0x5149d5,_0x119caf){const _0x422123=_0x5bf728,{fieldId:_0x1668ac,filterInfo:_0x194ef6}=_0x119caf,_0x362fd=_0x5149d5['valueFilter'][_0x422123(0x3c6)](_0x50ebad=>_0x50ebad[_0x422123(0x20c)]!==_0x1668ac);_0x194ef6&&_0x362fd['push']({'fieldId':_0x1668ac,'filterInfo':_0x194ef6}),_0x5149d5[_0x422123(0x3e4)]=_0x362fd;}function ls(_0x29d228,_0x4de7e1){const _0x440492=_0x5bf728,{fieldId:_0x3bbdb7,subtotalType:_0x5816ff}=_0x4de7e1,_0x8b4c8a=Je(_0x29d228,_0x3bbdb7);_0x8b4c8a&&(_0x8b4c8a[_0x440492(0x42f)]=_0x5816ff);}function cs(_0x20cf7e,_0x382c32){const _0x4fb8eb=_0x5bf728,{fieldId:_0x1136a7,oldArea:_0x4fe52c,area:_0x153b78,oldIndex:_0x127f91,index:_0x5cde33}=_0x382c32,_0x57e9d9=_0x4fe52c!==_0x3a6ce8[_0x4fb8eb(0x409)]&&_0x153b78===_0x3a6ce8[_0x4fb8eb(0x409)],_0x466393=_0x4fe52c===_0x3a6ce8[_0x4fb8eb(0x409)]&&_0x153b78!==_0x3a6ce8[_0x4fb8eb(0x409)];if(_0x57e9d9||_0x466393){const _0x526a3f=Je(_0x20cf7e,_0x1136a7);_0x526a3f&&(_0x57e9d9?(delete _0x20cf7e[_0x4fb8eb(0x26a)][_0x1136a7],_0x20cf7e[_0x4fb8eb(0x29e)][_0x1136a7]=_0x526a3f):(delete _0x20cf7e[_0x4fb8eb(0x29e)][_0x1136a7],_0x20cf7e['dimension'][_0x1136a7]=_0x526a3f));}const _0x2bd75e=Nt(_0x20cf7e,_0x4fe52c),_0x407b78=Nt(_0x20cf7e,_0x153b78);_0x2bd75e[_0x4fb8eb(0x32e)](_0x127f91,0x1),_0x407b78[_0x4fb8eb(0x32e)](_0x5cde33,0x0,_0x1136a7);}function ds(_0x574bdb,_0x3d3c8d){const _0x4c17dc=_0x5bf728,{valuePosition:_0x12d4c0,index:_0x4e0a6d}=_0x3d3c8d;_0x574bdb[_0x4c17dc(0x376)]=_0x12d4c0,_0x574bdb[_0x4c17dc(0x3c2)]=_0x4e0a6d;}function us(_0x2acd03,_0x18029a){const _0x1921f8=_0x5bf728,{tableFieldId:_0x546727,sourceName:_0x43c2ff,dataFieldId:_0x30ac44}=_0x18029a,_0x29d292=Je(_0x2acd03,_0x546727);_0x29d292&&(_0x29d292[_0x1921f8(0x2cd)]=_0x43c2ff,_0x29d292['dataFieldId']=_0x30ac44);}function fs(_0x335d4c,_0x4733a3){const _0x8f306=_0x5bf728,{fieldId:_0x470ebf,sortInfo:_0xe493ed}=_0x4733a3,_0x44846d=Je(_0x335d4c,_0x470ebf);_0x44846d&&(_0x44846d[_0x8f306(0x36e)]=_0xe493ed);}function gs(_0x4c5383,_0x821784){const _0x3c7340=_0x5bf728,{options:_0x3aa417}=_0x821784;_0x4c5383[_0x3c7340(0x2e8)]={..._0x4c5383[_0x3c7340(0x2e8)],..._0x3aa417};}const Gt={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x3589cd,_0xf1a0f2){const _0x551df4=_0x5bf728;if(!_0xf1a0f2)return!0x1;if(!!_0x3589cd['get'](_0x224426)['getConfig'](z))return!0x0;const _0x4c07ff=_0x3589cd['get'](G),{pivotTableId:_0xc7f003,fieldJson:_0x6c20cf,area:_0x47db40,index:_0x2cb1e4,unitId:_0x501f02,subUnitId:_0x42a979}=_0xf1a0f2,_0x4f6592=_0x4c07ff['getPivotTableInstance'](_0xc7f003);if(!_0x4f6592)return!0x1;let _0x3832b1;_0x47db40===_0x3a6ce8[_0x551df4(0x409)]?_0x3832b1=_0x387f7f(_0x6c20cf):_0x3832b1=_0x454170(_0x6c20cf),_0x4f6592[_0x551df4(0x336)](_0x3832b1,_0x47db40,_0x2cb1e4);const _0x5e9f89=_0x4c07ff['getPivotTableModelConfig'](_0x501f02,_0x42a979,_0xc7f003);ts(_0x5e9f89,_0xf1a0f2);const _0x55b46d=_0x4c07ff['getPivotTableConfig'](_0x501f02,_0x42a979,_0xc7f003);return _0x4c07ff[_0x551df4(0x393)]({'unitId':_0x501f02,'subUnitId':_0x42a979,'token':_0xc7f003,'type':$[_0x551df4(0x225)],'pivotConfig':_0x55b46d}),!0x0;}},jt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x22c),'handler'(_0x5f1db9,_0x584c6a){const _0x293646=_0x5bf728;if(!_0x584c6a)return!0x1;if(!!_0x5f1db9[_0x293646(0x21b)](_0x224426)[_0x293646(0x3fb)](z))return!0x0;const _0xb2e46e=_0x5f1db9['get'](G),{pivotTableId:_0x26a42b,fieldId:_0x1ab983,unitId:_0x15ebb6,subUnitId:_0x250e1d}=_0x584c6a,_0x5450c6=_0xb2e46e[_0x293646(0x24c)](_0x26a42b);if(!_0x5450c6)return!0x1;_0x5450c6[_0x293646(0x2a5)](_0x1ab983);const _0x3e7743=_0xb2e46e[_0x293646(0x379)](_0x15ebb6,_0x250e1d,_0x26a42b);os(_0x3e7743,_0x584c6a);const _0x5d26cf=_0xb2e46e[_0x293646(0x448)](_0x15ebb6,_0x250e1d,_0x26a42b);return _0xb2e46e[_0x293646(0x393)]({'unitId':_0x15ebb6,'subUnitId':_0x250e1d,'token':_0x26a42b,'type':$[_0x293646(0x225)],'pivotConfig':_0x5d26cf}),!0x0;}},Jt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x30f),'handler'(_0x1dfdd2,_0x1f5b31){const _0x5253da=_0x5bf728;if(!_0x1f5b31)return!0x1;if(!!_0x1dfdd2[_0x5253da(0x21b)](_0x224426)[_0x5253da(0x3fb)](z))return!0x0;const _0x3d91ac=_0x1dfdd2[_0x5253da(0x21b)](G),{unitId:_0x49a5b9,subUnitId:_0x1a9ad1,pivotTableId:_0x4ae8a2,fieldId:_0x214ad6,name:_0x2996eb}=_0x1f5b31,_0x5d0085=_0x3d91ac['getPivotTableInstance'](_0x4ae8a2);if(!_0x5d0085)return!0x1;_0x5d0085[_0x5253da(0x40a)](_0x214ad6,_0x2996eb);const _0x589d45=_0x3d91ac[_0x5253da(0x379)](_0x49a5b9,_0x1a9ad1,_0x4ae8a2);return ns(_0x589d45,_0x1f5b31),_0x3d91ac[_0x5253da(0x393)]({'unitId':_0x49a5b9,'subUnitId':_0x1a9ad1,'token':_0x4ae8a2,'type':$[_0x5253da(0x225)]}),!0x0;}},Wt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x47e5d9,_0x2d1a36){const _0x5e246d=_0x5bf728;if(!_0x2d1a36)return!0x1;if(!!_0x47e5d9['get'](_0x224426)[_0x5e246d(0x3fb)](z))return!0x0;const _0xe00c88=_0x47e5d9[_0x5e246d(0x21b)](G),{unitId:_0x3fcba2,subUnitId:_0x4e18dc,pivotTableId:_0x431c1d,fieldId:_0x2c2579,collapse:_0x17c4ce,item:_0x5dded1}=_0x2d1a36,_0x3c394b=_0xe00c88[_0x5e246d(0x24c)](_0x431c1d);if(!_0x3c394b)return!0x1;_0x3c394b[_0x5e246d(0x38d)](_0x2c2579,_0x17c4ce,_0x5dded1);const _0x74cca7=_0xe00c88['getPivotTableModelConfig'](_0x3fcba2,_0x4e18dc,_0x431c1d);return is(_0x74cca7,_0x2d1a36),_0xe00c88[_0x5e246d(0x393)]({'unitId':_0x3fcba2,'subUnitId':_0x4e18dc,'token':_0x431c1d,'type':$[_0x5e246d(0x225)]}),!0x0;}},Yt={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x42c),'handler'(_0x252112,_0x53087d){const _0x210003=_0x5bf728;if(!_0x53087d)return!0x1;if(!!_0x252112[_0x210003(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x244746=_0x252112[_0x210003(0x21b)](G),{unitId:_0x4014c2,subUnitId:_0x18dd40,pivotTableId:_0x149a6f,fieldId:_0x39b88f,format:_0x219bef}=_0x53087d,_0x1e941e=_0x244746[_0x210003(0x24c)](_0x149a6f);if(!_0x1e941e)return!0x1;_0x1e941e[_0x210003(0x419)](_0x39b88f,_0x219bef);const _0x43afc3=_0x244746[_0x210003(0x379)](_0x4014c2,_0x18dd40,_0x149a6f);return ss(_0x43afc3,_0x53087d),_0x244746[_0x210003(0x393)]({'unitId':_0x4014c2,'subUnitId':_0x18dd40,'token':_0x149a6f,'type':$['Set']}),!0x0;}},Kt={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x366ba3,_0x20bc9c){const _0x19555d=_0x5bf728;if(!_0x20bc9c)return!0x1;if(!!_0x366ba3[_0x19555d(0x21b)](_0x224426)[_0x19555d(0x3fb)](z))return!0x0;const _0x5e36ba=_0x366ba3[_0x19555d(0x21b)](G),{unitId:_0x10cc74,subUnitId:_0x1e5937,pivotTableId:_0x644cc6,fieldId:_0x282ceb,filterInfo:_0x2241f6}=_0x20bc9c,_0x20bd50=_0x5e36ba[_0x19555d(0x24c)](_0x644cc6);if(!_0x20bd50)return!0x1;_0x20bd50[_0x19555d(0x1dc)](_0x282ceb,_0x2241f6);const _0x380b12=_0x5e36ba['getPivotTableModelConfig'](_0x10cc74,_0x1e5937,_0x644cc6);return as(_0x380b12,_0x20bc9c),_0x5e36ba['addDirtyPivotTable']({'unitId':_0x10cc74,'subUnitId':_0x1e5937,'token':_0x644cc6,'type':$[_0x19555d(0x225)]}),!0x0;}},Ht={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x250668,_0x560fe4){const _0x507d58=_0x5bf728;if(!_0x560fe4)return!0x1;if(!!_0x250668['get'](_0x224426)[_0x507d58(0x3fb)](z))return!0x0;const _0x333d23=_0x250668[_0x507d58(0x21b)](G),{unitId:_0x431e39,subUnitId:_0x30b4c3,pivotTableId:_0x5d1741,options:_0x3620bf}=_0x560fe4,_0x679ac=_0x333d23[_0x507d58(0x24c)](_0x5d1741);if(!_0x679ac)return!0x1;_0x679ac[_0x507d58(0x215)](_0x3620bf);const _0xf8ca68=_0x333d23[_0x507d58(0x379)](_0x431e39,_0x30b4c3,_0x5d1741);return gs(_0xf8ca68,_0x560fe4),_0x333d23['addDirtyPivotTable']({'unitId':_0x431e39,'subUnitId':_0x30b4c3,'token':_0x5d1741,'type':$[_0x507d58(0x225)]}),!0x0;}},qt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x21abc4,_0xfc10d4){const _0x4a1cbd=_0x5bf728;if(!_0xfc10d4)return!0x1;if(!!_0x21abc4[_0x4a1cbd(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x51a42e=_0x21abc4[_0x4a1cbd(0x21b)](G),{unitId:_0x3867c2,subUnitId:_0x50c133,pivotTableId:_0x26c71a,sortInfo:_0x3a7dfa,fieldId:_0x561559}=_0xfc10d4,_0x3b9b6e=_0x51a42e[_0x4a1cbd(0x24c)](_0x26c71a);if(!_0x3b9b6e)return!0x1;_0x3b9b6e[_0x4a1cbd(0x39a)](_0x561559,_0x3a7dfa);const _0x547ef3=_0x51a42e[_0x4a1cbd(0x379)](_0x3867c2,_0x50c133,_0x26c71a);return fs(_0x547ef3,_0xfc10d4),_0x51a42e['addDirtyPivotTable']({'unitId':_0x3867c2,'subUnitId':_0x50c133,'token':_0x26c71a,'type':$[_0x4a1cbd(0x225)]}),!0x0;}},zt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x299),'handler'(_0x41e988,_0x411905){const _0x3b4602=_0x5bf728;if(!_0x411905)return!0x1;if(!!_0x41e988[_0x3b4602(0x21b)](_0x224426)[_0x3b4602(0x3fb)](z))return!0x0;const _0x1af289=_0x41e988['get'](G),{unitId:_0x58b9ad,subUnitId:_0x57d919,pivotTableId:_0x339b58,fieldId:_0x1e2712,subtotalType:_0x49b44b}=_0x411905,_0x3cd25b=_0x1af289['getPivotTableInstance'](_0x339b58);if(!_0x3cd25b)return!0x1;_0x3cd25b['setSubtotalType'](_0x1e2712,_0x49b44b);const _0x1132df=_0x1af289[_0x3b4602(0x379)](_0x58b9ad,_0x57d919,_0x339b58);return ls(_0x1132df,_0x411905),_0x1af289['addDirtyPivotTable']({'unitId':_0x58b9ad,'subUnitId':_0x57d919,'token':_0x339b58,'type':$['Set']}),!0x0;}},Qt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x3db),'handler'(_0x33c966,_0x1f3f15){const _0x1fe1a4=_0x5bf728;if(!_0x1f3f15)return!0x1;if(!!_0x33c966[_0x1fe1a4(0x21b)](_0x224426)[_0x1fe1a4(0x3fb)](z))return!0x0;const _0x381dea=_0x33c966[_0x1fe1a4(0x21b)](G),{unitId:_0x5c1172,subUnitId:_0x24bfe5,pivotTableId:_0xee511c,fieldId:_0x1541fb,filterInfo:_0x3e6789}=_0x1f3f15,_0x5b92ee=_0x381dea[_0x1fe1a4(0x24c)](_0xee511c);if(!_0x5b92ee)return!0x1;_0x5b92ee[_0x1fe1a4(0x452)](_0x1541fb,_0x3e6789);const _0x10963d=_0x381dea[_0x1fe1a4(0x379)](_0x5c1172,_0x24bfe5,_0xee511c);return rs(_0x10963d,_0x1f3f15),_0x381dea['addDirtyPivotTable']({'unitId':_0x5c1172,'subUnitId':_0x24bfe5,'token':_0xee511c,'type':$[_0x1fe1a4(0x225)]}),!0x0;}},Xt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x3a0c6f,_0xc5e2c0){const _0x48a9f5=_0x5bf728;if(!_0xc5e2c0)return!0x1;if(!!_0x3a0c6f[_0x48a9f5(0x21b)](_0x224426)[_0x48a9f5(0x3fb)](z))return!0x0;const _0x59cb99=_0x3a0c6f['get'](G),{unitId:_0x4f157f,subUnitId:_0x12fedb,pivotTableId:_0x4d0c85,area:_0x35c44f,index:_0x4141df,fieldId:_0x8573c}=_0xc5e2c0,_0x391829=_0x59cb99['getPivotTableInstance'](_0x4d0c85);if(!_0x391829)return!0x1;_0x391829[_0x48a9f5(0x3f3)](_0x8573c,_0x35c44f,_0x4141df);const _0x3d6ac0=_0x59cb99[_0x48a9f5(0x379)](_0x4f157f,_0x12fedb,_0x4d0c85);return cs(_0x3d6ac0,_0xc5e2c0),_0x59cb99[_0x48a9f5(0x393)]({'unitId':_0x4f157f,'subUnitId':_0x12fedb,'token':_0x4d0c85,'type':$[_0x48a9f5(0x225)]}),!0x0;}},Zt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x33f),'handler'(_0x3c96b9,_0x51f21e){const _0x6f1448=_0x5bf728;if(!_0x51f21e)return!0x1;if(!!_0x3c96b9[_0x6f1448(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x3bd057=_0x3c96b9['get'](G),{unitId:_0x5645c1,subUnitId:_0xa1a540,pivotTableId:_0x199e01,sourceName:_0xb29533,dataFieldId:_0x16e141,tableFieldId:_0x922643}=_0x51f21e,_0x39687d=_0x3bd057[_0x6f1448(0x24c)](_0x199e01);if(!_0x39687d)return!0x1;_0x39687d[_0x6f1448(0x1f6)](_0x922643,_0xb29533,_0x16e141);const _0x67ab36=_0x3bd057[_0x6f1448(0x379)](_0x5645c1,_0xa1a540,_0x199e01);return us(_0x67ab36,_0x51f21e),_0x3bd057[_0x6f1448(0x393)]({'unitId':_0x5645c1,'subUnitId':_0xa1a540,'token':_0x199e01,'type':$[_0x6f1448(0x225)]}),!0x0;}},eo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x210),'handler'(_0x33e2f6,_0x3ade98){const _0x5776a1=_0x5bf728;if(!_0x3ade98)return!0x1;if(!!_0x33e2f6[_0x5776a1(0x21b)](_0x224426)['getConfig'](z))return!0x0;const _0x488e52=_0x33e2f6['get'](G),{unitId:_0xc96ad5,subUnitId:_0x9d3b9a,pivotTableId:_0x17d70e,valuePosition:_0x96b0d6,index:_0x3ccafd}=_0x3ade98,_0x5e0857=_0x488e52['getPivotTableInstance'](_0x17d70e);if(!_0x5e0857)return!0x1;_0x5e0857[_0x5776a1(0x29c)](_0x96b0d6,_0x3ccafd);const _0x3550dd=_0x488e52[_0x5776a1(0x379)](_0xc96ad5,_0x9d3b9a,_0x17d70e);return ds(_0x3550dd,_0x3ade98),_0x488e52[_0x5776a1(0x393)]({'unitId':_0xc96ad5,'subUnitId':_0x9d3b9a,'token':_0x17d70e,'type':$[_0x5776a1(0x225)]}),!0x0;}};function _0x279a(_0x3f53ae,_0x5b8750){const _0x461b08=_0x461b();return _0x279a=function(_0x279a27,_0x5eb7dc){_0x279a27=_0x279a27-0x1ca;let _0x2d7027=_0x461b08[_0x279a27];return _0x2d7027;},_0x279a(_0x3f53ae,_0x5b8750);}function Ce(_0x2f617a,_0x513bcf,_0x4f7eba){const _0x141f78=_0x5bf728,{pivotTableId:_0xaaa698,unitId:_0x1df4de,subUnitId:_0x429162}=_0x513bcf,_0x24724f=[],_0x152359=[];for(const _0x3a7cd3 of _0x4f7eba)switch(_0x3a7cd3['type']){case _0x13920a[_0x141f78(0x1ed)]:{const {fieldJson:_0x5d18be,area:_0xfbaa13,index:_0x13541f}=_0x3a7cd3,_0x3ecabc={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldJson':_0x5d18be,'area':_0xfbaa13,'index':_0x13541f},_0x3254f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5d18be['id'],'area':_0xfbaa13,'index':_0x13541f};_0x24724f[_0x141f78(0x42a)]({'id':Gt['id'],'params':_0x3ecabc}),_0x152359['unshift']({'id':jt['id'],'params':_0x3254f4});}break;case _0x13920a[_0x141f78(0x326)]:{const {fieldId:_0x4728d6,newSubtotalType:_0x105aed,oldSubtotalType:_0x58ef29}=_0x3a7cd3,_0x56d8ed={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x4728d6,'subtotalType':_0x105aed};_0x24724f[_0x141f78(0x42a)]({'id':zt['id'],'params':_0x56d8ed});const _0x44ab32={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x4728d6,'subtotalType':_0x58ef29};_0x152359['unshift']({'id':zt['id'],'params':_0x44ab32});}break;case _0x13920a[_0x141f78(0x451)]:{const {fieldId:_0x3847b6,fieldJson:_0x541202,area:_0x573572,index:_0x36f168}=_0x3a7cd3,_0x159442={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3847b6,'index':_0x36f168,'area':_0x573572};_0x24724f[_0x141f78(0x42a)]({'id':jt['id'],'params':_0x159442});const _0x2c2016={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldJson':_0x541202,'area':_0x573572,'index':_0x36f168};_0x152359[_0x141f78(0x392)]({'id':Gt['id'],'params':_0x2c2016});}break;case _0x13920a[_0x141f78(0x2d3)]:{const {fieldId:_0x1372d6,oldName:_0x578e6e,newName:_0x1f9e85}=_0x3a7cd3,_0xb0f465={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x1372d6,'name':_0x1f9e85};_0x24724f[_0x141f78(0x42a)]({'id':Jt['id'],'params':_0xb0f465});const _0x311f20={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x1372d6,'name':_0x578e6e};_0x152359[_0x141f78(0x392)]({'id':Jt['id'],'params':_0x311f20});}break;case _0x13920a['SetFilterInfo']:{const {fieldId:_0x552e04,oldFilterInfo:_0x1365b7,newFilterInfo:_0x350677}=_0x3a7cd3,_0x2d4b37={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x552e04,'filterInfo':_0x350677};_0x24724f[_0x141f78(0x42a)]({'id':Kt['id'],'params':_0x2d4b37});const _0x27b298={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x552e04,'filterInfo':_0x1365b7};_0x152359[_0x141f78(0x392)]({'id':Kt['id'],'params':_0x27b298});}break;case _0x13920a[_0x141f78(0x36b)]:{const {fieldId:_0x28fbdc,oldSortInfo:_0x1ed3a0,newSortInfo:_0x3a779c}=_0x3a7cd3,_0x242b32={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x28fbdc,'sortInfo':_0x3a779c};_0x24724f[_0x141f78(0x42a)]({'id':qt['id'],'params':_0x242b32});const _0x5c7ae0={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x28fbdc,'sortInfo':_0x1ed3a0};_0x152359[_0x141f78(0x392)]({'id':qt['id'],'params':_0x5c7ae0});}break;case _0x13920a[_0x141f78(0x405)]:{const {oldOptions:_0x332bf8,newOptions:_0x28fe1e}=_0x3a7cd3,_0x3ebce4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'options':_0x28fe1e};_0x24724f['push']({'id':Ht['id'],'params':_0x3ebce4});const _0xa3cd85={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'options':_0x332bf8};_0x152359[_0x141f78(0x392)]({'id':Ht['id'],'params':_0xa3cd85});}break;case _0x13920a[_0x141f78(0x257)]:{const {oldArea:_0x5edaa7,newArea:_0x21fcac,oldIndex:_0x260b94,newIndex:_0x1a733c,fieldId:_0x5b87ed}=_0x3a7cd3,_0x4349e7={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5b87ed,'area':_0x21fcac,'index':_0x1a733c,'oldArea':_0x5edaa7,'oldIndex':_0x260b94};_0x24724f[_0x141f78(0x42a)]({'id':Xt['id'],'params':_0x4349e7});const _0x2cbedc={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5b87ed,'area':_0x5edaa7,'index':_0x260b94,'oldArea':_0x21fcac,'oldIndex':_0x1a733c};_0x152359[_0x141f78(0x392)]({'id':Xt['id'],'params':_0x2cbedc});}break;case _0x13920a[_0x141f78(0x3bf)]:{const {oldValuePosition:_0x14fb16,newValuePosition:_0xc9f14a,oldIndex:_0xb4f678,newIndex:_0x4953c6}=_0x3a7cd3,_0x50582c={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'valuePosition':_0xc9f14a,'index':_0x4953c6};_0x24724f[_0x141f78(0x42a)]({'id':eo['id'],'params':_0x50582c});const _0x1914bf={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'valuePosition':_0x14fb16,'index':_0xb4f678};_0x152359['unshift']({'id':eo['id'],'params':_0x1914bf});}break;case _0x13920a[_0x141f78(0x39c)]:{const {fieldId:_0x5607b4,collapse:_0x59fa03,item:_0x1b3fb7}=_0x3a7cd3,_0x386486={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5607b4,'collapse':_0x59fa03,'item':_0x1b3fb7};_0x24724f[_0x141f78(0x42a)]({'id':Wt['id'],'params':_0x386486});const _0x2a2932={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x5607b4,'collapse':!_0x59fa03,'item':_0x1b3fb7};_0x152359[_0x141f78(0x392)]({'id':Wt['id'],'params':_0x2a2932});}break;case _0x13920a['SetFieldFormat']:{const {newFormat:_0x566696,oldFormat:_0x4b14ec,fieldId:_0x3b7dda}=_0x3a7cd3,_0x81b7f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3b7dda,'format':_0x566696};_0x24724f[_0x141f78(0x42a)]({'id':Yt['id'],'params':_0x81b7f4});const _0x2d27f4={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x3b7dda,'format':_0x4b14ec};_0x152359[_0x141f78(0x392)]({'id':Yt['id'],'params':_0x2d27f4});}break;case _0x13920a[_0x141f78(0x3aa)]:{const {tableFieldId:_0x5517d2,oldSourceName:_0x18ff56,newSourceName:_0x68782a,oldDataFieldId:_0x4d111f,newDataFieldId:_0x21121d}=_0x3a7cd3,_0x4f1ae8={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'tableFieldId':_0x5517d2,'sourceName':_0x68782a,'dataFieldId':_0x21121d};_0x24724f[_0x141f78(0x42a)]({'id':Zt['id'],'params':_0x4f1ae8});const _0x59908e={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'tableFieldId':_0x5517d2,'sourceName':_0x18ff56,'dataFieldId':_0x4d111f};_0x152359[_0x141f78(0x392)]({'id':Zt['id'],'params':_0x59908e});}break;case _0x13920a[_0x141f78(0x2ca)]:{const {fieldId:_0x31e16c,filterInfo:_0x433967,oldFilterInfo:_0x542c37}=_0x3a7cd3,_0x132d45={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x31e16c,'filterInfo':_0x433967};_0x24724f[_0x141f78(0x42a)]({'id':Qt['id'],'params':_0x132d45});const _0x1e04b9={'unitId':_0x1df4de,'subUnitId':_0x429162,'pivotTableId':_0xaaa698,'fieldId':_0x31e16c,'filterInfo':_0x542c37};_0x152359[_0x141f78(0x392)]({'id':Qt['id'],'params':_0x1e04b9});}}return{'redos':_0x24724f,'undos':_0x152359};}function _e(_0x18ee31,_0x3263fd){const _0x3c4905=_0x5bf728;var _0x4c7b51;const _0x2187fd=_0x18ee31[_0x3c4905(0x21b)](ie),{cellInfo:_0xc7232d,view:_0x81830a,isEmpty:_0x11d34a}=_0x3263fd;return(_0x4c7b51=_0x2187fd[_0x3c4905(0x34c)]['fetchThroughInterceptors'](jo)(To,{'cellInfo':_0xc7232d,'view':_0x81830a,'isEmpty':_0x11d34a}))!=null?_0x4c7b51:To;}const hs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2ba),async 'handler'(_0x4453b0,_0x4b902f){const _0x15b4e2=_0x5bf728;if(!_0x4b902f)return!0x1;const _0x439992=_0x4453b0[_0x15b4e2(0x21b)](_0x4e31c1),_0x4ab95f=_0x4453b0[_0x15b4e2(0x21b)](X),_0x377ce6=_0x4453b0[_0x15b4e2(0x21b)](_0x342a4e),{pivotTableId:_0xf89047,dataFieldId:_0x1675aa,fieldArea:_0x4d0c79,index:_0x7b1f27,unitId:_0x9a626f,subUnitId:_0x6fd4b3}=_0x4b902f,_0x19714f=(await _0x4ab95f[_0x15b4e2(0x382)]({'unitId':_0x9a626f,'subUnitId':_0x6fd4b3,'pivotTableId':_0xf89047,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x1675aa,'fieldArea':_0x4d0c79,'index':_0x7b1f27}}}))[_0x15b4e2(0x236)]['addPivotField'];if(!_0x19714f)return!0x1;const {view:_0x185ed9,changesets:_0x247ba9,isEmpty:_0x5efcfd,pivotTableConfig:_0x47530f,shouldBeAddedGroupJSON:_0x500123}=_0x19714f,_0x547097=_0x47530f[_0x15b4e2(0x1d2)],_0x4b3a3f=new _0x2089ac();_0x4b3a3f[_0x15b4e2(0x2b5)](_0x185ed9);const _0x3a15fc={'cellInfo':_0x547097,'view':_0x4b3a3f,'isEmpty':_0x5efcfd};if(!await _0x4453b0['get'](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3a15fc))return!0x1;const _0x101c71=we(_0x4453b0,_0x4b3a3f,_0x547097,_0x5efcfd),_0x28a9bf=_e(_0x4453b0,_0x3a15fc),{undos:_0x4a32ba,redos:_0x461afc}=Ce(_0x439992,{'pivotTableId':_0xf89047,'unitId':_0x9a626f,'subUnitId':_0x6fd4b3},_0x247ba9);return _0x500123&&(_0x461afc[_0x15b4e2(0x392)]({'id':Qo['id'],'params':{'pivotTableId':_0xf89047,'fieldJSON':_0x500123,'unitId':_0x9a626f,'subUnitId':_0x6fd4b3}}),_0x4a32ba[_0x15b4e2(0x42a)]({'id':Xo['id'],'params':{'pivotTableId':_0xf89047,'dataFieldId':_0x500123['id'],'unitId':_0x9a626f,'subUnitId':_0x6fd4b3}})),_0x3e4922([..._0x101c71[_0x15b4e2(0x43f)],..._0x28a9bf['redos'],..._0x461afc],_0x439992),_0x377ce6[_0x15b4e2(0x337)]({'unitID':_0x9a626f,'redoMutations':[..._0x101c71['redos'],..._0x28a9bf[_0x15b4e2(0x43f)],..._0x461afc],'undoMutations':[..._0x101c71[_0x15b4e2(0x31a)],..._0x28a9bf[_0x15b4e2(0x31a)],..._0x4a32ba]}),!0x0;}},vs=()=>typeof process<'u'&&process['versions']!=null&&process[_0x5bf728(0x3df)][_0x5bf728(0x3b4)]!=null,It={'type':_0x56fcc3['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x52f44c,_0x35839d){const _0x1b02ed=_0x5bf728;var _0x45d31b;if(!_0x35839d)return!0x1;const _0x40916f=_0x52f44c['get'](_0x224426);if(!!_0x40916f['getConfig'](z))return!0x0;const _0x5851c4=_0x52f44c[_0x1b02ed(0x21b)](_0x2fecb8),_0x534374=_0x52f44c['get'](G),{pivotTableId:_0x47ce90,pivotTableConfig:_0x4e2b75,collectionConfig:_0x1b7452,unitId:_0x56d5e2,subUnitId:_0x3f27ed}=_0x35839d,{sourceRangeInfo:_0x311cd8,fieldsConfig:_0x1e2811,targetCellInfo:_0x17a7cd}=_0x4e2b75,_0x1fea90=_0x5851c4[_0x1b02ed(0x1db)](_0x56d5e2);if(!_0x1fea90||!_0x1fea90['getSheetBySheetId'](_0x3f27ed))return!0x1;if(!vs()){let _0x508b5b=0x0;_0x1fea90[_0x1b02ed(0x1e3)]()[_0x1b02ed(0x28f)](_0x4774d1=>{const _0x3480de=_0x1b02ed;var _0x23e915,_0x1447f1;_0x508b5b+=(_0x1447f1=(_0x23e915=_0x534374['getSubUnitPivotConfigs'](_0x56d5e2,_0x4774d1[_0x3480de(0x23f)]()))==null?void 0x0:_0x23e915[_0x3480de(0x222)])!=null?_0x1447f1:0x0;});const _0x13017c=(_0x45d31b=_0x40916f[_0x1b02ed(0x3fb)](_0x1e58ed))!=null?_0x45d31b:{},{ls:_0x569c46,pbk:_0x5d32da}=_0x13017c;if(!Ko(_0x569c46,_0x5d32da))throw new _0x13dca5('limit\x20pivot');const _0x5d991b=go(so,_0x569c46,_0x5d32da)[_0x1b02ed(0x3e9)];if(_0x508b5b>=_0x5d991b)throw new _0x13dca5(_0x1b02ed(0x3f4));}if(!_0x1b7452||!_0x1e2811)return!0x1;const {collection:_0x1658db,updateDataFieldList:_0x22aec4}=_0x534374[_0x1b02ed(0x235)](_0x47ce90,_0x1b7452,_0x311cd8,_0x17a7cd);_0x534374['refreshData'](_0x1658db,_0x22aec4,_0x311cd8);const _0x370bce=new _0x15d468(_0x1658db,void 0x0,_0x47ce90);_0x370bce[_0x1b02ed(0x2b9)](_0x1e2811);const _0x1f68b7=JSON[_0x1b02ed(0x454)](JSON[_0x1b02ed(0x3c7)](_0x4e2b75));return _0x534374['addPivotTable'](_0x56d5e2,_0x3f27ed,_0x47ce90,_0x370bce,_0x1f68b7),_0x534374[_0x1b02ed(0x393)]({'unitId':_0x56d5e2,'subUnitId':_0x3f27ed,'token':_0x47ce90,'type':$['Add'],'pivotConfig':_0x1f68b7}),!0x0;}},ps={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x5c3047,_0x5e89c8){const _0x4024c4=_0x5bf728;if(!_0x5e89c8)return!0x1;const {sourceDataInfo:_0x1ea617,pivotTableConfig:_0x5e6960}=_0x5e89c8;if(!_0x1ea617||!_0x5e6960)return!0x1;const {unitId:_0x2f45fa,subUnitId:_0x1742d3,range:_0x4c47ea}=_0x1ea617,_0x5ce702=_0x5c3047[_0x4024c4(0x21b)](_0x2fecb8),_0x2a03f5=_0x5c3047[_0x4024c4(0x21b)](X),_0x4ca736=_0x5c3047['get'](_0x2a9621),_0x3de609=_0x5c3047[_0x4024c4(0x21b)](_0x4e31c1),_0x3ef000=_0x5ce702[_0x4024c4(0x1db)](_0x2f45fa);if(!_0x3ef000)return!0x1;const _0x80bd40=_0x3ef000[_0x4024c4(0x292)](_0x1742d3);if(!_0x80bd40)return!0x1;const _0x13eb94=_0x2962d6(0x8),_0x130cf6=_0x4c47ea||{'startRow':0x0,'startColumn':0x0,'endRow':_0x80bd40[_0x4024c4(0x3de)]()-0x1,'endColumn':_0x80bd40[_0x4024c4(0x1ce)]()-0x1};_0x130cf6[_0x4024c4(0x441)]=_0x49d1c0[_0x4024c4(0x2bd)];const _0xb686b6=(await _0x2a03f5[_0x4024c4(0x382)]({'unitId':_0x2f45fa,'subUnitId':_0x1742d3,'pivotTableId':_0x13eb94,'params':{'type':k['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2f45fa,'sheetName':_0x80bd40[_0x4024c4(0x3a4)](),'subUnitId':_0x1742d3,'range':_0x130cf6},'pivotTableId':_0x13eb94,'pivotTableIndexConfig':_0x5e6960}}}))[_0x4024c4(0x236)]['addPivotTableWithConfig'];if(!_0xb686b6)return!0x1;const {isEmpty:_0x205a2f,fieldsConfig:_0x2f84cd,collectionConfig:_0x5ca1b6,changesets:_0x556555}=_0xb686b6,_0x3eba33=_0x3ef000['getSheets']()[_0x4024c4(0x395)],_0x26ec56=_0x2565d4({'rowCount':_0x80bd40[_0x4024c4(0x3de)]()-0x1,'columnCount':_0x80bd40[_0x4024c4(0x1ce)]()-0x1});_0x26ec56['id']=_0x1323f3(),_0x26ec56[_0x4024c4(0x362)]=_0x3ef000[_0x4024c4(0x3d4)](''+_0x4ca736['t'](_0x4024c4(0x224)));const _0x27a082={'index':_0x3eba33,'sheet':_0x26ec56,'unitId':_0x2f45fa},{redos:_0x258baf}=Ce(_0x3de609,{'pivotTableId':_0x13eb94,'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id']},_0x556555),_0x509375=[{'id':_0x5b4034['id'],'params':_0x27a082},{'id':It['id'],'params':{'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id'],'pivotTableId':_0x13eb94,'pivotTableConfig':{'isEmpty':_0x205a2f,'fieldsConfig':_0x2f84cd,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2f45fa,'subUnitId':_0x26ec56['id']},'sourceRangeInfo':{'subUnitId':_0x1742d3,'unitId':_0x2f45fa,'range':_0x130cf6,'sheetName':_0x80bd40[_0x4024c4(0x3a4)]()}},'collectionConfig':_0x5ca1b6}},..._0x258baf];return _0x3e4922(_0x509375,_0x3de609),!0x0;}},Et={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x1d9),'handler'(_0x4005fd,_0x738a14){const _0x45aee3=_0x5bf728;if(!_0x738a14)return!0x1;if(!!_0x4005fd[_0x45aee3(0x21b)](_0x224426)[_0x45aee3(0x3fb)](z))return!0x0;const {pivotTableId:_0x419324,unitId:_0xef4984,subUnitId:_0x41921c}=_0x738a14,_0x3688e7=_0x4005fd[_0x45aee3(0x21b)](G);return _0x3688e7['getPivotTableConfig'](_0xef4984,_0x41921c,_0x419324)?(_0x3688e7[_0x45aee3(0x393)]({'unitId':_0xef4984,'subUnitId':_0x41921c,'token':_0x419324,'type':$[_0x45aee3(0x346)]}),_0x3688e7[_0x45aee3(0x2ce)](_0xef4984,_0x41921c,_0x419324),!0x0):!0x1;}},Cs={'type':_0x56fcc3['COMMAND'],'id':_0x5bf728(0x3a0),async 'handler'(_0x47034e,_0x2db98d){const _0x42f85e=_0x5bf728;var _0x2b418c,_0x251364;const _0x52cedf=_0x47034e[_0x42f85e(0x21b)](_0x4e31c1),_0x4cae5c=_0x47034e[_0x42f85e(0x21b)](_0x2fecb8),_0x4a268c=_0x47034e['get'](_0x2a9621),_0x5d0414=_0x47034e[_0x42f85e(0x21b)](X),_0x3cddc7=_0x47034e[_0x42f85e(0x21b)](_0x342a4e),_0x5123fe=_0x47034e[_0x42f85e(0x21b)](ve),_0x57772c=_0x47034e['get'](_0x224426);if(!_0x2db98d)return!0x1;const {pivotTableConfig:_0x104b42,positionType:_0x158666}=_0x2db98d,{targetCellInfo:_0x41804f,sourceRangeInfo:_0x2fd4bd}=_0x104b42,{unitId:_0x29de21,subUnitId:_0x1dabd0}=_0x41804f,_0x440369=_0x4cae5c[_0x42f85e(0x1db)](_0x29de21);if(!_0x440369)return!0x1;let _0x5886d4=0x0;_0x440369[_0x42f85e(0x1e3)]()[_0x42f85e(0x28f)](_0x54a5d0=>{const _0x1467ad=_0x42f85e;var _0x5ebcde,_0x1c15f8;_0x5886d4+=(_0x1c15f8=(_0x5ebcde=_0x5123fe['getSubUnitPivotConfigs'](_0x29de21,_0x54a5d0[_0x1467ad(0x23f)]()))==null?void 0x0:_0x5ebcde[_0x1467ad(0x222)])!=null?_0x1c15f8:0x0;});const _0x240ae5=(_0x2b418c=_0x57772c[_0x42f85e(0x3fb)](_0x1e58ed))!=null?_0x2b418c:{},{ls:_0x5ff3ca,pbk:_0x1d0fbc}=_0x240ae5;if(!Ko(_0x5ff3ca,_0x1d0fbc))return!0x1;const _0x185df1=go(so,_0x5ff3ca,_0x1d0fbc)['count'];if(_0x5886d4>=_0x185df1)return!0x1;const _0xca3ebc=_0x2db98d['pivotTableId']||_0x2962d6(0x8),_0x187dc4=(await _0x5d0414[_0x42f85e(0x382)]({'unitId':_0x29de21,'subUnitId':_0x1dabd0,'pivotTableId':_0xca3ebc,'params':{'type':k[_0x42f85e(0x434)],'addPivotTable':{'sourceRangeInfo':_0x2fd4bd,'pivotTableId':_0xca3ebc}}}))[_0x42f85e(0x236)]['addPivotTable'];if(!_0x187dc4)return!0x1;const {view:_0x106dba,isEmpty:_0x505783,fieldsConfig:_0x5962b6,collectionConfig:_0x560a3a}=_0x187dc4,_0x3cef51=[],_0x21294c=[];if(_0x158666===Bo[_0x42f85e(0x394)]){const _0x5313ea=_0x440369[_0x42f85e(0x1e3)]()[_0x42f85e(0x395)],_0x16ea6a=_0x2565d4({});_0x16ea6a['id']=_0x104b42[_0x42f85e(0x1d2)][_0x42f85e(0x2a0)],_0x16ea6a['name']=(_0x251364=_0x104b42[_0x42f85e(0x1d2)][_0x42f85e(0x360)])!=null?_0x251364:_0x440369['generateNewSheetName'](''+_0x4a268c['t'](_0x42f85e(0x224)));const _0x58404b={'index':_0x5313ea,'sheet':_0x16ea6a,'unitId':_0x29de21},_0x34444f=_0x3c4f41(_0x47034e,_0x58404b);_0x3cef51['push']({'id':_0x575055['id'],'params':_0x34444f}),_0x21294c[_0x42f85e(0x42a)]({'id':_0x532b87['id'],'params':_0x58404b});}else{if(!_0x440369['getSheetBySheetId'](_0x1dabd0))return!0x1;const _0x4114fe=we(_0x47034e,new _0x2089ac(),_0x41804f,!0x0);_0x21294c[_0x42f85e(0x42a)](..._0x4114fe[_0x42f85e(0x43f)]),_0x3cef51[_0x42f85e(0x42a)](..._0x4114fe[_0x42f85e(0x31a)]);const _0x1dc45f={'cellInfo':_0x41804f,'view':_0x106dba,'isEmpty':_0x505783};if(!await _0x47034e['get'](ie)[_0x42f85e(0x3d0)][_0x42f85e(0x447)](be)(!0x0,_0x1dc45f))return!0x1;const _0x5f1f25=_e(_0x47034e,_0x1dc45f);_0x21294c['push'](..._0x5f1f25['redos']),_0x3cef51[_0x42f85e(0x42a)](..._0x5f1f25['undos']);}return _0x21294c[_0x42f85e(0x42a)]({'id':It['id'],'params':{'unitId':_0x41804f[_0x42f85e(0x42b)],'subUnitId':_0x41804f['subUnitId'],'pivotTableId':_0xca3ebc,'pivotTableConfig':{'targetCellInfo':_0x41804f,'sourceRangeInfo':_0x2fd4bd,'fieldsConfig':_0x5962b6},'collectionConfig':_0x560a3a}}),_0x3cef51[_0x42f85e(0x392)]({'id':Et['id'],'params':{'unitId':_0x29de21,'subUnitId':_0x1dabd0,'pivotTableId':_0xca3ebc}}),_0x3e4922(_0x21294c,_0x52cedf)&&_0x3cddc7[_0x42f85e(0x337)]({'unitID':_0x29de21,'undoMutations':_0x3cef51,'redoMutations':_0x21294c}),!0x0;}},ms={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2af),async 'handler'(_0x362a1d,_0x41b4f5){const _0x2392a5=_0x5bf728;if(!_0x41b4f5)return!0x1;const _0x4f0901=_0x362a1d['get'](_0x4e31c1),_0x35fde8=_0x362a1d[_0x2392a5(0x21b)](X),_0x589d44=_0x362a1d[_0x2392a5(0x21b)](_0x342a4e),{pivotTableId:_0x409640,fieldId:_0x164784,area:_0x382068,index:_0xbc2d69,unitId:_0x1550bb,subUnitId:_0xb6e710}=_0x41b4f5,_0x2a3bc6=(await _0x35fde8['getPivotDisplayConfig']({'unitId':_0x1550bb,'subUnitId':_0xb6e710,'pivotTableId':_0x409640,'params':{'type':k[_0x2392a5(0x41e)],'movePivotField':{'fieldId':_0x164784,'area':_0x382068,'index':_0xbc2d69}}}))[_0x2392a5(0x236)]['movePivotField'];if(!_0x2a3bc6)return!0x1;const {changesets:_0x280803,view:_0x1de839,isEmpty:_0x3fae50,pivotTableConfig:_0x547041}=_0x2a3bc6,_0x3de264=_0x547041['targetCellInfo'],_0x46480e=new _0x2089ac();_0x46480e[_0x2392a5(0x2b5)](_0x1de839);const _0x2f77a0={'cellInfo':_0x3de264,'view':_0x46480e,'isEmpty':_0x3fae50};if(!await _0x362a1d[_0x2392a5(0x21b)](ie)[_0x2392a5(0x3d0)][_0x2392a5(0x447)](be)(!0x0,_0x2f77a0))return!0x1;const _0x3af46d=we(_0x362a1d,_0x46480e,_0x3de264,_0x3fae50),_0x2ad65b=_e(_0x362a1d,_0x2f77a0),{redos:_0x5a6658,undos:_0x19a1f0}=Ce(_0x4f0901,{'pivotTableId':_0x409640,'unitId':_0x1550bb,'subUnitId':_0xb6e710},_0x280803);return _0x3e4922([..._0x3af46d['redos'],..._0x2ad65b['redos'],..._0x5a6658],_0x4f0901),_0x589d44['pushUndoRedo']({'unitID':_0x1550bb,'redoMutations':[..._0x3af46d[_0x2392a5(0x43f)],..._0x2ad65b[_0x2392a5(0x43f)],..._0x5a6658],'undoMutations':[..._0x3af46d[_0x2392a5(0x31a)],..._0x2ad65b[_0x2392a5(0x31a)],..._0x19a1f0]}),!0x0;}},pt={'type':_0x56fcc3['MUTATION'],'id':_0x5bf728(0x381),'handler'(_0x1e7425,_0x4e54a4){const _0x103135=_0x5bf728;if(!_0x4e54a4)return!0x1;if(!!_0x1e7425['get'](_0x224426)[_0x103135(0x3fb)](z))return!0x0;const {pivotTableId:_0xf93e3e,targetCellPosition:_0x1616d6,unitId:_0x3a6128,subUnitId:_0x3d9434}=_0x4e54a4,_0x197f92=_0x1e7425[_0x103135(0x21b)](G);if(!_0x197f92['getPivotTableInstance'](_0x4e54a4[_0x103135(0x414)]))return!0x1;const _0x498a9a=_0x197f92[_0x103135(0x31b)](_0xf93e3e);if(!_0x498a9a)return!0x1;const _0x19711e=_0x197f92['getCollection'](_0x498a9a[_0x103135(0x42b)],_0x4e54a4[_0x103135(0x414)]);if(!_0x19711e)return!0x1;const _0x5d737f=_0x197f92[_0x103135(0x448)](_0x498a9a[_0x103135(0x42b)],_0x498a9a[_0x103135(0x2a0)],_0xf93e3e);if(!_0x5d737f)return!0x1;const _0x270289=_0x48d9e9['deepClone'](_0x5d737f);_0x270289['targetCellInfo']={'unitId':_0x3a6128,'subUnitId':_0x3d9434,'row':_0x1616d6['row'],'col':_0x1616d6[_0x103135(0x37a)]};const _0x178883=_0x19711e[_0x103135(0x361)]();if(_0x498a9a[_0x103135(0x2a0)]===_0x3d9434&&_0x498a9a['unitId']===_0x3a6128)_0x197f92[_0x103135(0x432)](_0x3a6128,_0x3d9434,_0xf93e3e,_0x270289),_0x197f92['addDirtyPivotTable']({'unitId':_0x3a6128,'subUnitId':_0x3d9434,'token':_0xf93e3e,'type':$[_0x103135(0x225)]});else{_0x197f92['addDirtyPivotTable']({'unitId':_0x498a9a[_0x103135(0x42b)],'subUnitId':_0x498a9a[_0x103135(0x2a0)],'token':_0xf93e3e,'type':$['Delete']}),_0x197f92[_0x103135(0x2ce)](_0x498a9a[_0x103135(0x42b)],_0x498a9a[_0x103135(0x2a0)],_0xf93e3e);const _0x400195=_0x197f92[_0x103135(0x235)](_0xf93e3e,_0x178883,_0x5d737f[_0x103135(0x3f8)],_0x270289[_0x103135(0x1d2)]),_0x3e165a=new _0x15d468(_0x400195[_0x103135(0x2c0)],void 0x0,_0xf93e3e);_0x3e165a['fromJSON'](_0x270289[_0x103135(0x427)]),_0x197f92[_0x103135(0x35c)](_0x3a6128,_0x3d9434,_0xf93e3e,_0x3e165a,_0x270289),_0x197f92[_0x103135(0x393)]({'unitId':_0x3a6128,'subUnitId':_0x3d9434,'token':_0xf93e3e,'type':$[_0x103135(0x2b4)],'pivotConfig':_0x270289});}return!0x0;}},Is={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x31f),'handler':(_0x33ce15,_0x1a014c)=>{const _0x3ac865=_0x5bf728,_0x2d4a7e=_0x33ce15[_0x3ac865(0x21b)](_0x4e31c1),_0x5205b2=_0x33ce15[_0x3ac865(0x21b)](_0x342a4e),_0x172f56=_0x33ce15[_0x3ac865(0x21b)](ve),_0x24a8ea=_0x33ce15[_0x3ac865(0x21b)](_0x2fecb8);if(!_0x1a014c)return!0x1;const _0x34bf1f=_0x5b1933(_0x24a8ea);if(!_0x34bf1f)return!0x1;const {unitId:_0x3839b8,subUnitId:_0x43a76f,workbook:_0x1b3381}=_0x34bf1f,_0x5db5ed=_0x172f56[_0x3ac865(0x448)](_0x1a014c[_0x3ac865(0x3d6)][_0x3ac865(0x42b)],_0x1a014c[_0x3ac865(0x3d6)]['subUnitId'],_0x1a014c['pivotTableId']);if(!_0x5db5ed)return!0x1;const _0x2e8831=_0x1b3381[_0x3ac865(0x292)](_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2a0)]);if(!_0x2e8831)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x1f6396=_0x2e8831[_0x3ac865(0x3de)](),_0x112386=_0x2e8831['getColumnCount']();if(_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)]>_0x1f6396||_0x1a014c['targetCellInfo'][_0x3ac865(0x37a)]>_0x112386)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x3d581b=[{'id':pt['id'],'params':{'unitId':_0x3839b8,'subUnitId':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2a0)],'pivotTableId':_0x1a014c[_0x3ac865(0x414)],'targetCellPosition':{'row':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)],'col':_0x1a014c[_0x3ac865(0x1d2)][_0x3ac865(0x37a)]}}}],_0x5d67ca=[{'id':pt['id'],'params':{'unitId':_0x3839b8,'subUnitId':_0x43a76f,'pivotTableId':_0x1a014c['pivotTableId'],'targetCellPosition':{'row':_0x5db5ed[_0x3ac865(0x1d2)][_0x3ac865(0x2f2)],'col':_0x5db5ed[_0x3ac865(0x1d2)][_0x3ac865(0x37a)]}}}];return _0x3e4922(_0x3d581b,_0x2d4a7e)&&_0x5205b2[_0x3ac865(0x337)]({'unitID':_0x3839b8,'undoMutations':_0x5d67ca,'redoMutations':_0x3d581b}),!0x0;}},bs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x3cf),async 'handler'(_0x1c0acf,_0x1c4427){const _0x1a8597=_0x5bf728;var _0x46a5b4;if(!_0x1c4427)return!0x1;const _0x110d3d=_0x1c0acf[_0x1a8597(0x21b)](_0x2fecb8),_0x4d2eb7=_0x5b1933(_0x110d3d);if(!_0x4d2eb7)return!0x1;const {unitId:_0x2ba6fe,subUnitId:_0x535fd7,workbook:_0x5705c5}=_0x4d2eb7,{row:_0x28692c,col:_0x5e1a5e}=_0x1c4427,_0x88b0a3=_0x1c0acf['get'](Ne),_0x8ce54a=_0x88b0a3[_0x1a8597(0x2d5)](_0x2ba6fe,_0x535fd7,_0x28692c,_0x5e1a5e);if(!_0x8ce54a)return!0x1;const _0x23acc9=(_0x46a5b4=_0x88b0a3[_0x1a8597(0x3a6)](_0x2ba6fe,_0x535fd7,_0x8ce54a))==null?void 0x0:_0x46a5b4[_0x1a8597(0x303)];if(!_0x23acc9)return!0x1;const _0x2f6601=_0x1c0acf['get'](ve)[_0x1a8597(0x448)](_0x2ba6fe,_0x535fd7,_0x8ce54a);if(!_0x2f6601)return!0x1;const {rowInfo:_0x333989,colInfo:_0x141e6b}=_0x23acc9,_0x2b2094=_0x333989[_0x28692c][_0x1a8597(0x271)],_0x581c65=_0x141e6b[_0x5e1a5e][_0x1a8597(0x271)],_0x4e2a86=_0x333989[_0x28692c][_0x1a8597(0x2cc)],_0x451be1=_0x141e6b[_0x5e1a5e][_0x1a8597(0x2cc)],_0x115300=_0x2b2094['concat'](_0x581c65),_0xcb1f9=_0x2f6601[_0x1a8597(0x427)][_0x1a8597(0x335)][_0x1a8597(0x358)](0x0,_0x4e2a86),_0x208a5d=_0x2f6601['fieldsConfig'][_0x1a8597(0x3a7)][_0x1a8597(0x358)](0x0,_0x451be1),_0xcebe0e=_0xcb1f9[_0x1a8597(0x22e)](_0x208a5d),_0x2f9598=_0x115300['map']((_0xadacf5,_0x5d322e)=>[_0xadacf5,_0xcebe0e[_0x5d322e]]),_0x4c3ad2=(await _0x1c0acf[_0x1a8597(0x21b)](X)[_0x1a8597(0x382)]({'unitId':_0x2ba6fe,'subUnitId':_0x535fd7,'pivotTableId':_0x8ce54a,'params':{'type':k[_0x1a8597(0x22a)],'drillDown':{'tuple':_0x2f9598}}}))['result'][_0x1a8597(0x387)];if(!_0x4c3ad2)return!0x1;const {indexes:_0x3d5b0c,range:_0xcebc87,sourceUnitId:_0x4625f4,sourceSubUnitId:_0x19eb90,formatMap:_0x499e84}=_0x4c3ad2,{startRow:_0x3e5ee3,endRow:_0x508698,startColumn:_0x5163f1,endColumn:_0x5a9f43}=_0xcebc87,_0x3b05ca=new _0x43fcd2(),_0x5723ba=_0x508698-_0x3e5ee3,_0x4d2cf3=_0x5a9f43-_0x5163f1,_0x2bf7b8={},_0x25f6bb=_0x5b1933(_0x110d3d,{'unitId':_0x4625f4,'subUnitId':_0x19eb90});if(!_0x25f6bb)return!0x1;const _0x17671a=fe[_0x1a8597(0x1f2)],_0x1f42aa=fe[_0x1a8597(0x3e5)],_0xb107d0=fe[_0x1a8597(0x3e5)],_0x397041=_0x5705c5[_0x1a8597(0x1fb)]()[_0x1a8597(0x26b)](_0x17671a),_0x2602aa=_0x5705c5[_0x1a8597(0x1fb)]()[_0x1a8597(0x26b)](_0x1f42aa),_0x318966=_0x5705c5['getStyles']()[_0x1a8597(0x26b)](_0xb107d0),{worksheet:_0x154061}=_0x25f6bb;let _0x2fa097=0x0;const _0x11a166=0x1;_0x3d5b0c[_0x1a8597(0x28f)](_0x11614f=>{const _0x191bdf=_0x1a8597;for(let _0x55f3ca=0x0;_0x55f3ca<=_0x5a9f43-_0x5163f1;_0x55f3ca++)_0x3b05ca[_0x191bdf(0x26b)](_0x2fa097,_0x55f3ca,_0x154061[_0x191bdf(0x33e)](_0x11614f+_0xcebc87[_0x191bdf(0x373)]+_0x11a166,_0x55f3ca));_0x2fa097++;});for(let _0xcc288e=_0x5163f1;_0xcc288e<=_0x5a9f43;_0xcc288e++){const _0x14b059=_0x154061[_0x1a8597(0x33e)](_0x3e5ee3,_0xcc288e);_0x2bf7b8[_0x3e5ee3]||(_0x2bf7b8[_0x3e5ee3]={}),_0x2bf7b8[_0x3e5ee3][_0xcc288e]={..._0x14b059,'s':_0x397041};}let _0x2c08a8=0x1;const _0x113ee6={},_0x4641a={};_0x3b05ca[_0x1a8597(0x3fe)]((_0x36599e,_0x2cd0d1)=>{const _0x4f1b03=_0x1a8597;_0x2cd0d1[_0x4f1b03(0x28f)](_0x136f41=>{const _0x3179f2=_0x4f1b03,_0x1bb347=_0x3b05ca[_0x3179f2(0x35b)](_0x36599e,_0x136f41);if(_0x2bf7b8[_0x2c08a8]||(_0x2bf7b8[_0x2c08a8]={}),_0x2bf7b8[_0x2c08a8][_0x136f41]={..._0x1bb347,'s':_0x2c08a8%0x2===0x0?_0x318966:_0x2602aa},_0x499e84[_0x136f41]&&_0x36599e>=0x0){const _0x205618=_0x2c08a8%0x2===0x0;let _0x5baae8=_0x205618?_0x4641a[_0x136f41]:_0x113ee6[_0x136f41];_0x5baae8||(_0x5baae8=_0x5705c5['getStyles']()['setValue']({..._0x205618?_0xb107d0:_0x1f42aa,'n':{'pattern':_0x499e84[_0x136f41]}}),_0x205618?_0x4641a[_0x136f41]=_0x5baae8:_0x113ee6[_0x136f41]=_0x5baae8),_0x2bf7b8[_0x2c08a8][_0x136f41]['s']=_0x5baae8;}}),_0x2c08a8++;});const _0x226628=new _0x43fcd2(_0x2bf7b8),_0x4e4d37={};_0x226628[_0x1a8597(0x2f0)]((_0x5b6ed1,_0x49741f,_0x11f881)=>{_0x4e4d37[_0x5b6ed1]||(_0x4e4d37[_0x5b6ed1]={}),_0x4e4d37[_0x5b6ed1][_0x49741f]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1fa1f5=[],_0x56a5af=[],_0x1cf1d4=_0x5705c5[_0x1a8597(0x1e3)]()[_0x1a8597(0x395)],_0x10e6da=_0x2565d4({'rowCount':Math[_0x1a8597(0x2c1)](_0x5f5337,_0x5723ba+0xa),'columnCount':Math[_0x1a8597(0x2c1)](_0x104e87,_0x4d2cf3+0x5)}),_0x458d0b=_0x1c0acf[_0x1a8597(0x21b)](_0x2a9621);_0x10e6da['id']=_0x1323f3(),_0x10e6da['name']=_0x5705c5[_0x1a8597(0x3d4)](''+_0x458d0b['t'](_0x1a8597(0x224)));const _0x51d361={'index':_0x1cf1d4,'sheet':_0x10e6da,'unitId':_0x2ba6fe},_0x239a7d=_0x3c4f41(_0x1c0acf,_0x51d361);_0x56a5af['push']({'id':_0x532b87['id'],'params':_0x51d361}),_0x1fa1f5[_0x1a8597(0x42a)]({'id':_0x575055['id'],'params':_0x239a7d}),_0x56a5af[_0x1a8597(0x42a)]({'id':_0x24965e['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'cellValue':_0x2bf7b8}}),_0x1fa1f5[_0x1a8597(0x392)]({'id':_0x24965e['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'cellValue':_0x4e4d37}});const _0x55dc1d={'startRow':0x0,'startColumn':0x0,'endRow':_0x2c08a8-0x1,'endColumn':_0x5a9f43};_0x56a5af[_0x1a8597(0x42a)]({'id':_0x242433['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id'],'range':_0x55dc1d}}),_0x1fa1f5['unshift']({'id':_0x24119c['id'],'params':{'unitId':_0x2ba6fe,'subUnitId':_0x10e6da['id']}});const _0x33e4e1=_0x1c0acf[_0x1a8597(0x21b)](_0x4e31c1);return _0x3e4922(_0x56a5af,_0x33e4e1)&&_0x1c0acf['get'](_0x342a4e)[_0x1a8597(0x337)]({'unitID':_0x2ba6fe,'undoMutations':_0x1fa1f5,'redoMutations':_0x56a5af}),!0x0;}},Ss={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2b0),async 'handler'(_0x41951f,_0x57b6d2){const _0x3b5343=_0x5bf728;if(!_0x57b6d2)return!0x1;const _0xb4b6ff=_0x41951f[_0x3b5343(0x21b)](_0x4e31c1),_0x28888a=_0x41951f['get'](X),_0x242dd2=_0x41951f[_0x3b5343(0x21b)](_0x342a4e),{pivotTableId:_0x41e89b,fieldIds:_0x53ddbb,unitId:_0x295954,subUnitId:_0x66e8b}=_0x57b6d2,_0x1951b8=(await _0x28888a[_0x3b5343(0x382)]({'unitId':_0x295954,'subUnitId':_0x66e8b,'pivotTableId':_0x41e89b,'params':{'type':k['RemovePivotField'],'removePivotField':{'fieldIds':_0x53ddbb}}}))[_0x3b5343(0x236)][_0x3b5343(0x3bd)];if(!_0x1951b8)return!0x1;const {view:_0x377df8,changesets:_0x59de42,isEmpty:_0x43c026,pivotTableConfig:_0x5c3658}=_0x1951b8,_0x43804b=_0x5c3658[_0x3b5343(0x1d2)],_0x1f21f5=new _0x2089ac();_0x1f21f5[_0x3b5343(0x2b5)](_0x377df8);const _0x5ec086={'cellInfo':_0x43804b,'view':_0x1f21f5,'isEmpty':_0x43c026};if(!await _0x41951f[_0x3b5343(0x21b)](ie)['asyncInterceptor'][_0x3b5343(0x447)](be)(!0x0,_0x5ec086))return!0x1;const _0x1cbb04=we(_0x41951f,_0x1f21f5,_0x43804b,_0x43c026),_0x3ac79d=_e(_0x41951f,_0x5ec086),{redos:_0x131bbb,undos:_0x251303}=Ce(_0xb4b6ff,{'pivotTableId':_0x41e89b,'unitId':_0x295954,'subUnitId':_0x66e8b},_0x59de42);return _0x3e4922([..._0x1cbb04[_0x3b5343(0x43f)],..._0x3ac79d[_0x3b5343(0x43f)],..._0x131bbb],_0xb4b6ff),_0x242dd2[_0x3b5343(0x337)]({'unitID':_0x295954,'redoMutations':[..._0x1cbb04[_0x3b5343(0x43f)],..._0x3ac79d['redos'],..._0x131bbb],'undoMutations':[..._0x1cbb04['undos'],..._0x3ac79d['undos'],..._0x251303]}),!0x0;}},Ps={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x2f8772,_0x2389b2){const _0x2f6f3e=_0x5bf728;if(!_0x2389b2)return!0x1;const _0x12b568=_0x2f8772[_0x2f6f3e(0x21b)](_0x4e31c1),_0x4cc856=_0x2f8772['get'](_0x342a4e),_0x447ee9=_0x2f8772['get'](X),{resetArea:_0x44584f,pivotTableId:_0x306394,unitId:_0x1c42b6,subUnitId:_0x553630}=_0x2389b2,_0x467f13=(await _0x447ee9[_0x2f6f3e(0x382)]({'unitId':_0x1c42b6,'subUnitId':_0x553630,'pivotTableId':_0x306394,'params':{'type':k[_0x2f6f3e(0x2c2)],'resetPivotTable':{'pivotTableId':_0x306394,'resetArea':_0x44584f}}}))[_0x2f6f3e(0x236)]['resetPivotTable'];if(!_0x467f13)return!0x1;const {changesets:_0x1a350d}=_0x467f13,{redos:_0x15f225,undos:_0x4b251f}=Ce(_0x12b568,{'pivotTableId':_0x306394,'unitId':_0x1c42b6,'subUnitId':_0x553630},_0x1a350d);return _0x3e4922(_0x15f225,_0x12b568),_0x4cc856[_0x2f6f3e(0x337)]({'unitID':_0x1c42b6,'redoMutations':_0x15f225,'undoMutations':_0x4b251f}),!0x0;}},Ts={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x4ad21e,_0xf3eb9b){const _0x448a8a=_0x5bf728,_0x44fc42=_0x4ad21e[_0x448a8a(0x21b)](_0x4e31c1),_0x5826e2=_0x4ad21e[_0x448a8a(0x21b)](X),_0x42e13c=_0x4ad21e[_0x448a8a(0x21b)](Ne),_0x5c023d=_0x4ad21e[_0x448a8a(0x21b)](_0x2fecb8),_0x1a05ad=_0x4ad21e[_0x448a8a(0x21b)](_0x2a9621),_0x5c37ef=_0x4ad21e['get'](_0x342a4e);if(!_0xf3eb9b)return!0x1;const {unitId:_0x4e6421,subUnitId:_0x119862,row:_0x325928,col:_0x3c2a3c,collapse:_0x457f33}=_0xf3eb9b,_0x489a39=_0x5c023d[_0x448a8a(0x1db)](_0x4e6421);if(!_0x489a39||!_0x489a39[_0x448a8a(0x292)](_0x119862))return!0x1;const _0x48a001=_0x42e13c[_0x448a8a(0x2d5)](_0x4e6421,_0x119862,_0x325928,_0x3c2a3c);if(!_0x48a001)return!0x1;const _0x2d80e8=_0x42e13c[_0x448a8a(0x3a6)](_0x4e6421,_0x119862,_0x48a001);if(!_0x2d80e8)return!0x1;const _0x1f6d68=_0x5508a5(_0x325928,_0x3c2a3c),{rangesInfo:_0x3fa701,areaInfo:_0x4b4469,headerMap:_0x3f7496}=_0x2d80e8;if(!_0x3fa701||!_0x4b4469||!_0x3f7496)return!0x1;const _0x198bd4=Object['keys'](_0x3fa701)[_0x448a8a(0x2aa)](_0x454c2d=>_0x3fa701[_0x454c2d][_0x448a8a(0x27c)](_0x73739c=>_0x3d3208[_0x448a8a(0x420)](_0x73739c,_0x1f6d68)));let _0x4d38e8;_0x198bd4===_0x448a8a(0x285)?_0x4d38e8=_0x3f7496['rowHeaderMap'][_0x3c2a3c]:_0x198bd4===_0x448a8a(0x1e5)&&(_0x4d38e8=_0x3f7496[_0x448a8a(0x254)][_0x325928]);const _0x43e6c7=_0x4d38e8==null?void 0x0:_0x4d38e8['tableFieldId'],_0x5134e1=_0x42e13c[_0x448a8a(0x2a4)](_0x4e6421,_0x119862,_0x325928,_0x3c2a3c);let _0x504b5e=_0x5134e1==null?void 0x0:_0x5134e1['v'];if(_0x504b5e===_0x1a05ad['t'](_0x448a8a(0x33c))&&(_0x504b5e=_0x2f6290[_0x448a8a(0x35e)]),_0x504b5e==null||!_0x48a001||!_0x43e6c7)return!0x1;const _0x593aa7=await _0x5826e2[_0x448a8a(0x382)]({'unitId':_0x4e6421,'subUnitId':_0x119862,'pivotTableId':_0x48a001,'params':{'type':k[_0x448a8a(0x3f2)],'setPivotCollapse':{'tableFieldId':_0x43e6c7,'collapse':_0x457f33,'item':_0x504b5e}}}),_0x51cdb6=_0x593aa7==null?void 0x0:_0x593aa7['result'][_0x448a8a(0x330)];if(!_0x51cdb6)return!0x1;const {view:_0x48bfde,pivotTableConfig:_0x347c4c,isEmpty:_0x3e34a9,changesets:_0x520b83}=_0x51cdb6,_0xfe307c=new _0x2089ac();_0xfe307c['formJSON'](_0x48bfde);const _0x55da48=_0x347c4c[_0x448a8a(0x1d2)],_0x4a58c0={'cellInfo':_0x55da48,'view':_0xfe307c,'isEmpty':_0x3e34a9};if(!await _0x4ad21e[_0x448a8a(0x21b)](ie)[_0x448a8a(0x3d0)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4a58c0))return!0x1;const _0x276f6d=we(_0x4ad21e,_0xfe307c,_0x55da48,_0x3e34a9),_0x3a6d0e=_e(_0x4ad21e,_0x4a58c0),{redos:_0x25b0c2,undos:_0x45da8a}=Ce(_0x44fc42,{'pivotTableId':_0x48a001,'unitId':_0x4e6421,'subUnitId':_0x119862},_0x520b83);return _0x3e4922([..._0x276f6d[_0x448a8a(0x43f)],..._0x3a6d0e['redos'],..._0x25b0c2],_0x44fc42),_0x5c37ef[_0x448a8a(0x337)]({'unitID':_0x4e6421,'redoMutations':[..._0x276f6d[_0x448a8a(0x43f)],..._0x3a6d0e[_0x448a8a(0x43f)],..._0x25b0c2],'undoMutations':[..._0x276f6d[_0x448a8a(0x31a)],..._0x3a6d0e[_0x448a8a(0x31a)],..._0x45da8a]}),!0x0;}},ys={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x41f),async 'handler'(_0x5959b3,_0x185dbf){const _0xc4cb98=_0x5bf728;if(!_0x185dbf)return!0x1;const _0x30c69f=_0x5959b3[_0xc4cb98(0x21b)](_0x4e31c1),_0x3eee7b=_0x5959b3[_0xc4cb98(0x21b)](_0x342a4e),_0x240d46=_0x5959b3['get'](X),{pivotTableConfig:_0xbd6f8d,pivotTableId:_0x4c294c,unitId:_0x381f05,subUnitId:_0x34a449}=_0x185dbf,_0x1d428a=(await _0x240d46[_0xc4cb98(0x382)]({'unitId':_0x381f05,'subUnitId':_0x34a449,'pivotTableId':_0x4c294c,'params':{'type':k[_0xc4cb98(0x308)],'setPivotTableConfig':{'pivotTableId':_0x4c294c,'pivotTableConfig':_0xbd6f8d}}}))[_0xc4cb98(0x236)]['setPivotTableConfig'];if(!_0x1d428a)return!0x1;const {changesets:_0x421dd8}=_0x1d428a,{redos:_0x315b54,undos:_0x2194ec}=Ce(_0x30c69f,{'pivotTableId':_0x4c294c,'unitId':_0x381f05,'subUnitId':_0x34a449},_0x421dd8);return _0x3e4922(_0x315b54,_0x30c69f),_0x3eee7b[_0xc4cb98(0x337)]({'unitID':_0x381f05,'redoMutations':_0x315b54,'undoMutations':_0x2194ec}),!0x0;}},Ms={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2c6),async 'handler'(_0x3a89c5,_0x4821e6){const _0x16eecc=_0x5bf728;if(!_0x4821e6)return!0x1;const _0x587d7d=_0x3a89c5[_0x16eecc(0x21b)](_0x4e31c1),{pivotTableId:_0x4c67d7,tableFieldId:_0x261eea,items:_0x400b4c,unitId:_0x256002,subUnitId:_0x9ab3ea,isAll:_0x356bd1}=_0x4821e6,_0x334cef=_0x3a89c5[_0x16eecc(0x21b)](X),_0x4e2898=_0x3a89c5[_0x16eecc(0x21b)](_0x342a4e),_0x42fd91=(await _0x334cef[_0x16eecc(0x382)]({'unitId':_0x256002,'subUnitId':_0x9ab3ea,'pivotTableId':_0x4c67d7,'params':{'type':k[_0x16eecc(0x243)],'setPivotFilter':{'tableFieldId':_0x261eea,'items':_0x400b4c,'isAll':_0x356bd1}}}))[_0x16eecc(0x236)][_0x16eecc(0x417)];if(!_0x42fd91)return!0x1;const {changesets:_0x40884e,pivotTableConfig:_0x4a46aa,isEmpty:_0x445f89,view:_0x11d58e}=_0x42fd91,_0x316f5f=_0x4a46aa[_0x16eecc(0x1d2)],_0x1de1e1=new _0x2089ac();_0x1de1e1[_0x16eecc(0x2b5)](_0x11d58e);const _0x483246={'cellInfo':_0x316f5f,'view':_0x1de1e1,'isEmpty':_0x445f89};if(!await _0x3a89c5[_0x16eecc(0x21b)](ie)[_0x16eecc(0x3d0)][_0x16eecc(0x447)](be)(!0x0,_0x483246))return!0x1;const _0x4a531d=we(_0x3a89c5,_0x1de1e1,_0x316f5f,_0x445f89),_0x2b8f24=_e(_0x3a89c5,_0x483246),{undos:_0x1ad381,redos:_0x331310}=Ce(_0x587d7d,{'pivotTableId':_0x4c67d7,'unitId':_0x256002,'subUnitId':_0x9ab3ea},_0x40884e);return _0x3e4922([..._0x4a531d[_0x16eecc(0x43f)],..._0x2b8f24[_0x16eecc(0x43f)],..._0x331310],_0x587d7d),_0x4e2898['pushUndoRedo']({'unitID':_0x256002,'redoMutations':[..._0x4a531d[_0x16eecc(0x43f)],..._0x2b8f24[_0x16eecc(0x43f)],..._0x331310],'undoMutations':[..._0x4a531d[_0x16eecc(0x31a)],..._0x2b8f24['undos'],..._0x1ad381]}),!0x0;}},ws={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x2ed),async 'handler'(_0x1a69dd,_0x3d8567){const _0x58cc28=_0x5bf728;if(!_0x3d8567)return!0x1;const _0x2fa28b=_0x1a69dd['get'](_0x4e31c1),_0x1e41c1=_0x1a69dd['get'](_0x342a4e),_0x2ca5a6=_0x1a69dd[_0x58cc28(0x21b)](X),{info:_0x39a3e1,tableFieldId:_0x53dcaa,pivotTableId:_0x12cac5,unitId:_0xe43921,subUnitId:_0x3f0e98}=_0x3d8567,_0x15a929=(await _0x2ca5a6[_0x58cc28(0x382)]({'unitId':_0xe43921,'subUnitId':_0x3f0e98,'pivotTableId':_0x12cac5,'params':{'type':k[_0x58cc28(0x328)],'setPivotSort':{'tableFieldId':_0x53dcaa,'info':_0x39a3e1}}}))['result'][_0x58cc28(0x401)];if(!_0x15a929)return!0x1;const {changesets:_0x1a0084}=_0x15a929,{redos:_0x1eea0e,undos:_0x4dbdfe}=Ce(_0x2fa28b,{'pivotTableId':_0x12cac5,'unitId':_0xe43921,'subUnitId':_0x3f0e98},_0x1a0084);return _0x3e4922(_0x1eea0e,_0x2fa28b),_0x1e41c1[_0x58cc28(0x337)]({'unitID':_0xe43921,'redoMutations':_0x1eea0e,'undoMutations':_0x4dbdfe}),!0x0;}},_s={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x20d),async 'handler'(_0x3659d7,_0x2deb87){const _0x583b1f=_0x5bf728;if(!_0x2deb87)return!0x1;const _0x528b9e=_0x3659d7['get'](_0x4e31c1),{pivotTableId:_0x585f9f,fieldId:_0x580b3c,valueFilterInfo:_0x4022a4,unitId:_0x32d4ab,subUnitId:_0x4e9c33}=_0x2deb87,_0x4b9404=_0x3659d7[_0x583b1f(0x21b)](X),_0x40f80a=_0x3659d7[_0x583b1f(0x21b)](_0x342a4e),_0x3073f6=(await _0x4b9404[_0x583b1f(0x382)]({'unitId':_0x32d4ab,'subUnitId':_0x4e9c33,'pivotTableId':_0x585f9f,'params':{'type':k[_0x583b1f(0x386)],'setValuePivotFilter':{'tableFieldId':_0x580b3c,'filterInfo':_0x4022a4}}}))[_0x583b1f(0x236)][_0x583b1f(0x252)];if(!_0x3073f6)return!0x1;const {changesets:_0x4a52f0,pivotTableConfig:_0x5bf581,isEmpty:_0x3dfb5f,view:_0x4d0313}=_0x3073f6,_0x2fd980=_0x5bf581[_0x583b1f(0x1d2)],_0x3ef433=new _0x2089ac();_0x3ef433[_0x583b1f(0x2b5)](_0x4d0313);const _0x3977fd={'cellInfo':_0x2fd980,'view':_0x3ef433,'isEmpty':_0x3dfb5f};if(!await _0x3659d7['get'](ie)[_0x583b1f(0x3d0)][_0x583b1f(0x447)](be)(!0x0,_0x3977fd))return!0x1;const _0x1967a0=we(_0x3659d7,_0x3ef433,_0x2fd980,_0x3dfb5f),_0x5bd10d=_e(_0x3659d7,_0x3977fd),{undos:_0x19b842,redos:_0x5aa262}=Ce(_0x528b9e,{'pivotTableId':_0x585f9f,'unitId':_0x32d4ab,'subUnitId':_0x4e9c33},_0x4a52f0);return _0x3e4922([..._0x1967a0['redos'],..._0x5bd10d[_0x583b1f(0x43f)],..._0x5aa262],_0x528b9e),_0x40f80a[_0x583b1f(0x337)]({'unitID':_0x32d4ab,'redoMutations':[..._0x1967a0['redos'],..._0x5bd10d[_0x583b1f(0x43f)],..._0x5aa262],'undoMutations':[..._0x1967a0[_0x583b1f(0x31a)],..._0x5bd10d[_0x583b1f(0x31a)],..._0x19b842]}),!0x0;}},to={'id':_0x5bf728(0x293),'type':_0x56fcc3['MUTATION'],'handler':(_0x34ea77,_0x13e197)=>{const _0xe2ea8a=_0x5bf728;if(!_0x13e197)return!0x1;if(!!_0x34ea77[_0xe2ea8a(0x21b)](_0x224426)['getConfig'](z))return!0x0;const {unitId:_0x5893ba,subUnitId:_0x3188bc,pivotTableId:_0xb7c69b,tableFieldId:_0x1b8c78,dateType:_0x5a890a}=_0x13e197,_0x17bd96=_0x34ea77['get'](G),_0x44f797=_0x17bd96['getPivotTableInstance'](_0xb7c69b);if(!_0x44f797)return!0x1;const _0x5a4685=_0x44f797[_0xe2ea8a(0x269)](_0x1b8c78);if(!_0x5a4685)return!0x1;const _0x301cbe=_0x5a4685[_0xe2ea8a(0x213)](),_0x5e80f5=_0x44f797[_0xe2ea8a(0x39f)](_0x301cbe),_0x27ae17=(_0x5e80f5==null?void 0x0:_0x5e80f5[_0xe2ea8a(0x3a4)]())+'\x20'+qo(_0x34ea77,_0x5a890a);_0x17bd96['getCollection'](_0x5893ba,_0xb7c69b)['setDisplayName'](_0x5a4685['id'],_0x27ae17);const _0x34f9b1=_0x44f797[_0xe2ea8a(0x26d)](_0x1b8c78);if(!_0x34f9b1)return!0x1;_0x44f797[_0xe2ea8a(0x40a)](_0x34f9b1[_0xe2ea8a(0x3f9)](),_0x27ae17),_0x5a4685['setDateType'](_0x5a890a);const _0x9c49ef=_0x17bd96['getPivotTableConfig'](_0x5893ba,_0x3188bc,_0xb7c69b);return _0x17bd96[_0xe2ea8a(0x393)]({'unitId':_0x5893ba,'subUnitId':_0x3188bc,'token':_0xb7c69b,'type':$[_0xe2ea8a(0x225)],'pivotConfig':_0x9c49ef}),!0x0;}},Fs={'id':'sheet.command.update-date-group','type':_0x56fcc3['COMMAND'],'handler':(_0x40a36e,_0x120ea8)=>{const _0xb979be=_0x5bf728;if(!_0x120ea8)return!0x1;const _0x4d8696=_0x40a36e[_0xb979be(0x21b)](_0x342a4e),{unitId:_0x1c5d84,subUnitId:_0x478a36,pivotTableId:_0xff50a7,tableFieldId:_0x2c9e2c}=_0x120ea8,_0x3876e6=[],_0x7620f4=[],_0x50315b=_0x40a36e[_0xb979be(0x21b)](ve),_0x580a0c=_0x50315b[_0xb979be(0x28d)](_0x1c5d84,_0xff50a7),_0x693194=_0x50315b[_0xb979be(0x448)](_0x1c5d84,_0x478a36,_0xff50a7);if(!(_0x693194!=null&&_0x693194['fieldsConfig'][_0xb979be(0x26a)]))return!0x1;const _0x1dff06=Object[_0xb979be(0x2eb)](_0x693194[_0xb979be(0x427)]['dimension'])['find'](_0x3836d4=>_0x3836d4['id']===_0x2c9e2c);if(!_0x1dff06)return!0x1;const _0x2ef2a7=_0x1dff06[_0xb979be(0x1e0)];if(!(_0x580a0c!=null&&_0x580a0c[_0xb979be(0x255)]))return!0x1;const _0x44884f=Object[_0xb979be(0x2eb)](_0x580a0c==null?void 0x0:_0x580a0c['fields'])[_0xb979be(0x2aa)](_0x4a5ed3=>_0x4a5ed3['id']===_0x2ef2a7);if(!_0x44884f)return!0x1;_0x399b61(_0x44884f)&&_0x3876e6[_0xb979be(0x42a)]({'id':to['id'],'params':{..._0x120ea8,'dateType':_0x44884f[_0xb979be(0x3c4)]}}),_0x7620f4['push']({'id':to['id'],'params':{..._0x120ea8}});const _0x4869d3=_0x40a36e[_0xb979be(0x21b)](_0x4e31c1);return _0x3e4922(_0x7620f4,_0x4869d3)&&_0x4d8696[_0xb979be(0x337)]({'unitID':_0x1c5d84,'undoMutations':_0x3876e6,'redoMutations':_0x7620f4}),!0x0;}},Ds={'type':_0x56fcc3['COMMAND'],'id':_0x5bf728(0x305),async 'handler'(_0x1bc050,_0x2b0fce){const _0x1c28af=_0x5bf728;if(!_0x2b0fce)return!0x1;const _0x2eab51=_0x1bc050[_0x1c28af(0x21b)](_0x4e31c1),_0x4c7c9c=_0x1bc050[_0x1c28af(0x21b)](_0x342a4e),_0x5396f9=_0x1bc050[_0x1c28af(0x21b)](X),{displayName:_0x3ec501,subtotalType:_0x55d32d,format:_0x2280d4,tableFieldId:_0x2510cf,pivotTableId:_0x231531,unitId:_0x2793a9,subUnitId:_0x986fe8}=_0x2b0fce,_0x4130e0=(await _0x5396f9[_0x1c28af(0x382)]({'unitId':_0x2793a9,'subUnitId':_0x986fe8,'pivotTableId':_0x231531,'params':{'type':k[_0x1c28af(0x43e)],'setPivotSetting':{'tableFieldId':_0x2510cf,'displayName':_0x3ec501,'subtotalType':_0x55d32d,'format':_0x2280d4}}}))[_0x1c28af(0x236)][_0x1c28af(0x3a8)];if(!_0x4130e0)return!0x1;const {changesets:_0x3e0172,view:_0x2fc434,pivotTableConfig:_0x22b2f3,isEmpty:_0x36dc46}=_0x4130e0,_0x3654bf=_0x22b2f3[_0x1c28af(0x1d2)],_0xe77bfd=new _0x2089ac();_0xe77bfd[_0x1c28af(0x2b5)](_0x2fc434);const _0x657e27={'cellInfo':_0x3654bf,'view':_0xe77bfd,'isEmpty':_0x36dc46};if(!await _0x1bc050[_0x1c28af(0x21b)](ie)[_0x1c28af(0x3d0)][_0x1c28af(0x447)](be)(!0x0,_0x657e27))return!0x1;const _0x22fbb8=we(_0x1bc050,_0xe77bfd,_0x3654bf,_0x36dc46),_0x53b5cd=_e(_0x1bc050,_0x657e27),{undos:_0x404922,redos:_0x3e309b}=Ce(_0x2eab51,{'pivotTableId':_0x231531,'unitId':_0x2793a9,'subUnitId':_0x986fe8},_0x3e0172);return _0x3e4922([..._0x22fbb8[_0x1c28af(0x43f)],..._0x53b5cd[_0x1c28af(0x43f)],..._0x3e309b],_0x2eab51),_0x4c7c9c[_0x1c28af(0x337)]({'unitID':_0x2793a9,'redoMutations':[..._0x22fbb8[_0x1c28af(0x43f)],..._0x53b5cd[_0x1c28af(0x43f)],..._0x3e309b],'undoMutations':[..._0x22fbb8[_0x1c28af(0x31a)],..._0x53b5cd['undos'],..._0x404922]}),!0x0;}},oo={'type':_0x56fcc3[_0x5bf728(0x331)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x1010b6,_0x1cfc9f){const _0x13c8f7=_0x5bf728;if(!_0x1cfc9f)return!0x1;if(!!_0x1010b6[_0x13c8f7(0x21b)](_0x224426)[_0x13c8f7(0x3fb)](z))return!0x0;const _0x79a130=_0x1010b6[_0x13c8f7(0x21b)](G),{pivotTableId:_0x51760b,deleteIds:_0x5e0e23,collectionJSON:_0x4498a1,dataRangeInfo:_0x3d197e,unitId:_0x2db9c7,subUnitId:_0x1a78c4}=_0x1cfc9f,_0xc383f6=_0x79a130[_0x13c8f7(0x24c)](_0x51760b),_0x521c63=_0x79a130[_0x13c8f7(0x448)](_0x2db9c7,_0x1a78c4,_0x51760b);if(!_0xc383f6||!_0x521c63)return!0x1;const {collection:_0x3d3f2b,updateDataFieldList:_0x4e53a8}=_0x79a130[_0x13c8f7(0x235)](_0x51760b,_0x4498a1,_0x3d197e,_0x521c63['targetCellInfo']);_0x79a130['refreshData'](_0x3d3f2b,_0x4e53a8,_0x3d197e),_0xc383f6[_0x13c8f7(0x1f0)](_0x3d3f2b);for(const _0x4b20f8 of _0x5e0e23)_0x79a130[_0x13c8f7(0x24e)](_0x3d197e[_0x13c8f7(0x42b)],_0x4b20f8);const _0xc76971=_0x79a130[_0x13c8f7(0x448)](_0x2db9c7,_0x1a78c4,_0x51760b);return _0xc76971[_0x13c8f7(0x3f8)]=JSON[_0x13c8f7(0x454)](JSON['stringify'](_0x3d197e)),_0x79a130[_0x13c8f7(0x393)]({'unitId':_0x2db9c7,'subUnitId':_0x1a78c4,'token':_0x51760b,'type':$[_0x13c8f7(0x225)]}),!0x0;}},Rs={'type':_0x56fcc3[_0x5bf728(0x380)],'id':_0x5bf728(0x43a),async 'handler'(_0x4418fc,_0x1af151){const _0x190952=_0x5bf728,_0x54a6f4=_0x4418fc[_0x190952(0x21b)](_0x4e31c1),_0x3455ab=_0x4418fc['get'](X),_0x233498=_0x4418fc[_0x190952(0x21b)](_0x342a4e);if(!_0x1af151)return!0x1;const {token:_0x2c69d4,dataRangeInfo:_0x5c3f1c,unitId:_0x24bbe1,subUnitId:_0x5143a9}=_0x1af151,_0x75ed06=[],_0x28bb65=[],_0x2fcfb4=(await _0x3455ab[_0x190952(0x382)]({'unitId':_0x24bbe1,'subUnitId':_0x5143a9,'pivotTableId':_0x2c69d4,'params':{'type':k[_0x190952(0x332)],'updatePivotSource':{'dataRangeInfo':_0x5c3f1c,'unitId':_0x24bbe1,'subUnitId':_0x5143a9}}}))['result'][_0x190952(0x327)];if(!_0x2fcfb4)return!0x1;const {changesets:_0x1b2667,deleteIds:_0x181926,collectionConfig:_0xe79888,oldCollectionConfig:_0x3c685a,view:_0x35ef04,isEmpty:_0x306f83,pivotTableConfig:_0x340edd}=_0x2fcfb4;_0x28bb65[_0x190952(0x42a)]({'id':oo['id'],'params':{'pivotTableId':_0x2c69d4,'deleteIds':_0x181926,'collectionJSON':_0xe79888,'dataRangeInfo':_0x5c3f1c,'unitId':_0x24bbe1,'subUnitId':_0x5143a9}}),_0x75ed06['unshift']({'id':oo['id'],'params':{'pivotTableId':_0x2c69d4,'deleteIds':[],'collectionJSON':_0x3c685a,'dataRangeInfo':_0x340edd[_0x190952(0x3f8)],'unitId':_0x24bbe1,'subUnitId':_0x5143a9}});const _0x196303=_0x340edd[_0x190952(0x1d2)],_0x405bbc=new _0x2089ac();_0x405bbc[_0x190952(0x2b5)](_0x35ef04);const _0x7a0919={'cellInfo':_0x196303,'view':_0x405bbc,'isEmpty':_0x306f83};if(!await _0x4418fc[_0x190952(0x21b)](ie)[_0x190952(0x3d0)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x7a0919))return!0x1;const _0x249f0e=we(_0x4418fc,_0x405bbc,_0x196303,_0x306f83),_0xb5ca74=_e(_0x4418fc,_0x7a0919),{undos:_0x2dc2c0,redos:_0x41739c}=Ce(_0x54a6f4,{'pivotTableId':_0x2c69d4,'unitId':_0x24bbe1,'subUnitId':_0x5143a9},_0x1b2667);return _0x3e4922([..._0x249f0e[_0x190952(0x43f)],..._0xb5ca74['redos'],..._0x28bb65,..._0x2dc2c0],_0x54a6f4),_0x233498[_0x190952(0x337)]({'unitID':_0x24bbe1,'redoMutations':[..._0x249f0e[_0x190952(0x43f)],..._0xb5ca74['redos'],..._0x28bb65,..._0x2dc2c0],'undoMutations':[..._0x249f0e[_0x190952(0x31a)],..._0xb5ca74['undos'],..._0x75ed06,..._0x41739c]}),!0x0;}},Ns={'type':_0x56fcc3[_0x5bf728(0x380)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x13a3f2,_0x219e99){const _0x54695b=_0x5bf728;if(!_0x219e99)return!0x1;const _0x16ccb7=_0x13a3f2[_0x54695b(0x21b)](_0x4e31c1),_0x5b0d4e=_0x13a3f2['get'](X),_0x50facc=_0x13a3f2[_0x54695b(0x21b)](_0x2fecb8),_0x4be756=_0x13a3f2[_0x54695b(0x21b)](_0x342a4e),{pivotTableId:_0x4d8035,position:_0x46c280,index:_0x268c72}=_0x219e99,_0x23adfc=_0x5b1933(_0x50facc);if(!_0x23adfc)return!0x1;const {unitId:_0x4b4a0a,subUnitId:_0x3e6d1d}=_0x23adfc,_0x3cd2cc=(await _0x5b0d4e['getPivotDisplayConfig']({'unitId':_0x4b4a0a,'subUnitId':_0x3e6d1d,'pivotTableId':_0x4d8035,'params':{'type':k[_0x54695b(0x3bf)],'updateValuePosition':{'position':_0x46c280,'index':_0x268c72}}}))[_0x54695b(0x236)][_0x54695b(0x29c)];if(!_0x3cd2cc)return!0x1;const {changesets:_0x352f2b,view:_0x419860,isEmpty:_0x43bcc4,pivotTableConfig:_0x58eddb}=_0x3cd2cc,_0x4ef04c=_0x58eddb['targetCellInfo'],_0x404087=new _0x2089ac();_0x404087[_0x54695b(0x2b5)](_0x419860);const _0x5eafd2=_0x13a3f2[_0x54695b(0x21b)](ie),_0x447b15={'cellInfo':_0x4ef04c,'view':_0x404087,'isEmpty':_0x43bcc4};if(!await _0x5eafd2['asyncInterceptor'][_0x54695b(0x447)](be)(!0x0,_0x447b15))return!0x1;const _0x31bc68=we(_0x13a3f2,_0x404087,_0x4ef04c,_0x43bcc4),_0xf40c48=_e(_0x13a3f2,_0x447b15),{undos:_0x3830b3,redos:_0x4a1a7a}=Ce(_0x16ccb7,{'pivotTableId':_0x4d8035,'unitId':_0x4b4a0a,'subUnitId':_0x3e6d1d},_0x352f2b);return _0x3e4922([..._0x31bc68[_0x54695b(0x43f)],..._0xf40c48[_0x54695b(0x43f)],..._0x4a1a7a],_0x16ccb7),_0x4be756['pushUndoRedo']({'unitID':_0x4b4a0a,'redoMutations':[..._0x31bc68[_0x54695b(0x43f)],..._0xf40c48[_0x54695b(0x43f)],..._0x4a1a7a],'undoMutations':[..._0x31bc68[_0x54695b(0x31a)],..._0xf40c48[_0x54695b(0x31a)],..._0x3830b3]}),!0x0;}},Vt={'type':_0x56fcc3[_0x5bf728(0x331)],'id':_0x5bf728(0x32f),'handler'(){return!0x0;}};var Vs=Object[_0x5bf728(0x3a1)],Us=(_0x59919b,_0x56301a,_0x47c68e,_0x44b575)=>{const _0x772acd=_0x5bf728;for(var _0x13a427=_0x44b575>0x1?void 0x0:_0x44b575?Vs(_0x56301a,_0x47c68e):_0x56301a,_0x4f1c2c=_0x59919b[_0x772acd(0x395)]-0x1,_0x374199;_0x4f1c2c>=0x0;_0x4f1c2c--)(_0x374199=_0x59919b[_0x4f1c2c])&&(_0x13a427=_0x374199(_0x13a427)||_0x13a427);return _0x13a427;},at=(_0x4a2aec,_0x290359)=>(_0x5a7ae7,_0x253e97)=>_0x290359(_0x5a7ae7,_0x253e97,_0x4a2aec);const As=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0xd5d702,_0x1eb44b,_0x3092d6)=>{const _0x24ace7=_0x5bf728,_0x112549=_0xd5d702[_0x24ace7(0x35d)];_0xd5d702[_0x24ace7(0x24d)](_0x136c6d=>{const _0x1c6fa7=_0x24ace7,_0x26e546=_0x136c6d[_0x1c6fa7(0x3f9)](),_0x405f52=_0x136c6d[_0x1c6fa7(0x32b)](),_0x10fd9e=_0x136c6d[_0x1c6fa7(0x2f8)](),_0x628982=_0x136c6d[_0x1c6fa7(0x2a1)]();_0x1eb44b[_0x405f52]&&_0x1eb44b[_0x405f52]===_0x628982&&_0x10fd9e===_0x628982&&(_0xd5d702[_0x1c6fa7(0x40a)](_0x26e546,_0x112549[_0x1c6fa7(0x2a1)](_0x405f52)),_0x136c6d[_0x1c6fa7(0x31d)](_0x112549[_0x1c6fa7(0x2a1)](_0x405f52)));}),_0xd5d702['iterateFieldByArea'](_0x3a6ce8[_0x24ace7(0x409)],_0x3adc89=>{const _0x562ec9=_0x24ace7,_0x35ba7b=_0x3adc89['getId'](),_0x509d6d=_0x3adc89[_0x562ec9(0x32b)](),_0x3f0863=_0x3adc89['getSourceName'](),_0x420531=_0x3adc89[_0x562ec9(0x2a1)](),_0x25e663=_0x3adc89['getSubtotal'](),_0x6272e5=_0x3092d6(_0x3f0863,_0x25e663);_0x1eb44b[_0x509d6d]&&_0x1eb44b[_0x509d6d]===_0x3f0863&&_0x6272e5===_0x420531&&(_0xd5d702[_0x562ec9(0x40a)](_0x35ba7b,_0x3092d6(_0x112549[_0x562ec9(0x2a1)](_0x509d6d),_0x25e663)),_0x3adc89[_0x562ec9(0x31d)](_0x112549[_0x562ec9(0x2a1)](_0x509d6d)));});},xs=(_0x439be2,_0x195cf0,_0x22cd63)=>{const _0x55fa4c=_0x5bf728;var _0x53edc5,_0x68efe6;const {arrayFormulaCellData:_0x36691b,unitData:_0x437835}=_0x195cf0,{unitId:_0x2fefd1,subUnitId:_0x470d66}=_0x22cd63,_0x1895b6=_0x22cd63[_0x55fa4c(0x284)],{startColumn:_0x32a641,endColumn:_0x2166fe}=_0x1895b6,_0x2bc158=(_0x53edc5=_0x36691b==null?void 0x0:_0x36691b[_0x2fefd1])==null?void 0x0:_0x53edc5[_0x470d66],_0x4823a0=(_0x68efe6=_0x437835==null?void 0x0:_0x437835[_0x2fefd1])==null?void 0x0:_0x68efe6[_0x470d66],_0x313d1a=new Set(),_0x3526f=_0x2166fe-_0x32a641+0x1,{dirtyRanges:_0x275c4f}=_0x439be2;if(_0x275c4f)for(const {range:_0x5d4280,sheetId:_0xe6fc77,unitId:_0x5cb427}of _0x275c4f){if(_0xe6fc77!==_0x470d66||_0x2fefd1!==_0x5cb427)continue;const _0xa38f67=_0x3d3208[_0x55fa4c(0x383)](_0x5d4280,_0x1895b6);if(_0xa38f67){const {startColumn:_0x25718f,endColumn:_0x39011e}=_0xa38f67;for(let _0x574e3b=_0x25718f;_0x574e3b<=_0x39011e;_0x574e3b++)_0x313d1a[_0x55fa4c(0x2de)](_0x574e3b);}}if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f||_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)return Array['from'](_0x313d1a);if(_0x4823a0){const _0x19abc0=_0x4823a0[_0x55fa4c(0x426)](),_0x445ff2=Object[_0x55fa4c(0x3ab)](_0x19abc0);for(const _0x324c13 of _0x445ff2){const _0x491411=Number(_0x324c13),_0x37738d=_0x19abc0[_0x491411];if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)break;for(const _0x11a2b7 in _0x37738d){const _0x3bc6a0=Number(_0x11a2b7);_0x3bc6a0<_0x32a641||_0x3bc6a0>_0x2166fe||_0x313d1a['add'](_0x3bc6a0);}}}if(_0x2bc158){const _0x595449=_0x2bc158['getMatrix'](),_0x20e986=Object[_0x55fa4c(0x3ab)](_0x595449);for(const _0x446883 of _0x20e986){const _0x194df2=Number(_0x446883),_0x247ce8=_0x595449[_0x194df2];if(_0x313d1a[_0x55fa4c(0x222)]===_0x3526f)break;for(const _0x144f37 in _0x247ce8){const _0x196c34=Number(_0x144f37);_0x196c34<_0x32a641||_0x196c34>_0x2166fe||_0x313d1a[_0x55fa4c(0x2de)](_0x196c34);}}}return Array[_0x55fa4c(0x200)](_0x313d1a);},Os=_0x22d6c7=>{const _0x537e21=_0x5bf728,_0x5dcb37=new Set(),_0x922cea=[];for(const _0x18ae0d of _0x22d6c7){const _0x557522=_0x18ae0d['startRow']+','+_0x18ae0d[_0x537e21(0x320)]+','+_0x18ae0d[_0x537e21(0x3d2)]+','+_0x18ae0d[_0x537e21(0x3cd)];_0x5dcb37[_0x537e21(0x1ff)](_0x557522)||(_0x5dcb37[_0x537e21(0x2de)](_0x557522),_0x922cea['push'](_0x18ae0d));}return _0x922cea;};let ct=class extends _0x25f1fb{constructor(_0x7db387,_0x28dccc,_0x1756b4,_0xb7224e,_0x1d04f2){const _0x510d59=_0x5bf728;super(),V(this,_0x510d59(0x3cc),new _0x6f9e2d(!0x0)),V(this,_0x510d59(0x418),_0x2e25ea=>{const _0x5cf86a=_0x510d59;this[_0x5cf86a(0x3cc)][_0x5cf86a(0x216)](!0x1);}),V(this,_0x510d59(0x2df),_0xc1b947=>{const _0x2877fc=_0x510d59;this[_0x2877fc(0x3cc)][_0x2877fc(0x216)](!0x0);}),(this[_0x510d59(0x317)]=_0x7db387,this[_0x510d59(0x325)]=_0x28dccc,this['_commandService']=_0x1756b4,this[_0x510d59(0x416)]=_0xb7224e,this[_0x510d59(0x24a)]=_0x1d04f2,this[_0x510d59(0x1ef)](),this[_0x510d59(0x3ac)]());}[_0x5bf728(0x1ef)](){const _0x4d0897=_0x5bf728;this[_0x4d0897(0x44a)](),this['_subjectViewChange'](),this[_0x4d0897(0x2a7)](),this[_0x4d0897(0x20a)]();}[_0x5bf728(0x415)](){const _0x1f088f=_0x5bf728;this[_0x1f088f(0x416)]['pushComputingStatusSubject'](this[_0x1f088f(0x3cc)]),_0x15d468[_0x1f088f(0x28a)](_0x1a52c8[_0x1f088f(0x421)],this[_0x1f088f(0x418)]),_0x15d468[_0x1f088f(0x28a)](_0x1a52c8[_0x1f088f(0x385)],this[_0x1f088f(0x2df)]);}[_0x5bf728(0x3ac)](){const _0x1c0d0e=_0x5bf728;this[_0x1c0d0e(0x3d8)](this[_0x1c0d0e(0x234)][_0x1c0d0e(0x3ff)](_0x502900=>{const _0xa6c00d=_0x1c0d0e;_0x502900['id']===_0x345d91['id']&&this[_0xa6c00d(0x317)][_0xa6c00d(0x221)](_0x502900['params']);})),this[_0x1c0d0e(0x3d8)](this[_0x1c0d0e(0x234)][_0x1c0d0e(0x3ff)](_0x498678=>{const _0x46d71f=_0x1c0d0e;if(_0x498678['id']!==ro['id'])return;const _0x2f979e=_0x498678[_0x46d71f(0x3c1)],{unitId:_0x3d524e,subUnitId:_0x2ebe9f,pivotTableId:_0x2375f3}=_0x2f979e,_0x380f9f=_0x2f979e['params'][_0x46d71f(0x2bb)],_0x31a6a9={};switch(_0x380f9f){case k[_0x46d71f(0x2d8)]:{const _0x2f94ca=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3c6)];if(!_0x2f94ca)return;const {row:_0x52e409,col:_0x1d0322,cellData:_0x40f27f,pivotItemRenderInfoCache:_0x333722,tableFieldId:_0x3d4ba2}=_0x2f94ca,_0x528a7b=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2f979e[_0x46d71f(0x414)]);if(!_0x528a7b||!_0x333722)return;if(_0x3d4ba2){const _0x576f98=_0x528a7b[_0x46d71f(0x269)](_0x3d4ba2);if(!_0x576f98)return;_0x31a6a9[_0x46d71f(0x3c6)]={..._0x528a7b[_0x46d71f(0x408)](_0x576f98),'tableFieldId':_0x3d4ba2,'pivotTableId':_0x2f979e[_0x46d71f(0x414)],'filterInfo':_0x528a7b[_0x46d71f(0x21a)](_0x3d4ba2),'sortInfo':_0x528a7b[_0x46d71f(0x203)](_0x3d4ba2),'format':_0x528a7b[_0x46d71f(0x3c3)](_0x3d4ba2)};}else{const _0x1e657e=ki(_0x52e409,_0x1d0322,_0x40f27f,_0x528a7b,_0x333722),_0x3002ed=_0x1e657e==null?void 0x0:_0x1e657e['filterId'];if(!_0x3002ed)return;const _0x5c8983=_0x528a7b[_0x46d71f(0x269)](_0x3002ed);if(!_0x5c8983)return;_0x31a6a9[_0x46d71f(0x3c6)]={..._0x528a7b[_0x46d71f(0x408)](_0x5c8983),'tableFieldId':_0x3002ed,'pivotTableId':_0x2f979e[_0x46d71f(0x414)],'filterInfo':_0x528a7b[_0x46d71f(0x21a)](_0x3002ed),'sortInfo':_0x528a7b['getSortInfo'](_0x3002ed),'format':_0x528a7b[_0x46d71f(0x3c3)](_0x3002ed)};}}break;case k[_0x46d71f(0x324)]:{const _0x2fcc32=_0x2f979e['params'][_0x46d71f(0x399)];if(!_0x2fcc32)return;const {pivotTableId:_0x19d74b}=_0x2fcc32,_0x18fcb3=this[_0x46d71f(0x317)]['getPivotTableInstance'](_0x19d74b);if(!_0x18fcb3)return;const _0x517905=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x19d74b),_0x3ad120=Li(_0x18fcb3,_0x19d74b,_0x517905);_0x31a6a9[_0x46d71f(0x399)]=_0x3ad120;}break;case k[_0x46d71f(0x364)]:{const _0x2ef44f=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x5d9ed6=this[_0x46d71f(0x317)]['getDataFieldManager'](_0x3d524e),_0x314cc1=_0x5d9ed6[_0x46d71f(0x28d)](_0x2375f3);let _0xfb1e0d=null;const _0x19b6fc=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3),_0x39b4f9=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x397)];if(!_0x2ef44f||!_0x19b6fc||!_0x39b4f9)return!0x1;const {dataFieldId:_0x5ce4a3,fieldArea:_0x7d2557,index:_0x460bd4}=_0x39b4f9;_0x2ef44f[_0x46d71f(0x3ec)]();const _0x1a2c85=_0x2ef44f['addFieldWithSourceId'](_0x5ce4a3,_0x7d2557,_0x460bd4);if(_0x1a2c85&&_0x7d2557===_0x3a6ce8['Value']){const _0x23aaa1=_0x1a2c85[_0x46d71f(0x3f9)](),_0x407217=_0x2ef44f[_0x46d71f(0x269)](_0x23aaa1);if(_0x407217){const _0x45a53a=_0x407217==null?void 0x0:_0x407217[_0x46d71f(0x2a6)]();_0x2ef44f[_0x46d71f(0x1f4)](_0x1a2c85[_0x46d71f(0x3f9)](),_0x45a53a===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}const _0x2f1ed8=_0x2ef44f[_0x46d71f(0x36f)](),_0xb97af5=_0x2ef44f[_0x46d71f(0x1d6)](),_0x201ed9=_0x2ef44f[_0x46d71f(0x42e)](_0x3a6ce8['Value']);if(_0x2f1ed8===-0x1&&_0x201ed9>0x1){const _0x2475e3=_0xb97af5===_0xad4caa[_0x46d71f(0x391)]?_0xad4caa[_0x46d71f(0x3f6)]:_0xb97af5,_0x51bab8=_0x2475e3===_0xad4caa['Row']?_0x3a6ce8[_0x46d71f(0x22f)]:_0x3a6ce8['Column'];_0x2ef44f[_0x46d71f(0x29c)](_0x2475e3,_0x2ef44f[_0x46d71f(0x42e)](_0x51bab8));}}else{if(_0x1a2c85&&(_0x7d2557===_0x3a6ce8[_0x46d71f(0x22f)]||_0x7d2557===_0x3a6ce8[_0x46d71f(0x3f6)])){const _0x47d2e4=_0x1a2c85['getId'](),_0x2cfc8f=_0x2ef44f[_0x46d71f(0x269)](_0x47d2e4);if(_0x2cfc8f&&(_0x2cfc8f==null?void 0x0:_0x2cfc8f[_0x46d71f(0x2a6)]())===_0x54c91a['date']){const _0x8dcb48=_0x2cfc8f[_0x46d71f(0x1d5)]();if(_0x8dcb48&&_0x2ef44f[_0x46d71f(0x419)](_0x1a2c85[_0x46d71f(0x3f9)](),_0x8dcb48),!_0x314cc1[_0x46d71f(0x363)]()[_0x46d71f(0x27c)](_0x5e83ce=>{const _0x40d45d=_0x46d71f,_0x599246=_0x314cc1[_0x40d45d(0x437)](_0x5e83ce);return _0x43eb06(_0x599246)?_0x599246[_0x40d45d(0x2ec)]()[_0x40d45d(0x351)]===_0x5ce4a3:!0x1;})){const _0x149f10=_0x5d9ed6[_0x46d71f(0x28e)](),_0x3c03f8=Hi(_0x2cfc8f[_0x46d71f(0x339)],_0x2cfc8f[_0x46d71f(0x1dd)]),_0x57e178=_0x2cfc8f['getName']()+_0x46d71f(0x21c)+qo(this['_injector'],_0x3c03f8),_0x178818=new _0x239928(_0x149f10,_0x57e178,_0x2962d6(0x3),_0x2cfc8f[_0x46d71f(0x3f9)](),_0x3c03f8);_0x5d9ed6[_0x46d71f(0x209)](_0x178818),_0x314cc1[_0x46d71f(0x336)](_0x149f10,_0x57e178),_0x2ef44f[_0x46d71f(0x3e2)](_0x149f10,_0x7d2557,(_0x460bd4!=null?_0x460bd4:0x0)+0x1),_0xfb1e0d=_0x178818;}}}}const _0x54ede5=_0x2ef44f[_0x46d71f(0x37d)](),_0xacb52f=_0x2ef44f[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)]();let _0x2dfaad;if(_0xfb1e0d){_0x2dfaad=_0xfb1e0d[_0x46d71f(0x361)]();const _0x4215bb=_0xfb1e0d[_0x46d71f(0x3f9)]();_0x314cc1[_0x46d71f(0x272)](_0x4215bb);let _0x14a6e0=!0x0;for(const _0x782896 in _0x5d9ed6[_0x46d71f(0x278)])if(_0x5d9ed6['collections'][_0x782896][_0x46d71f(0x363)]()[_0x46d71f(0x223)](_0x4215bb)){_0x14a6e0=!0x1;break;}_0x14a6e0&&_0x5d9ed6[_0x46d71f(0x406)](_0x4215bb);}const _0x24d91b=_0x2ef44f['endCollectChangeset']();_0x31a6a9['addPivotField']={'view':_0xacb52f,'changesets':_0x24d91b,'isEmpty':_0x54ede5,'pivotTableConfig':_0x19b6fc,'shouldBeAddedGroupJSON':_0x2dfaad};}break;case k[_0x46d71f(0x434)]:{const _0x3c859a=_0x2f979e['params'][_0x46d71f(0x35c)];if(!_0x3c859a)return;const _0x3cb819=_0x3c859a[_0x46d71f(0x3f8)],_0x48841e=_0x3c859a['pivotTableId'],{collection:_0x537c14}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x3cb819[_0x46d71f(0x42b)],'sheetName':_0x3cb819[_0x46d71f(0x360)],'subUnitId':_0x3cb819[_0x46d71f(0x2a0)],'range':_0x3cb819[_0x46d71f(0x284)]}),_0x121a66=new _0x15d468(_0x537c14,void 0x0,_0x48841e),_0x1add8f=_0x121a66[_0x46d71f(0x3b1)](),_0x12632e=_0x121a66[_0x46d71f(0x361)](),_0x3e629e=_0x537c14['toJSON']();_0x31a6a9['addPivotTable']={'view':_0x1add8f,'fieldsConfig':_0x12632e,'collectionConfig':_0x3e629e,'isEmpty':_0x121a66[_0x46d71f(0x37d)]()};}break;case k[_0x46d71f(0x41e)]:{const _0x465abb=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x424)];if(!_0x465abb)return;const {fieldId:_0x461577,area:_0x206333,index:_0x23c59d}=_0x465abb,_0x3eb5ba=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3eb5ba)return;const _0x51e7c=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3);if(!_0x51e7c)return;_0x51e7c[_0x46d71f(0x3ec)]();const {area:_0x5e1354,index:_0x2eb056}=_0x51e7c['getFieldPositionInfoById'](_0x461577);if(_0x51e7c[_0x46d71f(0x3f3)](_0x461577,_0x206333,_0x23c59d),_0x206333===_0x3a6ce8[_0x46d71f(0x409)]&&_0x51e7c[_0x46d71f(0x26d)](_0x461577)[_0x46d71f(0x37f)]()===void 0x0){const _0x4d6729=_0x51e7c[_0x46d71f(0x26d)](_0x461577);if(_0x4d6729&&_0x4d6729[_0x46d71f(0x37f)]()===void 0x0){const _0x549941=_0x51e7c[_0x46d71f(0x269)](_0x461577);if(_0x549941){const _0x1c112c=_0x549941==null?void 0x0:_0x549941['getFieldDataType']();_0x51e7c[_0x46d71f(0x1f4)](_0x461577,_0x1c112c===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}}}const _0x42ee51=_0x51e7c['getValuePosition'](),_0x255ed8=_0x51e7c[_0x46d71f(0x36f)](),_0x5a672d=_0x51e7c[_0x46d71f(0x42e)](_0x3a6ce8[_0x46d71f(0x409)])>0x1;if(_0x5a672d&&_0x5e1354===_0x206333&&(_0x206333===_0x3a6ce8['Row']&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x206333===_0x3a6ce8[_0x46d71f(0x3f6)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])){let _0x274e30=_0x255ed8;_0x2eb056<=_0x255ed8&&_0x274e30--,_0x23c59d<=_0x255ed8&&_0x274e30++,_0x51e7c['updateValuePosition'](_0x42ee51,_0x274e30);}else _0x5a672d&&(_0x5e1354===_0x3a6ce8[_0x46d71f(0x22f)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x5e1354===_0x3a6ce8['Column']&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])&&_0x255ed8>=_0x2eb056&&_0x51e7c['updateValuePosition'](_0x42ee51,_0x255ed8-0x1),_0x5a672d&&(_0x206333===_0x3a6ce8[_0x46d71f(0x22f)]&&_0x42ee51===_0xad4caa[_0x46d71f(0x22f)]||_0x206333===_0x3a6ce8['Column']&&_0x42ee51===_0xad4caa[_0x46d71f(0x3f6)])&&_0x255ed8>=_0x23c59d&&_0x51e7c[_0x46d71f(0x29c)](_0x42ee51,_0x255ed8+0x1);const _0xa0f3b7=_0x51e7c[_0x46d71f(0x3b1)](),_0x41c5f5=_0x51e7c[_0x46d71f(0x37d)](),_0x416b33=_0x51e7c[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x424)]={'view':_0xa0f3b7[_0x46d71f(0x361)](),'changesets':_0x416b33,'isEmpty':_0x41c5f5,'pivotTableConfig':_0x3eb5ba};}break;case k[_0x46d71f(0x429)]:{const _0x23df98=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3bd)];if(!_0x23df98)return;const _0x3b891c=_0x23df98[_0x46d71f(0x2f1)],_0x472a0c=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x472a0c)return!0x1;const _0xe23057=this[_0x46d71f(0x317)]['getPivotTableInstance'](_0x2375f3);if(!_0xe23057)return!0x1;_0xe23057[_0x46d71f(0x3ec)]();for(const _0x2e34ae of _0x3b891c){const {area:_0x4984f4}=_0xe23057[_0x46d71f(0x3b2)](_0x2e34ae);_0x4984f4===_0x3a6ce8[_0x46d71f(0x409)]&&_0xe23057[_0x46d71f(0x313)](_0x2e34ae),(_0x4984f4===_0x3a6ce8[_0x46d71f(0x22f)]||_0x4984f4===_0x3a6ce8[_0x46d71f(0x3f6)])&&_0xe23057[_0x46d71f(0x34a)](_0x2e34ae),_0xe23057[_0x46d71f(0x2a5)](_0x2e34ae);}const _0xb81d3f=_0xe23057['isEmpty'](),_0x4d6e61=_0xe23057[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0xb97b56=_0xe23057[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x3bd)]={'changesets':_0xb97b56,'pivotTableConfig':_0x472a0c,'isEmpty':_0xb81d3f,'view':_0x4d6e61};}break;case k[_0x46d71f(0x243)]:{const _0xf68940=_0x2f979e[_0x46d71f(0x3c1)]['setPivotFilter'];if(!_0xf68940)return;const {tableFieldId:_0x573e8a,items:_0x192cfc,isAll:_0x4c7467}=_0xf68940,_0xc3909=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2375f3),_0x2d5caf=this[_0x46d71f(0x317)]['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0xc3909||!_0x2d5caf)return;_0xc3909['startCollectChangeset'](),_0xc3909[_0x46d71f(0x1dc)](_0x573e8a,{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x192cfc,'isAll':_0x4c7467});const _0x352c31=_0xc3909['isEmpty'](),_0xec52e5=_0xc3909[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x2f5654=_0xc3909[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x417)]={'view':_0xec52e5,'changesets':_0x2f5654,'isEmpty':_0x352c31,'pivotTableConfig':_0x2d5caf};}break;case k['SetValuePivotFilter']:{const _0x309e07=_0x2f979e['params'][_0x46d71f(0x252)];if(!_0x309e07)return;const {tableFieldId:_0x1ef6dc,filterInfo:_0x204347}=_0x309e07,_0x27202b=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x3ddaeb=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x27202b||!_0x3ddaeb)return;_0x27202b[_0x46d71f(0x3ec)](),_0x27202b[_0x46d71f(0x452)](_0x1ef6dc,_0x204347);const _0x5f3c8f=_0x27202b[_0x46d71f(0x37d)](),_0x33e1c8=_0x27202b[_0x46d71f(0x3b1)]()['toJSON'](),_0x1c387c=_0x27202b[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x252)]={'view':_0x33e1c8,'changesets':_0x1c387c,'isEmpty':_0x5f3c8f,'pivotTableConfig':_0x3ddaeb};}break;case k['SetPivotSort']:{const _0x5372ad=_0x2f979e[_0x46d71f(0x3c1)]['setPivotSort'];if(!_0x5372ad)return;const {tableFieldId:_0x4cddfc,info:_0x2203ac}=_0x5372ad,_0x5d5354=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x4b2588=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x5d5354||!_0x4b2588)return;_0x5d5354[_0x46d71f(0x3ec)](),_0x5d5354[_0x46d71f(0x39a)](_0x4cddfc,_0x2203ac);const _0x102443=_0x5d5354[_0x46d71f(0x37d)](),_0x5d329c=_0x5d5354[_0x46d71f(0x3b1)]()['toJSON'](),_0x2b37ad=_0x5d5354[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x401)]={'view':_0x5d329c,'changesets':_0x2b37ad,'isEmpty':_0x102443,'pivotTableConfig':_0x4b2588};}break;case k[_0x46d71f(0x43e)]:{const _0x504ef5=_0x2f979e[_0x46d71f(0x3c1)]['setPivotSetting'];if(!_0x504ef5)return;const {tableFieldId:_0x39ff6f,displayName:_0x45c833,subtotalType:_0x29f0fb,format:_0x14ead5}=_0x504ef5,_0x435a1b=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2375f3),_0xc18c7c=this[_0x46d71f(0x317)]['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x435a1b||!_0xc18c7c)return;_0x435a1b[_0x46d71f(0x3ec)](),_0x45c833!==void 0x0&&_0x435a1b[_0x46d71f(0x40a)](_0x39ff6f,_0x45c833),_0x29f0fb!==void 0x0&&_0x435a1b['setSubtotalType'](_0x39ff6f,_0x29f0fb),_0x14ead5!==void 0x0&&_0x435a1b[_0x46d71f(0x419)](_0x39ff6f,_0x14ead5);const _0x1f2816=_0x435a1b['isEmpty'](),_0x361edb=_0x435a1b['query']()[_0x46d71f(0x361)](),_0x54d23d=_0x435a1b[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x3a8)]={'changesets':_0x54d23d,'pivotTableConfig':_0xc18c7c,'isEmpty':_0x1f2816,'view':_0x361edb};}break;case k[_0x46d71f(0x332)]:{const _0x264c5a=_0x2f979e['params'][_0x46d71f(0x327)];if(!_0x264c5a)return;const {dataRangeInfo:_0x224709,unitId:_0x5eb4ea,subUnitId:_0x403e09}=_0x264c5a,_0x1019d9=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x448)](_0x5eb4ea,_0x403e09,_0x2375f3),_0x346006=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2375f3);if(!this[_0x46d71f(0x317)][_0x46d71f(0x28d)](_0x5eb4ea,_0x2375f3)||!_0x346006||!_0x1019d9)return;const _0x4698ee=this[_0x46d71f(0x317)]['getUpdateRangeDeleteIds'](_0x5eb4ea,_0x2375f3,_0x224709),_0x1c88f9=this[_0x46d71f(0x317)][_0x46d71f(0x28d)](_0x5eb4ea,_0x2375f3)['toJSON'](),{collection:_0x1c0ee9}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x224709[_0x46d71f(0x42b)],'sheetName':_0x224709[_0x46d71f(0x360)],'subUnitId':_0x224709[_0x46d71f(0x2a0)],'range':_0x224709[_0x46d71f(0x284)]}),_0x45f1cf=_0x1c0ee9[_0x46d71f(0x361)]();_0x346006[_0x46d71f(0x3ec)]();const _0x1f0d3c=this[_0x46d71f(0x317)][_0x46d71f(0x23e)](_0x5eb4ea)[_0x46d71f(0x202)]()||_0x267ddd;_0x346006['iterateField'](_0xd945b1=>{const _0x5a7225=_0x46d71f,_0x438166=_0xd945b1[_0x5a7225(0x32b)]();if(!_0x1c0ee9['hasField'](_0x438166)){const _0x5943f4=_0x1c0ee9['getDataFieldBySourceName'](_0xd945b1['getSourceName']());if(_0x5943f4){_0x346006['updateFieldSourceInfo'](_0xd945b1[_0x5a7225(0x3f9)](),_0x5943f4[_0x5a7225(0x3a4)](),_0x5943f4[_0x5a7225(0x3f9)]());const {area:_0x1ac1b0}=_0x346006[_0x5a7225(0x3b2)](_0xd945b1[_0x5a7225(0x3f9)]());let _0x75f3f0=_0xd945b1[_0x5a7225(0x2f8)]();const _0x3e12dd=_0xd945b1[_0x5a7225(0x2a1)]();if(_0x1ac1b0===_0x3a6ce8[_0x5a7225(0x409)]){const _0x3f0eaf=_0xd945b1[_0x5a7225(0x37f)]();_0x75f3f0=_0x1f0d3c(_0x5943f4[_0x5a7225(0x3a4)](),_0x3f0eaf);}_0x3e12dd!==_0x75f3f0&&_0x346006[_0x5a7225(0x40a)](_0xd945b1['getId'](),_0x75f3f0);}else _0x346006[_0x5a7225(0x2a5)](_0xd945b1['getId']());}});const _0x259d7f=_0x346006['isEmpty'](),_0x11413f=_0x346006[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x2db661=_0x346006['endCollectChangeset']();_0x31a6a9[_0x46d71f(0x327)]={'view':_0x11413f,'changesets':_0x2db661,'isEmpty':_0x259d7f,'pivotTableConfig':_0x1019d9,'collectionConfig':_0x45f1cf,'oldCollectionConfig':_0x1c88f9,'deleteIds':_0x4698ee};}break;case k[_0x46d71f(0x3bf)]:{const _0x75dc6f=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x29c)];if(!_0x75dc6f)return;const {position:_0x3fcaf3,index:_0x3ebcbc}=_0x75dc6f,_0xecc94e=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0xecc94e)return!0x1;const _0x498f25=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3);if(!_0x498f25)return!0x1;_0x498f25['startCollectChangeset'](),_0x498f25[_0x46d71f(0x29c)](_0x3fcaf3,_0x3ebcbc);const _0x42b5e0=_0x498f25[_0x46d71f(0x37d)](),_0x36f2e2=_0x498f25['query']()[_0x46d71f(0x361)](),_0x63c832=_0x498f25[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x29c)]={'changesets':_0x63c832,'pivotTableConfig':_0xecc94e,'isEmpty':_0x42b5e0,'view':_0x36f2e2};}break;case k[_0x46d71f(0x3f2)]:{const _0x4bcf16=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x330)];if(!_0x4bcf16)return;const {tableFieldId:_0x48338b,collapse:_0x1f6d94,item:_0x5c351a}=_0x4bcf16,_0x3488cb=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x17cce5=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3488cb||!_0x17cce5)return;_0x3488cb[_0x46d71f(0x3ec)](),_0x3488cb[_0x46d71f(0x38d)](_0x48338b,_0x1f6d94,_0x5c351a);const _0x245c8e=_0x3488cb['isEmpty'](),_0x23c378=_0x3488cb['query']()[_0x46d71f(0x361)](),_0x59bda9=_0x3488cb[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x330)]={'view':_0x23c378,'isEmpty':_0x245c8e,'pivotTableConfig':_0x17cce5,'changesets':_0x59bda9};}break;case k[_0x46d71f(0x308)]:{const _0x2461ab=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3ed)];if(!_0x2461ab)return;const {pivotTableConfig:_0x19506b}=_0x2461ab,_0x3d2fb3=this[_0x46d71f(0x317)][_0x46d71f(0x24c)](_0x2375f3),_0x440073=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x3d2fb3||!_0x440073)return;_0x3d2fb3[_0x46d71f(0x3ec)](),Yi(_0x3d2fb3,_0x19506b);const _0x5db57b=_0x3d2fb3[_0x46d71f(0x37d)](),_0x4cbb3c=_0x3d2fb3[_0x46d71f(0x3b1)]()['toJSON'](),_0x511016=_0x3d2fb3[_0x46d71f(0x2b8)]();_0x31a6a9['setPivotTableConfig']={'view':_0x4cbb3c,'isEmpty':_0x5db57b,'pivotTableConfig':{..._0x440073,'fieldsConfig':_0x3d2fb3[_0x46d71f(0x361)]()},'changesets':_0x511016};}break;case k[_0x46d71f(0x2c2)]:{const _0x3d40fb=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x229)];if(!_0x3d40fb)return;const _0x353e74=this['_sheetsPivotDataSourceModel'][_0x46d71f(0x24c)](_0x2375f3),_0x2cbd14=this[_0x46d71f(0x317)][_0x46d71f(0x448)](_0x3d524e,_0x2ebe9f,_0x2375f3);if(!_0x353e74||!_0x2cbd14)return;_0x353e74['startCollectChangeset'](),Ki(_0x353e74,_0x3d40fb[_0x46d71f(0x260)]);const _0x4dad5a=_0x353e74[_0x46d71f(0x3b1)]()[_0x46d71f(0x361)](),_0x42d469=_0x353e74[_0x46d71f(0x2b8)]();_0x31a6a9[_0x46d71f(0x229)]={'view':_0x4dad5a,'isEmpty':!0x0,'pivotTableConfig':{..._0x2cbd14,'fieldsConfig':_0x353e74[_0x46d71f(0x361)]()},'changesets':_0x42d469};}break;case k['AddPivotTableWithConfig']:{const _0x433c21=_0x2f979e[_0x46d71f(0x3c1)][_0x46d71f(0x3ca)];if(!_0x433c21)return;const _0x184b50=_0x433c21[_0x46d71f(0x3f8)],_0x3fc13e=_0x433c21[_0x46d71f(0x414)],{collection:_0x1bd696}=this[_0x46d71f(0x317)][_0x46d71f(0x281)]({'unitId':_0x184b50[_0x46d71f(0x42b)],'sheetName':_0x184b50['sheetName'],'subUnitId':_0x184b50[_0x46d71f(0x2a0)],'range':_0x184b50[_0x46d71f(0x284)]}),_0x21c7a0=new _0x15d468(_0x1bd696,void 0x0,_0x3fc13e),_0x27e63e=_0x1bd696['getFieldIds'](),{rows:_0xbd5ea2,columns:_0x52e60d,filters:_0x1b7fe5,values:_0x4e8243}=_0x433c21[_0x46d71f(0x3e7)];_0x21c7a0['startCollectChangeset']();for(const {field:_0x5f58d7,selectedItems:_0x1a8f9d}of _0xbd5ea2||[]){const _0x54e6f6=_0x27e63e[_0x5f58d7];if(_0x54e6f6){const _0x356b25=_0x21c7a0[_0x46d71f(0x3e2)](_0x54e6f6,_0x3a6ce8['Row']);_0x1a8f9d&&_0x356b25&&_0x21c7a0['setLabelFilterInfo'](_0x356b25[_0x46d71f(0x3f9)](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x1a8f9d,'isAll':!0x1});}}for(const {field:_0xa197d2,selectedItems:_0x5b1d7e}of _0x52e60d||[]){const _0x3f584e=_0x27e63e[_0xa197d2];if(_0x3f584e){const _0x62d74e=_0x21c7a0[_0x46d71f(0x3e2)](_0x3f584e,_0x3a6ce8[_0x46d71f(0x3f6)]);_0x5b1d7e&&_0x62d74e&&_0x21c7a0[_0x46d71f(0x1dc)](_0x62d74e[_0x46d71f(0x3f9)](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x5b1d7e,'isAll':!0x1});}}for(const {field:_0x1f22e3,selectedItems:_0x837e15}of _0x1b7fe5||[]){const _0x5a5645=_0x27e63e[_0x1f22e3];if(_0x5a5645){const _0x5d4b83=_0x21c7a0[_0x46d71f(0x3e2)](_0x5a5645,_0x3a6ce8[_0x46d71f(0x2d8)]);_0x837e15&&_0x5d4b83&&_0x21c7a0[_0x46d71f(0x1dc)](_0x5d4b83['getId'](),{'type':_0x5dae63[_0x46d71f(0x270)],'list':_0x837e15,'isAll':!0x1});}}for(const {field:_0x3dbba9,subTotalType:_0x45d25d,formatString:_0x22672d}of _0x4e8243||[]){const _0x410192=_0x1bd696['getFieldById'](_0x27e63e[_0x3dbba9]);if(!_0x410192)continue;const _0x10aff7=_0x27e63e[_0x3dbba9];if(_0x10aff7){const _0x42cf02=_0x21c7a0[_0x46d71f(0x3e2)](_0x10aff7,_0x3a6ce8[_0x46d71f(0x409)]);if(_0x42cf02){if(_0x45d25d!==void 0x0){_0x21c7a0['setSubtotalType'](_0x42cf02[_0x46d71f(0x3f9)](),_0x45d25d);const _0x36460e=this[_0x46d71f(0x317)]['getDataFieldManager'](_0x184b50['unitId'])['getAutoDisplayNameFunction']()||_0x267ddd,_0x3d483b=_0x1bd696[_0x46d71f(0x2a1)](_0x10aff7),_0x3a6010=_0x36460e(_0x3d483b,_0x45d25d);_0x21c7a0[_0x46d71f(0x40a)](_0x42cf02[_0x46d71f(0x3f9)](),_0x3a6010);}else{if(_0x410192){const _0x53698f=_0x410192==null?void 0x0:_0x410192[_0x46d71f(0x2a6)]();_0x21c7a0['setSubtotalType'](_0x42cf02['getId'](),_0x53698f===_0x54c91a[_0x46d71f(0x29f)]?_0x597cf6[_0x46d71f(0x3e3)]:_0x597cf6[_0x46d71f(0x3e9)]);}}_0x22672d&&_0x21c7a0[_0x46d71f(0x419)](_0x42cf02[_0x46d71f(0x3f9)](),_0x22672d);}}}const _0x3ecf09=_0x21c7a0['query'](),_0x1195e7=_0x21c7a0[_0x46d71f(0x361)](),_0xef403=_0x21c7a0[_0x46d71f(0x37d)](),_0x12d42e=_0x21c7a0[_0x46d71f(0x2b8)](),_0x68d897=_0x1bd696[_0x46d71f(0x361)]();_0x31a6a9[_0x46d71f(0x3ca)]={'view':_0x3ecf09,'fieldsConfig':_0x1195e7,'collectionConfig':_0x68d897,'isEmpty':_0xef403,'changesets':_0x12d42e};}break;case k[_0x46d71f(0x22a)]:{const _0x13762d=Bi(this['_injector'],_0x2f979e);if(!_0x13762d)return;const {range:_0x1949ae,sourceSubUnitId:_0x237375,sourceUnitId:_0x566777,formatMap:_0x6dd0d3,indexes:_0x314ad3}=_0x13762d;_0x31a6a9[_0x46d71f(0x387)]={'range':_0x1949ae,'sourceSubUnitId':_0x237375,'sourceUnitId':_0x566777,'formatMap':_0x6dd0d3,'indexes':_0x314ad3};}break;}this['_commandService'][_0x46d71f(0x314)](lo['id'],{'version':_0x2f979e[_0x46d71f(0x41b)],'result':_0x31a6a9},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x26cab8=_0x5bf728;this['disposeWithMe'](this[_0x26cab8(0x234)][_0x26cab8(0x3ff)](_0x747f89=>{const _0x30528c=_0x26cab8;if(_0x747f89['id']!==uo['id'])return;const _0xd00506=_0x747f89['params'];return this[_0x30528c(0x317)][_0x30528c(0x2b6)](_0xd00506[_0x30528c(0x44d)]),!0x0;}));}[_0x5bf728(0x44a)](){const _0x329f0b=_0x5bf728;this[_0x329f0b(0x317)][_0x329f0b(0x435)][_0x329f0b(0x2d4)](_0xcefc3d=>{const _0xa97849=_0x329f0b;switch(_0xcefc3d[_0xa97849(0x2bb)]){case Be[_0xa97849(0x2de)]:_0xcefc3d[_0xa97849(0x2a8)]&&_0xcefc3d[_0xa97849(0x1d2)]&&this[_0xa97849(0x35f)](_0xcefc3d[_0xa97849(0x347)],_0xcefc3d[_0xa97849(0x2a8)],_0xcefc3d[_0xa97849(0x1d2)]);break;case Be[_0xa97849(0x25a)]:{const {unitId:_0x92d86e,subUnitId:_0x115a2c,token:_0x2af4b8}=_0xcefc3d;_0x92d86e&&_0x115a2c&&_0x2af4b8&&this[_0xa97849(0x321)](_0x92d86e,_0x115a2c,_0x2af4b8);}break;case Be[_0xa97849(0x367)]:{const {token:_0x25c17e,oldSourceRangeInfo:_0x5d086e,dataRangeInfo:_0x5e65a7,targetCellInfo:_0x443f4c}=_0xcefc3d,{unitId:_0x30ab69,subUnitId:_0x152265}=_0x5d086e||{};_0x30ab69&&_0x152265&&_0x25c17e&&this[_0xa97849(0x321)](_0x30ab69,_0x152265,_0x25c17e),_0x5e65a7&&_0x443f4c&&this[_0xa97849(0x35f)](_0x25c17e,_0x5e65a7,_0x443f4c);}break;}});}[_0x5bf728(0x20a)](){const _0x5e80ab=_0x5bf728;this[_0x5e80ab(0x317)][_0x5e80ab(0x294)][_0x5e80ab(0x2d4)](_0x401953=>{const _0x2571eb=_0x5e80ab;Object[_0x2571eb(0x3ab)](_0x401953)[_0x2571eb(0x28f)](_0x5ccba2=>{const _0x492ab2=_0x2571eb,_0x4e0f65=this[_0x492ab2(0x317)]['getTargetByPivotId'](_0x5ccba2);if(_0x4e0f65){const _0x391626=this[_0x492ab2(0x317)][_0x492ab2(0x448)](_0x4e0f65==null?void 0x0:_0x4e0f65[_0x492ab2(0x42b)],_0x4e0f65==null?void 0x0:_0x4e0f65[_0x492ab2(0x2a0)],_0x5ccba2);_0x391626&&(this[_0x492ab2(0x35f)](_0x5ccba2,_0x391626[_0x492ab2(0x3f8)],_0x391626[_0x492ab2(0x1d2)]),this['triggerDirtyFeature']([{'unitId':_0x4e0f65[_0x492ab2(0x42b)],'subUnitId':_0x4e0f65['subUnitId'],'token':_0x5ccba2}]));}});});}[_0x5bf728(0x201)](){const _0x41b2e2=_0x5bf728;this[_0x41b2e2(0x317)]['viewData$'][_0x41b2e2(0x2d4)](_0x1a3ea8=>{const _0x58983f=_0x41b2e2,{unitId:_0x2eab6e,subUnitId:_0x39a529,pivotTableId:_0x216952}=_0x1a3ea8;_0x2eab6e&&_0x39a529&&_0x216952&&this[_0x58983f(0x1f3)]([{'unitId':_0x2eab6e,'subUnitId':_0x39a529,'token':_0x216952}]);});}[_0x5bf728(0x1f3)](_0x199e2e){const _0x2c4872=_0x5bf728,_0x3b8e39={};_0x199e2e[_0x2c4872(0x28f)](_0x5793be=>{var _0x5c72be,_0x5dfe43;const {unitId:_0x4ec7aa,subUnitId:_0x2f4847,token:_0xb2335b}=_0x5793be;_0x3b8e39[_0x4ec7aa]=(_0x5c72be=_0x3b8e39[_0x4ec7aa])!=null?_0x5c72be:{},_0x3b8e39[_0x4ec7aa][_0x2f4847]=(_0x5dfe43=_0x3b8e39[_0x4ec7aa][_0x2f4847])!=null?_0x5dfe43:{},_0x3b8e39[_0x4ec7aa][_0x2f4847][_0xb2335b]=!0x0;}),this[_0x2c4872(0x234)]['executeCommand'](Vt['id'],_0x3b8e39);}[_0x5bf728(0x321)](_0x4e7641,_0x354b7c,_0x1545a0){const _0x2d6d81=_0x5bf728;this[_0x2d6d81(0x325)][_0x2d6d81(0x3c9)](_0x4e7641,_0x354b7c,[_0x1545a0]);}['handleSourceRangeChange'](_0x42ede4,_0x499e1d,_0x4439ba){const _0x4d5b57=_0x5bf728,{unitId:_0x396f98,subUnitId:_0x1336a0}=_0x499e1d;this[_0x4d5b57(0x325)][_0x4d5b57(0x1ff)](_0x4439ba[_0x4d5b57(0x42b)],_0x4439ba[_0x4d5b57(0x2a0)],_0x42ede4)&&this['removeSourceRangeChange'](_0x396f98,_0x1336a0,_0x42ede4);const _0x2c56b4={'sheetId':_0x1336a0,..._0x499e1d};this[_0x4d5b57(0x325)][_0x4d5b57(0x36d)](_0x4439ba[_0x4d5b57(0x42b)],_0x4439ba[_0x4d5b57(0x2a0)],_0x42ede4,{'unitId':_0x4439ba[_0x4d5b57(0x42b)],'subUnitId':_0x4439ba['subUnitId'],'dependencyRanges':[_0x2c56b4],'getDirtyData':(_0x317e54,_0x310b0c)=>{const _0x526938=_0x4d5b57,_0x4b26a3=this[_0x526938(0x317)],_0x565785=_0x4b26a3['getTargetByPivotId'](_0x42ede4);if(!_0x565785)return As();const {unitId:_0x3b3ac1,subUnitId:_0x5623d3}=_0x565785,_0x3653f7=xs(_0x317e54,_0x310b0c,_0x499e1d);if(_0x3653f7[_0x526938(0x395)]>0x0){const _0xb3fc54=_0x4b26a3['getCollection'](_0x396f98,_0x42ede4),_0x1beeff=_0xb3fc54[_0x526938(0x363)](),_0x4215b2=this[_0x526938(0x413)](_0x499e1d[_0x526938(0x42b)],_0x499e1d[_0x526938(0x2a0)],_0x310b0c),_0x255481={},_0x649372=this[_0x526938(0x317)][_0x526938(0x23e)](_0x3b3ac1)[_0x526938(0x202)]()||_0x267ddd,_0x4d49fd=[];for(const _0x415438 of _0x3653f7){const _0x2e63fa=_0x415438-(_0x499e1d[_0x526938(0x284)][_0x526938(0x3d2)]||0x0),_0x378f8a=_0x1beeff[_0x2e63fa];_0x4d49fd[_0x526938(0x42a)](_0x378f8a),_0x255481[_0x378f8a]=_0xb3fc54['getFieldById'](_0x378f8a)['getName'](),_0x4b26a3[_0x526938(0x23e)](_0x396f98)[_0x526938(0x39d)](_0x378f8a,_0x499e1d,_0x2e63fa,_0x4215b2);}_0xb3fc54['getGroupFieldsInfoByIds'](_0x4d49fd)[_0x526938(0x28f)](_0xd39203=>{const _0x37fb09=_0x526938,[_0x322e7b,_0x3a3987]=_0xd39203,_0x2ad705=_0xb3fc54[_0x37fb09(0x437)](_0x322e7b),_0x13a016=_0xb3fc54[_0x37fb09(0x437)](_0x3a3987);_0x2ad705&&_0x13a016&&_0x2ad705[_0x37fb09(0x237)](_0x13a016);}),_0xb3fc54[_0x526938(0x443)]();const _0x3572c7=_0x4b26a3[_0x526938(0x24c)](_0x42ede4);if(_0x3572c7){Es(_0x3572c7,_0x255481,_0x649372),_0x3572c7[_0x526938(0x2cf)](!0x0);const _0x1aa306=_0x3572c7[_0x526938(0x3b1)](),_0x3421ea=_0x4b26a3[_0x526938(0x448)](_0x3b3ac1,_0x5623d3,_0x42ede4),_0x2c1f7b=_0x4b26a3[_0x526938(0x23e)](_0x396f98)[_0x526938(0x361)]();_0x4b26a3[_0x526938(0x30d)](_0x3b3ac1,_0x5623d3,$[_0x526938(0x225)],_0x42ede4,_0x1aa306,_0x3421ea,_0x2c1f7b,!0x0);}}return this[_0x526938(0x322)](_0x3b3ac1,_0x5623d3,_0x42ede4);}});}[_0x5bf728(0x413)](_0x447f1b,_0x20a0be,_0xa6f7a1){var _0x405307,_0x35210f;const {arrayFormulaCellData:_0x30fae5,unitData:_0x949b41}=_0xa6f7a1,_0x1fbc87=(_0x405307=_0x30fae5==null?void 0x0:_0x30fae5[_0x447f1b])==null?void 0x0:_0x405307[_0x20a0be],_0x1f7756=(_0x35210f=_0x949b41==null?void 0x0:_0x949b41[_0x447f1b])==null?void 0x0:_0x35210f[_0x20a0be];return{'arrayFormulaCellDataMatrix':_0x1fbc87,'unitDataMatrix':_0x1f7756};}['getDirtyInfo'](_0x2352f0,_0x5d401f,_0x49f60f){const _0x1ef392=_0x5bf728,_0x5cf71f=this[_0x1ef392(0x317)][_0x1ef392(0x436)](_0x2352f0,_0x5d401f,_0x49f60f),_0x1436a9=[],_0x44dc85=new _0x43fcd2();if(_0x5cf71f){const {rangeCache:_0x233f73,matrix:_0x4dfc1f,oldRangeCache:_0xcde7b2,oldMatrix:_0xdf48ac}=_0x5cf71f,_0x59744c=$t(_0xcde7b2),_0x31c831=$t(_0x233f73);_0x1436a9['push'](..._0x31c831,..._0x59744c),_0xdf48ac&&_0xcde7b2&&_0x59744c[_0x1ef392(0x28f)](_0xd7218d=>{const _0x2ad490=_0x1ef392;for(let _0x487b66=_0xd7218d[_0x2ad490(0x373)];_0x487b66<=_0xd7218d[_0x2ad490(0x320)];_0x487b66++)for(let _0x4b04fd=_0xd7218d[_0x2ad490(0x3d2)];_0x4b04fd<=_0xd7218d[_0x2ad490(0x3cd)];_0x4b04fd++)_0x44dc85[_0x2ad490(0x290)](_0x487b66,_0x4b04fd);}),_0x4dfc1f&&_0x31c831&&_0x31c831[_0x1ef392(0x28f)](_0x1b0a86=>{const _0x4cb283=_0x1ef392;for(let _0x228604=_0x1b0a86[_0x4cb283(0x373)];_0x228604<=_0x1b0a86[_0x4cb283(0x320)];_0x228604++)for(let _0x2b80ae=_0x1b0a86['startColumn'];_0x2b80ae<=_0x1b0a86[_0x4cb283(0x3cd)];_0x2b80ae++)_0x44dc85['setValue'](_0x228604,_0x2b80ae,_0x4dfc1f['getValue'](_0x228604,_0x2b80ae));});}const _0x3a78dd={};return _0x3a78dd[_0x2352f0]={[_0x5d401f]:Os(_0x1436a9)},{'runtimeCellData':{[_0x2352f0]:{[_0x5d401f]:_0x44dc85}},'dirtyRanges':_0x3a78dd};}['dispose'](){}};ct=Us([at(0x0,_0x360cfb(G)),at(0x1,_0x360cfb(_0x1cada9)),at(0x2,_0x360cfb(_0x4e31c1)),at(0x3,_0x360cfb(_0x1cb0fc)),at(0x4,_0x360cfb(_0x121ef7))],ct);var ks=Object[_0x5bf728(0x3a1)],Ls=(_0x2967a6,_0x282395,_0x590c3d,_0x40991c)=>{for(var _0x206c19=_0x40991c>0x1?void 0x0:_0x40991c?ks(_0x282395,_0x590c3d):_0x282395,_0x3a47d8=_0x2967a6['length']-0x1,_0x545c7b;_0x3a47d8>=0x0;_0x3a47d8--)(_0x545c7b=_0x2967a6[_0x3a47d8])&&(_0x206c19=_0x545c7b(_0x206c19)||_0x206c19);return _0x206c19;},_t=(_0xa69f75,_0x32e6c6)=>(_0x35713b,_0x2c70bd)=>_0x32e6c6(_0x35713b,_0x2c70bd,_0xa69f75);let dt=class extends _0x25f1fb{constructor(_0x416da2,_0x17e3ba,_0x10891d,_0x120f7d){const _0x14a7cd=_0x5bf728;super(),V(this,_0x14a7cd(0x3a2),new _0x2a1164()),(this[_0x14a7cd(0x253)]=_0x416da2,this[_0x14a7cd(0x3b9)]=_0x17e3ba,this[_0x14a7cd(0x1d1)]=_0x10891d,this[_0x14a7cd(0x43c)]=_0x120f7d,this[_0x14a7cd(0x43b)]());}[_0x5bf728(0x43b)](){const _0x438cf7=_0x5bf728;this[_0x438cf7(0x3d8)](this[_0x438cf7(0x3b9)][_0x438cf7(0x231)]({'getMutations':_0x2d32ee=>{const _0x3f7d54=_0x438cf7;if(_0x2d32ee['id']===_0x1053ee['id']||_0x2d32ee['id']===_0x152598['id']){const _0x15f3b2=[],_0x46012b=[],_0x257a7b=this[_0x3f7d54(0x1d1)]['getCurrentSelections']()['map'](_0x192730=>_0x192730['range']),_0x40ec2c=_0x5b1933(this['_univerInstanceService']);if(!_0x40ec2c)return{'redos':[],'undos':[]};const {unitId:_0x585410,subUnitId:_0x354213}=_0x40ec2c,_0x3380db={},_0x5b7f6d=this[_0x3f7d54(0x43c)]['getSubUnitPivotConfigs'](_0x585410,_0x354213);if(_0x5b7f6d!=null&&_0x5b7f6d[_0x3f7d54(0x222)])for(const [_0x3b5a04,_0x324000]of _0x5b7f6d){const {unitId:_0x3b8ff3,subUnitId:_0xb7daab,row:_0x377aae,col:_0x5ca67e}=_0x324000[_0x3f7d54(0x1d2)];_0x3b8ff3===_0x40ec2c[_0x3f7d54(0x42b)]&&_0xb7daab===_0x40ec2c['subUnitId']&&(_0x3380db[_0x377aae+'-'+_0x5ca67e]=_0x3b5a04);}return _0x257a7b&&_0x40ec2c&&_0x257a7b[_0x3f7d54(0x28f)](_0x2dfbdb=>{const _0x270f65=_0x3f7d54;_0x451e59[_0x270f65(0x259)](_0x2dfbdb,(_0xf5f8b3,_0x3c9d9c)=>{const _0xa31c2d=_0x270f65,_0x24badf=_0xf5f8b3+'-'+_0x3c9d9c;if(_0x3380db[_0x24badf]){const _0x371fde=_0x3380db[_0x24badf];_0x15f3b2[_0xa31c2d(0x42a)]({'id':Et['id'],'params':{'unitId':_0x585410,'subUnitId':_0x354213,'pivotTableId':_0x371fde}});const _0x3beefd=this[_0xa31c2d(0x43c)]['getCollection'](_0x585410,_0x371fde),_0x4a52b7=this[_0xa31c2d(0x43c)][_0xa31c2d(0x448)](_0x585410,_0x354213,_0x371fde);_0x46012b[_0xa31c2d(0x42a)]({'id':It['id'],'params':{'unitId':_0x585410,'subUnitId':_0x354213,'pivotTableId':_0x371fde,'pivotTableConfig':_0x4a52b7,'collectionConfig':_0x3beefd}});}});}),{'redos':_0x15f3b2,'undos':_0x46012b};}return{'redos':[],'undos':[]};}}));}};dt=Ls([_t(0x0,_0x2fecb8),_t(0x1,_0x360cfb(_0x34849c)),_t(0x2,_0x360cfb(_0x969973)),_t(0x3,_0x360cfb(ve))],dt);var Bs=Object[_0x5bf728(0x3a1)],$s=(_0x1cb8fb,_0x70256b,_0x5ced46,_0x546554)=>{const _0x4d784c=_0x5bf728;for(var _0x28f9f4=_0x546554>0x1?void 0x0:_0x546554?Bs(_0x70256b,_0x5ced46):_0x70256b,_0xe1e097=_0x1cb8fb[_0x4d784c(0x395)]-0x1,_0x232b6a;_0xe1e097>=0x0;_0xe1e097--)(_0x232b6a=_0x1cb8fb[_0xe1e097])&&(_0x28f9f4=_0x232b6a(_0x28f9f4)||_0x28f9f4);return _0x28f9f4;},rt=(_0x1e5869,_0xa3a4c6)=>(_0x49731a,_0x33bedc)=>_0xa3a4c6(_0x49731a,_0x33bedc,_0x1e5869);let ut=class extends _0x25f1fb{constructor(_0x3199a7,_0xe7e13a,_0x2b98a5,_0x30c52b,_0x4f5149){const _0x25e297=_0x5bf728;super(),this[_0x25e297(0x3b9)]=_0x3199a7,this['_injector']=_0xe7e13a,this[_0x25e297(0x253)]=_0x2b98a5,this[_0x25e297(0x43c)]=_0x30c52b,this['_sheetsPivotTableService']=_0x4f5149,this[_0x25e297(0x27f)]();}[_0x5bf728(0x343)](_0x3b9836,_0x4fbeea,_0x3742f2){const _0x3f2c01=_0x5bf728,{pageView:_0x2d31fc,cornerView:_0x5af921,rowView:_0xfcbdaa,colView:_0x10e094,dataView:_0x5e40e5}=_0x4fbeea,_0x34da84=_0x3b9836;let _0x259a6d;if(_0x3742f2)_0x259a6d=[...$i(_0x34da84)];else{const _0x33338e=ge(_0x34da84,_0x2d31fc,!0x0),_0x2ba9b0=_0x2d31fc[_0x3f2c01(0x1f9)]>=0x0?_0x2d31fc[_0x3f2c01(0x1f9)]+0x1:0x0,_0x43abac=_0x5af921['rowCount'],_0x47e2f0=_0x5af921[_0x3f2c01(0x246)],_0x22602c=_0x33338e[_0x3f2c01(0x395)]>0x0?mt:0x0,_0x5f2494=ge({'row':_0x34da84['row']+_0x2ba9b0+_0x22602c,'col':_0x34da84[_0x3f2c01(0x37a)]},_0x5af921,!0x1,!0x1),_0x333e49=ge({'row':_0x34da84[_0x3f2c01(0x2f2)]+_0x2ba9b0+_0x22602c+_0x43abac,'col':_0x34da84[_0x3f2c01(0x37a)]},_0xfcbdaa,!0x1,!0x0),_0x293ead=ge({'row':_0x34da84['row']+_0x2ba9b0+_0x22602c,'col':_0x34da84[_0x3f2c01(0x37a)]+_0x47e2f0},_0x10e094,!0x1,!0x0),_0x5af5d2=ge({'row':_0x34da84[_0x3f2c01(0x2f2)]+_0x2ba9b0+_0x22602c+_0x43abac,'col':_0x34da84[_0x3f2c01(0x37a)]+_0x47e2f0},_0x5e40e5,!0x1,!0x0);_0x259a6d=[..._0x33338e,..._0x5f2494,..._0x333e49,..._0x293ead,..._0x5af5d2];}return _0x259a6d;}[_0x5bf728(0x27f)](){const _0x10fbab=_0x5bf728;this[_0x10fbab(0x3d8)](this['_sheetsPivotTableService'][_0x10fbab(0x34c)][_0x10fbab(0x25f)](this[_0x10fbab(0x1cc)][_0x10fbab(0x34c)][_0x10fbab(0x29d)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x4977aa,_0x83d486)=>{const _0x488cda=_0x10fbab,{cellInfo:_0x130076,view:_0x15632d,isEmpty:_0x59976e}=_0x83d486,_0x5d2099=_0x130076,{unitId:_0xe007f,subUnitId:_0x1d8a77}=_0x5d2099,_0x3b66e5=this[_0x488cda(0x343)](_0x130076,_0x15632d,_0x59976e),_0x5ba888=this[_0x488cda(0x3b9)][_0x488cda(0x289)]({'unitId':_0xe007f,'subUnitId':_0x1d8a77,'ranges':_0x3b66e5}),_0x3f131c=Ho(this['_injector'],_0xe007f,_0x1d8a77,_0x3b66e5);_0x3f131c['shouldClear']&&(_0x5ba888['redos'][_0x488cda(0x42a)](_0x3f131c[_0x488cda(0x3b0)]),_0x5ba888['undos'][_0x488cda(0x42a)](_0x3f131c['setRangeValueUndoMutation']));const _0x1abded=this['getAutoFitColumnsMutations'](_0x15632d,_0x130076);return _0x5ba888[_0x488cda(0x43f)][_0x488cda(0x42a)](..._0x1abded[_0x488cda(0x43f)]),_0x5ba888[_0x488cda(0x31a)]['push'](..._0x1abded[_0x488cda(0x31a)]),{'redos':_0x5ba888[_0x488cda(0x43f)],'undos':_0x5ba888[_0x488cda(0x31a)]};}}));}[_0x5bf728(0x37b)](_0x474658,_0x16f9c4){const _0x186f84=_0x5bf728,{col:_0x2909b1,unitId:_0x100da0,subUnitId:_0x4e73bb}=_0x16f9c4,_0x1444ec=[],_0x2a29f6=[],_0x1183de=_0x5b1933(this[_0x186f84(0x253)],{'unitId':_0x100da0,'subUnitId':_0x4e73bb});if(!_0x16f9c4||!_0x474658||!_0x1183de)return{'undos':_0x2a29f6,'redos':_0x1444ec};const _0x206292=this[_0x186f84(0x43c)][_0x186f84(0x3dc)](),{colView:_0x1d54dc,dataView:_0x36a014,cornerView:_0x2fdc2c,rowView:_0x3fa7fd,formatMap:_0x320297}=_0x474658,_0x56d208=yo(_0x1d54dc,_0x206292,!0x0,_0x320297),_0x5b5c2b=yo(_0x3fa7fd,_0x206292,!0x1,_0x320297),_0x5e6ea8=Ji(_0x36a014),_0x775eb2=Wi(_0x2fdc2c),{worksheet:_0x576f86}=_0x1183de;if(typeof window<'u'&&window[_0x186f84(0x32c)]){const _0x3cd46d=_0xb88763({...fe['colStyle']}),_0xaf0f36=_0x31b8d0[_0x186f84(0x21d)](_0x56d208,_0x3cd46d)[_0x186f84(0x1f8)]+0x10,_0xc46b76=_0x31b8d0[_0x186f84(0x21d)](_0x5e6ea8,_0x3cd46d)[_0x186f84(0x1f8)],_0x7d39c7=Math[_0x186f84(0x3ba)](Math[_0x186f84(0x2c1)](_0xaf0f36,_0xc46b76))+0x10,_0x2b4f18=Math[_0x186f84(0x3ba)](_0x31b8d0[_0x186f84(0x21d)](_0x5b5c2b,_0x3cd46d)[_0x186f84(0x1f8)]),_0x381737=Math[_0x186f84(0x3ba)](_0x31b8d0[_0x186f84(0x21d)](_0x775eb2,_0x3cd46d)[_0x186f84(0x1f8)]),_0x3e9c5e=Math[_0x186f84(0x2c1)](_0x2b4f18,_0x381737,0x28)+0xc,_0x1e145b=_0x1d54dc[_0x186f84(0x246)]+_0x2fdc2c[_0x186f84(0x246)],_0x358c90={},_0x39f3d={};for(let _0x47e7c0=_0x2909b1;_0x47e7c0<_0x2909b1+_0x1e145b;_0x47e7c0++){const _0x3b3b37=_0x576f86[_0x186f84(0x1eb)](_0x47e7c0);_0x358c90[_0x47e7c0]=_0x3b3b37,_0x47e7c0-_0x2909b1<_0x2fdc2c[_0x186f84(0x246)]?_0x39f3d[_0x47e7c0-_0x2909b1]=_0x3e9c5e:_0x39f3d[_0x47e7c0-_0x2909b1]=_0x7d39c7;}_0x1444ec[_0x186f84(0x42a)]({'id':_0x38a006['id'],'params':{'subUnitId':_0x4e73bb,'unitId':_0x100da0,'ranges':[{'startColumn':_0x2909b1,'endColumn':_0x2909b1+_0x1e145b-0x1,'startRow':0x0,'endRow':_0x576f86[_0x186f84(0x3de)]()-0x1}],'colWidth':_0x39f3d}}),_0x2a29f6['push']({'id':_0x38a006['id'],'params':{'subUnitId':_0x4e73bb,'unitId':_0x100da0,'ranges':[{'startColumn':_0x2909b1,'endColumn':_0x2909b1+_0x1e145b-0x1,'startRow':0x0,'endRow':_0x576f86[_0x186f84(0x3de)]()-0x1}],'colWidth':_0x358c90}});}return{'undos':_0x2a29f6,'redos':_0x1444ec};}};ut=$s([rt(0x0,_0x360cfb(_0x34849c)),rt(0x1,_0x360cfb(_0x121ef7)),rt(0x2,_0x360cfb(_0x2fecb8)),rt(0x3,_0x360cfb(ve)),rt(0x4,_0x360cfb(ie))],ut);var Gs=Object[_0x5bf728(0x3a1)],js=(_0x5c8f7a,_0x5f02a8,_0x46fe8c,_0x11d23c)=>{const _0x2ec637=_0x5bf728;for(var _0x2fb64d=_0x11d23c>0x1?void 0x0:_0x11d23c?Gs(_0x5f02a8,_0x46fe8c):_0x5f02a8,_0xbd96d=_0x5c8f7a[_0x2ec637(0x395)]-0x1,_0x32bb53;_0xbd96d>=0x0;_0xbd96d--)(_0x32bb53=_0x5c8f7a[_0xbd96d])&&(_0x2fb64d=_0x32bb53(_0x2fb64d)||_0x2fb64d);return _0x2fb64d;},ke=(_0x597ca9,_0x5cd157)=>(_0x19f9cd,_0x4dc26f)=>_0x5cd157(_0x19f9cd,_0x4dc26f,_0x597ca9);let ft=class extends _0x25f1fb{constructor(_0x40a707,_0xe88eb3,_0x3911aa,_0x897bb6,_0x31cf6b,_0x35cb00,_0x56a3a6){const _0x2c0b31=_0x5bf728;super(),V(this,_0x2c0b31(0x3a2),new _0x2a1164()),(this[_0x2c0b31(0x24a)]=_0x40a707,this[_0x2c0b31(0x1de)]=_0xe88eb3,this[_0x2c0b31(0x234)]=_0x3911aa,this[_0x2c0b31(0x253)]=_0x897bb6,this[_0x2c0b31(0x43c)]=_0x31cf6b,this[_0x2c0b31(0x1f5)]=_0x35cb00,this[_0x2c0b31(0x3b9)]=_0x56a3a6,this['_onRefRangeChange']());}[_0x5bf728(0x3c8)](){const _0x2ef9a6=_0x5bf728,_0x46aac8=(_0xb7fc36,_0x192e62)=>{const _0xa2b90f=_0x279a,_0x1ad99f=this['_univerInstanceService'][_0xa2b90f(0x350)](_0x332ca7['UNIVER_SHEET']);if(!_0x1ad99f||!(_0x1ad99f==null?void 0x0:_0x1ad99f['getSheetBySheetId'](_0x192e62)))return;this['disposableCollection'][_0xa2b90f(0x3bc)]();const _0x4de0f5=_0x56c7a5=>this['_refRangeHandle'](_0x56c7a5,_0xb7fc36,_0x192e62),_0x4ae3e5=this[_0xa2b90f(0x43c)][_0xa2b90f(0x2e1)](_0xb7fc36,_0x192e62);if(!(_0x4ae3e5!=null&&_0x4ae3e5[_0xa2b90f(0x222)]))return;Array[_0xa2b90f(0x200)](_0x4ae3e5[_0xa2b90f(0x2eb)]())['map'](_0x471343=>{const _0x5c58af=_0xa2b90f,{row:_0x2419d1,col:_0x3e6a20}=_0x471343[_0x5c58af(0x1d2)];return _0x5508a5(_0x2419d1,_0x3e6a20);})[_0xa2b90f(0x28f)](_0x150809=>{const _0x20fe9c=_0xa2b90f;this['disposableCollection'][_0x20fe9c(0x2de)](this['_refRangeService'][_0x20fe9c(0x25c)](_0x150809,_0x4de0f5,_0xb7fc36,_0x192e62));});},_0x1ce5e8=()=>{const _0x297764=_0x279a,_0x5e6023=this[_0x297764(0x253)][_0x297764(0x350)](_0x332ca7[_0x297764(0x25d)]);if(_0x5e6023){const _0x2d3a7e=_0x5e6023[_0x297764(0x1e7)]();if(!_0x2d3a7e)return;_0x46aac8(_0x5e6023['getUnitId'](),_0x2d3a7e[_0x297764(0x23f)]());}};this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x234)][_0x2ef9a6(0x3ff)](_0x2fc951=>{const _0x38f116=_0x2ef9a6;if(_0x2fc951['id']===_0x3ef769['id']){const _0x2a4326=_0x2fc951[_0x38f116(0x3c1)],_0x41b18a=_0x2a4326[_0x38f116(0x2a0)],_0xeaeb36=_0x2a4326[_0x38f116(0x42b)];if(!_0x41b18a||!_0xeaeb36)return;_0x46aac8(_0xeaeb36,_0x41b18a);}})),this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x43c)]['pivotInitCompleted$'][_0x2ef9a6(0x2d4)](_0x10c727=>{_0x10c727&&_0x1ce5e8();})),this[_0x2ef9a6(0x3d8)](this[_0x2ef9a6(0x43c)][_0x2ef9a6(0x400)][_0x2ef9a6(0x2d4)](_0x2fe582=>{const _0x37582b=_0x2ef9a6,_0x4a2b1a=_0x5b1933(this[_0x37582b(0x253)]);if(!_0x4a2b1a)return;const {unitId:_0x5abf32,subUnitId:_0x4f4873}=_0x4a2b1a,{unitId:_0x5403b9,subUnitId:_0x53ac4a}=_0x2fe582;_0x5abf32!==_0x5403b9||_0x4f4873!==_0x53ac4a||_0x46aac8(_0x5abf32,_0x4f4873);})),_0x1ce5e8();}['_refRangeHandle'](_0xff33a7,_0x2fbd14,_0x401ea1){const _0x1dd04c=_0x5bf728;switch(_0xff33a7['id']){case _0x523093['id']:return this[_0x1dd04c(0x2e7)](_0xff33a7['params'],_0x2fbd14,_0x401ea1);}return{'redos':[],'undos':[]};}[_0x5bf728(0x2e7)](_0x305cf4,_0x4a9829,_0x53ba49){const _0x171bd9=_0x5bf728,{fromRange:_0x3d6390,toRange:_0x386bb1}=_0x305cf4,_0x30af66=[],_0x7ec578=[],_0x2d1673=_0x5b1933(this['_univerInstanceService']);if(!_0x2d1673)return{'undos':_0x7ec578,'redos':_0x30af66};if(_0x4a9829!==_0x2d1673[_0x171bd9(0x42b)]||_0x53ba49!==_0x2d1673[_0x171bd9(0x2a0)])return{'undos':_0x7ec578,'redos':_0x30af66};const _0x16f272=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x4a9829,_0x53ba49);if(_0x16f272!=null&&_0x16f272['size'])for(const [_0x17add9,_0x23d70b]of _0x16f272){const {unitId:_0x3bd014,subUnitId:_0x47e77e,row:_0x16d76f,col:_0x3b0548}=_0x23d70b['targetCellInfo'];if(_0x3bd014===_0x2d1673[_0x171bd9(0x42b)]&&_0x47e77e===_0x2d1673['subUnitId']){const _0xa5da23=_0x5508a5(_0x16d76f,_0x3b0548);if(_0x3d3208[_0x171bd9(0x264)](_0xa5da23,_0x3d6390)){const _0x1cb303=_0x16d76f-_0x3d6390['startRow'],_0x5af2a6=_0x3b0548-_0x3d6390[_0x171bd9(0x3d2)],_0x2904e0={'row':_0x386bb1[_0x171bd9(0x373)]+_0x1cb303,'col':_0x386bb1[_0x171bd9(0x3d2)]+_0x5af2a6};_0x30af66[_0x171bd9(0x42a)]({'id':pt['id'],'params':{'unitId':_0x3bd014,'subUnitId':_0x47e77e,'pivotTableId':_0x17add9,'targetCellPosition':_0x2904e0}}),_0x7ec578[_0x171bd9(0x42a)]({'id':pt['id'],'params':{'unitId':_0x3bd014,'subUnitId':_0x47e77e,'pivotTableId':_0x17add9,'targetCellPosition':{'row':_0x16d76f,'col':_0x3b0548}}});const _0xe03011=_0x2904e0['row']-_0x16d76f,_0x4f4f5e=_0x2904e0[_0x171bd9(0x37a)]-_0x3b0548,_0x46a8fa=[],_0x209e84=this[_0x171bd9(0x1f5)][_0x171bd9(0x3a6)](_0x3bd014,_0x47e77e,_0x17add9),_0xb6c5e2=_0x209e84==null?void 0x0:_0x209e84[_0x171bd9(0x247)];if(_0xb6c5e2){Object[_0x171bd9(0x3ab)](_0xb6c5e2)[_0x171bd9(0x28f)](_0x4b8273=>{const _0x37a5b8=_0x171bd9;_0xb6c5e2[_0x4b8273][_0x37a5b8(0x28f)](_0x3851a7=>{const _0x479f19=_0x37a5b8,_0x2c1fa6={..._0x3851a7};_0x2c1fa6[_0x479f19(0x373)]=_0x3851a7[_0x479f19(0x373)]+_0xe03011,_0x2c1fa6[_0x479f19(0x320)]=_0x3851a7[_0x479f19(0x320)]+_0xe03011,_0x2c1fa6['startColumn']=_0x3851a7['startColumn']+_0x4f4f5e,_0x2c1fa6[_0x479f19(0x3cd)]=_0x3851a7[_0x479f19(0x3cd)]+_0x4f4f5e,_0x46a8fa['push'](_0x2c1fa6);});});const _0x1d2ced=this[_0x171bd9(0x3b9)][_0x171bd9(0x289)]({'unitId':_0x3bd014,'subUnitId':_0x47e77e,'ranges':_0x46a8fa});_0x30af66['push'](..._0x1d2ced[_0x171bd9(0x43f)]),_0x7ec578[_0x171bd9(0x42a)](..._0x1d2ced['undos']);const _0x774bd4=Ho(this[_0x171bd9(0x24a)],_0x3bd014,_0x47e77e,_0x46a8fa);_0x774bd4[_0x171bd9(0x342)]&&(_0x30af66[_0x171bd9(0x42a)](_0x774bd4[_0x171bd9(0x3b0)]),_0x7ec578[_0x171bd9(0x42a)](_0x774bd4[_0x171bd9(0x1fd)]));}}}}return{'redos':_0x30af66,'undos':_0x7ec578};}};ft=js([ke(0x0,_0x360cfb(_0x121ef7)),ke(0x1,_0x360cfb(_0x344cce)),ke(0x2,_0x4e31c1),ke(0x3,_0x2fecb8),ke(0x4,_0x360cfb(ve)),ke(0x5,_0x360cfb(Ne)),ke(0x6,_0x360cfb(_0x34849c))],ft);var Js=Object[_0x5bf728(0x3a1)],Ws=(_0x1c7335,_0x7677d4,_0x2204ce,_0x10030f)=>{const _0x200b12=_0x5bf728;for(var _0x1b939e=_0x10030f>0x1?void 0x0:_0x10030f?Js(_0x7677d4,_0x2204ce):_0x7677d4,_0x3b2aa1=_0x1c7335[_0x200b12(0x395)]-0x1,_0x4ac768;_0x3b2aa1>=0x0;_0x3b2aa1--)(_0x4ac768=_0x1c7335[_0x3b2aa1])&&(_0x1b939e=_0x4ac768(_0x1b939e)||_0x1b939e);return _0x1b939e;},_o=(_0x2489e8,_0x39edc2)=>(_0x10e27c,_0x667a87)=>_0x39edc2(_0x10e27c,_0x667a87,_0x2489e8);let gt=class extends _0x25f1fb{constructor(_0x5d6ac0,_0xd354b8){const _0xb0bd0=_0x5bf728;super(),this[_0xb0bd0(0x3b9)]=_0x5d6ac0,this[_0xb0bd0(0x43c)]=_0xd354b8,this[_0xb0bd0(0x23b)]();}[_0x5bf728(0x23b)](){const _0x53ae76=_0x5bf728;this[_0x53ae76(0x3d8)](this[_0x53ae76(0x3b9)]['interceptCommand']({'getMutations':_0x8907a5=>{const _0x5ab8dd=_0x53ae76;if(_0x8907a5['id']===_0x2da853['id']){const _0x3ca6b3=[],_0x7b7c4d=[],_0x37c9e8=_0x8907a5[_0x5ab8dd(0x3c1)],{unitId:_0x2139e3,subUnitId:_0x1eb3a6}=_0x37c9e8;if(!_0x2139e3||!_0x1eb3a6)return{'undos':_0x7b7c4d,'redos':_0x3ca6b3};const _0x4d22fa=this[_0x5ab8dd(0x43c)][_0x5ab8dd(0x2e1)](_0x2139e3,_0x1eb3a6);if(_0x4d22fa!=null&&_0x4d22fa['size'])for(const [_0x1a9f7d,_0x4c6f4e]of _0x4d22fa){_0x3ca6b3[_0x5ab8dd(0x42a)]({'id':Et['id'],'params':{'unitId':_0x2139e3,'subUnitId':_0x1eb3a6,'pivotTableId':_0x1a9f7d}});const _0x533907={...this[_0x5ab8dd(0x43c)][_0x5ab8dd(0x28d)](_0x2139e3,_0x1a9f7d)};_0x7b7c4d[_0x5ab8dd(0x42a)]({'id':It['id'],'params':{'unitId':_0x2139e3,'subUnitId':_0x1eb3a6,'pivotTableId':_0x1a9f7d,'pivotTableConfig':_0x4c6f4e,'collectionConfig':_0x533907}});}return{'redos':_0x3ca6b3,'undos':_0x7b7c4d};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x360cfb(_0x34849c)),_o(0x1,_0x360cfb(ve))],gt);var Ys=Object[_0x5bf728(0x3a1)],Ks=(_0x1bc24f,_0x5d4382,_0x5385e5,_0xdda479)=>{const _0x1d18c5=_0x5bf728;for(var _0x3d025c=_0xdda479>0x1?void 0x0:_0xdda479?Ys(_0x5d4382,_0x5385e5):_0x5d4382,_0x3eef78=_0x1bc24f[_0x1d18c5(0x395)]-0x1,_0x3967ea;_0x3eef78>=0x0;_0x3eef78--)(_0x3967ea=_0x1bc24f[_0x3eef78])&&(_0x3d025c=_0x3967ea(_0x3d025c)||_0x3d025c);return _0x3d025c;},Ye=(_0x182c7b,_0x409665)=>(_0x3d3bea,_0x5cf6da)=>_0x409665(_0x3d3bea,_0x5cf6da,_0x182c7b);let ht=class extends _0x25f1fb{constructor(_0x701863,_0x4baabb,_0xcceddb,_0x1041fe,_0x4ef600,_0x3ce156){const _0x30f28c=_0x5bf728;super(),this[_0x30f28c(0x234)]=_0x701863,this[_0x30f28c(0x275)]=_0x4baabb,this[_0x30f28c(0x1f5)]=_0xcceddb,this[_0x30f28c(0x43c)]=_0x1041fe,this['_univerInstanceService']=_0x4ef600,this[_0x30f28c(0x345)]=_0x3ce156,this[_0x30f28c(0x40f)](),this[_0x30f28c(0x2be)]();}[_0x5bf728(0x40f)](){const _0x36b8dc=_0x5bf728;this[_0x36b8dc(0x3d8)](this['_commandService'][_0x36b8dc(0x3ff)](_0x310696=>{const _0x305029=_0x36b8dc;if(_0x310696['id']!==lo['id'])return;const _0x13ca79=_0x310696[_0x305029(0x3c1)];this[_0x305029(0x275)]['handleAsyncResponse'](_0x13ca79);})),this[_0x36b8dc(0x3d8)](this[_0x36b8dc(0x234)][_0x36b8dc(0x3ff)](_0x168a1c=>{const _0x2c55d2=_0x36b8dc;if(_0x168a1c['id']===co['id']){const _0x240a85=_0x168a1c[_0x2c55d2(0x3c1)];if(_0x240a85){const {unitId:_0x57f4bc,subUnitId:_0x437cad,oldSubUnitId:_0x49b8fb,pivotTableId:_0x47a492,pivotTableConfig:_0x335b12,collectionConfig:_0x5e4b46}=_0x240a85;this[_0x2c55d2(0x43c)]['updateConfigCache'](_0x57f4bc,_0x49b8fb,_0x240a85[_0x2c55d2(0x414)],null),this[_0x2c55d2(0x43c)][_0x2c55d2(0x204)](_0x57f4bc,_0x437cad,_0x47a492,_0x335b12),this['_sheetsPivotTableConfigModel'][_0x2c55d2(0x34d)](_0x57f4bc,_0x5e4b46);}}})),this[_0x36b8dc(0x3d8)](this[_0x36b8dc(0x234)][_0x36b8dc(0x3ff)](_0x4f9457=>{const _0x16756a=_0x36b8dc;if(_0x4f9457['id']!==Rt['id'])return;const _0x2debd5=_0x5b1933(this[_0x16756a(0x253)]);if(!_0x2debd5)return;const {unitId:_0x252260,subUnitId:_0x2d3846}=_0x2debd5,_0x5ad5db=_0x4f9457[_0x16756a(0x3c1)];if(_0x5ad5db[_0x16756a(0x29b)]&&Object[_0x16756a(0x3ab)](_0x5ad5db['collectionConfig'])[_0x16756a(0x28f)](_0x5a1275=>{const _0x2c85fc=_0x16756a;var _0x1b2ea8;(_0x1b2ea8=_0x5ad5db['collectionConfig'])!=null&&_0x1b2ea8[_0x5a1275]&&this[_0x2c85fc(0x43c)][_0x2c85fc(0x34d)](_0x5a1275,_0x5ad5db[_0x2c85fc(0x29b)][_0x5a1275]);}),_0x5ad5db[_0x16756a(0x280)]){const _0x190bae=_0x5ad5db[_0x16756a(0x280)],{unitId:_0x2f177d,subUnitId:_0x18666b,view:_0x2e34b6,pivotTableId:_0x5a7ad3,type:_0xd60a45,pivotConfig:_0x28401a}=_0x190bae;if(_0xd60a45===$[_0x16756a(0x346)])this[_0x16756a(0x1f5)][_0x16756a(0x3ef)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'pivotTableId':_0x5a7ad3,'type':_0xd60a45}),this[_0x16756a(0x43c)]['updateConfigCache'](_0x2f177d,_0x18666b,_0x5a7ad3,null);else{const _0x2392b1=new _0x2089ac();_0x2392b1[_0x16756a(0x2b5)](_0x2e34b6),this[_0x16756a(0x43c)][_0x16756a(0x204)](_0x2f177d,_0x18666b,_0x5a7ad3,_0x28401a),this[_0x16756a(0x1f5)][_0x16756a(0x3ef)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'pivotTableId':_0x5a7ad3,'type':_0xd60a45,'view':_0x2392b1}),this['_sheetsPivotTableAdaptorModel'][_0x16756a(0x230)]({'unitId':_0x2f177d,'subUnitId':_0x18666b,'view':_0x2392b1,'pivotTableId':_0x5a7ad3,'type':_0xd60a45});}}else _0x5ad5db['batch']&&(_0x5ad5db[_0x16756a(0x267)][_0x16756a(0x28f)](_0x240254=>{const _0x29a8f9=_0x16756a,{unitId:_0x176072,subUnitId:_0x1eca6a,view:_0x30735d,pivotTableId:_0x4e3a62,type:_0x5301ec,pivotConfig:_0xad1321}=_0x240254,_0x35e870=new _0x2089ac();_0x35e870[_0x29a8f9(0x2b5)](_0x30735d),this[_0x29a8f9(0x43c)]['updateConfigCache'](_0x176072,_0x1eca6a,_0x4e3a62,_0xad1321),this[_0x29a8f9(0x1f5)][_0x29a8f9(0x230)]({'unitId':_0x176072,'subUnitId':_0x1eca6a,'view':_0x35e870,'pivotTableId':_0x4e3a62,'type':_0x5301ec});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this['_sheetsPivotTableAdaptorModel']['markDirty'](_0x252260,_0x2d3846);}));}[_0x5bf728(0x2be)](){const _0x403705=_0x5bf728;this[_0x403705(0x345)][_0x403705(0x36d)](Vt['id'],{'commandId':Vt['id'],'getDirtyData'(_0x1c1f78){const _0x2333d2=_0x403705;return{'dirtyUnitFeatureMap':_0x1c1f78[_0x2333d2(0x3c1)]};}});}};ht=Ks([Ye(0x0,_0x360cfb(_0x4e31c1)),Ye(0x1,_0x360cfb(X)),Ye(0x2,_0x360cfb(Ne)),Ye(0x3,_0x360cfb(ve)),Ye(0x4,_0x360cfb(_0x2fecb8)),Ye(0x5,_0x5714d5)],ht);var Hs=Object['defineProperty'],qs=Object[_0x5bf728(0x3a1)],zs=(_0x271db9,_0x51d5fe,_0x481426)=>_0x51d5fe in _0x271db9?Hs(_0x271db9,_0x51d5fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x481426}):_0x271db9[_0x51d5fe]=_0x481426,Qs=(_0x172945,_0x9bff10,_0x4ee9f0,_0x57a986)=>{const _0x208924=_0x5bf728;for(var _0x44c146=_0x57a986>0x1?void 0x0:_0x57a986?qs(_0x9bff10,_0x4ee9f0):_0x9bff10,_0x307ab9=_0x172945[_0x208924(0x395)]-0x1,_0x284df5;_0x307ab9>=0x0;_0x307ab9--)(_0x284df5=_0x172945[_0x307ab9])&&(_0x44c146=_0x284df5(_0x44c146)||_0x44c146);return _0x44c146;},Ft=(_0xc79bf5,_0xd272fc)=>(_0x99c0e5,_0x285f0b)=>_0xd272fc(_0x99c0e5,_0x285f0b,_0xc79bf5),Zo=(_0x25af4a,_0x5b64ad,_0x438155)=>zs(_0x25af4a,typeof _0x5b64ad!=_0x5bf728(0x3e6)?_0x5b64ad+'':_0x5b64ad,_0x438155);let Ut=class extends _0x15301e{constructor(_0x11e75b=Mo,_0x48e69c,_0x45b70b,_0x3c2b21,_0x184f4d){const _0x2ac851=_0x5bf728;super(),this[_0x2ac851(0x2fb)]=_0x11e75b,this[_0x2ac851(0x24a)]=_0x48e69c,this[_0x2ac851(0x234)]=_0x45b70b,this[_0x2ac851(0x38b)]=_0x3c2b21,this[_0x2ac851(0x241)]=_0x184f4d;const {..._0x3b2a54}=_0x2b305a({},Mo,this[_0x2ac851(0x2fb)]);this[_0x2ac851(0x38b)][_0x2ac851(0x26e)](zo,_0x3b2a54),this[_0x2ac851(0x26f)](),this[_0x2ac851(0x377)]();}[_0x5bf728(0x377)](){const _0x20783e=_0x5bf728;var _0x34ea27;const _0x354608=(_0x34ea27=this[_0x20783e(0x2fb)])==null?void 0x0:_0x34ea27[_0x20783e(0x27e)];this['_configService'][_0x20783e(0x26e)](z,_0x354608===!0x0);}[_0x5bf728(0x403)](){const _0x24edda=_0x5bf728;var _0x513595;let _0x2f6f9f=[];const _0x4696b3=(_0x513595=this['_config'])==null?void 0x0:_0x513595['notExecuteFormula'];_0x4696b3===!0x0?_0x2f6f9f=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x4696b3===!0x1?_0x2f6f9f=[[G],[ct]]:_0x4696b3===void 0x0&&(_0x2f6f9f=[[G],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x2f6f9f['forEach'](_0x7e9949=>this[_0x24edda(0x24a)]['add'](_0x7e9949)),[ct,ht,ie,dt,gt,ft,ut][_0x24edda(0x28f)](_0x26db0b=>{const _0x5058f1=_0x24edda;this['_injector'][_0x5058f1(0x1ff)](_0x26db0b)&&this[_0x5058f1(0x24a)][_0x5058f1(0x21b)](_0x26db0b);});}['_initRegisterCommand'](){[ps,Cs,hs,ms,Ss,Ns,Fs,Ts,ws,Ms,Ds,Rs,Is,bs,It,to,Et,Gt,Qo,Xo,Kt,jt,Jt,Wt,qt,Ht,pt,ro,lo,Rt,Xt,eo,zt,Yt,uo,oo,Zt,Vt,co,_s,Qt,ys,Ps]['forEach'](_0x1a9d9d=>{const _0x515863=_0x279a;var _0x3b84d6;(_0x3b84d6=this[_0x515863(0x241)])==null||_0x3b84d6[_0x515863(0x32d)](_0x1a9d9d),this['_commandService'][_0x515863(0x2b3)](_0x1a9d9d);});}};Zo(Ut,'pluginName',ao),Zo(Ut,_0x5bf728(0x2bb),_0x332ca7[_0x5bf728(0x25d)]),Ut=Qs([_0x569100(_0x59a5cc),Ft(0x1,_0x360cfb(_0x121ef7)),Ft(0x2,_0x360cfb(_0x4e31c1)),Ft(0x3,_0x224426),Ft(0x4,_0x2a3879(_0x406107))],Ut);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,Cs as AddPivotTableCommand,It as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Is as MovePivotTableCommand,k as PivotDisplayDataType,bs as PivotDrillDownCommand,$ as PivotTableOperationEnum,Vt as PivotTableViewDirtyMarkOperation,Bo as PositionType,Ss as RemovePivotFieldCommand,jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ts as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Yt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,qt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ds as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Rs as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ce as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,$i as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Li as getPivotTableInfo,vt as transFromCellValue,$t as unionPivotViewRange};
|