@univerjs-pro/sheets-pivot 0.9.3-nightly.202507250819 → 0.9.4-nightly.202507290713
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/types/controllers/sheets-pivot-caculate.controller.d.ts +2 -3
- package/lib/types/controllers/sheets-pivot-interceptor.controller.d.ts +2 -3
- package/lib/types/models/sheets-pivot-data-source-model.d.ts +2 -3
- package/lib/types/services/sheets-pivot-rpc.service.d.ts +2 -3
- 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 +11 -11
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1a4bb1=_0x58d2;(function(_0x32577e,_0x129cc7){const _0x842148=_0x58d2,_0x26ff50=_0x32577e();while(!![]){try{const _0x40b49e=parseInt(_0x842148(0x273))/0x1*(parseInt(_0x842148(0x2fa))/0x2)+-parseInt(_0x842148(0x1fa))/0x3*(-parseInt(_0x842148(0x24f))/0x4)+parseInt(_0x842148(0x1cc))/0x5+-parseInt(_0x842148(0x33b))/0x6*(-parseInt(_0x842148(0x279))/0x7)+parseInt(_0x842148(0x2ba))/0x8+parseInt(_0x842148(0x377))/0x9*(parseInt(_0x842148(0x255))/0xa)+-parseInt(_0x842148(0x30f))/0xb*(parseInt(_0x842148(0x2af))/0xc);if(_0x40b49e===_0x129cc7)break;else _0x26ff50['push'](_0x26ff50['shift']());}catch(_0x56627f){_0x26ff50['push'](_0x26ff50['shift']());}}}(_0x4fac,0xd4f51));var an=Object['defineProperty'],rn=(_0x226c72,_0x9ba047,_0x5f0a68)=>_0x9ba047 in _0x226c72?an(_0x226c72,_0x9ba047,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f0a68}):_0x226c72[_0x9ba047]=_0x5f0a68,V=(_0x15947b,_0x2fc1c2,_0x41c226)=>rn(_0x15947b,typeof _0x2fc1c2!=_0x1a4bb1(0x35f)?_0x2fc1c2+'':_0x2fc1c2,_0x41c226);import{PivotCellStyleTypeEnum as _0xfeaa95,PivotViewCellValueTypeEnum as _0x209ae8,isPrefixValue as _0x378eb6,isErrorValue as _0x57596f,PivotErrorTypeEnum as _0x60f70f,PivotDateGroupFieldDateTypeEnum as _0x167867,DataFieldManager as _0x1a1803,FieldsCollection as _0xfc14f0,isDateValue as _0x51f8a3,DataField as _0x38d140,generateHexNumber as _0x2cc304,isBaseGroupField as _0x1bb721,PivotTable as _0x162344,PivotSubtotalTypeEnum as _0x4729bf,PivotTableFiledAreaEnum as _0xf3a50c,excelDateToUnixMilliseconds as _0x22fdc5,createValueField as _0x362725,createLabelField as _0x547d29,PivotTableChangeTypeEnum as _0x3caa75,BaseGroupField as _0x267aec,PivotView as _0x1a88a1,isDateGroupFieldJSON as _0x35394c,PivotCallbackEnum as _0x49b29f,PivotFilterTypeEnum as _0x38c691,getAutoDisplayName as _0x2cc45f,PivotDataFieldDataTypeEnum as _0x273cf8,PivotTableValuePositionEnum as _0x22b0c2,isDateGroupField as _0x2a178b,DateGroupField as _0x2bf29a}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x1bfeee,ObjectMatrix as _0x18ce59,IUniverInstanceService as _0x41ab3d,UniverInstanceType as _0x47d004,CellValueType as _0x335ccc,numfmt as _0x48470d,LocaleService as _0x58b50b,createAsyncInterceptorKey as _0x359b2b,createInterceptorKey as _0x35513d,CommandType as _0x5158ca,RANGE_TYPE as _0x3c7dce,numberToABC as _0x1a93f2,Inject as _0x772e00,Injector as _0x4ed77d,LifecycleService as _0x99ea5b,IConfigService as _0x1893a6,ICommandService as _0x554f1b,IResourceManagerService as _0x28a11b,Disposable as _0x36ff7f,Rectangle as _0x41833c,Tools as _0x5a29c7,AsyncInterceptorManager as _0x494024,InterceptorManager as _0x421eb3,InterceptorEffectEnum as _0x2c3ce5,CustomCommandExecutionError as _0x2435cd,IUndoRedoService as _0x943f03,sequenceExecute as _0x17d82c,mergeWorksheetSnapshotWithDefault as _0xa3dcb2,generateRandomId as _0x469552,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x26e9e0,DEFAULT_WORKSHEET_ROW_COUNT as _0x327ba6,DisposableCollection as _0x379c4f,Range as _0x59e98e,DependentOn as _0x50d0a5,Optional as _0xaa6feb,Plugin as _0x504729,merge as _0x12abcd}from'@univerjs/core';import{ErrorType as _0x66eff1,serializeRangeWithSpreadsheet as _0x1ec178,IFeatureCalculationManagerService as _0x3e04e3,GlobalComputingStatusService as _0x4d465d,IActiveDirtyManagerService as _0x34cdf1}from'@univerjs/engine-formula';import{generateNullCell as _0x2d9341,SetRangeValuesUndoMutationFactory as _0x17808b,SetRangeValuesMutation as _0x324b45,getSheetCommandTarget as _0x114ebc,InsertRowMutation as _0x320284,RemoveRowMutation as _0x3c06dc,InsertColMutation as _0x551179,RemoveColMutation as _0x4a6d3c,IExclusiveRangeService as _0x1f541a,SheetInterceptorService as _0x3956fc,INTERCEPTOR_POINT as _0x44882f,InsertSheetCommand as _0x298eba,InsertSheetUndoMutationFactory as _0x47b071,RemoveSheetMutation as _0x56952e,InsertSheetMutation as _0xcc733c,MoveRangeMutation as _0x41afed,SheetsSelectionsService as _0x3fe1d9,ClearSelectionContentCommand as _0x264eb7,ClearSelectionAllCommand as _0xfa21a9,SetWorksheetColWidthMutation as _0x4891f1,RefRangeService as _0x3d4d6b,SetWorksheetActiveOperation as _0x598f26,MoveRangeCommand as _0x591b39,RemoveSheetCommand as _0x24f8c7}from'@univerjs/sheets';import{Subject as _0x55f0e1,BehaviorSubject as _0x261ee4}from'rxjs';function _0x58d2(_0x542278,_0x145e16){const _0x4fac80=_0x4fac();return _0x58d2=function(_0x58d274,_0x4a7113){_0x58d274=_0x58d274-0x1c5;let _0x3553af=_0x4fac80[_0x58d274];return _0x3553af;},_0x58d2(_0x542278,_0x145e16);}import{LS_CONFIG_KEY as _0x2bc50f,unshiftString as _0x39ba9a,isFeatureAuthorizedWithinTime as _0x52bf03,getSheetFeatureLimit as _0x1641fe,ReleaseType as _0x451bf1,UniverLicensePlugin as _0x1ce9db}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x2ac767,RemoveSheetsFilterMutation as _0x3f41c9}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x49de43}from'@univerjs/rpc';import{getFontStyleString as _0x1fa31e,FontCache as _0x9b4dce}from'@univerjs/engine-render';const Ao=Number[_0x1a4bb1(0x291)](0x68833ed2),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,di='rgb(240,241,243)',ci='rgb(255,255,255)',Rt=_0x1a4bb1(0x3aa),ui=_0x1a4bb1(0x382),fi=_0x1a4bb1(0x382),gi=_0x1a4bb1(0x1e2),hi=_0x1a4bb1(0x338),vi=_0x1a4bb1(0x385),pi=_0x1a4bb1(0x328),mi=_0x1a4bb1(0x338),Ii=_0x1a4bb1(0x385),Ci='#e6ebfb',bi=0xe,Si=0x6;var Wo=(_0x21ec7b=>(_0x21ec7b[_0x1a4bb1(0x411)]='existing',_0x21ec7b['New']=_0x1a4bb1(0x2f3),_0x21ec7b))(Wo||{});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,je={'b':{'s':0x1,'cl':{'rgb':Rt}},'l':{'s':0x1,'cl':{'rgb':Rt}},'r':{'s':0x1,'cl':{'rgb':Rt}},'t':{'s':0x1,'cl':{'rgb':Rt}}},oe={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},w={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':je,'vt':0x2}};function yi(_0x302bd8,_0x50badd,_0x4999c3){const _0x5d98f3=_0x1a4bb1,_0x4ddebc=_0x302bd8['get'](_0x58b50b),_0x5af79c=_0x4999c3['split']('_');switch(_0x50badd){case _0x167867[_0x5d98f3(0x35e)]:return _0x4ddebc['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x5af79c);case _0x167867[_0x5d98f3(0x1e3)]:return _0x4ddebc['t'](_0x5d98f3(0x36a),..._0x5af79c);case _0x167867[_0x5d98f3(0x407)]:return _0x4ddebc['t'](_0x5d98f3(0x29a),..._0x5af79c);case _0x167867[_0x5d98f3(0x281)]:return _0x4ddebc['t'](_0x5d98f3(0x3b6),..._0x5af79c);case _0x167867['Date']:return _0x4ddebc['t'](_0x5d98f3(0x311),..._0x5af79c);case _0x167867[_0x5d98f3(0x224)]:return _0x4ddebc['t'](_0x5d98f3(0x3f6),..._0x5af79c);case _0x167867[_0x5d98f3(0x429)]:return _0x4ddebc['t'](_0x5d98f3(0x2f8),..._0x5af79c);case _0x167867['YearMonth']:return _0x4ddebc['t'](_0x5d98f3(0x3c5),..._0x5af79c);case _0x167867[_0x5d98f3(0x378)]:return _0x4ddebc['t'](_0x5d98f3(0x21b),..._0x5af79c);case _0x167867[_0x5d98f3(0x443)]:return _0x4ddebc['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x5af79c);}return'';}const it=(_0x2f9375,_0xf0125c,_0x3ee312,_0x8044f2)=>{const _0x54a12d=_0x1a4bb1;let _0x5cb382;const _0x34d9a0=_0x2f9375[_0x54a12d(0x39e)](_0x41ab3d)[_0x54a12d(0x33a)](_0x47d004[_0x54a12d(0x3de)]);if(!_0x34d9a0)return null;const _0x4918d0=_0x34d9a0[_0x54a12d(0x42d)]();let _0x2f62d4;if(_0x3ee312&&(_0x2f62d4=_0x4918d0[_0x54a12d(0x22a)](_0x3ee312)),_0xf0125c!=null&&_0xf0125c['v']||(_0xf0125c==null?void 0x0:_0xf0125c['v'])===0x0){_0x5cb382||(_0x5cb382={});const _0x4983a1=Bo(_0xf0125c['v']);typeof _0x4983a1==_0x54a12d(0x284)?_0x5cb382['t']=_0x335ccc[_0x54a12d(0x30a)]:typeof _0x4983a1==_0x54a12d(0x406)&&(_0x5cb382['t']=_0x335ccc['STRING']),_0x5cb382['v']=_0x4983a1;}if((_0xf0125c!=null&&_0xf0125c['i']||(_0xf0125c==null?void 0x0:_0xf0125c['i'])===0x0)&&(_0x5cb382||(_0x5cb382={}),_0x5cb382['fi']=_0xf0125c['i']),_0xf0125c!=null&&_0xf0125c['s']&&(_0x5cb382||(_0x5cb382={}),_0x5cb382[_0x54a12d(0x1c7)]=_0xf0125c['s']),_0x3ee312&&(_0x5cb382||(_0x5cb382={}),_0x5cb382['s']=_0x2f62d4),_0x8044f2&&_0x5cb382!=null&&_0x5cb382['v']&&_0x5cb382[_0x54a12d(0x1c7)]!==_0xfeaa95[_0x54a12d(0x2e1)]&&_0x5cb382[_0x54a12d(0x1c7)]!==_0xfeaa95[_0x54a12d(0x23c)]){const _0x5f8b52=String(_0x5cb382['v']),{dateType:_0x5eeacf}=_0x8044f2;_0x5cb382['v']=yi(_0x2f9375,_0x5eeacf,_0x5f8b52),_0x5cb382['t']=_0x335ccc[_0x54a12d(0x3ad)];}return _0x5cb382;},Ti=(_0x464f99,_0x19d103,_0x1257a7,_0x517571)=>{const _0xde608a=_0x1a4bb1;var _0x458800,_0x3c80aa,_0x5a04a8,_0x4ce75b,_0x3a5dc9,_0x1cab64,_0x4dddac,_0x38e54e,_0x37c8fb,_0x1f97a7,_0x5a5c29,_0x522bc5,_0x2f41f2,_0x152ff3;const _0x3b1f2f=_0x1257a7[_0xde608a(0x202)],{cornerView:_0x48dd83,rowView:_0x217e7b,colView:_0x5b1c56,dataView:_0x4b3e68,pageView:_0xe8fd4,formatMap:_0x26f799,groupInfo:_0x24978d}=_0x19d103,{row:_0x13fcb3,col:_0x3d5a60}=_0x3b1f2f,_0x5b8f70=new _0x18ce59(),_0x22bd33={},_0x26545f={},_0x1b2b8e={},_0x55308c={},_0x1a1808={};let _0x27376f=_0x13fcb3,_0x19994e=_0x3d5a60;Object['keys'](_0xe8fd4['data'])['forEach'](_0x4fba92=>{const _0x52d5d3=_0xde608a;Object[_0x52d5d3(0x37f)](_0xe8fd4[_0x52d5d3(0x2ea)][Number(_0x4fba92)])[_0x52d5d3(0x34b)](_0x14076c=>{const _0x560c9b=_0x52d5d3,_0xafb358={..._0xe8fd4['data'][Number(_0x4fba92)][Number(_0x14076c)]};_0x5b8f70[_0x560c9b(0x22a)](Number(_0x4fba92)+_0x27376f,Number(_0x14076c)+_0x19994e,it(_0x464f99,_0xafb358,fe[_0x560c9b(0x322)]));});});const _0x337254=Object[_0xde608a(0x37f)](_0xe8fd4[_0xde608a(0x2ea)])['length'];_0x27376f+=_0x337254+(_0x337254?It:0x0);const _0x44c58b=_0x48dd83[_0xde608a(0x342)](),_0x4823be=_0x48dd83[_0xde608a(0x25e)]();for(let _0x4b0835=0x0;_0x4b0835<_0x44c58b;_0x4b0835++)for(let _0x1a0370=0x0;_0x1a0370<_0x4823be;_0x1a0370++){const _0x131d90={...(_0x3c80aa=(_0x458800=_0x48dd83['data'])==null?void 0x0:_0x458800[_0x4b0835])==null?void 0x0:_0x3c80aa[_0x1a0370]};_0x131d90&&((_0x5a04a8=_0x217e7b['headerMap'][_0x1a0370])!=null&&_0x5a04a8[_0xde608a(0x27e)])&&_0x1a0370===_0x4823be-0x1&&_0x4b0835===_0x44c58b-0x1&&(_0x131d90['v']=''+_0x517571['sheets-pivot.value']),_0x5b8f70[_0xde608a(0x22a)](_0x4b0835+_0x27376f,_0x1a0370+_0x19994e,it(_0x464f99,_0x131d90,fe[_0xde608a(0x1f1)]));}for(let _0x3d9e19=0x0;_0x3d9e19<_0x48dd83['info'][_0xde608a(0x2ac)];_0x3d9e19++)_0x48dd83[_0xde608a(0x2e8)][_0x3d9e19]&&(_0x1b2b8e[''+(_0x3d9e19+_0x19994e)]=_0x48dd83[_0xde608a(0x2e8)][_0x3d9e19]);_0x19994e+=_0x4823be;const _0x3c3a06=_0x5b1c56[_0xde608a(0x246)],_0x41aa7d=_0x5b1c56[_0xde608a(0x231)]()>=0x0?_0x5b1c56[_0xde608a(0x231)]()+0x1:0x0,_0x3313cf=_0x5b1c56[_0xde608a(0x430)]()>=0x0?_0x5b1c56[_0xde608a(0x430)]()+0x1:0x0;for(let _0xfc6b2a=0x0;_0xfc6b2a<_0x3313cf;_0xfc6b2a++){for(let _0x56bd75=0x0;_0x56bd75<_0x41aa7d;_0x56bd75++){const _0x3c0650={...(_0x3a5dc9=(_0x4ce75b=_0x5b1c56[_0xde608a(0x2ea)])==null?void 0x0:_0x4ce75b[_0x56bd75])==null?void 0x0:_0x3a5dc9[_0xfc6b2a]},_0x4230ad=(_0x1cab64=_0x3c3a06[_0x56bd75])==null?void 0x0:_0x1cab64[_0xde608a(0x380)],_0x1794a6=_0x26f799[_0x4230ad],_0x5b8dba=_0x24978d[_0x4230ad];_0x3c0650&&(_0x3c0650['v']=vt(_0x3c0650,_0x56bd75===0x0&&((_0x4dddac=_0x5b1c56[_0xde608a(0x421)](_0xfc6b2a+0x1))==null?void 0x0:_0x4dddac['isValue']),_0x1794a6,_0x517571));let _0xcb3092;_0x1794a6?_0xcb3092={...fe[_0xde608a(0x27b)],'n':{'pattern':_0x1794a6}}:_0xcb3092={...fe[_0xde608a(0x27b)]},_0x5b8f70['setValue'](_0x56bd75+_0x27376f,_0xfc6b2a+_0x19994e,it(_0x464f99,_0x3c0650,_0xcb3092,_0x5b8dba));}_0x5b1c56['info'][_0xfc6b2a]&&(_0x26545f[''+(_0xfc6b2a+_0x19994e)]=_0x5b1c56[_0xde608a(0x2e8)][_0xfc6b2a]),_0x5b1c56[_0xde608a(0x246)][_0xfc6b2a+0x1]&&(_0x1a1808[''+(_0xfc6b2a+_0x27376f+0x1)]=_0x5b1c56[_0xde608a(0x246)][_0xfc6b2a+0x1]);}_0x27376f+=_0x44c58b;const _0x432d4c=_0x217e7b[_0xde608a(0x246)],_0x1f4628=_0x217e7b['getLastRow']()>=0x0?_0x217e7b[_0xde608a(0x231)]()+0x1:0x0,_0x196e35=_0x217e7b[_0xde608a(0x430)]()>=0x0?_0x217e7b[_0xde608a(0x430)]()+0x1:0x0;for(let _0xe1d945=0x0;_0xe1d945<_0x1f4628;_0xe1d945++){for(let _0x2cb31e=0x0;_0x2cb31e<_0x196e35;_0x2cb31e++){const _0x2ce5c7={...(_0x37c8fb=(_0x38e54e=_0x217e7b[_0xde608a(0x2ea)])==null?void 0x0:_0x38e54e[_0xe1d945])==null?void 0x0:_0x37c8fb[_0x2cb31e]},_0x41f1bc=(_0x1f97a7=_0x432d4c[_0x2cb31e])==null?void 0x0:_0x1f97a7['tableFieldId'],_0x12217d=_0x26f799[_0x41f1bc],_0x50208b=_0x24978d[_0x41f1bc];_0x2ce5c7&&(_0x2ce5c7['v']=vt(_0x2ce5c7,!0x1,_0x12217d,_0x517571));let _0x183685;_0x217e7b[_0xde608a(0x2e8)][_0xe1d945][_0xde608a(0x20d)]===_0x217e7b['getColCount']()?_0x183685=fe[_0xde608a(0x2a3)]:_0x217e7b[_0xde608a(0x2e8)][_0xe1d945][_0xde608a(0x245)]?_0x183685=_0x217e7b['info'][_0xe1d945][_0xde608a(0x20d)]===0x0?fe[_0xde608a(0x2b8)]:fe[_0xde608a(0x3be)]:_0x183685=fe[_0xde608a(0x304)],_0x12217d&&(_0x183685={..._0x183685,'n':{'pattern':_0x12217d}}),_0x5b8f70[_0xde608a(0x22a)](_0xe1d945+_0x27376f,_0x2cb31e+_0x3d5a60,it(_0x464f99,_0x2ce5c7,_0x183685,_0x50208b));}_0x217e7b[_0xde608a(0x2e8)][_0xe1d945]&&(_0x22bd33[''+(_0xe1d945+_0x27376f)]=_0x217e7b[_0xde608a(0x2e8)][_0xe1d945]),_0x217e7b['headerMap'][_0xe1d945]&&(_0x55308c[''+(_0xe1d945+_0x3d5a60)]=_0x217e7b[_0xde608a(0x246)][_0xe1d945]);}const _0x1a9aa1=_0x4b3e68[_0xde608a(0x342)](),_0x97d4b1=_0x4b3e68[_0xde608a(0x25e)]();for(let _0x23b4f3=0x0;_0x23b4f3<_0x1a9aa1;_0x23b4f3++)for(let _0x157d30=0x0;_0x157d30<_0x97d4b1;_0x157d30++){const _0x3bda4e={...(_0x522bc5=(_0x5a5c29=_0x4b3e68[_0xde608a(0x2ea)])==null?void 0x0:_0x5a5c29[_0x23b4f3])==null?void 0x0:_0x522bc5[_0x157d30]};let _0x5ec17b;_0x217e7b[_0xde608a(0x2e8)][_0x23b4f3]['isBottomTotal']?_0x5ec17b=_0x217e7b[_0xde608a(0x2e8)][_0x23b4f3][_0xde608a(0x20d)]===0x0?fe[_0xde608a(0x2b8)]:fe[_0xde608a(0x3be)]:_0x5ec17b=fe[_0xde608a(0x1c8)];const _0x553bc5=_0x217e7b['info'][_0x23b4f3][_0xde608a(0x3c7)],_0x485265=_0x5b1c56[_0xde608a(0x2e8)][_0x157d30]['valueIndex'],_0x2063f7=Math['max'](_0x553bc5,_0x485265),_0xc3dd86=_0x1257a7[_0xde608a(0x2a8)]['valueFields']['concat']();let _0x50d09a='';_0x2063f7<0x0?_0x50d09a=(_0x2f41f2=_0xc3dd86[0x0])!=null?_0x2f41f2:'':_0x50d09a=(_0x152ff3=_0xc3dd86[_0x2063f7])!=null?_0x152ff3:'';const _0x4f635a=_0x26f799[_0x50d09a];_0x4f635a&&(_0x5ec17b={..._0x5ec17b,'n':{'pattern':_0x4f635a}}),_0x5b8f70[_0xde608a(0x22a)](_0x23b4f3+_0x27376f,_0x157d30+_0x19994e,it(_0x464f99,_0x3bda4e,_0x5ec17b));}return{'valueMatrix':_0x5b8f70,'rowInfo':_0x22bd33,'colInfo':_0x26545f,'cornerInfo':_0x1b2b8e,'rowHeaderMap':_0x55308c,'colHeaderMap':_0x1a1808};};function vt(_0x7515e6,_0x198a24,_0x202ca9,_0x392b93){const _0x380cda=_0x1a4bb1;let _0xd8fc07=_0x7515e6['v'];_0x198a24&&(_0xd8fc07=''+_0x392b93[_0x380cda(0x3f0)]);const _0x2c5341=_0x7515e6['t']&&(_0x7515e6['t']&_0x209ae8[_0x380cda(0x3ac)])>0x0;if(_0x2c5341&&(_0xd8fc07=''+_0x392b93[_0x380cda(0x3f8)]),_0x7515e6['s']===_0xfeaa95[_0x380cda(0x23c)]){let _0x3b8f42=_0xd8fc07,_0x2f0815='';_0x378eb6(_0xd8fc07)&&(_0x3b8f42=_0xd8fc07[_0x380cda(0x351)],_0x2f0815=_0xd8fc07[_0x380cda(0x1da)]);const _0x55e0b7=_0x202ca9&&!_0x2c5341?_0x48470d[_0x380cda(0x2b9)](_0x202ca9,Number(_0x3b8f42)):_0x3b8f42;_0x2f0815?_0xd8fc07=_0x55e0b7+'\x20'+_0x2f0815:_0xd8fc07=_0x55e0b7+'\x20'+_0x392b93[_0x380cda(0x243)];}else _0x7515e6['s']===_0xfeaa95[_0x380cda(0x2e1)]&&(_0xd8fc07=_0xd8fc07+'\x20'+_0x392b93[_0x380cda(0x37c)]);return _0xd8fc07;}function Bo(_0x4e0ff0){const _0x2ac596=_0x1a4bb1;if(_0x57596f(_0x4e0ff0)){const {errorType:_0x32dd77}=_0x4e0ff0;switch(_0x32dd77){case _0x60f70f['Div0']:return _0x66eff1['DIV_BY_ZERO'];case _0x60f70f[_0x2ac596(0x3d9)]:return _0x66eff1[_0x2ac596(0x256)];case _0x60f70f['NotFunction']:return _0x66eff1[_0x2ac596(0x26d)];case _0x60f70f[_0x2ac596(0x3e3)]:return _0x66eff1[_0x2ac596(0x26d)];case _0x60f70f['BadReference']:return _0x66eff1[_0x2ac596(0x2d1)];}}return _0x4e0ff0;}function ge(_0x3955a5,_0x4a2fc9,_0x2316fc=!0x1,_0xbf1841=!0x1){const _0x79df13=_0x1a4bb1,{data:_0x5d2ba6}=_0x4a2fc9,_0x1db2fb=_0x4a2fc9[_0x79df13(0x342)](),_0x450025=_0x4a2fc9[_0x79df13(0x25e)]();if(_0x1db2fb<=0x0||_0x450025<=0x0)return[];const _0x2023e4=_0x4a2fc9['getLastCol'](),_0x250295=_0x4a2fc9[_0x79df13(0x231)](),_0x43d388=_0xbf1841?_0x250295>=0x0?_0x250295+0x1:0x0:_0x1db2fb,_0x48daf5=_0xbf1841?_0x2023e4>=0x0?_0x2023e4+0x1:0x0:_0x450025,{row:_0xeb0d7b,col:_0x261b0a}=_0x3955a5,_0x3d75c5=_0xeb0d7b,_0x12af50=_0x261b0a;if(_0x2316fc){const _0x4a38d9=[];for(const [_0x1cf606,_0x59a3e4]of Object[_0x79df13(0x1e1)](_0x5d2ba6))for(const [_0x5dfba9,_0x360e10]of Object[_0x79df13(0x1e1)](_0x59a3e4))_0x4a38d9[_0x79df13(0x3ea)](_0x1bfeee(_0x3d75c5+Number(_0x1cf606),_0x12af50+Number(_0x5dfba9)));return _0x4a38d9;}else{const _0x534714=_0xbf1841?_0x43d388>0x0?0x1:0x0:0x1,_0x3c0b1a=_0xbf1841?_0x48daf5>0x0?0x1:0x0:0x1,_0x2d8d4a=_0xeb0d7b+_0x43d388-_0x534714,_0x184ed4=_0x261b0a+_0x48daf5-_0x3c0b1a;return[{'startRow':_0x3d75c5,'startColumn':_0x12af50,'endRow':_0x2d8d4a,'endColumn':_0x184ed4}];}}const q=_0x1a4bb1(0x324),Wt='SHEET_PIVOT_EXCLUSIVE_ID';var A=(_0x34bce1=>(_0x34bce1[_0x1a4bb1(0x39a)]='filter',_0x34bce1[_0x1a4bb1(0x2db)]=_0x1a4bb1(0x424),_0x34bce1[_0x1a4bb1(0x277)]=_0x1a4bb1(0x1ef),_0x34bce1[_0x1a4bb1(0x405)]='AddPivotTableWithConfig',_0x34bce1[_0x1a4bb1(0x2ad)]=_0x1a4bb1(0x346),_0x34bce1[_0x1a4bb1(0x24e)]=_0x1a4bb1(0x426),_0x34bce1['RemovePivotField']=_0x1a4bb1(0x36e),_0x34bce1[_0x1a4bb1(0x1e8)]=_0x1a4bb1(0x413),_0x34bce1['SetPivotFilter']=_0x1a4bb1(0x230),_0x34bce1[_0x1a4bb1(0x39c)]=_0x1a4bb1(0x257),_0x34bce1['SetPivotSetting']=_0x1a4bb1(0x392),_0x34bce1[_0x1a4bb1(0x427)]='updatePivotSource',_0x34bce1[_0x1a4bb1(0x203)]=_0x1a4bb1(0x2c3),_0x34bce1[_0x1a4bb1(0x20c)]=_0x1a4bb1(0x365),_0x34bce1[_0x1a4bb1(0x21e)]=_0x1a4bb1(0x2fd),_0x34bce1[_0x1a4bb1(0x3a4)]='setPivotTableConfig',_0x34bce1[_0x1a4bb1(0x236)]=_0x1a4bb1(0x2d0),_0x34bce1))(A||{});const Mi={'sheets-pivot.blankValue':_0x1a4bb1(0x2d7),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x1a4bb1(0x2d5),'sheets-pivot.grandTotalText':_0x1a4bb1(0x3a3),'sheets-pivot.valueText':_0x1a4bb1(0x1d9),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x1a4bb1(0x42a),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x1a4bb1(0x3d5),'sheets-pivot.minName':_0x1a4bb1(0x2ab),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x1a4bb1(0x410),'sheets-pivot.stdDevpName':_0x1a4bb1(0x229),'sheets-pivot.sumName':_0x1a4bb1(0x276),'sheets-pivot.varName':_0x1a4bb1(0x2c8),'sheets-pivot.varpName':_0x1a4bb1(0x2cb),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x1a4bb1(0x3a3),'sheets-pivot.value':_0x1a4bb1(0x1da),'sheets-pivot.blank':_0x1a4bb1(0x3ac),'sheets-pivot.emptyPivot.filter':_0x1a4bb1(0x39a),'sheets-pivot.emptyPivot.row':_0x1a4bb1(0x3f4),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':'Values'},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x359b2b(_0x1a4bb1(0x20b)),Go=_0x35513d('pivotMutationGenerate');var Le=(_0x3d4f8b=>(_0x3d4f8b[_0x1a4bb1(0x3ef)]=_0x1a4bb1(0x3ef),_0x3d4f8b[_0x1a4bb1(0x3e5)]=_0x1a4bb1(0x3e5),_0x3d4f8b['update']=_0x1a4bb1(0x36c),_0x3d4f8b))(Le||{}),B=(_0x3dfc94=>(_0x3dfc94['Add']=_0x1a4bb1(0x3ef),_0x3dfc94[_0x1a4bb1(0x3d4)]=_0x1a4bb1(0x1fc),_0x3dfc94[_0x1a4bb1(0x3b7)]=_0x1a4bb1(0x3e5),_0x3dfc94))(B||{});const $o={0x0:'w',0x1:'Y',0x2:'I',0x3:'a',0x4:'s',0x5:'8',0x6:'k',0x7:'M',0x8:'x',0x9:'l','K':'0','L':'1','b':'2','U':'3','w':'4','X':'5','a':'6','V':'7','p':'9','Q':'b','y':'c','n':'d','W':'e','F':'f','G':'g','q':'h','k':'i','D':'j','m':'m','d':'n','z':'o','H':'p','A':'q','h':'r','R':'t','Y':'u','u':'v','j':'y','c':'z','T':'A','M':'B','l':'C','B':'D','S':'E','C':'F','g':'G','P':'H','J':'J','E':'K','o':'L','O':'N','t':'O','x':'P','v':'Q','i':'R','e':'S','r':'T','I':'U','Z':'V','f':'W','N':'X','s':'Z'},zo='FYdyRkzd\x20nWyhjHRkzd(9kyWd4W,\x20HYQ9kyEWj)\x20{\x20\x20\x20\x20Rhj\x20{\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x209kyWd4W2dFzx3hRThh3j\x20=\x209kyWd4W.4H9kR(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20zhkGkd7W443GW\x20=\x20JetO.H3h4W(3RzQ(9kyWd4W2dFzx3hRThh3j[b]));\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(!zhkGkd7W443GW.Yn)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zhkGkd7W443GW.Yn\x20=\x20OYmQWh(9kyWd4W2dFzx3hRThh3j[w]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20k4fzh6Wh\x20=\x20RjHWzF\x20fzh6Whg9zQ39eyzHW\x20!==\x20\x27YdnWFkdWn\x27\x20&&\x204W9F\x20kd4R3dyWzF\x20fzh6Whg9zQ39eyzHW;\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20yzdRW8R\x20=\x20k4fzh6Wh\x20?\x204W9F\x20:\x200kdnz0;\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20mW443GWfzhn\x20=\x20yzdRW8R.__M34Waw__.H3h4W(9kyWd4W2dFzx3hRThh3j[b]);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20mW443GW\x20=\x20yzdRW8R.__PW8__.4RhkdGkFj(mW443GWfzhn);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x204kGd3RYhWfzhn\x20=\x20yzdRW8R.__M34Waw__.H3h4W(9kyWd4W2dFzx3hRThh3j[U]);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x204kGd3RYhW\x20=\x20yzdRW8R.__PW8__.4RhkdGkFj(4kGd3RYhWfzhn);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x204kGdZ39kn\x20=\x20yzdRW8R.__uWhkFj__(4kGd3RYhW,\x20mW443GW,\x20HYQ9kyEWj);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20nzm3kd\x20=\x20zhkGkd7W443GW.nm;\x20\x20\x20\x20\x20\x20\x20\x20FYdyRkzd\x20k4Bzm3kd73RyqkdG(zx3RRWhd,\x20zPz4R)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20H3RRWhd\x20=\x20zx3RRWhd.hWH93yW(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20qz4R\x20=\x20zPz4R.hWH93yW(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20H3RRWhdx3hR4\x20=\x20H3RRWhd.4H9kR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20qz4Rx3hR4\x20=\x20qz4R.4H9kR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(!H3RRWhd.kdy9YnW4(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20H3RRWhd\x20===\x20qz4R;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(H3RRWhdx3hR4.9WdGRq\x20<\x20b\x20||\x20H3RRWhdx3hR4[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20F394W;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20H3RRWhdeYFFk8\x20=\x20H3RRWhdx3hR4.49kyW(L).Dzkd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20qz4ReYFFk8\x20=\x20qz4Rx3hR4.49kyW(-H3RRWhdx3hR4.9WdGRq\x20+\x20L).Dzkd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20H3RRWhdeYFFk8\x20===\x20qz4ReYFFk8;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209WR\x20nzm3kdZ39kn\x20=\x20(nzm3kd\x20&&\x20nzm3kd.9WdGRq)\x20?\x20nzm3kd.4zmW((nm2RWm)\x20=>\x20k4Bzm3kd73RyqkdG(nm2RWm,\x209zy3Rkzd.qz4Rd3mW))\x20:\x20RhYW;\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(9zy3Rkzd.qz4Rd3mW\x20===\x20\x279zy39qz4R\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nzm3kdZ39kn\x20=\x20RhYW;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20u39kn\x20=\x204kGdZ39kn\x20&&\x20nzm3kdZ39kn;\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u39kn,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mW443GW:\x20zhkGkd7W443GW,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20y3Ryq\x20(Whhzh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u39kn:\x20F394W,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mW443GW:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ro={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},lo={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x3ec),'handler':()=>!0x0},Dt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x3b9),'handler':()=>!0x0},co={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x28d),'handler':()=>!0x0},uo={'type':_0x5158ca['MUTATION'],'id':_0x1a4bb1(0x400),'handler':()=>!0x0},Ri=_0x175ec9=>{const _0x13bbc2=_0x1a4bb1;var _0x3f70c4;return((_0x3f70c4=_0x175ec9[_0x13bbc2(0x25a)])==null?void 0x0:_0x3f70c4['dataStream'][_0x13bbc2(0x36f)](/\r\n$/,''))||'';};class wi extends _0x1a1803{constructor(_0x4caa61,_0x3cee01){const _0x538d4e=_0x1a4bb1;super(),V(this,'rangeKeyMap',{}),V(this,'_univerInstanceService'),V(this,_0x538d4e(0x3fe)),(this[_0x538d4e(0x41d)]=_0x3cee01,this[_0x538d4e(0x3fe)]=_0x4caa61);}[_0x1a4bb1(0x32f)](){const _0x440e76=_0x1a4bb1;for(const _0x5df272 in this[_0x440e76(0x234)]){const _0xfc1518=this[_0x440e76(0x234)][_0x5df272],_0x25b51d=_0xfc1518['getRangeKey']();this[_0x440e76(0x227)][_0x25b51d]=_0xfc1518['getId']();}}[_0x1a4bb1(0x295)](){const _0x51640d=_0x1a4bb1,_0x319510=this[_0x51640d(0x3fe)];return xi[_0x51640d(0x2cc)](_0x319510);}['deleteDataField'](_0x28209a){const _0x12e3ac=_0x1a4bb1,_0x1902b2=this[_0x12e3ac(0x234)][_0x28209a]['rangeKey'];delete this['dataFields'][_0x28209a],delete this[_0x12e3ac(0x227)][_0x1902b2];}['addDataFieldWithoutUnitInfo'](_0x237aee){const _0x2c4a97=_0x1a4bb1;this['dataFields'][_0x237aee[_0x2c4a97(0x272)]()]=_0x237aee;}[_0x1a4bb1(0x260)](_0x59b295){const _0x4b7bcd=_0x1a4bb1;var _0x3cdac6,_0xef3033;const _0x88161e=this[_0x4b7bcd(0x3fe)][_0x4b7bcd(0x320)](_0x59b295);if(_0x88161e){const {unitId:_0x4d4fed,subUnitId:_0x52c1ab}=_0x88161e,_0x4f4274=(_0x3cdac6=this[_0x4b7bcd(0x3fe)]['getPivotTableConfig'](_0x4d4fed,_0x52c1ab,_0x59b295))==null?void 0x0:_0x3cdac6[_0x4b7bcd(0x2d2)];this[_0x4b7bcd(0x3fe)][_0x4b7bcd(0x2d4)]({'token':_0x59b295,'type':Le[_0x4b7bcd(0x3e5)],'dataRangeInfo':_0x4f4274});}(_0xef3033=this['getCollection'](_0x59b295))==null||_0xef3033[_0x4b7bcd(0x32a)](),delete this[_0x4b7bcd(0x1d8)][_0x59b295];}['getRangeKey'](_0x1142bd,_0x422b96){const {sheetName:_0x437496,unitId:_0x4e3972,range:_0x568e0f}=_0x1142bd,{startRow:_0x157856,endRow:_0x4c655b}=_0x568e0f;return _0x1ec178(_0x4e3972,_0x437496,{'startRow':_0x157856,'endRow':_0x4c655b,'startColumn':_0x422b96,'endColumn':_0x422b96});}['getDataFieldByRangeKey'](_0x1fd61a){const _0x155ea6=_0x1a4bb1;return this['dataFields'][this[_0x155ea6(0x227)][_0x1fd61a]];}[_0x1a4bb1(0x41a)](_0x4cd3cc,_0xe07063){const _0x51a025=_0x1a4bb1;this[_0x51a025(0x227)][_0x4cd3cc]=_0xe07063;}['updateRangeKeyMap'](_0x1554f4,_0x5b24ea){const _0x2e4ba5=_0x1a4bb1;this[_0x2e4ba5(0x227)][_0x5b24ea]=this[_0x2e4ba5(0x227)][_0x1554f4],delete this[_0x2e4ba5(0x227)][_0x1554f4];}[_0x1a4bb1(0x21a)](_0x11c6c7,_0x1c1717,_0x21034d,_0xf4d6f0){const _0x11b3e6=_0x1a4bb1,_0x3a05ba=new _0xfc14f0(this);_0x3a05ba[_0x11b3e6(0x2d8)](_0x1c1717);const _0x4c1f5c=[];let _0x2d2944=0x0;for(const _0x312cc8 of _0x3a05ba[_0x11b3e6(0x40e)]){const _0x1f6924=this[_0x11b3e6(0x299)](_0x21034d,_0x2d2944),_0x18f3c0=this[_0x11b3e6(0x234)][_0x312cc8];_0x18f3c0&&(_0x18f3c0['rangeKey']=_0x1f6924,this[_0x11b3e6(0x41a)](_0x1f6924,_0x312cc8),_0x4c1f5c[_0x11b3e6(0x3ea)]({'index':_0x2d2944,'dataField':_0x18f3c0})),_0x2d2944++;}return this[_0x11b3e6(0x423)](_0x11c6c7,_0x3a05ba,_0x21034d,_0xf4d6f0),{'collection':_0x3a05ba,'updateDataFieldList':_0x4c1f5c};}[_0x1a4bb1(0x43d)](_0x4889ea,_0x1fde4a){const _0x377786=_0x1a4bb1;return _0x4889ea[_0x377786(0x3e0)]===_0x3c7dce['COLUMN']?{'startRow':0x0,'startColumn':_0x4889ea['startColumn'],'endRow':_0x1fde4a[_0x377786(0x342)]()-0x1,'endColumn':_0x4889ea['endColumn']}:{'startRow':_0x4889ea[_0x377786(0x296)],'startColumn':_0x4889ea[_0x377786(0x3df)],'endRow':_0x4889ea[_0x377786(0x417)],'endColumn':_0x4889ea[_0x377786(0x1fe)]};}['createCollectionWithDataRange'](_0x2a85e5){const _0x45f2f7=_0x1a4bb1,{sheetName:_0x555ec9,range:_0x5542bd}=_0x2a85e5,_0x300bd7=this['_univerInstanceService'][_0x45f2f7(0x33a)](_0x47d004[_0x45f2f7(0x3de)]),_0xc97506=_0x300bd7['getSheetBySheetName'](_0x555ec9),_0x3b96b2=_0xc97506[_0x45f2f7(0x3bc)](),{startColumn:_0x4dbb7a,startRow:_0x2cf986,endColumn:_0x3fd781}=this['getRangeStartEndInfo'](_0x5542bd,_0xc97506),_0x2e36cc=_0x300bd7[_0x45f2f7(0x42d)](),_0x53512d=new _0xfc14f0(this);_0x53512d['setRange'](_0x2a85e5);const _0x4503b9=[],_0x94854c={};for(let _0x42f48a=_0x4dbb7a;_0x42f48a<=_0x3fd781;_0x42f48a++){const _0xdcc16=_0x3b96b2['getValue'](_0x2cf986,_0x42f48a),_0x23a068=this[_0x45f2f7(0x299)](_0x2a85e5,_0x42f48a),_0x54cfe5=this[_0x45f2f7(0x3f5)](_0x23a068);if(_0x54cfe5)_0x53512d['addField'](_0x54cfe5[_0x45f2f7(0x272)](),_0x54cfe5['getName']());else{const _0x58f99c=this[_0x45f2f7(0x240)]();let _0x283074=this[_0x45f2f7(0x31e)](_0xdcc16,_0x2e36cc,_0x94854c);_0x51f8a3(_0x283074)&&(_0x283074=_0x48470d[_0x45f2f7(0x2b9)](_0x283074['f'],Number(_0x283074['v'])));const _0x19861f=this['uniqueDataFieldName'](_0x283074,_0x42f48a),_0x224059=new _0x38d140(_0x58f99c,_0x19861f,_0x2cc304(0x3));_0x224059[_0x45f2f7(0x440)]=_0x23a068,this[_0x45f2f7(0x234)][_0x58f99c]=_0x224059,_0x53512d[_0x45f2f7(0x34f)](_0x58f99c,_0x19861f),_0x4503b9[_0x45f2f7(0x3ea)]({'index':_0x42f48a,'dataField':_0x224059});}}return{'updateDataFieldList':_0x4503b9,'collection':_0x53512d};}[_0x1a4bb1(0x2ae)](_0x356a90){const _0x411d84=_0x1a4bb1;return this['_host'][_0x411d84(0x436)]()[_0x411d84(0x42b)]+'\x20'+_0x1a93f2(_0x356a90);}[_0x1a4bb1(0x446)](_0x135139,_0x3683fa){const _0x2d3fdb=_0x1a4bb1;return _0x135139==null||_0x135139===''?this[_0x2d3fdb(0x2ae)](_0x3683fa):String(_0x135139);}['getCollection'](_0x1a3fe0){const _0x430c76=_0x1a4bb1;return this[_0x430c76(0x1d8)][_0x1a3fe0];}[_0x1a4bb1(0x423)](_0x5b3998,_0x54ab92,_0x3075e6,_0x4f2f5a){const _0x17d9d7=_0x1a4bb1;this[_0x17d9d7(0x1d8)][_0x5b3998]=_0x54ab92,_0x54ab92[_0x17d9d7(0x41f)](_0x3075e6),this[_0x17d9d7(0x3fe)][_0x17d9d7(0x2d4)]({'token':_0x5b3998,'type':Le[_0x17d9d7(0x3ef)],'dataRangeInfo':_0x3075e6,'targetCellInfo':_0x4f2f5a});}[_0x1a4bb1(0x233)](_0x5e6568,_0x22bd1a){const _0x471405=_0x1a4bb1,_0x43502f=this[_0x471405(0x2f4)](_0x5e6568),_0x68396f=_0x43502f[_0x471405(0x2f9)]();let _0x1dd4c1=0x0;for(const _0x461031 of _0x68396f){const _0x4429e8=_0x43502f[_0x471405(0x1d3)](_0x461031),_0x57a0ba=this[_0x471405(0x299)](_0x22bd1a,_0x1dd4c1);this[_0x471405(0x1f4)](_0x4429e8[_0x471405(0x440)],_0x57a0ba),_0x1dd4c1++;}}[_0x1a4bb1(0x2a4)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x1a4bb1(0x297)](_0x4c3ead,_0x2c4941){const _0x2f6d2f=_0x1a4bb1;if(this[_0x2f6d2f(0x2f4)](_0x4c3ead)){const _0x16f3d2=this[_0x2f6d2f(0x2cf)](_0x2c4941),_0xc0c96f=[];for(const _0x5c24b2 of _0x16f3d2)this[_0x2f6d2f(0x227)][_0x5c24b2]!==void 0x0&&_0xc0c96f[_0x2f6d2f(0x3ea)](this['rangeKeyMap'][_0x5c24b2]);const _0x29fd0b=this['getNoUsedDataFieldIds'](_0x4c3ead),_0x388d74=[],_0x3ebf95=new Set(_0xc0c96f);for(const _0x25fd60 of _0x29fd0b)_0x3ebf95['has'](_0x25fd60)||_0x388d74[_0x2f6d2f(0x3ea)](_0x25fd60);return _0x388d74;}}[_0x1a4bb1(0x27c)](_0x13f1c8,_0x5ba83f,_0x2dd2c7,_0x2f1549,_0x6fb776){const _0x273fdc=_0x1a4bb1;return _0x5ba83f&&_0x5ba83f[_0x273fdc(0x2fc)](_0x2f1549,_0x6fb776)?_0x5ba83f[_0x273fdc(0x2fc)](_0x2f1549,_0x6fb776):_0x2dd2c7&&_0x2dd2c7['getValue'](_0x2f1549,_0x6fb776)?_0x2dd2c7[_0x273fdc(0x2fc)](_0x2f1549,_0x6fb776):_0x13f1c8[_0x273fdc(0x2fc)](_0x2f1549,_0x6fb776);}[_0x1a4bb1(0x212)](_0x166229,_0x25adbb,_0x5b249b,_0x1201ab){const _0x435e1b=_0x1a4bb1,_0x3daed0=this[_0x435e1b(0x234)][_0x166229];if(!_0x3daed0)return;const {subUnitId:_0xff7857,range:_0xf829ac,unitId:_0x205c32}=_0x25adbb,_0x213b2b=this[_0x435e1b(0x41d)]['getUnit'](_0x205c32);if(!_0x213b2b){console[_0x435e1b(0x3f1)](_0x435e1b(0x1ed));return;}const _0x20606f=_0x213b2b[_0x435e1b(0x397)](_0xff7857),_0x2f04ed=_0x20606f[_0x435e1b(0x3bc)](),{arrayFormulaCellDataMatrix:_0x1275e6,unitDataMatrix:_0x5467e5}=_0x1201ab||{},{startRow:_0x3d24b5,startColumn:_0x4e72da,endRow:_0x2e5c90}=this[_0x435e1b(0x43d)](_0xf829ac,_0x20606f);_0x3daed0['reset']();const _0x300f91=_0x213b2b[_0x435e1b(0x42d)](),_0x2c7cca={},_0x331205=this[_0x435e1b(0x27c)](_0x2f04ed,_0x1275e6,_0x5467e5,_0x3d24b5,_0x4e72da+_0x5b249b);let _0x1f5f6b=this[_0x435e1b(0x31e)](_0x331205,_0x300f91,_0x2c7cca);_0x51f8a3(_0x1f5f6b)&&(_0x1f5f6b=_0x48470d[_0x435e1b(0x2b9)](_0x1f5f6b['f'],Number(_0x1f5f6b['v'])));const _0x3fb458=this[_0x435e1b(0x446)](_0x1f5f6b,_0x4e72da+_0x5b249b);_0x3daed0[_0x435e1b(0x3c2)](_0x3fb458);for(let _0x3e3610=_0x3d24b5+0x1;_0x3e3610<=_0x2e5c90;_0x3e3610++){const _0x5370b6=this['getMatrixValue'](_0x2f04ed,_0x1275e6,_0x5467e5,_0x3e3610,_0x4e72da+_0x5b249b);_0x3daed0[_0x435e1b(0x334)](this[_0x435e1b(0x31e)](_0x5370b6,_0x300f91,_0x2c7cca),_0x3e3610-0x1-_0x3d24b5);}}[_0x1a4bb1(0x374)](_0x2b2bbd,_0x1a1823,_0x272d95){const _0x3e7c8b=_0x1a4bb1,{subUnitId:_0x3afedd,range:_0x20363f,unitId:_0xe858ab}=_0x272d95,_0x46163e=this[_0x3e7c8b(0x41d)][_0x3e7c8b(0x228)](_0xe858ab);if(!_0x46163e){console['error'](_0x3e7c8b(0x1ed));return;}const _0x25f929=_0x46163e[_0x3e7c8b(0x397)](_0x3afedd),_0x2762f6=_0x25f929[_0x3e7c8b(0x3bc)](),{startRow:_0x21f2de,startColumn:_0x22905b,endRow:_0x5df645}=this['getRangeStartEndInfo'](_0x20363f,_0x25f929),_0x230c74=_0x46163e['getStyles'](),_0x4e63d1={};for(const {dataField:_0x17786d,index:_0x23b776}of _0x1a1823){_0x17786d[_0x3e7c8b(0x267)]();const _0x4a5d2=this['getMatrixValue'](_0x2762f6,void 0x0,void 0x0,_0x21f2de,_0x22905b+_0x23b776);let _0x4d2854=this[_0x3e7c8b(0x31e)](_0x4a5d2,_0x230c74,_0x4e63d1);_0x51f8a3(_0x4d2854)&&(_0x4d2854=_0x48470d[_0x3e7c8b(0x2b9)](_0x4d2854['f'],Number(_0x4d2854['v'])));const _0x198d15=this[_0x3e7c8b(0x446)](_0x4d2854,_0x22905b+_0x23b776);_0x17786d[_0x3e7c8b(0x3c2)](_0x198d15);}_0x2b2bbd[_0x3e7c8b(0x275)]();for(let _0x2bc0b8=_0x21f2de+0x1;_0x2bc0b8<=_0x5df645;_0x2bc0b8++)for(const {index:_0x21c49b,dataField:_0x1dde9b}of _0x1a1823){const _0x4051f5=_0x2762f6[_0x3e7c8b(0x2fc)](_0x2bc0b8,_0x22905b+_0x21c49b);_0x1dde9b[_0x3e7c8b(0x334)](this[_0x3e7c8b(0x31e)](_0x4051f5,_0x230c74,_0x4e63d1),_0x2bc0b8-0x1-_0x21f2de);}_0x2b2bbd[_0x3e7c8b(0x3e4)](_0x5df645-_0x21f2de);}['getRangeKeyList'](_0x3e2273){const _0x4f8042=_0x1a4bb1,{range:_0x2288f2}=_0x3e2273,{startColumn:_0x29b373,endColumn:_0x247ef9}=_0x2288f2,_0x4c606d=[];for(let _0x46a7cc=_0x29b373;_0x46a7cc<=_0x247ef9;_0x46a7cc++)_0x4c606d['push'](this[_0x4f8042(0x299)](_0x3e2273,_0x46a7cc));return _0x4c606d;}[_0x1a4bb1(0x31e)](_0x4e569f,_0xcd2a02,_0x1a8599){const _0x151dfb=_0x1a4bb1;if(_0x4e569f){const {s:_0x2cf734,v:_0x24ca3e,t:_0x13a997,p:_0x3e8571}=_0x4e569f;if(_0x3e8571)return Ri(_0x3e8571);const _0x7603aa=_0xcd2a02['get'](_0x2cf734);if(_0x7603aa&&_0x13a997===_0x335ccc[_0x151dfb(0x30a)]&&_0x7603aa['n']){const {pattern:_0x206ddf}=_0x7603aa['n'];_0x1a8599[_0x206ddf]||(_0x1a8599[_0x206ddf]=_0x48470d[_0x151dfb(0x1f5)](_0x206ddf));const _0x53124a=_0x1a8599[_0x206ddf],_0x1e8cfa=_0x53124a[_0x151dfb(0x211)];if(_0x53124a['isText'])return String(_0x24ca3e);if(_0x1e8cfa)return{'v':_0x24ca3e,'f':_0x206ddf};}if(_0x13a997===_0x335ccc[_0x151dfb(0x30a)])return Number(_0x24ca3e);if(_0x13a997===_0x335ccc[_0x151dfb(0x3ad)]||_0x13a997===_0x335ccc[_0x151dfb(0x37e)])return String(_0x24ca3e);if(_0x13a997===void 0x0){const _0x10d938=Number(_0x24ca3e);if(!Number['isNaN'](_0x10d938)&&String(_0x10d938)===_0x24ca3e)return _0x10d938;}return _0x24ca3e!=null?_0x24ca3e:null;}else return null;}[_0x1a4bb1(0x327)](_0x2aeb69){const _0x1c1968=_0x1a4bb1,{sheetName:_0x1ed214,range:_0x4c7a0d,unitId:_0x9ea766}=_0x2aeb69,_0x3f50e0=this[_0x1c1968(0x41d)]['getUnit'](_0x9ea766);if(!_0x3f50e0)return console['error'](_0x1c1968(0x1ed)),{'header':[],'data':[]};const _0x547c5f=_0x3f50e0[_0x1c1968(0x33d)](_0x1ed214),_0x5e6e74=_0x547c5f['getCellMatrix'](),{startRow:_0x34a805,startColumn:_0xea9491,endRow:_0x167a68,endColumn:_0x514d78}=this[_0x1c1968(0x43d)](_0x4c7a0d,_0x547c5f),_0x274b4d=_0x3f50e0[_0x1c1968(0x42d)](),_0x16a87f=[],_0x38396a=[],_0x12e561={};for(let _0x418932=_0x34a805;_0x418932<=_0x167a68;_0x418932++){const _0x58f1e7=[];for(let _0x3cee2d=_0xea9491;_0x3cee2d<=_0x514d78;_0x3cee2d++){const _0x438fc6=_0x5e6e74[_0x1c1968(0x2fc)](_0x418932,_0x3cee2d);_0x418932===_0x34a805?_0x16a87f[_0x1c1968(0x3ea)](_0x438fc6==null?null:String(_0x438fc6['v'])):_0x58f1e7[_0x1c1968(0x3ea)](this[_0x1c1968(0x31e)](_0x438fc6,_0x274b4d,_0x12e561));}_0x38396a[_0x1c1968(0x3ea)](_0x58f1e7);}return{'header':_0x16a87f,'data':_0x38396a};}[_0x1a4bb1(0x3b3)](){const _0x1774b0=_0x1a4bb1;return super[_0x1774b0(0x3b3)]();}[_0x1a4bb1(0x2d8)](_0x4e49c2){const _0x20044f=_0x1a4bb1;super[_0x20044f(0x2d8)](_0x4e49c2),this[_0x20044f(0x32f)]();}[_0x1a4bb1(0x32a)](){const _0x5a5794=_0x1a4bb1;super[_0x5a5794(0x32a)](),this[_0x5a5794(0x227)]={},this[_0x5a5794(0x3fe)]=null;}}const _i=_0x5f31da=>{const _0xd363ca=_0x1a4bb1,{targetCellInfo:_0xd8eb36}=_0x5f31da,{matrixCache:_0x2a875d,rangesCache:_0x4fb45b}=jo({'filter':_0xd363ca(0x39a),'row':_0xd363ca(0x3f4),'column':_0xd363ca(0x418),'values':'Values'},_0xd8eb36),_0x3ad04d=new _0x18ce59();return _0x2a875d[_0xd363ca(0x2c1)]((_0x58379f,_0x3ae04f,_0x4b3fc2)=>{const _0x3f3577=_0xd363ca;_0x3ad04d[_0x3f3577(0x22a)](_0x58379f,_0x3ae04f,_0x4b3fc2);}),{'matrix':_0x3ad04d,'rangesCache':_0x4fb45b};},st=_0x7b9b27=>{const _0x321d5e=_0x1a4bb1;let _0x25b1a4;if(_0x7b9b27!=null&&_0x7b9b27['v']||(_0x7b9b27==null?void 0x0:_0x7b9b27['v'])===0x0){_0x25b1a4||(_0x25b1a4={});const _0x4506d0=Bo(_0x7b9b27['v']);typeof _0x4506d0=='number'?_0x25b1a4['t']=_0x335ccc['NUMBER']:typeof _0x4506d0==_0x321d5e(0x406)&&(_0x25b1a4['t']=_0x335ccc[_0x321d5e(0x3ad)]),_0x25b1a4['v']=_0x4506d0;}return _0x25b1a4;},Fi=(_0x33e9f3,_0x3abdb3,_0x4f28ea)=>{const _0x4207ce=_0x1a4bb1;var _0xbbffc9,_0x2b4d04,_0x5ca049,_0x1654bc,_0x445402,_0x31c164,_0x5cc391,_0x2e9694,_0x2173f1,_0x3aeb79,_0x2dcb92,_0x4c918c;const {cornerView:_0x172020,rowView:_0x4a59bb,colView:_0xf50bc,dataView:_0x448402,pageView:_0x1af4eb,formatMap:_0x544ea2}=_0x33e9f3,{row:_0x1ca36c,col:_0x125412}=_0x3abdb3,_0x4791b8=new _0x18ce59();let _0x254265=_0x1ca36c,_0x1fcae0=_0x125412;Object[_0x4207ce(0x37f)](_0x1af4eb[_0x4207ce(0x2ea)])['forEach'](_0x23e8f7=>{const _0x32093f=_0x4207ce;Object[_0x32093f(0x37f)](_0x1af4eb[_0x32093f(0x2ea)][Number(_0x23e8f7)])[_0x32093f(0x34b)](_0x36b9c7=>{const _0x5cdced={..._0x1af4eb['data'][Number(_0x23e8f7)][Number(_0x36b9c7)]};_0x4791b8['setValue'](Number(_0x23e8f7)+_0x254265,Number(_0x36b9c7)+_0x1fcae0,st(_0x5cdced));});});const _0x29e3f1=Object[_0x4207ce(0x37f)](_0x1af4eb['data'])['length'];_0x254265+=_0x29e3f1+(_0x29e3f1?It:0x0);const _0x1b6d9b=_0x172020['getRowCount'](),_0x1fb5f3=_0x172020[_0x4207ce(0x25e)]();for(let _0x49bca9=0x0;_0x49bca9<_0x1b6d9b;_0x49bca9++)for(let _0x5a8863=0x0;_0x5a8863<_0x1fb5f3;_0x5a8863++){const _0x481fbb={...(_0x2b4d04=(_0xbbffc9=_0x172020[_0x4207ce(0x2ea)])==null?void 0x0:_0xbbffc9[_0x49bca9])==null?void 0x0:_0x2b4d04[_0x5a8863]};_0x481fbb&&((_0x5ca049=_0x4a59bb[_0x4207ce(0x246)][_0x5a8863])!=null&&_0x5ca049[_0x4207ce(0x27e)])&&_0x5a8863===_0x1fb5f3-0x1&&_0x49bca9===_0x1b6d9b-0x1&&(_0x481fbb['v']=''+_0x4f28ea[_0x4207ce(0x3f0)]),_0x4791b8[_0x4207ce(0x22a)](_0x49bca9+_0x254265,_0x5a8863+_0x1fcae0,st(_0x481fbb));}_0x1fcae0+=_0x1fb5f3;const _0x53f144=_0xf50bc['headerMap'],_0x4cb197=_0xf50bc['getLastRow']()>=0x0?_0xf50bc['getLastRow']()+0x1:0x0,_0x21d202=_0xf50bc['getLastCol']()>=0x0?_0xf50bc['getLastCol']()+0x1:0x0;for(let _0x42f322=0x0;_0x42f322<_0x21d202;_0x42f322++)for(let _0x364b04=0x0;_0x364b04<_0x4cb197;_0x364b04++){const _0x3deef2={...(_0x445402=(_0x1654bc=_0xf50bc[_0x4207ce(0x2ea)])==null?void 0x0:_0x1654bc[_0x42f322])==null?void 0x0:_0x445402[_0x364b04]},_0x229ba9=(_0x31c164=_0x53f144[_0x42f322])==null?void 0x0:_0x31c164[_0x4207ce(0x380)],_0x1c9163=_0x544ea2[_0x229ba9];_0x3deef2&&(_0x3deef2['v']=vt(_0x3deef2,_0x42f322===0x0&&((_0x5cc391=_0xf50bc[_0x4207ce(0x421)](_0x364b04+0x1))==null?void 0x0:_0x5cc391['isValue']),_0x1c9163,_0x4f28ea)),_0x4791b8[_0x4207ce(0x22a)](_0x42f322+_0x254265,_0x364b04+_0x1fcae0,st(_0x3deef2));}_0x254265+=_0x1b6d9b;const _0x22ebf1=_0x4a59bb['headerMap'],_0x3a13c3=_0x4a59bb[_0x4207ce(0x231)]()>=0x0?_0x4a59bb['getLastRow']()+0x1:0x0,_0x408171=_0x4a59bb[_0x4207ce(0x430)]()>=0x0?_0x4a59bb['getLastCol']()+0x1:0x0;for(let _0x4a358a=0x0;_0x4a358a<_0x3a13c3;_0x4a358a++)for(let _0x84762a=0x0;_0x84762a<_0x408171;_0x84762a++){const _0x970324={...(_0x2173f1=(_0x2e9694=_0x4a59bb['data'])==null?void 0x0:_0x2e9694[_0x4a358a])==null?void 0x0:_0x2173f1[_0x84762a]},_0x1979b1=(_0x3aeb79=_0x22ebf1[_0x84762a])==null?void 0x0:_0x3aeb79[_0x4207ce(0x380)],_0x537f6b=_0x544ea2[_0x1979b1];_0x970324&&(_0x970324['v']=vt(_0x970324,!0x1,_0x537f6b,_0x4f28ea)),_0x4791b8[_0x4207ce(0x22a)](_0x4a358a+_0x254265,_0x84762a+_0x125412,st(_0x970324));}const _0x5bd5e1=_0x448402[_0x4207ce(0x342)](),_0x2fd7f2=_0x448402[_0x4207ce(0x25e)]();for(let _0x52a9dd=0x0;_0x52a9dd<_0x5bd5e1;_0x52a9dd++)for(let _0x7d1909=0x0;_0x7d1909<_0x2fd7f2;_0x7d1909++){const _0x9e527c={...(_0x4c918c=(_0x2dcb92=_0x448402['data'])==null?void 0x0:_0x2dcb92[_0x52a9dd])==null?void 0x0:_0x4c918c[_0x7d1909]};_0x4791b8[_0x4207ce(0x22a)](_0x52a9dd+_0x254265,_0x7d1909+_0x1fcae0,st(_0x9e527c));}return _0x4791b8;},Di=_0x1800b1=>{const _0x2a704f=_0x1a4bb1,{view:_0x167322,targetCellInfo:_0x49523b,isEmpty:_0x6661de,textInfo:_0x528447}=_0x1800b1;if(_0x6661de)return _i(_0x1800b1);const {pageView:_0x1b91c8,cornerView:_0x5d8ae5,rowView:_0x22d6e8,colView:_0x35f7ce,dataView:_0x4268fc}=_0x167322,_0x3b10a7=ge(_0x49523b,_0x1b91c8,!0x0),_0x2394a0=_0x1b91c8[_0x2a704f(0x1e4)]>=0x0?_0x1b91c8[_0x2a704f(0x1e4)]+0x1:0x0,_0xbf0959=_0x5d8ae5[_0x2a704f(0x342)](),_0x1f3527=_0x5d8ae5['getColCount'](),_0x14bb10=_0x3b10a7['length']>0x0?It:0x0,_0x35215b=ge({'row':_0x49523b['row']+_0x2394a0+_0x14bb10,'col':_0x49523b['col']},_0x5d8ae5,!0x1,!0x1),_0x1323e4=ge({'row':_0x49523b[_0x2a704f(0x3dc)]+_0x2394a0+_0x14bb10+_0xbf0959,'col':_0x49523b[_0x2a704f(0x24a)]},_0x22d6e8,!0x1,!0x0),_0x3a77ff=ge({'row':_0x49523b[_0x2a704f(0x3dc)]+_0x2394a0+_0x14bb10,'col':_0x49523b['col']+_0x1f3527},_0x35f7ce,!0x1,!0x0),_0x5553cd=ge({'row':_0x49523b[_0x2a704f(0x3dc)]+_0x2394a0+_0x14bb10+_0xbf0959,'col':_0x49523b[_0x2a704f(0x24a)]+_0x1f3527},_0x4268fc,!0x1,!0x1),_0x788f9f={'rowRanges':_0x1323e4,'colRanges':_0x3a77ff,'cornerRanges':_0x35215b,'dataRanges':_0x5553cd,'pageRanges':_0x3b10a7};return{'matrix':Fi(_0x167322,_0x49523b,_0x528447),'rangesCache':_0x788f9f};};var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x11c9ea,_0x4d4beb,_0x49908f,_0x580940)=>{const _0xab2cc3=_0x1a4bb1;for(var _0x41f20a=_0x580940>0x1?void 0x0:_0x580940?Ni(_0x4d4beb,_0x49908f):_0x4d4beb,_0x4d484f=_0x11c9ea[_0xab2cc3(0x2ac)]-0x1,_0x18f16a;_0x4d484f>=0x0;_0x4d484f--)(_0x18f16a=_0x11c9ea[_0x4d484f])&&(_0x41f20a=_0x18f16a(_0x41f20a)||_0x41f20a);return _0x41f20a;},Je=(_0x25083d,_0x17de3d)=>(_0x527a6a,_0x47215e)=>_0x17de3d(_0x527a6a,_0x47215e,_0x25083d);let G=class extends _0x36ff7f{constructor(_0x310413,_0x2dd68c,_0x803050,_0x26b0e2,_0x3a2de1,_0x42a8be){const _0x4f9de0=_0x1a4bb1;super(),V(this,'_model',new Map()),V(this,_0x4f9de0(0x355),new Map()),V(this,_0x4f9de0(0x2e7),new Map()),V(this,_0x4f9de0(0x42e)),V(this,_0x4f9de0(0x2d9),new _0x55f0e1()),V(this,'collectionChange$',this['_collectionChange$'][_0x4f9de0(0x3b0)]()),V(this,_0x4f9de0(0x26b),new _0x55f0e1()),V(this,'viewData$',this[_0x4f9de0(0x26b)]['asObservable']()),V(this,'_fieldsCollectionChange$',new _0x55f0e1()),V(this,_0x4f9de0(0x340),this[_0x4f9de0(0x335)][_0x4f9de0(0x3b0)]()),V(this,_0x4f9de0(0x314),new Map()),V(this,_0x4f9de0(0x3c9),[]),V(this,'_queryingMap',new Map()),(this[_0x4f9de0(0x2a1)]=_0x310413,this[_0x4f9de0(0x41d)]=_0x2dd68c,this[_0x4f9de0(0x2b5)]=_0x803050,this['_configService']=_0x26b0e2,this[_0x4f9de0(0x2ff)]=_0x3a2de1,this[_0x4f9de0(0x2ec)]=_0x42a8be,this[_0x4f9de0(0x3da)]());}[_0x1a4bb1(0x436)](){const _0x5004eb=_0x1a4bb1;return this[_0x5004eb(0x42e)]?this[_0x5004eb(0x42e)]:Mi;}[_0x1a4bb1(0x40c)](_0xbad1c3){const _0x316eee=_0x1a4bb1;this[_0x316eee(0x42e)]=_0xbad1c3;}[_0x1a4bb1(0x233)](_0x2c6260){const _0x12c542=_0x1a4bb1;var _0x551b09;const {from:_0x1515a5,to:_0x1fe9ae,unitId:_0x31c3f3,fromRange:_0x898acf,toRange:_0x3cb197}=_0x2c6260;if(_0x1515a5&&_0x1fe9ae){const _0x22dff4=this['getDataFieldManager'](_0x31c3f3),_0x1d39de=this[_0x12c542(0x253)][_0x12c542(0x39e)](_0x31c3f3),_0x430967=(_0x551b09=this['_univerInstanceService'][_0x12c542(0x228)](_0x31c3f3))==null?void 0x0:_0x551b09[_0x12c542(0x397)](_0x1fe9ae[_0x12c542(0x386)]);if(!_0x1d39de||!_0x430967)return;const _0x13eaae=_0x430967==null?void 0x0:_0x430967['getName']();for(const [_0x1269e3,_0x3dd520]of _0x1d39de['entries']())for(const [_0x5cd248,_0x13d7bc]of _0x3dd520[_0x12c542(0x1e1)]()){const {sourceRangeInfo:_0x4607db}=_0x13d7bc;if(_0x4607db[_0x12c542(0x3c4)]===_0x31c3f3&&_0x4607db['subUnitId']===_0x1515a5[_0x12c542(0x386)]&&_0x41833c[_0x12c542(0x2bf)](_0x898acf,_0x4607db[_0x12c542(0x286)])){const _0x507157={'row':_0x4607db['range'][_0x12c542(0x296)]-_0x898acf[_0x12c542(0x296)],'col':_0x4607db[_0x12c542(0x286)][_0x12c542(0x3df)]-_0x898acf[_0x12c542(0x3df)]},_0x2f68a2={'unitId':_0x31c3f3,'subUnitId':_0x1fe9ae[_0x12c542(0x386)],'sheetName':_0x13eaae,'range':{'startRow':_0x3cb197[_0x12c542(0x296)]+_0x507157[_0x12c542(0x3dc)],'endRow':_0x3cb197['startRow']+_0x507157[_0x12c542(0x3dc)]+_0x4607db[_0x12c542(0x286)]['endRow']-_0x4607db[_0x12c542(0x286)]['startRow'],'startColumn':_0x3cb197[_0x12c542(0x3df)]+_0x507157[_0x12c542(0x24a)],'endColumn':_0x3cb197['startColumn']+_0x507157['col']+_0x4607db['range'][_0x12c542(0x1fe)]-_0x4607db['range'][_0x12c542(0x3df)]}};_0x22dff4[_0x12c542(0x233)](_0x5cd248,_0x2f68a2);const _0x2dbcea={..._0x13d7bc,'sourceRangeInfo':_0x2f68a2};this['_updateModelCache'](_0x31c3f3,_0x1fe9ae[_0x12c542(0x386)],_0x5cd248,_0x2dbcea),this[_0x12c542(0x2d4)]({'unitId':_0x31c3f3,'token':_0x5cd248,'type':Le[_0x12c542(0x36c)],'oldSourceRangeInfo':_0x4607db,'dataRangeInfo':_0x2f68a2,'targetCellInfo':_0x13d7bc[_0x12c542(0x202)]}),this[_0x12c542(0x3af)]({'unitId':_0x31c3f3,'subUnitId':_0x1fe9ae[_0x12c542(0x386)],'oldSubUnitId':_0x1269e3,'pivotTableId':_0x5cd248,'pivotTableConfig':_0x2dbcea,'collectionConfig':_0x22dff4[_0x12c542(0x3b3)]()});}}}}[_0x1a4bb1(0x2d4)](_0x129d6a){const _0x38a302=_0x1a4bb1;this[_0x38a302(0x2d9)]['next'](_0x129d6a);}['getDataFieldManager'](_0x43bcca){const _0xf1c5cb=_0x1a4bb1;let _0x4ef146=this[_0xf1c5cb(0x314)]['get'](_0x43bcca);return _0x4ef146||(_0x4ef146=new wi(this,this[_0xf1c5cb(0x41d)]),this[_0xf1c5cb(0x314)][_0xf1c5cb(0x1fc)](_0x43bcca,_0x4ef146)),_0x4ef146;}[_0x1a4bb1(0x2f4)](_0x532747,_0x49b1a3){const _0xda5f2f=_0x1a4bb1;return this[_0xda5f2f(0x265)](_0x532747)[_0xda5f2f(0x1d8)][_0x49b1a3];}[_0x1a4bb1(0x297)](_0x5867a6,_0x4ecf60,_0x41396c){const _0x1ab024=_0x1a4bb1;return this['getDataFieldManager'](_0x5867a6)[_0x1ab024(0x297)](_0x4ecf60,_0x41396c);}['_ensurePivotMap'](_0x5d84e8,_0x4ff956){const _0x150885=_0x1a4bb1;let _0x285e0b=this[_0x150885(0x253)][_0x150885(0x39e)](_0x5d84e8);_0x285e0b||(_0x285e0b=new Map(),this['_model'][_0x150885(0x1fc)](_0x5d84e8,_0x285e0b));let _0x2f475e=_0x285e0b[_0x150885(0x39e)](_0x4ff956);return _0x2f475e||(_0x2f475e=new Map(),_0x285e0b['set'](_0x4ff956,_0x2f475e)),_0x2f475e;}[_0x1a4bb1(0x22b)](_0x182b93,_0x382d46,_0x568280,_0x40e530){const _0x5b1408=_0x1a4bb1;this[_0x5b1408(0x439)](_0x182b93,_0x382d46)[_0x5b1408(0x1fc)](_0x568280,_0x40e530);}[_0x1a4bb1(0x1f3)](_0x33d08a,_0x26d026,_0x6c78aa){const _0x1afa98=_0x1a4bb1;var _0x5d7336,_0xacfcdc,_0x3a9311,_0x4dd3af;((_0xacfcdc=(_0x5d7336=this['_model']['get'](_0x33d08a))==null?void 0x0:_0x5d7336[_0x1afa98(0x39e)](_0x26d026))==null?void 0x0:_0xacfcdc['get'](_0x6c78aa))&&((_0x4dd3af=(_0x3a9311=this['_model']['get'](_0x33d08a))==null?void 0x0:_0x3a9311[_0x1afa98(0x39e)](_0x26d026))==null||_0x4dd3af[_0x1afa98(0x3e5)](_0x6c78aa));}[_0x1a4bb1(0x2f0)](_0x3e2dfe,_0xc4dddd){const _0x8d0143=_0x1a4bb1;this[_0x8d0143(0x355)][_0x8d0143(0x1fc)](_0x3e2dfe,_0xc4dddd);}['_deletePivotTableInstanceCache'](_0x3eb4d1){const _0x4f220b=_0x1a4bb1;this[_0x4f220b(0x355)][_0x4f220b(0x3e5)](_0x3eb4d1);}[_0x1a4bb1(0x1e6)](_0x5d7185,_0x2e88f9){const _0x1d9103=_0x1a4bb1;let _0x2a2194=this[_0x1d9103(0x2e7)]['get'](_0x5d7185);_0x2a2194||(_0x2a2194=new Map(),this[_0x1d9103(0x2e7)][_0x1d9103(0x1fc)](_0x5d7185,_0x2a2194));let _0x1421cf=_0x2a2194[_0x1d9103(0x39e)](_0x2e88f9);return _0x1421cf||(_0x1421cf=new Map(),_0x2a2194[_0x1d9103(0x1fc)](_0x2e88f9,_0x1421cf)),_0x1421cf;}[_0x1a4bb1(0x3af)](_0x1672f7){const _0xc2a87b=_0x1a4bb1,{unitId:_0xd39aba,subUnitId:_0x40541a,pivotTableId:_0x36a3fc,pivotTableConfig:_0x509077,collectionConfig:_0x31d485}=_0x1672f7,_0x1c2349={'unitId':_0xd39aba,'subUnitId':_0x40541a,'oldSubUnitId':_0x40541a,'pivotTableId':_0x36a3fc,'pivotTableConfig':_0x509077,'collectionConfig':_0x31d485};this[_0xc2a87b(0x2ff)][_0xc2a87b(0x3fc)](co['id'],_0x1c2349,{'onlyLocal':!0x0});}[_0x1a4bb1(0x305)](_0x3c9706,_0x370126,_0x2bee7f,_0x77ec60,_0x2e786c,_0x5d2826,_0x50b8f8,_0x39dd61=!0x1){const _0x45ef8d=_0x1a4bb1;var _0x11e371;this[_0x45ef8d(0x2ff)][_0x45ef8d(0x3fc)](Dt['id'],{'single':{'unitId':_0x3c9706,'subUnitId':_0x370126,'type':_0x2bee7f,'pivotTableId':_0x77ec60,'view':_0x2e786c,'pivotConfig':_0x5d2826},'collectionConfig':{[_0x3c9706]:_0x50b8f8}},{'onlyLocal':!0x0});const _0x2feb92=!!((_0x11e371=this[_0x45ef8d(0x2e6)](_0x77ec60))!=null&&_0x11e371['isEmpty']()),_0x579d1e=this[_0x45ef8d(0x1df)](_0x3c9706,_0x370126,_0x77ec60);_0x579d1e&&this[_0x45ef8d(0x22d)]({'view':_0x2e786c,'pivotTableId':_0x77ec60,'textInfo':this[_0x45ef8d(0x436)](),'isEmpty':_0x2feb92,'targetCellInfo':_0x579d1e[_0x45ef8d(0x202)]},_0x39dd61);}[_0x1a4bb1(0x22d)](_0x37341b,_0x55ddc3){const _0x51d900=_0x1a4bb1,{targetCellInfo:_0x379a3e,pivotTableId:_0x2c88d7}=_0x37341b,{unitId:_0x4729b3,subUnitId:_0xf0dcb7}=_0x379a3e,_0x4674e5=this[_0x51d900(0x1e6)](_0x4729b3,_0xf0dcb7),_0x2a4b82=_0x4674e5[_0x51d900(0x39e)](_0x2c88d7);let _0x3aec79,_0x2147e1;_0x2a4b82&&(_0x3aec79=_0x2a4b82[_0x51d900(0x2b1)],_0x2147e1=_0x2a4b82[_0x51d900(0x308)]);const {rangesCache:_0x26d117,matrix:_0x34d1ef}=Di(_0x37341b);_0x4674e5[_0x51d900(0x1fc)](_0x2c88d7,{'rangeCache':_0x26d117,'matrix':_0x34d1ef,'oldMatrix':_0x2147e1,'oldRangeCache':_0x3aec79}),_0x55ddc3||this[_0x51d900(0x26b)][_0x51d900(0x2b3)]({'unitId':_0x4729b3,'subUnitId':_0xf0dcb7,'pivotTableId':_0x2c88d7});}['addPivotTable'](_0xd222b0,_0x233980,_0x582f8e,_0x15663f,_0x10cabe){const _0x1b895f=_0x1a4bb1;this[_0x1b895f(0x22b)](_0xd222b0,_0x233980,_0x582f8e,_0x10cabe),this[_0x1b895f(0x2f0)](_0x582f8e,_0x15663f);}[_0x1a4bb1(0x3b2)](_0x3e1349,_0x1723bf,_0x4cac51){const _0xf8dc03=_0x1a4bb1,_0x21d56d=this[_0xf8dc03(0x265)](_0x3e1349);_0x21d56d[_0xf8dc03(0x1d6)](_0x4cac51)['forEach'](_0x38df01=>{_0x21d56d['deleteDataField'](_0x38df01);}),this[_0xf8dc03(0x3b5)](_0x3e1349,_0x4cac51),this['_deleteModelCache'](_0x3e1349,_0x1723bf,_0x4cac51),this['_deletePivotTableInstanceCache'](_0x4cac51);}['setPivotTable'](_0x4b0dc2,_0x6fcc3a,_0x233d2c,_0x66e59a){this['_updateModelCache'](_0x4b0dc2,_0x6fcc3a,_0x233d2c,_0x66e59a);}[_0x1a4bb1(0x1df)](_0x5a21cf,_0x5cf2ec,_0x54f7b2){const _0x405da8=_0x1a4bb1;var _0x308c85,_0x21d343;const _0x4b0fec=(_0x21d343=(_0x308c85=this[_0x405da8(0x253)][_0x405da8(0x39e)](_0x5a21cf))==null?void 0x0:_0x308c85[_0x405da8(0x39e)](_0x5cf2ec))==null?void 0x0:_0x21d343[_0x405da8(0x39e)](_0x54f7b2);if(_0x4b0fec)return _0x4b0fec;}[_0x1a4bb1(0x434)](_0x3f675b,_0x9f9664,_0x19c513){const _0x327b52=_0x1a4bb1;var _0x4b52ab,_0x1ae207;const _0x2ddf8c=(_0x1ae207=(_0x4b52ab=this[_0x327b52(0x253)][_0x327b52(0x39e)](_0x3f675b))==null?void 0x0:_0x4b52ab['get'](_0x9f9664))==null?void 0x0:_0x1ae207[_0x327b52(0x39e)](_0x19c513);if(_0x2ddf8c)return _0x2ddf8c[_0x327b52(0x2a8)];}[_0x1a4bb1(0x2e6)](_0x46b85a){const _0x3aadf8=_0x1a4bb1;return this[_0x3aadf8(0x355)][_0x3aadf8(0x39e)](_0x46b85a);}[_0x1a4bb1(0x325)](_0x2f5e64){const _0x50b490=_0x1a4bb1;this[_0x50b490(0x253)][_0x50b490(0x3e5)](_0x2f5e64);const _0x2f5372=this['_dataFieldManagerCollection']['get'](_0x2f5e64);_0x2f5372&&(_0x2f5372[_0x50b490(0x32a)](),this[_0x50b490(0x314)][_0x50b490(0x3e5)](_0x2f5e64)),this[_0x50b490(0x2e7)]['delete'](_0x2f5e64),this[_0x50b490(0x3c9)]['forEach'](_0x91b44a=>{const _0x2e7ac8=_0x50b490;_0x91b44a[_0x2e7ac8(0x325)](_0x2f5e64);});}[_0x1a4bb1(0x21a)](_0x50348f,_0x3e95f0,_0x40d5af,_0x5ce8a5){const _0xdd7fe2=_0x1a4bb1;return this[_0xdd7fe2(0x265)](_0x40d5af['unitId'])[_0xdd7fe2(0x21a)](_0x50348f,_0x3e95f0,_0x40d5af,_0x5ce8a5);}['createCollectionWithDataRange'](_0x50b9f9){const _0x1e57fc=_0x1a4bb1;return this[_0x1e57fc(0x265)](_0x50b9f9['unitId'])[_0x1e57fc(0x3ae)](_0x50b9f9);}['refreshData'](_0x2320f6,_0x28e52c,_0xab161e){const _0x336a7b=_0x1a4bb1;this['getDataFieldManager'](_0xab161e[_0x336a7b(0x3c4)])['refreshData'](_0x2320f6,_0x28e52c,_0xab161e);}[_0x1a4bb1(0x3b1)](_0x5d8965,_0x21b296){const _0x16c4bf=_0x1a4bb1;this[_0x16c4bf(0x265)](_0x5d8965)[_0x16c4bf(0x2c5)](_0x21b296);}[_0x1a4bb1(0x3b5)](_0x7e171b,_0x3fb23a){const _0x2ba0a7=_0x1a4bb1;this[_0x2ba0a7(0x265)](_0x7e171b)[_0x2ba0a7(0x260)](_0x3fb23a);}[_0x1a4bb1(0x2f1)](_0x2780e8,_0x35c0ac){const _0x10e1c4=_0x1a4bb1;var _0x28d7cf;return(_0x28d7cf=this['_model'][_0x10e1c4(0x39e)](_0x2780e8))==null?void 0x0:_0x28d7cf['get'](_0x35c0ac);}[_0x1a4bb1(0x320)](_0x52baaf){const _0x1ccc16=_0x1a4bb1;for(const [_0x337c92,_0x123450]of this[_0x1ccc16(0x253)][_0x1ccc16(0x1e1)]())for(const [_0x2153d5,_0x4b4066]of _0x123450[_0x1ccc16(0x1e1)]())if(_0x4b4066[_0x1ccc16(0x2bb)](_0x52baaf))return{'unitId':_0x337c92,'subUnitId':_0x2153d5};return null;}['sideEffectUpdateWorkerCache'](_0x2f427a,_0x107764,_0x4720e5,_0x38e472){const _0x74e5dd=_0x1a4bb1,_0x45c1f9=this[_0x74e5dd(0x1e6)](_0x2f427a,_0x107764);_0x38e472?_0x45c1f9[_0x74e5dd(0x1fc)](_0x4720e5,_0x38e472):_0x45c1f9[_0x74e5dd(0x3e5)](_0x4720e5),this['_viewData$'][_0x74e5dd(0x2b3)]({'unitId':_0x2f427a,'subUnitId':_0x107764,'pivotTableId':_0x4720e5});}[_0x1a4bb1(0x32a)](){const _0x3ad892=_0x1a4bb1;super[_0x3ad892(0x32a)]();}['getViewData'](_0x92e2fd,_0x4f1fe8,_0x5c6a4c){const _0x364f98=_0x1a4bb1;var _0x98a1e3,_0x414b32;const _0x331de0=(_0x414b32=(_0x98a1e3=this[_0x364f98(0x2e7)][_0x364f98(0x39e)](_0x92e2fd))==null?void 0x0:_0x98a1e3[_0x364f98(0x39e)](_0x4f1fe8))==null?void 0x0:_0x414b32[_0x364f98(0x39e)](_0x5c6a4c);return _0x331de0||null;}[_0x1a4bb1(0x31b)](_0x5ba054){const _0x229e1e=_0x1a4bb1;this[_0x229e1e(0x214)](_0x5ba054);}[_0x1a4bb1(0x214)](_0x39cb8d){const _0xa9e57a=_0x1a4bb1,{token:_0x5ac812,unitId:_0x5f0f48,subUnitId:_0x3769e9}=_0x39cb8d,_0x4968ed=_0x5f0f48+'-'+_0x3769e9+'-'+_0x5ac812;this['_queryingMap']['get'](_0x4968ed)&&clearTimeout(this[_0xa9e57a(0x35b)]['get'](_0x4968ed));const _0x1bb88f=setTimeout(()=>{const _0x2b91c1=_0xa9e57a;this[_0x2b91c1(0x218)](_0x39cb8d),this[_0x2b91c1(0x35b)][_0x2b91c1(0x3e5)](_0x4968ed);},Pi);this[_0xa9e57a(0x35b)][_0xa9e57a(0x1fc)](_0x4968ed,_0x1bb88f);}[_0x1a4bb1(0x218)](_0x23fb04){const _0x3e0641=_0x1a4bb1,{unitId:_0x1be512,subUnitId:_0x5be455,token:_0x191b91,type:_0x2de1b0,pivotConfig:_0xa492e1}=_0x23fb04,_0x2e6688=this[_0x3e0641(0x2e6)](_0x191b91),_0x1c9b86=_0x2e6688==null?void 0x0:_0x2e6688['query'](),_0x563704=_0xa492e1!=null?_0xa492e1:this['getPivotTableConfig'](_0x1be512,_0x5be455,_0x191b91);_0x563704&&(_0x563704[_0x3e0641(0x3d2)]=!!(_0x2e6688!=null&&_0x2e6688[_0x3e0641(0x3d2)]())),(_0x1c9b86||_0x2de1b0===B['Delete'])&&this[_0x3e0641(0x305)](_0x1be512,_0x5be455,_0x2de1b0,_0x191b91,_0x1c9b86,_0x563704,this[_0x3e0641(0x265)](_0x1be512)['toJSON']());}[_0x1a4bb1(0x3b3)](_0x3984c6){const _0x31d208=_0x1a4bb1,_0x57368c={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x31d208(0x265)](_0x3984c6)&&(_0x57368c[_0x31d208(0x1ff)][_0x3984c6]=this[_0x31d208(0x265)](_0x3984c6)[_0x31d208(0x3b3)]()),this[_0x31d208(0x253)][_0x31d208(0x39e)](_0x3984c6)){_0x57368c[_0x31d208(0x384)][_0x3984c6]={};const _0xbd0d39=this[_0x31d208(0x253)][_0x31d208(0x39e)](_0x3984c6);_0xbd0d39!=null&&_0xbd0d39[_0x31d208(0x3ce)]&&[..._0xbd0d39[_0x31d208(0x37f)]()][_0x31d208(0x34b)](_0x3373de=>{const _0x175c92=_0x31d208,_0x2494eb=_0xbd0d39[_0x175c92(0x39e)](_0x3373de);_0x2494eb!=null&&_0x2494eb[_0x175c92(0x3ce)]&&(_0x57368c[_0x175c92(0x384)][_0x3984c6][_0x3373de]={},[..._0x2494eb['keys']()]['forEach'](_0x40810b=>{const _0x264072=_0x175c92,_0x1ae1b1=_0x2494eb[_0x264072(0x39e)](_0x40810b);_0x1ae1b1&&(_0x57368c['pivotTableConfigs'][_0x3984c6][_0x3373de][_0x40810b]=_0x1ae1b1);}));});}return _0x57368c;}[_0x1a4bb1(0x2d8)](_0x3f4745){const _0x399ae9=_0x1a4bb1;var _0x2e2d45;const {dataFieldManagerConfig:_0x1adb62,pivotTableConfigs:_0x329fce}=_0x3f4745;_0x1adb62&&Object[_0x399ae9(0x37f)](_0x1adb62)[_0x399ae9(0x34b)](_0x43a707=>{const _0x3640cb=_0x399ae9;this[_0x3640cb(0x265)](_0x43a707)[_0x3640cb(0x2d8)](_0x1adb62[_0x43a707]);});const _0x4ff8b6=[];if(_0x329fce){const _0x4f5d39=(_0x2e2d45=this[_0x399ae9(0x2a1)]['get'](_0x1893a6)[_0x399ae9(0x309)](_0x2bc50f))!=null?_0x2e2d45:{},{ls:_0x2adccf,pbk:_0x2fb955}=_0x4f5d39,_0x508b98=go(so,_0x2adccf,_0x2fb955)[_0x399ae9(0x283)];Object[_0x399ae9(0x37f)](_0x329fce)[_0x399ae9(0x34b)](_0x185079=>{let _0x175a18=0x0;const _0x1474bd=_0x329fce[_0x185079];Object['keys'](_0x1474bd)['forEach'](_0x569396=>{const _0x21ff40=_0x58d2,_0x3ab2c5=_0x1474bd[_0x569396];Object[_0x21ff40(0x37f)](_0x3ab2c5)['forEach'](_0x10aa66=>{const _0x29a816=_0x21ff40,_0x4dcc06=_0x3ab2c5[_0x10aa66];if(_0x4dcc06){if(_0x175a18>=_0x508b98)return;_0x175a18++;const _0x3fc397=this[_0x29a816(0x265)](_0x185079),_0x2d5d85=_0x3fc397[_0x29a816(0x1d8)][_0x10aa66],_0x43b37f=_0x2d5d85[_0x29a816(0x2f9)]();let _0x40550c=0x0;const _0x2cf03f=[];for(const _0x21c603 of _0x43b37f){const _0x13f461=_0x2d5d85[_0x29a816(0x1d3)](_0x21c603);if(_0x1bb721(_0x13f461)){const _0x2031ef=_0x13f461[_0x29a816(0x2b2)](),_0x15408a=_0x2d5d85[_0x29a816(0x1d3)](_0x2031ef);_0x15408a&&_0x2cf03f[_0x29a816(0x3ea)]([_0x13f461,_0x15408a]);continue;}_0x3fc397[_0x29a816(0x212)](_0x21c603,_0x4dcc06['sourceRangeInfo'],_0x40550c),_0x40550c++;}_0x2cf03f[_0x29a816(0x34b)](([_0x8b8a32,_0x38f086])=>{_0x8b8a32['refreshGroupField'](_0x38f086);});const _0x4d111e=new _0x162344(_0x2d5d85);_0x4d111e['fromJSON'](_0x4dcc06[_0x29a816(0x2a8)]),this[_0x29a816(0x346)](_0x185079,_0x569396,_0x10aa66,_0x4d111e,_0x4dcc06);const _0x500169=_0x4d111e[_0x29a816(0x2ee)]();_0x4ff8b6[_0x29a816(0x3ea)]({'unitId':_0x185079,'subUnitId':_0x569396,'pivotTableId':_0x10aa66,'view':_0x500169['toJSON'](),'pivotConfig':_0x4dcc06,'type':B['Add']});const _0x367093=!!_0x4d111e[_0x29a816(0x3d2)](),_0x15f303={'view':_0x500169,'pivotTableId':_0x10aa66,'textInfo':this[_0x29a816(0x436)](),'isEmpty':_0x367093,'targetCellInfo':_0x4dcc06[_0x29a816(0x202)]};this[_0x29a816(0x22d)](_0x15f303,!0x1);}});});});}_0x1adb62&&Object['keys'](_0x1adb62)[_0x399ae9(0x34b)](_0x3eee31=>{const _0x17497f=_0x399ae9,_0x38481f=this['getDataFieldManager'](_0x3eee31);this[_0x17497f(0x335)][_0x17497f(0x2b3)](_0x38481f['collections']);}),this[_0x399ae9(0x2ff)][_0x399ae9(0x3fc)](Dt['id'],{'batch':_0x4ff8b6,'collectionConfig':_0x1adb62},{'onlyLocal':!0x0});}[_0x1a4bb1(0x3da)](){const _0x3ff441=_0x1a4bb1;this[_0x3ff441(0x323)](this[_0x3ff441(0x2ec)][_0x3ff441(0x344)]({'toJson':_0x2c32cb=>JSON[_0x3ff441(0x40b)](this['toJSON'](_0x2c32cb)),'parseJson':_0x3a7c67=>{const _0x1263c0=_0x3ff441;if(!_0x3a7c67)return{};try{return JSON[_0x1263c0(0x3d7)](_0x3a7c67);}catch{return{};}},'businesses':[_0x47d004[_0x3ff441(0x3de)]],'pluginName':ao,'onLoad':(_0x5e9e0c,_0xff994a)=>{const _0x59ce69=_0x3ff441;this[_0x59ce69(0x2d8)](_0xff994a);},'onUnLoad':_0x9c9c09=>{this['deleteUnitId'](_0x9c9c09);}}));}};G=Ui([Je(0x0,_0x772e00(_0x4ed77d)),Je(0x1,_0x41ab3d),Je(0x2,_0x772e00(_0x99ea5b)),Je(0x3,_0x1893a6),Je(0x4,_0x554f1b),Je(0x5,_0x772e00(_0x28a11b))],G);const Vi={0x0:{0x0:{'v':_0x1a4bb1(0x2c0),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x8:{0x0:{'v':_0x1a4bb1(0x3dc),'s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':_0x1a4bb1(0x2e0),'s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':w},0x2:{'v':'','s':w},0x3:{'v':'','s':w},0x4:{'v':'','s':w},0x5:{'v':'','s':w}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},jo=(_0x187d62,_0x56865f)=>{const _0x406a55=_0x1a4bb1,_0x47f846=new _0x18ce59(),_0xa01cf3=new _0x18ce59(Vi),{row:_0x33ab05,col:_0x24dddc}=_0x56865f;_0xa01cf3[_0x406a55(0x2c1)]((_0x4eac6a,_0x105878,_0x43b372)=>{const _0x306e0c=_0x406a55;let _0x234860='';_0x43b372['v']===_0x306e0c(0x2c0)?_0x234860=_0x187d62[_0x306e0c(0x2c0)]:_0x43b372['v']==='row'?_0x234860=_0x187d62['row']:_0x43b372['v']===_0x306e0c(0x1e5)?_0x234860=_0x187d62[_0x306e0c(0x1e5)]:_0x43b372['v']===_0x306e0c(0x2e0)&&(_0x234860=_0x187d62[_0x306e0c(0x2e0)]),_0x47f846['setValue'](_0x4eac6a+_0x33ab05,_0x105878+_0x24dddc,{..._0x43b372,'v':_0x234860});});const _0x1b48ca=_0x5a29c7[_0x406a55(0x29b)](Lt);return Object[_0x406a55(0x37f)](Lt)[_0x406a55(0x34b)](_0x4839cc=>{const _0x1f1064=_0x406a55;_0x1b48ca[_0x4839cc]=Lt[_0x4839cc][_0x1f1064(0x28c)](_0x4ef473=>({..._0x4ef473,'startRow':_0x4ef473[_0x1f1064(0x296)]+_0x33ab05,'endRow':_0x4ef473[_0x1f1064(0x417)]+_0x33ab05,'startColumn':_0x4ef473['startColumn']+_0x24dddc,'endColumn':_0x4ef473[_0x1f1064(0x1fe)]+_0x24dddc}));}),{'matrixCache':_0x47f846,'rangesCache':_0x1b48ca};};function xi(_0x531c74,_0x7b9662){const _0x2b80ca=_0x1a4bb1;let _0x534026='';const _0x4c1310=this['getTextInfo']();switch(_0x7b9662){case _0x4729bf[_0x2b80ca(0x3ba)]:_0x534026=_0x4c1310[_0x2b80ca(0x249)]+_0x531c74;break;case _0x4729bf['count']:_0x534026=_0x4c1310['sheets-pivot.countName']+_0x531c74;break;case _0x4729bf[_0x2b80ca(0x447)]:_0x534026=_0x4c1310['sheets-pivot.countNumsName']+_0x531c74;break;case _0x4729bf[_0x2b80ca(0x43c)]:_0x534026=_0x4c1310[_0x2b80ca(0x22f)]+_0x531c74;break;case _0x4729bf['min']:_0x534026=_0x4c1310[_0x2b80ca(0x3ff)]+_0x531c74;break;case _0x4729bf[_0x2b80ca(0x32e)]:_0x534026=_0x4c1310[_0x2b80ca(0x362)]+_0x531c74;break;case _0x4729bf['stdDev']:_0x534026=_0x4c1310[_0x2b80ca(0x1ce)]+_0x531c74;break;case _0x4729bf[_0x2b80ca(0x268)]:_0x534026=_0x4c1310[_0x2b80ca(0x41c)]+_0x531c74;break;case _0x4729bf[_0x2b80ca(0x396)]:_0x534026=_0x4c1310[_0x2b80ca(0x1eb)]+_0x531c74;break;case _0x4729bf['var']:_0x534026=_0x4c1310[_0x2b80ca(0x2c2)]+_0x531c74;break;case _0x4729bf['varp']:_0x534026=_0x4c1310[_0x2b80ca(0x1f8)]+_0x531c74;break;default:_0x534026=_0x531c74;break;}return _0x534026;}function Ei(_0x3a4433,_0x19a0c0,_0x5f8da6,_0x30b6a5,_0x27381b){const _0x587e03=_0x1a4bb1;var _0x482ff3,_0x37916f,_0x557006,_0x6ea5a9,_0x592f99;const _0x19e7a9=_0x1bfeee(_0x3a4433,_0x19a0c0),{rangesInfo:_0x29e3d2,areaInfo:_0xac84bd,headerMap:_0xfefc31}=_0x27381b;if(!_0x29e3d2||!_0xac84bd||!_0xfefc31)return;const _0x15affc=Object[_0x587e03(0x37f)](_0x29e3d2)[_0x587e03(0x3e1)](_0x2a559e=>_0x29e3d2[_0x2a559e][_0x587e03(0x2f6)](_0xc9a039=>_0x41833c[_0x587e03(0x2bf)](_0xc9a039,_0x19e7a9))),_0x39e7f8=_0xac84bd;let _0x95b474,_0x48615e,_0x2464c7;if(_0x15affc===_0x587e03(0x441))_0x95b474=(_0x482ff3=_0x39e7f8==null?void 0x0:_0x39e7f8[_0x587e03(0x2eb)])==null?void 0x0:_0x482ff3[_0x3a4433],_0x48615e=(_0x37916f=_0xfefc31==null?void 0x0:_0xfefc31[_0x587e03(0x38f)])==null?void 0x0:_0x37916f[_0x19a0c0],_0x2464c7=_0x48615e==null?void 0x0:_0x48615e[_0x587e03(0x380)];else{if(_0x15affc===_0x587e03(0x30d))_0x95b474=(_0x557006=_0x39e7f8==null?void 0x0:_0x39e7f8[_0x587e03(0x2a7)])==null?void 0x0:_0x557006[_0x19a0c0],_0x48615e=(_0x6ea5a9=_0xfefc31['colHeaderMap'])==null?void 0x0:_0x6ea5a9[_0x3a4433+0x1+_0x19a0c0-_0x29e3d2[_0x587e03(0x30d)][0x0][_0x587e03(0x3df)]],_0x2464c7=_0x48615e==null?void 0x0:_0x48615e[_0x587e03(0x380)];else{if(_0x15affc===_0x587e03(0x20a))_0x95b474=(_0x592f99=_0x39e7f8==null?void 0x0:_0x39e7f8[_0x587e03(0x1cd)])==null?void 0x0:_0x592f99[_0x19a0c0],_0x2464c7=_0x95b474==null?void 0x0:_0x95b474[_0x587e03(0x380)];else{if(_0x15affc===_0x587e03(0x316)){const _0x2d6002=_0x5f8da6==null?void 0x0:_0x5f8da6['fi'];_0x2d6002!==void 0x0&&(_0x2464c7=_0x30b6a5[_0x587e03(0x34a)](_0x2d6002));}}}}return{'filterId':_0x2464c7,'info':_0x95b474,'data':_0x5f8da6,'headerInfo':_0x48615e};}function Oi(_0x2b1025,_0x4a0734,_0x2e6c56){const _0x4fee4e=_0x1a4bb1,_0x5b8d51=_0x2b1025[_0x4fee4e(0x32c)],_0xcacb8d=_0x5b8d51[_0x4fee4e(0x2f9)](),_0x2f8217=new Set();_0x2b1025[_0x4fee4e(0x2e9)](_0x4db2ce=>{const _0x3606fb=_0x4fee4e;_0x2f8217['add'](_0x4db2ce[_0x3606fb(0x331)]);});const _0x35565a=_0xcacb8d[_0x4fee4e(0x28c)](_0xd314ae=>{const _0x2068d5=_0x4fee4e,_0x4834fb=_0x5b8d51[_0x2068d5(0x1d3)](_0xd314ae);return{'checked':_0x2f8217[_0x2068d5(0x2bb)](_0xd314ae),'dataFieldId':_0x4834fb['id'],'id':_0x4834fb['id'],'name':_0x5b8d51['getDisplayName'](_0x4834fb['id']),'type':_0x4834fb[_0x2068d5(0x390)](),'pivotTableId':_0x4a0734};}),_0x57449a=[];_0x2b1025['iterateFieldByArea'](_0xf3a50c[_0x4fee4e(0x3f4)],_0x401052=>{const _0x566bc6=_0x4fee4e;_0x57449a['push']({'dataFieldId':_0x401052[_0x566bc6(0x331)],'tableFieldId':_0x401052[_0x566bc6(0x272)](),'displayName':_0x401052[_0x566bc6(0x34e)]()});});const _0x8cbca5=[];_0x2b1025['iterateFieldByArea'](_0xf3a50c['Column'],_0x2ca723=>{const _0x55e1ee=_0x4fee4e;_0x8cbca5[_0x55e1ee(0x3ea)]({'dataFieldId':_0x2ca723[_0x55e1ee(0x331)],'tableFieldId':_0x2ca723['getId'](),'displayName':_0x2ca723[_0x55e1ee(0x34e)]()});});const _0x5a1914=[];if(_0x2b1025[_0x4fee4e(0x41b)](_0xf3a50c[_0x4fee4e(0x1d9)],_0x469a4f=>{const _0x4bdb20=_0x4fee4e;_0x5a1914[_0x4bdb20(0x3ea)]({'dataFieldId':_0x469a4f[_0x4bdb20(0x331)],'tableFieldId':_0x469a4f['getId'](),'displayName':_0x469a4f[_0x4bdb20(0x34e)](),'format':_0x469a4f[_0x4bdb20(0x412)](),'subTotalType':_0x469a4f[_0x4bdb20(0x26e)]()});}),_0x5a1914['length']>0x1){const _0x321803=_0x2b1025['getValueIndex']();(_0x2b1025[_0x4fee4e(0x34d)]()?_0x8cbca5:_0x57449a)[_0x4fee4e(0x2c7)](_0x321803,0x0,{'dataFieldId':'','tableFieldId':_0x4fee4e(0x3fa),'displayName':'ΣValue'});}const _0x47dcee=[];_0x2b1025['iterateFieldByArea'](_0xf3a50c[_0x4fee4e(0x39a)],_0x4edd48=>{const _0x1c326c=_0x4fee4e;_0x47dcee[_0x1c326c(0x3ea)]({'dataFieldId':_0x4edd48[_0x1c326c(0x331)],'tableFieldId':_0x4edd48[_0x1c326c(0x272)](),'displayName':_0x4edd48['getDisplayName']()});});const _0x3f6f1f=_0x2e6c56[_0x4fee4e(0x2d2)];return{'sourceList':_0x35565a,'sourceRange':_0x3f6f1f,'rowFields':_0x57449a,'columnFields':_0x8cbca5,'valueFields':_0x5a1914,'filterFields':_0x47dcee,'positionInfo':_0x2e6c56[_0x4fee4e(0x202)]};}function fo(_0x8654f3,_0x36379d,_0x477f5d='',_0x3f5446={}){const _0x3a9861=_0x1a4bb1,_0x331823=_0x8654f3[_0x3a9861(0x39e)](_0x58b50b);for(const _0x48c3e5 in _0x36379d)if(Object[_0x3a9861(0x373)][_0x3a9861(0x288)][_0x3a9861(0x28b)](_0x36379d,_0x48c3e5)){const _0x3d9be1=_0x477f5d?_0x477f5d+'.'+_0x48c3e5:_0x48c3e5;typeof _0x36379d[_0x48c3e5]=='object'&&_0x36379d[_0x48c3e5]!==null&&!Array[_0x3a9861(0x1d1)](_0x36379d[_0x48c3e5])?fo(_0x8654f3,_0x36379d[_0x48c3e5],_0x3d9be1,_0x3f5446):_0x3f5446[_0x3d9be1]=_0x331823['t'](_0x3d9be1);}return _0x3f5446;}const Bt=_0x1ceaca=>{const _0x23a191=_0x1a4bb1;if(!_0x1ceaca)return[];const {rowRanges:_0x9abafe,colRanges:_0x5225b2,cornerRanges:_0x279ba6,dataRanges:_0x2f0689,pageRanges:_0x137af7}=_0x1ceaca,_0x368358=[..._0x5225b2,..._0x9abafe,..._0x2f0689,..._0x279ba6][_0x23a191(0x2c0)](_0x31bb40=>_0x31bb40[_0x23a191(0x296)]>=0x0&&_0x31bb40[_0x23a191(0x3df)]>=0x0&&_0x31bb40[_0x23a191(0x417)]>=0x0&&_0x31bb40['endColumn']>=0x0);let _0x17dd00=Number['MAX_SAFE_INTEGER'],_0x10193d=Number[_0x23a191(0x207)],_0x4d768f=Number[_0x23a191(0x370)],_0xfac14a=Number['MIN_SAFE_INTEGER'];for(let _0xe32df6=0x0;_0xe32df6<_0x368358[_0x23a191(0x2ac)];_0xe32df6++)_0x17dd00=Math[_0x23a191(0x39f)](_0x17dd00,_0x368358[_0xe32df6][_0x23a191(0x296)]),_0x10193d=Math[_0x23a191(0x43c)](_0x10193d,_0x368358[_0xe32df6][_0x23a191(0x417)]),_0x4d768f=Math[_0x23a191(0x39f)](_0x4d768f,_0x368358[_0xe32df6]['startColumn']),_0xfac14a=Math[_0x23a191(0x43c)](_0xfac14a,_0x368358[_0xe32df6][_0x23a191(0x1fe)]);return[..._0x137af7,{'startRow':_0x17dd00,'endRow':_0x10193d,'startColumn':_0x4d768f,'endColumn':_0xfac14a}];};function ki(_0x5ac2fb,_0x136264){const _0x203dc5=_0x1a4bb1,_0x41b875=_0x136264[_0x203dc5(0x282)][_0x203dc5(0x365)],{pivotTableId:_0x181976,unitId:_0x4e9d4a,subUnitId:_0x6b968f}=_0x136264;if(!_0x41b875)return;const _0x2698db=_0x5ac2fb[_0x203dc5(0x39e)](G),_0x20da78=_0x2698db[_0x203dc5(0x2e6)](_0x181976),_0xeb2892=_0x2698db[_0x203dc5(0x1df)](_0x4e9d4a,_0x6b968f,_0x181976);if(!_0x20da78||!_0xeb2892)return;const _0x78de90=_0x20da78[_0x203dc5(0x420)](_0x41b875[_0x203dc5(0x3b8)]);if(!(_0x78de90!=null&&_0x78de90[_0x203dc5(0x2ac)]))return;const _0xa2d948=_0xeb2892[_0x203dc5(0x2d2)],{unitId:_0x3b0966,subUnitId:_0x4b2b06,range:_0x19e779}=_0xa2d948;let _0x40d8b7=0x0;const _0x11135f=_0x20da78[_0x203dc5(0x32c)][_0x203dc5(0x2f9)]()[_0x203dc5(0x23a)]((_0x3c44e6,_0x44fd6b)=>{const _0x1c0216=_0x203dc5;var _0x5e830c;const _0x48eca4=(_0x5e830c=_0x20da78[_0x1c0216(0x244)](_0x44fd6b))==null?void 0x0:_0x5e830c[_0x1c0216(0x1e9)]();return _0x48eca4&&(_0x3c44e6[String(_0x40d8b7)]=_0x48eca4),_0x40d8b7++,_0x3c44e6;},{});return{'indexes':_0x78de90,'range':_0x19e779,'sourceUnitId':_0x3b0966,'sourceSubUnitId':_0x4b2b06,'formatMap':_0x11135f};}function Jo(_0x1f284b,_0x530ddd){const _0x3ca22f=_0x1a4bb1;if(!_0x1f284b||!_0x530ddd)return!0x0;const _0x5eeb94=_0x39ba9a(zo,$o),_0x5d7d24=new Function(_0x3ca22f(0x21c)+_0x5eeb94)()(_0x1f284b,_0x530ddd)[_0x3ca22f(0x223)],_0x45d656=_0x52bf03(_0x5d7d24,'sf',Ao);return!((_0x5d7d24==null?void 0x0:_0x5d7d24['rt'])===_0x451bf1[_0x3ca22f(0x3ed)]&&!_0x45d656);}function go(_0x4d9a0e,_0x53ae1b,_0x170d53){const _0x356009=_0x1a4bb1,_0x26360c={'count':_0x4d9a0e,'timeValid':!0x1};if(!_0x53ae1b||!_0x170d53)return _0x26360c;const _0x5e784c=_0x39ba9a(zo,$o),_0x5e0212=new Function(_0x356009(0x21c)+_0x5e784c)()(_0x53ae1b,_0x170d53);if(_0x5e0212!=null&&_0x5e0212[_0x356009(0x315)]){const _0x6d5df3=_0x5e0212[_0x356009(0x223)],_0x4d74b9=_0x52bf03(_0x6d5df3,'sf',Ao);return{'count':_0x1641fe(_0x6d5df3,_0x4d74b9,_0x356009(0x336),_0x4d9a0e,_0x4d9a0e,0x0),'timeValid':_0x4d74b9};}return _0x26360c;}function Ho(_0x1af236,_0x5d031d,_0x5f2673,_0x588236){const _0x4712a4=_0x1a4bb1,_0xe09121={'subUnitId':_0x5f2673,'unitId':_0x5d031d,'cellValue':_0x2d9341(_0x588236)},_0x281a76=_0x17808b(_0x1af236,_0xe09121);let _0x12d00f=!0x1;return new _0x18ce59(_0x281a76['cellValue'])[_0x4712a4(0x2c1)]((_0x10928d,_0x470fc8,_0x336720)=>{const _0x30ad5e=_0x4712a4;if(!_0x12d00f&&_0x336720&&(_0x336720[_0x30ad5e(0x30c)]||_0x336720['f']||_0x336720['p']||_0x336720['s']||_0x336720['si']||_0x336720['t']||_0x336720['v']))return _0x12d00f=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x324b45['id'],'params':_0x281a76},'setRangeValueRedoMutation':{'id':_0x324b45['id'],'params':_0xe09121},'shouldClear':_0x12d00f};}function Ai(_0x548283){const {row:_0x27908f,col:_0x2f09ec}=_0x548283,_0x453ee5={'startRow':_0x27908f,'endRow':_0x27908f,'startColumn':_0x2f09ec,'endColumn':_0x2f09ec},_0x47b8cc={'startRow':_0x27908f+0x2,'endRow':_0x27908f+0xe,'startColumn':_0x2f09ec,'endColumn':_0x2f09ec+0x6};return[_0x453ee5,_0x47b8cc];}function Wi(_0x44c500,_0x2c0128,_0x515c82){const _0x473ce1=_0x1a4bb1,{cornerView:_0x54d825,rowView:_0x30420e,colView:_0x5778bd,pageView:_0x1b6edf}=_0x44c500,{row:_0x5b60a9,col:_0x2b3f7b}=_0x2c0128;if(_0x515c82)return{'rowCount':bi+_0x5b60a9,'colCount':Si+_0x2b3f7b};const _0x14eb16=_0x1b6edf[_0x473ce1(0x1e4)]>-0x1?_0x1b6edf[_0x473ce1(0x1e4)]+0x1:0x0,_0x162abc=_0x1b6edf['lastCol']>-0x1?_0x1b6edf[_0x473ce1(0x264)]:0x0,_0x3fab18=_0x5b60a9+_0x14eb16+(_0x14eb16?0x1:0x0)+_0x54d825[_0x473ce1(0x333)]+_0x30420e[_0x473ce1(0x333)],_0x756df4=_0x2b3f7b+_0x162abc,_0x4907fe=_0x2b3f7b+_0x54d825[_0x473ce1(0x2a0)]+_0x5778bd[_0x473ce1(0x2a0)],_0x1ba3ad=Math['max'](_0x756df4,_0x4907fe);return{'rowCount':_0x3fab18,'colCount':_0x1ba3ad};}function Re(_0xd91764,_0xe661b9,_0x364330,_0x26f874){const _0x1efd66=_0x1a4bb1,{row:_0x10c068,col:_0x138d66,unitId:_0x58e6bd,subUnitId:_0x272cf6}=_0x364330,_0x54715f=Wi(_0xe661b9,{'row':_0x10c068,'col':_0x138d66},_0x26f874),_0x4d5517=_0xd91764[_0x1efd66(0x39e)](_0x41ab3d),_0x1b6a4d=_0x114ebc(_0x4d5517,{'unitId':_0x58e6bd,'subUnitId':_0x272cf6}),_0x4b6d87=[],_0x4ea9da=[];if(!_0x1b6a4d)return{'undos':_0x4ea9da,'redos':_0x4b6d87};const {worksheet:_0x23ff1f}=_0x1b6a4d,_0x12526f=_0x23ff1f[_0x1efd66(0x342)](),_0x382cb8=_0x23ff1f[_0x1efd66(0x3d3)]();return _0x12526f<_0x54715f[_0x1efd66(0x333)]&&(_0x4b6d87[_0x1efd66(0x3ea)]({'id':_0x320284['id'],'params':{'unitId':_0x58e6bd,'subUnitId':_0x272cf6,'range':{'startRow':_0x12526f,'endRow':_0x54715f[_0x1efd66(0x333)]-0x1,'startColumn':0x0,'endColumn':_0x382cb8-0x1}}}),_0x4ea9da[_0x1efd66(0x3ea)]({'id':_0x3c06dc['id'],'params':{'unitId':_0x58e6bd,'subUnitId':_0x272cf6,'range':{'startRow':_0x12526f,'endRow':_0x54715f[_0x1efd66(0x333)]-0x1,'startColumn':0x0,'endColumn':_0x382cb8-0x1}}})),_0x382cb8<_0x54715f[_0x1efd66(0x2a0)]&&(_0x4b6d87[_0x1efd66(0x3ea)]({'id':_0x551179['id'],'params':{'unitId':_0x58e6bd,'subUnitId':_0x272cf6,'range':{'startRow':0x0,'endRow':_0x12526f-0x1,'startColumn':_0x382cb8,'endColumn':_0x54715f[_0x1efd66(0x2a0)]-0x1}}}),_0x4ea9da[_0x1efd66(0x3ea)]({'id':_0x4a6d3c['id'],'params':{'unitId':_0x58e6bd,'subUnitId':_0x272cf6,'range':{'startRow':0x0,'endRow':_0x12526f-0x1,'startColumn':_0x382cb8,'endColumn':_0x54715f[_0x1efd66(0x2a0)]-0x1}}})),{'undos':_0x4ea9da,'redos':_0x4b6d87};}function Li(_0x354a73){const _0x422f32=_0x1a4bb1;let _0x41720a=0x0;for(let _0x25658d=0x0;_0x25658d<_0x354a73['length'];_0x25658d++){const _0x164c42=_0x354a73[_0x422f32(0x3a0)](_0x25658d);_0x164c42>=0x4e00&&_0x164c42<=0x9fff||_0x164c42>=0x3000&&_0x164c42<=0x303f||_0x164c42>=0xff00&&_0x164c42<=0xffef?_0x41720a+=0x2:_0x41720a+=0x1;}return _0x41720a;}function yo(_0x30d57c,_0x4b80ab,_0x598570,_0x1047af){const _0x47f9a5=_0x1a4bb1;var _0x1a184e,_0x31a69e,_0x36fe26,_0x3476d8;const {rowCount:_0x35a41b,colCount:_0x1a6a88,headerMap:_0x2d3360}=_0x30d57c,_0x190d08=0x64,_0x54ea0e=Math['min'](_0x35a41b,_0x190d08),_0x46dd33=Math['min'](_0x1a6a88,_0x190d08);let _0x1c2e1a='',_0x1b2fab=0x0;for(let _0x3cec24=0x0;_0x3cec24<_0x54ea0e;_0x3cec24++)for(let _0x55246e=0x0;_0x55246e<_0x46dd33;_0x55246e++){const _0x5207f6={...(_0x31a69e=(_0x1a184e=_0x30d57c[_0x47f9a5(0x2ea)])==null?void 0x0:_0x1a184e[_0x3cec24])==null?void 0x0:_0x31a69e[_0x55246e]},_0xfbfccb=(_0x36fe26=_0x2d3360[_0x3cec24])==null?void 0x0:_0x36fe26[_0x47f9a5(0x380)],_0x3b589d=_0x1047af[_0xfbfccb];let _0x456c19=_0x30d57c[_0x47f9a5(0x2fc)](_0x3cec24,_0x55246e);if(_0x5207f6){const _0x25e029=_0x598570?_0x55246e===0x0&&((_0x3476d8=_0x30d57c[_0x47f9a5(0x421)](_0x55246e+0x1))==null?void 0x0:_0x3476d8['isValue']):!0x1;_0x456c19=vt(_0x5207f6,_0x25e029,_0x3b589d,_0x4b80ab);}if(_0x456c19!==void 0x0){const _0x1a1478=Li(String(_0x456c19));_0x1b2fab<_0x1a1478&&(_0x1c2e1a=String(_0x456c19),_0x1b2fab=_0x1a1478);}}return _0x1c2e1a;}function Bi(_0x10cf13){const _0x47584a=_0x1a4bb1,{rowCount:_0x235a39,colCount:_0x44ac16}=_0x10cf13;let _0x58ac8a='',_0x4f1868=0x0;for(let _0x4112fd=_0x235a39-0x1;_0x4112fd>0x0&&_0x4112fd>_0x235a39-0x3;_0x4112fd--)for(let _0xe90d78=0x0;_0xe90d78<_0x44ac16;_0xe90d78++){const _0x1496c2=_0x10cf13[_0x47584a(0x2fc)](_0x4112fd,_0xe90d78);if(_0x1496c2!==void 0x0){const _0x4fe301=String(_0x1496c2)[_0x47584a(0x2ac)];_0x4f1868<_0x4fe301&&(_0x58ac8a=String(_0x1496c2),_0x4f1868=_0x4fe301);}}return _0x58ac8a;}function Gi(_0x5727a4){const _0x4e8d43=_0x1a4bb1,{rowCount:_0x5caaa9,colCount:_0x1b6d95}=_0x5727a4;let _0x499fdb='',_0x31e5d3=0x0;for(let _0x5cb1e9=0x0;_0x5cb1e9<_0x5caaa9;_0x5cb1e9++)for(let _0x410ef2=0x0;_0x410ef2<_0x1b6d95;_0x410ef2++){const _0x1eb523=_0x5727a4[_0x4e8d43(0x2fc)](_0x5cb1e9,_0x410ef2);if(_0x1eb523!==void 0x0){const _0xf5e60b=String(_0x1eb523)[_0x4e8d43(0x2ac)];_0x31e5d3<_0xf5e60b&&(_0x499fdb=String(_0x1eb523),_0x31e5d3=_0xf5e60b);}}return _0x499fdb;}function $i(_0x4ce63c,_0x1bc5b6){const _0x26d8a0=_0x1a4bb1,{rowFields:_0x44de0f,columnFields:_0x29a375,valueFields:_0x98c219,filterFields:_0x39e42e,dimension:_0x1e4640,measure:_0x3600c2}=_0x1bc5b6;for(const _0x1c4b52 of _0x44de0f){const _0x36c15b=_0x1e4640[_0x1c4b52];_0x36c15b&&_0x4ce63c[_0x26d8a0(0x244)](_0x36c15b[_0x26d8a0(0x331)])&&(_0x4ce63c[_0x26d8a0(0x32b)](_0x36c15b[_0x26d8a0(0x331)],_0xf3a50c[_0x26d8a0(0x3f4)],void 0x0,_0x1c4b52),_0x36c15b[_0x26d8a0(0x1d4)]&&_0x4ce63c[_0x26d8a0(0x30e)](_0x36c15b['id'],_0x36c15b[_0x26d8a0(0x1d4)]),_0x36c15b['sortInfo']&&_0x4ce63c[_0x26d8a0(0x298)](_0x36c15b['id'],_0x36c15b[_0x26d8a0(0x352)]),_0x36c15b['filterInfo']&&_0x4ce63c[_0x26d8a0(0x3c1)](_0x36c15b['id'],_0x36c15b[_0x26d8a0(0x269)]));}for(const _0x50c913 of _0x29a375){const _0x2a44aa=_0x1e4640[_0x50c913];_0x2a44aa&&_0x4ce63c[_0x26d8a0(0x244)](_0x2a44aa[_0x26d8a0(0x331)])&&(_0x4ce63c[_0x26d8a0(0x32b)](_0x2a44aa[_0x26d8a0(0x331)],_0xf3a50c[_0x26d8a0(0x418)],void 0x0,_0x50c913),_0x2a44aa[_0x26d8a0(0x352)]&&_0x4ce63c[_0x26d8a0(0x298)](_0x2a44aa['id'],_0x2a44aa[_0x26d8a0(0x352)]),_0x2a44aa[_0x26d8a0(0x269)]&&_0x4ce63c[_0x26d8a0(0x3c1)](_0x2a44aa['id'],_0x2a44aa[_0x26d8a0(0x269)]),_0x2a44aa[_0x26d8a0(0x1d4)]&&_0x4ce63c['renameField'](_0x2a44aa['id'],_0x2a44aa['displayName']));}for(const _0x58137d of _0x39e42e){const _0x438849=_0x1e4640[_0x58137d];_0x438849&&_0x4ce63c[_0x26d8a0(0x244)](_0x438849[_0x26d8a0(0x331)])&&(_0x4ce63c[_0x26d8a0(0x32b)](_0x438849['dataFieldId'],_0xf3a50c[_0x26d8a0(0x39a)],void 0x0,_0x58137d),_0x438849[_0x26d8a0(0x352)]&&_0x4ce63c[_0x26d8a0(0x298)](_0x438849['id'],_0x438849[_0x26d8a0(0x352)]),_0x438849[_0x26d8a0(0x269)]&&_0x4ce63c['setLabelFilterInfo'](_0x438849['id'],_0x438849[_0x26d8a0(0x269)]),_0x438849['displayName']&&_0x4ce63c[_0x26d8a0(0x30e)](_0x438849['id'],_0x438849[_0x26d8a0(0x1d4)]));}for(const _0x706567 of _0x98c219){const _0xf22a3=_0x3600c2[_0x706567];_0xf22a3&&_0x4ce63c['getDataFieldByDataFieldId'](_0xf22a3[_0x26d8a0(0x331)])&&(_0x4ce63c[_0x26d8a0(0x32b)](_0xf22a3[_0x26d8a0(0x331)],_0xf3a50c['Value'],void 0x0,_0x706567),_0xf22a3[_0x26d8a0(0x376)]!==void 0x0&&_0x4ce63c['setSubtotalType'](_0x706567,_0xf22a3[_0x26d8a0(0x376)]),_0xf22a3[_0x26d8a0(0x2b9)]&&_0x4ce63c['setFieldFormat'](_0x706567,_0xf22a3['format']),_0xf22a3[_0x26d8a0(0x1d4)]&&_0x4ce63c[_0x26d8a0(0x30e)](_0xf22a3['id'],_0xf22a3[_0x26d8a0(0x1d4)]));}const _0x54f75b=_0x1bc5b6[_0x26d8a0(0x226)];for(const {fieldId:_0x5b3140,filterInfo:_0x4afb82}of _0x54f75b)_0x4ce63c['setValueFilterInfo'](_0x5b3140,_0x4afb82);}function zi(_0xf80bed,_0x270eb0){const _0x4de377=_0x1a4bb1,_0x285023=[];_0x270eb0===_0xf3a50c[_0x4de377(0x3f4)]&&_0xf80bed[_0x4de377(0x41b)](_0xf3a50c[_0x4de377(0x3f4)],_0x2a01d2=>{const _0x48e2fb=_0x4de377;_0x285023[_0x48e2fb(0x3ea)](_0x2a01d2[_0x48e2fb(0x272)]());}),_0x270eb0===_0xf3a50c[_0x4de377(0x418)]&&_0xf80bed[_0x4de377(0x41b)](_0xf3a50c[_0x4de377(0x418)],_0x55e381=>{const _0x1fde12=_0x4de377;_0x285023[_0x1fde12(0x3ea)](_0x55e381[_0x1fde12(0x272)]());}),_0x270eb0===_0xf3a50c[_0x4de377(0x39a)]&&_0xf80bed['iterateFieldByArea'](_0xf3a50c[_0x4de377(0x39a)],_0x1b5601=>{const _0x1d6141=_0x4de377;_0x285023[_0x1d6141(0x3ea)](_0x1b5601['getId']());}),_0x270eb0===_0xf3a50c[_0x4de377(0x1d9)]&&_0xf80bed[_0x4de377(0x41b)](_0xf3a50c[_0x4de377(0x1d9)],_0x45d0af=>{const _0x700ec3=_0x4de377;_0x285023[_0x700ec3(0x3ea)](_0x45d0af['getId']());}),_0x270eb0===void 0x0&&_0xf80bed['iterateField'](_0x3479a4=>{const _0x31986a=_0x4de377;_0x285023[_0x31986a(0x3ea)](_0x3479a4[_0x31986a(0x272)]());});const _0x3a61f9=_0x285023[_0x4de377(0x2ac)];for(let _0x567028=_0x3a61f9-0x1;_0x567028>=0x0;_0x567028--)_0xf80bed[_0x4de377(0x38d)](_0x285023[_0x567028]);const _0x490899=_0xf80bed[_0x4de377(0x449)]();for(const _0x21bbfc in _0x490899)_0xf80bed[_0x4de377(0x270)](_0x21bbfc);}function ji(_0x3d9ce9,_0x4f041d){const _0x37254d=_0x1a4bb1,_0x3e7f97=new Date(_0x22fdc5(_0x4f041d)),_0x1ee1dd=new Date(_0x22fdc5(_0x3d9ce9)),_0x3249be=_0x3e7f97['getFullYear'](),_0x2c2db0=_0x1ee1dd[_0x37254d(0x293)](),_0x4fd4cb=_0x3e7f97[_0x37254d(0x263)](),_0x49aefa=_0x1ee1dd[_0x37254d(0x263)](),_0x5e89f7=_0x3e7f97[_0x37254d(0x33f)](),_0x5e9edb=_0x1ee1dd[_0x37254d(0x33f)](),_0xaefeff=_0x3249be===_0x2c2db0,_0x4516cf=_0xaefeff&&_0x4fd4cb===_0x49aefa;return _0xaefeff&&_0x4516cf&&!(_0x4516cf&&_0x5e89f7===_0x5e9edb)?_0x167867[_0x37254d(0x378)]:_0xaefeff&&!_0x4516cf?_0x167867[_0x37254d(0x3cc)]:_0x167867['Year'];}function qo(_0x48abc1,_0x44f6d6){const _0x3868b7=_0x1a4bb1,_0x4447c2=_0x48abc1[_0x3868b7(0x39e)](G)[_0x3868b7(0x436)]();let _0x586c05='';switch(_0x44f6d6){case _0x167867[_0x3868b7(0x378)]:_0x586c05=_0x4447c2['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x167867[_0x3868b7(0x3cc)]:_0x586c05=_0x4447c2[_0x3868b7(0x29c)];break;case _0x167867['Year']:_0x586c05=_0x4447c2[_0x3868b7(0x1ee)];break;case _0x167867['Month']:_0x586c05=_0x4447c2[_0x3868b7(0x419)];break;case _0x167867['Quarter']:_0x586c05=_0x4447c2[_0x3868b7(0x31f)];break;case _0x167867[_0x3868b7(0x21f)]:_0x586c05=_0x4447c2[_0x3868b7(0x274)];break;case _0x167867['HourMinute']:_0x586c05=_0x4447c2[_0x3868b7(0x252)];break;case _0x167867[_0x3868b7(0x407)]:_0x586c05=_0x4447c2[_0x3868b7(0x326)];break;case _0x167867[_0x3868b7(0x1e3)]:_0x586c05=_0x4447c2[_0x3868b7(0x1f6)];break;case _0x167867['MonthDate']:_0x586c05=_0x4447c2[_0x3868b7(0x271)];break;case _0x167867['YearQuarter']:_0x586c05=_0x4447c2[_0x3868b7(0x213)];break;default:_0x586c05='';break;}return _0x586c05;}const Ko=_0x1a4bb1(0x242),To={};var Ji=Object[_0x1a4bb1(0x1c6)],Hi=(_0x561ad8,_0xf0bcd6,_0x417bc3,_0x2a794c)=>{const _0x5dd4df=_0x1a4bb1;for(var _0x29a5f1=_0x2a794c>0x1?void 0x0:_0x2a794c?Ji(_0xf0bcd6,_0x417bc3):_0xf0bcd6,_0x184271=_0x561ad8[_0x5dd4df(0x2ac)]-0x1,_0xe33ded;_0x184271>=0x0;_0x184271--)(_0xe33ded=_0x561ad8[_0x184271])&&(_0x29a5f1=_0xe33ded(_0x29a5f1)||_0x29a5f1);return _0x29a5f1;},at=(_0x5d083a,_0x33a95b)=>(_0x1b02b5,_0x3490d8)=>_0x33a95b(_0x1b02b5,_0x3490d8,_0x5d083a);let ve=class extends _0x36ff7f{constructor(_0x59181c,_0x2b3560,_0x57e44f,_0x30c825,_0xa25a84){const _0x21f30e=_0x1a4bb1;super(),V(this,'_model',new Map()),V(this,_0x21f30e(0x238),new Map()),V(this,_0x21f30e(0x27a),new Map()),V(this,'_pivotTableMatrixInfo',new Map()),V(this,'_configVersion$',new _0x55f0e1()),V(this,_0x21f30e(0x292),new _0x55f0e1()),V(this,_0x21f30e(0x345),this['_pivotInitCompleted$'][_0x21f30e(0x3b0)]()),V(this,_0x21f30e(0x20e),new _0x55f0e1()),V(this,_0x21f30e(0x2d6),this[_0x21f30e(0x20e)]['asObservable']()),V(this,_0x21f30e(0x42e),{}),V(this,'configVersion$',this['_configVersion$'][_0x21f30e(0x3b0)]()),(this[_0x21f30e(0x2a1)]=_0x59181c,this[_0x21f30e(0x2ff)]=_0x2b3560,this[_0x21f30e(0x41d)]=_0x57e44f,this[_0x21f30e(0x2ec)]=_0x30c825,this[_0x21f30e(0x1de)]=_0xa25a84,this[_0x21f30e(0x37a)](),this['_initUnitDisposed']());const _0xc6cd2=this[_0x21f30e(0x1de)]['getConfig'](Ko);(_0xc6cd2==null?void 0x0:_0xc6cd2[_0x21f30e(0x3b4)])===!0x0&&this[_0x21f30e(0x3da)]();}['_initUnitDisposed'](){const _0x462698=_0x1a4bb1;this['disposeWithMe'](this[_0x462698(0x41d)][_0x462698(0x409)](_0x47d004[_0x462698(0x3de)])[_0x462698(0x369)](_0x42f24c=>{const _0x4fb16b=_0x462698;this[_0x4fb16b(0x325)](_0x42f24c[_0x4fb16b(0x319)]());}));}[_0x1a4bb1(0x403)](){const _0x3b38cb=_0x1a4bb1;this[_0x3b38cb(0x292)][_0x3b38cb(0x2b3)](!0x0);}[_0x1a4bb1(0x37a)](){const _0x1b7d28=_0x1a4bb1,_0xa35bc3=fo(this[_0x1b7d28(0x2a1)],Lo,'',{});this[_0x1b7d28(0x42e)]=_0xa35bc3,this[_0x1b7d28(0x2ff)][_0x1b7d28(0x3fc)](uo['id'],{'textInfo':_0xa35bc3},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x305a99=_0x1a4bb1;return this[_0x305a99(0x42e)];}['updateViewInfo'](_0x5c6159,_0x54f6cc,_0x4a5efc,_0x20345c,_0x4f76b0){const _0x78d4ab=_0x1a4bb1;this[_0x78d4ab(0x1c5)](_0x5c6159,_0x54f6cc,_0x4a5efc,_0x20345c),this['updatePivotTableRangeInfo'](_0x5c6159,_0x54f6cc,_0x4a5efc,_0x4f76b0);}[_0x1a4bb1(0x1df)](_0x592bfd,_0x503955,_0x5ebfb6){const _0x4c7e92=_0x1a4bb1;var _0x1eb68b;const _0x9913a1=(_0x1eb68b=this[_0x4c7e92(0x253)]['get'](_0x592bfd))==null?void 0x0:_0x1eb68b[_0x4c7e92(0x39e)](_0x503955);if(_0x9913a1)return _0x9913a1[_0x4c7e92(0x39e)](_0x5ebfb6);}[_0x1a4bb1(0x34c)](_0x96511,_0x1422d4){const _0xcfd3e=_0x1a4bb1,_0x291eca=this[_0xcfd3e(0x253)][_0xcfd3e(0x39e)](_0x96511);if(_0x291eca){for(const [_0x2d7604,_0x42c6b5]of _0x291eca[_0xcfd3e(0x1e1)]())for(const [_0x220639,_0x3b3c92]of _0x42c6b5[_0xcfd3e(0x1e1)]())if(_0x220639===_0x1422d4)return _0x3b3c92[_0xcfd3e(0x202)];}}[_0x1a4bb1(0x320)](_0x5ab9a7,_0x4b2873,_0x20abbf){const _0x598819=_0x1a4bb1,_0x35a42a=this['getPivotTableConfig'](_0x5ab9a7,_0x4b2873,_0x20abbf);return _0x35a42a==null?void 0x0:_0x35a42a[_0x598819(0x202)];}[_0x1a4bb1(0x2f1)](_0x272feb,_0x5ba15c){const _0x58d802=_0x1a4bb1;var _0x1addb4;return(_0x1addb4=this[_0x58d802(0x253)][_0x58d802(0x39e)](_0x272feb))==null?void 0x0:_0x1addb4['get'](_0x5ba15c);}[_0x1a4bb1(0x3a6)](_0x365a83,_0x2975fe,_0xcea72a,_0x1d910c){const _0xcece7c=_0x1a4bb1,_0x1337e1=this['_ensurePivotMap'](_0x365a83,_0x2975fe);_0x1d910c?_0x1337e1[_0xcece7c(0x1fc)](_0xcea72a,_0x1d910c):_0x1337e1['delete'](_0xcea72a),this['_pivotConfigChange$'][_0xcece7c(0x2b3)]({'unitId':_0x365a83,'subUnitId':_0x2975fe,'pivotTableId':_0xcea72a,'pivotTableConfig':_0x1d910c});}['getCollection'](_0x1d73f1,_0x2196f8){const _0x2a7311=_0x1a4bb1;var _0x4dd78d;return(_0x4dd78d=this[_0x2a7311(0x238)]['get'](_0x1d73f1))==null?void 0x0:_0x4dd78d[_0x2a7311(0x1d8)][_0x2196f8];}['updateCollectionConfig'](_0x5ca037,_0x519b09){const _0x3e1d07=_0x1a4bb1;this[_0x3e1d07(0x238)][_0x3e1d07(0x1fc)](_0x5ca037,_0x519b09),this[_0x3e1d07(0x250)][_0x3e1d07(0x2b3)](Math[_0x3e1d07(0x42f)]());}[_0x1a4bb1(0x439)](_0x308bc3,_0x59aa43){const _0xa67e46=_0x1a4bb1;let _0x2b3a71=this[_0xa67e46(0x253)][_0xa67e46(0x39e)](_0x308bc3);_0x2b3a71||(_0x2b3a71=new Map(),this[_0xa67e46(0x253)][_0xa67e46(0x1fc)](_0x308bc3,_0x2b3a71));let _0x281cb6=_0x2b3a71[_0xa67e46(0x39e)](_0x59aa43);return _0x281cb6||(_0x281cb6=new Map(),_0x2b3a71[_0xa67e46(0x1fc)](_0x59aa43,_0x281cb6)),_0x281cb6;}['_ensurePivotTableRangeInfo'](_0x2e25b0,_0xa53e){const _0xb4ef77=_0x1a4bb1;let _0x778a08=this[_0xb4ef77(0x27a)][_0xb4ef77(0x39e)](_0x2e25b0);_0x778a08||(_0x778a08=new Map(),this[_0xb4ef77(0x27a)][_0xb4ef77(0x1fc)](_0x2e25b0,_0x778a08));let _0x6d4213=_0x778a08[_0xb4ef77(0x39e)](_0xa53e);return _0x6d4213||(_0x6d4213=new Map(),_0x778a08[_0xb4ef77(0x1fc)](_0xa53e,_0x6d4213)),_0x6d4213;}[_0x1a4bb1(0x1c9)](_0x49ae9e,_0x634934){const _0x43e99b=_0x1a4bb1;let _0x2e4a33=this['_pivotTableMatrixInfo'][_0x43e99b(0x39e)](_0x49ae9e);_0x2e4a33||(_0x2e4a33=new Map(),this[_0x43e99b(0x383)][_0x43e99b(0x1fc)](_0x49ae9e,_0x2e4a33));let _0xd2d79b=_0x2e4a33['get'](_0x634934);return _0xd2d79b||(_0xd2d79b=new Map(),_0x2e4a33['set'](_0x634934,_0xd2d79b)),_0xd2d79b;}[_0x1a4bb1(0x23d)](_0x15e8c9,_0xd0a7d6,_0x1eda9b,_0x58eb7b){const _0x110179=_0x1a4bb1;var _0x473142;const _0xb544a4=this[_0x110179(0x387)](_0x15e8c9,_0xd0a7d6),_0x59c920=(_0x473142=_0xb544a4[_0x110179(0x39e)](_0x1eda9b))==null?void 0x0:_0x473142[_0x110179(0x437)];_0xb544a4[_0x110179(0x1fc)](_0x1eda9b,{'oldRangeInfo':_0x59c920,'rangeInfo':_0x58eb7b});}[_0x1a4bb1(0x1c5)](_0x2c10de,_0x3d8436,_0x21c812,_0x9222f2){const _0x49c815=_0x1a4bb1;var _0x57c24f;const _0x40c2b4=this['_ensurePivotTableMatrixInfo'](_0x2c10de,_0x3d8436),_0x636e18=(_0x57c24f=_0x40c2b4[_0x49c815(0x39e)](_0x21c812))==null?void 0x0:_0x57c24f[_0x49c815(0x1d5)];_0x40c2b4[_0x49c815(0x1fc)](_0x21c812,{'oldMatrix':_0x636e18,'matrix':_0x9222f2});}[_0x1a4bb1(0x24c)](_0x6d48fc,_0x46c22b,_0x24a347){const _0x40a591=_0x1a4bb1;var _0x4c7364,_0x43e731;return(_0x43e731=(_0x4c7364=this[_0x40a591(0x27a)][_0x40a591(0x39e)](_0x6d48fc))==null?void 0x0:_0x4c7364[_0x40a591(0x39e)](_0x46c22b))==null?void 0x0:_0x43e731[_0x40a591(0x39e)](_0x24a347);}[_0x1a4bb1(0x2f7)](_0x10a21b,_0x5e1fb3,_0x5593bb){const _0x39bc56=_0x1a4bb1;var _0x25ddca,_0x274bc3;return(_0x274bc3=(_0x25ddca=this[_0x39bc56(0x383)][_0x39bc56(0x39e)](_0x10a21b))==null?void 0x0:_0x25ddca[_0x39bc56(0x39e)](_0x5e1fb3))==null?void 0x0:_0x274bc3['get'](_0x5593bb);}[_0x1a4bb1(0x325)](_0x5c7dca){const _0x9a8dd2=_0x1a4bb1;this['_model'][_0x9a8dd2(0x3e5)](_0x5c7dca),this[_0x9a8dd2(0x238)][_0x9a8dd2(0x3e5)](_0x5c7dca);}[_0x1a4bb1(0x3c0)](_0xcf5320){const _0x57ae29=_0x1a4bb1,_0x159af3={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x57ae29(0x238)][_0x57ae29(0x39e)](_0xcf5320)&&(_0x159af3['dataFieldManagerConfig'][_0xcf5320]=this[_0x57ae29(0x238)][_0x57ae29(0x39e)](_0xcf5320)),this[_0x57ae29(0x253)][_0x57ae29(0x39e)](_0xcf5320)){_0x159af3[_0x57ae29(0x384)][_0xcf5320]={};const _0x4861df=this[_0x57ae29(0x253)][_0x57ae29(0x39e)](_0xcf5320);_0x4861df!=null&&_0x4861df['size']&&[..._0x4861df['keys']()][_0x57ae29(0x34b)](_0x31a537=>{const _0x447e4d=_0x57ae29,_0x5f3937=_0x4861df[_0x447e4d(0x39e)](_0x31a537);_0x5f3937!=null&&_0x5f3937[_0x447e4d(0x3ce)]&&(_0x159af3[_0x447e4d(0x384)][_0xcf5320][_0x31a537]={},[..._0x5f3937['keys']()][_0x447e4d(0x34b)](_0x1609ce=>{const _0x582926=_0x5f3937['get'](_0x1609ce);_0x582926&&(_0x159af3['pivotTableConfigs'][_0xcf5320][_0x31a537][_0x1609ce]=_0x582926);}));});}return _0x159af3;}[_0x1a4bb1(0x3da)](){const _0x1f2561=_0x1a4bb1;this['disposeWithMe'](this[_0x1f2561(0x2ec)][_0x1f2561(0x344)]({'toJson':_0x3a4dab=>JSON['stringify'](this[_0x1f2561(0x3c0)](_0x3a4dab)),'parseJson':_0x454b6e=>({}),'businesses':[_0x47d004[_0x1f2561(0x3de)]],'pluginName':ao,'onLoad':(_0x18fdad,_0x579b38)=>{},'onUnLoad':_0xcc0710=>{const _0x1774b2=_0x1f2561;this[_0x1774b2(0x325)](_0xcc0710);}}));}};ve=Hi([at(0x0,_0x772e00(_0x4ed77d)),at(0x1,_0x772e00(_0x554f1b)),at(0x2,_0x772e00(_0x41ab3d)),at(0x3,_0x772e00(_0x28a11b)),at(0x4,_0x772e00(_0x1893a6))],ve);var qi=Object['getOwnPropertyDescriptor'],Ki=(_0x3b588b,_0x293984,_0x4e207e,_0x46906c)=>{const _0x394529=_0x1a4bb1;for(var _0x5a513a=_0x46906c>0x1?void 0x0:_0x46906c?qi(_0x293984,_0x4e207e):_0x293984,_0xb4c900=_0x3b588b[_0x394529(0x2ac)]-0x1,_0x1aec8a;_0xb4c900>=0x0;_0xb4c900--)(_0x1aec8a=_0x3b588b[_0xb4c900])&&(_0x5a513a=_0x1aec8a(_0x5a513a)||_0x5a513a);return _0x5a513a;},rt=(_0x23ff81,_0x2bff1b)=>(_0x4a3563,_0x3970e0)=>_0x2bff1b(_0x4a3563,_0x3970e0,_0x23ff81);let Ne=class extends _0x36ff7f{constructor(_0x3a26a3,_0x111146,_0x594a28,_0x592bb1,_0x1c7061){const _0x3a9db7=_0x1a4bb1;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x3a9db7(0x3e9),new Map()),V(this,_0x3a9db7(0x3d1),new _0x55f0e1()),V(this,_0x3a9db7(0x302),this['_markDirty$']['asObservable']()),V(this,'_viewUpdate$',new _0x55f0e1()),V(this,_0x3a9db7(0x404),this[_0x3a9db7(0x389)][_0x3a9db7(0x3b0)]()),V(this,_0x3a9db7(0x42e)),(this[_0x3a9db7(0x25b)]=_0x3a26a3,this[_0x3a9db7(0x2a1)]=_0x111146,this['_sheetsPivotTableConfigModel']=_0x594a28,this[_0x3a9db7(0x41d)]=_0x592bb1,this[_0x3a9db7(0x2e2)]=_0x1c7061,this[_0x3a9db7(0x37a)](),this[_0x3a9db7(0x1e7)]());}[_0x1a4bb1(0x1e7)](){const _0x35f495=_0x1a4bb1;this['disposeWithMe'](this[_0x35f495(0x41d)][_0x35f495(0x409)](_0x47d004[_0x35f495(0x3de)])[_0x35f495(0x369)](_0x87ae93=>{const _0x2a33c6=_0x35f495;this[_0x2a33c6(0x325)](_0x87ae93[_0x2a33c6(0x319)]());}));}[_0x1a4bb1(0x37a)](){const _0x5f487e=_0x1a4bb1;this[_0x5f487e(0x42e)]=fo(this[_0x5f487e(0x2a1)],Lo,'',{});}[_0x1a4bb1(0x2c6)](_0x561bba){const _0xfb1c65=_0x1a4bb1,{view:_0x400d74,unitId:_0x2652db,subUnitId:_0x462633,pivotTableId:_0x2ad483,type:_0x47cf91}=_0x561bba,_0x3f5f1c=this[_0xfb1c65(0x294)][_0xfb1c65(0x1df)](_0x2652db,_0x462633,_0x2ad483);if(!_0x400d74||!_0x3f5f1c||_0x47cf91===B[_0xfb1c65(0x3b7)])return;const {pageView:_0x196c9e,cornerView:_0x1832f6,rowView:_0x91a01a,colView:_0x5c99fa,dataView:_0x5d15ce}=_0x400d74,_0x56c806=_0x3f5f1c[_0xfb1c65(0x202)],_0x1c16a4=_0x3f5f1c[_0xfb1c65(0x3d2)],_0x403dbd=this[_0xfb1c65(0x200)](_0x2652db,_0x462633),_0x89be0=this[_0xfb1c65(0x310)](_0x2652db,_0x462633,_0x2ad483);if(_0x1c16a4)return this[_0xfb1c65(0x416)](_0x561bba,_0x403dbd,_0x56c806,_0x89be0);{const _0x50fd15=ge(_0x56c806,_0x196c9e,!0x0),_0x51faf0=_0x196c9e['lastRow']>=0x0?_0x196c9e[_0xfb1c65(0x1e4)]+0x1:0x0,_0xff5dcc=_0x1832f6[_0xfb1c65(0x342)](),_0x502e09=_0x1832f6[_0xfb1c65(0x25e)](),_0x17333f=_0x50fd15[_0xfb1c65(0x2ac)]>0x0?It:0x0,_0x344e95=ge({'row':_0x56c806[_0xfb1c65(0x3dc)]+_0x51faf0+_0x17333f,'col':_0x56c806[_0xfb1c65(0x24a)]},_0x1832f6,!0x1,!0x1),_0x1225dd=ge({'row':_0x56c806['row']+_0x51faf0+_0x17333f+_0xff5dcc,'col':_0x56c806[_0xfb1c65(0x24a)]},_0x91a01a,!0x1,!0x0),_0x403055=ge({'row':_0x56c806['row']+_0x51faf0+_0x17333f,'col':_0x56c806[_0xfb1c65(0x24a)]+_0x502e09},_0x5c99fa,!0x1,!0x0),_0x2d35d4=ge({'row':_0x56c806['row']+_0x51faf0+_0x17333f+_0xff5dcc,'col':_0x56c806[_0xfb1c65(0x24a)]+_0x502e09},_0x5d15ce,!0x1,!0x1);_0x89be0[_0xfb1c65(0x222)]={'rowRanges':_0x1225dd,'colRanges':_0x403055,'cornerRanges':_0x344e95,'dataRanges':_0x2d35d4,'pageRanges':_0x50fd15};const _0x3ff783=Ti(this[_0xfb1c65(0x2a1)],_0x400d74,_0x3f5f1c,this[_0xfb1c65(0x42e)]),{valueMatrix:_0x5da014,rowInfo:_0xe32f70,colInfo:_0x593fe7,cornerInfo:_0x2a261e,rowHeaderMap:_0x6f4ae5,colHeaderMap:_0x122253}=_0x3ff783;return _0x89be0[_0xfb1c65(0x247)]={'rowInfo':_0xe32f70,'colInfo':_0x593fe7,'cornerInfo':_0x2a261e},_0x89be0[_0xfb1c65(0x246)]={'rowHeaderMap':_0x6f4ae5,'colHeaderMap':_0x122253},_0x5da014[_0xfb1c65(0x34b)]((_0x5bca56,_0x43d045)=>{const _0x1e6d5c=_0xfb1c65;Object[_0x1e6d5c(0x37f)](_0x43d045)[_0x1e6d5c(0x34b)](_0x5202d4=>{const _0x4f008b=_0x1e6d5c,_0x3ce8c1=+_0x5202d4,_0x5d69fb=_0x5da014[_0x4f008b(0x2fc)](_0x5bca56,_0x3ce8c1);_0x403dbd['setValue'](_0x5bca56,_0x3ce8c1,_0x5d69fb);});}),this[_0xfb1c65(0x389)][_0xfb1c65(0x2b3)]({'unitId':_0x2652db,'subUnitId':_0x462633,'valueMatrix':_0x403dbd,'rangesCache':_0x89be0[_0xfb1c65(0x222)],'pivotTableId':_0x2ad483,'type':_0x561bba[_0xfb1c65(0x1e0)]}),this['_sheetsPivotTableConfigModel'][_0xfb1c65(0x27d)](_0x2652db,_0x462633,_0x2ad483,_0x403dbd,_0x89be0[_0xfb1c65(0x222)]),this['_exclusiveRangeService'][_0xfb1c65(0x3f3)](_0x2652db,_0x462633,Wt,this['_createExclusiveRange'](_0x89be0[_0xfb1c65(0x222)],_0x2ad483)),{'rangeCache':_0x89be0[_0xfb1c65(0x222)],'matrix':_0x403dbd};}}['_updateRenderEmptyCache'](_0x552eab,_0x5961a1,_0x3b2d96,_0x1ebce4){const _0xa14746=_0x1a4bb1,_0x537698=this[_0xa14746(0x25b)]['t'],{unitId:_0x542bd5,subUnitId:_0x167b4d,pivotTableId:_0x39554a}=_0x552eab,_0x428048={'filter':_0x537698(_0xa14746(0x23f)),'row':_0x537698('sheets-pivot.emptyPivot.row'),'column':_0x537698('sheets-pivot.emptyPivot.column'),'values':_0x537698('sheets-pivot.emptyPivot.values')},{matrixCache:_0x419bdd,rangesCache:_0x11c263}=jo(_0x428048,_0x3b2d96);return _0x419bdd[_0xa14746(0x2c1)]((_0x2772ee,_0x11e40a,_0x3a2ce2)=>{const _0x1a6a18=_0xa14746;_0x5961a1[_0x1a6a18(0x22a)](_0x2772ee,_0x11e40a,_0x3a2ce2);}),_0x1ebce4[_0xa14746(0x222)]=_0x11c263,this[_0xa14746(0x389)][_0xa14746(0x2b3)]({'unitId':_0x542bd5,'subUnitId':_0x167b4d,'valueMatrix':_0x5961a1,'rangesCache':_0x11c263,'pivotTableId':_0x39554a,'type':_0x552eab['type'],'isEmpty':!0x0}),this[_0xa14746(0x294)][_0xa14746(0x27d)](_0x542bd5,_0x167b4d,_0x39554a,_0x5961a1,_0x11c263),this[_0xa14746(0x2e2)][_0xa14746(0x3f3)](_0x542bd5,_0x167b4d,Wt,this['_createExclusiveRange'](_0x11c263,_0x39554a)),{'rangeCache':_0x1ebce4[_0xa14746(0x222)],'matrix':_0x5961a1};}[_0x1a4bb1(0x38c)](_0xc33a2d,_0x1481c8){const _0x51f5bb=_0x1a4bb1,_0x40d18d=[],_0x31d1d2=Bt(_0xc33a2d);for(const _0x31d569 of _0x31d1d2)_0x40d18d[_0x51f5bb(0x3ea)]({'groupId':_0x1481c8,'range':_0x31d569});return _0x40d18d;}[_0x1a4bb1(0x2b4)](_0x4f43de){const _0xb51da=_0x1a4bb1;var _0x455768,_0x2a852c,_0x261eef,_0x43f31c;const {pivotTableId:_0x1e7fb6,unitId:_0x2462f4,subUnitId:_0x1ce896}=_0x4f43de;if(!_0x1e7fb6||!_0x2462f4||!_0x1ce896)return;const _0x2f8238=this[_0xb51da(0x200)](_0x2462f4,_0x1ce896),_0x25bf49=(_0x2a852c=(_0x455768=this[_0xb51da(0x2c9)]['get'](_0x2462f4))==null?void 0x0:_0x455768[_0xb51da(0x39e)](_0x1ce896))==null?void 0x0:_0x2a852c[_0xb51da(0x39e)](_0x1e7fb6);if(_0x25bf49!=null&&_0x25bf49[_0xb51da(0x222)]){for(const _0x5d873f of Object['keys'](_0x25bf49[_0xb51da(0x222)]))_0x25bf49[_0xb51da(0x222)][_0x5d873f][_0xb51da(0x34b)](_0x11e232=>{const _0xa24c11=_0xb51da;for(let _0x2c5a7e=_0x11e232[_0xa24c11(0x296)];_0x2c5a7e<=_0x11e232[_0xa24c11(0x417)];_0x2c5a7e++)for(let _0x24f818=_0x11e232['startColumn'];_0x24f818<=_0x11e232[_0xa24c11(0x1fe)];_0x24f818++)_0x2f8238[_0xa24c11(0x43f)](_0x2c5a7e,_0x24f818);});}_0x25bf49&&((_0x43f31c=(_0x261eef=this['_pivotRenderInfoCache'][_0xb51da(0x39e)](_0x2462f4))==null?void 0x0:_0x261eef[_0xb51da(0x39e)](_0x1ce896))==null||_0x43f31c[_0xb51da(0x3e5)](_0x1e7fb6)),this[_0xb51da(0x389)][_0xb51da(0x2b3)]({'unitId':_0x2462f4,'subUnitId':_0x1ce896,'valueMatrix':_0x2f8238,'pivotTableId':_0x1e7fb6,'rangesCache':void 0x0,'type':_0x4f43de['type']}),this[_0xb51da(0x2e2)][_0xb51da(0x2a6)](_0x2462f4,_0x1ce896,Wt,_0x1e7fb6);}['_ensurePivotItemRenderInfoCache'](_0x2b35bd,_0x28f991,_0x5018ef){const _0x34c160=_0x1a4bb1;var _0x4ef8d8,_0x7f3e96,_0x4eb17e,_0x483e05,_0x13b5a7,_0x26b998;return this[_0x34c160(0x2c9)][_0x34c160(0x2bb)](_0x2b35bd)||this[_0x34c160(0x2c9)]['set'](_0x2b35bd,new Map()),(_0x4ef8d8=this['_pivotRenderInfoCache'][_0x34c160(0x39e)](_0x2b35bd))!=null&&_0x4ef8d8[_0x34c160(0x2bb)](_0x28f991)||(_0x7f3e96=this[_0x34c160(0x2c9)][_0x34c160(0x39e)](_0x2b35bd))==null||_0x7f3e96['set'](_0x28f991,new Map()),(_0x483e05=(_0x4eb17e=this[_0x34c160(0x2c9)][_0x34c160(0x39e)](_0x2b35bd))==null?void 0x0:_0x4eb17e[_0x34c160(0x39e)](_0x28f991))!=null&&_0x483e05[_0x34c160(0x2bb)](_0x5018ef)||(_0x26b998=(_0x13b5a7=this[_0x34c160(0x2c9)][_0x34c160(0x39e)](_0x2b35bd))==null?void 0x0:_0x13b5a7['get'](_0x28f991))==null||_0x26b998[_0x34c160(0x1fc)](_0x5018ef,{}),this[_0x34c160(0x2c9)][_0x34c160(0x39e)](_0x2b35bd)[_0x34c160(0x39e)](_0x28f991)[_0x34c160(0x39e)](_0x5018ef);}[_0x1a4bb1(0x200)](_0x536d9e,_0x2f316a){const _0x32cd34=_0x1a4bb1;var _0x4557ca,_0x579d72;return this['_pivotRenderValueMatrixCache'][_0x32cd34(0x2bb)](_0x536d9e)||this[_0x32cd34(0x3e9)][_0x32cd34(0x1fc)](_0x536d9e,new Map()),(_0x4557ca=this['_pivotRenderValueMatrixCache'][_0x32cd34(0x39e)](_0x536d9e))!=null&&_0x4557ca[_0x32cd34(0x2bb)](_0x2f316a)||(_0x579d72=this['_pivotRenderValueMatrixCache']['get'](_0x536d9e))==null||_0x579d72[_0x32cd34(0x1fc)](_0x2f316a,new _0x18ce59()),this[_0x32cd34(0x3e9)]['get'](_0x536d9e)['get'](_0x2f316a);}[_0x1a4bb1(0x435)](_0x5a987c,_0x4d6344,_0x41e7b5,_0x19b152){const _0x451fd2=_0x1a4bb1;var _0x3f585f,_0x38df83;const _0x28576e=(_0x38df83=(_0x3f585f=this[_0x451fd2(0x3e9)]['get'](_0x5a987c))==null?void 0x0:_0x3f585f['get'](_0x4d6344))==null?void 0x0:_0x38df83[_0x451fd2(0x2fc)](_0x41e7b5,_0x19b152);if(_0x28576e!=null)return _0x28576e;}['getPivotTableIdByCell'](_0x5460c1,_0x4f2ca2,_0x3d8958,_0x5edad8){const _0x525ffb=_0x1a4bb1;var _0x165fbe;const _0x3b124c=_0x1bfeee(_0x3d8958,_0x5edad8),_0x1a7132=(_0x165fbe=this[_0x525ffb(0x2c9)][_0x525ffb(0x39e)](_0x5460c1))==null?void 0x0:_0x165fbe[_0x525ffb(0x39e)](_0x4f2ca2);return _0x1a7132?Array['from'](_0x1a7132['keys']())[_0x525ffb(0x3e1)](_0x3f6623=>{const _0x13873b=_0x525ffb,_0x50e72b=_0x1a7132[_0x13873b(0x39e)](_0x3f6623),_0x5942e9=_0x50e72b==null?void 0x0:_0x50e72b[_0x13873b(0x222)];return _0x5942e9?Object[_0x13873b(0x37f)](_0x5942e9)['some'](_0x4ceb7c=>_0x5942e9[_0x4ceb7c][_0x13873b(0x2f6)](_0x5755a1=>_0x41833c['contains'](_0x5755a1,_0x3b124c))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x469a3b,_0x26058c,_0xb3b430){const _0x4ce892=_0x1a4bb1;var _0x28144c;const _0x22f638=(_0x28144c=this['_pivotRenderInfoCache']['get'](_0x469a3b))==null?void 0x0:_0x28144c['get'](_0x26058c),_0xad86b8=[];return _0x22f638&&Array['from'](_0x22f638['keys']())[_0x4ce892(0x34b)](_0x121c3d=>{const _0x578d15=_0x4ce892,_0x487237=_0x22f638[_0x578d15(0x39e)](_0x121c3d),_0x29c110=_0x487237==null?void 0x0:_0x487237[_0x578d15(0x222)];if(_0x29c110)for(const _0x1366e4 of Object[_0x578d15(0x2e0)](_0x29c110)){let _0x270ac5=!0x1;for(const _0x1eadbd of _0x1366e4)if(_0x41833c['intersects'](_0x1eadbd,_0xb3b430)){_0xad86b8[_0x578d15(0x3ea)](_0x121c3d),_0x270ac5=!0x0;break;}if(_0x270ac5)break;}}),_0xad86b8;}[_0x1a4bb1(0x358)](_0x23a15c,_0x4c92cb){const _0xb7accd=_0x1a4bb1;var _0x1b51c5,_0x29798b;return(_0x29798b=(_0x1b51c5=this[_0xb7accd(0x3e9)]['get'](_0x23a15c))==null?void 0x0:_0x1b51c5[_0xb7accd(0x39e)](_0x4c92cb))!=null?_0x29798b:new _0x18ce59();}[_0x1a4bb1(0x33c)](_0x242ddf,_0x540b50){const _0x1897e9=_0x1a4bb1;var _0x45037f;return(_0x45037f=this['_pivotRenderInfoCache'][_0x1897e9(0x39e)](_0x242ddf))==null?void 0x0:_0x45037f[_0x1897e9(0x39e)](_0x540b50);}[_0x1a4bb1(0x258)](_0x1a98c1,_0x3466dd,_0x1f448b){const _0x453cf1=_0x1a4bb1;var _0x330915,_0x409ec6;return(_0x409ec6=(_0x330915=this[_0x453cf1(0x2c9)]['get'](_0x1a98c1))==null?void 0x0:_0x330915[_0x453cf1(0x39e)](_0x3466dd))==null?void 0x0:_0x409ec6['get'](_0x1f448b);}[_0x1a4bb1(0x325)](_0x82ff01){const _0xbc1385=_0x1a4bb1;this['_pivotRenderInfoCache'][_0xbc1385(0x3e5)](_0x82ff01),this[_0xbc1385(0x3e9)]['delete'](_0x82ff01);}[_0x1a4bb1(0x3a1)](_0x17bd98,_0xc90c34){const _0x583a62=_0x1a4bb1;this[_0x583a62(0x3d1)][_0x583a62(0x2b3)]({'unitId':_0x17bd98,'subUnitId':_0xc90c34});}};Ne=Ki([rt(0x0,_0x772e00(_0x58b50b)),rt(0x1,_0x772e00(_0x4ed77d)),rt(0x2,_0x772e00(ve)),rt(0x3,_0x772e00(_0x41ab3d)),rt(0x4,_0x772e00(_0x1f541a))],Ne);var Yi=Object[_0x1a4bb1(0x1c6)],Qi=(_0x38ca2b,_0x35a194,_0x4c05d7,_0x2dea72)=>{const _0x16a05d=_0x1a4bb1;for(var _0x20580f=_0x2dea72>0x1?void 0x0:_0x2dea72?Yi(_0x35a194,_0x4c05d7):_0x35a194,_0x5a8144=_0x38ca2b[_0x16a05d(0x2ac)]-0x1,_0x3d4cdc;_0x5a8144>=0x0;_0x5a8144--)(_0x3d4cdc=_0x38ca2b[_0x5a8144])&&(_0x20580f=_0x3d4cdc(_0x20580f)||_0x20580f);return _0x20580f;},Mo=(_0x5f0764,_0x2b63d5)=>(_0xb63ca9,_0x2cb48)=>_0x2b63d5(_0xb63ca9,_0x2cb48,_0x5f0764);let ie=class extends _0x36ff7f{constructor(_0x21ed6c,_0x169222){const _0x19b1e2=_0x1a4bb1;super(),V(this,_0x19b1e2(0x280),new _0x494024({'PIVOT_PERFORM_CHECK':be})),V(this,'interceptor',new _0x421eb3({'PIVOT_MUTATION_GENERATE':Go})),(this[_0x19b1e2(0x3f7)]=_0x21ed6c,this[_0x19b1e2(0x23e)]=_0x169222,this[_0x19b1e2(0x428)]());}[_0x1a4bb1(0x428)](){this['_initViewModelBySheetInterceptor']();}[_0x1a4bb1(0x237)](_0x100c2c){const _0x17b73a=_0x1a4bb1;return this[_0x17b73a(0x280)][_0x17b73a(0x1dc)](be)(!0x1,_0x100c2c);}['_initViewModelBySheetInterceptor'](){const _0x38d7dd=_0x1a4bb1;this[_0x38d7dd(0x323)](this['_sheetInterceptorService']['intercept'](_0x44882f[_0x38d7dd(0x318)],{'priority':0xc8,'effect':_0x2c3ce5[_0x38d7dd(0x1d9)]|_0x2c3ce5['Style'],'handler':(_0xe960ad,_0x14cf11,_0x1d3329)=>{const _0xe6ff05=_0x38d7dd,{row:_0x295744,col:_0xe92aa2,unitId:_0x27ff52,subUnitId:_0x273777,workbook:_0x489f75}=_0x14cf11,_0x3a7e73=this['_sheetsPivotTableAdaptorModel'][_0xe6ff05(0x435)](_0x27ff52,_0x273777,_0x295744,_0xe92aa2);if(!_0x3a7e73)return _0x1d3329(_0xe960ad);const _0x43c57a={..._0xe960ad};(_0x3a7e73['v']||_0x3a7e73['v']===0x0)&&(_0x43c57a['v']=_0x3a7e73['v']),_0x3a7e73['t']&&(_0x43c57a['t']=_0x3a7e73['t']);const _0x18f23c=(typeof(_0xe960ad==null?void 0x0:_0xe960ad['s'])=='string'?_0x489f75[_0xe6ff05(0x42d)]()['get'](_0xe960ad==null?void 0x0:_0xe960ad['s']):_0xe960ad==null?void 0x0:_0xe960ad['s'])||{},_0x46df21=_0x489f75[_0xe6ff05(0x42d)]()[_0xe6ff05(0x39e)](_0x3a7e73['s']),_0xb31f68={..._0x46df21,..._0x18f23c};_0x46df21!=null&&_0x46df21['n']&&(_0xb31f68['n']=_0x46df21['n']);const _0x2dfbaa=_0x489f75['getStyles']()[_0xe6ff05(0x22a)](_0xb31f68);return _0x43c57a['s']=_0x2dfbaa,(_0x3a7e73[_0xe6ff05(0x1c7)]===_0xfeaa95[_0xe6ff05(0x2b7)]||_0x3a7e73[_0xe6ff05(0x1c7)]===_0xfeaa95['Expand'])&&(_0x43c57a[_0xe6ff05(0x444)]={},_0x43c57a['fontRenderExtension'][_0xe6ff05(0x2bd)]=li),_0x1d3329(_0x43c57a);}}));}};ie=Qi([Mo(0x0,_0x772e00(_0x3956fc)),Mo(0x1,_0x772e00(Ne))],ie);function Nt(_0x20f4fa,_0x2f851c){const _0x3b4869=_0x1a4bb1;switch(_0x2f851c){case _0xf3a50c[_0x3b4869(0x1d9)]:return _0x20f4fa[_0x3b4869(0x262)];case _0xf3a50c['Filter']:return _0x20f4fa[_0x3b4869(0x43b)];case _0xf3a50c['Row']:return _0x20f4fa['rowFields'];case _0xf3a50c[_0x3b4869(0x418)]:return _0x20f4fa[_0x3b4869(0x448)];default:return[];}}function $e(_0x7cdb2b,_0x25fe7c){const _0x273ebc=_0x1a4bb1;return _0x7cdb2b[_0x273ebc(0x2ed)][_0x25fe7c]||_0x7cdb2b[_0x273ebc(0x25c)][_0x25fe7c];}function Zi(_0x4a206c,_0x4ff9d5){const _0x3176d3=_0x1a4bb1,{area:_0x33f26f,fieldJson:_0x4fb826,index:_0x211b62}=_0x4ff9d5;_0x33f26f===_0xf3a50c[_0x3176d3(0x1d9)]?_0x4a206c[_0x3176d3(0x2ed)][_0x4fb826['id']]=_0x4fb826:_0x4a206c['dimension'][_0x4fb826['id']]=_0x4fb826,Nt(_0x4a206c,_0x33f26f)['splice'](_0x211b62,0x0,_0x4fb826['id']);}function Xi(_0x2062ed,_0x1da5cd){const _0x251df6=_0x1a4bb1,{area:_0xf5fde6,fieldId:_0x4fec,index:_0x1b480b}=_0x1da5cd;_0xf5fde6===_0xf3a50c[_0x251df6(0x1d9)]?delete _0x2062ed[_0x251df6(0x2ed)][_0x4fec]:delete _0x2062ed[_0x251df6(0x25c)][_0x4fec],Nt(_0x2062ed,_0xf5fde6)[_0x251df6(0x2c7)](_0x1b480b,0x1);}function es(_0x14302c,_0x4bb859){const _0x1c5979=_0x1a4bb1,{fieldId:_0x4c7cd6,name:_0x3183ec}=_0x4bb859,_0x53ab0b=$e(_0x14302c,_0x4c7cd6);_0x53ab0b&&(_0x53ab0b[_0x1c5979(0x1d4)]=_0x3183ec);}function ts(_0x3aa253,_0x2d36a9){const _0x298087=_0x1a4bb1,{fieldId:_0x31e3f1,collapse:_0x26f582,item:_0x2c962a}=_0x2d36a9;_0x2c962a!==void 0x0?(_0x3aa253[_0x298087(0x368)][_0x31e3f1]=_0x3aa253['collapseInfo'][_0x31e3f1]||{},_0x3aa253[_0x298087(0x368)][_0x31e3f1][_0x2c962a]=_0x26f582):_0x3aa253[_0x298087(0x368)][_0x31e3f1]=_0x26f582;}function os(_0x4fc764,_0xa06a4a){const _0x56efa9=_0x1a4bb1,{fieldId:_0x4743e5,format:_0xb2f01}=_0xa06a4a,_0x13f718=$e(_0x4fc764,_0x4743e5);_0x13f718&&(_0x13f718[_0x56efa9(0x2b9)]=_0xb2f01);}function ns(_0x3c4595,_0x143833){const _0x3f2537=_0x1a4bb1,{fieldId:_0x55f7be,filterInfo:_0xbbe3b0}=_0x143833,_0x1b4e4b=$e(_0x3c4595,_0x55f7be);_0x1b4e4b&&(_0x1b4e4b[_0x3f2537(0x269)]=_0xbbe3b0);}function is(_0x2bf4c8,_0x11bc03){const _0x2b7e52=_0x1a4bb1,{fieldId:_0x35dbf5,filterInfo:_0xad812b}=_0x11bc03,_0x5c64f5=_0x2bf4c8[_0x2b7e52(0x226)][_0x2b7e52(0x2c0)](_0x424c0c=>_0x424c0c[_0x2b7e52(0x2f5)]!==_0x35dbf5);_0xad812b&&_0x5c64f5[_0x2b7e52(0x3ea)]({'fieldId':_0x35dbf5,'filterInfo':_0xad812b}),_0x2bf4c8['valueFilter']=_0x5c64f5;}function ss(_0x173b45,_0x264cad){const _0xc92b40=_0x1a4bb1,{fieldId:_0x5df3c7,subtotalType:_0x1cd4dd}=_0x264cad,_0x59e7a9=$e(_0x173b45,_0x5df3c7);_0x59e7a9&&(_0x59e7a9[_0xc92b40(0x376)]=_0x1cd4dd);}function as(_0x1b01e6,_0x47bcd8){const _0x33c35d=_0x1a4bb1,{fieldId:_0x205548,oldArea:_0x483e2e,area:_0x1d8344,oldIndex:_0x3a7bcb,index:_0x2e13cd}=_0x47bcd8,_0x29667e=_0x483e2e!==_0xf3a50c[_0x33c35d(0x1d9)]&&_0x1d8344===_0xf3a50c[_0x33c35d(0x1d9)],_0x36b4b5=_0x483e2e===_0xf3a50c[_0x33c35d(0x1d9)]&&_0x1d8344!==_0xf3a50c[_0x33c35d(0x1d9)];if(_0x29667e||_0x36b4b5){const _0x40f66d=$e(_0x1b01e6,_0x205548);_0x40f66d&&(_0x29667e?(delete _0x1b01e6['dimension'][_0x205548],_0x1b01e6[_0x33c35d(0x2ed)][_0x205548]=_0x40f66d):(delete _0x1b01e6[_0x33c35d(0x2ed)][_0x205548],_0x1b01e6[_0x33c35d(0x25c)][_0x205548]=_0x40f66d));}const _0x3ece25=Nt(_0x1b01e6,_0x483e2e),_0x2d8e7a=Nt(_0x1b01e6,_0x1d8344);_0x3ece25[_0x33c35d(0x2c7)](_0x3a7bcb,0x1),_0x2d8e7a[_0x33c35d(0x2c7)](_0x2e13cd,0x0,_0x205548);}function _0x4fac(){const _0xf3143c=['Delete','tuple','sheet.mutation.send-pivot-view-local','average','getViewData','getCellMatrix','addPivotTableWithConfig','subTotalStyle','sheet.mutation.remove-pivot-table','_toJSON','setLabelFilterInfo','setName','setOptions','unitId','sheets-pivot.cellDateGroupDisplay.yearMonth','collectionConfig','valueIndex','sheet.mutation.set-pivot-value-filter','needSameDeleteModel','onQueryStart','filterId','YearMonth','resetArea','size','getFieldInfo','fetchThroughInterceptors','_markDirty$','isEmpty','getColumnCount','Set','Max\x20of\x20','forRow','parse','pushUndoRedo','NotNumber','_initSnapshot','sheet.command.add-pivot-table-with-config','row','_generateUniqueVersion','UNIVER_SHEET','startColumn','rangeType','find','sheet.command.set-pivot-filter','NotName','setDataRecordCount','delete','sheet.mutation.rename-pivot-field','sheet.command.set-pivot-field-setting','registerCallbackWithEvent','_pivotRenderValueMatrixCache','push','registerRefRange','sheet.mutation.send-pivot-data-local','NO_COMMERCIAL','getMatrixFromRunTimeData','add','sheets-pivot.value','error','setPivotTableConfig','addExclusiveRange','Row','getDataFieldByRangeKey','sheets-pivot.cellDateGroupDisplay.month','_sheetInterceptorService','sheets-pivot.blank','floor','PivotMultipleValueId','getFilterInfo','executeCommand','startCollectChangeset','_host','sheets-pivot.minName','sheet.mutation.send-init-pivot-text-local','single','setDateType','setPivotInitCompleted','viewUpdate$','AddPivotTableWithConfig','string','Hour','sheet.command.set-pivot-collapse','getTypeOfUnitDisposed$','generateMutationsByRanges','stringify','setTextInfo','intercept','fieldIds','_refRangeService','StdDev\x20of\x20','Existing','getFormat','setPivotCollapse','iterateFieldDim','sheet.command.move-pivot-table','_updateRenderEmptyCache','endRow','Column','sheets-pivot.dateGroup.month','setRangeKeyMap','iterateFieldByArea','sheets-pivot.stdDevpName','_univerInstanceService','version','setRange','getIndexesByPathStr','getHeaderMapItem','dateType','addCollection','panel','RemovePivotField','movePivotField','UpdatePivotSource','_init','Quarter','Count\x20of\x20','sheets-pivot.columnName','_sheetsPivotDataSourceModel','getStyles','_textInfo','random','getLastCol','sheet.command.add-pivot-field','setDirty','_dataSyncPrimaryController','getPivotTableModelConfig','getPivotTableCellData','getTextInfo','oldRangeInfo','disposableCollection','_ensurePivotMap','getPivotDisplayConfig','filterFields','max','getRangeStartEndInfo','paths','realDeleteValue','rangeKey','rowRanges','sheet.command.update-date-group','YearQuarter','fontRenderExtension','slice','uniqueDataFieldName','countNums','columnFields','getValueFilterInfos','sheet.command.move-pivot-field','getRefRangeMutationsByMoveRange','updatePivotTableMatrixInfo','getOwnPropertyDescriptor','pbt','dataStyle','_ensurePivotTableMatrixInfo','originTargetInfo','getFieldFormat','449150GSQhSU','cornerInfo','sheets-pivot.stdDevName','New','_refRangeHandle','isArray','setConfig','getFieldById','displayName','oldMatrix','getNoUsedDataFieldIds','options','collections','Value','value','deleteField','fetchThroughAsyncInterceptors','hasField','_configService','getPivotTableConfig','type','entries','#eceeff','Minute','lastRow','column','_ensureViewDataMap','_initUnitDisposed','SetPivotCollapse','getformat','getMatrix','sheets-pivot.sumName','getSheetId','workbook\x20is\x20not\x20found','sheets-pivot.dateGroup.year','addPivotField','sheet.mutation.pivot-update-field-position','cornerStyle','getTableFieldById','_deleteModelCache','updateRangeKeyMap','getFormatInfo','sheets-pivot.dateGroup.minute','interceptor','sheets-pivot.varpName','SetSortInfo','74778CpYzuy','defineProperty','set','getTextSize','endColumn','dataFieldManagerConfig','_ensurePivotItemRenderValueMatrixCache','addDataFieldWithoutUnitInfo','targetCellInfo','UpdateValuePosition','setFieldFormat','SetPivotFilter','sheet.command.reset-pivot-fields-config','MIN_SAFE_INTEGER','onStarting','triggerDirtyFeature','cornerRanges','pivotPerformCheck','DrillDown','level','_pivotConfigChange$','PIVOT_MUTATION_GENERATE','dataRangeInfo','isDate','refreshDataField','sheets-pivot.dateGroup.yearQuarter','updateDirtyPivotTable','registerCommand','_sheetsPivotTableService','from','queryDirtyPivotTable','shouldClear','addCollectionByJSON','sheets-pivot.cellDateGroupDisplay.yearMonthDate','return\x20','_featureCalculationManagerService','SetValuePivotFilter','Date','foreach','_subjectCollectionChange','rangesInfo','message','Month','getAutoFitColumnsMutations','valueFilter','rangeKeyMap','getUnit','StdDevp\x20of\x20','setValue','_updateModelCache','setRangeValueRedoMutation','updateViewData','collection','sheets-pivot.maxName','setPivotFilter','getLastRow','date','handleMoveRange','dataFields','setSourceName','ResetPivotTable','getPivotPerformCheck','_collectionConfigModel','endCollectChangeset','reduce','Add','Subtotal','updatePivotTableRangeInfo','_sheetsPivotTableAdaptorModel','sheets-pivot.emptyPivot.filter','createDataFieldId','SetOptions','sheets-pivot.config','sheets-pivot.subTotal','getDataFieldByDataFieldId','isBottomTotal','headerMap','areaInfo','valuePosition','sheets-pivot.averageName','col','getCellRaw','getPivotTableRangeInfo','UpdateSource','MovePivotField','68vIjdCt','_configVersion$','NORMAL','sheets-pivot.dateGroup.hourMinute','_model','getDirtyInfo','50lhfwkY','NUM','setPivotSort','getPivotItemRenderInfoCache','None','body','_localeService','dimension','unshift','getColCount','document','removeCollectionImp','getDataFieldId','valueFields','getMonth','lastCol','getDataFieldManager','textInfo','reset','stdDevp','filterInfo','getInterceptPoints','_viewData$','AddField','NAME','getSubtotal','versions','removeValueFilterInfo','sheets-pivot.dateGroup.monthDate','getId','4SmrmQP','sheets-pivot.dateGroup.date','updateAllDisplayName','Sum\x20of\x20','AddPivotField','getDataFieldBySourceName','5524365CoQsJA','_pivotTableRangeInfo','colStyle','getMatrixValue','updateViewInfo','isValue','handleAsyncResponse','asyncInterceptor','HourMinute','params','count','number','updateCollectionConfig','range','sheets.tabs.sheet','hasOwnProperty','getFieldPositionInfoById','_subjectFieldsCollectionChange','call','map','sheet.mutation.send-pivot-config-local','MUTATION','result','width','parseInt','_pivotInitCompleted$','getFullYear','_sheetsPivotTableConfigModel','getAutoDisplayNameFunction','startRow','getUpdateRangeDeleteIds','setSortInfo','getRangeKey','sheets-pivot.cellDateGroupDisplay.hour','deepClone','sheets-pivot.dateGroup.yearMonth','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheet.operation.pivot-table-view-formula-mark-dirty','SetCollapse','colCount','_injector','getGroupFieldsInfoByIds','leafStyle','getPivotDirtyViewInfo','sheet.mutation.update-pivot-table-source-range','clearExclusiveRangesByGroupId','colInfo','fieldsConfig','getSourceName','sheet.mutation.add-group-collection','Min\x20of\x20','length','AddPivotTable','_getAutoName','96468BUFcOu','getDataFieldByTableId','rangeCache','getOriginFieldId','next','clearRenderCache','_lifecycleService','setCollapse','Collapse','grandTotal','format','2498144zEeQen','has','setRangeValueUndoMutation','leftOffset','_initPivotDataGetListener','contains','filter','forValue','sheets-pivot.varName','updateValuePosition','_initDataSendListener','deleteDataField','updateRenderCache','splice','Var\x20of\x20','_pivotRenderInfoCache','getSheets','Varp\x20of\x20','bind','sheet.mutation.set-pivot-collapse','\x20-\x20','getRangeKeyList','resetPivotTable','REF','sourceRangeInfo','_sheetsSelectionsService','broadcastCollectionChange','Total','pivotConfigChange$','(Blank)','fromJSON','_collectionChange$','pushComputingStatusSubject','Panel','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_subjectViewChange','getValueIndex','setDisplayName','values','GrandTotal','_exclusiveRangeService','sheet.mutation.set-pivot-sort-info','SetValueFilter','minDate','getPivotTableInstance','_viewData','info','iterateField','data','rowInfo','_resourceManagerService','measure','query','sheet.command.update-pivot-value-position','_updatePivotTableInstanceCache','getSubUnitPivotConfigs','sheet.mutation.set-pivot-filter','new','getCollection','fieldId','some','getPivotTableMatrixInfo','sheets-pivot.cellDateGroupDisplay.quarter','getFieldIds','146420wHmFZd','_config','getValue','setValuePivotFilter','_getPivotAppliedRanges','_commandService','getDataFieldItemInfo','sheet.command.set-pivot-sort','markDirty$','registerDirtyService','rowStyle','updateView','setSubtotalType','refreshGroupField','matrix','getConfig','NUMBER','sheet.command.set-pivot-value-filter','custom','colRanges','renameField','3663seNwNq','_ensurePivotItemRenderInfoCache','sheets-pivot.cellDateGroupDisplay.date','ManualFilter','_globalComputedStartHelpFunc','_dataFieldManagerCollection','valid','pageRanges','_globalComputingSrv','CELL_CONTENT','getUnitId','getActiveSheet','addDirtyPivotTable','substring','sheetName','adjustSheetCellData','sheets-pivot.dateGroup.quarter','getTargetByPivotId','getFieldCountByArea','pageStyle','disposeWithMe','SHEET_PIVOT_IN_MAIN_THREAD','deleteUnitId','sheets-pivot.dateGroup.hour','getRangeData','#e6ebfa','_initPivotTextInfo','dispose','addFieldWithSourceId','dataFieldsCollection','register','product','initDataRanges','_activeDirtyManagerService','dataFieldId','name','rowCount','addRecord','_fieldsCollectionChange$','ptn','token','#1d32e9','_initClearSelectionCommandInterceptor','getCurrentUnitForType','6axJKPM','getSubUnitPivotRenderCache','getSheetBySheetName','batch','getDate','fieldsCollectionChange$','sheet.command.set-pivot-fields-config','getRowCount','getPivotTableIdByCell','registerPluginResource','pivotInitCompleted$','addPivotTable','updateFieldPosition','sheet.mutation.add-pivot-field','registerSyncingMutations','getFilterFieldIdByIndex','forEach','getTargetByPivotTableId','isColMultiMeasure','getDisplayName','addField','_globalComputedEndHelpFunc','prefix','sortInfo','updateDataFieldsCollection','onCommandExecuted','_pivotTableInstanceCache','redos','_requestResolvers','getSubUnitPivotMatrix','RenameField','collectionChange$','_queryingMap','interceptCommand','getIntersects','Year','symbol','updatePivotSource','getValuePosition','sheets-pivot.productName','COMMAND','sheet.mutation.set-pivot-field-subtotal-type','drillDown','concat','fields','collapseInfo','subscribe','sheets-pivot.cellDateGroupDisplay.minute','_initCommandInterceptListener','update','sheet.mutation.pivot-update-field-source-info','removePivotField','replace','MAX_SAFE_INTEGER','generateNewSheetName','_initConfig','prototype','refreshData','UpdateFieldPosition','subtotal','2954493XCEZaE','YearMonthDate','SetPivotSetting','_initLocale','node','sheets-pivot.grandTotal','_globalSubject','FORCE_STRING','keys','tableFieldId','_initRemoveSheetCommandInterceptor','#f4f4f5','_pivotTableMatrixInfo','pivotTableConfigs','#FFFFFF','subUnitId','_ensurePivotTableRangeInfo','handleSourceRangeChange','_viewUpdate$','limit\x20pivot','pivotTableId','_createExclusiveRange','removeField','formJSON','rowHeaderMap','getFieldDataType','setValueFilterInfo','setPivotSetting','_onRefRangeChange','_sheetsPivotRpcService','sourceName','sum','getSheetBySheetId','getName','originalFieldId','Filter','pluginName','SetPivotSort','undos','get','min','charCodeAt','markDirty','toString','Grand\x20Total','SetPivotTableConfig','removeSourceRangeChange','updateConfigCache','removeValueFilterInfoByValueFieldId','sheet.mutation.set-pivot-format','getSortInfo','#b2b2b2','intersects','blank','STRING','createCollectionWithDataRange','updateConfig','asObservable','removeDataField','removePivotTable','toJSON','notExecuteFormula','removeCollections','sheets-pivot.cellDateGroupDisplay.hourMinute'];_0x4fac=function(){return _0xf3143c;};return _0x4fac();}function rs(_0x5cab53,_0x26317d){const _0x271a65=_0x1a4bb1,{valuePosition:_0x4aa0a3,index:_0x42ad99}=_0x26317d;_0x5cab53[_0x271a65(0x248)]=_0x4aa0a3,_0x5cab53['valueIndex']=_0x42ad99;}function ls(_0x27893f,_0x307346){const _0x9fd57b=_0x1a4bb1,{tableFieldId:_0x18bb2c,sourceName:_0x24dfd5,dataFieldId:_0x51c149}=_0x307346,_0x5cf551=$e(_0x27893f,_0x18bb2c);_0x5cf551&&(_0x5cf551[_0x9fd57b(0x395)]=_0x24dfd5,_0x5cf551['dataFieldId']=_0x51c149);}function ds(_0x40ceaf,_0x4044b9){const _0x2e9df0=_0x1a4bb1,{fieldId:_0x7a3d22,sortInfo:_0x3468de}=_0x4044b9,_0x3f2047=$e(_0x40ceaf,_0x7a3d22);_0x3f2047&&(_0x3f2047[_0x2e9df0(0x352)]=_0x3468de);}function cs(_0x2e2af0,_0x4a70d6){const _0x40b684=_0x1a4bb1,{options:_0x307fec}=_0x4a70d6;_0x2e2af0[_0x40b684(0x1d7)]={..._0x2e2af0[_0x40b684(0x1d7)],..._0x307fec};}const Gt={'type':_0x5158ca['MUTATION'],'id':_0x1a4bb1(0x348),'handler'(_0x301b89,_0x2785d4){const _0x12e329=_0x1a4bb1;if(!_0x2785d4)return!0x1;if(!!_0x301b89[_0x12e329(0x39e)](_0x1893a6)['getConfig'](q))return!0x0;const _0x53f31f=_0x301b89[_0x12e329(0x39e)](G),{pivotTableId:_0x182da1,fieldJson:_0x49cc3f,area:_0x30f040,index:_0x1f4d3e,unitId:_0x577a3b,subUnitId:_0x99aaea}=_0x2785d4,_0x5d5d9e=_0x53f31f[_0x12e329(0x2e6)](_0x182da1);if(!_0x5d5d9e)return!0x1;let _0x3d592d;_0x30f040===_0xf3a50c['Value']?_0x3d592d=_0x362725(_0x49cc3f):_0x3d592d=_0x547d29(_0x49cc3f),_0x5d5d9e[_0x12e329(0x34f)](_0x3d592d,_0x30f040,_0x1f4d3e);const _0x96344c=_0x53f31f['getPivotTableModelConfig'](_0x577a3b,_0x99aaea,_0x182da1);Zi(_0x96344c,_0x2785d4);const _0x3168a5=_0x53f31f['getPivotTableConfig'](_0x577a3b,_0x99aaea,_0x182da1);return _0x53f31f['addDirtyPivotTable']({'unitId':_0x577a3b,'subUnitId':_0x99aaea,'token':_0x182da1,'type':B[_0x12e329(0x3d4)],'pivotConfig':_0x3168a5}),!0x0;}},$t={'type':_0x5158ca['MUTATION'],'id':'sheet.mutation.remove-pivot-field','handler'(_0x350b82,_0x4f9779){const _0x362daf=_0x1a4bb1;if(!_0x4f9779)return!0x1;if(!!_0x350b82['get'](_0x1893a6)['getConfig'](q))return!0x0;const _0x560e08=_0x350b82[_0x362daf(0x39e)](G),{pivotTableId:_0x29483f,fieldId:_0x53663d,unitId:_0xb98dff,subUnitId:_0x5f5b97}=_0x4f9779,_0x8d1e6=_0x560e08[_0x362daf(0x2e6)](_0x29483f);if(!_0x8d1e6)return!0x1;_0x8d1e6['removeField'](_0x53663d);const _0x1c2c4b=_0x560e08[_0x362daf(0x434)](_0xb98dff,_0x5f5b97,_0x29483f);Xi(_0x1c2c4b,_0x4f9779);const _0x25369d=_0x560e08[_0x362daf(0x1df)](_0xb98dff,_0x5f5b97,_0x29483f);return _0x560e08['addDirtyPivotTable']({'unitId':_0xb98dff,'subUnitId':_0x5f5b97,'token':_0x29483f,'type':B[_0x362daf(0x3d4)],'pivotConfig':_0x25369d}),!0x0;}},zt={'type':_0x5158ca['MUTATION'],'id':_0x1a4bb1(0x3e6),'handler'(_0x1f00e5,_0x57d5f1){const _0xebca0=_0x1a4bb1;if(!_0x57d5f1)return!0x1;if(!!_0x1f00e5[_0xebca0(0x39e)](_0x1893a6)[_0xebca0(0x309)](q))return!0x0;const _0x1fd7fe=_0x1f00e5['get'](G),{unitId:_0x590a97,subUnitId:_0xf372be,pivotTableId:_0x774d01,fieldId:_0x11bb55,name:_0xa6ff2c}=_0x57d5f1,_0x15545b=_0x1fd7fe[_0xebca0(0x2e6)](_0x774d01);if(!_0x15545b)return!0x1;_0x15545b['renameField'](_0x11bb55,_0xa6ff2c);const _0x32874d=_0x1fd7fe[_0xebca0(0x434)](_0x590a97,_0xf372be,_0x774d01);return es(_0x32874d,_0x57d5f1),_0x1fd7fe['addDirtyPivotTable']({'unitId':_0x590a97,'subUnitId':_0xf372be,'token':_0x774d01,'type':B[_0xebca0(0x3d4)]}),!0x0;}},jt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x2cd),'handler'(_0x340368,_0x123bbd){const _0x40c9aa=_0x1a4bb1;if(!_0x123bbd)return!0x1;if(!!_0x340368['get'](_0x1893a6)[_0x40c9aa(0x309)](q))return!0x0;const _0x5f5588=_0x340368[_0x40c9aa(0x39e)](G),{unitId:_0x4cc67a,subUnitId:_0x7da065,pivotTableId:_0x266d91,fieldId:_0x2a995b,collapse:_0x140fba,item:_0x16315b}=_0x123bbd,_0x2d8048=_0x5f5588[_0x40c9aa(0x2e6)](_0x266d91);if(!_0x2d8048)return!0x1;_0x2d8048[_0x40c9aa(0x2b6)](_0x2a995b,_0x140fba,_0x16315b);const _0xe7bfea=_0x5f5588[_0x40c9aa(0x434)](_0x4cc67a,_0x7da065,_0x266d91);return ts(_0xe7bfea,_0x123bbd),_0x5f5588[_0x40c9aa(0x31b)]({'unitId':_0x4cc67a,'subUnitId':_0x7da065,'token':_0x266d91,'type':B['Set']}),!0x0;}},Jt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x3a8),'handler'(_0x1efa1b,_0x4b9c7a){const _0x320586=_0x1a4bb1;if(!_0x4b9c7a)return!0x1;if(!!_0x1efa1b['get'](_0x1893a6)[_0x320586(0x309)](q))return!0x0;const _0x42a4e5=_0x1efa1b[_0x320586(0x39e)](G),{unitId:_0x483067,subUnitId:_0x436442,pivotTableId:_0x28f589,fieldId:_0x1b4ef8,format:_0x136f98}=_0x4b9c7a,_0x2ad029=_0x42a4e5[_0x320586(0x2e6)](_0x28f589);if(!_0x2ad029)return!0x1;_0x2ad029[_0x320586(0x204)](_0x1b4ef8,_0x136f98);const _0x318b7b=_0x42a4e5[_0x320586(0x434)](_0x483067,_0x436442,_0x28f589);return os(_0x318b7b,_0x4b9c7a),_0x42a4e5[_0x320586(0x31b)]({'unitId':_0x483067,'subUnitId':_0x436442,'token':_0x28f589,'type':B['Set']}),!0x0;}},Ht={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x2f2),'handler'(_0x508b8d,_0x560e9e){const _0x12d0cf=_0x1a4bb1;if(!_0x560e9e)return!0x1;if(!!_0x508b8d['get'](_0x1893a6)['getConfig'](q))return!0x0;const _0x3e6f18=_0x508b8d[_0x12d0cf(0x39e)](G),{unitId:_0x1076eb,subUnitId:_0x197764,pivotTableId:_0x4f1c7e,fieldId:_0x33c0a1,filterInfo:_0x557620}=_0x560e9e,_0x5f01d6=_0x3e6f18['getPivotTableInstance'](_0x4f1c7e);if(!_0x5f01d6)return!0x1;_0x5f01d6[_0x12d0cf(0x3c1)](_0x33c0a1,_0x557620);const _0xb9097c=_0x3e6f18[_0x12d0cf(0x434)](_0x1076eb,_0x197764,_0x4f1c7e);return ns(_0xb9097c,_0x560e9e),_0x3e6f18[_0x12d0cf(0x31b)]({'unitId':_0x1076eb,'subUnitId':_0x197764,'token':_0x4f1c7e,'type':B['Set']}),!0x0;}},qt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':'sheet.mutation.set-pivot-option','handler'(_0x575d17,_0x76eb67){const _0x234ec1=_0x1a4bb1;if(!_0x76eb67)return!0x1;if(!!_0x575d17[_0x234ec1(0x39e)](_0x1893a6)['getConfig'](q))return!0x0;const _0x54d7cb=_0x575d17['get'](G),{unitId:_0x22a31c,subUnitId:_0x5d93c2,pivotTableId:_0x294b64,options:_0xf2853b}=_0x76eb67,_0x1bef63=_0x54d7cb[_0x234ec1(0x2e6)](_0x294b64);if(!_0x1bef63)return!0x1;_0x1bef63[_0x234ec1(0x3c3)](_0xf2853b);const _0x192fd6=_0x54d7cb[_0x234ec1(0x434)](_0x22a31c,_0x5d93c2,_0x294b64);return cs(_0x192fd6,_0x76eb67),_0x54d7cb['addDirtyPivotTable']({'unitId':_0x22a31c,'subUnitId':_0x5d93c2,'token':_0x294b64,'type':B[_0x234ec1(0x3d4)]}),!0x0;}},Kt={'type':_0x5158ca['MUTATION'],'id':_0x1a4bb1(0x2e3),'handler'(_0x1d0f56,_0x584798){const _0x524f0e=_0x1a4bb1;if(!_0x584798)return!0x1;if(!!_0x1d0f56[_0x524f0e(0x39e)](_0x1893a6)[_0x524f0e(0x309)](q))return!0x0;const _0x10cec6=_0x1d0f56[_0x524f0e(0x39e)](G),{unitId:_0x1a89cc,subUnitId:_0x5b80ca,pivotTableId:_0x195484,sortInfo:_0x2f6596,fieldId:_0x3f0c10}=_0x584798,_0x12f390=_0x10cec6[_0x524f0e(0x2e6)](_0x195484);if(!_0x12f390)return!0x1;_0x12f390[_0x524f0e(0x298)](_0x3f0c10,_0x2f6596);const _0x521743=_0x10cec6[_0x524f0e(0x434)](_0x1a89cc,_0x5b80ca,_0x195484);return ds(_0x521743,_0x584798),_0x10cec6['addDirtyPivotTable']({'unitId':_0x1a89cc,'subUnitId':_0x5b80ca,'token':_0x195484,'type':B[_0x524f0e(0x3d4)]}),!0x0;}},Yt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x364),'handler'(_0x3eb9c6,_0x3aca9c){const _0x5d312e=_0x1a4bb1;if(!_0x3aca9c)return!0x1;if(!!_0x3eb9c6[_0x5d312e(0x39e)](_0x1893a6)[_0x5d312e(0x309)](q))return!0x0;const _0x31710f=_0x3eb9c6[_0x5d312e(0x39e)](G),{unitId:_0x428d01,subUnitId:_0x18f5da,pivotTableId:_0x4b713a,fieldId:_0x3d5505,subtotalType:_0x5c1e6a}=_0x3aca9c,_0x21bb7a=_0x31710f['getPivotTableInstance'](_0x4b713a);if(!_0x21bb7a)return!0x1;_0x21bb7a[_0x5d312e(0x306)](_0x3d5505,_0x5c1e6a);const _0x205fe9=_0x31710f[_0x5d312e(0x434)](_0x428d01,_0x18f5da,_0x4b713a);return ss(_0x205fe9,_0x3aca9c),_0x31710f[_0x5d312e(0x31b)]({'unitId':_0x428d01,'subUnitId':_0x18f5da,'token':_0x4b713a,'type':B[_0x5d312e(0x3d4)]}),!0x0;}},Qt={'type':_0x5158ca['MUTATION'],'id':_0x1a4bb1(0x3c8),'handler'(_0x4c45e6,_0x5dd1f8){const _0x5a1f6d=_0x1a4bb1;if(!_0x5dd1f8)return!0x1;if(!!_0x4c45e6[_0x5a1f6d(0x39e)](_0x1893a6)['getConfig'](q))return!0x0;const _0x1f5fb9=_0x4c45e6['get'](G),{unitId:_0xf94ece,subUnitId:_0x17e016,pivotTableId:_0x565d3f,fieldId:_0x38ff5a,filterInfo:_0x2d519c}=_0x5dd1f8,_0x1463ae=_0x1f5fb9[_0x5a1f6d(0x2e6)](_0x565d3f);if(!_0x1463ae)return!0x1;_0x1463ae['setValueFilterInfo'](_0x38ff5a,_0x2d519c);const _0x29ce55=_0x1f5fb9[_0x5a1f6d(0x434)](_0xf94ece,_0x17e016,_0x565d3f);return is(_0x29ce55,_0x5dd1f8),_0x1f5fb9['addDirtyPivotTable']({'unitId':_0xf94ece,'subUnitId':_0x17e016,'token':_0x565d3f,'type':B[_0x5a1f6d(0x3d4)]}),!0x0;}},Zt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x1f0),'handler'(_0x20f267,_0x3fcf8c){const _0x204644=_0x1a4bb1;if(!_0x3fcf8c)return!0x1;if(!!_0x20f267[_0x204644(0x39e)](_0x1893a6)[_0x204644(0x309)](q))return!0x0;const _0x133af7=_0x20f267[_0x204644(0x39e)](G),{unitId:_0x3f36a2,subUnitId:_0x122c31,pivotTableId:_0x327515,area:_0x11f561,index:_0x3d4b9b,fieldId:_0x27eaed}=_0x3fcf8c,_0x5acf15=_0x133af7[_0x204644(0x2e6)](_0x327515);if(!_0x5acf15)return!0x1;_0x5acf15[_0x204644(0x347)](_0x27eaed,_0x11f561,_0x3d4b9b);const _0x3fa8d8=_0x133af7['getPivotTableModelConfig'](_0x3f36a2,_0x122c31,_0x327515);return as(_0x3fa8d8,_0x3fcf8c),_0x133af7[_0x204644(0x31b)]({'unitId':_0x3f36a2,'subUnitId':_0x122c31,'token':_0x327515,'type':B[_0x204644(0x3d4)]}),!0x0;}},Xt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x36d),'handler'(_0xbc8db9,_0x47bbb2){const _0x50ab34=_0x1a4bb1;if(!_0x47bbb2)return!0x1;if(!!_0xbc8db9[_0x50ab34(0x39e)](_0x1893a6)[_0x50ab34(0x309)](q))return!0x0;const _0x9454e8=_0xbc8db9[_0x50ab34(0x39e)](G),{unitId:_0x2aa1a7,subUnitId:_0x29291e,pivotTableId:_0x165f45,sourceName:_0x2904cb,dataFieldId:_0x4ae647,tableFieldId:_0x5622ed}=_0x47bbb2,_0x169bb0=_0x9454e8[_0x50ab34(0x2e6)](_0x165f45);if(!_0x169bb0)return!0x1;_0x169bb0['updateFieldSourceInfo'](_0x5622ed,_0x2904cb,_0x4ae647);const _0x2b2fc7=_0x9454e8[_0x50ab34(0x434)](_0x2aa1a7,_0x29291e,_0x165f45);return ls(_0x2b2fc7,_0x47bbb2),_0x9454e8[_0x50ab34(0x31b)]({'unitId':_0x2aa1a7,'subUnitId':_0x29291e,'token':_0x165f45,'type':B['Set']}),!0x0;}},eo={'type':_0x5158ca['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x2fa19e,_0x4de595){const _0x481083=_0x1a4bb1;if(!_0x4de595)return!0x1;if(!!_0x2fa19e[_0x481083(0x39e)](_0x1893a6)[_0x481083(0x309)](q))return!0x0;const _0x47d60e=_0x2fa19e['get'](G),{unitId:_0x9920a1,subUnitId:_0x1b9cb1,pivotTableId:_0x627b6e,valuePosition:_0x3b1286,index:_0x1fdeac}=_0x4de595,_0x1a02f3=_0x47d60e[_0x481083(0x2e6)](_0x627b6e);if(!_0x1a02f3)return!0x1;_0x1a02f3['updateValuePosition'](_0x3b1286,_0x1fdeac);const _0x188c67=_0x47d60e[_0x481083(0x434)](_0x9920a1,_0x1b9cb1,_0x627b6e);return rs(_0x188c67,_0x4de595),_0x47d60e[_0x481083(0x31b)]({'unitId':_0x9920a1,'subUnitId':_0x1b9cb1,'token':_0x627b6e,'type':B[_0x481083(0x3d4)]}),!0x0;}};function me(_0x2b363e,_0x89543,_0x5f489c){const _0x4da2e9=_0x1a4bb1,{pivotTableId:_0x3aa3c8,unitId:_0x1fbf82,subUnitId:_0x5a62a8}=_0x89543,_0x1eaba7=[],_0x40187b=[];for(const _0x39c41e of _0x5f489c)switch(_0x39c41e[_0x4da2e9(0x1e0)]){case _0x3caa75[_0x4da2e9(0x26c)]:{const {fieldJson:_0x5d63e7,area:_0x312950,index:_0x46e578}=_0x39c41e,_0x1c58e1={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldJson':_0x5d63e7,'area':_0x312950,'index':_0x46e578},_0x291108={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x5d63e7['id'],'area':_0x312950,'index':_0x46e578};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':Gt['id'],'params':_0x1c58e1}),_0x40187b[_0x4da2e9(0x25d)]({'id':$t['id'],'params':_0x291108});}break;case _0x3caa75['SetSubtotalType']:{const {fieldId:_0x2af3b2,newSubtotalType:_0x4e0f57,oldSubtotalType:_0x5a1e0f}=_0x39c41e,_0x37658a={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x2af3b2,'subtotalType':_0x4e0f57};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':Yt['id'],'params':_0x37658a});const _0x10822a={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x2af3b2,'subtotalType':_0x5a1e0f};_0x40187b['unshift']({'id':Yt['id'],'params':_0x10822a});}break;case _0x3caa75['RemoveField']:{const {fieldId:_0x384345,fieldJson:_0x48c4bc,area:_0x1928d7,index:_0x5a1aeb}=_0x39c41e,_0x554b21={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x384345,'index':_0x5a1aeb,'area':_0x1928d7};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':$t['id'],'params':_0x554b21});const _0x6eb1d2={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldJson':_0x48c4bc,'area':_0x1928d7,'index':_0x5a1aeb};_0x40187b[_0x4da2e9(0x25d)]({'id':Gt['id'],'params':_0x6eb1d2});}break;case _0x3caa75[_0x4da2e9(0x359)]:{const {fieldId:_0x1a3074,oldName:_0x147f39,newName:_0x78e691}=_0x39c41e,_0x8bf4cc={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x1a3074,'name':_0x78e691};_0x1eaba7['push']({'id':zt['id'],'params':_0x8bf4cc});const _0x54d7a7={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x1a3074,'name':_0x147f39};_0x40187b[_0x4da2e9(0x25d)]({'id':zt['id'],'params':_0x54d7a7});}break;case _0x3caa75['SetFilterInfo']:{const {fieldId:_0x374a4f,oldFilterInfo:_0x41c892,newFilterInfo:_0x59dbc6}=_0x39c41e,_0x5d7048={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x374a4f,'filterInfo':_0x59dbc6};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':Ht['id'],'params':_0x5d7048});const _0x110e0a={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x374a4f,'filterInfo':_0x41c892};_0x40187b['unshift']({'id':Ht['id'],'params':_0x110e0a});}break;case _0x3caa75[_0x4da2e9(0x1f9)]:{const {fieldId:_0x527fd5,oldSortInfo:_0x24e188,newSortInfo:_0x1b7324}=_0x39c41e,_0x170d43={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x527fd5,'sortInfo':_0x1b7324};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':Kt['id'],'params':_0x170d43});const _0x4a1702={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x527fd5,'sortInfo':_0x24e188};_0x40187b[_0x4da2e9(0x25d)]({'id':Kt['id'],'params':_0x4a1702});}break;case _0x3caa75[_0x4da2e9(0x241)]:{const {oldOptions:_0x3ee568,newOptions:_0x1a5a76}=_0x39c41e,_0x227940={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'options':_0x1a5a76};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':qt['id'],'params':_0x227940});const _0x3a2b61={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'options':_0x3ee568};_0x40187b[_0x4da2e9(0x25d)]({'id':qt['id'],'params':_0x3a2b61});}break;case _0x3caa75[_0x4da2e9(0x375)]:{const {oldArea:_0xc8fc4f,newArea:_0x1023c5,oldIndex:_0x2df5bd,newIndex:_0x45c6fc,fieldId:_0x384b6a}=_0x39c41e,_0x4a6676={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x384b6a,'area':_0x1023c5,'index':_0x45c6fc,'oldArea':_0xc8fc4f,'oldIndex':_0x2df5bd};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':Zt['id'],'params':_0x4a6676});const _0x49de81={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x384b6a,'area':_0xc8fc4f,'index':_0x2df5bd,'oldArea':_0x1023c5,'oldIndex':_0x45c6fc};_0x40187b[_0x4da2e9(0x25d)]({'id':Zt['id'],'params':_0x49de81});}break;case _0x3caa75[_0x4da2e9(0x203)]:{const {oldValuePosition:_0x4a16f2,newValuePosition:_0x5b3ba4,oldIndex:_0x3a6f80,newIndex:_0x26e99f}=_0x39c41e,_0x8cb86d={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'valuePosition':_0x5b3ba4,'index':_0x26e99f};_0x1eaba7['push']({'id':eo['id'],'params':_0x8cb86d});const _0xff5efe={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'valuePosition':_0x4a16f2,'index':_0x3a6f80};_0x40187b[_0x4da2e9(0x25d)]({'id':eo['id'],'params':_0xff5efe});}break;case _0x3caa75[_0x4da2e9(0x29f)]:{const {fieldId:_0x387ba7,collapse:_0x326bc2,item:_0x1fdee2}=_0x39c41e,_0xb7e548={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x387ba7,'collapse':_0x326bc2,'item':_0x1fdee2};_0x1eaba7['push']({'id':jt['id'],'params':_0xb7e548});const _0x449d4e={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x387ba7,'collapse':!_0x326bc2,'item':_0x1fdee2};_0x40187b['unshift']({'id':jt['id'],'params':_0x449d4e});}break;case _0x3caa75['SetFieldFormat']:{const {newFormat:_0x24498b,oldFormat:_0x4bba31,fieldId:_0x4fb749}=_0x39c41e,_0x403500={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x4fb749,'format':_0x24498b};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':Jt['id'],'params':_0x403500});const _0x171f6b={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x4fb749,'format':_0x4bba31};_0x40187b[_0x4da2e9(0x25d)]({'id':Jt['id'],'params':_0x171f6b});}break;case _0x3caa75[_0x4da2e9(0x24d)]:{const {tableFieldId:_0x49b2c3,oldSourceName:_0x4a6bb4,newSourceName:_0x2ffbcf,oldDataFieldId:_0xd4201,newDataFieldId:_0x373290}=_0x39c41e,_0x16417b={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'tableFieldId':_0x49b2c3,'sourceName':_0x2ffbcf,'dataFieldId':_0x373290};_0x1eaba7['push']({'id':Xt['id'],'params':_0x16417b});const _0x154f21={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'tableFieldId':_0x49b2c3,'sourceName':_0x4a6bb4,'dataFieldId':_0xd4201};_0x40187b[_0x4da2e9(0x25d)]({'id':Xt['id'],'params':_0x154f21});}break;case _0x3caa75[_0x4da2e9(0x2e4)]:{const {fieldId:_0x5c1172,filterInfo:_0xd27db,oldFilterInfo:_0x5af3af}=_0x39c41e,_0x3a5eb1={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x5c1172,'filterInfo':_0xd27db};_0x1eaba7[_0x4da2e9(0x3ea)]({'id':Qt['id'],'params':_0x3a5eb1});const _0x18a431={'unitId':_0x1fbf82,'subUnitId':_0x5a62a8,'pivotTableId':_0x3aa3c8,'fieldId':_0x5c1172,'filterInfo':_0x5af3af};_0x40187b['unshift']({'id':Qt['id'],'params':_0x18a431});}}return{'redos':_0x1eaba7,'undos':_0x40187b};}function we(_0x43618d,_0x46ae41){const _0xe6f1b4=_0x1a4bb1;var _0x5c5cad;const _0x4dabb7=_0x43618d[_0xe6f1b4(0x39e)](ie),{cellInfo:_0x16d94d,view:_0x1e3963,isEmpty:_0x4e8713}=_0x46ae41;return(_0x5c5cad=_0x4dabb7[_0xe6f1b4(0x1f7)][_0xe6f1b4(0x3d0)](Go)(Po,{'cellInfo':_0x16d94d,'view':_0x1e3963,'isEmpty':_0x4e8713}))!=null?_0x5c5cad:Po;}const us=()=>typeof process<'u'&&process[_0x1a4bb1(0x26f)]!=null&&process[_0x1a4bb1(0x26f)][_0x1a4bb1(0x37b)]!=null,Ct={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':'sheet.mutation.add-pivot-table','handler'(_0x4c82b9,_0x59f87e){const _0x1dcb35=_0x1a4bb1;var _0x247ffe;if(!_0x59f87e)return!0x1;const _0x4761f7=_0x4c82b9[_0x1dcb35(0x39e)](_0x1893a6);if(!!_0x4761f7[_0x1dcb35(0x309)](q))return!0x0;const _0x226a1b=_0x4c82b9[_0x1dcb35(0x39e)](_0x41ab3d),_0x4b48e3=_0x4c82b9[_0x1dcb35(0x39e)](G),{pivotTableId:_0x5590c6,pivotTableConfig:_0xde0c53,collectionConfig:_0x506726,unitId:_0x202e5b,subUnitId:_0x53611a}=_0x59f87e,{sourceRangeInfo:_0x514d4a,fieldsConfig:_0x3d7653,targetCellInfo:_0x1c7d20}=_0xde0c53,_0xca7d05=_0x226a1b[_0x1dcb35(0x228)](_0x202e5b);if(!_0xca7d05||!_0xca7d05[_0x1dcb35(0x397)](_0x53611a))return!0x1;if(!us()){let _0x4fe497=0x0;_0xca7d05[_0x1dcb35(0x2ca)]()[_0x1dcb35(0x34b)](_0x164bab=>{const _0x5705da=_0x1dcb35;var _0x1ac249,_0x36daff;_0x4fe497+=(_0x36daff=(_0x1ac249=_0x4b48e3[_0x5705da(0x2f1)](_0x202e5b,_0x164bab[_0x5705da(0x1ec)]()))==null?void 0x0:_0x1ac249['size'])!=null?_0x36daff:0x0;});const _0x4b626b=(_0x247ffe=_0x4761f7[_0x1dcb35(0x309)](_0x2bc50f))!=null?_0x247ffe:{},{ls:_0xb72ff0,pbk:_0x10ff02}=_0x4b626b;if(!Jo(_0xb72ff0,_0x10ff02))throw new _0x2435cd(_0x1dcb35(0x38a));const _0x1fff75=go(so,_0xb72ff0,_0x10ff02)[_0x1dcb35(0x283)];if(_0x4fe497>=_0x1fff75)throw new _0x2435cd(_0x1dcb35(0x38a));}if(!_0x506726||!_0x3d7653)return!0x1;const {collection:_0x591966,updateDataFieldList:_0x48dbdd}=_0x4b48e3['addCollectionByJSON'](_0x5590c6,_0x506726,_0x514d4a,_0x1c7d20);_0x4b48e3[_0x1dcb35(0x374)](_0x591966,_0x48dbdd,_0x514d4a);const _0x598038=new _0x162344(_0x591966,void 0x0,_0x5590c6);_0x598038[_0x1dcb35(0x2d8)](_0x3d7653);const _0x1fb687=JSON[_0x1dcb35(0x3d7)](JSON[_0x1dcb35(0x40b)](_0xde0c53));return _0x4b48e3['addPivotTable'](_0x202e5b,_0x53611a,_0x5590c6,_0x598038,_0x1fb687),_0x4b48e3[_0x1dcb35(0x31b)]({'unitId':_0x202e5b,'subUnitId':_0x53611a,'token':_0x5590c6,'type':B['Add'],'pivotConfig':_0x1fb687}),!0x0;}},Et={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x3bf),'handler'(_0xc51a83,_0x245dc9){const _0x38062a=_0x1a4bb1;if(!_0x245dc9)return!0x1;if(!!_0xc51a83['get'](_0x1893a6)[_0x38062a(0x309)](q))return!0x0;const {pivotTableId:_0x2b4c5d,unitId:_0x3b7914,subUnitId:_0x498c32}=_0x245dc9,_0x4a715e=_0xc51a83[_0x38062a(0x39e)](G);return _0x4a715e[_0x38062a(0x1df)](_0x3b7914,_0x498c32,_0x2b4c5d)?(_0x4a715e[_0x38062a(0x31b)]({'unitId':_0x3b7914,'subUnitId':_0x498c32,'token':_0x2b4c5d,'type':B[_0x38062a(0x3b7)]}),_0x4a715e['removePivotTable'](_0x3b7914,_0x498c32,_0x2b4c5d),!0x0):!0x1;}},pt={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':'sheet.mutation.set-pivot-position','handler'(_0x114ceb,_0x266893){const _0x41d9b1=_0x1a4bb1;if(!_0x266893)return!0x1;if(!!_0x114ceb[_0x41d9b1(0x39e)](_0x1893a6)[_0x41d9b1(0x309)](q))return!0x0;const {pivotTableId:_0x1c66a6,targetCellPosition:_0x44ac32,unitId:_0x3811fe,subUnitId:_0x300c07}=_0x266893,_0xf8fed5=_0x114ceb[_0x41d9b1(0x39e)](G);if(!_0xf8fed5[_0x41d9b1(0x2e6)](_0x266893['pivotTableId']))return!0x1;const _0x50ed2f=_0xf8fed5['getTargetByPivotId'](_0x1c66a6);if(!_0x50ed2f)return!0x1;const _0x38f682=_0xf8fed5[_0x41d9b1(0x2f4)](_0x50ed2f[_0x41d9b1(0x3c4)],_0x266893[_0x41d9b1(0x38b)]);if(!_0x38f682)return!0x1;const _0x418935=_0xf8fed5[_0x41d9b1(0x1df)](_0x50ed2f['unitId'],_0x50ed2f['subUnitId'],_0x1c66a6);if(!_0x418935)return!0x1;const _0x16a213=_0x5a29c7[_0x41d9b1(0x29b)](_0x418935);_0x16a213[_0x41d9b1(0x202)]={'unitId':_0x3811fe,'subUnitId':_0x300c07,'row':_0x44ac32[_0x41d9b1(0x3dc)],'col':_0x44ac32[_0x41d9b1(0x24a)]};const _0x4b4e73=_0x38f682[_0x41d9b1(0x3b3)]();if(_0x50ed2f[_0x41d9b1(0x386)]===_0x300c07&&_0x50ed2f[_0x41d9b1(0x3c4)]===_0x3811fe)_0xf8fed5['setPivotTable'](_0x3811fe,_0x300c07,_0x1c66a6,_0x16a213),_0xf8fed5[_0x41d9b1(0x31b)]({'unitId':_0x3811fe,'subUnitId':_0x300c07,'token':_0x1c66a6,'type':B[_0x41d9b1(0x3d4)]});else{_0xf8fed5['addDirtyPivotTable']({'unitId':_0x50ed2f['unitId'],'subUnitId':_0x50ed2f['subUnitId'],'token':_0x1c66a6,'type':B['Delete']}),_0xf8fed5[_0x41d9b1(0x3b2)](_0x50ed2f['unitId'],_0x50ed2f[_0x41d9b1(0x386)],_0x1c66a6);const _0x571a92=_0xf8fed5[_0x41d9b1(0x21a)](_0x1c66a6,_0x4b4e73,_0x418935[_0x41d9b1(0x2d2)],_0x16a213[_0x41d9b1(0x202)]),_0x260f4a=new _0x162344(_0x571a92[_0x41d9b1(0x22e)],void 0x0,_0x1c66a6);_0x260f4a[_0x41d9b1(0x2d8)](_0x16a213[_0x41d9b1(0x2a8)]),_0xf8fed5[_0x41d9b1(0x346)](_0x3811fe,_0x300c07,_0x1c66a6,_0x260f4a,_0x16a213),_0xf8fed5[_0x41d9b1(0x31b)]({'unitId':_0x3811fe,'subUnitId':_0x300c07,'token':_0x1c66a6,'type':B[_0x41d9b1(0x23b)],'pivotConfig':_0x16a213});}return!0x0;}},to={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x2a5),'handler'(_0x42d525,_0x424ccd){const _0x1221a7=_0x1a4bb1;if(!_0x424ccd)return!0x1;if(!!_0x42d525['get'](_0x1893a6)['getConfig'](q))return!0x0;const _0x351243=_0x42d525[_0x1221a7(0x39e)](G),{pivotTableId:_0x3cf802,deleteIds:_0x2412bd,collectionJSON:_0x292ed8,dataRangeInfo:_0x1290a8,unitId:_0x399913,subUnitId:_0x1228c8}=_0x424ccd,_0x4fecea=_0x351243[_0x1221a7(0x2e6)](_0x3cf802),_0x292e78=_0x351243[_0x1221a7(0x1df)](_0x399913,_0x1228c8,_0x3cf802);if(!_0x4fecea||!_0x292e78)return!0x1;const {collection:_0x3cb771,updateDataFieldList:_0x5831c8}=_0x351243[_0x1221a7(0x21a)](_0x3cf802,_0x292ed8,_0x1290a8,_0x292e78[_0x1221a7(0x202)]);_0x351243[_0x1221a7(0x374)](_0x3cb771,_0x5831c8,_0x1290a8),_0x4fecea[_0x1221a7(0x353)](_0x3cb771);for(const _0x2367df of _0x2412bd)_0x351243[_0x1221a7(0x3b1)](_0x1290a8[_0x1221a7(0x3c4)],_0x2367df);const _0x59847d=_0x351243[_0x1221a7(0x1df)](_0x399913,_0x1228c8,_0x3cf802);return _0x59847d[_0x1221a7(0x2d2)]=JSON['parse'](JSON[_0x1221a7(0x40b)](_0x1290a8)),_0x351243['addDirtyPivotTable']({'unitId':_0x399913,'subUnitId':_0x1228c8,'token':_0x3cf802,'type':B['Set']}),!0x0;}},Ut={'type':_0x5158ca[_0x1a4bb1(0x28e)],'id':_0x1a4bb1(0x29e),'handler'(){return!0x0;}};var fs=Object[_0x1a4bb1(0x1c6)],gs=(_0x490e15,_0x3e4cb2,_0x2b8223,_0x2ae3a7)=>{for(var _0x33e34d=_0x2ae3a7>0x1?void 0x0:_0x2ae3a7?fs(_0x3e4cb2,_0x2b8223):_0x3e4cb2,_0xe42f5b=_0x490e15['length']-0x1,_0x5511f7;_0xe42f5b>=0x0;_0xe42f5b--)(_0x5511f7=_0x490e15[_0xe42f5b])&&(_0x33e34d=_0x5511f7(_0x33e34d)||_0x33e34d);return _0x33e34d;},Ro=(_0x3632a5,_0x19fce2)=>(_0x2ad724,_0x1cdd0a)=>_0x19fce2(_0x2ad724,_0x1cdd0a,_0x3632a5);let X=class extends _0x36ff7f{constructor(_0x31d5e6,_0x33f511){super(),V(this,'_requestResolvers',new Map()),(this['_injector']=_0x31d5e6,this['_commandService']=_0x33f511);}['handleAsyncResponse'](_0x4f02a5){const _0x39a5b0=_0x1a4bb1,{version:_0x570d6d}=_0x4f02a5,_0x7b0bfd=this[_0x39a5b0(0x357)][_0x39a5b0(0x39e)](_0x570d6d);_0x7b0bfd&&(_0x7b0bfd(_0x4f02a5),this['_requestResolvers'][_0x39a5b0(0x3e5)](_0x570d6d));}[_0x1a4bb1(0x43a)](_0x80ee90){return new Promise((_0x14cabd,_0x5fe7c1)=>{const _0x1424eb=_0x58d2,_0x23866d=this[_0x1424eb(0x3dd)]();this[_0x1424eb(0x357)][_0x1424eb(0x1fc)](_0x23866d,_0x14cabd),this[_0x1424eb(0x2ff)]['executeCommand'](ro['id'],{'version':_0x23866d,..._0x80ee90},{'onlyLocal':!0x0});});}[_0x1a4bb1(0x3dd)](){const _0x4eda52=_0x1a4bb1;return Math[_0x4eda52(0x42f)]()[_0x4eda52(0x3a2)](0x24)[_0x4eda52(0x31c)](0x2,0x10);}};X=gs([Ro(0x0,_0x772e00(_0x4ed77d)),Ro(0x1,_0x772e00(_0x554f1b))],X);const Yo={'id':_0x1a4bb1(0x2aa),'type':_0x5158ca[_0x1a4bb1(0x28e)],'handler':(_0x3dfb27,_0x692421)=>{const _0x13d075=_0x1a4bb1;if(!_0x692421)return!0x1;if(!!_0x3dfb27['get'](_0x1893a6)[_0x13d075(0x309)](q))return!0x0;const {pivotTableId:_0x259e74,fieldJSON:_0x4e378f,unitId:_0x288df3,subUnitId:_0x437342}=_0x692421,_0x30b68c=_0x267aec[_0x13d075(0x2d8)](_0x4e378f);if(!_0x30b68c)return!0x1;const _0x5105ff=_0x3dfb27[_0x13d075(0x39e)](G),_0x2659be=_0x5105ff['getDataFieldManager'](_0x288df3),_0x2cafc0=_0x2659be[_0x13d075(0x2f4)](_0x259e74);_0x2659be[_0x13d075(0x201)](_0x30b68c),_0x2cafc0[_0x13d075(0x34f)](_0x30b68c[_0x13d075(0x272)](),_0x30b68c['getName']());const _0x43e9d5=_0x2cafc0[_0x13d075(0x1d3)](_0x30b68c[_0x13d075(0x2b2)]());_0x43e9d5&&_0x30b68c[_0x13d075(0x307)](_0x43e9d5);const _0x25a6cd=_0x5105ff['getPivotTableConfig'](_0x288df3,_0x437342,_0x259e74);return _0x5105ff[_0x13d075(0x31b)]({'unitId':_0x288df3,'subUnitId':_0x437342,'token':_0x259e74,'type':B[_0x13d075(0x3d4)],'pivotConfig':_0x25a6cd}),!0x0;}},Qo={'id':'sheet.mutation.remove-group-collection','type':_0x5158ca[_0x1a4bb1(0x28e)],'handler':(_0x10177e,_0x5672df)=>{const _0x23a40d=_0x1a4bb1;if(!_0x5672df)return!0x1;if(!!_0x10177e[_0x23a40d(0x39e)](_0x1893a6)['getConfig'](q))return!0x0;const {pivotTableId:_0x1fa58f,dataFieldId:_0xcee566,unitId:_0x741731,subUnitId:_0x5a47e5}=_0x5672df,_0x591477=_0x10177e['get'](G),_0x132de0=_0x591477[_0x23a40d(0x265)](_0x741731);_0x132de0[_0x23a40d(0x2f4)](_0x1fa58f)[_0x23a40d(0x1db)](_0xcee566);let _0x1643b9=!0x0;for(const _0x275b53 in _0x132de0[_0x23a40d(0x1d8)])if(_0x132de0[_0x23a40d(0x1d8)][_0x275b53][_0x23a40d(0x2f9)]()['includes'](_0xcee566)){_0x1643b9=!0x1;break;}_0x1643b9&&_0x132de0['deleteDataField'](_0xcee566);const _0x60d288=_0x591477[_0x23a40d(0x1df)](_0x741731,_0x5a47e5,_0x1fa58f);return _0x591477[_0x23a40d(0x31b)]({'unitId':_0x741731,'subUnitId':_0x5a47e5,'token':_0x1fa58f,'type':B[_0x23a40d(0x3d4)],'pivotConfig':_0x60d288}),!0x0;}},hs={'type':_0x5158ca['COMMAND'],'id':_0x1a4bb1(0x431),async 'handler'(_0x1af744,_0x59f877){const _0x20cce1=_0x1a4bb1;if(!_0x59f877)return!0x1;const _0x14031e=_0x1af744['get'](_0x554f1b),_0x14e1ba=_0x1af744[_0x20cce1(0x39e)](X),_0x4e685f=_0x1af744['get'](_0x943f03),{pivotTableId:_0x1e56c4,dataFieldId:_0x257e8a,fieldArea:_0x1179a4,index:_0x2ab792,unitId:_0x5b8990,subUnitId:_0x3c3fbf}=_0x59f877,_0xcf4c11=(await _0x14e1ba[_0x20cce1(0x43a)]({'unitId':_0x5b8990,'subUnitId':_0x3c3fbf,'pivotTableId':_0x1e56c4,'params':{'type':A['AddPivotField'],'addPivotField':{'dataFieldId':_0x257e8a,'fieldArea':_0x1179a4,'index':_0x2ab792}}}))[_0x20cce1(0x28f)]['addPivotField'];if(!_0xcf4c11)return!0x1;const {view:_0x35850c,changesets:_0x472d7c,isEmpty:_0x675883,pivotTableConfig:_0x48de09,shouldBeAddedGroupJSON:_0x896f0e}=_0xcf4c11,_0x6f76e7=_0x48de09['targetCellInfo'],_0x4e987f=new _0x1a88a1();_0x4e987f[_0x20cce1(0x38e)](_0x35850c);const _0x4b77d4={'cellInfo':_0x6f76e7,'view':_0x4e987f,'isEmpty':_0x675883};if(!await _0x1af744[_0x20cce1(0x39e)](ie)['asyncInterceptor'][_0x20cce1(0x1dc)](be)(!0x0,_0x4b77d4))return!0x1;const _0x477b5f=Re(_0x1af744,_0x4e987f,_0x6f76e7,_0x675883),_0x12e54c=we(_0x1af744,_0x4b77d4),{undos:_0x816a00,redos:_0x2e9bdc}=me(_0x14031e,{'pivotTableId':_0x1e56c4,'unitId':_0x5b8990,'subUnitId':_0x3c3fbf},_0x472d7c);return _0x896f0e&&(_0x2e9bdc[_0x20cce1(0x25d)]({'id':Yo['id'],'params':{'pivotTableId':_0x1e56c4,'fieldJSON':_0x896f0e,'unitId':_0x5b8990,'subUnitId':_0x3c3fbf}}),_0x816a00[_0x20cce1(0x3ea)]({'id':Qo['id'],'params':{'pivotTableId':_0x1e56c4,'dataFieldId':_0x896f0e['id'],'unitId':_0x5b8990,'subUnitId':_0x3c3fbf}})),_0x17d82c([..._0x477b5f[_0x20cce1(0x356)],..._0x12e54c['redos'],..._0x2e9bdc],_0x14031e),_0x4e685f[_0x20cce1(0x3d8)]({'unitID':_0x5b8990,'redoMutations':[..._0x477b5f[_0x20cce1(0x356)],..._0x12e54c[_0x20cce1(0x356)],..._0x2e9bdc],'undoMutations':[..._0x477b5f[_0x20cce1(0x39d)],..._0x12e54c[_0x20cce1(0x39d)],..._0x816a00]}),!0x0;}},vs={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x3db),async 'handler'(_0x2c2e39,_0x23bdc8){const _0xfcdc=_0x1a4bb1;if(!_0x23bdc8)return!0x1;const {sourceDataInfo:_0x288645,pivotTableConfig:_0x51f5e0}=_0x23bdc8;if(!_0x288645||!_0x51f5e0)return!0x1;const {unitId:_0x199cd6,subUnitId:_0x543945,range:_0x2ebcab}=_0x288645,_0x4d1317=_0x2c2e39[_0xfcdc(0x39e)](_0x41ab3d),_0x3d76b2=_0x2c2e39[_0xfcdc(0x39e)](X),_0x48f693=_0x2c2e39[_0xfcdc(0x39e)](_0x58b50b),_0x585b75=_0x2c2e39['get'](_0x554f1b),_0x1c1dfc=_0x4d1317['getUnit'](_0x199cd6);if(!_0x1c1dfc)return!0x1;const _0x2476ac=_0x1c1dfc[_0xfcdc(0x397)](_0x543945);if(!_0x2476ac)return!0x1;const _0x521faf=_0x2cc304(0x8),_0x276933=_0x2ebcab||{'startRow':0x0,'startColumn':0x0,'endRow':_0x2476ac[_0xfcdc(0x342)]()-0x1,'endColumn':_0x2476ac[_0xfcdc(0x3d3)]()-0x1};_0x276933[_0xfcdc(0x3e0)]=_0x3c7dce[_0xfcdc(0x251)];const _0x5b013d=(await _0x3d76b2[_0xfcdc(0x43a)]({'unitId':_0x199cd6,'subUnitId':_0x543945,'pivotTableId':_0x521faf,'params':{'type':A['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x199cd6,'sheetName':_0x2476ac[_0xfcdc(0x398)](),'subUnitId':_0x543945,'range':_0x276933},'pivotTableId':_0x521faf,'pivotTableIndexConfig':_0x51f5e0}}}))[_0xfcdc(0x28f)][_0xfcdc(0x3bd)];if(!_0x5b013d)return!0x1;const {isEmpty:_0xc0a18e,fieldsConfig:_0x123b73,collectionConfig:_0x1db8b3,changesets:_0x4f5404}=_0x5b013d,_0x3d5b54=_0x1c1dfc[_0xfcdc(0x2ca)]()[_0xfcdc(0x2ac)],_0x5006d2=_0xa3dcb2({'rowCount':_0x2476ac['getRowCount']()-0x1,'columnCount':_0x2476ac[_0xfcdc(0x3d3)]()-0x1});_0x5006d2['id']=_0x469552(),_0x5006d2['name']=_0x1c1dfc['generateNewSheetName'](''+_0x48f693['t'](_0xfcdc(0x287)));const _0x2d1c87={'index':_0x3d5b54,'sheet':_0x5006d2,'unitId':_0x199cd6},{redos:_0xdfbf0}=me(_0x585b75,{'pivotTableId':_0x521faf,'unitId':_0x199cd6,'subUnitId':_0x5006d2['id']},_0x4f5404),_0x512ded=[{'id':_0x298eba['id'],'params':_0x2d1c87},{'id':Ct['id'],'params':{'unitId':_0x199cd6,'subUnitId':_0x5006d2['id'],'pivotTableId':_0x521faf,'pivotTableConfig':{'isEmpty':_0xc0a18e,'fieldsConfig':_0x123b73,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x199cd6,'subUnitId':_0x5006d2['id']},'sourceRangeInfo':{'subUnitId':_0x543945,'unitId':_0x199cd6,'range':_0x276933,'sheetName':_0x2476ac[_0xfcdc(0x398)]()}},'collectionConfig':_0x1db8b3}},..._0xdfbf0];return _0x17d82c(_0x512ded,_0x585b75),!0x0;}},ps={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x2e4bf6,_0x596b75){const _0x233d4f=_0x1a4bb1;var _0x3aeb11,_0x44a3f2;const _0x2cd19e=_0x2e4bf6[_0x233d4f(0x39e)](_0x554f1b),_0x29bbb8=_0x2e4bf6[_0x233d4f(0x39e)](_0x41ab3d),_0x3d0382=_0x2e4bf6['get'](_0x58b50b),_0x255ae0=_0x2e4bf6[_0x233d4f(0x39e)](X),_0x2b8033=_0x2e4bf6['get'](_0x943f03),_0x478cbb=_0x2e4bf6[_0x233d4f(0x39e)](ve),_0x2fe6e3=_0x2e4bf6['get'](_0x1893a6);if(!_0x596b75)return!0x1;const {pivotTableConfig:_0x9cee69,positionType:_0x5c04a0}=_0x596b75,{targetCellInfo:_0xe90754,sourceRangeInfo:_0x4ff997}=_0x9cee69,{unitId:_0x466ca3,subUnitId:_0x108940}=_0xe90754,_0x1ebba3=_0x29bbb8['getUnit'](_0x466ca3);if(!_0x1ebba3)return!0x1;let _0x9a7d71=0x0;_0x1ebba3[_0x233d4f(0x2ca)]()['forEach'](_0x1383ec=>{const _0x26583f=_0x233d4f;var _0x42a502,_0x350575;_0x9a7d71+=(_0x350575=(_0x42a502=_0x478cbb[_0x26583f(0x2f1)](_0x466ca3,_0x1383ec[_0x26583f(0x1ec)]()))==null?void 0x0:_0x42a502[_0x26583f(0x3ce)])!=null?_0x350575:0x0;});const _0x173a47=(_0x3aeb11=_0x2fe6e3[_0x233d4f(0x309)](_0x2bc50f))!=null?_0x3aeb11:{},{ls:_0x485449,pbk:_0x49335a}=_0x173a47;if(!Jo(_0x485449,_0x49335a))return!0x1;const _0x4f675f=go(so,_0x485449,_0x49335a)['count'];if(_0x9a7d71>=_0x4f675f)return!0x1;const _0x1dd282=_0x596b75['pivotTableId']||_0x2cc304(0x8),_0x3dc617=(await _0x255ae0[_0x233d4f(0x43a)]({'unitId':_0x466ca3,'subUnitId':_0x108940,'pivotTableId':_0x1dd282,'params':{'type':A[_0x233d4f(0x2ad)],'addPivotTable':{'sourceRangeInfo':_0x4ff997,'pivotTableId':_0x1dd282}}}))[_0x233d4f(0x28f)][_0x233d4f(0x346)];if(!_0x3dc617)return!0x1;const {view:_0x3d1ab4,isEmpty:_0x5d7d51,fieldsConfig:_0x38f0a7,collectionConfig:_0x1f3ccc}=_0x3dc617,_0x5b9a6b=[],_0x5169aa=[];if(_0x5c04a0===Wo[_0x233d4f(0x1cf)]){const _0x13e173=_0x1ebba3[_0x233d4f(0x2ca)]()[_0x233d4f(0x2ac)],_0x5a3c69=_0xa3dcb2({});_0x5a3c69['id']=_0x9cee69['targetCellInfo'][_0x233d4f(0x386)],_0x5a3c69[_0x233d4f(0x332)]=(_0x44a3f2=_0x9cee69[_0x233d4f(0x202)]['sheetName'])!=null?_0x44a3f2:_0x1ebba3[_0x233d4f(0x371)](''+_0x3d0382['t'](_0x233d4f(0x287)));const _0x123f0c={'index':_0x13e173,'sheet':_0x5a3c69,'unitId':_0x466ca3},_0x4f37f6=_0x47b071(_0x2e4bf6,_0x123f0c);_0x5b9a6b[_0x233d4f(0x3ea)]({'id':_0x56952e['id'],'params':_0x4f37f6}),_0x5169aa[_0x233d4f(0x3ea)]({'id':_0xcc733c['id'],'params':_0x123f0c});}else{if(!_0x1ebba3[_0x233d4f(0x397)](_0x108940))return!0x1;const _0x1fc0cf=Re(_0x2e4bf6,new _0x1a88a1(),_0xe90754,!0x0);_0x5169aa['push'](..._0x1fc0cf['redos']),_0x5b9a6b['push'](..._0x1fc0cf[_0x233d4f(0x39d)]);const _0x5e88f0={'cellInfo':_0xe90754,'view':_0x3d1ab4,'isEmpty':_0x5d7d51};if(!await _0x2e4bf6[_0x233d4f(0x39e)](ie)[_0x233d4f(0x280)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5e88f0))return!0x1;const _0x1aaabf=we(_0x2e4bf6,_0x5e88f0);_0x5169aa['push'](..._0x1aaabf['redos']),_0x5b9a6b['push'](..._0x1aaabf['undos']);}return _0x5169aa[_0x233d4f(0x3ea)]({'id':Ct['id'],'params':{'unitId':_0xe90754[_0x233d4f(0x3c4)],'subUnitId':_0xe90754[_0x233d4f(0x386)],'pivotTableId':_0x1dd282,'pivotTableConfig':{'targetCellInfo':_0xe90754,'sourceRangeInfo':_0x4ff997,'fieldsConfig':_0x38f0a7},'collectionConfig':_0x1f3ccc}}),_0x5b9a6b['unshift']({'id':Et['id'],'params':{'unitId':_0x466ca3,'subUnitId':_0x108940,'pivotTableId':_0x1dd282}}),_0x17d82c(_0x5169aa,_0x2cd19e)&&_0x2b8033[_0x233d4f(0x3d8)]({'unitID':_0x466ca3,'undoMutations':_0x5b9a6b,'redoMutations':_0x5169aa}),!0x0;}},ms={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x44a),async 'handler'(_0x55d17b,_0x1b6118){const _0x249a16=_0x1a4bb1;if(!_0x1b6118)return!0x1;const _0x53253d=_0x55d17b['get'](_0x554f1b),_0x25250e=_0x55d17b[_0x249a16(0x39e)](X),_0x1f629=_0x55d17b[_0x249a16(0x39e)](_0x943f03),{pivotTableId:_0xd03dc6,fieldId:_0x500aec,area:_0x2e27f5,index:_0x3deb51,unitId:_0x297e6e,subUnitId:_0x210563}=_0x1b6118,_0x22ce8c=(await _0x25250e[_0x249a16(0x43a)]({'unitId':_0x297e6e,'subUnitId':_0x210563,'pivotTableId':_0xd03dc6,'params':{'type':A[_0x249a16(0x24e)],'movePivotField':{'fieldId':_0x500aec,'area':_0x2e27f5,'index':_0x3deb51}}}))[_0x249a16(0x28f)][_0x249a16(0x426)];if(!_0x22ce8c)return!0x1;const {changesets:_0x3c8e89,view:_0x4985df,isEmpty:_0x41b164,pivotTableConfig:_0x336db1}=_0x22ce8c,_0x4e8fe6=_0x336db1[_0x249a16(0x202)],_0x148c0e=new _0x1a88a1();_0x148c0e[_0x249a16(0x38e)](_0x4985df);const _0x40ce62={'cellInfo':_0x4e8fe6,'view':_0x148c0e,'isEmpty':_0x41b164};if(!await _0x55d17b[_0x249a16(0x39e)](ie)[_0x249a16(0x280)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x40ce62))return!0x1;const _0x36a5db=Re(_0x55d17b,_0x148c0e,_0x4e8fe6,_0x41b164),_0x3a358f=we(_0x55d17b,_0x40ce62),{redos:_0x4bae64,undos:_0x584b7b}=me(_0x53253d,{'pivotTableId':_0xd03dc6,'unitId':_0x297e6e,'subUnitId':_0x210563},_0x3c8e89);return _0x17d82c([..._0x36a5db[_0x249a16(0x356)],..._0x3a358f[_0x249a16(0x356)],..._0x4bae64],_0x53253d),_0x1f629['pushUndoRedo']({'unitID':_0x297e6e,'redoMutations':[..._0x36a5db['redos'],..._0x3a358f[_0x249a16(0x356)],..._0x4bae64],'undoMutations':[..._0x36a5db[_0x249a16(0x39d)],..._0x3a358f['undos'],..._0x584b7b]}),!0x0;}},Is={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x37b8ad,_0x56fb1e){const _0x464d6e=_0x1a4bb1;var _0x19da06;if(!_0x56fb1e)return!0x1;const _0x46f54c=_0x37b8ad[_0x464d6e(0x39e)](_0x41ab3d),_0x510958=_0x114ebc(_0x46f54c);if(!_0x510958)return!0x1;const {unitId:_0xee1bf9,subUnitId:_0x142cd8,workbook:_0x3f63a9}=_0x510958,{row:_0x25ed35,col:_0x257d43}=_0x56fb1e,_0x4525fe=_0x37b8ad['get'](Ne),_0xfd6bb2=_0x4525fe[_0x464d6e(0x343)](_0xee1bf9,_0x142cd8,_0x25ed35,_0x257d43);if(!_0xfd6bb2)return!0x1;const _0x5397f7=(_0x19da06=_0x4525fe['getPivotItemRenderInfoCache'](_0xee1bf9,_0x142cd8,_0xfd6bb2))==null?void 0x0:_0x19da06[_0x464d6e(0x247)];if(!_0x5397f7)return!0x1;const _0x170ee3=_0x37b8ad[_0x464d6e(0x39e)](ve)[_0x464d6e(0x1df)](_0xee1bf9,_0x142cd8,_0xfd6bb2);if(!_0x170ee3)return!0x1;const {rowInfo:_0x49ef52,colInfo:_0x2f181e}=_0x5397f7,_0x20197e=_0x49ef52[_0x25ed35][_0x464d6e(0x43e)],_0x2614a9=_0x2f181e[_0x257d43][_0x464d6e(0x43e)],_0x597b83=_0x49ef52[_0x25ed35][_0x464d6e(0x20d)],_0x301f3d=_0x2f181e[_0x257d43][_0x464d6e(0x20d)],_0x2aa6c3=_0x20197e[_0x464d6e(0x366)](_0x2614a9),_0x2172cf=_0x170ee3[_0x464d6e(0x2a8)]['rowFields'][_0x464d6e(0x445)](0x0,_0x597b83),_0x41da7a=_0x170ee3[_0x464d6e(0x2a8)][_0x464d6e(0x448)][_0x464d6e(0x445)](0x0,_0x301f3d),_0x507c48=_0x2172cf['concat'](_0x41da7a),_0x441873=_0x2aa6c3[_0x464d6e(0x28c)]((_0x5e4692,_0x36f13c)=>[_0x5e4692,_0x507c48[_0x36f13c]]),_0x5f0306=(await _0x37b8ad[_0x464d6e(0x39e)](X)[_0x464d6e(0x43a)]({'unitId':_0xee1bf9,'subUnitId':_0x142cd8,'pivotTableId':_0xfd6bb2,'params':{'type':A[_0x464d6e(0x20c)],'drillDown':{'tuple':_0x441873}}}))[_0x464d6e(0x28f)][_0x464d6e(0x365)];if(!_0x5f0306)return!0x1;const {indexes:_0x5ae64d,range:_0x318799,sourceUnitId:_0x17e2c5,sourceSubUnitId:_0x5a806d,formatMap:_0x3b88c8}=_0x5f0306,{startRow:_0xc5f7e3,endRow:_0x2ae08a,startColumn:_0x7b522a,endColumn:_0x581cbf}=_0x318799,_0x52dc9d=new _0x18ce59(),_0x42a08b=_0x2ae08a-_0xc5f7e3,_0x2ad4ef=_0x581cbf-_0x7b522a,_0x3599bc={},_0x4c7b8e=_0x114ebc(_0x46f54c,{'unitId':_0x17e2c5,'subUnitId':_0x5a806d});if(!_0x4c7b8e)return!0x1;const _0x16ea44=fe[_0x464d6e(0x27b)],_0x1a31f5=fe[_0x464d6e(0x3be)],_0x380595=fe[_0x464d6e(0x3be)],_0x3d8477=_0x3f63a9[_0x464d6e(0x42d)]()[_0x464d6e(0x22a)](_0x16ea44),_0x2c8cd4=_0x3f63a9[_0x464d6e(0x42d)]()[_0x464d6e(0x22a)](_0x1a31f5),_0x20c52f=_0x3f63a9[_0x464d6e(0x42d)]()[_0x464d6e(0x22a)](_0x380595),{worksheet:_0x543e8f}=_0x4c7b8e;let _0x11655a=0x0;const _0x2111ef=0x1;_0x5ae64d[_0x464d6e(0x34b)](_0x118302=>{const _0x404fe6=_0x464d6e;for(let _0x4b72c7=0x0;_0x4b72c7<=_0x581cbf-_0x7b522a;_0x4b72c7++)_0x52dc9d[_0x404fe6(0x22a)](_0x11655a,_0x4b72c7,_0x543e8f[_0x404fe6(0x24b)](_0x118302+_0x318799[_0x404fe6(0x296)]+_0x2111ef,_0x4b72c7));_0x11655a++;});for(let _0x2e121a=_0x7b522a;_0x2e121a<=_0x581cbf;_0x2e121a++){const _0x2b2b53=_0x543e8f[_0x464d6e(0x24b)](_0xc5f7e3,_0x2e121a);_0x3599bc[_0xc5f7e3]||(_0x3599bc[_0xc5f7e3]={}),_0x3599bc[_0xc5f7e3][_0x2e121a]={..._0x2b2b53,'s':_0x3d8477};}let _0x57ddad=0x1;const _0x42e95c={},_0x2856f1={};_0x52dc9d[_0x464d6e(0x3d6)]((_0x104989,_0x162957)=>{const _0x3ee655=_0x464d6e;_0x162957[_0x3ee655(0x34b)](_0x5baad6=>{const _0x4a12ef=_0x3ee655,_0xf8e700=_0x52dc9d['getValue'](_0x104989,_0x5baad6);if(_0x3599bc[_0x57ddad]||(_0x3599bc[_0x57ddad]={}),_0x3599bc[_0x57ddad][_0x5baad6]={..._0xf8e700,'s':_0x57ddad%0x2===0x0?_0x20c52f:_0x2c8cd4},_0x3b88c8[_0x5baad6]&&_0x104989>=0x0){const _0x4230e4=_0x57ddad%0x2===0x0;let _0xc80a38=_0x4230e4?_0x2856f1[_0x5baad6]:_0x42e95c[_0x5baad6];_0xc80a38||(_0xc80a38=_0x3f63a9[_0x4a12ef(0x42d)]()[_0x4a12ef(0x22a)]({..._0x4230e4?_0x380595:_0x1a31f5,'n':{'pattern':_0x3b88c8[_0x5baad6]}}),_0x4230e4?_0x2856f1[_0x5baad6]=_0xc80a38:_0x42e95c[_0x5baad6]=_0xc80a38),_0x3599bc[_0x57ddad][_0x5baad6]['s']=_0xc80a38;}}),_0x57ddad++;});const _0x396e47=new _0x18ce59(_0x3599bc),_0x56d375={};_0x396e47[_0x464d6e(0x2c1)]((_0x208a80,_0x546de9,_0x278e33)=>{_0x56d375[_0x208a80]||(_0x56d375[_0x208a80]={}),_0x56d375[_0x208a80][_0x546de9]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x29d90b=[],_0x2e27e9=[],_0x5dd71b=_0x3f63a9[_0x464d6e(0x2ca)]()[_0x464d6e(0x2ac)],_0x335471=_0xa3dcb2({'rowCount':Math[_0x464d6e(0x43c)](_0x327ba6,_0x42a08b+0xa),'columnCount':Math[_0x464d6e(0x43c)](_0x26e9e0,_0x2ad4ef+0x5)}),_0x32ff3c=_0x37b8ad['get'](_0x58b50b);_0x335471['id']=_0x469552(),_0x335471[_0x464d6e(0x332)]=_0x3f63a9[_0x464d6e(0x371)](''+_0x32ff3c['t'](_0x464d6e(0x287)));const _0x114176={'index':_0x5dd71b,'sheet':_0x335471,'unitId':_0xee1bf9},_0x500aa4=_0x47b071(_0x37b8ad,_0x114176);_0x2e27e9[_0x464d6e(0x3ea)]({'id':_0xcc733c['id'],'params':_0x114176}),_0x29d90b[_0x464d6e(0x3ea)]({'id':_0x56952e['id'],'params':_0x500aa4}),_0x2e27e9[_0x464d6e(0x3ea)]({'id':_0x324b45['id'],'params':{'unitId':_0xee1bf9,'subUnitId':_0x335471['id'],'cellValue':_0x3599bc}}),_0x29d90b[_0x464d6e(0x25d)]({'id':_0x324b45['id'],'params':{'unitId':_0xee1bf9,'subUnitId':_0x335471['id'],'cellValue':_0x56d375}});const _0x28802b={'startRow':0x0,'startColumn':0x0,'endRow':_0x57ddad-0x1,'endColumn':_0x581cbf};_0x2e27e9[_0x464d6e(0x3ea)]({'id':_0x2ac767['id'],'params':{'unitId':_0xee1bf9,'subUnitId':_0x335471['id'],'range':_0x28802b}}),_0x29d90b[_0x464d6e(0x25d)]({'id':_0x3f41c9['id'],'params':{'unitId':_0xee1bf9,'subUnitId':_0x335471['id']}});const _0x31a0a7=_0x37b8ad['get'](_0x554f1b);return _0x17d82c(_0x2e27e9,_0x31a0a7)&&_0x37b8ad[_0x464d6e(0x39e)](_0x943f03)['pushUndoRedo']({'unitID':_0xee1bf9,'undoMutations':_0x29d90b,'redoMutations':_0x2e27e9}),!0x0;}},Cs={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x200a15,_0x56fe03){const _0x4dcc58=_0x1a4bb1;if(!_0x56fe03)return!0x1;const _0x580831=_0x200a15['get'](_0x554f1b),_0x239ac7=_0x200a15[_0x4dcc58(0x39e)](X),_0x44d1ec=_0x200a15['get'](_0x943f03),{pivotTableId:_0x23e2aa,fieldIds:_0x2272c2,unitId:_0x3a0c08,subUnitId:_0x5486ad}=_0x56fe03,_0x4017a1=(await _0x239ac7[_0x4dcc58(0x43a)]({'unitId':_0x3a0c08,'subUnitId':_0x5486ad,'pivotTableId':_0x23e2aa,'params':{'type':A[_0x4dcc58(0x425)],'removePivotField':{'fieldIds':_0x2272c2}}}))[_0x4dcc58(0x28f)]['removePivotField'];if(!_0x4017a1)return!0x1;const {view:_0x19cf45,changesets:_0x43c5be,isEmpty:_0xb6afe4,pivotTableConfig:_0x1868f3}=_0x4017a1,_0xe0d7a5=_0x1868f3[_0x4dcc58(0x202)],_0x1b5e49=new _0x1a88a1();_0x1b5e49['formJSON'](_0x19cf45);const _0x5f0327={'cellInfo':_0xe0d7a5,'view':_0x1b5e49,'isEmpty':_0xb6afe4};if(!await _0x200a15[_0x4dcc58(0x39e)](ie)[_0x4dcc58(0x280)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5f0327))return!0x1;const _0x536fa7=Re(_0x200a15,_0x1b5e49,_0xe0d7a5,_0xb6afe4),_0x347d77=we(_0x200a15,_0x5f0327),{redos:_0x6e7a70,undos:_0x3d204b}=me(_0x580831,{'pivotTableId':_0x23e2aa,'unitId':_0x3a0c08,'subUnitId':_0x5486ad},_0x43c5be);return _0x17d82c([..._0x536fa7[_0x4dcc58(0x356)],..._0x347d77[_0x4dcc58(0x356)],..._0x6e7a70],_0x580831),_0x44d1ec[_0x4dcc58(0x3d8)]({'unitID':_0x3a0c08,'redoMutations':[..._0x536fa7['redos'],..._0x347d77[_0x4dcc58(0x356)],..._0x6e7a70],'undoMutations':[..._0x536fa7['undos'],..._0x347d77[_0x4dcc58(0x39d)],..._0x3d204b]}),!0x0;}},bs={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x408),async 'handler'(_0x21ada0,_0x164737){const _0x2075a4=_0x1a4bb1;var _0x1af942;const _0x449c75=_0x21ada0['get'](_0x554f1b),_0x5a7429=_0x21ada0['get'](X),_0x55cbd7=_0x21ada0[_0x2075a4(0x39e)](Ne),_0x303b7a=_0x21ada0['get'](_0x41ab3d),_0x42c49b=_0x21ada0['get'](_0x943f03);if(!_0x164737)return!0x1;const {unitId:_0x45d33c,subUnitId:_0xa39308,row:_0x2f07ad,col:_0x3c3d17,collapse:_0x43b0d7}=_0x164737,_0x316b93=_0x303b7a[_0x2075a4(0x228)](_0x45d33c);if(!_0x316b93||!_0x316b93['getSheetBySheetId'](_0xa39308))return!0x1;const _0x410ed0=_0x55cbd7[_0x2075a4(0x343)](_0x45d33c,_0xa39308,_0x2f07ad,_0x3c3d17);if(!_0x410ed0)return!0x1;const _0x3571ee=_0x55cbd7[_0x2075a4(0x258)](_0x45d33c,_0xa39308,_0x410ed0);if(!_0x3571ee)return!0x1;const _0x1a3f95=_0x1bfeee(_0x2f07ad,_0x3c3d17),{rangesInfo:_0x5d0219,areaInfo:_0xbf1b43,headerMap:_0x452c6e}=_0x3571ee;if(!_0x5d0219||!_0xbf1b43||!_0x452c6e)return!0x1;const _0x27f381=Object[_0x2075a4(0x37f)](_0x5d0219)[_0x2075a4(0x3e1)](_0x45f2ac=>_0x5d0219[_0x45f2ac][_0x2075a4(0x2f6)](_0x22b5c2=>_0x41833c['contains'](_0x22b5c2,_0x1a3f95)));let _0xb33722;_0x27f381===_0x2075a4(0x441)?_0xb33722=_0x452c6e[_0x2075a4(0x38f)][_0x3c3d17]:_0x27f381===_0x2075a4(0x30d)&&(_0xb33722=_0x452c6e['colHeaderMap'][_0x2f07ad]);const _0x1ae6b4=_0xb33722==null?void 0x0:_0xb33722[_0x2075a4(0x380)],_0x226d89=(_0x1af942=_0x55cbd7['getPivotTableCellData'](_0x45d33c,_0xa39308,_0x2f07ad,_0x3c3d17))==null?void 0x0:_0x1af942['v'];if(_0x226d89==null||!_0x410ed0||!_0x1ae6b4)return!0x1;const _0xcc445c=await _0x5a7429[_0x2075a4(0x43a)]({'unitId':_0x45d33c,'subUnitId':_0xa39308,'pivotTableId':_0x410ed0,'params':{'type':A['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x1ae6b4,'collapse':_0x43b0d7,'item':_0x226d89}}}),_0x186880=_0xcc445c==null?void 0x0:_0xcc445c[_0x2075a4(0x28f)][_0x2075a4(0x413)];if(!_0x186880)return!0x1;const {view:_0xd4a6b5,pivotTableConfig:_0x1ada40,isEmpty:_0x19e656,changesets:_0x3a2e3c}=_0x186880,_0x2a10a4=new _0x1a88a1();_0x2a10a4[_0x2075a4(0x38e)](_0xd4a6b5);const _0x4a4ad3=_0x1ada40[_0x2075a4(0x202)],_0x4c48a8={'cellInfo':_0x4a4ad3,'view':_0x2a10a4,'isEmpty':_0x19e656};if(!await _0x21ada0[_0x2075a4(0x39e)](ie)[_0x2075a4(0x280)][_0x2075a4(0x1dc)](be)(!0x0,_0x4c48a8))return!0x1;const _0x425a0c=Re(_0x21ada0,_0x2a10a4,_0x4a4ad3,_0x19e656),_0x3df52a=we(_0x21ada0,_0x4c48a8),{redos:_0x43b10f,undos:_0x40f2bb}=me(_0x449c75,{'pivotTableId':_0x410ed0,'unitId':_0x45d33c,'subUnitId':_0xa39308},_0x3a2e3c);return _0x17d82c([..._0x425a0c[_0x2075a4(0x356)],..._0x3df52a[_0x2075a4(0x356)],..._0x43b10f],_0x449c75),_0x42c49b['pushUndoRedo']({'unitID':_0x45d33c,'redoMutations':[..._0x425a0c[_0x2075a4(0x356)],..._0x3df52a['redos'],..._0x43b10f],'undoMutations':[..._0x425a0c[_0x2075a4(0x39d)],..._0x3df52a['undos'],..._0x40f2bb]}),!0x0;}},Ss={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x3e2),async 'handler'(_0x3d69dd,_0xf74bb9){const _0x49f802=_0x1a4bb1;if(!_0xf74bb9)return!0x1;const _0x2f8907=_0x3d69dd[_0x49f802(0x39e)](_0x554f1b),{pivotTableId:_0x55b537,tableFieldId:_0x5c5bb4,items:_0x51c3bb,unitId:_0x3df564,subUnitId:_0x4cc889,isAll:_0x173973}=_0xf74bb9,_0x2d7d07=_0x3d69dd[_0x49f802(0x39e)](X),_0x48fcfb=_0x3d69dd[_0x49f802(0x39e)](_0x943f03),_0x4d2809=(await _0x2d7d07[_0x49f802(0x43a)]({'unitId':_0x3df564,'subUnitId':_0x4cc889,'pivotTableId':_0x55b537,'params':{'type':A['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x5c5bb4,'items':_0x51c3bb,'isAll':_0x173973}}}))[_0x49f802(0x28f)][_0x49f802(0x230)];if(!_0x4d2809)return!0x1;const {changesets:_0x38ceaa,pivotTableConfig:_0x3c0720,isEmpty:_0x1a635f,view:_0x346a67}=_0x4d2809,_0x1ecf49=_0x3c0720['targetCellInfo'],_0x322d5c=new _0x1a88a1();_0x322d5c['formJSON'](_0x346a67);const _0x3d1f64={'cellInfo':_0x1ecf49,'view':_0x322d5c,'isEmpty':_0x1a635f};if(!await _0x3d69dd[_0x49f802(0x39e)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3d1f64))return!0x1;const _0x263d6f=Re(_0x3d69dd,_0x322d5c,_0x1ecf49,_0x1a635f),_0x4ad0ed=we(_0x3d69dd,_0x3d1f64),{undos:_0x3865b3,redos:_0x3654fc}=me(_0x2f8907,{'pivotTableId':_0x55b537,'unitId':_0x3df564,'subUnitId':_0x4cc889},_0x38ceaa);return _0x17d82c([..._0x263d6f[_0x49f802(0x356)],..._0x4ad0ed['redos'],..._0x3654fc],_0x2f8907),_0x48fcfb[_0x49f802(0x3d8)]({'unitID':_0x3df564,'redoMutations':[..._0x263d6f[_0x49f802(0x356)],..._0x4ad0ed['redos'],..._0x3654fc],'undoMutations':[..._0x263d6f[_0x49f802(0x39d)],..._0x4ad0ed[_0x49f802(0x39d)],..._0x3865b3]}),!0x0;}},Ps={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x301),async 'handler'(_0x40f393,_0x24eb5d){const _0x3cac4c=_0x1a4bb1;if(!_0x24eb5d)return!0x1;const _0x14201b=_0x40f393[_0x3cac4c(0x39e)](_0x554f1b),_0x49159c=_0x40f393['get'](_0x943f03),_0x53c3e6=_0x40f393[_0x3cac4c(0x39e)](X),{info:_0x5e99b0,tableFieldId:_0xca955,pivotTableId:_0x30fe14,unitId:_0x2e0566,subUnitId:_0x311381}=_0x24eb5d,_0x578cdd=(await _0x53c3e6[_0x3cac4c(0x43a)]({'unitId':_0x2e0566,'subUnitId':_0x311381,'pivotTableId':_0x30fe14,'params':{'type':A['SetPivotSort'],'setPivotSort':{'tableFieldId':_0xca955,'info':_0x5e99b0}}}))[_0x3cac4c(0x28f)][_0x3cac4c(0x257)];if(!_0x578cdd)return!0x1;const {changesets:_0x2a0986}=_0x578cdd,{redos:_0x489ad3,undos:_0x55a71f}=me(_0x14201b,{'pivotTableId':_0x30fe14,'unitId':_0x2e0566,'subUnitId':_0x311381},_0x2a0986);return _0x17d82c(_0x489ad3,_0x14201b),_0x49159c[_0x3cac4c(0x3d8)]({'unitID':_0x2e0566,'redoMutations':_0x489ad3,'undoMutations':_0x55a71f}),!0x0;}},ys={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x3e7),async 'handler'(_0x432acf,_0x22d7d8){const _0x324923=_0x1a4bb1;if(!_0x22d7d8)return!0x1;const _0x23f6ba=_0x432acf[_0x324923(0x39e)](_0x554f1b),_0x4a61fc=_0x432acf[_0x324923(0x39e)](_0x943f03),_0xf0edaf=_0x432acf['get'](X),{displayName:_0x598291,subtotalType:_0x433c95,format:_0xb62258,tableFieldId:_0x29a0bc,pivotTableId:_0x577ce4,unitId:_0x3675a1,subUnitId:_0x2f3327}=_0x22d7d8,_0x1b82b6=(await _0xf0edaf[_0x324923(0x43a)]({'unitId':_0x3675a1,'subUnitId':_0x2f3327,'pivotTableId':_0x577ce4,'params':{'type':A[_0x324923(0x379)],'setPivotSetting':{'tableFieldId':_0x29a0bc,'displayName':_0x598291,'subtotalType':_0x433c95,'format':_0xb62258}}}))[_0x324923(0x28f)][_0x324923(0x392)];if(!_0x1b82b6)return!0x1;const {changesets:_0x5e91a6,view:_0x20e951,pivotTableConfig:_0x4580db,isEmpty:_0x27975d}=_0x1b82b6,_0x12fae2=_0x4580db[_0x324923(0x202)],_0x57eb3a=new _0x1a88a1();_0x57eb3a[_0x324923(0x38e)](_0x20e951);const _0x2e1a49={'cellInfo':_0x12fae2,'view':_0x57eb3a,'isEmpty':_0x27975d};if(!await _0x432acf[_0x324923(0x39e)](ie)[_0x324923(0x280)][_0x324923(0x1dc)](be)(!0x0,_0x2e1a49))return!0x1;const _0x2b8bde=Re(_0x432acf,_0x57eb3a,_0x12fae2,_0x27975d),_0x19c8fa=we(_0x432acf,_0x2e1a49),{undos:_0x5a415b,redos:_0x5a0288}=me(_0x23f6ba,{'pivotTableId':_0x577ce4,'unitId':_0x3675a1,'subUnitId':_0x2f3327},_0x5e91a6);return _0x17d82c([..._0x2b8bde[_0x324923(0x356)],..._0x19c8fa[_0x324923(0x356)],..._0x5a0288],_0x23f6ba),_0x4a61fc[_0x324923(0x3d8)]({'unitID':_0x3675a1,'redoMutations':[..._0x2b8bde['redos'],..._0x19c8fa['redos'],..._0x5a0288],'undoMutations':[..._0x2b8bde['undos'],..._0x19c8fa[_0x324923(0x39d)],..._0x5a415b]}),!0x0;}},Ts={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x8ca0aa,_0x36f963){const _0x4cb920=_0x1a4bb1,_0x43c112=_0x8ca0aa[_0x4cb920(0x39e)](_0x554f1b),_0x24f5f5=_0x8ca0aa[_0x4cb920(0x39e)](X),_0x1daaa1=_0x8ca0aa[_0x4cb920(0x39e)](_0x943f03);if(!_0x36f963)return!0x1;const {token:_0x278b49,dataRangeInfo:_0x10130b,unitId:_0x217dbc,subUnitId:_0x520640}=_0x36f963,_0xcf66db=[],_0x4beb3b=[],_0x12a8a1=(await _0x24f5f5['getPivotDisplayConfig']({'unitId':_0x217dbc,'subUnitId':_0x520640,'pivotTableId':_0x278b49,'params':{'type':A[_0x4cb920(0x427)],'updatePivotSource':{'dataRangeInfo':_0x10130b,'unitId':_0x217dbc,'subUnitId':_0x520640}}}))[_0x4cb920(0x28f)][_0x4cb920(0x360)];if(!_0x12a8a1)return!0x1;const {changesets:_0x116bf2,deleteIds:_0xe21ea0,collectionConfig:_0x153963,oldCollectionConfig:_0xcbb10d,view:_0x47d6d8,isEmpty:_0x57b539,pivotTableConfig:_0x10a7d5}=_0x12a8a1;_0x4beb3b[_0x4cb920(0x3ea)]({'id':to['id'],'params':{'pivotTableId':_0x278b49,'deleteIds':_0xe21ea0,'collectionJSON':_0x153963,'dataRangeInfo':_0x10130b,'unitId':_0x217dbc,'subUnitId':_0x520640}}),_0xcf66db[_0x4cb920(0x25d)]({'id':to['id'],'params':{'pivotTableId':_0x278b49,'deleteIds':[],'collectionJSON':_0xcbb10d,'dataRangeInfo':_0x10a7d5[_0x4cb920(0x2d2)],'unitId':_0x217dbc,'subUnitId':_0x520640}});const _0x14e6e9=_0x10a7d5['targetCellInfo'],_0x49c0ca=new _0x1a88a1();_0x49c0ca[_0x4cb920(0x38e)](_0x47d6d8);const _0xb75428={'cellInfo':_0x14e6e9,'view':_0x49c0ca,'isEmpty':_0x57b539};if(!await _0x8ca0aa[_0x4cb920(0x39e)](ie)[_0x4cb920(0x280)][_0x4cb920(0x1dc)](be)(!0x0,_0xb75428))return!0x1;const _0x37d216=Re(_0x8ca0aa,_0x49c0ca,_0x14e6e9,_0x57b539),_0x302fe0=we(_0x8ca0aa,_0xb75428),{undos:_0x4f13e6,redos:_0xa93c7b}=me(_0x43c112,{'pivotTableId':_0x278b49,'unitId':_0x217dbc,'subUnitId':_0x520640},_0x116bf2);return _0x17d82c([..._0x37d216[_0x4cb920(0x356)],..._0x302fe0[_0x4cb920(0x356)],..._0x4beb3b,..._0x4f13e6],_0x43c112),_0x1daaa1[_0x4cb920(0x3d8)]({'unitID':_0x217dbc,'redoMutations':[..._0x37d216[_0x4cb920(0x356)],..._0x302fe0[_0x4cb920(0x356)],..._0x4beb3b,..._0x4f13e6],'undoMutations':[..._0x37d216[_0x4cb920(0x39d)],..._0x302fe0[_0x4cb920(0x39d)],..._0xcf66db,..._0xa93c7b]}),!0x0;}},Ms={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x2ef),async 'handler'(_0x102dfd,_0x1d9ff9){const _0x55dd2b=_0x1a4bb1;if(!_0x1d9ff9)return!0x1;const _0x31cb1d=_0x102dfd[_0x55dd2b(0x39e)](_0x554f1b),_0x4c39f1=_0x102dfd[_0x55dd2b(0x39e)](X),_0x2100ea=_0x102dfd[_0x55dd2b(0x39e)](_0x41ab3d),_0x46e522=_0x102dfd[_0x55dd2b(0x39e)](_0x943f03),{pivotTableId:_0x5722e7,position:_0x1bdebc,index:_0x53efd1}=_0x1d9ff9,_0x598bfa=_0x114ebc(_0x2100ea);if(!_0x598bfa)return!0x1;const {unitId:_0x4ac767,subUnitId:_0x47e391}=_0x598bfa,_0x822340=(await _0x4c39f1[_0x55dd2b(0x43a)]({'unitId':_0x4ac767,'subUnitId':_0x47e391,'pivotTableId':_0x5722e7,'params':{'type':A[_0x55dd2b(0x203)],'updateValuePosition':{'position':_0x1bdebc,'index':_0x53efd1}}}))[_0x55dd2b(0x28f)][_0x55dd2b(0x2c3)];if(!_0x822340)return!0x1;const {changesets:_0x3b0ec5,view:_0x42fd54,isEmpty:_0x6d93bf,pivotTableConfig:_0x245618}=_0x822340,_0x375694=_0x245618[_0x55dd2b(0x202)],_0x260765=new _0x1a88a1();_0x260765['formJSON'](_0x42fd54);const _0x3fa263=_0x102dfd[_0x55dd2b(0x39e)](ie),_0x518f2f={'cellInfo':_0x375694,'view':_0x260765,'isEmpty':_0x6d93bf};if(!await _0x3fa263['asyncInterceptor'][_0x55dd2b(0x1dc)](be)(!0x0,_0x518f2f))return!0x1;const _0x63692d=Re(_0x102dfd,_0x260765,_0x375694,_0x6d93bf),_0x1742d6=we(_0x102dfd,_0x518f2f),{undos:_0x321736,redos:_0xc15f64}=me(_0x31cb1d,{'pivotTableId':_0x5722e7,'unitId':_0x4ac767,'subUnitId':_0x47e391},_0x3b0ec5);return _0x17d82c([..._0x63692d[_0x55dd2b(0x356)],..._0x1742d6[_0x55dd2b(0x356)],..._0xc15f64],_0x31cb1d),_0x46e522[_0x55dd2b(0x3d8)]({'unitID':_0x4ac767,'redoMutations':[..._0x63692d[_0x55dd2b(0x356)],..._0x1742d6[_0x55dd2b(0x356)],..._0xc15f64],'undoMutations':[..._0x63692d['undos'],..._0x1742d6[_0x55dd2b(0x39d)],..._0x321736]}),!0x0;}},Rs={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x415),'handler':(_0x28d0ad,_0xfb72a0)=>{const _0x1ee533=_0x1a4bb1,_0x432508=_0x28d0ad[_0x1ee533(0x39e)](_0x554f1b),_0x263372=_0x28d0ad[_0x1ee533(0x39e)](_0x943f03),_0x327375=_0x28d0ad['get'](ve),_0x6d940d=_0x28d0ad[_0x1ee533(0x39e)](_0x41ab3d);if(!_0xfb72a0)return!0x1;const _0x10f05c=_0x114ebc(_0x6d940d);if(!_0x10f05c)return!0x1;const {unitId:_0x165bc6,subUnitId:_0x30d79b,workbook:_0x2370ea}=_0x10f05c,_0xffcc1a=_0x327375[_0x1ee533(0x1df)](_0xfb72a0['originTargetInfo'][_0x1ee533(0x3c4)],_0xfb72a0[_0x1ee533(0x1ca)][_0x1ee533(0x386)],_0xfb72a0['pivotTableId']);if(!_0xffcc1a)return!0x1;const _0x3307ab=_0x2370ea[_0x1ee533(0x397)](_0xfb72a0[_0x1ee533(0x202)][_0x1ee533(0x386)]);if(!_0x3307ab)throw new Error(_0x1ee533(0x29d));const _0x3bb018=_0x3307ab[_0x1ee533(0x342)](),_0x25572d=_0x3307ab[_0x1ee533(0x3d3)]();if(_0xfb72a0[_0x1ee533(0x202)][_0x1ee533(0x3dc)]>_0x3bb018||_0xfb72a0[_0x1ee533(0x202)][_0x1ee533(0x24a)]>_0x25572d)throw new Error(_0x1ee533(0x2dc));const _0x4f5f19=[{'id':pt['id'],'params':{'unitId':_0x165bc6,'subUnitId':_0xfb72a0['targetCellInfo'][_0x1ee533(0x386)],'pivotTableId':_0xfb72a0[_0x1ee533(0x38b)],'targetCellPosition':{'row':_0xfb72a0[_0x1ee533(0x202)][_0x1ee533(0x3dc)],'col':_0xfb72a0[_0x1ee533(0x202)][_0x1ee533(0x24a)]}}}],_0x177cdf=[{'id':pt['id'],'params':{'unitId':_0x165bc6,'subUnitId':_0x30d79b,'pivotTableId':_0xfb72a0[_0x1ee533(0x38b)],'targetCellPosition':{'row':_0xffcc1a[_0x1ee533(0x202)]['row'],'col':_0xffcc1a[_0x1ee533(0x202)][_0x1ee533(0x24a)]}}}];return _0x17d82c(_0x4f5f19,_0x432508)&&_0x263372[_0x1ee533(0x3d8)]({'unitID':_0x165bc6,'undoMutations':_0x177cdf,'redoMutations':_0x4f5f19}),!0x0;}},ws={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x30b),async 'handler'(_0x75b5c0,_0x56c496){const _0x5b7ce1=_0x1a4bb1;if(!_0x56c496)return!0x1;const _0x4f6b01=_0x75b5c0[_0x5b7ce1(0x39e)](_0x554f1b),{pivotTableId:_0x34e3f3,fieldId:_0x24aacf,valueFilterInfo:_0x21b283,unitId:_0x159c71,subUnitId:_0x32b59f}=_0x56c496,_0x28db28=_0x75b5c0[_0x5b7ce1(0x39e)](X),_0xc7c3af=_0x75b5c0[_0x5b7ce1(0x39e)](_0x943f03),_0x323b3f=(await _0x28db28[_0x5b7ce1(0x43a)]({'unitId':_0x159c71,'subUnitId':_0x32b59f,'pivotTableId':_0x34e3f3,'params':{'type':A[_0x5b7ce1(0x21e)],'setValuePivotFilter':{'tableFieldId':_0x24aacf,'filterInfo':_0x21b283}}}))['result'][_0x5b7ce1(0x2fd)];if(!_0x323b3f)return!0x1;const {changesets:_0x3bbbeb,pivotTableConfig:_0x46cafa,isEmpty:_0x932a96,view:_0x318356}=_0x323b3f,_0x5555b7=_0x46cafa[_0x5b7ce1(0x202)],_0x5d1f36=new _0x1a88a1();_0x5d1f36[_0x5b7ce1(0x38e)](_0x318356);const _0x2aed6e={'cellInfo':_0x5555b7,'view':_0x5d1f36,'isEmpty':_0x932a96};if(!await _0x75b5c0[_0x5b7ce1(0x39e)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2aed6e))return!0x1;const _0x35ac92=Re(_0x75b5c0,_0x5d1f36,_0x5555b7,_0x932a96),_0x524bb2=we(_0x75b5c0,_0x2aed6e),{undos:_0x10c66c,redos:_0x4eea55}=me(_0x4f6b01,{'pivotTableId':_0x34e3f3,'unitId':_0x159c71,'subUnitId':_0x32b59f},_0x3bbbeb);return _0x17d82c([..._0x35ac92[_0x5b7ce1(0x356)],..._0x524bb2[_0x5b7ce1(0x356)],..._0x4eea55],_0x4f6b01),_0xc7c3af['pushUndoRedo']({'unitID':_0x159c71,'redoMutations':[..._0x35ac92['redos'],..._0x524bb2[_0x5b7ce1(0x356)],..._0x4eea55],'undoMutations':[..._0x35ac92[_0x5b7ce1(0x39d)],..._0x524bb2[_0x5b7ce1(0x39d)],..._0x10c66c]}),!0x0;}},_s={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x341),async 'handler'(_0x3c5952,_0x1b8091){const _0x28d42c=_0x1a4bb1;if(!_0x1b8091)return!0x1;const _0x57ed3e=_0x3c5952[_0x28d42c(0x39e)](_0x554f1b),_0x406bb4=_0x3c5952['get'](_0x943f03),_0x195e84=_0x3c5952['get'](X),{pivotTableConfig:_0x319cb4,pivotTableId:_0x17e6c7,unitId:_0x24a2a4,subUnitId:_0x150b7a}=_0x1b8091,_0x5ac751=(await _0x195e84[_0x28d42c(0x43a)]({'unitId':_0x24a2a4,'subUnitId':_0x150b7a,'pivotTableId':_0x17e6c7,'params':{'type':A['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x17e6c7,'pivotTableConfig':_0x319cb4}}}))[_0x28d42c(0x28f)]['setPivotTableConfig'];if(!_0x5ac751)return!0x1;const {changesets:_0x2bab24}=_0x5ac751,{redos:_0x3ae811,undos:_0x5cbd78}=me(_0x57ed3e,{'pivotTableId':_0x17e6c7,'unitId':_0x24a2a4,'subUnitId':_0x150b7a},_0x2bab24);return _0x17d82c(_0x3ae811,_0x57ed3e),_0x406bb4[_0x28d42c(0x3d8)]({'unitID':_0x24a2a4,'redoMutations':_0x3ae811,'undoMutations':_0x5cbd78}),!0x0;}},Fs={'type':_0x5158ca[_0x1a4bb1(0x363)],'id':_0x1a4bb1(0x206),async 'handler'(_0x255f65,_0x343018){const _0x55927e=_0x1a4bb1;if(!_0x343018)return!0x1;const _0x5d54cc=_0x255f65[_0x55927e(0x39e)](_0x554f1b),_0x148ddc=_0x255f65[_0x55927e(0x39e)](_0x943f03),_0x371a9a=_0x255f65['get'](X),{resetArea:_0x9b5b9e,pivotTableId:_0x4449b6,unitId:_0x3c7d7e,subUnitId:_0x1c431b}=_0x343018,_0x116aea=(await _0x371a9a['getPivotDisplayConfig']({'unitId':_0x3c7d7e,'subUnitId':_0x1c431b,'pivotTableId':_0x4449b6,'params':{'type':A[_0x55927e(0x236)],'resetPivotTable':{'pivotTableId':_0x4449b6,'resetArea':_0x9b5b9e}}}))[_0x55927e(0x28f)][_0x55927e(0x2d0)];if(!_0x116aea)return!0x1;const {changesets:_0x55978a}=_0x116aea,{redos:_0x4fde20,undos:_0x3b8bb4}=me(_0x5d54cc,{'pivotTableId':_0x4449b6,'unitId':_0x3c7d7e,'subUnitId':_0x1c431b},_0x55978a);return _0x17d82c(_0x4fde20,_0x5d54cc),_0x148ddc[_0x55927e(0x3d8)]({'unitID':_0x3c7d7e,'redoMutations':_0x4fde20,'undoMutations':_0x3b8bb4}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x5158ca['MUTATION'],'handler':(_0x361a69,_0xb13377)=>{const _0x1dee05=_0x1a4bb1;if(!_0xb13377)return!0x1;if(!!_0x361a69['get'](_0x1893a6)[_0x1dee05(0x309)](q))return!0x0;const {unitId:_0x3cddd4,subUnitId:_0x5f873c,pivotTableId:_0x4e28a6,tableFieldId:_0x93578e,dateType:_0x3ac897}=_0xb13377,_0x196a90=_0x361a69['get'](G),_0x1edc88=_0x196a90[_0x1dee05(0x2e6)](_0x4e28a6);if(!_0x1edc88)return!0x1;const _0x15d08f=_0x1edc88[_0x1dee05(0x2b0)](_0x93578e);if(!_0x15d08f)return!0x1;const _0x230c2a=_0x15d08f['getOriginFieldId'](),_0x243513=_0x1edc88[_0x1dee05(0x244)](_0x230c2a),_0x539d84=(_0x243513==null?void 0x0:_0x243513[_0x1dee05(0x398)]())+'\x20'+qo(_0x361a69,_0x3ac897);_0x196a90[_0x1dee05(0x2f4)](_0x3cddd4,_0x4e28a6)[_0x1dee05(0x2df)](_0x15d08f['id'],_0x539d84);const _0x2b9e98=_0x1edc88[_0x1dee05(0x1f2)](_0x93578e);if(!_0x2b9e98)return!0x1;_0x1edc88[_0x1dee05(0x30e)](_0x2b9e98[_0x1dee05(0x272)](),_0x539d84),_0x15d08f[_0x1dee05(0x402)](_0x3ac897);const _0x293122=_0x196a90[_0x1dee05(0x1df)](_0x3cddd4,_0x5f873c,_0x4e28a6);return _0x196a90[_0x1dee05(0x31b)]({'unitId':_0x3cddd4,'subUnitId':_0x5f873c,'token':_0x4e28a6,'type':B[_0x1dee05(0x3d4)],'pivotConfig':_0x293122}),!0x0;}},Ds={'id':_0x1a4bb1(0x442),'type':_0x5158ca[_0x1a4bb1(0x363)],'handler':(_0x2799ec,_0x10eb91)=>{const _0x491d3e=_0x1a4bb1;if(!_0x10eb91)return!0x1;const _0x5554a1=_0x2799ec['get'](_0x943f03),{unitId:_0x4b8d82,subUnitId:_0x39a1c5,pivotTableId:_0x2baf33,tableFieldId:_0x3bfe87}=_0x10eb91,_0x406279=[],_0x1aa5b7=[],_0x33e941=_0x2799ec[_0x491d3e(0x39e)](ve),_0x1526fb=_0x33e941['getCollection'](_0x4b8d82,_0x2baf33),_0x182bff=_0x33e941[_0x491d3e(0x1df)](_0x4b8d82,_0x39a1c5,_0x2baf33);if(!(_0x182bff!=null&&_0x182bff[_0x491d3e(0x2a8)][_0x491d3e(0x25c)]))return!0x1;const _0x8abd4d=Object[_0x491d3e(0x2e0)](_0x182bff[_0x491d3e(0x2a8)][_0x491d3e(0x25c)])[_0x491d3e(0x3e1)](_0x595eee=>_0x595eee['id']===_0x3bfe87);if(!_0x8abd4d)return!0x1;const _0x119f2e=_0x8abd4d['dataFieldId'];if(!(_0x1526fb!=null&&_0x1526fb[_0x491d3e(0x367)]))return!0x1;const _0x9b7497=Object['values'](_0x1526fb==null?void 0x0:_0x1526fb['fields'])[_0x491d3e(0x3e1)](_0xe12cf0=>_0xe12cf0['id']===_0x119f2e);if(!_0x9b7497)return!0x1;_0x35394c(_0x9b7497)&&_0x406279[_0x491d3e(0x3ea)]({'id':oo['id'],'params':{..._0x10eb91,'dateType':_0x9b7497[_0x491d3e(0x422)]}}),_0x1aa5b7['push']({'id':oo['id'],'params':{..._0x10eb91}});const _0x3161f0=_0x2799ec[_0x491d3e(0x39e)](_0x554f1b);return _0x17d82c(_0x1aa5b7,_0x3161f0)&&_0x5554a1[_0x491d3e(0x3d8)]({'unitID':_0x4b8d82,'undoMutations':_0x406279,'redoMutations':_0x1aa5b7}),!0x0;}};var Ns=Object[_0x1a4bb1(0x1c6)],Us=(_0x33f836,_0x10282d,_0x27f212,_0x326c31)=>{const _0x454dbb=_0x1a4bb1;for(var _0x4b0405=_0x326c31>0x1?void 0x0:_0x326c31?Ns(_0x10282d,_0x27f212):_0x10282d,_0x387f0c=_0x33f836[_0x454dbb(0x2ac)]-0x1,_0xc6aa88;_0x387f0c>=0x0;_0x387f0c--)(_0xc6aa88=_0x33f836[_0x387f0c])&&(_0x4b0405=_0xc6aa88(_0x4b0405)||_0x4b0405);return _0x4b0405;},He=(_0x3f891a,_0x16a1cf)=>(_0x4175f3,_0x336025)=>_0x16a1cf(_0x4175f3,_0x336025,_0x3f891a);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),xs=(_0x5210c7,_0x804f93,_0x2317c8)=>{const _0x4fe2c6=_0x1a4bb1,_0x80c304=_0x5210c7[_0x4fe2c6(0x32c)];_0x5210c7[_0x4fe2c6(0x414)](_0x41046d=>{const _0x273bbd=_0x4fe2c6,_0xc8c4dd=_0x41046d[_0x273bbd(0x272)](),_0x59c187=_0x41046d[_0x273bbd(0x261)](),_0x1bafef=_0x41046d[_0x273bbd(0x2a9)](),_0x33a600=_0x41046d[_0x273bbd(0x34e)]();_0x804f93[_0x59c187]&&_0x804f93[_0x59c187]===_0x33a600&&_0x1bafef===_0x33a600&&(_0x5210c7['renameField'](_0xc8c4dd,_0x80c304[_0x273bbd(0x34e)](_0x59c187)),_0x41046d[_0x273bbd(0x235)](_0x80c304[_0x273bbd(0x34e)](_0x59c187)));}),_0x5210c7[_0x4fe2c6(0x41b)](_0xf3a50c[_0x4fe2c6(0x1d9)],_0x48469d=>{const _0x2d412a=_0x4fe2c6,_0x34a6d5=_0x48469d[_0x2d412a(0x272)](),_0x55e670=_0x48469d['getDataFieldId'](),_0x3ccef5=_0x48469d[_0x2d412a(0x2a9)](),_0x32ace4=_0x48469d[_0x2d412a(0x34e)](),_0x227a0f=_0x48469d[_0x2d412a(0x26e)](),_0x70517a=_0x2317c8(_0x3ccef5,_0x227a0f);_0x804f93[_0x55e670]&&_0x804f93[_0x55e670]===_0x3ccef5&&_0x70517a===_0x32ace4&&(_0x5210c7[_0x2d412a(0x30e)](_0x34a6d5,_0x2317c8(_0x80c304[_0x2d412a(0x34e)](_0x55e670),_0x227a0f)),_0x48469d[_0x2d412a(0x235)](_0x80c304['getDisplayName'](_0x55e670)));});},Es=(_0x15a72c,_0x2a79fe,_0x10f0e2)=>{const _0x556f0c=_0x1a4bb1;var _0x57d015,_0x171422;const {arrayFormulaCellData:_0x3645da,unitData:_0x4cb154}=_0x2a79fe,{unitId:_0x5157a3,subUnitId:_0x189a3f}=_0x10f0e2,_0x3705c1=_0x10f0e2[_0x556f0c(0x286)],{startColumn:_0x41b9e4,endColumn:_0x30574f}=_0x3705c1,_0x42a592=(_0x57d015=_0x3645da==null?void 0x0:_0x3645da[_0x5157a3])==null?void 0x0:_0x57d015[_0x189a3f],_0x3c2e9f=(_0x171422=_0x4cb154==null?void 0x0:_0x4cb154[_0x5157a3])==null?void 0x0:_0x171422[_0x189a3f],_0x5c23b9=new Set(),_0x49fd74=_0x30574f-_0x41b9e4+0x1,{dirtyRanges:_0x205f08}=_0x15a72c;if(_0x205f08)for(const {range:_0x671390,sheetId:_0x2a7f66,unitId:_0x54fa03}of _0x205f08){if(_0x2a7f66!==_0x189a3f||_0x5157a3!==_0x54fa03)continue;const _0x3903e8=_0x41833c[_0x556f0c(0x35d)](_0x671390,_0x3705c1);if(_0x3903e8){const {startColumn:_0x132025,endColumn:_0x36106c}=_0x3903e8;for(let _0x55e016=_0x132025;_0x55e016<=_0x36106c;_0x55e016++)_0x5c23b9[_0x556f0c(0x3ef)](_0x55e016);}}if(_0x5c23b9['size']===_0x49fd74||_0x5c23b9[_0x556f0c(0x3ce)]===_0x49fd74)return Array[_0x556f0c(0x217)](_0x5c23b9);if(_0x3c2e9f){const _0x46d7a4=_0x3c2e9f[_0x556f0c(0x1ea)](),_0x2d71dc=Object[_0x556f0c(0x37f)](_0x46d7a4);for(const _0x3ed452 of _0x2d71dc){const _0x545837=Number(_0x3ed452),_0x30f023=_0x46d7a4[_0x545837];if(_0x5c23b9[_0x556f0c(0x3ce)]===_0x49fd74)break;for(const _0x5f03ad in _0x30f023){const _0x2304e0=Number(_0x5f03ad);_0x2304e0<_0x41b9e4||_0x2304e0>_0x30574f||_0x5c23b9[_0x556f0c(0x3ef)](_0x2304e0);}}}if(_0x42a592){const _0x1988e5=_0x42a592[_0x556f0c(0x1ea)](),_0x410e13=Object[_0x556f0c(0x37f)](_0x1988e5);for(const _0x321b05 of _0x410e13){const _0x5dd0fd=Number(_0x321b05),_0x12f233=_0x1988e5[_0x5dd0fd];if(_0x5c23b9[_0x556f0c(0x3ce)]===_0x49fd74)break;for(const _0x144873 in _0x12f233){const _0x38e210=Number(_0x144873);_0x38e210<_0x41b9e4||_0x38e210>_0x30574f||_0x5c23b9[_0x556f0c(0x3ef)](_0x38e210);}}}return Array[_0x556f0c(0x217)](_0x5c23b9);},Os=_0xbb199f=>{const _0x401595=_0x1a4bb1,_0x1d2cde=new Set(),_0x206c25=[];for(const _0x2ba1b5 of _0xbb199f){const _0x25a590=_0x2ba1b5[_0x401595(0x296)]+','+_0x2ba1b5[_0x401595(0x417)]+','+_0x2ba1b5[_0x401595(0x3df)]+','+_0x2ba1b5['endColumn'];_0x1d2cde['has'](_0x25a590)||(_0x1d2cde[_0x401595(0x3ef)](_0x25a590),_0x206c25['push'](_0x2ba1b5));}return _0x206c25;};let dt=class extends _0x36ff7f{constructor(_0x52b84f,_0x19dbf5,_0x27b60f,_0x3011b0,_0x50d9c7,_0x327c96){const _0x54eb4a=_0x1a4bb1;super(),V(this,_0x54eb4a(0x37d),new _0x261ee4(!0x0)),V(this,_0x54eb4a(0x313),_0x403047=>{const _0x2af7a1=_0x54eb4a;this[_0x2af7a1(0x37d)]['next'](!0x1);}),V(this,_0x54eb4a(0x350),_0x1ea811=>{this['_globalSubject']['next'](!0x0);}),(this[_0x54eb4a(0x42c)]=_0x52b84f,this[_0x54eb4a(0x1de)]=_0x19dbf5,this[_0x54eb4a(0x21d)]=_0x27b60f,this[_0x54eb4a(0x2ff)]=_0x3011b0,this[_0x54eb4a(0x317)]=_0x50d9c7,this[_0x54eb4a(0x2a1)]=_0x327c96,this['_init'](),this[_0x54eb4a(0x2be)]());}[_0x1a4bb1(0x428)](){const _0x1395e1=_0x1a4bb1;this[_0x1395e1(0x221)](),this[_0x1395e1(0x2dd)](),this[_0x1395e1(0x329)](),this[_0x1395e1(0x28a)]();}['_initGlobalComputed'](){const _0x34977c=_0x1a4bb1;this['_globalComputingSrv'][_0x34977c(0x2da)](this[_0x34977c(0x37d)]),_0x162344[_0x34977c(0x3e8)](_0x49b29f[_0x34977c(0x3ca)],this['_globalComputedStartHelpFunc']),_0x162344[_0x34977c(0x3e8)](_0x49b29f['onQueryEnd'],this[_0x34977c(0x350)]);}[_0x1a4bb1(0x2be)](){const _0x49e2b7=_0x1a4bb1;this[_0x49e2b7(0x323)](this[_0x49e2b7(0x2ff)][_0x49e2b7(0x354)](_0x389302=>{const _0x435193=_0x49e2b7;_0x389302['id']===_0x41afed['id']&&this['_sheetsPivotDataSourceModel'][_0x435193(0x233)](_0x389302[_0x435193(0x282)]);})),this[_0x49e2b7(0x323)](this[_0x49e2b7(0x2ff)][_0x49e2b7(0x354)](_0x1ef31e=>{const _0x485c46=_0x49e2b7;if(_0x1ef31e['id']!==ro['id'])return;const _0x5ca222=_0x1ef31e[_0x485c46(0x282)],{unitId:_0xa23a02,subUnitId:_0x4f1e09,pivotTableId:_0x4b5bf3}=_0x5ca222,_0x432db7=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x1e0)],_0x4d4481={};switch(_0x432db7){case A[_0x485c46(0x39a)]:{const _0x4d72bd=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x2c0)];if(!_0x4d72bd)return;const {row:_0x5bdef1,col:_0x57969c,cellData:_0x599881,pivotItemRenderInfoCache:_0x21214e,tableFieldId:_0x4e1a25}=_0x4d72bd,_0x7dab49=this[_0x485c46(0x42c)][_0x485c46(0x2e6)](_0x5ca222[_0x485c46(0x38b)]);if(!_0x7dab49||!_0x21214e)return;if(_0x4e1a25){const _0x2858df=_0x7dab49[_0x485c46(0x2b0)](_0x4e1a25);if(!_0x2858df)return;_0x4d4481[_0x485c46(0x2c0)]={..._0x7dab49[_0x485c46(0x300)](_0x2858df),'tableFieldId':_0x4e1a25,'pivotTableId':_0x5ca222[_0x485c46(0x38b)],'filterInfo':_0x7dab49[_0x485c46(0x3fb)](_0x4e1a25),'sortInfo':_0x7dab49[_0x485c46(0x3a9)](_0x4e1a25),'format':_0x7dab49['getFieldFormat'](_0x4e1a25)};}else{const _0xe953e4=Ei(_0x5bdef1,_0x57969c,_0x599881,_0x7dab49,_0x21214e),_0x2ad8b0=_0xe953e4==null?void 0x0:_0xe953e4[_0x485c46(0x3cb)];if(!_0x2ad8b0)return;const _0x493534=_0x7dab49[_0x485c46(0x2b0)](_0x2ad8b0);if(!_0x493534)return;_0x4d4481[_0x485c46(0x2c0)]={..._0x7dab49[_0x485c46(0x300)](_0x493534),'tableFieldId':_0x2ad8b0,'pivotTableId':_0x5ca222[_0x485c46(0x38b)],'filterInfo':_0x7dab49[_0x485c46(0x3fb)](_0x2ad8b0),'sortInfo':_0x7dab49[_0x485c46(0x3a9)](_0x2ad8b0),'format':_0x7dab49[_0x485c46(0x1cb)](_0x2ad8b0)};}}break;case A[_0x485c46(0x2db)]:{const _0x5038e0=_0x5ca222[_0x485c46(0x282)]['panel'];if(!_0x5038e0)return;const {pivotTableId:_0x215b5d}=_0x5038e0,_0x26af07=this[_0x485c46(0x42c)]['getPivotTableInstance'](_0x215b5d);if(!_0x26af07)return;const _0x3ddfc0=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x215b5d),_0x48b28e=Oi(_0x26af07,_0x215b5d,_0x3ddfc0);_0x4d4481[_0x485c46(0x424)]=_0x48b28e;}break;case A[_0x485c46(0x277)]:{const _0x2f3de0=this[_0x485c46(0x42c)]['getPivotTableInstance'](_0x4b5bf3),_0x29285a=this[_0x485c46(0x42c)][_0x485c46(0x265)](_0xa23a02),_0x1cf3c6=_0x29285a[_0x485c46(0x2f4)](_0x4b5bf3);let _0x24ea85=null;const _0x4936e6=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3),_0x166c02=_0x5ca222[_0x485c46(0x282)]['addPivotField'];if(!_0x2f3de0||!_0x4936e6||!_0x166c02)return!0x1;const {dataFieldId:_0x3e24ca,fieldArea:_0x4d79f4,index:_0x12edc4}=_0x166c02;_0x2f3de0[_0x485c46(0x3fd)]();const _0x41d84a=_0x2f3de0[_0x485c46(0x32b)](_0x3e24ca,_0x4d79f4,_0x12edc4);if(_0x41d84a&&_0x4d79f4===_0xf3a50c[_0x485c46(0x1d9)]){const _0x56dfc7=_0x41d84a[_0x485c46(0x272)](),_0x673668=_0x2f3de0[_0x485c46(0x2b0)](_0x56dfc7);if(_0x673668){const _0x3f6edd=_0x673668==null?void 0x0:_0x673668[_0x485c46(0x390)]();_0x2f3de0[_0x485c46(0x306)](_0x41d84a[_0x485c46(0x272)](),_0x3f6edd===_0x273cf8[_0x485c46(0x284)]?_0x4729bf['sum']:_0x4729bf['count']);}const _0x1593e8=_0x2f3de0['getValueIndex'](),_0x135976=_0x2f3de0['getValuePosition'](),_0xad6a92=_0x2f3de0[_0x485c46(0x321)](_0xf3a50c[_0x485c46(0x1d9)]);if(_0x1593e8===-0x1&&_0xad6a92>0x1){const _0x804bd5=_0x135976===_0x22b0c2[_0x485c46(0x259)]?_0x22b0c2['Column']:_0x135976,_0x2f3eba=_0x804bd5===_0x22b0c2[_0x485c46(0x3f4)]?_0xf3a50c['Row']:_0xf3a50c[_0x485c46(0x418)];_0x2f3de0[_0x485c46(0x2c3)](_0x804bd5,_0x2f3de0[_0x485c46(0x321)](_0x2f3eba));}}else{if(_0x41d84a&&(_0x4d79f4===_0xf3a50c['Row']||_0x4d79f4===_0xf3a50c[_0x485c46(0x418)])){const _0x5019c0=_0x41d84a[_0x485c46(0x272)](),_0x4dd254=_0x2f3de0[_0x485c46(0x2b0)](_0x5019c0);if(_0x4dd254&&(_0x4dd254==null?void 0x0:_0x4dd254[_0x485c46(0x390)]())===_0x273cf8[_0x485c46(0x232)]){const _0x3588c3=_0x4dd254[_0x485c46(0x1e9)]();if(_0x3588c3&&_0x2f3de0[_0x485c46(0x204)](_0x41d84a[_0x485c46(0x272)](),_0x3588c3),!_0x1cf3c6[_0x485c46(0x2f9)]()[_0x485c46(0x2f6)](_0x1c8767=>{const _0x1f7213=_0x485c46,_0x130440=_0x1cf3c6['getFieldById'](_0x1c8767);return _0x2a178b(_0x130440)?_0x130440[_0x1f7213(0x3cf)]()[_0x1f7213(0x399)]===_0x3e24ca:!0x1;})){const _0x5f22a1=_0x29285a[_0x485c46(0x240)](),_0x3611e2=ji(_0x4dd254['maxDate'],_0x4dd254[_0x485c46(0x2e5)]),_0x3d869e=_0x4dd254[_0x485c46(0x398)]()+_0x485c46(0x2ce)+qo(this[_0x485c46(0x2a1)],_0x3611e2),_0x5e8392=new _0x2bf29a(_0x5f22a1,_0x3d869e,_0x2cc304(0x3),_0x4dd254[_0x485c46(0x272)](),_0x3611e2);_0x29285a[_0x485c46(0x201)](_0x5e8392),_0x1cf3c6['addField'](_0x5f22a1,_0x3d869e),_0x2f3de0[_0x485c46(0x32b)](_0x5f22a1,_0x4d79f4,(_0x12edc4!=null?_0x12edc4:0x0)+0x1),_0x24ea85=_0x5e8392;}}}}const _0x3a11de=_0x2f3de0['isEmpty'](),_0x503f54=_0x2f3de0[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)]();let _0xcbeb04;if(_0x24ea85){_0xcbeb04=_0x24ea85[_0x485c46(0x3b3)]();const _0x1ec083=_0x24ea85['getId']();_0x1cf3c6[_0x485c46(0x1db)](_0x1ec083);let _0x2da8d4=!0x0;for(const _0x1d6ca4 in _0x29285a[_0x485c46(0x1d8)])if(_0x29285a[_0x485c46(0x1d8)][_0x1d6ca4]['getFieldIds']()['includes'](_0x1ec083)){_0x2da8d4=!0x1;break;}_0x2da8d4&&_0x29285a['deleteDataField'](_0x1ec083);}const _0x2b57c0=_0x2f3de0[_0x485c46(0x239)]();_0x4d4481['addPivotField']={'view':_0x503f54,'changesets':_0x2b57c0,'isEmpty':_0x3a11de,'pivotTableConfig':_0x4936e6,'shouldBeAddedGroupJSON':_0xcbeb04};}break;case A[_0x485c46(0x2ad)]:{const _0x58db31=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x346)];if(!_0x58db31)return;const _0x390856=_0x58db31[_0x485c46(0x2d2)],_0x2fed88=_0x58db31[_0x485c46(0x38b)],{collection:_0x1558f0}=this[_0x485c46(0x42c)][_0x485c46(0x3ae)]({'unitId':_0x390856[_0x485c46(0x3c4)],'sheetName':_0x390856[_0x485c46(0x31d)],'subUnitId':_0x390856[_0x485c46(0x386)],'range':_0x390856[_0x485c46(0x286)]}),_0x32d958=new _0x162344(_0x1558f0,void 0x0,_0x2fed88),_0x1bc668=_0x32d958[_0x485c46(0x2ee)](),_0x5bb683=_0x32d958[_0x485c46(0x3b3)](),_0x205769=_0x1558f0[_0x485c46(0x3b3)]();_0x4d4481[_0x485c46(0x346)]={'view':_0x1bc668,'fieldsConfig':_0x5bb683,'collectionConfig':_0x205769,'isEmpty':_0x32d958['isEmpty']()};}break;case A[_0x485c46(0x24e)]:{const _0x4e53a6=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x426)];if(!_0x4e53a6)return;const {fieldId:_0x32a9c0,area:_0x4ba6b4,index:_0x6c95f8}=_0x4e53a6,_0x2c43db=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x2c43db)return;const _0x2e64fd=this['_sheetsPivotDataSourceModel'][_0x485c46(0x2e6)](_0x4b5bf3);if(!_0x2e64fd)return;_0x2e64fd[_0x485c46(0x3fd)]();const {area:_0x824940,index:_0x4611ce}=_0x2e64fd[_0x485c46(0x289)](_0x32a9c0);if(_0x2e64fd['updateFieldPosition'](_0x32a9c0,_0x4ba6b4,_0x6c95f8),_0x4ba6b4===_0xf3a50c[_0x485c46(0x1d9)]&&_0x2e64fd[_0x485c46(0x1f2)](_0x32a9c0)[_0x485c46(0x26e)]()===void 0x0){const _0x5186c8=_0x2e64fd[_0x485c46(0x1f2)](_0x32a9c0);if(_0x5186c8&&_0x5186c8[_0x485c46(0x26e)]()===void 0x0){const _0x2ce4c6=_0x2e64fd[_0x485c46(0x2b0)](_0x32a9c0);if(_0x2ce4c6){const _0x18dbd4=_0x2ce4c6==null?void 0x0:_0x2ce4c6[_0x485c46(0x390)]();_0x2e64fd[_0x485c46(0x306)](_0x32a9c0,_0x18dbd4===_0x273cf8[_0x485c46(0x284)]?_0x4729bf[_0x485c46(0x396)]:_0x4729bf['count']);}}}const _0x54766d=_0x2e64fd[_0x485c46(0x361)](),_0x52103f=_0x2e64fd[_0x485c46(0x2de)](),_0xe2ee67=_0x2e64fd['getFieldCountByArea'](_0xf3a50c[_0x485c46(0x1d9)])>0x1;if(_0xe2ee67&&_0x824940===_0x4ba6b4&&(_0x4ba6b4===_0xf3a50c[_0x485c46(0x3f4)]&&_0x54766d===_0x22b0c2['Row']||_0x4ba6b4===_0xf3a50c[_0x485c46(0x418)]&&_0x54766d===_0x22b0c2[_0x485c46(0x418)])){let _0x222e56=_0x52103f;_0x4611ce<=_0x52103f&&_0x222e56--,_0x6c95f8<=_0x52103f&&_0x222e56++,_0x2e64fd[_0x485c46(0x2c3)](_0x54766d,_0x222e56);}else _0xe2ee67&&(_0x824940===_0xf3a50c['Row']&&_0x54766d===_0x22b0c2[_0x485c46(0x3f4)]||_0x824940===_0xf3a50c['Column']&&_0x54766d===_0x22b0c2['Column'])&&_0x52103f>=_0x4611ce&&_0x2e64fd[_0x485c46(0x2c3)](_0x54766d,_0x52103f-0x1),_0xe2ee67&&(_0x4ba6b4===_0xf3a50c['Row']&&_0x54766d===_0x22b0c2[_0x485c46(0x3f4)]||_0x4ba6b4===_0xf3a50c[_0x485c46(0x418)]&&_0x54766d===_0x22b0c2[_0x485c46(0x418)])&&_0x52103f>=_0x6c95f8&&_0x2e64fd[_0x485c46(0x2c3)](_0x54766d,_0x52103f+0x1);const _0x3bf275=_0x2e64fd['query'](),_0x3fb3b2=_0x2e64fd[_0x485c46(0x3d2)](),_0x25ac1b=_0x2e64fd[_0x485c46(0x239)]();_0x4d4481[_0x485c46(0x426)]={'view':_0x3bf275[_0x485c46(0x3b3)](),'changesets':_0x25ac1b,'isEmpty':_0x3fb3b2,'pivotTableConfig':_0x2c43db};}break;case A[_0x485c46(0x425)]:{const _0x2c2b76=_0x5ca222['params'][_0x485c46(0x36e)];if(!_0x2c2b76)return;const _0x513174=_0x2c2b76['fieldIds'],_0x377a57=this[_0x485c46(0x42c)]['getPivotTableConfig'](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x377a57)return!0x1;const _0x587090=this[_0x485c46(0x42c)][_0x485c46(0x2e6)](_0x4b5bf3);if(!_0x587090)return!0x1;_0x587090['startCollectChangeset']();for(const _0x595056 of _0x513174){const {area:_0x4ca5aa}=_0x587090[_0x485c46(0x289)](_0x595056);_0x4ca5aa===_0xf3a50c[_0x485c46(0x1d9)]&&_0x587090[_0x485c46(0x3a7)](_0x595056),(_0x4ca5aa===_0xf3a50c[_0x485c46(0x3f4)]||_0x4ca5aa===_0xf3a50c['Column'])&&_0x587090[_0x485c46(0x270)](_0x595056),_0x587090[_0x485c46(0x38d)](_0x595056);}const _0x29b448=_0x587090[_0x485c46(0x3d2)](),_0x5401ac=_0x587090[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)](),_0x518b2d=_0x587090[_0x485c46(0x239)]();_0x4d4481[_0x485c46(0x36e)]={'changesets':_0x518b2d,'pivotTableConfig':_0x377a57,'isEmpty':_0x29b448,'view':_0x5401ac};}break;case A[_0x485c46(0x205)]:{const _0xe4c3b6=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x230)];if(!_0xe4c3b6)return;const {tableFieldId:_0x3e14ee,items:_0x21f756,isAll:_0x5cdaba}=_0xe4c3b6,_0x31f620=this['_sheetsPivotDataSourceModel'][_0x485c46(0x2e6)](_0x4b5bf3),_0x484c99=this[_0x485c46(0x42c)]['getPivotTableConfig'](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x31f620||!_0x484c99)return;_0x31f620[_0x485c46(0x3fd)](),_0x31f620[_0x485c46(0x3c1)](_0x3e14ee,{'type':_0x38c691[_0x485c46(0x312)],'list':_0x21f756,'isAll':_0x5cdaba});const _0x85ee2e=_0x31f620[_0x485c46(0x3d2)](),_0x5a9ebb=_0x31f620['query']()['toJSON'](),_0x1d0a62=_0x31f620[_0x485c46(0x239)]();_0x4d4481[_0x485c46(0x230)]={'view':_0x5a9ebb,'changesets':_0x1d0a62,'isEmpty':_0x85ee2e,'pivotTableConfig':_0x484c99};}break;case A[_0x485c46(0x21e)]:{const _0x2edd3a=_0x5ca222['params'][_0x485c46(0x2fd)];if(!_0x2edd3a)return;const {tableFieldId:_0x4257e3,filterInfo:_0x504c61}=_0x2edd3a,_0x27e62e=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4b5bf3),_0x4be284=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x27e62e||!_0x4be284)return;_0x27e62e[_0x485c46(0x3fd)](),_0x27e62e[_0x485c46(0x391)](_0x4257e3,_0x504c61);const _0x361973=_0x27e62e[_0x485c46(0x3d2)](),_0x139a79=_0x27e62e[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)](),_0x3ce38d=_0x27e62e[_0x485c46(0x239)]();_0x4d4481['setValuePivotFilter']={'view':_0x139a79,'changesets':_0x3ce38d,'isEmpty':_0x361973,'pivotTableConfig':_0x4be284};}break;case A[_0x485c46(0x39c)]:{const _0x32e8b7=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x257)];if(!_0x32e8b7)return;const {tableFieldId:_0x405f86,info:_0xd7356b}=_0x32e8b7,_0x5847d4=this['_sheetsPivotDataSourceModel'][_0x485c46(0x2e6)](_0x4b5bf3),_0x523243=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x5847d4||!_0x523243)return;_0x5847d4['startCollectChangeset'](),_0x5847d4[_0x485c46(0x298)](_0x405f86,_0xd7356b);const _0x27a157=_0x5847d4[_0x485c46(0x3d2)](),_0x2b7d43=_0x5847d4[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)](),_0x3aedd0=_0x5847d4[_0x485c46(0x239)]();_0x4d4481['setPivotSort']={'view':_0x2b7d43,'changesets':_0x3aedd0,'isEmpty':_0x27a157,'pivotTableConfig':_0x523243};}break;case A[_0x485c46(0x379)]:{const _0x11ae93=_0x5ca222['params']['setPivotSetting'];if(!_0x11ae93)return;const {tableFieldId:_0x2cc428,displayName:_0x26ea97,subtotalType:_0x38b2c1,format:_0x43b0d9}=_0x11ae93,_0x79f773=this[_0x485c46(0x42c)][_0x485c46(0x2e6)](_0x4b5bf3),_0x1739fd=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x79f773||!_0x1739fd)return;_0x79f773[_0x485c46(0x3fd)](),_0x26ea97!==void 0x0&&_0x79f773[_0x485c46(0x30e)](_0x2cc428,_0x26ea97),_0x38b2c1!==void 0x0&&_0x79f773['setSubtotalType'](_0x2cc428,_0x38b2c1),_0x43b0d9!==void 0x0&&_0x79f773[_0x485c46(0x204)](_0x2cc428,_0x43b0d9);const _0x58a2ac=_0x79f773['isEmpty'](),_0x15413b=_0x79f773[_0x485c46(0x2ee)]()['toJSON'](),_0x3cdee9=_0x79f773[_0x485c46(0x239)]();_0x4d4481['setPivotSetting']={'changesets':_0x3cdee9,'pivotTableConfig':_0x1739fd,'isEmpty':_0x58a2ac,'view':_0x15413b};}break;case A[_0x485c46(0x427)]:{const _0x1f0c2c=_0x5ca222[_0x485c46(0x282)]['updatePivotSource'];if(!_0x1f0c2c)return;const {dataRangeInfo:_0x33dd0f,unitId:_0x31274f,subUnitId:_0x5b246e}=_0x1f0c2c,_0x588bd0=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0x31274f,_0x5b246e,_0x4b5bf3),_0x56d1c8=this['_sheetsPivotDataSourceModel'][_0x485c46(0x2e6)](_0x4b5bf3);if(!this[_0x485c46(0x42c)][_0x485c46(0x2f4)](_0x31274f,_0x4b5bf3)||!_0x56d1c8||!_0x588bd0)return;const _0x2955a3=this['_sheetsPivotDataSourceModel'][_0x485c46(0x297)](_0x31274f,_0x4b5bf3,_0x33dd0f),_0x438725=this['_sheetsPivotDataSourceModel'][_0x485c46(0x2f4)](_0x31274f,_0x4b5bf3)[_0x485c46(0x3b3)](),{collection:_0x3d50dc}=this[_0x485c46(0x42c)][_0x485c46(0x3ae)]({'unitId':_0x33dd0f[_0x485c46(0x3c4)],'sheetName':_0x33dd0f[_0x485c46(0x31d)],'subUnitId':_0x33dd0f[_0x485c46(0x386)],'range':_0x33dd0f['range']}),_0x30af40=_0x3d50dc['toJSON']();_0x56d1c8['startCollectChangeset']();const _0x4eef6b=this[_0x485c46(0x42c)]['getDataFieldManager'](_0x31274f)['getAutoDisplayNameFunction']()||_0x2cc45f;_0x56d1c8[_0x485c46(0x2e9)](_0xf0ba75=>{const _0x2155c6=_0x485c46,_0x4ec13c=_0xf0ba75[_0x2155c6(0x261)]();if(!_0x3d50dc[_0x2155c6(0x1dd)](_0x4ec13c)){const _0x53cb6f=_0x3d50dc[_0x2155c6(0x278)](_0xf0ba75['getSourceName']());if(_0x53cb6f){_0x56d1c8['updateFieldSourceInfo'](_0xf0ba75[_0x2155c6(0x272)](),_0x53cb6f['getName'](),_0x53cb6f[_0x2155c6(0x272)]());const {area:_0x93f15f}=_0x56d1c8['getFieldPositionInfoById'](_0xf0ba75[_0x2155c6(0x272)]());let _0x590e28=_0xf0ba75[_0x2155c6(0x2a9)]();const _0x1281f8=_0xf0ba75[_0x2155c6(0x34e)]();if(_0x93f15f===_0xf3a50c[_0x2155c6(0x1d9)]){const _0x3e1788=_0xf0ba75['getSubtotal']();_0x590e28=_0x4eef6b(_0x53cb6f[_0x2155c6(0x398)](),_0x3e1788);}_0x1281f8!==_0x590e28&&_0x56d1c8[_0x2155c6(0x30e)](_0xf0ba75[_0x2155c6(0x272)](),_0x590e28);}else _0x56d1c8[_0x2155c6(0x38d)](_0xf0ba75[_0x2155c6(0x272)]());}});const _0xf14e78=_0x56d1c8[_0x485c46(0x3d2)](),_0xd05a4e=_0x56d1c8[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)](),_0xcbfd75=_0x56d1c8['endCollectChangeset']();_0x4d4481[_0x485c46(0x360)]={'view':_0xd05a4e,'changesets':_0xcbfd75,'isEmpty':_0xf14e78,'pivotTableConfig':_0x588bd0,'collectionConfig':_0x30af40,'oldCollectionConfig':_0x438725,'deleteIds':_0x2955a3};}break;case A['UpdateValuePosition']:{const _0x18c567=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x2c3)];if(!_0x18c567)return;const {position:_0x167c40,index:_0x57b516}=_0x18c567,_0x276d6=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x276d6)return!0x1;const _0x1f7ede=this['_sheetsPivotDataSourceModel'][_0x485c46(0x2e6)](_0x4b5bf3);if(!_0x1f7ede)return!0x1;_0x1f7ede['startCollectChangeset'](),_0x1f7ede[_0x485c46(0x2c3)](_0x167c40,_0x57b516);const _0x3654f7=_0x1f7ede[_0x485c46(0x3d2)](),_0x55fe0f=_0x1f7ede[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)](),_0x653a50=_0x1f7ede[_0x485c46(0x239)]();_0x4d4481[_0x485c46(0x2c3)]={'changesets':_0x653a50,'pivotTableConfig':_0x276d6,'isEmpty':_0x3654f7,'view':_0x55fe0f};}break;case A[_0x485c46(0x1e8)]:{const _0x4da0f9=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x413)];if(!_0x4da0f9)return;const {tableFieldId:_0x1535b9,collapse:_0x3e13f2,item:_0x20bff8}=_0x4da0f9,_0x43d2d5=this[_0x485c46(0x42c)][_0x485c46(0x2e6)](_0x4b5bf3),_0xb1dded=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x43d2d5||!_0xb1dded)return;_0x43d2d5[_0x485c46(0x3fd)](),_0x43d2d5[_0x485c46(0x2b6)](_0x1535b9,_0x3e13f2,_0x20bff8);const _0x4445b4=_0x43d2d5[_0x485c46(0x3d2)](),_0x13cadf=_0x43d2d5[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)](),_0x350da2=_0x43d2d5[_0x485c46(0x239)]();_0x4d4481[_0x485c46(0x413)]={'view':_0x13cadf,'isEmpty':_0x4445b4,'pivotTableConfig':_0xb1dded,'changesets':_0x350da2};}break;case A[_0x485c46(0x3a4)]:{const _0x2d1fa7=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x3f2)];if(!_0x2d1fa7)return;const {pivotTableConfig:_0x3c0787}=_0x2d1fa7,_0x53386c=this[_0x485c46(0x42c)][_0x485c46(0x2e6)](_0x4b5bf3),_0x2cc639=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x53386c||!_0x2cc639)return;_0x53386c[_0x485c46(0x3fd)](),$i(_0x53386c,_0x3c0787);const _0x2908b6=_0x53386c[_0x485c46(0x3d2)](),_0x2827f5=_0x53386c['query']()[_0x485c46(0x3b3)](),_0x389054=_0x53386c[_0x485c46(0x239)]();_0x4d4481['setPivotTableConfig']={'view':_0x2827f5,'isEmpty':_0x2908b6,'pivotTableConfig':{..._0x2cc639,'fieldsConfig':_0x53386c[_0x485c46(0x3b3)]()},'changesets':_0x389054};}break;case A['ResetPivotTable']:{const _0x509fc6=_0x5ca222['params'][_0x485c46(0x2d0)];if(!_0x509fc6)return;const _0x419a70=this['_sheetsPivotDataSourceModel'][_0x485c46(0x2e6)](_0x4b5bf3),_0x4d2093=this[_0x485c46(0x42c)][_0x485c46(0x1df)](_0xa23a02,_0x4f1e09,_0x4b5bf3);if(!_0x419a70||!_0x4d2093)return;_0x419a70['startCollectChangeset'](),zi(_0x419a70,_0x509fc6[_0x485c46(0x3cd)]);const _0xad3b88=_0x419a70[_0x485c46(0x2ee)]()[_0x485c46(0x3b3)](),_0xe4ae41=_0x419a70['endCollectChangeset']();_0x4d4481[_0x485c46(0x2d0)]={'view':_0xad3b88,'isEmpty':!0x0,'pivotTableConfig':{..._0x4d2093,'fieldsConfig':_0x419a70[_0x485c46(0x3b3)]()},'changesets':_0xe4ae41};}break;case A['AddPivotTableWithConfig']:{const _0x541011=_0x5ca222[_0x485c46(0x282)][_0x485c46(0x3bd)];if(!_0x541011)return;const _0x187bc4=_0x541011[_0x485c46(0x2d2)],_0x5d4efd=_0x541011[_0x485c46(0x38b)],{collection:_0x458006}=this[_0x485c46(0x42c)]['createCollectionWithDataRange']({'unitId':_0x187bc4['unitId'],'sheetName':_0x187bc4[_0x485c46(0x31d)],'subUnitId':_0x187bc4[_0x485c46(0x386)],'range':_0x187bc4[_0x485c46(0x286)]}),_0x5b8288=new _0x162344(_0x458006,void 0x0,_0x5d4efd),_0x3adfa5=_0x458006[_0x485c46(0x2f9)](),{rows:_0xbe0a2d,columns:_0x310537,filters:_0x375c7d,values:_0x1483e9}=_0x541011['pivotTableIndexConfig'];_0x5b8288['startCollectChangeset']();for(const {field:_0x287f5f,selectedItems:_0x58121f}of _0xbe0a2d||[]){const _0x11bc2f=_0x3adfa5[_0x287f5f];if(_0x11bc2f){const _0x46cc58=_0x5b8288['addFieldWithSourceId'](_0x11bc2f,_0xf3a50c[_0x485c46(0x3f4)]);_0x58121f&&_0x46cc58&&_0x5b8288[_0x485c46(0x3c1)](_0x46cc58[_0x485c46(0x272)](),{'type':_0x38c691['ManualFilter'],'list':_0x58121f,'isAll':!0x1});}}for(const {field:_0x43acc2,selectedItems:_0x2c494e}of _0x310537||[]){const _0xd93433=_0x3adfa5[_0x43acc2];if(_0xd93433){const _0x4ac63f=_0x5b8288[_0x485c46(0x32b)](_0xd93433,_0xf3a50c[_0x485c46(0x418)]);_0x2c494e&&_0x4ac63f&&_0x5b8288[_0x485c46(0x3c1)](_0x4ac63f[_0x485c46(0x272)](),{'type':_0x38c691[_0x485c46(0x312)],'list':_0x2c494e,'isAll':!0x1});}}for(const {field:_0x577528,selectedItems:_0x1ab528}of _0x375c7d||[]){const _0x38aa90=_0x3adfa5[_0x577528];if(_0x38aa90){const _0x472917=_0x5b8288[_0x485c46(0x32b)](_0x38aa90,_0xf3a50c[_0x485c46(0x39a)]);_0x1ab528&&_0x472917&&_0x5b8288[_0x485c46(0x3c1)](_0x472917[_0x485c46(0x272)](),{'type':_0x38c691[_0x485c46(0x312)],'list':_0x1ab528,'isAll':!0x1});}}for(const {field:_0x44d5bb,subTotalType:_0x291935,formatString:_0x4c7f24}of _0x1483e9||[]){const _0x5cddc4=_0x458006[_0x485c46(0x1d3)](_0x3adfa5[_0x44d5bb]);if(!_0x5cddc4)continue;const _0xa2b50e=_0x3adfa5[_0x44d5bb];if(_0xa2b50e){const _0x4775f8=_0x5b8288['addFieldWithSourceId'](_0xa2b50e,_0xf3a50c[_0x485c46(0x1d9)]);if(_0x4775f8){if(_0x291935!==void 0x0){_0x5b8288[_0x485c46(0x306)](_0x4775f8[_0x485c46(0x272)](),_0x291935);const _0x1f8b64=this[_0x485c46(0x42c)][_0x485c46(0x265)](_0x187bc4[_0x485c46(0x3c4)])[_0x485c46(0x295)]()||_0x2cc45f,_0x21e43e=_0x458006[_0x485c46(0x34e)](_0xa2b50e),_0x45e8c3=_0x1f8b64(_0x21e43e,_0x291935);_0x5b8288[_0x485c46(0x30e)](_0x4775f8[_0x485c46(0x272)](),_0x45e8c3);}else{if(_0x5cddc4){const _0x554f53=_0x5cddc4==null?void 0x0:_0x5cddc4['getFieldDataType']();_0x5b8288[_0x485c46(0x306)](_0x4775f8[_0x485c46(0x272)](),_0x554f53===_0x273cf8[_0x485c46(0x284)]?_0x4729bf[_0x485c46(0x396)]:_0x4729bf[_0x485c46(0x283)]);}}_0x4c7f24&&_0x5b8288[_0x485c46(0x204)](_0x4775f8[_0x485c46(0x272)](),_0x4c7f24);}}}const _0x5cf38b=_0x5b8288['query'](),_0x5d1a05=_0x5b8288[_0x485c46(0x3b3)](),_0x56349f=_0x5b8288[_0x485c46(0x3d2)](),_0xd96cb2=_0x5b8288[_0x485c46(0x239)](),_0x1af5c4=_0x458006[_0x485c46(0x3b3)]();_0x4d4481[_0x485c46(0x3bd)]={'view':_0x5cf38b,'fieldsConfig':_0x5d1a05,'collectionConfig':_0x1af5c4,'isEmpty':_0x56349f,'changesets':_0xd96cb2};}break;case A[_0x485c46(0x20c)]:{const _0xf7958c=ki(this[_0x485c46(0x2a1)],_0x5ca222);if(!_0xf7958c)return;const {range:_0x1c5764,sourceSubUnitId:_0x59190e,sourceUnitId:_0x314ea8,formatMap:_0x572b71,indexes:_0x5d88ee}=_0xf7958c;_0x4d4481[_0x485c46(0x365)]={'range':_0x1c5764,'sourceSubUnitId':_0x59190e,'sourceUnitId':_0x314ea8,'formatMap':_0x572b71,'indexes':_0x5d88ee};}break;}this['_commandService']['executeCommand'](lo['id'],{'version':_0x5ca222[_0x485c46(0x41e)],'result':_0x4d4481},{'onlyLocal':!0x0});}));}[_0x1a4bb1(0x329)](){const _0x56eae9=_0x1a4bb1;this[_0x56eae9(0x323)](this[_0x56eae9(0x2ff)]['onCommandExecuted'](_0x3dbc95=>{const _0x3fb0d8=_0x56eae9;if(_0x3dbc95['id']!==uo['id'])return;const _0x23ea7e=_0x3dbc95['params'];return this[_0x3fb0d8(0x42c)][_0x3fb0d8(0x40c)](_0x23ea7e[_0x3fb0d8(0x266)]),!0x0;}));}[_0x1a4bb1(0x221)](){const _0x1fcd1a=_0x1a4bb1;this[_0x1fcd1a(0x42c)][_0x1fcd1a(0x35a)]['subscribe'](_0x2a121e=>{const _0x15865f=_0x1fcd1a;switch(_0x2a121e[_0x15865f(0x1e0)]){case Le[_0x15865f(0x3ef)]:_0x2a121e['dataRangeInfo']&&_0x2a121e[_0x15865f(0x202)]&&this[_0x15865f(0x388)](_0x2a121e[_0x15865f(0x337)],_0x2a121e[_0x15865f(0x210)],_0x2a121e[_0x15865f(0x202)]);break;case Le[_0x15865f(0x3e5)]:{const {unitId:_0x2e0871,subUnitId:_0x50943b,token:_0x24593a}=_0x2a121e;_0x2e0871&&_0x50943b&&_0x24593a&&this[_0x15865f(0x3a5)](_0x2e0871,_0x50943b,_0x24593a);}break;case Le['update']:{const {token:_0x296b8f,oldSourceRangeInfo:_0x3d48b3,dataRangeInfo:_0x555275,targetCellInfo:_0x41dc84}=_0x2a121e,{unitId:_0xa5b853,subUnitId:_0x25120d}=_0x3d48b3||{};_0xa5b853&&_0x25120d&&_0x296b8f&&this['removeSourceRangeChange'](_0xa5b853,_0x25120d,_0x296b8f),_0x555275&&_0x41dc84&&this[_0x15865f(0x388)](_0x296b8f,_0x555275,_0x41dc84);}break;}});}['_subjectFieldsCollectionChange'](){const _0x4d1573=_0x1a4bb1;this[_0x4d1573(0x42c)][_0x4d1573(0x340)]['subscribe'](_0x315690=>{const _0xf3bf35=_0x4d1573;Object[_0xf3bf35(0x37f)](_0x315690)[_0xf3bf35(0x34b)](_0x352fd0=>{const _0x3be9ef=_0xf3bf35,_0x2d8ab1=this[_0x3be9ef(0x42c)]['getTargetByPivotId'](_0x352fd0);if(_0x2d8ab1){const _0x5d0984=this['_sheetsPivotDataSourceModel'][_0x3be9ef(0x1df)](_0x2d8ab1==null?void 0x0:_0x2d8ab1[_0x3be9ef(0x3c4)],_0x2d8ab1==null?void 0x0:_0x2d8ab1['subUnitId'],_0x352fd0);_0x5d0984&&(this['handleSourceRangeChange'](_0x352fd0,_0x5d0984[_0x3be9ef(0x2d2)],_0x5d0984[_0x3be9ef(0x202)]),this['triggerDirtyFeature']([{'unitId':_0x2d8ab1['unitId'],'subUnitId':_0x2d8ab1[_0x3be9ef(0x386)],'token':_0x352fd0}]));}});});}[_0x1a4bb1(0x2dd)](){const _0x2d91b7=_0x1a4bb1;this[_0x2d91b7(0x42c)]['viewData$']['subscribe'](_0x51a146=>{const _0x14f3af=_0x2d91b7,{unitId:_0x3ea355,subUnitId:_0x1627ec,pivotTableId:_0x4af1c8}=_0x51a146;_0x3ea355&&_0x1627ec&&_0x4af1c8&&this[_0x14f3af(0x209)]([{'unitId':_0x3ea355,'subUnitId':_0x1627ec,'token':_0x4af1c8}]);});}[_0x1a4bb1(0x209)](_0xa7d5f6){const _0xcc5650=_0x1a4bb1,_0x1cea1b={};_0xa7d5f6[_0xcc5650(0x34b)](_0x2008b0=>{var _0x51a275,_0xc54356;const {unitId:_0x22bb2e,subUnitId:_0x38764f,token:_0x2fd607}=_0x2008b0;_0x1cea1b[_0x22bb2e]=(_0x51a275=_0x1cea1b[_0x22bb2e])!=null?_0x51a275:{},_0x1cea1b[_0x22bb2e][_0x38764f]=(_0xc54356=_0x1cea1b[_0x22bb2e][_0x38764f])!=null?_0xc54356:{},_0x1cea1b[_0x22bb2e][_0x38764f][_0x2fd607]=!0x0;}),this[_0xcc5650(0x2ff)]['executeCommand'](Ut['id'],_0x1cea1b);}[_0x1a4bb1(0x3a5)](_0x1e0191,_0x16043f,_0x1195b4){this['_featureCalculationManagerService']['remove'](_0x1e0191,_0x16043f,[_0x1195b4]);}[_0x1a4bb1(0x388)](_0x58df52,_0x13280f,_0x149105){const _0x19b8b1=_0x1a4bb1,{unitId:_0x4d4764,subUnitId:_0x11e892}=_0x13280f;this['_featureCalculationManagerService'][_0x19b8b1(0x2bb)](_0x149105[_0x19b8b1(0x3c4)],_0x149105[_0x19b8b1(0x386)],_0x58df52)&&this['removeSourceRangeChange'](_0x4d4764,_0x11e892,_0x58df52);const _0x257df4={'sheetId':_0x11e892,..._0x13280f};this[_0x19b8b1(0x21d)]['register'](_0x149105[_0x19b8b1(0x3c4)],_0x149105['subUnitId'],_0x58df52,{'unitId':_0x149105['unitId'],'subUnitId':_0x149105['subUnitId'],'dependencyRanges':[_0x257df4],'getDirtyData':(_0x161bb0,_0x114366)=>{const _0x3813c6=_0x19b8b1,_0x40128d=this[_0x3813c6(0x42c)],_0x30f0ff=_0x40128d[_0x3813c6(0x320)](_0x58df52);if(!_0x30f0ff)return Vs();const {unitId:_0x307a16,subUnitId:_0x5bfad6}=_0x30f0ff,_0xeb3008=Es(_0x161bb0,_0x114366,_0x13280f);if(_0xeb3008[_0x3813c6(0x2ac)]>0x0){const _0x4f1e6e=_0x40128d[_0x3813c6(0x2f4)](_0x4d4764,_0x58df52),_0x332742=_0x4f1e6e[_0x3813c6(0x2f9)](),_0x124721=this['getMatrixFromRunTimeData'](_0x13280f['unitId'],_0x13280f['subUnitId'],_0x114366),_0x25a659={},_0x2009cf=this[_0x3813c6(0x42c)][_0x3813c6(0x265)](_0x307a16)[_0x3813c6(0x295)]()||_0x2cc45f,_0x21d8a7=[];for(const _0x49e2f6 of _0xeb3008){const _0x120843=_0x49e2f6-(_0x13280f[_0x3813c6(0x286)][_0x3813c6(0x3df)]||0x0),_0x3f4a70=_0x332742[_0x120843];_0x21d8a7[_0x3813c6(0x3ea)](_0x3f4a70),_0x25a659[_0x3f4a70]=_0x4f1e6e[_0x3813c6(0x1d3)](_0x3f4a70)[_0x3813c6(0x398)](),_0x40128d[_0x3813c6(0x265)](_0x4d4764)[_0x3813c6(0x212)](_0x3f4a70,_0x13280f,_0x120843,_0x124721);}_0x4f1e6e[_0x3813c6(0x2a2)](_0x21d8a7)[_0x3813c6(0x34b)](_0x16f8d6=>{const _0x42ac13=_0x3813c6,[_0x5e2757,_0x33e2e7]=_0x16f8d6,_0x25480c=_0x4f1e6e[_0x42ac13(0x1d3)](_0x5e2757),_0x1b8755=_0x4f1e6e[_0x42ac13(0x1d3)](_0x33e2e7);_0x25480c&&_0x1b8755&&_0x25480c['refreshGroupField'](_0x1b8755);}),_0x4f1e6e['updateAllDisplayName']();const _0x3c979e=_0x40128d[_0x3813c6(0x2e6)](_0x58df52);if(_0x3c979e){xs(_0x3c979e,_0x25a659,_0x2009cf),_0x3c979e[_0x3813c6(0x432)](!0x0);const _0x5306bf=_0x3c979e[_0x3813c6(0x2ee)](),_0x435e3a=_0x40128d[_0x3813c6(0x1df)](_0x307a16,_0x5bfad6,_0x58df52),_0x2c4a10=_0x40128d[_0x3813c6(0x265)](_0x4d4764)[_0x3813c6(0x3b3)]();_0x40128d[_0x3813c6(0x305)](_0x307a16,_0x5bfad6,B[_0x3813c6(0x3d4)],_0x58df52,_0x5306bf,_0x435e3a,_0x2c4a10,!0x0);}}return this[_0x3813c6(0x254)](_0x307a16,_0x5bfad6,_0x58df52);}});}[_0x1a4bb1(0x3ee)](_0x41eb5a,_0x4151fb,_0x2408e0){var _0x2fa301,_0x83e22f;const {arrayFormulaCellData:_0xdefeae,unitData:_0x59bbf1}=_0x2408e0,_0x406d2e=(_0x2fa301=_0xdefeae==null?void 0x0:_0xdefeae[_0x41eb5a])==null?void 0x0:_0x2fa301[_0x4151fb],_0x5e83e5=(_0x83e22f=_0x59bbf1==null?void 0x0:_0x59bbf1[_0x41eb5a])==null?void 0x0:_0x83e22f[_0x4151fb];return{'arrayFormulaCellDataMatrix':_0x406d2e,'unitDataMatrix':_0x5e83e5};}['getDirtyInfo'](_0x5b2707,_0x3cd1ce,_0x395eb6){const _0x41f9a5=_0x1a4bb1,_0x10a950=this[_0x41f9a5(0x42c)][_0x41f9a5(0x3bb)](_0x5b2707,_0x3cd1ce,_0x395eb6),_0x3dd06f=[],_0x157b20=new _0x18ce59();if(_0x10a950){const {rangeCache:_0x31787f,matrix:_0x5c0c53,oldRangeCache:_0x4aec64,oldMatrix:_0x3cc04f}=_0x10a950,_0x13baf5=Bt(_0x4aec64),_0xbed7e8=Bt(_0x31787f);_0x3dd06f['push'](..._0xbed7e8,..._0x13baf5),_0x3cc04f&&_0x4aec64&&_0x13baf5[_0x41f9a5(0x34b)](_0x1f3293=>{const _0x679994=_0x41f9a5;for(let _0x5eb520=_0x1f3293['startRow'];_0x5eb520<=_0x1f3293['endRow'];_0x5eb520++)for(let _0x3f0267=_0x1f3293[_0x679994(0x3df)];_0x3f0267<=_0x1f3293['endColumn'];_0x3f0267++)_0x157b20['realDeleteValue'](_0x5eb520,_0x3f0267);}),_0x5c0c53&&_0xbed7e8&&_0xbed7e8['forEach'](_0x26ea3a=>{const _0x40939e=_0x41f9a5;for(let _0x23acc2=_0x26ea3a[_0x40939e(0x296)];_0x23acc2<=_0x26ea3a[_0x40939e(0x417)];_0x23acc2++)for(let _0x3bec2f=_0x26ea3a[_0x40939e(0x3df)];_0x3bec2f<=_0x26ea3a[_0x40939e(0x1fe)];_0x3bec2f++)_0x157b20[_0x40939e(0x22a)](_0x23acc2,_0x3bec2f,_0x5c0c53[_0x40939e(0x2fc)](_0x23acc2,_0x3bec2f));});}const _0x2192e5={};return _0x2192e5[_0x5b2707]={[_0x3cd1ce]:Os(_0x3dd06f)},{'runtimeCellData':{[_0x5b2707]:{[_0x3cd1ce]:_0x157b20}},'dirtyRanges':_0x2192e5};}[_0x1a4bb1(0x32a)](){}};dt=Us([He(0x0,_0x772e00(G)),He(0x1,_0x1893a6),He(0x2,_0x772e00(_0x3e04e3)),He(0x3,_0x772e00(_0x554f1b)),He(0x4,_0x772e00(_0x4d465d)),He(0x5,_0x772e00(_0x4ed77d))],dt);var ks=Object[_0x1a4bb1(0x1c6)],As=(_0x35521d,_0x14c2d9,_0x4d4e74,_0x15f396)=>{const _0x59a109=_0x1a4bb1;for(var _0x342da8=_0x15f396>0x1?void 0x0:_0x15f396?ks(_0x14c2d9,_0x4d4e74):_0x14c2d9,_0x9d2be7=_0x35521d[_0x59a109(0x2ac)]-0x1,_0xc9f9ce;_0x9d2be7>=0x0;_0x9d2be7--)(_0xc9f9ce=_0x35521d[_0x9d2be7])&&(_0x342da8=_0xc9f9ce(_0x342da8)||_0x342da8);return _0x342da8;},wt=(_0x1f54a6,_0x9dde0e)=>(_0x208a8e,_0x561564)=>_0x9dde0e(_0x208a8e,_0x561564,_0x1f54a6);let ct=class extends _0x36ff7f{constructor(_0x284800,_0x54bfd4,_0x13fc99,_0x4ea0ff){const _0x495c7e=_0x1a4bb1;super(),V(this,_0x495c7e(0x438),new _0x379c4f()),(this['_univerInstanceService']=_0x284800,this[_0x495c7e(0x3f7)]=_0x54bfd4,this[_0x495c7e(0x2d3)]=_0x13fc99,this['_sheetsPivotTableConfigModel']=_0x4ea0ff,this[_0x495c7e(0x339)]());}[_0x1a4bb1(0x339)](){const _0xfdfc00=_0x1a4bb1;this[_0xfdfc00(0x323)](this[_0xfdfc00(0x3f7)][_0xfdfc00(0x35c)]({'getMutations':_0x3130b0=>{const _0x1ac592=_0xfdfc00;if(_0x3130b0['id']===_0x264eb7['id']||_0x3130b0['id']===_0xfa21a9['id']){const _0x15dfb1=[],_0x15ffe9=[],_0x42e23c=this['_sheetsSelectionsService']['getCurrentSelections']()['map'](_0x205680=>_0x205680[_0x1ac592(0x286)]),_0x4539b8=_0x114ebc(this['_univerInstanceService']);if(!_0x4539b8)return{'redos':[],'undos':[]};const {unitId:_0x3cb570,subUnitId:_0x3ea840}=_0x4539b8,_0x3adf2b={},_0x28eff9=this[_0x1ac592(0x294)][_0x1ac592(0x2f1)](_0x3cb570,_0x3ea840);if(_0x28eff9!=null&&_0x28eff9[_0x1ac592(0x3ce)])for(const [_0x2f01d5,_0x19789b]of _0x28eff9){const {unitId:_0x44e9db,subUnitId:_0x1e8b79,row:_0x3c7daa,col:_0x13e82e}=_0x19789b[_0x1ac592(0x202)];_0x44e9db===_0x4539b8[_0x1ac592(0x3c4)]&&_0x1e8b79===_0x4539b8[_0x1ac592(0x386)]&&(_0x3adf2b[_0x3c7daa+'-'+_0x13e82e]=_0x2f01d5);}return _0x42e23c&&_0x4539b8&&_0x42e23c[_0x1ac592(0x34b)](_0x4e7bb0=>{const _0x18849f=_0x1ac592;_0x59e98e[_0x18849f(0x220)](_0x4e7bb0,(_0x48e298,_0x2d4697)=>{const _0x36301c=_0x18849f,_0x4eece3=_0x48e298+'-'+_0x2d4697;if(_0x3adf2b[_0x4eece3]){const _0x28d01b=_0x3adf2b[_0x4eece3];_0x15dfb1[_0x36301c(0x3ea)]({'id':Et['id'],'params':{'unitId':_0x3cb570,'subUnitId':_0x3ea840,'pivotTableId':_0x28d01b}});const _0x375a20=this['_sheetsPivotTableConfigModel'][_0x36301c(0x2f4)](_0x3cb570,_0x28d01b),_0x2a7e04=this[_0x36301c(0x294)]['getPivotTableConfig'](_0x3cb570,_0x3ea840,_0x28d01b);_0x15ffe9[_0x36301c(0x3ea)]({'id':Ct['id'],'params':{'unitId':_0x3cb570,'subUnitId':_0x3ea840,'pivotTableId':_0x28d01b,'pivotTableConfig':_0x2a7e04,'collectionConfig':_0x375a20}});}});}),{'redos':_0x15dfb1,'undos':_0x15ffe9};}return{'redos':[],'undos':[]};}}));}};ct=As([wt(0x0,_0x41ab3d),wt(0x1,_0x772e00(_0x3956fc)),wt(0x2,_0x772e00(_0x3fe1d9)),wt(0x3,_0x772e00(ve))],ct);var Ws=Object[_0x1a4bb1(0x1c6)],Ls=(_0x18496e,_0x5f264b,_0x5c9b59,_0x291900)=>{for(var _0x2d64c2=_0x291900>0x1?void 0x0:_0x291900?Ws(_0x5f264b,_0x5c9b59):_0x5f264b,_0x40dc84=_0x18496e['length']-0x1,_0x258638;_0x40dc84>=0x0;_0x40dc84--)(_0x258638=_0x18496e[_0x40dc84])&&(_0x2d64c2=_0x258638(_0x2d64c2)||_0x2d64c2);return _0x2d64c2;},qe=(_0x21d6ac,_0x5c41f8)=>(_0x2e6520,_0x337e02)=>_0x5c41f8(_0x2e6520,_0x337e02,_0x21d6ac);let ut=class extends _0x36ff7f{constructor(_0x24f7bd,_0x367e8d,_0x351abe,_0x10c81e,_0x30448c,_0xbbfc6d){const _0x1f1871=_0x1a4bb1;super(),this[_0x1f1871(0x25b)]=_0x24f7bd,this[_0x1f1871(0x3f7)]=_0x367e8d,this[_0x1f1871(0x2a1)]=_0x351abe,this[_0x1f1871(0x41d)]=_0x10c81e,this[_0x1f1871(0x294)]=_0x30448c,this[_0x1f1871(0x216)]=_0xbbfc6d,this[_0x1f1871(0x36b)]();}['_getPivotAppliedRanges'](_0x3d65ad,_0x41c260,_0x499068){const _0x36e66e=_0x1a4bb1,{pageView:_0x4cad91,cornerView:_0x5488f6,rowView:_0x20bba0,colView:_0x272a1f,dataView:_0x4afa69}=_0x41c260,_0x1da304=_0x3d65ad;let _0x452720;if(_0x499068)_0x452720=[...Ai(_0x1da304)];else{const _0x4a2e3b=ge(_0x1da304,_0x4cad91,!0x0),_0x686a3b=_0x4cad91[_0x36e66e(0x1e4)]>=0x0?_0x4cad91[_0x36e66e(0x1e4)]+0x1:0x0,_0x7e0f29=_0x5488f6['rowCount'],_0x1a06ca=_0x5488f6[_0x36e66e(0x2a0)],_0x38e6ea=_0x4a2e3b['length']>0x0?It:0x0,_0x2a5146=ge({'row':_0x1da304[_0x36e66e(0x3dc)]+_0x686a3b+_0x38e6ea,'col':_0x1da304['col']},_0x5488f6,!0x1,!0x1),_0x1c6ad9=ge({'row':_0x1da304[_0x36e66e(0x3dc)]+_0x686a3b+_0x38e6ea+_0x7e0f29,'col':_0x1da304['col']},_0x20bba0,!0x1,!0x0),_0x509f52=ge({'row':_0x1da304[_0x36e66e(0x3dc)]+_0x686a3b+_0x38e6ea,'col':_0x1da304['col']+_0x1a06ca},_0x272a1f,!0x1,!0x0),_0x340f68=ge({'row':_0x1da304[_0x36e66e(0x3dc)]+_0x686a3b+_0x38e6ea+_0x7e0f29,'col':_0x1da304[_0x36e66e(0x24a)]+_0x1a06ca},_0x4afa69,!0x1,!0x0);_0x452720=[..._0x4a2e3b,..._0x2a5146,..._0x1c6ad9,..._0x509f52,..._0x340f68];}return _0x452720;}[_0x1a4bb1(0x36b)](){const _0x96c66=_0x1a4bb1;this[_0x96c66(0x323)](this[_0x96c66(0x216)][_0x96c66(0x1f7)][_0x96c66(0x40d)](this['_sheetsPivotTableService'][_0x96c66(0x1f7)][_0x96c66(0x26a)]()[_0x96c66(0x20f)],{'handler':(_0x2d4bd1,_0x169022)=>{const _0x34966c=_0x96c66,{cellInfo:_0x1f0603,view:_0x30b6b7,isEmpty:_0x53c97a}=_0x169022,_0x39ee3a=_0x1f0603,{unitId:_0x187fb3,subUnitId:_0xe8c7af}=_0x39ee3a,_0x1e2369=this[_0x34966c(0x2fe)](_0x1f0603,_0x30b6b7,_0x53c97a),_0x35bbfc=this['_sheetInterceptorService'][_0x34966c(0x40a)]({'unitId':_0x187fb3,'subUnitId':_0xe8c7af,'ranges':_0x1e2369}),_0x47e738=Ho(this[_0x34966c(0x2a1)],_0x187fb3,_0xe8c7af,_0x1e2369);_0x47e738[_0x34966c(0x219)]&&(_0x35bbfc[_0x34966c(0x356)][_0x34966c(0x3ea)](_0x47e738[_0x34966c(0x22c)]),_0x35bbfc['undos'][_0x34966c(0x3ea)](_0x47e738[_0x34966c(0x2bc)]));const _0x558744=this['getAutoFitColumnsMutations'](_0x30b6b7,_0x1f0603);return _0x35bbfc[_0x34966c(0x356)][_0x34966c(0x3ea)](..._0x558744[_0x34966c(0x356)]),_0x35bbfc['undos']['push'](..._0x558744['undos']),{'redos':_0x35bbfc[_0x34966c(0x356)],'undos':_0x35bbfc[_0x34966c(0x39d)]};}}));}[_0x1a4bb1(0x225)](_0x40aa80,_0x230a75){const _0x5bbfa9=_0x1a4bb1,{col:_0x2c717b,unitId:_0x49857c,subUnitId:_0x30b2e6}=_0x230a75,_0x367690=[],_0x3209a1=[],_0x5a1713=_0x114ebc(this[_0x5bbfa9(0x41d)],{'unitId':_0x49857c,'subUnitId':_0x30b2e6});if(!_0x230a75||!_0x40aa80||!_0x5a1713)return{'undos':_0x3209a1,'redos':_0x367690};const _0x3d97fc=this['_sheetsPivotTableConfigModel'][_0x5bbfa9(0x436)](),{colView:_0x14378e,dataView:_0x331d19,cornerView:_0x446c14,rowView:_0x982486,formatMap:_0x344ba1}=_0x40aa80,_0x502b70=yo(_0x14378e,_0x3d97fc,!0x0,_0x344ba1),_0x3f92c0=yo(_0x982486,_0x3d97fc,!0x1,_0x344ba1),_0x109f23=Bi(_0x331d19),_0x74faf0=Gi(_0x446c14),{worksheet:_0x548065}=_0x5a1713;if(typeof window<'u'&&window[_0x5bbfa9(0x25f)]){const _0xf431c3=_0x1fa31e({...fe[_0x5bbfa9(0x27b)]}),_0x192208=_0x9b4dce[_0x5bbfa9(0x1fd)](_0x502b70,_0xf431c3)['width']+0x10,_0x398c53=_0x9b4dce[_0x5bbfa9(0x1fd)](_0x109f23,_0xf431c3)['width'],_0x46d83b=Math['floor'](Math[_0x5bbfa9(0x43c)](_0x192208,_0x398c53))+0x10,_0x2556d4=Math['floor'](_0x9b4dce[_0x5bbfa9(0x1fd)](_0x3f92c0,_0xf431c3)[_0x5bbfa9(0x290)]),_0x8dc791=Math[_0x5bbfa9(0x3f9)](_0x9b4dce[_0x5bbfa9(0x1fd)](_0x74faf0,_0xf431c3)[_0x5bbfa9(0x290)]),_0x252e82=Math[_0x5bbfa9(0x43c)](_0x2556d4,_0x8dc791,0x28)+0xc,_0x525fc7=_0x14378e[_0x5bbfa9(0x2a0)]+_0x446c14['colCount'],_0x547329={},_0x681943={};for(let _0x432dc9=_0x2c717b;_0x432dc9<_0x2c717b+_0x525fc7;_0x432dc9++){const _0x54a720=_0x548065['getColumnWidth'](_0x432dc9);_0x547329[_0x432dc9]=_0x54a720,_0x432dc9-_0x2c717b<_0x446c14['colCount']?_0x681943[_0x432dc9-_0x2c717b]=_0x252e82:_0x681943[_0x432dc9-_0x2c717b]=_0x46d83b;}_0x367690[_0x5bbfa9(0x3ea)]({'id':_0x4891f1['id'],'params':{'subUnitId':_0x30b2e6,'unitId':_0x49857c,'ranges':[{'startColumn':_0x2c717b,'endColumn':_0x2c717b+_0x525fc7-0x1,'startRow':0x0,'endRow':_0x548065[_0x5bbfa9(0x342)]()-0x1}],'colWidth':_0x681943}}),_0x3209a1[_0x5bbfa9(0x3ea)]({'id':_0x4891f1['id'],'params':{'subUnitId':_0x30b2e6,'unitId':_0x49857c,'ranges':[{'startColumn':_0x2c717b,'endColumn':_0x2c717b+_0x525fc7-0x1,'startRow':0x0,'endRow':_0x548065['getRowCount']()-0x1}],'colWidth':_0x547329}});}return{'undos':_0x3209a1,'redos':_0x367690};}};ut=Ls([qe(0x0,_0x772e00(_0x58b50b)),qe(0x1,_0x772e00(_0x3956fc)),qe(0x2,_0x772e00(_0x4ed77d)),qe(0x3,_0x772e00(_0x41ab3d)),qe(0x4,_0x772e00(ve)),qe(0x5,_0x772e00(ie))],ut);var Bs=Object[_0x1a4bb1(0x1c6)],Gs=(_0x1a1bd1,_0x5f62f2,_0x2fadb6,_0x2881fb)=>{for(var _0x29299a=_0x2881fb>0x1?void 0x0:_0x2881fb?Bs(_0x5f62f2,_0x2fadb6):_0x5f62f2,_0x3d30fe=_0x1a1bd1['length']-0x1,_0x3a9265;_0x3d30fe>=0x0;_0x3d30fe--)(_0x3a9265=_0x1a1bd1[_0x3d30fe])&&(_0x29299a=_0x3a9265(_0x29299a)||_0x29299a);return _0x29299a;},Ae=(_0x21f9e3,_0x2a42c5)=>(_0xe6cc16,_0x675d08)=>_0x2a42c5(_0xe6cc16,_0x675d08,_0x21f9e3);let ft=class extends _0x36ff7f{constructor(_0x3bd7a5,_0x2c2106,_0x52a053,_0x38827a,_0xf5a4a3,_0x19a41e,_0x5f36cb){const _0x4abe70=_0x1a4bb1;super(),V(this,'disposableCollection',new _0x379c4f()),(this[_0x4abe70(0x2a1)]=_0x3bd7a5,this[_0x4abe70(0x40f)]=_0x2c2106,this[_0x4abe70(0x2ff)]=_0x52a053,this[_0x4abe70(0x41d)]=_0x38827a,this[_0x4abe70(0x294)]=_0xf5a4a3,this[_0x4abe70(0x23e)]=_0x19a41e,this[_0x4abe70(0x3f7)]=_0x5f36cb,this[_0x4abe70(0x393)]());}['_onRefRangeChange'](){const _0x309f06=_0x1a4bb1,_0x4f4fe1=(_0x1bf351,_0x3565d8)=>{const _0x152b94=_0x58d2,_0x55ee33=this[_0x152b94(0x41d)]['getCurrentUnitForType'](_0x47d004[_0x152b94(0x3de)]);if(!_0x55ee33||!(_0x55ee33==null?void 0x0:_0x55ee33[_0x152b94(0x397)](_0x3565d8)))return;this[_0x152b94(0x438)][_0x152b94(0x32a)]();const _0x139e80=_0x255e73=>this[_0x152b94(0x1d0)](_0x255e73,_0x1bf351,_0x3565d8),_0x347ff6=this[_0x152b94(0x294)][_0x152b94(0x2f1)](_0x1bf351,_0x3565d8);if(!(_0x347ff6!=null&&_0x347ff6['size']))return;Array[_0x152b94(0x217)](_0x347ff6[_0x152b94(0x2e0)]())[_0x152b94(0x28c)](_0xda8b33=>{const _0x32730c=_0x152b94,{row:_0x2633f6,col:_0x17b7f2}=_0xda8b33[_0x32730c(0x202)];return _0x1bfeee(_0x2633f6,_0x17b7f2);})[_0x152b94(0x34b)](_0x4bf3d3=>{const _0x1194c4=_0x152b94;this[_0x1194c4(0x438)]['add'](this[_0x1194c4(0x40f)][_0x1194c4(0x3eb)](_0x4bf3d3,_0x139e80,_0x1bf351,_0x3565d8));});},_0xd0e1f6=()=>{const _0x331f6a=_0x58d2,_0x52a8ef=this[_0x331f6a(0x41d)][_0x331f6a(0x33a)](_0x47d004[_0x331f6a(0x3de)]);if(_0x52a8ef){const _0x574d9c=_0x52a8ef[_0x331f6a(0x31a)]();if(!_0x574d9c)return;_0x4f4fe1(_0x52a8ef[_0x331f6a(0x319)](),_0x574d9c['getSheetId']());}};this[_0x309f06(0x323)](this[_0x309f06(0x2ff)][_0x309f06(0x354)](_0x3cc2e1=>{const _0x262371=_0x309f06;if(_0x3cc2e1['id']===_0x598f26['id']){const _0x4bbf76=_0x3cc2e1['params'],_0x388339=_0x4bbf76[_0x262371(0x386)],_0x16fff5=_0x4bbf76[_0x262371(0x3c4)];if(!_0x388339||!_0x16fff5)return;_0x4f4fe1(_0x16fff5,_0x388339);}})),this[_0x309f06(0x323)](this[_0x309f06(0x294)][_0x309f06(0x345)]['subscribe'](_0x46d14c=>{_0x46d14c&&_0xd0e1f6();})),this[_0x309f06(0x323)](this[_0x309f06(0x294)][_0x309f06(0x2d6)][_0x309f06(0x369)](_0x2c3fe7=>{const _0x2c3a9c=_0x309f06,_0x262e26=_0x114ebc(this[_0x2c3a9c(0x41d)]);if(!_0x262e26)return;const {unitId:_0x1c7bfb,subUnitId:_0x579425}=_0x262e26,{unitId:_0x964b4b,subUnitId:_0x3dc079}=_0x2c3fe7;_0x1c7bfb!==_0x964b4b||_0x579425!==_0x3dc079||_0x4f4fe1(_0x1c7bfb,_0x579425);})),_0xd0e1f6();}[_0x1a4bb1(0x1d0)](_0x2dea86,_0x5272ba,_0x18631c){const _0x1d2902=_0x1a4bb1;switch(_0x2dea86['id']){case _0x591b39['id']:return this[_0x1d2902(0x44b)](_0x2dea86['params'],_0x5272ba,_0x18631c);}return{'redos':[],'undos':[]};}[_0x1a4bb1(0x44b)](_0x2657a9,_0x57ec96,_0x2e0e5a){const _0x4beb00=_0x1a4bb1,{fromRange:_0x4517bc,toRange:_0x523c9d}=_0x2657a9,_0x2e3195=[],_0x288722=[],_0x4812c1=_0x114ebc(this[_0x4beb00(0x41d)]);if(!_0x4812c1)return{'undos':_0x288722,'redos':_0x2e3195};if(_0x57ec96!==_0x4812c1[_0x4beb00(0x3c4)]||_0x2e0e5a!==_0x4812c1[_0x4beb00(0x386)])return{'undos':_0x288722,'redos':_0x2e3195};const _0x2044a1=this[_0x4beb00(0x294)][_0x4beb00(0x2f1)](_0x57ec96,_0x2e0e5a);if(_0x2044a1!=null&&_0x2044a1[_0x4beb00(0x3ce)])for(const [_0x1ba373,_0x4bc3b7]of _0x2044a1){const {unitId:_0x2f3c34,subUnitId:_0x23c6a7,row:_0xa6f828,col:_0x3d3efc}=_0x4bc3b7[_0x4beb00(0x202)];if(_0x2f3c34===_0x4812c1[_0x4beb00(0x3c4)]&&_0x23c6a7===_0x4812c1[_0x4beb00(0x386)]){const _0x1d9590=_0x1bfeee(_0xa6f828,_0x3d3efc);if(_0x41833c[_0x4beb00(0x3ab)](_0x1d9590,_0x4517bc)){const _0x5f4513=_0xa6f828-_0x4517bc[_0x4beb00(0x296)],_0xd7a749=_0x3d3efc-_0x4517bc[_0x4beb00(0x3df)],_0x3aa4f4={'row':_0x523c9d[_0x4beb00(0x296)]+_0x5f4513,'col':_0x523c9d[_0x4beb00(0x3df)]+_0xd7a749};_0x2e3195[_0x4beb00(0x3ea)]({'id':pt['id'],'params':{'unitId':_0x2f3c34,'subUnitId':_0x23c6a7,'pivotTableId':_0x1ba373,'targetCellPosition':_0x3aa4f4}}),_0x288722[_0x4beb00(0x3ea)]({'id':pt['id'],'params':{'unitId':_0x2f3c34,'subUnitId':_0x23c6a7,'pivotTableId':_0x1ba373,'targetCellPosition':{'row':_0xa6f828,'col':_0x3d3efc}}});const _0x409a28=_0x3aa4f4[_0x4beb00(0x3dc)]-_0xa6f828,_0x53dbc0=_0x3aa4f4['col']-_0x3d3efc,_0x39f74c=[],_0xc177f4=this[_0x4beb00(0x23e)][_0x4beb00(0x258)](_0x2f3c34,_0x23c6a7,_0x1ba373),_0x59c987=_0xc177f4==null?void 0x0:_0xc177f4[_0x4beb00(0x222)];if(_0x59c987){Object[_0x4beb00(0x37f)](_0x59c987)['forEach'](_0x2289e6=>{const _0x14aec8=_0x4beb00;_0x59c987[_0x2289e6][_0x14aec8(0x34b)](_0x3db6ac=>{const _0x23190d=_0x14aec8,_0xfc4d8={..._0x3db6ac};_0xfc4d8[_0x23190d(0x296)]=_0x3db6ac[_0x23190d(0x296)]+_0x409a28,_0xfc4d8[_0x23190d(0x417)]=_0x3db6ac[_0x23190d(0x417)]+_0x409a28,_0xfc4d8['startColumn']=_0x3db6ac[_0x23190d(0x3df)]+_0x53dbc0,_0xfc4d8[_0x23190d(0x1fe)]=_0x3db6ac[_0x23190d(0x1fe)]+_0x53dbc0,_0x39f74c[_0x23190d(0x3ea)](_0xfc4d8);});});const _0x4eb93e=this[_0x4beb00(0x3f7)][_0x4beb00(0x40a)]({'unitId':_0x2f3c34,'subUnitId':_0x23c6a7,'ranges':_0x39f74c});_0x2e3195['push'](..._0x4eb93e['redos']),_0x288722['push'](..._0x4eb93e[_0x4beb00(0x39d)]);const _0x5eaa43=Ho(this['_injector'],_0x2f3c34,_0x23c6a7,_0x39f74c);_0x5eaa43[_0x4beb00(0x219)]&&(_0x2e3195[_0x4beb00(0x3ea)](_0x5eaa43[_0x4beb00(0x22c)]),_0x288722[_0x4beb00(0x3ea)](_0x5eaa43[_0x4beb00(0x2bc)]));}}}}return{'redos':_0x2e3195,'undos':_0x288722};}};ft=Gs([Ae(0x0,_0x772e00(_0x4ed77d)),Ae(0x1,_0x772e00(_0x3d4d6b)),Ae(0x2,_0x554f1b),Ae(0x3,_0x41ab3d),Ae(0x4,_0x772e00(ve)),Ae(0x5,_0x772e00(Ne)),Ae(0x6,_0x772e00(_0x3956fc))],ft);var $s=Object['getOwnPropertyDescriptor'],zs=(_0x19c8f9,_0x31e8d1,_0x1da822,_0xa3c426)=>{const _0x45c0fb=_0x1a4bb1;for(var _0x25adf6=_0xa3c426>0x1?void 0x0:_0xa3c426?$s(_0x31e8d1,_0x1da822):_0x31e8d1,_0x443ce7=_0x19c8f9[_0x45c0fb(0x2ac)]-0x1,_0x3666f3;_0x443ce7>=0x0;_0x443ce7--)(_0x3666f3=_0x19c8f9[_0x443ce7])&&(_0x25adf6=_0x3666f3(_0x25adf6)||_0x25adf6);return _0x25adf6;},wo=(_0x77f2e9,_0x3595c5)=>(_0x2ce6fb,_0xe5254e)=>_0x3595c5(_0x2ce6fb,_0xe5254e,_0x77f2e9);let gt=class extends _0x36ff7f{constructor(_0x547cb5,_0x4a585b){super(),this['_sheetInterceptorService']=_0x547cb5,this['_sheetsPivotTableConfigModel']=_0x4a585b,this['_initRemoveSheetCommandInterceptor']();}[_0x1a4bb1(0x381)](){const _0x2af8d6=_0x1a4bb1;this['disposeWithMe'](this[_0x2af8d6(0x3f7)]['interceptCommand']({'getMutations':_0x3375ab=>{const _0x331b5f=_0x2af8d6;if(_0x3375ab['id']===_0x24f8c7['id']){const _0xa64121=[],_0x822d6c=[],_0x44250a=_0x3375ab[_0x331b5f(0x282)],{unitId:_0x3d9b86,subUnitId:_0x4204bf}=_0x44250a;if(!_0x3d9b86||!_0x4204bf)return{'undos':_0x822d6c,'redos':_0xa64121};const _0x280416=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x3d9b86,_0x4204bf);if(_0x280416!=null&&_0x280416['size'])for(const [_0x4038d5,_0x204ffe]of _0x280416){_0xa64121['push']({'id':Et['id'],'params':{'unitId':_0x3d9b86,'subUnitId':_0x4204bf,'pivotTableId':_0x4038d5}});const _0x525bb0={...this[_0x331b5f(0x294)]['getCollection'](_0x3d9b86,_0x4038d5)};_0x822d6c['push']({'id':Ct['id'],'params':{'unitId':_0x3d9b86,'subUnitId':_0x4204bf,'pivotTableId':_0x4038d5,'pivotTableConfig':_0x204ffe,'collectionConfig':_0x525bb0}});}return{'redos':_0xa64121,'undos':_0x822d6c};}return{'redos':[],'undos':[]};}}));}};gt=zs([wo(0x0,_0x772e00(_0x3956fc)),wo(0x1,_0x772e00(ve))],gt);var js=Object['getOwnPropertyDescriptor'],Js=(_0x2b7f4,_0xcb136d,_0xc1e738,_0x51b7eb)=>{for(var _0x291b25=_0x51b7eb>0x1?void 0x0:_0x51b7eb?js(_0xcb136d,_0xc1e738):_0xcb136d,_0x73ee0=_0x2b7f4['length']-0x1,_0x54e23f;_0x73ee0>=0x0;_0x73ee0--)(_0x54e23f=_0x2b7f4[_0x73ee0])&&(_0x291b25=_0x54e23f(_0x291b25)||_0x291b25);return _0x291b25;},Ke=(_0x20798b,_0x5f4f2d)=>(_0x7cb615,_0x5e3721)=>_0x5f4f2d(_0x7cb615,_0x5e3721,_0x20798b);let ht=class extends _0x36ff7f{constructor(_0x5a6060,_0x20b91a,_0x3d366b,_0x3eb945,_0x1e3489,_0x52b602){const _0x19c7a9=_0x1a4bb1;super(),this[_0x19c7a9(0x2ff)]=_0x5a6060,this['_sheetsPivotRpcService']=_0x20b91a,this['_sheetsPivotTableAdaptorModel']=_0x3d366b,this[_0x19c7a9(0x294)]=_0x3eb945,this[_0x19c7a9(0x41d)]=_0x1e3489,this[_0x19c7a9(0x330)]=_0x52b602,this[_0x19c7a9(0x2c4)](),this[_0x19c7a9(0x303)]();}[_0x1a4bb1(0x2c4)](){const _0x55ee9b=_0x1a4bb1;this[_0x55ee9b(0x323)](this[_0x55ee9b(0x2ff)][_0x55ee9b(0x354)](_0x5e6b7b=>{const _0x1e79de=_0x55ee9b;if(_0x5e6b7b['id']!==lo['id'])return;const _0x528eae=_0x5e6b7b['params'];this[_0x1e79de(0x394)][_0x1e79de(0x27f)](_0x528eae);})),this[_0x55ee9b(0x323)](this[_0x55ee9b(0x2ff)][_0x55ee9b(0x354)](_0x48cdcf=>{const _0x135507=_0x55ee9b;if(_0x48cdcf['id']===co['id']){const _0x343ba0=_0x48cdcf[_0x135507(0x282)];if(_0x343ba0){const {unitId:_0x3afc99,subUnitId:_0x3b64b8,oldSubUnitId:_0x114d8b,pivotTableId:_0x4e37a9,pivotTableConfig:_0x888324,collectionConfig:_0x2228ee}=_0x343ba0;this[_0x135507(0x294)]['updateConfigCache'](_0x3afc99,_0x114d8b,_0x343ba0[_0x135507(0x38b)],null),this[_0x135507(0x294)]['updateConfigCache'](_0x3afc99,_0x3b64b8,_0x4e37a9,_0x888324),this[_0x135507(0x294)][_0x135507(0x285)](_0x3afc99,_0x2228ee);}}})),this[_0x55ee9b(0x323)](this['_commandService'][_0x55ee9b(0x354)](_0x96fab=>{const _0x3d5f33=_0x55ee9b;if(_0x96fab['id']!==Dt['id'])return;const _0x5e8c41=_0x114ebc(this[_0x3d5f33(0x41d)]);if(!_0x5e8c41)return;const {unitId:_0x59d65d,subUnitId:_0x185adb}=_0x5e8c41,_0x14dec8=_0x96fab[_0x3d5f33(0x282)];if(_0x14dec8['collectionConfig']&&Object[_0x3d5f33(0x37f)](_0x14dec8[_0x3d5f33(0x3c6)])[_0x3d5f33(0x34b)](_0xdd03f1=>{const _0x3953fa=_0x3d5f33;var _0x5c0e39;(_0x5c0e39=_0x14dec8[_0x3953fa(0x3c6)])!=null&&_0x5c0e39[_0xdd03f1]&&this['_sheetsPivotTableConfigModel'][_0x3953fa(0x285)](_0xdd03f1,_0x14dec8[_0x3953fa(0x3c6)][_0xdd03f1]);}),_0x14dec8[_0x3d5f33(0x401)]){const _0x4b157d=_0x14dec8[_0x3d5f33(0x401)],{unitId:_0x3139cd,subUnitId:_0xc22708,view:_0x475be2,pivotTableId:_0x263afe,type:_0x1a4492,pivotConfig:_0x78e40}=_0x4b157d;if(_0x1a4492===B[_0x3d5f33(0x3b7)])this[_0x3d5f33(0x23e)][_0x3d5f33(0x2b4)]({'unitId':_0x3139cd,'subUnitId':_0xc22708,'pivotTableId':_0x263afe,'type':_0x1a4492}),this[_0x3d5f33(0x294)][_0x3d5f33(0x3a6)](_0x3139cd,_0xc22708,_0x263afe,null);else{const _0x2f3e9f=new _0x1a88a1();_0x2f3e9f[_0x3d5f33(0x38e)](_0x475be2),this['_sheetsPivotTableConfigModel'][_0x3d5f33(0x3a6)](_0x3139cd,_0xc22708,_0x263afe,_0x78e40),this[_0x3d5f33(0x23e)]['clearRenderCache']({'unitId':_0x3139cd,'subUnitId':_0xc22708,'pivotTableId':_0x263afe,'type':_0x1a4492,'view':_0x2f3e9f}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x3139cd,'subUnitId':_0xc22708,'view':_0x2f3e9f,'pivotTableId':_0x263afe,'type':_0x1a4492});}}else _0x14dec8[_0x3d5f33(0x33e)]&&(_0x14dec8[_0x3d5f33(0x33e)][_0x3d5f33(0x34b)](_0x5eb02a=>{const _0x564e64=_0x3d5f33,{unitId:_0xddfce2,subUnitId:_0x29772e,view:_0x4f6b77,pivotTableId:_0x4751db,type:_0xac69ab,pivotConfig:_0x2a885b}=_0x5eb02a,_0x3df266=new _0x1a88a1();_0x3df266[_0x564e64(0x38e)](_0x4f6b77),this['_sheetsPivotTableConfigModel'][_0x564e64(0x3a6)](_0xddfce2,_0x29772e,_0x4751db,_0x2a885b),this[_0x564e64(0x23e)][_0x564e64(0x2c6)]({'unitId':_0xddfce2,'subUnitId':_0x29772e,'view':_0x3df266,'pivotTableId':_0x4751db,'type':_0xac69ab});}),this['_sheetsPivotTableConfigModel'][_0x3d5f33(0x403)]());this['_sheetsPivotTableAdaptorModel'][_0x3d5f33(0x3a1)](_0x59d65d,_0x185adb);}));}[_0x1a4bb1(0x303)](){const _0x270d85=_0x1a4bb1;this[_0x270d85(0x330)][_0x270d85(0x32d)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x185d6d){const _0x1c2b97=_0x270d85;return{'dirtyUnitFeatureMap':_0x185d6d[_0x1c2b97(0x282)]};}});}};ht=Js([Ke(0x0,_0x772e00(_0x554f1b)),Ke(0x1,_0x772e00(X)),Ke(0x2,_0x772e00(Ne)),Ke(0x3,_0x772e00(ve)),Ke(0x4,_0x772e00(_0x41ab3d)),Ke(0x5,_0x34cdf1)],ht);var Hs=Object[_0x1a4bb1(0x1fb)],qs=Object[_0x1a4bb1(0x1c6)],Ks=(_0x4caf7d,_0x402bfd,_0x25ef2f)=>_0x402bfd in _0x4caf7d?Hs(_0x4caf7d,_0x402bfd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25ef2f}):_0x4caf7d[_0x402bfd]=_0x25ef2f,Ys=(_0x38cb29,_0xde9315,_0x8242db,_0x4c453c)=>{const _0x2042e4=_0x1a4bb1;for(var _0xe529c1=_0x4c453c>0x1?void 0x0:_0x4c453c?qs(_0xde9315,_0x8242db):_0xde9315,_0x352e2c=_0x38cb29[_0x2042e4(0x2ac)]-0x1,_0x362f6f;_0x352e2c>=0x0;_0x352e2c--)(_0x362f6f=_0x38cb29[_0x352e2c])&&(_0xe529c1=_0x362f6f(_0xe529c1)||_0xe529c1);return _0xe529c1;},_t=(_0x29213a,_0x33794e)=>(_0x624a9a,_0x5f483d)=>_0x33794e(_0x624a9a,_0x5f483d,_0x29213a),Zo=(_0x22016c,_0x513fa9,_0x21f030)=>Ks(_0x22016c,typeof _0x513fa9!=_0x1a4bb1(0x35f)?_0x513fa9+'':_0x513fa9,_0x21f030);let Vt=class extends _0x504729{constructor(_0x327629=To,_0x12df28,_0x1f23b0,_0x2d4ade,_0x5825c6){const _0x3ba30a=_0x1a4bb1;super(),this[_0x3ba30a(0x2fb)]=_0x327629,this[_0x3ba30a(0x2a1)]=_0x12df28,this[_0x3ba30a(0x2ff)]=_0x1f23b0,this[_0x3ba30a(0x1de)]=_0x2d4ade,this[_0x3ba30a(0x433)]=_0x5825c6;const {..._0x250686}=_0x12abcd({},To,this[_0x3ba30a(0x2fb)]);this[_0x3ba30a(0x1de)][_0x3ba30a(0x1d2)](Ko,_0x250686),this['_initRegisterCommand'](),this[_0x3ba30a(0x372)]();}['_initConfig'](){const _0x22a3b4=_0x1a4bb1;var _0x44d5dc;const _0x106eca=(_0x44d5dc=this[_0x22a3b4(0x2fb)])==null?void 0x0:_0x44d5dc[_0x22a3b4(0x3b4)];this['_configService'][_0x22a3b4(0x1d2)](q,_0x106eca===!0x0);}[_0x1a4bb1(0x208)](){const _0x5e41a9=_0x1a4bb1;var _0x179687;let _0x8651f5=[];const _0x518ebd=(_0x179687=this[_0x5e41a9(0x2fb)])==null?void 0x0:_0x179687[_0x5e41a9(0x3b4)];_0x518ebd===!0x0?_0x8651f5=[[ie],[X],[ht],[Ne],[ve],[gt],[ct],[ft],[ut]]:_0x518ebd===!0x1?_0x8651f5=[[G],[dt]]:_0x518ebd===void 0x0&&(_0x8651f5=[[G],[dt],[ie],[X],[ht],[Ne],[ve],[gt],[ct],[ft],[ut]]),_0x8651f5[_0x5e41a9(0x34b)](_0x537bd6=>this[_0x5e41a9(0x2a1)]['add'](_0x537bd6)),[dt,ht,ie,ct,gt,ft,ut][_0x5e41a9(0x34b)](_0x3f165d=>{const _0x11a324=_0x5e41a9;this[_0x11a324(0x2a1)][_0x11a324(0x2bb)](_0x3f165d)&&this[_0x11a324(0x2a1)][_0x11a324(0x39e)](_0x3f165d);});}['_initRegisterCommand'](){const _0x4f0e62=_0x1a4bb1;[vs,ps,hs,ms,Cs,Ms,Ds,bs,Ps,Ss,ys,Ts,Rs,Is,Ct,oo,Et,Gt,Yo,Qo,Ht,$t,zt,jt,Kt,qt,pt,ro,lo,Dt,Zt,eo,Yt,Jt,uo,to,Xt,Ut,co,ws,Qt,_s,Fs][_0x4f0e62(0x34b)](_0x2d3d18=>{const _0x2df7e5=_0x4f0e62;var _0x25d4ac;(_0x25d4ac=this[_0x2df7e5(0x433)])==null||_0x25d4ac[_0x2df7e5(0x349)](_0x2d3d18),this[_0x2df7e5(0x2ff)][_0x2df7e5(0x215)](_0x2d3d18);});}};Zo(Vt,_0x1a4bb1(0x39b),ao),Zo(Vt,_0x1a4bb1(0x1e0),_0x47d004['UNIVER_SHEET']),Vt=Ys([_0x50d0a5(_0x1ce9db),_t(0x1,_0x772e00(_0x4ed77d)),_t(0x2,_0x772e00(_0x554f1b)),_t(0x3,_0x1893a6),_t(0x4,_0xaa6feb(_0x49de43))],Vt);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Rs as MovePivotTableCommand,A as PivotDisplayDataType,Is as PivotDrillDownCommand,B as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Wo as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Et as RemovePivotTableMutation,zt as RenamePivotFieldMutation,Fs as ResetPivotFieldsConfigCommand,Ko as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,jt as SetPivotCollapseMutation,Jt as SetPivotFieldFormatMutation,_s as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,Kt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,ws as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Zt as UpdateFieldPositionMutation,ys as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,Ts as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Jo as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,Re as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,vt as transFromCellValue,Bt as unionPivotViewRange};
|
|
1
|
+
const _0x33be9b=_0x40aa;(function(_0x281f20,_0x5cb478){const _0x561201=_0x40aa,_0x1b462e=_0x281f20();while(!![]){try{const _0x8e2fc0=-parseInt(_0x561201(0x26d))/0x1+parseInt(_0x561201(0x351))/0x2+-parseInt(_0x561201(0x1ce))/0x3*(-parseInt(_0x561201(0x40c))/0x4)+parseInt(_0x561201(0x3ba))/0x5*(parseInt(_0x561201(0x39b))/0x6)+parseInt(_0x561201(0x1ec))/0x7*(parseInt(_0x561201(0x3ce))/0x8)+-parseInt(_0x561201(0x277))/0x9*(-parseInt(_0x561201(0x2e4))/0xa)+-parseInt(_0x561201(0x284))/0xb;if(_0x8e2fc0===_0x5cb478)break;else _0x1b462e['push'](_0x1b462e['shift']());}catch(_0x1269c0){_0x1b462e['push'](_0x1b462e['shift']());}}}(_0x4b3c,0x4de27));var sn=Object[_0x33be9b(0x1ea)],an=(_0x4bc364,_0x554294,_0x367cad)=>_0x554294 in _0x4bc364?sn(_0x4bc364,_0x554294,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x367cad}):_0x4bc364[_0x554294]=_0x367cad,U=(_0x58c4f6,_0x545c90,_0x2176bc)=>an(_0x58c4f6,typeof _0x545c90!=_0x33be9b(0x3e2)?_0x545c90+'':_0x545c90,_0x2176bc);import{PivotCellStyleTypeEnum as _0x62c89a,PivotViewCellValueTypeEnum as _0x5056c8,isPrefixValue as _0x52393b,isErrorValue as _0x338134,PivotErrorTypeEnum as _0x48e43f,PivotDateGroupFieldDateTypeEnum as _0xe08e32,DataFieldManager as _0xb38059,FieldsCollection as _0x3037df,isDateValue as _0x4f0688,DataField as _0x39d1b3,generateHexNumber as _0x4130b0,isBaseGroupField as _0x3e3dfa,PivotTable as _0x4481fc,PivotSubtotalTypeEnum as _0x45e58d,PivotTableFiledAreaEnum as _0x3da3e9,excelDateToUnixMilliseconds as _0x4cda94,createValueField as _0x4eeef1,createLabelField as _0x357523,PivotTableChangeTypeEnum as _0x3509ac,BaseGroupField as _0x490cae,PivotView as _0x461abd,isDateGroupFieldJSON as _0x2efa79,PivotCallbackEnum as _0x4080f7,PivotFilterTypeEnum as _0x4460bf,getAutoDisplayName as _0x286499,PivotDataFieldDataTypeEnum as _0x3798ba,PivotTableValuePositionEnum as _0x2c1747,isDateGroupField as _0x55eb3f,DateGroupField as _0x420ac2}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x3bce79,ObjectMatrix as _0x2f7a34,IUniverInstanceService as _0x19012d,UniverInstanceType as _0x266163,CellValueType as _0x324e45,numfmt as _0x254867,LocaleService as _0x25ac2f,createAsyncInterceptorKey as _0xf41394,createInterceptorKey as _0x3f9809,CommandType as _0x89ac8d,RANGE_TYPE as _0x289ed8,numberToABC as _0x17e6ef,Inject as _0x19db7d,Injector as _0x102d22,LifecycleService as _0x2f771f,ICommandService as _0x5666d8,IResourceManagerService as _0x3dab39,Disposable as _0x5f1b0a,Rectangle as _0x6c5d65,IConfigService as _0x81aaa3,Tools as _0x28e9d0,AsyncInterceptorManager as _0x24e767,InterceptorManager as _0xc71d4d,InterceptorEffectEnum as _0x476f12,CustomCommandExecutionError as _0x528105,IUndoRedoService as _0xa9dd1e,sequenceExecute as _0x539a15,mergeWorksheetSnapshotWithDefault as _0x65be4,generateRandomId as _0x38030d,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x194e30,DEFAULT_WORKSHEET_ROW_COUNT as _0x3b1e9b,DisposableCollection as _0x311bad,Range as _0x184ef0,DependentOn as _0x493275,Optional as _0xc96847,Plugin as _0x1eaff0,merge as _0x588200}from'@univerjs/core';import{ErrorType as _0x99a59a,serializeRangeWithSpreadsheet as _0x5218bd,IFeatureCalculationManagerService as _0x29828c,GlobalComputingStatusService as _0x399bb9,IActiveDirtyManagerService as _0x14b226}from'@univerjs/engine-formula';import{generateNullCell as _0x23036f,SetRangeValuesUndoMutationFactory as _0x20c774,SetRangeValuesMutation as _0x23812a,getSheetCommandTarget as _0x21e513,InsertRowMutation as _0x4fb832,RemoveRowMutation as _0x70574f,InsertColMutation as _0x343660,RemoveColMutation as _0x84b4b1,IExclusiveRangeService as _0x22ce86,SheetInterceptorService as _0x53ec4d,INTERCEPTOR_POINT as _0xcaa84a,InsertSheetCommand as _0x24e9c6,InsertSheetUndoMutationFactory as _0x31f1a8,RemoveSheetMutation as _0x28c876,InsertSheetMutation as _0x1fd70b,MoveRangeMutation as _0x3fa3d8,SheetsSelectionsService as _0x575beb,ClearSelectionContentCommand as _0xa09245,ClearSelectionAllCommand as _0x2ac8d1,SetWorksheetColWidthMutation as _0x7ca471,RefRangeService as _0x57bb49,SetWorksheetActiveOperation as _0xf84849,MoveRangeCommand as _0x280f3f,RemoveSheetCommand as _0x582483}from'@univerjs/sheets';function _0x40aa(_0x25fa59,_0x4d5cae){const _0x4b3c70=_0x4b3c();return _0x40aa=function(_0x40aa46,_0xfd1389){_0x40aa46=_0x40aa46-0x19e;let _0x3a00a6=_0x4b3c70[_0x40aa46];return _0x3a00a6;},_0x40aa(_0x25fa59,_0x4d5cae);}import{Subject as _0x38b30f,BehaviorSubject as _0x1d9bd6}from'rxjs';import{LS_CONFIG_KEY as _0x360605,unshiftString as _0x187b11,isFeatureAuthorizedWithinTime as _0x516ea5,getSheetFeatureLimit as _0x1f4c19,ReleaseType as _0x402668,UniverLicensePlugin as _0x11ee07}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x28585e,RemoveSheetsFilterMutation as _0x16f4ea}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x58d8c8}from'@univerjs/rpc';import{getFontStyleString as _0x44c992,FontCache as _0x575342}from'@univerjs/engine-render';const Oo=Number[_0x33be9b(0x1ad)](0x688874b8),ri=0x10,so=0x1,ao=_0x33be9b(0x302),It=0x1,li=_0x33be9b(0x3b6),ci=_0x33be9b(0x23e),wt=_0x33be9b(0x3e7),di=_0x33be9b(0x259),ui=_0x33be9b(0x259),fi='#eceeff',gi=_0x33be9b(0x37e),vi=_0x33be9b(0x37b),hi=_0x33be9b(0x2cd),pi=_0x33be9b(0x37e),mi=_0x33be9b(0x37b),Ii='#e6ebfb',Ci=0xe,bi=0x6;var Lo=(_0x5c4d6d=>(_0x5c4d6d[_0x33be9b(0x254)]=_0x33be9b(0x2ed),_0x5c4d6d[_0x33be9b(0x1b8)]='new',_0x5c4d6d))(Lo||{});const ko={'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':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':li},'ht':0x2,'vt':0x2,'tb':0x1},R={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':pi},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':hi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':fi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':di},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':gi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Pi(_0x2464e3,_0x433e15,_0x544e25){const _0x3475ff=_0x33be9b,_0x383146=_0x2464e3[_0x3475ff(0x2ab)](_0x25ac2f),_0x473ba0=_0x544e25[_0x3475ff(0x1a3)]('_');switch(_0x433e15){case _0xe08e32[_0x3475ff(0x1a7)]:return _0x383146['t'](_0x3475ff(0x328),..._0x473ba0);case _0xe08e32[_0x3475ff(0x2fe)]:return _0x383146['t'](_0x3475ff(0x288),..._0x473ba0);case _0xe08e32['Hour']:return _0x383146['t'](_0x3475ff(0x2b7),..._0x473ba0);case _0xe08e32[_0x3475ff(0x265)]:return _0x383146['t'](_0x3475ff(0x314),..._0x473ba0);case _0xe08e32['Date']:return _0x383146['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x473ba0);case _0xe08e32[_0x3475ff(0x31d)]:return _0x383146['t'](_0x3475ff(0x2cc),..._0x473ba0);case _0xe08e32[_0x3475ff(0x326)]:return _0x383146['t'](_0x3475ff(0x1aa),..._0x473ba0);case _0xe08e32[_0x3475ff(0x1fb)]:return _0x383146['t'](_0x3475ff(0x1ba),..._0x473ba0);case _0xe08e32[_0x3475ff(0x401)]:return _0x383146['t'](_0x3475ff(0x321),..._0x473ba0);case _0xe08e32[_0x3475ff(0x1de)]:return _0x383146['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x473ba0);}return'';}const tt=(_0x3bc508,_0x522f15,_0x45da1e,_0x57a4c9)=>{const _0x2e7ed2=_0x33be9b;let _0x4cc2b6;const _0x3a24ff=_0x3bc508['get'](_0x19012d)[_0x2e7ed2(0x405)](_0x266163[_0x2e7ed2(0x2e5)]);if(!_0x3a24ff)return null;const _0x5af611=_0x3a24ff[_0x2e7ed2(0x228)]();let _0x167d6a;if(_0x45da1e&&(_0x167d6a=_0x5af611[_0x2e7ed2(0x1bc)](_0x45da1e)),_0x522f15!=null&&_0x522f15['v']||(_0x522f15==null?void 0x0:_0x522f15['v'])===0x0){_0x4cc2b6||(_0x4cc2b6={});const _0x1efd4f=Jo(_0x522f15['v']);typeof _0x1efd4f==_0x2e7ed2(0x3f1)?_0x4cc2b6['t']=_0x324e45[_0x2e7ed2(0x2a2)]:typeof _0x1efd4f==_0x2e7ed2(0x1e5)&&(_0x4cc2b6['t']=_0x324e45[_0x2e7ed2(0x420)]),_0x4cc2b6['v']=_0x1efd4f;}if((_0x522f15!=null&&_0x522f15['i']||(_0x522f15==null?void 0x0:_0x522f15['i'])===0x0)&&(_0x4cc2b6||(_0x4cc2b6={}),_0x4cc2b6['fi']=_0x522f15['i']),_0x522f15!=null&&_0x522f15['s']&&(_0x4cc2b6||(_0x4cc2b6={}),_0x4cc2b6[_0x2e7ed2(0x2f2)]=_0x522f15['s']),_0x45da1e&&(_0x4cc2b6||(_0x4cc2b6={}),_0x4cc2b6['s']=_0x167d6a),_0x57a4c9&&_0x4cc2b6!=null&&_0x4cc2b6['v']&&_0x4cc2b6['pbt']!==_0x62c89a[_0x2e7ed2(0x248)]&&_0x4cc2b6[_0x2e7ed2(0x2f2)]!==_0x62c89a[_0x2e7ed2(0x1ef)]){const _0x5e4bed=String(_0x4cc2b6['v']),{dateType:_0xabda28}=_0x57a4c9;_0x4cc2b6['v']=Pi(_0x3bc508,_0xabda28,_0x5e4bed),_0x4cc2b6['t']=_0x324e45['STRING'];}return _0x4cc2b6;},Ti=(_0x1df005,_0x3dfc5c,_0x4df49a,_0xaebe95)=>{const _0x4fd689=_0x33be9b;var _0x1f053b,_0xbb4696,_0x47b330,_0x8eb370,_0x2c8c64,_0x2f0ff4,_0x33f568,_0x465acc,_0x4b658c,_0x138839,_0x44bfc9,_0x3e2454,_0x47225a,_0x45ef8a;const _0x24b46c=_0x4df49a[_0x4fd689(0x3df)],{cornerView:_0x1074e9,rowView:_0x36165e,colView:_0x30a020,dataView:_0x36f8b7,pageView:_0x5abff5,formatMap:_0x5da257,groupInfo:_0x2ac3b7}=_0x3dfc5c,{row:_0x2c0be9,col:_0xbbeb27}=_0x24b46c,_0x1ff338=new _0x2f7a34(),_0x226b43={},_0x25647f={},_0x54c905={},_0x5f3162={},_0x2d92ce={};let _0x1d589c=_0x2c0be9,_0x30a7f8=_0xbbeb27;Object[_0x4fd689(0x280)](_0x5abff5[_0x4fd689(0x3f2)])[_0x4fd689(0x267)](_0x2adb86=>{const _0x3196ca=_0x4fd689;Object[_0x3196ca(0x280)](_0x5abff5['data'][Number(_0x2adb86)])[_0x3196ca(0x267)](_0x19db78=>{const _0x28ccfb=_0x3196ca,_0xbceccc={..._0x5abff5['data'][Number(_0x2adb86)][Number(_0x19db78)]};_0x1ff338[_0x28ccfb(0x1bc)](Number(_0x2adb86)+_0x1d589c,Number(_0x19db78)+_0x30a7f8,tt(_0x1df005,_0xbceccc,fe[_0x28ccfb(0x1c3)]));});});const _0x52079f=Object[_0x4fd689(0x280)](_0x5abff5['data'])[_0x4fd689(0x276)];_0x1d589c+=_0x52079f+(_0x52079f?It:0x0);const _0x461151=_0x1074e9[_0x4fd689(0x27e)](),_0x36c946=_0x1074e9['getColCount']();for(let _0x137b01=0x0;_0x137b01<_0x461151;_0x137b01++)for(let _0x4e5b43=0x0;_0x4e5b43<_0x36c946;_0x4e5b43++){const _0x33541b={...(_0xbb4696=(_0x1f053b=_0x1074e9[_0x4fd689(0x3f2)])==null?void 0x0:_0x1f053b[_0x137b01])==null?void 0x0:_0xbb4696[_0x4e5b43]};_0x33541b&&((_0x47b330=_0x36165e[_0x4fd689(0x407)][_0x4e5b43])!=null&&_0x47b330['isValue'])&&_0x4e5b43===_0x36c946-0x1&&_0x137b01===_0x461151-0x1&&(_0x33541b['v']=''+_0xaebe95[_0x4fd689(0x376)]),_0x1ff338[_0x4fd689(0x1bc)](_0x137b01+_0x1d589c,_0x4e5b43+_0x30a7f8,tt(_0x1df005,_0x33541b,fe['cornerStyle']));}for(let _0x446e49=0x0;_0x446e49<_0x1074e9['info'][_0x4fd689(0x276)];_0x446e49++)_0x1074e9['info'][_0x446e49]&&(_0x54c905[''+(_0x446e49+_0x30a7f8)]=_0x1074e9[_0x4fd689(0x1fa)][_0x446e49]);_0x30a7f8+=_0x36c946;const _0x8bb496=_0x30a020[_0x4fd689(0x407)],_0x25ea44=_0x30a020[_0x4fd689(0x1e1)]()>=0x0?_0x30a020[_0x4fd689(0x1e1)]()+0x1:0x0,_0x77d9b6=_0x30a020[_0x4fd689(0x329)]()>=0x0?_0x30a020[_0x4fd689(0x329)]()+0x1:0x0;for(let _0x153a7a=0x0;_0x153a7a<_0x77d9b6;_0x153a7a++){for(let _0x1e1c66=0x0;_0x1e1c66<_0x25ea44;_0x1e1c66++){const _0x642db3={...(_0x2c8c64=(_0x8eb370=_0x30a020[_0x4fd689(0x3f2)])==null?void 0x0:_0x8eb370[_0x1e1c66])==null?void 0x0:_0x2c8c64[_0x153a7a]},_0x10bb34=(_0x2f0ff4=_0x8bb496[_0x1e1c66])==null?void 0x0:_0x2f0ff4[_0x4fd689(0x3a3)],_0x5a98f1=_0x5da257[_0x10bb34],_0x52025b=_0x2ac3b7[_0x10bb34];_0x642db3&&(_0x642db3['v']=ht(_0x642db3,_0x1e1c66===0x0&&((_0x33f568=_0x30a020[_0x4fd689(0x1a5)](_0x153a7a+0x1))==null?void 0x0:_0x33f568[_0x4fd689(0x3cb)]),_0x5a98f1,_0xaebe95));let _0x313f1d;_0x5a98f1?_0x313f1d={...fe['colStyle'],'n':{'pattern':_0x5a98f1}}:_0x313f1d={...fe['colStyle']},_0x1ff338[_0x4fd689(0x1bc)](_0x1e1c66+_0x1d589c,_0x153a7a+_0x30a7f8,tt(_0x1df005,_0x642db3,_0x313f1d,_0x52025b));}_0x30a020[_0x4fd689(0x1fa)][_0x153a7a]&&(_0x25647f[''+(_0x153a7a+_0x30a7f8)]=_0x30a020['info'][_0x153a7a]),_0x30a020['headerMap'][_0x153a7a+0x1]&&(_0x2d92ce[''+(_0x153a7a+_0x1d589c+0x1)]=_0x30a020[_0x4fd689(0x407)][_0x153a7a+0x1]);}_0x1d589c+=_0x461151;const _0x58979b=_0x36165e['headerMap'],_0x5b0722=_0x36165e['getLastRow']()>=0x0?_0x36165e[_0x4fd689(0x1e1)]()+0x1:0x0,_0x18f54b=_0x36165e[_0x4fd689(0x329)]()>=0x0?_0x36165e['getLastCol']()+0x1:0x0;for(let _0x1bd15e=0x0;_0x1bd15e<_0x5b0722;_0x1bd15e++){for(let _0x4434f3=0x0;_0x4434f3<_0x18f54b;_0x4434f3++){const _0x4abec8={...(_0x4b658c=(_0x465acc=_0x36165e[_0x4fd689(0x3f2)])==null?void 0x0:_0x465acc[_0x1bd15e])==null?void 0x0:_0x4b658c[_0x4434f3]},_0x37ad5b=(_0x138839=_0x58979b[_0x4434f3])==null?void 0x0:_0x138839[_0x4fd689(0x3a3)],_0x590d0f=_0x5da257[_0x37ad5b],_0x4fafb3=_0x2ac3b7[_0x37ad5b];_0x4abec8&&(_0x4abec8['v']=ht(_0x4abec8,!0x1,_0x590d0f,_0xaebe95));let _0x2817ec;_0x36165e[_0x4fd689(0x1fa)][_0x1bd15e][_0x4fd689(0x39f)]===_0x36165e[_0x4fd689(0x2b4)]()?_0x2817ec=fe[_0x4fd689(0x2e8)]:_0x36165e['info'][_0x1bd15e][_0x4fd689(0x349)]?_0x2817ec=_0x36165e[_0x4fd689(0x1fa)][_0x1bd15e][_0x4fd689(0x39f)]===0x0?fe[_0x4fd689(0x215)]:fe[_0x4fd689(0x2cf)]:_0x2817ec=fe[_0x4fd689(0x2f1)],_0x590d0f&&(_0x2817ec={..._0x2817ec,'n':{'pattern':_0x590d0f}}),_0x1ff338['setValue'](_0x1bd15e+_0x1d589c,_0x4434f3+_0xbbeb27,tt(_0x1df005,_0x4abec8,_0x2817ec,_0x4fafb3));}_0x36165e[_0x4fd689(0x1fa)][_0x1bd15e]&&(_0x226b43[''+(_0x1bd15e+_0x1d589c)]=_0x36165e[_0x4fd689(0x1fa)][_0x1bd15e]),_0x36165e[_0x4fd689(0x407)][_0x1bd15e]&&(_0x5f3162[''+(_0x1bd15e+_0xbbeb27)]=_0x36165e['headerMap'][_0x1bd15e]);}const _0x59f19c=_0x36f8b7[_0x4fd689(0x27e)](),_0x59f7c0=_0x36f8b7[_0x4fd689(0x2b4)]();for(let _0x550235=0x0;_0x550235<_0x59f19c;_0x550235++)for(let _0x5ba9f0=0x0;_0x5ba9f0<_0x59f7c0;_0x5ba9f0++){const _0x290cc5={...(_0x3e2454=(_0x44bfc9=_0x36f8b7[_0x4fd689(0x3f2)])==null?void 0x0:_0x44bfc9[_0x550235])==null?void 0x0:_0x3e2454[_0x5ba9f0]};let _0x36ca97;_0x36165e[_0x4fd689(0x1fa)][_0x550235][_0x4fd689(0x349)]?_0x36ca97=_0x36165e['info'][_0x550235][_0x4fd689(0x39f)]===0x0?fe[_0x4fd689(0x215)]:fe[_0x4fd689(0x2cf)]:_0x36ca97=fe[_0x4fd689(0x341)];const _0x4f57d6=_0x36165e[_0x4fd689(0x1fa)][_0x550235][_0x4fd689(0x35b)],_0x3eb5ed=_0x30a020[_0x4fd689(0x1fa)][_0x5ba9f0]['valueIndex'],_0x14d0da=Math[_0x4fd689(0x390)](_0x4f57d6,_0x3eb5ed),_0x2b8ebe=_0x4df49a['fieldsConfig']['valueFields'][_0x4fd689(0x268)]();let _0x2a41ef='';_0x14d0da<0x0?_0x2a41ef=(_0x47225a=_0x2b8ebe[0x0])!=null?_0x47225a:'':_0x2a41ef=(_0x45ef8a=_0x2b8ebe[_0x14d0da])!=null?_0x45ef8a:'';const _0x458d71=_0x5da257[_0x2a41ef];_0x458d71&&(_0x36ca97={..._0x36ca97,'n':{'pattern':_0x458d71}}),_0x1ff338[_0x4fd689(0x1bc)](_0x550235+_0x1d589c,_0x5ba9f0+_0x30a7f8,tt(_0x1df005,_0x290cc5,_0x36ca97));}return{'valueMatrix':_0x1ff338,'rowInfo':_0x226b43,'colInfo':_0x25647f,'cornerInfo':_0x54c905,'rowHeaderMap':_0x5f3162,'colHeaderMap':_0x2d92ce};};function ht(_0x10f9b1,_0x265b4f,_0x2e1720,_0x235dd5){const _0x4880b1=_0x33be9b;let _0x381b04=_0x10f9b1['v'];_0x265b4f&&(_0x381b04=''+_0x235dd5['sheets-pivot.value']);const _0x198578=_0x10f9b1['t']&&(_0x10f9b1['t']&_0x5056c8[_0x4880b1(0x3b7)])>0x0;if(_0x198578&&(_0x381b04=''+_0x235dd5['sheets-pivot.blank']),_0x10f9b1['s']===_0x62c89a[_0x4880b1(0x1ef)]){let _0x45d956=_0x381b04,_0x5c69e0='';_0x52393b(_0x381b04)&&(_0x45d956=_0x381b04[_0x4880b1(0x31b)],_0x5c69e0=_0x381b04[_0x4880b1(0x306)]);const _0x43973e=_0x2e1720&&!_0x198578?_0x254867[_0x4880b1(0x40a)](_0x2e1720,Number(_0x45d956)):_0x45d956;_0x5c69e0?_0x381b04=_0x43973e+'\x20'+_0x5c69e0:_0x381b04=_0x43973e+'\x20'+_0x235dd5[_0x4880b1(0x23c)];}else _0x10f9b1['s']===_0x62c89a[_0x4880b1(0x248)]&&(_0x381b04=_0x381b04+'\x20'+_0x235dd5[_0x4880b1(0x2d1)]);return _0x381b04;}function Jo(_0x35b9f0){const _0x529e5e=_0x33be9b;if(_0x338134(_0x35b9f0)){const {errorType:_0x4d9709}=_0x35b9f0;switch(_0x4d9709){case _0x48e43f[_0x529e5e(0x389)]:return _0x99a59a[_0x529e5e(0x374)];case _0x48e43f['NotNumber']:return _0x99a59a[_0x529e5e(0x3c7)];case _0x48e43f[_0x529e5e(0x399)]:return _0x99a59a[_0x529e5e(0x1c2)];case _0x48e43f[_0x529e5e(0x384)]:return _0x99a59a['NAME'];case _0x48e43f['BadReference']:return _0x99a59a[_0x529e5e(0x406)];}}return _0x35b9f0;}function ge(_0x1e8e39,_0x79b5e9,_0x20e84a=!0x1,_0x3da685=!0x1){const _0x1bffc2=_0x33be9b,{data:_0x35baee}=_0x79b5e9,_0x5d7b01=_0x79b5e9[_0x1bffc2(0x27e)](),_0x5b56f3=_0x79b5e9[_0x1bffc2(0x2b4)]();if(_0x5d7b01<=0x0||_0x5b56f3<=0x0)return[];const _0x4a927b=_0x79b5e9[_0x1bffc2(0x329)](),_0x2883d5=_0x79b5e9[_0x1bffc2(0x1e1)](),_0x295c84=_0x3da685?_0x2883d5>=0x0?_0x2883d5+0x1:0x0:_0x5d7b01,_0x24490f=_0x3da685?_0x4a927b>=0x0?_0x4a927b+0x1:0x0:_0x5b56f3,{row:_0x5ae496,col:_0x55c2d5}=_0x1e8e39,_0x3b9f10=_0x5ae496,_0x2f5e38=_0x55c2d5;if(_0x20e84a){const _0x16fc04=[];for(const [_0x1b42b7,_0x5330e8]of Object[_0x1bffc2(0x386)](_0x35baee))for(const [_0x22c1b9,_0x33137c]of Object[_0x1bffc2(0x386)](_0x5330e8))_0x16fc04[_0x1bffc2(0x391)](_0x3bce79(_0x3b9f10+Number(_0x1b42b7),_0x2f5e38+Number(_0x22c1b9)));return _0x16fc04;}else{const _0x3eed1c=_0x3da685?_0x295c84>0x0?0x1:0x0:0x1,_0x52d660=_0x3da685?_0x24490f>0x0?0x1:0x0:0x1,_0xd22ceb=_0x5ae496+_0x295c84-_0x3eed1c,_0x54c721=_0x55c2d5+_0x24490f-_0x52d660;return[{'startRow':_0x3b9f10,'startColumn':_0x2f5e38,'endRow':_0xd22ceb,'endColumn':_0x54c721}];}}const q=_0x33be9b(0x2c4),kt=_0x33be9b(0x33b);var L=(_0x1488a0=>(_0x1488a0['Filter']=_0x33be9b(0x33c),_0x1488a0[_0x33be9b(0x370)]=_0x33be9b(0x31c),_0x1488a0[_0x33be9b(0x2d7)]=_0x33be9b(0x28f),_0x1488a0[_0x33be9b(0x24f)]=_0x33be9b(0x24f),_0x1488a0[_0x33be9b(0x274)]=_0x33be9b(0x2fc),_0x1488a0[_0x33be9b(0x21d)]=_0x33be9b(0x2d4),_0x1488a0[_0x33be9b(0x203)]=_0x33be9b(0x30a),_0x1488a0[_0x33be9b(0x322)]='setPivotCollapse',_0x1488a0['SetPivotFilter']=_0x33be9b(0x413),_0x1488a0[_0x33be9b(0x1e9)]=_0x33be9b(0x1b9),_0x1488a0[_0x33be9b(0x252)]=_0x33be9b(0x260),_0x1488a0[_0x33be9b(0x419)]=_0x33be9b(0x1b4),_0x1488a0[_0x33be9b(0x2a7)]=_0x33be9b(0x26a),_0x1488a0[_0x33be9b(0x2ee)]=_0x33be9b(0x1c7),_0x1488a0[_0x33be9b(0x28b)]=_0x33be9b(0x3d7),_0x1488a0[_0x33be9b(0x308)]=_0x33be9b(0x412),_0x1488a0[_0x33be9b(0x2ea)]='resetPivotTable',_0x1488a0))(L||{});const yi={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x33be9b(0x2b0),'sheets-pivot.grandTotalText':_0x33be9b(0x219),'sheets-pivot.valueText':_0x33be9b(0x3ee),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x33be9b(0x41a),'sheets-pivot.countNumsName':_0x33be9b(0x41a),'sheets-pivot.maxName':_0x33be9b(0x3a7),'sheets-pivot.minName':_0x33be9b(0x38b),'sheets-pivot.productName':_0x33be9b(0x3ca),'sheets-pivot.stdDevName':_0x33be9b(0x1ca),'sheets-pivot.stdDevpName':_0x33be9b(0x2ce),'sheets-pivot.sumName':_0x33be9b(0x409),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x33be9b(0x348),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x33be9b(0x219),'sheets-pivot.value':_0x33be9b(0x306),'sheets-pivot.blank':_0x33be9b(0x3b7),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x33be9b(0x2aa),'sheets-pivot.emptyPivot.column':_0x33be9b(0x2be),'sheets-pivot.emptyPivot.values':_0x33be9b(0x1c4)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0xf41394('pivotPerformCheck'),Bo=_0x3f9809(_0x33be9b(0x2bd));var ke=(_0x32417f=>(_0x32417f[_0x33be9b(0x3d0)]=_0x33be9b(0x3d0),_0x32417f['delete']=_0x33be9b(0x220),_0x32417f[_0x33be9b(0x36c)]=_0x33be9b(0x36c),_0x32417f))(ke||{}),B=(_0x9a85d2=>(_0x9a85d2[_0x33be9b(0x298)]=_0x33be9b(0x3d0),_0x9a85d2[_0x33be9b(0x2f0)]='set',_0x9a85d2[_0x33be9b(0x21b)]=_0x33be9b(0x220),_0x9a85d2))(B||{});const $o={0x0:'Y',0x1:'P',0x2:'a',0x3:'5',0x4:'F',0x5:'m',0x6:'V',0x7:'3',0x8:'r',0x9:'n','H':'0','W':'1','X':'2','K':'4','j':'6','g':'7','O':'8','Y':'9','Q':'b','J':'c','t':'d','e':'e','y':'f','N':'g','w':'h','A':'i','M':'j','x':'k','E':'l','R':'o','U':'p','S':'q','L':'s','l':'t','G':'u','B':'v','c':'w','Z':'x','V':'y','u':'z','i':'A','p':'B','D':'C','b':'D','F':'E','m':'G','I':'H','C':'I','n':'J','s':'K','T':'L','P':'M','f':'N','v':'O','k':'Q','q':'R','z':'S','r':'T','a':'U','o':'W','h':'X','d':'Z'},Go=_0x33be9b(0x37d),ro={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x1a4),'handler':()=>!0x0},lo={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x2bf),'handler':()=>!0x0},Dt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x32f),'handler':()=>!0x0},co={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x398),'handler':()=>!0x0},uo={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x36d),'handler':()=>!0x0},Mi=_0xb172a0=>{const _0x28dacc=_0x33be9b;var _0x4b3073;return((_0x4b3073=_0xb172a0[_0x28dacc(0x1f9)])==null?void 0x0:_0x4b3073[_0x28dacc(0x232)]['replace'](/\r\n$/,''))||'';};class wi extends _0xb38059{constructor(_0x13e85a,_0x294f99){const _0x55e65b=_0x33be9b;super(),U(this,_0x55e65b(0x2b9),{}),U(this,_0x55e65b(0x257)),U(this,_0x55e65b(0x299)),(this[_0x55e65b(0x257)]=_0x294f99,this[_0x55e65b(0x299)]=_0x13e85a);}[_0x33be9b(0x345)](){const _0x1dd174=_0x33be9b;for(const _0x35f0e8 in this[_0x1dd174(0x241)]){const _0xd9f2b6=this[_0x1dd174(0x241)][_0x35f0e8],_0x48cead=_0xd9f2b6[_0x1dd174(0x3a4)]();this[_0x1dd174(0x2b9)][_0x48cead]=_0xd9f2b6[_0x1dd174(0x333)]();}}[_0x33be9b(0x340)](){const _0x196717=_0x33be9b,_0x2730e5=this[_0x196717(0x299)];return Vi['bind'](_0x2730e5);}[_0x33be9b(0x1b2)](_0x5b6be6){const _0x5c4e8e=_0x33be9b,_0x54ced7=this[_0x5c4e8e(0x241)][_0x5b6be6][_0x5c4e8e(0x343)];delete this['dataFields'][_0x5b6be6],delete this[_0x5c4e8e(0x2b9)][_0x54ced7];}['addDataFieldWithoutUnitInfo'](_0x20afe3){const _0x3e073e=_0x33be9b;this[_0x3e073e(0x241)][_0x20afe3[_0x3e073e(0x333)]()]=_0x20afe3;}[_0x33be9b(0x238)](_0x21d7ca){const _0x386450=_0x33be9b;var _0x55dd4a,_0x4f98ad;const _0x4c0b23=this[_0x386450(0x299)]['getTargetByPivotId'](_0x21d7ca);if(_0x4c0b23){const {unitId:_0x408e95,subUnitId:_0x3ac86d}=_0x4c0b23,_0x45d5b1=(_0x55dd4a=this[_0x386450(0x299)][_0x386450(0x218)](_0x408e95,_0x3ac86d,_0x21d7ca))==null?void 0x0:_0x55dd4a['sourceRangeInfo'];this[_0x386450(0x299)]['broadcastCollectionChange']({'token':_0x21d7ca,'type':ke[_0x386450(0x220)],'dataRangeInfo':_0x45d5b1});}(_0x4f98ad=this[_0x386450(0x300)](_0x21d7ca))==null||_0x4f98ad[_0x386450(0x2f5)](),delete this['collections'][_0x21d7ca];}[_0x33be9b(0x3a4)](_0x503959,_0x395985){const {sheetName:_0x36e9b9,unitId:_0x12bf82,range:_0x3021ef}=_0x503959,{startRow:_0x4574ea,endRow:_0x4bec07}=_0x3021ef;return _0x5218bd(_0x12bf82,_0x36e9b9,{'startRow':_0x4574ea,'endRow':_0x4bec07,'startColumn':_0x395985,'endColumn':_0x395985});}[_0x33be9b(0x3b5)](_0x55a80c){const _0x44ae5e=_0x33be9b;return this[_0x44ae5e(0x241)][this[_0x44ae5e(0x2b9)][_0x55a80c]];}[_0x33be9b(0x211)](_0x22effe,_0xf88c4d){const _0x2122d4=_0x33be9b;this[_0x2122d4(0x2b9)][_0x22effe]=_0xf88c4d;}[_0x33be9b(0x37c)](_0x4eb035,_0x8b21aa){const _0x599d89=_0x33be9b;this[_0x599d89(0x2b9)][_0x8b21aa]=this['rangeKeyMap'][_0x4eb035],delete this[_0x599d89(0x2b9)][_0x4eb035];}[_0x33be9b(0x1cf)](_0x1fe2ba,_0x5c4ed3,_0x5c6b79,_0x4c6842){const _0x2a0a41=_0x33be9b,_0x5f196c=new _0x3037df(this);_0x5f196c[_0x2a0a41(0x269)](_0x5c4ed3);const _0x573982=[];let _0x4b61a8=0x0;for(const _0x5cbd36 of _0x5f196c[_0x2a0a41(0x26b)]){const _0xc2c394=this['getRangeKey'](_0x5c6b79,_0x4b61a8),_0xbb0863=this[_0x2a0a41(0x241)][_0x5cbd36];_0xbb0863&&(_0xbb0863[_0x2a0a41(0x343)]=_0xc2c394,this[_0x2a0a41(0x211)](_0xc2c394,_0x5cbd36),_0x573982[_0x2a0a41(0x391)]({'index':_0x4b61a8,'dataField':_0xbb0863})),_0x4b61a8++;}return this[_0x2a0a41(0x2a1)](_0x1fe2ba,_0x5f196c,_0x5c6b79,_0x4c6842),{'collection':_0x5f196c,'updateDataFieldList':_0x573982};}[_0x33be9b(0x3a9)](_0x3f8372,_0x1878cf){const _0x394a14=_0x33be9b;return _0x3f8372[_0x394a14(0x1db)]===_0x289ed8[_0x394a14(0x270)]?{'startRow':0x0,'startColumn':_0x3f8372[_0x394a14(0x24e)],'endRow':_0x1878cf[_0x394a14(0x27e)]()-0x1,'endColumn':_0x3f8372['endColumn']}:{'startRow':_0x3f8372['startRow'],'startColumn':_0x3f8372[_0x394a14(0x24e)],'endRow':_0x3f8372['endRow'],'endColumn':_0x3f8372[_0x394a14(0x367)]};}[_0x33be9b(0x2c9)](_0x5a25f1){const _0x2ef05b=_0x33be9b,{sheetName:_0x44a8f7,range:_0x5ac6ce}=_0x5a25f1,_0x3d38cc=this[_0x2ef05b(0x257)][_0x2ef05b(0x405)](_0x266163[_0x2ef05b(0x2e5)]),_0x5e1c32=_0x3d38cc[_0x2ef05b(0x205)](_0x44a8f7),_0x1460f1=_0x5e1c32[_0x2ef05b(0x1d1)](),{startColumn:_0x5a7045,startRow:_0xc121fe,endColumn:_0x62cbbe}=this[_0x2ef05b(0x3a9)](_0x5ac6ce,_0x5e1c32),_0x417a31=_0x3d38cc[_0x2ef05b(0x228)](),_0x2608cf=new _0x3037df(this);_0x2608cf[_0x2ef05b(0x1eb)](_0x5a25f1);const _0x775ff6=[],_0x4726a1={};for(let _0x285115=_0x5a7045;_0x285115<=_0x62cbbe;_0x285115++){const _0x4a91be=_0x1460f1[_0x2ef05b(0x207)](_0xc121fe,_0x285115),_0x56affd=this[_0x2ef05b(0x3a4)](_0x5a25f1,_0x285115),_0x5affa4=this['getDataFieldByRangeKey'](_0x56affd);if(_0x5affa4)_0x2608cf['addField'](_0x5affa4[_0x2ef05b(0x333)](),_0x5affa4['getName']());else{const _0x4b7e1c=this[_0x2ef05b(0x234)]();let _0xa503b4=this[_0x2ef05b(0x2db)](_0x4a91be,_0x417a31,_0x4726a1);_0x4f0688(_0xa503b4)&&(_0xa503b4=_0x254867[_0x2ef05b(0x40a)](_0xa503b4['f'],Number(_0xa503b4['v'])));const _0x2c67c3=this[_0x2ef05b(0x212)](_0xa503b4,_0x285115),_0x144af7=new _0x39d1b3(_0x4b7e1c,_0x2c67c3,_0x4130b0(0x3));_0x144af7[_0x2ef05b(0x343)]=_0x56affd,this[_0x2ef05b(0x241)][_0x4b7e1c]=_0x144af7,_0x2608cf[_0x2ef05b(0x3dd)](_0x4b7e1c,_0x2c67c3),_0x775ff6[_0x2ef05b(0x391)]({'index':_0x285115,'dataField':_0x144af7});}}return{'updateDataFieldList':_0x775ff6,'collection':_0x2608cf};}['_getAutoName'](_0x5cb21b){const _0xc71af5=_0x33be9b;return this[_0xc71af5(0x299)]['getTextInfo']()[_0xc71af5(0x31e)]+'\x20'+_0x17e6ef(_0x5cb21b);}[_0x33be9b(0x212)](_0xb0ea89,_0x563027){const _0xd20161=_0x33be9b;return _0xb0ea89==null||_0xb0ea89===''?this[_0xd20161(0x34b)](_0x563027):String(_0xb0ea89);}[_0x33be9b(0x300)](_0x5deabc){const _0x1fadad=_0x33be9b;return this[_0x1fadad(0x382)][_0x5deabc];}[_0x33be9b(0x2a1)](_0x271510,_0x3345c4,_0x18e9eb,_0x29e9ff){const _0x4c5fd5=_0x33be9b;this[_0x4c5fd5(0x382)][_0x271510]=_0x3345c4,_0x3345c4[_0x4c5fd5(0x1eb)](_0x18e9eb),this[_0x4c5fd5(0x299)][_0x4c5fd5(0x3f8)]({'token':_0x271510,'type':ke[_0x4c5fd5(0x3d0)],'dataRangeInfo':_0x18e9eb,'targetCellInfo':_0x29e9ff});}[_0x33be9b(0x371)](_0x52be06,_0x40ff63){const _0x41ff7d=_0x33be9b,_0x2e29a6=this[_0x41ff7d(0x300)](_0x52be06),_0x32aeda=_0x2e29a6[_0x41ff7d(0x3af)]();let _0x59da8e=0x0;for(const _0x3a86b4 of _0x32aeda){const _0x2efc15=_0x2e29a6['getFieldById'](_0x3a86b4),_0x4f2775=this[_0x41ff7d(0x3a4)](_0x40ff63,_0x59da8e);this[_0x41ff7d(0x37c)](_0x2efc15[_0x41ff7d(0x343)],_0x4f2775),_0x59da8e++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x3872eb,_0x326198){const _0xf5d915=_0x33be9b;if(this[_0xf5d915(0x300)](_0x3872eb)){const _0x2f3e1a=this[_0xf5d915(0x2e7)](_0x326198),_0x3786bc=[];for(const _0x2bd7b1 of _0x2f3e1a)this['rangeKeyMap'][_0x2bd7b1]!==void 0x0&&_0x3786bc[_0xf5d915(0x391)](this[_0xf5d915(0x2b9)][_0x2bd7b1]);const _0x47ae11=this['getNoUsedDataFieldIds'](_0x3872eb),_0x580721=[],_0xa9255b=new Set(_0x3786bc);for(const _0x191617 of _0x47ae11)_0xa9255b[_0xf5d915(0x31f)](_0x191617)||_0x580721[_0xf5d915(0x391)](_0x191617);return _0x580721;}}[_0x33be9b(0x37a)](_0x17bc9d,_0x37f490,_0x152abe,_0x30fe19,_0x1d5b41){const _0x261cd0=_0x33be9b;return _0x37f490&&_0x37f490[_0x261cd0(0x207)](_0x30fe19,_0x1d5b41)?_0x37f490[_0x261cd0(0x207)](_0x30fe19,_0x1d5b41):_0x152abe&&_0x152abe[_0x261cd0(0x207)](_0x30fe19,_0x1d5b41)?_0x152abe[_0x261cd0(0x207)](_0x30fe19,_0x1d5b41):_0x17bc9d[_0x261cd0(0x207)](_0x30fe19,_0x1d5b41);}[_0x33be9b(0x383)](_0x28cce3,_0xa7c8d4,_0xcad1f0,_0x3748d5){const _0x26a8bf=_0x33be9b,_0x328b11=this[_0x26a8bf(0x241)][_0x28cce3];if(!_0x328b11)return;const {subUnitId:_0x24bbd7,range:_0x428025,unitId:_0x37c9b4}=_0xa7c8d4,_0x44d7ef=this['_univerInstanceService'][_0x26a8bf(0x3d4)](_0x37c9b4);if(!_0x44d7ef){console[_0x26a8bf(0x39e)]('workbook\x20is\x20not\x20found');return;}const _0xcb71c9=_0x44d7ef[_0x26a8bf(0x424)](_0x24bbd7),_0x124a10=_0xcb71c9['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x15b50d,unitDataMatrix:_0x196ba9}=_0x3748d5||{},{startRow:_0x2e44b7,startColumn:_0x20bb68,endRow:_0x25ca80}=this[_0x26a8bf(0x3a9)](_0x428025,_0xcb71c9);_0x328b11[_0x26a8bf(0x256)]();const _0x4e0da6=_0x44d7ef[_0x26a8bf(0x228)](),_0x192b6b={},_0x16eaba=this[_0x26a8bf(0x37a)](_0x124a10,_0x15b50d,_0x196ba9,_0x2e44b7,_0x20bb68+_0xcad1f0);let _0x30789a=this[_0x26a8bf(0x2db)](_0x16eaba,_0x4e0da6,_0x192b6b);_0x4f0688(_0x30789a)&&(_0x30789a=_0x254867[_0x26a8bf(0x40a)](_0x30789a['f'],Number(_0x30789a['v'])));const _0x2d5d78=this[_0x26a8bf(0x212)](_0x30789a,_0x20bb68+_0xcad1f0);_0x328b11[_0x26a8bf(0x380)](_0x2d5d78);for(let _0x49eb95=_0x2e44b7+0x1;_0x49eb95<=_0x25ca80;_0x49eb95++){const _0x21b7e7=this['getMatrixValue'](_0x124a10,_0x15b50d,_0x196ba9,_0x49eb95,_0x20bb68+_0xcad1f0);_0x328b11[_0x26a8bf(0x224)](this[_0x26a8bf(0x2db)](_0x21b7e7,_0x4e0da6,_0x192b6b),_0x49eb95-0x1-_0x2e44b7);}}['refreshData'](_0x25037f,_0x361609,_0x49d964){const _0x1e151c=_0x33be9b,{subUnitId:_0x3a3fae,range:_0x5770dd,unitId:_0x1108be}=_0x49d964,_0xcc0f3a=this[_0x1e151c(0x257)][_0x1e151c(0x3d4)](_0x1108be);if(!_0xcc0f3a){console[_0x1e151c(0x39e)]('workbook\x20is\x20not\x20found');return;}const _0x1c8db3=_0xcc0f3a['getSheetBySheetId'](_0x3a3fae),_0x343322=_0x1c8db3[_0x1e151c(0x1d1)](),{startRow:_0x58e5f3,startColumn:_0x566882,endRow:_0x2f3fdc}=this[_0x1e151c(0x3a9)](_0x5770dd,_0x1c8db3),_0x383b3c=_0xcc0f3a[_0x1e151c(0x228)](),_0x4f63f6={};for(const {dataField:_0x2037b5,index:_0x49985e}of _0x361609){_0x2037b5[_0x1e151c(0x256)]();const _0x2914bd=this['getMatrixValue'](_0x343322,void 0x0,void 0x0,_0x58e5f3,_0x566882+_0x49985e);let _0x4bef4e=this[_0x1e151c(0x2db)](_0x2914bd,_0x383b3c,_0x4f63f6);_0x4f0688(_0x4bef4e)&&(_0x4bef4e=_0x254867[_0x1e151c(0x40a)](_0x4bef4e['f'],Number(_0x4bef4e['v'])));const _0x5654c3=this[_0x1e151c(0x212)](_0x4bef4e,_0x566882+_0x49985e);_0x2037b5[_0x1e151c(0x380)](_0x5654c3);}_0x25037f['updateAllDisplayName']();for(let _0x60fcba=_0x58e5f3+0x1;_0x60fcba<=_0x2f3fdc;_0x60fcba++)for(const {index:_0x1772bd,dataField:_0x42a5fa}of _0x361609){const _0x4c5c4d=_0x343322[_0x1e151c(0x207)](_0x60fcba,_0x566882+_0x1772bd);_0x42a5fa[_0x1e151c(0x224)](this[_0x1e151c(0x2db)](_0x4c5c4d,_0x383b3c,_0x4f63f6),_0x60fcba-0x1-_0x58e5f3);}_0x25037f[_0x1e151c(0x35f)](_0x2f3fdc-_0x58e5f3);}[_0x33be9b(0x2e7)](_0x3de79b){const _0x41bd38=_0x33be9b,{range:_0x11d4d2}=_0x3de79b,{startColumn:_0x47ad97,endColumn:_0x31ef28}=_0x11d4d2,_0x556328=[];for(let _0x577bbb=_0x47ad97;_0x577bbb<=_0x31ef28;_0x577bbb++)_0x556328[_0x41bd38(0x391)](this[_0x41bd38(0x3a4)](_0x3de79b,_0x577bbb));return _0x556328;}[_0x33be9b(0x2db)](_0x4589f4,_0x566fba,_0x5d54fd){const _0x8a1566=_0x33be9b;if(_0x4589f4){const {s:_0x57ed89,v:_0x592642,t:_0x596f9c,p:_0x35d17b}=_0x4589f4;if(_0x35d17b)return Mi(_0x35d17b);const _0x505802=_0x566fba[_0x8a1566(0x2ab)](_0x57ed89);if(_0x505802&&_0x596f9c===_0x324e45[_0x8a1566(0x2a2)]&&_0x505802['n']){const {pattern:_0xc88d23}=_0x505802['n'];_0x5d54fd[_0xc88d23]||(_0x5d54fd[_0xc88d23]=_0x254867[_0x8a1566(0x3c1)](_0xc88d23));const _0x12f2cb=_0x5d54fd[_0xc88d23],_0x2cf8f7=_0x12f2cb[_0x8a1566(0x2f4)];if(_0x12f2cb[_0x8a1566(0x3c5)])return String(_0x592642);if(_0x2cf8f7)return{'v':_0x592642,'f':_0xc88d23};}if(_0x596f9c===_0x324e45['NUMBER'])return Number(_0x592642);if(_0x596f9c===_0x324e45[_0x8a1566(0x420)]||_0x596f9c===_0x324e45[_0x8a1566(0x32e)])return String(_0x592642);if(_0x596f9c===void 0x0){const _0x3b9c99=Number(_0x592642);if(!Number[_0x8a1566(0x21f)](_0x3b9c99)&&String(_0x3b9c99)===_0x592642)return _0x3b9c99;}return _0x592642!=null?_0x592642:null;}else return null;}[_0x33be9b(0x295)](_0x214698){const _0x555525=_0x33be9b,{sheetName:_0x45c06b,range:_0x5f2c58,unitId:_0x280b6a}=_0x214698,_0x2f8a89=this['_univerInstanceService']['getUnit'](_0x280b6a);if(!_0x2f8a89)return console[_0x555525(0x39e)](_0x555525(0x397)),{'header':[],'data':[]};const _0x340b6f=_0x2f8a89['getSheetBySheetName'](_0x45c06b),_0x24af6f=_0x340b6f['getCellMatrix'](),{startRow:_0x4441dc,startColumn:_0x307df6,endRow:_0x1fa943,endColumn:_0x1c4cf0}=this[_0x555525(0x3a9)](_0x5f2c58,_0x340b6f),_0x15242b=_0x2f8a89['getStyles'](),_0x453b03=[],_0xd21bf5=[],_0x32b74e={};for(let _0x204730=_0x4441dc;_0x204730<=_0x1fa943;_0x204730++){const _0x5332e9=[];for(let _0x18bb87=_0x307df6;_0x18bb87<=_0x1c4cf0;_0x18bb87++){const _0x391da9=_0x24af6f[_0x555525(0x207)](_0x204730,_0x18bb87);_0x204730===_0x4441dc?_0x453b03['push'](_0x391da9==null?null:String(_0x391da9['v'])):_0x5332e9[_0x555525(0x391)](this[_0x555525(0x2db)](_0x391da9,_0x15242b,_0x32b74e));}_0xd21bf5[_0x555525(0x391)](_0x5332e9);}return{'header':_0x453b03,'data':_0xd21bf5};}[_0x33be9b(0x3c8)](){const _0x1ebf01=_0x33be9b;return super[_0x1ebf01(0x3c8)]();}['fromJSON'](_0x58467e){const _0x356513=_0x33be9b;super[_0x356513(0x269)](_0x58467e),this[_0x356513(0x345)]();}[_0x33be9b(0x2f5)](){const _0x4bff5b=_0x33be9b;super[_0x4bff5b(0x2f5)](),this[_0x4bff5b(0x2b9)]={},this[_0x4bff5b(0x299)]=null;}}const Ri=_0x4ce126=>{const _0x20ddc4=_0x33be9b,{targetCellInfo:_0x4178bf}=_0x4ce126,{matrixCache:_0x508371,rangesCache:_0x288aa9}=Wo({'filter':_0x20ddc4(0x291),'row':_0x20ddc4(0x2aa),'column':_0x20ddc4(0x2be),'values':'Values'},_0x4178bf),_0xaed43e=new _0x2f7a34();return _0x508371[_0x20ddc4(0x29e)]((_0x1b18c1,_0x49b526,_0x425f66)=>{const _0x318d26=_0x20ddc4;_0xaed43e[_0x318d26(0x1bc)](_0x1b18c1,_0x49b526,_0x425f66);}),{'matrix':_0xaed43e,'rangesCache':_0x288aa9};},ot=_0x19eccc=>{const _0x1cd3be=_0x33be9b;let _0x416925;if(_0x19eccc!=null&&_0x19eccc['v']||(_0x19eccc==null?void 0x0:_0x19eccc['v'])===0x0){_0x416925||(_0x416925={});const _0x2a7a0c=Jo(_0x19eccc['v']);typeof _0x2a7a0c==_0x1cd3be(0x3f1)?_0x416925['t']=_0x324e45[_0x1cd3be(0x2a2)]:typeof _0x2a7a0c==_0x1cd3be(0x1e5)&&(_0x416925['t']=_0x324e45['STRING']),_0x416925['v']=_0x2a7a0c;}return _0x416925;},_i=(_0x1008fd,_0x15803d,_0x3debc3)=>{const _0x4d4b2c=_0x33be9b;var _0x46b5c3,_0x4c38ad,_0x8403b3,_0x57c44a,_0x397193,_0x43fc46,_0xebf05c,_0x646ffc,_0x2664db,_0x14feea,_0x2c915a,_0x10f4d1;const {cornerView:_0x28db82,rowView:_0x44b499,colView:_0x4ff46a,dataView:_0x16fe54,pageView:_0x4aba93,formatMap:_0x5a8aee}=_0x1008fd,{row:_0x35e916,col:_0x3b5222}=_0x15803d,_0x9d90f9=new _0x2f7a34();let _0x22292c=_0x35e916,_0x6ad44d=_0x3b5222;Object['keys'](_0x4aba93['data'])[_0x4d4b2c(0x267)](_0x189cd5=>{const _0x13ba0f=_0x4d4b2c;Object[_0x13ba0f(0x280)](_0x4aba93[_0x13ba0f(0x3f2)][Number(_0x189cd5)])[_0x13ba0f(0x267)](_0x3f71d7=>{const _0x334b86=_0x13ba0f,_0x292a43={..._0x4aba93[_0x334b86(0x3f2)][Number(_0x189cd5)][Number(_0x3f71d7)]};_0x9d90f9['setValue'](Number(_0x189cd5)+_0x22292c,Number(_0x3f71d7)+_0x6ad44d,ot(_0x292a43));});});const _0x79a597=Object[_0x4d4b2c(0x280)](_0x4aba93['data'])[_0x4d4b2c(0x276)];_0x22292c+=_0x79a597+(_0x79a597?It:0x0);const _0x1d93fe=_0x28db82['getRowCount'](),_0x10b054=_0x28db82[_0x4d4b2c(0x2b4)]();for(let _0x51aca1=0x0;_0x51aca1<_0x1d93fe;_0x51aca1++)for(let _0x390725=0x0;_0x390725<_0x10b054;_0x390725++){const _0x4a9754={...(_0x4c38ad=(_0x46b5c3=_0x28db82[_0x4d4b2c(0x3f2)])==null?void 0x0:_0x46b5c3[_0x51aca1])==null?void 0x0:_0x4c38ad[_0x390725]};_0x4a9754&&((_0x8403b3=_0x44b499[_0x4d4b2c(0x407)][_0x390725])!=null&&_0x8403b3[_0x4d4b2c(0x3cb)])&&_0x390725===_0x10b054-0x1&&_0x51aca1===_0x1d93fe-0x1&&(_0x4a9754['v']=''+_0x3debc3[_0x4d4b2c(0x376)]),_0x9d90f9[_0x4d4b2c(0x1bc)](_0x51aca1+_0x22292c,_0x390725+_0x6ad44d,ot(_0x4a9754));}_0x6ad44d+=_0x10b054;const _0x40c530=_0x4ff46a[_0x4d4b2c(0x407)],_0x442f1f=_0x4ff46a['getLastRow']()>=0x0?_0x4ff46a['getLastRow']()+0x1:0x0,_0x5f4e9d=_0x4ff46a['getLastCol']()>=0x0?_0x4ff46a['getLastCol']()+0x1:0x0;for(let _0x528a44=0x0;_0x528a44<_0x5f4e9d;_0x528a44++)for(let _0x4ba110=0x0;_0x4ba110<_0x442f1f;_0x4ba110++){const _0xa950a0={...(_0x397193=(_0x57c44a=_0x4ff46a[_0x4d4b2c(0x3f2)])==null?void 0x0:_0x57c44a[_0x528a44])==null?void 0x0:_0x397193[_0x4ba110]},_0xcad41b=(_0x43fc46=_0x40c530[_0x528a44])==null?void 0x0:_0x43fc46[_0x4d4b2c(0x3a3)],_0x167218=_0x5a8aee[_0xcad41b];_0xa950a0&&(_0xa950a0['v']=ht(_0xa950a0,_0x528a44===0x0&&((_0xebf05c=_0x4ff46a['getHeaderMapItem'](_0x4ba110+0x1))==null?void 0x0:_0xebf05c['isValue']),_0x167218,_0x3debc3)),_0x9d90f9[_0x4d4b2c(0x1bc)](_0x528a44+_0x22292c,_0x4ba110+_0x6ad44d,ot(_0xa950a0));}_0x22292c+=_0x1d93fe;const _0x4801d5=_0x44b499[_0x4d4b2c(0x407)],_0x554e86=_0x44b499[_0x4d4b2c(0x1e1)]()>=0x0?_0x44b499[_0x4d4b2c(0x1e1)]()+0x1:0x0,_0x235551=_0x44b499[_0x4d4b2c(0x329)]()>=0x0?_0x44b499[_0x4d4b2c(0x329)]()+0x1:0x0;for(let _0x507b4e=0x0;_0x507b4e<_0x554e86;_0x507b4e++)for(let _0x1e9dc2=0x0;_0x1e9dc2<_0x235551;_0x1e9dc2++){const _0x103d04={...(_0x2664db=(_0x646ffc=_0x44b499[_0x4d4b2c(0x3f2)])==null?void 0x0:_0x646ffc[_0x507b4e])==null?void 0x0:_0x2664db[_0x1e9dc2]},_0xa996e6=(_0x14feea=_0x4801d5[_0x1e9dc2])==null?void 0x0:_0x14feea[_0x4d4b2c(0x3a3)],_0x5f503e=_0x5a8aee[_0xa996e6];_0x103d04&&(_0x103d04['v']=ht(_0x103d04,!0x1,_0x5f503e,_0x3debc3)),_0x9d90f9['setValue'](_0x507b4e+_0x22292c,_0x1e9dc2+_0x3b5222,ot(_0x103d04));}const _0x4e547a=_0x16fe54[_0x4d4b2c(0x27e)](),_0x1f624c=_0x16fe54[_0x4d4b2c(0x2b4)]();for(let _0x43aa40=0x0;_0x43aa40<_0x4e547a;_0x43aa40++)for(let _0x3cf216=0x0;_0x3cf216<_0x1f624c;_0x3cf216++){const _0x43f11c={...(_0x10f4d1=(_0x2c915a=_0x16fe54[_0x4d4b2c(0x3f2)])==null?void 0x0:_0x2c915a[_0x43aa40])==null?void 0x0:_0x10f4d1[_0x3cf216]};_0x9d90f9[_0x4d4b2c(0x1bc)](_0x43aa40+_0x22292c,_0x3cf216+_0x6ad44d,ot(_0x43f11c));}return _0x9d90f9;},Fi=_0x513f80=>{const _0x14694b=_0x33be9b,{view:_0x318842,targetCellInfo:_0x1de08b,isEmpty:_0x22100b,textInfo:_0x24adcb}=_0x513f80;if(_0x22100b)return Ri(_0x513f80);const {pageView:_0xb6bd48,cornerView:_0x5bdd53,rowView:_0x2f280b,colView:_0xe4c014,dataView:_0x43ec0f}=_0x318842,_0x4736f9=ge(_0x1de08b,_0xb6bd48,!0x0),_0x56e450=_0xb6bd48[_0x14694b(0x311)]>=0x0?_0xb6bd48[_0x14694b(0x311)]+0x1:0x0,_0x43f4ad=_0x5bdd53[_0x14694b(0x27e)](),_0x37c81a=_0x5bdd53['getColCount'](),_0x5d8503=_0x4736f9[_0x14694b(0x276)]>0x0?It:0x0,_0x90ccf4=ge({'row':_0x1de08b[_0x14694b(0x3ff)]+_0x56e450+_0x5d8503,'col':_0x1de08b[_0x14694b(0x2a0)]},_0x5bdd53,!0x1,!0x1),_0x3d52b2=ge({'row':_0x1de08b[_0x14694b(0x3ff)]+_0x56e450+_0x5d8503+_0x43f4ad,'col':_0x1de08b[_0x14694b(0x2a0)]},_0x2f280b,!0x1,!0x0),_0xa7eb4c=ge({'row':_0x1de08b[_0x14694b(0x3ff)]+_0x56e450+_0x5d8503,'col':_0x1de08b['col']+_0x37c81a},_0xe4c014,!0x1,!0x0),_0x5e8292=ge({'row':_0x1de08b['row']+_0x56e450+_0x5d8503+_0x43f4ad,'col':_0x1de08b[_0x14694b(0x2a0)]+_0x37c81a},_0x43ec0f,!0x1,!0x1),_0x4d6306={'rowRanges':_0x3d52b2,'colRanges':_0xa7eb4c,'cornerRanges':_0x90ccf4,'dataRanges':_0x5e8292,'pageRanges':_0x4736f9};return{'matrix':_i(_0x318842,_0x1de08b,_0x24adcb),'rangesCache':_0x4d6306};};var Di=Object[_0x33be9b(0x229)],Ni=(_0x4bd8c4,_0x239a59,_0x18abf3,_0x5084b4)=>{for(var _0x22fb1b=_0x5084b4>0x1?void 0x0:_0x5084b4?Di(_0x239a59,_0x18abf3):_0x239a59,_0xedcc67=_0x4bd8c4['length']-0x1,_0x231fb7;_0xedcc67>=0x0;_0xedcc67--)(_0x231fb7=_0x4bd8c4[_0xedcc67])&&(_0x22fb1b=_0x231fb7(_0x22fb1b)||_0x22fb1b);return _0x22fb1b;},nt=(_0x5871b0,_0x2f3f69)=>(_0x540a26,_0x1d9c7a)=>_0x2f3f69(_0x540a26,_0x1d9c7a,_0x5871b0);let $=class extends _0x5f1b0a{constructor(_0xc1ee62,_0x1ec81e,_0x194f82,_0x5399fd,_0x1968e5){const _0x5281d8=_0x33be9b;super(),U(this,_0x5281d8(0x385),new Map()),U(this,_0x5281d8(0x283),new Map()),U(this,_0x5281d8(0x30c),new Map()),U(this,_0x5281d8(0x369)),U(this,_0x5281d8(0x1a8),new _0x38b30f()),U(this,_0x5281d8(0x28d),this['_collectionChange$'][_0x5281d8(0x3ed)]()),U(this,_0x5281d8(0x303),new _0x38b30f()),U(this,_0x5281d8(0x364),this['_viewData$'][_0x5281d8(0x3ed)]()),U(this,'_fieldsCollectionChange$',new _0x38b30f()),U(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x5281d8(0x3ed)]()),U(this,'_dataFieldManagerCollection',new Map()),U(this,'needSameDeleteModel',[]),U(this,_0x5281d8(0x1e3),new Map()),(this[_0x5281d8(0x3bb)]=_0xc1ee62,this[_0x5281d8(0x257)]=_0x1ec81e,this[_0x5281d8(0x3f7)]=_0x194f82,this[_0x5281d8(0x24a)]=_0x5399fd,this['_resourceManagerService']=_0x1968e5,this[_0x5281d8(0x255)]());}[_0x33be9b(0x337)](){const _0x6c263a=_0x33be9b;return this[_0x6c263a(0x369)]?this['_textInfo']:yi;}[_0x33be9b(0x206)](_0xe8f70e){const _0x2091dd=_0x33be9b;this[_0x2091dd(0x369)]=_0xe8f70e;}[_0x33be9b(0x371)](_0x179d74){const _0xb528ac=_0x33be9b;var _0x42c593;const {from:_0x3aed44,to:_0x475d12,unitId:_0x401391,fromRange:_0x296aa6,toRange:_0x3d27df}=_0x179d74;if(_0x3aed44&&_0x475d12){const _0x15efdb=this[_0xb528ac(0x347)](_0x401391),_0xc7e1d9=this[_0xb528ac(0x385)][_0xb528ac(0x2ab)](_0x401391),_0x11519b=(_0x42c593=this['_univerInstanceService'][_0xb528ac(0x3d4)](_0x401391))==null?void 0x0:_0x42c593[_0xb528ac(0x424)](_0x475d12['subUnitId']);if(!_0xc7e1d9||!_0x11519b)return;const _0x445aed=_0x11519b==null?void 0x0:_0x11519b[_0xb528ac(0x202)]();for(const [_0x1fc8ee,_0x24b10e]of _0xc7e1d9[_0xb528ac(0x386)]())for(const [_0x59cb9f,_0x3ba45]of _0x24b10e['entries']()){const {sourceRangeInfo:_0x432f1f}=_0x3ba45;if(_0x432f1f['unitId']===_0x401391&&_0x432f1f['subUnitId']===_0x3aed44[_0xb528ac(0x1a6)]&&_0x6c5d65[_0xb528ac(0x41b)](_0x296aa6,_0x432f1f['range'])){const _0x594b55={'row':_0x432f1f[_0xb528ac(0x287)][_0xb528ac(0x3ec)]-_0x296aa6[_0xb528ac(0x3ec)],'col':_0x432f1f[_0xb528ac(0x287)][_0xb528ac(0x24e)]-_0x296aa6['startColumn']},_0x55c3e2={'unitId':_0x401391,'subUnitId':_0x475d12['subUnitId'],'sheetName':_0x445aed,'range':{'startRow':_0x3d27df[_0xb528ac(0x3ec)]+_0x594b55['row'],'endRow':_0x3d27df[_0xb528ac(0x3ec)]+_0x594b55[_0xb528ac(0x3ff)]+_0x432f1f[_0xb528ac(0x287)][_0xb528ac(0x34c)]-_0x432f1f[_0xb528ac(0x287)]['startRow'],'startColumn':_0x3d27df[_0xb528ac(0x24e)]+_0x594b55[_0xb528ac(0x2a0)],'endColumn':_0x3d27df['startColumn']+_0x594b55[_0xb528ac(0x2a0)]+_0x432f1f[_0xb528ac(0x287)][_0xb528ac(0x367)]-_0x432f1f['range'][_0xb528ac(0x24e)]}};_0x15efdb[_0xb528ac(0x371)](_0x59cb9f,_0x55c3e2);const _0x2448d0={..._0x3ba45,'sourceRangeInfo':_0x55c3e2};this[_0xb528ac(0x36a)](_0x401391,_0x475d12['subUnitId'],_0x59cb9f,_0x2448d0),this[_0xb528ac(0x3f8)]({'unitId':_0x401391,'token':_0x59cb9f,'type':ke[_0xb528ac(0x36c)],'oldSourceRangeInfo':_0x432f1f,'dataRangeInfo':_0x55c3e2,'targetCellInfo':_0x3ba45[_0xb528ac(0x3df)]}),this[_0xb528ac(0x2ff)]({'unitId':_0x401391,'subUnitId':_0x475d12[_0xb528ac(0x1a6)],'oldSubUnitId':_0x1fc8ee,'pivotTableId':_0x59cb9f,'pivotTableConfig':_0x2448d0,'collectionConfig':_0x15efdb[_0xb528ac(0x3c8)]()});}}}}[_0x33be9b(0x3f8)](_0x4e8c36){const _0x3a717d=_0x33be9b;this[_0x3a717d(0x1a8)]['next'](_0x4e8c36);}[_0x33be9b(0x347)](_0xa8732f){const _0x2a2462=_0x33be9b;let _0x24aacb=this[_0x2a2462(0x29b)][_0x2a2462(0x2ab)](_0xa8732f);return _0x24aacb||(_0x24aacb=new wi(this,this[_0x2a2462(0x257)]),this[_0x2a2462(0x29b)][_0x2a2462(0x22c)](_0xa8732f,_0x24aacb)),_0x24aacb;}[_0x33be9b(0x300)](_0x522a9d,_0x2efb3f){const _0x11a9f1=_0x33be9b;return this[_0x11a9f1(0x347)](_0x522a9d)[_0x11a9f1(0x382)][_0x2efb3f];}['getUpdateRangeDeleteIds'](_0x2b1c4a,_0x250cd5,_0x23e485){return this['getDataFieldManager'](_0x2b1c4a)['getUpdateRangeDeleteIds'](_0x250cd5,_0x23e485);}[_0x33be9b(0x2fd)](_0x1cb022,_0x28615d){const _0x13a931=_0x33be9b;let _0x4fcb28=this['_model']['get'](_0x1cb022);_0x4fcb28||(_0x4fcb28=new Map(),this['_model'][_0x13a931(0x22c)](_0x1cb022,_0x4fcb28));let _0x468e80=_0x4fcb28['get'](_0x28615d);return _0x468e80||(_0x468e80=new Map(),_0x4fcb28[_0x13a931(0x22c)](_0x28615d,_0x468e80)),_0x468e80;}[_0x33be9b(0x36a)](_0x4b4c2d,_0x489447,_0x5bd0d3,_0x329ec1){const _0x433d4f=_0x33be9b;this[_0x433d4f(0x2fd)](_0x4b4c2d,_0x489447)[_0x433d4f(0x22c)](_0x5bd0d3,_0x329ec1);}[_0x33be9b(0x334)](_0x4958ad,_0xb83302,_0x4bd077){const _0x4710c0=_0x33be9b;var _0xd9c2d0,_0x3402e3,_0x1dcd2b,_0x402a71;((_0x3402e3=(_0xd9c2d0=this['_model'][_0x4710c0(0x2ab)](_0x4958ad))==null?void 0x0:_0xd9c2d0[_0x4710c0(0x2ab)](_0xb83302))==null?void 0x0:_0x3402e3[_0x4710c0(0x2ab)](_0x4bd077))&&((_0x402a71=(_0x1dcd2b=this[_0x4710c0(0x385)]['get'](_0x4958ad))==null?void 0x0:_0x1dcd2b['get'](_0xb83302))==null||_0x402a71[_0x4710c0(0x220)](_0x4bd077));}[_0x33be9b(0x2d5)](_0x594b9b,_0x392b11){const _0x4be41b=_0x33be9b;this['_pivotTableInstanceCache'][_0x4be41b(0x22c)](_0x594b9b,_0x392b11);}[_0x33be9b(0x1be)](_0x277cd2){const _0x3c5f89=_0x33be9b;this[_0x3c5f89(0x283)]['delete'](_0x277cd2);}[_0x33be9b(0x245)](_0x107a45,_0x2c9d0f){const _0x1b25ec=_0x33be9b;let _0x5e3dc7=this[_0x1b25ec(0x30c)][_0x1b25ec(0x2ab)](_0x107a45);_0x5e3dc7||(_0x5e3dc7=new Map(),this[_0x1b25ec(0x30c)][_0x1b25ec(0x22c)](_0x107a45,_0x5e3dc7));let _0xc49db2=_0x5e3dc7[_0x1b25ec(0x2ab)](_0x2c9d0f);return _0xc49db2||(_0xc49db2=new Map(),_0x5e3dc7[_0x1b25ec(0x22c)](_0x2c9d0f,_0xc49db2)),_0xc49db2;}['updateConfig'](_0x2aaffc){const _0x4dfb2c=_0x33be9b,{unitId:_0x2d1bcf,subUnitId:_0xda1dec,pivotTableId:_0x315034,pivotTableConfig:_0x2a31df,collectionConfig:_0x4ed07c}=_0x2aaffc,_0x40398c={'unitId':_0x2d1bcf,'subUnitId':_0xda1dec,'oldSubUnitId':_0xda1dec,'pivotTableId':_0x315034,'pivotTableConfig':_0x2a31df,'collectionConfig':_0x4ed07c};this[_0x4dfb2c(0x24a)][_0x4dfb2c(0x1e2)](co['id'],_0x40398c,{'onlyLocal':!0x0});}[_0x33be9b(0x3f0)](_0x1e4c93,_0x3ce28c,_0x1a0b83,_0x36b271,_0x4866cd,_0x1c17ae,_0x37fee8,_0x43f383=!0x1){const _0x1aaa0a=_0x33be9b;var _0x21bb6c;this[_0x1aaa0a(0x24a)][_0x1aaa0a(0x1e2)](Dt['id'],{'single':{'unitId':_0x1e4c93,'subUnitId':_0x3ce28c,'type':_0x1a0b83,'pivotTableId':_0x36b271,'view':_0x4866cd,'pivotConfig':_0x1c17ae},'collectionConfig':{[_0x1e4c93]:_0x37fee8}},{'onlyLocal':!0x0});const _0x31fb3c=!!((_0x21bb6c=this[_0x1aaa0a(0x338)](_0x36b271))!=null&&_0x21bb6c[_0x1aaa0a(0x400)]()),_0x9c2107=this[_0x1aaa0a(0x218)](_0x1e4c93,_0x3ce28c,_0x36b271);_0x9c2107&&this[_0x1aaa0a(0x359)]({'view':_0x4866cd,'pivotTableId':_0x36b271,'textInfo':this[_0x1aaa0a(0x337)](),'isEmpty':_0x31fb3c,'targetCellInfo':_0x9c2107[_0x1aaa0a(0x3df)]},_0x43f383);}[_0x33be9b(0x359)](_0x428355,_0x21586d){const _0x585df7=_0x33be9b,{targetCellInfo:_0x2168ef,pivotTableId:_0x2f67f3}=_0x428355,{unitId:_0x1393a8,subUnitId:_0x122e41}=_0x2168ef,_0x1fc1cb=this[_0x585df7(0x245)](_0x1393a8,_0x122e41),_0xc954f1=_0x1fc1cb['get'](_0x2f67f3);let _0x3f4094,_0x57f321;_0xc954f1&&(_0x3f4094=_0xc954f1['rangeCache'],_0x57f321=_0xc954f1['matrix']);const {rangesCache:_0x3c0b17,matrix:_0x2647cf}=Fi(_0x428355);_0x1fc1cb[_0x585df7(0x22c)](_0x2f67f3,{'rangeCache':_0x3c0b17,'matrix':_0x2647cf,'oldMatrix':_0x57f321,'oldRangeCache':_0x3f4094}),_0x21586d||this['_viewData$'][_0x585df7(0x249)]({'unitId':_0x1393a8,'subUnitId':_0x122e41,'pivotTableId':_0x2f67f3});}[_0x33be9b(0x2fc)](_0x53ffcb,_0x2834d5,_0x513827,_0x156426,_0xf1ec68){const _0x124c04=_0x33be9b;this[_0x124c04(0x36a)](_0x53ffcb,_0x2834d5,_0x513827,_0xf1ec68),this[_0x124c04(0x2d5)](_0x513827,_0x156426);}[_0x33be9b(0x3c6)](_0x1a14c3,_0x50ba60,_0x1aaa7f){const _0x55387c=_0x33be9b,_0x18c638=this[_0x55387c(0x347)](_0x1a14c3);_0x18c638['getNoUsedDataFieldIds'](_0x1aaa7f)[_0x55387c(0x267)](_0x10ca3c=>{_0x18c638['deleteDataField'](_0x10ca3c);}),this[_0x55387c(0x275)](_0x1a14c3,_0x1aaa7f),this['_deleteModelCache'](_0x1a14c3,_0x50ba60,_0x1aaa7f),this[_0x55387c(0x1be)](_0x1aaa7f);}[_0x33be9b(0x34f)](_0x37741a,_0x2ef40a,_0x516b8d,_0x2def48){this['_updateModelCache'](_0x37741a,_0x2ef40a,_0x516b8d,_0x2def48);}[_0x33be9b(0x218)](_0x499ab0,_0x30a171,_0x95485c){const _0x337ec1=_0x33be9b;var _0x5c5137,_0x2f88d1;const _0x134a1f=(_0x2f88d1=(_0x5c5137=this['_model']['get'](_0x499ab0))==null?void 0x0:_0x5c5137[_0x337ec1(0x2ab)](_0x30a171))==null?void 0x0:_0x2f88d1['get'](_0x95485c);if(_0x134a1f)return _0x134a1f;}['getPivotTableModelConfig'](_0xafe822,_0x3da40b,_0x50f250){const _0x3c49dc=_0x33be9b;var _0x2f54eb,_0x262dfd;const _0x1cd83b=(_0x262dfd=(_0x2f54eb=this['_model'][_0x3c49dc(0x2ab)](_0xafe822))==null?void 0x0:_0x2f54eb[_0x3c49dc(0x2ab)](_0x3da40b))==null?void 0x0:_0x262dfd['get'](_0x50f250);if(_0x1cd83b)return _0x1cd83b[_0x3c49dc(0x29f)];}[_0x33be9b(0x338)](_0x21505d){const _0x5992fa=_0x33be9b;return this[_0x5992fa(0x283)]['get'](_0x21505d);}[_0x33be9b(0x415)](_0x520b74){const _0x43c8f3=_0x33be9b;this[_0x43c8f3(0x385)][_0x43c8f3(0x220)](_0x520b74);const _0x1c8bc8=this['_dataFieldManagerCollection'][_0x43c8f3(0x2ab)](_0x520b74);_0x1c8bc8&&(_0x1c8bc8[_0x43c8f3(0x2f5)](),this[_0x43c8f3(0x29b)][_0x43c8f3(0x220)](_0x520b74)),this[_0x43c8f3(0x30c)][_0x43c8f3(0x220)](_0x520b74),this[_0x43c8f3(0x286)][_0x43c8f3(0x267)](_0x39d8b=>{const _0x3004ac=_0x43c8f3;_0x39d8b[_0x3004ac(0x415)](_0x520b74);});}[_0x33be9b(0x1cf)](_0x5afb01,_0x155e5e,_0x5be12a,_0x4737e1){const _0x5eb285=_0x33be9b;return this[_0x5eb285(0x347)](_0x5be12a[_0x5eb285(0x35a)])[_0x5eb285(0x1cf)](_0x5afb01,_0x155e5e,_0x5be12a,_0x4737e1);}[_0x33be9b(0x2c9)](_0x42773a){const _0xedff70=_0x33be9b;return this['getDataFieldManager'](_0x42773a[_0xedff70(0x35a)])[_0xedff70(0x2c9)](_0x42773a);}[_0x33be9b(0x1f2)](_0x5d30dc,_0x4d7543,_0x35fe21){const _0x5e87f5=_0x33be9b;this['getDataFieldManager'](_0x35fe21[_0x5e87f5(0x35a)])['refreshData'](_0x5d30dc,_0x4d7543,_0x35fe21);}['removeDataField'](_0x3d386e,_0x439ced){const _0x43f133=_0x33be9b;this[_0x43f133(0x347)](_0x3d386e)[_0x43f133(0x1b2)](_0x439ced);}[_0x33be9b(0x275)](_0x27b759,_0x4b3c92){this['getDataFieldManager'](_0x27b759)['removeCollectionImp'](_0x4b3c92);}[_0x33be9b(0x1d0)](_0x2bad10,_0x333c23){const _0x58b4bc=_0x33be9b;var _0x1debf2;return(_0x1debf2=this[_0x58b4bc(0x385)]['get'](_0x2bad10))==null?void 0x0:_0x1debf2['get'](_0x333c23);}[_0x33be9b(0x1cb)](_0x3fa8f1){const _0x1834df=_0x33be9b;for(const [_0x18a247,_0x3000bc]of this[_0x1834df(0x385)][_0x1834df(0x386)]())for(const [_0x74249a,_0x182286]of _0x3000bc[_0x1834df(0x386)]())if(_0x182286[_0x1834df(0x31f)](_0x3fa8f1))return{'unitId':_0x18a247,'subUnitId':_0x74249a};return null;}['sideEffectUpdateWorkerCache'](_0x5d86cd,_0x14146e,_0x252c6c,_0x9accd8){const _0x4d9de9=_0x33be9b,_0x593226=this[_0x4d9de9(0x245)](_0x5d86cd,_0x14146e);_0x9accd8?_0x593226[_0x4d9de9(0x22c)](_0x252c6c,_0x9accd8):_0x593226[_0x4d9de9(0x220)](_0x252c6c),this[_0x4d9de9(0x303)][_0x4d9de9(0x249)]({'unitId':_0x5d86cd,'subUnitId':_0x14146e,'pivotTableId':_0x252c6c});}[_0x33be9b(0x2f5)](){super['dispose']();}[_0x33be9b(0x2de)](_0xdaceb0,_0x5ce6e7,_0x19eb81){const _0x4d211f=_0x33be9b;var _0x5aa0e1,_0x530fa8;const _0x121e90=(_0x530fa8=(_0x5aa0e1=this[_0x4d211f(0x30c)][_0x4d211f(0x2ab)](_0xdaceb0))==null?void 0x0:_0x5aa0e1[_0x4d211f(0x2ab)](_0x5ce6e7))==null?void 0x0:_0x530fa8[_0x4d211f(0x2ab)](_0x19eb81);return _0x121e90||null;}[_0x33be9b(0x2b6)](_0x58f471){const _0xb03798=_0x33be9b;this[_0xb03798(0x41f)](_0x58f471);}[_0x33be9b(0x41f)](_0xa83a9d){const _0x2b22ab=_0x33be9b,{token:_0x5e8a11,unitId:_0x32035b,subUnitId:_0x536d89}=_0xa83a9d,_0x87d03e=_0x32035b+'-'+_0x536d89+'-'+_0x5e8a11;this['_queryingMap'][_0x2b22ab(0x2ab)](_0x87d03e)&&clearTimeout(this[_0x2b22ab(0x1e3)]['get'](_0x87d03e));const _0x1ad62d=setTimeout(()=>{const _0x3a3c72=_0x2b22ab;this[_0x3a3c72(0x296)](_0xa83a9d),this[_0x3a3c72(0x1e3)]['delete'](_0x87d03e);},Si);this['_queryingMap'][_0x2b22ab(0x22c)](_0x87d03e,_0x1ad62d);}[_0x33be9b(0x296)](_0x56d1c7){const _0x37e432=_0x33be9b,{unitId:_0x3f988b,subUnitId:_0x272aa6,token:_0x238520,type:_0x13c898,pivotConfig:_0x217bb5}=_0x56d1c7,_0x420226=this[_0x37e432(0x338)](_0x238520),_0x131c34=_0x420226==null?void 0x0:_0x420226[_0x37e432(0x312)](),_0xa4b855=_0x217bb5!=null?_0x217bb5:this[_0x37e432(0x218)](_0x3f988b,_0x272aa6,_0x238520);_0xa4b855&&(_0xa4b855[_0x37e432(0x400)]=!!(_0x420226!=null&&_0x420226[_0x37e432(0x400)]())),(_0x131c34||_0x13c898===B[_0x37e432(0x21b)])&&this['updateView'](_0x3f988b,_0x272aa6,_0x13c898,_0x238520,_0x131c34,_0xa4b855,this[_0x37e432(0x347)](_0x3f988b)[_0x37e432(0x3c8)]());}[_0x33be9b(0x3c8)](_0x251a79){const _0x3e18bd=_0x33be9b,_0x43c68a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x251a79)&&(_0x43c68a[_0x3e18bd(0x2c3)][_0x251a79]=this[_0x3e18bd(0x347)](_0x251a79)[_0x3e18bd(0x3c8)]()),this[_0x3e18bd(0x385)][_0x3e18bd(0x2ab)](_0x251a79)){_0x43c68a[_0x3e18bd(0x30d)][_0x251a79]={};const _0x4ae435=this['_model'][_0x3e18bd(0x2ab)](_0x251a79);_0x4ae435!=null&&_0x4ae435[_0x3e18bd(0x356)]&&[..._0x4ae435[_0x3e18bd(0x280)]()]['forEach'](_0x365c90=>{const _0x382f1a=_0x3e18bd,_0x37ded7=_0x4ae435[_0x382f1a(0x2ab)](_0x365c90);_0x37ded7!=null&&_0x37ded7[_0x382f1a(0x356)]&&(_0x43c68a[_0x382f1a(0x30d)][_0x251a79][_0x365c90]={},[..._0x37ded7[_0x382f1a(0x280)]()]['forEach'](_0xe94a51=>{const _0x29e845=_0x382f1a,_0x2d72b7=_0x37ded7['get'](_0xe94a51);_0x2d72b7&&(_0x43c68a[_0x29e845(0x30d)][_0x251a79][_0x365c90][_0xe94a51]=_0x2d72b7);}));});}return _0x43c68a;}[_0x33be9b(0x269)](_0x473d6d){const _0x2c1ed9=_0x33be9b;var _0x3c4212;const {dataFieldManagerConfig:_0x2f7614,pivotTableConfigs:_0x41d305}=_0x473d6d;_0x2f7614&&Object[_0x2c1ed9(0x280)](_0x2f7614)[_0x2c1ed9(0x267)](_0x206805=>{const _0x5a96f7=_0x2c1ed9;this[_0x5a96f7(0x347)](_0x206805)[_0x5a96f7(0x269)](_0x2f7614[_0x206805]);});const _0x46d607=[];if(_0x41d305){const _0x172ed2=(_0x3c4212=this[_0x2c1ed9(0x3bb)][_0x2c1ed9(0x2ab)](_0x81aaa3)[_0x2c1ed9(0x1e7)](_0x360605))!=null?_0x3c4212:{},{ls:_0x5a79da,pbk:_0x44efdf}=_0x172ed2,_0x340e04=go(so,_0x5a79da,_0x44efdf)[_0x2c1ed9(0x3b1)];Object['keys'](_0x41d305)[_0x2c1ed9(0x267)](_0x259a71=>{const _0x4efbbd=_0x2c1ed9;let _0x3f9a2e=0x0;const _0x2651ec=_0x41d305[_0x259a71];Object[_0x4efbbd(0x280)](_0x2651ec)[_0x4efbbd(0x267)](_0x3789df=>{const _0x594d4a=_0x4efbbd,_0x300fe3=_0x2651ec[_0x3789df];Object[_0x594d4a(0x280)](_0x300fe3)[_0x594d4a(0x267)](_0x4f777e=>{const _0x47c472=_0x594d4a,_0x275833=_0x300fe3[_0x4f777e];if(_0x275833){if(_0x3f9a2e>=_0x340e04)return;_0x3f9a2e++;const _0x594941=this[_0x47c472(0x347)](_0x259a71),_0xbe16cd=_0x594941['collections'][_0x4f777e],_0x139031=_0xbe16cd[_0x47c472(0x3af)]();let _0x1eb8a6=0x0;const _0x385592=[];for(const _0x17e111 of _0x139031){const _0x3458da=_0xbe16cd[_0x47c472(0x40e)](_0x17e111);if(_0x3e3dfa(_0x3458da)){const _0x383791=_0x3458da['getOriginFieldId'](),_0xe1a816=_0xbe16cd[_0x47c472(0x40e)](_0x383791);_0xe1a816&&_0x385592[_0x47c472(0x391)]([_0x3458da,_0xe1a816]);continue;}_0x594941[_0x47c472(0x383)](_0x17e111,_0x275833[_0x47c472(0x3d1)],_0x1eb8a6),_0x1eb8a6++;}_0x385592[_0x47c472(0x267)](([_0x9fd9cf,_0xa7c813])=>{const _0x66908a=_0x47c472;_0x9fd9cf[_0x66908a(0x307)](_0xa7c813);});const _0x20173e=new _0x4481fc(_0xbe16cd);_0x20173e[_0x47c472(0x269)](_0x275833[_0x47c472(0x29f)]),this[_0x47c472(0x2fc)](_0x259a71,_0x3789df,_0x4f777e,_0x20173e,_0x275833);const _0x945287=_0x20173e[_0x47c472(0x312)]();_0x46d607[_0x47c472(0x391)]({'unitId':_0x259a71,'subUnitId':_0x3789df,'pivotTableId':_0x4f777e,'view':_0x945287[_0x47c472(0x3c8)](),'pivotConfig':_0x275833,'type':B['Add']});const _0x42ea0c=!!_0x20173e['isEmpty'](),_0x4fefc6={'view':_0x945287,'pivotTableId':_0x4f777e,'textInfo':this[_0x47c472(0x337)](),'isEmpty':_0x42ea0c,'targetCellInfo':_0x275833[_0x47c472(0x3df)]};this['updateViewData'](_0x4fefc6,!0x1);}});});});}_0x2f7614&&Object[_0x2c1ed9(0x280)](_0x2f7614)['forEach'](_0x4d7d69=>{const _0x2715fb=_0x2c1ed9,_0x2ea56c=this['getDataFieldManager'](_0x4d7d69);this[_0x2715fb(0x1ae)][_0x2715fb(0x249)](_0x2ea56c[_0x2715fb(0x382)]);}),this['_commandService']['executeCommand'](Dt['id'],{'batch':_0x46d607,'collectionConfig':_0x2f7614},{'onlyLocal':!0x0});}[_0x33be9b(0x255)](){const _0x32a670=_0x33be9b;this[_0x32a670(0x403)](this[_0x32a670(0x3ad)]['registerPluginResource']({'toJson':_0x10890c=>JSON[_0x32a670(0x1d5)](this['toJSON'](_0x10890c)),'parseJson':_0x215eb7=>{if(!_0x215eb7)return{};try{return JSON['parse'](_0x215eb7);}catch{return{};}},'businesses':[_0x266163[_0x32a670(0x2e5)]],'pluginName':ao,'onLoad':(_0x4a447e,_0xef5182)=>{const _0x3d97ca=_0x32a670;this[_0x3d97ca(0x269)](_0xef5182);},'onUnLoad':_0x23f438=>{const _0x46670c=_0x32a670;this[_0x46670c(0x415)](_0x23f438);}}));}};$=Ni([nt(0x0,_0x19db7d(_0x102d22)),nt(0x1,_0x19012d),nt(0x2,_0x19db7d(_0x2f771f)),nt(0x3,_0x5666d8),nt(0x4,_0x19db7d(_0x3dab39))],$);const Ui={0x0:{0x0:{'v':_0x33be9b(0x33c),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x33be9b(0x297),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x8:{0x0:{'v':_0x33be9b(0x3ff),'s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':_0x33be9b(0x29c),'s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}}},Jt={'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=(_0x323bc7,_0x2471c4)=>{const _0x147a82=_0x33be9b,_0x499725=new _0x2f7a34(),_0x258236=new _0x2f7a34(Ui),{row:_0x3eceef,col:_0x1560ed}=_0x2471c4;_0x258236[_0x147a82(0x29e)]((_0x47f75d,_0x425553,_0x334b42)=>{const _0x4c977a=_0x147a82;let _0x4b748d='';_0x334b42['v']==='filter'?_0x4b748d=_0x323bc7[_0x4c977a(0x33c)]:_0x334b42['v']===_0x4c977a(0x3ff)?_0x4b748d=_0x323bc7[_0x4c977a(0x3ff)]:_0x334b42['v']===_0x4c977a(0x297)?_0x4b748d=_0x323bc7[_0x4c977a(0x297)]:_0x334b42['v']===_0x4c977a(0x29c)&&(_0x4b748d=_0x323bc7['values']),_0x499725[_0x4c977a(0x1bc)](_0x47f75d+_0x3eceef,_0x425553+_0x1560ed,{..._0x334b42,'v':_0x4b748d});});const _0x309e2e=_0x28e9d0['deepClone'](Jt);return Object[_0x147a82(0x280)](Jt)[_0x147a82(0x267)](_0x679bb6=>{const _0x4ddc0d=_0x147a82;_0x309e2e[_0x679bb6]=Jt[_0x679bb6][_0x4ddc0d(0x3a2)](_0x464faa=>({..._0x464faa,'startRow':_0x464faa[_0x4ddc0d(0x3ec)]+_0x3eceef,'endRow':_0x464faa[_0x4ddc0d(0x34c)]+_0x3eceef,'startColumn':_0x464faa['startColumn']+_0x1560ed,'endColumn':_0x464faa[_0x4ddc0d(0x367)]+_0x1560ed}));}),{'matrixCache':_0x499725,'rangesCache':_0x309e2e};};function Vi(_0x171808,_0x1308b1){const _0x300546=_0x33be9b;let _0x31446a='';const _0x4106ae=this[_0x300546(0x337)]();switch(_0x1308b1){case _0x45e58d[_0x300546(0x3c0)]:_0x31446a=_0x4106ae['sheets-pivot.averageName']+_0x171808;break;case _0x45e58d[_0x300546(0x3b1)]:_0x31446a=_0x4106ae[_0x300546(0x35d)]+_0x171808;break;case _0x45e58d['countNums']:_0x31446a=_0x4106ae[_0x300546(0x38c)]+_0x171808;break;case _0x45e58d['max']:_0x31446a=_0x4106ae['sheets-pivot.maxName']+_0x171808;break;case _0x45e58d[_0x300546(0x1ac)]:_0x31446a=_0x4106ae['sheets-pivot.minName']+_0x171808;break;case _0x45e58d[_0x300546(0x1c6)]:_0x31446a=_0x4106ae[_0x300546(0x37f)]+_0x171808;break;case _0x45e58d[_0x300546(0x266)]:_0x31446a=_0x4106ae[_0x300546(0x3a6)]+_0x171808;break;case _0x45e58d[_0x300546(0x1b6)]:_0x31446a=_0x4106ae[_0x300546(0x3db)]+_0x171808;break;case _0x45e58d[_0x300546(0x3eb)]:_0x31446a=_0x4106ae['sheets-pivot.sumName']+_0x171808;break;case _0x45e58d['var']:_0x31446a=_0x4106ae[_0x300546(0x3e6)]+_0x171808;break;case _0x45e58d[_0x300546(0x3d8)]:_0x31446a=_0x4106ae[_0x300546(0x1fd)]+_0x171808;break;default:_0x31446a=_0x171808;break;}return _0x31446a;}function Ei(_0x1b0d2d,_0x1b33d8,_0x32fe76,_0x4b06ff,_0x4ab4f4){const _0x226f33=_0x33be9b;var _0x2cfa3d,_0x1b8d06,_0x1ca4e5,_0xe5216a,_0x5a7a52;const _0x441337=_0x3bce79(_0x1b0d2d,_0x1b33d8),{rangesInfo:_0xb18685,areaInfo:_0x37a945,headerMap:_0x340797}=_0x4ab4f4;if(!_0xb18685||!_0x37a945||!_0x340797)return;const _0x34ac8e=Object[_0x226f33(0x280)](_0xb18685)[_0x226f33(0x29a)](_0x1c4c77=>_0xb18685[_0x1c4c77][_0x226f33(0x1a9)](_0x22e137=>_0x6c5d65[_0x226f33(0x41b)](_0x22e137,_0x441337))),_0x4443b1=_0x37a945;let _0x298559,_0x1c1a52,_0x241461;if(_0x34ac8e===_0x226f33(0x32d))_0x298559=(_0x2cfa3d=_0x4443b1==null?void 0x0:_0x4443b1[_0x226f33(0x23f)])==null?void 0x0:_0x2cfa3d[_0x1b0d2d],_0x1c1a52=(_0x1b8d06=_0x340797==null?void 0x0:_0x340797[_0x226f33(0x39a)])==null?void 0x0:_0x1b8d06[_0x1b33d8],_0x241461=_0x1c1a52==null?void 0x0:_0x1c1a52['tableFieldId'];else{if(_0x34ac8e===_0x226f33(0x1e8))_0x298559=(_0x1ca4e5=_0x4443b1==null?void 0x0:_0x4443b1[_0x226f33(0x375)])==null?void 0x0:_0x1ca4e5[_0x1b33d8],_0x1c1a52=(_0xe5216a=_0x340797['colHeaderMap'])==null?void 0x0:_0xe5216a[_0x1b0d2d+0x1+_0x1b33d8-_0xb18685[_0x226f33(0x1e8)][0x0][_0x226f33(0x24e)]],_0x241461=_0x1c1a52==null?void 0x0:_0x1c1a52[_0x226f33(0x3a3)];else{if(_0x34ac8e===_0x226f33(0x264))_0x298559=(_0x5a7a52=_0x4443b1==null?void 0x0:_0x4443b1[_0x226f33(0x22d)])==null?void 0x0:_0x5a7a52[_0x1b33d8],_0x241461=_0x298559==null?void 0x0:_0x298559[_0x226f33(0x3a3)];else{if(_0x34ac8e===_0x226f33(0x204)){const _0x4e5519=_0x32fe76==null?void 0x0:_0x32fe76['fi'];_0x4e5519!==void 0x0&&(_0x241461=_0x4b06ff[_0x226f33(0x1f4)](_0x4e5519));}}}}return{'filterId':_0x241461,'info':_0x298559,'data':_0x32fe76,'headerInfo':_0x1c1a52};}function Ai(_0x4be979,_0x22b1a2,_0x40268c){const _0x37593e=_0x33be9b,_0x3bff1e=_0x4be979[_0x37593e(0x3fe)],_0x3326d8=_0x3bff1e[_0x37593e(0x3af)](),_0x422c29=new Set();_0x4be979[_0x37593e(0x261)](_0x5728a8=>{const _0x518e81=_0x37593e;_0x422c29[_0x518e81(0x3d0)](_0x5728a8[_0x518e81(0x2ec)]);});const _0x409ee5=_0x3326d8[_0x37593e(0x3a2)](_0x4ca77d=>{const _0x1638df=_0x37593e,_0x2f990a=_0x3bff1e[_0x1638df(0x40e)](_0x4ca77d);return{'checked':_0x422c29[_0x1638df(0x31f)](_0x4ca77d),'dataFieldId':_0x2f990a['id'],'id':_0x2f990a['id'],'name':_0x3bff1e[_0x1638df(0x32b)](_0x2f990a['id']),'type':_0x2f990a['getFieldDataType'](),'pivotTableId':_0x22b1a2};}),_0x22ad21=[];_0x4be979[_0x37593e(0x239)](_0x3da3e9[_0x37593e(0x2aa)],_0x4fbde1=>{const _0xe02fc=_0x37593e;_0x22ad21[_0xe02fc(0x391)]({'dataFieldId':_0x4fbde1[_0xe02fc(0x2ec)],'tableFieldId':_0x4fbde1['getId'](),'displayName':_0x4fbde1[_0xe02fc(0x32b)]()});});const _0x2e3143=[];_0x4be979[_0x37593e(0x239)](_0x3da3e9[_0x37593e(0x2be)],_0x4d2d84=>{const _0xf86732=_0x37593e;_0x2e3143['push']({'dataFieldId':_0x4d2d84[_0xf86732(0x2ec)],'tableFieldId':_0x4d2d84[_0xf86732(0x333)](),'displayName':_0x4d2d84[_0xf86732(0x32b)]()});});const _0x32b823=[];if(_0x4be979[_0x37593e(0x239)](_0x3da3e9[_0x37593e(0x3ee)],_0x27564f=>{const _0x27a9bf=_0x37593e;_0x32b823['push']({'dataFieldId':_0x27564f[_0x27a9bf(0x2ec)],'tableFieldId':_0x27564f[_0x27a9bf(0x333)](),'displayName':_0x27564f['getDisplayName'](),'format':_0x27564f[_0x27a9bf(0x22f)](),'subTotalType':_0x27564f[_0x27a9bf(0x217)]()});}),_0x32b823[_0x37593e(0x276)]>0x1){const _0x9e91d5=_0x4be979[_0x37593e(0x242)]();(_0x4be979[_0x37593e(0x2fa)]()?_0x2e3143:_0x22ad21)['splice'](_0x9e91d5,0x0,{'dataFieldId':'','tableFieldId':_0x37593e(0x1f1),'displayName':_0x37593e(0x350)});}const _0x4601b8=[];_0x4be979[_0x37593e(0x239)](_0x3da3e9[_0x37593e(0x291)],_0x5b3285=>{const _0x377644=_0x37593e;_0x4601b8[_0x377644(0x391)]({'dataFieldId':_0x5b3285['dataFieldId'],'tableFieldId':_0x5b3285[_0x377644(0x333)](),'displayName':_0x5b3285[_0x377644(0x32b)]()});});const _0x532ac9=_0x40268c['sourceRangeInfo'];return{'sourceList':_0x409ee5,'sourceRange':_0x532ac9,'rowFields':_0x22ad21,'columnFields':_0x2e3143,'valueFields':_0x32b823,'filterFields':_0x4601b8,'positionInfo':_0x40268c[_0x37593e(0x3df)]};}function fo(_0x3afe1d,_0x11ba60,_0x2803e1='',_0x2d169e={}){const _0x421512=_0x33be9b,_0x427fe6=_0x3afe1d['get'](_0x25ac2f);for(const _0xdf0262 in _0x11ba60)if(Object[_0x421512(0x32a)][_0x421512(0x2f6)][_0x421512(0x392)](_0x11ba60,_0xdf0262)){const _0x575984=_0x2803e1?_0x2803e1+'.'+_0xdf0262:_0xdf0262;typeof _0x11ba60[_0xdf0262]==_0x421512(0x246)&&_0x11ba60[_0xdf0262]!==null&&!Array[_0x421512(0x41c)](_0x11ba60[_0xdf0262])?fo(_0x3afe1d,_0x11ba60[_0xdf0262],_0x575984,_0x2d169e):_0x2d169e[_0x575984]=_0x427fe6['t'](_0x575984);}return _0x2d169e;}const Bt=_0x5cc924=>{const _0x204c33=_0x33be9b;if(!_0x5cc924)return[];const {rowRanges:_0x2d4c05,colRanges:_0x1fe79a,cornerRanges:_0x53e9c2,dataRanges:_0xd942da,pageRanges:_0x3b88dc}=_0x5cc924,_0x4906d8=[..._0x1fe79a,..._0x2d4c05,..._0xd942da,..._0x53e9c2][_0x204c33(0x33c)](_0x3d3d48=>_0x3d3d48['startRow']>=0x0&&_0x3d3d48[_0x204c33(0x24e)]>=0x0&&_0x3d3d48['endRow']>=0x0&&_0x3d3d48[_0x204c33(0x367)]>=0x0);let _0x57c974=Number[_0x204c33(0x1ee)],_0x2858ef=Number[_0x204c33(0x327)],_0x6da634=Number[_0x204c33(0x1ee)],_0x3366a4=Number[_0x204c33(0x327)];for(let _0x19c8b4=0x0;_0x19c8b4<_0x4906d8['length'];_0x19c8b4++)_0x57c974=Math[_0x204c33(0x1ac)](_0x57c974,_0x4906d8[_0x19c8b4][_0x204c33(0x3ec)]),_0x2858ef=Math[_0x204c33(0x390)](_0x2858ef,_0x4906d8[_0x19c8b4]['endRow']),_0x6da634=Math[_0x204c33(0x1ac)](_0x6da634,_0x4906d8[_0x19c8b4][_0x204c33(0x24e)]),_0x3366a4=Math['max'](_0x3366a4,_0x4906d8[_0x19c8b4]['endColumn']);return[..._0x3b88dc,{'startRow':_0x57c974,'endRow':_0x2858ef,'startColumn':_0x6da634,'endColumn':_0x3366a4}];};function xi(_0x58ac08,_0x3f7533){const _0x445d75=_0x33be9b,_0x4e070a=_0x3f7533[_0x445d75(0x3fd)][_0x445d75(0x1c7)],{pivotTableId:_0x5c239e,unitId:_0x390fce,subUnitId:_0x3dabee}=_0x3f7533;if(!_0x4e070a)return;const _0x44b06d=_0x58ac08[_0x445d75(0x2ab)]($),_0x4b250f=_0x44b06d[_0x445d75(0x338)](_0x5c239e),_0x237b0f=_0x44b06d[_0x445d75(0x218)](_0x390fce,_0x3dabee,_0x5c239e);if(!_0x4b250f||!_0x237b0f)return;const _0x383cb2=_0x4b250f[_0x445d75(0x1f6)](_0x4e070a['tuple']);if(!(_0x383cb2!=null&&_0x383cb2[_0x445d75(0x276)]))return;const _0x1fac3b=_0x237b0f[_0x445d75(0x3d1)],{unitId:_0xeb8323,subUnitId:_0x22237e,range:_0x83de1d}=_0x1fac3b;let _0x56ef85=0x0;const _0x90ca8c=_0x4b250f[_0x445d75(0x3fe)][_0x445d75(0x3af)]()[_0x445d75(0x3fb)]((_0x59ed84,_0x54024b)=>{const _0x1aa2ad=_0x445d75;var _0x96cb72;const _0x2f05b2=(_0x96cb72=_0x4b250f[_0x1aa2ad(0x2d0)](_0x54024b))==null?void 0x0:_0x96cb72[_0x1aa2ad(0x411)]();return _0x2f05b2&&(_0x59ed84[String(_0x56ef85)]=_0x2f05b2),_0x56ef85++,_0x59ed84;},{});return{'indexes':_0x383cb2,'range':_0x83de1d,'sourceUnitId':_0xeb8323,'sourceSubUnitId':_0x22237e,'formatMap':_0x90ca8c};}function jo(_0x1ea579,_0x5acc0d){const _0x123f87=_0x33be9b;if(!_0x1ea579||!_0x5acc0d)return!0x0;const _0x333600=_0x187b11(Go,$o),_0x37b9e8=new Function('return\x20'+_0x333600)()(_0x1ea579,_0x5acc0d)[_0x123f87(0x318)],_0x59e651=_0x516ea5(_0x37b9e8,'sf',Oo);return!((_0x37b9e8==null?void 0x0:_0x37b9e8['rt'])===_0x402668[_0x123f87(0x34e)]&&!_0x59e651);}function go(_0x42fdf6,_0x49061b,_0x381846){const _0x381a17=_0x33be9b,_0x2e87ef={'count':_0x42fdf6,'timeValid':!0x1};if(!_0x49061b||!_0x381846)return _0x2e87ef;const _0xfa730d=_0x187b11(Go,$o),_0x23b9df=new Function(_0x381a17(0x3d3)+_0xfa730d)()(_0x49061b,_0x381846);if(_0x23b9df!=null&&_0x23b9df[_0x381a17(0x3e4)]){const _0x2cd939=_0x23b9df[_0x381a17(0x318)],_0x58ffe7=_0x516ea5(_0x2cd939,'sf',Oo);return{'count':_0x1f4c19(_0x2cd939,_0x58ffe7,_0x381a17(0x221),_0x42fdf6,_0x42fdf6,0x0),'timeValid':_0x58ffe7};}return _0x2e87ef;}function Ko(_0x39d54c,_0x2d032f,_0x1078b5,_0x534bb1){const _0x172204=_0x33be9b,_0x5cd9e6={'subUnitId':_0x1078b5,'unitId':_0x2d032f,'cellValue':_0x23036f(_0x534bb1)},_0x1b514c=_0x20c774(_0x39d54c,_0x5cd9e6);let _0x228b62=!0x1;return new _0x2f7a34(_0x1b514c[_0x172204(0x377)])[_0x172204(0x29e)]((_0x14ed59,_0x18ae68,_0x1297f8)=>{const _0x2b338c=_0x172204;if(!_0x228b62&&_0x1297f8&&(_0x1297f8[_0x2b338c(0x24b)]||_0x1297f8['f']||_0x1297f8['p']||_0x1297f8['s']||_0x1297f8['si']||_0x1297f8['t']||_0x1297f8['v']))return _0x228b62=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x23812a['id'],'params':_0x1b514c},'setRangeValueRedoMutation':{'id':_0x23812a['id'],'params':_0x5cd9e6},'shouldClear':_0x228b62};}function Oi(_0x4cb99b){const {row:_0x276131,col:_0x2d6547}=_0x4cb99b,_0x582906={'startRow':_0x276131,'endRow':_0x276131,'startColumn':_0x2d6547,'endColumn':_0x2d6547},_0x379a00={'startRow':_0x276131+0x2,'endRow':_0x276131+0xe,'startColumn':_0x2d6547,'endColumn':_0x2d6547+0x6};return[_0x582906,_0x379a00];}function Li(_0x4e685b,_0x1868ed,_0x25772e){const _0x1915a4=_0x33be9b,{cornerView:_0x48b43a,rowView:_0x5816ac,colView:_0x342860,pageView:_0x44f4b3}=_0x4e685b,{row:_0x12bc6c,col:_0x5e8d6d}=_0x1868ed;if(_0x25772e)return{'rowCount':Ci+_0x12bc6c,'colCount':bi+_0x5e8d6d};const _0x100b59=_0x44f4b3[_0x1915a4(0x311)]>-0x1?_0x44f4b3[_0x1915a4(0x311)]+0x1:0x0,_0x31423b=_0x44f4b3[_0x1915a4(0x310)]>-0x1?_0x44f4b3[_0x1915a4(0x310)]:0x0,_0x187049=_0x12bc6c+_0x100b59+(_0x100b59?0x1:0x0)+_0x48b43a[_0x1915a4(0x1b5)]+_0x5816ac[_0x1915a4(0x1b5)],_0x59b0f2=_0x5e8d6d+_0x31423b,_0x1de919=_0x5e8d6d+_0x48b43a[_0x1915a4(0x2a6)]+_0x342860[_0x1915a4(0x2a6)],_0x8992b9=Math[_0x1915a4(0x390)](_0x59b0f2,_0x1de919);return{'rowCount':_0x187049,'colCount':_0x8992b9};}function we(_0x5d44d2,_0x4dc1b2,_0xeb5480,_0x488bdf){const _0x3d2a31=_0x33be9b,{row:_0x370fa9,col:_0x2afe4d,unitId:_0x6d5358,subUnitId:_0x261693}=_0xeb5480,_0x506327=Li(_0x4dc1b2,{'row':_0x370fa9,'col':_0x2afe4d},_0x488bdf),_0x3be2dc=_0x5d44d2['get'](_0x19012d),_0x5dbfd7=_0x21e513(_0x3be2dc,{'unitId':_0x6d5358,'subUnitId':_0x261693}),_0x5044ee=[],_0x5efa52=[];if(!_0x5dbfd7)return{'undos':_0x5efa52,'redos':_0x5044ee};const {worksheet:_0x2ed810}=_0x5dbfd7,_0x51e69a=_0x2ed810[_0x3d2a31(0x27e)](),_0x4f108c=_0x2ed810['getColumnCount']();return _0x51e69a<_0x506327[_0x3d2a31(0x1b5)]&&(_0x5044ee[_0x3d2a31(0x391)]({'id':_0x4fb832['id'],'params':{'unitId':_0x6d5358,'subUnitId':_0x261693,'range':{'startRow':_0x51e69a,'endRow':_0x506327[_0x3d2a31(0x1b5)]-0x1,'startColumn':0x0,'endColumn':_0x4f108c-0x1}}}),_0x5efa52[_0x3d2a31(0x391)]({'id':_0x70574f['id'],'params':{'unitId':_0x6d5358,'subUnitId':_0x261693,'range':{'startRow':_0x51e69a,'endRow':_0x506327[_0x3d2a31(0x1b5)]-0x1,'startColumn':0x0,'endColumn':_0x4f108c-0x1}}})),_0x4f108c<_0x506327[_0x3d2a31(0x2a6)]&&(_0x5044ee[_0x3d2a31(0x391)]({'id':_0x343660['id'],'params':{'unitId':_0x6d5358,'subUnitId':_0x261693,'range':{'startRow':0x0,'endRow':_0x51e69a-0x1,'startColumn':_0x4f108c,'endColumn':_0x506327[_0x3d2a31(0x2a6)]-0x1}}}),_0x5efa52[_0x3d2a31(0x391)]({'id':_0x84b4b1['id'],'params':{'unitId':_0x6d5358,'subUnitId':_0x261693,'range':{'startRow':0x0,'endRow':_0x51e69a-0x1,'startColumn':_0x4f108c,'endColumn':_0x506327['colCount']-0x1}}})),{'undos':_0x5efa52,'redos':_0x5044ee};}function ki(_0x48de77){const _0x99d7c2=_0x33be9b;let _0x5ab288=0x0;for(let _0x197b46=0x0;_0x197b46<_0x48de77['length'];_0x197b46++){const _0x3d5af3=_0x48de77[_0x99d7c2(0x200)](_0x197b46);_0x3d5af3>=0x4e00&&_0x3d5af3<=0x9fff||_0x3d5af3>=0x3000&&_0x3d5af3<=0x303f||_0x3d5af3>=0xff00&&_0x3d5af3<=0xffef?_0x5ab288+=0x2:_0x5ab288+=0x1;}return _0x5ab288;}function To(_0x397675,_0xdfe22e,_0x3d3bf1,_0x52d2da){const _0x68777b=_0x33be9b;var _0x4f23be,_0x41569a,_0x420e84,_0x32f5ab;const {rowCount:_0x488e0d,colCount:_0x203841,headerMap:_0x317148}=_0x397675,_0x167033=0x64,_0x4ae1b6=Math[_0x68777b(0x1ac)](_0x488e0d,_0x167033),_0x4ba81c=Math['min'](_0x203841,_0x167033);let _0x4960bd='',_0x3dc2b2=0x0;for(let _0xf81870=0x0;_0xf81870<_0x4ae1b6;_0xf81870++)for(let _0x3e01d4=0x0;_0x3e01d4<_0x4ba81c;_0x3e01d4++){const _0xb9d78e={...(_0x41569a=(_0x4f23be=_0x397675['data'])==null?void 0x0:_0x4f23be[_0xf81870])==null?void 0x0:_0x41569a[_0x3e01d4]},_0x4dee3b=(_0x420e84=_0x317148[_0xf81870])==null?void 0x0:_0x420e84['tableFieldId'],_0x63bf74=_0x52d2da[_0x4dee3b];let _0x2ac0fc=_0x397675[_0x68777b(0x207)](_0xf81870,_0x3e01d4);if(_0xb9d78e){const _0x2a258a=_0x3d3bf1?_0x3e01d4===0x0&&((_0x32f5ab=_0x397675[_0x68777b(0x1a5)](_0x3e01d4+0x1))==null?void 0x0:_0x32f5ab['isValue']):!0x1;_0x2ac0fc=ht(_0xb9d78e,_0x2a258a,_0x63bf74,_0xdfe22e);}if(_0x2ac0fc!==void 0x0){const _0x3a1240=ki(String(_0x2ac0fc));_0x3dc2b2<_0x3a1240&&(_0x4960bd=String(_0x2ac0fc),_0x3dc2b2=_0x3a1240);}}return _0x4960bd;}function Ji(_0x166d7e){const _0x49bb1e=_0x33be9b,{rowCount:_0x577d4a,colCount:_0x5b7b06}=_0x166d7e;let _0x1c4db0='',_0x37bba1=0x0;for(let _0x5a69c2=_0x577d4a-0x1;_0x5a69c2>0x0&&_0x5a69c2>_0x577d4a-0x3;_0x5a69c2--)for(let _0x3d63a3=0x0;_0x3d63a3<_0x5b7b06;_0x3d63a3++){const _0x520f33=_0x166d7e['getValue'](_0x5a69c2,_0x3d63a3);if(_0x520f33!==void 0x0){const _0x45e70b=String(_0x520f33)[_0x49bb1e(0x276)];_0x37bba1<_0x45e70b&&(_0x1c4db0=String(_0x520f33),_0x37bba1=_0x45e70b);}}return _0x1c4db0;}function Bi(_0x449264){const _0x7cbf9=_0x33be9b,{rowCount:_0x23a0d3,colCount:_0x5af130}=_0x449264;let _0x19f955='',_0xb23292=0x0;for(let _0x5b492b=0x0;_0x5b492b<_0x23a0d3;_0x5b492b++)for(let _0x471ea7=0x0;_0x471ea7<_0x5af130;_0x471ea7++){const _0x4575b0=_0x449264[_0x7cbf9(0x207)](_0x5b492b,_0x471ea7);if(_0x4575b0!==void 0x0){const _0x16b3c1=String(_0x4575b0)[_0x7cbf9(0x276)];_0xb23292<_0x16b3c1&&(_0x19f955=String(_0x4575b0),_0xb23292=_0x16b3c1);}}return _0x19f955;}function $i(_0x3e4703,_0x57f480){const _0x4f1a67=_0x33be9b,{rowFields:_0x3984f1,columnFields:_0x319839,valueFields:_0x6442a6,filterFields:_0x28c908,dimension:_0x3d4809,measure:_0x3dc8c2}=_0x57f480;for(const _0x2bea8a of _0x3984f1){const _0x28ab82=_0x3d4809[_0x2bea8a];_0x28ab82&&_0x3e4703[_0x4f1a67(0x2d0)](_0x28ab82[_0x4f1a67(0x2ec)])&&(_0x3e4703['addFieldWithSourceId'](_0x28ab82[_0x4f1a67(0x2ec)],_0x3da3e9['Row'],void 0x0,_0x2bea8a),_0x28ab82[_0x4f1a67(0x1b1)]&&_0x3e4703[_0x4f1a67(0x3a1)](_0x28ab82['id'],_0x28ab82[_0x4f1a67(0x1b1)]),_0x28ab82['sortInfo']&&_0x3e4703[_0x4f1a67(0x2e2)](_0x28ab82['id'],_0x28ab82[_0x4f1a67(0x1e6)]),_0x28ab82[_0x4f1a67(0x35e)]&&_0x3e4703['setLabelFilterInfo'](_0x28ab82['id'],_0x28ab82['filterInfo']));}for(const _0x444963 of _0x319839){const _0x15d90c=_0x3d4809[_0x444963];_0x15d90c&&_0x3e4703[_0x4f1a67(0x2d0)](_0x15d90c[_0x4f1a67(0x2ec)])&&(_0x3e4703['addFieldWithSourceId'](_0x15d90c[_0x4f1a67(0x2ec)],_0x3da3e9[_0x4f1a67(0x2be)],void 0x0,_0x444963),_0x15d90c['sortInfo']&&_0x3e4703['setSortInfo'](_0x15d90c['id'],_0x15d90c['sortInfo']),_0x15d90c[_0x4f1a67(0x35e)]&&_0x3e4703[_0x4f1a67(0x2da)](_0x15d90c['id'],_0x15d90c['filterInfo']),_0x15d90c['displayName']&&_0x3e4703[_0x4f1a67(0x3a1)](_0x15d90c['id'],_0x15d90c[_0x4f1a67(0x1b1)]));}for(const _0xd96caf of _0x28c908){const _0x2f3e47=_0x3d4809[_0xd96caf];_0x2f3e47&&_0x3e4703['getDataFieldByDataFieldId'](_0x2f3e47['dataFieldId'])&&(_0x3e4703[_0x4f1a67(0x20c)](_0x2f3e47[_0x4f1a67(0x2ec)],_0x3da3e9[_0x4f1a67(0x291)],void 0x0,_0xd96caf),_0x2f3e47[_0x4f1a67(0x1e6)]&&_0x3e4703['setSortInfo'](_0x2f3e47['id'],_0x2f3e47['sortInfo']),_0x2f3e47[_0x4f1a67(0x35e)]&&_0x3e4703[_0x4f1a67(0x2da)](_0x2f3e47['id'],_0x2f3e47[_0x4f1a67(0x35e)]),_0x2f3e47[_0x4f1a67(0x1b1)]&&_0x3e4703[_0x4f1a67(0x3a1)](_0x2f3e47['id'],_0x2f3e47[_0x4f1a67(0x1b1)]));}for(const _0x2cee2c of _0x6442a6){const _0x5149e7=_0x3dc8c2[_0x2cee2c];_0x5149e7&&_0x3e4703['getDataFieldByDataFieldId'](_0x5149e7[_0x4f1a67(0x2ec)])&&(_0x3e4703['addFieldWithSourceId'](_0x5149e7[_0x4f1a67(0x2ec)],_0x3da3e9[_0x4f1a67(0x3ee)],void 0x0,_0x2cee2c),_0x5149e7[_0x4f1a67(0x30f)]!==void 0x0&&_0x3e4703['setSubtotalType'](_0x2cee2c,_0x5149e7[_0x4f1a67(0x30f)]),_0x5149e7[_0x4f1a67(0x40a)]&&_0x3e4703[_0x4f1a67(0x3e1)](_0x2cee2c,_0x5149e7[_0x4f1a67(0x40a)]),_0x5149e7[_0x4f1a67(0x1b1)]&&_0x3e4703['renameField'](_0x5149e7['id'],_0x5149e7['displayName']));}const _0x2eb9f1=_0x57f480[_0x4f1a67(0x1da)];for(const {fieldId:_0x1910dc,filterInfo:_0x3ac469}of _0x2eb9f1)_0x3e4703[_0x4f1a67(0x1c5)](_0x1910dc,_0x3ac469);}function Gi(_0x3478ad,_0x5a9529){const _0x3501bc=_0x33be9b,_0x4f0c71=[];_0x5a9529===_0x3da3e9['Row']&&_0x3478ad['iterateFieldByArea'](_0x3da3e9[_0x3501bc(0x2aa)],_0x412c20=>{const _0x3d7dbb=_0x3501bc;_0x4f0c71[_0x3d7dbb(0x391)](_0x412c20[_0x3d7dbb(0x333)]());}),_0x5a9529===_0x3da3e9[_0x3501bc(0x2be)]&&_0x3478ad['iterateFieldByArea'](_0x3da3e9[_0x3501bc(0x2be)],_0x1e4595=>{const _0x1d0fed=_0x3501bc;_0x4f0c71['push'](_0x1e4595[_0x1d0fed(0x333)]());}),_0x5a9529===_0x3da3e9[_0x3501bc(0x291)]&&_0x3478ad['iterateFieldByArea'](_0x3da3e9['Filter'],_0x510ee2=>{const _0x58e8c2=_0x3501bc;_0x4f0c71[_0x58e8c2(0x391)](_0x510ee2[_0x58e8c2(0x333)]());}),_0x5a9529===_0x3da3e9[_0x3501bc(0x3ee)]&&_0x3478ad['iterateFieldByArea'](_0x3da3e9[_0x3501bc(0x3ee)],_0x4ab4dd=>{const _0x2b7210=_0x3501bc;_0x4f0c71[_0x2b7210(0x391)](_0x4ab4dd['getId']());}),_0x5a9529===void 0x0&&_0x3478ad['iterateField'](_0x1b5d1a=>{const _0x5f69bc=_0x3501bc;_0x4f0c71[_0x5f69bc(0x391)](_0x1b5d1a['getId']());});const _0x2cf3b0=_0x4f0c71['length'];for(let _0x3cd530=_0x2cf3b0-0x1;_0x3cd530>=0x0;_0x3cd530--)_0x3478ad['removeField'](_0x4f0c71[_0x3cd530]);const _0x25277a=_0x3478ad[_0x3501bc(0x3cd)]();for(const _0x53eec1 in _0x25277a)_0x3478ad['removeValueFilterInfo'](_0x53eec1);}function Wi(_0x2bd9ec,_0x2c7201){const _0x2d50a6=_0x33be9b,_0x6c55c8=new Date(_0x4cda94(_0x2c7201)),_0xb0c95b=new Date(_0x4cda94(_0x2bd9ec)),_0x544e09=_0x6c55c8[_0x2d50a6(0x20b)](),_0x72b655=_0xb0c95b[_0x2d50a6(0x20b)](),_0x4cadda=_0x6c55c8[_0x2d50a6(0x366)](),_0x179cbb=_0xb0c95b[_0x2d50a6(0x366)](),_0x51660f=_0x6c55c8['getDate'](),_0x3e3b59=_0xb0c95b['getDate'](),_0x3a091d=_0x544e09===_0x72b655,_0x126854=_0x3a091d&&_0x4cadda===_0x179cbb;return _0x3a091d&&_0x126854&&!(_0x126854&&_0x51660f===_0x3e3b59)?_0xe08e32[_0x2d50a6(0x401)]:_0x3a091d&&!_0x126854?_0xe08e32['YearMonth']:_0xe08e32[_0x2d50a6(0x1a7)];}function Ho(_0x5360bb,_0x2a9f4e){const _0x3b2cfa=_0x33be9b,_0x5c4761=_0x5360bb[_0x3b2cfa(0x2ab)]($)['getTextInfo']();let _0x4bac04='';switch(_0x2a9f4e){case _0xe08e32[_0x3b2cfa(0x401)]:_0x4bac04=_0x5c4761[_0x3b2cfa(0x25b)];break;case _0xe08e32[_0x3b2cfa(0x1fb)]:_0x4bac04=_0x5c4761[_0x3b2cfa(0x36f)];break;case _0xe08e32[_0x3b2cfa(0x1a7)]:_0x4bac04=_0x5c4761['sheets-pivot.dateGroup.year'];break;case _0xe08e32[_0x3b2cfa(0x31d)]:_0x4bac04=_0x5c4761[_0x3b2cfa(0x294)];break;case _0xe08e32[_0x3b2cfa(0x326)]:_0x4bac04=_0x5c4761['sheets-pivot.dateGroup.quarter'];break;case _0xe08e32[_0x3b2cfa(0x36e)]:_0x4bac04=_0x5c4761[_0x3b2cfa(0x315)];break;case _0xe08e32[_0x3b2cfa(0x265)]:_0x4bac04=_0x5c4761['sheets-pivot.dateGroup.hourMinute'];break;case _0xe08e32[_0x3b2cfa(0x365)]:_0x4bac04=_0x5c4761[_0x3b2cfa(0x393)];break;case _0xe08e32[_0x3b2cfa(0x2fe)]:_0x4bac04=_0x5c4761[_0x3b2cfa(0x19f)];break;case _0xe08e32[_0x3b2cfa(0x31a)]:_0x4bac04=_0x5c4761['sheets-pivot.dateGroup.monthDate'];break;case _0xe08e32[_0x3b2cfa(0x1de)]:_0x4bac04=_0x5c4761[_0x3b2cfa(0x36b)];break;default:_0x4bac04='';break;}return _0x4bac04;}const qo=_0x33be9b(0x3f4),yo={};var ji=Object[_0x33be9b(0x229)],Ki=(_0x513fac,_0x5e4b2e,_0x1d8057,_0x4b1930)=>{const _0x310191=_0x33be9b;for(var _0x4cf2de=_0x4b1930>0x1?void 0x0:_0x4b1930?ji(_0x5e4b2e,_0x1d8057):_0x5e4b2e,_0x5a3448=_0x513fac[_0x310191(0x276)]-0x1,_0x16b4a6;_0x5a3448>=0x0;_0x5a3448--)(_0x16b4a6=_0x513fac[_0x5a3448])&&(_0x4cf2de=_0x16b4a6(_0x4cf2de)||_0x4cf2de);return _0x4cf2de;},it=(_0x44e95f,_0x5c638b)=>(_0x2570e8,_0x1d3634)=>_0x5c638b(_0x2570e8,_0x1d3634,_0x44e95f);function _0x4b3c(){const _0x27c80d=['getPivotTableIdByCell','subtotal','lastCol','lastRow','query','_dataSyncPrimaryController','sheets-pivot.cellDateGroupDisplay.hourMinute','sheets-pivot.dateGroup.date','updatePivotTableMatrixInfo','_ensurePivotItemRenderInfoCache','message','getSheetId','MonthDate','prefix','panel','Month','sheets-pivot.columnName','has','setSubtotalType','sheets-pivot.cellDateGroupDisplay.yearMonthDate','SetPivotCollapse','splice','getRefRangeMutationsByMoveRange','measure','Quarter','MIN_SAFE_INTEGER','sheets-pivot.cellDateGroupDisplay.year','getLastCol','prototype','getDisplayName','getDataFieldByTableId','rowRanges','FORCE_STRING','sheet.mutation.send-pivot-view-local','_updateRenderEmptyCache','limit\x20pivot','undos','getId','_deleteModelCache','sheet.command.set-pivot-value-filter','removeValueFilterInfoByValueFieldId','getTextInfo','getPivotTableInstance','_configService','_subjectCollectionChange','SHEET_PIVOT_EXCLUSIVE_ID','filter','getFieldPositionInfoById','_initPivotDataGetListener','registerDirtyService','getAutoDisplayNameFunction','dataStyle','sheet.command.add-pivot-field','rangeKey','dimension','initDataRanges','sheet.command.remove-pivot-field','getDataFieldManager','Varp\x20of\x20','isBottomTotal','sheet.mutation.set-pivot-option','_getAutoName','endRow','_globalComputedEndHelpFunc','NO_COMMERCIAL','setPivotTable','ΣValue','1251478EKSOba','remove','generateNewSheetName','onStarting','_activeDirtyManagerService','size','_initUnitDisposed','setSourceName','updateViewData','unitId','valueIndex','_sheetsPivotTableService','sheets-pivot.countName','filterInfo','setDataRecordCount','register','options','realDeleteValue','minDate','viewData$','Hour','getMonth','endColumn','triggerDirtyFeature','_textInfo','_updateModelCache','sheets-pivot.dateGroup.yearQuarter','update','sheet.mutation.send-init-pivot-text-local','Date','sheets-pivot.dateGroup.yearMonth','Panel','handleMoveRange','PIVOT_MUTATION_GENERATE','redos','DIV_BY_ZERO','colInfo','sheets-pivot.value','cellValue','interceptCommand','_initViewModelBySheetInterceptor','getMatrixValue','#FFFFFF','updateRangeKeyMap','yG9JlAR9\x20teJ8VUlAR9(EAJe9Le,\x20UGQEAJseV)\x20{\x20\x20\x20\x20l8V\x20{\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20EAJe9LeC9yR128li882V\x20=\x20EAJe9Le.LUEAl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20R8ANA9PeLL2Ne\x20=\x20nzvf.U28Le(2lRQ(EAJe9LeC9yR128li882V[X]));\x20\x20\x20\x20\x20\x20\x20\x20Ay\x20(!R8ANA9PeLL2Ne.Gt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20R8ANA9PeLL2Ne.Gt\x20=\x20fG5Qe8(EAJe9LeC9yR128li882V[K]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20ALoR8xe8\x20=\x20lVUeRy\x20oR8xe8mERQ2EzJRUe\x20!==\x20\x27G9teyA9et\x27\x20&&\x20LeEy\x20A9Ll29JeRy\x20oR8xe8mERQ2EzJRUe;\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20JR9leZl\x20=\x20ALoR8xe8\x20?\x20LeEy\x20:\x20cA9tRc;\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x205eLL2NeoR8t\x20=\x20JR9leZl.__p2LejK__.U28Le(EAJe9LeC9yR128li882V[X]);\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x205eLL2Ne\x20=\x20JR9leZl.__IeZ__.Ll8A9NAyV(5eLL2NeoR8t);\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20LAN92lG8eoR8t\x20=\x20JR9leZl.__p2LejK__.U28Le(EAJe9LeC9yR128li882V[7]);\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20LAN92lG8e\x20=\x20JR9leZl.__IeZ__.Ll8A9NAyV(LAN92lG8eoR8t);\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20LAN962EAt\x20=\x20JR9leZl.__Be8AyV__(LAN92lG8e,\x205eLL2Ne,\x20UGQEAJseV);\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20tR52A9\x20=\x20R8ANA9PeLL2Ne.t5;\x20\x20\x20\x20\x20\x20\x20\x20yG9JlAR9\x20ALbR52A9P2lJwA9N(R12lle89,\x20RIRLl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20U2lle89\x20=\x20R12lle89.8eUE2Je(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20wRLl\x20=\x20RIRLl.8eUE2Je(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20U2lle89128lL\x20=\x20U2lle89.LUEAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20wRLl128lL\x20=\x20wRLl.LUEAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ay\x20(!U2lle89.A9JEGteL(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208elG89\x20U2lle89\x20===\x20wRLl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ay\x20(U2lle89128lL.Ee9Nlw\x20<\x20X\x20||\x20U2lle89128lL[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208elG89\x20y2ELe;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20U2lle89zGyyAZ\x20=\x20U2lle89128lL.LEAJe(W).MRA9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20wRLlzGyyAZ\x20=\x20wRLl128lL.LEAJe(-U2lle89128lL.Ee9Nlw\x20+\x20W).MRA9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208elG89\x20U2lle89zGyyAZ\x20===\x20wRLlzGyyAZ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Eel\x20tR52A962EAt\x20=\x20(tR52A9\x20&&\x20tR52A9.Ee9Nlw)\x20?\x20tR52A9.LR5e((t5Cle5)\x20=>\x20ALbR52A9P2lJwA9N(t5Cle5,\x20ERJ2lAR9.wRLl925e))\x20:\x20l8Ge;\x20\x20\x20\x20\x20\x20\x20\x20Ay\x20(ERJ2lAR9.wRLl925e\x20===\x20\x27ERJ2EwRLl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tR52A962EAt\x20=\x20l8Ge;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JR9Ll\x20B2EAt\x20=\x20LAN962EAt\x20&&\x20tR52A962EAt;\x20\x20\x20\x20\x20\x20\x20\x208elG89\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20B2EAt,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205eLL2Ne:\x20R8ANA9PeLL2Ne,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20J2lJw\x20(e88R8)\x20{\x20\x20\x20\x20\x20\x20\x20\x208elG89\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20B2EAt:\x20y2ELe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205eLL2Ne:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','#1d32e9','sheets-pivot.productName','setName','_createExclusiveRange','collections','refreshDataField','NotName','_model','entries','getTypeOfUnitDisposed$','fieldId','Div0','originTargetInfo','Min\x20of\x20','sheets-pivot.countNumsName','sheet.mutation.remove-pivot-field','sheets-pivot.emptyPivot.row','UpdateFieldPosition','max','push','call','sheets-pivot.dateGroup.hour','sheet.mutation.add-group-collection','sheet.mutation.set-pivot-filter','\x20-\x20','workbook\x20is\x20not\x20found','sheet.mutation.send-pivot-config-local','NotFunction','rowHeaderMap','12GvlrTB','SetSortInfo','pivotTableIndexConfig','error','level','sheet.mutation.update-pivot-table-source-range','renameField','map','tableFieldId','getRangeKey','SetOptions','sheets-pivot.stdDevName','Max\x20of\x20','pivotInitCompleted$','getRangeStartEndInfo','sheet.mutation.pivot-update-field-source-info','deepClone','addExclusiveRange','_resourceManagerService','maxDate','getFieldIds','_getPivotAppliedRanges','count','_sheetsSelectionsService','_subjectFieldsCollectionChange','_toJSON','getDataFieldByRangeKey','rgb(240,241,243)','blank','versions','_sheetsPivotTableConfigModel','1394715PMnMwW','_injector','sheet.mutation.set-pivot-sort-info','_initCommandInterceptListener','updateFieldPosition','getPivotDisplayConfig','average','getFormatInfo','sheet.command.set-pivot-sort','markDirty','getPivotPerformCheck','isText','removePivotTable','NUM','toJSON','getPivotItemRenderInfoCache','Product\x20of\x20','isValue','endCollectChangeset','getValueFilterInfos','352sMPDiu','getFilterInfo','add','sourceRangeInfo','fetchThroughInterceptors','return\x20','getUnit','SetPivotFilter','sheet.command.move-pivot-table','setValuePivotFilter','varp','colStyle','collectionConfig','sheets-pivot.stdDevpName','getTargetByPivotTableId','addField','sheet.command.pivot-drill-down','targetCellInfo','sheet.operation.pivot-table-view-formula-mark-dirty','setFieldFormat','symbol','_ensurePivotItemRenderValueMatrixCache','valid','single','sheets-pivot.varName','#b2b2b2','None','sheets.tabs.sheet','sheet.mutation.set-pivot-position','sum','startRow','asObservable','Value','getSourceName','updateView','number','data','fields','sheets-pivot.config','formJSON','sheet.command.add-pivot-table-with-config','_lifecycleService','broadcastCollectionChange','updateConfigCache','removeField','reduce','getAutoFitColumnsMutations','params','dataFieldsCollection','row','isEmpty','YearMonthDate','_globalComputingSrv','disposeWithMe','updateAllDisplayName','getCurrentUnitForType','REF','headerMap','sourceName','Sum\x20of\x20','format','fetchThroughAsyncInterceptors','757868oDgJYb','sheet.mutation.set-pivot-format','getFieldById','sheet.command.reset-pivot-fields-config','_markDirty$','getformat','setPivotTableConfig','setPivotFilter','sheets-pivot.emptyPivot.values','deleteUnitId','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getGroupFieldsInfoByIds','setRangeValueRedoMutation','UpdatePivotSource','Count\x20of\x20','contains','isArray','sheet.mutation.set-pivot-field-subtotal-type','getMatrix','updateDirtyPivotTable','STRING','getIntersects','slice','RenameField','getSheetBySheetId','_localeService','notExecuteFormula','iterateFieldDim','_pivotRenderValueMatrixCache','sheets-pivot.dateGroup.minute','SetSubtotalType','date','filterFields','split','sheet.mutation.get-pivot-data-local','getHeaderMapItem','subUnitId','Year','_collectionChange$','some','sheets-pivot.cellDateGroupDisplay.quarter','result','min','parseInt','_fieldsCollectionChange$','MUTATION','updateRenderCache','displayName','deleteDataField','sheet.command.set-pivot-field-setting','updatePivotSource','rowCount','stdDevp','handleSourceRangeChange','New','setPivotSort','sheets-pivot.cellDateGroupDisplay.yearMonth','collection','setValue','sheet.mutation.remove-pivot-table','_deletePivotTableInstanceCache','getColumnCount','getValuePosition','_pivotTableMatrixInfo','NAME','pageStyle','Values','setValueFilterInfo','product','drillDown','substring','sheet.mutation.add-pivot-table','StdDev\x20of\x20','getTargetByPivotId','sheet.command.update-pivot-table-source-range','getFieldFormat','3qFyFtC','addCollectionByJSON','getSubUnitPivotConfigs','getCellMatrix','foreach','clearRenderCache','filterId','stringify','_pivotTableRangeInfo','sheetName','colHeaderMap','registerSyncingMutations','valueFilter','rangeType','_pivotRenderInfoCache','_ensurePivotTableRangeInfo','YearQuarter','_config','dateType','getLastRow','executeCommand','_queryingMap','sheets-pivot.emptyPivot.column','string','sortInfo','getConfig','colRanges','SetPivotSort','defineProperty','setRange','6181pBZyMU','removeSourceRangeChange','MAX_SAFE_INTEGER','Subtotal','sheet.command.update-pivot-value-position','PivotMultipleValueId','refreshData','updateCollectionConfig','getFilterFieldIdByIndex','_sheetsPivotDataSourceModel','getIndexesByPathStr','subscribe','setDateType','body','info','YearMonth','addDataFieldWithoutUnitInfo','sheets-pivot.varpName','getFieldDataType','_pivotInitCompleted$','charCodeAt','pivotTableId','getName','RemovePivotField','pageRanges','getSheetBySheetName','setTextInfo','getValue','_pivotConfigChange$','token','version','getFullYear','addFieldWithSourceId','rangesInfo','setPivotCollapse','valuePosition','getSubUnitPivotRenderCache','setRangeKeyMap','uniqueDataFieldName','_exclusiveRangeService','pushComputingStatusSubject','grandTotal','sheet.mutation.pivot-update-field-position','getSubtotal','getPivotTableConfig','Grand\x20Total','RemoveField','Delete','CELL_CONTENT','MovePivotField','_globalComputedStartHelpFunc','isNaN','delete','ptn','updateFieldSourceInfo','_viewUpdate$','addRecord','clearExclusiveRangesByGroupId','getPivotTableRangeInfo','SetFilterInfo','getStyles','getOwnPropertyDescriptor','setDisplayName','columnFields','set','cornerInfo','setOptions','getFormat','sheet.command.set-pivot-filter','width','dataStream','handleAsyncResponse','createDataFieldId','intercept','configVersion$','hasField','removeCollectionImp','iterateFieldByArea','sheet.command.update-date-group','onQueryStart','sheets-pivot.subTotal','interceptor','rgb(255,255,255)','rowInfo','collapseInfo','dataFields','getValueIndex','shouldClear','sheet.mutation.update-date-group','_ensureViewDataMap','object','type','GrandTotal','next','_commandService','custom','oldRangeInfo','_onRefRangeChange','startColumn','AddPivotTableWithConfig','_refRangeHandle','disposableCollection','SetPivotSetting','registerCommand','Existing','_initSnapshot','reset','_univerInstanceService','UpdateSource','#f4f4f5','updateDataFieldsCollection','sheets-pivot.dateGroup.yearMonthDate','AddField','removeDataField','name','getTextSize','setPivotSetting','iterateField','random','_generateUniqueVersion','cornerRanges','HourMinute','stdDev','forEach','concat','fromJSON','updateValuePosition','fieldIds','oldMatrix','38523LwozGu','fontRenderExtension','startCollectChangeset','COLUMN','sheet.command.set-pivot-collapse','originalFieldId','getPivotTableCellData','AddPivotTable','removeCollections','length','9yXucIY','dataRangeInfo','getTableFieldById','updateViewInfo','deleteField','asyncInterceptor','Expand','getRowCount','setPivotInitCompleted','keys','sheet.mutation.rename-pivot-field','toString','_pivotTableInstanceCache','12245937LhFrmU','intersects','needSameDeleteModel','range','sheets-pivot.cellDateGroupDisplay.minute','_configVersion$','resetArea','SetValuePivotFilter','getSortInfo','collectionChange$','Collapse','addPivotField','getInterceptPoints','Filter','floor','_subjectViewChange','sheets-pivot.dateGroup.month','getRangeData','queryDirtyPivotTable','column','Add','_host','find','_dataFieldManagerCollection','values','_initGlobalComputed','forValue','fieldsConfig','col','addCollection','NUMBER','getMatrixFromRunTimeData','getDataFieldId','getSheets','colCount','UpdateValuePosition','generateMutationsByRanges','pushUndoRedo','Row','get','getIntersectsPivotTable','textInfo','_refRangeService','sheet.mutation.remove-group-collection','Total','_sheetsPivotRpcService','_initRemoveSheetCommandInterceptor','Style','getColCount','getCurrentSelections','addDirtyPivotTable','sheets-pivot.cellDateGroupDisplay.hour','addPivotTableWithConfig','rangeKeyMap','getFieldCountByArea','getDataFieldItemInfo','pivotConfigChange$','pivotMutationGenerate','Column','sheet.mutation.send-pivot-data-local','_sheetsPivotTableAdaptorModel','node','sheet.mutation.set-pivot-value-filter','dataFieldManagerConfig','SHEET_PIVOT_IN_MAIN_THREAD','getUnitId','_initDataSendListener','setRangeValueUndoMutation','areaInfo','createCollectionWithDataRange','registerPluginResource','_sheetInterceptorService','sheets-pivot.cellDateGroupDisplay.month','#e6ebfa','StdDevp\x20of\x20','subTotalStyle','getDataFieldByDataFieldId','sheets-pivot.grandTotal','_initClearSelectionCommandInterceptor','registerRefRange','movePivotField','_updatePivotTableInstanceCache','getPivotTableModelConfig','AddPivotField','setCollapse','getOriginFieldId','setLabelFilterInfo','adjustSheetCellData','rowFields','getActiveSheet','getViewData','getDataFieldBySourceName','_init','from','setSortInfo','getCellRaw','588610gAiSSl','UNIVER_SHEET','onCommandExecuted','getRangeKeyList','leafStyle','COMMAND','ResetPivotTable','includes','dataFieldId','existing','DrillDown','registerCallbackWithEvent','Set','rowStyle','pbt','_collectionConfigModel','isDate','dispose','hasOwnProperty','unshift','_requestResolvers','ManualFilter','isColMultiMeasure','resetPivotTable','addPivotTable','_ensurePivotMap','Minute','updateConfig','getCollection','getDirtyInfo','SHEET_PIVOT_TABLE_PLUGIN','_viewData$','removeValueFilterInfo','_initLocale','value','refreshGroupField','SetPivotTableConfig','_globalSubject','removePivotField','_initRegisterCommand','_viewData','pivotTableConfigs'];_0x4b3c=function(){return _0x27c80d;};return _0x4b3c();}let he=class extends _0x5f1b0a{constructor(_0x5285c9,_0x4c1e8d,_0x370906,_0x34ffc9,_0x5a06cf){const _0xa0ac01=_0x33be9b;super(),U(this,_0xa0ac01(0x385),new Map()),U(this,_0xa0ac01(0x2f3),new Map()),U(this,'_pivotTableRangeInfo',new Map()),U(this,'_pivotTableMatrixInfo',new Map()),U(this,'_configVersion$',new _0x38b30f()),U(this,'_pivotInitCompleted$',new _0x38b30f()),U(this,_0xa0ac01(0x3a8),this[_0xa0ac01(0x1ff)][_0xa0ac01(0x3ed)]()),U(this,_0xa0ac01(0x208),new _0x38b30f()),U(this,_0xa0ac01(0x2bc),this[_0xa0ac01(0x208)]['asObservable']()),U(this,'_textInfo',{}),U(this,_0xa0ac01(0x236),this['_configVersion$'][_0xa0ac01(0x3ed)]()),(this['_injector']=_0x5285c9,this[_0xa0ac01(0x24a)]=_0x4c1e8d,this[_0xa0ac01(0x257)]=_0x370906,this[_0xa0ac01(0x3ad)]=_0x34ffc9,this[_0xa0ac01(0x339)]=_0x5a06cf,this[_0xa0ac01(0x305)](),this[_0xa0ac01(0x357)]());const _0x2c4093=this[_0xa0ac01(0x339)][_0xa0ac01(0x1e7)](qo);(_0x2c4093==null?void 0x0:_0x2c4093[_0xa0ac01(0x426)])===!0x0&&this[_0xa0ac01(0x255)]();}['_initUnitDisposed'](){const _0x178c37=_0x33be9b;this['disposeWithMe'](this[_0x178c37(0x257)][_0x178c37(0x387)](_0x266163[_0x178c37(0x2e5)])['subscribe'](_0x55309c=>{const _0x2ad354=_0x178c37;this[_0x2ad354(0x415)](_0x55309c[_0x2ad354(0x2c5)]());}));}[_0x33be9b(0x27f)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x33be9b(0x305)](){const _0x57d8a3=_0x33be9b,_0x19a590=fo(this['_injector'],ko,'',{});this[_0x57d8a3(0x369)]=_0x19a590,this['_commandService'][_0x57d8a3(0x1e2)](uo['id'],{'textInfo':_0x19a590},{'onlyLocal':!0x0});}[_0x33be9b(0x337)](){const _0x3cfe2e=_0x33be9b;return this[_0x3cfe2e(0x369)];}[_0x33be9b(0x27a)](_0x528b42,_0x5749b6,_0x3c2726,_0x3cca7c,_0x20b315){const _0x55909a=_0x33be9b;this[_0x55909a(0x316)](_0x528b42,_0x5749b6,_0x3c2726,_0x3cca7c),this['updatePivotTableRangeInfo'](_0x528b42,_0x5749b6,_0x3c2726,_0x20b315);}['getPivotTableConfig'](_0x4ab893,_0x1c7694,_0x1f4d7f){const _0x4fa305=_0x33be9b;var _0x29bc56;const _0x4c7777=(_0x29bc56=this[_0x4fa305(0x385)][_0x4fa305(0x2ab)](_0x4ab893))==null?void 0x0:_0x29bc56[_0x4fa305(0x2ab)](_0x1c7694);if(_0x4c7777)return _0x4c7777['get'](_0x1f4d7f);}[_0x33be9b(0x3dc)](_0x4ffaae,_0x42c919){const _0x5de442=_0x33be9b,_0x32b935=this['_model'][_0x5de442(0x2ab)](_0x4ffaae);if(_0x32b935){for(const [_0x44a876,_0x68859d]of _0x32b935[_0x5de442(0x386)]())for(const [_0x591531,_0x122ab3]of _0x68859d[_0x5de442(0x386)]())if(_0x591531===_0x42c919)return _0x122ab3[_0x5de442(0x3df)];}}[_0x33be9b(0x1cb)](_0x4a2b5a,_0x44ea10,_0x1642cc){const _0x2aa934=_0x33be9b,_0x2cbcb8=this[_0x2aa934(0x218)](_0x4a2b5a,_0x44ea10,_0x1642cc);return _0x2cbcb8==null?void 0x0:_0x2cbcb8['targetCellInfo'];}[_0x33be9b(0x1d0)](_0x52ad41,_0x325a42){const _0x4bd9df=_0x33be9b;var _0x1c6d42;return(_0x1c6d42=this[_0x4bd9df(0x385)][_0x4bd9df(0x2ab)](_0x52ad41))==null?void 0x0:_0x1c6d42[_0x4bd9df(0x2ab)](_0x325a42);}[_0x33be9b(0x3f9)](_0x54c909,_0x38b4a4,_0x27a1dc,_0x50e3b7){const _0x423f76=_0x33be9b,_0x44832b=this['_ensurePivotMap'](_0x54c909,_0x38b4a4);_0x50e3b7?_0x44832b[_0x423f76(0x22c)](_0x27a1dc,_0x50e3b7):_0x44832b['delete'](_0x27a1dc),this[_0x423f76(0x208)][_0x423f76(0x249)]({'unitId':_0x54c909,'subUnitId':_0x38b4a4,'pivotTableId':_0x27a1dc,'pivotTableConfig':_0x50e3b7});}[_0x33be9b(0x300)](_0x35cc06,_0x195dd3){const _0x2f7cb0=_0x33be9b;var _0xe3aab2;return(_0xe3aab2=this['_collectionConfigModel'][_0x2f7cb0(0x2ab)](_0x35cc06))==null?void 0x0:_0xe3aab2[_0x2f7cb0(0x382)][_0x195dd3];}[_0x33be9b(0x1f3)](_0x570c27,_0xe8af41){const _0x5de2a8=_0x33be9b;this[_0x5de2a8(0x2f3)][_0x5de2a8(0x22c)](_0x570c27,_0xe8af41),this[_0x5de2a8(0x289)][_0x5de2a8(0x249)](Math[_0x5de2a8(0x262)]());}['_ensurePivotMap'](_0xde0e0a,_0x1a0ff7){const _0x1e1e0a=_0x33be9b;let _0x3fa8cd=this[_0x1e1e0a(0x385)][_0x1e1e0a(0x2ab)](_0xde0e0a);_0x3fa8cd||(_0x3fa8cd=new Map(),this['_model'][_0x1e1e0a(0x22c)](_0xde0e0a,_0x3fa8cd));let _0x4ddc53=_0x3fa8cd[_0x1e1e0a(0x2ab)](_0x1a0ff7);return _0x4ddc53||(_0x4ddc53=new Map(),_0x3fa8cd[_0x1e1e0a(0x22c)](_0x1a0ff7,_0x4ddc53)),_0x4ddc53;}[_0x33be9b(0x1dd)](_0xdad51b,_0x167861){const _0x14edcb=_0x33be9b;let _0x307245=this['_pivotTableRangeInfo']['get'](_0xdad51b);_0x307245||(_0x307245=new Map(),this['_pivotTableRangeInfo'][_0x14edcb(0x22c)](_0xdad51b,_0x307245));let _0x58c580=_0x307245[_0x14edcb(0x2ab)](_0x167861);return _0x58c580||(_0x58c580=new Map(),_0x307245[_0x14edcb(0x22c)](_0x167861,_0x58c580)),_0x58c580;}['_ensurePivotTableMatrixInfo'](_0x528a81,_0x524de4){const _0x34ab4a=_0x33be9b;let _0x14385c=this[_0x34ab4a(0x1c1)][_0x34ab4a(0x2ab)](_0x528a81);_0x14385c||(_0x14385c=new Map(),this['_pivotTableMatrixInfo'][_0x34ab4a(0x22c)](_0x528a81,_0x14385c));let _0x1e744b=_0x14385c[_0x34ab4a(0x2ab)](_0x524de4);return _0x1e744b||(_0x1e744b=new Map(),_0x14385c[_0x34ab4a(0x22c)](_0x524de4,_0x1e744b)),_0x1e744b;}['updatePivotTableRangeInfo'](_0x3b0447,_0xe5daf7,_0x472156,_0x3c2086){const _0x1ce28a=_0x33be9b;var _0x3e7a24;const _0x210b15=this[_0x1ce28a(0x1dd)](_0x3b0447,_0xe5daf7),_0x56900f=(_0x3e7a24=_0x210b15[_0x1ce28a(0x2ab)](_0x472156))==null?void 0x0:_0x3e7a24[_0x1ce28a(0x24c)];_0x210b15[_0x1ce28a(0x22c)](_0x472156,{'oldRangeInfo':_0x56900f,'rangeInfo':_0x3c2086});}[_0x33be9b(0x316)](_0xe3e41b,_0x43e481,_0x22e842,_0x4c8f34){const _0x36aae9=_0x33be9b;var _0xd22283;const _0x6d36dc=this['_ensurePivotTableMatrixInfo'](_0xe3e41b,_0x43e481),_0x45119d=(_0xd22283=_0x6d36dc[_0x36aae9(0x2ab)](_0x22e842))==null?void 0x0:_0xd22283[_0x36aae9(0x26c)];_0x6d36dc[_0x36aae9(0x22c)](_0x22e842,{'oldMatrix':_0x45119d,'matrix':_0x4c8f34});}[_0x33be9b(0x226)](_0x1cfba6,_0x3d5d40,_0x126a91){const _0x2c96f=_0x33be9b;var _0x5d7c37,_0x1f7dc1;return(_0x1f7dc1=(_0x5d7c37=this[_0x2c96f(0x1d6)][_0x2c96f(0x2ab)](_0x1cfba6))==null?void 0x0:_0x5d7c37['get'](_0x3d5d40))==null?void 0x0:_0x1f7dc1[_0x2c96f(0x2ab)](_0x126a91);}['getPivotTableMatrixInfo'](_0x2f8c93,_0x472668,_0x3b791f){const _0x40e0c3=_0x33be9b;var _0x5e90cc,_0x4de9a4;return(_0x4de9a4=(_0x5e90cc=this[_0x40e0c3(0x1c1)][_0x40e0c3(0x2ab)](_0x2f8c93))==null?void 0x0:_0x5e90cc[_0x40e0c3(0x2ab)](_0x472668))==null?void 0x0:_0x4de9a4['get'](_0x3b791f);}[_0x33be9b(0x415)](_0x44df4b){const _0x49563f=_0x33be9b;this[_0x49563f(0x385)][_0x49563f(0x220)](_0x44df4b),this[_0x49563f(0x2f3)][_0x49563f(0x220)](_0x44df4b);}[_0x33be9b(0x3b4)](_0x5526c0){const _0x2ccbda=_0x33be9b,_0x1a6761={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2ccbda(0x2f3)][_0x2ccbda(0x2ab)](_0x5526c0)&&(_0x1a6761['dataFieldManagerConfig'][_0x5526c0]=this[_0x2ccbda(0x2f3)][_0x2ccbda(0x2ab)](_0x5526c0)),this['_model']['get'](_0x5526c0)){_0x1a6761[_0x2ccbda(0x30d)][_0x5526c0]={};const _0x59426f=this[_0x2ccbda(0x385)][_0x2ccbda(0x2ab)](_0x5526c0);_0x59426f!=null&&_0x59426f['size']&&[..._0x59426f[_0x2ccbda(0x280)]()][_0x2ccbda(0x267)](_0x5617f3=>{const _0xb05f5a=_0x2ccbda,_0x50f747=_0x59426f[_0xb05f5a(0x2ab)](_0x5617f3);_0x50f747!=null&&_0x50f747[_0xb05f5a(0x356)]&&(_0x1a6761[_0xb05f5a(0x30d)][_0x5526c0][_0x5617f3]={},[..._0x50f747[_0xb05f5a(0x280)]()][_0xb05f5a(0x267)](_0x1df4c8=>{const _0x32ebd8=_0xb05f5a,_0x326977=_0x50f747[_0x32ebd8(0x2ab)](_0x1df4c8);_0x326977&&(_0x1a6761['pivotTableConfigs'][_0x5526c0][_0x5617f3][_0x1df4c8]=_0x326977);}));});}return _0x1a6761;}[_0x33be9b(0x255)](){const _0x307c7e=_0x33be9b;this['disposeWithMe'](this[_0x307c7e(0x3ad)][_0x307c7e(0x2ca)]({'toJson':_0x152418=>JSON[_0x307c7e(0x1d5)](this[_0x307c7e(0x3b4)](_0x152418)),'parseJson':_0x5430d0=>({}),'businesses':[_0x266163[_0x307c7e(0x2e5)]],'pluginName':ao,'onLoad':(_0x470c29,_0x55d48b)=>{},'onUnLoad':_0x2ae5c7=>{this['deleteUnitId'](_0x2ae5c7);}}));}};he=Ki([it(0x0,_0x19db7d(_0x102d22)),it(0x1,_0x19db7d(_0x5666d8)),it(0x2,_0x19db7d(_0x19012d)),it(0x3,_0x19db7d(_0x3dab39)),it(0x4,_0x19db7d(_0x81aaa3))],he);var Hi=Object[_0x33be9b(0x229)],qi=(_0x2ab163,_0x15c5af,_0x436da2,_0x2794f1)=>{const _0x5ebc5a=_0x33be9b;for(var _0x3e0ebb=_0x2794f1>0x1?void 0x0:_0x2794f1?Hi(_0x15c5af,_0x436da2):_0x15c5af,_0x3f7ad1=_0x2ab163[_0x5ebc5a(0x276)]-0x1,_0x4d2687;_0x3f7ad1>=0x0;_0x3f7ad1--)(_0x4d2687=_0x2ab163[_0x3f7ad1])&&(_0x3e0ebb=_0x4d2687(_0x3e0ebb)||_0x3e0ebb);return _0x3e0ebb;},st=(_0xfbe959,_0x180e5c)=>(_0x20d583,_0x5b0bc3)=>_0x180e5c(_0x20d583,_0x5b0bc3,_0xfbe959);let Ne=class extends _0x5f1b0a{constructor(_0x2ed37e,_0x21ac3b,_0x2b12f6,_0x38a0f9,_0x5cab98){const _0x2a408d=_0x33be9b;super(),U(this,'_pivotRenderInfoCache',new Map()),U(this,'_pivotRenderValueMatrixCache',new Map()),U(this,_0x2a408d(0x410),new _0x38b30f()),U(this,'markDirty$',this[_0x2a408d(0x410)][_0x2a408d(0x3ed)]()),U(this,'_viewUpdate$',new _0x38b30f()),U(this,'viewUpdate$',this[_0x2a408d(0x223)][_0x2a408d(0x3ed)]()),U(this,_0x2a408d(0x369)),(this[_0x2a408d(0x425)]=_0x2ed37e,this[_0x2a408d(0x3bb)]=_0x21ac3b,this[_0x2a408d(0x3b9)]=_0x2b12f6,this[_0x2a408d(0x257)]=_0x38a0f9,this[_0x2a408d(0x213)]=_0x5cab98,this[_0x2a408d(0x305)](),this[_0x2a408d(0x357)]());}['_initUnitDisposed'](){const _0x580e23=_0x33be9b;this[_0x580e23(0x403)](this[_0x580e23(0x257)][_0x580e23(0x387)](_0x266163['UNIVER_SHEET'])[_0x580e23(0x1f7)](_0x330a1f=>{const _0x38194c=_0x580e23;this[_0x38194c(0x415)](_0x330a1f[_0x38194c(0x2c5)]());}));}['_initLocale'](){const _0x31e832=_0x33be9b;this[_0x31e832(0x369)]=fo(this[_0x31e832(0x3bb)],ko,'',{});}[_0x33be9b(0x1b0)](_0x385ab9){const _0xb557a1=_0x33be9b,{view:_0x3df141,unitId:_0xf6ffd6,subUnitId:_0xc208fb,pivotTableId:_0x4daee0,type:_0x250008}=_0x385ab9,_0x3c3ad7=this[_0xb557a1(0x3b9)][_0xb557a1(0x218)](_0xf6ffd6,_0xc208fb,_0x4daee0);if(!_0x3df141||!_0x3c3ad7||_0x250008===B[_0xb557a1(0x21b)])return;const {pageView:_0x27a755,cornerView:_0x3b9a6c,rowView:_0x4ed94b,colView:_0x148d5c,dataView:_0x5d9cb7}=_0x3df141,_0x4eb13b=_0x3c3ad7['targetCellInfo'],_0x492a03=_0x3c3ad7['isEmpty'],_0x5cb831=this['_ensurePivotItemRenderValueMatrixCache'](_0xf6ffd6,_0xc208fb),_0x20b3d3=this[_0xb557a1(0x317)](_0xf6ffd6,_0xc208fb,_0x4daee0);if(_0x492a03)return this['_updateRenderEmptyCache'](_0x385ab9,_0x5cb831,_0x4eb13b,_0x20b3d3);{const _0xcbfec0=ge(_0x4eb13b,_0x27a755,!0x0),_0x44793a=_0x27a755[_0xb557a1(0x311)]>=0x0?_0x27a755['lastRow']+0x1:0x0,_0x87e2a4=_0x3b9a6c[_0xb557a1(0x27e)](),_0x59713c=_0x3b9a6c[_0xb557a1(0x2b4)](),_0x147f57=_0xcbfec0['length']>0x0?It:0x0,_0xe02f3e=ge({'row':_0x4eb13b[_0xb557a1(0x3ff)]+_0x44793a+_0x147f57,'col':_0x4eb13b[_0xb557a1(0x2a0)]},_0x3b9a6c,!0x1,!0x1),_0x3b1ceb=ge({'row':_0x4eb13b['row']+_0x44793a+_0x147f57+_0x87e2a4,'col':_0x4eb13b[_0xb557a1(0x2a0)]},_0x4ed94b,!0x1,!0x0),_0x52771e=ge({'row':_0x4eb13b['row']+_0x44793a+_0x147f57,'col':_0x4eb13b['col']+_0x59713c},_0x148d5c,!0x1,!0x0),_0x473a64=ge({'row':_0x4eb13b[_0xb557a1(0x3ff)]+_0x44793a+_0x147f57+_0x87e2a4,'col':_0x4eb13b[_0xb557a1(0x2a0)]+_0x59713c},_0x5d9cb7,!0x1,!0x1);_0x20b3d3['rangesInfo']={'rowRanges':_0x3b1ceb,'colRanges':_0x52771e,'cornerRanges':_0xe02f3e,'dataRanges':_0x473a64,'pageRanges':_0xcbfec0};const _0x18f6ff=Ti(this[_0xb557a1(0x3bb)],_0x3df141,_0x3c3ad7,this[_0xb557a1(0x369)]),{valueMatrix:_0x34e7fe,rowInfo:_0x166604,colInfo:_0x38b13d,cornerInfo:_0x120bdb,rowHeaderMap:_0x4d9a40,colHeaderMap:_0x33fc21}=_0x18f6ff;return _0x20b3d3[_0xb557a1(0x2c8)]={'rowInfo':_0x166604,'colInfo':_0x38b13d,'cornerInfo':_0x120bdb},_0x20b3d3['headerMap']={'rowHeaderMap':_0x4d9a40,'colHeaderMap':_0x33fc21},_0x34e7fe[_0xb557a1(0x267)]((_0x4159db,_0xb4a584)=>{const _0x6a0dc5=_0xb557a1;Object[_0x6a0dc5(0x280)](_0xb4a584)['forEach'](_0x2cb1c4=>{const _0x22725e=_0x6a0dc5,_0x507b4b=+_0x2cb1c4,_0x399fc0=_0x34e7fe[_0x22725e(0x207)](_0x4159db,_0x507b4b);_0x5cb831[_0x22725e(0x1bc)](_0x4159db,_0x507b4b,_0x399fc0);});}),this[_0xb557a1(0x223)][_0xb557a1(0x249)]({'unitId':_0xf6ffd6,'subUnitId':_0xc208fb,'valueMatrix':_0x5cb831,'rangesCache':_0x20b3d3[_0xb557a1(0x20d)],'pivotTableId':_0x4daee0,'type':_0x385ab9[_0xb557a1(0x247)]}),this[_0xb557a1(0x3b9)][_0xb557a1(0x27a)](_0xf6ffd6,_0xc208fb,_0x4daee0,_0x5cb831,_0x20b3d3[_0xb557a1(0x20d)]),this[_0xb557a1(0x213)][_0xb557a1(0x3ac)](_0xf6ffd6,_0xc208fb,kt,this['_createExclusiveRange'](_0x20b3d3[_0xb557a1(0x20d)],_0x4daee0)),{'rangeCache':_0x20b3d3[_0xb557a1(0x20d)],'matrix':_0x5cb831};}}[_0x33be9b(0x330)](_0x17d915,_0x1e29f2,_0x53748c,_0x57be4a){const _0x17b568=_0x33be9b,_0x50bb64=this[_0x17b568(0x425)]['t'],{unitId:_0x597297,subUnitId:_0x5d7778,pivotTableId:_0x1be84e}=_0x17d915,_0x2b3615={'filter':_0x50bb64('sheets-pivot.emptyPivot.filter'),'row':_0x50bb64(_0x17b568(0x38e)),'column':_0x50bb64(_0x17b568(0x1e4)),'values':_0x50bb64(_0x17b568(0x414))},{matrixCache:_0x45a2fb,rangesCache:_0x411994}=Wo(_0x2b3615,_0x53748c);return _0x45a2fb[_0x17b568(0x29e)]((_0x3a9c51,_0x2a67d3,_0x5b3ae7)=>{const _0x1755c6=_0x17b568;_0x1e29f2[_0x1755c6(0x1bc)](_0x3a9c51,_0x2a67d3,_0x5b3ae7);}),_0x57be4a['rangesInfo']=_0x411994,this['_viewUpdate$'][_0x17b568(0x249)]({'unitId':_0x597297,'subUnitId':_0x5d7778,'valueMatrix':_0x1e29f2,'rangesCache':_0x411994,'pivotTableId':_0x1be84e,'type':_0x17d915[_0x17b568(0x247)],'isEmpty':!0x0}),this[_0x17b568(0x3b9)][_0x17b568(0x27a)](_0x597297,_0x5d7778,_0x1be84e,_0x1e29f2,_0x411994),this[_0x17b568(0x213)][_0x17b568(0x3ac)](_0x597297,_0x5d7778,kt,this[_0x17b568(0x381)](_0x411994,_0x1be84e)),{'rangeCache':_0x57be4a['rangesInfo'],'matrix':_0x1e29f2};}[_0x33be9b(0x381)](_0x2538ac,_0x45fdf4){const _0x58f053=_0x33be9b,_0x47363f=[],_0x1d3979=Bt(_0x2538ac);for(const _0x5218c7 of _0x1d3979)_0x47363f[_0x58f053(0x391)]({'groupId':_0x45fdf4,'range':_0x5218c7});return _0x47363f;}[_0x33be9b(0x1d3)](_0x1b00ed){const _0x2e2fea=_0x33be9b;var _0x153086,_0x1ad81d,_0x56e44c,_0x477782;const {pivotTableId:_0x1d5ce2,unitId:_0x2103cb,subUnitId:_0xd7794b}=_0x1b00ed;if(!_0x1d5ce2||!_0x2103cb||!_0xd7794b)return;const _0x53061e=this[_0x2e2fea(0x3e3)](_0x2103cb,_0xd7794b),_0x11d49b=(_0x1ad81d=(_0x153086=this['_pivotRenderInfoCache'][_0x2e2fea(0x2ab)](_0x2103cb))==null?void 0x0:_0x153086[_0x2e2fea(0x2ab)](_0xd7794b))==null?void 0x0:_0x1ad81d['get'](_0x1d5ce2);if(_0x11d49b!=null&&_0x11d49b['rangesInfo']){for(const _0x59d5f1 of Object[_0x2e2fea(0x280)](_0x11d49b[_0x2e2fea(0x20d)]))_0x11d49b[_0x2e2fea(0x20d)][_0x59d5f1]['forEach'](_0x1af60f=>{const _0x28aaf4=_0x2e2fea;for(let _0x4c0b95=_0x1af60f[_0x28aaf4(0x3ec)];_0x4c0b95<=_0x1af60f[_0x28aaf4(0x34c)];_0x4c0b95++)for(let _0x38d081=_0x1af60f['startColumn'];_0x38d081<=_0x1af60f['endColumn'];_0x38d081++)_0x53061e[_0x28aaf4(0x362)](_0x4c0b95,_0x38d081);});}_0x11d49b&&((_0x477782=(_0x56e44c=this[_0x2e2fea(0x1dc)]['get'](_0x2103cb))==null?void 0x0:_0x56e44c[_0x2e2fea(0x2ab)](_0xd7794b))==null||_0x477782[_0x2e2fea(0x220)](_0x1d5ce2)),this[_0x2e2fea(0x223)]['next']({'unitId':_0x2103cb,'subUnitId':_0xd7794b,'valueMatrix':_0x53061e,'pivotTableId':_0x1d5ce2,'rangesCache':void 0x0,'type':_0x1b00ed[_0x2e2fea(0x247)]}),this[_0x2e2fea(0x213)][_0x2e2fea(0x225)](_0x2103cb,_0xd7794b,kt,_0x1d5ce2);}[_0x33be9b(0x317)](_0x58dc58,_0x4869df,_0x4e928f){const _0x246764=_0x33be9b;var _0x1172bd,_0x35fc44,_0x1656c2,_0x400155,_0x25d4a2,_0x569a70;return this[_0x246764(0x1dc)][_0x246764(0x31f)](_0x58dc58)||this[_0x246764(0x1dc)][_0x246764(0x22c)](_0x58dc58,new Map()),(_0x1172bd=this[_0x246764(0x1dc)]['get'](_0x58dc58))!=null&&_0x1172bd['has'](_0x4869df)||(_0x35fc44=this[_0x246764(0x1dc)][_0x246764(0x2ab)](_0x58dc58))==null||_0x35fc44[_0x246764(0x22c)](_0x4869df,new Map()),(_0x400155=(_0x1656c2=this[_0x246764(0x1dc)][_0x246764(0x2ab)](_0x58dc58))==null?void 0x0:_0x1656c2[_0x246764(0x2ab)](_0x4869df))!=null&&_0x400155['has'](_0x4e928f)||(_0x569a70=(_0x25d4a2=this[_0x246764(0x1dc)][_0x246764(0x2ab)](_0x58dc58))==null?void 0x0:_0x25d4a2[_0x246764(0x2ab)](_0x4869df))==null||_0x569a70[_0x246764(0x22c)](_0x4e928f,{}),this[_0x246764(0x1dc)][_0x246764(0x2ab)](_0x58dc58)[_0x246764(0x2ab)](_0x4869df)['get'](_0x4e928f);}['_ensurePivotItemRenderValueMatrixCache'](_0x51ef96,_0x6472b6){const _0x43c12a=_0x33be9b;var _0x411d14,_0x65a148;return this[_0x43c12a(0x19e)][_0x43c12a(0x31f)](_0x51ef96)||this[_0x43c12a(0x19e)][_0x43c12a(0x22c)](_0x51ef96,new Map()),(_0x411d14=this[_0x43c12a(0x19e)][_0x43c12a(0x2ab)](_0x51ef96))!=null&&_0x411d14[_0x43c12a(0x31f)](_0x6472b6)||(_0x65a148=this[_0x43c12a(0x19e)][_0x43c12a(0x2ab)](_0x51ef96))==null||_0x65a148[_0x43c12a(0x22c)](_0x6472b6,new _0x2f7a34()),this[_0x43c12a(0x19e)]['get'](_0x51ef96)[_0x43c12a(0x2ab)](_0x6472b6);}[_0x33be9b(0x273)](_0xc9d869,_0x39fcb1,_0x44c327,_0x107749){const _0x21089f=_0x33be9b;var _0x4f7519,_0x5147fa;const _0x36c177=(_0x5147fa=(_0x4f7519=this[_0x21089f(0x19e)][_0x21089f(0x2ab)](_0xc9d869))==null?void 0x0:_0x4f7519['get'](_0x39fcb1))==null?void 0x0:_0x5147fa[_0x21089f(0x207)](_0x44c327,_0x107749);if(_0x36c177!=null)return _0x36c177;}[_0x33be9b(0x30e)](_0x2c1dbf,_0x708510,_0x495454,_0x1a6e14){const _0x3a943a=_0x33be9b;var _0x258286;const _0x142cf8=_0x3bce79(_0x495454,_0x1a6e14),_0x4e4171=(_0x258286=this['_pivotRenderInfoCache'][_0x3a943a(0x2ab)](_0x2c1dbf))==null?void 0x0:_0x258286['get'](_0x708510);return _0x4e4171?Array['from'](_0x4e4171['keys']())['find'](_0x202068=>{const _0x10f62f=_0x3a943a,_0x2c4be0=_0x4e4171[_0x10f62f(0x2ab)](_0x202068),_0xd61521=_0x2c4be0==null?void 0x0:_0x2c4be0[_0x10f62f(0x20d)];return _0xd61521?Object['keys'](_0xd61521)[_0x10f62f(0x1a9)](_0x5a7469=>_0xd61521[_0x5a7469]['some'](_0x4e68a3=>_0x6c5d65[_0x10f62f(0x41b)](_0x4e68a3,_0x142cf8))):!0x1;}):void 0x0;}[_0x33be9b(0x2ac)](_0x4b12e6,_0x5f578d,_0x224a18){const _0x4e2c19=_0x33be9b;var _0x4b2000;const _0x19f487=(_0x4b2000=this[_0x4e2c19(0x1dc)][_0x4e2c19(0x2ab)](_0x4b12e6))==null?void 0x0:_0x4b2000[_0x4e2c19(0x2ab)](_0x5f578d),_0x1effa2=[];return _0x19f487&&Array[_0x4e2c19(0x2e1)](_0x19f487[_0x4e2c19(0x280)]())[_0x4e2c19(0x267)](_0x2e68a2=>{const _0x4dac04=_0x4e2c19,_0x423e18=_0x19f487['get'](_0x2e68a2),_0x253650=_0x423e18==null?void 0x0:_0x423e18[_0x4dac04(0x20d)];if(_0x253650)for(const _0xbc7640 of Object['values'](_0x253650)){let _0x2e6d2=!0x1;for(const _0x875cd6 of _0xbc7640)if(_0x6c5d65['intersects'](_0x875cd6,_0x224a18)){_0x1effa2['push'](_0x2e68a2),_0x2e6d2=!0x0;break;}if(_0x2e6d2)break;}}),_0x1effa2;}['getSubUnitPivotMatrix'](_0xb6989e,_0x3ff019){const _0x150e3c=_0x33be9b;var _0x35cee8,_0x5db54c;return(_0x5db54c=(_0x35cee8=this[_0x150e3c(0x19e)][_0x150e3c(0x2ab)](_0xb6989e))==null?void 0x0:_0x35cee8[_0x150e3c(0x2ab)](_0x3ff019))!=null?_0x5db54c:new _0x2f7a34();}[_0x33be9b(0x210)](_0x593449,_0x394530){const _0x270820=_0x33be9b;var _0x54e518;return(_0x54e518=this[_0x270820(0x1dc)][_0x270820(0x2ab)](_0x593449))==null?void 0x0:_0x54e518[_0x270820(0x2ab)](_0x394530);}[_0x33be9b(0x3c9)](_0x1bdd22,_0x2cec46,_0x65a044){const _0x242c3b=_0x33be9b;var _0x10259a,_0x12634e;return(_0x12634e=(_0x10259a=this[_0x242c3b(0x1dc)][_0x242c3b(0x2ab)](_0x1bdd22))==null?void 0x0:_0x10259a['get'](_0x2cec46))==null?void 0x0:_0x12634e[_0x242c3b(0x2ab)](_0x65a044);}['deleteUnitId'](_0x3e32df){const _0x2f54a4=_0x33be9b;this[_0x2f54a4(0x1dc)][_0x2f54a4(0x220)](_0x3e32df),this['_pivotRenderValueMatrixCache']['delete'](_0x3e32df);}[_0x33be9b(0x3c3)](_0x1a78d8,_0x7b72ce){const _0x3faa49=_0x33be9b;this['_markDirty$'][_0x3faa49(0x249)]({'unitId':_0x1a78d8,'subUnitId':_0x7b72ce});}};Ne=qi([st(0x0,_0x19db7d(_0x25ac2f)),st(0x1,_0x19db7d(_0x102d22)),st(0x2,_0x19db7d(he)),st(0x3,_0x19db7d(_0x19012d)),st(0x4,_0x19db7d(_0x22ce86))],Ne);var zi=Object['getOwnPropertyDescriptor'],Yi=(_0x1e8263,_0x5f48ae,_0x67eaea,_0x37b34b)=>{const _0x4fb71d=_0x33be9b;for(var _0x116768=_0x37b34b>0x1?void 0x0:_0x37b34b?zi(_0x5f48ae,_0x67eaea):_0x5f48ae,_0x3692f7=_0x1e8263[_0x4fb71d(0x276)]-0x1,_0x400345;_0x3692f7>=0x0;_0x3692f7--)(_0x400345=_0x1e8263[_0x3692f7])&&(_0x116768=_0x400345(_0x116768)||_0x116768);return _0x116768;},Mo=(_0x127f7c,_0x13f8f8)=>(_0x145341,_0x3a55ab)=>_0x13f8f8(_0x145341,_0x3a55ab,_0x127f7c);let ie=class extends _0x5f1b0a{constructor(_0x2138b6,_0x35e6fc){const _0x19bbe4=_0x33be9b;super(),U(this,_0x19bbe4(0x27c),new _0x24e767({'PIVOT_PERFORM_CHECK':be})),U(this,'interceptor',new _0xc71d4d({'PIVOT_MUTATION_GENERATE':Bo})),(this['_sheetInterceptorService']=_0x2138b6,this[_0x19bbe4(0x2c0)]=_0x35e6fc,this[_0x19bbe4(0x2e0)]());}['_init'](){this['_initViewModelBySheetInterceptor']();}[_0x33be9b(0x3c4)](_0x3c2f26){const _0x45ad9f=_0x33be9b;return this[_0x45ad9f(0x27c)][_0x45ad9f(0x40b)](be)(!0x1,_0x3c2f26);}[_0x33be9b(0x379)](){const _0x3bbd55=_0x33be9b;this[_0x3bbd55(0x403)](this[_0x3bbd55(0x2cb)][_0x3bbd55(0x235)](_0xcaa84a[_0x3bbd55(0x21c)],{'priority':0xc8,'effect':_0x476f12[_0x3bbd55(0x3ee)]|_0x476f12[_0x3bbd55(0x2b3)],'handler':(_0x4eef5d,_0x1f963d,_0x267727)=>{const _0x7d0a73=_0x3bbd55,{row:_0x46e4d9,col:_0x5b3d1e,unitId:_0x1b9e0d,subUnitId:_0x238579,workbook:_0x4b5fb9}=_0x1f963d,_0x3a1849=this[_0x7d0a73(0x2c0)]['getPivotTableCellData'](_0x1b9e0d,_0x238579,_0x46e4d9,_0x5b3d1e);if(!_0x3a1849)return _0x267727(_0x4eef5d);const _0x6029fc={..._0x4eef5d};(_0x3a1849['v']||_0x3a1849['v']===0x0)&&(_0x6029fc['v']=_0x3a1849['v']),_0x3a1849['t']&&(_0x6029fc['t']=_0x3a1849['t']);const _0x1d3969=(typeof(_0x4eef5d==null?void 0x0:_0x4eef5d['s'])==_0x7d0a73(0x1e5)?_0x4b5fb9[_0x7d0a73(0x228)]()['get'](_0x4eef5d==null?void 0x0:_0x4eef5d['s']):_0x4eef5d==null?void 0x0:_0x4eef5d['s'])||{},_0x3b3aa4=_0x4b5fb9[_0x7d0a73(0x228)]()[_0x7d0a73(0x2ab)](_0x3a1849['s']),_0x5b88e6={..._0x3b3aa4,..._0x1d3969};_0x3b3aa4!=null&&_0x3b3aa4['n']&&(_0x5b88e6['n']=_0x3b3aa4['n']);const _0x37eb48=_0x4b5fb9[_0x7d0a73(0x228)]()[_0x7d0a73(0x1bc)](_0x5b88e6);return _0x6029fc['s']=_0x37eb48,(_0x3a1849['pbt']===_0x62c89a[_0x7d0a73(0x28e)]||_0x3a1849['pbt']===_0x62c89a[_0x7d0a73(0x27d)])&&(_0x6029fc[_0x7d0a73(0x26e)]={},_0x6029fc[_0x7d0a73(0x26e)]['leftOffset']=ri),_0x267727(_0x6029fc);}}));}};ie=Yi([Mo(0x0,_0x19db7d(_0x53ec4d)),Mo(0x1,_0x19db7d(Ne))],ie);function Nt(_0x11e60c,_0x1f4de2){const _0xe1f551=_0x33be9b;switch(_0x1f4de2){case _0x3da3e9['Value']:return _0x11e60c['valueFields'];case _0x3da3e9['Filter']:return _0x11e60c[_0xe1f551(0x1a2)];case _0x3da3e9['Row']:return _0x11e60c[_0xe1f551(0x2dc)];case _0x3da3e9[_0xe1f551(0x2be)]:return _0x11e60c[_0xe1f551(0x22b)];default:return[];}}function $e(_0xa0d55f,_0x411a57){const _0x3e628b=_0x33be9b;return _0xa0d55f[_0x3e628b(0x325)][_0x411a57]||_0xa0d55f[_0x3e628b(0x344)][_0x411a57];}function Qi(_0x2a1e0e,_0x248237){const _0x454561=_0x33be9b,{area:_0x49f255,fieldJson:_0x3a129e,index:_0x5503b2}=_0x248237;_0x49f255===_0x3da3e9['Value']?_0x2a1e0e[_0x454561(0x325)][_0x3a129e['id']]=_0x3a129e:_0x2a1e0e[_0x454561(0x344)][_0x3a129e['id']]=_0x3a129e,Nt(_0x2a1e0e,_0x49f255)[_0x454561(0x323)](_0x5503b2,0x0,_0x3a129e['id']);}function Zi(_0x16ab5a,_0x44f6c4){const _0x1e8f9e=_0x33be9b,{area:_0x3a12c9,fieldId:_0x3dc87c,index:_0x56a999}=_0x44f6c4;_0x3a12c9===_0x3da3e9[_0x1e8f9e(0x3ee)]?delete _0x16ab5a[_0x1e8f9e(0x325)][_0x3dc87c]:delete _0x16ab5a[_0x1e8f9e(0x344)][_0x3dc87c],Nt(_0x16ab5a,_0x3a12c9)[_0x1e8f9e(0x323)](_0x56a999,0x1);}function Xi(_0x1550bd,_0x5a2acf){const {fieldId:_0x4573e,name:_0x39365c}=_0x5a2acf,_0x54bcbd=$e(_0x1550bd,_0x4573e);_0x54bcbd&&(_0x54bcbd['displayName']=_0x39365c);}function es(_0x3d9c9e,_0x158955){const _0x2a57ce=_0x33be9b,{fieldId:_0x4604b7,collapse:_0x3b7e6b,item:_0x4ed249}=_0x158955;_0x4ed249!==void 0x0?(_0x3d9c9e['collapseInfo'][_0x4604b7]=_0x3d9c9e[_0x2a57ce(0x240)][_0x4604b7]||{},_0x3d9c9e['collapseInfo'][_0x4604b7][_0x4ed249]=_0x3b7e6b):_0x3d9c9e[_0x2a57ce(0x240)][_0x4604b7]=_0x3b7e6b;}function ts(_0x76ddb0,_0x35f6a2){const _0x44645a=_0x33be9b,{fieldId:_0x5243ad,format:_0x4a72e7}=_0x35f6a2,_0x5f47d0=$e(_0x76ddb0,_0x5243ad);_0x5f47d0&&(_0x5f47d0[_0x44645a(0x40a)]=_0x4a72e7);}function os(_0x3da45e,_0x40154a){const {fieldId:_0x2994f8,filterInfo:_0x5d2ff4}=_0x40154a,_0x5a1267=$e(_0x3da45e,_0x2994f8);_0x5a1267&&(_0x5a1267['filterInfo']=_0x5d2ff4);}function ns(_0x2b3a84,_0x2766b2){const _0x3b2d64=_0x33be9b,{fieldId:_0x166a6d,filterInfo:_0x3de014}=_0x2766b2,_0x5cc64c=_0x2b3a84['valueFilter']['filter'](_0x127efe=>_0x127efe[_0x3b2d64(0x388)]!==_0x166a6d);_0x3de014&&_0x5cc64c[_0x3b2d64(0x391)]({'fieldId':_0x166a6d,'filterInfo':_0x3de014}),_0x2b3a84[_0x3b2d64(0x1da)]=_0x5cc64c;}function is(_0x491b4d,_0x318c3c){const _0x202399=_0x33be9b,{fieldId:_0x41231d,subtotalType:_0x92de11}=_0x318c3c,_0x1fdef2=$e(_0x491b4d,_0x41231d);_0x1fdef2&&(_0x1fdef2[_0x202399(0x30f)]=_0x92de11);}function ss(_0x25e972,_0x5e2c79){const _0x3160d5=_0x33be9b,{fieldId:_0x44655c,oldArea:_0x195ca0,area:_0x428e22,oldIndex:_0xcac154,index:_0x4364d6}=_0x5e2c79,_0x2efa6b=_0x195ca0!==_0x3da3e9[_0x3160d5(0x3ee)]&&_0x428e22===_0x3da3e9['Value'],_0xb9e4a8=_0x195ca0===_0x3da3e9['Value']&&_0x428e22!==_0x3da3e9[_0x3160d5(0x3ee)];if(_0x2efa6b||_0xb9e4a8){const _0x2e8220=$e(_0x25e972,_0x44655c);_0x2e8220&&(_0x2efa6b?(delete _0x25e972[_0x3160d5(0x344)][_0x44655c],_0x25e972[_0x3160d5(0x325)][_0x44655c]=_0x2e8220):(delete _0x25e972[_0x3160d5(0x325)][_0x44655c],_0x25e972[_0x3160d5(0x344)][_0x44655c]=_0x2e8220));}const _0x24c782=Nt(_0x25e972,_0x195ca0),_0x494156=Nt(_0x25e972,_0x428e22);_0x24c782['splice'](_0xcac154,0x1),_0x494156[_0x3160d5(0x323)](_0x4364d6,0x0,_0x44655c);}function as(_0x2138c6,_0x5381c0){const _0x5a026c=_0x33be9b,{valuePosition:_0x28c194,index:_0x57113d}=_0x5381c0;_0x2138c6[_0x5a026c(0x20f)]=_0x28c194,_0x2138c6[_0x5a026c(0x35b)]=_0x57113d;}function rs(_0x492cc8,_0xe579be){const _0x296261=_0x33be9b,{tableFieldId:_0x449d48,sourceName:_0x2f84ed,dataFieldId:_0x61ada7}=_0xe579be,_0xb4d2f4=$e(_0x492cc8,_0x449d48);_0xb4d2f4&&(_0xb4d2f4[_0x296261(0x408)]=_0x2f84ed,_0xb4d2f4[_0x296261(0x2ec)]=_0x61ada7);}function ls(_0xb598e3,_0x3462c5){const _0x90f4f2=_0x33be9b,{fieldId:_0x58c415,sortInfo:_0xd588cc}=_0x3462c5,_0x2e0b81=$e(_0xb598e3,_0x58c415);_0x2e0b81&&(_0x2e0b81[_0x90f4f2(0x1e6)]=_0xd588cc);}function cs(_0x4c3b1c,_0x12f44a){const _0x5133c5=_0x33be9b,{options:_0x3fde86}=_0x12f44a;_0x4c3b1c['options']={..._0x4c3b1c[_0x5133c5(0x361)],..._0x3fde86};}const $t={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':'sheet.mutation.add-pivot-field','handler'(_0x11be36,_0x31d8e8){const _0x5d34a5=_0x33be9b;if(!_0x31d8e8)return!0x1;if(!!_0x11be36[_0x5d34a5(0x2ab)](_0x81aaa3)['getConfig'](q))return!0x0;const _0x2c0577=_0x11be36['get']($),{pivotTableId:_0x14c919,fieldJson:_0x75861a,area:_0x4e46f4,index:_0x40a3d5,unitId:_0x2bed96,subUnitId:_0x3c3f1b}=_0x31d8e8,_0x30ce25=_0x2c0577[_0x5d34a5(0x338)](_0x14c919);if(!_0x30ce25)return!0x1;let _0x14ee8c;_0x4e46f4===_0x3da3e9[_0x5d34a5(0x3ee)]?_0x14ee8c=_0x4eeef1(_0x75861a):_0x14ee8c=_0x357523(_0x75861a),_0x30ce25[_0x5d34a5(0x3dd)](_0x14ee8c,_0x4e46f4,_0x40a3d5);const _0x2b1cea=_0x2c0577[_0x5d34a5(0x2d6)](_0x2bed96,_0x3c3f1b,_0x14c919);Qi(_0x2b1cea,_0x31d8e8);const _0x1370c0=_0x2c0577[_0x5d34a5(0x218)](_0x2bed96,_0x3c3f1b,_0x14c919);return _0x2c0577[_0x5d34a5(0x2b6)]({'unitId':_0x2bed96,'subUnitId':_0x3c3f1b,'token':_0x14c919,'type':B[_0x5d34a5(0x2f0)],'pivotConfig':_0x1370c0}),!0x0;}},Gt={'type':_0x89ac8d['MUTATION'],'id':_0x33be9b(0x38d),'handler'(_0xf358e2,_0x5219b4){const _0x10bc9f=_0x33be9b;if(!_0x5219b4)return!0x1;if(!!_0xf358e2['get'](_0x81aaa3)[_0x10bc9f(0x1e7)](q))return!0x0;const _0x3604e0=_0xf358e2[_0x10bc9f(0x2ab)]($),{pivotTableId:_0x1c6392,fieldId:_0x2b9199,unitId:_0x30ff8,subUnitId:_0x43715d}=_0x5219b4,_0x383d21=_0x3604e0[_0x10bc9f(0x338)](_0x1c6392);if(!_0x383d21)return!0x1;_0x383d21['removeField'](_0x2b9199);const _0xee92af=_0x3604e0[_0x10bc9f(0x2d6)](_0x30ff8,_0x43715d,_0x1c6392);Zi(_0xee92af,_0x5219b4);const _0x2ecd80=_0x3604e0['getPivotTableConfig'](_0x30ff8,_0x43715d,_0x1c6392);return _0x3604e0[_0x10bc9f(0x2b6)]({'unitId':_0x30ff8,'subUnitId':_0x43715d,'token':_0x1c6392,'type':B['Set'],'pivotConfig':_0x2ecd80}),!0x0;}},Wt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x281),'handler'(_0x25249e,_0x42e91d){const _0x36168b=_0x33be9b;if(!_0x42e91d)return!0x1;if(!!_0x25249e['get'](_0x81aaa3)[_0x36168b(0x1e7)](q))return!0x0;const _0x1d0851=_0x25249e[_0x36168b(0x2ab)]($),{unitId:_0x3bff35,subUnitId:_0x4745a8,pivotTableId:_0x23e22f,fieldId:_0x314e93,name:_0x250201}=_0x42e91d,_0x531215=_0x1d0851[_0x36168b(0x338)](_0x23e22f);if(!_0x531215)return!0x1;_0x531215[_0x36168b(0x3a1)](_0x314e93,_0x250201);const _0x3d6915=_0x1d0851[_0x36168b(0x2d6)](_0x3bff35,_0x4745a8,_0x23e22f);return Xi(_0x3d6915,_0x42e91d),_0x1d0851[_0x36168b(0x2b6)]({'unitId':_0x3bff35,'subUnitId':_0x4745a8,'token':_0x23e22f,'type':B[_0x36168b(0x2f0)]}),!0x0;}},jt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x544054,_0x520791){const _0x304313=_0x33be9b;if(!_0x520791)return!0x1;if(!!_0x544054[_0x304313(0x2ab)](_0x81aaa3)[_0x304313(0x1e7)](q))return!0x0;const _0x32efb1=_0x544054[_0x304313(0x2ab)]($),{unitId:_0x1f64eb,subUnitId:_0x56cf62,pivotTableId:_0x11939c,fieldId:_0x409569,collapse:_0x23199b,item:_0x2174d7}=_0x520791,_0x2d31fc=_0x32efb1[_0x304313(0x338)](_0x11939c);if(!_0x2d31fc)return!0x1;_0x2d31fc[_0x304313(0x2d8)](_0x409569,_0x23199b,_0x2174d7);const _0x39983e=_0x32efb1[_0x304313(0x2d6)](_0x1f64eb,_0x56cf62,_0x11939c);return es(_0x39983e,_0x520791),_0x32efb1[_0x304313(0x2b6)]({'unitId':_0x1f64eb,'subUnitId':_0x56cf62,'token':_0x11939c,'type':B['Set']}),!0x0;}},Kt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x40d),'handler'(_0x143d5b,_0x47be96){const _0x267f94=_0x33be9b;if(!_0x47be96)return!0x1;if(!!_0x143d5b[_0x267f94(0x2ab)](_0x81aaa3)[_0x267f94(0x1e7)](q))return!0x0;const _0x1c04d3=_0x143d5b[_0x267f94(0x2ab)]($),{unitId:_0x5bc14e,subUnitId:_0x46a1eb,pivotTableId:_0x446402,fieldId:_0x789bb7,format:_0x2a021d}=_0x47be96,_0x41cd0b=_0x1c04d3[_0x267f94(0x338)](_0x446402);if(!_0x41cd0b)return!0x1;_0x41cd0b[_0x267f94(0x3e1)](_0x789bb7,_0x2a021d);const _0x44fc12=_0x1c04d3['getPivotTableModelConfig'](_0x5bc14e,_0x46a1eb,_0x446402);return ts(_0x44fc12,_0x47be96),_0x1c04d3[_0x267f94(0x2b6)]({'unitId':_0x5bc14e,'subUnitId':_0x46a1eb,'token':_0x446402,'type':B[_0x267f94(0x2f0)]}),!0x0;}},Ht={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x395),'handler'(_0x2cb4f4,_0x171e70){const _0x46a0de=_0x33be9b;if(!_0x171e70)return!0x1;if(!!_0x2cb4f4[_0x46a0de(0x2ab)](_0x81aaa3)[_0x46a0de(0x1e7)](q))return!0x0;const _0x193f47=_0x2cb4f4[_0x46a0de(0x2ab)]($),{unitId:_0x482586,subUnitId:_0x31ce5d,pivotTableId:_0x2f5866,fieldId:_0x2736f6,filterInfo:_0x2f2531}=_0x171e70,_0x478185=_0x193f47['getPivotTableInstance'](_0x2f5866);if(!_0x478185)return!0x1;_0x478185[_0x46a0de(0x2da)](_0x2736f6,_0x2f2531);const _0x31e227=_0x193f47[_0x46a0de(0x2d6)](_0x482586,_0x31ce5d,_0x2f5866);return os(_0x31e227,_0x171e70),_0x193f47[_0x46a0de(0x2b6)]({'unitId':_0x482586,'subUnitId':_0x31ce5d,'token':_0x2f5866,'type':B[_0x46a0de(0x2f0)]}),!0x0;}},qt={'type':_0x89ac8d['MUTATION'],'id':_0x33be9b(0x34a),'handler'(_0x430ebb,_0xf9032e){const _0x4491ef=_0x33be9b;if(!_0xf9032e)return!0x1;if(!!_0x430ebb[_0x4491ef(0x2ab)](_0x81aaa3)['getConfig'](q))return!0x0;const _0x57d642=_0x430ebb['get']($),{unitId:_0x419db8,subUnitId:_0x3bf666,pivotTableId:_0x25205c,options:_0x43aa49}=_0xf9032e,_0x3ad5ab=_0x57d642[_0x4491ef(0x338)](_0x25205c);if(!_0x3ad5ab)return!0x1;_0x3ad5ab[_0x4491ef(0x22e)](_0x43aa49);const _0x51d969=_0x57d642[_0x4491ef(0x2d6)](_0x419db8,_0x3bf666,_0x25205c);return cs(_0x51d969,_0xf9032e),_0x57d642[_0x4491ef(0x2b6)]({'unitId':_0x419db8,'subUnitId':_0x3bf666,'token':_0x25205c,'type':B[_0x4491ef(0x2f0)]}),!0x0;}},zt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x3bc),'handler'(_0x15e390,_0x2e6911){const _0x3e8481=_0x33be9b;if(!_0x2e6911)return!0x1;if(!!_0x15e390['get'](_0x81aaa3)[_0x3e8481(0x1e7)](q))return!0x0;const _0x4a150a=_0x15e390['get']($),{unitId:_0x5460a6,subUnitId:_0x59fe76,pivotTableId:_0x2e0c63,sortInfo:_0x35005c,fieldId:_0x4277d5}=_0x2e6911,_0x4b4579=_0x4a150a[_0x3e8481(0x338)](_0x2e0c63);if(!_0x4b4579)return!0x1;_0x4b4579['setSortInfo'](_0x4277d5,_0x35005c);const _0x2801c0=_0x4a150a[_0x3e8481(0x2d6)](_0x5460a6,_0x59fe76,_0x2e0c63);return ls(_0x2801c0,_0x2e6911),_0x4a150a[_0x3e8481(0x2b6)]({'unitId':_0x5460a6,'subUnitId':_0x59fe76,'token':_0x2e0c63,'type':B[_0x3e8481(0x2f0)]}),!0x0;}},Yt={'type':_0x89ac8d['MUTATION'],'id':_0x33be9b(0x41d),'handler'(_0x5a52a6,_0x1b8ac3){const _0x52d39c=_0x33be9b;if(!_0x1b8ac3)return!0x1;if(!!_0x5a52a6[_0x52d39c(0x2ab)](_0x81aaa3)[_0x52d39c(0x1e7)](q))return!0x0;const _0x31df4c=_0x5a52a6[_0x52d39c(0x2ab)]($),{unitId:_0x2603e6,subUnitId:_0x3162ce,pivotTableId:_0x1c9ed6,fieldId:_0x564ebb,subtotalType:_0x137aaf}=_0x1b8ac3,_0x573c94=_0x31df4c[_0x52d39c(0x338)](_0x1c9ed6);if(!_0x573c94)return!0x1;_0x573c94['setSubtotalType'](_0x564ebb,_0x137aaf);const _0x25a415=_0x31df4c[_0x52d39c(0x2d6)](_0x2603e6,_0x3162ce,_0x1c9ed6);return is(_0x25a415,_0x1b8ac3),_0x31df4c[_0x52d39c(0x2b6)]({'unitId':_0x2603e6,'subUnitId':_0x3162ce,'token':_0x1c9ed6,'type':B['Set']}),!0x0;}},Qt={'type':_0x89ac8d['MUTATION'],'id':_0x33be9b(0x2c2),'handler'(_0x5a3d83,_0x19277f){const _0xb22ad0=_0x33be9b;if(!_0x19277f)return!0x1;if(!!_0x5a3d83[_0xb22ad0(0x2ab)](_0x81aaa3)[_0xb22ad0(0x1e7)](q))return!0x0;const _0x247384=_0x5a3d83[_0xb22ad0(0x2ab)]($),{unitId:_0x112d01,subUnitId:_0x511156,pivotTableId:_0x3145cf,fieldId:_0x2b104e,filterInfo:_0x3b3b97}=_0x19277f,_0x1c6afc=_0x247384['getPivotTableInstance'](_0x3145cf);if(!_0x1c6afc)return!0x1;_0x1c6afc[_0xb22ad0(0x1c5)](_0x2b104e,_0x3b3b97);const _0xc63f9=_0x247384[_0xb22ad0(0x2d6)](_0x112d01,_0x511156,_0x3145cf);return ns(_0xc63f9,_0x19277f),_0x247384[_0xb22ad0(0x2b6)]({'unitId':_0x112d01,'subUnitId':_0x511156,'token':_0x3145cf,'type':B[_0xb22ad0(0x2f0)]}),!0x0;}},Zt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x216),'handler'(_0x353186,_0x589571){const _0x3d6bc1=_0x33be9b;if(!_0x589571)return!0x1;if(!!_0x353186[_0x3d6bc1(0x2ab)](_0x81aaa3)[_0x3d6bc1(0x1e7)](q))return!0x0;const _0x4ea140=_0x353186[_0x3d6bc1(0x2ab)]($),{unitId:_0x379c55,subUnitId:_0x3e4460,pivotTableId:_0x4a6ed6,area:_0x3d5445,index:_0x395d2,fieldId:_0xc786d9}=_0x589571,_0x4dbbfc=_0x4ea140[_0x3d6bc1(0x338)](_0x4a6ed6);if(!_0x4dbbfc)return!0x1;_0x4dbbfc[_0x3d6bc1(0x3be)](_0xc786d9,_0x3d5445,_0x395d2);const _0x32a2ae=_0x4ea140[_0x3d6bc1(0x2d6)](_0x379c55,_0x3e4460,_0x4a6ed6);return ss(_0x32a2ae,_0x589571),_0x4ea140[_0x3d6bc1(0x2b6)]({'unitId':_0x379c55,'subUnitId':_0x3e4460,'token':_0x4a6ed6,'type':B[_0x3d6bc1(0x2f0)]}),!0x0;}},Xt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x3aa),'handler'(_0x19dd3d,_0x562f00){const _0x35829d=_0x33be9b;if(!_0x562f00)return!0x1;if(!!_0x19dd3d[_0x35829d(0x2ab)](_0x81aaa3)['getConfig'](q))return!0x0;const _0x5e88b8=_0x19dd3d[_0x35829d(0x2ab)]($),{unitId:_0x14da32,subUnitId:_0x3a4ffc,pivotTableId:_0x39116f,sourceName:_0x28ce20,dataFieldId:_0x2514f6,tableFieldId:_0x1ce68e}=_0x562f00,_0x3b6740=_0x5e88b8['getPivotTableInstance'](_0x39116f);if(!_0x3b6740)return!0x1;_0x3b6740['updateFieldSourceInfo'](_0x1ce68e,_0x28ce20,_0x2514f6);const _0x126766=_0x5e88b8[_0x35829d(0x2d6)](_0x14da32,_0x3a4ffc,_0x39116f);return rs(_0x126766,_0x562f00),_0x5e88b8['addDirtyPivotTable']({'unitId':_0x14da32,'subUnitId':_0x3a4ffc,'token':_0x39116f,'type':B[_0x35829d(0x2f0)]}),!0x0;}},eo={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x27def4,_0x2fb424){const _0x3c73e6=_0x33be9b;if(!_0x2fb424)return!0x1;if(!!_0x27def4[_0x3c73e6(0x2ab)](_0x81aaa3)[_0x3c73e6(0x1e7)](q))return!0x0;const _0x8e8f92=_0x27def4['get']($),{unitId:_0x15c2e9,subUnitId:_0x61877e,pivotTableId:_0x45da70,valuePosition:_0x3b524a,index:_0x5bed2a}=_0x2fb424,_0x144671=_0x8e8f92[_0x3c73e6(0x338)](_0x45da70);if(!_0x144671)return!0x1;_0x144671[_0x3c73e6(0x26a)](_0x3b524a,_0x5bed2a);const _0x5622b6=_0x8e8f92[_0x3c73e6(0x2d6)](_0x15c2e9,_0x61877e,_0x45da70);return as(_0x5622b6,_0x2fb424),_0x8e8f92[_0x3c73e6(0x2b6)]({'unitId':_0x15c2e9,'subUnitId':_0x61877e,'token':_0x45da70,'type':B[_0x3c73e6(0x2f0)]}),!0x0;}};function me(_0x492598,_0x4e015a,_0x57b689){const _0x2ac1cd=_0x33be9b,{pivotTableId:_0x2cd19f,unitId:_0x1879ab,subUnitId:_0x257bd9}=_0x4e015a,_0x33d3ae=[],_0x5754a8=[];for(const _0x8dfa85 of _0x57b689)switch(_0x8dfa85[_0x2ac1cd(0x247)]){case _0x3509ac[_0x2ac1cd(0x25c)]:{const {fieldJson:_0xb4b502,area:_0x56c6eb,index:_0xb39888}=_0x8dfa85,_0x1b380e={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldJson':_0xb4b502,'area':_0x56c6eb,'index':_0xb39888},_0x3c11cb={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0xb4b502['id'],'area':_0x56c6eb,'index':_0xb39888};_0x33d3ae['push']({'id':$t['id'],'params':_0x1b380e}),_0x5754a8[_0x2ac1cd(0x2f7)]({'id':Gt['id'],'params':_0x3c11cb});}break;case _0x3509ac[_0x2ac1cd(0x1a0)]:{const {fieldId:_0x327e81,newSubtotalType:_0x5a2070,oldSubtotalType:_0x337e6d}=_0x8dfa85,_0x188806={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x327e81,'subtotalType':_0x5a2070};_0x33d3ae[_0x2ac1cd(0x391)]({'id':Yt['id'],'params':_0x188806});const _0x237cad={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x327e81,'subtotalType':_0x337e6d};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':Yt['id'],'params':_0x237cad});}break;case _0x3509ac[_0x2ac1cd(0x21a)]:{const {fieldId:_0x7274aa,fieldJson:_0x4c2cf5,area:_0x350626,index:_0xe8e83d}=_0x8dfa85,_0x213eb5={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x7274aa,'index':_0xe8e83d,'area':_0x350626};_0x33d3ae[_0x2ac1cd(0x391)]({'id':Gt['id'],'params':_0x213eb5});const _0x42c844={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldJson':_0x4c2cf5,'area':_0x350626,'index':_0xe8e83d};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':$t['id'],'params':_0x42c844});}break;case _0x3509ac[_0x2ac1cd(0x423)]:{const {fieldId:_0x4fd7aa,oldName:_0x36fe0a,newName:_0xdb46cf}=_0x8dfa85,_0x3dfc74={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x4fd7aa,'name':_0xdb46cf};_0x33d3ae['push']({'id':Wt['id'],'params':_0x3dfc74});const _0x49c220={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x4fd7aa,'name':_0x36fe0a};_0x5754a8['unshift']({'id':Wt['id'],'params':_0x49c220});}break;case _0x3509ac[_0x2ac1cd(0x227)]:{const {fieldId:_0x1f60ed,oldFilterInfo:_0x3b4070,newFilterInfo:_0x3d52d0}=_0x8dfa85,_0x25a6f4={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x1f60ed,'filterInfo':_0x3d52d0};_0x33d3ae[_0x2ac1cd(0x391)]({'id':Ht['id'],'params':_0x25a6f4});const _0x5dd8ff={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x1f60ed,'filterInfo':_0x3b4070};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':Ht['id'],'params':_0x5dd8ff});}break;case _0x3509ac[_0x2ac1cd(0x39c)]:{const {fieldId:_0x2795bf,oldSortInfo:_0x2eed68,newSortInfo:_0x3f7265}=_0x8dfa85,_0x33c4e7={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x2795bf,'sortInfo':_0x3f7265};_0x33d3ae[_0x2ac1cd(0x391)]({'id':zt['id'],'params':_0x33c4e7});const _0x1823a0={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x2795bf,'sortInfo':_0x2eed68};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':zt['id'],'params':_0x1823a0});}break;case _0x3509ac[_0x2ac1cd(0x3a5)]:{const {oldOptions:_0x4dc10a,newOptions:_0x3ee817}=_0x8dfa85,_0x4022dc={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'options':_0x3ee817};_0x33d3ae[_0x2ac1cd(0x391)]({'id':qt['id'],'params':_0x4022dc});const _0x3b747a={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'options':_0x4dc10a};_0x5754a8['unshift']({'id':qt['id'],'params':_0x3b747a});}break;case _0x3509ac[_0x2ac1cd(0x38f)]:{const {oldArea:_0x3c7226,newArea:_0x5bd499,oldIndex:_0x325ed0,newIndex:_0x1cf4c2,fieldId:_0x578213}=_0x8dfa85,_0x1829e7={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x578213,'area':_0x5bd499,'index':_0x1cf4c2,'oldArea':_0x3c7226,'oldIndex':_0x325ed0};_0x33d3ae[_0x2ac1cd(0x391)]({'id':Zt['id'],'params':_0x1829e7});const _0x15b074={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x578213,'area':_0x3c7226,'index':_0x325ed0,'oldArea':_0x5bd499,'oldIndex':_0x1cf4c2};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':Zt['id'],'params':_0x15b074});}break;case _0x3509ac[_0x2ac1cd(0x2a7)]:{const {oldValuePosition:_0x21bbd1,newValuePosition:_0x1a123e,oldIndex:_0x4dc242,newIndex:_0x6b5094}=_0x8dfa85,_0x458d28={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'valuePosition':_0x1a123e,'index':_0x6b5094};_0x33d3ae[_0x2ac1cd(0x391)]({'id':eo['id'],'params':_0x458d28});const _0xcf7b0f={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'valuePosition':_0x21bbd1,'index':_0x4dc242};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':eo['id'],'params':_0xcf7b0f});}break;case _0x3509ac['SetCollapse']:{const {fieldId:_0x1bc9d3,collapse:_0x596b30,item:_0x16902a}=_0x8dfa85,_0x3f06f2={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x1bc9d3,'collapse':_0x596b30,'item':_0x16902a};_0x33d3ae[_0x2ac1cd(0x391)]({'id':jt['id'],'params':_0x3f06f2});const _0x324cb9={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x1bc9d3,'collapse':!_0x596b30,'item':_0x16902a};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':jt['id'],'params':_0x324cb9});}break;case _0x3509ac['SetFieldFormat']:{const {newFormat:_0x117411,oldFormat:_0x5379f0,fieldId:_0x4c548a}=_0x8dfa85,_0xba4ddd={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x4c548a,'format':_0x117411};_0x33d3ae['push']({'id':Kt['id'],'params':_0xba4ddd});const _0x3e50a9={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x4c548a,'format':_0x5379f0};_0x5754a8['unshift']({'id':Kt['id'],'params':_0x3e50a9});}break;case _0x3509ac[_0x2ac1cd(0x258)]:{const {tableFieldId:_0x4fee54,oldSourceName:_0x25401e,newSourceName:_0x5bbbcf,oldDataFieldId:_0x116c2f,newDataFieldId:_0x16dc6a}=_0x8dfa85,_0x145476={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'tableFieldId':_0x4fee54,'sourceName':_0x5bbbcf,'dataFieldId':_0x16dc6a};_0x33d3ae[_0x2ac1cd(0x391)]({'id':Xt['id'],'params':_0x145476});const _0x332643={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'tableFieldId':_0x4fee54,'sourceName':_0x25401e,'dataFieldId':_0x116c2f};_0x5754a8['unshift']({'id':Xt['id'],'params':_0x332643});}break;case _0x3509ac['SetValueFilter']:{const {fieldId:_0x513fdb,filterInfo:_0x26d245,oldFilterInfo:_0x1c7e6f}=_0x8dfa85,_0x22c9e3={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x513fdb,'filterInfo':_0x26d245};_0x33d3ae[_0x2ac1cd(0x391)]({'id':Qt['id'],'params':_0x22c9e3});const _0x566e1b={'unitId':_0x1879ab,'subUnitId':_0x257bd9,'pivotTableId':_0x2cd19f,'fieldId':_0x513fdb,'filterInfo':_0x1c7e6f};_0x5754a8[_0x2ac1cd(0x2f7)]({'id':Qt['id'],'params':_0x566e1b});}}return{'redos':_0x33d3ae,'undos':_0x5754a8};}function Re(_0x1220d0,_0x1a06fb){const _0x1bff0f=_0x33be9b;var _0x43cb5e;const _0x4aa202=_0x1220d0['get'](ie),{cellInfo:_0x294041,view:_0x7c710d,isEmpty:_0x1e4473}=_0x1a06fb;return(_0x43cb5e=_0x4aa202[_0x1bff0f(0x23d)][_0x1bff0f(0x3d2)](Bo)(Po,{'cellInfo':_0x294041,'view':_0x7c710d,'isEmpty':_0x1e4473}))!=null?_0x43cb5e:Po;}const ds=()=>typeof process<'u'&&process[_0x33be9b(0x3b8)]!=null&&process[_0x33be9b(0x3b8)][_0x33be9b(0x2c1)]!=null,Ct={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x1c9),'handler'(_0x2243a1,_0x33ab02){const _0x3c1117=_0x33be9b;var _0x50ef6c;if(!_0x33ab02)return!0x1;const _0x7e3798=_0x2243a1[_0x3c1117(0x2ab)](_0x81aaa3);if(!!_0x7e3798[_0x3c1117(0x1e7)](q))return!0x0;const _0x34bfd0=_0x2243a1['get'](_0x19012d),_0x1294a3=_0x2243a1[_0x3c1117(0x2ab)]($),{pivotTableId:_0x3cd805,pivotTableConfig:_0x22e2e4,collectionConfig:_0x30cc35,unitId:_0x4da338,subUnitId:_0x4ba1e0}=_0x33ab02,{sourceRangeInfo:_0x4b32af,fieldsConfig:_0x1ab515,targetCellInfo:_0x55bd35}=_0x22e2e4,_0x1be1e7=_0x34bfd0[_0x3c1117(0x3d4)](_0x4da338);if(!_0x1be1e7||!_0x1be1e7[_0x3c1117(0x424)](_0x4ba1e0))return!0x1;if(!ds()){let _0xd3c2c1=0x0;_0x1be1e7[_0x3c1117(0x2a5)]()[_0x3c1117(0x267)](_0x2e719a=>{const _0x32c934=_0x3c1117;var _0x13da0a,_0x5df6a3;_0xd3c2c1+=(_0x5df6a3=(_0x13da0a=_0x1294a3['getSubUnitPivotConfigs'](_0x4da338,_0x2e719a[_0x32c934(0x319)]()))==null?void 0x0:_0x13da0a['size'])!=null?_0x5df6a3:0x0;});const _0x22db85=(_0x50ef6c=_0x7e3798[_0x3c1117(0x1e7)](_0x360605))!=null?_0x50ef6c:{},{ls:_0x2707b1,pbk:_0x11928f}=_0x22db85;if(!jo(_0x2707b1,_0x11928f))throw new _0x528105(_0x3c1117(0x331));const _0x519b5c=go(so,_0x2707b1,_0x11928f)[_0x3c1117(0x3b1)];if(_0xd3c2c1>=_0x519b5c)throw new _0x528105('limit\x20pivot');}if(!_0x30cc35||!_0x1ab515)return!0x1;const {collection:_0x43c228,updateDataFieldList:_0x1ee578}=_0x1294a3[_0x3c1117(0x1cf)](_0x3cd805,_0x30cc35,_0x4b32af,_0x55bd35);_0x1294a3['refreshData'](_0x43c228,_0x1ee578,_0x4b32af);const _0x4e406a=new _0x4481fc(_0x43c228,void 0x0,_0x3cd805);_0x4e406a[_0x3c1117(0x269)](_0x1ab515);const _0x3d5a13=JSON['parse'](JSON['stringify'](_0x22e2e4));return _0x1294a3['addPivotTable'](_0x4da338,_0x4ba1e0,_0x3cd805,_0x4e406a,_0x3d5a13),_0x1294a3[_0x3c1117(0x2b6)]({'unitId':_0x4da338,'subUnitId':_0x4ba1e0,'token':_0x3cd805,'type':B[_0x3c1117(0x298)],'pivotConfig':_0x3d5a13}),!0x0;}},At={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x1bd),'handler'(_0x1fe1e7,_0x366157){const _0x551558=_0x33be9b;if(!_0x366157)return!0x1;if(!!_0x1fe1e7[_0x551558(0x2ab)](_0x81aaa3)[_0x551558(0x1e7)](q))return!0x0;const {pivotTableId:_0x2dbe28,unitId:_0x58cdcc,subUnitId:_0x22c1b3}=_0x366157,_0x2deb8c=_0x1fe1e7['get']($);return _0x2deb8c['getPivotTableConfig'](_0x58cdcc,_0x22c1b3,_0x2dbe28)?(_0x2deb8c['addDirtyPivotTable']({'unitId':_0x58cdcc,'subUnitId':_0x22c1b3,'token':_0x2dbe28,'type':B[_0x551558(0x21b)]}),_0x2deb8c[_0x551558(0x3c6)](_0x58cdcc,_0x22c1b3,_0x2dbe28),!0x0):!0x1;}},pt={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x3ea),'handler'(_0x28bf45,_0x51eb3f){const _0x59f7d5=_0x33be9b;if(!_0x51eb3f)return!0x1;if(!!_0x28bf45[_0x59f7d5(0x2ab)](_0x81aaa3)[_0x59f7d5(0x1e7)](q))return!0x0;const {pivotTableId:_0x321e4c,targetCellPosition:_0x1d21f3,unitId:_0x405263,subUnitId:_0xf935dd}=_0x51eb3f,_0x44754a=_0x28bf45['get']($);if(!_0x44754a[_0x59f7d5(0x338)](_0x51eb3f[_0x59f7d5(0x201)]))return!0x1;const _0x2a7991=_0x44754a[_0x59f7d5(0x1cb)](_0x321e4c);if(!_0x2a7991)return!0x1;const _0x319b5a=_0x44754a['getCollection'](_0x2a7991[_0x59f7d5(0x35a)],_0x51eb3f[_0x59f7d5(0x201)]);if(!_0x319b5a)return!0x1;const _0x4a66bf=_0x44754a[_0x59f7d5(0x218)](_0x2a7991[_0x59f7d5(0x35a)],_0x2a7991[_0x59f7d5(0x1a6)],_0x321e4c);if(!_0x4a66bf)return!0x1;const _0x589835=_0x28e9d0[_0x59f7d5(0x3ab)](_0x4a66bf);_0x589835[_0x59f7d5(0x3df)]={'unitId':_0x405263,'subUnitId':_0xf935dd,'row':_0x1d21f3[_0x59f7d5(0x3ff)],'col':_0x1d21f3[_0x59f7d5(0x2a0)]};const _0x599bd0=_0x319b5a[_0x59f7d5(0x3c8)]();if(_0x2a7991['subUnitId']===_0xf935dd&&_0x2a7991[_0x59f7d5(0x35a)]===_0x405263)_0x44754a[_0x59f7d5(0x34f)](_0x405263,_0xf935dd,_0x321e4c,_0x589835),_0x44754a[_0x59f7d5(0x2b6)]({'unitId':_0x405263,'subUnitId':_0xf935dd,'token':_0x321e4c,'type':B[_0x59f7d5(0x2f0)]});else{_0x44754a['addDirtyPivotTable']({'unitId':_0x2a7991['unitId'],'subUnitId':_0x2a7991[_0x59f7d5(0x1a6)],'token':_0x321e4c,'type':B[_0x59f7d5(0x21b)]}),_0x44754a[_0x59f7d5(0x3c6)](_0x2a7991[_0x59f7d5(0x35a)],_0x2a7991[_0x59f7d5(0x1a6)],_0x321e4c);const _0x1c3a72=_0x44754a[_0x59f7d5(0x1cf)](_0x321e4c,_0x599bd0,_0x4a66bf[_0x59f7d5(0x3d1)],_0x589835[_0x59f7d5(0x3df)]),_0x343ed3=new _0x4481fc(_0x1c3a72[_0x59f7d5(0x1bb)],void 0x0,_0x321e4c);_0x343ed3[_0x59f7d5(0x269)](_0x589835[_0x59f7d5(0x29f)]),_0x44754a[_0x59f7d5(0x2fc)](_0x405263,_0xf935dd,_0x321e4c,_0x343ed3,_0x589835),_0x44754a[_0x59f7d5(0x2b6)]({'unitId':_0x405263,'subUnitId':_0xf935dd,'token':_0x321e4c,'type':B[_0x59f7d5(0x298)],'pivotConfig':_0x589835});}return!0x0;}},to={'type':_0x89ac8d[_0x33be9b(0x1af)],'id':_0x33be9b(0x3a0),'handler'(_0x5409a5,_0x1b2978){const _0x12f48b=_0x33be9b;if(!_0x1b2978)return!0x1;if(!!_0x5409a5[_0x12f48b(0x2ab)](_0x81aaa3)[_0x12f48b(0x1e7)](q))return!0x0;const _0x33b52e=_0x5409a5['get']($),{pivotTableId:_0x1ea2f7,deleteIds:_0x27374b,collectionJSON:_0x295a02,dataRangeInfo:_0x2b0211,unitId:_0x524ac3,subUnitId:_0x56a8b9}=_0x1b2978,_0x49769e=_0x33b52e['getPivotTableInstance'](_0x1ea2f7),_0x59272f=_0x33b52e[_0x12f48b(0x218)](_0x524ac3,_0x56a8b9,_0x1ea2f7);if(!_0x49769e||!_0x59272f)return!0x1;const {collection:_0x5af6a1,updateDataFieldList:_0x48d217}=_0x33b52e[_0x12f48b(0x1cf)](_0x1ea2f7,_0x295a02,_0x2b0211,_0x59272f[_0x12f48b(0x3df)]);_0x33b52e['refreshData'](_0x5af6a1,_0x48d217,_0x2b0211),_0x49769e[_0x12f48b(0x25a)](_0x5af6a1);for(const _0x19544d of _0x27374b)_0x33b52e[_0x12f48b(0x25d)](_0x2b0211[_0x12f48b(0x35a)],_0x19544d);const _0x33d7a7=_0x33b52e[_0x12f48b(0x218)](_0x524ac3,_0x56a8b9,_0x1ea2f7);return _0x33d7a7[_0x12f48b(0x3d1)]=JSON['parse'](JSON[_0x12f48b(0x1d5)](_0x2b0211)),_0x33b52e[_0x12f48b(0x2b6)]({'unitId':_0x524ac3,'subUnitId':_0x56a8b9,'token':_0x1ea2f7,'type':B[_0x12f48b(0x2f0)]}),!0x0;}},Ut={'type':_0x89ac8d['MUTATION'],'id':_0x33be9b(0x3e0),'handler'(){return!0x0;}};var us=Object[_0x33be9b(0x229)],fs=(_0x3a306c,_0x34e5eb,_0x38814a,_0x18aa38)=>{const _0x3694f6=_0x33be9b;for(var _0x37c86a=_0x18aa38>0x1?void 0x0:_0x18aa38?us(_0x34e5eb,_0x38814a):_0x34e5eb,_0x24d184=_0x3a306c[_0x3694f6(0x276)]-0x1,_0x2eb099;_0x24d184>=0x0;_0x24d184--)(_0x2eb099=_0x3a306c[_0x24d184])&&(_0x37c86a=_0x2eb099(_0x37c86a)||_0x37c86a);return _0x37c86a;},gs=(_0x3818ae,_0x5310a4)=>(_0x55d005,_0x49b273)=>_0x5310a4(_0x55d005,_0x49b273,_0x3818ae);let X=class extends _0x5f1b0a{constructor(_0x506151){const _0x1bb5cd=_0x33be9b;super(),U(this,'_requestResolvers',new Map()),this[_0x1bb5cd(0x24a)]=_0x506151;}[_0x33be9b(0x233)](_0x231e7c){const _0x39ff1d=_0x33be9b,{version:_0x5f4f1f}=_0x231e7c,_0xd50822=this[_0x39ff1d(0x2f8)]['get'](_0x5f4f1f);_0xd50822&&(_0xd50822(_0x231e7c),this[_0x39ff1d(0x2f8)]['delete'](_0x5f4f1f));}[_0x33be9b(0x3bf)](_0x3d1ba8){return new Promise((_0x2ae937,_0x175966)=>{const _0x1969c0=_0x40aa,_0x5b9edd=this[_0x1969c0(0x263)]();this['_requestResolvers'][_0x1969c0(0x22c)](_0x5b9edd,_0x2ae937),this['_commandService'][_0x1969c0(0x1e2)](ro['id'],{'version':_0x5b9edd,..._0x3d1ba8},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x3a760a=_0x33be9b;return Math[_0x3a760a(0x262)]()[_0x3a760a(0x282)](0x24)[_0x3a760a(0x1c8)](0x2,0x10);}};X=fs([gs(0x0,_0x19db7d(_0x5666d8))],X);const zo={'id':_0x33be9b(0x394),'type':_0x89ac8d[_0x33be9b(0x1af)],'handler':(_0x2bc3c3,_0x2557c2)=>{const _0x331431=_0x33be9b;if(!_0x2557c2)return!0x1;if(!!_0x2bc3c3[_0x331431(0x2ab)](_0x81aaa3)[_0x331431(0x1e7)](q))return!0x0;const {pivotTableId:_0x15fe77,fieldJSON:_0x455f72,unitId:_0x56d014,subUnitId:_0x13fa1f}=_0x2557c2,_0x4a993f=_0x490cae[_0x331431(0x269)](_0x455f72);if(!_0x4a993f)return!0x1;const _0x5342fe=_0x2bc3c3[_0x331431(0x2ab)]($),_0x1bcd0b=_0x5342fe[_0x331431(0x347)](_0x56d014),_0x313af5=_0x1bcd0b['getCollection'](_0x15fe77);_0x1bcd0b[_0x331431(0x1fc)](_0x4a993f),_0x313af5['addField'](_0x4a993f[_0x331431(0x333)](),_0x4a993f[_0x331431(0x202)]());const _0x367d57=_0x313af5[_0x331431(0x40e)](_0x4a993f[_0x331431(0x2d9)]());_0x367d57&&_0x4a993f[_0x331431(0x307)](_0x367d57);const _0x1e5e12=_0x5342fe[_0x331431(0x218)](_0x56d014,_0x13fa1f,_0x15fe77);return _0x5342fe[_0x331431(0x2b6)]({'unitId':_0x56d014,'subUnitId':_0x13fa1f,'token':_0x15fe77,'type':B[_0x331431(0x2f0)],'pivotConfig':_0x1e5e12}),!0x0;}},Yo={'id':_0x33be9b(0x2af),'type':_0x89ac8d[_0x33be9b(0x1af)],'handler':(_0x2dfe27,_0x4a5d7a)=>{const _0x2bcee3=_0x33be9b;if(!_0x4a5d7a)return!0x1;if(!!_0x2dfe27[_0x2bcee3(0x2ab)](_0x81aaa3)['getConfig'](q))return!0x0;const {pivotTableId:_0x33c9ff,dataFieldId:_0xe6d8d6,unitId:_0x3a6ccb,subUnitId:_0xafbd30}=_0x4a5d7a,_0x419a8a=_0x2dfe27[_0x2bcee3(0x2ab)]($),_0x47379c=_0x419a8a[_0x2bcee3(0x347)](_0x3a6ccb);_0x47379c[_0x2bcee3(0x300)](_0x33c9ff)[_0x2bcee3(0x27b)](_0xe6d8d6);let _0x558584=!0x0;for(const _0x174a01 in _0x47379c['collections'])if(_0x47379c[_0x2bcee3(0x382)][_0x174a01]['getFieldIds']()['includes'](_0xe6d8d6)){_0x558584=!0x1;break;}_0x558584&&_0x47379c[_0x2bcee3(0x1b2)](_0xe6d8d6);const _0x1a7d66=_0x419a8a[_0x2bcee3(0x218)](_0x3a6ccb,_0xafbd30,_0x33c9ff);return _0x419a8a[_0x2bcee3(0x2b6)]({'unitId':_0x3a6ccb,'subUnitId':_0xafbd30,'token':_0x33c9ff,'type':B['Set'],'pivotConfig':_0x1a7d66}),!0x0;}},vs={'type':_0x89ac8d['COMMAND'],'id':_0x33be9b(0x342),async 'handler'(_0x3db93a,_0x434b86){const _0x207f18=_0x33be9b;if(!_0x434b86)return!0x1;const _0x26098c=_0x3db93a[_0x207f18(0x2ab)](_0x5666d8),_0x458ed2=_0x3db93a[_0x207f18(0x2ab)](X),_0x3aff4a=_0x3db93a['get'](_0xa9dd1e),{pivotTableId:_0x27b000,dataFieldId:_0x1c9d41,fieldArea:_0x1b612f,index:_0x15cc9c,unitId:_0x5c5514,subUnitId:_0x3ceb77}=_0x434b86,_0x2d3ff1=(await _0x458ed2[_0x207f18(0x3bf)]({'unitId':_0x5c5514,'subUnitId':_0x3ceb77,'pivotTableId':_0x27b000,'params':{'type':L[_0x207f18(0x2d7)],'addPivotField':{'dataFieldId':_0x1c9d41,'fieldArea':_0x1b612f,'index':_0x15cc9c}}}))['result'][_0x207f18(0x28f)];if(!_0x2d3ff1)return!0x1;const {view:_0x54b23e,changesets:_0x4dec06,isEmpty:_0xf8f9d6,pivotTableConfig:_0x390983,shouldBeAddedGroupJSON:_0x5cc4f0}=_0x2d3ff1,_0x22ad4e=_0x390983[_0x207f18(0x3df)],_0x3f2619=new _0x461abd();_0x3f2619[_0x207f18(0x3f5)](_0x54b23e);const _0x38728b={'cellInfo':_0x22ad4e,'view':_0x3f2619,'isEmpty':_0xf8f9d6};if(!await _0x3db93a['get'](ie)[_0x207f18(0x27c)][_0x207f18(0x40b)](be)(!0x0,_0x38728b))return!0x1;const _0x265d3f=we(_0x3db93a,_0x3f2619,_0x22ad4e,_0xf8f9d6),_0x28a6c2=Re(_0x3db93a,_0x38728b),{undos:_0x8c7e50,redos:_0x4effab}=me(_0x26098c,{'pivotTableId':_0x27b000,'unitId':_0x5c5514,'subUnitId':_0x3ceb77},_0x4dec06);return _0x5cc4f0&&(_0x4effab[_0x207f18(0x2f7)]({'id':zo['id'],'params':{'pivotTableId':_0x27b000,'fieldJSON':_0x5cc4f0,'unitId':_0x5c5514,'subUnitId':_0x3ceb77}}),_0x8c7e50[_0x207f18(0x391)]({'id':Yo['id'],'params':{'pivotTableId':_0x27b000,'dataFieldId':_0x5cc4f0['id'],'unitId':_0x5c5514,'subUnitId':_0x3ceb77}})),_0x539a15([..._0x265d3f[_0x207f18(0x373)],..._0x28a6c2['redos'],..._0x4effab],_0x26098c),_0x3aff4a[_0x207f18(0x2a9)]({'unitID':_0x5c5514,'redoMutations':[..._0x265d3f['redos'],..._0x28a6c2[_0x207f18(0x373)],..._0x4effab],'undoMutations':[..._0x265d3f[_0x207f18(0x332)],..._0x28a6c2[_0x207f18(0x332)],..._0x8c7e50]}),!0x0;}},hs={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x3f6),async 'handler'(_0x42de9d,_0xda77f8){const _0x2add90=_0x33be9b;if(!_0xda77f8)return!0x1;const {sourceDataInfo:_0x46eed5,pivotTableConfig:_0x7f07}=_0xda77f8;if(!_0x46eed5||!_0x7f07)return!0x1;const {unitId:_0x57aa84,subUnitId:_0x22f9cc,range:_0x303254}=_0x46eed5,_0x272df1=_0x42de9d[_0x2add90(0x2ab)](_0x19012d),_0x1d2dbf=_0x42de9d['get'](X),_0x1fe46a=_0x42de9d[_0x2add90(0x2ab)](_0x25ac2f),_0xcfd94e=_0x42de9d[_0x2add90(0x2ab)](_0x5666d8),_0xca7b98=_0x272df1['getUnit'](_0x57aa84);if(!_0xca7b98)return!0x1;const _0x535139=_0xca7b98[_0x2add90(0x424)](_0x22f9cc);if(!_0x535139)return!0x1;const _0x2e0a8b=_0x4130b0(0x8),_0xbe7337=_0x303254||{'startRow':0x0,'startColumn':0x0,'endRow':_0x535139[_0x2add90(0x27e)]()-0x1,'endColumn':_0x535139[_0x2add90(0x1bf)]()-0x1};_0xbe7337[_0x2add90(0x1db)]=_0x289ed8['NORMAL'];const _0x711be6=(await _0x1d2dbf[_0x2add90(0x3bf)]({'unitId':_0x57aa84,'subUnitId':_0x22f9cc,'pivotTableId':_0x2e0a8b,'params':{'type':L[_0x2add90(0x24f)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x57aa84,'sheetName':_0x535139[_0x2add90(0x202)](),'subUnitId':_0x22f9cc,'range':_0xbe7337},'pivotTableId':_0x2e0a8b,'pivotTableIndexConfig':_0x7f07}}}))[_0x2add90(0x1ab)][_0x2add90(0x2b8)];if(!_0x711be6)return!0x1;const {isEmpty:_0x153969,fieldsConfig:_0x4dd354,collectionConfig:_0x31538f,changesets:_0x363206}=_0x711be6,_0x2a7f5b=_0xca7b98[_0x2add90(0x2a5)]()[_0x2add90(0x276)],_0x2741b2=_0x65be4({'rowCount':_0x535139[_0x2add90(0x27e)]()-0x1,'columnCount':_0x535139['getColumnCount']()-0x1});_0x2741b2['id']=_0x38030d(),_0x2741b2[_0x2add90(0x25e)]=_0xca7b98[_0x2add90(0x353)](''+_0x1fe46a['t'](_0x2add90(0x3e9)));const _0x489dc4={'index':_0x2a7f5b,'sheet':_0x2741b2,'unitId':_0x57aa84},{redos:_0x27030a}=me(_0xcfd94e,{'pivotTableId':_0x2e0a8b,'unitId':_0x57aa84,'subUnitId':_0x2741b2['id']},_0x363206),_0x223fcb=[{'id':_0x24e9c6['id'],'params':_0x489dc4},{'id':Ct['id'],'params':{'unitId':_0x57aa84,'subUnitId':_0x2741b2['id'],'pivotTableId':_0x2e0a8b,'pivotTableConfig':{'isEmpty':_0x153969,'fieldsConfig':_0x4dd354,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x57aa84,'subUnitId':_0x2741b2['id']},'sourceRangeInfo':{'subUnitId':_0x22f9cc,'unitId':_0x57aa84,'range':_0xbe7337,'sheetName':_0x535139[_0x2add90(0x202)]()}},'collectionConfig':_0x31538f}},..._0x27030a];return _0x539a15(_0x223fcb,_0xcfd94e),!0x0;}},ps={'type':_0x89ac8d['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x4c4ac4,_0x2888a8){const _0x4f7162=_0x33be9b;var _0x1bb654,_0xd2361;const _0x2f072b=_0x4c4ac4[_0x4f7162(0x2ab)](_0x5666d8),_0x379864=_0x4c4ac4['get'](_0x19012d),_0x26f44c=_0x4c4ac4['get'](_0x25ac2f),_0xa857e2=_0x4c4ac4[_0x4f7162(0x2ab)](X),_0x43e7e4=_0x4c4ac4[_0x4f7162(0x2ab)](_0xa9dd1e),_0x464cf2=_0x4c4ac4['get'](he),_0x1f014c=_0x4c4ac4[_0x4f7162(0x2ab)](_0x81aaa3);if(!_0x2888a8)return!0x1;const {pivotTableConfig:_0x860774,positionType:_0x52bc86}=_0x2888a8,{targetCellInfo:_0x4c45f0,sourceRangeInfo:_0x2fa90e}=_0x860774,{unitId:_0x1f127b,subUnitId:_0x3548e3}=_0x4c45f0,_0x26084e=_0x379864[_0x4f7162(0x3d4)](_0x1f127b);if(!_0x26084e)return!0x1;let _0x18507d=0x0;_0x26084e['getSheets']()[_0x4f7162(0x267)](_0x3a269f=>{const _0x2e5ebd=_0x4f7162;var _0x472a7d,_0x516d38;_0x18507d+=(_0x516d38=(_0x472a7d=_0x464cf2[_0x2e5ebd(0x1d0)](_0x1f127b,_0x3a269f[_0x2e5ebd(0x319)]()))==null?void 0x0:_0x472a7d[_0x2e5ebd(0x356)])!=null?_0x516d38:0x0;});const _0x54e93b=(_0x1bb654=_0x1f014c[_0x4f7162(0x1e7)](_0x360605))!=null?_0x1bb654:{},{ls:_0x13d1b6,pbk:_0x49ed02}=_0x54e93b;if(!jo(_0x13d1b6,_0x49ed02))return!0x1;const _0x20291a=go(so,_0x13d1b6,_0x49ed02)[_0x4f7162(0x3b1)];if(_0x18507d>=_0x20291a)return!0x1;const _0x287d5f=_0x2888a8['pivotTableId']||_0x4130b0(0x8),_0x237a2d=(await _0xa857e2[_0x4f7162(0x3bf)]({'unitId':_0x1f127b,'subUnitId':_0x3548e3,'pivotTableId':_0x287d5f,'params':{'type':L['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x2fa90e,'pivotTableId':_0x287d5f}}}))['result'][_0x4f7162(0x2fc)];if(!_0x237a2d)return!0x1;const {view:_0x3ef887,isEmpty:_0x4fad5b,fieldsConfig:_0x1b9341,collectionConfig:_0x3e3b57}=_0x237a2d,_0x333f01=[],_0x11219e=[];if(_0x52bc86===Lo['New']){const _0x104f27=_0x26084e['getSheets']()[_0x4f7162(0x276)],_0x16ce81=_0x65be4({});_0x16ce81['id']=_0x860774['targetCellInfo']['subUnitId'],_0x16ce81[_0x4f7162(0x25e)]=(_0xd2361=_0x860774['targetCellInfo'][_0x4f7162(0x1d7)])!=null?_0xd2361:_0x26084e[_0x4f7162(0x353)](''+_0x26f44c['t'](_0x4f7162(0x3e9)));const _0x865c74={'index':_0x104f27,'sheet':_0x16ce81,'unitId':_0x1f127b},_0x1e9f03=_0x31f1a8(_0x4c4ac4,_0x865c74);_0x333f01['push']({'id':_0x28c876['id'],'params':_0x1e9f03}),_0x11219e[_0x4f7162(0x391)]({'id':_0x1fd70b['id'],'params':_0x865c74});}else{if(!_0x26084e[_0x4f7162(0x424)](_0x3548e3))return!0x1;const _0x5bc42e=we(_0x4c4ac4,new _0x461abd(),_0x4c45f0,!0x0);_0x11219e[_0x4f7162(0x391)](..._0x5bc42e[_0x4f7162(0x373)]),_0x333f01['push'](..._0x5bc42e[_0x4f7162(0x332)]);const _0x2a8d4a={'cellInfo':_0x4c45f0,'view':_0x3ef887,'isEmpty':_0x4fad5b};if(!await _0x4c4ac4[_0x4f7162(0x2ab)](ie)[_0x4f7162(0x27c)][_0x4f7162(0x40b)](be)(!0x0,_0x2a8d4a))return!0x1;const _0x2850d6=Re(_0x4c4ac4,_0x2a8d4a);_0x11219e['push'](..._0x2850d6[_0x4f7162(0x373)]),_0x333f01[_0x4f7162(0x391)](..._0x2850d6[_0x4f7162(0x332)]);}return _0x11219e[_0x4f7162(0x391)]({'id':Ct['id'],'params':{'unitId':_0x4c45f0[_0x4f7162(0x35a)],'subUnitId':_0x4c45f0['subUnitId'],'pivotTableId':_0x287d5f,'pivotTableConfig':{'targetCellInfo':_0x4c45f0,'sourceRangeInfo':_0x2fa90e,'fieldsConfig':_0x1b9341},'collectionConfig':_0x3e3b57}}),_0x333f01[_0x4f7162(0x2f7)]({'id':At['id'],'params':{'unitId':_0x1f127b,'subUnitId':_0x3548e3,'pivotTableId':_0x287d5f}}),_0x539a15(_0x11219e,_0x2f072b)&&_0x43e7e4[_0x4f7162(0x2a9)]({'unitID':_0x1f127b,'undoMutations':_0x333f01,'redoMutations':_0x11219e}),!0x0;}},ms={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x5d6807,_0x2d27e3){const _0x168cf5=_0x33be9b;if(!_0x2d27e3)return!0x1;const _0x32982e=_0x5d6807[_0x168cf5(0x2ab)](_0x5666d8),_0x48caa7=_0x5d6807['get'](X),_0x778848=_0x5d6807[_0x168cf5(0x2ab)](_0xa9dd1e),{pivotTableId:_0x1a5bb0,fieldId:_0x45671e,area:_0x2f8bb7,index:_0x5ac982,unitId:_0x41ac68,subUnitId:_0x66c3f9}=_0x2d27e3,_0x3b4977=(await _0x48caa7[_0x168cf5(0x3bf)]({'unitId':_0x41ac68,'subUnitId':_0x66c3f9,'pivotTableId':_0x1a5bb0,'params':{'type':L[_0x168cf5(0x21d)],'movePivotField':{'fieldId':_0x45671e,'area':_0x2f8bb7,'index':_0x5ac982}}}))['result'][_0x168cf5(0x2d4)];if(!_0x3b4977)return!0x1;const {changesets:_0x387454,view:_0x3aa9cf,isEmpty:_0x2fdb4e,pivotTableConfig:_0x397c0a}=_0x3b4977,_0x4c20a5=_0x397c0a[_0x168cf5(0x3df)],_0x1059dd=new _0x461abd();_0x1059dd[_0x168cf5(0x3f5)](_0x3aa9cf);const _0x23194e={'cellInfo':_0x4c20a5,'view':_0x1059dd,'isEmpty':_0x2fdb4e};if(!await _0x5d6807[_0x168cf5(0x2ab)](ie)[_0x168cf5(0x27c)][_0x168cf5(0x40b)](be)(!0x0,_0x23194e))return!0x1;const _0x56c6d6=we(_0x5d6807,_0x1059dd,_0x4c20a5,_0x2fdb4e),_0x43a057=Re(_0x5d6807,_0x23194e),{redos:_0x21bcf3,undos:_0x5dd056}=me(_0x32982e,{'pivotTableId':_0x1a5bb0,'unitId':_0x41ac68,'subUnitId':_0x66c3f9},_0x387454);return _0x539a15([..._0x56c6d6[_0x168cf5(0x373)],..._0x43a057['redos'],..._0x21bcf3],_0x32982e),_0x778848[_0x168cf5(0x2a9)]({'unitID':_0x41ac68,'redoMutations':[..._0x56c6d6['redos'],..._0x43a057[_0x168cf5(0x373)],..._0x21bcf3],'undoMutations':[..._0x56c6d6[_0x168cf5(0x332)],..._0x43a057[_0x168cf5(0x332)],..._0x5dd056]}),!0x0;}},Is={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x3de),async 'handler'(_0x399f6b,_0x517347){const _0xb0b96d=_0x33be9b;var _0x2f8b26;if(!_0x517347)return!0x1;const _0x4df7ac=_0x399f6b['get'](_0x19012d),_0x1dc237=_0x21e513(_0x4df7ac);if(!_0x1dc237)return!0x1;const {unitId:_0x1c7d38,subUnitId:_0x12ac5f,workbook:_0x40b173}=_0x1dc237,{row:_0x2d5f37,col:_0x4c6250}=_0x517347,_0xdc30f0=_0x399f6b[_0xb0b96d(0x2ab)](Ne),_0x4bdfcb=_0xdc30f0['getPivotTableIdByCell'](_0x1c7d38,_0x12ac5f,_0x2d5f37,_0x4c6250);if(!_0x4bdfcb)return!0x1;const _0xaa56f2=(_0x2f8b26=_0xdc30f0[_0xb0b96d(0x3c9)](_0x1c7d38,_0x12ac5f,_0x4bdfcb))==null?void 0x0:_0x2f8b26['areaInfo'];if(!_0xaa56f2)return!0x1;const _0x13137b=_0x399f6b[_0xb0b96d(0x2ab)](he)['getPivotTableConfig'](_0x1c7d38,_0x12ac5f,_0x4bdfcb);if(!_0x13137b)return!0x1;const {rowInfo:_0x548b4f,colInfo:_0x4de9fd}=_0xaa56f2,_0x3b401f=_0x548b4f[_0x2d5f37]['paths'],_0x1728ed=_0x4de9fd[_0x4c6250]['paths'],_0x274168=_0x548b4f[_0x2d5f37][_0xb0b96d(0x39f)],_0x5b1d64=_0x4de9fd[_0x4c6250][_0xb0b96d(0x39f)],_0x3843df=_0x3b401f['concat'](_0x1728ed),_0x5c4c24=_0x13137b[_0xb0b96d(0x29f)][_0xb0b96d(0x2dc)][_0xb0b96d(0x422)](0x0,_0x274168),_0x27b5a5=_0x13137b[_0xb0b96d(0x29f)][_0xb0b96d(0x22b)][_0xb0b96d(0x422)](0x0,_0x5b1d64),_0xd47f98=_0x5c4c24['concat'](_0x27b5a5),_0x43848b=_0x3843df[_0xb0b96d(0x3a2)]((_0x39af14,_0x25c72b)=>[_0x39af14,_0xd47f98[_0x25c72b]]),_0x92ae3b=(await _0x399f6b[_0xb0b96d(0x2ab)](X)[_0xb0b96d(0x3bf)]({'unitId':_0x1c7d38,'subUnitId':_0x12ac5f,'pivotTableId':_0x4bdfcb,'params':{'type':L[_0xb0b96d(0x2ee)],'drillDown':{'tuple':_0x43848b}}}))['result'][_0xb0b96d(0x1c7)];if(!_0x92ae3b)return!0x1;const {indexes:_0x447c16,range:_0x82e098,sourceUnitId:_0x11cd03,sourceSubUnitId:_0x448c0e,formatMap:_0x113ea9}=_0x92ae3b,{startRow:_0x3b9458,endRow:_0x166c4a,startColumn:_0x210cbc,endColumn:_0x2dc66b}=_0x82e098,_0x3d1ce7=new _0x2f7a34(),_0x26b9d0=_0x166c4a-_0x3b9458,_0x44cef6=_0x2dc66b-_0x210cbc,_0xc8ae5e={},_0x551cf5=_0x21e513(_0x4df7ac,{'unitId':_0x11cd03,'subUnitId':_0x448c0e});if(!_0x551cf5)return!0x1;const _0x2adfc1=fe[_0xb0b96d(0x3d9)],_0x35f5c3=fe[_0xb0b96d(0x2cf)],_0x1930b3=fe[_0xb0b96d(0x2cf)],_0x29941f=_0x40b173['getStyles']()[_0xb0b96d(0x1bc)](_0x2adfc1),_0x389825=_0x40b173[_0xb0b96d(0x228)]()['setValue'](_0x35f5c3),_0x3050ba=_0x40b173[_0xb0b96d(0x228)]()[_0xb0b96d(0x1bc)](_0x1930b3),{worksheet:_0x42d817}=_0x551cf5;let _0x3975c1=0x0;const _0x476015=0x1;_0x447c16[_0xb0b96d(0x267)](_0xecf51e=>{const _0x2ab755=_0xb0b96d;for(let _0x4bdea5=0x0;_0x4bdea5<=_0x2dc66b-_0x210cbc;_0x4bdea5++)_0x3d1ce7['setValue'](_0x3975c1,_0x4bdea5,_0x42d817[_0x2ab755(0x2e3)](_0xecf51e+_0x82e098[_0x2ab755(0x3ec)]+_0x476015,_0x4bdea5));_0x3975c1++;});for(let _0x16d51c=_0x210cbc;_0x16d51c<=_0x2dc66b;_0x16d51c++){const _0x384437=_0x42d817[_0xb0b96d(0x2e3)](_0x3b9458,_0x16d51c);_0xc8ae5e[_0x3b9458]||(_0xc8ae5e[_0x3b9458]={}),_0xc8ae5e[_0x3b9458][_0x16d51c]={..._0x384437,'s':_0x29941f};}let _0x22b64b=0x1;const _0x530d00={},_0x8f330f={};_0x3d1ce7['forRow']((_0x28c2bc,_0x5d9d3c)=>{const _0x5b0dbb=_0xb0b96d;_0x5d9d3c[_0x5b0dbb(0x267)](_0x10f449=>{const _0x192a05=_0x5b0dbb,_0x38997a=_0x3d1ce7[_0x192a05(0x207)](_0x28c2bc,_0x10f449);if(_0xc8ae5e[_0x22b64b]||(_0xc8ae5e[_0x22b64b]={}),_0xc8ae5e[_0x22b64b][_0x10f449]={..._0x38997a,'s':_0x22b64b%0x2===0x0?_0x3050ba:_0x389825},_0x113ea9[_0x10f449]&&_0x28c2bc>=0x0){const _0x5c98de=_0x22b64b%0x2===0x0;let _0x4ad9fd=_0x5c98de?_0x8f330f[_0x10f449]:_0x530d00[_0x10f449];_0x4ad9fd||(_0x4ad9fd=_0x40b173[_0x192a05(0x228)]()['setValue']({..._0x5c98de?_0x1930b3:_0x35f5c3,'n':{'pattern':_0x113ea9[_0x10f449]}}),_0x5c98de?_0x8f330f[_0x10f449]=_0x4ad9fd:_0x530d00[_0x10f449]=_0x4ad9fd),_0xc8ae5e[_0x22b64b][_0x10f449]['s']=_0x4ad9fd;}}),_0x22b64b++;});const _0x568675=new _0x2f7a34(_0xc8ae5e),_0x8a5689={};_0x568675[_0xb0b96d(0x29e)]((_0x352600,_0x3ab566,_0x50abfb)=>{_0x8a5689[_0x352600]||(_0x8a5689[_0x352600]={}),_0x8a5689[_0x352600][_0x3ab566]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3932f8=[],_0x5b13ee=[],_0x122295=_0x40b173[_0xb0b96d(0x2a5)]()['length'],_0x1fa1eb=_0x65be4({'rowCount':Math[_0xb0b96d(0x390)](_0x3b1e9b,_0x26b9d0+0xa),'columnCount':Math[_0xb0b96d(0x390)](_0x194e30,_0x44cef6+0x5)}),_0x2558f3=_0x399f6b[_0xb0b96d(0x2ab)](_0x25ac2f);_0x1fa1eb['id']=_0x38030d(),_0x1fa1eb['name']=_0x40b173[_0xb0b96d(0x353)](''+_0x2558f3['t']('sheets.tabs.sheet'));const _0x3e7ea9={'index':_0x122295,'sheet':_0x1fa1eb,'unitId':_0x1c7d38},_0x3cb2c8=_0x31f1a8(_0x399f6b,_0x3e7ea9);_0x5b13ee[_0xb0b96d(0x391)]({'id':_0x1fd70b['id'],'params':_0x3e7ea9}),_0x3932f8[_0xb0b96d(0x391)]({'id':_0x28c876['id'],'params':_0x3cb2c8}),_0x5b13ee[_0xb0b96d(0x391)]({'id':_0x23812a['id'],'params':{'unitId':_0x1c7d38,'subUnitId':_0x1fa1eb['id'],'cellValue':_0xc8ae5e}}),_0x3932f8[_0xb0b96d(0x2f7)]({'id':_0x23812a['id'],'params':{'unitId':_0x1c7d38,'subUnitId':_0x1fa1eb['id'],'cellValue':_0x8a5689}});const _0x46b7f7={'startRow':0x0,'startColumn':0x0,'endRow':_0x22b64b-0x1,'endColumn':_0x2dc66b};_0x5b13ee[_0xb0b96d(0x391)]({'id':_0x28585e['id'],'params':{'unitId':_0x1c7d38,'subUnitId':_0x1fa1eb['id'],'range':_0x46b7f7}}),_0x3932f8[_0xb0b96d(0x2f7)]({'id':_0x16f4ea['id'],'params':{'unitId':_0x1c7d38,'subUnitId':_0x1fa1eb['id']}});const _0xca4d19=_0x399f6b[_0xb0b96d(0x2ab)](_0x5666d8);return _0x539a15(_0x5b13ee,_0xca4d19)&&_0x399f6b[_0xb0b96d(0x2ab)](_0xa9dd1e)[_0xb0b96d(0x2a9)]({'unitID':_0x1c7d38,'undoMutations':_0x3932f8,'redoMutations':_0x5b13ee}),!0x0;}},Cs={'type':_0x89ac8d['COMMAND'],'id':_0x33be9b(0x346),async 'handler'(_0x13ecb9,_0xf9b910){const _0x26d5f3=_0x33be9b;if(!_0xf9b910)return!0x1;const _0xd84b2a=_0x13ecb9[_0x26d5f3(0x2ab)](_0x5666d8),_0x1cd408=_0x13ecb9[_0x26d5f3(0x2ab)](X),_0x17e96f=_0x13ecb9[_0x26d5f3(0x2ab)](_0xa9dd1e),{pivotTableId:_0x3e9436,fieldIds:_0x41502c,unitId:_0x2d01ea,subUnitId:_0xad4b05}=_0xf9b910,_0x442313=(await _0x1cd408[_0x26d5f3(0x3bf)]({'unitId':_0x2d01ea,'subUnitId':_0xad4b05,'pivotTableId':_0x3e9436,'params':{'type':L['RemovePivotField'],'removePivotField':{'fieldIds':_0x41502c}}}))[_0x26d5f3(0x1ab)][_0x26d5f3(0x30a)];if(!_0x442313)return!0x1;const {view:_0x1a2545,changesets:_0x431480,isEmpty:_0x20debf,pivotTableConfig:_0x545267}=_0x442313,_0x265826=_0x545267[_0x26d5f3(0x3df)],_0x42098e=new _0x461abd();_0x42098e['formJSON'](_0x1a2545);const _0x595f9b={'cellInfo':_0x265826,'view':_0x42098e,'isEmpty':_0x20debf};if(!await _0x13ecb9[_0x26d5f3(0x2ab)](ie)[_0x26d5f3(0x27c)][_0x26d5f3(0x40b)](be)(!0x0,_0x595f9b))return!0x1;const _0x391111=we(_0x13ecb9,_0x42098e,_0x265826,_0x20debf),_0x4ccfbd=Re(_0x13ecb9,_0x595f9b),{redos:_0x1e510f,undos:_0x5e38f9}=me(_0xd84b2a,{'pivotTableId':_0x3e9436,'unitId':_0x2d01ea,'subUnitId':_0xad4b05},_0x431480);return _0x539a15([..._0x391111[_0x26d5f3(0x373)],..._0x4ccfbd['redos'],..._0x1e510f],_0xd84b2a),_0x17e96f[_0x26d5f3(0x2a9)]({'unitID':_0x2d01ea,'redoMutations':[..._0x391111['redos'],..._0x4ccfbd['redos'],..._0x1e510f],'undoMutations':[..._0x391111[_0x26d5f3(0x332)],..._0x4ccfbd[_0x26d5f3(0x332)],..._0x5e38f9]}),!0x0;}},bs={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x271),async 'handler'(_0xb31fce,_0x280149){const _0x4355a6=_0x33be9b;var _0x4a62e;const _0x4024fa=_0xb31fce[_0x4355a6(0x2ab)](_0x5666d8),_0x29f8e3=_0xb31fce[_0x4355a6(0x2ab)](X),_0x28b2b8=_0xb31fce[_0x4355a6(0x2ab)](Ne),_0x120892=_0xb31fce[_0x4355a6(0x2ab)](_0x19012d),_0x317b64=_0xb31fce[_0x4355a6(0x2ab)](_0xa9dd1e);if(!_0x280149)return!0x1;const {unitId:_0x1c5994,subUnitId:_0x370e5e,row:_0x277dde,col:_0xb731d0,collapse:_0x6fc2c3}=_0x280149,_0x689aae=_0x120892[_0x4355a6(0x3d4)](_0x1c5994);if(!_0x689aae||!_0x689aae[_0x4355a6(0x424)](_0x370e5e))return!0x1;const _0x248a49=_0x28b2b8[_0x4355a6(0x30e)](_0x1c5994,_0x370e5e,_0x277dde,_0xb731d0);if(!_0x248a49)return!0x1;const _0x2558d3=_0x28b2b8[_0x4355a6(0x3c9)](_0x1c5994,_0x370e5e,_0x248a49);if(!_0x2558d3)return!0x1;const _0x591f46=_0x3bce79(_0x277dde,_0xb731d0),{rangesInfo:_0x29985d,areaInfo:_0x396820,headerMap:_0x44b507}=_0x2558d3;if(!_0x29985d||!_0x396820||!_0x44b507)return!0x1;const _0x4368df=Object[_0x4355a6(0x280)](_0x29985d)[_0x4355a6(0x29a)](_0x3b4aea=>_0x29985d[_0x3b4aea][_0x4355a6(0x1a9)](_0x3c7ca8=>_0x6c5d65[_0x4355a6(0x41b)](_0x3c7ca8,_0x591f46)));let _0x3fe983;_0x4368df===_0x4355a6(0x32d)?_0x3fe983=_0x44b507['rowHeaderMap'][_0xb731d0]:_0x4368df===_0x4355a6(0x1e8)&&(_0x3fe983=_0x44b507[_0x4355a6(0x1d8)][_0x277dde]);const _0x79a354=_0x3fe983==null?void 0x0:_0x3fe983[_0x4355a6(0x3a3)],_0x5ed1e4=(_0x4a62e=_0x28b2b8['getPivotTableCellData'](_0x1c5994,_0x370e5e,_0x277dde,_0xb731d0))==null?void 0x0:_0x4a62e['v'];if(_0x5ed1e4==null||!_0x248a49||!_0x79a354)return!0x1;const _0x3892f1=await _0x29f8e3['getPivotDisplayConfig']({'unitId':_0x1c5994,'subUnitId':_0x370e5e,'pivotTableId':_0x248a49,'params':{'type':L[_0x4355a6(0x322)],'setPivotCollapse':{'tableFieldId':_0x79a354,'collapse':_0x6fc2c3,'item':_0x5ed1e4}}}),_0x40aaec=_0x3892f1==null?void 0x0:_0x3892f1['result'][_0x4355a6(0x20e)];if(!_0x40aaec)return!0x1;const {view:_0xcb0646,pivotTableConfig:_0x4e5e47,isEmpty:_0x12d952,changesets:_0x55b4be}=_0x40aaec,_0x2beb2c=new _0x461abd();_0x2beb2c[_0x4355a6(0x3f5)](_0xcb0646);const _0x230e71=_0x4e5e47[_0x4355a6(0x3df)],_0x1f8ef6={'cellInfo':_0x230e71,'view':_0x2beb2c,'isEmpty':_0x12d952};if(!await _0xb31fce[_0x4355a6(0x2ab)](ie)[_0x4355a6(0x27c)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1f8ef6))return!0x1;const _0x234283=we(_0xb31fce,_0x2beb2c,_0x230e71,_0x12d952),_0x56b407=Re(_0xb31fce,_0x1f8ef6),{redos:_0x289766,undos:_0x3c8eb5}=me(_0x4024fa,{'pivotTableId':_0x248a49,'unitId':_0x1c5994,'subUnitId':_0x370e5e},_0x55b4be);return _0x539a15([..._0x234283[_0x4355a6(0x373)],..._0x56b407['redos'],..._0x289766],_0x4024fa),_0x317b64[_0x4355a6(0x2a9)]({'unitID':_0x1c5994,'redoMutations':[..._0x234283[_0x4355a6(0x373)],..._0x56b407[_0x4355a6(0x373)],..._0x289766],'undoMutations':[..._0x234283[_0x4355a6(0x332)],..._0x56b407[_0x4355a6(0x332)],..._0x3c8eb5]}),!0x0;}},Ss={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x230),async 'handler'(_0x36685f,_0x2e19f4){const _0x35bf2a=_0x33be9b;if(!_0x2e19f4)return!0x1;const _0x208aec=_0x36685f[_0x35bf2a(0x2ab)](_0x5666d8),{pivotTableId:_0x11e774,tableFieldId:_0xb7e3df,items:_0x44f69d,unitId:_0x18b19b,subUnitId:_0x11d7d3,isAll:_0x26e091}=_0x2e19f4,_0x5bcdaf=_0x36685f[_0x35bf2a(0x2ab)](X),_0x41a4b3=_0x36685f[_0x35bf2a(0x2ab)](_0xa9dd1e),_0x2b2366=(await _0x5bcdaf[_0x35bf2a(0x3bf)]({'unitId':_0x18b19b,'subUnitId':_0x11d7d3,'pivotTableId':_0x11e774,'params':{'type':L['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0xb7e3df,'items':_0x44f69d,'isAll':_0x26e091}}}))[_0x35bf2a(0x1ab)][_0x35bf2a(0x413)];if(!_0x2b2366)return!0x1;const {changesets:_0x71e679,pivotTableConfig:_0x4a18bd,isEmpty:_0x2ec1c,view:_0x444b17}=_0x2b2366,_0x5a52f9=_0x4a18bd[_0x35bf2a(0x3df)],_0x217f88=new _0x461abd();_0x217f88['formJSON'](_0x444b17);const _0x441e8a={'cellInfo':_0x5a52f9,'view':_0x217f88,'isEmpty':_0x2ec1c};if(!await _0x36685f[_0x35bf2a(0x2ab)](ie)[_0x35bf2a(0x27c)][_0x35bf2a(0x40b)](be)(!0x0,_0x441e8a))return!0x1;const _0x4570a8=we(_0x36685f,_0x217f88,_0x5a52f9,_0x2ec1c),_0x1d9978=Re(_0x36685f,_0x441e8a),{undos:_0x58bd3e,redos:_0x1d6b11}=me(_0x208aec,{'pivotTableId':_0x11e774,'unitId':_0x18b19b,'subUnitId':_0x11d7d3},_0x71e679);return _0x539a15([..._0x4570a8[_0x35bf2a(0x373)],..._0x1d9978[_0x35bf2a(0x373)],..._0x1d6b11],_0x208aec),_0x41a4b3[_0x35bf2a(0x2a9)]({'unitID':_0x18b19b,'redoMutations':[..._0x4570a8[_0x35bf2a(0x373)],..._0x1d9978[_0x35bf2a(0x373)],..._0x1d6b11],'undoMutations':[..._0x4570a8[_0x35bf2a(0x332)],..._0x1d9978['undos'],..._0x58bd3e]}),!0x0;}},Ps={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x3c2),async 'handler'(_0x4f25db,_0x335d5a){const _0x30fba2=_0x33be9b;if(!_0x335d5a)return!0x1;const _0x4fa8b6=_0x4f25db[_0x30fba2(0x2ab)](_0x5666d8),_0x48a47d=_0x4f25db[_0x30fba2(0x2ab)](_0xa9dd1e),_0x4646b8=_0x4f25db[_0x30fba2(0x2ab)](X),{info:_0x4559ca,tableFieldId:_0x5b384d,pivotTableId:_0x50eae5,unitId:_0x32171c,subUnitId:_0x54b339}=_0x335d5a,_0x2ff60d=(await _0x4646b8[_0x30fba2(0x3bf)]({'unitId':_0x32171c,'subUnitId':_0x54b339,'pivotTableId':_0x50eae5,'params':{'type':L[_0x30fba2(0x1e9)],'setPivotSort':{'tableFieldId':_0x5b384d,'info':_0x4559ca}}}))[_0x30fba2(0x1ab)][_0x30fba2(0x1b9)];if(!_0x2ff60d)return!0x1;const {changesets:_0x5d105c}=_0x2ff60d,{redos:_0x4596a4,undos:_0x4fa704}=me(_0x4fa8b6,{'pivotTableId':_0x50eae5,'unitId':_0x32171c,'subUnitId':_0x54b339},_0x5d105c);return _0x539a15(_0x4596a4,_0x4fa8b6),_0x48a47d[_0x30fba2(0x2a9)]({'unitID':_0x32171c,'redoMutations':_0x4596a4,'undoMutations':_0x4fa704}),!0x0;}},Ts={'type':_0x89ac8d['COMMAND'],'id':_0x33be9b(0x1b3),async 'handler'(_0x49d80a,_0x780bae){const _0xd40877=_0x33be9b;if(!_0x780bae)return!0x1;const _0x1ce719=_0x49d80a['get'](_0x5666d8),_0x577945=_0x49d80a[_0xd40877(0x2ab)](_0xa9dd1e),_0x622ca4=_0x49d80a[_0xd40877(0x2ab)](X),{displayName:_0x2ecddc,subtotalType:_0x5c0275,format:_0x57efe8,tableFieldId:_0x13b99d,pivotTableId:_0x3b0622,unitId:_0x2cd2a5,subUnitId:_0x4cf325}=_0x780bae,_0x5c2c8d=(await _0x622ca4[_0xd40877(0x3bf)]({'unitId':_0x2cd2a5,'subUnitId':_0x4cf325,'pivotTableId':_0x3b0622,'params':{'type':L[_0xd40877(0x252)],'setPivotSetting':{'tableFieldId':_0x13b99d,'displayName':_0x2ecddc,'subtotalType':_0x5c0275,'format':_0x57efe8}}}))[_0xd40877(0x1ab)][_0xd40877(0x260)];if(!_0x5c2c8d)return!0x1;const {changesets:_0x2d48f9,view:_0x2b9b1f,pivotTableConfig:_0x8dbd3d,isEmpty:_0x5acaa8}=_0x5c2c8d,_0x147798=_0x8dbd3d['targetCellInfo'],_0x4c3b17=new _0x461abd();_0x4c3b17['formJSON'](_0x2b9b1f);const _0x2f5025={'cellInfo':_0x147798,'view':_0x4c3b17,'isEmpty':_0x5acaa8};if(!await _0x49d80a['get'](ie)[_0xd40877(0x27c)][_0xd40877(0x40b)](be)(!0x0,_0x2f5025))return!0x1;const _0x1e70c4=we(_0x49d80a,_0x4c3b17,_0x147798,_0x5acaa8),_0x91b05f=Re(_0x49d80a,_0x2f5025),{undos:_0x17bb12,redos:_0x183c6e}=me(_0x1ce719,{'pivotTableId':_0x3b0622,'unitId':_0x2cd2a5,'subUnitId':_0x4cf325},_0x2d48f9);return _0x539a15([..._0x1e70c4['redos'],..._0x91b05f[_0xd40877(0x373)],..._0x183c6e],_0x1ce719),_0x577945[_0xd40877(0x2a9)]({'unitID':_0x2cd2a5,'redoMutations':[..._0x1e70c4[_0xd40877(0x373)],..._0x91b05f[_0xd40877(0x373)],..._0x183c6e],'undoMutations':[..._0x1e70c4['undos'],..._0x91b05f[_0xd40877(0x332)],..._0x17bb12]}),!0x0;}},ys={'type':_0x89ac8d['COMMAND'],'id':_0x33be9b(0x1cc),async 'handler'(_0x26215a,_0x16a201){const _0x2f377f=_0x33be9b,_0x2d6c33=_0x26215a[_0x2f377f(0x2ab)](_0x5666d8),_0x2bdaf3=_0x26215a[_0x2f377f(0x2ab)](X),_0x443657=_0x26215a[_0x2f377f(0x2ab)](_0xa9dd1e);if(!_0x16a201)return!0x1;const {token:_0x4c1e85,dataRangeInfo:_0x3d85ae,unitId:_0x5491ee,subUnitId:_0x154299}=_0x16a201,_0x37cc73=[],_0x3e7c3c=[],_0x209e4a=(await _0x2bdaf3[_0x2f377f(0x3bf)]({'unitId':_0x5491ee,'subUnitId':_0x154299,'pivotTableId':_0x4c1e85,'params':{'type':L[_0x2f377f(0x419)],'updatePivotSource':{'dataRangeInfo':_0x3d85ae,'unitId':_0x5491ee,'subUnitId':_0x154299}}}))[_0x2f377f(0x1ab)][_0x2f377f(0x1b4)];if(!_0x209e4a)return!0x1;const {changesets:_0x53a7ac,deleteIds:_0x47b7f1,collectionConfig:_0x574104,oldCollectionConfig:_0x49f71e,view:_0xae0cde,isEmpty:_0x3c5d28,pivotTableConfig:_0x4b6f15}=_0x209e4a;_0x3e7c3c['push']({'id':to['id'],'params':{'pivotTableId':_0x4c1e85,'deleteIds':_0x47b7f1,'collectionJSON':_0x574104,'dataRangeInfo':_0x3d85ae,'unitId':_0x5491ee,'subUnitId':_0x154299}}),_0x37cc73[_0x2f377f(0x2f7)]({'id':to['id'],'params':{'pivotTableId':_0x4c1e85,'deleteIds':[],'collectionJSON':_0x49f71e,'dataRangeInfo':_0x4b6f15['sourceRangeInfo'],'unitId':_0x5491ee,'subUnitId':_0x154299}});const _0xe5517a=_0x4b6f15[_0x2f377f(0x3df)],_0x32b38d=new _0x461abd();_0x32b38d['formJSON'](_0xae0cde);const _0xabe30b={'cellInfo':_0xe5517a,'view':_0x32b38d,'isEmpty':_0x3c5d28};if(!await _0x26215a[_0x2f377f(0x2ab)](ie)[_0x2f377f(0x27c)][_0x2f377f(0x40b)](be)(!0x0,_0xabe30b))return!0x1;const _0x296289=we(_0x26215a,_0x32b38d,_0xe5517a,_0x3c5d28),_0x11574d=Re(_0x26215a,_0xabe30b),{undos:_0x1215d1,redos:_0x572e4d}=me(_0x2d6c33,{'pivotTableId':_0x4c1e85,'unitId':_0x5491ee,'subUnitId':_0x154299},_0x53a7ac);return _0x539a15([..._0x296289['redos'],..._0x11574d[_0x2f377f(0x373)],..._0x3e7c3c,..._0x1215d1],_0x2d6c33),_0x443657[_0x2f377f(0x2a9)]({'unitID':_0x5491ee,'redoMutations':[..._0x296289[_0x2f377f(0x373)],..._0x11574d[_0x2f377f(0x373)],..._0x3e7c3c,..._0x1215d1],'undoMutations':[..._0x296289[_0x2f377f(0x332)],..._0x11574d[_0x2f377f(0x332)],..._0x37cc73,..._0x572e4d]}),!0x0;}},Ms={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x1f0),async 'handler'(_0x38e846,_0x5daf74){const _0x365fe5=_0x33be9b;if(!_0x5daf74)return!0x1;const _0x19da9c=_0x38e846['get'](_0x5666d8),_0x5e451b=_0x38e846['get'](X),_0x172de5=_0x38e846['get'](_0x19012d),_0x122200=_0x38e846[_0x365fe5(0x2ab)](_0xa9dd1e),{pivotTableId:_0x23c8c2,position:_0x1d8bde,index:_0x45150b}=_0x5daf74,_0x452e0d=_0x21e513(_0x172de5);if(!_0x452e0d)return!0x1;const {unitId:_0x5e9508,subUnitId:_0x335233}=_0x452e0d,_0x27f12d=(await _0x5e451b[_0x365fe5(0x3bf)]({'unitId':_0x5e9508,'subUnitId':_0x335233,'pivotTableId':_0x23c8c2,'params':{'type':L[_0x365fe5(0x2a7)],'updateValuePosition':{'position':_0x1d8bde,'index':_0x45150b}}}))['result']['updateValuePosition'];if(!_0x27f12d)return!0x1;const {changesets:_0x2c7c1e,view:_0x598078,isEmpty:_0x128ee9,pivotTableConfig:_0x114cf9}=_0x27f12d,_0x1a069b=_0x114cf9[_0x365fe5(0x3df)],_0x1a343f=new _0x461abd();_0x1a343f['formJSON'](_0x598078);const _0xecc15e=_0x38e846[_0x365fe5(0x2ab)](ie),_0x4d65eb={'cellInfo':_0x1a069b,'view':_0x1a343f,'isEmpty':_0x128ee9};if(!await _0xecc15e[_0x365fe5(0x27c)][_0x365fe5(0x40b)](be)(!0x0,_0x4d65eb))return!0x1;const _0x2ed528=we(_0x38e846,_0x1a343f,_0x1a069b,_0x128ee9),_0x3ed1f1=Re(_0x38e846,_0x4d65eb),{undos:_0x10c7cf,redos:_0x611456}=me(_0x19da9c,{'pivotTableId':_0x23c8c2,'unitId':_0x5e9508,'subUnitId':_0x335233},_0x2c7c1e);return _0x539a15([..._0x2ed528[_0x365fe5(0x373)],..._0x3ed1f1[_0x365fe5(0x373)],..._0x611456],_0x19da9c),_0x122200[_0x365fe5(0x2a9)]({'unitID':_0x5e9508,'redoMutations':[..._0x2ed528[_0x365fe5(0x373)],..._0x3ed1f1[_0x365fe5(0x373)],..._0x611456],'undoMutations':[..._0x2ed528['undos'],..._0x3ed1f1['undos'],..._0x10c7cf]}),!0x0;}},ws={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x3d6),'handler':(_0x393dab,_0x190ef7)=>{const _0x4acccf=_0x33be9b,_0x397e1a=_0x393dab[_0x4acccf(0x2ab)](_0x5666d8),_0x17939e=_0x393dab[_0x4acccf(0x2ab)](_0xa9dd1e),_0x440991=_0x393dab[_0x4acccf(0x2ab)](he),_0x3cc375=_0x393dab['get'](_0x19012d);if(!_0x190ef7)return!0x1;const _0x2f9731=_0x21e513(_0x3cc375);if(!_0x2f9731)return!0x1;const {unitId:_0x47dd77,subUnitId:_0x35b94b,workbook:_0x231afa}=_0x2f9731,_0xa7116d=_0x440991[_0x4acccf(0x218)](_0x190ef7[_0x4acccf(0x38a)][_0x4acccf(0x35a)],_0x190ef7[_0x4acccf(0x38a)][_0x4acccf(0x1a6)],_0x190ef7[_0x4acccf(0x201)]);if(!_0xa7116d)return!0x1;const _0x2f3b86=_0x231afa[_0x4acccf(0x424)](_0x190ef7[_0x4acccf(0x3df)][_0x4acccf(0x1a6)]);if(!_0x2f3b86)throw new Error(_0x4acccf(0x416));const _0x1f9c5c=_0x2f3b86[_0x4acccf(0x27e)](),_0x41512c=_0x2f3b86[_0x4acccf(0x1bf)]();if(_0x190ef7['targetCellInfo']['row']>_0x1f9c5c||_0x190ef7['targetCellInfo']['col']>_0x41512c)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x5156ee=[{'id':pt['id'],'params':{'unitId':_0x47dd77,'subUnitId':_0x190ef7[_0x4acccf(0x3df)][_0x4acccf(0x1a6)],'pivotTableId':_0x190ef7[_0x4acccf(0x201)],'targetCellPosition':{'row':_0x190ef7['targetCellInfo']['row'],'col':_0x190ef7[_0x4acccf(0x3df)][_0x4acccf(0x2a0)]}}}],_0x33d6c6=[{'id':pt['id'],'params':{'unitId':_0x47dd77,'subUnitId':_0x35b94b,'pivotTableId':_0x190ef7['pivotTableId'],'targetCellPosition':{'row':_0xa7116d[_0x4acccf(0x3df)][_0x4acccf(0x3ff)],'col':_0xa7116d[_0x4acccf(0x3df)][_0x4acccf(0x2a0)]}}}];return _0x539a15(_0x5156ee,_0x397e1a)&&_0x17939e['pushUndoRedo']({'unitID':_0x47dd77,'undoMutations':_0x33d6c6,'redoMutations':_0x5156ee}),!0x0;}},Rs={'type':_0x89ac8d['COMMAND'],'id':_0x33be9b(0x335),async 'handler'(_0x362cca,_0x30c2e4){const _0x591b11=_0x33be9b;if(!_0x30c2e4)return!0x1;const _0x5b89e2=_0x362cca['get'](_0x5666d8),{pivotTableId:_0x46afc7,fieldId:_0x19f94e,valueFilterInfo:_0x10419d,unitId:_0x381ca2,subUnitId:_0x590784}=_0x30c2e4,_0x44384c=_0x362cca[_0x591b11(0x2ab)](X),_0x50306b=_0x362cca[_0x591b11(0x2ab)](_0xa9dd1e),_0x21ecbb=(await _0x44384c[_0x591b11(0x3bf)]({'unitId':_0x381ca2,'subUnitId':_0x590784,'pivotTableId':_0x46afc7,'params':{'type':L[_0x591b11(0x28b)],'setValuePivotFilter':{'tableFieldId':_0x19f94e,'filterInfo':_0x10419d}}}))[_0x591b11(0x1ab)][_0x591b11(0x3d7)];if(!_0x21ecbb)return!0x1;const {changesets:_0x4c892c,pivotTableConfig:_0x3a7b43,isEmpty:_0x258e2c,view:_0x13eb16}=_0x21ecbb,_0xd83ab1=_0x3a7b43[_0x591b11(0x3df)],_0x3b282d=new _0x461abd();_0x3b282d['formJSON'](_0x13eb16);const _0x3ea3ea={'cellInfo':_0xd83ab1,'view':_0x3b282d,'isEmpty':_0x258e2c};if(!await _0x362cca[_0x591b11(0x2ab)](ie)[_0x591b11(0x27c)][_0x591b11(0x40b)](be)(!0x0,_0x3ea3ea))return!0x1;const _0x1179ea=we(_0x362cca,_0x3b282d,_0xd83ab1,_0x258e2c),_0x28753b=Re(_0x362cca,_0x3ea3ea),{undos:_0x2cc74f,redos:_0xc9fec6}=me(_0x5b89e2,{'pivotTableId':_0x46afc7,'unitId':_0x381ca2,'subUnitId':_0x590784},_0x4c892c);return _0x539a15([..._0x1179ea['redos'],..._0x28753b[_0x591b11(0x373)],..._0xc9fec6],_0x5b89e2),_0x50306b['pushUndoRedo']({'unitID':_0x381ca2,'redoMutations':[..._0x1179ea['redos'],..._0x28753b[_0x591b11(0x373)],..._0xc9fec6],'undoMutations':[..._0x1179ea[_0x591b11(0x332)],..._0x28753b[_0x591b11(0x332)],..._0x2cc74f]}),!0x0;}},_s={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x3d0f65,_0x21c3a1){const _0x31b4a6=_0x33be9b;if(!_0x21c3a1)return!0x1;const _0x22e3c1=_0x3d0f65['get'](_0x5666d8),_0x22c689=_0x3d0f65['get'](_0xa9dd1e),_0x1635ef=_0x3d0f65[_0x31b4a6(0x2ab)](X),{pivotTableConfig:_0x74e962,pivotTableId:_0x3e0106,unitId:_0x4d6c7d,subUnitId:_0x294096}=_0x21c3a1,_0xc4cf9b=(await _0x1635ef[_0x31b4a6(0x3bf)]({'unitId':_0x4d6c7d,'subUnitId':_0x294096,'pivotTableId':_0x3e0106,'params':{'type':L['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x3e0106,'pivotTableConfig':_0x74e962}}}))[_0x31b4a6(0x1ab)]['setPivotTableConfig'];if(!_0xc4cf9b)return!0x1;const {changesets:_0x1a2a71}=_0xc4cf9b,{redos:_0x85dbcb,undos:_0x3fe1d0}=me(_0x22e3c1,{'pivotTableId':_0x3e0106,'unitId':_0x4d6c7d,'subUnitId':_0x294096},_0x1a2a71);return _0x539a15(_0x85dbcb,_0x22e3c1),_0x22c689[_0x31b4a6(0x2a9)]({'unitID':_0x4d6c7d,'redoMutations':_0x85dbcb,'undoMutations':_0x3fe1d0}),!0x0;}},Fs={'type':_0x89ac8d[_0x33be9b(0x2e9)],'id':_0x33be9b(0x40f),async 'handler'(_0x545406,_0x236f39){const _0x370159=_0x33be9b;if(!_0x236f39)return!0x1;const _0x16390b=_0x545406[_0x370159(0x2ab)](_0x5666d8),_0x422d3d=_0x545406['get'](_0xa9dd1e),_0xcdf502=_0x545406[_0x370159(0x2ab)](X),{resetArea:_0x395169,pivotTableId:_0x1765bb,unitId:_0x1c4b64,subUnitId:_0x4bd72a}=_0x236f39,_0x4963a6=(await _0xcdf502[_0x370159(0x3bf)]({'unitId':_0x1c4b64,'subUnitId':_0x4bd72a,'pivotTableId':_0x1765bb,'params':{'type':L[_0x370159(0x2ea)],'resetPivotTable':{'pivotTableId':_0x1765bb,'resetArea':_0x395169}}}))['result']['resetPivotTable'];if(!_0x4963a6)return!0x1;const {changesets:_0xf8759b}=_0x4963a6,{redos:_0x497e61,undos:_0x5b6bc9}=me(_0x16390b,{'pivotTableId':_0x1765bb,'unitId':_0x1c4b64,'subUnitId':_0x4bd72a},_0xf8759b);return _0x539a15(_0x497e61,_0x16390b),_0x422d3d[_0x370159(0x2a9)]({'unitID':_0x1c4b64,'redoMutations':_0x497e61,'undoMutations':_0x5b6bc9}),!0x0;}},oo={'id':_0x33be9b(0x244),'type':_0x89ac8d[_0x33be9b(0x1af)],'handler':(_0x31bb23,_0x3dfba3)=>{const _0x1998f4=_0x33be9b;if(!_0x3dfba3)return!0x1;if(!!_0x31bb23[_0x1998f4(0x2ab)](_0x81aaa3)[_0x1998f4(0x1e7)](q))return!0x0;const {unitId:_0x1ba654,subUnitId:_0x37305a,pivotTableId:_0x445af2,tableFieldId:_0x2c4187,dateType:_0x3cb066}=_0x3dfba3,_0x5462f4=_0x31bb23[_0x1998f4(0x2ab)]($),_0x5efbc2=_0x5462f4[_0x1998f4(0x338)](_0x445af2);if(!_0x5efbc2)return!0x1;const _0x5e1f34=_0x5efbc2[_0x1998f4(0x32c)](_0x2c4187);if(!_0x5e1f34)return!0x1;const _0x32a359=_0x5e1f34[_0x1998f4(0x2d9)](),_0x182e42=_0x5efbc2[_0x1998f4(0x2d0)](_0x32a359),_0x45deb2=(_0x182e42==null?void 0x0:_0x182e42['getName']())+'\x20'+Ho(_0x31bb23,_0x3cb066);_0x5462f4['getCollection'](_0x1ba654,_0x445af2)[_0x1998f4(0x22a)](_0x5e1f34['id'],_0x45deb2);const _0x511f43=_0x5efbc2[_0x1998f4(0x279)](_0x2c4187);if(!_0x511f43)return!0x1;_0x5efbc2[_0x1998f4(0x3a1)](_0x511f43[_0x1998f4(0x333)](),_0x45deb2),_0x5e1f34[_0x1998f4(0x1f8)](_0x3cb066);const _0x113b4d=_0x5462f4[_0x1998f4(0x218)](_0x1ba654,_0x37305a,_0x445af2);return _0x5462f4[_0x1998f4(0x2b6)]({'unitId':_0x1ba654,'subUnitId':_0x37305a,'token':_0x445af2,'type':B[_0x1998f4(0x2f0)],'pivotConfig':_0x113b4d}),!0x0;}},Ds={'id':_0x33be9b(0x23a),'type':_0x89ac8d[_0x33be9b(0x2e9)],'handler':(_0x45c466,_0x256156)=>{const _0x1d1afd=_0x33be9b;if(!_0x256156)return!0x1;const _0x2725fb=_0x45c466[_0x1d1afd(0x2ab)](_0xa9dd1e),{unitId:_0x503bc2,subUnitId:_0x5a26f9,pivotTableId:_0x4dd134,tableFieldId:_0x1c0397}=_0x256156,_0x3ed6e7=[],_0x1d1978=[],_0x555834=_0x45c466[_0x1d1afd(0x2ab)](he),_0x35bf6a=_0x555834[_0x1d1afd(0x300)](_0x503bc2,_0x4dd134),_0xff39d9=_0x555834[_0x1d1afd(0x218)](_0x503bc2,_0x5a26f9,_0x4dd134);if(!(_0xff39d9!=null&&_0xff39d9[_0x1d1afd(0x29f)][_0x1d1afd(0x344)]))return!0x1;const _0x519fac=Object[_0x1d1afd(0x29c)](_0xff39d9['fieldsConfig'][_0x1d1afd(0x344)])[_0x1d1afd(0x29a)](_0x5872c0=>_0x5872c0['id']===_0x1c0397);if(!_0x519fac)return!0x1;const _0x1c70dc=_0x519fac[_0x1d1afd(0x2ec)];if(!(_0x35bf6a!=null&&_0x35bf6a[_0x1d1afd(0x3f3)]))return!0x1;const _0x375194=Object[_0x1d1afd(0x29c)](_0x35bf6a==null?void 0x0:_0x35bf6a[_0x1d1afd(0x3f3)])[_0x1d1afd(0x29a)](_0x2138cc=>_0x2138cc['id']===_0x1c70dc);if(!_0x375194)return!0x1;_0x2efa79(_0x375194)&&_0x3ed6e7['push']({'id':oo['id'],'params':{..._0x256156,'dateType':_0x375194[_0x1d1afd(0x1e0)]}}),_0x1d1978[_0x1d1afd(0x391)]({'id':oo['id'],'params':{..._0x256156}});const _0x591f0d=_0x45c466[_0x1d1afd(0x2ab)](_0x5666d8);return _0x539a15(_0x1d1978,_0x591f0d)&&_0x2725fb[_0x1d1afd(0x2a9)]({'unitID':_0x503bc2,'undoMutations':_0x3ed6e7,'redoMutations':_0x1d1978}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Us=(_0xc0f292,_0x507934,_0x1b8550,_0x1c420a)=>{const _0x2affeb=_0x33be9b;for(var _0x52be83=_0x1c420a>0x1?void 0x0:_0x1c420a?Ns(_0x507934,_0x1b8550):_0x507934,_0x2f2c7c=_0xc0f292[_0x2affeb(0x276)]-0x1,_0xf1765d;_0x2f2c7c>=0x0;_0x2f2c7c--)(_0xf1765d=_0xc0f292[_0x2f2c7c])&&(_0x52be83=_0xf1765d(_0x52be83)||_0x52be83);return _0x52be83;},at=(_0x37942e,_0x28cd50)=>(_0x412252,_0x2694d7)=>_0x28cd50(_0x412252,_0x2694d7,_0x37942e);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x7c6efe,_0x424d94,_0x448df0)=>{const _0x4c077b=_0x33be9b,_0x398e9b=_0x7c6efe['dataFieldsCollection'];_0x7c6efe[_0x4c077b(0x427)](_0xb15363=>{const _0x883a9e=_0x4c077b,_0x49f472=_0xb15363['getId'](),_0x5e5e67=_0xb15363[_0x883a9e(0x2a4)](),_0xdae1f=_0xb15363[_0x883a9e(0x3ef)](),_0x32b623=_0xb15363['getDisplayName']();_0x424d94[_0x5e5e67]&&_0x424d94[_0x5e5e67]===_0x32b623&&_0xdae1f===_0x32b623&&(_0x7c6efe['renameField'](_0x49f472,_0x398e9b['getDisplayName'](_0x5e5e67)),_0xb15363['setSourceName'](_0x398e9b[_0x883a9e(0x32b)](_0x5e5e67)));}),_0x7c6efe['iterateFieldByArea'](_0x3da3e9[_0x4c077b(0x3ee)],_0x4b9e30=>{const _0x1fb0d9=_0x4c077b,_0x3ef3e0=_0x4b9e30[_0x1fb0d9(0x333)](),_0x47d68f=_0x4b9e30[_0x1fb0d9(0x2a4)](),_0x7e6f39=_0x4b9e30[_0x1fb0d9(0x3ef)](),_0x1bff73=_0x4b9e30[_0x1fb0d9(0x32b)](),_0xdba1e3=_0x4b9e30['getSubtotal'](),_0x517c37=_0x448df0(_0x7e6f39,_0xdba1e3);_0x424d94[_0x47d68f]&&_0x424d94[_0x47d68f]===_0x7e6f39&&_0x517c37===_0x1bff73&&(_0x7c6efe[_0x1fb0d9(0x3a1)](_0x3ef3e0,_0x448df0(_0x398e9b[_0x1fb0d9(0x32b)](_0x47d68f),_0xdba1e3)),_0x4b9e30[_0x1fb0d9(0x358)](_0x398e9b[_0x1fb0d9(0x32b)](_0x47d68f)));});},As=(_0x56d62f,_0x4eae5a,_0x17c59f)=>{const _0x5efe5d=_0x33be9b;var _0x4c91e6,_0x470e1c;const {arrayFormulaCellData:_0x2e775d,unitData:_0x4f11bf}=_0x4eae5a,{unitId:_0x197c00,subUnitId:_0x5a3eeb}=_0x17c59f,_0xb8e2f2=_0x17c59f[_0x5efe5d(0x287)],{startColumn:_0x2ebbe9,endColumn:_0x19efa2}=_0xb8e2f2,_0x1a7796=(_0x4c91e6=_0x2e775d==null?void 0x0:_0x2e775d[_0x197c00])==null?void 0x0:_0x4c91e6[_0x5a3eeb],_0x32d559=(_0x470e1c=_0x4f11bf==null?void 0x0:_0x4f11bf[_0x197c00])==null?void 0x0:_0x470e1c[_0x5a3eeb],_0x422510=new Set(),_0x3150f1=_0x19efa2-_0x2ebbe9+0x1,{dirtyRanges:_0x94e55a}=_0x56d62f;if(_0x94e55a)for(const {range:_0x248bc8,sheetId:_0x40bea6,unitId:_0x92fcc9}of _0x94e55a){if(_0x40bea6!==_0x5a3eeb||_0x197c00!==_0x92fcc9)continue;const _0x5da736=_0x6c5d65[_0x5efe5d(0x421)](_0x248bc8,_0xb8e2f2);if(_0x5da736){const {startColumn:_0x281266,endColumn:_0xffb5f3}=_0x5da736;for(let _0x452ecf=_0x281266;_0x452ecf<=_0xffb5f3;_0x452ecf++)_0x422510[_0x5efe5d(0x3d0)](_0x452ecf);}}if(_0x422510[_0x5efe5d(0x356)]===_0x3150f1||_0x422510['size']===_0x3150f1)return Array[_0x5efe5d(0x2e1)](_0x422510);if(_0x32d559){const _0x285612=_0x32d559[_0x5efe5d(0x41e)](),_0x270253=Object[_0x5efe5d(0x280)](_0x285612);for(const _0x1a3af9 of _0x270253){const _0x5d73da=Number(_0x1a3af9),_0xfd4481=_0x285612[_0x5d73da];if(_0x422510['size']===_0x3150f1)break;for(const _0x22fecb in _0xfd4481){const _0x235afb=Number(_0x22fecb);_0x235afb<_0x2ebbe9||_0x235afb>_0x19efa2||_0x422510['add'](_0x235afb);}}}if(_0x1a7796){const _0x3093d5=_0x1a7796[_0x5efe5d(0x41e)](),_0x40c6ab=Object['keys'](_0x3093d5);for(const _0x34256d of _0x40c6ab){const _0x19a173=Number(_0x34256d),_0x495f05=_0x3093d5[_0x19a173];if(_0x422510[_0x5efe5d(0x356)]===_0x3150f1)break;for(const _0x53a3c1 in _0x495f05){const _0x4f6512=Number(_0x53a3c1);_0x4f6512<_0x2ebbe9||_0x4f6512>_0x19efa2||_0x422510[_0x5efe5d(0x3d0)](_0x4f6512);}}}return Array[_0x5efe5d(0x2e1)](_0x422510);},xs=_0x9cf890=>{const _0x1e7540=_0x33be9b,_0x3e0425=new Set(),_0x1fffe9=[];for(const _0x2a0efc of _0x9cf890){const _0x21b996=_0x2a0efc[_0x1e7540(0x3ec)]+','+_0x2a0efc[_0x1e7540(0x34c)]+','+_0x2a0efc[_0x1e7540(0x24e)]+','+_0x2a0efc[_0x1e7540(0x367)];_0x3e0425['has'](_0x21b996)||(_0x3e0425[_0x1e7540(0x3d0)](_0x21b996),_0x1fffe9['push'](_0x2a0efc));}return _0x1fffe9;};let ct=class extends _0x5f1b0a{constructor(_0x1cabe3,_0x12c36b,_0x48b4bb,_0x361903,_0x2bc6c0){const _0x312545=_0x33be9b;super(),U(this,'_globalSubject',new _0x1d9bd6(!0x0)),U(this,_0x312545(0x21e),_0x2c4c09=>{const _0x162c03=_0x312545;this[_0x162c03(0x309)][_0x162c03(0x249)](!0x1);}),U(this,'_globalComputedEndHelpFunc',_0x44172b=>{this['_globalSubject']['next'](!0x0);}),(this[_0x312545(0x1f5)]=_0x1cabe3,this['_featureCalculationManagerService']=_0x12c36b,this[_0x312545(0x24a)]=_0x48b4bb,this[_0x312545(0x402)]=_0x361903,this[_0x312545(0x3bb)]=_0x2bc6c0,this[_0x312545(0x2e0)](),this['_initPivotDataGetListener']());}['_init'](){const _0x52a41f=_0x33be9b;this[_0x52a41f(0x33a)](),this[_0x52a41f(0x293)](),this['_initPivotTextInfo'](),this[_0x52a41f(0x3b3)]();}[_0x33be9b(0x29d)](){const _0x113d8e=_0x33be9b;this[_0x113d8e(0x402)][_0x113d8e(0x214)](this[_0x113d8e(0x309)]),_0x4481fc['registerCallbackWithEvent'](_0x4080f7[_0x113d8e(0x23b)],this['_globalComputedStartHelpFunc']),_0x4481fc[_0x113d8e(0x2ef)](_0x4080f7['onQueryEnd'],this[_0x113d8e(0x34d)]);}[_0x33be9b(0x33e)](){const _0x5d408a=_0x33be9b;this[_0x5d408a(0x403)](this['_commandService'][_0x5d408a(0x2e6)](_0x40f477=>{const _0x473256=_0x5d408a;_0x40f477['id']===_0x3fa3d8['id']&&this['_sheetsPivotDataSourceModel'][_0x473256(0x371)](_0x40f477[_0x473256(0x3fd)]);})),this[_0x5d408a(0x403)](this[_0x5d408a(0x24a)][_0x5d408a(0x2e6)](_0x498f42=>{const _0x15d050=_0x5d408a;if(_0x498f42['id']!==ro['id'])return;const _0x2581a6=_0x498f42[_0x15d050(0x3fd)],{unitId:_0x556044,subUnitId:_0x36ca05,pivotTableId:_0x30b31f}=_0x2581a6,_0x4503f7=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x247)],_0x11f413={};switch(_0x4503f7){case L[_0x15d050(0x291)]:{const _0x157caa=_0x2581a6[_0x15d050(0x3fd)]['filter'];if(!_0x157caa)return;const {row:_0x284c67,col:_0x44e313,cellData:_0x241b9d,pivotItemRenderInfoCache:_0x3e1299,tableFieldId:_0x4625b3}=_0x157caa,_0x5d5967=this['_sheetsPivotDataSourceModel'][_0x15d050(0x338)](_0x2581a6[_0x15d050(0x201)]);if(!_0x5d5967||!_0x3e1299)return;if(_0x4625b3){const _0x445f22=_0x5d5967[_0x15d050(0x32c)](_0x4625b3);if(!_0x445f22)return;_0x11f413[_0x15d050(0x33c)]={..._0x5d5967[_0x15d050(0x2bb)](_0x445f22),'tableFieldId':_0x4625b3,'pivotTableId':_0x2581a6['pivotTableId'],'filterInfo':_0x5d5967['getFilterInfo'](_0x4625b3),'sortInfo':_0x5d5967[_0x15d050(0x28c)](_0x4625b3),'format':_0x5d5967[_0x15d050(0x1cd)](_0x4625b3)};}else{const _0x5366de=Ei(_0x284c67,_0x44e313,_0x241b9d,_0x5d5967,_0x3e1299),_0x4530d4=_0x5366de==null?void 0x0:_0x5366de[_0x15d050(0x1d4)];if(!_0x4530d4)return;const _0x614089=_0x5d5967[_0x15d050(0x32c)](_0x4530d4);if(!_0x614089)return;_0x11f413[_0x15d050(0x33c)]={..._0x5d5967[_0x15d050(0x2bb)](_0x614089),'tableFieldId':_0x4530d4,'pivotTableId':_0x2581a6[_0x15d050(0x201)],'filterInfo':_0x5d5967[_0x15d050(0x3cf)](_0x4530d4),'sortInfo':_0x5d5967[_0x15d050(0x28c)](_0x4530d4),'format':_0x5d5967[_0x15d050(0x1cd)](_0x4530d4)};}}break;case L['Panel']:{const _0x141487=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x31c)];if(!_0x141487)return;const {pivotTableId:_0x4be24f}=_0x141487,_0x13e6a6=this[_0x15d050(0x1f5)]['getPivotTableInstance'](_0x4be24f);if(!_0x13e6a6)return;const _0x3846b1=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x4be24f),_0x263154=Ai(_0x13e6a6,_0x4be24f,_0x3846b1);_0x11f413[_0x15d050(0x31c)]=_0x263154;}break;case L[_0x15d050(0x2d7)]:{const _0xc6622f=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f),_0x1687bf=this[_0x15d050(0x1f5)][_0x15d050(0x347)](_0x556044),_0x16ad22=_0x1687bf[_0x15d050(0x300)](_0x30b31f);let _0x243e1e=null;const _0xa7e506=this['_sheetsPivotDataSourceModel'][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f),_0x42479b=_0x2581a6['params'][_0x15d050(0x28f)];if(!_0xc6622f||!_0xa7e506||!_0x42479b)return!0x1;const {dataFieldId:_0x253532,fieldArea:_0x41837c,index:_0x4eff02}=_0x42479b;_0xc6622f[_0x15d050(0x26f)]();const _0x4b18a2=_0xc6622f['addFieldWithSourceId'](_0x253532,_0x41837c,_0x4eff02);if(_0x4b18a2&&_0x41837c===_0x3da3e9[_0x15d050(0x3ee)]){const _0x509b1c=_0x4b18a2[_0x15d050(0x333)](),_0x4ef332=_0xc6622f[_0x15d050(0x32c)](_0x509b1c);if(_0x4ef332){const _0xd863cc=_0x4ef332==null?void 0x0:_0x4ef332[_0x15d050(0x1fe)]();_0xc6622f[_0x15d050(0x320)](_0x4b18a2[_0x15d050(0x333)](),_0xd863cc===_0x3798ba[_0x15d050(0x3f1)]?_0x45e58d[_0x15d050(0x3eb)]:_0x45e58d[_0x15d050(0x3b1)]);}const _0x40e0d0=_0xc6622f['getValueIndex'](),_0x20182c=_0xc6622f[_0x15d050(0x1c0)](),_0x870766=_0xc6622f['getFieldCountByArea'](_0x3da3e9['Value']);if(_0x40e0d0===-0x1&&_0x870766>0x1){const _0x154d11=_0x20182c===_0x2c1747[_0x15d050(0x3e8)]?_0x2c1747[_0x15d050(0x2be)]:_0x20182c,_0xc73bd6=_0x154d11===_0x2c1747['Row']?_0x3da3e9[_0x15d050(0x2aa)]:_0x3da3e9[_0x15d050(0x2be)];_0xc6622f['updateValuePosition'](_0x154d11,_0xc6622f[_0x15d050(0x2ba)](_0xc73bd6));}}else{if(_0x4b18a2&&(_0x41837c===_0x3da3e9['Row']||_0x41837c===_0x3da3e9['Column'])){const _0x5e5af3=_0x4b18a2[_0x15d050(0x333)](),_0xd8e97=_0xc6622f['getDataFieldByTableId'](_0x5e5af3);if(_0xd8e97&&(_0xd8e97==null?void 0x0:_0xd8e97[_0x15d050(0x1fe)]())===_0x3798ba[_0x15d050(0x1a1)]){const _0x42590b=_0xd8e97[_0x15d050(0x411)]();if(_0x42590b&&_0xc6622f[_0x15d050(0x3e1)](_0x4b18a2[_0x15d050(0x333)](),_0x42590b),!_0x16ad22[_0x15d050(0x3af)]()[_0x15d050(0x1a9)](_0x54d9b2=>{const _0x36136d=_0x15d050,_0x572069=_0x16ad22[_0x36136d(0x40e)](_0x54d9b2);return _0x55eb3f(_0x572069)?_0x572069['getFieldInfo']()[_0x36136d(0x272)]===_0x253532:!0x1;})){const _0x239451=_0x1687bf['createDataFieldId'](),_0x5a66f3=Wi(_0xd8e97[_0x15d050(0x3ae)],_0xd8e97[_0x15d050(0x363)]),_0x402295=_0xd8e97[_0x15d050(0x202)]()+_0x15d050(0x396)+Ho(this['_injector'],_0x5a66f3),_0x10567b=new _0x420ac2(_0x239451,_0x402295,_0x4130b0(0x3),_0xd8e97[_0x15d050(0x333)](),_0x5a66f3);_0x1687bf[_0x15d050(0x1fc)](_0x10567b),_0x16ad22[_0x15d050(0x3dd)](_0x239451,_0x402295),_0xc6622f[_0x15d050(0x20c)](_0x239451,_0x41837c,(_0x4eff02!=null?_0x4eff02:0x0)+0x1),_0x243e1e=_0x10567b;}}}}const _0x197d12=_0xc6622f[_0x15d050(0x400)](),_0xc41e5f=_0xc6622f[_0x15d050(0x312)]()[_0x15d050(0x3c8)]();let _0x36fa9d;if(_0x243e1e){_0x36fa9d=_0x243e1e['toJSON']();const _0x33d85c=_0x243e1e[_0x15d050(0x333)]();_0x16ad22['deleteField'](_0x33d85c);let _0x8463f0=!0x0;for(const _0x5cee8b in _0x1687bf[_0x15d050(0x382)])if(_0x1687bf['collections'][_0x5cee8b]['getFieldIds']()[_0x15d050(0x2eb)](_0x33d85c)){_0x8463f0=!0x1;break;}_0x8463f0&&_0x1687bf[_0x15d050(0x1b2)](_0x33d85c);}const _0x5d2765=_0xc6622f[_0x15d050(0x3cc)]();_0x11f413[_0x15d050(0x28f)]={'view':_0xc41e5f,'changesets':_0x5d2765,'isEmpty':_0x197d12,'pivotTableConfig':_0xa7e506,'shouldBeAddedGroupJSON':_0x36fa9d};}break;case L['AddPivotTable']:{const _0x248b6e=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x2fc)];if(!_0x248b6e)return;const _0x3f4603=_0x248b6e[_0x15d050(0x3d1)],_0x513cae=_0x248b6e[_0x15d050(0x201)],{collection:_0x325257}=this[_0x15d050(0x1f5)]['createCollectionWithDataRange']({'unitId':_0x3f4603['unitId'],'sheetName':_0x3f4603[_0x15d050(0x1d7)],'subUnitId':_0x3f4603['subUnitId'],'range':_0x3f4603[_0x15d050(0x287)]}),_0x4511f8=new _0x4481fc(_0x325257,void 0x0,_0x513cae),_0x4657b6=_0x4511f8[_0x15d050(0x312)](),_0x55e3bc=_0x4511f8[_0x15d050(0x3c8)](),_0x86e267=_0x325257[_0x15d050(0x3c8)]();_0x11f413[_0x15d050(0x2fc)]={'view':_0x4657b6,'fieldsConfig':_0x55e3bc,'collectionConfig':_0x86e267,'isEmpty':_0x4511f8['isEmpty']()};}break;case L[_0x15d050(0x21d)]:{const _0x29d0b0=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x2d4)];if(!_0x29d0b0)return;const {fieldId:_0x1fbf7f,area:_0x2780be,index:_0x13d7aa}=_0x29d0b0,_0x4cd5ba=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f);if(!_0x4cd5ba)return;const _0x28efdc=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f);if(!_0x28efdc)return;_0x28efdc['startCollectChangeset']();const {area:_0x36df02,index:_0x270ee6}=_0x28efdc[_0x15d050(0x33d)](_0x1fbf7f);if(_0x28efdc['updateFieldPosition'](_0x1fbf7f,_0x2780be,_0x13d7aa),_0x2780be===_0x3da3e9[_0x15d050(0x3ee)]&&_0x28efdc[_0x15d050(0x279)](_0x1fbf7f)['getSubtotal']()===void 0x0){const _0x1546c2=_0x28efdc[_0x15d050(0x279)](_0x1fbf7f);if(_0x1546c2&&_0x1546c2[_0x15d050(0x217)]()===void 0x0){const _0x3ce874=_0x28efdc[_0x15d050(0x32c)](_0x1fbf7f);if(_0x3ce874){const _0x378c82=_0x3ce874==null?void 0x0:_0x3ce874['getFieldDataType']();_0x28efdc[_0x15d050(0x320)](_0x1fbf7f,_0x378c82===_0x3798ba[_0x15d050(0x3f1)]?_0x45e58d['sum']:_0x45e58d[_0x15d050(0x3b1)]);}}}const _0x4e4045=_0x28efdc[_0x15d050(0x1c0)](),_0x46deb9=_0x28efdc[_0x15d050(0x242)](),_0x1c3bd4=_0x28efdc[_0x15d050(0x2ba)](_0x3da3e9[_0x15d050(0x3ee)])>0x1;if(_0x1c3bd4&&_0x36df02===_0x2780be&&(_0x2780be===_0x3da3e9[_0x15d050(0x2aa)]&&_0x4e4045===_0x2c1747[_0x15d050(0x2aa)]||_0x2780be===_0x3da3e9['Column']&&_0x4e4045===_0x2c1747[_0x15d050(0x2be)])){let _0x5231eb=_0x46deb9;_0x270ee6<=_0x46deb9&&_0x5231eb--,_0x13d7aa<=_0x46deb9&&_0x5231eb++,_0x28efdc['updateValuePosition'](_0x4e4045,_0x5231eb);}else _0x1c3bd4&&(_0x36df02===_0x3da3e9[_0x15d050(0x2aa)]&&_0x4e4045===_0x2c1747[_0x15d050(0x2aa)]||_0x36df02===_0x3da3e9[_0x15d050(0x2be)]&&_0x4e4045===_0x2c1747[_0x15d050(0x2be)])&&_0x46deb9>=_0x270ee6&&_0x28efdc[_0x15d050(0x26a)](_0x4e4045,_0x46deb9-0x1),_0x1c3bd4&&(_0x2780be===_0x3da3e9['Row']&&_0x4e4045===_0x2c1747[_0x15d050(0x2aa)]||_0x2780be===_0x3da3e9[_0x15d050(0x2be)]&&_0x4e4045===_0x2c1747[_0x15d050(0x2be)])&&_0x46deb9>=_0x13d7aa&&_0x28efdc[_0x15d050(0x26a)](_0x4e4045,_0x46deb9+0x1);const _0x2caa4c=_0x28efdc[_0x15d050(0x312)](),_0x1978ba=_0x28efdc[_0x15d050(0x400)](),_0xc0bc69=_0x28efdc[_0x15d050(0x3cc)]();_0x11f413[_0x15d050(0x2d4)]={'view':_0x2caa4c[_0x15d050(0x3c8)](),'changesets':_0xc0bc69,'isEmpty':_0x1978ba,'pivotTableConfig':_0x4cd5ba};}break;case L['RemovePivotField']:{const _0x21be82=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x30a)];if(!_0x21be82)return;const _0x25ba8c=_0x21be82['fieldIds'],_0x5798c5=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f);if(!_0x5798c5)return!0x1;const _0x11e883=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f);if(!_0x11e883)return!0x1;_0x11e883[_0x15d050(0x26f)]();for(const _0x5d16c7 of _0x25ba8c){const {area:_0x3667ca}=_0x11e883[_0x15d050(0x33d)](_0x5d16c7);_0x3667ca===_0x3da3e9['Value']&&_0x11e883[_0x15d050(0x336)](_0x5d16c7),(_0x3667ca===_0x3da3e9[_0x15d050(0x2aa)]||_0x3667ca===_0x3da3e9[_0x15d050(0x2be)])&&_0x11e883[_0x15d050(0x304)](_0x5d16c7),_0x11e883[_0x15d050(0x3fa)](_0x5d16c7);}const _0x12e2c2=_0x11e883[_0x15d050(0x400)](),_0x5f2308=_0x11e883[_0x15d050(0x312)]()['toJSON'](),_0x5e7d0a=_0x11e883[_0x15d050(0x3cc)]();_0x11f413['removePivotField']={'changesets':_0x5e7d0a,'pivotTableConfig':_0x5798c5,'isEmpty':_0x12e2c2,'view':_0x5f2308};}break;case L[_0x15d050(0x3d5)]:{const _0x374d8b=_0x2581a6['params'][_0x15d050(0x413)];if(!_0x374d8b)return;const {tableFieldId:_0x550c6b,items:_0x54be6f,isAll:_0x5c81fe}=_0x374d8b,_0x1e5a8b=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f),_0x37ccbe=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f);if(!_0x1e5a8b||!_0x37ccbe)return;_0x1e5a8b['startCollectChangeset'](),_0x1e5a8b[_0x15d050(0x2da)](_0x550c6b,{'type':_0x4460bf[_0x15d050(0x2f9)],'list':_0x54be6f,'isAll':_0x5c81fe});const _0x42ef82=_0x1e5a8b['isEmpty'](),_0x1a62e7=_0x1e5a8b[_0x15d050(0x312)]()[_0x15d050(0x3c8)](),_0x1fc358=_0x1e5a8b[_0x15d050(0x3cc)]();_0x11f413['setPivotFilter']={'view':_0x1a62e7,'changesets':_0x1fc358,'isEmpty':_0x42ef82,'pivotTableConfig':_0x37ccbe};}break;case L[_0x15d050(0x28b)]:{const _0x10c83a=_0x2581a6['params'][_0x15d050(0x3d7)];if(!_0x10c83a)return;const {tableFieldId:_0x76f773,filterInfo:_0x155d32}=_0x10c83a,_0x4c1e42=this['_sheetsPivotDataSourceModel'][_0x15d050(0x338)](_0x30b31f),_0x2ae062=this[_0x15d050(0x1f5)]['getPivotTableConfig'](_0x556044,_0x36ca05,_0x30b31f);if(!_0x4c1e42||!_0x2ae062)return;_0x4c1e42['startCollectChangeset'](),_0x4c1e42['setValueFilterInfo'](_0x76f773,_0x155d32);const _0x10379e=_0x4c1e42[_0x15d050(0x400)](),_0x52da67=_0x4c1e42[_0x15d050(0x312)]()['toJSON'](),_0x2f0612=_0x4c1e42[_0x15d050(0x3cc)]();_0x11f413[_0x15d050(0x3d7)]={'view':_0x52da67,'changesets':_0x2f0612,'isEmpty':_0x10379e,'pivotTableConfig':_0x2ae062};}break;case L['SetPivotSort']:{const _0x594f64=_0x2581a6[_0x15d050(0x3fd)]['setPivotSort'];if(!_0x594f64)return;const {tableFieldId:_0x5a02be,info:_0x4a4aa4}=_0x594f64,_0x319de6=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f),_0x5692f2=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f);if(!_0x319de6||!_0x5692f2)return;_0x319de6[_0x15d050(0x26f)](),_0x319de6[_0x15d050(0x2e2)](_0x5a02be,_0x4a4aa4);const _0x48c607=_0x319de6['isEmpty'](),_0x4dbe81=_0x319de6[_0x15d050(0x312)]()[_0x15d050(0x3c8)](),_0x2d7905=_0x319de6['endCollectChangeset']();_0x11f413[_0x15d050(0x1b9)]={'view':_0x4dbe81,'changesets':_0x2d7905,'isEmpty':_0x48c607,'pivotTableConfig':_0x5692f2};}break;case L['SetPivotSetting']:{const _0x2210ef=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x260)];if(!_0x2210ef)return;const {tableFieldId:_0x47b9e4,displayName:_0x1841c4,subtotalType:_0x59e7b6,format:_0x34944d}=_0x2210ef,_0x3a5b64=this['_sheetsPivotDataSourceModel'][_0x15d050(0x338)](_0x30b31f),_0x3166da=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f);if(!_0x3a5b64||!_0x3166da)return;_0x3a5b64[_0x15d050(0x26f)](),_0x1841c4!==void 0x0&&_0x3a5b64[_0x15d050(0x3a1)](_0x47b9e4,_0x1841c4),_0x59e7b6!==void 0x0&&_0x3a5b64['setSubtotalType'](_0x47b9e4,_0x59e7b6),_0x34944d!==void 0x0&&_0x3a5b64[_0x15d050(0x3e1)](_0x47b9e4,_0x34944d);const _0x1c4ebb=_0x3a5b64[_0x15d050(0x400)](),_0x29eb3c=_0x3a5b64[_0x15d050(0x312)]()['toJSON'](),_0x58e601=_0x3a5b64[_0x15d050(0x3cc)]();_0x11f413[_0x15d050(0x260)]={'changesets':_0x58e601,'pivotTableConfig':_0x3166da,'isEmpty':_0x1c4ebb,'view':_0x29eb3c};}break;case L[_0x15d050(0x419)]:{const _0x13c827=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x1b4)];if(!_0x13c827)return;const {dataRangeInfo:_0x1de627,unitId:_0x2b0495,subUnitId:_0x49d77a}=_0x13c827,_0x11ca62=this['_sheetsPivotDataSourceModel'][_0x15d050(0x218)](_0x2b0495,_0x49d77a,_0x30b31f),_0x3a5b76=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f);if(!this[_0x15d050(0x1f5)]['getCollection'](_0x2b0495,_0x30b31f)||!_0x3a5b76||!_0x11ca62)return;const _0x22fcaf=this[_0x15d050(0x1f5)]['getUpdateRangeDeleteIds'](_0x2b0495,_0x30b31f,_0x1de627),_0x9e5c9d=this[_0x15d050(0x1f5)][_0x15d050(0x300)](_0x2b0495,_0x30b31f)['toJSON'](),{collection:_0x58e2c7}=this[_0x15d050(0x1f5)]['createCollectionWithDataRange']({'unitId':_0x1de627[_0x15d050(0x35a)],'sheetName':_0x1de627[_0x15d050(0x1d7)],'subUnitId':_0x1de627['subUnitId'],'range':_0x1de627['range']}),_0x3b0833=_0x58e2c7[_0x15d050(0x3c8)]();_0x3a5b76[_0x15d050(0x26f)]();const _0x546a16=this[_0x15d050(0x1f5)]['getDataFieldManager'](_0x2b0495)[_0x15d050(0x340)]()||_0x286499;_0x3a5b76[_0x15d050(0x261)](_0x1b505e=>{const _0x1091b0=_0x15d050,_0x172b77=_0x1b505e[_0x1091b0(0x2a4)]();if(!_0x58e2c7[_0x1091b0(0x237)](_0x172b77)){const _0x189e79=_0x58e2c7[_0x1091b0(0x2df)](_0x1b505e[_0x1091b0(0x3ef)]());if(_0x189e79){_0x3a5b76[_0x1091b0(0x222)](_0x1b505e['getId'](),_0x189e79[_0x1091b0(0x202)](),_0x189e79[_0x1091b0(0x333)]());const {area:_0x1dfa2a}=_0x3a5b76[_0x1091b0(0x33d)](_0x1b505e['getId']());let _0x3f5c2b=_0x1b505e['getSourceName']();const _0x1a6b76=_0x1b505e[_0x1091b0(0x32b)]();if(_0x1dfa2a===_0x3da3e9[_0x1091b0(0x3ee)]){const _0x44239b=_0x1b505e[_0x1091b0(0x217)]();_0x3f5c2b=_0x546a16(_0x189e79[_0x1091b0(0x202)](),_0x44239b);}_0x1a6b76!==_0x3f5c2b&&_0x3a5b76[_0x1091b0(0x3a1)](_0x1b505e[_0x1091b0(0x333)](),_0x3f5c2b);}else _0x3a5b76[_0x1091b0(0x3fa)](_0x1b505e[_0x1091b0(0x333)]());}});const _0x4074c2=_0x3a5b76[_0x15d050(0x400)](),_0x2bab77=_0x3a5b76[_0x15d050(0x312)]()[_0x15d050(0x3c8)](),_0x4110e5=_0x3a5b76[_0x15d050(0x3cc)]();_0x11f413[_0x15d050(0x1b4)]={'view':_0x2bab77,'changesets':_0x4110e5,'isEmpty':_0x4074c2,'pivotTableConfig':_0x11ca62,'collectionConfig':_0x3b0833,'oldCollectionConfig':_0x9e5c9d,'deleteIds':_0x22fcaf};}break;case L[_0x15d050(0x2a7)]:{const _0x472048=_0x2581a6[_0x15d050(0x3fd)]['updateValuePosition'];if(!_0x472048)return;const {position:_0x133f31,index:_0x5bc171}=_0x472048,_0x431865=this[_0x15d050(0x1f5)]['getPivotTableConfig'](_0x556044,_0x36ca05,_0x30b31f);if(!_0x431865)return!0x1;const _0x55212a=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f);if(!_0x55212a)return!0x1;_0x55212a['startCollectChangeset'](),_0x55212a[_0x15d050(0x26a)](_0x133f31,_0x5bc171);const _0x3640a0=_0x55212a[_0x15d050(0x400)](),_0x8ff90f=_0x55212a[_0x15d050(0x312)]()[_0x15d050(0x3c8)](),_0x1bcff9=_0x55212a['endCollectChangeset']();_0x11f413[_0x15d050(0x26a)]={'changesets':_0x1bcff9,'pivotTableConfig':_0x431865,'isEmpty':_0x3640a0,'view':_0x8ff90f};}break;case L[_0x15d050(0x322)]:{const _0x3874f8=_0x2581a6['params'][_0x15d050(0x20e)];if(!_0x3874f8)return;const {tableFieldId:_0x5b5eae,collapse:_0x49cc37,item:_0x22714c}=_0x3874f8,_0x2f9b45=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x30b31f),_0x3de7b7=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f);if(!_0x2f9b45||!_0x3de7b7)return;_0x2f9b45[_0x15d050(0x26f)](),_0x2f9b45[_0x15d050(0x2d8)](_0x5b5eae,_0x49cc37,_0x22714c);const _0x18a0de=_0x2f9b45['isEmpty'](),_0x3237fb=_0x2f9b45[_0x15d050(0x312)]()[_0x15d050(0x3c8)](),_0x28e021=_0x2f9b45[_0x15d050(0x3cc)]();_0x11f413[_0x15d050(0x20e)]={'view':_0x3237fb,'isEmpty':_0x18a0de,'pivotTableConfig':_0x3de7b7,'changesets':_0x28e021};}break;case L[_0x15d050(0x308)]:{const _0x2bd4dc=_0x2581a6['params']['setPivotTableConfig'];if(!_0x2bd4dc)return;const {pivotTableConfig:_0x20a209}=_0x2bd4dc,_0x4c0367=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f),_0x19c5a0=this[_0x15d050(0x1f5)]['getPivotTableConfig'](_0x556044,_0x36ca05,_0x30b31f);if(!_0x4c0367||!_0x19c5a0)return;_0x4c0367['startCollectChangeset'](),$i(_0x4c0367,_0x20a209);const _0x534156=_0x4c0367['isEmpty'](),_0x597d64=_0x4c0367[_0x15d050(0x312)]()[_0x15d050(0x3c8)](),_0x260bd5=_0x4c0367['endCollectChangeset']();_0x11f413[_0x15d050(0x412)]={'view':_0x597d64,'isEmpty':_0x534156,'pivotTableConfig':{..._0x19c5a0,'fieldsConfig':_0x4c0367[_0x15d050(0x3c8)]()},'changesets':_0x260bd5};}break;case L[_0x15d050(0x2ea)]:{const _0x5b663f=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x2fb)];if(!_0x5b663f)return;const _0x4796a0=this[_0x15d050(0x1f5)][_0x15d050(0x338)](_0x30b31f),_0xecdb9e=this[_0x15d050(0x1f5)][_0x15d050(0x218)](_0x556044,_0x36ca05,_0x30b31f);if(!_0x4796a0||!_0xecdb9e)return;_0x4796a0['startCollectChangeset'](),Gi(_0x4796a0,_0x5b663f[_0x15d050(0x28a)]);const _0x22789b=_0x4796a0[_0x15d050(0x312)]()[_0x15d050(0x3c8)](),_0x5c5001=_0x4796a0[_0x15d050(0x3cc)]();_0x11f413[_0x15d050(0x2fb)]={'view':_0x22789b,'isEmpty':!0x0,'pivotTableConfig':{..._0xecdb9e,'fieldsConfig':_0x4796a0['toJSON']()},'changesets':_0x5c5001};}break;case L[_0x15d050(0x24f)]:{const _0x12e49c=_0x2581a6[_0x15d050(0x3fd)][_0x15d050(0x2b8)];if(!_0x12e49c)return;const _0x2ce9dc=_0x12e49c['sourceRangeInfo'],_0x6d58a=_0x12e49c[_0x15d050(0x201)],{collection:_0x56169b}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x2ce9dc[_0x15d050(0x35a)],'sheetName':_0x2ce9dc[_0x15d050(0x1d7)],'subUnitId':_0x2ce9dc['subUnitId'],'range':_0x2ce9dc[_0x15d050(0x287)]}),_0x463df1=new _0x4481fc(_0x56169b,void 0x0,_0x6d58a),_0x58e53d=_0x56169b['getFieldIds'](),{rows:_0x71946e,columns:_0x569441,filters:_0x4f0bf3,values:_0xecc7a1}=_0x12e49c[_0x15d050(0x39d)];_0x463df1[_0x15d050(0x26f)]();for(const {field:_0x59dba6,selectedItems:_0x452485}of _0x71946e||[]){const _0xf2110b=_0x58e53d[_0x59dba6];if(_0xf2110b){const _0x10d747=_0x463df1[_0x15d050(0x20c)](_0xf2110b,_0x3da3e9[_0x15d050(0x2aa)]);_0x452485&&_0x10d747&&_0x463df1[_0x15d050(0x2da)](_0x10d747[_0x15d050(0x333)](),{'type':_0x4460bf[_0x15d050(0x2f9)],'list':_0x452485,'isAll':!0x1});}}for(const {field:_0x1c451d,selectedItems:_0x1fd882}of _0x569441||[]){const _0x4904ed=_0x58e53d[_0x1c451d];if(_0x4904ed){const _0x5c26bd=_0x463df1[_0x15d050(0x20c)](_0x4904ed,_0x3da3e9['Column']);_0x1fd882&&_0x5c26bd&&_0x463df1['setLabelFilterInfo'](_0x5c26bd[_0x15d050(0x333)](),{'type':_0x4460bf[_0x15d050(0x2f9)],'list':_0x1fd882,'isAll':!0x1});}}for(const {field:_0x5402e9,selectedItems:_0x5949b5}of _0x4f0bf3||[]){const _0x95e459=_0x58e53d[_0x5402e9];if(_0x95e459){const _0x427a09=_0x463df1['addFieldWithSourceId'](_0x95e459,_0x3da3e9['Filter']);_0x5949b5&&_0x427a09&&_0x463df1[_0x15d050(0x2da)](_0x427a09['getId'](),{'type':_0x4460bf[_0x15d050(0x2f9)],'list':_0x5949b5,'isAll':!0x1});}}for(const {field:_0x3ae3a1,subTotalType:_0x22fba8,formatString:_0x1387a1}of _0xecc7a1||[]){const _0x2d6d28=_0x56169b[_0x15d050(0x40e)](_0x58e53d[_0x3ae3a1]);if(!_0x2d6d28)continue;const _0x4a192a=_0x58e53d[_0x3ae3a1];if(_0x4a192a){const _0x3fce2c=_0x463df1['addFieldWithSourceId'](_0x4a192a,_0x3da3e9[_0x15d050(0x3ee)]);if(_0x3fce2c){if(_0x22fba8!==void 0x0){_0x463df1[_0x15d050(0x320)](_0x3fce2c[_0x15d050(0x333)](),_0x22fba8);const _0x35cf71=this[_0x15d050(0x1f5)][_0x15d050(0x347)](_0x2ce9dc[_0x15d050(0x35a)])[_0x15d050(0x340)]()||_0x286499,_0x370068=_0x56169b[_0x15d050(0x32b)](_0x4a192a),_0x3b7e59=_0x35cf71(_0x370068,_0x22fba8);_0x463df1[_0x15d050(0x3a1)](_0x3fce2c[_0x15d050(0x333)](),_0x3b7e59);}else{if(_0x2d6d28){const _0x1f2657=_0x2d6d28==null?void 0x0:_0x2d6d28[_0x15d050(0x1fe)]();_0x463df1[_0x15d050(0x320)](_0x3fce2c[_0x15d050(0x333)](),_0x1f2657===_0x3798ba[_0x15d050(0x3f1)]?_0x45e58d[_0x15d050(0x3eb)]:_0x45e58d[_0x15d050(0x3b1)]);}}_0x1387a1&&_0x463df1[_0x15d050(0x3e1)](_0x3fce2c[_0x15d050(0x333)](),_0x1387a1);}}}const _0x1cfebc=_0x463df1[_0x15d050(0x312)](),_0x433091=_0x463df1[_0x15d050(0x3c8)](),_0x1d0398=_0x463df1[_0x15d050(0x400)](),_0x46b807=_0x463df1[_0x15d050(0x3cc)](),_0x542cb3=_0x56169b[_0x15d050(0x3c8)]();_0x11f413[_0x15d050(0x2b8)]={'view':_0x1cfebc,'fieldsConfig':_0x433091,'collectionConfig':_0x542cb3,'isEmpty':_0x1d0398,'changesets':_0x46b807};}break;case L['DrillDown']:{const _0x2ae54c=xi(this['_injector'],_0x2581a6);if(!_0x2ae54c)return;const {range:_0x5e6858,sourceSubUnitId:_0x1a7e75,sourceUnitId:_0x310341,formatMap:_0x543d7a,indexes:_0x5e304e}=_0x2ae54c;_0x11f413[_0x15d050(0x1c7)]={'range':_0x5e6858,'sourceSubUnitId':_0x1a7e75,'sourceUnitId':_0x310341,'formatMap':_0x543d7a,'indexes':_0x5e304e};}break;}this[_0x15d050(0x24a)][_0x15d050(0x1e2)](lo['id'],{'version':_0x2581a6[_0x15d050(0x20a)],'result':_0x11f413},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x53d713=_0x33be9b;this[_0x53d713(0x403)](this[_0x53d713(0x24a)][_0x53d713(0x2e6)](_0x255221=>{const _0x5ce1f6=_0x53d713;if(_0x255221['id']!==uo['id'])return;const _0x26739c=_0x255221[_0x5ce1f6(0x3fd)];return this['_sheetsPivotDataSourceModel'][_0x5ce1f6(0x206)](_0x26739c[_0x5ce1f6(0x2ad)]),!0x0;}));}[_0x33be9b(0x33a)](){const _0x23378b=_0x33be9b;this[_0x23378b(0x1f5)][_0x23378b(0x28d)]['subscribe'](_0x3e6293=>{const _0xb84444=_0x23378b;switch(_0x3e6293[_0xb84444(0x247)]){case ke[_0xb84444(0x3d0)]:_0x3e6293[_0xb84444(0x278)]&&_0x3e6293['targetCellInfo']&&this[_0xb84444(0x1b7)](_0x3e6293[_0xb84444(0x209)],_0x3e6293[_0xb84444(0x278)],_0x3e6293[_0xb84444(0x3df)]);break;case ke[_0xb84444(0x220)]:{const {unitId:_0x85bc96,subUnitId:_0x4ec175,token:_0x22551f}=_0x3e6293;_0x85bc96&&_0x4ec175&&_0x22551f&&this['removeSourceRangeChange'](_0x85bc96,_0x4ec175,_0x22551f);}break;case ke['update']:{const {token:_0x41c3e9,oldSourceRangeInfo:_0x47514b,dataRangeInfo:_0x5f83cf,targetCellInfo:_0x1f778d}=_0x3e6293,{unitId:_0x518af7,subUnitId:_0x2f0f14}=_0x47514b||{};_0x518af7&&_0x2f0f14&&_0x41c3e9&&this[_0xb84444(0x1ed)](_0x518af7,_0x2f0f14,_0x41c3e9),_0x5f83cf&&_0x1f778d&&this[_0xb84444(0x1b7)](_0x41c3e9,_0x5f83cf,_0x1f778d);}break;}});}[_0x33be9b(0x3b3)](){const _0x40a903=_0x33be9b;this[_0x40a903(0x1f5)]['fieldsCollectionChange$'][_0x40a903(0x1f7)](_0x362972=>{const _0xe93dc7=_0x40a903;Object[_0xe93dc7(0x280)](_0x362972)['forEach'](_0x31cd39=>{const _0xabad54=_0xe93dc7,_0x5c1662=this[_0xabad54(0x1f5)]['getTargetByPivotId'](_0x31cd39);if(_0x5c1662){const _0x3da848=this[_0xabad54(0x1f5)]['getPivotTableConfig'](_0x5c1662==null?void 0x0:_0x5c1662['unitId'],_0x5c1662==null?void 0x0:_0x5c1662[_0xabad54(0x1a6)],_0x31cd39);_0x3da848&&(this['handleSourceRangeChange'](_0x31cd39,_0x3da848[_0xabad54(0x3d1)],_0x3da848[_0xabad54(0x3df)]),this['triggerDirtyFeature']([{'unitId':_0x5c1662['unitId'],'subUnitId':_0x5c1662['subUnitId'],'token':_0x31cd39}]));}});});}[_0x33be9b(0x293)](){const _0x18e807=_0x33be9b;this[_0x18e807(0x1f5)][_0x18e807(0x364)][_0x18e807(0x1f7)](_0x558d37=>{const _0x44873a=_0x18e807,{unitId:_0x3bf648,subUnitId:_0x3925b5,pivotTableId:_0x5ed98a}=_0x558d37;_0x3bf648&&_0x3925b5&&_0x5ed98a&&this[_0x44873a(0x368)]([{'unitId':_0x3bf648,'subUnitId':_0x3925b5,'token':_0x5ed98a}]);});}[_0x33be9b(0x368)](_0x5c5b54){const _0x218af5=_0x33be9b,_0xa36fc6={};_0x5c5b54[_0x218af5(0x267)](_0x4124f9=>{var _0x5e9ac9,_0x4d0a5a;const {unitId:_0x2ed151,subUnitId:_0x2bffce,token:_0x328481}=_0x4124f9;_0xa36fc6[_0x2ed151]=(_0x5e9ac9=_0xa36fc6[_0x2ed151])!=null?_0x5e9ac9:{},_0xa36fc6[_0x2ed151][_0x2bffce]=(_0x4d0a5a=_0xa36fc6[_0x2ed151][_0x2bffce])!=null?_0x4d0a5a:{},_0xa36fc6[_0x2ed151][_0x2bffce][_0x328481]=!0x0;}),this['_commandService'][_0x218af5(0x1e2)](Ut['id'],_0xa36fc6);}[_0x33be9b(0x1ed)](_0x1fb864,_0x5532dd,_0x3f944e){const _0x522a2e=_0x33be9b;this['_featureCalculationManagerService'][_0x522a2e(0x352)](_0x1fb864,_0x5532dd,[_0x3f944e]);}['handleSourceRangeChange'](_0x5821f5,_0x17b39d,_0xe83e59){const _0x5df470=_0x33be9b,{unitId:_0x259096,subUnitId:_0x35ef9b}=_0x17b39d;this['_featureCalculationManagerService'][_0x5df470(0x31f)](_0xe83e59['unitId'],_0xe83e59[_0x5df470(0x1a6)],_0x5821f5)&&this[_0x5df470(0x1ed)](_0x259096,_0x35ef9b,_0x5821f5);const _0x227f6b={'sheetId':_0x35ef9b,..._0x17b39d};this['_featureCalculationManagerService'][_0x5df470(0x360)](_0xe83e59[_0x5df470(0x35a)],_0xe83e59[_0x5df470(0x1a6)],_0x5821f5,{'unitId':_0xe83e59['unitId'],'subUnitId':_0xe83e59['subUnitId'],'dependencyRanges':[_0x227f6b],'getDirtyData':(_0x5909b5,_0x2714eb)=>{const _0x11a0a7=_0x5df470,_0x44f7b1=this['_sheetsPivotDataSourceModel'],_0x254893=_0x44f7b1[_0x11a0a7(0x1cb)](_0x5821f5);if(!_0x254893)return Vs();const {unitId:_0x4d30e0,subUnitId:_0x1895c0}=_0x254893,_0x3c6af0=As(_0x5909b5,_0x2714eb,_0x17b39d);if(_0x3c6af0[_0x11a0a7(0x276)]>0x0){const _0x3f637d=_0x44f7b1['getCollection'](_0x259096,_0x5821f5),_0x5ec3ea=_0x3f637d[_0x11a0a7(0x3af)](),_0x1bfc60=this[_0x11a0a7(0x2a3)](_0x17b39d['unitId'],_0x17b39d[_0x11a0a7(0x1a6)],_0x2714eb),_0x185f68={},_0x113ebc=this[_0x11a0a7(0x1f5)][_0x11a0a7(0x347)](_0x4d30e0)[_0x11a0a7(0x340)]()||_0x286499,_0x4ea2ef=[];for(const _0x5c7519 of _0x3c6af0){const _0x742a8=_0x5c7519-(_0x17b39d[_0x11a0a7(0x287)][_0x11a0a7(0x24e)]||0x0),_0x3bfe47=_0x5ec3ea[_0x742a8];_0x4ea2ef[_0x11a0a7(0x391)](_0x3bfe47),_0x185f68[_0x3bfe47]=_0x3f637d[_0x11a0a7(0x40e)](_0x3bfe47)[_0x11a0a7(0x202)](),_0x44f7b1[_0x11a0a7(0x347)](_0x259096)[_0x11a0a7(0x383)](_0x3bfe47,_0x17b39d,_0x742a8,_0x1bfc60);}_0x3f637d[_0x11a0a7(0x417)](_0x4ea2ef)['forEach'](_0x53c085=>{const _0x3bd2b7=_0x11a0a7,[_0x40c5db,_0x587b75]=_0x53c085,_0x3373a8=_0x3f637d[_0x3bd2b7(0x40e)](_0x40c5db),_0x5db8ab=_0x3f637d[_0x3bd2b7(0x40e)](_0x587b75);_0x3373a8&&_0x5db8ab&&_0x3373a8[_0x3bd2b7(0x307)](_0x5db8ab);}),_0x3f637d[_0x11a0a7(0x404)]();const _0x491929=_0x44f7b1['getPivotTableInstance'](_0x5821f5);if(_0x491929){Es(_0x491929,_0x185f68,_0x113ebc),_0x491929['setDirty'](!0x0);const _0x45fe1a=_0x491929[_0x11a0a7(0x312)](),_0x45dc7f=_0x44f7b1[_0x11a0a7(0x218)](_0x4d30e0,_0x1895c0,_0x5821f5),_0x5321c0=_0x44f7b1['getDataFieldManager'](_0x259096)[_0x11a0a7(0x3c8)]();_0x44f7b1[_0x11a0a7(0x3f0)](_0x4d30e0,_0x1895c0,B['Set'],_0x5821f5,_0x45fe1a,_0x45dc7f,_0x5321c0,!0x0);}}return this[_0x11a0a7(0x301)](_0x4d30e0,_0x1895c0,_0x5821f5);}});}[_0x33be9b(0x2a3)](_0x3d3cc1,_0x1cc5f3,_0x2df2e7){var _0x26aaca,_0x3f2b6c;const {arrayFormulaCellData:_0x2a4caf,unitData:_0x2e356c}=_0x2df2e7,_0x4a7a83=(_0x26aaca=_0x2a4caf==null?void 0x0:_0x2a4caf[_0x3d3cc1])==null?void 0x0:_0x26aaca[_0x1cc5f3],_0x992ab9=(_0x3f2b6c=_0x2e356c==null?void 0x0:_0x2e356c[_0x3d3cc1])==null?void 0x0:_0x3f2b6c[_0x1cc5f3];return{'arrayFormulaCellDataMatrix':_0x4a7a83,'unitDataMatrix':_0x992ab9};}[_0x33be9b(0x301)](_0x18b68f,_0x25076e,_0x52c229){const _0x4dec3b=_0x33be9b,_0x3519d8=this['_sheetsPivotDataSourceModel']['getViewData'](_0x18b68f,_0x25076e,_0x52c229),_0x33b7ae=[],_0x53f2fa=new _0x2f7a34();if(_0x3519d8){const {rangeCache:_0x5971fe,matrix:_0x56952d,oldRangeCache:_0x205fbf,oldMatrix:_0x42d024}=_0x3519d8,_0x14500c=Bt(_0x205fbf),_0x1f8341=Bt(_0x5971fe);_0x33b7ae[_0x4dec3b(0x391)](..._0x1f8341,..._0x14500c),_0x42d024&&_0x205fbf&&_0x14500c[_0x4dec3b(0x267)](_0x8fd99e=>{const _0x5f3a21=_0x4dec3b;for(let _0x37446a=_0x8fd99e[_0x5f3a21(0x3ec)];_0x37446a<=_0x8fd99e[_0x5f3a21(0x34c)];_0x37446a++)for(let _0x229476=_0x8fd99e[_0x5f3a21(0x24e)];_0x229476<=_0x8fd99e['endColumn'];_0x229476++)_0x53f2fa[_0x5f3a21(0x362)](_0x37446a,_0x229476);}),_0x56952d&&_0x1f8341&&_0x1f8341[_0x4dec3b(0x267)](_0x480da7=>{const _0xb59a28=_0x4dec3b;for(let _0x3da34e=_0x480da7[_0xb59a28(0x3ec)];_0x3da34e<=_0x480da7[_0xb59a28(0x34c)];_0x3da34e++)for(let _0x490cd3=_0x480da7['startColumn'];_0x490cd3<=_0x480da7[_0xb59a28(0x367)];_0x490cd3++)_0x53f2fa['setValue'](_0x3da34e,_0x490cd3,_0x56952d[_0xb59a28(0x207)](_0x3da34e,_0x490cd3));});}const _0x1415f8={};return _0x1415f8[_0x18b68f]={[_0x25076e]:xs(_0x33b7ae)},{'runtimeCellData':{[_0x18b68f]:{[_0x25076e]:_0x53f2fa}},'dirtyRanges':_0x1415f8};}[_0x33be9b(0x2f5)](){}};ct=Us([at(0x0,_0x19db7d($)),at(0x1,_0x19db7d(_0x29828c)),at(0x2,_0x19db7d(_0x5666d8)),at(0x3,_0x19db7d(_0x399bb9)),at(0x4,_0x19db7d(_0x102d22))],ct);var Os=Object['getOwnPropertyDescriptor'],Ls=(_0x28670b,_0x1e9a51,_0x1197e3,_0x1af3c)=>{const _0x38f76f=_0x33be9b;for(var _0x5603b2=_0x1af3c>0x1?void 0x0:_0x1af3c?Os(_0x1e9a51,_0x1197e3):_0x1e9a51,_0x18cd1b=_0x28670b[_0x38f76f(0x276)]-0x1,_0x3f504b;_0x18cd1b>=0x0;_0x18cd1b--)(_0x3f504b=_0x28670b[_0x18cd1b])&&(_0x5603b2=_0x3f504b(_0x5603b2)||_0x5603b2);return _0x5603b2;},Rt=(_0x8edaf0,_0x3eeec0)=>(_0x17a04d,_0x3c7013)=>_0x3eeec0(_0x17a04d,_0x3c7013,_0x8edaf0);let dt=class extends _0x5f1b0a{constructor(_0x1fe6d1,_0x2eb3f1,_0x360b91,_0x258083){const _0x12e9a8=_0x33be9b;super(),U(this,_0x12e9a8(0x251),new _0x311bad()),(this[_0x12e9a8(0x257)]=_0x1fe6d1,this['_sheetInterceptorService']=_0x2eb3f1,this['_sheetsSelectionsService']=_0x360b91,this[_0x12e9a8(0x3b9)]=_0x258083,this[_0x12e9a8(0x2d2)]());}['_initClearSelectionCommandInterceptor'](){const _0x223268=_0x33be9b;this[_0x223268(0x403)](this[_0x223268(0x2cb)][_0x223268(0x378)]({'getMutations':_0x260222=>{const _0x21216b=_0x223268;if(_0x260222['id']===_0xa09245['id']||_0x260222['id']===_0x2ac8d1['id']){const _0x332979=[],_0x4fa4e8=[],_0x3dbd34=this[_0x21216b(0x3b2)][_0x21216b(0x2b5)]()['map'](_0x3cd297=>_0x3cd297[_0x21216b(0x287)]),_0x1f0b3e=_0x21e513(this[_0x21216b(0x257)]);if(!_0x1f0b3e)return{'redos':[],'undos':[]};const {unitId:_0xe2849c,subUnitId:_0x1508a4}=_0x1f0b3e,_0x5d69a2={},_0x1c3ff5=this[_0x21216b(0x3b9)][_0x21216b(0x1d0)](_0xe2849c,_0x1508a4);if(_0x1c3ff5!=null&&_0x1c3ff5[_0x21216b(0x356)])for(const [_0x51e795,_0x5b2f08]of _0x1c3ff5){const {unitId:_0x968633,subUnitId:_0x51bc35,row:_0xc071a6,col:_0x1d1fb0}=_0x5b2f08['targetCellInfo'];_0x968633===_0x1f0b3e[_0x21216b(0x35a)]&&_0x51bc35===_0x1f0b3e[_0x21216b(0x1a6)]&&(_0x5d69a2[_0xc071a6+'-'+_0x1d1fb0]=_0x51e795);}return _0x3dbd34&&_0x1f0b3e&&_0x3dbd34['forEach'](_0x4cbfed=>{const _0x2de8e7=_0x21216b;_0x184ef0[_0x2de8e7(0x1d2)](_0x4cbfed,(_0x304c20,_0x435fdc)=>{const _0x52528f=_0x2de8e7,_0x2d610d=_0x304c20+'-'+_0x435fdc;if(_0x5d69a2[_0x2d610d]){const _0x50efb6=_0x5d69a2[_0x2d610d];_0x332979[_0x52528f(0x391)]({'id':At['id'],'params':{'unitId':_0xe2849c,'subUnitId':_0x1508a4,'pivotTableId':_0x50efb6}});const _0x372b06=this[_0x52528f(0x3b9)][_0x52528f(0x300)](_0xe2849c,_0x50efb6),_0x597a06=this[_0x52528f(0x3b9)][_0x52528f(0x218)](_0xe2849c,_0x1508a4,_0x50efb6);_0x4fa4e8[_0x52528f(0x391)]({'id':Ct['id'],'params':{'unitId':_0xe2849c,'subUnitId':_0x1508a4,'pivotTableId':_0x50efb6,'pivotTableConfig':_0x597a06,'collectionConfig':_0x372b06}});}});}),{'redos':_0x332979,'undos':_0x4fa4e8};}return{'redos':[],'undos':[]};}}));}};dt=Ls([Rt(0x0,_0x19012d),Rt(0x1,_0x19db7d(_0x53ec4d)),Rt(0x2,_0x19db7d(_0x575beb)),Rt(0x3,_0x19db7d(he))],dt);var ks=Object[_0x33be9b(0x229)],Js=(_0x1e76a1,_0x4a2a80,_0x183ce8,_0x83ef91)=>{const _0x373284=_0x33be9b;for(var _0x34b101=_0x83ef91>0x1?void 0x0:_0x83ef91?ks(_0x4a2a80,_0x183ce8):_0x4a2a80,_0x245271=_0x1e76a1[_0x373284(0x276)]-0x1,_0x2d8c68;_0x245271>=0x0;_0x245271--)(_0x2d8c68=_0x1e76a1[_0x245271])&&(_0x34b101=_0x2d8c68(_0x34b101)||_0x34b101);return _0x34b101;},rt=(_0x1cd79e,_0x586cb5)=>(_0x5df4af,_0x10599b)=>_0x586cb5(_0x5df4af,_0x10599b,_0x1cd79e);let ut=class extends _0x5f1b0a{constructor(_0xdead30,_0x136a38,_0x5d7005,_0x38fb16,_0x31339d){const _0x6cf694=_0x33be9b;super(),this['_sheetInterceptorService']=_0xdead30,this[_0x6cf694(0x3bb)]=_0x136a38,this[_0x6cf694(0x257)]=_0x5d7005,this[_0x6cf694(0x3b9)]=_0x38fb16,this['_sheetsPivotTableService']=_0x31339d,this[_0x6cf694(0x3bd)]();}[_0x33be9b(0x3b0)](_0x52c094,_0x3b322a,_0x185846){const _0x59941c=_0x33be9b,{pageView:_0x13095a,cornerView:_0x4bdc07,rowView:_0x53af78,colView:_0x3428bc,dataView:_0x2b5084}=_0x3b322a,_0x31306d=_0x52c094;let _0x442bd5;if(_0x185846)_0x442bd5=[...Oi(_0x31306d)];else{const _0xee8a06=ge(_0x31306d,_0x13095a,!0x0),_0x1677dd=_0x13095a[_0x59941c(0x311)]>=0x0?_0x13095a[_0x59941c(0x311)]+0x1:0x0,_0x4eff50=_0x4bdc07[_0x59941c(0x1b5)],_0x3979b4=_0x4bdc07[_0x59941c(0x2a6)],_0x371e2a=_0xee8a06[_0x59941c(0x276)]>0x0?It:0x0,_0x4223a4=ge({'row':_0x31306d[_0x59941c(0x3ff)]+_0x1677dd+_0x371e2a,'col':_0x31306d[_0x59941c(0x2a0)]},_0x4bdc07,!0x1,!0x1),_0x102aa0=ge({'row':_0x31306d['row']+_0x1677dd+_0x371e2a+_0x4eff50,'col':_0x31306d[_0x59941c(0x2a0)]},_0x53af78,!0x1,!0x0),_0x3750cb=ge({'row':_0x31306d[_0x59941c(0x3ff)]+_0x1677dd+_0x371e2a,'col':_0x31306d[_0x59941c(0x2a0)]+_0x3979b4},_0x3428bc,!0x1,!0x0),_0x182827=ge({'row':_0x31306d[_0x59941c(0x3ff)]+_0x1677dd+_0x371e2a+_0x4eff50,'col':_0x31306d['col']+_0x3979b4},_0x2b5084,!0x1,!0x0);_0x442bd5=[..._0xee8a06,..._0x4223a4,..._0x102aa0,..._0x3750cb,..._0x182827];}return _0x442bd5;}[_0x33be9b(0x3bd)](){const _0x509be8=_0x33be9b;this['disposeWithMe'](this[_0x509be8(0x35c)][_0x509be8(0x23d)][_0x509be8(0x235)](this['_sheetsPivotTableService'][_0x509be8(0x23d)][_0x509be8(0x290)]()[_0x509be8(0x372)],{'handler':(_0xd67259,_0x58af56)=>{const _0x4895a4=_0x509be8,{cellInfo:_0x2714d2,view:_0x26188e,isEmpty:_0x4fc28e}=_0x58af56,_0x1970ab=_0x2714d2,{unitId:_0x2519d8,subUnitId:_0x41a36f}=_0x1970ab,_0x4d7cd0=this[_0x4895a4(0x3b0)](_0x2714d2,_0x26188e,_0x4fc28e),_0x483f06=this['_sheetInterceptorService'][_0x4895a4(0x2a8)]({'unitId':_0x2519d8,'subUnitId':_0x41a36f,'ranges':_0x4d7cd0}),_0x3ed6d1=Ko(this[_0x4895a4(0x3bb)],_0x2519d8,_0x41a36f,_0x4d7cd0);_0x3ed6d1[_0x4895a4(0x243)]&&(_0x483f06[_0x4895a4(0x373)][_0x4895a4(0x391)](_0x3ed6d1[_0x4895a4(0x418)]),_0x483f06['undos'][_0x4895a4(0x391)](_0x3ed6d1['setRangeValueUndoMutation']));const _0x15b2d8=this[_0x4895a4(0x3fc)](_0x26188e,_0x2714d2);return _0x483f06[_0x4895a4(0x373)][_0x4895a4(0x391)](..._0x15b2d8['redos']),_0x483f06[_0x4895a4(0x332)][_0x4895a4(0x391)](..._0x15b2d8['undos']),{'redos':_0x483f06[_0x4895a4(0x373)],'undos':_0x483f06[_0x4895a4(0x332)]};}}));}[_0x33be9b(0x3fc)](_0x328df4,_0x3b1820){const _0x25e2cd=_0x33be9b,{col:_0x3b5568,unitId:_0x273b9e,subUnitId:_0x773e92}=_0x3b1820,_0x3685b0=[],_0x1e6731=[],_0x21b3ec=_0x21e513(this['_univerInstanceService'],{'unitId':_0x273b9e,'subUnitId':_0x773e92});if(!_0x3b1820||!_0x328df4||!_0x21b3ec)return{'undos':_0x1e6731,'redos':_0x3685b0};const _0x18a990=this['_sheetsPivotTableConfigModel'][_0x25e2cd(0x337)](),{colView:_0x63926,dataView:_0x1dbf1f,cornerView:_0x567f59,rowView:_0x3c30ae,formatMap:_0x2d00f1}=_0x328df4,_0x537b20=To(_0x63926,_0x18a990,!0x0,_0x2d00f1),_0x21c8aa=To(_0x3c30ae,_0x18a990,!0x1,_0x2d00f1),_0x46041d=Ji(_0x1dbf1f),_0x4f0f64=Bi(_0x567f59),{worksheet:_0x4d04a1}=_0x21b3ec;if(typeof window<'u'&&window['document']){const _0x60e514=_0x44c992({...fe[_0x25e2cd(0x3d9)]}),_0x41879b=_0x575342['getTextSize'](_0x537b20,_0x60e514)[_0x25e2cd(0x231)]+0x10,_0x3f73d7=_0x575342[_0x25e2cd(0x25f)](_0x46041d,_0x60e514)[_0x25e2cd(0x231)],_0x184d35=Math[_0x25e2cd(0x292)](Math['max'](_0x41879b,_0x3f73d7))+0x10,_0x41d272=Math[_0x25e2cd(0x292)](_0x575342[_0x25e2cd(0x25f)](_0x21c8aa,_0x60e514)[_0x25e2cd(0x231)]),_0x4a6eff=Math[_0x25e2cd(0x292)](_0x575342[_0x25e2cd(0x25f)](_0x4f0f64,_0x60e514)[_0x25e2cd(0x231)]),_0x3b9a7c=Math[_0x25e2cd(0x390)](_0x41d272,_0x4a6eff,0x28)+0xc,_0x1b3ff2=_0x63926[_0x25e2cd(0x2a6)]+_0x567f59['colCount'],_0xc538bb={},_0x3a8275={};for(let _0x148251=_0x3b5568;_0x148251<_0x3b5568+_0x1b3ff2;_0x148251++){const _0x178f15=_0x4d04a1['getColumnWidth'](_0x148251);_0xc538bb[_0x148251]=_0x178f15,_0x148251-_0x3b5568<_0x567f59[_0x25e2cd(0x2a6)]?_0x3a8275[_0x148251-_0x3b5568]=_0x3b9a7c:_0x3a8275[_0x148251-_0x3b5568]=_0x184d35;}_0x3685b0[_0x25e2cd(0x391)]({'id':_0x7ca471['id'],'params':{'subUnitId':_0x773e92,'unitId':_0x273b9e,'ranges':[{'startColumn':_0x3b5568,'endColumn':_0x3b5568+_0x1b3ff2-0x1,'startRow':0x0,'endRow':_0x4d04a1['getRowCount']()-0x1}],'colWidth':_0x3a8275}}),_0x1e6731[_0x25e2cd(0x391)]({'id':_0x7ca471['id'],'params':{'subUnitId':_0x773e92,'unitId':_0x273b9e,'ranges':[{'startColumn':_0x3b5568,'endColumn':_0x3b5568+_0x1b3ff2-0x1,'startRow':0x0,'endRow':_0x4d04a1[_0x25e2cd(0x27e)]()-0x1}],'colWidth':_0xc538bb}});}return{'undos':_0x1e6731,'redos':_0x3685b0};}};ut=Js([rt(0x0,_0x19db7d(_0x53ec4d)),rt(0x1,_0x19db7d(_0x102d22)),rt(0x2,_0x19db7d(_0x19012d)),rt(0x3,_0x19db7d(he)),rt(0x4,_0x19db7d(ie))],ut);var Bs=Object[_0x33be9b(0x229)],$s=(_0xb688c9,_0x1041f7,_0x140a04,_0x59e2cb)=>{const _0x421bf9=_0x33be9b;for(var _0x2b294e=_0x59e2cb>0x1?void 0x0:_0x59e2cb?Bs(_0x1041f7,_0x140a04):_0x1041f7,_0x163f57=_0xb688c9[_0x421bf9(0x276)]-0x1,_0x5f3eb2;_0x163f57>=0x0;_0x163f57--)(_0x5f3eb2=_0xb688c9[_0x163f57])&&(_0x2b294e=_0x5f3eb2(_0x2b294e)||_0x2b294e);return _0x2b294e;},Oe=(_0x34f8ec,_0x2f02e5)=>(_0x57a534,_0x16f776)=>_0x2f02e5(_0x57a534,_0x16f776,_0x34f8ec);let ft=class extends _0x5f1b0a{constructor(_0x31262d,_0x12ebc9,_0x771ad4,_0x410297,_0x11fe60,_0x4ccb6c,_0x7ff6e0){const _0x393077=_0x33be9b;super(),U(this,'disposableCollection',new _0x311bad()),(this[_0x393077(0x3bb)]=_0x31262d,this[_0x393077(0x2ae)]=_0x12ebc9,this['_commandService']=_0x771ad4,this[_0x393077(0x257)]=_0x410297,this[_0x393077(0x3b9)]=_0x11fe60,this[_0x393077(0x2c0)]=_0x4ccb6c,this[_0x393077(0x2cb)]=_0x7ff6e0,this['_onRefRangeChange']());}[_0x33be9b(0x24d)](){const _0x3b0928=_0x33be9b,_0x688d3f=(_0x2b8c39,_0x21d211)=>{const _0x3adaa7=_0x40aa,_0x5aa3bb=this['_univerInstanceService']['getCurrentUnitForType'](_0x266163['UNIVER_SHEET']);if(!_0x5aa3bb||!(_0x5aa3bb==null?void 0x0:_0x5aa3bb[_0x3adaa7(0x424)](_0x21d211)))return;this[_0x3adaa7(0x251)]['dispose']();const _0xfbf04f=_0x1e3961=>this[_0x3adaa7(0x250)](_0x1e3961,_0x2b8c39,_0x21d211),_0x3512ba=this[_0x3adaa7(0x3b9)][_0x3adaa7(0x1d0)](_0x2b8c39,_0x21d211);if(!(_0x3512ba!=null&&_0x3512ba['size']))return;Array[_0x3adaa7(0x2e1)](_0x3512ba[_0x3adaa7(0x29c)]())[_0x3adaa7(0x3a2)](_0x2b1193=>{const _0x4eeebf=_0x3adaa7,{row:_0xe57d00,col:_0x44221d}=_0x2b1193[_0x4eeebf(0x3df)];return _0x3bce79(_0xe57d00,_0x44221d);})['forEach'](_0x57d504=>{const _0x1b1aac=_0x3adaa7;this[_0x1b1aac(0x251)][_0x1b1aac(0x3d0)](this[_0x1b1aac(0x2ae)][_0x1b1aac(0x2d3)](_0x57d504,_0xfbf04f,_0x2b8c39,_0x21d211));});},_0x375f37=()=>{const _0x46db98=_0x40aa,_0x3238a3=this['_univerInstanceService'][_0x46db98(0x405)](_0x266163[_0x46db98(0x2e5)]);if(_0x3238a3){const _0x428817=_0x3238a3[_0x46db98(0x2dd)]();if(!_0x428817)return;_0x688d3f(_0x3238a3[_0x46db98(0x2c5)](),_0x428817['getSheetId']());}};this[_0x3b0928(0x403)](this[_0x3b0928(0x24a)]['onCommandExecuted'](_0x129d0=>{const _0x595fd3=_0x3b0928;if(_0x129d0['id']===_0xf84849['id']){const _0x2b5c9b=_0x129d0[_0x595fd3(0x3fd)],_0x1d545c=_0x2b5c9b[_0x595fd3(0x1a6)],_0x1b2bde=_0x2b5c9b[_0x595fd3(0x35a)];if(!_0x1d545c||!_0x1b2bde)return;_0x688d3f(_0x1b2bde,_0x1d545c);}})),this[_0x3b0928(0x403)](this[_0x3b0928(0x3b9)][_0x3b0928(0x3a8)][_0x3b0928(0x1f7)](_0x216199=>{_0x216199&&_0x375f37();})),this[_0x3b0928(0x403)](this[_0x3b0928(0x3b9)][_0x3b0928(0x2bc)][_0x3b0928(0x1f7)](_0x430dc0=>{const _0x5aab29=_0x3b0928,_0x4fd1a5=_0x21e513(this[_0x5aab29(0x257)]);if(!_0x4fd1a5)return;const {unitId:_0x11b0a8,subUnitId:_0x2a1367}=_0x4fd1a5,{unitId:_0x35eef6,subUnitId:_0x44f4ff}=_0x430dc0;_0x11b0a8!==_0x35eef6||_0x2a1367!==_0x44f4ff||_0x688d3f(_0x11b0a8,_0x2a1367);})),_0x375f37();}[_0x33be9b(0x250)](_0x3ac120,_0x34a69f,_0x551da5){const _0x1c77ef=_0x33be9b;switch(_0x3ac120['id']){case _0x280f3f['id']:return this[_0x1c77ef(0x324)](_0x3ac120[_0x1c77ef(0x3fd)],_0x34a69f,_0x551da5);}return{'redos':[],'undos':[]};}[_0x33be9b(0x324)](_0x22052c,_0x1b65d4,_0x3491ee){const _0xb18576=_0x33be9b,{fromRange:_0x4e7c91,toRange:_0x1db15e}=_0x22052c,_0x1591e5=[],_0x2b0f10=[],_0x4e4c03=_0x21e513(this[_0xb18576(0x257)]);if(!_0x4e4c03)return{'undos':_0x2b0f10,'redos':_0x1591e5};if(_0x1b65d4!==_0x4e4c03['unitId']||_0x3491ee!==_0x4e4c03[_0xb18576(0x1a6)])return{'undos':_0x2b0f10,'redos':_0x1591e5};const _0x1d7c4e=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x1b65d4,_0x3491ee);if(_0x1d7c4e!=null&&_0x1d7c4e[_0xb18576(0x356)])for(const [_0x4c841d,_0x58967a]of _0x1d7c4e){const {unitId:_0x9965e1,subUnitId:_0x51a9b6,row:_0x393747,col:_0x29b27b}=_0x58967a[_0xb18576(0x3df)];if(_0x9965e1===_0x4e4c03[_0xb18576(0x35a)]&&_0x51a9b6===_0x4e4c03['subUnitId']){const _0x48da6e=_0x3bce79(_0x393747,_0x29b27b);if(_0x6c5d65[_0xb18576(0x285)](_0x48da6e,_0x4e7c91)){const _0x107cd5=_0x393747-_0x4e7c91[_0xb18576(0x3ec)],_0x31cc99=_0x29b27b-_0x4e7c91[_0xb18576(0x24e)],_0x2847c6={'row':_0x1db15e[_0xb18576(0x3ec)]+_0x107cd5,'col':_0x1db15e[_0xb18576(0x24e)]+_0x31cc99};_0x1591e5[_0xb18576(0x391)]({'id':pt['id'],'params':{'unitId':_0x9965e1,'subUnitId':_0x51a9b6,'pivotTableId':_0x4c841d,'targetCellPosition':_0x2847c6}}),_0x2b0f10['push']({'id':pt['id'],'params':{'unitId':_0x9965e1,'subUnitId':_0x51a9b6,'pivotTableId':_0x4c841d,'targetCellPosition':{'row':_0x393747,'col':_0x29b27b}}});const _0x274edb=_0x2847c6[_0xb18576(0x3ff)]-_0x393747,_0x22b7c1=_0x2847c6[_0xb18576(0x2a0)]-_0x29b27b,_0x359257=[],_0x2fe020=this[_0xb18576(0x2c0)]['getPivotItemRenderInfoCache'](_0x9965e1,_0x51a9b6,_0x4c841d),_0x280cda=_0x2fe020==null?void 0x0:_0x2fe020[_0xb18576(0x20d)];if(_0x280cda){Object[_0xb18576(0x280)](_0x280cda)[_0xb18576(0x267)](_0x1147da=>{const _0x5dd539=_0xb18576;_0x280cda[_0x1147da][_0x5dd539(0x267)](_0x341a76=>{const _0x5a6b41=_0x5dd539,_0x524b62={..._0x341a76};_0x524b62[_0x5a6b41(0x3ec)]=_0x341a76[_0x5a6b41(0x3ec)]+_0x274edb,_0x524b62[_0x5a6b41(0x34c)]=_0x341a76[_0x5a6b41(0x34c)]+_0x274edb,_0x524b62[_0x5a6b41(0x24e)]=_0x341a76['startColumn']+_0x22b7c1,_0x524b62[_0x5a6b41(0x367)]=_0x341a76[_0x5a6b41(0x367)]+_0x22b7c1,_0x359257[_0x5a6b41(0x391)](_0x524b62);});});const _0x3c06cb=this[_0xb18576(0x2cb)][_0xb18576(0x2a8)]({'unitId':_0x9965e1,'subUnitId':_0x51a9b6,'ranges':_0x359257});_0x1591e5['push'](..._0x3c06cb[_0xb18576(0x373)]),_0x2b0f10['push'](..._0x3c06cb[_0xb18576(0x332)]);const _0x1ac53f=Ko(this[_0xb18576(0x3bb)],_0x9965e1,_0x51a9b6,_0x359257);_0x1ac53f['shouldClear']&&(_0x1591e5[_0xb18576(0x391)](_0x1ac53f[_0xb18576(0x418)]),_0x2b0f10[_0xb18576(0x391)](_0x1ac53f[_0xb18576(0x2c7)]));}}}}return{'redos':_0x1591e5,'undos':_0x2b0f10};}};ft=$s([Oe(0x0,_0x19db7d(_0x102d22)),Oe(0x1,_0x19db7d(_0x57bb49)),Oe(0x2,_0x5666d8),Oe(0x3,_0x19012d),Oe(0x4,_0x19db7d(he)),Oe(0x5,_0x19db7d(Ne)),Oe(0x6,_0x19db7d(_0x53ec4d))],ft);var Gs=Object[_0x33be9b(0x229)],Ws=(_0x216fc4,_0x318fa5,_0x51c8ce,_0x2a13bd)=>{const _0x403e8d=_0x33be9b;for(var _0x43770f=_0x2a13bd>0x1?void 0x0:_0x2a13bd?Gs(_0x318fa5,_0x51c8ce):_0x318fa5,_0x34c401=_0x216fc4[_0x403e8d(0x276)]-0x1,_0x6156be;_0x34c401>=0x0;_0x34c401--)(_0x6156be=_0x216fc4[_0x34c401])&&(_0x43770f=_0x6156be(_0x43770f)||_0x43770f);return _0x43770f;},wo=(_0x2f773c,_0x35219a)=>(_0x599ca3,_0x522059)=>_0x35219a(_0x599ca3,_0x522059,_0x2f773c);let gt=class extends _0x5f1b0a{constructor(_0x47e261,_0x2136b4){const _0x372e2f=_0x33be9b;super(),this['_sheetInterceptorService']=_0x47e261,this[_0x372e2f(0x3b9)]=_0x2136b4,this['_initRemoveSheetCommandInterceptor']();}[_0x33be9b(0x2b2)](){const _0x38d159=_0x33be9b;this['disposeWithMe'](this[_0x38d159(0x2cb)]['interceptCommand']({'getMutations':_0x2dfc21=>{const _0x9503f8=_0x38d159;if(_0x2dfc21['id']===_0x582483['id']){const _0x38b6b3=[],_0x201e9f=[],_0x125aa1=_0x2dfc21[_0x9503f8(0x3fd)],{unitId:_0x3b4bd1,subUnitId:_0x456dc3}=_0x125aa1;if(!_0x3b4bd1||!_0x456dc3)return{'undos':_0x201e9f,'redos':_0x38b6b3};const _0x37028b=this[_0x9503f8(0x3b9)][_0x9503f8(0x1d0)](_0x3b4bd1,_0x456dc3);if(_0x37028b!=null&&_0x37028b['size'])for(const [_0xe9db0a,_0x50b710]of _0x37028b){_0x38b6b3[_0x9503f8(0x391)]({'id':At['id'],'params':{'unitId':_0x3b4bd1,'subUnitId':_0x456dc3,'pivotTableId':_0xe9db0a}});const _0x17c94b={...this[_0x9503f8(0x3b9)][_0x9503f8(0x300)](_0x3b4bd1,_0xe9db0a)};_0x201e9f[_0x9503f8(0x391)]({'id':Ct['id'],'params':{'unitId':_0x3b4bd1,'subUnitId':_0x456dc3,'pivotTableId':_0xe9db0a,'pivotTableConfig':_0x50b710,'collectionConfig':_0x17c94b}});}return{'redos':_0x38b6b3,'undos':_0x201e9f};}return{'redos':[],'undos':[]};}}));}};gt=Ws([wo(0x0,_0x19db7d(_0x53ec4d)),wo(0x1,_0x19db7d(he))],gt);var js=Object[_0x33be9b(0x229)],Ks=(_0x305de2,_0x36edc0,_0x291008,_0x31d391)=>{const _0x4519ea=_0x33be9b;for(var _0x3797cd=_0x31d391>0x1?void 0x0:_0x31d391?js(_0x36edc0,_0x291008):_0x36edc0,_0x534c30=_0x305de2[_0x4519ea(0x276)]-0x1,_0x55caed;_0x534c30>=0x0;_0x534c30--)(_0x55caed=_0x305de2[_0x534c30])&&(_0x3797cd=_0x55caed(_0x3797cd)||_0x3797cd);return _0x3797cd;},je=(_0x48d20c,_0x2e36b9)=>(_0x526104,_0x20599a)=>_0x2e36b9(_0x526104,_0x20599a,_0x48d20c);let vt=class extends _0x5f1b0a{constructor(_0x1c3149,_0x22d337,_0x5546fa,_0x2edc36,_0x3474b6,_0x20d499){const _0x3f74b2=_0x33be9b;super(),this[_0x3f74b2(0x24a)]=_0x1c3149,this[_0x3f74b2(0x2b1)]=_0x22d337,this[_0x3f74b2(0x2c0)]=_0x5546fa,this[_0x3f74b2(0x3b9)]=_0x2edc36,this[_0x3f74b2(0x257)]=_0x3474b6,this[_0x3f74b2(0x355)]=_0x20d499,this['_initDataSendListener'](),this[_0x3f74b2(0x33f)]();}[_0x33be9b(0x2c6)](){const _0x5adc33=_0x33be9b;this[_0x5adc33(0x403)](this[_0x5adc33(0x24a)][_0x5adc33(0x2e6)](_0x27b63c=>{const _0x285fb6=_0x5adc33;if(_0x27b63c['id']!==lo['id'])return;const _0x338335=_0x27b63c[_0x285fb6(0x3fd)];this['_sheetsPivotRpcService'][_0x285fb6(0x233)](_0x338335);})),this[_0x5adc33(0x403)](this['_commandService'][_0x5adc33(0x2e6)](_0x6c2774=>{const _0x403eb0=_0x5adc33;if(_0x6c2774['id']===co['id']){const _0x5d5da6=_0x6c2774[_0x403eb0(0x3fd)];if(_0x5d5da6){const {unitId:_0xdd9909,subUnitId:_0x5deea8,oldSubUnitId:_0x2ca759,pivotTableId:_0xa9efec,pivotTableConfig:_0x6d1b4b,collectionConfig:_0xc83e25}=_0x5d5da6;this[_0x403eb0(0x3b9)]['updateConfigCache'](_0xdd9909,_0x2ca759,_0x5d5da6[_0x403eb0(0x201)],null),this[_0x403eb0(0x3b9)]['updateConfigCache'](_0xdd9909,_0x5deea8,_0xa9efec,_0x6d1b4b),this[_0x403eb0(0x3b9)][_0x403eb0(0x1f3)](_0xdd9909,_0xc83e25);}}})),this['disposeWithMe'](this[_0x5adc33(0x24a)][_0x5adc33(0x2e6)](_0x213540=>{const _0x4618f4=_0x5adc33;if(_0x213540['id']!==Dt['id'])return;const _0x2c9b05=_0x21e513(this[_0x4618f4(0x257)]);if(!_0x2c9b05)return;const {unitId:_0x28f899,subUnitId:_0x289b0a}=_0x2c9b05,_0x4f7210=_0x213540[_0x4618f4(0x3fd)];if(_0x4f7210[_0x4618f4(0x3da)]&&Object[_0x4618f4(0x280)](_0x4f7210[_0x4618f4(0x3da)])[_0x4618f4(0x267)](_0x1cb7f8=>{const _0x7de4c6=_0x4618f4;var _0x41c1b1;(_0x41c1b1=_0x4f7210[_0x7de4c6(0x3da)])!=null&&_0x41c1b1[_0x1cb7f8]&&this[_0x7de4c6(0x3b9)][_0x7de4c6(0x1f3)](_0x1cb7f8,_0x4f7210[_0x7de4c6(0x3da)][_0x1cb7f8]);}),_0x4f7210[_0x4618f4(0x3e5)]){const _0x1573e4=_0x4f7210['single'],{unitId:_0x42260a,subUnitId:_0x351a07,view:_0x4a5b26,pivotTableId:_0x4464f0,type:_0x1bb828,pivotConfig:_0x595a6b}=_0x1573e4;if(_0x1bb828===B['Delete'])this['_sheetsPivotTableAdaptorModel'][_0x4618f4(0x1d3)]({'unitId':_0x42260a,'subUnitId':_0x351a07,'pivotTableId':_0x4464f0,'type':_0x1bb828}),this[_0x4618f4(0x3b9)][_0x4618f4(0x3f9)](_0x42260a,_0x351a07,_0x4464f0,null);else{const _0x3fc219=new _0x461abd();_0x3fc219[_0x4618f4(0x3f5)](_0x4a5b26),this[_0x4618f4(0x3b9)][_0x4618f4(0x3f9)](_0x42260a,_0x351a07,_0x4464f0,_0x595a6b),this[_0x4618f4(0x2c0)]['clearRenderCache']({'unitId':_0x42260a,'subUnitId':_0x351a07,'pivotTableId':_0x4464f0,'type':_0x1bb828,'view':_0x3fc219}),this[_0x4618f4(0x2c0)]['updateRenderCache']({'unitId':_0x42260a,'subUnitId':_0x351a07,'view':_0x3fc219,'pivotTableId':_0x4464f0,'type':_0x1bb828});}}else _0x4f7210['batch']&&(_0x4f7210['batch'][_0x4618f4(0x267)](_0x39cd19=>{const _0x2a1600=_0x4618f4,{unitId:_0x396742,subUnitId:_0x4330d6,view:_0x5f3d08,pivotTableId:_0x4345ac,type:_0x4788ca,pivotConfig:_0x1d6a4a}=_0x39cd19,_0x121370=new _0x461abd();_0x121370[_0x2a1600(0x3f5)](_0x5f3d08),this[_0x2a1600(0x3b9)][_0x2a1600(0x3f9)](_0x396742,_0x4330d6,_0x4345ac,_0x1d6a4a),this[_0x2a1600(0x2c0)][_0x2a1600(0x1b0)]({'unitId':_0x396742,'subUnitId':_0x4330d6,'view':_0x121370,'pivotTableId':_0x4345ac,'type':_0x4788ca});}),this[_0x4618f4(0x3b9)][_0x4618f4(0x27f)]());this['_sheetsPivotTableAdaptorModel'][_0x4618f4(0x3c3)](_0x28f899,_0x289b0a);}));}[_0x33be9b(0x33f)](){const _0x4c3913=_0x33be9b;this[_0x4c3913(0x355)][_0x4c3913(0x360)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x55e67b){return{'dirtyUnitFeatureMap':_0x55e67b['params']};}});}};vt=Ks([je(0x0,_0x19db7d(_0x5666d8)),je(0x1,_0x19db7d(X)),je(0x2,_0x19db7d(Ne)),je(0x3,_0x19db7d(he)),je(0x4,_0x19db7d(_0x19012d)),je(0x5,_0x14b226)],vt);var Hs=Object[_0x33be9b(0x1ea)],qs=Object['getOwnPropertyDescriptor'],zs=(_0xf4e744,_0x5f06f7,_0x1405b7)=>_0x5f06f7 in _0xf4e744?Hs(_0xf4e744,_0x5f06f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1405b7}):_0xf4e744[_0x5f06f7]=_0x1405b7,Ys=(_0x1dcd4b,_0x3242b6,_0x431e9a,_0x3a984c)=>{const _0x5c67bb=_0x33be9b;for(var _0x4076eb=_0x3a984c>0x1?void 0x0:_0x3a984c?qs(_0x3242b6,_0x431e9a):_0x3242b6,_0x561332=_0x1dcd4b[_0x5c67bb(0x276)]-0x1,_0xdfb6d7;_0x561332>=0x0;_0x561332--)(_0xdfb6d7=_0x1dcd4b[_0x561332])&&(_0x4076eb=_0xdfb6d7(_0x4076eb)||_0x4076eb);return _0x4076eb;},_t=(_0x413175,_0x280041)=>(_0x3d6373,_0x521927)=>_0x280041(_0x3d6373,_0x521927,_0x413175),Qo=(_0x213e16,_0x309bfc,_0x4f3320)=>zs(_0x213e16,typeof _0x309bfc!=_0x33be9b(0x3e2)?_0x309bfc+'':_0x309bfc,_0x4f3320);let Vt=class extends _0x1eaff0{constructor(_0x2b0946=yo,_0x2b924a,_0x4381a7,_0x3b157f,_0x28819f){const _0x53d192=_0x33be9b;super(),this['_config']=_0x2b0946,this['_injector']=_0x2b924a,this[_0x53d192(0x24a)]=_0x4381a7,this[_0x53d192(0x339)]=_0x3b157f,this[_0x53d192(0x313)]=_0x28819f;const {..._0x45fe4a}=_0x588200({},yo,this[_0x53d192(0x1df)]);this['_configService']['setConfig'](qo,_0x45fe4a),this[_0x53d192(0x30b)](),this['_initConfig']();}['_initConfig'](){const _0x305c61=_0x33be9b;var _0x598148;const _0x579544=(_0x598148=this[_0x305c61(0x1df)])==null?void 0x0:_0x598148[_0x305c61(0x426)];this[_0x305c61(0x339)]['setConfig'](q,_0x579544===!0x0);}[_0x33be9b(0x354)](){const _0x91ede2=_0x33be9b;var _0x304991;let _0x2a9a06=[];const _0x3264fc=(_0x304991=this[_0x91ede2(0x1df)])==null?void 0x0:_0x304991[_0x91ede2(0x426)];_0x3264fc===!0x0?_0x2a9a06=[[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x3264fc===!0x1?_0x2a9a06=[[$],[ct]]:_0x3264fc===void 0x0&&(_0x2a9a06=[[$],[ct],[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x2a9a06[_0x91ede2(0x267)](_0xaf196e=>this['_injector']['add'](_0xaf196e)),[ct,vt,ie,dt,gt,ft,ut][_0x91ede2(0x267)](_0x5ee989=>{const _0x535ab1=_0x91ede2;this[_0x535ab1(0x3bb)]['has'](_0x5ee989)&&this['_injector']['get'](_0x5ee989);});}[_0x33be9b(0x30b)](){const _0x5c423e=_0x33be9b;[hs,ps,vs,ms,Cs,Ms,Ds,bs,Ps,Ss,Ts,ys,ws,Is,Ct,oo,At,$t,zo,Yo,Ht,Gt,Wt,jt,zt,qt,pt,ro,lo,Dt,Zt,eo,Yt,Kt,uo,to,Xt,Ut,co,Rs,Qt,_s,Fs][_0x5c423e(0x267)](_0x342755=>{const _0x6a91a3=_0x5c423e;var _0x1f5ed3;(_0x1f5ed3=this[_0x6a91a3(0x313)])==null||_0x1f5ed3[_0x6a91a3(0x1d9)](_0x342755),this[_0x6a91a3(0x24a)][_0x6a91a3(0x253)](_0x342755);});}};Qo(Vt,'pluginName',ao),Qo(Vt,_0x33be9b(0x247),_0x266163[_0x33be9b(0x2e5)]),Vt=Ys([_0x493275(_0x11ee07),_t(0x1,_0x19db7d(_0x102d22)),_t(0x2,_0x19db7d(_0x5666d8)),_t(0x3,_0x81aaa3),_t(0x4,_0xc96847(_0x58d8c8))],Vt);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,L as PivotDisplayDataType,Is as PivotDrillDownCommand,B as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Lo as PositionType,Cs as RemovePivotFieldCommand,Gt as RemovePivotFieldMutation,At as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Fs as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,jt as SetPivotCollapseMutation,Kt as SetPivotFieldFormatMutation,_s as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,zt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,Rs as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Zt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Oi as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,Ai as getPivotTableInfo,ht as transFromCellValue,Bt as unionPivotViewRange};
|