@univerjs-pro/sheets-pivot 0.10.12-nightly.202510221114 → 0.10.12-nightly.202510251119
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 +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/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 +9 -9
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2cfc65=_0x2e44;(function(_0x46cce6,_0x18a43d){const _0x1107f7=_0x2e44,_0x51e9d3=_0x46cce6();while(!![]){try{const _0xd7b271=-parseInt(_0x1107f7(0x255))/0x1+parseInt(_0x1107f7(0x1e7))/0x2+parseInt(_0x1107f7(0x26d))/0x3+parseInt(_0x1107f7(0x300))/0x4*(parseInt(_0x1107f7(0x375))/0x5)+parseInt(_0x1107f7(0x168))/0x6*(-parseInt(_0x1107f7(0x139))/0x7)+-parseInt(_0x1107f7(0x1b1))/0x8*(parseInt(_0x1107f7(0x12a))/0x9)+parseInt(_0x1107f7(0x31c))/0xa*(parseInt(_0x1107f7(0x228))/0xb);if(_0xd7b271===_0x18a43d)break;else _0x51e9d3['push'](_0x51e9d3['shift']());}catch(_0x20efe4){_0x51e9d3['push'](_0x51e9d3['shift']());}}}(_0x4801,0xc35a0));var rn=Object[_0x2cfc65(0x2d7)],ln=(_0x13e402,_0x9e334c,_0x38ac65)=>_0x9e334c in _0x13e402?rn(_0x13e402,_0x9e334c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38ac65}):_0x13e402[_0x9e334c]=_0x38ac65,U=(_0x94c8c0,_0x4a2d96,_0x653559)=>ln(_0x94c8c0,typeof _0x4a2d96!=_0x2cfc65(0x194)?_0x4a2d96+'':_0x4a2d96,_0x653559);import{PivotCellStyleTypeEnum as _0x71ed97,PivotViewCellValueTypeEnum as _0xc85d3a,isPrefixValue as _0x4d1932,isErrorValue as _0x16426a,PivotErrorTypeEnum as _0x3c91e8,PivotDateGroupFieldDateTypeEnum as _0x43d554,DataFieldManager as _0x381862,FieldsCollection as _0x5df76f,isDateValue as _0x31a954,DataField as _0x2c0cfa,generateHexNumber as _0x552661,isBaseGroupField as _0x228625,PivotTable as _0xa87c2b,PivotSubtotalTypeEnum as _0x383156,PivotTableFiledAreaEnum as _0xeefe5e,excelDateToUnixMilliseconds as _0x181a06,PivotDataFieldTypeEnum as _0x4b22e0,DateGroupField as _0x21a19e,createValueField as _0x10871b,createLabelField as _0x8b4139,PivotTableChangeTypeEnum as _0x25cb6c,PivotView as _0x1b10b0,GlobalConfig as _0x133eb4,isDateGroupFieldJSON as _0x3eae7d,PivotCallbackEnum as _0x5cba55,PivotFilterTypeEnum as _0x20c8d7,getAutoDisplayName as _0x2a7e7e,PivotDataFieldDataTypeEnum as _0x11da01,PivotTableValuePositionEnum as _0x497671,isDateGroupField as _0x627b16}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x1aea22,ObjectMatrix as _0x3d4b3d,IUniverInstanceService as _0x295672,UniverInstanceType as _0x407cd0,CellValueType as _0x334d9b,numfmt as _0x53fa13,LocaleService as _0x2a61e0,createAsyncInterceptorKey as _0x2db911,createInterceptorKey as _0x26c109,CommandType as _0x36216a,Inject as _0x4eaa26,ICommandService as _0x4c491b,Disposable as _0x9a7a73,RANGE_TYPE as _0x2948f9,numberToABC as _0x31756d,Injector as _0x297017,LifecycleService as _0x1781c9,IResourceManagerService as _0x5937c1,Rectangle as _0x2492ba,IConfigService as _0x931275,Tools as _0x414e34,AsyncInterceptorManager as _0x2c06cc,InterceptorManager as _0x4854c3,InterceptorEffectEnum as _0x122284,IUndoRedoService as _0x5cd9a0,sequenceExecute as _0x414dc6,CustomCommandExecutionError as _0x3580bc,mergeWorksheetSnapshotWithDefault as _0x6dfe44,generateRandomId as _0x44435e,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x28ab5a,DEFAULT_WORKSHEET_ROW_COUNT as _0x3b3fd0,DisposableCollection as _0x21dd5d,Range as _0x5dacc2,DependentOn as _0x1623b1,Optional as _0x329209,Plugin as _0xb6e4b9,merge as _0x1febab}from'@univerjs/core';import{ErrorType as _0x1c78be,serializeRangeWithSpreadsheet as _0x1ee221,IFeatureCalculationManagerService as _0x68720c,GlobalComputingStatusService as _0x13f6da,IActiveDirtyManagerService as _0x521ace}from'@univerjs/engine-formula';import{generateNullCell as _0x1aefa4,SetRangeValuesUndoMutationFactory as _0x17451a,SetRangeValuesMutation as _0x2f97a2,getSheetCommandTarget as _0x5d0da0,InsertRowMutation as _0x432841,RemoveRowMutation as _0x489192,InsertColMutation as _0x541d31,RemoveColMutation as _0x121316,IExclusiveRangeService as _0xea2477,SheetInterceptorService as _0x36d3f4,INTERCEPTOR_POINT as _0x389984,InsertSheetCommand as _0x235ef5,InsertSheetUndoMutationFactory as _0x2fb6e0,RemoveSheetMutation as _0x45fd86,InsertSheetMutation as _0x49873a,MoveRangeMutation as _0x2bf82a,SheetsSelectionsService as _0x3de9b1,ClearSelectionContentCommand as _0x1d1ab3,ClearSelectionAllCommand as _0x38d272,SetWorksheetColWidthMutation as _0xe2718f,RefRangeService as _0x4e6465,SetWorksheetActiveOperation as _0x72a149,MoveRangeCommand as _0x1d9ddb,RemoveSheetCommand as _0x22a8ec}from'@univerjs/sheets';import{Subject as _0x307900,BehaviorSubject as _0x329c39}from'rxjs';import{LS_CONFIG_KEY as _0x2b702e,unshiftString as _0x2228ab,isFeatureAuthorizedWithinTime as _0x41ae26,getSheetFeatureLimit as _0x5da2ca,ReleaseType as _0x533376,UniverLicensePlugin as _0x480b43}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x38a016,RemoveSheetsFilterMutation as _0x3ef0c1}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1b20d0}from'@univerjs/rpc';import{getFontStyleString as _0x5ba26a,FontCache as _0x17a2c1}from'@univerjs/engine-render';const Lo=Number['parseInt'](0x68f8bce8),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,ci=_0x2cfc65(0x17e),di=_0x2cfc65(0x311),wt=_0x2cfc65(0x171),ui=_0x2cfc65(0x2b6),fi=_0x2cfc65(0x2b6),gi=_0x2cfc65(0x1b2),hi=_0x2cfc65(0x19e),vi='#FFFFFF',pi=_0x2cfc65(0x2c1),mi=_0x2cfc65(0x19e),Ii='#FFFFFF',Ci=_0x2cfc65(0x1cc),bi=0xe,Si=0x6;var ko=(_0x5e5314=>(_0x5e5314[_0x2cfc65(0x12e)]=_0x2cfc65(0x308),_0x5e5314[_0x2cfc65(0x345)]=_0x2cfc65(0x2a6),_0x5e5314))(ko||{});const Go={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,je={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':je,'vt':0x2}};function Ti(_0x3d86dc,_0x2847d8,_0x14799e){const _0x4b7f52=_0x2cfc65,_0x5d0b12=_0x3d86dc[_0x4b7f52(0x13e)](_0x2a61e0),_0x271323=_0x14799e[_0x4b7f52(0x28e)]('_');switch(_0x2847d8){case _0x43d554[_0x4b7f52(0x2ca)]:return _0x5d0b12['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x271323);case _0x43d554[_0x4b7f52(0x302)]:return _0x5d0b12['t'](_0x4b7f52(0x377),..._0x271323);case _0x43d554[_0x4b7f52(0x2b7)]:return _0x5d0b12['t'](_0x4b7f52(0x267),..._0x271323);case _0x43d554[_0x4b7f52(0x24c)]:return _0x5d0b12['t'](_0x4b7f52(0x373),..._0x271323);case _0x43d554['Date']:return _0x5d0b12['t'](_0x4b7f52(0x224),..._0x271323);case _0x43d554['Month']:return _0x5d0b12['t'](_0x4b7f52(0x241),..._0x271323);case _0x43d554['Quarter']:return _0x5d0b12['t'](_0x4b7f52(0x316),..._0x271323);case _0x43d554[_0x4b7f52(0x2a9)]:return _0x5d0b12['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x271323);case _0x43d554['YearMonthDate']:return _0x5d0b12['t'](_0x4b7f52(0x298),..._0x271323);case _0x43d554[_0x4b7f52(0x238)]:return _0x5d0b12['t'](_0x4b7f52(0x301),..._0x271323);}return'';}const tt=(_0x4954ad,_0x43632e,_0x307215,_0x2901a2)=>{const _0x307db2=_0x2cfc65;let _0x2fff19;const _0x42936b=_0x4954ad[_0x307db2(0x13e)](_0x295672)['getCurrentUnitForType'](_0x407cd0['UNIVER_SHEET']);if(!_0x42936b)return null;const _0x3d4a2a=_0x42936b[_0x307db2(0x340)]();let _0x1a6da8;if(_0x307215&&(_0x1a6da8=_0x3d4a2a[_0x307db2(0x2e3)](_0x307215)),_0x43632e!=null&&_0x43632e['v']||(_0x43632e==null?void 0x0:_0x43632e['v'])===0x0){_0x2fff19||(_0x2fff19={});const _0x3f9d72=$o(_0x43632e['v']);typeof _0x3f9d72==_0x307db2(0x16f)?_0x2fff19['t']=_0x334d9b['NUMBER']:typeof _0x3f9d72==_0x307db2(0x18f)&&(_0x2fff19['t']=_0x334d9b['STRING']),_0x2fff19['v']=_0x3f9d72;}if((_0x43632e!=null&&_0x43632e['i']||(_0x43632e==null?void 0x0:_0x43632e['i'])===0x0)&&(_0x2fff19||(_0x2fff19={}),_0x2fff19['fi']=_0x43632e['i']),_0x43632e!=null&&_0x43632e['s']&&(_0x2fff19||(_0x2fff19={}),_0x2fff19[_0x307db2(0x1db)]=_0x43632e['s']),_0x307215&&(_0x2fff19||(_0x2fff19={}),_0x2fff19['s']=_0x1a6da8),_0x2901a2&&_0x2fff19!=null&&_0x2fff19['v']&&_0x2fff19['pbt']!==_0x71ed97[_0x307db2(0x2f3)]&&_0x2fff19['pbt']!==_0x71ed97[_0x307db2(0x285)]){const _0x4d8cce=String(_0x2fff19['v']),{dateType:_0xe8301f}=_0x2901a2;_0x2fff19['v']=Ti(_0x4954ad,_0xe8301f,_0x4d8cce),_0x2fff19['t']=_0x334d9b['STRING'];}return _0x2fff19;},yi=(_0x2f5cb1,_0x1c3d22,_0x4de292,_0x229299)=>{const _0x10ffc9=_0x2cfc65;var _0x27e12f,_0x1012b4,_0x999d99,_0x5d9ea9,_0x1eebe5,_0x3ad96f,_0x209c4b,_0x2f86b2,_0x4a6a95,_0x57511f,_0xfd2300,_0x447b59,_0x336399,_0x4d557e;const _0x475dec=_0x4de292[_0x10ffc9(0x216)],{cornerView:_0x221a3c,rowView:_0x14c30d,colView:_0x3d93e0,dataView:_0x582e76,pageView:_0x5da038,formatMap:_0x1a603f,groupInfo:_0x1ea4dc}=_0x1c3d22,{row:_0x3096d0,col:_0x223c6e}=_0x475dec,_0x19cfdd=new _0x3d4b3d(),_0x3be3d3={},_0x2a192b={},_0x3dba4d={},_0x307a8c={},_0x44ebd0={};let _0x19dcfb=_0x3096d0,_0xaac21=_0x223c6e;Object[_0x10ffc9(0x23b)](_0x5da038[_0x10ffc9(0x186)])[_0x10ffc9(0x112)](_0x3a72a6=>{const _0x544498=_0x10ffc9;Object['keys'](_0x5da038['data'][Number(_0x3a72a6)])[_0x544498(0x112)](_0x2e6890=>{const _0x33c25d=_0x544498,_0x4a7647={..._0x5da038[_0x33c25d(0x186)][Number(_0x3a72a6)][Number(_0x2e6890)]};_0x19cfdd[_0x33c25d(0x2e3)](Number(_0x3a72a6)+_0x19dcfb,Number(_0x2e6890)+_0xaac21,tt(_0x2f5cb1,_0x4a7647,fe[_0x33c25d(0x2ba)]));});});const _0x901f2=Object['keys'](_0x5da038[_0x10ffc9(0x186)])[_0x10ffc9(0x1fd)];_0x19dcfb+=_0x901f2+(_0x901f2?It:0x0);const _0x571331=_0x221a3c[_0x10ffc9(0x10e)](),_0x511e1d=_0x221a3c['getColCount']();for(let _0x2fb9ed=0x0;_0x2fb9ed<_0x571331;_0x2fb9ed++)for(let _0x53c75f=0x0;_0x53c75f<_0x511e1d;_0x53c75f++){const _0xd559f4={...(_0x1012b4=(_0x27e12f=_0x221a3c[_0x10ffc9(0x186)])==null?void 0x0:_0x27e12f[_0x2fb9ed])==null?void 0x0:_0x1012b4[_0x53c75f]};_0xd559f4&&((_0x999d99=_0x14c30d[_0x10ffc9(0x175)][_0x53c75f])!=null&&_0x999d99[_0x10ffc9(0x12c)])&&_0x53c75f===_0x511e1d-0x1&&_0x2fb9ed===_0x571331-0x1&&(_0xd559f4['v']=''+_0x229299[_0x10ffc9(0x234)]),_0x19cfdd[_0x10ffc9(0x2e3)](_0x2fb9ed+_0x19dcfb,_0x53c75f+_0xaac21,tt(_0x2f5cb1,_0xd559f4,fe[_0x10ffc9(0x25e)]));}for(let _0x4e8035=0x0;_0x4e8035<_0x221a3c[_0x10ffc9(0x1bf)]['length'];_0x4e8035++)_0x221a3c[_0x10ffc9(0x1bf)][_0x4e8035]&&(_0x3dba4d[''+(_0x4e8035+_0xaac21)]=_0x221a3c[_0x10ffc9(0x1bf)][_0x4e8035]);_0xaac21+=_0x511e1d;const _0x395633=_0x3d93e0[_0x10ffc9(0x175)],_0x26bdf6=_0x3d93e0[_0x10ffc9(0x292)]()>=0x0?_0x3d93e0[_0x10ffc9(0x292)]()+0x1:0x0,_0x2c944e=_0x3d93e0[_0x10ffc9(0x353)]()>=0x0?_0x3d93e0[_0x10ffc9(0x353)]()+0x1:0x0;for(let _0x37bb18=0x0;_0x37bb18<_0x2c944e;_0x37bb18++){for(let _0x52ecef=0x0;_0x52ecef<_0x26bdf6;_0x52ecef++){const _0x458aab={...(_0x1eebe5=(_0x5d9ea9=_0x3d93e0['data'])==null?void 0x0:_0x5d9ea9[_0x52ecef])==null?void 0x0:_0x1eebe5[_0x37bb18]},_0x365125=(_0x3ad96f=_0x395633[_0x52ecef])==null?void 0x0:_0x3ad96f[_0x10ffc9(0x297)],_0x31bfdf=_0x1a603f[_0x365125],_0x3cc524=_0x1ea4dc[_0x365125];_0x458aab&&(_0x458aab['v']=vt(_0x458aab,_0x52ecef===0x0&&((_0x209c4b=_0x3d93e0[_0x10ffc9(0x21f)](_0x37bb18+0x1))==null?void 0x0:_0x209c4b[_0x10ffc9(0x12c)]),_0x31bfdf,_0x229299));let _0x2b4e77;_0x31bfdf?_0x2b4e77={...fe[_0x10ffc9(0x165)],'n':{'pattern':_0x31bfdf}}:_0x2b4e77={...fe[_0x10ffc9(0x165)]},_0x19cfdd['setValue'](_0x52ecef+_0x19dcfb,_0x37bb18+_0xaac21,tt(_0x2f5cb1,_0x458aab,_0x2b4e77,_0x3cc524));}_0x3d93e0[_0x10ffc9(0x1bf)][_0x37bb18]&&(_0x2a192b[''+(_0x37bb18+_0xaac21)]=_0x3d93e0[_0x10ffc9(0x1bf)][_0x37bb18]),_0x3d93e0[_0x10ffc9(0x175)][_0x37bb18+0x1]&&(_0x44ebd0[''+(_0x37bb18+_0x19dcfb+0x1)]=_0x3d93e0[_0x10ffc9(0x175)][_0x37bb18+0x1]);}_0x19dcfb+=_0x571331;const _0x54df0e=_0x14c30d['headerMap'],_0x23b004=_0x14c30d[_0x10ffc9(0x292)]()>=0x0?_0x14c30d['getLastRow']()+0x1:0x0,_0x47d672=_0x14c30d['getLastCol']()>=0x0?_0x14c30d[_0x10ffc9(0x353)]()+0x1:0x0;for(let _0x217662=0x0;_0x217662<_0x23b004;_0x217662++){for(let _0x5c7e10=0x0;_0x5c7e10<_0x47d672;_0x5c7e10++){const _0x5d3139={...(_0x4a6a95=(_0x2f86b2=_0x14c30d[_0x10ffc9(0x186)])==null?void 0x0:_0x2f86b2[_0x217662])==null?void 0x0:_0x4a6a95[_0x5c7e10]},_0x5e42ab=(_0x57511f=_0x54df0e[_0x5c7e10])==null?void 0x0:_0x57511f[_0x10ffc9(0x297)],_0x5388e2=_0x1a603f[_0x5e42ab],_0x349d01=_0x1ea4dc[_0x5e42ab];_0x5d3139&&(_0x5d3139['v']=vt(_0x5d3139,!0x1,_0x5388e2,_0x229299));let _0x2f7cca;_0x14c30d['info'][_0x217662][_0x10ffc9(0x32e)]===_0x14c30d[_0x10ffc9(0x135)]()?_0x2f7cca=fe[_0x10ffc9(0x24f)]:_0x14c30d[_0x10ffc9(0x1bf)][_0x217662]['isBottomTotal']?_0x2f7cca=_0x14c30d[_0x10ffc9(0x1bf)][_0x217662][_0x10ffc9(0x32e)]===0x0?fe[_0x10ffc9(0x31f)]:fe[_0x10ffc9(0x1c9)]:_0x2f7cca=fe[_0x10ffc9(0x314)],_0x5388e2&&(_0x2f7cca={..._0x2f7cca,'n':{'pattern':_0x5388e2}}),_0x19cfdd[_0x10ffc9(0x2e3)](_0x217662+_0x19dcfb,_0x5c7e10+_0x223c6e,tt(_0x2f5cb1,_0x5d3139,_0x2f7cca,_0x349d01));}_0x14c30d[_0x10ffc9(0x1bf)][_0x217662]&&(_0x3be3d3[''+(_0x217662+_0x19dcfb)]=_0x14c30d[_0x10ffc9(0x1bf)][_0x217662]),_0x14c30d[_0x10ffc9(0x175)][_0x217662]&&(_0x307a8c[''+(_0x217662+_0x223c6e)]=_0x14c30d[_0x10ffc9(0x175)][_0x217662]);}const _0x208cf4=_0x582e76['getRowCount'](),_0x77b1b=_0x582e76[_0x10ffc9(0x135)]();for(let _0x3e8b16=0x0;_0x3e8b16<_0x208cf4;_0x3e8b16++)for(let _0x406165=0x0;_0x406165<_0x77b1b;_0x406165++){const _0x476149={...(_0x447b59=(_0xfd2300=_0x582e76['data'])==null?void 0x0:_0xfd2300[_0x3e8b16])==null?void 0x0:_0x447b59[_0x406165]};let _0x3d1e92;_0x14c30d[_0x10ffc9(0x1bf)][_0x3e8b16]['isBottomTotal']?_0x3d1e92=_0x14c30d[_0x10ffc9(0x1bf)][_0x3e8b16][_0x10ffc9(0x32e)]===0x0?fe['grandTotal']:fe[_0x10ffc9(0x1c9)]:_0x3d1e92=fe['dataStyle'];const _0x357f26=_0x14c30d[_0x10ffc9(0x1bf)][_0x3e8b16]['valueIndex'],_0x4d5ebe=_0x3d93e0['info'][_0x406165][_0x10ffc9(0x23f)],_0x4cec7c=Math[_0x10ffc9(0x29c)](_0x357f26,_0x4d5ebe),_0x28d161=_0x4de292[_0x10ffc9(0x356)]['valueFields'][_0x10ffc9(0x150)]();let _0x2277fd='';_0x4cec7c<0x0?_0x2277fd=(_0x336399=_0x28d161[0x0])!=null?_0x336399:'':_0x2277fd=(_0x4d557e=_0x28d161[_0x4cec7c])!=null?_0x4d557e:'';const _0x547baf=_0x1a603f[_0x2277fd];_0x547baf&&(_0x3d1e92={..._0x3d1e92,'n':{'pattern':_0x547baf}}),_0x19cfdd[_0x10ffc9(0x2e3)](_0x3e8b16+_0x19dcfb,_0x406165+_0xaac21,tt(_0x2f5cb1,_0x476149,_0x3d1e92));}return{'valueMatrix':_0x19cfdd,'rowInfo':_0x3be3d3,'colInfo':_0x2a192b,'cornerInfo':_0x3dba4d,'rowHeaderMap':_0x307a8c,'colHeaderMap':_0x44ebd0};};function _0x2e44(_0x28db58,_0x1ecb5a){const _0x480196=_0x4801();return _0x2e44=function(_0x2e4461,_0x1c57f4){_0x2e4461=_0x2e4461-0x10e;let _0x3fc55c=_0x480196[_0x2e4461];return _0x3fc55c;},_0x2e44(_0x28db58,_0x1ecb5a);}function vt(_0x837c21,_0x773706,_0x77a2dc,_0x39baba){const _0x2560df=_0x2cfc65;let _0x599db5=_0x837c21['v'];_0x773706&&(_0x599db5=''+_0x39baba[_0x2560df(0x234)]);const _0x143272=_0x837c21['t']&&(_0x837c21['t']&_0xc85d3a[_0x2560df(0x352)])>0x0;_0x143272&&(_0x599db5=''+_0x39baba[_0x2560df(0x2a0)]);const _0x834eb2=_0x837c21['t']&&(_0x837c21['t']&_0xc85d3a[_0x2560df(0x20e)])>0x0;if(_0x834eb2&&(_0x599db5=''+_0x39baba[_0x2560df(0x177)]),_0x837c21['s']===_0x71ed97[_0x2560df(0x285)]){let _0x3b3aeb=_0x599db5,_0x59b0ca='';_0x4d1932(_0x599db5)&&(_0x3b3aeb=_0x599db5[_0x2560df(0x2d0)],_0x59b0ca=_0x599db5[_0x2560df(0x1cd)]);const _0x38af47=_0x77a2dc&&!_0x143272&&!_0x834eb2?_0x53fa13[_0x2560df(0x14c)](_0x77a2dc,Number(_0x3b3aeb)):_0x3b3aeb;_0x59b0ca?_0x599db5=_0x38af47+'\x20'+_0x59b0ca:_0x599db5=_0x38af47+'\x20'+_0x39baba[_0x2560df(0x341)];}else _0x837c21['s']===_0x71ed97[_0x2560df(0x2f3)]&&(_0x599db5=_0x599db5+'\x20'+_0x39baba['sheets-pivot.grandTotal']);return _0x599db5;}function $o(_0x303bb0){const _0x5e3f5e=_0x2cfc65;if(_0x16426a(_0x303bb0)){const {errorType:_0x116f01}=_0x303bb0;switch(_0x116f01){case _0x3c91e8[_0x5e3f5e(0x12f)]:return _0x1c78be[_0x5e3f5e(0x1be)];case _0x3c91e8[_0x5e3f5e(0x1c6)]:return _0x1c78be[_0x5e3f5e(0x290)];case _0x3c91e8[_0x5e3f5e(0x2e0)]:return _0x1c78be['NAME'];case _0x3c91e8[_0x5e3f5e(0x2e6)]:return _0x1c78be[_0x5e3f5e(0x2c7)];case _0x3c91e8[_0x5e3f5e(0x29f)]:return _0x1c78be[_0x5e3f5e(0x217)];}}return _0x303bb0;}function ge(_0x3ce605,_0x58eed8,_0x4ad37d=!0x1,_0x316b62=!0x1){const _0x49fe1d=_0x2cfc65,{data:_0x3c7527}=_0x58eed8,_0x5bbc07=_0x58eed8['getRowCount'](),_0x1909b6=_0x58eed8[_0x49fe1d(0x135)]();if(_0x5bbc07<=0x0||_0x1909b6<=0x0)return[];const _0x4c2770=_0x58eed8[_0x49fe1d(0x353)](),_0x20b6ba=_0x58eed8[_0x49fe1d(0x292)](),_0x111b1d=_0x316b62?_0x20b6ba>=0x0?_0x20b6ba+0x1:0x0:_0x5bbc07,_0x360206=_0x316b62?_0x4c2770>=0x0?_0x4c2770+0x1:0x0:_0x1909b6,{row:_0x2a0da8,col:_0x67240f}=_0x3ce605,_0x1a0d1e=_0x2a0da8,_0x1fbc69=_0x67240f;if(_0x4ad37d){const _0x40c1cb=[];for(const [_0x3e5917,_0x331a57]of Object[_0x49fe1d(0x2f2)](_0x3c7527))for(const [_0x3fe8db,_0x381156]of Object[_0x49fe1d(0x2f2)](_0x331a57))_0x40c1cb[_0x49fe1d(0x17f)](_0x1aea22(_0x1a0d1e+Number(_0x3e5917),_0x1fbc69+Number(_0x3fe8db)));return _0x40c1cb;}else{const _0x2f32fd=_0x316b62?_0x111b1d>0x0?0x1:0x0:0x1,_0x4ea749=_0x316b62?_0x360206>0x0?0x1:0x0:0x1,_0x49e49b=_0x2a0da8+_0x111b1d-_0x2f32fd,_0x2c50ee=_0x67240f+_0x360206-_0x4ea749;return[{'startRow':_0x1a0d1e,'startColumn':_0x1fbc69,'endRow':_0x49e49b,'endColumn':_0x2c50ee}];}}const Y=_0x2cfc65(0x14b),Lt=_0x2cfc65(0x2b4);var B=(_0x4ad488=>(_0x4ad488[_0x2cfc65(0x38d)]=_0x2cfc65(0x211),_0x4ad488[_0x2cfc65(0x2dd)]=_0x2cfc65(0x15b),_0x4ad488[_0x2cfc65(0x1af)]=_0x2cfc65(0x328),_0x4ad488[_0x2cfc65(0x320)]=_0x2cfc65(0x320),_0x4ad488[_0x2cfc65(0x119)]=_0x2cfc65(0x20c),_0x4ad488['MovePivotField']=_0x2cfc65(0x197),_0x4ad488[_0x2cfc65(0x1dc)]=_0x2cfc65(0x21e),_0x4ad488[_0x2cfc65(0x2e9)]=_0x2cfc65(0x237),_0x4ad488[_0x2cfc65(0x318)]=_0x2cfc65(0x335),_0x4ad488['SetPivotSort']=_0x2cfc65(0x1d8),_0x4ad488[_0x2cfc65(0x382)]=_0x2cfc65(0x28b),_0x4ad488[_0x2cfc65(0x14e)]=_0x2cfc65(0x271),_0x4ad488[_0x2cfc65(0x250)]='updateValuePosition',_0x4ad488['DrillDown']='drillDown',_0x4ad488[_0x2cfc65(0x2ae)]=_0x2cfc65(0x22d),_0x4ad488[_0x2cfc65(0x371)]=_0x2cfc65(0x37c),_0x4ad488[_0x2cfc65(0x170)]=_0x2cfc65(0x260),_0x4ad488))(B||{});const Mi={'sheets-pivot.blankValue':_0x2cfc65(0x36f),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x2cfc65(0x1b9),'sheets-pivot.grandTotalText':_0x2cfc65(0x11a),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x2cfc65(0x35b),'sheets-pivot.countName':_0x2cfc65(0x2d2),'sheets-pivot.countNumsName':_0x2cfc65(0x2d2),'sheets-pivot.maxName':_0x2cfc65(0x2fa),'sheets-pivot.minName':_0x2cfc65(0x295),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x2cfc65(0x30e),'sheets-pivot.stdDevpName':_0x2cfc65(0x259),'sheets-pivot.sumName':_0x2cfc65(0x164),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x2cfc65(0x232),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x2cfc65(0x11a),'sheets-pivot.value':'value','sheets-pivot.blank':_0x2cfc65(0x352),'sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x2cfc65(0x2bf),'sheets-pivot.emptyPivot.column':_0x2cfc65(0x19b),'sheets-pivot.emptyPivot.values':_0x2cfc65(0x34b)},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x2db911(_0x2cfc65(0x35f)),Jo=_0x26c109('pivotMutationGenerate');var ke=(_0xfffedf=>(_0xfffedf[_0x2cfc65(0x123)]=_0x2cfc65(0x123),_0xfffedf[_0x2cfc65(0x173)]=_0x2cfc65(0x173),_0xfffedf[_0x2cfc65(0x133)]=_0x2cfc65(0x133),_0xfffedf))(ke||{}),G=(_0x1ad39c=>(_0x1ad39c[_0x2cfc65(0x299)]=_0x2cfc65(0x123),_0x1ad39c[_0x2cfc65(0x2d8)]='set',_0x1ad39c[_0x2cfc65(0x132)]=_0x2cfc65(0x173),_0x1ad39c))(G||{});const ro={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x23d),'handler':()=>!0x0},lo={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x2df),'handler':()=>!0x0},Dt={'type':_0x36216a['MUTATION'],'id':_0x2cfc65(0x26f),'handler':()=>!0x0},co={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x214),'handler':()=>!0x0},uo={'type':_0x36216a['MUTATION'],'id':_0x2cfc65(0x385),'handler':()=>!0x0};var wi=Object[_0x2cfc65(0x283)],_i=(_0x1133ec,_0x5c72e0,_0xfb9ec9,_0x56a4ea)=>{const _0x48ab83=_0x2cfc65;for(var _0x4db16c=_0x56a4ea>0x1?void 0x0:_0x56a4ea?wi(_0x5c72e0,_0xfb9ec9):_0x5c72e0,_0x3cf718=_0x1133ec[_0x48ab83(0x1fd)]-0x1,_0x5a0981;_0x3cf718>=0x0;_0x3cf718--)(_0x5a0981=_0x1133ec[_0x3cf718])&&(_0x4db16c=_0x5a0981(_0x4db16c)||_0x4db16c);return _0x4db16c;},Fi=(_0x4d577d,_0x581e54)=>(_0xbdadf9,_0x7bd304)=>_0x581e54(_0xbdadf9,_0x7bd304,_0x4d577d);let X=class extends _0x9a7a73{constructor(_0xaef03a){const _0x337c03=_0x2cfc65;super(),U(this,_0x337c03(0x1c2),new Map()),this['_commandService']=_0xaef03a;}[_0x2cfc65(0x2be)](_0x348ba4){const _0x199652=_0x2cfc65,{version:_0x12b7ec}=_0x348ba4,_0x2de2af=this[_0x199652(0x1c2)]['get'](_0x12b7ec);_0x2de2af&&(_0x2de2af(_0x348ba4),this[_0x199652(0x1c2)][_0x199652(0x173)](_0x12b7ec));}[_0x2cfc65(0x110)](_0x2469a6){return new Promise((_0x28a86a,_0x4b0b18)=>{const _0x2d3514=_0x2e44,_0x2db356=this[_0x2d3514(0x1c5)]();this[_0x2d3514(0x1c2)]['set'](_0x2db356,_0x28a86a),this[_0x2d3514(0x1a6)][_0x2d3514(0x306)](ro['id'],{'version':_0x2db356,..._0x2469a6},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x23fecb=_0x2cfc65;return Math['random']()[_0x23fecb(0x36a)](0x24)[_0x23fecb(0x264)](0x2,0x10);}};X=_i([Fi(0x0,_0x4eaa26(_0x4c491b))],X);const Wo={0x0:'g',0x1:'C',0x2:'G',0x3:'k',0x4:'N',0x5:'v',0x6:'o',0x7:'K',0x8:'c',0x9:'y','t':'0','Z':'1','N':'2','n':'3','v':'4','R':'5','X':'6','y':'7','P':'8','U':'9','G':'a','d':'b','c':'d','b':'e','h':'f','f':'h','B':'i','T':'j','L':'l','Q':'m','a':'n','O':'p','A':'q','m':'r','s':'s','l':'t','S':'u','k':'w','I':'x','o':'z','K':'A','E':'B','q':'D','H':'E','u':'F','F':'H','W':'I','e':'J','D':'L','g':'M','r':'O','p':'P','Y':'Q','z':'R','x':'S','V':'T','C':'U','J':'V','w':'W','i':'X','j':'Y','M':'Z'},jo=_0x2cfc65(0x219),Ri=_0x42e9eb=>{const _0x511a5b=_0x2cfc65;var _0x1f9eaf;return((_0x1f9eaf=_0x42e9eb['body'])==null?void 0x0:_0x1f9eaf[_0x511a5b(0x20a)][_0x511a5b(0x1cf)](/\r\n$/,''))||'';};class Di extends _0x381862{constructor(_0x3b7c08,_0x2058e7){const _0x51d504=_0x2cfc65;super(),U(this,_0x51d504(0x226),{}),U(this,'_univerInstanceService'),U(this,_0x51d504(0x190)),(this[_0x51d504(0x231)]=_0x2058e7,this[_0x51d504(0x190)]=_0x3b7c08);}[_0x2cfc65(0x23a)](){const _0x241de6=_0x2cfc65;for(const _0x44aefc in this['dataFields']){const _0x4ef2bc=this[_0x241de6(0x1a5)][_0x44aefc],_0x1b88ee=_0x4ef2bc[_0x241de6(0x2f9)]();this[_0x241de6(0x226)][_0x1b88ee]=_0x4ef2bc[_0x241de6(0x159)]();}}[_0x2cfc65(0x13a)](){const _0x480417=_0x2cfc65,_0x4610dd=this[_0x480417(0x190)];return Ai[_0x480417(0x32f)](_0x4610dd);}[_0x2cfc65(0x118)](_0x331867){const _0x20ce1e=_0x2cfc65,_0x2e056c=this[_0x20ce1e(0x1a5)][_0x331867][_0x20ce1e(0x156)];delete this[_0x20ce1e(0x1a5)][_0x331867],delete this[_0x20ce1e(0x226)][_0x2e056c];}['addDataFieldWithoutUnitInfo'](_0xf36ce7){const _0x46c762=_0x2cfc65;this[_0x46c762(0x1a5)][_0xf36ce7[_0x46c762(0x159)]()]=_0xf36ce7;}[_0x2cfc65(0x30f)](_0x4c7918){const _0x38223b=_0x2cfc65;var _0x575fa4,_0x409641;const _0x4ae3ee=this[_0x38223b(0x190)][_0x38223b(0x1c1)](_0x4c7918);if(_0x4ae3ee){const {unitId:_0x1ee65e,subUnitId:_0x13c189}=_0x4ae3ee,_0x4b6c35=(_0x575fa4=this[_0x38223b(0x190)][_0x38223b(0x21d)](_0x1ee65e,_0x13c189,_0x4c7918))==null?void 0x0:_0x575fa4[_0x38223b(0x27f)];this[_0x38223b(0x190)][_0x38223b(0x1eb)]({'token':_0x4c7918,'type':ke[_0x38223b(0x173)],'dataRangeInfo':_0x4b6c35});}(_0x409641=this['getCollection'](_0x4c7918))==null||_0x409641['dispose'](),delete this[_0x38223b(0x337)][_0x4c7918];}[_0x2cfc65(0x2f9)](_0x210754,_0x393b90){const {sheetName:_0xd71088,unitId:_0x54ab5b,range:_0x30c51b}=_0x210754,{startRow:_0xa1ebab,endRow:_0x3e287c}=_0x30c51b;return _0x1ee221(_0x54ab5b,_0xd71088,{'startRow':_0xa1ebab,'endRow':_0x3e287c,'startColumn':_0x393b90,'endColumn':_0x393b90});}['getDataFieldByRangeKey'](_0x5417c5){const _0x519ca6=_0x2cfc65;return this[_0x519ca6(0x1a5)][this[_0x519ca6(0x226)][_0x5417c5]];}[_0x2cfc65(0x33b)](_0x3dc15c,_0x5075e8){this['rangeKeyMap'][_0x3dc15c]=_0x5075e8;}[_0x2cfc65(0x2ac)](_0x7b4f73,_0x353302){const _0x2a3e17=_0x2cfc65;this[_0x2a3e17(0x226)][_0x353302]=this[_0x2a3e17(0x226)][_0x7b4f73],delete this[_0x2a3e17(0x226)][_0x7b4f73];}['addCollectionByJSON'](_0x1ce575,_0x3f94d0,_0x2d6c00,_0x305c66){const _0xa245fe=_0x2cfc65,_0x66d7b1=new _0x5df76f(this);_0x66d7b1[_0xa245fe(0x2db)](_0x3f94d0);const _0x2312ab=[];let _0xb95717=0x0;for(const _0x280181 of _0x66d7b1['fieldIds']){const _0x4b778b=this[_0xa245fe(0x2f9)](_0x2d6c00,_0xb95717),_0x5236d4=this[_0xa245fe(0x1a5)][_0x280181];_0x5236d4&&(_0x5236d4[_0xa245fe(0x156)]=_0x4b778b,this[_0xa245fe(0x33b)](_0x4b778b,_0x280181),_0x2312ab[_0xa245fe(0x17f)]({'index':_0xb95717,'dataField':_0x5236d4})),_0xb95717++;}return this['addCollection'](_0x1ce575,_0x66d7b1,_0x2d6c00,_0x305c66),{'collection':_0x66d7b1,'updateDataFieldList':_0x2312ab};}['getRangeStartEndInfo'](_0x3c4188,_0x5f4ca6){const _0x16f8f5=_0x2cfc65;return _0x3c4188['rangeType']===_0x2948f9['COLUMN']?{'startRow':0x0,'startColumn':_0x3c4188[_0x16f8f5(0x256)],'endRow':_0x5f4ca6[_0x16f8f5(0x10e)]()-0x1,'endColumn':_0x3c4188[_0x16f8f5(0x354)]}:{'startRow':_0x3c4188[_0x16f8f5(0x21c)],'startColumn':_0x3c4188['startColumn'],'endRow':_0x3c4188[_0x16f8f5(0x389)],'endColumn':_0x3c4188[_0x16f8f5(0x354)]};}['createCollectionWithDataRange'](_0x56a013){const _0x53f05e=_0x2cfc65,{sheetName:_0xd66724,range:_0x2c0634}=_0x56a013,_0x2090e7=this['_univerInstanceService'][_0x53f05e(0x1ff)](_0x407cd0[_0x53f05e(0x281)]),_0x1bc6b4=_0x2090e7[_0x53f05e(0x367)](_0xd66724),_0x17820e=_0x1bc6b4[_0x53f05e(0x179)](),{startColumn:_0x5a8554,startRow:_0x2d6b14,endColumn:_0x227c16}=this[_0x53f05e(0x36e)](_0x2c0634,_0x1bc6b4),_0x17e99b=_0x2090e7[_0x53f05e(0x340)](),_0x355800=new _0x5df76f(this);_0x355800[_0x53f05e(0x31d)](_0x56a013);const _0x39a934=[],_0x3dab98={};for(let _0xcb2f2a=_0x5a8554;_0xcb2f2a<=_0x227c16;_0xcb2f2a++){const _0x3bc591=_0x17820e[_0x53f05e(0x2dc)](_0x2d6b14,_0xcb2f2a),_0x8dda33=this[_0x53f05e(0x2f9)](_0x56a013,_0xcb2f2a),_0x1b68d0=this[_0x53f05e(0x30b)](_0x8dda33);if(_0x1b68d0)_0x355800[_0x53f05e(0x1c7)](_0x1b68d0[_0x53f05e(0x159)](),_0x1b68d0[_0x53f05e(0x27a)]());else{const _0x284e6e=this[_0x53f05e(0x1d0)]();let _0x203bd0=this['adjustSheetCellData'](_0x3bc591,_0x17e99b,_0x3dab98);_0x31a954(_0x203bd0)&&(_0x203bd0=_0x53fa13[_0x53f05e(0x14c)](_0x203bd0['f'],Number(_0x203bd0['v'])));const _0x21c9fc=this[_0x53f05e(0x2cc)](_0x203bd0,_0xcb2f2a),_0x55204b=new _0x2c0cfa(_0x284e6e,_0x21c9fc,_0x552661(0x3));_0x55204b[_0x53f05e(0x156)]=_0x8dda33,this[_0x53f05e(0x1a5)][_0x284e6e]=_0x55204b,_0x355800[_0x53f05e(0x1c7)](_0x284e6e,_0x21c9fc),_0x39a934['push']({'index':_0xcb2f2a,'dataField':_0x55204b});}}return{'updateDataFieldList':_0x39a934,'collection':_0x355800};}['_getAutoName'](_0x3aa556){const _0x1592e9=_0x2cfc65;return this[_0x1592e9(0x190)][_0x1592e9(0x111)]()[_0x1592e9(0x181)]+'\x20'+_0x31756d(_0x3aa556);}[_0x2cfc65(0x2cc)](_0x5350f5,_0x536506){const _0xa837c1=_0x2cfc65;return _0x5350f5==null||_0x5350f5===''?this[_0xa837c1(0x203)](_0x536506):String(_0x5350f5);}['getCollection'](_0x138136){const _0x52f2a3=_0x2cfc65;return this[_0x52f2a3(0x337)][_0x138136];}[_0x2cfc65(0x242)](_0x41847f,_0x1bfba5,_0x8c508e,_0x337029){const _0x48d8b8=_0x2cfc65;this[_0x48d8b8(0x337)][_0x41847f]=_0x1bfba5,_0x1bfba5[_0x48d8b8(0x31d)](_0x8c508e),this['_host'][_0x48d8b8(0x1eb)]({'token':_0x41847f,'type':ke[_0x48d8b8(0x123)],'dataRangeInfo':_0x8c508e,'targetCellInfo':_0x337029});}['handleMoveRange'](_0x45b890,_0x3715cd){const _0x50a527=_0x2cfc65,_0x1e42c7=this[_0x50a527(0x161)](_0x45b890),_0x24cd17=_0x1e42c7[_0x50a527(0x2fb)]();let _0x2c743d=0x0;for(const _0x34fb76 of _0x24cd17){const _0x50902b=_0x1e42c7['getFieldById'](_0x34fb76),_0x45e18c=this[_0x50a527(0x2f9)](_0x3715cd,_0x2c743d);this[_0x50a527(0x2ac)](_0x50902b[_0x50a527(0x156)],_0x45e18c),_0x2c743d++;}}[_0x2cfc65(0x215)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x2cfc65(0x351)](_0x511353,_0x3a41af){const _0x1459b2=_0x2cfc65;if(this['getCollection'](_0x511353)){const _0x5498e5=this[_0x1459b2(0x172)](_0x3a41af),_0x255f2d=[];for(const _0x3eea6b of _0x5498e5)this[_0x1459b2(0x226)][_0x3eea6b]!==void 0x0&&_0x255f2d[_0x1459b2(0x17f)](this['rangeKeyMap'][_0x3eea6b]);const _0x21c068=this['getNoUsedDataFieldIds'](_0x511353),_0x4a1e40=[],_0x1f2378=new Set(_0x255f2d);for(const _0x495384 of _0x21c068)_0x1f2378['has'](_0x495384)||_0x4a1e40[_0x1459b2(0x17f)](_0x495384);return _0x4a1e40;}}[_0x2cfc65(0x326)](_0x1acd1d,_0x1ef415,_0x371e07,_0xf1e3bd,_0x556d51){const _0x4e588d=_0x2cfc65;return _0x1ef415&&_0x1ef415[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51)?_0x1ef415[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51):_0x371e07&&_0x371e07[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51)?_0x371e07[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51):_0x1acd1d[_0x4e588d(0x2dc)](_0xf1e3bd,_0x556d51);}[_0x2cfc65(0x277)](_0x3ecd3a,_0x114db5,_0x268186,_0x2aa551){const _0x491eab=_0x2cfc65,_0x355f43=this['dataFields'][_0x3ecd3a];if(!_0x355f43)return;const {subUnitId:_0xae2d72,range:_0x2212c9,unitId:_0x81cb5}=_0x114db5,_0x379af9=this[_0x491eab(0x231)][_0x491eab(0x15d)](_0x81cb5);if(!_0x379af9){console[_0x491eab(0x162)]('workbook\x20is\x20not\x20found');return;}const _0x1d787d=_0x379af9['getSheetBySheetId'](_0xae2d72),_0x157f74=_0x1d787d['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x2c8850,unitDataMatrix:_0x2e808e}=_0x2aa551||{},{startRow:_0x396881,startColumn:_0x3cbc32,endRow:_0x2ed52d}=this[_0x491eab(0x36e)](_0x2212c9,_0x1d787d);_0x355f43['reset']();const _0x2cb765=_0x379af9['getStyles'](),_0x28a8ad={},_0xa81067=this[_0x491eab(0x326)](_0x157f74,_0x2c8850,_0x2e808e,_0x396881,_0x3cbc32+_0x268186);let _0x13ba23=this[_0x491eab(0x1f5)](_0xa81067,_0x2cb765,_0x28a8ad);_0x31a954(_0x13ba23)&&(_0x13ba23=_0x53fa13[_0x491eab(0x14c)](_0x13ba23['f'],Number(_0x13ba23['v'])));const _0x5e6fb8=this[_0x491eab(0x2cc)](_0x13ba23,_0x3cbc32+_0x268186);_0x355f43[_0x491eab(0x31b)](_0x5e6fb8);for(let _0x275b9c=_0x396881+0x1;_0x275b9c<=_0x2ed52d;_0x275b9c++){const _0x5096df=this[_0x491eab(0x326)](_0x157f74,_0x2c8850,_0x2e808e,_0x275b9c,_0x3cbc32+_0x268186);_0x355f43[_0x491eab(0x229)](this[_0x491eab(0x1f5)](_0x5096df,_0x2cb765,_0x28a8ad),_0x275b9c-0x1-_0x396881);}}[_0x2cfc65(0x180)](_0x596c13,_0x38786b,_0x1869b4){const _0x4f496f=_0x2cfc65,{subUnitId:_0x23154e,range:_0x2e0ef7,unitId:_0x4311cc}=_0x1869b4,_0x2bcb53=this['_univerInstanceService'][_0x4f496f(0x15d)](_0x4311cc);if(!_0x2bcb53){console[_0x4f496f(0x162)](_0x4f496f(0x2e4));return;}const _0x30d285=_0x2bcb53['getSheetBySheetId'](_0x23154e),_0x26a727=_0x30d285[_0x4f496f(0x179)](),{startRow:_0x5e0909,startColumn:_0x3184f8,endRow:_0x99640e}=this[_0x4f496f(0x36e)](_0x2e0ef7,_0x30d285),_0x2a020e=_0x2bcb53[_0x4f496f(0x340)](),_0x3cd6f8={};for(const {dataField:_0x5249a0,index:_0x2ed442}of _0x38786b){_0x5249a0[_0x4f496f(0x2c0)]();const _0x2a43bd=this[_0x4f496f(0x326)](_0x26a727,void 0x0,void 0x0,_0x5e0909,_0x3184f8+_0x2ed442);let _0x12fd52=this[_0x4f496f(0x1f5)](_0x2a43bd,_0x2a020e,_0x3cd6f8);_0x31a954(_0x12fd52)&&(_0x12fd52=_0x53fa13['format'](_0x12fd52['f'],Number(_0x12fd52['v'])));const _0x27113e=this['uniqueDataFieldName'](_0x12fd52,_0x3184f8+_0x2ed442);_0x5249a0[_0x4f496f(0x31b)](_0x27113e);}_0x596c13['updateAllDisplayName']();for(let _0x489e3f=_0x5e0909+0x1;_0x489e3f<=_0x99640e;_0x489e3f++)for(const {index:_0x48e84c,dataField:_0x43b256}of _0x38786b){const _0x55397c=_0x26a727[_0x4f496f(0x2dc)](_0x489e3f,_0x3184f8+_0x48e84c);_0x43b256[_0x4f496f(0x229)](this[_0x4f496f(0x1f5)](_0x55397c,_0x2a020e,_0x3cd6f8),_0x489e3f-0x1-_0x5e0909);}_0x596c13[_0x4f496f(0x1b3)](_0x99640e-_0x5e0909);}['getRangeKeyList'](_0x2a9ea6){const _0x32f3a2=_0x2cfc65,{range:_0x103206}=_0x2a9ea6,{startColumn:_0x53d4a6,endColumn:_0x5920f7}=_0x103206,_0xc33e07=[];for(let _0x5d7483=_0x53d4a6;_0x5d7483<=_0x5920f7;_0x5d7483++)_0xc33e07['push'](this[_0x32f3a2(0x2f9)](_0x2a9ea6,_0x5d7483));return _0xc33e07;}['adjustSheetCellData'](_0x4cb2ea,_0x1e67b4,_0x132154){const _0x164d8e=_0x2cfc65;if(_0x4cb2ea){const {s:_0xeffd6b,v:_0xec95f,t:_0x219874,p:_0x29df5b}=_0x4cb2ea;if(_0x29df5b)return Ri(_0x29df5b);const _0x735b64=_0x1e67b4['get'](_0xeffd6b);if(_0x735b64&&_0x219874===_0x334d9b['NUMBER']&&_0x735b64['n']){const {pattern:_0x53c1bf}=_0x735b64['n'];_0x132154[_0x53c1bf]||(_0x132154[_0x53c1bf]=_0x53fa13[_0x164d8e(0x2f5)](_0x53c1bf));const _0x1253b6=_0x132154[_0x53c1bf],_0x1526b3=_0x1253b6[_0x164d8e(0x147)];if(_0x1253b6['isText'])return String(_0xec95f);if(_0x1526b3)return{'v':_0xec95f,'f':_0x53c1bf};}if(_0x219874===_0x334d9b[_0x164d8e(0x274)])return Number(_0xec95f);if(_0x219874===_0x334d9b[_0x164d8e(0x1ae)]||_0x219874===_0x334d9b[_0x164d8e(0x152)])return String(_0xec95f);if(_0x219874===void 0x0){const _0x419e9d=Number(_0xec95f);if(!Number['isNaN'](_0x419e9d)&&String(_0x419e9d)===_0xec95f)return _0x419e9d;}return _0xec95f!=null?_0xec95f:null;}else return null;}[_0x2cfc65(0x129)](_0x4371d1){const _0x4a6838=_0x2cfc65,{sheetName:_0x476e82,range:_0x4869bb,unitId:_0x3ca14a}=_0x4371d1,_0x16884a=this[_0x4a6838(0x231)][_0x4a6838(0x15d)](_0x3ca14a);if(!_0x16884a)return console[_0x4a6838(0x162)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x36edc0=_0x16884a[_0x4a6838(0x367)](_0x476e82),_0x1f1b6f=_0x36edc0['getCellMatrix'](),{startRow:_0x4402ea,startColumn:_0x18a449,endRow:_0x5706ae,endColumn:_0x257f53}=this['getRangeStartEndInfo'](_0x4869bb,_0x36edc0),_0x4cdc68=_0x16884a[_0x4a6838(0x340)](),_0x1cd61e=[],_0x111e7e=[],_0xf58d6d={};for(let _0x113532=_0x4402ea;_0x113532<=_0x5706ae;_0x113532++){const _0x584664=[];for(let _0x2735ad=_0x18a449;_0x2735ad<=_0x257f53;_0x2735ad++){const _0x1f49a6=_0x1f1b6f[_0x4a6838(0x2dc)](_0x113532,_0x2735ad);_0x113532===_0x4402ea?_0x1cd61e[_0x4a6838(0x17f)](_0x1f49a6==null?null:String(_0x1f49a6['v'])):_0x584664[_0x4a6838(0x17f)](this['adjustSheetCellData'](_0x1f49a6,_0x4cdc68,_0xf58d6d));}_0x111e7e[_0x4a6838(0x17f)](_0x584664);}return{'header':_0x1cd61e,'data':_0x111e7e};}[_0x2cfc65(0x2d6)](){const _0x33a0cf=_0x2cfc65;return super[_0x33a0cf(0x2d6)]();}[_0x2cfc65(0x2db)](_0x3f5183){const _0x5ab067=_0x2cfc65;super[_0x5ab067(0x2db)](_0x3f5183),this[_0x5ab067(0x23a)]();}[_0x2cfc65(0x208)](){const _0x3ad3ba=_0x2cfc65;super[_0x3ad3ba(0x208)](),this['rangeKeyMap']={},this[_0x3ad3ba(0x190)]=null;}}const Ni=_0x4581ed=>{const _0x474b6c=_0x2cfc65,{targetCellInfo:_0x49815b}=_0x4581ed,{matrixCache:_0x39fff4,rangesCache:_0x5927ab}=Ko({'filter':_0x474b6c(0x38d),'row':_0x474b6c(0x2bf),'column':_0x474b6c(0x19b),'values':_0x474b6c(0x34b)},_0x49815b),_0x505a2b=new _0x3d4b3d();return _0x39fff4[_0x474b6c(0x115)]((_0xde54a,_0x22c17d,_0x2d903e)=>{const _0x2d5764=_0x474b6c;_0x505a2b[_0x2d5764(0x2e3)](_0xde54a,_0x22c17d,_0x2d903e);}),{'matrix':_0x505a2b,'rangesCache':_0x5927ab};},ot=_0x1844d1=>{const _0x4aaf2f=_0x2cfc65;let _0xe599d5;if(_0x1844d1!=null&&_0x1844d1['v']||(_0x1844d1==null?void 0x0:_0x1844d1['v'])===0x0){_0xe599d5||(_0xe599d5={});const _0x48361c=$o(_0x1844d1['v']);typeof _0x48361c==_0x4aaf2f(0x16f)?_0xe599d5['t']=_0x334d9b['NUMBER']:typeof _0x48361c==_0x4aaf2f(0x18f)&&(_0xe599d5['t']=_0x334d9b[_0x4aaf2f(0x1ae)]),_0xe599d5['v']=_0x48361c;}return _0xe599d5;},Ui=(_0x1cec13,_0x1a260e,_0x3b3aee)=>{const _0x347e4b=_0x2cfc65;var _0x290ea4,_0x201317,_0x23b698,_0x31a6ec,_0x448715,_0x439134,_0xf047b7,_0x5d768f,_0x4bd27,_0x44d579,_0xc926d0,_0x4c8ab6;const {cornerView:_0x48b911,rowView:_0x41f2f7,colView:_0x3d8ae2,dataView:_0x3515bb,pageView:_0x1ef3b3,formatMap:_0x536247}=_0x1cec13,{row:_0x2641ef,col:_0x501ec0}=_0x1a260e,_0x27a158=new _0x3d4b3d();let _0x4a6bd0=_0x2641ef,_0x2f6018=_0x501ec0;Object['keys'](_0x1ef3b3[_0x347e4b(0x186)])[_0x347e4b(0x112)](_0x41c3bd=>{const _0x5db4cc=_0x347e4b;Object[_0x5db4cc(0x23b)](_0x1ef3b3[_0x5db4cc(0x186)][Number(_0x41c3bd)])[_0x5db4cc(0x112)](_0x3f4447=>{const _0xfba35f=_0x5db4cc,_0x37f64a={..._0x1ef3b3[_0xfba35f(0x186)][Number(_0x41c3bd)][Number(_0x3f4447)]};_0x27a158[_0xfba35f(0x2e3)](Number(_0x41c3bd)+_0x4a6bd0,Number(_0x3f4447)+_0x2f6018,ot(_0x37f64a));});});const _0x42c830=Object[_0x347e4b(0x23b)](_0x1ef3b3[_0x347e4b(0x186)])[_0x347e4b(0x1fd)];_0x4a6bd0+=_0x42c830+(_0x42c830?It:0x0);const _0x375e14=_0x48b911[_0x347e4b(0x10e)](),_0x2cea83=_0x48b911[_0x347e4b(0x135)]();for(let _0x6a4021=0x0;_0x6a4021<_0x375e14;_0x6a4021++)for(let _0x2ec3b4=0x0;_0x2ec3b4<_0x2cea83;_0x2ec3b4++){const _0x5913c9={...(_0x201317=(_0x290ea4=_0x48b911[_0x347e4b(0x186)])==null?void 0x0:_0x290ea4[_0x6a4021])==null?void 0x0:_0x201317[_0x2ec3b4]};_0x5913c9&&((_0x23b698=_0x41f2f7[_0x347e4b(0x175)][_0x2ec3b4])!=null&&_0x23b698[_0x347e4b(0x12c)])&&_0x2ec3b4===_0x2cea83-0x1&&_0x6a4021===_0x375e14-0x1&&(_0x5913c9['v']=''+_0x3b3aee[_0x347e4b(0x234)]),_0x27a158[_0x347e4b(0x2e3)](_0x6a4021+_0x4a6bd0,_0x2ec3b4+_0x2f6018,ot(_0x5913c9));}_0x2f6018+=_0x2cea83;const _0x27132b=_0x3d8ae2[_0x347e4b(0x175)],_0x14f7cc=_0x3d8ae2[_0x347e4b(0x292)]()>=0x0?_0x3d8ae2[_0x347e4b(0x292)]()+0x1:0x0,_0x24c251=_0x3d8ae2[_0x347e4b(0x353)]()>=0x0?_0x3d8ae2[_0x347e4b(0x353)]()+0x1:0x0;for(let _0x4e45ad=0x0;_0x4e45ad<_0x24c251;_0x4e45ad++)for(let _0x22862c=0x0;_0x22862c<_0x14f7cc;_0x22862c++){const _0x7fbbdc={...(_0x448715=(_0x31a6ec=_0x3d8ae2[_0x347e4b(0x186)])==null?void 0x0:_0x31a6ec[_0x4e45ad])==null?void 0x0:_0x448715[_0x22862c]},_0x38fd01=(_0x439134=_0x27132b[_0x4e45ad])==null?void 0x0:_0x439134[_0x347e4b(0x297)],_0x2b65bd=_0x536247[_0x38fd01];_0x7fbbdc&&(_0x7fbbdc['v']=vt(_0x7fbbdc,_0x4e45ad===0x0&&((_0xf047b7=_0x3d8ae2[_0x347e4b(0x21f)](_0x22862c+0x1))==null?void 0x0:_0xf047b7[_0x347e4b(0x12c)]),_0x2b65bd,_0x3b3aee)),_0x27a158[_0x347e4b(0x2e3)](_0x4e45ad+_0x4a6bd0,_0x22862c+_0x2f6018,ot(_0x7fbbdc));}_0x4a6bd0+=_0x375e14;const _0x4a138a=_0x41f2f7[_0x347e4b(0x175)],_0x177513=_0x41f2f7['getLastRow']()>=0x0?_0x41f2f7['getLastRow']()+0x1:0x0,_0x426a14=_0x41f2f7['getLastCol']()>=0x0?_0x41f2f7[_0x347e4b(0x353)]()+0x1:0x0;for(let _0xce9aa2=0x0;_0xce9aa2<_0x177513;_0xce9aa2++)for(let _0x6db607=0x0;_0x6db607<_0x426a14;_0x6db607++){const _0x1fc04a={...(_0x4bd27=(_0x5d768f=_0x41f2f7[_0x347e4b(0x186)])==null?void 0x0:_0x5d768f[_0xce9aa2])==null?void 0x0:_0x4bd27[_0x6db607]},_0xbddc4c=(_0x44d579=_0x4a138a[_0x6db607])==null?void 0x0:_0x44d579[_0x347e4b(0x297)],_0x583706=_0x536247[_0xbddc4c];_0x1fc04a&&(_0x1fc04a['v']=vt(_0x1fc04a,!0x1,_0x583706,_0x3b3aee)),_0x27a158[_0x347e4b(0x2e3)](_0xce9aa2+_0x4a6bd0,_0x6db607+_0x501ec0,ot(_0x1fc04a));}const _0x419ba1=_0x3515bb['getRowCount'](),_0x1f8b87=_0x3515bb[_0x347e4b(0x135)]();for(let _0xaf54ed=0x0;_0xaf54ed<_0x419ba1;_0xaf54ed++)for(let _0x52288e=0x0;_0x52288e<_0x1f8b87;_0x52288e++){const _0x1de44f={...(_0x4c8ab6=(_0xc926d0=_0x3515bb[_0x347e4b(0x186)])==null?void 0x0:_0xc926d0[_0xaf54ed])==null?void 0x0:_0x4c8ab6[_0x52288e]};_0x27a158['setValue'](_0xaf54ed+_0x4a6bd0,_0x52288e+_0x2f6018,ot(_0x1de44f));}return _0x27a158;},Vi=_0x4f56df=>{const _0x2c5b58=_0x2cfc65,{view:_0x102895,targetCellInfo:_0x5cb77c,isEmpty:_0x5ad2ad,textInfo:_0x2e15c8}=_0x4f56df;if(_0x5ad2ad)return Ni(_0x4f56df);const {pageView:_0x7bf062,cornerView:_0xeea62,rowView:_0x334221,colView:_0x211fe9,dataView:_0x183c9d}=_0x102895,_0x3683f2=ge(_0x5cb77c,_0x7bf062,!0x0),_0x43a42e=_0x7bf062[_0x2c5b58(0x1ad)]>=0x0?_0x7bf062['lastRow']+0x1:0x0,_0x37ecdc=_0xeea62[_0x2c5b58(0x10e)](),_0x2ea50d=_0xeea62[_0x2c5b58(0x135)](),_0x2a965a=_0x3683f2[_0x2c5b58(0x1fd)]>0x0?It:0x0,_0x45b29e=ge({'row':_0x5cb77c[_0x2c5b58(0x379)]+_0x43a42e+_0x2a965a,'col':_0x5cb77c[_0x2c5b58(0x183)]},_0xeea62,!0x1,!0x1),_0x4195a1=ge({'row':_0x5cb77c['row']+_0x43a42e+_0x2a965a+_0x37ecdc,'col':_0x5cb77c[_0x2c5b58(0x183)]},_0x334221,!0x1,!0x0),_0x376832=ge({'row':_0x5cb77c[_0x2c5b58(0x379)]+_0x43a42e+_0x2a965a,'col':_0x5cb77c[_0x2c5b58(0x183)]+_0x2ea50d},_0x211fe9,!0x1,!0x0),_0x124783=ge({'row':_0x5cb77c[_0x2c5b58(0x379)]+_0x43a42e+_0x2a965a+_0x37ecdc,'col':_0x5cb77c[_0x2c5b58(0x183)]+_0x2ea50d},_0x183c9d,!0x1,!0x1),_0x1034bd={'rowRanges':_0x4195a1,'colRanges':_0x376832,'cornerRanges':_0x45b29e,'dataRanges':_0x124783,'pageRanges':_0x3683f2};return{'matrix':Ui(_0x102895,_0x5cb77c,_0x2e15c8),'rangesCache':_0x1034bd};};var Oi=Object['getOwnPropertyDescriptor'],Ei=(_0x2df688,_0x2652fc,_0x2e7c0d,_0x55cbbc)=>{const _0x4511d4=_0x2cfc65;for(var _0x29d9fa=_0x55cbbc>0x1?void 0x0:_0x55cbbc?Oi(_0x2652fc,_0x2e7c0d):_0x2652fc,_0x53ed29=_0x2df688[_0x4511d4(0x1fd)]-0x1,_0x4155f2;_0x53ed29>=0x0;_0x53ed29--)(_0x4155f2=_0x2df688[_0x53ed29])&&(_0x29d9fa=_0x4155f2(_0x29d9fa)||_0x29d9fa);return _0x29d9fa;},nt=(_0x421da2,_0x55db27)=>(_0x182175,_0x26841c)=>_0x55db27(_0x182175,_0x26841c,_0x421da2);let $=class extends _0x9a7a73{constructor(_0x4f75a6,_0x105bb2,_0x465d23,_0x5bd4fa,_0x43b855){const _0xf33c5a=_0x2cfc65;super(),U(this,_0xf33c5a(0x1f8),new Map()),U(this,_0xf33c5a(0x1ef),new Map()),U(this,_0xf33c5a(0x359),new Map()),U(this,_0xf33c5a(0x213)),U(this,_0xf33c5a(0x19f),new _0x307900()),U(this,_0xf33c5a(0x376),this[_0xf33c5a(0x19f)][_0xf33c5a(0x244)]()),U(this,'_viewData$',new _0x307900()),U(this,_0xf33c5a(0x324),this[_0xf33c5a(0x309)][_0xf33c5a(0x244)]()),U(this,_0xf33c5a(0x209),new _0x307900()),U(this,_0xf33c5a(0x38c),this[_0xf33c5a(0x209)]['asObservable']()),U(this,'_dataFieldManagerCollection',new Map()),U(this,'needSameDeleteModel',[]),U(this,_0xf33c5a(0x220),new Map()),(this[_0xf33c5a(0x13c)]=_0x4f75a6,this[_0xf33c5a(0x231)]=_0x105bb2,this['_lifecycleService']=_0x465d23,this['_commandService']=_0x5bd4fa,this[_0xf33c5a(0x384)]=_0x43b855,this[_0xf33c5a(0x291)]());}[_0x2cfc65(0x111)](){const _0x578298=_0x2cfc65;return this[_0x578298(0x213)]?this[_0x578298(0x213)]:Mi;}[_0x2cfc65(0x35c)](_0x647d9f){const _0x648431=_0x2cfc65;this[_0x648431(0x213)]=_0x647d9f;}[_0x2cfc65(0x2cf)](_0x272a97){const _0x38662f=_0x2cfc65;var _0x4c27c9;const {from:_0x3b9c7f,to:_0x26ab44,unitId:_0x22a4af,fromRange:_0x47cae5,toRange:_0x1f5ee1}=_0x272a97;if(_0x3b9c7f&&_0x26ab44){const _0x35b9db=this[_0x38662f(0x212)](_0x22a4af),_0x522b26=this[_0x38662f(0x1f8)][_0x38662f(0x13e)](_0x22a4af),_0x4c3fff=(_0x4c27c9=this[_0x38662f(0x231)][_0x38662f(0x15d)](_0x22a4af))==null?void 0x0:_0x4c27c9[_0x38662f(0x248)](_0x26ab44[_0x38662f(0x1bc)]);if(!_0x522b26||!_0x4c3fff)return;const _0x5a6eee=_0x4c3fff==null?void 0x0:_0x4c3fff[_0x38662f(0x27a)]();for(const [_0x2f84c1,_0x4978a1]of _0x522b26['entries']())for(const [_0x3e51bf,_0x5c6d41]of _0x4978a1[_0x38662f(0x2f2)]()){const {sourceRangeInfo:_0x5dfca2}=_0x5c6d41;if(_0x5dfca2['unitId']===_0x22a4af&&_0x5dfca2[_0x38662f(0x1bc)]===_0x3b9c7f[_0x38662f(0x1bc)]&&_0x2492ba['contains'](_0x47cae5,_0x5dfca2[_0x38662f(0x16d)])){const _0x14809c={'row':_0x5dfca2[_0x38662f(0x16d)]['startRow']-_0x47cae5['startRow'],'col':_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x256)]-_0x47cae5['startColumn']},_0x5356c2={'unitId':_0x22a4af,'subUnitId':_0x26ab44[_0x38662f(0x1bc)],'sheetName':_0x5a6eee,'range':{'startRow':_0x1f5ee1['startRow']+_0x14809c[_0x38662f(0x379)],'endRow':_0x1f5ee1[_0x38662f(0x21c)]+_0x14809c[_0x38662f(0x379)]+_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x389)]-_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x21c)],'startColumn':_0x1f5ee1['startColumn']+_0x14809c['col'],'endColumn':_0x1f5ee1[_0x38662f(0x256)]+_0x14809c[_0x38662f(0x183)]+_0x5dfca2[_0x38662f(0x16d)][_0x38662f(0x354)]-_0x5dfca2['range'][_0x38662f(0x256)]}};_0x35b9db[_0x38662f(0x2cf)](_0x3e51bf,_0x5356c2);const _0x26b780={..._0x5c6d41,'sourceRangeInfo':_0x5356c2};this[_0x38662f(0x28a)](_0x22a4af,_0x26ab44[_0x38662f(0x1bc)],_0x3e51bf,_0x26b780),this[_0x38662f(0x1eb)]({'unitId':_0x22a4af,'token':_0x3e51bf,'type':ke[_0x38662f(0x133)],'oldSourceRangeInfo':_0x5dfca2,'dataRangeInfo':_0x5356c2,'targetCellInfo':_0x5c6d41[_0x38662f(0x216)]}),this['updateConfig']({'unitId':_0x22a4af,'subUnitId':_0x26ab44[_0x38662f(0x1bc)],'oldSubUnitId':_0x2f84c1,'pivotTableId':_0x3e51bf,'pivotTableConfig':_0x26b780,'collectionConfig':_0x35b9db['toJSON']()});}}}}['broadcastCollectionChange'](_0x260a0e){const _0x555c85=_0x2cfc65;this[_0x555c85(0x19f)][_0x555c85(0x2c4)](_0x260a0e);}[_0x2cfc65(0x212)](_0x14f80f){const _0x3b4942=_0x2cfc65;let _0x8a234b=this[_0x3b4942(0x24d)][_0x3b4942(0x13e)](_0x14f80f);return _0x8a234b||(_0x8a234b=new Di(this,this[_0x3b4942(0x231)]),this['_dataFieldManagerCollection']['set'](_0x14f80f,_0x8a234b)),_0x8a234b;}[_0x2cfc65(0x161)](_0x3fbd6a,_0x25f1d0){const _0x32e632=_0x2cfc65;return this[_0x32e632(0x212)](_0x3fbd6a)[_0x32e632(0x337)][_0x25f1d0];}[_0x2cfc65(0x351)](_0x5a7c0e,_0x2b6ffc,_0x1e5884){const _0x36ea1f=_0x2cfc65;return this[_0x36ea1f(0x212)](_0x5a7c0e)['getUpdateRangeDeleteIds'](_0x2b6ffc,_0x1e5884);}[_0x2cfc65(0x330)](_0x45e981,_0x30f87b){const _0x5f37bb=_0x2cfc65;let _0x26a842=this['_model'][_0x5f37bb(0x13e)](_0x45e981);_0x26a842||(_0x26a842=new Map(),this[_0x5f37bb(0x1f8)][_0x5f37bb(0x289)](_0x45e981,_0x26a842));let _0x4e8364=_0x26a842['get'](_0x30f87b);return _0x4e8364||(_0x4e8364=new Map(),_0x26a842['set'](_0x30f87b,_0x4e8364)),_0x4e8364;}[_0x2cfc65(0x28a)](_0x5e129d,_0x1dfc37,_0x5a463e,_0xafced7){const _0x38fa8b=_0x2cfc65;this['_ensurePivotMap'](_0x5e129d,_0x1dfc37)[_0x38fa8b(0x289)](_0x5a463e,_0xafced7);}[_0x2cfc65(0x19a)](_0x5e9e0b,_0x329fee,_0x3d0fa8){const _0x3fb151=_0x2cfc65;var _0x1bac10,_0x2fc949,_0x116295,_0xd4e780;((_0x2fc949=(_0x1bac10=this[_0x3fb151(0x1f8)][_0x3fb151(0x13e)](_0x5e9e0b))==null?void 0x0:_0x1bac10[_0x3fb151(0x13e)](_0x329fee))==null?void 0x0:_0x2fc949[_0x3fb151(0x13e)](_0x3d0fa8))&&((_0xd4e780=(_0x116295=this[_0x3fb151(0x1f8)]['get'](_0x5e9e0b))==null?void 0x0:_0x116295['get'](_0x329fee))==null||_0xd4e780[_0x3fb151(0x173)](_0x3d0fa8));}[_0x2cfc65(0x344)](_0xa76ea,_0x5c4c75){const _0x5b9a32=_0x2cfc65;this[_0x5b9a32(0x1ef)][_0x5b9a32(0x289)](_0xa76ea,_0x5c4c75);}[_0x2cfc65(0x2cb)](_0x31df0a){const _0x496bbf=_0x2cfc65;this[_0x496bbf(0x1ef)]['delete'](_0x31df0a);}[_0x2cfc65(0x269)](_0x9d2aab,_0x4c2ff5){const _0x2f97c8=_0x2cfc65;let _0x24c953=this[_0x2f97c8(0x359)]['get'](_0x9d2aab);_0x24c953||(_0x24c953=new Map(),this['_viewData']['set'](_0x9d2aab,_0x24c953));let _0x260d85=_0x24c953['get'](_0x4c2ff5);return _0x260d85||(_0x260d85=new Map(),_0x24c953[_0x2f97c8(0x289)](_0x4c2ff5,_0x260d85)),_0x260d85;}['updateConfig'](_0x4de8dd){const _0x13b8fb=_0x2cfc65,{unitId:_0x4744ca,subUnitId:_0x54d2c5,pivotTableId:_0x23fd78,pivotTableConfig:_0x4f03c9,collectionConfig:_0x18b66a}=_0x4de8dd,_0x49bc3b={'unitId':_0x4744ca,'subUnitId':_0x54d2c5,'oldSubUnitId':_0x54d2c5,'pivotTableId':_0x23fd78,'pivotTableConfig':_0x4f03c9,'collectionConfig':_0x18b66a};this['_commandService'][_0x13b8fb(0x306)](co['id'],_0x49bc3b,{'onlyLocal':!0x0});}[_0x2cfc65(0x1b0)](_0x44989c,_0x15ae2b,_0x114dcb,_0x3ddfdd,_0x34ad12,_0x4db9c4,_0x386ab2,_0x46afee=!0x1){const _0x3a79fb=_0x2cfc65;var _0x501dcc;this[_0x3a79fb(0x1a6)]['executeCommand'](Dt['id'],{'single':{'unitId':_0x44989c,'subUnitId':_0x15ae2b,'type':_0x114dcb,'pivotTableId':_0x3ddfdd,'view':_0x34ad12,'pivotConfig':_0x4db9c4},'collectionConfig':{[_0x44989c]:_0x386ab2}},{'onlyLocal':!0x0});const _0x4c0f19=!!((_0x501dcc=this[_0x3a79fb(0x2bc)](_0x3ddfdd))!=null&&_0x501dcc[_0x3a79fb(0x313)]()),_0xc6b54d=this['getPivotTableConfig'](_0x44989c,_0x15ae2b,_0x3ddfdd);_0xc6b54d&&this[_0x3a79fb(0x192)]({'view':_0x34ad12,'pivotTableId':_0x3ddfdd,'textInfo':this[_0x3a79fb(0x111)](),'isEmpty':_0x4c0f19,'targetCellInfo':_0xc6b54d['targetCellInfo']},_0x46afee);}[_0x2cfc65(0x192)](_0x4f3a20,_0x1e061c){const _0x3c961a=_0x2cfc65,{targetCellInfo:_0xef3e0b,pivotTableId:_0x397c9d}=_0x4f3a20,{unitId:_0x4df809,subUnitId:_0xa841d2}=_0xef3e0b,_0x3dbf34=this['_ensureViewDataMap'](_0x4df809,_0xa841d2),_0x3b69f9=_0x3dbf34[_0x3c961a(0x13e)](_0x397c9d);let _0x258b9d,_0x5f3255;_0x3b69f9&&(_0x258b9d=_0x3b69f9[_0x3c961a(0x338)],_0x5f3255=_0x3b69f9[_0x3c961a(0x2b9)]);const {rangesCache:_0x23f696,matrix:_0x147ba7}=Vi(_0x4f3a20);_0x3dbf34['set'](_0x397c9d,{'rangeCache':_0x23f696,'matrix':_0x147ba7,'oldMatrix':_0x5f3255,'oldRangeCache':_0x258b9d}),_0x1e061c||this[_0x3c961a(0x309)]['next']({'unitId':_0x4df809,'subUnitId':_0xa841d2,'pivotTableId':_0x397c9d});}[_0x2cfc65(0x20c)](_0x213f0d,_0x2b254f,_0x350a21,_0x246657,_0x553d20){const _0x58c961=_0x2cfc65;this[_0x58c961(0x28a)](_0x213f0d,_0x2b254f,_0x350a21,_0x553d20),this[_0x58c961(0x344)](_0x350a21,_0x246657);}[_0x2cfc65(0x343)](_0x36514f,_0x650b0a,_0x31bbb8){const _0x123619=_0x2cfc65,_0x52393c=this['getDataFieldManager'](_0x36514f);_0x52393c[_0x123619(0x1ce)](_0x31bbb8)['forEach'](_0x5c6ff9=>{_0x52393c['deleteDataField'](_0x5c6ff9);}),this[_0x123619(0x26c)](_0x36514f,_0x31bbb8),this[_0x123619(0x19a)](_0x36514f,_0x650b0a,_0x31bbb8),this[_0x123619(0x2cb)](_0x31bbb8);}[_0x2cfc65(0x240)](_0x5f553b,_0x132efc,_0xfd6238,_0x33be4c){const _0x12f458=_0x2cfc65;this[_0x12f458(0x28a)](_0x5f553b,_0x132efc,_0xfd6238,_0x33be4c);}['getPivotTableConfig'](_0x450835,_0x78c77b,_0x51516a){const _0x5bafd1=_0x2cfc65;var _0xac86eb,_0x2bc04f;const _0x29ea60=(_0x2bc04f=(_0xac86eb=this[_0x5bafd1(0x1f8)][_0x5bafd1(0x13e)](_0x450835))==null?void 0x0:_0xac86eb['get'](_0x78c77b))==null?void 0x0:_0x2bc04f[_0x5bafd1(0x13e)](_0x51516a);if(_0x29ea60)return _0x29ea60;}[_0x2cfc65(0x206)](_0x2c24bd,_0x2cfdea,_0xe5ca47){const _0x3eae70=_0x2cfc65;var _0x3f3532,_0x232122;const _0x3f7008=(_0x232122=(_0x3f3532=this[_0x3eae70(0x1f8)][_0x3eae70(0x13e)](_0x2c24bd))==null?void 0x0:_0x3f3532[_0x3eae70(0x13e)](_0x2cfdea))==null?void 0x0:_0x232122[_0x3eae70(0x13e)](_0xe5ca47);if(_0x3f7008)return _0x3f7008[_0x3eae70(0x356)];}[_0x2cfc65(0x2bc)](_0x59062a){const _0x2c1e38=_0x2cfc65;return this[_0x2c1e38(0x1ef)]['get'](_0x59062a);}[_0x2cfc65(0x163)](_0x1ef669){const _0x377e06=_0x2cfc65;this['_model']['delete'](_0x1ef669);const _0x25565d=this[_0x377e06(0x24d)][_0x377e06(0x13e)](_0x1ef669);_0x25565d&&(_0x25565d[_0x377e06(0x208)](),this[_0x377e06(0x24d)]['delete'](_0x1ef669)),this[_0x377e06(0x359)]['delete'](_0x1ef669),this[_0x377e06(0x30d)][_0x377e06(0x112)](_0x37d923=>{_0x37d923['deleteUnitId'](_0x1ef669);});}[_0x2cfc65(0x121)](_0x49c36d,_0x15866b,_0x15d087,_0x47ef25){const _0x42b226=_0x2cfc65;return this[_0x42b226(0x212)](_0x15d087[_0x42b226(0x130)])[_0x42b226(0x121)](_0x49c36d,_0x15866b,_0x15d087,_0x47ef25);}[_0x2cfc65(0x225)](_0x4e790b){const _0x12aa4e=_0x2cfc65;return this['getDataFieldManager'](_0x4e790b[_0x12aa4e(0x130)])[_0x12aa4e(0x225)](_0x4e790b);}[_0x2cfc65(0x180)](_0xe148ed,_0x7f987a,_0x5dc6f1){const _0x175f93=_0x2cfc65;this[_0x175f93(0x212)](_0x5dc6f1[_0x175f93(0x130)])[_0x175f93(0x180)](_0xe148ed,_0x7f987a,_0x5dc6f1);}[_0x2cfc65(0x2ef)](_0x5811d4,_0x2151c5){const _0x4e51e3=_0x2cfc65;this[_0x4e51e3(0x212)](_0x5811d4)[_0x4e51e3(0x118)](_0x2151c5);}[_0x2cfc65(0x26c)](_0x42e314,_0x406832){const _0x5833d2=_0x2cfc65;this[_0x5833d2(0x212)](_0x42e314)[_0x5833d2(0x30f)](_0x406832);}[_0x2cfc65(0x34d)](_0x1c318f,_0x568045){const _0x456b76=_0x2cfc65;var _0x44f204;return(_0x44f204=this[_0x456b76(0x1f8)][_0x456b76(0x13e)](_0x1c318f))==null?void 0x0:_0x44f204[_0x456b76(0x13e)](_0x568045);}[_0x2cfc65(0x1c1)](_0x233a1c){const _0x45991e=_0x2cfc65;for(const [_0x252095,_0x10b1b8]of this['_model'][_0x45991e(0x2f2)]())for(const [_0x524305,_0x3c736d]of _0x10b1b8[_0x45991e(0x2f2)]())if(_0x3c736d[_0x45991e(0x19c)](_0x233a1c))return{'unitId':_0x252095,'subUnitId':_0x524305};return null;}[_0x2cfc65(0x357)](_0x428bc8,_0x4909ef,_0x459395,_0x15b92a){const _0x205329=_0x2cfc65,_0x2b660d=this[_0x205329(0x269)](_0x428bc8,_0x4909ef);_0x15b92a?_0x2b660d['set'](_0x459395,_0x15b92a):_0x2b660d[_0x205329(0x173)](_0x459395),this['_viewData$']['next']({'unitId':_0x428bc8,'subUnitId':_0x4909ef,'pivotTableId':_0x459395});}['dispose'](){super['dispose']();}[_0x2cfc65(0x2d5)](_0x250c04,_0x53faaa,_0x2507b9){const _0x232fba=_0x2cfc65;var _0x43d067,_0x24995d;const _0x2cd8c9=(_0x24995d=(_0x43d067=this[_0x232fba(0x359)]['get'](_0x250c04))==null?void 0x0:_0x43d067[_0x232fba(0x13e)](_0x53faaa))==null?void 0x0:_0x24995d['get'](_0x2507b9);return _0x2cd8c9||null;}[_0x2cfc65(0x1ba)](_0x539dcd){this['updateDirtyPivotTable'](_0x539dcd);}[_0x2cfc65(0x239)](_0x5bafe0){const _0x2d6d4e=_0x2cfc65,{token:_0x5aa5bf,unitId:_0x17ad17,subUnitId:_0x3228e6}=_0x5bafe0,_0xed4c09=_0x17ad17+'-'+_0x3228e6+'-'+_0x5aa5bf;this['_queryingMap']['get'](_0xed4c09)&&clearTimeout(this[_0x2d6d4e(0x220)][_0x2d6d4e(0x13e)](_0xed4c09));const _0x46a9c9=setTimeout(()=>{const _0x5812a4=_0x2d6d4e;this[_0x5812a4(0x145)](_0x5bafe0),this[_0x5812a4(0x220)][_0x5812a4(0x173)](_0xed4c09);},Pi);this[_0x2d6d4e(0x220)]['set'](_0xed4c09,_0x46a9c9);}[_0x2cfc65(0x145)](_0x473988){const _0x2e6c83=_0x2cfc65,{unitId:_0x4a5b17,subUnitId:_0x445173,token:_0x31f7d1,type:_0x2ccc23,pivotConfig:_0x27b0b3}=_0x473988,_0x67bedf=this[_0x2e6c83(0x2bc)](_0x31f7d1),_0x11d641=_0x67bedf==null?void 0x0:_0x67bedf[_0x2e6c83(0x2b1)](),_0x282c0c=_0x27b0b3!=null?_0x27b0b3:this[_0x2e6c83(0x21d)](_0x4a5b17,_0x445173,_0x31f7d1);_0x282c0c&&(_0x282c0c['isEmpty']=!!(_0x67bedf!=null&&_0x67bedf[_0x2e6c83(0x313)]())),(_0x11d641||_0x2ccc23===G[_0x2e6c83(0x132)])&&this[_0x2e6c83(0x1b0)](_0x4a5b17,_0x445173,_0x2ccc23,_0x31f7d1,_0x11d641,_0x282c0c,this[_0x2e6c83(0x212)](_0x4a5b17)[_0x2e6c83(0x2d6)]());}[_0x2cfc65(0x2d6)](_0xb85478){const _0x5a3edf=_0x2cfc65,_0x4c3fc2={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5a3edf(0x212)](_0xb85478)&&(_0x4c3fc2[_0x5a3edf(0x22b)][_0xb85478]=this[_0x5a3edf(0x212)](_0xb85478)[_0x5a3edf(0x2d6)]()),this[_0x5a3edf(0x1f8)]['get'](_0xb85478)){_0x4c3fc2['pivotTableConfigs'][_0xb85478]={};const _0xce7157=this[_0x5a3edf(0x1f8)][_0x5a3edf(0x13e)](_0xb85478);_0xce7157!=null&&_0xce7157[_0x5a3edf(0x1ed)]&&[..._0xce7157['keys']()][_0x5a3edf(0x112)](_0x429687=>{const _0x316fa4=_0x5a3edf,_0x467a5a=_0xce7157[_0x316fa4(0x13e)](_0x429687);_0x467a5a!=null&&_0x467a5a[_0x316fa4(0x1ed)]&&(_0x4c3fc2[_0x316fa4(0x1fe)][_0xb85478][_0x429687]={},[..._0x467a5a['keys']()]['forEach'](_0x47944b=>{const _0x12b106=_0x316fa4,_0x22d136=_0x467a5a[_0x12b106(0x13e)](_0x47944b);_0x22d136&&(_0x4c3fc2['pivotTableConfigs'][_0xb85478][_0x429687][_0x47944b]=_0x22d136);}));});}return _0x4c3fc2;}['fromJSON'](_0x40e53c){const _0x2f9d79=_0x2cfc65;var _0xd3d06;const {dataFieldManagerConfig:_0x7e1355,pivotTableConfigs:_0x391776}=_0x40e53c;_0x7e1355&&Object[_0x2f9d79(0x23b)](_0x7e1355)['forEach'](_0x19e4d7=>{this['getDataFieldManager'](_0x19e4d7)['fromJSON'](_0x7e1355[_0x19e4d7]);});const _0x27bd77=[];if(_0x391776){const _0x446045=(_0xd3d06=this[_0x2f9d79(0x13c)][_0x2f9d79(0x13e)](_0x931275)[_0x2f9d79(0x303)](_0x2b702e))!=null?_0xd3d06:{},{ls:_0x3fe25a,pbk:_0x43ccb1}=_0x446045,_0x133373=go(so,_0x3fe25a,_0x43ccb1)[_0x2f9d79(0x251)];Object[_0x2f9d79(0x23b)](_0x391776)[_0x2f9d79(0x112)](_0x1fdd3d=>{const _0x11f130=_0x2f9d79;let _0x4a497e=0x0;const _0x6c4b75=_0x391776[_0x1fdd3d];Object[_0x11f130(0x23b)](_0x6c4b75)[_0x11f130(0x112)](_0x4e3577=>{const _0xc4a05c=_0x11f130,_0x584f39=_0x6c4b75[_0x4e3577];Object[_0xc4a05c(0x23b)](_0x584f39)['forEach'](_0x1b2d29=>{const _0x1b1b7b=_0xc4a05c,_0x1dabc2=_0x584f39[_0x1b2d29];if(_0x1dabc2){if(_0x4a497e>=_0x133373)return;_0x4a497e++;const _0x35b44e=this[_0x1b1b7b(0x212)](_0x1fdd3d),_0x57121f=_0x35b44e[_0x1b1b7b(0x337)][_0x1b2d29],_0x70df3d=_0x57121f[_0x1b1b7b(0x2fb)]();let _0x41daca=0x0;const _0x56871e=[];for(const _0x3dddad of _0x70df3d){const _0x5b8f2d=_0x57121f[_0x1b1b7b(0x11c)](_0x3dddad);if(_0x228625(_0x5b8f2d)){const _0x264e18=_0x5b8f2d[_0x1b1b7b(0x1df)](),_0x469167=_0x57121f[_0x1b1b7b(0x11c)](_0x264e18);_0x469167&&_0x56871e[_0x1b1b7b(0x17f)]([_0x5b8f2d,_0x469167]);continue;}_0x35b44e[_0x1b1b7b(0x277)](_0x3dddad,_0x1dabc2[_0x1b1b7b(0x27f)],_0x41daca),_0x41daca++;}_0x56871e[_0x1b1b7b(0x112)](([_0x4eed2c,_0x2e0cfb])=>{const _0x527855=_0x1b1b7b;_0x4eed2c[_0x527855(0x249)](_0x2e0cfb);});const _0xd4666a=new _0xa87c2b(_0x57121f);_0xd4666a[_0x1b1b7b(0x2db)](_0x1dabc2['fieldsConfig']),this[_0x1b1b7b(0x20c)](_0x1fdd3d,_0x4e3577,_0x1b2d29,_0xd4666a,_0x1dabc2);const _0x318a74=_0xd4666a[_0x1b1b7b(0x2b1)]();_0x27bd77['push']({'unitId':_0x1fdd3d,'subUnitId':_0x4e3577,'pivotTableId':_0x1b2d29,'view':_0x318a74['toJSON'](),'pivotConfig':_0x1dabc2,'type':G[_0x1b1b7b(0x299)]});const _0xdd2652=!!_0xd4666a[_0x1b1b7b(0x313)](),_0x326342={'view':_0x318a74,'pivotTableId':_0x1b2d29,'textInfo':this[_0x1b1b7b(0x111)](),'isEmpty':_0xdd2652,'targetCellInfo':_0x1dabc2[_0x1b1b7b(0x216)]};this[_0x1b1b7b(0x192)](_0x326342,!0x1);}});});});}_0x7e1355&&Object[_0x2f9d79(0x23b)](_0x7e1355)[_0x2f9d79(0x112)](_0x2c9af4=>{const _0x4e4618=_0x2f9d79,_0x2316af=this[_0x4e4618(0x212)](_0x2c9af4);this[_0x4e4618(0x209)][_0x4e4618(0x2c4)](_0x2316af[_0x4e4618(0x337)]);}),this[_0x2f9d79(0x1a6)][_0x2f9d79(0x306)](Dt['id'],{'batch':_0x27bd77,'collectionConfig':_0x7e1355},{'onlyLocal':!0x0});}[_0x2cfc65(0x291)](){const _0x2a7ffe=_0x2cfc65;this[_0x2a7ffe(0x134)](this[_0x2a7ffe(0x384)]['registerPluginResource']({'toJson':_0x261363=>JSON[_0x2a7ffe(0x205)](this['toJSON'](_0x261363)),'parseJson':_0x2680c7=>{if(!_0x2680c7)return{};try{return JSON['parse'](_0x2680c7);}catch{return{};}},'businesses':[_0x407cd0['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x2090e8,_0x5231f0)=>{const _0x55b242=_0x2a7ffe;this[_0x55b242(0x2db)](_0x5231f0);},'onUnLoad':_0x1c1a44=>{const _0x6c16a=_0x2a7ffe;this[_0x6c16a(0x163)](_0x1c1a44);}}));}};$=Ei([nt(0x0,_0x4eaa26(_0x297017)),nt(0x1,_0x295672),nt(0x2,_0x4eaa26(_0x1781c9)),nt(0x3,_0x4c491b),nt(0x4,_0x4eaa26(_0x5937c1))],$);const xi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x2cfc65(0x379),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x2cfc65(0x282),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},kt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Ko=(_0x405a6a,_0xc68ec1)=>{const _0x3ecc14=_0x2cfc65,_0x7c2d1f=new _0x3d4b3d(),_0x1b82e=new _0x3d4b3d(xi),{row:_0x3ea2c9,col:_0x2f298f}=_0xc68ec1;_0x1b82e['forValue']((_0x4976da,_0x3832c5,_0x81d688)=>{const _0x1e6055=_0x2e44;let _0x18400d='';_0x81d688['v']==='filter'?_0x18400d=_0x405a6a[_0x1e6055(0x211)]:_0x81d688['v']==='row'?_0x18400d=_0x405a6a['row']:_0x81d688['v']===_0x1e6055(0x117)?_0x18400d=_0x405a6a[_0x1e6055(0x117)]:_0x81d688['v']==='values'&&(_0x18400d=_0x405a6a[_0x1e6055(0x282)]),_0x7c2d1f[_0x1e6055(0x2e3)](_0x4976da+_0x3ea2c9,_0x3832c5+_0x2f298f,{..._0x81d688,'v':_0x18400d});});const _0x4298d3=_0x414e34[_0x3ecc14(0x36c)](kt);return Object[_0x3ecc14(0x23b)](kt)[_0x3ecc14(0x112)](_0x3f2479=>{const _0x44996a=_0x3ecc14;_0x4298d3[_0x3f2479]=kt[_0x3f2479][_0x44996a(0x26e)](_0x26a58c=>({..._0x26a58c,'startRow':_0x26a58c['startRow']+_0x3ea2c9,'endRow':_0x26a58c['endRow']+_0x3ea2c9,'startColumn':_0x26a58c[_0x44996a(0x256)]+_0x2f298f,'endColumn':_0x26a58c[_0x44996a(0x354)]+_0x2f298f}));}),{'matrixCache':_0x7c2d1f,'rangesCache':_0x4298d3};};function Ai(_0x3d095f,_0x3b3ebe){const _0x58e7b4=_0x2cfc65;let _0xddeaff='';const _0x3ff624=this[_0x58e7b4(0x111)]();switch(_0x3b3ebe){case _0x383156[_0x58e7b4(0x37d)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x33c)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x251)]:_0xddeaff=_0x3ff624['sheets-pivot.countName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x369)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x230)]+_0x3d095f;break;case _0x383156['max']:_0xddeaff=_0x3ff624[_0x58e7b4(0x2eb)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x276)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x236)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x327)]:_0xddeaff=_0x3ff624['sheets-pivot.productName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1f9)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x18a)]+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1d4)]:_0xddeaff=_0x3ff624['sheets-pivot.stdDevpName']+_0x3d095f;break;case _0x383156['sum']:_0xddeaff=_0x3ff624['sheets-pivot.sumName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1f3)]:_0xddeaff=_0x3ff624['sheets-pivot.varName']+_0x3d095f;break;case _0x383156[_0x58e7b4(0x1fc)]:_0xddeaff=_0x3ff624[_0x58e7b4(0x174)]+_0x3d095f;break;default:_0xddeaff=_0x3d095f;break;}return _0xddeaff;}function Bi(_0x4835cd,_0x3131fe,_0xa2918c,_0x2fdfc3,_0x35e65f){const _0x26e81e=_0x2cfc65;var _0x303ac4,_0x1de631,_0x19535b,_0x32867b,_0x4af1a6;const _0x536c52=_0x1aea22(_0x4835cd,_0x3131fe),{rangesInfo:_0x307951,areaInfo:_0x2d5af2,headerMap:_0x564856}=_0x35e65f;if(!_0x307951||!_0x2d5af2||!_0x564856)return;const _0x4777ea=Object['keys'](_0x307951)[_0x26e81e(0x193)](_0x13632f=>_0x307951[_0x13632f][_0x26e81e(0x32c)](_0x377410=>_0x2492ba[_0x26e81e(0x33e)](_0x377410,_0x536c52))),_0x1532f2=_0x2d5af2;let _0x13857b,_0x586a0a,_0x2794ec;if(_0x4777ea===_0x26e81e(0x201))_0x13857b=(_0x303ac4=_0x1532f2==null?void 0x0:_0x1532f2['rowInfo'])==null?void 0x0:_0x303ac4[_0x4835cd],_0x586a0a=(_0x1de631=_0x564856==null?void 0x0:_0x564856[_0x26e81e(0x2c3)])==null?void 0x0:_0x1de631[_0x3131fe],_0x2794ec=_0x586a0a==null?void 0x0:_0x586a0a[_0x26e81e(0x297)];else{if(_0x4777ea==='colRanges')_0x13857b=(_0x19535b=_0x1532f2==null?void 0x0:_0x1532f2[_0x26e81e(0x227)])==null?void 0x0:_0x19535b[_0x3131fe],_0x586a0a=(_0x32867b=_0x564856['colHeaderMap'])==null?void 0x0:_0x32867b[_0x4835cd+0x1+_0x3131fe-_0x307951[_0x26e81e(0x1e6)][0x0][_0x26e81e(0x256)]],_0x2794ec=_0x586a0a==null?void 0x0:_0x586a0a['tableFieldId'];else{if(_0x4777ea===_0x26e81e(0x29a))_0x13857b=(_0x4af1a6=_0x1532f2==null?void 0x0:_0x1532f2[_0x26e81e(0x14d)])==null?void 0x0:_0x4af1a6[_0x3131fe],_0x2794ec=_0x13857b==null?void 0x0:_0x13857b[_0x26e81e(0x297)];else{if(_0x4777ea===_0x26e81e(0x1f4)){const _0x3eebfc=_0xa2918c==null?void 0x0:_0xa2918c['fi'];_0x3eebfc!==void 0x0&&(_0x2794ec=_0x2fdfc3[_0x26e81e(0x268)](_0x3eebfc));}}}}return{'filterId':_0x2794ec,'info':_0x13857b,'data':_0xa2918c,'headerInfo':_0x586a0a};}function Li(_0x325afc,_0x1673fb,_0x4b6de0){const _0x1b4978=_0x2cfc65,_0x5ee823=_0x325afc[_0x1b4978(0x116)],_0x55a725=_0x5ee823[_0x1b4978(0x2fb)](),_0x4a067b=new Set();_0x325afc[_0x1b4978(0x2ce)](_0x1c97e6=>{const _0xeca935=_0x1b4978;_0x4a067b['add'](_0x1c97e6[_0xeca935(0x38e)]);});const _0x10e620=_0x55a725[_0x1b4978(0x26e)](_0x1b0132=>{const _0x16a46c=_0x1b4978,_0x503986=_0x5ee823['getFieldById'](_0x1b0132);return{'checked':_0x4a067b['has'](_0x1b0132),'dataFieldId':_0x503986['id'],'id':_0x503986['id'],'name':_0x5ee823[_0x16a46c(0x2ab)](_0x503986['id']),'type':_0x503986[_0x16a46c(0x141)](),'pivotTableId':_0x1673fb};}),_0x19fc1a=[];_0x325afc[_0x1b4978(0x188)](_0xeefe5e['Row'],_0x11a9fb=>{const _0x3f752=_0x1b4978;_0x19fc1a[_0x3f752(0x17f)]({'dataFieldId':_0x11a9fb['dataFieldId'],'tableFieldId':_0x11a9fb[_0x3f752(0x159)](),'displayName':_0x11a9fb[_0x3f752(0x2ab)]()});});const _0x3f2834=[];_0x325afc['iterateFieldByArea'](_0xeefe5e[_0x1b4978(0x19b)],_0x356c45=>{const _0x525de7=_0x1b4978;_0x3f2834[_0x525de7(0x17f)]({'dataFieldId':_0x356c45[_0x525de7(0x38e)],'tableFieldId':_0x356c45['getId'](),'displayName':_0x356c45[_0x525de7(0x2ab)]()});});const _0x550118=[];if(_0x325afc[_0x1b4978(0x188)](_0xeefe5e['Value'],_0x10fc09=>{const _0x4be165=_0x1b4978;_0x550118['push']({'dataFieldId':_0x10fc09['dataFieldId'],'tableFieldId':_0x10fc09[_0x4be165(0x159)](),'displayName':_0x10fc09[_0x4be165(0x2ab)](),'format':_0x10fc09['getFormat'](),'subTotalType':_0x10fc09['getSubtotal']()});}),_0x550118[_0x1b4978(0x1fd)]>0x1){const _0x17de59=_0x325afc[_0x1b4978(0x294)]();(_0x325afc['isColMultiMeasure']()?_0x3f2834:_0x19fc1a)['splice'](_0x17de59,0x0,{'dataFieldId':'','tableFieldId':_0x1b4978(0x1e8),'displayName':_0x1b4978(0x160)});}const _0x2f12dc=[];_0x325afc[_0x1b4978(0x188)](_0xeefe5e['Filter'],_0x335869=>{const _0xe0c5da=_0x1b4978;_0x2f12dc[_0xe0c5da(0x17f)]({'dataFieldId':_0x335869[_0xe0c5da(0x38e)],'tableFieldId':_0x335869[_0xe0c5da(0x159)](),'displayName':_0x335869[_0xe0c5da(0x2ab)]()});});const _0x534cc8=_0x4b6de0[_0x1b4978(0x27f)];return{'sourceList':_0x10e620,'sourceRange':_0x534cc8,'rowFields':_0x19fc1a,'columnFields':_0x3f2834,'valueFields':_0x550118,'filterFields':_0x2f12dc,'positionInfo':_0x4b6de0[_0x1b4978(0x216)]};}function fo(_0x2f7b34,_0x59e567,_0x467201='',_0x56ebfc={}){const _0x5dc7e3=_0x2cfc65,_0x3f7458=_0x2f7b34['get'](_0x2a61e0);for(const _0x520490 in _0x59e567)if(Object[_0x5dc7e3(0x1e3)][_0x5dc7e3(0x1e4)][_0x5dc7e3(0x154)](_0x59e567,_0x520490)){const _0x310c88=_0x467201?_0x467201+'.'+_0x520490:_0x520490;typeof _0x59e567[_0x520490]==_0x5dc7e3(0x17c)&&_0x59e567[_0x520490]!==null&&!Array[_0x5dc7e3(0x15e)](_0x59e567[_0x520490])?fo(_0x2f7b34,_0x59e567[_0x520490],_0x310c88,_0x56ebfc):_0x56ebfc[_0x310c88]=_0x3f7458['t'](_0x310c88);}return _0x56ebfc;}const Gt=_0x3bc64d=>{const _0x2a9c36=_0x2cfc65;if(!_0x3bc64d)return[];const {rowRanges:_0x1342ab,colRanges:_0x25b824,cornerRanges:_0x366e33,dataRanges:_0x5c4285,pageRanges:_0x1d595d}=_0x3bc64d,_0x60c52=[..._0x25b824,..._0x1342ab,..._0x5c4285,..._0x366e33][_0x2a9c36(0x211)](_0x23079b=>_0x23079b[_0x2a9c36(0x21c)]>=0x0&&_0x23079b['startColumn']>=0x0&&_0x23079b[_0x2a9c36(0x389)]>=0x0&&_0x23079b[_0x2a9c36(0x354)]>=0x0);let _0x3d4018=Number[_0x2a9c36(0x2d4)],_0x404938=Number['MIN_SAFE_INTEGER'],_0x228224=Number[_0x2a9c36(0x2d4)],_0x1ccad5=Number[_0x2a9c36(0x2fc)];for(let _0x42eab8=0x0;_0x42eab8<_0x60c52[_0x2a9c36(0x1fd)];_0x42eab8++)_0x3d4018=Math['min'](_0x3d4018,_0x60c52[_0x42eab8][_0x2a9c36(0x21c)]),_0x404938=Math['max'](_0x404938,_0x60c52[_0x42eab8]['endRow']),_0x228224=Math[_0x2a9c36(0x276)](_0x228224,_0x60c52[_0x42eab8][_0x2a9c36(0x256)]),_0x1ccad5=Math[_0x2a9c36(0x29c)](_0x1ccad5,_0x60c52[_0x42eab8][_0x2a9c36(0x354)]);return[..._0x1d595d,{'startRow':_0x3d4018,'endRow':_0x404938,'startColumn':_0x228224,'endColumn':_0x1ccad5}];};function ki(_0x4232ae,_0x5bbbc1){const _0x3be18b=_0x2cfc65,_0x5dc432=_0x5bbbc1[_0x3be18b(0x1c4)][_0x3be18b(0x2c2)],{pivotTableId:_0x319736,unitId:_0x3840d3,subUnitId:_0x4cf7b5}=_0x5bbbc1;if(!_0x5dc432)return;const _0x389f0a=_0x4232ae['get']($),_0x125a0c=_0x389f0a[_0x3be18b(0x2bc)](_0x319736),_0x4e6206=_0x389f0a[_0x3be18b(0x21d)](_0x3840d3,_0x4cf7b5,_0x319736);if(!_0x125a0c||!_0x4e6206)return;const _0x55b008=_0x125a0c['getIndexesByPathStr'](_0x5dc432[_0x3be18b(0x1f6)]);if(!(_0x55b008!=null&&_0x55b008['length']))return;const _0x2908da=_0x4e6206['sourceRangeInfo'],{unitId:_0x2de16a,subUnitId:_0x19e056,range:_0x3cb851}=_0x2908da;let _0x25e79a=0x0;const _0x158253=_0x125a0c[_0x3be18b(0x116)]['getFieldIds']()[_0x3be18b(0x245)]((_0x2903fc,_0x48b902)=>{const _0x59179e=_0x3be18b;var _0x27b1c3;const _0xb00920=(_0x27b1c3=_0x125a0c[_0x59179e(0x2a5)](_0x48b902))==null?void 0x0:_0x27b1c3[_0x59179e(0x37b)]();return _0xb00920&&(_0x2903fc[String(_0x25e79a)]=_0xb00920),_0x25e79a++,_0x2903fc;},{});return{'indexes':_0x55b008,'range':_0x3cb851,'sourceUnitId':_0x2de16a,'sourceSubUnitId':_0x19e056,'formatMap':_0x158253};}function Ho(_0x980954,_0x289d8e){const _0x4f3e7a=_0x2cfc65;if(!_0x980954||!_0x289d8e)return!0x0;const _0x15668b=_0x2228ab(jo,Wo),_0x11ffe6=new Function(_0x4f3e7a(0x18d)+_0x15668b)()(_0x980954,_0x289d8e)[_0x4f3e7a(0x1d5)],_0x59a9c7=_0x41ae26(_0x11ffe6,'sf',Lo);return!((_0x11ffe6==null?void 0x0:_0x11ffe6['rt'])===_0x533376[_0x4f3e7a(0x325)]&&!_0x59a9c7);}function go(_0x39b5e5,_0x3faee4,_0x38a9bd){const _0x535584=_0x2cfc65,_0x24a2d0={'count':_0x39b5e5,'timeValid':!0x1};if(!_0x3faee4||!_0x38a9bd)return _0x24a2d0;const _0x1e2bf9=_0x2228ab(jo,Wo),_0x4d8b6b=new Function(_0x535584(0x18d)+_0x1e2bf9)()(_0x3faee4,_0x38a9bd);if(_0x4d8b6b!=null&&_0x4d8b6b[_0x535584(0x355)]){const _0x5bf5f1=_0x4d8b6b[_0x535584(0x1d5)],_0x36922c=_0x41ae26(_0x5bf5f1,'sf',Lo);return{'count':_0x5da2ca(_0x5bf5f1,_0x36922c,_0x535584(0x2f1),_0x39b5e5,_0x39b5e5,0x0),'timeValid':_0x36922c};}return _0x24a2d0;}function qo(_0x2afb79,_0x29a08a,_0x5c4f8d,_0x159a05){const _0x19f4b5=_0x2cfc65,_0x188f37={'subUnitId':_0x5c4f8d,'unitId':_0x29a08a,'cellValue':_0x1aefa4(_0x159a05)},_0x30e483=_0x17451a(_0x2afb79,_0x188f37);let _0xbc7cf2=!0x1;return new _0x3d4b3d(_0x30e483[_0x19f4b5(0x124)])[_0x19f4b5(0x115)]((_0x4860a4,_0x30b5a4,_0x1ba9e0)=>{const _0x400985=_0x19f4b5;if(!_0xbc7cf2&&_0x1ba9e0&&(_0x1ba9e0[_0x400985(0x252)]||_0x1ba9e0['f']||_0x1ba9e0['p']||_0x1ba9e0['s']||_0x1ba9e0['si']||_0x1ba9e0['t']||_0x1ba9e0['v']))return _0xbc7cf2=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2f97a2['id'],'params':_0x30e483},'setRangeValueRedoMutation':{'id':_0x2f97a2['id'],'params':_0x188f37},'shouldClear':_0xbc7cf2};}function Gi(_0x348c46){const {row:_0xae4c4b,col:_0x3143fa}=_0x348c46,_0x36d620={'startRow':_0xae4c4b,'endRow':_0xae4c4b,'startColumn':_0x3143fa,'endColumn':_0x3143fa},_0x461bd9={'startRow':_0xae4c4b+0x2,'endRow':_0xae4c4b+0xe,'startColumn':_0x3143fa,'endColumn':_0x3143fa+0x6};return[_0x36d620,_0x461bd9];}function $i(_0x1aa04c,_0x3cfd8f,_0x322d7f){const _0x41295f=_0x2cfc65,{cornerView:_0x278d57,rowView:_0x1bdea9,colView:_0x56b043,pageView:_0x53a1ee}=_0x1aa04c,{row:_0x56f2ed,col:_0xff71ac}=_0x3cfd8f;if(_0x322d7f)return{'rowCount':bi+_0x56f2ed,'colCount':Si+_0xff71ac};const _0x396d06=_0x53a1ee[_0x41295f(0x1ad)]>-0x1?_0x53a1ee[_0x41295f(0x1ad)]+0x1:0x0,_0x31ce05=_0x53a1ee['lastCol']>-0x1?_0x53a1ee['lastCol']:0x0,_0x5aa29a=_0x56f2ed+_0x396d06+(_0x396d06?0x1:0x0)+_0x278d57['rowCount']+_0x1bdea9[_0x41295f(0x1b5)],_0x5a567e=_0xff71ac+_0x31ce05,_0x28b481=_0xff71ac+_0x278d57[_0x41295f(0x16a)]+_0x56b043[_0x41295f(0x16a)],_0x51882b=Math['max'](_0x5a567e,_0x28b481);return{'rowCount':_0x5aa29a,'colCount':_0x51882b};}function we(_0x8f9354,_0x321419,_0x1e2cdb,_0x5472e8){const _0x10a5b7=_0x2cfc65,{row:_0x1d0269,col:_0x3c6e42,unitId:_0x21e374,subUnitId:_0x55e9db}=_0x1e2cdb,_0x58efd3=$i(_0x321419,{'row':_0x1d0269,'col':_0x3c6e42},_0x5472e8),_0x4ca0f1=_0x8f9354[_0x10a5b7(0x13e)](_0x295672),_0x3cf768=_0x5d0da0(_0x4ca0f1,{'unitId':_0x21e374,'subUnitId':_0x55e9db}),_0x40df23=[],_0x2a5767=[];if(!_0x3cf768)return{'undos':_0x2a5767,'redos':_0x40df23};const {worksheet:_0x1d6573}=_0x3cf768,_0x285072=_0x1d6573[_0x10a5b7(0x10e)](),_0x4e001f=_0x1d6573['getColumnCount']();return _0x285072<_0x58efd3[_0x10a5b7(0x1b5)]&&(_0x40df23[_0x10a5b7(0x17f)]({'id':_0x432841['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':_0x285072,'endRow':_0x58efd3[_0x10a5b7(0x1b5)]-0x1,'startColumn':0x0,'endColumn':_0x4e001f-0x1}}}),_0x2a5767['push']({'id':_0x489192['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':_0x285072,'endRow':_0x58efd3[_0x10a5b7(0x1b5)]-0x1,'startColumn':0x0,'endColumn':_0x4e001f-0x1}}})),_0x4e001f<_0x58efd3[_0x10a5b7(0x16a)]&&(_0x40df23['push']({'id':_0x541d31['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':0x0,'endRow':_0x285072-0x1,'startColumn':_0x4e001f,'endColumn':_0x58efd3['colCount']-0x1}}}),_0x2a5767['push']({'id':_0x121316['id'],'params':{'unitId':_0x21e374,'subUnitId':_0x55e9db,'range':{'startRow':0x0,'endRow':_0x285072-0x1,'startColumn':_0x4e001f,'endColumn':_0x58efd3[_0x10a5b7(0x16a)]-0x1}}})),{'undos':_0x2a5767,'redos':_0x40df23};}function Ji(_0x3989ff){const _0x509ea8=_0x2cfc65;let _0x4e6d32=0x0;for(let _0x3fba5e=0x0;_0x3fba5e<_0x3989ff['length'];_0x3fba5e++){const _0x5c21ca=_0x3989ff[_0x509ea8(0x2a1)](_0x3fba5e);_0x5c21ca>=0x4e00&&_0x5c21ca<=0x9fff||_0x5c21ca>=0x3000&&_0x5c21ca<=0x303f||_0x5c21ca>=0xff00&&_0x5c21ca<=0xffef?_0x4e6d32+=0x2:_0x4e6d32+=0x1;}return _0x4e6d32;}function yo(_0x4e35bf,_0x5cd3be,_0xa0ccca,_0x1f6654){const _0x5407c7=_0x2cfc65;var _0x3f627e,_0x26a67f,_0x46225b,_0x1a919c;const {rowCount:_0x331372,colCount:_0x43de8c,headerMap:_0x397bbe}=_0x4e35bf,_0x48b3bf=0x64,_0x428202=Math[_0x5407c7(0x276)](_0x331372,_0x48b3bf),_0x799c47=Math['min'](_0x43de8c,_0x48b3bf);let _0x6ab8ac='',_0x1fcd05=0x0;for(let _0x4c6dd5=0x0;_0x4c6dd5<_0x428202;_0x4c6dd5++)for(let _0x424272=0x0;_0x424272<_0x799c47;_0x424272++){const _0x57daea={...(_0x26a67f=(_0x3f627e=_0x4e35bf[_0x5407c7(0x186)])==null?void 0x0:_0x3f627e[_0x4c6dd5])==null?void 0x0:_0x26a67f[_0x424272]},_0x361790=(_0x46225b=_0x397bbe[_0x4c6dd5])==null?void 0x0:_0x46225b[_0x5407c7(0x297)],_0xf8a59b=_0x1f6654[_0x361790];let _0x3194ff=_0x4e35bf['getValue'](_0x4c6dd5,_0x424272);if(_0x57daea){const _0x1b25d6=_0xa0ccca?_0x424272===0x0&&((_0x1a919c=_0x4e35bf[_0x5407c7(0x21f)](_0x424272+0x1))==null?void 0x0:_0x1a919c['isValue']):!0x1;_0x3194ff=vt(_0x57daea,_0x1b25d6,_0xf8a59b,_0x5cd3be);}if(_0x3194ff!==void 0x0){const _0x5e87a9=Ji(String(_0x3194ff));_0x1fcd05<_0x5e87a9&&(_0x6ab8ac=String(_0x3194ff),_0x1fcd05=_0x5e87a9);}}return _0x6ab8ac;}function Wi(_0x5d6d77){const {rowCount:_0x135b4a,colCount:_0x5e6dec}=_0x5d6d77;let _0x5bf284='',_0x1ee5fd=0x0;for(let _0xb5614a=_0x135b4a-0x1;_0xb5614a>0x0&&_0xb5614a>_0x135b4a-0x3;_0xb5614a--)for(let _0x1b4386=0x0;_0x1b4386<_0x5e6dec;_0x1b4386++){const _0x3c9fdd=_0x5d6d77['getValue'](_0xb5614a,_0x1b4386);if(_0x3c9fdd!==void 0x0){const _0x48407d=String(_0x3c9fdd)['length'];_0x1ee5fd<_0x48407d&&(_0x5bf284=String(_0x3c9fdd),_0x1ee5fd=_0x48407d);}}return _0x5bf284;}function ji(_0x4e4c7b){const _0x4fa787=_0x2cfc65,{rowCount:_0xfcf7cd,colCount:_0x5d0fdb}=_0x4e4c7b;let _0x3ef15f='',_0x3f950d=0x0;for(let _0x4dcf58=0x0;_0x4dcf58<_0xfcf7cd;_0x4dcf58++)for(let _0x41035b=0x0;_0x41035b<_0x5d0fdb;_0x41035b++){const _0x146b23=_0x4e4c7b['getValue'](_0x4dcf58,_0x41035b);if(_0x146b23!==void 0x0){const _0x397e1b=String(_0x146b23)[_0x4fa787(0x1fd)];_0x3f950d<_0x397e1b&&(_0x3ef15f=String(_0x146b23),_0x3f950d=_0x397e1b);}}return _0x3ef15f;}function Ki(_0x474ee3,_0x487c0d){const _0x354cae=_0x2cfc65,{rowFields:_0x39c14a,columnFields:_0x4fb42a,valueFields:_0x108e6b,filterFields:_0x431fae,dimension:_0x5ddf07,measure:_0x32dd07}=_0x487c0d;for(const _0x32454d of _0x39c14a){const _0x32c5b9=_0x5ddf07[_0x32454d];_0x32c5b9&&_0x474ee3[_0x354cae(0x2a5)](_0x32c5b9[_0x354cae(0x38e)])&&(_0x474ee3['addFieldWithSourceId'](_0x32c5b9[_0x354cae(0x38e)],_0xeefe5e[_0x354cae(0x2bf)],void 0x0,_0x32454d),_0x32c5b9[_0x354cae(0x1a3)]&&_0x474ee3[_0x354cae(0x38a)](_0x32c5b9['id'],_0x32c5b9[_0x354cae(0x1a3)]),_0x32c5b9[_0x354cae(0x195)]&&_0x474ee3['setSortInfo'](_0x32c5b9['id'],_0x32c5b9['sortInfo']),_0x32c5b9[_0x354cae(0x12d)]&&_0x474ee3[_0x354cae(0x26a)](_0x32c5b9['id'],_0x32c5b9['filterInfo']));}for(const _0x40f156 of _0x4fb42a){const _0x386615=_0x5ddf07[_0x40f156];_0x386615&&_0x474ee3[_0x354cae(0x2a5)](_0x386615[_0x354cae(0x38e)])&&(_0x474ee3[_0x354cae(0x2f8)](_0x386615[_0x354cae(0x38e)],_0xeefe5e['Column'],void 0x0,_0x40f156),_0x386615[_0x354cae(0x195)]&&_0x474ee3[_0x354cae(0x17b)](_0x386615['id'],_0x386615[_0x354cae(0x195)]),_0x386615['filterInfo']&&_0x474ee3[_0x354cae(0x26a)](_0x386615['id'],_0x386615[_0x354cae(0x12d)]),_0x386615[_0x354cae(0x1a3)]&&_0x474ee3[_0x354cae(0x38a)](_0x386615['id'],_0x386615[_0x354cae(0x1a3)]));}for(const _0x2ed79f of _0x431fae){const _0x538c3c=_0x5ddf07[_0x2ed79f];_0x538c3c&&_0x474ee3[_0x354cae(0x2a5)](_0x538c3c[_0x354cae(0x38e)])&&(_0x474ee3[_0x354cae(0x2f8)](_0x538c3c[_0x354cae(0x38e)],_0xeefe5e['Filter'],void 0x0,_0x2ed79f),_0x538c3c['sortInfo']&&_0x474ee3[_0x354cae(0x17b)](_0x538c3c['id'],_0x538c3c[_0x354cae(0x195)]),_0x538c3c[_0x354cae(0x12d)]&&_0x474ee3[_0x354cae(0x26a)](_0x538c3c['id'],_0x538c3c['filterInfo']),_0x538c3c['displayName']&&_0x474ee3[_0x354cae(0x38a)](_0x538c3c['id'],_0x538c3c[_0x354cae(0x1a3)]));}for(const _0x2e21df of _0x108e6b){const _0x2c1b71=_0x32dd07[_0x2e21df];_0x2c1b71&&_0x474ee3[_0x354cae(0x2a5)](_0x2c1b71[_0x354cae(0x38e)])&&(_0x474ee3[_0x354cae(0x2f8)](_0x2c1b71[_0x354cae(0x38e)],_0xeefe5e[_0x354cae(0x346)],void 0x0,_0x2e21df),_0x2c1b71[_0x354cae(0x14a)]!==void 0x0&&_0x474ee3[_0x354cae(0x157)](_0x2e21df,_0x2c1b71[_0x354cae(0x14a)]),_0x2c1b71['format']&&_0x474ee3[_0x354cae(0x1f0)](_0x2e21df,_0x2c1b71[_0x354cae(0x14c)]),_0x2c1b71[_0x354cae(0x1a3)]&&_0x474ee3['renameField'](_0x2c1b71['id'],_0x2c1b71['displayName']));}const _0x3e6f56=_0x487c0d['valueFilter'];for(const {fieldId:_0x486ab7,filterInfo:_0x3cc140}of _0x3e6f56)_0x474ee3['setValueFilterInfo'](_0x486ab7,_0x3cc140);}function Hi(_0x33b4d6,_0x3f9b75){const _0x5376b2=_0x2cfc65,_0x2a0b87=[];_0x3f9b75===_0xeefe5e[_0x5376b2(0x2bf)]&&_0x33b4d6['iterateFieldByArea'](_0xeefe5e[_0x5376b2(0x2bf)],_0x5e868c=>{const _0x3e23b3=_0x5376b2;_0x2a0b87[_0x3e23b3(0x17f)](_0x5e868c[_0x3e23b3(0x159)]());}),_0x3f9b75===_0xeefe5e[_0x5376b2(0x19b)]&&_0x33b4d6[_0x5376b2(0x188)](_0xeefe5e[_0x5376b2(0x19b)],_0x5dec6f=>{const _0x5934c1=_0x5376b2;_0x2a0b87[_0x5934c1(0x17f)](_0x5dec6f[_0x5934c1(0x159)]());}),_0x3f9b75===_0xeefe5e[_0x5376b2(0x38d)]&&_0x33b4d6[_0x5376b2(0x188)](_0xeefe5e['Filter'],_0x36fd4e=>{const _0x21ad21=_0x5376b2;_0x2a0b87[_0x21ad21(0x17f)](_0x36fd4e[_0x21ad21(0x159)]());}),_0x3f9b75===_0xeefe5e[_0x5376b2(0x346)]&&_0x33b4d6['iterateFieldByArea'](_0xeefe5e[_0x5376b2(0x346)],_0x35d3ba=>{const _0x1dc488=_0x5376b2;_0x2a0b87[_0x1dc488(0x17f)](_0x35d3ba[_0x1dc488(0x159)]());}),_0x3f9b75===void 0x0&&_0x33b4d6['iterateField'](_0x186c75=>{const _0x46954c=_0x5376b2;_0x2a0b87[_0x46954c(0x17f)](_0x186c75[_0x46954c(0x159)]());});const _0x5226e3=_0x2a0b87[_0x5376b2(0x1fd)];for(let _0x5a1cf6=_0x5226e3-0x1;_0x5a1cf6>=0x0;_0x5a1cf6--)_0x33b4d6[_0x5376b2(0x2ed)](_0x2a0b87[_0x5a1cf6]);const _0x4dfed0=_0x33b4d6[_0x5376b2(0x34c)]();for(const _0x574ecb in _0x4dfed0)_0x33b4d6[_0x5376b2(0x293)](_0x574ecb);}function qi(_0x463d5b,_0x42b372){const _0x4bc94e=_0x2cfc65,_0x6f1be7=new Date(_0x181a06(_0x42b372)),_0x138021=new Date(_0x181a06(_0x463d5b)),_0x5d916f=_0x6f1be7[_0x4bc94e(0x1b7)](),_0x30b0ba=_0x138021[_0x4bc94e(0x1b7)](),_0x750703=_0x6f1be7[_0x4bc94e(0x142)](),_0x2a4de6=_0x138021[_0x4bc94e(0x142)](),_0x10a725=_0x6f1be7['getDate'](),_0x642399=_0x138021['getDate'](),_0x33e43a=_0x5d916f===_0x30b0ba,_0x3f7a93=_0x33e43a&&_0x750703===_0x2a4de6;return _0x33e43a&&_0x3f7a93&&!(_0x3f7a93&&_0x10a725===_0x642399)?_0x43d554['YearMonthDate']:_0x33e43a&&!_0x3f7a93?_0x43d554['YearMonth']:_0x43d554[_0x4bc94e(0x2ca)];}function Qo(_0x2286be,_0x348a71){const _0x4ea1af=_0x2cfc65,_0x7d28ec=_0x2286be[_0x4ea1af(0x13e)]($)[_0x4ea1af(0x111)]();let _0x5e71ae='';switch(_0x348a71){case _0x43d554[_0x4ea1af(0x1a4)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x151)];break;case _0x43d554['YearMonth']:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x34a)];break;case _0x43d554[_0x4ea1af(0x2ca)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.year'];break;case _0x43d554[_0x4ea1af(0x2d1)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x36b)];break;case _0x43d554[_0x4ea1af(0x1dd)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.quarter'];break;case _0x43d554[_0x4ea1af(0x332)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x27d)];break;case _0x43d554[_0x4ea1af(0x24c)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.hourMinute'];break;case _0x43d554[_0x4ea1af(0x2b7)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x1d7)];break;case _0x43d554['Minute']:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.minute'];break;case _0x43d554[_0x4ea1af(0x17a)]:_0x5e71ae=_0x7d28ec['sheets-pivot.dateGroup.monthDate'];break;case _0x43d554[_0x4ea1af(0x238)]:_0x5e71ae=_0x7d28ec[_0x4ea1af(0x2aa)];break;default:_0x5e71ae='';break;}return _0x5e71ae;}const Yo='sheets-pivot.config',Mo={};var Qi=Object['getOwnPropertyDescriptor'],Yi=(_0x6996a6,_0x4cd54d,_0x3e2a08,_0x4292f3)=>{for(var _0x4e04c3=_0x4292f3>0x1?void 0x0:_0x4292f3?Qi(_0x4cd54d,_0x3e2a08):_0x4cd54d,_0x4199cf=_0x6996a6['length']-0x1,_0x508b30;_0x4199cf>=0x0;_0x4199cf--)(_0x508b30=_0x6996a6[_0x4199cf])&&(_0x4e04c3=_0x508b30(_0x4e04c3)||_0x4e04c3);return _0x4e04c3;},it=(_0x13b7aa,_0x424a87)=>(_0x46a5b9,_0x1f82e2)=>_0x424a87(_0x46a5b9,_0x1f82e2,_0x13b7aa);let ve=class extends _0x9a7a73{constructor(_0x88b6e0,_0x3246da,_0x349c84,_0x164fb6,_0x21863a){const _0x463599=_0x2cfc65;super(),U(this,_0x463599(0x1f8),new Map()),U(this,_0x463599(0x13b),new Map()),U(this,_0x463599(0x1fb),new Map()),U(this,_0x463599(0x34e),new Map()),U(this,_0x463599(0x128),new _0x307900()),U(this,_0x463599(0x204),new _0x307900()),U(this,_0x463599(0x342),this['_pivotInitCompleted$'][_0x463599(0x244)]()),U(this,_0x463599(0x1d9),new _0x307900()),U(this,'pivotConfigChange$',this['_pivotConfigChange$']['asObservable']()),U(this,_0x463599(0x213),{}),U(this,'configVersion$',this['_configVersion$'][_0x463599(0x244)]()),(this['_injector']=_0x88b6e0,this[_0x463599(0x1a6)]=_0x3246da,this[_0x463599(0x231)]=_0x349c84,this[_0x463599(0x384)]=_0x164fb6,this[_0x463599(0x20d)]=_0x21863a,this[_0x463599(0x2ec)](),this[_0x463599(0x131)]());const _0x3ec2c3=this[_0x463599(0x20d)]['getConfig'](Yo);(_0x3ec2c3==null?void 0x0:_0x3ec2c3[_0x463599(0x275)])===!0x0&&this[_0x463599(0x291)]();}[_0x2cfc65(0x131)](){const _0x470be9=_0x2cfc65;this[_0x470be9(0x134)](this[_0x470be9(0x231)][_0x470be9(0x166)](_0x407cd0[_0x470be9(0x281)])[_0x470be9(0x1c3)](_0x3db80c=>{const _0x2f0f0e=_0x470be9;this[_0x2f0f0e(0x163)](_0x3db80c['getUnitId']());}));}[_0x2cfc65(0x2f0)](){const _0x1d53ec=_0x2cfc65;this[_0x1d53ec(0x204)][_0x1d53ec(0x2c4)](!0x0);}[_0x2cfc65(0x2ec)](){const _0xffd81b=_0x2cfc65,_0x420118=fo(this[_0xffd81b(0x13c)],Go,'',{});this[_0xffd81b(0x213)]=_0x420118,this[_0xffd81b(0x1a6)][_0xffd81b(0x306)](uo['id'],{'textInfo':_0x420118},{'onlyLocal':!0x0});}['getTextInfo'](){return this['_textInfo'];}[_0x2cfc65(0x336)](_0x4f6a05,_0x57785c,_0xb2fd9b,_0x1a68dd,_0x333e33){const _0x32af4d=_0x2cfc65;this[_0x32af4d(0x33a)](_0x4f6a05,_0x57785c,_0xb2fd9b,_0x1a68dd),this[_0x32af4d(0x2af)](_0x4f6a05,_0x57785c,_0xb2fd9b,_0x333e33);}[_0x2cfc65(0x21d)](_0x5301bb,_0x22f7ac,_0x28d713){const _0x40b6cc=_0x2cfc65;var _0x1c78b3;const _0x2c7240=(_0x1c78b3=this[_0x40b6cc(0x1f8)]['get'](_0x5301bb))==null?void 0x0:_0x1c78b3['get'](_0x22f7ac);if(_0x2c7240)return _0x2c7240[_0x40b6cc(0x13e)](_0x28d713);}[_0x2cfc65(0x310)](_0x1b3c2e,_0x5988d9){const _0x4d0816=_0x2cfc65,_0x6e56b2=this[_0x4d0816(0x1f8)]['get'](_0x1b3c2e);if(_0x6e56b2){for(const [_0x345c6b,_0x322fea]of _0x6e56b2[_0x4d0816(0x2f2)]())for(const [_0x1f84b6,_0x2b38ed]of _0x322fea['entries']())if(_0x1f84b6===_0x5988d9)return _0x2b38ed[_0x4d0816(0x216)];}}[_0x2cfc65(0x1c1)](_0x452bee,_0x283644,_0x5a4706){const _0x3d04cc=_0x2cfc65,_0x22d9d9=this[_0x3d04cc(0x21d)](_0x452bee,_0x283644,_0x5a4706);return _0x22d9d9==null?void 0x0:_0x22d9d9['targetCellInfo'];}[_0x2cfc65(0x34d)](_0x2c640d,_0x4c228f){const _0x111c75=_0x2cfc65;var _0x49366e;return(_0x49366e=this[_0x111c75(0x1f8)][_0x111c75(0x13e)](_0x2c640d))==null?void 0x0:_0x49366e[_0x111c75(0x13e)](_0x4c228f);}['updateConfigCache'](_0x17fd33,_0x584f95,_0x3b9f6a,_0x95eab9){const _0x554681=_0x2cfc65,_0x5b4e4d=this[_0x554681(0x330)](_0x17fd33,_0x584f95);_0x95eab9?_0x5b4e4d[_0x554681(0x289)](_0x3b9f6a,_0x95eab9):_0x5b4e4d['delete'](_0x3b9f6a),this['_pivotConfigChange$'][_0x554681(0x2c4)]({'unitId':_0x17fd33,'subUnitId':_0x584f95,'pivotTableId':_0x3b9f6a,'pivotTableConfig':_0x95eab9});}[_0x2cfc65(0x161)](_0x501c75,_0x3e9f32){const _0x15d7b6=_0x2cfc65;var _0x519cf4;return(_0x519cf4=this[_0x15d7b6(0x13b)][_0x15d7b6(0x13e)](_0x501c75))==null?void 0x0:_0x519cf4['collections'][_0x3e9f32];}[_0x2cfc65(0x1e1)](_0x79e79d,_0x56ecc8){const _0x46258a=_0x2cfc65;this['_collectionConfigModel'][_0x46258a(0x289)](_0x79e79d,_0x56ecc8),this[_0x46258a(0x128)]['next'](Math['random']());}[_0x2cfc65(0x330)](_0x2afa41,_0x1f283b){const _0x24ea82=_0x2cfc65;let _0x466e54=this[_0x24ea82(0x1f8)][_0x24ea82(0x13e)](_0x2afa41);_0x466e54||(_0x466e54=new Map(),this['_model'][_0x24ea82(0x289)](_0x2afa41,_0x466e54));let _0x161cab=_0x466e54[_0x24ea82(0x13e)](_0x1f283b);return _0x161cab||(_0x161cab=new Map(),_0x466e54[_0x24ea82(0x289)](_0x1f283b,_0x161cab)),_0x161cab;}[_0x2cfc65(0x113)](_0x5a47c6,_0x136b4f){const _0xd1db8=_0x2cfc65;let _0x564fbe=this[_0xd1db8(0x1fb)][_0xd1db8(0x13e)](_0x5a47c6);_0x564fbe||(_0x564fbe=new Map(),this[_0xd1db8(0x1fb)]['set'](_0x5a47c6,_0x564fbe));let _0x143b74=_0x564fbe[_0xd1db8(0x13e)](_0x136b4f);return _0x143b74||(_0x143b74=new Map(),_0x564fbe['set'](_0x136b4f,_0x143b74)),_0x143b74;}[_0x2cfc65(0x1ac)](_0x4a84f6,_0x20e16e){const _0xb5b5e3=_0x2cfc65;let _0x4396a5=this[_0xb5b5e3(0x34e)][_0xb5b5e3(0x13e)](_0x4a84f6);_0x4396a5||(_0x4396a5=new Map(),this['_pivotTableMatrixInfo'][_0xb5b5e3(0x289)](_0x4a84f6,_0x4396a5));let _0x3d925d=_0x4396a5[_0xb5b5e3(0x13e)](_0x20e16e);return _0x3d925d||(_0x3d925d=new Map(),_0x4396a5['set'](_0x20e16e,_0x3d925d)),_0x3d925d;}[_0x2cfc65(0x2af)](_0x3d2d16,_0x4952d8,_0x57c1c7,_0x3a3d0b){const _0xd8a587=_0x2cfc65;var _0x53d465;const _0x2751dc=this[_0xd8a587(0x113)](_0x3d2d16,_0x4952d8),_0x311433=(_0x53d465=_0x2751dc[_0xd8a587(0x13e)](_0x57c1c7))==null?void 0x0:_0x53d465[_0xd8a587(0x1b8)];_0x2751dc['set'](_0x57c1c7,{'oldRangeInfo':_0x311433,'rangeInfo':_0x3a3d0b});}[_0x2cfc65(0x33a)](_0x53529e,_0xd4e9ab,_0x4d02e4,_0x5696c5){const _0x36bb69=_0x2cfc65;var _0x49d32e;const _0x544351=this[_0x36bb69(0x1ac)](_0x53529e,_0xd4e9ab),_0x44d912=(_0x49d32e=_0x544351[_0x36bb69(0x13e)](_0x4d02e4))==null?void 0x0:_0x49d32e[_0x36bb69(0x2d9)];_0x544351[_0x36bb69(0x289)](_0x4d02e4,{'oldMatrix':_0x44d912,'matrix':_0x5696c5});}[_0x2cfc65(0x19d)](_0x4e9a6d,_0xe18ca,_0x885f78){const _0xaed5b9=_0x2cfc65;var _0x24c289,_0x261c85;return(_0x261c85=(_0x24c289=this[_0xaed5b9(0x1fb)]['get'](_0x4e9a6d))==null?void 0x0:_0x24c289[_0xaed5b9(0x13e)](_0xe18ca))==null?void 0x0:_0x261c85[_0xaed5b9(0x13e)](_0x885f78);}[_0x2cfc65(0x1e9)](_0x3d6ed1,_0x14c9de,_0x544912){const _0x3c6f27=_0x2cfc65;var _0x599276,_0x4a322d;return(_0x4a322d=(_0x599276=this[_0x3c6f27(0x34e)]['get'](_0x3d6ed1))==null?void 0x0:_0x599276['get'](_0x14c9de))==null?void 0x0:_0x4a322d['get'](_0x544912);}[_0x2cfc65(0x163)](_0x5dee9d){const _0x2a9d0e=_0x2cfc65;this[_0x2a9d0e(0x1f8)][_0x2a9d0e(0x173)](_0x5dee9d),this['_collectionConfigModel']['delete'](_0x5dee9d);}['_toJSON'](_0x1dba01){const _0x345daf=_0x2cfc65,_0x2b11c5={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x1dba01)&&(_0x2b11c5[_0x345daf(0x22b)][_0x1dba01]=this['_collectionConfigModel']['get'](_0x1dba01)),this[_0x345daf(0x1f8)][_0x345daf(0x13e)](_0x1dba01)){_0x2b11c5['pivotTableConfigs'][_0x1dba01]={};const _0x419e6a=this[_0x345daf(0x1f8)]['get'](_0x1dba01);_0x419e6a!=null&&_0x419e6a['size']&&[..._0x419e6a[_0x345daf(0x23b)]()]['forEach'](_0x121fa0=>{const _0x22cc3e=_0x345daf,_0x30f88d=_0x419e6a[_0x22cc3e(0x13e)](_0x121fa0);_0x30f88d!=null&&_0x30f88d[_0x22cc3e(0x1ed)]&&(_0x2b11c5[_0x22cc3e(0x1fe)][_0x1dba01][_0x121fa0]={},[..._0x30f88d[_0x22cc3e(0x23b)]()][_0x22cc3e(0x112)](_0xbe026a=>{const _0x263f19=_0x22cc3e,_0x59b85d=_0x30f88d[_0x263f19(0x13e)](_0xbe026a);_0x59b85d&&(_0x2b11c5[_0x263f19(0x1fe)][_0x1dba01][_0x121fa0][_0xbe026a]=_0x59b85d);}));});}return _0x2b11c5;}['_initSnapshot'](){const _0x53d9a5=_0x2cfc65;this['disposeWithMe'](this[_0x53d9a5(0x384)][_0x53d9a5(0x207)]({'toJson':_0x3fb36b=>JSON['stringify'](this[_0x53d9a5(0x31a)](_0x3fb36b)),'parseJson':_0x2073b1=>({}),'businesses':[_0x407cd0[_0x53d9a5(0x281)]],'pluginName':ao,'onLoad':(_0x2d7e31,_0x259c91)=>{},'onUnLoad':_0xa24986=>{const _0x27f55e=_0x53d9a5;this[_0x27f55e(0x163)](_0xa24986);}}));}};ve=Yi([it(0x0,_0x4eaa26(_0x297017)),it(0x1,_0x4eaa26(_0x4c491b)),it(0x2,_0x4eaa26(_0x295672)),it(0x3,_0x4eaa26(_0x5937c1)),it(0x4,_0x4eaa26(_0x931275))],ve);var zi=Object[_0x2cfc65(0x283)],Xi=(_0x398a90,_0x530a55,_0x406250,_0xdfcfef)=>{for(var _0xb603cc=_0xdfcfef>0x1?void 0x0:_0xdfcfef?zi(_0x530a55,_0x406250):_0x530a55,_0x15c033=_0x398a90['length']-0x1,_0x2c0641;_0x15c033>=0x0;_0x15c033--)(_0x2c0641=_0x398a90[_0x15c033])&&(_0xb603cc=_0x2c0641(_0xb603cc)||_0xb603cc);return _0xb603cc;},st=(_0x1bba1e,_0x3c5d80)=>(_0x1a000f,_0x2086f8)=>_0x3c5d80(_0x1a000f,_0x2086f8,_0x1bba1e);let Ne=class extends _0x9a7a73{constructor(_0x4eaeba,_0x854487,_0x24c85d,_0xc25f6d,_0x205e67){const _0x74c4aa=_0x2cfc65;super(),U(this,_0x74c4aa(0x1a8),new Map()),U(this,'_pivotRenderValueMatrixCache',new Map()),U(this,_0x74c4aa(0x140),new _0x307900()),U(this,'markDirty$',this[_0x74c4aa(0x140)][_0x74c4aa(0x244)]()),U(this,_0x74c4aa(0x1e5),new _0x307900()),U(this,_0x74c4aa(0x2ee),this[_0x74c4aa(0x1e5)][_0x74c4aa(0x244)]()),U(this,_0x74c4aa(0x213)),(this[_0x74c4aa(0x24b)]=_0x4eaeba,this[_0x74c4aa(0x13c)]=_0x854487,this[_0x74c4aa(0x16c)]=_0x24c85d,this[_0x74c4aa(0x231)]=_0xc25f6d,this[_0x74c4aa(0x25f)]=_0x205e67,this[_0x74c4aa(0x2ec)](),this['_initUnitDisposed']());}[_0x2cfc65(0x131)](){const _0xf2f15e=_0x2cfc65;this['disposeWithMe'](this[_0xf2f15e(0x231)][_0xf2f15e(0x166)](_0x407cd0[_0xf2f15e(0x281)])['subscribe'](_0x135fdf=>{const _0x10371b=_0xf2f15e;this[_0x10371b(0x163)](_0x135fdf[_0x10371b(0x27c)]());}));}['_initLocale'](){this['_textInfo']=fo(this['_injector'],Go,'',{});}['updateRenderCache'](_0x196957){const _0x40923a=_0x2cfc65,{view:_0x595f5e,unitId:_0x17bfab,subUnitId:_0xb18223,pivotTableId:_0x2795a3,type:_0x18cae1}=_0x196957,_0xe57a7d=this[_0x40923a(0x16c)][_0x40923a(0x21d)](_0x17bfab,_0xb18223,_0x2795a3);if(!_0x595f5e||!_0xe57a7d||_0x18cae1===G[_0x40923a(0x132)])return;const {pageView:_0x58ec1d,cornerView:_0x4aec38,rowView:_0x312b0d,colView:_0x1a5d55,dataView:_0x1b1ef1}=_0x595f5e,_0x523f98=_0xe57a7d[_0x40923a(0x216)],_0x31d840=_0xe57a7d[_0x40923a(0x313)],_0x24635e=this['_ensurePivotItemRenderValueMatrixCache'](_0x17bfab,_0xb18223),_0x1451d2=this[_0x40923a(0x2de)](_0x17bfab,_0xb18223,_0x2795a3);if(_0x31d840)return this[_0x40923a(0x1cb)](_0x196957,_0x24635e,_0x523f98,_0x1451d2);{const _0x19c76f=ge(_0x523f98,_0x58ec1d,!0x0),_0x3b1547=_0x58ec1d[_0x40923a(0x1ad)]>=0x0?_0x58ec1d[_0x40923a(0x1ad)]+0x1:0x0,_0x27e294=_0x4aec38[_0x40923a(0x10e)](),_0x4f05ab=_0x4aec38['getColCount'](),_0x53373e=_0x19c76f['length']>0x0?It:0x0,_0x45659e=ge({'row':_0x523f98[_0x40923a(0x379)]+_0x3b1547+_0x53373e,'col':_0x523f98[_0x40923a(0x183)]},_0x4aec38,!0x1,!0x1),_0x3cd9a7=ge({'row':_0x523f98[_0x40923a(0x379)]+_0x3b1547+_0x53373e+_0x27e294,'col':_0x523f98['col']},_0x312b0d,!0x1,!0x0),_0x39e6dd=ge({'row':_0x523f98[_0x40923a(0x379)]+_0x3b1547+_0x53373e,'col':_0x523f98[_0x40923a(0x183)]+_0x4f05ab},_0x1a5d55,!0x1,!0x0),_0x3a575b=ge({'row':_0x523f98['row']+_0x3b1547+_0x53373e+_0x27e294,'col':_0x523f98[_0x40923a(0x183)]+_0x4f05ab},_0x1b1ef1,!0x1,!0x1);_0x1451d2['rangesInfo']={'rowRanges':_0x3cd9a7,'colRanges':_0x39e6dd,'cornerRanges':_0x45659e,'dataRanges':_0x3a575b,'pageRanges':_0x19c76f};const _0x6c065b=yi(this[_0x40923a(0x13c)],_0x595f5e,_0xe57a7d,this[_0x40923a(0x213)]),{valueMatrix:_0x1bb377,rowInfo:_0x18556f,colInfo:_0x500c54,cornerInfo:_0xb272c0,rowHeaderMap:_0x54e8a3,colHeaderMap:_0x3cc616}=_0x6c065b;return _0x1451d2['areaInfo']={'rowInfo':_0x18556f,'colInfo':_0x500c54,'cornerInfo':_0xb272c0},_0x1451d2[_0x40923a(0x175)]={'rowHeaderMap':_0x54e8a3,'colHeaderMap':_0x3cc616},_0x1bb377[_0x40923a(0x112)]((_0x2374f5,_0x3613bc)=>{const _0x3c82b2=_0x40923a;Object[_0x3c82b2(0x23b)](_0x3613bc)[_0x3c82b2(0x112)](_0xabf0b7=>{const _0x257dc3=_0x3c82b2,_0x21d9e6=+_0xabf0b7,_0x5d2ffd=_0x1bb377[_0x257dc3(0x2dc)](_0x2374f5,_0x21d9e6);_0x24635e[_0x257dc3(0x2e3)](_0x2374f5,_0x21d9e6,_0x5d2ffd);});}),this['_viewUpdate$']['next']({'unitId':_0x17bfab,'subUnitId':_0xb18223,'valueMatrix':_0x24635e,'rangesCache':_0x1451d2[_0x40923a(0x257)],'pivotTableId':_0x2795a3,'type':_0x196957[_0x40923a(0x38b)]}),this[_0x40923a(0x16c)][_0x40923a(0x336)](_0x17bfab,_0xb18223,_0x2795a3,_0x24635e,_0x1451d2['rangesInfo']),this[_0x40923a(0x25f)]['addExclusiveRange'](_0x17bfab,_0xb18223,Lt,this[_0x40923a(0x361)](_0x1451d2['rangesInfo'],_0x2795a3)),{'rangeCache':_0x1451d2[_0x40923a(0x257)],'matrix':_0x24635e};}}[_0x2cfc65(0x1cb)](_0xc8bb8,_0x3efb10,_0xf6b8b4,_0x6b9700){const _0x15f2ae=_0x2cfc65,_0x127d14=this['_localeService']['t'],{unitId:_0x56d661,subUnitId:_0x1e70bd,pivotTableId:_0x39620d}=_0xc8bb8,_0x5df492={'filter':_0x127d14(_0x15f2ae(0x2b2)),'row':_0x127d14('sheets-pivot.emptyPivot.row'),'column':_0x127d14(_0x15f2ae(0x218)),'values':_0x127d14(_0x15f2ae(0x32b))},{matrixCache:_0x2936e6,rangesCache:_0x39d970}=Ko(_0x5df492,_0xf6b8b4);return _0x2936e6['forValue']((_0x5148f2,_0x14ee0f,_0x28a0f7)=>{const _0x2c1074=_0x15f2ae;_0x3efb10[_0x2c1074(0x2e3)](_0x5148f2,_0x14ee0f,_0x28a0f7);}),_0x6b9700[_0x15f2ae(0x257)]=_0x39d970,this[_0x15f2ae(0x1e5)][_0x15f2ae(0x2c4)]({'unitId':_0x56d661,'subUnitId':_0x1e70bd,'valueMatrix':_0x3efb10,'rangesCache':_0x39d970,'pivotTableId':_0x39620d,'type':_0xc8bb8[_0x15f2ae(0x38b)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x15f2ae(0x336)](_0x56d661,_0x1e70bd,_0x39620d,_0x3efb10,_0x39d970),this[_0x15f2ae(0x25f)][_0x15f2ae(0x2f4)](_0x56d661,_0x1e70bd,Lt,this[_0x15f2ae(0x361)](_0x39d970,_0x39620d)),{'rangeCache':_0x6b9700['rangesInfo'],'matrix':_0x3efb10};}[_0x2cfc65(0x361)](_0x1265d8,_0x4f5092){const _0x12c6c9=_0x2cfc65,_0x4894e8=[],_0x2fbbda=Gt(_0x1265d8);for(const _0x358b8f of _0x2fbbda)_0x4894e8[_0x12c6c9(0x17f)]({'groupId':_0x4f5092,'range':_0x358b8f});return _0x4894e8;}['clearRenderCache'](_0x1e59d2){const _0x1053c2=_0x2cfc65;var _0x38274f,_0x10cf0e,_0x44bb37,_0xd01f45;const {pivotTableId:_0x2f714a,unitId:_0x5994c2,subUnitId:_0x38adcc}=_0x1e59d2;if(!_0x2f714a||!_0x5994c2||!_0x38adcc)return;const _0x2c78f9=this[_0x1053c2(0x138)](_0x5994c2,_0x38adcc),_0x505d70=(_0x10cf0e=(_0x38274f=this[_0x1053c2(0x1a8)][_0x1053c2(0x13e)](_0x5994c2))==null?void 0x0:_0x38274f[_0x1053c2(0x13e)](_0x38adcc))==null?void 0x0:_0x10cf0e[_0x1053c2(0x13e)](_0x2f714a);if(_0x505d70!=null&&_0x505d70[_0x1053c2(0x257)]){for(const _0x462158 of Object[_0x1053c2(0x23b)](_0x505d70['rangesInfo']))_0x505d70[_0x1053c2(0x257)][_0x462158][_0x1053c2(0x112)](_0x6ff914=>{const _0x298bbe=_0x1053c2;for(let _0x6a10f6=_0x6ff914[_0x298bbe(0x21c)];_0x6a10f6<=_0x6ff914[_0x298bbe(0x389)];_0x6a10f6++)for(let _0x5b7f2b=_0x6ff914[_0x298bbe(0x256)];_0x5b7f2b<=_0x6ff914[_0x298bbe(0x354)];_0x5b7f2b++)_0x2c78f9['realDeleteValue'](_0x6a10f6,_0x5b7f2b);});}_0x505d70&&((_0xd01f45=(_0x44bb37=this[_0x1053c2(0x1a8)]['get'](_0x5994c2))==null?void 0x0:_0x44bb37['get'](_0x38adcc))==null||_0xd01f45['delete'](_0x2f714a)),this[_0x1053c2(0x1e5)][_0x1053c2(0x2c4)]({'unitId':_0x5994c2,'subUnitId':_0x38adcc,'valueMatrix':_0x2c78f9,'pivotTableId':_0x2f714a,'rangesCache':void 0x0,'type':_0x1e59d2['type']}),this[_0x1053c2(0x25f)][_0x1053c2(0x307)](_0x5994c2,_0x38adcc,Lt,_0x2f714a);}[_0x2cfc65(0x2de)](_0x12ea6a,_0x1e5a10,_0x92872c){const _0x412798=_0x2cfc65;var _0x3a4242,_0x42685e,_0x2c7774,_0x59c134,_0x896145,_0x1bac89;return this['_pivotRenderInfoCache']['has'](_0x12ea6a)||this[_0x412798(0x1a8)][_0x412798(0x289)](_0x12ea6a,new Map()),(_0x3a4242=this[_0x412798(0x1a8)][_0x412798(0x13e)](_0x12ea6a))!=null&&_0x3a4242[_0x412798(0x19c)](_0x1e5a10)||(_0x42685e=this[_0x412798(0x1a8)]['get'](_0x12ea6a))==null||_0x42685e[_0x412798(0x289)](_0x1e5a10,new Map()),(_0x59c134=(_0x2c7774=this[_0x412798(0x1a8)]['get'](_0x12ea6a))==null?void 0x0:_0x2c7774[_0x412798(0x13e)](_0x1e5a10))!=null&&_0x59c134[_0x412798(0x19c)](_0x92872c)||(_0x1bac89=(_0x896145=this[_0x412798(0x1a8)]['get'](_0x12ea6a))==null?void 0x0:_0x896145['get'](_0x1e5a10))==null||_0x1bac89[_0x412798(0x289)](_0x92872c,{}),this[_0x412798(0x1a8)][_0x412798(0x13e)](_0x12ea6a)[_0x412798(0x13e)](_0x1e5a10)[_0x412798(0x13e)](_0x92872c);}['_ensurePivotItemRenderValueMatrixCache'](_0x5a639a,_0x3201de){const _0x38f693=_0x2cfc65;var _0x364b0d,_0x34670b;return this[_0x38f693(0x11b)][_0x38f693(0x19c)](_0x5a639a)||this['_pivotRenderValueMatrixCache']['set'](_0x5a639a,new Map()),(_0x364b0d=this[_0x38f693(0x11b)][_0x38f693(0x13e)](_0x5a639a))!=null&&_0x364b0d[_0x38f693(0x19c)](_0x3201de)||(_0x34670b=this[_0x38f693(0x11b)][_0x38f693(0x13e)](_0x5a639a))==null||_0x34670b['set'](_0x3201de,new _0x3d4b3d()),this[_0x38f693(0x11b)][_0x38f693(0x13e)](_0x5a639a)[_0x38f693(0x13e)](_0x3201de);}[_0x2cfc65(0x1e0)](_0x3f5635,_0x443ea6,_0x38af40,_0x16cc1e){const _0x19a706=_0x2cfc65;var _0x39a5eb,_0xe9484b;const _0x152125=(_0xe9484b=(_0x39a5eb=this[_0x19a706(0x11b)][_0x19a706(0x13e)](_0x3f5635))==null?void 0x0:_0x39a5eb['get'](_0x443ea6))==null?void 0x0:_0xe9484b[_0x19a706(0x2dc)](_0x38af40,_0x16cc1e);if(_0x152125!=null)return _0x152125;}['getPivotTableIdByCell'](_0x2d3ea3,_0x427349,_0x5df062,_0xaaf76a){const _0x41a3c0=_0x2cfc65;var _0x186ce8;const _0x1ab3d1=_0x1aea22(_0x5df062,_0xaaf76a),_0x4d65a3=(_0x186ce8=this['_pivotRenderInfoCache'][_0x41a3c0(0x13e)](_0x2d3ea3))==null?void 0x0:_0x186ce8[_0x41a3c0(0x13e)](_0x427349);return _0x4d65a3?Array[_0x41a3c0(0x25a)](_0x4d65a3[_0x41a3c0(0x23b)]())['find'](_0x266bbf=>{const _0x40e80f=_0x41a3c0,_0x5dc812=_0x4d65a3[_0x40e80f(0x13e)](_0x266bbf),_0x361140=_0x5dc812==null?void 0x0:_0x5dc812[_0x40e80f(0x257)];return _0x361140?Object[_0x40e80f(0x23b)](_0x361140)[_0x40e80f(0x32c)](_0x173860=>_0x361140[_0x173860]['some'](_0x5d5b3d=>_0x2492ba[_0x40e80f(0x33e)](_0x5d5b3d,_0x1ab3d1))):!0x1;}):void 0x0;}[_0x2cfc65(0x10f)](_0x75549e,_0x3de1ae,_0x3c7671){const _0xf90cee=_0x2cfc65;var _0x54bd8f;const _0x28988b=(_0x54bd8f=this['_pivotRenderInfoCache']['get'](_0x75549e))==null?void 0x0:_0x54bd8f[_0xf90cee(0x13e)](_0x3de1ae),_0x5c59cf=[];return _0x28988b&&Array[_0xf90cee(0x25a)](_0x28988b['keys']())[_0xf90cee(0x112)](_0xb4c0c4=>{const _0x248c14=_0xf90cee,_0x13f682=_0x28988b[_0x248c14(0x13e)](_0xb4c0c4),_0x524d2a=_0x13f682==null?void 0x0:_0x13f682[_0x248c14(0x257)];if(_0x524d2a)for(const _0x2bd5c3 of Object[_0x248c14(0x282)](_0x524d2a)){let _0x239997=!0x1;for(const _0x1c5ab8 of _0x2bd5c3)if(_0x2492ba[_0x248c14(0x1b6)](_0x1c5ab8,_0x3c7671)){_0x5c59cf['push'](_0xb4c0c4),_0x239997=!0x0;break;}if(_0x239997)break;}}),_0x5c59cf;}['getSubUnitPivotMatrix'](_0x3062ed,_0x1528cd){const _0x196dbe=_0x2cfc65;var _0x108197,_0x1ca068;return(_0x1ca068=(_0x108197=this[_0x196dbe(0x11b)]['get'](_0x3062ed))==null?void 0x0:_0x108197[_0x196dbe(0x13e)](_0x1528cd))!=null?_0x1ca068:new _0x3d4b3d();}[_0x2cfc65(0x167)](_0x232f81,_0x1552cb){const _0x383ad1=_0x2cfc65;var _0x2120c5;return(_0x2120c5=this[_0x383ad1(0x1a8)][_0x383ad1(0x13e)](_0x232f81))==null?void 0x0:_0x2120c5[_0x383ad1(0x13e)](_0x1552cb);}['getPivotItemRenderInfoCache'](_0x3554f1,_0x16b8b9,_0x3b7f1c){const _0x4b3f0c=_0x2cfc65;var _0x5a888e,_0x10bb0;return(_0x10bb0=(_0x5a888e=this[_0x4b3f0c(0x1a8)]['get'](_0x3554f1))==null?void 0x0:_0x5a888e[_0x4b3f0c(0x13e)](_0x16b8b9))==null?void 0x0:_0x10bb0[_0x4b3f0c(0x13e)](_0x3b7f1c);}[_0x2cfc65(0x163)](_0x12bf75){const _0x29b6d4=_0x2cfc65;this[_0x29b6d4(0x1a8)]['delete'](_0x12bf75),this[_0x29b6d4(0x11b)]['delete'](_0x12bf75);}[_0x2cfc65(0x25d)](_0x1ed874,_0x7ced8d){this['_markDirty$']['next']({'unitId':_0x1ed874,'subUnitId':_0x7ced8d});}};Ne=Xi([st(0x0,_0x4eaa26(_0x2a61e0)),st(0x1,_0x4eaa26(_0x297017)),st(0x2,_0x4eaa26(ve)),st(0x3,_0x4eaa26(_0x295672)),st(0x4,_0x4eaa26(_0xea2477))],Ne);var Zi=Object['getOwnPropertyDescriptor'],es=(_0x173e87,_0x2a9de2,_0x50d916,_0xb3be91)=>{const _0x295660=_0x2cfc65;for(var _0x385d09=_0xb3be91>0x1?void 0x0:_0xb3be91?Zi(_0x2a9de2,_0x50d916):_0x2a9de2,_0x3fe563=_0x173e87[_0x295660(0x1fd)]-0x1,_0x458987;_0x3fe563>=0x0;_0x3fe563--)(_0x458987=_0x173e87[_0x3fe563])&&(_0x385d09=_0x458987(_0x385d09)||_0x385d09);return _0x385d09;},wo=(_0xe2a771,_0x117c0b)=>(_0x40538c,_0x2f72f7)=>_0x117c0b(_0x40538c,_0x2f72f7,_0xe2a771);let ie=class extends _0x9a7a73{constructor(_0x2da035,_0x205f0c){const _0x3ce2eb=_0x2cfc65;super(),U(this,'asyncInterceptor',new _0x2c06cc({'PIVOT_PERFORM_CHECK':be})),U(this,_0x3ce2eb(0x1fa),new _0x4854c3({'PIVOT_MUTATION_GENERATE':Jo})),(this[_0x3ce2eb(0x176)]=_0x2da035,this[_0x3ce2eb(0x1d1)]=_0x205f0c,this[_0x3ce2eb(0x273)]());}[_0x2cfc65(0x273)](){const _0x4e4ea2=_0x2cfc65;this[_0x4e4ea2(0x125)]();}['getPivotPerformCheck'](_0x21feba){const _0x5f0211=_0x2cfc65;return this[_0x5f0211(0x221)][_0x5f0211(0x36d)](be)(!0x1,_0x21feba);}[_0x2cfc65(0x125)](){const _0x486482=_0x2cfc65;this[_0x486482(0x134)](this[_0x486482(0x176)]['intercept'](_0x389984[_0x486482(0x2cd)],{'priority':0xc8,'effect':_0x122284[_0x486482(0x346)]|_0x122284[_0x486482(0x279)],'handler':(_0x559271,_0x1b9e50,_0x1b2171)=>{const _0x18aa27=_0x486482,{row:_0xe42db7,col:_0x1e7c6d,unitId:_0x5ea368,subUnitId:_0xa2c074,workbook:_0x535f26}=_0x1b9e50,_0x4ae504=this[_0x18aa27(0x1d1)][_0x18aa27(0x1e0)](_0x5ea368,_0xa2c074,_0xe42db7,_0x1e7c6d);if(!_0x4ae504)return _0x1b2171(_0x559271);const _0x51e402={..._0x559271};(_0x4ae504['v']||_0x4ae504['v']===0x0)&&(_0x51e402['v']=_0x4ae504['v']),_0x4ae504['t']&&(_0x51e402['t']=_0x4ae504['t']);const _0x3324e1=(typeof(_0x559271==null?void 0x0:_0x559271['s'])==_0x18aa27(0x18f)?_0x535f26['getStyles']()['get'](_0x559271==null?void 0x0:_0x559271['s']):_0x559271==null?void 0x0:_0x559271['s'])||{},_0x20609f=_0x535f26[_0x18aa27(0x340)]()[_0x18aa27(0x13e)](_0x4ae504['s']),_0x45fe4a={..._0x20609f,..._0x3324e1};_0x20609f!=null&&_0x20609f['n']&&(_0x45fe4a['n']=_0x20609f['n']);const _0x37dbde=_0x535f26[_0x18aa27(0x340)]()[_0x18aa27(0x2e3)](_0x45fe4a);return _0x51e402['s']=_0x37dbde,(_0x4ae504[_0x18aa27(0x1db)]===_0x71ed97['Collapse']||_0x4ae504[_0x18aa27(0x1db)]===_0x71ed97[_0x18aa27(0x137)])&&(_0x51e402[_0x18aa27(0x284)]={},_0x51e402[_0x18aa27(0x284)]['leftOffset']=li),_0x1b2171(_0x51e402);}}));}};ie=es([wo(0x0,_0x4eaa26(_0x36d3f4)),wo(0x1,_0x4eaa26(Ne))],ie);const zo={'id':_0x2cfc65(0x1ee),'type':_0x36216a[_0x2cfc65(0x11f)],'handler':(_0x3d43cb,_0x1f8b95)=>{const _0x1e992c=_0x2cfc65;if(!_0x1f8b95)return!0x1;if(!!_0x3d43cb[_0x1e992c(0x13e)](_0x931275)[_0x1e992c(0x303)](Y))return!0x0;const {pivotTableId:_0x5bccc8,fieldJSON:_0x4bc2d8,unitId:_0x30a063,subUnitId:_0x323946}=_0x1f8b95;let _0x3a62d7;const {dataFieldType:_0x48d214,id:_0x370483,name:_0x2924a0,hexCode:_0x10afd9,originalFieldId:_0x4075c1}=_0x4bc2d8;if(_0x48d214===_0x4b22e0['dateGroupField']&&(_0x3a62d7=new _0x21a19e(_0x370483,_0x2924a0,_0x10afd9,_0x4075c1)),!_0x3a62d7)return!0x1;const _0x13d737=_0x3d43cb['get']($),_0x399807=_0x13d737[_0x1e992c(0x212)](_0x30a063),_0x2381bb=_0x399807[_0x1e992c(0x161)](_0x5bccc8);_0x399807[_0x1e992c(0x2b8)](_0x3a62d7),_0x2381bb[_0x1e992c(0x1c7)](_0x3a62d7[_0x1e992c(0x159)](),_0x3a62d7[_0x1e992c(0x27a)]());const _0x4c758b=_0x2381bb[_0x1e992c(0x11c)](_0x3a62d7[_0x1e992c(0x1df)]());_0x4c758b&&_0x3a62d7[_0x1e992c(0x249)](_0x4c758b);const _0x14f2c6=_0x13d737[_0x1e992c(0x21d)](_0x30a063,_0x323946,_0x5bccc8);return _0x13d737[_0x1e992c(0x1ba)]({'unitId':_0x30a063,'subUnitId':_0x323946,'token':_0x5bccc8,'type':G['Set'],'pivotConfig':_0x14f2c6}),!0x0;}},Xo={'id':_0x2cfc65(0x272),'type':_0x36216a[_0x2cfc65(0x11f)],'handler':(_0x36c8c7,_0x30b844)=>{const _0x81ea69=_0x2cfc65;if(!_0x30b844)return!0x1;if(!!_0x36c8c7[_0x81ea69(0x13e)](_0x931275)['getConfig'](Y))return!0x0;const {pivotTableId:_0x4f2edd,dataFieldId:_0x439a4b,unitId:_0x431995,subUnitId:_0x199e1e}=_0x30b844,_0x17548a=_0x36c8c7[_0x81ea69(0x13e)]($),_0x1e6478=_0x17548a[_0x81ea69(0x212)](_0x431995);_0x1e6478[_0x81ea69(0x161)](_0x4f2edd)[_0x81ea69(0x349)](_0x439a4b);let _0x396e1c=!0x0;for(const _0x4f441c in _0x1e6478[_0x81ea69(0x337)])if(_0x1e6478[_0x81ea69(0x337)][_0x4f441c][_0x81ea69(0x2fb)]()[_0x81ea69(0x270)](_0x439a4b)){_0x396e1c=!0x1;break;}_0x396e1c&&_0x1e6478[_0x81ea69(0x118)](_0x439a4b);const _0x113198=_0x17548a[_0x81ea69(0x21d)](_0x431995,_0x199e1e,_0x4f2edd);return _0x17548a[_0x81ea69(0x1ba)]({'unitId':_0x431995,'subUnitId':_0x199e1e,'token':_0x4f2edd,'type':G[_0x81ea69(0x2d8)],'pivotConfig':_0x113198}),!0x0;}};function Nt(_0x4a34b1,_0x546124){const _0x1946e7=_0x2cfc65;switch(_0x546124){case _0xeefe5e[_0x1946e7(0x346)]:return _0x4a34b1[_0x1946e7(0x127)];case _0xeefe5e[_0x1946e7(0x38d)]:return _0x4a34b1[_0x1946e7(0x378)];case _0xeefe5e[_0x1946e7(0x2bf)]:return _0x4a34b1[_0x1946e7(0x247)];case _0xeefe5e['Column']:return _0x4a34b1['columnFields'];default:return[];}}function We(_0x5796b4,_0x367fb3){const _0x58f6f1=_0x2cfc65;return _0x5796b4[_0x58f6f1(0x35a)][_0x367fb3]||_0x5796b4[_0x58f6f1(0x331)][_0x367fb3];}function ts(_0x4eef00,_0x5c3442){const _0x271120=_0x2cfc65,{area:_0x1007f3,fieldJson:_0x5038f3,index:_0x5b0a30}=_0x5c3442;_0x1007f3===_0xeefe5e[_0x271120(0x346)]?_0x4eef00[_0x271120(0x35a)][_0x5038f3['id']]=_0x5038f3:_0x4eef00['dimension'][_0x5038f3['id']]=_0x5038f3,Nt(_0x4eef00,_0x1007f3)[_0x271120(0x1d6)](_0x5b0a30,0x0,_0x5038f3['id']);}function os(_0x22fecd,_0x253782){const _0x3deed3=_0x2cfc65,{area:_0x17d02f,fieldId:_0x1755ca,index:_0x22d53a}=_0x253782;_0x17d02f===_0xeefe5e[_0x3deed3(0x346)]?delete _0x22fecd[_0x3deed3(0x35a)][_0x1755ca]:delete _0x22fecd[_0x3deed3(0x331)][_0x1755ca],Nt(_0x22fecd,_0x17d02f)[_0x3deed3(0x1d6)](_0x22d53a,0x1);}function ns(_0x360f2a,_0x3ce726){const _0x2fe9ac=_0x2cfc65,{fieldId:_0x258a73,name:_0x178f27}=_0x3ce726,_0x845c2=We(_0x360f2a,_0x258a73);_0x845c2&&(_0x845c2[_0x2fe9ac(0x1a3)]=_0x178f27);}function is(_0x12739d,_0x414c5d){const _0x52b4e8=_0x2cfc65,{fieldId:_0x394a8d,collapse:_0x518499,item:_0x4c46ae}=_0x414c5d;_0x4c46ae!==void 0x0?(_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d]=_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d]||{},_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d][_0x4c46ae]=_0x518499):_0x12739d[_0x52b4e8(0x1d2)][_0x394a8d]=_0x518499;}function ss(_0xb0d833,_0x4ce440){const {fieldId:_0x4cf206,format:_0x2754c5}=_0x4ce440,_0x27ecef=We(_0xb0d833,_0x4cf206);_0x27ecef&&(_0x27ecef['format']=_0x2754c5);}function as(_0x427ef4,_0x514627){const _0x1414ca=_0x2cfc65,{fieldId:_0x466234,filterInfo:_0x5f0d64}=_0x514627,_0x104521=We(_0x427ef4,_0x466234);_0x104521&&(_0x104521[_0x1414ca(0x12d)]=_0x5f0d64);}function rs(_0x1ba6e7,_0x2fa6d5){const _0x27cc8c=_0x2cfc65,{fieldId:_0x12cb5e,filterInfo:_0x5269a4}=_0x2fa6d5,_0x2b206c=_0x1ba6e7[_0x27cc8c(0x15f)][_0x27cc8c(0x211)](_0x1ba46b=>_0x1ba46b[_0x27cc8c(0x2b0)]!==_0x12cb5e);_0x5269a4&&_0x2b206c['push']({'fieldId':_0x12cb5e,'filterInfo':_0x5269a4}),_0x1ba6e7[_0x27cc8c(0x15f)]=_0x2b206c;}function ls(_0x1f9138,_0x4d2cfe){const _0x1b3e47=_0x2cfc65,{fieldId:_0x2ba828,subtotalType:_0x16fb9c}=_0x4d2cfe,_0x3d16c4=We(_0x1f9138,_0x2ba828);_0x3d16c4&&(_0x3d16c4[_0x1b3e47(0x14a)]=_0x16fb9c);}function cs(_0x5b8b38,_0x526ca0){const _0x343b4b=_0x2cfc65,{fieldId:_0x58e622,oldArea:_0x2c43d2,area:_0x313b81,oldIndex:_0x3b8182,index:_0x30aaa0}=_0x526ca0,_0x2c85fd=_0x2c43d2!==_0xeefe5e[_0x343b4b(0x346)]&&_0x313b81===_0xeefe5e[_0x343b4b(0x346)],_0x5f4d4f=_0x2c43d2===_0xeefe5e[_0x343b4b(0x346)]&&_0x313b81!==_0xeefe5e[_0x343b4b(0x346)];if(_0x2c85fd||_0x5f4d4f){const _0x51b24b=We(_0x5b8b38,_0x58e622);_0x51b24b&&(_0x2c85fd?(delete _0x5b8b38[_0x343b4b(0x331)][_0x58e622],_0x5b8b38[_0x343b4b(0x35a)][_0x58e622]=_0x51b24b):(delete _0x5b8b38['measure'][_0x58e622],_0x5b8b38[_0x343b4b(0x331)][_0x58e622]=_0x51b24b));}const _0x3948a1=Nt(_0x5b8b38,_0x2c43d2),_0x26206b=Nt(_0x5b8b38,_0x313b81);_0x3948a1[_0x343b4b(0x1d6)](_0x3b8182,0x1),_0x26206b[_0x343b4b(0x1d6)](_0x30aaa0,0x0,_0x58e622);}function ds(_0x184377,_0x463bb1){const _0x4f84b0=_0x2cfc65,{valuePosition:_0x5101fa,index:_0x164e6e}=_0x463bb1;_0x184377[_0x4f84b0(0x120)]=_0x5101fa,_0x184377['valueIndex']=_0x164e6e;}function us(_0x592e59,_0x3ac3ac){const _0x3bbee8=_0x2cfc65,{tableFieldId:_0x101d2b,sourceName:_0x52f312,dataFieldId:_0x1ab7c3}=_0x3ac3ac,_0x5c83f1=We(_0x592e59,_0x101d2b);_0x5c83f1&&(_0x5c83f1[_0x3bbee8(0x304)]=_0x52f312,_0x5c83f1[_0x3bbee8(0x38e)]=_0x1ab7c3);}function fs(_0x3050b8,_0xd19fa8){const _0x5993ac=_0x2cfc65,{fieldId:_0x451de8,sortInfo:_0xca0f85}=_0xd19fa8,_0x58163d=We(_0x3050b8,_0x451de8);_0x58163d&&(_0x58163d[_0x5993ac(0x195)]=_0xca0f85);}function gs(_0x45e671,_0x79ab0f){const _0x584439=_0x2cfc65,{options:_0x5bc143}=_0x79ab0f;_0x45e671[_0x584439(0x2a2)]={..._0x45e671[_0x584439(0x2a2)],..._0x5bc143};}function _0x4801(){const _0x3d33e8=['getHeaderMapItem','_queryingMap','asyncInterceptor','single','_initCommandInterceptListener','sheets-pivot.cellDateGroupDisplay.date','createCollectionWithDataRange','rangeKeyMap','colInfo','1897159JFKSrJ','addRecord','result','dataFieldManagerConfig','sum','setValuePivotFilter','_dataSyncPrimaryController','sheet.mutation.rename-pivot-field','sheets-pivot.countNumsName','_univerInstanceService','Varp\x20of\x20','updateFieldSourceInfo','sheets-pivot.value','redos','sheets-pivot.minName','setPivotCollapse','YearQuarter','updateDirtyPivotTable','initDataRanges','keys','_initPivotDataGetListener','sheet.mutation.get-pivot-data-local','sheet.command.update-date-group','valueIndex','setPivotTable','sheets-pivot.cellDateGroupDisplay.month','addCollection','getSheets','asObservable','reduce','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','rowFields','getSheetBySheetId','refreshGroupField','_subjectCollectionChange','_localeService','HourMinute','_dataFieldManagerCollection','handleSourceRangeChange','leafStyle','UpdateValuePosition','count','custom','interceptCommand','getValuePosition','1161654wcTPkU','startColumn','rangesInfo','getCurrentSelections','StdDevp\x20of\x20','from','sheet.command.move-pivot-table','getDataFieldByTableId','markDirty','cornerStyle','_exclusiveRangeService','resetPivotTable','setRangeValueRedoMutation','sheet.command.set-pivot-value-filter','sheet.mutation.set-pivot-filter','substring','getIntersects','dateType','sheets-pivot.cellDateGroupDisplay.hour','getFilterFieldIdByIndex','_ensureViewDataMap','setLabelFilterInfo','sheet.mutation.set-pivot-field-subtotal-type','removeCollections','1582419FfjvSD','map','sheet.mutation.send-pivot-view-local','includes','updatePivotSource','sheet.mutation.remove-group-collection','_init','NUMBER','notExecuteFormula','min','refreshDataField','token','Style','getName','getSourceName','getUnitId','sheets-pivot.dateGroup.date','_initRemoveSheetCommandInterceptor','sourceRangeInfo','shouldClear','UNIVER_SHEET','values','getOwnPropertyDescriptor','fontRenderExtension','Subtotal','NORMAL','setOptions','getDirtyInfo','set','_updateModelCache','setPivotSetting','sheet.mutation.add-pivot-table','setSourceName','split','intercept','NUM','_initSnapshot','getLastRow','removeValueFilterInfo','getValueIndex','Min\x20of\x20','getSubtotal','tableFieldId','sheets-pivot.cellDateGroupDisplay.yearMonthDate','Add','cornerRanges','sheet.command.set-pivot-collapse','max','getFieldCountByArea','setRangeValueUndoMutation','BadReference','sheets-pivot.blank','charCodeAt','options','_subjectViewChange','originTargetInfo','getDataFieldByDataFieldId','new','_refRangeHandle','registerCommand','YearMonth','sheets-pivot.dateGroup.yearQuarter','getDisplayName','updateRangeKeyMap','_sheetsPivotDataSourceModel','SetValuePivotFilter','updatePivotTableRangeInfo','fieldId','query','sheets-pivot.emptyPivot.filter','setCollapse','SHEET_PIVOT_EXCLUSIVE_ID','sheet.mutation.set-pivot-value-filter','#f4f4f5','Hour','addDataFieldWithoutUnitInfo','matrix','pageStyle','name','getPivotTableInstance','filterId','handleAsyncResponse','Row','reset','#e6ebfa','drillDown','rowHeaderMap','next','sheet.operation.pivot-table-view-formula-mark-dirty','getTableFieldById','NAME','register','pivotConfigChange$','Year','_deletePivotTableInstanceCache','uniqueDataFieldName','CELL_CONTENT','iterateField','handleMoveRange','prefix','Month','Count\x20of\x20','getDataFieldItemInfo','MAX_SAFE_INTEGER','getViewData','toJSON','defineProperty','Set','oldMatrix','parse','fromJSON','getValue','Panel','_ensurePivotItemRenderInfoCache','sheet.mutation.send-pivot-data-local','NotFunction','paths','sheet.command.remove-pivot-field','setValue','workbook\x20is\x20not\x20found','getDataFieldId','NotName','date','getPivotItemRenderInfoCache','SetPivotCollapse','setValueFilterInfo','sheets-pivot.maxName','_initLocale','removeField','viewUpdate$','removeDataField','setPivotInitCompleted','ptn','entries','GrandTotal','addExclusiveRange','getFormatInfo','iterateFieldDim','foreach','addFieldWithSourceId','getRangeKey','Max\x20of\x20','getFieldIds','MIN_SAFE_INTEGER','slice','SetFilterInfo','collectionConfig','90944UwFzcm','sheets-pivot.cellDateGroupDisplay.yearQuarter','Minute','getConfig','sourceName','getCellRaw','executeCommand','clearExclusiveRangesByGroupId','existing','_viewData$','sheet.mutation.remove-pivot-field','getDataFieldByRangeKey','versions','needSameDeleteModel','StdDev\x20of\x20','removeCollectionImp','getTargetByPivotTableId','rgb(255,255,255)','_initClearSelectionCommandInterceptor','isEmpty','rowStyle','updateAllDisplayName','sheets-pivot.cellDateGroupDisplay.quarter','addPivotTableWithConfig','SetPivotFilter','undos','_toJSON','setName','30BHNbDA','setRange','originalFieldId','grandTotal','AddPivotTableWithConfig','sheet.mutation.pivot-update-value-position','startCollectChangeset','SetSubtotalType','viewData$','NO_COMMERCIAL','getMatrixValue','product','addPivotField','setDirty','_sheetsPivotRpcService','sheets-pivot.emptyPivot.values','some','getRefRangeMutationsByMoveRange','level','bind','_ensurePivotMap','dimension','Date','getPivotTableIdByCell','COMMAND','setPivotFilter','updateViewInfo','collections','rangeCache','sheets.tabs.sheet','updatePivotTableMatrixInfo','setRangeKeyMap','sheets-pivot.averageName','getSortInfo','contains','unshift','getStyles','sheets-pivot.subTotal','pivotInitCompleted$','removePivotTable','_updatePivotTableInstanceCache','New','Value','getFieldPositionInfoById','getMatrix','deleteField','sheets-pivot.dateGroup.yearMonth','Values','getValueFilterInfos','getSubUnitPivotConfigs','_pivotTableMatrixInfo','sheet.mutation.update-pivot-table-source-range','fields','getUpdateRangeDeleteIds','blank','getLastCol','endColumn','valid','fieldsConfig','sideEffectUpdateWorkerCache','SetPivotSort','_viewData','measure','Average\x20of\x20','setTextInfo','sheet.command.move-pivot-field','_getPivotAppliedRanges','pivotPerformCheck','_refRangeService','_createExclusiveRange','setConfig','getGroupFieldsInfoByIds','sheetName','onQueryStart','_initGlobalComputed','getSheetBySheetName','formJSON','countNums','toString','sheets-pivot.dateGroup.month','deepClone','fetchThroughAsyncInterceptors','getRangeStartEndInfo','(Blank)','textInfo','SetPivotTableConfig','remove','sheets-pivot.cellDateGroupDisplay.hourMinute','document','310QWoLtF','collectionChange$','sheets-pivot.cellDateGroupDisplay.minute','filterFields','row','sheet.mutation.add-pivot-field','getformat','setPivotTableConfig','average','sheet.command.add-pivot-field','sheet.mutation.set-pivot-format','pushUndoRedo','sheet.mutation.set-pivot-position','SetPivotSetting','sheet.command.set-pivot-field-setting','_resourceManagerService','sheet.mutation.send-init-pivot-text-local','pivotTableId','getMatrixFromRunTimeData','onQueryEnd','endRow','renameField','type','fieldsCollectionChange$','Filter','dataFieldId','getRowCount','getIntersectsPivotTable','getPivotDisplayConfig','getTextInfo','forEach','_ensurePivotTableRangeInfo','registerSyncingMutations','forValue','dataFieldsCollection','column','deleteDataField','AddPivotTable','Grand\x20Total','_pivotRenderValueMatrixCache','getFieldById','getTextSize','sheet.mutation.set-pivot-sort-info','MUTATION','valuePosition','addCollectionByJSON','_globalSubject','add','cellValue','_initViewModelBySheetInterceptor','generateNewSheetName','valueFields','_configVersion$','getRangeData','9UvoJuc','_globalComputedEndHelpFunc','isValue','filterInfo','Existing','Div0','unitId','_initUnitDisposed','Delete','update','disposeWithMe','getColCount','node','Expand','_ensurePivotItemRenderValueMatrixCache','70BbpjAJ','getAutoDisplayNameFunction','_collectionConfigModel','_injector','_featureCalculationManagerService','get','clearRenderCache','_markDirty$','getFieldDataType','getMonth','AddField','PIVOT_MUTATION_GENERATE','queryDirtyPivotTable','pushComputingStatusSubject','isDate','_sheetsSelectionsService','getDataFieldBySourceName','subtotal','SHEET_PIVOT_IN_MAIN_THREAD','format','cornerInfo','UpdatePivotSource','SetSortInfo','concat','sheets-pivot.dateGroup.yearMonthDate','FORCE_STRING','BLANK_PLACEHOLDER','call','limit\x20pivot','rangeKey','setSubtotalType','_config','getId','floor','panel','_initConfig','getUnit','isArray','valueFilter','ΣValue','getCollection','error','deleteUnitId','Sum\x20of\x20','colStyle','getTypeOfUnitDisposed$','getSubUnitPivotRenderCache','813606LiGVYu','triggerDirtyFeature','colCount','setDisplayName','_sheetsPivotTableConfigModel','range','minDate','number','ResetPivotTable','#b2b2b2','getRangeKeyList','delete','sheets-pivot.varpName','headerMap','_sheetInterceptorService','sheets-pivot.other','_onRefRangeChange','getCellMatrix','MonthDate','setSortInfo','object','_activeDirtyManagerService','rgb(240,241,243)','push','refreshData','sheets-pivot.columnName','updateConfigCache','col','_initRegisterCommand','realDeleteValue','data','_sheetsPivotTableService','iterateFieldByArea','pivotTableIndexConfig','sheets-pivot.stdDevName','getColumnCount','endCollectChangeset','return\x20','generateMutationsByRanges','string','_host','updateFieldPosition','updateViewData','find','symbol','sortInfo','sheet.command.set-pivot-sort','movePivotField','dataRangeInfo','rangeType','_deleteModelCache','Column','has','getPivotTableRangeInfo','#1d32e9','_collectionChange$','_initDataSendListener','updateValuePosition','getSheetId','displayName','YearMonthDate','dataFields','_commandService','ManualFilter','_pivotRenderInfoCache','registerRefRange','sheet.command.pivot-drill-down','sheet.mutation.pivot-update-field-source-info','_ensurePivotTableMatrixInfo','lastRow','STRING','AddPivotField','updateView','5029512kaSEzV','#eceeff','setDataRecordCount','getColumnWidth','rowCount','intersects','getFullYear','oldRangeInfo','Total','addDirtyPivotTable','_globalComputingSrv','subUnitId','removeSourceRangeChange','DIV_BY_ZERO','info','batch','getTargetByPivotId','_requestResolvers','subscribe','params','_generateUniqueVersion','NotNumber','addField','collection','subTotalStyle','updateRenderCache','_updateRenderEmptyCache','#e6ebfb','value','getNoUsedDataFieldIds','replace','createDataFieldId','_sheetsPivotTableAdaptorModel','collapseInfo','disposableCollection','stdDevp','message','splice','sheets-pivot.dateGroup.hour','setPivotSort','_pivotConfigChange$','getFieldInfo','pbt','RemovePivotField','Quarter','_initPivotTextInfo','getOriginFieldId','getPivotTableCellData','updateCollectionConfig','\x20-\x20','prototype','hasOwnProperty','_viewUpdate$','colRanges','2984002GwSVTP','PivotMultipleValueId','getPivotTableMatrixInfo','width','broadcastCollectionChange','getFieldFormat','size','sheet.mutation.add-group-collection','_pivotTableInstanceCache','setFieldFormat','registerDirtyService','onCommandExecuted','var','pageRanges','adjustSheetCellData','tuple','sheet.command.reset-pivot-fields-config','_model','stdDev','interceptor','_pivotTableRangeInfo','varp','length','pivotTableConfigs','getCurrentUnitForType','DrillDown','rowRanges','maxDate','_getAutoName','_pivotInitCompleted$','stringify','getPivotTableModelConfig','registerPluginResource','dispose','_fieldsCollectionChange$','dataStream','getAutoFitColumnsMutations','addPivotTable','_configService','other','RemoveField','setDateType','filter','getDataFieldManager','_textInfo','sheet.mutation.send-pivot-config-local','getPivotDirtyViewInfo','targetCellInfo','REF','sheets-pivot.emptyPivot.column','hSa8lB6a\x20cb8m9OlB6a(LB8basb,\x20OSdLB87b9)\x20{\x20\x20\x20\x20lm9\x20{\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20LB8basbWah6pGmlKmmG9\x20=\x20LB8basb.sOLBl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x206mB0BagbssG0b\x20=\x20exr4.OGmsb(Gl6d(LB8basbWah6pGmlKmmG9[N]));\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!6mB0BagbssG0b.Sc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206mB0BagbssG0b.Sc\x20=\x204SQdbm(LB8basbWah6pGmlKmmG9[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20Bsw6m3bm\x20=\x20l9Ob6h\x20w6m3bm2L6dGLx86Ob\x20!==\x20\x27SacbhBabc\x27\x20&&\x20sbLh\x20BaslGa8b6h\x20w6m3bm2L6dGLx86Ob;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x2086albIl\x20=\x20Bsw6m3bm\x20?\x20sbLh\x20:\x20kBac6k;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0bw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[N]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0b\x20=\x2086albIl.__FbI__.slmBa0Bh9(QbssG0bw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmbw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[n]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmb\x20=\x2086albIl.__FbI__.slmBa0Bh9(sB0aGlSmbw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aJGLBc\x20=\x2086albIl.__5bmBh9__(sB0aGlSmb,\x20QbssG0b,\x20OSdLB87b9);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20c6QGBa\x20=\x206mB0BagbssG0b.cQ;\x20\x20\x20\x20\x20\x20\x20\x20hSa8lB6a\x20Bsq6QGBagGl8fBa0(6pGllbma,\x206F6sl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbma\x20=\x206pGllbma.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6sl\x20=\x206F6sl.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmapGmls\x20=\x20OGllbma.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slpGmls\x20=\x20f6sl.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!OGllbma.Ba8LScbs(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbma\x20===\x20f6sl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(OGllbmapGmls.Lba0lf\x20<\x20N\x20||\x20OGllbmapGmls[t]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20hGLsb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmaxShhBI\x20=\x20OGllbmapGmls.sLB8b(Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slxShhBI\x20=\x20f6slpGmls.sLB8b(-OGllbmapGmls.Lba0lf\x20+\x20Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbmaxShhBI\x20===\x20f6slxShhBI;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Lbl\x20c6QGBaJGLBc\x20=\x20(c6QGBa\x20&&\x20c6QGBa.Lba0lf)\x20?\x20c6QGBa.s6Qb((cQWlbQ)\x20=>\x20Bsq6QGBagGl8fBa0(cQWlbQ,\x20L68GlB6a.f6slaGQb))\x20:\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(L68GlB6a.f6slaGQb\x20===\x20\x27L68GLf6sl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20c6QGBaJGLBc\x20=\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x205GLBc\x20=\x20sB0aJGLBc\x20&&\x20c6QGBaJGLBc;\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x206mB0BagbssG0b,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Gl8f\x20(bmm6m)\x20{\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc:\x20hGLsb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','SetFieldFormat','registerCallbackWithEvent','startRow','getPivotTableConfig','removePivotField'];_0x4801=function(){return _0x3d33e8;};return _0x4801();}const $t={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x37a),'handler'(_0x437b2e,_0x6988f7){const _0xdfbbb1=_0x2cfc65;if(!_0x6988f7)return!0x1;if(!!_0x437b2e[_0xdfbbb1(0x13e)](_0x931275)[_0xdfbbb1(0x303)](Y))return!0x0;const _0x2a7cd3=_0x437b2e['get']($),{pivotTableId:_0x9972fa,fieldJson:_0x1dfe94,area:_0x54ee47,index:_0x149831,unitId:_0xeaa696,subUnitId:_0x19a674}=_0x6988f7,_0x1ed46a=_0x2a7cd3[_0xdfbbb1(0x2bc)](_0x9972fa);if(!_0x1ed46a)return!0x1;let _0xc4e8db;_0x54ee47===_0xeefe5e[_0xdfbbb1(0x346)]?_0xc4e8db=_0x10871b(_0x1dfe94):_0xc4e8db=_0x8b4139(_0x1dfe94),_0x1ed46a[_0xdfbbb1(0x1c7)](_0xc4e8db,_0x54ee47,_0x149831);const _0x4f5b79=_0x2a7cd3[_0xdfbbb1(0x206)](_0xeaa696,_0x19a674,_0x9972fa);ts(_0x4f5b79,_0x6988f7);const _0x2dbe14=_0x2a7cd3['getPivotTableConfig'](_0xeaa696,_0x19a674,_0x9972fa);return _0x2a7cd3[_0xdfbbb1(0x1ba)]({'unitId':_0xeaa696,'subUnitId':_0x19a674,'token':_0x9972fa,'type':G[_0xdfbbb1(0x2d8)],'pivotConfig':_0x2dbe14}),!0x0;}},Jt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x30a),'handler'(_0x470761,_0x5da1c4){const _0x5deb61=_0x2cfc65;if(!_0x5da1c4)return!0x1;if(!!_0x470761[_0x5deb61(0x13e)](_0x931275)[_0x5deb61(0x303)](Y))return!0x0;const _0x536406=_0x470761[_0x5deb61(0x13e)]($),{pivotTableId:_0x6787ce,fieldId:_0x68cbb3,unitId:_0x3a02c3,subUnitId:_0x40ed19}=_0x5da1c4,_0x379ece=_0x536406['getPivotTableInstance'](_0x6787ce);if(!_0x379ece)return!0x1;_0x379ece[_0x5deb61(0x2ed)](_0x68cbb3);const _0x365f13=_0x536406['getPivotTableModelConfig'](_0x3a02c3,_0x40ed19,_0x6787ce);os(_0x365f13,_0x5da1c4);const _0x55f91e=_0x536406[_0x5deb61(0x21d)](_0x3a02c3,_0x40ed19,_0x6787ce);return _0x536406['addDirtyPivotTable']({'unitId':_0x3a02c3,'subUnitId':_0x40ed19,'token':_0x6787ce,'type':G['Set'],'pivotConfig':_0x55f91e}),!0x0;}},Wt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x22f),'handler'(_0x4c3c5e,_0x6e1f66){const _0x18ce68=_0x2cfc65;if(!_0x6e1f66)return!0x1;if(!!_0x4c3c5e[_0x18ce68(0x13e)](_0x931275)[_0x18ce68(0x303)](Y))return!0x0;const _0x55377e=_0x4c3c5e[_0x18ce68(0x13e)]($),{unitId:_0x180e91,subUnitId:_0x3275b2,pivotTableId:_0x4bd625,fieldId:_0x2584ee,name:_0x2e3a32}=_0x6e1f66,_0x51d8c5=_0x55377e[_0x18ce68(0x2bc)](_0x4bd625);if(!_0x51d8c5)return!0x1;_0x51d8c5[_0x18ce68(0x38a)](_0x2584ee,_0x2e3a32);const _0x48af9b=_0x55377e[_0x18ce68(0x206)](_0x180e91,_0x3275b2,_0x4bd625);return ns(_0x48af9b,_0x6e1f66),_0x55377e[_0x18ce68(0x1ba)]({'unitId':_0x180e91,'subUnitId':_0x3275b2,'token':_0x4bd625,'type':G[_0x18ce68(0x2d8)]}),!0x0;}},jt={'type':_0x36216a['MUTATION'],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x1ab240,_0x1ad8d4){const _0x98bdbc=_0x2cfc65;if(!_0x1ad8d4)return!0x1;if(!!_0x1ab240[_0x98bdbc(0x13e)](_0x931275)[_0x98bdbc(0x303)](Y))return!0x0;const _0x212001=_0x1ab240[_0x98bdbc(0x13e)]($),{unitId:_0x90169d,subUnitId:_0x2bdc29,pivotTableId:_0x439431,fieldId:_0x5db3d3,collapse:_0x5f5c94,item:_0x57d261}=_0x1ad8d4,_0x141732=_0x212001[_0x98bdbc(0x2bc)](_0x439431);if(!_0x141732)return!0x1;_0x141732[_0x98bdbc(0x2b3)](_0x5db3d3,_0x5f5c94,_0x57d261);const _0x358c25=_0x212001[_0x98bdbc(0x206)](_0x90169d,_0x2bdc29,_0x439431);return is(_0x358c25,_0x1ad8d4),_0x212001['addDirtyPivotTable']({'unitId':_0x90169d,'subUnitId':_0x2bdc29,'token':_0x439431,'type':G[_0x98bdbc(0x2d8)]}),!0x0;}},Kt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x37f),'handler'(_0x308ab4,_0x4778d7){const _0x5d5532=_0x2cfc65;if(!_0x4778d7)return!0x1;if(!!_0x308ab4[_0x5d5532(0x13e)](_0x931275)[_0x5d5532(0x303)](Y))return!0x0;const _0x53c09e=_0x308ab4[_0x5d5532(0x13e)]($),{unitId:_0x12cef4,subUnitId:_0x30f128,pivotTableId:_0x39fa7c,fieldId:_0x5c660d,format:_0x5d1a05}=_0x4778d7,_0xb12e53=_0x53c09e['getPivotTableInstance'](_0x39fa7c);if(!_0xb12e53)return!0x1;_0xb12e53['setFieldFormat'](_0x5c660d,_0x5d1a05);const _0x135d66=_0x53c09e[_0x5d5532(0x206)](_0x12cef4,_0x30f128,_0x39fa7c);return ss(_0x135d66,_0x4778d7),_0x53c09e[_0x5d5532(0x1ba)]({'unitId':_0x12cef4,'subUnitId':_0x30f128,'token':_0x39fa7c,'type':G[_0x5d5532(0x2d8)]}),!0x0;}},Ht={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x263),'handler'(_0x36f1b0,_0x5ad60b){const _0x5de5dc=_0x2cfc65;if(!_0x5ad60b)return!0x1;if(!!_0x36f1b0['get'](_0x931275)[_0x5de5dc(0x303)](Y))return!0x0;const _0x91b4c6=_0x36f1b0[_0x5de5dc(0x13e)]($),{unitId:_0x40bfcb,subUnitId:_0x25d696,pivotTableId:_0x5e873c,fieldId:_0x5859d4,filterInfo:_0x5d72b9}=_0x5ad60b,_0xe5b68a=_0x91b4c6['getPivotTableInstance'](_0x5e873c);if(!_0xe5b68a)return!0x1;_0xe5b68a[_0x5de5dc(0x26a)](_0x5859d4,_0x5d72b9);const _0xde9d61=_0x91b4c6[_0x5de5dc(0x206)](_0x40bfcb,_0x25d696,_0x5e873c);return as(_0xde9d61,_0x5ad60b),_0x91b4c6[_0x5de5dc(0x1ba)]({'unitId':_0x40bfcb,'subUnitId':_0x25d696,'token':_0x5e873c,'type':G[_0x5de5dc(0x2d8)]}),!0x0;}},qt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':'sheet.mutation.set-pivot-option','handler'(_0x5cc0d8,_0x424a0a){const _0x407758=_0x2cfc65;if(!_0x424a0a)return!0x1;if(!!_0x5cc0d8['get'](_0x931275)[_0x407758(0x303)](Y))return!0x0;const _0xae83b4=_0x5cc0d8[_0x407758(0x13e)]($),{unitId:_0xf7d9ce,subUnitId:_0x29e8ac,pivotTableId:_0x1e741e,options:_0x3e7a1c}=_0x424a0a,_0x14d444=_0xae83b4[_0x407758(0x2bc)](_0x1e741e);if(!_0x14d444)return!0x1;_0x14d444[_0x407758(0x287)](_0x3e7a1c);const _0x25b119=_0xae83b4[_0x407758(0x206)](_0xf7d9ce,_0x29e8ac,_0x1e741e);return gs(_0x25b119,_0x424a0a),_0xae83b4[_0x407758(0x1ba)]({'unitId':_0xf7d9ce,'subUnitId':_0x29e8ac,'token':_0x1e741e,'type':G['Set']}),!0x0;}},Qt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x11e),'handler'(_0x1e35c2,_0x216c06){const _0x3c62bf=_0x2cfc65;if(!_0x216c06)return!0x1;if(!!_0x1e35c2[_0x3c62bf(0x13e)](_0x931275)[_0x3c62bf(0x303)](Y))return!0x0;const _0xf24af6=_0x1e35c2[_0x3c62bf(0x13e)]($),{unitId:_0x4276d5,subUnitId:_0x16fb95,pivotTableId:_0x35ae81,sortInfo:_0x54ec55,fieldId:_0x7f08be}=_0x216c06,_0x25bcdf=_0xf24af6[_0x3c62bf(0x2bc)](_0x35ae81);if(!_0x25bcdf)return!0x1;_0x25bcdf[_0x3c62bf(0x17b)](_0x7f08be,_0x54ec55);const _0x5b3321=_0xf24af6['getPivotTableModelConfig'](_0x4276d5,_0x16fb95,_0x35ae81);return fs(_0x5b3321,_0x216c06),_0xf24af6[_0x3c62bf(0x1ba)]({'unitId':_0x4276d5,'subUnitId':_0x16fb95,'token':_0x35ae81,'type':G[_0x3c62bf(0x2d8)]}),!0x0;}},Yt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x26b),'handler'(_0xfd43f8,_0x42136c){const _0x218ab4=_0x2cfc65;if(!_0x42136c)return!0x1;if(!!_0xfd43f8[_0x218ab4(0x13e)](_0x931275)[_0x218ab4(0x303)](Y))return!0x0;const _0x2674f4=_0xfd43f8[_0x218ab4(0x13e)]($),{unitId:_0x35c870,subUnitId:_0xb7ca65,pivotTableId:_0xb250a5,fieldId:_0x27e6fa,subtotalType:_0x528d64}=_0x42136c,_0x423790=_0x2674f4[_0x218ab4(0x2bc)](_0xb250a5);if(!_0x423790)return!0x1;_0x423790[_0x218ab4(0x157)](_0x27e6fa,_0x528d64);const _0x52c55c=_0x2674f4[_0x218ab4(0x206)](_0x35c870,_0xb7ca65,_0xb250a5);return ls(_0x52c55c,_0x42136c),_0x2674f4['addDirtyPivotTable']({'unitId':_0x35c870,'subUnitId':_0xb7ca65,'token':_0xb250a5,'type':G['Set']}),!0x0;}},zt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x2b5),'handler'(_0x1b1917,_0x197ad6){const _0x11ea43=_0x2cfc65;if(!_0x197ad6)return!0x1;if(!!_0x1b1917[_0x11ea43(0x13e)](_0x931275)['getConfig'](Y))return!0x0;const _0x21ec37=_0x1b1917[_0x11ea43(0x13e)]($),{unitId:_0x56f301,subUnitId:_0x4bd13a,pivotTableId:_0x4bcf11,fieldId:_0x4a97b7,filterInfo:_0x324575}=_0x197ad6,_0xd6c55e=_0x21ec37[_0x11ea43(0x2bc)](_0x4bcf11);if(!_0xd6c55e)return!0x1;_0xd6c55e[_0x11ea43(0x2ea)](_0x4a97b7,_0x324575);const _0x57340a=_0x21ec37['getPivotTableModelConfig'](_0x56f301,_0x4bd13a,_0x4bcf11);return rs(_0x57340a,_0x197ad6),_0x21ec37[_0x11ea43(0x1ba)]({'unitId':_0x56f301,'subUnitId':_0x4bd13a,'token':_0x4bcf11,'type':G[_0x11ea43(0x2d8)]}),!0x0;}},Xt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x5cb76a,_0x145fa2){const _0x491b3d=_0x2cfc65;if(!_0x145fa2)return!0x1;if(!!_0x5cb76a['get'](_0x931275)[_0x491b3d(0x303)](Y))return!0x0;const _0x2fbe8b=_0x5cb76a[_0x491b3d(0x13e)]($),{unitId:_0x347dd2,subUnitId:_0x4fdefc,pivotTableId:_0x1710ec,area:_0x2772ce,index:_0x420ff4,fieldId:_0x102f46}=_0x145fa2,_0x44b9ed=_0x2fbe8b[_0x491b3d(0x2bc)](_0x1710ec);if(!_0x44b9ed)return!0x1;_0x44b9ed[_0x491b3d(0x191)](_0x102f46,_0x2772ce,_0x420ff4);const _0x46851d=_0x2fbe8b[_0x491b3d(0x206)](_0x347dd2,_0x4fdefc,_0x1710ec);return cs(_0x46851d,_0x145fa2),_0x2fbe8b['addDirtyPivotTable']({'unitId':_0x347dd2,'subUnitId':_0x4fdefc,'token':_0x1710ec,'type':G['Set']}),!0x0;}},Zt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x1ab),'handler'(_0x16dccc,_0x1e5855){const _0x23db8b=_0x2cfc65;if(!_0x1e5855)return!0x1;if(!!_0x16dccc[_0x23db8b(0x13e)](_0x931275)[_0x23db8b(0x303)](Y))return!0x0;const _0x11644d=_0x16dccc['get']($),{unitId:_0x59ab5f,subUnitId:_0x5101a3,pivotTableId:_0x1995ee,sourceName:_0x39a185,dataFieldId:_0x3c6ca6,tableFieldId:_0x2c7c0b}=_0x1e5855,_0x22d5a4=_0x11644d[_0x23db8b(0x2bc)](_0x1995ee);if(!_0x22d5a4)return!0x1;_0x22d5a4['updateFieldSourceInfo'](_0x2c7c0b,_0x39a185,_0x3c6ca6);const _0x4b0d33=_0x11644d['getPivotTableModelConfig'](_0x59ab5f,_0x5101a3,_0x1995ee);return us(_0x4b0d33,_0x1e5855),_0x11644d[_0x23db8b(0x1ba)]({'unitId':_0x59ab5f,'subUnitId':_0x5101a3,'token':_0x1995ee,'type':G[_0x23db8b(0x2d8)]}),!0x0;}},eo={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x321),'handler'(_0x207b39,_0x2c2951){const _0x50f72c=_0x2cfc65;if(!_0x2c2951)return!0x1;if(!!_0x207b39[_0x50f72c(0x13e)](_0x931275)[_0x50f72c(0x303)](Y))return!0x0;const _0x1a7b36=_0x207b39[_0x50f72c(0x13e)]($),{unitId:_0x5d70e4,subUnitId:_0x3cc8ef,pivotTableId:_0x4561ab,valuePosition:_0x56fc03,index:_0x4b231c}=_0x2c2951,_0x31a502=_0x1a7b36[_0x50f72c(0x2bc)](_0x4561ab);if(!_0x31a502)return!0x1;_0x31a502[_0x50f72c(0x1a1)](_0x56fc03,_0x4b231c);const _0x7e0a98=_0x1a7b36[_0x50f72c(0x206)](_0x5d70e4,_0x3cc8ef,_0x4561ab);return ds(_0x7e0a98,_0x2c2951),_0x1a7b36['addDirtyPivotTable']({'unitId':_0x5d70e4,'subUnitId':_0x3cc8ef,'token':_0x4561ab,'type':G['Set']}),!0x0;}};function me(_0x2c32eb,_0xcb8851,_0x24f12b){const _0xb19609=_0x2cfc65,{pivotTableId:_0x2fa1da,unitId:_0x37a9f6,subUnitId:_0x544f0e}=_0xcb8851,_0x25494d=[],_0x5eae13=[];for(const _0x2279c4 of _0x24f12b)switch(_0x2279c4[_0xb19609(0x38b)]){case _0x25cb6c[_0xb19609(0x143)]:{const {fieldJson:_0x4b24af,area:_0x1a0ca4,index:_0x297945}=_0x2279c4,_0x15cf20={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldJson':_0x4b24af,'area':_0x1a0ca4,'index':_0x297945},_0x26f38d={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x4b24af['id'],'area':_0x1a0ca4,'index':_0x297945};_0x25494d['push']({'id':$t['id'],'params':_0x15cf20}),_0x5eae13[_0xb19609(0x33f)]({'id':Jt['id'],'params':_0x26f38d});}break;case _0x25cb6c[_0xb19609(0x323)]:{const {fieldId:_0x3c0369,newSubtotalType:_0x1f6c6a,oldSubtotalType:_0x31ef21}=_0x2279c4,_0x45aab1={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x3c0369,'subtotalType':_0x1f6c6a};_0x25494d[_0xb19609(0x17f)]({'id':Yt['id'],'params':_0x45aab1});const _0x12f799={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x3c0369,'subtotalType':_0x31ef21};_0x5eae13['unshift']({'id':Yt['id'],'params':_0x12f799});}break;case _0x25cb6c[_0xb19609(0x20f)]:{const {fieldId:_0x5b216c,fieldJson:_0x296ba2,area:_0x42338d,index:_0x5bc5c0}=_0x2279c4,_0x230b21={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x5b216c,'index':_0x5bc5c0,'area':_0x42338d};_0x25494d['push']({'id':Jt['id'],'params':_0x230b21});const _0x1b2971={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldJson':_0x296ba2,'area':_0x42338d,'index':_0x5bc5c0};_0x5eae13[_0xb19609(0x33f)]({'id':$t['id'],'params':_0x1b2971});}break;case _0x25cb6c['RenameField']:{const {fieldId:_0xd5421f,oldName:_0x1b1c62,newName:_0x42ba43}=_0x2279c4,_0x13da40={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0xd5421f,'name':_0x42ba43};_0x25494d[_0xb19609(0x17f)]({'id':Wt['id'],'params':_0x13da40});const _0xd62ca5={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0xd5421f,'name':_0x1b1c62};_0x5eae13[_0xb19609(0x33f)]({'id':Wt['id'],'params':_0xd62ca5});}break;case _0x25cb6c[_0xb19609(0x2fe)]:{const {fieldId:_0x585fe4,oldFilterInfo:_0x9f0b1d,newFilterInfo:_0x43da53}=_0x2279c4,_0x5e3b41={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x585fe4,'filterInfo':_0x43da53};_0x25494d['push']({'id':Ht['id'],'params':_0x5e3b41});const _0xbc08c0={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x585fe4,'filterInfo':_0x9f0b1d};_0x5eae13[_0xb19609(0x33f)]({'id':Ht['id'],'params':_0xbc08c0});}break;case _0x25cb6c[_0xb19609(0x14f)]:{const {fieldId:_0x172021,oldSortInfo:_0xf54d6d,newSortInfo:_0x2ddaa5}=_0x2279c4,_0x325113={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x172021,'sortInfo':_0x2ddaa5};_0x25494d[_0xb19609(0x17f)]({'id':Qt['id'],'params':_0x325113});const _0x93020a={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x172021,'sortInfo':_0xf54d6d};_0x5eae13[_0xb19609(0x33f)]({'id':Qt['id'],'params':_0x93020a});}break;case _0x25cb6c['SetOptions']:{const {oldOptions:_0x22ea6c,newOptions:_0x452a2c}=_0x2279c4,_0x14b743={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'options':_0x452a2c};_0x25494d[_0xb19609(0x17f)]({'id':qt['id'],'params':_0x14b743});const _0x3f85bf={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'options':_0x22ea6c};_0x5eae13[_0xb19609(0x33f)]({'id':qt['id'],'params':_0x3f85bf});}break;case _0x25cb6c['UpdateFieldPosition']:{const {oldArea:_0x269223,newArea:_0x5d6a07,oldIndex:_0x5d987c,newIndex:_0x33849b,fieldId:_0x2ad96f}=_0x2279c4,_0x309e5d={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x2ad96f,'area':_0x5d6a07,'index':_0x33849b,'oldArea':_0x269223,'oldIndex':_0x5d987c};_0x25494d[_0xb19609(0x17f)]({'id':Xt['id'],'params':_0x309e5d});const _0x24c45e={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x2ad96f,'area':_0x269223,'index':_0x5d987c,'oldArea':_0x5d6a07,'oldIndex':_0x33849b};_0x5eae13[_0xb19609(0x33f)]({'id':Xt['id'],'params':_0x24c45e});}break;case _0x25cb6c[_0xb19609(0x250)]:{const {oldValuePosition:_0x294100,newValuePosition:_0xd1fcae,oldIndex:_0x70f9e3,newIndex:_0x45060b}=_0x2279c4,_0x46170e={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'valuePosition':_0xd1fcae,'index':_0x45060b};_0x25494d['push']({'id':eo['id'],'params':_0x46170e});const _0x36aa60={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'valuePosition':_0x294100,'index':_0x70f9e3};_0x5eae13['unshift']({'id':eo['id'],'params':_0x36aa60});}break;case _0x25cb6c['SetCollapse']:{const {fieldId:_0x5761d9,collapse:_0x41317a,item:_0x2fda2b}=_0x2279c4,_0x65230={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x5761d9,'collapse':_0x41317a,'item':_0x2fda2b};_0x25494d[_0xb19609(0x17f)]({'id':jt['id'],'params':_0x65230});const _0xe516ad={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x5761d9,'collapse':!_0x41317a,'item':_0x2fda2b};_0x5eae13[_0xb19609(0x33f)]({'id':jt['id'],'params':_0xe516ad});}break;case _0x25cb6c[_0xb19609(0x21a)]:{const {newFormat:_0xe79ad2,oldFormat:_0x39fa22,fieldId:_0x41d494}=_0x2279c4,_0x428f7b={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x41d494,'format':_0xe79ad2};_0x25494d['push']({'id':Kt['id'],'params':_0x428f7b});const _0xafb14f={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x41d494,'format':_0x39fa22};_0x5eae13[_0xb19609(0x33f)]({'id':Kt['id'],'params':_0xafb14f});}break;case _0x25cb6c['UpdateSource']:{const {tableFieldId:_0x3a35ff,oldSourceName:_0x846a8c,newSourceName:_0xded575,oldDataFieldId:_0x422b5f,newDataFieldId:_0x4e6682}=_0x2279c4,_0x2a69f3={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'tableFieldId':_0x3a35ff,'sourceName':_0xded575,'dataFieldId':_0x4e6682};_0x25494d[_0xb19609(0x17f)]({'id':Zt['id'],'params':_0x2a69f3});const _0x298407={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'tableFieldId':_0x3a35ff,'sourceName':_0x846a8c,'dataFieldId':_0x422b5f};_0x5eae13['unshift']({'id':Zt['id'],'params':_0x298407});}break;case _0x25cb6c['SetValueFilter']:{const {fieldId:_0x35fda9,filterInfo:_0x41a229,oldFilterInfo:_0x4fdbb1}=_0x2279c4,_0x1fd73c={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x35fda9,'filterInfo':_0x41a229};_0x25494d['push']({'id':zt['id'],'params':_0x1fd73c});const _0x5992cb={'unitId':_0x37a9f6,'subUnitId':_0x544f0e,'pivotTableId':_0x2fa1da,'fieldId':_0x35fda9,'filterInfo':_0x4fdbb1};_0x5eae13[_0xb19609(0x33f)]({'id':zt['id'],'params':_0x5992cb});}}return{'redos':_0x25494d,'undos':_0x5eae13};}function _e(_0x112bb6,_0x35576b){const _0x349f66=_0x2cfc65;var _0x5b3600;const _0x580765=_0x112bb6[_0x349f66(0x13e)](ie),{cellInfo:_0x4b061,view:_0x3580cb,isEmpty:_0x5e7a49}=_0x35576b;return(_0x5b3600=_0x580765[_0x349f66(0x1fa)]['fetchThroughInterceptors'](Jo)(To,{'cellInfo':_0x4b061,'view':_0x3580cb,'isEmpty':_0x5e7a49}))!=null?_0x5b3600:To;}const hs={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x37e),async 'handler'(_0x3177c6,_0x37eb1c){const _0x445514=_0x2cfc65;if(!_0x37eb1c)return!0x1;const _0x2b1d65=_0x3177c6[_0x445514(0x13e)](_0x4c491b),_0x23e787=_0x3177c6[_0x445514(0x13e)](X),_0x445c30=_0x3177c6['get'](_0x5cd9a0),{pivotTableId:_0x249e16,dataFieldId:_0x17f784,fieldArea:_0x32ea2e,index:_0x3becb3,unitId:_0x201e78,subUnitId:_0x337721}=_0x37eb1c,_0x2df7f8=(await _0x23e787[_0x445514(0x110)]({'unitId':_0x201e78,'subUnitId':_0x337721,'pivotTableId':_0x249e16,'params':{'type':B[_0x445514(0x1af)],'addPivotField':{'dataFieldId':_0x17f784,'fieldArea':_0x32ea2e,'index':_0x3becb3}}}))['result'][_0x445514(0x328)];if(!_0x2df7f8)return!0x1;const {view:_0x255ba4,changesets:_0x7f28f8,isEmpty:_0x4d6a6a,pivotTableConfig:_0x160bc2,shouldBeAddedGroupJSON:_0x13b903}=_0x2df7f8,_0x22087a=_0x160bc2['targetCellInfo'],_0x4934eb=new _0x1b10b0();_0x4934eb[_0x445514(0x368)](_0x255ba4);const _0x387c74={'cellInfo':_0x22087a,'view':_0x4934eb,'isEmpty':_0x4d6a6a};if(!await _0x3177c6[_0x445514(0x13e)](ie)[_0x445514(0x221)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x387c74))return!0x1;const _0x4853ab=we(_0x3177c6,_0x4934eb,_0x22087a,_0x4d6a6a),_0x5d62d4=_e(_0x3177c6,_0x387c74),{undos:_0x4b27fa,redos:_0x4cef66}=me(_0x2b1d65,{'pivotTableId':_0x249e16,'unitId':_0x201e78,'subUnitId':_0x337721},_0x7f28f8);return _0x13b903&&(_0x4cef66[_0x445514(0x33f)]({'id':zo['id'],'params':{'pivotTableId':_0x249e16,'fieldJSON':_0x13b903,'unitId':_0x201e78,'subUnitId':_0x337721}}),_0x4b27fa[_0x445514(0x17f)]({'id':Xo['id'],'params':{'pivotTableId':_0x249e16,'dataFieldId':_0x13b903['id'],'unitId':_0x201e78,'subUnitId':_0x337721}})),_0x414dc6([..._0x4853ab[_0x445514(0x235)],..._0x5d62d4[_0x445514(0x235)],..._0x4cef66],_0x2b1d65),_0x445c30[_0x445514(0x380)]({'unitID':_0x201e78,'redoMutations':[..._0x4853ab['redos'],..._0x5d62d4[_0x445514(0x235)],..._0x4cef66],'undoMutations':[..._0x4853ab['undos'],..._0x5d62d4[_0x445514(0x319)],..._0x4b27fa]}),!0x0;}},vs=()=>typeof process<'u'&&process['versions']!=null&&process[_0x2cfc65(0x30c)][_0x2cfc65(0x136)]!=null,Ct={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x28c),'handler'(_0x3b7432,_0x36b482){const _0x4c0664=_0x2cfc65;var _0x4f690b;if(!_0x36b482)return!0x1;const _0x480972=_0x3b7432['get'](_0x931275);if(!!_0x480972[_0x4c0664(0x303)](Y))return!0x0;const _0xf5151c=_0x3b7432['get'](_0x295672),_0x2f9935=_0x3b7432['get']($),{pivotTableId:_0x361d9a,pivotTableConfig:_0x131080,collectionConfig:_0x1ccbe0,unitId:_0x546065,subUnitId:_0x53c299}=_0x36b482,{sourceRangeInfo:_0x2d0dff,fieldsConfig:_0x45be3b,targetCellInfo:_0x16491a}=_0x131080,_0xccd03d=_0xf5151c[_0x4c0664(0x15d)](_0x546065);if(!_0xccd03d||!_0xccd03d[_0x4c0664(0x248)](_0x53c299))return!0x1;if(!vs()){let _0xd47031=0x0;_0xccd03d[_0x4c0664(0x243)]()['forEach'](_0x4bb097=>{const _0x431cf3=_0x4c0664;var _0x309b16,_0x178654;_0xd47031+=(_0x178654=(_0x309b16=_0x2f9935['getSubUnitPivotConfigs'](_0x546065,_0x4bb097[_0x431cf3(0x1a2)]()))==null?void 0x0:_0x309b16[_0x431cf3(0x1ed)])!=null?_0x178654:0x0;});const _0x552bdc=(_0x4f690b=_0x480972[_0x4c0664(0x303)](_0x2b702e))!=null?_0x4f690b:{},{ls:_0xa0b1d9,pbk:_0xb8c5f6}=_0x552bdc;if(!Ho(_0xa0b1d9,_0xb8c5f6))throw new _0x3580bc(_0x4c0664(0x155));const _0x5b16f2=go(so,_0xa0b1d9,_0xb8c5f6)[_0x4c0664(0x251)];if(_0xd47031>=_0x5b16f2)throw new _0x3580bc(_0x4c0664(0x155));}if(!_0x1ccbe0||!_0x45be3b)return!0x1;const {collection:_0x51b3de,updateDataFieldList:_0x4cfa57}=_0x2f9935[_0x4c0664(0x121)](_0x361d9a,_0x1ccbe0,_0x2d0dff,_0x16491a);_0x2f9935[_0x4c0664(0x180)](_0x51b3de,_0x4cfa57,_0x2d0dff);const _0x537c52=new _0xa87c2b(_0x51b3de,void 0x0,_0x361d9a);_0x537c52['fromJSON'](_0x45be3b);const _0x41137d=JSON[_0x4c0664(0x2da)](JSON[_0x4c0664(0x205)](_0x131080));return _0x2f9935[_0x4c0664(0x20c)](_0x546065,_0x53c299,_0x361d9a,_0x537c52,_0x41137d),_0x2f9935[_0x4c0664(0x1ba)]({'unitId':_0x546065,'subUnitId':_0x53c299,'token':_0x361d9a,'type':G[_0x4c0664(0x299)],'pivotConfig':_0x41137d}),!0x0;}},ps={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x32cee,_0x2d49ed){const _0x54dab4=_0x2cfc65;if(!_0x2d49ed)return!0x1;const {sourceDataInfo:_0x55c528,pivotTableConfig:_0x40da68}=_0x2d49ed;if(!_0x55c528||!_0x40da68)return!0x1;const {unitId:_0x2a6314,subUnitId:_0x4ea9fe,range:_0x4c21fc}=_0x55c528,_0x2bd166=_0x32cee[_0x54dab4(0x13e)](_0x295672),_0x2ea547=_0x32cee['get'](X),_0x44344e=_0x32cee['get'](_0x2a61e0),_0x20ce44=_0x32cee['get'](_0x4c491b),_0x340f82=_0x2bd166[_0x54dab4(0x15d)](_0x2a6314);if(!_0x340f82)return!0x1;const _0x4ad95e=_0x340f82[_0x54dab4(0x248)](_0x4ea9fe);if(!_0x4ad95e)return!0x1;const _0x465171=_0x552661(0x8),_0x11d7b0=_0x4c21fc||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4ad95e[_0x54dab4(0x10e)]()-0x1,'endColumn':_0x4ad95e[_0x54dab4(0x18b)]()-0x1};_0x11d7b0[_0x54dab4(0x199)]=_0x2948f9[_0x54dab4(0x286)];const _0x2d0816=(await _0x2ea547[_0x54dab4(0x110)]({'unitId':_0x2a6314,'subUnitId':_0x4ea9fe,'pivotTableId':_0x465171,'params':{'type':B['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2a6314,'sheetName':_0x4ad95e[_0x54dab4(0x27a)](),'subUnitId':_0x4ea9fe,'range':_0x11d7b0},'pivotTableId':_0x465171,'pivotTableIndexConfig':_0x40da68}}}))[_0x54dab4(0x22a)]['addPivotTableWithConfig'];if(!_0x2d0816)return!0x1;const {isEmpty:_0x579018,fieldsConfig:_0x4bddfa,collectionConfig:_0x1e322b,changesets:_0x4ae16c}=_0x2d0816,_0xe722b0=_0x340f82[_0x54dab4(0x243)]()[_0x54dab4(0x1fd)],_0x135ad8=_0x6dfe44({'rowCount':_0x4ad95e[_0x54dab4(0x10e)]()-0x1,'columnCount':_0x4ad95e[_0x54dab4(0x18b)]()-0x1});_0x135ad8['id']=_0x44435e(),_0x135ad8[_0x54dab4(0x2bb)]=_0x340f82['generateNewSheetName'](''+_0x44344e['t'](_0x54dab4(0x339)));const _0xce1a0b={'index':_0xe722b0,'sheet':_0x135ad8,'unitId':_0x2a6314},{redos:_0x3c1f94}=me(_0x20ce44,{'pivotTableId':_0x465171,'unitId':_0x2a6314,'subUnitId':_0x135ad8['id']},_0x4ae16c),_0x4dd540=[{'id':_0x235ef5['id'],'params':_0xce1a0b},{'id':Ct['id'],'params':{'unitId':_0x2a6314,'subUnitId':_0x135ad8['id'],'pivotTableId':_0x465171,'pivotTableConfig':{'isEmpty':_0x579018,'fieldsConfig':_0x4bddfa,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2a6314,'subUnitId':_0x135ad8['id']},'sourceRangeInfo':{'subUnitId':_0x4ea9fe,'unitId':_0x2a6314,'range':_0x11d7b0,'sheetName':_0x4ad95e[_0x54dab4(0x27a)]()}},'collectionConfig':_0x1e322b}},..._0x3c1f94];return _0x414dc6(_0x4dd540,_0x20ce44),!0x0;}},Et={'type':_0x36216a[_0x2cfc65(0x11f)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x53258d,_0x291d82){const _0x3a4898=_0x2cfc65;if(!_0x291d82)return!0x1;if(!!_0x53258d[_0x3a4898(0x13e)](_0x931275)[_0x3a4898(0x303)](Y))return!0x0;const {pivotTableId:_0x195691,unitId:_0x3d1829,subUnitId:_0x29859b}=_0x291d82,_0x42ad52=_0x53258d[_0x3a4898(0x13e)]($);return _0x42ad52[_0x3a4898(0x21d)](_0x3d1829,_0x29859b,_0x195691)?(_0x42ad52[_0x3a4898(0x1ba)]({'unitId':_0x3d1829,'subUnitId':_0x29859b,'token':_0x195691,'type':G[_0x3a4898(0x132)]}),_0x42ad52['removePivotTable'](_0x3d1829,_0x29859b,_0x195691),!0x0):!0x1;}},ms={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x504ce0,_0x3b7697){const _0x379a0f=_0x2cfc65;var _0x4b452a,_0x777583;const _0x31416a=_0x504ce0[_0x379a0f(0x13e)](_0x4c491b),_0x2abf1b=_0x504ce0['get'](_0x295672),_0x516126=_0x504ce0['get'](_0x2a61e0),_0x20b579=_0x504ce0[_0x379a0f(0x13e)](X),_0x1a1a88=_0x504ce0[_0x379a0f(0x13e)](_0x5cd9a0),_0x49d944=_0x504ce0[_0x379a0f(0x13e)](ve),_0x51732f=_0x504ce0[_0x379a0f(0x13e)](_0x931275);if(!_0x3b7697)return!0x1;const {pivotTableConfig:_0x1fa5fd,positionType:_0x1f99fb}=_0x3b7697,{targetCellInfo:_0x10c2f6,sourceRangeInfo:_0x27a70b}=_0x1fa5fd,{unitId:_0x14a44d,subUnitId:_0x22187c}=_0x10c2f6,_0x18543f=_0x2abf1b['getUnit'](_0x14a44d);if(!_0x18543f)return!0x1;let _0xc97229=0x0;_0x18543f[_0x379a0f(0x243)]()[_0x379a0f(0x112)](_0x14dfb2=>{const _0x2b21f3=_0x379a0f;var _0x4ac680,_0x506421;_0xc97229+=(_0x506421=(_0x4ac680=_0x49d944[_0x2b21f3(0x34d)](_0x14a44d,_0x14dfb2['getSheetId']()))==null?void 0x0:_0x4ac680['size'])!=null?_0x506421:0x0;});const _0x3b4366=(_0x4b452a=_0x51732f[_0x379a0f(0x303)](_0x2b702e))!=null?_0x4b452a:{},{ls:_0x595215,pbk:_0x5909ae}=_0x3b4366;if(!Ho(_0x595215,_0x5909ae))return!0x1;const _0x521ad0=go(so,_0x595215,_0x5909ae)[_0x379a0f(0x251)];if(_0xc97229>=_0x521ad0)return!0x1;const _0x1fd74c=_0x3b7697['pivotTableId']||_0x552661(0x8),_0xec8f22=(await _0x20b579[_0x379a0f(0x110)]({'unitId':_0x14a44d,'subUnitId':_0x22187c,'pivotTableId':_0x1fd74c,'params':{'type':B[_0x379a0f(0x119)],'addPivotTable':{'sourceRangeInfo':_0x27a70b,'pivotTableId':_0x1fd74c}}}))[_0x379a0f(0x22a)]['addPivotTable'];if(!_0xec8f22)return!0x1;const {view:_0x51cc87,isEmpty:_0x42ddc5,fieldsConfig:_0x23e4b6,collectionConfig:_0x11683a}=_0xec8f22,_0xd1fbc5=[],_0x41a6db=[];if(_0x1f99fb===ko[_0x379a0f(0x345)]){const _0x55a483=_0x18543f['getSheets']()[_0x379a0f(0x1fd)],_0x28c068=_0x6dfe44({});_0x28c068['id']=_0x1fa5fd[_0x379a0f(0x216)][_0x379a0f(0x1bc)],_0x28c068['name']=(_0x777583=_0x1fa5fd[_0x379a0f(0x216)]['sheetName'])!=null?_0x777583:_0x18543f[_0x379a0f(0x126)](''+_0x516126['t']('sheets.tabs.sheet'));const _0x4981de={'index':_0x55a483,'sheet':_0x28c068,'unitId':_0x14a44d},_0x3779d7=_0x2fb6e0(_0x504ce0,_0x4981de);_0xd1fbc5[_0x379a0f(0x17f)]({'id':_0x45fd86['id'],'params':_0x3779d7}),_0x41a6db[_0x379a0f(0x17f)]({'id':_0x49873a['id'],'params':_0x4981de});}else{if(!_0x18543f[_0x379a0f(0x248)](_0x22187c))return!0x1;const _0xd823bd=we(_0x504ce0,new _0x1b10b0(),_0x10c2f6,!0x0);_0x41a6db[_0x379a0f(0x17f)](..._0xd823bd[_0x379a0f(0x235)]),_0xd1fbc5[_0x379a0f(0x17f)](..._0xd823bd[_0x379a0f(0x319)]);const _0x4c1f64={'cellInfo':_0x10c2f6,'view':_0x51cc87,'isEmpty':_0x42ddc5};if(!await _0x504ce0[_0x379a0f(0x13e)](ie)[_0x379a0f(0x221)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4c1f64))return!0x1;const _0x79fe83=_e(_0x504ce0,_0x4c1f64);_0x41a6db[_0x379a0f(0x17f)](..._0x79fe83[_0x379a0f(0x235)]),_0xd1fbc5[_0x379a0f(0x17f)](..._0x79fe83[_0x379a0f(0x319)]);}return _0x41a6db[_0x379a0f(0x17f)]({'id':Ct['id'],'params':{'unitId':_0x10c2f6['unitId'],'subUnitId':_0x10c2f6[_0x379a0f(0x1bc)],'pivotTableId':_0x1fd74c,'pivotTableConfig':{'targetCellInfo':_0x10c2f6,'sourceRangeInfo':_0x27a70b,'fieldsConfig':_0x23e4b6},'collectionConfig':_0x11683a}}),_0xd1fbc5[_0x379a0f(0x33f)]({'id':Et['id'],'params':{'unitId':_0x14a44d,'subUnitId':_0x22187c,'pivotTableId':_0x1fd74c}}),_0x414dc6(_0x41a6db,_0x31416a)&&_0x1a1a88['pushUndoRedo']({'unitID':_0x14a44d,'undoMutations':_0xd1fbc5,'redoMutations':_0x41a6db}),!0x0;}},Is={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x35d),async 'handler'(_0x431b1e,_0x5ad401){const _0x5d55fd=_0x2cfc65;if(!_0x5ad401)return!0x1;const _0x8e2219=_0x431b1e[_0x5d55fd(0x13e)](_0x4c491b),_0x3372d7=_0x431b1e[_0x5d55fd(0x13e)](X),_0x2a58cc=_0x431b1e[_0x5d55fd(0x13e)](_0x5cd9a0),{pivotTableId:_0x3f3437,fieldId:_0x2a94f8,area:_0x54e818,index:_0x25b4b9,unitId:_0x5eca6e,subUnitId:_0x2d4f92}=_0x5ad401,_0x291550=(await _0x3372d7[_0x5d55fd(0x110)]({'unitId':_0x5eca6e,'subUnitId':_0x2d4f92,'pivotTableId':_0x3f3437,'params':{'type':B['MovePivotField'],'movePivotField':{'fieldId':_0x2a94f8,'area':_0x54e818,'index':_0x25b4b9}}}))[_0x5d55fd(0x22a)][_0x5d55fd(0x197)];if(!_0x291550)return!0x1;const {changesets:_0x29b3bc,view:_0x55fa05,isEmpty:_0x3afc54,pivotTableConfig:_0x454cb0}=_0x291550,_0x2ad5b7=_0x454cb0[_0x5d55fd(0x216)],_0x2bfddd=new _0x1b10b0();_0x2bfddd[_0x5d55fd(0x368)](_0x55fa05);const _0x4ef3ff={'cellInfo':_0x2ad5b7,'view':_0x2bfddd,'isEmpty':_0x3afc54};if(!await _0x431b1e[_0x5d55fd(0x13e)](ie)[_0x5d55fd(0x221)][_0x5d55fd(0x36d)](be)(!0x0,_0x4ef3ff))return!0x1;const _0x4fe0cb=we(_0x431b1e,_0x2bfddd,_0x2ad5b7,_0x3afc54),_0x2e4986=_e(_0x431b1e,_0x4ef3ff),{redos:_0x5b4e3d,undos:_0x2608f2}=me(_0x8e2219,{'pivotTableId':_0x3f3437,'unitId':_0x5eca6e,'subUnitId':_0x2d4f92},_0x29b3bc);return _0x414dc6([..._0x4fe0cb['redos'],..._0x2e4986[_0x5d55fd(0x235)],..._0x5b4e3d],_0x8e2219),_0x2a58cc[_0x5d55fd(0x380)]({'unitID':_0x5eca6e,'redoMutations':[..._0x4fe0cb[_0x5d55fd(0x235)],..._0x2e4986[_0x5d55fd(0x235)],..._0x5b4e3d],'undoMutations':[..._0x4fe0cb[_0x5d55fd(0x319)],..._0x2e4986['undos'],..._0x2608f2]}),!0x0;}},pt={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x381),'handler'(_0x153942,_0x251156){const _0x450c8d=_0x2cfc65;if(!_0x251156)return!0x1;if(!!_0x153942[_0x450c8d(0x13e)](_0x931275)[_0x450c8d(0x303)](Y))return!0x0;const {pivotTableId:_0x4be850,targetCellPosition:_0x42edf2,unitId:_0x1ce633,subUnitId:_0x14e0c2}=_0x251156,_0x2052bd=_0x153942[_0x450c8d(0x13e)]($);if(!_0x2052bd[_0x450c8d(0x2bc)](_0x251156[_0x450c8d(0x386)]))return!0x1;const _0x32c22c=_0x2052bd[_0x450c8d(0x1c1)](_0x4be850);if(!_0x32c22c)return!0x1;const _0x2150a1=_0x2052bd['getCollection'](_0x32c22c[_0x450c8d(0x130)],_0x251156[_0x450c8d(0x386)]);if(!_0x2150a1)return!0x1;const _0x57be65=_0x2052bd[_0x450c8d(0x21d)](_0x32c22c[_0x450c8d(0x130)],_0x32c22c[_0x450c8d(0x1bc)],_0x4be850);if(!_0x57be65)return!0x1;const _0x24cac6=_0x414e34['deepClone'](_0x57be65);_0x24cac6[_0x450c8d(0x216)]={'unitId':_0x1ce633,'subUnitId':_0x14e0c2,'row':_0x42edf2[_0x450c8d(0x379)],'col':_0x42edf2[_0x450c8d(0x183)]};const _0x1ee7ae=_0x2150a1[_0x450c8d(0x2d6)]();if(_0x32c22c[_0x450c8d(0x1bc)]===_0x14e0c2&&_0x32c22c[_0x450c8d(0x130)]===_0x1ce633)_0x2052bd[_0x450c8d(0x240)](_0x1ce633,_0x14e0c2,_0x4be850,_0x24cac6),_0x2052bd['addDirtyPivotTable']({'unitId':_0x1ce633,'subUnitId':_0x14e0c2,'token':_0x4be850,'type':G['Set']});else{_0x2052bd['addDirtyPivotTable']({'unitId':_0x32c22c[_0x450c8d(0x130)],'subUnitId':_0x32c22c[_0x450c8d(0x1bc)],'token':_0x4be850,'type':G['Delete']}),_0x2052bd[_0x450c8d(0x343)](_0x32c22c['unitId'],_0x32c22c[_0x450c8d(0x1bc)],_0x4be850);const _0x1e551e=_0x2052bd[_0x450c8d(0x121)](_0x4be850,_0x1ee7ae,_0x57be65[_0x450c8d(0x27f)],_0x24cac6[_0x450c8d(0x216)]),_0x5ab047=new _0xa87c2b(_0x1e551e[_0x450c8d(0x1c8)],void 0x0,_0x4be850);_0x5ab047[_0x450c8d(0x2db)](_0x24cac6['fieldsConfig']),_0x2052bd[_0x450c8d(0x20c)](_0x1ce633,_0x14e0c2,_0x4be850,_0x5ab047,_0x24cac6),_0x2052bd[_0x450c8d(0x1ba)]({'unitId':_0x1ce633,'subUnitId':_0x14e0c2,'token':_0x4be850,'type':G[_0x450c8d(0x299)],'pivotConfig':_0x24cac6});}return!0x0;}},Cs={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x25b),'handler':(_0x4085e4,_0x1825cc)=>{const _0x7753f5=_0x2cfc65,_0x9ac1b4=_0x4085e4['get'](_0x4c491b),_0x302849=_0x4085e4[_0x7753f5(0x13e)](_0x5cd9a0),_0x1786ed=_0x4085e4['get'](ve),_0x196075=_0x4085e4[_0x7753f5(0x13e)](_0x295672);if(!_0x1825cc)return!0x1;const _0x3acba6=_0x5d0da0(_0x196075);if(!_0x3acba6)return!0x1;const {unitId:_0x17497e,subUnitId:_0x191f36,workbook:_0x595a11}=_0x3acba6,_0x4e1683=_0x1786ed[_0x7753f5(0x21d)](_0x1825cc[_0x7753f5(0x2a4)]['unitId'],_0x1825cc[_0x7753f5(0x2a4)]['subUnitId'],_0x1825cc['pivotTableId']);if(!_0x4e1683)return!0x1;const _0x3775ef=_0x595a11[_0x7753f5(0x248)](_0x1825cc['targetCellInfo'][_0x7753f5(0x1bc)]);if(!_0x3775ef)throw new Error(_0x7753f5(0x246));const _0x4c3764=_0x3775ef['getRowCount'](),_0x13afdc=_0x3775ef[_0x7753f5(0x18b)]();if(_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x379)]>_0x4c3764||_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x183)]>_0x13afdc)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x956bdd=[{'id':pt['id'],'params':{'unitId':_0x17497e,'subUnitId':_0x1825cc[_0x7753f5(0x216)]['subUnitId'],'pivotTableId':_0x1825cc[_0x7753f5(0x386)],'targetCellPosition':{'row':_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x379)],'col':_0x1825cc[_0x7753f5(0x216)][_0x7753f5(0x183)]}}}],_0xec21c8=[{'id':pt['id'],'params':{'unitId':_0x17497e,'subUnitId':_0x191f36,'pivotTableId':_0x1825cc[_0x7753f5(0x386)],'targetCellPosition':{'row':_0x4e1683[_0x7753f5(0x216)][_0x7753f5(0x379)],'col':_0x4e1683[_0x7753f5(0x216)][_0x7753f5(0x183)]}}}];return _0x414dc6(_0x956bdd,_0x9ac1b4)&&_0x302849[_0x7753f5(0x380)]({'unitID':_0x17497e,'undoMutations':_0xec21c8,'redoMutations':_0x956bdd}),!0x0;}},bs={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x1aa),async 'handler'(_0x18ec8f,_0x278443){const _0x1f21c9=_0x2cfc65;var _0x4d19e2;if(!_0x278443)return!0x1;const _0x4c7257=_0x18ec8f[_0x1f21c9(0x13e)](_0x295672),_0x721c83=_0x5d0da0(_0x4c7257);if(!_0x721c83)return!0x1;const {unitId:_0x2c28b1,subUnitId:_0x24c395,workbook:_0x3daa91}=_0x721c83,{row:_0x179d6a,col:_0x213083}=_0x278443,_0x30637d=_0x18ec8f[_0x1f21c9(0x13e)](Ne),_0x36d9e6=_0x30637d[_0x1f21c9(0x333)](_0x2c28b1,_0x24c395,_0x179d6a,_0x213083);if(!_0x36d9e6)return!0x1;const _0x158242=(_0x4d19e2=_0x30637d[_0x1f21c9(0x2e8)](_0x2c28b1,_0x24c395,_0x36d9e6))==null?void 0x0:_0x4d19e2['areaInfo'];if(!_0x158242)return!0x1;const _0x54ef7c=_0x18ec8f[_0x1f21c9(0x13e)](ve)[_0x1f21c9(0x21d)](_0x2c28b1,_0x24c395,_0x36d9e6);if(!_0x54ef7c)return!0x1;const {rowInfo:_0x584531,colInfo:_0x39a5d3}=_0x158242,_0x50ebed=_0x584531[_0x179d6a][_0x1f21c9(0x2e1)],_0x19bab2=_0x39a5d3[_0x213083][_0x1f21c9(0x2e1)],_0x182686=_0x584531[_0x179d6a]['level'],_0x56b50b=_0x39a5d3[_0x213083][_0x1f21c9(0x32e)],_0x5f014d=_0x50ebed[_0x1f21c9(0x150)](_0x19bab2),_0x38d0f2=_0x54ef7c[_0x1f21c9(0x356)][_0x1f21c9(0x247)][_0x1f21c9(0x2fd)](0x0,_0x182686),_0xc7a70d=_0x54ef7c['fieldsConfig']['columnFields'][_0x1f21c9(0x2fd)](0x0,_0x56b50b),_0x403b1a=_0x38d0f2['concat'](_0xc7a70d),_0x3acfb7=_0x5f014d[_0x1f21c9(0x26e)]((_0x2efcd0,_0x35ef30)=>[_0x2efcd0,_0x403b1a[_0x35ef30]]),_0x409925=(await _0x18ec8f['get'](X)[_0x1f21c9(0x110)]({'unitId':_0x2c28b1,'subUnitId':_0x24c395,'pivotTableId':_0x36d9e6,'params':{'type':B[_0x1f21c9(0x200)],'drillDown':{'tuple':_0x3acfb7}}}))[_0x1f21c9(0x22a)][_0x1f21c9(0x2c2)];if(!_0x409925)return!0x1;const {indexes:_0x449d7b,range:_0x166fd1,sourceUnitId:_0x29333e,sourceSubUnitId:_0x3a4340,formatMap:_0xf28063}=_0x409925,{startRow:_0xb53702,endRow:_0x30257a,startColumn:_0x4d4682,endColumn:_0x3a6971}=_0x166fd1,_0x48944a=new _0x3d4b3d(),_0x58b1b4=_0x30257a-_0xb53702,_0x521503=_0x3a6971-_0x4d4682,_0x18876d={},_0x1dcb04=_0x5d0da0(_0x4c7257,{'unitId':_0x29333e,'subUnitId':_0x3a4340});if(!_0x1dcb04)return!0x1;const _0x51d9e2=fe['colStyle'],_0x46d53b=fe[_0x1f21c9(0x1c9)],_0x155b77=fe[_0x1f21c9(0x1c9)],_0x38dc82=_0x3daa91[_0x1f21c9(0x340)]()[_0x1f21c9(0x2e3)](_0x51d9e2),_0xcab1db=_0x3daa91[_0x1f21c9(0x340)]()['setValue'](_0x46d53b),_0x459b92=_0x3daa91[_0x1f21c9(0x340)]()[_0x1f21c9(0x2e3)](_0x155b77),{worksheet:_0x438af0}=_0x1dcb04;let _0x459315=0x0;const _0x41bdee=0x1;_0x449d7b[_0x1f21c9(0x112)](_0x64cf48=>{const _0x40ea36=_0x1f21c9;for(let _0x166b0e=0x0;_0x166b0e<=_0x3a6971-_0x4d4682;_0x166b0e++)_0x48944a[_0x40ea36(0x2e3)](_0x459315,_0x166b0e,_0x438af0[_0x40ea36(0x305)](_0x64cf48+_0x166fd1['startRow']+_0x41bdee,_0x166b0e));_0x459315++;});for(let _0x3428b2=_0x4d4682;_0x3428b2<=_0x3a6971;_0x3428b2++){const _0x24f548=_0x438af0[_0x1f21c9(0x305)](_0xb53702,_0x3428b2);_0x18876d[_0xb53702]||(_0x18876d[_0xb53702]={}),_0x18876d[_0xb53702][_0x3428b2]={..._0x24f548,'s':_0x38dc82};}let _0x32687a=0x1;const _0x394bd4={},_0x38cb83={};_0x48944a['forRow']((_0x12ebbd,_0x555505)=>{const _0x5bf8f7=_0x1f21c9;_0x555505[_0x5bf8f7(0x112)](_0x2f210d=>{const _0x390e1d=_0x5bf8f7,_0x1bc9ed=_0x48944a['getValue'](_0x12ebbd,_0x2f210d);if(_0x18876d[_0x32687a]||(_0x18876d[_0x32687a]={}),_0x18876d[_0x32687a][_0x2f210d]={..._0x1bc9ed,'s':_0x32687a%0x2===0x0?_0x459b92:_0xcab1db},_0xf28063[_0x2f210d]&&_0x12ebbd>=0x0){const _0x8d341b=_0x32687a%0x2===0x0;let _0x306b91=_0x8d341b?_0x38cb83[_0x2f210d]:_0x394bd4[_0x2f210d];_0x306b91||(_0x306b91=_0x3daa91[_0x390e1d(0x340)]()[_0x390e1d(0x2e3)]({..._0x8d341b?_0x155b77:_0x46d53b,'n':{'pattern':_0xf28063[_0x2f210d]}}),_0x8d341b?_0x38cb83[_0x2f210d]=_0x306b91:_0x394bd4[_0x2f210d]=_0x306b91),_0x18876d[_0x32687a][_0x2f210d]['s']=_0x306b91;}}),_0x32687a++;});const _0x157d84=new _0x3d4b3d(_0x18876d),_0x2d103a={};_0x157d84[_0x1f21c9(0x115)]((_0xdc7913,_0x45fafd,_0x5b51ac)=>{_0x2d103a[_0xdc7913]||(_0x2d103a[_0xdc7913]={}),_0x2d103a[_0xdc7913][_0x45fafd]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3c9777=[],_0x15ed24=[],_0x13b4ef=_0x3daa91[_0x1f21c9(0x243)]()[_0x1f21c9(0x1fd)],_0x480f96=_0x6dfe44({'rowCount':Math[_0x1f21c9(0x29c)](_0x3b3fd0,_0x58b1b4+0xa),'columnCount':Math[_0x1f21c9(0x29c)](_0x28ab5a,_0x521503+0x5)}),_0x595604=_0x18ec8f[_0x1f21c9(0x13e)](_0x2a61e0);_0x480f96['id']=_0x44435e(),_0x480f96['name']=_0x3daa91[_0x1f21c9(0x126)](''+_0x595604['t'](_0x1f21c9(0x339)));const _0x2a1e28={'index':_0x13b4ef,'sheet':_0x480f96,'unitId':_0x2c28b1},_0x3218e4=_0x2fb6e0(_0x18ec8f,_0x2a1e28);_0x15ed24['push']({'id':_0x49873a['id'],'params':_0x2a1e28}),_0x3c9777[_0x1f21c9(0x17f)]({'id':_0x45fd86['id'],'params':_0x3218e4}),_0x15ed24[_0x1f21c9(0x17f)]({'id':_0x2f97a2['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id'],'cellValue':_0x18876d}}),_0x3c9777[_0x1f21c9(0x33f)]({'id':_0x2f97a2['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id'],'cellValue':_0x2d103a}});const _0x514672={'startRow':0x0,'startColumn':0x0,'endRow':_0x32687a-0x1,'endColumn':_0x3a6971};_0x15ed24[_0x1f21c9(0x17f)]({'id':_0x38a016['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id'],'range':_0x514672}}),_0x3c9777[_0x1f21c9(0x33f)]({'id':_0x3ef0c1['id'],'params':{'unitId':_0x2c28b1,'subUnitId':_0x480f96['id']}});const _0x1bb083=_0x18ec8f['get'](_0x4c491b);return _0x414dc6(_0x15ed24,_0x1bb083)&&_0x18ec8f['get'](_0x5cd9a0)[_0x1f21c9(0x380)]({'unitID':_0x2c28b1,'undoMutations':_0x3c9777,'redoMutations':_0x15ed24}),!0x0;}},Ss={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x2e2),async 'handler'(_0x5aa7b9,_0x37c3f8){const _0x24bdb7=_0x2cfc65;if(!_0x37c3f8)return!0x1;const _0x3ed129=_0x5aa7b9['get'](_0x4c491b),_0x2146ed=_0x5aa7b9[_0x24bdb7(0x13e)](X),_0x3f6d3c=_0x5aa7b9[_0x24bdb7(0x13e)](_0x5cd9a0),{pivotTableId:_0x3970df,fieldIds:_0xd8a51f,unitId:_0x379bb6,subUnitId:_0x4bee72}=_0x37c3f8,_0x188073=(await _0x2146ed['getPivotDisplayConfig']({'unitId':_0x379bb6,'subUnitId':_0x4bee72,'pivotTableId':_0x3970df,'params':{'type':B[_0x24bdb7(0x1dc)],'removePivotField':{'fieldIds':_0xd8a51f}}}))[_0x24bdb7(0x22a)]['removePivotField'];if(!_0x188073)return!0x1;const {view:_0x4388cc,changesets:_0x3ba1d0,isEmpty:_0x26781e,pivotTableConfig:_0x50454f}=_0x188073,_0x428343=_0x50454f[_0x24bdb7(0x216)],_0x485487=new _0x1b10b0();_0x485487[_0x24bdb7(0x368)](_0x4388cc);const _0x13575c={'cellInfo':_0x428343,'view':_0x485487,'isEmpty':_0x26781e};if(!await _0x5aa7b9['get'](ie)[_0x24bdb7(0x221)][_0x24bdb7(0x36d)](be)(!0x0,_0x13575c))return!0x1;const _0xc342e9=we(_0x5aa7b9,_0x485487,_0x428343,_0x26781e),_0xf4a4d7=_e(_0x5aa7b9,_0x13575c),{redos:_0x220087,undos:_0x41d210}=me(_0x3ed129,{'pivotTableId':_0x3970df,'unitId':_0x379bb6,'subUnitId':_0x4bee72},_0x3ba1d0);return _0x414dc6([..._0xc342e9[_0x24bdb7(0x235)],..._0xf4a4d7[_0x24bdb7(0x235)],..._0x220087],_0x3ed129),_0x3f6d3c[_0x24bdb7(0x380)]({'unitID':_0x379bb6,'redoMutations':[..._0xc342e9[_0x24bdb7(0x235)],..._0xf4a4d7[_0x24bdb7(0x235)],..._0x220087],'undoMutations':[..._0xc342e9[_0x24bdb7(0x319)],..._0xf4a4d7[_0x24bdb7(0x319)],..._0x41d210]}),!0x0;}},Ps={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x1f7),async 'handler'(_0x36fab4,_0x2f198e){const _0x808c92=_0x2cfc65;if(!_0x2f198e)return!0x1;const _0x33c3d2=_0x36fab4[_0x808c92(0x13e)](_0x4c491b),_0x44b81e=_0x36fab4['get'](_0x5cd9a0),_0x4d699e=_0x36fab4[_0x808c92(0x13e)](X),{resetArea:_0x52b7b9,pivotTableId:_0x517006,unitId:_0x3a5daa,subUnitId:_0x2f2133}=_0x2f198e,_0x1eaaed=(await _0x4d699e['getPivotDisplayConfig']({'unitId':_0x3a5daa,'subUnitId':_0x2f2133,'pivotTableId':_0x517006,'params':{'type':B[_0x808c92(0x170)],'resetPivotTable':{'pivotTableId':_0x517006,'resetArea':_0x52b7b9}}}))[_0x808c92(0x22a)][_0x808c92(0x260)];if(!_0x1eaaed)return!0x1;const {changesets:_0x17999b}=_0x1eaaed,{redos:_0x463fe7,undos:_0x5c5ec1}=me(_0x33c3d2,{'pivotTableId':_0x517006,'unitId':_0x3a5daa,'subUnitId':_0x2f2133},_0x17999b);return _0x414dc6(_0x463fe7,_0x33c3d2),_0x44b81e[_0x808c92(0x380)]({'unitID':_0x3a5daa,'redoMutations':_0x463fe7,'undoMutations':_0x5c5ec1}),!0x0;}},Ts={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x29b),async 'handler'(_0x4202ab,_0x221907){const _0x46af6b=_0x2cfc65,_0x5a4e3b=_0x4202ab[_0x46af6b(0x13e)](_0x4c491b),_0x8bc3b4=_0x4202ab[_0x46af6b(0x13e)](X),_0x196db3=_0x4202ab[_0x46af6b(0x13e)](Ne),_0x1f4293=_0x4202ab[_0x46af6b(0x13e)](_0x295672),_0x35e893=_0x4202ab[_0x46af6b(0x13e)](_0x2a61e0),_0x3aeecf=_0x4202ab[_0x46af6b(0x13e)](_0x5cd9a0);if(!_0x221907)return!0x1;const {unitId:_0x1de49c,subUnitId:_0x24bafe,row:_0x547343,col:_0x248186,collapse:_0x41a0c3}=_0x221907,_0x50661b=_0x1f4293[_0x46af6b(0x15d)](_0x1de49c);if(!_0x50661b||!_0x50661b['getSheetBySheetId'](_0x24bafe))return!0x1;const _0x30e37c=_0x196db3[_0x46af6b(0x333)](_0x1de49c,_0x24bafe,_0x547343,_0x248186);if(!_0x30e37c)return!0x1;const _0x4b6678=_0x196db3['getPivotItemRenderInfoCache'](_0x1de49c,_0x24bafe,_0x30e37c);if(!_0x4b6678)return!0x1;const _0x174741=_0x1aea22(_0x547343,_0x248186),{rangesInfo:_0x35f2d3,areaInfo:_0x5ead2d,headerMap:_0x85f089}=_0x4b6678;if(!_0x35f2d3||!_0x5ead2d||!_0x85f089)return!0x1;const _0x49301a=Object[_0x46af6b(0x23b)](_0x35f2d3)[_0x46af6b(0x193)](_0x10d42d=>_0x35f2d3[_0x10d42d][_0x46af6b(0x32c)](_0x2d538c=>_0x2492ba[_0x46af6b(0x33e)](_0x2d538c,_0x174741)));let _0x18e8f5;_0x49301a===_0x46af6b(0x201)?_0x18e8f5=_0x85f089[_0x46af6b(0x2c3)][_0x248186]:_0x49301a===_0x46af6b(0x1e6)&&(_0x18e8f5=_0x85f089['colHeaderMap'][_0x547343]);const _0x100b91=_0x18e8f5==null?void 0x0:_0x18e8f5['tableFieldId'],_0x3cdd05=_0x196db3[_0x46af6b(0x1e0)](_0x1de49c,_0x24bafe,_0x547343,_0x248186);let _0x52010b=_0x3cdd05==null?void 0x0:_0x3cdd05['v'];if(_0x52010b===_0x35e893['t'](_0x46af6b(0x2a0))&&(_0x52010b=_0x133eb4[_0x46af6b(0x153)]),_0x52010b==null||!_0x30e37c||!_0x100b91)return!0x1;const _0x4168ad=await _0x8bc3b4[_0x46af6b(0x110)]({'unitId':_0x1de49c,'subUnitId':_0x24bafe,'pivotTableId':_0x30e37c,'params':{'type':B['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x100b91,'collapse':_0x41a0c3,'item':_0x52010b}}}),_0x5e7b00=_0x4168ad==null?void 0x0:_0x4168ad[_0x46af6b(0x22a)][_0x46af6b(0x237)];if(!_0x5e7b00)return!0x1;const {view:_0x5a6956,pivotTableConfig:_0x451d05,isEmpty:_0x18aa8f,changesets:_0x449442}=_0x5e7b00,_0x235da8=new _0x1b10b0();_0x235da8[_0x46af6b(0x368)](_0x5a6956);const _0x44d4a0=_0x451d05[_0x46af6b(0x216)],_0x17f6f8={'cellInfo':_0x44d4a0,'view':_0x235da8,'isEmpty':_0x18aa8f};if(!await _0x4202ab[_0x46af6b(0x13e)](ie)[_0x46af6b(0x221)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x17f6f8))return!0x1;const _0x362797=we(_0x4202ab,_0x235da8,_0x44d4a0,_0x18aa8f),_0x24571f=_e(_0x4202ab,_0x17f6f8),{redos:_0x347a8d,undos:_0x3851ee}=me(_0x5a4e3b,{'pivotTableId':_0x30e37c,'unitId':_0x1de49c,'subUnitId':_0x24bafe},_0x449442);return _0x414dc6([..._0x362797[_0x46af6b(0x235)],..._0x24571f['redos'],..._0x347a8d],_0x5a4e3b),_0x3aeecf[_0x46af6b(0x380)]({'unitID':_0x1de49c,'redoMutations':[..._0x362797[_0x46af6b(0x235)],..._0x24571f[_0x46af6b(0x235)],..._0x347a8d],'undoMutations':[..._0x362797[_0x46af6b(0x319)],..._0x24571f[_0x46af6b(0x319)],..._0x3851ee]}),!0x0;}},ys={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x4a6a3e,_0xe719d5){const _0x18227c=_0x2cfc65;if(!_0xe719d5)return!0x1;const _0x4bb2aa=_0x4a6a3e['get'](_0x4c491b),_0x2f3c58=_0x4a6a3e[_0x18227c(0x13e)](_0x5cd9a0),_0x23e287=_0x4a6a3e[_0x18227c(0x13e)](X),{pivotTableConfig:_0x196a13,pivotTableId:_0x3fa0b5,unitId:_0x405100,subUnitId:_0x12ec6d}=_0xe719d5,_0x6d3632=(await _0x23e287['getPivotDisplayConfig']({'unitId':_0x405100,'subUnitId':_0x12ec6d,'pivotTableId':_0x3fa0b5,'params':{'type':B[_0x18227c(0x371)],'setPivotTableConfig':{'pivotTableId':_0x3fa0b5,'pivotTableConfig':_0x196a13}}}))[_0x18227c(0x22a)][_0x18227c(0x37c)];if(!_0x6d3632)return!0x1;const {changesets:_0x453f20}=_0x6d3632,{redos:_0x2acb87,undos:_0x1600b5}=me(_0x4bb2aa,{'pivotTableId':_0x3fa0b5,'unitId':_0x405100,'subUnitId':_0x12ec6d},_0x453f20);return _0x414dc6(_0x2acb87,_0x4bb2aa),_0x2f3c58[_0x18227c(0x380)]({'unitID':_0x405100,'redoMutations':_0x2acb87,'undoMutations':_0x1600b5}),!0x0;}},Ms={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x29217f,_0x45762a){const _0x39d93b=_0x2cfc65;if(!_0x45762a)return!0x1;const _0x736440=_0x29217f[_0x39d93b(0x13e)](_0x4c491b),{pivotTableId:_0x4c3af2,tableFieldId:_0x466e9c,items:_0x43519d,unitId:_0x14c203,subUnitId:_0x16b7d0,isAll:_0x14ba51}=_0x45762a,_0x30f10f=_0x29217f[_0x39d93b(0x13e)](X),_0x29f2d4=_0x29217f['get'](_0x5cd9a0),_0x44a9ee=(await _0x30f10f['getPivotDisplayConfig']({'unitId':_0x14c203,'subUnitId':_0x16b7d0,'pivotTableId':_0x4c3af2,'params':{'type':B[_0x39d93b(0x318)],'setPivotFilter':{'tableFieldId':_0x466e9c,'items':_0x43519d,'isAll':_0x14ba51}}}))[_0x39d93b(0x22a)][_0x39d93b(0x335)];if(!_0x44a9ee)return!0x1;const {changesets:_0x4bb749,pivotTableConfig:_0x37f8d6,isEmpty:_0x595952,view:_0x3c5a4f}=_0x44a9ee,_0x44935a=_0x37f8d6['targetCellInfo'],_0x448666=new _0x1b10b0();_0x448666['formJSON'](_0x3c5a4f);const _0x168aa0={'cellInfo':_0x44935a,'view':_0x448666,'isEmpty':_0x595952};if(!await _0x29217f[_0x39d93b(0x13e)](ie)[_0x39d93b(0x221)][_0x39d93b(0x36d)](be)(!0x0,_0x168aa0))return!0x1;const _0x3d9f90=we(_0x29217f,_0x448666,_0x44935a,_0x595952),_0x1e1739=_e(_0x29217f,_0x168aa0),{undos:_0x164a00,redos:_0x519776}=me(_0x736440,{'pivotTableId':_0x4c3af2,'unitId':_0x14c203,'subUnitId':_0x16b7d0},_0x4bb749);return _0x414dc6([..._0x3d9f90[_0x39d93b(0x235)],..._0x1e1739[_0x39d93b(0x235)],..._0x519776],_0x736440),_0x29f2d4[_0x39d93b(0x380)]({'unitID':_0x14c203,'redoMutations':[..._0x3d9f90[_0x39d93b(0x235)],..._0x1e1739['redos'],..._0x519776],'undoMutations':[..._0x3d9f90[_0x39d93b(0x319)],..._0x1e1739['undos'],..._0x164a00]}),!0x0;}},ws={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x196),async 'handler'(_0x71112d,_0x230304){const _0xaa28de=_0x2cfc65;if(!_0x230304)return!0x1;const _0x35b1f9=_0x71112d[_0xaa28de(0x13e)](_0x4c491b),_0x5e8a4d=_0x71112d[_0xaa28de(0x13e)](_0x5cd9a0),_0x274cd4=_0x71112d[_0xaa28de(0x13e)](X),{info:_0x475b5e,tableFieldId:_0x16f841,pivotTableId:_0x2fccab,unitId:_0x36149a,subUnitId:_0x44a467}=_0x230304,_0xe1f341=(await _0x274cd4[_0xaa28de(0x110)]({'unitId':_0x36149a,'subUnitId':_0x44a467,'pivotTableId':_0x2fccab,'params':{'type':B[_0xaa28de(0x358)],'setPivotSort':{'tableFieldId':_0x16f841,'info':_0x475b5e}}}))[_0xaa28de(0x22a)][_0xaa28de(0x1d8)];if(!_0xe1f341)return!0x1;const {changesets:_0x59c50e}=_0xe1f341,{redos:_0x311b87,undos:_0x5de3b8}=me(_0x35b1f9,{'pivotTableId':_0x2fccab,'unitId':_0x36149a,'subUnitId':_0x44a467},_0x59c50e);return _0x414dc6(_0x311b87,_0x35b1f9),_0x5e8a4d['pushUndoRedo']({'unitID':_0x36149a,'redoMutations':_0x311b87,'undoMutations':_0x5de3b8}),!0x0;}},_s={'type':_0x36216a[_0x2cfc65(0x334)],'id':_0x2cfc65(0x262),async 'handler'(_0x4c31b2,_0x45b0ef){const _0xa13f89=_0x2cfc65;if(!_0x45b0ef)return!0x1;const _0x5027af=_0x4c31b2[_0xa13f89(0x13e)](_0x4c491b),{pivotTableId:_0x4bb11a,fieldId:_0x47d11f,valueFilterInfo:_0x3a49aa,unitId:_0x4b44ee,subUnitId:_0xfa5d8f}=_0x45b0ef,_0x7840d5=_0x4c31b2[_0xa13f89(0x13e)](X),_0x11d755=_0x4c31b2[_0xa13f89(0x13e)](_0x5cd9a0),_0x253a4f=(await _0x7840d5[_0xa13f89(0x110)]({'unitId':_0x4b44ee,'subUnitId':_0xfa5d8f,'pivotTableId':_0x4bb11a,'params':{'type':B[_0xa13f89(0x2ae)],'setValuePivotFilter':{'tableFieldId':_0x47d11f,'filterInfo':_0x3a49aa}}}))[_0xa13f89(0x22a)][_0xa13f89(0x22d)];if(!_0x253a4f)return!0x1;const {changesets:_0x3d20cc,pivotTableConfig:_0xa4ccdc,isEmpty:_0x486a2a,view:_0x5d8328}=_0x253a4f,_0x3a0c81=_0xa4ccdc[_0xa13f89(0x216)],_0x5807d8=new _0x1b10b0();_0x5807d8[_0xa13f89(0x368)](_0x5d8328);const _0x110bb4={'cellInfo':_0x3a0c81,'view':_0x5807d8,'isEmpty':_0x486a2a};if(!await _0x4c31b2[_0xa13f89(0x13e)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x110bb4))return!0x1;const _0x27d63d=we(_0x4c31b2,_0x5807d8,_0x3a0c81,_0x486a2a),_0x15d387=_e(_0x4c31b2,_0x110bb4),{undos:_0x14f18e,redos:_0x58a3d7}=me(_0x5027af,{'pivotTableId':_0x4bb11a,'unitId':_0x4b44ee,'subUnitId':_0xfa5d8f},_0x3d20cc);return _0x414dc6([..._0x27d63d[_0xa13f89(0x235)],..._0x15d387[_0xa13f89(0x235)],..._0x58a3d7],_0x5027af),_0x11d755[_0xa13f89(0x380)]({'unitID':_0x4b44ee,'redoMutations':[..._0x27d63d['redos'],..._0x15d387[_0xa13f89(0x235)],..._0x58a3d7],'undoMutations':[..._0x27d63d[_0xa13f89(0x319)],..._0x15d387['undos'],..._0x14f18e]}),!0x0;}},to={'id':'sheet.mutation.update-date-group','type':_0x36216a[_0x2cfc65(0x11f)],'handler':(_0x59fdb2,_0x2139aa)=>{const _0x2a70c3=_0x2cfc65;if(!_0x2139aa)return!0x1;if(!!_0x59fdb2['get'](_0x931275)[_0x2a70c3(0x303)](Y))return!0x0;const {unitId:_0x5b929c,subUnitId:_0x48bcb3,pivotTableId:_0x9be6c8,tableFieldId:_0x47c7e9,dateType:_0x339d33}=_0x2139aa,_0x52890e=_0x59fdb2[_0x2a70c3(0x13e)]($),_0x1d6519=_0x52890e['getPivotTableInstance'](_0x9be6c8);if(!_0x1d6519)return!0x1;const _0x282a76=_0x1d6519['getDataFieldByTableId'](_0x47c7e9);if(!_0x282a76)return!0x1;const _0xc99872=_0x282a76[_0x2a70c3(0x1df)](),_0x471657=_0x1d6519[_0x2a70c3(0x2a5)](_0xc99872),_0x5b8599=(_0x471657==null?void 0x0:_0x471657[_0x2a70c3(0x27a)]())+'\x20'+Qo(_0x59fdb2,_0x339d33);_0x52890e[_0x2a70c3(0x161)](_0x5b929c,_0x9be6c8)[_0x2a70c3(0x16b)](_0x282a76['id'],_0x5b8599);const _0x501488=_0x1d6519[_0x2a70c3(0x2c6)](_0x47c7e9);if(!_0x501488)return!0x1;_0x1d6519[_0x2a70c3(0x38a)](_0x501488[_0x2a70c3(0x159)](),_0x5b8599),_0x282a76[_0x2a70c3(0x210)](_0x339d33);const _0x2bd3a0=_0x52890e[_0x2a70c3(0x21d)](_0x5b929c,_0x48bcb3,_0x9be6c8);return _0x52890e[_0x2a70c3(0x1ba)]({'unitId':_0x5b929c,'subUnitId':_0x48bcb3,'token':_0x9be6c8,'type':G[_0x2a70c3(0x2d8)],'pivotConfig':_0x2bd3a0}),!0x0;}},Fs={'id':_0x2cfc65(0x23e),'type':_0x36216a[_0x2cfc65(0x334)],'handler':(_0x2aa7fa,_0x4dad35)=>{const _0x5bb955=_0x2cfc65;if(!_0x4dad35)return!0x1;const _0x4562f2=_0x2aa7fa[_0x5bb955(0x13e)](_0x5cd9a0),{unitId:_0x8ea79c,subUnitId:_0x2fcd27,pivotTableId:_0x43a735,tableFieldId:_0x3b5b12}=_0x4dad35,_0xb55af8=[],_0x555873=[],_0x109dea=_0x2aa7fa['get'](ve),_0x32767e=_0x109dea['getCollection'](_0x8ea79c,_0x43a735),_0x30e030=_0x109dea['getPivotTableConfig'](_0x8ea79c,_0x2fcd27,_0x43a735);if(!(_0x30e030!=null&&_0x30e030['fieldsConfig'][_0x5bb955(0x331)]))return!0x1;const _0x37cb2e=Object[_0x5bb955(0x282)](_0x30e030[_0x5bb955(0x356)][_0x5bb955(0x331)])[_0x5bb955(0x193)](_0x76196=>_0x76196['id']===_0x3b5b12);if(!_0x37cb2e)return!0x1;const _0xccab09=_0x37cb2e['dataFieldId'];if(!(_0x32767e!=null&&_0x32767e[_0x5bb955(0x350)]))return!0x1;const _0x4710d0=Object[_0x5bb955(0x282)](_0x32767e==null?void 0x0:_0x32767e[_0x5bb955(0x350)])[_0x5bb955(0x193)](_0x29bfe9=>_0x29bfe9['id']===_0xccab09);if(!_0x4710d0)return!0x1;_0x3eae7d(_0x4710d0)&&_0xb55af8[_0x5bb955(0x17f)]({'id':to['id'],'params':{..._0x4dad35,'dateType':_0x4710d0[_0x5bb955(0x266)]}}),_0x555873[_0x5bb955(0x17f)]({'id':to['id'],'params':{..._0x4dad35}});const _0x4fbdfa=_0x2aa7fa[_0x5bb955(0x13e)](_0x4c491b);return _0x414dc6(_0x555873,_0x4fbdfa)&&_0x4562f2['pushUndoRedo']({'unitID':_0x8ea79c,'undoMutations':_0xb55af8,'redoMutations':_0x555873}),!0x0;}},Rs={'type':_0x36216a['COMMAND'],'id':_0x2cfc65(0x383),async 'handler'(_0x3aba59,_0x560418){const _0x364e84=_0x2cfc65;if(!_0x560418)return!0x1;const _0x4e29eb=_0x3aba59[_0x364e84(0x13e)](_0x4c491b),_0x3cb6a0=_0x3aba59[_0x364e84(0x13e)](_0x5cd9a0),_0x55d4ec=_0x3aba59[_0x364e84(0x13e)](X),{displayName:_0x8fd691,subtotalType:_0x4b1fed,format:_0x582253,tableFieldId:_0x5b86ed,pivotTableId:_0x28dd80,unitId:_0x97b832,subUnitId:_0x46401c}=_0x560418,_0x375c0d=(await _0x55d4ec[_0x364e84(0x110)]({'unitId':_0x97b832,'subUnitId':_0x46401c,'pivotTableId':_0x28dd80,'params':{'type':B[_0x364e84(0x382)],'setPivotSetting':{'tableFieldId':_0x5b86ed,'displayName':_0x8fd691,'subtotalType':_0x4b1fed,'format':_0x582253}}}))[_0x364e84(0x22a)]['setPivotSetting'];if(!_0x375c0d)return!0x1;const {changesets:_0x5d1b88,view:_0x1299f2,pivotTableConfig:_0x28631d,isEmpty:_0x5ea8d1}=_0x375c0d,_0x28518d=_0x28631d[_0x364e84(0x216)],_0x66c504=new _0x1b10b0();_0x66c504[_0x364e84(0x368)](_0x1299f2);const _0x7f1a48={'cellInfo':_0x28518d,'view':_0x66c504,'isEmpty':_0x5ea8d1};if(!await _0x3aba59[_0x364e84(0x13e)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x7f1a48))return!0x1;const _0x58d708=we(_0x3aba59,_0x66c504,_0x28518d,_0x5ea8d1),_0x690661=_e(_0x3aba59,_0x7f1a48),{undos:_0x3659d6,redos:_0x4c7d21}=me(_0x4e29eb,{'pivotTableId':_0x28dd80,'unitId':_0x97b832,'subUnitId':_0x46401c},_0x5d1b88);return _0x414dc6([..._0x58d708['redos'],..._0x690661[_0x364e84(0x235)],..._0x4c7d21],_0x4e29eb),_0x3cb6a0[_0x364e84(0x380)]({'unitID':_0x97b832,'redoMutations':[..._0x58d708[_0x364e84(0x235)],..._0x690661[_0x364e84(0x235)],..._0x4c7d21],'undoMutations':[..._0x58d708['undos'],..._0x690661[_0x364e84(0x319)],..._0x3659d6]}),!0x0;}},oo={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x34f),'handler'(_0x181671,_0x374749){const _0x517c21=_0x2cfc65;if(!_0x374749)return!0x1;if(!!_0x181671['get'](_0x931275)[_0x517c21(0x303)](Y))return!0x0;const _0x5641f2=_0x181671[_0x517c21(0x13e)]($),{pivotTableId:_0x3af75,deleteIds:_0x2ef138,collectionJSON:_0x2692e6,dataRangeInfo:_0x306480,unitId:_0x348020,subUnitId:_0x1f2271}=_0x374749,_0x5c2799=_0x5641f2[_0x517c21(0x2bc)](_0x3af75),_0x31f18b=_0x5641f2[_0x517c21(0x21d)](_0x348020,_0x1f2271,_0x3af75);if(!_0x5c2799||!_0x31f18b)return!0x1;const {collection:_0x31769b,updateDataFieldList:_0x4a27e4}=_0x5641f2[_0x517c21(0x121)](_0x3af75,_0x2692e6,_0x306480,_0x31f18b['targetCellInfo']);_0x5641f2[_0x517c21(0x180)](_0x31769b,_0x4a27e4,_0x306480),_0x5c2799['updateDataFieldsCollection'](_0x31769b);for(const _0x1e917f of _0x2ef138)_0x5641f2['removeDataField'](_0x306480[_0x517c21(0x130)],_0x1e917f);const _0x1dbc1=_0x5641f2[_0x517c21(0x21d)](_0x348020,_0x1f2271,_0x3af75);return _0x1dbc1['sourceRangeInfo']=JSON[_0x517c21(0x2da)](JSON[_0x517c21(0x205)](_0x306480)),_0x5641f2[_0x517c21(0x1ba)]({'unitId':_0x348020,'subUnitId':_0x1f2271,'token':_0x3af75,'type':G[_0x517c21(0x2d8)]}),!0x0;}},Ds={'type':_0x36216a['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x2f7e82,_0x5a28f9){const _0x540a6d=_0x2cfc65,_0x136af7=_0x2f7e82['get'](_0x4c491b),_0x2c6660=_0x2f7e82['get'](X),_0x544554=_0x2f7e82['get'](_0x5cd9a0);if(!_0x5a28f9)return!0x1;const {token:_0x5eff9d,dataRangeInfo:_0x42d543,unitId:_0xcd6bf9,subUnitId:_0x1daad7}=_0x5a28f9,_0xb69992=[],_0x2d1feb=[],_0x2b7919=(await _0x2c6660[_0x540a6d(0x110)]({'unitId':_0xcd6bf9,'subUnitId':_0x1daad7,'pivotTableId':_0x5eff9d,'params':{'type':B[_0x540a6d(0x14e)],'updatePivotSource':{'dataRangeInfo':_0x42d543,'unitId':_0xcd6bf9,'subUnitId':_0x1daad7}}}))['result'][_0x540a6d(0x271)];if(!_0x2b7919)return!0x1;const {changesets:_0x25e6a4,deleteIds:_0x2f5b21,collectionConfig:_0x5da974,oldCollectionConfig:_0x58a603,view:_0x4863e2,isEmpty:_0x1fb921,pivotTableConfig:_0x577c27}=_0x2b7919;_0x2d1feb[_0x540a6d(0x17f)]({'id':oo['id'],'params':{'pivotTableId':_0x5eff9d,'deleteIds':_0x2f5b21,'collectionJSON':_0x5da974,'dataRangeInfo':_0x42d543,'unitId':_0xcd6bf9,'subUnitId':_0x1daad7}}),_0xb69992['unshift']({'id':oo['id'],'params':{'pivotTableId':_0x5eff9d,'deleteIds':[],'collectionJSON':_0x58a603,'dataRangeInfo':_0x577c27['sourceRangeInfo'],'unitId':_0xcd6bf9,'subUnitId':_0x1daad7}});const _0x341237=_0x577c27[_0x540a6d(0x216)],_0x28dfff=new _0x1b10b0();_0x28dfff['formJSON'](_0x4863e2);const _0x33066b={'cellInfo':_0x341237,'view':_0x28dfff,'isEmpty':_0x1fb921};if(!await _0x2f7e82['get'](ie)[_0x540a6d(0x221)][_0x540a6d(0x36d)](be)(!0x0,_0x33066b))return!0x1;const _0x48121b=we(_0x2f7e82,_0x28dfff,_0x341237,_0x1fb921),_0xa01f2a=_e(_0x2f7e82,_0x33066b),{undos:_0x36df08,redos:_0x49a365}=me(_0x136af7,{'pivotTableId':_0x5eff9d,'unitId':_0xcd6bf9,'subUnitId':_0x1daad7},_0x25e6a4);return _0x414dc6([..._0x48121b[_0x540a6d(0x235)],..._0xa01f2a['redos'],..._0x2d1feb,..._0x36df08],_0x136af7),_0x544554[_0x540a6d(0x380)]({'unitID':_0xcd6bf9,'redoMutations':[..._0x48121b[_0x540a6d(0x235)],..._0xa01f2a['redos'],..._0x2d1feb,..._0x36df08],'undoMutations':[..._0x48121b[_0x540a6d(0x319)],..._0xa01f2a[_0x540a6d(0x319)],..._0xb69992,..._0x49a365]}),!0x0;}},Ns={'type':_0x36216a[_0x2cfc65(0x334)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x53e4c2,_0x4019c3){const _0x3629e7=_0x2cfc65;if(!_0x4019c3)return!0x1;const _0x4e43ac=_0x53e4c2[_0x3629e7(0x13e)](_0x4c491b),_0x24ab53=_0x53e4c2[_0x3629e7(0x13e)](X),_0x1663e4=_0x53e4c2['get'](_0x295672),_0x1a0534=_0x53e4c2[_0x3629e7(0x13e)](_0x5cd9a0),{pivotTableId:_0x40803f,position:_0x2913ca,index:_0x43fe9b}=_0x4019c3,_0x5a6e3c=_0x5d0da0(_0x1663e4);if(!_0x5a6e3c)return!0x1;const {unitId:_0xe102c9,subUnitId:_0x171312}=_0x5a6e3c,_0xd895fe=(await _0x24ab53[_0x3629e7(0x110)]({'unitId':_0xe102c9,'subUnitId':_0x171312,'pivotTableId':_0x40803f,'params':{'type':B[_0x3629e7(0x250)],'updateValuePosition':{'position':_0x2913ca,'index':_0x43fe9b}}}))[_0x3629e7(0x22a)][_0x3629e7(0x1a1)];if(!_0xd895fe)return!0x1;const {changesets:_0x428c45,view:_0x403956,isEmpty:_0x48f128,pivotTableConfig:_0x56c49d}=_0xd895fe,_0x1cc9e4=_0x56c49d[_0x3629e7(0x216)],_0x31001c=new _0x1b10b0();_0x31001c[_0x3629e7(0x368)](_0x403956);const _0x4b8079=_0x53e4c2[_0x3629e7(0x13e)](ie),_0x5d324e={'cellInfo':_0x1cc9e4,'view':_0x31001c,'isEmpty':_0x48f128};if(!await _0x4b8079[_0x3629e7(0x221)][_0x3629e7(0x36d)](be)(!0x0,_0x5d324e))return!0x1;const _0x3920e2=we(_0x53e4c2,_0x31001c,_0x1cc9e4,_0x48f128),_0x3be82f=_e(_0x53e4c2,_0x5d324e),{undos:_0x284881,redos:_0x30c05f}=me(_0x4e43ac,{'pivotTableId':_0x40803f,'unitId':_0xe102c9,'subUnitId':_0x171312},_0x428c45);return _0x414dc6([..._0x3920e2[_0x3629e7(0x235)],..._0x3be82f[_0x3629e7(0x235)],..._0x30c05f],_0x4e43ac),_0x1a0534[_0x3629e7(0x380)]({'unitID':_0xe102c9,'redoMutations':[..._0x3920e2[_0x3629e7(0x235)],..._0x3be82f['redos'],..._0x30c05f],'undoMutations':[..._0x3920e2[_0x3629e7(0x319)],..._0x3be82f[_0x3629e7(0x319)],..._0x284881]}),!0x0;}},Ut={'type':_0x36216a[_0x2cfc65(0x11f)],'id':_0x2cfc65(0x2c5),'handler'(){return!0x0;}};var Us=Object[_0x2cfc65(0x283)],Vs=(_0x228484,_0xdc90c8,_0x26bd7f,_0x2de73d)=>{const _0x8855ab=_0x2cfc65;for(var _0x1a14da=_0x2de73d>0x1?void 0x0:_0x2de73d?Us(_0xdc90c8,_0x26bd7f):_0xdc90c8,_0x1a5b0e=_0x228484[_0x8855ab(0x1fd)]-0x1,_0x6a2e3;_0x1a5b0e>=0x0;_0x1a5b0e--)(_0x6a2e3=_0x228484[_0x1a5b0e])&&(_0x1a14da=_0x6a2e3(_0x1a14da)||_0x1a14da);return _0x1a14da;},at=(_0x59091c,_0x17d39e)=>(_0x1466ae,_0x18f9d5)=>_0x17d39e(_0x1466ae,_0x18f9d5,_0x59091c);const Os=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x281c8d,_0x27f1dd,_0x1c5a36)=>{const _0x5a773b=_0x2cfc65,_0x5d7363=_0x281c8d[_0x5a773b(0x116)];_0x281c8d[_0x5a773b(0x2f6)](_0xfad075=>{const _0x18e85c=_0x5a773b,_0x2e5e0e=_0xfad075['getId'](),_0x4583f5=_0xfad075[_0x18e85c(0x2e5)](),_0x2d691a=_0xfad075['getSourceName'](),_0x20ca5b=_0xfad075['getDisplayName']();_0x27f1dd[_0x4583f5]&&_0x27f1dd[_0x4583f5]===_0x20ca5b&&_0x2d691a===_0x20ca5b&&(_0x281c8d[_0x18e85c(0x38a)](_0x2e5e0e,_0x5d7363[_0x18e85c(0x2ab)](_0x4583f5)),_0xfad075[_0x18e85c(0x28d)](_0x5d7363[_0x18e85c(0x2ab)](_0x4583f5)));}),_0x281c8d['iterateFieldByArea'](_0xeefe5e[_0x5a773b(0x346)],_0x5d702b=>{const _0x4249ef=_0x5a773b,_0x2d0b1c=_0x5d702b[_0x4249ef(0x159)](),_0x5ee186=_0x5d702b[_0x4249ef(0x2e5)](),_0x1aa1f1=_0x5d702b['getSourceName'](),_0x3ff027=_0x5d702b[_0x4249ef(0x2ab)](),_0x1c5b5b=_0x5d702b[_0x4249ef(0x296)](),_0xb40bc=_0x1c5a36(_0x1aa1f1,_0x1c5b5b);_0x27f1dd[_0x5ee186]&&_0x27f1dd[_0x5ee186]===_0x1aa1f1&&_0xb40bc===_0x3ff027&&(_0x281c8d['renameField'](_0x2d0b1c,_0x1c5a36(_0x5d7363[_0x4249ef(0x2ab)](_0x5ee186),_0x1c5b5b)),_0x5d702b[_0x4249ef(0x28d)](_0x5d7363[_0x4249ef(0x2ab)](_0x5ee186)));});},xs=(_0x2a767a,_0x56a4ce,_0x32f46b)=>{const _0x21e07c=_0x2cfc65;var _0x1b4b12,_0x1b8526;const {arrayFormulaCellData:_0x468fb7,unitData:_0xc0797b}=_0x56a4ce,{unitId:_0x41eb8d,subUnitId:_0x8793e6}=_0x32f46b,_0x1d8869=_0x32f46b[_0x21e07c(0x16d)],{startColumn:_0x209c6e,endColumn:_0x268ff7}=_0x1d8869,_0x4b3b3b=(_0x1b4b12=_0x468fb7==null?void 0x0:_0x468fb7[_0x41eb8d])==null?void 0x0:_0x1b4b12[_0x8793e6],_0x1ec1a7=(_0x1b8526=_0xc0797b==null?void 0x0:_0xc0797b[_0x41eb8d])==null?void 0x0:_0x1b8526[_0x8793e6],_0x325be9=new Set(),_0xc244b3=_0x268ff7-_0x209c6e+0x1,{dirtyRanges:_0x8dce58}=_0x2a767a;if(_0x8dce58)for(const {range:_0x535d3a,sheetId:_0x271070,unitId:_0x4db993}of _0x8dce58){if(_0x271070!==_0x8793e6||_0x41eb8d!==_0x4db993)continue;const _0x382d04=_0x2492ba[_0x21e07c(0x265)](_0x535d3a,_0x1d8869);if(_0x382d04){const {startColumn:_0x2ce861,endColumn:_0x16f839}=_0x382d04;for(let _0x1aa50=_0x2ce861;_0x1aa50<=_0x16f839;_0x1aa50++)_0x325be9[_0x21e07c(0x123)](_0x1aa50);}}if(_0x325be9[_0x21e07c(0x1ed)]===_0xc244b3||_0x325be9[_0x21e07c(0x1ed)]===_0xc244b3)return Array['from'](_0x325be9);if(_0x1ec1a7){const _0x390074=_0x1ec1a7[_0x21e07c(0x348)](),_0x4d124d=Object['keys'](_0x390074);for(const _0x34e064 of _0x4d124d){const _0x380d16=Number(_0x34e064),_0x419b97=_0x390074[_0x380d16];if(_0x325be9['size']===_0xc244b3)break;for(const _0x3000c1 in _0x419b97){const _0x1112c6=Number(_0x3000c1);_0x1112c6<_0x209c6e||_0x1112c6>_0x268ff7||_0x325be9[_0x21e07c(0x123)](_0x1112c6);}}}if(_0x4b3b3b){const _0x451182=_0x4b3b3b[_0x21e07c(0x348)](),_0x52f237=Object[_0x21e07c(0x23b)](_0x451182);for(const _0x689a48 of _0x52f237){const _0x37bd65=Number(_0x689a48),_0x36324b=_0x451182[_0x37bd65];if(_0x325be9[_0x21e07c(0x1ed)]===_0xc244b3)break;for(const _0x4fd1ad in _0x36324b){const _0x5e250c=Number(_0x4fd1ad);_0x5e250c<_0x209c6e||_0x5e250c>_0x268ff7||_0x325be9[_0x21e07c(0x123)](_0x5e250c);}}}return Array[_0x21e07c(0x25a)](_0x325be9);},As=_0x3478a7=>{const _0x54c8ca=_0x2cfc65,_0x3c195e=new Set(),_0x26b48e=[];for(const _0xe062e of _0x3478a7){const _0x51db00=_0xe062e[_0x54c8ca(0x21c)]+','+_0xe062e[_0x54c8ca(0x389)]+','+_0xe062e[_0x54c8ca(0x256)]+','+_0xe062e[_0x54c8ca(0x354)];_0x3c195e[_0x54c8ca(0x19c)](_0x51db00)||(_0x3c195e[_0x54c8ca(0x123)](_0x51db00),_0x26b48e[_0x54c8ca(0x17f)](_0xe062e));}return _0x26b48e;};let ct=class extends _0x9a7a73{constructor(_0x4f0259,_0x4974cc,_0x6114c2,_0x1f8e8f,_0x252617){const _0x39650a=_0x2cfc65;super(),U(this,_0x39650a(0x122),new _0x329c39(!0x0)),U(this,'_globalComputedStartHelpFunc',_0x5b7de8=>{this['_globalSubject']['next'](!0x1);}),U(this,_0x39650a(0x12b),_0x5ba8ba=>{const _0x2e233e=_0x39650a;this[_0x2e233e(0x122)][_0x2e233e(0x2c4)](!0x0);}),(this[_0x39650a(0x2ad)]=_0x4f0259,this[_0x39650a(0x13d)]=_0x4974cc,this['_commandService']=_0x6114c2,this['_globalComputingSrv']=_0x1f8e8f,this[_0x39650a(0x13c)]=_0x252617,this[_0x39650a(0x273)](),this['_initPivotDataGetListener']());}[_0x2cfc65(0x273)](){const _0x25d110=_0x2cfc65;this['_subjectCollectionChange'](),this[_0x25d110(0x2a3)](),this[_0x25d110(0x1de)](),this['_subjectFieldsCollectionChange']();}[_0x2cfc65(0x366)](){const _0x49fa45=_0x2cfc65;this[_0x49fa45(0x1bb)][_0x49fa45(0x146)](this[_0x49fa45(0x122)]),_0xa87c2b[_0x49fa45(0x21b)](_0x5cba55[_0x49fa45(0x365)],this['_globalComputedStartHelpFunc']),_0xa87c2b[_0x49fa45(0x21b)](_0x5cba55[_0x49fa45(0x388)],this[_0x49fa45(0x12b)]);}[_0x2cfc65(0x23c)](){const _0x10cd09=_0x2cfc65;this[_0x10cd09(0x134)](this[_0x10cd09(0x1a6)][_0x10cd09(0x1f2)](_0x238851=>{const _0x3384ff=_0x10cd09;_0x238851['id']===_0x2bf82a['id']&&this['_sheetsPivotDataSourceModel'][_0x3384ff(0x2cf)](_0x238851[_0x3384ff(0x1c4)]);})),this[_0x10cd09(0x134)](this[_0x10cd09(0x1a6)][_0x10cd09(0x1f2)](_0x2ff4a3=>{const _0x5d77b1=_0x10cd09;if(_0x2ff4a3['id']!==ro['id'])return;const _0x286301=_0x2ff4a3[_0x5d77b1(0x1c4)],{unitId:_0x16df08,subUnitId:_0x34fb29,pivotTableId:_0x505477}=_0x286301,_0x2af3a0=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x38b)],_0x29452b={};switch(_0x2af3a0){case B[_0x5d77b1(0x38d)]:{const _0x39305c=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x211)];if(!_0x39305c)return;const {row:_0x8aa1b8,col:_0x311b06,cellData:_0x41bd18,pivotItemRenderInfoCache:_0x140240,tableFieldId:_0x5b320e}=_0x39305c,_0x522782=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x286301['pivotTableId']);if(!_0x522782||!_0x140240)return;if(_0x5b320e){const _0x196bef=_0x522782[_0x5d77b1(0x25c)](_0x5b320e);if(!_0x196bef)return;_0x29452b[_0x5d77b1(0x211)]={..._0x522782['getDataFieldItemInfo'](_0x196bef),'tableFieldId':_0x5b320e,'pivotTableId':_0x286301['pivotTableId'],'filterInfo':_0x522782['getFilterInfo'](_0x5b320e),'sortInfo':_0x522782[_0x5d77b1(0x33d)](_0x5b320e),'format':_0x522782[_0x5d77b1(0x1ec)](_0x5b320e)};}else{const _0x5e3afe=Bi(_0x8aa1b8,_0x311b06,_0x41bd18,_0x522782,_0x140240),_0x3523c2=_0x5e3afe==null?void 0x0:_0x5e3afe[_0x5d77b1(0x2bd)];if(!_0x3523c2)return;const _0x4f92e5=_0x522782['getDataFieldByTableId'](_0x3523c2);if(!_0x4f92e5)return;_0x29452b[_0x5d77b1(0x211)]={..._0x522782[_0x5d77b1(0x2d3)](_0x4f92e5),'tableFieldId':_0x3523c2,'pivotTableId':_0x286301[_0x5d77b1(0x386)],'filterInfo':_0x522782['getFilterInfo'](_0x3523c2),'sortInfo':_0x522782[_0x5d77b1(0x33d)](_0x3523c2),'format':_0x522782[_0x5d77b1(0x1ec)](_0x3523c2)};}}break;case B['Panel']:{const _0x43290b=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x15b)];if(!_0x43290b)return;const {pivotTableId:_0x2e9668}=_0x43290b,_0x161b1e=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x2e9668);if(!_0x161b1e)return;const _0x41addd=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x2e9668),_0x1ef488=Li(_0x161b1e,_0x2e9668,_0x41addd);_0x29452b[_0x5d77b1(0x15b)]=_0x1ef488;}break;case B[_0x5d77b1(0x1af)]:{const _0x269e79=this[_0x5d77b1(0x2ad)]['getPivotTableInstance'](_0x505477),_0x5528b4=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x212)](_0x16df08),_0x36340=_0x5528b4[_0x5d77b1(0x161)](_0x505477);let _0x26e4ff=null;const _0x2ed4fc=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477),_0x1549ff=_0x286301[_0x5d77b1(0x1c4)]['addPivotField'];if(!_0x269e79||!_0x2ed4fc||!_0x1549ff)return!0x1;const {dataFieldId:_0x2bd190,fieldArea:_0x415207,index:_0x124c05}=_0x1549ff;_0x269e79[_0x5d77b1(0x322)]();const _0x501ec9=_0x269e79['addFieldWithSourceId'](_0x2bd190,_0x415207,_0x124c05);if(_0x501ec9&&_0x415207===_0xeefe5e[_0x5d77b1(0x346)]){const _0x34e878=_0x501ec9['getId'](),_0xa9cb49=_0x269e79[_0x5d77b1(0x25c)](_0x34e878);if(_0xa9cb49){const _0x134b21=_0xa9cb49==null?void 0x0:_0xa9cb49[_0x5d77b1(0x141)]();_0x269e79[_0x5d77b1(0x157)](_0x501ec9['getId'](),_0x134b21===_0x11da01[_0x5d77b1(0x16f)]?_0x383156[_0x5d77b1(0x22c)]:_0x383156[_0x5d77b1(0x251)]);}const _0x58d4a5=_0x269e79['getValueIndex'](),_0x34fa08=_0x269e79[_0x5d77b1(0x254)](),_0xce0036=_0x269e79[_0x5d77b1(0x29d)](_0xeefe5e[_0x5d77b1(0x346)]);if(_0x58d4a5===-0x1&&_0xce0036>0x1){const _0x51e6c2=_0x34fa08===_0x497671['None']?_0x497671[_0x5d77b1(0x19b)]:_0x34fa08,_0x4c32e9=_0x51e6c2===_0x497671[_0x5d77b1(0x2bf)]?_0xeefe5e[_0x5d77b1(0x2bf)]:_0xeefe5e[_0x5d77b1(0x19b)];_0x269e79[_0x5d77b1(0x1a1)](_0x51e6c2,_0x269e79[_0x5d77b1(0x29d)](_0x4c32e9));}}else{if(_0x501ec9&&(_0x415207===_0xeefe5e[_0x5d77b1(0x2bf)]||_0x415207===_0xeefe5e['Column'])){const _0x46ba4d=_0x501ec9['getId'](),_0x23042f=_0x269e79[_0x5d77b1(0x25c)](_0x46ba4d);if(_0x23042f&&(_0x23042f==null?void 0x0:_0x23042f[_0x5d77b1(0x141)]())===_0x11da01[_0x5d77b1(0x2e7)]){const _0x3ca9da=_0x23042f[_0x5d77b1(0x37b)]();if(_0x3ca9da&&_0x269e79[_0x5d77b1(0x1f0)](_0x501ec9[_0x5d77b1(0x159)](),_0x3ca9da),!_0x36340[_0x5d77b1(0x2fb)]()[_0x5d77b1(0x32c)](_0x1e17ef=>{const _0x2eeb0b=_0x5d77b1,_0x27ea72=_0x36340[_0x2eeb0b(0x11c)](_0x1e17ef);return _0x627b16(_0x27ea72)?_0x27ea72[_0x2eeb0b(0x1da)]()[_0x2eeb0b(0x31e)]===_0x2bd190:!0x1;})){const _0x3f15a5=_0x5528b4[_0x5d77b1(0x1d0)](),_0x3d37c0=qi(_0x23042f[_0x5d77b1(0x202)],_0x23042f[_0x5d77b1(0x16e)]),_0x7a45d=_0x23042f[_0x5d77b1(0x27a)]()+_0x5d77b1(0x1e2)+Qo(this[_0x5d77b1(0x13c)],_0x3d37c0),_0x25e36e=new _0x21a19e(_0x3f15a5,_0x7a45d,_0x552661(0x3),_0x23042f['getId'](),_0x3d37c0);_0x5528b4[_0x5d77b1(0x2b8)](_0x25e36e),_0x36340['addField'](_0x3f15a5,_0x7a45d),_0x269e79[_0x5d77b1(0x2f8)](_0x3f15a5,_0x415207,(_0x124c05!=null?_0x124c05:0x0)+0x1),_0x26e4ff=_0x25e36e;}}}}const _0x5bd7bd=_0x269e79[_0x5d77b1(0x313)](),_0x52afb7=_0x269e79[_0x5d77b1(0x2b1)]()['toJSON']();let _0x58f029;if(_0x26e4ff){_0x58f029=_0x26e4ff[_0x5d77b1(0x2d6)]();const _0x48197f=_0x26e4ff[_0x5d77b1(0x159)]();_0x36340[_0x5d77b1(0x349)](_0x48197f);let _0x1a27e4=!0x0;for(const _0x3b8db2 in _0x5528b4[_0x5d77b1(0x337)])if(_0x5528b4[_0x5d77b1(0x337)][_0x3b8db2][_0x5d77b1(0x2fb)]()['includes'](_0x48197f)){_0x1a27e4=!0x1;break;}_0x1a27e4&&_0x5528b4['deleteDataField'](_0x48197f);}const _0x3be0ce=_0x269e79['endCollectChangeset']();_0x29452b['addPivotField']={'view':_0x52afb7,'changesets':_0x3be0ce,'isEmpty':_0x5bd7bd,'pivotTableConfig':_0x2ed4fc,'shouldBeAddedGroupJSON':_0x58f029};}break;case B[_0x5d77b1(0x119)]:{const _0x1169e3=_0x286301['params'][_0x5d77b1(0x20c)];if(!_0x1169e3)return;const _0x339baa=_0x1169e3['sourceRangeInfo'],_0x2c426a=_0x1169e3[_0x5d77b1(0x386)],{collection:_0x4d1536}=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x225)]({'unitId':_0x339baa[_0x5d77b1(0x130)],'sheetName':_0x339baa[_0x5d77b1(0x364)],'subUnitId':_0x339baa['subUnitId'],'range':_0x339baa['range']}),_0x5df805=new _0xa87c2b(_0x4d1536,void 0x0,_0x2c426a),_0x56baff=_0x5df805[_0x5d77b1(0x2b1)](),_0x2329c2=_0x5df805[_0x5d77b1(0x2d6)](),_0x21ad8c=_0x4d1536['toJSON']();_0x29452b['addPivotTable']={'view':_0x56baff,'fieldsConfig':_0x2329c2,'collectionConfig':_0x21ad8c,'isEmpty':_0x5df805['isEmpty']()};}break;case B['MovePivotField']:{const _0x260a60=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x197)];if(!_0x260a60)return;const {fieldId:_0x57fd43,area:_0xeaa555,index:_0x815313}=_0x260a60,_0x10495=this[_0x5d77b1(0x2ad)]['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x10495)return;const _0x1622b2=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477);if(!_0x1622b2)return;_0x1622b2[_0x5d77b1(0x322)]();const {area:_0xdabb2e,index:_0x2dcbf9}=_0x1622b2['getFieldPositionInfoById'](_0x57fd43);if(_0x1622b2[_0x5d77b1(0x191)](_0x57fd43,_0xeaa555,_0x815313),_0xeaa555===_0xeefe5e['Value']&&_0x1622b2[_0x5d77b1(0x2c6)](_0x57fd43)['getSubtotal']()===void 0x0){const _0x400cb9=_0x1622b2[_0x5d77b1(0x2c6)](_0x57fd43);if(_0x400cb9&&_0x400cb9['getSubtotal']()===void 0x0){const _0x1fc631=_0x1622b2[_0x5d77b1(0x25c)](_0x57fd43);if(_0x1fc631){const _0x53d657=_0x1fc631==null?void 0x0:_0x1fc631[_0x5d77b1(0x141)]();_0x1622b2[_0x5d77b1(0x157)](_0x57fd43,_0x53d657===_0x11da01[_0x5d77b1(0x16f)]?_0x383156['sum']:_0x383156[_0x5d77b1(0x251)]);}}}const _0x485669=_0x1622b2['getValuePosition'](),_0x53b1ca=_0x1622b2['getValueIndex'](),_0x4b407a=_0x1622b2[_0x5d77b1(0x29d)](_0xeefe5e[_0x5d77b1(0x346)])>0x1;if(_0x4b407a&&_0xdabb2e===_0xeaa555&&(_0xeaa555===_0xeefe5e[_0x5d77b1(0x2bf)]&&_0x485669===_0x497671[_0x5d77b1(0x2bf)]||_0xeaa555===_0xeefe5e['Column']&&_0x485669===_0x497671['Column'])){let _0x27479c=_0x53b1ca;_0x2dcbf9<=_0x53b1ca&&_0x27479c--,_0x815313<=_0x53b1ca&&_0x27479c++,_0x1622b2[_0x5d77b1(0x1a1)](_0x485669,_0x27479c);}else _0x4b407a&&(_0xdabb2e===_0xeefe5e[_0x5d77b1(0x2bf)]&&_0x485669===_0x497671[_0x5d77b1(0x2bf)]||_0xdabb2e===_0xeefe5e['Column']&&_0x485669===_0x497671['Column'])&&_0x53b1ca>=_0x2dcbf9&&_0x1622b2['updateValuePosition'](_0x485669,_0x53b1ca-0x1),_0x4b407a&&(_0xeaa555===_0xeefe5e[_0x5d77b1(0x2bf)]&&_0x485669===_0x497671[_0x5d77b1(0x2bf)]||_0xeaa555===_0xeefe5e[_0x5d77b1(0x19b)]&&_0x485669===_0x497671[_0x5d77b1(0x19b)])&&_0x53b1ca>=_0x815313&&_0x1622b2[_0x5d77b1(0x1a1)](_0x485669,_0x53b1ca+0x1);const _0x3796b6=_0x1622b2[_0x5d77b1(0x2b1)](),_0x263784=_0x1622b2['isEmpty'](),_0x349ee9=_0x1622b2['endCollectChangeset']();_0x29452b[_0x5d77b1(0x197)]={'view':_0x3796b6[_0x5d77b1(0x2d6)](),'changesets':_0x349ee9,'isEmpty':_0x263784,'pivotTableConfig':_0x10495};}break;case B['RemovePivotField']:{const _0x41f8ff=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x21e)];if(!_0x41f8ff)return;const _0x4a9843=_0x41f8ff['fieldIds'],_0x5837fd=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x5837fd)return!0x1;const _0x78d98c=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477);if(!_0x78d98c)return!0x1;_0x78d98c[_0x5d77b1(0x322)]();for(const _0x4b230c of _0x4a9843){const {area:_0x120fcb}=_0x78d98c['getFieldPositionInfoById'](_0x4b230c);_0x120fcb===_0xeefe5e[_0x5d77b1(0x346)]&&_0x78d98c['removeValueFilterInfoByValueFieldId'](_0x4b230c),(_0x120fcb===_0xeefe5e[_0x5d77b1(0x2bf)]||_0x120fcb===_0xeefe5e[_0x5d77b1(0x19b)])&&_0x78d98c[_0x5d77b1(0x293)](_0x4b230c),_0x78d98c[_0x5d77b1(0x2ed)](_0x4b230c);}const _0x412744=_0x78d98c[_0x5d77b1(0x313)](),_0x20604d=_0x78d98c[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x528d94=_0x78d98c['endCollectChangeset']();_0x29452b[_0x5d77b1(0x21e)]={'changesets':_0x528d94,'pivotTableConfig':_0x5837fd,'isEmpty':_0x412744,'view':_0x20604d};}break;case B[_0x5d77b1(0x318)]:{const _0x5aec66=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x335)];if(!_0x5aec66)return;const {tableFieldId:_0x31c8e8,items:_0x5f52f5,isAll:_0x5ca2a4}=_0x5aec66,_0x3f7c0e=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x505477),_0x38fcb6=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x3f7c0e||!_0x38fcb6)return;_0x3f7c0e['startCollectChangeset'](),_0x3f7c0e[_0x5d77b1(0x26a)](_0x31c8e8,{'type':_0x20c8d7[_0x5d77b1(0x1a7)],'list':_0x5f52f5,'isAll':_0x5ca2a4});const _0x50dc16=_0x3f7c0e[_0x5d77b1(0x313)](),_0x50e57a=_0x3f7c0e[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x41ec0e=_0x3f7c0e[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x335)]={'view':_0x50e57a,'changesets':_0x41ec0e,'isEmpty':_0x50dc16,'pivotTableConfig':_0x38fcb6};}break;case B[_0x5d77b1(0x2ae)]:{const _0x415978=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x22d)];if(!_0x415978)return;const {tableFieldId:_0x1e3692,filterInfo:_0x394380}=_0x415978,_0x565a98=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x540004=this[_0x5d77b1(0x2ad)]['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x565a98||!_0x540004)return;_0x565a98[_0x5d77b1(0x322)](),_0x565a98[_0x5d77b1(0x2ea)](_0x1e3692,_0x394380);const _0x3d71be=_0x565a98[_0x5d77b1(0x313)](),_0xfd08c3=_0x565a98[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x35fece=_0x565a98[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x22d)]={'view':_0xfd08c3,'changesets':_0x35fece,'isEmpty':_0x3d71be,'pivotTableConfig':_0x540004};}break;case B[_0x5d77b1(0x358)]:{const _0x463ad7=_0x286301['params'][_0x5d77b1(0x1d8)];if(!_0x463ad7)return;const {tableFieldId:_0x324e00,info:_0x532243}=_0x463ad7,_0x234b45=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x55c5ff=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x234b45||!_0x55c5ff)return;_0x234b45[_0x5d77b1(0x322)](),_0x234b45[_0x5d77b1(0x17b)](_0x324e00,_0x532243);const _0x466086=_0x234b45[_0x5d77b1(0x313)](),_0x8e50e4=_0x234b45['query']()[_0x5d77b1(0x2d6)](),_0x528cc9=_0x234b45[_0x5d77b1(0x18c)]();_0x29452b['setPivotSort']={'view':_0x8e50e4,'changesets':_0x528cc9,'isEmpty':_0x466086,'pivotTableConfig':_0x55c5ff};}break;case B[_0x5d77b1(0x382)]:{const _0x5f51b6=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x28b)];if(!_0x5f51b6)return;const {tableFieldId:_0x3feb97,displayName:_0x466057,subtotalType:_0xc9d8b9,format:_0x50d5bc}=_0x5f51b6,_0xa506ca=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x169037=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0xa506ca||!_0x169037)return;_0xa506ca[_0x5d77b1(0x322)](),_0x466057!==void 0x0&&_0xa506ca[_0x5d77b1(0x38a)](_0x3feb97,_0x466057),_0xc9d8b9!==void 0x0&&_0xa506ca[_0x5d77b1(0x157)](_0x3feb97,_0xc9d8b9),_0x50d5bc!==void 0x0&&_0xa506ca[_0x5d77b1(0x1f0)](_0x3feb97,_0x50d5bc);const _0x562456=_0xa506ca['isEmpty'](),_0x2d236b=_0xa506ca[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x39005e=_0xa506ca['endCollectChangeset']();_0x29452b['setPivotSetting']={'changesets':_0x39005e,'pivotTableConfig':_0x169037,'isEmpty':_0x562456,'view':_0x2d236b};}break;case B['UpdatePivotSource']:{const _0x37ebd6=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x271)];if(!_0x37ebd6)return;const {dataRangeInfo:_0x1c8733,unitId:_0x274dd4,subUnitId:_0x2ecfbc}=_0x37ebd6,_0x280352=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x21d)](_0x274dd4,_0x2ecfbc,_0x505477),_0x3a19bf=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x2bc)](_0x505477);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x274dd4,_0x505477)||!_0x3a19bf||!_0x280352)return;const _0x18afd5=this[_0x5d77b1(0x2ad)]['getUpdateRangeDeleteIds'](_0x274dd4,_0x505477,_0x1c8733),_0x6e6094=this[_0x5d77b1(0x2ad)]['getCollection'](_0x274dd4,_0x505477)[_0x5d77b1(0x2d6)](),{collection:_0x2c231d}=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x225)]({'unitId':_0x1c8733['unitId'],'sheetName':_0x1c8733[_0x5d77b1(0x364)],'subUnitId':_0x1c8733[_0x5d77b1(0x1bc)],'range':_0x1c8733[_0x5d77b1(0x16d)]}),_0x45e958=_0x2c231d[_0x5d77b1(0x2d6)]();_0x3a19bf[_0x5d77b1(0x322)]();const _0x1d4fa0=this[_0x5d77b1(0x2ad)]['getDataFieldManager'](_0x274dd4)['getAutoDisplayNameFunction']()||_0x2a7e7e;_0x3a19bf[_0x5d77b1(0x2ce)](_0x27fc1d=>{const _0x5488ab=_0x5d77b1,_0x76dd85=_0x27fc1d['getDataFieldId']();if(!_0x2c231d['hasField'](_0x76dd85)){const _0x2c72d0=_0x2c231d[_0x5488ab(0x149)](_0x27fc1d[_0x5488ab(0x27b)]());if(_0x2c72d0){_0x3a19bf[_0x5488ab(0x233)](_0x27fc1d[_0x5488ab(0x159)](),_0x2c72d0['getName'](),_0x2c72d0[_0x5488ab(0x159)]());const {area:_0x115759}=_0x3a19bf[_0x5488ab(0x347)](_0x27fc1d[_0x5488ab(0x159)]());let _0x32a1f0=_0x27fc1d[_0x5488ab(0x27b)]();const _0x1d7afd=_0x27fc1d[_0x5488ab(0x2ab)]();if(_0x115759===_0xeefe5e[_0x5488ab(0x346)]){const _0x4c4bd6=_0x27fc1d['getSubtotal']();_0x32a1f0=_0x1d4fa0(_0x2c72d0[_0x5488ab(0x27a)](),_0x4c4bd6);}_0x1d7afd!==_0x32a1f0&&_0x3a19bf['renameField'](_0x27fc1d[_0x5488ab(0x159)](),_0x32a1f0);}else _0x3a19bf[_0x5488ab(0x2ed)](_0x27fc1d[_0x5488ab(0x159)]());}});const _0x478e2c=_0x3a19bf[_0x5d77b1(0x313)](),_0x1dca57=_0x3a19bf[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x475b35=_0x3a19bf[_0x5d77b1(0x18c)]();_0x29452b['updatePivotSource']={'view':_0x1dca57,'changesets':_0x475b35,'isEmpty':_0x478e2c,'pivotTableConfig':_0x280352,'collectionConfig':_0x45e958,'oldCollectionConfig':_0x6e6094,'deleteIds':_0x18afd5};}break;case B[_0x5d77b1(0x250)]:{const _0x2a5f88=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x1a1)];if(!_0x2a5f88)return;const {position:_0x50fec4,index:_0x504535}=_0x2a5f88,_0x268fea=this[_0x5d77b1(0x2ad)]['getPivotTableConfig'](_0x16df08,_0x34fb29,_0x505477);if(!_0x268fea)return!0x1;const _0x3ff90d=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477);if(!_0x3ff90d)return!0x1;_0x3ff90d[_0x5d77b1(0x322)](),_0x3ff90d[_0x5d77b1(0x1a1)](_0x50fec4,_0x504535);const _0x592689=_0x3ff90d[_0x5d77b1(0x313)](),_0x386373=_0x3ff90d['query']()[_0x5d77b1(0x2d6)](),_0x805196=_0x3ff90d[_0x5d77b1(0x18c)]();_0x29452b['updateValuePosition']={'changesets':_0x805196,'pivotTableConfig':_0x268fea,'isEmpty':_0x592689,'view':_0x386373};}break;case B[_0x5d77b1(0x2e9)]:{const _0x2ba09a=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x237)];if(!_0x2ba09a)return;const {tableFieldId:_0x2f7037,collapse:_0x25d304,item:_0x328e62}=_0x2ba09a,_0x465ae7=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x15fc7b=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x465ae7||!_0x15fc7b)return;_0x465ae7[_0x5d77b1(0x322)](),_0x465ae7['setCollapse'](_0x2f7037,_0x25d304,_0x328e62);const _0x341693=_0x465ae7['isEmpty'](),_0x4479d0=_0x465ae7[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0xc02da3=_0x465ae7[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x237)]={'view':_0x4479d0,'isEmpty':_0x341693,'pivotTableConfig':_0x15fc7b,'changesets':_0xc02da3};}break;case B[_0x5d77b1(0x371)]:{const _0x3c549b=_0x286301['params'][_0x5d77b1(0x37c)];if(!_0x3c549b)return;const {pivotTableConfig:_0x466ca7}=_0x3c549b,_0x4caca8=this[_0x5d77b1(0x2ad)]['getPivotTableInstance'](_0x505477),_0x32b492=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x4caca8||!_0x32b492)return;_0x4caca8[_0x5d77b1(0x322)](),Ki(_0x4caca8,_0x466ca7);const _0x3db093=_0x4caca8[_0x5d77b1(0x313)](),_0x42bc5d=_0x4caca8[_0x5d77b1(0x2b1)]()[_0x5d77b1(0x2d6)](),_0x14051f=_0x4caca8[_0x5d77b1(0x18c)]();_0x29452b[_0x5d77b1(0x37c)]={'view':_0x42bc5d,'isEmpty':_0x3db093,'pivotTableConfig':{..._0x32b492,'fieldsConfig':_0x4caca8[_0x5d77b1(0x2d6)]()},'changesets':_0x14051f};}break;case B[_0x5d77b1(0x170)]:{const _0x21657e=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x260)];if(!_0x21657e)return;const _0x35adfd=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x2bc)](_0x505477),_0x44564a=this['_sheetsPivotDataSourceModel'][_0x5d77b1(0x21d)](_0x16df08,_0x34fb29,_0x505477);if(!_0x35adfd||!_0x44564a)return;_0x35adfd[_0x5d77b1(0x322)](),Hi(_0x35adfd,_0x21657e['resetArea']);const _0x57f83c=_0x35adfd[_0x5d77b1(0x2b1)]()['toJSON'](),_0x38133a=_0x35adfd['endCollectChangeset']();_0x29452b[_0x5d77b1(0x260)]={'view':_0x57f83c,'isEmpty':!0x0,'pivotTableConfig':{..._0x44564a,'fieldsConfig':_0x35adfd[_0x5d77b1(0x2d6)]()},'changesets':_0x38133a};}break;case B[_0x5d77b1(0x320)]:{const _0x222202=_0x286301[_0x5d77b1(0x1c4)][_0x5d77b1(0x317)];if(!_0x222202)return;const _0xffd31e=_0x222202['sourceRangeInfo'],_0x5610fd=_0x222202['pivotTableId'],{collection:_0x314124}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0xffd31e[_0x5d77b1(0x130)],'sheetName':_0xffd31e['sheetName'],'subUnitId':_0xffd31e[_0x5d77b1(0x1bc)],'range':_0xffd31e[_0x5d77b1(0x16d)]}),_0x503283=new _0xa87c2b(_0x314124,void 0x0,_0x5610fd),_0x42fe20=_0x314124[_0x5d77b1(0x2fb)](),{rows:_0x1c1ef9,columns:_0xc6be30,filters:_0x25b9d6,values:_0x45be95}=_0x222202[_0x5d77b1(0x189)];_0x503283['startCollectChangeset']();for(const {field:_0x37bd09,selectedItems:_0x14e210}of _0x1c1ef9||[]){const _0x5af1e0=_0x42fe20[_0x37bd09];if(_0x5af1e0){const _0x397904=_0x503283[_0x5d77b1(0x2f8)](_0x5af1e0,_0xeefe5e[_0x5d77b1(0x2bf)]);_0x14e210&&_0x397904&&_0x503283[_0x5d77b1(0x26a)](_0x397904[_0x5d77b1(0x159)](),{'type':_0x20c8d7['ManualFilter'],'list':_0x14e210,'isAll':!0x1});}}for(const {field:_0x4236b9,selectedItems:_0x185f56}of _0xc6be30||[]){const _0x10ca39=_0x42fe20[_0x4236b9];if(_0x10ca39){const _0x3e3275=_0x503283[_0x5d77b1(0x2f8)](_0x10ca39,_0xeefe5e[_0x5d77b1(0x19b)]);_0x185f56&&_0x3e3275&&_0x503283[_0x5d77b1(0x26a)](_0x3e3275[_0x5d77b1(0x159)](),{'type':_0x20c8d7[_0x5d77b1(0x1a7)],'list':_0x185f56,'isAll':!0x1});}}for(const {field:_0xf075f9,selectedItems:_0x348733}of _0x25b9d6||[]){const _0x2032d8=_0x42fe20[_0xf075f9];if(_0x2032d8){const _0x2a96a9=_0x503283[_0x5d77b1(0x2f8)](_0x2032d8,_0xeefe5e[_0x5d77b1(0x38d)]);_0x348733&&_0x2a96a9&&_0x503283[_0x5d77b1(0x26a)](_0x2a96a9[_0x5d77b1(0x159)](),{'type':_0x20c8d7['ManualFilter'],'list':_0x348733,'isAll':!0x1});}}for(const {field:_0x18b89b,subTotalType:_0x92414,formatString:_0x48c72f}of _0x45be95||[]){const _0xc9c24a=_0x314124[_0x5d77b1(0x11c)](_0x42fe20[_0x18b89b]);if(!_0xc9c24a)continue;const _0x46977e=_0x42fe20[_0x18b89b];if(_0x46977e){const _0x49af18=_0x503283[_0x5d77b1(0x2f8)](_0x46977e,_0xeefe5e[_0x5d77b1(0x346)]);if(_0x49af18){if(_0x92414!==void 0x0){_0x503283[_0x5d77b1(0x157)](_0x49af18[_0x5d77b1(0x159)](),_0x92414);const _0x5d2e57=this[_0x5d77b1(0x2ad)][_0x5d77b1(0x212)](_0xffd31e[_0x5d77b1(0x130)])[_0x5d77b1(0x13a)]()||_0x2a7e7e,_0x4013de=_0x314124[_0x5d77b1(0x2ab)](_0x46977e),_0x5550c0=_0x5d2e57(_0x4013de,_0x92414);_0x503283[_0x5d77b1(0x38a)](_0x49af18[_0x5d77b1(0x159)](),_0x5550c0);}else{if(_0xc9c24a){const _0x91af3d=_0xc9c24a==null?void 0x0:_0xc9c24a[_0x5d77b1(0x141)]();_0x503283[_0x5d77b1(0x157)](_0x49af18[_0x5d77b1(0x159)](),_0x91af3d===_0x11da01['number']?_0x383156[_0x5d77b1(0x22c)]:_0x383156[_0x5d77b1(0x251)]);}}_0x48c72f&&_0x503283['setFieldFormat'](_0x49af18['getId'](),_0x48c72f);}}}const _0x124285=_0x503283[_0x5d77b1(0x2b1)](),_0x142a43=_0x503283[_0x5d77b1(0x2d6)](),_0x51570c=_0x503283[_0x5d77b1(0x313)](),_0x23bf2a=_0x503283[_0x5d77b1(0x18c)](),_0x20bdd2=_0x314124['toJSON']();_0x29452b['addPivotTableWithConfig']={'view':_0x124285,'fieldsConfig':_0x142a43,'collectionConfig':_0x20bdd2,'isEmpty':_0x51570c,'changesets':_0x23bf2a};}break;case B[_0x5d77b1(0x200)]:{const _0x4376ec=ki(this['_injector'],_0x286301);if(!_0x4376ec)return;const {range:_0x494f3d,sourceSubUnitId:_0x65266f,sourceUnitId:_0x4fb72f,formatMap:_0x5495b1,indexes:_0x5cbcc5}=_0x4376ec;_0x29452b[_0x5d77b1(0x2c2)]={'range':_0x494f3d,'sourceSubUnitId':_0x65266f,'sourceUnitId':_0x4fb72f,'formatMap':_0x5495b1,'indexes':_0x5cbcc5};}break;}this[_0x5d77b1(0x1a6)][_0x5d77b1(0x306)](lo['id'],{'version':_0x286301['version'],'result':_0x29452b},{'onlyLocal':!0x0});}));}[_0x2cfc65(0x1de)](){const _0x54b6da=_0x2cfc65;this['disposeWithMe'](this[_0x54b6da(0x1a6)][_0x54b6da(0x1f2)](_0x34dcab=>{const _0x162d53=_0x54b6da;if(_0x34dcab['id']!==uo['id'])return;const _0x215f86=_0x34dcab[_0x162d53(0x1c4)];return this[_0x162d53(0x2ad)][_0x162d53(0x35c)](_0x215f86[_0x162d53(0x370)]),!0x0;}));}[_0x2cfc65(0x24a)](){const _0x57553b=_0x2cfc65;this[_0x57553b(0x2ad)][_0x57553b(0x376)]['subscribe'](_0x18bdd7=>{const _0x1d32e3=_0x57553b;switch(_0x18bdd7[_0x1d32e3(0x38b)]){case ke[_0x1d32e3(0x123)]:_0x18bdd7['dataRangeInfo']&&_0x18bdd7[_0x1d32e3(0x216)]&&this['handleSourceRangeChange'](_0x18bdd7[_0x1d32e3(0x278)],_0x18bdd7[_0x1d32e3(0x198)],_0x18bdd7['targetCellInfo']);break;case ke['delete']:{const {unitId:_0x11b143,subUnitId:_0x3e3ec6,token:_0x90e20a}=_0x18bdd7;_0x11b143&&_0x3e3ec6&&_0x90e20a&&this[_0x1d32e3(0x1bd)](_0x11b143,_0x3e3ec6,_0x90e20a);}break;case ke[_0x1d32e3(0x133)]:{const {token:_0x55725c,oldSourceRangeInfo:_0x5b1630,dataRangeInfo:_0x4949e3,targetCellInfo:_0x17fe33}=_0x18bdd7,{unitId:_0x49bb50,subUnitId:_0x571a1e}=_0x5b1630||{};_0x49bb50&&_0x571a1e&&_0x55725c&&this[_0x1d32e3(0x1bd)](_0x49bb50,_0x571a1e,_0x55725c),_0x4949e3&&_0x17fe33&&this[_0x1d32e3(0x24e)](_0x55725c,_0x4949e3,_0x17fe33);}break;}});}['_subjectFieldsCollectionChange'](){const _0x47aea3=_0x2cfc65;this[_0x47aea3(0x2ad)][_0x47aea3(0x38c)][_0x47aea3(0x1c3)](_0x2f4fb2=>{const _0x5b9482=_0x47aea3;Object[_0x5b9482(0x23b)](_0x2f4fb2)['forEach'](_0x194f6b=>{const _0x24aec6=_0x5b9482,_0x3ea21e=this[_0x24aec6(0x2ad)][_0x24aec6(0x1c1)](_0x194f6b);if(_0x3ea21e){const _0x12f9eb=this[_0x24aec6(0x2ad)]['getPivotTableConfig'](_0x3ea21e==null?void 0x0:_0x3ea21e[_0x24aec6(0x130)],_0x3ea21e==null?void 0x0:_0x3ea21e['subUnitId'],_0x194f6b);_0x12f9eb&&(this[_0x24aec6(0x24e)](_0x194f6b,_0x12f9eb[_0x24aec6(0x27f)],_0x12f9eb[_0x24aec6(0x216)]),this[_0x24aec6(0x169)]([{'unitId':_0x3ea21e[_0x24aec6(0x130)],'subUnitId':_0x3ea21e[_0x24aec6(0x1bc)],'token':_0x194f6b}]));}});});}[_0x2cfc65(0x2a3)](){const _0x4fc92d=_0x2cfc65;this[_0x4fc92d(0x2ad)][_0x4fc92d(0x324)][_0x4fc92d(0x1c3)](_0x4aa1ec=>{const _0x1d317c=_0x4fc92d,{unitId:_0x569b5a,subUnitId:_0xbe725,pivotTableId:_0x5b50f9}=_0x4aa1ec;_0x569b5a&&_0xbe725&&_0x5b50f9&&this[_0x1d317c(0x169)]([{'unitId':_0x569b5a,'subUnitId':_0xbe725,'token':_0x5b50f9}]);});}[_0x2cfc65(0x169)](_0x354d74){const _0x10d655=_0x2cfc65,_0x44aced={};_0x354d74['forEach'](_0x2e5b5e=>{var _0x3defe2,_0x880f01;const {unitId:_0x212a50,subUnitId:_0x207862,token:_0x50b357}=_0x2e5b5e;_0x44aced[_0x212a50]=(_0x3defe2=_0x44aced[_0x212a50])!=null?_0x3defe2:{},_0x44aced[_0x212a50][_0x207862]=(_0x880f01=_0x44aced[_0x212a50][_0x207862])!=null?_0x880f01:{},_0x44aced[_0x212a50][_0x207862][_0x50b357]=!0x0;}),this[_0x10d655(0x1a6)][_0x10d655(0x306)](Ut['id'],_0x44aced);}['removeSourceRangeChange'](_0x57f9b6,_0xe0edd3,_0x6d5e8d){const _0x1539d2=_0x2cfc65;this[_0x1539d2(0x13d)][_0x1539d2(0x372)](_0x57f9b6,_0xe0edd3,[_0x6d5e8d]);}[_0x2cfc65(0x24e)](_0x1fc75f,_0x4fc0da,_0x2d2a50){const _0x24c1dd=_0x2cfc65,{unitId:_0x258bb8,subUnitId:_0x155cb8}=_0x4fc0da;this['_featureCalculationManagerService'][_0x24c1dd(0x19c)](_0x2d2a50[_0x24c1dd(0x130)],_0x2d2a50[_0x24c1dd(0x1bc)],_0x1fc75f)&&this[_0x24c1dd(0x1bd)](_0x258bb8,_0x155cb8,_0x1fc75f);const _0x256bec={'sheetId':_0x155cb8,..._0x4fc0da};this[_0x24c1dd(0x13d)][_0x24c1dd(0x2c8)](_0x2d2a50[_0x24c1dd(0x130)],_0x2d2a50[_0x24c1dd(0x1bc)],_0x1fc75f,{'unitId':_0x2d2a50[_0x24c1dd(0x130)],'subUnitId':_0x2d2a50[_0x24c1dd(0x1bc)],'dependencyRanges':[_0x256bec],'getDirtyData':(_0x5dee17,_0x5eca38)=>{const _0x93a40b=_0x24c1dd,_0x352886=this[_0x93a40b(0x2ad)],_0x356959=_0x352886[_0x93a40b(0x1c1)](_0x1fc75f);if(!_0x356959)return Os();const {unitId:_0x5e2845,subUnitId:_0x916bfb}=_0x356959,_0x36ea76=xs(_0x5dee17,_0x5eca38,_0x4fc0da);if(_0x36ea76[_0x93a40b(0x1fd)]>0x0){const _0x9186df=_0x352886['getCollection'](_0x258bb8,_0x1fc75f),_0xb0be33=_0x9186df[_0x93a40b(0x2fb)](),_0x1e06fc=this[_0x93a40b(0x387)](_0x4fc0da[_0x93a40b(0x130)],_0x4fc0da[_0x93a40b(0x1bc)],_0x5eca38),_0x54f9d8={},_0x176a0a=this[_0x93a40b(0x2ad)][_0x93a40b(0x212)](_0x5e2845)[_0x93a40b(0x13a)]()||_0x2a7e7e,_0x3dc9ca=[];for(const _0x504265 of _0x36ea76){const _0x271cea=_0x504265-(_0x4fc0da[_0x93a40b(0x16d)][_0x93a40b(0x256)]||0x0),_0x296b12=_0xb0be33[_0x271cea];_0x3dc9ca['push'](_0x296b12),_0x54f9d8[_0x296b12]=_0x9186df['getFieldById'](_0x296b12)[_0x93a40b(0x27a)](),_0x352886[_0x93a40b(0x212)](_0x258bb8)['refreshDataField'](_0x296b12,_0x4fc0da,_0x271cea,_0x1e06fc);}_0x9186df[_0x93a40b(0x363)](_0x3dc9ca)[_0x93a40b(0x112)](_0x22730f=>{const _0x46f8af=_0x93a40b,[_0x2a5afa,_0x1abb13]=_0x22730f,_0x33d3ec=_0x9186df['getFieldById'](_0x2a5afa),_0x3014c1=_0x9186df[_0x46f8af(0x11c)](_0x1abb13);_0x33d3ec&&_0x3014c1&&_0x33d3ec[_0x46f8af(0x249)](_0x3014c1);}),_0x9186df[_0x93a40b(0x315)]();const _0x3dd8d5=_0x352886[_0x93a40b(0x2bc)](_0x1fc75f);if(_0x3dd8d5){Es(_0x3dd8d5,_0x54f9d8,_0x176a0a),_0x3dd8d5[_0x93a40b(0x329)](!0x0);const _0x1c019d=_0x3dd8d5['query'](),_0x2b4db4=_0x352886['getPivotTableConfig'](_0x5e2845,_0x916bfb,_0x1fc75f),_0x59c2e7=_0x352886[_0x93a40b(0x212)](_0x258bb8)[_0x93a40b(0x2d6)]();_0x352886['updateView'](_0x5e2845,_0x916bfb,G[_0x93a40b(0x2d8)],_0x1fc75f,_0x1c019d,_0x2b4db4,_0x59c2e7,!0x0);}}return this[_0x93a40b(0x288)](_0x5e2845,_0x916bfb,_0x1fc75f);}});}[_0x2cfc65(0x387)](_0x9889d,_0xfff8f4,_0x593061){var _0x228379,_0x2a2831;const {arrayFormulaCellData:_0x43db18,unitData:_0x32d667}=_0x593061,_0x210644=(_0x228379=_0x43db18==null?void 0x0:_0x43db18[_0x9889d])==null?void 0x0:_0x228379[_0xfff8f4],_0x4df081=(_0x2a2831=_0x32d667==null?void 0x0:_0x32d667[_0x9889d])==null?void 0x0:_0x2a2831[_0xfff8f4];return{'arrayFormulaCellDataMatrix':_0x210644,'unitDataMatrix':_0x4df081};}[_0x2cfc65(0x288)](_0x3351fc,_0x214d39,_0x3224ef){const _0x97bddc=_0x2cfc65,_0x49a51d=this[_0x97bddc(0x2ad)][_0x97bddc(0x2d5)](_0x3351fc,_0x214d39,_0x3224ef),_0x213a03=[],_0xaad519=new _0x3d4b3d();if(_0x49a51d){const {rangeCache:_0x54c577,matrix:_0x1c1121,oldRangeCache:_0x83280e,oldMatrix:_0xb7dd88}=_0x49a51d,_0x5c2e0c=Gt(_0x83280e),_0x27fcc5=Gt(_0x54c577);_0x213a03[_0x97bddc(0x17f)](..._0x27fcc5,..._0x5c2e0c),_0xb7dd88&&_0x83280e&&_0x5c2e0c[_0x97bddc(0x112)](_0x4f0758=>{const _0x268e05=_0x97bddc;for(let _0x57c5b8=_0x4f0758[_0x268e05(0x21c)];_0x57c5b8<=_0x4f0758[_0x268e05(0x389)];_0x57c5b8++)for(let _0x1aa777=_0x4f0758['startColumn'];_0x1aa777<=_0x4f0758[_0x268e05(0x354)];_0x1aa777++)_0xaad519[_0x268e05(0x185)](_0x57c5b8,_0x1aa777);}),_0x1c1121&&_0x27fcc5&&_0x27fcc5[_0x97bddc(0x112)](_0x217059=>{const _0x681878=_0x97bddc;for(let _0xceb140=_0x217059[_0x681878(0x21c)];_0xceb140<=_0x217059[_0x681878(0x389)];_0xceb140++)for(let _0x1b4649=_0x217059[_0x681878(0x256)];_0x1b4649<=_0x217059['endColumn'];_0x1b4649++)_0xaad519[_0x681878(0x2e3)](_0xceb140,_0x1b4649,_0x1c1121[_0x681878(0x2dc)](_0xceb140,_0x1b4649));});}const _0x4c8c09={};return _0x4c8c09[_0x3351fc]={[_0x214d39]:As(_0x213a03)},{'runtimeCellData':{[_0x3351fc]:{[_0x214d39]:_0xaad519}},'dirtyRanges':_0x4c8c09};}[_0x2cfc65(0x208)](){}};ct=Vs([at(0x0,_0x4eaa26($)),at(0x1,_0x4eaa26(_0x68720c)),at(0x2,_0x4eaa26(_0x4c491b)),at(0x3,_0x4eaa26(_0x13f6da)),at(0x4,_0x4eaa26(_0x297017))],ct);var Bs=Object[_0x2cfc65(0x283)],Ls=(_0x52799f,_0xe817d3,_0x3c1e43,_0x242093)=>{const _0x18e9ee=_0x2cfc65;for(var _0x72c39=_0x242093>0x1?void 0x0:_0x242093?Bs(_0xe817d3,_0x3c1e43):_0xe817d3,_0x338127=_0x52799f[_0x18e9ee(0x1fd)]-0x1,_0x1e0e5b;_0x338127>=0x0;_0x338127--)(_0x1e0e5b=_0x52799f[_0x338127])&&(_0x72c39=_0x1e0e5b(_0x72c39)||_0x72c39);return _0x72c39;},_t=(_0x49f2da,_0x1bf174)=>(_0xcb7c6f,_0x2de629)=>_0x1bf174(_0xcb7c6f,_0x2de629,_0x49f2da);let dt=class extends _0x9a7a73{constructor(_0x2cb5fe,_0x4d1bd9,_0x53c37e,_0x1ec03b){const _0x2a605d=_0x2cfc65;super(),U(this,_0x2a605d(0x1d3),new _0x21dd5d()),(this[_0x2a605d(0x231)]=_0x2cb5fe,this['_sheetInterceptorService']=_0x4d1bd9,this[_0x2a605d(0x148)]=_0x53c37e,this['_sheetsPivotTableConfigModel']=_0x1ec03b,this[_0x2a605d(0x312)]());}[_0x2cfc65(0x312)](){const _0x54e645=_0x2cfc65;this[_0x54e645(0x134)](this[_0x54e645(0x176)][_0x54e645(0x253)]({'getMutations':_0x2057ff=>{const _0x1f26f5=_0x54e645;if(_0x2057ff['id']===_0x1d1ab3['id']||_0x2057ff['id']===_0x38d272['id']){const _0x39ea1d=[],_0x33043a=[],_0x5b2e9f=this[_0x1f26f5(0x148)][_0x1f26f5(0x258)]()[_0x1f26f5(0x26e)](_0x3c73dc=>_0x3c73dc[_0x1f26f5(0x16d)]),_0x587e65=_0x5d0da0(this[_0x1f26f5(0x231)]);if(!_0x587e65)return{'redos':[],'undos':[]};const {unitId:_0x1439a4,subUnitId:_0x355315}=_0x587e65,_0x3312ab={},_0x23cdca=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x1439a4,_0x355315);if(_0x23cdca!=null&&_0x23cdca[_0x1f26f5(0x1ed)])for(const [_0x59be88,_0xfa333c]of _0x23cdca){const {unitId:_0xaefb72,subUnitId:_0x30dddd,row:_0x34b90b,col:_0x5d63f3}=_0xfa333c[_0x1f26f5(0x216)];_0xaefb72===_0x587e65[_0x1f26f5(0x130)]&&_0x30dddd===_0x587e65[_0x1f26f5(0x1bc)]&&(_0x3312ab[_0x34b90b+'-'+_0x5d63f3]=_0x59be88);}return _0x5b2e9f&&_0x587e65&&_0x5b2e9f[_0x1f26f5(0x112)](_0x1b3efe=>{const _0x3412a9=_0x1f26f5;_0x5dacc2[_0x3412a9(0x2f7)](_0x1b3efe,(_0x5f3073,_0x3a0a2e)=>{const _0x6525e5=_0x3412a9,_0x40104f=_0x5f3073+'-'+_0x3a0a2e;if(_0x3312ab[_0x40104f]){const _0x3fc716=_0x3312ab[_0x40104f];_0x39ea1d['push']({'id':Et['id'],'params':{'unitId':_0x1439a4,'subUnitId':_0x355315,'pivotTableId':_0x3fc716}});const _0x2730fd=this[_0x6525e5(0x16c)][_0x6525e5(0x161)](_0x1439a4,_0x3fc716),_0x195037=this['_sheetsPivotTableConfigModel'][_0x6525e5(0x21d)](_0x1439a4,_0x355315,_0x3fc716);_0x33043a[_0x6525e5(0x17f)]({'id':Ct['id'],'params':{'unitId':_0x1439a4,'subUnitId':_0x355315,'pivotTableId':_0x3fc716,'pivotTableConfig':_0x195037,'collectionConfig':_0x2730fd}});}});}),{'redos':_0x39ea1d,'undos':_0x33043a};}return{'redos':[],'undos':[]};}}));}};dt=Ls([_t(0x0,_0x295672),_t(0x1,_0x4eaa26(_0x36d3f4)),_t(0x2,_0x4eaa26(_0x3de9b1)),_t(0x3,_0x4eaa26(ve))],dt);var ks=Object[_0x2cfc65(0x283)],Gs=(_0x2e8f0a,_0x1cf668,_0x3494ab,_0x1fe55e)=>{const _0x5dcf47=_0x2cfc65;for(var _0x8d5da9=_0x1fe55e>0x1?void 0x0:_0x1fe55e?ks(_0x1cf668,_0x3494ab):_0x1cf668,_0xe94a7c=_0x2e8f0a[_0x5dcf47(0x1fd)]-0x1,_0x818431;_0xe94a7c>=0x0;_0xe94a7c--)(_0x818431=_0x2e8f0a[_0xe94a7c])&&(_0x8d5da9=_0x818431(_0x8d5da9)||_0x8d5da9);return _0x8d5da9;},rt=(_0x369fdd,_0x43e340)=>(_0x166751,_0x320cee)=>_0x43e340(_0x166751,_0x320cee,_0x369fdd);let ut=class extends _0x9a7a73{constructor(_0x246366,_0x523b23,_0x4062ba,_0xa752b7,_0x9615fc){const _0x2d8285=_0x2cfc65;super(),this[_0x2d8285(0x176)]=_0x246366,this[_0x2d8285(0x13c)]=_0x523b23,this[_0x2d8285(0x231)]=_0x4062ba,this[_0x2d8285(0x16c)]=_0xa752b7,this[_0x2d8285(0x187)]=_0x9615fc,this[_0x2d8285(0x223)]();}[_0x2cfc65(0x35e)](_0x3e91a2,_0x18453b,_0x27d52f){const _0x3d1005=_0x2cfc65,{pageView:_0x109ba3,cornerView:_0x5e913c,rowView:_0x2202a4,colView:_0x12d85b,dataView:_0x30692a}=_0x18453b,_0x1e3e0b=_0x3e91a2;let _0x2355a3;if(_0x27d52f)_0x2355a3=[...Gi(_0x1e3e0b)];else{const _0xd86c1c=ge(_0x1e3e0b,_0x109ba3,!0x0),_0x5c32d0=_0x109ba3[_0x3d1005(0x1ad)]>=0x0?_0x109ba3[_0x3d1005(0x1ad)]+0x1:0x0,_0x362163=_0x5e913c[_0x3d1005(0x1b5)],_0x3f2036=_0x5e913c[_0x3d1005(0x16a)],_0x307f22=_0xd86c1c[_0x3d1005(0x1fd)]>0x0?It:0x0,_0x58b16b=ge({'row':_0x1e3e0b[_0x3d1005(0x379)]+_0x5c32d0+_0x307f22,'col':_0x1e3e0b['col']},_0x5e913c,!0x1,!0x1),_0x148021=ge({'row':_0x1e3e0b['row']+_0x5c32d0+_0x307f22+_0x362163,'col':_0x1e3e0b['col']},_0x2202a4,!0x1,!0x0),_0x4aae8c=ge({'row':_0x1e3e0b[_0x3d1005(0x379)]+_0x5c32d0+_0x307f22,'col':_0x1e3e0b[_0x3d1005(0x183)]+_0x3f2036},_0x12d85b,!0x1,!0x0),_0x55b40a=ge({'row':_0x1e3e0b[_0x3d1005(0x379)]+_0x5c32d0+_0x307f22+_0x362163,'col':_0x1e3e0b[_0x3d1005(0x183)]+_0x3f2036},_0x30692a,!0x1,!0x0);_0x2355a3=[..._0xd86c1c,..._0x58b16b,..._0x148021,..._0x4aae8c,..._0x55b40a];}return _0x2355a3;}['_initCommandInterceptListener'](){const _0x3e2614=_0x2cfc65;this[_0x3e2614(0x134)](this['_sheetsPivotTableService'][_0x3e2614(0x1fa)][_0x3e2614(0x28f)](this[_0x3e2614(0x187)][_0x3e2614(0x1fa)]['getInterceptPoints']()[_0x3e2614(0x144)],{'handler':(_0x3eb011,_0x373b1d)=>{const _0x25747f=_0x3e2614,{cellInfo:_0x596901,view:_0x32cee1,isEmpty:_0x8c8949}=_0x373b1d,_0x1967a0=_0x596901,{unitId:_0x41f581,subUnitId:_0x11b2ce}=_0x1967a0,_0x45a512=this[_0x25747f(0x35e)](_0x596901,_0x32cee1,_0x8c8949),_0x554d5d=this[_0x25747f(0x176)][_0x25747f(0x18e)]({'unitId':_0x41f581,'subUnitId':_0x11b2ce,'ranges':_0x45a512}),_0x265b2c=qo(this[_0x25747f(0x13c)],_0x41f581,_0x11b2ce,_0x45a512);_0x265b2c['shouldClear']&&(_0x554d5d[_0x25747f(0x235)][_0x25747f(0x17f)](_0x265b2c[_0x25747f(0x261)]),_0x554d5d['undos'][_0x25747f(0x17f)](_0x265b2c[_0x25747f(0x29e)]));const _0x7bd8d2=this[_0x25747f(0x20b)](_0x32cee1,_0x596901);return _0x554d5d[_0x25747f(0x235)][_0x25747f(0x17f)](..._0x7bd8d2['redos']),_0x554d5d[_0x25747f(0x319)]['push'](..._0x7bd8d2[_0x25747f(0x319)]),{'redos':_0x554d5d[_0x25747f(0x235)],'undos':_0x554d5d[_0x25747f(0x319)]};}}));}['getAutoFitColumnsMutations'](_0x4c4b54,_0x47a911){const _0x3a3c82=_0x2cfc65,{col:_0x402734,unitId:_0x5cd499,subUnitId:_0x1b757f}=_0x47a911,_0x554f87=[],_0x390a46=[],_0x155465=_0x5d0da0(this[_0x3a3c82(0x231)],{'unitId':_0x5cd499,'subUnitId':_0x1b757f});if(!_0x47a911||!_0x4c4b54||!_0x155465)return{'undos':_0x390a46,'redos':_0x554f87};const _0x4d14e5=this[_0x3a3c82(0x16c)][_0x3a3c82(0x111)](),{colView:_0x121496,dataView:_0x5f00c4,cornerView:_0x5306f6,rowView:_0x391c18,formatMap:_0x2ab304}=_0x4c4b54,_0x194965=yo(_0x121496,_0x4d14e5,!0x0,_0x2ab304),_0x286825=yo(_0x391c18,_0x4d14e5,!0x1,_0x2ab304),_0x220f86=Wi(_0x5f00c4),_0x18d6cb=ji(_0x5306f6),{worksheet:_0x1b8256}=_0x155465;if(typeof window<'u'&&window[_0x3a3c82(0x374)]){const _0x3e4aa9=_0x5ba26a({...fe[_0x3a3c82(0x165)]}),_0x270b51=_0x17a2c1[_0x3a3c82(0x11d)](_0x194965,_0x3e4aa9)[_0x3a3c82(0x1ea)]+0x10,_0x28ca20=_0x17a2c1[_0x3a3c82(0x11d)](_0x220f86,_0x3e4aa9)[_0x3a3c82(0x1ea)],_0xe84f41=Math[_0x3a3c82(0x15a)](Math['max'](_0x270b51,_0x28ca20))+0x10,_0x3541e5=Math['floor'](_0x17a2c1[_0x3a3c82(0x11d)](_0x286825,_0x3e4aa9)[_0x3a3c82(0x1ea)]),_0xf35724=Math[_0x3a3c82(0x15a)](_0x17a2c1[_0x3a3c82(0x11d)](_0x18d6cb,_0x3e4aa9)[_0x3a3c82(0x1ea)]),_0x541bb9=Math[_0x3a3c82(0x29c)](_0x3541e5,_0xf35724,0x28)+0xc,_0x53e7bc=_0x121496[_0x3a3c82(0x16a)]+_0x5306f6['colCount'],_0xd978e5={},_0x4492e5={};for(let _0x14981f=_0x402734;_0x14981f<_0x402734+_0x53e7bc;_0x14981f++){const _0x184441=_0x1b8256[_0x3a3c82(0x1b4)](_0x14981f);_0xd978e5[_0x14981f]=_0x184441,_0x14981f-_0x402734<_0x5306f6[_0x3a3c82(0x16a)]?_0x4492e5[_0x14981f-_0x402734]=_0x541bb9:_0x4492e5[_0x14981f-_0x402734]=_0xe84f41;}_0x554f87[_0x3a3c82(0x17f)]({'id':_0xe2718f['id'],'params':{'subUnitId':_0x1b757f,'unitId':_0x5cd499,'ranges':[{'startColumn':_0x402734,'endColumn':_0x402734+_0x53e7bc-0x1,'startRow':0x0,'endRow':_0x1b8256['getRowCount']()-0x1}],'colWidth':_0x4492e5}}),_0x390a46['push']({'id':_0xe2718f['id'],'params':{'subUnitId':_0x1b757f,'unitId':_0x5cd499,'ranges':[{'startColumn':_0x402734,'endColumn':_0x402734+_0x53e7bc-0x1,'startRow':0x0,'endRow':_0x1b8256['getRowCount']()-0x1}],'colWidth':_0xd978e5}});}return{'undos':_0x390a46,'redos':_0x554f87};}};ut=Gs([rt(0x0,_0x4eaa26(_0x36d3f4)),rt(0x1,_0x4eaa26(_0x297017)),rt(0x2,_0x4eaa26(_0x295672)),rt(0x3,_0x4eaa26(ve)),rt(0x4,_0x4eaa26(ie))],ut);var $s=Object[_0x2cfc65(0x283)],Js=(_0x20524f,_0x1820a8,_0x30b2ab,_0x3100d0)=>{for(var _0x321354=_0x3100d0>0x1?void 0x0:_0x3100d0?$s(_0x1820a8,_0x30b2ab):_0x1820a8,_0x23407d=_0x20524f['length']-0x1,_0x82f090;_0x23407d>=0x0;_0x23407d--)(_0x82f090=_0x20524f[_0x23407d])&&(_0x321354=_0x82f090(_0x321354)||_0x321354);return _0x321354;},Be=(_0x135d7a,_0x5ca7ff)=>(_0x42721f,_0x5e9758)=>_0x5ca7ff(_0x42721f,_0x5e9758,_0x135d7a);let ft=class extends _0x9a7a73{constructor(_0x5e532d,_0x24310a,_0x2847c5,_0x54df92,_0x725d27,_0x136bff,_0x45a5f5){const _0x34c0a1=_0x2cfc65;super(),U(this,_0x34c0a1(0x1d3),new _0x21dd5d()),(this[_0x34c0a1(0x13c)]=_0x5e532d,this[_0x34c0a1(0x360)]=_0x24310a,this['_commandService']=_0x2847c5,this['_univerInstanceService']=_0x54df92,this[_0x34c0a1(0x16c)]=_0x725d27,this[_0x34c0a1(0x1d1)]=_0x136bff,this['_sheetInterceptorService']=_0x45a5f5,this[_0x34c0a1(0x178)]());}[_0x2cfc65(0x178)](){const _0x4cabaf=_0x2cfc65,_0x1c3c0b=(_0x20fc44,_0x597907)=>{const _0x519142=_0x2e44,_0x413848=this[_0x519142(0x231)][_0x519142(0x1ff)](_0x407cd0[_0x519142(0x281)]);if(!_0x413848||!(_0x413848==null?void 0x0:_0x413848['getSheetBySheetId'](_0x597907)))return;this[_0x519142(0x1d3)]['dispose']();const _0x510d65=_0x2f0516=>this[_0x519142(0x2a7)](_0x2f0516,_0x20fc44,_0x597907),_0x532815=this[_0x519142(0x16c)]['getSubUnitPivotConfigs'](_0x20fc44,_0x597907);if(!(_0x532815!=null&&_0x532815['size']))return;Array['from'](_0x532815[_0x519142(0x282)]())[_0x519142(0x26e)](_0x13adff=>{const {row:_0x38bd5d,col:_0x33f343}=_0x13adff['targetCellInfo'];return _0x1aea22(_0x38bd5d,_0x33f343);})[_0x519142(0x112)](_0x4d9269=>{const _0xae981b=_0x519142;this[_0xae981b(0x1d3)]['add'](this[_0xae981b(0x360)][_0xae981b(0x1a9)](_0x4d9269,_0x510d65,_0x20fc44,_0x597907));});},_0x116c0a=()=>{const _0x4c969d=_0x2e44,_0x2ec34f=this['_univerInstanceService'][_0x4c969d(0x1ff)](_0x407cd0[_0x4c969d(0x281)]);if(_0x2ec34f){const _0x4392a4=_0x2ec34f['getActiveSheet']();if(!_0x4392a4)return;_0x1c3c0b(_0x2ec34f[_0x4c969d(0x27c)](),_0x4392a4[_0x4c969d(0x1a2)]());}};this[_0x4cabaf(0x134)](this[_0x4cabaf(0x1a6)]['onCommandExecuted'](_0x61caa8=>{const _0x42d5ce=_0x4cabaf;if(_0x61caa8['id']===_0x72a149['id']){const _0x2cf043=_0x61caa8[_0x42d5ce(0x1c4)],_0x121cfd=_0x2cf043[_0x42d5ce(0x1bc)],_0x32a25b=_0x2cf043[_0x42d5ce(0x130)];if(!_0x121cfd||!_0x32a25b)return;_0x1c3c0b(_0x32a25b,_0x121cfd);}})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel'][_0x4cabaf(0x342)][_0x4cabaf(0x1c3)](_0x10a827=>{_0x10a827&&_0x116c0a();})),this[_0x4cabaf(0x134)](this[_0x4cabaf(0x16c)][_0x4cabaf(0x2c9)][_0x4cabaf(0x1c3)](_0x312021=>{const _0x482f9f=_0x4cabaf,_0x43e952=_0x5d0da0(this[_0x482f9f(0x231)]);if(!_0x43e952)return;const {unitId:_0x3dfc24,subUnitId:_0x44cb33}=_0x43e952,{unitId:_0x80f609,subUnitId:_0x2336a1}=_0x312021;_0x3dfc24!==_0x80f609||_0x44cb33!==_0x2336a1||_0x1c3c0b(_0x3dfc24,_0x44cb33);})),_0x116c0a();}[_0x2cfc65(0x2a7)](_0x107b0b,_0x4a0512,_0x405783){const _0x4069e4=_0x2cfc65;switch(_0x107b0b['id']){case _0x1d9ddb['id']:return this[_0x4069e4(0x32d)](_0x107b0b[_0x4069e4(0x1c4)],_0x4a0512,_0x405783);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x1517c5,_0xdc5ede,_0x16d390){const _0x1a1b2d=_0x2cfc65,{fromRange:_0xa6e95,toRange:_0x4b7a88}=_0x1517c5,_0x1dc528=[],_0x28c5c2=[],_0x3b3e46=_0x5d0da0(this[_0x1a1b2d(0x231)]);if(!_0x3b3e46)return{'undos':_0x28c5c2,'redos':_0x1dc528};if(_0xdc5ede!==_0x3b3e46['unitId']||_0x16d390!==_0x3b3e46['subUnitId'])return{'undos':_0x28c5c2,'redos':_0x1dc528};const _0x90f96a=this[_0x1a1b2d(0x16c)][_0x1a1b2d(0x34d)](_0xdc5ede,_0x16d390);if(_0x90f96a!=null&&_0x90f96a[_0x1a1b2d(0x1ed)])for(const [_0x25cffe,_0x24f266]of _0x90f96a){const {unitId:_0x17918a,subUnitId:_0x14e20b,row:_0x2724f8,col:_0x466878}=_0x24f266[_0x1a1b2d(0x216)];if(_0x17918a===_0x3b3e46[_0x1a1b2d(0x130)]&&_0x14e20b===_0x3b3e46[_0x1a1b2d(0x1bc)]){const _0x13ecf5=_0x1aea22(_0x2724f8,_0x466878);if(_0x2492ba[_0x1a1b2d(0x1b6)](_0x13ecf5,_0xa6e95)){const _0x25035f=_0x2724f8-_0xa6e95['startRow'],_0x22279a=_0x466878-_0xa6e95[_0x1a1b2d(0x256)],_0x16d37f={'row':_0x4b7a88['startRow']+_0x25035f,'col':_0x4b7a88[_0x1a1b2d(0x256)]+_0x22279a};_0x1dc528[_0x1a1b2d(0x17f)]({'id':pt['id'],'params':{'unitId':_0x17918a,'subUnitId':_0x14e20b,'pivotTableId':_0x25cffe,'targetCellPosition':_0x16d37f}}),_0x28c5c2[_0x1a1b2d(0x17f)]({'id':pt['id'],'params':{'unitId':_0x17918a,'subUnitId':_0x14e20b,'pivotTableId':_0x25cffe,'targetCellPosition':{'row':_0x2724f8,'col':_0x466878}}});const _0x1182bc=_0x16d37f[_0x1a1b2d(0x379)]-_0x2724f8,_0x5324e1=_0x16d37f[_0x1a1b2d(0x183)]-_0x466878,_0x3db6a2=[],_0x205b42=this['_sheetsPivotTableAdaptorModel'][_0x1a1b2d(0x2e8)](_0x17918a,_0x14e20b,_0x25cffe),_0x52fadc=_0x205b42==null?void 0x0:_0x205b42[_0x1a1b2d(0x257)];if(_0x52fadc){Object[_0x1a1b2d(0x23b)](_0x52fadc)[_0x1a1b2d(0x112)](_0x32553e=>{const _0x543f1f=_0x1a1b2d;_0x52fadc[_0x32553e][_0x543f1f(0x112)](_0x500a07=>{const _0x37a8b0=_0x543f1f,_0x208df7={..._0x500a07};_0x208df7[_0x37a8b0(0x21c)]=_0x500a07[_0x37a8b0(0x21c)]+_0x1182bc,_0x208df7[_0x37a8b0(0x389)]=_0x500a07['endRow']+_0x1182bc,_0x208df7[_0x37a8b0(0x256)]=_0x500a07['startColumn']+_0x5324e1,_0x208df7[_0x37a8b0(0x354)]=_0x500a07[_0x37a8b0(0x354)]+_0x5324e1,_0x3db6a2[_0x37a8b0(0x17f)](_0x208df7);});});const _0x1975bc=this[_0x1a1b2d(0x176)][_0x1a1b2d(0x18e)]({'unitId':_0x17918a,'subUnitId':_0x14e20b,'ranges':_0x3db6a2});_0x1dc528['push'](..._0x1975bc[_0x1a1b2d(0x235)]),_0x28c5c2[_0x1a1b2d(0x17f)](..._0x1975bc[_0x1a1b2d(0x319)]);const _0x10d7cc=qo(this[_0x1a1b2d(0x13c)],_0x17918a,_0x14e20b,_0x3db6a2);_0x10d7cc[_0x1a1b2d(0x280)]&&(_0x1dc528[_0x1a1b2d(0x17f)](_0x10d7cc[_0x1a1b2d(0x261)]),_0x28c5c2[_0x1a1b2d(0x17f)](_0x10d7cc['setRangeValueUndoMutation']));}}}}return{'redos':_0x1dc528,'undos':_0x28c5c2};}};ft=Js([Be(0x0,_0x4eaa26(_0x297017)),Be(0x1,_0x4eaa26(_0x4e6465)),Be(0x2,_0x4c491b),Be(0x3,_0x295672),Be(0x4,_0x4eaa26(ve)),Be(0x5,_0x4eaa26(Ne)),Be(0x6,_0x4eaa26(_0x36d3f4))],ft);var Ws=Object[_0x2cfc65(0x283)],js=(_0x442461,_0x570f71,_0x7a9b72,_0x5412d5)=>{const _0x1db90a=_0x2cfc65;for(var _0x18a241=_0x5412d5>0x1?void 0x0:_0x5412d5?Ws(_0x570f71,_0x7a9b72):_0x570f71,_0x3df8b1=_0x442461[_0x1db90a(0x1fd)]-0x1,_0x5bce19;_0x3df8b1>=0x0;_0x3df8b1--)(_0x5bce19=_0x442461[_0x3df8b1])&&(_0x18a241=_0x5bce19(_0x18a241)||_0x18a241);return _0x18a241;},_o=(_0x1b750a,_0x3f67a5)=>(_0x3afbc2,_0x368ca0)=>_0x3f67a5(_0x3afbc2,_0x368ca0,_0x1b750a);let gt=class extends _0x9a7a73{constructor(_0x2e71d1,_0x34d08e){const _0x548863=_0x2cfc65;super(),this[_0x548863(0x176)]=_0x2e71d1,this[_0x548863(0x16c)]=_0x34d08e,this['_initRemoveSheetCommandInterceptor']();}[_0x2cfc65(0x27e)](){const _0x44d2f7=_0x2cfc65;this[_0x44d2f7(0x134)](this[_0x44d2f7(0x176)][_0x44d2f7(0x253)]({'getMutations':_0x4fb6bd=>{const _0x436e0a=_0x44d2f7;if(_0x4fb6bd['id']===_0x22a8ec['id']){const _0x3954ca=[],_0x1934c0=[],_0x3e2f96=_0x4fb6bd[_0x436e0a(0x1c4)],{unitId:_0x3f5875,subUnitId:_0x290cb1}=_0x3e2f96;if(!_0x3f5875||!_0x290cb1)return{'undos':_0x1934c0,'redos':_0x3954ca};const _0x29ff82=this[_0x436e0a(0x16c)][_0x436e0a(0x34d)](_0x3f5875,_0x290cb1);if(_0x29ff82!=null&&_0x29ff82[_0x436e0a(0x1ed)])for(const [_0x8d8201,_0x1dc02a]of _0x29ff82){_0x3954ca[_0x436e0a(0x17f)]({'id':Et['id'],'params':{'unitId':_0x3f5875,'subUnitId':_0x290cb1,'pivotTableId':_0x8d8201}});const _0x5b0f68={...this[_0x436e0a(0x16c)][_0x436e0a(0x161)](_0x3f5875,_0x8d8201)};_0x1934c0[_0x436e0a(0x17f)]({'id':Ct['id'],'params':{'unitId':_0x3f5875,'subUnitId':_0x290cb1,'pivotTableId':_0x8d8201,'pivotTableConfig':_0x1dc02a,'collectionConfig':_0x5b0f68}});}return{'redos':_0x3954ca,'undos':_0x1934c0};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x4eaa26(_0x36d3f4)),_o(0x1,_0x4eaa26(ve))],gt);var Ks=Object[_0x2cfc65(0x283)],Hs=(_0x52b969,_0x1b1f23,_0x38164b,_0xa67a57)=>{const _0x3fbb59=_0x2cfc65;for(var _0x1c4fc9=_0xa67a57>0x1?void 0x0:_0xa67a57?Ks(_0x1b1f23,_0x38164b):_0x1b1f23,_0x43415a=_0x52b969[_0x3fbb59(0x1fd)]-0x1,_0x5087f0;_0x43415a>=0x0;_0x43415a--)(_0x5087f0=_0x52b969[_0x43415a])&&(_0x1c4fc9=_0x5087f0(_0x1c4fc9)||_0x1c4fc9);return _0x1c4fc9;},Ke=(_0x4ed608,_0x36b67b)=>(_0x35c297,_0x438262)=>_0x36b67b(_0x35c297,_0x438262,_0x4ed608);let ht=class extends _0x9a7a73{constructor(_0x4cf738,_0x1cf661,_0x3cd2af,_0x25fe91,_0x3bd1df,_0x2b5a7d){const _0x4b6104=_0x2cfc65;super(),this[_0x4b6104(0x1a6)]=_0x4cf738,this[_0x4b6104(0x32a)]=_0x1cf661,this[_0x4b6104(0x1d1)]=_0x3cd2af,this[_0x4b6104(0x16c)]=_0x25fe91,this[_0x4b6104(0x231)]=_0x3bd1df,this[_0x4b6104(0x17d)]=_0x2b5a7d,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x2cfc65(0x1a0)](){const _0x43ba34=_0x2cfc65;this['disposeWithMe'](this[_0x43ba34(0x1a6)][_0x43ba34(0x1f2)](_0x5b2fb6=>{const _0x4f382d=_0x43ba34;if(_0x5b2fb6['id']!==lo['id'])return;const _0x4db8b6=_0x5b2fb6[_0x4f382d(0x1c4)];this['_sheetsPivotRpcService'][_0x4f382d(0x2be)](_0x4db8b6);})),this[_0x43ba34(0x134)](this['_commandService'][_0x43ba34(0x1f2)](_0x5e170b=>{const _0x5ad696=_0x43ba34;if(_0x5e170b['id']===co['id']){const _0x4b7838=_0x5e170b[_0x5ad696(0x1c4)];if(_0x4b7838){const {unitId:_0x40ba0c,subUnitId:_0x3f687b,oldSubUnitId:_0x5a41fa,pivotTableId:_0x3e04d5,pivotTableConfig:_0x1d7e56,collectionConfig:_0x28ee9c}=_0x4b7838;this[_0x5ad696(0x16c)][_0x5ad696(0x182)](_0x40ba0c,_0x5a41fa,_0x4b7838['pivotTableId'],null),this[_0x5ad696(0x16c)][_0x5ad696(0x182)](_0x40ba0c,_0x3f687b,_0x3e04d5,_0x1d7e56),this['_sheetsPivotTableConfigModel'][_0x5ad696(0x1e1)](_0x40ba0c,_0x28ee9c);}}})),this[_0x43ba34(0x134)](this[_0x43ba34(0x1a6)][_0x43ba34(0x1f2)](_0x55c03a=>{const _0x3e7fed=_0x43ba34;if(_0x55c03a['id']!==Dt['id'])return;const _0x5e3c21=_0x5d0da0(this[_0x3e7fed(0x231)]);if(!_0x5e3c21)return;const {unitId:_0x5c4323,subUnitId:_0x5238cf}=_0x5e3c21,_0x55d42b=_0x55c03a[_0x3e7fed(0x1c4)];if(_0x55d42b['collectionConfig']&&Object[_0x3e7fed(0x23b)](_0x55d42b[_0x3e7fed(0x2ff)])[_0x3e7fed(0x112)](_0x418b3d=>{const _0x135197=_0x3e7fed;var _0x16a995;(_0x16a995=_0x55d42b[_0x135197(0x2ff)])!=null&&_0x16a995[_0x418b3d]&&this['_sheetsPivotTableConfigModel'][_0x135197(0x1e1)](_0x418b3d,_0x55d42b[_0x135197(0x2ff)][_0x418b3d]);}),_0x55d42b['single']){const _0x605a54=_0x55d42b[_0x3e7fed(0x222)],{unitId:_0x379dcb,subUnitId:_0x158813,view:_0x2add91,pivotTableId:_0x5c94cc,type:_0x162319,pivotConfig:_0x63f390}=_0x605a54;if(_0x162319===G[_0x3e7fed(0x132)])this['_sheetsPivotTableAdaptorModel'][_0x3e7fed(0x13f)]({'unitId':_0x379dcb,'subUnitId':_0x158813,'pivotTableId':_0x5c94cc,'type':_0x162319}),this[_0x3e7fed(0x16c)][_0x3e7fed(0x182)](_0x379dcb,_0x158813,_0x5c94cc,null);else{const _0x2d205a=new _0x1b10b0();_0x2d205a['formJSON'](_0x2add91),this[_0x3e7fed(0x16c)][_0x3e7fed(0x182)](_0x379dcb,_0x158813,_0x5c94cc,_0x63f390),this[_0x3e7fed(0x1d1)]['clearRenderCache']({'unitId':_0x379dcb,'subUnitId':_0x158813,'pivotTableId':_0x5c94cc,'type':_0x162319,'view':_0x2d205a}),this[_0x3e7fed(0x1d1)][_0x3e7fed(0x1ca)]({'unitId':_0x379dcb,'subUnitId':_0x158813,'view':_0x2d205a,'pivotTableId':_0x5c94cc,'type':_0x162319});}}else _0x55d42b['batch']&&(_0x55d42b[_0x3e7fed(0x1c0)]['forEach'](_0x3610be=>{const _0x9ea5ef=_0x3e7fed,{unitId:_0x20cf32,subUnitId:_0x573af5,view:_0x3471f7,pivotTableId:_0x5117e2,type:_0x15daa8,pivotConfig:_0x1734f1}=_0x3610be,_0xfa51af=new _0x1b10b0();_0xfa51af['formJSON'](_0x3471f7),this[_0x9ea5ef(0x16c)][_0x9ea5ef(0x182)](_0x20cf32,_0x573af5,_0x5117e2,_0x1734f1),this[_0x9ea5ef(0x1d1)][_0x9ea5ef(0x1ca)]({'unitId':_0x20cf32,'subUnitId':_0x573af5,'view':_0xfa51af,'pivotTableId':_0x5117e2,'type':_0x15daa8});}),this[_0x3e7fed(0x16c)]['setPivotInitCompleted']());this[_0x3e7fed(0x1d1)][_0x3e7fed(0x25d)](_0x5c4323,_0x5238cf);}));}[_0x2cfc65(0x1f1)](){const _0x388696=_0x2cfc65;this[_0x388696(0x17d)]['register'](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x5df882){const _0x30475a=_0x388696;return{'dirtyUnitFeatureMap':_0x5df882[_0x30475a(0x1c4)]};}});}};ht=Hs([Ke(0x0,_0x4eaa26(_0x4c491b)),Ke(0x1,_0x4eaa26(X)),Ke(0x2,_0x4eaa26(Ne)),Ke(0x3,_0x4eaa26(ve)),Ke(0x4,_0x4eaa26(_0x295672)),Ke(0x5,_0x521ace)],ht);var qs=Object[_0x2cfc65(0x2d7)],Qs=Object['getOwnPropertyDescriptor'],Ys=(_0x395a59,_0xdccac2,_0x29ac1a)=>_0xdccac2 in _0x395a59?qs(_0x395a59,_0xdccac2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29ac1a}):_0x395a59[_0xdccac2]=_0x29ac1a,zs=(_0x355c7a,_0x22d0cd,_0x5329ee,_0x42d6a4)=>{const _0x4bff6d=_0x2cfc65;for(var _0x311741=_0x42d6a4>0x1?void 0x0:_0x42d6a4?Qs(_0x22d0cd,_0x5329ee):_0x22d0cd,_0x5ee44f=_0x355c7a[_0x4bff6d(0x1fd)]-0x1,_0x3fee22;_0x5ee44f>=0x0;_0x5ee44f--)(_0x3fee22=_0x355c7a[_0x5ee44f])&&(_0x311741=_0x3fee22(_0x311741)||_0x311741);return _0x311741;},Ft=(_0x4543e9,_0x5ba0ea)=>(_0x2006dd,_0x2b9753)=>_0x5ba0ea(_0x2006dd,_0x2b9753,_0x4543e9),Zo=(_0x3065b7,_0x40bf53,_0x120159)=>Ys(_0x3065b7,typeof _0x40bf53!=_0x2cfc65(0x194)?_0x40bf53+'':_0x40bf53,_0x120159);let Vt=class extends _0xb6e4b9{constructor(_0x18a64e=Mo,_0x5c59f0,_0x53bf34,_0x34de61,_0x1cfacc){const _0x3cba3f=_0x2cfc65;super(),this[_0x3cba3f(0x158)]=_0x18a64e,this[_0x3cba3f(0x13c)]=_0x5c59f0,this[_0x3cba3f(0x1a6)]=_0x53bf34,this[_0x3cba3f(0x20d)]=_0x34de61,this['_dataSyncPrimaryController']=_0x1cfacc;const {..._0x26549c}=_0x1febab({},Mo,this['_config']);this[_0x3cba3f(0x20d)][_0x3cba3f(0x362)](Yo,_0x26549c),this[_0x3cba3f(0x184)](),this[_0x3cba3f(0x15c)]();}['_initConfig'](){const _0x27dbbb=_0x2cfc65;var _0xb7bfcc;const _0x272a62=(_0xb7bfcc=this['_config'])==null?void 0x0:_0xb7bfcc[_0x27dbbb(0x275)];this[_0x27dbbb(0x20d)]['setConfig'](Y,_0x272a62===!0x0);}['onStarting'](){const _0x1c95d5=_0x2cfc65;var _0x4a1577;let _0x13aa14=[];const _0x40910f=(_0x4a1577=this[_0x1c95d5(0x158)])==null?void 0x0:_0x4a1577['notExecuteFormula'];_0x40910f===!0x0?_0x13aa14=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x40910f===!0x1?_0x13aa14=[[$],[ct]]:_0x40910f===void 0x0&&(_0x13aa14=[[$],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x13aa14[_0x1c95d5(0x112)](_0x5bdf9f=>this[_0x1c95d5(0x13c)][_0x1c95d5(0x123)](_0x5bdf9f)),[ct,ht,ie,dt,gt,ft,ut][_0x1c95d5(0x112)](_0x409caf=>{const _0x458d59=_0x1c95d5;this[_0x458d59(0x13c)]['has'](_0x409caf)&&this[_0x458d59(0x13c)][_0x458d59(0x13e)](_0x409caf);});}['_initRegisterCommand'](){const _0x16a002=_0x2cfc65;[ps,ms,hs,Is,Ss,Ns,Fs,Ts,ws,Ms,Rs,Ds,Cs,bs,Ct,to,Et,$t,zo,Xo,Ht,Jt,Wt,jt,Qt,qt,pt,ro,lo,Dt,Xt,eo,Yt,Kt,uo,oo,Zt,Ut,co,_s,zt,ys,Ps][_0x16a002(0x112)](_0x1b2fb0=>{const _0x44454c=_0x16a002;var _0x182f71;(_0x182f71=this[_0x44454c(0x22e)])==null||_0x182f71[_0x44454c(0x114)](_0x1b2fb0),this[_0x44454c(0x1a6)][_0x44454c(0x2a8)](_0x1b2fb0);});}};Zo(Vt,'pluginName',ao),Zo(Vt,_0x2cfc65(0x38b),_0x407cd0[_0x2cfc65(0x281)]),Vt=zs([_0x1623b1(_0x480b43),Ft(0x1,_0x4eaa26(_0x297017)),Ft(0x2,_0x4eaa26(_0x4c491b)),Ft(0x3,_0x931275),Ft(0x4,_0x329209(_0x1b20d0))],Vt);export{hs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ms as AddPivotTableCommand,Ct as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,Cs as MovePivotTableCommand,B as PivotDisplayDataType,bs as PivotDrillDownCommand,G as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,ko as PositionType,Ss as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ts as SetPivotCollapseCommand,jt as SetPivotCollapseMutation,Kt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,Qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,zt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Rs as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ho as canUsePivot,fe as defaultThemeStyle,qo as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Gi as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Bi as getPivotCellInfo,go as getPivotInfoByLicense,Li as getPivotTableInfo,vt as transFromCellValue,Gt as unionPivotViewRange};
|
|
1
|
+
const _0x135d33=_0x4b11;(function(_0x583b74,_0x4e6593){const _0x34e049=_0x4b11,_0x41fb2d=_0x583b74();while(!![]){try{const _0x3851fe=parseInt(_0x34e049(0x337))/0x1*(-parseInt(_0x34e049(0x317))/0x2)+parseInt(_0x34e049(0x2bb))/0x3+parseInt(_0x34e049(0x292))/0x4+-parseInt(_0x34e049(0x137))/0x5*(parseInt(_0x34e049(0x357))/0x6)+parseInt(_0x34e049(0x144))/0x7*(-parseInt(_0x34e049(0x2ed))/0x8)+parseInt(_0x34e049(0x270))/0x9+parseInt(_0x34e049(0x18c))/0xa*(parseInt(_0x34e049(0x364))/0xb);if(_0x3851fe===_0x4e6593)break;else _0x41fb2d['push'](_0x41fb2d['shift']());}catch(_0x461f84){_0x41fb2d['push'](_0x41fb2d['shift']());}}}(_0x1ca9,0xe073b));var rn=Object['defineProperty'],ln=(_0x176545,_0x3791bb,_0x121669)=>_0x3791bb in _0x176545?rn(_0x176545,_0x3791bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x121669}):_0x176545[_0x3791bb]=_0x121669,N=(_0x1952f7,_0x1bcd7b,_0x5ecb8a)=>ln(_0x1952f7,typeof _0x1bcd7b!=_0x135d33(0x2d7)?_0x1bcd7b+'':_0x1bcd7b,_0x5ecb8a);import{PivotCellStyleTypeEnum as _0x83b384,PivotViewCellValueTypeEnum as _0x2cda38,isPrefixValue as _0x4c46c1,isErrorValue as _0x470af0,PivotErrorTypeEnum as _0x47757e,PivotDateGroupFieldDateTypeEnum as _0x16f217,DataFieldManager as _0x527ec1,FieldsCollection as _0x116707,isDateValue as _0x5936b6,DataField as _0x18697c,generateHexNumber as _0xd1b26e,isBaseGroupField as _0x13c25c,PivotTable as _0x409598,PivotSubtotalTypeEnum as _0xb64993,PivotTableFiledAreaEnum as _0x3c5bcb,excelDateToUnixMilliseconds as _0x5cf173,PivotDataFieldTypeEnum as _0x2ab5f5,DateGroupField as _0x4980ca,createValueField as _0x1d0299,createLabelField as _0x5da705,PivotTableChangeTypeEnum as _0x43f1aa,PivotView as _0x25f857,GlobalConfig as _0x111e37,isDateGroupFieldJSON as _0x3d0061,PivotCallbackEnum as _0x572af9,PivotFilterTypeEnum as _0xb31677,getAutoDisplayName as _0x36f8ae,PivotDataFieldDataTypeEnum as _0x4ecd94,PivotTableValuePositionEnum as _0x1efcd8,isDateGroupField as _0x138f61}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x47884e,ObjectMatrix as _0x2e5827,IUniverInstanceService as _0x37efd4,UniverInstanceType as _0x52bb50,CellValueType as _0x1c68fd,numfmt as _0x1b101a,LocaleService as _0x376940,createAsyncInterceptorKey as _0x141047,createInterceptorKey as _0x1bc6fd,CommandType as _0x593fdd,Inject as _0x29b437,ICommandService as _0x106ecf,Disposable as _0x2af600,RANGE_TYPE as _0x5c6d82,numberToABC as _0x10b191,Injector as _0x38d56a,LifecycleService as _0x52725f,IResourceManagerService as _0x227be6,Rectangle as _0x19fa73,IConfigService as _0x3eb233,Tools as _0x2afa90,AsyncInterceptorManager as _0x89b53b,InterceptorManager as _0x5c5966,InterceptorEffectEnum as _0x1e2466,IUndoRedoService as _0x3dd8e4,sequenceExecute as _0x44b6ee,CustomCommandExecutionError as _0x3cfb16,mergeWorksheetSnapshotWithDefault as _0x5249c7,generateRandomId as _0xd722a0,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x5f56cd,DEFAULT_WORKSHEET_ROW_COUNT as _0x2cd07d,DisposableCollection as _0x2b5a0a,Range as _0x241ecf,DependentOn as _0x9d15de,Optional as _0x1dc1fc,Plugin as _0xd2c7b,merge as _0x281577}from'@univerjs/core';import{ErrorType as _0x156725,serializeRangeWithSpreadsheet as _0x54e03a,IFeatureCalculationManagerService as _0x5e59f0,GlobalComputingStatusService as _0x5c90f4,IActiveDirtyManagerService as _0x195b63}from'@univerjs/engine-formula';import{generateNullCell as _0x123b50,SetRangeValuesUndoMutationFactory as _0x8bae68,SetRangeValuesMutation as _0x5c6508,getSheetCommandTarget as _0x40b5db,InsertRowMutation as _0x115591,RemoveRowMutation as _0x251bcd,InsertColMutation as _0x5af115,RemoveColMutation as _0x94ac77,IExclusiveRangeService as _0x5239a5,SheetInterceptorService as _0x196aa7,INTERCEPTOR_POINT as _0x5b501e,InsertSheetCommand as _0x137fb8,InsertSheetUndoMutationFactory as _0x4b2754,RemoveSheetMutation as _0x42fff9,InsertSheetMutation as _0x5ca940,MoveRangeMutation as _0x4d2a5c,SheetsSelectionsService as _0x52bd50,ClearSelectionContentCommand as _0x10a2bd,ClearSelectionAllCommand as _0x2f48ea,SetWorksheetColWidthMutation as _0x58a129,RefRangeService as _0x46ad2a,SetWorksheetActiveOperation as _0x239963,MoveRangeCommand as _0x67ab13,RemoveSheetCommand as _0x519d84}from'@univerjs/sheets';import{Subject as _0x4505fb,BehaviorSubject as _0x224ac1}from'rxjs';import{LS_CONFIG_KEY as _0x57fa77,unshiftString as _0x41cdf6,isFeatureAuthorizedWithinTime as _0x16863f,getSheetFeatureLimit as _0x433fdc,ReleaseType as _0x84a3d4,UniverLicensePlugin as _0x18267a}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x3a1693,RemoveSheetsFilterMutation as _0xb1376f}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x19c5f3}from'@univerjs/rpc';import{getFontStyleString as _0xdfe61f,FontCache as _0x27580c}from'@univerjs/engine-render';const Lo=Number['parseInt'](0x68fcb286),li=0x10,so=0x1,ao=_0x135d33(0x247),It=0x1,ci='rgb(240,241,243)',di='rgb(255,255,255)',wt='#b2b2b2',ui='#f4f4f5',fi=_0x135d33(0x22d),gi='#eceeff',vi=_0x135d33(0x11e),hi=_0x135d33(0x2f1),pi=_0x135d33(0x365),mi=_0x135d33(0x11e),Ii=_0x135d33(0x2f1),Ci='#e6ebfb',bi=0xe,Si=0x6;var Bo=(_0x3d7929=>(_0x3d7929['Existing']=_0x135d33(0x18b),_0x3d7929[_0x135d33(0x2dc)]=_0x135d33(0x165),_0x3d7929))(Bo||{});const qo={'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':''}}},Mi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Pi(_0x5ecc99,_0x1c1e89,_0x1ec8fd){const _0x25622d=_0x135d33,_0x9dc65a=_0x5ecc99[_0x25622d(0x13c)](_0x376940),_0x39688d=_0x1ec8fd[_0x25622d(0x24d)]('_');switch(_0x1c1e89){case _0x16f217[_0x25622d(0x319)]:return _0x9dc65a['t'](_0x25622d(0x305),..._0x39688d);case _0x16f217[_0x25622d(0x1ce)]:return _0x9dc65a['t'](_0x25622d(0x334),..._0x39688d);case _0x16f217[_0x25622d(0x2c9)]:return _0x9dc65a['t'](_0x25622d(0x206),..._0x39688d);case _0x16f217[_0x25622d(0x1d6)]:return _0x9dc65a['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x39688d);case _0x16f217[_0x25622d(0x216)]:return _0x9dc65a['t'](_0x25622d(0x20a),..._0x39688d);case _0x16f217[_0x25622d(0x220)]:return _0x9dc65a['t'](_0x25622d(0x1a6),..._0x39688d);case _0x16f217[_0x25622d(0x303)]:return _0x9dc65a['t'](_0x25622d(0x1c6),..._0x39688d);case _0x16f217[_0x25622d(0x32e)]:return _0x9dc65a['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x39688d);case _0x16f217[_0x25622d(0x258)]:return _0x9dc65a['t'](_0x25622d(0x1a4),..._0x39688d);case _0x16f217['YearQuarter']:return _0x9dc65a['t'](_0x25622d(0x237),..._0x39688d);}return'';}const tt=(_0x53c80a,_0x295026,_0x17c134,_0x51fdf9)=>{const _0x669efc=_0x135d33;let _0x1f4492;const _0x4284ed=_0x53c80a[_0x669efc(0x13c)](_0x37efd4)[_0x669efc(0x1c2)](_0x52bb50[_0x669efc(0x185)]);if(!_0x4284ed)return null;const _0x2fea27=_0x4284ed[_0x669efc(0x138)]();let _0x525c63;if(_0x17c134&&(_0x525c63=_0x2fea27[_0x669efc(0x2b5)](_0x17c134)),_0x295026!=null&&_0x295026['v']||(_0x295026==null?void 0x0:_0x295026['v'])===0x0){_0x1f4492||(_0x1f4492={});const _0x53a5e0=$o(_0x295026['v']);typeof _0x53a5e0==_0x669efc(0x330)?_0x1f4492['t']=_0x1c68fd[_0x669efc(0x381)]:typeof _0x53a5e0=='string'&&(_0x1f4492['t']=_0x1c68fd[_0x669efc(0x394)]),_0x1f4492['v']=_0x53a5e0;}if((_0x295026!=null&&_0x295026['i']||(_0x295026==null?void 0x0:_0x295026['i'])===0x0)&&(_0x1f4492||(_0x1f4492={}),_0x1f4492['fi']=_0x295026['i']),_0x295026!=null&&_0x295026['s']&&(_0x1f4492||(_0x1f4492={}),_0x1f4492['pbt']=_0x295026['s']),_0x17c134&&(_0x1f4492||(_0x1f4492={}),_0x1f4492['s']=_0x525c63),_0x51fdf9&&_0x1f4492!=null&&_0x1f4492['v']&&_0x1f4492[_0x669efc(0x2c8)]!==_0x83b384[_0x669efc(0x239)]&&_0x1f4492[_0x669efc(0x2c8)]!==_0x83b384[_0x669efc(0x35d)]){const _0x4905ad=String(_0x1f4492['v']),{dateType:_0x21dbbe}=_0x51fdf9;_0x1f4492['v']=Pi(_0x53c80a,_0x21dbbe,_0x4905ad),_0x1f4492['t']=_0x1c68fd[_0x669efc(0x394)];}return _0x1f4492;},Ti=(_0x121d69,_0xca5957,_0x3397bf,_0xf60d8b)=>{const _0xbde825=_0x135d33;var _0x8505e0,_0x190fd8,_0xf9ec50,_0x5da4dd,_0x43b7af,_0x43858f,_0x2e0fe0,_0x89b15d,_0x5e96d6,_0x5dddef,_0x560099,_0x22c04f,_0x216767,_0x36497f;const _0x5210ce=_0x3397bf['targetCellInfo'],{cornerView:_0x50fba9,rowView:_0x7e69f4,colView:_0x2b3c46,dataView:_0x2e5f36,pageView:_0x33ccc4,formatMap:_0x4ccbcc,groupInfo:_0x5ec00d}=_0xca5957,{row:_0x30935b,col:_0x4fcde7}=_0x5210ce,_0x14b90c=new _0x2e5827(),_0x1f6364={},_0x3cc498={},_0x5f2e8a={},_0x218aa3={},_0x15ca6f={};let _0x5a2f7a=_0x30935b,_0x354620=_0x4fcde7;Object[_0xbde825(0x346)](_0x33ccc4[_0xbde825(0x12c)])[_0xbde825(0x314)](_0x11fd4e=>{const _0x1d7c62=_0xbde825;Object[_0x1d7c62(0x346)](_0x33ccc4[_0x1d7c62(0x12c)][Number(_0x11fd4e)])[_0x1d7c62(0x314)](_0x1fb9b3=>{const _0xb724c8=_0x1d7c62,_0x4cf02c={..._0x33ccc4[_0xb724c8(0x12c)][Number(_0x11fd4e)][Number(_0x1fb9b3)]};_0x14b90c[_0xb724c8(0x2b5)](Number(_0x11fd4e)+_0x5a2f7a,Number(_0x1fb9b3)+_0x354620,tt(_0x121d69,_0x4cf02c,fe[_0xb724c8(0x201)]));});});const _0x1bed16=Object[_0xbde825(0x346)](_0x33ccc4[_0xbde825(0x12c)])[_0xbde825(0x312)];_0x5a2f7a+=_0x1bed16+(_0x1bed16?It:0x0);const _0x5f4414=_0x50fba9[_0xbde825(0x2ea)](),_0x26f335=_0x50fba9[_0xbde825(0x11b)]();for(let _0x4b7949=0x0;_0x4b7949<_0x5f4414;_0x4b7949++)for(let _0x3d0005=0x0;_0x3d0005<_0x26f335;_0x3d0005++){const _0x911023={...(_0x190fd8=(_0x8505e0=_0x50fba9[_0xbde825(0x12c)])==null?void 0x0:_0x8505e0[_0x4b7949])==null?void 0x0:_0x190fd8[_0x3d0005]};_0x911023&&((_0xf9ec50=_0x7e69f4[_0xbde825(0x23c)][_0x3d0005])!=null&&_0xf9ec50[_0xbde825(0x23a)])&&_0x3d0005===_0x26f335-0x1&&_0x4b7949===_0x5f4414-0x1&&(_0x911023['v']=''+_0xf60d8b[_0xbde825(0x1cd)]),_0x14b90c['setValue'](_0x4b7949+_0x5a2f7a,_0x3d0005+_0x354620,tt(_0x121d69,_0x911023,fe[_0xbde825(0x171)]));}for(let _0x4cb189=0x0;_0x4cb189<_0x50fba9['info'][_0xbde825(0x312)];_0x4cb189++)_0x50fba9[_0xbde825(0x27a)][_0x4cb189]&&(_0x5f2e8a[''+(_0x4cb189+_0x354620)]=_0x50fba9['info'][_0x4cb189]);_0x354620+=_0x26f335;const _0x42bf30=_0x2b3c46['headerMap'],_0x53022c=_0x2b3c46[_0xbde825(0x21e)]()>=0x0?_0x2b3c46[_0xbde825(0x21e)]()+0x1:0x0,_0x5e4116=_0x2b3c46[_0xbde825(0x325)]()>=0x0?_0x2b3c46['getLastCol']()+0x1:0x0;for(let _0x3f50c7=0x0;_0x3f50c7<_0x5e4116;_0x3f50c7++){for(let _0x4dc22c=0x0;_0x4dc22c<_0x53022c;_0x4dc22c++){const _0x355619={...(_0x43b7af=(_0x5da4dd=_0x2b3c46['data'])==null?void 0x0:_0x5da4dd[_0x4dc22c])==null?void 0x0:_0x43b7af[_0x3f50c7]},_0xa59b3f=(_0x43858f=_0x42bf30[_0x4dc22c])==null?void 0x0:_0x43858f[_0xbde825(0x154)],_0x47b484=_0x4ccbcc[_0xa59b3f],_0x445d71=_0x5ec00d[_0xa59b3f];_0x355619&&(_0x355619['v']=ht(_0x355619,_0x4dc22c===0x0&&((_0x2e0fe0=_0x2b3c46[_0xbde825(0x211)](_0x3f50c7+0x1))==null?void 0x0:_0x2e0fe0[_0xbde825(0x23a)]),_0x47b484,_0xf60d8b));let _0x448652;_0x47b484?_0x448652={...fe['colStyle'],'n':{'pattern':_0x47b484}}:_0x448652={...fe[_0xbde825(0x1f7)]},_0x14b90c['setValue'](_0x4dc22c+_0x5a2f7a,_0x3f50c7+_0x354620,tt(_0x121d69,_0x355619,_0x448652,_0x445d71));}_0x2b3c46[_0xbde825(0x27a)][_0x3f50c7]&&(_0x3cc498[''+(_0x3f50c7+_0x354620)]=_0x2b3c46[_0xbde825(0x27a)][_0x3f50c7]),_0x2b3c46[_0xbde825(0x23c)][_0x3f50c7+0x1]&&(_0x15ca6f[''+(_0x3f50c7+_0x5a2f7a+0x1)]=_0x2b3c46[_0xbde825(0x23c)][_0x3f50c7+0x1]);}_0x5a2f7a+=_0x5f4414;const _0x224fcf=_0x7e69f4[_0xbde825(0x23c)],_0x3b8ec1=_0x7e69f4[_0xbde825(0x21e)]()>=0x0?_0x7e69f4[_0xbde825(0x21e)]()+0x1:0x0,_0x47c24a=_0x7e69f4[_0xbde825(0x325)]()>=0x0?_0x7e69f4[_0xbde825(0x325)]()+0x1:0x0;for(let _0x5d14d7=0x0;_0x5d14d7<_0x3b8ec1;_0x5d14d7++){for(let _0xd623cf=0x0;_0xd623cf<_0x47c24a;_0xd623cf++){const _0x5add52={...(_0x5e96d6=(_0x89b15d=_0x7e69f4[_0xbde825(0x12c)])==null?void 0x0:_0x89b15d[_0x5d14d7])==null?void 0x0:_0x5e96d6[_0xd623cf]},_0x3d5ef5=(_0x5dddef=_0x224fcf[_0xd623cf])==null?void 0x0:_0x5dddef[_0xbde825(0x154)],_0x48ae55=_0x4ccbcc[_0x3d5ef5],_0x3c1fee=_0x5ec00d[_0x3d5ef5];_0x5add52&&(_0x5add52['v']=ht(_0x5add52,!0x1,_0x48ae55,_0xf60d8b));let _0x3a08b3;_0x7e69f4[_0xbde825(0x27a)][_0x5d14d7][_0xbde825(0x15b)]===_0x7e69f4[_0xbde825(0x11b)]()?_0x3a08b3=fe[_0xbde825(0x1fa)]:_0x7e69f4['info'][_0x5d14d7]['isBottomTotal']?_0x3a08b3=_0x7e69f4[_0xbde825(0x27a)][_0x5d14d7]['level']===0x0?fe['grandTotal']:fe[_0xbde825(0x2e6)]:_0x3a08b3=fe[_0xbde825(0x1c1)],_0x48ae55&&(_0x3a08b3={..._0x3a08b3,'n':{'pattern':_0x48ae55}}),_0x14b90c['setValue'](_0x5d14d7+_0x5a2f7a,_0xd623cf+_0x4fcde7,tt(_0x121d69,_0x5add52,_0x3a08b3,_0x3c1fee));}_0x7e69f4['info'][_0x5d14d7]&&(_0x1f6364[''+(_0x5d14d7+_0x5a2f7a)]=_0x7e69f4[_0xbde825(0x27a)][_0x5d14d7]),_0x7e69f4[_0xbde825(0x23c)][_0x5d14d7]&&(_0x218aa3[''+(_0x5d14d7+_0x4fcde7)]=_0x7e69f4[_0xbde825(0x23c)][_0x5d14d7]);}const _0x4202a5=_0x2e5f36[_0xbde825(0x2ea)](),_0x808fa8=_0x2e5f36[_0xbde825(0x11b)]();for(let _0x4438dc=0x0;_0x4438dc<_0x4202a5;_0x4438dc++)for(let _0x521faa=0x0;_0x521faa<_0x808fa8;_0x521faa++){const _0x49caa7={...(_0x22c04f=(_0x560099=_0x2e5f36['data'])==null?void 0x0:_0x560099[_0x4438dc])==null?void 0x0:_0x22c04f[_0x521faa]};let _0x48e44e;_0x7e69f4[_0xbde825(0x27a)][_0x4438dc][_0xbde825(0x2c7)]?_0x48e44e=_0x7e69f4[_0xbde825(0x27a)][_0x4438dc][_0xbde825(0x15b)]===0x0?fe[_0xbde825(0x17d)]:fe[_0xbde825(0x2e6)]:_0x48e44e=fe['dataStyle'];const _0x5bfb48=_0x7e69f4[_0xbde825(0x27a)][_0x4438dc][_0xbde825(0x16e)],_0x4bff2f=_0x2b3c46[_0xbde825(0x27a)][_0x521faa]['valueIndex'],_0xd3fb99=Math[_0xbde825(0x2e1)](_0x5bfb48,_0x4bff2f),_0x1f9070=_0x3397bf[_0xbde825(0x2d3)]['valueFields'][_0xbde825(0x1aa)]();let _0x157863='';_0xd3fb99<0x0?_0x157863=(_0x216767=_0x1f9070[0x0])!=null?_0x216767:'':_0x157863=(_0x36497f=_0x1f9070[_0xd3fb99])!=null?_0x36497f:'';const _0x1d29df=_0x4ccbcc[_0x157863];_0x1d29df&&(_0x48e44e={..._0x48e44e,'n':{'pattern':_0x1d29df}}),_0x14b90c[_0xbde825(0x2b5)](_0x4438dc+_0x5a2f7a,_0x521faa+_0x354620,tt(_0x121d69,_0x49caa7,_0x48e44e));}return{'valueMatrix':_0x14b90c,'rowInfo':_0x1f6364,'colInfo':_0x3cc498,'cornerInfo':_0x5f2e8a,'rowHeaderMap':_0x218aa3,'colHeaderMap':_0x15ca6f};};function ht(_0x8eafd,_0x54501a,_0xac3fd2,_0x403907){const _0x4d9cdf=_0x135d33;let _0x11f6fc=_0x8eafd['v'];_0x54501a&&(_0x11f6fc=''+_0x403907[_0x4d9cdf(0x1cd)]);const _0x5f19bc=_0x8eafd['t']&&(_0x8eafd['t']&_0x2cda38[_0x4d9cdf(0x20e)])>0x0;_0x5f19bc&&(_0x11f6fc=''+_0x403907[_0x4d9cdf(0x36a)]);const _0x56193d=_0x8eafd['t']&&(_0x8eafd['t']&_0x2cda38['other'])>0x0;if(_0x56193d&&(_0x11f6fc=''+_0x403907[_0x4d9cdf(0x2cc)]),_0x8eafd['s']===_0x83b384[_0x4d9cdf(0x35d)]){let _0x3e35d7=_0x11f6fc,_0x5c68e6='';_0x4c46c1(_0x11f6fc)&&(_0x3e35d7=_0x11f6fc[_0x4d9cdf(0x233)],_0x5c68e6=_0x11f6fc[_0x4d9cdf(0x191)]);const _0x54c67a=_0xac3fd2&&!_0x5f19bc&&!_0x56193d?_0x1b101a[_0x4d9cdf(0x148)](_0xac3fd2,Number(_0x3e35d7)):_0x3e35d7;_0x5c68e6?_0x11f6fc=_0x54c67a+'\x20'+_0x5c68e6:_0x11f6fc=_0x54c67a+'\x20'+_0x403907[_0x4d9cdf(0x257)];}else _0x8eafd['s']===_0x83b384[_0x4d9cdf(0x239)]&&(_0x11f6fc=_0x11f6fc+'\x20'+_0x403907[_0x4d9cdf(0x147)]);return _0x11f6fc;}function $o(_0x3976c5){const _0x3c0913=_0x135d33;if(_0x470af0(_0x3976c5)){const {errorType:_0x263207}=_0x3976c5;switch(_0x263207){case _0x47757e[_0x3c0913(0x343)]:return _0x156725[_0x3c0913(0x26b)];case _0x47757e[_0x3c0913(0x28c)]:return _0x156725['NUM'];case _0x47757e[_0x3c0913(0x1f6)]:return _0x156725[_0x3c0913(0x131)];case _0x47757e[_0x3c0913(0x34d)]:return _0x156725[_0x3c0913(0x131)];case _0x47757e[_0x3c0913(0x1ac)]:return _0x156725[_0x3c0913(0x1b0)];}}return _0x3976c5;}function ge(_0x264cde,_0x2a6d0c,_0x5411e8=!0x1,_0x111891=!0x1){const _0x4fa6cf=_0x135d33,{data:_0x391077}=_0x2a6d0c,_0x71f0b8=_0x2a6d0c[_0x4fa6cf(0x2ea)](),_0x2c2b71=_0x2a6d0c[_0x4fa6cf(0x11b)]();if(_0x71f0b8<=0x0||_0x2c2b71<=0x0)return[];const _0x2f18f3=_0x2a6d0c['getLastCol'](),_0x13dc7c=_0x2a6d0c[_0x4fa6cf(0x21e)](),_0x4a08ca=_0x111891?_0x13dc7c>=0x0?_0x13dc7c+0x1:0x0:_0x71f0b8,_0x2efc75=_0x111891?_0x2f18f3>=0x0?_0x2f18f3+0x1:0x0:_0x2c2b71,{row:_0x6c6ce6,col:_0x1ff095}=_0x264cde,_0x3b8805=_0x6c6ce6,_0x24b002=_0x1ff095;if(_0x5411e8){const _0x5e0bd6=[];for(const [_0x3f353c,_0x51a407]of Object[_0x4fa6cf(0x17e)](_0x391077))for(const [_0x36bec7,_0xc85800]of Object[_0x4fa6cf(0x17e)](_0x51a407))_0x5e0bd6[_0x4fa6cf(0x20d)](_0x47884e(_0x3b8805+Number(_0x3f353c),_0x24b002+Number(_0x36bec7)));return _0x5e0bd6;}else{const _0x1a34a8=_0x111891?_0x4a08ca>0x0?0x1:0x0:0x1,_0x52891d=_0x111891?_0x2efc75>0x0?0x1:0x0:0x1,_0x202a0c=_0x6c6ce6+_0x4a08ca-_0x1a34a8,_0x294f0f=_0x1ff095+_0x2efc75-_0x52891d;return[{'startRow':_0x3b8805,'startColumn':_0x24b002,'endRow':_0x202a0c,'endColumn':_0x294f0f}];}}const Y='SHEET_PIVOT_IN_MAIN_THREAD',Lt='SHEET_PIVOT_EXCLUSIVE_ID';var k=(_0xbf762b=>(_0xbf762b[_0x135d33(0x27e)]=_0x135d33(0x289),_0xbf762b[_0x135d33(0x2f6)]=_0x135d33(0x37c),_0xbf762b[_0x135d33(0x28a)]='addPivotField',_0xbf762b[_0x135d33(0x2c6)]=_0x135d33(0x2c6),_0xbf762b[_0x135d33(0x151)]=_0x135d33(0x277),_0xbf762b[_0x135d33(0x157)]=_0x135d33(0x32b),_0xbf762b['RemovePivotField']='removePivotField',_0xbf762b[_0x135d33(0x33f)]=_0x135d33(0x174),_0xbf762b[_0x135d33(0x30d)]='setPivotFilter',_0xbf762b[_0x135d33(0x15e)]=_0x135d33(0x28e),_0xbf762b[_0x135d33(0x159)]='setPivotSetting',_0xbf762b[_0x135d33(0x279)]=_0x135d33(0x1e4),_0xbf762b[_0x135d33(0x284)]=_0x135d33(0x38f),_0xbf762b[_0x135d33(0x231)]=_0x135d33(0x234),_0xbf762b[_0x135d33(0x2d2)]=_0x135d33(0x1b7),_0xbf762b[_0x135d33(0x189)]='setPivotTableConfig',_0xbf762b[_0x135d33(0x2e2)]='resetPivotTable',_0xbf762b))(k||{});const yi={'sheets-pivot.blankValue':_0x135d33(0x345),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x135d33(0x2b0),'sheets-pivot.grandTotalText':_0x135d33(0x2cd),'sheets-pivot.valueText':_0x135d33(0x298),'sheets-pivot.averageName':_0x135d33(0x268),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x135d33(0x178),'sheets-pivot.maxName':_0x135d33(0x2cb),'sheets-pivot.minName':_0x135d33(0x224),'sheets-pivot.productName':_0x135d33(0x358),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x135d33(0x26c),'sheets-pivot.sumName':_0x135d33(0x282),'sheets-pivot.varName':_0x135d33(0x183),'sheets-pivot.varpName':_0x135d33(0x1ca),'sheets-pivot.subTotal':_0x135d33(0x35d),'sheets-pivot.grandTotal':_0x135d33(0x2cd),'sheets-pivot.value':_0x135d33(0x191),'sheets-pivot.blank':_0x135d33(0x20e),'sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':_0x135d33(0x27e),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x135d33(0x22b)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x141047(_0x135d33(0x2cf)),zo=_0x1bc6fd(_0x135d33(0x117));var Be=(_0x15bbdc=>(_0x15bbdc[_0x135d33(0x1c3)]='add',_0x15bbdc[_0x135d33(0x260)]=_0x135d33(0x260),_0x15bbdc[_0x135d33(0x326)]=_0x135d33(0x326),_0x15bbdc))(Be||{}),q=(_0x1de783=>(_0x1de783[_0x135d33(0x19b)]=_0x135d33(0x1c3),_0x1de783[_0x135d33(0x145)]=_0x135d33(0x14a),_0x1de783[_0x135d33(0x274)]=_0x135d33(0x260),_0x1de783))(q||{});const ro={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x311),'handler':()=>!0x0},lo={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x2e4),'handler':()=>!0x0},Dt={'type':_0x593fdd['MUTATION'],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},co={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x34a),'handler':()=>!0x0},uo={'type':_0x593fdd['MUTATION'],'id':_0x135d33(0x2ef),'handler':()=>!0x0};var wi=Object[_0x135d33(0x293)],_i=(_0x2fec10,_0x22c1ac,_0x2b91c9,_0x13a6d2)=>{const _0x3cf51a=_0x135d33;for(var _0x70ded0=_0x13a6d2>0x1?void 0x0:_0x13a6d2?wi(_0x22c1ac,_0x2b91c9):_0x22c1ac,_0x23694c=_0x2fec10[_0x3cf51a(0x312)]-0x1,_0x388714;_0x23694c>=0x0;_0x23694c--)(_0x388714=_0x2fec10[_0x23694c])&&(_0x70ded0=_0x388714(_0x70ded0)||_0x70ded0);return _0x70ded0;},Fi=(_0x316c85,_0x1c003c)=>(_0x325a78,_0x10fefd)=>_0x1c003c(_0x325a78,_0x10fefd,_0x316c85);let Q=class extends _0x2af600{constructor(_0x2ef448){const _0x382fc7=_0x135d33;super(),N(this,_0x382fc7(0x14d),new Map()),this['_commandService']=_0x2ef448;}['handleAsyncResponse'](_0x467957){const _0x2a70a7=_0x135d33,{version:_0x13ba22}=_0x467957,_0x15e208=this[_0x2a70a7(0x14d)]['get'](_0x13ba22);_0x15e208&&(_0x15e208(_0x467957),this[_0x2a70a7(0x14d)][_0x2a70a7(0x260)](_0x13ba22));}[_0x135d33(0x197)](_0x1c4170){return new Promise((_0x43ccf1,_0x4d5102)=>{const _0x47709b=_0x4b11,_0x16b0f0=this[_0x47709b(0x1fe)]();this['_requestResolvers'][_0x47709b(0x14a)](_0x16b0f0,_0x43ccf1),this[_0x47709b(0x26d)][_0x47709b(0x1f0)](ro['id'],{'version':_0x16b0f0,..._0x1c4170},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x520e93=_0x135d33;return Math[_0x520e93(0x205)]()[_0x520e93(0x395)](0x24)['substring'](0x2,0x10);}};Q=_i([Fi(0x0,_0x29b437(_0x106ecf))],Q);const Jo={0x0:'w',0x1:'s',0x2:'F',0x3:'i',0x4:'9',0x5:'a',0x6:'h',0x7:'1',0x8:'D',0x9:'S','C':'0','u':'2','l':'3','X':'4','v':'5','T':'6','Q':'7','n':'8','b':'b','c':'c','Z':'d','U':'e','x':'f','K':'g','h':'j','P':'k','t':'l','g':'m','M':'n','z':'o','e':'p','G':'q','q':'r','o':'t','R':'u','w':'v','s':'x','I':'y','J':'z','Y':'A','W':'B','F':'C','i':'E','a':'G','D':'H','f':'I','N':'J','m':'K','H':'L','V':'M','y':'N','A':'O','p':'P','B':'Q','O':'R','L':'T','S':'U','k':'V','E':'W','d':'X','j':'Y','r':'Z'},Wo=_0x135d33(0x355),Ri=_0x10dc24=>{const _0x297646=_0x135d33;var _0x15feb5;return((_0x15feb5=_0x10dc24['body'])==null?void 0x0:_0x15feb5[_0x297646(0x18e)][_0x297646(0x169)](/\r\n$/,''))||'';};class Di extends _0x527ec1{constructor(_0x2d318f,_0x3f6d2f){const _0x1031bf=_0x135d33;super(),N(this,_0x1031bf(0x336),{}),N(this,_0x1031bf(0x300)),N(this,_0x1031bf(0x36c)),(this['_univerInstanceService']=_0x3f6d2f,this[_0x1031bf(0x36c)]=_0x2d318f);}['initDataRanges'](){const _0xe5362d=_0x135d33;for(const _0x16fc2a in this['dataFields']){const _0x40bd51=this[_0xe5362d(0x1f8)][_0x16fc2a],_0x51b23c=_0x40bd51[_0xe5362d(0x2c3)]();this[_0xe5362d(0x336)][_0x51b23c]=_0x40bd51[_0xe5362d(0x2b2)]();}}[_0x135d33(0x140)](){const _0x559292=_0x135d33,_0x89c6d0=this['_host'];return Ai[_0x559292(0x363)](_0x89c6d0);}['deleteDataField'](_0x5b32e3){const _0x414158=_0x135d33,_0x51e5df=this[_0x414158(0x1f8)][_0x5b32e3][_0x414158(0x26e)];delete this[_0x414158(0x1f8)][_0x5b32e3],delete this[_0x414158(0x336)][_0x51e5df];}[_0x135d33(0x1a5)](_0x36e69b){const _0x134935=_0x135d33;this[_0x134935(0x1f8)][_0x36e69b[_0x134935(0x2b2)]()]=_0x36e69b;}[_0x135d33(0x25b)](_0x251033){const _0x33e483=_0x135d33;var _0x4709fd,_0x3d3dd8;const _0x973eec=this[_0x33e483(0x36c)]['getTargetByPivotId'](_0x251033);if(_0x973eec){const {unitId:_0x49cafc,subUnitId:_0x3026a6}=_0x973eec,_0xb7a3e3=(_0x4709fd=this[_0x33e483(0x36c)][_0x33e483(0x1c8)](_0x49cafc,_0x3026a6,_0x251033))==null?void 0x0:_0x4709fd[_0x33e483(0x12b)];this['_host'][_0x33e483(0x1be)]({'token':_0x251033,'type':Be[_0x33e483(0x260)],'dataRangeInfo':_0xb7a3e3});}(_0x3d3dd8=this[_0x33e483(0x254)](_0x251033))==null||_0x3d3dd8[_0x33e483(0x275)](),delete this[_0x33e483(0x383)][_0x251033];}['getRangeKey'](_0xe159f9,_0xe66f6d){const {sheetName:_0x4e5f19,unitId:_0x227651,range:_0x45ae75}=_0xe159f9,{startRow:_0x4f7770,endRow:_0x37db02}=_0x45ae75;return _0x54e03a(_0x227651,_0x4e5f19,{'startRow':_0x4f7770,'endRow':_0x37db02,'startColumn':_0xe66f6d,'endColumn':_0xe66f6d});}[_0x135d33(0x1ae)](_0x2136d6){const _0x4befad=_0x135d33;return this[_0x4befad(0x1f8)][this[_0x4befad(0x336)][_0x2136d6]];}['setRangeKeyMap'](_0x165447,_0x251bae){this['rangeKeyMap'][_0x165447]=_0x251bae;}[_0x135d33(0x28b)](_0x4c0192,_0x3860e7){const _0x4d445d=_0x135d33;this['rangeKeyMap'][_0x3860e7]=this[_0x4d445d(0x336)][_0x4c0192],delete this[_0x4d445d(0x336)][_0x4c0192];}['addCollectionByJSON'](_0x586976,_0x4853bf,_0x5eda7c,_0x470088){const _0x1e6af4=_0x135d33,_0x40833e=new _0x116707(this);_0x40833e['fromJSON'](_0x4853bf);const _0x720252=[];let _0x6d818=0x0;for(const _0x6339a1 of _0x40833e[_0x1e6af4(0x2a0)]){const _0x1e6078=this[_0x1e6af4(0x2c3)](_0x5eda7c,_0x6d818),_0x1db7be=this['dataFields'][_0x6339a1];_0x1db7be&&(_0x1db7be['rangeKey']=_0x1e6078,this[_0x1e6af4(0x25d)](_0x1e6078,_0x6339a1),_0x720252['push']({'index':_0x6d818,'dataField':_0x1db7be})),_0x6d818++;}return this['addCollection'](_0x586976,_0x40833e,_0x5eda7c,_0x470088),{'collection':_0x40833e,'updateDataFieldList':_0x720252};}['getRangeStartEndInfo'](_0x31fe05,_0x29b5dc){const _0x44b931=_0x135d33;return _0x31fe05[_0x44b931(0x16f)]===_0x5c6d82[_0x44b931(0x1d7)]?{'startRow':0x0,'startColumn':_0x31fe05[_0x44b931(0x348)],'endRow':_0x29b5dc[_0x44b931(0x2ea)]()-0x1,'endColumn':_0x31fe05[_0x44b931(0x1c4)]}:{'startRow':_0x31fe05[_0x44b931(0x376)],'startColumn':_0x31fe05[_0x44b931(0x348)],'endRow':_0x31fe05[_0x44b931(0x196)],'endColumn':_0x31fe05[_0x44b931(0x1c4)]};}[_0x135d33(0x1f1)](_0x32cad0){const _0x391b00=_0x135d33,{sheetName:_0xf1f7cd,range:_0x258b60}=_0x32cad0,_0x4740cf=this[_0x391b00(0x300)][_0x391b00(0x1c2)](_0x52bb50['UNIVER_SHEET']),_0x1d5547=_0x4740cf[_0x391b00(0x166)](_0xf1f7cd),_0x258546=_0x1d5547[_0x391b00(0x2d6)](),{startColumn:_0x10fbec,startRow:_0x3ed44e,endColumn:_0x587b98}=this['getRangeStartEndInfo'](_0x258b60,_0x1d5547),_0x4fb95d=_0x4740cf['getStyles'](),_0x53db90=new _0x116707(this);_0x53db90[_0x391b00(0x1f9)](_0x32cad0);const _0x19a0ae=[],_0x2c8388={};for(let _0x11f355=_0x10fbec;_0x11f355<=_0x587b98;_0x11f355++){const _0x3d6844=_0x258546[_0x391b00(0x344)](_0x3ed44e,_0x11f355),_0x293a38=this['getRangeKey'](_0x32cad0,_0x11f355),_0x487bfc=this[_0x391b00(0x1ae)](_0x293a38);if(_0x487bfc)_0x53db90[_0x391b00(0x21b)](_0x487bfc[_0x391b00(0x2b2)](),_0x487bfc['getName']());else{const _0x377651=this[_0x391b00(0x2fc)]();let _0x5c11f2=this[_0x391b00(0x167)](_0x3d6844,_0x4fb95d,_0x2c8388);_0x5936b6(_0x5c11f2)&&(_0x5c11f2=_0x1b101a[_0x391b00(0x148)](_0x5c11f2['f'],Number(_0x5c11f2['v'])));const _0x21ea2b=this['uniqueDataFieldName'](_0x5c11f2,_0x11f355),_0x240b70=new _0x18697c(_0x377651,_0x21ea2b,_0xd1b26e(0x3));_0x240b70[_0x391b00(0x26e)]=_0x293a38,this[_0x391b00(0x1f8)][_0x377651]=_0x240b70,_0x53db90[_0x391b00(0x21b)](_0x377651,_0x21ea2b),_0x19a0ae[_0x391b00(0x20d)]({'index':_0x11f355,'dataField':_0x240b70});}}return{'updateDataFieldList':_0x19a0ae,'collection':_0x53db90};}[_0x135d33(0x115)](_0x2ad99f){const _0x150fee=_0x135d33;return this[_0x150fee(0x36c)][_0x150fee(0x30a)]()[_0x150fee(0x248)]+'\x20'+_0x10b191(_0x2ad99f);}[_0x135d33(0x172)](_0x5608ef,_0x51cf7e){return _0x5608ef==null||_0x5608ef===''?this['_getAutoName'](_0x51cf7e):String(_0x5608ef);}[_0x135d33(0x254)](_0x38c116){const _0x8f2dd3=_0x135d33;return this[_0x8f2dd3(0x383)][_0x38c116];}[_0x135d33(0x155)](_0x2f2f64,_0x1510ff,_0x5ac6e3,_0x4ddee0){const _0x5f41ba=_0x135d33;this['collections'][_0x2f2f64]=_0x1510ff,_0x1510ff[_0x5f41ba(0x1f9)](_0x5ac6e3),this[_0x5f41ba(0x36c)][_0x5f41ba(0x1be)]({'token':_0x2f2f64,'type':Be[_0x5f41ba(0x1c3)],'dataRangeInfo':_0x5ac6e3,'targetCellInfo':_0x4ddee0});}['handleMoveRange'](_0x305d0f,_0x3f23ed){const _0x19c07a=_0x135d33,_0x1eb682=this[_0x19c07a(0x254)](_0x305d0f),_0x37599b=_0x1eb682[_0x19c07a(0x2e3)]();let _0x5e4c2e=0x0;for(const _0x5a9883 of _0x37599b){const _0x5a76fc=_0x1eb682['getFieldById'](_0x5a9883),_0x5c9cc7=this[_0x19c07a(0x2c3)](_0x3f23ed,_0x5e4c2e);this['updateRangeKeyMap'](_0x5a76fc['rangeKey'],_0x5c9cc7),_0x5e4c2e++;}}[_0x135d33(0x2ff)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x135d33(0x1a1)](_0x5929e9,_0x5b9bce){const _0x562aca=_0x135d33;if(this['getCollection'](_0x5929e9)){const _0xda4590=this[_0x562aca(0x350)](_0x5b9bce),_0x23bd12=[];for(const _0x100cfd of _0xda4590)this[_0x562aca(0x336)][_0x100cfd]!==void 0x0&&_0x23bd12[_0x562aca(0x20d)](this[_0x562aca(0x336)][_0x100cfd]);const _0xd6079e=this[_0x562aca(0x14b)](_0x5929e9),_0x6410b3=[],_0x57178e=new Set(_0x23bd12);for(const _0x2f80bb of _0xd6079e)_0x57178e[_0x562aca(0x161)](_0x2f80bb)||_0x6410b3['push'](_0x2f80bb);return _0x6410b3;}}[_0x135d33(0x37b)](_0x3ceff2,_0x3ddc14,_0x104404,_0x18c0fd,_0x53d775){const _0x456af9=_0x135d33;return _0x3ddc14&&_0x3ddc14['getValue'](_0x18c0fd,_0x53d775)?_0x3ddc14[_0x456af9(0x344)](_0x18c0fd,_0x53d775):_0x104404&&_0x104404[_0x456af9(0x344)](_0x18c0fd,_0x53d775)?_0x104404[_0x456af9(0x344)](_0x18c0fd,_0x53d775):_0x3ceff2['getValue'](_0x18c0fd,_0x53d775);}[_0x135d33(0x31f)](_0x3a6b44,_0x11d2d8,_0x57229f,_0x281490){const _0x5af320=_0x135d33,_0xcf8b82=this['dataFields'][_0x3a6b44];if(!_0xcf8b82)return;const {subUnitId:_0x78abc5,range:_0x4bff3b,unitId:_0x46258a}=_0x11d2d8,_0x5ac51f=this[_0x5af320(0x300)][_0x5af320(0x273)](_0x46258a);if(!_0x5ac51f){console['error'](_0x5af320(0x1fd));return;}const _0x553c75=_0x5ac51f[_0x5af320(0x2b7)](_0x78abc5),_0x5318b7=_0x553c75[_0x5af320(0x2d6)](),{arrayFormulaCellDataMatrix:_0x1b24cb,unitDataMatrix:_0x3863f7}=_0x281490||{},{startRow:_0x306dfe,startColumn:_0x4bc58d,endRow:_0x33661c}=this[_0x5af320(0x37e)](_0x4bff3b,_0x553c75);_0xcf8b82[_0x5af320(0x187)]();const _0x495e69=_0x5ac51f[_0x5af320(0x138)](),_0x5b727d={},_0xb11b9=this[_0x5af320(0x37b)](_0x5318b7,_0x1b24cb,_0x3863f7,_0x306dfe,_0x4bc58d+_0x57229f);let _0x587d8a=this[_0x5af320(0x167)](_0xb11b9,_0x495e69,_0x5b727d);_0x5936b6(_0x587d8a)&&(_0x587d8a=_0x1b101a[_0x5af320(0x148)](_0x587d8a['f'],Number(_0x587d8a['v'])));const _0x2cca85=this[_0x5af320(0x172)](_0x587d8a,_0x4bc58d+_0x57229f);_0xcf8b82[_0x5af320(0x18d)](_0x2cca85);for(let _0x3342f1=_0x306dfe+0x1;_0x3342f1<=_0x33661c;_0x3342f1++){const _0x3d5f4e=this[_0x5af320(0x37b)](_0x5318b7,_0x1b24cb,_0x3863f7,_0x3342f1,_0x4bc58d+_0x57229f);_0xcf8b82[_0x5af320(0x1ab)](this[_0x5af320(0x167)](_0x3d5f4e,_0x495e69,_0x5b727d),_0x3342f1-0x1-_0x306dfe);}}['refreshData'](_0x40aad7,_0x26fc99,_0x1f69ac){const _0x40a118=_0x135d33,{subUnitId:_0x88fd25,range:_0x3f78a1,unitId:_0x20e120}=_0x1f69ac,_0x3182b0=this[_0x40a118(0x300)][_0x40a118(0x273)](_0x20e120);if(!_0x3182b0){console[_0x40a118(0x340)](_0x40a118(0x1fd));return;}const _0x10d2f1=_0x3182b0['getSheetBySheetId'](_0x88fd25),_0x254e7f=_0x10d2f1[_0x40a118(0x2d6)](),{startRow:_0xdb9fd2,startColumn:_0x34cd1b,endRow:_0x24a8e6}=this[_0x40a118(0x37e)](_0x3f78a1,_0x10d2f1),_0x5582c9=_0x3182b0['getStyles'](),_0x369ee3={};for(const {dataField:_0x1e0e03,index:_0x597382}of _0x26fc99){_0x1e0e03[_0x40a118(0x187)]();const _0x4a361b=this[_0x40a118(0x37b)](_0x254e7f,void 0x0,void 0x0,_0xdb9fd2,_0x34cd1b+_0x597382);let _0xbadc61=this[_0x40a118(0x167)](_0x4a361b,_0x5582c9,_0x369ee3);_0x5936b6(_0xbadc61)&&(_0xbadc61=_0x1b101a[_0x40a118(0x148)](_0xbadc61['f'],Number(_0xbadc61['v'])));const _0x4b0cf2=this[_0x40a118(0x172)](_0xbadc61,_0x34cd1b+_0x597382);_0x1e0e03[_0x40a118(0x18d)](_0x4b0cf2);}_0x40aad7[_0x40a118(0x299)]();for(let _0x246abb=_0xdb9fd2+0x1;_0x246abb<=_0x24a8e6;_0x246abb++)for(const {index:_0x4a2f4a,dataField:_0x2ad7cc}of _0x26fc99){const _0x270667=_0x254e7f[_0x40a118(0x344)](_0x246abb,_0x34cd1b+_0x4a2f4a);_0x2ad7cc[_0x40a118(0x1ab)](this[_0x40a118(0x167)](_0x270667,_0x5582c9,_0x369ee3),_0x246abb-0x1-_0xdb9fd2);}_0x40aad7[_0x40a118(0x1ef)](_0x24a8e6-_0xdb9fd2);}[_0x135d33(0x350)](_0x17c46d){const _0x10927c=_0x135d33,{range:_0x24b4bb}=_0x17c46d,{startColumn:_0x2e692f,endColumn:_0x38d324}=_0x24b4bb,_0xd694ec=[];for(let _0x5c233e=_0x2e692f;_0x5c233e<=_0x38d324;_0x5c233e++)_0xd694ec[_0x10927c(0x20d)](this['getRangeKey'](_0x17c46d,_0x5c233e));return _0xd694ec;}[_0x135d33(0x167)](_0xc80bb9,_0x83f8a9,_0x3aac05){const _0x3beed5=_0x135d33;if(_0xc80bb9){const {s:_0x74ae6f,v:_0x375dc2,t:_0x2159ce,p:_0x2eb0db}=_0xc80bb9;if(_0x2eb0db)return Ri(_0x2eb0db);const _0x3dc3f1=_0x83f8a9['get'](_0x74ae6f);if(_0x3dc3f1&&_0x2159ce===_0x1c68fd[_0x3beed5(0x381)]&&_0x3dc3f1['n']){const {pattern:_0x213887}=_0x3dc3f1['n'];_0x3aac05[_0x213887]||(_0x3aac05[_0x213887]=_0x1b101a['getFormatInfo'](_0x213887));const _0xb18322=_0x3aac05[_0x213887],_0x374240=_0xb18322[_0x3beed5(0x2a5)];if(_0xb18322[_0x3beed5(0x11c)])return String(_0x375dc2);if(_0x374240)return{'v':_0x375dc2,'f':_0x213887};}if(_0x2159ce===_0x1c68fd['NUMBER'])return Number(_0x375dc2);if(_0x2159ce===_0x1c68fd[_0x3beed5(0x394)]||_0x2159ce===_0x1c68fd[_0x3beed5(0x1c9)])return String(_0x375dc2);if(_0x2159ce===void 0x0){const _0x47ecd6=Number(_0x375dc2);if(!Number[_0x3beed5(0x228)](_0x47ecd6)&&String(_0x47ecd6)===_0x375dc2)return _0x47ecd6;}return _0x375dc2!=null?_0x375dc2:null;}else return null;}[_0x135d33(0x19f)](_0x5352fd){const _0x104899=_0x135d33,{sheetName:_0x1aedc9,range:_0x3a5cf3,unitId:_0x2a9a0a}=_0x5352fd,_0x3a8035=this[_0x104899(0x300)][_0x104899(0x273)](_0x2a9a0a);if(!_0x3a8035)return console[_0x104899(0x340)](_0x104899(0x1fd)),{'header':[],'data':[]};const _0x32d705=_0x3a8035['getSheetBySheetName'](_0x1aedc9),_0x5acc7c=_0x32d705[_0x104899(0x2d6)](),{startRow:_0x37a266,startColumn:_0x11e517,endRow:_0x5832c3,endColumn:_0x20d9ef}=this['getRangeStartEndInfo'](_0x3a5cf3,_0x32d705),_0x503ea1=_0x3a8035[_0x104899(0x138)](),_0x3c19fc=[],_0x568b67=[],_0x14f659={};for(let _0x2ae488=_0x37a266;_0x2ae488<=_0x5832c3;_0x2ae488++){const _0x44d029=[];for(let _0x928cb2=_0x11e517;_0x928cb2<=_0x20d9ef;_0x928cb2++){const _0x51fc01=_0x5acc7c[_0x104899(0x344)](_0x2ae488,_0x928cb2);_0x2ae488===_0x37a266?_0x3c19fc[_0x104899(0x20d)](_0x51fc01==null?null:String(_0x51fc01['v'])):_0x44d029[_0x104899(0x20d)](this[_0x104899(0x167)](_0x51fc01,_0x503ea1,_0x14f659));}_0x568b67[_0x104899(0x20d)](_0x44d029);}return{'header':_0x3c19fc,'data':_0x568b67};}['toJSON'](){return super['toJSON']();}['fromJSON'](_0x30f64c){const _0x9f1751=_0x135d33;super[_0x9f1751(0x359)](_0x30f64c),this['initDataRanges']();}[_0x135d33(0x275)](){const _0x5cc960=_0x135d33;super[_0x5cc960(0x275)](),this[_0x5cc960(0x336)]={},this[_0x5cc960(0x36c)]=null;}}const Ui=_0x2dc476=>{const _0xe1e04c=_0x135d33,{targetCellInfo:_0x580e80}=_0x2dc476,{matrixCache:_0x53ffc9,rangesCache:_0x1d3b82}=Go({'filter':_0xe1e04c(0x27e),'row':_0xe1e04c(0x11d),'column':_0xe1e04c(0x240),'values':_0xe1e04c(0x22b)},_0x580e80),_0x19dfdd=new _0x2e5827();return _0x53ffc9[_0xe1e04c(0x10a)]((_0x4081d4,_0xb7a3ea,_0x1e54f1)=>{const _0x4871f7=_0xe1e04c;_0x19dfdd[_0x4871f7(0x2b5)](_0x4081d4,_0xb7a3ea,_0x1e54f1);}),{'matrix':_0x19dfdd,'rangesCache':_0x1d3b82};},ot=_0x3116e7=>{const _0x5df908=_0x135d33;let _0x218a04;if(_0x3116e7!=null&&_0x3116e7['v']||(_0x3116e7==null?void 0x0:_0x3116e7['v'])===0x0){_0x218a04||(_0x218a04={});const _0x27957a=$o(_0x3116e7['v']);typeof _0x27957a=='number'?_0x218a04['t']=_0x1c68fd[_0x5df908(0x381)]:typeof _0x27957a==_0x5df908(0x388)&&(_0x218a04['t']=_0x1c68fd[_0x5df908(0x394)]),_0x218a04['v']=_0x27957a;}return _0x218a04;},Ni=(_0x142138,_0xffe0f7,_0x2fd416)=>{const _0x6bbf14=_0x135d33;var _0x5aba8e,_0x1e0996,_0x4a686e,_0x391945,_0x6e4d72,_0x3c0197,_0x108fff,_0x1a6d25,_0x568922,_0x2ec7b1,_0xaad08b,_0x24b477;const {cornerView:_0x46988f,rowView:_0x429a2e,colView:_0x486ca8,dataView:_0x22809c,pageView:_0x522d5b,formatMap:_0x46e46b}=_0x142138,{row:_0x148990,col:_0x5356de}=_0xffe0f7,_0x4bd26c=new _0x2e5827();let _0xddb10b=_0x148990,_0x204976=_0x5356de;Object['keys'](_0x522d5b[_0x6bbf14(0x12c)])[_0x6bbf14(0x314)](_0x416827=>{const _0xbd6c88=_0x6bbf14;Object[_0xbd6c88(0x346)](_0x522d5b[_0xbd6c88(0x12c)][Number(_0x416827)])[_0xbd6c88(0x314)](_0x2b695c=>{const _0x209601=_0xbd6c88,_0x368087={..._0x522d5b[_0x209601(0x12c)][Number(_0x416827)][Number(_0x2b695c)]};_0x4bd26c[_0x209601(0x2b5)](Number(_0x416827)+_0xddb10b,Number(_0x2b695c)+_0x204976,ot(_0x368087));});});const _0x27edcc=Object[_0x6bbf14(0x346)](_0x522d5b[_0x6bbf14(0x12c)])[_0x6bbf14(0x312)];_0xddb10b+=_0x27edcc+(_0x27edcc?It:0x0);const _0x46a296=_0x46988f[_0x6bbf14(0x2ea)](),_0x2ebad9=_0x46988f[_0x6bbf14(0x11b)]();for(let _0x5a2dc1=0x0;_0x5a2dc1<_0x46a296;_0x5a2dc1++)for(let _0x47a23a=0x0;_0x47a23a<_0x2ebad9;_0x47a23a++){const _0x331266={...(_0x1e0996=(_0x5aba8e=_0x46988f[_0x6bbf14(0x12c)])==null?void 0x0:_0x5aba8e[_0x5a2dc1])==null?void 0x0:_0x1e0996[_0x47a23a]};_0x331266&&((_0x4a686e=_0x429a2e[_0x6bbf14(0x23c)][_0x47a23a])!=null&&_0x4a686e[_0x6bbf14(0x23a)])&&_0x47a23a===_0x2ebad9-0x1&&_0x5a2dc1===_0x46a296-0x1&&(_0x331266['v']=''+_0x2fd416[_0x6bbf14(0x1cd)]),_0x4bd26c[_0x6bbf14(0x2b5)](_0x5a2dc1+_0xddb10b,_0x47a23a+_0x204976,ot(_0x331266));}_0x204976+=_0x2ebad9;const _0x2b617c=_0x486ca8['headerMap'],_0x34a2a8=_0x486ca8['getLastRow']()>=0x0?_0x486ca8['getLastRow']()+0x1:0x0,_0x1824ac=_0x486ca8[_0x6bbf14(0x325)]()>=0x0?_0x486ca8[_0x6bbf14(0x325)]()+0x1:0x0;for(let _0x157dc4=0x0;_0x157dc4<_0x1824ac;_0x157dc4++)for(let _0x2ecf82=0x0;_0x2ecf82<_0x34a2a8;_0x2ecf82++){const _0x5a67c7={...(_0x6e4d72=(_0x391945=_0x486ca8[_0x6bbf14(0x12c)])==null?void 0x0:_0x391945[_0x157dc4])==null?void 0x0:_0x6e4d72[_0x2ecf82]},_0x196697=(_0x3c0197=_0x2b617c[_0x157dc4])==null?void 0x0:_0x3c0197[_0x6bbf14(0x154)],_0x13d019=_0x46e46b[_0x196697];_0x5a67c7&&(_0x5a67c7['v']=ht(_0x5a67c7,_0x157dc4===0x0&&((_0x108fff=_0x486ca8[_0x6bbf14(0x211)](_0x2ecf82+0x1))==null?void 0x0:_0x108fff[_0x6bbf14(0x23a)]),_0x13d019,_0x2fd416)),_0x4bd26c[_0x6bbf14(0x2b5)](_0x157dc4+_0xddb10b,_0x2ecf82+_0x204976,ot(_0x5a67c7));}_0xddb10b+=_0x46a296;const _0x202905=_0x429a2e['headerMap'],_0x57c509=_0x429a2e['getLastRow']()>=0x0?_0x429a2e[_0x6bbf14(0x21e)]()+0x1:0x0,_0x5c248e=_0x429a2e['getLastCol']()>=0x0?_0x429a2e[_0x6bbf14(0x325)]()+0x1:0x0;for(let _0x5830f6=0x0;_0x5830f6<_0x57c509;_0x5830f6++)for(let _0x19d2bd=0x0;_0x19d2bd<_0x5c248e;_0x19d2bd++){const _0x2406ca={...(_0x568922=(_0x1a6d25=_0x429a2e[_0x6bbf14(0x12c)])==null?void 0x0:_0x1a6d25[_0x5830f6])==null?void 0x0:_0x568922[_0x19d2bd]},_0xfc2927=(_0x2ec7b1=_0x202905[_0x19d2bd])==null?void 0x0:_0x2ec7b1[_0x6bbf14(0x154)],_0x1258bb=_0x46e46b[_0xfc2927];_0x2406ca&&(_0x2406ca['v']=ht(_0x2406ca,!0x1,_0x1258bb,_0x2fd416)),_0x4bd26c['setValue'](_0x5830f6+_0xddb10b,_0x19d2bd+_0x5356de,ot(_0x2406ca));}const _0x4eb2ca=_0x22809c[_0x6bbf14(0x2ea)](),_0x2b7327=_0x22809c[_0x6bbf14(0x11b)]();for(let _0x4840d7=0x0;_0x4840d7<_0x4eb2ca;_0x4840d7++)for(let _0x5afca6=0x0;_0x5afca6<_0x2b7327;_0x5afca6++){const _0x5e551d={...(_0x24b477=(_0xaad08b=_0x22809c[_0x6bbf14(0x12c)])==null?void 0x0:_0xaad08b[_0x4840d7])==null?void 0x0:_0x24b477[_0x5afca6]};_0x4bd26c['setValue'](_0x4840d7+_0xddb10b,_0x5afca6+_0x204976,ot(_0x5e551d));}return _0x4bd26c;},Vi=_0xc05f72=>{const _0x15d1a7=_0x135d33,{view:_0x1b7c40,targetCellInfo:_0x157a68,isEmpty:_0x3582a5,textInfo:_0x227622}=_0xc05f72;if(_0x3582a5)return Ui(_0xc05f72);const {pageView:_0x2ef0bd,cornerView:_0x38ca7f,rowView:_0x453e2b,colView:_0x5e4400,dataView:_0xfdb45a}=_0x1b7c40,_0x139ea6=ge(_0x157a68,_0x2ef0bd,!0x0),_0x2b21b4=_0x2ef0bd[_0x15d1a7(0x2d1)]>=0x0?_0x2ef0bd[_0x15d1a7(0x2d1)]+0x1:0x0,_0x44631b=_0x38ca7f[_0x15d1a7(0x2ea)](),_0x650c39=_0x38ca7f[_0x15d1a7(0x11b)](),_0x3392a1=_0x139ea6['length']>0x0?It:0x0,_0x2708ea=ge({'row':_0x157a68[_0x15d1a7(0x351)]+_0x2b21b4+_0x3392a1,'col':_0x157a68[_0x15d1a7(0x125)]},_0x38ca7f,!0x1,!0x1),_0x57a41e=ge({'row':_0x157a68[_0x15d1a7(0x351)]+_0x2b21b4+_0x3392a1+_0x44631b,'col':_0x157a68[_0x15d1a7(0x125)]},_0x453e2b,!0x1,!0x0),_0x4ac95e=ge({'row':_0x157a68['row']+_0x2b21b4+_0x3392a1,'col':_0x157a68[_0x15d1a7(0x125)]+_0x650c39},_0x5e4400,!0x1,!0x0),_0x2dcba6=ge({'row':_0x157a68[_0x15d1a7(0x351)]+_0x2b21b4+_0x3392a1+_0x44631b,'col':_0x157a68[_0x15d1a7(0x125)]+_0x650c39},_0xfdb45a,!0x1,!0x1),_0x31189d={'rowRanges':_0x57a41e,'colRanges':_0x4ac95e,'cornerRanges':_0x2708ea,'dataRanges':_0x2dcba6,'pageRanges':_0x139ea6};return{'matrix':Ni(_0x1b7c40,_0x157a68,_0x227622),'rangesCache':_0x31189d};};var xi=Object[_0x135d33(0x293)],Ei=(_0x5a5325,_0x347e87,_0x2caab1,_0x7efaab)=>{const _0x34d53c=_0x135d33;for(var _0x1ce239=_0x7efaab>0x1?void 0x0:_0x7efaab?xi(_0x347e87,_0x2caab1):_0x347e87,_0xe94756=_0x5a5325[_0x34d53c(0x312)]-0x1,_0x1c9906;_0xe94756>=0x0;_0xe94756--)(_0x1c9906=_0x5a5325[_0xe94756])&&(_0x1ce239=_0x1c9906(_0x1ce239)||_0x1ce239);return _0x1ce239;},nt=(_0x4bcf9c,_0x2ab91e)=>(_0x1dbaba,_0x5a4b64)=>_0x2ab91e(_0x1dbaba,_0x5a4b64,_0x4bcf9c);let $=class extends _0x2af600{constructor(_0x3d8957,_0x25fdec,_0x1de77f,_0x575303,_0x4a8662){const _0x3eb516=_0x135d33;super(),N(this,_0x3eb516(0x33b),new Map()),N(this,'_pivotTableInstanceCache',new Map()),N(this,_0x3eb516(0x1ea),new Map()),N(this,_0x3eb516(0x1fc)),N(this,'_collectionChange$',new _0x4505fb()),N(this,_0x3eb516(0x16c),this[_0x3eb516(0x2f0)][_0x3eb516(0x146)]()),N(this,_0x3eb516(0x2ab),new _0x4505fb()),N(this,_0x3eb516(0x21d),this[_0x3eb516(0x2ab)][_0x3eb516(0x146)]()),N(this,_0x3eb516(0x1af),new _0x4505fb()),N(this,_0x3eb516(0x16b),this[_0x3eb516(0x1af)][_0x3eb516(0x146)]()),N(this,_0x3eb516(0x12d),new Map()),N(this,_0x3eb516(0x377),[]),N(this,'_queryingMap',new Map()),(this['_injector']=_0x3d8957,this['_univerInstanceService']=_0x25fdec,this[_0x3eb516(0x2c4)]=_0x1de77f,this[_0x3eb516(0x26d)]=_0x575303,this[_0x3eb516(0x130)]=_0x4a8662,this[_0x3eb516(0x193)]());}[_0x135d33(0x30a)](){const _0x565c3d=_0x135d33;return this[_0x565c3d(0x1fc)]?this[_0x565c3d(0x1fc)]:yi;}[_0x135d33(0x389)](_0x296044){const _0x519a21=_0x135d33;this[_0x519a21(0x1fc)]=_0x296044;}[_0x135d33(0x38a)](_0x4a4ebb){const _0x64ced6=_0x135d33;var _0x1d7da8;const {from:_0x11ac9e,to:_0x1f4106,unitId:_0x27a098,fromRange:_0x3fc21e,toRange:_0x4e2389}=_0x4a4ebb;if(_0x11ac9e&&_0x1f4106){const _0x25d2a1=this[_0x64ced6(0x1a3)](_0x27a098),_0x55c3ed=this[_0x64ced6(0x33b)][_0x64ced6(0x13c)](_0x27a098),_0x5de3dd=(_0x1d7da8=this[_0x64ced6(0x300)]['getUnit'](_0x27a098))==null?void 0x0:_0x1d7da8['getSheetBySheetId'](_0x1f4106[_0x64ced6(0x1d3)]);if(!_0x55c3ed||!_0x5de3dd)return;const _0x1882c1=_0x5de3dd==null?void 0x0:_0x5de3dd[_0x64ced6(0x265)]();for(const [_0x381adb,_0x3d5c75]of _0x55c3ed[_0x64ced6(0x17e)]())for(const [_0x4116cc,_0xb59f59]of _0x3d5c75[_0x64ced6(0x17e)]()){const {sourceRangeInfo:_0xcb64f3}=_0xb59f59;if(_0xcb64f3[_0x64ced6(0x1bd)]===_0x27a098&&_0xcb64f3['subUnitId']===_0x11ac9e['subUnitId']&&_0x19fa73[_0x64ced6(0x2b9)](_0x3fc21e,_0xcb64f3[_0x64ced6(0x313)])){const _0x1271b7={'row':_0xcb64f3[_0x64ced6(0x313)][_0x64ced6(0x376)]-_0x3fc21e[_0x64ced6(0x376)],'col':_0xcb64f3[_0x64ced6(0x313)][_0x64ced6(0x348)]-_0x3fc21e['startColumn']},_0x4071a3={'unitId':_0x27a098,'subUnitId':_0x1f4106[_0x64ced6(0x1d3)],'sheetName':_0x1882c1,'range':{'startRow':_0x4e2389[_0x64ced6(0x376)]+_0x1271b7[_0x64ced6(0x351)],'endRow':_0x4e2389[_0x64ced6(0x376)]+_0x1271b7['row']+_0xcb64f3[_0x64ced6(0x313)][_0x64ced6(0x196)]-_0xcb64f3[_0x64ced6(0x313)][_0x64ced6(0x376)],'startColumn':_0x4e2389[_0x64ced6(0x348)]+_0x1271b7[_0x64ced6(0x125)],'endColumn':_0x4e2389[_0x64ced6(0x348)]+_0x1271b7[_0x64ced6(0x125)]+_0xcb64f3[_0x64ced6(0x313)][_0x64ced6(0x1c4)]-_0xcb64f3[_0x64ced6(0x313)][_0x64ced6(0x348)]}};_0x25d2a1[_0x64ced6(0x38a)](_0x4116cc,_0x4071a3);const _0x3e30cd={..._0xb59f59,'sourceRangeInfo':_0x4071a3};this[_0x64ced6(0x19a)](_0x27a098,_0x1f4106['subUnitId'],_0x4116cc,_0x3e30cd),this[_0x64ced6(0x1be)]({'unitId':_0x27a098,'token':_0x4116cc,'type':Be[_0x64ced6(0x326)],'oldSourceRangeInfo':_0xcb64f3,'dataRangeInfo':_0x4071a3,'targetCellInfo':_0xb59f59[_0x64ced6(0x12e)]}),this['updateConfig']({'unitId':_0x27a098,'subUnitId':_0x1f4106[_0x64ced6(0x1d3)],'oldSubUnitId':_0x381adb,'pivotTableId':_0x4116cc,'pivotTableConfig':_0x3e30cd,'collectionConfig':_0x25d2a1[_0x64ced6(0x323)]()});}}}}[_0x135d33(0x1be)](_0x4a1c73){const _0x40725c=_0x135d33;this[_0x40725c(0x2f0)][_0x40725c(0x369)](_0x4a1c73);}[_0x135d33(0x1a3)](_0x59e2d3){const _0x340aaa=_0x135d33;let _0x40c73e=this[_0x340aaa(0x12d)]['get'](_0x59e2d3);return _0x40c73e||(_0x40c73e=new Di(this,this['_univerInstanceService']),this[_0x340aaa(0x12d)]['set'](_0x59e2d3,_0x40c73e)),_0x40c73e;}[_0x135d33(0x254)](_0x251883,_0x4e065d){const _0x5a0a15=_0x135d33;return this['getDataFieldManager'](_0x251883)[_0x5a0a15(0x383)][_0x4e065d];}[_0x135d33(0x1a1)](_0x35fca3,_0x155797,_0x1ea91d){const _0x47c4c1=_0x135d33;return this[_0x47c4c1(0x1a3)](_0x35fca3)[_0x47c4c1(0x1a1)](_0x155797,_0x1ea91d);}[_0x135d33(0x222)](_0x4c0cab,_0x1c1c58){const _0x125b96=_0x135d33;let _0x371063=this[_0x125b96(0x33b)]['get'](_0x4c0cab);_0x371063||(_0x371063=new Map(),this['_model'][_0x125b96(0x14a)](_0x4c0cab,_0x371063));let _0x349b9c=_0x371063['get'](_0x1c1c58);return _0x349b9c||(_0x349b9c=new Map(),_0x371063[_0x125b96(0x14a)](_0x1c1c58,_0x349b9c)),_0x349b9c;}[_0x135d33(0x19a)](_0x8111d5,_0x36d4cc,_0x147a9d,_0x1c394f){const _0x370e07=_0x135d33;this[_0x370e07(0x222)](_0x8111d5,_0x36d4cc)[_0x370e07(0x14a)](_0x147a9d,_0x1c394f);}[_0x135d33(0x27d)](_0x56d53d,_0xe99d28,_0xf2bd7b){const _0x1a2742=_0x135d33;var _0x12871c,_0x6d7b7b,_0xa4e502,_0x55201b;((_0x6d7b7b=(_0x12871c=this[_0x1a2742(0x33b)][_0x1a2742(0x13c)](_0x56d53d))==null?void 0x0:_0x12871c[_0x1a2742(0x13c)](_0xe99d28))==null?void 0x0:_0x6d7b7b[_0x1a2742(0x13c)](_0xf2bd7b))&&((_0x55201b=(_0xa4e502=this[_0x1a2742(0x33b)][_0x1a2742(0x13c)](_0x56d53d))==null?void 0x0:_0xa4e502[_0x1a2742(0x13c)](_0xe99d28))==null||_0x55201b[_0x1a2742(0x260)](_0xf2bd7b));}[_0x135d33(0x2ca)](_0x3ba3a1,_0x4bcf8e){const _0x419097=_0x135d33;this['_pivotTableInstanceCache'][_0x419097(0x14a)](_0x3ba3a1,_0x4bcf8e);}[_0x135d33(0x25f)](_0x578a5d){const _0x4fb2db=_0x135d33;this[_0x4fb2db(0x281)]['delete'](_0x578a5d);}[_0x135d33(0x1da)](_0x1a67e8,_0x5c5a34){const _0x5ecea5=_0x135d33;let _0x3700ce=this[_0x5ecea5(0x1ea)][_0x5ecea5(0x13c)](_0x1a67e8);_0x3700ce||(_0x3700ce=new Map(),this[_0x5ecea5(0x1ea)][_0x5ecea5(0x14a)](_0x1a67e8,_0x3700ce));let _0x2abc02=_0x3700ce['get'](_0x5c5a34);return _0x2abc02||(_0x2abc02=new Map(),_0x3700ce[_0x5ecea5(0x14a)](_0x5c5a34,_0x2abc02)),_0x2abc02;}[_0x135d33(0x324)](_0x35b716){const _0x5cdd37=_0x135d33,{unitId:_0x339eb4,subUnitId:_0x3afc0d,pivotTableId:_0x157626,pivotTableConfig:_0x55745f,collectionConfig:_0x26990c}=_0x35b716,_0x4765e1={'unitId':_0x339eb4,'subUnitId':_0x3afc0d,'oldSubUnitId':_0x3afc0d,'pivotTableId':_0x157626,'pivotTableConfig':_0x55745f,'collectionConfig':_0x26990c};this[_0x5cdd37(0x26d)][_0x5cdd37(0x1f0)](co['id'],_0x4765e1,{'onlyLocal':!0x0});}['updateView'](_0x5ae199,_0x143a4e,_0x53e445,_0x434b02,_0x530334,_0x5a4879,_0x120e55,_0x25925a=!0x1){const _0x15bb60=_0x135d33;var _0x10faae;this[_0x15bb60(0x26d)][_0x15bb60(0x1f0)](Dt['id'],{'single':{'unitId':_0x5ae199,'subUnitId':_0x143a4e,'type':_0x53e445,'pivotTableId':_0x434b02,'view':_0x530334,'pivotConfig':_0x5a4879},'collectionConfig':{[_0x5ae199]:_0x120e55}},{'onlyLocal':!0x0});const _0x47f8c5=!!((_0x10faae=this[_0x15bb60(0x1ff)](_0x434b02))!=null&&_0x10faae[_0x15bb60(0x2a9)]()),_0x3dbe78=this['getPivotTableConfig'](_0x5ae199,_0x143a4e,_0x434b02);_0x3dbe78&&this[_0x15bb60(0x38c)]({'view':_0x530334,'pivotTableId':_0x434b02,'textInfo':this['getTextInfo'](),'isEmpty':_0x47f8c5,'targetCellInfo':_0x3dbe78[_0x15bb60(0x12e)]},_0x25925a);}[_0x135d33(0x38c)](_0x42cfbc,_0x519e4c){const _0x44a060=_0x135d33,{targetCellInfo:_0x4f3524,pivotTableId:_0x2cb56d}=_0x42cfbc,{unitId:_0x25157d,subUnitId:_0x38f35b}=_0x4f3524,_0x46f527=this[_0x44a060(0x1da)](_0x25157d,_0x38f35b),_0x1bcd28=_0x46f527[_0x44a060(0x13c)](_0x2cb56d);let _0x38cbb7,_0x1a508e;_0x1bcd28&&(_0x38cbb7=_0x1bcd28[_0x44a060(0x10b)],_0x1a508e=_0x1bcd28['matrix']);const {rangesCache:_0x40346a,matrix:_0x308d72}=Vi(_0x42cfbc);_0x46f527[_0x44a060(0x14a)](_0x2cb56d,{'rangeCache':_0x40346a,'matrix':_0x308d72,'oldMatrix':_0x1a508e,'oldRangeCache':_0x38cbb7}),_0x519e4c||this[_0x44a060(0x2ab)][_0x44a060(0x369)]({'unitId':_0x25157d,'subUnitId':_0x38f35b,'pivotTableId':_0x2cb56d});}[_0x135d33(0x277)](_0x2504c9,_0x18cbf8,_0x50a190,_0x338911,_0x25f881){const _0x22f2e6=_0x135d33;this[_0x22f2e6(0x19a)](_0x2504c9,_0x18cbf8,_0x50a190,_0x25f881),this[_0x22f2e6(0x2ca)](_0x50a190,_0x338911);}[_0x135d33(0x37a)](_0x19d090,_0x113d38,_0x21524e){const _0x1a92af=_0x135d33,_0x102826=this['getDataFieldManager'](_0x19d090);_0x102826[_0x1a92af(0x14b)](_0x21524e)[_0x1a92af(0x314)](_0x1cc50f=>{const _0x120802=_0x1a92af;_0x102826[_0x120802(0x1fb)](_0x1cc50f);}),this['removeCollections'](_0x19d090,_0x21524e),this[_0x1a92af(0x27d)](_0x19d090,_0x113d38,_0x21524e),this[_0x1a92af(0x25f)](_0x21524e);}[_0x135d33(0x173)](_0x343a6c,_0x4ef6f0,_0x142499,_0x5edb54){this['_updateModelCache'](_0x343a6c,_0x4ef6f0,_0x142499,_0x5edb54);}[_0x135d33(0x1c8)](_0x14da07,_0x36e098,_0x225bbc){const _0x453950=_0x135d33;var _0x2923a6,_0xa45e9b;const _0x1f5a3a=(_0xa45e9b=(_0x2923a6=this[_0x453950(0x33b)][_0x453950(0x13c)](_0x14da07))==null?void 0x0:_0x2923a6[_0x453950(0x13c)](_0x36e098))==null?void 0x0:_0xa45e9b[_0x453950(0x13c)](_0x225bbc);if(_0x1f5a3a)return _0x1f5a3a;}['getPivotTableModelConfig'](_0x491cd1,_0x194f82,_0xa738c7){const _0x370442=_0x135d33;var _0x295ff1,_0xe9f4db;const _0x28e5e2=(_0xe9f4db=(_0x295ff1=this[_0x370442(0x33b)][_0x370442(0x13c)](_0x491cd1))==null?void 0x0:_0x295ff1[_0x370442(0x13c)](_0x194f82))==null?void 0x0:_0xe9f4db[_0x370442(0x13c)](_0xa738c7);if(_0x28e5e2)return _0x28e5e2[_0x370442(0x2d3)];}[_0x135d33(0x1ff)](_0x1d1098){const _0x1bd132=_0x135d33;return this[_0x1bd132(0x281)]['get'](_0x1d1098);}[_0x135d33(0x1a0)](_0x387fe2){const _0x24f964=_0x135d33;this['_model']['delete'](_0x387fe2);const _0x45b741=this['_dataFieldManagerCollection'][_0x24f964(0x13c)](_0x387fe2);_0x45b741&&(_0x45b741['dispose'](),this[_0x24f964(0x12d)][_0x24f964(0x260)](_0x387fe2)),this[_0x24f964(0x1ea)]['delete'](_0x387fe2),this[_0x24f964(0x377)][_0x24f964(0x314)](_0x20eafc=>{const _0x1aa7d0=_0x24f964;_0x20eafc[_0x1aa7d0(0x1a0)](_0x387fe2);});}[_0x135d33(0x302)](_0x49a238,_0x595406,_0x5c9ada,_0x338c20){const _0x1fe3b9=_0x135d33;return this[_0x1fe3b9(0x1a3)](_0x5c9ada[_0x1fe3b9(0x1bd)])[_0x1fe3b9(0x302)](_0x49a238,_0x595406,_0x5c9ada,_0x338c20);}[_0x135d33(0x1f1)](_0x54f6e4){const _0x59d5e5=_0x135d33;return this[_0x59d5e5(0x1a3)](_0x54f6e4[_0x59d5e5(0x1bd)])['createCollectionWithDataRange'](_0x54f6e4);}['refreshData'](_0x3d8b92,_0x4d5eab,_0x4d5543){const _0x408569=_0x135d33;this[_0x408569(0x1a3)](_0x4d5543[_0x408569(0x1bd)])['refreshData'](_0x3d8b92,_0x4d5eab,_0x4d5543);}[_0x135d33(0x12a)](_0x26b56d,_0x3fe5e0){const _0x422810=_0x135d33;this['getDataFieldManager'](_0x26b56d)[_0x422810(0x1fb)](_0x3fe5e0);}[_0x135d33(0x1d9)](_0x1faf3a,_0x277035){const _0x23b13b=_0x135d33;this[_0x23b13b(0x1a3)](_0x1faf3a)['removeCollectionImp'](_0x277035);}[_0x135d33(0x1b2)](_0x1e33db,_0x13351d){const _0x205bf4=_0x135d33;var _0x21b9fe;return(_0x21b9fe=this['_model'][_0x205bf4(0x13c)](_0x1e33db))==null?void 0x0:_0x21b9fe[_0x205bf4(0x13c)](_0x13351d);}[_0x135d33(0x112)](_0x288366){const _0x3cdf1d=_0x135d33;for(const [_0xcbabb3,_0x51bcd7]of this['_model'][_0x3cdf1d(0x17e)]())for(const [_0x329964,_0x4145d9]of _0x51bcd7[_0x3cdf1d(0x17e)]())if(_0x4145d9[_0x3cdf1d(0x161)](_0x288366))return{'unitId':_0xcbabb3,'subUnitId':_0x329964};return null;}['sideEffectUpdateWorkerCache'](_0x3a8015,_0x40b192,_0x534cde,_0x31898d){const _0x33a5c4=_0x135d33,_0x1d6628=this[_0x33a5c4(0x1da)](_0x3a8015,_0x40b192);_0x31898d?_0x1d6628[_0x33a5c4(0x14a)](_0x534cde,_0x31898d):_0x1d6628[_0x33a5c4(0x260)](_0x534cde),this[_0x33a5c4(0x2ab)][_0x33a5c4(0x369)]({'unitId':_0x3a8015,'subUnitId':_0x40b192,'pivotTableId':_0x534cde});}['dispose'](){const _0x20fc9d=_0x135d33;super[_0x20fc9d(0x275)]();}[_0x135d33(0x362)](_0x4a66d5,_0xebe0a0,_0x461599){const _0x123856=_0x135d33;var _0x4cfd79,_0x49d0c2;const _0x1b73c4=(_0x49d0c2=(_0x4cfd79=this[_0x123856(0x1ea)][_0x123856(0x13c)](_0x4a66d5))==null?void 0x0:_0x4cfd79[_0x123856(0x13c)](_0xebe0a0))==null?void 0x0:_0x49d0c2['get'](_0x461599);return _0x1b73c4||null;}['addDirtyPivotTable'](_0x3a8ad3){const _0x4cd8e2=_0x135d33;this[_0x4cd8e2(0x153)](_0x3a8ad3);}['updateDirtyPivotTable'](_0x498ff2){const _0x3a8ec6=_0x135d33,{token:_0x4529f2,unitId:_0x35d6c4,subUnitId:_0x41a9cf}=_0x498ff2,_0x1d7c88=_0x35d6c4+'-'+_0x41a9cf+'-'+_0x4529f2;this['_queryingMap'][_0x3a8ec6(0x13c)](_0x1d7c88)&&clearTimeout(this[_0x3a8ec6(0x2b6)][_0x3a8ec6(0x13c)](_0x1d7c88));const _0x81bab5=setTimeout(()=>{const _0x1d94cd=_0x3a8ec6;this[_0x1d94cd(0x380)](_0x498ff2),this[_0x1d94cd(0x2b6)][_0x1d94cd(0x260)](_0x1d7c88);},Mi);this[_0x3a8ec6(0x2b6)][_0x3a8ec6(0x14a)](_0x1d7c88,_0x81bab5);}[_0x135d33(0x380)](_0x3e697e){const _0x2a11e6=_0x135d33,{unitId:_0x802a82,subUnitId:_0x61b67,token:_0xedc875,type:_0x20ca7f,pivotConfig:_0x461043}=_0x3e697e,_0x15ef81=this[_0x2a11e6(0x1ff)](_0xedc875),_0x4b28d6=_0x15ef81==null?void 0x0:_0x15ef81[_0x2a11e6(0x1e2)](),_0x5c8c21=_0x461043!=null?_0x461043:this[_0x2a11e6(0x1c8)](_0x802a82,_0x61b67,_0xedc875);_0x5c8c21&&(_0x5c8c21[_0x2a11e6(0x2a9)]=!!(_0x15ef81!=null&&_0x15ef81['isEmpty']())),(_0x4b28d6||_0x20ca7f===q[_0x2a11e6(0x274)])&&this[_0x2a11e6(0x2f3)](_0x802a82,_0x61b67,_0x20ca7f,_0xedc875,_0x4b28d6,_0x5c8c21,this[_0x2a11e6(0x1a3)](_0x802a82)[_0x2a11e6(0x323)]());}[_0x135d33(0x323)](_0x2bf8fd){const _0x1229a1=_0x135d33,_0x26df0c={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x1229a1(0x1a3)](_0x2bf8fd)&&(_0x26df0c[_0x1229a1(0x142)][_0x2bf8fd]=this[_0x1229a1(0x1a3)](_0x2bf8fd)['toJSON']()),this[_0x1229a1(0x33b)]['get'](_0x2bf8fd)){_0x26df0c['pivotTableConfigs'][_0x2bf8fd]={};const _0x5d8144=this[_0x1229a1(0x33b)][_0x1229a1(0x13c)](_0x2bf8fd);_0x5d8144!=null&&_0x5d8144[_0x1229a1(0x1b6)]&&[..._0x5d8144[_0x1229a1(0x346)]()][_0x1229a1(0x314)](_0xf08c0=>{const _0x216503=_0x1229a1,_0x64dd2a=_0x5d8144[_0x216503(0x13c)](_0xf08c0);_0x64dd2a!=null&&_0x64dd2a[_0x216503(0x1b6)]&&(_0x26df0c[_0x216503(0x23b)][_0x2bf8fd][_0xf08c0]={},[..._0x64dd2a[_0x216503(0x346)]()]['forEach'](_0x2e2f8f=>{const _0x3a8c38=_0x216503,_0xb48615=_0x64dd2a[_0x3a8c38(0x13c)](_0x2e2f8f);_0xb48615&&(_0x26df0c[_0x3a8c38(0x23b)][_0x2bf8fd][_0xf08c0][_0x2e2f8f]=_0xb48615);}));});}return _0x26df0c;}[_0x135d33(0x359)](_0xb3274){const _0x37d6fe=_0x135d33;var _0x1be29d;const {dataFieldManagerConfig:_0xa485b9,pivotTableConfigs:_0x3e9706}=_0xb3274;_0xa485b9&&Object[_0x37d6fe(0x346)](_0xa485b9)[_0x37d6fe(0x314)](_0x3b885a=>{const _0x37825c=_0x37d6fe;this[_0x37825c(0x1a3)](_0x3b885a)[_0x37825c(0x359)](_0xa485b9[_0x3b885a]);});const _0x666ad=[];if(_0x3e9706){const _0x3bdd1d=(_0x1be29d=this[_0x37d6fe(0x15a)][_0x37d6fe(0x13c)](_0x3eb233)[_0x37d6fe(0x1d8)](_0x57fa77))!=null?_0x1be29d:{},{ls:_0x589fd0,pbk:_0x4cb79c}=_0x3bdd1d,_0x1985a0=go(so,_0x589fd0,_0x4cb79c)['count'];Object[_0x37d6fe(0x346)](_0x3e9706)[_0x37d6fe(0x314)](_0x4cdbbd=>{const _0x19772f=_0x37d6fe;let _0x2dec05=0x0;const _0x173ce6=_0x3e9706[_0x4cdbbd];Object[_0x19772f(0x346)](_0x173ce6)[_0x19772f(0x314)](_0x81456e=>{const _0x5e5cbc=_0x19772f,_0x305228=_0x173ce6[_0x81456e];Object[_0x5e5cbc(0x346)](_0x305228)[_0x5e5cbc(0x314)](_0x12ae33=>{const _0x5864a5=_0x5e5cbc,_0x30a12b=_0x305228[_0x12ae33];if(_0x30a12b){if(_0x2dec05>=_0x1985a0)return;_0x2dec05++;const _0x437592=this[_0x5864a5(0x1a3)](_0x4cdbbd),_0x5d6730=_0x437592[_0x5864a5(0x383)][_0x12ae33],_0xae6cb6=_0x5d6730['getFieldIds']();let _0x168824=0x0;const _0x35c627=[];for(const _0x4c55e5 of _0xae6cb6){const _0x127a12=_0x5d6730[_0x5864a5(0x368)](_0x4c55e5);if(_0x13c25c(_0x127a12)){const _0x5ac934=_0x127a12[_0x5864a5(0x2bf)](),_0x7a12b5=_0x5d6730['getFieldById'](_0x5ac934);_0x7a12b5&&_0x35c627['push']([_0x127a12,_0x7a12b5]);continue;}_0x437592[_0x5864a5(0x31f)](_0x4c55e5,_0x30a12b[_0x5864a5(0x12b)],_0x168824),_0x168824++;}_0x35c627[_0x5864a5(0x314)](([_0x2d5eb5,_0x24c778])=>{const _0x56c79f=_0x5864a5;_0x2d5eb5[_0x56c79f(0x1e9)](_0x24c778);});const _0xe284ad=new _0x409598(_0x5d6730);_0xe284ad[_0x5864a5(0x359)](_0x30a12b[_0x5864a5(0x2d3)]),this[_0x5864a5(0x277)](_0x4cdbbd,_0x81456e,_0x12ae33,_0xe284ad,_0x30a12b);const _0x3d4919=_0xe284ad[_0x5864a5(0x1e2)]();_0x666ad[_0x5864a5(0x20d)]({'unitId':_0x4cdbbd,'subUnitId':_0x81456e,'pivotTableId':_0x12ae33,'view':_0x3d4919['toJSON'](),'pivotConfig':_0x30a12b,'type':q[_0x5864a5(0x19b)]});const _0x4b8763=!!_0xe284ad['isEmpty'](),_0x207529={'view':_0x3d4919,'pivotTableId':_0x12ae33,'textInfo':this[_0x5864a5(0x30a)](),'isEmpty':_0x4b8763,'targetCellInfo':_0x30a12b[_0x5864a5(0x12e)]};this[_0x5864a5(0x38c)](_0x207529,!0x1);}});});});}_0xa485b9&&Object[_0x37d6fe(0x346)](_0xa485b9)[_0x37d6fe(0x314)](_0x5582dc=>{const _0x6ed560=_0x37d6fe,_0x21ab4d=this[_0x6ed560(0x1a3)](_0x5582dc);this[_0x6ed560(0x1af)][_0x6ed560(0x369)](_0x21ab4d[_0x6ed560(0x383)]);}),this[_0x37d6fe(0x26d)][_0x37d6fe(0x1f0)](Dt['id'],{'batch':_0x666ad,'collectionConfig':_0xa485b9},{'onlyLocal':!0x0});}[_0x135d33(0x193)](){const _0x4e9278=_0x135d33;this[_0x4e9278(0x29f)](this[_0x4e9278(0x130)][_0x4e9278(0x342)]({'toJson':_0x32fc1c=>JSON[_0x4e9278(0x34e)](this[_0x4e9278(0x323)](_0x32fc1c)),'parseJson':_0x5acbd6=>{const _0x8abfd7=_0x4e9278;if(!_0x5acbd6)return{};try{return JSON[_0x8abfd7(0x1ad)](_0x5acbd6);}catch{return{};}},'businesses':[_0x52bb50[_0x4e9278(0x185)]],'pluginName':ao,'onLoad':(_0x18f0e6,_0x12c43f)=>{const _0x1cafd1=_0x4e9278;this[_0x1cafd1(0x359)](_0x12c43f);},'onUnLoad':_0x3be7a1=>{const _0x4077ed=_0x4e9278;this[_0x4077ed(0x1a0)](_0x3be7a1);}}));}};$=Ei([nt(0x0,_0x29b437(_0x38d56a)),nt(0x1,_0x37efd4),nt(0x2,_0x29b437(_0x52725f)),nt(0x3,_0x106ecf),nt(0x4,_0x29b437(_0x227be6))],$);const Oi={0x0:{0x0:{'v':_0x135d33(0x289),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x135d33(0x351),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Go=(_0x366f1f,_0x245c75)=>{const _0x3b34a1=_0x135d33,_0xc65979=new _0x2e5827(),_0x181b26=new _0x2e5827(Oi),{row:_0x559231,col:_0xa5a52b}=_0x245c75;_0x181b26['forValue']((_0x44af85,_0xade03e,_0x34ee80)=>{const _0x1c15e8=_0x4b11;let _0x14f539='';_0x34ee80['v']==='filter'?_0x14f539=_0x366f1f[_0x1c15e8(0x289)]:_0x34ee80['v']===_0x1c15e8(0x351)?_0x14f539=_0x366f1f[_0x1c15e8(0x351)]:_0x34ee80['v']===_0x1c15e8(0x14c)?_0x14f539=_0x366f1f[_0x1c15e8(0x14c)]:_0x34ee80['v']===_0x1c15e8(0x371)&&(_0x14f539=_0x366f1f[_0x1c15e8(0x371)]),_0xc65979[_0x1c15e8(0x2b5)](_0x44af85+_0x559231,_0xade03e+_0xa5a52b,{..._0x34ee80,'v':_0x14f539});});const _0x472659=_0x2afa90[_0x3b34a1(0x1ba)](Bt);return Object[_0x3b34a1(0x346)](Bt)[_0x3b34a1(0x314)](_0xd80474=>{const _0x26c16c=_0x3b34a1;_0x472659[_0xd80474]=Bt[_0xd80474][_0x26c16c(0x218)](_0x481f23=>({..._0x481f23,'startRow':_0x481f23[_0x26c16c(0x376)]+_0x559231,'endRow':_0x481f23[_0x26c16c(0x196)]+_0x559231,'startColumn':_0x481f23[_0x26c16c(0x348)]+_0xa5a52b,'endColumn':_0x481f23['endColumn']+_0xa5a52b}));}),{'matrixCache':_0xc65979,'rangesCache':_0x472659};};function Ai(_0x5da96a,_0x196074){const _0x4e0b94=_0x135d33;let _0x2689ad='';const _0x105691=this['getTextInfo']();switch(_0x196074){case _0xb64993[_0x4e0b94(0x308)]:_0x2689ad=_0x105691[_0x4e0b94(0x328)]+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x2ad)]:_0x2689ad=_0x105691[_0x4e0b94(0x11a)]+_0x5da96a;break;case _0xb64993['countNums']:_0x2689ad=_0x105691[_0x4e0b94(0x2be)]+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x2e1)]:_0x2689ad=_0x105691[_0x4e0b94(0x252)]+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x2fa)]:_0x2689ad=_0x105691['sheets-pivot.minName']+_0x5da96a;break;case _0xb64993['product']:_0x2689ad=_0x105691[_0x4e0b94(0x1a9)]+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x20f)]:_0x2689ad=_0x105691[_0x4e0b94(0x1e1)]+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x327)]:_0x2689ad=_0x105691[_0x4e0b94(0x36b)]+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x30f)]:_0x2689ad=_0x105691['sheets-pivot.sumName']+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x143)]:_0x2689ad=_0x105691[_0x4e0b94(0x134)]+_0x5da96a;break;case _0xb64993[_0x4e0b94(0x2d4)]:_0x2689ad=_0x105691['sheets-pivot.varpName']+_0x5da96a;break;default:_0x2689ad=_0x5da96a;break;}return _0x2689ad;}function ki(_0x22e5ac,_0x481a62,_0x26f255,_0x34fc29,_0x5aed74){const _0x56f3d4=_0x135d33;var _0x21964c,_0x255f8a,_0x564642,_0x4a2684,_0xb9072b;const _0x43515c=_0x47884e(_0x22e5ac,_0x481a62),{rangesInfo:_0x4e08ec,areaInfo:_0x101aad,headerMap:_0x3050e3}=_0x5aed74;if(!_0x4e08ec||!_0x101aad||!_0x3050e3)return;const _0x569a20=Object[_0x56f3d4(0x346)](_0x4e08ec)[_0x56f3d4(0x2e9)](_0x3272e8=>_0x4e08ec[_0x3272e8][_0x56f3d4(0x10f)](_0xa3b815=>_0x19fa73[_0x56f3d4(0x2b9)](_0xa3b815,_0x43515c))),_0x244f59=_0x101aad;let _0x5bbc00,_0x4313e5,_0xd15fe5;if(_0x569a20===_0x56f3d4(0x255))_0x5bbc00=(_0x21964c=_0x244f59==null?void 0x0:_0x244f59[_0x56f3d4(0x2f9)])==null?void 0x0:_0x21964c[_0x22e5ac],_0x4313e5=(_0x255f8a=_0x3050e3==null?void 0x0:_0x3050e3['rowHeaderMap'])==null?void 0x0:_0x255f8a[_0x481a62],_0xd15fe5=_0x4313e5==null?void 0x0:_0x4313e5['tableFieldId'];else{if(_0x569a20===_0x56f3d4(0x2fd))_0x5bbc00=(_0x564642=_0x244f59==null?void 0x0:_0x244f59[_0x56f3d4(0x2e7)])==null?void 0x0:_0x564642[_0x481a62],_0x4313e5=(_0x4a2684=_0x3050e3[_0x56f3d4(0x38e)])==null?void 0x0:_0x4a2684[_0x22e5ac+0x1+_0x481a62-_0x4e08ec[_0x56f3d4(0x2fd)][0x0][_0x56f3d4(0x348)]],_0xd15fe5=_0x4313e5==null?void 0x0:_0x4313e5[_0x56f3d4(0x154)];else{if(_0x569a20===_0x56f3d4(0x1dd))_0x5bbc00=(_0xb9072b=_0x244f59==null?void 0x0:_0x244f59[_0x56f3d4(0x269)])==null?void 0x0:_0xb9072b[_0x481a62],_0xd15fe5=_0x5bbc00==null?void 0x0:_0x5bbc00['tableFieldId'];else{if(_0x569a20===_0x56f3d4(0x370)){const _0xfd18e7=_0x26f255==null?void 0x0:_0x26f255['fi'];_0xfd18e7!==void 0x0&&(_0xd15fe5=_0x34fc29['getFilterFieldIdByIndex'](_0xfd18e7));}}}}return{'filterId':_0xd15fe5,'info':_0x5bbc00,'data':_0x26f255,'headerInfo':_0x4313e5};}function Li(_0x3caf52,_0x2d51f3,_0x1d9845){const _0x338391=_0x135d33,_0x32e6a1=_0x3caf52[_0x338391(0x256)],_0xc84616=_0x32e6a1['getFieldIds'](),_0x263059=new Set();_0x3caf52[_0x338391(0x309)](_0x43225b=>{const _0x1f81ad=_0x338391;_0x263059['add'](_0x43225b[_0x1f81ad(0x34b)]);});const _0x55a4d7=_0xc84616['map'](_0x388b67=>{const _0x533843=_0x338391,_0x4d13b9=_0x32e6a1[_0x533843(0x368)](_0x388b67);return{'checked':_0x263059[_0x533843(0x161)](_0x388b67),'dataFieldId':_0x4d13b9['id'],'id':_0x4d13b9['id'],'name':_0x32e6a1[_0x533843(0x1e3)](_0x4d13b9['id']),'type':_0x4d13b9[_0x533843(0x271)](),'pivotTableId':_0x2d51f3};}),_0x505096=[];_0x3caf52[_0x338391(0x2c2)](_0x3c5bcb[_0x338391(0x11d)],_0x4002c4=>{const _0x866002=_0x338391;_0x505096[_0x866002(0x20d)]({'dataFieldId':_0x4002c4['dataFieldId'],'tableFieldId':_0x4002c4['getId'](),'displayName':_0x4002c4[_0x866002(0x1e3)]()});});const _0x1c4f8b=[];_0x3caf52['iterateFieldByArea'](_0x3c5bcb[_0x338391(0x240)],_0x2a6930=>{const _0x494fc9=_0x338391;_0x1c4f8b[_0x494fc9(0x20d)]({'dataFieldId':_0x2a6930[_0x494fc9(0x34b)],'tableFieldId':_0x2a6930['getId'](),'displayName':_0x2a6930[_0x494fc9(0x1e3)]()});});const _0x41379c=[];if(_0x3caf52['iterateFieldByArea'](_0x3c5bcb['Value'],_0x44fe10=>{const _0x549093=_0x338391;_0x41379c['push']({'dataFieldId':_0x44fe10[_0x549093(0x34b)],'tableFieldId':_0x44fe10[_0x549093(0x2b2)](),'displayName':_0x44fe10[_0x549093(0x1e3)](),'format':_0x44fe10[_0x549093(0x150)](),'subTotalType':_0x44fe10[_0x549093(0x1cc)]()});}),_0x41379c[_0x338391(0x312)]>0x1){const _0x1d1271=_0x3caf52[_0x338391(0x235)]();(_0x3caf52[_0x338391(0x162)]()?_0x1c4f8b:_0x505096)[_0x338391(0x304)](_0x1d1271,0x0,{'dataFieldId':'','tableFieldId':_0x338391(0x1e8),'displayName':_0x338391(0x34f)});}const _0xa1d597=[];_0x3caf52[_0x338391(0x2c2)](_0x3c5bcb[_0x338391(0x27e)],_0x4d5f9d=>{const _0xd1d8e=_0x338391;_0xa1d597[_0xd1d8e(0x20d)]({'dataFieldId':_0x4d5f9d['dataFieldId'],'tableFieldId':_0x4d5f9d[_0xd1d8e(0x2b2)](),'displayName':_0x4d5f9d[_0xd1d8e(0x1e3)]()});});const _0x9e0e70=_0x1d9845['sourceRangeInfo'];return{'sourceList':_0x55a4d7,'sourceRange':_0x9e0e70,'rowFields':_0x505096,'columnFields':_0x1c4f8b,'valueFields':_0x41379c,'filterFields':_0xa1d597,'positionInfo':_0x1d9845['targetCellInfo']};}function fo(_0xc23567,_0x5572b5,_0x142041='',_0x437ae4={}){const _0x340ca6=_0x135d33,_0xc320c6=_0xc23567[_0x340ca6(0x13c)](_0x376940);for(const _0x42fdc2 in _0x5572b5)if(Object[_0x340ca6(0x32d)][_0x340ca6(0x18f)]['call'](_0x5572b5,_0x42fdc2)){const _0x1466c3=_0x142041?_0x142041+'.'+_0x42fdc2:_0x42fdc2;typeof _0x5572b5[_0x42fdc2]==_0x340ca6(0x32a)&&_0x5572b5[_0x42fdc2]!==null&&!Array[_0x340ca6(0x1eb)](_0x5572b5[_0x42fdc2])?fo(_0xc23567,_0x5572b5[_0x42fdc2],_0x1466c3,_0x437ae4):_0x437ae4[_0x1466c3]=_0xc320c6['t'](_0x1466c3);}return _0x437ae4;}const qt=_0x3842ff=>{const _0x273206=_0x135d33;if(!_0x3842ff)return[];const {rowRanges:_0xace3e5,colRanges:_0x4728a1,cornerRanges:_0x164957,dataRanges:_0x40541c,pageRanges:_0x1f581c}=_0x3842ff,_0xbcffe5=[..._0x4728a1,..._0xace3e5,..._0x40541c,..._0x164957][_0x273206(0x289)](_0x3fa8af=>_0x3fa8af[_0x273206(0x376)]>=0x0&&_0x3fa8af['startColumn']>=0x0&&_0x3fa8af[_0x273206(0x196)]>=0x0&&_0x3fa8af[_0x273206(0x1c4)]>=0x0);let _0x58a219=Number[_0x273206(0x306)],_0xb20123=Number[_0x273206(0x29d)],_0x561c23=Number[_0x273206(0x306)],_0x56e67e=Number['MIN_SAFE_INTEGER'];for(let _0x26c315=0x0;_0x26c315<_0xbcffe5[_0x273206(0x312)];_0x26c315++)_0x58a219=Math[_0x273206(0x2fa)](_0x58a219,_0xbcffe5[_0x26c315][_0x273206(0x376)]),_0xb20123=Math['max'](_0xb20123,_0xbcffe5[_0x26c315][_0x273206(0x196)]),_0x561c23=Math[_0x273206(0x2fa)](_0x561c23,_0xbcffe5[_0x26c315][_0x273206(0x348)]),_0x56e67e=Math[_0x273206(0x2e1)](_0x56e67e,_0xbcffe5[_0x26c315][_0x273206(0x1c4)]);return[..._0x1f581c,{'startRow':_0x58a219,'endRow':_0xb20123,'startColumn':_0x561c23,'endColumn':_0x56e67e}];};function Bi(_0x598864,_0x5622c5){const _0x2c3e0e=_0x135d33,_0x41cede=_0x5622c5[_0x2c3e0e(0x347)]['drillDown'],{pivotTableId:_0x543d87,unitId:_0x4d26c5,subUnitId:_0x505e1e}=_0x5622c5;if(!_0x41cede)return;const _0x200eb5=_0x598864['get']($),_0x3db31b=_0x200eb5[_0x2c3e0e(0x1ff)](_0x543d87),_0x1406b6=_0x200eb5[_0x2c3e0e(0x1c8)](_0x4d26c5,_0x505e1e,_0x543d87);if(!_0x3db31b||!_0x1406b6)return;const _0xeaf465=_0x3db31b['getIndexesByPathStr'](_0x41cede[_0x2c3e0e(0x26f)]);if(!(_0xeaf465!=null&&_0xeaf465[_0x2c3e0e(0x312)]))return;const _0x4c24d3=_0x1406b6[_0x2c3e0e(0x12b)],{unitId:_0x2f8303,subUnitId:_0x3d278c,range:_0x32f8ef}=_0x4c24d3;let _0x323e74=0x0;const _0x2429ce=_0x3db31b[_0x2c3e0e(0x256)]['getFieldIds']()[_0x2c3e0e(0x1b4)]((_0x10a129,_0x3c0d4c)=>{const _0x26fc13=_0x2c3e0e;var _0x5b3b50;const _0xe7b088=(_0x5b3b50=_0x3db31b['getDataFieldByDataFieldId'](_0x3c0d4c))==null?void 0x0:_0x5b3b50[_0x26fc13(0x1b9)]();return _0xe7b088&&(_0x10a129[String(_0x323e74)]=_0xe7b088),_0x323e74++,_0x10a129;},{});return{'indexes':_0xeaf465,'range':_0x32f8ef,'sourceUnitId':_0x2f8303,'sourceSubUnitId':_0x3d278c,'formatMap':_0x2429ce};}function jo(_0x3b8e33,_0x2903a0){const _0x3d06e8=_0x135d33;if(!_0x3b8e33||!_0x2903a0)return!0x0;const _0x4eebca=_0x41cdf6(Wo,Jo),_0x1e1623=new Function('return\x20'+_0x4eebca)()(_0x3b8e33,_0x2903a0)[_0x3d06e8(0x2fe)],_0x5d3554=_0x16863f(_0x1e1623,'sf',Lo);return!((_0x1e1623==null?void 0x0:_0x1e1623['rt'])===_0x84a3d4[_0x3d06e8(0x1b1)]&&!_0x5d3554);}function go(_0x2aae39,_0x1c8247,_0x3bd9ad){const _0x46b155=_0x135d33,_0x246b21={'count':_0x2aae39,'timeValid':!0x1};if(!_0x1c8247||!_0x3bd9ad)return _0x246b21;const _0x186c3d=_0x41cdf6(Wo,Jo),_0x4345a8=new Function('return\x20'+_0x186c3d)()(_0x1c8247,_0x3bd9ad);if(_0x4345a8!=null&&_0x4345a8[_0x46b155(0x295)]){const _0x1f765d=_0x4345a8['message'],_0x5415fa=_0x16863f(_0x1f765d,'sf',Lo);return{'count':_0x433fdc(_0x1f765d,_0x5415fa,_0x46b155(0x17f),_0x2aae39,_0x2aae39,0x0),'timeValid':_0x5415fa};}return _0x246b21;}function Ko(_0x4f7e16,_0x5c89fb,_0x3802d3,_0x57c5e9){const _0x2cdebb=_0x135d33,_0x3f6fe6={'subUnitId':_0x3802d3,'unitId':_0x5c89fb,'cellValue':_0x123b50(_0x57c5e9)},_0x5612cf=_0x8bae68(_0x4f7e16,_0x3f6fe6);let _0x38f4f7=!0x1;return new _0x2e5827(_0x5612cf[_0x2cdebb(0x367)])[_0x2cdebb(0x10a)]((_0x564bec,_0x5baf64,_0x3dd555)=>{const _0x1377ab=_0x2cdebb;if(!_0x38f4f7&&_0x3dd555&&(_0x3dd555[_0x1377ab(0x2c0)]||_0x3dd555['f']||_0x3dd555['p']||_0x3dd555['s']||_0x3dd555['si']||_0x3dd555['t']||_0x3dd555['v']))return _0x38f4f7=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x5c6508['id'],'params':_0x5612cf},'setRangeValueRedoMutation':{'id':_0x5c6508['id'],'params':_0x3f6fe6},'shouldClear':_0x38f4f7};}function qi(_0xf42485){const {row:_0x6d0abf,col:_0x4aa6e6}=_0xf42485,_0x3b4557={'startRow':_0x6d0abf,'endRow':_0x6d0abf,'startColumn':_0x4aa6e6,'endColumn':_0x4aa6e6},_0x35d711={'startRow':_0x6d0abf+0x2,'endRow':_0x6d0abf+0xe,'startColumn':_0x4aa6e6,'endColumn':_0x4aa6e6+0x6};return[_0x3b4557,_0x35d711];}function $i(_0x3d3427,_0x254333,_0x147129){const _0x1e7eab=_0x135d33,{cornerView:_0x59eabb,rowView:_0x5b3694,colView:_0x59c3be,pageView:_0x38ff77}=_0x3d3427,{row:_0x44bbf6,col:_0x31917b}=_0x254333;if(_0x147129)return{'rowCount':bi+_0x44bbf6,'colCount':Si+_0x31917b};const _0x193413=_0x38ff77[_0x1e7eab(0x2d1)]>-0x1?_0x38ff77[_0x1e7eab(0x2d1)]+0x1:0x0,_0x3f960f=_0x38ff77[_0x1e7eab(0x27f)]>-0x1?_0x38ff77[_0x1e7eab(0x27f)]:0x0,_0x5dba1b=_0x44bbf6+_0x193413+(_0x193413?0x1:0x0)+_0x59eabb[_0x1e7eab(0x35e)]+_0x5b3694[_0x1e7eab(0x35e)],_0x3ce443=_0x31917b+_0x3f960f,_0x567fae=_0x31917b+_0x59eabb[_0x1e7eab(0x1c5)]+_0x59c3be[_0x1e7eab(0x1c5)],_0x87a56f=Math['max'](_0x3ce443,_0x567fae);return{'rowCount':_0x5dba1b,'colCount':_0x87a56f};}function we(_0x2e6f1f,_0x47964a,_0x302bef,_0x51d461){const _0x4d04e0=_0x135d33,{row:_0x2a773f,col:_0x3f42e6,unitId:_0x597cd0,subUnitId:_0x56faba}=_0x302bef,_0xc50445=$i(_0x47964a,{'row':_0x2a773f,'col':_0x3f42e6},_0x51d461),_0x15fa68=_0x2e6f1f[_0x4d04e0(0x13c)](_0x37efd4),_0x4d4b2e=_0x40b5db(_0x15fa68,{'unitId':_0x597cd0,'subUnitId':_0x56faba}),_0x5b7fe3=[],_0x45661f=[];if(!_0x4d4b2e)return{'undos':_0x45661f,'redos':_0x5b7fe3};const {worksheet:_0x5e4983}=_0x4d4b2e,_0x4d95a4=_0x5e4983[_0x4d04e0(0x2ea)](),_0x1aa56d=_0x5e4983[_0x4d04e0(0x1bf)]();return _0x4d95a4<_0xc50445[_0x4d04e0(0x35e)]&&(_0x5b7fe3[_0x4d04e0(0x20d)]({'id':_0x115591['id'],'params':{'unitId':_0x597cd0,'subUnitId':_0x56faba,'range':{'startRow':_0x4d95a4,'endRow':_0xc50445['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x1aa56d-0x1}}}),_0x45661f[_0x4d04e0(0x20d)]({'id':_0x251bcd['id'],'params':{'unitId':_0x597cd0,'subUnitId':_0x56faba,'range':{'startRow':_0x4d95a4,'endRow':_0xc50445[_0x4d04e0(0x35e)]-0x1,'startColumn':0x0,'endColumn':_0x1aa56d-0x1}}})),_0x1aa56d<_0xc50445['colCount']&&(_0x5b7fe3[_0x4d04e0(0x20d)]({'id':_0x5af115['id'],'params':{'unitId':_0x597cd0,'subUnitId':_0x56faba,'range':{'startRow':0x0,'endRow':_0x4d95a4-0x1,'startColumn':_0x1aa56d,'endColumn':_0xc50445[_0x4d04e0(0x1c5)]-0x1}}}),_0x45661f['push']({'id':_0x94ac77['id'],'params':{'unitId':_0x597cd0,'subUnitId':_0x56faba,'range':{'startRow':0x0,'endRow':_0x4d95a4-0x1,'startColumn':_0x1aa56d,'endColumn':_0xc50445[_0x4d04e0(0x1c5)]-0x1}}})),{'undos':_0x45661f,'redos':_0x5b7fe3};}function zi(_0x30d558){const _0x238a35=_0x135d33;let _0x25091b=0x0;for(let _0x1ac333=0x0;_0x1ac333<_0x30d558['length'];_0x1ac333++){const _0x4460f7=_0x30d558[_0x238a35(0x219)](_0x1ac333);_0x4460f7>=0x4e00&&_0x4460f7<=0x9fff||_0x4460f7>=0x3000&&_0x4460f7<=0x303f||_0x4460f7>=0xff00&&_0x4460f7<=0xffef?_0x25091b+=0x2:_0x25091b+=0x1;}return _0x25091b;}function To(_0x4a51ad,_0x514186,_0x5754dc,_0x1c95d0){const _0x570a76=_0x135d33;var _0x24907e,_0x29bbe9,_0x2346a6,_0x38c185;const {rowCount:_0x296450,colCount:_0xf5fe16,headerMap:_0x30970f}=_0x4a51ad,_0x4195ee=0x64,_0x3f6103=Math[_0x570a76(0x2fa)](_0x296450,_0x4195ee),_0x3193a2=Math['min'](_0xf5fe16,_0x4195ee);let _0x2e582b='',_0x27eaba=0x0;for(let _0x56961d=0x0;_0x56961d<_0x3f6103;_0x56961d++)for(let _0xa1e881=0x0;_0xa1e881<_0x3193a2;_0xa1e881++){const _0x8a808e={...(_0x29bbe9=(_0x24907e=_0x4a51ad[_0x570a76(0x12c)])==null?void 0x0:_0x24907e[_0x56961d])==null?void 0x0:_0x29bbe9[_0xa1e881]},_0x159c36=(_0x2346a6=_0x30970f[_0x56961d])==null?void 0x0:_0x2346a6[_0x570a76(0x154)],_0x3df7dc=_0x1c95d0[_0x159c36];let _0x2b5426=_0x4a51ad[_0x570a76(0x344)](_0x56961d,_0xa1e881);if(_0x8a808e){const _0x46118e=_0x5754dc?_0xa1e881===0x0&&((_0x38c185=_0x4a51ad[_0x570a76(0x211)](_0xa1e881+0x1))==null?void 0x0:_0x38c185[_0x570a76(0x23a)]):!0x1;_0x2b5426=ht(_0x8a808e,_0x46118e,_0x3df7dc,_0x514186);}if(_0x2b5426!==void 0x0){const _0x5ccf18=zi(String(_0x2b5426));_0x27eaba<_0x5ccf18&&(_0x2e582b=String(_0x2b5426),_0x27eaba=_0x5ccf18);}}return _0x2e582b;}function Ji(_0x38c2c1){const _0x256b4c=_0x135d33,{rowCount:_0x57b179,colCount:_0x44327c}=_0x38c2c1;let _0xcd527e='',_0x5efd23=0x0;for(let _0x2ff467=_0x57b179-0x1;_0x2ff467>0x0&&_0x2ff467>_0x57b179-0x3;_0x2ff467--)for(let _0x134a35=0x0;_0x134a35<_0x44327c;_0x134a35++){const _0x27d388=_0x38c2c1[_0x256b4c(0x344)](_0x2ff467,_0x134a35);if(_0x27d388!==void 0x0){const _0x9936cd=String(_0x27d388)[_0x256b4c(0x312)];_0x5efd23<_0x9936cd&&(_0xcd527e=String(_0x27d388),_0x5efd23=_0x9936cd);}}return _0xcd527e;}function Wi(_0x2a8982){const _0x3753a2=_0x135d33,{rowCount:_0x240790,colCount:_0x1cc990}=_0x2a8982;let _0x2f7144='',_0x48ed79=0x0;for(let _0x1c874e=0x0;_0x1c874e<_0x240790;_0x1c874e++)for(let _0x6fece3=0x0;_0x6fece3<_0x1cc990;_0x6fece3++){const _0x359064=_0x2a8982[_0x3753a2(0x344)](_0x1c874e,_0x6fece3);if(_0x359064!==void 0x0){const _0xfa6103=String(_0x359064)[_0x3753a2(0x312)];_0x48ed79<_0xfa6103&&(_0x2f7144=String(_0x359064),_0x48ed79=_0xfa6103);}}return _0x2f7144;}function Gi(_0x511def,_0xee7939){const _0x23bc6d=_0x135d33,{rowFields:_0x4b12b1,columnFields:_0x17c285,valueFields:_0x65038e,filterFields:_0x22fc3e,dimension:_0x424065,measure:_0x16e16b}=_0xee7939;for(const _0x26a627 of _0x4b12b1){const _0x96aa39=_0x424065[_0x26a627];_0x96aa39&&_0x511def[_0x23bc6d(0x1c7)](_0x96aa39['dataFieldId'])&&(_0x511def[_0x23bc6d(0x129)](_0x96aa39[_0x23bc6d(0x34b)],_0x3c5bcb[_0x23bc6d(0x11d)],void 0x0,_0x26a627),_0x96aa39[_0x23bc6d(0x321)]&&_0x511def[_0x23bc6d(0x198)](_0x96aa39['id'],_0x96aa39[_0x23bc6d(0x321)]),_0x96aa39['sortInfo']&&_0x511def[_0x23bc6d(0x1f2)](_0x96aa39['id'],_0x96aa39[_0x23bc6d(0x33c)]),_0x96aa39[_0x23bc6d(0x2dd)]&&_0x511def[_0x23bc6d(0x2bd)](_0x96aa39['id'],_0x96aa39[_0x23bc6d(0x2dd)]));}for(const _0x26e488 of _0x17c285){const _0x6dfeef=_0x424065[_0x26e488];_0x6dfeef&&_0x511def['getDataFieldByDataFieldId'](_0x6dfeef[_0x23bc6d(0x34b)])&&(_0x511def['addFieldWithSourceId'](_0x6dfeef[_0x23bc6d(0x34b)],_0x3c5bcb[_0x23bc6d(0x240)],void 0x0,_0x26e488),_0x6dfeef[_0x23bc6d(0x33c)]&&_0x511def[_0x23bc6d(0x1f2)](_0x6dfeef['id'],_0x6dfeef[_0x23bc6d(0x33c)]),_0x6dfeef[_0x23bc6d(0x2dd)]&&_0x511def['setLabelFilterInfo'](_0x6dfeef['id'],_0x6dfeef[_0x23bc6d(0x2dd)]),_0x6dfeef['displayName']&&_0x511def[_0x23bc6d(0x198)](_0x6dfeef['id'],_0x6dfeef[_0x23bc6d(0x321)]));}for(const _0x1b4829 of _0x22fc3e){const _0x416a5f=_0x424065[_0x1b4829];_0x416a5f&&_0x511def[_0x23bc6d(0x1c7)](_0x416a5f[_0x23bc6d(0x34b)])&&(_0x511def[_0x23bc6d(0x129)](_0x416a5f[_0x23bc6d(0x34b)],_0x3c5bcb[_0x23bc6d(0x27e)],void 0x0,_0x1b4829),_0x416a5f['sortInfo']&&_0x511def[_0x23bc6d(0x1f2)](_0x416a5f['id'],_0x416a5f[_0x23bc6d(0x33c)]),_0x416a5f['filterInfo']&&_0x511def['setLabelFilterInfo'](_0x416a5f['id'],_0x416a5f[_0x23bc6d(0x2dd)]),_0x416a5f[_0x23bc6d(0x321)]&&_0x511def[_0x23bc6d(0x198)](_0x416a5f['id'],_0x416a5f[_0x23bc6d(0x321)]));}for(const _0x36be71 of _0x65038e){const _0x7eb6ae=_0x16e16b[_0x36be71];_0x7eb6ae&&_0x511def[_0x23bc6d(0x1c7)](_0x7eb6ae['dataFieldId'])&&(_0x511def[_0x23bc6d(0x129)](_0x7eb6ae[_0x23bc6d(0x34b)],_0x3c5bcb[_0x23bc6d(0x298)],void 0x0,_0x36be71),_0x7eb6ae['subtotal']!==void 0x0&&_0x511def[_0x23bc6d(0x15c)](_0x36be71,_0x7eb6ae[_0x23bc6d(0x249)]),_0x7eb6ae[_0x23bc6d(0x148)]&&_0x511def[_0x23bc6d(0x291)](_0x36be71,_0x7eb6ae[_0x23bc6d(0x148)]),_0x7eb6ae[_0x23bc6d(0x321)]&&_0x511def[_0x23bc6d(0x198)](_0x7eb6ae['id'],_0x7eb6ae[_0x23bc6d(0x321)]));}const _0x3fd18a=_0xee7939['valueFilter'];for(const {fieldId:_0x4b438b,filterInfo:_0x4f7259}of _0x3fd18a)_0x511def['setValueFilterInfo'](_0x4b438b,_0x4f7259);}function _0x1ca9(){const _0x403299=['_deletePivotTableInstanceCache','delete','redos','_getPivotAppliedRanges','UpdateFieldPosition','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getName','setValueFilterInfo','SetSortInfo','Average\x20of\x20','cornerInfo','getFieldFormat','DIV_BY_ZERO','StdDevp\x20of\x20','_commandService','rangeKey','tuple','11312541ooXBem','getFieldDataType','generateNewSheetName','getUnit','Delete','dispose','intercept','addPivotTable','getInterceptPoints','UpdatePivotSource','info','sheet.mutation.set-pivot-collapse','sheet.command.add-pivot-field','_deleteModelCache','Filter','lastCol','endCollectChangeset','_pivotTableInstanceCache','Sum\x20of\x20','removeSourceRangeChange','UpdateValuePosition','sheet.mutation.remove-pivot-table','sheet.operation.pivot-table-view-formula-mark-dirty','getUnitId','updateViewInfo','filter','AddPivotField','updateRangeKeyMap','NotNumber','_ensurePivotItemRenderInfoCache','setPivotSort','getColumnWidth','updateDataFieldsCollection','setFieldFormat','67636zsMJdl','getOwnPropertyDescriptor','disposableCollection','valid','resetArea','document','Value','updateAllDisplayName','Style','_subjectFieldsCollectionChange','getPivotTableModelConfig','MIN_SAFE_INTEGER','getTableFieldById','disposeWithMe','fieldIds','sheet.mutation.set-pivot-sort-info','_sheetsPivotTableConfigModel','oldRangeInfo','_sheetInterceptorService','isDate','iterateFieldDim','sheets-pivot.dateGroup.monthDate','removeField','isEmpty','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_viewData$','sheet.command.move-pivot-field','count','sheets-pivot.dateGroup.month','_sheetsPivotTableService','Total','shouldClear','getId','sheet.command.set-pivot-field-setting','_subjectViewChange','setValue','_queryingMap','getSheetBySheetId','sheet.mutation.pivot-update-field-position','contains','configVersion$','1337007XncGme','_viewUpdate$','setLabelFilterInfo','sheets-pivot.countNumsName','getOriginFieldId','custom','sheets-pivot.config','iterateFieldByArea','getRangeKey','_lifecycleService','register','AddPivotTableWithConfig','isBottomTotal','pbt','Hour','_updatePivotTableInstanceCache','Max\x20of\x20','sheets-pivot.other','Grand\x20Total','token','pivotPerformCheck','sheet.command.update-pivot-table-source-range','lastRow','SetValuePivotFilter','fieldsConfig','varp','RemoveField','getCellMatrix','symbol','markDirty$','updateRenderCache','Expand','COMMAND','New','filterInfo','setRangeValueUndoMutation','_sheetsPivotRpcService','None','max','ResetPivotTable','getFieldIds','sheet.mutation.send-pivot-data-local','updateFieldSourceInfo','subTotalStyle','colInfo','realDeleteValue','find','getRowCount','asyncInterceptor','dateGroupField','8uRZfTU','sheet.mutation.set-pivot-format','sheet.mutation.send-init-pivot-text-local','_collectionChange$','#FFFFFF','MUTATION','updateView','pushUndoRedo','minDate','Panel','paths','MonthDate','rowInfo','min','sheet.mutation.add-group-collection','createDataFieldId','colRanges','message','getPivotDirtyViewInfo','_univerInstanceService','sheets-pivot.dateGroup.hour','addCollectionByJSON','Quarter','splice','sheets-pivot.cellDateGroupDisplay.year','MAX_SAFE_INTEGER','AddField','average','iterateField','getTextInfo','options','sheet.command.remove-pivot-field','SetPivotFilter','deleteField','sum','sheets.tabs.sheet','sheet.mutation.get-pivot-data-local','length','range','forEach','setPivotTableConfig','sheets-pivot.emptyPivot.filter','2fplwCb','BLANK_PLACEHOLDER','Year','getFilterInfo','registerRefRange','_initGlobalComputed','intersects','markDirty','refreshDataField','_configVersion$','displayName','_activeDirtyManagerService','toJSON','updateConfig','getLastCol','update','stdDevp','sheets-pivot.averageName','_pivotConfigChange$','object','movePivotField','slice','prototype','YearMonth','fields','number','_ensurePivotTableMatrixInfo','fieldId','getIntersects','sheets-pivot.cellDateGroupDisplay.minute','date','rangeKeyMap','102851oBjWGu','_updateRenderEmptyCache','getMatrixFromRunTimeData','setPivotInitCompleted','_model','sortInfo','_localeService','_pivotTableMatrixInfo','SetPivotCollapse','error','_pivotRenderValueMatrixCache','registerPluginResource','Div0','getValue','(Blank)','keys','params','startColumn','getPivotTableCellData','sheet.mutation.send-pivot-config-local','dataFieldId','setSourceName','NotName','stringify','ΣValue','getRangeKeyList','row','setRangeValueRedoMutation','_config','getSheetId','xRMco3zM\x20ZUcqIeo3zM(t3cUM1U,\x20eRbt3cmUI)\x20{\x20\x20\x20\x20oqI\x20{\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20t3cUM1UfMxzp5qoYqq5I\x20=\x20t3cUM1U.1et3o(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20zq3K3MVU115KU\x20=\x20N9Ay.e5q1U(5ozb(t3cUM1UfMxzp5qoYqq5I[u]));\x20\x20\x20\x20\x20\x20\x20\x203x\x20(!zq3K3MVU115KU.RZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zq3K3MVU115KU.RZ\x20=\x20yRgbUq(t3cUM1UfMxzp5qoYqq5I[X]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x2031EzqPUq\x20=\x20oIeUzx\x20EzqPUqatzb5t9czeU\x20!==\x20\x27RMZUx3MUZ\x27\x20&&\x201Utx\x203M1o5McUzx\x20EzqPUqatzb5t9czeU;\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20czMoUso\x20=\x2031EzqPUq\x20?\x201Utx\x20:\x2003MZz0;\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20gU115KUEzqZ\x20=\x20czMoUso.__W51UTX__.e5q1U(t3cUM1UfMxzp5qoYqq5I[u]);\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20gU115KU\x20=\x20czMoUso.__DUs__.1oq3MK3xI(gU115KUEzqZ);\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x2013KM5oRqUEzqZ\x20=\x20czMoUso.__W51UTX__.e5q1U(t3cUM1UfMxzp5qoYqq5I[l]);\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x2013KM5oRqU\x20=\x20czMoUso.__DUs__.1oq3MK3xI(13KM5oRqUEzqZ);\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x2013KMk5t3Z\x20=\x20czMoUso.__wUq3xI__(13KM5oRqU,\x20gU115KU,\x20eRbt3cmUI);\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20Zzg53M\x20=\x20zq3K3MVU115KU.Zg;\x20\x20\x20\x20\x20\x20\x20\x20xRMco3zM\x20318zg53MV5oc63MK(zp5ooUqM,\x20zDz1o)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20e5ooUqM\x20=\x20zp5ooUqM.qUet5cU(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x206z1o\x20=\x20zDz1o.qUet5cU(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20e5ooUqMp5qo1\x20=\x20e5ooUqM.1et3o(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x206z1op5qo1\x20=\x206z1o.1et3o(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203x\x20(!e5ooUqM.3MctRZU1(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qUoRqM\x20e5ooUqM\x20===\x206z1o;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203x\x20(e5ooUqMp5qo1.tUMKo6\x20<\x20u\x20||\x20e5ooUqMp5qo1[C]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qUoRqM\x20x5t1U;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20e5ooUqM9Rxx3s\x20=\x20e5ooUqMp5qo1.1t3cU(7).hz3M(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x206z1o9Rxx3s\x20=\x206z1op5qo1.1t3cU(-e5ooUqMp5qo1.tUMKo6\x20+\x207).hz3M(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qUoRqM\x20e5ooUqM9Rxx3s\x20===\x206z1o9Rxx3s;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20tUo\x20Zzg53Mk5t3Z\x20=\x20(Zzg53M\x20&&\x20Zzg53M.tUMKo6)\x20?\x20Zzg53M.1zgU((ZgfoUg)\x20=>\x20318zg53MV5oc63MK(ZgfoUg,\x20tzc5o3zM.6z1oM5gU))\x20:\x20oqRU;\x20\x20\x20\x20\x20\x20\x20\x203x\x20(tzc5o3zM.6z1oM5gU\x20===\x20\x27tzc5t6z1o\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zzg53Mk5t3Z\x20=\x20oqRU;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20czM1o\x20w5t3Z\x20=\x2013KMk5t3Z\x20&&\x20Zzg53Mk5t3Z;\x20\x20\x20\x20\x20\x20\x20\x20qUoRqM\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w5t3Z,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gU115KU:\x20zq3K3MVU115KU,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20c5oc6\x20(Uqqzq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20qUoRqM\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w5t3Z:\x20x5t1U,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gU115KU:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','registerCallbackWithEvent','18sTEMlq','Product\x20of\x20','fromJSON','sheets-pivot.emptyPivot.column','_toJSON','rowFields','Subtotal','rowCount','pivotInitCompleted$','getPivotTableRangeInfo','setPivotSetting','getViewData','bind','12698180cwchNx','#e6ebfa','updatePivotTableMatrixInfo','cellValue','getFieldById','next','sheets-pivot.blank','sheets-pivot.stdDevpName','_host','SetOptions','sheet.mutation.add-pivot-table','PIVOT_MUTATION_GENERATE','pageRanges','values','_pivotInitCompleted$','filterId','setDateType','sheets-pivot.dateGroup.date','startRow','needSameDeleteModel','width','rangesInfo','removePivotTable','getMatrixValue','panel','SetFieldFormat','getRangeStartEndInfo','_sheetsPivotTableAdaptorModel','queryDirtyPivotTable','NUMBER','registerCommand','collections','sheet.command.pivot-drill-down','_initConfig','onCommandExecuted','sheets-pivot.dateGroup.yearQuarter','string','setTextInfo','handleMoveRange','pivotConfigChange$','updateViewData','_sheetsSelectionsService','colHeaderMap','updateValuePosition','_initViewModelBySheetInterceptor','UpdateSource','updateConfigCache','unshift','STRING','toString','_pivotTableRangeInfo','forValue','rangeCache','resetPivotTable','updatePivotTableRangeInfo','startCollectChangeset','some','versions','type','getTargetByPivotId','dimension','from','_getAutoName','getDirtyInfo','pivotMutationGenerate','getFullYear','_initPivotTextInfo','sheets-pivot.countName','getColCount','isText','Row','#1d32e9','addPivotField','sourceName','textInfo','limit\x20pivot','_globalComputedEndHelpFunc','refreshData','col','result','getPivotTableIdByCell','removeValueFilterInfo','addFieldWithSourceId','removeDataField','sourceRangeInfo','data','_dataFieldManagerCollection','targetCellInfo','dataRangeInfo','_resourceManagerService','NAME','ManualFilter','SetValueFilter','sheets-pivot.varName','clearRenderCache','leftOffset','1898555wJYVSw','getStyles','getDataFieldItemInfo','registerDirtyService','collapseInfo','get','_ensurePivotTableRangeInfo','getTextSize','floor','getAutoDisplayNameFunction','setConfig','dataFieldManagerConfig','var','4987976YyQbYs','Set','asObservable','sheets-pivot.grandTotal','format','clearExclusiveRangesByGroupId','set','getNoUsedDataFieldIds','column','_requestResolvers','getGroupFieldsInfoByIds','interceptCommand','getFormat','AddPivotTable','setPivotFilter','updateDirtyPivotTable','tableFieldId','addCollection','_createExclusiveRange','MovePivotField','batch','SetPivotSetting','_injector','level','setSubtotalType','_globalComputedStartHelpFunc','SetPivotSort','valuePosition','_initCommandInterceptListener','has','isColMultiMeasure','originTargetInfo','_initRegisterCommand','new','getSheetBySheetName','adjustSheetCellData','getFieldCountByArea','replace','_initDataSendListener','fieldsCollectionChange$','collectionChange$','RemovePivotField','valueIndex','rangeType','pushComputingStatusSubject','cornerStyle','uniqueDataFieldName','setPivotTable','setPivotCollapse','_configService','_dataSyncPrimaryController','addPivotTableWithConfig','Count\x20of\x20','interceptor','undos','pluginName','areaInfo','grandTotal','entries','ptn','getFieldInfo','_globalSubject','formJSON','Var\x20of\x20','_collectionConfigModel','UNIVER_SHEET','sheet.command.add-pivot-table-with-config','reset','YearQuarter','SetPivotTableConfig','handleAsyncResponse','existing','10WZJgFs','setName','dataStream','hasOwnProperty','getDataFieldId','value','getSortInfo','_initSnapshot','collectionConfig','valueFilter','endRow','getPivotDisplayConfig','renameField','getCellRaw','_updateModelCache','Add','getSheets','_initPivotDataGetListener','sheet.command.update-pivot-value-position','getRangeData','deleteUnitId','getUpdateRangeDeleteIds','getDate','getDataFieldManager','sheets-pivot.cellDateGroupDisplay.yearMonthDate','addDataFieldWithoutUnitInfo','sheets-pivot.cellDateGroupDisplay.month','getSubUnitPivotRenderCache','getTargetByPivotTableId','sheets-pivot.productName','concat','addRecord','BadReference','parse','getDataFieldByRangeKey','_fieldsCollectionChange$','REF','NO_COMMERCIAL','getSubUnitPivotConfigs','fetchThroughAsyncInterceptors','reduce','measure','size','setValuePivotFilter','sheet.mutation.set-pivot-position','getformat','deepClone','_init','getPivotTableMatrixInfo','unitId','broadcastCollectionChange','getColumnCount','includes','rowStyle','getCurrentUnitForType','add','endColumn','colCount','sheets-pivot.cellDateGroupDisplay.quarter','getDataFieldByDataFieldId','getPivotTableConfig','FORCE_STRING','Varp\x20of\x20','sheetName','getSubtotal','sheets-pivot.value','Minute','notExecuteFormula','valueFields','sheet.mutation.pivot-update-field-source-info','sheet.command.set-pivot-filter','subUnitId','registerSyncingMutations','oldMatrix','HourMinute','COLUMN','getConfig','removeCollections','_ensureViewDataMap','subscribe','sheet.command.update-date-group','cornerRanges','updateCollectionConfig','sheet.mutation.set-pivot-option','getMonth','sheets-pivot.stdDevName','query','getDisplayName','updatePivotSource','getTypeOfUnitDisposed$','removeValueFilterInfoByValueFieldId','setDisplayName','PivotMultipleValueId','refreshGroupField','_viewData','isArray','name','viewUpdate$','_initLocale','setDataRecordCount','executeCommand','createCollectionWithDataRange','setSortInfo','originalFieldId','node','removePivotField','NotFunction','colStyle','dataFields','setRange','leafStyle','deleteDataField','_textInfo','workbook\x20is\x20not\x20found','_generateUniqueVersion','getPivotTableInstance','_exclusiveRangeService','pageStyle','_pivotRenderInfoCache','sheets-pivot.emptyPivot.row','_refRangeService','random','sheets-pivot.cellDateGroupDisplay.hour','_refRangeHandle','sheet.command.set-pivot-value-filter','sheet.command.set-pivot-sort','sheets-pivot.cellDateGroupDisplay.date','_initRemoveSheetCommandInterceptor','onStarting','push','blank','stdDev','sheets-pivot.dateGroup.yearMonth','getHeaderMapItem','onQueryEnd','sheet.mutation.set-pivot-filter','foreach','generateMutationsByRanges','Date','SetSubtotalType','map','charCodeAt','sheets-pivot.dateGroup.year','addField','_sheetsPivotDataSourceModel','viewData$','getLastRow','getDataFieldByTableId','Month','handleSourceRangeChange','_ensurePivotMap','sheet.mutation.update-pivot-table-source-range','Min\x20of\x20','onQueryStart','sheets-pivot.dateGroup.quarter','\x20-\x20','isNaN','forRow','addExclusiveRange','Values','_markDirty$','#f4f4f5','_subjectCollectionChange','sheet.command.set-pivot-fields-config','columnFields','DrillDown','Collapse','prefix','drillDown','getValueIndex','_onRefRangeChange','sheets-pivot.cellDateGroupDisplay.yearQuarter','_initUnitDisposed','GrandTotal','isValue','pivotTableConfigs','headerMap','getPivotPerformCheck','pivotTableId','fontRenderExtension','Column','maxDate','getMatrix','getDataFieldBySourceName','_globalComputingSrv','getPivotItemRenderInfoCache','getSubUnitPivotMatrix','SHEET_PIVOT_TABLE_PLUGIN','sheets-pivot.columnName','subtotal','sheet.mutation.add-pivot-field','updateFieldPosition','getRefRangeMutationsByMoveRange','split','fetchThroughInterceptors','version','_initClearSelectionCommandInterceptor','getSourceName','sheets-pivot.maxName','_featureCalculationManagerService','getCollection','rowRanges','dataFieldsCollection','sheets-pivot.subTotal','YearMonthDate','defineProperty','_ensurePivotItemRenderValueMatrixCache','removeCollectionImp','addDirtyPivotTable','setRangeKeyMap','getAutoFitColumnsMutations'];_0x1ca9=function(){return _0x403299;};return _0x1ca9();}function ji(_0x33be2c,_0x1b8e88){const _0x104b80=_0x135d33,_0x40535a=[];_0x1b8e88===_0x3c5bcb['Row']&&_0x33be2c[_0x104b80(0x2c2)](_0x3c5bcb['Row'],_0x21b076=>{const _0x455a50=_0x104b80;_0x40535a[_0x455a50(0x20d)](_0x21b076[_0x455a50(0x2b2)]());}),_0x1b8e88===_0x3c5bcb[_0x104b80(0x240)]&&_0x33be2c[_0x104b80(0x2c2)](_0x3c5bcb[_0x104b80(0x240)],_0x5da359=>{const _0x402d48=_0x104b80;_0x40535a[_0x402d48(0x20d)](_0x5da359[_0x402d48(0x2b2)]());}),_0x1b8e88===_0x3c5bcb[_0x104b80(0x27e)]&&_0x33be2c[_0x104b80(0x2c2)](_0x3c5bcb[_0x104b80(0x27e)],_0x5e7f7a=>{const _0x531915=_0x104b80;_0x40535a[_0x531915(0x20d)](_0x5e7f7a[_0x531915(0x2b2)]());}),_0x1b8e88===_0x3c5bcb[_0x104b80(0x298)]&&_0x33be2c[_0x104b80(0x2c2)](_0x3c5bcb[_0x104b80(0x298)],_0x405707=>{const _0x1d007d=_0x104b80;_0x40535a[_0x1d007d(0x20d)](_0x405707[_0x1d007d(0x2b2)]());}),_0x1b8e88===void 0x0&&_0x33be2c[_0x104b80(0x309)](_0x1f15d3=>{const _0x2337a4=_0x104b80;_0x40535a[_0x2337a4(0x20d)](_0x1f15d3[_0x2337a4(0x2b2)]());});const _0x20f227=_0x40535a[_0x104b80(0x312)];for(let _0x329858=_0x20f227-0x1;_0x329858>=0x0;_0x329858--)_0x33be2c[_0x104b80(0x2a8)](_0x40535a[_0x329858]);const _0x418b08=_0x33be2c['getValueFilterInfos']();for(const _0x29605c in _0x418b08)_0x33be2c[_0x104b80(0x128)](_0x29605c);}function Ki(_0x304ee4,_0x8366e6){const _0x45eb5f=_0x135d33,_0x412785=new Date(_0x5cf173(_0x8366e6)),_0x5d1228=new Date(_0x5cf173(_0x304ee4)),_0x5787b9=_0x412785[_0x45eb5f(0x118)](),_0xfad57=_0x5d1228['getFullYear'](),_0x5478a3=_0x412785['getMonth'](),_0xf4da2d=_0x5d1228[_0x45eb5f(0x1e0)](),_0x4d4477=_0x412785[_0x45eb5f(0x1a2)](),_0x17514f=_0x5d1228[_0x45eb5f(0x1a2)](),_0x4a121e=_0x5787b9===_0xfad57,_0x1789d6=_0x4a121e&&_0x5478a3===_0xf4da2d;return _0x4a121e&&_0x1789d6&&!(_0x1789d6&&_0x4d4477===_0x17514f)?_0x16f217[_0x45eb5f(0x258)]:_0x4a121e&&!_0x1789d6?_0x16f217[_0x45eb5f(0x32e)]:_0x16f217[_0x45eb5f(0x319)];}function Ho(_0x5d86d5,_0xd960f3){const _0x18d526=_0x135d33,_0x538c07=_0x5d86d5[_0x18d526(0x13c)]($)['getTextInfo']();let _0x40d1fd='';switch(_0xd960f3){case _0x16f217['YearMonthDate']:_0x40d1fd=_0x538c07['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x16f217[_0x18d526(0x32e)]:_0x40d1fd=_0x538c07[_0x18d526(0x210)];break;case _0x16f217[_0x18d526(0x319)]:_0x40d1fd=_0x538c07[_0x18d526(0x21a)];break;case _0x16f217[_0x18d526(0x220)]:_0x40d1fd=_0x538c07[_0x18d526(0x2ae)];break;case _0x16f217[_0x18d526(0x303)]:_0x40d1fd=_0x538c07[_0x18d526(0x226)];break;case _0x16f217[_0x18d526(0x216)]:_0x40d1fd=_0x538c07[_0x18d526(0x375)];break;case _0x16f217['HourMinute']:_0x40d1fd=_0x538c07['sheets-pivot.dateGroup.hourMinute'];break;case _0x16f217[_0x18d526(0x2c9)]:_0x40d1fd=_0x538c07[_0x18d526(0x301)];break;case _0x16f217[_0x18d526(0x1ce)]:_0x40d1fd=_0x538c07['sheets-pivot.dateGroup.minute'];break;case _0x16f217[_0x18d526(0x2f8)]:_0x40d1fd=_0x538c07[_0x18d526(0x2a7)];break;case _0x16f217[_0x18d526(0x188)]:_0x40d1fd=_0x538c07[_0x18d526(0x387)];break;default:_0x40d1fd='';break;}return _0x40d1fd;}const Yo=_0x135d33(0x2c1),yo={};var Hi=Object[_0x135d33(0x293)],Yi=(_0xc8dcae,_0x495027,_0x2c73ff,_0x46ff79)=>{const _0x15eb5e=_0x135d33;for(var _0xf4a902=_0x46ff79>0x1?void 0x0:_0x46ff79?Hi(_0x495027,_0x2c73ff):_0x495027,_0x4b6ffe=_0xc8dcae[_0x15eb5e(0x312)]-0x1,_0x29103f;_0x4b6ffe>=0x0;_0x4b6ffe--)(_0x29103f=_0xc8dcae[_0x4b6ffe])&&(_0xf4a902=_0x29103f(_0xf4a902)||_0xf4a902);return _0xf4a902;},it=(_0xb6ed49,_0x524007)=>(_0x4ef6d7,_0x53a360)=>_0x524007(_0x4ef6d7,_0x53a360,_0xb6ed49);let he=class extends _0x2af600{constructor(_0x13f753,_0x49873d,_0x464c7e,_0x1dbc15,_0x40e262){const _0x2ed30b=_0x135d33;super(),N(this,'_model',new Map()),N(this,_0x2ed30b(0x184),new Map()),N(this,_0x2ed30b(0x109),new Map()),N(this,_0x2ed30b(0x33e),new Map()),N(this,_0x2ed30b(0x320),new _0x4505fb()),N(this,_0x2ed30b(0x372),new _0x4505fb()),N(this,'pivotInitCompleted$',this[_0x2ed30b(0x372)][_0x2ed30b(0x146)]()),N(this,_0x2ed30b(0x329),new _0x4505fb()),N(this,'pivotConfigChange$',this['_pivotConfigChange$'][_0x2ed30b(0x146)]()),N(this,_0x2ed30b(0x1fc),{}),N(this,_0x2ed30b(0x2ba),this[_0x2ed30b(0x320)]['asObservable']()),(this[_0x2ed30b(0x15a)]=_0x13f753,this['_commandService']=_0x49873d,this[_0x2ed30b(0x300)]=_0x464c7e,this[_0x2ed30b(0x130)]=_0x1dbc15,this[_0x2ed30b(0x175)]=_0x40e262,this[_0x2ed30b(0x1ee)](),this[_0x2ed30b(0x238)]());const _0x18ce92=this['_configService']['getConfig'](Yo);(_0x18ce92==null?void 0x0:_0x18ce92['notExecuteFormula'])===!0x0&&this[_0x2ed30b(0x193)]();}['_initUnitDisposed'](){const _0x42ee28=_0x135d33;this[_0x42ee28(0x29f)](this[_0x42ee28(0x300)][_0x42ee28(0x1e5)](_0x52bb50['UNIVER_SHEET'])['subscribe'](_0x2862ea=>{const _0x3a6166=_0x42ee28;this[_0x3a6166(0x1a0)](_0x2862ea[_0x3a6166(0x287)]());}));}['setPivotInitCompleted'](){const _0x394417=_0x135d33;this['_pivotInitCompleted$'][_0x394417(0x369)](!0x0);}[_0x135d33(0x1ee)](){const _0x12ca9a=_0x135d33,_0x251501=fo(this[_0x12ca9a(0x15a)],qo,'',{});this[_0x12ca9a(0x1fc)]=_0x251501,this[_0x12ca9a(0x26d)]['executeCommand'](uo['id'],{'textInfo':_0x251501},{'onlyLocal':!0x0});}[_0x135d33(0x30a)](){const _0x5709d5=_0x135d33;return this[_0x5709d5(0x1fc)];}[_0x135d33(0x288)](_0x2061e8,_0x298396,_0x52b315,_0x85901b,_0x104424){const _0xa94bbd=_0x135d33;this[_0xa94bbd(0x366)](_0x2061e8,_0x298396,_0x52b315,_0x85901b),this[_0xa94bbd(0x10d)](_0x2061e8,_0x298396,_0x52b315,_0x104424);}[_0x135d33(0x1c8)](_0x539a52,_0xb84efa,_0x2688a0){const _0xca00e4=_0x135d33;var _0x206809;const _0xcc30f1=(_0x206809=this[_0xca00e4(0x33b)][_0xca00e4(0x13c)](_0x539a52))==null?void 0x0:_0x206809['get'](_0xb84efa);if(_0xcc30f1)return _0xcc30f1['get'](_0x2688a0);}[_0x135d33(0x1a8)](_0x3db2cd,_0x3b75df){const _0x544c93=_0x135d33,_0x577638=this[_0x544c93(0x33b)]['get'](_0x3db2cd);if(_0x577638){for(const [_0x459318,_0x1015cf]of _0x577638[_0x544c93(0x17e)]())for(const [_0x2d35ac,_0x2357bc]of _0x1015cf[_0x544c93(0x17e)]())if(_0x2d35ac===_0x3b75df)return _0x2357bc['targetCellInfo'];}}[_0x135d33(0x112)](_0x130f1f,_0x56c4c1,_0x5b6074){const _0x30ed43=_0x135d33,_0x570f3b=this[_0x30ed43(0x1c8)](_0x130f1f,_0x56c4c1,_0x5b6074);return _0x570f3b==null?void 0x0:_0x570f3b[_0x30ed43(0x12e)];}[_0x135d33(0x1b2)](_0x7cbe90,_0x24e8d2){const _0x32a97b=_0x135d33;var _0xb64115;return(_0xb64115=this[_0x32a97b(0x33b)][_0x32a97b(0x13c)](_0x7cbe90))==null?void 0x0:_0xb64115[_0x32a97b(0x13c)](_0x24e8d2);}[_0x135d33(0x392)](_0x10bfbf,_0x147f37,_0x5d560c,_0x38589b){const _0x14a296=_0x135d33,_0x4ec037=this[_0x14a296(0x222)](_0x10bfbf,_0x147f37);_0x38589b?_0x4ec037[_0x14a296(0x14a)](_0x5d560c,_0x38589b):_0x4ec037[_0x14a296(0x260)](_0x5d560c),this[_0x14a296(0x329)]['next']({'unitId':_0x10bfbf,'subUnitId':_0x147f37,'pivotTableId':_0x5d560c,'pivotTableConfig':_0x38589b});}['getCollection'](_0x4d5446,_0x44c329){const _0x198d62=_0x135d33;var _0x5a4220;return(_0x5a4220=this['_collectionConfigModel'][_0x198d62(0x13c)](_0x4d5446))==null?void 0x0:_0x5a4220[_0x198d62(0x383)][_0x44c329];}[_0x135d33(0x1de)](_0x54e8cc,_0x2ac24b){const _0x88fb63=_0x135d33;this[_0x88fb63(0x184)]['set'](_0x54e8cc,_0x2ac24b),this['_configVersion$'][_0x88fb63(0x369)](Math[_0x88fb63(0x205)]());}[_0x135d33(0x222)](_0x2756fb,_0x1412f2){const _0x1372d5=_0x135d33;let _0x53b30f=this[_0x1372d5(0x33b)][_0x1372d5(0x13c)](_0x2756fb);_0x53b30f||(_0x53b30f=new Map(),this['_model'][_0x1372d5(0x14a)](_0x2756fb,_0x53b30f));let _0xd96aec=_0x53b30f[_0x1372d5(0x13c)](_0x1412f2);return _0xd96aec||(_0xd96aec=new Map(),_0x53b30f['set'](_0x1412f2,_0xd96aec)),_0xd96aec;}['_ensurePivotTableRangeInfo'](_0x3b6259,_0x2f67f7){const _0x4ac56a=_0x135d33;let _0x57118a=this[_0x4ac56a(0x109)][_0x4ac56a(0x13c)](_0x3b6259);_0x57118a||(_0x57118a=new Map(),this[_0x4ac56a(0x109)][_0x4ac56a(0x14a)](_0x3b6259,_0x57118a));let _0x18868f=_0x57118a[_0x4ac56a(0x13c)](_0x2f67f7);return _0x18868f||(_0x18868f=new Map(),_0x57118a[_0x4ac56a(0x14a)](_0x2f67f7,_0x18868f)),_0x18868f;}[_0x135d33(0x331)](_0x130f68,_0x1252ac){const _0x507300=_0x135d33;let _0x2972cd=this[_0x507300(0x33e)][_0x507300(0x13c)](_0x130f68);_0x2972cd||(_0x2972cd=new Map(),this['_pivotTableMatrixInfo']['set'](_0x130f68,_0x2972cd));let _0x1a793b=_0x2972cd[_0x507300(0x13c)](_0x1252ac);return _0x1a793b||(_0x1a793b=new Map(),_0x2972cd['set'](_0x1252ac,_0x1a793b)),_0x1a793b;}[_0x135d33(0x10d)](_0x8d9459,_0x31ee34,_0x3cd36b,_0x48b122){const _0x1e9bfe=_0x135d33;var _0x1ba21a;const _0x429e02=this[_0x1e9bfe(0x13d)](_0x8d9459,_0x31ee34),_0x508424=(_0x1ba21a=_0x429e02[_0x1e9bfe(0x13c)](_0x3cd36b))==null?void 0x0:_0x1ba21a[_0x1e9bfe(0x2a3)];_0x429e02[_0x1e9bfe(0x14a)](_0x3cd36b,{'oldRangeInfo':_0x508424,'rangeInfo':_0x48b122});}[_0x135d33(0x366)](_0x57fd5f,_0x46718e,_0x5724bc,_0x2058ff){const _0x1641ab=_0x135d33;var _0x1ae01a;const _0x5d0a21=this['_ensurePivotTableMatrixInfo'](_0x57fd5f,_0x46718e),_0xdf187=(_0x1ae01a=_0x5d0a21[_0x1641ab(0x13c)](_0x5724bc))==null?void 0x0:_0x1ae01a[_0x1641ab(0x1d5)];_0x5d0a21['set'](_0x5724bc,{'oldMatrix':_0xdf187,'matrix':_0x2058ff});}[_0x135d33(0x360)](_0x3fbe7d,_0x238562,_0x513ed2){const _0x35591b=_0x135d33;var _0x286e55,_0x50f7de;return(_0x50f7de=(_0x286e55=this[_0x35591b(0x109)][_0x35591b(0x13c)](_0x3fbe7d))==null?void 0x0:_0x286e55['get'](_0x238562))==null?void 0x0:_0x50f7de[_0x35591b(0x13c)](_0x513ed2);}[_0x135d33(0x1bc)](_0xb88415,_0x3f6a36,_0x2810bb){const _0x5ccd09=_0x135d33;var _0xab475e,_0x21d33e;return(_0x21d33e=(_0xab475e=this[_0x5ccd09(0x33e)][_0x5ccd09(0x13c)](_0xb88415))==null?void 0x0:_0xab475e[_0x5ccd09(0x13c)](_0x3f6a36))==null?void 0x0:_0x21d33e[_0x5ccd09(0x13c)](_0x2810bb);}[_0x135d33(0x1a0)](_0x2b8a6c){const _0xfe02fd=_0x135d33;this[_0xfe02fd(0x33b)][_0xfe02fd(0x260)](_0x2b8a6c),this[_0xfe02fd(0x184)]['delete'](_0x2b8a6c);}[_0x135d33(0x35b)](_0x38a693){const _0x4cdede=_0x135d33,_0x39e578={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x4cdede(0x13c)](_0x38a693)&&(_0x39e578[_0x4cdede(0x142)][_0x38a693]=this[_0x4cdede(0x184)]['get'](_0x38a693)),this[_0x4cdede(0x33b)]['get'](_0x38a693)){_0x39e578['pivotTableConfigs'][_0x38a693]={};const _0x528eea=this['_model']['get'](_0x38a693);_0x528eea!=null&&_0x528eea[_0x4cdede(0x1b6)]&&[..._0x528eea['keys']()][_0x4cdede(0x314)](_0x40e99e=>{const _0x17664f=_0x4cdede,_0x2771e0=_0x528eea['get'](_0x40e99e);_0x2771e0!=null&&_0x2771e0[_0x17664f(0x1b6)]&&(_0x39e578[_0x17664f(0x23b)][_0x38a693][_0x40e99e]={},[..._0x2771e0[_0x17664f(0x346)]()][_0x17664f(0x314)](_0x2dbfd4=>{const _0x54bdfe=_0x17664f,_0x1b5095=_0x2771e0[_0x54bdfe(0x13c)](_0x2dbfd4);_0x1b5095&&(_0x39e578[_0x54bdfe(0x23b)][_0x38a693][_0x40e99e][_0x2dbfd4]=_0x1b5095);}));});}return _0x39e578;}[_0x135d33(0x193)](){const _0x15d3b5=_0x135d33;this[_0x15d3b5(0x29f)](this[_0x15d3b5(0x130)][_0x15d3b5(0x342)]({'toJson':_0x469e50=>JSON[_0x15d3b5(0x34e)](this[_0x15d3b5(0x35b)](_0x469e50)),'parseJson':_0x5af4c8=>({}),'businesses':[_0x52bb50[_0x15d3b5(0x185)]],'pluginName':ao,'onLoad':(_0x23fd82,_0x371273)=>{},'onUnLoad':_0x51171f=>{this['deleteUnitId'](_0x51171f);}}));}};he=Yi([it(0x0,_0x29b437(_0x38d56a)),it(0x1,_0x29b437(_0x106ecf)),it(0x2,_0x29b437(_0x37efd4)),it(0x3,_0x29b437(_0x227be6)),it(0x4,_0x29b437(_0x3eb233))],he);var Zi=Object[_0x135d33(0x293)],Qi=(_0x1d9703,_0x3503eb,_0x14d306,_0x465482)=>{const _0x5656fd=_0x135d33;for(var _0x54ede2=_0x465482>0x1?void 0x0:_0x465482?Zi(_0x3503eb,_0x14d306):_0x3503eb,_0x1af75a=_0x1d9703[_0x5656fd(0x312)]-0x1,_0x171456;_0x1af75a>=0x0;_0x1af75a--)(_0x171456=_0x1d9703[_0x1af75a])&&(_0x54ede2=_0x171456(_0x54ede2)||_0x54ede2);return _0x54ede2;},st=(_0xbc5180,_0x479cdb)=>(_0x297ab6,_0x1c7546)=>_0x479cdb(_0x297ab6,_0x1c7546,_0xbc5180);let Ue=class extends _0x2af600{constructor(_0x1a7a2c,_0x96f8d7,_0x1f8f7b,_0x21690a,_0x112e58){const _0x4a7bc1=_0x135d33;super(),N(this,'_pivotRenderInfoCache',new Map()),N(this,_0x4a7bc1(0x341),new Map()),N(this,_0x4a7bc1(0x22c),new _0x4505fb()),N(this,_0x4a7bc1(0x2d8),this[_0x4a7bc1(0x22c)][_0x4a7bc1(0x146)]()),N(this,'_viewUpdate$',new _0x4505fb()),N(this,_0x4a7bc1(0x1ed),this['_viewUpdate$'][_0x4a7bc1(0x146)]()),N(this,_0x4a7bc1(0x1fc)),(this['_localeService']=_0x1a7a2c,this[_0x4a7bc1(0x15a)]=_0x96f8d7,this[_0x4a7bc1(0x2a2)]=_0x1f8f7b,this[_0x4a7bc1(0x300)]=_0x21690a,this['_exclusiveRangeService']=_0x112e58,this[_0x4a7bc1(0x1ee)](),this['_initUnitDisposed']());}[_0x135d33(0x238)](){const _0x412109=_0x135d33;this[_0x412109(0x29f)](this[_0x412109(0x300)][_0x412109(0x1e5)](_0x52bb50[_0x412109(0x185)])[_0x412109(0x1db)](_0x25e85e=>{const _0x35bd97=_0x412109;this[_0x35bd97(0x1a0)](_0x25e85e[_0x35bd97(0x287)]());}));}[_0x135d33(0x1ee)](){const _0x1b20a5=_0x135d33;this['_textInfo']=fo(this[_0x1b20a5(0x15a)],qo,'',{});}['updateRenderCache'](_0x1d5625){const _0x5546b4=_0x135d33,{view:_0x49b7f0,unitId:_0x2a2665,subUnitId:_0x541b21,pivotTableId:_0x3f2a2b,type:_0x47e5ae}=_0x1d5625,_0x2cc0c9=this[_0x5546b4(0x2a2)][_0x5546b4(0x1c8)](_0x2a2665,_0x541b21,_0x3f2a2b);if(!_0x49b7f0||!_0x2cc0c9||_0x47e5ae===q[_0x5546b4(0x274)])return;const {pageView:_0x4f4f5a,cornerView:_0x433fb1,rowView:_0x5ce69f,colView:_0x1a2fde,dataView:_0x14c57e}=_0x49b7f0,_0x455966=_0x2cc0c9[_0x5546b4(0x12e)],_0x1f0d0b=_0x2cc0c9[_0x5546b4(0x2a9)],_0x182365=this[_0x5546b4(0x25a)](_0x2a2665,_0x541b21),_0x5e00f6=this[_0x5546b4(0x28d)](_0x2a2665,_0x541b21,_0x3f2a2b);if(_0x1f0d0b)return this[_0x5546b4(0x338)](_0x1d5625,_0x182365,_0x455966,_0x5e00f6);{const _0x380bcf=ge(_0x455966,_0x4f4f5a,!0x0),_0x4fd780=_0x4f4f5a[_0x5546b4(0x2d1)]>=0x0?_0x4f4f5a[_0x5546b4(0x2d1)]+0x1:0x0,_0x5d17d6=_0x433fb1[_0x5546b4(0x2ea)](),_0x23369d=_0x433fb1[_0x5546b4(0x11b)](),_0x8e3dd=_0x380bcf[_0x5546b4(0x312)]>0x0?It:0x0,_0x14c5a9=ge({'row':_0x455966[_0x5546b4(0x351)]+_0x4fd780+_0x8e3dd,'col':_0x455966[_0x5546b4(0x125)]},_0x433fb1,!0x1,!0x1),_0x3fc141=ge({'row':_0x455966[_0x5546b4(0x351)]+_0x4fd780+_0x8e3dd+_0x5d17d6,'col':_0x455966[_0x5546b4(0x125)]},_0x5ce69f,!0x1,!0x0),_0x196629=ge({'row':_0x455966[_0x5546b4(0x351)]+_0x4fd780+_0x8e3dd,'col':_0x455966['col']+_0x23369d},_0x1a2fde,!0x1,!0x0),_0x46c970=ge({'row':_0x455966[_0x5546b4(0x351)]+_0x4fd780+_0x8e3dd+_0x5d17d6,'col':_0x455966[_0x5546b4(0x125)]+_0x23369d},_0x14c57e,!0x1,!0x1);_0x5e00f6[_0x5546b4(0x379)]={'rowRanges':_0x3fc141,'colRanges':_0x196629,'cornerRanges':_0x14c5a9,'dataRanges':_0x46c970,'pageRanges':_0x380bcf};const _0x1b8b30=Ti(this[_0x5546b4(0x15a)],_0x49b7f0,_0x2cc0c9,this[_0x5546b4(0x1fc)]),{valueMatrix:_0x457652,rowInfo:_0x3071c2,colInfo:_0x1c08e2,cornerInfo:_0x15b74b,rowHeaderMap:_0x5d4ec3,colHeaderMap:_0x509bca}=_0x1b8b30;return _0x5e00f6[_0x5546b4(0x17c)]={'rowInfo':_0x3071c2,'colInfo':_0x1c08e2,'cornerInfo':_0x15b74b},_0x5e00f6[_0x5546b4(0x23c)]={'rowHeaderMap':_0x5d4ec3,'colHeaderMap':_0x509bca},_0x457652['forEach']((_0x40578f,_0x267832)=>{const _0x4f8d2e=_0x5546b4;Object['keys'](_0x267832)[_0x4f8d2e(0x314)](_0x2eca97=>{const _0x516779=_0x4f8d2e,_0x104934=+_0x2eca97,_0x5c63a9=_0x457652[_0x516779(0x344)](_0x40578f,_0x104934);_0x182365[_0x516779(0x2b5)](_0x40578f,_0x104934,_0x5c63a9);});}),this[_0x5546b4(0x2bc)][_0x5546b4(0x369)]({'unitId':_0x2a2665,'subUnitId':_0x541b21,'valueMatrix':_0x182365,'rangesCache':_0x5e00f6[_0x5546b4(0x379)],'pivotTableId':_0x3f2a2b,'type':_0x1d5625[_0x5546b4(0x111)]}),this[_0x5546b4(0x2a2)][_0x5546b4(0x288)](_0x2a2665,_0x541b21,_0x3f2a2b,_0x182365,_0x5e00f6[_0x5546b4(0x379)]),this[_0x5546b4(0x200)][_0x5546b4(0x22a)](_0x2a2665,_0x541b21,Lt,this[_0x5546b4(0x156)](_0x5e00f6[_0x5546b4(0x379)],_0x3f2a2b)),{'rangeCache':_0x5e00f6[_0x5546b4(0x379)],'matrix':_0x182365};}}[_0x135d33(0x338)](_0x1a8026,_0x108e41,_0x328707,_0x151903){const _0x1d32af=_0x135d33,_0x54b313=this[_0x1d32af(0x33d)]['t'],{unitId:_0x33f60b,subUnitId:_0xb6da9a,pivotTableId:_0x51da6d}=_0x1a8026,_0x4cd7e9={'filter':_0x54b313(_0x1d32af(0x316)),'row':_0x54b313(_0x1d32af(0x203)),'column':_0x54b313(_0x1d32af(0x35a)),'values':_0x54b313('sheets-pivot.emptyPivot.values')},{matrixCache:_0x217372,rangesCache:_0x5b0414}=Go(_0x4cd7e9,_0x328707);return _0x217372['forValue']((_0x515c91,_0xf14666,_0x50497d)=>{const _0xeceb08=_0x1d32af;_0x108e41[_0xeceb08(0x2b5)](_0x515c91,_0xf14666,_0x50497d);}),_0x151903[_0x1d32af(0x379)]=_0x5b0414,this[_0x1d32af(0x2bc)]['next']({'unitId':_0x33f60b,'subUnitId':_0xb6da9a,'valueMatrix':_0x108e41,'rangesCache':_0x5b0414,'pivotTableId':_0x51da6d,'type':_0x1a8026['type'],'isEmpty':!0x0}),this[_0x1d32af(0x2a2)][_0x1d32af(0x288)](_0x33f60b,_0xb6da9a,_0x51da6d,_0x108e41,_0x5b0414),this['_exclusiveRangeService'][_0x1d32af(0x22a)](_0x33f60b,_0xb6da9a,Lt,this[_0x1d32af(0x156)](_0x5b0414,_0x51da6d)),{'rangeCache':_0x151903[_0x1d32af(0x379)],'matrix':_0x108e41};}[_0x135d33(0x156)](_0x185a0d,_0x28ed85){const _0x4e4baa=_0x135d33,_0x30d62f=[],_0x1f548d=qt(_0x185a0d);for(const _0x126630 of _0x1f548d)_0x30d62f[_0x4e4baa(0x20d)]({'groupId':_0x28ed85,'range':_0x126630});return _0x30d62f;}[_0x135d33(0x135)](_0x3291b5){const _0x1fc2c0=_0x135d33;var _0x842ea0,_0x298b01,_0x4a06d5,_0x275117;const {pivotTableId:_0x51f037,unitId:_0x3e4b3f,subUnitId:_0x5b5b6c}=_0x3291b5;if(!_0x51f037||!_0x3e4b3f||!_0x5b5b6c)return;const _0x785471=this[_0x1fc2c0(0x25a)](_0x3e4b3f,_0x5b5b6c),_0xb48b4c=(_0x298b01=(_0x842ea0=this[_0x1fc2c0(0x202)][_0x1fc2c0(0x13c)](_0x3e4b3f))==null?void 0x0:_0x842ea0[_0x1fc2c0(0x13c)](_0x5b5b6c))==null?void 0x0:_0x298b01[_0x1fc2c0(0x13c)](_0x51f037);if(_0xb48b4c!=null&&_0xb48b4c[_0x1fc2c0(0x379)]){for(const _0x32f097 of Object[_0x1fc2c0(0x346)](_0xb48b4c['rangesInfo']))_0xb48b4c[_0x1fc2c0(0x379)][_0x32f097][_0x1fc2c0(0x314)](_0x906038=>{const _0x5c4e6e=_0x1fc2c0;for(let _0x4ba7f7=_0x906038[_0x5c4e6e(0x376)];_0x4ba7f7<=_0x906038['endRow'];_0x4ba7f7++)for(let _0x90070e=_0x906038[_0x5c4e6e(0x348)];_0x90070e<=_0x906038[_0x5c4e6e(0x1c4)];_0x90070e++)_0x785471[_0x5c4e6e(0x2e8)](_0x4ba7f7,_0x90070e);});}_0xb48b4c&&((_0x275117=(_0x4a06d5=this[_0x1fc2c0(0x202)][_0x1fc2c0(0x13c)](_0x3e4b3f))==null?void 0x0:_0x4a06d5[_0x1fc2c0(0x13c)](_0x5b5b6c))==null||_0x275117[_0x1fc2c0(0x260)](_0x51f037)),this['_viewUpdate$']['next']({'unitId':_0x3e4b3f,'subUnitId':_0x5b5b6c,'valueMatrix':_0x785471,'pivotTableId':_0x51f037,'rangesCache':void 0x0,'type':_0x3291b5[_0x1fc2c0(0x111)]}),this[_0x1fc2c0(0x200)][_0x1fc2c0(0x149)](_0x3e4b3f,_0x5b5b6c,Lt,_0x51f037);}[_0x135d33(0x28d)](_0x25b71b,_0x305e9b,_0x1d9375){const _0x259c5d=_0x135d33;var _0x265ec6,_0x2d2b64,_0x55fd93,_0x4b4da2,_0x5c55d3,_0x53c7ab;return this[_0x259c5d(0x202)][_0x259c5d(0x161)](_0x25b71b)||this[_0x259c5d(0x202)][_0x259c5d(0x14a)](_0x25b71b,new Map()),(_0x265ec6=this[_0x259c5d(0x202)][_0x259c5d(0x13c)](_0x25b71b))!=null&&_0x265ec6[_0x259c5d(0x161)](_0x305e9b)||(_0x2d2b64=this[_0x259c5d(0x202)][_0x259c5d(0x13c)](_0x25b71b))==null||_0x2d2b64[_0x259c5d(0x14a)](_0x305e9b,new Map()),(_0x4b4da2=(_0x55fd93=this['_pivotRenderInfoCache'][_0x259c5d(0x13c)](_0x25b71b))==null?void 0x0:_0x55fd93[_0x259c5d(0x13c)](_0x305e9b))!=null&&_0x4b4da2['has'](_0x1d9375)||(_0x53c7ab=(_0x5c55d3=this[_0x259c5d(0x202)][_0x259c5d(0x13c)](_0x25b71b))==null?void 0x0:_0x5c55d3[_0x259c5d(0x13c)](_0x305e9b))==null||_0x53c7ab['set'](_0x1d9375,{}),this[_0x259c5d(0x202)]['get'](_0x25b71b)[_0x259c5d(0x13c)](_0x305e9b)['get'](_0x1d9375);}[_0x135d33(0x25a)](_0x254420,_0x5acca3){const _0x21423f=_0x135d33;var _0x2c48bb,_0x34d18c;return this['_pivotRenderValueMatrixCache'][_0x21423f(0x161)](_0x254420)||this['_pivotRenderValueMatrixCache']['set'](_0x254420,new Map()),(_0x2c48bb=this[_0x21423f(0x341)]['get'](_0x254420))!=null&&_0x2c48bb['has'](_0x5acca3)||(_0x34d18c=this[_0x21423f(0x341)]['get'](_0x254420))==null||_0x34d18c[_0x21423f(0x14a)](_0x5acca3,new _0x2e5827()),this[_0x21423f(0x341)][_0x21423f(0x13c)](_0x254420)[_0x21423f(0x13c)](_0x5acca3);}[_0x135d33(0x349)](_0x56295c,_0x37a98d,_0x379bc4,_0x1d94ae){const _0x2832c3=_0x135d33;var _0x1ecb19,_0xdb497d;const _0x5a83ca=(_0xdb497d=(_0x1ecb19=this[_0x2832c3(0x341)][_0x2832c3(0x13c)](_0x56295c))==null?void 0x0:_0x1ecb19[_0x2832c3(0x13c)](_0x37a98d))==null?void 0x0:_0xdb497d[_0x2832c3(0x344)](_0x379bc4,_0x1d94ae);if(_0x5a83ca!=null)return _0x5a83ca;}[_0x135d33(0x127)](_0x20ef9c,_0x18cac0,_0x12461b,_0x36d09e){const _0x3b00ea=_0x135d33;var _0x5622ab;const _0x1cf299=_0x47884e(_0x12461b,_0x36d09e),_0x15260a=(_0x5622ab=this['_pivotRenderInfoCache'][_0x3b00ea(0x13c)](_0x20ef9c))==null?void 0x0:_0x5622ab[_0x3b00ea(0x13c)](_0x18cac0);return _0x15260a?Array['from'](_0x15260a[_0x3b00ea(0x346)]())[_0x3b00ea(0x2e9)](_0x4b82e1=>{const _0x1c39a6=_0x3b00ea,_0x5c901f=_0x15260a[_0x1c39a6(0x13c)](_0x4b82e1),_0x476a58=_0x5c901f==null?void 0x0:_0x5c901f[_0x1c39a6(0x379)];return _0x476a58?Object['keys'](_0x476a58)['some'](_0x46f02b=>_0x476a58[_0x46f02b]['some'](_0x50386e=>_0x19fa73['contains'](_0x50386e,_0x1cf299))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0xd1d17d,_0xd0928,_0x4a06ee){const _0x286770=_0x135d33;var _0x4f24d4;const _0x572320=(_0x4f24d4=this[_0x286770(0x202)]['get'](_0xd1d17d))==null?void 0x0:_0x4f24d4['get'](_0xd0928),_0x39d695=[];return _0x572320&&Array['from'](_0x572320[_0x286770(0x346)]())[_0x286770(0x314)](_0x4acdd6=>{const _0x10521c=_0x286770,_0x3b9800=_0x572320[_0x10521c(0x13c)](_0x4acdd6),_0x19b5d5=_0x3b9800==null?void 0x0:_0x3b9800[_0x10521c(0x379)];if(_0x19b5d5)for(const _0x379763 of Object['values'](_0x19b5d5)){let _0xdd3c38=!0x1;for(const _0x579a56 of _0x379763)if(_0x19fa73[_0x10521c(0x31d)](_0x579a56,_0x4a06ee)){_0x39d695[_0x10521c(0x20d)](_0x4acdd6),_0xdd3c38=!0x0;break;}if(_0xdd3c38)break;}}),_0x39d695;}[_0x135d33(0x246)](_0x216c2f,_0x230f6f){const _0x3e6e03=_0x135d33;var _0x30d506,_0x42a7eb;return(_0x42a7eb=(_0x30d506=this[_0x3e6e03(0x341)][_0x3e6e03(0x13c)](_0x216c2f))==null?void 0x0:_0x30d506[_0x3e6e03(0x13c)](_0x230f6f))!=null?_0x42a7eb:new _0x2e5827();}[_0x135d33(0x1a7)](_0x527c3c,_0x10c030){const _0x2e33c6=_0x135d33;var _0x46f56d;return(_0x46f56d=this[_0x2e33c6(0x202)][_0x2e33c6(0x13c)](_0x527c3c))==null?void 0x0:_0x46f56d[_0x2e33c6(0x13c)](_0x10c030);}[_0x135d33(0x245)](_0x47896d,_0x562c40,_0x37d17c){const _0x216575=_0x135d33;var _0x1fe1eb,_0x14adb7;return(_0x14adb7=(_0x1fe1eb=this[_0x216575(0x202)]['get'](_0x47896d))==null?void 0x0:_0x1fe1eb[_0x216575(0x13c)](_0x562c40))==null?void 0x0:_0x14adb7[_0x216575(0x13c)](_0x37d17c);}[_0x135d33(0x1a0)](_0x32bafc){const _0x4be35a=_0x135d33;this[_0x4be35a(0x202)][_0x4be35a(0x260)](_0x32bafc),this[_0x4be35a(0x341)]['delete'](_0x32bafc);}[_0x135d33(0x31e)](_0x3b350f,_0x329e1d){this['_markDirty$']['next']({'unitId':_0x3b350f,'subUnitId':_0x329e1d});}};Ue=Qi([st(0x0,_0x29b437(_0x376940)),st(0x1,_0x29b437(_0x38d56a)),st(0x2,_0x29b437(he)),st(0x3,_0x29b437(_0x37efd4)),st(0x4,_0x29b437(_0x5239a5))],Ue);var Xi=Object[_0x135d33(0x293)],es=(_0x45a923,_0x31697a,_0x1063af,_0x170b13)=>{const _0x14cfab=_0x135d33;for(var _0x2c1f4b=_0x170b13>0x1?void 0x0:_0x170b13?Xi(_0x31697a,_0x1063af):_0x31697a,_0x44f1f2=_0x45a923[_0x14cfab(0x312)]-0x1,_0x3b7866;_0x44f1f2>=0x0;_0x44f1f2--)(_0x3b7866=_0x45a923[_0x44f1f2])&&(_0x2c1f4b=_0x3b7866(_0x2c1f4b)||_0x2c1f4b);return _0x2c1f4b;},wo=(_0x5be0bf,_0x3d0518)=>(_0x572691,_0x2b2964)=>_0x3d0518(_0x572691,_0x2b2964,_0x5be0bf);let ie=class extends _0x2af600{constructor(_0x115abc,_0x4d1924){const _0x4f6f96=_0x135d33;super(),N(this,_0x4f6f96(0x2eb),new _0x89b53b({'PIVOT_PERFORM_CHECK':be})),N(this,_0x4f6f96(0x179),new _0x5c5966({'PIVOT_MUTATION_GENERATE':zo})),(this[_0x4f6f96(0x2a4)]=_0x115abc,this[_0x4f6f96(0x37f)]=_0x4d1924,this[_0x4f6f96(0x1bb)]());}['_init'](){const _0x4c2cc9=_0x135d33;this[_0x4c2cc9(0x390)]();}[_0x135d33(0x23d)](_0x5ccbb7){const _0x2146be=_0x135d33;return this[_0x2146be(0x2eb)][_0x2146be(0x1b3)](be)(!0x1,_0x5ccbb7);}[_0x135d33(0x390)](){const _0xeb04fb=_0x135d33;this[_0xeb04fb(0x29f)](this['_sheetInterceptorService'][_0xeb04fb(0x276)](_0x5b501e['CELL_CONTENT'],{'priority':0xc8,'effect':_0x1e2466[_0xeb04fb(0x298)]|_0x1e2466[_0xeb04fb(0x29a)],'handler':(_0x49a362,_0x4ebeaa,_0x52a983)=>{const _0x44bacf=_0xeb04fb,{row:_0x6deb23,col:_0x303595,unitId:_0x41231f,subUnitId:_0x19ab47,workbook:_0x7868dc}=_0x4ebeaa,_0x2cb3b4=this['_sheetsPivotTableAdaptorModel'][_0x44bacf(0x349)](_0x41231f,_0x19ab47,_0x6deb23,_0x303595);if(!_0x2cb3b4)return _0x52a983(_0x49a362);const _0x103870={..._0x49a362};(_0x2cb3b4['v']||_0x2cb3b4['v']===0x0)&&(_0x103870['v']=_0x2cb3b4['v']),_0x2cb3b4['t']&&(_0x103870['t']=_0x2cb3b4['t']);const _0x48904a=(typeof(_0x49a362==null?void 0x0:_0x49a362['s'])==_0x44bacf(0x388)?_0x7868dc[_0x44bacf(0x138)]()['get'](_0x49a362==null?void 0x0:_0x49a362['s']):_0x49a362==null?void 0x0:_0x49a362['s'])||{},_0x554be1=_0x7868dc[_0x44bacf(0x138)]()[_0x44bacf(0x13c)](_0x2cb3b4['s']),_0x5a2903={..._0x554be1,..._0x48904a};_0x554be1!=null&&_0x554be1['n']&&(_0x5a2903['n']=_0x554be1['n']);const _0x215d72=_0x7868dc[_0x44bacf(0x138)]()[_0x44bacf(0x2b5)](_0x5a2903);return _0x103870['s']=_0x215d72,(_0x2cb3b4[_0x44bacf(0x2c8)]===_0x83b384[_0x44bacf(0x232)]||_0x2cb3b4[_0x44bacf(0x2c8)]===_0x83b384[_0x44bacf(0x2da)])&&(_0x103870[_0x44bacf(0x23f)]={},_0x103870[_0x44bacf(0x23f)][_0x44bacf(0x136)]=li),_0x52a983(_0x103870);}}));}};ie=es([wo(0x0,_0x29b437(_0x196aa7)),wo(0x1,_0x29b437(Ue))],ie);const Zo={'id':_0x135d33(0x2fb),'type':_0x593fdd[_0x135d33(0x2f2)],'handler':(_0x73d468,_0x1a3723)=>{const _0x252cbb=_0x135d33;if(!_0x1a3723)return!0x1;if(!!_0x73d468[_0x252cbb(0x13c)](_0x3eb233)[_0x252cbb(0x1d8)](Y))return!0x0;const {pivotTableId:_0x172c19,fieldJSON:_0x81630e,unitId:_0x5aeb1c,subUnitId:_0x5745fa}=_0x1a3723;let _0x2bd68b;const {dataFieldType:_0x478abb,id:_0x4ad848,name:_0x1841d4,hexCode:_0x1e6b63,originalFieldId:_0x25b927}=_0x81630e;if(_0x478abb===_0x2ab5f5[_0x252cbb(0x2ec)]&&(_0x2bd68b=new _0x4980ca(_0x4ad848,_0x1841d4,_0x1e6b63,_0x25b927)),!_0x2bd68b)return!0x1;const _0x3cf325=_0x73d468[_0x252cbb(0x13c)]($),_0x35ba32=_0x3cf325[_0x252cbb(0x1a3)](_0x5aeb1c),_0x3f7692=_0x35ba32[_0x252cbb(0x254)](_0x172c19);_0x35ba32[_0x252cbb(0x1a5)](_0x2bd68b),_0x3f7692[_0x252cbb(0x21b)](_0x2bd68b[_0x252cbb(0x2b2)](),_0x2bd68b['getName']());const _0x5112cf=_0x3f7692[_0x252cbb(0x368)](_0x2bd68b[_0x252cbb(0x2bf)]());_0x5112cf&&_0x2bd68b[_0x252cbb(0x1e9)](_0x5112cf);const _0x29e3ff=_0x3cf325[_0x252cbb(0x1c8)](_0x5aeb1c,_0x5745fa,_0x172c19);return _0x3cf325[_0x252cbb(0x25c)]({'unitId':_0x5aeb1c,'subUnitId':_0x5745fa,'token':_0x172c19,'type':q[_0x252cbb(0x145)],'pivotConfig':_0x29e3ff}),!0x0;}},Qo={'id':'sheet.mutation.remove-group-collection','type':_0x593fdd[_0x135d33(0x2f2)],'handler':(_0x13e3eb,_0x54648e)=>{const _0x446ae5=_0x135d33;if(!_0x54648e)return!0x1;if(!!_0x13e3eb[_0x446ae5(0x13c)](_0x3eb233)['getConfig'](Y))return!0x0;const {pivotTableId:_0x44863d,dataFieldId:_0xf5d1d8,unitId:_0x34a24c,subUnitId:_0x206058}=_0x54648e,_0xc1090a=_0x13e3eb['get']($),_0x3b653c=_0xc1090a['getDataFieldManager'](_0x34a24c);_0x3b653c[_0x446ae5(0x254)](_0x44863d)['deleteField'](_0xf5d1d8);let _0x393125=!0x0;for(const _0x42fc90 in _0x3b653c['collections'])if(_0x3b653c['collections'][_0x42fc90][_0x446ae5(0x2e3)]()[_0x446ae5(0x1c0)](_0xf5d1d8)){_0x393125=!0x1;break;}_0x393125&&_0x3b653c[_0x446ae5(0x1fb)](_0xf5d1d8);const _0x5e08d8=_0xc1090a['getPivotTableConfig'](_0x34a24c,_0x206058,_0x44863d);return _0xc1090a[_0x446ae5(0x25c)]({'unitId':_0x34a24c,'subUnitId':_0x206058,'token':_0x44863d,'type':q[_0x446ae5(0x145)],'pivotConfig':_0x5e08d8}),!0x0;}};function Ut(_0x353302,_0x484030){const _0x56913a=_0x135d33;switch(_0x484030){case _0x3c5bcb['Value']:return _0x353302[_0x56913a(0x1d0)];case _0x3c5bcb[_0x56913a(0x27e)]:return _0x353302['filterFields'];case _0x3c5bcb['Row']:return _0x353302[_0x56913a(0x35c)];case _0x3c5bcb[_0x56913a(0x240)]:return _0x353302['columnFields'];default:return[];}}function Je(_0x5cfa37,_0x4e41c5){const _0x7bbbbc=_0x135d33;return _0x5cfa37[_0x7bbbbc(0x1b5)][_0x4e41c5]||_0x5cfa37[_0x7bbbbc(0x113)][_0x4e41c5];}function ts(_0x4d9964,_0x170b3a){const _0x360a30=_0x135d33,{area:_0x502363,fieldJson:_0x45d501,index:_0x221e66}=_0x170b3a;_0x502363===_0x3c5bcb[_0x360a30(0x298)]?_0x4d9964[_0x360a30(0x1b5)][_0x45d501['id']]=_0x45d501:_0x4d9964[_0x360a30(0x113)][_0x45d501['id']]=_0x45d501,Ut(_0x4d9964,_0x502363)[_0x360a30(0x304)](_0x221e66,0x0,_0x45d501['id']);}function os(_0x9508a9,_0x209295){const _0x5e09a0=_0x135d33,{area:_0x8ae01f,fieldId:_0x53a611,index:_0x375209}=_0x209295;_0x8ae01f===_0x3c5bcb[_0x5e09a0(0x298)]?delete _0x9508a9[_0x5e09a0(0x1b5)][_0x53a611]:delete _0x9508a9['dimension'][_0x53a611],Ut(_0x9508a9,_0x8ae01f)[_0x5e09a0(0x304)](_0x375209,0x1);}function ns(_0x1c287a,_0xfcb88b){const {fieldId:_0x510591,name:_0x190dde}=_0xfcb88b,_0x325fde=Je(_0x1c287a,_0x510591);_0x325fde&&(_0x325fde['displayName']=_0x190dde);}function is(_0x59f46d,_0x48b4c7){const _0x1d6f18=_0x135d33,{fieldId:_0x550823,collapse:_0x1ef29f,item:_0x3d0f78}=_0x48b4c7;_0x3d0f78!==void 0x0?(_0x59f46d[_0x1d6f18(0x13b)][_0x550823]=_0x59f46d[_0x1d6f18(0x13b)][_0x550823]||{},_0x59f46d[_0x1d6f18(0x13b)][_0x550823][_0x3d0f78]=_0x1ef29f):_0x59f46d[_0x1d6f18(0x13b)][_0x550823]=_0x1ef29f;}function ss(_0x3307d4,_0x310626){const _0x19f23c=_0x135d33,{fieldId:_0x1e0f5a,format:_0x553936}=_0x310626,_0x2b9829=Je(_0x3307d4,_0x1e0f5a);_0x2b9829&&(_0x2b9829[_0x19f23c(0x148)]=_0x553936);}function as(_0x40346e,_0x30152a){const {fieldId:_0x40cc49,filterInfo:_0x5b559b}=_0x30152a,_0x5207c7=Je(_0x40346e,_0x40cc49);_0x5207c7&&(_0x5207c7['filterInfo']=_0x5b559b);}function rs(_0x4fb2b3,_0x338186){const _0x316d25=_0x135d33,{fieldId:_0x27b6ff,filterInfo:_0x22b1d6}=_0x338186,_0x3d084f=_0x4fb2b3[_0x316d25(0x195)][_0x316d25(0x289)](_0x16c87c=>_0x16c87c[_0x316d25(0x332)]!==_0x27b6ff);_0x22b1d6&&_0x3d084f[_0x316d25(0x20d)]({'fieldId':_0x27b6ff,'filterInfo':_0x22b1d6}),_0x4fb2b3[_0x316d25(0x195)]=_0x3d084f;}function ls(_0x5d7188,_0x2e4784){const {fieldId:_0x4d806e,subtotalType:_0x39ef9a}=_0x2e4784,_0x1df1bd=Je(_0x5d7188,_0x4d806e);_0x1df1bd&&(_0x1df1bd['subtotal']=_0x39ef9a);}function cs(_0x9122e,_0x3b9e0b){const _0x5ccc43=_0x135d33,{fieldId:_0x12979a,oldArea:_0xd15bf0,area:_0x562641,oldIndex:_0x2b736c,index:_0x387ebc}=_0x3b9e0b,_0x1d21ad=_0xd15bf0!==_0x3c5bcb[_0x5ccc43(0x298)]&&_0x562641===_0x3c5bcb[_0x5ccc43(0x298)],_0x446302=_0xd15bf0===_0x3c5bcb[_0x5ccc43(0x298)]&&_0x562641!==_0x3c5bcb[_0x5ccc43(0x298)];if(_0x1d21ad||_0x446302){const _0xe6147c=Je(_0x9122e,_0x12979a);_0xe6147c&&(_0x1d21ad?(delete _0x9122e[_0x5ccc43(0x113)][_0x12979a],_0x9122e['measure'][_0x12979a]=_0xe6147c):(delete _0x9122e[_0x5ccc43(0x1b5)][_0x12979a],_0x9122e['dimension'][_0x12979a]=_0xe6147c));}const _0x4d217a=Ut(_0x9122e,_0xd15bf0),_0x5570f8=Ut(_0x9122e,_0x562641);_0x4d217a[_0x5ccc43(0x304)](_0x2b736c,0x1),_0x5570f8[_0x5ccc43(0x304)](_0x387ebc,0x0,_0x12979a);}function ds(_0x214824,_0x6cc1b9){const _0x5ec0db=_0x135d33,{valuePosition:_0x271b9b,index:_0x3ea16f}=_0x6cc1b9;_0x214824[_0x5ec0db(0x15f)]=_0x271b9b,_0x214824[_0x5ec0db(0x16e)]=_0x3ea16f;}function us(_0x3cc228,_0x170934){const _0x5e1bcb=_0x135d33,{tableFieldId:_0x3cc5e5,sourceName:_0x366a64,dataFieldId:_0x366d0b}=_0x170934,_0x1def4c=Je(_0x3cc228,_0x3cc5e5);_0x1def4c&&(_0x1def4c[_0x5e1bcb(0x120)]=_0x366a64,_0x1def4c[_0x5e1bcb(0x34b)]=_0x366d0b);}function fs(_0x505546,_0x33258a){const _0x5475ce=_0x135d33,{fieldId:_0x2670bf,sortInfo:_0x51630a}=_0x33258a,_0x1aab49=Je(_0x505546,_0x2670bf);_0x1aab49&&(_0x1aab49[_0x5475ce(0x33c)]=_0x51630a);}function gs(_0x1d71e3,_0x280278){const _0x47f7ca=_0x135d33,{options:_0x113a2a}=_0x280278;_0x1d71e3['options']={..._0x1d71e3[_0x47f7ca(0x30b)],..._0x113a2a};}const $t={'type':_0x593fdd['MUTATION'],'id':_0x135d33(0x24a),'handler'(_0x45b6cc,_0x22ccef){const _0x6f7498=_0x135d33;if(!_0x22ccef)return!0x1;if(!!_0x45b6cc['get'](_0x3eb233)['getConfig'](Y))return!0x0;const _0x1943bd=_0x45b6cc[_0x6f7498(0x13c)]($),{pivotTableId:_0x236c45,fieldJson:_0x81bc0e,area:_0x120ae7,index:_0x236867,unitId:_0x2af447,subUnitId:_0x5f5c8b}=_0x22ccef,_0x4771a0=_0x1943bd[_0x6f7498(0x1ff)](_0x236c45);if(!_0x4771a0)return!0x1;let _0x4bfede;_0x120ae7===_0x3c5bcb[_0x6f7498(0x298)]?_0x4bfede=_0x1d0299(_0x81bc0e):_0x4bfede=_0x5da705(_0x81bc0e),_0x4771a0[_0x6f7498(0x21b)](_0x4bfede,_0x120ae7,_0x236867);const _0x39d652=_0x1943bd['getPivotTableModelConfig'](_0x2af447,_0x5f5c8b,_0x236c45);ts(_0x39d652,_0x22ccef);const _0x8dd4fa=_0x1943bd['getPivotTableConfig'](_0x2af447,_0x5f5c8b,_0x236c45);return _0x1943bd['addDirtyPivotTable']({'unitId':_0x2af447,'subUnitId':_0x5f5c8b,'token':_0x236c45,'type':q['Set'],'pivotConfig':_0x8dd4fa}),!0x0;}},zt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':'sheet.mutation.remove-pivot-field','handler'(_0xa3f827,_0x2135f8){const _0x3ae8aa=_0x135d33;if(!_0x2135f8)return!0x1;if(!!_0xa3f827['get'](_0x3eb233)['getConfig'](Y))return!0x0;const _0x2ff89e=_0xa3f827['get']($),{pivotTableId:_0x19a786,fieldId:_0x1e0b4c,unitId:_0x3260cf,subUnitId:_0x4927db}=_0x2135f8,_0x406af5=_0x2ff89e[_0x3ae8aa(0x1ff)](_0x19a786);if(!_0x406af5)return!0x1;_0x406af5['removeField'](_0x1e0b4c);const _0x38d79f=_0x2ff89e['getPivotTableModelConfig'](_0x3260cf,_0x4927db,_0x19a786);os(_0x38d79f,_0x2135f8);const _0xa1cd40=_0x2ff89e[_0x3ae8aa(0x1c8)](_0x3260cf,_0x4927db,_0x19a786);return _0x2ff89e[_0x3ae8aa(0x25c)]({'unitId':_0x3260cf,'subUnitId':_0x4927db,'token':_0x19a786,'type':q['Set'],'pivotConfig':_0xa1cd40}),!0x0;}},Jt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x337292,_0x26f518){const _0x195665=_0x135d33;if(!_0x26f518)return!0x1;if(!!_0x337292[_0x195665(0x13c)](_0x3eb233)['getConfig'](Y))return!0x0;const _0x5a046c=_0x337292[_0x195665(0x13c)]($),{unitId:_0x3327f0,subUnitId:_0x13504e,pivotTableId:_0x5cd379,fieldId:_0x19cf61,name:_0x3838b3}=_0x26f518,_0x56b06b=_0x5a046c[_0x195665(0x1ff)](_0x5cd379);if(!_0x56b06b)return!0x1;_0x56b06b[_0x195665(0x198)](_0x19cf61,_0x3838b3);const _0x9d89c5=_0x5a046c[_0x195665(0x29c)](_0x3327f0,_0x13504e,_0x5cd379);return ns(_0x9d89c5,_0x26f518),_0x5a046c[_0x195665(0x25c)]({'unitId':_0x3327f0,'subUnitId':_0x13504e,'token':_0x5cd379,'type':q['Set']}),!0x0;}},Wt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x27b),'handler'(_0x19a209,_0x828c5b){const _0x284aab=_0x135d33;if(!_0x828c5b)return!0x1;if(!!_0x19a209[_0x284aab(0x13c)](_0x3eb233)[_0x284aab(0x1d8)](Y))return!0x0;const _0x59e2bd=_0x19a209[_0x284aab(0x13c)]($),{unitId:_0x166180,subUnitId:_0xfa1f30,pivotTableId:_0x228711,fieldId:_0x4311c7,collapse:_0x12607d,item:_0x29d5c3}=_0x828c5b,_0x1674d5=_0x59e2bd[_0x284aab(0x1ff)](_0x228711);if(!_0x1674d5)return!0x1;_0x1674d5['setCollapse'](_0x4311c7,_0x12607d,_0x29d5c3);const _0x521861=_0x59e2bd[_0x284aab(0x29c)](_0x166180,_0xfa1f30,_0x228711);return is(_0x521861,_0x828c5b),_0x59e2bd['addDirtyPivotTable']({'unitId':_0x166180,'subUnitId':_0xfa1f30,'token':_0x228711,'type':q[_0x284aab(0x145)]}),!0x0;}},Gt={'type':_0x593fdd['MUTATION'],'id':_0x135d33(0x2ee),'handler'(_0x2d47e8,_0x2d1d68){const _0x57775f=_0x135d33;if(!_0x2d1d68)return!0x1;if(!!_0x2d47e8['get'](_0x3eb233)[_0x57775f(0x1d8)](Y))return!0x0;const _0x390e1e=_0x2d47e8[_0x57775f(0x13c)]($),{unitId:_0x36a6c8,subUnitId:_0x1e9701,pivotTableId:_0x47e096,fieldId:_0x476060,format:_0x24730b}=_0x2d1d68,_0x420030=_0x390e1e[_0x57775f(0x1ff)](_0x47e096);if(!_0x420030)return!0x1;_0x420030[_0x57775f(0x291)](_0x476060,_0x24730b);const _0x316530=_0x390e1e[_0x57775f(0x29c)](_0x36a6c8,_0x1e9701,_0x47e096);return ss(_0x316530,_0x2d1d68),_0x390e1e[_0x57775f(0x25c)]({'unitId':_0x36a6c8,'subUnitId':_0x1e9701,'token':_0x47e096,'type':q[_0x57775f(0x145)]}),!0x0;}},jt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x213),'handler'(_0x30aee4,_0x4f0077){const _0x408356=_0x135d33;if(!_0x4f0077)return!0x1;if(!!_0x30aee4[_0x408356(0x13c)](_0x3eb233)[_0x408356(0x1d8)](Y))return!0x0;const _0x16307f=_0x30aee4[_0x408356(0x13c)]($),{unitId:_0x1150b1,subUnitId:_0x5d5540,pivotTableId:_0x1edd17,fieldId:_0x12a5fb,filterInfo:_0x166ef4}=_0x4f0077,_0x44a46d=_0x16307f['getPivotTableInstance'](_0x1edd17);if(!_0x44a46d)return!0x1;_0x44a46d[_0x408356(0x2bd)](_0x12a5fb,_0x166ef4);const _0x4a1490=_0x16307f[_0x408356(0x29c)](_0x1150b1,_0x5d5540,_0x1edd17);return as(_0x4a1490,_0x4f0077),_0x16307f[_0x408356(0x25c)]({'unitId':_0x1150b1,'subUnitId':_0x5d5540,'token':_0x1edd17,'type':q[_0x408356(0x145)]}),!0x0;}},Kt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x1df),'handler'(_0x472544,_0x403822){const _0x13a261=_0x135d33;if(!_0x403822)return!0x1;if(!!_0x472544[_0x13a261(0x13c)](_0x3eb233)['getConfig'](Y))return!0x0;const _0x560a18=_0x472544[_0x13a261(0x13c)]($),{unitId:_0x193739,subUnitId:_0x2a1ead,pivotTableId:_0x26f730,options:_0x35a235}=_0x403822,_0x1b2ac7=_0x560a18[_0x13a261(0x1ff)](_0x26f730);if(!_0x1b2ac7)return!0x1;_0x1b2ac7['setOptions'](_0x35a235);const _0x3f1a64=_0x560a18[_0x13a261(0x29c)](_0x193739,_0x2a1ead,_0x26f730);return gs(_0x3f1a64,_0x403822),_0x560a18[_0x13a261(0x25c)]({'unitId':_0x193739,'subUnitId':_0x2a1ead,'token':_0x26f730,'type':q[_0x13a261(0x145)]}),!0x0;}},Ht={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x2a1),'handler'(_0x472663,_0x3e466e){const _0x281117=_0x135d33;if(!_0x3e466e)return!0x1;if(!!_0x472663[_0x281117(0x13c)](_0x3eb233)[_0x281117(0x1d8)](Y))return!0x0;const _0xd72b3b=_0x472663[_0x281117(0x13c)]($),{unitId:_0x1d5a72,subUnitId:_0xb9857e,pivotTableId:_0x25536d,sortInfo:_0x212c94,fieldId:_0x353b16}=_0x3e466e,_0x2c0366=_0xd72b3b['getPivotTableInstance'](_0x25536d);if(!_0x2c0366)return!0x1;_0x2c0366[_0x281117(0x1f2)](_0x353b16,_0x212c94);const _0x279297=_0xd72b3b['getPivotTableModelConfig'](_0x1d5a72,_0xb9857e,_0x25536d);return fs(_0x279297,_0x3e466e),_0xd72b3b[_0x281117(0x25c)]({'unitId':_0x1d5a72,'subUnitId':_0xb9857e,'token':_0x25536d,'type':q[_0x281117(0x145)]}),!0x0;}},Yt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x327c93,_0x34fd52){const _0x18f001=_0x135d33;if(!_0x34fd52)return!0x1;if(!!_0x327c93[_0x18f001(0x13c)](_0x3eb233)['getConfig'](Y))return!0x0;const _0x1ba5c2=_0x327c93['get']($),{unitId:_0x46e7a3,subUnitId:_0x427059,pivotTableId:_0x34e647,fieldId:_0x4fdcde,subtotalType:_0x3dbe5e}=_0x34fd52,_0x5aa792=_0x1ba5c2[_0x18f001(0x1ff)](_0x34e647);if(!_0x5aa792)return!0x1;_0x5aa792['setSubtotalType'](_0x4fdcde,_0x3dbe5e);const _0x9cc577=_0x1ba5c2[_0x18f001(0x29c)](_0x46e7a3,_0x427059,_0x34e647);return ls(_0x9cc577,_0x34fd52),_0x1ba5c2[_0x18f001(0x25c)]({'unitId':_0x46e7a3,'subUnitId':_0x427059,'token':_0x34e647,'type':q[_0x18f001(0x145)]}),!0x0;}},Zt={'type':_0x593fdd['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x305218,_0xf8e484){const _0x24b098=_0x135d33;if(!_0xf8e484)return!0x1;if(!!_0x305218['get'](_0x3eb233)['getConfig'](Y))return!0x0;const _0x54f1cd=_0x305218[_0x24b098(0x13c)]($),{unitId:_0x5187dd,subUnitId:_0x1684e2,pivotTableId:_0x5cce3a,fieldId:_0x17c198,filterInfo:_0x1600bf}=_0xf8e484,_0x32e5af=_0x54f1cd['getPivotTableInstance'](_0x5cce3a);if(!_0x32e5af)return!0x1;_0x32e5af[_0x24b098(0x266)](_0x17c198,_0x1600bf);const _0x2727db=_0x54f1cd[_0x24b098(0x29c)](_0x5187dd,_0x1684e2,_0x5cce3a);return rs(_0x2727db,_0xf8e484),_0x54f1cd[_0x24b098(0x25c)]({'unitId':_0x5187dd,'subUnitId':_0x1684e2,'token':_0x5cce3a,'type':q[_0x24b098(0x145)]}),!0x0;}},Qt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x2b8),'handler'(_0x96e64c,_0x4b27e2){const _0x2d5e8d=_0x135d33;if(!_0x4b27e2)return!0x1;if(!!_0x96e64c[_0x2d5e8d(0x13c)](_0x3eb233)[_0x2d5e8d(0x1d8)](Y))return!0x0;const _0x536cf7=_0x96e64c[_0x2d5e8d(0x13c)]($),{unitId:_0x42b753,subUnitId:_0x28725a,pivotTableId:_0x4e9156,area:_0x2044ec,index:_0x36ef53,fieldId:_0x5d8038}=_0x4b27e2,_0x2dd062=_0x536cf7['getPivotTableInstance'](_0x4e9156);if(!_0x2dd062)return!0x1;_0x2dd062[_0x2d5e8d(0x24b)](_0x5d8038,_0x2044ec,_0x36ef53);const _0x11024c=_0x536cf7['getPivotTableModelConfig'](_0x42b753,_0x28725a,_0x4e9156);return cs(_0x11024c,_0x4b27e2),_0x536cf7[_0x2d5e8d(0x25c)]({'unitId':_0x42b753,'subUnitId':_0x28725a,'token':_0x4e9156,'type':q[_0x2d5e8d(0x145)]}),!0x0;}},Xt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x1d1),'handler'(_0x54412b,_0x310520){const _0x180031=_0x135d33;if(!_0x310520)return!0x1;if(!!_0x54412b['get'](_0x3eb233)[_0x180031(0x1d8)](Y))return!0x0;const _0x39c18f=_0x54412b[_0x180031(0x13c)]($),{unitId:_0x575f93,subUnitId:_0x1d49c6,pivotTableId:_0x3a7ab5,sourceName:_0x2d8107,dataFieldId:_0x2c7664,tableFieldId:_0xa1cc1}=_0x310520,_0x4f0084=_0x39c18f[_0x180031(0x1ff)](_0x3a7ab5);if(!_0x4f0084)return!0x1;_0x4f0084[_0x180031(0x2e5)](_0xa1cc1,_0x2d8107,_0x2c7664);const _0xf00c00=_0x39c18f['getPivotTableModelConfig'](_0x575f93,_0x1d49c6,_0x3a7ab5);return us(_0xf00c00,_0x310520),_0x39c18f[_0x180031(0x25c)]({'unitId':_0x575f93,'subUnitId':_0x1d49c6,'token':_0x3a7ab5,'type':q[_0x180031(0x145)]}),!0x0;}},eo={'type':_0x593fdd['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x27a2c8,_0x5a182f){const _0x2f2a7e=_0x135d33;if(!_0x5a182f)return!0x1;if(!!_0x27a2c8[_0x2f2a7e(0x13c)](_0x3eb233)[_0x2f2a7e(0x1d8)](Y))return!0x0;const _0x3f4280=_0x27a2c8[_0x2f2a7e(0x13c)]($),{unitId:_0x1e0fc6,subUnitId:_0x5e62fb,pivotTableId:_0x50a444,valuePosition:_0x481759,index:_0x396b2b}=_0x5a182f,_0x585304=_0x3f4280[_0x2f2a7e(0x1ff)](_0x50a444);if(!_0x585304)return!0x1;_0x585304[_0x2f2a7e(0x38f)](_0x481759,_0x396b2b);const _0x1efffb=_0x3f4280['getPivotTableModelConfig'](_0x1e0fc6,_0x5e62fb,_0x50a444);return ds(_0x1efffb,_0x5a182f),_0x3f4280['addDirtyPivotTable']({'unitId':_0x1e0fc6,'subUnitId':_0x5e62fb,'token':_0x50a444,'type':q[_0x2f2a7e(0x145)]}),!0x0;}};function me(_0x389978,_0x145a73,_0x59f682){const _0x554d97=_0x135d33,{pivotTableId:_0x1fd4e3,unitId:_0x19ddd9,subUnitId:_0x149095}=_0x145a73,_0x5b8d71=[],_0x482f4f=[];for(const _0x3bc53e of _0x59f682)switch(_0x3bc53e[_0x554d97(0x111)]){case _0x43f1aa[_0x554d97(0x307)]:{const {fieldJson:_0x39717e,area:_0x3514c8,index:_0x31a865}=_0x3bc53e,_0x775b69={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldJson':_0x39717e,'area':_0x3514c8,'index':_0x31a865},_0x4a1757={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x39717e['id'],'area':_0x3514c8,'index':_0x31a865};_0x5b8d71['push']({'id':$t['id'],'params':_0x775b69}),_0x482f4f[_0x554d97(0x393)]({'id':zt['id'],'params':_0x4a1757});}break;case _0x43f1aa[_0x554d97(0x217)]:{const {fieldId:_0x292586,newSubtotalType:_0x16f26a,oldSubtotalType:_0x1ad115}=_0x3bc53e,_0xa1ebce={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x292586,'subtotalType':_0x16f26a};_0x5b8d71[_0x554d97(0x20d)]({'id':Yt['id'],'params':_0xa1ebce});const _0x48ff27={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x292586,'subtotalType':_0x1ad115};_0x482f4f[_0x554d97(0x393)]({'id':Yt['id'],'params':_0x48ff27});}break;case _0x43f1aa[_0x554d97(0x2d5)]:{const {fieldId:_0x1cb56d,fieldJson:_0x1d91ae,area:_0x5000a5,index:_0x356ac3}=_0x3bc53e,_0x2b1dcb={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x1cb56d,'index':_0x356ac3,'area':_0x5000a5};_0x5b8d71['push']({'id':zt['id'],'params':_0x2b1dcb});const _0x41b136={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldJson':_0x1d91ae,'area':_0x5000a5,'index':_0x356ac3};_0x482f4f[_0x554d97(0x393)]({'id':$t['id'],'params':_0x41b136});}break;case _0x43f1aa['RenameField']:{const {fieldId:_0x5cbfcc,oldName:_0x389e56,newName:_0x105400}=_0x3bc53e,_0x5d45bf={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x5cbfcc,'name':_0x105400};_0x5b8d71['push']({'id':Jt['id'],'params':_0x5d45bf});const _0x14badd={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x5cbfcc,'name':_0x389e56};_0x482f4f[_0x554d97(0x393)]({'id':Jt['id'],'params':_0x14badd});}break;case _0x43f1aa['SetFilterInfo']:{const {fieldId:_0x5fb380,oldFilterInfo:_0x5551e0,newFilterInfo:_0x2c44ab}=_0x3bc53e,_0x4b84af={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x5fb380,'filterInfo':_0x2c44ab};_0x5b8d71[_0x554d97(0x20d)]({'id':jt['id'],'params':_0x4b84af});const _0x17df0a={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x5fb380,'filterInfo':_0x5551e0};_0x482f4f['unshift']({'id':jt['id'],'params':_0x17df0a});}break;case _0x43f1aa[_0x554d97(0x267)]:{const {fieldId:_0x2ac87f,oldSortInfo:_0xc1a7d6,newSortInfo:_0x5d0b46}=_0x3bc53e,_0x4f64c3={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x2ac87f,'sortInfo':_0x5d0b46};_0x5b8d71['push']({'id':Ht['id'],'params':_0x4f64c3});const _0x46ee17={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x2ac87f,'sortInfo':_0xc1a7d6};_0x482f4f[_0x554d97(0x393)]({'id':Ht['id'],'params':_0x46ee17});}break;case _0x43f1aa[_0x554d97(0x36d)]:{const {oldOptions:_0x4721da,newOptions:_0x321f2c}=_0x3bc53e,_0x54118d={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'options':_0x321f2c};_0x5b8d71[_0x554d97(0x20d)]({'id':Kt['id'],'params':_0x54118d});const _0x409092={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'options':_0x4721da};_0x482f4f[_0x554d97(0x393)]({'id':Kt['id'],'params':_0x409092});}break;case _0x43f1aa[_0x554d97(0x263)]:{const {oldArea:_0x52a925,newArea:_0x12b0e0,oldIndex:_0x5019e7,newIndex:_0x300c6e,fieldId:_0x34946b}=_0x3bc53e,_0x312d95={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x34946b,'area':_0x12b0e0,'index':_0x300c6e,'oldArea':_0x52a925,'oldIndex':_0x5019e7};_0x5b8d71[_0x554d97(0x20d)]({'id':Qt['id'],'params':_0x312d95});const _0x12ae66={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x34946b,'area':_0x52a925,'index':_0x5019e7,'oldArea':_0x12b0e0,'oldIndex':_0x300c6e};_0x482f4f[_0x554d97(0x393)]({'id':Qt['id'],'params':_0x12ae66});}break;case _0x43f1aa[_0x554d97(0x284)]:{const {oldValuePosition:_0x5b15fe,newValuePosition:_0x9fa703,oldIndex:_0x40bff5,newIndex:_0x5e6aac}=_0x3bc53e,_0x203910={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'valuePosition':_0x9fa703,'index':_0x5e6aac};_0x5b8d71[_0x554d97(0x20d)]({'id':eo['id'],'params':_0x203910});const _0x16e429={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'valuePosition':_0x5b15fe,'index':_0x40bff5};_0x482f4f[_0x554d97(0x393)]({'id':eo['id'],'params':_0x16e429});}break;case _0x43f1aa['SetCollapse']:{const {fieldId:_0x4f6faa,collapse:_0x22b808,item:_0x5a61d5}=_0x3bc53e,_0x18f309={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x4f6faa,'collapse':_0x22b808,'item':_0x5a61d5};_0x5b8d71[_0x554d97(0x20d)]({'id':Wt['id'],'params':_0x18f309});const _0x284a2a={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x4f6faa,'collapse':!_0x22b808,'item':_0x5a61d5};_0x482f4f[_0x554d97(0x393)]({'id':Wt['id'],'params':_0x284a2a});}break;case _0x43f1aa[_0x554d97(0x37d)]:{const {newFormat:_0x165b9a,oldFormat:_0x24dd50,fieldId:_0x189b30}=_0x3bc53e,_0x43e8ee={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x189b30,'format':_0x165b9a};_0x5b8d71[_0x554d97(0x20d)]({'id':Gt['id'],'params':_0x43e8ee});const _0x1a6e8b={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x189b30,'format':_0x24dd50};_0x482f4f[_0x554d97(0x393)]({'id':Gt['id'],'params':_0x1a6e8b});}break;case _0x43f1aa[_0x554d97(0x391)]:{const {tableFieldId:_0xaeed18,oldSourceName:_0x171aa4,newSourceName:_0x2e08b5,oldDataFieldId:_0x2c304b,newDataFieldId:_0x5932ac}=_0x3bc53e,_0x144599={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'tableFieldId':_0xaeed18,'sourceName':_0x2e08b5,'dataFieldId':_0x5932ac};_0x5b8d71[_0x554d97(0x20d)]({'id':Xt['id'],'params':_0x144599});const _0x3cdcee={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'tableFieldId':_0xaeed18,'sourceName':_0x171aa4,'dataFieldId':_0x2c304b};_0x482f4f['unshift']({'id':Xt['id'],'params':_0x3cdcee});}break;case _0x43f1aa[_0x554d97(0x133)]:{const {fieldId:_0x40d57b,filterInfo:_0x2ed0a7,oldFilterInfo:_0x19b948}=_0x3bc53e,_0xbf05f0={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x40d57b,'filterInfo':_0x2ed0a7};_0x5b8d71[_0x554d97(0x20d)]({'id':Zt['id'],'params':_0xbf05f0});const _0x195848={'unitId':_0x19ddd9,'subUnitId':_0x149095,'pivotTableId':_0x1fd4e3,'fieldId':_0x40d57b,'filterInfo':_0x19b948};_0x482f4f[_0x554d97(0x393)]({'id':Zt['id'],'params':_0x195848});}}return{'redos':_0x5b8d71,'undos':_0x482f4f};}function _e(_0x8269fa,_0x2c3b70){const _0x50c32d=_0x135d33;var _0x588781;const _0x3646ff=_0x8269fa['get'](ie),{cellInfo:_0x4adceb,view:_0x2be2be,isEmpty:_0x5d0b03}=_0x2c3b70;return(_0x588781=_0x3646ff[_0x50c32d(0x179)][_0x50c32d(0x24e)](zo)(Po,{'cellInfo':_0x4adceb,'view':_0x2be2be,'isEmpty':_0x5d0b03}))!=null?_0x588781:Po;}const vs={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x27c),async 'handler'(_0x3b1b49,_0x57e43c){const _0x53de29=_0x135d33;if(!_0x57e43c)return!0x1;const _0x3918b1=_0x3b1b49[_0x53de29(0x13c)](_0x106ecf),_0x1cfc4b=_0x3b1b49[_0x53de29(0x13c)](Q),_0x21c804=_0x3b1b49[_0x53de29(0x13c)](_0x3dd8e4),{pivotTableId:_0x40ac9b,dataFieldId:_0x32f637,fieldArea:_0x3d4698,index:_0x5e7299,unitId:_0x3c1a5e,subUnitId:_0x378cdf}=_0x57e43c,_0x3a2888=(await _0x1cfc4b[_0x53de29(0x197)]({'unitId':_0x3c1a5e,'subUnitId':_0x378cdf,'pivotTableId':_0x40ac9b,'params':{'type':k[_0x53de29(0x28a)],'addPivotField':{'dataFieldId':_0x32f637,'fieldArea':_0x3d4698,'index':_0x5e7299}}}))[_0x53de29(0x126)]['addPivotField'];if(!_0x3a2888)return!0x1;const {view:_0xbf7282,changesets:_0x4ad920,isEmpty:_0x46ca4b,pivotTableConfig:_0x152dbc,shouldBeAddedGroupJSON:_0x1be6d7}=_0x3a2888,_0x39d36d=_0x152dbc[_0x53de29(0x12e)],_0x3285be=new _0x25f857();_0x3285be['formJSON'](_0xbf7282);const _0x3baec1={'cellInfo':_0x39d36d,'view':_0x3285be,'isEmpty':_0x46ca4b};if(!await _0x3b1b49[_0x53de29(0x13c)](ie)[_0x53de29(0x2eb)][_0x53de29(0x1b3)](be)(!0x0,_0x3baec1))return!0x1;const _0x306128=we(_0x3b1b49,_0x3285be,_0x39d36d,_0x46ca4b),_0x47c7c4=_e(_0x3b1b49,_0x3baec1),{undos:_0x1ac7f,redos:_0x686a84}=me(_0x3918b1,{'pivotTableId':_0x40ac9b,'unitId':_0x3c1a5e,'subUnitId':_0x378cdf},_0x4ad920);return _0x1be6d7&&(_0x686a84[_0x53de29(0x393)]({'id':Zo['id'],'params':{'pivotTableId':_0x40ac9b,'fieldJSON':_0x1be6d7,'unitId':_0x3c1a5e,'subUnitId':_0x378cdf}}),_0x1ac7f[_0x53de29(0x20d)]({'id':Qo['id'],'params':{'pivotTableId':_0x40ac9b,'dataFieldId':_0x1be6d7['id'],'unitId':_0x3c1a5e,'subUnitId':_0x378cdf}})),_0x44b6ee([..._0x306128['redos'],..._0x47c7c4['redos'],..._0x686a84],_0x3918b1),_0x21c804[_0x53de29(0x2f4)]({'unitID':_0x3c1a5e,'redoMutations':[..._0x306128[_0x53de29(0x261)],..._0x47c7c4[_0x53de29(0x261)],..._0x686a84],'undoMutations':[..._0x306128['undos'],..._0x47c7c4[_0x53de29(0x17a)],..._0x1ac7f]}),!0x0;}},hs=()=>typeof process<'u'&&process[_0x135d33(0x110)]!=null&&process['versions'][_0x135d33(0x1f4)]!=null,Ct={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x36e),'handler'(_0x63d85,_0x29b9bb){const _0x4767e2=_0x135d33;var _0x17cc01;if(!_0x29b9bb)return!0x1;const _0x281534=_0x63d85[_0x4767e2(0x13c)](_0x3eb233);if(!!_0x281534[_0x4767e2(0x1d8)](Y))return!0x0;const _0x50e114=_0x63d85['get'](_0x37efd4),_0x4e9a9b=_0x63d85['get']($),{pivotTableId:_0x2bb3f1,pivotTableConfig:_0x1ebc49,collectionConfig:_0x3c7bdb,unitId:_0xf42046,subUnitId:_0x3b85f2}=_0x29b9bb,{sourceRangeInfo:_0x5831bc,fieldsConfig:_0x37bdaf,targetCellInfo:_0x5c754c}=_0x1ebc49,_0x5bc0de=_0x50e114[_0x4767e2(0x273)](_0xf42046);if(!_0x5bc0de||!_0x5bc0de[_0x4767e2(0x2b7)](_0x3b85f2))return!0x1;if(!hs()){let _0x524d3c=0x0;_0x5bc0de[_0x4767e2(0x19c)]()['forEach'](_0x1e7a56=>{const _0x380d9e=_0x4767e2;var _0x1e2804,_0x24911f;_0x524d3c+=(_0x24911f=(_0x1e2804=_0x4e9a9b[_0x380d9e(0x1b2)](_0xf42046,_0x1e7a56[_0x380d9e(0x354)]()))==null?void 0x0:_0x1e2804[_0x380d9e(0x1b6)])!=null?_0x24911f:0x0;});const _0x3b7cc2=(_0x17cc01=_0x281534[_0x4767e2(0x1d8)](_0x57fa77))!=null?_0x17cc01:{},{ls:_0x11de46,pbk:_0x4787d3}=_0x3b7cc2;if(!jo(_0x11de46,_0x4787d3))throw new _0x3cfb16(_0x4767e2(0x122));const _0x522f64=go(so,_0x11de46,_0x4787d3)[_0x4767e2(0x2ad)];if(_0x524d3c>=_0x522f64)throw new _0x3cfb16(_0x4767e2(0x122));}if(!_0x3c7bdb||!_0x37bdaf)return!0x1;const {collection:_0x26d0eb,updateDataFieldList:_0x46085e}=_0x4e9a9b[_0x4767e2(0x302)](_0x2bb3f1,_0x3c7bdb,_0x5831bc,_0x5c754c);_0x4e9a9b[_0x4767e2(0x124)](_0x26d0eb,_0x46085e,_0x5831bc);const _0x398eca=new _0x409598(_0x26d0eb,void 0x0,_0x2bb3f1);_0x398eca[_0x4767e2(0x359)](_0x37bdaf);const _0x46b93a=JSON['parse'](JSON[_0x4767e2(0x34e)](_0x1ebc49));return _0x4e9a9b[_0x4767e2(0x277)](_0xf42046,_0x3b85f2,_0x2bb3f1,_0x398eca,_0x46b93a),_0x4e9a9b['addDirtyPivotTable']({'unitId':_0xf42046,'subUnitId':_0x3b85f2,'token':_0x2bb3f1,'type':q[_0x4767e2(0x19b)],'pivotConfig':_0x46b93a}),!0x0;}},ps={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x186),async 'handler'(_0x537c83,_0x5c5a81){const _0x4e9216=_0x135d33;if(!_0x5c5a81)return!0x1;const {sourceDataInfo:_0x11951c,pivotTableConfig:_0x374481}=_0x5c5a81;if(!_0x11951c||!_0x374481)return!0x1;const {unitId:_0x3fd7d5,subUnitId:_0x4aee4e,range:_0x2440b4}=_0x11951c,_0x59f5fd=_0x537c83['get'](_0x37efd4),_0x1235fe=_0x537c83[_0x4e9216(0x13c)](Q),_0x15d4dc=_0x537c83[_0x4e9216(0x13c)](_0x376940),_0x2d8b8f=_0x537c83[_0x4e9216(0x13c)](_0x106ecf),_0x746394=_0x59f5fd[_0x4e9216(0x273)](_0x3fd7d5);if(!_0x746394)return!0x1;const _0x109096=_0x746394['getSheetBySheetId'](_0x4aee4e);if(!_0x109096)return!0x1;const _0x154484=_0xd1b26e(0x8),_0x57e688=_0x2440b4||{'startRow':0x0,'startColumn':0x0,'endRow':_0x109096[_0x4e9216(0x2ea)]()-0x1,'endColumn':_0x109096[_0x4e9216(0x1bf)]()-0x1};_0x57e688[_0x4e9216(0x16f)]=_0x5c6d82['NORMAL'];const _0x5ee3a0=(await _0x1235fe[_0x4e9216(0x197)]({'unitId':_0x3fd7d5,'subUnitId':_0x4aee4e,'pivotTableId':_0x154484,'params':{'type':k[_0x4e9216(0x2c6)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x3fd7d5,'sheetName':_0x109096[_0x4e9216(0x265)](),'subUnitId':_0x4aee4e,'range':_0x57e688},'pivotTableId':_0x154484,'pivotTableIndexConfig':_0x374481}}}))[_0x4e9216(0x126)][_0x4e9216(0x177)];if(!_0x5ee3a0)return!0x1;const {isEmpty:_0xdf4f5,fieldsConfig:_0x37e736,collectionConfig:_0x4ccb67,changesets:_0x3eb832}=_0x5ee3a0,_0x27ec58=_0x746394[_0x4e9216(0x19c)]()[_0x4e9216(0x312)],_0x6701ab=_0x5249c7({'rowCount':_0x109096['getRowCount']()-0x1,'columnCount':_0x109096['getColumnCount']()-0x1});_0x6701ab['id']=_0xd722a0(),_0x6701ab['name']=_0x746394[_0x4e9216(0x272)](''+_0x15d4dc['t'](_0x4e9216(0x310)));const _0x39e3bd={'index':_0x27ec58,'sheet':_0x6701ab,'unitId':_0x3fd7d5},{redos:_0x478a85}=me(_0x2d8b8f,{'pivotTableId':_0x154484,'unitId':_0x3fd7d5,'subUnitId':_0x6701ab['id']},_0x3eb832),_0x367436=[{'id':_0x137fb8['id'],'params':_0x39e3bd},{'id':Ct['id'],'params':{'unitId':_0x3fd7d5,'subUnitId':_0x6701ab['id'],'pivotTableId':_0x154484,'pivotTableConfig':{'isEmpty':_0xdf4f5,'fieldsConfig':_0x37e736,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x3fd7d5,'subUnitId':_0x6701ab['id']},'sourceRangeInfo':{'subUnitId':_0x4aee4e,'unitId':_0x3fd7d5,'range':_0x57e688,'sheetName':_0x109096['getName']()}},'collectionConfig':_0x4ccb67}},..._0x478a85];return _0x44b6ee(_0x367436,_0x2d8b8f),!0x0;}},Et={'type':_0x593fdd['MUTATION'],'id':_0x135d33(0x285),'handler'(_0x1be445,_0x37d767){const _0x2d8dc1=_0x135d33;if(!_0x37d767)return!0x1;if(!!_0x1be445['get'](_0x3eb233)[_0x2d8dc1(0x1d8)](Y))return!0x0;const {pivotTableId:_0x39e446,unitId:_0x12e86c,subUnitId:_0x518ec1}=_0x37d767,_0x48a868=_0x1be445[_0x2d8dc1(0x13c)]($);return _0x48a868['getPivotTableConfig'](_0x12e86c,_0x518ec1,_0x39e446)?(_0x48a868[_0x2d8dc1(0x25c)]({'unitId':_0x12e86c,'subUnitId':_0x518ec1,'token':_0x39e446,'type':q[_0x2d8dc1(0x274)]}),_0x48a868[_0x2d8dc1(0x37a)](_0x12e86c,_0x518ec1,_0x39e446),!0x0):!0x1;}},ms={'type':_0x593fdd[_0x135d33(0x2db)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x47ee32,_0x145203){const _0x265622=_0x135d33;var _0x37c6ef,_0x5eb0af;const _0x537cb7=_0x47ee32[_0x265622(0x13c)](_0x106ecf),_0x354daa=_0x47ee32[_0x265622(0x13c)](_0x37efd4),_0xf7d3e2=_0x47ee32['get'](_0x376940),_0x51daad=_0x47ee32[_0x265622(0x13c)](Q),_0x507cef=_0x47ee32[_0x265622(0x13c)](_0x3dd8e4),_0x47087a=_0x47ee32[_0x265622(0x13c)](he),_0x38d00b=_0x47ee32[_0x265622(0x13c)](_0x3eb233);if(!_0x145203)return!0x1;const {pivotTableConfig:_0x348088,positionType:_0xb88c7f}=_0x145203,{targetCellInfo:_0x39ef0d,sourceRangeInfo:_0x380e82}=_0x348088,{unitId:_0x5e5099,subUnitId:_0x280bee}=_0x39ef0d,_0x8fe7ec=_0x354daa[_0x265622(0x273)](_0x5e5099);if(!_0x8fe7ec)return!0x1;let _0x3af021=0x0;_0x8fe7ec['getSheets']()[_0x265622(0x314)](_0x25b518=>{const _0x4a45f4=_0x265622;var _0x219a45,_0x1b396f;_0x3af021+=(_0x1b396f=(_0x219a45=_0x47087a[_0x4a45f4(0x1b2)](_0x5e5099,_0x25b518['getSheetId']()))==null?void 0x0:_0x219a45[_0x4a45f4(0x1b6)])!=null?_0x1b396f:0x0;});const _0x315b6b=(_0x37c6ef=_0x38d00b[_0x265622(0x1d8)](_0x57fa77))!=null?_0x37c6ef:{},{ls:_0x3e7c69,pbk:_0x5479b0}=_0x315b6b;if(!jo(_0x3e7c69,_0x5479b0))return!0x1;const _0x4e1cdc=go(so,_0x3e7c69,_0x5479b0)[_0x265622(0x2ad)];if(_0x3af021>=_0x4e1cdc)return!0x1;const _0x1f2cee=_0x145203[_0x265622(0x23e)]||_0xd1b26e(0x8),_0x4310b0=(await _0x51daad[_0x265622(0x197)]({'unitId':_0x5e5099,'subUnitId':_0x280bee,'pivotTableId':_0x1f2cee,'params':{'type':k[_0x265622(0x151)],'addPivotTable':{'sourceRangeInfo':_0x380e82,'pivotTableId':_0x1f2cee}}}))[_0x265622(0x126)]['addPivotTable'];if(!_0x4310b0)return!0x1;const {view:_0x320d07,isEmpty:_0x263103,fieldsConfig:_0x1584ba,collectionConfig:_0x13182d}=_0x4310b0,_0x193b1a=[],_0x3493e4=[];if(_0xb88c7f===Bo[_0x265622(0x2dc)]){const _0xba1cee=_0x8fe7ec[_0x265622(0x19c)]()[_0x265622(0x312)],_0x2c9a53=_0x5249c7({});_0x2c9a53['id']=_0x348088[_0x265622(0x12e)][_0x265622(0x1d3)],_0x2c9a53[_0x265622(0x1ec)]=(_0x5eb0af=_0x348088[_0x265622(0x12e)][_0x265622(0x1cb)])!=null?_0x5eb0af:_0x8fe7ec[_0x265622(0x272)](''+_0xf7d3e2['t'](_0x265622(0x310)));const _0x1fd7e7={'index':_0xba1cee,'sheet':_0x2c9a53,'unitId':_0x5e5099},_0x23bcc2=_0x4b2754(_0x47ee32,_0x1fd7e7);_0x193b1a['push']({'id':_0x42fff9['id'],'params':_0x23bcc2}),_0x3493e4[_0x265622(0x20d)]({'id':_0x5ca940['id'],'params':_0x1fd7e7});}else{if(!_0x8fe7ec[_0x265622(0x2b7)](_0x280bee))return!0x1;const _0x1b11b0=we(_0x47ee32,new _0x25f857(),_0x39ef0d,!0x0);_0x3493e4['push'](..._0x1b11b0[_0x265622(0x261)]),_0x193b1a['push'](..._0x1b11b0[_0x265622(0x17a)]);const _0x4aade3={'cellInfo':_0x39ef0d,'view':_0x320d07,'isEmpty':_0x263103};if(!await _0x47ee32[_0x265622(0x13c)](ie)[_0x265622(0x2eb)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4aade3))return!0x1;const _0x5987b=_e(_0x47ee32,_0x4aade3);_0x3493e4['push'](..._0x5987b[_0x265622(0x261)]),_0x193b1a[_0x265622(0x20d)](..._0x5987b[_0x265622(0x17a)]);}return _0x3493e4[_0x265622(0x20d)]({'id':Ct['id'],'params':{'unitId':_0x39ef0d[_0x265622(0x1bd)],'subUnitId':_0x39ef0d[_0x265622(0x1d3)],'pivotTableId':_0x1f2cee,'pivotTableConfig':{'targetCellInfo':_0x39ef0d,'sourceRangeInfo':_0x380e82,'fieldsConfig':_0x1584ba},'collectionConfig':_0x13182d}}),_0x193b1a[_0x265622(0x393)]({'id':Et['id'],'params':{'unitId':_0x5e5099,'subUnitId':_0x280bee,'pivotTableId':_0x1f2cee}}),_0x44b6ee(_0x3493e4,_0x537cb7)&&_0x507cef[_0x265622(0x2f4)]({'unitID':_0x5e5099,'undoMutations':_0x193b1a,'redoMutations':_0x3493e4}),!0x0;}},Is={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x2ac),async 'handler'(_0x1f9df7,_0x292ed6){const _0x2b802f=_0x135d33;if(!_0x292ed6)return!0x1;const _0x23075d=_0x1f9df7[_0x2b802f(0x13c)](_0x106ecf),_0x68d3fc=_0x1f9df7['get'](Q),_0x5f07ef=_0x1f9df7[_0x2b802f(0x13c)](_0x3dd8e4),{pivotTableId:_0x31c63f,fieldId:_0x1d6753,area:_0x2f2bae,index:_0x4d2341,unitId:_0x77b2d7,subUnitId:_0x3f61ee}=_0x292ed6,_0x24d7d3=(await _0x68d3fc[_0x2b802f(0x197)]({'unitId':_0x77b2d7,'subUnitId':_0x3f61ee,'pivotTableId':_0x31c63f,'params':{'type':k[_0x2b802f(0x157)],'movePivotField':{'fieldId':_0x1d6753,'area':_0x2f2bae,'index':_0x4d2341}}}))['result'][_0x2b802f(0x32b)];if(!_0x24d7d3)return!0x1;const {changesets:_0x27adac,view:_0xd5cce0,isEmpty:_0x3e1d4f,pivotTableConfig:_0x5db327}=_0x24d7d3,_0x51dbbb=_0x5db327[_0x2b802f(0x12e)],_0x49dd69=new _0x25f857();_0x49dd69[_0x2b802f(0x182)](_0xd5cce0);const _0x220eb2={'cellInfo':_0x51dbbb,'view':_0x49dd69,'isEmpty':_0x3e1d4f};if(!await _0x1f9df7[_0x2b802f(0x13c)](ie)[_0x2b802f(0x2eb)][_0x2b802f(0x1b3)](be)(!0x0,_0x220eb2))return!0x1;const _0x4a26d5=we(_0x1f9df7,_0x49dd69,_0x51dbbb,_0x3e1d4f),_0x15087f=_e(_0x1f9df7,_0x220eb2),{redos:_0x3b7b90,undos:_0x3ef713}=me(_0x23075d,{'pivotTableId':_0x31c63f,'unitId':_0x77b2d7,'subUnitId':_0x3f61ee},_0x27adac);return _0x44b6ee([..._0x4a26d5[_0x2b802f(0x261)],..._0x15087f[_0x2b802f(0x261)],..._0x3b7b90],_0x23075d),_0x5f07ef[_0x2b802f(0x2f4)]({'unitID':_0x77b2d7,'redoMutations':[..._0x4a26d5[_0x2b802f(0x261)],..._0x15087f['redos'],..._0x3b7b90],'undoMutations':[..._0x4a26d5['undos'],..._0x15087f[_0x2b802f(0x17a)],..._0x3ef713]}),!0x0;}},pt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x1b8),'handler'(_0x2f32ab,_0x39b058){const _0x459d77=_0x135d33;if(!_0x39b058)return!0x1;if(!!_0x2f32ab[_0x459d77(0x13c)](_0x3eb233)['getConfig'](Y))return!0x0;const {pivotTableId:_0x439504,targetCellPosition:_0x39e691,unitId:_0x5686f5,subUnitId:_0xa0b33e}=_0x39b058,_0x34031a=_0x2f32ab[_0x459d77(0x13c)]($);if(!_0x34031a[_0x459d77(0x1ff)](_0x39b058[_0x459d77(0x23e)]))return!0x1;const _0x2c57d1=_0x34031a[_0x459d77(0x112)](_0x439504);if(!_0x2c57d1)return!0x1;const _0x261009=_0x34031a[_0x459d77(0x254)](_0x2c57d1['unitId'],_0x39b058['pivotTableId']);if(!_0x261009)return!0x1;const _0x3a4004=_0x34031a[_0x459d77(0x1c8)](_0x2c57d1[_0x459d77(0x1bd)],_0x2c57d1[_0x459d77(0x1d3)],_0x439504);if(!_0x3a4004)return!0x1;const _0x3f9f45=_0x2afa90[_0x459d77(0x1ba)](_0x3a4004);_0x3f9f45['targetCellInfo']={'unitId':_0x5686f5,'subUnitId':_0xa0b33e,'row':_0x39e691[_0x459d77(0x351)],'col':_0x39e691['col']};const _0x1939c9=_0x261009[_0x459d77(0x323)]();if(_0x2c57d1[_0x459d77(0x1d3)]===_0xa0b33e&&_0x2c57d1['unitId']===_0x5686f5)_0x34031a['setPivotTable'](_0x5686f5,_0xa0b33e,_0x439504,_0x3f9f45),_0x34031a['addDirtyPivotTable']({'unitId':_0x5686f5,'subUnitId':_0xa0b33e,'token':_0x439504,'type':q['Set']});else{_0x34031a['addDirtyPivotTable']({'unitId':_0x2c57d1['unitId'],'subUnitId':_0x2c57d1[_0x459d77(0x1d3)],'token':_0x439504,'type':q['Delete']}),_0x34031a['removePivotTable'](_0x2c57d1[_0x459d77(0x1bd)],_0x2c57d1[_0x459d77(0x1d3)],_0x439504);const _0x2b57dc=_0x34031a['addCollectionByJSON'](_0x439504,_0x1939c9,_0x3a4004[_0x459d77(0x12b)],_0x3f9f45[_0x459d77(0x12e)]),_0x52a18f=new _0x409598(_0x2b57dc['collection'],void 0x0,_0x439504);_0x52a18f[_0x459d77(0x359)](_0x3f9f45['fieldsConfig']),_0x34031a[_0x459d77(0x277)](_0x5686f5,_0xa0b33e,_0x439504,_0x52a18f,_0x3f9f45),_0x34031a[_0x459d77(0x25c)]({'unitId':_0x5686f5,'subUnitId':_0xa0b33e,'token':_0x439504,'type':q[_0x459d77(0x19b)],'pivotConfig':_0x3f9f45});}return!0x0;}},Cs={'type':_0x593fdd[_0x135d33(0x2db)],'id':'sheet.command.move-pivot-table','handler':(_0x3322c8,_0x2c24b3)=>{const _0x3fe3a8=_0x135d33,_0x294688=_0x3322c8[_0x3fe3a8(0x13c)](_0x106ecf),_0xbc1096=_0x3322c8[_0x3fe3a8(0x13c)](_0x3dd8e4),_0x462c01=_0x3322c8[_0x3fe3a8(0x13c)](he),_0x517fa6=_0x3322c8[_0x3fe3a8(0x13c)](_0x37efd4);if(!_0x2c24b3)return!0x1;const _0x595044=_0x40b5db(_0x517fa6);if(!_0x595044)return!0x1;const {unitId:_0x4b4e95,subUnitId:_0x2b2e4e,workbook:_0x41ddae}=_0x595044,_0x2d313c=_0x462c01[_0x3fe3a8(0x1c8)](_0x2c24b3['originTargetInfo']['unitId'],_0x2c24b3[_0x3fe3a8(0x163)]['subUnitId'],_0x2c24b3['pivotTableId']);if(!_0x2d313c)return!0x1;const _0x4a9713=_0x41ddae['getSheetBySheetId'](_0x2c24b3['targetCellInfo'][_0x3fe3a8(0x1d3)]);if(!_0x4a9713)throw new Error(_0x3fe3a8(0x264));const _0x3dceb0=_0x4a9713[_0x3fe3a8(0x2ea)](),_0x334226=_0x4a9713[_0x3fe3a8(0x1bf)]();if(_0x2c24b3['targetCellInfo'][_0x3fe3a8(0x351)]>_0x3dceb0||_0x2c24b3['targetCellInfo'][_0x3fe3a8(0x125)]>_0x334226)throw new Error(_0x3fe3a8(0x2aa));const _0x25bbb2=[{'id':pt['id'],'params':{'unitId':_0x4b4e95,'subUnitId':_0x2c24b3['targetCellInfo']['subUnitId'],'pivotTableId':_0x2c24b3[_0x3fe3a8(0x23e)],'targetCellPosition':{'row':_0x2c24b3[_0x3fe3a8(0x12e)][_0x3fe3a8(0x351)],'col':_0x2c24b3['targetCellInfo'][_0x3fe3a8(0x125)]}}}],_0x42239e=[{'id':pt['id'],'params':{'unitId':_0x4b4e95,'subUnitId':_0x2b2e4e,'pivotTableId':_0x2c24b3['pivotTableId'],'targetCellPosition':{'row':_0x2d313c[_0x3fe3a8(0x12e)][_0x3fe3a8(0x351)],'col':_0x2d313c['targetCellInfo'][_0x3fe3a8(0x125)]}}}];return _0x44b6ee(_0x25bbb2,_0x294688)&&_0xbc1096[_0x3fe3a8(0x2f4)]({'unitID':_0x4b4e95,'undoMutations':_0x42239e,'redoMutations':_0x25bbb2}),!0x0;}},bs={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x384),async 'handler'(_0x195dd5,_0x28e056){const _0xbd6417=_0x135d33;var _0x266c66;if(!_0x28e056)return!0x1;const _0x4f7eca=_0x195dd5[_0xbd6417(0x13c)](_0x37efd4),_0x3c8923=_0x40b5db(_0x4f7eca);if(!_0x3c8923)return!0x1;const {unitId:_0xafbf72,subUnitId:_0x473dc7,workbook:_0x3281d1}=_0x3c8923,{row:_0xd6de2e,col:_0x4ce47b}=_0x28e056,_0x52cd20=_0x195dd5[_0xbd6417(0x13c)](Ue),_0x40c02d=_0x52cd20[_0xbd6417(0x127)](_0xafbf72,_0x473dc7,_0xd6de2e,_0x4ce47b);if(!_0x40c02d)return!0x1;const _0xdaa9ae=(_0x266c66=_0x52cd20[_0xbd6417(0x245)](_0xafbf72,_0x473dc7,_0x40c02d))==null?void 0x0:_0x266c66[_0xbd6417(0x17c)];if(!_0xdaa9ae)return!0x1;const _0x4d3055=_0x195dd5[_0xbd6417(0x13c)](he)[_0xbd6417(0x1c8)](_0xafbf72,_0x473dc7,_0x40c02d);if(!_0x4d3055)return!0x1;const {rowInfo:_0x4c674a,colInfo:_0x2b7c64}=_0xdaa9ae,_0x3a0d6f=_0x4c674a[_0xd6de2e][_0xbd6417(0x2f7)],_0x5dd0bd=_0x2b7c64[_0x4ce47b][_0xbd6417(0x2f7)],_0x465170=_0x4c674a[_0xd6de2e][_0xbd6417(0x15b)],_0x327330=_0x2b7c64[_0x4ce47b][_0xbd6417(0x15b)],_0x2ab6d0=_0x3a0d6f[_0xbd6417(0x1aa)](_0x5dd0bd),_0x18f60d=_0x4d3055[_0xbd6417(0x2d3)][_0xbd6417(0x35c)]['slice'](0x0,_0x465170),_0x236843=_0x4d3055[_0xbd6417(0x2d3)][_0xbd6417(0x230)][_0xbd6417(0x32c)](0x0,_0x327330),_0x18272f=_0x18f60d[_0xbd6417(0x1aa)](_0x236843),_0x45af73=_0x2ab6d0[_0xbd6417(0x218)]((_0x5ef6d0,_0x41266e)=>[_0x5ef6d0,_0x18272f[_0x41266e]]),_0x3d02fc=(await _0x195dd5[_0xbd6417(0x13c)](Q)[_0xbd6417(0x197)]({'unitId':_0xafbf72,'subUnitId':_0x473dc7,'pivotTableId':_0x40c02d,'params':{'type':k[_0xbd6417(0x231)],'drillDown':{'tuple':_0x45af73}}}))[_0xbd6417(0x126)][_0xbd6417(0x234)];if(!_0x3d02fc)return!0x1;const {indexes:_0x538970,range:_0x5e0a38,sourceUnitId:_0x826e8f,sourceSubUnitId:_0x1fa3d6,formatMap:_0x183fad}=_0x3d02fc,{startRow:_0x218962,endRow:_0x5259b9,startColumn:_0xadcb43,endColumn:_0x139dfd}=_0x5e0a38,_0x4a9c45=new _0x2e5827(),_0x3ee730=_0x5259b9-_0x218962,_0x529a19=_0x139dfd-_0xadcb43,_0x39977f={},_0x1ddbc1=_0x40b5db(_0x4f7eca,{'unitId':_0x826e8f,'subUnitId':_0x1fa3d6});if(!_0x1ddbc1)return!0x1;const _0x155767=fe['colStyle'],_0x3602b4=fe['subTotalStyle'],_0x145124=fe[_0xbd6417(0x2e6)],_0x4dabcc=_0x3281d1['getStyles']()[_0xbd6417(0x2b5)](_0x155767),_0x55b437=_0x3281d1[_0xbd6417(0x138)]()[_0xbd6417(0x2b5)](_0x3602b4),_0x59b0ae=_0x3281d1[_0xbd6417(0x138)]()['setValue'](_0x145124),{worksheet:_0x33f3b4}=_0x1ddbc1;let _0x24d244=0x0;const _0x52e587=0x1;_0x538970[_0xbd6417(0x314)](_0xe5346f=>{const _0x32f5df=_0xbd6417;for(let _0x38038f=0x0;_0x38038f<=_0x139dfd-_0xadcb43;_0x38038f++)_0x4a9c45[_0x32f5df(0x2b5)](_0x24d244,_0x38038f,_0x33f3b4[_0x32f5df(0x199)](_0xe5346f+_0x5e0a38[_0x32f5df(0x376)]+_0x52e587,_0x38038f));_0x24d244++;});for(let _0x27e57e=_0xadcb43;_0x27e57e<=_0x139dfd;_0x27e57e++){const _0x190321=_0x33f3b4[_0xbd6417(0x199)](_0x218962,_0x27e57e);_0x39977f[_0x218962]||(_0x39977f[_0x218962]={}),_0x39977f[_0x218962][_0x27e57e]={..._0x190321,'s':_0x4dabcc};}let _0x16e247=0x1;const _0xd44422={},_0x3ad4aa={};_0x4a9c45[_0xbd6417(0x229)]((_0x32a5e9,_0x4dcde2)=>{_0x4dcde2['forEach'](_0x392f57=>{const _0x4b5ffc=_0x4b11,_0x4978aa=_0x4a9c45['getValue'](_0x32a5e9,_0x392f57);if(_0x39977f[_0x16e247]||(_0x39977f[_0x16e247]={}),_0x39977f[_0x16e247][_0x392f57]={..._0x4978aa,'s':_0x16e247%0x2===0x0?_0x59b0ae:_0x55b437},_0x183fad[_0x392f57]&&_0x32a5e9>=0x0){const _0x56568c=_0x16e247%0x2===0x0;let _0x4f1084=_0x56568c?_0x3ad4aa[_0x392f57]:_0xd44422[_0x392f57];_0x4f1084||(_0x4f1084=_0x3281d1[_0x4b5ffc(0x138)]()[_0x4b5ffc(0x2b5)]({..._0x56568c?_0x145124:_0x3602b4,'n':{'pattern':_0x183fad[_0x392f57]}}),_0x56568c?_0x3ad4aa[_0x392f57]=_0x4f1084:_0xd44422[_0x392f57]=_0x4f1084),_0x39977f[_0x16e247][_0x392f57]['s']=_0x4f1084;}}),_0x16e247++;});const _0x309212=new _0x2e5827(_0x39977f),_0x4dc89f={};_0x309212[_0xbd6417(0x10a)]((_0x365c89,_0x10aeaf,_0x54c389)=>{_0x4dc89f[_0x365c89]||(_0x4dc89f[_0x365c89]={}),_0x4dc89f[_0x365c89][_0x10aeaf]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3dadc8=[],_0x2bd24a=[],_0x4ce884=_0x3281d1[_0xbd6417(0x19c)]()[_0xbd6417(0x312)],_0x553825=_0x5249c7({'rowCount':Math[_0xbd6417(0x2e1)](_0x2cd07d,_0x3ee730+0xa),'columnCount':Math[_0xbd6417(0x2e1)](_0x5f56cd,_0x529a19+0x5)}),_0x5df500=_0x195dd5[_0xbd6417(0x13c)](_0x376940);_0x553825['id']=_0xd722a0(),_0x553825['name']=_0x3281d1[_0xbd6417(0x272)](''+_0x5df500['t']('sheets.tabs.sheet'));const _0x3747b4={'index':_0x4ce884,'sheet':_0x553825,'unitId':_0xafbf72},_0x20cb4a=_0x4b2754(_0x195dd5,_0x3747b4);_0x2bd24a[_0xbd6417(0x20d)]({'id':_0x5ca940['id'],'params':_0x3747b4}),_0x3dadc8[_0xbd6417(0x20d)]({'id':_0x42fff9['id'],'params':_0x20cb4a}),_0x2bd24a[_0xbd6417(0x20d)]({'id':_0x5c6508['id'],'params':{'unitId':_0xafbf72,'subUnitId':_0x553825['id'],'cellValue':_0x39977f}}),_0x3dadc8[_0xbd6417(0x393)]({'id':_0x5c6508['id'],'params':{'unitId':_0xafbf72,'subUnitId':_0x553825['id'],'cellValue':_0x4dc89f}});const _0x85f10b={'startRow':0x0,'startColumn':0x0,'endRow':_0x16e247-0x1,'endColumn':_0x139dfd};_0x2bd24a[_0xbd6417(0x20d)]({'id':_0x3a1693['id'],'params':{'unitId':_0xafbf72,'subUnitId':_0x553825['id'],'range':_0x85f10b}}),_0x3dadc8[_0xbd6417(0x393)]({'id':_0xb1376f['id'],'params':{'unitId':_0xafbf72,'subUnitId':_0x553825['id']}});const _0x4c1b44=_0x195dd5[_0xbd6417(0x13c)](_0x106ecf);return _0x44b6ee(_0x2bd24a,_0x4c1b44)&&_0x195dd5[_0xbd6417(0x13c)](_0x3dd8e4)[_0xbd6417(0x2f4)]({'unitID':_0xafbf72,'undoMutations':_0x3dadc8,'redoMutations':_0x2bd24a}),!0x0;}},Ss={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x30c),async 'handler'(_0x3cfed9,_0x7cfb2f){const _0x34a8a5=_0x135d33;if(!_0x7cfb2f)return!0x1;const _0x32eaab=_0x3cfed9['get'](_0x106ecf),_0x1dd5ed=_0x3cfed9[_0x34a8a5(0x13c)](Q),_0x59ae2a=_0x3cfed9[_0x34a8a5(0x13c)](_0x3dd8e4),{pivotTableId:_0x8ad50a,fieldIds:_0x3a9714,unitId:_0x21af5d,subUnitId:_0x302759}=_0x7cfb2f,_0x5c7b0b=(await _0x1dd5ed[_0x34a8a5(0x197)]({'unitId':_0x21af5d,'subUnitId':_0x302759,'pivotTableId':_0x8ad50a,'params':{'type':k[_0x34a8a5(0x16d)],'removePivotField':{'fieldIds':_0x3a9714}}}))[_0x34a8a5(0x126)][_0x34a8a5(0x1f5)];if(!_0x5c7b0b)return!0x1;const {view:_0x1efc93,changesets:_0x343d1a,isEmpty:_0x5e1000,pivotTableConfig:_0x1aa6c8}=_0x5c7b0b,_0x2e249c=_0x1aa6c8[_0x34a8a5(0x12e)],_0xc7fee5=new _0x25f857();_0xc7fee5[_0x34a8a5(0x182)](_0x1efc93);const _0x53ebed={'cellInfo':_0x2e249c,'view':_0xc7fee5,'isEmpty':_0x5e1000};if(!await _0x3cfed9[_0x34a8a5(0x13c)](ie)[_0x34a8a5(0x2eb)][_0x34a8a5(0x1b3)](be)(!0x0,_0x53ebed))return!0x1;const _0x3ee762=we(_0x3cfed9,_0xc7fee5,_0x2e249c,_0x5e1000),_0x180dbb=_e(_0x3cfed9,_0x53ebed),{redos:_0x319e1c,undos:_0x3be40a}=me(_0x32eaab,{'pivotTableId':_0x8ad50a,'unitId':_0x21af5d,'subUnitId':_0x302759},_0x343d1a);return _0x44b6ee([..._0x3ee762[_0x34a8a5(0x261)],..._0x180dbb[_0x34a8a5(0x261)],..._0x319e1c],_0x32eaab),_0x59ae2a[_0x34a8a5(0x2f4)]({'unitID':_0x21af5d,'redoMutations':[..._0x3ee762['redos'],..._0x180dbb[_0x34a8a5(0x261)],..._0x319e1c],'undoMutations':[..._0x3ee762[_0x34a8a5(0x17a)],..._0x180dbb['undos'],..._0x3be40a]}),!0x0;}},Ms={'type':_0x593fdd[_0x135d33(0x2db)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x64d271,_0x42c98c){const _0x3a3356=_0x135d33;if(!_0x42c98c)return!0x1;const _0x20b5ff=_0x64d271['get'](_0x106ecf),_0x10da09=_0x64d271['get'](_0x3dd8e4),_0x433305=_0x64d271[_0x3a3356(0x13c)](Q),{resetArea:_0x2066a6,pivotTableId:_0x536a32,unitId:_0x32eacd,subUnitId:_0xd5ce21}=_0x42c98c,_0x28d780=(await _0x433305[_0x3a3356(0x197)]({'unitId':_0x32eacd,'subUnitId':_0xd5ce21,'pivotTableId':_0x536a32,'params':{'type':k[_0x3a3356(0x2e2)],'resetPivotTable':{'pivotTableId':_0x536a32,'resetArea':_0x2066a6}}}))[_0x3a3356(0x126)][_0x3a3356(0x10c)];if(!_0x28d780)return!0x1;const {changesets:_0x223e91}=_0x28d780,{redos:_0x50a827,undos:_0x1c6461}=me(_0x20b5ff,{'pivotTableId':_0x536a32,'unitId':_0x32eacd,'subUnitId':_0xd5ce21},_0x223e91);return _0x44b6ee(_0x50a827,_0x20b5ff),_0x10da09[_0x3a3356(0x2f4)]({'unitID':_0x32eacd,'redoMutations':_0x50a827,'undoMutations':_0x1c6461}),!0x0;}},Ps={'type':_0x593fdd[_0x135d33(0x2db)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x24319c,_0x1aadb6){const _0x5cae3f=_0x135d33,_0x1035aa=_0x24319c[_0x5cae3f(0x13c)](_0x106ecf),_0x862f7f=_0x24319c[_0x5cae3f(0x13c)](Q),_0x44c846=_0x24319c[_0x5cae3f(0x13c)](Ue),_0x1f68e9=_0x24319c[_0x5cae3f(0x13c)](_0x37efd4),_0x422912=_0x24319c[_0x5cae3f(0x13c)](_0x376940),_0x161457=_0x24319c[_0x5cae3f(0x13c)](_0x3dd8e4);if(!_0x1aadb6)return!0x1;const {unitId:_0x3875e0,subUnitId:_0x50ed5d,row:_0x5d33c3,col:_0x24a05f,collapse:_0x362dfe}=_0x1aadb6,_0x117ec3=_0x1f68e9['getUnit'](_0x3875e0);if(!_0x117ec3||!_0x117ec3['getSheetBySheetId'](_0x50ed5d))return!0x1;const _0xbf993d=_0x44c846[_0x5cae3f(0x127)](_0x3875e0,_0x50ed5d,_0x5d33c3,_0x24a05f);if(!_0xbf993d)return!0x1;const _0x3b26ef=_0x44c846['getPivotItemRenderInfoCache'](_0x3875e0,_0x50ed5d,_0xbf993d);if(!_0x3b26ef)return!0x1;const _0x26b9ef=_0x47884e(_0x5d33c3,_0x24a05f),{rangesInfo:_0xf68f03,areaInfo:_0x35647e,headerMap:_0x3cc6c7}=_0x3b26ef;if(!_0xf68f03||!_0x35647e||!_0x3cc6c7)return!0x1;const _0x5ed3cc=Object[_0x5cae3f(0x346)](_0xf68f03)[_0x5cae3f(0x2e9)](_0x33bed2=>_0xf68f03[_0x33bed2][_0x5cae3f(0x10f)](_0x4ba105=>_0x19fa73[_0x5cae3f(0x2b9)](_0x4ba105,_0x26b9ef)));let _0x1416c3;_0x5ed3cc===_0x5cae3f(0x255)?_0x1416c3=_0x3cc6c7['rowHeaderMap'][_0x24a05f]:_0x5ed3cc===_0x5cae3f(0x2fd)&&(_0x1416c3=_0x3cc6c7[_0x5cae3f(0x38e)][_0x5d33c3]);const _0x320c05=_0x1416c3==null?void 0x0:_0x1416c3['tableFieldId'],_0x8bbc4b=_0x44c846[_0x5cae3f(0x349)](_0x3875e0,_0x50ed5d,_0x5d33c3,_0x24a05f);let _0xd297b1=_0x8bbc4b==null?void 0x0:_0x8bbc4b['v'];if(_0xd297b1===_0x422912['t'](_0x5cae3f(0x36a))&&(_0xd297b1=_0x111e37[_0x5cae3f(0x318)]),_0xd297b1==null||!_0xbf993d||!_0x320c05)return!0x1;const _0x3ba606=await _0x862f7f[_0x5cae3f(0x197)]({'unitId':_0x3875e0,'subUnitId':_0x50ed5d,'pivotTableId':_0xbf993d,'params':{'type':k[_0x5cae3f(0x33f)],'setPivotCollapse':{'tableFieldId':_0x320c05,'collapse':_0x362dfe,'item':_0xd297b1}}}),_0x584cf7=_0x3ba606==null?void 0x0:_0x3ba606[_0x5cae3f(0x126)][_0x5cae3f(0x174)];if(!_0x584cf7)return!0x1;const {view:_0xd27a2d,pivotTableConfig:_0x360ad6,isEmpty:_0x4be8a7,changesets:_0x4eee87}=_0x584cf7,_0x1a48c0=new _0x25f857();_0x1a48c0[_0x5cae3f(0x182)](_0xd27a2d);const _0x3f7596=_0x360ad6[_0x5cae3f(0x12e)],_0x1accfb={'cellInfo':_0x3f7596,'view':_0x1a48c0,'isEmpty':_0x4be8a7};if(!await _0x24319c[_0x5cae3f(0x13c)](ie)[_0x5cae3f(0x2eb)][_0x5cae3f(0x1b3)](be)(!0x0,_0x1accfb))return!0x1;const _0x21c4d2=we(_0x24319c,_0x1a48c0,_0x3f7596,_0x4be8a7),_0x11b8fa=_e(_0x24319c,_0x1accfb),{redos:_0x3530ff,undos:_0x8179ec}=me(_0x1035aa,{'pivotTableId':_0xbf993d,'unitId':_0x3875e0,'subUnitId':_0x50ed5d},_0x4eee87);return _0x44b6ee([..._0x21c4d2[_0x5cae3f(0x261)],..._0x11b8fa[_0x5cae3f(0x261)],..._0x3530ff],_0x1035aa),_0x161457['pushUndoRedo']({'unitID':_0x3875e0,'redoMutations':[..._0x21c4d2[_0x5cae3f(0x261)],..._0x11b8fa['redos'],..._0x3530ff],'undoMutations':[..._0x21c4d2[_0x5cae3f(0x17a)],..._0x11b8fa[_0x5cae3f(0x17a)],..._0x8179ec]}),!0x0;}},Ts={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x22f),async 'handler'(_0x3a5f07,_0x6e970){const _0xb74fef=_0x135d33;if(!_0x6e970)return!0x1;const _0x16915a=_0x3a5f07['get'](_0x106ecf),_0x19930d=_0x3a5f07[_0xb74fef(0x13c)](_0x3dd8e4),_0x2285bf=_0x3a5f07['get'](Q),{pivotTableConfig:_0x38f576,pivotTableId:_0x207d0c,unitId:_0x564153,subUnitId:_0x74b937}=_0x6e970,_0x245688=(await _0x2285bf[_0xb74fef(0x197)]({'unitId':_0x564153,'subUnitId':_0x74b937,'pivotTableId':_0x207d0c,'params':{'type':k[_0xb74fef(0x189)],'setPivotTableConfig':{'pivotTableId':_0x207d0c,'pivotTableConfig':_0x38f576}}}))[_0xb74fef(0x126)]['setPivotTableConfig'];if(!_0x245688)return!0x1;const {changesets:_0x139dfc}=_0x245688,{redos:_0x10d948,undos:_0x2f09b0}=me(_0x16915a,{'pivotTableId':_0x207d0c,'unitId':_0x564153,'subUnitId':_0x74b937},_0x139dfc);return _0x44b6ee(_0x10d948,_0x16915a),_0x19930d[_0xb74fef(0x2f4)]({'unitID':_0x564153,'redoMutations':_0x10d948,'undoMutations':_0x2f09b0}),!0x0;}},ys={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x1d2),async 'handler'(_0x4da469,_0x3b9a42){const _0x55bd6=_0x135d33;if(!_0x3b9a42)return!0x1;const _0x3935aa=_0x4da469[_0x55bd6(0x13c)](_0x106ecf),{pivotTableId:_0x48d38a,tableFieldId:_0x569623,items:_0x24f4e6,unitId:_0xab9e1e,subUnitId:_0x314c2c,isAll:_0x2bfa18}=_0x3b9a42,_0x2e3ca8=_0x4da469[_0x55bd6(0x13c)](Q),_0x1476c5=_0x4da469['get'](_0x3dd8e4),_0x4b3fc0=(await _0x2e3ca8['getPivotDisplayConfig']({'unitId':_0xab9e1e,'subUnitId':_0x314c2c,'pivotTableId':_0x48d38a,'params':{'type':k[_0x55bd6(0x30d)],'setPivotFilter':{'tableFieldId':_0x569623,'items':_0x24f4e6,'isAll':_0x2bfa18}}}))['result'][_0x55bd6(0x152)];if(!_0x4b3fc0)return!0x1;const {changesets:_0x182211,pivotTableConfig:_0x355760,isEmpty:_0xa8e668,view:_0x39e5f0}=_0x4b3fc0,_0x84a324=_0x355760[_0x55bd6(0x12e)],_0x195bb2=new _0x25f857();_0x195bb2['formJSON'](_0x39e5f0);const _0x42f4b5={'cellInfo':_0x84a324,'view':_0x195bb2,'isEmpty':_0xa8e668};if(!await _0x4da469['get'](ie)[_0x55bd6(0x2eb)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x42f4b5))return!0x1;const _0x8319d4=we(_0x4da469,_0x195bb2,_0x84a324,_0xa8e668),_0x1b4fa3=_e(_0x4da469,_0x42f4b5),{undos:_0x55c0d6,redos:_0x41abb3}=me(_0x3935aa,{'pivotTableId':_0x48d38a,'unitId':_0xab9e1e,'subUnitId':_0x314c2c},_0x182211);return _0x44b6ee([..._0x8319d4[_0x55bd6(0x261)],..._0x1b4fa3[_0x55bd6(0x261)],..._0x41abb3],_0x3935aa),_0x1476c5[_0x55bd6(0x2f4)]({'unitID':_0xab9e1e,'redoMutations':[..._0x8319d4[_0x55bd6(0x261)],..._0x1b4fa3[_0x55bd6(0x261)],..._0x41abb3],'undoMutations':[..._0x8319d4[_0x55bd6(0x17a)],..._0x1b4fa3[_0x55bd6(0x17a)],..._0x55c0d6]}),!0x0;}},ws={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x209),async 'handler'(_0x30596c,_0x41015c){const _0x5e0ce4=_0x135d33;if(!_0x41015c)return!0x1;const _0x7bc47=_0x30596c[_0x5e0ce4(0x13c)](_0x106ecf),_0x2cf068=_0x30596c[_0x5e0ce4(0x13c)](_0x3dd8e4),_0xf96022=_0x30596c['get'](Q),{info:_0x3b3549,tableFieldId:_0x4a1325,pivotTableId:_0x40ffaa,unitId:_0x79b815,subUnitId:_0x44c08a}=_0x41015c,_0x18000b=(await _0xf96022['getPivotDisplayConfig']({'unitId':_0x79b815,'subUnitId':_0x44c08a,'pivotTableId':_0x40ffaa,'params':{'type':k[_0x5e0ce4(0x15e)],'setPivotSort':{'tableFieldId':_0x4a1325,'info':_0x3b3549}}}))[_0x5e0ce4(0x126)][_0x5e0ce4(0x28e)];if(!_0x18000b)return!0x1;const {changesets:_0xbdae2d}=_0x18000b,{redos:_0x544ae2,undos:_0x498ff7}=me(_0x7bc47,{'pivotTableId':_0x40ffaa,'unitId':_0x79b815,'subUnitId':_0x44c08a},_0xbdae2d);return _0x44b6ee(_0x544ae2,_0x7bc47),_0x2cf068[_0x5e0ce4(0x2f4)]({'unitID':_0x79b815,'redoMutations':_0x544ae2,'undoMutations':_0x498ff7}),!0x0;}},_s={'type':_0x593fdd['COMMAND'],'id':_0x135d33(0x208),async 'handler'(_0x2b94b4,_0x5873c4){const _0x49a004=_0x135d33;if(!_0x5873c4)return!0x1;const _0x184a19=_0x2b94b4[_0x49a004(0x13c)](_0x106ecf),{pivotTableId:_0x27424f,fieldId:_0x250024,valueFilterInfo:_0x38638f,unitId:_0x1354ec,subUnitId:_0xcb9fb4}=_0x5873c4,_0xd70bf6=_0x2b94b4['get'](Q),_0x5a8a53=_0x2b94b4[_0x49a004(0x13c)](_0x3dd8e4),_0x1e546c=(await _0xd70bf6[_0x49a004(0x197)]({'unitId':_0x1354ec,'subUnitId':_0xcb9fb4,'pivotTableId':_0x27424f,'params':{'type':k[_0x49a004(0x2d2)],'setValuePivotFilter':{'tableFieldId':_0x250024,'filterInfo':_0x38638f}}}))['result'][_0x49a004(0x1b7)];if(!_0x1e546c)return!0x1;const {changesets:_0x3e9449,pivotTableConfig:_0xdf08ac,isEmpty:_0x5b50bf,view:_0x101303}=_0x1e546c,_0x93d5a1=_0xdf08ac['targetCellInfo'],_0x22919f=new _0x25f857();_0x22919f[_0x49a004(0x182)](_0x101303);const _0x50dd28={'cellInfo':_0x93d5a1,'view':_0x22919f,'isEmpty':_0x5b50bf};if(!await _0x2b94b4[_0x49a004(0x13c)](ie)[_0x49a004(0x2eb)][_0x49a004(0x1b3)](be)(!0x0,_0x50dd28))return!0x1;const _0x5b7f6=we(_0x2b94b4,_0x22919f,_0x93d5a1,_0x5b50bf),_0xb29dd1=_e(_0x2b94b4,_0x50dd28),{undos:_0x4d9cdb,redos:_0x8fdb88}=me(_0x184a19,{'pivotTableId':_0x27424f,'unitId':_0x1354ec,'subUnitId':_0xcb9fb4},_0x3e9449);return _0x44b6ee([..._0x5b7f6[_0x49a004(0x261)],..._0xb29dd1['redos'],..._0x8fdb88],_0x184a19),_0x5a8a53[_0x49a004(0x2f4)]({'unitID':_0x1354ec,'redoMutations':[..._0x5b7f6['redos'],..._0xb29dd1[_0x49a004(0x261)],..._0x8fdb88],'undoMutations':[..._0x5b7f6[_0x49a004(0x17a)],..._0xb29dd1['undos'],..._0x4d9cdb]}),!0x0;}},to={'id':'sheet.mutation.update-date-group','type':_0x593fdd[_0x135d33(0x2f2)],'handler':(_0x37de24,_0xd92b08)=>{const _0x372534=_0x135d33;if(!_0xd92b08)return!0x1;if(!!_0x37de24[_0x372534(0x13c)](_0x3eb233)[_0x372534(0x1d8)](Y))return!0x0;const {unitId:_0x379472,subUnitId:_0x124c23,pivotTableId:_0x4b6d8f,tableFieldId:_0x2ea8ed,dateType:_0x4b5e5e}=_0xd92b08,_0x1fc804=_0x37de24[_0x372534(0x13c)]($),_0x302a6e=_0x1fc804[_0x372534(0x1ff)](_0x4b6d8f);if(!_0x302a6e)return!0x1;const _0x555936=_0x302a6e[_0x372534(0x21f)](_0x2ea8ed);if(!_0x555936)return!0x1;const _0x15cf0a=_0x555936[_0x372534(0x2bf)](),_0x21c74b=_0x302a6e['getDataFieldByDataFieldId'](_0x15cf0a),_0x3eaf7c=(_0x21c74b==null?void 0x0:_0x21c74b[_0x372534(0x265)]())+'\x20'+Ho(_0x37de24,_0x4b5e5e);_0x1fc804[_0x372534(0x254)](_0x379472,_0x4b6d8f)[_0x372534(0x1e7)](_0x555936['id'],_0x3eaf7c);const _0x44ca34=_0x302a6e[_0x372534(0x29e)](_0x2ea8ed);if(!_0x44ca34)return!0x1;_0x302a6e[_0x372534(0x198)](_0x44ca34['getId'](),_0x3eaf7c),_0x555936[_0x372534(0x374)](_0x4b5e5e);const _0x50dd46=_0x1fc804[_0x372534(0x1c8)](_0x379472,_0x124c23,_0x4b6d8f);return _0x1fc804['addDirtyPivotTable']({'unitId':_0x379472,'subUnitId':_0x124c23,'token':_0x4b6d8f,'type':q[_0x372534(0x145)],'pivotConfig':_0x50dd46}),!0x0;}},Fs={'id':_0x135d33(0x1dc),'type':_0x593fdd[_0x135d33(0x2db)],'handler':(_0x4f8ccf,_0x200639)=>{const _0x262efe=_0x135d33;if(!_0x200639)return!0x1;const _0x3b2ee0=_0x4f8ccf[_0x262efe(0x13c)](_0x3dd8e4),{unitId:_0x56e399,subUnitId:_0x157eba,pivotTableId:_0x179f4d,tableFieldId:_0x496795}=_0x200639,_0x13652d=[],_0x55531d=[],_0xcfa4d2=_0x4f8ccf[_0x262efe(0x13c)](he),_0x1c9590=_0xcfa4d2[_0x262efe(0x254)](_0x56e399,_0x179f4d),_0xb1e40d=_0xcfa4d2[_0x262efe(0x1c8)](_0x56e399,_0x157eba,_0x179f4d);if(!(_0xb1e40d!=null&&_0xb1e40d['fieldsConfig'][_0x262efe(0x113)]))return!0x1;const _0x471b72=Object[_0x262efe(0x371)](_0xb1e40d['fieldsConfig'][_0x262efe(0x113)])['find'](_0x2c6dac=>_0x2c6dac['id']===_0x496795);if(!_0x471b72)return!0x1;const _0x1decd1=_0x471b72[_0x262efe(0x34b)];if(!(_0x1c9590!=null&&_0x1c9590[_0x262efe(0x32f)]))return!0x1;const _0x2ff170=Object[_0x262efe(0x371)](_0x1c9590==null?void 0x0:_0x1c9590[_0x262efe(0x32f)])['find'](_0x406bf9=>_0x406bf9['id']===_0x1decd1);if(!_0x2ff170)return!0x1;_0x3d0061(_0x2ff170)&&_0x13652d['push']({'id':to['id'],'params':{..._0x200639,'dateType':_0x2ff170['dateType']}}),_0x55531d[_0x262efe(0x20d)]({'id':to['id'],'params':{..._0x200639}});const _0x64d8d1=_0x4f8ccf['get'](_0x106ecf);return _0x44b6ee(_0x55531d,_0x64d8d1)&&_0x3b2ee0['pushUndoRedo']({'unitID':_0x56e399,'undoMutations':_0x13652d,'redoMutations':_0x55531d}),!0x0;}},Rs={'type':_0x593fdd['COMMAND'],'id':_0x135d33(0x2b3),async 'handler'(_0x5e206e,_0x187b24){const _0x12b0c8=_0x135d33;if(!_0x187b24)return!0x1;const _0xc8b61d=_0x5e206e[_0x12b0c8(0x13c)](_0x106ecf),_0x4b2e24=_0x5e206e[_0x12b0c8(0x13c)](_0x3dd8e4),_0x4c0e2e=_0x5e206e[_0x12b0c8(0x13c)](Q),{displayName:_0x5786e8,subtotalType:_0x5825ea,format:_0x4da340,tableFieldId:_0x322e10,pivotTableId:_0x2383d8,unitId:_0x52c223,subUnitId:_0x3ca696}=_0x187b24,_0x3c6454=(await _0x4c0e2e[_0x12b0c8(0x197)]({'unitId':_0x52c223,'subUnitId':_0x3ca696,'pivotTableId':_0x2383d8,'params':{'type':k[_0x12b0c8(0x159)],'setPivotSetting':{'tableFieldId':_0x322e10,'displayName':_0x5786e8,'subtotalType':_0x5825ea,'format':_0x4da340}}}))[_0x12b0c8(0x126)]['setPivotSetting'];if(!_0x3c6454)return!0x1;const {changesets:_0x18239c,view:_0x38af73,pivotTableConfig:_0x3693ff,isEmpty:_0x3758ae}=_0x3c6454,_0x380730=_0x3693ff[_0x12b0c8(0x12e)],_0x257e54=new _0x25f857();_0x257e54[_0x12b0c8(0x182)](_0x38af73);const _0x555bce={'cellInfo':_0x380730,'view':_0x257e54,'isEmpty':_0x3758ae};if(!await _0x5e206e[_0x12b0c8(0x13c)](ie)[_0x12b0c8(0x2eb)][_0x12b0c8(0x1b3)](be)(!0x0,_0x555bce))return!0x1;const _0x546efc=we(_0x5e206e,_0x257e54,_0x380730,_0x3758ae),_0x61c599=_e(_0x5e206e,_0x555bce),{undos:_0x2fa2a3,redos:_0x43b871}=me(_0xc8b61d,{'pivotTableId':_0x2383d8,'unitId':_0x52c223,'subUnitId':_0x3ca696},_0x18239c);return _0x44b6ee([..._0x546efc[_0x12b0c8(0x261)],..._0x61c599[_0x12b0c8(0x261)],..._0x43b871],_0xc8b61d),_0x4b2e24[_0x12b0c8(0x2f4)]({'unitID':_0x52c223,'redoMutations':[..._0x546efc[_0x12b0c8(0x261)],..._0x61c599['redos'],..._0x43b871],'undoMutations':[..._0x546efc[_0x12b0c8(0x17a)],..._0x61c599['undos'],..._0x2fa2a3]}),!0x0;}},oo={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x223),'handler'(_0x3147c1,_0x4dd437){const _0xb90155=_0x135d33;if(!_0x4dd437)return!0x1;if(!!_0x3147c1[_0xb90155(0x13c)](_0x3eb233)[_0xb90155(0x1d8)](Y))return!0x0;const _0x1fb2b7=_0x3147c1['get']($),{pivotTableId:_0x40c7ea,deleteIds:_0xd2e724,collectionJSON:_0x57569a,dataRangeInfo:_0x3a02bb,unitId:_0x5e488b,subUnitId:_0x517911}=_0x4dd437,_0x5ee34=_0x1fb2b7['getPivotTableInstance'](_0x40c7ea),_0x117509=_0x1fb2b7[_0xb90155(0x1c8)](_0x5e488b,_0x517911,_0x40c7ea);if(!_0x5ee34||!_0x117509)return!0x1;const {collection:_0x62f852,updateDataFieldList:_0x3bda9e}=_0x1fb2b7[_0xb90155(0x302)](_0x40c7ea,_0x57569a,_0x3a02bb,_0x117509[_0xb90155(0x12e)]);_0x1fb2b7[_0xb90155(0x124)](_0x62f852,_0x3bda9e,_0x3a02bb),_0x5ee34[_0xb90155(0x290)](_0x62f852);for(const _0x3ea693 of _0xd2e724)_0x1fb2b7[_0xb90155(0x12a)](_0x3a02bb[_0xb90155(0x1bd)],_0x3ea693);const _0x4620f4=_0x1fb2b7[_0xb90155(0x1c8)](_0x5e488b,_0x517911,_0x40c7ea);return _0x4620f4['sourceRangeInfo']=JSON[_0xb90155(0x1ad)](JSON[_0xb90155(0x34e)](_0x3a02bb)),_0x1fb2b7[_0xb90155(0x25c)]({'unitId':_0x5e488b,'subUnitId':_0x517911,'token':_0x40c7ea,'type':q[_0xb90155(0x145)]}),!0x0;}},Ds={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x2d0),async 'handler'(_0x1a19a0,_0xbaf8bf){const _0x338145=_0x135d33,_0x8cc6e1=_0x1a19a0[_0x338145(0x13c)](_0x106ecf),_0x4a976a=_0x1a19a0[_0x338145(0x13c)](Q),_0x2f538d=_0x1a19a0[_0x338145(0x13c)](_0x3dd8e4);if(!_0xbaf8bf)return!0x1;const {token:_0x16cc4d,dataRangeInfo:_0x3b99f9,unitId:_0x1c9914,subUnitId:_0x31b7ba}=_0xbaf8bf,_0x5246ac=[],_0x96d874=[],_0x7e9d0d=(await _0x4a976a[_0x338145(0x197)]({'unitId':_0x1c9914,'subUnitId':_0x31b7ba,'pivotTableId':_0x16cc4d,'params':{'type':k['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x3b99f9,'unitId':_0x1c9914,'subUnitId':_0x31b7ba}}}))['result'][_0x338145(0x1e4)];if(!_0x7e9d0d)return!0x1;const {changesets:_0x1dc5d5,deleteIds:_0x558dea,collectionConfig:_0x58c1bc,oldCollectionConfig:_0x1cefdd,view:_0x340d4e,isEmpty:_0x4c63b8,pivotTableConfig:_0x571674}=_0x7e9d0d;_0x96d874['push']({'id':oo['id'],'params':{'pivotTableId':_0x16cc4d,'deleteIds':_0x558dea,'collectionJSON':_0x58c1bc,'dataRangeInfo':_0x3b99f9,'unitId':_0x1c9914,'subUnitId':_0x31b7ba}}),_0x5246ac[_0x338145(0x393)]({'id':oo['id'],'params':{'pivotTableId':_0x16cc4d,'deleteIds':[],'collectionJSON':_0x1cefdd,'dataRangeInfo':_0x571674[_0x338145(0x12b)],'unitId':_0x1c9914,'subUnitId':_0x31b7ba}});const _0x160d12=_0x571674[_0x338145(0x12e)],_0x5075a9=new _0x25f857();_0x5075a9[_0x338145(0x182)](_0x340d4e);const _0x49279b={'cellInfo':_0x160d12,'view':_0x5075a9,'isEmpty':_0x4c63b8};if(!await _0x1a19a0[_0x338145(0x13c)](ie)['asyncInterceptor'][_0x338145(0x1b3)](be)(!0x0,_0x49279b))return!0x1;const _0x108aa0=we(_0x1a19a0,_0x5075a9,_0x160d12,_0x4c63b8),_0x501bc0=_e(_0x1a19a0,_0x49279b),{undos:_0x182a49,redos:_0x4d8ebf}=me(_0x8cc6e1,{'pivotTableId':_0x16cc4d,'unitId':_0x1c9914,'subUnitId':_0x31b7ba},_0x1dc5d5);return _0x44b6ee([..._0x108aa0[_0x338145(0x261)],..._0x501bc0[_0x338145(0x261)],..._0x96d874,..._0x182a49],_0x8cc6e1),_0x2f538d[_0x338145(0x2f4)]({'unitID':_0x1c9914,'redoMutations':[..._0x108aa0['redos'],..._0x501bc0['redos'],..._0x96d874,..._0x182a49],'undoMutations':[..._0x108aa0[_0x338145(0x17a)],..._0x501bc0[_0x338145(0x17a)],..._0x5246ac,..._0x4d8ebf]}),!0x0;}},Us={'type':_0x593fdd[_0x135d33(0x2db)],'id':_0x135d33(0x19e),async 'handler'(_0x306196,_0x421a79){const _0x1e77cb=_0x135d33;if(!_0x421a79)return!0x1;const _0x42a5a8=_0x306196[_0x1e77cb(0x13c)](_0x106ecf),_0x2ffff0=_0x306196[_0x1e77cb(0x13c)](Q),_0x443077=_0x306196[_0x1e77cb(0x13c)](_0x37efd4),_0x493e38=_0x306196['get'](_0x3dd8e4),{pivotTableId:_0x844108,position:_0x3f823f,index:_0x1912a8}=_0x421a79,_0x352d97=_0x40b5db(_0x443077);if(!_0x352d97)return!0x1;const {unitId:_0x3921b9,subUnitId:_0x4fb99f}=_0x352d97,_0x8c8c6a=(await _0x2ffff0[_0x1e77cb(0x197)]({'unitId':_0x3921b9,'subUnitId':_0x4fb99f,'pivotTableId':_0x844108,'params':{'type':k['UpdateValuePosition'],'updateValuePosition':{'position':_0x3f823f,'index':_0x1912a8}}}))[_0x1e77cb(0x126)][_0x1e77cb(0x38f)];if(!_0x8c8c6a)return!0x1;const {changesets:_0x698ff,view:_0x1b9de8,isEmpty:_0x36c747,pivotTableConfig:_0x183376}=_0x8c8c6a,_0x41c9ae=_0x183376['targetCellInfo'],_0x21d44d=new _0x25f857();_0x21d44d['formJSON'](_0x1b9de8);const _0x54b6c2=_0x306196['get'](ie),_0x5005cc={'cellInfo':_0x41c9ae,'view':_0x21d44d,'isEmpty':_0x36c747};if(!await _0x54b6c2[_0x1e77cb(0x2eb)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5005cc))return!0x1;const _0x4fe931=we(_0x306196,_0x21d44d,_0x41c9ae,_0x36c747),_0xd6c702=_e(_0x306196,_0x5005cc),{undos:_0x3613d4,redos:_0x3000ed}=me(_0x42a5a8,{'pivotTableId':_0x844108,'unitId':_0x3921b9,'subUnitId':_0x4fb99f},_0x698ff);return _0x44b6ee([..._0x4fe931['redos'],..._0xd6c702['redos'],..._0x3000ed],_0x42a5a8),_0x493e38[_0x1e77cb(0x2f4)]({'unitID':_0x3921b9,'redoMutations':[..._0x4fe931[_0x1e77cb(0x261)],..._0xd6c702['redos'],..._0x3000ed],'undoMutations':[..._0x4fe931[_0x1e77cb(0x17a)],..._0xd6c702[_0x1e77cb(0x17a)],..._0x3613d4]}),!0x0;}},Nt={'type':_0x593fdd[_0x135d33(0x2f2)],'id':_0x135d33(0x286),'handler'(){return!0x0;}};var Ns=Object[_0x135d33(0x293)],Vs=(_0x1205a6,_0x58ab38,_0x26125d,_0x4f263d)=>{const _0x3ff3f0=_0x135d33;for(var _0x3a2d65=_0x4f263d>0x1?void 0x0:_0x4f263d?Ns(_0x58ab38,_0x26125d):_0x58ab38,_0x1a5a99=_0x1205a6[_0x3ff3f0(0x312)]-0x1,_0x1c7e84;_0x1a5a99>=0x0;_0x1a5a99--)(_0x1c7e84=_0x1205a6[_0x1a5a99])&&(_0x3a2d65=_0x1c7e84(_0x3a2d65)||_0x3a2d65);return _0x3a2d65;},at=(_0x3e6b56,_0x4069e6)=>(_0x100e4c,_0x406de8)=>_0x4069e6(_0x100e4c,_0x406de8,_0x3e6b56);const xs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x4aa4ee,_0x370ff0,_0x4c5e51)=>{const _0x39f8e8=_0x135d33,_0x27572a=_0x4aa4ee['dataFieldsCollection'];_0x4aa4ee[_0x39f8e8(0x2a6)](_0x3b49da=>{const _0xef1fca=_0x39f8e8,_0x9f27de=_0x3b49da['getId'](),_0x15b0ef=_0x3b49da[_0xef1fca(0x190)](),_0x545b2e=_0x3b49da[_0xef1fca(0x251)](),_0x2bf08b=_0x3b49da[_0xef1fca(0x1e3)]();_0x370ff0[_0x15b0ef]&&_0x370ff0[_0x15b0ef]===_0x2bf08b&&_0x545b2e===_0x2bf08b&&(_0x4aa4ee[_0xef1fca(0x198)](_0x9f27de,_0x27572a[_0xef1fca(0x1e3)](_0x15b0ef)),_0x3b49da[_0xef1fca(0x34c)](_0x27572a[_0xef1fca(0x1e3)](_0x15b0ef)));}),_0x4aa4ee[_0x39f8e8(0x2c2)](_0x3c5bcb[_0x39f8e8(0x298)],_0x4a7864=>{const _0x579e66=_0x39f8e8,_0x2838ba=_0x4a7864[_0x579e66(0x2b2)](),_0x16f63e=_0x4a7864[_0x579e66(0x190)](),_0x375ff6=_0x4a7864['getSourceName'](),_0x1a5117=_0x4a7864[_0x579e66(0x1e3)](),_0x4bf56a=_0x4a7864['getSubtotal'](),_0x1dde6a=_0x4c5e51(_0x375ff6,_0x4bf56a);_0x370ff0[_0x16f63e]&&_0x370ff0[_0x16f63e]===_0x375ff6&&_0x1dde6a===_0x1a5117&&(_0x4aa4ee[_0x579e66(0x198)](_0x2838ba,_0x4c5e51(_0x27572a[_0x579e66(0x1e3)](_0x16f63e),_0x4bf56a)),_0x4a7864[_0x579e66(0x34c)](_0x27572a[_0x579e66(0x1e3)](_0x16f63e)));});},Os=(_0x5c5699,_0x542303,_0x26e9fe)=>{const _0x1edc8e=_0x135d33;var _0x603c6d,_0x4f07fe;const {arrayFormulaCellData:_0xd904c3,unitData:_0x1ac8e4}=_0x542303,{unitId:_0x222328,subUnitId:_0x41f1d0}=_0x26e9fe,_0x3c52ff=_0x26e9fe[_0x1edc8e(0x313)],{startColumn:_0x251de5,endColumn:_0x1273b5}=_0x3c52ff,_0x5a2822=(_0x603c6d=_0xd904c3==null?void 0x0:_0xd904c3[_0x222328])==null?void 0x0:_0x603c6d[_0x41f1d0],_0x5795e8=(_0x4f07fe=_0x1ac8e4==null?void 0x0:_0x1ac8e4[_0x222328])==null?void 0x0:_0x4f07fe[_0x41f1d0],_0x5eca33=new Set(),_0x57e846=_0x1273b5-_0x251de5+0x1,{dirtyRanges:_0x2096f5}=_0x5c5699;if(_0x2096f5)for(const {range:_0x53fa8c,sheetId:_0x52248c,unitId:_0x527019}of _0x2096f5){if(_0x52248c!==_0x41f1d0||_0x222328!==_0x527019)continue;const _0x25498f=_0x19fa73[_0x1edc8e(0x333)](_0x53fa8c,_0x3c52ff);if(_0x25498f){const {startColumn:_0x1ce8bf,endColumn:_0x28467a}=_0x25498f;for(let _0x12d09d=_0x1ce8bf;_0x12d09d<=_0x28467a;_0x12d09d++)_0x5eca33['add'](_0x12d09d);}}if(_0x5eca33[_0x1edc8e(0x1b6)]===_0x57e846||_0x5eca33[_0x1edc8e(0x1b6)]===_0x57e846)return Array['from'](_0x5eca33);if(_0x5795e8){const _0x179240=_0x5795e8['getMatrix'](),_0x553dee=Object[_0x1edc8e(0x346)](_0x179240);for(const _0x4defee of _0x553dee){const _0x3fd6b2=Number(_0x4defee),_0x5b53a9=_0x179240[_0x3fd6b2];if(_0x5eca33['size']===_0x57e846)break;for(const _0x5d4c38 in _0x5b53a9){const _0x4c327d=Number(_0x5d4c38);_0x4c327d<_0x251de5||_0x4c327d>_0x1273b5||_0x5eca33['add'](_0x4c327d);}}}if(_0x5a2822){const _0x5edc0b=_0x5a2822[_0x1edc8e(0x242)](),_0x18c8c4=Object[_0x1edc8e(0x346)](_0x5edc0b);for(const _0x59c95b of _0x18c8c4){const _0x271522=Number(_0x59c95b),_0x574588=_0x5edc0b[_0x271522];if(_0x5eca33[_0x1edc8e(0x1b6)]===_0x57e846)break;for(const _0x3c1ecf in _0x574588){const _0x19642a=Number(_0x3c1ecf);_0x19642a<_0x251de5||_0x19642a>_0x1273b5||_0x5eca33[_0x1edc8e(0x1c3)](_0x19642a);}}}return Array['from'](_0x5eca33);},As=_0x4efdac=>{const _0x1e400e=_0x135d33,_0x271797=new Set(),_0x1f12a0=[];for(const _0x27aefc of _0x4efdac){const _0x44c711=_0x27aefc['startRow']+','+_0x27aefc[_0x1e400e(0x196)]+','+_0x27aefc[_0x1e400e(0x348)]+','+_0x27aefc[_0x1e400e(0x1c4)];_0x271797[_0x1e400e(0x161)](_0x44c711)||(_0x271797[_0x1e400e(0x1c3)](_0x44c711),_0x1f12a0[_0x1e400e(0x20d)](_0x27aefc));}return _0x1f12a0;};let ct=class extends _0x2af600{constructor(_0x125044,_0x52dff5,_0x319640,_0x3a54ee,_0x3a2183){const _0xddcc=_0x135d33;super(),N(this,'_globalSubject',new _0x224ac1(!0x0)),N(this,_0xddcc(0x15d),_0x5c26d2=>{const _0x1d1b3a=_0xddcc;this[_0x1d1b3a(0x181)][_0x1d1b3a(0x369)](!0x1);}),N(this,_0xddcc(0x123),_0x1a014e=>{const _0x40c55a=_0xddcc;this['_globalSubject'][_0x40c55a(0x369)](!0x0);}),(this[_0xddcc(0x21c)]=_0x125044,this['_featureCalculationManagerService']=_0x52dff5,this[_0xddcc(0x26d)]=_0x319640,this[_0xddcc(0x244)]=_0x3a54ee,this[_0xddcc(0x15a)]=_0x3a2183,this['_init'](),this[_0xddcc(0x19d)]());}['_init'](){const _0x3e5d5c=_0x135d33;this[_0x3e5d5c(0x22e)](),this[_0x3e5d5c(0x2b4)](),this[_0x3e5d5c(0x119)](),this[_0x3e5d5c(0x29b)]();}[_0x135d33(0x31c)](){const _0xdf762c=_0x135d33;this[_0xdf762c(0x244)][_0xdf762c(0x170)](this[_0xdf762c(0x181)]),_0x409598['registerCallbackWithEvent'](_0x572af9[_0xdf762c(0x225)],this[_0xdf762c(0x15d)]),_0x409598[_0xdf762c(0x356)](_0x572af9[_0xdf762c(0x212)],this['_globalComputedEndHelpFunc']);}[_0x135d33(0x19d)](){const _0x13d79b=_0x135d33;this['disposeWithMe'](this[_0x13d79b(0x26d)]['onCommandExecuted'](_0xddf962=>{const _0x2127a8=_0x13d79b;_0xddf962['id']===_0x4d2a5c['id']&&this[_0x2127a8(0x21c)][_0x2127a8(0x38a)](_0xddf962[_0x2127a8(0x347)]);})),this[_0x13d79b(0x29f)](this['_commandService']['onCommandExecuted'](_0x1abb51=>{const _0x40cb19=_0x13d79b;if(_0x1abb51['id']!==ro['id'])return;const _0x15d517=_0x1abb51[_0x40cb19(0x347)],{unitId:_0x4c849e,subUnitId:_0x301df5,pivotTableId:_0x3612c7}=_0x15d517,_0x21d36a=_0x15d517[_0x40cb19(0x347)]['type'],_0x13d630={};switch(_0x21d36a){case k[_0x40cb19(0x27e)]:{const _0x2c970d=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x289)];if(!_0x2c970d)return;const {row:_0x1b737b,col:_0x420f0c,cellData:_0x4c32e0,pivotItemRenderInfoCache:_0x4a5fe7,tableFieldId:_0x17fba7}=_0x2c970d,_0x4983a0=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0x15d517[_0x40cb19(0x23e)]);if(!_0x4983a0||!_0x4a5fe7)return;if(_0x17fba7){const _0x2ac97e=_0x4983a0['getDataFieldByTableId'](_0x17fba7);if(!_0x2ac97e)return;_0x13d630[_0x40cb19(0x289)]={..._0x4983a0[_0x40cb19(0x139)](_0x2ac97e),'tableFieldId':_0x17fba7,'pivotTableId':_0x15d517['pivotTableId'],'filterInfo':_0x4983a0[_0x40cb19(0x31a)](_0x17fba7),'sortInfo':_0x4983a0[_0x40cb19(0x192)](_0x17fba7),'format':_0x4983a0['getFieldFormat'](_0x17fba7)};}else{const _0x18704e=ki(_0x1b737b,_0x420f0c,_0x4c32e0,_0x4983a0,_0x4a5fe7),_0x4272a7=_0x18704e==null?void 0x0:_0x18704e[_0x40cb19(0x373)];if(!_0x4272a7)return;const _0x1bef5c=_0x4983a0[_0x40cb19(0x21f)](_0x4272a7);if(!_0x1bef5c)return;_0x13d630[_0x40cb19(0x289)]={..._0x4983a0[_0x40cb19(0x139)](_0x1bef5c),'tableFieldId':_0x4272a7,'pivotTableId':_0x15d517['pivotTableId'],'filterInfo':_0x4983a0[_0x40cb19(0x31a)](_0x4272a7),'sortInfo':_0x4983a0[_0x40cb19(0x192)](_0x4272a7),'format':_0x4983a0[_0x40cb19(0x26a)](_0x4272a7)};}}break;case k[_0x40cb19(0x2f6)]:{const _0x36ebe3=_0x15d517['params'][_0x40cb19(0x37c)];if(!_0x36ebe3)return;const {pivotTableId:_0xfd1da}=_0x36ebe3,_0x431f8d=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0xfd1da);if(!_0x431f8d)return;const _0x28cbd5=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x4c849e,_0x301df5,_0xfd1da),_0x395415=Li(_0x431f8d,_0xfd1da,_0x28cbd5);_0x13d630[_0x40cb19(0x37c)]=_0x395415;}break;case k[_0x40cb19(0x28a)]:{const _0x3aaad7=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0x3612c7),_0x744457=this[_0x40cb19(0x21c)]['getDataFieldManager'](_0x4c849e),_0x498b0b=_0x744457[_0x40cb19(0x254)](_0x3612c7);let _0x2838fd=null;const _0x1e5d0b=this[_0x40cb19(0x21c)]['getPivotTableConfig'](_0x4c849e,_0x301df5,_0x3612c7),_0x3be596=_0x15d517['params'][_0x40cb19(0x11f)];if(!_0x3aaad7||!_0x1e5d0b||!_0x3be596)return!0x1;const {dataFieldId:_0x5bae97,fieldArea:_0x350332,index:_0x5c8bb0}=_0x3be596;_0x3aaad7['startCollectChangeset']();const _0x1ad6e6=_0x3aaad7[_0x40cb19(0x129)](_0x5bae97,_0x350332,_0x5c8bb0);if(_0x1ad6e6&&_0x350332===_0x3c5bcb[_0x40cb19(0x298)]){const _0x1257b9=_0x1ad6e6[_0x40cb19(0x2b2)](),_0x3f136b=_0x3aaad7[_0x40cb19(0x21f)](_0x1257b9);if(_0x3f136b){const _0xa16d06=_0x3f136b==null?void 0x0:_0x3f136b[_0x40cb19(0x271)]();_0x3aaad7[_0x40cb19(0x15c)](_0x1ad6e6[_0x40cb19(0x2b2)](),_0xa16d06===_0x4ecd94[_0x40cb19(0x330)]?_0xb64993[_0x40cb19(0x30f)]:_0xb64993[_0x40cb19(0x2ad)]);}const _0x1923e3=_0x3aaad7['getValueIndex'](),_0x304d00=_0x3aaad7['getValuePosition'](),_0x344178=_0x3aaad7['getFieldCountByArea'](_0x3c5bcb[_0x40cb19(0x298)]);if(_0x1923e3===-0x1&&_0x344178>0x1){const _0xcc16d4=_0x304d00===_0x1efcd8[_0x40cb19(0x2e0)]?_0x1efcd8[_0x40cb19(0x240)]:_0x304d00,_0x110b4b=_0xcc16d4===_0x1efcd8[_0x40cb19(0x11d)]?_0x3c5bcb[_0x40cb19(0x11d)]:_0x3c5bcb[_0x40cb19(0x240)];_0x3aaad7[_0x40cb19(0x38f)](_0xcc16d4,_0x3aaad7['getFieldCountByArea'](_0x110b4b));}}else{if(_0x1ad6e6&&(_0x350332===_0x3c5bcb[_0x40cb19(0x11d)]||_0x350332===_0x3c5bcb[_0x40cb19(0x240)])){const _0x4feaa0=_0x1ad6e6['getId'](),_0xf9da61=_0x3aaad7['getDataFieldByTableId'](_0x4feaa0);if(_0xf9da61&&(_0xf9da61==null?void 0x0:_0xf9da61[_0x40cb19(0x271)]())===_0x4ecd94[_0x40cb19(0x335)]){const _0x3cb4fa=_0xf9da61[_0x40cb19(0x1b9)]();if(_0x3cb4fa&&_0x3aaad7['setFieldFormat'](_0x1ad6e6['getId'](),_0x3cb4fa),!_0x498b0b[_0x40cb19(0x2e3)]()[_0x40cb19(0x10f)](_0x38f6b0=>{const _0x118865=_0x40cb19,_0x4131a7=_0x498b0b['getFieldById'](_0x38f6b0);return _0x138f61(_0x4131a7)?_0x4131a7[_0x118865(0x180)]()[_0x118865(0x1f3)]===_0x5bae97:!0x1;})){const _0x1a4885=_0x744457[_0x40cb19(0x2fc)](),_0x252dea=Ki(_0xf9da61[_0x40cb19(0x241)],_0xf9da61[_0x40cb19(0x2f5)]),_0x17dfe0=_0xf9da61[_0x40cb19(0x265)]()+_0x40cb19(0x227)+Ho(this[_0x40cb19(0x15a)],_0x252dea),_0x293b20=new _0x4980ca(_0x1a4885,_0x17dfe0,_0xd1b26e(0x3),_0xf9da61[_0x40cb19(0x2b2)](),_0x252dea);_0x744457[_0x40cb19(0x1a5)](_0x293b20),_0x498b0b[_0x40cb19(0x21b)](_0x1a4885,_0x17dfe0),_0x3aaad7[_0x40cb19(0x129)](_0x1a4885,_0x350332,(_0x5c8bb0!=null?_0x5c8bb0:0x0)+0x1),_0x2838fd=_0x293b20;}}}}const _0x54c831=_0x3aaad7['isEmpty'](),_0x30e0bd=_0x3aaad7[_0x40cb19(0x1e2)]()[_0x40cb19(0x323)]();let _0xbf4849;if(_0x2838fd){_0xbf4849=_0x2838fd[_0x40cb19(0x323)]();const _0x560c3d=_0x2838fd[_0x40cb19(0x2b2)]();_0x498b0b[_0x40cb19(0x30e)](_0x560c3d);let _0x569881=!0x0;for(const _0x37686e in _0x744457[_0x40cb19(0x383)])if(_0x744457[_0x40cb19(0x383)][_0x37686e]['getFieldIds']()['includes'](_0x560c3d)){_0x569881=!0x1;break;}_0x569881&&_0x744457['deleteDataField'](_0x560c3d);}const _0x7b89d5=_0x3aaad7[_0x40cb19(0x280)]();_0x13d630[_0x40cb19(0x11f)]={'view':_0x30e0bd,'changesets':_0x7b89d5,'isEmpty':_0x54c831,'pivotTableConfig':_0x1e5d0b,'shouldBeAddedGroupJSON':_0xbf4849};}break;case k[_0x40cb19(0x151)]:{const _0x7e6bff=_0x15d517['params'][_0x40cb19(0x277)];if(!_0x7e6bff)return;const _0x598521=_0x7e6bff['sourceRangeInfo'],_0x1e4bba=_0x7e6bff[_0x40cb19(0x23e)],{collection:_0x1e3628}=this[_0x40cb19(0x21c)][_0x40cb19(0x1f1)]({'unitId':_0x598521[_0x40cb19(0x1bd)],'sheetName':_0x598521[_0x40cb19(0x1cb)],'subUnitId':_0x598521['subUnitId'],'range':_0x598521[_0x40cb19(0x313)]}),_0x2ed8a6=new _0x409598(_0x1e3628,void 0x0,_0x1e4bba),_0xef3bd4=_0x2ed8a6['query'](),_0x5d8a58=_0x2ed8a6[_0x40cb19(0x323)](),_0xd7d16e=_0x1e3628[_0x40cb19(0x323)]();_0x13d630['addPivotTable']={'view':_0xef3bd4,'fieldsConfig':_0x5d8a58,'collectionConfig':_0xd7d16e,'isEmpty':_0x2ed8a6[_0x40cb19(0x2a9)]()};}break;case k[_0x40cb19(0x157)]:{const _0x4800e2=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x32b)];if(!_0x4800e2)return;const {fieldId:_0x33f640,area:_0x442037,index:_0x196c77}=_0x4800e2,_0x4728fd=this[_0x40cb19(0x21c)][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x4728fd)return;const _0x1473dd=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0x3612c7);if(!_0x1473dd)return;_0x1473dd[_0x40cb19(0x10e)]();const {area:_0x16a2e9,index:_0x43e8a1}=_0x1473dd['getFieldPositionInfoById'](_0x33f640);if(_0x1473dd['updateFieldPosition'](_0x33f640,_0x442037,_0x196c77),_0x442037===_0x3c5bcb[_0x40cb19(0x298)]&&_0x1473dd[_0x40cb19(0x29e)](_0x33f640)['getSubtotal']()===void 0x0){const _0x3b3ca3=_0x1473dd['getTableFieldById'](_0x33f640);if(_0x3b3ca3&&_0x3b3ca3[_0x40cb19(0x1cc)]()===void 0x0){const _0x22e0c3=_0x1473dd[_0x40cb19(0x21f)](_0x33f640);if(_0x22e0c3){const _0x10f9ff=_0x22e0c3==null?void 0x0:_0x22e0c3['getFieldDataType']();_0x1473dd[_0x40cb19(0x15c)](_0x33f640,_0x10f9ff===_0x4ecd94['number']?_0xb64993[_0x40cb19(0x30f)]:_0xb64993[_0x40cb19(0x2ad)]);}}}const _0x4f9b45=_0x1473dd['getValuePosition'](),_0x179cab=_0x1473dd[_0x40cb19(0x235)](),_0xe4b857=_0x1473dd[_0x40cb19(0x168)](_0x3c5bcb[_0x40cb19(0x298)])>0x1;if(_0xe4b857&&_0x16a2e9===_0x442037&&(_0x442037===_0x3c5bcb[_0x40cb19(0x11d)]&&_0x4f9b45===_0x1efcd8[_0x40cb19(0x11d)]||_0x442037===_0x3c5bcb[_0x40cb19(0x240)]&&_0x4f9b45===_0x1efcd8[_0x40cb19(0x240)])){let _0x2faebd=_0x179cab;_0x43e8a1<=_0x179cab&&_0x2faebd--,_0x196c77<=_0x179cab&&_0x2faebd++,_0x1473dd[_0x40cb19(0x38f)](_0x4f9b45,_0x2faebd);}else _0xe4b857&&(_0x16a2e9===_0x3c5bcb['Row']&&_0x4f9b45===_0x1efcd8['Row']||_0x16a2e9===_0x3c5bcb[_0x40cb19(0x240)]&&_0x4f9b45===_0x1efcd8[_0x40cb19(0x240)])&&_0x179cab>=_0x43e8a1&&_0x1473dd['updateValuePosition'](_0x4f9b45,_0x179cab-0x1),_0xe4b857&&(_0x442037===_0x3c5bcb[_0x40cb19(0x11d)]&&_0x4f9b45===_0x1efcd8[_0x40cb19(0x11d)]||_0x442037===_0x3c5bcb[_0x40cb19(0x240)]&&_0x4f9b45===_0x1efcd8[_0x40cb19(0x240)])&&_0x179cab>=_0x196c77&&_0x1473dd[_0x40cb19(0x38f)](_0x4f9b45,_0x179cab+0x1);const _0x3f2c4b=_0x1473dd[_0x40cb19(0x1e2)](),_0x85b4d0=_0x1473dd[_0x40cb19(0x2a9)](),_0x47a970=_0x1473dd[_0x40cb19(0x280)]();_0x13d630[_0x40cb19(0x32b)]={'view':_0x3f2c4b[_0x40cb19(0x323)](),'changesets':_0x47a970,'isEmpty':_0x85b4d0,'pivotTableConfig':_0x4728fd};}break;case k['RemovePivotField']:{const _0x5ec9d1=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x1f5)];if(!_0x5ec9d1)return;const _0x17c99f=_0x5ec9d1[_0x40cb19(0x2a0)],_0x3ef5a8=this[_0x40cb19(0x21c)][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x3ef5a8)return!0x1;const _0xdd4a5f=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0x3612c7);if(!_0xdd4a5f)return!0x1;_0xdd4a5f[_0x40cb19(0x10e)]();for(const _0x4b86b0 of _0x17c99f){const {area:_0x1eb031}=_0xdd4a5f['getFieldPositionInfoById'](_0x4b86b0);_0x1eb031===_0x3c5bcb[_0x40cb19(0x298)]&&_0xdd4a5f[_0x40cb19(0x1e6)](_0x4b86b0),(_0x1eb031===_0x3c5bcb[_0x40cb19(0x11d)]||_0x1eb031===_0x3c5bcb[_0x40cb19(0x240)])&&_0xdd4a5f[_0x40cb19(0x128)](_0x4b86b0),_0xdd4a5f[_0x40cb19(0x2a8)](_0x4b86b0);}const _0x33a426=_0xdd4a5f[_0x40cb19(0x2a9)](),_0x41e42d=_0xdd4a5f[_0x40cb19(0x1e2)]()[_0x40cb19(0x323)](),_0x529bce=_0xdd4a5f[_0x40cb19(0x280)]();_0x13d630[_0x40cb19(0x1f5)]={'changesets':_0x529bce,'pivotTableConfig':_0x3ef5a8,'isEmpty':_0x33a426,'view':_0x41e42d};}break;case k['SetPivotFilter']:{const _0x4e5cc8=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x152)];if(!_0x4e5cc8)return;const {tableFieldId:_0x5084ca,items:_0x214500,isAll:_0x4eabdf}=_0x4e5cc8,_0x13d345=this[_0x40cb19(0x21c)]['getPivotTableInstance'](_0x3612c7),_0x12aeb5=this['_sheetsPivotDataSourceModel'][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x13d345||!_0x12aeb5)return;_0x13d345[_0x40cb19(0x10e)](),_0x13d345[_0x40cb19(0x2bd)](_0x5084ca,{'type':_0xb31677['ManualFilter'],'list':_0x214500,'isAll':_0x4eabdf});const _0x8bc3c2=_0x13d345[_0x40cb19(0x2a9)](),_0x20eace=_0x13d345[_0x40cb19(0x1e2)]()[_0x40cb19(0x323)](),_0x361a4b=_0x13d345[_0x40cb19(0x280)]();_0x13d630[_0x40cb19(0x152)]={'view':_0x20eace,'changesets':_0x361a4b,'isEmpty':_0x8bc3c2,'pivotTableConfig':_0x12aeb5};}break;case k['SetValuePivotFilter']:{const _0x30e770=_0x15d517['params']['setValuePivotFilter'];if(!_0x30e770)return;const {tableFieldId:_0x3d9ff7,filterInfo:_0x478c8e}=_0x30e770,_0x33b4a5=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x3612c7),_0x59fd6f=this[_0x40cb19(0x21c)]['getPivotTableConfig'](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x33b4a5||!_0x59fd6f)return;_0x33b4a5['startCollectChangeset'](),_0x33b4a5[_0x40cb19(0x266)](_0x3d9ff7,_0x478c8e);const _0x51158e=_0x33b4a5['isEmpty'](),_0x586a41=_0x33b4a5[_0x40cb19(0x1e2)]()[_0x40cb19(0x323)](),_0x1d49c5=_0x33b4a5[_0x40cb19(0x280)]();_0x13d630['setValuePivotFilter']={'view':_0x586a41,'changesets':_0x1d49c5,'isEmpty':_0x51158e,'pivotTableConfig':_0x59fd6f};}break;case k[_0x40cb19(0x15e)]:{const _0x42a066=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x28e)];if(!_0x42a066)return;const {tableFieldId:_0x1a7319,info:_0x562228}=_0x42a066,_0x5ed2f2=this['_sheetsPivotDataSourceModel'][_0x40cb19(0x1ff)](_0x3612c7),_0xcd99eb=this[_0x40cb19(0x21c)]['getPivotTableConfig'](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x5ed2f2||!_0xcd99eb)return;_0x5ed2f2[_0x40cb19(0x10e)](),_0x5ed2f2['setSortInfo'](_0x1a7319,_0x562228);const _0x2d448c=_0x5ed2f2[_0x40cb19(0x2a9)](),_0x209c59=_0x5ed2f2[_0x40cb19(0x1e2)]()[_0x40cb19(0x323)](),_0x3c02a4=_0x5ed2f2['endCollectChangeset']();_0x13d630[_0x40cb19(0x28e)]={'view':_0x209c59,'changesets':_0x3c02a4,'isEmpty':_0x2d448c,'pivotTableConfig':_0xcd99eb};}break;case k[_0x40cb19(0x159)]:{const _0x180314=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x361)];if(!_0x180314)return;const {tableFieldId:_0xe3c31,displayName:_0x1eb0b2,subtotalType:_0x292830,format:_0x297dab}=_0x180314,_0x1d505b=this[_0x40cb19(0x21c)]['getPivotTableInstance'](_0x3612c7),_0x31541c=this[_0x40cb19(0x21c)][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x1d505b||!_0x31541c)return;_0x1d505b['startCollectChangeset'](),_0x1eb0b2!==void 0x0&&_0x1d505b[_0x40cb19(0x198)](_0xe3c31,_0x1eb0b2),_0x292830!==void 0x0&&_0x1d505b[_0x40cb19(0x15c)](_0xe3c31,_0x292830),_0x297dab!==void 0x0&&_0x1d505b[_0x40cb19(0x291)](_0xe3c31,_0x297dab);const _0x5d1a8b=_0x1d505b[_0x40cb19(0x2a9)](),_0x43125d=_0x1d505b[_0x40cb19(0x1e2)]()[_0x40cb19(0x323)](),_0x15841e=_0x1d505b[_0x40cb19(0x280)]();_0x13d630[_0x40cb19(0x361)]={'changesets':_0x15841e,'pivotTableConfig':_0x31541c,'isEmpty':_0x5d1a8b,'view':_0x43125d};}break;case k['UpdatePivotSource']:{const _0x5621d5=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x1e4)];if(!_0x5621d5)return;const {dataRangeInfo:_0x73b958,unitId:_0x5f2224,subUnitId:_0x1db7a9}=_0x5621d5,_0x443855=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5f2224,_0x1db7a9,_0x3612c7),_0x8d4814=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0x3612c7);if(!this[_0x40cb19(0x21c)][_0x40cb19(0x254)](_0x5f2224,_0x3612c7)||!_0x8d4814||!_0x443855)return;const _0x2efea9=this[_0x40cb19(0x21c)][_0x40cb19(0x1a1)](_0x5f2224,_0x3612c7,_0x73b958),_0x3d59d5=this[_0x40cb19(0x21c)][_0x40cb19(0x254)](_0x5f2224,_0x3612c7)['toJSON'](),{collection:_0x54c947}=this[_0x40cb19(0x21c)][_0x40cb19(0x1f1)]({'unitId':_0x73b958[_0x40cb19(0x1bd)],'sheetName':_0x73b958[_0x40cb19(0x1cb)],'subUnitId':_0x73b958[_0x40cb19(0x1d3)],'range':_0x73b958[_0x40cb19(0x313)]}),_0x44577c=_0x54c947[_0x40cb19(0x323)]();_0x8d4814[_0x40cb19(0x10e)]();const _0x4905d2=this['_sheetsPivotDataSourceModel'][_0x40cb19(0x1a3)](_0x5f2224)[_0x40cb19(0x140)]()||_0x36f8ae;_0x8d4814[_0x40cb19(0x309)](_0x3ae443=>{const _0x28515f=_0x40cb19,_0x49051f=_0x3ae443[_0x28515f(0x190)]();if(!_0x54c947['hasField'](_0x49051f)){const _0x53cbb=_0x54c947[_0x28515f(0x243)](_0x3ae443[_0x28515f(0x251)]());if(_0x53cbb){_0x8d4814[_0x28515f(0x2e5)](_0x3ae443['getId'](),_0x53cbb[_0x28515f(0x265)](),_0x53cbb[_0x28515f(0x2b2)]());const {area:_0x5b0aad}=_0x8d4814['getFieldPositionInfoById'](_0x3ae443[_0x28515f(0x2b2)]());let _0x2c9185=_0x3ae443['getSourceName']();const _0x1da6ee=_0x3ae443[_0x28515f(0x1e3)]();if(_0x5b0aad===_0x3c5bcb[_0x28515f(0x298)]){const _0x371629=_0x3ae443[_0x28515f(0x1cc)]();_0x2c9185=_0x4905d2(_0x53cbb['getName'](),_0x371629);}_0x1da6ee!==_0x2c9185&&_0x8d4814[_0x28515f(0x198)](_0x3ae443[_0x28515f(0x2b2)](),_0x2c9185);}else _0x8d4814[_0x28515f(0x2a8)](_0x3ae443[_0x28515f(0x2b2)]());}});const _0x2872e4=_0x8d4814['isEmpty'](),_0x559728=_0x8d4814[_0x40cb19(0x1e2)]()['toJSON'](),_0x527af6=_0x8d4814[_0x40cb19(0x280)]();_0x13d630[_0x40cb19(0x1e4)]={'view':_0x559728,'changesets':_0x527af6,'isEmpty':_0x2872e4,'pivotTableConfig':_0x443855,'collectionConfig':_0x44577c,'oldCollectionConfig':_0x3d59d5,'deleteIds':_0x2efea9};}break;case k[_0x40cb19(0x284)]:{const _0x42dfa8=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x38f)];if(!_0x42dfa8)return;const {position:_0x31ddf0,index:_0x271fc4}=_0x42dfa8,_0x564ab1=this[_0x40cb19(0x21c)][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x564ab1)return!0x1;const _0x263a55=this[_0x40cb19(0x21c)]['getPivotTableInstance'](_0x3612c7);if(!_0x263a55)return!0x1;_0x263a55[_0x40cb19(0x10e)](),_0x263a55[_0x40cb19(0x38f)](_0x31ddf0,_0x271fc4);const _0x1427fa=_0x263a55[_0x40cb19(0x2a9)](),_0x175e83=_0x263a55[_0x40cb19(0x1e2)]()['toJSON'](),_0x1bd308=_0x263a55['endCollectChangeset']();_0x13d630[_0x40cb19(0x38f)]={'changesets':_0x1bd308,'pivotTableConfig':_0x564ab1,'isEmpty':_0x1427fa,'view':_0x175e83};}break;case k[_0x40cb19(0x33f)]:{const _0x1bb30d=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x174)];if(!_0x1bb30d)return;const {tableFieldId:_0x154e14,collapse:_0x15d3c5,item:_0x132173}=_0x1bb30d,_0x24c302=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0x3612c7),_0x498e3f=this['_sheetsPivotDataSourceModel'][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x24c302||!_0x498e3f)return;_0x24c302['startCollectChangeset'](),_0x24c302['setCollapse'](_0x154e14,_0x15d3c5,_0x132173);const _0x5775ff=_0x24c302[_0x40cb19(0x2a9)](),_0x1ca353=_0x24c302[_0x40cb19(0x1e2)]()['toJSON'](),_0x4e62e8=_0x24c302['endCollectChangeset']();_0x13d630[_0x40cb19(0x174)]={'view':_0x1ca353,'isEmpty':_0x5775ff,'pivotTableConfig':_0x498e3f,'changesets':_0x4e62e8};}break;case k[_0x40cb19(0x189)]:{const _0x469522=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x315)];if(!_0x469522)return;const {pivotTableConfig:_0x68abba}=_0x469522,_0x54ccc8=this[_0x40cb19(0x21c)][_0x40cb19(0x1ff)](_0x3612c7),_0x50b49a=this['_sheetsPivotDataSourceModel'][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x54ccc8||!_0x50b49a)return;_0x54ccc8[_0x40cb19(0x10e)](),Gi(_0x54ccc8,_0x68abba);const _0x599a54=_0x54ccc8['isEmpty'](),_0xe2c655=_0x54ccc8[_0x40cb19(0x1e2)]()[_0x40cb19(0x323)](),_0x41a996=_0x54ccc8[_0x40cb19(0x280)]();_0x13d630[_0x40cb19(0x315)]={'view':_0xe2c655,'isEmpty':_0x599a54,'pivotTableConfig':{..._0x50b49a,'fieldsConfig':_0x54ccc8['toJSON']()},'changesets':_0x41a996};}break;case k[_0x40cb19(0x2e2)]:{const _0x4c0e27=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x10c)];if(!_0x4c0e27)return;const _0x3082d9=this[_0x40cb19(0x21c)]['getPivotTableInstance'](_0x3612c7),_0x186cc0=this[_0x40cb19(0x21c)][_0x40cb19(0x1c8)](_0x4c849e,_0x301df5,_0x3612c7);if(!_0x3082d9||!_0x186cc0)return;_0x3082d9[_0x40cb19(0x10e)](),ji(_0x3082d9,_0x4c0e27[_0x40cb19(0x296)]);const _0x2d4343=_0x3082d9['query']()['toJSON'](),_0x536a26=_0x3082d9[_0x40cb19(0x280)]();_0x13d630['resetPivotTable']={'view':_0x2d4343,'isEmpty':!0x0,'pivotTableConfig':{..._0x186cc0,'fieldsConfig':_0x3082d9[_0x40cb19(0x323)]()},'changesets':_0x536a26};}break;case k[_0x40cb19(0x2c6)]:{const _0x5e94af=_0x15d517[_0x40cb19(0x347)][_0x40cb19(0x177)];if(!_0x5e94af)return;const _0x385903=_0x5e94af['sourceRangeInfo'],_0x4cb2f9=_0x5e94af['pivotTableId'],{collection:_0x2230e7}=this[_0x40cb19(0x21c)]['createCollectionWithDataRange']({'unitId':_0x385903[_0x40cb19(0x1bd)],'sheetName':_0x385903['sheetName'],'subUnitId':_0x385903[_0x40cb19(0x1d3)],'range':_0x385903[_0x40cb19(0x313)]}),_0x338da8=new _0x409598(_0x2230e7,void 0x0,_0x4cb2f9),_0x14de2e=_0x2230e7[_0x40cb19(0x2e3)](),{rows:_0x452893,columns:_0x109c01,filters:_0x1419c7,values:_0x9a3a63}=_0x5e94af['pivotTableIndexConfig'];_0x338da8[_0x40cb19(0x10e)]();for(const {field:_0x450f4b,selectedItems:_0x1af233}of _0x452893||[]){const _0x47f1e8=_0x14de2e[_0x450f4b];if(_0x47f1e8){const _0x2692fc=_0x338da8[_0x40cb19(0x129)](_0x47f1e8,_0x3c5bcb['Row']);_0x1af233&&_0x2692fc&&_0x338da8[_0x40cb19(0x2bd)](_0x2692fc[_0x40cb19(0x2b2)](),{'type':_0xb31677[_0x40cb19(0x132)],'list':_0x1af233,'isAll':!0x1});}}for(const {field:_0xb0c997,selectedItems:_0x51c081}of _0x109c01||[]){const _0x59a6fa=_0x14de2e[_0xb0c997];if(_0x59a6fa){const _0x37838d=_0x338da8[_0x40cb19(0x129)](_0x59a6fa,_0x3c5bcb[_0x40cb19(0x240)]);_0x51c081&&_0x37838d&&_0x338da8[_0x40cb19(0x2bd)](_0x37838d[_0x40cb19(0x2b2)](),{'type':_0xb31677[_0x40cb19(0x132)],'list':_0x51c081,'isAll':!0x1});}}for(const {field:_0x4db175,selectedItems:_0x4a6adf}of _0x1419c7||[]){const _0x3f84e4=_0x14de2e[_0x4db175];if(_0x3f84e4){const _0x4d58b5=_0x338da8[_0x40cb19(0x129)](_0x3f84e4,_0x3c5bcb[_0x40cb19(0x27e)]);_0x4a6adf&&_0x4d58b5&&_0x338da8[_0x40cb19(0x2bd)](_0x4d58b5[_0x40cb19(0x2b2)](),{'type':_0xb31677[_0x40cb19(0x132)],'list':_0x4a6adf,'isAll':!0x1});}}for(const {field:_0x40494e,subTotalType:_0x377cf0,formatString:_0x281400}of _0x9a3a63||[]){const _0x5f26e2=_0x2230e7['getFieldById'](_0x14de2e[_0x40494e]);if(!_0x5f26e2)continue;const _0x3baaac=_0x14de2e[_0x40494e];if(_0x3baaac){const _0x25d8ed=_0x338da8[_0x40cb19(0x129)](_0x3baaac,_0x3c5bcb[_0x40cb19(0x298)]);if(_0x25d8ed){if(_0x377cf0!==void 0x0){_0x338da8['setSubtotalType'](_0x25d8ed['getId'](),_0x377cf0);const _0x5b9f76=this[_0x40cb19(0x21c)][_0x40cb19(0x1a3)](_0x385903[_0x40cb19(0x1bd)])[_0x40cb19(0x140)]()||_0x36f8ae,_0x5b6845=_0x2230e7[_0x40cb19(0x1e3)](_0x3baaac),_0x326a3b=_0x5b9f76(_0x5b6845,_0x377cf0);_0x338da8['renameField'](_0x25d8ed['getId'](),_0x326a3b);}else{if(_0x5f26e2){const _0x4d180d=_0x5f26e2==null?void 0x0:_0x5f26e2[_0x40cb19(0x271)]();_0x338da8[_0x40cb19(0x15c)](_0x25d8ed[_0x40cb19(0x2b2)](),_0x4d180d===_0x4ecd94['number']?_0xb64993['sum']:_0xb64993['count']);}}_0x281400&&_0x338da8[_0x40cb19(0x291)](_0x25d8ed[_0x40cb19(0x2b2)](),_0x281400);}}}const _0x8b60cb=_0x338da8[_0x40cb19(0x1e2)](),_0x25f0ca=_0x338da8[_0x40cb19(0x323)](),_0x11e0e1=_0x338da8['isEmpty'](),_0x25f026=_0x338da8[_0x40cb19(0x280)](),_0xb05c0b=_0x2230e7['toJSON']();_0x13d630['addPivotTableWithConfig']={'view':_0x8b60cb,'fieldsConfig':_0x25f0ca,'collectionConfig':_0xb05c0b,'isEmpty':_0x11e0e1,'changesets':_0x25f026};}break;case k['DrillDown']:{const _0x1fa822=Bi(this[_0x40cb19(0x15a)],_0x15d517);if(!_0x1fa822)return;const {range:_0x1a6892,sourceSubUnitId:_0x533b7a,sourceUnitId:_0x3cd4dc,formatMap:_0x3389d1,indexes:_0x12ffec}=_0x1fa822;_0x13d630[_0x40cb19(0x234)]={'range':_0x1a6892,'sourceSubUnitId':_0x533b7a,'sourceUnitId':_0x3cd4dc,'formatMap':_0x3389d1,'indexes':_0x12ffec};}break;}this['_commandService']['executeCommand'](lo['id'],{'version':_0x15d517[_0x40cb19(0x24f)],'result':_0x13d630},{'onlyLocal':!0x0});}));}[_0x135d33(0x119)](){const _0x5ebfd8=_0x135d33;this[_0x5ebfd8(0x29f)](this[_0x5ebfd8(0x26d)][_0x5ebfd8(0x386)](_0x18cb0c=>{const _0x87059a=_0x5ebfd8;if(_0x18cb0c['id']!==uo['id'])return;const _0x16280c=_0x18cb0c['params'];return this[_0x87059a(0x21c)][_0x87059a(0x389)](_0x16280c[_0x87059a(0x121)]),!0x0;}));}['_subjectCollectionChange'](){const _0x55720a=_0x135d33;this[_0x55720a(0x21c)][_0x55720a(0x16c)][_0x55720a(0x1db)](_0x30213e=>{const _0x4cd2b4=_0x55720a;switch(_0x30213e[_0x4cd2b4(0x111)]){case Be[_0x4cd2b4(0x1c3)]:_0x30213e[_0x4cd2b4(0x12f)]&&_0x30213e['targetCellInfo']&&this[_0x4cd2b4(0x221)](_0x30213e[_0x4cd2b4(0x2ce)],_0x30213e[_0x4cd2b4(0x12f)],_0x30213e[_0x4cd2b4(0x12e)]);break;case Be[_0x4cd2b4(0x260)]:{const {unitId:_0x389359,subUnitId:_0x128939,token:_0x32f235}=_0x30213e;_0x389359&&_0x128939&&_0x32f235&&this[_0x4cd2b4(0x283)](_0x389359,_0x128939,_0x32f235);}break;case Be[_0x4cd2b4(0x326)]:{const {token:_0xc64ce,oldSourceRangeInfo:_0x4110d2,dataRangeInfo:_0xbcec17,targetCellInfo:_0x2f144d}=_0x30213e,{unitId:_0x17058a,subUnitId:_0x3001ca}=_0x4110d2||{};_0x17058a&&_0x3001ca&&_0xc64ce&&this[_0x4cd2b4(0x283)](_0x17058a,_0x3001ca,_0xc64ce),_0xbcec17&&_0x2f144d&&this[_0x4cd2b4(0x221)](_0xc64ce,_0xbcec17,_0x2f144d);}break;}});}[_0x135d33(0x29b)](){const _0x521360=_0x135d33;this[_0x521360(0x21c)][_0x521360(0x16b)][_0x521360(0x1db)](_0x350c52=>{const _0x270f6b=_0x521360;Object[_0x270f6b(0x346)](_0x350c52)[_0x270f6b(0x314)](_0x3c5dfc=>{const _0x38a77b=_0x270f6b,_0x5bc7f0=this[_0x38a77b(0x21c)]['getTargetByPivotId'](_0x3c5dfc);if(_0x5bc7f0){const _0x314a6b=this['_sheetsPivotDataSourceModel'][_0x38a77b(0x1c8)](_0x5bc7f0==null?void 0x0:_0x5bc7f0['unitId'],_0x5bc7f0==null?void 0x0:_0x5bc7f0[_0x38a77b(0x1d3)],_0x3c5dfc);_0x314a6b&&(this[_0x38a77b(0x221)](_0x3c5dfc,_0x314a6b['sourceRangeInfo'],_0x314a6b[_0x38a77b(0x12e)]),this['triggerDirtyFeature']([{'unitId':_0x5bc7f0[_0x38a77b(0x1bd)],'subUnitId':_0x5bc7f0['subUnitId'],'token':_0x3c5dfc}]));}});});}[_0x135d33(0x2b4)](){const _0xd698ca=_0x135d33;this[_0xd698ca(0x21c)][_0xd698ca(0x21d)][_0xd698ca(0x1db)](_0x3ff340=>{const {unitId:_0x55b1cb,subUnitId:_0x45dcbb,pivotTableId:_0x4f7141}=_0x3ff340;_0x55b1cb&&_0x45dcbb&&_0x4f7141&&this['triggerDirtyFeature']([{'unitId':_0x55b1cb,'subUnitId':_0x45dcbb,'token':_0x4f7141}]);});}['triggerDirtyFeature'](_0x1cf4b6){const _0x24518f=_0x135d33,_0x1d04b7={};_0x1cf4b6[_0x24518f(0x314)](_0x584ec3=>{var _0xb35910,_0x97efb5;const {unitId:_0x397a91,subUnitId:_0x438e2a,token:_0x38ab6d}=_0x584ec3;_0x1d04b7[_0x397a91]=(_0xb35910=_0x1d04b7[_0x397a91])!=null?_0xb35910:{},_0x1d04b7[_0x397a91][_0x438e2a]=(_0x97efb5=_0x1d04b7[_0x397a91][_0x438e2a])!=null?_0x97efb5:{},_0x1d04b7[_0x397a91][_0x438e2a][_0x38ab6d]=!0x0;}),this[_0x24518f(0x26d)]['executeCommand'](Nt['id'],_0x1d04b7);}[_0x135d33(0x283)](_0xef251d,_0x2572a7,_0x4c388c){const _0x208fdc=_0x135d33;this[_0x208fdc(0x253)]['remove'](_0xef251d,_0x2572a7,[_0x4c388c]);}['handleSourceRangeChange'](_0x205b70,_0xf015e2,_0x43ee53){const _0x3ffc7f=_0x135d33,{unitId:_0x41231e,subUnitId:_0x59693d}=_0xf015e2;this['_featureCalculationManagerService'][_0x3ffc7f(0x161)](_0x43ee53[_0x3ffc7f(0x1bd)],_0x43ee53[_0x3ffc7f(0x1d3)],_0x205b70)&&this[_0x3ffc7f(0x283)](_0x41231e,_0x59693d,_0x205b70);const _0x37e21e={'sheetId':_0x59693d,..._0xf015e2};this[_0x3ffc7f(0x253)][_0x3ffc7f(0x2c5)](_0x43ee53[_0x3ffc7f(0x1bd)],_0x43ee53['subUnitId'],_0x205b70,{'unitId':_0x43ee53[_0x3ffc7f(0x1bd)],'subUnitId':_0x43ee53[_0x3ffc7f(0x1d3)],'dependencyRanges':[_0x37e21e],'getDirtyData':(_0x2bd8b3,_0x215a91)=>{const _0x1dc8b0=_0x3ffc7f,_0x3d0865=this[_0x1dc8b0(0x21c)],_0x42329f=_0x3d0865[_0x1dc8b0(0x112)](_0x205b70);if(!_0x42329f)return xs();const {unitId:_0x4bca8b,subUnitId:_0xb825fd}=_0x42329f,_0x8bce2e=Os(_0x2bd8b3,_0x215a91,_0xf015e2);if(_0x8bce2e[_0x1dc8b0(0x312)]>0x0){const _0x17096e=_0x3d0865[_0x1dc8b0(0x254)](_0x41231e,_0x205b70),_0x1674b0=_0x17096e[_0x1dc8b0(0x2e3)](),_0x1e783e=this[_0x1dc8b0(0x339)](_0xf015e2[_0x1dc8b0(0x1bd)],_0xf015e2['subUnitId'],_0x215a91),_0x117f48={},_0x1e9071=this[_0x1dc8b0(0x21c)][_0x1dc8b0(0x1a3)](_0x4bca8b)[_0x1dc8b0(0x140)]()||_0x36f8ae,_0x18579f=[];for(const _0x4f0a31 of _0x8bce2e){const _0x2eda29=_0x4f0a31-(_0xf015e2[_0x1dc8b0(0x313)][_0x1dc8b0(0x348)]||0x0),_0x3fcdcb=_0x1674b0[_0x2eda29];_0x18579f[_0x1dc8b0(0x20d)](_0x3fcdcb),_0x117f48[_0x3fcdcb]=_0x17096e['getFieldById'](_0x3fcdcb)['getName'](),_0x3d0865['getDataFieldManager'](_0x41231e)[_0x1dc8b0(0x31f)](_0x3fcdcb,_0xf015e2,_0x2eda29,_0x1e783e);}_0x17096e[_0x1dc8b0(0x14e)](_0x18579f)[_0x1dc8b0(0x314)](_0x33956c=>{const _0x1ec847=_0x1dc8b0,[_0x407164,_0x425b7b]=_0x33956c,_0x10b5af=_0x17096e[_0x1ec847(0x368)](_0x407164),_0x25d303=_0x17096e[_0x1ec847(0x368)](_0x425b7b);_0x10b5af&&_0x25d303&&_0x10b5af[_0x1ec847(0x1e9)](_0x25d303);}),_0x17096e['updateAllDisplayName']();const _0xdaf681=_0x3d0865['getPivotTableInstance'](_0x205b70);if(_0xdaf681){Es(_0xdaf681,_0x117f48,_0x1e9071),_0xdaf681['setDirty'](!0x0);const _0x2c1b97=_0xdaf681[_0x1dc8b0(0x1e2)](),_0x4f750a=_0x3d0865[_0x1dc8b0(0x1c8)](_0x4bca8b,_0xb825fd,_0x205b70),_0x13a4ef=_0x3d0865['getDataFieldManager'](_0x41231e)[_0x1dc8b0(0x323)]();_0x3d0865[_0x1dc8b0(0x2f3)](_0x4bca8b,_0xb825fd,q[_0x1dc8b0(0x145)],_0x205b70,_0x2c1b97,_0x4f750a,_0x13a4ef,!0x0);}}return this['getDirtyInfo'](_0x4bca8b,_0xb825fd,_0x205b70);}});}[_0x135d33(0x339)](_0x4a97cb,_0x36ee1f,_0x48effe){var _0x4b8228,_0x27f090;const {arrayFormulaCellData:_0x3be1e4,unitData:_0x38a949}=_0x48effe,_0x1fe17e=(_0x4b8228=_0x3be1e4==null?void 0x0:_0x3be1e4[_0x4a97cb])==null?void 0x0:_0x4b8228[_0x36ee1f],_0x117795=(_0x27f090=_0x38a949==null?void 0x0:_0x38a949[_0x4a97cb])==null?void 0x0:_0x27f090[_0x36ee1f];return{'arrayFormulaCellDataMatrix':_0x1fe17e,'unitDataMatrix':_0x117795};}[_0x135d33(0x116)](_0x48dac9,_0x307e3b,_0x4c564a){const _0x50372e=_0x135d33,_0x348147=this['_sheetsPivotDataSourceModel'][_0x50372e(0x362)](_0x48dac9,_0x307e3b,_0x4c564a),_0x301b43=[],_0x12fa41=new _0x2e5827();if(_0x348147){const {rangeCache:_0x29112c,matrix:_0x294254,oldRangeCache:_0x3508d2,oldMatrix:_0xde7f6b}=_0x348147,_0x471f7c=qt(_0x3508d2),_0x13a451=qt(_0x29112c);_0x301b43[_0x50372e(0x20d)](..._0x13a451,..._0x471f7c),_0xde7f6b&&_0x3508d2&&_0x471f7c[_0x50372e(0x314)](_0x429302=>{const _0x310307=_0x50372e;for(let _0xe42c9f=_0x429302[_0x310307(0x376)];_0xe42c9f<=_0x429302[_0x310307(0x196)];_0xe42c9f++)for(let _0x444fd7=_0x429302[_0x310307(0x348)];_0x444fd7<=_0x429302[_0x310307(0x1c4)];_0x444fd7++)_0x12fa41[_0x310307(0x2e8)](_0xe42c9f,_0x444fd7);}),_0x294254&&_0x13a451&&_0x13a451[_0x50372e(0x314)](_0x118076=>{const _0x4cf8eb=_0x50372e;for(let _0x127f75=_0x118076[_0x4cf8eb(0x376)];_0x127f75<=_0x118076[_0x4cf8eb(0x196)];_0x127f75++)for(let _0x235d4a=_0x118076['startColumn'];_0x235d4a<=_0x118076[_0x4cf8eb(0x1c4)];_0x235d4a++)_0x12fa41['setValue'](_0x127f75,_0x235d4a,_0x294254[_0x4cf8eb(0x344)](_0x127f75,_0x235d4a));});}const _0x153e53={};return _0x153e53[_0x48dac9]={[_0x307e3b]:As(_0x301b43)},{'runtimeCellData':{[_0x48dac9]:{[_0x307e3b]:_0x12fa41}},'dirtyRanges':_0x153e53};}[_0x135d33(0x275)](){}};ct=Vs([at(0x0,_0x29b437($)),at(0x1,_0x29b437(_0x5e59f0)),at(0x2,_0x29b437(_0x106ecf)),at(0x3,_0x29b437(_0x5c90f4)),at(0x4,_0x29b437(_0x38d56a))],ct);var ks=Object[_0x135d33(0x293)],Ls=(_0x4ee5de,_0x1695ca,_0x21f143,_0x27381c)=>{for(var _0xce7881=_0x27381c>0x1?void 0x0:_0x27381c?ks(_0x1695ca,_0x21f143):_0x1695ca,_0x262ebb=_0x4ee5de['length']-0x1,_0x35e060;_0x262ebb>=0x0;_0x262ebb--)(_0x35e060=_0x4ee5de[_0x262ebb])&&(_0xce7881=_0x35e060(_0xce7881)||_0xce7881);return _0xce7881;},_t=(_0x50de66,_0x55fa28)=>(_0x115ecd,_0x209a75)=>_0x55fa28(_0x115ecd,_0x209a75,_0x50de66);let dt=class extends _0x2af600{constructor(_0x147ad1,_0x8ab9c7,_0x4e45d5,_0xb1d3d){const _0x1444fd=_0x135d33;super(),N(this,_0x1444fd(0x294),new _0x2b5a0a()),(this['_univerInstanceService']=_0x147ad1,this[_0x1444fd(0x2a4)]=_0x8ab9c7,this[_0x1444fd(0x38d)]=_0x4e45d5,this[_0x1444fd(0x2a2)]=_0xb1d3d,this['_initClearSelectionCommandInterceptor']());}[_0x135d33(0x250)](){const _0x43a176=_0x135d33;this[_0x43a176(0x29f)](this['_sheetInterceptorService'][_0x43a176(0x14f)]({'getMutations':_0xc9337b=>{const _0xabec19=_0x43a176;if(_0xc9337b['id']===_0x10a2bd['id']||_0xc9337b['id']===_0x2f48ea['id']){const _0x531f71=[],_0x255b15=[],_0x94262=this['_sheetsSelectionsService']['getCurrentSelections']()[_0xabec19(0x218)](_0x587a48=>_0x587a48[_0xabec19(0x313)]),_0xc11233=_0x40b5db(this[_0xabec19(0x300)]);if(!_0xc11233)return{'redos':[],'undos':[]};const {unitId:_0x1b5b8e,subUnitId:_0x306382}=_0xc11233,_0x3c7cf7={},_0x1276d3=this[_0xabec19(0x2a2)]['getSubUnitPivotConfigs'](_0x1b5b8e,_0x306382);if(_0x1276d3!=null&&_0x1276d3[_0xabec19(0x1b6)])for(const [_0x29e05e,_0x2609f1]of _0x1276d3){const {unitId:_0xedec8d,subUnitId:_0x405bee,row:_0x52c9f8,col:_0x27a9fb}=_0x2609f1[_0xabec19(0x12e)];_0xedec8d===_0xc11233[_0xabec19(0x1bd)]&&_0x405bee===_0xc11233[_0xabec19(0x1d3)]&&(_0x3c7cf7[_0x52c9f8+'-'+_0x27a9fb]=_0x29e05e);}return _0x94262&&_0xc11233&&_0x94262[_0xabec19(0x314)](_0x69d72d=>{const _0x2b87f4=_0xabec19;_0x241ecf[_0x2b87f4(0x214)](_0x69d72d,(_0x315bcd,_0x2f9894)=>{const _0x16ca17=_0x2b87f4,_0x38d9ea=_0x315bcd+'-'+_0x2f9894;if(_0x3c7cf7[_0x38d9ea]){const _0x3fc37b=_0x3c7cf7[_0x38d9ea];_0x531f71['push']({'id':Et['id'],'params':{'unitId':_0x1b5b8e,'subUnitId':_0x306382,'pivotTableId':_0x3fc37b}});const _0x257020=this[_0x16ca17(0x2a2)]['getCollection'](_0x1b5b8e,_0x3fc37b),_0x1dbdd5=this[_0x16ca17(0x2a2)][_0x16ca17(0x1c8)](_0x1b5b8e,_0x306382,_0x3fc37b);_0x255b15[_0x16ca17(0x20d)]({'id':Ct['id'],'params':{'unitId':_0x1b5b8e,'subUnitId':_0x306382,'pivotTableId':_0x3fc37b,'pivotTableConfig':_0x1dbdd5,'collectionConfig':_0x257020}});}});}),{'redos':_0x531f71,'undos':_0x255b15};}return{'redos':[],'undos':[]};}}));}};dt=Ls([_t(0x0,_0x37efd4),_t(0x1,_0x29b437(_0x196aa7)),_t(0x2,_0x29b437(_0x52bd50)),_t(0x3,_0x29b437(he))],dt);function _0x4b11(_0x304493,_0x5b79ff){const _0x1ca9aa=_0x1ca9();return _0x4b11=function(_0x4b115b,_0x22b80b){_0x4b115b=_0x4b115b-0x109;let _0x376ef2=_0x1ca9aa[_0x4b115b];return _0x376ef2;},_0x4b11(_0x304493,_0x5b79ff);}var Bs=Object['getOwnPropertyDescriptor'],qs=(_0x37b08d,_0x1deb12,_0x728ba,_0x42fbe9)=>{const _0x2ed073=_0x135d33;for(var _0x4da341=_0x42fbe9>0x1?void 0x0:_0x42fbe9?Bs(_0x1deb12,_0x728ba):_0x1deb12,_0x1fe5c9=_0x37b08d[_0x2ed073(0x312)]-0x1,_0x9f7926;_0x1fe5c9>=0x0;_0x1fe5c9--)(_0x9f7926=_0x37b08d[_0x1fe5c9])&&(_0x4da341=_0x9f7926(_0x4da341)||_0x4da341);return _0x4da341;},rt=(_0x337f2d,_0x482f1b)=>(_0x5e0f6e,_0x5c0687)=>_0x482f1b(_0x5e0f6e,_0x5c0687,_0x337f2d);let ut=class extends _0x2af600{constructor(_0x3c1821,_0x547ab2,_0x5cd463,_0x30c41c,_0x5a674b){const _0x576b73=_0x135d33;super(),this['_sheetInterceptorService']=_0x3c1821,this['_injector']=_0x547ab2,this[_0x576b73(0x300)]=_0x5cd463,this[_0x576b73(0x2a2)]=_0x30c41c,this[_0x576b73(0x2af)]=_0x5a674b,this[_0x576b73(0x160)]();}[_0x135d33(0x262)](_0x3594fa,_0x55482e,_0xb37936){const _0x8e4707=_0x135d33,{pageView:_0xa69e13,cornerView:_0x128c43,rowView:_0x2218f7,colView:_0x32af3d,dataView:_0x5640ec}=_0x55482e,_0x352f2b=_0x3594fa;let _0x2454de;if(_0xb37936)_0x2454de=[...qi(_0x352f2b)];else{const _0x2e4861=ge(_0x352f2b,_0xa69e13,!0x0),_0x333dac=_0xa69e13[_0x8e4707(0x2d1)]>=0x0?_0xa69e13[_0x8e4707(0x2d1)]+0x1:0x0,_0x61f609=_0x128c43[_0x8e4707(0x35e)],_0x585e07=_0x128c43[_0x8e4707(0x1c5)],_0x36241e=_0x2e4861[_0x8e4707(0x312)]>0x0?It:0x0,_0x16f880=ge({'row':_0x352f2b[_0x8e4707(0x351)]+_0x333dac+_0x36241e,'col':_0x352f2b[_0x8e4707(0x125)]},_0x128c43,!0x1,!0x1),_0x2d9709=ge({'row':_0x352f2b['row']+_0x333dac+_0x36241e+_0x61f609,'col':_0x352f2b[_0x8e4707(0x125)]},_0x2218f7,!0x1,!0x0),_0x585d9f=ge({'row':_0x352f2b[_0x8e4707(0x351)]+_0x333dac+_0x36241e,'col':_0x352f2b[_0x8e4707(0x125)]+_0x585e07},_0x32af3d,!0x1,!0x0),_0x4d263c=ge({'row':_0x352f2b['row']+_0x333dac+_0x36241e+_0x61f609,'col':_0x352f2b[_0x8e4707(0x125)]+_0x585e07},_0x5640ec,!0x1,!0x0);_0x2454de=[..._0x2e4861,..._0x16f880,..._0x2d9709,..._0x585d9f,..._0x4d263c];}return _0x2454de;}[_0x135d33(0x160)](){const _0x1590c9=_0x135d33;this[_0x1590c9(0x29f)](this[_0x1590c9(0x2af)]['interceptor'][_0x1590c9(0x276)](this[_0x1590c9(0x2af)][_0x1590c9(0x179)][_0x1590c9(0x278)]()[_0x1590c9(0x36f)],{'handler':(_0x14740c,_0x1975a0)=>{const _0x1352e0=_0x1590c9,{cellInfo:_0x4f5898,view:_0x958c2e,isEmpty:_0x284a46}=_0x1975a0,_0x128130=_0x4f5898,{unitId:_0x2717f1,subUnitId:_0x534f5e}=_0x128130,_0x246727=this[_0x1352e0(0x262)](_0x4f5898,_0x958c2e,_0x284a46),_0x32a6c8=this[_0x1352e0(0x2a4)][_0x1352e0(0x215)]({'unitId':_0x2717f1,'subUnitId':_0x534f5e,'ranges':_0x246727}),_0x267c92=Ko(this[_0x1352e0(0x15a)],_0x2717f1,_0x534f5e,_0x246727);_0x267c92[_0x1352e0(0x2b1)]&&(_0x32a6c8[_0x1352e0(0x261)][_0x1352e0(0x20d)](_0x267c92[_0x1352e0(0x352)]),_0x32a6c8[_0x1352e0(0x17a)][_0x1352e0(0x20d)](_0x267c92[_0x1352e0(0x2de)]));const _0x547553=this[_0x1352e0(0x25e)](_0x958c2e,_0x4f5898);return _0x32a6c8['redos'][_0x1352e0(0x20d)](..._0x547553[_0x1352e0(0x261)]),_0x32a6c8[_0x1352e0(0x17a)]['push'](..._0x547553['undos']),{'redos':_0x32a6c8[_0x1352e0(0x261)],'undos':_0x32a6c8[_0x1352e0(0x17a)]};}}));}[_0x135d33(0x25e)](_0x17d309,_0x274c4c){const _0x24e2da=_0x135d33,{col:_0x443380,unitId:_0x25f112,subUnitId:_0x1975f2}=_0x274c4c,_0x1b4e88=[],_0x651b58=[],_0x1559c4=_0x40b5db(this[_0x24e2da(0x300)],{'unitId':_0x25f112,'subUnitId':_0x1975f2});if(!_0x274c4c||!_0x17d309||!_0x1559c4)return{'undos':_0x651b58,'redos':_0x1b4e88};const _0x2196cb=this[_0x24e2da(0x2a2)][_0x24e2da(0x30a)](),{colView:_0xc21d89,dataView:_0x4c0bf6,cornerView:_0x360e44,rowView:_0x44a2a9,formatMap:_0x4b5dbd}=_0x17d309,_0x30db46=To(_0xc21d89,_0x2196cb,!0x0,_0x4b5dbd),_0x3b0506=To(_0x44a2a9,_0x2196cb,!0x1,_0x4b5dbd),_0x4d8ecb=Ji(_0x4c0bf6),_0x5abdcf=Wi(_0x360e44),{worksheet:_0x2863e2}=_0x1559c4;if(typeof window<'u'&&window[_0x24e2da(0x297)]){const _0xfc921a=_0xdfe61f({...fe[_0x24e2da(0x1f7)]}),_0x36d62=_0x27580c['getTextSize'](_0x30db46,_0xfc921a)[_0x24e2da(0x378)]+0x10,_0x118edb=_0x27580c['getTextSize'](_0x4d8ecb,_0xfc921a)[_0x24e2da(0x378)],_0x13b7e4=Math[_0x24e2da(0x13f)](Math[_0x24e2da(0x2e1)](_0x36d62,_0x118edb))+0x10,_0x1e89f8=Math['floor'](_0x27580c[_0x24e2da(0x13e)](_0x3b0506,_0xfc921a)[_0x24e2da(0x378)]),_0xf1a681=Math[_0x24e2da(0x13f)](_0x27580c[_0x24e2da(0x13e)](_0x5abdcf,_0xfc921a)['width']),_0x3b6bb4=Math[_0x24e2da(0x2e1)](_0x1e89f8,_0xf1a681,0x28)+0xc,_0x3b5f49=_0xc21d89['colCount']+_0x360e44[_0x24e2da(0x1c5)],_0x387fde={},_0x3d9fa5={};for(let _0x101dad=_0x443380;_0x101dad<_0x443380+_0x3b5f49;_0x101dad++){const _0x2d6759=_0x2863e2[_0x24e2da(0x28f)](_0x101dad);_0x387fde[_0x101dad]=_0x2d6759,_0x101dad-_0x443380<_0x360e44[_0x24e2da(0x1c5)]?_0x3d9fa5[_0x101dad-_0x443380]=_0x3b6bb4:_0x3d9fa5[_0x101dad-_0x443380]=_0x13b7e4;}_0x1b4e88[_0x24e2da(0x20d)]({'id':_0x58a129['id'],'params':{'subUnitId':_0x1975f2,'unitId':_0x25f112,'ranges':[{'startColumn':_0x443380,'endColumn':_0x443380+_0x3b5f49-0x1,'startRow':0x0,'endRow':_0x2863e2[_0x24e2da(0x2ea)]()-0x1}],'colWidth':_0x3d9fa5}}),_0x651b58[_0x24e2da(0x20d)]({'id':_0x58a129['id'],'params':{'subUnitId':_0x1975f2,'unitId':_0x25f112,'ranges':[{'startColumn':_0x443380,'endColumn':_0x443380+_0x3b5f49-0x1,'startRow':0x0,'endRow':_0x2863e2[_0x24e2da(0x2ea)]()-0x1}],'colWidth':_0x387fde}});}return{'undos':_0x651b58,'redos':_0x1b4e88};}};ut=qs([rt(0x0,_0x29b437(_0x196aa7)),rt(0x1,_0x29b437(_0x38d56a)),rt(0x2,_0x29b437(_0x37efd4)),rt(0x3,_0x29b437(he)),rt(0x4,_0x29b437(ie))],ut);var $s=Object[_0x135d33(0x293)],zs=(_0x29f3b6,_0x5da538,_0x296a1d,_0x3ca96a)=>{for(var _0x121f86=_0x3ca96a>0x1?void 0x0:_0x3ca96a?$s(_0x5da538,_0x296a1d):_0x5da538,_0x11eb66=_0x29f3b6['length']-0x1,_0x594a7e;_0x11eb66>=0x0;_0x11eb66--)(_0x594a7e=_0x29f3b6[_0x11eb66])&&(_0x121f86=_0x594a7e(_0x121f86)||_0x121f86);return _0x121f86;},ke=(_0x21ab62,_0x12f1e5)=>(_0x429041,_0x34e6e6)=>_0x12f1e5(_0x429041,_0x34e6e6,_0x21ab62);let ft=class extends _0x2af600{constructor(_0x3109cb,_0x4a0510,_0x25ce37,_0x52c7e1,_0x2f89b9,_0x47b267,_0x3942fc){const _0x541565=_0x135d33;super(),N(this,_0x541565(0x294),new _0x2b5a0a()),(this[_0x541565(0x15a)]=_0x3109cb,this[_0x541565(0x204)]=_0x4a0510,this[_0x541565(0x26d)]=_0x25ce37,this[_0x541565(0x300)]=_0x52c7e1,this[_0x541565(0x2a2)]=_0x2f89b9,this[_0x541565(0x37f)]=_0x47b267,this[_0x541565(0x2a4)]=_0x3942fc,this['_onRefRangeChange']());}[_0x135d33(0x236)](){const _0x225373=_0x135d33,_0x1b1b7f=(_0x388fc9,_0x4d6c1f)=>{const _0x3c6e7a=_0x4b11,_0x1221d5=this['_univerInstanceService']['getCurrentUnitForType'](_0x52bb50[_0x3c6e7a(0x185)]);if(!_0x1221d5||!(_0x1221d5==null?void 0x0:_0x1221d5[_0x3c6e7a(0x2b7)](_0x4d6c1f)))return;this['disposableCollection']['dispose']();const _0x35e9d5=_0x2ae545=>this[_0x3c6e7a(0x207)](_0x2ae545,_0x388fc9,_0x4d6c1f),_0x177c3e=this[_0x3c6e7a(0x2a2)][_0x3c6e7a(0x1b2)](_0x388fc9,_0x4d6c1f);if(!(_0x177c3e!=null&&_0x177c3e[_0x3c6e7a(0x1b6)]))return;Array[_0x3c6e7a(0x114)](_0x177c3e[_0x3c6e7a(0x371)]())['map'](_0x46d7f4=>{const {row:_0x336d93,col:_0x50b6fe}=_0x46d7f4['targetCellInfo'];return _0x47884e(_0x336d93,_0x50b6fe);})[_0x3c6e7a(0x314)](_0x54538b=>{const _0x35ea60=_0x3c6e7a;this[_0x35ea60(0x294)]['add'](this[_0x35ea60(0x204)][_0x35ea60(0x31b)](_0x54538b,_0x35e9d5,_0x388fc9,_0x4d6c1f));});},_0x675a9=()=>{const _0x20067b=_0x4b11,_0x582a11=this[_0x20067b(0x300)][_0x20067b(0x1c2)](_0x52bb50[_0x20067b(0x185)]);if(_0x582a11){const _0x2af646=_0x582a11['getActiveSheet']();if(!_0x2af646)return;_0x1b1b7f(_0x582a11[_0x20067b(0x287)](),_0x2af646[_0x20067b(0x354)]());}};this[_0x225373(0x29f)](this[_0x225373(0x26d)][_0x225373(0x386)](_0x5adf01=>{const _0x3faa43=_0x225373;if(_0x5adf01['id']===_0x239963['id']){const _0x2b84e9=_0x5adf01[_0x3faa43(0x347)],_0x264f16=_0x2b84e9[_0x3faa43(0x1d3)],_0x21adbf=_0x2b84e9['unitId'];if(!_0x264f16||!_0x21adbf)return;_0x1b1b7f(_0x21adbf,_0x264f16);}})),this[_0x225373(0x29f)](this[_0x225373(0x2a2)][_0x225373(0x35f)][_0x225373(0x1db)](_0x515174=>{_0x515174&&_0x675a9();})),this[_0x225373(0x29f)](this[_0x225373(0x2a2)][_0x225373(0x38b)]['subscribe'](_0x9ae304=>{const _0x45d1aa=_0x225373,_0x276132=_0x40b5db(this[_0x45d1aa(0x300)]);if(!_0x276132)return;const {unitId:_0x16d5dc,subUnitId:_0x21b5e7}=_0x276132,{unitId:_0x1a4268,subUnitId:_0x3cfdca}=_0x9ae304;_0x16d5dc!==_0x1a4268||_0x21b5e7!==_0x3cfdca||_0x1b1b7f(_0x16d5dc,_0x21b5e7);})),_0x675a9();}[_0x135d33(0x207)](_0x414883,_0x504e91,_0x51d76c){const _0x1538a0=_0x135d33;switch(_0x414883['id']){case _0x67ab13['id']:return this[_0x1538a0(0x24c)](_0x414883[_0x1538a0(0x347)],_0x504e91,_0x51d76c);}return{'redos':[],'undos':[]};}[_0x135d33(0x24c)](_0x492968,_0x2755a5,_0x4df3c2){const _0x5185cd=_0x135d33,{fromRange:_0x452069,toRange:_0x35a91e}=_0x492968,_0x378747=[],_0x22351a=[],_0x398bba=_0x40b5db(this['_univerInstanceService']);if(!_0x398bba)return{'undos':_0x22351a,'redos':_0x378747};if(_0x2755a5!==_0x398bba[_0x5185cd(0x1bd)]||_0x4df3c2!==_0x398bba[_0x5185cd(0x1d3)])return{'undos':_0x22351a,'redos':_0x378747};const _0x24c057=this[_0x5185cd(0x2a2)]['getSubUnitPivotConfigs'](_0x2755a5,_0x4df3c2);if(_0x24c057!=null&&_0x24c057['size'])for(const [_0x11a208,_0x1fd627]of _0x24c057){const {unitId:_0x3f8901,subUnitId:_0x43e5d3,row:_0x4846f7,col:_0x48e275}=_0x1fd627['targetCellInfo'];if(_0x3f8901===_0x398bba[_0x5185cd(0x1bd)]&&_0x43e5d3===_0x398bba[_0x5185cd(0x1d3)]){const _0x2d45f9=_0x47884e(_0x4846f7,_0x48e275);if(_0x19fa73[_0x5185cd(0x31d)](_0x2d45f9,_0x452069)){const _0x2a1e2c=_0x4846f7-_0x452069['startRow'],_0x265881=_0x48e275-_0x452069[_0x5185cd(0x348)],_0x511bc4={'row':_0x35a91e[_0x5185cd(0x376)]+_0x2a1e2c,'col':_0x35a91e[_0x5185cd(0x348)]+_0x265881};_0x378747['push']({'id':pt['id'],'params':{'unitId':_0x3f8901,'subUnitId':_0x43e5d3,'pivotTableId':_0x11a208,'targetCellPosition':_0x511bc4}}),_0x22351a[_0x5185cd(0x20d)]({'id':pt['id'],'params':{'unitId':_0x3f8901,'subUnitId':_0x43e5d3,'pivotTableId':_0x11a208,'targetCellPosition':{'row':_0x4846f7,'col':_0x48e275}}});const _0x4021d1=_0x511bc4[_0x5185cd(0x351)]-_0x4846f7,_0x5661c4=_0x511bc4['col']-_0x48e275,_0x264142=[],_0x70eaf0=this[_0x5185cd(0x37f)][_0x5185cd(0x245)](_0x3f8901,_0x43e5d3,_0x11a208),_0x11b3f3=_0x70eaf0==null?void 0x0:_0x70eaf0['rangesInfo'];if(_0x11b3f3){Object[_0x5185cd(0x346)](_0x11b3f3)['forEach'](_0xe3d115=>{const _0xd064ba=_0x5185cd;_0x11b3f3[_0xe3d115][_0xd064ba(0x314)](_0x454b32=>{const _0x8938b2=_0xd064ba,_0xfb66a6={..._0x454b32};_0xfb66a6[_0x8938b2(0x376)]=_0x454b32[_0x8938b2(0x376)]+_0x4021d1,_0xfb66a6['endRow']=_0x454b32['endRow']+_0x4021d1,_0xfb66a6[_0x8938b2(0x348)]=_0x454b32[_0x8938b2(0x348)]+_0x5661c4,_0xfb66a6[_0x8938b2(0x1c4)]=_0x454b32[_0x8938b2(0x1c4)]+_0x5661c4,_0x264142[_0x8938b2(0x20d)](_0xfb66a6);});});const _0x15cb03=this['_sheetInterceptorService'][_0x5185cd(0x215)]({'unitId':_0x3f8901,'subUnitId':_0x43e5d3,'ranges':_0x264142});_0x378747[_0x5185cd(0x20d)](..._0x15cb03['redos']),_0x22351a[_0x5185cd(0x20d)](..._0x15cb03[_0x5185cd(0x17a)]);const _0x4b1cb6=Ko(this[_0x5185cd(0x15a)],_0x3f8901,_0x43e5d3,_0x264142);_0x4b1cb6[_0x5185cd(0x2b1)]&&(_0x378747[_0x5185cd(0x20d)](_0x4b1cb6['setRangeValueRedoMutation']),_0x22351a[_0x5185cd(0x20d)](_0x4b1cb6[_0x5185cd(0x2de)]));}}}}return{'redos':_0x378747,'undos':_0x22351a};}};ft=zs([ke(0x0,_0x29b437(_0x38d56a)),ke(0x1,_0x29b437(_0x46ad2a)),ke(0x2,_0x106ecf),ke(0x3,_0x37efd4),ke(0x4,_0x29b437(he)),ke(0x5,_0x29b437(Ue)),ke(0x6,_0x29b437(_0x196aa7))],ft);var Js=Object['getOwnPropertyDescriptor'],Ws=(_0x2f98c8,_0x1ee4ca,_0x1a5670,_0x371056)=>{const _0x943291=_0x135d33;for(var _0x12892e=_0x371056>0x1?void 0x0:_0x371056?Js(_0x1ee4ca,_0x1a5670):_0x1ee4ca,_0x3068b3=_0x2f98c8[_0x943291(0x312)]-0x1,_0x3c3edd;_0x3068b3>=0x0;_0x3068b3--)(_0x3c3edd=_0x2f98c8[_0x3068b3])&&(_0x12892e=_0x3c3edd(_0x12892e)||_0x12892e);return _0x12892e;},_o=(_0x2ee961,_0x1bb259)=>(_0x45b1f5,_0x56510e)=>_0x1bb259(_0x45b1f5,_0x56510e,_0x2ee961);let gt=class extends _0x2af600{constructor(_0x541d6d,_0xdcca1e){const _0x457776=_0x135d33;super(),this['_sheetInterceptorService']=_0x541d6d,this[_0x457776(0x2a2)]=_0xdcca1e,this['_initRemoveSheetCommandInterceptor']();}[_0x135d33(0x20b)](){const _0x546b86=_0x135d33;this[_0x546b86(0x29f)](this[_0x546b86(0x2a4)][_0x546b86(0x14f)]({'getMutations':_0x271626=>{const _0xeaeb1=_0x546b86;if(_0x271626['id']===_0x519d84['id']){const _0x2da46d=[],_0x1499e8=[],_0x56ec84=_0x271626[_0xeaeb1(0x347)],{unitId:_0x32badf,subUnitId:_0x1aee34}=_0x56ec84;if(!_0x32badf||!_0x1aee34)return{'undos':_0x1499e8,'redos':_0x2da46d};const _0x2eb556=this[_0xeaeb1(0x2a2)][_0xeaeb1(0x1b2)](_0x32badf,_0x1aee34);if(_0x2eb556!=null&&_0x2eb556[_0xeaeb1(0x1b6)])for(const [_0x12bbad,_0x38206d]of _0x2eb556){_0x2da46d['push']({'id':Et['id'],'params':{'unitId':_0x32badf,'subUnitId':_0x1aee34,'pivotTableId':_0x12bbad}});const _0x39c5b4={...this[_0xeaeb1(0x2a2)][_0xeaeb1(0x254)](_0x32badf,_0x12bbad)};_0x1499e8[_0xeaeb1(0x20d)]({'id':Ct['id'],'params':{'unitId':_0x32badf,'subUnitId':_0x1aee34,'pivotTableId':_0x12bbad,'pivotTableConfig':_0x38206d,'collectionConfig':_0x39c5b4}});}return{'redos':_0x2da46d,'undos':_0x1499e8};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x29b437(_0x196aa7)),_o(0x1,_0x29b437(he))],gt);var Gs=Object[_0x135d33(0x293)],js=(_0x375265,_0x34c499,_0x5ecf4e,_0x407660)=>{for(var _0x5de871=_0x407660>0x1?void 0x0:_0x407660?Gs(_0x34c499,_0x5ecf4e):_0x34c499,_0x25f3d3=_0x375265['length']-0x1,_0x28d137;_0x25f3d3>=0x0;_0x25f3d3--)(_0x28d137=_0x375265[_0x25f3d3])&&(_0x5de871=_0x28d137(_0x5de871)||_0x5de871);return _0x5de871;},Ge=(_0x3e1cbb,_0x37c618)=>(_0x4736d9,_0x12a4f9)=>_0x37c618(_0x4736d9,_0x12a4f9,_0x3e1cbb);let vt=class extends _0x2af600{constructor(_0x591fb7,_0x3cbccc,_0x195675,_0xb6af23,_0x45773f,_0x5f3f90){const _0x4722ac=_0x135d33;super(),this[_0x4722ac(0x26d)]=_0x591fb7,this[_0x4722ac(0x2df)]=_0x3cbccc,this[_0x4722ac(0x37f)]=_0x195675,this['_sheetsPivotTableConfigModel']=_0xb6af23,this[_0x4722ac(0x300)]=_0x45773f,this['_activeDirtyManagerService']=_0x5f3f90,this[_0x4722ac(0x16a)](),this[_0x4722ac(0x13a)]();}[_0x135d33(0x16a)](){const _0x22bc6b=_0x135d33;this[_0x22bc6b(0x29f)](this[_0x22bc6b(0x26d)]['onCommandExecuted'](_0x729447=>{const _0x3d3173=_0x22bc6b;if(_0x729447['id']!==lo['id'])return;const _0x223fde=_0x729447['params'];this[_0x3d3173(0x2df)][_0x3d3173(0x18a)](_0x223fde);})),this[_0x22bc6b(0x29f)](this[_0x22bc6b(0x26d)][_0x22bc6b(0x386)](_0x1a0ccc=>{const _0x7115d5=_0x22bc6b;if(_0x1a0ccc['id']===co['id']){const _0x45d398=_0x1a0ccc[_0x7115d5(0x347)];if(_0x45d398){const {unitId:_0x1f605,subUnitId:_0x38f7c6,oldSubUnitId:_0x326a31,pivotTableId:_0x150c49,pivotTableConfig:_0x515c7d,collectionConfig:_0x2a021f}=_0x45d398;this[_0x7115d5(0x2a2)][_0x7115d5(0x392)](_0x1f605,_0x326a31,_0x45d398['pivotTableId'],null),this[_0x7115d5(0x2a2)][_0x7115d5(0x392)](_0x1f605,_0x38f7c6,_0x150c49,_0x515c7d),this[_0x7115d5(0x2a2)][_0x7115d5(0x1de)](_0x1f605,_0x2a021f);}}})),this[_0x22bc6b(0x29f)](this['_commandService']['onCommandExecuted'](_0x55ba72=>{const _0x1ca83b=_0x22bc6b;if(_0x55ba72['id']!==Dt['id'])return;const _0x54ac1f=_0x40b5db(this['_univerInstanceService']);if(!_0x54ac1f)return;const {unitId:_0x153f59,subUnitId:_0x2e42dc}=_0x54ac1f,_0x2269a5=_0x55ba72['params'];if(_0x2269a5[_0x1ca83b(0x194)]&&Object[_0x1ca83b(0x346)](_0x2269a5[_0x1ca83b(0x194)])[_0x1ca83b(0x314)](_0x273628=>{const _0x1feb18=_0x1ca83b;var _0x2c7a7c;(_0x2c7a7c=_0x2269a5[_0x1feb18(0x194)])!=null&&_0x2c7a7c[_0x273628]&&this[_0x1feb18(0x2a2)][_0x1feb18(0x1de)](_0x273628,_0x2269a5['collectionConfig'][_0x273628]);}),_0x2269a5['single']){const _0x2fd29b=_0x2269a5['single'],{unitId:_0x5b9714,subUnitId:_0x53c8de,view:_0x169d27,pivotTableId:_0x325a24,type:_0x3aa641,pivotConfig:_0x2bbca5}=_0x2fd29b;if(_0x3aa641===q[_0x1ca83b(0x274)])this[_0x1ca83b(0x37f)]['clearRenderCache']({'unitId':_0x5b9714,'subUnitId':_0x53c8de,'pivotTableId':_0x325a24,'type':_0x3aa641}),this[_0x1ca83b(0x2a2)][_0x1ca83b(0x392)](_0x5b9714,_0x53c8de,_0x325a24,null);else{const _0xe52991=new _0x25f857();_0xe52991[_0x1ca83b(0x182)](_0x169d27),this['_sheetsPivotTableConfigModel'][_0x1ca83b(0x392)](_0x5b9714,_0x53c8de,_0x325a24,_0x2bbca5),this[_0x1ca83b(0x37f)]['clearRenderCache']({'unitId':_0x5b9714,'subUnitId':_0x53c8de,'pivotTableId':_0x325a24,'type':_0x3aa641,'view':_0xe52991}),this[_0x1ca83b(0x37f)][_0x1ca83b(0x2d9)]({'unitId':_0x5b9714,'subUnitId':_0x53c8de,'view':_0xe52991,'pivotTableId':_0x325a24,'type':_0x3aa641});}}else _0x2269a5[_0x1ca83b(0x158)]&&(_0x2269a5[_0x1ca83b(0x158)]['forEach'](_0x28e5fe=>{const _0x39d7a6=_0x1ca83b,{unitId:_0x4724a2,subUnitId:_0x11cd4d,view:_0x5cf15c,pivotTableId:_0x4fd8fa,type:_0x421f71,pivotConfig:_0x5b5bb7}=_0x28e5fe,_0x39e9ea=new _0x25f857();_0x39e9ea[_0x39d7a6(0x182)](_0x5cf15c),this[_0x39d7a6(0x2a2)][_0x39d7a6(0x392)](_0x4724a2,_0x11cd4d,_0x4fd8fa,_0x5b5bb7),this[_0x39d7a6(0x37f)]['updateRenderCache']({'unitId':_0x4724a2,'subUnitId':_0x11cd4d,'view':_0x39e9ea,'pivotTableId':_0x4fd8fa,'type':_0x421f71});}),this['_sheetsPivotTableConfigModel'][_0x1ca83b(0x33a)]());this[_0x1ca83b(0x37f)]['markDirty'](_0x153f59,_0x2e42dc);}));}[_0x135d33(0x13a)](){const _0x58976d=_0x135d33;this[_0x58976d(0x322)][_0x58976d(0x2c5)](Nt['id'],{'commandId':Nt['id'],'getDirtyData'(_0x9ab7ae){const _0x424a08=_0x58976d;return{'dirtyUnitFeatureMap':_0x9ab7ae[_0x424a08(0x347)]};}});}};vt=js([Ge(0x0,_0x29b437(_0x106ecf)),Ge(0x1,_0x29b437(Q)),Ge(0x2,_0x29b437(Ue)),Ge(0x3,_0x29b437(he)),Ge(0x4,_0x29b437(_0x37efd4)),Ge(0x5,_0x195b63)],vt);var Ks=Object[_0x135d33(0x259)],Hs=Object[_0x135d33(0x293)],Ys=(_0x54b512,_0x111dd0,_0x1933e0)=>_0x111dd0 in _0x54b512?Ks(_0x54b512,_0x111dd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1933e0}):_0x54b512[_0x111dd0]=_0x1933e0,Zs=(_0x26cab8,_0x53b1eb,_0x2cd873,_0x52f2ce)=>{const _0x1d7a7c=_0x135d33;for(var _0x1a9ea3=_0x52f2ce>0x1?void 0x0:_0x52f2ce?Hs(_0x53b1eb,_0x2cd873):_0x53b1eb,_0x215aab=_0x26cab8[_0x1d7a7c(0x312)]-0x1,_0xd6c1c6;_0x215aab>=0x0;_0x215aab--)(_0xd6c1c6=_0x26cab8[_0x215aab])&&(_0x1a9ea3=_0xd6c1c6(_0x1a9ea3)||_0x1a9ea3);return _0x1a9ea3;},Ft=(_0x353e8e,_0x4d74f7)=>(_0x33b992,_0x2135af)=>_0x4d74f7(_0x33b992,_0x2135af,_0x353e8e),Xo=(_0x4136e3,_0x158c7e,_0x5a1484)=>Ys(_0x4136e3,typeof _0x158c7e!='symbol'?_0x158c7e+'':_0x158c7e,_0x5a1484);let Vt=class extends _0xd2c7b{constructor(_0x37040e=yo,_0x4e3c37,_0x34828b,_0x993e0b,_0x17c59e){const _0x1a091e=_0x135d33;super(),this[_0x1a091e(0x353)]=_0x37040e,this[_0x1a091e(0x15a)]=_0x4e3c37,this[_0x1a091e(0x26d)]=_0x34828b,this[_0x1a091e(0x175)]=_0x993e0b,this['_dataSyncPrimaryController']=_0x17c59e;const {..._0x55e598}=_0x281577({},yo,this[_0x1a091e(0x353)]);this[_0x1a091e(0x175)][_0x1a091e(0x141)](Yo,_0x55e598),this[_0x1a091e(0x164)](),this['_initConfig']();}[_0x135d33(0x385)](){const _0x15b89e=_0x135d33;var _0x18dc7e;const _0x2a0e4e=(_0x18dc7e=this['_config'])==null?void 0x0:_0x18dc7e[_0x15b89e(0x1cf)];this[_0x15b89e(0x175)]['setConfig'](Y,_0x2a0e4e===!0x0);}[_0x135d33(0x20c)](){const _0x5a138f=_0x135d33;var _0x1f94ef;let _0x36d0bf=[];const _0x2eae43=(_0x1f94ef=this[_0x5a138f(0x353)])==null?void 0x0:_0x1f94ef['notExecuteFormula'];_0x2eae43===!0x0?_0x36d0bf=[[ie],[Q],[vt],[Ue],[he],[gt],[dt],[ft],[ut]]:_0x2eae43===!0x1?_0x36d0bf=[[$],[ct]]:_0x2eae43===void 0x0&&(_0x36d0bf=[[$],[ct],[ie],[Q],[vt],[Ue],[he],[gt],[dt],[ft],[ut]]),_0x36d0bf[_0x5a138f(0x314)](_0x74d1ec=>this['_injector']['add'](_0x74d1ec)),[ct,vt,ie,dt,gt,ft,ut][_0x5a138f(0x314)](_0x9f649=>{const _0x3f3ea3=_0x5a138f;this[_0x3f3ea3(0x15a)][_0x3f3ea3(0x161)](_0x9f649)&&this['_injector']['get'](_0x9f649);});}[_0x135d33(0x164)](){const _0x3cb024=_0x135d33;[ps,ms,vs,Is,Ss,Us,Fs,Ps,ws,ys,Rs,Ds,Cs,bs,Ct,to,Et,$t,Zo,Qo,jt,zt,Jt,Wt,Ht,Kt,pt,ro,lo,Dt,Qt,eo,Yt,Gt,uo,oo,Xt,Nt,co,_s,Zt,Ts,Ms][_0x3cb024(0x314)](_0x596361=>{const _0x51f3e1=_0x3cb024;var _0x92315;(_0x92315=this[_0x51f3e1(0x176)])==null||_0x92315[_0x51f3e1(0x1d4)](_0x596361),this[_0x51f3e1(0x26d)][_0x51f3e1(0x382)](_0x596361);});}};Xo(Vt,_0x135d33(0x17b),ao),Xo(Vt,'type',_0x52bb50[_0x135d33(0x185)]),Vt=Zs([_0x9d15de(_0x18267a),Ft(0x1,_0x29b437(_0x38d56a)),Ft(0x2,_0x29b437(_0x106ecf)),Ft(0x3,_0x3eb233),Ft(0x4,_0x1dc1fc(_0x19c5f3))],Vt);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ms as AddPivotTableCommand,Ct as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,Cs as MovePivotTableCommand,k as PivotDisplayDataType,bs as PivotDrillDownCommand,q as PivotTableOperationEnum,Nt as PivotTableViewDirtyMarkOperation,Bo as PositionType,Ss as RemovePivotFieldCommand,zt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Ms as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ps as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Gt as SetPivotFieldFormatMutation,Ts as SetPivotFieldsConfigCommand,ys as SetPivotFilterCommand,jt as SetPivotFilterMutation,Kt as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,Ht as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Zt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Q as SheetsPivotRPCService,Ue as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,Qt as UpdateFieldPositionMutation,Rs as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Us as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,qi as getEmptyPivotRanges,Ut as getFieldListByArea,we as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Li as getPivotTableInfo,ht as transFromCellValue,qt as unionPivotViewRange};
|