@univerjs-pro/sheets-pivot 0.10.6-nightly.202509060724 → 0.10.6-nightly.202509060832
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x36bb8c=_0x1ed5;(function(_0x558aef,_0x4c36d6){const _0xfd7165=_0x1ed5,_0x597c92=_0x558aef();while(!![]){try{const _0x32a96e=-parseInt(_0xfd7165(0x11c))/0x1+-parseInt(_0xfd7165(0x267))/0x2*(parseInt(_0xfd7165(0x1b4))/0x3)+parseInt(_0xfd7165(0x145))/0x4*(parseInt(_0xfd7165(0x13c))/0x5)+-parseInt(_0xfd7165(0x376))/0x6+-parseInt(_0xfd7165(0x361))/0x7*(parseInt(_0xfd7165(0x2c3))/0x8)+parseInt(_0xfd7165(0x35e))/0x9*(parseInt(_0xfd7165(0x250))/0xa)+-parseInt(_0xfd7165(0x21c))/0xb*(-parseInt(_0xfd7165(0x271))/0xc);if(_0x32a96e===_0x4c36d6)break;else _0x597c92['push'](_0x597c92['shift']());}catch(_0x7a8295){_0x597c92['push'](_0x597c92['shift']());}}}(_0x62fd,0x8766c));var an=Object[_0x36bb8c(0x251)],rn=(_0x10007f,_0x153e0f,_0x8842cc)=>_0x153e0f in _0x10007f?an(_0x10007f,_0x153e0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8842cc}):_0x10007f[_0x153e0f]=_0x8842cc,V=(_0x4695ca,_0x569bec,_0x291c9c)=>rn(_0x4695ca,typeof _0x569bec!=_0x36bb8c(0x1da)?_0x569bec+'':_0x569bec,_0x291c9c);import{PivotCellStyleTypeEnum as _0x3654e9,PivotViewCellValueTypeEnum as _0x5d6300,isPrefixValue as _0x3f90b0,isErrorValue as _0x33e363,PivotErrorTypeEnum as _0xef5bb2,PivotDateGroupFieldDateTypeEnum as _0x1fa0d4,DataFieldManager as _0x1a7189,FieldsCollection as _0x101dff,isDateValue as _0x24a669,DataField as _0x965f8e,generateHexNumber as _0x5a6e84,isBaseGroupField as _0xe13129,PivotTable as _0x37e502,PivotSubtotalTypeEnum as _0x253e12,PivotTableFiledAreaEnum as _0x4c5dc9,excelDateToUnixMilliseconds as _0x386a9f,PivotDataFieldTypeEnum as _0x2e6597,DateGroupField as _0x4839a0,createValueField as _0x3d36c9,createLabelField as _0xb7417b,PivotTableChangeTypeEnum as _0x5b2627,PivotView as _0x43b8f2,GlobalConfig as _0x5ce962,isDateGroupFieldJSON as _0xbcbc5f,PivotCallbackEnum as _0x4a2e97,PivotFilterTypeEnum as _0x2663cf,getAutoDisplayName as _0x3a6f82,PivotDataFieldDataTypeEnum as _0x4483fc,PivotTableValuePositionEnum as _0xd6c14e,isDateGroupField as _0x4d0993}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x167aa6,ObjectMatrix as _0x828916,IUniverInstanceService as _0x12f544,UniverInstanceType as _0x4b7918,CellValueType as _0x90f4d2,numfmt as _0x2620b7,LocaleService as _0x23e253,createAsyncInterceptorKey as _0x5a1b5f,createInterceptorKey as _0x462e55,CommandType as _0x4c39aa,Inject as _0x11f8dd,ICommandService as _0x2e7974,Disposable as _0x441d3c,RANGE_TYPE as _0x1000fc,numberToABC as _0x5ced2e,Injector as _0x28712a,LifecycleService as _0x28d7dc,IResourceManagerService as _0x1f954e,Rectangle as _0x275ba3,IConfigService as _0x44eb60,Tools as _0xf00f3,AsyncInterceptorManager as _0x15a3b2,InterceptorManager as _0x527675,InterceptorEffectEnum as _0xc4e529,IUndoRedoService as _0x91007,sequenceExecute as _0x302e90,CustomCommandExecutionError as _0x373746,mergeWorksheetSnapshotWithDefault as _0x46035c,generateRandomId as _0x39c850,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x294982,DEFAULT_WORKSHEET_ROW_COUNT as _0xc6deaa,DisposableCollection as _0x4e3df4,Range as _0xbe3e63,DependentOn as _0x58239e,Optional as _0x510001,Plugin as _0x33d225,merge as _0x4369e3}from'@univerjs/core';import{ErrorType as _0x398af9,serializeRangeWithSpreadsheet as _0x5958ff,IFeatureCalculationManagerService as _0x42bcc3,GlobalComputingStatusService as _0x3bf26c,IActiveDirtyManagerService as _0x4a658a}from'@univerjs/engine-formula';import{generateNullCell as _0x6130cf,SetRangeValuesUndoMutationFactory as _0x31d22c,SetRangeValuesMutation as _0x484698,getSheetCommandTarget as _0x4c89c6,InsertRowMutation as _0x261b1c,RemoveRowMutation as _0x4514fd,InsertColMutation as _0x5a46e3,RemoveColMutation as _0x349fe4,IExclusiveRangeService as _0xe66987,SheetInterceptorService as _0x334540,INTERCEPTOR_POINT as _0x19226b,InsertSheetCommand as _0x32b593,InsertSheetUndoMutationFactory as _0x43d5bc,RemoveSheetMutation as _0x2d67ab,InsertSheetMutation as _0x546a4c,MoveRangeMutation as _0x41d34,SheetsSelectionsService as _0xd6f3e8,ClearSelectionContentCommand as _0x91d41c,ClearSelectionAllCommand as _0x549992,SetWorksheetColWidthMutation as _0x4adb49,RefRangeService as _0x434fa2,SetWorksheetActiveOperation as _0x4c892d,MoveRangeCommand as _0x10c3ab,RemoveSheetCommand as _0x2a0ad6}from'@univerjs/sheets';import{Subject as _0x3e9977,BehaviorSubject as _0x2abdeb}from'rxjs';import{LS_CONFIG_KEY as _0x262321,unshiftString as _0x113100,isFeatureAuthorizedWithinTime as _0x98ca3a,getSheetFeatureLimit as _0x57fc61,ReleaseType as _0xf9fb02,UniverLicensePlugin as _0x49facd}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x1df59b,RemoveSheetsFilterMutation as _0x2030a2}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x55341c}from'@univerjs/rpc';import{getFontStyleString as _0x421b19,FontCache as _0x46325d}from'@univerjs/engine-render';const ko=Number[_0x36bb8c(0x2df)](0x68bbe2f4),li=0x10,so=0x1,ao=_0x36bb8c(0x2a0),It=0x1,ci='rgb(240,241,243)',di='rgb(255,255,255)',Mt='#b2b2b2',ui=_0x36bb8c(0x2b1),fi=_0x36bb8c(0x2b1),gi=_0x36bb8c(0x284),hi=_0x36bb8c(0x2bb),vi=_0x36bb8c(0x1c1),pi='#e6ebfa',mi=_0x36bb8c(0x2bb),Ii=_0x36bb8c(0x1c1),Ci='#e6ebfb',bi=0xe,Ti=0x6;var Jo=(_0x4725cd=>(_0x4725cd[_0x36bb8c(0x244)]=_0x36bb8c(0x22a),_0x4725cd[_0x36bb8c(0x352)]=_0x36bb8c(0x25c),_0x4725cd))(Jo||{});const Lo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Si=0x1e,We={'b':{'s':0x1,'cl':{'rgb':Mt}},'l':{'s':0x1,'cl':{'rgb':Mt}},'r':{'s':0x1,'cl':{'rgb':Mt}},'t':{'s':0x1,'cl':{'rgb':Mt}}},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':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Pi(_0x179c1b,_0x19bc63,_0x2d2c48){const _0x97ad89=_0x36bb8c,_0x190226=_0x179c1b['get'](_0x23e253),_0x671152=_0x2d2c48['split']('_');switch(_0x19bc63){case _0x1fa0d4['Year']:return _0x190226['t'](_0x97ad89(0x25d),..._0x671152);case _0x1fa0d4['Minute']:return _0x190226['t'](_0x97ad89(0x2d6),..._0x671152);case _0x1fa0d4[_0x97ad89(0x34f)]:return _0x190226['t'](_0x97ad89(0x332),..._0x671152);case _0x1fa0d4['HourMinute']:return _0x190226['t'](_0x97ad89(0x241),..._0x671152);case _0x1fa0d4[_0x97ad89(0x1e4)]:return _0x190226['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x671152);case _0x1fa0d4[_0x97ad89(0x13b)]:return _0x190226['t'](_0x97ad89(0x177),..._0x671152);case _0x1fa0d4[_0x97ad89(0x2de)]:return _0x190226['t'](_0x97ad89(0x34c),..._0x671152);case _0x1fa0d4[_0x97ad89(0x153)]:return _0x190226['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x671152);case _0x1fa0d4[_0x97ad89(0x11e)]:return _0x190226['t'](_0x97ad89(0x1a8),..._0x671152);case _0x1fa0d4[_0x97ad89(0x228)]:return _0x190226['t'](_0x97ad89(0x32e),..._0x671152);}return'';}const tt=(_0x3d9409,_0xf02a65,_0x53effa,_0x4e035c)=>{const _0x1b5c5c=_0x36bb8c;let _0x4f6542;const _0x4c870e=_0x3d9409['get'](_0x12f544)['getCurrentUnitForType'](_0x4b7918['UNIVER_SHEET']);if(!_0x4c870e)return null;const _0x361306=_0x4c870e['getStyles']();let _0x478016;if(_0x53effa&&(_0x478016=_0x361306[_0x1b5c5c(0x162)](_0x53effa)),_0xf02a65!=null&&_0xf02a65['v']||(_0xf02a65==null?void 0x0:_0xf02a65['v'])===0x0){_0x4f6542||(_0x4f6542={});const _0x5391f8=Bo(_0xf02a65['v']);typeof _0x5391f8==_0x1b5c5c(0x1ab)?_0x4f6542['t']=_0x90f4d2[_0x1b5c5c(0x187)]:typeof _0x5391f8=='string'&&(_0x4f6542['t']=_0x90f4d2['STRING']),_0x4f6542['v']=_0x5391f8;}if((_0xf02a65!=null&&_0xf02a65['i']||(_0xf02a65==null?void 0x0:_0xf02a65['i'])===0x0)&&(_0x4f6542||(_0x4f6542={}),_0x4f6542['fi']=_0xf02a65['i']),_0xf02a65!=null&&_0xf02a65['s']&&(_0x4f6542||(_0x4f6542={}),_0x4f6542[_0x1b5c5c(0x399)]=_0xf02a65['s']),_0x53effa&&(_0x4f6542||(_0x4f6542={}),_0x4f6542['s']=_0x478016),_0x4e035c&&_0x4f6542!=null&&_0x4f6542['v']&&_0x4f6542[_0x1b5c5c(0x399)]!==_0x3654e9['GrandTotal']&&_0x4f6542[_0x1b5c5c(0x399)]!==_0x3654e9[_0x1b5c5c(0x1e3)]){const _0x2a03ee=String(_0x4f6542['v']),{dateType:_0x1d883d}=_0x4e035c;_0x4f6542['v']=Pi(_0x3d9409,_0x1d883d,_0x2a03ee),_0x4f6542['t']=_0x90f4d2[_0x1b5c5c(0x2ac)];}return _0x4f6542;},wi=(_0x34b9a8,_0x2643db,_0x2ed73b,_0x1edbaf)=>{const _0x462d9b=_0x36bb8c;var _0x4edde2,_0x3374f8,_0x4727b2,_0x5a543b,_0x1da11c,_0x16b065,_0x59a73c,_0x2883f1,_0xacad7c,_0x5a6012,_0x423ee8,_0x57ec4d,_0x3c44ff,_0x471ba3;const _0x111f76=_0x2ed73b[_0x462d9b(0x17c)],{cornerView:_0x14d14d,rowView:_0x558d3b,colView:_0x55751c,dataView:_0x24dc5c,pageView:_0x405d13,formatMap:_0x538f09,groupInfo:_0x18526b}=_0x2643db,{row:_0x480df2,col:_0x5bd8b8}=_0x111f76,_0x572056=new _0x828916(),_0xf38628={},_0x4ec67a={},_0x5d39d4={},_0x7b3d65={},_0x449789={};let _0x1fb767=_0x480df2,_0x405617=_0x5bd8b8;Object[_0x462d9b(0x16f)](_0x405d13[_0x462d9b(0x207)])[_0x462d9b(0x2af)](_0x72e6f3=>{const _0x2608ea=_0x462d9b;Object[_0x2608ea(0x16f)](_0x405d13['data'][Number(_0x72e6f3)])[_0x2608ea(0x2af)](_0x32c790=>{const _0x1ef174=_0x2608ea,_0x4e01c7={..._0x405d13[_0x1ef174(0x207)][Number(_0x72e6f3)][Number(_0x32c790)]};_0x572056[_0x1ef174(0x162)](Number(_0x72e6f3)+_0x1fb767,Number(_0x32c790)+_0x405617,tt(_0x34b9a8,_0x4e01c7,fe[_0x1ef174(0x18d)]));});});const _0x257731=Object[_0x462d9b(0x16f)](_0x405d13['data'])[_0x462d9b(0x32f)];_0x1fb767+=_0x257731+(_0x257731?It:0x0);const _0x5a35ea=_0x14d14d['getRowCount'](),_0x1a0f1a=_0x14d14d[_0x462d9b(0x33b)]();for(let _0x35b85b=0x0;_0x35b85b<_0x5a35ea;_0x35b85b++)for(let _0x303154=0x0;_0x303154<_0x1a0f1a;_0x303154++){const _0x20b92c={...(_0x3374f8=(_0x4edde2=_0x14d14d[_0x462d9b(0x207)])==null?void 0x0:_0x4edde2[_0x35b85b])==null?void 0x0:_0x3374f8[_0x303154]};_0x20b92c&&((_0x4727b2=_0x558d3b[_0x462d9b(0x2c0)][_0x303154])!=null&&_0x4727b2[_0x462d9b(0x2f7)])&&_0x303154===_0x1a0f1a-0x1&&_0x35b85b===_0x5a35ea-0x1&&(_0x20b92c['v']=''+_0x1edbaf[_0x462d9b(0x25f)]),_0x572056['setValue'](_0x35b85b+_0x1fb767,_0x303154+_0x405617,tt(_0x34b9a8,_0x20b92c,fe[_0x462d9b(0x142)]));}for(let _0x522faf=0x0;_0x522faf<_0x14d14d[_0x462d9b(0x253)][_0x462d9b(0x32f)];_0x522faf++)_0x14d14d['info'][_0x522faf]&&(_0x5d39d4[''+(_0x522faf+_0x405617)]=_0x14d14d[_0x462d9b(0x253)][_0x522faf]);_0x405617+=_0x1a0f1a;const _0x526bf2=_0x55751c[_0x462d9b(0x2c0)],_0x51be2c=_0x55751c[_0x462d9b(0x13f)]()>=0x0?_0x55751c[_0x462d9b(0x13f)]()+0x1:0x0,_0x906c2=_0x55751c[_0x462d9b(0x1a1)]()>=0x0?_0x55751c[_0x462d9b(0x1a1)]()+0x1:0x0;for(let _0x587634=0x0;_0x587634<_0x906c2;_0x587634++){for(let _0x370b07=0x0;_0x370b07<_0x51be2c;_0x370b07++){const _0x57b9ee={...(_0x1da11c=(_0x5a543b=_0x55751c['data'])==null?void 0x0:_0x5a543b[_0x370b07])==null?void 0x0:_0x1da11c[_0x587634]},_0x38d3a5=(_0x16b065=_0x526bf2[_0x370b07])==null?void 0x0:_0x16b065[_0x462d9b(0x11f)],_0x4d4c9d=_0x538f09[_0x38d3a5],_0x357f5e=_0x18526b[_0x38d3a5];_0x57b9ee&&(_0x57b9ee['v']=vt(_0x57b9ee,_0x370b07===0x0&&((_0x59a73c=_0x55751c[_0x462d9b(0x316)](_0x587634+0x1))==null?void 0x0:_0x59a73c[_0x462d9b(0x2f7)]),_0x4d4c9d,_0x1edbaf));let _0x46d8e8;_0x4d4c9d?_0x46d8e8={...fe[_0x462d9b(0x21f)],'n':{'pattern':_0x4d4c9d}}:_0x46d8e8={...fe['colStyle']},_0x572056['setValue'](_0x370b07+_0x1fb767,_0x587634+_0x405617,tt(_0x34b9a8,_0x57b9ee,_0x46d8e8,_0x357f5e));}_0x55751c[_0x462d9b(0x253)][_0x587634]&&(_0x4ec67a[''+(_0x587634+_0x405617)]=_0x55751c[_0x462d9b(0x253)][_0x587634]),_0x55751c['headerMap'][_0x587634+0x1]&&(_0x449789[''+(_0x587634+_0x1fb767+0x1)]=_0x55751c[_0x462d9b(0x2c0)][_0x587634+0x1]);}_0x1fb767+=_0x5a35ea;const _0x1b8ebc=_0x558d3b['headerMap'],_0x4085e2=_0x558d3b['getLastRow']()>=0x0?_0x558d3b['getLastRow']()+0x1:0x0,_0x5d8fbe=_0x558d3b[_0x462d9b(0x1a1)]()>=0x0?_0x558d3b['getLastCol']()+0x1:0x0;for(let _0x7c361d=0x0;_0x7c361d<_0x4085e2;_0x7c361d++){for(let _0x2d9dd8=0x0;_0x2d9dd8<_0x5d8fbe;_0x2d9dd8++){const _0x1f7843={...(_0xacad7c=(_0x2883f1=_0x558d3b[_0x462d9b(0x207)])==null?void 0x0:_0x2883f1[_0x7c361d])==null?void 0x0:_0xacad7c[_0x2d9dd8]},_0x141dd9=(_0x5a6012=_0x1b8ebc[_0x2d9dd8])==null?void 0x0:_0x5a6012[_0x462d9b(0x11f)],_0x16e3c8=_0x538f09[_0x141dd9],_0xbd9a1a=_0x18526b[_0x141dd9];_0x1f7843&&(_0x1f7843['v']=vt(_0x1f7843,!0x1,_0x16e3c8,_0x1edbaf));let _0x3fd083;_0x558d3b['info'][_0x7c361d][_0x462d9b(0x206)]===_0x558d3b[_0x462d9b(0x33b)]()?_0x3fd083=fe[_0x462d9b(0x240)]:_0x558d3b['info'][_0x7c361d]['isBottomTotal']?_0x3fd083=_0x558d3b['info'][_0x7c361d]['level']===0x0?fe['grandTotal']:fe['subTotalStyle']:_0x3fd083=fe[_0x462d9b(0x27e)],_0x16e3c8&&(_0x3fd083={..._0x3fd083,'n':{'pattern':_0x16e3c8}}),_0x572056[_0x462d9b(0x162)](_0x7c361d+_0x1fb767,_0x2d9dd8+_0x5bd8b8,tt(_0x34b9a8,_0x1f7843,_0x3fd083,_0xbd9a1a));}_0x558d3b[_0x462d9b(0x253)][_0x7c361d]&&(_0xf38628[''+(_0x7c361d+_0x1fb767)]=_0x558d3b[_0x462d9b(0x253)][_0x7c361d]),_0x558d3b['headerMap'][_0x7c361d]&&(_0x7b3d65[''+(_0x7c361d+_0x5bd8b8)]=_0x558d3b[_0x462d9b(0x2c0)][_0x7c361d]);}const _0x19440f=_0x24dc5c['getRowCount'](),_0x21def3=_0x24dc5c[_0x462d9b(0x33b)]();for(let _0x5576e9=0x0;_0x5576e9<_0x19440f;_0x5576e9++)for(let _0x263571=0x0;_0x263571<_0x21def3;_0x263571++){const _0x3d31d1={...(_0x57ec4d=(_0x423ee8=_0x24dc5c['data'])==null?void 0x0:_0x423ee8[_0x5576e9])==null?void 0x0:_0x57ec4d[_0x263571]};let _0x3472a6;_0x558d3b[_0x462d9b(0x253)][_0x5576e9]['isBottomTotal']?_0x3472a6=_0x558d3b[_0x462d9b(0x253)][_0x5576e9][_0x462d9b(0x206)]===0x0?fe[_0x462d9b(0x18c)]:fe[_0x462d9b(0x179)]:_0x3472a6=fe[_0x462d9b(0x295)];const _0x340314=_0x558d3b[_0x462d9b(0x253)][_0x5576e9]['valueIndex'],_0x1f6bab=_0x55751c[_0x462d9b(0x253)][_0x263571][_0x462d9b(0x173)],_0x42d236=Math[_0x462d9b(0x1bd)](_0x340314,_0x1f6bab),_0x5430a3=_0x2ed73b[_0x462d9b(0x31a)][_0x462d9b(0x1b8)][_0x462d9b(0x146)]();let _0x19a695='';_0x42d236<0x0?_0x19a695=(_0x3c44ff=_0x5430a3[0x0])!=null?_0x3c44ff:'':_0x19a695=(_0x471ba3=_0x5430a3[_0x42d236])!=null?_0x471ba3:'';const _0x7587f4=_0x538f09[_0x19a695];_0x7587f4&&(_0x3472a6={..._0x3472a6,'n':{'pattern':_0x7587f4}}),_0x572056[_0x462d9b(0x162)](_0x5576e9+_0x1fb767,_0x263571+_0x405617,tt(_0x34b9a8,_0x3d31d1,_0x3472a6));}return{'valueMatrix':_0x572056,'rowInfo':_0xf38628,'colInfo':_0x4ec67a,'cornerInfo':_0x5d39d4,'rowHeaderMap':_0x7b3d65,'colHeaderMap':_0x449789};};function vt(_0x4dec38,_0x585de5,_0x584c1b,_0x5cc6fd){const _0x1ff22f=_0x36bb8c;let _0x50e8e7=_0x4dec38['v'];_0x585de5&&(_0x50e8e7=''+_0x5cc6fd[_0x1ff22f(0x25f)]);const _0x4d6a0d=_0x4dec38['t']&&(_0x4dec38['t']&_0x5d6300[_0x1ff22f(0x170)])>0x0;if(_0x4d6a0d&&(_0x50e8e7=''+_0x5cc6fd[_0x1ff22f(0x182)]),_0x4dec38['s']===_0x3654e9[_0x1ff22f(0x1e3)]){let _0x57a2b1=_0x50e8e7,_0x39fb4d='';_0x3f90b0(_0x50e8e7)&&(_0x57a2b1=_0x50e8e7[_0x1ff22f(0x180)],_0x39fb4d=_0x50e8e7['value']);const _0x31dfab=_0x584c1b&&!_0x4d6a0d?_0x2620b7[_0x1ff22f(0x2cd)](_0x584c1b,Number(_0x57a2b1)):_0x57a2b1;_0x39fb4d?_0x50e8e7=_0x31dfab+'\x20'+_0x39fb4d:_0x50e8e7=_0x31dfab+'\x20'+_0x5cc6fd['sheets-pivot.subTotal'];}else _0x4dec38['s']===_0x3654e9[_0x1ff22f(0x19c)]&&(_0x50e8e7=_0x50e8e7+'\x20'+_0x5cc6fd[_0x1ff22f(0x209)]);return _0x50e8e7;}function Bo(_0x38b9f1){const _0x5d8621=_0x36bb8c;if(_0x33e363(_0x38b9f1)){const {errorType:_0x1f6870}=_0x38b9f1;switch(_0x1f6870){case _0xef5bb2['Div0']:return _0x398af9[_0x5d8621(0x2d2)];case _0xef5bb2[_0x5d8621(0x2e4)]:return _0x398af9[_0x5d8621(0x2b9)];case _0xef5bb2['NotFunction']:return _0x398af9[_0x5d8621(0x159)];case _0xef5bb2[_0x5d8621(0x395)]:return _0x398af9[_0x5d8621(0x159)];case _0xef5bb2[_0x5d8621(0x232)]:return _0x398af9['REF'];}}return _0x38b9f1;}function ge(_0xed7b19,_0x1048a7,_0x4295b1=!0x1,_0x2e1e00=!0x1){const _0x1f9f51=_0x36bb8c,{data:_0x154d85}=_0x1048a7,_0x75bc1b=_0x1048a7[_0x1f9f51(0x37f)](),_0x39bff6=_0x1048a7[_0x1f9f51(0x33b)]();if(_0x75bc1b<=0x0||_0x39bff6<=0x0)return[];const _0x1b0f48=_0x1048a7[_0x1f9f51(0x1a1)](),_0x437a09=_0x1048a7[_0x1f9f51(0x13f)](),_0x4c2b01=_0x2e1e00?_0x437a09>=0x0?_0x437a09+0x1:0x0:_0x75bc1b,_0x5d5bb0=_0x2e1e00?_0x1b0f48>=0x0?_0x1b0f48+0x1:0x0:_0x39bff6,{row:_0xfe5495,col:_0x169471}=_0xed7b19,_0x54d222=_0xfe5495,_0x275fd5=_0x169471;if(_0x4295b1){const _0xf06279=[];for(const [_0x486879,_0xf55538]of Object[_0x1f9f51(0x339)](_0x154d85))for(const [_0x1b833c,_0x94960d]of Object[_0x1f9f51(0x339)](_0xf55538))_0xf06279['push'](_0x167aa6(_0x54d222+Number(_0x486879),_0x275fd5+Number(_0x1b833c)));return _0xf06279;}else{const _0x5a93b3=_0x2e1e00?_0x4c2b01>0x0?0x1:0x0:0x1,_0x32f3fe=_0x2e1e00?_0x5d5bb0>0x0?0x1:0x0:0x1,_0x40d20f=_0xfe5495+_0x4c2b01-_0x5a93b3,_0x3c4eb7=_0x169471+_0x5d5bb0-_0x32f3fe;return[{'startRow':_0x54d222,'startColumn':_0x275fd5,'endRow':_0x40d20f,'endColumn':_0x3c4eb7}];}}const X=_0x36bb8c(0x281),Jt=_0x36bb8c(0x119);var k=(_0x5fb4a8=>(_0x5fb4a8[_0x36bb8c(0x1f2)]=_0x36bb8c(0x1d2),_0x5fb4a8[_0x36bb8c(0x1f7)]='panel',_0x5fb4a8[_0x36bb8c(0x249)]=_0x36bb8c(0x340),_0x5fb4a8[_0x36bb8c(0x188)]=_0x36bb8c(0x188),_0x5fb4a8[_0x36bb8c(0x2fd)]=_0x36bb8c(0x292),_0x5fb4a8[_0x36bb8c(0x39c)]=_0x36bb8c(0x278),_0x5fb4a8[_0x36bb8c(0x369)]=_0x36bb8c(0x287),_0x5fb4a8[_0x36bb8c(0x378)]=_0x36bb8c(0x172),_0x5fb4a8[_0x36bb8c(0x18a)]='setPivotFilter',_0x5fb4a8[_0x36bb8c(0x1c8)]=_0x36bb8c(0x1ee),_0x5fb4a8['SetPivotSetting']=_0x36bb8c(0x165),_0x5fb4a8[_0x36bb8c(0x15f)]=_0x36bb8c(0x22b),_0x5fb4a8[_0x36bb8c(0x13a)]=_0x36bb8c(0x239),_0x5fb4a8[_0x36bb8c(0x259)]=_0x36bb8c(0x2ce),_0x5fb4a8[_0x36bb8c(0x1a7)]='setValuePivotFilter',_0x5fb4a8[_0x36bb8c(0x124)]=_0x36bb8c(0x1dc),_0x5fb4a8[_0x36bb8c(0x288)]=_0x36bb8c(0x127),_0x5fb4a8))(k||{});const yi={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x36bb8c(0x233),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x36bb8c(0x349),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x36bb8c(0x231),'sheets-pivot.maxName':_0x36bb8c(0x357),'sheets-pivot.minName':_0x36bb8c(0x32a),'sheets-pivot.productName':_0x36bb8c(0x230),'sheets-pivot.stdDevName':_0x36bb8c(0x229),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x36bb8c(0x2e8),'sheets-pivot.varName':_0x36bb8c(0x335),'sheets-pivot.varpName':_0x36bb8c(0x23e),'sheets-pivot.subTotal':_0x36bb8c(0x1e3),'sheets-pivot.grandTotal':_0x36bb8c(0x36c),'sheets-pivot.value':'value','sheets-pivot.blank':_0x36bb8c(0x170),'sheets-pivot.emptyPivot.filter':_0x36bb8c(0x1f2),'sheets-pivot.emptyPivot.row':_0x36bb8c(0x28b),'sheets-pivot.emptyPivot.column':_0x36bb8c(0x1f9),'sheets-pivot.emptyPivot.values':_0x36bb8c(0x2a8)},So={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x5a1b5f(_0x36bb8c(0x141)),$o=_0x462e55(_0x36bb8c(0x34d));var Le=(_0x2d67aa=>(_0x2d67aa[_0x36bb8c(0x336)]=_0x36bb8c(0x336),_0x2d67aa['delete']=_0x36bb8c(0x2ad),_0x2d67aa[_0x36bb8c(0x34e)]=_0x36bb8c(0x34e),_0x2d67aa))(Le||{}),B=(_0x53ccc3=>(_0x53ccc3['Add']=_0x36bb8c(0x336),_0x53ccc3[_0x36bb8c(0x227)]=_0x36bb8c(0x136),_0x53ccc3[_0x36bb8c(0x333)]=_0x36bb8c(0x2ad),_0x53ccc3))(B||{});const ro={'type':_0x4c39aa['MUTATION'],'id':_0x36bb8c(0x273),'handler':()=>!0x0},lo={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x23b),'handler':()=>!0x0},Dt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x224),'handler':()=>!0x0},co={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x196),'handler':()=>!0x0},uo={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x30a),'handler':()=>!0x0};var Mi=Object[_0x36bb8c(0x15a)],_i=(_0x5139e6,_0x11aaca,_0x491faf,_0xd13d9f)=>{const _0x9bc552=_0x36bb8c;for(var _0x26da82=_0xd13d9f>0x1?void 0x0:_0xd13d9f?Mi(_0x11aaca,_0x491faf):_0x11aaca,_0x1aa4e3=_0x5139e6[_0x9bc552(0x32f)]-0x1,_0x4c5ade;_0x1aa4e3>=0x0;_0x1aa4e3--)(_0x4c5ade=_0x5139e6[_0x1aa4e3])&&(_0x26da82=_0x4c5ade(_0x26da82)||_0x26da82);return _0x26da82;},Fi=(_0x2c4793,_0x5768b8)=>(_0x22fa44,_0x36f20b)=>_0x5768b8(_0x22fa44,_0x36f20b,_0x2c4793);let z=class extends _0x441d3c{constructor(_0x41586a){const _0x256539=_0x36bb8c;super(),V(this,_0x256539(0x37e),new Map()),this[_0x256539(0x2ef)]=_0x41586a;}['handleAsyncResponse'](_0x169907){const _0x5f1265=_0x36bb8c,{version:_0x5ef621}=_0x169907,_0x4d75cb=this[_0x5f1265(0x37e)][_0x5f1265(0x140)](_0x5ef621);_0x4d75cb&&(_0x4d75cb(_0x169907),this['_requestResolvers'][_0x5f1265(0x2ad)](_0x5ef621));}[_0x36bb8c(0x347)](_0x38b8bc){return new Promise((_0x20b296,_0x21b340)=>{const _0x2ee33b=_0x1ed5,_0x2fd1ef=this['_generateUniqueVersion']();this[_0x2ee33b(0x37e)][_0x2ee33b(0x136)](_0x2fd1ef,_0x20b296),this[_0x2ee33b(0x2ef)][_0x2ee33b(0x31f)](ro['id'],{'version':_0x2fd1ef,..._0x38b8bc},{'onlyLocal':!0x0});});}[_0x36bb8c(0x1db)](){const _0x538f2a=_0x36bb8c;return Math['random']()['toString'](0x24)[_0x538f2a(0x202)](0x2,0x10);}};z=_i([Fi(0x0,_0x11f8dd(_0x2e7974))],z);const Zo={0x0:'G',0x1:'V',0x2:'0',0x3:'n',0x4:'D',0x5:'2',0x6:'L',0x7:'k',0x8:'v',0x9:'i','i':'1','C':'3','r':'4','y':'5','F':'6','R':'7','g':'8','S':'9','w':'a','a':'b','V':'c','p':'d','Z':'e','U':'f','E':'g','I':'h','q':'j','f':'l','X':'m','A':'o','O':'p','b':'q','k':'r','T':'s','J':'t','h':'u','c':'w','v':'x','d':'y','W':'z','L':'A','z':'B','o':'C','N':'E','D':'F','x':'H','l':'I','G':'J','B':'K','t':'M','P':'N','M':'O','n':'P','e':'Q','m':'R','Q':'S','H':'T','K':'U','u':'W','s':'X','Y':'Y','j':'Z'},Go=_0x36bb8c(0x20f),Ri=_0x286fef=>{const _0x29e7a2=_0x36bb8c;var _0x5b6c22;return((_0x5b6c22=_0x286fef[_0x29e7a2(0x2b2)])==null?void 0x0:_0x5b6c22['dataStream'][_0x29e7a2(0x30f)](/\r\n$/,''))||'';};class Di extends _0x1a7189{constructor(_0x402bdd,_0x39010f){const _0x3eef53=_0x36bb8c;super(),V(this,_0x3eef53(0x29e),{}),V(this,'_univerInstanceService'),V(this,_0x3eef53(0x269)),(this[_0x3eef53(0x32c)]=_0x39010f,this[_0x3eef53(0x269)]=_0x402bdd);}['initDataRanges'](){const _0x55bb5d=_0x36bb8c;for(const _0x421979 in this[_0x55bb5d(0x2c6)]){const _0x110152=this['dataFields'][_0x421979],_0x38043e=_0x110152[_0x55bb5d(0x14e)]();this[_0x55bb5d(0x29e)][_0x38043e]=_0x110152[_0x55bb5d(0x2cf)]();}}[_0x36bb8c(0x2f3)](){const _0x9e745a=_0x36bb8c,_0x2bf112=this['_host'];return xi[_0x9e745a(0x12a)](_0x2bf112);}[_0x36bb8c(0x1a4)](_0x16073b){const _0x1ff101=_0x36bb8c,_0x1349d4=this[_0x1ff101(0x2c6)][_0x16073b][_0x1ff101(0x21b)];delete this[_0x1ff101(0x2c6)][_0x16073b],delete this['rangeKeyMap'][_0x1349d4];}[_0x36bb8c(0x2ab)](_0x419a25){const _0x11165e=_0x36bb8c;this[_0x11165e(0x2c6)][_0x419a25['getId']()]=_0x419a25;}[_0x36bb8c(0x1e2)](_0x3d1acd){const _0x483916=_0x36bb8c;var _0x250cbf,_0x2f0a34;const _0x8a9dd7=this['_host'][_0x483916(0x24a)](_0x3d1acd);if(_0x8a9dd7){const {unitId:_0x58ce80,subUnitId:_0x2e58ff}=_0x8a9dd7,_0x750c5d=(_0x250cbf=this[_0x483916(0x269)][_0x483916(0x1f0)](_0x58ce80,_0x2e58ff,_0x3d1acd))==null?void 0x0:_0x250cbf[_0x483916(0x20b)];this[_0x483916(0x269)][_0x483916(0x1d1)]({'token':_0x3d1acd,'type':Le['delete'],'dataRangeInfo':_0x750c5d});}(_0x2f0a34=this['getCollection'](_0x3d1acd))==null||_0x2f0a34[_0x483916(0x234)](),delete this[_0x483916(0x191)][_0x3d1acd];}[_0x36bb8c(0x14e)](_0x27db54,_0x15ff3e){const {sheetName:_0xc97496,unitId:_0x569264,range:_0xceab3a}=_0x27db54,{startRow:_0x549998,endRow:_0x12402f}=_0xceab3a;return _0x5958ff(_0x569264,_0xc97496,{'startRow':_0x549998,'endRow':_0x12402f,'startColumn':_0x15ff3e,'endColumn':_0x15ff3e});}[_0x36bb8c(0x2b7)](_0x24161c){const _0xbba1f4=_0x36bb8c;return this[_0xbba1f4(0x2c6)][this[_0xbba1f4(0x29e)][_0x24161c]];}[_0x36bb8c(0x1d3)](_0x380552,_0x389099){this['rangeKeyMap'][_0x380552]=_0x389099;}['updateRangeKeyMap'](_0x32bb8c,_0xb0b4d1){const _0x5955c3=_0x36bb8c;this[_0x5955c3(0x29e)][_0xb0b4d1]=this['rangeKeyMap'][_0x32bb8c],delete this['rangeKeyMap'][_0x32bb8c];}[_0x36bb8c(0x2cb)](_0x294832,_0x4680e0,_0x3123b6,_0x149c6f){const _0x3b6b97=_0x36bb8c,_0x33620f=new _0x101dff(this);_0x33620f[_0x3b6b97(0x210)](_0x4680e0);const _0x19c920=[];let _0x5d48c3=0x0;for(const _0xf5d540 of _0x33620f[_0x3b6b97(0x2a4)]){const _0x28839a=this['getRangeKey'](_0x3123b6,_0x5d48c3),_0x139831=this[_0x3b6b97(0x2c6)][_0xf5d540];_0x139831&&(_0x139831['rangeKey']=_0x28839a,this[_0x3b6b97(0x1d3)](_0x28839a,_0xf5d540),_0x19c920[_0x3b6b97(0x1fa)]({'index':_0x5d48c3,'dataField':_0x139831})),_0x5d48c3++;}return this[_0x3b6b97(0x285)](_0x294832,_0x33620f,_0x3123b6,_0x149c6f),{'collection':_0x33620f,'updateDataFieldList':_0x19c920};}[_0x36bb8c(0x31c)](_0x5def47,_0x112a8f){const _0x10368b=_0x36bb8c;return _0x5def47[_0x10368b(0x379)]===_0x1000fc[_0x10368b(0x275)]?{'startRow':0x0,'startColumn':_0x5def47[_0x10368b(0x328)],'endRow':_0x112a8f[_0x10368b(0x37f)]()-0x1,'endColumn':_0x5def47[_0x10368b(0x130)]}:{'startRow':_0x5def47['startRow'],'startColumn':_0x5def47[_0x10368b(0x328)],'endRow':_0x5def47['endRow'],'endColumn':_0x5def47[_0x10368b(0x130)]};}[_0x36bb8c(0x1e9)](_0x2191db){const _0x55dbd0=_0x36bb8c,{sheetName:_0x14744d,range:_0x1042b1}=_0x2191db,_0x558f6a=this[_0x55dbd0(0x32c)][_0x55dbd0(0x20a)](_0x4b7918[_0x55dbd0(0x2ea)]),_0x1d10a2=_0x558f6a[_0x55dbd0(0x1ba)](_0x14744d),_0x3b89e5=_0x1d10a2['getCellMatrix'](),{startColumn:_0x2fc853,startRow:_0x2d3106,endColumn:_0x572c3a}=this[_0x55dbd0(0x31c)](_0x1042b1,_0x1d10a2),_0x33b4ba=_0x558f6a['getStyles'](),_0x35b3a1=new _0x101dff(this);_0x35b3a1['setRange'](_0x2191db);const _0x89e675=[],_0x58cdbf={};for(let _0x373be6=_0x2fc853;_0x373be6<=_0x572c3a;_0x373be6++){const _0x228293=_0x3b89e5[_0x55dbd0(0x138)](_0x2d3106,_0x373be6),_0xe9d804=this['getRangeKey'](_0x2191db,_0x373be6),_0x202e39=this['getDataFieldByRangeKey'](_0xe9d804);if(_0x202e39)_0x35b3a1[_0x55dbd0(0x37a)](_0x202e39[_0x55dbd0(0x2cf)](),_0x202e39[_0x55dbd0(0x1f5)]());else{const _0x537db8=this[_0x55dbd0(0x1f6)]();let _0x1b3070=this[_0x55dbd0(0x1a3)](_0x228293,_0x33b4ba,_0x58cdbf);_0x24a669(_0x1b3070)&&(_0x1b3070=_0x2620b7[_0x55dbd0(0x2cd)](_0x1b3070['f'],Number(_0x1b3070['v'])));const _0x520049=this[_0x55dbd0(0x1bb)](_0x1b3070,_0x373be6),_0x37bb65=new _0x965f8e(_0x537db8,_0x520049,_0x5a6e84(0x3));_0x37bb65[_0x55dbd0(0x21b)]=_0xe9d804,this['dataFields'][_0x537db8]=_0x37bb65,_0x35b3a1[_0x55dbd0(0x37a)](_0x537db8,_0x520049),_0x89e675[_0x55dbd0(0x1fa)]({'index':_0x373be6,'dataField':_0x37bb65});}}return{'updateDataFieldList':_0x89e675,'collection':_0x35b3a1};}[_0x36bb8c(0x1c7)](_0x333d39){const _0x3e2a3b=_0x36bb8c;return this['_host'][_0x3e2a3b(0x1cf)]()[_0x3e2a3b(0x2a2)]+'\x20'+_0x5ced2e(_0x333d39);}['uniqueDataFieldName'](_0x475861,_0x25700f){const _0x1fb54a=_0x36bb8c;return _0x475861==null||_0x475861===''?this[_0x1fb54a(0x1c7)](_0x25700f):String(_0x475861);}[_0x36bb8c(0x178)](_0x1b7eba){const _0x4b92fb=_0x36bb8c;return this[_0x4b92fb(0x191)][_0x1b7eba];}[_0x36bb8c(0x285)](_0x4da6d2,_0x613429,_0x514e1a,_0x5592f5){const _0x31d5f2=_0x36bb8c;this[_0x31d5f2(0x191)][_0x4da6d2]=_0x613429,_0x613429[_0x31d5f2(0x364)](_0x514e1a),this[_0x31d5f2(0x269)][_0x31d5f2(0x1d1)]({'token':_0x4da6d2,'type':Le[_0x31d5f2(0x336)],'dataRangeInfo':_0x514e1a,'targetCellInfo':_0x5592f5});}['handleMoveRange'](_0x216aed,_0x46c797){const _0x414b32=_0x36bb8c,_0x29dc88=this[_0x414b32(0x178)](_0x216aed),_0x1f204b=_0x29dc88[_0x414b32(0x346)]();let _0x34a4b7=0x0;for(const _0x28ff50 of _0x1f204b){const _0x33a247=_0x29dc88[_0x414b32(0x31d)](_0x28ff50),_0x4fb3f0=this[_0x414b32(0x14e)](_0x46c797,_0x34a4b7);this[_0x414b32(0x301)](_0x33a247[_0x414b32(0x21b)],_0x4fb3f0),_0x34a4b7++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x36bb8c(0x303)](_0x369c24,_0x327a04){const _0x273b08=_0x36bb8c;if(this[_0x273b08(0x178)](_0x369c24)){const _0x28e5c2=this[_0x273b08(0x1cc)](_0x327a04),_0x50ae2f=[];for(const _0x160ae9 of _0x28e5c2)this['rangeKeyMap'][_0x160ae9]!==void 0x0&&_0x50ae2f['push'](this['rangeKeyMap'][_0x160ae9]);const _0x309935=this[_0x273b08(0x215)](_0x369c24),_0x14ce27=[],_0x344cdf=new Set(_0x50ae2f);for(const _0x550e70 of _0x309935)_0x344cdf[_0x273b08(0x33c)](_0x550e70)||_0x14ce27[_0x273b08(0x1fa)](_0x550e70);return _0x14ce27;}}[_0x36bb8c(0x225)](_0x11c853,_0x2cf8f5,_0x1fcb51,_0xeb9b93,_0x538b90){const _0x1ccfe5=_0x36bb8c;return _0x2cf8f5&&_0x2cf8f5[_0x1ccfe5(0x138)](_0xeb9b93,_0x538b90)?_0x2cf8f5[_0x1ccfe5(0x138)](_0xeb9b93,_0x538b90):_0x1fcb51&&_0x1fcb51[_0x1ccfe5(0x138)](_0xeb9b93,_0x538b90)?_0x1fcb51[_0x1ccfe5(0x138)](_0xeb9b93,_0x538b90):_0x11c853['getValue'](_0xeb9b93,_0x538b90);}['refreshDataField'](_0x4d238d,_0x5f4a8f,_0x25a676,_0x16152d){const _0x1486f3=_0x36bb8c,_0x5cde77=this['dataFields'][_0x4d238d];if(!_0x5cde77)return;const {subUnitId:_0x530119,range:_0x446316,unitId:_0x27f3f6}=_0x5f4a8f,_0xf6e132=this[_0x1486f3(0x32c)][_0x1486f3(0x345)](_0x27f3f6);if(!_0xf6e132){console['error'](_0x1486f3(0x264));return;}const _0x4afaed=_0xf6e132[_0x1486f3(0x2db)](_0x530119),_0x511acf=_0x4afaed[_0x1486f3(0x246)](),{arrayFormulaCellDataMatrix:_0x5a6cfc,unitDataMatrix:_0x5c47ac}=_0x16152d||{},{startRow:_0x464b3b,startColumn:_0x2e68c9,endRow:_0x379556}=this[_0x1486f3(0x31c)](_0x446316,_0x4afaed);_0x5cde77[_0x1486f3(0x2c4)]();const _0x1a58fc=_0xf6e132[_0x1486f3(0x2f0)](),_0xb2a9={},_0x17a253=this[_0x1486f3(0x225)](_0x511acf,_0x5a6cfc,_0x5c47ac,_0x464b3b,_0x2e68c9+_0x25a676);let _0x2290f9=this[_0x1486f3(0x1a3)](_0x17a253,_0x1a58fc,_0xb2a9);_0x24a669(_0x2290f9)&&(_0x2290f9=_0x2620b7[_0x1486f3(0x2cd)](_0x2290f9['f'],Number(_0x2290f9['v'])));const _0x53f773=this[_0x1486f3(0x1bb)](_0x2290f9,_0x2e68c9+_0x25a676);_0x5cde77['setName'](_0x53f773);for(let _0x3edbb0=_0x464b3b+0x1;_0x3edbb0<=_0x379556;_0x3edbb0++){const _0x4cc650=this[_0x1486f3(0x225)](_0x511acf,_0x5a6cfc,_0x5c47ac,_0x3edbb0,_0x2e68c9+_0x25a676);_0x5cde77[_0x1486f3(0x35f)](this[_0x1486f3(0x1a3)](_0x4cc650,_0x1a58fc,_0xb2a9),_0x3edbb0-0x1-_0x464b3b);}}[_0x36bb8c(0x2a5)](_0xd04d5,_0x1dc0a4,_0x2bd2be){const _0x3bada1=_0x36bb8c,{subUnitId:_0x35893e,range:_0x589b9b,unitId:_0x4c26ef}=_0x2bd2be,_0x964b60=this[_0x3bada1(0x32c)][_0x3bada1(0x345)](_0x4c26ef);if(!_0x964b60){console[_0x3bada1(0x121)](_0x3bada1(0x264));return;}const _0x5e53b2=_0x964b60[_0x3bada1(0x2db)](_0x35893e),_0x38bf87=_0x5e53b2[_0x3bada1(0x246)](),{startRow:_0x1cee73,startColumn:_0x2cc9a0,endRow:_0x2b9ffa}=this['getRangeStartEndInfo'](_0x589b9b,_0x5e53b2),_0x28d0ca=_0x964b60[_0x3bada1(0x2f0)](),_0x2c7fda={};for(const {dataField:_0x2d9a99,index:_0x1564f9}of _0x1dc0a4){_0x2d9a99['reset']();const _0x3b0848=this[_0x3bada1(0x225)](_0x38bf87,void 0x0,void 0x0,_0x1cee73,_0x2cc9a0+_0x1564f9);let _0x419872=this[_0x3bada1(0x1a3)](_0x3b0848,_0x28d0ca,_0x2c7fda);_0x24a669(_0x419872)&&(_0x419872=_0x2620b7[_0x3bada1(0x2cd)](_0x419872['f'],Number(_0x419872['v'])));const _0x3c4752=this['uniqueDataFieldName'](_0x419872,_0x2cc9a0+_0x1564f9);_0x2d9a99[_0x3bada1(0x12b)](_0x3c4752);}_0xd04d5['updateAllDisplayName']();for(let _0x206bbd=_0x1cee73+0x1;_0x206bbd<=_0x2b9ffa;_0x206bbd++)for(const {index:_0x303a79,dataField:_0x5dcdad}of _0x1dc0a4){const _0x2321d8=_0x38bf87[_0x3bada1(0x138)](_0x206bbd,_0x2cc9a0+_0x303a79);_0x5dcdad['addRecord'](this[_0x3bada1(0x1a3)](_0x2321d8,_0x28d0ca,_0x2c7fda),_0x206bbd-0x1-_0x1cee73);}_0xd04d5[_0x3bada1(0x27b)](_0x2b9ffa-_0x1cee73);}[_0x36bb8c(0x1cc)](_0x52584e){const _0xaafbfa=_0x36bb8c,{range:_0x1908f6}=_0x52584e,{startColumn:_0xf5e127,endColumn:_0x49575d}=_0x1908f6,_0x247410=[];for(let _0x555b8b=_0xf5e127;_0x555b8b<=_0x49575d;_0x555b8b++)_0x247410[_0xaafbfa(0x1fa)](this[_0xaafbfa(0x14e)](_0x52584e,_0x555b8b));return _0x247410;}[_0x36bb8c(0x1a3)](_0x491797,_0x50476f,_0x473c91){const _0xfa7c19=_0x36bb8c;if(_0x491797){const {s:_0x7dcb0f,v:_0x586a8c,t:_0x9e7178,p:_0x156a3b}=_0x491797;if(_0x156a3b)return Ri(_0x156a3b);const _0xdc67c1=_0x50476f[_0xfa7c19(0x140)](_0x7dcb0f);if(_0xdc67c1&&_0x9e7178===_0x90f4d2['NUMBER']&&_0xdc67c1['n']){const {pattern:_0x37fae5}=_0xdc67c1['n'];_0x473c91[_0x37fae5]||(_0x473c91[_0x37fae5]=_0x2620b7['getFormatInfo'](_0x37fae5));const _0x34db14=_0x473c91[_0x37fae5],_0x3d2e19=_0x34db14[_0xfa7c19(0x280)];if(_0x34db14[_0xfa7c19(0x1e6)])return String(_0x586a8c);if(_0x3d2e19)return{'v':_0x586a8c,'f':_0x37fae5};}if(_0x9e7178===_0x90f4d2[_0xfa7c19(0x187)])return Number(_0x586a8c);if(_0x9e7178===_0x90f4d2[_0xfa7c19(0x2ac)]||_0x9e7178===_0x90f4d2[_0xfa7c19(0x2c9)])return String(_0x586a8c);if(_0x9e7178===void 0x0){const _0x527941=Number(_0x586a8c);if(!Number[_0xfa7c19(0x2c2)](_0x527941)&&String(_0x527941)===_0x586a8c)return _0x527941;}return _0x586a8c!=null?_0x586a8c:null;}else return null;}[_0x36bb8c(0x32b)](_0x5fe8df){const _0x286f84=_0x36bb8c,{sheetName:_0x39be31,range:_0x347600,unitId:_0x8cbd3c}=_0x5fe8df,_0x50a617=this[_0x286f84(0x32c)][_0x286f84(0x345)](_0x8cbd3c);if(!_0x50a617)return console[_0x286f84(0x121)](_0x286f84(0x264)),{'header':[],'data':[]};const _0x22bb89=_0x50a617['getSheetBySheetName'](_0x39be31),_0x130e58=_0x22bb89[_0x286f84(0x246)](),{startRow:_0x30aa38,startColumn:_0x4cc810,endRow:_0x32de57,endColumn:_0x16beed}=this['getRangeStartEndInfo'](_0x347600,_0x22bb89),_0x2eb56b=_0x50a617[_0x286f84(0x2f0)](),_0x4fd1db=[],_0x49cb99=[],_0x197010={};for(let _0x20d794=_0x30aa38;_0x20d794<=_0x32de57;_0x20d794++){const _0xa728bc=[];for(let _0x21ae8f=_0x4cc810;_0x21ae8f<=_0x16beed;_0x21ae8f++){const _0x46b5ba=_0x130e58[_0x286f84(0x138)](_0x20d794,_0x21ae8f);_0x20d794===_0x30aa38?_0x4fd1db[_0x286f84(0x1fa)](_0x46b5ba==null?null:String(_0x46b5ba['v'])):_0xa728bc[_0x286f84(0x1fa)](this[_0x286f84(0x1a3)](_0x46b5ba,_0x2eb56b,_0x197010));}_0x49cb99[_0x286f84(0x1fa)](_0xa728bc);}return{'header':_0x4fd1db,'data':_0x49cb99};}[_0x36bb8c(0x298)](){const _0x4cceb8=_0x36bb8c;return super[_0x4cceb8(0x298)]();}[_0x36bb8c(0x210)](_0x5aee76){const _0x3b7d26=_0x36bb8c;super['fromJSON'](_0x5aee76),this[_0x3b7d26(0x343)]();}[_0x36bb8c(0x234)](){const _0x5808ee=_0x36bb8c;super[_0x5808ee(0x234)](),this['rangeKeyMap']={},this[_0x5808ee(0x269)]=null;}}const Ni=_0x55a335=>{const _0x5788d3=_0x36bb8c,{targetCellInfo:_0x576dea}=_0x55a335,{matrixCache:_0xb5a5f6,rangesCache:_0x239e53}=Wo({'filter':'Filter','row':_0x5788d3(0x28b),'column':_0x5788d3(0x1f9),'values':_0x5788d3(0x2a8)},_0x576dea),_0x5ff528=new _0x828916();return _0xb5a5f6[_0x5788d3(0x2ee)]((_0x3f9b4c,_0x1f2ef4,_0x3fe0f9)=>{const _0x59895d=_0x5788d3;_0x5ff528[_0x59895d(0x162)](_0x3f9b4c,_0x1f2ef4,_0x3fe0f9);}),{'matrix':_0x5ff528,'rangesCache':_0x239e53};},ot=_0x13cf68=>{const _0x16081c=_0x36bb8c;let _0x465d6b;if(_0x13cf68!=null&&_0x13cf68['v']||(_0x13cf68==null?void 0x0:_0x13cf68['v'])===0x0){_0x465d6b||(_0x465d6b={});const _0x3434d5=Bo(_0x13cf68['v']);typeof _0x3434d5==_0x16081c(0x1ab)?_0x465d6b['t']=_0x90f4d2[_0x16081c(0x187)]:typeof _0x3434d5=='string'&&(_0x465d6b['t']=_0x90f4d2[_0x16081c(0x2ac)]),_0x465d6b['v']=_0x3434d5;}return _0x465d6b;},Vi=(_0xf99c28,_0x151b3c,_0x26daef)=>{const _0x1ce3d4=_0x36bb8c;var _0x1d071f,_0x2e251f,_0x1b746e,_0x1906ff,_0x563a4d,_0x442056,_0x53b281,_0x852891,_0x594f71,_0x38d4a7,_0x52ed48,_0x3d5b7a;const {cornerView:_0x3e838b,rowView:_0x359814,colView:_0xd3b946,dataView:_0x782563,pageView:_0x2ea9e3,formatMap:_0x8ce6ca}=_0xf99c28,{row:_0x56e56e,col:_0x34c0d7}=_0x151b3c,_0x49d4c8=new _0x828916();let _0x28466c=_0x56e56e,_0x844b6=_0x34c0d7;Object[_0x1ce3d4(0x16f)](_0x2ea9e3[_0x1ce3d4(0x207)])[_0x1ce3d4(0x2af)](_0x3521b5=>{const _0x33e2a9=_0x1ce3d4;Object[_0x33e2a9(0x16f)](_0x2ea9e3['data'][Number(_0x3521b5)])[_0x33e2a9(0x2af)](_0x2ded5c=>{const _0x208b94=_0x33e2a9,_0x27609f={..._0x2ea9e3[_0x208b94(0x207)][Number(_0x3521b5)][Number(_0x2ded5c)]};_0x49d4c8[_0x208b94(0x162)](Number(_0x3521b5)+_0x28466c,Number(_0x2ded5c)+_0x844b6,ot(_0x27609f));});});const _0x1ebe17=Object[_0x1ce3d4(0x16f)](_0x2ea9e3['data'])['length'];_0x28466c+=_0x1ebe17+(_0x1ebe17?It:0x0);const _0x486e3e=_0x3e838b['getRowCount'](),_0x58b25a=_0x3e838b[_0x1ce3d4(0x33b)]();for(let _0x319374=0x0;_0x319374<_0x486e3e;_0x319374++)for(let _0xd0d45c=0x0;_0xd0d45c<_0x58b25a;_0xd0d45c++){const _0x399671={...(_0x2e251f=(_0x1d071f=_0x3e838b[_0x1ce3d4(0x207)])==null?void 0x0:_0x1d071f[_0x319374])==null?void 0x0:_0x2e251f[_0xd0d45c]};_0x399671&&((_0x1b746e=_0x359814['headerMap'][_0xd0d45c])!=null&&_0x1b746e[_0x1ce3d4(0x2f7)])&&_0xd0d45c===_0x58b25a-0x1&&_0x319374===_0x486e3e-0x1&&(_0x399671['v']=''+_0x26daef[_0x1ce3d4(0x25f)]),_0x49d4c8[_0x1ce3d4(0x162)](_0x319374+_0x28466c,_0xd0d45c+_0x844b6,ot(_0x399671));}_0x844b6+=_0x58b25a;const _0x17ad99=_0xd3b946['headerMap'],_0x584e06=_0xd3b946['getLastRow']()>=0x0?_0xd3b946['getLastRow']()+0x1:0x0,_0x2115b0=_0xd3b946[_0x1ce3d4(0x1a1)]()>=0x0?_0xd3b946[_0x1ce3d4(0x1a1)]()+0x1:0x0;for(let _0x22c6ff=0x0;_0x22c6ff<_0x2115b0;_0x22c6ff++)for(let _0x2835b7=0x0;_0x2835b7<_0x584e06;_0x2835b7++){const _0x5f5281={...(_0x563a4d=(_0x1906ff=_0xd3b946[_0x1ce3d4(0x207)])==null?void 0x0:_0x1906ff[_0x22c6ff])==null?void 0x0:_0x563a4d[_0x2835b7]},_0xa03e27=(_0x442056=_0x17ad99[_0x22c6ff])==null?void 0x0:_0x442056[_0x1ce3d4(0x11f)],_0x57ebf0=_0x8ce6ca[_0xa03e27];_0x5f5281&&(_0x5f5281['v']=vt(_0x5f5281,_0x22c6ff===0x0&&((_0x53b281=_0xd3b946['getHeaderMapItem'](_0x2835b7+0x1))==null?void 0x0:_0x53b281[_0x1ce3d4(0x2f7)]),_0x57ebf0,_0x26daef)),_0x49d4c8['setValue'](_0x22c6ff+_0x28466c,_0x2835b7+_0x844b6,ot(_0x5f5281));}_0x28466c+=_0x486e3e;const _0x5558f1=_0x359814['headerMap'],_0x34894c=_0x359814[_0x1ce3d4(0x13f)]()>=0x0?_0x359814[_0x1ce3d4(0x13f)]()+0x1:0x0,_0x20f68a=_0x359814['getLastCol']()>=0x0?_0x359814['getLastCol']()+0x1:0x0;for(let _0x36aa7a=0x0;_0x36aa7a<_0x34894c;_0x36aa7a++)for(let _0x11af4b=0x0;_0x11af4b<_0x20f68a;_0x11af4b++){const _0x28be62={...(_0x594f71=(_0x852891=_0x359814[_0x1ce3d4(0x207)])==null?void 0x0:_0x852891[_0x36aa7a])==null?void 0x0:_0x594f71[_0x11af4b]},_0xf9ea28=(_0x38d4a7=_0x5558f1[_0x11af4b])==null?void 0x0:_0x38d4a7[_0x1ce3d4(0x11f)],_0x52660f=_0x8ce6ca[_0xf9ea28];_0x28be62&&(_0x28be62['v']=vt(_0x28be62,!0x1,_0x52660f,_0x26daef)),_0x49d4c8[_0x1ce3d4(0x162)](_0x36aa7a+_0x28466c,_0x11af4b+_0x34c0d7,ot(_0x28be62));}const _0x54bbd2=_0x782563[_0x1ce3d4(0x37f)](),_0x165bdd=_0x782563[_0x1ce3d4(0x33b)]();for(let _0x5e01ff=0x0;_0x5e01ff<_0x54bbd2;_0x5e01ff++)for(let _0x3b4519=0x0;_0x3b4519<_0x165bdd;_0x3b4519++){const _0x29fed4={...(_0x3d5b7a=(_0x52ed48=_0x782563['data'])==null?void 0x0:_0x52ed48[_0x5e01ff])==null?void 0x0:_0x3d5b7a[_0x3b4519]};_0x49d4c8[_0x1ce3d4(0x162)](_0x5e01ff+_0x28466c,_0x3b4519+_0x844b6,ot(_0x29fed4));}return _0x49d4c8;},Ui=_0x37ab48=>{const _0x397339=_0x36bb8c,{view:_0x2f8857,targetCellInfo:_0x1e0e25,isEmpty:_0x456c45,textInfo:_0x5120c7}=_0x37ab48;if(_0x456c45)return Ni(_0x37ab48);const {pageView:_0x484909,cornerView:_0x551cf3,rowView:_0x4d4107,colView:_0x313bdd,dataView:_0x437cd1}=_0x2f8857,_0x1ccc4a=ge(_0x1e0e25,_0x484909,!0x0),_0x1f84dd=_0x484909[_0x397339(0x2a6)]>=0x0?_0x484909[_0x397339(0x2a6)]+0x1:0x0,_0x406add=_0x551cf3['getRowCount'](),_0x5dc08f=_0x551cf3['getColCount'](),_0x39d1c0=_0x1ccc4a[_0x397339(0x32f)]>0x0?It:0x0,_0x359828=ge({'row':_0x1e0e25[_0x397339(0x237)]+_0x1f84dd+_0x39d1c0,'col':_0x1e0e25[_0x397339(0x348)]},_0x551cf3,!0x1,!0x1),_0x2af5fc=ge({'row':_0x1e0e25['row']+_0x1f84dd+_0x39d1c0+_0x406add,'col':_0x1e0e25[_0x397339(0x348)]},_0x4d4107,!0x1,!0x0),_0x103ca8=ge({'row':_0x1e0e25['row']+_0x1f84dd+_0x39d1c0,'col':_0x1e0e25[_0x397339(0x348)]+_0x5dc08f},_0x313bdd,!0x1,!0x0),_0x19f686=ge({'row':_0x1e0e25[_0x397339(0x237)]+_0x1f84dd+_0x39d1c0+_0x406add,'col':_0x1e0e25[_0x397339(0x348)]+_0x5dc08f},_0x437cd1,!0x1,!0x1),_0x4a89f0={'rowRanges':_0x2af5fc,'colRanges':_0x103ca8,'cornerRanges':_0x359828,'dataRanges':_0x19f686,'pageRanges':_0x1ccc4a};return{'matrix':Vi(_0x2f8857,_0x1e0e25,_0x5120c7),'rangesCache':_0x4a89f0};};var Ei=Object[_0x36bb8c(0x15a)],Oi=(_0x35a157,_0x500a3e,_0x44b4fd,_0x61f9a)=>{const _0x40c1b2=_0x36bb8c;for(var _0x2f3d09=_0x61f9a>0x1?void 0x0:_0x61f9a?Ei(_0x500a3e,_0x44b4fd):_0x500a3e,_0x1f09d1=_0x35a157[_0x40c1b2(0x32f)]-0x1,_0x2ce3c1;_0x1f09d1>=0x0;_0x1f09d1--)(_0x2ce3c1=_0x35a157[_0x1f09d1])&&(_0x2f3d09=_0x2ce3c1(_0x2f3d09)||_0x2f3d09);return _0x2f3d09;},nt=(_0x174e25,_0xdf59c3)=>(_0x105d03,_0x4f5499)=>_0xdf59c3(_0x105d03,_0x4f5499,_0x174e25);let $=class extends _0x441d3c{constructor(_0x1b6b54,_0x54e6a0,_0x28137d,_0x1db910,_0x5dd168){const _0x1ef87e=_0x36bb8c;super(),V(this,_0x1ef87e(0x36d),new Map()),V(this,_0x1ef87e(0x2e7),new Map()),V(this,_0x1ef87e(0x1fe),new Map()),V(this,_0x1ef87e(0x38a)),V(this,'_collectionChange$',new _0x3e9977()),V(this,_0x1ef87e(0x1de),this[_0x1ef87e(0x29c)][_0x1ef87e(0x248)]()),V(this,_0x1ef87e(0x18b),new _0x3e9977()),V(this,'viewData$',this[_0x1ef87e(0x18b)]['asObservable']()),V(this,_0x1ef87e(0x312),new _0x3e9977()),V(this,_0x1ef87e(0x2a9),this['_fieldsCollectionChange$'][_0x1ef87e(0x248)]()),V(this,_0x1ef87e(0x2cc),new Map()),V(this,_0x1ef87e(0x19e),[]),V(this,_0x1ef87e(0x16c),new Map()),(this[_0x1ef87e(0x2f4)]=_0x1b6b54,this['_univerInstanceService']=_0x54e6a0,this[_0x1ef87e(0x331)]=_0x28137d,this['_commandService']=_0x1db910,this['_resourceManagerService']=_0x5dd168,this[_0x1ef87e(0x16e)]());}[_0x36bb8c(0x1cf)](){const _0x35e9e9=_0x36bb8c;return this[_0x35e9e9(0x38a)]?this[_0x35e9e9(0x38a)]:yi;}[_0x36bb8c(0x26b)](_0x43e603){const _0x4dc279=_0x36bb8c;this[_0x4dc279(0x38a)]=_0x43e603;}['handleMoveRange'](_0x21d698){const _0xc16257=_0x36bb8c;var _0x10062d;const {from:_0x311b9e,to:_0x27a0c5,unitId:_0x433713,fromRange:_0x5f1000,toRange:_0xac299c}=_0x21d698;if(_0x311b9e&&_0x27a0c5){const _0x1098a9=this[_0xc16257(0x11a)](_0x433713),_0x242523=this['_model'][_0xc16257(0x140)](_0x433713),_0x5975d7=(_0x10062d=this['_univerInstanceService']['getUnit'](_0x433713))==null?void 0x0:_0x10062d[_0xc16257(0x2db)](_0x27a0c5[_0xc16257(0x247)]);if(!_0x242523||!_0x5975d7)return;const _0x1dc6c5=_0x5975d7==null?void 0x0:_0x5975d7[_0xc16257(0x1f5)]();for(const [_0x5cf434,_0xd19c73]of _0x242523[_0xc16257(0x339)]())for(const [_0x1b8f72,_0x34fec4]of _0xd19c73[_0xc16257(0x339)]()){const {sourceRangeInfo:_0x55944c}=_0x34fec4;if(_0x55944c[_0xc16257(0x28f)]===_0x433713&&_0x55944c[_0xc16257(0x247)]===_0x311b9e[_0xc16257(0x247)]&&_0x275ba3[_0xc16257(0x1ec)](_0x5f1000,_0x55944c['range'])){const _0x38392a={'row':_0x55944c['range'][_0xc16257(0x28d)]-_0x5f1000[_0xc16257(0x28d)],'col':_0x55944c[_0xc16257(0x383)][_0xc16257(0x328)]-_0x5f1000[_0xc16257(0x328)]},_0x300fc1={'unitId':_0x433713,'subUnitId':_0x27a0c5[_0xc16257(0x247)],'sheetName':_0x1dc6c5,'range':{'startRow':_0xac299c[_0xc16257(0x28d)]+_0x38392a['row'],'endRow':_0xac299c[_0xc16257(0x28d)]+_0x38392a[_0xc16257(0x237)]+_0x55944c[_0xc16257(0x383)]['endRow']-_0x55944c[_0xc16257(0x383)][_0xc16257(0x28d)],'startColumn':_0xac299c[_0xc16257(0x328)]+_0x38392a['col'],'endColumn':_0xac299c[_0xc16257(0x328)]+_0x38392a[_0xc16257(0x348)]+_0x55944c[_0xc16257(0x383)][_0xc16257(0x130)]-_0x55944c[_0xc16257(0x383)][_0xc16257(0x328)]}};_0x1098a9[_0xc16257(0x384)](_0x1b8f72,_0x300fc1);const _0x26e479={..._0x34fec4,'sourceRangeInfo':_0x300fc1};this[_0xc16257(0x386)](_0x433713,_0x27a0c5[_0xc16257(0x247)],_0x1b8f72,_0x26e479),this[_0xc16257(0x1d1)]({'unitId':_0x433713,'token':_0x1b8f72,'type':Le[_0xc16257(0x34e)],'oldSourceRangeInfo':_0x55944c,'dataRangeInfo':_0x300fc1,'targetCellInfo':_0x34fec4[_0xc16257(0x17c)]}),this[_0xc16257(0x33d)]({'unitId':_0x433713,'subUnitId':_0x27a0c5[_0xc16257(0x247)],'oldSubUnitId':_0x5cf434,'pivotTableId':_0x1b8f72,'pivotTableConfig':_0x26e479,'collectionConfig':_0x1098a9[_0xc16257(0x298)]()});}}}}[_0x36bb8c(0x1d1)](_0x512a8b){const _0x313aba=_0x36bb8c;this[_0x313aba(0x29c)]['next'](_0x512a8b);}[_0x36bb8c(0x11a)](_0x2640b4){const _0x1af46e=_0x36bb8c;let _0x59669a=this['_dataFieldManagerCollection'][_0x1af46e(0x140)](_0x2640b4);return _0x59669a||(_0x59669a=new Di(this,this[_0x1af46e(0x32c)]),this[_0x1af46e(0x2cc)][_0x1af46e(0x136)](_0x2640b4,_0x59669a)),_0x59669a;}['getCollection'](_0x2f0b6b,_0x1da841){const _0x3f90e4=_0x36bb8c;return this[_0x3f90e4(0x11a)](_0x2f0b6b)[_0x3f90e4(0x191)][_0x1da841];}['getUpdateRangeDeleteIds'](_0x48740e,_0x4c664f,_0x4063b3){const _0xdbae2c=_0x36bb8c;return this[_0xdbae2c(0x11a)](_0x48740e)['getUpdateRangeDeleteIds'](_0x4c664f,_0x4063b3);}[_0x36bb8c(0x212)](_0x4a1a68,_0x7c7775){const _0x7e78b5=_0x36bb8c;let _0x36a9df=this[_0x7e78b5(0x36d)]['get'](_0x4a1a68);_0x36a9df||(_0x36a9df=new Map(),this[_0x7e78b5(0x36d)][_0x7e78b5(0x136)](_0x4a1a68,_0x36a9df));let _0x19b805=_0x36a9df[_0x7e78b5(0x140)](_0x7c7775);return _0x19b805||(_0x19b805=new Map(),_0x36a9df[_0x7e78b5(0x136)](_0x7c7775,_0x19b805)),_0x19b805;}['_updateModelCache'](_0x579a23,_0xffacec,_0x4bb06e,_0x4ba422){const _0x222b8b=_0x36bb8c;this[_0x222b8b(0x212)](_0x579a23,_0xffacec)[_0x222b8b(0x136)](_0x4bb06e,_0x4ba422);}['_deleteModelCache'](_0x704da3,_0x143c93,_0x2ae768){const _0x6a553f=_0x36bb8c;var _0x53f366,_0x55c39d,_0x18b09e,_0x391610;((_0x55c39d=(_0x53f366=this[_0x6a553f(0x36d)]['get'](_0x704da3))==null?void 0x0:_0x53f366['get'](_0x143c93))==null?void 0x0:_0x55c39d[_0x6a553f(0x140)](_0x2ae768))&&((_0x391610=(_0x18b09e=this['_model']['get'](_0x704da3))==null?void 0x0:_0x18b09e[_0x6a553f(0x140)](_0x143c93))==null||_0x391610[_0x6a553f(0x2ad)](_0x2ae768));}['_updatePivotTableInstanceCache'](_0x270091,_0x208d39){const _0x7eb2a=_0x36bb8c;this[_0x7eb2a(0x2e7)][_0x7eb2a(0x136)](_0x270091,_0x208d39);}['_deletePivotTableInstanceCache'](_0x1d057e){const _0xe577d6=_0x36bb8c;this['_pivotTableInstanceCache'][_0xe577d6(0x2ad)](_0x1d057e);}[_0x36bb8c(0x1df)](_0xa2f950,_0x7e85ff){const _0x3e04d0=_0x36bb8c;let _0x29667e=this[_0x3e04d0(0x1fe)][_0x3e04d0(0x140)](_0xa2f950);_0x29667e||(_0x29667e=new Map(),this[_0x3e04d0(0x1fe)][_0x3e04d0(0x136)](_0xa2f950,_0x29667e));let _0x4d6d85=_0x29667e['get'](_0x7e85ff);return _0x4d6d85||(_0x4d6d85=new Map(),_0x29667e[_0x3e04d0(0x136)](_0x7e85ff,_0x4d6d85)),_0x4d6d85;}[_0x36bb8c(0x33d)](_0x49f249){const {unitId:_0x37f348,subUnitId:_0x29adbf,pivotTableId:_0x5ad3ee,pivotTableConfig:_0x2156b4,collectionConfig:_0x5acc0d}=_0x49f249,_0x16a549={'unitId':_0x37f348,'subUnitId':_0x29adbf,'oldSubUnitId':_0x29adbf,'pivotTableId':_0x5ad3ee,'pivotTableConfig':_0x2156b4,'collectionConfig':_0x5acc0d};this['_commandService']['executeCommand'](co['id'],_0x16a549,{'onlyLocal':!0x0});}['updateView'](_0x21fd08,_0x2c7397,_0xeb01cc,_0x5eb69c,_0xadde5c,_0x189b60,_0x4ed18d,_0x5598d9=!0x1){const _0x58fe86=_0x36bb8c;var _0x853cc6;this[_0x58fe86(0x2ef)][_0x58fe86(0x31f)](Dt['id'],{'single':{'unitId':_0x21fd08,'subUnitId':_0x2c7397,'type':_0xeb01cc,'pivotTableId':_0x5eb69c,'view':_0xadde5c,'pivotConfig':_0x189b60},'collectionConfig':{[_0x21fd08]:_0x4ed18d}},{'onlyLocal':!0x0});const _0x46d848=!!((_0x853cc6=this[_0x58fe86(0x1e8)](_0x5eb69c))!=null&&_0x853cc6[_0x58fe86(0x166)]()),_0x440556=this[_0x58fe86(0x1f0)](_0x21fd08,_0x2c7397,_0x5eb69c);_0x440556&&this[_0x58fe86(0x334)]({'view':_0xadde5c,'pivotTableId':_0x5eb69c,'textInfo':this[_0x58fe86(0x1cf)](),'isEmpty':_0x46d848,'targetCellInfo':_0x440556[_0x58fe86(0x17c)]},_0x5598d9);}[_0x36bb8c(0x334)](_0x1d57e7,_0x4ad712){const _0x3f5a5b=_0x36bb8c,{targetCellInfo:_0x2ac599,pivotTableId:_0x301103}=_0x1d57e7,{unitId:_0x320b2b,subUnitId:_0x2ffce4}=_0x2ac599,_0x4bf91b=this[_0x3f5a5b(0x1df)](_0x320b2b,_0x2ffce4),_0x69b2de=_0x4bf91b['get'](_0x301103);let _0x5b6389,_0x3b5f6b;_0x69b2de&&(_0x5b6389=_0x69b2de['rangeCache'],_0x3b5f6b=_0x69b2de['matrix']);const {rangesCache:_0xa4d6bc,matrix:_0x1188fd}=Ui(_0x1d57e7);_0x4bf91b['set'](_0x301103,{'rangeCache':_0xa4d6bc,'matrix':_0x1188fd,'oldMatrix':_0x3b5f6b,'oldRangeCache':_0x5b6389}),_0x4ad712||this[_0x3f5a5b(0x18b)]['next']({'unitId':_0x320b2b,'subUnitId':_0x2ffce4,'pivotTableId':_0x301103});}[_0x36bb8c(0x292)](_0x1dcf32,_0x588d41,_0x8bcb23,_0x256ac0,_0x265e01){const _0x172521=_0x36bb8c;this['_updateModelCache'](_0x1dcf32,_0x588d41,_0x8bcb23,_0x265e01),this[_0x172521(0x19d)](_0x8bcb23,_0x256ac0);}[_0x36bb8c(0x15b)](_0x43c643,_0x364b3e,_0x58bbf6){const _0x484bb7=_0x36bb8c,_0xbaf630=this[_0x484bb7(0x11a)](_0x43c643);_0xbaf630['getNoUsedDataFieldIds'](_0x58bbf6)[_0x484bb7(0x2af)](_0x927dbf=>{const _0x13c385=_0x484bb7;_0xbaf630[_0x13c385(0x1a4)](_0x927dbf);}),this[_0x484bb7(0x26a)](_0x43c643,_0x58bbf6),this['_deleteModelCache'](_0x43c643,_0x364b3e,_0x58bbf6),this[_0x484bb7(0x1b9)](_0x58bbf6);}[_0x36bb8c(0x1a9)](_0x51de09,_0xa6bad1,_0x1cfaed,_0x5edccc){const _0x1507be=_0x36bb8c;this[_0x1507be(0x386)](_0x51de09,_0xa6bad1,_0x1cfaed,_0x5edccc);}[_0x36bb8c(0x1f0)](_0x5bee3b,_0x343285,_0x303373){const _0x121303=_0x36bb8c;var _0x47727e,_0x3f168a;const _0x78db26=(_0x3f168a=(_0x47727e=this[_0x121303(0x36d)][_0x121303(0x140)](_0x5bee3b))==null?void 0x0:_0x47727e[_0x121303(0x140)](_0x343285))==null?void 0x0:_0x3f168a['get'](_0x303373);if(_0x78db26)return _0x78db26;}[_0x36bb8c(0x12e)](_0xd38c2f,_0x121509,_0x408b43){const _0x4ec984=_0x36bb8c;var _0x562e9d,_0x2ed54b;const _0x56d332=(_0x2ed54b=(_0x562e9d=this[_0x4ec984(0x36d)][_0x4ec984(0x140)](_0xd38c2f))==null?void 0x0:_0x562e9d[_0x4ec984(0x140)](_0x121509))==null?void 0x0:_0x2ed54b['get'](_0x408b43);if(_0x56d332)return _0x56d332[_0x4ec984(0x31a)];}[_0x36bb8c(0x1e8)](_0x5aa88b){const _0x413965=_0x36bb8c;return this[_0x413965(0x2e7)][_0x413965(0x140)](_0x5aa88b);}[_0x36bb8c(0x367)](_0x3802cb){const _0x4e62fc=_0x36bb8c;this[_0x4e62fc(0x36d)]['delete'](_0x3802cb);const _0x4c7d5c=this[_0x4e62fc(0x2cc)][_0x4e62fc(0x140)](_0x3802cb);_0x4c7d5c&&(_0x4c7d5c[_0x4e62fc(0x234)](),this[_0x4e62fc(0x2cc)]['delete'](_0x3802cb)),this[_0x4e62fc(0x1fe)][_0x4e62fc(0x2ad)](_0x3802cb),this[_0x4e62fc(0x19e)][_0x4e62fc(0x2af)](_0x2bdb9a=>{const _0x50d3cb=_0x4e62fc;_0x2bdb9a[_0x50d3cb(0x367)](_0x3802cb);});}[_0x36bb8c(0x2cb)](_0x48a7f3,_0x47c5d5,_0x15967d,_0x10429b){const _0x3dab8a=_0x36bb8c;return this['getDataFieldManager'](_0x15967d[_0x3dab8a(0x28f)])[_0x3dab8a(0x2cb)](_0x48a7f3,_0x47c5d5,_0x15967d,_0x10429b);}['createCollectionWithDataRange'](_0x225a5a){const _0x1ea51d=_0x36bb8c;return this[_0x1ea51d(0x11a)](_0x225a5a[_0x1ea51d(0x28f)])[_0x1ea51d(0x1e9)](_0x225a5a);}[_0x36bb8c(0x2a5)](_0x8bd89f,_0x375919,_0x47fa1a){const _0x3ac67e=_0x36bb8c;this['getDataFieldManager'](_0x47fa1a[_0x3ac67e(0x28f)])['refreshData'](_0x8bd89f,_0x375919,_0x47fa1a);}[_0x36bb8c(0x25b)](_0x1d56e1,_0x50b7d3){const _0x2915ab=_0x36bb8c;this[_0x2915ab(0x11a)](_0x1d56e1)['deleteDataField'](_0x50b7d3);}[_0x36bb8c(0x26a)](_0x3649e1,_0x3b6737){const _0x5a1c2f=_0x36bb8c;this[_0x5a1c2f(0x11a)](_0x3649e1)[_0x5a1c2f(0x1e2)](_0x3b6737);}['getSubUnitPivotConfigs'](_0x2b4454,_0x3c2e11){const _0x269257=_0x36bb8c;var _0x45667b;return(_0x45667b=this[_0x269257(0x36d)][_0x269257(0x140)](_0x2b4454))==null?void 0x0:_0x45667b[_0x269257(0x140)](_0x3c2e11);}[_0x36bb8c(0x24a)](_0x34921b){const _0x44258a=_0x36bb8c;for(const [_0x4f867b,_0x5ccef9]of this[_0x44258a(0x36d)][_0x44258a(0x339)]())for(const [_0x3b0d56,_0x280e5a]of _0x5ccef9[_0x44258a(0x339)]())if(_0x280e5a[_0x44258a(0x33c)](_0x34921b))return{'unitId':_0x4f867b,'subUnitId':_0x3b0d56};return null;}[_0x36bb8c(0x242)](_0x2c5f40,_0x2daf04,_0x517baf,_0x58c88a){const _0x33b486=_0x36bb8c,_0x5e5a4c=this['_ensureViewDataMap'](_0x2c5f40,_0x2daf04);_0x58c88a?_0x5e5a4c[_0x33b486(0x136)](_0x517baf,_0x58c88a):_0x5e5a4c['delete'](_0x517baf),this[_0x33b486(0x18b)][_0x33b486(0x368)]({'unitId':_0x2c5f40,'subUnitId':_0x2daf04,'pivotTableId':_0x517baf});}[_0x36bb8c(0x234)](){const _0x5aaa6b=_0x36bb8c;super[_0x5aaa6b(0x234)]();}[_0x36bb8c(0x13d)](_0x4b2fd0,_0x51ffa6,_0x53551c){const _0x3c3409=_0x36bb8c;var _0x37cee2,_0x43917c;const _0xc1b116=(_0x43917c=(_0x37cee2=this['_viewData'][_0x3c3409(0x140)](_0x4b2fd0))==null?void 0x0:_0x37cee2['get'](_0x51ffa6))==null?void 0x0:_0x43917c['get'](_0x53551c);return _0xc1b116||null;}[_0x36bb8c(0x2dd)](_0x4a6e70){this['updateDirtyPivotTable'](_0x4a6e70);}['updateDirtyPivotTable'](_0xb6c82){const _0x302d13=_0x36bb8c,{token:_0x171284,unitId:_0x2393d2,subUnitId:_0x26da87}=_0xb6c82,_0x66afde=_0x2393d2+'-'+_0x26da87+'-'+_0x171284;this[_0x302d13(0x16c)]['get'](_0x66afde)&&clearTimeout(this[_0x302d13(0x16c)][_0x302d13(0x140)](_0x66afde));const _0x66205=setTimeout(()=>{const _0x48f773=_0x302d13;this['queryDirtyPivotTable'](_0xb6c82),this[_0x48f773(0x16c)][_0x48f773(0x2ad)](_0x66afde);},Si);this['_queryingMap'][_0x302d13(0x136)](_0x66afde,_0x66205);}[_0x36bb8c(0x1c2)](_0x1cf557){const _0x1b0afb=_0x36bb8c,{unitId:_0x394de1,subUnitId:_0x5da2be,token:_0x3abb9c,type:_0x11792b,pivotConfig:_0x2428e3}=_0x1cf557,_0x13d546=this['getPivotTableInstance'](_0x3abb9c),_0x524f11=_0x13d546==null?void 0x0:_0x13d546[_0x1b0afb(0x390)](),_0x45087f=_0x2428e3!=null?_0x2428e3:this[_0x1b0afb(0x1f0)](_0x394de1,_0x5da2be,_0x3abb9c);_0x45087f&&(_0x45087f['isEmpty']=!!(_0x13d546!=null&&_0x13d546[_0x1b0afb(0x166)]())),(_0x524f11||_0x11792b===B[_0x1b0afb(0x333)])&&this[_0x1b0afb(0x2ae)](_0x394de1,_0x5da2be,_0x11792b,_0x3abb9c,_0x524f11,_0x45087f,this[_0x1b0afb(0x11a)](_0x394de1)['toJSON']());}[_0x36bb8c(0x298)](_0xc4fc90){const _0x57bda8=_0x36bb8c,_0x2b8c31={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0xc4fc90)&&(_0x2b8c31['dataFieldManagerConfig'][_0xc4fc90]=this[_0x57bda8(0x11a)](_0xc4fc90)[_0x57bda8(0x298)]()),this[_0x57bda8(0x36d)][_0x57bda8(0x140)](_0xc4fc90)){_0x2b8c31['pivotTableConfigs'][_0xc4fc90]={};const _0x21cb08=this[_0x57bda8(0x36d)][_0x57bda8(0x140)](_0xc4fc90);_0x21cb08!=null&&_0x21cb08[_0x57bda8(0x158)]&&[..._0x21cb08[_0x57bda8(0x16f)]()][_0x57bda8(0x2af)](_0x599a0b=>{const _0x1e7a51=_0x57bda8,_0x5777be=_0x21cb08[_0x1e7a51(0x140)](_0x599a0b);_0x5777be!=null&&_0x5777be['size']&&(_0x2b8c31[_0x1e7a51(0x22e)][_0xc4fc90][_0x599a0b]={},[..._0x5777be['keys']()]['forEach'](_0x26b964=>{const _0x535686=_0x1e7a51,_0x1a244d=_0x5777be[_0x535686(0x140)](_0x26b964);_0x1a244d&&(_0x2b8c31['pivotTableConfigs'][_0xc4fc90][_0x599a0b][_0x26b964]=_0x1a244d);}));});}return _0x2b8c31;}[_0x36bb8c(0x210)](_0x1b713a){const _0x869b1e=_0x36bb8c;var _0x2cb219;const {dataFieldManagerConfig:_0x5dabb7,pivotTableConfigs:_0xb900df}=_0x1b713a;_0x5dabb7&&Object['keys'](_0x5dabb7)[_0x869b1e(0x2af)](_0x1dfc8b=>{const _0x243a44=_0x869b1e;this[_0x243a44(0x11a)](_0x1dfc8b)[_0x243a44(0x210)](_0x5dabb7[_0x1dfc8b]);});const _0x2a303b=[];if(_0xb900df){const _0x277f77=(_0x2cb219=this[_0x869b1e(0x2f4)][_0x869b1e(0x140)](_0x44eb60)[_0x869b1e(0x118)](_0x262321))!=null?_0x2cb219:{},{ls:_0x2f37cf,pbk:_0x34e082}=_0x277f77,_0x1f4c4d=go(so,_0x2f37cf,_0x34e082)['count'];Object['keys'](_0xb900df)['forEach'](_0x45ef41=>{const _0x23df5e=_0x869b1e;let _0x1aef9b=0x0;const _0x5ab498=_0xb900df[_0x45ef41];Object[_0x23df5e(0x16f)](_0x5ab498)[_0x23df5e(0x2af)](_0x20d00a=>{const _0x589494=_0x23df5e,_0x2d57e4=_0x5ab498[_0x20d00a];Object[_0x589494(0x16f)](_0x2d57e4)[_0x589494(0x2af)](_0x47e39f=>{const _0x15a556=_0x589494,_0x4d2512=_0x2d57e4[_0x47e39f];if(_0x4d2512){if(_0x1aef9b>=_0x1f4c4d)return;_0x1aef9b++;const _0x29a33b=this[_0x15a556(0x11a)](_0x45ef41),_0x47678a=_0x29a33b['collections'][_0x47e39f],_0x3eef2f=_0x47678a['getFieldIds']();let _0x329508=0x0;const _0x2745aa=[];for(const _0x903e82 of _0x3eef2f){const _0x2b14f0=_0x47678a[_0x15a556(0x31d)](_0x903e82);if(_0xe13129(_0x2b14f0)){const _0x335fd1=_0x2b14f0[_0x15a556(0x256)](),_0x591838=_0x47678a[_0x15a556(0x31d)](_0x335fd1);_0x591838&&_0x2745aa[_0x15a556(0x1fa)]([_0x2b14f0,_0x591838]);continue;}_0x29a33b['refreshDataField'](_0x903e82,_0x4d2512[_0x15a556(0x20b)],_0x329508),_0x329508++;}_0x2745aa[_0x15a556(0x2af)](([_0x36336c,_0x18b1a0])=>{const _0x14e771=_0x15a556;_0x36336c[_0x14e771(0x24f)](_0x18b1a0);});const _0x5a5709=new _0x37e502(_0x47678a);_0x5a5709[_0x15a556(0x210)](_0x4d2512[_0x15a556(0x31a)]),this[_0x15a556(0x292)](_0x45ef41,_0x20d00a,_0x47e39f,_0x5a5709,_0x4d2512);const _0x225d33=_0x5a5709[_0x15a556(0x390)]();_0x2a303b['push']({'unitId':_0x45ef41,'subUnitId':_0x20d00a,'pivotTableId':_0x47e39f,'view':_0x225d33[_0x15a556(0x298)](),'pivotConfig':_0x4d2512,'type':B[_0x15a556(0x366)]});const _0x2bd409=!!_0x5a5709[_0x15a556(0x166)](),_0x209258={'view':_0x225d33,'pivotTableId':_0x47e39f,'textInfo':this['getTextInfo'](),'isEmpty':_0x2bd409,'targetCellInfo':_0x4d2512['targetCellInfo']};this[_0x15a556(0x334)](_0x209258,!0x1);}});});});}_0x5dabb7&&Object[_0x869b1e(0x16f)](_0x5dabb7)[_0x869b1e(0x2af)](_0x2b4a54=>{const _0x7cac9e=_0x869b1e,_0x45a700=this[_0x7cac9e(0x11a)](_0x2b4a54);this[_0x7cac9e(0x312)]['next'](_0x45a700[_0x7cac9e(0x191)]);}),this['_commandService'][_0x869b1e(0x31f)](Dt['id'],{'batch':_0x2a303b,'collectionConfig':_0x5dabb7},{'onlyLocal':!0x0});}[_0x36bb8c(0x16e)](){const _0x5cbf66=_0x36bb8c;this[_0x5cbf66(0x245)](this[_0x5cbf66(0x164)][_0x5cbf66(0x20c)]({'toJson':_0x5ca9a0=>JSON[_0x5cbf66(0x2fc)](this[_0x5cbf66(0x298)](_0x5ca9a0)),'parseJson':_0x2fc9ae=>{const _0xd39a06=_0x5cbf66;if(!_0x2fc9ae)return{};try{return JSON[_0xd39a06(0x157)](_0x2fc9ae);}catch{return{};}},'businesses':[_0x4b7918[_0x5cbf66(0x2ea)]],'pluginName':ao,'onLoad':(_0x522ddc,_0x42117e)=>{const _0x4065f5=_0x5cbf66;this[_0x4065f5(0x210)](_0x42117e);},'onUnLoad':_0x5732fc=>{const _0x523e8f=_0x5cbf66;this[_0x523e8f(0x367)](_0x5732fc);}}));}};$=Oi([nt(0x0,_0x11f8dd(_0x28712a)),nt(0x1,_0x12f544),nt(0x2,_0x11f8dd(_0x28d7dc)),nt(0x3,_0x2e7974),nt(0x4,_0x11f8dd(_0x1f954e))],$);const Ai={0x0:{0x0:{'v':_0x36bb8c(0x1d2),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x36bb8c(0x327),'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':_0x36bb8c(0x237),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x36bb8c(0x1fc),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Wo=(_0x18b689,_0x3eb405)=>{const _0x508672=_0x36bb8c,_0x47bd82=new _0x828916(),_0x1cf4c9=new _0x828916(Ai),{row:_0x498aa6,col:_0x2f1df0}=_0x3eb405;_0x1cf4c9['forValue']((_0x205683,_0x4b0f03,_0x5a1977)=>{const _0x31fd99=_0x1ed5;let _0x165c06='';_0x5a1977['v']===_0x31fd99(0x1d2)?_0x165c06=_0x18b689[_0x31fd99(0x1d2)]:_0x5a1977['v']===_0x31fd99(0x237)?_0x165c06=_0x18b689['row']:_0x5a1977['v']===_0x31fd99(0x327)?_0x165c06=_0x18b689[_0x31fd99(0x327)]:_0x5a1977['v']===_0x31fd99(0x1fc)&&(_0x165c06=_0x18b689['values']),_0x47bd82[_0x31fd99(0x162)](_0x205683+_0x498aa6,_0x4b0f03+_0x2f1df0,{..._0x5a1977,'v':_0x165c06});});const _0x3c880b=_0xf00f3[_0x508672(0x2ff)](Lt);return Object[_0x508672(0x16f)](Lt)[_0x508672(0x2af)](_0xf06931=>{const _0x18a2df=_0x508672;_0x3c880b[_0xf06931]=Lt[_0xf06931][_0x18a2df(0x392)](_0x5b983d=>({..._0x5b983d,'startRow':_0x5b983d[_0x18a2df(0x28d)]+_0x498aa6,'endRow':_0x5b983d[_0x18a2df(0x321)]+_0x498aa6,'startColumn':_0x5b983d['startColumn']+_0x2f1df0,'endColumn':_0x5b983d[_0x18a2df(0x130)]+_0x2f1df0}));}),{'matrixCache':_0x47bd82,'rangesCache':_0x3c880b};};function xi(_0x25ffae,_0x1111d8){const _0x28da14=_0x36bb8c;let _0x131348='';const _0x424cf3=this[_0x28da14(0x1cf)]();switch(_0x1111d8){case _0x253e12[_0x28da14(0x305)]:_0x131348=_0x424cf3[_0x28da14(0x2f1)]+_0x25ffae;break;case _0x253e12[_0x28da14(0x195)]:_0x131348=_0x424cf3[_0x28da14(0x381)]+_0x25ffae;break;case _0x253e12[_0x28da14(0x185)]:_0x131348=_0x424cf3[_0x28da14(0x132)]+_0x25ffae;break;case _0x253e12[_0x28da14(0x1bd)]:_0x131348=_0x424cf3['sheets-pivot.maxName']+_0x25ffae;break;case _0x253e12[_0x28da14(0x149)]:_0x131348=_0x424cf3['sheets-pivot.minName']+_0x25ffae;break;case _0x253e12[_0x28da14(0x197)]:_0x131348=_0x424cf3['sheets-pivot.productName']+_0x25ffae;break;case _0x253e12['stdDev']:_0x131348=_0x424cf3[_0x28da14(0x1ff)]+_0x25ffae;break;case _0x253e12[_0x28da14(0x19f)]:_0x131348=_0x424cf3[_0x28da14(0x2da)]+_0x25ffae;break;case _0x253e12[_0x28da14(0x1d0)]:_0x131348=_0x424cf3[_0x28da14(0x213)]+_0x25ffae;break;case _0x253e12[_0x28da14(0x16d)]:_0x131348=_0x424cf3[_0x28da14(0x1a6)]+_0x25ffae;break;case _0x253e12[_0x28da14(0x294)]:_0x131348=_0x424cf3['sheets-pivot.varpName']+_0x25ffae;break;default:_0x131348=_0x25ffae;break;}return _0x131348;}function ki(_0x2abe65,_0x2f6a27,_0xce46ed,_0x582b95,_0x399a0a){const _0x1ca8f7=_0x36bb8c;var _0x2b0b85,_0x2ed231,_0x5862d6,_0x4b9a93,_0x54ac1f;const _0x4c7ed8=_0x167aa6(_0x2abe65,_0x2f6a27),{rangesInfo:_0x264079,areaInfo:_0x194443,headerMap:_0x4a933b}=_0x399a0a;if(!_0x264079||!_0x194443||!_0x4a933b)return;const _0x302316=Object[_0x1ca8f7(0x16f)](_0x264079)[_0x1ca8f7(0x2b8)](_0x569a1c=>_0x264079[_0x569a1c][_0x1ca8f7(0x385)](_0x40249d=>_0x275ba3[_0x1ca8f7(0x1ec)](_0x40249d,_0x4c7ed8))),_0x5f3ddc=_0x194443;let _0x115cbb,_0x4cf66c,_0x3de6c7;if(_0x302316==='rowRanges')_0x115cbb=(_0x2b0b85=_0x5f3ddc==null?void 0x0:_0x5f3ddc['rowInfo'])==null?void 0x0:_0x2b0b85[_0x2abe65],_0x4cf66c=(_0x2ed231=_0x4a933b==null?void 0x0:_0x4a933b[_0x1ca8f7(0x1e0)])==null?void 0x0:_0x2ed231[_0x2f6a27],_0x3de6c7=_0x4cf66c==null?void 0x0:_0x4cf66c[_0x1ca8f7(0x11f)];else{if(_0x302316===_0x1ca8f7(0x30b))_0x115cbb=(_0x5862d6=_0x5f3ddc==null?void 0x0:_0x5f3ddc[_0x1ca8f7(0x32d)])==null?void 0x0:_0x5862d6[_0x2f6a27],_0x4cf66c=(_0x4b9a93=_0x4a933b[_0x1ca8f7(0x15c)])==null?void 0x0:_0x4b9a93[_0x2abe65+0x1+_0x2f6a27-_0x264079[_0x1ca8f7(0x30b)][0x0][_0x1ca8f7(0x328)]],_0x3de6c7=_0x4cf66c==null?void 0x0:_0x4cf66c[_0x1ca8f7(0x11f)];else{if(_0x302316==='cornerRanges')_0x115cbb=(_0x54ac1f=_0x5f3ddc==null?void 0x0:_0x5f3ddc[_0x1ca8f7(0x155)])==null?void 0x0:_0x54ac1f[_0x2f6a27],_0x3de6c7=_0x115cbb==null?void 0x0:_0x115cbb[_0x1ca8f7(0x11f)];else{if(_0x302316==='pageRanges'){const _0x46435f=_0xce46ed==null?void 0x0:_0xce46ed['fi'];_0x46435f!==void 0x0&&(_0x3de6c7=_0x582b95[_0x1ca8f7(0x21a)](_0x46435f));}}}}return{'filterId':_0x3de6c7,'info':_0x115cbb,'data':_0xce46ed,'headerInfo':_0x4cf66c};}function Ji(_0x38fa43,_0x988343,_0x3a7252){const _0x555ec7=_0x36bb8c,_0x5c303d=_0x38fa43[_0x555ec7(0x1e1)],_0x421423=_0x5c303d['getFieldIds'](),_0x5e5f4c=new Set();_0x38fa43[_0x555ec7(0x1fd)](_0x387b56=>{const _0x44700d=_0x555ec7;_0x5e5f4c[_0x44700d(0x336)](_0x387b56['dataFieldId']);});const _0x167b13=_0x421423['map'](_0x36a98f=>{const _0x282d8c=_0x555ec7,_0x52ad50=_0x5c303d[_0x282d8c(0x31d)](_0x36a98f);return{'checked':_0x5e5f4c[_0x282d8c(0x33c)](_0x36a98f),'dataFieldId':_0x52ad50['id'],'id':_0x52ad50['id'],'name':_0x5c303d['getDisplayName'](_0x52ad50['id']),'type':_0x52ad50['getFieldDataType'](),'pivotTableId':_0x988343};}),_0x6d04cb=[];_0x38fa43[_0x555ec7(0x214)](_0x4c5dc9[_0x555ec7(0x28b)],_0x4eafb7=>{const _0x1f82d9=_0x555ec7;_0x6d04cb['push']({'dataFieldId':_0x4eafb7[_0x1f82d9(0x342)],'tableFieldId':_0x4eafb7[_0x1f82d9(0x2cf)](),'displayName':_0x4eafb7[_0x1f82d9(0x263)]()});});const _0x4684ab=[];_0x38fa43['iterateFieldByArea'](_0x4c5dc9[_0x555ec7(0x1f9)],_0xefbc99=>{const _0x154dd9=_0x555ec7;_0x4684ab[_0x154dd9(0x1fa)]({'dataFieldId':_0xefbc99[_0x154dd9(0x342)],'tableFieldId':_0xefbc99['getId'](),'displayName':_0xefbc99[_0x154dd9(0x263)]()});});const _0x447d9e=[];if(_0x38fa43[_0x555ec7(0x214)](_0x4c5dc9[_0x555ec7(0x349)],_0x2c1572=>{const _0x540f1a=_0x555ec7;_0x447d9e[_0x540f1a(0x1fa)]({'dataFieldId':_0x2c1572[_0x540f1a(0x342)],'tableFieldId':_0x2c1572[_0x540f1a(0x2cf)](),'displayName':_0x2c1572[_0x540f1a(0x263)](),'format':_0x2c1572[_0x540f1a(0x1b1)](),'subTotalType':_0x2c1572[_0x540f1a(0x370)]()});}),_0x447d9e[_0x555ec7(0x32f)]>0x1){const _0x9bba0d=_0x38fa43[_0x555ec7(0x22c)]();(_0x38fa43[_0x555ec7(0x203)]()?_0x4684ab:_0x6d04cb)[_0x555ec7(0x216)](_0x9bba0d,0x0,{'dataFieldId':'','tableFieldId':_0x555ec7(0x1d7),'displayName':_0x555ec7(0x220)});}const _0x315b09=[];_0x38fa43['iterateFieldByArea'](_0x4c5dc9[_0x555ec7(0x1f2)],_0xe75b3c=>{const _0x1e24dd=_0x555ec7;_0x315b09[_0x1e24dd(0x1fa)]({'dataFieldId':_0xe75b3c['dataFieldId'],'tableFieldId':_0xe75b3c[_0x1e24dd(0x2cf)](),'displayName':_0xe75b3c['getDisplayName']()});});const _0x128c4d=_0x3a7252['sourceRangeInfo'];return{'sourceList':_0x167b13,'sourceRange':_0x128c4d,'rowFields':_0x6d04cb,'columnFields':_0x4684ab,'valueFields':_0x447d9e,'filterFields':_0x315b09,'positionInfo':_0x3a7252[_0x555ec7(0x17c)]};}function fo(_0x1fa4de,_0x36a452,_0x12d10a='',_0x26cc99={}){const _0x1dd590=_0x36bb8c,_0xc94c12=_0x1fa4de[_0x1dd590(0x140)](_0x23e253);for(const _0x4be62e in _0x36a452)if(Object['prototype'][_0x1dd590(0x21d)][_0x1dd590(0x1d5)](_0x36a452,_0x4be62e)){const _0x4593d2=_0x12d10a?_0x12d10a+'.'+_0x4be62e:_0x4be62e;typeof _0x36a452[_0x4be62e]=='object'&&_0x36a452[_0x4be62e]!==null&&!Array[_0x1dd590(0x337)](_0x36a452[_0x4be62e])?fo(_0x1fa4de,_0x36a452[_0x4be62e],_0x4593d2,_0x26cc99):_0x26cc99[_0x4593d2]=_0xc94c12['t'](_0x4593d2);}return _0x26cc99;}const Bt=_0x3a5db2=>{const _0x199c9e=_0x36bb8c;if(!_0x3a5db2)return[];const {rowRanges:_0xf928b7,colRanges:_0x1879de,cornerRanges:_0x4d1ff6,dataRanges:_0x372221,pageRanges:_0x31191a}=_0x3a5db2,_0x15fe7f=[..._0x1879de,..._0xf928b7,..._0x372221,..._0x4d1ff6]['filter'](_0xedd53=>_0xedd53['startRow']>=0x0&&_0xedd53[_0x199c9e(0x328)]>=0x0&&_0xedd53['endRow']>=0x0&&_0xedd53[_0x199c9e(0x130)]>=0x0);let _0x954233=Number[_0x199c9e(0x34b)],_0x1fa075=Number[_0x199c9e(0x2d7)],_0xdf13d9=Number[_0x199c9e(0x34b)],_0x3305be=Number[_0x199c9e(0x2d7)];for(let _0x37575f=0x0;_0x37575f<_0x15fe7f[_0x199c9e(0x32f)];_0x37575f++)_0x954233=Math[_0x199c9e(0x149)](_0x954233,_0x15fe7f[_0x37575f]['startRow']),_0x1fa075=Math[_0x199c9e(0x1bd)](_0x1fa075,_0x15fe7f[_0x37575f][_0x199c9e(0x321)]),_0xdf13d9=Math['min'](_0xdf13d9,_0x15fe7f[_0x37575f][_0x199c9e(0x328)]),_0x3305be=Math[_0x199c9e(0x1bd)](_0x3305be,_0x15fe7f[_0x37575f]['endColumn']);return[..._0x31191a,{'startRow':_0x954233,'endRow':_0x1fa075,'startColumn':_0xdf13d9,'endColumn':_0x3305be}];};function Li(_0x5cee90,_0x171159){const _0x4bfd25=_0x36bb8c,_0x325abf=_0x171159[_0x4bfd25(0x326)][_0x4bfd25(0x2ce)],{pivotTableId:_0x185f22,unitId:_0xc135b,subUnitId:_0x1a5830}=_0x171159;if(!_0x325abf)return;const _0x5d0157=_0x5cee90[_0x4bfd25(0x140)]($),_0x503ead=_0x5d0157['getPivotTableInstance'](_0x185f22),_0x4561c5=_0x5d0157[_0x4bfd25(0x1f0)](_0xc135b,_0x1a5830,_0x185f22);if(!_0x503ead||!_0x4561c5)return;const _0x5569d2=_0x503ead[_0x4bfd25(0x186)](_0x325abf[_0x4bfd25(0x13e)]);if(!(_0x5569d2!=null&&_0x5569d2[_0x4bfd25(0x32f)]))return;const _0x22a7f1=_0x4561c5[_0x4bfd25(0x20b)],{unitId:_0x4b8cc1,subUnitId:_0x59f5f8,range:_0x5de907}=_0x22a7f1;let _0x252faa=0x0;const _0x276b11=_0x503ead['dataFieldsCollection'][_0x4bfd25(0x346)]()[_0x4bfd25(0x302)]((_0x40253b,_0x100867)=>{const _0x4d2d55=_0x4bfd25;var _0x2117fa;const _0x30e766=(_0x2117fa=_0x503ead[_0x4d2d55(0x15d)](_0x100867))==null?void 0x0:_0x2117fa[_0x4d2d55(0x1d4)]();return _0x30e766&&(_0x40253b[String(_0x252faa)]=_0x30e766),_0x252faa++,_0x40253b;},{});return{'indexes':_0x5569d2,'range':_0x5de907,'sourceUnitId':_0x4b8cc1,'sourceSubUnitId':_0x59f5f8,'formatMap':_0x276b11};}function jo(_0x5539c1,_0x28efe5){const _0x1fad63=_0x36bb8c;if(!_0x5539c1||!_0x28efe5)return!0x0;const _0x346269=_0x113100(Go,Zo),_0x37ff51=new Function(_0x1fad63(0x310)+_0x346269)()(_0x5539c1,_0x28efe5)[_0x1fad63(0x2d1)],_0x5f0c1c=_0x98ca3a(_0x37ff51,'sf',ko);return!((_0x37ff51==null?void 0x0:_0x37ff51['rt'])===_0xf9fb02['NO_COMMERCIAL']&&!_0x5f0c1c);}function go(_0x3387e8,_0x5101ac,_0x48c170){const _0x60adb3=_0x36bb8c,_0xe17f42={'count':_0x3387e8,'timeValid':!0x1};if(!_0x5101ac||!_0x48c170)return _0xe17f42;const _0x202ea9=_0x113100(Go,Zo),_0x3a6d75=new Function(_0x60adb3(0x310)+_0x202ea9)()(_0x5101ac,_0x48c170);if(_0x3a6d75!=null&&_0x3a6d75[_0x60adb3(0x14d)]){const _0x38a34a=_0x3a6d75[_0x60adb3(0x2d1)],_0x395399=_0x98ca3a(_0x38a34a,'sf',ko);return{'count':_0x57fc61(_0x38a34a,_0x395399,_0x60adb3(0x17d),_0x3387e8,_0x3387e8,0x0),'timeValid':_0x395399};}return _0xe17f42;}function Ko(_0x3cb5f2,_0x2e20fc,_0x19b9e6,_0x20954a){const _0x33ff19=_0x36bb8c,_0x235662={'subUnitId':_0x19b9e6,'unitId':_0x2e20fc,'cellValue':_0x6130cf(_0x20954a)},_0x303014=_0x31d22c(_0x3cb5f2,_0x235662);let _0x17fc45=!0x1;return new _0x828916(_0x303014[_0x33ff19(0x161)])[_0x33ff19(0x2ee)]((_0x3447da,_0x14662f,_0x1e13f1)=>{const _0xaf6507=_0x33ff19;if(!_0x17fc45&&_0x1e13f1&&(_0x1e13f1[_0xaf6507(0x39b)]||_0x1e13f1['f']||_0x1e13f1['p']||_0x1e13f1['s']||_0x1e13f1['si']||_0x1e13f1['t']||_0x1e13f1['v']))return _0x17fc45=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x484698['id'],'params':_0x303014},'setRangeValueRedoMutation':{'id':_0x484698['id'],'params':_0x235662},'shouldClear':_0x17fc45};}function Bi(_0x5b9f57){const {row:_0x1f29eb,col:_0x43ee38}=_0x5b9f57,_0x50730b={'startRow':_0x1f29eb,'endRow':_0x1f29eb,'startColumn':_0x43ee38,'endColumn':_0x43ee38},_0x41ab73={'startRow':_0x1f29eb+0x2,'endRow':_0x1f29eb+0xe,'startColumn':_0x43ee38,'endColumn':_0x43ee38+0x6};return[_0x50730b,_0x41ab73];}function $i(_0x2349f9,_0x42269e,_0x318180){const _0x5e8e5f=_0x36bb8c,{cornerView:_0x5f10f6,rowView:_0x2a2d1d,colView:_0xf772a3,pageView:_0x3868ce}=_0x2349f9,{row:_0x274666,col:_0x2e0afc}=_0x42269e;if(_0x318180)return{'rowCount':bi+_0x274666,'colCount':Ti+_0x2e0afc};const _0x50b471=_0x3868ce[_0x5e8e5f(0x2a6)]>-0x1?_0x3868ce[_0x5e8e5f(0x2a6)]+0x1:0x0,_0xa3a902=_0x3868ce[_0x5e8e5f(0x31e)]>-0x1?_0x3868ce[_0x5e8e5f(0x31e)]:0x0,_0xeeb6d7=_0x274666+_0x50b471+(_0x50b471?0x1:0x0)+_0x5f10f6[_0x5e8e5f(0x2e3)]+_0x2a2d1d[_0x5e8e5f(0x2e3)],_0x4cd90d=_0x2e0afc+_0xa3a902,_0x4785a2=_0x2e0afc+_0x5f10f6['colCount']+_0xf772a3['colCount'],_0x4c8206=Math[_0x5e8e5f(0x1bd)](_0x4cd90d,_0x4785a2);return{'rowCount':_0xeeb6d7,'colCount':_0x4c8206};}function Me(_0x2cf813,_0x102b9f,_0x34cd6a,_0x5286d1){const _0x28779c=_0x36bb8c,{row:_0x1187db,col:_0x4804f9,unitId:_0x12b6c1,subUnitId:_0x4027c4}=_0x34cd6a,_0x29c794=$i(_0x102b9f,{'row':_0x1187db,'col':_0x4804f9},_0x5286d1),_0x279315=_0x2cf813[_0x28779c(0x140)](_0x12f544),_0x4fcd0b=_0x4c89c6(_0x279315,{'unitId':_0x12b6c1,'subUnitId':_0x4027c4}),_0x237a91=[],_0x1d9433=[];if(!_0x4fcd0b)return{'undos':_0x1d9433,'redos':_0x237a91};const {worksheet:_0x10f640}=_0x4fcd0b,_0x56b29f=_0x10f640[_0x28779c(0x37f)](),_0x588d50=_0x10f640[_0x28779c(0x200)]();return _0x56b29f<_0x29c794[_0x28779c(0x2e3)]&&(_0x237a91[_0x28779c(0x1fa)]({'id':_0x261b1c['id'],'params':{'unitId':_0x12b6c1,'subUnitId':_0x4027c4,'range':{'startRow':_0x56b29f,'endRow':_0x29c794[_0x28779c(0x2e3)]-0x1,'startColumn':0x0,'endColumn':_0x588d50-0x1}}}),_0x1d9433[_0x28779c(0x1fa)]({'id':_0x4514fd['id'],'params':{'unitId':_0x12b6c1,'subUnitId':_0x4027c4,'range':{'startRow':_0x56b29f,'endRow':_0x29c794[_0x28779c(0x2e3)]-0x1,'startColumn':0x0,'endColumn':_0x588d50-0x1}}})),_0x588d50<_0x29c794[_0x28779c(0x20e)]&&(_0x237a91[_0x28779c(0x1fa)]({'id':_0x5a46e3['id'],'params':{'unitId':_0x12b6c1,'subUnitId':_0x4027c4,'range':{'startRow':0x0,'endRow':_0x56b29f-0x1,'startColumn':_0x588d50,'endColumn':_0x29c794['colCount']-0x1}}}),_0x1d9433['push']({'id':_0x349fe4['id'],'params':{'unitId':_0x12b6c1,'subUnitId':_0x4027c4,'range':{'startRow':0x0,'endRow':_0x56b29f-0x1,'startColumn':_0x588d50,'endColumn':_0x29c794[_0x28779c(0x20e)]-0x1}}})),{'undos':_0x1d9433,'redos':_0x237a91};}function Zi(_0x45e21f){const _0x2d42ad=_0x36bb8c;let _0x5f71=0x0;for(let _0x577a4e=0x0;_0x577a4e<_0x45e21f[_0x2d42ad(0x32f)];_0x577a4e++){const _0x46df88=_0x45e21f[_0x2d42ad(0x2c8)](_0x577a4e);_0x46df88>=0x4e00&&_0x46df88<=0x9fff||_0x46df88>=0x3000&&_0x46df88<=0x303f||_0x46df88>=0xff00&&_0x46df88<=0xffef?_0x5f71+=0x2:_0x5f71+=0x1;}return _0x5f71;}function Po(_0x52d647,_0x42cb0f,_0x4e7641,_0x298a85){const _0x5aad63=_0x36bb8c;var _0x549602,_0x204b0a,_0x778c29,_0x5d77bd;const {rowCount:_0x4c3464,colCount:_0x192160,headerMap:_0x5d0f11}=_0x52d647,_0x59062e=0x64,_0x11fb47=Math[_0x5aad63(0x149)](_0x4c3464,_0x59062e),_0x5647a7=Math[_0x5aad63(0x149)](_0x192160,_0x59062e);let _0x133cd4='',_0x29ec0e=0x0;for(let _0xc5db86=0x0;_0xc5db86<_0x11fb47;_0xc5db86++)for(let _0x1f7202=0x0;_0x1f7202<_0x5647a7;_0x1f7202++){const _0x86dd61={...(_0x204b0a=(_0x549602=_0x52d647['data'])==null?void 0x0:_0x549602[_0xc5db86])==null?void 0x0:_0x204b0a[_0x1f7202]},_0x5199ce=(_0x778c29=_0x5d0f11[_0xc5db86])==null?void 0x0:_0x778c29[_0x5aad63(0x11f)],_0x1de6f0=_0x298a85[_0x5199ce];let _0x45604d=_0x52d647[_0x5aad63(0x138)](_0xc5db86,_0x1f7202);if(_0x86dd61){const _0x21c8f9=_0x4e7641?_0x1f7202===0x0&&((_0x5d77bd=_0x52d647[_0x5aad63(0x316)](_0x1f7202+0x1))==null?void 0x0:_0x5d77bd[_0x5aad63(0x2f7)]):!0x1;_0x45604d=vt(_0x86dd61,_0x21c8f9,_0x1de6f0,_0x42cb0f);}if(_0x45604d!==void 0x0){const _0x2f092a=Zi(String(_0x45604d));_0x29ec0e<_0x2f092a&&(_0x133cd4=String(_0x45604d),_0x29ec0e=_0x2f092a);}}return _0x133cd4;}function Gi(_0x1b63a4){const _0x2240d6=_0x36bb8c,{rowCount:_0x568dd0,colCount:_0x3505e1}=_0x1b63a4;let _0x18a134='',_0x49c351=0x0;for(let _0x12ccd4=_0x568dd0-0x1;_0x12ccd4>0x0&&_0x12ccd4>_0x568dd0-0x3;_0x12ccd4--)for(let _0x1dc144=0x0;_0x1dc144<_0x3505e1;_0x1dc144++){const _0x2c4eef=_0x1b63a4[_0x2240d6(0x138)](_0x12ccd4,_0x1dc144);if(_0x2c4eef!==void 0x0){const _0x3ad404=String(_0x2c4eef)[_0x2240d6(0x32f)];_0x49c351<_0x3ad404&&(_0x18a134=String(_0x2c4eef),_0x49c351=_0x3ad404);}}return _0x18a134;}function Wi(_0x5182f5){const _0x523d42=_0x36bb8c,{rowCount:_0x373bb7,colCount:_0x25530d}=_0x5182f5;let _0x1c4379='',_0xb46ea0=0x0;for(let _0x4a7a14=0x0;_0x4a7a14<_0x373bb7;_0x4a7a14++)for(let _0x4382fb=0x0;_0x4382fb<_0x25530d;_0x4382fb++){const _0x2a2118=_0x5182f5[_0x523d42(0x138)](_0x4a7a14,_0x4382fb);if(_0x2a2118!==void 0x0){const _0x2312f8=String(_0x2a2118)[_0x523d42(0x32f)];_0xb46ea0<_0x2312f8&&(_0x1c4379=String(_0x2a2118),_0xb46ea0=_0x2312f8);}}return _0x1c4379;}function ji(_0x5a992b,_0x208e92){const _0x80396b=_0x36bb8c,{rowFields:_0x5827b1,columnFields:_0x34abb2,valueFields:_0x55f6ea,filterFields:_0x322878,dimension:_0x1298aa,measure:_0x4c9ea4}=_0x208e92;for(const _0x308ee2 of _0x5827b1){const _0x1258fb=_0x1298aa[_0x308ee2];_0x1258fb&&_0x5a992b[_0x80396b(0x15d)](_0x1258fb['dataFieldId'])&&(_0x5a992b[_0x80396b(0x1ea)](_0x1258fb['dataFieldId'],_0x4c5dc9['Row'],void 0x0,_0x308ee2),_0x1258fb['displayName']&&_0x5a992b[_0x80396b(0x2d4)](_0x1258fb['id'],_0x1258fb[_0x80396b(0x1ca)]),_0x1258fb[_0x80396b(0x317)]&&_0x5a992b[_0x80396b(0x17b)](_0x1258fb['id'],_0x1258fb[_0x80396b(0x317)]),_0x1258fb[_0x80396b(0x143)]&&_0x5a992b[_0x80396b(0x23a)](_0x1258fb['id'],_0x1258fb['filterInfo']));}for(const _0x512ce3 of _0x34abb2){const _0x1f4ea6=_0x1298aa[_0x512ce3];_0x1f4ea6&&_0x5a992b[_0x80396b(0x15d)](_0x1f4ea6[_0x80396b(0x342)])&&(_0x5a992b[_0x80396b(0x1ea)](_0x1f4ea6['dataFieldId'],_0x4c5dc9[_0x80396b(0x1f9)],void 0x0,_0x512ce3),_0x1f4ea6[_0x80396b(0x317)]&&_0x5a992b[_0x80396b(0x17b)](_0x1f4ea6['id'],_0x1f4ea6[_0x80396b(0x317)]),_0x1f4ea6[_0x80396b(0x143)]&&_0x5a992b['setLabelFilterInfo'](_0x1f4ea6['id'],_0x1f4ea6[_0x80396b(0x143)]),_0x1f4ea6['displayName']&&_0x5a992b[_0x80396b(0x2d4)](_0x1f4ea6['id'],_0x1f4ea6['displayName']));}for(const _0x229a9d of _0x322878){const _0x3e343f=_0x1298aa[_0x229a9d];_0x3e343f&&_0x5a992b[_0x80396b(0x15d)](_0x3e343f[_0x80396b(0x342)])&&(_0x5a992b['addFieldWithSourceId'](_0x3e343f['dataFieldId'],_0x4c5dc9[_0x80396b(0x1f2)],void 0x0,_0x229a9d),_0x3e343f['sortInfo']&&_0x5a992b[_0x80396b(0x17b)](_0x3e343f['id'],_0x3e343f[_0x80396b(0x317)]),_0x3e343f[_0x80396b(0x143)]&&_0x5a992b[_0x80396b(0x23a)](_0x3e343f['id'],_0x3e343f[_0x80396b(0x143)]),_0x3e343f['displayName']&&_0x5a992b[_0x80396b(0x2d4)](_0x3e343f['id'],_0x3e343f[_0x80396b(0x1ca)]));}for(const _0x58bfc7 of _0x55f6ea){const _0x5cee6d=_0x4c9ea4[_0x58bfc7];_0x5cee6d&&_0x5a992b[_0x80396b(0x15d)](_0x5cee6d['dataFieldId'])&&(_0x5a992b['addFieldWithSourceId'](_0x5cee6d[_0x80396b(0x342)],_0x4c5dc9[_0x80396b(0x349)],void 0x0,_0x58bfc7),_0x5cee6d[_0x80396b(0x1cd)]!==void 0x0&&_0x5a992b[_0x80396b(0x139)](_0x58bfc7,_0x5cee6d[_0x80396b(0x1cd)]),_0x5cee6d[_0x80396b(0x2cd)]&&_0x5a992b[_0x80396b(0x1d9)](_0x58bfc7,_0x5cee6d['format']),_0x5cee6d[_0x80396b(0x1ca)]&&_0x5a992b[_0x80396b(0x2d4)](_0x5cee6d['id'],_0x5cee6d[_0x80396b(0x1ca)]));}const _0x207ad0=_0x208e92['valueFilter'];for(const {fieldId:_0x59f3e6,filterInfo:_0x54ab31}of _0x207ad0)_0x5a992b[_0x80396b(0x29d)](_0x59f3e6,_0x54ab31);}function Ki(_0x2b66c1,_0x2e7916){const _0x4c85c9=_0x36bb8c,_0x20c05d=[];_0x2e7916===_0x4c5dc9['Row']&&_0x2b66c1['iterateFieldByArea'](_0x4c5dc9[_0x4c85c9(0x28b)],_0x4155c3=>{const _0x33999e=_0x4c85c9;_0x20c05d[_0x33999e(0x1fa)](_0x4155c3[_0x33999e(0x2cf)]());}),_0x2e7916===_0x4c5dc9[_0x4c85c9(0x1f9)]&&_0x2b66c1['iterateFieldByArea'](_0x4c5dc9[_0x4c85c9(0x1f9)],_0x13e414=>{const _0x234570=_0x4c85c9;_0x20c05d[_0x234570(0x1fa)](_0x13e414[_0x234570(0x2cf)]());}),_0x2e7916===_0x4c5dc9[_0x4c85c9(0x1f2)]&&_0x2b66c1['iterateFieldByArea'](_0x4c5dc9['Filter'],_0x9d4155=>{const _0x59afb9=_0x4c85c9;_0x20c05d[_0x59afb9(0x1fa)](_0x9d4155[_0x59afb9(0x2cf)]());}),_0x2e7916===_0x4c5dc9[_0x4c85c9(0x349)]&&_0x2b66c1['iterateFieldByArea'](_0x4c5dc9[_0x4c85c9(0x349)],_0x3d9c4c=>{const _0x1053af=_0x4c85c9;_0x20c05d['push'](_0x3d9c4c[_0x1053af(0x2cf)]());}),_0x2e7916===void 0x0&&_0x2b66c1[_0x4c85c9(0x1fd)](_0x5ca074=>{const _0x1cad22=_0x4c85c9;_0x20c05d[_0x1cad22(0x1fa)](_0x5ca074[_0x1cad22(0x2cf)]());});const _0x4d72d8=_0x20c05d[_0x4c85c9(0x32f)];for(let _0x5072f0=_0x4d72d8-0x1;_0x5072f0>=0x0;_0x5072f0--)_0x2b66c1[_0x4c85c9(0x360)](_0x20c05d[_0x5072f0]);const _0x353e0f=_0x2b66c1[_0x4c85c9(0x318)]();for(const _0x3448ec in _0x353e0f)_0x2b66c1[_0x4c85c9(0x193)](_0x3448ec);}function Hi(_0x2dbda9,_0x193570){const _0x3b2341=_0x36bb8c,_0x139df5=new Date(_0x386a9f(_0x193570)),_0x5462b5=new Date(_0x386a9f(_0x2dbda9)),_0x4c601b=_0x139df5[_0x3b2341(0x2dc)](),_0x468e1f=_0x5462b5['getFullYear'](),_0x2fd8b7=_0x139df5[_0x3b2341(0x1be)](),_0x524952=_0x5462b5[_0x3b2341(0x1be)](),_0x31703d=_0x139df5['getDate'](),_0xf2554a=_0x5462b5['getDate'](),_0x5b94e1=_0x4c601b===_0x468e1f,_0xfbd8ae=_0x5b94e1&&_0x2fd8b7===_0x524952;return _0x5b94e1&&_0xfbd8ae&&!(_0xfbd8ae&&_0x31703d===_0xf2554a)?_0x1fa0d4[_0x3b2341(0x11e)]:_0x5b94e1&&!_0xfbd8ae?_0x1fa0d4[_0x3b2341(0x153)]:_0x1fa0d4['Year'];}function Ho(_0x4e402d,_0x5b9b9d){const _0x1fe4ce=_0x36bb8c,_0x10e2f6=_0x4e402d[_0x1fe4ce(0x140)]($)[_0x1fe4ce(0x1cf)]();let _0x3837a3='';switch(_0x5b9b9d){case _0x1fa0d4[_0x1fe4ce(0x11e)]:_0x3837a3=_0x10e2f6[_0x1fe4ce(0x2fa)];break;case _0x1fa0d4['YearMonth']:_0x3837a3=_0x10e2f6[_0x1fe4ce(0x276)];break;case _0x1fa0d4['Year']:_0x3837a3=_0x10e2f6['sheets-pivot.dateGroup.year'];break;case _0x1fa0d4[_0x1fe4ce(0x13b)]:_0x3837a3=_0x10e2f6[_0x1fe4ce(0x254)];break;case _0x1fa0d4[_0x1fe4ce(0x2de)]:_0x3837a3=_0x10e2f6['sheets-pivot.dateGroup.quarter'];break;case _0x1fa0d4[_0x1fe4ce(0x1e4)]:_0x3837a3=_0x10e2f6['sheets-pivot.dateGroup.date'];break;case _0x1fa0d4[_0x1fe4ce(0x17a)]:_0x3837a3=_0x10e2f6[_0x1fe4ce(0x12c)];break;case _0x1fa0d4[_0x1fe4ce(0x34f)]:_0x3837a3=_0x10e2f6[_0x1fe4ce(0x2b0)];break;case _0x1fa0d4[_0x1fe4ce(0x150)]:_0x3837a3=_0x10e2f6['sheets-pivot.dateGroup.minute'];break;case _0x1fa0d4[_0x1fe4ce(0x1ef)]:_0x3837a3=_0x10e2f6['sheets-pivot.dateGroup.monthDate'];break;case _0x1fa0d4[_0x1fe4ce(0x228)]:_0x3837a3=_0x10e2f6['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x3837a3='';break;}return _0x3837a3;}const qo='sheets-pivot.config',wo={};var qi=Object[_0x36bb8c(0x15a)],Xi=(_0x5d1ee9,_0x30a4dd,_0xb68b7e,_0x22d97f)=>{const _0x321c5f=_0x36bb8c;for(var _0x281a1c=_0x22d97f>0x1?void 0x0:_0x22d97f?qi(_0x30a4dd,_0xb68b7e):_0x30a4dd,_0x1d50e1=_0x5d1ee9[_0x321c5f(0x32f)]-0x1,_0x207a34;_0x1d50e1>=0x0;_0x1d50e1--)(_0x207a34=_0x5d1ee9[_0x1d50e1])&&(_0x281a1c=_0x207a34(_0x281a1c)||_0x281a1c);return _0x281a1c;},it=(_0x2c5cfd,_0x45331c)=>(_0x5c41ee,_0x43a5ed)=>_0x45331c(_0x5c41ee,_0x43a5ed,_0x2c5cfd);let ve=class extends _0x441d3c{constructor(_0x21b4b4,_0xe99e2f,_0x1f4dc1,_0xf6ed14,_0x25379e){const _0x11f26d=_0x36bb8c;super(),V(this,'_model',new Map()),V(this,_0x11f26d(0x291),new Map()),V(this,'_pivotTableRangeInfo',new Map()),V(this,_0x11f26d(0x319),new Map()),V(this,_0x11f26d(0x365),new _0x3e9977()),V(this,_0x11f26d(0x34a),new _0x3e9977()),V(this,'pivotInitCompleted$',this[_0x11f26d(0x34a)][_0x11f26d(0x248)]()),V(this,'_pivotConfigChange$',new _0x3e9977()),V(this,'pivotConfigChange$',this[_0x11f26d(0x1e7)]['asObservable']()),V(this,_0x11f26d(0x38a),{}),V(this,'configVersion$',this[_0x11f26d(0x365)][_0x11f26d(0x248)]()),(this[_0x11f26d(0x2f4)]=_0x21b4b4,this['_commandService']=_0xe99e2f,this['_univerInstanceService']=_0x1f4dc1,this[_0x11f26d(0x164)]=_0xf6ed14,this['_configService']=_0x25379e,this['_initLocale'](),this[_0x11f26d(0x2aa)]());const _0x4a45bb=this['_configService'][_0x11f26d(0x118)](qo);(_0x4a45bb==null?void 0x0:_0x4a45bb[_0x11f26d(0x306)])===!0x0&&this['_initSnapshot']();}[_0x36bb8c(0x2aa)](){const _0x423f29=_0x36bb8c;this['disposeWithMe'](this[_0x423f29(0x32c)][_0x423f29(0x126)](_0x4b7918[_0x423f29(0x2ea)])[_0x423f29(0x208)](_0x2503ff=>{const _0x3c6a4f=_0x423f29;this[_0x3c6a4f(0x367)](_0x2503ff[_0x3c6a4f(0x135)]());}));}[_0x36bb8c(0x1eb)](){const _0x41fdd6=_0x36bb8c;this[_0x41fdd6(0x34a)]['next'](!0x0);}[_0x36bb8c(0x356)](){const _0x560ae3=_0x36bb8c,_0x47d4a5=fo(this[_0x560ae3(0x2f4)],Lo,'',{});this['_textInfo']=_0x47d4a5,this[_0x560ae3(0x2ef)]['executeCommand'](uo['id'],{'textInfo':_0x47d4a5},{'onlyLocal':!0x0});}[_0x36bb8c(0x1cf)](){const _0x2ad0f7=_0x36bb8c;return this[_0x2ad0f7(0x38a)];}[_0x36bb8c(0x2f8)](_0x4c6879,_0x30225d,_0x33fc07,_0x1c86ad,_0x3543b5){const _0x30afca=_0x36bb8c;this[_0x30afca(0x33e)](_0x4c6879,_0x30225d,_0x33fc07,_0x1c86ad),this[_0x30afca(0x14a)](_0x4c6879,_0x30225d,_0x33fc07,_0x3543b5);}[_0x36bb8c(0x1f0)](_0x13ccad,_0x26bc4c,_0x49a8da){const _0x5dfef0=_0x36bb8c;var _0x347c4a;const _0x5c8240=(_0x347c4a=this[_0x5dfef0(0x36d)][_0x5dfef0(0x140)](_0x13ccad))==null?void 0x0:_0x347c4a['get'](_0x26bc4c);if(_0x5c8240)return _0x5c8240[_0x5dfef0(0x140)](_0x49a8da);}['getTargetByPivotTableId'](_0x4433d3,_0xf7b976){const _0x73a303=_0x36bb8c,_0x54d4a6=this[_0x73a303(0x36d)]['get'](_0x4433d3);if(_0x54d4a6){for(const [_0x5cc97f,_0x1741e3]of _0x54d4a6['entries']())for(const [_0x346b9b,_0x5cd44a]of _0x1741e3[_0x73a303(0x339)]())if(_0x346b9b===_0xf7b976)return _0x5cd44a['targetCellInfo'];}}['getTargetByPivotId'](_0x1dd6a9,_0x5954ab,_0x366299){const _0x39cadd=_0x36bb8c,_0x5aa92f=this[_0x39cadd(0x1f0)](_0x1dd6a9,_0x5954ab,_0x366299);return _0x5aa92f==null?void 0x0:_0x5aa92f[_0x39cadd(0x17c)];}[_0x36bb8c(0x38f)](_0x15473f,_0xe42d2a){const _0x58cb74=_0x36bb8c;var _0x2388d7;return(_0x2388d7=this[_0x58cb74(0x36d)][_0x58cb74(0x140)](_0x15473f))==null?void 0x0:_0x2388d7[_0x58cb74(0x140)](_0xe42d2a);}['updateConfigCache'](_0x32566f,_0x35f53f,_0x5ba58e,_0xd9a082){const _0x5a867=_0x36bb8c,_0x532044=this[_0x5a867(0x212)](_0x32566f,_0x35f53f);_0xd9a082?_0x532044[_0x5a867(0x136)](_0x5ba58e,_0xd9a082):_0x532044['delete'](_0x5ba58e),this[_0x5a867(0x1e7)]['next']({'unitId':_0x32566f,'subUnitId':_0x35f53f,'pivotTableId':_0x5ba58e,'pivotTableConfig':_0xd9a082});}['getCollection'](_0x3208c3,_0x38407b){const _0x564538=_0x36bb8c;var _0x41c619;return(_0x41c619=this[_0x564538(0x291)][_0x564538(0x140)](_0x3208c3))==null?void 0x0:_0x41c619[_0x564538(0x191)][_0x38407b];}[_0x36bb8c(0x120)](_0x34fb89,_0xdac9f7){const _0x48f438=_0x36bb8c;this[_0x48f438(0x291)][_0x48f438(0x136)](_0x34fb89,_0xdac9f7),this[_0x48f438(0x365)][_0x48f438(0x368)](Math[_0x48f438(0x243)]());}[_0x36bb8c(0x212)](_0x193921,_0x275e3f){const _0x4649a0=_0x36bb8c;let _0x5d049a=this[_0x4649a0(0x36d)][_0x4649a0(0x140)](_0x193921);_0x5d049a||(_0x5d049a=new Map(),this[_0x4649a0(0x36d)][_0x4649a0(0x136)](_0x193921,_0x5d049a));let _0x3f20ab=_0x5d049a[_0x4649a0(0x140)](_0x275e3f);return _0x3f20ab||(_0x3f20ab=new Map(),_0x5d049a[_0x4649a0(0x136)](_0x275e3f,_0x3f20ab)),_0x3f20ab;}[_0x36bb8c(0x190)](_0x5a4915,_0x4e44f7){const _0x49a088=_0x36bb8c;let _0x526a0c=this[_0x49a088(0x255)][_0x49a088(0x140)](_0x5a4915);_0x526a0c||(_0x526a0c=new Map(),this[_0x49a088(0x255)][_0x49a088(0x136)](_0x5a4915,_0x526a0c));let _0xff6f51=_0x526a0c[_0x49a088(0x140)](_0x4e44f7);return _0xff6f51||(_0xff6f51=new Map(),_0x526a0c['set'](_0x4e44f7,_0xff6f51)),_0xff6f51;}['_ensurePivotTableMatrixInfo'](_0x847cde,_0x307de1){const _0x494989=_0x36bb8c;let _0x529db9=this[_0x494989(0x319)]['get'](_0x847cde);_0x529db9||(_0x529db9=new Map(),this[_0x494989(0x319)][_0x494989(0x136)](_0x847cde,_0x529db9));let _0x5dcc18=_0x529db9[_0x494989(0x140)](_0x307de1);return _0x5dcc18||(_0x5dcc18=new Map(),_0x529db9['set'](_0x307de1,_0x5dcc18)),_0x5dcc18;}[_0x36bb8c(0x14a)](_0x4f6d29,_0x53a9cd,_0x55b00f,_0x33be66){const _0x5b627c=_0x36bb8c;var _0x340d46;const _0x428400=this[_0x5b627c(0x190)](_0x4f6d29,_0x53a9cd),_0x2eb121=(_0x340d46=_0x428400['get'](_0x55b00f))==null?void 0x0:_0x340d46[_0x5b627c(0x37b)];_0x428400[_0x5b627c(0x136)](_0x55b00f,{'oldRangeInfo':_0x2eb121,'rangeInfo':_0x33be66});}['updatePivotTableMatrixInfo'](_0xf01372,_0x180c67,_0x51c091,_0x1477e8){const _0x519805=_0x36bb8c;var _0xa67bae;const _0x4713f2=this[_0x519805(0x39a)](_0xf01372,_0x180c67),_0x5bc5b7=(_0xa67bae=_0x4713f2[_0x519805(0x140)](_0x51c091))==null?void 0x0:_0xa67bae[_0x519805(0x377)];_0x4713f2[_0x519805(0x136)](_0x51c091,{'oldMatrix':_0x5bc5b7,'matrix':_0x1477e8});}[_0x36bb8c(0x322)](_0x2a1ebd,_0x5cfa4f,_0x103077){const _0xe9b5b6=_0x36bb8c;var _0x35504d,_0x5671ef;return(_0x5671ef=(_0x35504d=this[_0xe9b5b6(0x255)][_0xe9b5b6(0x140)](_0x2a1ebd))==null?void 0x0:_0x35504d[_0xe9b5b6(0x140)](_0x5cfa4f))==null?void 0x0:_0x5671ef[_0xe9b5b6(0x140)](_0x103077);}[_0x36bb8c(0x362)](_0x3028e9,_0x519428,_0x5a1789){const _0x57c4b9=_0x36bb8c;var _0x58aa3c,_0x5c8cb8;return(_0x5c8cb8=(_0x58aa3c=this[_0x57c4b9(0x319)][_0x57c4b9(0x140)](_0x3028e9))==null?void 0x0:_0x58aa3c['get'](_0x519428))==null?void 0x0:_0x5c8cb8[_0x57c4b9(0x140)](_0x5a1789);}[_0x36bb8c(0x367)](_0x16d778){const _0x41d156=_0x36bb8c;this[_0x41d156(0x36d)][_0x41d156(0x2ad)](_0x16d778),this['_collectionConfigModel'][_0x41d156(0x2ad)](_0x16d778);}[_0x36bb8c(0x2c5)](_0x1a4a7b){const _0x27aa0b=_0x36bb8c,_0x449a3c={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x1a4a7b)&&(_0x449a3c[_0x27aa0b(0x1c9)][_0x1a4a7b]=this[_0x27aa0b(0x291)][_0x27aa0b(0x140)](_0x1a4a7b)),this[_0x27aa0b(0x36d)]['get'](_0x1a4a7b)){_0x449a3c[_0x27aa0b(0x22e)][_0x1a4a7b]={};const _0x4f8537=this[_0x27aa0b(0x36d)]['get'](_0x1a4a7b);_0x4f8537!=null&&_0x4f8537[_0x27aa0b(0x158)]&&[..._0x4f8537['keys']()]['forEach'](_0x5efb8c=>{const _0x1cac65=_0x27aa0b,_0x4bb425=_0x4f8537[_0x1cac65(0x140)](_0x5efb8c);_0x4bb425!=null&&_0x4bb425[_0x1cac65(0x158)]&&(_0x449a3c[_0x1cac65(0x22e)][_0x1a4a7b][_0x5efb8c]={},[..._0x4bb425[_0x1cac65(0x16f)]()]['forEach'](_0x3ea3f6=>{const _0x3dccb3=_0x1cac65,_0x1261eb=_0x4bb425['get'](_0x3ea3f6);_0x1261eb&&(_0x449a3c[_0x3dccb3(0x22e)][_0x1a4a7b][_0x5efb8c][_0x3ea3f6]=_0x1261eb);}));});}return _0x449a3c;}[_0x36bb8c(0x16e)](){const _0x310e02=_0x36bb8c;this[_0x310e02(0x245)](this[_0x310e02(0x164)][_0x310e02(0x20c)]({'toJson':_0x4103d3=>JSON[_0x310e02(0x2fc)](this[_0x310e02(0x2c5)](_0x4103d3)),'parseJson':_0x2a17e7=>({}),'businesses':[_0x4b7918[_0x310e02(0x2ea)]],'pluginName':ao,'onLoad':(_0x254427,_0x104f21)=>{},'onUnLoad':_0x16e9f8=>{const _0x285495=_0x310e02;this[_0x285495(0x367)](_0x16e9f8);}}));}};ve=Xi([it(0x0,_0x11f8dd(_0x28712a)),it(0x1,_0x11f8dd(_0x2e7974)),it(0x2,_0x11f8dd(_0x12f544)),it(0x3,_0x11f8dd(_0x1f954e)),it(0x4,_0x11f8dd(_0x44eb60))],ve);var Yi=Object['getOwnPropertyDescriptor'],zi=(_0x46ce14,_0x203cb7,_0x37c425,_0x42b12e)=>{const _0x18820f=_0x36bb8c;for(var _0x14d9f8=_0x42b12e>0x1?void 0x0:_0x42b12e?Yi(_0x203cb7,_0x37c425):_0x203cb7,_0x33f850=_0x46ce14[_0x18820f(0x32f)]-0x1,_0x991568;_0x33f850>=0x0;_0x33f850--)(_0x991568=_0x46ce14[_0x33f850])&&(_0x14d9f8=_0x991568(_0x14d9f8)||_0x14d9f8);return _0x14d9f8;},st=(_0x9cb11,_0x41394f)=>(_0x206e98,_0x2b0f5b)=>_0x41394f(_0x206e98,_0x2b0f5b,_0x9cb11);let Ne=class extends _0x441d3c{constructor(_0x546837,_0x4fddeb,_0x37bf01,_0x49eb1e,_0x434d97){const _0x564e03=_0x36bb8c;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x564e03(0x2b3),new Map()),V(this,_0x564e03(0x28c),new _0x3e9977()),V(this,_0x564e03(0x2d9),this['_markDirty$']['asObservable']()),V(this,_0x564e03(0x307),new _0x3e9977()),V(this,_0x564e03(0x252),this['_viewUpdate$']['asObservable']()),V(this,_0x564e03(0x38a)),(this[_0x564e03(0x1a0)]=_0x546837,this[_0x564e03(0x2f4)]=_0x4fddeb,this[_0x564e03(0x24e)]=_0x37bf01,this[_0x564e03(0x32c)]=_0x49eb1e,this[_0x564e03(0x1d8)]=_0x434d97,this[_0x564e03(0x356)](),this[_0x564e03(0x2aa)]());}[_0x36bb8c(0x2aa)](){const _0x3f72eb=_0x36bb8c;this[_0x3f72eb(0x245)](this[_0x3f72eb(0x32c)][_0x3f72eb(0x126)](_0x4b7918[_0x3f72eb(0x2ea)])['subscribe'](_0x39d7f6=>{this['deleteUnitId'](_0x39d7f6['getUnitId']());}));}[_0x36bb8c(0x356)](){const _0x1028a3=_0x36bb8c;this[_0x1028a3(0x38a)]=fo(this[_0x1028a3(0x2f4)],Lo,'',{});}[_0x36bb8c(0x372)](_0x2c5b9c){const _0x3789bb=_0x36bb8c,{view:_0x34d426,unitId:_0x4a895d,subUnitId:_0x421fc9,pivotTableId:_0x206e78,type:_0x7d801f}=_0x2c5b9c,_0x1dd09b=this['_sheetsPivotTableConfigModel'][_0x3789bb(0x1f0)](_0x4a895d,_0x421fc9,_0x206e78);if(!_0x34d426||!_0x1dd09b||_0x7d801f===B[_0x3789bb(0x333)])return;const {pageView:_0x27fc39,cornerView:_0x2d4994,rowView:_0x3499de,colView:_0x541659,dataView:_0x3ea3a3}=_0x34d426,_0x4d151d=_0x1dd09b[_0x3789bb(0x17c)],_0xb73e7c=_0x1dd09b[_0x3789bb(0x166)],_0x2e907a=this[_0x3789bb(0x338)](_0x4a895d,_0x421fc9),_0x38699f=this[_0x3789bb(0x35b)](_0x4a895d,_0x421fc9,_0x206e78);if(_0xb73e7c)return this[_0x3789bb(0x33a)](_0x2c5b9c,_0x2e907a,_0x4d151d,_0x38699f);{const _0x48c7ca=ge(_0x4d151d,_0x27fc39,!0x0),_0x493dbf=_0x27fc39[_0x3789bb(0x2a6)]>=0x0?_0x27fc39['lastRow']+0x1:0x0,_0x59a585=_0x2d4994[_0x3789bb(0x37f)](),_0x80fa8f=_0x2d4994[_0x3789bb(0x33b)](),_0x499cf2=_0x48c7ca['length']>0x0?It:0x0,_0x364961=ge({'row':_0x4d151d[_0x3789bb(0x237)]+_0x493dbf+_0x499cf2,'col':_0x4d151d[_0x3789bb(0x348)]},_0x2d4994,!0x1,!0x1),_0x44003e=ge({'row':_0x4d151d[_0x3789bb(0x237)]+_0x493dbf+_0x499cf2+_0x59a585,'col':_0x4d151d[_0x3789bb(0x348)]},_0x3499de,!0x1,!0x0),_0x2db2d6=ge({'row':_0x4d151d[_0x3789bb(0x237)]+_0x493dbf+_0x499cf2,'col':_0x4d151d[_0x3789bb(0x348)]+_0x80fa8f},_0x541659,!0x1,!0x0),_0x56b875=ge({'row':_0x4d151d['row']+_0x493dbf+_0x499cf2+_0x59a585,'col':_0x4d151d[_0x3789bb(0x348)]+_0x80fa8f},_0x3ea3a3,!0x1,!0x1);_0x38699f[_0x3789bb(0x37d)]={'rowRanges':_0x44003e,'colRanges':_0x2db2d6,'cornerRanges':_0x364961,'dataRanges':_0x56b875,'pageRanges':_0x48c7ca};const _0x2ab530=wi(this[_0x3789bb(0x2f4)],_0x34d426,_0x1dd09b,this[_0x3789bb(0x38a)]),{valueMatrix:_0x6a8302,rowInfo:_0x1e9879,colInfo:_0x28336a,cornerInfo:_0x5435a3,rowHeaderMap:_0x2caca0,colHeaderMap:_0x298b2d}=_0x2ab530;return _0x38699f[_0x3789bb(0x33f)]={'rowInfo':_0x1e9879,'colInfo':_0x28336a,'cornerInfo':_0x5435a3},_0x38699f['headerMap']={'rowHeaderMap':_0x2caca0,'colHeaderMap':_0x298b2d},_0x6a8302[_0x3789bb(0x2af)]((_0x259667,_0x518a5f)=>{const _0xb13fcd=_0x3789bb;Object[_0xb13fcd(0x16f)](_0x518a5f)[_0xb13fcd(0x2af)](_0x1ed044=>{const _0xda5f41=_0xb13fcd,_0x229835=+_0x1ed044,_0x278e29=_0x6a8302[_0xda5f41(0x138)](_0x259667,_0x229835);_0x2e907a['setValue'](_0x259667,_0x229835,_0x278e29);});}),this[_0x3789bb(0x307)][_0x3789bb(0x368)]({'unitId':_0x4a895d,'subUnitId':_0x421fc9,'valueMatrix':_0x2e907a,'rangesCache':_0x38699f['rangesInfo'],'pivotTableId':_0x206e78,'type':_0x2c5b9c['type']}),this[_0x3789bb(0x24e)][_0x3789bb(0x2f8)](_0x4a895d,_0x421fc9,_0x206e78,_0x2e907a,_0x38699f[_0x3789bb(0x37d)]),this[_0x3789bb(0x1d8)]['addExclusiveRange'](_0x4a895d,_0x421fc9,Jt,this[_0x3789bb(0x147)](_0x38699f['rangesInfo'],_0x206e78)),{'rangeCache':_0x38699f[_0x3789bb(0x37d)],'matrix':_0x2e907a};}}[_0x36bb8c(0x33a)](_0x54d69a,_0x54f3e7,_0xc58bad,_0x5782e6){const _0x47bb3d=_0x36bb8c,_0x44c73e=this[_0x47bb3d(0x1a0)]['t'],{unitId:_0x54e31d,subUnitId:_0xa2c997,pivotTableId:_0x4968f4}=_0x54d69a,_0x2b65f1={'filter':_0x44c73e(_0x47bb3d(0x144)),'row':_0x44c73e(_0x47bb3d(0x2b5)),'column':_0x44c73e(_0x47bb3d(0x2b6)),'values':_0x44c73e('sheets-pivot.emptyPivot.values')},{matrixCache:_0x5cd580,rangesCache:_0x43cc28}=Wo(_0x2b65f1,_0xc58bad);return _0x5cd580[_0x47bb3d(0x2ee)]((_0x77944c,_0x41bed4,_0x3b3864)=>{const _0x4c8a87=_0x47bb3d;_0x54f3e7[_0x4c8a87(0x162)](_0x77944c,_0x41bed4,_0x3b3864);}),_0x5782e6[_0x47bb3d(0x37d)]=_0x43cc28,this['_viewUpdate$']['next']({'unitId':_0x54e31d,'subUnitId':_0xa2c997,'valueMatrix':_0x54f3e7,'rangesCache':_0x43cc28,'pivotTableId':_0x4968f4,'type':_0x54d69a[_0x47bb3d(0x350)],'isEmpty':!0x0}),this[_0x47bb3d(0x24e)][_0x47bb3d(0x2f8)](_0x54e31d,_0xa2c997,_0x4968f4,_0x54f3e7,_0x43cc28),this[_0x47bb3d(0x1d8)][_0x47bb3d(0x1c4)](_0x54e31d,_0xa2c997,Jt,this[_0x47bb3d(0x147)](_0x43cc28,_0x4968f4)),{'rangeCache':_0x5782e6[_0x47bb3d(0x37d)],'matrix':_0x54f3e7};}['_createExclusiveRange'](_0x483e1f,_0x2afd1f){const _0x479e9b=_0x36bb8c,_0xa3f273=[],_0x2fdd0a=Bt(_0x483e1f);for(const _0x456cb3 of _0x2fdd0a)_0xa3f273[_0x479e9b(0x1fa)]({'groupId':_0x2afd1f,'range':_0x456cb3});return _0xa3f273;}['clearRenderCache'](_0x1237ab){const _0x511547=_0x36bb8c;var _0x1ef3f9,_0x519b65,_0x1c3b1e,_0x537996;const {pivotTableId:_0x49a97f,unitId:_0x345591,subUnitId:_0x4cdb8a}=_0x1237ab;if(!_0x49a97f||!_0x345591||!_0x4cdb8a)return;const _0x580e70=this[_0x511547(0x338)](_0x345591,_0x4cdb8a),_0x26a1b4=(_0x519b65=(_0x1ef3f9=this[_0x511547(0x1b6)][_0x511547(0x140)](_0x345591))==null?void 0x0:_0x1ef3f9[_0x511547(0x140)](_0x4cdb8a))==null?void 0x0:_0x519b65['get'](_0x49a97f);if(_0x26a1b4!=null&&_0x26a1b4[_0x511547(0x37d)]){for(const _0x12d2ff of Object[_0x511547(0x16f)](_0x26a1b4['rangesInfo']))_0x26a1b4[_0x511547(0x37d)][_0x12d2ff][_0x511547(0x2af)](_0x2e0c63=>{const _0x84660a=_0x511547;for(let _0x2e0e35=_0x2e0c63[_0x84660a(0x28d)];_0x2e0e35<=_0x2e0c63[_0x84660a(0x321)];_0x2e0e35++)for(let _0x40ca76=_0x2e0c63[_0x84660a(0x328)];_0x40ca76<=_0x2e0c63['endColumn'];_0x40ca76++)_0x580e70[_0x84660a(0x160)](_0x2e0e35,_0x40ca76);});}_0x26a1b4&&((_0x537996=(_0x1c3b1e=this[_0x511547(0x1b6)]['get'](_0x345591))==null?void 0x0:_0x1c3b1e['get'](_0x4cdb8a))==null||_0x537996[_0x511547(0x2ad)](_0x49a97f)),this['_viewUpdate$'][_0x511547(0x368)]({'unitId':_0x345591,'subUnitId':_0x4cdb8a,'valueMatrix':_0x580e70,'pivotTableId':_0x49a97f,'rangesCache':void 0x0,'type':_0x1237ab[_0x511547(0x350)]}),this[_0x511547(0x1d8)][_0x511547(0x38b)](_0x345591,_0x4cdb8a,Jt,_0x49a97f);}[_0x36bb8c(0x35b)](_0x438fd2,_0x32e811,_0x536f77){const _0x6b0e94=_0x36bb8c;var _0xa98df,_0x7b0ce9,_0x18d25a,_0xe905e7,_0x5a2635,_0xfad149;return this['_pivotRenderInfoCache']['has'](_0x438fd2)||this[_0x6b0e94(0x1b6)]['set'](_0x438fd2,new Map()),(_0xa98df=this[_0x6b0e94(0x1b6)]['get'](_0x438fd2))!=null&&_0xa98df[_0x6b0e94(0x33c)](_0x32e811)||(_0x7b0ce9=this[_0x6b0e94(0x1b6)]['get'](_0x438fd2))==null||_0x7b0ce9[_0x6b0e94(0x136)](_0x32e811,new Map()),(_0xe905e7=(_0x18d25a=this['_pivotRenderInfoCache'][_0x6b0e94(0x140)](_0x438fd2))==null?void 0x0:_0x18d25a[_0x6b0e94(0x140)](_0x32e811))!=null&&_0xe905e7['has'](_0x536f77)||(_0xfad149=(_0x5a2635=this[_0x6b0e94(0x1b6)][_0x6b0e94(0x140)](_0x438fd2))==null?void 0x0:_0x5a2635[_0x6b0e94(0x140)](_0x32e811))==null||_0xfad149[_0x6b0e94(0x136)](_0x536f77,{}),this['_pivotRenderInfoCache'][_0x6b0e94(0x140)](_0x438fd2)['get'](_0x32e811)[_0x6b0e94(0x140)](_0x536f77);}['_ensurePivotItemRenderValueMatrixCache'](_0x511db9,_0x5bbe52){const _0x25de3e=_0x36bb8c;var _0x18f48e,_0x1d9dfa;return this[_0x25de3e(0x2b3)][_0x25de3e(0x33c)](_0x511db9)||this[_0x25de3e(0x2b3)][_0x25de3e(0x136)](_0x511db9,new Map()),(_0x18f48e=this[_0x25de3e(0x2b3)]['get'](_0x511db9))!=null&&_0x18f48e['has'](_0x5bbe52)||(_0x1d9dfa=this[_0x25de3e(0x2b3)][_0x25de3e(0x140)](_0x511db9))==null||_0x1d9dfa[_0x25de3e(0x136)](_0x5bbe52,new _0x828916()),this[_0x25de3e(0x2b3)]['get'](_0x511db9)['get'](_0x5bbe52);}[_0x36bb8c(0x1b0)](_0x32d8ed,_0x358c19,_0xa9dc6e,_0x5a5e7a){const _0x314457=_0x36bb8c;var _0x5e7f6b,_0x1e20c5;const _0x5efa69=(_0x1e20c5=(_0x5e7f6b=this[_0x314457(0x2b3)][_0x314457(0x140)](_0x32d8ed))==null?void 0x0:_0x5e7f6b[_0x314457(0x140)](_0x358c19))==null?void 0x0:_0x1e20c5[_0x314457(0x138)](_0xa9dc6e,_0x5a5e7a);if(_0x5efa69!=null)return _0x5efa69;}[_0x36bb8c(0x355)](_0x471588,_0x81de7b,_0x45ec53,_0x1e92e6){const _0x5d75dd=_0x36bb8c;var _0x4e507a;const _0x499d3f=_0x167aa6(_0x45ec53,_0x1e92e6),_0x5308af=(_0x4e507a=this[_0x5d75dd(0x1b6)][_0x5d75dd(0x140)](_0x471588))==null?void 0x0:_0x4e507a[_0x5d75dd(0x140)](_0x81de7b);return _0x5308af?Array[_0x5d75dd(0x22d)](_0x5308af['keys']())[_0x5d75dd(0x2b8)](_0x58bc70=>{const _0x11f642=_0x5d75dd,_0x454583=_0x5308af[_0x11f642(0x140)](_0x58bc70),_0x2a7322=_0x454583==null?void 0x0:_0x454583['rangesInfo'];return _0x2a7322?Object[_0x11f642(0x16f)](_0x2a7322)[_0x11f642(0x385)](_0x47b18e=>_0x2a7322[_0x47b18e]['some'](_0x4389ff=>_0x275ba3[_0x11f642(0x1ec)](_0x4389ff,_0x499d3f))):!0x1;}):void 0x0;}[_0x36bb8c(0x125)](_0x327b57,_0x20cf95,_0x3f96bc){const _0x6378a4=_0x36bb8c;var _0xa9c01e;const _0x58f670=(_0xa9c01e=this[_0x6378a4(0x1b6)][_0x6378a4(0x140)](_0x327b57))==null?void 0x0:_0xa9c01e['get'](_0x20cf95),_0x46ac34=[];return _0x58f670&&Array[_0x6378a4(0x22d)](_0x58f670['keys']())[_0x6378a4(0x2af)](_0x53555d=>{const _0x5e629a=_0x6378a4,_0x2256ff=_0x58f670[_0x5e629a(0x140)](_0x53555d),_0x31167a=_0x2256ff==null?void 0x0:_0x2256ff['rangesInfo'];if(_0x31167a)for(const _0x2f1480 of Object['values'](_0x31167a)){let _0x44b079=!0x1;for(const _0x1afc46 of _0x2f1480)if(_0x275ba3[_0x5e629a(0x14f)](_0x1afc46,_0x3f96bc)){_0x46ac34[_0x5e629a(0x1fa)](_0x53555d),_0x44b079=!0x0;break;}if(_0x44b079)break;}}),_0x46ac34;}[_0x36bb8c(0x1ac)](_0x25077c,_0x5b5465){const _0x21a5f3=_0x36bb8c;var _0x55ef41,_0xbae6c2;return(_0xbae6c2=(_0x55ef41=this[_0x21a5f3(0x2b3)][_0x21a5f3(0x140)](_0x25077c))==null?void 0x0:_0x55ef41[_0x21a5f3(0x140)](_0x5b5465))!=null?_0xbae6c2:new _0x828916();}[_0x36bb8c(0x266)](_0x102618,_0x5dfa1c){const _0x44bbb2=_0x36bb8c;var _0x43b908;return(_0x43b908=this[_0x44bbb2(0x1b6)]['get'](_0x102618))==null?void 0x0:_0x43b908[_0x44bbb2(0x140)](_0x5dfa1c);}[_0x36bb8c(0x1f4)](_0x4effa4,_0x5985d3,_0x35a98c){const _0x23e635=_0x36bb8c;var _0x23bd20,_0x5394b7;return(_0x5394b7=(_0x23bd20=this[_0x23e635(0x1b6)][_0x23e635(0x140)](_0x4effa4))==null?void 0x0:_0x23bd20[_0x23e635(0x140)](_0x5985d3))==null?void 0x0:_0x5394b7[_0x23e635(0x140)](_0x35a98c);}[_0x36bb8c(0x367)](_0x17fa04){const _0x56bef6=_0x36bb8c;this[_0x56bef6(0x1b6)]['delete'](_0x17fa04),this[_0x56bef6(0x2b3)][_0x56bef6(0x2ad)](_0x17fa04);}[_0x36bb8c(0x2e0)](_0x219ad1,_0x5412b9){this['_markDirty$']['next']({'unitId':_0x219ad1,'subUnitId':_0x5412b9});}};Ne=zi([st(0x0,_0x11f8dd(_0x23e253)),st(0x1,_0x11f8dd(_0x28712a)),st(0x2,_0x11f8dd(ve)),st(0x3,_0x11f8dd(_0x12f544)),st(0x4,_0x11f8dd(_0xe66987))],Ne);var Qi=Object[_0x36bb8c(0x15a)],es=(_0x548c36,_0x1567e3,_0x370a4e,_0x388de3)=>{for(var _0xaaa267=_0x388de3>0x1?void 0x0:_0x388de3?Qi(_0x1567e3,_0x370a4e):_0x1567e3,_0x1bccd2=_0x548c36['length']-0x1,_0x1b6cb2;_0x1bccd2>=0x0;_0x1bccd2--)(_0x1b6cb2=_0x548c36[_0x1bccd2])&&(_0xaaa267=_0x1b6cb2(_0xaaa267)||_0xaaa267);return _0xaaa267;},yo=(_0x10d031,_0x51bab1)=>(_0x3acbc3,_0x261b0b)=>_0x51bab1(_0x3acbc3,_0x261b0b,_0x10d031);let ie=class extends _0x441d3c{constructor(_0x17e228,_0x15c43f){const _0x3716f2=_0x36bb8c;super(),V(this,_0x3716f2(0x1bf),new _0x15a3b2({'PIVOT_PERFORM_CHECK':be})),V(this,_0x3716f2(0x30c),new _0x527675({'PIVOT_MUTATION_GENERATE':$o})),(this[_0x3716f2(0x27d)]=_0x17e228,this[_0x3716f2(0x1bc)]=_0x15c43f,this[_0x3716f2(0x168)]());}[_0x36bb8c(0x168)](){const _0x428a81=_0x36bb8c;this[_0x428a81(0x24c)]();}['getPivotPerformCheck'](_0x500e1d){const _0x570e9a=_0x36bb8c;return this[_0x570e9a(0x1bf)][_0x570e9a(0x26f)](be)(!0x1,_0x500e1d);}[_0x36bb8c(0x24c)](){const _0x16b544=_0x36bb8c;this[_0x16b544(0x245)](this[_0x16b544(0x27d)][_0x16b544(0x1b7)](_0x19226b[_0x16b544(0x393)],{'priority':0xc8,'effect':_0xc4e529[_0x16b544(0x349)]|_0xc4e529['Style'],'handler':(_0x57520f,_0x470c25,_0xfa6a60)=>{const _0x32bd88=_0x16b544,{row:_0x17a479,col:_0x104c8e,unitId:_0x2d96f5,subUnitId:_0x487d0f,workbook:_0x41c90a}=_0x470c25,_0x24ee3c=this['_sheetsPivotTableAdaptorModel'][_0x32bd88(0x1b0)](_0x2d96f5,_0x487d0f,_0x17a479,_0x104c8e);if(!_0x24ee3c)return _0xfa6a60(_0x57520f);const _0x451306={..._0x57520f};(_0x24ee3c['v']||_0x24ee3c['v']===0x0)&&(_0x451306['v']=_0x24ee3c['v']),_0x24ee3c['t']&&(_0x451306['t']=_0x24ee3c['t']);const _0x57b967=(typeof(_0x57520f==null?void 0x0:_0x57520f['s'])==_0x32bd88(0x2d5)?_0x41c90a[_0x32bd88(0x2f0)]()[_0x32bd88(0x140)](_0x57520f==null?void 0x0:_0x57520f['s']):_0x57520f==null?void 0x0:_0x57520f['s'])||{},_0x28765f=_0x41c90a[_0x32bd88(0x2f0)]()[_0x32bd88(0x140)](_0x24ee3c['s']),_0x66ed4c={..._0x28765f,..._0x57b967};_0x28765f!=null&&_0x28765f['n']&&(_0x66ed4c['n']=_0x28765f['n']);const _0x45f676=_0x41c90a[_0x32bd88(0x2f0)]()[_0x32bd88(0x162)](_0x66ed4c);return _0x451306['s']=_0x45f676,(_0x24ee3c[_0x32bd88(0x399)]===_0x3654e9[_0x32bd88(0x167)]||_0x24ee3c[_0x32bd88(0x399)]===_0x3654e9[_0x32bd88(0x26d)])&&(_0x451306[_0x32bd88(0x18e)]={},_0x451306[_0x32bd88(0x18e)][_0x32bd88(0x14c)]=li),_0xfa6a60(_0x451306);}}));}};ie=es([yo(0x0,_0x11f8dd(_0x334540)),yo(0x1,_0x11f8dd(Ne))],ie);const Xo={'id':_0x36bb8c(0x2c1),'type':_0x4c39aa['MUTATION'],'handler':(_0x3152ce,_0x5d118b)=>{const _0x564c60=_0x36bb8c;if(!_0x5d118b)return!0x1;if(!!_0x3152ce[_0x564c60(0x140)](_0x44eb60)['getConfig'](X))return!0x0;const {pivotTableId:_0x7cc10c,fieldJSON:_0x45645e,unitId:_0x48f781,subUnitId:_0x2aeec0}=_0x5d118b;let _0x19619f;const {dataFieldType:_0x4ba5bb,id:_0x2967c3,name:_0x598b24,hexCode:_0x584ec8,originalFieldId:_0x452544}=_0x45645e;if(_0x4ba5bb===_0x2e6597[_0x564c60(0x31b)]&&(_0x19619f=new _0x4839a0(_0x2967c3,_0x598b24,_0x584ec8,_0x452544)),!_0x19619f)return!0x1;const _0x5a5263=_0x3152ce[_0x564c60(0x140)]($),_0x54385d=_0x5a5263[_0x564c60(0x11a)](_0x48f781),_0x512246=_0x54385d[_0x564c60(0x178)](_0x7cc10c);_0x54385d['addDataFieldWithoutUnitInfo'](_0x19619f),_0x512246[_0x564c60(0x37a)](_0x19619f[_0x564c60(0x2cf)](),_0x19619f[_0x564c60(0x1f5)]());const _0x52ae8b=_0x512246[_0x564c60(0x31d)](_0x19619f[_0x564c60(0x256)]());_0x52ae8b&&_0x19619f[_0x564c60(0x24f)](_0x52ae8b);const _0x33742c=_0x5a5263[_0x564c60(0x1f0)](_0x48f781,_0x2aeec0,_0x7cc10c);return _0x5a5263[_0x564c60(0x2dd)]({'unitId':_0x48f781,'subUnitId':_0x2aeec0,'token':_0x7cc10c,'type':B[_0x564c60(0x227)],'pivotConfig':_0x33742c}),!0x0;}},Yo={'id':_0x36bb8c(0x36f),'type':_0x4c39aa[_0x36bb8c(0x1ed)],'handler':(_0x188379,_0x320115)=>{const _0x99604a=_0x36bb8c;if(!_0x320115)return!0x1;if(!!_0x188379[_0x99604a(0x140)](_0x44eb60)[_0x99604a(0x118)](X))return!0x0;const {pivotTableId:_0x117e31,dataFieldId:_0x1906c4,unitId:_0x4ecae4,subUnitId:_0xbd0013}=_0x320115,_0x51de5f=_0x188379[_0x99604a(0x140)]($),_0x1a8379=_0x51de5f[_0x99604a(0x11a)](_0x4ecae4);_0x1a8379['getCollection'](_0x117e31)[_0x99604a(0x123)](_0x1906c4);let _0x3ff9db=!0x0;for(const _0x47abb5 in _0x1a8379[_0x99604a(0x191)])if(_0x1a8379['collections'][_0x47abb5][_0x99604a(0x346)]()['includes'](_0x1906c4)){_0x3ff9db=!0x1;break;}_0x3ff9db&&_0x1a8379[_0x99604a(0x1a4)](_0x1906c4);const _0x1358c3=_0x51de5f[_0x99604a(0x1f0)](_0x4ecae4,_0xbd0013,_0x117e31);return _0x51de5f[_0x99604a(0x2dd)]({'unitId':_0x4ecae4,'subUnitId':_0xbd0013,'token':_0x117e31,'type':B[_0x99604a(0x227)],'pivotConfig':_0x1358c3}),!0x0;}};function Nt(_0x372dfe,_0x124622){const _0x1e9a33=_0x36bb8c;switch(_0x124622){case _0x4c5dc9[_0x1e9a33(0x349)]:return _0x372dfe[_0x1e9a33(0x1b8)];case _0x4c5dc9[_0x1e9a33(0x1f2)]:return _0x372dfe['filterFields'];case _0x4c5dc9[_0x1e9a33(0x28b)]:return _0x372dfe[_0x1e9a33(0x152)];case _0x4c5dc9[_0x1e9a33(0x1f9)]:return _0x372dfe[_0x1e9a33(0x388)];default:return[];}}function Ge(_0x375ecc,_0x52e5fb){const _0x1de7fe=_0x36bb8c;return _0x375ecc[_0x1de7fe(0x189)][_0x52e5fb]||_0x375ecc['dimension'][_0x52e5fb];}function ts(_0x230451,_0x572976){const _0x3d1da1=_0x36bb8c,{area:_0xcd66a0,fieldJson:_0x2d6bc5,index:_0x53d636}=_0x572976;_0xcd66a0===_0x4c5dc9[_0x3d1da1(0x349)]?_0x230451[_0x3d1da1(0x189)][_0x2d6bc5['id']]=_0x2d6bc5:_0x230451[_0x3d1da1(0x308)][_0x2d6bc5['id']]=_0x2d6bc5,Nt(_0x230451,_0xcd66a0)[_0x3d1da1(0x216)](_0x53d636,0x0,_0x2d6bc5['id']);}function os(_0x1b3cea,_0x3ecb35){const _0x30a535=_0x36bb8c,{area:_0xae00c8,fieldId:_0x55a41e,index:_0x32b471}=_0x3ecb35;_0xae00c8===_0x4c5dc9[_0x30a535(0x349)]?delete _0x1b3cea[_0x30a535(0x189)][_0x55a41e]:delete _0x1b3cea[_0x30a535(0x308)][_0x55a41e],Nt(_0x1b3cea,_0xae00c8)[_0x30a535(0x216)](_0x32b471,0x1);}function ns(_0x2777b1,_0x3ce0f8){const _0x462266=_0x36bb8c,{fieldId:_0x1c4c01,name:_0x5f5cd4}=_0x3ce0f8,_0x306d50=Ge(_0x2777b1,_0x1c4c01);_0x306d50&&(_0x306d50[_0x462266(0x1ca)]=_0x5f5cd4);}function is(_0x25598a,_0x485d6c){const _0xe842cd=_0x36bb8c,{fieldId:_0x135fbc,collapse:_0x1d5f98,item:_0x1c1d84}=_0x485d6c;_0x1c1d84!==void 0x0?(_0x25598a[_0xe842cd(0x1dd)][_0x135fbc]=_0x25598a['collapseInfo'][_0x135fbc]||{},_0x25598a['collapseInfo'][_0x135fbc][_0x1c1d84]=_0x1d5f98):_0x25598a[_0xe842cd(0x1dd)][_0x135fbc]=_0x1d5f98;}function ss(_0x6f5942,_0x4d46bf){const _0x15c062=_0x36bb8c,{fieldId:_0x8e5c98,format:_0x338733}=_0x4d46bf,_0x16a5b2=Ge(_0x6f5942,_0x8e5c98);_0x16a5b2&&(_0x16a5b2[_0x15c062(0x2cd)]=_0x338733);}function as(_0x26f602,_0x172e66){const {fieldId:_0x4244d0,filterInfo:_0x31f5c3}=_0x172e66,_0x3223f7=Ge(_0x26f602,_0x4244d0);_0x3223f7&&(_0x3223f7['filterInfo']=_0x31f5c3);}function _0x62fd(){const _0x282543=['#1d32e9','valueFilter','UpdateSource','slice','_initRemoveSheetCommandInterceptor','headerMap','sheet.mutation.add-group-collection','isNaN','536XREXQW','reset','_toJSON','dataFields','getDirtyInfo','charCodeAt','FORCE_STRING','sheet.command.reset-pivot-fields-config','addCollectionByJSON','_dataFieldManagerCollection','format','drillDown','getId','batch','message','DIV_BY_ZERO','sheet.mutation.rename-pivot-field','renameField','string','sheets-pivot.cellDateGroupDisplay.minute','MIN_SAFE_INTEGER','getDataFieldByTableId','markDirty$','sheets-pivot.stdDevpName','getSheetBySheetId','getFullYear','addDirtyPivotTable','Quarter','parseInt','markDirty','collectionConfig','setPivotFilter','rowCount','NotNumber','getValuePosition','endCollectChangeset','_pivotTableInstanceCache','Sum\x20of\x20','collection','UNIVER_SHEET','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','resetArea','maxDate','forValue','_commandService','getStyles','sheets-pivot.averageName','pluginName','getAutoDisplayNameFunction','_injector','_subjectFieldsCollectionChange','_initRegisterCommand','isValue','updateViewInfo','getTableFieldById','sheets-pivot.dateGroup.yearMonthDate','getDataFieldId','stringify','AddPivotTable','_refRangeService','deepClone','setDirty','updateRangeKeyMap','reduce','getUpdateRangeDeleteIds','sheet.command.update-pivot-value-position','average','notExecuteFormula','_viewUpdate$','dimension','BLANK_PLACEHOLDER','sheet.mutation.send-init-pivot-text-local','colRanges','interceptor','sheetName','foreach','replace','return\x20','SetSubtotalType','_fieldsCollectionChange$','getFieldDataType','SetValueFilter','clearRenderCache','getHeaderMapItem','sortInfo','getValueFilterInfos','_pivotTableMatrixInfo','fieldsConfig','dateGroupField','getRangeStartEndInfo','getFieldById','lastCol','executeCommand','hasField','endRow','getPivotTableRangeInfo','remove','sheet.mutation.set-pivot-filter','refreshDataField','params','column','startColumn','iterateFieldDim','Min\x20of\x20','getRangeData','_univerInstanceService','colInfo','sheets-pivot.cellDateGroupDisplay.yearQuarter','length','updateConfigCache','_lifecycleService','sheets-pivot.cellDateGroupDisplay.hour','Delete','updateViewData','Var\x20of\x20','add','isArray','_ensurePivotItemRenderValueMatrixCache','entries','_updateRenderEmptyCache','getColCount','has','updateConfig','updatePivotTableMatrixInfo','areaInfo','addPivotField','sheet.command.set-pivot-fields-config','dataFieldId','initDataRanges','_initDataSendListener','getUnit','getFieldIds','getPivotDisplayConfig','col','Value','_pivotInitCompleted$','MAX_SAFE_INTEGER','sheets-pivot.cellDateGroupDisplay.quarter','pivotMutationGenerate','update','Hour','type','fields','New','getAutoFitColumnsMutations','floor','getPivotTableIdByCell','_initLocale','Max\x20of\x20','getCurrentSelections','_initPivotTextInfo','sheet.mutation.set-pivot-option','_ensurePivotItemRenderInfoCache','startCollectChangeset','paths','1467POFckm','addRecord','removeField','27587EsdbbU','getPivotTableMatrixInfo','sheet.mutation.set-pivot-position','setRange','_configVersion$','Add','deleteUnitId','next','RemovePivotField','_dataSyncPrimaryController','getMatrixFromRunTimeData','Grand\x20Total','_model','sheet.mutation.pivot-update-field-source-info','sheet.mutation.remove-group-collection','getSubtotal','sheet.command.add-pivot-field','updateRenderCache','_globalSubject','getFieldCountByArea','setDisplayName','3695004TSzzDY','oldMatrix','SetPivotCollapse','rangeType','addField','oldRangeInfo','getIntersects','rangesInfo','_requestResolvers','getRowCount','pivotTableIndexConfig','sheets-pivot.countName','getColumnWidth','range','handleMoveRange','some','_updateModelCache','limit\x20pivot','columnFields','pivotInitCompleted$','_textInfo','clearExclusiveRangesByGroupId','getSourceName','result','unshift','getSubUnitPivotConfigs','query','getTextSize','map','CELL_CONTENT','_sheetsPivotTableService','NotName','dateType','pushComputingStatusSubject','removeSourceRangeChange','pbt','_ensurePivotTableMatrixInfo','custom','MovePivotField','getConfig','SHEET_PIVOT_EXCLUSIVE_ID','getDataFieldManager','SetPivotSetting','304042aVPzQN','getSortInfo','YearMonthDate','tableFieldId','updateCollectionConfig','error','sheet.command.remove-pivot-field','deleteField','SetPivotTableConfig','getIntersectsPivotTable','getTypeOfUnitDisposed$','resetPivotTable','setRangeValueRedoMutation','ManualFilter','bind','setName','sheets-pivot.dateGroup.hourMinute','fetchThroughInterceptors','getPivotTableModelConfig','shouldClear','endColumn','setValuePivotFilter','sheets-pivot.countNumsName','_sheetsSelectionsService','sheet.mutation.add-pivot-table','getUnitId','set','removeValueFilterInfoByValueFieldId','getValue','setSubtotalType','UpdateValuePosition','Month','4088945ccZhLi','getViewData','tuple','getLastRow','get','pivotPerformCheck','cornerStyle','filterInfo','sheets-pivot.emptyPivot.filter','4XOCZZS','concat','_createExclusiveRange','registerDirtyService','min','updatePivotTableRangeInfo','sheet.command.pivot-drill-down','leftOffset','valid','getRangeKey','intersects','Minute','_initGlobalComputed','rowFields','YearMonth','setOptions','cornerInfo','document','parse','size','NAME','getOwnPropertyDescriptor','removePivotTable','colHeaderMap','getDataFieldByDataFieldId','getDataFieldItemInfo','UpdatePivotSource','realDeleteValue','cellValue','setValue','_onRefRangeChange','_resourceManagerService','setPivotSetting','isEmpty','Collapse','_init','includes','None','setSourceName','_queryingMap','var','_initSnapshot','keys','blank','updateDataFieldsCollection','setPivotCollapse','valueIndex','registerSyncingMutations','RenameField','setRangeValueUndoMutation','sheets-pivot.cellDateGroupDisplay.month','getCollection','subTotalStyle','HourMinute','setSortInfo','targetCellInfo','ptn','sheet.command.set-pivot-value-filter','sheet.command.add-pivot-table-with-config','prefix','name','sheets-pivot.blank','onCommandExecuted','textInfo','countNums','getIndexesByPathStr','NUMBER','AddPivotTableWithConfig','measure','SetPivotFilter','_viewData$','grandTotal','pageStyle','fontRenderExtension','pushUndoRedo','_ensurePivotTableRangeInfo','collections','sheet.command.set-pivot-sort','removeValueFilterInfo','getRefRangeMutationsByMoveRange','count','sheet.mutation.send-pivot-config-local','product','RemoveField','filterId','_subjectViewChange','getCellRaw','GrandTotal','_updatePivotTableInstanceCache','needSameDeleteModel','stdDevp','_localeService','getLastCol','_configService','adjustSheetCellData','deleteDataField','originTargetInfo','sheets-pivot.varName','SetValuePivotFilter','sheets-pivot.cellDateGroupDisplay.yearMonthDate','setPivotTable','getMatrix','number','getSubUnitPivotMatrix','handleSourceRangeChange','sheet.mutation.pivot-update-field-position','sheet.command.set-pivot-collapse','getPivotTableCellData','getFormat','getActiveSheet','getFieldFormat','1470yHKJQG','pivotTableId','_pivotRenderInfoCache','intercept','valueFields','_deletePivotTableInstanceCache','getSheetBySheetName','uniqueDataFieldName','_sheetsPivotTableAdaptorModel','max','getMonth','asyncInterceptor','generateNewSheetName','#FFFFFF','queryDirtyPivotTable','versions','addExclusiveRange','undos','sheets.tabs.sheet','_getAutoName','SetPivotSort','dataFieldManagerConfig','displayName','options','getRangeKeyList','subtotal','_sheetsPivotDataSourceModel','getTextInfo','sum','broadcastCollectionChange','filter','setRangeKeyMap','getformat','call','sheet.command.update-pivot-table-source-range','PivotMultipleValueId','_exclusiveRangeService','setFieldFormat','symbol','_generateUniqueVersion','setPivotTableConfig','collapseInfo','collectionChange$','_ensureViewDataMap','rowHeaderMap','dataFieldsCollection','removeCollectionImp','Subtotal','Date','sheet.mutation.add-pivot-field','isText','_pivotConfigChange$','getPivotTableInstance','createCollectionWithDataRange','addFieldWithSourceId','setPivotInitCompleted','contains','MUTATION','setPivotSort','MonthDate','getPivotTableConfig','handleAsyncResponse','Filter','setCollapse','getPivotItemRenderInfoCache','getName','createDataFieldId','Panel','_refRangeHandle','Column','push','sheet.mutation.remove-pivot-field','values','iterateField','_viewData','sheets-pivot.stdDevName','getColumnCount','sheet.mutation.set-pivot-value-filter','substring','isColMultiMeasure','getFieldPositionInfoById','panel','level','data','subscribe','sheets-pivot.grandTotal','getCurrentUnitForType','sourceRangeInfo','registerPluginResource','getInterceptPoints','colCount','Uh3VJ9A3\x20pZVkdOJ9A3(f9VZ3TZ,\x20Ohaf9VBZd)\x20{\x20\x20\x20\x20Jkd\x20{\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20f9VZ3TZl3UAnwkJLkkwd\x20=\x20f9VZ3TZ.TOf9J(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20Ak9E93tZTTwEZ\x20=\x20GQMP.OwkTZ(wJAa(f9VZ3TZl3UAnwkJLkkwd[5]));\x20\x20\x20\x20\x20\x20\x20\x209U\x20(!Ak9E93tZTTwEZ.hp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ak9E93tZTTwEZ.hp\x20=\x20PhXaZk(f9VZ3TZl3UAnwkJLkkwd[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x209TuAk7Zk\x20=\x20JdOZAU\x20uAk7Zk0fAawfQVAOZ\x20!==\x20\x27h3pZU93Zp\x27\x20&&\x20TZfU\x2093TJw3VZAU\x20uAk7Zk0fAawfQVAOZ;\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20VA3JZvJ\x20=\x209TuAk7Zk\x20?\x20TZfU\x20:\x20c93pAc;\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20XZTTwEZuAkp\x20=\x20VA3JZvJ.__zwTZFr__.OwkTZ(f9VZ3TZl3UAnwkJLkkwd[5]);\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20XZTTwEZ\x20=\x20VA3JZvJ.__xZv__.TJk93E9Ud(XZTTwEZuAkp);\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20T9E3wJhkZuAkp\x20=\x20VA3JZvJ.__zwTZFr__.OwkTZ(f9VZ3TZl3UAnwkJLkkwd[C]);\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20T9E3wJhkZ\x20=\x20VA3JZvJ.__xZv__.TJk93E9Ud(T9E3wJhkZuAkp);\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20T9E31wf9p\x20=\x20VA3JZvJ.__8Zk9Ud__(T9E3wJhkZ,\x20XZTTwEZ,\x20Ohaf9VBZd);\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20pAXw93\x20=\x20Ak9E93tZTTwEZ.pX;\x20\x20\x20\x20\x20\x20\x20\x20Uh3VJ9A3\x209T4AXw93twJVI93E(AnwJJZk3,\x20AxATJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20OwJJZk3\x20=\x20AnwJJZk3.kZOfwVZ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20IATJ\x20=\x20AxATJ.kZOfwVZ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20OwJJZk3nwkJT\x20=\x20OwJJZk3.TOf9J(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20IATJnwkJT\x20=\x20IATJ.TOf9J(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209U\x20(!OwJJZk3.93VfhpZT(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kZJhk3\x20OwJJZk3\x20===\x20IATJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209U\x20(OwJJZk3nwkJT.fZ3EJI\x20<\x205\x20||\x20OwJJZk3nwkJT[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kZJhk3\x20UwfTZ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20OwJJZk3QhUU9v\x20=\x20OwJJZk3nwkJT.Tf9VZ(i).qA93(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x20IATJQhUU9v\x20=\x20IATJnwkJT.Tf9VZ(-OwJJZk3nwkJT.fZ3EJI\x20+\x20i).qA93(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kZJhk3\x20OwJJZk3QhUU9v\x20===\x20IATJQhUU9v;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fZJ\x20pAXw931wf9p\x20=\x20(pAXw93\x20&&\x20pAXw93.fZ3EJI)\x20?\x20pAXw93.TAXZ((pXlJZX)\x20=>\x209T4AXw93twJVI93E(pXlJZX,\x20fAVwJ9A3.IATJ3wXZ))\x20:\x20JkhZ;\x20\x20\x20\x20\x20\x20\x20\x209U\x20(fAVwJ9A3.IATJ3wXZ\x20===\x20\x27fAVwfIATJ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pAXw931wf9p\x20=\x20JkhZ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VA3TJ\x208wf9p\x20=\x20T9E31wf9p\x20&&\x20pAXw931wf9p;\x20\x20\x20\x20\x20\x20\x20\x20kZJhk3\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208wf9p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XZTTwEZ:\x20Ak9E93tZTTwEZ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20VwJVI\x20(ZkkAk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20kZJhk3\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208wf9p:\x20UwfTZ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XZTTwEZ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','fromJSON','originalFieldId','_ensurePivotMap','sheets-pivot.sumName','iterateFieldByArea','getNoUsedDataFieldIds','splice','getFilterInfo','sheet.command.set-pivot-filter','_activeDirtyManagerService','getFilterFieldIdByIndex','rangeKey','27478kPdvdm','hasOwnProperty','_config','colStyle','ΣValue','_globalComputedStartHelpFunc','PIVOT_MUTATION_GENERATE','_globalComputedEndHelpFunc','sheet.mutation.send-pivot-view-local','getMatrixValue','getGroupFieldsInfoByIds','Set','YearQuarter','StdDev\x20of\x20','existing','updatePivotSource','getValueIndex','from','pivotTableConfigs','sheet.mutation.set-pivot-field-subtotal-type','Product\x20of\x20','Count\x20of\x20','BadReference','Column\x20','dispose','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','disposableCollection','row','_globalComputingSrv','updateValuePosition','setLabelFilterInfo','sheet.mutation.send-pivot-data-local','pivotConfigChange$','redos','Varp\x20of\x20','_featureCalculationManagerService','leafStyle','sheets-pivot.cellDateGroupDisplay.hourMinute','sideEffectUpdateWorkerCache','random','Existing','disposeWithMe','getCellMatrix','subUnitId','asObservable','AddPivotField','getTargetByPivotId','onStarting','_initViewModelBySheetInterceptor','_initConfig','_sheetsPivotTableConfigModel','refreshGroupField','29860LrNymb','defineProperty','viewUpdate$','info','sheets-pivot.dateGroup.month','_pivotTableRangeInfo','getOriginFieldId','valuePosition','addPivotTableWithConfig','DrillDown','generateMutationsByRanges','removeDataField','new','sheets-pivot.cellDateGroupDisplay.year','date','sheets-pivot.value','SetSortInfo','SetFieldFormat','SetOptions','getDisplayName','workbook\x20is\x20not\x20found','UpdateFieldPosition','getSubUnitPivotRenderCache','1950HUVVLL','onQueryStart','_host','removeCollections','setTextInfo','updateFieldSourceInfo','Expand','sheet.operation.pivot-table-view-formula-mark-dirty','fetchThroughAsyncInterceptors','setConfig','4380wahywG','getSheets','sheet.mutation.get-pivot-data-local','fieldId','COLUMN','sheets-pivot.dateGroup.yearMonth','sheet.mutation.set-pivot-collapse','movePivotField','\x20-\x20','sheet.mutation.pivot-update-value-position','setDataRecordCount','updateAllDisplayName','_sheetInterceptorService','rowStyle','SetFilterInfo','isDate','SHEET_PIVOT_IN_MAIN_THREAD','registerCallbackWithEvent','COMMAND','#eceeff','addCollection','_initCommandInterceptListener','removePivotField','ResetPivotTable','sheet.mutation.set-pivot-format','sheet.command.set-pivot-field-setting','Row','_markDirty$','startRow','node','unitId','registerCommand','_collectionConfigModel','addPivotTable','forRow','varp','dataStyle','formJSON','triggerDirtyFeature','toJSON','dataRangeInfo','sheet.command.add-pivot-table','width','_collectionChange$','setValueFilterInfo','rangeKeyMap','rowRanges','SHEET_PIVOT_TABLE_PLUGIN','register','sheets-pivot.columnName','_subjectCollectionChange','fieldIds','refreshData','lastRow','_sheetsPivotRpcService','Values','fieldsCollectionChange$','_initUnitDisposed','addDataFieldWithoutUnitInfo','STRING','delete','updateView','forEach','sheets-pivot.dateGroup.hour','#f4f4f5','body','_pivotRenderValueMatrixCache','NORMAL','sheets-pivot.emptyPivot.row','sheets-pivot.emptyPivot.column','getDataFieldByRangeKey','find','NUM','getSheetId'];_0x62fd=function(){return _0x282543;};return _0x62fd();}function rs(_0x27d465,_0x48618d){const _0x7a0aa4=_0x36bb8c,{fieldId:_0x1aa498,filterInfo:_0x1e8f6c}=_0x48618d,_0x398c92=_0x27d465[_0x7a0aa4(0x2bc)][_0x7a0aa4(0x1d2)](_0x186f32=>_0x186f32[_0x7a0aa4(0x274)]!==_0x1aa498);_0x1e8f6c&&_0x398c92[_0x7a0aa4(0x1fa)]({'fieldId':_0x1aa498,'filterInfo':_0x1e8f6c}),_0x27d465[_0x7a0aa4(0x2bc)]=_0x398c92;}function ls(_0x426100,_0x463f78){const _0x47d755=_0x36bb8c,{fieldId:_0xb5e647,subtotalType:_0x1b9aa7}=_0x463f78,_0x38ae98=Ge(_0x426100,_0xb5e647);_0x38ae98&&(_0x38ae98[_0x47d755(0x1cd)]=_0x1b9aa7);}function cs(_0x16ef98,_0x1ab332){const _0x449334=_0x36bb8c,{fieldId:_0x219ca4,oldArea:_0x46175a,area:_0x578094,oldIndex:_0xa66747,index:_0x266bf2}=_0x1ab332,_0x488b41=_0x46175a!==_0x4c5dc9[_0x449334(0x349)]&&_0x578094===_0x4c5dc9[_0x449334(0x349)],_0xcc69d4=_0x46175a===_0x4c5dc9[_0x449334(0x349)]&&_0x578094!==_0x4c5dc9[_0x449334(0x349)];if(_0x488b41||_0xcc69d4){const _0x214519=Ge(_0x16ef98,_0x219ca4);_0x214519&&(_0x488b41?(delete _0x16ef98['dimension'][_0x219ca4],_0x16ef98[_0x449334(0x189)][_0x219ca4]=_0x214519):(delete _0x16ef98[_0x449334(0x189)][_0x219ca4],_0x16ef98[_0x449334(0x308)][_0x219ca4]=_0x214519));}const _0x3ef35f=Nt(_0x16ef98,_0x46175a),_0x2e3fd0=Nt(_0x16ef98,_0x578094);_0x3ef35f[_0x449334(0x216)](_0xa66747,0x1),_0x2e3fd0['splice'](_0x266bf2,0x0,_0x219ca4);}function ds(_0x45fd18,_0x2b6750){const _0x34e332=_0x36bb8c,{valuePosition:_0x29fe2d,index:_0x5c75c6}=_0x2b6750;_0x45fd18[_0x34e332(0x257)]=_0x29fe2d,_0x45fd18[_0x34e332(0x173)]=_0x5c75c6;}function us(_0x211549,_0x4f5643){const _0x415059=_0x36bb8c,{tableFieldId:_0x941653,sourceName:_0x2047bd,dataFieldId:_0x284f3f}=_0x4f5643,_0x7fbd08=Ge(_0x211549,_0x941653);_0x7fbd08&&(_0x7fbd08['sourceName']=_0x2047bd,_0x7fbd08[_0x415059(0x342)]=_0x284f3f);}function fs(_0x2521d8,_0x243427){const _0x5b4319=_0x36bb8c,{fieldId:_0x23ab85,sortInfo:_0x18fcd0}=_0x243427,_0xb02d4=Ge(_0x2521d8,_0x23ab85);_0xb02d4&&(_0xb02d4[_0x5b4319(0x317)]=_0x18fcd0);}function gs(_0x7305e1,_0x9d30b5){const _0x1f3832=_0x36bb8c,{options:_0x1d5ef9}=_0x9d30b5;_0x7305e1[_0x1f3832(0x1cb)]={..._0x7305e1[_0x1f3832(0x1cb)],..._0x1d5ef9};}const $t={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x1e5),'handler'(_0x1dfd48,_0x1bd556){const _0x4d3b40=_0x36bb8c;if(!_0x1bd556)return!0x1;if(!!_0x1dfd48['get'](_0x44eb60)[_0x4d3b40(0x118)](X))return!0x0;const _0x406e79=_0x1dfd48['get']($),{pivotTableId:_0x5c491a,fieldJson:_0x400019,area:_0x49a71e,index:_0x5ccb4d,unitId:_0x584c52,subUnitId:_0x37d95f}=_0x1bd556,_0x4fbaf7=_0x406e79[_0x4d3b40(0x1e8)](_0x5c491a);if(!_0x4fbaf7)return!0x1;let _0x23d304;_0x49a71e===_0x4c5dc9['Value']?_0x23d304=_0x3d36c9(_0x400019):_0x23d304=_0xb7417b(_0x400019),_0x4fbaf7['addField'](_0x23d304,_0x49a71e,_0x5ccb4d);const _0x466509=_0x406e79[_0x4d3b40(0x12e)](_0x584c52,_0x37d95f,_0x5c491a);ts(_0x466509,_0x1bd556);const _0x5e98a7=_0x406e79[_0x4d3b40(0x1f0)](_0x584c52,_0x37d95f,_0x5c491a);return _0x406e79['addDirtyPivotTable']({'unitId':_0x584c52,'subUnitId':_0x37d95f,'token':_0x5c491a,'type':B[_0x4d3b40(0x227)],'pivotConfig':_0x5e98a7}),!0x0;}},Zt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x1fb),'handler'(_0x231a9b,_0x4811db){const _0x585565=_0x36bb8c;if(!_0x4811db)return!0x1;if(!!_0x231a9b[_0x585565(0x140)](_0x44eb60)[_0x585565(0x118)](X))return!0x0;const _0x57340f=_0x231a9b[_0x585565(0x140)]($),{pivotTableId:_0x435302,fieldId:_0x1e7558,unitId:_0x4bf95e,subUnitId:_0x4e05ef}=_0x4811db,_0x5320f5=_0x57340f[_0x585565(0x1e8)](_0x435302);if(!_0x5320f5)return!0x1;_0x5320f5[_0x585565(0x360)](_0x1e7558);const _0x4b438f=_0x57340f[_0x585565(0x12e)](_0x4bf95e,_0x4e05ef,_0x435302);os(_0x4b438f,_0x4811db);const _0x2c1cc1=_0x57340f[_0x585565(0x1f0)](_0x4bf95e,_0x4e05ef,_0x435302);return _0x57340f[_0x585565(0x2dd)]({'unitId':_0x4bf95e,'subUnitId':_0x4e05ef,'token':_0x435302,'type':B[_0x585565(0x227)],'pivotConfig':_0x2c1cc1}),!0x0;}},Gt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x2d3),'handler'(_0x22c6cd,_0x2d6a70){const _0x2b92bc=_0x36bb8c;if(!_0x2d6a70)return!0x1;if(!!_0x22c6cd[_0x2b92bc(0x140)](_0x44eb60)[_0x2b92bc(0x118)](X))return!0x0;const _0x10c05c=_0x22c6cd[_0x2b92bc(0x140)]($),{unitId:_0x49201a,subUnitId:_0x3deac5,pivotTableId:_0x1fb475,fieldId:_0x575a34,name:_0x1dcb61}=_0x2d6a70,_0x363d9d=_0x10c05c[_0x2b92bc(0x1e8)](_0x1fb475);if(!_0x363d9d)return!0x1;_0x363d9d[_0x2b92bc(0x2d4)](_0x575a34,_0x1dcb61);const _0x53c88a=_0x10c05c['getPivotTableModelConfig'](_0x49201a,_0x3deac5,_0x1fb475);return ns(_0x53c88a,_0x2d6a70),_0x10c05c['addDirtyPivotTable']({'unitId':_0x49201a,'subUnitId':_0x3deac5,'token':_0x1fb475,'type':B[_0x2b92bc(0x227)]}),!0x0;}},Wt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x277),'handler'(_0x300fd6,_0x4e35c6){const _0x3e048f=_0x36bb8c;if(!_0x4e35c6)return!0x1;if(!!_0x300fd6[_0x3e048f(0x140)](_0x44eb60)[_0x3e048f(0x118)](X))return!0x0;const _0x20cfb8=_0x300fd6['get']($),{unitId:_0x44ab37,subUnitId:_0x4ab4ae,pivotTableId:_0x46e0bc,fieldId:_0x202d81,collapse:_0x398be6,item:_0x179462}=_0x4e35c6,_0x1601e8=_0x20cfb8[_0x3e048f(0x1e8)](_0x46e0bc);if(!_0x1601e8)return!0x1;_0x1601e8[_0x3e048f(0x1f3)](_0x202d81,_0x398be6,_0x179462);const _0x1d5585=_0x20cfb8[_0x3e048f(0x12e)](_0x44ab37,_0x4ab4ae,_0x46e0bc);return is(_0x1d5585,_0x4e35c6),_0x20cfb8[_0x3e048f(0x2dd)]({'unitId':_0x44ab37,'subUnitId':_0x4ab4ae,'token':_0x46e0bc,'type':B['Set']}),!0x0;}},jt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x289),'handler'(_0x17dbe2,_0x4bb671){const _0x45b9e6=_0x36bb8c;if(!_0x4bb671)return!0x1;if(!!_0x17dbe2[_0x45b9e6(0x140)](_0x44eb60)['getConfig'](X))return!0x0;const _0x11a891=_0x17dbe2[_0x45b9e6(0x140)]($),{unitId:_0x22f38b,subUnitId:_0x5f3466,pivotTableId:_0x1942b5,fieldId:_0x47996c,format:_0x54960e}=_0x4bb671,_0x3d0e95=_0x11a891[_0x45b9e6(0x1e8)](_0x1942b5);if(!_0x3d0e95)return!0x1;_0x3d0e95[_0x45b9e6(0x1d9)](_0x47996c,_0x54960e);const _0xacfa1f=_0x11a891[_0x45b9e6(0x12e)](_0x22f38b,_0x5f3466,_0x1942b5);return ss(_0xacfa1f,_0x4bb671),_0x11a891[_0x45b9e6(0x2dd)]({'unitId':_0x22f38b,'subUnitId':_0x5f3466,'token':_0x1942b5,'type':B[_0x45b9e6(0x227)]}),!0x0;}},Kt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x324),'handler'(_0x53f750,_0x553ac3){const _0x1fd56f=_0x36bb8c;if(!_0x553ac3)return!0x1;if(!!_0x53f750[_0x1fd56f(0x140)](_0x44eb60)[_0x1fd56f(0x118)](X))return!0x0;const _0xa5a64c=_0x53f750[_0x1fd56f(0x140)]($),{unitId:_0x270731,subUnitId:_0xd5599c,pivotTableId:_0x5e3b5d,fieldId:_0x4f8391,filterInfo:_0x139a67}=_0x553ac3,_0x394816=_0xa5a64c[_0x1fd56f(0x1e8)](_0x5e3b5d);if(!_0x394816)return!0x1;_0x394816[_0x1fd56f(0x23a)](_0x4f8391,_0x139a67);const _0x3dc7ab=_0xa5a64c['getPivotTableModelConfig'](_0x270731,_0xd5599c,_0x5e3b5d);return as(_0x3dc7ab,_0x553ac3),_0xa5a64c[_0x1fd56f(0x2dd)]({'unitId':_0x270731,'subUnitId':_0xd5599c,'token':_0x5e3b5d,'type':B[_0x1fd56f(0x227)]}),!0x0;}},Ht={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x35a),'handler'(_0xf8f21f,_0x3ee359){const _0x30d504=_0x36bb8c;if(!_0x3ee359)return!0x1;if(!!_0xf8f21f[_0x30d504(0x140)](_0x44eb60)[_0x30d504(0x118)](X))return!0x0;const _0x4780ec=_0xf8f21f[_0x30d504(0x140)]($),{unitId:_0x56886a,subUnitId:_0x32793d,pivotTableId:_0x26780c,options:_0x17a8f5}=_0x3ee359,_0x4d7266=_0x4780ec[_0x30d504(0x1e8)](_0x26780c);if(!_0x4d7266)return!0x1;_0x4d7266[_0x30d504(0x154)](_0x17a8f5);const _0x535006=_0x4780ec[_0x30d504(0x12e)](_0x56886a,_0x32793d,_0x26780c);return gs(_0x535006,_0x3ee359),_0x4780ec['addDirtyPivotTable']({'unitId':_0x56886a,'subUnitId':_0x32793d,'token':_0x26780c,'type':B[_0x30d504(0x227)]}),!0x0;}},qt={'type':_0x4c39aa['MUTATION'],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x31f274,_0x1c93dd){const _0x2df7b5=_0x36bb8c;if(!_0x1c93dd)return!0x1;if(!!_0x31f274[_0x2df7b5(0x140)](_0x44eb60)[_0x2df7b5(0x118)](X))return!0x0;const _0x1a23b3=_0x31f274['get']($),{unitId:_0x18515f,subUnitId:_0x150fd6,pivotTableId:_0x5b54e8,sortInfo:_0x3aa1e3,fieldId:_0xe10b12}=_0x1c93dd,_0x3c7af5=_0x1a23b3[_0x2df7b5(0x1e8)](_0x5b54e8);if(!_0x3c7af5)return!0x1;_0x3c7af5[_0x2df7b5(0x17b)](_0xe10b12,_0x3aa1e3);const _0x2fe700=_0x1a23b3[_0x2df7b5(0x12e)](_0x18515f,_0x150fd6,_0x5b54e8);return fs(_0x2fe700,_0x1c93dd),_0x1a23b3['addDirtyPivotTable']({'unitId':_0x18515f,'subUnitId':_0x150fd6,'token':_0x5b54e8,'type':B[_0x2df7b5(0x227)]}),!0x0;}},Xt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x22f),'handler'(_0x40f436,_0x392001){const _0x3ff93d=_0x36bb8c;if(!_0x392001)return!0x1;if(!!_0x40f436[_0x3ff93d(0x140)](_0x44eb60)[_0x3ff93d(0x118)](X))return!0x0;const _0x5b6430=_0x40f436[_0x3ff93d(0x140)]($),{unitId:_0x311098,subUnitId:_0x28b48d,pivotTableId:_0x235014,fieldId:_0x4e9ef6,subtotalType:_0x5c15e4}=_0x392001,_0x5ca0c9=_0x5b6430['getPivotTableInstance'](_0x235014);if(!_0x5ca0c9)return!0x1;_0x5ca0c9[_0x3ff93d(0x139)](_0x4e9ef6,_0x5c15e4);const _0x10997e=_0x5b6430[_0x3ff93d(0x12e)](_0x311098,_0x28b48d,_0x235014);return ls(_0x10997e,_0x392001),_0x5b6430[_0x3ff93d(0x2dd)]({'unitId':_0x311098,'subUnitId':_0x28b48d,'token':_0x235014,'type':B[_0x3ff93d(0x227)]}),!0x0;}},Yt={'type':_0x4c39aa['MUTATION'],'id':_0x36bb8c(0x201),'handler'(_0x50cc71,_0x3fb27d){const _0x1d6c59=_0x36bb8c;if(!_0x3fb27d)return!0x1;if(!!_0x50cc71['get'](_0x44eb60)['getConfig'](X))return!0x0;const _0x3d96a9=_0x50cc71[_0x1d6c59(0x140)]($),{unitId:_0x415c20,subUnitId:_0x410d40,pivotTableId:_0x3d81cf,fieldId:_0x22ab9a,filterInfo:_0x447713}=_0x3fb27d,_0x13c509=_0x3d96a9['getPivotTableInstance'](_0x3d81cf);if(!_0x13c509)return!0x1;_0x13c509[_0x1d6c59(0x29d)](_0x22ab9a,_0x447713);const _0x59155b=_0x3d96a9[_0x1d6c59(0x12e)](_0x415c20,_0x410d40,_0x3d81cf);return rs(_0x59155b,_0x3fb27d),_0x3d96a9[_0x1d6c59(0x2dd)]({'unitId':_0x415c20,'subUnitId':_0x410d40,'token':_0x3d81cf,'type':B[_0x1d6c59(0x227)]}),!0x0;}},zt={'type':_0x4c39aa['MUTATION'],'id':_0x36bb8c(0x1ae),'handler'(_0x1e5b30,_0x38edce){const _0x195fd4=_0x36bb8c;if(!_0x38edce)return!0x1;if(!!_0x1e5b30[_0x195fd4(0x140)](_0x44eb60)[_0x195fd4(0x118)](X))return!0x0;const _0x5ec494=_0x1e5b30[_0x195fd4(0x140)]($),{unitId:_0x2103ba,subUnitId:_0x370b9b,pivotTableId:_0x32fa76,area:_0x18ce33,index:_0xff17ee,fieldId:_0x22deb9}=_0x38edce,_0x1768c4=_0x5ec494['getPivotTableInstance'](_0x32fa76);if(!_0x1768c4)return!0x1;_0x1768c4['updateFieldPosition'](_0x22deb9,_0x18ce33,_0xff17ee);const _0x587ab5=_0x5ec494['getPivotTableModelConfig'](_0x2103ba,_0x370b9b,_0x32fa76);return cs(_0x587ab5,_0x38edce),_0x5ec494[_0x195fd4(0x2dd)]({'unitId':_0x2103ba,'subUnitId':_0x370b9b,'token':_0x32fa76,'type':B['Set']}),!0x0;}},Qt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x36e),'handler'(_0x54b1af,_0x3e303d){const _0x440cf3=_0x36bb8c;if(!_0x3e303d)return!0x1;if(!!_0x54b1af[_0x440cf3(0x140)](_0x44eb60)[_0x440cf3(0x118)](X))return!0x0;const _0x315c05=_0x54b1af['get']($),{unitId:_0x2ae327,subUnitId:_0x190cbc,pivotTableId:_0x5d5f50,sourceName:_0xdbac43,dataFieldId:_0x239404,tableFieldId:_0x13af3a}=_0x3e303d,_0x502567=_0x315c05[_0x440cf3(0x1e8)](_0x5d5f50);if(!_0x502567)return!0x1;_0x502567[_0x440cf3(0x26c)](_0x13af3a,_0xdbac43,_0x239404);const _0x487689=_0x315c05[_0x440cf3(0x12e)](_0x2ae327,_0x190cbc,_0x5d5f50);return us(_0x487689,_0x3e303d),_0x315c05[_0x440cf3(0x2dd)]({'unitId':_0x2ae327,'subUnitId':_0x190cbc,'token':_0x5d5f50,'type':B[_0x440cf3(0x227)]}),!0x0;}},eo={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x27a),'handler'(_0x26bfda,_0x391b40){const _0x32bf9f=_0x36bb8c;if(!_0x391b40)return!0x1;if(!!_0x26bfda[_0x32bf9f(0x140)](_0x44eb60)[_0x32bf9f(0x118)](X))return!0x0;const _0x191508=_0x26bfda[_0x32bf9f(0x140)]($),{unitId:_0xe7a8e4,subUnitId:_0x48baa9,pivotTableId:_0x1afe30,valuePosition:_0x48a7dd,index:_0x3be33f}=_0x391b40,_0x1dffa7=_0x191508['getPivotTableInstance'](_0x1afe30);if(!_0x1dffa7)return!0x1;_0x1dffa7['updateValuePosition'](_0x48a7dd,_0x3be33f);const _0x17591a=_0x191508[_0x32bf9f(0x12e)](_0xe7a8e4,_0x48baa9,_0x1afe30);return ds(_0x17591a,_0x391b40),_0x191508[_0x32bf9f(0x2dd)]({'unitId':_0xe7a8e4,'subUnitId':_0x48baa9,'token':_0x1afe30,'type':B[_0x32bf9f(0x227)]}),!0x0;}};function me(_0x269dc3,_0xfd6d09,_0x5aa5e5){const _0x5af02f=_0x36bb8c,{pivotTableId:_0x4b817c,unitId:_0x5784b6,subUnitId:_0x32d52b}=_0xfd6d09,_0x95a2c6=[],_0x3d82b3=[];for(const _0x56d702 of _0x5aa5e5)switch(_0x56d702[_0x5af02f(0x350)]){case _0x5b2627['AddField']:{const {fieldJson:_0x4b5dce,area:_0x3cabd6,index:_0x57c608}=_0x56d702,_0x3fc92c={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldJson':_0x4b5dce,'area':_0x3cabd6,'index':_0x57c608},_0x172a04={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x4b5dce['id'],'area':_0x3cabd6,'index':_0x57c608};_0x95a2c6[_0x5af02f(0x1fa)]({'id':$t['id'],'params':_0x3fc92c}),_0x3d82b3[_0x5af02f(0x38e)]({'id':Zt['id'],'params':_0x172a04});}break;case _0x5b2627[_0x5af02f(0x311)]:{const {fieldId:_0x2dc747,newSubtotalType:_0x3efeb2,oldSubtotalType:_0xde34cf}=_0x56d702,_0x5b0a1f={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x2dc747,'subtotalType':_0x3efeb2};_0x95a2c6[_0x5af02f(0x1fa)]({'id':Xt['id'],'params':_0x5b0a1f});const _0x754dd2={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x2dc747,'subtotalType':_0xde34cf};_0x3d82b3[_0x5af02f(0x38e)]({'id':Xt['id'],'params':_0x754dd2});}break;case _0x5b2627[_0x5af02f(0x198)]:{const {fieldId:_0x1cdff0,fieldJson:_0x5d9ba0,area:_0x39735d,index:_0x5acb17}=_0x56d702,_0xf87eb2={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x1cdff0,'index':_0x5acb17,'area':_0x39735d};_0x95a2c6[_0x5af02f(0x1fa)]({'id':Zt['id'],'params':_0xf87eb2});const _0x351f6a={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldJson':_0x5d9ba0,'area':_0x39735d,'index':_0x5acb17};_0x3d82b3['unshift']({'id':$t['id'],'params':_0x351f6a});}break;case _0x5b2627[_0x5af02f(0x175)]:{const {fieldId:_0x2b0b28,oldName:_0x29c1b8,newName:_0x4ca119}=_0x56d702,_0x29356d={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x2b0b28,'name':_0x4ca119};_0x95a2c6[_0x5af02f(0x1fa)]({'id':Gt['id'],'params':_0x29356d});const _0x6a9e4a={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x2b0b28,'name':_0x29c1b8};_0x3d82b3[_0x5af02f(0x38e)]({'id':Gt['id'],'params':_0x6a9e4a});}break;case _0x5b2627[_0x5af02f(0x27f)]:{const {fieldId:_0x5b401f,oldFilterInfo:_0x13547f,newFilterInfo:_0x4b80fe}=_0x56d702,_0x33003d={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x5b401f,'filterInfo':_0x4b80fe};_0x95a2c6[_0x5af02f(0x1fa)]({'id':Kt['id'],'params':_0x33003d});const _0x1ad1d0={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x5b401f,'filterInfo':_0x13547f};_0x3d82b3[_0x5af02f(0x38e)]({'id':Kt['id'],'params':_0x1ad1d0});}break;case _0x5b2627[_0x5af02f(0x260)]:{const {fieldId:_0x257410,oldSortInfo:_0x1c1f77,newSortInfo:_0x15c078}=_0x56d702,_0x22c8ab={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x257410,'sortInfo':_0x15c078};_0x95a2c6['push']({'id':qt['id'],'params':_0x22c8ab});const _0x1c585c={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x257410,'sortInfo':_0x1c1f77};_0x3d82b3['unshift']({'id':qt['id'],'params':_0x1c585c});}break;case _0x5b2627[_0x5af02f(0x262)]:{const {oldOptions:_0x12bd93,newOptions:_0x439910}=_0x56d702,_0x48472e={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'options':_0x439910};_0x95a2c6[_0x5af02f(0x1fa)]({'id':Ht['id'],'params':_0x48472e});const _0x123966={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'options':_0x12bd93};_0x3d82b3[_0x5af02f(0x38e)]({'id':Ht['id'],'params':_0x123966});}break;case _0x5b2627[_0x5af02f(0x265)]:{const {oldArea:_0x42d53a,newArea:_0x572b4e,oldIndex:_0x7e2924,newIndex:_0x3ea523,fieldId:_0x368402}=_0x56d702,_0x514419={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x368402,'area':_0x572b4e,'index':_0x3ea523,'oldArea':_0x42d53a,'oldIndex':_0x7e2924};_0x95a2c6[_0x5af02f(0x1fa)]({'id':zt['id'],'params':_0x514419});const _0x56dfc1={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x368402,'area':_0x42d53a,'index':_0x7e2924,'oldArea':_0x572b4e,'oldIndex':_0x3ea523};_0x3d82b3[_0x5af02f(0x38e)]({'id':zt['id'],'params':_0x56dfc1});}break;case _0x5b2627[_0x5af02f(0x13a)]:{const {oldValuePosition:_0x39bf4b,newValuePosition:_0x170770,oldIndex:_0x4a2186,newIndex:_0x16453b}=_0x56d702,_0x2a1cab={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'valuePosition':_0x170770,'index':_0x16453b};_0x95a2c6[_0x5af02f(0x1fa)]({'id':eo['id'],'params':_0x2a1cab});const _0x548c97={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'valuePosition':_0x39bf4b,'index':_0x4a2186};_0x3d82b3[_0x5af02f(0x38e)]({'id':eo['id'],'params':_0x548c97});}break;case _0x5b2627['SetCollapse']:{const {fieldId:_0x3d79a6,collapse:_0x216913,item:_0x38131e}=_0x56d702,_0x2938d6={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x3d79a6,'collapse':_0x216913,'item':_0x38131e};_0x95a2c6['push']({'id':Wt['id'],'params':_0x2938d6});const _0x450f7d={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x3d79a6,'collapse':!_0x216913,'item':_0x38131e};_0x3d82b3['unshift']({'id':Wt['id'],'params':_0x450f7d});}break;case _0x5b2627[_0x5af02f(0x261)]:{const {newFormat:_0x2c418b,oldFormat:_0x42762d,fieldId:_0x5db9fd}=_0x56d702,_0x355b52={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x5db9fd,'format':_0x2c418b};_0x95a2c6[_0x5af02f(0x1fa)]({'id':jt['id'],'params':_0x355b52});const _0x2a2a16={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x5db9fd,'format':_0x42762d};_0x3d82b3[_0x5af02f(0x38e)]({'id':jt['id'],'params':_0x2a2a16});}break;case _0x5b2627[_0x5af02f(0x2bd)]:{const {tableFieldId:_0x42fa5f,oldSourceName:_0xbac685,newSourceName:_0x3e6a8b,oldDataFieldId:_0x2755bf,newDataFieldId:_0x111d3c}=_0x56d702,_0x144ad5={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'tableFieldId':_0x42fa5f,'sourceName':_0x3e6a8b,'dataFieldId':_0x111d3c};_0x95a2c6[_0x5af02f(0x1fa)]({'id':Qt['id'],'params':_0x144ad5});const _0x4615b1={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'tableFieldId':_0x42fa5f,'sourceName':_0xbac685,'dataFieldId':_0x2755bf};_0x3d82b3[_0x5af02f(0x38e)]({'id':Qt['id'],'params':_0x4615b1});}break;case _0x5b2627[_0x5af02f(0x314)]:{const {fieldId:_0x316e7d,filterInfo:_0x450f89,oldFilterInfo:_0x27c703}=_0x56d702,_0x2f57dd={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x316e7d,'filterInfo':_0x450f89};_0x95a2c6[_0x5af02f(0x1fa)]({'id':Yt['id'],'params':_0x2f57dd});const _0x54a9d7={'unitId':_0x5784b6,'subUnitId':_0x32d52b,'pivotTableId':_0x4b817c,'fieldId':_0x316e7d,'filterInfo':_0x27c703};_0x3d82b3['unshift']({'id':Yt['id'],'params':_0x54a9d7});}}return{'redos':_0x95a2c6,'undos':_0x3d82b3};}function _e(_0x4374f8,_0x3fe981){const _0x597eac=_0x36bb8c;var _0x3c31aa;const _0x1a2c88=_0x4374f8[_0x597eac(0x140)](ie),{cellInfo:_0x147618,view:_0x1442b3,isEmpty:_0x37f16a}=_0x3fe981;return(_0x3c31aa=_0x1a2c88[_0x597eac(0x30c)][_0x597eac(0x12d)]($o)(So,{'cellInfo':_0x147618,'view':_0x1442b3,'isEmpty':_0x37f16a}))!=null?_0x3c31aa:So;}const hs={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x371),async 'handler'(_0x352eb9,_0x326021){const _0xf442f2=_0x36bb8c;if(!_0x326021)return!0x1;const _0x59d25e=_0x352eb9[_0xf442f2(0x140)](_0x2e7974),_0x50b723=_0x352eb9[_0xf442f2(0x140)](z),_0x4b5183=_0x352eb9[_0xf442f2(0x140)](_0x91007),{pivotTableId:_0x229b80,dataFieldId:_0x38808e,fieldArea:_0x1bfa8e,index:_0x1a6512,unitId:_0x1f9aa8,subUnitId:_0x2d7213}=_0x326021,_0x59882c=(await _0x50b723[_0xf442f2(0x347)]({'unitId':_0x1f9aa8,'subUnitId':_0x2d7213,'pivotTableId':_0x229b80,'params':{'type':k[_0xf442f2(0x249)],'addPivotField':{'dataFieldId':_0x38808e,'fieldArea':_0x1bfa8e,'index':_0x1a6512}}}))[_0xf442f2(0x38d)]['addPivotField'];if(!_0x59882c)return!0x1;const {view:_0xefb609,changesets:_0x2e36d4,isEmpty:_0x5f1d9c,pivotTableConfig:_0x319c49,shouldBeAddedGroupJSON:_0x1c9468}=_0x59882c,_0x578f3e=_0x319c49['targetCellInfo'],_0x165958=new _0x43b8f2();_0x165958[_0xf442f2(0x296)](_0xefb609);const _0x12040a={'cellInfo':_0x578f3e,'view':_0x165958,'isEmpty':_0x5f1d9c};if(!await _0x352eb9[_0xf442f2(0x140)](ie)['asyncInterceptor'][_0xf442f2(0x26f)](be)(!0x0,_0x12040a))return!0x1;const _0x52ac1c=Me(_0x352eb9,_0x165958,_0x578f3e,_0x5f1d9c),_0xefffac=_e(_0x352eb9,_0x12040a),{undos:_0x2b0523,redos:_0x2ea059}=me(_0x59d25e,{'pivotTableId':_0x229b80,'unitId':_0x1f9aa8,'subUnitId':_0x2d7213},_0x2e36d4);return _0x1c9468&&(_0x2ea059[_0xf442f2(0x38e)]({'id':Xo['id'],'params':{'pivotTableId':_0x229b80,'fieldJSON':_0x1c9468,'unitId':_0x1f9aa8,'subUnitId':_0x2d7213}}),_0x2b0523[_0xf442f2(0x1fa)]({'id':Yo['id'],'params':{'pivotTableId':_0x229b80,'dataFieldId':_0x1c9468['id'],'unitId':_0x1f9aa8,'subUnitId':_0x2d7213}})),_0x302e90([..._0x52ac1c[_0xf442f2(0x23d)],..._0xefffac[_0xf442f2(0x23d)],..._0x2ea059],_0x59d25e),_0x4b5183[_0xf442f2(0x18f)]({'unitID':_0x1f9aa8,'redoMutations':[..._0x52ac1c[_0xf442f2(0x23d)],..._0xefffac[_0xf442f2(0x23d)],..._0x2ea059],'undoMutations':[..._0x52ac1c[_0xf442f2(0x1c5)],..._0xefffac[_0xf442f2(0x1c5)],..._0x2b0523]}),!0x0;}},vs=()=>typeof process<'u'&&process['versions']!=null&&process[_0x36bb8c(0x1c3)][_0x36bb8c(0x28e)]!=null,Ct={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x134),'handler'(_0x5c6cfd,_0x27822c){const _0x59e7c0=_0x36bb8c;var _0x359b01;if(!_0x27822c)return!0x1;const _0x217da4=_0x5c6cfd[_0x59e7c0(0x140)](_0x44eb60);if(!!_0x217da4[_0x59e7c0(0x118)](X))return!0x0;const _0x1274ad=_0x5c6cfd[_0x59e7c0(0x140)](_0x12f544),_0x5e9a9f=_0x5c6cfd[_0x59e7c0(0x140)]($),{pivotTableId:_0x20283b,pivotTableConfig:_0x3807c2,collectionConfig:_0x3a0c8b,unitId:_0x49ced0,subUnitId:_0x2f47fe}=_0x27822c,{sourceRangeInfo:_0x34a2e4,fieldsConfig:_0x4e8e6d,targetCellInfo:_0x567f60}=_0x3807c2,_0x4f85f4=_0x1274ad['getUnit'](_0x49ced0);if(!_0x4f85f4||!_0x4f85f4[_0x59e7c0(0x2db)](_0x2f47fe))return!0x1;if(!vs()){let _0x3eff3c=0x0;_0x4f85f4['getSheets']()[_0x59e7c0(0x2af)](_0x232d6d=>{const _0x3deabb=_0x59e7c0;var _0x13d952,_0x2b0fdf;_0x3eff3c+=(_0x2b0fdf=(_0x13d952=_0x5e9a9f[_0x3deabb(0x38f)](_0x49ced0,_0x232d6d[_0x3deabb(0x2ba)]()))==null?void 0x0:_0x13d952[_0x3deabb(0x158)])!=null?_0x2b0fdf:0x0;});const _0xf9068c=(_0x359b01=_0x217da4['getConfig'](_0x262321))!=null?_0x359b01:{},{ls:_0x3f1d4a,pbk:_0x38d1df}=_0xf9068c;if(!jo(_0x3f1d4a,_0x38d1df))throw new _0x373746(_0x59e7c0(0x387));const _0xf9399e=go(so,_0x3f1d4a,_0x38d1df)[_0x59e7c0(0x195)];if(_0x3eff3c>=_0xf9399e)throw new _0x373746(_0x59e7c0(0x387));}if(!_0x3a0c8b||!_0x4e8e6d)return!0x1;const {collection:_0x38329d,updateDataFieldList:_0x25b3eb}=_0x5e9a9f['addCollectionByJSON'](_0x20283b,_0x3a0c8b,_0x34a2e4,_0x567f60);_0x5e9a9f[_0x59e7c0(0x2a5)](_0x38329d,_0x25b3eb,_0x34a2e4);const _0x1ef438=new _0x37e502(_0x38329d,void 0x0,_0x20283b);_0x1ef438[_0x59e7c0(0x210)](_0x4e8e6d);const _0x4847d6=JSON['parse'](JSON['stringify'](_0x3807c2));return _0x5e9a9f[_0x59e7c0(0x292)](_0x49ced0,_0x2f47fe,_0x20283b,_0x1ef438,_0x4847d6),_0x5e9a9f[_0x59e7c0(0x2dd)]({'unitId':_0x49ced0,'subUnitId':_0x2f47fe,'token':_0x20283b,'type':B[_0x59e7c0(0x366)],'pivotConfig':_0x4847d6}),!0x0;}},ps={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x17f),async 'handler'(_0x230696,_0xbb9ed3){const _0x2065e6=_0x36bb8c;if(!_0xbb9ed3)return!0x1;const {sourceDataInfo:_0x41eb62,pivotTableConfig:_0x5b593c}=_0xbb9ed3;if(!_0x41eb62||!_0x5b593c)return!0x1;const {unitId:_0x210d71,subUnitId:_0x2bf2bd,range:_0xde8497}=_0x41eb62,_0x5d37be=_0x230696[_0x2065e6(0x140)](_0x12f544),_0x44fe8a=_0x230696[_0x2065e6(0x140)](z),_0x57e26c=_0x230696['get'](_0x23e253),_0x24290d=_0x230696[_0x2065e6(0x140)](_0x2e7974),_0xc76b23=_0x5d37be['getUnit'](_0x210d71);if(!_0xc76b23)return!0x1;const _0x302890=_0xc76b23[_0x2065e6(0x2db)](_0x2bf2bd);if(!_0x302890)return!0x1;const _0x2cc442=_0x5a6e84(0x8),_0x357572=_0xde8497||{'startRow':0x0,'startColumn':0x0,'endRow':_0x302890[_0x2065e6(0x37f)]()-0x1,'endColumn':_0x302890['getColumnCount']()-0x1};_0x357572[_0x2065e6(0x379)]=_0x1000fc[_0x2065e6(0x2b4)];const _0x27d3b4=(await _0x44fe8a[_0x2065e6(0x347)]({'unitId':_0x210d71,'subUnitId':_0x2bf2bd,'pivotTableId':_0x2cc442,'params':{'type':k[_0x2065e6(0x188)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x210d71,'sheetName':_0x302890[_0x2065e6(0x1f5)](),'subUnitId':_0x2bf2bd,'range':_0x357572},'pivotTableId':_0x2cc442,'pivotTableIndexConfig':_0x5b593c}}}))[_0x2065e6(0x38d)]['addPivotTableWithConfig'];if(!_0x27d3b4)return!0x1;const {isEmpty:_0x608554,fieldsConfig:_0x4d367a,collectionConfig:_0x135b79,changesets:_0x4b3c3b}=_0x27d3b4,_0x40a900=_0xc76b23[_0x2065e6(0x272)]()[_0x2065e6(0x32f)],_0x3a6dd7=_0x46035c({'rowCount':_0x302890[_0x2065e6(0x37f)]()-0x1,'columnCount':_0x302890[_0x2065e6(0x200)]()-0x1});_0x3a6dd7['id']=_0x39c850(),_0x3a6dd7[_0x2065e6(0x181)]=_0xc76b23[_0x2065e6(0x1c0)](''+_0x57e26c['t'](_0x2065e6(0x1c6)));const _0x150478={'index':_0x40a900,'sheet':_0x3a6dd7,'unitId':_0x210d71},{redos:_0x3dfd73}=me(_0x24290d,{'pivotTableId':_0x2cc442,'unitId':_0x210d71,'subUnitId':_0x3a6dd7['id']},_0x4b3c3b),_0x1b175b=[{'id':_0x32b593['id'],'params':_0x150478},{'id':Ct['id'],'params':{'unitId':_0x210d71,'subUnitId':_0x3a6dd7['id'],'pivotTableId':_0x2cc442,'pivotTableConfig':{'isEmpty':_0x608554,'fieldsConfig':_0x4d367a,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x210d71,'subUnitId':_0x3a6dd7['id']},'sourceRangeInfo':{'subUnitId':_0x2bf2bd,'unitId':_0x210d71,'range':_0x357572,'sheetName':_0x302890[_0x2065e6(0x1f5)]()}},'collectionConfig':_0x135b79}},..._0x3dfd73];return _0x302e90(_0x1b175b,_0x24290d),!0x0;}},Ot={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x1bad9b,_0x17f0f8){const _0x228a44=_0x36bb8c;if(!_0x17f0f8)return!0x1;if(!!_0x1bad9b[_0x228a44(0x140)](_0x44eb60)[_0x228a44(0x118)](X))return!0x0;const {pivotTableId:_0x322b83,unitId:_0x52af9f,subUnitId:_0x4e1f1e}=_0x17f0f8,_0x500ca7=_0x1bad9b[_0x228a44(0x140)]($);return _0x500ca7[_0x228a44(0x1f0)](_0x52af9f,_0x4e1f1e,_0x322b83)?(_0x500ca7['addDirtyPivotTable']({'unitId':_0x52af9f,'subUnitId':_0x4e1f1e,'token':_0x322b83,'type':B[_0x228a44(0x333)]}),_0x500ca7[_0x228a44(0x15b)](_0x52af9f,_0x4e1f1e,_0x322b83),!0x0):!0x1;}},ms={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x29a),async 'handler'(_0x527240,_0x11225c){const _0x10deb1=_0x36bb8c;var _0xc9ab9f,_0x16a888;const _0x174be4=_0x527240[_0x10deb1(0x140)](_0x2e7974),_0x3a8160=_0x527240[_0x10deb1(0x140)](_0x12f544),_0x1db134=_0x527240[_0x10deb1(0x140)](_0x23e253),_0x4814ad=_0x527240[_0x10deb1(0x140)](z),_0x3f568c=_0x527240[_0x10deb1(0x140)](_0x91007),_0x13f540=_0x527240[_0x10deb1(0x140)](ve),_0x1104d2=_0x527240[_0x10deb1(0x140)](_0x44eb60);if(!_0x11225c)return!0x1;const {pivotTableConfig:_0x14f3fb,positionType:_0x6b6a32}=_0x11225c,{targetCellInfo:_0x4d6e33,sourceRangeInfo:_0xe8797d}=_0x14f3fb,{unitId:_0x1b303d,subUnitId:_0x1198d9}=_0x4d6e33,_0x366f34=_0x3a8160[_0x10deb1(0x345)](_0x1b303d);if(!_0x366f34)return!0x1;let _0x56fd3d=0x0;_0x366f34['getSheets']()[_0x10deb1(0x2af)](_0x36942c=>{const _0x4912bb=_0x10deb1;var _0x39a400,_0x5182c4;_0x56fd3d+=(_0x5182c4=(_0x39a400=_0x13f540[_0x4912bb(0x38f)](_0x1b303d,_0x36942c[_0x4912bb(0x2ba)]()))==null?void 0x0:_0x39a400[_0x4912bb(0x158)])!=null?_0x5182c4:0x0;});const _0x3af673=(_0xc9ab9f=_0x1104d2[_0x10deb1(0x118)](_0x262321))!=null?_0xc9ab9f:{},{ls:_0x236352,pbk:_0x1dcdbe}=_0x3af673;if(!jo(_0x236352,_0x1dcdbe))return!0x1;const _0x476a9d=go(so,_0x236352,_0x1dcdbe)['count'];if(_0x56fd3d>=_0x476a9d)return!0x1;const _0xbee5be=_0x11225c[_0x10deb1(0x1b5)]||_0x5a6e84(0x8),_0x51846b=(await _0x4814ad['getPivotDisplayConfig']({'unitId':_0x1b303d,'subUnitId':_0x1198d9,'pivotTableId':_0xbee5be,'params':{'type':k[_0x10deb1(0x2fd)],'addPivotTable':{'sourceRangeInfo':_0xe8797d,'pivotTableId':_0xbee5be}}}))[_0x10deb1(0x38d)][_0x10deb1(0x292)];if(!_0x51846b)return!0x1;const {view:_0x26b376,isEmpty:_0x41d8d4,fieldsConfig:_0x3c659d,collectionConfig:_0x32a6b6}=_0x51846b,_0x47660a=[],_0x1bfafc=[];if(_0x6b6a32===Jo[_0x10deb1(0x352)]){const _0x788c7d=_0x366f34[_0x10deb1(0x272)]()['length'],_0x2ec4b0=_0x46035c({});_0x2ec4b0['id']=_0x14f3fb[_0x10deb1(0x17c)][_0x10deb1(0x247)],_0x2ec4b0[_0x10deb1(0x181)]=(_0x16a888=_0x14f3fb['targetCellInfo'][_0x10deb1(0x30d)])!=null?_0x16a888:_0x366f34['generateNewSheetName'](''+_0x1db134['t'](_0x10deb1(0x1c6)));const _0xdce73a={'index':_0x788c7d,'sheet':_0x2ec4b0,'unitId':_0x1b303d},_0x40502b=_0x43d5bc(_0x527240,_0xdce73a);_0x47660a[_0x10deb1(0x1fa)]({'id':_0x2d67ab['id'],'params':_0x40502b}),_0x1bfafc[_0x10deb1(0x1fa)]({'id':_0x546a4c['id'],'params':_0xdce73a});}else{if(!_0x366f34[_0x10deb1(0x2db)](_0x1198d9))return!0x1;const _0x1f1e57=Me(_0x527240,new _0x43b8f2(),_0x4d6e33,!0x0);_0x1bfafc[_0x10deb1(0x1fa)](..._0x1f1e57[_0x10deb1(0x23d)]),_0x47660a[_0x10deb1(0x1fa)](..._0x1f1e57['undos']);const _0x21124f={'cellInfo':_0x4d6e33,'view':_0x26b376,'isEmpty':_0x41d8d4};if(!await _0x527240[_0x10deb1(0x140)](ie)[_0x10deb1(0x1bf)][_0x10deb1(0x26f)](be)(!0x0,_0x21124f))return!0x1;const _0x7689cd=_e(_0x527240,_0x21124f);_0x1bfafc[_0x10deb1(0x1fa)](..._0x7689cd[_0x10deb1(0x23d)]),_0x47660a['push'](..._0x7689cd['undos']);}return _0x1bfafc[_0x10deb1(0x1fa)]({'id':Ct['id'],'params':{'unitId':_0x4d6e33['unitId'],'subUnitId':_0x4d6e33[_0x10deb1(0x247)],'pivotTableId':_0xbee5be,'pivotTableConfig':{'targetCellInfo':_0x4d6e33,'sourceRangeInfo':_0xe8797d,'fieldsConfig':_0x3c659d},'collectionConfig':_0x32a6b6}}),_0x47660a['unshift']({'id':Ot['id'],'params':{'unitId':_0x1b303d,'subUnitId':_0x1198d9,'pivotTableId':_0xbee5be}}),_0x302e90(_0x1bfafc,_0x174be4)&&_0x3f568c[_0x10deb1(0x18f)]({'unitID':_0x1b303d,'undoMutations':_0x47660a,'redoMutations':_0x1bfafc}),!0x0;}},Is={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x512413,_0x3733e0){const _0x405390=_0x36bb8c;if(!_0x3733e0)return!0x1;const _0x4ffd0a=_0x512413[_0x405390(0x140)](_0x2e7974),_0x2a3262=_0x512413[_0x405390(0x140)](z),_0xc21046=_0x512413[_0x405390(0x140)](_0x91007),{pivotTableId:_0x541d4c,fieldId:_0x2f8deb,area:_0x17a1dd,index:_0x238352,unitId:_0x36647c,subUnitId:_0x207de5}=_0x3733e0,_0xbb11af=(await _0x2a3262[_0x405390(0x347)]({'unitId':_0x36647c,'subUnitId':_0x207de5,'pivotTableId':_0x541d4c,'params':{'type':k[_0x405390(0x39c)],'movePivotField':{'fieldId':_0x2f8deb,'area':_0x17a1dd,'index':_0x238352}}}))[_0x405390(0x38d)][_0x405390(0x278)];if(!_0xbb11af)return!0x1;const {changesets:_0x24e525,view:_0x144666,isEmpty:_0x53aa51,pivotTableConfig:_0x4d2f9b}=_0xbb11af,_0x15398f=_0x4d2f9b[_0x405390(0x17c)],_0x208c95=new _0x43b8f2();_0x208c95[_0x405390(0x296)](_0x144666);const _0x535e89={'cellInfo':_0x15398f,'view':_0x208c95,'isEmpty':_0x53aa51};if(!await _0x512413[_0x405390(0x140)](ie)['asyncInterceptor'][_0x405390(0x26f)](be)(!0x0,_0x535e89))return!0x1;const _0x3b6330=Me(_0x512413,_0x208c95,_0x15398f,_0x53aa51),_0x147e00=_e(_0x512413,_0x535e89),{redos:_0x2b7d0f,undos:_0x2ee99a}=me(_0x4ffd0a,{'pivotTableId':_0x541d4c,'unitId':_0x36647c,'subUnitId':_0x207de5},_0x24e525);return _0x302e90([..._0x3b6330['redos'],..._0x147e00[_0x405390(0x23d)],..._0x2b7d0f],_0x4ffd0a),_0xc21046[_0x405390(0x18f)]({'unitID':_0x36647c,'redoMutations':[..._0x3b6330[_0x405390(0x23d)],..._0x147e00[_0x405390(0x23d)],..._0x2b7d0f],'undoMutations':[..._0x3b6330['undos'],..._0x147e00['undos'],..._0x2ee99a]}),!0x0;}},pt={'type':_0x4c39aa['MUTATION'],'id':_0x36bb8c(0x363),'handler'(_0x3424de,_0x2d037d){const _0x1e1de9=_0x36bb8c;if(!_0x2d037d)return!0x1;if(!!_0x3424de['get'](_0x44eb60)[_0x1e1de9(0x118)](X))return!0x0;const {pivotTableId:_0x4cfbff,targetCellPosition:_0x407c71,unitId:_0x40cacf,subUnitId:_0x5e4cd1}=_0x2d037d,_0x4cfe35=_0x3424de['get']($);if(!_0x4cfe35[_0x1e1de9(0x1e8)](_0x2d037d[_0x1e1de9(0x1b5)]))return!0x1;const _0x20497a=_0x4cfe35['getTargetByPivotId'](_0x4cfbff);if(!_0x20497a)return!0x1;const _0x31f9c0=_0x4cfe35[_0x1e1de9(0x178)](_0x20497a[_0x1e1de9(0x28f)],_0x2d037d[_0x1e1de9(0x1b5)]);if(!_0x31f9c0)return!0x1;const _0x43fd86=_0x4cfe35[_0x1e1de9(0x1f0)](_0x20497a[_0x1e1de9(0x28f)],_0x20497a[_0x1e1de9(0x247)],_0x4cfbff);if(!_0x43fd86)return!0x1;const _0x509b57=_0xf00f3[_0x1e1de9(0x2ff)](_0x43fd86);_0x509b57['targetCellInfo']={'unitId':_0x40cacf,'subUnitId':_0x5e4cd1,'row':_0x407c71[_0x1e1de9(0x237)],'col':_0x407c71[_0x1e1de9(0x348)]};const _0x1a1f66=_0x31f9c0[_0x1e1de9(0x298)]();if(_0x20497a['subUnitId']===_0x5e4cd1&&_0x20497a['unitId']===_0x40cacf)_0x4cfe35['setPivotTable'](_0x40cacf,_0x5e4cd1,_0x4cfbff,_0x509b57),_0x4cfe35['addDirtyPivotTable']({'unitId':_0x40cacf,'subUnitId':_0x5e4cd1,'token':_0x4cfbff,'type':B[_0x1e1de9(0x227)]});else{_0x4cfe35[_0x1e1de9(0x2dd)]({'unitId':_0x20497a['unitId'],'subUnitId':_0x20497a['subUnitId'],'token':_0x4cfbff,'type':B[_0x1e1de9(0x333)]}),_0x4cfe35[_0x1e1de9(0x15b)](_0x20497a['unitId'],_0x20497a[_0x1e1de9(0x247)],_0x4cfbff);const _0x47c1a1=_0x4cfe35[_0x1e1de9(0x2cb)](_0x4cfbff,_0x1a1f66,_0x43fd86['sourceRangeInfo'],_0x509b57[_0x1e1de9(0x17c)]),_0x6ee625=new _0x37e502(_0x47c1a1[_0x1e1de9(0x2e9)],void 0x0,_0x4cfbff);_0x6ee625[_0x1e1de9(0x210)](_0x509b57[_0x1e1de9(0x31a)]),_0x4cfe35[_0x1e1de9(0x292)](_0x40cacf,_0x5e4cd1,_0x4cfbff,_0x6ee625,_0x509b57),_0x4cfe35[_0x1e1de9(0x2dd)]({'unitId':_0x40cacf,'subUnitId':_0x5e4cd1,'token':_0x4cfbff,'type':B['Add'],'pivotConfig':_0x509b57});}return!0x0;}},Cs={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':'sheet.command.move-pivot-table','handler':(_0x52f321,_0x1e8a2b)=>{const _0x5b4b56=_0x36bb8c,_0x4e0b16=_0x52f321[_0x5b4b56(0x140)](_0x2e7974),_0xbb9b1e=_0x52f321[_0x5b4b56(0x140)](_0x91007),_0x41d612=_0x52f321[_0x5b4b56(0x140)](ve),_0x1ce998=_0x52f321[_0x5b4b56(0x140)](_0x12f544);if(!_0x1e8a2b)return!0x1;const _0x59ec2f=_0x4c89c6(_0x1ce998);if(!_0x59ec2f)return!0x1;const {unitId:_0xcad1db,subUnitId:_0x10488f,workbook:_0x9ff8ec}=_0x59ec2f,_0x44688c=_0x41d612['getPivotTableConfig'](_0x1e8a2b[_0x5b4b56(0x1a5)]['unitId'],_0x1e8a2b['originTargetInfo']['subUnitId'],_0x1e8a2b[_0x5b4b56(0x1b5)]);if(!_0x44688c)return!0x1;const _0x4f7f17=_0x9ff8ec['getSheetBySheetId'](_0x1e8a2b[_0x5b4b56(0x17c)][_0x5b4b56(0x247)]);if(!_0x4f7f17)throw new Error(_0x5b4b56(0x2eb));const _0x546310=_0x4f7f17[_0x5b4b56(0x37f)](),_0x1bb09a=_0x4f7f17['getColumnCount']();if(_0x1e8a2b[_0x5b4b56(0x17c)][_0x5b4b56(0x237)]>_0x546310||_0x1e8a2b[_0x5b4b56(0x17c)][_0x5b4b56(0x348)]>_0x1bb09a)throw new Error(_0x5b4b56(0x235));const _0x3a1cc9=[{'id':pt['id'],'params':{'unitId':_0xcad1db,'subUnitId':_0x1e8a2b[_0x5b4b56(0x17c)][_0x5b4b56(0x247)],'pivotTableId':_0x1e8a2b['pivotTableId'],'targetCellPosition':{'row':_0x1e8a2b[_0x5b4b56(0x17c)]['row'],'col':_0x1e8a2b[_0x5b4b56(0x17c)][_0x5b4b56(0x348)]}}}],_0x55dede=[{'id':pt['id'],'params':{'unitId':_0xcad1db,'subUnitId':_0x10488f,'pivotTableId':_0x1e8a2b[_0x5b4b56(0x1b5)],'targetCellPosition':{'row':_0x44688c['targetCellInfo'][_0x5b4b56(0x237)],'col':_0x44688c[_0x5b4b56(0x17c)]['col']}}}];return _0x302e90(_0x3a1cc9,_0x4e0b16)&&_0xbb9b1e[_0x5b4b56(0x18f)]({'unitID':_0xcad1db,'undoMutations':_0x55dede,'redoMutations':_0x3a1cc9}),!0x0;}},bs={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x14b),async 'handler'(_0x4376aa,_0x4dffdf){const _0x31e035=_0x36bb8c;var _0x369d30;if(!_0x4dffdf)return!0x1;const _0xb4ed0=_0x4376aa[_0x31e035(0x140)](_0x12f544),_0x326388=_0x4c89c6(_0xb4ed0);if(!_0x326388)return!0x1;const {unitId:_0x14900b,subUnitId:_0x5e3fdd,workbook:_0x191b95}=_0x326388,{row:_0x1997c2,col:_0x552342}=_0x4dffdf,_0x11c02e=_0x4376aa[_0x31e035(0x140)](Ne),_0x37e755=_0x11c02e[_0x31e035(0x355)](_0x14900b,_0x5e3fdd,_0x1997c2,_0x552342);if(!_0x37e755)return!0x1;const _0xab853d=(_0x369d30=_0x11c02e[_0x31e035(0x1f4)](_0x14900b,_0x5e3fdd,_0x37e755))==null?void 0x0:_0x369d30[_0x31e035(0x33f)];if(!_0xab853d)return!0x1;const _0x292d20=_0x4376aa['get'](ve)['getPivotTableConfig'](_0x14900b,_0x5e3fdd,_0x37e755);if(!_0x292d20)return!0x1;const {rowInfo:_0xb9fd5b,colInfo:_0x5676df}=_0xab853d,_0x4d627f=_0xb9fd5b[_0x1997c2][_0x31e035(0x35d)],_0x5041de=_0x5676df[_0x552342][_0x31e035(0x35d)],_0x172b8a=_0xb9fd5b[_0x1997c2][_0x31e035(0x206)],_0x335893=_0x5676df[_0x552342]['level'],_0x54482b=_0x4d627f[_0x31e035(0x146)](_0x5041de),_0x31d835=_0x292d20[_0x31e035(0x31a)][_0x31e035(0x152)]['slice'](0x0,_0x172b8a),_0x435f10=_0x292d20['fieldsConfig']['columnFields'][_0x31e035(0x2be)](0x0,_0x335893),_0x3ed953=_0x31d835[_0x31e035(0x146)](_0x435f10),_0x4ed0d5=_0x54482b['map']((_0x250bf9,_0x346f6)=>[_0x250bf9,_0x3ed953[_0x346f6]]),_0x4568bb=(await _0x4376aa['get'](z)[_0x31e035(0x347)]({'unitId':_0x14900b,'subUnitId':_0x5e3fdd,'pivotTableId':_0x37e755,'params':{'type':k[_0x31e035(0x259)],'drillDown':{'tuple':_0x4ed0d5}}}))[_0x31e035(0x38d)]['drillDown'];if(!_0x4568bb)return!0x1;const {indexes:_0x12de53,range:_0x311c57,sourceUnitId:_0x4c771b,sourceSubUnitId:_0x1d7e06,formatMap:_0x1a725d}=_0x4568bb,{startRow:_0xf65387,endRow:_0x4bef96,startColumn:_0x3e12d3,endColumn:_0x43c131}=_0x311c57,_0x19a5bd=new _0x828916(),_0x5dd034=_0x4bef96-_0xf65387,_0x279177=_0x43c131-_0x3e12d3,_0x2b01f4={},_0x47f184=_0x4c89c6(_0xb4ed0,{'unitId':_0x4c771b,'subUnitId':_0x1d7e06});if(!_0x47f184)return!0x1;const _0x3e85e2=fe[_0x31e035(0x21f)],_0x437d90=fe[_0x31e035(0x179)],_0x5584c4=fe[_0x31e035(0x179)],_0x1f0615=_0x191b95[_0x31e035(0x2f0)]()[_0x31e035(0x162)](_0x3e85e2),_0x5aec88=_0x191b95[_0x31e035(0x2f0)]()[_0x31e035(0x162)](_0x437d90),_0x321113=_0x191b95[_0x31e035(0x2f0)]()[_0x31e035(0x162)](_0x5584c4),{worksheet:_0x5aea4c}=_0x47f184;let _0x8c426a=0x0;const _0x496183=0x1;_0x12de53['forEach'](_0x1ce794=>{const _0x2a8af5=_0x31e035;for(let _0x1bc019=0x0;_0x1bc019<=_0x43c131-_0x3e12d3;_0x1bc019++)_0x19a5bd['setValue'](_0x8c426a,_0x1bc019,_0x5aea4c[_0x2a8af5(0x19b)](_0x1ce794+_0x311c57[_0x2a8af5(0x28d)]+_0x496183,_0x1bc019));_0x8c426a++;});for(let _0x2705bc=_0x3e12d3;_0x2705bc<=_0x43c131;_0x2705bc++){const _0x53cc3c=_0x5aea4c['getCellRaw'](_0xf65387,_0x2705bc);_0x2b01f4[_0xf65387]||(_0x2b01f4[_0xf65387]={}),_0x2b01f4[_0xf65387][_0x2705bc]={..._0x53cc3c,'s':_0x1f0615};}let _0x3e94e8=0x1;const _0x2130e3={},_0x2187f1={};_0x19a5bd[_0x31e035(0x293)]((_0x5286e6,_0x17b418)=>{const _0x425fa9=_0x31e035;_0x17b418[_0x425fa9(0x2af)](_0x95c611=>{const _0x47f3f2=_0x425fa9,_0xb0ef30=_0x19a5bd['getValue'](_0x5286e6,_0x95c611);if(_0x2b01f4[_0x3e94e8]||(_0x2b01f4[_0x3e94e8]={}),_0x2b01f4[_0x3e94e8][_0x95c611]={..._0xb0ef30,'s':_0x3e94e8%0x2===0x0?_0x321113:_0x5aec88},_0x1a725d[_0x95c611]&&_0x5286e6>=0x0){const _0x361943=_0x3e94e8%0x2===0x0;let _0x31c46f=_0x361943?_0x2187f1[_0x95c611]:_0x2130e3[_0x95c611];_0x31c46f||(_0x31c46f=_0x191b95[_0x47f3f2(0x2f0)]()[_0x47f3f2(0x162)]({..._0x361943?_0x5584c4:_0x437d90,'n':{'pattern':_0x1a725d[_0x95c611]}}),_0x361943?_0x2187f1[_0x95c611]=_0x31c46f:_0x2130e3[_0x95c611]=_0x31c46f),_0x2b01f4[_0x3e94e8][_0x95c611]['s']=_0x31c46f;}}),_0x3e94e8++;});const _0x1faaa7=new _0x828916(_0x2b01f4),_0x173d44={};_0x1faaa7[_0x31e035(0x2ee)]((_0x481da7,_0x446703,_0x429c27)=>{_0x173d44[_0x481da7]||(_0x173d44[_0x481da7]={}),_0x173d44[_0x481da7][_0x446703]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x102d63=[],_0x3e6efb=[],_0x110086=_0x191b95['getSheets']()['length'],_0x46a9d4=_0x46035c({'rowCount':Math[_0x31e035(0x1bd)](_0xc6deaa,_0x5dd034+0xa),'columnCount':Math[_0x31e035(0x1bd)](_0x294982,_0x279177+0x5)}),_0x398a6e=_0x4376aa[_0x31e035(0x140)](_0x23e253);_0x46a9d4['id']=_0x39c850(),_0x46a9d4['name']=_0x191b95['generateNewSheetName'](''+_0x398a6e['t'](_0x31e035(0x1c6)));const _0x1c3141={'index':_0x110086,'sheet':_0x46a9d4,'unitId':_0x14900b},_0x19bc22=_0x43d5bc(_0x4376aa,_0x1c3141);_0x3e6efb['push']({'id':_0x546a4c['id'],'params':_0x1c3141}),_0x102d63[_0x31e035(0x1fa)]({'id':_0x2d67ab['id'],'params':_0x19bc22}),_0x3e6efb['push']({'id':_0x484698['id'],'params':{'unitId':_0x14900b,'subUnitId':_0x46a9d4['id'],'cellValue':_0x2b01f4}}),_0x102d63['unshift']({'id':_0x484698['id'],'params':{'unitId':_0x14900b,'subUnitId':_0x46a9d4['id'],'cellValue':_0x173d44}});const _0x418742={'startRow':0x0,'startColumn':0x0,'endRow':_0x3e94e8-0x1,'endColumn':_0x43c131};_0x3e6efb[_0x31e035(0x1fa)]({'id':_0x1df59b['id'],'params':{'unitId':_0x14900b,'subUnitId':_0x46a9d4['id'],'range':_0x418742}}),_0x102d63[_0x31e035(0x38e)]({'id':_0x2030a2['id'],'params':{'unitId':_0x14900b,'subUnitId':_0x46a9d4['id']}});const _0x1e4e79=_0x4376aa[_0x31e035(0x140)](_0x2e7974);return _0x302e90(_0x3e6efb,_0x1e4e79)&&_0x4376aa[_0x31e035(0x140)](_0x91007)[_0x31e035(0x18f)]({'unitID':_0x14900b,'undoMutations':_0x102d63,'redoMutations':_0x3e6efb}),!0x0;}},Ts={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x122),async 'handler'(_0x1edc02,_0x1cf40c){const _0xf2b463=_0x36bb8c;if(!_0x1cf40c)return!0x1;const _0x531694=_0x1edc02['get'](_0x2e7974),_0xfcf6a3=_0x1edc02['get'](z),_0x353ee7=_0x1edc02['get'](_0x91007),{pivotTableId:_0x42047f,fieldIds:_0x5d5efc,unitId:_0x243894,subUnitId:_0x1ebb0d}=_0x1cf40c,_0x5f20e1=(await _0xfcf6a3[_0xf2b463(0x347)]({'unitId':_0x243894,'subUnitId':_0x1ebb0d,'pivotTableId':_0x42047f,'params':{'type':k[_0xf2b463(0x369)],'removePivotField':{'fieldIds':_0x5d5efc}}}))[_0xf2b463(0x38d)][_0xf2b463(0x287)];if(!_0x5f20e1)return!0x1;const {view:_0x1b06af,changesets:_0x1402ab,isEmpty:_0x2fd2b2,pivotTableConfig:_0x13ec03}=_0x5f20e1,_0x3725f0=_0x13ec03[_0xf2b463(0x17c)],_0x1f96fe=new _0x43b8f2();_0x1f96fe[_0xf2b463(0x296)](_0x1b06af);const _0x13143b={'cellInfo':_0x3725f0,'view':_0x1f96fe,'isEmpty':_0x2fd2b2};if(!await _0x1edc02[_0xf2b463(0x140)](ie)[_0xf2b463(0x1bf)][_0xf2b463(0x26f)](be)(!0x0,_0x13143b))return!0x1;const _0x472240=Me(_0x1edc02,_0x1f96fe,_0x3725f0,_0x2fd2b2),_0x47414e=_e(_0x1edc02,_0x13143b),{redos:_0x5d5327,undos:_0x354687}=me(_0x531694,{'pivotTableId':_0x42047f,'unitId':_0x243894,'subUnitId':_0x1ebb0d},_0x1402ab);return _0x302e90([..._0x472240['redos'],..._0x47414e[_0xf2b463(0x23d)],..._0x5d5327],_0x531694),_0x353ee7[_0xf2b463(0x18f)]({'unitID':_0x243894,'redoMutations':[..._0x472240[_0xf2b463(0x23d)],..._0x47414e[_0xf2b463(0x23d)],..._0x5d5327],'undoMutations':[..._0x472240['undos'],..._0x47414e[_0xf2b463(0x1c5)],..._0x354687]}),!0x0;}},Ss={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x2ca),async 'handler'(_0x14d6eb,_0xb4c8e4){const _0x563d25=_0x36bb8c;if(!_0xb4c8e4)return!0x1;const _0x2ff4f7=_0x14d6eb[_0x563d25(0x140)](_0x2e7974),_0xe703c7=_0x14d6eb[_0x563d25(0x140)](_0x91007),_0x3711d7=_0x14d6eb[_0x563d25(0x140)](z),{resetArea:_0x2541f0,pivotTableId:_0x4e6fb1,unitId:_0x2a6399,subUnitId:_0x60d626}=_0xb4c8e4,_0x4f178c=(await _0x3711d7[_0x563d25(0x347)]({'unitId':_0x2a6399,'subUnitId':_0x60d626,'pivotTableId':_0x4e6fb1,'params':{'type':k[_0x563d25(0x288)],'resetPivotTable':{'pivotTableId':_0x4e6fb1,'resetArea':_0x2541f0}}}))['result'][_0x563d25(0x127)];if(!_0x4f178c)return!0x1;const {changesets:_0xdca957}=_0x4f178c,{redos:_0x32d425,undos:_0x9dde61}=me(_0x2ff4f7,{'pivotTableId':_0x4e6fb1,'unitId':_0x2a6399,'subUnitId':_0x60d626},_0xdca957);return _0x302e90(_0x32d425,_0x2ff4f7),_0xe703c7[_0x563d25(0x18f)]({'unitID':_0x2a6399,'redoMutations':_0x32d425,'undoMutations':_0x9dde61}),!0x0;}},Ps={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x1af),async 'handler'(_0x6394f3,_0x4cffbe){const _0x475e44=_0x36bb8c,_0x3cf595=_0x6394f3[_0x475e44(0x140)](_0x2e7974),_0xa3be0e=_0x6394f3[_0x475e44(0x140)](z),_0x5e4257=_0x6394f3['get'](Ne),_0xa3db2c=_0x6394f3[_0x475e44(0x140)](_0x12f544),_0x44d180=_0x6394f3['get'](_0x23e253),_0x3be3f6=_0x6394f3[_0x475e44(0x140)](_0x91007);if(!_0x4cffbe)return!0x1;const {unitId:_0x222f4f,subUnitId:_0x575548,row:_0x2de684,col:_0x3a08a8,collapse:_0x4ec7c1}=_0x4cffbe,_0x2c57e2=_0xa3db2c[_0x475e44(0x345)](_0x222f4f);if(!_0x2c57e2||!_0x2c57e2['getSheetBySheetId'](_0x575548))return!0x1;const _0x3c0f68=_0x5e4257[_0x475e44(0x355)](_0x222f4f,_0x575548,_0x2de684,_0x3a08a8);if(!_0x3c0f68)return!0x1;const _0x187a04=_0x5e4257[_0x475e44(0x1f4)](_0x222f4f,_0x575548,_0x3c0f68);if(!_0x187a04)return!0x1;const _0x2c34a5=_0x167aa6(_0x2de684,_0x3a08a8),{rangesInfo:_0x2ce4d0,areaInfo:_0x4fda8a,headerMap:_0x371883}=_0x187a04;if(!_0x2ce4d0||!_0x4fda8a||!_0x371883)return!0x1;const _0x5d68a2=Object[_0x475e44(0x16f)](_0x2ce4d0)[_0x475e44(0x2b8)](_0x25a64c=>_0x2ce4d0[_0x25a64c][_0x475e44(0x385)](_0xb196de=>_0x275ba3[_0x475e44(0x1ec)](_0xb196de,_0x2c34a5)));let _0x40abf5;_0x5d68a2===_0x475e44(0x29f)?_0x40abf5=_0x371883['rowHeaderMap'][_0x3a08a8]:_0x5d68a2===_0x475e44(0x30b)&&(_0x40abf5=_0x371883['colHeaderMap'][_0x2de684]);const _0x1f1837=_0x40abf5==null?void 0x0:_0x40abf5[_0x475e44(0x11f)],_0x333ade=_0x5e4257[_0x475e44(0x1b0)](_0x222f4f,_0x575548,_0x2de684,_0x3a08a8);let _0x20da48=_0x333ade==null?void 0x0:_0x333ade['v'];if(_0x20da48===_0x44d180['t']('sheets-pivot.blank')&&(_0x20da48=_0x5ce962[_0x475e44(0x309)]),_0x20da48==null||!_0x3c0f68||!_0x1f1837)return!0x1;const _0xc85f56=await _0xa3be0e[_0x475e44(0x347)]({'unitId':_0x222f4f,'subUnitId':_0x575548,'pivotTableId':_0x3c0f68,'params':{'type':k['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x1f1837,'collapse':_0x4ec7c1,'item':_0x20da48}}}),_0x43136d=_0xc85f56==null?void 0x0:_0xc85f56[_0x475e44(0x38d)][_0x475e44(0x172)];if(!_0x43136d)return!0x1;const {view:_0x58d615,pivotTableConfig:_0x6d5978,isEmpty:_0x2f2765,changesets:_0x4fc220}=_0x43136d,_0x343af7=new _0x43b8f2();_0x343af7['formJSON'](_0x58d615);const _0x37f4ec=_0x6d5978['targetCellInfo'],_0x42e6a6={'cellInfo':_0x37f4ec,'view':_0x343af7,'isEmpty':_0x2f2765};if(!await _0x6394f3[_0x475e44(0x140)](ie)['asyncInterceptor'][_0x475e44(0x26f)](be)(!0x0,_0x42e6a6))return!0x1;const _0x1e36a7=Me(_0x6394f3,_0x343af7,_0x37f4ec,_0x2f2765),_0x3943e2=_e(_0x6394f3,_0x42e6a6),{redos:_0x3b4bf1,undos:_0x58aa3a}=me(_0x3cf595,{'pivotTableId':_0x3c0f68,'unitId':_0x222f4f,'subUnitId':_0x575548},_0x4fc220);return _0x302e90([..._0x1e36a7[_0x475e44(0x23d)],..._0x3943e2[_0x475e44(0x23d)],..._0x3b4bf1],_0x3cf595),_0x3be3f6[_0x475e44(0x18f)]({'unitID':_0x222f4f,'redoMutations':[..._0x1e36a7['redos'],..._0x3943e2[_0x475e44(0x23d)],..._0x3b4bf1],'undoMutations':[..._0x1e36a7[_0x475e44(0x1c5)],..._0x3943e2[_0x475e44(0x1c5)],..._0x58aa3a]}),!0x0;}},ws={'type':_0x4c39aa['COMMAND'],'id':_0x36bb8c(0x341),async 'handler'(_0x3054b4,_0x4abca0){const _0x33ed10=_0x36bb8c;if(!_0x4abca0)return!0x1;const _0x3ba117=_0x3054b4['get'](_0x2e7974),_0x5bc9cd=_0x3054b4[_0x33ed10(0x140)](_0x91007),_0x317a39=_0x3054b4[_0x33ed10(0x140)](z),{pivotTableConfig:_0x3fe3cc,pivotTableId:_0x5628c1,unitId:_0x2304f9,subUnitId:_0x26cc7e}=_0x4abca0,_0x5c90be=(await _0x317a39[_0x33ed10(0x347)]({'unitId':_0x2304f9,'subUnitId':_0x26cc7e,'pivotTableId':_0x5628c1,'params':{'type':k[_0x33ed10(0x124)],'setPivotTableConfig':{'pivotTableId':_0x5628c1,'pivotTableConfig':_0x3fe3cc}}}))[_0x33ed10(0x38d)][_0x33ed10(0x1dc)];if(!_0x5c90be)return!0x1;const {changesets:_0x48ab3e}=_0x5c90be,{redos:_0x1fdbd3,undos:_0x504148}=me(_0x3ba117,{'pivotTableId':_0x5628c1,'unitId':_0x2304f9,'subUnitId':_0x26cc7e},_0x48ab3e);return _0x302e90(_0x1fdbd3,_0x3ba117),_0x5bc9cd[_0x33ed10(0x18f)]({'unitID':_0x2304f9,'redoMutations':_0x1fdbd3,'undoMutations':_0x504148}),!0x0;}},ys={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x218),async 'handler'(_0x21b810,_0x31d36d){const _0x1758bb=_0x36bb8c;if(!_0x31d36d)return!0x1;const _0x4271e4=_0x21b810[_0x1758bb(0x140)](_0x2e7974),{pivotTableId:_0x1c6ecd,tableFieldId:_0x25d881,items:_0x5523d2,unitId:_0x4afe88,subUnitId:_0x4b655b,isAll:_0xff995a}=_0x31d36d,_0x14be76=_0x21b810[_0x1758bb(0x140)](z),_0x520e82=_0x21b810['get'](_0x91007),_0x241956=(await _0x14be76[_0x1758bb(0x347)]({'unitId':_0x4afe88,'subUnitId':_0x4b655b,'pivotTableId':_0x1c6ecd,'params':{'type':k[_0x1758bb(0x18a)],'setPivotFilter':{'tableFieldId':_0x25d881,'items':_0x5523d2,'isAll':_0xff995a}}}))[_0x1758bb(0x38d)][_0x1758bb(0x2e2)];if(!_0x241956)return!0x1;const {changesets:_0x42c770,pivotTableConfig:_0x5f498f,isEmpty:_0x4b2b11,view:_0x144f90}=_0x241956,_0x3f2a25=_0x5f498f[_0x1758bb(0x17c)],_0x18d81d=new _0x43b8f2();_0x18d81d[_0x1758bb(0x296)](_0x144f90);const _0x4f6019={'cellInfo':_0x3f2a25,'view':_0x18d81d,'isEmpty':_0x4b2b11};if(!await _0x21b810[_0x1758bb(0x140)](ie)[_0x1758bb(0x1bf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4f6019))return!0x1;const _0x416f6b=Me(_0x21b810,_0x18d81d,_0x3f2a25,_0x4b2b11),_0x52107f=_e(_0x21b810,_0x4f6019),{undos:_0x221724,redos:_0x263bb6}=me(_0x4271e4,{'pivotTableId':_0x1c6ecd,'unitId':_0x4afe88,'subUnitId':_0x4b655b},_0x42c770);return _0x302e90([..._0x416f6b[_0x1758bb(0x23d)],..._0x52107f[_0x1758bb(0x23d)],..._0x263bb6],_0x4271e4),_0x520e82[_0x1758bb(0x18f)]({'unitID':_0x4afe88,'redoMutations':[..._0x416f6b['redos'],..._0x52107f['redos'],..._0x263bb6],'undoMutations':[..._0x416f6b['undos'],..._0x52107f[_0x1758bb(0x1c5)],..._0x221724]}),!0x0;}},Ms={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x192),async 'handler'(_0x2f4337,_0x46c6f3){const _0x17dcfd=_0x36bb8c;if(!_0x46c6f3)return!0x1;const _0x31b296=_0x2f4337[_0x17dcfd(0x140)](_0x2e7974),_0x3e2b0b=_0x2f4337['get'](_0x91007),_0x5b1cb1=_0x2f4337[_0x17dcfd(0x140)](z),{info:_0x3291b7,tableFieldId:_0x41f561,pivotTableId:_0x622512,unitId:_0x393366,subUnitId:_0x32f534}=_0x46c6f3,_0x781837=(await _0x5b1cb1['getPivotDisplayConfig']({'unitId':_0x393366,'subUnitId':_0x32f534,'pivotTableId':_0x622512,'params':{'type':k['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x41f561,'info':_0x3291b7}}}))[_0x17dcfd(0x38d)][_0x17dcfd(0x1ee)];if(!_0x781837)return!0x1;const {changesets:_0x24023d}=_0x781837,{redos:_0x204c0d,undos:_0x537eb3}=me(_0x31b296,{'pivotTableId':_0x622512,'unitId':_0x393366,'subUnitId':_0x32f534},_0x24023d);return _0x302e90(_0x204c0d,_0x31b296),_0x3e2b0b[_0x17dcfd(0x18f)]({'unitID':_0x393366,'redoMutations':_0x204c0d,'undoMutations':_0x537eb3}),!0x0;}},_s={'type':_0x4c39aa['COMMAND'],'id':_0x36bb8c(0x17e),async 'handler'(_0x2b202b,_0x53c7b6){const _0x4b6598=_0x36bb8c;if(!_0x53c7b6)return!0x1;const _0x480782=_0x2b202b[_0x4b6598(0x140)](_0x2e7974),{pivotTableId:_0x427b64,fieldId:_0x22c61e,valueFilterInfo:_0xba4202,unitId:_0x16c71a,subUnitId:_0x27a3bf}=_0x53c7b6,_0x2d365b=_0x2b202b['get'](z),_0x40b25d=_0x2b202b[_0x4b6598(0x140)](_0x91007),_0x1e3060=(await _0x2d365b[_0x4b6598(0x347)]({'unitId':_0x16c71a,'subUnitId':_0x27a3bf,'pivotTableId':_0x427b64,'params':{'type':k[_0x4b6598(0x1a7)],'setValuePivotFilter':{'tableFieldId':_0x22c61e,'filterInfo':_0xba4202}}}))['result'][_0x4b6598(0x131)];if(!_0x1e3060)return!0x1;const {changesets:_0x4f5412,pivotTableConfig:_0x2d4e57,isEmpty:_0x57be77,view:_0x1f4c99}=_0x1e3060,_0x42e87e=_0x2d4e57[_0x4b6598(0x17c)],_0x43f640=new _0x43b8f2();_0x43f640[_0x4b6598(0x296)](_0x1f4c99);const _0x3c6bbe={'cellInfo':_0x42e87e,'view':_0x43f640,'isEmpty':_0x57be77};if(!await _0x2b202b['get'](ie)['asyncInterceptor'][_0x4b6598(0x26f)](be)(!0x0,_0x3c6bbe))return!0x1;const _0x3496a8=Me(_0x2b202b,_0x43f640,_0x42e87e,_0x57be77),_0x4c7aff=_e(_0x2b202b,_0x3c6bbe),{undos:_0x371dc8,redos:_0x3ccd87}=me(_0x480782,{'pivotTableId':_0x427b64,'unitId':_0x16c71a,'subUnitId':_0x27a3bf},_0x4f5412);return _0x302e90([..._0x3496a8[_0x4b6598(0x23d)],..._0x4c7aff[_0x4b6598(0x23d)],..._0x3ccd87],_0x480782),_0x40b25d[_0x4b6598(0x18f)]({'unitID':_0x16c71a,'redoMutations':[..._0x3496a8[_0x4b6598(0x23d)],..._0x4c7aff[_0x4b6598(0x23d)],..._0x3ccd87],'undoMutations':[..._0x3496a8[_0x4b6598(0x1c5)],..._0x4c7aff['undos'],..._0x371dc8]}),!0x0;}},to={'id':'sheet.mutation.update-date-group','type':_0x4c39aa[_0x36bb8c(0x1ed)],'handler':(_0x2087b3,_0x3fd7d7)=>{const _0x90e516=_0x36bb8c;if(!_0x3fd7d7)return!0x1;if(!!_0x2087b3[_0x90e516(0x140)](_0x44eb60)[_0x90e516(0x118)](X))return!0x0;const {unitId:_0x2abc68,subUnitId:_0xeb2846,pivotTableId:_0x655467,tableFieldId:_0x39f45f,dateType:_0x3282fb}=_0x3fd7d7,_0xcf537d=_0x2087b3[_0x90e516(0x140)]($),_0x1a1b5d=_0xcf537d[_0x90e516(0x1e8)](_0x655467);if(!_0x1a1b5d)return!0x1;const _0x4a85e4=_0x1a1b5d['getDataFieldByTableId'](_0x39f45f);if(!_0x4a85e4)return!0x1;const _0x4c6e2b=_0x4a85e4[_0x90e516(0x256)](),_0x53d32a=_0x1a1b5d[_0x90e516(0x15d)](_0x4c6e2b),_0x2b1a44=(_0x53d32a==null?void 0x0:_0x53d32a['getName']())+'\x20'+Ho(_0x2087b3,_0x3282fb);_0xcf537d['getCollection'](_0x2abc68,_0x655467)[_0x90e516(0x375)](_0x4a85e4['id'],_0x2b1a44);const _0x4fc467=_0x1a1b5d[_0x90e516(0x2f9)](_0x39f45f);if(!_0x4fc467)return!0x1;_0x1a1b5d['renameField'](_0x4fc467[_0x90e516(0x2cf)](),_0x2b1a44),_0x4a85e4['setDateType'](_0x3282fb);const _0x521cdb=_0xcf537d[_0x90e516(0x1f0)](_0x2abc68,_0xeb2846,_0x655467);return _0xcf537d['addDirtyPivotTable']({'unitId':_0x2abc68,'subUnitId':_0xeb2846,'token':_0x655467,'type':B['Set'],'pivotConfig':_0x521cdb}),!0x0;}},Fs={'id':'sheet.command.update-date-group','type':_0x4c39aa['COMMAND'],'handler':(_0x53f648,_0x5e963e)=>{const _0xccb51f=_0x36bb8c;if(!_0x5e963e)return!0x1;const _0x46ea50=_0x53f648[_0xccb51f(0x140)](_0x91007),{unitId:_0x21ba35,subUnitId:_0x1666e9,pivotTableId:_0x3f34d2,tableFieldId:_0xc8300e}=_0x5e963e,_0x45d1d6=[],_0x202d87=[],_0x3b1b95=_0x53f648['get'](ve),_0x3308bf=_0x3b1b95[_0xccb51f(0x178)](_0x21ba35,_0x3f34d2),_0x30bfd3=_0x3b1b95['getPivotTableConfig'](_0x21ba35,_0x1666e9,_0x3f34d2);if(!(_0x30bfd3!=null&&_0x30bfd3[_0xccb51f(0x31a)][_0xccb51f(0x308)]))return!0x1;const _0x4f7ba2=Object[_0xccb51f(0x1fc)](_0x30bfd3[_0xccb51f(0x31a)][_0xccb51f(0x308)])[_0xccb51f(0x2b8)](_0x51f77d=>_0x51f77d['id']===_0xc8300e);if(!_0x4f7ba2)return!0x1;const _0x51d9d6=_0x4f7ba2[_0xccb51f(0x342)];if(!(_0x3308bf!=null&&_0x3308bf[_0xccb51f(0x351)]))return!0x1;const _0x353326=Object[_0xccb51f(0x1fc)](_0x3308bf==null?void 0x0:_0x3308bf['fields'])[_0xccb51f(0x2b8)](_0xa4db76=>_0xa4db76['id']===_0x51d9d6);if(!_0x353326)return!0x1;_0xbcbc5f(_0x353326)&&_0x45d1d6[_0xccb51f(0x1fa)]({'id':to['id'],'params':{..._0x5e963e,'dateType':_0x353326[_0xccb51f(0x396)]}}),_0x202d87[_0xccb51f(0x1fa)]({'id':to['id'],'params':{..._0x5e963e}});const _0x4a5cab=_0x53f648['get'](_0x2e7974);return _0x302e90(_0x202d87,_0x4a5cab)&&_0x46ea50['pushUndoRedo']({'unitID':_0x21ba35,'undoMutations':_0x45d1d6,'redoMutations':_0x202d87}),!0x0;}},Rs={'type':_0x4c39aa['COMMAND'],'id':_0x36bb8c(0x28a),async 'handler'(_0x2b128a,_0x4c2d72){const _0x4455ad=_0x36bb8c;if(!_0x4c2d72)return!0x1;const _0x444726=_0x2b128a[_0x4455ad(0x140)](_0x2e7974),_0x32d979=_0x2b128a[_0x4455ad(0x140)](_0x91007),_0xf3c891=_0x2b128a[_0x4455ad(0x140)](z),{displayName:_0x1142a3,subtotalType:_0x534a59,format:_0xffb5cb,tableFieldId:_0x551a75,pivotTableId:_0x5858c0,unitId:_0x4d621f,subUnitId:_0x4f4c9e}=_0x4c2d72,_0x986b9f=(await _0xf3c891[_0x4455ad(0x347)]({'unitId':_0x4d621f,'subUnitId':_0x4f4c9e,'pivotTableId':_0x5858c0,'params':{'type':k[_0x4455ad(0x11b)],'setPivotSetting':{'tableFieldId':_0x551a75,'displayName':_0x1142a3,'subtotalType':_0x534a59,'format':_0xffb5cb}}}))['result'][_0x4455ad(0x165)];if(!_0x986b9f)return!0x1;const {changesets:_0x1ac9c2,view:_0x5bdbc2,pivotTableConfig:_0x1ffc87,isEmpty:_0x3c126d}=_0x986b9f,_0x3c9b23=_0x1ffc87[_0x4455ad(0x17c)],_0x549bcc=new _0x43b8f2();_0x549bcc[_0x4455ad(0x296)](_0x5bdbc2);const _0x242cb8={'cellInfo':_0x3c9b23,'view':_0x549bcc,'isEmpty':_0x3c126d};if(!await _0x2b128a[_0x4455ad(0x140)](ie)[_0x4455ad(0x1bf)][_0x4455ad(0x26f)](be)(!0x0,_0x242cb8))return!0x1;const _0x34b82e=Me(_0x2b128a,_0x549bcc,_0x3c9b23,_0x3c126d),_0xb7232e=_e(_0x2b128a,_0x242cb8),{undos:_0x2e598e,redos:_0x5df25e}=me(_0x444726,{'pivotTableId':_0x5858c0,'unitId':_0x4d621f,'subUnitId':_0x4f4c9e},_0x1ac9c2);return _0x302e90([..._0x34b82e[_0x4455ad(0x23d)],..._0xb7232e[_0x4455ad(0x23d)],..._0x5df25e],_0x444726),_0x32d979[_0x4455ad(0x18f)]({'unitID':_0x4d621f,'redoMutations':[..._0x34b82e[_0x4455ad(0x23d)],..._0xb7232e['redos'],..._0x5df25e],'undoMutations':[..._0x34b82e[_0x4455ad(0x1c5)],..._0xb7232e['undos'],..._0x2e598e]}),!0x0;}},oo={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x1bc11b,_0x592cb4){const _0x36ab19=_0x36bb8c;if(!_0x592cb4)return!0x1;if(!!_0x1bc11b[_0x36ab19(0x140)](_0x44eb60)[_0x36ab19(0x118)](X))return!0x0;const _0x3ca083=_0x1bc11b['get']($),{pivotTableId:_0x12d837,deleteIds:_0x4ed71f,collectionJSON:_0x388cb6,dataRangeInfo:_0x1d9732,unitId:_0x46288e,subUnitId:_0x5d6c6f}=_0x592cb4,_0x2c9535=_0x3ca083[_0x36ab19(0x1e8)](_0x12d837),_0x13fc52=_0x3ca083[_0x36ab19(0x1f0)](_0x46288e,_0x5d6c6f,_0x12d837);if(!_0x2c9535||!_0x13fc52)return!0x1;const {collection:_0x1daaa6,updateDataFieldList:_0x2c4dc8}=_0x3ca083['addCollectionByJSON'](_0x12d837,_0x388cb6,_0x1d9732,_0x13fc52['targetCellInfo']);_0x3ca083[_0x36ab19(0x2a5)](_0x1daaa6,_0x2c4dc8,_0x1d9732),_0x2c9535[_0x36ab19(0x171)](_0x1daaa6);for(const _0x5f0adf of _0x4ed71f)_0x3ca083[_0x36ab19(0x25b)](_0x1d9732[_0x36ab19(0x28f)],_0x5f0adf);const _0x45d2dc=_0x3ca083['getPivotTableConfig'](_0x46288e,_0x5d6c6f,_0x12d837);return _0x45d2dc[_0x36ab19(0x20b)]=JSON[_0x36ab19(0x157)](JSON[_0x36ab19(0x2fc)](_0x1d9732)),_0x3ca083[_0x36ab19(0x2dd)]({'unitId':_0x46288e,'subUnitId':_0x5d6c6f,'token':_0x12d837,'type':B[_0x36ab19(0x227)]}),!0x0;}},Ds={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x1d6),async 'handler'(_0x5c4469,_0x4844d7){const _0x1ed1d1=_0x36bb8c,_0x19a35f=_0x5c4469[_0x1ed1d1(0x140)](_0x2e7974),_0x4e8e17=_0x5c4469['get'](z),_0x32c5e5=_0x5c4469['get'](_0x91007);if(!_0x4844d7)return!0x1;const {token:_0x1c601a,dataRangeInfo:_0x299111,unitId:_0x15275d,subUnitId:_0x1297ee}=_0x4844d7,_0x27bccd=[],_0x8f62cb=[],_0x4774f5=(await _0x4e8e17[_0x1ed1d1(0x347)]({'unitId':_0x15275d,'subUnitId':_0x1297ee,'pivotTableId':_0x1c601a,'params':{'type':k[_0x1ed1d1(0x15f)],'updatePivotSource':{'dataRangeInfo':_0x299111,'unitId':_0x15275d,'subUnitId':_0x1297ee}}}))['result']['updatePivotSource'];if(!_0x4774f5)return!0x1;const {changesets:_0x328bd6,deleteIds:_0x46c0e6,collectionConfig:_0x240913,oldCollectionConfig:_0x2ed549,view:_0x41d902,isEmpty:_0x335c08,pivotTableConfig:_0x1fc65d}=_0x4774f5;_0x8f62cb['push']({'id':oo['id'],'params':{'pivotTableId':_0x1c601a,'deleteIds':_0x46c0e6,'collectionJSON':_0x240913,'dataRangeInfo':_0x299111,'unitId':_0x15275d,'subUnitId':_0x1297ee}}),_0x27bccd[_0x1ed1d1(0x38e)]({'id':oo['id'],'params':{'pivotTableId':_0x1c601a,'deleteIds':[],'collectionJSON':_0x2ed549,'dataRangeInfo':_0x1fc65d[_0x1ed1d1(0x20b)],'unitId':_0x15275d,'subUnitId':_0x1297ee}});const _0xec2009=_0x1fc65d[_0x1ed1d1(0x17c)],_0x160df0=new _0x43b8f2();_0x160df0[_0x1ed1d1(0x296)](_0x41d902);const _0xfe45b8={'cellInfo':_0xec2009,'view':_0x160df0,'isEmpty':_0x335c08};if(!await _0x5c4469[_0x1ed1d1(0x140)](ie)['asyncInterceptor'][_0x1ed1d1(0x26f)](be)(!0x0,_0xfe45b8))return!0x1;const _0x58b4c5=Me(_0x5c4469,_0x160df0,_0xec2009,_0x335c08),_0x378dd6=_e(_0x5c4469,_0xfe45b8),{undos:_0x4ad11a,redos:_0xb81715}=me(_0x19a35f,{'pivotTableId':_0x1c601a,'unitId':_0x15275d,'subUnitId':_0x1297ee},_0x328bd6);return _0x302e90([..._0x58b4c5['redos'],..._0x378dd6['redos'],..._0x8f62cb,..._0x4ad11a],_0x19a35f),_0x32c5e5['pushUndoRedo']({'unitID':_0x15275d,'redoMutations':[..._0x58b4c5[_0x1ed1d1(0x23d)],..._0x378dd6[_0x1ed1d1(0x23d)],..._0x8f62cb,..._0x4ad11a],'undoMutations':[..._0x58b4c5['undos'],..._0x378dd6[_0x1ed1d1(0x1c5)],..._0x27bccd,..._0xb81715]}),!0x0;}},Ns={'type':_0x4c39aa[_0x36bb8c(0x283)],'id':_0x36bb8c(0x304),async 'handler'(_0x4d10ae,_0x2a8d56){const _0x178ee0=_0x36bb8c;if(!_0x2a8d56)return!0x1;const _0x43a56a=_0x4d10ae[_0x178ee0(0x140)](_0x2e7974),_0x159e6e=_0x4d10ae[_0x178ee0(0x140)](z),_0xf674c4=_0x4d10ae[_0x178ee0(0x140)](_0x12f544),_0x1d3084=_0x4d10ae[_0x178ee0(0x140)](_0x91007),{pivotTableId:_0xfa149f,position:_0x505fda,index:_0x594e6a}=_0x2a8d56,_0x2f3fd4=_0x4c89c6(_0xf674c4);if(!_0x2f3fd4)return!0x1;const {unitId:_0x3c8f4f,subUnitId:_0x11e68e}=_0x2f3fd4,_0x2d3dbf=(await _0x159e6e[_0x178ee0(0x347)]({'unitId':_0x3c8f4f,'subUnitId':_0x11e68e,'pivotTableId':_0xfa149f,'params':{'type':k[_0x178ee0(0x13a)],'updateValuePosition':{'position':_0x505fda,'index':_0x594e6a}}}))['result'][_0x178ee0(0x239)];if(!_0x2d3dbf)return!0x1;const {changesets:_0x437c56,view:_0x5520f1,isEmpty:_0x3f5b48,pivotTableConfig:_0x9abbc5}=_0x2d3dbf,_0x451c65=_0x9abbc5['targetCellInfo'],_0x145f6a=new _0x43b8f2();_0x145f6a[_0x178ee0(0x296)](_0x5520f1);const _0x484e0d=_0x4d10ae['get'](ie),_0x4b8a96={'cellInfo':_0x451c65,'view':_0x145f6a,'isEmpty':_0x3f5b48};if(!await _0x484e0d['asyncInterceptor'][_0x178ee0(0x26f)](be)(!0x0,_0x4b8a96))return!0x1;const _0x550a01=Me(_0x4d10ae,_0x145f6a,_0x451c65,_0x3f5b48),_0x3eacc6=_e(_0x4d10ae,_0x4b8a96),{undos:_0x3563be,redos:_0x444d53}=me(_0x43a56a,{'pivotTableId':_0xfa149f,'unitId':_0x3c8f4f,'subUnitId':_0x11e68e},_0x437c56);return _0x302e90([..._0x550a01['redos'],..._0x3eacc6[_0x178ee0(0x23d)],..._0x444d53],_0x43a56a),_0x1d3084['pushUndoRedo']({'unitID':_0x3c8f4f,'redoMutations':[..._0x550a01[_0x178ee0(0x23d)],..._0x3eacc6[_0x178ee0(0x23d)],..._0x444d53],'undoMutations':[..._0x550a01[_0x178ee0(0x1c5)],..._0x3eacc6[_0x178ee0(0x1c5)],..._0x3563be]}),!0x0;}},Vt={'type':_0x4c39aa[_0x36bb8c(0x1ed)],'id':_0x36bb8c(0x26e),'handler'(){return!0x0;}};var Vs=Object[_0x36bb8c(0x15a)],Us=(_0x2603e7,_0x13f4f0,_0x3e9252,_0x3eb205)=>{const _0x5c6b52=_0x36bb8c;for(var _0x199318=_0x3eb205>0x1?void 0x0:_0x3eb205?Vs(_0x13f4f0,_0x3e9252):_0x13f4f0,_0x46a056=_0x2603e7[_0x5c6b52(0x32f)]-0x1,_0x5db146;_0x46a056>=0x0;_0x46a056--)(_0x5db146=_0x2603e7[_0x46a056])&&(_0x199318=_0x5db146(_0x199318)||_0x199318);return _0x199318;},at=(_0x7f139f,_0x4cf021)=>(_0x404cf4,_0x253116)=>_0x4cf021(_0x404cf4,_0x253116,_0x7f139f);const Es=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Os=(_0x592629,_0x5c241b,_0x3d1372)=>{const _0xa7a15b=_0x36bb8c,_0x12f4fc=_0x592629[_0xa7a15b(0x1e1)];_0x592629[_0xa7a15b(0x329)](_0x8b54bc=>{const _0x5839c4=_0xa7a15b,_0x5916da=_0x8b54bc['getId'](),_0x55feb8=_0x8b54bc[_0x5839c4(0x2fb)](),_0xff92b5=_0x8b54bc[_0x5839c4(0x38c)](),_0x370888=_0x8b54bc['getDisplayName']();_0x5c241b[_0x55feb8]&&_0x5c241b[_0x55feb8]===_0x370888&&_0xff92b5===_0x370888&&(_0x592629[_0x5839c4(0x2d4)](_0x5916da,_0x12f4fc[_0x5839c4(0x263)](_0x55feb8)),_0x8b54bc[_0x5839c4(0x16b)](_0x12f4fc['getDisplayName'](_0x55feb8)));}),_0x592629[_0xa7a15b(0x214)](_0x4c5dc9[_0xa7a15b(0x349)],_0x12cba4=>{const _0x545375=_0xa7a15b,_0x47035c=_0x12cba4[_0x545375(0x2cf)](),_0x35acf1=_0x12cba4[_0x545375(0x2fb)](),_0x9dcdc3=_0x12cba4[_0x545375(0x38c)](),_0x19af40=_0x12cba4['getDisplayName'](),_0xa52458=_0x12cba4['getSubtotal'](),_0x132a36=_0x3d1372(_0x9dcdc3,_0xa52458);_0x5c241b[_0x35acf1]&&_0x5c241b[_0x35acf1]===_0x9dcdc3&&_0x132a36===_0x19af40&&(_0x592629['renameField'](_0x47035c,_0x3d1372(_0x12f4fc['getDisplayName'](_0x35acf1),_0xa52458)),_0x12cba4[_0x545375(0x16b)](_0x12f4fc['getDisplayName'](_0x35acf1)));});},As=(_0x2794a8,_0x46e3f5,_0x4567c3)=>{const _0x1539fe=_0x36bb8c;var _0x315282,_0x5b4923;const {arrayFormulaCellData:_0x270f33,unitData:_0x1e815f}=_0x46e3f5,{unitId:_0x298921,subUnitId:_0x5c25c9}=_0x4567c3,_0x34cd07=_0x4567c3['range'],{startColumn:_0x3e287f,endColumn:_0x1b318c}=_0x34cd07,_0x3db0bb=(_0x315282=_0x270f33==null?void 0x0:_0x270f33[_0x298921])==null?void 0x0:_0x315282[_0x5c25c9],_0x12b7a5=(_0x5b4923=_0x1e815f==null?void 0x0:_0x1e815f[_0x298921])==null?void 0x0:_0x5b4923[_0x5c25c9],_0x1d633f=new Set(),_0x37a601=_0x1b318c-_0x3e287f+0x1,{dirtyRanges:_0x4b57ee}=_0x2794a8;if(_0x4b57ee)for(const {range:_0x33f612,sheetId:_0x5afb0c,unitId:_0x24b59e}of _0x4b57ee){if(_0x5afb0c!==_0x5c25c9||_0x298921!==_0x24b59e)continue;const _0x35a2a3=_0x275ba3[_0x1539fe(0x37c)](_0x33f612,_0x34cd07);if(_0x35a2a3){const {startColumn:_0x2a6448,endColumn:_0x166c12}=_0x35a2a3;for(let _0x53a7fc=_0x2a6448;_0x53a7fc<=_0x166c12;_0x53a7fc++)_0x1d633f[_0x1539fe(0x336)](_0x53a7fc);}}if(_0x1d633f[_0x1539fe(0x158)]===_0x37a601||_0x1d633f['size']===_0x37a601)return Array[_0x1539fe(0x22d)](_0x1d633f);if(_0x12b7a5){const _0x4b28e=_0x12b7a5[_0x1539fe(0x1aa)](),_0x42b86a=Object[_0x1539fe(0x16f)](_0x4b28e);for(const _0x467aa9 of _0x42b86a){const _0xb5f23c=Number(_0x467aa9),_0x32a53f=_0x4b28e[_0xb5f23c];if(_0x1d633f[_0x1539fe(0x158)]===_0x37a601)break;for(const _0x41285d in _0x32a53f){const _0x2a485c=Number(_0x41285d);_0x2a485c<_0x3e287f||_0x2a485c>_0x1b318c||_0x1d633f['add'](_0x2a485c);}}}if(_0x3db0bb){const _0x76a9f8=_0x3db0bb['getMatrix'](),_0x5a9ba9=Object[_0x1539fe(0x16f)](_0x76a9f8);for(const _0x1706bc of _0x5a9ba9){const _0x1d07af=Number(_0x1706bc),_0x58527f=_0x76a9f8[_0x1d07af];if(_0x1d633f[_0x1539fe(0x158)]===_0x37a601)break;for(const _0x225dd2 in _0x58527f){const _0x3ec9d1=Number(_0x225dd2);_0x3ec9d1<_0x3e287f||_0x3ec9d1>_0x1b318c||_0x1d633f['add'](_0x3ec9d1);}}}return Array[_0x1539fe(0x22d)](_0x1d633f);},xs=_0x4c3e54=>{const _0x4aadcf=_0x36bb8c,_0x3334f3=new Set(),_0x143ac2=[];for(const _0xc3e295 of _0x4c3e54){const _0x52cd99=_0xc3e295[_0x4aadcf(0x28d)]+','+_0xc3e295[_0x4aadcf(0x321)]+','+_0xc3e295[_0x4aadcf(0x328)]+','+_0xc3e295[_0x4aadcf(0x130)];_0x3334f3[_0x4aadcf(0x33c)](_0x52cd99)||(_0x3334f3[_0x4aadcf(0x336)](_0x52cd99),_0x143ac2[_0x4aadcf(0x1fa)](_0xc3e295));}return _0x143ac2;};function _0x1ed5(_0x13d0b8,_0x2e57b2){const _0x62fdb3=_0x62fd();return _0x1ed5=function(_0x1ed567,_0x142060){_0x1ed567=_0x1ed567-0x118;let _0x4f4fe=_0x62fdb3[_0x1ed567];return _0x4f4fe;},_0x1ed5(_0x13d0b8,_0x2e57b2);}let ct=class extends _0x441d3c{constructor(_0x3c7e63,_0x28941f,_0x13ee40,_0x5e7e23,_0x57db91){const _0x3e6a13=_0x36bb8c;super(),V(this,_0x3e6a13(0x373),new _0x2abdeb(!0x0)),V(this,'_globalComputedStartHelpFunc',_0x138f5a=>{const _0x39f576=_0x3e6a13;this[_0x39f576(0x373)]['next'](!0x1);}),V(this,_0x3e6a13(0x223),_0x1ea8a8=>{const _0x2e6900=_0x3e6a13;this[_0x2e6900(0x373)][_0x2e6900(0x368)](!0x0);}),(this[_0x3e6a13(0x1ce)]=_0x3c7e63,this[_0x3e6a13(0x23f)]=_0x28941f,this[_0x3e6a13(0x2ef)]=_0x13ee40,this[_0x3e6a13(0x238)]=_0x5e7e23,this[_0x3e6a13(0x2f4)]=_0x57db91,this[_0x3e6a13(0x168)](),this['_initPivotDataGetListener']());}['_init'](){const _0x36fc88=_0x36bb8c;this[_0x36fc88(0x2a3)](),this[_0x36fc88(0x19a)](),this[_0x36fc88(0x359)](),this[_0x36fc88(0x2f5)]();}[_0x36bb8c(0x151)](){const _0x6b79cb=_0x36bb8c;this[_0x6b79cb(0x238)][_0x6b79cb(0x397)](this[_0x6b79cb(0x373)]),_0x37e502[_0x6b79cb(0x282)](_0x4a2e97[_0x6b79cb(0x268)],this[_0x6b79cb(0x221)]),_0x37e502['registerCallbackWithEvent'](_0x4a2e97['onQueryEnd'],this[_0x6b79cb(0x223)]);}['_initPivotDataGetListener'](){const _0x5e1c00=_0x36bb8c;this[_0x5e1c00(0x245)](this[_0x5e1c00(0x2ef)][_0x5e1c00(0x183)](_0x486e6d=>{const _0x4c02f4=_0x5e1c00;_0x486e6d['id']===_0x41d34['id']&&this['_sheetsPivotDataSourceModel'][_0x4c02f4(0x384)](_0x486e6d['params']);})),this['disposeWithMe'](this[_0x5e1c00(0x2ef)][_0x5e1c00(0x183)](_0xa9934a=>{const _0x168fdb=_0x5e1c00;if(_0xa9934a['id']!==ro['id'])return;const _0xe1ad53=_0xa9934a[_0x168fdb(0x326)],{unitId:_0x153426,subUnitId:_0x2dd776,pivotTableId:_0x58c064}=_0xe1ad53,_0x5eaca2=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x350)],_0x442657={};switch(_0x5eaca2){case k[_0x168fdb(0x1f2)]:{const _0x2ab57=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x1d2)];if(!_0x2ab57)return;const {row:_0x33c862,col:_0xb13081,cellData:_0x453f49,pivotItemRenderInfoCache:_0x5f27a1,tableFieldId:_0x3f4603}=_0x2ab57,_0x374d0f=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0xe1ad53[_0x168fdb(0x1b5)]);if(!_0x374d0f||!_0x5f27a1)return;if(_0x3f4603){const _0x46b2b2=_0x374d0f[_0x168fdb(0x2d8)](_0x3f4603);if(!_0x46b2b2)return;_0x442657[_0x168fdb(0x1d2)]={..._0x374d0f[_0x168fdb(0x15e)](_0x46b2b2),'tableFieldId':_0x3f4603,'pivotTableId':_0xe1ad53[_0x168fdb(0x1b5)],'filterInfo':_0x374d0f[_0x168fdb(0x217)](_0x3f4603),'sortInfo':_0x374d0f['getSortInfo'](_0x3f4603),'format':_0x374d0f[_0x168fdb(0x1b3)](_0x3f4603)};}else{const _0x1d5419=ki(_0x33c862,_0xb13081,_0x453f49,_0x374d0f,_0x5f27a1),_0x5e2db9=_0x1d5419==null?void 0x0:_0x1d5419[_0x168fdb(0x199)];if(!_0x5e2db9)return;const _0x4552fd=_0x374d0f['getDataFieldByTableId'](_0x5e2db9);if(!_0x4552fd)return;_0x442657[_0x168fdb(0x1d2)]={..._0x374d0f[_0x168fdb(0x15e)](_0x4552fd),'tableFieldId':_0x5e2db9,'pivotTableId':_0xe1ad53[_0x168fdb(0x1b5)],'filterInfo':_0x374d0f[_0x168fdb(0x217)](_0x5e2db9),'sortInfo':_0x374d0f[_0x168fdb(0x11d)](_0x5e2db9),'format':_0x374d0f[_0x168fdb(0x1b3)](_0x5e2db9)};}}break;case k[_0x168fdb(0x1f7)]:{const _0x487466=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x205)];if(!_0x487466)return;const {pivotTableId:_0x2e253a}=_0x487466,_0x2125f4=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0x2e253a);if(!_0x2125f4)return;const _0x5b3d81=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x2e253a),_0x6228d6=Ji(_0x2125f4,_0x2e253a,_0x5b3d81);_0x442657[_0x168fdb(0x205)]=_0x6228d6;}break;case k['AddPivotField']:{const _0x208a8d=this[_0x168fdb(0x1ce)]['getPivotTableInstance'](_0x58c064),_0x33e870=this[_0x168fdb(0x1ce)][_0x168fdb(0x11a)](_0x153426),_0xccac5c=_0x33e870['getCollection'](_0x58c064);let _0x311777=null;const _0x52ea93=this[_0x168fdb(0x1ce)]['getPivotTableConfig'](_0x153426,_0x2dd776,_0x58c064),_0x3afc79=_0xe1ad53[_0x168fdb(0x326)]['addPivotField'];if(!_0x208a8d||!_0x52ea93||!_0x3afc79)return!0x1;const {dataFieldId:_0x381f2b,fieldArea:_0x5948c2,index:_0x3b528a}=_0x3afc79;_0x208a8d['startCollectChangeset']();const _0x4b2f05=_0x208a8d[_0x168fdb(0x1ea)](_0x381f2b,_0x5948c2,_0x3b528a);if(_0x4b2f05&&_0x5948c2===_0x4c5dc9[_0x168fdb(0x349)]){const _0x10b706=_0x4b2f05[_0x168fdb(0x2cf)](),_0x1f3e16=_0x208a8d[_0x168fdb(0x2d8)](_0x10b706);if(_0x1f3e16){const _0x28d718=_0x1f3e16==null?void 0x0:_0x1f3e16[_0x168fdb(0x313)]();_0x208a8d['setSubtotalType'](_0x4b2f05['getId'](),_0x28d718===_0x4483fc['number']?_0x253e12[_0x168fdb(0x1d0)]:_0x253e12[_0x168fdb(0x195)]);}const _0x4ef10d=_0x208a8d[_0x168fdb(0x22c)](),_0x117c8b=_0x208a8d[_0x168fdb(0x2e5)](),_0x188a85=_0x208a8d['getFieldCountByArea'](_0x4c5dc9['Value']);if(_0x4ef10d===-0x1&&_0x188a85>0x1){const _0x1879bd=_0x117c8b===_0xd6c14e[_0x168fdb(0x16a)]?_0xd6c14e[_0x168fdb(0x1f9)]:_0x117c8b,_0x1d8eb5=_0x1879bd===_0xd6c14e[_0x168fdb(0x28b)]?_0x4c5dc9[_0x168fdb(0x28b)]:_0x4c5dc9[_0x168fdb(0x1f9)];_0x208a8d[_0x168fdb(0x239)](_0x1879bd,_0x208a8d['getFieldCountByArea'](_0x1d8eb5));}}else{if(_0x4b2f05&&(_0x5948c2===_0x4c5dc9[_0x168fdb(0x28b)]||_0x5948c2===_0x4c5dc9[_0x168fdb(0x1f9)])){const _0x11dadc=_0x4b2f05[_0x168fdb(0x2cf)](),_0x298699=_0x208a8d[_0x168fdb(0x2d8)](_0x11dadc);if(_0x298699&&(_0x298699==null?void 0x0:_0x298699['getFieldDataType']())===_0x4483fc[_0x168fdb(0x25e)]){const _0x181015=_0x298699[_0x168fdb(0x1d4)]();if(_0x181015&&_0x208a8d['setFieldFormat'](_0x4b2f05[_0x168fdb(0x2cf)](),_0x181015),!_0xccac5c[_0x168fdb(0x346)]()['some'](_0x2d7fd9=>{const _0x3fe8b0=_0x168fdb,_0x3c391f=_0xccac5c[_0x3fe8b0(0x31d)](_0x2d7fd9);return _0x4d0993(_0x3c391f)?_0x3c391f['getFieldInfo']()[_0x3fe8b0(0x211)]===_0x381f2b:!0x1;})){const _0x4176bc=_0x33e870[_0x168fdb(0x1f6)](),_0x4ec6ea=Hi(_0x298699[_0x168fdb(0x2ed)],_0x298699['minDate']),_0x4edd7d=_0x298699[_0x168fdb(0x1f5)]()+_0x168fdb(0x279)+Ho(this[_0x168fdb(0x2f4)],_0x4ec6ea),_0x1aff1f=new _0x4839a0(_0x4176bc,_0x4edd7d,_0x5a6e84(0x3),_0x298699['getId'](),_0x4ec6ea);_0x33e870[_0x168fdb(0x2ab)](_0x1aff1f),_0xccac5c[_0x168fdb(0x37a)](_0x4176bc,_0x4edd7d),_0x208a8d[_0x168fdb(0x1ea)](_0x4176bc,_0x5948c2,(_0x3b528a!=null?_0x3b528a:0x0)+0x1),_0x311777=_0x1aff1f;}}}}const _0x54e251=_0x208a8d['isEmpty'](),_0x4f7b32=_0x208a8d[_0x168fdb(0x390)]()['toJSON']();let _0xf4af84;if(_0x311777){_0xf4af84=_0x311777[_0x168fdb(0x298)]();const _0x1fc746=_0x311777['getId']();_0xccac5c[_0x168fdb(0x123)](_0x1fc746);let _0x3c7bdf=!0x0;for(const _0x195e52 in _0x33e870[_0x168fdb(0x191)])if(_0x33e870[_0x168fdb(0x191)][_0x195e52][_0x168fdb(0x346)]()[_0x168fdb(0x169)](_0x1fc746)){_0x3c7bdf=!0x1;break;}_0x3c7bdf&&_0x33e870[_0x168fdb(0x1a4)](_0x1fc746);}const _0x19ad60=_0x208a8d['endCollectChangeset']();_0x442657[_0x168fdb(0x340)]={'view':_0x4f7b32,'changesets':_0x19ad60,'isEmpty':_0x54e251,'pivotTableConfig':_0x52ea93,'shouldBeAddedGroupJSON':_0xf4af84};}break;case k[_0x168fdb(0x2fd)]:{const _0x1f462d=_0xe1ad53['params'][_0x168fdb(0x292)];if(!_0x1f462d)return;const _0x382847=_0x1f462d[_0x168fdb(0x20b)],_0x2ef0ca=_0x1f462d[_0x168fdb(0x1b5)],{collection:_0x491529}=this[_0x168fdb(0x1ce)]['createCollectionWithDataRange']({'unitId':_0x382847['unitId'],'sheetName':_0x382847[_0x168fdb(0x30d)],'subUnitId':_0x382847[_0x168fdb(0x247)],'range':_0x382847['range']}),_0x395a34=new _0x37e502(_0x491529,void 0x0,_0x2ef0ca),_0x2ddb06=_0x395a34[_0x168fdb(0x390)](),_0x3a51e3=_0x395a34['toJSON'](),_0x2ea0a7=_0x491529[_0x168fdb(0x298)]();_0x442657[_0x168fdb(0x292)]={'view':_0x2ddb06,'fieldsConfig':_0x3a51e3,'collectionConfig':_0x2ea0a7,'isEmpty':_0x395a34[_0x168fdb(0x166)]()};}break;case k[_0x168fdb(0x39c)]:{const _0x5649e1=_0xe1ad53['params']['movePivotField'];if(!_0x5649e1)return;const {fieldId:_0x1558df,area:_0xe4aa93,index:_0x343819}=_0x5649e1,_0x10cd43=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x10cd43)return;const _0x1d3b84=this[_0x168fdb(0x1ce)]['getPivotTableInstance'](_0x58c064);if(!_0x1d3b84)return;_0x1d3b84[_0x168fdb(0x35c)]();const {area:_0x1b476b,index:_0xcf79e7}=_0x1d3b84[_0x168fdb(0x204)](_0x1558df);if(_0x1d3b84['updateFieldPosition'](_0x1558df,_0xe4aa93,_0x343819),_0xe4aa93===_0x4c5dc9[_0x168fdb(0x349)]&&_0x1d3b84[_0x168fdb(0x2f9)](_0x1558df)[_0x168fdb(0x370)]()===void 0x0){const _0x3836b1=_0x1d3b84[_0x168fdb(0x2f9)](_0x1558df);if(_0x3836b1&&_0x3836b1[_0x168fdb(0x370)]()===void 0x0){const _0x456fba=_0x1d3b84['getDataFieldByTableId'](_0x1558df);if(_0x456fba){const _0x322d53=_0x456fba==null?void 0x0:_0x456fba[_0x168fdb(0x313)]();_0x1d3b84[_0x168fdb(0x139)](_0x1558df,_0x322d53===_0x4483fc[_0x168fdb(0x1ab)]?_0x253e12[_0x168fdb(0x1d0)]:_0x253e12[_0x168fdb(0x195)]);}}}const _0x299517=_0x1d3b84['getValuePosition'](),_0x32a5f8=_0x1d3b84[_0x168fdb(0x22c)](),_0x4e8be4=_0x1d3b84[_0x168fdb(0x374)](_0x4c5dc9['Value'])>0x1;if(_0x4e8be4&&_0x1b476b===_0xe4aa93&&(_0xe4aa93===_0x4c5dc9[_0x168fdb(0x28b)]&&_0x299517===_0xd6c14e[_0x168fdb(0x28b)]||_0xe4aa93===_0x4c5dc9['Column']&&_0x299517===_0xd6c14e[_0x168fdb(0x1f9)])){let _0x2bc5ac=_0x32a5f8;_0xcf79e7<=_0x32a5f8&&_0x2bc5ac--,_0x343819<=_0x32a5f8&&_0x2bc5ac++,_0x1d3b84[_0x168fdb(0x239)](_0x299517,_0x2bc5ac);}else _0x4e8be4&&(_0x1b476b===_0x4c5dc9[_0x168fdb(0x28b)]&&_0x299517===_0xd6c14e[_0x168fdb(0x28b)]||_0x1b476b===_0x4c5dc9[_0x168fdb(0x1f9)]&&_0x299517===_0xd6c14e[_0x168fdb(0x1f9)])&&_0x32a5f8>=_0xcf79e7&&_0x1d3b84[_0x168fdb(0x239)](_0x299517,_0x32a5f8-0x1),_0x4e8be4&&(_0xe4aa93===_0x4c5dc9[_0x168fdb(0x28b)]&&_0x299517===_0xd6c14e[_0x168fdb(0x28b)]||_0xe4aa93===_0x4c5dc9[_0x168fdb(0x1f9)]&&_0x299517===_0xd6c14e['Column'])&&_0x32a5f8>=_0x343819&&_0x1d3b84['updateValuePosition'](_0x299517,_0x32a5f8+0x1);const _0x3f5ae7=_0x1d3b84[_0x168fdb(0x390)](),_0x5e8e70=_0x1d3b84['isEmpty'](),_0x34528d=_0x1d3b84[_0x168fdb(0x2e6)]();_0x442657[_0x168fdb(0x278)]={'view':_0x3f5ae7[_0x168fdb(0x298)](),'changesets':_0x34528d,'isEmpty':_0x5e8e70,'pivotTableConfig':_0x10cd43};}break;case k[_0x168fdb(0x369)]:{const _0x34d218=_0xe1ad53[_0x168fdb(0x326)]['removePivotField'];if(!_0x34d218)return;const _0x58eedd=_0x34d218[_0x168fdb(0x2a4)],_0x1d2b60=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x1d2b60)return!0x1;const _0x2d89bd=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0x58c064);if(!_0x2d89bd)return!0x1;_0x2d89bd['startCollectChangeset']();for(const _0x2ffd06 of _0x58eedd){const {area:_0x56b3ed}=_0x2d89bd[_0x168fdb(0x204)](_0x2ffd06);_0x56b3ed===_0x4c5dc9['Value']&&_0x2d89bd[_0x168fdb(0x137)](_0x2ffd06),(_0x56b3ed===_0x4c5dc9[_0x168fdb(0x28b)]||_0x56b3ed===_0x4c5dc9[_0x168fdb(0x1f9)])&&_0x2d89bd[_0x168fdb(0x193)](_0x2ffd06),_0x2d89bd[_0x168fdb(0x360)](_0x2ffd06);}const _0x540239=_0x2d89bd[_0x168fdb(0x166)](),_0x28322e=_0x2d89bd[_0x168fdb(0x390)]()[_0x168fdb(0x298)](),_0x3902c0=_0x2d89bd[_0x168fdb(0x2e6)]();_0x442657['removePivotField']={'changesets':_0x3902c0,'pivotTableConfig':_0x1d2b60,'isEmpty':_0x540239,'view':_0x28322e};}break;case k['SetPivotFilter']:{const _0x4ef0c3=_0xe1ad53['params'][_0x168fdb(0x2e2)];if(!_0x4ef0c3)return;const {tableFieldId:_0x5f0797,items:_0x450276,isAll:_0x240b95}=_0x4ef0c3,_0x8360b0=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0x58c064),_0x3665a2=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x153426,_0x2dd776,_0x58c064);if(!_0x8360b0||!_0x3665a2)return;_0x8360b0[_0x168fdb(0x35c)](),_0x8360b0[_0x168fdb(0x23a)](_0x5f0797,{'type':_0x2663cf[_0x168fdb(0x129)],'list':_0x450276,'isAll':_0x240b95});const _0x30e5a8=_0x8360b0[_0x168fdb(0x166)](),_0x22cf41=_0x8360b0[_0x168fdb(0x390)]()[_0x168fdb(0x298)](),_0x4d72e8=_0x8360b0[_0x168fdb(0x2e6)]();_0x442657['setPivotFilter']={'view':_0x22cf41,'changesets':_0x4d72e8,'isEmpty':_0x30e5a8,'pivotTableConfig':_0x3665a2};}break;case k['SetValuePivotFilter']:{const _0x41a2ee=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x131)];if(!_0x41a2ee)return;const {tableFieldId:_0x122381,filterInfo:_0x3d35bb}=_0x41a2ee,_0x5aa4d9=this[_0x168fdb(0x1ce)]['getPivotTableInstance'](_0x58c064),_0x32058a=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x5aa4d9||!_0x32058a)return;_0x5aa4d9[_0x168fdb(0x35c)](),_0x5aa4d9[_0x168fdb(0x29d)](_0x122381,_0x3d35bb);const _0x47497a=_0x5aa4d9[_0x168fdb(0x166)](),_0x15c151=_0x5aa4d9[_0x168fdb(0x390)]()['toJSON'](),_0x564e6c=_0x5aa4d9[_0x168fdb(0x2e6)]();_0x442657[_0x168fdb(0x131)]={'view':_0x15c151,'changesets':_0x564e6c,'isEmpty':_0x47497a,'pivotTableConfig':_0x32058a};}break;case k[_0x168fdb(0x1c8)]:{const _0x301b7f=_0xe1ad53['params']['setPivotSort'];if(!_0x301b7f)return;const {tableFieldId:_0x102353,info:_0x143a93}=_0x301b7f,_0x154474=this['_sheetsPivotDataSourceModel'][_0x168fdb(0x1e8)](_0x58c064),_0xf5514f=this[_0x168fdb(0x1ce)]['getPivotTableConfig'](_0x153426,_0x2dd776,_0x58c064);if(!_0x154474||!_0xf5514f)return;_0x154474['startCollectChangeset'](),_0x154474['setSortInfo'](_0x102353,_0x143a93);const _0x5e68e1=_0x154474['isEmpty'](),_0x1b4b54=_0x154474[_0x168fdb(0x390)]()['toJSON'](),_0x20dcd=_0x154474[_0x168fdb(0x2e6)]();_0x442657[_0x168fdb(0x1ee)]={'view':_0x1b4b54,'changesets':_0x20dcd,'isEmpty':_0x5e68e1,'pivotTableConfig':_0xf5514f};}break;case k[_0x168fdb(0x11b)]:{const _0x634366=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x165)];if(!_0x634366)return;const {tableFieldId:_0x35f86b,displayName:_0x3fc54e,subtotalType:_0x87d2f9,format:_0x5681ea}=_0x634366,_0x317bae=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0x58c064),_0x8382b9=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x317bae||!_0x8382b9)return;_0x317bae[_0x168fdb(0x35c)](),_0x3fc54e!==void 0x0&&_0x317bae[_0x168fdb(0x2d4)](_0x35f86b,_0x3fc54e),_0x87d2f9!==void 0x0&&_0x317bae[_0x168fdb(0x139)](_0x35f86b,_0x87d2f9),_0x5681ea!==void 0x0&&_0x317bae[_0x168fdb(0x1d9)](_0x35f86b,_0x5681ea);const _0x3cef75=_0x317bae[_0x168fdb(0x166)](),_0x10e608=_0x317bae[_0x168fdb(0x390)]()['toJSON'](),_0x57e589=_0x317bae['endCollectChangeset']();_0x442657[_0x168fdb(0x165)]={'changesets':_0x57e589,'pivotTableConfig':_0x8382b9,'isEmpty':_0x3cef75,'view':_0x10e608};}break;case k[_0x168fdb(0x15f)]:{const _0x3ff233=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x22b)];if(!_0x3ff233)return;const {dataRangeInfo:_0x3b543d,unitId:_0x2590ca,subUnitId:_0x201367}=_0x3ff233,_0x2df47d=this[_0x168fdb(0x1ce)]['getPivotTableConfig'](_0x2590ca,_0x201367,_0x58c064),_0x2c1141=this['_sheetsPivotDataSourceModel'][_0x168fdb(0x1e8)](_0x58c064);if(!this[_0x168fdb(0x1ce)][_0x168fdb(0x178)](_0x2590ca,_0x58c064)||!_0x2c1141||!_0x2df47d)return;const _0x3719a6=this[_0x168fdb(0x1ce)][_0x168fdb(0x303)](_0x2590ca,_0x58c064,_0x3b543d),_0x11dab0=this[_0x168fdb(0x1ce)][_0x168fdb(0x178)](_0x2590ca,_0x58c064)[_0x168fdb(0x298)](),{collection:_0x3667e7}=this['_sheetsPivotDataSourceModel'][_0x168fdb(0x1e9)]({'unitId':_0x3b543d[_0x168fdb(0x28f)],'sheetName':_0x3b543d[_0x168fdb(0x30d)],'subUnitId':_0x3b543d[_0x168fdb(0x247)],'range':_0x3b543d[_0x168fdb(0x383)]}),_0x43ffca=_0x3667e7[_0x168fdb(0x298)]();_0x2c1141['startCollectChangeset']();const _0x398b55=this[_0x168fdb(0x1ce)]['getDataFieldManager'](_0x2590ca)['getAutoDisplayNameFunction']()||_0x3a6f82;_0x2c1141[_0x168fdb(0x1fd)](_0x2c3080=>{const _0x10038e=_0x168fdb,_0x50a8b5=_0x2c3080[_0x10038e(0x2fb)]();if(!_0x3667e7[_0x10038e(0x320)](_0x50a8b5)){const _0x2a8541=_0x3667e7['getDataFieldBySourceName'](_0x2c3080['getSourceName']());if(_0x2a8541){_0x2c1141[_0x10038e(0x26c)](_0x2c3080[_0x10038e(0x2cf)](),_0x2a8541['getName'](),_0x2a8541[_0x10038e(0x2cf)]());const {area:_0x1f6206}=_0x2c1141['getFieldPositionInfoById'](_0x2c3080[_0x10038e(0x2cf)]());let _0x5276bd=_0x2c3080[_0x10038e(0x38c)]();const _0x2e4aed=_0x2c3080['getDisplayName']();if(_0x1f6206===_0x4c5dc9[_0x10038e(0x349)]){const _0x5a3bd4=_0x2c3080['getSubtotal']();_0x5276bd=_0x398b55(_0x2a8541[_0x10038e(0x1f5)](),_0x5a3bd4);}_0x2e4aed!==_0x5276bd&&_0x2c1141[_0x10038e(0x2d4)](_0x2c3080[_0x10038e(0x2cf)](),_0x5276bd);}else _0x2c1141['removeField'](_0x2c3080['getId']());}});const _0x152560=_0x2c1141[_0x168fdb(0x166)](),_0x31a084=_0x2c1141[_0x168fdb(0x390)]()[_0x168fdb(0x298)](),_0x401465=_0x2c1141['endCollectChangeset']();_0x442657[_0x168fdb(0x22b)]={'view':_0x31a084,'changesets':_0x401465,'isEmpty':_0x152560,'pivotTableConfig':_0x2df47d,'collectionConfig':_0x43ffca,'oldCollectionConfig':_0x11dab0,'deleteIds':_0x3719a6};}break;case k[_0x168fdb(0x13a)]:{const _0xcf7a21=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x239)];if(!_0xcf7a21)return;const {position:_0x241111,index:_0x58d4c8}=_0xcf7a21,_0x5de2bd=this['_sheetsPivotDataSourceModel'][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x5de2bd)return!0x1;const _0x338db4=this[_0x168fdb(0x1ce)]['getPivotTableInstance'](_0x58c064);if(!_0x338db4)return!0x1;_0x338db4['startCollectChangeset'](),_0x338db4[_0x168fdb(0x239)](_0x241111,_0x58d4c8);const _0x544869=_0x338db4['isEmpty'](),_0x440f15=_0x338db4[_0x168fdb(0x390)]()[_0x168fdb(0x298)](),_0x2fa0c4=_0x338db4[_0x168fdb(0x2e6)]();_0x442657[_0x168fdb(0x239)]={'changesets':_0x2fa0c4,'pivotTableConfig':_0x5de2bd,'isEmpty':_0x544869,'view':_0x440f15};}break;case k[_0x168fdb(0x378)]:{const _0x227428=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x172)];if(!_0x227428)return;const {tableFieldId:_0x45b905,collapse:_0xecffe2,item:_0x3ce8ac}=_0x227428,_0x31f238=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0x58c064),_0x812152=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x31f238||!_0x812152)return;_0x31f238[_0x168fdb(0x35c)](),_0x31f238['setCollapse'](_0x45b905,_0xecffe2,_0x3ce8ac);const _0x2e337d=_0x31f238[_0x168fdb(0x166)](),_0x2c0bea=_0x31f238[_0x168fdb(0x390)]()[_0x168fdb(0x298)](),_0x274fda=_0x31f238['endCollectChangeset']();_0x442657['setPivotCollapse']={'view':_0x2c0bea,'isEmpty':_0x2e337d,'pivotTableConfig':_0x812152,'changesets':_0x274fda};}break;case k[_0x168fdb(0x124)]:{const _0x1a3433=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x1dc)];if(!_0x1a3433)return;const {pivotTableConfig:_0x41fbac}=_0x1a3433,_0x5d24d3=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0x58c064),_0x394692=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x5d24d3||!_0x394692)return;_0x5d24d3[_0x168fdb(0x35c)](),ji(_0x5d24d3,_0x41fbac);const _0x32aa38=_0x5d24d3[_0x168fdb(0x166)](),_0x4ecd36=_0x5d24d3[_0x168fdb(0x390)]()[_0x168fdb(0x298)](),_0x106ee8=_0x5d24d3[_0x168fdb(0x2e6)]();_0x442657[_0x168fdb(0x1dc)]={'view':_0x4ecd36,'isEmpty':_0x32aa38,'pivotTableConfig':{..._0x394692,'fieldsConfig':_0x5d24d3[_0x168fdb(0x298)]()},'changesets':_0x106ee8};}break;case k[_0x168fdb(0x288)]:{const _0x2c53e3=_0xe1ad53[_0x168fdb(0x326)][_0x168fdb(0x127)];if(!_0x2c53e3)return;const _0x2c3040=this[_0x168fdb(0x1ce)][_0x168fdb(0x1e8)](_0x58c064),_0x3a242d=this[_0x168fdb(0x1ce)][_0x168fdb(0x1f0)](_0x153426,_0x2dd776,_0x58c064);if(!_0x2c3040||!_0x3a242d)return;_0x2c3040[_0x168fdb(0x35c)](),Ki(_0x2c3040,_0x2c53e3[_0x168fdb(0x2ec)]);const _0x480226=_0x2c3040[_0x168fdb(0x390)]()['toJSON'](),_0x3c389c=_0x2c3040['endCollectChangeset']();_0x442657[_0x168fdb(0x127)]={'view':_0x480226,'isEmpty':!0x0,'pivotTableConfig':{..._0x3a242d,'fieldsConfig':_0x2c3040['toJSON']()},'changesets':_0x3c389c};}break;case k['AddPivotTableWithConfig']:{const _0x5531ff=_0xe1ad53[_0x168fdb(0x326)]['addPivotTableWithConfig'];if(!_0x5531ff)return;const _0x2512c1=_0x5531ff[_0x168fdb(0x20b)],_0x1cfec9=_0x5531ff[_0x168fdb(0x1b5)],{collection:_0x2e1b28}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x2512c1['unitId'],'sheetName':_0x2512c1[_0x168fdb(0x30d)],'subUnitId':_0x2512c1[_0x168fdb(0x247)],'range':_0x2512c1[_0x168fdb(0x383)]}),_0x493dd4=new _0x37e502(_0x2e1b28,void 0x0,_0x1cfec9),_0x2464b4=_0x2e1b28[_0x168fdb(0x346)](),{rows:_0x4ae096,columns:_0x381285,filters:_0x574a37,values:_0x1b6639}=_0x5531ff[_0x168fdb(0x380)];_0x493dd4[_0x168fdb(0x35c)]();for(const {field:_0x4a92c4,selectedItems:_0x34d4af}of _0x4ae096||[]){const _0x4c542f=_0x2464b4[_0x4a92c4];if(_0x4c542f){const _0x29f65c=_0x493dd4['addFieldWithSourceId'](_0x4c542f,_0x4c5dc9[_0x168fdb(0x28b)]);_0x34d4af&&_0x29f65c&&_0x493dd4[_0x168fdb(0x23a)](_0x29f65c[_0x168fdb(0x2cf)](),{'type':_0x2663cf['ManualFilter'],'list':_0x34d4af,'isAll':!0x1});}}for(const {field:_0x1b5d4d,selectedItems:_0x38b951}of _0x381285||[]){const _0x273b61=_0x2464b4[_0x1b5d4d];if(_0x273b61){const _0x50ed18=_0x493dd4[_0x168fdb(0x1ea)](_0x273b61,_0x4c5dc9[_0x168fdb(0x1f9)]);_0x38b951&&_0x50ed18&&_0x493dd4[_0x168fdb(0x23a)](_0x50ed18[_0x168fdb(0x2cf)](),{'type':_0x2663cf[_0x168fdb(0x129)],'list':_0x38b951,'isAll':!0x1});}}for(const {field:_0x287449,selectedItems:_0x20d522}of _0x574a37||[]){const _0x45b7b7=_0x2464b4[_0x287449];if(_0x45b7b7){const _0x1b5896=_0x493dd4['addFieldWithSourceId'](_0x45b7b7,_0x4c5dc9[_0x168fdb(0x1f2)]);_0x20d522&&_0x1b5896&&_0x493dd4['setLabelFilterInfo'](_0x1b5896[_0x168fdb(0x2cf)](),{'type':_0x2663cf[_0x168fdb(0x129)],'list':_0x20d522,'isAll':!0x1});}}for(const {field:_0x508f24,subTotalType:_0x51b29e,formatString:_0x440904}of _0x1b6639||[]){const _0x4ede6b=_0x2e1b28[_0x168fdb(0x31d)](_0x2464b4[_0x508f24]);if(!_0x4ede6b)continue;const _0x1a34a8=_0x2464b4[_0x508f24];if(_0x1a34a8){const _0x234ec3=_0x493dd4[_0x168fdb(0x1ea)](_0x1a34a8,_0x4c5dc9['Value']);if(_0x234ec3){if(_0x51b29e!==void 0x0){_0x493dd4[_0x168fdb(0x139)](_0x234ec3['getId'](),_0x51b29e);const _0x3726fe=this['_sheetsPivotDataSourceModel'][_0x168fdb(0x11a)](_0x2512c1[_0x168fdb(0x28f)])[_0x168fdb(0x2f3)]()||_0x3a6f82,_0x4fe7f8=_0x2e1b28[_0x168fdb(0x263)](_0x1a34a8),_0x3883c4=_0x3726fe(_0x4fe7f8,_0x51b29e);_0x493dd4[_0x168fdb(0x2d4)](_0x234ec3[_0x168fdb(0x2cf)](),_0x3883c4);}else{if(_0x4ede6b){const _0x1e1a09=_0x4ede6b==null?void 0x0:_0x4ede6b[_0x168fdb(0x313)]();_0x493dd4[_0x168fdb(0x139)](_0x234ec3['getId'](),_0x1e1a09===_0x4483fc[_0x168fdb(0x1ab)]?_0x253e12[_0x168fdb(0x1d0)]:_0x253e12['count']);}}_0x440904&&_0x493dd4['setFieldFormat'](_0x234ec3['getId'](),_0x440904);}}}const _0x3a52cd=_0x493dd4[_0x168fdb(0x390)](),_0x220393=_0x493dd4[_0x168fdb(0x298)](),_0x5488dc=_0x493dd4['isEmpty'](),_0x4455e2=_0x493dd4[_0x168fdb(0x2e6)](),_0x1e97d7=_0x2e1b28[_0x168fdb(0x298)]();_0x442657[_0x168fdb(0x258)]={'view':_0x3a52cd,'fieldsConfig':_0x220393,'collectionConfig':_0x1e97d7,'isEmpty':_0x5488dc,'changesets':_0x4455e2};}break;case k[_0x168fdb(0x259)]:{const _0x5e2137=Li(this[_0x168fdb(0x2f4)],_0xe1ad53);if(!_0x5e2137)return;const {range:_0x922479,sourceSubUnitId:_0x50d68a,sourceUnitId:_0xfbe0e4,formatMap:_0x26eb1c,indexes:_0x2aa4c7}=_0x5e2137;_0x442657['drillDown']={'range':_0x922479,'sourceSubUnitId':_0x50d68a,'sourceUnitId':_0xfbe0e4,'formatMap':_0x26eb1c,'indexes':_0x2aa4c7};}break;}this['_commandService']['executeCommand'](lo['id'],{'version':_0xe1ad53['version'],'result':_0x442657},{'onlyLocal':!0x0});}));}[_0x36bb8c(0x359)](){const _0x599888=_0x36bb8c;this['disposeWithMe'](this[_0x599888(0x2ef)]['onCommandExecuted'](_0x251dfa=>{const _0x20ff3c=_0x599888;if(_0x251dfa['id']!==uo['id'])return;const _0x3dfb51=_0x251dfa[_0x20ff3c(0x326)];return this[_0x20ff3c(0x1ce)][_0x20ff3c(0x26b)](_0x3dfb51[_0x20ff3c(0x184)]),!0x0;}));}['_subjectCollectionChange'](){const _0x1f593f=_0x36bb8c;this[_0x1f593f(0x1ce)][_0x1f593f(0x1de)][_0x1f593f(0x208)](_0x3ab418=>{const _0x189ee0=_0x1f593f;switch(_0x3ab418[_0x189ee0(0x350)]){case Le['add']:_0x3ab418[_0x189ee0(0x299)]&&_0x3ab418[_0x189ee0(0x17c)]&&this[_0x189ee0(0x1ad)](_0x3ab418['token'],_0x3ab418[_0x189ee0(0x299)],_0x3ab418[_0x189ee0(0x17c)]);break;case Le[_0x189ee0(0x2ad)]:{const {unitId:_0x2e9203,subUnitId:_0x50811b,token:_0x22fc4a}=_0x3ab418;_0x2e9203&&_0x50811b&&_0x22fc4a&&this[_0x189ee0(0x398)](_0x2e9203,_0x50811b,_0x22fc4a);}break;case Le[_0x189ee0(0x34e)]:{const {token:_0x28ddc7,oldSourceRangeInfo:_0x37e085,dataRangeInfo:_0x443c5b,targetCellInfo:_0xbc05a1}=_0x3ab418,{unitId:_0x30398f,subUnitId:_0x311305}=_0x37e085||{};_0x30398f&&_0x311305&&_0x28ddc7&&this[_0x189ee0(0x398)](_0x30398f,_0x311305,_0x28ddc7),_0x443c5b&&_0xbc05a1&&this[_0x189ee0(0x1ad)](_0x28ddc7,_0x443c5b,_0xbc05a1);}break;}});}['_subjectFieldsCollectionChange'](){const _0x2812d1=_0x36bb8c;this[_0x2812d1(0x1ce)][_0x2812d1(0x2a9)][_0x2812d1(0x208)](_0x35c63c=>{const _0x355d66=_0x2812d1;Object[_0x355d66(0x16f)](_0x35c63c)[_0x355d66(0x2af)](_0xafe98c=>{const _0x1bda83=_0x355d66,_0x31f753=this[_0x1bda83(0x1ce)]['getTargetByPivotId'](_0xafe98c);if(_0x31f753){const _0x2092e2=this[_0x1bda83(0x1ce)][_0x1bda83(0x1f0)](_0x31f753==null?void 0x0:_0x31f753[_0x1bda83(0x28f)],_0x31f753==null?void 0x0:_0x31f753[_0x1bda83(0x247)],_0xafe98c);_0x2092e2&&(this[_0x1bda83(0x1ad)](_0xafe98c,_0x2092e2[_0x1bda83(0x20b)],_0x2092e2[_0x1bda83(0x17c)]),this[_0x1bda83(0x297)]([{'unitId':_0x31f753[_0x1bda83(0x28f)],'subUnitId':_0x31f753['subUnitId'],'token':_0xafe98c}]));}});});}[_0x36bb8c(0x19a)](){const _0x1020ad=_0x36bb8c;this['_sheetsPivotDataSourceModel']['viewData$'][_0x1020ad(0x208)](_0x24dc15=>{const _0x2a14ca=_0x1020ad,{unitId:_0x454a77,subUnitId:_0x32d403,pivotTableId:_0x56a858}=_0x24dc15;_0x454a77&&_0x32d403&&_0x56a858&&this[_0x2a14ca(0x297)]([{'unitId':_0x454a77,'subUnitId':_0x32d403,'token':_0x56a858}]);});}['triggerDirtyFeature'](_0x59d479){const _0x33fa01=_0x36bb8c,_0x2a80fb={};_0x59d479[_0x33fa01(0x2af)](_0x3fd625=>{var _0x27611f,_0x1bd946;const {unitId:_0x5154f9,subUnitId:_0x28ad2f,token:_0x2d1024}=_0x3fd625;_0x2a80fb[_0x5154f9]=(_0x27611f=_0x2a80fb[_0x5154f9])!=null?_0x27611f:{},_0x2a80fb[_0x5154f9][_0x28ad2f]=(_0x1bd946=_0x2a80fb[_0x5154f9][_0x28ad2f])!=null?_0x1bd946:{},_0x2a80fb[_0x5154f9][_0x28ad2f][_0x2d1024]=!0x0;}),this['_commandService'][_0x33fa01(0x31f)](Vt['id'],_0x2a80fb);}[_0x36bb8c(0x398)](_0x3906ca,_0x3fd02d,_0x2714b6){const _0x2ebc0b=_0x36bb8c;this[_0x2ebc0b(0x23f)][_0x2ebc0b(0x323)](_0x3906ca,_0x3fd02d,[_0x2714b6]);}[_0x36bb8c(0x1ad)](_0x3739ca,_0x16223c,_0xa95332){const _0x56f79b=_0x36bb8c,{unitId:_0x2fb838,subUnitId:_0xff3884}=_0x16223c;this[_0x56f79b(0x23f)][_0x56f79b(0x33c)](_0xa95332[_0x56f79b(0x28f)],_0xa95332[_0x56f79b(0x247)],_0x3739ca)&&this[_0x56f79b(0x398)](_0x2fb838,_0xff3884,_0x3739ca);const _0x560af5={'sheetId':_0xff3884,..._0x16223c};this[_0x56f79b(0x23f)][_0x56f79b(0x2a1)](_0xa95332[_0x56f79b(0x28f)],_0xa95332['subUnitId'],_0x3739ca,{'unitId':_0xa95332[_0x56f79b(0x28f)],'subUnitId':_0xa95332[_0x56f79b(0x247)],'dependencyRanges':[_0x560af5],'getDirtyData':(_0x15f2f7,_0x26e43b)=>{const _0x3a50cc=_0x56f79b,_0x5e0969=this[_0x3a50cc(0x1ce)],_0x206d09=_0x5e0969[_0x3a50cc(0x24a)](_0x3739ca);if(!_0x206d09)return Es();const {unitId:_0x360c35,subUnitId:_0x19dc39}=_0x206d09,_0x334166=As(_0x15f2f7,_0x26e43b,_0x16223c);if(_0x334166[_0x3a50cc(0x32f)]>0x0){const _0x4b5c54=_0x5e0969[_0x3a50cc(0x178)](_0x2fb838,_0x3739ca),_0x2874c2=_0x4b5c54[_0x3a50cc(0x346)](),_0x58b766=this['getMatrixFromRunTimeData'](_0x16223c[_0x3a50cc(0x28f)],_0x16223c[_0x3a50cc(0x247)],_0x26e43b),_0x4c199f={},_0x2d3a3e=this['_sheetsPivotDataSourceModel'][_0x3a50cc(0x11a)](_0x360c35)[_0x3a50cc(0x2f3)]()||_0x3a6f82,_0x169a89=[];for(const _0x56291c of _0x334166){const _0x2d7db6=_0x56291c-(_0x16223c['range'][_0x3a50cc(0x328)]||0x0),_0x5bdfaf=_0x2874c2[_0x2d7db6];_0x169a89[_0x3a50cc(0x1fa)](_0x5bdfaf),_0x4c199f[_0x5bdfaf]=_0x4b5c54[_0x3a50cc(0x31d)](_0x5bdfaf)[_0x3a50cc(0x1f5)](),_0x5e0969[_0x3a50cc(0x11a)](_0x2fb838)[_0x3a50cc(0x325)](_0x5bdfaf,_0x16223c,_0x2d7db6,_0x58b766);}_0x4b5c54[_0x3a50cc(0x226)](_0x169a89)[_0x3a50cc(0x2af)](_0x10ca5b=>{const _0x108873=_0x3a50cc,[_0x3b0b06,_0x4022e6]=_0x10ca5b,_0x28e608=_0x4b5c54[_0x108873(0x31d)](_0x3b0b06),_0x108f27=_0x4b5c54['getFieldById'](_0x4022e6);_0x28e608&&_0x108f27&&_0x28e608['refreshGroupField'](_0x108f27);}),_0x4b5c54[_0x3a50cc(0x27c)]();const _0x4202d5=_0x5e0969[_0x3a50cc(0x1e8)](_0x3739ca);if(_0x4202d5){Os(_0x4202d5,_0x4c199f,_0x2d3a3e),_0x4202d5[_0x3a50cc(0x300)](!0x0);const _0x21f1b5=_0x4202d5[_0x3a50cc(0x390)](),_0x5f43fa=_0x5e0969[_0x3a50cc(0x1f0)](_0x360c35,_0x19dc39,_0x3739ca),_0x25c856=_0x5e0969[_0x3a50cc(0x11a)](_0x2fb838)['toJSON']();_0x5e0969[_0x3a50cc(0x2ae)](_0x360c35,_0x19dc39,B[_0x3a50cc(0x227)],_0x3739ca,_0x21f1b5,_0x5f43fa,_0x25c856,!0x0);}}return this[_0x3a50cc(0x2c7)](_0x360c35,_0x19dc39,_0x3739ca);}});}[_0x36bb8c(0x36b)](_0x5ad39c,_0x549caa,_0x24047e){var _0x2e63ce,_0x3ad8c3;const {arrayFormulaCellData:_0x574307,unitData:_0x322899}=_0x24047e,_0x2a197b=(_0x2e63ce=_0x574307==null?void 0x0:_0x574307[_0x5ad39c])==null?void 0x0:_0x2e63ce[_0x549caa],_0x46c16d=(_0x3ad8c3=_0x322899==null?void 0x0:_0x322899[_0x5ad39c])==null?void 0x0:_0x3ad8c3[_0x549caa];return{'arrayFormulaCellDataMatrix':_0x2a197b,'unitDataMatrix':_0x46c16d};}[_0x36bb8c(0x2c7)](_0x7d3264,_0x1a5736,_0x7a7d20){const _0x44ac92=_0x36bb8c,_0x56f8c9=this[_0x44ac92(0x1ce)][_0x44ac92(0x13d)](_0x7d3264,_0x1a5736,_0x7a7d20),_0xade9e6=[],_0x2b09b7=new _0x828916();if(_0x56f8c9){const {rangeCache:_0x348dba,matrix:_0x16139d,oldRangeCache:_0x3d87c5,oldMatrix:_0x2abc8b}=_0x56f8c9,_0xd65e65=Bt(_0x3d87c5),_0x30b901=Bt(_0x348dba);_0xade9e6[_0x44ac92(0x1fa)](..._0x30b901,..._0xd65e65),_0x2abc8b&&_0x3d87c5&&_0xd65e65[_0x44ac92(0x2af)](_0x1b285a=>{const _0xabe2cb=_0x44ac92;for(let _0x56fb5a=_0x1b285a[_0xabe2cb(0x28d)];_0x56fb5a<=_0x1b285a[_0xabe2cb(0x321)];_0x56fb5a++)for(let _0x4e96c9=_0x1b285a[_0xabe2cb(0x328)];_0x4e96c9<=_0x1b285a[_0xabe2cb(0x130)];_0x4e96c9++)_0x2b09b7[_0xabe2cb(0x160)](_0x56fb5a,_0x4e96c9);}),_0x16139d&&_0x30b901&&_0x30b901['forEach'](_0x2eea91=>{const _0x127f3c=_0x44ac92;for(let _0xf36d17=_0x2eea91[_0x127f3c(0x28d)];_0xf36d17<=_0x2eea91[_0x127f3c(0x321)];_0xf36d17++)for(let _0x5f3048=_0x2eea91[_0x127f3c(0x328)];_0x5f3048<=_0x2eea91[_0x127f3c(0x130)];_0x5f3048++)_0x2b09b7[_0x127f3c(0x162)](_0xf36d17,_0x5f3048,_0x16139d[_0x127f3c(0x138)](_0xf36d17,_0x5f3048));});}const _0x4c51ee={};return _0x4c51ee[_0x7d3264]={[_0x1a5736]:xs(_0xade9e6)},{'runtimeCellData':{[_0x7d3264]:{[_0x1a5736]:_0x2b09b7}},'dirtyRanges':_0x4c51ee};}[_0x36bb8c(0x234)](){}};ct=Us([at(0x0,_0x11f8dd($)),at(0x1,_0x11f8dd(_0x42bcc3)),at(0x2,_0x11f8dd(_0x2e7974)),at(0x3,_0x11f8dd(_0x3bf26c)),at(0x4,_0x11f8dd(_0x28712a))],ct);var ks=Object[_0x36bb8c(0x15a)],Js=(_0x414b71,_0x504542,_0x21eedf,_0x1c4952)=>{for(var _0x595246=_0x1c4952>0x1?void 0x0:_0x1c4952?ks(_0x504542,_0x21eedf):_0x504542,_0x102f0a=_0x414b71['length']-0x1,_0x5a36d6;_0x102f0a>=0x0;_0x102f0a--)(_0x5a36d6=_0x414b71[_0x102f0a])&&(_0x595246=_0x5a36d6(_0x595246)||_0x595246);return _0x595246;},_t=(_0x41896d,_0x3e095f)=>(_0x74aa46,_0x2e65ae)=>_0x3e095f(_0x74aa46,_0x2e65ae,_0x41896d);let dt=class extends _0x441d3c{constructor(_0x1a23ab,_0x1c0b3e,_0x4a7479,_0x451e1a){const _0xe8ab3c=_0x36bb8c;super(),V(this,'disposableCollection',new _0x4e3df4()),(this[_0xe8ab3c(0x32c)]=_0x1a23ab,this[_0xe8ab3c(0x27d)]=_0x1c0b3e,this[_0xe8ab3c(0x133)]=_0x4a7479,this[_0xe8ab3c(0x24e)]=_0x451e1a,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x988fd3=_0x36bb8c;this[_0x988fd3(0x245)](this[_0x988fd3(0x27d)]['interceptCommand']({'getMutations':_0x50b351=>{const _0x2bfad6=_0x988fd3;if(_0x50b351['id']===_0x91d41c['id']||_0x50b351['id']===_0x549992['id']){const _0x4f1237=[],_0x3cddba=[],_0x12f031=this[_0x2bfad6(0x133)][_0x2bfad6(0x358)]()[_0x2bfad6(0x392)](_0x47f4df=>_0x47f4df[_0x2bfad6(0x383)]),_0x415294=_0x4c89c6(this['_univerInstanceService']);if(!_0x415294)return{'redos':[],'undos':[]};const {unitId:_0x5bc1b3,subUnitId:_0x1ffbd8}=_0x415294,_0x3a83f2={},_0x58fea2=this[_0x2bfad6(0x24e)][_0x2bfad6(0x38f)](_0x5bc1b3,_0x1ffbd8);if(_0x58fea2!=null&&_0x58fea2[_0x2bfad6(0x158)])for(const [_0x5e0980,_0x20a3b5]of _0x58fea2){const {unitId:_0x290db3,subUnitId:_0x1afb57,row:_0x22f60a,col:_0xfc3fdf}=_0x20a3b5['targetCellInfo'];_0x290db3===_0x415294[_0x2bfad6(0x28f)]&&_0x1afb57===_0x415294['subUnitId']&&(_0x3a83f2[_0x22f60a+'-'+_0xfc3fdf]=_0x5e0980);}return _0x12f031&&_0x415294&&_0x12f031[_0x2bfad6(0x2af)](_0x1efa4a=>{const _0xe83618=_0x2bfad6;_0xbe3e63[_0xe83618(0x30e)](_0x1efa4a,(_0x9f4616,_0x40db72)=>{const _0x57af0b=_0xe83618,_0x20e6ea=_0x9f4616+'-'+_0x40db72;if(_0x3a83f2[_0x20e6ea]){const _0x1d8b83=_0x3a83f2[_0x20e6ea];_0x4f1237[_0x57af0b(0x1fa)]({'id':Ot['id'],'params':{'unitId':_0x5bc1b3,'subUnitId':_0x1ffbd8,'pivotTableId':_0x1d8b83}});const _0x5991a8=this[_0x57af0b(0x24e)][_0x57af0b(0x178)](_0x5bc1b3,_0x1d8b83),_0x347cd9=this[_0x57af0b(0x24e)][_0x57af0b(0x1f0)](_0x5bc1b3,_0x1ffbd8,_0x1d8b83);_0x3cddba['push']({'id':Ct['id'],'params':{'unitId':_0x5bc1b3,'subUnitId':_0x1ffbd8,'pivotTableId':_0x1d8b83,'pivotTableConfig':_0x347cd9,'collectionConfig':_0x5991a8}});}});}),{'redos':_0x4f1237,'undos':_0x3cddba};}return{'redos':[],'undos':[]};}}));}};dt=Js([_t(0x0,_0x12f544),_t(0x1,_0x11f8dd(_0x334540)),_t(0x2,_0x11f8dd(_0xd6f3e8)),_t(0x3,_0x11f8dd(ve))],dt);var Ls=Object[_0x36bb8c(0x15a)],Bs=(_0x1d7137,_0xa6fc78,_0x300112,_0xc50674)=>{const _0x5d2b64=_0x36bb8c;for(var _0x1aae65=_0xc50674>0x1?void 0x0:_0xc50674?Ls(_0xa6fc78,_0x300112):_0xa6fc78,_0x4dc26f=_0x1d7137[_0x5d2b64(0x32f)]-0x1,_0x292852;_0x4dc26f>=0x0;_0x4dc26f--)(_0x292852=_0x1d7137[_0x4dc26f])&&(_0x1aae65=_0x292852(_0x1aae65)||_0x1aae65);return _0x1aae65;},rt=(_0x1d21ab,_0x9840d)=>(_0xfafa13,_0xc3ec92)=>_0x9840d(_0xfafa13,_0xc3ec92,_0x1d21ab);let ut=class extends _0x441d3c{constructor(_0x27e091,_0x75e820,_0x571b4c,_0x4ded96,_0x1e9c6b){const _0xdd6cd6=_0x36bb8c;super(),this[_0xdd6cd6(0x27d)]=_0x27e091,this['_injector']=_0x75e820,this['_univerInstanceService']=_0x571b4c,this[_0xdd6cd6(0x24e)]=_0x4ded96,this['_sheetsPivotTableService']=_0x1e9c6b,this[_0xdd6cd6(0x286)]();}['_getPivotAppliedRanges'](_0x53c294,_0x47c376,_0x57d33a){const _0xed7e80=_0x36bb8c,{pageView:_0x4a1d7c,cornerView:_0x20771a,rowView:_0x315d6e,colView:_0x1c4c30,dataView:_0x570b1d}=_0x47c376,_0x749009=_0x53c294;let _0x11beed;if(_0x57d33a)_0x11beed=[...Bi(_0x749009)];else{const _0xd74136=ge(_0x749009,_0x4a1d7c,!0x0),_0x4f8432=_0x4a1d7c[_0xed7e80(0x2a6)]>=0x0?_0x4a1d7c[_0xed7e80(0x2a6)]+0x1:0x0,_0x4cb0cf=_0x20771a['rowCount'],_0x1e7c4f=_0x20771a['colCount'],_0x1e33f2=_0xd74136['length']>0x0?It:0x0,_0x22896b=ge({'row':_0x749009[_0xed7e80(0x237)]+_0x4f8432+_0x1e33f2,'col':_0x749009[_0xed7e80(0x348)]},_0x20771a,!0x1,!0x1),_0x43e268=ge({'row':_0x749009[_0xed7e80(0x237)]+_0x4f8432+_0x1e33f2+_0x4cb0cf,'col':_0x749009[_0xed7e80(0x348)]},_0x315d6e,!0x1,!0x0),_0x2cf90e=ge({'row':_0x749009['row']+_0x4f8432+_0x1e33f2,'col':_0x749009[_0xed7e80(0x348)]+_0x1e7c4f},_0x1c4c30,!0x1,!0x0),_0x774d2b=ge({'row':_0x749009['row']+_0x4f8432+_0x1e33f2+_0x4cb0cf,'col':_0x749009[_0xed7e80(0x348)]+_0x1e7c4f},_0x570b1d,!0x1,!0x0);_0x11beed=[..._0xd74136,..._0x22896b,..._0x43e268,..._0x2cf90e,..._0x774d2b];}return _0x11beed;}['_initCommandInterceptListener'](){const _0x299df7=_0x36bb8c;this[_0x299df7(0x245)](this[_0x299df7(0x394)]['interceptor'][_0x299df7(0x1b7)](this[_0x299df7(0x394)][_0x299df7(0x30c)][_0x299df7(0x20d)]()[_0x299df7(0x222)],{'handler':(_0x2cb9b0,_0x2d1853)=>{const _0x53b6d4=_0x299df7,{cellInfo:_0x105456,view:_0x51dec0,isEmpty:_0x5c2f3a}=_0x2d1853,_0x5be920=_0x105456,{unitId:_0x453bce,subUnitId:_0x2ddc8f}=_0x5be920,_0x31352b=this['_getPivotAppliedRanges'](_0x105456,_0x51dec0,_0x5c2f3a),_0x2ba0f4=this[_0x53b6d4(0x27d)][_0x53b6d4(0x25a)]({'unitId':_0x453bce,'subUnitId':_0x2ddc8f,'ranges':_0x31352b}),_0x37a2b5=Ko(this[_0x53b6d4(0x2f4)],_0x453bce,_0x2ddc8f,_0x31352b);_0x37a2b5[_0x53b6d4(0x12f)]&&(_0x2ba0f4[_0x53b6d4(0x23d)][_0x53b6d4(0x1fa)](_0x37a2b5['setRangeValueRedoMutation']),_0x2ba0f4['undos'][_0x53b6d4(0x1fa)](_0x37a2b5[_0x53b6d4(0x176)]));const _0x291aaa=this[_0x53b6d4(0x353)](_0x51dec0,_0x105456);return _0x2ba0f4[_0x53b6d4(0x23d)][_0x53b6d4(0x1fa)](..._0x291aaa[_0x53b6d4(0x23d)]),_0x2ba0f4['undos'][_0x53b6d4(0x1fa)](..._0x291aaa['undos']),{'redos':_0x2ba0f4[_0x53b6d4(0x23d)],'undos':_0x2ba0f4[_0x53b6d4(0x1c5)]};}}));}[_0x36bb8c(0x353)](_0x123146,_0x469ecc){const _0x56a663=_0x36bb8c,{col:_0x1aa392,unitId:_0x119962,subUnitId:_0x4ff7a2}=_0x469ecc,_0x5bba0c=[],_0x20bc69=[],_0x12337c=_0x4c89c6(this[_0x56a663(0x32c)],{'unitId':_0x119962,'subUnitId':_0x4ff7a2});if(!_0x469ecc||!_0x123146||!_0x12337c)return{'undos':_0x20bc69,'redos':_0x5bba0c};const _0x225f80=this[_0x56a663(0x24e)][_0x56a663(0x1cf)](),{colView:_0x5af1d6,dataView:_0x5f0ab8,cornerView:_0x6e1f43,rowView:_0x25382e,formatMap:_0x3c5cb4}=_0x123146,_0x35a255=Po(_0x5af1d6,_0x225f80,!0x0,_0x3c5cb4),_0x6399ba=Po(_0x25382e,_0x225f80,!0x1,_0x3c5cb4),_0x5497c6=Gi(_0x5f0ab8),_0x45d8c4=Wi(_0x6e1f43),{worksheet:_0x4e2c10}=_0x12337c;if(typeof window<'u'&&window[_0x56a663(0x156)]){const _0x142b90=_0x421b19({...fe['colStyle']}),_0x1ef3c4=_0x46325d[_0x56a663(0x391)](_0x35a255,_0x142b90)['width']+0x10,_0x1ca1b0=_0x46325d['getTextSize'](_0x5497c6,_0x142b90)[_0x56a663(0x29b)],_0xd541a5=Math[_0x56a663(0x354)](Math[_0x56a663(0x1bd)](_0x1ef3c4,_0x1ca1b0))+0x10,_0x500a13=Math[_0x56a663(0x354)](_0x46325d['getTextSize'](_0x6399ba,_0x142b90)['width']),_0x2de5ec=Math['floor'](_0x46325d['getTextSize'](_0x45d8c4,_0x142b90)['width']),_0x4a8941=Math[_0x56a663(0x1bd)](_0x500a13,_0x2de5ec,0x28)+0xc,_0x350db1=_0x5af1d6[_0x56a663(0x20e)]+_0x6e1f43[_0x56a663(0x20e)],_0x563743={},_0x2d1025={};for(let _0x3b8398=_0x1aa392;_0x3b8398<_0x1aa392+_0x350db1;_0x3b8398++){const _0x5768bd=_0x4e2c10[_0x56a663(0x382)](_0x3b8398);_0x563743[_0x3b8398]=_0x5768bd,_0x3b8398-_0x1aa392<_0x6e1f43[_0x56a663(0x20e)]?_0x2d1025[_0x3b8398-_0x1aa392]=_0x4a8941:_0x2d1025[_0x3b8398-_0x1aa392]=_0xd541a5;}_0x5bba0c['push']({'id':_0x4adb49['id'],'params':{'subUnitId':_0x4ff7a2,'unitId':_0x119962,'ranges':[{'startColumn':_0x1aa392,'endColumn':_0x1aa392+_0x350db1-0x1,'startRow':0x0,'endRow':_0x4e2c10[_0x56a663(0x37f)]()-0x1}],'colWidth':_0x2d1025}}),_0x20bc69[_0x56a663(0x1fa)]({'id':_0x4adb49['id'],'params':{'subUnitId':_0x4ff7a2,'unitId':_0x119962,'ranges':[{'startColumn':_0x1aa392,'endColumn':_0x1aa392+_0x350db1-0x1,'startRow':0x0,'endRow':_0x4e2c10['getRowCount']()-0x1}],'colWidth':_0x563743}});}return{'undos':_0x20bc69,'redos':_0x5bba0c};}};ut=Bs([rt(0x0,_0x11f8dd(_0x334540)),rt(0x1,_0x11f8dd(_0x28712a)),rt(0x2,_0x11f8dd(_0x12f544)),rt(0x3,_0x11f8dd(ve)),rt(0x4,_0x11f8dd(ie))],ut);var $s=Object[_0x36bb8c(0x15a)],Zs=(_0x4bae83,_0x37f710,_0x35e491,_0x10c595)=>{const _0x649818=_0x36bb8c;for(var _0x13ce1e=_0x10c595>0x1?void 0x0:_0x10c595?$s(_0x37f710,_0x35e491):_0x37f710,_0x59bdf0=_0x4bae83[_0x649818(0x32f)]-0x1,_0x6a96ea;_0x59bdf0>=0x0;_0x59bdf0--)(_0x6a96ea=_0x4bae83[_0x59bdf0])&&(_0x13ce1e=_0x6a96ea(_0x13ce1e)||_0x13ce1e);return _0x13ce1e;},ke=(_0x1cd80b,_0x3cc14c)=>(_0x2ecb1f,_0x1f9915)=>_0x3cc14c(_0x2ecb1f,_0x1f9915,_0x1cd80b);let ft=class extends _0x441d3c{constructor(_0xecb69a,_0x1cf833,_0x38dde5,_0x175254,_0x202b9a,_0x219c07,_0x2ff10e){const _0x2cf9d5=_0x36bb8c;super(),V(this,'disposableCollection',new _0x4e3df4()),(this[_0x2cf9d5(0x2f4)]=_0xecb69a,this[_0x2cf9d5(0x2fe)]=_0x1cf833,this[_0x2cf9d5(0x2ef)]=_0x38dde5,this['_univerInstanceService']=_0x175254,this[_0x2cf9d5(0x24e)]=_0x202b9a,this[_0x2cf9d5(0x1bc)]=_0x219c07,this[_0x2cf9d5(0x27d)]=_0x2ff10e,this[_0x2cf9d5(0x163)]());}[_0x36bb8c(0x163)](){const _0x2892cd=_0x36bb8c,_0x3cf4c6=(_0x44630c,_0x13a57a)=>{const _0x131d1=_0x1ed5,_0x36f5c6=this['_univerInstanceService'][_0x131d1(0x20a)](_0x4b7918['UNIVER_SHEET']);if(!_0x36f5c6||!(_0x36f5c6==null?void 0x0:_0x36f5c6[_0x131d1(0x2db)](_0x13a57a)))return;this['disposableCollection'][_0x131d1(0x234)]();const _0x5c190e=_0x3217b7=>this[_0x131d1(0x1f8)](_0x3217b7,_0x44630c,_0x13a57a),_0x3b4fde=this[_0x131d1(0x24e)][_0x131d1(0x38f)](_0x44630c,_0x13a57a);if(!(_0x3b4fde!=null&&_0x3b4fde['size']))return;Array[_0x131d1(0x22d)](_0x3b4fde[_0x131d1(0x1fc)]())[_0x131d1(0x392)](_0x59111e=>{const _0x1e2438=_0x131d1,{row:_0x5c9fcc,col:_0x28377a}=_0x59111e[_0x1e2438(0x17c)];return _0x167aa6(_0x5c9fcc,_0x28377a);})[_0x131d1(0x2af)](_0x4bdf75=>{const _0x30c5e7=_0x131d1;this[_0x30c5e7(0x236)][_0x30c5e7(0x336)](this[_0x30c5e7(0x2fe)]['registerRefRange'](_0x4bdf75,_0x5c190e,_0x44630c,_0x13a57a));});},_0x204d87=()=>{const _0x21a045=_0x1ed5,_0x3aad9d=this[_0x21a045(0x32c)][_0x21a045(0x20a)](_0x4b7918['UNIVER_SHEET']);if(_0x3aad9d){const _0x5d3e91=_0x3aad9d[_0x21a045(0x1b2)]();if(!_0x5d3e91)return;_0x3cf4c6(_0x3aad9d[_0x21a045(0x135)](),_0x5d3e91[_0x21a045(0x2ba)]());}};this['disposeWithMe'](this[_0x2892cd(0x2ef)]['onCommandExecuted'](_0x3be762=>{const _0x45d04f=_0x2892cd;if(_0x3be762['id']===_0x4c892d['id']){const _0x2cc42c=_0x3be762[_0x45d04f(0x326)],_0x33f98c=_0x2cc42c[_0x45d04f(0x247)],_0x170ba8=_0x2cc42c[_0x45d04f(0x28f)];if(!_0x33f98c||!_0x170ba8)return;_0x3cf4c6(_0x170ba8,_0x33f98c);}})),this[_0x2892cd(0x245)](this[_0x2892cd(0x24e)][_0x2892cd(0x389)][_0x2892cd(0x208)](_0x4391e4=>{_0x4391e4&&_0x204d87();})),this[_0x2892cd(0x245)](this[_0x2892cd(0x24e)][_0x2892cd(0x23c)][_0x2892cd(0x208)](_0x1e8785=>{const _0x982a52=_0x2892cd,_0x4171f6=_0x4c89c6(this[_0x982a52(0x32c)]);if(!_0x4171f6)return;const {unitId:_0x3f7529,subUnitId:_0x365f3c}=_0x4171f6,{unitId:_0x5a3752,subUnitId:_0x1ed0ad}=_0x1e8785;_0x3f7529!==_0x5a3752||_0x365f3c!==_0x1ed0ad||_0x3cf4c6(_0x3f7529,_0x365f3c);})),_0x204d87();}['_refRangeHandle'](_0x250670,_0x26b642,_0x37ff9a){const _0x23c0cc=_0x36bb8c;switch(_0x250670['id']){case _0x10c3ab['id']:return this[_0x23c0cc(0x194)](_0x250670[_0x23c0cc(0x326)],_0x26b642,_0x37ff9a);}return{'redos':[],'undos':[]};}[_0x36bb8c(0x194)](_0x216d77,_0x1934d3,_0x4acac3){const _0x36c1f2=_0x36bb8c,{fromRange:_0x57b573,toRange:_0x124022}=_0x216d77,_0x1e5aca=[],_0x3897e5=[],_0x5ac492=_0x4c89c6(this[_0x36c1f2(0x32c)]);if(!_0x5ac492)return{'undos':_0x3897e5,'redos':_0x1e5aca};if(_0x1934d3!==_0x5ac492['unitId']||_0x4acac3!==_0x5ac492[_0x36c1f2(0x247)])return{'undos':_0x3897e5,'redos':_0x1e5aca};const _0x1c820a=this['_sheetsPivotTableConfigModel'][_0x36c1f2(0x38f)](_0x1934d3,_0x4acac3);if(_0x1c820a!=null&&_0x1c820a['size'])for(const [_0x253193,_0x10c6bc]of _0x1c820a){const {unitId:_0x113e13,subUnitId:_0x1dc4ef,row:_0x4d026f,col:_0x1fdf6d}=_0x10c6bc[_0x36c1f2(0x17c)];if(_0x113e13===_0x5ac492[_0x36c1f2(0x28f)]&&_0x1dc4ef===_0x5ac492[_0x36c1f2(0x247)]){const _0x3065fd=_0x167aa6(_0x4d026f,_0x1fdf6d);if(_0x275ba3['intersects'](_0x3065fd,_0x57b573)){const _0x5f090d=_0x4d026f-_0x57b573['startRow'],_0x19cd7e=_0x1fdf6d-_0x57b573[_0x36c1f2(0x328)],_0x3d0a62={'row':_0x124022[_0x36c1f2(0x28d)]+_0x5f090d,'col':_0x124022[_0x36c1f2(0x328)]+_0x19cd7e};_0x1e5aca[_0x36c1f2(0x1fa)]({'id':pt['id'],'params':{'unitId':_0x113e13,'subUnitId':_0x1dc4ef,'pivotTableId':_0x253193,'targetCellPosition':_0x3d0a62}}),_0x3897e5[_0x36c1f2(0x1fa)]({'id':pt['id'],'params':{'unitId':_0x113e13,'subUnitId':_0x1dc4ef,'pivotTableId':_0x253193,'targetCellPosition':{'row':_0x4d026f,'col':_0x1fdf6d}}});const _0x53475e=_0x3d0a62[_0x36c1f2(0x237)]-_0x4d026f,_0x66bb08=_0x3d0a62[_0x36c1f2(0x348)]-_0x1fdf6d,_0x37320=[],_0x2072fe=this[_0x36c1f2(0x1bc)]['getPivotItemRenderInfoCache'](_0x113e13,_0x1dc4ef,_0x253193),_0x45e0ac=_0x2072fe==null?void 0x0:_0x2072fe[_0x36c1f2(0x37d)];if(_0x45e0ac){Object['keys'](_0x45e0ac)[_0x36c1f2(0x2af)](_0x5abe9b=>{_0x45e0ac[_0x5abe9b]['forEach'](_0x26718d=>{const _0x11ff49=_0x1ed5,_0x55bb51={..._0x26718d};_0x55bb51[_0x11ff49(0x28d)]=_0x26718d[_0x11ff49(0x28d)]+_0x53475e,_0x55bb51[_0x11ff49(0x321)]=_0x26718d['endRow']+_0x53475e,_0x55bb51['startColumn']=_0x26718d[_0x11ff49(0x328)]+_0x66bb08,_0x55bb51[_0x11ff49(0x130)]=_0x26718d[_0x11ff49(0x130)]+_0x66bb08,_0x37320[_0x11ff49(0x1fa)](_0x55bb51);});});const _0x1019ad=this['_sheetInterceptorService'][_0x36c1f2(0x25a)]({'unitId':_0x113e13,'subUnitId':_0x1dc4ef,'ranges':_0x37320});_0x1e5aca[_0x36c1f2(0x1fa)](..._0x1019ad[_0x36c1f2(0x23d)]),_0x3897e5[_0x36c1f2(0x1fa)](..._0x1019ad[_0x36c1f2(0x1c5)]);const _0x35ff54=Ko(this[_0x36c1f2(0x2f4)],_0x113e13,_0x1dc4ef,_0x37320);_0x35ff54[_0x36c1f2(0x12f)]&&(_0x1e5aca[_0x36c1f2(0x1fa)](_0x35ff54[_0x36c1f2(0x128)]),_0x3897e5[_0x36c1f2(0x1fa)](_0x35ff54[_0x36c1f2(0x176)]));}}}}return{'redos':_0x1e5aca,'undos':_0x3897e5};}};ft=Zs([ke(0x0,_0x11f8dd(_0x28712a)),ke(0x1,_0x11f8dd(_0x434fa2)),ke(0x2,_0x2e7974),ke(0x3,_0x12f544),ke(0x4,_0x11f8dd(ve)),ke(0x5,_0x11f8dd(Ne)),ke(0x6,_0x11f8dd(_0x334540))],ft);var Gs=Object[_0x36bb8c(0x15a)],Ws=(_0x492f7d,_0x4d47e6,_0x1f7a10,_0x142ed4)=>{const _0x261728=_0x36bb8c;for(var _0x4fe484=_0x142ed4>0x1?void 0x0:_0x142ed4?Gs(_0x4d47e6,_0x1f7a10):_0x4d47e6,_0x43f90a=_0x492f7d[_0x261728(0x32f)]-0x1,_0x4217b1;_0x43f90a>=0x0;_0x43f90a--)(_0x4217b1=_0x492f7d[_0x43f90a])&&(_0x4fe484=_0x4217b1(_0x4fe484)||_0x4fe484);return _0x4fe484;},Mo=(_0x580bb2,_0x26812a)=>(_0x74f354,_0x18a3cb)=>_0x26812a(_0x74f354,_0x18a3cb,_0x580bb2);let gt=class extends _0x441d3c{constructor(_0x4cffe7,_0x339bbe){const _0x1c64e4=_0x36bb8c;super(),this[_0x1c64e4(0x27d)]=_0x4cffe7,this['_sheetsPivotTableConfigModel']=_0x339bbe,this[_0x1c64e4(0x2bf)]();}[_0x36bb8c(0x2bf)](){const _0x139cdd=_0x36bb8c;this[_0x139cdd(0x245)](this[_0x139cdd(0x27d)]['interceptCommand']({'getMutations':_0x7bab9d=>{const _0x24175e=_0x139cdd;if(_0x7bab9d['id']===_0x2a0ad6['id']){const _0x1d73b5=[],_0x1abb55=[],_0x4d12e1=_0x7bab9d['params'],{unitId:_0x4074c9,subUnitId:_0x557bf6}=_0x4d12e1;if(!_0x4074c9||!_0x557bf6)return{'undos':_0x1abb55,'redos':_0x1d73b5};const _0x12d566=this[_0x24175e(0x24e)][_0x24175e(0x38f)](_0x4074c9,_0x557bf6);if(_0x12d566!=null&&_0x12d566[_0x24175e(0x158)])for(const [_0x70204b,_0x3339ca]of _0x12d566){_0x1d73b5[_0x24175e(0x1fa)]({'id':Ot['id'],'params':{'unitId':_0x4074c9,'subUnitId':_0x557bf6,'pivotTableId':_0x70204b}});const _0x5917bf={...this['_sheetsPivotTableConfigModel'][_0x24175e(0x178)](_0x4074c9,_0x70204b)};_0x1abb55['push']({'id':Ct['id'],'params':{'unitId':_0x4074c9,'subUnitId':_0x557bf6,'pivotTableId':_0x70204b,'pivotTableConfig':_0x3339ca,'collectionConfig':_0x5917bf}});}return{'redos':_0x1d73b5,'undos':_0x1abb55};}return{'redos':[],'undos':[]};}}));}};gt=Ws([Mo(0x0,_0x11f8dd(_0x334540)),Mo(0x1,_0x11f8dd(ve))],gt);var js=Object[_0x36bb8c(0x15a)],Ks=(_0x4bf740,_0x4e6a3a,_0x4abd6e,_0x180739)=>{const _0x4b5257=_0x36bb8c;for(var _0x2155cc=_0x180739>0x1?void 0x0:_0x180739?js(_0x4e6a3a,_0x4abd6e):_0x4e6a3a,_0x3ba259=_0x4bf740[_0x4b5257(0x32f)]-0x1,_0x5c1336;_0x3ba259>=0x0;_0x3ba259--)(_0x5c1336=_0x4bf740[_0x3ba259])&&(_0x2155cc=_0x5c1336(_0x2155cc)||_0x2155cc);return _0x2155cc;},je=(_0x20b2ff,_0x3c6670)=>(_0x1f9999,_0x4cde51)=>_0x3c6670(_0x1f9999,_0x4cde51,_0x20b2ff);let ht=class extends _0x441d3c{constructor(_0x3bdaff,_0x591f81,_0x21522a,_0xc5dd5e,_0xe0946d,_0x2db2d2){const _0x31aebb=_0x36bb8c;super(),this[_0x31aebb(0x2ef)]=_0x3bdaff,this[_0x31aebb(0x2a7)]=_0x591f81,this[_0x31aebb(0x1bc)]=_0x21522a,this[_0x31aebb(0x24e)]=_0xc5dd5e,this[_0x31aebb(0x32c)]=_0xe0946d,this['_activeDirtyManagerService']=_0x2db2d2,this['_initDataSendListener'](),this[_0x31aebb(0x148)]();}[_0x36bb8c(0x344)](){const _0x1f3e75=_0x36bb8c;this[_0x1f3e75(0x245)](this[_0x1f3e75(0x2ef)]['onCommandExecuted'](_0x20a124=>{const _0x7386af=_0x1f3e75;if(_0x20a124['id']!==lo['id'])return;const _0x271a1c=_0x20a124[_0x7386af(0x326)];this[_0x7386af(0x2a7)][_0x7386af(0x1f1)](_0x271a1c);})),this[_0x1f3e75(0x245)](this[_0x1f3e75(0x2ef)][_0x1f3e75(0x183)](_0x4d84bb=>{const _0x5ceb44=_0x1f3e75;if(_0x4d84bb['id']===co['id']){const _0x294e11=_0x4d84bb[_0x5ceb44(0x326)];if(_0x294e11){const {unitId:_0x4e4f65,subUnitId:_0x20a814,oldSubUnitId:_0x4936fa,pivotTableId:_0x5e33cb,pivotTableConfig:_0x479524,collectionConfig:_0x79330e}=_0x294e11;this[_0x5ceb44(0x24e)][_0x5ceb44(0x330)](_0x4e4f65,_0x4936fa,_0x294e11[_0x5ceb44(0x1b5)],null),this[_0x5ceb44(0x24e)][_0x5ceb44(0x330)](_0x4e4f65,_0x20a814,_0x5e33cb,_0x479524),this[_0x5ceb44(0x24e)][_0x5ceb44(0x120)](_0x4e4f65,_0x79330e);}}})),this[_0x1f3e75(0x245)](this['_commandService'][_0x1f3e75(0x183)](_0x46ff5b=>{const _0x512eeb=_0x1f3e75;if(_0x46ff5b['id']!==Dt['id'])return;const _0x53cc71=_0x4c89c6(this['_univerInstanceService']);if(!_0x53cc71)return;const {unitId:_0x121c07,subUnitId:_0x5732c2}=_0x53cc71,_0x482aa5=_0x46ff5b[_0x512eeb(0x326)];if(_0x482aa5[_0x512eeb(0x2e1)]&&Object[_0x512eeb(0x16f)](_0x482aa5['collectionConfig'])[_0x512eeb(0x2af)](_0x38a8b1=>{const _0x2d952e=_0x512eeb;var _0xf81315;(_0xf81315=_0x482aa5['collectionConfig'])!=null&&_0xf81315[_0x38a8b1]&&this[_0x2d952e(0x24e)][_0x2d952e(0x120)](_0x38a8b1,_0x482aa5['collectionConfig'][_0x38a8b1]);}),_0x482aa5['single']){const _0x2eff7f=_0x482aa5['single'],{unitId:_0x24b39b,subUnitId:_0x36ff61,view:_0x513c8a,pivotTableId:_0x5ada3b,type:_0x5c61da,pivotConfig:_0x24f432}=_0x2eff7f;if(_0x5c61da===B[_0x512eeb(0x333)])this[_0x512eeb(0x1bc)]['clearRenderCache']({'unitId':_0x24b39b,'subUnitId':_0x36ff61,'pivotTableId':_0x5ada3b,'type':_0x5c61da}),this[_0x512eeb(0x24e)][_0x512eeb(0x330)](_0x24b39b,_0x36ff61,_0x5ada3b,null);else{const _0x501842=new _0x43b8f2();_0x501842[_0x512eeb(0x296)](_0x513c8a),this['_sheetsPivotTableConfigModel'][_0x512eeb(0x330)](_0x24b39b,_0x36ff61,_0x5ada3b,_0x24f432),this['_sheetsPivotTableAdaptorModel'][_0x512eeb(0x315)]({'unitId':_0x24b39b,'subUnitId':_0x36ff61,'pivotTableId':_0x5ada3b,'type':_0x5c61da,'view':_0x501842}),this[_0x512eeb(0x1bc)][_0x512eeb(0x372)]({'unitId':_0x24b39b,'subUnitId':_0x36ff61,'view':_0x501842,'pivotTableId':_0x5ada3b,'type':_0x5c61da});}}else _0x482aa5[_0x512eeb(0x2d0)]&&(_0x482aa5[_0x512eeb(0x2d0)][_0x512eeb(0x2af)](_0x3d6cee=>{const _0x534f24=_0x512eeb,{unitId:_0x432fae,subUnitId:_0xf0c621,view:_0x2e5e1d,pivotTableId:_0x5d7902,type:_0x4776e2,pivotConfig:_0x18e243}=_0x3d6cee,_0x59bfb4=new _0x43b8f2();_0x59bfb4[_0x534f24(0x296)](_0x2e5e1d),this[_0x534f24(0x24e)][_0x534f24(0x330)](_0x432fae,_0xf0c621,_0x5d7902,_0x18e243),this[_0x534f24(0x1bc)][_0x534f24(0x372)]({'unitId':_0x432fae,'subUnitId':_0xf0c621,'view':_0x59bfb4,'pivotTableId':_0x5d7902,'type':_0x4776e2});}),this[_0x512eeb(0x24e)][_0x512eeb(0x1eb)]());this[_0x512eeb(0x1bc)][_0x512eeb(0x2e0)](_0x121c07,_0x5732c2);}));}[_0x36bb8c(0x148)](){const _0x462822=_0x36bb8c;this[_0x462822(0x219)]['register'](Vt['id'],{'commandId':Vt['id'],'getDirtyData'(_0x20e3ee){return{'dirtyUnitFeatureMap':_0x20e3ee['params']};}});}};ht=Ks([je(0x0,_0x11f8dd(_0x2e7974)),je(0x1,_0x11f8dd(z)),je(0x2,_0x11f8dd(Ne)),je(0x3,_0x11f8dd(ve)),je(0x4,_0x11f8dd(_0x12f544)),je(0x5,_0x4a658a)],ht);var Hs=Object[_0x36bb8c(0x251)],qs=Object[_0x36bb8c(0x15a)],Xs=(_0x254577,_0x41ac85,_0x3ee28b)=>_0x41ac85 in _0x254577?Hs(_0x254577,_0x41ac85,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ee28b}):_0x254577[_0x41ac85]=_0x3ee28b,Ys=(_0x5bfe9f,_0x510361,_0x14d3f3,_0xeba821)=>{const _0xe7f1c7=_0x36bb8c;for(var _0x5973a9=_0xeba821>0x1?void 0x0:_0xeba821?qs(_0x510361,_0x14d3f3):_0x510361,_0x29bd52=_0x5bfe9f[_0xe7f1c7(0x32f)]-0x1,_0x43259b;_0x29bd52>=0x0;_0x29bd52--)(_0x43259b=_0x5bfe9f[_0x29bd52])&&(_0x5973a9=_0x43259b(_0x5973a9)||_0x5973a9);return _0x5973a9;},Ft=(_0x5e17fb,_0x5cb8f3)=>(_0x2a5e2e,_0x4711cd)=>_0x5cb8f3(_0x2a5e2e,_0x4711cd,_0x5e17fb),zo=(_0x52120e,_0x1f3940,_0x533f86)=>Xs(_0x52120e,typeof _0x1f3940!='symbol'?_0x1f3940+'':_0x1f3940,_0x533f86);let Ut=class extends _0x33d225{constructor(_0x497644=wo,_0x37c10b,_0x3cac01,_0x429ac3,_0x1fabe3){const _0x2218e9=_0x36bb8c;super(),this[_0x2218e9(0x21e)]=_0x497644,this[_0x2218e9(0x2f4)]=_0x37c10b,this[_0x2218e9(0x2ef)]=_0x3cac01,this['_configService']=_0x429ac3,this['_dataSyncPrimaryController']=_0x1fabe3;const {..._0x3a9a1b}=_0x4369e3({},wo,this[_0x2218e9(0x21e)]);this[_0x2218e9(0x1a2)][_0x2218e9(0x270)](qo,_0x3a9a1b),this[_0x2218e9(0x2f6)](),this[_0x2218e9(0x24d)]();}[_0x36bb8c(0x24d)](){const _0x321480=_0x36bb8c;var _0x12f2f6;const _0x11f3c7=(_0x12f2f6=this['_config'])==null?void 0x0:_0x12f2f6[_0x321480(0x306)];this[_0x321480(0x1a2)][_0x321480(0x270)](X,_0x11f3c7===!0x0);}[_0x36bb8c(0x24b)](){const _0x5de078=_0x36bb8c;var _0xdf9d47;let _0x54ef6a=[];const _0x21be0b=(_0xdf9d47=this[_0x5de078(0x21e)])==null?void 0x0:_0xdf9d47['notExecuteFormula'];_0x21be0b===!0x0?_0x54ef6a=[[ie],[z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x21be0b===!0x1?_0x54ef6a=[[$],[ct]]:_0x21be0b===void 0x0&&(_0x54ef6a=[[$],[ct],[ie],[z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x54ef6a[_0x5de078(0x2af)](_0x1c8fa7=>this[_0x5de078(0x2f4)][_0x5de078(0x336)](_0x1c8fa7)),[ct,ht,ie,dt,gt,ft,ut]['forEach'](_0x5e5a02=>{const _0x53582e=_0x5de078;this[_0x53582e(0x2f4)][_0x53582e(0x33c)](_0x5e5a02)&&this[_0x53582e(0x2f4)][_0x53582e(0x140)](_0x5e5a02);});}[_0x36bb8c(0x2f6)](){[ps,ms,hs,Is,Ts,Ns,Fs,Ps,Ms,ys,Rs,Ds,Cs,bs,Ct,to,Ot,$t,Xo,Yo,Kt,Zt,Gt,Wt,qt,Ht,pt,ro,lo,Dt,zt,eo,Xt,jt,uo,oo,Qt,Vt,co,_s,Yt,ws,Ss]['forEach'](_0x3b68f7=>{const _0x248230=_0x1ed5;var _0x36e28f;(_0x36e28f=this[_0x248230(0x36a)])==null||_0x36e28f[_0x248230(0x174)](_0x3b68f7),this[_0x248230(0x2ef)][_0x248230(0x290)](_0x3b68f7);});}};zo(Ut,_0x36bb8c(0x2f2),ao),zo(Ut,_0x36bb8c(0x350),_0x4b7918[_0x36bb8c(0x2ea)]),Ut=Ys([_0x58239e(_0x49facd),Ft(0x1,_0x11f8dd(_0x28712a)),Ft(0x2,_0x11f8dd(_0x2e7974)),Ft(0x3,_0x44eb60),Ft(0x4,_0x510001(_0x55341c))],Ut);export{hs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ms as AddPivotTableCommand,Ct as AddPivotTableMutation,ps as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,Cs as MovePivotTableCommand,k as PivotDisplayDataType,bs as PivotDrillDownCommand,B as PivotTableOperationEnum,Vt as PivotTableViewDirtyMarkOperation,Jo as PositionType,Ts as RemovePivotFieldCommand,Zt as RemovePivotFieldMutation,Ot as RemovePivotTableMutation,Gt as RenamePivotFieldMutation,Ss as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ps as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,ws as SetPivotFieldsConfigCommand,ys as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ms as SetPivotSortCommand,qt as SetPivotSortMutation,Xt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Yt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Fs as UpdateDateGroupCommand,zt as UpdateFieldPositionMutation,Rs as UpdatePivotFieldSettingCommand,Qt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Bi as getEmptyPivotRanges,Nt as getFieldListByArea,Me as getInsertRowColMutations,ki as getPivotCellInfo,go as getPivotInfoByLicense,Ji as getPivotTableInfo,vt as transFromCellValue,Bt as unionPivotViewRange};
|
|
1
|
+
const _0x27d18f=_0x2985;(function(_0x5c8e7f,_0x1a04ae){const _0x1e101=_0x2985,_0x2b9639=_0x5c8e7f();while(!![]){try{const _0x31de07=-parseInt(_0x1e101(0x1ee))/0x1+parseInt(_0x1e101(0x2b5))/0x2*(-parseInt(_0x1e101(0x27b))/0x3)+-parseInt(_0x1e101(0x1d0))/0x4+-parseInt(_0x1e101(0x29f))/0x5*(parseInt(_0x1e101(0x2c4))/0x6)+-parseInt(_0x1e101(0x2d6))/0x7+-parseInt(_0x1e101(0x20b))/0x8*(parseInt(_0x1e101(0x1ec))/0x9)+parseInt(_0x1e101(0x2ea))/0xa;if(_0x31de07===_0x1a04ae)break;else _0x2b9639['push'](_0x2b9639['shift']());}catch(_0x38e12f){_0x2b9639['push'](_0x2b9639['shift']());}}}(_0x48b0,0xf40d4));var an=Object[_0x27d18f(0x27f)],rn=(_0x2e1589,_0x14e84f,_0x340c75)=>_0x14e84f in _0x2e1589?an(_0x2e1589,_0x14e84f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x340c75}):_0x2e1589[_0x14e84f]=_0x340c75,x=(_0x5cc253,_0x1b9744,_0x44e9b1)=>rn(_0x5cc253,typeof _0x1b9744!=_0x27d18f(0x37a)?_0x1b9744+'':_0x1b9744,_0x44e9b1);import{PivotCellStyleTypeEnum as _0x13c73f,PivotViewCellValueTypeEnum as _0x3eee49,isPrefixValue as _0x2b77ea,isErrorValue as _0x56d065,PivotErrorTypeEnum as _0x227677,PivotDateGroupFieldDateTypeEnum as _0x3c6468,DataFieldManager as _0x6dbb5,FieldsCollection as _0x51baaf,isDateValue as _0x487286,DataField as _0x5af9d2,generateHexNumber as _0x365949,isBaseGroupField as _0x4d833a,PivotTable as _0x536307,PivotSubtotalTypeEnum as _0x39da75,PivotTableFiledAreaEnum as _0x37b460,excelDateToUnixMilliseconds as _0x4bb8b0,PivotDataFieldTypeEnum as _0x23ca61,DateGroupField as _0x2705c4,createValueField as _0x192f83,createLabelField as _0xf0c8d3,PivotTableChangeTypeEnum as _0x524689,PivotView as _0x2c3b07,GlobalConfig as _0x220d99,isDateGroupFieldJSON as _0x54b867,PivotCallbackEnum as _0x22a277,PivotFilterTypeEnum as _0x3a66a3,getAutoDisplayName as _0x295d17,PivotDataFieldDataTypeEnum as _0x22e19e,PivotTableValuePositionEnum as _0x9b8e78,isDateGroupField as _0x5cef84}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x31147b,ObjectMatrix as _0x1356f1,IUniverInstanceService as _0x5d554d,UniverInstanceType as _0x11ddec,CellValueType as _0x2dd5d6,numfmt as _0x50b5c7,LocaleService as _0x468b9c,createAsyncInterceptorKey as _0xb49327,createInterceptorKey as _0x1e77e1,CommandType as _0x538c0b,Inject as _0x5611df,ICommandService as _0xeb5b23,Disposable as _0x592bfe,RANGE_TYPE as _0x2619ff,numberToABC as _0x40caf7,Injector as _0x318e93,LifecycleService as _0x3ffb74,IResourceManagerService as _0x5a6138,Rectangle as _0x4986e5,IConfigService as _0x27c3ed,Tools as _0x2dd55f,AsyncInterceptorManager as _0x548c50,InterceptorManager as _0x391c94,InterceptorEffectEnum as _0x504a91,IUndoRedoService as _0x27da56,sequenceExecute as _0x3181f1,CustomCommandExecutionError as _0x261cb3,mergeWorksheetSnapshotWithDefault as _0x1fba24,generateRandomId as _0x41aee0,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x27d1c6,DEFAULT_WORKSHEET_ROW_COUNT as _0x5946a6,DisposableCollection as _0x52ecdf,Range as _0x555470,DependentOn as _0x2c4d81,Optional as _0x11259b,Plugin as _0x15a201,merge as _0x431384}from'@univerjs/core';import{ErrorType as _0x1e5c6d,serializeRangeWithSpreadsheet as _0x2d04f8,IFeatureCalculationManagerService as _0x1b92d2,GlobalComputingStatusService as _0x404196,IActiveDirtyManagerService as _0x2c6e26}from'@univerjs/engine-formula';import{generateNullCell as _0x1fbb7c,SetRangeValuesUndoMutationFactory as _0x57d90e,SetRangeValuesMutation as _0x4bf3dd,getSheetCommandTarget as _0x19f73c,InsertRowMutation as _0x5bf518,RemoveRowMutation as _0x800277,InsertColMutation as _0x2eafb6,RemoveColMutation as _0x1ab382,IExclusiveRangeService as _0x5e4c69,SheetInterceptorService as _0x3ef520,INTERCEPTOR_POINT as _0x6c5bcb,InsertSheetCommand as _0x2233a6,InsertSheetUndoMutationFactory as _0x3ca679,RemoveSheetMutation as _0x36e426,InsertSheetMutation as _0x93f513,MoveRangeMutation as _0x464c8b,SheetsSelectionsService as _0x266679,ClearSelectionContentCommand as _0x5ec972,ClearSelectionAllCommand as _0xe586f7,SetWorksheetColWidthMutation as _0x47adbe,RefRangeService as _0x434445,SetWorksheetActiveOperation as _0x4b7222,MoveRangeCommand as _0x12b99f,RemoveSheetCommand as _0x4cfca0}from'@univerjs/sheets';import{Subject as _0x3f9849,BehaviorSubject as _0x4f4100}from'rxjs';import{LS_CONFIG_KEY as _0x338279,unshiftString as _0x1bb5dc,isFeatureAuthorizedWithinTime as _0xcba625,getSheetFeatureLimit as _0x55907b,ReleaseType as _0x106547,UniverLicensePlugin as _0x70b3a}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x1e81bc,RemoveSheetsFilterMutation as _0x23b17e}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x436fb7}from'@univerjs/rpc';import{getFontStyleString as _0x29d9af,FontCache as _0x3f4c3a}from'@univerjs/engine-render';const Wo=Number[_0x27d18f(0x18e)](0x68bbf202),li=0x10,so=0x1,ao=_0x27d18f(0x2cc),It=0x1,ci='rgb(240,241,243)',di=_0x27d18f(0x1c8),wt='#b2b2b2',ui='#f4f4f5',fi='#f4f4f5',gi=_0x27d18f(0x2c6),vi=_0x27d18f(0x24e),hi=_0x27d18f(0x21a),pi=_0x27d18f(0x385),mi=_0x27d18f(0x24e),Ii=_0x27d18f(0x21a),Ci=_0x27d18f(0x202),bi=0xe,Si=0x6;var ko=(_0x348895=>(_0x348895['Existing']='existing',_0x348895['New']=_0x27d18f(0x2f5),_0x348895))(ko||{});const Lo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,He={'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':He,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':He,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':He,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':He,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':He,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':He,'vt':0x2}};function Ti(_0x190beb,_0x2d974d,_0xb6c3d7){const _0x359c4e=_0x27d18f,_0x1139f3=_0x190beb[_0x359c4e(0x206)](_0x468b9c),_0x1db120=_0xb6c3d7[_0x359c4e(0x3c7)]('_');switch(_0x2d974d){case _0x3c6468['Year']:return _0x1139f3['t'](_0x359c4e(0x371),..._0x1db120);case _0x3c6468[_0x359c4e(0x257)]:return _0x1139f3['t'](_0x359c4e(0x24a),..._0x1db120);case _0x3c6468[_0x359c4e(0x184)]:return _0x1139f3['t'](_0x359c4e(0x3e7),..._0x1db120);case _0x3c6468[_0x359c4e(0x2a0)]:return _0x1139f3['t'](_0x359c4e(0x2d1),..._0x1db120);case _0x3c6468[_0x359c4e(0x285)]:return _0x1139f3['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x1db120);case _0x3c6468['Month']:return _0x1139f3['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x1db120);case _0x3c6468[_0x359c4e(0x1f6)]:return _0x1139f3['t'](_0x359c4e(0x3e4),..._0x1db120);case _0x3c6468[_0x359c4e(0x19b)]:return _0x1139f3['t'](_0x359c4e(0x3f2),..._0x1db120);case _0x3c6468[_0x359c4e(0x382)]:return _0x1139f3['t'](_0x359c4e(0x3d8),..._0x1db120);case _0x3c6468[_0x359c4e(0x343)]:return _0x1139f3['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x1db120);}return'';}const tt=(_0x4a5280,_0x22f680,_0x4d9a54,_0x5344ac)=>{const _0x3c1503=_0x27d18f;let _0x3c6e1c;const _0x9fa351=_0x4a5280['get'](_0x5d554d)[_0x3c1503(0x1da)](_0x11ddec[_0x3c1503(0x21f)]);if(!_0x9fa351)return null;const _0x109ee3=_0x9fa351[_0x3c1503(0x3e1)]();let _0x5476a2;if(_0x4d9a54&&(_0x5476a2=_0x109ee3[_0x3c1503(0x216)](_0x4d9a54)),_0x22f680!=null&&_0x22f680['v']||(_0x22f680==null?void 0x0:_0x22f680['v'])===0x0){_0x3c6e1c||(_0x3c6e1c={});const _0x757c81=Bo(_0x22f680['v']);typeof _0x757c81==_0x3c1503(0x1cd)?_0x3c6e1c['t']=_0x2dd5d6['NUMBER']:typeof _0x757c81=='string'&&(_0x3c6e1c['t']=_0x2dd5d6[_0x3c1503(0x261)]),_0x3c6e1c['v']=_0x757c81;}if((_0x22f680!=null&&_0x22f680['i']||(_0x22f680==null?void 0x0:_0x22f680['i'])===0x0)&&(_0x3c6e1c||(_0x3c6e1c={}),_0x3c6e1c['fi']=_0x22f680['i']),_0x22f680!=null&&_0x22f680['s']&&(_0x3c6e1c||(_0x3c6e1c={}),_0x3c6e1c[_0x3c1503(0x1a0)]=_0x22f680['s']),_0x4d9a54&&(_0x3c6e1c||(_0x3c6e1c={}),_0x3c6e1c['s']=_0x5476a2),_0x5344ac&&_0x3c6e1c!=null&&_0x3c6e1c['v']&&_0x3c6e1c['pbt']!==_0x13c73f['GrandTotal']&&_0x3c6e1c[_0x3c1503(0x1a0)]!==_0x13c73f['Subtotal']){const _0x5e3007=String(_0x3c6e1c['v']),{dateType:_0x24eb82}=_0x5344ac;_0x3c6e1c['v']=Ti(_0x4a5280,_0x24eb82,_0x5e3007),_0x3c6e1c['t']=_0x2dd5d6['STRING'];}return _0x3c6e1c;},yi=(_0x1905b9,_0x4412ab,_0x1f880d,_0x690e59)=>{const _0x992730=_0x27d18f;var _0x203b22,_0x352074,_0x51240d,_0x557700,_0x2d89af,_0xa4ee9c,_0x488b20,_0x1fe549,_0x1e118a,_0x7bfa95,_0x4a24e4,_0x576b4f,_0x4b08f8,_0x14f04d;const _0x583cf2=_0x1f880d['targetCellInfo'],{cornerView:_0x167ef4,rowView:_0x4d014e,colView:_0x12cf18,dataView:_0x44cbda,pageView:_0x5604f6,formatMap:_0x92ed46,groupInfo:_0x38c79e}=_0x4412ab,{row:_0x9fc456,col:_0x3412b7}=_0x583cf2,_0xd909aa=new _0x1356f1(),_0x18c562={},_0x8f61a2={},_0x2d392e={},_0x4417b4={},_0x5d3f4d={};let _0x1c9b05=_0x9fc456,_0x36dc29=_0x3412b7;Object[_0x992730(0x205)](_0x5604f6[_0x992730(0x32d)])[_0x992730(0x23b)](_0x4a5aac=>{const _0x1648e9=_0x992730;Object[_0x1648e9(0x205)](_0x5604f6[_0x1648e9(0x32d)][Number(_0x4a5aac)])[_0x1648e9(0x23b)](_0x484d2d=>{const _0x1592e3=_0x1648e9,_0x51be51={..._0x5604f6['data'][Number(_0x4a5aac)][Number(_0x484d2d)]};_0xd909aa[_0x1592e3(0x216)](Number(_0x4a5aac)+_0x1c9b05,Number(_0x484d2d)+_0x36dc29,tt(_0x1905b9,_0x51be51,fe[_0x1592e3(0x229)]));});});const _0x31b5d2=Object[_0x992730(0x205)](_0x5604f6[_0x992730(0x32d)])[_0x992730(0x210)];_0x1c9b05+=_0x31b5d2+(_0x31b5d2?It:0x0);const _0x1e2f68=_0x167ef4['getRowCount'](),_0x56f920=_0x167ef4[_0x992730(0x31a)]();for(let _0xf7c200=0x0;_0xf7c200<_0x1e2f68;_0xf7c200++)for(let _0x19baa3=0x0;_0x19baa3<_0x56f920;_0x19baa3++){const _0x35fdf8={...(_0x352074=(_0x203b22=_0x167ef4[_0x992730(0x32d)])==null?void 0x0:_0x203b22[_0xf7c200])==null?void 0x0:_0x352074[_0x19baa3]};_0x35fdf8&&((_0x51240d=_0x4d014e[_0x992730(0x2b1)][_0x19baa3])!=null&&_0x51240d[_0x992730(0x3a3)])&&_0x19baa3===_0x56f920-0x1&&_0xf7c200===_0x1e2f68-0x1&&(_0x35fdf8['v']=''+_0x690e59[_0x992730(0x3df)]),_0xd909aa[_0x992730(0x216)](_0xf7c200+_0x1c9b05,_0x19baa3+_0x36dc29,tt(_0x1905b9,_0x35fdf8,fe['cornerStyle']));}for(let _0x251da4=0x0;_0x251da4<_0x167ef4[_0x992730(0x349)][_0x992730(0x210)];_0x251da4++)_0x167ef4[_0x992730(0x349)][_0x251da4]&&(_0x2d392e[''+(_0x251da4+_0x36dc29)]=_0x167ef4[_0x992730(0x349)][_0x251da4]);_0x36dc29+=_0x56f920;const _0x4068b8=_0x12cf18['headerMap'],_0x2ae5f4=_0x12cf18['getLastRow']()>=0x0?_0x12cf18[_0x992730(0x221)]()+0x1:0x0,_0x25c913=_0x12cf18[_0x992730(0x34d)]()>=0x0?_0x12cf18['getLastCol']()+0x1:0x0;for(let _0x1e7949=0x0;_0x1e7949<_0x25c913;_0x1e7949++){for(let _0xcf1a22=0x0;_0xcf1a22<_0x2ae5f4;_0xcf1a22++){const _0x3341f2={...(_0x2d89af=(_0x557700=_0x12cf18['data'])==null?void 0x0:_0x557700[_0xcf1a22])==null?void 0x0:_0x2d89af[_0x1e7949]},_0x1c54be=(_0xa4ee9c=_0x4068b8[_0xcf1a22])==null?void 0x0:_0xa4ee9c[_0x992730(0x309)],_0x521172=_0x92ed46[_0x1c54be],_0x2026b2=_0x38c79e[_0x1c54be];_0x3341f2&&(_0x3341f2['v']=ht(_0x3341f2,_0xcf1a22===0x0&&((_0x488b20=_0x12cf18[_0x992730(0x302)](_0x1e7949+0x1))==null?void 0x0:_0x488b20[_0x992730(0x3a3)]),_0x521172,_0x690e59));let _0x532665;_0x521172?_0x532665={...fe['colStyle'],'n':{'pattern':_0x521172}}:_0x532665={...fe[_0x992730(0x19a)]},_0xd909aa['setValue'](_0xcf1a22+_0x1c9b05,_0x1e7949+_0x36dc29,tt(_0x1905b9,_0x3341f2,_0x532665,_0x2026b2));}_0x12cf18['info'][_0x1e7949]&&(_0x8f61a2[''+(_0x1e7949+_0x36dc29)]=_0x12cf18['info'][_0x1e7949]),_0x12cf18['headerMap'][_0x1e7949+0x1]&&(_0x5d3f4d[''+(_0x1e7949+_0x1c9b05+0x1)]=_0x12cf18[_0x992730(0x2b1)][_0x1e7949+0x1]);}_0x1c9b05+=_0x1e2f68;const _0x25fbfa=_0x4d014e[_0x992730(0x2b1)],_0x29c601=_0x4d014e[_0x992730(0x221)]()>=0x0?_0x4d014e[_0x992730(0x221)]()+0x1:0x0,_0x3b45da=_0x4d014e[_0x992730(0x34d)]()>=0x0?_0x4d014e[_0x992730(0x34d)]()+0x1:0x0;for(let _0x5c6892=0x0;_0x5c6892<_0x29c601;_0x5c6892++){for(let _0x2be0c8=0x0;_0x2be0c8<_0x3b45da;_0x2be0c8++){const _0x5e3513={...(_0x1e118a=(_0x1fe549=_0x4d014e[_0x992730(0x32d)])==null?void 0x0:_0x1fe549[_0x5c6892])==null?void 0x0:_0x1e118a[_0x2be0c8]},_0x12794a=(_0x7bfa95=_0x25fbfa[_0x2be0c8])==null?void 0x0:_0x7bfa95['tableFieldId'],_0x17804d=_0x92ed46[_0x12794a],_0x4ac2bc=_0x38c79e[_0x12794a];_0x5e3513&&(_0x5e3513['v']=ht(_0x5e3513,!0x1,_0x17804d,_0x690e59));let _0x9806e0;_0x4d014e[_0x992730(0x349)][_0x5c6892][_0x992730(0x1b0)]===_0x4d014e[_0x992730(0x31a)]()?_0x9806e0=fe[_0x992730(0x24f)]:_0x4d014e[_0x992730(0x349)][_0x5c6892]['isBottomTotal']?_0x9806e0=_0x4d014e[_0x992730(0x349)][_0x5c6892]['level']===0x0?fe[_0x992730(0x367)]:fe['subTotalStyle']:_0x9806e0=fe[_0x992730(0x369)],_0x17804d&&(_0x9806e0={..._0x9806e0,'n':{'pattern':_0x17804d}}),_0xd909aa[_0x992730(0x216)](_0x5c6892+_0x1c9b05,_0x2be0c8+_0x3412b7,tt(_0x1905b9,_0x5e3513,_0x9806e0,_0x4ac2bc));}_0x4d014e[_0x992730(0x349)][_0x5c6892]&&(_0x18c562[''+(_0x5c6892+_0x1c9b05)]=_0x4d014e[_0x992730(0x349)][_0x5c6892]),_0x4d014e[_0x992730(0x2b1)][_0x5c6892]&&(_0x4417b4[''+(_0x5c6892+_0x3412b7)]=_0x4d014e[_0x992730(0x2b1)][_0x5c6892]);}const _0x515cf7=_0x44cbda[_0x992730(0x29e)](),_0xf822c1=_0x44cbda[_0x992730(0x31a)]();for(let _0x52827f=0x0;_0x52827f<_0x515cf7;_0x52827f++)for(let _0x37520c=0x0;_0x37520c<_0xf822c1;_0x37520c++){const _0x5a6df1={...(_0x576b4f=(_0x4a24e4=_0x44cbda[_0x992730(0x32d)])==null?void 0x0:_0x4a24e4[_0x52827f])==null?void 0x0:_0x576b4f[_0x37520c]};let _0x5e86e1;_0x4d014e['info'][_0x52827f][_0x992730(0x315)]?_0x5e86e1=_0x4d014e['info'][_0x52827f]['level']===0x0?fe[_0x992730(0x367)]:fe[_0x992730(0x3ea)]:_0x5e86e1=fe[_0x992730(0x370)];const _0x1cc4a5=_0x4d014e[_0x992730(0x349)][_0x52827f][_0x992730(0x3b8)],_0x526683=_0x12cf18['info'][_0x37520c][_0x992730(0x3b8)],_0x37bfd9=Math[_0x992730(0x1db)](_0x1cc4a5,_0x526683),_0x114c6e=_0x1f880d[_0x992730(0x3b3)][_0x992730(0x37d)][_0x992730(0x35b)]();let _0x283f72='';_0x37bfd9<0x0?_0x283f72=(_0x4b08f8=_0x114c6e[0x0])!=null?_0x4b08f8:'':_0x283f72=(_0x14f04d=_0x114c6e[_0x37bfd9])!=null?_0x14f04d:'';const _0x2217b5=_0x92ed46[_0x283f72];_0x2217b5&&(_0x5e86e1={..._0x5e86e1,'n':{'pattern':_0x2217b5}}),_0xd909aa['setValue'](_0x52827f+_0x1c9b05,_0x37520c+_0x36dc29,tt(_0x1905b9,_0x5a6df1,_0x5e86e1));}return{'valueMatrix':_0xd909aa,'rowInfo':_0x18c562,'colInfo':_0x8f61a2,'cornerInfo':_0x2d392e,'rowHeaderMap':_0x4417b4,'colHeaderMap':_0x5d3f4d};};function ht(_0xffecaa,_0x492694,_0x1947a0,_0x35ada7){const _0x97abe0=_0x27d18f;let _0x389ce5=_0xffecaa['v'];_0x492694&&(_0x389ce5=''+_0x35ada7[_0x97abe0(0x3df)]);const _0x46fda6=_0xffecaa['t']&&(_0xffecaa['t']&_0x3eee49['blank'])>0x0;if(_0x46fda6&&(_0x389ce5=''+_0x35ada7[_0x97abe0(0x30b)]),_0xffecaa['s']===_0x13c73f[_0x97abe0(0x1d9)]){let _0x3b196b=_0x389ce5,_0x10b372='';_0x2b77ea(_0x389ce5)&&(_0x3b196b=_0x389ce5[_0x97abe0(0x342)],_0x10b372=_0x389ce5[_0x97abe0(0x222)]);const _0x42c280=_0x1947a0&&!_0x46fda6?_0x50b5c7['format'](_0x1947a0,Number(_0x3b196b)):_0x3b196b;_0x10b372?_0x389ce5=_0x42c280+'\x20'+_0x10b372:_0x389ce5=_0x42c280+'\x20'+_0x35ada7[_0x97abe0(0x1bb)];}else _0xffecaa['s']===_0x13c73f['GrandTotal']&&(_0x389ce5=_0x389ce5+'\x20'+_0x35ada7[_0x97abe0(0x32a)]);return _0x389ce5;}function Bo(_0x117c17){const _0x3cf4f1=_0x27d18f;if(_0x56d065(_0x117c17)){const {errorType:_0x271944}=_0x117c17;switch(_0x271944){case _0x227677[_0x3cf4f1(0x25c)]:return _0x1e5c6d[_0x3cf4f1(0x2d7)];case _0x227677[_0x3cf4f1(0x264)]:return _0x1e5c6d[_0x3cf4f1(0x3d3)];case _0x227677[_0x3cf4f1(0x1a6)]:return _0x1e5c6d[_0x3cf4f1(0x276)];case _0x227677[_0x3cf4f1(0x359)]:return _0x1e5c6d['NAME'];case _0x227677[_0x3cf4f1(0x1f1)]:return _0x1e5c6d['REF'];}}return _0x117c17;}function ge(_0x47bbfb,_0x1c9c28,_0x223b10=!0x1,_0x19c64c=!0x1){const _0x384fe7=_0x27d18f,{data:_0x49326f}=_0x1c9c28,_0x765fa7=_0x1c9c28[_0x384fe7(0x29e)](),_0x3b54db=_0x1c9c28['getColCount']();if(_0x765fa7<=0x0||_0x3b54db<=0x0)return[];const _0x2024f6=_0x1c9c28[_0x384fe7(0x34d)](),_0xe268e0=_0x1c9c28['getLastRow'](),_0x115397=_0x19c64c?_0xe268e0>=0x0?_0xe268e0+0x1:0x0:_0x765fa7,_0x9356ef=_0x19c64c?_0x2024f6>=0x0?_0x2024f6+0x1:0x0:_0x3b54db,{row:_0x590345,col:_0x34017d}=_0x47bbfb,_0x50621b=_0x590345,_0xc1704e=_0x34017d;if(_0x223b10){const _0x3314d4=[];for(const [_0x156956,_0x277a22]of Object['entries'](_0x49326f))for(const [_0x2ccc54,_0x2f8c08]of Object[_0x384fe7(0x251)](_0x277a22))_0x3314d4[_0x384fe7(0x260)](_0x31147b(_0x50621b+Number(_0x156956),_0xc1704e+Number(_0x2ccc54)));return _0x3314d4;}else{const _0x1c531e=_0x19c64c?_0x115397>0x0?0x1:0x0:0x1,_0x34fa7b=_0x19c64c?_0x9356ef>0x0?0x1:0x0:0x1,_0x1eb20f=_0x590345+_0x115397-_0x1c531e,_0x321195=_0x34017d+_0x9356ef-_0x34fa7b;return[{'startRow':_0x50621b,'startColumn':_0xc1704e,'endRow':_0x1eb20f,'endColumn':_0x321195}];}}const z=_0x27d18f(0x3a5),kt=_0x27d18f(0x383);var W=(_0x36f96e=>(_0x36f96e[_0x27d18f(0x19d)]=_0x27d18f(0x25e),_0x36f96e[_0x27d18f(0x30d)]=_0x27d18f(0x283),_0x36f96e[_0x27d18f(0x1b5)]=_0x27d18f(0x318),_0x36f96e[_0x27d18f(0x2af)]=_0x27d18f(0x2af),_0x36f96e[_0x27d18f(0x2ec)]=_0x27d18f(0x35e),_0x36f96e[_0x27d18f(0x290)]='movePivotField',_0x36f96e['RemovePivotField']=_0x27d18f(0x23a),_0x36f96e[_0x27d18f(0x2f4)]=_0x27d18f(0x233),_0x36f96e['SetPivotFilter']=_0x27d18f(0x1ab),_0x36f96e[_0x27d18f(0x1f9)]=_0x27d18f(0x33c),_0x36f96e['SetPivotSetting']=_0x27d18f(0x234),_0x36f96e[_0x27d18f(0x305)]=_0x27d18f(0x1e7),_0x36f96e[_0x27d18f(0x20a)]=_0x27d18f(0x390),_0x36f96e[_0x27d18f(0x304)]=_0x27d18f(0x395),_0x36f96e[_0x27d18f(0x2c1)]=_0x27d18f(0x2e6),_0x36f96e[_0x27d18f(0x18d)]='setPivotTableConfig',_0x36f96e[_0x27d18f(0x323)]=_0x27d18f(0x1c7),_0x36f96e))(W||{});const Mi={'sheets-pivot.blankValue':_0x27d18f(0x26d),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x27d18f(0x3cf),'sheets-pivot.grandTotalText':_0x27d18f(0x252),'sheets-pivot.valueText':_0x27d18f(0x240),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x27d18f(0x1c2),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x27d18f(0x224),'sheets-pivot.minName':_0x27d18f(0x39b),'sheets-pivot.productName':_0x27d18f(0x196),'sheets-pivot.stdDevName':_0x27d18f(0x190),'sheets-pivot.stdDevpName':_0x27d18f(0x363),'sheets-pivot.sumName':_0x27d18f(0x347),'sheets-pivot.varName':_0x27d18f(0x241),'sheets-pivot.varpName':_0x27d18f(0x1e4),'sheets-pivot.subTotal':_0x27d18f(0x1d9),'sheets-pivot.grandTotal':_0x27d18f(0x252),'sheets-pivot.value':_0x27d18f(0x222),'sheets-pivot.blank':_0x27d18f(0x3ac),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x27d18f(0x2e9),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x27d18f(0x294)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0xb49327(_0x27d18f(0x1fc)),qo=_0x1e77e1(_0x27d18f(0x29b));var Le=(_0x7203c9=>(_0x7203c9['add']=_0x27d18f(0x2e1),_0x7203c9[_0x27d18f(0x3f8)]=_0x27d18f(0x3f8),_0x7203c9[_0x27d18f(0x313)]=_0x27d18f(0x313),_0x7203c9))(Le||{}),B=(_0x3e4740=>(_0x3e4740[_0x27d18f(0x2bd)]=_0x27d18f(0x2e1),_0x3e4740[_0x27d18f(0x287)]=_0x27d18f(0x28b),_0x3e4740[_0x27d18f(0x1ff)]=_0x27d18f(0x3f8),_0x3e4740))(B||{});const ro={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x3d7),'handler':()=>!0x0},lo={'type':_0x538c0b['MUTATION'],'id':_0x27d18f(0x1ca),'handler':()=>!0x0},Dt={'type':_0x538c0b['MUTATION'],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},co={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x538c0b['MUTATION'],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var wi=Object[_0x27d18f(0x381)],_i=(_0x4dd719,_0x34d8ac,_0x3cb024,_0x3cfded)=>{for(var _0x5c32be=_0x3cfded>0x1?void 0x0:_0x3cfded?wi(_0x34d8ac,_0x3cb024):_0x34d8ac,_0x5e53d8=_0x4dd719['length']-0x1,_0x43ee0a;_0x5e53d8>=0x0;_0x5e53d8--)(_0x43ee0a=_0x4dd719[_0x5e53d8])&&(_0x5c32be=_0x43ee0a(_0x5c32be)||_0x5c32be);return _0x5c32be;},Ri=(_0x5ce8d7,_0x268c75)=>(_0x4b4dc2,_0x10d461)=>_0x268c75(_0x4b4dc2,_0x10d461,_0x5ce8d7);let X=class extends _0x592bfe{constructor(_0x39d652){const _0x5227cd=_0x27d18f;super(),x(this,_0x5227cd(0x24d),new Map()),this[_0x5227cd(0x3e8)]=_0x39d652;}[_0x27d18f(0x2c8)](_0x21c7a7){const _0x2012ce=_0x27d18f,{version:_0x3f3323}=_0x21c7a7,_0xdeae75=this['_requestResolvers']['get'](_0x3f3323);_0xdeae75&&(_0xdeae75(_0x21c7a7),this['_requestResolvers'][_0x2012ce(0x3f8)](_0x3f3323));}[_0x27d18f(0x28c)](_0x5f9b7a){return new Promise((_0x2388c4,_0x51f426)=>{const _0x1c22c6=_0x2985,_0x21ca70=this['_generateUniqueVersion']();this[_0x1c22c6(0x24d)][_0x1c22c6(0x28b)](_0x21ca70,_0x2388c4),this[_0x1c22c6(0x3e8)]['executeCommand'](ro['id'],{'version':_0x21ca70,..._0x5f9b7a},{'onlyLocal':!0x0});});}[_0x27d18f(0x1c9)](){const _0x4fc228=_0x27d18f;return Math[_0x4fc228(0x239)]()[_0x4fc228(0x3e5)](0x24)['substring'](0x2,0x10);}};X=_i([Ri(0x0,_0x5611df(_0xeb5b23))],X);const $o={0x0:'0',0x1:'8',0x2:'C',0x3:'L',0x4:'v',0x5:'g',0x6:'Q',0x7:'j',0x8:'T',0x9:'9','y':'1','A':'2','L':'3','p':'4','B':'5','g':'6','i':'7','e':'a','a':'b','H':'c','K':'d','t':'e','z':'f','h':'h','v':'i','T':'k','Y':'l','Q':'m','q':'n','x':'o','k':'p','j':'q','R':'r','l':'s','W':'t','s':'u','o':'w','S':'x','m':'y','b':'z','E':'A','I':'B','n':'D','Z':'E','C':'F','u':'G','N':'H','c':'I','D':'J','r':'K','J':'M','w':'N','V':'O','d':'P','O':'R','f':'S','F':'U','U':'V','P':'W','G':'X','M':'Y','X':'Z'},Jo=_0x27d18f(0x3ef),Fi=_0x40b0a3=>{const _0x38395d=_0x27d18f;var _0x449f11;return((_0x449f11=_0x40b0a3['body'])==null?void 0x0:_0x449f11[_0x38395d(0x2f0)][_0x38395d(0x1a4)](/\r\n$/,''))||'';};class Di extends _0x6dbb5{constructor(_0x4b2403,_0x380296){const _0xf6222a=_0x27d18f;super(),x(this,'rangeKeyMap',{}),x(this,_0xf6222a(0x21e)),x(this,'_host'),(this['_univerInstanceService']=_0x380296,this[_0xf6222a(0x21b)]=_0x4b2403);}[_0x27d18f(0x1a7)](){const _0x2f1c74=_0x27d18f;for(const _0x29bbb4 in this[_0x2f1c74(0x3f3)]){const _0x3a337d=this[_0x2f1c74(0x3f3)][_0x29bbb4],_0x20f087=_0x3a337d['getRangeKey']();this['rangeKeyMap'][_0x20f087]=_0x3a337d[_0x2f1c74(0x300)]();}}[_0x27d18f(0x1b7)](){const _0x29f570=_0x27d18f,_0x50d404=this[_0x29f570(0x21b)];return Ai[_0x29f570(0x266)](_0x50d404);}[_0x27d18f(0x1e9)](_0xba9f76){const _0x26715e=_0x27d18f,_0x1e541b=this[_0x26715e(0x3f3)][_0xba9f76][_0x26715e(0x330)];delete this['dataFields'][_0xba9f76],delete this['rangeKeyMap'][_0x1e541b];}[_0x27d18f(0x3d1)](_0x30998a){const _0x15002a=_0x27d18f;this['dataFields'][_0x30998a[_0x15002a(0x300)]()]=_0x30998a;}[_0x27d18f(0x32f)](_0x50f857){const _0x43ad4a=_0x27d18f;var _0x4b0d53,_0x2554e4;const _0x2179cd=this[_0x43ad4a(0x21b)]['getTargetByPivotId'](_0x50f857);if(_0x2179cd){const {unitId:_0xea21a2,subUnitId:_0x45dc78}=_0x2179cd,_0x4622f6=(_0x4b0d53=this['_host'][_0x43ad4a(0x27c)](_0xea21a2,_0x45dc78,_0x50f857))==null?void 0x0:_0x4b0d53[_0x43ad4a(0x3fc)];this[_0x43ad4a(0x21b)]['broadcastCollectionChange']({'token':_0x50f857,'type':Le[_0x43ad4a(0x3f8)],'dataRangeInfo':_0x4622f6});}(_0x2554e4=this[_0x43ad4a(0x39a)](_0x50f857))==null||_0x2554e4[_0x43ad4a(0x386)](),delete this[_0x43ad4a(0x319)][_0x50f857];}[_0x27d18f(0x34c)](_0x5d3ccf,_0x381762){const {sheetName:_0x5b345d,unitId:_0x2bb8ac,range:_0x1ce224}=_0x5d3ccf,{startRow:_0xaaf932,endRow:_0x29fb2b}=_0x1ce224;return _0x2d04f8(_0x2bb8ac,_0x5b345d,{'startRow':_0xaaf932,'endRow':_0x29fb2b,'startColumn':_0x381762,'endColumn':_0x381762});}['getDataFieldByRangeKey'](_0x151daa){const _0x456d8b=_0x27d18f;return this[_0x456d8b(0x3f3)][this[_0x456d8b(0x3aa)][_0x151daa]];}[_0x27d18f(0x1e2)](_0x51d5e4,_0x499a1e){const _0x306257=_0x27d18f;this[_0x306257(0x3aa)][_0x51d5e4]=_0x499a1e;}[_0x27d18f(0x26c)](_0x169172,_0x5a07f2){const _0x4895bb=_0x27d18f;this[_0x4895bb(0x3aa)][_0x5a07f2]=this[_0x4895bb(0x3aa)][_0x169172],delete this[_0x4895bb(0x3aa)][_0x169172];}[_0x27d18f(0x284)](_0x2544a2,_0xcd6f44,_0x339a8d,_0x4a940c){const _0x538794=_0x27d18f,_0x2e60d9=new _0x51baaf(this);_0x2e60d9[_0x538794(0x295)](_0xcd6f44);const _0xa91e83=[];let _0x45c74b=0x0;for(const _0x2b76bd of _0x2e60d9[_0x538794(0x3a0)]){const _0x20fd2b=this[_0x538794(0x34c)](_0x339a8d,_0x45c74b),_0x5a7f3c=this[_0x538794(0x3f3)][_0x2b76bd];_0x5a7f3c&&(_0x5a7f3c[_0x538794(0x330)]=_0x20fd2b,this[_0x538794(0x1e2)](_0x20fd2b,_0x2b76bd),_0xa91e83[_0x538794(0x260)]({'index':_0x45c74b,'dataField':_0x5a7f3c})),_0x45c74b++;}return this['addCollection'](_0x2544a2,_0x2e60d9,_0x339a8d,_0x4a940c),{'collection':_0x2e60d9,'updateDataFieldList':_0xa91e83};}[_0x27d18f(0x3e2)](_0x3a695d,_0x3db0e3){const _0x4e4e55=_0x27d18f;return _0x3a695d[_0x4e4e55(0x33e)]===_0x2619ff[_0x4e4e55(0x2fc)]?{'startRow':0x0,'startColumn':_0x3a695d[_0x4e4e55(0x282)],'endRow':_0x3db0e3[_0x4e4e55(0x29e)]()-0x1,'endColumn':_0x3a695d[_0x4e4e55(0x26f)]}:{'startRow':_0x3a695d[_0x4e4e55(0x36b)],'startColumn':_0x3a695d[_0x4e4e55(0x282)],'endRow':_0x3a695d[_0x4e4e55(0x380)],'endColumn':_0x3a695d[_0x4e4e55(0x26f)]};}[_0x27d18f(0x1e8)](_0x1d3c3f){const _0x1e60a5=_0x27d18f,{sheetName:_0x2d0689,range:_0x1866af}=_0x1d3c3f,_0xa08795=this[_0x1e60a5(0x21e)]['getCurrentUnitForType'](_0x11ddec[_0x1e60a5(0x21f)]),_0x5e10ec=_0xa08795[_0x1e60a5(0x1f4)](_0x2d0689),_0x5b7efb=_0x5e10ec[_0x1e60a5(0x2be)](),{startColumn:_0x1f937c,startRow:_0x4a8c9d,endColumn:_0x5750b6}=this[_0x1e60a5(0x3e2)](_0x1866af,_0x5e10ec),_0x444500=_0xa08795['getStyles'](),_0x25d4e1=new _0x51baaf(this);_0x25d4e1[_0x1e60a5(0x3e3)](_0x1d3c3f);const _0x11743b=[],_0x2f01ec={};for(let _0x1b52d8=_0x1f937c;_0x1b52d8<=_0x5750b6;_0x1b52d8++){const _0x51667d=_0x5b7efb[_0x1e60a5(0x3f7)](_0x4a8c9d,_0x1b52d8),_0x98a2e4=this[_0x1e60a5(0x34c)](_0x1d3c3f,_0x1b52d8),_0xe4c2b9=this['getDataFieldByRangeKey'](_0x98a2e4);if(_0xe4c2b9)_0x25d4e1[_0x1e60a5(0x32c)](_0xe4c2b9[_0x1e60a5(0x300)](),_0xe4c2b9[_0x1e60a5(0x2eb)]());else{const _0x44b145=this[_0x1e60a5(0x1d4)]();let _0x1e99a2=this[_0x1e60a5(0x21c)](_0x51667d,_0x444500,_0x2f01ec);_0x487286(_0x1e99a2)&&(_0x1e99a2=_0x50b5c7[_0x1e60a5(0x185)](_0x1e99a2['f'],Number(_0x1e99a2['v'])));const _0x374bc0=this[_0x1e60a5(0x2c5)](_0x1e99a2,_0x1b52d8),_0xe28852=new _0x5af9d2(_0x44b145,_0x374bc0,_0x365949(0x3));_0xe28852['rangeKey']=_0x98a2e4,this[_0x1e60a5(0x3f3)][_0x44b145]=_0xe28852,_0x25d4e1[_0x1e60a5(0x32c)](_0x44b145,_0x374bc0),_0x11743b[_0x1e60a5(0x260)]({'index':_0x1b52d8,'dataField':_0xe28852});}}return{'updateDataFieldList':_0x11743b,'collection':_0x25d4e1};}['_getAutoName'](_0x430ce7){const _0x14e96b=_0x27d18f;return this['_host'][_0x14e96b(0x1fb)]()['sheets-pivot.columnName']+'\x20'+_0x40caf7(_0x430ce7);}[_0x27d18f(0x2c5)](_0x3a7bc7,_0x158695){return _0x3a7bc7==null||_0x3a7bc7===''?this['_getAutoName'](_0x158695):String(_0x3a7bc7);}[_0x27d18f(0x39a)](_0x5ed784){const _0x36af30=_0x27d18f;return this[_0x36af30(0x319)][_0x5ed784];}[_0x27d18f(0x1e5)](_0x2f8171,_0x2e518d,_0x1a7863,_0x5ccdd2){const _0x47f776=_0x27d18f;this[_0x47f776(0x319)][_0x2f8171]=_0x2e518d,_0x2e518d[_0x47f776(0x3e3)](_0x1a7863),this[_0x47f776(0x21b)][_0x47f776(0x198)]({'token':_0x2f8171,'type':Le[_0x47f776(0x2e1)],'dataRangeInfo':_0x1a7863,'targetCellInfo':_0x5ccdd2});}[_0x27d18f(0x19c)](_0x384365,_0x3f1fa0){const _0x4db097=_0x27d18f,_0x1521e4=this['getCollection'](_0x384365),_0x55a42b=_0x1521e4[_0x4db097(0x3e6)]();let _0x360768=0x0;for(const _0x4e0fcc of _0x55a42b){const _0xcbaf9c=_0x1521e4[_0x4db097(0x34e)](_0x4e0fcc),_0x1c43b4=this[_0x4db097(0x34c)](_0x3f1fa0,_0x360768);this[_0x4db097(0x26c)](_0xcbaf9c[_0x4db097(0x330)],_0x1c43b4),_0x360768++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x27d18f(0x337)](_0x36e915,_0x161d93){const _0x4bdbd7=_0x27d18f;if(this[_0x4bdbd7(0x39a)](_0x36e915)){const _0x12b25b=this[_0x4bdbd7(0x2fd)](_0x161d93),_0x248c9c=[];for(const _0x18b7d1 of _0x12b25b)this[_0x4bdbd7(0x3aa)][_0x18b7d1]!==void 0x0&&_0x248c9c['push'](this['rangeKeyMap'][_0x18b7d1]);const _0x4b1418=this[_0x4bdbd7(0x203)](_0x36e915),_0x321f38=[],_0x40d342=new Set(_0x248c9c);for(const _0x1b4ec6 of _0x4b1418)_0x40d342[_0x4bdbd7(0x1e6)](_0x1b4ec6)||_0x321f38['push'](_0x1b4ec6);return _0x321f38;}}[_0x27d18f(0x243)](_0x187406,_0x59c3d5,_0x573bde,_0x373403,_0x4f0cee){const _0x408e81=_0x27d18f;return _0x59c3d5&&_0x59c3d5[_0x408e81(0x3f7)](_0x373403,_0x4f0cee)?_0x59c3d5[_0x408e81(0x3f7)](_0x373403,_0x4f0cee):_0x573bde&&_0x573bde[_0x408e81(0x3f7)](_0x373403,_0x4f0cee)?_0x573bde['getValue'](_0x373403,_0x4f0cee):_0x187406[_0x408e81(0x3f7)](_0x373403,_0x4f0cee);}[_0x27d18f(0x3a4)](_0x76531,_0x127615,_0x536104,_0xf03643){const _0x1ce1d8=_0x27d18f,_0x31b999=this[_0x1ce1d8(0x3f3)][_0x76531];if(!_0x31b999)return;const {subUnitId:_0xb64e3f,range:_0x44b98b,unitId:_0x56e71f}=_0x127615,_0x409975=this[_0x1ce1d8(0x21e)]['getUnit'](_0x56e71f);if(!_0x409975){console[_0x1ce1d8(0x3ad)]('workbook\x20is\x20not\x20found');return;}const _0x22b716=_0x409975[_0x1ce1d8(0x2f6)](_0xb64e3f),_0x2da4d4=_0x22b716['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0xca2e0e,unitDataMatrix:_0x5c7a0e}=_0xf03643||{},{startRow:_0x14f2c7,startColumn:_0x415f22,endRow:_0x55fae8}=this[_0x1ce1d8(0x3e2)](_0x44b98b,_0x22b716);_0x31b999['reset']();const _0x1cdc5d=_0x409975['getStyles'](),_0x16f0db={},_0x476701=this[_0x1ce1d8(0x243)](_0x2da4d4,_0xca2e0e,_0x5c7a0e,_0x14f2c7,_0x415f22+_0x536104);let _0x4ffde5=this[_0x1ce1d8(0x21c)](_0x476701,_0x1cdc5d,_0x16f0db);_0x487286(_0x4ffde5)&&(_0x4ffde5=_0x50b5c7[_0x1ce1d8(0x185)](_0x4ffde5['f'],Number(_0x4ffde5['v'])));const _0x30a44d=this[_0x1ce1d8(0x2c5)](_0x4ffde5,_0x415f22+_0x536104);_0x31b999[_0x1ce1d8(0x3c9)](_0x30a44d);for(let _0x27e84a=_0x14f2c7+0x1;_0x27e84a<=_0x55fae8;_0x27e84a++){const _0xd9a558=this[_0x1ce1d8(0x243)](_0x2da4d4,_0xca2e0e,_0x5c7a0e,_0x27e84a,_0x415f22+_0x536104);_0x31b999['addRecord'](this['adjustSheetCellData'](_0xd9a558,_0x1cdc5d,_0x16f0db),_0x27e84a-0x1-_0x14f2c7);}}[_0x27d18f(0x2df)](_0x11c815,_0x42d8d7,_0x3fd96a){const _0x1c936c=_0x27d18f,{subUnitId:_0x40d54e,range:_0x318c85,unitId:_0x198f9b}=_0x3fd96a,_0x5bfe2c=this[_0x1c936c(0x21e)][_0x1c936c(0x327)](_0x198f9b);if(!_0x5bfe2c){console[_0x1c936c(0x3ad)](_0x1c936c(0x22c));return;}const _0x32c1c5=_0x5bfe2c[_0x1c936c(0x2f6)](_0x40d54e),_0x199bb7=_0x32c1c5['getCellMatrix'](),{startRow:_0x277202,startColumn:_0x231fc5,endRow:_0x1836c1}=this['getRangeStartEndInfo'](_0x318c85,_0x32c1c5),_0x8e87c4=_0x5bfe2c[_0x1c936c(0x3e1)](),_0x10e51d={};for(const {dataField:_0x51a4e7,index:_0x666892}of _0x42d8d7){_0x51a4e7['reset']();const _0x3e3594=this[_0x1c936c(0x243)](_0x199bb7,void 0x0,void 0x0,_0x277202,_0x231fc5+_0x666892);let _0xa929e0=this[_0x1c936c(0x21c)](_0x3e3594,_0x8e87c4,_0x10e51d);_0x487286(_0xa929e0)&&(_0xa929e0=_0x50b5c7[_0x1c936c(0x185)](_0xa929e0['f'],Number(_0xa929e0['v'])));const _0x2a996e=this[_0x1c936c(0x2c5)](_0xa929e0,_0x231fc5+_0x666892);_0x51a4e7[_0x1c936c(0x3c9)](_0x2a996e);}_0x11c815[_0x1c936c(0x38f)]();for(let _0x37f19c=_0x277202+0x1;_0x37f19c<=_0x1836c1;_0x37f19c++)for(const {index:_0x2328c9,dataField:_0x4c181b}of _0x42d8d7){const _0x18b3ce=_0x199bb7[_0x1c936c(0x3f7)](_0x37f19c,_0x231fc5+_0x2328c9);_0x4c181b[_0x1c936c(0x297)](this[_0x1c936c(0x21c)](_0x18b3ce,_0x8e87c4,_0x10e51d),_0x37f19c-0x1-_0x277202);}_0x11c815[_0x1c936c(0x336)](_0x1836c1-_0x277202);}[_0x27d18f(0x2fd)](_0x4b6bc6){const _0xf7c625=_0x27d18f,{range:_0x404274}=_0x4b6bc6,{startColumn:_0x4347f6,endColumn:_0x23931d}=_0x404274,_0x594e8f=[];for(let _0x3b1725=_0x4347f6;_0x3b1725<=_0x23931d;_0x3b1725++)_0x594e8f[_0xf7c625(0x260)](this[_0xf7c625(0x34c)](_0x4b6bc6,_0x3b1725));return _0x594e8f;}[_0x27d18f(0x21c)](_0x5f3a53,_0xaa039f,_0x15a872){const _0x37bfa4=_0x27d18f;if(_0x5f3a53){const {s:_0x4a7f2c,v:_0x26a129,t:_0xae0fcc,p:_0x5520dd}=_0x5f3a53;if(_0x5520dd)return Fi(_0x5520dd);const _0x3270da=_0xaa039f[_0x37bfa4(0x206)](_0x4a7f2c);if(_0x3270da&&_0xae0fcc===_0x2dd5d6[_0x37bfa4(0x379)]&&_0x3270da['n']){const {pattern:_0x4dfc3e}=_0x3270da['n'];_0x15a872[_0x4dfc3e]||(_0x15a872[_0x4dfc3e]=_0x50b5c7[_0x37bfa4(0x1f7)](_0x4dfc3e));const _0x15e98d=_0x15a872[_0x4dfc3e],_0x3d99ad=_0x15e98d['isDate'];if(_0x15e98d[_0x37bfa4(0x27e)])return String(_0x26a129);if(_0x3d99ad)return{'v':_0x26a129,'f':_0x4dfc3e};}if(_0xae0fcc===_0x2dd5d6[_0x37bfa4(0x379)])return Number(_0x26a129);if(_0xae0fcc===_0x2dd5d6[_0x37bfa4(0x261)]||_0xae0fcc===_0x2dd5d6[_0x37bfa4(0x3b1)])return String(_0x26a129);if(_0xae0fcc===void 0x0){const _0x3fc1b3=Number(_0x26a129);if(!Number[_0x37bfa4(0x217)](_0x3fc1b3)&&String(_0x3fc1b3)===_0x26a129)return _0x3fc1b3;}return _0x26a129!=null?_0x26a129:null;}else return null;}[_0x27d18f(0x36f)](_0x53bb7f){const _0x3913c3=_0x27d18f,{sheetName:_0x55efb9,range:_0x1c6708,unitId:_0x2743f8}=_0x53bb7f,_0x12c3b6=this[_0x3913c3(0x21e)][_0x3913c3(0x327)](_0x2743f8);if(!_0x12c3b6)return console['error'](_0x3913c3(0x22c)),{'header':[],'data':[]};const _0xe8498c=_0x12c3b6[_0x3913c3(0x1f4)](_0x55efb9),_0x8ef124=_0xe8498c[_0x3913c3(0x2be)](),{startRow:_0x5f0043,startColumn:_0x185b49,endRow:_0x25dd7a,endColumn:_0x299da0}=this[_0x3913c3(0x3e2)](_0x1c6708,_0xe8498c),_0x2de0ab=_0x12c3b6[_0x3913c3(0x3e1)](),_0x3fa527=[],_0x51c4e9=[],_0xead34f={};for(let _0x40e20b=_0x5f0043;_0x40e20b<=_0x25dd7a;_0x40e20b++){const _0x33c391=[];for(let _0xded458=_0x185b49;_0xded458<=_0x299da0;_0xded458++){const _0x26d0ea=_0x8ef124[_0x3913c3(0x3f7)](_0x40e20b,_0xded458);_0x40e20b===_0x5f0043?_0x3fa527[_0x3913c3(0x260)](_0x26d0ea==null?null:String(_0x26d0ea['v'])):_0x33c391[_0x3913c3(0x260)](this['adjustSheetCellData'](_0x26d0ea,_0x2de0ab,_0xead34f));}_0x51c4e9[_0x3913c3(0x260)](_0x33c391);}return{'header':_0x3fa527,'data':_0x51c4e9};}[_0x27d18f(0x1d7)](){const _0x4e3780=_0x27d18f;return super[_0x4e3780(0x1d7)]();}['fromJSON'](_0x28008e){const _0x484bc9=_0x27d18f;super[_0x484bc9(0x295)](_0x28008e),this[_0x484bc9(0x1a7)]();}[_0x27d18f(0x386)](){const _0x30227b=_0x27d18f;super[_0x30227b(0x386)](),this[_0x30227b(0x3aa)]={},this[_0x30227b(0x21b)]=null;}}const Ni=_0x1a564f=>{const _0x181677=_0x27d18f,{targetCellInfo:_0x3c63cf}=_0x1a564f,{matrixCache:_0xc071f6,rangesCache:_0x177635}=Ho({'filter':_0x181677(0x19d),'row':_0x181677(0x2e9),'column':_0x181677(0x36c),'values':_0x181677(0x294)},_0x3c63cf),_0x179c6e=new _0x1356f1();return _0xc071f6[_0x181677(0x288)]((_0x2981e0,_0x6764ca,_0x41e4e4)=>{const _0x279a48=_0x181677;_0x179c6e[_0x279a48(0x216)](_0x2981e0,_0x6764ca,_0x41e4e4);}),{'matrix':_0x179c6e,'rangesCache':_0x177635};},ot=_0x33a5f3=>{const _0x5db1ef=_0x27d18f;let _0x3836e2;if(_0x33a5f3!=null&&_0x33a5f3['v']||(_0x33a5f3==null?void 0x0:_0x33a5f3['v'])===0x0){_0x3836e2||(_0x3836e2={});const _0x1e3964=Bo(_0x33a5f3['v']);typeof _0x1e3964=='number'?_0x3836e2['t']=_0x2dd5d6[_0x5db1ef(0x379)]:typeof _0x1e3964=='string'&&(_0x3836e2['t']=_0x2dd5d6[_0x5db1ef(0x261)]),_0x3836e2['v']=_0x1e3964;}return _0x3836e2;},xi=(_0x3b8dd1,_0x43a3c2,_0x28f344)=>{const _0x259ea5=_0x27d18f;var _0x18fae8,_0x34cbf2,_0x3c5e49,_0x210c01,_0x564bd6,_0x274465,_0x1d9783,_0x55664a,_0xccf981,_0x56aaa1,_0x4a9980,_0x4431e7;const {cornerView:_0x31162e,rowView:_0x1a1e77,colView:_0x345ac1,dataView:_0x38d309,pageView:_0x27a617,formatMap:_0x56f8e2}=_0x3b8dd1,{row:_0x56b010,col:_0x5672de}=_0x43a3c2,_0x2eb979=new _0x1356f1();let _0x2a72ad=_0x56b010,_0xf41748=_0x5672de;Object['keys'](_0x27a617[_0x259ea5(0x32d)])[_0x259ea5(0x23b)](_0x55c927=>{const _0x296fe9=_0x259ea5;Object[_0x296fe9(0x205)](_0x27a617[_0x296fe9(0x32d)][Number(_0x55c927)])[_0x296fe9(0x23b)](_0x2879cb=>{const _0x2a8e26=_0x296fe9,_0xfcbf4c={..._0x27a617[_0x2a8e26(0x32d)][Number(_0x55c927)][Number(_0x2879cb)]};_0x2eb979[_0x2a8e26(0x216)](Number(_0x55c927)+_0x2a72ad,Number(_0x2879cb)+_0xf41748,ot(_0xfcbf4c));});});const _0x14ad9c=Object[_0x259ea5(0x205)](_0x27a617['data'])[_0x259ea5(0x210)];_0x2a72ad+=_0x14ad9c+(_0x14ad9c?It:0x0);const _0x4abe22=_0x31162e['getRowCount'](),_0x25968f=_0x31162e[_0x259ea5(0x31a)]();for(let _0x4839de=0x0;_0x4839de<_0x4abe22;_0x4839de++)for(let _0x230fb9=0x0;_0x230fb9<_0x25968f;_0x230fb9++){const _0x5cf795={...(_0x34cbf2=(_0x18fae8=_0x31162e[_0x259ea5(0x32d)])==null?void 0x0:_0x18fae8[_0x4839de])==null?void 0x0:_0x34cbf2[_0x230fb9]};_0x5cf795&&((_0x3c5e49=_0x1a1e77[_0x259ea5(0x2b1)][_0x230fb9])!=null&&_0x3c5e49[_0x259ea5(0x3a3)])&&_0x230fb9===_0x25968f-0x1&&_0x4839de===_0x4abe22-0x1&&(_0x5cf795['v']=''+_0x28f344[_0x259ea5(0x3df)]),_0x2eb979['setValue'](_0x4839de+_0x2a72ad,_0x230fb9+_0xf41748,ot(_0x5cf795));}_0xf41748+=_0x25968f;const _0x143f31=_0x345ac1['headerMap'],_0xfe5d4f=_0x345ac1[_0x259ea5(0x221)]()>=0x0?_0x345ac1[_0x259ea5(0x221)]()+0x1:0x0,_0x1c4b7d=_0x345ac1[_0x259ea5(0x34d)]()>=0x0?_0x345ac1[_0x259ea5(0x34d)]()+0x1:0x0;for(let _0x5c2fad=0x0;_0x5c2fad<_0x1c4b7d;_0x5c2fad++)for(let _0x5f52f1=0x0;_0x5f52f1<_0xfe5d4f;_0x5f52f1++){const _0x3bf6fe={...(_0x564bd6=(_0x210c01=_0x345ac1[_0x259ea5(0x32d)])==null?void 0x0:_0x210c01[_0x5c2fad])==null?void 0x0:_0x564bd6[_0x5f52f1]},_0x388195=(_0x274465=_0x143f31[_0x5c2fad])==null?void 0x0:_0x274465[_0x259ea5(0x309)],_0x3b3ee7=_0x56f8e2[_0x388195];_0x3bf6fe&&(_0x3bf6fe['v']=ht(_0x3bf6fe,_0x5c2fad===0x0&&((_0x1d9783=_0x345ac1[_0x259ea5(0x302)](_0x5f52f1+0x1))==null?void 0x0:_0x1d9783[_0x259ea5(0x3a3)]),_0x3b3ee7,_0x28f344)),_0x2eb979[_0x259ea5(0x216)](_0x5c2fad+_0x2a72ad,_0x5f52f1+_0xf41748,ot(_0x3bf6fe));}_0x2a72ad+=_0x4abe22;const _0x4fef87=_0x1a1e77['headerMap'],_0x5858af=_0x1a1e77[_0x259ea5(0x221)]()>=0x0?_0x1a1e77[_0x259ea5(0x221)]()+0x1:0x0,_0x34f7b6=_0x1a1e77[_0x259ea5(0x34d)]()>=0x0?_0x1a1e77['getLastCol']()+0x1:0x0;for(let _0x2f58ef=0x0;_0x2f58ef<_0x5858af;_0x2f58ef++)for(let _0x275468=0x0;_0x275468<_0x34f7b6;_0x275468++){const _0x437299={...(_0xccf981=(_0x55664a=_0x1a1e77[_0x259ea5(0x32d)])==null?void 0x0:_0x55664a[_0x2f58ef])==null?void 0x0:_0xccf981[_0x275468]},_0x281348=(_0x56aaa1=_0x4fef87[_0x275468])==null?void 0x0:_0x56aaa1[_0x259ea5(0x309)],_0x1672e0=_0x56f8e2[_0x281348];_0x437299&&(_0x437299['v']=ht(_0x437299,!0x1,_0x1672e0,_0x28f344)),_0x2eb979[_0x259ea5(0x216)](_0x2f58ef+_0x2a72ad,_0x275468+_0x5672de,ot(_0x437299));}const _0x360d78=_0x38d309[_0x259ea5(0x29e)](),_0x2a68fa=_0x38d309[_0x259ea5(0x31a)]();for(let _0x3a3cf9=0x0;_0x3a3cf9<_0x360d78;_0x3a3cf9++)for(let _0x5329af=0x0;_0x5329af<_0x2a68fa;_0x5329af++){const _0x275eaf={...(_0x4431e7=(_0x4a9980=_0x38d309['data'])==null?void 0x0:_0x4a9980[_0x3a3cf9])==null?void 0x0:_0x4431e7[_0x5329af]};_0x2eb979[_0x259ea5(0x216)](_0x3a3cf9+_0x2a72ad,_0x5329af+_0xf41748,ot(_0x275eaf));}return _0x2eb979;},Ui=_0x3620dd=>{const _0x54ee2f=_0x27d18f,{view:_0x32d6c4,targetCellInfo:_0x10d8d2,isEmpty:_0x3c1d3c,textInfo:_0x1fa4a3}=_0x3620dd;if(_0x3c1d3c)return Ni(_0x3620dd);const {pageView:_0xe43c70,cornerView:_0x1e96ae,rowView:_0x2e3d36,colView:_0x1cb403,dataView:_0xccf9be}=_0x32d6c4,_0x118148=ge(_0x10d8d2,_0xe43c70,!0x0),_0x219774=_0xe43c70[_0x54ee2f(0x3d4)]>=0x0?_0xe43c70[_0x54ee2f(0x3d4)]+0x1:0x0,_0x2f9ca6=_0x1e96ae[_0x54ee2f(0x29e)](),_0x5ba2bf=_0x1e96ae['getColCount'](),_0xcb6dad=_0x118148[_0x54ee2f(0x210)]>0x0?It:0x0,_0x5dee3c=ge({'row':_0x10d8d2[_0x54ee2f(0x338)]+_0x219774+_0xcb6dad,'col':_0x10d8d2[_0x54ee2f(0x3cc)]},_0x1e96ae,!0x1,!0x1),_0x4248e7=ge({'row':_0x10d8d2['row']+_0x219774+_0xcb6dad+_0x2f9ca6,'col':_0x10d8d2[_0x54ee2f(0x3cc)]},_0x2e3d36,!0x1,!0x0),_0x6a18e3=ge({'row':_0x10d8d2['row']+_0x219774+_0xcb6dad,'col':_0x10d8d2[_0x54ee2f(0x3cc)]+_0x5ba2bf},_0x1cb403,!0x1,!0x0),_0x4de6a3=ge({'row':_0x10d8d2[_0x54ee2f(0x338)]+_0x219774+_0xcb6dad+_0x2f9ca6,'col':_0x10d8d2[_0x54ee2f(0x3cc)]+_0x5ba2bf},_0xccf9be,!0x1,!0x1),_0x45d9a4={'rowRanges':_0x4248e7,'colRanges':_0x6a18e3,'cornerRanges':_0x5dee3c,'dataRanges':_0x4de6a3,'pageRanges':_0x118148};return{'matrix':xi(_0x32d6c4,_0x10d8d2,_0x1fa4a3),'rangesCache':_0x45d9a4};};var Vi=Object[_0x27d18f(0x381)],Ei=(_0x2130bc,_0x14ed88,_0x2a59d1,_0xb2ddf6)=>{const _0x2823ba=_0x27d18f;for(var _0x1c760b=_0xb2ddf6>0x1?void 0x0:_0xb2ddf6?Vi(_0x14ed88,_0x2a59d1):_0x14ed88,_0x1c66bb=_0x2130bc[_0x2823ba(0x210)]-0x1,_0x2f8f5c;_0x1c66bb>=0x0;_0x1c66bb--)(_0x2f8f5c=_0x2130bc[_0x1c66bb])&&(_0x1c760b=_0x2f8f5c(_0x1c760b)||_0x1c760b);return _0x1c760b;},nt=(_0x2e65f8,_0x230c77)=>(_0x360a63,_0x3cba3c)=>_0x230c77(_0x360a63,_0x3cba3c,_0x2e65f8);let q=class extends _0x592bfe{constructor(_0x3a31d5,_0x1f370f,_0x31d102,_0x515023,_0x43f263){const _0x1a15fc=_0x27d18f;super(),x(this,_0x1a15fc(0x1ef),new Map()),x(this,_0x1a15fc(0x37f),new Map()),x(this,_0x1a15fc(0x29d),new Map()),x(this,_0x1a15fc(0x2e4)),x(this,_0x1a15fc(0x2bf),new _0x3f9849()),x(this,'collectionChange$',this[_0x1a15fc(0x2bf)][_0x1a15fc(0x189)]()),x(this,'_viewData$',new _0x3f9849()),x(this,'viewData$',this[_0x1a15fc(0x3b0)]['asObservable']()),x(this,_0x1a15fc(0x324),new _0x3f9849()),x(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x1a15fc(0x189)]()),x(this,_0x1a15fc(0x254),new Map()),x(this,_0x1a15fc(0x340),[]),x(this,'_queryingMap',new Map()),(this['_injector']=_0x3a31d5,this[_0x1a15fc(0x21e)]=_0x1f370f,this[_0x1a15fc(0x293)]=_0x31d102,this[_0x1a15fc(0x3e8)]=_0x515023,this[_0x1a15fc(0x2b4)]=_0x43f263,this['_initSnapshot']());}[_0x27d18f(0x1fb)](){const _0x2d734d=_0x27d18f;return this[_0x2d734d(0x2e4)]?this[_0x2d734d(0x2e4)]:Mi;}[_0x27d18f(0x2dd)](_0x262dec){const _0x3795ea=_0x27d18f;this[_0x3795ea(0x2e4)]=_0x262dec;}[_0x27d18f(0x19c)](_0x369827){const _0x6db713=_0x27d18f;var _0x733fb2;const {from:_0x218ac6,to:_0x4d7a61,unitId:_0x60d04b,fromRange:_0x392e30,toRange:_0xc374f2}=_0x369827;if(_0x218ac6&&_0x4d7a61){const _0x42d752=this['getDataFieldManager'](_0x60d04b),_0x247b58=this['_model']['get'](_0x60d04b),_0x249ebd=(_0x733fb2=this[_0x6db713(0x21e)][_0x6db713(0x327)](_0x60d04b))==null?void 0x0:_0x733fb2[_0x6db713(0x2f6)](_0x4d7a61[_0x6db713(0x2f7)]);if(!_0x247b58||!_0x249ebd)return;const _0x1e0618=_0x249ebd==null?void 0x0:_0x249ebd[_0x6db713(0x2eb)]();for(const [_0x1cd8d3,_0x26c81c]of _0x247b58[_0x6db713(0x251)]())for(const [_0x4af6e7,_0x2f36a9]of _0x26c81c['entries']()){const {sourceRangeInfo:_0x103329}=_0x2f36a9;if(_0x103329[_0x6db713(0x1a1)]===_0x60d04b&&_0x103329[_0x6db713(0x2f7)]===_0x218ac6[_0x6db713(0x2f7)]&&_0x4986e5[_0x6db713(0x34a)](_0x392e30,_0x103329[_0x6db713(0x18f)])){const _0x470c13={'row':_0x103329[_0x6db713(0x18f)][_0x6db713(0x36b)]-_0x392e30[_0x6db713(0x36b)],'col':_0x103329['range'][_0x6db713(0x282)]-_0x392e30[_0x6db713(0x282)]},_0x13903a={'unitId':_0x60d04b,'subUnitId':_0x4d7a61[_0x6db713(0x2f7)],'sheetName':_0x1e0618,'range':{'startRow':_0xc374f2['startRow']+_0x470c13['row'],'endRow':_0xc374f2[_0x6db713(0x36b)]+_0x470c13[_0x6db713(0x338)]+_0x103329[_0x6db713(0x18f)][_0x6db713(0x380)]-_0x103329[_0x6db713(0x18f)][_0x6db713(0x36b)],'startColumn':_0xc374f2['startColumn']+_0x470c13[_0x6db713(0x3cc)],'endColumn':_0xc374f2[_0x6db713(0x282)]+_0x470c13[_0x6db713(0x3cc)]+_0x103329[_0x6db713(0x18f)][_0x6db713(0x26f)]-_0x103329[_0x6db713(0x18f)][_0x6db713(0x282)]}};_0x42d752[_0x6db713(0x19c)](_0x4af6e7,_0x13903a);const _0x312d24={..._0x2f36a9,'sourceRangeInfo':_0x13903a};this[_0x6db713(0x1b4)](_0x60d04b,_0x4d7a61[_0x6db713(0x2f7)],_0x4af6e7,_0x312d24),this[_0x6db713(0x198)]({'unitId':_0x60d04b,'token':_0x4af6e7,'type':Le[_0x6db713(0x313)],'oldSourceRangeInfo':_0x103329,'dataRangeInfo':_0x13903a,'targetCellInfo':_0x2f36a9[_0x6db713(0x38a)]}),this['updateConfig']({'unitId':_0x60d04b,'subUnitId':_0x4d7a61['subUnitId'],'oldSubUnitId':_0x1cd8d3,'pivotTableId':_0x4af6e7,'pivotTableConfig':_0x312d24,'collectionConfig':_0x42d752['toJSON']()});}}}}[_0x27d18f(0x198)](_0x1e90eb){const _0x3ce2dd=_0x27d18f;this[_0x3ce2dd(0x2bf)][_0x3ce2dd(0x34b)](_0x1e90eb);}['getDataFieldManager'](_0x160b63){const _0x4771b1=_0x27d18f;let _0x54bea6=this[_0x4771b1(0x254)]['get'](_0x160b63);return _0x54bea6||(_0x54bea6=new Di(this,this[_0x4771b1(0x21e)]),this[_0x4771b1(0x254)][_0x4771b1(0x28b)](_0x160b63,_0x54bea6)),_0x54bea6;}[_0x27d18f(0x39a)](_0x4248f8,_0x2e9b27){const _0x1aec84=_0x27d18f;return this[_0x1aec84(0x278)](_0x4248f8)['collections'][_0x2e9b27];}[_0x27d18f(0x337)](_0x18c0dc,_0x3f5553,_0x31569a){return this['getDataFieldManager'](_0x18c0dc)['getUpdateRangeDeleteIds'](_0x3f5553,_0x31569a);}[_0x27d18f(0x1fe)](_0x1cef6e,_0x31b400){const _0x3b5c43=_0x27d18f;let _0x267695=this[_0x3b5c43(0x1ef)]['get'](_0x1cef6e);_0x267695||(_0x267695=new Map(),this['_model'][_0x3b5c43(0x28b)](_0x1cef6e,_0x267695));let _0x5236d6=_0x267695['get'](_0x31b400);return _0x5236d6||(_0x5236d6=new Map(),_0x267695[_0x3b5c43(0x28b)](_0x31b400,_0x5236d6)),_0x5236d6;}['_updateModelCache'](_0x5360a1,_0x2bc413,_0x141c34,_0x4f981f){const _0x3a76b0=_0x27d18f;this[_0x3a76b0(0x1fe)](_0x5360a1,_0x2bc413)['set'](_0x141c34,_0x4f981f);}[_0x27d18f(0x25a)](_0xce3f0c,_0x51639c,_0x3f8202){const _0x24cd14=_0x27d18f;var _0x37ab29,_0x45a02e,_0x389330,_0x42203b;((_0x45a02e=(_0x37ab29=this[_0x24cd14(0x1ef)][_0x24cd14(0x206)](_0xce3f0c))==null?void 0x0:_0x37ab29['get'](_0x51639c))==null?void 0x0:_0x45a02e['get'](_0x3f8202))&&((_0x42203b=(_0x389330=this[_0x24cd14(0x1ef)][_0x24cd14(0x206)](_0xce3f0c))==null?void 0x0:_0x389330[_0x24cd14(0x206)](_0x51639c))==null||_0x42203b[_0x24cd14(0x3f8)](_0x3f8202));}[_0x27d18f(0x316)](_0xca8c82,_0x49011a){const _0x859b79=_0x27d18f;this['_pivotTableInstanceCache'][_0x859b79(0x28b)](_0xca8c82,_0x49011a);}[_0x27d18f(0x223)](_0x3710d5){const _0x2d16a6=_0x27d18f;this[_0x2d16a6(0x37f)][_0x2d16a6(0x3f8)](_0x3710d5);}['_ensureViewDataMap'](_0x350866,_0x33541d){const _0x24bdc1=_0x27d18f;let _0x5addca=this['_viewData'][_0x24bdc1(0x206)](_0x350866);_0x5addca||(_0x5addca=new Map(),this['_viewData'][_0x24bdc1(0x28b)](_0x350866,_0x5addca));let _0x4c3a5e=_0x5addca[_0x24bdc1(0x206)](_0x33541d);return _0x4c3a5e||(_0x4c3a5e=new Map(),_0x5addca[_0x24bdc1(0x28b)](_0x33541d,_0x4c3a5e)),_0x4c3a5e;}[_0x27d18f(0x3d2)](_0x48719b){const _0x341029=_0x27d18f,{unitId:_0xe5ea9d,subUnitId:_0x490f05,pivotTableId:_0x58f016,pivotTableConfig:_0x16dd92,collectionConfig:_0x383855}=_0x48719b,_0x1959f6={'unitId':_0xe5ea9d,'subUnitId':_0x490f05,'oldSubUnitId':_0x490f05,'pivotTableId':_0x58f016,'pivotTableConfig':_0x16dd92,'collectionConfig':_0x383855};this[_0x341029(0x3e8)][_0x341029(0x2b8)](co['id'],_0x1959f6,{'onlyLocal':!0x0});}[_0x27d18f(0x3b7)](_0x101b9d,_0x2f4d0e,_0x490e5a,_0x106d85,_0x18f4bd,_0x54dd8b,_0x972c4d,_0x2d81a6=!0x1){const _0x59888f=_0x27d18f;var _0x21a60d;this[_0x59888f(0x3e8)][_0x59888f(0x2b8)](Dt['id'],{'single':{'unitId':_0x101b9d,'subUnitId':_0x2f4d0e,'type':_0x490e5a,'pivotTableId':_0x106d85,'view':_0x18f4bd,'pivotConfig':_0x54dd8b},'collectionConfig':{[_0x101b9d]:_0x972c4d}},{'onlyLocal':!0x0});const _0x9f19c2=!!((_0x21a60d=this[_0x59888f(0x37c)](_0x106d85))!=null&&_0x21a60d[_0x59888f(0x334)]()),_0x3b9e78=this[_0x59888f(0x27c)](_0x101b9d,_0x2f4d0e,_0x106d85);_0x3b9e78&&this[_0x59888f(0x28d)]({'view':_0x18f4bd,'pivotTableId':_0x106d85,'textInfo':this[_0x59888f(0x1fb)](),'isEmpty':_0x9f19c2,'targetCellInfo':_0x3b9e78[_0x59888f(0x38a)]},_0x2d81a6);}[_0x27d18f(0x28d)](_0x3a492f,_0x2b026a){const _0x16732d=_0x27d18f,{targetCellInfo:_0x2152b0,pivotTableId:_0x4ba9e9}=_0x3a492f,{unitId:_0x334584,subUnitId:_0x4ef2d0}=_0x2152b0,_0x29d16b=this[_0x16732d(0x2d2)](_0x334584,_0x4ef2d0),_0x4d2d1f=_0x29d16b['get'](_0x4ba9e9);let _0x1e55d4,_0x5e83ac;_0x4d2d1f&&(_0x1e55d4=_0x4d2d1f[_0x16732d(0x248)],_0x5e83ac=_0x4d2d1f[_0x16732d(0x2e2)]);const {rangesCache:_0x25ee8f,matrix:_0xc74069}=Ui(_0x3a492f);_0x29d16b[_0x16732d(0x28b)](_0x4ba9e9,{'rangeCache':_0x25ee8f,'matrix':_0xc74069,'oldMatrix':_0x5e83ac,'oldRangeCache':_0x1e55d4}),_0x2b026a||this[_0x16732d(0x3b0)][_0x16732d(0x34b)]({'unitId':_0x334584,'subUnitId':_0x4ef2d0,'pivotTableId':_0x4ba9e9});}[_0x27d18f(0x35e)](_0x4c28f8,_0x50718f,_0x137c0b,_0x45b13a,_0x56f0c6){const _0x23c497=_0x27d18f;this[_0x23c497(0x1b4)](_0x4c28f8,_0x50718f,_0x137c0b,_0x56f0c6),this['_updatePivotTableInstanceCache'](_0x137c0b,_0x45b13a);}[_0x27d18f(0x1ea)](_0x24d3fe,_0x36b8eb,_0x18bf9d){const _0x4ab02b=_0x27d18f,_0x6efac4=this[_0x4ab02b(0x278)](_0x24d3fe);_0x6efac4['getNoUsedDataFieldIds'](_0x18bf9d)[_0x4ab02b(0x23b)](_0x3e6380=>{const _0x512187=_0x4ab02b;_0x6efac4[_0x512187(0x1e9)](_0x3e6380);}),this[_0x4ab02b(0x3dd)](_0x24d3fe,_0x18bf9d),this[_0x4ab02b(0x25a)](_0x24d3fe,_0x36b8eb,_0x18bf9d),this[_0x4ab02b(0x223)](_0x18bf9d);}['setPivotTable'](_0x2bf7e5,_0x21361d,_0x4042fc,_0x1e0f43){const _0x5c38b6=_0x27d18f;this[_0x5c38b6(0x1b4)](_0x2bf7e5,_0x21361d,_0x4042fc,_0x1e0f43);}[_0x27d18f(0x27c)](_0x5b1cca,_0x1aadf9,_0x4d8585){const _0x3a7287=_0x27d18f;var _0x274464,_0x2835e7;const _0x5ebe3c=(_0x2835e7=(_0x274464=this[_0x3a7287(0x1ef)][_0x3a7287(0x206)](_0x5b1cca))==null?void 0x0:_0x274464[_0x3a7287(0x206)](_0x1aadf9))==null?void 0x0:_0x2835e7[_0x3a7287(0x206)](_0x4d8585);if(_0x5ebe3c)return _0x5ebe3c;}['getPivotTableModelConfig'](_0x297a54,_0x1df315,_0x8cf2a0){const _0xf1e59a=_0x27d18f;var _0x1f3bc3,_0x3c502d;const _0x15eb28=(_0x3c502d=(_0x1f3bc3=this['_model'][_0xf1e59a(0x206)](_0x297a54))==null?void 0x0:_0x1f3bc3[_0xf1e59a(0x206)](_0x1df315))==null?void 0x0:_0x3c502d[_0xf1e59a(0x206)](_0x8cf2a0);if(_0x15eb28)return _0x15eb28['fieldsConfig'];}[_0x27d18f(0x37c)](_0x3c0857){const _0xa34691=_0x27d18f;return this[_0xa34691(0x37f)][_0xa34691(0x206)](_0x3c0857);}['deleteUnitId'](_0x3a18b7){const _0x11433b=_0x27d18f;this[_0x11433b(0x1ef)][_0x11433b(0x3f8)](_0x3a18b7);const _0x5c51eb=this[_0x11433b(0x254)][_0x11433b(0x206)](_0x3a18b7);_0x5c51eb&&(_0x5c51eb[_0x11433b(0x386)](),this[_0x11433b(0x254)][_0x11433b(0x3f8)](_0x3a18b7)),this['_viewData'][_0x11433b(0x3f8)](_0x3a18b7),this['needSameDeleteModel']['forEach'](_0x4ed8fb=>{const _0x3b9fa1=_0x11433b;_0x4ed8fb[_0x3b9fa1(0x28a)](_0x3a18b7);});}[_0x27d18f(0x284)](_0x17c082,_0x15b5fa,_0x47ac13,_0x39d6bc){const _0x2817fa=_0x27d18f;return this[_0x2817fa(0x278)](_0x47ac13[_0x2817fa(0x1a1)])['addCollectionByJSON'](_0x17c082,_0x15b5fa,_0x47ac13,_0x39d6bc);}['createCollectionWithDataRange'](_0x523749){const _0x26646a=_0x27d18f;return this[_0x26646a(0x278)](_0x523749[_0x26646a(0x1a1)])[_0x26646a(0x1e8)](_0x523749);}[_0x27d18f(0x2df)](_0x209bad,_0x36f6d5,_0x4d41b8){const _0x18d032=_0x27d18f;this[_0x18d032(0x278)](_0x4d41b8[_0x18d032(0x1a1)])[_0x18d032(0x2df)](_0x209bad,_0x36f6d5,_0x4d41b8);}[_0x27d18f(0x2a1)](_0x70fe20,_0x335b82){const _0x33d5dd=_0x27d18f;this[_0x33d5dd(0x278)](_0x70fe20)[_0x33d5dd(0x1e9)](_0x335b82);}[_0x27d18f(0x3dd)](_0xea212,_0x3843ca){this['getDataFieldManager'](_0xea212)['removeCollectionImp'](_0x3843ca);}[_0x27d18f(0x3ba)](_0x4840ca,_0x5d6535){const _0x2950ae=_0x27d18f;var _0x387e3b;return(_0x387e3b=this[_0x2950ae(0x1ef)]['get'](_0x4840ca))==null?void 0x0:_0x387e3b[_0x2950ae(0x206)](_0x5d6535);}[_0x27d18f(0x292)](_0x20d4b0){const _0x394a98=_0x27d18f;for(const [_0x3194b0,_0x360db0]of this[_0x394a98(0x1ef)]['entries']())for(const [_0x1ed7ec,_0x1451ce]of _0x360db0[_0x394a98(0x251)]())if(_0x1451ce[_0x394a98(0x1e6)](_0x20d4b0))return{'unitId':_0x3194b0,'subUnitId':_0x1ed7ec};return null;}['sideEffectUpdateWorkerCache'](_0x29697e,_0x45db65,_0x273767,_0x985574){const _0x1a55ec=_0x27d18f,_0x58dbc9=this[_0x1a55ec(0x2d2)](_0x29697e,_0x45db65);_0x985574?_0x58dbc9[_0x1a55ec(0x28b)](_0x273767,_0x985574):_0x58dbc9[_0x1a55ec(0x3f8)](_0x273767),this[_0x1a55ec(0x3b0)][_0x1a55ec(0x34b)]({'unitId':_0x29697e,'subUnitId':_0x45db65,'pivotTableId':_0x273767});}[_0x27d18f(0x386)](){const _0x9ce8d5=_0x27d18f;super[_0x9ce8d5(0x386)]();}['getViewData'](_0x2d5c8e,_0xf5fc9,_0x1b951f){const _0x30af36=_0x27d18f;var _0x481fd2,_0x4213ad;const _0x2a01ea=(_0x4213ad=(_0x481fd2=this[_0x30af36(0x29d)][_0x30af36(0x206)](_0x2d5c8e))==null?void 0x0:_0x481fd2[_0x30af36(0x206)](_0xf5fc9))==null?void 0x0:_0x4213ad['get'](_0x1b951f);return _0x2a01ea||null;}[_0x27d18f(0x188)](_0x528805){const _0x5dd1e9=_0x27d18f;this[_0x5dd1e9(0x351)](_0x528805);}[_0x27d18f(0x351)](_0x4d02a4){const _0x34a33e=_0x27d18f,{token:_0xc6790e,unitId:_0x733664,subUnitId:_0xdcdf4c}=_0x4d02a4,_0x3c31c8=_0x733664+'-'+_0xdcdf4c+'-'+_0xc6790e;this[_0x34a33e(0x25b)]['get'](_0x3c31c8)&&clearTimeout(this[_0x34a33e(0x25b)][_0x34a33e(0x206)](_0x3c31c8));const _0x3920a0=setTimeout(()=>{const _0x496350=_0x34a33e;this['queryDirtyPivotTable'](_0x4d02a4),this[_0x496350(0x25b)][_0x496350(0x3f8)](_0x3c31c8);},Pi);this[_0x34a33e(0x25b)][_0x34a33e(0x28b)](_0x3c31c8,_0x3920a0);}['queryDirtyPivotTable'](_0x4b46b8){const _0x52e60a=_0x27d18f,{unitId:_0x44e25a,subUnitId:_0x79d92f,token:_0x562ea8,type:_0x546687,pivotConfig:_0xa7815}=_0x4b46b8,_0x38bbbd=this[_0x52e60a(0x37c)](_0x562ea8),_0x2218f3=_0x38bbbd==null?void 0x0:_0x38bbbd[_0x52e60a(0x308)](),_0xa6c535=_0xa7815!=null?_0xa7815:this[_0x52e60a(0x27c)](_0x44e25a,_0x79d92f,_0x562ea8);_0xa6c535&&(_0xa6c535[_0x52e60a(0x334)]=!!(_0x38bbbd!=null&&_0x38bbbd['isEmpty']())),(_0x2218f3||_0x546687===B[_0x52e60a(0x1ff)])&&this[_0x52e60a(0x3b7)](_0x44e25a,_0x79d92f,_0x546687,_0x562ea8,_0x2218f3,_0xa6c535,this[_0x52e60a(0x278)](_0x44e25a)[_0x52e60a(0x1d7)]());}[_0x27d18f(0x1d7)](_0x3cceea){const _0x40c491=_0x27d18f,_0x4b4fbd={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3cceea)&&(_0x4b4fbd[_0x40c491(0x277)][_0x3cceea]=this[_0x40c491(0x278)](_0x3cceea)[_0x40c491(0x1d7)]()),this[_0x40c491(0x1ef)][_0x40c491(0x206)](_0x3cceea)){_0x4b4fbd[_0x40c491(0x2c3)][_0x3cceea]={};const _0x4fa130=this['_model'][_0x40c491(0x206)](_0x3cceea);_0x4fa130!=null&&_0x4fa130['size']&&[..._0x4fa130[_0x40c491(0x205)]()][_0x40c491(0x23b)](_0x339506=>{const _0x182ead=_0x40c491,_0xa3f7d6=_0x4fa130[_0x182ead(0x206)](_0x339506);_0xa3f7d6!=null&&_0xa3f7d6['size']&&(_0x4b4fbd[_0x182ead(0x2c3)][_0x3cceea][_0x339506]={},[..._0xa3f7d6[_0x182ead(0x205)]()][_0x182ead(0x23b)](_0x3a544b=>{const _0x5f32d6=_0x182ead,_0x2e5450=_0xa3f7d6[_0x5f32d6(0x206)](_0x3a544b);_0x2e5450&&(_0x4b4fbd[_0x5f32d6(0x2c3)][_0x3cceea][_0x339506][_0x3a544b]=_0x2e5450);}));});}return _0x4b4fbd;}[_0x27d18f(0x295)](_0x203d91){const _0x3f405c=_0x27d18f;var _0x42fa0b;const {dataFieldManagerConfig:_0x54e8c0,pivotTableConfigs:_0xb1fb04}=_0x203d91;_0x54e8c0&&Object['keys'](_0x54e8c0)[_0x3f405c(0x23b)](_0x3a7134=>{const _0x28bb10=_0x3f405c;this['getDataFieldManager'](_0x3a7134)[_0x28bb10(0x295)](_0x54e8c0[_0x3a7134]);});const _0x21f73e=[];if(_0xb1fb04){const _0x2680e1=(_0x42fa0b=this[_0x3f405c(0x21d)][_0x3f405c(0x206)](_0x27c3ed)[_0x3f405c(0x356)](_0x338279))!=null?_0x42fa0b:{},{ls:_0x3c3f63,pbk:_0x4d78e2}=_0x2680e1,_0x4ec189=go(so,_0x3c3f63,_0x4d78e2)[_0x3f405c(0x1a8)];Object['keys'](_0xb1fb04)[_0x3f405c(0x23b)](_0xac183a=>{const _0x1fbb94=_0x3f405c;let _0xdf094a=0x0;const _0x8a9782=_0xb1fb04[_0xac183a];Object['keys'](_0x8a9782)[_0x1fbb94(0x23b)](_0x35d0b2=>{const _0x4cd2ad=_0x1fbb94,_0x275890=_0x8a9782[_0x35d0b2];Object[_0x4cd2ad(0x205)](_0x275890)[_0x4cd2ad(0x23b)](_0x5a0089=>{const _0x154487=_0x4cd2ad,_0x547bb8=_0x275890[_0x5a0089];if(_0x547bb8){if(_0xdf094a>=_0x4ec189)return;_0xdf094a++;const _0x2dc167=this[_0x154487(0x278)](_0xac183a),_0x372c78=_0x2dc167[_0x154487(0x319)][_0x5a0089],_0xf030e2=_0x372c78['getFieldIds']();let _0x11360d=0x0;const _0x4d744a=[];for(const _0x217920 of _0xf030e2){const _0x195f31=_0x372c78['getFieldById'](_0x217920);if(_0x4d833a(_0x195f31)){const _0x2e1923=_0x195f31[_0x154487(0x1c1)](),_0x1494ca=_0x372c78['getFieldById'](_0x2e1923);_0x1494ca&&_0x4d744a[_0x154487(0x260)]([_0x195f31,_0x1494ca]);continue;}_0x2dc167[_0x154487(0x3a4)](_0x217920,_0x547bb8[_0x154487(0x3fc)],_0x11360d),_0x11360d++;}_0x4d744a[_0x154487(0x23b)](([_0x2b2e04,_0x307b08])=>{const _0x35d8d6=_0x154487;_0x2b2e04[_0x35d8d6(0x2ff)](_0x307b08);});const _0x19f299=new _0x536307(_0x372c78);_0x19f299[_0x154487(0x295)](_0x547bb8['fieldsConfig']),this[_0x154487(0x35e)](_0xac183a,_0x35d0b2,_0x5a0089,_0x19f299,_0x547bb8);const _0x2cc831=_0x19f299[_0x154487(0x308)]();_0x21f73e['push']({'unitId':_0xac183a,'subUnitId':_0x35d0b2,'pivotTableId':_0x5a0089,'view':_0x2cc831[_0x154487(0x1d7)](),'pivotConfig':_0x547bb8,'type':B['Add']});const _0x133b65=!!_0x19f299[_0x154487(0x334)](),_0x35b6d0={'view':_0x2cc831,'pivotTableId':_0x5a0089,'textInfo':this['getTextInfo'](),'isEmpty':_0x133b65,'targetCellInfo':_0x547bb8[_0x154487(0x38a)]};this['updateViewData'](_0x35b6d0,!0x1);}});});});}_0x54e8c0&&Object['keys'](_0x54e8c0)[_0x3f405c(0x23b)](_0x53986d=>{const _0x11477c=_0x3f405c,_0x1782bc=this[_0x11477c(0x278)](_0x53986d);this['_fieldsCollectionChange$'][_0x11477c(0x34b)](_0x1782bc[_0x11477c(0x319)]);}),this['_commandService'][_0x3f405c(0x2b8)](Dt['id'],{'batch':_0x21f73e,'collectionConfig':_0x54e8c0},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x537db5=_0x27d18f;this[_0x537db5(0x3ca)](this[_0x537db5(0x2b4)][_0x537db5(0x402)]({'toJson':_0x2929e4=>JSON[_0x537db5(0x3b9)](this[_0x537db5(0x1d7)](_0x2929e4)),'parseJson':_0x525a38=>{const _0x3ddfc7=_0x537db5;if(!_0x525a38)return{};try{return JSON[_0x3ddfc7(0x2c0)](_0x525a38);}catch{return{};}},'businesses':[_0x11ddec[_0x537db5(0x21f)]],'pluginName':ao,'onLoad':(_0x408c74,_0x24b200)=>{const _0x487f21=_0x537db5;this[_0x487f21(0x295)](_0x24b200);},'onUnLoad':_0x53b70b=>{const _0x176147=_0x537db5;this[_0x176147(0x28a)](_0x53b70b);}}));}};q=Ei([nt(0x0,_0x5611df(_0x318e93)),nt(0x1,_0x5d554d),nt(0x2,_0x5611df(_0x3ffb74)),nt(0x3,_0xeb5b23),nt(0x4,_0x5611df(_0x5a6138))],q);const Oi={0x0:{0x0:{'v':_0x27d18f(0x25e),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x27d18f(0x360),'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':_0x27d18f(0x338),'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':_}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Ho=(_0x2531f5,_0x1784d6)=>{const _0x3f6f7c=_0x27d18f,_0x3077f4=new _0x1356f1(),_0x5adaf0=new _0x1356f1(Oi),{row:_0x5f0af6,col:_0x94c45}=_0x1784d6;_0x5adaf0[_0x3f6f7c(0x288)]((_0x83f5cf,_0x467002,_0x1aa6fc)=>{const _0x4eb9a0=_0x3f6f7c;let _0x121fcf='';_0x1aa6fc['v']===_0x4eb9a0(0x25e)?_0x121fcf=_0x2531f5[_0x4eb9a0(0x25e)]:_0x1aa6fc['v']===_0x4eb9a0(0x338)?_0x121fcf=_0x2531f5[_0x4eb9a0(0x338)]:_0x1aa6fc['v']===_0x4eb9a0(0x360)?_0x121fcf=_0x2531f5['column']:_0x1aa6fc['v']===_0x4eb9a0(0x3be)&&(_0x121fcf=_0x2531f5[_0x4eb9a0(0x3be)]),_0x3077f4['setValue'](_0x83f5cf+_0x5f0af6,_0x467002+_0x94c45,{..._0x1aa6fc,'v':_0x121fcf});});const _0x4d54fc=_0x2dd55f[_0x3f6f7c(0x230)](Lt);return Object['keys'](Lt)['forEach'](_0x57ee1b=>{const _0x178e57=_0x3f6f7c;_0x4d54fc[_0x57ee1b]=Lt[_0x57ee1b][_0x178e57(0x2e3)](_0xae9116=>({..._0xae9116,'startRow':_0xae9116['startRow']+_0x5f0af6,'endRow':_0xae9116[_0x178e57(0x380)]+_0x5f0af6,'startColumn':_0xae9116[_0x178e57(0x282)]+_0x94c45,'endColumn':_0xae9116[_0x178e57(0x26f)]+_0x94c45}));}),{'matrixCache':_0x3077f4,'rangesCache':_0x4d54fc};};function Ai(_0x1e89a1,_0x4f49eb){const _0x3108d3=_0x27d18f;let _0x54d52d='';const _0x3258fa=this[_0x3108d3(0x1fb)]();switch(_0x4f49eb){case _0x39da75['average']:_0x54d52d=_0x3258fa[_0x3108d3(0x33b)]+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x1a8)]:_0x54d52d=_0x3258fa[_0x3108d3(0x30a)]+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x1a9)]:_0x54d52d=_0x3258fa[_0x3108d3(0x344)]+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x1db)]:_0x54d52d=_0x3258fa['sheets-pivot.maxName']+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x265)]:_0x54d52d=_0x3258fa[_0x3108d3(0x1a5)]+_0x1e89a1;break;case _0x39da75['product']:_0x54d52d=_0x3258fa[_0x3108d3(0x2da)]+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x314)]:_0x54d52d=_0x3258fa[_0x3108d3(0x2f3)]+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x1d2)]:_0x54d52d=_0x3258fa[_0x3108d3(0x333)]+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x328)]:_0x54d52d=_0x3258fa[_0x3108d3(0x3a9)]+_0x1e89a1;break;case _0x39da75['var']:_0x54d52d=_0x3258fa[_0x3108d3(0x2b2)]+_0x1e89a1;break;case _0x39da75[_0x3108d3(0x39d)]:_0x54d52d=_0x3258fa[_0x3108d3(0x3f9)]+_0x1e89a1;break;default:_0x54d52d=_0x1e89a1;break;}return _0x54d52d;}function Wi(_0x2d096c,_0x2b51a3,_0x26af6d,_0x104d2f,_0x222e7d){const _0x568aee=_0x27d18f;var _0x332048,_0x4153da,_0x39438c,_0x3efaa8,_0x576ad1;const _0x3148f8=_0x31147b(_0x2d096c,_0x2b51a3),{rangesInfo:_0x3ce193,areaInfo:_0x2af9af,headerMap:_0x1669b3}=_0x222e7d;if(!_0x3ce193||!_0x2af9af||!_0x1669b3)return;const _0x377ce7=Object[_0x568aee(0x205)](_0x3ce193)[_0x568aee(0x250)](_0x344ed4=>_0x3ce193[_0x344ed4][_0x568aee(0x281)](_0x4e45a2=>_0x4986e5['contains'](_0x4e45a2,_0x3148f8))),_0x182eb0=_0x2af9af;let _0x5ea9fb,_0x1b0250,_0x2a2b89;if(_0x377ce7===_0x568aee(0x329))_0x5ea9fb=(_0x332048=_0x182eb0==null?void 0x0:_0x182eb0['rowInfo'])==null?void 0x0:_0x332048[_0x2d096c],_0x1b0250=(_0x4153da=_0x1669b3==null?void 0x0:_0x1669b3['rowHeaderMap'])==null?void 0x0:_0x4153da[_0x2b51a3],_0x2a2b89=_0x1b0250==null?void 0x0:_0x1b0250['tableFieldId'];else{if(_0x377ce7===_0x568aee(0x19e))_0x5ea9fb=(_0x39438c=_0x182eb0==null?void 0x0:_0x182eb0[_0x568aee(0x214)])==null?void 0x0:_0x39438c[_0x2b51a3],_0x1b0250=(_0x3efaa8=_0x1669b3['colHeaderMap'])==null?void 0x0:_0x3efaa8[_0x2d096c+0x1+_0x2b51a3-_0x3ce193[_0x568aee(0x19e)][0x0][_0x568aee(0x282)]],_0x2a2b89=_0x1b0250==null?void 0x0:_0x1b0250['tableFieldId'];else{if(_0x377ce7===_0x568aee(0x249))_0x5ea9fb=(_0x576ad1=_0x182eb0==null?void 0x0:_0x182eb0[_0x568aee(0x1b2)])==null?void 0x0:_0x576ad1[_0x2b51a3],_0x2a2b89=_0x5ea9fb==null?void 0x0:_0x5ea9fb[_0x568aee(0x309)];else{if(_0x377ce7===_0x568aee(0x2f8)){const _0x2e36ff=_0x26af6d==null?void 0x0:_0x26af6d['fi'];_0x2e36ff!==void 0x0&&(_0x2a2b89=_0x104d2f[_0x568aee(0x1a3)](_0x2e36ff));}}}}return{'filterId':_0x2a2b89,'info':_0x5ea9fb,'data':_0x26af6d,'headerInfo':_0x1b0250};}function ki(_0x2767d4,_0x469410,_0x39271){const _0x194323=_0x27d18f,_0x5e3b99=_0x2767d4[_0x194323(0x3ff)],_0xed6178=_0x5e3b99[_0x194323(0x3e6)](),_0x54e9f2=new Set();_0x2767d4[_0x194323(0x1cf)](_0x16f260=>{const _0x335193=_0x194323;_0x54e9f2[_0x335193(0x2e1)](_0x16f260[_0x335193(0x1ed)]);});const _0x34afc6=_0xed6178[_0x194323(0x2e3)](_0x3d2810=>{const _0x452106=_0x194323,_0x250d50=_0x5e3b99[_0x452106(0x34e)](_0x3d2810);return{'checked':_0x54e9f2[_0x452106(0x1e6)](_0x3d2810),'dataFieldId':_0x250d50['id'],'id':_0x250d50['id'],'name':_0x5e3b99[_0x452106(0x26a)](_0x250d50['id']),'type':_0x250d50[_0x452106(0x31b)](),'pivotTableId':_0x469410};}),_0x2d3887=[];_0x2767d4[_0x194323(0x279)](_0x37b460[_0x194323(0x2e9)],_0x5b2570=>{const _0x34f938=_0x194323;_0x2d3887[_0x34f938(0x260)]({'dataFieldId':_0x5b2570[_0x34f938(0x1ed)],'tableFieldId':_0x5b2570['getId'](),'displayName':_0x5b2570[_0x34f938(0x26a)]()});});const _0x33edda=[];_0x2767d4['iterateFieldByArea'](_0x37b460[_0x194323(0x36c)],_0x539af6=>{const _0x9137f7=_0x194323;_0x33edda[_0x9137f7(0x260)]({'dataFieldId':_0x539af6['dataFieldId'],'tableFieldId':_0x539af6[_0x9137f7(0x300)](),'displayName':_0x539af6['getDisplayName']()});});const _0x14d2b7=[];if(_0x2767d4[_0x194323(0x279)](_0x37b460[_0x194323(0x240)],_0xc95faa=>{const _0x3cd120=_0x194323;_0x14d2b7[_0x3cd120(0x260)]({'dataFieldId':_0xc95faa['dataFieldId'],'tableFieldId':_0xc95faa['getId'](),'displayName':_0xc95faa[_0x3cd120(0x26a)](),'format':_0xc95faa[_0x3cd120(0x392)](),'subTotalType':_0xc95faa[_0x3cd120(0x191)]()});}),_0x14d2b7[_0x194323(0x210)]>0x1){const _0x462d85=_0x2767d4[_0x194323(0x3f1)]();(_0x2767d4[_0x194323(0x3b6)]()?_0x33edda:_0x2d3887)[_0x194323(0x3f6)](_0x462d85,0x0,{'dataFieldId':'','tableFieldId':_0x194323(0x1d8),'displayName':'ΣValue'});}const _0xe5cb8b=[];_0x2767d4['iterateFieldByArea'](_0x37b460[_0x194323(0x19d)],_0x3403c1=>{const _0x3055a4=_0x194323;_0xe5cb8b[_0x3055a4(0x260)]({'dataFieldId':_0x3403c1[_0x3055a4(0x1ed)],'tableFieldId':_0x3403c1['getId'](),'displayName':_0x3403c1[_0x3055a4(0x26a)]()});});const _0x31912d=_0x39271[_0x194323(0x3fc)];return{'sourceList':_0x34afc6,'sourceRange':_0x31912d,'rowFields':_0x2d3887,'columnFields':_0x33edda,'valueFields':_0x14d2b7,'filterFields':_0xe5cb8b,'positionInfo':_0x39271[_0x194323(0x38a)]};}function fo(_0x1b4f54,_0x216c7f,_0x27961b='',_0x16814c={}){const _0x378997=_0x27d18f,_0x440e46=_0x1b4f54[_0x378997(0x206)](_0x468b9c);for(const _0x4ac699 in _0x216c7f)if(Object[_0x378997(0x2d9)][_0x378997(0x2a7)][_0x378997(0x2ef)](_0x216c7f,_0x4ac699)){const _0xe64131=_0x27961b?_0x27961b+'.'+_0x4ac699:_0x4ac699;typeof _0x216c7f[_0x4ac699]==_0x378997(0x1df)&&_0x216c7f[_0x4ac699]!==null&&!Array['isArray'](_0x216c7f[_0x4ac699])?fo(_0x1b4f54,_0x216c7f[_0x4ac699],_0xe64131,_0x16814c):_0x16814c[_0xe64131]=_0x440e46['t'](_0xe64131);}return _0x16814c;}const Bt=_0x4c0c69=>{const _0x483fec=_0x27d18f;if(!_0x4c0c69)return[];const {rowRanges:_0x599854,colRanges:_0x41659d,cornerRanges:_0x29571d,dataRanges:_0x5306d8,pageRanges:_0x5c1259}=_0x4c0c69,_0x37517d=[..._0x41659d,..._0x599854,..._0x5306d8,..._0x29571d][_0x483fec(0x25e)](_0x365562=>_0x365562['startRow']>=0x0&&_0x365562[_0x483fec(0x282)]>=0x0&&_0x365562[_0x483fec(0x380)]>=0x0&&_0x365562[_0x483fec(0x26f)]>=0x0);let _0x5805c0=Number[_0x483fec(0x1bc)],_0x2ef9fa=Number[_0x483fec(0x269)],_0x2a0c58=Number['MAX_SAFE_INTEGER'],_0x3bf4f6=Number[_0x483fec(0x269)];for(let _0x3d3097=0x0;_0x3d3097<_0x37517d['length'];_0x3d3097++)_0x5805c0=Math['min'](_0x5805c0,_0x37517d[_0x3d3097][_0x483fec(0x36b)]),_0x2ef9fa=Math[_0x483fec(0x1db)](_0x2ef9fa,_0x37517d[_0x3d3097][_0x483fec(0x380)]),_0x2a0c58=Math['min'](_0x2a0c58,_0x37517d[_0x3d3097][_0x483fec(0x282)]),_0x3bf4f6=Math[_0x483fec(0x1db)](_0x3bf4f6,_0x37517d[_0x3d3097][_0x483fec(0x26f)]);return[..._0x5c1259,{'startRow':_0x5805c0,'endRow':_0x2ef9fa,'startColumn':_0x2a0c58,'endColumn':_0x3bf4f6}];};function Li(_0x525e41,_0x5b8d51){const _0x3545bb=_0x27d18f,_0x5306f4=_0x5b8d51[_0x3545bb(0x3f4)][_0x3545bb(0x395)],{pivotTableId:_0x3fac36,unitId:_0x7ccc5c,subUnitId:_0x294026}=_0x5b8d51;if(!_0x5306f4)return;const _0x3496f0=_0x525e41[_0x3545bb(0x206)](q),_0x4d3d81=_0x3496f0['getPivotTableInstance'](_0x3fac36),_0x3ae3a2=_0x3496f0['getPivotTableConfig'](_0x7ccc5c,_0x294026,_0x3fac36);if(!_0x4d3d81||!_0x3ae3a2)return;const _0x19d3ea=_0x4d3d81[_0x3545bb(0x404)](_0x5306f4[_0x3545bb(0x1ce)]);if(!(_0x19d3ea!=null&&_0x19d3ea[_0x3545bb(0x210)]))return;const _0x254309=_0x3ae3a2[_0x3545bb(0x3fc)],{unitId:_0x4da3ee,subUnitId:_0x4d52df,range:_0x283ec0}=_0x254309;let _0x211a3f=0x0;const _0x4900e7=_0x4d3d81[_0x3545bb(0x3ff)][_0x3545bb(0x3e6)]()[_0x3545bb(0x399)]((_0x1b52ef,_0x48cdca)=>{const _0x4f43cf=_0x3545bb;var _0x37cf8e;const _0x2c393a=(_0x37cf8e=_0x4d3d81[_0x4f43cf(0x403)](_0x48cdca))==null?void 0x0:_0x37cf8e['getformat']();return _0x2c393a&&(_0x1b52ef[String(_0x211a3f)]=_0x2c393a),_0x211a3f++,_0x1b52ef;},{});return{'indexes':_0x19d3ea,'range':_0x283ec0,'sourceUnitId':_0x4da3ee,'sourceSubUnitId':_0x4d52df,'formatMap':_0x4900e7};}function Go(_0x49939e,_0xa1746c){const _0x3c8faf=_0x27d18f;if(!_0x49939e||!_0xa1746c)return!0x0;const _0x3ea186=_0x1bb5dc(Jo,$o),_0x4ebfcd=new Function(_0x3c8faf(0x253)+_0x3ea186)()(_0x49939e,_0xa1746c)['message'],_0x5581bc=_0xcba625(_0x4ebfcd,'sf',Wo);return!((_0x4ebfcd==null?void 0x0:_0x4ebfcd['rt'])===_0x106547['NO_COMMERCIAL']&&!_0x5581bc);}function go(_0x82dc04,_0x6f845,_0x5a2b72){const _0x59fd07=_0x27d18f,_0x2ce002={'count':_0x82dc04,'timeValid':!0x1};if(!_0x6f845||!_0x5a2b72)return _0x2ce002;const _0x413fa2=_0x1bb5dc(Jo,$o),_0x384bf4=new Function(_0x59fd07(0x253)+_0x413fa2)()(_0x6f845,_0x5a2b72);if(_0x384bf4!=null&&_0x384bf4[_0x59fd07(0x3d0)]){const _0x1188b0=_0x384bf4[_0x59fd07(0x199)],_0x67e2b1=_0xcba625(_0x1188b0,'sf',Wo);return{'count':_0x55907b(_0x1188b0,_0x67e2b1,_0x59fd07(0x387),_0x82dc04,_0x82dc04,0x0),'timeValid':_0x67e2b1};}return _0x2ce002;}function jo(_0x14ab20,_0x325536,_0x1529a2,_0x2a4367){const _0x1e6c3b=_0x27d18f,_0x481b75={'subUnitId':_0x1529a2,'unitId':_0x325536,'cellValue':_0x1fbb7c(_0x2a4367)},_0x18a313=_0x57d90e(_0x14ab20,_0x481b75);let _0x3402b1=!0x1;return new _0x1356f1(_0x18a313[_0x1e6c3b(0x341)])['forValue']((_0x27ae3a,_0x97cbf4,_0x46b3a0)=>{const _0x122a6d=_0x1e6c3b;if(!_0x3402b1&&_0x46b3a0&&(_0x46b3a0[_0x122a6d(0x311)]||_0x46b3a0['f']||_0x46b3a0['p']||_0x46b3a0['s']||_0x46b3a0['si']||_0x46b3a0['t']||_0x46b3a0['v']))return _0x3402b1=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x4bf3dd['id'],'params':_0x18a313},'setRangeValueRedoMutation':{'id':_0x4bf3dd['id'],'params':_0x481b75},'shouldClear':_0x3402b1};}function Bi(_0x50b5aa){const {row:_0x34389f,col:_0x5198a3}=_0x50b5aa,_0x3430a3={'startRow':_0x34389f,'endRow':_0x34389f,'startColumn':_0x5198a3,'endColumn':_0x5198a3},_0xca0913={'startRow':_0x34389f+0x2,'endRow':_0x34389f+0xe,'startColumn':_0x5198a3,'endColumn':_0x5198a3+0x6};return[_0x3430a3,_0xca0913];}function qi(_0x5f5996,_0x4a52ae,_0x13530f){const _0xd8342c=_0x27d18f,{cornerView:_0x284015,rowView:_0x340875,colView:_0x53b9ba,pageView:_0x583d9b}=_0x5f5996,{row:_0x282c11,col:_0x1da0ad}=_0x4a52ae;if(_0x13530f)return{'rowCount':bi+_0x282c11,'colCount':Si+_0x1da0ad};const _0x3b3b0e=_0x583d9b['lastRow']>-0x1?_0x583d9b[_0xd8342c(0x3d4)]+0x1:0x0,_0x51e42a=_0x583d9b[_0xd8342c(0x31d)]>-0x1?_0x583d9b[_0xd8342c(0x31d)]:0x0,_0x12510f=_0x282c11+_0x3b3b0e+(_0x3b3b0e?0x1:0x0)+_0x284015[_0xd8342c(0x2fb)]+_0x340875[_0xd8342c(0x2fb)],_0x2adddb=_0x1da0ad+_0x51e42a,_0x274462=_0x1da0ad+_0x284015['colCount']+_0x53b9ba['colCount'],_0x215641=Math['max'](_0x2adddb,_0x274462);return{'rowCount':_0x12510f,'colCount':_0x215641};}function we(_0x518cda,_0x55ef24,_0x5f3c43,_0x2b8d7c){const _0x5e6e64=_0x27d18f,{row:_0x17037a,col:_0x481f77,unitId:_0x16b861,subUnitId:_0x1e4208}=_0x5f3c43,_0x12917f=qi(_0x55ef24,{'row':_0x17037a,'col':_0x481f77},_0x2b8d7c),_0x40f1bb=_0x518cda[_0x5e6e64(0x206)](_0x5d554d),_0x4f5c1b=_0x19f73c(_0x40f1bb,{'unitId':_0x16b861,'subUnitId':_0x1e4208}),_0x553528=[],_0x2b273b=[];if(!_0x4f5c1b)return{'undos':_0x2b273b,'redos':_0x553528};const {worksheet:_0x498598}=_0x4f5c1b,_0x18140e=_0x498598['getRowCount'](),_0x190c5e=_0x498598['getColumnCount']();return _0x18140e<_0x12917f[_0x5e6e64(0x2fb)]&&(_0x553528['push']({'id':_0x5bf518['id'],'params':{'unitId':_0x16b861,'subUnitId':_0x1e4208,'range':{'startRow':_0x18140e,'endRow':_0x12917f[_0x5e6e64(0x2fb)]-0x1,'startColumn':0x0,'endColumn':_0x190c5e-0x1}}}),_0x2b273b[_0x5e6e64(0x260)]({'id':_0x800277['id'],'params':{'unitId':_0x16b861,'subUnitId':_0x1e4208,'range':{'startRow':_0x18140e,'endRow':_0x12917f[_0x5e6e64(0x2fb)]-0x1,'startColumn':0x0,'endColumn':_0x190c5e-0x1}}})),_0x190c5e<_0x12917f[_0x5e6e64(0x3a2)]&&(_0x553528[_0x5e6e64(0x260)]({'id':_0x2eafb6['id'],'params':{'unitId':_0x16b861,'subUnitId':_0x1e4208,'range':{'startRow':0x0,'endRow':_0x18140e-0x1,'startColumn':_0x190c5e,'endColumn':_0x12917f[_0x5e6e64(0x3a2)]-0x1}}}),_0x2b273b[_0x5e6e64(0x260)]({'id':_0x1ab382['id'],'params':{'unitId':_0x16b861,'subUnitId':_0x1e4208,'range':{'startRow':0x0,'endRow':_0x18140e-0x1,'startColumn':_0x190c5e,'endColumn':_0x12917f[_0x5e6e64(0x3a2)]-0x1}}})),{'undos':_0x2b273b,'redos':_0x553528};}function $i(_0x1c8f55){const _0x250ace=_0x27d18f;let _0x6ad60a=0x0;for(let _0xf351e1=0x0;_0xf351e1<_0x1c8f55[_0x250ace(0x210)];_0xf351e1++){const _0x579fdf=_0x1c8f55['charCodeAt'](_0xf351e1);_0x579fdf>=0x4e00&&_0x579fdf<=0x9fff||_0x579fdf>=0x3000&&_0x579fdf<=0x303f||_0x579fdf>=0xff00&&_0x579fdf<=0xffef?_0x6ad60a+=0x2:_0x6ad60a+=0x1;}return _0x6ad60a;}function To(_0x255986,_0x3e1408,_0x3581e8,_0x194e34){const _0x5fa046=_0x27d18f;var _0x40a454,_0x310b6e,_0xe3023d,_0x5c1d9c;const {rowCount:_0x106528,colCount:_0x4c5067,headerMap:_0x4448f1}=_0x255986,_0x58a01f=0x64,_0x2abf7d=Math['min'](_0x106528,_0x58a01f),_0xabdb67=Math[_0x5fa046(0x265)](_0x4c5067,_0x58a01f);let _0x44d767='',_0x127e20=0x0;for(let _0x176caf=0x0;_0x176caf<_0x2abf7d;_0x176caf++)for(let _0x2b2023=0x0;_0x2b2023<_0xabdb67;_0x2b2023++){const _0x1e629b={...(_0x310b6e=(_0x40a454=_0x255986[_0x5fa046(0x32d)])==null?void 0x0:_0x40a454[_0x176caf])==null?void 0x0:_0x310b6e[_0x2b2023]},_0x15e439=(_0xe3023d=_0x4448f1[_0x176caf])==null?void 0x0:_0xe3023d[_0x5fa046(0x309)],_0x57bb0c=_0x194e34[_0x15e439];let _0x2de8f5=_0x255986[_0x5fa046(0x3f7)](_0x176caf,_0x2b2023);if(_0x1e629b){const _0x5169af=_0x3581e8?_0x2b2023===0x0&&((_0x5c1d9c=_0x255986[_0x5fa046(0x302)](_0x2b2023+0x1))==null?void 0x0:_0x5c1d9c['isValue']):!0x1;_0x2de8f5=ht(_0x1e629b,_0x5169af,_0x57bb0c,_0x3e1408);}if(_0x2de8f5!==void 0x0){const _0x73f1f6=$i(String(_0x2de8f5));_0x127e20<_0x73f1f6&&(_0x44d767=String(_0x2de8f5),_0x127e20=_0x73f1f6);}}return _0x44d767;}function Ji(_0x3d7d71){const _0x58cd81=_0x27d18f,{rowCount:_0x4dfcbe,colCount:_0x20d6fb}=_0x3d7d71;let _0x310fc3='',_0x53ca04=0x0;for(let _0x3c6c13=_0x4dfcbe-0x1;_0x3c6c13>0x0&&_0x3c6c13>_0x4dfcbe-0x3;_0x3c6c13--)for(let _0x2b3e32=0x0;_0x2b3e32<_0x20d6fb;_0x2b3e32++){const _0xff1d89=_0x3d7d71[_0x58cd81(0x3f7)](_0x3c6c13,_0x2b3e32);if(_0xff1d89!==void 0x0){const _0x264389=String(_0xff1d89)[_0x58cd81(0x210)];_0x53ca04<_0x264389&&(_0x310fc3=String(_0xff1d89),_0x53ca04=_0x264389);}}return _0x310fc3;}function Hi(_0x36d5f1){const _0x2a6c4b=_0x27d18f,{rowCount:_0x59b80d,colCount:_0x19cd94}=_0x36d5f1;let _0x497474='',_0x47e9d1=0x0;for(let _0x43692c=0x0;_0x43692c<_0x59b80d;_0x43692c++)for(let _0x418135=0x0;_0x418135<_0x19cd94;_0x418135++){const _0x2aa17a=_0x36d5f1['getValue'](_0x43692c,_0x418135);if(_0x2aa17a!==void 0x0){const _0x5d7499=String(_0x2aa17a)[_0x2a6c4b(0x210)];_0x47e9d1<_0x5d7499&&(_0x497474=String(_0x2aa17a),_0x47e9d1=_0x5d7499);}}return _0x497474;}function Gi(_0x5e0885,_0x22cf50){const _0x181d27=_0x27d18f,{rowFields:_0xda03cf,columnFields:_0x113ee7,valueFields:_0xe8253f,filterFields:_0x3b0c7c,dimension:_0x51d656,measure:_0x49f2b2}=_0x22cf50;for(const _0x3049a5 of _0xda03cf){const _0x390d55=_0x51d656[_0x3049a5];_0x390d55&&_0x5e0885[_0x181d27(0x403)](_0x390d55[_0x181d27(0x1ed)])&&(_0x5e0885[_0x181d27(0x303)](_0x390d55['dataFieldId'],_0x37b460['Row'],void 0x0,_0x3049a5),_0x390d55[_0x181d27(0x3ab)]&&_0x5e0885[_0x181d27(0x1e3)](_0x390d55['id'],_0x390d55[_0x181d27(0x3ab)]),_0x390d55[_0x181d27(0x2a8)]&&_0x5e0885[_0x181d27(0x32e)](_0x390d55['id'],_0x390d55['sortInfo']),_0x390d55[_0x181d27(0x354)]&&_0x5e0885['setLabelFilterInfo'](_0x390d55['id'],_0x390d55[_0x181d27(0x354)]));}for(const _0x458244 of _0x113ee7){const _0x3ef1fd=_0x51d656[_0x458244];_0x3ef1fd&&_0x5e0885[_0x181d27(0x403)](_0x3ef1fd[_0x181d27(0x1ed)])&&(_0x5e0885[_0x181d27(0x303)](_0x3ef1fd['dataFieldId'],_0x37b460['Column'],void 0x0,_0x458244),_0x3ef1fd[_0x181d27(0x2a8)]&&_0x5e0885[_0x181d27(0x32e)](_0x3ef1fd['id'],_0x3ef1fd[_0x181d27(0x2a8)]),_0x3ef1fd['filterInfo']&&_0x5e0885[_0x181d27(0x3b4)](_0x3ef1fd['id'],_0x3ef1fd[_0x181d27(0x354)]),_0x3ef1fd[_0x181d27(0x3ab)]&&_0x5e0885[_0x181d27(0x1e3)](_0x3ef1fd['id'],_0x3ef1fd[_0x181d27(0x3ab)]));}for(const _0x8ee32c of _0x3b0c7c){const _0x1750d2=_0x51d656[_0x8ee32c];_0x1750d2&&_0x5e0885['getDataFieldByDataFieldId'](_0x1750d2[_0x181d27(0x1ed)])&&(_0x5e0885[_0x181d27(0x303)](_0x1750d2[_0x181d27(0x1ed)],_0x37b460['Filter'],void 0x0,_0x8ee32c),_0x1750d2['sortInfo']&&_0x5e0885[_0x181d27(0x32e)](_0x1750d2['id'],_0x1750d2[_0x181d27(0x2a8)]),_0x1750d2['filterInfo']&&_0x5e0885[_0x181d27(0x3b4)](_0x1750d2['id'],_0x1750d2['filterInfo']),_0x1750d2[_0x181d27(0x3ab)]&&_0x5e0885[_0x181d27(0x1e3)](_0x1750d2['id'],_0x1750d2[_0x181d27(0x3ab)]));}for(const _0x4d8b53 of _0xe8253f){const _0x26fcb7=_0x49f2b2[_0x4d8b53];_0x26fcb7&&_0x5e0885['getDataFieldByDataFieldId'](_0x26fcb7[_0x181d27(0x1ed)])&&(_0x5e0885[_0x181d27(0x303)](_0x26fcb7[_0x181d27(0x1ed)],_0x37b460[_0x181d27(0x240)],void 0x0,_0x4d8b53),_0x26fcb7[_0x181d27(0x218)]!==void 0x0&&_0x5e0885[_0x181d27(0x237)](_0x4d8b53,_0x26fcb7[_0x181d27(0x218)]),_0x26fcb7[_0x181d27(0x185)]&&_0x5e0885[_0x181d27(0x2ac)](_0x4d8b53,_0x26fcb7[_0x181d27(0x185)]),_0x26fcb7[_0x181d27(0x3ab)]&&_0x5e0885['renameField'](_0x26fcb7['id'],_0x26fcb7[_0x181d27(0x3ab)]));}const _0x1346fe=_0x22cf50[_0x181d27(0x2b9)];for(const {fieldId:_0x44f277,filterInfo:_0x45422f}of _0x1346fe)_0x5e0885[_0x181d27(0x27d)](_0x44f277,_0x45422f);}function ji(_0x2f89a0,_0x16178d){const _0x264fd3=_0x27d18f,_0x937d0b=[];_0x16178d===_0x37b460['Row']&&_0x2f89a0['iterateFieldByArea'](_0x37b460[_0x264fd3(0x2e9)],_0x15c56a=>{const _0x6974af=_0x264fd3;_0x937d0b[_0x6974af(0x260)](_0x15c56a[_0x6974af(0x300)]());}),_0x16178d===_0x37b460[_0x264fd3(0x36c)]&&_0x2f89a0['iterateFieldByArea'](_0x37b460['Column'],_0xbd8517=>{const _0x59275e=_0x264fd3;_0x937d0b['push'](_0xbd8517[_0x59275e(0x300)]());}),_0x16178d===_0x37b460[_0x264fd3(0x19d)]&&_0x2f89a0['iterateFieldByArea'](_0x37b460[_0x264fd3(0x19d)],_0x16b6df=>{_0x937d0b['push'](_0x16b6df['getId']());}),_0x16178d===_0x37b460['Value']&&_0x2f89a0[_0x264fd3(0x279)](_0x37b460['Value'],_0x1eea53=>{const _0x379db9=_0x264fd3;_0x937d0b[_0x379db9(0x260)](_0x1eea53[_0x379db9(0x300)]());}),_0x16178d===void 0x0&&_0x2f89a0[_0x264fd3(0x1cf)](_0x176054=>{const _0xe78576=_0x264fd3;_0x937d0b[_0xe78576(0x260)](_0x176054[_0xe78576(0x300)]());});const _0x32c982=_0x937d0b['length'];for(let _0x33fef6=_0x32c982-0x1;_0x33fef6>=0x0;_0x33fef6--)_0x2f89a0[_0x264fd3(0x2cd)](_0x937d0b[_0x33fef6]);const _0xd65ceb=_0x2f89a0[_0x264fd3(0x3d5)]();for(const _0x5c1f55 in _0xd65ceb)_0x2f89a0[_0x264fd3(0x406)](_0x5c1f55);}function Ki(_0x2aea7c,_0x35b7a5){const _0x4e683b=_0x27d18f,_0x99f8e5=new Date(_0x4bb8b0(_0x35b7a5)),_0x271439=new Date(_0x4bb8b0(_0x2aea7c)),_0x5d8b60=_0x99f8e5[_0x4e683b(0x2a5)](),_0x166f77=_0x271439[_0x4e683b(0x2a5)](),_0xee8f15=_0x99f8e5[_0x4e683b(0x388)](),_0x2f80ab=_0x271439['getMonth'](),_0x446bf0=_0x99f8e5['getDate'](),_0x7562a3=_0x271439['getDate'](),_0x1a831a=_0x5d8b60===_0x166f77,_0x4f9167=_0x1a831a&&_0xee8f15===_0x2f80ab;return _0x1a831a&&_0x4f9167&&!(_0x4f9167&&_0x446bf0===_0x7562a3)?_0x3c6468[_0x4e683b(0x382)]:_0x1a831a&&!_0x4f9167?_0x3c6468[_0x4e683b(0x19b)]:_0x3c6468[_0x4e683b(0x2f9)];}function Ko(_0xd620ea,_0x399ea7){const _0x4427b0=_0x27d18f,_0x3d4343=_0xd620ea[_0x4427b0(0x206)](q)[_0x4427b0(0x1fb)]();let _0x34905='';switch(_0x399ea7){case _0x3c6468[_0x4427b0(0x382)]:_0x34905=_0x3d4343[_0x4427b0(0x2ca)];break;case _0x3c6468['YearMonth']:_0x34905=_0x3d4343[_0x4427b0(0x30f)];break;case _0x3c6468[_0x4427b0(0x2f9)]:_0x34905=_0x3d4343['sheets-pivot.dateGroup.year'];break;case _0x3c6468[_0x4427b0(0x33f)]:_0x34905=_0x3d4343['sheets-pivot.dateGroup.month'];break;case _0x3c6468[_0x4427b0(0x1f6)]:_0x34905=_0x3d4343[_0x4427b0(0x2a3)];break;case _0x3c6468[_0x4427b0(0x285)]:_0x34905=_0x3d4343[_0x4427b0(0x299)];break;case _0x3c6468[_0x4427b0(0x2a0)]:_0x34905=_0x3d4343[_0x4427b0(0x192)];break;case _0x3c6468[_0x4427b0(0x184)]:_0x34905=_0x3d4343[_0x4427b0(0x30e)];break;case _0x3c6468[_0x4427b0(0x257)]:_0x34905=_0x3d4343[_0x4427b0(0x22e)];break;case _0x3c6468[_0x4427b0(0x1bf)]:_0x34905=_0x3d4343[_0x4427b0(0x36a)];break;case _0x3c6468[_0x4427b0(0x343)]:_0x34905=_0x3d4343[_0x4427b0(0x195)];break;default:_0x34905='';break;}return _0x34905;}const Yo=_0x27d18f(0x255),yo={};var Yi=Object[_0x27d18f(0x381)],zi=(_0xa1d1a9,_0x10c29f,_0x5e4922,_0x206333)=>{const _0x5c7c6f=_0x27d18f;for(var _0x4ebd4b=_0x206333>0x1?void 0x0:_0x206333?Yi(_0x10c29f,_0x5e4922):_0x10c29f,_0x3e7b27=_0xa1d1a9[_0x5c7c6f(0x210)]-0x1,_0x3e6e23;_0x3e7b27>=0x0;_0x3e7b27--)(_0x3e6e23=_0xa1d1a9[_0x3e7b27])&&(_0x4ebd4b=_0x3e6e23(_0x4ebd4b)||_0x4ebd4b);return _0x4ebd4b;},it=(_0x58fa9a,_0x14b326)=>(_0x14d7be,_0x2594f6)=>_0x14b326(_0x14d7be,_0x2594f6,_0x58fa9a);let he=class extends _0x592bfe{constructor(_0x311c09,_0x4d7d81,_0x309ed8,_0x6c9f91,_0x22a92b){const _0x26f128=_0x27d18f;super(),x(this,_0x26f128(0x1ef),new Map()),x(this,_0x26f128(0x2dc),new Map()),x(this,_0x26f128(0x2b3),new Map()),x(this,_0x26f128(0x400),new Map()),x(this,_0x26f128(0x35a),new _0x3f9849()),x(this,_0x26f128(0x3a7),new _0x3f9849()),x(this,_0x26f128(0x3fd),this[_0x26f128(0x3a7)][_0x26f128(0x189)]()),x(this,_0x26f128(0x3c1),new _0x3f9849()),x(this,_0x26f128(0x1fd),this[_0x26f128(0x3c1)]['asObservable']()),x(this,_0x26f128(0x2e4),{}),x(this,'configVersion$',this[_0x26f128(0x35a)][_0x26f128(0x189)]()),(this[_0x26f128(0x21d)]=_0x311c09,this[_0x26f128(0x3e8)]=_0x4d7d81,this[_0x26f128(0x21e)]=_0x309ed8,this[_0x26f128(0x2b4)]=_0x6c9f91,this[_0x26f128(0x3f0)]=_0x22a92b,this['_initLocale'](),this[_0x26f128(0x1cb)]());const _0x4dc5bd=this[_0x26f128(0x3f0)][_0x26f128(0x356)](Yo);(_0x4dc5bd==null?void 0x0:_0x4dc5bd['notExecuteFormula'])===!0x0&&this[_0x26f128(0x291)]();}[_0x27d18f(0x1cb)](){const _0x13ce98=_0x27d18f;this[_0x13ce98(0x3ca)](this[_0x13ce98(0x21e)][_0x13ce98(0x3a6)](_0x11ddec[_0x13ce98(0x21f)])[_0x13ce98(0x226)](_0x514a6d=>{const _0x30e7bc=_0x13ce98;this[_0x30e7bc(0x28a)](_0x514a6d['getUnitId']());}));}[_0x27d18f(0x1fa)](){const _0x1fe298=_0x27d18f;this[_0x1fe298(0x3a7)][_0x1fe298(0x34b)](!0x0);}['_initLocale'](){const _0x507fbd=_0x27d18f,_0x134b03=fo(this[_0x507fbd(0x21d)],Lo,'',{});this[_0x507fbd(0x2e4)]=_0x134b03,this[_0x507fbd(0x3e8)][_0x507fbd(0x2b8)](uo['id'],{'textInfo':_0x134b03},{'onlyLocal':!0x0});}[_0x27d18f(0x1fb)](){const _0x29a449=_0x27d18f;return this[_0x29a449(0x2e4)];}[_0x27d18f(0x29c)](_0x77cac2,_0x541984,_0x1c49c5,_0x52cb09,_0xc2878){this['updatePivotTableMatrixInfo'](_0x77cac2,_0x541984,_0x1c49c5,_0x52cb09),this['updatePivotTableRangeInfo'](_0x77cac2,_0x541984,_0x1c49c5,_0xc2878);}['getPivotTableConfig'](_0x23365a,_0x21816e,_0x3aafbc){const _0x31abb3=_0x27d18f;var _0x267855;const _0x3b45cc=(_0x267855=this[_0x31abb3(0x1ef)][_0x31abb3(0x206)](_0x23365a))==null?void 0x0:_0x267855['get'](_0x21816e);if(_0x3b45cc)return _0x3b45cc[_0x31abb3(0x206)](_0x3aafbc);}[_0x27d18f(0x321)](_0x4601f4,_0x23f34d){const _0x372a9a=_0x27d18f,_0x5d9a3f=this[_0x372a9a(0x1ef)][_0x372a9a(0x206)](_0x4601f4);if(_0x5d9a3f){for(const [_0x158977,_0x209ed8]of _0x5d9a3f[_0x372a9a(0x251)]())for(const [_0x43b4e1,_0x9ea01c]of _0x209ed8[_0x372a9a(0x251)]())if(_0x43b4e1===_0x23f34d)return _0x9ea01c[_0x372a9a(0x38a)];}}[_0x27d18f(0x292)](_0x51534e,_0x2afbc4,_0x3707c1){const _0x59fed9=_0x27d18f,_0x3d2cec=this[_0x59fed9(0x27c)](_0x51534e,_0x2afbc4,_0x3707c1);return _0x3d2cec==null?void 0x0:_0x3d2cec['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x25110f,_0x319356){var _0x225b17;return(_0x225b17=this['_model']['get'](_0x25110f))==null?void 0x0:_0x225b17['get'](_0x319356);}['updateConfigCache'](_0x3f2808,_0x1237e9,_0x518a44,_0x385bf4){const _0x5eae0f=_0x27d18f,_0x4f75c6=this['_ensurePivotMap'](_0x3f2808,_0x1237e9);_0x385bf4?_0x4f75c6[_0x5eae0f(0x28b)](_0x518a44,_0x385bf4):_0x4f75c6[_0x5eae0f(0x3f8)](_0x518a44),this[_0x5eae0f(0x3c1)][_0x5eae0f(0x34b)]({'unitId':_0x3f2808,'subUnitId':_0x1237e9,'pivotTableId':_0x518a44,'pivotTableConfig':_0x385bf4});}[_0x27d18f(0x39a)](_0x2922f6,_0x52f706){const _0x333737=_0x27d18f;var _0x54dbd8;return(_0x54dbd8=this[_0x333737(0x2dc)][_0x333737(0x206)](_0x2922f6))==null?void 0x0:_0x54dbd8[_0x333737(0x319)][_0x52f706];}[_0x27d18f(0x1d5)](_0x106fe3,_0x4db5e5){const _0x1667b3=_0x27d18f;this[_0x1667b3(0x2dc)][_0x1667b3(0x28b)](_0x106fe3,_0x4db5e5),this[_0x1667b3(0x35a)]['next'](Math[_0x1667b3(0x239)]());}[_0x27d18f(0x1fe)](_0x1709a6,_0x22f769){const _0x4ead78=_0x27d18f;let _0x270bd3=this[_0x4ead78(0x1ef)][_0x4ead78(0x206)](_0x1709a6);_0x270bd3||(_0x270bd3=new Map(),this[_0x4ead78(0x1ef)][_0x4ead78(0x28b)](_0x1709a6,_0x270bd3));let _0xe8c162=_0x270bd3[_0x4ead78(0x206)](_0x22f769);return _0xe8c162||(_0xe8c162=new Map(),_0x270bd3[_0x4ead78(0x28b)](_0x22f769,_0xe8c162)),_0xe8c162;}[_0x27d18f(0x346)](_0x191044,_0x4b14a9){const _0x17e174=_0x27d18f;let _0x2e6828=this['_pivotTableRangeInfo'][_0x17e174(0x206)](_0x191044);_0x2e6828||(_0x2e6828=new Map(),this[_0x17e174(0x2b3)][_0x17e174(0x28b)](_0x191044,_0x2e6828));let _0x2de409=_0x2e6828[_0x17e174(0x206)](_0x4b14a9);return _0x2de409||(_0x2de409=new Map(),_0x2e6828[_0x17e174(0x28b)](_0x4b14a9,_0x2de409)),_0x2de409;}[_0x27d18f(0x355)](_0x304ccd,_0x35508a){const _0x2e9f3b=_0x27d18f;let _0x193287=this[_0x2e9f3b(0x400)]['get'](_0x304ccd);_0x193287||(_0x193287=new Map(),this[_0x2e9f3b(0x400)][_0x2e9f3b(0x28b)](_0x304ccd,_0x193287));let _0x8938dd=_0x193287['get'](_0x35508a);return _0x8938dd||(_0x8938dd=new Map(),_0x193287['set'](_0x35508a,_0x8938dd)),_0x8938dd;}[_0x27d18f(0x235)](_0x4ca986,_0x4d0ff0,_0x522490,_0xb9291d){const _0x2d0df5=_0x27d18f;var _0x8157f7;const _0x5e5ded=this[_0x2d0df5(0x346)](_0x4ca986,_0x4d0ff0),_0x2002a9=(_0x8157f7=_0x5e5ded[_0x2d0df5(0x206)](_0x522490))==null?void 0x0:_0x8157f7[_0x2d0df5(0x345)];_0x5e5ded[_0x2d0df5(0x28b)](_0x522490,{'oldRangeInfo':_0x2002a9,'rangeInfo':_0xb9291d});}[_0x27d18f(0x3bf)](_0x37b3f3,_0x486e5a,_0x50c981,_0x5ba5e5){const _0x168623=_0x27d18f;var _0x4b91bc;const _0xd63f63=this[_0x168623(0x355)](_0x37b3f3,_0x486e5a),_0xd43879=(_0x4b91bc=_0xd63f63[_0x168623(0x206)](_0x50c981))==null?void 0x0:_0x4b91bc[_0x168623(0x3c3)];_0xd63f63['set'](_0x50c981,{'oldMatrix':_0xd43879,'matrix':_0x5ba5e5});}[_0x27d18f(0x194)](_0x17803e,_0x45a25b,_0xe8e3da){const _0x3adf1e=_0x27d18f;var _0x4742ae,_0x21f0e2;return(_0x21f0e2=(_0x4742ae=this[_0x3adf1e(0x2b3)][_0x3adf1e(0x206)](_0x17803e))==null?void 0x0:_0x4742ae[_0x3adf1e(0x206)](_0x45a25b))==null?void 0x0:_0x21f0e2['get'](_0xe8e3da);}[_0x27d18f(0x208)](_0x292de5,_0x2bad29,_0xa1d389){const _0x3a89c4=_0x27d18f;var _0x262f53,_0x734a5f;return(_0x734a5f=(_0x262f53=this['_pivotTableMatrixInfo'][_0x3a89c4(0x206)](_0x292de5))==null?void 0x0:_0x262f53['get'](_0x2bad29))==null?void 0x0:_0x734a5f[_0x3a89c4(0x206)](_0xa1d389);}[_0x27d18f(0x28a)](_0x429904){const _0x171799=_0x27d18f;this[_0x171799(0x1ef)][_0x171799(0x3f8)](_0x429904),this[_0x171799(0x2dc)]['delete'](_0x429904);}[_0x27d18f(0x23d)](_0x3c303a){const _0x5cdfc=_0x27d18f,_0x116efc={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x3c303a)&&(_0x116efc[_0x5cdfc(0x277)][_0x3c303a]=this['_collectionConfigModel'][_0x5cdfc(0x206)](_0x3c303a)),this[_0x5cdfc(0x1ef)][_0x5cdfc(0x206)](_0x3c303a)){_0x116efc['pivotTableConfigs'][_0x3c303a]={};const _0x1d2742=this[_0x5cdfc(0x1ef)][_0x5cdfc(0x206)](_0x3c303a);_0x1d2742!=null&&_0x1d2742[_0x5cdfc(0x25d)]&&[..._0x1d2742[_0x5cdfc(0x205)]()]['forEach'](_0x37155b=>{const _0x3f882c=_0x5cdfc,_0xe264bf=_0x1d2742[_0x3f882c(0x206)](_0x37155b);_0xe264bf!=null&&_0xe264bf['size']&&(_0x116efc['pivotTableConfigs'][_0x3c303a][_0x37155b]={},[..._0xe264bf[_0x3f882c(0x205)]()][_0x3f882c(0x23b)](_0x35d217=>{const _0x137bd8=_0x3f882c,_0x2c15c1=_0xe264bf['get'](_0x35d217);_0x2c15c1&&(_0x116efc[_0x137bd8(0x2c3)][_0x3c303a][_0x37155b][_0x35d217]=_0x2c15c1);}));});}return _0x116efc;}['_initSnapshot'](){const _0x5dee69=_0x27d18f;this[_0x5dee69(0x3ca)](this[_0x5dee69(0x2b4)][_0x5dee69(0x402)]({'toJson':_0x5bcb2c=>JSON[_0x5dee69(0x3b9)](this[_0x5dee69(0x23d)](_0x5bcb2c)),'parseJson':_0x1d4b77=>({}),'businesses':[_0x11ddec['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x37b889,_0x25cb44)=>{},'onUnLoad':_0x1c3519=>{const _0x4d8964=_0x5dee69;this[_0x4d8964(0x28a)](_0x1c3519);}}));}};he=zi([it(0x0,_0x5611df(_0x318e93)),it(0x1,_0x5611df(_0xeb5b23)),it(0x2,_0x5611df(_0x5d554d)),it(0x3,_0x5611df(_0x5a6138)),it(0x4,_0x5611df(_0x27c3ed))],he);var Qi=Object[_0x27d18f(0x381)],Xi=(_0x5cc921,_0x2c6e14,_0x11a07b,_0x1ac3c7)=>{const _0x294499=_0x27d18f;for(var _0x10bbb9=_0x1ac3c7>0x1?void 0x0:_0x1ac3c7?Qi(_0x2c6e14,_0x11a07b):_0x2c6e14,_0x46816e=_0x5cc921[_0x294499(0x210)]-0x1,_0x2d7371;_0x46816e>=0x0;_0x46816e--)(_0x2d7371=_0x5cc921[_0x46816e])&&(_0x10bbb9=_0x2d7371(_0x10bbb9)||_0x10bbb9);return _0x10bbb9;},st=(_0x22f28b,_0x3a6516)=>(_0x1d4560,_0x45cef5)=>_0x3a6516(_0x1d4560,_0x45cef5,_0x22f28b);let Ne=class extends _0x592bfe{constructor(_0x2c6f1f,_0x299b26,_0x357c6d,_0x207c6a,_0x1753e7){const _0x5a9998=_0x27d18f;super(),x(this,'_pivotRenderInfoCache',new Map()),x(this,'_pivotRenderValueMatrixCache',new Map()),x(this,_0x5a9998(0x2d5),new _0x3f9849()),x(this,'markDirty$',this[_0x5a9998(0x2d5)][_0x5a9998(0x189)]()),x(this,_0x5a9998(0x3a1),new _0x3f9849()),x(this,_0x5a9998(0x391),this[_0x5a9998(0x3a1)][_0x5a9998(0x189)]()),x(this,_0x5a9998(0x2e4)),(this[_0x5a9998(0x23f)]=_0x2c6f1f,this[_0x5a9998(0x21d)]=_0x299b26,this['_sheetsPivotTableConfigModel']=_0x357c6d,this['_univerInstanceService']=_0x207c6a,this[_0x5a9998(0x3af)]=_0x1753e7,this[_0x5a9998(0x1b8)](),this[_0x5a9998(0x1cb)]());}['_initUnitDisposed'](){const _0x56b353=_0x27d18f;this[_0x56b353(0x3ca)](this['_univerInstanceService'][_0x56b353(0x3a6)](_0x11ddec['UNIVER_SHEET'])[_0x56b353(0x226)](_0x36cc39=>{const _0x194bc7=_0x56b353;this['deleteUnitId'](_0x36cc39[_0x194bc7(0x1c5)]());}));}[_0x27d18f(0x1b8)](){const _0x52b7e9=_0x27d18f;this[_0x52b7e9(0x2e4)]=fo(this[_0x52b7e9(0x21d)],Lo,'',{});}['updateRenderCache'](_0x18fd88){const _0x1295ce=_0x27d18f,{view:_0x6a2797,unitId:_0x3e35b2,subUnitId:_0x5b295a,pivotTableId:_0x20778c,type:_0x268ceb}=_0x18fd88,_0x152264=this[_0x1295ce(0x405)][_0x1295ce(0x27c)](_0x3e35b2,_0x5b295a,_0x20778c);if(!_0x6a2797||!_0x152264||_0x268ceb===B[_0x1295ce(0x1ff)])return;const {pageView:_0x4e5126,cornerView:_0x51b6e1,rowView:_0x5adaec,colView:_0x5f34de,dataView:_0x23e12a}=_0x6a2797,_0x12c3da=_0x152264[_0x1295ce(0x38a)],_0x2cc50a=_0x152264[_0x1295ce(0x334)],_0x5d3259=this[_0x1295ce(0x3b2)](_0x3e35b2,_0x5b295a),_0x490655=this[_0x1295ce(0x20c)](_0x3e35b2,_0x5b295a,_0x20778c);if(_0x2cc50a)return this[_0x1295ce(0x270)](_0x18fd88,_0x5d3259,_0x12c3da,_0x490655);{const _0x4cc84d=ge(_0x12c3da,_0x4e5126,!0x0),_0x4eb9cf=_0x4e5126['lastRow']>=0x0?_0x4e5126['lastRow']+0x1:0x0,_0x594501=_0x51b6e1[_0x1295ce(0x29e)](),_0xa9c2a0=_0x51b6e1[_0x1295ce(0x31a)](),_0x405f85=_0x4cc84d[_0x1295ce(0x210)]>0x0?It:0x0,_0x5af0ee=ge({'row':_0x12c3da['row']+_0x4eb9cf+_0x405f85,'col':_0x12c3da[_0x1295ce(0x3cc)]},_0x51b6e1,!0x1,!0x1),_0x513f46=ge({'row':_0x12c3da['row']+_0x4eb9cf+_0x405f85+_0x594501,'col':_0x12c3da[_0x1295ce(0x3cc)]},_0x5adaec,!0x1,!0x0),_0x568eaf=ge({'row':_0x12c3da[_0x1295ce(0x338)]+_0x4eb9cf+_0x405f85,'col':_0x12c3da[_0x1295ce(0x3cc)]+_0xa9c2a0},_0x5f34de,!0x1,!0x0),_0xfde06a=ge({'row':_0x12c3da[_0x1295ce(0x338)]+_0x4eb9cf+_0x405f85+_0x594501,'col':_0x12c3da[_0x1295ce(0x3cc)]+_0xa9c2a0},_0x23e12a,!0x1,!0x1);_0x490655[_0x1295ce(0x38b)]={'rowRanges':_0x513f46,'colRanges':_0x568eaf,'cornerRanges':_0x5af0ee,'dataRanges':_0xfde06a,'pageRanges':_0x4cc84d};const _0x36b559=yi(this['_injector'],_0x6a2797,_0x152264,this[_0x1295ce(0x2e4)]),{valueMatrix:_0x4ea6bc,rowInfo:_0x15e68a,colInfo:_0x28f1eb,cornerInfo:_0x2e7003,rowHeaderMap:_0x14004a,colHeaderMap:_0x295701}=_0x36b559;return _0x490655[_0x1295ce(0x393)]={'rowInfo':_0x15e68a,'colInfo':_0x28f1eb,'cornerInfo':_0x2e7003},_0x490655[_0x1295ce(0x2b1)]={'rowHeaderMap':_0x14004a,'colHeaderMap':_0x295701},_0x4ea6bc['forEach']((_0x2a64a6,_0xfd45ba)=>{const _0x13f9ad=_0x1295ce;Object[_0x13f9ad(0x205)](_0xfd45ba)[_0x13f9ad(0x23b)](_0x3eb567=>{const _0x5f1110=_0x13f9ad,_0x48fb5b=+_0x3eb567,_0x3e387e=_0x4ea6bc[_0x5f1110(0x3f7)](_0x2a64a6,_0x48fb5b);_0x5d3259[_0x5f1110(0x216)](_0x2a64a6,_0x48fb5b,_0x3e387e);});}),this[_0x1295ce(0x3a1)][_0x1295ce(0x34b)]({'unitId':_0x3e35b2,'subUnitId':_0x5b295a,'valueMatrix':_0x5d3259,'rangesCache':_0x490655['rangesInfo'],'pivotTableId':_0x20778c,'type':_0x18fd88[_0x1295ce(0x23e)]}),this['_sheetsPivotTableConfigModel'][_0x1295ce(0x29c)](_0x3e35b2,_0x5b295a,_0x20778c,_0x5d3259,_0x490655[_0x1295ce(0x38b)]),this[_0x1295ce(0x3af)]['addExclusiveRange'](_0x3e35b2,_0x5b295a,kt,this[_0x1295ce(0x398)](_0x490655[_0x1295ce(0x38b)],_0x20778c)),{'rangeCache':_0x490655[_0x1295ce(0x38b)],'matrix':_0x5d3259};}}[_0x27d18f(0x270)](_0x58ad17,_0x53ae96,_0xe11e1d,_0x14b620){const _0x135b15=_0x27d18f,_0x2a6709=this[_0x135b15(0x23f)]['t'],{unitId:_0x2397ff,subUnitId:_0x106cf3,pivotTableId:_0x236ee1}=_0x58ad17,_0x5195c3={'filter':_0x2a6709(_0x135b15(0x193)),'row':_0x2a6709(_0x135b15(0x1af)),'column':_0x2a6709(_0x135b15(0x3c0)),'values':_0x2a6709(_0x135b15(0x35d))},{matrixCache:_0x55c529,rangesCache:_0x39bd02}=Ho(_0x5195c3,_0xe11e1d);return _0x55c529['forValue']((_0x10dd2a,_0x58e533,_0x5811ab)=>{_0x53ae96['setValue'](_0x10dd2a,_0x58e533,_0x5811ab);}),_0x14b620[_0x135b15(0x38b)]=_0x39bd02,this['_viewUpdate$'][_0x135b15(0x34b)]({'unitId':_0x2397ff,'subUnitId':_0x106cf3,'valueMatrix':_0x53ae96,'rangesCache':_0x39bd02,'pivotTableId':_0x236ee1,'type':_0x58ad17[_0x135b15(0x23e)],'isEmpty':!0x0}),this[_0x135b15(0x405)]['updateViewInfo'](_0x2397ff,_0x106cf3,_0x236ee1,_0x53ae96,_0x39bd02),this[_0x135b15(0x3af)][_0x135b15(0x1cc)](_0x2397ff,_0x106cf3,kt,this[_0x135b15(0x398)](_0x39bd02,_0x236ee1)),{'rangeCache':_0x14b620['rangesInfo'],'matrix':_0x53ae96};}[_0x27d18f(0x398)](_0x28d712,_0x5209f9){const _0xfe5681=_0x27d18f,_0xec2a0e=[],_0x38cc31=Bt(_0x28d712);for(const _0x37f82d of _0x38cc31)_0xec2a0e[_0xfe5681(0x260)]({'groupId':_0x5209f9,'range':_0x37f82d});return _0xec2a0e;}['clearRenderCache'](_0x5aa5b3){const _0x39ef3c=_0x27d18f;var _0x2e5cb6,_0x27c0c5,_0x4b91c9,_0x11ae37;const {pivotTableId:_0xfe592d,unitId:_0x919b1e,subUnitId:_0x4fde75}=_0x5aa5b3;if(!_0xfe592d||!_0x919b1e||!_0x4fde75)return;const _0x4a6916=this['_ensurePivotItemRenderValueMatrixCache'](_0x919b1e,_0x4fde75),_0x504a96=(_0x27c0c5=(_0x2e5cb6=this[_0x39ef3c(0x3e9)][_0x39ef3c(0x206)](_0x919b1e))==null?void 0x0:_0x2e5cb6[_0x39ef3c(0x206)](_0x4fde75))==null?void 0x0:_0x27c0c5[_0x39ef3c(0x206)](_0xfe592d);if(_0x504a96!=null&&_0x504a96['rangesInfo']){for(const _0x5c2102 of Object[_0x39ef3c(0x205)](_0x504a96[_0x39ef3c(0x38b)]))_0x504a96[_0x39ef3c(0x38b)][_0x5c2102]['forEach'](_0x385d91=>{const _0x2fa186=_0x39ef3c;for(let _0x3e179e=_0x385d91[_0x2fa186(0x36b)];_0x3e179e<=_0x385d91[_0x2fa186(0x380)];_0x3e179e++)for(let _0x3d90fd=_0x385d91[_0x2fa186(0x282)];_0x3d90fd<=_0x385d91['endColumn'];_0x3d90fd++)_0x4a6916[_0x2fa186(0x335)](_0x3e179e,_0x3d90fd);});}_0x504a96&&((_0x11ae37=(_0x4b91c9=this['_pivotRenderInfoCache'][_0x39ef3c(0x206)](_0x919b1e))==null?void 0x0:_0x4b91c9[_0x39ef3c(0x206)](_0x4fde75))==null||_0x11ae37[_0x39ef3c(0x3f8)](_0xfe592d)),this[_0x39ef3c(0x3a1)]['next']({'unitId':_0x919b1e,'subUnitId':_0x4fde75,'valueMatrix':_0x4a6916,'pivotTableId':_0xfe592d,'rangesCache':void 0x0,'type':_0x5aa5b3[_0x39ef3c(0x23e)]}),this[_0x39ef3c(0x3af)]['clearExclusiveRangesByGroupId'](_0x919b1e,_0x4fde75,kt,_0xfe592d);}['_ensurePivotItemRenderInfoCache'](_0x1d7673,_0xec21db,_0x28baaf){const _0x293916=_0x27d18f;var _0x255d66,_0x14c0f1,_0x432e43,_0x52b4f1,_0x517edf,_0x3dd67e;return this[_0x293916(0x3e9)][_0x293916(0x1e6)](_0x1d7673)||this['_pivotRenderInfoCache'][_0x293916(0x28b)](_0x1d7673,new Map()),(_0x255d66=this[_0x293916(0x3e9)][_0x293916(0x206)](_0x1d7673))!=null&&_0x255d66['has'](_0xec21db)||(_0x14c0f1=this[_0x293916(0x3e9)][_0x293916(0x206)](_0x1d7673))==null||_0x14c0f1[_0x293916(0x28b)](_0xec21db,new Map()),(_0x52b4f1=(_0x432e43=this[_0x293916(0x3e9)][_0x293916(0x206)](_0x1d7673))==null?void 0x0:_0x432e43['get'](_0xec21db))!=null&&_0x52b4f1['has'](_0x28baaf)||(_0x3dd67e=(_0x517edf=this[_0x293916(0x3e9)][_0x293916(0x206)](_0x1d7673))==null?void 0x0:_0x517edf[_0x293916(0x206)](_0xec21db))==null||_0x3dd67e[_0x293916(0x28b)](_0x28baaf,{}),this[_0x293916(0x3e9)][_0x293916(0x206)](_0x1d7673)[_0x293916(0x206)](_0xec21db)[_0x293916(0x206)](_0x28baaf);}[_0x27d18f(0x3b2)](_0x1eae58,_0x36c58b){const _0x4f353d=_0x27d18f;var _0x388ee6,_0x5e0ec9;return this['_pivotRenderValueMatrixCache']['has'](_0x1eae58)||this[_0x4f353d(0x33a)][_0x4f353d(0x28b)](_0x1eae58,new Map()),(_0x388ee6=this[_0x4f353d(0x33a)]['get'](_0x1eae58))!=null&&_0x388ee6[_0x4f353d(0x1e6)](_0x36c58b)||(_0x5e0ec9=this[_0x4f353d(0x33a)][_0x4f353d(0x206)](_0x1eae58))==null||_0x5e0ec9[_0x4f353d(0x28b)](_0x36c58b,new _0x1356f1()),this['_pivotRenderValueMatrixCache'][_0x4f353d(0x206)](_0x1eae58)[_0x4f353d(0x206)](_0x36c58b);}[_0x27d18f(0x242)](_0x2c2cdf,_0x5f46fe,_0x419733,_0x12cbed){const _0x52299b=_0x27d18f;var _0x40c48a,_0x297692;const _0x46a8fb=(_0x297692=(_0x40c48a=this[_0x52299b(0x33a)][_0x52299b(0x206)](_0x2c2cdf))==null?void 0x0:_0x40c48a[_0x52299b(0x206)](_0x5f46fe))==null?void 0x0:_0x297692['getValue'](_0x419733,_0x12cbed);if(_0x46a8fb!=null)return _0x46a8fb;}['getPivotTableIdByCell'](_0x589543,_0x56cc00,_0x3df586,_0x448289){const _0x736c84=_0x27d18f;var _0x11cc3f;const _0x2e0b0a=_0x31147b(_0x3df586,_0x448289),_0x2d943c=(_0x11cc3f=this[_0x736c84(0x3e9)][_0x736c84(0x206)](_0x589543))==null?void 0x0:_0x11cc3f['get'](_0x56cc00);return _0x2d943c?Array[_0x736c84(0x3ce)](_0x2d943c[_0x736c84(0x205)]())[_0x736c84(0x250)](_0x553558=>{const _0x620301=_0x736c84,_0xcb3db9=_0x2d943c[_0x620301(0x206)](_0x553558),_0x1b83ef=_0xcb3db9==null?void 0x0:_0xcb3db9[_0x620301(0x38b)];return _0x1b83ef?Object[_0x620301(0x205)](_0x1b83ef)['some'](_0xdd1d3=>_0x1b83ef[_0xdd1d3][_0x620301(0x281)](_0x2ccdf5=>_0x4986e5['contains'](_0x2ccdf5,_0x2e0b0a))):!0x1;}):void 0x0;}[_0x27d18f(0x2d4)](_0x1fc3b8,_0x19c25f,_0x3dcc1f){const _0x2c9d7d=_0x27d18f;var _0x5a2bbe;const _0x2aac86=(_0x5a2bbe=this[_0x2c9d7d(0x3e9)][_0x2c9d7d(0x206)](_0x1fc3b8))==null?void 0x0:_0x5a2bbe[_0x2c9d7d(0x206)](_0x19c25f),_0xabca13=[];return _0x2aac86&&Array[_0x2c9d7d(0x3ce)](_0x2aac86[_0x2c9d7d(0x205)]())['forEach'](_0xe31db4=>{const _0x31c83e=_0x2c9d7d,_0x38fcb8=_0x2aac86[_0x31c83e(0x206)](_0xe31db4),_0x1f8536=_0x38fcb8==null?void 0x0:_0x38fcb8['rangesInfo'];if(_0x1f8536)for(const _0x4fa471 of Object['values'](_0x1f8536)){let _0x18a5ff=!0x1;for(const _0x820c05 of _0x4fa471)if(_0x4986e5['intersects'](_0x820c05,_0x3dcc1f)){_0xabca13['push'](_0xe31db4),_0x18a5ff=!0x0;break;}if(_0x18a5ff)break;}}),_0xabca13;}[_0x27d18f(0x301)](_0x282ba4,_0x2fc81e){const _0x411078=_0x27d18f;var _0x40efd3,_0x334e1b;return(_0x334e1b=(_0x40efd3=this[_0x411078(0x33a)]['get'](_0x282ba4))==null?void 0x0:_0x40efd3[_0x411078(0x206)](_0x2fc81e))!=null?_0x334e1b:new _0x1356f1();}[_0x27d18f(0x31e)](_0x16f447,_0x241e94){const _0x547146=_0x27d18f;var _0x280723;return(_0x280723=this[_0x547146(0x3e9)][_0x547146(0x206)](_0x16f447))==null?void 0x0:_0x280723['get'](_0x241e94);}[_0x27d18f(0x1ad)](_0x2b6ba2,_0x576336,_0x518de5){const _0x77460d=_0x27d18f;var _0x4ccc9c,_0x492bef;return(_0x492bef=(_0x4ccc9c=this['_pivotRenderInfoCache'][_0x77460d(0x206)](_0x2b6ba2))==null?void 0x0:_0x4ccc9c['get'](_0x576336))==null?void 0x0:_0x492bef[_0x77460d(0x206)](_0x518de5);}['deleteUnitId'](_0x4f1894){const _0x191202=_0x27d18f;this['_pivotRenderInfoCache'][_0x191202(0x3f8)](_0x4f1894),this['_pivotRenderValueMatrixCache'][_0x191202(0x3f8)](_0x4f1894);}[_0x27d18f(0x1ac)](_0x1313cf,_0x3187ec){const _0x14f925=_0x27d18f;this[_0x14f925(0x2d5)][_0x14f925(0x34b)]({'unitId':_0x1313cf,'subUnitId':_0x3187ec});}};Ne=Xi([st(0x0,_0x5611df(_0x468b9c)),st(0x1,_0x5611df(_0x318e93)),st(0x2,_0x5611df(he)),st(0x3,_0x5611df(_0x5d554d)),st(0x4,_0x5611df(_0x5e4c69))],Ne);var Zi=Object['getOwnPropertyDescriptor'],es=(_0x5d5061,_0x1766d6,_0x52bd54,_0x828455)=>{const _0x160b0d=_0x27d18f;for(var _0x10fe88=_0x828455>0x1?void 0x0:_0x828455?Zi(_0x1766d6,_0x52bd54):_0x1766d6,_0x36d0cf=_0x5d5061[_0x160b0d(0x210)]-0x1,_0x4351b7;_0x36d0cf>=0x0;_0x36d0cf--)(_0x4351b7=_0x5d5061[_0x36d0cf])&&(_0x10fe88=_0x4351b7(_0x10fe88)||_0x10fe88);return _0x10fe88;},Mo=(_0x431df5,_0x4dcd2d)=>(_0x12785f,_0x65741)=>_0x4dcd2d(_0x12785f,_0x65741,_0x431df5);let ie=class extends _0x592bfe{constructor(_0x3ca4a6,_0x2797fb){const _0x58bd59=_0x27d18f;super(),x(this,'asyncInterceptor',new _0x548c50({'PIVOT_PERFORM_CHECK':be})),x(this,_0x58bd59(0x31c),new _0x391c94({'PIVOT_MUTATION_GENERATE':qo})),(this[_0x58bd59(0x1b6)]=_0x3ca4a6,this[_0x58bd59(0x322)]=_0x2797fb,this[_0x58bd59(0x3c6)]());}[_0x27d18f(0x3c6)](){const _0x50a4f8=_0x27d18f;this[_0x50a4f8(0x2e8)]();}[_0x27d18f(0x368)](_0x5dbda9){const _0x2a078d=_0x27d18f;return this['asyncInterceptor'][_0x2a078d(0x2c7)](be)(!0x1,_0x5dbda9);}[_0x27d18f(0x2e8)](){const _0x41b20e=_0x27d18f;this['disposeWithMe'](this['_sheetInterceptorService'][_0x41b20e(0x2d3)](_0x6c5bcb[_0x41b20e(0x3ae)],{'priority':0xc8,'effect':_0x504a91['Value']|_0x504a91['Style'],'handler':(_0x5e5ec4,_0x5df470,_0x36c2e1)=>{const _0x4cf297=_0x41b20e,{row:_0xc6dd4c,col:_0x1fc215,unitId:_0x104503,subUnitId:_0x578b5c,workbook:_0x1b936f}=_0x5df470,_0x5d57bd=this[_0x4cf297(0x322)][_0x4cf297(0x242)](_0x104503,_0x578b5c,_0xc6dd4c,_0x1fc215);if(!_0x5d57bd)return _0x36c2e1(_0x5e5ec4);const _0x126aea={..._0x5e5ec4};(_0x5d57bd['v']||_0x5d57bd['v']===0x0)&&(_0x126aea['v']=_0x5d57bd['v']),_0x5d57bd['t']&&(_0x126aea['t']=_0x5d57bd['t']);const _0x4370bc=(typeof(_0x5e5ec4==null?void 0x0:_0x5e5ec4['s'])==_0x4cf297(0x274)?_0x1b936f[_0x4cf297(0x3e1)]()[_0x4cf297(0x206)](_0x5e5ec4==null?void 0x0:_0x5e5ec4['s']):_0x5e5ec4==null?void 0x0:_0x5e5ec4['s'])||{},_0x213e76=_0x1b936f[_0x4cf297(0x3e1)]()[_0x4cf297(0x206)](_0x5d57bd['s']),_0x30217b={..._0x213e76,..._0x4370bc};_0x213e76!=null&&_0x213e76['n']&&(_0x30217b['n']=_0x213e76['n']);const _0x3940b1=_0x1b936f['getStyles']()[_0x4cf297(0x216)](_0x30217b);return _0x126aea['s']=_0x3940b1,(_0x5d57bd[_0x4cf297(0x1a0)]===_0x13c73f['Collapse']||_0x5d57bd[_0x4cf297(0x1a0)]===_0x13c73f[_0x4cf297(0x1de)])&&(_0x126aea['fontRenderExtension']={},_0x126aea[_0x4cf297(0x39f)][_0x4cf297(0x213)]=li),_0x36c2e1(_0x126aea);}}));}};ie=es([Mo(0x0,_0x5611df(_0x3ef520)),Mo(0x1,_0x5611df(Ne))],ie);const zo={'id':'sheet.mutation.add-group-collection','type':_0x538c0b[_0x27d18f(0x2f2)],'handler':(_0x3a5818,_0x8a70fa)=>{const _0x1148d2=_0x27d18f;if(!_0x8a70fa)return!0x1;if(!!_0x3a5818['get'](_0x27c3ed)[_0x1148d2(0x356)](z))return!0x0;const {pivotTableId:_0x4d995f,fieldJSON:_0x14ca6,unitId:_0x1f6dd3,subUnitId:_0x210645}=_0x8a70fa;let _0xd58e4c;const {dataFieldType:_0xbb1129,id:_0xb78037,name:_0x408584,hexCode:_0x24af6c,originalFieldId:_0x29a311}=_0x14ca6;if(_0xbb1129===_0x23ca61['dateGroupField']&&(_0xd58e4c=new _0x2705c4(_0xb78037,_0x408584,_0x24af6c,_0x29a311)),!_0xd58e4c)return!0x1;const _0x55b4a9=_0x3a5818['get'](q),_0x3150d3=_0x55b4a9[_0x1148d2(0x278)](_0x1f6dd3),_0x23c213=_0x3150d3[_0x1148d2(0x39a)](_0x4d995f);_0x3150d3['addDataFieldWithoutUnitInfo'](_0xd58e4c),_0x23c213['addField'](_0xd58e4c[_0x1148d2(0x300)](),_0xd58e4c['getName']());const _0x55a237=_0x23c213[_0x1148d2(0x34e)](_0xd58e4c[_0x1148d2(0x1c1)]());_0x55a237&&_0xd58e4c[_0x1148d2(0x2ff)](_0x55a237);const _0x16f5cd=_0x55b4a9[_0x1148d2(0x27c)](_0x1f6dd3,_0x210645,_0x4d995f);return _0x55b4a9[_0x1148d2(0x188)]({'unitId':_0x1f6dd3,'subUnitId':_0x210645,'token':_0x4d995f,'type':B[_0x1148d2(0x287)],'pivotConfig':_0x16f5cd}),!0x0;}},Qo={'id':_0x27d18f(0x2ae),'type':_0x538c0b[_0x27d18f(0x2f2)],'handler':(_0x203948,_0x596780)=>{const _0x39a162=_0x27d18f;if(!_0x596780)return!0x1;if(!!_0x203948[_0x39a162(0x206)](_0x27c3ed)[_0x39a162(0x356)](z))return!0x0;const {pivotTableId:_0x334172,dataFieldId:_0x57695b,unitId:_0x554734,subUnitId:_0x18b16e}=_0x596780,_0x2a0b6d=_0x203948[_0x39a162(0x206)](q),_0x55bf97=_0x2a0b6d[_0x39a162(0x278)](_0x554734);_0x55bf97[_0x39a162(0x39a)](_0x334172)['deleteField'](_0x57695b);let _0x19bbbd=!0x0;for(const _0x4864f2 in _0x55bf97[_0x39a162(0x319)])if(_0x55bf97[_0x39a162(0x319)][_0x4864f2][_0x39a162(0x3e6)]()[_0x39a162(0x3bd)](_0x57695b)){_0x19bbbd=!0x1;break;}_0x19bbbd&&_0x55bf97[_0x39a162(0x1e9)](_0x57695b);const _0x580684=_0x2a0b6d[_0x39a162(0x27c)](_0x554734,_0x18b16e,_0x334172);return _0x2a0b6d['addDirtyPivotTable']({'unitId':_0x554734,'subUnitId':_0x18b16e,'token':_0x334172,'type':B['Set'],'pivotConfig':_0x580684}),!0x0;}};function Nt(_0x2a475f,_0x58cdd9){const _0x2e7fa1=_0x27d18f;switch(_0x58cdd9){case _0x37b460[_0x2e7fa1(0x240)]:return _0x2a475f['valueFields'];case _0x37b460[_0x2e7fa1(0x19d)]:return _0x2a475f[_0x2e7fa1(0x201)];case _0x37b460[_0x2e7fa1(0x2e9)]:return _0x2a475f[_0x2e7fa1(0x2c9)];case _0x37b460[_0x2e7fa1(0x36c)]:return _0x2a475f[_0x2e7fa1(0x1be)];default:return[];}}function Je(_0x191152,_0xa1f1d0){const _0x58e323=_0x27d18f;return _0x191152[_0x58e323(0x378)][_0xa1f1d0]||_0x191152[_0x58e323(0x2cb)][_0xa1f1d0];}function ts(_0x5ba3d0,_0x1aeec1){const _0x47b475=_0x27d18f,{area:_0x562591,fieldJson:_0x146d0c,index:_0x24a2c6}=_0x1aeec1;_0x562591===_0x37b460[_0x47b475(0x240)]?_0x5ba3d0[_0x47b475(0x378)][_0x146d0c['id']]=_0x146d0c:_0x5ba3d0[_0x47b475(0x2cb)][_0x146d0c['id']]=_0x146d0c,Nt(_0x5ba3d0,_0x562591)['splice'](_0x24a2c6,0x0,_0x146d0c['id']);}function os(_0xe3a5ba,_0x4f75aa){const _0x3b25d6=_0x27d18f,{area:_0x5eb700,fieldId:_0x5a3803,index:_0x214137}=_0x4f75aa;_0x5eb700===_0x37b460[_0x3b25d6(0x240)]?delete _0xe3a5ba[_0x3b25d6(0x378)][_0x5a3803]:delete _0xe3a5ba[_0x3b25d6(0x2cb)][_0x5a3803],Nt(_0xe3a5ba,_0x5eb700)[_0x3b25d6(0x3f6)](_0x214137,0x1);}function ns(_0x5f3b58,_0x31775a){const _0x334805=_0x27d18f,{fieldId:_0xa6f21,name:_0xe10793}=_0x31775a,_0x9035c9=Je(_0x5f3b58,_0xa6f21);_0x9035c9&&(_0x9035c9[_0x334805(0x3ab)]=_0xe10793);}function is(_0x5ca975,_0x59c3c9){const _0x5952ee=_0x27d18f,{fieldId:_0x5a725e,collapse:_0x55008b,item:_0x2eafe9}=_0x59c3c9;_0x2eafe9!==void 0x0?(_0x5ca975[_0x5952ee(0x20d)][_0x5a725e]=_0x5ca975[_0x5952ee(0x20d)][_0x5a725e]||{},_0x5ca975[_0x5952ee(0x20d)][_0x5a725e][_0x2eafe9]=_0x55008b):_0x5ca975[_0x5952ee(0x20d)][_0x5a725e]=_0x55008b;}function ss(_0x2a4dde,_0x2a36a2){const _0x147946=_0x27d18f,{fieldId:_0x1ef1fd,format:_0x47c2fa}=_0x2a36a2,_0x92b75d=Je(_0x2a4dde,_0x1ef1fd);_0x92b75d&&(_0x92b75d[_0x147946(0x185)]=_0x47c2fa);}function as(_0x11bfd8,_0xac02b3){const _0x5a6b1b=_0x27d18f,{fieldId:_0x49de80,filterInfo:_0x47ffef}=_0xac02b3,_0x369299=Je(_0x11bfd8,_0x49de80);_0x369299&&(_0x369299[_0x5a6b1b(0x354)]=_0x47ffef);}function rs(_0x54ca6b,_0x4301fc){const _0xf9d1e0=_0x27d18f,{fieldId:_0x428e7f,filterInfo:_0x2b2718}=_0x4301fc,_0x38f0d5=_0x54ca6b[_0xf9d1e0(0x2b9)][_0xf9d1e0(0x25e)](_0x8b7153=>_0x8b7153['fieldId']!==_0x428e7f);_0x2b2718&&_0x38f0d5[_0xf9d1e0(0x260)]({'fieldId':_0x428e7f,'filterInfo':_0x2b2718}),_0x54ca6b[_0xf9d1e0(0x2b9)]=_0x38f0d5;}function ls(_0x1b24fd,_0x546e2e){const _0x2b60be=_0x27d18f,{fieldId:_0x6a6e1c,subtotalType:_0x1108f9}=_0x546e2e,_0x5861af=Je(_0x1b24fd,_0x6a6e1c);_0x5861af&&(_0x5861af[_0x2b60be(0x218)]=_0x1108f9);}function cs(_0x2d8475,_0xa50e4f){const _0x48b6dd=_0x27d18f,{fieldId:_0xb3df8c,oldArea:_0x3b9c09,area:_0x2a62c6,oldIndex:_0x5b3348,index:_0x57e16e}=_0xa50e4f,_0xd458f1=_0x3b9c09!==_0x37b460[_0x48b6dd(0x240)]&&_0x2a62c6===_0x37b460[_0x48b6dd(0x240)],_0x15bca0=_0x3b9c09===_0x37b460[_0x48b6dd(0x240)]&&_0x2a62c6!==_0x37b460['Value'];if(_0xd458f1||_0x15bca0){const _0x14b6a7=Je(_0x2d8475,_0xb3df8c);_0x14b6a7&&(_0xd458f1?(delete _0x2d8475[_0x48b6dd(0x2cb)][_0xb3df8c],_0x2d8475[_0x48b6dd(0x378)][_0xb3df8c]=_0x14b6a7):(delete _0x2d8475[_0x48b6dd(0x378)][_0xb3df8c],_0x2d8475[_0x48b6dd(0x2cb)][_0xb3df8c]=_0x14b6a7));}const _0x339d1f=Nt(_0x2d8475,_0x3b9c09),_0x128489=Nt(_0x2d8475,_0x2a62c6);_0x339d1f[_0x48b6dd(0x3f6)](_0x5b3348,0x1),_0x128489[_0x48b6dd(0x3f6)](_0x57e16e,0x0,_0xb3df8c);}function ds(_0x5b6361,_0x4af29c){const _0x363316=_0x27d18f,{valuePosition:_0x41e2cd,index:_0x573d91}=_0x4af29c;_0x5b6361[_0x363316(0x36d)]=_0x41e2cd,_0x5b6361[_0x363316(0x3b8)]=_0x573d91;}function us(_0x471418,_0x1b8312){const {tableFieldId:_0x4e844e,sourceName:_0x131109,dataFieldId:_0x506b36}=_0x1b8312,_0x3aea4d=Je(_0x471418,_0x4e844e);_0x3aea4d&&(_0x3aea4d['sourceName']=_0x131109,_0x3aea4d['dataFieldId']=_0x506b36);}function fs(_0x224d00,_0x3fa8c4){const _0x4eee5a=_0x27d18f,{fieldId:_0x468f33,sortInfo:_0x1c4cd8}=_0x3fa8c4,_0x2d65b5=Je(_0x224d00,_0x468f33);_0x2d65b5&&(_0x2d65b5[_0x4eee5a(0x2a8)]=_0x1c4cd8);}function gs(_0x38225d,_0x4cabb5){const _0x3d9f8a=_0x27d18f,{options:_0x51168a}=_0x4cabb5;_0x38225d[_0x3d9f8a(0x2fa)]={..._0x38225d[_0x3d9f8a(0x2fa)],..._0x51168a};}const qt={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x258),'handler'(_0x457d50,_0x283dab){const _0x362a9c=_0x27d18f;if(!_0x283dab)return!0x1;if(!!_0x457d50['get'](_0x27c3ed)['getConfig'](z))return!0x0;const _0x180295=_0x457d50['get'](q),{pivotTableId:_0x4e4cac,fieldJson:_0x8b7815,area:_0x5d6d12,index:_0x4c0d33,unitId:_0x2e5f91,subUnitId:_0x18ae81}=_0x283dab,_0x3321d1=_0x180295['getPivotTableInstance'](_0x4e4cac);if(!_0x3321d1)return!0x1;let _0x4115c9;_0x5d6d12===_0x37b460[_0x362a9c(0x240)]?_0x4115c9=_0x192f83(_0x8b7815):_0x4115c9=_0xf0c8d3(_0x8b7815),_0x3321d1['addField'](_0x4115c9,_0x5d6d12,_0x4c0d33);const _0x40b1d1=_0x180295['getPivotTableModelConfig'](_0x2e5f91,_0x18ae81,_0x4e4cac);ts(_0x40b1d1,_0x283dab);const _0x54b341=_0x180295['getPivotTableConfig'](_0x2e5f91,_0x18ae81,_0x4e4cac);return _0x180295[_0x362a9c(0x188)]({'unitId':_0x2e5f91,'subUnitId':_0x18ae81,'token':_0x4e4cac,'type':B[_0x362a9c(0x287)],'pivotConfig':_0x54b341}),!0x0;}},$t={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x5edcf8,_0x2b74bc){const _0x41e52e=_0x27d18f;if(!_0x2b74bc)return!0x1;if(!!_0x5edcf8[_0x41e52e(0x206)](_0x27c3ed)[_0x41e52e(0x356)](z))return!0x0;const _0x1ec480=_0x5edcf8['get'](q),{pivotTableId:_0x3d4e9f,fieldId:_0x277a6f,unitId:_0x32ae43,subUnitId:_0x57d9e7}=_0x2b74bc,_0x5e0cd6=_0x1ec480[_0x41e52e(0x37c)](_0x3d4e9f);if(!_0x5e0cd6)return!0x1;_0x5e0cd6[_0x41e52e(0x2cd)](_0x277a6f);const _0x4aaf80=_0x1ec480[_0x41e52e(0x3ed)](_0x32ae43,_0x57d9e7,_0x3d4e9f);os(_0x4aaf80,_0x2b74bc);const _0x42755e=_0x1ec480[_0x41e52e(0x27c)](_0x32ae43,_0x57d9e7,_0x3d4e9f);return _0x1ec480[_0x41e52e(0x188)]({'unitId':_0x32ae43,'subUnitId':_0x57d9e7,'token':_0x3d4e9f,'type':B[_0x41e52e(0x287)],'pivotConfig':_0x42755e}),!0x0;}},Jt={'type':_0x538c0b['MUTATION'],'id':_0x27d18f(0x39c),'handler'(_0x51c912,_0x2db11b){const _0x5eb5ef=_0x27d18f;if(!_0x2db11b)return!0x1;if(!!_0x51c912[_0x5eb5ef(0x206)](_0x27c3ed)[_0x5eb5ef(0x356)](z))return!0x0;const _0x12c814=_0x51c912[_0x5eb5ef(0x206)](q),{unitId:_0x545cb7,subUnitId:_0x1acbcc,pivotTableId:_0x2c49e2,fieldId:_0xb756a3,name:_0x40a28a}=_0x2db11b,_0x4208d3=_0x12c814[_0x5eb5ef(0x37c)](_0x2c49e2);if(!_0x4208d3)return!0x1;_0x4208d3['renameField'](_0xb756a3,_0x40a28a);const _0x21784e=_0x12c814[_0x5eb5ef(0x3ed)](_0x545cb7,_0x1acbcc,_0x2c49e2);return ns(_0x21784e,_0x2db11b),_0x12c814[_0x5eb5ef(0x188)]({'unitId':_0x545cb7,'subUnitId':_0x1acbcc,'token':_0x2c49e2,'type':B['Set']}),!0x0;}},Ht={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0xa4c27c,_0x6ca737){const _0x5be7bf=_0x27d18f;if(!_0x6ca737)return!0x1;if(!!_0xa4c27c[_0x5be7bf(0x206)](_0x27c3ed)[_0x5be7bf(0x356)](z))return!0x0;const _0x5aec67=_0xa4c27c[_0x5be7bf(0x206)](q),{unitId:_0x17915b,subUnitId:_0x194c69,pivotTableId:_0x4891bf,fieldId:_0x4053ce,collapse:_0x59a3c9,item:_0x1f2ce7}=_0x6ca737,_0x45e416=_0x5aec67[_0x5be7bf(0x37c)](_0x4891bf);if(!_0x45e416)return!0x1;_0x45e416[_0x5be7bf(0x33d)](_0x4053ce,_0x59a3c9,_0x1f2ce7);const _0x583c56=_0x5aec67[_0x5be7bf(0x3ed)](_0x17915b,_0x194c69,_0x4891bf);return is(_0x583c56,_0x6ca737),_0x5aec67['addDirtyPivotTable']({'unitId':_0x17915b,'subUnitId':_0x194c69,'token':_0x4891bf,'type':B[_0x5be7bf(0x287)]}),!0x0;}},Gt={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x296),'handler'(_0x515754,_0x101de4){const _0x4eb039=_0x27d18f;if(!_0x101de4)return!0x1;if(!!_0x515754['get'](_0x27c3ed)[_0x4eb039(0x356)](z))return!0x0;const _0x2e9413=_0x515754[_0x4eb039(0x206)](q),{unitId:_0x550178,subUnitId:_0x48e647,pivotTableId:_0x3cdfe1,fieldId:_0x218307,format:_0x4aaeb5}=_0x101de4,_0x53cdd7=_0x2e9413[_0x4eb039(0x37c)](_0x3cdfe1);if(!_0x53cdd7)return!0x1;_0x53cdd7[_0x4eb039(0x2ac)](_0x218307,_0x4aaeb5);const _0x1688b8=_0x2e9413[_0x4eb039(0x3ed)](_0x550178,_0x48e647,_0x3cdfe1);return ss(_0x1688b8,_0x101de4),_0x2e9413[_0x4eb039(0x188)]({'unitId':_0x550178,'subUnitId':_0x48e647,'token':_0x3cdfe1,'type':B[_0x4eb039(0x287)]}),!0x0;}},jt={'type':_0x538c0b['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x2821d1,_0x43bbb4){const _0x441f07=_0x27d18f;if(!_0x43bbb4)return!0x1;if(!!_0x2821d1['get'](_0x27c3ed)[_0x441f07(0x356)](z))return!0x0;const _0x58a5b4=_0x2821d1[_0x441f07(0x206)](q),{unitId:_0x421574,subUnitId:_0x546e45,pivotTableId:_0xb2b043,fieldId:_0x7ad53e,filterInfo:_0x509976}=_0x43bbb4,_0x462a9d=_0x58a5b4[_0x441f07(0x37c)](_0xb2b043);if(!_0x462a9d)return!0x1;_0x462a9d[_0x441f07(0x3b4)](_0x7ad53e,_0x509976);const _0x5e1dd7=_0x58a5b4['getPivotTableModelConfig'](_0x421574,_0x546e45,_0xb2b043);return as(_0x5e1dd7,_0x43bbb4),_0x58a5b4[_0x441f07(0x188)]({'unitId':_0x421574,'subUnitId':_0x546e45,'token':_0xb2b043,'type':B[_0x441f07(0x287)]}),!0x0;}},Kt={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':'sheet.mutation.set-pivot-option','handler'(_0x23c342,_0x363c10){const _0x4363fd=_0x27d18f;if(!_0x363c10)return!0x1;if(!!_0x23c342[_0x4363fd(0x206)](_0x27c3ed)['getConfig'](z))return!0x0;const _0x1832f6=_0x23c342['get'](q),{unitId:_0x4ef2ef,subUnitId:_0x95ee87,pivotTableId:_0x5abcad,options:_0x159fb6}=_0x363c10,_0x2fb13d=_0x1832f6[_0x4363fd(0x37c)](_0x5abcad);if(!_0x2fb13d)return!0x1;_0x2fb13d['setOptions'](_0x159fb6);const _0x3cd07c=_0x1832f6[_0x4363fd(0x3ed)](_0x4ef2ef,_0x95ee87,_0x5abcad);return gs(_0x3cd07c,_0x363c10),_0x1832f6['addDirtyPivotTable']({'unitId':_0x4ef2ef,'subUnitId':_0x95ee87,'token':_0x5abcad,'type':B[_0x4363fd(0x287)]}),!0x0;}},Yt={'type':_0x538c0b['MUTATION'],'id':_0x27d18f(0x389),'handler'(_0x4904b5,_0x1f0ce9){const _0x2d896b=_0x27d18f;if(!_0x1f0ce9)return!0x1;if(!!_0x4904b5[_0x2d896b(0x206)](_0x27c3ed)[_0x2d896b(0x356)](z))return!0x0;const _0xa95c65=_0x4904b5[_0x2d896b(0x206)](q),{unitId:_0x3032d0,subUnitId:_0x2a7c7b,pivotTableId:_0x5db761,sortInfo:_0x131465,fieldId:_0x31cff5}=_0x1f0ce9,_0x3f4756=_0xa95c65['getPivotTableInstance'](_0x5db761);if(!_0x3f4756)return!0x1;_0x3f4756[_0x2d896b(0x32e)](_0x31cff5,_0x131465);const _0x544d23=_0xa95c65[_0x2d896b(0x3ed)](_0x3032d0,_0x2a7c7b,_0x5db761);return fs(_0x544d23,_0x1f0ce9),_0xa95c65[_0x2d896b(0x188)]({'unitId':_0x3032d0,'subUnitId':_0x2a7c7b,'token':_0x5db761,'type':B[_0x2d896b(0x287)]}),!0x0;}},zt={'type':_0x538c0b['MUTATION'],'id':_0x27d18f(0x1f0),'handler'(_0x4eea3e,_0x467775){const _0x4b37f6=_0x27d18f;if(!_0x467775)return!0x1;if(!!_0x4eea3e[_0x4b37f6(0x206)](_0x27c3ed)['getConfig'](z))return!0x0;const _0x19062d=_0x4eea3e[_0x4b37f6(0x206)](q),{unitId:_0x5772f7,subUnitId:_0x274c9d,pivotTableId:_0x455329,fieldId:_0x238e59,subtotalType:_0x5aee23}=_0x467775,_0x4b275a=_0x19062d['getPivotTableInstance'](_0x455329);if(!_0x4b275a)return!0x1;_0x4b275a[_0x4b37f6(0x237)](_0x238e59,_0x5aee23);const _0x503515=_0x19062d[_0x4b37f6(0x3ed)](_0x5772f7,_0x274c9d,_0x455329);return ls(_0x503515,_0x467775),_0x19062d[_0x4b37f6(0x188)]({'unitId':_0x5772f7,'subUnitId':_0x274c9d,'token':_0x455329,'type':B[_0x4b37f6(0x287)]}),!0x0;}},Qt={'type':_0x538c0b['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x3513e3,_0x2b4e4d){const _0xa63cd4=_0x27d18f;if(!_0x2b4e4d)return!0x1;if(!!_0x3513e3[_0xa63cd4(0x206)](_0x27c3ed)[_0xa63cd4(0x356)](z))return!0x0;const _0x553e7b=_0x3513e3[_0xa63cd4(0x206)](q),{unitId:_0xc237c7,subUnitId:_0x1d63bc,pivotTableId:_0x5ad825,fieldId:_0x1b982a,filterInfo:_0x1c555a}=_0x2b4e4d,_0x5ed32c=_0x553e7b[_0xa63cd4(0x37c)](_0x5ad825);if(!_0x5ed32c)return!0x1;_0x5ed32c[_0xa63cd4(0x27d)](_0x1b982a,_0x1c555a);const _0xdcbf39=_0x553e7b[_0xa63cd4(0x3ed)](_0xc237c7,_0x1d63bc,_0x5ad825);return rs(_0xdcbf39,_0x2b4e4d),_0x553e7b[_0xa63cd4(0x188)]({'unitId':_0xc237c7,'subUnitId':_0x1d63bc,'token':_0x5ad825,'type':B[_0xa63cd4(0x287)]}),!0x0;}},Xt={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x3c5),'handler'(_0x37c07a,_0x13b54d){const _0x358950=_0x27d18f;if(!_0x13b54d)return!0x1;if(!!_0x37c07a['get'](_0x27c3ed)['getConfig'](z))return!0x0;const _0x44aedf=_0x37c07a[_0x358950(0x206)](q),{unitId:_0x1cbaf6,subUnitId:_0x262247,pivotTableId:_0x2d23c1,area:_0x3953a7,index:_0x10613d,fieldId:_0x1655ca}=_0x13b54d,_0x18c524=_0x44aedf[_0x358950(0x37c)](_0x2d23c1);if(!_0x18c524)return!0x1;_0x18c524[_0x358950(0x401)](_0x1655ca,_0x3953a7,_0x10613d);const _0x568fbf=_0x44aedf[_0x358950(0x3ed)](_0x1cbaf6,_0x262247,_0x2d23c1);return cs(_0x568fbf,_0x13b54d),_0x44aedf['addDirtyPivotTable']({'unitId':_0x1cbaf6,'subUnitId':_0x262247,'token':_0x2d23c1,'type':B['Set']}),!0x0;}},Zt={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x160d7f,_0x1d800a){const _0x42e589=_0x27d18f;if(!_0x1d800a)return!0x1;if(!!_0x160d7f[_0x42e589(0x206)](_0x27c3ed)['getConfig'](z))return!0x0;const _0x40e68a=_0x160d7f[_0x42e589(0x206)](q),{unitId:_0x12a01f,subUnitId:_0x49f609,pivotTableId:_0x30d48d,sourceName:_0x2333a2,dataFieldId:_0x546c6b,tableFieldId:_0x321843}=_0x1d800a,_0x2ab00b=_0x40e68a[_0x42e589(0x37c)](_0x30d48d);if(!_0x2ab00b)return!0x1;_0x2ab00b[_0x42e589(0x27a)](_0x321843,_0x2333a2,_0x546c6b);const _0xf90740=_0x40e68a[_0x42e589(0x3ed)](_0x12a01f,_0x49f609,_0x30d48d);return us(_0xf90740,_0x1d800a),_0x40e68a[_0x42e589(0x188)]({'unitId':_0x12a01f,'subUnitId':_0x49f609,'token':_0x30d48d,'type':B['Set']}),!0x0;}},eo={'type':_0x538c0b['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x4c7e56,_0xebaaaf){const _0x58d5ec=_0x27d18f;if(!_0xebaaaf)return!0x1;if(!!_0x4c7e56[_0x58d5ec(0x206)](_0x27c3ed)['getConfig'](z))return!0x0;const _0x2a1509=_0x4c7e56[_0x58d5ec(0x206)](q),{unitId:_0x347e9f,subUnitId:_0x1adcca,pivotTableId:_0x277382,valuePosition:_0x155d5f,index:_0x59a909}=_0xebaaaf,_0x586d50=_0x2a1509['getPivotTableInstance'](_0x277382);if(!_0x586d50)return!0x1;_0x586d50['updateValuePosition'](_0x155d5f,_0x59a909);const _0x23250e=_0x2a1509[_0x58d5ec(0x3ed)](_0x347e9f,_0x1adcca,_0x277382);return ds(_0x23250e,_0xebaaaf),_0x2a1509[_0x58d5ec(0x188)]({'unitId':_0x347e9f,'subUnitId':_0x1adcca,'token':_0x277382,'type':B[_0x58d5ec(0x287)]}),!0x0;}};function me(_0x3f35ae,_0x365b03,_0x349566){const _0x480825=_0x27d18f,{pivotTableId:_0x8edd4b,unitId:_0x3cacd1,subUnitId:_0x4a9c59}=_0x365b03,_0x2a0469=[],_0x231b29=[];for(const _0x12b739 of _0x349566)switch(_0x12b739[_0x480825(0x23e)]){case _0x524689[_0x480825(0x3da)]:{const {fieldJson:_0x357f65,area:_0x4745a8,index:_0x3e3d7f}=_0x12b739,_0x206eb9={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldJson':_0x357f65,'area':_0x4745a8,'index':_0x3e3d7f},_0x3fd122={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x357f65['id'],'area':_0x4745a8,'index':_0x3e3d7f};_0x2a0469[_0x480825(0x260)]({'id':qt['id'],'params':_0x206eb9}),_0x231b29[_0x480825(0x2ee)]({'id':$t['id'],'params':_0x3fd122});}break;case _0x524689[_0x480825(0x1b3)]:{const {fieldId:_0x5385e7,newSubtotalType:_0x272dd9,oldSubtotalType:_0x193082}=_0x12b739,_0x212880={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x5385e7,'subtotalType':_0x272dd9};_0x2a0469[_0x480825(0x260)]({'id':zt['id'],'params':_0x212880});const _0x18b5a7={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x5385e7,'subtotalType':_0x193082};_0x231b29[_0x480825(0x2ee)]({'id':zt['id'],'params':_0x18b5a7});}break;case _0x524689[_0x480825(0x22a)]:{const {fieldId:_0x2228b7,fieldJson:_0x1ad51a,area:_0x26fa1e,index:_0x60b1e8}=_0x12b739,_0x434529={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x2228b7,'index':_0x60b1e8,'area':_0x26fa1e};_0x2a0469[_0x480825(0x260)]({'id':$t['id'],'params':_0x434529});const _0x1f79a4={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldJson':_0x1ad51a,'area':_0x26fa1e,'index':_0x60b1e8};_0x231b29[_0x480825(0x2ee)]({'id':qt['id'],'params':_0x1f79a4});}break;case _0x524689[_0x480825(0x310)]:{const {fieldId:_0x551a3a,oldName:_0x449350,newName:_0x1d3e44}=_0x12b739,_0x526c4b={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x551a3a,'name':_0x1d3e44};_0x2a0469[_0x480825(0x260)]({'id':Jt['id'],'params':_0x526c4b});const _0x11aa06={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x551a3a,'name':_0x449350};_0x231b29['unshift']({'id':Jt['id'],'params':_0x11aa06});}break;case _0x524689[_0x480825(0x326)]:{const {fieldId:_0x2942cc,oldFilterInfo:_0x1f8fec,newFilterInfo:_0x46391d}=_0x12b739,_0x5a18da={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x2942cc,'filterInfo':_0x46391d};_0x2a0469[_0x480825(0x260)]({'id':jt['id'],'params':_0x5a18da});const _0x5127e4={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x2942cc,'filterInfo':_0x1f8fec};_0x231b29[_0x480825(0x2ee)]({'id':jt['id'],'params':_0x5127e4});}break;case _0x524689[_0x480825(0x232)]:{const {fieldId:_0x56007b,oldSortInfo:_0x462638,newSortInfo:_0x153e88}=_0x12b739,_0x366822={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x56007b,'sortInfo':_0x153e88};_0x2a0469['push']({'id':Yt['id'],'params':_0x366822});const _0x3b8ab0={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x56007b,'sortInfo':_0x462638};_0x231b29[_0x480825(0x2ee)]({'id':Yt['id'],'params':_0x3b8ab0});}break;case _0x524689[_0x480825(0x1e1)]:{const {oldOptions:_0x1f902c,newOptions:_0x29672e}=_0x12b739,_0x30b83f={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'options':_0x29672e};_0x2a0469['push']({'id':Kt['id'],'params':_0x30b83f});const _0x2e469d={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'options':_0x1f902c};_0x231b29[_0x480825(0x2ee)]({'id':Kt['id'],'params':_0x2e469d});}break;case _0x524689['UpdateFieldPosition']:{const {oldArea:_0xf99511,newArea:_0x337a98,oldIndex:_0x105f4e,newIndex:_0x31455b,fieldId:_0x2e503d}=_0x12b739,_0x32da17={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x2e503d,'area':_0x337a98,'index':_0x31455b,'oldArea':_0xf99511,'oldIndex':_0x105f4e};_0x2a0469[_0x480825(0x260)]({'id':Xt['id'],'params':_0x32da17});const _0x12112a={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x2e503d,'area':_0xf99511,'index':_0x105f4e,'oldArea':_0x337a98,'oldIndex':_0x31455b};_0x231b29[_0x480825(0x2ee)]({'id':Xt['id'],'params':_0x12112a});}break;case _0x524689[_0x480825(0x20a)]:{const {oldValuePosition:_0x79cd2,newValuePosition:_0x53b17e,oldIndex:_0x3faef9,newIndex:_0x3cda1f}=_0x12b739,_0x5ab766={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'valuePosition':_0x53b17e,'index':_0x3cda1f};_0x2a0469['push']({'id':eo['id'],'params':_0x5ab766});const _0x43eddc={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'valuePosition':_0x79cd2,'index':_0x3faef9};_0x231b29[_0x480825(0x2ee)]({'id':eo['id'],'params':_0x43eddc});}break;case _0x524689['SetCollapse']:{const {fieldId:_0x1413d1,collapse:_0x2cf574,item:_0x1ba360}=_0x12b739,_0x4b754e={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x1413d1,'collapse':_0x2cf574,'item':_0x1ba360};_0x2a0469[_0x480825(0x260)]({'id':Ht['id'],'params':_0x4b754e});const _0x5187e5={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x1413d1,'collapse':!_0x2cf574,'item':_0x1ba360};_0x231b29[_0x480825(0x2ee)]({'id':Ht['id'],'params':_0x5187e5});}break;case _0x524689[_0x480825(0x3d6)]:{const {newFormat:_0x42c562,oldFormat:_0x301738,fieldId:_0x134c8a}=_0x12b739,_0xce387a={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x134c8a,'format':_0x42c562};_0x2a0469[_0x480825(0x260)]({'id':Gt['id'],'params':_0xce387a});const _0x5ce511={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x134c8a,'format':_0x301738};_0x231b29[_0x480825(0x2ee)]({'id':Gt['id'],'params':_0x5ce511});}break;case _0x524689[_0x480825(0x245)]:{const {tableFieldId:_0xb818ed,oldSourceName:_0x5420eb,newSourceName:_0x25a3eb,oldDataFieldId:_0xb9d742,newDataFieldId:_0x4faf83}=_0x12b739,_0x537645={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'tableFieldId':_0xb818ed,'sourceName':_0x25a3eb,'dataFieldId':_0x4faf83};_0x2a0469[_0x480825(0x260)]({'id':Zt['id'],'params':_0x537645});const _0x99cae1={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'tableFieldId':_0xb818ed,'sourceName':_0x5420eb,'dataFieldId':_0xb9d742};_0x231b29[_0x480825(0x2ee)]({'id':Zt['id'],'params':_0x99cae1});}break;case _0x524689[_0x480825(0x211)]:{const {fieldId:_0x79352c,filterInfo:_0x350bf5,oldFilterInfo:_0x4da7d7}=_0x12b739,_0x4b5c7b={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x79352c,'filterInfo':_0x350bf5};_0x2a0469[_0x480825(0x260)]({'id':Qt['id'],'params':_0x4b5c7b});const _0x10a1dd={'unitId':_0x3cacd1,'subUnitId':_0x4a9c59,'pivotTableId':_0x8edd4b,'fieldId':_0x79352c,'filterInfo':_0x4da7d7};_0x231b29[_0x480825(0x2ee)]({'id':Qt['id'],'params':_0x10a1dd});}}return{'redos':_0x2a0469,'undos':_0x231b29};}function _e(_0x4db8a9,_0x29873f){const _0x43d340=_0x27d18f;var _0x523a28;const _0x44d293=_0x4db8a9[_0x43d340(0x206)](ie),{cellInfo:_0x2ef3ab,view:_0x50fca4,isEmpty:_0x584c85}=_0x29873f;return(_0x523a28=_0x44d293[_0x43d340(0x31c)][_0x43d340(0x28e)](qo)(Po,{'cellInfo':_0x2ef3ab,'view':_0x50fca4,'isEmpty':_0x584c85}))!=null?_0x523a28:Po;}const vs={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x200),async 'handler'(_0x15ace6,_0x3d3688){const _0xe0c17a=_0x27d18f;if(!_0x3d3688)return!0x1;const _0x5c697d=_0x15ace6[_0xe0c17a(0x206)](_0xeb5b23),_0x14b2ac=_0x15ace6[_0xe0c17a(0x206)](X),_0x5881c6=_0x15ace6[_0xe0c17a(0x206)](_0x27da56),{pivotTableId:_0x402883,dataFieldId:_0x1c578f,fieldArea:_0x30d1c4,index:_0x3cf3a4,unitId:_0x31a97b,subUnitId:_0x32ab10}=_0x3d3688,_0x26726d=(await _0x14b2ac[_0xe0c17a(0x28c)]({'unitId':_0x31a97b,'subUnitId':_0x32ab10,'pivotTableId':_0x402883,'params':{'type':W['AddPivotField'],'addPivotField':{'dataFieldId':_0x1c578f,'fieldArea':_0x30d1c4,'index':_0x3cf3a4}}}))[_0xe0c17a(0x2e0)][_0xe0c17a(0x318)];if(!_0x26726d)return!0x1;const {view:_0x13a00b,changesets:_0x2d595e,isEmpty:_0x15314e,pivotTableConfig:_0x1b4666,shouldBeAddedGroupJSON:_0x5c03ce}=_0x26726d,_0x3f6695=_0x1b4666['targetCellInfo'],_0x1c5302=new _0x2c3b07();_0x1c5302[_0xe0c17a(0x38e)](_0x13a00b);const _0x24c32d={'cellInfo':_0x3f6695,'view':_0x1c5302,'isEmpty':_0x15314e};if(!await _0x15ace6['get'](ie)[_0xe0c17a(0x2ad)][_0xe0c17a(0x2c7)](be)(!0x0,_0x24c32d))return!0x1;const _0x39564c=we(_0x15ace6,_0x1c5302,_0x3f6695,_0x15314e),_0x567ff4=_e(_0x15ace6,_0x24c32d),{undos:_0x5ae168,redos:_0x1e6df4}=me(_0x5c697d,{'pivotTableId':_0x402883,'unitId':_0x31a97b,'subUnitId':_0x32ab10},_0x2d595e);return _0x5c03ce&&(_0x1e6df4[_0xe0c17a(0x2ee)]({'id':zo['id'],'params':{'pivotTableId':_0x402883,'fieldJSON':_0x5c03ce,'unitId':_0x31a97b,'subUnitId':_0x32ab10}}),_0x5ae168[_0xe0c17a(0x260)]({'id':Qo['id'],'params':{'pivotTableId':_0x402883,'dataFieldId':_0x5c03ce['id'],'unitId':_0x31a97b,'subUnitId':_0x32ab10}})),_0x3181f1([..._0x39564c[_0xe0c17a(0x3cd)],..._0x567ff4[_0xe0c17a(0x3cd)],..._0x1e6df4],_0x5c697d),_0x5881c6[_0xe0c17a(0x377)]({'unitID':_0x31a97b,'redoMutations':[..._0x39564c[_0xe0c17a(0x3cd)],..._0x567ff4[_0xe0c17a(0x3cd)],..._0x1e6df4],'undoMutations':[..._0x39564c[_0xe0c17a(0x1b9)],..._0x567ff4[_0xe0c17a(0x1b9)],..._0x5ae168]}),!0x0;}},hs=()=>typeof process<'u'&&process[_0x27d18f(0x358)]!=null&&process['versions'][_0x27d18f(0x220)]!=null,Ct={'type':_0x538c0b['MUTATION'],'id':_0x27d18f(0x1c3),'handler'(_0x230e64,_0x5f15e7){const _0x36ab66=_0x27d18f;var _0x9695c6;if(!_0x5f15e7)return!0x1;const _0x108982=_0x230e64['get'](_0x27c3ed);if(!!_0x108982[_0x36ab66(0x356)](z))return!0x0;const _0xe323e1=_0x230e64[_0x36ab66(0x206)](_0x5d554d),_0x144357=_0x230e64[_0x36ab66(0x206)](q),{pivotTableId:_0x40d2fb,pivotTableConfig:_0x1ae9f2,collectionConfig:_0x51dc20,unitId:_0x23e05e,subUnitId:_0xf27252}=_0x5f15e7,{sourceRangeInfo:_0x4f4778,fieldsConfig:_0x821d0f,targetCellInfo:_0x385da9}=_0x1ae9f2,_0x3eb901=_0xe323e1['getUnit'](_0x23e05e);if(!_0x3eb901||!_0x3eb901[_0x36ab66(0x2f6)](_0xf27252))return!0x1;if(!hs()){let _0x541bab=0x0;_0x3eb901[_0x36ab66(0x18c)]()[_0x36ab66(0x23b)](_0x1953c1=>{const _0x52e943=_0x36ab66;var _0x246690,_0x35765f;_0x541bab+=(_0x35765f=(_0x246690=_0x144357[_0x52e943(0x3ba)](_0x23e05e,_0x1953c1['getSheetId']()))==null?void 0x0:_0x246690['size'])!=null?_0x35765f:0x0;});const _0x40a8d2=(_0x9695c6=_0x108982[_0x36ab66(0x356)](_0x338279))!=null?_0x9695c6:{},{ls:_0x41da58,pbk:_0x47ac7c}=_0x40a8d2;if(!Go(_0x41da58,_0x47ac7c))throw new _0x261cb3('limit\x20pivot');const _0x5724dc=go(so,_0x41da58,_0x47ac7c)[_0x36ab66(0x1a8)];if(_0x541bab>=_0x5724dc)throw new _0x261cb3(_0x36ab66(0x36e));}if(!_0x51dc20||!_0x821d0f)return!0x1;const {collection:_0x22c912,updateDataFieldList:_0x1d9644}=_0x144357[_0x36ab66(0x284)](_0x40d2fb,_0x51dc20,_0x4f4778,_0x385da9);_0x144357[_0x36ab66(0x2df)](_0x22c912,_0x1d9644,_0x4f4778);const _0x276cd9=new _0x536307(_0x22c912,void 0x0,_0x40d2fb);_0x276cd9['fromJSON'](_0x821d0f);const _0x4e6515=JSON[_0x36ab66(0x2c0)](JSON[_0x36ab66(0x3b9)](_0x1ae9f2));return _0x144357[_0x36ab66(0x35e)](_0x23e05e,_0xf27252,_0x40d2fb,_0x276cd9,_0x4e6515),_0x144357[_0x36ab66(0x188)]({'unitId':_0x23e05e,'subUnitId':_0xf27252,'token':_0x40d2fb,'type':B[_0x36ab66(0x2bd)],'pivotConfig':_0x4e6515}),!0x0;}},ps={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x1b1),async 'handler'(_0x1af4e7,_0x30781f){const _0x54a5bf=_0x27d18f;if(!_0x30781f)return!0x1;const {sourceDataInfo:_0x238684,pivotTableConfig:_0x461a66}=_0x30781f;if(!_0x238684||!_0x461a66)return!0x1;const {unitId:_0x369286,subUnitId:_0x4c44c1,range:_0x14749e}=_0x238684,_0x446edf=_0x1af4e7[_0x54a5bf(0x206)](_0x5d554d),_0x3acbd2=_0x1af4e7['get'](X),_0x509984=_0x1af4e7[_0x54a5bf(0x206)](_0x468b9c),_0x1dc71f=_0x1af4e7[_0x54a5bf(0x206)](_0xeb5b23),_0x40c0ee=_0x446edf[_0x54a5bf(0x327)](_0x369286);if(!_0x40c0ee)return!0x1;const _0x2808dd=_0x40c0ee[_0x54a5bf(0x2f6)](_0x4c44c1);if(!_0x2808dd)return!0x1;const _0x1ce93e=_0x365949(0x8),_0x119fd4=_0x14749e||{'startRow':0x0,'startColumn':0x0,'endRow':_0x2808dd[_0x54a5bf(0x29e)]()-0x1,'endColumn':_0x2808dd['getColumnCount']()-0x1};_0x119fd4[_0x54a5bf(0x33e)]=_0x2619ff[_0x54a5bf(0x2de)];const _0x269e71=(await _0x3acbd2[_0x54a5bf(0x28c)]({'unitId':_0x369286,'subUnitId':_0x4c44c1,'pivotTableId':_0x1ce93e,'params':{'type':W[_0x54a5bf(0x2af)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x369286,'sheetName':_0x2808dd[_0x54a5bf(0x2eb)](),'subUnitId':_0x4c44c1,'range':_0x119fd4},'pivotTableId':_0x1ce93e,'pivotTableIndexConfig':_0x461a66}}}))[_0x54a5bf(0x2e0)]['addPivotTableWithConfig'];if(!_0x269e71)return!0x1;const {isEmpty:_0x23facc,fieldsConfig:_0x255447,collectionConfig:_0x5f143b,changesets:_0x5a6b5a}=_0x269e71,_0x41a8fb=_0x40c0ee[_0x54a5bf(0x18c)]()[_0x54a5bf(0x210)],_0x2fc493=_0x1fba24({'rowCount':_0x2808dd[_0x54a5bf(0x29e)]()-0x1,'columnCount':_0x2808dd[_0x54a5bf(0x37b)]()-0x1});_0x2fc493['id']=_0x41aee0(),_0x2fc493[_0x54a5bf(0x38d)]=_0x40c0ee['generateNewSheetName'](''+_0x509984['t']('sheets.tabs.sheet'));const _0x560efc={'index':_0x41a8fb,'sheet':_0x2fc493,'unitId':_0x369286},{redos:_0x2e18c5}=me(_0x1dc71f,{'pivotTableId':_0x1ce93e,'unitId':_0x369286,'subUnitId':_0x2fc493['id']},_0x5a6b5a),_0x4bc654=[{'id':_0x2233a6['id'],'params':_0x560efc},{'id':Ct['id'],'params':{'unitId':_0x369286,'subUnitId':_0x2fc493['id'],'pivotTableId':_0x1ce93e,'pivotTableConfig':{'isEmpty':_0x23facc,'fieldsConfig':_0x255447,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x369286,'subUnitId':_0x2fc493['id']},'sourceRangeInfo':{'subUnitId':_0x4c44c1,'unitId':_0x369286,'range':_0x119fd4,'sheetName':_0x2808dd[_0x54a5bf(0x2eb)]()}},'collectionConfig':_0x5f143b}},..._0x2e18c5];return _0x3181f1(_0x4bc654,_0x1dc71f),!0x0;}},Et={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x397),'handler'(_0x252399,_0x465eb7){const _0xb1381f=_0x27d18f;if(!_0x465eb7)return!0x1;if(!!_0x252399['get'](_0x27c3ed)[_0xb1381f(0x356)](z))return!0x0;const {pivotTableId:_0x30000f,unitId:_0x48aa2f,subUnitId:_0x401e87}=_0x465eb7,_0x300679=_0x252399[_0xb1381f(0x206)](q);return _0x300679[_0xb1381f(0x27c)](_0x48aa2f,_0x401e87,_0x30000f)?(_0x300679[_0xb1381f(0x188)]({'unitId':_0x48aa2f,'subUnitId':_0x401e87,'token':_0x30000f,'type':B['Delete']}),_0x300679[_0xb1381f(0x1ea)](_0x48aa2f,_0x401e87,_0x30000f),!0x0):!0x1;}},ms={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x376),async 'handler'(_0x1a76c5,_0x1d663a){const _0x57f000=_0x27d18f;var _0x59584c,_0x55ff91;const _0x1afd45=_0x1a76c5['get'](_0xeb5b23),_0x54d38c=_0x1a76c5[_0x57f000(0x206)](_0x5d554d),_0x3e9822=_0x1a76c5[_0x57f000(0x206)](_0x468b9c),_0x3961fe=_0x1a76c5[_0x57f000(0x206)](X),_0x5562e2=_0x1a76c5[_0x57f000(0x206)](_0x27da56),_0x28fb81=_0x1a76c5[_0x57f000(0x206)](he),_0x21c3ad=_0x1a76c5[_0x57f000(0x206)](_0x27c3ed);if(!_0x1d663a)return!0x1;const {pivotTableConfig:_0x195fa1,positionType:_0xf3af92}=_0x1d663a,{targetCellInfo:_0x538eb6,sourceRangeInfo:_0x176343}=_0x195fa1,{unitId:_0x15bdc8,subUnitId:_0x1f3dcb}=_0x538eb6,_0x44317=_0x54d38c['getUnit'](_0x15bdc8);if(!_0x44317)return!0x1;let _0x40c532=0x0;_0x44317['getSheets']()[_0x57f000(0x23b)](_0x59077f=>{const _0x221ac4=_0x57f000;var _0x185ab4,_0x1ba848;_0x40c532+=(_0x1ba848=(_0x185ab4=_0x28fb81[_0x221ac4(0x3ba)](_0x15bdc8,_0x59077f[_0x221ac4(0x375)]()))==null?void 0x0:_0x185ab4[_0x221ac4(0x25d)])!=null?_0x1ba848:0x0;});const _0x49b491=(_0x59584c=_0x21c3ad[_0x57f000(0x356)](_0x338279))!=null?_0x59584c:{},{ls:_0x3aeeda,pbk:_0x1ff762}=_0x49b491;if(!Go(_0x3aeeda,_0x1ff762))return!0x1;const _0x3c6412=go(so,_0x3aeeda,_0x1ff762)[_0x57f000(0x1a8)];if(_0x40c532>=_0x3c6412)return!0x1;const _0x2356e2=_0x1d663a[_0x57f000(0x225)]||_0x365949(0x8),_0x15f3af=(await _0x3961fe[_0x57f000(0x28c)]({'unitId':_0x15bdc8,'subUnitId':_0x1f3dcb,'pivotTableId':_0x2356e2,'params':{'type':W[_0x57f000(0x2ec)],'addPivotTable':{'sourceRangeInfo':_0x176343,'pivotTableId':_0x2356e2}}}))[_0x57f000(0x2e0)][_0x57f000(0x35e)];if(!_0x15f3af)return!0x1;const {view:_0x4ebec7,isEmpty:_0x580184,fieldsConfig:_0xa0f69b,collectionConfig:_0x45c324}=_0x15f3af,_0x4c3885=[],_0x4c056f=[];if(_0xf3af92===ko[_0x57f000(0x2c2)]){const _0x2a5b0=_0x44317[_0x57f000(0x18c)]()['length'],_0x557bb8=_0x1fba24({});_0x557bb8['id']=_0x195fa1[_0x57f000(0x38a)][_0x57f000(0x2f7)],_0x557bb8[_0x57f000(0x38d)]=(_0x55ff91=_0x195fa1[_0x57f000(0x38a)][_0x57f000(0x275)])!=null?_0x55ff91:_0x44317['generateNewSheetName'](''+_0x3e9822['t'](_0x57f000(0x3c4)));const _0x258fa1={'index':_0x2a5b0,'sheet':_0x557bb8,'unitId':_0x15bdc8},_0x15d862=_0x3ca679(_0x1a76c5,_0x258fa1);_0x4c3885[_0x57f000(0x260)]({'id':_0x36e426['id'],'params':_0x15d862}),_0x4c056f[_0x57f000(0x260)]({'id':_0x93f513['id'],'params':_0x258fa1});}else{if(!_0x44317[_0x57f000(0x2f6)](_0x1f3dcb))return!0x1;const _0x4ed744=we(_0x1a76c5,new _0x2c3b07(),_0x538eb6,!0x0);_0x4c056f[_0x57f000(0x260)](..._0x4ed744[_0x57f000(0x3cd)]),_0x4c3885[_0x57f000(0x260)](..._0x4ed744[_0x57f000(0x1b9)]);const _0x1309c6={'cellInfo':_0x538eb6,'view':_0x4ebec7,'isEmpty':_0x580184};if(!await _0x1a76c5[_0x57f000(0x206)](ie)[_0x57f000(0x2ad)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1309c6))return!0x1;const _0x65bd30=_e(_0x1a76c5,_0x1309c6);_0x4c056f[_0x57f000(0x260)](..._0x65bd30[_0x57f000(0x3cd)]),_0x4c3885[_0x57f000(0x260)](..._0x65bd30[_0x57f000(0x1b9)]);}return _0x4c056f[_0x57f000(0x260)]({'id':Ct['id'],'params':{'unitId':_0x538eb6['unitId'],'subUnitId':_0x538eb6[_0x57f000(0x2f7)],'pivotTableId':_0x2356e2,'pivotTableConfig':{'targetCellInfo':_0x538eb6,'sourceRangeInfo':_0x176343,'fieldsConfig':_0xa0f69b},'collectionConfig':_0x45c324}}),_0x4c3885['unshift']({'id':Et['id'],'params':{'unitId':_0x15bdc8,'subUnitId':_0x1f3dcb,'pivotTableId':_0x2356e2}}),_0x3181f1(_0x4c056f,_0x1afd45)&&_0x5562e2['pushUndoRedo']({'unitID':_0x15bdc8,'undoMutations':_0x4c3885,'redoMutations':_0x4c056f}),!0x0;}},Is={'type':_0x538c0b[_0x27d18f(0x259)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x23e30c,_0x29a86b){const _0x4e1735=_0x27d18f;if(!_0x29a86b)return!0x1;const _0x7e07b9=_0x23e30c[_0x4e1735(0x206)](_0xeb5b23),_0x2bbd97=_0x23e30c[_0x4e1735(0x206)](X),_0x1a68e0=_0x23e30c['get'](_0x27da56),{pivotTableId:_0x5b6907,fieldId:_0x239aba,area:_0x259136,index:_0xafe53d,unitId:_0x1d69d3,subUnitId:_0x387a05}=_0x29a86b,_0x2b33c9=(await _0x2bbd97['getPivotDisplayConfig']({'unitId':_0x1d69d3,'subUnitId':_0x387a05,'pivotTableId':_0x5b6907,'params':{'type':W[_0x4e1735(0x290)],'movePivotField':{'fieldId':_0x239aba,'area':_0x259136,'index':_0xafe53d}}}))[_0x4e1735(0x2e0)][_0x4e1735(0x246)];if(!_0x2b33c9)return!0x1;const {changesets:_0x58a2f8,view:_0x3421cf,isEmpty:_0xf1797a,pivotTableConfig:_0x37afcc}=_0x2b33c9,_0x23b5fa=_0x37afcc['targetCellInfo'],_0x4f7c8a=new _0x2c3b07();_0x4f7c8a[_0x4e1735(0x38e)](_0x3421cf);const _0x291fa2={'cellInfo':_0x23b5fa,'view':_0x4f7c8a,'isEmpty':_0xf1797a};if(!await _0x23e30c[_0x4e1735(0x206)](ie)[_0x4e1735(0x2ad)][_0x4e1735(0x2c7)](be)(!0x0,_0x291fa2))return!0x1;const _0x52c997=we(_0x23e30c,_0x4f7c8a,_0x23b5fa,_0xf1797a),_0x1f6487=_e(_0x23e30c,_0x291fa2),{redos:_0x1ea851,undos:_0x39cec0}=me(_0x7e07b9,{'pivotTableId':_0x5b6907,'unitId':_0x1d69d3,'subUnitId':_0x387a05},_0x58a2f8);return _0x3181f1([..._0x52c997[_0x4e1735(0x3cd)],..._0x1f6487[_0x4e1735(0x3cd)],..._0x1ea851],_0x7e07b9),_0x1a68e0[_0x4e1735(0x377)]({'unitID':_0x1d69d3,'redoMutations':[..._0x52c997[_0x4e1735(0x3cd)],..._0x1f6487[_0x4e1735(0x3cd)],..._0x1ea851],'undoMutations':[..._0x52c997['undos'],..._0x1f6487[_0x4e1735(0x1b9)],..._0x39cec0]}),!0x0;}},pt={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x3ec),'handler'(_0x365a14,_0x32d03e){const _0x4e0f65=_0x27d18f;if(!_0x32d03e)return!0x1;if(!!_0x365a14[_0x4e0f65(0x206)](_0x27c3ed)['getConfig'](z))return!0x0;const {pivotTableId:_0x2da434,targetCellPosition:_0x1d57d6,unitId:_0x2340db,subUnitId:_0x176e81}=_0x32d03e,_0x4b4674=_0x365a14['get'](q);if(!_0x4b4674[_0x4e0f65(0x37c)](_0x32d03e[_0x4e0f65(0x225)]))return!0x1;const _0x307cba=_0x4b4674[_0x4e0f65(0x292)](_0x2da434);if(!_0x307cba)return!0x1;const _0x3a9c4b=_0x4b4674[_0x4e0f65(0x39a)](_0x307cba['unitId'],_0x32d03e[_0x4e0f65(0x225)]);if(!_0x3a9c4b)return!0x1;const _0x139903=_0x4b4674['getPivotTableConfig'](_0x307cba[_0x4e0f65(0x1a1)],_0x307cba[_0x4e0f65(0x2f7)],_0x2da434);if(!_0x139903)return!0x1;const _0x23148d=_0x2dd55f[_0x4e0f65(0x230)](_0x139903);_0x23148d['targetCellInfo']={'unitId':_0x2340db,'subUnitId':_0x176e81,'row':_0x1d57d6[_0x4e0f65(0x338)],'col':_0x1d57d6['col']};const _0x5e9180=_0x3a9c4b['toJSON']();if(_0x307cba[_0x4e0f65(0x2f7)]===_0x176e81&&_0x307cba['unitId']===_0x2340db)_0x4b4674[_0x4e0f65(0x187)](_0x2340db,_0x176e81,_0x2da434,_0x23148d),_0x4b4674[_0x4e0f65(0x188)]({'unitId':_0x2340db,'subUnitId':_0x176e81,'token':_0x2da434,'type':B[_0x4e0f65(0x287)]});else{_0x4b4674[_0x4e0f65(0x188)]({'unitId':_0x307cba['unitId'],'subUnitId':_0x307cba['subUnitId'],'token':_0x2da434,'type':B[_0x4e0f65(0x1ff)]}),_0x4b4674[_0x4e0f65(0x1ea)](_0x307cba['unitId'],_0x307cba[_0x4e0f65(0x2f7)],_0x2da434);const _0x55ef12=_0x4b4674[_0x4e0f65(0x284)](_0x2da434,_0x5e9180,_0x139903[_0x4e0f65(0x3fc)],_0x23148d['targetCellInfo']),_0x54b838=new _0x536307(_0x55ef12[_0x4e0f65(0x207)],void 0x0,_0x2da434);_0x54b838[_0x4e0f65(0x295)](_0x23148d[_0x4e0f65(0x3b3)]),_0x4b4674['addPivotTable'](_0x2340db,_0x176e81,_0x2da434,_0x54b838,_0x23148d),_0x4b4674[_0x4e0f65(0x188)]({'unitId':_0x2340db,'subUnitId':_0x176e81,'token':_0x2da434,'type':B['Add'],'pivotConfig':_0x23148d});}return!0x0;}},Cs={'type':_0x538c0b['COMMAND'],'id':_0x27d18f(0x231),'handler':(_0x337271,_0x28dc36)=>{const _0x331ce0=_0x27d18f,_0x1093b0=_0x337271[_0x331ce0(0x206)](_0xeb5b23),_0x401780=_0x337271['get'](_0x27da56),_0x298282=_0x337271[_0x331ce0(0x206)](he),_0x2d64a4=_0x337271[_0x331ce0(0x206)](_0x5d554d);if(!_0x28dc36)return!0x1;const _0x5a571c=_0x19f73c(_0x2d64a4);if(!_0x5a571c)return!0x1;const {unitId:_0x2399b8,subUnitId:_0x404548,workbook:_0x4ac274}=_0x5a571c,_0x4dc747=_0x298282[_0x331ce0(0x27c)](_0x28dc36[_0x331ce0(0x332)][_0x331ce0(0x1a1)],_0x28dc36[_0x331ce0(0x332)][_0x331ce0(0x2f7)],_0x28dc36[_0x331ce0(0x225)]);if(!_0x4dc747)return!0x1;const _0x2814a1=_0x4ac274['getSheetBySheetId'](_0x28dc36[_0x331ce0(0x38a)][_0x331ce0(0x2f7)]);if(!_0x2814a1)throw new Error(_0x331ce0(0x3bc));const _0x43dd50=_0x2814a1[_0x331ce0(0x29e)](),_0x41fcaf=_0x2814a1[_0x331ce0(0x37b)]();if(_0x28dc36[_0x331ce0(0x38a)][_0x331ce0(0x338)]>_0x43dd50||_0x28dc36[_0x331ce0(0x38a)][_0x331ce0(0x3cc)]>_0x41fcaf)throw new Error(_0x331ce0(0x271));const _0x37eee7=[{'id':pt['id'],'params':{'unitId':_0x2399b8,'subUnitId':_0x28dc36[_0x331ce0(0x38a)]['subUnitId'],'pivotTableId':_0x28dc36[_0x331ce0(0x225)],'targetCellPosition':{'row':_0x28dc36[_0x331ce0(0x38a)][_0x331ce0(0x338)],'col':_0x28dc36[_0x331ce0(0x38a)][_0x331ce0(0x3cc)]}}}],_0x33ee8a=[{'id':pt['id'],'params':{'unitId':_0x2399b8,'subUnitId':_0x404548,'pivotTableId':_0x28dc36['pivotTableId'],'targetCellPosition':{'row':_0x4dc747['targetCellInfo'][_0x331ce0(0x338)],'col':_0x4dc747[_0x331ce0(0x38a)]['col']}}}];return _0x3181f1(_0x37eee7,_0x1093b0)&&_0x401780[_0x331ce0(0x377)]({'unitID':_0x2399b8,'undoMutations':_0x33ee8a,'redoMutations':_0x37eee7}),!0x0;}},bs={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x317),async 'handler'(_0x262793,_0x102cf3){const _0xaa9294=_0x27d18f;var _0x72f824;if(!_0x102cf3)return!0x1;const _0x15f864=_0x262793[_0xaa9294(0x206)](_0x5d554d),_0x1fd80d=_0x19f73c(_0x15f864);if(!_0x1fd80d)return!0x1;const {unitId:_0x40fa23,subUnitId:_0x4c00df,workbook:_0x37283b}=_0x1fd80d,{row:_0x425610,col:_0x3a1664}=_0x102cf3,_0x54c5d7=_0x262793[_0xaa9294(0x206)](Ne),_0xf4534c=_0x54c5d7[_0xaa9294(0x215)](_0x40fa23,_0x4c00df,_0x425610,_0x3a1664);if(!_0xf4534c)return!0x1;const _0x2f8a81=(_0x72f824=_0x54c5d7[_0xaa9294(0x1ad)](_0x40fa23,_0x4c00df,_0xf4534c))==null?void 0x0:_0x72f824[_0xaa9294(0x393)];if(!_0x2f8a81)return!0x1;const _0x5f5a70=_0x262793[_0xaa9294(0x206)](he)[_0xaa9294(0x27c)](_0x40fa23,_0x4c00df,_0xf4534c);if(!_0x5f5a70)return!0x1;const {rowInfo:_0x166e59,colInfo:_0x4a546a}=_0x2f8a81,_0x39fba0=_0x166e59[_0x425610][_0xaa9294(0x219)],_0xfe0d0c=_0x4a546a[_0x3a1664]['paths'],_0xf19ef7=_0x166e59[_0x425610][_0xaa9294(0x1b0)],_0x10b8c5=_0x4a546a[_0x3a1664][_0xaa9294(0x1b0)],_0x5ded22=_0x39fba0[_0xaa9294(0x35b)](_0xfe0d0c),_0x44c603=_0x5f5a70['fieldsConfig'][_0xaa9294(0x2c9)][_0xaa9294(0x212)](0x0,_0xf19ef7),_0x573a58=_0x5f5a70[_0xaa9294(0x3b3)][_0xaa9294(0x1be)][_0xaa9294(0x212)](0x0,_0x10b8c5),_0x5702da=_0x44c603[_0xaa9294(0x35b)](_0x573a58),_0x30d9ed=_0x5ded22[_0xaa9294(0x2e3)]((_0xe18bf,_0x430228)=>[_0xe18bf,_0x5702da[_0x430228]]),_0x512d52=(await _0x262793[_0xaa9294(0x206)](X)[_0xaa9294(0x28c)]({'unitId':_0x40fa23,'subUnitId':_0x4c00df,'pivotTableId':_0xf4534c,'params':{'type':W[_0xaa9294(0x304)],'drillDown':{'tuple':_0x30d9ed}}}))[_0xaa9294(0x2e0)][_0xaa9294(0x395)];if(!_0x512d52)return!0x1;const {indexes:_0x2bb717,range:_0x499b47,sourceUnitId:_0x36a106,sourceSubUnitId:_0x54333d,formatMap:_0x274f1a}=_0x512d52,{startRow:_0x5d74ff,endRow:_0x1124a0,startColumn:_0x494360,endColumn:_0x58a919}=_0x499b47,_0xbe49bc=new _0x1356f1(),_0x42ab24=_0x1124a0-_0x5d74ff,_0x3efcfd=_0x58a919-_0x494360,_0x15bb15={},_0x17dd9e=_0x19f73c(_0x15f864,{'unitId':_0x36a106,'subUnitId':_0x54333d});if(!_0x17dd9e)return!0x1;const _0x169067=fe[_0xaa9294(0x19a)],_0xf5a961=fe[_0xaa9294(0x3ea)],_0x2da6b3=fe[_0xaa9294(0x3ea)],_0x5d96ee=_0x37283b[_0xaa9294(0x3e1)]()[_0xaa9294(0x216)](_0x169067),_0x1f4330=_0x37283b[_0xaa9294(0x3e1)]()[_0xaa9294(0x216)](_0xf5a961),_0x3bbc4b=_0x37283b[_0xaa9294(0x3e1)]()[_0xaa9294(0x216)](_0x2da6b3),{worksheet:_0x54a638}=_0x17dd9e;let _0x435548=0x0;const _0x524771=0x1;_0x2bb717[_0xaa9294(0x23b)](_0x157815=>{const _0x5ba45f=_0xaa9294;for(let _0x516980=0x0;_0x516980<=_0x58a919-_0x494360;_0x516980++)_0xbe49bc[_0x5ba45f(0x216)](_0x435548,_0x516980,_0x54a638[_0x5ba45f(0x2ba)](_0x157815+_0x499b47[_0x5ba45f(0x36b)]+_0x524771,_0x516980));_0x435548++;});for(let _0x44bf04=_0x494360;_0x44bf04<=_0x58a919;_0x44bf04++){const _0x228b08=_0x54a638[_0xaa9294(0x2ba)](_0x5d74ff,_0x44bf04);_0x15bb15[_0x5d74ff]||(_0x15bb15[_0x5d74ff]={}),_0x15bb15[_0x5d74ff][_0x44bf04]={..._0x228b08,'s':_0x5d96ee};}let _0x3e6c78=0x1;const _0x56475e={},_0x2f8cf4={};_0xbe49bc[_0xaa9294(0x197)]((_0x3945ff,_0x2a559a)=>{_0x2a559a['forEach'](_0x2abc22=>{const _0x35af00=_0x2985,_0x353fa0=_0xbe49bc[_0x35af00(0x3f7)](_0x3945ff,_0x2abc22);if(_0x15bb15[_0x3e6c78]||(_0x15bb15[_0x3e6c78]={}),_0x15bb15[_0x3e6c78][_0x2abc22]={..._0x353fa0,'s':_0x3e6c78%0x2===0x0?_0x3bbc4b:_0x1f4330},_0x274f1a[_0x2abc22]&&_0x3945ff>=0x0){const _0x2a4932=_0x3e6c78%0x2===0x0;let _0x450a9f=_0x2a4932?_0x2f8cf4[_0x2abc22]:_0x56475e[_0x2abc22];_0x450a9f||(_0x450a9f=_0x37283b[_0x35af00(0x3e1)]()[_0x35af00(0x216)]({..._0x2a4932?_0x2da6b3:_0xf5a961,'n':{'pattern':_0x274f1a[_0x2abc22]}}),_0x2a4932?_0x2f8cf4[_0x2abc22]=_0x450a9f:_0x56475e[_0x2abc22]=_0x450a9f),_0x15bb15[_0x3e6c78][_0x2abc22]['s']=_0x450a9f;}}),_0x3e6c78++;});const _0x1e3216=new _0x1356f1(_0x15bb15),_0x34d1ba={};_0x1e3216[_0xaa9294(0x288)]((_0x3d8d09,_0x11a6a7,_0x46c20e)=>{_0x34d1ba[_0x3d8d09]||(_0x34d1ba[_0x3d8d09]={}),_0x34d1ba[_0x3d8d09][_0x11a6a7]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3a816a=[],_0x244213=[],_0x595111=_0x37283b['getSheets']()[_0xaa9294(0x210)],_0x573fa3=_0x1fba24({'rowCount':Math[_0xaa9294(0x1db)](_0x5946a6,_0x42ab24+0xa),'columnCount':Math[_0xaa9294(0x1db)](_0x27d1c6,_0x3efcfd+0x5)}),_0x3ec890=_0x262793[_0xaa9294(0x206)](_0x468b9c);_0x573fa3['id']=_0x41aee0(),_0x573fa3[_0xaa9294(0x38d)]=_0x37283b[_0xaa9294(0x20e)](''+_0x3ec890['t']('sheets.tabs.sheet'));const _0x276ef7={'index':_0x595111,'sheet':_0x573fa3,'unitId':_0x40fa23},_0x1fddab=_0x3ca679(_0x262793,_0x276ef7);_0x244213[_0xaa9294(0x260)]({'id':_0x93f513['id'],'params':_0x276ef7}),_0x3a816a[_0xaa9294(0x260)]({'id':_0x36e426['id'],'params':_0x1fddab}),_0x244213[_0xaa9294(0x260)]({'id':_0x4bf3dd['id'],'params':{'unitId':_0x40fa23,'subUnitId':_0x573fa3['id'],'cellValue':_0x15bb15}}),_0x3a816a['unshift']({'id':_0x4bf3dd['id'],'params':{'unitId':_0x40fa23,'subUnitId':_0x573fa3['id'],'cellValue':_0x34d1ba}});const _0x2ec69c={'startRow':0x0,'startColumn':0x0,'endRow':_0x3e6c78-0x1,'endColumn':_0x58a919};_0x244213[_0xaa9294(0x260)]({'id':_0x1e81bc['id'],'params':{'unitId':_0x40fa23,'subUnitId':_0x573fa3['id'],'range':_0x2ec69c}}),_0x3a816a[_0xaa9294(0x2ee)]({'id':_0x23b17e['id'],'params':{'unitId':_0x40fa23,'subUnitId':_0x573fa3['id']}});const _0x29f066=_0x262793[_0xaa9294(0x206)](_0xeb5b23);return _0x3181f1(_0x244213,_0x29f066)&&_0x262793['get'](_0x27da56)[_0xaa9294(0x377)]({'unitID':_0x40fa23,'undoMutations':_0x3a816a,'redoMutations':_0x244213}),!0x0;}},Ss={'type':_0x538c0b[_0x27d18f(0x259)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x1f06ea,_0x30d864){const _0x19de82=_0x27d18f;if(!_0x30d864)return!0x1;const _0x592e0d=_0x1f06ea['get'](_0xeb5b23),_0x240577=_0x1f06ea[_0x19de82(0x206)](X),_0x13b4cc=_0x1f06ea['get'](_0x27da56),{pivotTableId:_0x365adb,fieldIds:_0x40da72,unitId:_0x46e950,subUnitId:_0x1a252e}=_0x30d864,_0x27b648=(await _0x240577[_0x19de82(0x28c)]({'unitId':_0x46e950,'subUnitId':_0x1a252e,'pivotTableId':_0x365adb,'params':{'type':W[_0x19de82(0x238)],'removePivotField':{'fieldIds':_0x40da72}}}))[_0x19de82(0x2e0)]['removePivotField'];if(!_0x27b648)return!0x1;const {view:_0x408673,changesets:_0x32fdd7,isEmpty:_0x3e91d8,pivotTableConfig:_0x523314}=_0x27b648,_0x6e322e=_0x523314['targetCellInfo'],_0x1dd1fe=new _0x2c3b07();_0x1dd1fe[_0x19de82(0x38e)](_0x408673);const _0x47081b={'cellInfo':_0x6e322e,'view':_0x1dd1fe,'isEmpty':_0x3e91d8};if(!await _0x1f06ea[_0x19de82(0x206)](ie)[_0x19de82(0x2ad)][_0x19de82(0x2c7)](be)(!0x0,_0x47081b))return!0x1;const _0x1427c3=we(_0x1f06ea,_0x1dd1fe,_0x6e322e,_0x3e91d8),_0x5519f5=_e(_0x1f06ea,_0x47081b),{redos:_0x517766,undos:_0x1dfbe2}=me(_0x592e0d,{'pivotTableId':_0x365adb,'unitId':_0x46e950,'subUnitId':_0x1a252e},_0x32fdd7);return _0x3181f1([..._0x1427c3[_0x19de82(0x3cd)],..._0x5519f5[_0x19de82(0x3cd)],..._0x517766],_0x592e0d),_0x13b4cc[_0x19de82(0x377)]({'unitID':_0x46e950,'redoMutations':[..._0x1427c3[_0x19de82(0x3cd)],..._0x5519f5[_0x19de82(0x3cd)],..._0x517766],'undoMutations':[..._0x1427c3[_0x19de82(0x1b9)],..._0x5519f5['undos'],..._0x1dfbe2]}),!0x0;}},Ps={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x3dc),async 'handler'(_0x35b914,_0x4a5cd7){const _0x2c1f96=_0x27d18f;if(!_0x4a5cd7)return!0x1;const _0x389a41=_0x35b914[_0x2c1f96(0x206)](_0xeb5b23),_0x37bacf=_0x35b914[_0x2c1f96(0x206)](_0x27da56),_0x81e34c=_0x35b914['get'](X),{resetArea:_0x571246,pivotTableId:_0x477c73,unitId:_0xe68971,subUnitId:_0x591886}=_0x4a5cd7,_0x35178f=(await _0x81e34c[_0x2c1f96(0x28c)]({'unitId':_0xe68971,'subUnitId':_0x591886,'pivotTableId':_0x477c73,'params':{'type':W['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x477c73,'resetArea':_0x571246}}}))['result'][_0x2c1f96(0x1c7)];if(!_0x35178f)return!0x1;const {changesets:_0x3b1182}=_0x35178f,{redos:_0x51c532,undos:_0x4416f5}=me(_0x389a41,{'pivotTableId':_0x477c73,'unitId':_0xe68971,'subUnitId':_0x591886},_0x3b1182);return _0x3181f1(_0x51c532,_0x389a41),_0x37bacf[_0x2c1f96(0x377)]({'unitID':_0xe68971,'redoMutations':_0x51c532,'undoMutations':_0x4416f5}),!0x0;}},Ts={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x3c8),async 'handler'(_0x5d83d0,_0x28f176){const _0x453a0b=_0x27d18f,_0x496608=_0x5d83d0[_0x453a0b(0x206)](_0xeb5b23),_0x31eb52=_0x5d83d0[_0x453a0b(0x206)](X),_0x4eb1cd=_0x5d83d0[_0x453a0b(0x206)](Ne),_0x3339f7=_0x5d83d0[_0x453a0b(0x206)](_0x5d554d),_0x404dec=_0x5d83d0[_0x453a0b(0x206)](_0x468b9c),_0x56c88a=_0x5d83d0['get'](_0x27da56);if(!_0x28f176)return!0x1;const {unitId:_0x117aca,subUnitId:_0xc09137,row:_0x28c0f8,col:_0x7417f7,collapse:_0x53415}=_0x28f176,_0x332d44=_0x3339f7[_0x453a0b(0x327)](_0x117aca);if(!_0x332d44||!_0x332d44[_0x453a0b(0x2f6)](_0xc09137))return!0x1;const _0x1a6e1d=_0x4eb1cd[_0x453a0b(0x215)](_0x117aca,_0xc09137,_0x28c0f8,_0x7417f7);if(!_0x1a6e1d)return!0x1;const _0x229a10=_0x4eb1cd[_0x453a0b(0x1ad)](_0x117aca,_0xc09137,_0x1a6e1d);if(!_0x229a10)return!0x1;const _0x40bdff=_0x31147b(_0x28c0f8,_0x7417f7),{rangesInfo:_0xc98db2,areaInfo:_0x58f619,headerMap:_0x59602f}=_0x229a10;if(!_0xc98db2||!_0x58f619||!_0x59602f)return!0x1;const _0xfda03e=Object[_0x453a0b(0x205)](_0xc98db2)[_0x453a0b(0x250)](_0x10f302=>_0xc98db2[_0x10f302][_0x453a0b(0x281)](_0x2b5733=>_0x4986e5[_0x453a0b(0x34a)](_0x2b5733,_0x40bdff)));let _0x6db21c;_0xfda03e===_0x453a0b(0x329)?_0x6db21c=_0x59602f['rowHeaderMap'][_0x7417f7]:_0xfda03e===_0x453a0b(0x19e)&&(_0x6db21c=_0x59602f['colHeaderMap'][_0x28c0f8]);const _0x3529d5=_0x6db21c==null?void 0x0:_0x6db21c[_0x453a0b(0x309)],_0x59d219=_0x4eb1cd[_0x453a0b(0x242)](_0x117aca,_0xc09137,_0x28c0f8,_0x7417f7);let _0x20c518=_0x59d219==null?void 0x0:_0x59d219['v'];if(_0x20c518===_0x404dec['t'](_0x453a0b(0x30b))&&(_0x20c518=_0x220d99[_0x453a0b(0x1f5)]),_0x20c518==null||!_0x1a6e1d||!_0x3529d5)return!0x1;const _0x416c60=await _0x31eb52[_0x453a0b(0x28c)]({'unitId':_0x117aca,'subUnitId':_0xc09137,'pivotTableId':_0x1a6e1d,'params':{'type':W['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x3529d5,'collapse':_0x53415,'item':_0x20c518}}}),_0x3223ec=_0x416c60==null?void 0x0:_0x416c60[_0x453a0b(0x2e0)][_0x453a0b(0x233)];if(!_0x3223ec)return!0x1;const {view:_0x5d56b8,pivotTableConfig:_0x458c59,isEmpty:_0x178c1f,changesets:_0xa7b836}=_0x3223ec,_0x30f61e=new _0x2c3b07();_0x30f61e[_0x453a0b(0x38e)](_0x5d56b8);const _0x25fb21=_0x458c59['targetCellInfo'],_0x5f2a46={'cellInfo':_0x25fb21,'view':_0x30f61e,'isEmpty':_0x178c1f};if(!await _0x5d83d0[_0x453a0b(0x206)](ie)[_0x453a0b(0x2ad)][_0x453a0b(0x2c7)](be)(!0x0,_0x5f2a46))return!0x1;const _0xe37503=we(_0x5d83d0,_0x30f61e,_0x25fb21,_0x178c1f),_0x33afaa=_e(_0x5d83d0,_0x5f2a46),{redos:_0x4c2bbd,undos:_0x2775a6}=me(_0x496608,{'pivotTableId':_0x1a6e1d,'unitId':_0x117aca,'subUnitId':_0xc09137},_0xa7b836);return _0x3181f1([..._0xe37503[_0x453a0b(0x3cd)],..._0x33afaa[_0x453a0b(0x3cd)],..._0x4c2bbd],_0x496608),_0x56c88a['pushUndoRedo']({'unitID':_0x117aca,'redoMutations':[..._0xe37503['redos'],..._0x33afaa[_0x453a0b(0x3cd)],..._0x4c2bbd],'undoMutations':[..._0xe37503['undos'],..._0x33afaa[_0x453a0b(0x1b9)],..._0x2775a6]}),!0x0;}},ys={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x2a6),async 'handler'(_0x252097,_0x123085){const _0x7d6557=_0x27d18f;if(!_0x123085)return!0x1;const _0x4c162d=_0x252097[_0x7d6557(0x206)](_0xeb5b23),_0x31cf40=_0x252097[_0x7d6557(0x206)](_0x27da56),_0x151bd8=_0x252097['get'](X),{pivotTableConfig:_0x342e72,pivotTableId:_0x469c15,unitId:_0x3ae570,subUnitId:_0x4ca8d5}=_0x123085,_0x451c26=(await _0x151bd8['getPivotDisplayConfig']({'unitId':_0x3ae570,'subUnitId':_0x4ca8d5,'pivotTableId':_0x469c15,'params':{'type':W[_0x7d6557(0x18d)],'setPivotTableConfig':{'pivotTableId':_0x469c15,'pivotTableConfig':_0x342e72}}}))[_0x7d6557(0x2e0)]['setPivotTableConfig'];if(!_0x451c26)return!0x1;const {changesets:_0x4f521d}=_0x451c26,{redos:_0x4a72dd,undos:_0x3b2328}=me(_0x4c162d,{'pivotTableId':_0x469c15,'unitId':_0x3ae570,'subUnitId':_0x4ca8d5},_0x4f521d);return _0x3181f1(_0x4a72dd,_0x4c162d),_0x31cf40['pushUndoRedo']({'unitID':_0x3ae570,'redoMutations':_0x4a72dd,'undoMutations':_0x3b2328}),!0x0;}},Ms={'type':_0x538c0b[_0x27d18f(0x259)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x119f0a,_0x1c7699){const _0x46c53=_0x27d18f;if(!_0x1c7699)return!0x1;const _0x1e84f0=_0x119f0a[_0x46c53(0x206)](_0xeb5b23),{pivotTableId:_0x29e7c9,tableFieldId:_0x123b6d,items:_0x529eab,unitId:_0x229dd5,subUnitId:_0x53c093,isAll:_0x1ab69d}=_0x1c7699,_0x2a039a=_0x119f0a[_0x46c53(0x206)](X),_0xd8e353=_0x119f0a[_0x46c53(0x206)](_0x27da56),_0x38f331=(await _0x2a039a[_0x46c53(0x28c)]({'unitId':_0x229dd5,'subUnitId':_0x53c093,'pivotTableId':_0x29e7c9,'params':{'type':W['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x123b6d,'items':_0x529eab,'isAll':_0x1ab69d}}}))['result']['setPivotFilter'];if(!_0x38f331)return!0x1;const {changesets:_0x2fa532,pivotTableConfig:_0x10f35e,isEmpty:_0x51d24c,view:_0x36fb22}=_0x38f331,_0x501945=_0x10f35e[_0x46c53(0x38a)],_0x50d2e3=new _0x2c3b07();_0x50d2e3[_0x46c53(0x38e)](_0x36fb22);const _0x29454a={'cellInfo':_0x501945,'view':_0x50d2e3,'isEmpty':_0x51d24c};if(!await _0x119f0a[_0x46c53(0x206)](ie)[_0x46c53(0x2ad)][_0x46c53(0x2c7)](be)(!0x0,_0x29454a))return!0x1;const _0x23b9ec=we(_0x119f0a,_0x50d2e3,_0x501945,_0x51d24c),_0x3138ec=_e(_0x119f0a,_0x29454a),{undos:_0x40e714,redos:_0x590512}=me(_0x1e84f0,{'pivotTableId':_0x29e7c9,'unitId':_0x229dd5,'subUnitId':_0x53c093},_0x2fa532);return _0x3181f1([..._0x23b9ec['redos'],..._0x3138ec[_0x46c53(0x3cd)],..._0x590512],_0x1e84f0),_0xd8e353[_0x46c53(0x377)]({'unitID':_0x229dd5,'redoMutations':[..._0x23b9ec[_0x46c53(0x3cd)],..._0x3138ec[_0x46c53(0x3cd)],..._0x590512],'undoMutations':[..._0x23b9ec['undos'],..._0x3138ec[_0x46c53(0x1b9)],..._0x40e714]}),!0x0;}},ws={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x3a8),async 'handler'(_0x40d2a5,_0x1b55f6){const _0x3afd12=_0x27d18f;if(!_0x1b55f6)return!0x1;const _0x438b90=_0x40d2a5[_0x3afd12(0x206)](_0xeb5b23),_0x3d3cb7=_0x40d2a5[_0x3afd12(0x206)](_0x27da56),_0x1f5b20=_0x40d2a5[_0x3afd12(0x206)](X),{info:_0x3f155e,tableFieldId:_0x1fd058,pivotTableId:_0x5e9e8a,unitId:_0x5a0398,subUnitId:_0x46641b}=_0x1b55f6,_0x1046f2=(await _0x1f5b20[_0x3afd12(0x28c)]({'unitId':_0x5a0398,'subUnitId':_0x46641b,'pivotTableId':_0x5e9e8a,'params':{'type':W['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x1fd058,'info':_0x3f155e}}}))[_0x3afd12(0x2e0)]['setPivotSort'];if(!_0x1046f2)return!0x1;const {changesets:_0x2546b5}=_0x1046f2,{redos:_0x4994fe,undos:_0x37b4a4}=me(_0x438b90,{'pivotTableId':_0x5e9e8a,'unitId':_0x5a0398,'subUnitId':_0x46641b},_0x2546b5);return _0x3181f1(_0x4994fe,_0x438b90),_0x3d3cb7[_0x3afd12(0x377)]({'unitID':_0x5a0398,'redoMutations':_0x4994fe,'undoMutations':_0x37b4a4}),!0x0;}},_s={'type':_0x538c0b['COMMAND'],'id':_0x27d18f(0x1d6),async 'handler'(_0x30375e,_0x1d66b3){const _0x333dd9=_0x27d18f;if(!_0x1d66b3)return!0x1;const _0x34ff88=_0x30375e[_0x333dd9(0x206)](_0xeb5b23),{pivotTableId:_0x187feb,fieldId:_0x235236,valueFilterInfo:_0x118aea,unitId:_0x2ee810,subUnitId:_0x5aefac}=_0x1d66b3,_0x5b10cf=_0x30375e[_0x333dd9(0x206)](X),_0x127ef7=_0x30375e[_0x333dd9(0x206)](_0x27da56),_0xfa833e=(await _0x5b10cf[_0x333dd9(0x28c)]({'unitId':_0x2ee810,'subUnitId':_0x5aefac,'pivotTableId':_0x187feb,'params':{'type':W[_0x333dd9(0x2c1)],'setValuePivotFilter':{'tableFieldId':_0x235236,'filterInfo':_0x118aea}}}))['result']['setValuePivotFilter'];if(!_0xfa833e)return!0x1;const {changesets:_0x37b6ca,pivotTableConfig:_0x5ed416,isEmpty:_0x9df16a,view:_0x21fc08}=_0xfa833e,_0x3b8fdb=_0x5ed416[_0x333dd9(0x38a)],_0xd63ba=new _0x2c3b07();_0xd63ba['formJSON'](_0x21fc08);const _0x50f33a={'cellInfo':_0x3b8fdb,'view':_0xd63ba,'isEmpty':_0x9df16a};if(!await _0x30375e['get'](ie)[_0x333dd9(0x2ad)][_0x333dd9(0x2c7)](be)(!0x0,_0x50f33a))return!0x1;const _0x26804e=we(_0x30375e,_0xd63ba,_0x3b8fdb,_0x9df16a),_0x22e48d=_e(_0x30375e,_0x50f33a),{undos:_0x2e48b9,redos:_0x1d45e1}=me(_0x34ff88,{'pivotTableId':_0x187feb,'unitId':_0x2ee810,'subUnitId':_0x5aefac},_0x37b6ca);return _0x3181f1([..._0x26804e[_0x333dd9(0x3cd)],..._0x22e48d[_0x333dd9(0x3cd)],..._0x1d45e1],_0x34ff88),_0x127ef7[_0x333dd9(0x377)]({'unitID':_0x2ee810,'redoMutations':[..._0x26804e['redos'],..._0x22e48d[_0x333dd9(0x3cd)],..._0x1d45e1],'undoMutations':[..._0x26804e['undos'],..._0x22e48d[_0x333dd9(0x1b9)],..._0x2e48b9]}),!0x0;}},to={'id':_0x27d18f(0x3bb),'type':_0x538c0b[_0x27d18f(0x2f2)],'handler':(_0x48b8a1,_0x2fec87)=>{const _0x16984a=_0x27d18f;if(!_0x2fec87)return!0x1;if(!!_0x48b8a1[_0x16984a(0x206)](_0x27c3ed)[_0x16984a(0x356)](z))return!0x0;const {unitId:_0x1f05b0,subUnitId:_0x1619af,pivotTableId:_0x4794c1,tableFieldId:_0x5e2c14,dateType:_0x4fc590}=_0x2fec87,_0x30b2cb=_0x48b8a1['get'](q),_0x29fe72=_0x30b2cb[_0x16984a(0x37c)](_0x4794c1);if(!_0x29fe72)return!0x1;const _0x1b215f=_0x29fe72[_0x16984a(0x1f3)](_0x5e2c14);if(!_0x1b215f)return!0x1;const _0x24265d=_0x1b215f[_0x16984a(0x1c1)](),_0x4d30d8=_0x29fe72[_0x16984a(0x403)](_0x24265d),_0x3f85e1=(_0x4d30d8==null?void 0x0:_0x4d30d8[_0x16984a(0x2eb)]())+'\x20'+Ko(_0x48b8a1,_0x4fc590);_0x30b2cb[_0x16984a(0x39a)](_0x1f05b0,_0x4794c1)[_0x16984a(0x35c)](_0x1b215f['id'],_0x3f85e1);const _0x5bbc98=_0x29fe72[_0x16984a(0x2bc)](_0x5e2c14);if(!_0x5bbc98)return!0x1;_0x29fe72[_0x16984a(0x1e3)](_0x5bbc98[_0x16984a(0x300)](),_0x3f85e1),_0x1b215f['setDateType'](_0x4fc590);const _0x183975=_0x30b2cb['getPivotTableConfig'](_0x1f05b0,_0x1619af,_0x4794c1);return _0x30b2cb['addDirtyPivotTable']({'unitId':_0x1f05b0,'subUnitId':_0x1619af,'token':_0x4794c1,'type':B[_0x16984a(0x287)],'pivotConfig':_0x183975}),!0x0;}},Rs={'id':'sheet.command.update-date-group','type':_0x538c0b[_0x27d18f(0x259)],'handler':(_0x25569c,_0xcc72d0)=>{const _0xdad61c=_0x27d18f;if(!_0xcc72d0)return!0x1;const _0x54fd1a=_0x25569c[_0xdad61c(0x206)](_0x27da56),{unitId:_0x85d644,subUnitId:_0x3c63c9,pivotTableId:_0x3e10a8,tableFieldId:_0x9c30f5}=_0xcc72d0,_0x2eda2e=[],_0x2f888a=[],_0x4747a3=_0x25569c[_0xdad61c(0x206)](he),_0x3c4d9c=_0x4747a3[_0xdad61c(0x39a)](_0x85d644,_0x3e10a8),_0x126614=_0x4747a3['getPivotTableConfig'](_0x85d644,_0x3c63c9,_0x3e10a8);if(!(_0x126614!=null&&_0x126614[_0xdad61c(0x3b3)][_0xdad61c(0x2cb)]))return!0x1;const _0x5062d1=Object['values'](_0x126614[_0xdad61c(0x3b3)]['dimension'])[_0xdad61c(0x250)](_0x1eaa1c=>_0x1eaa1c['id']===_0x9c30f5);if(!_0x5062d1)return!0x1;const _0x2c9573=_0x5062d1[_0xdad61c(0x1ed)];if(!(_0x3c4d9c!=null&&_0x3c4d9c[_0xdad61c(0x2a4)]))return!0x1;const _0x5a33c9=Object[_0xdad61c(0x3be)](_0x3c4d9c==null?void 0x0:_0x3c4d9c[_0xdad61c(0x2a4)])[_0xdad61c(0x250)](_0x3d9fe4=>_0x3d9fe4['id']===_0x2c9573);if(!_0x5a33c9)return!0x1;_0x54b867(_0x5a33c9)&&_0x2eda2e['push']({'id':to['id'],'params':{..._0xcc72d0,'dateType':_0x5a33c9['dateType']}}),_0x2f888a['push']({'id':to['id'],'params':{..._0xcc72d0}});const _0x3bbf1b=_0x25569c[_0xdad61c(0x206)](_0xeb5b23);return _0x3181f1(_0x2f888a,_0x3bbf1b)&&_0x54fd1a[_0xdad61c(0x377)]({'unitID':_0x85d644,'undoMutations':_0x2eda2e,'redoMutations':_0x2f888a}),!0x0;}},Fs={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x1eb),async 'handler'(_0x2ea011,_0x3b218c){const _0x3988a1=_0x27d18f;if(!_0x3b218c)return!0x1;const _0x14627f=_0x2ea011[_0x3988a1(0x206)](_0xeb5b23),_0x2d75e3=_0x2ea011[_0x3988a1(0x206)](_0x27da56),_0xe65f79=_0x2ea011[_0x3988a1(0x206)](X),{displayName:_0x504eb7,subtotalType:_0x3461c0,format:_0xbd3e52,tableFieldId:_0x2f1bab,pivotTableId:_0x515a7e,unitId:_0xd77401,subUnitId:_0x3f5678}=_0x3b218c,_0xee17f8=(await _0xe65f79[_0x3988a1(0x28c)]({'unitId':_0xd77401,'subUnitId':_0x3f5678,'pivotTableId':_0x515a7e,'params':{'type':W[_0x3988a1(0x37e)],'setPivotSetting':{'tableFieldId':_0x2f1bab,'displayName':_0x504eb7,'subtotalType':_0x3461c0,'format':_0xbd3e52}}}))[_0x3988a1(0x2e0)][_0x3988a1(0x234)];if(!_0xee17f8)return!0x1;const {changesets:_0x144a54,view:_0xad1c05,pivotTableConfig:_0x4347fc,isEmpty:_0x4537cf}=_0xee17f8,_0x3cebb1=_0x4347fc[_0x3988a1(0x38a)],_0x33a2f5=new _0x2c3b07();_0x33a2f5[_0x3988a1(0x38e)](_0xad1c05);const _0x2de22a={'cellInfo':_0x3cebb1,'view':_0x33a2f5,'isEmpty':_0x4537cf};if(!await _0x2ea011[_0x3988a1(0x206)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2de22a))return!0x1;const _0x215d59=we(_0x2ea011,_0x33a2f5,_0x3cebb1,_0x4537cf),_0x2f741c=_e(_0x2ea011,_0x2de22a),{undos:_0x59b814,redos:_0x4c6962}=me(_0x14627f,{'pivotTableId':_0x515a7e,'unitId':_0xd77401,'subUnitId':_0x3f5678},_0x144a54);return _0x3181f1([..._0x215d59[_0x3988a1(0x3cd)],..._0x2f741c[_0x3988a1(0x3cd)],..._0x4c6962],_0x14627f),_0x2d75e3[_0x3988a1(0x377)]({'unitID':_0xd77401,'redoMutations':[..._0x215d59[_0x3988a1(0x3cd)],..._0x2f741c['redos'],..._0x4c6962],'undoMutations':[..._0x215d59['undos'],..._0x2f741c[_0x3988a1(0x1b9)],..._0x59b814]}),!0x0;}},oo={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x1e0),'handler'(_0x37c646,_0x156a54){const _0x13a5b1=_0x27d18f;if(!_0x156a54)return!0x1;if(!!_0x37c646['get'](_0x27c3ed)[_0x13a5b1(0x356)](z))return!0x0;const _0x45e2df=_0x37c646[_0x13a5b1(0x206)](q),{pivotTableId:_0x1d7fb,deleteIds:_0x45c0de,collectionJSON:_0x12db1e,dataRangeInfo:_0x5b7874,unitId:_0x245d44,subUnitId:_0x1a3409}=_0x156a54,_0x1122ce=_0x45e2df['getPivotTableInstance'](_0x1d7fb),_0x302546=_0x45e2df[_0x13a5b1(0x27c)](_0x245d44,_0x1a3409,_0x1d7fb);if(!_0x1122ce||!_0x302546)return!0x1;const {collection:_0x1db8b5,updateDataFieldList:_0xd63f33}=_0x45e2df[_0x13a5b1(0x284)](_0x1d7fb,_0x12db1e,_0x5b7874,_0x302546[_0x13a5b1(0x38a)]);_0x45e2df[_0x13a5b1(0x2df)](_0x1db8b5,_0xd63f33,_0x5b7874),_0x1122ce['updateDataFieldsCollection'](_0x1db8b5);for(const _0xe1acb3 of _0x45c0de)_0x45e2df[_0x13a5b1(0x2a1)](_0x5b7874[_0x13a5b1(0x1a1)],_0xe1acb3);const _0x4833c2=_0x45e2df['getPivotTableConfig'](_0x245d44,_0x1a3409,_0x1d7fb);return _0x4833c2[_0x13a5b1(0x3fc)]=JSON[_0x13a5b1(0x2c0)](JSON['stringify'](_0x5b7874)),_0x45e2df['addDirtyPivotTable']({'unitId':_0x245d44,'subUnitId':_0x1a3409,'token':_0x1d7fb,'type':B['Set']}),!0x0;}},Ds={'type':_0x538c0b[_0x27d18f(0x259)],'id':_0x27d18f(0x3fb),async 'handler'(_0x43d5f5,_0x3b6285){const _0x134dea=_0x27d18f,_0x154a42=_0x43d5f5['get'](_0xeb5b23),_0x482ad4=_0x43d5f5[_0x134dea(0x206)](X),_0xeeb088=_0x43d5f5[_0x134dea(0x206)](_0x27da56);if(!_0x3b6285)return!0x1;const {token:_0x461f90,dataRangeInfo:_0x1ea273,unitId:_0x236d13,subUnitId:_0x50fd7f}=_0x3b6285,_0x5cecdf=[],_0x31359a=[],_0xa641f9=(await _0x482ad4['getPivotDisplayConfig']({'unitId':_0x236d13,'subUnitId':_0x50fd7f,'pivotTableId':_0x461f90,'params':{'type':W[_0x134dea(0x305)],'updatePivotSource':{'dataRangeInfo':_0x1ea273,'unitId':_0x236d13,'subUnitId':_0x50fd7f}}}))[_0x134dea(0x2e0)][_0x134dea(0x1e7)];if(!_0xa641f9)return!0x1;const {changesets:_0x1ef4f0,deleteIds:_0x2fbd6f,collectionConfig:_0x50d15a,oldCollectionConfig:_0xb168dd,view:_0x556284,isEmpty:_0x4d10e9,pivotTableConfig:_0x2a4d5f}=_0xa641f9;_0x31359a[_0x134dea(0x260)]({'id':oo['id'],'params':{'pivotTableId':_0x461f90,'deleteIds':_0x2fbd6f,'collectionJSON':_0x50d15a,'dataRangeInfo':_0x1ea273,'unitId':_0x236d13,'subUnitId':_0x50fd7f}}),_0x5cecdf[_0x134dea(0x2ee)]({'id':oo['id'],'params':{'pivotTableId':_0x461f90,'deleteIds':[],'collectionJSON':_0xb168dd,'dataRangeInfo':_0x2a4d5f[_0x134dea(0x3fc)],'unitId':_0x236d13,'subUnitId':_0x50fd7f}});const _0x2b6c80=_0x2a4d5f['targetCellInfo'],_0x4105b1=new _0x2c3b07();_0x4105b1[_0x134dea(0x38e)](_0x556284);const _0x4cf452={'cellInfo':_0x2b6c80,'view':_0x4105b1,'isEmpty':_0x4d10e9};if(!await _0x43d5f5[_0x134dea(0x206)](ie)[_0x134dea(0x2ad)][_0x134dea(0x2c7)](be)(!0x0,_0x4cf452))return!0x1;const _0x1bcefd=we(_0x43d5f5,_0x4105b1,_0x2b6c80,_0x4d10e9),_0xb415c3=_e(_0x43d5f5,_0x4cf452),{undos:_0x3b4570,redos:_0x1983a2}=me(_0x154a42,{'pivotTableId':_0x461f90,'unitId':_0x236d13,'subUnitId':_0x50fd7f},_0x1ef4f0);return _0x3181f1([..._0x1bcefd['redos'],..._0xb415c3[_0x134dea(0x3cd)],..._0x31359a,..._0x3b4570],_0x154a42),_0xeeb088[_0x134dea(0x377)]({'unitID':_0x236d13,'redoMutations':[..._0x1bcefd[_0x134dea(0x3cd)],..._0xb415c3[_0x134dea(0x3cd)],..._0x31359a,..._0x3b4570],'undoMutations':[..._0x1bcefd[_0x134dea(0x1b9)],..._0xb415c3[_0x134dea(0x1b9)],..._0x5cecdf,..._0x1983a2]}),!0x0;}},Ns={'type':_0x538c0b['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x40f224,_0x93a091){const _0xf7f13e=_0x27d18f;if(!_0x93a091)return!0x1;const _0x30e80f=_0x40f224['get'](_0xeb5b23),_0x6642b3=_0x40f224['get'](X),_0x9cca3e=_0x40f224[_0xf7f13e(0x206)](_0x5d554d),_0x4e3b7c=_0x40f224[_0xf7f13e(0x206)](_0x27da56),{pivotTableId:_0xe59e18,position:_0x28bce8,index:_0x50dfcc}=_0x93a091,_0x8b8006=_0x19f73c(_0x9cca3e);if(!_0x8b8006)return!0x1;const {unitId:_0x3c2d28,subUnitId:_0x204b6e}=_0x8b8006,_0x586b0b=(await _0x6642b3[_0xf7f13e(0x28c)]({'unitId':_0x3c2d28,'subUnitId':_0x204b6e,'pivotTableId':_0xe59e18,'params':{'type':W[_0xf7f13e(0x20a)],'updateValuePosition':{'position':_0x28bce8,'index':_0x50dfcc}}}))[_0xf7f13e(0x2e0)][_0xf7f13e(0x390)];if(!_0x586b0b)return!0x1;const {changesets:_0x82a9e9,view:_0x1edf2a,isEmpty:_0x44081c,pivotTableConfig:_0x7f64b}=_0x586b0b,_0x11f0fd=_0x7f64b[_0xf7f13e(0x38a)],_0x29c91a=new _0x2c3b07();_0x29c91a[_0xf7f13e(0x38e)](_0x1edf2a);const _0x1b849b=_0x40f224['get'](ie),_0x4769e6={'cellInfo':_0x11f0fd,'view':_0x29c91a,'isEmpty':_0x44081c};if(!await _0x1b849b['asyncInterceptor'][_0xf7f13e(0x2c7)](be)(!0x0,_0x4769e6))return!0x1;const _0x486534=we(_0x40f224,_0x29c91a,_0x11f0fd,_0x44081c),_0x55e5b7=_e(_0x40f224,_0x4769e6),{undos:_0x226857,redos:_0x4065a9}=me(_0x30e80f,{'pivotTableId':_0xe59e18,'unitId':_0x3c2d28,'subUnitId':_0x204b6e},_0x82a9e9);return _0x3181f1([..._0x486534[_0xf7f13e(0x3cd)],..._0x55e5b7[_0xf7f13e(0x3cd)],..._0x4065a9],_0x30e80f),_0x4e3b7c[_0xf7f13e(0x377)]({'unitID':_0x3c2d28,'redoMutations':[..._0x486534[_0xf7f13e(0x3cd)],..._0x55e5b7[_0xf7f13e(0x3cd)],..._0x4065a9],'undoMutations':[..._0x486534[_0xf7f13e(0x1b9)],..._0x55e5b7[_0xf7f13e(0x1b9)],..._0x226857]}),!0x0;}},xt={'type':_0x538c0b[_0x27d18f(0x2f2)],'id':_0x27d18f(0x26e),'handler'(){return!0x0;}};var xs=Object[_0x27d18f(0x381)],Us=(_0x197a6f,_0x473bc4,_0x2f830f,_0x304c04)=>{for(var _0x2a307b=_0x304c04>0x1?void 0x0:_0x304c04?xs(_0x473bc4,_0x2f830f):_0x473bc4,_0x5e7314=_0x197a6f['length']-0x1,_0x5f0461;_0x5e7314>=0x0;_0x5e7314--)(_0x5f0461=_0x197a6f[_0x5e7314])&&(_0x2a307b=_0x5f0461(_0x2a307b)||_0x2a307b);return _0x2a307b;},at=(_0x37e802,_0x3b4cfc)=>(_0x375816,_0x1ccaf8)=>_0x3b4cfc(_0x375816,_0x1ccaf8,_0x37e802);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x48112b,_0x33ad7b,_0x4bb3d5)=>{const _0x36779c=_0x27d18f,_0x92a660=_0x48112b['dataFieldsCollection'];_0x48112b['iterateFieldDim'](_0x201e9c=>{const _0x4c97da=_0x2985,_0x327371=_0x201e9c[_0x4c97da(0x300)](),_0x47557e=_0x201e9c[_0x4c97da(0x25f)](),_0x1347a9=_0x201e9c[_0x4c97da(0x352)](),_0x2ea726=_0x201e9c[_0x4c97da(0x26a)]();_0x33ad7b[_0x47557e]&&_0x33ad7b[_0x47557e]===_0x2ea726&&_0x1347a9===_0x2ea726&&(_0x48112b['renameField'](_0x327371,_0x92a660[_0x4c97da(0x26a)](_0x47557e)),_0x201e9c['setSourceName'](_0x92a660[_0x4c97da(0x26a)](_0x47557e)));}),_0x48112b[_0x36779c(0x279)](_0x37b460[_0x36779c(0x240)],_0x68e4b6=>{const _0x27c3cd=_0x36779c,_0x101b25=_0x68e4b6[_0x27c3cd(0x300)](),_0x2b34ef=_0x68e4b6[_0x27c3cd(0x25f)](),_0x4b316e=_0x68e4b6['getSourceName'](),_0x4e5cb1=_0x68e4b6[_0x27c3cd(0x26a)](),_0x86e65d=_0x68e4b6[_0x27c3cd(0x191)](),_0x1385f2=_0x4bb3d5(_0x4b316e,_0x86e65d);_0x33ad7b[_0x2b34ef]&&_0x33ad7b[_0x2b34ef]===_0x4b316e&&_0x1385f2===_0x4e5cb1&&(_0x48112b[_0x27c3cd(0x1e3)](_0x101b25,_0x4bb3d5(_0x92a660[_0x27c3cd(0x26a)](_0x2b34ef),_0x86e65d)),_0x68e4b6[_0x27c3cd(0x286)](_0x92a660['getDisplayName'](_0x2b34ef)));});},Os=(_0x4e8abb,_0x398cc0,_0x1ebc6a)=>{const _0x3b953d=_0x27d18f;var _0x1401fd,_0x5c247a;const {arrayFormulaCellData:_0xca391c,unitData:_0x506a9d}=_0x398cc0,{unitId:_0x50bf78,subUnitId:_0x219ee9}=_0x1ebc6a,_0x491d0a=_0x1ebc6a['range'],{startColumn:_0x32b472,endColumn:_0x19b6cc}=_0x491d0a,_0x57b137=(_0x1401fd=_0xca391c==null?void 0x0:_0xca391c[_0x50bf78])==null?void 0x0:_0x1401fd[_0x219ee9],_0x5a0ccd=(_0x5c247a=_0x506a9d==null?void 0x0:_0x506a9d[_0x50bf78])==null?void 0x0:_0x5c247a[_0x219ee9],_0x18d460=new Set(),_0x24c148=_0x19b6cc-_0x32b472+0x1,{dirtyRanges:_0x2f20da}=_0x4e8abb;if(_0x2f20da)for(const {range:_0x5ea4c1,sheetId:_0x392085,unitId:_0x410c12}of _0x2f20da){if(_0x392085!==_0x219ee9||_0x50bf78!==_0x410c12)continue;const _0x162da5=_0x4986e5[_0x3b953d(0x24c)](_0x5ea4c1,_0x491d0a);if(_0x162da5){const {startColumn:_0x434cd2,endColumn:_0x5de16e}=_0x162da5;for(let _0x140e55=_0x434cd2;_0x140e55<=_0x5de16e;_0x140e55++)_0x18d460['add'](_0x140e55);}}if(_0x18d460[_0x3b953d(0x25d)]===_0x24c148||_0x18d460['size']===_0x24c148)return Array[_0x3b953d(0x3ce)](_0x18d460);if(_0x5a0ccd){const _0x4aba29=_0x5a0ccd[_0x3b953d(0x331)](),_0x3fbf12=Object[_0x3b953d(0x205)](_0x4aba29);for(const _0x2ad4ab of _0x3fbf12){const _0x2ee0b8=Number(_0x2ad4ab),_0x1fab29=_0x4aba29[_0x2ee0b8];if(_0x18d460[_0x3b953d(0x25d)]===_0x24c148)break;for(const _0x495742 in _0x1fab29){const _0x443871=Number(_0x495742);_0x443871<_0x32b472||_0x443871>_0x19b6cc||_0x18d460[_0x3b953d(0x2e1)](_0x443871);}}}if(_0x57b137){const _0x47104e=_0x57b137[_0x3b953d(0x331)](),_0x1c508e=Object['keys'](_0x47104e);for(const _0x5b3801 of _0x1c508e){const _0x23d231=Number(_0x5b3801),_0x568903=_0x47104e[_0x23d231];if(_0x18d460[_0x3b953d(0x25d)]===_0x24c148)break;for(const _0x4b2039 in _0x568903){const _0x23a839=Number(_0x4b2039);_0x23a839<_0x32b472||_0x23a839>_0x19b6cc||_0x18d460['add'](_0x23a839);}}}return Array[_0x3b953d(0x3ce)](_0x18d460);},As=_0x5057f1=>{const _0x16fccf=_0x27d18f,_0x2d9be5=new Set(),_0x4f4fe0=[];for(const _0x566335 of _0x5057f1){const _0x415810=_0x566335[_0x16fccf(0x36b)]+','+_0x566335[_0x16fccf(0x380)]+','+_0x566335[_0x16fccf(0x282)]+','+_0x566335[_0x16fccf(0x26f)];_0x2d9be5['has'](_0x415810)||(_0x2d9be5[_0x16fccf(0x2e1)](_0x415810),_0x4f4fe0[_0x16fccf(0x260)](_0x566335));}return _0x4f4fe0;};let ct=class extends _0x592bfe{constructor(_0x250669,_0x21b438,_0x31aa7f,_0x379621,_0x5c132a){const _0xe7d77b=_0x27d18f;super(),x(this,_0xe7d77b(0x364),new _0x4f4100(!0x0)),x(this,_0xe7d77b(0x18a),_0x286d64=>{const _0x377ae3=_0xe7d77b;this[_0x377ae3(0x364)][_0x377ae3(0x34b)](!0x1);}),x(this,'_globalComputedEndHelpFunc',_0x1099b6=>{const _0x2e4078=_0xe7d77b;this[_0x2e4078(0x364)][_0x2e4078(0x34b)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x250669,this[_0xe7d77b(0x280)]=_0x21b438,this[_0xe7d77b(0x3e8)]=_0x31aa7f,this[_0xe7d77b(0x19f)]=_0x379621,this[_0xe7d77b(0x21d)]=_0x5c132a,this[_0xe7d77b(0x3c6)](),this[_0xe7d77b(0x3fa)]());}[_0x27d18f(0x3c6)](){const _0x2ec5eb=_0x27d18f;this[_0x2ec5eb(0x2d8)](),this[_0x2ec5eb(0x1ba)](),this[_0x2ec5eb(0x3ee)](),this[_0x2ec5eb(0x3b5)]();}[_0x27d18f(0x273)](){const _0x2544e7=_0x27d18f;this[_0x2544e7(0x19f)]['pushComputingStatusSubject'](this['_globalSubject']),_0x536307[_0x2544e7(0x1f2)](_0x22a277[_0x2544e7(0x1c6)],this[_0x2544e7(0x18a)]),_0x536307['registerCallbackWithEvent'](_0x22a277['onQueryEnd'],this[_0x2544e7(0x361)]);}[_0x27d18f(0x3fa)](){const _0x4e9c5c=_0x27d18f;this[_0x4e9c5c(0x3ca)](this[_0x4e9c5c(0x3e8)][_0x4e9c5c(0x2d0)](_0x1e1231=>{const _0x5bb6f1=_0x4e9c5c;_0x1e1231['id']===_0x464c8b['id']&&this['_sheetsPivotDataSourceModel'][_0x5bb6f1(0x19c)](_0x1e1231[_0x5bb6f1(0x3f4)]);})),this['disposeWithMe'](this[_0x4e9c5c(0x3e8)]['onCommandExecuted'](_0xd3299b=>{const _0x507778=_0x4e9c5c;if(_0xd3299b['id']!==ro['id'])return;const _0x36e1c2=_0xd3299b['params'],{unitId:_0x5adf9c,subUnitId:_0xfbc8e8,pivotTableId:_0x5d160a}=_0x36e1c2,_0x12ba6e=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x23e)],_0x458e45={};switch(_0x12ba6e){case W[_0x507778(0x19d)]:{const _0x5ca86f=_0x36e1c2['params'][_0x507778(0x25e)];if(!_0x5ca86f)return;const {row:_0x3e0b77,col:_0x2c5bd3,cellData:_0x5a8773,pivotItemRenderInfoCache:_0x3d9807,tableFieldId:_0x380a06}=_0x5ca86f,_0x4c5719=this[_0x507778(0x339)][_0x507778(0x37c)](_0x36e1c2['pivotTableId']);if(!_0x4c5719||!_0x3d9807)return;if(_0x380a06){const _0x1ae8b2=_0x4c5719[_0x507778(0x1f3)](_0x380a06);if(!_0x1ae8b2)return;_0x458e45[_0x507778(0x25e)]={..._0x4c5719[_0x507778(0x3cb)](_0x1ae8b2),'tableFieldId':_0x380a06,'pivotTableId':_0x36e1c2['pivotTableId'],'filterInfo':_0x4c5719[_0x507778(0x2e7)](_0x380a06),'sortInfo':_0x4c5719[_0x507778(0x307)](_0x380a06),'format':_0x4c5719[_0x507778(0x209)](_0x380a06)};}else{const _0x4d1481=Wi(_0x3e0b77,_0x2c5bd3,_0x5a8773,_0x4c5719,_0x3d9807),_0x3bf40e=_0x4d1481==null?void 0x0:_0x4d1481[_0x507778(0x1d3)];if(!_0x3bf40e)return;const _0x6eb86a=_0x4c5719[_0x507778(0x1f3)](_0x3bf40e);if(!_0x6eb86a)return;_0x458e45[_0x507778(0x25e)]={..._0x4c5719['getDataFieldItemInfo'](_0x6eb86a),'tableFieldId':_0x3bf40e,'pivotTableId':_0x36e1c2['pivotTableId'],'filterInfo':_0x4c5719[_0x507778(0x2e7)](_0x3bf40e),'sortInfo':_0x4c5719['getSortInfo'](_0x3bf40e),'format':_0x4c5719[_0x507778(0x209)](_0x3bf40e)};}}break;case W['Panel']:{const _0x4091f4=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x283)];if(!_0x4091f4)return;const {pivotTableId:_0x20f64c}=_0x4091f4,_0x44fe85=this[_0x507778(0x339)][_0x507778(0x37c)](_0x20f64c);if(!_0x44fe85)return;const _0x59a741=this['_sheetsPivotDataSourceModel'][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x20f64c),_0x2a8b83=ki(_0x44fe85,_0x20f64c,_0x59a741);_0x458e45[_0x507778(0x283)]=_0x2a8b83;}break;case W[_0x507778(0x1b5)]:{const _0x5e4dd2=this[_0x507778(0x339)][_0x507778(0x37c)](_0x5d160a),_0x21fb9a=this[_0x507778(0x339)][_0x507778(0x278)](_0x5adf9c),_0x432ddb=_0x21fb9a[_0x507778(0x39a)](_0x5d160a);let _0x4a5a0f=null;const _0x85359c=this[_0x507778(0x339)][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a),_0x51ac7c=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x318)];if(!_0x5e4dd2||!_0x85359c||!_0x51ac7c)return!0x1;const {dataFieldId:_0x5ee267,fieldArea:_0x1e2908,index:_0x1b1567}=_0x51ac7c;_0x5e4dd2[_0x507778(0x32b)]();const _0x4d4337=_0x5e4dd2['addFieldWithSourceId'](_0x5ee267,_0x1e2908,_0x1b1567);if(_0x4d4337&&_0x1e2908===_0x37b460[_0x507778(0x240)]){const _0x55530a=_0x4d4337[_0x507778(0x300)](),_0x7c4d19=_0x5e4dd2['getDataFieldByTableId'](_0x55530a);if(_0x7c4d19){const _0xcefd32=_0x7c4d19==null?void 0x0:_0x7c4d19[_0x507778(0x31b)]();_0x5e4dd2['setSubtotalType'](_0x4d4337['getId'](),_0xcefd32===_0x22e19e[_0x507778(0x1cd)]?_0x39da75[_0x507778(0x328)]:_0x39da75[_0x507778(0x1a8)]);}const _0x1ce908=_0x5e4dd2[_0x507778(0x3f1)](),_0x57e2d4=_0x5e4dd2['getValuePosition'](),_0x58f86d=_0x5e4dd2[_0x507778(0x2db)](_0x37b460[_0x507778(0x240)]);if(_0x1ce908===-0x1&&_0x58f86d>0x1){const _0xf0aefd=_0x57e2d4===_0x9b8e78[_0x507778(0x2ce)]?_0x9b8e78['Column']:_0x57e2d4,_0x1fc437=_0xf0aefd===_0x9b8e78[_0x507778(0x2e9)]?_0x37b460[_0x507778(0x2e9)]:_0x37b460[_0x507778(0x36c)];_0x5e4dd2[_0x507778(0x390)](_0xf0aefd,_0x5e4dd2[_0x507778(0x2db)](_0x1fc437));}}else{if(_0x4d4337&&(_0x1e2908===_0x37b460[_0x507778(0x2e9)]||_0x1e2908===_0x37b460[_0x507778(0x36c)])){const _0xaa7f7e=_0x4d4337[_0x507778(0x300)](),_0x773f3c=_0x5e4dd2[_0x507778(0x1f3)](_0xaa7f7e);if(_0x773f3c&&(_0x773f3c==null?void 0x0:_0x773f3c[_0x507778(0x31b)]())===_0x22e19e['date']){const _0x56c67e=_0x773f3c[_0x507778(0x24b)]();if(_0x56c67e&&_0x5e4dd2[_0x507778(0x2ac)](_0x4d4337['getId'](),_0x56c67e),!_0x432ddb[_0x507778(0x3e6)]()[_0x507778(0x281)](_0x6f7318=>{const _0x22e816=_0x507778,_0x139394=_0x432ddb['getFieldById'](_0x6f7318);return _0x5cef84(_0x139394)?_0x139394[_0x22e816(0x204)]()[_0x22e816(0x1bd)]===_0x5ee267:!0x1;})){const _0x3f7d81=_0x21fb9a[_0x507778(0x1d4)](),_0x5a350b=Ki(_0x773f3c[_0x507778(0x312)],_0x773f3c[_0x507778(0x23c)]),_0x455003=_0x773f3c[_0x507778(0x2eb)]()+'\x20-\x20'+Ko(this['_injector'],_0x5a350b),_0x227154=new _0x2705c4(_0x3f7d81,_0x455003,_0x365949(0x3),_0x773f3c[_0x507778(0x300)](),_0x5a350b);_0x21fb9a[_0x507778(0x3d1)](_0x227154),_0x432ddb[_0x507778(0x32c)](_0x3f7d81,_0x455003),_0x5e4dd2[_0x507778(0x303)](_0x3f7d81,_0x1e2908,(_0x1b1567!=null?_0x1b1567:0x0)+0x1),_0x4a5a0f=_0x227154;}}}}const _0x327c60=_0x5e4dd2[_0x507778(0x334)](),_0x4875d7=_0x5e4dd2[_0x507778(0x308)]()[_0x507778(0x1d7)]();let _0x37a6f0;if(_0x4a5a0f){_0x37a6f0=_0x4a5a0f[_0x507778(0x1d7)]();const _0x1b019b=_0x4a5a0f[_0x507778(0x300)]();_0x432ddb[_0x507778(0x3fe)](_0x1b019b);let _0x515fa2=!0x0;for(const _0x2cb182 in _0x21fb9a[_0x507778(0x319)])if(_0x21fb9a['collections'][_0x2cb182][_0x507778(0x3e6)]()[_0x507778(0x3bd)](_0x1b019b)){_0x515fa2=!0x1;break;}_0x515fa2&&_0x21fb9a[_0x507778(0x1e9)](_0x1b019b);}const _0x1556b4=_0x5e4dd2['endCollectChangeset']();_0x458e45['addPivotField']={'view':_0x4875d7,'changesets':_0x1556b4,'isEmpty':_0x327c60,'pivotTableConfig':_0x85359c,'shouldBeAddedGroupJSON':_0x37a6f0};}break;case W[_0x507778(0x2ec)]:{const _0xf4504d=_0x36e1c2['params'][_0x507778(0x35e)];if(!_0xf4504d)return;const _0x13f038=_0xf4504d[_0x507778(0x3fc)],_0x2b1aab=_0xf4504d[_0x507778(0x225)],{collection:_0x28624b}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x13f038[_0x507778(0x1a1)],'sheetName':_0x13f038[_0x507778(0x275)],'subUnitId':_0x13f038[_0x507778(0x2f7)],'range':_0x13f038['range']}),_0x48f99b=new _0x536307(_0x28624b,void 0x0,_0x2b1aab),_0x572619=_0x48f99b[_0x507778(0x308)](),_0x162753=_0x48f99b[_0x507778(0x1d7)](),_0x3e9946=_0x28624b['toJSON']();_0x458e45['addPivotTable']={'view':_0x572619,'fieldsConfig':_0x162753,'collectionConfig':_0x3e9946,'isEmpty':_0x48f99b[_0x507778(0x334)]()};}break;case W['MovePivotField']:{const _0x2bbade=_0x36e1c2['params'][_0x507778(0x246)];if(!_0x2bbade)return;const {fieldId:_0xa63bf9,area:_0x1f13e9,index:_0x34e1bc}=_0x2bbade,_0x4cdbd8=this[_0x507778(0x339)][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x4cdbd8)return;const _0x219e2e=this[_0x507778(0x339)]['getPivotTableInstance'](_0x5d160a);if(!_0x219e2e)return;_0x219e2e[_0x507778(0x32b)]();const {area:_0x34a5be,index:_0x50bd16}=_0x219e2e['getFieldPositionInfoById'](_0xa63bf9);if(_0x219e2e['updateFieldPosition'](_0xa63bf9,_0x1f13e9,_0x34e1bc),_0x1f13e9===_0x37b460[_0x507778(0x240)]&&_0x219e2e[_0x507778(0x2bc)](_0xa63bf9)[_0x507778(0x191)]()===void 0x0){const _0xccea41=_0x219e2e[_0x507778(0x2bc)](_0xa63bf9);if(_0xccea41&&_0xccea41[_0x507778(0x191)]()===void 0x0){const _0x7154d7=_0x219e2e[_0x507778(0x1f3)](_0xa63bf9);if(_0x7154d7){const _0x44ec5b=_0x7154d7==null?void 0x0:_0x7154d7[_0x507778(0x31b)]();_0x219e2e[_0x507778(0x237)](_0xa63bf9,_0x44ec5b===_0x22e19e[_0x507778(0x1cd)]?_0x39da75[_0x507778(0x328)]:_0x39da75[_0x507778(0x1a8)]);}}}const _0x2e6812=_0x219e2e[_0x507778(0x256)](),_0x40e7cc=_0x219e2e[_0x507778(0x3f1)](),_0x351635=_0x219e2e[_0x507778(0x2db)](_0x37b460[_0x507778(0x240)])>0x1;if(_0x351635&&_0x34a5be===_0x1f13e9&&(_0x1f13e9===_0x37b460['Row']&&_0x2e6812===_0x9b8e78[_0x507778(0x2e9)]||_0x1f13e9===_0x37b460[_0x507778(0x36c)]&&_0x2e6812===_0x9b8e78[_0x507778(0x36c)])){let _0x5ec8ea=_0x40e7cc;_0x50bd16<=_0x40e7cc&&_0x5ec8ea--,_0x34e1bc<=_0x40e7cc&&_0x5ec8ea++,_0x219e2e[_0x507778(0x390)](_0x2e6812,_0x5ec8ea);}else _0x351635&&(_0x34a5be===_0x37b460[_0x507778(0x2e9)]&&_0x2e6812===_0x9b8e78[_0x507778(0x2e9)]||_0x34a5be===_0x37b460[_0x507778(0x36c)]&&_0x2e6812===_0x9b8e78['Column'])&&_0x40e7cc>=_0x50bd16&&_0x219e2e[_0x507778(0x390)](_0x2e6812,_0x40e7cc-0x1),_0x351635&&(_0x1f13e9===_0x37b460[_0x507778(0x2e9)]&&_0x2e6812===_0x9b8e78[_0x507778(0x2e9)]||_0x1f13e9===_0x37b460[_0x507778(0x36c)]&&_0x2e6812===_0x9b8e78[_0x507778(0x36c)])&&_0x40e7cc>=_0x34e1bc&&_0x219e2e[_0x507778(0x390)](_0x2e6812,_0x40e7cc+0x1);const _0x4d792f=_0x219e2e[_0x507778(0x308)](),_0x13493c=_0x219e2e[_0x507778(0x334)](),_0x513adf=_0x219e2e[_0x507778(0x262)]();_0x458e45[_0x507778(0x246)]={'view':_0x4d792f['toJSON'](),'changesets':_0x513adf,'isEmpty':_0x13493c,'pivotTableConfig':_0x4cdbd8};}break;case W[_0x507778(0x238)]:{const _0x31836f=_0x36e1c2['params'][_0x507778(0x23a)];if(!_0x31836f)return;const _0x5fe067=_0x31836f[_0x507778(0x3a0)],_0x603a13=this[_0x507778(0x339)][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x603a13)return!0x1;const _0x1e44e6=this[_0x507778(0x339)][_0x507778(0x37c)](_0x5d160a);if(!_0x1e44e6)return!0x1;_0x1e44e6['startCollectChangeset']();for(const _0x1db817 of _0x5fe067){const {area:_0x627d3b}=_0x1e44e6[_0x507778(0x394)](_0x1db817);_0x627d3b===_0x37b460[_0x507778(0x240)]&&_0x1e44e6[_0x507778(0x3d9)](_0x1db817),(_0x627d3b===_0x37b460['Row']||_0x627d3b===_0x37b460[_0x507778(0x36c)])&&_0x1e44e6[_0x507778(0x406)](_0x1db817),_0x1e44e6['removeField'](_0x1db817);}const _0x1da5a1=_0x1e44e6[_0x507778(0x334)](),_0xb8fd98=_0x1e44e6[_0x507778(0x308)]()[_0x507778(0x1d7)](),_0x4bd95b=_0x1e44e6[_0x507778(0x262)]();_0x458e45['removePivotField']={'changesets':_0x4bd95b,'pivotTableConfig':_0x603a13,'isEmpty':_0x1da5a1,'view':_0xb8fd98};}break;case W[_0x507778(0x306)]:{const _0x27f1c0=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x1ab)];if(!_0x27f1c0)return;const {tableFieldId:_0x157b3a,items:_0x26a70f,isAll:_0x55492a}=_0x27f1c0,_0x4c9c5c=this[_0x507778(0x339)]['getPivotTableInstance'](_0x5d160a),_0xd67503=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x4c9c5c||!_0xd67503)return;_0x4c9c5c['startCollectChangeset'](),_0x4c9c5c[_0x507778(0x3b4)](_0x157b3a,{'type':_0x3a66a3[_0x507778(0x1a2)],'list':_0x26a70f,'isAll':_0x55492a});const _0x366992=_0x4c9c5c[_0x507778(0x334)](),_0x411b95=_0x4c9c5c['query']()['toJSON'](),_0x5b312e=_0x4c9c5c[_0x507778(0x262)]();_0x458e45[_0x507778(0x1ab)]={'view':_0x411b95,'changesets':_0x5b312e,'isEmpty':_0x366992,'pivotTableConfig':_0xd67503};}break;case W['SetValuePivotFilter']:{const _0x2040ea=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x2e6)];if(!_0x2040ea)return;const {tableFieldId:_0x10a569,filterInfo:_0x469489}=_0x2040ea,_0xb4e22f=this[_0x507778(0x339)]['getPivotTableInstance'](_0x5d160a),_0x56c09c=this[_0x507778(0x339)][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0xb4e22f||!_0x56c09c)return;_0xb4e22f[_0x507778(0x32b)](),_0xb4e22f[_0x507778(0x27d)](_0x10a569,_0x469489);const _0x2814ef=_0xb4e22f['isEmpty'](),_0x23ee58=_0xb4e22f[_0x507778(0x308)]()[_0x507778(0x1d7)](),_0x4ccc92=_0xb4e22f[_0x507778(0x262)]();_0x458e45[_0x507778(0x2e6)]={'view':_0x23ee58,'changesets':_0x4ccc92,'isEmpty':_0x2814ef,'pivotTableConfig':_0x56c09c};}break;case W[_0x507778(0x1f9)]:{const _0x209738=_0x36e1c2['params'][_0x507778(0x33c)];if(!_0x209738)return;const {tableFieldId:_0x30afe8,info:_0x914014}=_0x209738,_0x54e670=this[_0x507778(0x339)]['getPivotTableInstance'](_0x5d160a),_0x35ef07=this['_sheetsPivotDataSourceModel'][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x54e670||!_0x35ef07)return;_0x54e670[_0x507778(0x32b)](),_0x54e670[_0x507778(0x32e)](_0x30afe8,_0x914014);const _0x27aff2=_0x54e670[_0x507778(0x334)](),_0x1f3750=_0x54e670[_0x507778(0x308)]()[_0x507778(0x1d7)](),_0x2ec7ed=_0x54e670[_0x507778(0x262)]();_0x458e45[_0x507778(0x33c)]={'view':_0x1f3750,'changesets':_0x2ec7ed,'isEmpty':_0x27aff2,'pivotTableConfig':_0x35ef07};}break;case W[_0x507778(0x37e)]:{const _0x46c3f8=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x234)];if(!_0x46c3f8)return;const {tableFieldId:_0x1fb0ab,displayName:_0x344ac8,subtotalType:_0x2a0dcc,format:_0x4987f1}=_0x46c3f8,_0x4b7050=this['_sheetsPivotDataSourceModel'][_0x507778(0x37c)](_0x5d160a),_0x4108d3=this[_0x507778(0x339)][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x4b7050||!_0x4108d3)return;_0x4b7050['startCollectChangeset'](),_0x344ac8!==void 0x0&&_0x4b7050[_0x507778(0x1e3)](_0x1fb0ab,_0x344ac8),_0x2a0dcc!==void 0x0&&_0x4b7050[_0x507778(0x237)](_0x1fb0ab,_0x2a0dcc),_0x4987f1!==void 0x0&&_0x4b7050[_0x507778(0x2ac)](_0x1fb0ab,_0x4987f1);const _0x3a0362=_0x4b7050[_0x507778(0x334)](),_0x1d5f2a=_0x4b7050[_0x507778(0x308)]()[_0x507778(0x1d7)](),_0x11bb12=_0x4b7050['endCollectChangeset']();_0x458e45[_0x507778(0x234)]={'changesets':_0x11bb12,'pivotTableConfig':_0x4108d3,'isEmpty':_0x3a0362,'view':_0x1d5f2a};}break;case W[_0x507778(0x305)]:{const _0x298825=_0x36e1c2[_0x507778(0x3f4)]['updatePivotSource'];if(!_0x298825)return;const {dataRangeInfo:_0x80a7b3,unitId:_0x44623b,subUnitId:_0xed2e2b}=_0x298825,_0x5065c6=this[_0x507778(0x339)][_0x507778(0x27c)](_0x44623b,_0xed2e2b,_0x5d160a),_0x3b1fed=this[_0x507778(0x339)][_0x507778(0x37c)](_0x5d160a);if(!this[_0x507778(0x339)]['getCollection'](_0x44623b,_0x5d160a)||!_0x3b1fed||!_0x5065c6)return;const _0x277375=this[_0x507778(0x339)][_0x507778(0x337)](_0x44623b,_0x5d160a,_0x80a7b3),_0x30598c=this['_sheetsPivotDataSourceModel']['getCollection'](_0x44623b,_0x5d160a)[_0x507778(0x1d7)](),{collection:_0x3ba322}=this[_0x507778(0x339)][_0x507778(0x1e8)]({'unitId':_0x80a7b3[_0x507778(0x1a1)],'sheetName':_0x80a7b3['sheetName'],'subUnitId':_0x80a7b3[_0x507778(0x2f7)],'range':_0x80a7b3[_0x507778(0x18f)]}),_0x371e9d=_0x3ba322['toJSON']();_0x3b1fed[_0x507778(0x32b)]();const _0x39346a=this['_sheetsPivotDataSourceModel'][_0x507778(0x278)](_0x44623b)['getAutoDisplayNameFunction']()||_0x295d17;_0x3b1fed[_0x507778(0x1cf)](_0x3089f5=>{const _0x3051c5=_0x507778,_0x245081=_0x3089f5['getDataFieldId']();if(!_0x3ba322['hasField'](_0x245081)){const _0x41b539=_0x3ba322[_0x3051c5(0x365)](_0x3089f5[_0x3051c5(0x352)]());if(_0x41b539){_0x3b1fed[_0x3051c5(0x27a)](_0x3089f5[_0x3051c5(0x300)](),_0x41b539['getName'](),_0x41b539[_0x3051c5(0x300)]());const {area:_0x4bff9e}=_0x3b1fed[_0x3051c5(0x394)](_0x3089f5[_0x3051c5(0x300)]());let _0x4a3a72=_0x3089f5[_0x3051c5(0x352)]();const _0x32f3ce=_0x3089f5['getDisplayName']();if(_0x4bff9e===_0x37b460[_0x3051c5(0x240)]){const _0x2f485d=_0x3089f5['getSubtotal']();_0x4a3a72=_0x39346a(_0x41b539[_0x3051c5(0x2eb)](),_0x2f485d);}_0x32f3ce!==_0x4a3a72&&_0x3b1fed['renameField'](_0x3089f5[_0x3051c5(0x300)](),_0x4a3a72);}else _0x3b1fed[_0x3051c5(0x2cd)](_0x3089f5[_0x3051c5(0x300)]());}});const _0x2ddabd=_0x3b1fed['isEmpty'](),_0x546354=_0x3b1fed[_0x507778(0x308)]()[_0x507778(0x1d7)](),_0xdaa8c8=_0x3b1fed[_0x507778(0x262)]();_0x458e45['updatePivotSource']={'view':_0x546354,'changesets':_0xdaa8c8,'isEmpty':_0x2ddabd,'pivotTableConfig':_0x5065c6,'collectionConfig':_0x371e9d,'oldCollectionConfig':_0x30598c,'deleteIds':_0x277375};}break;case W[_0x507778(0x20a)]:{const _0x2cea9d=_0x36e1c2['params'][_0x507778(0x390)];if(!_0x2cea9d)return;const {position:_0x22a9f4,index:_0x558af9}=_0x2cea9d,_0x4a43a3=this['_sheetsPivotDataSourceModel'][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x4a43a3)return!0x1;const _0x4cf565=this[_0x507778(0x339)][_0x507778(0x37c)](_0x5d160a);if(!_0x4cf565)return!0x1;_0x4cf565[_0x507778(0x32b)](),_0x4cf565[_0x507778(0x390)](_0x22a9f4,_0x558af9);const _0x1aab15=_0x4cf565['isEmpty'](),_0xd29ad9=_0x4cf565[_0x507778(0x308)]()['toJSON'](),_0x3ec217=_0x4cf565[_0x507778(0x262)]();_0x458e45[_0x507778(0x390)]={'changesets':_0x3ec217,'pivotTableConfig':_0x4a43a3,'isEmpty':_0x1aab15,'view':_0xd29ad9};}break;case W['SetPivotCollapse']:{const _0x2fdde1=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x233)];if(!_0x2fdde1)return;const {tableFieldId:_0x1602b5,collapse:_0x4be86d,item:_0x5db604}=_0x2fdde1,_0x1d1253=this[_0x507778(0x339)][_0x507778(0x37c)](_0x5d160a),_0x27569d=this[_0x507778(0x339)][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x1d1253||!_0x27569d)return;_0x1d1253[_0x507778(0x32b)](),_0x1d1253['setCollapse'](_0x1602b5,_0x4be86d,_0x5db604);const _0x355e65=_0x1d1253[_0x507778(0x334)](),_0x1598ed=_0x1d1253[_0x507778(0x308)]()[_0x507778(0x1d7)](),_0x1e4fe3=_0x1d1253['endCollectChangeset']();_0x458e45[_0x507778(0x233)]={'view':_0x1598ed,'isEmpty':_0x355e65,'pivotTableConfig':_0x27569d,'changesets':_0x1e4fe3};}break;case W['SetPivotTableConfig']:{const _0x4d8b59=_0x36e1c2['params'][_0x507778(0x18b)];if(!_0x4d8b59)return;const {pivotTableConfig:_0x292ba4}=_0x4d8b59,_0x351cc8=this[_0x507778(0x339)][_0x507778(0x37c)](_0x5d160a),_0x35b314=this['_sheetsPivotDataSourceModel'][_0x507778(0x27c)](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x351cc8||!_0x35b314)return;_0x351cc8[_0x507778(0x32b)](),Gi(_0x351cc8,_0x292ba4);const _0x52c37f=_0x351cc8['isEmpty'](),_0x4a1822=_0x351cc8['query']()[_0x507778(0x1d7)](),_0x38b447=_0x351cc8[_0x507778(0x262)]();_0x458e45['setPivotTableConfig']={'view':_0x4a1822,'isEmpty':_0x52c37f,'pivotTableConfig':{..._0x35b314,'fieldsConfig':_0x351cc8[_0x507778(0x1d7)]()},'changesets':_0x38b447};}break;case W[_0x507778(0x323)]:{const _0x1145a4=_0x36e1c2[_0x507778(0x3f4)]['resetPivotTable'];if(!_0x1145a4)return;const _0x3fa7a0=this[_0x507778(0x339)]['getPivotTableInstance'](_0x5d160a),_0x4eea8e=this[_0x507778(0x339)]['getPivotTableConfig'](_0x5adf9c,_0xfbc8e8,_0x5d160a);if(!_0x3fa7a0||!_0x4eea8e)return;_0x3fa7a0[_0x507778(0x32b)](),ji(_0x3fa7a0,_0x1145a4[_0x507778(0x267)]);const _0x34c4e2=_0x3fa7a0[_0x507778(0x308)]()['toJSON'](),_0x76fc33=_0x3fa7a0[_0x507778(0x262)]();_0x458e45[_0x507778(0x1c7)]={'view':_0x34c4e2,'isEmpty':!0x0,'pivotTableConfig':{..._0x4eea8e,'fieldsConfig':_0x3fa7a0[_0x507778(0x1d7)]()},'changesets':_0x76fc33};}break;case W[_0x507778(0x2af)]:{const _0xdd0de6=_0x36e1c2[_0x507778(0x3f4)][_0x507778(0x2a9)];if(!_0xdd0de6)return;const _0x36cc11=_0xdd0de6[_0x507778(0x3fc)],_0x2fb0fc=_0xdd0de6[_0x507778(0x225)],{collection:_0x462641}=this[_0x507778(0x339)][_0x507778(0x1e8)]({'unitId':_0x36cc11[_0x507778(0x1a1)],'sheetName':_0x36cc11[_0x507778(0x275)],'subUnitId':_0x36cc11[_0x507778(0x2f7)],'range':_0x36cc11[_0x507778(0x18f)]}),_0x759f04=new _0x536307(_0x462641,void 0x0,_0x2fb0fc),_0xa255c5=_0x462641[_0x507778(0x3e6)](),{rows:_0x4eba3c,columns:_0x27a7ad,filters:_0x514335,values:_0x57a1a5}=_0xdd0de6[_0x507778(0x366)];_0x759f04[_0x507778(0x32b)]();for(const {field:_0x231b1c,selectedItems:_0x192db2}of _0x4eba3c||[]){const _0x261161=_0xa255c5[_0x231b1c];if(_0x261161){const _0x2c05c5=_0x759f04['addFieldWithSourceId'](_0x261161,_0x37b460['Row']);_0x192db2&&_0x2c05c5&&_0x759f04[_0x507778(0x3b4)](_0x2c05c5[_0x507778(0x300)](),{'type':_0x3a66a3[_0x507778(0x1a2)],'list':_0x192db2,'isAll':!0x1});}}for(const {field:_0x554c2c,selectedItems:_0x50dd17}of _0x27a7ad||[]){const _0x26dd86=_0xa255c5[_0x554c2c];if(_0x26dd86){const _0x46953d=_0x759f04[_0x507778(0x303)](_0x26dd86,_0x37b460[_0x507778(0x36c)]);_0x50dd17&&_0x46953d&&_0x759f04[_0x507778(0x3b4)](_0x46953d['getId'](),{'type':_0x3a66a3['ManualFilter'],'list':_0x50dd17,'isAll':!0x1});}}for(const {field:_0x34576c,selectedItems:_0x39e297}of _0x514335||[]){const _0x3a3752=_0xa255c5[_0x34576c];if(_0x3a3752){const _0x208de4=_0x759f04[_0x507778(0x303)](_0x3a3752,_0x37b460[_0x507778(0x19d)]);_0x39e297&&_0x208de4&&_0x759f04[_0x507778(0x3b4)](_0x208de4[_0x507778(0x300)](),{'type':_0x3a66a3[_0x507778(0x1a2)],'list':_0x39e297,'isAll':!0x1});}}for(const {field:_0x4c5c96,subTotalType:_0x2a3236,formatString:_0x1f4337}of _0x57a1a5||[]){const _0x4d0369=_0x462641[_0x507778(0x34e)](_0xa255c5[_0x4c5c96]);if(!_0x4d0369)continue;const _0x4cd705=_0xa255c5[_0x4c5c96];if(_0x4cd705){const _0x5479e1=_0x759f04['addFieldWithSourceId'](_0x4cd705,_0x37b460[_0x507778(0x240)]);if(_0x5479e1){if(_0x2a3236!==void 0x0){_0x759f04[_0x507778(0x237)](_0x5479e1['getId'](),_0x2a3236);const _0xa2ec40=this[_0x507778(0x339)][_0x507778(0x278)](_0x36cc11[_0x507778(0x1a1)])[_0x507778(0x1b7)]()||_0x295d17,_0x3fd523=_0x462641[_0x507778(0x26a)](_0x4cd705),_0x316c43=_0xa2ec40(_0x3fd523,_0x2a3236);_0x759f04[_0x507778(0x1e3)](_0x5479e1[_0x507778(0x300)](),_0x316c43);}else{if(_0x4d0369){const _0x3acd54=_0x4d0369==null?void 0x0:_0x4d0369[_0x507778(0x31b)]();_0x759f04[_0x507778(0x237)](_0x5479e1['getId'](),_0x3acd54===_0x22e19e[_0x507778(0x1cd)]?_0x39da75[_0x507778(0x328)]:_0x39da75['count']);}}_0x1f4337&&_0x759f04['setFieldFormat'](_0x5479e1[_0x507778(0x300)](),_0x1f4337);}}}const _0x144965=_0x759f04[_0x507778(0x308)](),_0xa3dacf=_0x759f04[_0x507778(0x1d7)](),_0x7f778a=_0x759f04[_0x507778(0x334)](),_0x1b5486=_0x759f04[_0x507778(0x262)](),_0x306c9c=_0x462641[_0x507778(0x1d7)]();_0x458e45[_0x507778(0x2a9)]={'view':_0x144965,'fieldsConfig':_0xa3dacf,'collectionConfig':_0x306c9c,'isEmpty':_0x7f778a,'changesets':_0x1b5486};}break;case W[_0x507778(0x304)]:{const _0x916280=Li(this[_0x507778(0x21d)],_0x36e1c2);if(!_0x916280)return;const {range:_0x5b9982,sourceSubUnitId:_0x5a3cd5,sourceUnitId:_0x5bcae5,formatMap:_0x440b06,indexes:_0x1bb224}=_0x916280;_0x458e45[_0x507778(0x395)]={'range':_0x5b9982,'sourceSubUnitId':_0x5a3cd5,'sourceUnitId':_0x5bcae5,'formatMap':_0x440b06,'indexes':_0x1bb224};}break;}this['_commandService'][_0x507778(0x2b8)](lo['id'],{'version':_0x36e1c2[_0x507778(0x384)],'result':_0x458e45},{'onlyLocal':!0x0});}));}[_0x27d18f(0x3ee)](){const _0x4909e7=_0x27d18f;this[_0x4909e7(0x3ca)](this[_0x4909e7(0x3e8)][_0x4909e7(0x2d0)](_0x520954=>{const _0x4f4d7c=_0x4909e7;if(_0x520954['id']!==uo['id'])return;const _0x1ffa01=_0x520954['params'];return this['_sheetsPivotDataSourceModel'][_0x4f4d7c(0x2dd)](_0x1ffa01[_0x4f4d7c(0x272)]),!0x0;}));}['_subjectCollectionChange'](){const _0x3647db=_0x27d18f;this[_0x3647db(0x339)][_0x3647db(0x31f)]['subscribe'](_0x27d8cb=>{const _0x17b2b9=_0x3647db;switch(_0x27d8cb[_0x17b2b9(0x23e)]){case Le[_0x17b2b9(0x2e1)]:_0x27d8cb[_0x17b2b9(0x2b6)]&&_0x27d8cb['targetCellInfo']&&this[_0x17b2b9(0x372)](_0x27d8cb[_0x17b2b9(0x3c2)],_0x27d8cb[_0x17b2b9(0x2b6)],_0x27d8cb[_0x17b2b9(0x38a)]);break;case Le[_0x17b2b9(0x3f8)]:{const {unitId:_0x3ce672,subUnitId:_0x44bf49,token:_0x4513ee}=_0x27d8cb;_0x3ce672&&_0x44bf49&&_0x4513ee&&this[_0x17b2b9(0x2a2)](_0x3ce672,_0x44bf49,_0x4513ee);}break;case Le['update']:{const {token:_0x243310,oldSourceRangeInfo:_0x3e3ff1,dataRangeInfo:_0x508025,targetCellInfo:_0x26b361}=_0x27d8cb,{unitId:_0x94d7c8,subUnitId:_0x52fe32}=_0x3e3ff1||{};_0x94d7c8&&_0x52fe32&&_0x243310&&this[_0x17b2b9(0x2a2)](_0x94d7c8,_0x52fe32,_0x243310),_0x508025&&_0x26b361&&this[_0x17b2b9(0x372)](_0x243310,_0x508025,_0x26b361);}break;}});}[_0x27d18f(0x3b5)](){const _0x853918=_0x27d18f;this[_0x853918(0x339)][_0x853918(0x2bb)][_0x853918(0x226)](_0x7b2d9f=>{Object['keys'](_0x7b2d9f)['forEach'](_0x6b3a9d=>{const _0x37361e=_0x2985,_0x40d066=this['_sheetsPivotDataSourceModel'][_0x37361e(0x292)](_0x6b3a9d);if(_0x40d066){const _0x91ead0=this['_sheetsPivotDataSourceModel'][_0x37361e(0x27c)](_0x40d066==null?void 0x0:_0x40d066[_0x37361e(0x1a1)],_0x40d066==null?void 0x0:_0x40d066[_0x37361e(0x2f7)],_0x6b3a9d);_0x91ead0&&(this['handleSourceRangeChange'](_0x6b3a9d,_0x91ead0[_0x37361e(0x3fc)],_0x91ead0[_0x37361e(0x38a)]),this[_0x37361e(0x357)]([{'unitId':_0x40d066[_0x37361e(0x1a1)],'subUnitId':_0x40d066[_0x37361e(0x2f7)],'token':_0x6b3a9d}]));}});});}[_0x27d18f(0x1ba)](){const _0x35b203=_0x27d18f;this[_0x35b203(0x339)][_0x35b203(0x20f)][_0x35b203(0x226)](_0x271c6f=>{const {unitId:_0x3a3cbc,subUnitId:_0x3152c6,pivotTableId:_0xb0f0df}=_0x271c6f;_0x3a3cbc&&_0x3152c6&&_0xb0f0df&&this['triggerDirtyFeature']([{'unitId':_0x3a3cbc,'subUnitId':_0x3152c6,'token':_0xb0f0df}]);});}['triggerDirtyFeature'](_0x495b29){const _0x2e113a=_0x27d18f,_0x176ae5={};_0x495b29[_0x2e113a(0x23b)](_0x3e784a=>{var _0x569eab,_0x46989f;const {unitId:_0x5e7c59,subUnitId:_0x2fcab7,token:_0x3718af}=_0x3e784a;_0x176ae5[_0x5e7c59]=(_0x569eab=_0x176ae5[_0x5e7c59])!=null?_0x569eab:{},_0x176ae5[_0x5e7c59][_0x2fcab7]=(_0x46989f=_0x176ae5[_0x5e7c59][_0x2fcab7])!=null?_0x46989f:{},_0x176ae5[_0x5e7c59][_0x2fcab7][_0x3718af]=!0x0;}),this['_commandService']['executeCommand'](xt['id'],_0x176ae5);}[_0x27d18f(0x2a2)](_0x508be5,_0x246489,_0xad6fdc){const _0x454f61=_0x27d18f;this[_0x454f61(0x280)][_0x454f61(0x244)](_0x508be5,_0x246489,[_0xad6fdc]);}[_0x27d18f(0x372)](_0x101fbe,_0x8d524d,_0x53780d){const _0x3e578b=_0x27d18f,{unitId:_0x17280f,subUnitId:_0x601b39}=_0x8d524d;this['_featureCalculationManagerService'][_0x3e578b(0x1e6)](_0x53780d['unitId'],_0x53780d['subUnitId'],_0x101fbe)&&this[_0x3e578b(0x2a2)](_0x17280f,_0x601b39,_0x101fbe);const _0x1e4963={'sheetId':_0x601b39,..._0x8d524d};this[_0x3e578b(0x280)][_0x3e578b(0x2ab)](_0x53780d['unitId'],_0x53780d[_0x3e578b(0x2f7)],_0x101fbe,{'unitId':_0x53780d['unitId'],'subUnitId':_0x53780d[_0x3e578b(0x2f7)],'dependencyRanges':[_0x1e4963],'getDirtyData':(_0x3593ea,_0x1026be)=>{const _0x4bc22c=_0x3e578b,_0x1b6818=this[_0x4bc22c(0x339)],_0x1321e4=_0x1b6818[_0x4bc22c(0x292)](_0x101fbe);if(!_0x1321e4)return Vs();const {unitId:_0x564b58,subUnitId:_0xc4bf5e}=_0x1321e4,_0x2d4c37=Os(_0x3593ea,_0x1026be,_0x8d524d);if(_0x2d4c37[_0x4bc22c(0x210)]>0x0){const _0xea4a79=_0x1b6818[_0x4bc22c(0x39a)](_0x17280f,_0x101fbe),_0x26916e=_0xea4a79['getFieldIds'](),_0x14f545=this['getMatrixFromRunTimeData'](_0x8d524d[_0x4bc22c(0x1a1)],_0x8d524d[_0x4bc22c(0x2f7)],_0x1026be),_0x513b4f={},_0x53ca53=this[_0x4bc22c(0x339)][_0x4bc22c(0x278)](_0x564b58)[_0x4bc22c(0x1b7)]()||_0x295d17,_0x771906=[];for(const _0x479050 of _0x2d4c37){const _0x3fad7a=_0x479050-(_0x8d524d[_0x4bc22c(0x18f)][_0x4bc22c(0x282)]||0x0),_0x28964c=_0x26916e[_0x3fad7a];_0x771906[_0x4bc22c(0x260)](_0x28964c),_0x513b4f[_0x28964c]=_0xea4a79['getFieldById'](_0x28964c)[_0x4bc22c(0x2eb)](),_0x1b6818[_0x4bc22c(0x278)](_0x17280f)[_0x4bc22c(0x3a4)](_0x28964c,_0x8d524d,_0x3fad7a,_0x14f545);}_0xea4a79[_0x4bc22c(0x2e5)](_0x771906)[_0x4bc22c(0x23b)](_0x3bd47f=>{const _0x1f8e92=_0x4bc22c,[_0x37ae83,_0x319d16]=_0x3bd47f,_0x3a38cb=_0xea4a79[_0x1f8e92(0x34e)](_0x37ae83),_0x146fff=_0xea4a79[_0x1f8e92(0x34e)](_0x319d16);_0x3a38cb&&_0x146fff&&_0x3a38cb['refreshGroupField'](_0x146fff);}),_0xea4a79[_0x4bc22c(0x38f)]();const _0x24dbc4=_0x1b6818['getPivotTableInstance'](_0x101fbe);if(_0x24dbc4){Es(_0x24dbc4,_0x513b4f,_0x53ca53),_0x24dbc4[_0x4bc22c(0x1dc)](!0x0);const _0x109ef6=_0x24dbc4[_0x4bc22c(0x308)](),_0x57a346=_0x1b6818['getPivotTableConfig'](_0x564b58,_0xc4bf5e,_0x101fbe),_0x10782e=_0x1b6818[_0x4bc22c(0x278)](_0x17280f)[_0x4bc22c(0x1d7)]();_0x1b6818['updateView'](_0x564b58,_0xc4bf5e,B['Set'],_0x101fbe,_0x109ef6,_0x57a346,_0x10782e,!0x0);}}return this[_0x4bc22c(0x3eb)](_0x564b58,_0xc4bf5e,_0x101fbe);}});}[_0x27d18f(0x268)](_0x5c0346,_0x429cba,_0xc85a6d){var _0xe28079,_0x3adfb4;const {arrayFormulaCellData:_0x340f73,unitData:_0x394b20}=_0xc85a6d,_0x276b21=(_0xe28079=_0x340f73==null?void 0x0:_0x340f73[_0x5c0346])==null?void 0x0:_0xe28079[_0x429cba],_0x149ed3=(_0x3adfb4=_0x394b20==null?void 0x0:_0x394b20[_0x5c0346])==null?void 0x0:_0x3adfb4[_0x429cba];return{'arrayFormulaCellDataMatrix':_0x276b21,'unitDataMatrix':_0x149ed3};}['getDirtyInfo'](_0x2f78be,_0x2a168c,_0x50a058){const _0x5d6397=_0x27d18f,_0x488751=this[_0x5d6397(0x339)][_0x5d6397(0x1dd)](_0x2f78be,_0x2a168c,_0x50a058),_0x4eb230=[],_0x102dd0=new _0x1356f1();if(_0x488751){const {rangeCache:_0x5b668b,matrix:_0x13e5a7,oldRangeCache:_0x20c430,oldMatrix:_0x55fb0e}=_0x488751,_0x3c9223=Bt(_0x20c430),_0x22e7a=Bt(_0x5b668b);_0x4eb230[_0x5d6397(0x260)](..._0x22e7a,..._0x3c9223),_0x55fb0e&&_0x20c430&&_0x3c9223[_0x5d6397(0x23b)](_0xb02ddc=>{const _0x56ad79=_0x5d6397;for(let _0x39f742=_0xb02ddc[_0x56ad79(0x36b)];_0x39f742<=_0xb02ddc[_0x56ad79(0x380)];_0x39f742++)for(let _0x35be7f=_0xb02ddc[_0x56ad79(0x282)];_0x35be7f<=_0xb02ddc[_0x56ad79(0x26f)];_0x35be7f++)_0x102dd0[_0x56ad79(0x335)](_0x39f742,_0x35be7f);}),_0x13e5a7&&_0x22e7a&&_0x22e7a[_0x5d6397(0x23b)](_0x22555d=>{const _0x504283=_0x5d6397;for(let _0x545f96=_0x22555d[_0x504283(0x36b)];_0x545f96<=_0x22555d[_0x504283(0x380)];_0x545f96++)for(let _0x50a288=_0x22555d[_0x504283(0x282)];_0x50a288<=_0x22555d[_0x504283(0x26f)];_0x50a288++)_0x102dd0[_0x504283(0x216)](_0x545f96,_0x50a288,_0x13e5a7[_0x504283(0x3f7)](_0x545f96,_0x50a288));});}const _0x244641={};return _0x244641[_0x2f78be]={[_0x2a168c]:As(_0x4eb230)},{'runtimeCellData':{[_0x2f78be]:{[_0x2a168c]:_0x102dd0}},'dirtyRanges':_0x244641};}[_0x27d18f(0x386)](){}};ct=Us([at(0x0,_0x5611df(q)),at(0x1,_0x5611df(_0x1b92d2)),at(0x2,_0x5611df(_0xeb5b23)),at(0x3,_0x5611df(_0x404196)),at(0x4,_0x5611df(_0x318e93))],ct);function _0x2985(_0x2517d5,_0x81e782){const _0x48b077=_0x48b0();return _0x2985=function(_0x29857c,_0x47fc9f){_0x29857c=_0x29857c-0x184;let _0x163390=_0x48b077[_0x29857c];return _0x163390;},_0x2985(_0x2517d5,_0x81e782);}var Ws=Object[_0x27d18f(0x381)],ks=(_0x20e560,_0x10966e,_0x1b689f,_0x115c96)=>{for(var _0x18eabd=_0x115c96>0x1?void 0x0:_0x115c96?Ws(_0x10966e,_0x1b689f):_0x10966e,_0x318d2d=_0x20e560['length']-0x1,_0x9e1b6c;_0x318d2d>=0x0;_0x318d2d--)(_0x9e1b6c=_0x20e560[_0x318d2d])&&(_0x18eabd=_0x9e1b6c(_0x18eabd)||_0x18eabd);return _0x18eabd;},_t=(_0x30f8fe,_0x350fe9)=>(_0x277ca6,_0x45746c)=>_0x350fe9(_0x277ca6,_0x45746c,_0x30f8fe);let dt=class extends _0x592bfe{constructor(_0x248b80,_0x548703,_0x29069c,_0x36fee7){const _0x23cb78=_0x27d18f;super(),x(this,'disposableCollection',new _0x52ecdf()),(this[_0x23cb78(0x21e)]=_0x248b80,this[_0x23cb78(0x1b6)]=_0x548703,this[_0x23cb78(0x28f)]=_0x29069c,this[_0x23cb78(0x405)]=_0x36fee7,this[_0x23cb78(0x2fe)]());}[_0x27d18f(0x2fe)](){const _0x1b3764=_0x27d18f;this[_0x1b3764(0x3ca)](this[_0x1b3764(0x1b6)]['interceptCommand']({'getMutations':_0x20f37=>{const _0x3d0a7a=_0x1b3764;if(_0x20f37['id']===_0x5ec972['id']||_0x20f37['id']===_0xe586f7['id']){const _0x4ae806=[],_0x232022=[],_0x18f6a3=this['_sheetsSelectionsService'][_0x3d0a7a(0x22d)]()[_0x3d0a7a(0x2e3)](_0x1ac16d=>_0x1ac16d[_0x3d0a7a(0x18f)]),_0x137d22=_0x19f73c(this[_0x3d0a7a(0x21e)]);if(!_0x137d22)return{'redos':[],'undos':[]};const {unitId:_0x12a909,subUnitId:_0x59aff7}=_0x137d22,_0x171ff2={},_0x2db422=this[_0x3d0a7a(0x405)][_0x3d0a7a(0x3ba)](_0x12a909,_0x59aff7);if(_0x2db422!=null&&_0x2db422['size'])for(const [_0x33088b,_0x1b16d8]of _0x2db422){const {unitId:_0x337a65,subUnitId:_0x30b4a4,row:_0x5b834d,col:_0x4de372}=_0x1b16d8['targetCellInfo'];_0x337a65===_0x137d22[_0x3d0a7a(0x1a1)]&&_0x30b4a4===_0x137d22[_0x3d0a7a(0x2f7)]&&(_0x171ff2[_0x5b834d+'-'+_0x4de372]=_0x33088b);}return _0x18f6a3&&_0x137d22&&_0x18f6a3[_0x3d0a7a(0x23b)](_0x23db1a=>{const _0xf9c94=_0x3d0a7a;_0x555470[_0xf9c94(0x298)](_0x23db1a,(_0x192888,_0x37f408)=>{const _0x26cd52=_0xf9c94,_0x121c3d=_0x192888+'-'+_0x37f408;if(_0x171ff2[_0x121c3d]){const _0x4fffe6=_0x171ff2[_0x121c3d];_0x4ae806['push']({'id':Et['id'],'params':{'unitId':_0x12a909,'subUnitId':_0x59aff7,'pivotTableId':_0x4fffe6}});const _0x3471e6=this[_0x26cd52(0x405)]['getCollection'](_0x12a909,_0x4fffe6),_0x513b4d=this[_0x26cd52(0x405)][_0x26cd52(0x27c)](_0x12a909,_0x59aff7,_0x4fffe6);_0x232022[_0x26cd52(0x260)]({'id':Ct['id'],'params':{'unitId':_0x12a909,'subUnitId':_0x59aff7,'pivotTableId':_0x4fffe6,'pivotTableConfig':_0x513b4d,'collectionConfig':_0x3471e6}});}});}),{'redos':_0x4ae806,'undos':_0x232022};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x5d554d),_t(0x1,_0x5611df(_0x3ef520)),_t(0x2,_0x5611df(_0x266679)),_t(0x3,_0x5611df(he))],dt);var Ls=Object[_0x27d18f(0x381)],Bs=(_0x105b7f,_0x552b6e,_0x36fd75,_0x5a6e93)=>{for(var _0x535082=_0x5a6e93>0x1?void 0x0:_0x5a6e93?Ls(_0x552b6e,_0x36fd75):_0x552b6e,_0x5d66f2=_0x105b7f['length']-0x1,_0x5ec377;_0x5d66f2>=0x0;_0x5d66f2--)(_0x5ec377=_0x105b7f[_0x5d66f2])&&(_0x535082=_0x5ec377(_0x535082)||_0x535082);return _0x535082;},rt=(_0x3d89a8,_0x5363ea)=>(_0x47c13b,_0x258db6)=>_0x5363ea(_0x47c13b,_0x258db6,_0x3d89a8);let ut=class extends _0x592bfe{constructor(_0x4ae531,_0x591b4f,_0x546f1f,_0x49b41d,_0x1e554b){const _0x52bd71=_0x27d18f;super(),this[_0x52bd71(0x1b6)]=_0x4ae531,this[_0x52bd71(0x21d)]=_0x591b4f,this['_univerInstanceService']=_0x546f1f,this[_0x52bd71(0x405)]=_0x49b41d,this['_sheetsPivotTableService']=_0x1e554b,this[_0x52bd71(0x3de)]();}[_0x27d18f(0x1c4)](_0x338145,_0xdeaaa,_0x18c725){const _0x390f8c=_0x27d18f,{pageView:_0x4e9ce5,cornerView:_0x3e32e4,rowView:_0x54bba1,colView:_0x295496,dataView:_0x281d85}=_0xdeaaa,_0x4e62f2=_0x338145;let _0x3532d7;if(_0x18c725)_0x3532d7=[...Bi(_0x4e62f2)];else{const _0x5e5f57=ge(_0x4e62f2,_0x4e9ce5,!0x0),_0x56e8cb=_0x4e9ce5['lastRow']>=0x0?_0x4e9ce5[_0x390f8c(0x3d4)]+0x1:0x0,_0x5044bf=_0x3e32e4[_0x390f8c(0x2fb)],_0x1644ac=_0x3e32e4[_0x390f8c(0x3a2)],_0x750a51=_0x5e5f57['length']>0x0?It:0x0,_0x109c3b=ge({'row':_0x4e62f2[_0x390f8c(0x338)]+_0x56e8cb+_0x750a51,'col':_0x4e62f2[_0x390f8c(0x3cc)]},_0x3e32e4,!0x1,!0x1),_0x57a5c1=ge({'row':_0x4e62f2[_0x390f8c(0x338)]+_0x56e8cb+_0x750a51+_0x5044bf,'col':_0x4e62f2[_0x390f8c(0x3cc)]},_0x54bba1,!0x1,!0x0),_0x764644=ge({'row':_0x4e62f2[_0x390f8c(0x338)]+_0x56e8cb+_0x750a51,'col':_0x4e62f2['col']+_0x1644ac},_0x295496,!0x1,!0x0),_0x357e21=ge({'row':_0x4e62f2[_0x390f8c(0x338)]+_0x56e8cb+_0x750a51+_0x5044bf,'col':_0x4e62f2[_0x390f8c(0x3cc)]+_0x1644ac},_0x281d85,!0x1,!0x0);_0x3532d7=[..._0x5e5f57,..._0x109c3b,..._0x57a5c1,..._0x764644,..._0x357e21];}return _0x3532d7;}[_0x27d18f(0x3de)](){const _0x300a9c=_0x27d18f;this[_0x300a9c(0x3ca)](this['_sheetsPivotTableService'][_0x300a9c(0x31c)][_0x300a9c(0x2d3)](this[_0x300a9c(0x227)][_0x300a9c(0x31c)][_0x300a9c(0x3db)]()[_0x300a9c(0x3e0)],{'handler':(_0x29b268,_0x3cf7f6)=>{const _0x8e270c=_0x300a9c,{cellInfo:_0x3e0507,view:_0x498f64,isEmpty:_0x58aa49}=_0x3cf7f6,_0x51f198=_0x3e0507,{unitId:_0x1315b7,subUnitId:_0x432edf}=_0x51f198,_0x22963e=this[_0x8e270c(0x1c4)](_0x3e0507,_0x498f64,_0x58aa49),_0x2a825e=this[_0x8e270c(0x1b6)][_0x8e270c(0x38c)]({'unitId':_0x1315b7,'subUnitId':_0x432edf,'ranges':_0x22963e}),_0x5774f1=jo(this['_injector'],_0x1315b7,_0x432edf,_0x22963e);_0x5774f1[_0x8e270c(0x30c)]&&(_0x2a825e[_0x8e270c(0x3cd)][_0x8e270c(0x260)](_0x5774f1[_0x8e270c(0x34f)]),_0x2a825e['undos'][_0x8e270c(0x260)](_0x5774f1[_0x8e270c(0x1ae)]));const _0x19e599=this[_0x8e270c(0x362)](_0x498f64,_0x3e0507);return _0x2a825e[_0x8e270c(0x3cd)][_0x8e270c(0x260)](..._0x19e599[_0x8e270c(0x3cd)]),_0x2a825e['undos'][_0x8e270c(0x260)](..._0x19e599[_0x8e270c(0x1b9)]),{'redos':_0x2a825e[_0x8e270c(0x3cd)],'undos':_0x2a825e['undos']};}}));}[_0x27d18f(0x362)](_0x38ac50,_0x3347de){const _0x4c739e=_0x27d18f,{col:_0x3165d7,unitId:_0x3da1ca,subUnitId:_0x590dbe}=_0x3347de,_0x4cc164=[],_0x4493e0=[],_0x367489=_0x19f73c(this[_0x4c739e(0x21e)],{'unitId':_0x3da1ca,'subUnitId':_0x590dbe});if(!_0x3347de||!_0x38ac50||!_0x367489)return{'undos':_0x4493e0,'redos':_0x4cc164};const _0x40d160=this['_sheetsPivotTableConfigModel'][_0x4c739e(0x1fb)](),{colView:_0x54081a,dataView:_0x598303,cornerView:_0x5bdddf,rowView:_0x483a9d,formatMap:_0x484ee6}=_0x38ac50,_0x306472=To(_0x54081a,_0x40d160,!0x0,_0x484ee6),_0x2ff618=To(_0x483a9d,_0x40d160,!0x1,_0x484ee6),_0x447e65=Ji(_0x598303),_0x4beaf4=Hi(_0x5bdddf),{worksheet:_0x1f739a}=_0x367489;if(typeof window<'u'&&window[_0x4c739e(0x22f)]){const _0x30bb00=_0x29d9af({...fe[_0x4c739e(0x19a)]}),_0xc85c8b=_0x3f4c3a[_0x4c739e(0x29a)](_0x306472,_0x30bb00)['width']+0x10,_0x27007a=_0x3f4c3a[_0x4c739e(0x29a)](_0x447e65,_0x30bb00)[_0x4c739e(0x353)],_0xf1c9c7=Math[_0x4c739e(0x289)](Math[_0x4c739e(0x1db)](_0xc85c8b,_0x27007a))+0x10,_0x5eb39f=Math[_0x4c739e(0x289)](_0x3f4c3a['getTextSize'](_0x2ff618,_0x30bb00)['width']),_0x472a7e=Math[_0x4c739e(0x289)](_0x3f4c3a['getTextSize'](_0x4beaf4,_0x30bb00)[_0x4c739e(0x353)]),_0x2c55cf=Math[_0x4c739e(0x1db)](_0x5eb39f,_0x472a7e,0x28)+0xc,_0xe52b0b=_0x54081a['colCount']+_0x5bdddf[_0x4c739e(0x3a2)],_0x4b19e1={},_0x5dd316={};for(let _0x35d25e=_0x3165d7;_0x35d25e<_0x3165d7+_0xe52b0b;_0x35d25e++){const _0x563b31=_0x1f739a[_0x4c739e(0x2b7)](_0x35d25e);_0x4b19e1[_0x35d25e]=_0x563b31,_0x35d25e-_0x3165d7<_0x5bdddf[_0x4c739e(0x3a2)]?_0x5dd316[_0x35d25e-_0x3165d7]=_0x2c55cf:_0x5dd316[_0x35d25e-_0x3165d7]=_0xf1c9c7;}_0x4cc164[_0x4c739e(0x260)]({'id':_0x47adbe['id'],'params':{'subUnitId':_0x590dbe,'unitId':_0x3da1ca,'ranges':[{'startColumn':_0x3165d7,'endColumn':_0x3165d7+_0xe52b0b-0x1,'startRow':0x0,'endRow':_0x1f739a['getRowCount']()-0x1}],'colWidth':_0x5dd316}}),_0x4493e0[_0x4c739e(0x260)]({'id':_0x47adbe['id'],'params':{'subUnitId':_0x590dbe,'unitId':_0x3da1ca,'ranges':[{'startColumn':_0x3165d7,'endColumn':_0x3165d7+_0xe52b0b-0x1,'startRow':0x0,'endRow':_0x1f739a[_0x4c739e(0x29e)]()-0x1}],'colWidth':_0x4b19e1}});}return{'undos':_0x4493e0,'redos':_0x4cc164};}};ut=Bs([rt(0x0,_0x5611df(_0x3ef520)),rt(0x1,_0x5611df(_0x318e93)),rt(0x2,_0x5611df(_0x5d554d)),rt(0x3,_0x5611df(he)),rt(0x4,_0x5611df(ie))],ut);var qs=Object['getOwnPropertyDescriptor'],$s=(_0x2d0b79,_0x4a61f1,_0x273b04,_0x3a95e5)=>{for(var _0x274284=_0x3a95e5>0x1?void 0x0:_0x3a95e5?qs(_0x4a61f1,_0x273b04):_0x4a61f1,_0x44a646=_0x2d0b79['length']-0x1,_0x38a0ad;_0x44a646>=0x0;_0x44a646--)(_0x38a0ad=_0x2d0b79[_0x44a646])&&(_0x274284=_0x38a0ad(_0x274284)||_0x274284);return _0x274284;},We=(_0x1776f1,_0xbd0439)=>(_0x30d9b4,_0x54db01)=>_0xbd0439(_0x30d9b4,_0x54db01,_0x1776f1);let ft=class extends _0x592bfe{constructor(_0x1eb615,_0x2b41e0,_0x310e80,_0x26da54,_0x3df1c6,_0x16b71a,_0x215228){const _0x33aa6f=_0x27d18f;super(),x(this,_0x33aa6f(0x22b),new _0x52ecdf()),(this[_0x33aa6f(0x21d)]=_0x1eb615,this[_0x33aa6f(0x1aa)]=_0x2b41e0,this[_0x33aa6f(0x3e8)]=_0x310e80,this[_0x33aa6f(0x21e)]=_0x26da54,this[_0x33aa6f(0x405)]=_0x3df1c6,this[_0x33aa6f(0x322)]=_0x16b71a,this[_0x33aa6f(0x1b6)]=_0x215228,this['_onRefRangeChange']());}[_0x27d18f(0x247)](){const _0x3d07db=_0x27d18f,_0x1f097a=(_0x2c9247,_0x410480)=>{const _0xdabec9=_0x2985,_0x5ca01c=this[_0xdabec9(0x21e)][_0xdabec9(0x1da)](_0x11ddec[_0xdabec9(0x21f)]);if(!_0x5ca01c||!(_0x5ca01c==null?void 0x0:_0x5ca01c[_0xdabec9(0x2f6)](_0x410480)))return;this[_0xdabec9(0x22b)][_0xdabec9(0x386)]();const _0x57945c=_0x13ea01=>this[_0xdabec9(0x320)](_0x13ea01,_0x2c9247,_0x410480),_0x49d467=this['_sheetsPivotTableConfigModel'][_0xdabec9(0x3ba)](_0x2c9247,_0x410480);if(!(_0x49d467!=null&&_0x49d467['size']))return;Array[_0xdabec9(0x3ce)](_0x49d467[_0xdabec9(0x3be)]())['map'](_0x21a5c1=>{const {row:_0x12deff,col:_0x60f669}=_0x21a5c1['targetCellInfo'];return _0x31147b(_0x12deff,_0x60f669);})['forEach'](_0x4b4820=>{const _0x1cfdb2=_0xdabec9;this[_0x1cfdb2(0x22b)][_0x1cfdb2(0x2e1)](this['_refRangeService'][_0x1cfdb2(0x350)](_0x4b4820,_0x57945c,_0x2c9247,_0x410480));});},_0x5beed5=()=>{const _0x481dd3=_0x2985,_0x5d20d1=this['_univerInstanceService'][_0x481dd3(0x1da)](_0x11ddec[_0x481dd3(0x21f)]);if(_0x5d20d1){const _0x1c04b5=_0x5d20d1[_0x481dd3(0x373)]();if(!_0x1c04b5)return;_0x1f097a(_0x5d20d1[_0x481dd3(0x1c5)](),_0x1c04b5['getSheetId']());}};this['disposeWithMe'](this[_0x3d07db(0x3e8)][_0x3d07db(0x2d0)](_0xaf0291=>{const _0xc8078a=_0x3d07db;if(_0xaf0291['id']===_0x4b7222['id']){const _0x4a2a58=_0xaf0291['params'],_0x1b9139=_0x4a2a58[_0xc8078a(0x2f7)],_0x4671e6=_0x4a2a58[_0xc8078a(0x1a1)];if(!_0x1b9139||!_0x4671e6)return;_0x1f097a(_0x4671e6,_0x1b9139);}})),this[_0x3d07db(0x3ca)](this['_sheetsPivotTableConfigModel'][_0x3d07db(0x3fd)][_0x3d07db(0x226)](_0x23126c=>{_0x23126c&&_0x5beed5();})),this[_0x3d07db(0x3ca)](this[_0x3d07db(0x405)][_0x3d07db(0x1fd)][_0x3d07db(0x226)](_0x4e9889=>{const _0x534bc4=_0x3d07db,_0x6052d6=_0x19f73c(this[_0x534bc4(0x21e)]);if(!_0x6052d6)return;const {unitId:_0x564c6a,subUnitId:_0x123eb7}=_0x6052d6,{unitId:_0x5587ef,subUnitId:_0x42d1f2}=_0x4e9889;_0x564c6a!==_0x5587ef||_0x123eb7!==_0x42d1f2||_0x1f097a(_0x564c6a,_0x123eb7);})),_0x5beed5();}[_0x27d18f(0x320)](_0x28cbd4,_0x438ea4,_0x546256){const _0xeaf10e=_0x27d18f;switch(_0x28cbd4['id']){case _0x12b99f['id']:return this[_0xeaf10e(0x263)](_0x28cbd4[_0xeaf10e(0x3f4)],_0x438ea4,_0x546256);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x5ad694,_0xc74565,_0x4eef13){const _0xcd805a=_0x27d18f,{fromRange:_0x3a4fd6,toRange:_0x215667}=_0x5ad694,_0x2cbbb1=[],_0x2bd0ae=[],_0x3ab100=_0x19f73c(this[_0xcd805a(0x21e)]);if(!_0x3ab100)return{'undos':_0x2bd0ae,'redos':_0x2cbbb1};if(_0xc74565!==_0x3ab100[_0xcd805a(0x1a1)]||_0x4eef13!==_0x3ab100['subUnitId'])return{'undos':_0x2bd0ae,'redos':_0x2cbbb1};const _0x92a16d=this['_sheetsPivotTableConfigModel'][_0xcd805a(0x3ba)](_0xc74565,_0x4eef13);if(_0x92a16d!=null&&_0x92a16d['size'])for(const [_0x22d3a9,_0x49bcbf]of _0x92a16d){const {unitId:_0x40b973,subUnitId:_0x50a09c,row:_0x413d99,col:_0x3776ab}=_0x49bcbf[_0xcd805a(0x38a)];if(_0x40b973===_0x3ab100[_0xcd805a(0x1a1)]&&_0x50a09c===_0x3ab100[_0xcd805a(0x2f7)]){const _0x4dde5b=_0x31147b(_0x413d99,_0x3776ab);if(_0x4986e5[_0xcd805a(0x2aa)](_0x4dde5b,_0x3a4fd6)){const _0x53642b=_0x413d99-_0x3a4fd6['startRow'],_0x4c076b=_0x3776ab-_0x3a4fd6[_0xcd805a(0x282)],_0x5c3087={'row':_0x215667[_0xcd805a(0x36b)]+_0x53642b,'col':_0x215667['startColumn']+_0x4c076b};_0x2cbbb1[_0xcd805a(0x260)]({'id':pt['id'],'params':{'unitId':_0x40b973,'subUnitId':_0x50a09c,'pivotTableId':_0x22d3a9,'targetCellPosition':_0x5c3087}}),_0x2bd0ae[_0xcd805a(0x260)]({'id':pt['id'],'params':{'unitId':_0x40b973,'subUnitId':_0x50a09c,'pivotTableId':_0x22d3a9,'targetCellPosition':{'row':_0x413d99,'col':_0x3776ab}}});const _0xef4290=_0x5c3087[_0xcd805a(0x338)]-_0x413d99,_0x14cb86=_0x5c3087[_0xcd805a(0x3cc)]-_0x3776ab,_0x14c64f=[],_0x41c7fb=this[_0xcd805a(0x322)][_0xcd805a(0x1ad)](_0x40b973,_0x50a09c,_0x22d3a9),_0x4d9854=_0x41c7fb==null?void 0x0:_0x41c7fb[_0xcd805a(0x38b)];if(_0x4d9854){Object[_0xcd805a(0x205)](_0x4d9854)[_0xcd805a(0x23b)](_0x21bf48=>{const _0x24d6db=_0xcd805a;_0x4d9854[_0x21bf48][_0x24d6db(0x23b)](_0x7b1580=>{const _0x203640=_0x24d6db,_0x4cde80={..._0x7b1580};_0x4cde80[_0x203640(0x36b)]=_0x7b1580['startRow']+_0xef4290,_0x4cde80['endRow']=_0x7b1580[_0x203640(0x380)]+_0xef4290,_0x4cde80['startColumn']=_0x7b1580[_0x203640(0x282)]+_0x14cb86,_0x4cde80[_0x203640(0x26f)]=_0x7b1580[_0x203640(0x26f)]+_0x14cb86,_0x14c64f[_0x203640(0x260)](_0x4cde80);});});const _0x4de71a=this[_0xcd805a(0x1b6)][_0xcd805a(0x38c)]({'unitId':_0x40b973,'subUnitId':_0x50a09c,'ranges':_0x14c64f});_0x2cbbb1[_0xcd805a(0x260)](..._0x4de71a['redos']),_0x2bd0ae['push'](..._0x4de71a[_0xcd805a(0x1b9)]);const _0xd9c299=jo(this[_0xcd805a(0x21d)],_0x40b973,_0x50a09c,_0x14c64f);_0xd9c299[_0xcd805a(0x30c)]&&(_0x2cbbb1['push'](_0xd9c299['setRangeValueRedoMutation']),_0x2bd0ae[_0xcd805a(0x260)](_0xd9c299['setRangeValueUndoMutation']));}}}}return{'redos':_0x2cbbb1,'undos':_0x2bd0ae};}};ft=$s([We(0x0,_0x5611df(_0x318e93)),We(0x1,_0x5611df(_0x434445)),We(0x2,_0xeb5b23),We(0x3,_0x5d554d),We(0x4,_0x5611df(he)),We(0x5,_0x5611df(Ne)),We(0x6,_0x5611df(_0x3ef520))],ft);var Js=Object[_0x27d18f(0x381)],Hs=(_0x40e809,_0x18a261,_0x24d85f,_0x112e32)=>{for(var _0x99f376=_0x112e32>0x1?void 0x0:_0x112e32?Js(_0x18a261,_0x24d85f):_0x18a261,_0x1434c5=_0x40e809['length']-0x1,_0x59ea38;_0x1434c5>=0x0;_0x1434c5--)(_0x59ea38=_0x40e809[_0x1434c5])&&(_0x99f376=_0x59ea38(_0x99f376)||_0x99f376);return _0x99f376;},wo=(_0x436824,_0x9df24f)=>(_0x3eb692,_0x3d5789)=>_0x9df24f(_0x3eb692,_0x3d5789,_0x436824);let gt=class extends _0x592bfe{constructor(_0x2f0fd9,_0x45e49a){const _0x213aae=_0x27d18f;super(),this['_sheetInterceptorService']=_0x2f0fd9,this[_0x213aae(0x405)]=_0x45e49a,this[_0x213aae(0x186)]();}['_initRemoveSheetCommandInterceptor'](){this['disposeWithMe'](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x493966=>{const _0x2a66f6=_0x2985;if(_0x493966['id']===_0x4cfca0['id']){const _0x281405=[],_0x3b70c6=[],_0x524931=_0x493966[_0x2a66f6(0x3f4)],{unitId:_0x24e839,subUnitId:_0x4578c8}=_0x524931;if(!_0x24e839||!_0x4578c8)return{'undos':_0x3b70c6,'redos':_0x281405};const _0x16d1de=this[_0x2a66f6(0x405)][_0x2a66f6(0x3ba)](_0x24e839,_0x4578c8);if(_0x16d1de!=null&&_0x16d1de['size'])for(const [_0xf85356,_0xf5f89]of _0x16d1de){_0x281405[_0x2a66f6(0x260)]({'id':Et['id'],'params':{'unitId':_0x24e839,'subUnitId':_0x4578c8,'pivotTableId':_0xf85356}});const _0x29003f={...this[_0x2a66f6(0x405)]['getCollection'](_0x24e839,_0xf85356)};_0x3b70c6[_0x2a66f6(0x260)]({'id':Ct['id'],'params':{'unitId':_0x24e839,'subUnitId':_0x4578c8,'pivotTableId':_0xf85356,'pivotTableConfig':_0xf5f89,'collectionConfig':_0x29003f}});}return{'redos':_0x281405,'undos':_0x3b70c6};}return{'redos':[],'undos':[]};}}));}};gt=Hs([wo(0x0,_0x5611df(_0x3ef520)),wo(0x1,_0x5611df(he))],gt);var Gs=Object['getOwnPropertyDescriptor'],js=(_0x1a7656,_0x860cf0,_0x5e2fba,_0x356a50)=>{for(var _0x8104d9=_0x356a50>0x1?void 0x0:_0x356a50?Gs(_0x860cf0,_0x5e2fba):_0x860cf0,_0x5814c7=_0x1a7656['length']-0x1,_0x2b6d36;_0x5814c7>=0x0;_0x5814c7--)(_0x2b6d36=_0x1a7656[_0x5814c7])&&(_0x8104d9=_0x2b6d36(_0x8104d9)||_0x8104d9);return _0x8104d9;},Ge=(_0x14f6ec,_0x2b4e78)=>(_0x37929d,_0x1934d5)=>_0x2b4e78(_0x37929d,_0x1934d5,_0x14f6ec);let vt=class extends _0x592bfe{constructor(_0x287cd4,_0x2f574f,_0x4fda84,_0x53a83d,_0x6f6b1a,_0x4d39ac){const _0x1964f0=_0x27d18f;super(),this[_0x1964f0(0x3e8)]=_0x287cd4,this[_0x1964f0(0x1f8)]=_0x2f574f,this[_0x1964f0(0x322)]=_0x4fda84,this['_sheetsPivotTableConfigModel']=_0x53a83d,this[_0x1964f0(0x21e)]=_0x6f6b1a,this[_0x1964f0(0x3f5)]=_0x4d39ac,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x27d18f(0x2b0)](){const _0x3fe9a8=_0x27d18f;this[_0x3fe9a8(0x3ca)](this[_0x3fe9a8(0x3e8)][_0x3fe9a8(0x2d0)](_0x276eb0=>{const _0x4a8985=_0x3fe9a8;if(_0x276eb0['id']!==lo['id'])return;const _0xac499f=_0x276eb0[_0x4a8985(0x3f4)];this['_sheetsPivotRpcService'][_0x4a8985(0x2c8)](_0xac499f);})),this[_0x3fe9a8(0x3ca)](this[_0x3fe9a8(0x3e8)][_0x3fe9a8(0x2d0)](_0xbad365=>{const _0x3a1391=_0x3fe9a8;if(_0xbad365['id']===co['id']){const _0x21ccf5=_0xbad365[_0x3a1391(0x3f4)];if(_0x21ccf5){const {unitId:_0x2ed291,subUnitId:_0x2889e5,oldSubUnitId:_0x3d3582,pivotTableId:_0x31376d,pivotTableConfig:_0x491b72,collectionConfig:_0x2f2a96}=_0x21ccf5;this[_0x3a1391(0x405)][_0x3a1391(0x39e)](_0x2ed291,_0x3d3582,_0x21ccf5[_0x3a1391(0x225)],null),this[_0x3a1391(0x405)][_0x3a1391(0x39e)](_0x2ed291,_0x2889e5,_0x31376d,_0x491b72),this['_sheetsPivotTableConfigModel'][_0x3a1391(0x1d5)](_0x2ed291,_0x2f2a96);}}})),this[_0x3fe9a8(0x3ca)](this[_0x3fe9a8(0x3e8)][_0x3fe9a8(0x2d0)](_0x2a9ac0=>{const _0x4d0be5=_0x3fe9a8;if(_0x2a9ac0['id']!==Dt['id'])return;const _0x10b6cd=_0x19f73c(this['_univerInstanceService']);if(!_0x10b6cd)return;const {unitId:_0x21ff86,subUnitId:_0x179e2c}=_0x10b6cd,_0x5964de=_0x2a9ac0[_0x4d0be5(0x3f4)];if(_0x5964de['collectionConfig']&&Object[_0x4d0be5(0x205)](_0x5964de[_0x4d0be5(0x2f1)])['forEach'](_0x554549=>{const _0x420433=_0x4d0be5;var _0x114612;(_0x114612=_0x5964de[_0x420433(0x2f1)])!=null&&_0x114612[_0x554549]&&this[_0x420433(0x405)][_0x420433(0x1d5)](_0x554549,_0x5964de[_0x420433(0x2f1)][_0x554549]);}),_0x5964de[_0x4d0be5(0x1c0)]){const _0x3bebc5=_0x5964de['single'],{unitId:_0x59d590,subUnitId:_0x582070,view:_0xb21569,pivotTableId:_0x344458,type:_0x530bd4,pivotConfig:_0x1b6380}=_0x3bebc5;if(_0x530bd4===B['Delete'])this[_0x4d0be5(0x322)][_0x4d0be5(0x2ed)]({'unitId':_0x59d590,'subUnitId':_0x582070,'pivotTableId':_0x344458,'type':_0x530bd4}),this[_0x4d0be5(0x405)]['updateConfigCache'](_0x59d590,_0x582070,_0x344458,null);else{const _0xea702f=new _0x2c3b07();_0xea702f[_0x4d0be5(0x38e)](_0xb21569),this[_0x4d0be5(0x405)][_0x4d0be5(0x39e)](_0x59d590,_0x582070,_0x344458,_0x1b6380),this[_0x4d0be5(0x322)][_0x4d0be5(0x2ed)]({'unitId':_0x59d590,'subUnitId':_0x582070,'pivotTableId':_0x344458,'type':_0x530bd4,'view':_0xea702f}),this['_sheetsPivotTableAdaptorModel'][_0x4d0be5(0x35f)]({'unitId':_0x59d590,'subUnitId':_0x582070,'view':_0xea702f,'pivotTableId':_0x344458,'type':_0x530bd4});}}else _0x5964de[_0x4d0be5(0x26b)]&&(_0x5964de[_0x4d0be5(0x26b)][_0x4d0be5(0x23b)](_0x135e4d=>{const _0x4fd3bc=_0x4d0be5,{unitId:_0x928d3d,subUnitId:_0x61158b,view:_0x392448,pivotTableId:_0x1ba664,type:_0x1f835b,pivotConfig:_0x2fd385}=_0x135e4d,_0x19d983=new _0x2c3b07();_0x19d983[_0x4fd3bc(0x38e)](_0x392448),this[_0x4fd3bc(0x405)]['updateConfigCache'](_0x928d3d,_0x61158b,_0x1ba664,_0x2fd385),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x928d3d,'subUnitId':_0x61158b,'view':_0x19d983,'pivotTableId':_0x1ba664,'type':_0x1f835b});}),this[_0x4d0be5(0x405)][_0x4d0be5(0x1fa)]());this['_sheetsPivotTableAdaptorModel']['markDirty'](_0x21ff86,_0x179e2c);}));}['registerDirtyService'](){const _0x347c8f=_0x27d18f;this[_0x347c8f(0x3f5)][_0x347c8f(0x2ab)](xt['id'],{'commandId':xt['id'],'getDirtyData'(_0x427173){const _0x1063a8=_0x347c8f;return{'dirtyUnitFeatureMap':_0x427173[_0x1063a8(0x3f4)]};}});}};function _0x48b0(){const _0x4b468c=['setPivotSort','setCollapse','rangeType','Month','needSameDeleteModel','cellValue','prefix','YearQuarter','sheets-pivot.countNumsName','oldRangeInfo','_ensurePivotTableRangeInfo','Sum\x20of\x20','_initRegisterCommand','info','contains','next','getRangeKey','getLastCol','getFieldById','setRangeValueRedoMutation','registerRefRange','updateDirtyPivotTable','getSourceName','width','filterInfo','_ensurePivotTableMatrixInfo','getConfig','triggerDirtyFeature','versions','NotName','_configVersion$','concat','setDisplayName','sheets-pivot.emptyPivot.values','addPivotTable','updateRenderCache','column','_globalComputedEndHelpFunc','getAutoFitColumnsMutations','StdDevp\x20of\x20','_globalSubject','getDataFieldBySourceName','pivotTableIndexConfig','grandTotal','getPivotPerformCheck','rowStyle','sheets-pivot.dateGroup.monthDate','startRow','Column','valuePosition','limit\x20pivot','getRangeData','dataStyle','sheets-pivot.cellDateGroupDisplay.year','handleSourceRangeChange','getActiveSheet','_initConfig','getSheetId','sheet.command.add-pivot-table','pushUndoRedo','measure','NUMBER','symbol','getColumnCount','getPivotTableInstance','valueFields','SetPivotSetting','_pivotTableInstanceCache','endRow','getOwnPropertyDescriptor','YearMonthDate','SHEET_PIVOT_EXCLUSIVE_ID','version','#e6ebfa','dispose','ptn','getMonth','sheet.mutation.set-pivot-sort-info','targetCellInfo','rangesInfo','generateMutationsByRanges','name','formJSON','updateAllDisplayName','updateValuePosition','viewUpdate$','getFormat','areaInfo','getFieldPositionInfoById','drillDown','registerSyncingMutations','sheet.mutation.remove-pivot-table','_createExclusiveRange','reduce','getCollection','Min\x20of\x20','sheet.mutation.rename-pivot-field','varp','updateConfigCache','fontRenderExtension','fieldIds','_viewUpdate$','colCount','isValue','refreshDataField','SHEET_PIVOT_IN_MAIN_THREAD','getTypeOfUnitDisposed$','_pivotInitCompleted$','sheet.command.set-pivot-sort','sheets-pivot.sumName','rangeKeyMap','displayName','blank','error','CELL_CONTENT','_exclusiveRangeService','_viewData$','FORCE_STRING','_ensurePivotItemRenderValueMatrixCache','fieldsConfig','setLabelFilterInfo','_subjectFieldsCollectionChange','isColMultiMeasure','updateView','valueIndex','stringify','getSubUnitPivotConfigs','sheet.mutation.update-date-group','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','includes','values','updatePivotTableMatrixInfo','sheets-pivot.emptyPivot.column','_pivotConfigChange$','token','oldMatrix','sheets.tabs.sheet','sheet.mutation.pivot-update-field-position','_init','split','sheet.command.set-pivot-collapse','setName','disposeWithMe','getDataFieldItemInfo','col','redos','from','Total','valid','addDataFieldWithoutUnitInfo','updateConfig','NUM','lastRow','getValueFilterInfos','SetFieldFormat','sheet.mutation.get-pivot-data-local','sheets-pivot.cellDateGroupDisplay.yearMonthDate','removeValueFilterInfoByValueFieldId','AddField','getInterceptPoints','sheet.command.reset-pivot-fields-config','removeCollections','_initCommandInterceptListener','sheets-pivot.value','PIVOT_MUTATION_GENERATE','getStyles','getRangeStartEndInfo','setRange','sheets-pivot.cellDateGroupDisplay.quarter','toString','getFieldIds','sheets-pivot.cellDateGroupDisplay.hour','_commandService','_pivotRenderInfoCache','subTotalStyle','getDirtyInfo','sheet.mutation.set-pivot-position','getPivotTableModelConfig','_initPivotTextInfo','zsqHWvxq\x20KtHRmkWvxq(YvHtqlt,\x20ksaYvHrtm)\x20{\x20\x20\x20\x20WRm\x20{\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20YvHtqltcqzxdeRWERRem\x20=\x20YvHtqlt.lkYvW(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20xRv5vqJtlle5t\x20=\x20DfVw.keRlt(eWxa(YvHtqltcqzxdeRWERRem[A]));\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(!xRv5vqJtlle5t.sK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xRv5vqJtlle5t.sK\x20=\x20wsQatR(YvHtqltcqzxdeRWERRem[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20vlPxRTtR\x20=\x20Wmktxz\x20PxRTtRuYxaeYfHxkt\x20!==\x20\x27sqKtzvqtK\x27\x20&&\x20ltYz\x20vqlWeqHtxz\x20PxRTtRuYxaeYfHxkt;\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20HxqWtSW\x20=\x20vlPxRTtR\x20?\x20ltYz\x20:\x20ovqKxo;\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20Qtlle5tPxRK\x20=\x20HxqWtSW.__Ieltgp__.keRlt(YvHtqltcqzxdeRWERRem[A]);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20Qtlle5t\x20=\x20HxqWtSW.__NtS__.lWRvq5vzm(Qtlle5tPxRK);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20lv5qeWsRtPxRK\x20=\x20HxqWtSW.__Ieltgp__.keRlt(YvHtqltcqzxdeRWERRem[L]);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20lv5qeWsRt\x20=\x20HxqWtSW.__NtS__.lWRvq5vzm(lv5qeWsRtPxRK);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20lv5qUeYvK\x20=\x20HxqWtSW.__4tRvzm__(lv5qeWsRt,\x20Qtlle5t,\x20ksaYvHrtm);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20KxQevq\x20=\x20xRv5vqJtlle5t.KQ;\x20\x20\x20\x20\x20\x20\x20\x20zsqHWvxq\x20vlnxQevqJeWHhvq5(xdeWWtRq,\x20xNxlW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20keWWtRq\x20=\x20xdeWWtRq.RtkYeHt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20hxlW\x20=\x20xNxlW.RtkYeHt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20keWWtRqdeRWl\x20=\x20keWWtRq.lkYvW(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20hxlWdeRWl\x20=\x20hxlW.lkYvW(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(!keWWtRq.vqHYsKtl(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20keWWtRq\x20===\x20hxlW;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(keWWtRqdeRWl.Ytq5Wh\x20<\x20A\x20||\x20keWWtRqdeRWl[0]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20zeYlt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20keWWtRqfszzvS\x20=\x20keWWtRqdeRWl.lYvHt(y).7xvq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20hxlWfszzvS\x20=\x20hxlWdeRWl.lYvHt(-keWWtRqdeRWl.Ytq5Wh\x20+\x20y).7xvq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20keWWtRqfszzvS\x20===\x20hxlWfszzvS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YtW\x20KxQevqUeYvK\x20=\x20(KxQevq\x20&&\x20KxQevq.Ytq5Wh)\x20?\x20KxQevq.lxQt((KQcWtQ)\x20=>\x20vlnxQevqJeWHhvq5(KQcWtQ,\x20YxHeWvxq.hxlWqeQt))\x20:\x20WRst;\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(YxHeWvxq.hxlWqeQt\x20===\x20\x27YxHeYhxlW\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KxQevqUeYvK\x20=\x20WRst;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x204eYvK\x20=\x20lv5qUeYvK\x20&&\x20KxQevqUeYvK;\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204eYvK,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Qtlle5t:\x20xRv5vqJtlle5t,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20HeWHh\x20(tRRxR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204eYvK:\x20zeYlt,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Qtlle5t:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_configService','getValueIndex','sheets-pivot.cellDateGroupDisplay.yearMonth','dataFields','params','_activeDirtyManagerService','splice','getValue','delete','sheets-pivot.varpName','_initPivotDataGetListener','sheet.command.update-pivot-table-source-range','sourceRangeInfo','pivotInitCompleted$','deleteField','dataFieldsCollection','_pivotTableMatrixInfo','updateFieldPosition','registerPluginResource','getDataFieldByDataFieldId','getIndexesByPathStr','_sheetsPivotTableConfigModel','removeValueFilterInfo','Hour','format','_initRemoveSheetCommandInterceptor','setPivotTable','addDirtyPivotTable','asObservable','_globalComputedStartHelpFunc','setPivotTableConfig','getSheets','SetPivotTableConfig','parseInt','range','StdDev\x20of\x20','getSubtotal','sheets-pivot.dateGroup.hourMinute','sheets-pivot.emptyPivot.filter','getPivotTableRangeInfo','sheets-pivot.dateGroup.yearQuarter','Product\x20of\x20','forRow','broadcastCollectionChange','message','colStyle','YearMonth','handleMoveRange','Filter','colRanges','_globalComputingSrv','pbt','unitId','ManualFilter','getFilterFieldIdByIndex','replace','sheets-pivot.minName','NotFunction','initDataRanges','count','countNums','_refRangeService','setPivotFilter','markDirty','getPivotItemRenderInfoCache','setRangeValueUndoMutation','sheets-pivot.emptyPivot.row','level','sheet.command.add-pivot-table-with-config','cornerInfo','SetSubtotalType','_updateModelCache','AddPivotField','_sheetInterceptorService','getAutoDisplayNameFunction','_initLocale','undos','_subjectViewChange','sheets-pivot.subTotal','MAX_SAFE_INTEGER','originalFieldId','columnFields','MonthDate','single','getOriginFieldId','Count\x20of\x20','sheet.mutation.add-pivot-table','_getPivotAppliedRanges','getUnitId','onQueryStart','resetPivotTable','rgb(255,255,255)','_generateUniqueVersion','sheet.mutation.send-pivot-data-local','_initUnitDisposed','addExclusiveRange','number','tuple','iterateField','5595708gifycd','_config','stdDevp','filterId','createDataFieldId','updateCollectionConfig','sheet.command.set-pivot-value-filter','toJSON','PivotMultipleValueId','Subtotal','getCurrentUnitForType','max','setDirty','getViewData','Expand','object','sheet.mutation.update-pivot-table-source-range','SetOptions','setRangeKeyMap','renameField','Varp\x20of\x20','addCollection','has','updatePivotSource','createCollectionWithDataRange','deleteDataField','removePivotTable','sheet.command.set-pivot-field-setting','954xMTRsT','dataFieldId','910721kCVled','_model','sheet.mutation.set-pivot-field-subtotal-type','BadReference','registerCallbackWithEvent','getDataFieldByTableId','getSheetBySheetName','BLANK_PLACEHOLDER','Quarter','getFormatInfo','_sheetsPivotRpcService','SetPivotSort','setPivotInitCompleted','getTextInfo','pivotPerformCheck','pivotConfigChange$','_ensurePivotMap','Delete','sheet.command.add-pivot-field','filterFields','#e6ebfb','getNoUsedDataFieldIds','getFieldInfo','keys','get','collection','getPivotTableMatrixInfo','getFieldFormat','UpdateValuePosition','118792UNQbHY','_ensurePivotItemRenderInfoCache','collapseInfo','generateNewSheetName','viewData$','length','SetValueFilter','slice','leftOffset','colInfo','getPivotTableIdByCell','setValue','isNaN','subtotal','paths','#FFFFFF','_host','adjustSheetCellData','_injector','_univerInstanceService','UNIVER_SHEET','node','getLastRow','value','_deletePivotTableInstanceCache','Max\x20of\x20','pivotTableId','subscribe','_sheetsPivotTableService','setConfig','pageStyle','RemoveField','disposableCollection','workbook\x20is\x20not\x20found','getCurrentSelections','sheets-pivot.dateGroup.minute','document','deepClone','sheet.command.move-pivot-table','SetSortInfo','setPivotCollapse','setPivotSetting','updatePivotTableRangeInfo','notExecuteFormula','setSubtotalType','RemovePivotField','random','removePivotField','forEach','minDate','_toJSON','type','_localeService','Value','Var\x20of\x20','getPivotTableCellData','getMatrixValue','remove','UpdateSource','movePivotField','_onRefRangeChange','rangeCache','cornerRanges','sheets-pivot.cellDateGroupDisplay.minute','getformat','getIntersects','_requestResolvers','#1d32e9','leafStyle','find','entries','Grand\x20Total','return\x20','_dataFieldManagerCollection','sheets-pivot.config','getValuePosition','Minute','sheet.mutation.add-pivot-field','COMMAND','_deleteModelCache','_queryingMap','Div0','size','filter','getDataFieldId','push','STRING','endCollectChangeset','getRefRangeMutationsByMoveRange','NotNumber','min','bind','resetArea','getMatrixFromRunTimeData','MIN_SAFE_INTEGER','getDisplayName','batch','updateRangeKeyMap','(Blank)','sheet.operation.pivot-table-view-formula-mark-dirty','endColumn','_updateRenderEmptyCache','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','textInfo','_initGlobalComputed','string','sheetName','NAME','dataFieldManagerConfig','getDataFieldManager','iterateFieldByArea','updateFieldSourceInfo','534951JmeNyE','getPivotTableConfig','setValueFilterInfo','isText','defineProperty','_featureCalculationManagerService','some','startColumn','panel','addCollectionByJSON','Date','setSourceName','Set','forValue','floor','deleteUnitId','set','getPivotDisplayConfig','updateViewData','fetchThroughInterceptors','_sheetsSelectionsService','MovePivotField','_initSnapshot','getTargetByPivotId','_lifecycleService','Values','fromJSON','sheet.mutation.set-pivot-format','addRecord','foreach','sheets-pivot.dateGroup.date','getTextSize','pivotMutationGenerate','updateViewInfo','_viewData','getRowCount','5PcXgRU','HourMinute','removeDataField','removeSourceRangeChange','sheets-pivot.dateGroup.quarter','fields','getFullYear','sheet.command.set-pivot-fields-config','hasOwnProperty','sortInfo','addPivotTableWithConfig','intersects','register','setFieldFormat','asyncInterceptor','sheet.mutation.remove-group-collection','AddPivotTableWithConfig','_initDataSendListener','headerMap','sheets-pivot.varName','_pivotTableRangeInfo','_resourceManagerService','10JyGxQc','dataRangeInfo','getColumnWidth','executeCommand','valueFilter','getCellRaw','fieldsCollectionChange$','getTableFieldById','Add','getCellMatrix','_collectionChange$','parse','SetValuePivotFilter','New','pivotTableConfigs','549882ZmRvNY','uniqueDataFieldName','#eceeff','fetchThroughAsyncInterceptors','handleAsyncResponse','rowFields','sheets-pivot.dateGroup.yearMonthDate','dimension','SHEET_PIVOT_TABLE_PLUGIN','removeField','None','_dataSyncPrimaryController','onCommandExecuted','sheets-pivot.cellDateGroupDisplay.hourMinute','_ensureViewDataMap','intercept','getIntersectsPivotTable','_markDirty$','2001573dNAtcG','DIV_BY_ZERO','_subjectCollectionChange','prototype','sheets-pivot.productName','getFieldCountByArea','_collectionConfigModel','setTextInfo','NORMAL','refreshData','result','add','matrix','map','_textInfo','getGroupFieldsInfoByIds','setValuePivotFilter','getFilterInfo','_initViewModelBySheetInterceptor','Row','61524490JBcPCL','getName','AddPivotTable','clearRenderCache','unshift','call','dataStream','collectionConfig','MUTATION','sheets-pivot.stdDevName','SetPivotCollapse','new','getSheetBySheetId','subUnitId','pageRanges','Year','options','rowCount','COLUMN','getRangeKeyList','_initClearSelectionCommandInterceptor','refreshGroupField','getId','getSubUnitPivotMatrix','getHeaderMapItem','addFieldWithSourceId','DrillDown','UpdatePivotSource','SetPivotFilter','getSortInfo','query','tableFieldId','sheets-pivot.countName','sheets-pivot.blank','shouldClear','Panel','sheets-pivot.dateGroup.hour','sheets-pivot.dateGroup.yearMonth','RenameField','custom','maxDate','update','stdDev','isBottomTotal','_updatePivotTableInstanceCache','sheet.command.pivot-drill-down','addPivotField','collections','getColCount','getFieldDataType','interceptor','lastCol','getSubUnitPivotRenderCache','collectionChange$','_refRangeHandle','getTargetByPivotTableId','_sheetsPivotTableAdaptorModel','ResetPivotTable','_fieldsCollectionChange$','pluginName','SetFilterInfo','getUnit','sum','rowRanges','sheets-pivot.grandTotal','startCollectChangeset','addField','data','setSortInfo','removeCollectionImp','rangeKey','getMatrix','originTargetInfo','sheets-pivot.stdDevpName','isEmpty','realDeleteValue','setDataRecordCount','getUpdateRangeDeleteIds','row','_sheetsPivotDataSourceModel','_pivotRenderValueMatrixCache','sheets-pivot.averageName'];_0x48b0=function(){return _0x4b468c;};return _0x48b0();}vt=js([Ge(0x0,_0x5611df(_0xeb5b23)),Ge(0x1,_0x5611df(X)),Ge(0x2,_0x5611df(Ne)),Ge(0x3,_0x5611df(he)),Ge(0x4,_0x5611df(_0x5d554d)),Ge(0x5,_0x2c6e26)],vt);var Ks=Object['defineProperty'],Ys=Object['getOwnPropertyDescriptor'],zs=(_0x211c82,_0x256735,_0x35a05b)=>_0x256735 in _0x211c82?Ks(_0x211c82,_0x256735,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35a05b}):_0x211c82[_0x256735]=_0x35a05b,Qs=(_0x3e46e0,_0x301023,_0x1dbdae,_0x5821a8)=>{const _0x3f1941=_0x27d18f;for(var _0x10a118=_0x5821a8>0x1?void 0x0:_0x5821a8?Ys(_0x301023,_0x1dbdae):_0x301023,_0x26afa2=_0x3e46e0[_0x3f1941(0x210)]-0x1,_0x163bd9;_0x26afa2>=0x0;_0x26afa2--)(_0x163bd9=_0x3e46e0[_0x26afa2])&&(_0x10a118=_0x163bd9(_0x10a118)||_0x10a118);return _0x10a118;},Rt=(_0x1bf8ab,_0x15d537)=>(_0x15844f,_0x17b5f1)=>_0x15d537(_0x15844f,_0x17b5f1,_0x1bf8ab),Xo=(_0x22b6d3,_0x46b5b9,_0x18b0b7)=>zs(_0x22b6d3,typeof _0x46b5b9!=_0x27d18f(0x37a)?_0x46b5b9+'':_0x46b5b9,_0x18b0b7);let Ut=class extends _0x15a201{constructor(_0x470b85=yo,_0x5e68d7,_0x2ad7e7,_0x59fdce,_0xf93751){const _0x456b33=_0x27d18f;super(),this[_0x456b33(0x1d1)]=_0x470b85,this['_injector']=_0x5e68d7,this[_0x456b33(0x3e8)]=_0x2ad7e7,this['_configService']=_0x59fdce,this[_0x456b33(0x2cf)]=_0xf93751;const {..._0x1da7f3}=_0x431384({},yo,this['_config']);this[_0x456b33(0x3f0)][_0x456b33(0x228)](Yo,_0x1da7f3),this[_0x456b33(0x348)](),this['_initConfig']();}[_0x27d18f(0x374)](){const _0x17d109=_0x27d18f;var _0x402bf5;const _0xed22e9=(_0x402bf5=this[_0x17d109(0x1d1)])==null?void 0x0:_0x402bf5['notExecuteFormula'];this['_configService']['setConfig'](z,_0xed22e9===!0x0);}['onStarting'](){const _0x279d5b=_0x27d18f;var _0x4e7441;let _0x430718=[];const _0x1efc9c=(_0x4e7441=this[_0x279d5b(0x1d1)])==null?void 0x0:_0x4e7441[_0x279d5b(0x236)];_0x1efc9c===!0x0?_0x430718=[[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x1efc9c===!0x1?_0x430718=[[q],[ct]]:_0x1efc9c===void 0x0&&(_0x430718=[[q],[ct],[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x430718[_0x279d5b(0x23b)](_0x2069c2=>this[_0x279d5b(0x21d)][_0x279d5b(0x2e1)](_0x2069c2)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x2ade59=>{const _0x3c775d=_0x279d5b;this[_0x3c775d(0x21d)][_0x3c775d(0x1e6)](_0x2ade59)&&this[_0x3c775d(0x21d)][_0x3c775d(0x206)](_0x2ade59);});}[_0x27d18f(0x348)](){[ps,ms,vs,Is,Ss,Ns,Rs,Ts,ws,Ms,Fs,Ds,Cs,bs,Ct,to,Et,qt,zo,Qo,jt,$t,Jt,Ht,Yt,Kt,pt,ro,lo,Dt,Xt,eo,zt,Gt,uo,oo,Zt,xt,co,_s,Qt,ys,Ps]['forEach'](_0xfcb03=>{const _0xc489e=_0x2985;var _0x2cd2a5;(_0x2cd2a5=this[_0xc489e(0x2cf)])==null||_0x2cd2a5[_0xc489e(0x396)](_0xfcb03),this[_0xc489e(0x3e8)]['registerCommand'](_0xfcb03);});}};Xo(Ut,_0x27d18f(0x325),ao),Xo(Ut,_0x27d18f(0x23e),_0x11ddec[_0x27d18f(0x21f)]),Ut=Qs([_0x2c4d81(_0x70b3a),Rt(0x1,_0x5611df(_0x318e93)),Rt(0x2,_0x5611df(_0xeb5b23)),Rt(0x3,_0x27c3ed),Rt(0x4,_0x11259b(_0x436fb7))],Ut);export{vs as AddPivotFieldCommand,qt 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,W as PivotDisplayDataType,bs as PivotDrillDownCommand,B as PivotTableOperationEnum,xt as PivotTableViewDirtyMarkOperation,ko as PositionType,Ss as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Et as RemovePivotTableMutation,Jt as RenamePivotFieldMutation,Ps as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ts as SetPivotCollapseCommand,Ht as SetPivotCollapseMutation,Gt as SetPivotFieldFormatMutation,ys as SetPivotFieldsConfigCommand,Ms as SetPivotFilterCommand,jt as SetPivotFilterMutation,Kt as SetPivotOptionMutation,pt as SetPivotPositionMutation,ws as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,q as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Rs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Fs as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ds as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ns as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Go as canUsePivot,fe as defaultThemeStyle,jo as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Bi as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Wi as getPivotCellInfo,go as getPivotInfoByLicense,ki as getPivotTableInfo,ht as transFromCellValue,Bt as unionPivotViewRange};
|