@univerjs-pro/sheets-pivot 0.9.1-nightly.202507051607 → 0.9.1-nightly.202507071607
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/en-US.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/en-US.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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0xb42b73,_0x4472a7){const _0x1a9421=_0x4bfe,_0x2a4c01=_0xb42b73();while(!![]){try{const _0x47dccc=parseInt(_0x1a9421(0x1fc))/0x1+parseInt(_0x1a9421(0x3a1))/0x2*(-parseInt(_0x1a9421(0x44e))/0x3)+parseInt(_0x1a9421(0x272))/0x4*(-parseInt(_0x1a9421(0x33c))/0x5)+-parseInt(_0x1a9421(0x432))/0x6+parseInt(_0x1a9421(0x383))/0x7+parseInt(_0x1a9421(0x202))/0x8+-parseInt(_0x1a9421(0x492))/0x9;if(_0x47dccc===_0x4472a7)break;else _0x2a4c01['push'](_0x2a4c01['shift']());}catch(_0x5a115c){_0x2a4c01['push'](_0x2a4c01['shift']());}}}(_0xc4c9,0x67623),function(_0x46c2b4,_0x265131){const _0x124b65=_0x4bfe;typeof exports==_0x124b65(0x31a)&&typeof module<'u'?_0x265131(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x124b65(0x437)&&define['amd']?define([_0x124b65(0x3ae),_0x124b65(0x34d),'@univerjs/core',_0x124b65(0x274),_0x124b65(0x404),_0x124b65(0x3a9),_0x124b65(0x3b6),'@univerjs/sheets-filter',_0x124b65(0x2ed),_0x124b65(0x1fa)],_0x265131):(_0x46c2b4=typeof globalThis<'u'?globalThis:_0x46c2b4||self,_0x265131(_0x46c2b4[_0x124b65(0x1f0)]={},_0x46c2b4['UniverProEnginePivot'],_0x46c2b4[_0x124b65(0x3df)],_0x46c2b4[_0x124b65(0x49c)],_0x46c2b4[_0x124b65(0x1e7)],_0x46c2b4[_0x124b65(0x3a9)],_0x46c2b4[_0x124b65(0x42d)],_0x46c2b4[_0x124b65(0x48d)],_0x46c2b4[_0x124b65(0x403)],_0x46c2b4[_0x124b65(0x28f)]));}(this,function(_0x5b9ff4,_0x3c6b65,_0x35bf85,_0x22c55,_0x4c8da1,_0x47c984,_0x22ffe5,_0xb8f54c,_0x27a1ef,_0x5d188f){'use strict';const _0x4483a8=_0x4bfe;var _0xba671d=Object[_0x4483a8(0x3d7)],_0x302ce7=(_0x58df40,_0x3bfbea,_0x1fea37)=>_0x3bfbea in _0x58df40?_0xba671d(_0x58df40,_0x3bfbea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fea37}):_0x58df40[_0x3bfbea]=_0x1fea37,_0x209b81=(_0x549828,_0x143346,_0x17ef28)=>_0x302ce7(_0x549828,typeof _0x143346!=_0x4483a8(0x386)?_0x143346+'':_0x143346,_0x17ef28);const _0x6f06ce=Number['parseInt'](0x68694e1d),_0x405f49=0x10,_0x137536=0x1,_0x3b5c40='SHEET_PIVOT_TABLE_PLUGIN',_0x251f85=0x1,_0x301640=_0x4483a8(0x470),_0x4762ee=_0x4483a8(0x45c),_0x46bb68=_0x4483a8(0x3a5),_0x24a831=_0x4483a8(0x41c),_0x302fad=_0x4483a8(0x41c),_0x34120a='#eceeff',_0x30cd84='#1d32e9',_0x4182fb='#FFFFFF',_0x43fc80=_0x4483a8(0x1be),_0x6ad34d='#1d32e9',_0x466a15=_0x4483a8(0x3a4),_0x1766ea='#e6ebfb',_0x2c9e0e=0xe,_0x9ea923=0x6;var _0x423474=(_0xfb0678=>(_0xfb0678['Existing']=_0x4483a8(0x260),_0xfb0678['New']='new',_0xfb0678))(_0x423474||{});const _0x14263a={'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':''}}},_0x5d3133=0x1e,_0x523019={'b':{'s':0x1,'cl':{'rgb':_0x46bb68}},'l':{'s':0x1,'cl':{'rgb':_0x46bb68}},'r':{'s':0x1,'cl':{'rgb':_0x46bb68}},'t':{'s':0x1,'cl':{'rgb':_0x46bb68}}},_0x5b88fa={'bg':{'rgb':_0x301640},'ht':0x2,'vt':0x2,'tb':0x1},_0xd253eb={'bg':{'rgb':_0x4762ee},'ht':0x2,'vt':0x2,'tb':0x1},_0xed3ec3={'rowStyle':{'bg':{'rgb':_0x1766ea},'bd':_0x523019,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x6ad34d},'bd':null,'cl':{'rgb':_0x466a15},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x523019,'bg':{'rgb':_0x43fc80},'vt':0x2},'cornerStyle':{'bd':_0x523019,'bg':{'rgb':_0x34120a},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x523019,'bg':{'rgb':_0x24a831},'vt':0x2},'leafStyle':{'bd':_0x523019,'bg':{'rgb':_0x302fad},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x30cd84},'cl':{'rgb':_0x4182fb},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x523019,'vt':0x2}};function _0x3ba716(_0x19bb53,_0x1566af,_0x1260e7){const _0x1e8af7=_0x4483a8,_0x3a15d4=_0x19bb53['get'](_0x35bf85[_0x1e8af7(0x2ab)]),_0x3d6e0a=_0x1260e7[_0x1e8af7(0x225)]('_');switch(_0x1566af){case _0x3c6b65['PivotDateGroupFieldDateTypeEnum'][_0x1e8af7(0x20d)]:return _0x3a15d4['t'](_0x1e8af7(0x31b),..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)][_0x1e8af7(0x262)]:return _0x3a15d4['t'](_0x1e8af7(0x4a8),..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)][_0x1e8af7(0x3c1)]:return _0x3a15d4['t'](_0x1e8af7(0x238),..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)]['HourMinute']:return _0x3a15d4['t'](_0x1e8af7(0x20b),..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)][_0x1e8af7(0x3b7)]:return _0x3a15d4['t'](_0x1e8af7(0x416),..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)][_0x1e8af7(0x41e)]:return _0x3a15d4['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x3d6e0a);case _0x3c6b65['PivotDateGroupFieldDateTypeEnum'][_0x1e8af7(0x3b3)]:return _0x3a15d4['t'](_0x1e8af7(0x374),..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)][_0x1e8af7(0x2ff)]:return _0x3a15d4['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)][_0x1e8af7(0x1a1)]:return _0x3a15d4['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x3d6e0a);case _0x3c6b65[_0x1e8af7(0x3ca)][_0x1e8af7(0x435)]:return _0x3a15d4['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x3d6e0a);}return'';}const _0x57a9a3=(_0x222806,_0x396117,_0x45069d,_0x401eae)=>{const _0x1663f3=_0x4483a8;let _0x253222;const _0x5d8ade=_0x222806['get'](_0x35bf85[_0x1663f3(0x3fd)])['getCurrentUnitForType'](_0x35bf85['UniverInstanceType'][_0x1663f3(0x439)]);if(!_0x5d8ade)return null;const _0x4e07da=_0x5d8ade[_0x1663f3(0x244)]();let _0x285870;if(_0x45069d&&(_0x285870=_0x4e07da[_0x1663f3(0x25f)](_0x45069d)),_0x396117!=null&&_0x396117['v']||(_0x396117==null?void 0x0:_0x396117['v'])===0x0){_0x253222||(_0x253222={});const _0x37adb3=_0x5cfa1c(_0x396117['v']);typeof _0x37adb3==_0x1663f3(0x3ee)?_0x253222['t']=_0x35bf85[_0x1663f3(0x49a)][_0x1663f3(0x307)]:typeof _0x37adb3==_0x1663f3(0x2e5)&&(_0x253222['t']=_0x35bf85['CellValueType'][_0x1663f3(0x43f)]),_0x253222['v']=_0x37adb3;}if((_0x396117!=null&&_0x396117['i']||(_0x396117==null?void 0x0:_0x396117['i'])===0x0)&&(_0x253222||(_0x253222={}),_0x253222['fi']=_0x396117['i']),_0x396117!=null&&_0x396117['s']&&(_0x253222||(_0x253222={}),_0x253222[_0x1663f3(0x277)]=_0x396117['s']),_0x45069d&&(_0x253222||(_0x253222={}),_0x253222['s']=_0x285870),_0x401eae&&_0x253222!=null&&_0x253222['v']&&_0x253222[_0x1663f3(0x277)]!==_0x3c6b65[_0x1663f3(0x44a)][_0x1663f3(0x31e)]&&_0x253222[_0x1663f3(0x277)]!==_0x3c6b65[_0x1663f3(0x44a)][_0x1663f3(0x3c8)]){const _0x5ad7d7=String(_0x253222['v']),{dateType:_0x3e9ee2}=_0x401eae;_0x253222['v']=_0x3ba716(_0x222806,_0x3e9ee2,_0x5ad7d7),_0x253222['t']=_0x35bf85['CellValueType'][_0x1663f3(0x43f)];}return _0x253222;},_0x42cc31=(_0x50736c,_0x5dae96,_0xce391b,_0x572ab1)=>{const _0x34ffb8=_0x4483a8;var _0x38c5cf,_0x4f178a,_0x459644,_0x392650,_0x2b3be3,_0x1f0905,_0xf0faf8,_0xb6a564,_0x3f668d,_0x11dcc2,_0xbd7f9c,_0xd4ad96,_0x250dc3,_0x495371;const _0xbea1bf=_0xce391b[_0x34ffb8(0x344)],{cornerView:_0x3e0b6b,rowView:_0x38b13a,colView:_0x8126ab,dataView:_0x134e25,pageView:_0x5966d8,formatMap:_0x4aa4ce,groupInfo:_0x50a344}=_0x5dae96,{row:_0x8955f3,col:_0x5846cb}=_0xbea1bf,_0x532171=new _0x35bf85[(_0x34ffb8(0x405))](),_0x4684d5={},_0x4858b1={},_0x244735={},_0x16eba7={},_0x5ed67f={};let _0x4a87f9=_0x8955f3,_0x580199=_0x5846cb;Object[_0x34ffb8(0x469)](_0x5966d8[_0x34ffb8(0x27e)])[_0x34ffb8(0x443)](_0x4f6220=>{const _0x734e5d=_0x34ffb8;Object[_0x734e5d(0x469)](_0x5966d8[_0x734e5d(0x27e)][Number(_0x4f6220)])['forEach'](_0x139ac2=>{const _0x57d727=_0x734e5d,_0x43f380={..._0x5966d8[_0x57d727(0x27e)][Number(_0x4f6220)][Number(_0x139ac2)]};_0x532171[_0x57d727(0x25f)](Number(_0x4f6220)+_0x4a87f9,Number(_0x139ac2)+_0x580199,_0x57a9a3(_0x50736c,_0x43f380,_0xed3ec3[_0x57d727(0x40b)]));});});const _0x213765=Object[_0x34ffb8(0x469)](_0x5966d8[_0x34ffb8(0x27e)])[_0x34ffb8(0x41b)];_0x4a87f9+=_0x213765+(_0x213765?_0x251f85:0x0);const _0x2ab35a=_0x3e0b6b[_0x34ffb8(0x32a)](),_0x394239=_0x3e0b6b[_0x34ffb8(0x2b0)]();for(let _0x47f38a=0x0;_0x47f38a<_0x2ab35a;_0x47f38a++)for(let _0x5c8298=0x0;_0x5c8298<_0x394239;_0x5c8298++){const _0x266de5={...(_0x4f178a=(_0x38c5cf=_0x3e0b6b[_0x34ffb8(0x27e)])==null?void 0x0:_0x38c5cf[_0x47f38a])==null?void 0x0:_0x4f178a[_0x5c8298]};_0x266de5&&((_0x459644=_0x38b13a[_0x34ffb8(0x318)][_0x5c8298])!=null&&_0x459644[_0x34ffb8(0x3bf)])&&_0x5c8298===_0x394239-0x1&&_0x47f38a===_0x2ab35a-0x1&&(_0x266de5['v']=''+_0x572ab1[_0x34ffb8(0x3f6)]),_0x532171[_0x34ffb8(0x25f)](_0x47f38a+_0x4a87f9,_0x5c8298+_0x580199,_0x57a9a3(_0x50736c,_0x266de5,_0xed3ec3[_0x34ffb8(0x24d)]));}for(let _0x2b7552=0x0;_0x2b7552<_0x3e0b6b[_0x34ffb8(0x232)][_0x34ffb8(0x41b)];_0x2b7552++)_0x3e0b6b[_0x34ffb8(0x232)][_0x2b7552]&&(_0x244735[''+(_0x2b7552+_0x580199)]=_0x3e0b6b[_0x34ffb8(0x232)][_0x2b7552]);_0x580199+=_0x394239;const _0x182b85=_0x8126ab[_0x34ffb8(0x318)],_0x17b22a=_0x8126ab[_0x34ffb8(0x314)]()>=0x0?_0x8126ab[_0x34ffb8(0x314)]()+0x1:0x0,_0x4e5311=_0x8126ab['getLastCol']()>=0x0?_0x8126ab['getLastCol']()+0x1:0x0;for(let _0x46d43a=0x0;_0x46d43a<_0x4e5311;_0x46d43a++){for(let _0xbf07ff=0x0;_0xbf07ff<_0x17b22a;_0xbf07ff++){const _0x12d259={...(_0x2b3be3=(_0x392650=_0x8126ab[_0x34ffb8(0x27e)])==null?void 0x0:_0x392650[_0xbf07ff])==null?void 0x0:_0x2b3be3[_0x46d43a]},_0x23fc06=(_0x1f0905=_0x182b85[_0xbf07ff])==null?void 0x0:_0x1f0905[_0x34ffb8(0x303)],_0xe09e21=_0x4aa4ce[_0x23fc06],_0x31daf3=_0x50a344[_0x23fc06];_0x12d259&&(_0x12d259['v']=_0x4c0eb9(_0x12d259,_0xbf07ff===0x0&&((_0xf0faf8=_0x8126ab[_0x34ffb8(0x471)](_0x46d43a+0x1))==null?void 0x0:_0xf0faf8['isValue']),_0xe09e21,_0x572ab1));let _0x2eda05;_0xe09e21?_0x2eda05={..._0xed3ec3[_0x34ffb8(0x203)],'n':{'pattern':_0xe09e21}}:_0x2eda05={..._0xed3ec3[_0x34ffb8(0x203)]},_0x532171['setValue'](_0xbf07ff+_0x4a87f9,_0x46d43a+_0x580199,_0x57a9a3(_0x50736c,_0x12d259,_0x2eda05,_0x31daf3));}_0x8126ab['info'][_0x46d43a]&&(_0x4858b1[''+(_0x46d43a+_0x580199)]=_0x8126ab[_0x34ffb8(0x232)][_0x46d43a]),_0x8126ab[_0x34ffb8(0x318)][_0x46d43a+0x1]&&(_0x5ed67f[''+(_0x46d43a+_0x4a87f9+0x1)]=_0x8126ab['headerMap'][_0x46d43a+0x1]);}_0x4a87f9+=_0x2ab35a;const _0x575f51=_0x38b13a[_0x34ffb8(0x318)],_0x4f4650=_0x38b13a[_0x34ffb8(0x314)]()>=0x0?_0x38b13a[_0x34ffb8(0x314)]()+0x1:0x0,_0x2c01ba=_0x38b13a[_0x34ffb8(0x183)]()>=0x0?_0x38b13a[_0x34ffb8(0x183)]()+0x1:0x0;for(let _0x10df4a=0x0;_0x10df4a<_0x4f4650;_0x10df4a++){for(let _0x16637c=0x0;_0x16637c<_0x2c01ba;_0x16637c++){const _0x543263={...(_0x3f668d=(_0xb6a564=_0x38b13a[_0x34ffb8(0x27e)])==null?void 0x0:_0xb6a564[_0x10df4a])==null?void 0x0:_0x3f668d[_0x16637c]},_0x585707=(_0x11dcc2=_0x575f51[_0x16637c])==null?void 0x0:_0x11dcc2['tableFieldId'],_0x4924dc=_0x4aa4ce[_0x585707],_0x53e360=_0x50a344[_0x585707];_0x543263&&(_0x543263['v']=_0x4c0eb9(_0x543263,!0x1,_0x4924dc,_0x572ab1));let _0x3cfcb7;_0x38b13a[_0x34ffb8(0x232)][_0x10df4a][_0x34ffb8(0x424)]===_0x38b13a['getColCount']()?_0x3cfcb7=_0xed3ec3[_0x34ffb8(0x31c)]:_0x38b13a[_0x34ffb8(0x232)][_0x10df4a][_0x34ffb8(0x3ef)]?_0x3cfcb7=_0x38b13a['info'][_0x10df4a][_0x34ffb8(0x424)]===0x0?_0xed3ec3['grandTotal']:_0xed3ec3[_0x34ffb8(0x220)]:_0x3cfcb7=_0xed3ec3[_0x34ffb8(0x37d)],_0x4924dc&&(_0x3cfcb7={..._0x3cfcb7,'n':{'pattern':_0x4924dc}}),_0x532171[_0x34ffb8(0x25f)](_0x10df4a+_0x4a87f9,_0x16637c+_0x5846cb,_0x57a9a3(_0x50736c,_0x543263,_0x3cfcb7,_0x53e360));}_0x38b13a[_0x34ffb8(0x232)][_0x10df4a]&&(_0x4684d5[''+(_0x10df4a+_0x4a87f9)]=_0x38b13a[_0x34ffb8(0x232)][_0x10df4a]),_0x38b13a[_0x34ffb8(0x318)][_0x10df4a]&&(_0x16eba7[''+(_0x10df4a+_0x5846cb)]=_0x38b13a[_0x34ffb8(0x318)][_0x10df4a]);}const _0x581cb5=_0x134e25[_0x34ffb8(0x32a)](),_0x579298=_0x134e25[_0x34ffb8(0x2b0)]();for(let _0x1f89bd=0x0;_0x1f89bd<_0x581cb5;_0x1f89bd++)for(let _0x554fe8=0x0;_0x554fe8<_0x579298;_0x554fe8++){const _0x196c9c={...(_0xd4ad96=(_0xbd7f9c=_0x134e25[_0x34ffb8(0x27e)])==null?void 0x0:_0xbd7f9c[_0x1f89bd])==null?void 0x0:_0xd4ad96[_0x554fe8]};let _0x184264;_0x38b13a['info'][_0x1f89bd][_0x34ffb8(0x3ef)]?_0x184264=_0x38b13a['info'][_0x1f89bd][_0x34ffb8(0x424)]===0x0?_0xed3ec3[_0x34ffb8(0x3e3)]:_0xed3ec3[_0x34ffb8(0x220)]:_0x184264=_0xed3ec3[_0x34ffb8(0x400)];const _0x222881=_0x38b13a[_0x34ffb8(0x232)][_0x1f89bd][_0x34ffb8(0x2b7)],_0x2004b5=_0x8126ab[_0x34ffb8(0x232)][_0x554fe8][_0x34ffb8(0x2b7)],_0xcc9aeb=Math[_0x34ffb8(0x321)](_0x222881,_0x2004b5),_0x16ab21=_0xce391b[_0x34ffb8(0x1b6)]['valueFields'][_0x34ffb8(0x2ad)]();let _0x247029='';_0xcc9aeb<0x0?_0x247029=(_0x250dc3=_0x16ab21[0x0])!=null?_0x250dc3:'':_0x247029=(_0x495371=_0x16ab21[_0xcc9aeb])!=null?_0x495371:'';const _0x5a7d5d=_0x4aa4ce[_0x247029];_0x5a7d5d&&(_0x184264={..._0x184264,'n':{'pattern':_0x5a7d5d}}),_0x532171[_0x34ffb8(0x25f)](_0x1f89bd+_0x4a87f9,_0x554fe8+_0x580199,_0x57a9a3(_0x50736c,_0x196c9c,_0x184264));}return{'valueMatrix':_0x532171,'rowInfo':_0x4684d5,'colInfo':_0x4858b1,'cornerInfo':_0x244735,'rowHeaderMap':_0x16eba7,'colHeaderMap':_0x5ed67f};};function _0x4c0eb9(_0x23870b,_0x13da4b,_0x4a4e77,_0x212ea6){const _0xc8147a=_0x4483a8;let _0x4da19e=_0x23870b['v'];_0x13da4b&&(_0x4da19e=''+_0x212ea6[_0xc8147a(0x3f6)]);const _0x2de2a9=_0x23870b['t']&&(_0x23870b['t']&_0x3c6b65[_0xc8147a(0x3d8)][_0xc8147a(0x2c3)])>0x0;if(_0x2de2a9&&(_0x4da19e=''+_0x212ea6[_0xc8147a(0x1a8)]),_0x23870b['s']===_0x3c6b65[_0xc8147a(0x44a)][_0xc8147a(0x3c8)]){let _0x21abdb=_0x4da19e,_0xa49310='';_0x3c6b65['isPrefixValue'](_0x4da19e)&&(_0x21abdb=_0x4da19e[_0xc8147a(0x460)],_0xa49310=_0x4da19e['value']);const _0x8abfbb=_0x4a4e77&&!_0x2de2a9?_0x35bf85[_0xc8147a(0x3fc)][_0xc8147a(0x430)](_0x4a4e77,Number(_0x21abdb)):_0x21abdb;_0xa49310?_0x4da19e=_0x8abfbb+'\x20'+_0xa49310:_0x4da19e=_0x8abfbb+'\x20'+_0x212ea6[_0xc8147a(0x4ac)];}else _0x23870b['s']===_0x3c6b65[_0xc8147a(0x44a)][_0xc8147a(0x31e)]&&(_0x4da19e=_0x4da19e+'\x20'+_0x212ea6[_0xc8147a(0x28b)]);return _0x4da19e;}function _0x5cfa1c(_0x3429f0){const _0x2cf0e9=_0x4483a8;if(_0x3c6b65['isErrorValue'](_0x3429f0)){const {errorType:_0x49e141}=_0x3429f0;switch(_0x49e141){case _0x3c6b65['PivotErrorTypeEnum'][_0x2cf0e9(0x369)]:return _0x22c55[_0x2cf0e9(0x2da)][_0x2cf0e9(0x33e)];case _0x3c6b65[_0x2cf0e9(0x22b)][_0x2cf0e9(0x185)]:return _0x22c55['ErrorType'][_0x2cf0e9(0x32d)];case _0x3c6b65[_0x2cf0e9(0x22b)][_0x2cf0e9(0x402)]:return _0x22c55[_0x2cf0e9(0x2da)][_0x2cf0e9(0x211)];case _0x3c6b65[_0x2cf0e9(0x22b)][_0x2cf0e9(0x249)]:return _0x22c55[_0x2cf0e9(0x2da)][_0x2cf0e9(0x211)];case _0x3c6b65[_0x2cf0e9(0x22b)][_0x2cf0e9(0x46a)]:return _0x22c55[_0x2cf0e9(0x2da)][_0x2cf0e9(0x1ae)];}}return _0x3429f0;}function _0xb75cad(_0x42e31b,_0x5b0483,_0x1b6ca9=!0x1,_0x54f844=!0x1){const _0x5a4e7f=_0x4483a8,{data:_0x13bc75}=_0x5b0483,_0x1333bc=_0x5b0483[_0x5a4e7f(0x32a)](),_0xab745f=_0x5b0483[_0x5a4e7f(0x2b0)]();if(_0x1333bc<=0x0||_0xab745f<=0x0)return[];const _0x3c66b1=_0x5b0483['getLastCol'](),_0x287c73=_0x5b0483['getLastRow'](),_0x3efaf5=_0x54f844?_0x287c73>=0x0?_0x287c73+0x1:0x0:_0x1333bc,_0x4ddf2d=_0x54f844?_0x3c66b1>=0x0?_0x3c66b1+0x1:0x0:_0xab745f,{row:_0x289596,col:_0x33fd43}=_0x42e31b,_0xc60036=_0x289596,_0x420cc7=_0x33fd43;if(_0x1b6ca9){const _0xc42b2d=[];for(const [_0x13da4a,_0x47ab0e]of Object[_0x5a4e7f(0x438)](_0x13bc75))for(const [_0x23beed,_0x3577f5]of Object['entries'](_0x47ab0e))_0xc42b2d[_0x5a4e7f(0x1a4)](_0x35bf85['cellToRange'](_0xc60036+Number(_0x13da4a),_0x420cc7+Number(_0x23beed)));return _0xc42b2d;}else{const _0x132588=_0x54f844?_0x3efaf5>0x0?0x1:0x0:0x1,_0x493b49=_0x54f844?_0x4ddf2d>0x0?0x1:0x0:0x1,_0x3d8e7e=_0x289596+_0x3efaf5-_0x132588,_0x501a77=_0x33fd43+_0x4ddf2d-_0x493b49;return[{'startRow':_0xc60036,'startColumn':_0x420cc7,'endRow':_0x3d8e7e,'endColumn':_0x501a77}];}}const _0x27e988=_0x4483a8(0x393),_0x586e83=_0x4483a8(0x3f0);var _0xe0c21a=(_0x4f8a30=>(_0x4f8a30[_0x4483a8(0x2a1)]=_0x4483a8(0x3d5),_0x4f8a30[_0x4483a8(0x3a6)]=_0x4483a8(0x313),_0x4f8a30[_0x4483a8(0x257)]=_0x4483a8(0x49e),_0x4f8a30[_0x4483a8(0x1b8)]=_0x4483a8(0x1b8),_0x4f8a30[_0x4483a8(0x27c)]=_0x4483a8(0x34a),_0x4f8a30[_0x4483a8(0x26a)]=_0x4483a8(0x453),_0x4f8a30['RemovePivotField']=_0x4483a8(0x4a5),_0x4f8a30['SetPivotCollapse']=_0x4483a8(0x2f1),_0x4f8a30[_0x4483a8(0x275)]=_0x4483a8(0x1a9),_0x4f8a30[_0x4483a8(0x1eb)]=_0x4483a8(0x2a9),_0x4f8a30[_0x4483a8(0x49f)]='setPivotSetting',_0x4f8a30[_0x4483a8(0x45e)]=_0x4483a8(0x409),_0x4f8a30[_0x4483a8(0x18a)]=_0x4483a8(0x2fc),_0x4f8a30[_0x4483a8(0x1b2)]=_0x4483a8(0x451),_0x4f8a30[_0x4483a8(0x371)]=_0x4483a8(0x3ac),_0x4f8a30[_0x4483a8(0x38b)]=_0x4483a8(0x4a0),_0x4f8a30['ResetPivotTable']='resetPivotTable',_0x4f8a30))(_0xe0c21a||{});const _0x133c00={'sheets-pivot.blankValue':_0x4483a8(0x1d4),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x4483a8(0x33f),'sheets-pivot.grandTotalText':_0x4483a8(0x29e),'sheets-pivot.valueText':_0x4483a8(0x200),'sheets-pivot.averageName':_0x4483a8(0x42e),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x4483a8(0x431),'sheets-pivot.productName':_0x4483a8(0x44f),'sheets-pivot.stdDevName':_0x4483a8(0x248),'sheets-pivot.stdDevpName':_0x4483a8(0x339),'sheets-pivot.sumName':_0x4483a8(0x20e),'sheets-pivot.varName':_0x4483a8(0x3af),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x4483a8(0x2ce),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x4483a8(0x2a1),'sheets-pivot.emptyPivot.row':_0x4483a8(0x410),'sheets-pivot.emptyPivot.column':_0x4483a8(0x32f),'sheets-pivot.emptyPivot.values':_0x4483a8(0x337)},_0x47af3a={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x545cee=_0x35bf85[_0x4483a8(0x1ad)](_0x4483a8(0x49d)),_0x2756d8=_0x35bf85[_0x4483a8(0x32b)](_0x4483a8(0x3dc));var _0x5da10e=(_0xefef5e=>(_0xefef5e[_0x4483a8(0x36c)]=_0x4483a8(0x36c),_0xefef5e[_0x4483a8(0x33a)]=_0x4483a8(0x33a),_0xefef5e['update']=_0x4483a8(0x342),_0xefef5e))(_0x5da10e||{}),_0x208bc1=(_0xd668cc=>(_0xd668cc[_0x4483a8(0x25d)]='add',_0xd668cc['Set']=_0x4483a8(0x319),_0xd668cc['Delete']='delete',_0xd668cc))(_0x208bc1||{});const _0x457974={0x0:'3',0x1:'5',0x2:'p',0x3:'C',0x4:'T',0x5:'r',0x6:'t',0x7:'9',0x8:'f',0x9:'n','g':'0','Z':'1','r':'2','Y':'4','o':'6','w':'7','n':'8','f':'a','H':'b','i':'c','v':'d','t':'e','e':'g','X':'h','D':'i','d':'j','T':'k','p':'l','K':'m','s':'o','c':'q','y':'s','C':'u','L':'v','F':'w','J':'x','S':'y','h':'z','N':'A','A':'B','G':'D','V':'E','k':'F','q':'G','M':'H','W':'I','b':'J','O':'K','P':'L','U':'M','l':'N','z':'O','j':'P','E':'Q','x':'R','a':'S','I':'U','B':'V','R':'W','u':'X','m':'Y','Q':'Z'},_0x28db76=_0x4483a8(0x396),_0x5ab2e3={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x1b4),'handler':()=>!0x0},_0x487f10={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x22a),'handler':()=>!0x0},_0x3877fd={'type':_0x35bf85['CommandType'][_0x4483a8(0x266)],'id':_0x4483a8(0x1bd),'handler':()=>!0x0},_0x48bf36={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x2a4),'handler':()=>!0x0},_0x2c61b2={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x209),'handler':()=>!0x0},_0x2a0e63=_0x33a341=>{const _0x24f78e=_0x4483a8;var _0x1b0a85;return((_0x1b0a85=_0x33a341[_0x24f78e(0x26e)])==null?void 0x0:_0x1b0a85[_0x24f78e(0x49b)][_0x24f78e(0x22c)](/\r\n$/,''))||'';};class _0x5f30d5 extends _0x3c6b65[_0x4483a8(0x3b0)]{constructor(_0x325355,_0x1629f5){const _0x55c541=_0x4483a8;super(),_0x209b81(this,_0x55c541(0x2df),{}),_0x209b81(this,_0x55c541(0x194)),_0x209b81(this,_0x55c541(0x212)),(this[_0x55c541(0x194)]=_0x1629f5,this['_host']=_0x325355);}['initDataRanges'](){const _0x412b0c=_0x4483a8;for(const _0x295c1f in this['dataFields']){const _0x1050f0=this[_0x412b0c(0x19e)][_0x295c1f],_0x2b14bc=_0x1050f0[_0x412b0c(0x279)]();this[_0x412b0c(0x2df)][_0x2b14bc]=_0x1050f0[_0x412b0c(0x3a8)]();}}[_0x4483a8(0x46e)](){const _0x524a20=this['_host'];return _0x5a745a['bind'](_0x524a20);}['deleteDataField'](_0x11454b){const _0x5b158f=_0x4483a8,_0x379428=this['dataFields'][_0x11454b][_0x5b158f(0x290)];delete this['dataFields'][_0x11454b],delete this['rangeKeyMap'][_0x379428];}['addDataFieldWithoutUnitInfo'](_0x248861){this['dataFields'][_0x248861['getId']()]=_0x248861;}[_0x4483a8(0x1fd)](_0x30b138){const _0x519f1e=_0x4483a8;var _0x1e9fc0,_0x5c93c8;const _0xb92e49=this[_0x519f1e(0x212)][_0x519f1e(0x251)](_0x30b138);if(_0xb92e49){const {unitId:_0xc54847,subUnitId:_0x2fc284}=_0xb92e49,_0x4f2aae=(_0x1e9fc0=this[_0x519f1e(0x212)][_0x519f1e(0x30e)](_0xc54847,_0x2fc284,_0x30b138))==null?void 0x0:_0x1e9fc0[_0x519f1e(0x30c)];this[_0x519f1e(0x212)][_0x519f1e(0x1cd)]({'token':_0x30b138,'type':_0x5da10e[_0x519f1e(0x33a)],'dataRangeInfo':_0x4f2aae});}(_0x5c93c8=this['getCollection'](_0x30b138))==null||_0x5c93c8[_0x519f1e(0x399)](),delete this[_0x519f1e(0x332)][_0x30b138];}[_0x4483a8(0x279)](_0x19acd8,_0x480a26){const _0xc68963=_0x4483a8,{sheetName:_0x34b80f,unitId:_0x43e3b2,range:_0x550cce}=_0x19acd8,{startRow:_0xf5b97e,endRow:_0x3a2c3f}=_0x550cce;return _0x22c55[_0xc68963(0x2ac)](_0x43e3b2,_0x34b80f,{'startRow':_0xf5b97e,'endRow':_0x3a2c3f,'startColumn':_0x480a26,'endColumn':_0x480a26});}['getDataFieldByRangeKey'](_0x1bb70a){const _0x4ff6b9=_0x4483a8;return this[_0x4ff6b9(0x19e)][this['rangeKeyMap'][_0x1bb70a]];}['setRangeKeyMap'](_0x79676c,_0x2975e1){const _0x55f730=_0x4483a8;this[_0x55f730(0x2df)][_0x79676c]=_0x2975e1;}['updateRangeKeyMap'](_0x39a9be,_0x286319){const _0x1d3e58=_0x4483a8;this[_0x1d3e58(0x2df)][_0x286319]=this[_0x1d3e58(0x2df)][_0x39a9be],delete this[_0x1d3e58(0x2df)][_0x39a9be];}['addCollectionByJSON'](_0x252760,_0x159ff4,_0x5801fa,_0x1f0c07){const _0x3f4c51=_0x4483a8,_0x42743f=new _0x3c6b65[(_0x3f4c51(0x326))](this);_0x42743f['fromJSON'](_0x159ff4);const _0x3b8e90=[];let _0x5d2a06=0x0;for(const _0x1e6cfd of _0x42743f[_0x3f4c51(0x34e)]){const _0x3a50dd=this['getRangeKey'](_0x5801fa,_0x5d2a06),_0x2ea035=this[_0x3f4c51(0x19e)][_0x1e6cfd];_0x2ea035&&(_0x2ea035['rangeKey']=_0x3a50dd,this['setRangeKeyMap'](_0x3a50dd,_0x1e6cfd),_0x3b8e90[_0x3f4c51(0x1a4)]({'index':_0x5d2a06,'dataField':_0x2ea035})),_0x5d2a06++;}return this[_0x3f4c51(0x293)](_0x252760,_0x42743f,_0x5801fa,_0x1f0c07),{'collection':_0x42743f,'updateDataFieldList':_0x3b8e90};}[_0x4483a8(0x3ad)](_0x2f841f,_0x2d0007){const _0x5a67ec=_0x4483a8;return _0x2f841f[_0x5a67ec(0x3f2)]===_0x35bf85[_0x5a67ec(0x19d)][_0x5a67ec(0x415)]?{'startRow':0x0,'startColumn':_0x2f841f[_0x5a67ec(0x367)],'endRow':_0x2d0007[_0x5a67ec(0x32a)]()-0x1,'endColumn':_0x2f841f['endColumn']}:{'startRow':_0x2f841f['startRow'],'startColumn':_0x2f841f[_0x5a67ec(0x367)],'endRow':_0x2f841f['endRow'],'endColumn':_0x2f841f['endColumn']};}[_0x4483a8(0x3ed)](_0xaec7a2){const _0x43cc5b=_0x4483a8,{sheetName:_0x48eab5,range:_0x49848a}=_0xaec7a2,_0x43d47a=this[_0x43cc5b(0x194)][_0x43cc5b(0x216)](_0x35bf85[_0x43cc5b(0x2b9)][_0x43cc5b(0x439)]),_0x96f470=_0x43d47a['getSheetBySheetName'](_0x48eab5),_0x1aad4c=_0x96f470[_0x43cc5b(0x269)](),{startColumn:_0x2a9e5a,startRow:_0x571ed0,endColumn:_0x4923fc}=this['getRangeStartEndInfo'](_0x49848a,_0x96f470),_0x46f22b=_0x43d47a[_0x43cc5b(0x244)](),_0xfbb014=new _0x3c6b65[(_0x43cc5b(0x326))](this);_0xfbb014[_0x43cc5b(0x1c5)](_0xaec7a2);const _0x4f2897=[],_0x525604={};for(let _0x25b3c0=_0x2a9e5a;_0x25b3c0<=_0x4923fc;_0x25b3c0++){const _0x49d438=_0x1aad4c['getValue'](_0x571ed0,_0x25b3c0),_0x54d625=this[_0x43cc5b(0x279)](_0xaec7a2,_0x25b3c0),_0x5c2cae=this[_0x43cc5b(0x2e9)](_0x54d625);if(_0x5c2cae)_0xfbb014[_0x43cc5b(0x4a2)](_0x5c2cae[_0x43cc5b(0x3a8)](),_0x5c2cae[_0x43cc5b(0x3e5)]());else{const _0x17b25a=this[_0x43cc5b(0x291)]();let _0x59fba5=this[_0x43cc5b(0x2a0)](_0x49d438,_0x46f22b,_0x525604);_0x3c6b65[_0x43cc5b(0x3be)](_0x59fba5)&&(_0x59fba5=_0x35bf85[_0x43cc5b(0x3fc)][_0x43cc5b(0x430)](_0x59fba5['f'],Number(_0x59fba5['v'])));const _0x29a593=this[_0x43cc5b(0x2c5)](_0x59fba5,_0x25b3c0),_0x4d3799=new _0x3c6b65[(_0x43cc5b(0x330))](_0x17b25a,_0x29a593,_0x3c6b65[_0x43cc5b(0x27a)](0x3));_0x4d3799['rangeKey']=_0x54d625,this[_0x43cc5b(0x19e)][_0x17b25a]=_0x4d3799,_0xfbb014[_0x43cc5b(0x4a2)](_0x17b25a,_0x29a593),_0x4f2897[_0x43cc5b(0x1a4)]({'index':_0x25b3c0,'dataField':_0x4d3799});}}return{'updateDataFieldList':_0x4f2897,'collection':_0xfbb014};}[_0x4483a8(0x455)](_0x12ae9c){const _0x41dfe4=_0x4483a8;return this[_0x41dfe4(0x212)][_0x41dfe4(0x3f3)]()[_0x41dfe4(0x19c)]+'\x20'+_0x35bf85[_0x41dfe4(0x1c0)](_0x12ae9c);}[_0x4483a8(0x2c5)](_0x1c2fa6,_0x33aa20){const _0x3c2a3a=_0x4483a8;return _0x1c2fa6==null||_0x1c2fa6===''?this[_0x3c2a3a(0x455)](_0x33aa20):String(_0x1c2fa6);}[_0x4483a8(0x3d3)](_0x1a9037){const _0x2c02c1=_0x4483a8;return this[_0x2c02c1(0x332)][_0x1a9037];}[_0x4483a8(0x293)](_0x4b7110,_0x300c98,_0x72def0,_0x197d92){const _0x5af46c=_0x4483a8;this['collections'][_0x4b7110]=_0x300c98,_0x300c98[_0x5af46c(0x1c5)](_0x72def0),this[_0x5af46c(0x212)][_0x5af46c(0x1cd)]({'token':_0x4b7110,'type':_0x5da10e['add'],'dataRangeInfo':_0x72def0,'targetCellInfo':_0x197d92});}[_0x4483a8(0x497)](_0x3673cd,_0x41685f){const _0x593a8b=_0x4483a8,_0x17dd86=this[_0x593a8b(0x3d3)](_0x3673cd),_0x2cdb6d=_0x17dd86[_0x593a8b(0x36a)]();let _0x2efbca=0x0;for(const _0x12b8fa of _0x2cdb6d){const _0x2fd2ab=_0x17dd86[_0x593a8b(0x2b1)](_0x12b8fa),_0x33d1e9=this[_0x593a8b(0x279)](_0x41685f,_0x2efbca);this[_0x593a8b(0x2f4)](_0x2fd2ab[_0x593a8b(0x290)],_0x33d1e9),_0x2efbca++;}}[_0x4483a8(0x42c)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4483a8(0x310)](_0x133e18,_0x5d03ff){const _0x2ab1b6=_0x4483a8;if(this['getCollection'](_0x133e18)){const _0x926ec9=this['getRangeKeyList'](_0x5d03ff),_0x328acb=[];for(const _0x341950 of _0x926ec9)this[_0x2ab1b6(0x2df)][_0x341950]!==void 0x0&&_0x328acb[_0x2ab1b6(0x1a4)](this['rangeKeyMap'][_0x341950]);const _0x18e209=this['getNoUsedDataFieldIds'](_0x133e18),_0x58cae9=[],_0x20d3f1=new Set(_0x328acb);for(const _0x2a8a54 of _0x18e209)_0x20d3f1[_0x2ab1b6(0x2f6)](_0x2a8a54)||_0x58cae9['push'](_0x2a8a54);return _0x58cae9;}}[_0x4483a8(0x323)](_0x5f5ef5,_0x49948e,_0x17edff,_0x2a7d3a,_0x8a65c5){const _0x282428=_0x4483a8;return _0x49948e&&_0x49948e['getValue'](_0x2a7d3a,_0x8a65c5)?_0x49948e[_0x282428(0x2db)](_0x2a7d3a,_0x8a65c5):_0x17edff&&_0x17edff[_0x282428(0x2db)](_0x2a7d3a,_0x8a65c5)?_0x17edff['getValue'](_0x2a7d3a,_0x8a65c5):_0x5f5ef5[_0x282428(0x2db)](_0x2a7d3a,_0x8a65c5);}[_0x4483a8(0x20c)](_0x2082d4,_0x49a732,_0xda30ab,_0x2fc166){const _0x1efaa7=_0x4483a8,_0x4520a2=this[_0x1efaa7(0x19e)][_0x2082d4];if(!_0x4520a2)return;const {subUnitId:_0x585d9b,range:_0x40b71c,unitId:_0x1c1584}=_0x49a732,_0x4edc8e=this['_univerInstanceService']['getUnit'](_0x1c1584);if(!_0x4edc8e){console[_0x1efaa7(0x286)](_0x1efaa7(0x41a));return;}const _0x446eef=_0x4edc8e[_0x1efaa7(0x29f)](_0x585d9b),_0x54bd3e=_0x446eef[_0x1efaa7(0x269)](),{arrayFormulaCellDataMatrix:_0x1a34b3,unitDataMatrix:_0x4254d0}=_0x2fc166||{},{startRow:_0x21f71a,startColumn:_0x214119,endRow:_0x5ee818}=this[_0x1efaa7(0x3ad)](_0x40b71c,_0x446eef);_0x4520a2[_0x1efaa7(0x2d3)]();const _0x281b16=_0x4edc8e[_0x1efaa7(0x244)](),_0x5f53d8={},_0x486118=this['getMatrixValue'](_0x54bd3e,_0x1a34b3,_0x4254d0,_0x21f71a,_0x214119+_0xda30ab);let _0x5426b6=this[_0x1efaa7(0x2a0)](_0x486118,_0x281b16,_0x5f53d8);_0x3c6b65[_0x1efaa7(0x3be)](_0x5426b6)&&(_0x5426b6=_0x35bf85['numfmt']['format'](_0x5426b6['f'],Number(_0x5426b6['v'])));const _0x24e7d6=this[_0x1efaa7(0x2c5)](_0x5426b6,_0x214119+_0xda30ab);_0x4520a2[_0x1efaa7(0x2d8)](_0x24e7d6);for(let _0x349afd=_0x21f71a+0x1;_0x349afd<=_0x5ee818;_0x349afd++){const _0x46438b=this[_0x1efaa7(0x323)](_0x54bd3e,_0x1a34b3,_0x4254d0,_0x349afd,_0x214119+_0xda30ab);_0x4520a2[_0x1efaa7(0x394)](this[_0x1efaa7(0x2a0)](_0x46438b,_0x281b16,_0x5f53d8),_0x349afd-0x1-_0x21f71a);}}[_0x4483a8(0x1f6)](_0x5dd6cc,_0x205074,_0x1cb427){const _0x27be93=_0x4483a8,{subUnitId:_0x5a4821,range:_0x18f67b,unitId:_0x29419d}=_0x1cb427,_0x323118=this['_univerInstanceService']['getUnit'](_0x29419d);if(!_0x323118){console[_0x27be93(0x286)]('workbook\x20is\x20not\x20found');return;}const _0x4ce518=_0x323118['getSheetBySheetId'](_0x5a4821),_0x3f1eef=_0x4ce518[_0x27be93(0x269)](),{startRow:_0x5d7244,startColumn:_0x41cf14,endRow:_0xb78f7f}=this[_0x27be93(0x3ad)](_0x18f67b,_0x4ce518),_0x34f5d9=_0x323118['getStyles'](),_0x3fa02f={};for(const {dataField:_0x137b97,index:_0x16bfcf}of _0x205074){_0x137b97['reset']();const _0x35e6fc=this['getMatrixValue'](_0x3f1eef,void 0x0,void 0x0,_0x5d7244,_0x41cf14+_0x16bfcf);let _0x61b4d7=this['adjustSheetCellData'](_0x35e6fc,_0x34f5d9,_0x3fa02f);_0x3c6b65[_0x27be93(0x3be)](_0x61b4d7)&&(_0x61b4d7=_0x35bf85[_0x27be93(0x3fc)][_0x27be93(0x430)](_0x61b4d7['f'],Number(_0x61b4d7['v'])));const _0x17c2b9=this['uniqueDataFieldName'](_0x61b4d7,_0x41cf14+_0x16bfcf);_0x137b97[_0x27be93(0x2d8)](_0x17c2b9);}_0x5dd6cc[_0x27be93(0x3da)]();for(let _0x5b58f5=_0x5d7244+0x1;_0x5b58f5<=_0xb78f7f;_0x5b58f5++)for(const {index:_0x4f58ab,dataField:_0x51e7a5}of _0x205074){const _0x308f00=_0x3f1eef['getValue'](_0x5b58f5,_0x41cf14+_0x4f58ab);_0x51e7a5[_0x27be93(0x394)](this[_0x27be93(0x2a0)](_0x308f00,_0x34f5d9,_0x3fa02f),_0x5b58f5-0x1-_0x5d7244);}_0x5dd6cc['setDataRecordCount'](_0xb78f7f-_0x5d7244);}[_0x4483a8(0x29d)](_0x36db5b){const _0x2bb17d=_0x4483a8,{range:_0x3f4d6e}=_0x36db5b,{startColumn:_0x155882,endColumn:_0x1108a0}=_0x3f4d6e,_0x3e2e72=[];for(let _0x29a106=_0x155882;_0x29a106<=_0x1108a0;_0x29a106++)_0x3e2e72['push'](this[_0x2bb17d(0x279)](_0x36db5b,_0x29a106));return _0x3e2e72;}[_0x4483a8(0x2a0)](_0x2fb338,_0x448cdc,_0x5a650b){const _0x194353=_0x4483a8;if(_0x2fb338){const {s:_0x3be82e,v:_0x41315d,t:_0x482967,p:_0x18a900}=_0x2fb338;if(_0x18a900)return _0x2a0e63(_0x18a900);const _0x353754=_0x448cdc['get'](_0x3be82e);if(_0x353754&&_0x482967===_0x35bf85[_0x194353(0x49a)][_0x194353(0x307)]&&_0x353754['n']){const {pattern:_0x62ebbe}=_0x353754['n'];_0x5a650b[_0x62ebbe]||(_0x5a650b[_0x62ebbe]=_0x35bf85[_0x194353(0x3fc)][_0x194353(0x1f4)](_0x62ebbe));const _0x29981f=_0x5a650b[_0x62ebbe],_0x2f6131=_0x29981f['isDate'];if(_0x29981f[_0x194353(0x375)])return String(_0x41315d);if(_0x2f6131)return{'v':_0x41315d,'f':_0x62ebbe};}if(_0x482967===_0x35bf85['CellValueType'][_0x194353(0x307)])return Number(_0x41315d);if(_0x482967===_0x35bf85['CellValueType'][_0x194353(0x43f)]||_0x482967===_0x35bf85[_0x194353(0x49a)]['FORCE_STRING'])return String(_0x41315d);if(_0x482967===void 0x0){const _0x9dcc33=Number(_0x41315d);if(!Number[_0x194353(0x1e2)](_0x9dcc33)&&String(_0x9dcc33)===_0x41315d)return _0x9dcc33;}return _0x41315d!=null?_0x41315d:null;}else return null;}[_0x4483a8(0x3cb)](_0x215fd4){const _0x34bbd8=_0x4483a8,{sheetName:_0x15c909,range:_0x550ec6,unitId:_0x3874a0}=_0x215fd4,_0xdc3de1=this['_univerInstanceService']['getUnit'](_0x3874a0);if(!_0xdc3de1)return console['error'](_0x34bbd8(0x41a)),{'header':[],'data':[]};const _0x54ebb2=_0xdc3de1[_0x34bbd8(0x484)](_0x15c909),_0x402326=_0x54ebb2[_0x34bbd8(0x269)](),{startRow:_0x415234,startColumn:_0x17516c,endRow:_0x105327,endColumn:_0x358d8a}=this[_0x34bbd8(0x3ad)](_0x550ec6,_0x54ebb2),_0x31febc=_0xdc3de1[_0x34bbd8(0x244)](),_0x5dd4e6=[],_0x2e9154=[],_0x1d0e60={};for(let _0x18da2c=_0x415234;_0x18da2c<=_0x105327;_0x18da2c++){const _0x57be93=[];for(let _0x5e9f4b=_0x17516c;_0x5e9f4b<=_0x358d8a;_0x5e9f4b++){const _0x438c62=_0x402326[_0x34bbd8(0x2db)](_0x18da2c,_0x5e9f4b);_0x18da2c===_0x415234?_0x5dd4e6[_0x34bbd8(0x1a4)](_0x438c62==null?null:String(_0x438c62['v'])):_0x57be93[_0x34bbd8(0x1a4)](this[_0x34bbd8(0x2a0)](_0x438c62,_0x31febc,_0x1d0e60));}_0x2e9154[_0x34bbd8(0x1a4)](_0x57be93);}return{'header':_0x5dd4e6,'data':_0x2e9154};}[_0x4483a8(0x2a8)](){const _0x54c955=_0x4483a8;return super[_0x54c955(0x2a8)]();}['fromJSON'](_0x459c2a){const _0x5da75c=_0x4483a8;super[_0x5da75c(0x38f)](_0x459c2a),this[_0x5da75c(0x37b)]();}[_0x4483a8(0x399)](){const _0x2aa3b7=_0x4483a8;super['dispose'](),this[_0x2aa3b7(0x2df)]={},this[_0x2aa3b7(0x212)]=null;}}const _0xeab257=_0x12cdbf=>{const _0x58794b=_0x4483a8,{targetCellInfo:_0x8d1c0a}=_0x12cdbf,{matrixCache:_0x4eed63,rangesCache:_0x1132d5}=_0x594b6a({'filter':_0x58794b(0x2a1),'row':_0x58794b(0x410),'column':_0x58794b(0x32f),'values':_0x58794b(0x337)},_0x8d1c0a),_0x5f4de7=new _0x35bf85['ObjectMatrix']();return _0x4eed63[_0x58794b(0x387)]((_0x2bbe24,_0x76ac20,_0x4d45b4)=>{const _0x507d02=_0x58794b;_0x5f4de7[_0x507d02(0x25f)](_0x2bbe24,_0x76ac20,_0x4d45b4);}),{'matrix':_0x5f4de7,'rangesCache':_0x1132d5};},_0x58abb1=_0x2c82bf=>{const _0x3b0b8f=_0x4483a8;let _0x5a26aa;if(_0x2c82bf!=null&&_0x2c82bf['v']||(_0x2c82bf==null?void 0x0:_0x2c82bf['v'])===0x0){_0x5a26aa||(_0x5a26aa={});const _0x516c68=_0x5cfa1c(_0x2c82bf['v']);typeof _0x516c68=='number'?_0x5a26aa['t']=_0x35bf85[_0x3b0b8f(0x49a)][_0x3b0b8f(0x307)]:typeof _0x516c68==_0x3b0b8f(0x2e5)&&(_0x5a26aa['t']=_0x35bf85[_0x3b0b8f(0x49a)]['STRING']),_0x5a26aa['v']=_0x516c68;}return _0x5a26aa;},_0xf92fd1=(_0x42e173,_0x23d615,_0x269f47)=>{const _0xf39f55=_0x4483a8;var _0x17d532,_0x39d71e,_0x49ad15,_0x278b4c,_0x1784fb,_0x86f1c2,_0x1419b0,_0x368fc5,_0x369d4c,_0x296284,_0x328990,_0xfc1c4d;const {cornerView:_0x32c0ac,rowView:_0x121430,colView:_0x42c645,dataView:_0xa81fca,pageView:_0x53a825,formatMap:_0x3dfa06}=_0x42e173,{row:_0x4d75b6,col:_0x5dc8ec}=_0x23d615,_0xbf61a2=new _0x35bf85[(_0xf39f55(0x405))]();let _0x2f8f20=_0x4d75b6,_0x52360e=_0x5dc8ec;Object[_0xf39f55(0x469)](_0x53a825['data'])[_0xf39f55(0x443)](_0x2e03e5=>{const _0x30b3bd=_0xf39f55;Object[_0x30b3bd(0x469)](_0x53a825[_0x30b3bd(0x27e)][Number(_0x2e03e5)])[_0x30b3bd(0x443)](_0x537fb8=>{const _0x17419f=_0x30b3bd,_0x1bc380={..._0x53a825[_0x17419f(0x27e)][Number(_0x2e03e5)][Number(_0x537fb8)]};_0xbf61a2['setValue'](Number(_0x2e03e5)+_0x2f8f20,Number(_0x537fb8)+_0x52360e,_0x58abb1(_0x1bc380));});});const _0xd38cca=Object[_0xf39f55(0x469)](_0x53a825[_0xf39f55(0x27e)])[_0xf39f55(0x41b)];_0x2f8f20+=_0xd38cca+(_0xd38cca?_0x251f85:0x0);const _0x31c4f6=_0x32c0ac[_0xf39f55(0x32a)](),_0x539e36=_0x32c0ac[_0xf39f55(0x2b0)]();for(let _0x148e30=0x0;_0x148e30<_0x31c4f6;_0x148e30++)for(let _0x29a5be=0x0;_0x29a5be<_0x539e36;_0x29a5be++){const _0x34e815={...(_0x39d71e=(_0x17d532=_0x32c0ac[_0xf39f55(0x27e)])==null?void 0x0:_0x17d532[_0x148e30])==null?void 0x0:_0x39d71e[_0x29a5be]};_0x34e815&&((_0x49ad15=_0x121430[_0xf39f55(0x318)][_0x29a5be])!=null&&_0x49ad15['isValue'])&&_0x29a5be===_0x539e36-0x1&&_0x148e30===_0x31c4f6-0x1&&(_0x34e815['v']=''+_0x269f47[_0xf39f55(0x3f6)]),_0xbf61a2[_0xf39f55(0x25f)](_0x148e30+_0x2f8f20,_0x29a5be+_0x52360e,_0x58abb1(_0x34e815));}_0x52360e+=_0x539e36;const _0x189e90=_0x42c645[_0xf39f55(0x318)],_0x33a3c7=_0x42c645[_0xf39f55(0x314)]()>=0x0?_0x42c645[_0xf39f55(0x314)]()+0x1:0x0,_0xd90d81=_0x42c645[_0xf39f55(0x183)]()>=0x0?_0x42c645['getLastCol']()+0x1:0x0;for(let _0x1ded6e=0x0;_0x1ded6e<_0xd90d81;_0x1ded6e++)for(let _0x3d2ea2=0x0;_0x3d2ea2<_0x33a3c7;_0x3d2ea2++){const _0x405caf={...(_0x1784fb=(_0x278b4c=_0x42c645['data'])==null?void 0x0:_0x278b4c[_0x1ded6e])==null?void 0x0:_0x1784fb[_0x3d2ea2]},_0x3d284d=(_0x86f1c2=_0x189e90[_0x1ded6e])==null?void 0x0:_0x86f1c2[_0xf39f55(0x303)],_0x3fb456=_0x3dfa06[_0x3d284d];_0x405caf&&(_0x405caf['v']=_0x4c0eb9(_0x405caf,_0x1ded6e===0x0&&((_0x1419b0=_0x42c645[_0xf39f55(0x471)](_0x3d2ea2+0x1))==null?void 0x0:_0x1419b0[_0xf39f55(0x3bf)]),_0x3fb456,_0x269f47)),_0xbf61a2[_0xf39f55(0x25f)](_0x1ded6e+_0x2f8f20,_0x3d2ea2+_0x52360e,_0x58abb1(_0x405caf));}_0x2f8f20+=_0x31c4f6;const _0x3e92ec=_0x121430[_0xf39f55(0x318)],_0x31e6d5=_0x121430[_0xf39f55(0x314)]()>=0x0?_0x121430[_0xf39f55(0x314)]()+0x1:0x0,_0x31a1bd=_0x121430[_0xf39f55(0x183)]()>=0x0?_0x121430[_0xf39f55(0x183)]()+0x1:0x0;for(let _0x2b724f=0x0;_0x2b724f<_0x31e6d5;_0x2b724f++)for(let _0x4cee10=0x0;_0x4cee10<_0x31a1bd;_0x4cee10++){const _0x568deb={...(_0x369d4c=(_0x368fc5=_0x121430['data'])==null?void 0x0:_0x368fc5[_0x2b724f])==null?void 0x0:_0x369d4c[_0x4cee10]},_0x4109eb=(_0x296284=_0x3e92ec[_0x4cee10])==null?void 0x0:_0x296284[_0xf39f55(0x303)],_0x2e5557=_0x3dfa06[_0x4109eb];_0x568deb&&(_0x568deb['v']=_0x4c0eb9(_0x568deb,!0x1,_0x2e5557,_0x269f47)),_0xbf61a2[_0xf39f55(0x25f)](_0x2b724f+_0x2f8f20,_0x4cee10+_0x5dc8ec,_0x58abb1(_0x568deb));}const _0x234560=_0xa81fca[_0xf39f55(0x32a)](),_0x2a38ae=_0xa81fca[_0xf39f55(0x2b0)]();for(let _0x1f7bcf=0x0;_0x1f7bcf<_0x234560;_0x1f7bcf++)for(let _0x13ffb0=0x0;_0x13ffb0<_0x2a38ae;_0x13ffb0++){const _0x334a16={...(_0xfc1c4d=(_0x328990=_0xa81fca[_0xf39f55(0x27e)])==null?void 0x0:_0x328990[_0x1f7bcf])==null?void 0x0:_0xfc1c4d[_0x13ffb0]};_0xbf61a2['setValue'](_0x1f7bcf+_0x2f8f20,_0x13ffb0+_0x52360e,_0x58abb1(_0x334a16));}return _0xbf61a2;},_0x34b068=_0x1a294b=>{const _0x15dec7=_0x4483a8,{view:_0x530c0d,targetCellInfo:_0x4349f0,isEmpty:_0x220850,textInfo:_0x39da86}=_0x1a294b;if(_0x220850)return _0xeab257(_0x1a294b);const {pageView:_0x4ceb84,cornerView:_0x4ab22c,rowView:_0x5cc13a,colView:_0x30ea6b,dataView:_0x15363c}=_0x530c0d,_0x1162b1=_0xb75cad(_0x4349f0,_0x4ceb84,!0x0),_0x5d470a=_0x4ceb84[_0x15dec7(0x43c)]>=0x0?_0x4ceb84['lastRow']+0x1:0x0,_0x10fc98=_0x4ab22c['getRowCount'](),_0x31a045=_0x4ab22c[_0x15dec7(0x2b0)](),_0x5c9388=_0x1162b1[_0x15dec7(0x41b)]>0x0?_0x251f85:0x0,_0x400e2e=_0xb75cad({'row':_0x4349f0[_0x15dec7(0x370)]+_0x5d470a+_0x5c9388,'col':_0x4349f0[_0x15dec7(0x1de)]},_0x4ab22c,!0x1,!0x1),_0x2f4b48=_0xb75cad({'row':_0x4349f0['row']+_0x5d470a+_0x5c9388+_0x10fc98,'col':_0x4349f0[_0x15dec7(0x1de)]},_0x5cc13a,!0x1,!0x0),_0x365a5f=_0xb75cad({'row':_0x4349f0[_0x15dec7(0x370)]+_0x5d470a+_0x5c9388,'col':_0x4349f0[_0x15dec7(0x1de)]+_0x31a045},_0x30ea6b,!0x1,!0x0),_0x50d642=_0xb75cad({'row':_0x4349f0[_0x15dec7(0x370)]+_0x5d470a+_0x5c9388+_0x10fc98,'col':_0x4349f0['col']+_0x31a045},_0x15363c,!0x1,!0x1),_0x53597b={'rowRanges':_0x2f4b48,'colRanges':_0x365a5f,'cornerRanges':_0x400e2e,'dataRanges':_0x50d642,'pageRanges':_0x1162b1};return{'matrix':_0xf92fd1(_0x530c0d,_0x4349f0,_0x39da86),'rangesCache':_0x53597b};};var _0xf57f65=Object['getOwnPropertyDescriptor'],_0x55b38a=(_0x3b7fc2,_0x341e40,_0x233ee5,_0x1beec4)=>{const _0x49dfe2=_0x4483a8;for(var _0x38b27f=_0x1beec4>0x1?void 0x0:_0x1beec4?_0xf57f65(_0x341e40,_0x233ee5):_0x341e40,_0x5375b2=_0x3b7fc2[_0x49dfe2(0x41b)]-0x1,_0x46dcd2;_0x5375b2>=0x0;_0x5375b2--)(_0x46dcd2=_0x3b7fc2[_0x5375b2])&&(_0x38b27f=_0x46dcd2(_0x38b27f)||_0x38b27f);return _0x38b27f;},_0x2d8ab7=(_0x330927,_0x1f801e)=>(_0x3da536,_0x2948cc)=>_0x1f801e(_0x3da536,_0x2948cc,_0x330927);_0x5b9ff4[_0x4483a8(0x3e0)]=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x24e682,_0x4d3efd,_0x3eff70,_0x295623,_0x421385,_0x4bb54a){const _0x131b87=_0x4483a8;super(),_0x209b81(this,'_model',new Map()),_0x209b81(this,'_pivotTableInstanceCache',new Map()),_0x209b81(this,'_viewData',new Map()),_0x209b81(this,_0x131b87(0x300)),_0x209b81(this,_0x131b87(0x1dc),new _0x47c984['Subject']()),_0x209b81(this,'collectionChange$',this[_0x131b87(0x1dc)][_0x131b87(0x1d5)]()),_0x209b81(this,'_viewData$',new _0x47c984[(_0x131b87(0x1ed))]()),_0x209b81(this,_0x131b87(0x413),this[_0x131b87(0x48f)][_0x131b87(0x1d5)]()),_0x209b81(this,_0x131b87(0x34c),new _0x47c984[(_0x131b87(0x1ed))]()),_0x209b81(this,'fieldsCollectionChange$',this[_0x131b87(0x34c)]['asObservable']()),_0x209b81(this,_0x131b87(0x1d8),new Map()),_0x209b81(this,'needSameDeleteModel',[]),_0x209b81(this,'_queryingMap',new Map()),(this[_0x131b87(0x204)]=_0x24e682,this[_0x131b87(0x194)]=_0x4d3efd,this[_0x131b87(0x489)]=_0x3eff70,this[_0x131b87(0x208)]=_0x295623,this['_commandService']=_0x421385,this['_resourceManagerService']=_0x4bb54a,this['_initSnapshot']());}[_0x4483a8(0x3f3)](){const _0x18dc6c=_0x4483a8;return this[_0x18dc6c(0x300)]?this[_0x18dc6c(0x300)]:_0x133c00;}[_0x4483a8(0x254)](_0xf7e5f2){const _0x8e0ce8=_0x4483a8;this[_0x8e0ce8(0x300)]=_0xf7e5f2;}['handleMoveRange'](_0x4ff355){const _0x124747=_0x4483a8;var _0x34ef94;const {from:_0xbd7527,to:_0x415b3b,unitId:_0x51fff3,fromRange:_0x5c473e,toRange:_0x206ae1}=_0x4ff355;if(_0xbd7527&&_0x415b3b){const _0x2b7cfe=this['getDataFieldManager'](_0x51fff3),_0x7dbd38=this[_0x124747(0x1e8)]['get'](_0x51fff3),_0x3d1a6f=(_0x34ef94=this[_0x124747(0x194)][_0x124747(0x4ab)](_0x51fff3))==null?void 0x0:_0x34ef94[_0x124747(0x29f)](_0x415b3b[_0x124747(0x1cb)]);if(!_0x7dbd38||!_0x3d1a6f)return;const _0x3a7bf4=_0x3d1a6f==null?void 0x0:_0x3d1a6f[_0x124747(0x3e5)]();for(const [_0x529986,_0x4988dd]of _0x7dbd38[_0x124747(0x438)]())for(const [_0x297fd1,_0x3b2b17]of _0x4988dd[_0x124747(0x438)]()){const {sourceRangeInfo:_0x178b0f}=_0x3b2b17;if(_0x178b0f[_0x124747(0x2ef)]===_0x51fff3&&_0x178b0f[_0x124747(0x1cb)]===_0xbd7527[_0x124747(0x1cb)]&&_0x35bf85['Rectangle'][_0x124747(0x495)](_0x5c473e,_0x178b0f[_0x124747(0x335)])){const _0x4546f2={'row':_0x178b0f[_0x124747(0x335)]['startRow']-_0x5c473e[_0x124747(0x197)],'col':_0x178b0f[_0x124747(0x335)][_0x124747(0x367)]-_0x5c473e[_0x124747(0x367)]},_0x46f742={'unitId':_0x51fff3,'subUnitId':_0x415b3b[_0x124747(0x1cb)],'sheetName':_0x3a7bf4,'range':{'startRow':_0x206ae1['startRow']+_0x4546f2['row'],'endRow':_0x206ae1['startRow']+_0x4546f2[_0x124747(0x370)]+_0x178b0f[_0x124747(0x335)][_0x124747(0x2a6)]-_0x178b0f[_0x124747(0x335)][_0x124747(0x197)],'startColumn':_0x206ae1[_0x124747(0x367)]+_0x4546f2[_0x124747(0x1de)],'endColumn':_0x206ae1[_0x124747(0x367)]+_0x4546f2['col']+_0x178b0f[_0x124747(0x335)]['endColumn']-_0x178b0f[_0x124747(0x335)]['startColumn']}};_0x2b7cfe['handleMoveRange'](_0x297fd1,_0x46f742);const _0x5b6e70={..._0x3b2b17,'sourceRangeInfo':_0x46f742};this['_updateModelCache'](_0x51fff3,_0x415b3b[_0x124747(0x1cb)],_0x297fd1,_0x5b6e70),this[_0x124747(0x1cd)]({'unitId':_0x51fff3,'token':_0x297fd1,'type':_0x5da10e[_0x124747(0x342)],'oldSourceRangeInfo':_0x178b0f,'dataRangeInfo':_0x46f742,'targetCellInfo':_0x3b2b17[_0x124747(0x344)]}),this[_0x124747(0x215)]({'unitId':_0x51fff3,'subUnitId':_0x415b3b[_0x124747(0x1cb)],'oldSubUnitId':_0x529986,'pivotTableId':_0x297fd1,'pivotTableConfig':_0x5b6e70,'collectionConfig':_0x2b7cfe[_0x124747(0x2a8)]()});}}}}[_0x4483a8(0x1cd)](_0x2f7fad){const _0x4d55a8=_0x4483a8;this[_0x4d55a8(0x1dc)][_0x4d55a8(0x47c)](_0x2f7fad);}['getDataFieldManager'](_0x230a5b){const _0xaba3a4=_0x4483a8;let _0x419f1c=this[_0xaba3a4(0x1d8)][_0xaba3a4(0x350)](_0x230a5b);return _0x419f1c||(_0x419f1c=new _0x5f30d5(this,this['_univerInstanceService']),this[_0xaba3a4(0x1d8)]['set'](_0x230a5b,_0x419f1c)),_0x419f1c;}['getCollection'](_0x167781,_0x1775a6){const _0x202eca=_0x4483a8;return this[_0x202eca(0x31f)](_0x167781)[_0x202eca(0x332)][_0x1775a6];}[_0x4483a8(0x310)](_0x267586,_0x64f502,_0x2f516a){const _0x39cac0=_0x4483a8;return this[_0x39cac0(0x31f)](_0x267586)[_0x39cac0(0x310)](_0x64f502,_0x2f516a);}[_0x4483a8(0x2cf)](_0x4384eb,_0x282017){const _0x28b603=_0x4483a8;let _0x2e080c=this[_0x28b603(0x1e8)][_0x28b603(0x350)](_0x4384eb);_0x2e080c||(_0x2e080c=new Map(),this[_0x28b603(0x1e8)][_0x28b603(0x319)](_0x4384eb,_0x2e080c));let _0x1fb466=_0x2e080c[_0x28b603(0x350)](_0x282017);return _0x1fb466||(_0x1fb466=new Map(),_0x2e080c['set'](_0x282017,_0x1fb466)),_0x1fb466;}[_0x4483a8(0x1d6)](_0xc109dc,_0x45334c,_0x5a195c,_0x3480e4){const _0x1fba8c=_0x4483a8;this[_0x1fba8c(0x2cf)](_0xc109dc,_0x45334c)['set'](_0x5a195c,_0x3480e4);}[_0x4483a8(0x2c8)](_0x21f9ed,_0x1637f0,_0x4b4f0e){const _0x946591=_0x4483a8;var _0x325c09,_0x15f590,_0x1830ed,_0x193cfe;((_0x15f590=(_0x325c09=this[_0x946591(0x1e8)][_0x946591(0x350)](_0x21f9ed))==null?void 0x0:_0x325c09[_0x946591(0x350)](_0x1637f0))==null?void 0x0:_0x15f590[_0x946591(0x350)](_0x4b4f0e))&&((_0x193cfe=(_0x1830ed=this[_0x946591(0x1e8)][_0x946591(0x350)](_0x21f9ed))==null?void 0x0:_0x1830ed[_0x946591(0x350)](_0x1637f0))==null||_0x193cfe['delete'](_0x4b4f0e));}['_updatePivotTableInstanceCache'](_0x14d6f4,_0x42f5dd){const _0x5a4812=_0x4483a8;this[_0x5a4812(0x2c9)]['set'](_0x14d6f4,_0x42f5dd);}[_0x4483a8(0x3c7)](_0x26b12f){const _0x118445=_0x4483a8;this[_0x118445(0x2c9)]['delete'](_0x26b12f);}[_0x4483a8(0x42a)](_0x35f772,_0x52ba73){const _0x471e84=_0x4483a8;let _0x7170c3=this['_viewData'][_0x471e84(0x350)](_0x35f772);_0x7170c3||(_0x7170c3=new Map(),this[_0x471e84(0x487)][_0x471e84(0x319)](_0x35f772,_0x7170c3));let _0x20c1d1=_0x7170c3[_0x471e84(0x350)](_0x52ba73);return _0x20c1d1||(_0x20c1d1=new Map(),_0x7170c3[_0x471e84(0x319)](_0x52ba73,_0x20c1d1)),_0x20c1d1;}['updateConfig'](_0x2a948e){const _0x24b382=_0x4483a8,{unitId:_0x2b7720,subUnitId:_0x18d940,pivotTableId:_0x40ce91,pivotTableConfig:_0x180e86,collectionConfig:_0x27b4ac}=_0x2a948e,_0x2d8887={'unitId':_0x2b7720,'subUnitId':_0x18d940,'oldSubUnitId':_0x18d940,'pivotTableId':_0x40ce91,'pivotTableConfig':_0x180e86,'collectionConfig':_0x27b4ac};this[_0x24b382(0x1a3)]['executeCommand'](_0x48bf36['id'],_0x2d8887,{'onlyLocal':!0x0});}[_0x4483a8(0x21e)](_0x52666d,_0x51193c,_0xcff342,_0x34c337,_0x20eea6,_0xe650e8,_0x3992bf,_0xa79887=!0x1){const _0x2a53cd=_0x4483a8;var _0x48a35f;this['_commandService'][_0x2a53cd(0x2f8)](_0x3877fd['id'],{'single':{'unitId':_0x52666d,'subUnitId':_0x51193c,'type':_0xcff342,'pivotTableId':_0x34c337,'view':_0x20eea6,'pivotConfig':_0xe650e8},'collectionConfig':{[_0x52666d]:_0x3992bf}},{'onlyLocal':!0x0});const _0x18fb2f=!!((_0x48a35f=this[_0x2a53cd(0x373)](_0x34c337))!=null&&_0x48a35f[_0x2a53cd(0x1a7)]()),_0x50955a=this[_0x2a53cd(0x30e)](_0x52666d,_0x51193c,_0x34c337);_0x50955a&&this[_0x2a53cd(0x2b4)]({'view':_0x20eea6,'pivotTableId':_0x34c337,'textInfo':this[_0x2a53cd(0x3f3)](),'isEmpty':_0x18fb2f,'targetCellInfo':_0x50955a['targetCellInfo']},_0xa79887);}[_0x4483a8(0x2b4)](_0x46d735,_0x3744e3){const _0x10c8e2=_0x4483a8,{targetCellInfo:_0x4fd9cd,pivotTableId:_0x31cb0e}=_0x46d735,{unitId:_0x216d75,subUnitId:_0x2154d6}=_0x4fd9cd,_0x337444=this[_0x10c8e2(0x42a)](_0x216d75,_0x2154d6),_0xd3c0d8=_0x337444[_0x10c8e2(0x350)](_0x31cb0e);let _0xb714e,_0x2bff01;_0xd3c0d8&&(_0xb714e=_0xd3c0d8[_0x10c8e2(0x2af)],_0x2bff01=_0xd3c0d8[_0x10c8e2(0x3aa)]);const {rangesCache:_0x49ea8c,matrix:_0x46f3ad}=_0x34b068(_0x46d735);_0x337444[_0x10c8e2(0x319)](_0x31cb0e,{'rangeCache':_0x49ea8c,'matrix':_0x46f3ad,'oldMatrix':_0x2bff01,'oldRangeCache':_0xb714e}),_0x3744e3||this[_0x10c8e2(0x48f)]['next']({'unitId':_0x216d75,'subUnitId':_0x2154d6,'pivotTableId':_0x31cb0e});}['addPivotTable'](_0x205b22,_0x43a69b,_0x44472c,_0x1235f1,_0x41426c){const _0x143c7f=_0x4483a8;this[_0x143c7f(0x1d6)](_0x205b22,_0x43a69b,_0x44472c,_0x41426c),this['_updatePivotTableInstanceCache'](_0x44472c,_0x1235f1);}[_0x4483a8(0x48b)](_0x3b495f,_0x44ea8d,_0x488ce3){const _0x5eb5e0=_0x4483a8,_0x939104=this[_0x5eb5e0(0x31f)](_0x3b495f);_0x939104['getNoUsedDataFieldIds'](_0x488ce3)['forEach'](_0x7c0476=>{const _0x22daee=_0x5eb5e0;_0x939104[_0x22daee(0x38d)](_0x7c0476);}),this['removeCollections'](_0x3b495f,_0x488ce3),this[_0x5eb5e0(0x2c8)](_0x3b495f,_0x44ea8d,_0x488ce3),this['_deletePivotTableInstanceCache'](_0x488ce3);}[_0x4483a8(0x340)](_0x3755b3,_0x50d3fb,_0x1d8dd4,_0x563942){const _0x4ff65b=_0x4483a8;this[_0x4ff65b(0x1d6)](_0x3755b3,_0x50d3fb,_0x1d8dd4,_0x563942);}['getPivotTableConfig'](_0x167d86,_0x404ca6,_0x196f93){const _0x522c11=_0x4483a8;var _0x50fe92,_0x1c5e27;const _0x5c9807=(_0x1c5e27=(_0x50fe92=this['_model'][_0x522c11(0x350)](_0x167d86))==null?void 0x0:_0x50fe92[_0x522c11(0x350)](_0x404ca6))==null?void 0x0:_0x1c5e27['get'](_0x196f93);if(_0x5c9807)return _0x5c9807;}[_0x4483a8(0x434)](_0x4e0628,_0x25e4a1,_0x43e374){const _0x465ef7=_0x4483a8;var _0x3b4675,_0x2c5f3a;const _0x3f7a28=(_0x2c5f3a=(_0x3b4675=this[_0x465ef7(0x1e8)][_0x465ef7(0x350)](_0x4e0628))==null?void 0x0:_0x3b4675[_0x465ef7(0x350)](_0x25e4a1))==null?void 0x0:_0x2c5f3a['get'](_0x43e374);if(_0x3f7a28)return _0x3f7a28[_0x465ef7(0x1b6)];}[_0x4483a8(0x373)](_0xbc114b){const _0x398c13=_0x4483a8;return this[_0x398c13(0x2c9)][_0x398c13(0x350)](_0xbc114b);}[_0x4483a8(0x382)](_0x434e60){const _0x12db96=_0x4483a8;this['_model'][_0x12db96(0x33a)](_0x434e60);const _0x26eaf6=this[_0x12db96(0x1d8)][_0x12db96(0x350)](_0x434e60);_0x26eaf6&&(_0x26eaf6['dispose'](),this['_dataFieldManagerCollection'][_0x12db96(0x33a)](_0x434e60)),this[_0x12db96(0x487)][_0x12db96(0x33a)](_0x434e60),this[_0x12db96(0x458)][_0x12db96(0x443)](_0x43a549=>{const _0x519bfa=_0x12db96;_0x43a549[_0x519bfa(0x382)](_0x434e60);});}[_0x4483a8(0x37e)](_0x41eb85,_0x4c01f0,_0x140d51,_0x1d5191){const _0x59dd27=_0x4483a8;return this['getDataFieldManager'](_0x140d51['unitId'])[_0x59dd27(0x37e)](_0x41eb85,_0x4c01f0,_0x140d51,_0x1d5191);}['createCollectionWithDataRange'](_0x12fe12){const _0x21a630=_0x4483a8;return this[_0x21a630(0x31f)](_0x12fe12[_0x21a630(0x2ef)])[_0x21a630(0x3ed)](_0x12fe12);}['refreshData'](_0x48d489,_0x2cf750,_0x5a2af8){const _0x400308=_0x4483a8;this[_0x400308(0x31f)](_0x5a2af8['unitId'])[_0x400308(0x1f6)](_0x48d489,_0x2cf750,_0x5a2af8);}[_0x4483a8(0x454)](_0x4c6d22,_0xe2f185){const _0x572bb8=_0x4483a8;this['getDataFieldManager'](_0x4c6d22)[_0x572bb8(0x38d)](_0xe2f185);}[_0x4483a8(0x256)](_0x429b01,_0xaf90){const _0x51bfcc=_0x4483a8;this['getDataFieldManager'](_0x429b01)[_0x51bfcc(0x1fd)](_0xaf90);}[_0x4483a8(0x2fa)](_0x4b8355,_0x51d237){const _0x2d8a2c=_0x4483a8;var _0x1a369b;return(_0x1a369b=this[_0x2d8a2c(0x1e8)][_0x2d8a2c(0x350)](_0x4b8355))==null?void 0x0:_0x1a369b[_0x2d8a2c(0x350)](_0x51d237);}[_0x4483a8(0x251)](_0x335923){const _0x5cd443=_0x4483a8;for(const [_0x5bbc56,_0x3bc713]of this[_0x5cd443(0x1e8)][_0x5cd443(0x438)]())for(const [_0x753a8f,_0x341ebb]of _0x3bc713[_0x5cd443(0x438)]())if(_0x341ebb[_0x5cd443(0x2f6)](_0x335923))return{'unitId':_0x5bbc56,'subUnitId':_0x753a8f};return null;}[_0x4483a8(0x36e)](_0x51aaa2,_0x20c8a9,_0x4630c6,_0x4991ee){const _0x56cb4d=_0x4483a8,_0xe96b7e=this[_0x56cb4d(0x42a)](_0x51aaa2,_0x20c8a9);_0x4991ee?_0xe96b7e['set'](_0x4630c6,_0x4991ee):_0xe96b7e[_0x56cb4d(0x33a)](_0x4630c6),this[_0x56cb4d(0x48f)][_0x56cb4d(0x47c)]({'unitId':_0x51aaa2,'subUnitId':_0x20c8a9,'pivotTableId':_0x4630c6});}[_0x4483a8(0x399)](){super['dispose']();}[_0x4483a8(0x401)](_0x4862d1,_0xfd152a,_0x5e6327){const _0x3fd52d=_0x4483a8;var _0x378dbe,_0x5c57de;const _0x3d1810=(_0x5c57de=(_0x378dbe=this[_0x3fd52d(0x487)][_0x3fd52d(0x350)](_0x4862d1))==null?void 0x0:_0x378dbe[_0x3fd52d(0x350)](_0xfd152a))==null?void 0x0:_0x5c57de[_0x3fd52d(0x350)](_0x5e6327);return _0x3d1810||null;}[_0x4483a8(0x468)](_0x580f9a){const _0x4ec56c=_0x4483a8;this[_0x4ec56c(0x368)](_0x580f9a);}[_0x4483a8(0x368)](_0x3134b1){const _0x54c340=_0x4483a8,{token:_0x4065df,unitId:_0x45645d,subUnitId:_0x30a184}=_0x3134b1,_0x480e5d=_0x45645d+'-'+_0x30a184+'-'+_0x4065df;this[_0x54c340(0x377)]['get'](_0x480e5d)&&clearTimeout(this[_0x54c340(0x377)][_0x54c340(0x350)](_0x480e5d));const _0x33029b=setTimeout(()=>{const _0x5e4c35=_0x54c340;this[_0x5e4c35(0x2c2)](_0x3134b1),this['_queryingMap']['delete'](_0x480e5d);},_0x5d3133);this[_0x54c340(0x377)]['set'](_0x480e5d,_0x33029b);}[_0x4483a8(0x2c2)](_0xdac1d3){const _0x1d218a=_0x4483a8,{unitId:_0x3106e1,subUnitId:_0x2150c0,token:_0x139e72,type:_0x468840,pivotConfig:_0x501343}=_0xdac1d3,_0x12b01a=this[_0x1d218a(0x373)](_0x139e72),_0x57fc4b=_0x12b01a==null?void 0x0:_0x12b01a[_0x1d218a(0x1e9)](),_0x2779e7=_0x501343!=null?_0x501343:this[_0x1d218a(0x30e)](_0x3106e1,_0x2150c0,_0x139e72);_0x2779e7&&(_0x2779e7[_0x1d218a(0x1a7)]=!!(_0x12b01a!=null&&_0x12b01a[_0x1d218a(0x1a7)]())),(_0x57fc4b||_0x468840===_0x208bc1[_0x1d218a(0x3ce)])&&this['updateView'](_0x3106e1,_0x2150c0,_0x468840,_0x139e72,_0x57fc4b,_0x2779e7,this[_0x1d218a(0x31f)](_0x3106e1)[_0x1d218a(0x2a8)]());}[_0x4483a8(0x2a8)](_0x3ca04c){const _0x540e01=_0x4483a8,_0x4a25fa={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3ca04c)&&(_0x4a25fa['dataFieldManagerConfig'][_0x3ca04c]=this[_0x540e01(0x31f)](_0x3ca04c)[_0x540e01(0x2a8)]()),this[_0x540e01(0x1e8)][_0x540e01(0x350)](_0x3ca04c)){_0x4a25fa[_0x540e01(0x278)][_0x3ca04c]={};const _0x1f50bb=this[_0x540e01(0x1e8)]['get'](_0x3ca04c);_0x1f50bb!=null&&_0x1f50bb[_0x540e01(0x1a5)]&&[..._0x1f50bb[_0x540e01(0x469)]()][_0x540e01(0x443)](_0xc704d4=>{const _0x4cf2a3=_0x540e01,_0x3e74d3=_0x1f50bb['get'](_0xc704d4);_0x3e74d3!=null&&_0x3e74d3['size']&&(_0x4a25fa[_0x4cf2a3(0x278)][_0x3ca04c][_0xc704d4]={},[..._0x3e74d3['keys']()][_0x4cf2a3(0x443)](_0x582644=>{const _0xc6b0eb=_0x4cf2a3,_0x395fe7=_0x3e74d3[_0xc6b0eb(0x350)](_0x582644);_0x395fe7&&(_0x4a25fa[_0xc6b0eb(0x278)][_0x3ca04c][_0xc704d4][_0x582644]=_0x395fe7);}));});}return _0x4a25fa;}['fromJSON'](_0x111393){const _0x31b140=_0x4483a8;var _0x289269;const {dataFieldManagerConfig:_0x4f9c6f,pivotTableConfigs:_0x1eddcb}=_0x111393;_0x4f9c6f&&Object['keys'](_0x4f9c6f)[_0x31b140(0x443)](_0x570429=>{const _0x1933e7=_0x31b140;this['getDataFieldManager'](_0x570429)[_0x1933e7(0x38f)](_0x4f9c6f[_0x570429]);});const _0x145196=[];if(_0x1eddcb){const _0x27e355=(_0x289269=this[_0x31b140(0x204)][_0x31b140(0x350)](_0x35bf85[_0x31b140(0x1bb)])[_0x31b140(0x2f9)](_0x22ffe5['LS_CONFIG_KEY']))!=null?_0x289269:{},{ls:_0x2875fd,pbk:_0x4cfeb6}=_0x27e355,_0x4ff503=_0x4d830e(_0x137536,_0x2875fd,_0x4cfeb6)[_0x31b140(0x328)];Object[_0x31b140(0x469)](_0x1eddcb)['forEach'](_0x42822a=>{const _0x6e2697=_0x31b140;let _0x1ab509=0x0;const _0x2cf502=_0x1eddcb[_0x42822a];Object['keys'](_0x2cf502)[_0x6e2697(0x443)](_0x5f4b98=>{const _0x15021e=_0x6e2697,_0x302a7a=_0x2cf502[_0x5f4b98];Object[_0x15021e(0x469)](_0x302a7a)[_0x15021e(0x443)](_0x3fc6fe=>{const _0x578c3d=_0x15021e,_0x4fea32=_0x302a7a[_0x3fc6fe];if(_0x4fea32){if(_0x1ab509>=_0x4ff503)return;_0x1ab509++;const _0x2f13a0=this[_0x578c3d(0x31f)](_0x42822a),_0xb4e2ae=_0x2f13a0[_0x578c3d(0x332)][_0x3fc6fe],_0x1aca26=_0xb4e2ae[_0x578c3d(0x36a)]();let _0x4a5a78=0x0;const _0x45f3cd=[];for(const _0x193697 of _0x1aca26){const _0x5baaea=_0xb4e2ae[_0x578c3d(0x2b1)](_0x193697);if(_0x3c6b65[_0x578c3d(0x28a)](_0x5baaea)){const _0x172577=_0x5baaea[_0x578c3d(0x2a3)](),_0x4811e6=_0xb4e2ae[_0x578c3d(0x2b1)](_0x172577);_0x4811e6&&_0x45f3cd[_0x578c3d(0x1a4)]([_0x5baaea,_0x4811e6]);continue;}_0x2f13a0[_0x578c3d(0x20c)](_0x193697,_0x4fea32['sourceRangeInfo'],_0x4a5a78),_0x4a5a78++;}_0x45f3cd[_0x578c3d(0x443)](([_0x52317e,_0x244dbc])=>{const _0x34e608=_0x578c3d;_0x52317e[_0x34e608(0x2e8)](_0x244dbc);});const _0x28daed=new _0x3c6b65['PivotTable'](_0xb4e2ae);_0x28daed[_0x578c3d(0x38f)](_0x4fea32['fieldsConfig']),this[_0x578c3d(0x34a)](_0x42822a,_0x5f4b98,_0x3fc6fe,_0x28daed,_0x4fea32);const _0x160d30=_0x28daed['query']();_0x145196[_0x578c3d(0x1a4)]({'unitId':_0x42822a,'subUnitId':_0x5f4b98,'pivotTableId':_0x3fc6fe,'view':_0x160d30[_0x578c3d(0x2a8)](),'pivotConfig':_0x4fea32,'type':_0x208bc1[_0x578c3d(0x25d)]});const _0x334d6d=!!_0x28daed[_0x578c3d(0x1a7)](),_0x17c413={'view':_0x160d30,'pivotTableId':_0x3fc6fe,'textInfo':this['getTextInfo'](),'isEmpty':_0x334d6d,'targetCellInfo':_0x4fea32[_0x578c3d(0x344)]};this['updateViewData'](_0x17c413,!0x1);}});});});}_0x4f9c6f&&Object[_0x31b140(0x469)](_0x4f9c6f)['forEach'](_0x33aabc=>{const _0x499cbb=_0x31b140,_0x2b412a=this[_0x499cbb(0x31f)](_0x33aabc);this[_0x499cbb(0x34c)][_0x499cbb(0x47c)](_0x2b412a[_0x499cbb(0x332)]);}),this[_0x31b140(0x1a3)][_0x31b140(0x2f8)](_0x3877fd['id'],{'batch':_0x145196,'collectionConfig':_0x4f9c6f},{'onlyLocal':!0x0});}[_0x4483a8(0x3d1)](){const _0x2927bb=_0x4483a8;this[_0x2927bb(0x3e2)](this[_0x2927bb(0x20f)][_0x2927bb(0x472)]({'toJson':_0x203f43=>JSON['stringify'](this[_0x2927bb(0x2a8)](_0x203f43)),'parseJson':_0x582c3a=>{if(!_0x582c3a)return{};try{return JSON['parse'](_0x582c3a);}catch{return{};}},'businesses':[_0x35bf85[_0x2927bb(0x2b9)][_0x2927bb(0x439)]],'pluginName':_0x3b5c40,'onLoad':(_0x93291c,_0x490c8a)=>{const _0x4c86f3=_0x2927bb;this[_0x4c86f3(0x38f)](_0x490c8a);},'onUnLoad':_0x378d5f=>{const _0x2c02f0=_0x2927bb;this[_0x2c02f0(0x382)](_0x378d5f);}}));}},_0x5b9ff4['SheetsPivotDataSourceModel']=_0x55b38a([_0x2d8ab7(0x0,_0x35bf85['Inject'](_0x35bf85[_0x4483a8(0x4a4)])),_0x2d8ab7(0x1,_0x35bf85['IUniverInstanceService']),_0x2d8ab7(0x2,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85['LifecycleService'])),_0x2d8ab7(0x3,_0x35bf85[_0x4483a8(0x1bb)]),_0x2d8ab7(0x4,_0x35bf85[_0x4483a8(0x3cd)]),_0x2d8ab7(0x5,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x45a)]))],_0x5b9ff4['SheetsPivotDataSourceModel']);const _0x778cb0={0x0:{0x0:{'v':_0x4483a8(0x3d5),'s':_0x5b88fa}},0x2:{0x1:{'v':'','s':_0x5b88fa},0x2:{'v':'','s':_0x5b88fa},0x3:{'v':_0x4483a8(0x425),'s':_0x5b88fa},0x4:{'v':'','s':_0x5b88fa},0x5:{'v':'','s':_0x5b88fa}},0x3:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0x4:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0x5:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0x6:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0x7:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0x8:{0x0:{'v':_0x4483a8(0x370),'s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':_0x4483a8(0x46d),'s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0x9:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0xa:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0xb:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0xc:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}},0xd:{0x0:{'v':'','s':_0x5b88fa},0x1:{'v':'','s':_0xd253eb},0x2:{'v':'','s':_0xd253eb},0x3:{'v':'','s':_0xd253eb},0x4:{'v':'','s':_0xd253eb},0x5:{'v':'','s':_0xd253eb}}},_0x505901={'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':[]},_0x594b6a=(_0x5d0151,_0x50ea1d)=>{const _0x5cbcee=_0x4483a8,_0xd3a89b=new _0x35bf85[(_0x5cbcee(0x405))](),_0xb6d918=new _0x35bf85['ObjectMatrix'](_0x778cb0),{row:_0x23809e,col:_0x1406ee}=_0x50ea1d;_0xb6d918[_0x5cbcee(0x387)]((_0x553767,_0x4688aa,_0x3d0353)=>{const _0x47fe59=_0x5cbcee;let _0x6c3f12='';_0x3d0353['v']===_0x47fe59(0x3d5)?_0x6c3f12=_0x5d0151['filter']:_0x3d0353['v']===_0x47fe59(0x370)?_0x6c3f12=_0x5d0151[_0x47fe59(0x370)]:_0x3d0353['v']===_0x47fe59(0x425)?_0x6c3f12=_0x5d0151[_0x47fe59(0x425)]:_0x3d0353['v']===_0x47fe59(0x46d)&&(_0x6c3f12=_0x5d0151[_0x47fe59(0x46d)]),_0xd3a89b[_0x47fe59(0x25f)](_0x553767+_0x23809e,_0x4688aa+_0x1406ee,{..._0x3d0353,'v':_0x6c3f12});});const _0x37ef53=_0x35bf85[_0x5cbcee(0x1c8)][_0x5cbcee(0x391)](_0x505901);return Object['keys'](_0x505901)[_0x5cbcee(0x443)](_0x16ee47=>{const _0x1531e3=_0x5cbcee;_0x37ef53[_0x16ee47]=_0x505901[_0x16ee47][_0x1531e3(0x417)](_0x1d9a57=>({..._0x1d9a57,'startRow':_0x1d9a57[_0x1531e3(0x197)]+_0x23809e,'endRow':_0x1d9a57['endRow']+_0x23809e,'startColumn':_0x1d9a57[_0x1531e3(0x367)]+_0x1406ee,'endColumn':_0x1d9a57['endColumn']+_0x1406ee}));}),{'matrixCache':_0xd3a89b,'rangesCache':_0x37ef53};};function _0x5a745a(_0xb87f8e,_0x42ed3a){const _0x2ed6d2=_0x4483a8;let _0x548980='';const _0x35af9e=this['getTextInfo']();switch(_0x42ed3a){case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x2f5)]:_0x548980=_0x35af9e[_0x2ed6d2(0x2f7)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x328)]:_0x548980=_0x35af9e[_0x2ed6d2(0x2bf)]+_0xb87f8e;break;case _0x3c6b65['PivotSubtotalTypeEnum'][_0x2ed6d2(0x33d)]:_0x548980=_0x35af9e[_0x2ed6d2(0x1c1)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)]['max']:_0x548980=_0x35af9e[_0x2ed6d2(0x475)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x418)]:_0x548980=_0x35af9e[_0x2ed6d2(0x311)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x280)]:_0x548980=_0x35af9e[_0x2ed6d2(0x21f)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x2be)]:_0x548980=_0x35af9e[_0x2ed6d2(0x2c1)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x1ff)]:_0x548980=_0x35af9e[_0x2ed6d2(0x312)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x34b)]:_0x548980=_0x35af9e[_0x2ed6d2(0x2ba)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)]['var']:_0x548980=_0x35af9e[_0x2ed6d2(0x3b2)]+_0xb87f8e;break;case _0x3c6b65[_0x2ed6d2(0x234)][_0x2ed6d2(0x207)]:_0x548980=_0x35af9e[_0x2ed6d2(0x1b3)]+_0xb87f8e;break;default:_0x548980=_0xb87f8e;break;}return _0x548980;}function _0xde4144(_0x1bdff7,_0x176f43,_0x176924,_0x30dd52,_0x3fa455){const _0x47e005=_0x4483a8;var _0x19f948,_0x5010cf,_0x16dfdd,_0xe9cd9b,_0x2264c5;const _0x4470c8=_0x35bf85[_0x47e005(0x252)](_0x1bdff7,_0x176f43),{rangesInfo:_0x2d11a2,areaInfo:_0x55e70a,headerMap:_0x178b4b}=_0x3fa455;if(!_0x2d11a2||!_0x55e70a||!_0x178b4b)return;const _0x368e28=Object[_0x47e005(0x469)](_0x2d11a2)[_0x47e005(0x32c)](_0x3548d4=>_0x2d11a2[_0x3548d4]['some'](_0x901eff=>_0x35bf85[_0x47e005(0x263)][_0x47e005(0x495)](_0x901eff,_0x4470c8))),_0x3a03df=_0x55e70a;let _0x3f2a0c,_0x46c2e2,_0x492759;if(_0x368e28==='rowRanges')_0x3f2a0c=(_0x19f948=_0x3a03df==null?void 0x0:_0x3a03df[_0x47e005(0x411)])==null?void 0x0:_0x19f948[_0x1bdff7],_0x46c2e2=(_0x5010cf=_0x178b4b==null?void 0x0:_0x178b4b[_0x47e005(0x2d1)])==null?void 0x0:_0x5010cf[_0x176f43],_0x492759=_0x46c2e2==null?void 0x0:_0x46c2e2[_0x47e005(0x303)];else{if(_0x368e28==='colRanges')_0x3f2a0c=(_0x16dfdd=_0x3a03df==null?void 0x0:_0x3a03df[_0x47e005(0x25e)])==null?void 0x0:_0x16dfdd[_0x176f43],_0x46c2e2=(_0xe9cd9b=_0x178b4b[_0x47e005(0x18f)])==null?void 0x0:_0xe9cd9b[_0x1bdff7+0x1+_0x176f43-_0x2d11a2[_0x47e005(0x231)][0x0][_0x47e005(0x367)]],_0x492759=_0x46c2e2==null?void 0x0:_0x46c2e2[_0x47e005(0x303)];else{if(_0x368e28===_0x47e005(0x456))_0x3f2a0c=(_0x2264c5=_0x3a03df==null?void 0x0:_0x3a03df[_0x47e005(0x3ea)])==null?void 0x0:_0x2264c5[_0x176f43],_0x492759=_0x3f2a0c==null?void 0x0:_0x3f2a0c[_0x47e005(0x303)];else{if(_0x368e28===_0x47e005(0x281)){const _0x1aff55=_0x176924==null?void 0x0:_0x176924['fi'];_0x1aff55!==void 0x0&&(_0x492759=_0x30dd52[_0x47e005(0x26f)](_0x1aff55));}}}}return{'filterId':_0x492759,'info':_0x3f2a0c,'data':_0x176924,'headerInfo':_0x46c2e2};}function _0x1a896d(_0x18496f,_0x4c4e0c,_0x27776e){const _0x7f42b=_0x4483a8,_0x193179=_0x18496f[_0x7f42b(0x2fb)],_0x372d65=_0x193179[_0x7f42b(0x36a)](),_0x3c2c92=new Set();_0x18496f['iterateField'](_0x3abbc0=>{const _0x544ecd=_0x7f42b;_0x3c2c92[_0x544ecd(0x36c)](_0x3abbc0[_0x544ecd(0x206)]);});const _0x4a6df0=_0x372d65['map'](_0x41e0c9=>{const _0x9d9515=_0x7f42b,_0xcc839c=_0x193179[_0x9d9515(0x2b1)](_0x41e0c9);return{'checked':_0x3c2c92['has'](_0x41e0c9),'dataFieldId':_0xcc839c['id'],'id':_0xcc839c['id'],'name':_0x193179['getDisplayName'](_0xcc839c['id']),'type':_0xcc839c[_0x9d9515(0x3a0)](),'pivotTableId':_0x4c4e0c};}),_0x2475fb=[];_0x18496f[_0x7f42b(0x43a)](_0x3c6b65['PivotTableFiledAreaEnum']['Row'],_0x5a82dd=>{const _0x30ceab=_0x7f42b;_0x2475fb['push']({'dataFieldId':_0x5a82dd[_0x30ceab(0x206)],'tableFieldId':_0x5a82dd[_0x30ceab(0x3a8)](),'displayName':_0x5a82dd['getDisplayName']()});});const _0x160d41=[];_0x18496f[_0x7f42b(0x43a)](_0x3c6b65['PivotTableFiledAreaEnum'][_0x7f42b(0x32f)],_0x2e9b0b=>{const _0x17b7e1=_0x7f42b;_0x160d41[_0x17b7e1(0x1a4)]({'dataFieldId':_0x2e9b0b[_0x17b7e1(0x206)],'tableFieldId':_0x2e9b0b[_0x17b7e1(0x3a8)](),'displayName':_0x2e9b0b[_0x17b7e1(0x4a3)]()});});const _0x4b4d40=[];if(_0x18496f[_0x7f42b(0x43a)](_0x3c6b65[_0x7f42b(0x309)][_0x7f42b(0x200)],_0x2b3ed6=>{const _0x2d2241=_0x7f42b;_0x4b4d40['push']({'dataFieldId':_0x2b3ed6[_0x2d2241(0x206)],'tableFieldId':_0x2b3ed6[_0x2d2241(0x3a8)](),'displayName':_0x2b3ed6['getDisplayName'](),'format':_0x2b3ed6['getFormat'](),'subTotalType':_0x2b3ed6[_0x2d2241(0x1fe)]()});}),_0x4b4d40[_0x7f42b(0x41b)]>0x1){const _0x3473e0=_0x18496f[_0x7f42b(0x289)]();(_0x18496f[_0x7f42b(0x2c4)]()?_0x160d41:_0x2475fb)[_0x7f42b(0x45d)](_0x3473e0,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x7f42b(0x1f8)});}const _0x26a863=[];_0x18496f[_0x7f42b(0x43a)](_0x3c6b65[_0x7f42b(0x309)][_0x7f42b(0x2a1)],_0x2329c5=>{const _0x4e6462=_0x7f42b;_0x26a863['push']({'dataFieldId':_0x2329c5['dataFieldId'],'tableFieldId':_0x2329c5['getId'](),'displayName':_0x2329c5[_0x4e6462(0x4a3)]()});});const _0x394ca9=_0x27776e[_0x7f42b(0x30c)];return{'sourceList':_0x4a6df0,'sourceRange':_0x394ca9,'rowFields':_0x2475fb,'columnFields':_0x160d41,'valueFields':_0x4b4d40,'filterFields':_0x26a863,'positionInfo':_0x27776e[_0x7f42b(0x344)]};}function _0x45ac3a(_0x9ae1ca,_0x1e6b14,_0x406de5='',_0x3aa722={}){const _0x1e4a7c=_0x4483a8,_0x32ff0b=_0x9ae1ca['get'](_0x35bf85[_0x1e4a7c(0x2ab)]);for(const _0x5652cd in _0x1e6b14)if(Object[_0x1e4a7c(0x3f4)]['hasOwnProperty'][_0x1e4a7c(0x2bd)](_0x1e6b14,_0x5652cd)){const _0x2b0fb6=_0x406de5?_0x406de5+'.'+_0x5652cd:_0x5652cd;typeof _0x1e6b14[_0x5652cd]==_0x1e4a7c(0x31a)&&_0x1e6b14[_0x5652cd]!==null&&!Array['isArray'](_0x1e6b14[_0x5652cd])?_0x45ac3a(_0x9ae1ca,_0x1e6b14[_0x5652cd],_0x2b0fb6,_0x3aa722):_0x3aa722[_0x2b0fb6]=_0x32ff0b['t'](_0x2b0fb6);}return _0x3aa722;}const _0x18351d=_0x2312c4=>{const _0x54f3d8=_0x4483a8;if(!_0x2312c4)return[];const {rowRanges:_0x3ef3ba,colRanges:_0x38376e,cornerRanges:_0x35f3de,dataRanges:_0x5e2378,pageRanges:_0x296c5b}=_0x2312c4,_0x428998=[..._0x38376e,..._0x3ef3ba,..._0x5e2378,..._0x35f3de][_0x54f3d8(0x3d5)](_0x547d22=>_0x547d22['startRow']>=0x0&&_0x547d22[_0x54f3d8(0x367)]>=0x0&&_0x547d22[_0x54f3d8(0x2a6)]>=0x0&&_0x547d22[_0x54f3d8(0x287)]>=0x0);let _0xeaddf4=Number['MAX_SAFE_INTEGER'],_0x6d2966=Number['MIN_SAFE_INTEGER'],_0x398745=Number['MAX_SAFE_INTEGER'],_0x40e5f6=Number[_0x54f3d8(0x474)];for(let _0x35ac28=0x0;_0x35ac28<_0x428998[_0x54f3d8(0x41b)];_0x35ac28++)_0xeaddf4=Math['min'](_0xeaddf4,_0x428998[_0x35ac28][_0x54f3d8(0x197)]),_0x6d2966=Math[_0x54f3d8(0x321)](_0x6d2966,_0x428998[_0x35ac28][_0x54f3d8(0x2a6)]),_0x398745=Math[_0x54f3d8(0x418)](_0x398745,_0x428998[_0x35ac28]['startColumn']),_0x40e5f6=Math[_0x54f3d8(0x321)](_0x40e5f6,_0x428998[_0x35ac28][_0x54f3d8(0x287)]);return[..._0x296c5b,{'startRow':_0xeaddf4,'endRow':_0x6d2966,'startColumn':_0x398745,'endColumn':_0x40e5f6}];};function _0x5a050d(_0x3c8090,_0x127bac){const _0x411d21=_0x4483a8,_0x480fac=_0x127bac[_0x411d21(0x2ca)][_0x411d21(0x451)],{pivotTableId:_0x3c6319,unitId:_0x30a09e,subUnitId:_0x55836d}=_0x127bac;if(!_0x480fac)return;const _0x242593=_0x3c8090['get'](_0x5b9ff4['SheetsPivotDataSourceModel']),_0xf94d53=_0x242593[_0x411d21(0x373)](_0x3c6319),_0xfa6888=_0x242593[_0x411d21(0x30e)](_0x30a09e,_0x55836d,_0x3c6319);if(!_0xf94d53||!_0xfa6888)return;const _0x12deba=_0xf94d53['getIndexesByPathStr'](_0x480fac[_0x411d21(0x3de)]);if(!(_0x12deba!=null&&_0x12deba[_0x411d21(0x41b)]))return;const _0x58fd32=_0xfa6888[_0x411d21(0x30c)],{unitId:_0x2f5d0d,subUnitId:_0x552e9d,range:_0x38b08a}=_0x58fd32;let _0x7db658=0x0;const _0x677bf9=_0xf94d53['dataFieldsCollection']['getFieldIds']()[_0x411d21(0x2b5)]((_0x65af1c,_0x2d4dea)=>{const _0x247536=_0x411d21;var _0x53777e;const _0x314b42=(_0x53777e=_0xf94d53[_0x247536(0x28d)](_0x2d4dea))==null?void 0x0:_0x53777e['getformat']();return _0x314b42&&(_0x65af1c[String(_0x7db658)]=_0x314b42),_0x7db658++,_0x65af1c;},{});return{'indexes':_0x12deba,'range':_0x38b08a,'sourceUnitId':_0x2f5d0d,'sourceSubUnitId':_0x552e9d,'formatMap':_0x677bf9};}function _0x4c9df0(_0x2d1275,_0x2a5cc7){const _0x1d7a55=_0x4483a8;if(!_0x2d1275||!_0x2a5cc7)return!0x0;const _0x65bcdd=_0x22ffe5['unshiftString'](_0x28db76,_0x457974),_0x4f0b39=new Function(_0x1d7a55(0x47d)+_0x65bcdd)()(_0x2d1275,_0x2a5cc7)['message'],_0x31256a=_0x22ffe5['isFeatureAuthorizedWithinTime'](_0x4f0b39,'sf',_0x6f06ce);return!((_0x4f0b39==null?void 0x0:_0x4f0b39['rt'])===_0x22ffe5[_0x1d7a55(0x3c6)][_0x1d7a55(0x376)]&&!_0x31256a);}function _0x4d830e(_0x535643,_0x5e7296,_0x4a0eef){const _0x4bbd5d=_0x4483a8,_0x4f2d2f={'count':_0x535643,'timeValid':!0x1};if(!_0x5e7296||!_0x4a0eef)return _0x4f2d2f;const _0x132725=_0x22ffe5[_0x4bbd5d(0x347)](_0x28db76,_0x457974),_0x510ab0=new Function(_0x4bbd5d(0x47d)+_0x132725)()(_0x5e7296,_0x4a0eef);if(_0x510ab0!=null&&_0x510ab0['valid']){const _0x5e7eb2=_0x510ab0['message'],_0x442c73=_0x22ffe5[_0x4bbd5d(0x41d)](_0x5e7eb2,'sf',_0x6f06ce);return{'count':_0x22ffe5[_0x4bbd5d(0x1ca)](_0x5e7eb2,_0x442c73,'ptn',_0x535643,_0x535643,0x0),'timeValid':_0x442c73};}return _0x4f2d2f;}function _0x5c2dab(_0x32e44a,_0xfde7c6,_0x3edca3,_0x22c2fc){const _0x1d2e26=_0x4483a8,_0x344621={'subUnitId':_0x3edca3,'unitId':_0xfde7c6,'cellValue':_0x4c8da1[_0x1d2e26(0x3c9)](_0x22c2fc)},_0x1805ec=_0x4c8da1[_0x1d2e26(0x349)](_0x32e44a,_0x344621);let _0x2097fa=!0x1;return new _0x35bf85[(_0x1d2e26(0x405))](_0x1805ec[_0x1d2e26(0x1a2)])[_0x1d2e26(0x387)]((_0x5b36c8,_0x5bedb4,_0x4bb4d8)=>{const _0x3513ca=_0x1d2e26;if(!_0x2097fa&&_0x4bb4d8&&(_0x4bb4d8[_0x3513ca(0x28c)]||_0x4bb4d8['f']||_0x4bb4d8['p']||_0x4bb4d8['s']||_0x4bb4d8['si']||_0x4bb4d8['t']||_0x4bb4d8['v']))return _0x2097fa=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x4c8da1['SetRangeValuesMutation']['id'],'params':_0x1805ec},'setRangeValueRedoMutation':{'id':_0x4c8da1[_0x1d2e26(0x305)]['id'],'params':_0x344621},'shouldClear':_0x2097fa};}function _0xb43f30(_0x4dd9e5){const {row:_0x1c4ebc,col:_0x3dd100}=_0x4dd9e5,_0x10ad46={'startRow':_0x1c4ebc,'endRow':_0x1c4ebc,'startColumn':_0x3dd100,'endColumn':_0x3dd100},_0x5e9bd4={'startRow':_0x1c4ebc+0x2,'endRow':_0x1c4ebc+0xe,'startColumn':_0x3dd100,'endColumn':_0x3dd100+0x6};return[_0x10ad46,_0x5e9bd4];}function _0x486666(_0x2c911e,_0x1f9e3b,_0x25e813){const _0x793587=_0x4483a8,{cornerView:_0xb8507e,rowView:_0xe574e6,colView:_0x40df4c,pageView:_0x89505b}=_0x2c911e,{row:_0x5dcd61,col:_0x3c7828}=_0x1f9e3b;if(_0x25e813)return{'rowCount':_0x2c9e0e+_0x5dcd61,'colCount':_0x9ea923+_0x3c7828};const _0x2472c8=_0x89505b[_0x793587(0x43c)]>-0x1?_0x89505b[_0x793587(0x43c)]+0x1:0x0,_0x5a3279=_0x89505b[_0x793587(0x1b5)]>-0x1?_0x89505b[_0x793587(0x1b5)]:0x0,_0x3cc044=_0x5dcd61+_0x2472c8+(_0x2472c8?0x1:0x0)+_0xb8507e[_0x793587(0x363)]+_0xe574e6[_0x793587(0x363)],_0x5e87af=_0x3c7828+_0x5a3279,_0x476bb2=_0x3c7828+_0xb8507e[_0x793587(0x1e1)]+_0x40df4c[_0x793587(0x1e1)],_0x92fb76=Math[_0x793587(0x321)](_0x5e87af,_0x476bb2);return{'rowCount':_0x3cc044,'colCount':_0x92fb76};}function _0x183b66(_0x5cc19f,_0x2f20bd,_0x32cb80,_0x5307bb){const _0x564872=_0x4483a8,{row:_0x3994a8,col:_0x39df11,unitId:_0x2c9a01,subUnitId:_0x47b39e}=_0x32cb80,_0x408ac0=_0x486666(_0x2f20bd,{'row':_0x3994a8,'col':_0x39df11},_0x5307bb),_0x4d9d04=_0x5cc19f['get'](_0x35bf85[_0x564872(0x3fd)]),_0x98a527=_0x4c8da1[_0x564872(0x2d7)](_0x4d9d04,{'unitId':_0x2c9a01,'subUnitId':_0x47b39e}),_0x1a2401=[],_0x3ef969=[];if(!_0x98a527)return{'undos':_0x3ef969,'redos':_0x1a2401};const {worksheet:_0x19215c}=_0x98a527,_0x4e705c=_0x19215c['getRowCount'](),_0xdc3260=_0x19215c[_0x564872(0x440)]();return _0x4e705c<_0x408ac0[_0x564872(0x363)]&&(_0x1a2401[_0x564872(0x1a4)]({'id':_0x4c8da1[_0x564872(0x237)]['id'],'params':{'unitId':_0x2c9a01,'subUnitId':_0x47b39e,'range':{'startRow':_0x4e705c,'endRow':_0x408ac0[_0x564872(0x363)]-0x1,'startColumn':0x0,'endColumn':_0xdc3260-0x1}}}),_0x3ef969[_0x564872(0x1a4)]({'id':_0x4c8da1[_0x564872(0x42b)]['id'],'params':{'unitId':_0x2c9a01,'subUnitId':_0x47b39e,'range':{'startRow':_0x4e705c,'endRow':_0x408ac0[_0x564872(0x363)]-0x1,'startColumn':0x0,'endColumn':_0xdc3260-0x1}}})),_0xdc3260<_0x408ac0[_0x564872(0x1e1)]&&(_0x1a2401[_0x564872(0x1a4)]({'id':_0x4c8da1['InsertColMutation']['id'],'params':{'unitId':_0x2c9a01,'subUnitId':_0x47b39e,'range':{'startRow':0x0,'endRow':_0x4e705c-0x1,'startColumn':_0xdc3260,'endColumn':_0x408ac0['colCount']-0x1}}}),_0x3ef969[_0x564872(0x1a4)]({'id':_0x4c8da1[_0x564872(0x40e)]['id'],'params':{'unitId':_0x2c9a01,'subUnitId':_0x47b39e,'range':{'startRow':0x0,'endRow':_0x4e705c-0x1,'startColumn':_0xdc3260,'endColumn':_0x408ac0['colCount']-0x1}}})),{'undos':_0x3ef969,'redos':_0x1a2401};}function _0x3cf41e(_0xab89eb){const _0x183784=_0x4483a8;let _0x28f23b=0x0;for(let _0x5b5482=0x0;_0x5b5482<_0xab89eb[_0x183784(0x41b)];_0x5b5482++){const _0x5d2f83=_0xab89eb['charCodeAt'](_0x5b5482);_0x5d2f83>=0x4e00&&_0x5d2f83<=0x9fff||_0x5d2f83>=0x3000&&_0x5d2f83<=0x303f||_0x5d2f83>=0xff00&&_0x5d2f83<=0xffef?_0x28f23b+=0x2:_0x28f23b+=0x1;}return _0x28f23b;}function _0x28d321(_0x342847,_0x53b2a2,_0x51e24d,_0x13fe46){const _0x488311=_0x4483a8;var _0x1a93eb,_0xe439d,_0x49b1d4,_0x597f58;const {rowCount:_0x4da14f,colCount:_0x26faef,headerMap:_0x496074}=_0x342847,_0x2c7b6a=0x64,_0x1f39be=Math[_0x488311(0x418)](_0x4da14f,_0x2c7b6a),_0x50fec6=Math[_0x488311(0x418)](_0x26faef,_0x2c7b6a);let _0x4f62bc='',_0x31ed13=0x0;for(let _0x26ed08=0x0;_0x26ed08<_0x1f39be;_0x26ed08++)for(let _0x26490f=0x0;_0x26490f<_0x50fec6;_0x26490f++){const _0x5ace8f={...(_0xe439d=(_0x1a93eb=_0x342847[_0x488311(0x27e)])==null?void 0x0:_0x1a93eb[_0x26ed08])==null?void 0x0:_0xe439d[_0x26490f]},_0xf30744=(_0x49b1d4=_0x496074[_0x26ed08])==null?void 0x0:_0x49b1d4['tableFieldId'],_0x50bd25=_0x13fe46[_0xf30744];let _0x24470e=_0x342847[_0x488311(0x2db)](_0x26ed08,_0x26490f);if(_0x5ace8f){const _0x3e48b0=_0x51e24d?_0x26490f===0x0&&((_0x597f58=_0x342847['getHeaderMapItem'](_0x26490f+0x1))==null?void 0x0:_0x597f58[_0x488311(0x3bf)]):!0x1;_0x24470e=_0x4c0eb9(_0x5ace8f,_0x3e48b0,_0x50bd25,_0x53b2a2);}if(_0x24470e!==void 0x0){const _0x14a318=_0x3cf41e(String(_0x24470e));_0x31ed13<_0x14a318&&(_0x4f62bc=String(_0x24470e),_0x31ed13=_0x14a318);}}return _0x4f62bc;}function _0x1227ba(_0x4fe9b3){const _0x47047f=_0x4483a8,{rowCount:_0x363ed8,colCount:_0x190610}=_0x4fe9b3;let _0x375006='',_0xc6b09a=0x0;for(let _0x4867e9=_0x363ed8-0x1;_0x4867e9>0x0&&_0x4867e9>_0x363ed8-0x3;_0x4867e9--)for(let _0x586ad3=0x0;_0x586ad3<_0x190610;_0x586ad3++){const _0x50bd86=_0x4fe9b3[_0x47047f(0x2db)](_0x4867e9,_0x586ad3);if(_0x50bd86!==void 0x0){const _0x112dbc=String(_0x50bd86)[_0x47047f(0x41b)];_0xc6b09a<_0x112dbc&&(_0x375006=String(_0x50bd86),_0xc6b09a=_0x112dbc);}}return _0x375006;}function _0x169fab(_0x2d3ce9){const _0x491c74=_0x4483a8,{rowCount:_0x3444b2,colCount:_0x3e3400}=_0x2d3ce9;let _0x55c83e='',_0x28abca=0x0;for(let _0x31f593=0x0;_0x31f593<_0x3444b2;_0x31f593++)for(let _0x3c9038=0x0;_0x3c9038<_0x3e3400;_0x3c9038++){const _0x1b85e1=_0x2d3ce9[_0x491c74(0x2db)](_0x31f593,_0x3c9038);if(_0x1b85e1!==void 0x0){const _0x2bf0d3=String(_0x1b85e1)['length'];_0x28abca<_0x2bf0d3&&(_0x55c83e=String(_0x1b85e1),_0x28abca=_0x2bf0d3);}}return _0x55c83e;}function _0x253fd1(_0x18e098,_0x4cb18c){const _0x220756=_0x4483a8,{rowFields:_0x51429f,columnFields:_0x5897a8,valueFields:_0x346a88,filterFields:_0x5b9135,dimension:_0x57fb05,measure:_0x56e9df}=_0x4cb18c;for(const _0xa1ed67 of _0x51429f){const _0x5a05ce=_0x57fb05[_0xa1ed67];_0x5a05ce&&_0x18e098[_0x220756(0x28d)](_0x5a05ce[_0x220756(0x206)])&&(_0x18e098[_0x220756(0x2f0)](_0x5a05ce[_0x220756(0x206)],_0x3c6b65[_0x220756(0x309)][_0x220756(0x410)],void 0x0,_0xa1ed67),_0x5a05ce[_0x220756(0x494)]&&_0x18e098[_0x220756(0x483)](_0x5a05ce['id'],_0x5a05ce[_0x220756(0x494)]),_0x5a05ce[_0x220756(0x40a)]&&_0x18e098[_0x220756(0x25c)](_0x5a05ce['id'],_0x5a05ce['sortInfo']),_0x5a05ce[_0x220756(0x213)]&&_0x18e098[_0x220756(0x361)](_0x5a05ce['id'],_0x5a05ce[_0x220756(0x213)]));}for(const _0x3b8efa of _0x5897a8){const _0x379a60=_0x57fb05[_0x3b8efa];_0x379a60&&_0x18e098[_0x220756(0x28d)](_0x379a60['dataFieldId'])&&(_0x18e098[_0x220756(0x2f0)](_0x379a60[_0x220756(0x206)],_0x3c6b65[_0x220756(0x309)][_0x220756(0x32f)],void 0x0,_0x3b8efa),_0x379a60[_0x220756(0x40a)]&&_0x18e098[_0x220756(0x25c)](_0x379a60['id'],_0x379a60[_0x220756(0x40a)]),_0x379a60[_0x220756(0x213)]&&_0x18e098[_0x220756(0x361)](_0x379a60['id'],_0x379a60[_0x220756(0x213)]),_0x379a60[_0x220756(0x494)]&&_0x18e098[_0x220756(0x483)](_0x379a60['id'],_0x379a60[_0x220756(0x494)]));}for(const _0x39c747 of _0x5b9135){const _0x5c4b28=_0x57fb05[_0x39c747];_0x5c4b28&&_0x18e098[_0x220756(0x28d)](_0x5c4b28[_0x220756(0x206)])&&(_0x18e098[_0x220756(0x2f0)](_0x5c4b28[_0x220756(0x206)],_0x3c6b65['PivotTableFiledAreaEnum'][_0x220756(0x2a1)],void 0x0,_0x39c747),_0x5c4b28[_0x220756(0x40a)]&&_0x18e098[_0x220756(0x25c)](_0x5c4b28['id'],_0x5c4b28[_0x220756(0x40a)]),_0x5c4b28[_0x220756(0x213)]&&_0x18e098[_0x220756(0x361)](_0x5c4b28['id'],_0x5c4b28[_0x220756(0x213)]),_0x5c4b28[_0x220756(0x494)]&&_0x18e098[_0x220756(0x483)](_0x5c4b28['id'],_0x5c4b28[_0x220756(0x494)]));}for(const _0x14c3a6 of _0x346a88){const _0x9c49be=_0x56e9df[_0x14c3a6];_0x9c49be&&_0x18e098[_0x220756(0x28d)](_0x9c49be[_0x220756(0x206)])&&(_0x18e098[_0x220756(0x2f0)](_0x9c49be['dataFieldId'],_0x3c6b65[_0x220756(0x309)][_0x220756(0x200)],void 0x0,_0x14c3a6),_0x9c49be[_0x220756(0x193)]!==void 0x0&&_0x18e098['setSubtotalType'](_0x14c3a6,_0x9c49be[_0x220756(0x193)]),_0x9c49be[_0x220756(0x430)]&&_0x18e098[_0x220756(0x283)](_0x14c3a6,_0x9c49be[_0x220756(0x430)]),_0x9c49be['displayName']&&_0x18e098[_0x220756(0x483)](_0x9c49be['id'],_0x9c49be[_0x220756(0x494)]));}const _0x113263=_0x4cb18c[_0x220756(0x379)];for(const {fieldId:_0x2ff72a,filterInfo:_0x453a01}of _0x113263)_0x18e098[_0x220756(0x301)](_0x2ff72a,_0x453a01);}function _0x3ccfec(_0x42644c,_0x34c79c){const _0x233cea=_0x4483a8,_0x295776=[];_0x34c79c===_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x410)]&&_0x42644c[_0x233cea(0x43a)](_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x410)],_0x3aa008=>{const _0x3c703a=_0x233cea;_0x295776[_0x3c703a(0x1a4)](_0x3aa008[_0x3c703a(0x3a8)]());}),_0x34c79c===_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x32f)]&&_0x42644c['iterateFieldByArea'](_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x32f)],_0x3c24ec=>{const _0x28ebc1=_0x233cea;_0x295776['push'](_0x3c24ec[_0x28ebc1(0x3a8)]());}),_0x34c79c===_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x2a1)]&&_0x42644c['iterateFieldByArea'](_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x2a1)],_0x2de85c=>{const _0x316e46=_0x233cea;_0x295776[_0x316e46(0x1a4)](_0x2de85c[_0x316e46(0x3a8)]());}),_0x34c79c===_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x200)]&&_0x42644c[_0x233cea(0x43a)](_0x3c6b65[_0x233cea(0x309)][_0x233cea(0x200)],_0x2a1106=>{const _0x58a7e8=_0x233cea;_0x295776[_0x58a7e8(0x1a4)](_0x2a1106[_0x58a7e8(0x3a8)]());}),_0x34c79c===void 0x0&&_0x42644c[_0x233cea(0x2e4)](_0x47e40b=>{const _0x50af40=_0x233cea;_0x295776[_0x50af40(0x1a4)](_0x47e40b[_0x50af40(0x3a8)]());});const _0x17af56=_0x295776['length'];for(let _0x348d18=_0x17af56-0x1;_0x348d18>=0x0;_0x348d18--)_0x42644c[_0x233cea(0x1d1)](_0x295776[_0x348d18]);const _0x46474c=_0x42644c[_0x233cea(0x1a0)]();for(const _0x520622 in _0x46474c)_0x42644c[_0x233cea(0x2e3)](_0x520622);}function _0x5bf2ed(_0x4adeaa,_0x5cb075){const _0x1c4a07=_0x4483a8,_0x4166c4=new Date(_0x3c6b65[_0x1c4a07(0x397)](_0x5cb075)),_0xbc533d=new Date(_0x3c6b65[_0x1c4a07(0x397)](_0x4adeaa)),_0x3bcf38=_0x4166c4[_0x1c4a07(0x450)](),_0x73b7f6=_0xbc533d[_0x1c4a07(0x450)](),_0xc18002=_0x4166c4[_0x1c4a07(0x2e7)](),_0x2833b3=_0xbc533d['getMonth'](),_0x6ee1f9=_0x4166c4[_0x1c4a07(0x3fb)](),_0x51fb31=_0xbc533d[_0x1c4a07(0x3fb)](),_0x5c2740=_0x3bcf38===_0x73b7f6,_0x5e738d=_0x5c2740&&_0xc18002===_0x2833b3;return _0x5c2740&&_0x5e738d&&!(_0x5e738d&&_0x6ee1f9===_0x51fb31)?_0x3c6b65[_0x1c4a07(0x3ca)][_0x1c4a07(0x1a1)]:_0x5c2740&&!_0x5e738d?_0x3c6b65[_0x1c4a07(0x3ca)]['YearMonth']:_0x3c6b65[_0x1c4a07(0x3ca)][_0x1c4a07(0x20d)];}function _0x5d0fc3(_0x2cdb80,_0x2eacc8){const _0x3c274f=_0x4483a8,_0x424a02=_0x2cdb80[_0x3c274f(0x350)](_0x5b9ff4['SheetsPivotDataSourceModel'])[_0x3c274f(0x3f3)]();let _0x1289d6='';switch(_0x2eacc8){case _0x3c6b65[_0x3c274f(0x3ca)]['YearMonthDate']:_0x1289d6=_0x424a02[_0x3c274f(0x2d0)];break;case _0x3c6b65[_0x3c274f(0x3ca)][_0x3c274f(0x2ff)]:_0x1289d6=_0x424a02['sheets-pivot.dateGroup.yearMonth'];break;case _0x3c6b65[_0x3c274f(0x3ca)][_0x3c274f(0x20d)]:_0x1289d6=_0x424a02['sheets-pivot.dateGroup.year'];break;case _0x3c6b65[_0x3c274f(0x3ca)]['Month']:_0x1289d6=_0x424a02[_0x3c274f(0x378)];break;case _0x3c6b65['PivotDateGroupFieldDateTypeEnum'][_0x3c274f(0x3b3)]:_0x1289d6=_0x424a02[_0x3c274f(0x462)];break;case _0x3c6b65[_0x3c274f(0x3ca)][_0x3c274f(0x3b7)]:_0x1289d6=_0x424a02[_0x3c274f(0x22d)];break;case _0x3c6b65[_0x3c274f(0x3ca)][_0x3c274f(0x448)]:_0x1289d6=_0x424a02[_0x3c274f(0x322)];break;case _0x3c6b65[_0x3c274f(0x3ca)]['Hour']:_0x1289d6=_0x424a02[_0x3c274f(0x3e4)];break;case _0x3c6b65[_0x3c274f(0x3ca)][_0x3c274f(0x262)]:_0x1289d6=_0x424a02['sheets-pivot.dateGroup.minute'];break;case _0x3c6b65[_0x3c274f(0x3ca)]['MonthDate']:_0x1289d6=_0x424a02['sheets-pivot.dateGroup.monthDate'];break;case _0x3c6b65[_0x3c274f(0x3ca)][_0x3c274f(0x435)]:_0x1289d6=_0x424a02[_0x3c274f(0x26b)];break;default:_0x1289d6='';break;}return _0x1289d6;}const _0xe70a58=_0x4483a8(0x3f5),_0x14d45e={};var _0x23df2e=Object['getOwnPropertyDescriptor'],_0x3b53d4=(_0x2a6c9c,_0x2d2780,_0x185e14,_0x5ba064)=>{const _0x11bb3e=_0x4483a8;for(var _0x5eadb1=_0x5ba064>0x1?void 0x0:_0x5ba064?_0x23df2e(_0x2d2780,_0x185e14):_0x2d2780,_0x879be0=_0x2a6c9c[_0x11bb3e(0x41b)]-0x1,_0x2aee18;_0x879be0>=0x0;_0x879be0--)(_0x2aee18=_0x2a6c9c[_0x879be0])&&(_0x5eadb1=_0x2aee18(_0x5eadb1)||_0x5eadb1);return _0x5eadb1;},_0x52e495=(_0x32dca5,_0x5a5e60)=>(_0x39eaa7,_0x4eaa3a)=>_0x5a5e60(_0x39eaa7,_0x4eaa3a,_0x32dca5);_0x5b9ff4[_0x4483a8(0x184)]=class extends _0x35bf85['Disposable']{constructor(_0x400495,_0x16dc9e,_0x276a30,_0x2f133c,_0x2fee00){const _0x4b526b=_0x4483a8;super(),_0x209b81(this,'_model',new Map()),_0x209b81(this,'_collectionConfigModel',new Map()),_0x209b81(this,'_pivotTableRangeInfo',new Map()),_0x209b81(this,_0x4b526b(0x196),new Map()),_0x209b81(this,'_configVersion$',new _0x47c984['Subject']()),_0x209b81(this,'_pivotInitCompleted$',new _0x47c984[(_0x4b526b(0x1ed))]()),_0x209b81(this,_0x4b526b(0x35c),this[_0x4b526b(0x35b)][_0x4b526b(0x1d5)]()),_0x209b81(this,_0x4b526b(0x46c),new _0x47c984[(_0x4b526b(0x1ed))]()),_0x209b81(this,_0x4b526b(0x3b8),this[_0x4b526b(0x46c)][_0x4b526b(0x1d5)]()),_0x209b81(this,_0x4b526b(0x300),{}),_0x209b81(this,_0x4b526b(0x45f),this[_0x4b526b(0x334)]['asObservable']()),(this['_injector']=_0x400495,this['_commandService']=_0x16dc9e,this[_0x4b526b(0x194)]=_0x276a30,this[_0x4b526b(0x20f)]=_0x2f133c,this['_configService']=_0x2fee00,this['_initLocale'](),this[_0x4b526b(0x2c0)]());const _0x44a0c6=this[_0x4b526b(0x208)][_0x4b526b(0x2f9)](_0xe70a58);(_0x44a0c6==null?void 0x0:_0x44a0c6[_0x4b526b(0x3d4)])===!0x0&&this['_initSnapshot']();}[_0x4483a8(0x2c0)](){const _0x18a6fa=_0x4483a8;this[_0x18a6fa(0x3e2)](this[_0x18a6fa(0x194)]['getTypeOfUnitDisposed$'](_0x35bf85[_0x18a6fa(0x2b9)][_0x18a6fa(0x439)])[_0x18a6fa(0x2b6)](_0x1b57c9=>{const _0x2a8c26=_0x18a6fa;this[_0x2a8c26(0x382)](_0x1b57c9['getUnitId']());}));}[_0x4483a8(0x268)](){const _0x46d080=_0x4483a8;this['_pivotInitCompleted$'][_0x46d080(0x47c)](!0x0);}[_0x4483a8(0x241)](){const _0x3597b3=_0x4483a8,_0x4a6371=_0x45ac3a(this['_injector'],_0x14263a,'',{});this['_textInfo']=_0x4a6371,this['_commandService'][_0x3597b3(0x2f8)](_0x2c61b2['id'],{'textInfo':_0x4a6371},{'onlyLocal':!0x0});}[_0x4483a8(0x3f3)](){const _0x2fb629=_0x4483a8;return this[_0x2fb629(0x300)];}['updateViewInfo'](_0x28c8cd,_0x589c40,_0x9516e7,_0x3458c7,_0x225b1a){const _0x11b2a7=_0x4483a8;this[_0x11b2a7(0x199)](_0x28c8cd,_0x589c40,_0x9516e7,_0x3458c7),this[_0x11b2a7(0x465)](_0x28c8cd,_0x589c40,_0x9516e7,_0x225b1a);}[_0x4483a8(0x30e)](_0x1be0a7,_0xdb307,_0x43f0ab){const _0x55cde7=_0x4483a8;var _0x1a8e44;const _0x479713=(_0x1a8e44=this[_0x55cde7(0x1e8)][_0x55cde7(0x350)](_0x1be0a7))==null?void 0x0:_0x1a8e44['get'](_0xdb307);if(_0x479713)return _0x479713['get'](_0x43f0ab);}[_0x4483a8(0x198)](_0x59f585,_0x25107f){const _0x4b6cac=_0x4483a8,_0x486dff=this[_0x4b6cac(0x1e8)][_0x4b6cac(0x350)](_0x59f585);if(_0x486dff){for(const [_0x147829,_0x25f9ab]of _0x486dff[_0x4b6cac(0x438)]())for(const [_0x3c1ef0,_0x5ba28e]of _0x25f9ab[_0x4b6cac(0x438)]())if(_0x3c1ef0===_0x25107f)return _0x5ba28e[_0x4b6cac(0x344)];}}[_0x4483a8(0x251)](_0x148629,_0x398b99,_0x13bc04){const _0x5c61b6=_0x4483a8,_0x30a945=this[_0x5c61b6(0x30e)](_0x148629,_0x398b99,_0x13bc04);return _0x30a945==null?void 0x0:_0x30a945['targetCellInfo'];}[_0x4483a8(0x2fa)](_0x20c8cb,_0x14b8fa){const _0x102116=_0x4483a8;var _0x3f4da2;return(_0x3f4da2=this[_0x102116(0x1e8)][_0x102116(0x350)](_0x20c8cb))==null?void 0x0:_0x3f4da2[_0x102116(0x350)](_0x14b8fa);}[_0x4483a8(0x447)](_0x405bf2,_0x27a331,_0x3eef19,_0xd410e7){const _0x284534=_0x4483a8,_0x399138=this[_0x284534(0x2cf)](_0x405bf2,_0x27a331);_0xd410e7?_0x399138[_0x284534(0x319)](_0x3eef19,_0xd410e7):_0x399138[_0x284534(0x33a)](_0x3eef19),this[_0x284534(0x46c)]['next']({'unitId':_0x405bf2,'subUnitId':_0x27a331,'pivotTableId':_0x3eef19,'pivotTableConfig':_0xd410e7});}[_0x4483a8(0x3d3)](_0x1900af,_0x47bde5){const _0x3e97f4=_0x4483a8;var _0xb03464;return(_0xb03464=this[_0x3e97f4(0x26d)][_0x3e97f4(0x350)](_0x1900af))==null?void 0x0:_0xb03464[_0x3e97f4(0x332)][_0x47bde5];}[_0x4483a8(0x29a)](_0x3c0255,_0x49e81a){const _0x1d4562=_0x4483a8;this[_0x1d4562(0x26d)][_0x1d4562(0x319)](_0x3c0255,_0x49e81a),this['_configVersion$'][_0x1d4562(0x47c)](Math[_0x1d4562(0x31d)]());}[_0x4483a8(0x2cf)](_0x1de7d6,_0x294861){const _0x261514=_0x4483a8;let _0x584ed4=this['_model'][_0x261514(0x350)](_0x1de7d6);_0x584ed4||(_0x584ed4=new Map(),this[_0x261514(0x1e8)][_0x261514(0x319)](_0x1de7d6,_0x584ed4));let _0x2834a7=_0x584ed4[_0x261514(0x350)](_0x294861);return _0x2834a7||(_0x2834a7=new Map(),_0x584ed4[_0x261514(0x319)](_0x294861,_0x2834a7)),_0x2834a7;}[_0x4483a8(0x2dc)](_0x278737,_0x25fc41){const _0x3a5441=_0x4483a8;let _0x1e077f=this[_0x3a5441(0x21c)]['get'](_0x278737);_0x1e077f||(_0x1e077f=new Map(),this[_0x3a5441(0x21c)]['set'](_0x278737,_0x1e077f));let _0x3dfa55=_0x1e077f[_0x3a5441(0x350)](_0x25fc41);return _0x3dfa55||(_0x3dfa55=new Map(),_0x1e077f['set'](_0x25fc41,_0x3dfa55)),_0x3dfa55;}[_0x4483a8(0x246)](_0x226a71,_0x55ab24){const _0x1d26c3=_0x4483a8;let _0x597c16=this[_0x1d26c3(0x196)][_0x1d26c3(0x350)](_0x226a71);_0x597c16||(_0x597c16=new Map(),this[_0x1d26c3(0x196)][_0x1d26c3(0x319)](_0x226a71,_0x597c16));let _0x3f9665=_0x597c16[_0x1d26c3(0x350)](_0x55ab24);return _0x3f9665||(_0x3f9665=new Map(),_0x597c16['set'](_0x55ab24,_0x3f9665)),_0x3f9665;}[_0x4483a8(0x465)](_0x576898,_0x5352fa,_0xe70a8b,_0x297a68){const _0x210c61=_0x4483a8;var _0xf9f591;const _0xa7806f=this['_ensurePivotTableRangeInfo'](_0x576898,_0x5352fa),_0x3f825e=(_0xf9f591=_0xa7806f[_0x210c61(0x350)](_0xe70a8b))==null?void 0x0:_0xf9f591[_0x210c61(0x365)];_0xa7806f[_0x210c61(0x319)](_0xe70a8b,{'oldRangeInfo':_0x3f825e,'rangeInfo':_0x297a68});}[_0x4483a8(0x199)](_0x5cb1c6,_0x2c6783,_0x2bd795,_0x1eee4e){const _0x1d357f=_0x4483a8;var _0x4be019;const _0x389317=this['_ensurePivotTableMatrixInfo'](_0x5cb1c6,_0x2c6783),_0x1e001a=(_0x4be019=_0x389317[_0x1d357f(0x350)](_0x2bd795))==null?void 0x0:_0x4be019['oldMatrix'];_0x389317[_0x1d357f(0x319)](_0x2bd795,{'oldMatrix':_0x1e001a,'matrix':_0x1eee4e});}['getPivotTableRangeInfo'](_0x59fefc,_0x87e1cb,_0x5e563b){const _0xcb9c9=_0x4483a8;var _0x5e4c15,_0x51da3d;return(_0x51da3d=(_0x5e4c15=this[_0xcb9c9(0x21c)][_0xcb9c9(0x350)](_0x59fefc))==null?void 0x0:_0x5e4c15[_0xcb9c9(0x350)](_0x87e1cb))==null?void 0x0:_0x51da3d[_0xcb9c9(0x350)](_0x5e563b);}[_0x4483a8(0x30b)](_0x506a94,_0x35dcea,_0x38f583){const _0x3c0b1a=_0x4483a8;var _0x3ae94f,_0x5a8ea6;return(_0x5a8ea6=(_0x3ae94f=this[_0x3c0b1a(0x196)]['get'](_0x506a94))==null?void 0x0:_0x3ae94f['get'](_0x35dcea))==null?void 0x0:_0x5a8ea6['get'](_0x38f583);}['deleteUnitId'](_0x3a0b2e){const _0x23c6e7=_0x4483a8;this[_0x23c6e7(0x1e8)]['delete'](_0x3a0b2e),this[_0x23c6e7(0x26d)]['delete'](_0x3a0b2e);}[_0x4483a8(0x229)](_0x2b53a6){const _0x407043=_0x4483a8,_0xf33ea6={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x407043(0x26d)][_0x407043(0x350)](_0x2b53a6)&&(_0xf33ea6[_0x407043(0x493)][_0x2b53a6]=this[_0x407043(0x26d)][_0x407043(0x350)](_0x2b53a6)),this[_0x407043(0x1e8)][_0x407043(0x350)](_0x2b53a6)){_0xf33ea6[_0x407043(0x278)][_0x2b53a6]={};const _0x1519f0=this[_0x407043(0x1e8)][_0x407043(0x350)](_0x2b53a6);_0x1519f0!=null&&_0x1519f0['size']&&[..._0x1519f0[_0x407043(0x469)]()]['forEach'](_0x1e48bb=>{const _0x40f125=_0x407043,_0x31047e=_0x1519f0[_0x40f125(0x350)](_0x1e48bb);_0x31047e!=null&&_0x31047e[_0x40f125(0x1a5)]&&(_0xf33ea6[_0x40f125(0x278)][_0x2b53a6][_0x1e48bb]={},[..._0x31047e[_0x40f125(0x469)]()][_0x40f125(0x443)](_0x1e51ad=>{const _0x344c3f=_0x40f125,_0x41ed5a=_0x31047e[_0x344c3f(0x350)](_0x1e51ad);_0x41ed5a&&(_0xf33ea6[_0x344c3f(0x278)][_0x2b53a6][_0x1e48bb][_0x1e51ad]=_0x41ed5a);}));});}return _0xf33ea6;}[_0x4483a8(0x3d1)](){const _0x55ed2c=_0x4483a8;this[_0x55ed2c(0x3e2)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x20b2a9=>JSON[_0x55ed2c(0x304)](this[_0x55ed2c(0x229)](_0x20b2a9)),'parseJson':_0x82e3c=>({}),'businesses':[_0x35bf85[_0x55ed2c(0x2b9)][_0x55ed2c(0x439)]],'pluginName':_0x3b5c40,'onLoad':(_0x17d1cf,_0x35fcd2)=>{},'onUnLoad':_0x31db11=>{const _0x517704=_0x55ed2c;this[_0x517704(0x382)](_0x31db11);}}));}},_0x5b9ff4[_0x4483a8(0x184)]=_0x3b53d4([_0x52e495(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x4a4)])),_0x52e495(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85['ICommandService'])),_0x52e495(0x2,_0x35bf85['Inject'](_0x35bf85[_0x4483a8(0x3fd)])),_0x52e495(0x3,_0x35bf85['Inject'](_0x35bf85['IResourceManagerService'])),_0x52e495(0x4,_0x35bf85['Inject'](_0x35bf85[_0x4483a8(0x1bb)]))],_0x5b9ff4[_0x4483a8(0x184)]);var _0x3e4e15=Object[_0x4483a8(0x284)],_0x1f3707=(_0x1efd26,_0x5a7813,_0x5f43fa,_0x4e8b25)=>{const _0x2a0170=_0x4483a8;for(var _0x3d046f=_0x4e8b25>0x1?void 0x0:_0x4e8b25?_0x3e4e15(_0x5a7813,_0x5f43fa):_0x5a7813,_0x37c8d9=_0x1efd26[_0x2a0170(0x41b)]-0x1,_0x4be5d7;_0x37c8d9>=0x0;_0x37c8d9--)(_0x4be5d7=_0x1efd26[_0x37c8d9])&&(_0x3d046f=_0x4be5d7(_0x3d046f)||_0x3d046f);return _0x3d046f;},_0x330574=(_0xfc7d62,_0x296d72)=>(_0x2bcb03,_0x2d530b)=>_0x296d72(_0x2bcb03,_0x2d530b,_0xfc7d62);_0x5b9ff4[_0x4483a8(0x1c6)]=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x1d7170,_0x471a3f,_0x2fee09,_0x17ae17,_0x27ea03){const _0x59ff89=_0x4483a8;super(),_0x209b81(this,_0x59ff89(0x23b),new Map()),_0x209b81(this,_0x59ff89(0x224),new Map()),_0x209b81(this,'_markDirty$',new _0x47c984[(_0x59ff89(0x1ed))]()),_0x209b81(this,_0x59ff89(0x42f),this['_markDirty$']['asObservable']()),_0x209b81(this,_0x59ff89(0x3c2),new _0x47c984[(_0x59ff89(0x1ed))]()),_0x209b81(this,'viewUpdate$',this['_viewUpdate$'][_0x59ff89(0x1d5)]()),_0x209b81(this,_0x59ff89(0x300)),(this[_0x59ff89(0x498)]=_0x1d7170,this['_injector']=_0x471a3f,this[_0x59ff89(0x3cc)]=_0x2fee09,this[_0x59ff89(0x194)]=_0x17ae17,this[_0x59ff89(0x2ea)]=_0x27ea03,this[_0x59ff89(0x241)](),this['_initUnitDisposed']());}[_0x4483a8(0x2c0)](){const _0x38154f=_0x4483a8;this[_0x38154f(0x3e2)](this[_0x38154f(0x194)][_0x38154f(0x345)](_0x35bf85[_0x38154f(0x2b9)][_0x38154f(0x439)])[_0x38154f(0x2b6)](_0x355eae=>{const _0x51c444=_0x38154f;this['deleteUnitId'](_0x355eae[_0x51c444(0x366)]());}));}[_0x4483a8(0x241)](){const _0x48ea60=_0x4483a8;this[_0x48ea60(0x300)]=_0x45ac3a(this[_0x48ea60(0x204)],_0x14263a,'',{});}[_0x4483a8(0x1bc)](_0x584f97){const _0x33f507=_0x4483a8,{view:_0x14ff97,unitId:_0x499888,subUnitId:_0x118989,pivotTableId:_0x4a3867,type:_0x5e488c}=_0x584f97,_0x464649=this[_0x33f507(0x3cc)]['getPivotTableConfig'](_0x499888,_0x118989,_0x4a3867);if(!_0x14ff97||!_0x464649||_0x5e488c===_0x208bc1[_0x33f507(0x3ce)])return;const {pageView:_0xf585eb,cornerView:_0x5790d9,rowView:_0x4474fb,colView:_0x5662ea,dataView:_0x25e481}=_0x14ff97,_0x75c01a=_0x464649[_0x33f507(0x344)],_0x537397=_0x464649[_0x33f507(0x1a7)],_0x210fcd=this[_0x33f507(0x3f9)](_0x499888,_0x118989),_0x2bfaa5=this[_0x33f507(0x302)](_0x499888,_0x118989,_0x4a3867);if(_0x537397)return this['_updateRenderEmptyCache'](_0x584f97,_0x210fcd,_0x75c01a,_0x2bfaa5);{const _0x2768e9=_0xb75cad(_0x75c01a,_0xf585eb,!0x0),_0x4f6ad8=_0xf585eb[_0x33f507(0x43c)]>=0x0?_0xf585eb[_0x33f507(0x43c)]+0x1:0x0,_0x24e8e9=_0x5790d9[_0x33f507(0x32a)](),_0x16add6=_0x5790d9['getColCount'](),_0x4daad4=_0x2768e9[_0x33f507(0x41b)]>0x0?_0x251f85:0x0,_0x153c30=_0xb75cad({'row':_0x75c01a[_0x33f507(0x370)]+_0x4f6ad8+_0x4daad4,'col':_0x75c01a[_0x33f507(0x1de)]},_0x5790d9,!0x1,!0x1),_0x2f678a=_0xb75cad({'row':_0x75c01a[_0x33f507(0x370)]+_0x4f6ad8+_0x4daad4+_0x24e8e9,'col':_0x75c01a[_0x33f507(0x1de)]},_0x4474fb,!0x1,!0x0),_0x1b4378=_0xb75cad({'row':_0x75c01a['row']+_0x4f6ad8+_0x4daad4,'col':_0x75c01a['col']+_0x16add6},_0x5662ea,!0x1,!0x0),_0x20ec49=_0xb75cad({'row':_0x75c01a[_0x33f507(0x370)]+_0x4f6ad8+_0x4daad4+_0x24e8e9,'col':_0x75c01a['col']+_0x16add6},_0x25e481,!0x1,!0x1);_0x2bfaa5['rangesInfo']={'rowRanges':_0x2f678a,'colRanges':_0x1b4378,'cornerRanges':_0x153c30,'dataRanges':_0x20ec49,'pageRanges':_0x2768e9};const _0x15ae6a=_0x42cc31(this[_0x33f507(0x204)],_0x14ff97,_0x464649,this['_textInfo']),{valueMatrix:_0x1d2379,rowInfo:_0x70792,colInfo:_0x4d042e,cornerInfo:_0x5ddaa5,rowHeaderMap:_0x2349f7,colHeaderMap:_0x5a494e}=_0x15ae6a;return _0x2bfaa5[_0x33f507(0x381)]={'rowInfo':_0x70792,'colInfo':_0x4d042e,'cornerInfo':_0x5ddaa5},_0x2bfaa5[_0x33f507(0x318)]={'rowHeaderMap':_0x2349f7,'colHeaderMap':_0x5a494e},_0x1d2379[_0x33f507(0x443)]((_0x227bfd,_0x9279b2)=>{Object['keys'](_0x9279b2)['forEach'](_0x46fa39=>{const _0x2615cd=_0x4bfe,_0x1d0e34=+_0x46fa39,_0x21ec11=_0x1d2379['getValue'](_0x227bfd,_0x1d0e34);_0x210fcd[_0x2615cd(0x25f)](_0x227bfd,_0x1d0e34,_0x21ec11);});}),this['_viewUpdate$'][_0x33f507(0x47c)]({'unitId':_0x499888,'subUnitId':_0x118989,'valueMatrix':_0x210fcd,'rangesCache':_0x2bfaa5[_0x33f507(0x245)],'pivotTableId':_0x4a3867,'type':_0x584f97[_0x33f507(0x282)]}),this[_0x33f507(0x3cc)]['updateViewInfo'](_0x499888,_0x118989,_0x4a3867,_0x210fcd,_0x2bfaa5[_0x33f507(0x245)]),this[_0x33f507(0x2ea)][_0x33f507(0x21a)](_0x499888,_0x118989,_0x586e83,this[_0x33f507(0x1ab)](_0x2bfaa5[_0x33f507(0x245)],_0x4a3867)),{'rangeCache':_0x2bfaa5[_0x33f507(0x245)],'matrix':_0x210fcd};}}['_updateRenderEmptyCache'](_0x556a7c,_0x1ac276,_0x4326fd,_0x48d871){const _0xd950c8=_0x4483a8,_0xe759bd=this[_0xd950c8(0x498)]['t'],{unitId:_0x5deede,subUnitId:_0x3370e1,pivotTableId:_0x11c99f}=_0x556a7c,_0x1f1173={'filter':_0xe759bd('sheets-pivot.emptyPivot.filter'),'row':_0xe759bd(_0xd950c8(0x3fe)),'column':_0xe759bd('sheets-pivot.emptyPivot.column'),'values':_0xe759bd(_0xd950c8(0x23d))},{matrixCache:_0x546cad,rangesCache:_0x20ad96}=_0x594b6a(_0x1f1173,_0x4326fd);return _0x546cad[_0xd950c8(0x387)]((_0x44d8e2,_0x55d809,_0x20dcd2)=>{const _0x285109=_0xd950c8;_0x1ac276[_0x285109(0x25f)](_0x44d8e2,_0x55d809,_0x20dcd2);}),_0x48d871[_0xd950c8(0x245)]=_0x20ad96,this['_viewUpdate$'][_0xd950c8(0x47c)]({'unitId':_0x5deede,'subUnitId':_0x3370e1,'valueMatrix':_0x1ac276,'rangesCache':_0x20ad96,'pivotTableId':_0x11c99f,'type':_0x556a7c[_0xd950c8(0x282)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0xd950c8(0x481)](_0x5deede,_0x3370e1,_0x11c99f,_0x1ac276,_0x20ad96),this[_0xd950c8(0x2ea)][_0xd950c8(0x21a)](_0x5deede,_0x3370e1,_0x586e83,this[_0xd950c8(0x1ab)](_0x20ad96,_0x11c99f)),{'rangeCache':_0x48d871[_0xd950c8(0x245)],'matrix':_0x1ac276};}[_0x4483a8(0x1ab)](_0x13de7a,_0x5667cd){const _0x361f71=[],_0x5cf739=_0x18351d(_0x13de7a);for(const _0x158aef of _0x5cf739)_0x361f71['push']({'groupId':_0x5667cd,'range':_0x158aef});return _0x361f71;}[_0x4483a8(0x47b)](_0x352dfc){const _0x3134d7=_0x4483a8;var _0x88cdb0,_0x338f2c,_0x503e85,_0x29eb6d;const {pivotTableId:_0x13dcd8,unitId:_0x35b77a,subUnitId:_0x3b7723}=_0x352dfc;if(!_0x13dcd8||!_0x35b77a||!_0x3b7723)return;const _0x2f562b=this['_ensurePivotItemRenderValueMatrixCache'](_0x35b77a,_0x3b7723),_0x2fdb8f=(_0x338f2c=(_0x88cdb0=this[_0x3134d7(0x23b)][_0x3134d7(0x350)](_0x35b77a))==null?void 0x0:_0x88cdb0[_0x3134d7(0x350)](_0x3b7723))==null?void 0x0:_0x338f2c[_0x3134d7(0x350)](_0x13dcd8);if(_0x2fdb8f!=null&&_0x2fdb8f[_0x3134d7(0x245)]){for(const _0x2fa112 of Object[_0x3134d7(0x469)](_0x2fdb8f[_0x3134d7(0x245)]))_0x2fdb8f[_0x3134d7(0x245)][_0x2fa112][_0x3134d7(0x443)](_0x59d128=>{const _0x3f3154=_0x3134d7;for(let _0x4ee9dd=_0x59d128['startRow'];_0x4ee9dd<=_0x59d128['endRow'];_0x4ee9dd++)for(let _0x1b9220=_0x59d128[_0x3f3154(0x367)];_0x1b9220<=_0x59d128[_0x3f3154(0x287)];_0x1b9220++)_0x2f562b[_0x3f3154(0x188)](_0x4ee9dd,_0x1b9220);});}_0x2fdb8f&&((_0x29eb6d=(_0x503e85=this[_0x3134d7(0x23b)][_0x3134d7(0x350)](_0x35b77a))==null?void 0x0:_0x503e85[_0x3134d7(0x350)](_0x3b7723))==null||_0x29eb6d[_0x3134d7(0x33a)](_0x13dcd8)),this[_0x3134d7(0x3c2)][_0x3134d7(0x47c)]({'unitId':_0x35b77a,'subUnitId':_0x3b7723,'valueMatrix':_0x2f562b,'pivotTableId':_0x13dcd8,'rangesCache':void 0x0,'type':_0x352dfc[_0x3134d7(0x282)]}),this[_0x3134d7(0x2ea)][_0x3134d7(0x44d)](_0x35b77a,_0x3b7723,_0x586e83,_0x13dcd8);}[_0x4483a8(0x302)](_0x14014c,_0x32dee1,_0x17a2b4){const _0x568232=_0x4483a8;var _0x804a08,_0x1770e9,_0x580219,_0x5c6862,_0x491056,_0x28db66;return this[_0x568232(0x23b)]['has'](_0x14014c)||this[_0x568232(0x23b)]['set'](_0x14014c,new Map()),(_0x804a08=this['_pivotRenderInfoCache']['get'](_0x14014c))!=null&&_0x804a08[_0x568232(0x2f6)](_0x32dee1)||(_0x1770e9=this[_0x568232(0x23b)][_0x568232(0x350)](_0x14014c))==null||_0x1770e9[_0x568232(0x319)](_0x32dee1,new Map()),(_0x5c6862=(_0x580219=this[_0x568232(0x23b)]['get'](_0x14014c))==null?void 0x0:_0x580219[_0x568232(0x350)](_0x32dee1))!=null&&_0x5c6862[_0x568232(0x2f6)](_0x17a2b4)||(_0x28db66=(_0x491056=this[_0x568232(0x23b)][_0x568232(0x350)](_0x14014c))==null?void 0x0:_0x491056['get'](_0x32dee1))==null||_0x28db66[_0x568232(0x319)](_0x17a2b4,{}),this[_0x568232(0x23b)][_0x568232(0x350)](_0x14014c)['get'](_0x32dee1)['get'](_0x17a2b4);}['_ensurePivotItemRenderValueMatrixCache'](_0x2e2e5d,_0x1ea1ee){const _0xcfb6fd=_0x4483a8;var _0x1fd039,_0x1b0b3f;return this[_0xcfb6fd(0x224)][_0xcfb6fd(0x2f6)](_0x2e2e5d)||this[_0xcfb6fd(0x224)][_0xcfb6fd(0x319)](_0x2e2e5d,new Map()),(_0x1fd039=this[_0xcfb6fd(0x224)][_0xcfb6fd(0x350)](_0x2e2e5d))!=null&&_0x1fd039[_0xcfb6fd(0x2f6)](_0x1ea1ee)||(_0x1b0b3f=this[_0xcfb6fd(0x224)][_0xcfb6fd(0x350)](_0x2e2e5d))==null||_0x1b0b3f[_0xcfb6fd(0x319)](_0x1ea1ee,new _0x35bf85[(_0xcfb6fd(0x405))]()),this[_0xcfb6fd(0x224)][_0xcfb6fd(0x350)](_0x2e2e5d)['get'](_0x1ea1ee);}[_0x4483a8(0x38c)](_0x18aee2,_0x401c9b,_0x1b1c94,_0x4d3eaa){const _0x34f543=_0x4483a8;var _0x50c43f,_0x1e91eb;const _0x2bf78a=(_0x1e91eb=(_0x50c43f=this[_0x34f543(0x224)][_0x34f543(0x350)](_0x18aee2))==null?void 0x0:_0x50c43f['get'](_0x401c9b))==null?void 0x0:_0x1e91eb[_0x34f543(0x2db)](_0x1b1c94,_0x4d3eaa);if(_0x2bf78a!=null)return _0x2bf78a;}[_0x4483a8(0x228)](_0x5896db,_0x2d7d4e,_0x5c3b41,_0x47b5d3){const _0x2bd07f=_0x4483a8;var _0x13c6c5;const _0x585363=_0x35bf85[_0x2bd07f(0x252)](_0x5c3b41,_0x47b5d3),_0x3fed72=(_0x13c6c5=this[_0x2bd07f(0x23b)][_0x2bd07f(0x350)](_0x5896db))==null?void 0x0:_0x13c6c5[_0x2bd07f(0x350)](_0x2d7d4e);return _0x3fed72?Array[_0x2bd07f(0x23c)](_0x3fed72[_0x2bd07f(0x469)]())[_0x2bd07f(0x32c)](_0x2f7442=>{const _0x303ab8=_0x2bd07f,_0x16bb51=_0x3fed72[_0x303ab8(0x350)](_0x2f7442),_0x80182b=_0x16bb51==null?void 0x0:_0x16bb51['rangesInfo'];return _0x80182b?Object['keys'](_0x80182b)['some'](_0x346692=>_0x80182b[_0x346692][_0x303ab8(0x364)](_0x2cd923=>_0x35bf85[_0x303ab8(0x263)]['contains'](_0x2cd923,_0x585363))):!0x1;}):void 0x0;}[_0x4483a8(0x40c)](_0x54fd2c,_0x1833da,_0xc61ac7){const _0x25b443=_0x4483a8;var _0x342a5b;const _0x17bd6c=(_0x342a5b=this[_0x25b443(0x23b)][_0x25b443(0x350)](_0x54fd2c))==null?void 0x0:_0x342a5b[_0x25b443(0x350)](_0x1833da),_0x377353=[];return _0x17bd6c&&Array[_0x25b443(0x23c)](_0x17bd6c[_0x25b443(0x469)]())[_0x25b443(0x443)](_0x5a3f31=>{const _0x56db28=_0x25b443,_0xa3a08d=_0x17bd6c[_0x56db28(0x350)](_0x5a3f31),_0x41500e=_0xa3a08d==null?void 0x0:_0xa3a08d[_0x56db28(0x245)];if(_0x41500e)for(const _0x810d72 of Object[_0x56db28(0x46d)](_0x41500e)){let _0x245a64=!0x1;for(const _0x47eea4 of _0x810d72)if(_0x35bf85['Rectangle'][_0x56db28(0x1f1)](_0x47eea4,_0xc61ac7)){_0x377353['push'](_0x5a3f31),_0x245a64=!0x0;break;}if(_0x245a64)break;}}),_0x377353;}[_0x4483a8(0x433)](_0x5a4928,_0x2c423a){const _0x29e3a9=_0x4483a8;var _0x3d19a2,_0xcb0d1e;return(_0xcb0d1e=(_0x3d19a2=this[_0x29e3a9(0x224)][_0x29e3a9(0x350)](_0x5a4928))==null?void 0x0:_0x3d19a2[_0x29e3a9(0x350)](_0x2c423a))!=null?_0xcb0d1e:new _0x35bf85[(_0x29e3a9(0x405))]();}[_0x4483a8(0x346)](_0x39dc97,_0x2d9238){const _0xc98efa=_0x4483a8;var _0x53c676;return(_0x53c676=this[_0xc98efa(0x23b)][_0xc98efa(0x350)](_0x39dc97))==null?void 0x0:_0x53c676[_0xc98efa(0x350)](_0x2d9238);}[_0x4483a8(0x473)](_0x5abbac,_0x1e9183,_0x59c6a3){const _0x31fe53=_0x4483a8;var _0x5afafb,_0x20e833;return(_0x20e833=(_0x5afafb=this[_0x31fe53(0x23b)][_0x31fe53(0x350)](_0x5abbac))==null?void 0x0:_0x5afafb[_0x31fe53(0x350)](_0x1e9183))==null?void 0x0:_0x20e833[_0x31fe53(0x350)](_0x59c6a3);}['deleteUnitId'](_0x389e41){const _0x2425bf=_0x4483a8;this[_0x2425bf(0x23b)][_0x2425bf(0x33a)](_0x389e41),this['_pivotRenderValueMatrixCache'][_0x2425bf(0x33a)](_0x389e41);}[_0x4483a8(0x442)](_0x41283f,_0x2c8e91){const _0x13ed78=_0x4483a8;this[_0x13ed78(0x479)][_0x13ed78(0x47c)]({'unitId':_0x41283f,'subUnitId':_0x2c8e91});}},_0x5b9ff4[_0x4483a8(0x1c6)]=_0x1f3707([_0x330574(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85['LocaleService'])),_0x330574(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x4a4)])),_0x330574(0x2,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4[_0x4483a8(0x184)])),_0x330574(0x3,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x3fd)])),_0x330574(0x4,_0x35bf85[_0x4483a8(0x18c)](_0x4c8da1[_0x4483a8(0x441)]))],_0x5b9ff4['SheetsPivotTableAdaptorModel']);var _0x3a37c6=Object[_0x4483a8(0x284)],_0x6d5c8b=(_0x17a38b,_0x8e9b4a,_0x53cfff,_0x23ca65)=>{const _0x12cd2f=_0x4483a8;for(var _0x5b3d8c=_0x23ca65>0x1?void 0x0:_0x23ca65?_0x3a37c6(_0x8e9b4a,_0x53cfff):_0x8e9b4a,_0x120c89=_0x17a38b[_0x12cd2f(0x41b)]-0x1,_0x1a016b;_0x120c89>=0x0;_0x120c89--)(_0x1a016b=_0x17a38b[_0x120c89])&&(_0x5b3d8c=_0x1a016b(_0x5b3d8c)||_0x5b3d8c);return _0x5b3d8c;},_0x3d950e=(_0x3348eb,_0x27fa98)=>(_0x1d9867,_0x1b7a60)=>_0x27fa98(_0x1d9867,_0x1b7a60,_0x3348eb);_0x5b9ff4[_0x4483a8(0x18b)]=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x111dfb,_0x5d4f4a){const _0x147c41=_0x4483a8;super(),_0x209b81(this,_0x147c41(0x39f),new _0x35bf85['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x545cee})),_0x209b81(this,_0x147c41(0x46f),new _0x35bf85[(_0x147c41(0x190))]({'PIVOT_MUTATION_GENERATE':_0x2756d8})),(this[_0x147c41(0x3d2)]=_0x111dfb,this['_sheetsPivotTableAdaptorModel']=_0x5d4f4a,this[_0x147c41(0x3b4)]());}['_init'](){const _0xd6e227=_0x4483a8;this[_0xd6e227(0x19f)]();}[_0x4483a8(0x210)](_0x37ae94){const _0x154d8b=_0x4483a8;return this[_0x154d8b(0x39f)]['fetchThroughAsyncInterceptors'](_0x545cee)(!0x1,_0x37ae94);}[_0x4483a8(0x19f)](){const _0x947332=_0x4483a8;this[_0x947332(0x3e2)](this[_0x947332(0x3d2)][_0x947332(0x29c)](_0x4c8da1['INTERCEPTOR_POINT'][_0x947332(0x3a7)],{'priority':0xc8,'effect':_0x35bf85[_0x947332(0x420)][_0x947332(0x200)]|_0x35bf85['InterceptorEffectEnum'][_0x947332(0x1c9)],'handler':(_0xc328a7,_0x21e9f6,_0x44b3f3)=>{const _0x197a7d=_0x947332,{row:_0x5b0284,col:_0xc45c0e,unitId:_0x2426f3,subUnitId:_0xa0c7cb,workbook:_0x104e4f}=_0x21e9f6,_0x44d6db=this[_0x197a7d(0x331)][_0x197a7d(0x38c)](_0x2426f3,_0xa0c7cb,_0x5b0284,_0xc45c0e);if(!_0x44d6db)return _0x44b3f3(_0xc328a7);const _0x44b965={..._0xc328a7};(_0x44d6db['v']||_0x44d6db['v']===0x0)&&(_0x44b965['v']=_0x44d6db['v']),_0x44d6db['t']&&(_0x44b965['t']=_0x44d6db['t']);const _0x50a912=(typeof(_0xc328a7==null?void 0x0:_0xc328a7['s'])=='string'?_0x104e4f[_0x197a7d(0x244)]()[_0x197a7d(0x350)](_0xc328a7==null?void 0x0:_0xc328a7['s']):_0xc328a7==null?void 0x0:_0xc328a7['s'])||{},_0x4e1620=_0x104e4f[_0x197a7d(0x244)]()[_0x197a7d(0x350)](_0x44d6db['s']),_0x44571f={..._0x4e1620,..._0x50a912};_0x4e1620!=null&&_0x4e1620['n']&&(_0x44571f['n']=_0x4e1620['n']);const _0x2a5d46=_0x104e4f[_0x197a7d(0x244)]()[_0x197a7d(0x25f)](_0x44571f);return _0x44b965['s']=_0x2a5d46,(_0x44d6db[_0x197a7d(0x277)]===_0x3c6b65[_0x197a7d(0x44a)]['Collapse']||_0x44d6db[_0x197a7d(0x277)]===_0x3c6b65[_0x197a7d(0x44a)]['Expand'])&&(_0x44b965[_0x197a7d(0x406)]={},_0x44b965[_0x197a7d(0x406)][_0x197a7d(0x426)]=_0x405f49),_0x44b3f3(_0x44b965);}}));}},_0x5b9ff4['SheetsPivotTableService']=_0x6d5c8b([_0x3d950e(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x4c8da1[_0x4483a8(0x445)])),_0x3d950e(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4[_0x4483a8(0x1c6)]))],_0x5b9ff4[_0x4483a8(0x18b)]);function _0x34e0b1(_0x2de8b1,_0x2028fb){const _0x45e93e=_0x4483a8;switch(_0x2028fb){case _0x3c6b65['PivotTableFiledAreaEnum'][_0x45e93e(0x200)]:return _0x2de8b1[_0x45e93e(0x389)];case _0x3c6b65[_0x45e93e(0x309)]['Filter']:return _0x2de8b1[_0x45e93e(0x2a5)];case _0x3c6b65[_0x45e93e(0x309)][_0x45e93e(0x410)]:return _0x2de8b1[_0x45e93e(0x327)];case _0x3c6b65[_0x45e93e(0x309)][_0x45e93e(0x32f)]:return _0x2de8b1[_0x45e93e(0x47e)];default:return[];}}function _0x3d474a(_0xacf46b,_0xbc8dc1){const _0x40db85=_0x4483a8;return _0xacf46b[_0x40db85(0x2d9)][_0xbc8dc1]||_0xacf46b[_0x40db85(0x336)][_0xbc8dc1];}function _0x342912(_0x19f17e,_0x42f141){const _0xae4344=_0x4483a8,{area:_0x391e8e,fieldJson:_0x332690,index:_0x42a208}=_0x42f141;_0x391e8e===_0x3c6b65['PivotTableFiledAreaEnum'][_0xae4344(0x200)]?_0x19f17e['measure'][_0x332690['id']]=_0x332690:_0x19f17e[_0xae4344(0x336)][_0x332690['id']]=_0x332690,_0x34e0b1(_0x19f17e,_0x391e8e)['splice'](_0x42a208,0x0,_0x332690['id']);}function _0x4b1bfa(_0x132a27,_0x55d472){const _0x27b4c2=_0x4483a8,{area:_0x15a0b5,fieldId:_0x304f7b,index:_0x347f04}=_0x55d472;_0x15a0b5===_0x3c6b65[_0x27b4c2(0x309)][_0x27b4c2(0x200)]?delete _0x132a27['measure'][_0x304f7b]:delete _0x132a27[_0x27b4c2(0x336)][_0x304f7b],_0x34e0b1(_0x132a27,_0x15a0b5)[_0x27b4c2(0x45d)](_0x347f04,0x1);}function _0x3b022e(_0x48187c,_0x530e7e){const _0x3938e5=_0x4483a8,{fieldId:_0x1752fb,name:_0x50354f}=_0x530e7e,_0x538fea=_0x3d474a(_0x48187c,_0x1752fb);_0x538fea&&(_0x538fea[_0x3938e5(0x494)]=_0x50354f);}function _0x1261cb(_0x42a69d,_0x3a5583){const _0x5598f9=_0x4483a8,{fieldId:_0x34e273,collapse:_0x520f55,item:_0x2788bc}=_0x3a5583;_0x2788bc!==void 0x0?(_0x42a69d[_0x5598f9(0x221)][_0x34e273]=_0x42a69d[_0x5598f9(0x221)][_0x34e273]||{},_0x42a69d[_0x5598f9(0x221)][_0x34e273][_0x2788bc]=_0x520f55):_0x42a69d[_0x5598f9(0x221)][_0x34e273]=_0x520f55;}function _0x19f6bf(_0x1a6984,_0x23383c){const _0x3e85b3=_0x4483a8,{fieldId:_0x42c260,format:_0x1606e6}=_0x23383c,_0x42f04d=_0x3d474a(_0x1a6984,_0x42c260);_0x42f04d&&(_0x42f04d[_0x3e85b3(0x430)]=_0x1606e6);}function _0xbbb912(_0x1fc0b8,_0x550be2){const _0x416583=_0x4483a8,{fieldId:_0xba0b12,filterInfo:_0x2be165}=_0x550be2,_0xcb1961=_0x3d474a(_0x1fc0b8,_0xba0b12);_0xcb1961&&(_0xcb1961[_0x416583(0x213)]=_0x2be165);}function _0x5b9458(_0x39c6e5,_0x9ee93e){const _0x407d71=_0x4483a8,{fieldId:_0x1f589a,filterInfo:_0xd0dafc}=_0x9ee93e,_0x173e6f=_0x39c6e5[_0x407d71(0x379)][_0x407d71(0x3d5)](_0x4783a8=>_0x4783a8[_0x407d71(0x2ee)]!==_0x1f589a);_0xd0dafc&&_0x173e6f[_0x407d71(0x1a4)]({'fieldId':_0x1f589a,'filterInfo':_0xd0dafc}),_0x39c6e5['valueFilter']=_0x173e6f;}function _0x483e34(_0x4880dc,_0x2fc861){const _0x231c12=_0x4483a8,{fieldId:_0xde1425,subtotalType:_0x3db0a3}=_0x2fc861,_0x40b66c=_0x3d474a(_0x4880dc,_0xde1425);_0x40b66c&&(_0x40b66c[_0x231c12(0x193)]=_0x3db0a3);}function _0x4a4a14(_0xfd08bb,_0x4b7e31){const _0x22fdf3=_0x4483a8,{fieldId:_0x1b9489,oldArea:_0x5b0c92,area:_0x4e3237,oldIndex:_0x35fa7c,index:_0x52c398}=_0x4b7e31,_0x4a71aa=_0x5b0c92!==_0x3c6b65['PivotTableFiledAreaEnum'][_0x22fdf3(0x200)]&&_0x4e3237===_0x3c6b65[_0x22fdf3(0x309)][_0x22fdf3(0x200)],_0x36edd0=_0x5b0c92===_0x3c6b65[_0x22fdf3(0x309)][_0x22fdf3(0x200)]&&_0x4e3237!==_0x3c6b65[_0x22fdf3(0x309)][_0x22fdf3(0x200)];if(_0x4a71aa||_0x36edd0){const _0x775c7f=_0x3d474a(_0xfd08bb,_0x1b9489);_0x775c7f&&(_0x4a71aa?(delete _0xfd08bb[_0x22fdf3(0x336)][_0x1b9489],_0xfd08bb[_0x22fdf3(0x2d9)][_0x1b9489]=_0x775c7f):(delete _0xfd08bb[_0x22fdf3(0x2d9)][_0x1b9489],_0xfd08bb[_0x22fdf3(0x336)][_0x1b9489]=_0x775c7f));}const _0x170395=_0x34e0b1(_0xfd08bb,_0x5b0c92),_0x529f65=_0x34e0b1(_0xfd08bb,_0x4e3237);_0x170395[_0x22fdf3(0x45d)](_0x35fa7c,0x1),_0x529f65[_0x22fdf3(0x45d)](_0x52c398,0x0,_0x1b9489);}function _0x3b7431(_0x7028ed,_0x305fc1){const _0x224ae6=_0x4483a8,{valuePosition:_0x35a4cf,index:_0x44a61f}=_0x305fc1;_0x7028ed[_0x224ae6(0x478)]=_0x35a4cf,_0x7028ed[_0x224ae6(0x2b7)]=_0x44a61f;}function _0x256541(_0xb96f4f,_0x32bc1f){const _0x4e8c32=_0x4483a8,{tableFieldId:_0x504a21,sourceName:_0x414d36,dataFieldId:_0x4a5a3c}=_0x32bc1f,_0x4cb669=_0x3d474a(_0xb96f4f,_0x504a21);_0x4cb669&&(_0x4cb669[_0x4e8c32(0x2bc)]=_0x414d36,_0x4cb669['dataFieldId']=_0x4a5a3c);}function _0xe1ec26(_0x32118a,_0x26832f){const _0xa177c8=_0x4483a8,{fieldId:_0x30ae31,sortInfo:_0xbaa333}=_0x26832f,_0x4f8e6e=_0x3d474a(_0x32118a,_0x30ae31);_0x4f8e6e&&(_0x4f8e6e[_0xa177c8(0x40a)]=_0xbaa333);}function _0x128352(_0x13f639,_0xf6d049){const _0x2aa75e=_0x4483a8,{options:_0x444004}=_0xf6d049;_0x13f639[_0x2aa75e(0x267)]={..._0x13f639[_0x2aa75e(0x267)],..._0x444004};}const _0x239009={'type':_0x35bf85['CommandType']['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x396d39,_0x272352){const _0x2f2918=_0x4483a8;if(!_0x272352)return!0x1;if(!!_0x396d39[_0x2f2918(0x350)](_0x35bf85[_0x2f2918(0x1bb)])[_0x2f2918(0x2f9)](_0x27e988))return!0x0;const _0x1a1e05=_0x396d39[_0x2f2918(0x350)](_0x5b9ff4[_0x2f2918(0x3e0)]),{pivotTableId:_0x4f6a92,fieldJson:_0x40dda5,area:_0x40602c,index:_0x4b35e2,unitId:_0x3ed65b,subUnitId:_0x5d10d9}=_0x272352,_0x390c0c=_0x1a1e05[_0x2f2918(0x373)](_0x4f6a92);if(!_0x390c0c)return!0x1;let _0x46b9c3;_0x40602c===_0x3c6b65[_0x2f2918(0x309)][_0x2f2918(0x200)]?_0x46b9c3=_0x3c6b65[_0x2f2918(0x480)](_0x40dda5):_0x46b9c3=_0x3c6b65['createLabelField'](_0x40dda5),_0x390c0c[_0x2f2918(0x4a2)](_0x46b9c3,_0x40602c,_0x4b35e2);const _0x35fd21=_0x1a1e05[_0x2f2918(0x434)](_0x3ed65b,_0x5d10d9,_0x4f6a92);_0x342912(_0x35fd21,_0x272352);const _0x3194b3=_0x1a1e05['getPivotTableConfig'](_0x3ed65b,_0x5d10d9,_0x4f6a92);return _0x1a1e05[_0x2f2918(0x468)]({'unitId':_0x3ed65b,'subUnitId':_0x5d10d9,'token':_0x4f6a92,'type':_0x208bc1[_0x2f2918(0x1b9)],'pivotConfig':_0x3194b3}),!0x0;}},_0x547bf5={'type':_0x35bf85['CommandType'][_0x4483a8(0x266)],'id':_0x4483a8(0x2fd),'handler'(_0x561696,_0x7bd874){const _0x3a67c2=_0x4483a8;if(!_0x7bd874)return!0x1;if(!!_0x561696[_0x3a67c2(0x350)](_0x35bf85[_0x3a67c2(0x1bb)])['getConfig'](_0x27e988))return!0x0;const _0x4d60ee=_0x561696[_0x3a67c2(0x350)](_0x5b9ff4[_0x3a67c2(0x3e0)]),{pivotTableId:_0xaaef92,fieldId:_0x1ded90,unitId:_0x1ad0b5,subUnitId:_0x54d668}=_0x7bd874,_0x17c728=_0x4d60ee[_0x3a67c2(0x373)](_0xaaef92);if(!_0x17c728)return!0x1;_0x17c728[_0x3a67c2(0x1d1)](_0x1ded90);const _0x2e602c=_0x4d60ee['getPivotTableModelConfig'](_0x1ad0b5,_0x54d668,_0xaaef92);_0x4b1bfa(_0x2e602c,_0x7bd874);const _0xfd9877=_0x4d60ee[_0x3a67c2(0x30e)](_0x1ad0b5,_0x54d668,_0xaaef92);return _0x4d60ee[_0x3a67c2(0x468)]({'unitId':_0x1ad0b5,'subUnitId':_0x54d668,'token':_0xaaef92,'type':_0x208bc1[_0x3a67c2(0x1b9)],'pivotConfig':_0xfd9877}),!0x0;}},_0x1720f0={'type':_0x35bf85[_0x4483a8(0x4a6)]['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x3674e0,_0x4d4b0b){const _0xe70ed7=_0x4483a8;if(!_0x4d4b0b)return!0x1;if(!!_0x3674e0[_0xe70ed7(0x350)](_0x35bf85[_0xe70ed7(0x1bb)])[_0xe70ed7(0x2f9)](_0x27e988))return!0x0;const _0x51ec1d=_0x3674e0['get'](_0x5b9ff4['SheetsPivotDataSourceModel']),{unitId:_0x5a73ee,subUnitId:_0x2053f6,pivotTableId:_0xf57511,fieldId:_0x1b4e37,name:_0x5cde79}=_0x4d4b0b,_0x4dc48e=_0x51ec1d[_0xe70ed7(0x373)](_0xf57511);if(!_0x4dc48e)return!0x1;_0x4dc48e[_0xe70ed7(0x483)](_0x1b4e37,_0x5cde79);const _0x4f6f20=_0x51ec1d['getPivotTableModelConfig'](_0x5a73ee,_0x2053f6,_0xf57511);return _0x3b022e(_0x4f6f20,_0x4d4b0b),_0x51ec1d[_0xe70ed7(0x468)]({'unitId':_0x5a73ee,'subUnitId':_0x2053f6,'token':_0xf57511,'type':_0x208bc1[_0xe70ed7(0x1b9)]}),!0x0;}},_0x5782e5={'type':_0x35bf85[_0x4483a8(0x4a6)]['MUTATION'],'id':_0x4483a8(0x459),'handler'(_0x4212bb,_0x25d425){const _0x551a43=_0x4483a8;if(!_0x25d425)return!0x1;if(!!_0x4212bb[_0x551a43(0x350)](_0x35bf85['IConfigService'])[_0x551a43(0x2f9)](_0x27e988))return!0x0;const _0x29e19a=_0x4212bb[_0x551a43(0x350)](_0x5b9ff4[_0x551a43(0x3e0)]),{unitId:_0x372b43,subUnitId:_0x13f4cc,pivotTableId:_0x312d28,fieldId:_0x2f9e05,collapse:_0x2b286d,item:_0x4fb34c}=_0x25d425,_0x4ec88b=_0x29e19a[_0x551a43(0x373)](_0x312d28);if(!_0x4ec88b)return!0x1;_0x4ec88b[_0x551a43(0x3c5)](_0x2f9e05,_0x2b286d,_0x4fb34c);const _0x143010=_0x29e19a[_0x551a43(0x434)](_0x372b43,_0x13f4cc,_0x312d28);return _0x1261cb(_0x143010,_0x25d425),_0x29e19a[_0x551a43(0x468)]({'unitId':_0x372b43,'subUnitId':_0x13f4cc,'token':_0x312d28,'type':_0x208bc1['Set']}),!0x0;}},_0x15e789={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x3dd),'handler'(_0x258d94,_0xddf199){const _0x2b5b91=_0x4483a8;if(!_0xddf199)return!0x1;if(!!_0x258d94[_0x2b5b91(0x350)](_0x35bf85[_0x2b5b91(0x1bb)])[_0x2b5b91(0x2f9)](_0x27e988))return!0x0;const _0x5739ab=_0x258d94[_0x2b5b91(0x350)](_0x5b9ff4[_0x2b5b91(0x3e0)]),{unitId:_0x3e09dc,subUnitId:_0x469aed,pivotTableId:_0x187e08,fieldId:_0x51444d,format:_0x221b69}=_0xddf199,_0x4bcd8f=_0x5739ab['getPivotTableInstance'](_0x187e08);if(!_0x4bcd8f)return!0x1;_0x4bcd8f['setFieldFormat'](_0x51444d,_0x221b69);const _0x8261ea=_0x5739ab[_0x2b5b91(0x434)](_0x3e09dc,_0x469aed,_0x187e08);return _0x19f6bf(_0x8261ea,_0xddf199),_0x5739ab[_0x2b5b91(0x468)]({'unitId':_0x3e09dc,'subUnitId':_0x469aed,'token':_0x187e08,'type':_0x208bc1['Set']}),!0x0;}},_0x508b0b={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x380),'handler'(_0x196b1b,_0x43bf88){const _0x46d675=_0x4483a8;if(!_0x43bf88)return!0x1;if(!!_0x196b1b[_0x46d675(0x350)](_0x35bf85['IConfigService'])['getConfig'](_0x27e988))return!0x0;const _0x9fde23=_0x196b1b['get'](_0x5b9ff4[_0x46d675(0x3e0)]),{unitId:_0x448e15,subUnitId:_0x44f8c1,pivotTableId:_0x4aa472,fieldId:_0x4734bd,filterInfo:_0x4f73f9}=_0x43bf88,_0x11d8a6=_0x9fde23[_0x46d675(0x373)](_0x4aa472);if(!_0x11d8a6)return!0x1;_0x11d8a6[_0x46d675(0x361)](_0x4734bd,_0x4f73f9);const _0x108550=_0x9fde23[_0x46d675(0x434)](_0x448e15,_0x44f8c1,_0x4aa472);return _0xbbb912(_0x108550,_0x43bf88),_0x9fde23[_0x46d675(0x468)]({'unitId':_0x448e15,'subUnitId':_0x44f8c1,'token':_0x4aa472,'type':_0x208bc1[_0x46d675(0x1b9)]}),!0x0;}},_0x3889b3={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x343),'handler'(_0x1a2baf,_0x47be1a){const _0x42a2ca=_0x4483a8;if(!_0x47be1a)return!0x1;if(!!_0x1a2baf[_0x42a2ca(0x350)](_0x35bf85[_0x42a2ca(0x1bb)])[_0x42a2ca(0x2f9)](_0x27e988))return!0x0;const _0x591636=_0x1a2baf[_0x42a2ca(0x350)](_0x5b9ff4['SheetsPivotDataSourceModel']),{unitId:_0xd09da2,subUnitId:_0x50e314,pivotTableId:_0x544d78,options:_0x55f21c}=_0x47be1a,_0x19de99=_0x591636['getPivotTableInstance'](_0x544d78);if(!_0x19de99)return!0x1;_0x19de99['setOptions'](_0x55f21c);const _0x2790fe=_0x591636['getPivotTableModelConfig'](_0xd09da2,_0x50e314,_0x544d78);return _0x128352(_0x2790fe,_0x47be1a),_0x591636[_0x42a2ca(0x468)]({'unitId':_0xd09da2,'subUnitId':_0x50e314,'token':_0x544d78,'type':_0x208bc1[_0x42a2ca(0x1b9)]}),!0x0;}},_0x585f08={'type':_0x35bf85[_0x4483a8(0x4a6)]['MUTATION'],'id':_0x4483a8(0x306),'handler'(_0x40e667,_0x4bcab6){const _0x294647=_0x4483a8;if(!_0x4bcab6)return!0x1;if(!!_0x40e667[_0x294647(0x350)](_0x35bf85['IConfigService'])[_0x294647(0x2f9)](_0x27e988))return!0x0;const _0x59c903=_0x40e667[_0x294647(0x350)](_0x5b9ff4[_0x294647(0x3e0)]),{unitId:_0x4cf889,subUnitId:_0x2a903f,pivotTableId:_0x1c5aaf,sortInfo:_0x387e33,fieldId:_0x571ffa}=_0x4bcab6,_0x1bf025=_0x59c903[_0x294647(0x373)](_0x1c5aaf);if(!_0x1bf025)return!0x1;_0x1bf025[_0x294647(0x25c)](_0x571ffa,_0x387e33);const _0x56ca77=_0x59c903['getPivotTableModelConfig'](_0x4cf889,_0x2a903f,_0x1c5aaf);return _0xe1ec26(_0x56ca77,_0x4bcab6),_0x59c903[_0x294647(0x468)]({'unitId':_0x4cf889,'subUnitId':_0x2a903f,'token':_0x1c5aaf,'type':_0x208bc1[_0x294647(0x1b9)]}),!0x0;}},_0x432831={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x356),'handler'(_0x304cc5,_0x3fc08f){const _0x41b061=_0x4483a8;if(!_0x3fc08f)return!0x1;if(!!_0x304cc5['get'](_0x35bf85[_0x41b061(0x1bb)])[_0x41b061(0x2f9)](_0x27e988))return!0x0;const _0x5571a7=_0x304cc5[_0x41b061(0x350)](_0x5b9ff4[_0x41b061(0x3e0)]),{unitId:_0xece358,subUnitId:_0x10925d,pivotTableId:_0x545c5a,fieldId:_0x5e03d4,subtotalType:_0x35de8b}=_0x3fc08f,_0x537558=_0x5571a7[_0x41b061(0x373)](_0x545c5a);if(!_0x537558)return!0x1;_0x537558[_0x41b061(0x461)](_0x5e03d4,_0x35de8b);const _0x3e1b50=_0x5571a7[_0x41b061(0x434)](_0xece358,_0x10925d,_0x545c5a);return _0x483e34(_0x3e1b50,_0x3fc08f),_0x5571a7[_0x41b061(0x468)]({'unitId':_0xece358,'subUnitId':_0x10925d,'token':_0x545c5a,'type':_0x208bc1['Set']}),!0x0;}},_0x5e5e8a={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x359),'handler'(_0x4fadfb,_0x39709c){const _0x35963b=_0x4483a8;if(!_0x39709c)return!0x1;if(!!_0x4fadfb[_0x35963b(0x350)](_0x35bf85[_0x35963b(0x1bb)])[_0x35963b(0x2f9)](_0x27e988))return!0x0;const _0x114602=_0x4fadfb[_0x35963b(0x350)](_0x5b9ff4[_0x35963b(0x3e0)]),{unitId:_0x2f561c,subUnitId:_0x2d2824,pivotTableId:_0x4cec78,fieldId:_0x2c7ee6,filterInfo:_0x3ca3ae}=_0x39709c,_0x32cfbc=_0x114602[_0x35963b(0x373)](_0x4cec78);if(!_0x32cfbc)return!0x1;_0x32cfbc[_0x35963b(0x301)](_0x2c7ee6,_0x3ca3ae);const _0x177978=_0x114602['getPivotTableModelConfig'](_0x2f561c,_0x2d2824,_0x4cec78);return _0x5b9458(_0x177978,_0x39709c),_0x114602[_0x35963b(0x468)]({'unitId':_0x2f561c,'subUnitId':_0x2d2824,'token':_0x4cec78,'type':_0x208bc1[_0x35963b(0x1b9)]}),!0x0;}},_0x50fdbb={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x4a9),'handler'(_0xbcb5d3,_0x21a286){const _0x1a47cf=_0x4483a8;if(!_0x21a286)return!0x1;if(!!_0xbcb5d3[_0x1a47cf(0x350)](_0x35bf85[_0x1a47cf(0x1bb)])[_0x1a47cf(0x2f9)](_0x27e988))return!0x0;const _0x597f68=_0xbcb5d3[_0x1a47cf(0x350)](_0x5b9ff4[_0x1a47cf(0x3e0)]),{unitId:_0x15d643,subUnitId:_0x258c4c,pivotTableId:_0x4e7cea,area:_0x59ad80,index:_0x1b3ca8,fieldId:_0x147708}=_0x21a286,_0xdcbe9=_0x597f68[_0x1a47cf(0x373)](_0x4e7cea);if(!_0xdcbe9)return!0x1;_0xdcbe9[_0x1a47cf(0x1d2)](_0x147708,_0x59ad80,_0x1b3ca8);const _0x50a354=_0x597f68[_0x1a47cf(0x434)](_0x15d643,_0x258c4c,_0x4e7cea);return _0x4a4a14(_0x50a354,_0x21a286),_0x597f68[_0x1a47cf(0x468)]({'unitId':_0x15d643,'subUnitId':_0x258c4c,'token':_0x4e7cea,'type':_0x208bc1[_0x1a47cf(0x1b9)]}),!0x0;}},_0x25c215={'type':_0x35bf85[_0x4483a8(0x4a6)]['MUTATION'],'id':_0x4483a8(0x1f2),'handler'(_0x2fae7d,_0x39b9c2){const _0x1d8788=_0x4483a8;if(!_0x39b9c2)return!0x1;if(!!_0x2fae7d[_0x1d8788(0x350)](_0x35bf85[_0x1d8788(0x1bb)])[_0x1d8788(0x2f9)](_0x27e988))return!0x0;const _0x2bf220=_0x2fae7d[_0x1d8788(0x350)](_0x5b9ff4[_0x1d8788(0x3e0)]),{unitId:_0x5dd5eb,subUnitId:_0x480455,pivotTableId:_0x48c69d,sourceName:_0x43d9ca,dataFieldId:_0x49f066,tableFieldId:_0xe50eb1}=_0x39b9c2,_0x2bddce=_0x2bf220[_0x1d8788(0x373)](_0x48c69d);if(!_0x2bddce)return!0x1;_0x2bddce[_0x1d8788(0x264)](_0xe50eb1,_0x43d9ca,_0x49f066);const _0x12be92=_0x2bf220[_0x1d8788(0x434)](_0x5dd5eb,_0x480455,_0x48c69d);return _0x256541(_0x12be92,_0x39b9c2),_0x2bf220[_0x1d8788(0x468)]({'unitId':_0x5dd5eb,'subUnitId':_0x480455,'token':_0x48c69d,'type':_0x208bc1['Set']}),!0x0;}},_0x1afcc3={'type':_0x35bf85['CommandType'][_0x4483a8(0x266)],'id':_0x4483a8(0x444),'handler'(_0x1698a8,_0x33a358){const _0x14545=_0x4483a8;if(!_0x33a358)return!0x1;if(!!_0x1698a8[_0x14545(0x350)](_0x35bf85[_0x14545(0x1bb)])[_0x14545(0x2f9)](_0x27e988))return!0x0;const _0x5ca106=_0x1698a8['get'](_0x5b9ff4[_0x14545(0x3e0)]),{unitId:_0x35d840,subUnitId:_0x5dd8ff,pivotTableId:_0x1ba53d,valuePosition:_0x2b542a,index:_0x5081c5}=_0x33a358,_0x1ff661=_0x5ca106['getPivotTableInstance'](_0x1ba53d);if(!_0x1ff661)return!0x1;_0x1ff661[_0x14545(0x2fc)](_0x2b542a,_0x5081c5);const _0x1d80d7=_0x5ca106['getPivotTableModelConfig'](_0x35d840,_0x5dd8ff,_0x1ba53d);return _0x3b7431(_0x1d80d7,_0x33a358),_0x5ca106['addDirtyPivotTable']({'unitId':_0x35d840,'subUnitId':_0x5dd8ff,'token':_0x1ba53d,'type':_0x208bc1[_0x14545(0x1b9)]}),!0x0;}};function _0x1fd707(_0x446cb7,_0x2d5e1a,_0x14d63f){const _0x4d5b5e=_0x4483a8,{pivotTableId:_0x4882a2,unitId:_0x826076,subUnitId:_0x234e27}=_0x2d5e1a,_0x541f49=[],_0x5d7ff7=[];for(const _0x3b7a28 of _0x14d63f)switch(_0x3b7a28[_0x4d5b5e(0x282)]){case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x189)]:{const {fieldJson:_0x3eb9cc,area:_0x1e1396,index:_0x477b26}=_0x3b7a28,_0x32b255={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldJson':_0x3eb9cc,'area':_0x1e1396,'index':_0x477b26},_0x1576e1={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x3eb9cc['id'],'area':_0x1e1396,'index':_0x477b26};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x239009['id'],'params':_0x32b255}),_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x547bf5['id'],'params':_0x1576e1});}break;case _0x3c6b65['PivotTableChangeTypeEnum'][_0x4d5b5e(0x2fe)]:{const {fieldId:_0x2da7fe,newSubtotalType:_0x4bf96c,oldSubtotalType:_0x1ff13a}=_0x3b7a28,_0xf86e4f={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x2da7fe,'subtotalType':_0x4bf96c};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x432831['id'],'params':_0xf86e4f});const _0x160953={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x2da7fe,'subtotalType':_0x1ff13a};_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x432831['id'],'params':_0x160953});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x295)]:{const {fieldId:_0x1727e4,fieldJson:_0x2f6d79,area:_0x2ca9f5,index:_0xd896ae}=_0x3b7a28,_0x5186ba={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x1727e4,'index':_0xd896ae,'area':_0x2ca9f5};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x547bf5['id'],'params':_0x5186ba});const _0x10c164={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldJson':_0x2f6d79,'area':_0x2ca9f5,'index':_0xd896ae};_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x239009['id'],'params':_0x10c164});}break;case _0x3c6b65[_0x4d5b5e(0x352)]['RenameField']:{const {fieldId:_0x916c50,oldName:_0x426f6a,newName:_0x681da2}=_0x3b7a28,_0x4e950e={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x916c50,'name':_0x681da2};_0x541f49['push']({'id':_0x1720f0['id'],'params':_0x4e950e});const _0x3bd135={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x916c50,'name':_0x426f6a};_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x1720f0['id'],'params':_0x3bd135});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x36d)]:{const {fieldId:_0x5b3be7,oldFilterInfo:_0x55818a,newFilterInfo:_0x2908e6}=_0x3b7a28,_0x3ea980={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5b3be7,'filterInfo':_0x2908e6};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x508b0b['id'],'params':_0x3ea980});const _0x1bdc6a={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5b3be7,'filterInfo':_0x55818a};_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x508b0b['id'],'params':_0x1bdc6a});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x181)]:{const {fieldId:_0x5dc498,oldSortInfo:_0x1ed7a0,newSortInfo:_0x132cac}=_0x3b7a28,_0x9e4099={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5dc498,'sortInfo':_0x132cac};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x585f08['id'],'params':_0x9e4099});const _0x314688={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5dc498,'sortInfo':_0x1ed7a0};_0x5d7ff7['unshift']({'id':_0x585f08['id'],'params':_0x314688});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x1e4)]:{const {oldOptions:_0x4b152b,newOptions:_0xb64e34}=_0x3b7a28,_0x2a6dd8={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'options':_0xb64e34};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x3889b3['id'],'params':_0x2a6dd8});const _0x4a8ad5={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'options':_0x4b152b};_0x5d7ff7['unshift']({'id':_0x3889b3['id'],'params':_0x4a8ad5});}break;case _0x3c6b65[_0x4d5b5e(0x352)]['UpdateFieldPosition']:{const {oldArea:_0x21151a,newArea:_0x545b6c,oldIndex:_0x59c54d,newIndex:_0x13f37b,fieldId:_0x37eb22}=_0x3b7a28,_0x15515a={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x37eb22,'area':_0x545b6c,'index':_0x13f37b,'oldArea':_0x21151a,'oldIndex':_0x59c54d};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x50fdbb['id'],'params':_0x15515a});const _0xb9b013={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x37eb22,'area':_0x21151a,'index':_0x59c54d,'oldArea':_0x545b6c,'oldIndex':_0x13f37b};_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x50fdbb['id'],'params':_0xb9b013});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x18a)]:{const {oldValuePosition:_0x440b95,newValuePosition:_0x55097c,oldIndex:_0x41ed7f,newIndex:_0xab6e98}=_0x3b7a28,_0x1d3d5c={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'valuePosition':_0x55097c,'index':_0xab6e98};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x1afcc3['id'],'params':_0x1d3d5c});const _0x4c8cee={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'valuePosition':_0x440b95,'index':_0x41ed7f};_0x5d7ff7['unshift']({'id':_0x1afcc3['id'],'params':_0x4c8cee});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x2d2)]:{const {fieldId:_0x5682fd,collapse:_0x538ef4,item:_0x1f58de}=_0x3b7a28,_0xead975={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5682fd,'collapse':_0x538ef4,'item':_0x1f58de};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x5782e5['id'],'params':_0xead975});const _0x47b250={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5682fd,'collapse':!_0x538ef4,'item':_0x1f58de};_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x5782e5['id'],'params':_0x47b250});}break;case _0x3c6b65['PivotTableChangeTypeEnum'][_0x4d5b5e(0x23f)]:{const {newFormat:_0x245a9f,oldFormat:_0x12dc9f,fieldId:_0x40426c}=_0x3b7a28,_0xccf249={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x40426c,'format':_0x245a9f};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x15e789['id'],'params':_0xccf249});const _0x5bed02={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x40426c,'format':_0x12dc9f};_0x5d7ff7['unshift']({'id':_0x15e789['id'],'params':_0x5bed02});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x250)]:{const {tableFieldId:_0x3b93cc,oldSourceName:_0x252244,newSourceName:_0x66d003,oldDataFieldId:_0x3e1e69,newDataFieldId:_0x1b2985}=_0x3b7a28,_0x21fe50={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'tableFieldId':_0x3b93cc,'sourceName':_0x66d003,'dataFieldId':_0x1b2985};_0x541f49['push']({'id':_0x25c215['id'],'params':_0x21fe50});const _0x16d087={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'tableFieldId':_0x3b93cc,'sourceName':_0x252244,'dataFieldId':_0x3e1e69};_0x5d7ff7[_0x4d5b5e(0x354)]({'id':_0x25c215['id'],'params':_0x16d087});}break;case _0x3c6b65[_0x4d5b5e(0x352)][_0x4d5b5e(0x24f)]:{const {fieldId:_0x5117e5,filterInfo:_0x4bbba4,oldFilterInfo:_0x357b3b}=_0x3b7a28,_0x28ccbe={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5117e5,'filterInfo':_0x4bbba4};_0x541f49[_0x4d5b5e(0x1a4)]({'id':_0x5e5e8a['id'],'params':_0x28ccbe});const _0x466f82={'unitId':_0x826076,'subUnitId':_0x234e27,'pivotTableId':_0x4882a2,'fieldId':_0x5117e5,'filterInfo':_0x357b3b};_0x5d7ff7['unshift']({'id':_0x5e5e8a['id'],'params':_0x466f82});}}return{'redos':_0x541f49,'undos':_0x5d7ff7};}function _0x3c79d0(_0x5c4157,_0x5157ca){const _0x30a01e=_0x4483a8;var _0x521dbb;const _0x2cb8fc=_0x5c4157[_0x30a01e(0x350)](_0x5b9ff4[_0x30a01e(0x18b)]),{cellInfo:_0x417b43,view:_0x4fd196,isEmpty:_0x54cfbc}=_0x5157ca;return(_0x521dbb=_0x2cb8fc[_0x30a01e(0x46f)][_0x30a01e(0x1c3)](_0x2756d8)(_0x47af3a,{'cellInfo':_0x417b43,'view':_0x4fd196,'isEmpty':_0x54cfbc}))!=null?_0x521dbb:_0x47af3a;}const _0x17efb0=()=>typeof process<'u'&&process[_0x4483a8(0x21b)]!=null&&process[_0x4483a8(0x21b)]['node']!=null,_0x35d3e5={'type':_0x35bf85['CommandType']['MUTATION'],'id':_0x4483a8(0x3e6),'handler'(_0x315f35,_0x53aa5d){const _0xdf444c=_0x4483a8;var _0x3d0d04;if(!_0x53aa5d)return!0x1;const _0x41f5a6=_0x315f35[_0xdf444c(0x350)](_0x35bf85[_0xdf444c(0x1bb)]);if(!!_0x41f5a6[_0xdf444c(0x2f9)](_0x27e988))return!0x0;const _0xb843dc=_0x315f35[_0xdf444c(0x350)](_0x35bf85[_0xdf444c(0x3fd)]),_0x57ee63=_0x315f35['get'](_0x5b9ff4['SheetsPivotDataSourceModel']),{pivotTableId:_0x3b985b,pivotTableConfig:_0x2f0cbf,collectionConfig:_0x2234af,unitId:_0x1e8837,subUnitId:_0x247188}=_0x53aa5d,{sourceRangeInfo:_0x30dfd,fieldsConfig:_0x5b95b1,targetCellInfo:_0x51d936}=_0x2f0cbf,_0x57afe1=_0xb843dc[_0xdf444c(0x4ab)](_0x1e8837);if(!_0x57afe1||!_0x57afe1[_0xdf444c(0x29f)](_0x247188))return!0x1;if(!_0x17efb0()){let _0x338b5a=0x0;_0x57afe1[_0xdf444c(0x2b3)]()[_0xdf444c(0x443)](_0x46e266=>{var _0x3b0718,_0x2a35d9;_0x338b5a+=(_0x2a35d9=(_0x3b0718=_0x57ee63['getSubUnitPivotConfigs'](_0x1e8837,_0x46e266['getSheetId']()))==null?void 0x0:_0x3b0718['size'])!=null?_0x2a35d9:0x0;});const _0x57aae3=(_0x3d0d04=_0x41f5a6[_0xdf444c(0x2f9)](_0x22ffe5['LS_CONFIG_KEY']))!=null?_0x3d0d04:{},{ls:_0xe90be7,pbk:_0x29bd8f}=_0x57aae3;if(!_0x4c9df0(_0xe90be7,_0x29bd8f))throw new _0x35bf85[(_0xdf444c(0x3ba))](_0xdf444c(0x3fa));const _0x171005=_0x4d830e(_0x137536,_0xe90be7,_0x29bd8f)[_0xdf444c(0x328)];if(_0x338b5a>=_0x171005)throw new _0x35bf85[(_0xdf444c(0x3ba))](_0xdf444c(0x3fa));}if(!_0x2234af||!_0x5b95b1)return!0x1;const {collection:_0x2b7296,updateDataFieldList:_0x3f09e0}=_0x57ee63[_0xdf444c(0x37e)](_0x3b985b,_0x2234af,_0x30dfd,_0x51d936);_0x57ee63[_0xdf444c(0x1f6)](_0x2b7296,_0x3f09e0,_0x30dfd);const _0x4868b1=new _0x3c6b65['PivotTable'](_0x2b7296,void 0x0,_0x3b985b);_0x4868b1[_0xdf444c(0x38f)](_0x5b95b1);const _0x47df0c=JSON[_0xdf444c(0x1ea)](JSON[_0xdf444c(0x304)](_0x2f0cbf));return _0x57ee63[_0xdf444c(0x34a)](_0x1e8837,_0x247188,_0x3b985b,_0x4868b1,_0x47df0c),_0x57ee63[_0xdf444c(0x468)]({'unitId':_0x1e8837,'subUnitId':_0x247188,'token':_0x3b985b,'type':_0x208bc1['Add'],'pivotConfig':_0x47df0c}),!0x0;}},_0xcb954c={'type':_0x35bf85['CommandType'][_0x4483a8(0x266)],'id':_0x4483a8(0x23e),'handler'(_0x221fba,_0x216b76){const _0x48b17d=_0x4483a8;if(!_0x216b76)return!0x1;if(!!_0x221fba['get'](_0x35bf85[_0x48b17d(0x1bb)])[_0x48b17d(0x2f9)](_0x27e988))return!0x0;const {pivotTableId:_0x56333d,unitId:_0x3c072d,subUnitId:_0x29ee8a}=_0x216b76,_0x57f985=_0x221fba[_0x48b17d(0x350)](_0x5b9ff4[_0x48b17d(0x3e0)]);return _0x57f985[_0x48b17d(0x30e)](_0x3c072d,_0x29ee8a,_0x56333d)?(_0x57f985[_0x48b17d(0x468)]({'unitId':_0x3c072d,'subUnitId':_0x29ee8a,'token':_0x56333d,'type':_0x208bc1[_0x48b17d(0x3ce)]}),_0x57f985['removePivotTable'](_0x3c072d,_0x29ee8a,_0x56333d),!0x0):!0x1;}},_0x47268d={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x372),'handler'(_0x411db2,_0x2f651b){const _0x3223d2=_0x4483a8;if(!_0x2f651b)return!0x1;if(!!_0x411db2[_0x3223d2(0x350)](_0x35bf85[_0x3223d2(0x1bb)])[_0x3223d2(0x2f9)](_0x27e988))return!0x0;const {pivotTableId:_0x55c27d,targetCellPosition:_0x106a2c,unitId:_0x54b4ae,subUnitId:_0x13d105}=_0x2f651b,_0x4654ff=_0x411db2[_0x3223d2(0x350)](_0x5b9ff4[_0x3223d2(0x3e0)]);if(!_0x4654ff[_0x3223d2(0x373)](_0x2f651b['pivotTableId']))return!0x1;const _0x1acaae=_0x4654ff[_0x3223d2(0x251)](_0x55c27d);if(!_0x1acaae)return!0x1;const _0x5e59dc=_0x4654ff['getCollection'](_0x1acaae[_0x3223d2(0x2ef)],_0x2f651b[_0x3223d2(0x230)]);if(!_0x5e59dc)return!0x1;const _0x3dbb7d=_0x4654ff[_0x3223d2(0x30e)](_0x1acaae[_0x3223d2(0x2ef)],_0x1acaae[_0x3223d2(0x1cb)],_0x55c27d);if(!_0x3dbb7d)return!0x1;const _0x269af2=_0x35bf85[_0x3223d2(0x1c8)]['deepClone'](_0x3dbb7d);_0x269af2[_0x3223d2(0x344)]={'unitId':_0x54b4ae,'subUnitId':_0x13d105,'row':_0x106a2c['row'],'col':_0x106a2c[_0x3223d2(0x1de)]};const _0x4ff2b5=_0x5e59dc[_0x3223d2(0x2a8)]();if(_0x1acaae[_0x3223d2(0x1cb)]===_0x13d105&&_0x1acaae[_0x3223d2(0x2ef)]===_0x54b4ae)_0x4654ff['setPivotTable'](_0x54b4ae,_0x13d105,_0x55c27d,_0x269af2),_0x4654ff['addDirtyPivotTable']({'unitId':_0x54b4ae,'subUnitId':_0x13d105,'token':_0x55c27d,'type':_0x208bc1[_0x3223d2(0x1b9)]});else{_0x4654ff[_0x3223d2(0x468)]({'unitId':_0x1acaae[_0x3223d2(0x2ef)],'subUnitId':_0x1acaae[_0x3223d2(0x1cb)],'token':_0x55c27d,'type':_0x208bc1['Delete']}),_0x4654ff[_0x3223d2(0x48b)](_0x1acaae[_0x3223d2(0x2ef)],_0x1acaae[_0x3223d2(0x1cb)],_0x55c27d);const _0x2eb54b=_0x4654ff[_0x3223d2(0x37e)](_0x55c27d,_0x4ff2b5,_0x3dbb7d[_0x3223d2(0x30c)],_0x269af2[_0x3223d2(0x344)]),_0x373307=new _0x3c6b65[(_0x3223d2(0x25a))](_0x2eb54b[_0x3223d2(0x2aa)],void 0x0,_0x55c27d);_0x373307[_0x3223d2(0x38f)](_0x269af2[_0x3223d2(0x1b6)]),_0x4654ff[_0x3223d2(0x34a)](_0x54b4ae,_0x13d105,_0x55c27d,_0x373307,_0x269af2),_0x4654ff['addDirtyPivotTable']({'unitId':_0x54b4ae,'subUnitId':_0x13d105,'token':_0x55c27d,'type':_0x208bc1[_0x3223d2(0x25d)],'pivotConfig':_0x269af2});}return!0x0;}},_0x102f4b={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x35e),'handler'(_0x2ceed5,_0x4f9faa){const _0x4a8d76=_0x4483a8;if(!_0x4f9faa)return!0x1;if(!!_0x2ceed5[_0x4a8d76(0x350)](_0x35bf85[_0x4a8d76(0x1bb)])[_0x4a8d76(0x2f9)](_0x27e988))return!0x0;const _0x2dffd5=_0x2ceed5[_0x4a8d76(0x350)](_0x5b9ff4[_0x4a8d76(0x3e0)]),{pivotTableId:_0x32b269,deleteIds:_0x55730a,collectionJSON:_0x4431e1,dataRangeInfo:_0x2b3dfc,unitId:_0x30d5e8,subUnitId:_0x38aa88}=_0x4f9faa,_0x390d7c=_0x2dffd5[_0x4a8d76(0x373)](_0x32b269),_0x54c0f2=_0x2dffd5[_0x4a8d76(0x30e)](_0x30d5e8,_0x38aa88,_0x32b269);if(!_0x390d7c||!_0x54c0f2)return!0x1;const {collection:_0x564584,updateDataFieldList:_0x52c110}=_0x2dffd5['addCollectionByJSON'](_0x32b269,_0x4431e1,_0x2b3dfc,_0x54c0f2[_0x4a8d76(0x344)]);_0x2dffd5[_0x4a8d76(0x1f6)](_0x564584,_0x52c110,_0x2b3dfc),_0x390d7c[_0x4a8d76(0x3b9)](_0x564584);for(const _0x30bc55 of _0x55730a)_0x2dffd5['removeDataField'](_0x2b3dfc[_0x4a8d76(0x2ef)],_0x30bc55);const _0x1eeb55=_0x2dffd5[_0x4a8d76(0x30e)](_0x30d5e8,_0x38aa88,_0x32b269);return _0x1eeb55[_0x4a8d76(0x30c)]=JSON['parse'](JSON[_0x4a8d76(0x304)](_0x2b3dfc)),_0x2dffd5['addDirtyPivotTable']({'unitId':_0x30d5e8,'subUnitId':_0x38aa88,'token':_0x32b269,'type':_0x208bc1[_0x4a8d76(0x1b9)]}),!0x0;}},_0x1ad55d={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'id':_0x4483a8(0x285),'handler'(){return!0x0;}};var _0x516ad0=Object[_0x4483a8(0x284)],_0x14d306=(_0x35519c,_0x5748be,_0x3ac934,_0x2c36d1)=>{for(var _0x3ef7ec=_0x2c36d1>0x1?void 0x0:_0x2c36d1?_0x516ad0(_0x5748be,_0x3ac934):_0x5748be,_0x5294f7=_0x35519c['length']-0x1,_0x1d867b;_0x5294f7>=0x0;_0x5294f7--)(_0x1d867b=_0x35519c[_0x5294f7])&&(_0x3ef7ec=_0x1d867b(_0x3ef7ec)||_0x3ef7ec);return _0x3ef7ec;},_0x49f65c=(_0xd32f18,_0x2914c6)=>(_0x37e6f6,_0x101f6c)=>_0x2914c6(_0x37e6f6,_0x101f6c,_0xd32f18);_0x5b9ff4[_0x4483a8(0x23a)]=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x2934c0,_0x399680){const _0x116215=_0x4483a8;super(),_0x209b81(this,_0x116215(0x1e6),new Map()),(this['_injector']=_0x2934c0,this['_commandService']=_0x399680);}[_0x4483a8(0x2ec)](_0x390274){const _0x37f170=_0x4483a8,{version:_0x21b2a6}=_0x390274,_0x27a35b=this[_0x37f170(0x1e6)][_0x37f170(0x350)](_0x21b2a6);_0x27a35b&&(_0x27a35b(_0x390274),this[_0x37f170(0x1e6)][_0x37f170(0x33a)](_0x21b2a6));}['getPivotDisplayConfig'](_0x418d88){return new Promise((_0xb16d26,_0x512f94)=>{const _0x40d666=_0x4bfe,_0x577eb1=this['_generateUniqueVersion']();this[_0x40d666(0x1e6)][_0x40d666(0x319)](_0x577eb1,_0xb16d26),this[_0x40d666(0x1a3)][_0x40d666(0x2f8)](_0x5ab2e3['id'],{'version':_0x577eb1,..._0x418d88},{'onlyLocal':!0x0});});}[_0x4483a8(0x240)](){const _0x16a6a9=_0x4483a8;return Math[_0x16a6a9(0x31d)]()[_0x16a6a9(0x44b)](0x24)[_0x16a6a9(0x37c)](0x2,0x10);}},_0x5b9ff4[_0x4483a8(0x23a)]=_0x14d306([_0x49f65c(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x4a4)])),_0x49f65c(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x3cd)]))],_0x5b9ff4[_0x4483a8(0x23a)]);const _0xa2030={'id':_0x4483a8(0x258),'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'handler':(_0xfcf0d2,_0x299a13)=>{const _0x5ed891=_0x4483a8;if(!_0x299a13)return!0x1;if(!!_0xfcf0d2[_0x5ed891(0x350)](_0x35bf85['IConfigService'])['getConfig'](_0x27e988))return!0x0;const {pivotTableId:_0x1f4b35,fieldJSON:_0x1587f9,unitId:_0x13773a,subUnitId:_0x506ac1}=_0x299a13,_0x3784a0=_0x3c6b65[_0x5ed891(0x3ec)]['fromJSON'](_0x1587f9);if(!_0x3784a0)return!0x1;const _0xa794d0=_0xfcf0d2[_0x5ed891(0x350)](_0x5b9ff4[_0x5ed891(0x3e0)]),_0x5ebf42=_0xa794d0[_0x5ed891(0x31f)](_0x13773a),_0x1a07f3=_0x5ebf42[_0x5ed891(0x3d3)](_0x1f4b35);_0x5ebf42['addDataFieldWithoutUnitInfo'](_0x3784a0),_0x1a07f3[_0x5ed891(0x4a2)](_0x3784a0[_0x5ed891(0x3a8)](),_0x3784a0['getName']());const _0x187b2b=_0x1a07f3[_0x5ed891(0x2b1)](_0x3784a0['getOriginFieldId']());_0x187b2b&&_0x3784a0[_0x5ed891(0x2e8)](_0x187b2b);const _0x33a093=_0xa794d0['getPivotTableConfig'](_0x13773a,_0x506ac1,_0x1f4b35);return _0xa794d0[_0x5ed891(0x468)]({'unitId':_0x13773a,'subUnitId':_0x506ac1,'token':_0x1f4b35,'type':_0x208bc1[_0x5ed891(0x1b9)],'pivotConfig':_0x33a093}),!0x0;}},_0x57e339={'id':_0x4483a8(0x395),'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'handler':(_0x37a048,_0x495567)=>{const _0x36cfe3=_0x4483a8;if(!_0x495567)return!0x1;if(!!_0x37a048[_0x36cfe3(0x350)](_0x35bf85[_0x36cfe3(0x1bb)])['getConfig'](_0x27e988))return!0x0;const {pivotTableId:_0x1b1aa6,dataFieldId:_0x861db7,unitId:_0x58dec5,subUnitId:_0xd4d5c1}=_0x495567,_0x5ccca5=_0x37a048[_0x36cfe3(0x350)](_0x5b9ff4['SheetsPivotDataSourceModel']),_0xf44e8a=_0x5ccca5[_0x36cfe3(0x31f)](_0x58dec5);_0xf44e8a[_0x36cfe3(0x3d3)](_0x1b1aa6)['deleteField'](_0x861db7);let _0x42929a=!0x0;for(const _0x4e9ca7 in _0xf44e8a[_0x36cfe3(0x332)])if(_0xf44e8a[_0x36cfe3(0x332)][_0x4e9ca7][_0x36cfe3(0x36a)]()['includes'](_0x861db7)){_0x42929a=!0x1;break;}_0x42929a&&_0xf44e8a[_0x36cfe3(0x38d)](_0x861db7);const _0x269720=_0x5ccca5['getPivotTableConfig'](_0x58dec5,_0xd4d5c1,_0x1b1aa6);return _0x5ccca5[_0x36cfe3(0x468)]({'unitId':_0x58dec5,'subUnitId':_0xd4d5c1,'token':_0x1b1aa6,'type':_0x208bc1[_0x36cfe3(0x1b9)],'pivotConfig':_0x269720}),!0x0;}},_0x23c913={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'id':_0x4483a8(0x3d6),async 'handler'(_0x5024cd,_0x1bec04){const _0xccab38=_0x4483a8;if(!_0x1bec04)return!0x1;const _0x5786fd=_0x5024cd[_0xccab38(0x350)](_0x35bf85[_0xccab38(0x3cd)]),_0x233345=_0x5024cd['get'](_0x5b9ff4['SheetsPivotRPCService']),_0x10776e=_0x5024cd[_0xccab38(0x350)](_0x35bf85[_0xccab38(0x324)]),{pivotTableId:_0x10d6ce,dataFieldId:_0x1a321c,fieldArea:_0x7f8073,index:_0x3f0bed,unitId:_0x2053ac,subUnitId:_0x347975}=_0x1bec04,_0x1763ce=(await _0x233345[_0xccab38(0x222)]({'unitId':_0x2053ac,'subUnitId':_0x347975,'pivotTableId':_0x10d6ce,'params':{'type':_0xe0c21a[_0xccab38(0x257)],'addPivotField':{'dataFieldId':_0x1a321c,'fieldArea':_0x7f8073,'index':_0x3f0bed}}}))[_0xccab38(0x1ef)][_0xccab38(0x49e)];if(!_0x1763ce)return!0x1;const {view:_0x28d668,changesets:_0x49b969,isEmpty:_0x32e4ed,pivotTableConfig:_0x3128db,shouldBeAddedGroupJSON:_0x31f587}=_0x1763ce,_0x5d15bd=_0x3128db['targetCellInfo'],_0x4e6d07=new _0x3c6b65[(_0xccab38(0x2cd))]();_0x4e6d07[_0xccab38(0x34f)](_0x28d668);const _0x509837={'cellInfo':_0x5d15bd,'view':_0x4e6d07,'isEmpty':_0x32e4ed};if(!await _0x5024cd[_0xccab38(0x350)](_0x5b9ff4['SheetsPivotTableService'])[_0xccab38(0x39f)][_0xccab38(0x39e)](_0x545cee)(!0x0,_0x509837))return!0x1;const _0x97543=_0x183b66(_0x5024cd,_0x4e6d07,_0x5d15bd,_0x32e4ed),_0xa9e058=_0x3c79d0(_0x5024cd,_0x509837),{undos:_0x2e1766,redos:_0x2d34bc}=_0x1fd707(_0x5786fd,{'pivotTableId':_0x10d6ce,'unitId':_0x2053ac,'subUnitId':_0x347975},_0x49b969);return _0x31f587&&(_0x2d34bc[_0xccab38(0x354)]({'id':_0xa2030['id'],'params':{'pivotTableId':_0x10d6ce,'fieldJSON':_0x31f587,'unitId':_0x2053ac,'subUnitId':_0x347975}}),_0x2e1766[_0xccab38(0x1a4)]({'id':_0x57e339['id'],'params':{'pivotTableId':_0x10d6ce,'dataFieldId':_0x31f587['id'],'unitId':_0x2053ac,'subUnitId':_0x347975}})),_0x35bf85['sequenceExecute']([..._0x97543['redos'],..._0xa9e058[_0xccab38(0x341)],..._0x2d34bc],_0x5786fd),_0x10776e[_0xccab38(0x19b)]({'unitID':_0x2053ac,'redoMutations':[..._0x97543[_0xccab38(0x341)],..._0xa9e058['redos'],..._0x2d34bc],'undoMutations':[..._0x97543[_0xccab38(0x2e6)],..._0xa9e058[_0xccab38(0x2e6)],..._0x2e1766]}),!0x0;}},_0x2fe875={'type':_0x35bf85['CommandType']['COMMAND'],'id':_0x4483a8(0x1d9),async 'handler'(_0x38fff9,_0x40ce74){const _0x5d664a=_0x4483a8;if(!_0x40ce74)return!0x1;const {sourceDataInfo:_0x374cef,pivotTableConfig:_0x1a289c}=_0x40ce74;if(!_0x374cef||!_0x1a289c)return!0x1;const {unitId:_0x55382d,subUnitId:_0xf94f02,range:_0x43e9bc}=_0x374cef,_0x58f7fb=_0x38fff9[_0x5d664a(0x350)](_0x35bf85['IUniverInstanceService']),_0x770906=_0x38fff9[_0x5d664a(0x350)](_0x5b9ff4[_0x5d664a(0x23a)]),_0x34f5ef=_0x38fff9['get'](_0x35bf85[_0x5d664a(0x2ab)]),_0x1a01e1=_0x38fff9['get'](_0x35bf85['ICommandService']),_0x5582bd=_0x58f7fb['getUnit'](_0x55382d);if(!_0x5582bd)return!0x1;const _0x1eb327=_0x5582bd[_0x5d664a(0x29f)](_0xf94f02);if(!_0x1eb327)return!0x1;const _0x3ad96f=_0x3c6b65['generateHexNumber'](0x8),_0x5c55b8=_0x43e9bc||{'startRow':0x0,'startColumn':0x0,'endRow':_0x1eb327['getRowCount']()-0x1,'endColumn':_0x1eb327[_0x5d664a(0x440)]()-0x1};_0x5c55b8[_0x5d664a(0x3f2)]=_0x35bf85[_0x5d664a(0x19d)]['NORMAL'];const _0x2adac1=(await _0x770906[_0x5d664a(0x222)]({'unitId':_0x55382d,'subUnitId':_0xf94f02,'pivotTableId':_0x3ad96f,'params':{'type':_0xe0c21a[_0x5d664a(0x1b8)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x55382d,'sheetName':_0x1eb327[_0x5d664a(0x3e5)](),'subUnitId':_0xf94f02,'range':_0x5c55b8},'pivotTableId':_0x3ad96f,'pivotTableIndexConfig':_0x1a289c}}}))[_0x5d664a(0x1ef)][_0x5d664a(0x2eb)];if(!_0x2adac1)return!0x1;const {isEmpty:_0x66c14a,fieldsConfig:_0x3820cf,collectionConfig:_0x530ab9,changesets:_0x48b5d8}=_0x2adac1,_0x584a9c=_0x5582bd['getSheets']()[_0x5d664a(0x41b)],_0x300aa2=_0x35bf85[_0x5d664a(0x3d9)]({'rowCount':_0x1eb327[_0x5d664a(0x32a)]()-0x1,'columnCount':_0x1eb327['getColumnCount']()-0x1});_0x300aa2['id']=_0x35bf85['generateRandomId'](),_0x300aa2[_0x5d664a(0x48e)]=_0x5582bd[_0x5d664a(0x33b)](''+_0x34f5ef['t'](_0x5d664a(0x298)));const _0x2452fc={'index':_0x584a9c,'sheet':_0x300aa2,'unitId':_0x55382d},{redos:_0x44f995}=_0x1fd707(_0x1a01e1,{'pivotTableId':_0x3ad96f,'unitId':_0x55382d,'subUnitId':_0x300aa2['id']},_0x48b5d8),_0x49cd20=[{'id':_0x4c8da1[_0x5d664a(0x201)]['id'],'params':_0x2452fc},{'id':_0x35d3e5['id'],'params':{'unitId':_0x55382d,'subUnitId':_0x300aa2['id'],'pivotTableId':_0x3ad96f,'pivotTableConfig':{'isEmpty':_0x66c14a,'fieldsConfig':_0x3820cf,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x55382d,'subUnitId':_0x300aa2['id']},'sourceRangeInfo':{'subUnitId':_0xf94f02,'unitId':_0x55382d,'range':_0x5c55b8,'sheetName':_0x1eb327[_0x5d664a(0x3e5)]()}},'collectionConfig':_0x530ab9}},..._0x44f995];return _0x35bf85[_0x5d664a(0x3ff)](_0x49cd20,_0x1a01e1),!0x0;}},_0x4c47df={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'id':_0x4483a8(0x1ec),async 'handler'(_0x2b49dc,_0x5649dd){const _0x1fdc9c=_0x4483a8;var _0x3654c8,_0x363e90;const _0x4391dc=_0x2b49dc[_0x1fdc9c(0x350)](_0x35bf85[_0x1fdc9c(0x3cd)]),_0xf4b568=_0x2b49dc[_0x1fdc9c(0x350)](_0x35bf85[_0x1fdc9c(0x3fd)]),_0x55bc48=_0x2b49dc['get'](_0x35bf85[_0x1fdc9c(0x2ab)]),_0x549fe2=_0x2b49dc[_0x1fdc9c(0x350)](_0x5b9ff4[_0x1fdc9c(0x23a)]),_0x1fc325=_0x2b49dc['get'](_0x35bf85[_0x1fdc9c(0x324)]),_0x4fd39e=_0x2b49dc[_0x1fdc9c(0x350)](_0x5b9ff4[_0x1fdc9c(0x184)]),_0x149167=_0x2b49dc[_0x1fdc9c(0x350)](_0x35bf85['IConfigService']);if(!_0x5649dd)return!0x1;const {pivotTableConfig:_0xc1eea1,positionType:_0x28ac3f}=_0x5649dd,{targetCellInfo:_0x43da43,sourceRangeInfo:_0x106b27}=_0xc1eea1,{unitId:_0x53c522,subUnitId:_0x5ae978}=_0x43da43,_0x2d4de7=_0xf4b568[_0x1fdc9c(0x4ab)](_0x53c522);if(!_0x2d4de7)return!0x1;let _0x24eb32=0x0;_0x2d4de7['getSheets']()[_0x1fdc9c(0x443)](_0x1b7f5b=>{const _0x2ffe98=_0x1fdc9c;var _0x22c8b1,_0x2d729d;_0x24eb32+=(_0x2d729d=(_0x22c8b1=_0x4fd39e['getSubUnitPivotConfigs'](_0x53c522,_0x1b7f5b[_0x2ffe98(0x270)]()))==null?void 0x0:_0x22c8b1[_0x2ffe98(0x1a5)])!=null?_0x2d729d:0x0;});const _0x3f6d88=(_0x3654c8=_0x149167['getConfig'](_0x22ffe5[_0x1fdc9c(0x37f)]))!=null?_0x3654c8:{},{ls:_0x2da669,pbk:_0x5c53f3}=_0x3f6d88;if(!_0x4c9df0(_0x2da669,_0x5c53f3))return!0x1;const _0xae492c=_0x4d830e(_0x137536,_0x2da669,_0x5c53f3)['count'];if(_0x24eb32>=_0xae492c)return!0x1;const _0x3ff25e=_0x5649dd[_0x1fdc9c(0x230)]||_0x3c6b65[_0x1fdc9c(0x27a)](0x8),_0x59d226=(await _0x549fe2[_0x1fdc9c(0x222)]({'unitId':_0x53c522,'subUnitId':_0x5ae978,'pivotTableId':_0x3ff25e,'params':{'type':_0xe0c21a['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x106b27,'pivotTableId':_0x3ff25e}}}))[_0x1fdc9c(0x1ef)][_0x1fdc9c(0x34a)];if(!_0x59d226)return!0x1;const {view:_0x1c5ee0,isEmpty:_0x1b3761,fieldsConfig:_0x4623ec,collectionConfig:_0x4a6e79}=_0x59d226,_0x11cae0=[],_0x1b3433=[];if(_0x28ac3f===_0x423474[_0x1fdc9c(0x1fb)]){const _0x11a353=_0x2d4de7[_0x1fdc9c(0x2b3)]()[_0x1fdc9c(0x41b)],_0x534b99=_0x35bf85['mergeWorksheetSnapshotWithDefault']({});_0x534b99['id']=_0xc1eea1[_0x1fdc9c(0x344)][_0x1fdc9c(0x1cb)],_0x534b99['name']=(_0x363e90=_0xc1eea1[_0x1fdc9c(0x344)][_0x1fdc9c(0x1c2)])!=null?_0x363e90:_0x2d4de7[_0x1fdc9c(0x33b)](''+_0x55bc48['t']('sheets.tabs.sheet'));const _0x381068={'index':_0x11a353,'sheet':_0x534b99,'unitId':_0x53c522},_0x3be396=_0x4c8da1['InsertSheetUndoMutationFactory'](_0x2b49dc,_0x381068);_0x11cae0['push']({'id':_0x4c8da1['RemoveSheetMutation']['id'],'params':_0x3be396}),_0x1b3433['push']({'id':_0x4c8da1['InsertSheetMutation']['id'],'params':_0x381068});}else{if(!_0x2d4de7[_0x1fdc9c(0x29f)](_0x5ae978))return!0x1;const _0x29f731=_0x183b66(_0x2b49dc,new _0x3c6b65[(_0x1fdc9c(0x2cd))](),_0x43da43,!0x0);_0x1b3433[_0x1fdc9c(0x1a4)](..._0x29f731['redos']),_0x11cae0[_0x1fdc9c(0x1a4)](..._0x29f731[_0x1fdc9c(0x2e6)]);const _0x10340f={'cellInfo':_0x43da43,'view':_0x1c5ee0,'isEmpty':_0x1b3761};if(!await _0x2b49dc[_0x1fdc9c(0x350)](_0x5b9ff4[_0x1fdc9c(0x18b)])[_0x1fdc9c(0x39f)][_0x1fdc9c(0x39e)](_0x545cee)(!0x0,_0x10340f))return!0x1;const _0x4e80f0=_0x3c79d0(_0x2b49dc,_0x10340f);_0x1b3433['push'](..._0x4e80f0['redos']),_0x11cae0[_0x1fdc9c(0x1a4)](..._0x4e80f0[_0x1fdc9c(0x2e6)]);}return _0x1b3433[_0x1fdc9c(0x1a4)]({'id':_0x35d3e5['id'],'params':{'unitId':_0x43da43[_0x1fdc9c(0x2ef)],'subUnitId':_0x43da43[_0x1fdc9c(0x1cb)],'pivotTableId':_0x3ff25e,'pivotTableConfig':{'targetCellInfo':_0x43da43,'sourceRangeInfo':_0x106b27,'fieldsConfig':_0x4623ec},'collectionConfig':_0x4a6e79}}),_0x11cae0[_0x1fdc9c(0x354)]({'id':_0xcb954c['id'],'params':{'unitId':_0x53c522,'subUnitId':_0x5ae978,'pivotTableId':_0x3ff25e}}),_0x35bf85[_0x1fdc9c(0x3ff)](_0x1b3433,_0x4391dc)&&_0x1fc325[_0x1fdc9c(0x19b)]({'unitID':_0x53c522,'undoMutations':_0x11cae0,'redoMutations':_0x1b3433}),!0x0;}},_0x3c9bf1={'type':_0x35bf85['CommandType'][_0x4483a8(0x457)],'id':_0x4483a8(0x265),async 'handler'(_0x4e2221,_0x5b28e9){const _0x27c1f2=_0x4483a8;if(!_0x5b28e9)return!0x1;const _0x4863d4=_0x4e2221[_0x27c1f2(0x350)](_0x35bf85[_0x27c1f2(0x3cd)]),_0x34a708=_0x4e2221['get'](_0x5b9ff4['SheetsPivotRPCService']),_0x1401ff=_0x4e2221[_0x27c1f2(0x350)](_0x35bf85[_0x27c1f2(0x324)]),{pivotTableId:_0x19c8cb,fieldId:_0x50234b,area:_0x2ae49e,index:_0x1a6351,unitId:_0x28f4ee,subUnitId:_0x50cb39}=_0x5b28e9,_0x14539a=(await _0x34a708[_0x27c1f2(0x222)]({'unitId':_0x28f4ee,'subUnitId':_0x50cb39,'pivotTableId':_0x19c8cb,'params':{'type':_0xe0c21a[_0x27c1f2(0x26a)],'movePivotField':{'fieldId':_0x50234b,'area':_0x2ae49e,'index':_0x1a6351}}}))['result']['movePivotField'];if(!_0x14539a)return!0x1;const {changesets:_0xecaa2d,view:_0x5ae227,isEmpty:_0x5488a9,pivotTableConfig:_0x506a1a}=_0x14539a,_0x56b352=_0x506a1a[_0x27c1f2(0x344)],_0x3a578f=new _0x3c6b65[(_0x27c1f2(0x2cd))]();_0x3a578f[_0x27c1f2(0x34f)](_0x5ae227);const _0x65a77c={'cellInfo':_0x56b352,'view':_0x3a578f,'isEmpty':_0x5488a9};if(!await _0x4e2221[_0x27c1f2(0x350)](_0x5b9ff4[_0x27c1f2(0x18b)])[_0x27c1f2(0x39f)][_0x27c1f2(0x39e)](_0x545cee)(!0x0,_0x65a77c))return!0x1;const _0x8f2335=_0x183b66(_0x4e2221,_0x3a578f,_0x56b352,_0x5488a9),_0x21ee61=_0x3c79d0(_0x4e2221,_0x65a77c),{redos:_0x8384c9,undos:_0x465006}=_0x1fd707(_0x4863d4,{'pivotTableId':_0x19c8cb,'unitId':_0x28f4ee,'subUnitId':_0x50cb39},_0xecaa2d);return _0x35bf85[_0x27c1f2(0x3ff)]([..._0x8f2335[_0x27c1f2(0x341)],..._0x21ee61['redos'],..._0x8384c9],_0x4863d4),_0x1401ff[_0x27c1f2(0x19b)]({'unitID':_0x28f4ee,'redoMutations':[..._0x8f2335[_0x27c1f2(0x341)],..._0x21ee61['redos'],..._0x8384c9],'undoMutations':[..._0x8f2335[_0x27c1f2(0x2e6)],..._0x21ee61[_0x27c1f2(0x2e6)],..._0x465006]}),!0x0;}},_0x731cfc={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'id':_0x4483a8(0x308),async 'handler'(_0x5c6af6,_0x234b24){const _0x3b34d2=_0x4483a8;var _0x32bd76;if(!_0x234b24)return!0x1;const _0x485eb8=_0x5c6af6[_0x3b34d2(0x350)](_0x35bf85['IUniverInstanceService']),_0x4b73d0=_0x4c8da1[_0x3b34d2(0x2d7)](_0x485eb8);if(!_0x4b73d0)return!0x1;const {unitId:_0x7dc5b1,subUnitId:_0x125099,workbook:_0x4f435b}=_0x4b73d0,{row:_0x387ac7,col:_0x5bd802}=_0x234b24,_0x50031f=_0x5c6af6[_0x3b34d2(0x350)](_0x5b9ff4[_0x3b34d2(0x1c6)]),_0x3f74d7=_0x50031f[_0x3b34d2(0x228)](_0x7dc5b1,_0x125099,_0x387ac7,_0x5bd802);if(!_0x3f74d7)return!0x1;const _0xc45696=(_0x32bd76=_0x50031f[_0x3b34d2(0x473)](_0x7dc5b1,_0x125099,_0x3f74d7))==null?void 0x0:_0x32bd76['areaInfo'];if(!_0xc45696)return!0x1;const _0x5687a0=_0x5c6af6[_0x3b34d2(0x350)](_0x5b9ff4[_0x3b34d2(0x184)])[_0x3b34d2(0x30e)](_0x7dc5b1,_0x125099,_0x3f74d7);if(!_0x5687a0)return!0x1;const {rowInfo:_0x2bb971,colInfo:_0x9041ad}=_0xc45696,_0x1e9f4d=_0x2bb971[_0x387ac7]['paths'],_0x3bed89=_0x9041ad[_0x5bd802]['paths'],_0x420693=_0x2bb971[_0x387ac7][_0x3b34d2(0x424)],_0x2799c1=_0x9041ad[_0x5bd802][_0x3b34d2(0x424)],_0x52755b=_0x1e9f4d['concat'](_0x3bed89),_0x546ca8=_0x5687a0['fieldsConfig'][_0x3b34d2(0x327)][_0x3b34d2(0x3c3)](0x0,_0x420693),_0x1af75b=_0x5687a0[_0x3b34d2(0x1b6)][_0x3b34d2(0x47e)]['slice'](0x0,_0x2799c1),_0x4e614d=_0x546ca8[_0x3b34d2(0x2ad)](_0x1af75b),_0x3b7cde=_0x52755b[_0x3b34d2(0x417)]((_0x28d8ff,_0x498e8b)=>[_0x28d8ff,_0x4e614d[_0x498e8b]]),_0x1ac3b8=(await _0x5c6af6[_0x3b34d2(0x350)](_0x5b9ff4[_0x3b34d2(0x23a)])[_0x3b34d2(0x222)]({'unitId':_0x7dc5b1,'subUnitId':_0x125099,'pivotTableId':_0x3f74d7,'params':{'type':_0xe0c21a[_0x3b34d2(0x1b2)],'drillDown':{'tuple':_0x3b7cde}}}))['result'][_0x3b34d2(0x451)];if(!_0x1ac3b8)return!0x1;const {indexes:_0x5353f4,range:_0x1b46c5,sourceUnitId:_0x32bc5d,sourceSubUnitId:_0x36256d,formatMap:_0x4865a5}=_0x1ac3b8,{startRow:_0x4305b1,endRow:_0x4ba82b,startColumn:_0x378968,endColumn:_0x5a1d53}=_0x1b46c5,_0x5495d4=new _0x35bf85['ObjectMatrix'](),_0x3198a9=_0x4ba82b-_0x4305b1,_0x5879f4=_0x5a1d53-_0x378968,_0x1d8d7b={},_0x51ddfa=_0x4c8da1[_0x3b34d2(0x2d7)](_0x485eb8,{'unitId':_0x32bc5d,'subUnitId':_0x36256d});if(!_0x51ddfa)return!0x1;const _0x4975e9=_0xed3ec3[_0x3b34d2(0x203)],_0x3c74c9=_0xed3ec3[_0x3b34d2(0x220)],_0x3f4c1c=_0xed3ec3['subTotalStyle'],_0x103b1c=_0x4f435b[_0x3b34d2(0x244)]()[_0x3b34d2(0x25f)](_0x4975e9),_0xde073c=_0x4f435b[_0x3b34d2(0x244)]()[_0x3b34d2(0x25f)](_0x3c74c9),_0x2bd4c3=_0x4f435b[_0x3b34d2(0x244)]()[_0x3b34d2(0x25f)](_0x3f4c1c),{worksheet:_0x6fb33f}=_0x51ddfa;let _0x51f26a=0x0;const _0x2a1980=0x1;_0x5353f4[_0x3b34d2(0x443)](_0x378e93=>{const _0x5ad41b=_0x3b34d2;for(let _0x42e619=0x0;_0x42e619<=_0x5a1d53-_0x378968;_0x42e619++)_0x5495d4['setValue'](_0x51f26a,_0x42e619,_0x6fb33f[_0x5ad41b(0x239)](_0x378e93+_0x1b46c5[_0x5ad41b(0x197)]+_0x2a1980,_0x42e619));_0x51f26a++;});for(let _0x30f503=_0x378968;_0x30f503<=_0x5a1d53;_0x30f503++){const _0x5f242a=_0x6fb33f[_0x3b34d2(0x239)](_0x4305b1,_0x30f503);_0x1d8d7b[_0x4305b1]||(_0x1d8d7b[_0x4305b1]={}),_0x1d8d7b[_0x4305b1][_0x30f503]={..._0x5f242a,'s':_0x103b1c};}let _0x52f9b4=0x1;const _0x5c9d28={},_0x298c08={};_0x5495d4[_0x3b34d2(0x412)]((_0x40d843,_0x187a06)=>{const _0x1020b7=_0x3b34d2;_0x187a06[_0x1020b7(0x443)](_0x1e8a1b=>{const _0x35c837=_0x1020b7,_0x2812eb=_0x5495d4[_0x35c837(0x2db)](_0x40d843,_0x1e8a1b);if(_0x1d8d7b[_0x52f9b4]||(_0x1d8d7b[_0x52f9b4]={}),_0x1d8d7b[_0x52f9b4][_0x1e8a1b]={..._0x2812eb,'s':_0x52f9b4%0x2===0x0?_0x2bd4c3:_0xde073c},_0x4865a5[_0x1e8a1b]&&_0x40d843>=0x0){const _0xe56036=_0x52f9b4%0x2===0x0;let _0x1ea846=_0xe56036?_0x298c08[_0x1e8a1b]:_0x5c9d28[_0x1e8a1b];_0x1ea846||(_0x1ea846=_0x4f435b[_0x35c837(0x244)]()[_0x35c837(0x25f)]({..._0xe56036?_0x3f4c1c:_0x3c74c9,'n':{'pattern':_0x4865a5[_0x1e8a1b]}}),_0xe56036?_0x298c08[_0x1e8a1b]=_0x1ea846:_0x5c9d28[_0x1e8a1b]=_0x1ea846),_0x1d8d7b[_0x52f9b4][_0x1e8a1b]['s']=_0x1ea846;}}),_0x52f9b4++;});const _0x18e4c1=new _0x35bf85['ObjectMatrix'](_0x1d8d7b),_0x32efa0={};_0x18e4c1[_0x3b34d2(0x387)]((_0x512f23,_0x57ac57,_0x5ad9da)=>{_0x32efa0[_0x512f23]||(_0x32efa0[_0x512f23]={}),_0x32efa0[_0x512f23][_0x57ac57]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1d89f2=[],_0x3bd12c=[],_0xf1147f=_0x4f435b[_0x3b34d2(0x2b3)]()[_0x3b34d2(0x41b)],_0x3d5fee=_0x35bf85['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x3b34d2(0x321)](_0x35bf85[_0x3b34d2(0x315)],_0x3198a9+0xa),'columnCount':Math[_0x3b34d2(0x321)](_0x35bf85[_0x3b34d2(0x36b)],_0x5879f4+0x5)}),_0x3e9bd1=_0x5c6af6[_0x3b34d2(0x350)](_0x35bf85[_0x3b34d2(0x2ab)]);_0x3d5fee['id']=_0x35bf85[_0x3b34d2(0x2d5)](),_0x3d5fee['name']=_0x4f435b[_0x3b34d2(0x33b)](''+_0x3e9bd1['t']('sheets.tabs.sheet'));const _0x33150d={'index':_0xf1147f,'sheet':_0x3d5fee,'unitId':_0x7dc5b1},_0x157b14=_0x4c8da1[_0x3b34d2(0x296)](_0x5c6af6,_0x33150d);_0x3bd12c[_0x3b34d2(0x1a4)]({'id':_0x4c8da1[_0x3b34d2(0x467)]['id'],'params':_0x33150d}),_0x1d89f2[_0x3b34d2(0x1a4)]({'id':_0x4c8da1[_0x3b34d2(0x2b8)]['id'],'params':_0x157b14}),_0x3bd12c['push']({'id':_0x4c8da1[_0x3b34d2(0x305)]['id'],'params':{'unitId':_0x7dc5b1,'subUnitId':_0x3d5fee['id'],'cellValue':_0x1d8d7b}}),_0x1d89f2[_0x3b34d2(0x354)]({'id':_0x4c8da1[_0x3b34d2(0x305)]['id'],'params':{'unitId':_0x7dc5b1,'subUnitId':_0x3d5fee['id'],'cellValue':_0x32efa0}});const _0x3a6ea3={'startRow':0x0,'startColumn':0x0,'endRow':_0x52f9b4-0x1,'endColumn':_0x5a1d53};_0x3bd12c[_0x3b34d2(0x1a4)]({'id':_0xb8f54c[_0x3b34d2(0x35a)]['id'],'params':{'unitId':_0x7dc5b1,'subUnitId':_0x3d5fee['id'],'range':_0x3a6ea3}}),_0x1d89f2['unshift']({'id':_0xb8f54c['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x7dc5b1,'subUnitId':_0x3d5fee['id']}});const _0x213c32=_0x5c6af6[_0x3b34d2(0x350)](_0x35bf85['ICommandService']);return _0x35bf85[_0x3b34d2(0x3ff)](_0x3bd12c,_0x213c32)&&_0x5c6af6['get'](_0x35bf85[_0x3b34d2(0x324)])['pushUndoRedo']({'unitID':_0x7dc5b1,'undoMutations':_0x1d89f2,'redoMutations':_0x3bd12c}),!0x0;}},_0x55641c={'type':_0x35bf85['CommandType'][_0x4483a8(0x457)],'id':_0x4483a8(0x1dd),async 'handler'(_0x2ba437,_0x30c43a){const _0x4d7c46=_0x4483a8;if(!_0x30c43a)return!0x1;const _0x3d3c27=_0x2ba437['get'](_0x35bf85[_0x4d7c46(0x3cd)]),_0x44c567=_0x2ba437[_0x4d7c46(0x350)](_0x5b9ff4[_0x4d7c46(0x23a)]),_0x4ccbac=_0x2ba437[_0x4d7c46(0x350)](_0x35bf85[_0x4d7c46(0x324)]),{pivotTableId:_0xd5931b,fieldIds:_0x54bac8,unitId:_0x4b7af8,subUnitId:_0x2e1fde}=_0x30c43a,_0x1fd4bf=(await _0x44c567[_0x4d7c46(0x222)]({'unitId':_0x4b7af8,'subUnitId':_0x2e1fde,'pivotTableId':_0xd5931b,'params':{'type':_0xe0c21a['RemovePivotField'],'removePivotField':{'fieldIds':_0x54bac8}}}))['result'][_0x4d7c46(0x4a5)];if(!_0x1fd4bf)return!0x1;const {view:_0x91b3d5,changesets:_0x31a738,isEmpty:_0x4e2677,pivotTableConfig:_0x416052}=_0x1fd4bf,_0x388528=_0x416052[_0x4d7c46(0x344)],_0x5c570b=new _0x3c6b65[(_0x4d7c46(0x2cd))]();_0x5c570b[_0x4d7c46(0x34f)](_0x91b3d5);const _0x4d5f16={'cellInfo':_0x388528,'view':_0x5c570b,'isEmpty':_0x4e2677};if(!await _0x2ba437[_0x4d7c46(0x350)](_0x5b9ff4['SheetsPivotTableService'])['asyncInterceptor'][_0x4d7c46(0x39e)](_0x545cee)(!0x0,_0x4d5f16))return!0x1;const _0x54fb6f=_0x183b66(_0x2ba437,_0x5c570b,_0x388528,_0x4e2677),_0x22da39=_0x3c79d0(_0x2ba437,_0x4d5f16),{redos:_0x480005,undos:_0x377073}=_0x1fd707(_0x3d3c27,{'pivotTableId':_0xd5931b,'unitId':_0x4b7af8,'subUnitId':_0x2e1fde},_0x31a738);return _0x35bf85['sequenceExecute']([..._0x54fb6f[_0x4d7c46(0x341)],..._0x22da39[_0x4d7c46(0x341)],..._0x480005],_0x3d3c27),_0x4ccbac['pushUndoRedo']({'unitID':_0x4b7af8,'redoMutations':[..._0x54fb6f[_0x4d7c46(0x341)],..._0x22da39[_0x4d7c46(0x341)],..._0x480005],'undoMutations':[..._0x54fb6f[_0x4d7c46(0x2e6)],..._0x22da39[_0x4d7c46(0x2e6)],..._0x377073]}),!0x0;}},_0x3955a2={'type':_0x35bf85[_0x4483a8(0x4a6)]['COMMAND'],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x12dcc9,_0x1075cd){const _0x206679=_0x4483a8;var _0xe6682b;const _0xe8d147=_0x12dcc9['get'](_0x35bf85[_0x206679(0x3cd)]),_0x11801e=_0x12dcc9[_0x206679(0x350)](_0x5b9ff4['SheetsPivotRPCService']),_0x457cfe=_0x12dcc9['get'](_0x5b9ff4[_0x206679(0x1c6)]),_0x2015a5=_0x12dcc9[_0x206679(0x350)](_0x35bf85[_0x206679(0x3fd)]),_0x28cdc1=_0x12dcc9['get'](_0x35bf85[_0x206679(0x324)]);if(!_0x1075cd)return!0x1;const {unitId:_0x387243,subUnitId:_0x504a71,row:_0x1525ac,col:_0x2b1b09,collapse:_0x2a5737}=_0x1075cd,_0x3de9d4=_0x2015a5[_0x206679(0x4ab)](_0x387243);if(!_0x3de9d4||!_0x3de9d4['getSheetBySheetId'](_0x504a71))return!0x1;const _0x29ed01=_0x457cfe['getPivotTableIdByCell'](_0x387243,_0x504a71,_0x1525ac,_0x2b1b09);if(!_0x29ed01)return!0x1;const _0x509329=_0x457cfe[_0x206679(0x473)](_0x387243,_0x504a71,_0x29ed01);if(!_0x509329)return!0x1;const _0x5a3cfb=_0x35bf85[_0x206679(0x252)](_0x1525ac,_0x2b1b09),{rangesInfo:_0x39d17d,areaInfo:_0x367586,headerMap:_0xa30bcd}=_0x509329;if(!_0x39d17d||!_0x367586||!_0xa30bcd)return!0x1;const _0x14cbdb=Object['keys'](_0x39d17d)[_0x206679(0x32c)](_0x237a0f=>_0x39d17d[_0x237a0f][_0x206679(0x364)](_0x488f5b=>_0x35bf85['Rectangle'][_0x206679(0x495)](_0x488f5b,_0x5a3cfb)));let _0xf9817;_0x14cbdb===_0x206679(0x499)?_0xf9817=_0xa30bcd[_0x206679(0x2d1)][_0x2b1b09]:_0x14cbdb==='colRanges'&&(_0xf9817=_0xa30bcd['colHeaderMap'][_0x1525ac]);const _0x299918=_0xf9817==null?void 0x0:_0xf9817[_0x206679(0x303)],_0x5caba8=(_0xe6682b=_0x457cfe[_0x206679(0x38c)](_0x387243,_0x504a71,_0x1525ac,_0x2b1b09))==null?void 0x0:_0xe6682b['v'];if(_0x5caba8==null||!_0x29ed01||!_0x299918)return!0x1;const _0x4b620d=await _0x11801e[_0x206679(0x222)]({'unitId':_0x387243,'subUnitId':_0x504a71,'pivotTableId':_0x29ed01,'params':{'type':_0xe0c21a[_0x206679(0x496)],'setPivotCollapse':{'tableFieldId':_0x299918,'collapse':_0x2a5737,'item':_0x5caba8}}}),_0x3ac720=_0x4b620d==null?void 0x0:_0x4b620d[_0x206679(0x1ef)][_0x206679(0x2f1)];if(!_0x3ac720)return!0x1;const {view:_0x2a7ceb,pivotTableConfig:_0x125f55,isEmpty:_0x5879b4,changesets:_0x28a089}=_0x3ac720,_0x5bc773=new _0x3c6b65[(_0x206679(0x2cd))]();_0x5bc773[_0x206679(0x34f)](_0x2a7ceb);const _0x223af0=_0x125f55[_0x206679(0x344)],_0x270b23={'cellInfo':_0x223af0,'view':_0x5bc773,'isEmpty':_0x5879b4};if(!await _0x12dcc9[_0x206679(0x350)](_0x5b9ff4[_0x206679(0x18b)])['asyncInterceptor'][_0x206679(0x39e)](_0x545cee)(!0x0,_0x270b23))return!0x1;const _0x213e93=_0x183b66(_0x12dcc9,_0x5bc773,_0x223af0,_0x5879b4),_0x1d9a87=_0x3c79d0(_0x12dcc9,_0x270b23),{redos:_0x8e9b95,undos:_0x3697eb}=_0x1fd707(_0xe8d147,{'pivotTableId':_0x29ed01,'unitId':_0x387243,'subUnitId':_0x504a71},_0x28a089);return _0x35bf85[_0x206679(0x3ff)]([..._0x213e93['redos'],..._0x1d9a87[_0x206679(0x341)],..._0x8e9b95],_0xe8d147),_0x28cdc1[_0x206679(0x19b)]({'unitID':_0x387243,'redoMutations':[..._0x213e93['redos'],..._0x1d9a87[_0x206679(0x341)],..._0x8e9b95],'undoMutations':[..._0x213e93['undos'],..._0x1d9a87[_0x206679(0x2e6)],..._0x3697eb]}),!0x0;}},_0x58f580={'type':_0x35bf85['CommandType'][_0x4483a8(0x457)],'id':_0x4483a8(0x18d),async 'handler'(_0x3dcdb5,_0x4bacc1){const _0x1c64c8=_0x4483a8;if(!_0x4bacc1)return!0x1;const _0xf645cd=_0x3dcdb5['get'](_0x35bf85[_0x1c64c8(0x3cd)]),{pivotTableId:_0x35b4a3,tableFieldId:_0x514aba,items:_0x4e7e95,unitId:_0x3e4b90,subUnitId:_0x10bc9e,isAll:_0x2aec20}=_0x4bacc1,_0x4f206e=_0x3dcdb5[_0x1c64c8(0x350)](_0x5b9ff4['SheetsPivotRPCService']),_0x41d084=_0x3dcdb5[_0x1c64c8(0x350)](_0x35bf85[_0x1c64c8(0x324)]),_0x292f3b=(await _0x4f206e[_0x1c64c8(0x222)]({'unitId':_0x3e4b90,'subUnitId':_0x10bc9e,'pivotTableId':_0x35b4a3,'params':{'type':_0xe0c21a[_0x1c64c8(0x275)],'setPivotFilter':{'tableFieldId':_0x514aba,'items':_0x4e7e95,'isAll':_0x2aec20}}}))[_0x1c64c8(0x1ef)]['setPivotFilter'];if(!_0x292f3b)return!0x1;const {changesets:_0x51dfc2,pivotTableConfig:_0x5532f3,isEmpty:_0x4e6b16,view:_0x2bdbc5}=_0x292f3b,_0x40c39b=_0x5532f3[_0x1c64c8(0x344)],_0x22ebbc=new _0x3c6b65[(_0x1c64c8(0x2cd))]();_0x22ebbc[_0x1c64c8(0x34f)](_0x2bdbc5);const _0xee3937={'cellInfo':_0x40c39b,'view':_0x22ebbc,'isEmpty':_0x4e6b16};if(!await _0x3dcdb5[_0x1c64c8(0x350)](_0x5b9ff4[_0x1c64c8(0x18b)])[_0x1c64c8(0x39f)][_0x1c64c8(0x39e)](_0x545cee)(!0x0,_0xee3937))return!0x1;const _0x2ff133=_0x183b66(_0x3dcdb5,_0x22ebbc,_0x40c39b,_0x4e6b16),_0x55c862=_0x3c79d0(_0x3dcdb5,_0xee3937),{undos:_0x3dcb43,redos:_0x1c5568}=_0x1fd707(_0xf645cd,{'pivotTableId':_0x35b4a3,'unitId':_0x3e4b90,'subUnitId':_0x10bc9e},_0x51dfc2);return _0x35bf85[_0x1c64c8(0x3ff)]([..._0x2ff133[_0x1c64c8(0x341)],..._0x55c862[_0x1c64c8(0x341)],..._0x1c5568],_0xf645cd),_0x41d084['pushUndoRedo']({'unitID':_0x3e4b90,'redoMutations':[..._0x2ff133['redos'],..._0x55c862['redos'],..._0x1c5568],'undoMutations':[..._0x2ff133[_0x1c64c8(0x2e6)],..._0x55c862[_0x1c64c8(0x2e6)],..._0x3dcb43]}),!0x0;}},_0x40e23a={'type':_0x35bf85['CommandType'][_0x4483a8(0x457)],'id':_0x4483a8(0x2a2),async 'handler'(_0x1bcc75,_0x1559bb){const _0x382c76=_0x4483a8;if(!_0x1559bb)return!0x1;const _0x5f52d0=_0x1bcc75[_0x382c76(0x350)](_0x35bf85[_0x382c76(0x3cd)]),_0x78f4df=_0x1bcc75[_0x382c76(0x350)](_0x35bf85[_0x382c76(0x324)]),_0x252461=_0x1bcc75[_0x382c76(0x350)](_0x5b9ff4['SheetsPivotRPCService']),{info:_0xf21b88,tableFieldId:_0x420fc3,pivotTableId:_0x28cf6e,unitId:_0x241eb6,subUnitId:_0x467cb6}=_0x1559bb,_0x4f1ad1=(await _0x252461[_0x382c76(0x222)]({'unitId':_0x241eb6,'subUnitId':_0x467cb6,'pivotTableId':_0x28cf6e,'params':{'type':_0xe0c21a[_0x382c76(0x1eb)],'setPivotSort':{'tableFieldId':_0x420fc3,'info':_0xf21b88}}}))['result']['setPivotSort'];if(!_0x4f1ad1)return!0x1;const {changesets:_0x1b4708}=_0x4f1ad1,{redos:_0x683bd6,undos:_0x5b6c62}=_0x1fd707(_0x5f52d0,{'pivotTableId':_0x28cf6e,'unitId':_0x241eb6,'subUnitId':_0x467cb6},_0x1b4708);return _0x35bf85['sequenceExecute'](_0x683bd6,_0x5f52d0),_0x78f4df[_0x382c76(0x19b)]({'unitID':_0x241eb6,'redoMutations':_0x683bd6,'undoMutations':_0x5b6c62}),!0x0;}},_0x15fc7a={'type':_0x35bf85['CommandType'][_0x4483a8(0x457)],'id':_0x4483a8(0x41f),async 'handler'(_0xf1498e,_0x12ecc1){const _0x4f1e2b=_0x4483a8;if(!_0x12ecc1)return!0x1;const _0x46a984=_0xf1498e['get'](_0x35bf85[_0x4f1e2b(0x3cd)]),_0x3a9311=_0xf1498e[_0x4f1e2b(0x350)](_0x35bf85[_0x4f1e2b(0x324)]),_0x3503d0=_0xf1498e[_0x4f1e2b(0x350)](_0x5b9ff4[_0x4f1e2b(0x23a)]),{displayName:_0x3b2f61,subtotalType:_0x32e002,format:_0xc3fdb7,tableFieldId:_0x2652bb,pivotTableId:_0x50f4c9,unitId:_0x219cd3,subUnitId:_0x1be082}=_0x12ecc1,_0xc99fb2=(await _0x3503d0['getPivotDisplayConfig']({'unitId':_0x219cd3,'subUnitId':_0x1be082,'pivotTableId':_0x50f4c9,'params':{'type':_0xe0c21a[_0x4f1e2b(0x49f)],'setPivotSetting':{'tableFieldId':_0x2652bb,'displayName':_0x3b2f61,'subtotalType':_0x32e002,'format':_0xc3fdb7}}}))[_0x4f1e2b(0x1ef)][_0x4f1e2b(0x325)];if(!_0xc99fb2)return!0x1;const {changesets:_0x4aac1e,view:_0xfc1562,pivotTableConfig:_0x137407,isEmpty:_0x4eeb4b}=_0xc99fb2,_0x508133=_0x137407[_0x4f1e2b(0x344)],_0x313667=new _0x3c6b65['PivotView']();_0x313667[_0x4f1e2b(0x34f)](_0xfc1562);const _0x52dec8={'cellInfo':_0x508133,'view':_0x313667,'isEmpty':_0x4eeb4b};if(!await _0xf1498e[_0x4f1e2b(0x350)](_0x5b9ff4[_0x4f1e2b(0x18b)])[_0x4f1e2b(0x39f)][_0x4f1e2b(0x39e)](_0x545cee)(!0x0,_0x52dec8))return!0x1;const _0x77205c=_0x183b66(_0xf1498e,_0x313667,_0x508133,_0x4eeb4b),_0x13254b=_0x3c79d0(_0xf1498e,_0x52dec8),{undos:_0xdea854,redos:_0x78a341}=_0x1fd707(_0x46a984,{'pivotTableId':_0x50f4c9,'unitId':_0x219cd3,'subUnitId':_0x1be082},_0x4aac1e);return _0x35bf85[_0x4f1e2b(0x3ff)]([..._0x77205c[_0x4f1e2b(0x341)],..._0x13254b['redos'],..._0x78a341],_0x46a984),_0x3a9311['pushUndoRedo']({'unitID':_0x219cd3,'redoMutations':[..._0x77205c['redos'],..._0x13254b[_0x4f1e2b(0x341)],..._0x78a341],'undoMutations':[..._0x77205c['undos'],..._0x13254b['undos'],..._0xdea854]}),!0x0;}},_0x31f7fb={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'id':_0x4483a8(0x2d6),async 'handler'(_0x241667,_0x4b9a23){const _0x4d5ca1=_0x4483a8,_0xdf6f17=_0x241667['get'](_0x35bf85[_0x4d5ca1(0x3cd)]),_0x3c3970=_0x241667[_0x4d5ca1(0x350)](_0x5b9ff4[_0x4d5ca1(0x23a)]),_0x9e5ce7=_0x241667[_0x4d5ca1(0x350)](_0x35bf85['IUndoRedoService']);if(!_0x4b9a23)return!0x1;const {token:_0x43dc0f,dataRangeInfo:_0x59fecf,unitId:_0xbb1e20,subUnitId:_0xeaa89e}=_0x4b9a23,_0x523845=[],_0x3bb624=[],_0x463068=(await _0x3c3970[_0x4d5ca1(0x222)]({'unitId':_0xbb1e20,'subUnitId':_0xeaa89e,'pivotTableId':_0x43dc0f,'params':{'type':_0xe0c21a['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x59fecf,'unitId':_0xbb1e20,'subUnitId':_0xeaa89e}}}))[_0x4d5ca1(0x1ef)][_0x4d5ca1(0x409)];if(!_0x463068)return!0x1;const {changesets:_0x5b390e,deleteIds:_0x2d9296,collectionConfig:_0x1359fa,oldCollectionConfig:_0x1ec8b0,view:_0xe565b2,isEmpty:_0x111b45,pivotTableConfig:_0x2c2fa4}=_0x463068;_0x3bb624[_0x4d5ca1(0x1a4)]({'id':_0x102f4b['id'],'params':{'pivotTableId':_0x43dc0f,'deleteIds':_0x2d9296,'collectionJSON':_0x1359fa,'dataRangeInfo':_0x59fecf,'unitId':_0xbb1e20,'subUnitId':_0xeaa89e}}),_0x523845[_0x4d5ca1(0x354)]({'id':_0x102f4b['id'],'params':{'pivotTableId':_0x43dc0f,'deleteIds':[],'collectionJSON':_0x1ec8b0,'dataRangeInfo':_0x2c2fa4['sourceRangeInfo'],'unitId':_0xbb1e20,'subUnitId':_0xeaa89e}});const _0x2b1782=_0x2c2fa4[_0x4d5ca1(0x344)],_0x42b145=new _0x3c6b65[(_0x4d5ca1(0x2cd))]();_0x42b145['formJSON'](_0xe565b2);const _0x94228b={'cellInfo':_0x2b1782,'view':_0x42b145,'isEmpty':_0x111b45};if(!await _0x241667[_0x4d5ca1(0x350)](_0x5b9ff4[_0x4d5ca1(0x18b)])[_0x4d5ca1(0x39f)][_0x4d5ca1(0x39e)](_0x545cee)(!0x0,_0x94228b))return!0x1;const _0x3e50dd=_0x183b66(_0x241667,_0x42b145,_0x2b1782,_0x111b45),_0xfa49d8=_0x3c79d0(_0x241667,_0x94228b),{undos:_0x49c064,redos:_0x4781c8}=_0x1fd707(_0xdf6f17,{'pivotTableId':_0x43dc0f,'unitId':_0xbb1e20,'subUnitId':_0xeaa89e},_0x5b390e);return _0x35bf85['sequenceExecute']([..._0x3e50dd[_0x4d5ca1(0x341)],..._0xfa49d8[_0x4d5ca1(0x341)],..._0x3bb624,..._0x49c064],_0xdf6f17),_0x9e5ce7[_0x4d5ca1(0x19b)]({'unitID':_0xbb1e20,'redoMutations':[..._0x3e50dd[_0x4d5ca1(0x341)],..._0xfa49d8[_0x4d5ca1(0x341)],..._0x3bb624,..._0x49c064],'undoMutations':[..._0x3e50dd['undos'],..._0xfa49d8[_0x4d5ca1(0x2e6)],..._0x523845,..._0x4781c8]}),!0x0;}},_0x30cd8e={'type':_0x35bf85[_0x4483a8(0x4a6)]['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x3277c3,_0x26823c){const _0x9980ed=_0x4483a8;if(!_0x26823c)return!0x1;const _0x335758=_0x3277c3[_0x9980ed(0x350)](_0x35bf85['ICommandService']),_0x44a149=_0x3277c3[_0x9980ed(0x350)](_0x5b9ff4['SheetsPivotRPCService']),_0x13545d=_0x3277c3[_0x9980ed(0x350)](_0x35bf85[_0x9980ed(0x3fd)]),_0x286cc6=_0x3277c3[_0x9980ed(0x350)](_0x35bf85['IUndoRedoService']),{pivotTableId:_0x4b99aa,position:_0xad9046,index:_0x28957f}=_0x26823c,_0x4ae962=_0x4c8da1['getSheetCommandTarget'](_0x13545d);if(!_0x4ae962)return!0x1;const {unitId:_0x1805d6,subUnitId:_0x9dfe1b}=_0x4ae962,_0x166025=(await _0x44a149['getPivotDisplayConfig']({'unitId':_0x1805d6,'subUnitId':_0x9dfe1b,'pivotTableId':_0x4b99aa,'params':{'type':_0xe0c21a['UpdateValuePosition'],'updateValuePosition':{'position':_0xad9046,'index':_0x28957f}}}))['result'][_0x9980ed(0x2fc)];if(!_0x166025)return!0x1;const {changesets:_0x5947,view:_0x20faf7,isEmpty:_0x2e4f23,pivotTableConfig:_0xa59c25}=_0x166025,_0x46bce3=_0xa59c25[_0x9980ed(0x344)],_0x3c8845=new _0x3c6b65[(_0x9980ed(0x2cd))]();_0x3c8845[_0x9980ed(0x34f)](_0x20faf7);const _0x5e448e=_0x3277c3[_0x9980ed(0x350)](_0x5b9ff4['SheetsPivotTableService']),_0x14298f={'cellInfo':_0x46bce3,'view':_0x3c8845,'isEmpty':_0x2e4f23};if(!await _0x5e448e[_0x9980ed(0x39f)][_0x9980ed(0x39e)](_0x545cee)(!0x0,_0x14298f))return!0x1;const _0x4c53f1=_0x183b66(_0x3277c3,_0x3c8845,_0x46bce3,_0x2e4f23),_0x4f702e=_0x3c79d0(_0x3277c3,_0x14298f),{undos:_0xff0f54,redos:_0x12b5cb}=_0x1fd707(_0x335758,{'pivotTableId':_0x4b99aa,'unitId':_0x1805d6,'subUnitId':_0x9dfe1b},_0x5947);return _0x35bf85[_0x9980ed(0x3ff)]([..._0x4c53f1[_0x9980ed(0x341)],..._0x4f702e[_0x9980ed(0x341)],..._0x12b5cb],_0x335758),_0x286cc6['pushUndoRedo']({'unitID':_0x1805d6,'redoMutations':[..._0x4c53f1[_0x9980ed(0x341)],..._0x4f702e['redos'],..._0x12b5cb],'undoMutations':[..._0x4c53f1[_0x9980ed(0x2e6)],..._0x4f702e['undos'],..._0xff0f54]}),!0x0;}},_0x466bb8={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'id':'sheet.command.move-pivot-table','handler':(_0x342b60,_0xced578)=>{const _0x475235=_0x4483a8,_0x1042ce=_0x342b60[_0x475235(0x350)](_0x35bf85[_0x475235(0x3cd)]),_0x3c1dd3=_0x342b60[_0x475235(0x350)](_0x35bf85[_0x475235(0x324)]),_0x5db2eb=_0x342b60[_0x475235(0x350)](_0x5b9ff4[_0x475235(0x184)]),_0x2a70ad=_0x342b60['get'](_0x35bf85['IUniverInstanceService']);if(!_0xced578)return!0x1;const _0x57350e=_0x4c8da1[_0x475235(0x2d7)](_0x2a70ad);if(!_0x57350e)return!0x1;const {unitId:_0x109e06,subUnitId:_0xf264d4,workbook:_0x4b49c0}=_0x57350e,_0x1af795=_0x5db2eb[_0x475235(0x30e)](_0xced578[_0x475235(0x485)][_0x475235(0x2ef)],_0xced578[_0x475235(0x485)][_0x475235(0x1cb)],_0xced578[_0x475235(0x230)]);if(!_0x1af795)return!0x1;const _0x43fccf=_0x4b49c0[_0x475235(0x29f)](_0xced578['targetCellInfo'][_0x475235(0x1cb)]);if(!_0x43fccf)throw new Error(_0x475235(0x1d3));const _0x3a4cbc=_0x43fccf[_0x475235(0x32a)](),_0x53c705=_0x43fccf[_0x475235(0x440)]();if(_0xced578['targetCellInfo'][_0x475235(0x370)]>_0x3a4cbc||_0xced578[_0x475235(0x344)][_0x475235(0x1de)]>_0x53c705)throw new Error(_0x475235(0x2a7));const _0x44a2c5=[{'id':_0x47268d['id'],'params':{'unitId':_0x109e06,'subUnitId':_0xced578[_0x475235(0x344)][_0x475235(0x1cb)],'pivotTableId':_0xced578[_0x475235(0x230)],'targetCellPosition':{'row':_0xced578['targetCellInfo'][_0x475235(0x370)],'col':_0xced578['targetCellInfo'][_0x475235(0x1de)]}}}],_0x520305=[{'id':_0x47268d['id'],'params':{'unitId':_0x109e06,'subUnitId':_0xf264d4,'pivotTableId':_0xced578[_0x475235(0x230)],'targetCellPosition':{'row':_0x1af795[_0x475235(0x344)]['row'],'col':_0x1af795['targetCellInfo'][_0x475235(0x1de)]}}}];return _0x35bf85[_0x475235(0x3ff)](_0x44a2c5,_0x1042ce)&&_0x3c1dd3[_0x475235(0x19b)]({'unitID':_0x109e06,'undoMutations':_0x520305,'redoMutations':_0x44a2c5}),!0x0;}},_0x3de8fd={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'id':_0x4483a8(0x40d),async 'handler'(_0x4757f5,_0x4de9dd){const _0x5b14fc=_0x4483a8;if(!_0x4de9dd)return!0x1;const _0xc78d84=_0x4757f5[_0x5b14fc(0x350)](_0x35bf85[_0x5b14fc(0x3cd)]),{pivotTableId:_0x28141e,fieldId:_0xe0f1a5,valueFilterInfo:_0x4ae4b6,unitId:_0x58b1e9,subUnitId:_0x3f381a}=_0x4de9dd,_0x2788da=_0x4757f5[_0x5b14fc(0x350)](_0x5b9ff4['SheetsPivotRPCService']),_0x3d5905=_0x4757f5['get'](_0x35bf85[_0x5b14fc(0x324)]),_0x297845=(await _0x2788da[_0x5b14fc(0x222)]({'unitId':_0x58b1e9,'subUnitId':_0x3f381a,'pivotTableId':_0x28141e,'params':{'type':_0xe0c21a[_0x5b14fc(0x371)],'setValuePivotFilter':{'tableFieldId':_0xe0f1a5,'filterInfo':_0x4ae4b6}}}))[_0x5b14fc(0x1ef)][_0x5b14fc(0x3ac)];if(!_0x297845)return!0x1;const {changesets:_0x12d5a,pivotTableConfig:_0x15bb7a,isEmpty:_0x52fe9a,view:_0x468178}=_0x297845,_0x213a52=_0x15bb7a[_0x5b14fc(0x344)],_0x3f5747=new _0x3c6b65[(_0x5b14fc(0x2cd))]();_0x3f5747[_0x5b14fc(0x34f)](_0x468178);const _0xcc9382={'cellInfo':_0x213a52,'view':_0x3f5747,'isEmpty':_0x52fe9a};if(!await _0x4757f5['get'](_0x5b9ff4[_0x5b14fc(0x18b)])[_0x5b14fc(0x39f)][_0x5b14fc(0x39e)](_0x545cee)(!0x0,_0xcc9382))return!0x1;const _0x28361e=_0x183b66(_0x4757f5,_0x3f5747,_0x213a52,_0x52fe9a),_0x362f66=_0x3c79d0(_0x4757f5,_0xcc9382),{undos:_0x595bc8,redos:_0x16891c}=_0x1fd707(_0xc78d84,{'pivotTableId':_0x28141e,'unitId':_0x58b1e9,'subUnitId':_0x3f381a},_0x12d5a);return _0x35bf85[_0x5b14fc(0x3ff)]([..._0x28361e['redos'],..._0x362f66['redos'],..._0x16891c],_0xc78d84),_0x3d5905['pushUndoRedo']({'unitID':_0x58b1e9,'redoMutations':[..._0x28361e[_0x5b14fc(0x341)],..._0x362f66['redos'],..._0x16891c],'undoMutations':[..._0x28361e['undos'],..._0x362f66[_0x5b14fc(0x2e6)],..._0x595bc8]}),!0x0;}},_0x52d5f4={'type':_0x35bf85['CommandType'][_0x4483a8(0x457)],'id':_0x4483a8(0x24c),async 'handler'(_0x45470f,_0x48b20d){const _0x51e4cf=_0x4483a8;if(!_0x48b20d)return!0x1;const _0x7e268f=_0x45470f[_0x51e4cf(0x350)](_0x35bf85[_0x51e4cf(0x3cd)]),_0x1d144d=_0x45470f[_0x51e4cf(0x350)](_0x35bf85[_0x51e4cf(0x324)]),_0x442232=_0x45470f[_0x51e4cf(0x350)](_0x5b9ff4['SheetsPivotRPCService']),{pivotTableConfig:_0x2aeff8,pivotTableId:_0x24e41d,unitId:_0x2454ce,subUnitId:_0x370169}=_0x48b20d,_0x2b98d4=(await _0x442232[_0x51e4cf(0x222)]({'unitId':_0x2454ce,'subUnitId':_0x370169,'pivotTableId':_0x24e41d,'params':{'type':_0xe0c21a[_0x51e4cf(0x38b)],'setPivotTableConfig':{'pivotTableId':_0x24e41d,'pivotTableConfig':_0x2aeff8}}}))[_0x51e4cf(0x1ef)][_0x51e4cf(0x4a0)];if(!_0x2b98d4)return!0x1;const {changesets:_0x21caef}=_0x2b98d4,{redos:_0x1dd118,undos:_0x39e6bb}=_0x1fd707(_0x7e268f,{'pivotTableId':_0x24e41d,'unitId':_0x2454ce,'subUnitId':_0x370169},_0x21caef);return _0x35bf85['sequenceExecute'](_0x1dd118,_0x7e268f),_0x1d144d[_0x51e4cf(0x19b)]({'unitID':_0x2454ce,'redoMutations':_0x1dd118,'undoMutations':_0x39e6bb}),!0x0;}},_0x2ad3e2={'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'id':_0x4483a8(0x27b),async 'handler'(_0x4c1b40,_0x132662){const _0x237a22=_0x4483a8;if(!_0x132662)return!0x1;const _0x4e079d=_0x4c1b40['get'](_0x35bf85[_0x237a22(0x3cd)]),_0x2c24d1=_0x4c1b40[_0x237a22(0x350)](_0x35bf85[_0x237a22(0x324)]),_0x27e07b=_0x4c1b40[_0x237a22(0x350)](_0x5b9ff4[_0x237a22(0x23a)]),{resetArea:_0x2bd085,pivotTableId:_0xbf21cc,unitId:_0x53db19,subUnitId:_0x2bf9b8}=_0x132662,_0x2f6a58=(await _0x27e07b[_0x237a22(0x222)]({'unitId':_0x53db19,'subUnitId':_0x2bf9b8,'pivotTableId':_0xbf21cc,'params':{'type':_0xe0c21a[_0x237a22(0x40f)],'resetPivotTable':{'pivotTableId':_0xbf21cc,'resetArea':_0x2bd085}}}))[_0x237a22(0x1ef)]['resetPivotTable'];if(!_0x2f6a58)return!0x1;const {changesets:_0x2214f1}=_0x2f6a58,{redos:_0x3147d2,undos:_0x237ad3}=_0x1fd707(_0x4e079d,{'pivotTableId':_0xbf21cc,'unitId':_0x53db19,'subUnitId':_0x2bf9b8},_0x2214f1);return _0x35bf85[_0x237a22(0x3ff)](_0x3147d2,_0x4e079d),_0x2c24d1[_0x237a22(0x19b)]({'unitID':_0x53db19,'redoMutations':_0x3147d2,'undoMutations':_0x237ad3}),!0x0;}},_0x42924a={'id':_0x4483a8(0x486),'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x266)],'handler':(_0x4e029e,_0x241488)=>{const _0x50d7ac=_0x4483a8;if(!_0x241488)return!0x1;if(!!_0x4e029e['get'](_0x35bf85[_0x50d7ac(0x1bb)])[_0x50d7ac(0x2f9)](_0x27e988))return!0x0;const {unitId:_0x479488,subUnitId:_0x2631ad,pivotTableId:_0x2b462d,tableFieldId:_0x42a632,dateType:_0x29e5e2}=_0x241488,_0x222861=_0x4e029e[_0x50d7ac(0x350)](_0x5b9ff4['SheetsPivotDataSourceModel']),_0x1df13a=_0x222861[_0x50d7ac(0x373)](_0x2b462d);if(!_0x1df13a)return!0x1;const _0x405794=_0x1df13a['getDataFieldByTableId'](_0x42a632);if(!_0x405794)return!0x1;const _0x2530d4=_0x405794[_0x50d7ac(0x2a3)](),_0x1b36de=_0x1df13a['getDataFieldByDataFieldId'](_0x2530d4),_0x3a9c16=(_0x1b36de==null?void 0x0:_0x1b36de[_0x50d7ac(0x3e5)]())+'\x20'+_0x5d0fc3(_0x4e029e,_0x29e5e2);_0x222861[_0x50d7ac(0x3d3)](_0x479488,_0x2b462d)['setDisplayName'](_0x405794['id'],_0x3a9c16);const _0x16a495=_0x1df13a['getTableFieldById'](_0x42a632);if(!_0x16a495)return!0x1;_0x1df13a[_0x50d7ac(0x483)](_0x16a495[_0x50d7ac(0x3a8)](),_0x3a9c16),_0x405794[_0x50d7ac(0x292)](_0x29e5e2);const _0x1b6579=_0x222861[_0x50d7ac(0x30e)](_0x479488,_0x2631ad,_0x2b462d);return _0x222861[_0x50d7ac(0x468)]({'unitId':_0x479488,'subUnitId':_0x2631ad,'token':_0x2b462d,'type':_0x208bc1['Set'],'pivotConfig':_0x1b6579}),!0x0;}},_0x40ca0a={'id':_0x4483a8(0x43b),'type':_0x35bf85[_0x4483a8(0x4a6)][_0x4483a8(0x457)],'handler':(_0x2a18e9,_0x2f3034)=>{const _0x165e5e=_0x4483a8;if(!_0x2f3034)return!0x1;const _0x391798=_0x2a18e9[_0x165e5e(0x350)](_0x35bf85[_0x165e5e(0x324)]),{unitId:_0x45b027,subUnitId:_0x3d77cf,pivotTableId:_0x3d9393,tableFieldId:_0x594b71}=_0x2f3034,_0xb9e95b=[],_0x30817b=[],_0x41a3c7=_0x2a18e9['get'](_0x5b9ff4['SheetsPivotTableConfigModel']),_0x2c1f9b=_0x41a3c7[_0x165e5e(0x3d3)](_0x45b027,_0x3d9393),_0x4d4fb0=_0x41a3c7[_0x165e5e(0x30e)](_0x45b027,_0x3d77cf,_0x3d9393);if(!(_0x4d4fb0!=null&&_0x4d4fb0[_0x165e5e(0x1b6)][_0x165e5e(0x336)]))return!0x1;const _0x1d8ae6=Object['values'](_0x4d4fb0[_0x165e5e(0x1b6)][_0x165e5e(0x336)])[_0x165e5e(0x32c)](_0x42edda=>_0x42edda['id']===_0x594b71);if(!_0x1d8ae6)return!0x1;const _0x1a2fe4=_0x1d8ae6[_0x165e5e(0x206)];if(!(_0x2c1f9b!=null&&_0x2c1f9b[_0x165e5e(0x1b0)]))return!0x1;const _0x567c4c=Object[_0x165e5e(0x46d)](_0x2c1f9b==null?void 0x0:_0x2c1f9b[_0x165e5e(0x1b0)])[_0x165e5e(0x32c)](_0x20d73f=>_0x20d73f['id']===_0x1a2fe4);if(!_0x567c4c)return!0x1;_0x3c6b65[_0x165e5e(0x46b)](_0x567c4c)&&_0xb9e95b[_0x165e5e(0x1a4)]({'id':_0x42924a['id'],'params':{..._0x2f3034,'dateType':_0x567c4c[_0x165e5e(0x276)]}}),_0x30817b[_0x165e5e(0x1a4)]({'id':_0x42924a['id'],'params':{..._0x2f3034}});const _0x575cda=_0x2a18e9[_0x165e5e(0x350)](_0x35bf85[_0x165e5e(0x3cd)]);return _0x35bf85[_0x165e5e(0x3ff)](_0x30817b,_0x575cda)&&_0x391798[_0x165e5e(0x19b)]({'unitID':_0x45b027,'undoMutations':_0xb9e95b,'redoMutations':_0x30817b}),!0x0;}};var _0x5f318f=Object[_0x4483a8(0x284)],_0x2db531=(_0x136288,_0x56bfda,_0x31e46a,_0x2979bc)=>{const _0x443881=_0x4483a8;for(var _0x14c9ce=_0x2979bc>0x1?void 0x0:_0x2979bc?_0x5f318f(_0x56bfda,_0x31e46a):_0x56bfda,_0x1ac36a=_0x136288[_0x443881(0x41b)]-0x1,_0x308fff;_0x1ac36a>=0x0;_0x1ac36a--)(_0x308fff=_0x136288[_0x1ac36a])&&(_0x14c9ce=_0x308fff(_0x14c9ce)||_0x14c9ce);return _0x14c9ce;},_0x218601=(_0x49207e,_0x17d169)=>(_0x3deaf6,_0x24527f)=>_0x17d169(_0x3deaf6,_0x24527f,_0x49207e);const _0x4d6658=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x51eb45=(_0x33f3ec,_0xf65c12,_0x9e149b)=>{const _0x33c5c0=_0x4483a8,_0x1d900f=_0x33f3ec['dataFieldsCollection'];_0x33f3ec['iterateFieldDim'](_0x2bcf8f=>{const _0x28d63a=_0x4bfe,_0x3756f7=_0x2bcf8f[_0x28d63a(0x3a8)](),_0x3879f2=_0x2bcf8f[_0x28d63a(0x219)](),_0x3d3bc3=_0x2bcf8f[_0x28d63a(0x414)](),_0x593c11=_0x2bcf8f[_0x28d63a(0x4a3)]();_0xf65c12[_0x3879f2]&&_0xf65c12[_0x3879f2]===_0x593c11&&_0x3d3bc3===_0x593c11&&(_0x33f3ec['renameField'](_0x3756f7,_0x1d900f[_0x28d63a(0x4a3)](_0x3879f2)),_0x2bcf8f[_0x28d63a(0x421)](_0x1d900f[_0x28d63a(0x4a3)](_0x3879f2)));}),_0x33f3ec[_0x33c5c0(0x43a)](_0x3c6b65[_0x33c5c0(0x309)]['Value'],_0x4ca48b=>{const _0x1409be=_0x33c5c0,_0x1dab16=_0x4ca48b[_0x1409be(0x3a8)](),_0x277f94=_0x4ca48b[_0x1409be(0x219)](),_0x7e16c=_0x4ca48b[_0x1409be(0x414)](),_0x5cc0ce=_0x4ca48b[_0x1409be(0x4a3)](),_0x3c9911=_0x4ca48b[_0x1409be(0x1fe)](),_0x2e5986=_0x9e149b(_0x7e16c,_0x3c9911);_0xf65c12[_0x277f94]&&_0xf65c12[_0x277f94]===_0x7e16c&&_0x2e5986===_0x5cc0ce&&(_0x33f3ec[_0x1409be(0x483)](_0x1dab16,_0x9e149b(_0x1d900f['getDisplayName'](_0x277f94),_0x3c9911)),_0x4ca48b['setSourceName'](_0x1d900f[_0x1409be(0x4a3)](_0x277f94)));});},_0x22d069=(_0x349397,_0x169dcd,_0x244326)=>{const _0x1b9f8f=_0x4483a8;var _0x20ed7b,_0x37ad3a;const {arrayFormulaCellData:_0x5ab1b5,unitData:_0xf53130}=_0x169dcd,{unitId:_0x2fd1b1,subUnitId:_0x1342ec}=_0x244326,_0x506295=_0x244326[_0x1b9f8f(0x335)],{startColumn:_0x1bf5dc,endColumn:_0x53bb8e}=_0x506295,_0xdb6ab4=(_0x20ed7b=_0x5ab1b5==null?void 0x0:_0x5ab1b5[_0x2fd1b1])==null?void 0x0:_0x20ed7b[_0x1342ec],_0x241405=(_0x37ad3a=_0xf53130==null?void 0x0:_0xf53130[_0x2fd1b1])==null?void 0x0:_0x37ad3a[_0x1342ec],_0x561b78=new Set(),_0x387e6f=_0x53bb8e-_0x1bf5dc+0x1,{dirtyRanges:_0x3ad903}=_0x349397;if(_0x3ad903)for(const {range:_0x2629e0,sheetId:_0x52af0,unitId:_0x38e9bc}of _0x3ad903){if(_0x52af0!==_0x1342ec||_0x2fd1b1!==_0x38e9bc)continue;const _0x2a43ac=_0x35bf85[_0x1b9f8f(0x263)][_0x1b9f8f(0x3e1)](_0x2629e0,_0x506295);if(_0x2a43ac){const {startColumn:_0x3f9b49,endColumn:_0x4e57c8}=_0x2a43ac;for(let _0x19c204=_0x3f9b49;_0x19c204<=_0x4e57c8;_0x19c204++)_0x561b78[_0x1b9f8f(0x36c)](_0x19c204);}}if(_0x561b78['size']===_0x387e6f||_0x561b78[_0x1b9f8f(0x1a5)]===_0x387e6f)return Array[_0x1b9f8f(0x23c)](_0x561b78);if(_0x241405){const _0x3c8b91=_0x241405[_0x1b9f8f(0x235)](),_0x1680c0=Object[_0x1b9f8f(0x469)](_0x3c8b91);for(const _0x5ef1e5 of _0x1680c0){const _0x27e93f=Number(_0x5ef1e5),_0x47763f=_0x3c8b91[_0x27e93f];if(_0x561b78[_0x1b9f8f(0x1a5)]===_0x387e6f)break;for(const _0x1f262f in _0x47763f){const _0x1025c8=Number(_0x1f262f);_0x1025c8<_0x1bf5dc||_0x1025c8>_0x53bb8e||_0x561b78[_0x1b9f8f(0x36c)](_0x1025c8);}}}if(_0xdb6ab4){const _0x28a0c6=_0xdb6ab4['getMatrix'](),_0x5b5ded=Object[_0x1b9f8f(0x469)](_0x28a0c6);for(const _0x61e2c8 of _0x5b5ded){const _0xeba4dd=Number(_0x61e2c8),_0x2c6939=_0x28a0c6[_0xeba4dd];if(_0x561b78['size']===_0x387e6f)break;for(const _0x16746c in _0x2c6939){const _0x991e90=Number(_0x16746c);_0x991e90<_0x1bf5dc||_0x991e90>_0x53bb8e||_0x561b78['add'](_0x991e90);}}}return Array[_0x1b9f8f(0x23c)](_0x561b78);},_0x18587e=_0x532f2d=>{const _0x403c57=_0x4483a8,_0x4b99ef=new Set(),_0x10864e=[];for(const _0x2494f9 of _0x532f2d){const _0x18bfa9=_0x2494f9['startRow']+','+_0x2494f9[_0x403c57(0x2a6)]+','+_0x2494f9[_0x403c57(0x367)]+','+_0x2494f9[_0x403c57(0x287)];_0x4b99ef['has'](_0x18bfa9)||(_0x4b99ef[_0x403c57(0x36c)](_0x18bfa9),_0x10864e['push'](_0x2494f9));}return _0x10864e;};let _0x54f15d=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x5e6e09,_0x26279f,_0x3b091c,_0x37b0db,_0x1af93e,_0x181cb6){const _0x12e251=_0x4483a8;super(),_0x209b81(this,'_globalSubject',new _0x47c984[(_0x12e251(0x20a))](!0x0)),_0x209b81(this,_0x12e251(0x255),_0xdac2cd=>{const _0x43016a=_0x12e251;this[_0x43016a(0x419)]['next'](!0x1);}),_0x209b81(this,_0x12e251(0x25b),_0x2c3ea0=>{const _0x2d9ee5=_0x12e251;this[_0x2d9ee5(0x419)][_0x2d9ee5(0x47c)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x5e6e09,this[_0x12e251(0x208)]=_0x26279f,this['_featureCalculationManagerService']=_0x3b091c,this[_0x12e251(0x1a3)]=_0x37b0db,this[_0x12e251(0x39a)]=_0x1af93e,this[_0x12e251(0x204)]=_0x181cb6,this[_0x12e251(0x3b4)](),this[_0x12e251(0x449)]());}['_init'](){const _0x124cca=_0x4483a8;this[_0x124cca(0x436)](),this['_subjectViewChange'](),this[_0x124cca(0x30f)](),this[_0x124cca(0x2ae)]();}[_0x4483a8(0x1c4)](){const _0x1b3fe8=_0x4483a8;this['_globalComputingSrv'][_0x1b3fe8(0x1b1)](this[_0x1b3fe8(0x419)]),_0x3c6b65[_0x1b3fe8(0x25a)][_0x1b3fe8(0x1cc)](_0x3c6b65[_0x1b3fe8(0x348)][_0x1b3fe8(0x491)],this[_0x1b3fe8(0x255)]),_0x3c6b65[_0x1b3fe8(0x25a)][_0x1b3fe8(0x1cc)](_0x3c6b65[_0x1b3fe8(0x348)][_0x1b3fe8(0x3b1)],this[_0x1b3fe8(0x25b)]);}[_0x4483a8(0x449)](){const _0x509c97=_0x4483a8;this[_0x509c97(0x3e2)](this[_0x509c97(0x1a3)][_0x509c97(0x1e0)](_0x4d4e6d=>{const _0x2d6714=_0x509c97;_0x4d4e6d['id']===_0x4c8da1['MoveRangeMutation']['id']&&this[_0x2d6714(0x2c7)]['handleMoveRange'](_0x4d4e6d[_0x2d6714(0x2ca)]);})),this[_0x509c97(0x3e2)](this[_0x509c97(0x1a3)]['onCommandExecuted'](_0x5e1c86=>{const _0x308438=_0x509c97;if(_0x5e1c86['id']!==_0x5ab2e3['id'])return;const _0x59e782=_0x5e1c86[_0x308438(0x2ca)],{unitId:_0x507847,subUnitId:_0x312e2b,pivotTableId:_0x5db876}=_0x59e782,_0x315605=_0x59e782[_0x308438(0x2ca)][_0x308438(0x282)],_0x2e69ee={};switch(_0x315605){case _0xe0c21a[_0x308438(0x2a1)]:{const _0x4d449c=_0x59e782[_0x308438(0x2ca)][_0x308438(0x3d5)];if(!_0x4d449c)return;const {row:_0x193bd6,col:_0x2271f4,cellData:_0x5f05c0,pivotItemRenderInfoCache:_0x265ac9,tableFieldId:_0x34e586}=_0x4d449c,_0x450542=this['_sheetsPivotDataSourceModel'][_0x308438(0x373)](_0x59e782['pivotTableId']);if(!_0x450542||!_0x265ac9)return;if(_0x34e586){const _0x168c6d=_0x450542[_0x308438(0x1a6)](_0x34e586);if(!_0x168c6d)return;_0x2e69ee['filter']={..._0x450542[_0x308438(0x428)](_0x168c6d),'tableFieldId':_0x34e586,'pivotTableId':_0x59e782[_0x308438(0x230)],'filterInfo':_0x450542['getFilterInfo'](_0x34e586),'sortInfo':_0x450542[_0x308438(0x3e9)](_0x34e586),'format':_0x450542[_0x308438(0x476)](_0x34e586)};}else{const _0x208414=_0xde4144(_0x193bd6,_0x2271f4,_0x5f05c0,_0x450542,_0x265ac9),_0x58d225=_0x208414==null?void 0x0:_0x208414[_0x308438(0x22f)];if(!_0x58d225)return;const _0x3d88a8=_0x450542[_0x308438(0x1a6)](_0x58d225);if(!_0x3d88a8)return;_0x2e69ee['filter']={..._0x450542[_0x308438(0x428)](_0x3d88a8),'tableFieldId':_0x58d225,'pivotTableId':_0x59e782[_0x308438(0x230)],'filterInfo':_0x450542[_0x308438(0x2c6)](_0x58d225),'sortInfo':_0x450542[_0x308438(0x3e9)](_0x58d225),'format':_0x450542[_0x308438(0x476)](_0x58d225)};}}break;case _0xe0c21a[_0x308438(0x3a6)]:{const _0x34f007=_0x59e782[_0x308438(0x2ca)]['panel'];if(!_0x34f007)return;const {pivotTableId:_0xaa0cf4}=_0x34f007,_0x116b7a=this[_0x308438(0x2c7)][_0x308438(0x373)](_0xaa0cf4);if(!_0x116b7a)return;const _0x4087f3=this[_0x308438(0x2c7)]['getPivotTableConfig'](_0x507847,_0x312e2b,_0xaa0cf4),_0xe4e410=_0x1a896d(_0x116b7a,_0xaa0cf4,_0x4087f3);_0x2e69ee[_0x308438(0x313)]=_0xe4e410;}break;case _0xe0c21a[_0x308438(0x257)]:{const _0xb119da=this[_0x308438(0x2c7)]['getPivotTableInstance'](_0x5db876),_0x36ed5c=this['_sheetsPivotDataSourceModel'][_0x308438(0x31f)](_0x507847),_0x4a930b=_0x36ed5c['getCollection'](_0x5db876);let _0xfda8de=null;const _0x4fb541=this['_sheetsPivotDataSourceModel'][_0x308438(0x30e)](_0x507847,_0x312e2b,_0x5db876),_0x50c461=_0x59e782['params'][_0x308438(0x49e)];if(!_0xb119da||!_0x4fb541||!_0x50c461)return!0x1;const {dataFieldId:_0xe0c7f4,fieldArea:_0x39cfde,index:_0x5c8a37}=_0x50c461;_0xb119da[_0x308438(0x3e8)]();const _0x83031a=_0xb119da[_0x308438(0x2f0)](_0xe0c7f4,_0x39cfde,_0x5c8a37);if(_0x83031a&&_0x39cfde===_0x3c6b65[_0x308438(0x309)]['Value']){const _0x4d537f=_0x83031a[_0x308438(0x3a8)](),_0x5bc780=_0xb119da[_0x308438(0x1a6)](_0x4d537f);if(_0x5bc780){const _0x57cd99=_0x5bc780==null?void 0x0:_0x5bc780[_0x308438(0x3a0)]();_0xb119da[_0x308438(0x461)](_0x83031a[_0x308438(0x3a8)](),_0x57cd99===_0x3c6b65[_0x308438(0x195)][_0x308438(0x3ee)]?_0x3c6b65[_0x308438(0x234)]['sum']:_0x3c6b65['PivotSubtotalTypeEnum'][_0x308438(0x328)]);}const _0x2000fb=_0xb119da['getValueIndex'](),_0x5e0aca=_0xb119da[_0x308438(0x37a)](),_0x3e002e=_0xb119da[_0x308438(0x4a1)](_0x3c6b65[_0x308438(0x309)][_0x308438(0x200)]);if(_0x2000fb===-0x1&&_0x3e002e>0x1){const _0x2d5765=_0x5e0aca===_0x3c6b65['PivotTableValuePositionEnum']['None']?_0x3c6b65[_0x308438(0x4a7)][_0x308438(0x32f)]:_0x5e0aca,_0x460ee9=_0x2d5765===_0x3c6b65[_0x308438(0x4a7)][_0x308438(0x410)]?_0x3c6b65[_0x308438(0x309)][_0x308438(0x410)]:_0x3c6b65[_0x308438(0x309)][_0x308438(0x32f)];_0xb119da[_0x308438(0x2fc)](_0x2d5765,_0xb119da['getFieldCountByArea'](_0x460ee9));}}else{if(_0x83031a&&(_0x39cfde===_0x3c6b65[_0x308438(0x309)][_0x308438(0x410)]||_0x39cfde===_0x3c6b65[_0x308438(0x309)][_0x308438(0x32f)])){const _0x3c047b=_0x83031a[_0x308438(0x3a8)](),_0x1efb2b=_0xb119da['getDataFieldByTableId'](_0x3c047b);if(_0x1efb2b&&(_0x1efb2b==null?void 0x0:_0x1efb2b['getFieldDataType']())===_0x3c6b65[_0x308438(0x195)]['date']){const _0xb23e0f=_0x1efb2b[_0x308438(0x227)]();if(_0xb23e0f&&_0xb119da[_0x308438(0x283)](_0x83031a['getId'](),_0xb23e0f),!_0x4a930b['getFieldIds']()[_0x308438(0x364)](_0x1f42d4=>{const _0x2eb5c3=_0x308438,_0x14d77f=_0x4a930b[_0x2eb5c3(0x2b1)](_0x1f42d4);return _0x3c6b65[_0x2eb5c3(0x192)](_0x14d77f)?_0x14d77f[_0x2eb5c3(0x261)]()['originalFieldId']===_0xe0c7f4:!0x1;})){const _0x43c142=_0x36ed5c['createDataFieldId'](),_0x2bd6c5=_0x5bf2ed(_0x1efb2b[_0x308438(0x24e)],_0x1efb2b[_0x308438(0x3eb)]),_0xd82e37=_0x1efb2b['getName']()+'\x20-\x20'+_0x5d0fc3(this[_0x308438(0x204)],_0x2bd6c5),_0x5c73eb=new _0x3c6b65[(_0x308438(0x338))](_0x43c142,_0xd82e37,_0x3c6b65[_0x308438(0x27a)](0x3),_0x1efb2b['getId'](),_0x2bd6c5);_0x36ed5c[_0x308438(0x288)](_0x5c73eb),_0x4a930b[_0x308438(0x4a2)](_0x43c142,_0xd82e37),_0xb119da[_0x308438(0x2f0)](_0x43c142,_0x39cfde,(_0x5c8a37!=null?_0x5c8a37:0x0)+0x1),_0xfda8de=_0x5c73eb;}}}}const _0x2311a2=_0xb119da[_0x308438(0x1a7)](),_0x339eef=_0xb119da[_0x308438(0x1e9)]()[_0x308438(0x2a8)]();let _0x38bde5;if(_0xfda8de){_0x38bde5=_0xfda8de[_0x308438(0x2a8)]();const _0x3b4152=_0xfda8de[_0x308438(0x3a8)]();_0x4a930b[_0x308438(0x253)](_0x3b4152);let _0x1d54fb=!0x0;for(const _0x139bb4 in _0x36ed5c[_0x308438(0x332)])if(_0x36ed5c[_0x308438(0x332)][_0x139bb4][_0x308438(0x36a)]()[_0x308438(0x1e5)](_0x3b4152)){_0x1d54fb=!0x1;break;}_0x1d54fb&&_0x36ed5c['deleteDataField'](_0x3b4152);}const _0x47dfcb=_0xb119da[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x49e)]={'view':_0x339eef,'changesets':_0x47dfcb,'isEmpty':_0x2311a2,'pivotTableConfig':_0x4fb541,'shouldBeAddedGroupJSON':_0x38bde5};}break;case _0xe0c21a[_0x308438(0x27c)]:{const _0x4e226e=_0x59e782['params'][_0x308438(0x34a)];if(!_0x4e226e)return;const _0x82615e=_0x4e226e[_0x308438(0x30c)],_0x140861=_0x4e226e[_0x308438(0x230)],{collection:_0x5b72ce}=this[_0x308438(0x2c7)][_0x308438(0x3ed)]({'unitId':_0x82615e['unitId'],'sheetName':_0x82615e[_0x308438(0x1c2)],'subUnitId':_0x82615e['subUnitId'],'range':_0x82615e[_0x308438(0x335)]}),_0x4e1f9e=new _0x3c6b65[(_0x308438(0x25a))](_0x5b72ce,void 0x0,_0x140861),_0x166d2f=_0x4e1f9e['query'](),_0x7b0b9b=_0x4e1f9e[_0x308438(0x2a8)](),_0x3d284f=_0x5b72ce['toJSON']();_0x2e69ee['addPivotTable']={'view':_0x166d2f,'fieldsConfig':_0x7b0b9b,'collectionConfig':_0x3d284f,'isEmpty':_0x4e1f9e[_0x308438(0x1a7)]()};}break;case _0xe0c21a[_0x308438(0x26a)]:{const _0x6cf981=_0x59e782[_0x308438(0x2ca)][_0x308438(0x453)];if(!_0x6cf981)return;const {fieldId:_0x5248ef,area:_0x16987d,index:_0x5cb599}=_0x6cf981,_0x3899f1=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x507847,_0x312e2b,_0x5db876);if(!_0x3899f1)return;const _0x584ead=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x5db876);if(!_0x584ead)return;_0x584ead[_0x308438(0x3e8)]();const {area:_0x51f32f,index:_0x385b36}=_0x584ead[_0x308438(0x1d7)](_0x5248ef);if(_0x584ead[_0x308438(0x1d2)](_0x5248ef,_0x16987d,_0x5cb599),_0x16987d===_0x3c6b65[_0x308438(0x309)][_0x308438(0x200)]&&_0x584ead[_0x308438(0x226)](_0x5248ef)[_0x308438(0x1fe)]()===void 0x0){const _0x33c642=_0x584ead[_0x308438(0x226)](_0x5248ef);if(_0x33c642&&_0x33c642[_0x308438(0x1fe)]()===void 0x0){const _0x430462=_0x584ead['getDataFieldByTableId'](_0x5248ef);if(_0x430462){const _0x1705eb=_0x430462==null?void 0x0:_0x430462[_0x308438(0x3a0)]();_0x584ead[_0x308438(0x461)](_0x5248ef,_0x1705eb===_0x3c6b65[_0x308438(0x195)][_0x308438(0x3ee)]?_0x3c6b65[_0x308438(0x234)]['sum']:_0x3c6b65[_0x308438(0x234)][_0x308438(0x328)]);}}}const _0x210476=_0x584ead['getValuePosition'](),_0x1db66f=_0x584ead[_0x308438(0x289)](),_0x1dfa80=_0x584ead[_0x308438(0x4a1)](_0x3c6b65[_0x308438(0x309)][_0x308438(0x200)])>0x1;if(_0x1dfa80&&_0x51f32f===_0x16987d&&(_0x16987d===_0x3c6b65[_0x308438(0x309)][_0x308438(0x410)]&&_0x210476===_0x3c6b65[_0x308438(0x4a7)][_0x308438(0x410)]||_0x16987d===_0x3c6b65[_0x308438(0x309)]['Column']&&_0x210476===_0x3c6b65[_0x308438(0x4a7)][_0x308438(0x32f)])){let _0x2f8f54=_0x1db66f;_0x385b36<=_0x1db66f&&_0x2f8f54--,_0x5cb599<=_0x1db66f&&_0x2f8f54++,_0x584ead[_0x308438(0x2fc)](_0x210476,_0x2f8f54);}else _0x1dfa80&&(_0x51f32f===_0x3c6b65['PivotTableFiledAreaEnum'][_0x308438(0x410)]&&_0x210476===_0x3c6b65[_0x308438(0x4a7)][_0x308438(0x410)]||_0x51f32f===_0x3c6b65[_0x308438(0x309)][_0x308438(0x32f)]&&_0x210476===_0x3c6b65[_0x308438(0x4a7)][_0x308438(0x32f)])&&_0x1db66f>=_0x385b36&&_0x584ead[_0x308438(0x2fc)](_0x210476,_0x1db66f-0x1),_0x1dfa80&&(_0x16987d===_0x3c6b65['PivotTableFiledAreaEnum']['Row']&&_0x210476===_0x3c6b65['PivotTableValuePositionEnum'][_0x308438(0x410)]||_0x16987d===_0x3c6b65[_0x308438(0x309)][_0x308438(0x32f)]&&_0x210476===_0x3c6b65['PivotTableValuePositionEnum'][_0x308438(0x32f)])&&_0x1db66f>=_0x5cb599&&_0x584ead[_0x308438(0x2fc)](_0x210476,_0x1db66f+0x1);const _0x330803=_0x584ead[_0x308438(0x1e9)](),_0xd93022=_0x584ead['isEmpty'](),_0x2e3cb3=_0x584ead['endCollectChangeset']();_0x2e69ee[_0x308438(0x453)]={'view':_0x330803['toJSON'](),'changesets':_0x2e3cb3,'isEmpty':_0xd93022,'pivotTableConfig':_0x3899f1};}break;case _0xe0c21a[_0x308438(0x18e)]:{const _0x909408=_0x59e782[_0x308438(0x2ca)][_0x308438(0x4a5)];if(!_0x909408)return;const _0x3c5008=_0x909408[_0x308438(0x34e)],_0x3a652a=this[_0x308438(0x2c7)]['getPivotTableConfig'](_0x507847,_0x312e2b,_0x5db876);if(!_0x3a652a)return!0x1;const _0x5cfd6d=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876);if(!_0x5cfd6d)return!0x1;_0x5cfd6d['startCollectChangeset']();for(const _0x3839f8 of _0x3c5008){const {area:_0x5ab161}=_0x5cfd6d[_0x308438(0x1d7)](_0x3839f8);_0x5ab161===_0x3c6b65[_0x308438(0x309)][_0x308438(0x200)]&&_0x5cfd6d[_0x308438(0x2de)](_0x3839f8),(_0x5ab161===_0x3c6b65[_0x308438(0x309)]['Row']||_0x5ab161===_0x3c6b65['PivotTableFiledAreaEnum'][_0x308438(0x32f)])&&_0x5cfd6d[_0x308438(0x2e3)](_0x3839f8),_0x5cfd6d[_0x308438(0x1d1)](_0x3839f8);}const _0x6e5ff9=_0x5cfd6d[_0x308438(0x1a7)](),_0x158528=_0x5cfd6d[_0x308438(0x1e9)]()[_0x308438(0x2a8)](),_0x30a37f=_0x5cfd6d[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x4a5)]={'changesets':_0x30a37f,'pivotTableConfig':_0x3a652a,'isEmpty':_0x6e5ff9,'view':_0x158528};}break;case _0xe0c21a[_0x308438(0x275)]:{const _0x353023=_0x59e782['params']['setPivotFilter'];if(!_0x353023)return;const {tableFieldId:_0x288f42,items:_0xaaa244,isAll:_0x6d57da}=_0x353023,_0x3dca76=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876),_0x341872=this['_sheetsPivotDataSourceModel'][_0x308438(0x30e)](_0x507847,_0x312e2b,_0x5db876);if(!_0x3dca76||!_0x341872)return;_0x3dca76[_0x308438(0x3e8)](),_0x3dca76[_0x308438(0x361)](_0x288f42,{'type':_0x3c6b65['PivotFilterTypeEnum'][_0x308438(0x1db)],'list':_0xaaa244,'isAll':_0x6d57da});const _0x34ac0a=_0x3dca76[_0x308438(0x1a7)](),_0x255038=_0x3dca76['query']()[_0x308438(0x2a8)](),_0x2c01ab=_0x3dca76[_0x308438(0x464)]();_0x2e69ee['setPivotFilter']={'view':_0x255038,'changesets':_0x2c01ab,'isEmpty':_0x34ac0a,'pivotTableConfig':_0x341872};}break;case _0xe0c21a[_0x308438(0x371)]:{const _0x940bdc=_0x59e782['params']['setValuePivotFilter'];if(!_0x940bdc)return;const {tableFieldId:_0x1db9eb,filterInfo:_0x6d3ada}=_0x940bdc,_0x419a58=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876),_0x45f9b0=this[_0x308438(0x2c7)][_0x308438(0x30e)](_0x507847,_0x312e2b,_0x5db876);if(!_0x419a58||!_0x45f9b0)return;_0x419a58[_0x308438(0x3e8)](),_0x419a58[_0x308438(0x301)](_0x1db9eb,_0x6d3ada);const _0x39d512=_0x419a58[_0x308438(0x1a7)](),_0x54e9f3=_0x419a58[_0x308438(0x1e9)]()[_0x308438(0x2a8)](),_0x1ee057=_0x419a58[_0x308438(0x464)]();_0x2e69ee['setValuePivotFilter']={'view':_0x54e9f3,'changesets':_0x1ee057,'isEmpty':_0x39d512,'pivotTableConfig':_0x45f9b0};}break;case _0xe0c21a['SetPivotSort']:{const _0x4f6182=_0x59e782['params'][_0x308438(0x2a9)];if(!_0x4f6182)return;const {tableFieldId:_0x1ba199,info:_0x4d66d6}=_0x4f6182,_0x4d0229=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876),_0x32f9f9=this[_0x308438(0x2c7)][_0x308438(0x30e)](_0x507847,_0x312e2b,_0x5db876);if(!_0x4d0229||!_0x32f9f9)return;_0x4d0229['startCollectChangeset'](),_0x4d0229['setSortInfo'](_0x1ba199,_0x4d66d6);const _0x22ac63=_0x4d0229[_0x308438(0x1a7)](),_0x3b98e2=_0x4d0229[_0x308438(0x1e9)]()['toJSON'](),_0x86e953=_0x4d0229[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x2a9)]={'view':_0x3b98e2,'changesets':_0x86e953,'isEmpty':_0x22ac63,'pivotTableConfig':_0x32f9f9};}break;case _0xe0c21a[_0x308438(0x49f)]:{const _0x364588=_0x59e782[_0x308438(0x2ca)][_0x308438(0x325)];if(!_0x364588)return;const {tableFieldId:_0x49bdd9,displayName:_0x4a6303,subtotalType:_0x3fbc0f,format:_0x205edf}=_0x364588,_0x5833b8=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876),_0x5e52c8=this[_0x308438(0x2c7)][_0x308438(0x30e)](_0x507847,_0x312e2b,_0x5db876);if(!_0x5833b8||!_0x5e52c8)return;_0x5833b8[_0x308438(0x3e8)](),_0x4a6303!==void 0x0&&_0x5833b8['renameField'](_0x49bdd9,_0x4a6303),_0x3fbc0f!==void 0x0&&_0x5833b8['setSubtotalType'](_0x49bdd9,_0x3fbc0f),_0x205edf!==void 0x0&&_0x5833b8[_0x308438(0x283)](_0x49bdd9,_0x205edf);const _0x308df1=_0x5833b8[_0x308438(0x1a7)](),_0x380617=_0x5833b8[_0x308438(0x1e9)]()[_0x308438(0x2a8)](),_0x53f111=_0x5833b8[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x325)]={'changesets':_0x53f111,'pivotTableConfig':_0x5e52c8,'isEmpty':_0x308df1,'view':_0x380617};}break;case _0xe0c21a[_0x308438(0x45e)]:{const _0x2dd111=_0x59e782[_0x308438(0x2ca)][_0x308438(0x409)];if(!_0x2dd111)return;const {dataRangeInfo:_0x63112e,unitId:_0x377c7a,subUnitId:_0x425e40}=_0x2dd111,_0x358c72=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x377c7a,_0x425e40,_0x5db876),_0x25299a=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876);if(!this[_0x308438(0x2c7)]['getCollection'](_0x377c7a,_0x5db876)||!_0x25299a||!_0x358c72)return;const _0x2b0182=this[_0x308438(0x2c7)][_0x308438(0x310)](_0x377c7a,_0x5db876,_0x63112e),_0x2bd5de=this[_0x308438(0x2c7)][_0x308438(0x3d3)](_0x377c7a,_0x5db876)['toJSON'](),{collection:_0x227220}=this['_sheetsPivotDataSourceModel'][_0x308438(0x3ed)]({'unitId':_0x63112e['unitId'],'sheetName':_0x63112e['sheetName'],'subUnitId':_0x63112e['subUnitId'],'range':_0x63112e[_0x308438(0x335)]}),_0x848bfb=_0x227220[_0x308438(0x2a8)]();_0x25299a[_0x308438(0x3e8)]();const _0x5e796f=this[_0x308438(0x2c7)][_0x308438(0x31f)](_0x377c7a)[_0x308438(0x46e)]()||_0x3c6b65[_0x308438(0x452)];_0x25299a[_0x308438(0x2e4)](_0x1e4415=>{const _0x3bfd1d=_0x308438,_0x5c4f96=_0x1e4415['getDataFieldId']();if(!_0x227220[_0x3bfd1d(0x2cb)](_0x5c4f96)){const _0x2ca215=_0x227220[_0x3bfd1d(0x19a)](_0x1e4415[_0x3bfd1d(0x414)]());if(_0x2ca215){_0x25299a[_0x3bfd1d(0x264)](_0x1e4415[_0x3bfd1d(0x3a8)](),_0x2ca215[_0x3bfd1d(0x3e5)](),_0x2ca215['getId']());const {area:_0x167fe4}=_0x25299a[_0x3bfd1d(0x1d7)](_0x1e4415[_0x3bfd1d(0x3a8)]());let _0x5e61fb=_0x1e4415[_0x3bfd1d(0x414)]();const _0x1fcc48=_0x1e4415[_0x3bfd1d(0x4a3)]();if(_0x167fe4===_0x3c6b65[_0x3bfd1d(0x309)][_0x3bfd1d(0x200)]){const _0x32adbe=_0x1e4415['getSubtotal']();_0x5e61fb=_0x5e796f(_0x2ca215['getName'](),_0x32adbe);}_0x1fcc48!==_0x5e61fb&&_0x25299a[_0x3bfd1d(0x483)](_0x1e4415[_0x3bfd1d(0x3a8)](),_0x5e61fb);}else _0x25299a[_0x3bfd1d(0x1d1)](_0x1e4415['getId']());}});const _0x1bae3d=_0x25299a['isEmpty'](),_0x4e8a77=_0x25299a[_0x308438(0x1e9)]()[_0x308438(0x2a8)](),_0x5a4bab=_0x25299a[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x409)]={'view':_0x4e8a77,'changesets':_0x5a4bab,'isEmpty':_0x1bae3d,'pivotTableConfig':_0x358c72,'collectionConfig':_0x848bfb,'oldCollectionConfig':_0x2bd5de,'deleteIds':_0x2b0182};}break;case _0xe0c21a[_0x308438(0x18a)]:{const _0x35ebda=_0x59e782['params'][_0x308438(0x2fc)];if(!_0x35ebda)return;const {position:_0xd74ba0,index:_0x47d025}=_0x35ebda,_0x3d58d3=this[_0x308438(0x2c7)][_0x308438(0x30e)](_0x507847,_0x312e2b,_0x5db876);if(!_0x3d58d3)return!0x1;const _0x45b12f=this[_0x308438(0x2c7)]['getPivotTableInstance'](_0x5db876);if(!_0x45b12f)return!0x1;_0x45b12f[_0x308438(0x3e8)](),_0x45b12f[_0x308438(0x2fc)](_0xd74ba0,_0x47d025);const _0x4edecb=_0x45b12f[_0x308438(0x1a7)](),_0x56aead=_0x45b12f[_0x308438(0x1e9)]()[_0x308438(0x2a8)](),_0x3107e3=_0x45b12f[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x2fc)]={'changesets':_0x3107e3,'pivotTableConfig':_0x3d58d3,'isEmpty':_0x4edecb,'view':_0x56aead};}break;case _0xe0c21a[_0x308438(0x496)]:{const _0x307026=_0x59e782[_0x308438(0x2ca)][_0x308438(0x2f1)];if(!_0x307026)return;const {tableFieldId:_0x436619,collapse:_0x124d97,item:_0x387e5c}=_0x307026,_0x47fa08=this[_0x308438(0x2c7)]['getPivotTableInstance'](_0x5db876),_0x56f182=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x507847,_0x312e2b,_0x5db876);if(!_0x47fa08||!_0x56f182)return;_0x47fa08[_0x308438(0x3e8)](),_0x47fa08[_0x308438(0x3c5)](_0x436619,_0x124d97,_0x387e5c);const _0x321687=_0x47fa08['isEmpty'](),_0x4b8761=_0x47fa08['query']()[_0x308438(0x2a8)](),_0xa15a8c=_0x47fa08[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x2f1)]={'view':_0x4b8761,'isEmpty':_0x321687,'pivotTableConfig':_0x56f182,'changesets':_0xa15a8c};}break;case _0xe0c21a['SetPivotTableConfig']:{const _0x219841=_0x59e782[_0x308438(0x2ca)]['setPivotTableConfig'];if(!_0x219841)return;const {pivotTableConfig:_0x1936e2}=_0x219841,_0x45ca1f=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876),_0x11700d=this['_sheetsPivotDataSourceModel'][_0x308438(0x30e)](_0x507847,_0x312e2b,_0x5db876);if(!_0x45ca1f||!_0x11700d)return;_0x45ca1f[_0x308438(0x3e8)](),_0x253fd1(_0x45ca1f,_0x1936e2);const _0x2c87a0=_0x45ca1f[_0x308438(0x1a7)](),_0x468343=_0x45ca1f[_0x308438(0x1e9)]()[_0x308438(0x2a8)](),_0x20b685=_0x45ca1f['endCollectChangeset']();_0x2e69ee['setPivotTableConfig']={'view':_0x468343,'isEmpty':_0x2c87a0,'pivotTableConfig':{..._0x11700d,'fieldsConfig':_0x45ca1f[_0x308438(0x2a8)]()},'changesets':_0x20b685};}break;case _0xe0c21a['ResetPivotTable']:{const _0x1bf4c1=_0x59e782[_0x308438(0x2ca)][_0x308438(0x271)];if(!_0x1bf4c1)return;const _0x3c6fd4=this[_0x308438(0x2c7)][_0x308438(0x373)](_0x5db876),_0x388107=this[_0x308438(0x2c7)]['getPivotTableConfig'](_0x507847,_0x312e2b,_0x5db876);if(!_0x3c6fd4||!_0x388107)return;_0x3c6fd4[_0x308438(0x3e8)](),_0x3ccfec(_0x3c6fd4,_0x1bf4c1['resetArea']);const _0xc08850=_0x3c6fd4[_0x308438(0x1e9)]()['toJSON'](),_0xc3334=_0x3c6fd4[_0x308438(0x464)]();_0x2e69ee[_0x308438(0x271)]={'view':_0xc08850,'isEmpty':!0x0,'pivotTableConfig':{..._0x388107,'fieldsConfig':_0x3c6fd4[_0x308438(0x2a8)]()},'changesets':_0xc3334};}break;case _0xe0c21a[_0x308438(0x1b8)]:{const _0x292c02=_0x59e782['params']['addPivotTableWithConfig'];if(!_0x292c02)return;const _0x5f41d3=_0x292c02['sourceRangeInfo'],_0x2a6778=_0x292c02['pivotTableId'],{collection:_0x31dc25}=this[_0x308438(0x2c7)][_0x308438(0x3ed)]({'unitId':_0x5f41d3[_0x308438(0x2ef)],'sheetName':_0x5f41d3[_0x308438(0x1c2)],'subUnitId':_0x5f41d3[_0x308438(0x1cb)],'range':_0x5f41d3['range']}),_0x38592c=new _0x3c6b65[(_0x308438(0x25a))](_0x31dc25,void 0x0,_0x2a6778),_0x598ef8=_0x31dc25['getFieldIds'](),{rows:_0x375403,columns:_0x6f178b,filters:_0x1dff29,values:_0x3cbe8a}=_0x292c02[_0x308438(0x191)];_0x38592c[_0x308438(0x3e8)]();for(const {field:_0x5c84c5,selectedItems:_0x3c4fc9}of _0x375403||[]){const _0x161d64=_0x598ef8[_0x5c84c5];if(_0x161d64){const _0x2f0478=_0x38592c[_0x308438(0x2f0)](_0x161d64,_0x3c6b65['PivotTableFiledAreaEnum'][_0x308438(0x410)]);_0x3c4fc9&&_0x2f0478&&_0x38592c[_0x308438(0x361)](_0x2f0478[_0x308438(0x3a8)](),{'type':_0x3c6b65[_0x308438(0x423)][_0x308438(0x1db)],'list':_0x3c4fc9,'isAll':!0x1});}}for(const {field:_0x2e59a1,selectedItems:_0x4c434d}of _0x6f178b||[]){const _0x2bd93c=_0x598ef8[_0x2e59a1];if(_0x2bd93c){const _0x2ede43=_0x38592c['addFieldWithSourceId'](_0x2bd93c,_0x3c6b65[_0x308438(0x309)]['Column']);_0x4c434d&&_0x2ede43&&_0x38592c[_0x308438(0x361)](_0x2ede43[_0x308438(0x3a8)](),{'type':_0x3c6b65[_0x308438(0x423)][_0x308438(0x1db)],'list':_0x4c434d,'isAll':!0x1});}}for(const {field:_0x2b4b7c,selectedItems:_0x3cb0a4}of _0x1dff29||[]){const _0x5f373a=_0x598ef8[_0x2b4b7c];if(_0x5f373a){const _0x186e68=_0x38592c['addFieldWithSourceId'](_0x5f373a,_0x3c6b65[_0x308438(0x309)][_0x308438(0x2a1)]);_0x3cb0a4&&_0x186e68&&_0x38592c['setLabelFilterInfo'](_0x186e68[_0x308438(0x3a8)](),{'type':_0x3c6b65[_0x308438(0x423)][_0x308438(0x1db)],'list':_0x3cb0a4,'isAll':!0x1});}}for(const {field:_0x1832e8,subTotalType:_0x1ce689,formatString:_0x315f18}of _0x3cbe8a||[]){const _0xe3db15=_0x31dc25[_0x308438(0x2b1)](_0x598ef8[_0x1832e8]);if(!_0xe3db15)continue;const _0x5964dd=_0x598ef8[_0x1832e8];if(_0x5964dd){const _0x4a468b=_0x38592c[_0x308438(0x2f0)](_0x5964dd,_0x3c6b65[_0x308438(0x309)]['Value']);if(_0x4a468b){if(_0x1ce689!==void 0x0){_0x38592c['setSubtotalType'](_0x4a468b[_0x308438(0x3a8)](),_0x1ce689);const _0x5773b3=this[_0x308438(0x2c7)][_0x308438(0x31f)](_0x5f41d3['unitId'])[_0x308438(0x46e)]()||_0x3c6b65['getAutoDisplayName'],_0x37a094=_0x31dc25[_0x308438(0x4a3)](_0x5964dd),_0x1c221a=_0x5773b3(_0x37a094,_0x1ce689);_0x38592c[_0x308438(0x483)](_0x4a468b[_0x308438(0x3a8)](),_0x1c221a);}else{if(_0xe3db15){const _0x8bfdd9=_0xe3db15==null?void 0x0:_0xe3db15['getFieldDataType']();_0x38592c[_0x308438(0x461)](_0x4a468b[_0x308438(0x3a8)](),_0x8bfdd9===_0x3c6b65['PivotDataFieldDataTypeEnum'][_0x308438(0x3ee)]?_0x3c6b65['PivotSubtotalTypeEnum'][_0x308438(0x34b)]:_0x3c6b65[_0x308438(0x234)][_0x308438(0x328)]);}}_0x315f18&&_0x38592c['setFieldFormat'](_0x4a468b['getId'](),_0x315f18);}}}const _0x4edca7=_0x38592c['query'](),_0x2234a2=_0x38592c[_0x308438(0x2a8)](),_0x40d0ad=_0x38592c['isEmpty'](),_0x2c1f71=_0x38592c['endCollectChangeset'](),_0x34d7d2=_0x31dc25[_0x308438(0x2a8)]();_0x2e69ee[_0x308438(0x2eb)]={'view':_0x4edca7,'fieldsConfig':_0x2234a2,'collectionConfig':_0x34d7d2,'isEmpty':_0x40d0ad,'changesets':_0x2c1f71};}break;case _0xe0c21a[_0x308438(0x1b2)]:{const _0x148f63=_0x5a050d(this[_0x308438(0x204)],_0x59e782);if(!_0x148f63)return;const {range:_0x4d4793,sourceSubUnitId:_0x523469,sourceUnitId:_0x334688,formatMap:_0x21eae1,indexes:_0x56dec2}=_0x148f63;_0x2e69ee['drillDown']={'range':_0x4d4793,'sourceSubUnitId':_0x523469,'sourceUnitId':_0x334688,'formatMap':_0x21eae1,'indexes':_0x56dec2};}break;}this[_0x308438(0x1a3)][_0x308438(0x2f8)](_0x487f10['id'],{'version':_0x59e782[_0x308438(0x2cc)],'result':_0x2e69ee},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x3fbe43=_0x4483a8;this['disposeWithMe'](this[_0x3fbe43(0x1a3)][_0x3fbe43(0x1e0)](_0x86474b=>{const _0x201960=_0x3fbe43;if(_0x86474b['id']!==_0x2c61b2['id'])return;const _0x38bf46=_0x86474b[_0x201960(0x2ca)];return this[_0x201960(0x2c7)]['setTextInfo'](_0x38bf46[_0x201960(0x27f)]),!0x0;}));}['_subjectCollectionChange'](){const _0x16886d=_0x4483a8;this[_0x16886d(0x2c7)][_0x16886d(0x24a)][_0x16886d(0x2b6)](_0x5c11d9=>{const _0x3349e8=_0x16886d;switch(_0x5c11d9[_0x3349e8(0x282)]){case _0x5da10e['add']:_0x5c11d9[_0x3349e8(0x2f3)]&&_0x5c11d9[_0x3349e8(0x344)]&&this[_0x3349e8(0x1f9)](_0x5c11d9[_0x3349e8(0x1e3)],_0x5c11d9[_0x3349e8(0x2f3)],_0x5c11d9[_0x3349e8(0x344)]);break;case _0x5da10e['delete']:{const {unitId:_0x521efc,subUnitId:_0x244a8b,token:_0x51ccee}=_0x5c11d9;_0x521efc&&_0x244a8b&&_0x51ccee&&this['removeSourceRangeChange'](_0x521efc,_0x244a8b,_0x51ccee);}break;case _0x5da10e[_0x3349e8(0x342)]:{const {token:_0x2a9050,oldSourceRangeInfo:_0x526bec,dataRangeInfo:_0x1700ac,targetCellInfo:_0x19845b}=_0x5c11d9,{unitId:_0xaf1c46,subUnitId:_0x4a2a65}=_0x526bec||{};_0xaf1c46&&_0x4a2a65&&_0x2a9050&&this[_0x3349e8(0x398)](_0xaf1c46,_0x4a2a65,_0x2a9050),_0x1700ac&&_0x19845b&&this[_0x3349e8(0x1f9)](_0x2a9050,_0x1700ac,_0x19845b);}break;}});}[_0x4483a8(0x2ae)](){const _0x4ac380=_0x4483a8;this[_0x4ac380(0x2c7)][_0x4ac380(0x214)]['subscribe'](_0x3762a5=>{const _0x20cc30=_0x4ac380;Object['keys'](_0x3762a5)[_0x20cc30(0x443)](_0x225a93=>{const _0x27af22=_0x20cc30,_0x25b1c6=this['_sheetsPivotDataSourceModel'][_0x27af22(0x251)](_0x225a93);if(_0x25b1c6){const _0x1f6d36=this['_sheetsPivotDataSourceModel'][_0x27af22(0x30e)](_0x25b1c6==null?void 0x0:_0x25b1c6[_0x27af22(0x2ef)],_0x25b1c6==null?void 0x0:_0x25b1c6[_0x27af22(0x1cb)],_0x225a93);_0x1f6d36&&(this['handleSourceRangeChange'](_0x225a93,_0x1f6d36[_0x27af22(0x30c)],_0x1f6d36[_0x27af22(0x344)]),this[_0x27af22(0x3a2)]([{'unitId':_0x25b1c6[_0x27af22(0x2ef)],'subUnitId':_0x25b1c6[_0x27af22(0x1cb)],'token':_0x225a93}]));}});});}[_0x4483a8(0x422)](){const _0x584ce1=_0x4483a8;this[_0x584ce1(0x2c7)][_0x584ce1(0x413)][_0x584ce1(0x2b6)](_0xd62445=>{const _0x1e131a=_0x584ce1,{unitId:_0x450159,subUnitId:_0x4ae9f7,pivotTableId:_0x340c3a}=_0xd62445;_0x450159&&_0x4ae9f7&&_0x340c3a&&this[_0x1e131a(0x3a2)]([{'unitId':_0x450159,'subUnitId':_0x4ae9f7,'token':_0x340c3a}]);});}[_0x4483a8(0x3a2)](_0x290640){const _0x2175ef=_0x4483a8,_0x19f7df={};_0x290640[_0x2175ef(0x443)](_0x32deae=>{var _0x4636eb,_0x375fcb;const {unitId:_0x79d79d,subUnitId:_0x49cb93,token:_0x161ab2}=_0x32deae;_0x19f7df[_0x79d79d]=(_0x4636eb=_0x19f7df[_0x79d79d])!=null?_0x4636eb:{},_0x19f7df[_0x79d79d][_0x49cb93]=(_0x375fcb=_0x19f7df[_0x79d79d][_0x49cb93])!=null?_0x375fcb:{},_0x19f7df[_0x79d79d][_0x49cb93][_0x161ab2]=!0x0;}),this[_0x2175ef(0x1a3)][_0x2175ef(0x2f8)](_0x1ad55d['id'],_0x19f7df);}[_0x4483a8(0x398)](_0x11c8cf,_0x347035,_0x3b4b5b){const _0x4330ee=_0x4483a8;this[_0x4330ee(0x463)][_0x4330ee(0x317)](_0x11c8cf,_0x347035,[_0x3b4b5b]);}[_0x4483a8(0x1f9)](_0x4cb9b7,_0x12eaa4,_0x10ad7a){const _0x1a581c=_0x4483a8,{unitId:_0xfe3fd3,subUnitId:_0x205743}=_0x12eaa4;this[_0x1a581c(0x463)][_0x1a581c(0x2f6)](_0x10ad7a['unitId'],_0x10ad7a[_0x1a581c(0x1cb)],_0x4cb9b7)&&this['removeSourceRangeChange'](_0xfe3fd3,_0x205743,_0x4cb9b7);const _0x3206ce={'sheetId':_0x205743,..._0x12eaa4};this[_0x1a581c(0x463)]['register'](_0x10ad7a[_0x1a581c(0x2ef)],_0x10ad7a[_0x1a581c(0x1cb)],_0x4cb9b7,{'unitId':_0x10ad7a[_0x1a581c(0x2ef)],'subUnitId':_0x10ad7a['subUnitId'],'dependencyRanges':[_0x3206ce],'getDirtyData':(_0xd3809a,_0x4508a6)=>{const _0x1f79f1=_0x1a581c,_0x281871=this[_0x1f79f1(0x2c7)],_0x5b3f28=_0x281871[_0x1f79f1(0x251)](_0x4cb9b7);if(!_0x5b3f28)return _0x4d6658();const {unitId:_0x3afdfa,subUnitId:_0x3f778f}=_0x5b3f28,_0x15544d=_0x22d069(_0xd3809a,_0x4508a6,_0x12eaa4);if(_0x15544d[_0x1f79f1(0x41b)]>0x0){const _0x3c91a6=_0x281871[_0x1f79f1(0x3d3)](_0xfe3fd3,_0x4cb9b7),_0x538f2d=_0x3c91a6['getFieldIds'](),_0x584da1=this[_0x1f79f1(0x2b2)](_0x12eaa4[_0x1f79f1(0x2ef)],_0x12eaa4[_0x1f79f1(0x1cb)],_0x4508a6),_0x592ef2={},_0x1d25c3=this[_0x1f79f1(0x2c7)]['getDataFieldManager'](_0x3afdfa)[_0x1f79f1(0x46e)]()||_0x3c6b65[_0x1f79f1(0x452)],_0x1f41b9=[];for(const _0x275c1f of _0x15544d){const _0x2b8048=_0x275c1f-(_0x12eaa4[_0x1f79f1(0x335)][_0x1f79f1(0x367)]||0x0),_0x5855d7=_0x538f2d[_0x2b8048];_0x1f41b9[_0x1f79f1(0x1a4)](_0x5855d7),_0x592ef2[_0x5855d7]=_0x3c91a6[_0x1f79f1(0x2b1)](_0x5855d7)['getName'](),_0x281871[_0x1f79f1(0x31f)](_0xfe3fd3)[_0x1f79f1(0x20c)](_0x5855d7,_0x12eaa4,_0x2b8048,_0x584da1);}_0x3c91a6[_0x1f79f1(0x3db)](_0x1f41b9)[_0x1f79f1(0x443)](_0x5015e4=>{const _0x17f175=_0x1f79f1,[_0x381c38,_0x600381]=_0x5015e4,_0x47571a=_0x3c91a6['getFieldById'](_0x381c38),_0x7b4c4e=_0x3c91a6['getFieldById'](_0x600381);_0x47571a&&_0x7b4c4e&&_0x47571a[_0x17f175(0x2e8)](_0x7b4c4e);}),_0x3c91a6['updateAllDisplayName']();const _0x190c7d=_0x281871[_0x1f79f1(0x373)](_0x4cb9b7);if(_0x190c7d){_0x51eb45(_0x190c7d,_0x592ef2,_0x1d25c3),_0x190c7d[_0x1f79f1(0x1f7)](!0x0);const _0x91fe87=_0x190c7d[_0x1f79f1(0x1e9)](),_0x5850b4=_0x281871['getPivotTableConfig'](_0x3afdfa,_0x3f778f,_0x4cb9b7),_0x5d9509=_0x281871[_0x1f79f1(0x31f)](_0xfe3fd3)[_0x1f79f1(0x2a8)]();_0x281871[_0x1f79f1(0x21e)](_0x3afdfa,_0x3f778f,_0x208bc1[_0x1f79f1(0x1b9)],_0x4cb9b7,_0x91fe87,_0x5850b4,_0x5d9509,!0x0);}}return this[_0x1f79f1(0x38e)](_0x3afdfa,_0x3f778f,_0x4cb9b7);}});}[_0x4483a8(0x2b2)](_0x36a312,_0xd2ac44,_0x1ab397){var _0x501bcb,_0x5b8650;const {arrayFormulaCellData:_0x5816a4,unitData:_0x4613fc}=_0x1ab397,_0x4476e9=(_0x501bcb=_0x5816a4==null?void 0x0:_0x5816a4[_0x36a312])==null?void 0x0:_0x501bcb[_0xd2ac44],_0x127d87=(_0x5b8650=_0x4613fc==null?void 0x0:_0x4613fc[_0x36a312])==null?void 0x0:_0x5b8650[_0xd2ac44];return{'arrayFormulaCellDataMatrix':_0x4476e9,'unitDataMatrix':_0x127d87};}['getDirtyInfo'](_0x1cafb8,_0x2a0da3,_0x908b62){const _0x5837a9=_0x4483a8,_0x52be26=this[_0x5837a9(0x2c7)][_0x5837a9(0x401)](_0x1cafb8,_0x2a0da3,_0x908b62),_0x14dd52=[],_0x42f815=new _0x35bf85[(_0x5837a9(0x405))]();if(_0x52be26){const {rangeCache:_0x584c15,matrix:_0x3821c3,oldRangeCache:_0x5e5c86,oldMatrix:_0x5b5861}=_0x52be26,_0x45b518=_0x18351d(_0x5e5c86),_0x3bc1d4=_0x18351d(_0x584c15);_0x14dd52['push'](..._0x3bc1d4,..._0x45b518),_0x5b5861&&_0x5e5c86&&_0x45b518[_0x5837a9(0x443)](_0x2f5c6b=>{const _0x56e09f=_0x5837a9;for(let _0x34ec4c=_0x2f5c6b[_0x56e09f(0x197)];_0x34ec4c<=_0x2f5c6b[_0x56e09f(0x2a6)];_0x34ec4c++)for(let _0x1a5913=_0x2f5c6b[_0x56e09f(0x367)];_0x1a5913<=_0x2f5c6b[_0x56e09f(0x287)];_0x1a5913++)_0x42f815['realDeleteValue'](_0x34ec4c,_0x1a5913);}),_0x3821c3&&_0x3bc1d4&&_0x3bc1d4[_0x5837a9(0x443)](_0x27541e=>{const _0x1ef647=_0x5837a9;for(let _0xa06302=_0x27541e[_0x1ef647(0x197)];_0xa06302<=_0x27541e['endRow'];_0xa06302++)for(let _0xebf439=_0x27541e['startColumn'];_0xebf439<=_0x27541e[_0x1ef647(0x287)];_0xebf439++)_0x42f815[_0x1ef647(0x25f)](_0xa06302,_0xebf439,_0x3821c3['getValue'](_0xa06302,_0xebf439));});}const _0x1b5b2f={};return _0x1b5b2f[_0x1cafb8]={[_0x2a0da3]:_0x18587e(_0x14dd52)},{'runtimeCellData':{[_0x1cafb8]:{[_0x2a0da3]:_0x42f815}},'dirtyRanges':_0x1b5b2f};}[_0x4483a8(0x399)](){}};_0x54f15d=_0x2db531([_0x218601(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4[_0x4483a8(0x3e0)])),_0x218601(0x1,_0x35bf85[_0x4483a8(0x1bb)]),_0x218601(0x2,_0x35bf85[_0x4483a8(0x18c)](_0x22c55[_0x4483a8(0x32e)])),_0x218601(0x3,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x3cd)])),_0x218601(0x4,_0x35bf85['Inject'](_0x22c55[_0x4483a8(0x388)])),_0x218601(0x5,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x4a4)]))],_0x54f15d);var _0x3e3a73=Object['getOwnPropertyDescriptor'],_0x227dc4=(_0x20cc0d,_0x5236a6,_0x5e42ec,_0x3f7b30)=>{const _0x3dddd0=_0x4483a8;for(var _0x2edeec=_0x3f7b30>0x1?void 0x0:_0x3f7b30?_0x3e3a73(_0x5236a6,_0x5e42ec):_0x5236a6,_0x35dad0=_0x20cc0d[_0x3dddd0(0x41b)]-0x1,_0x5ed3fc;_0x35dad0>=0x0;_0x35dad0--)(_0x5ed3fc=_0x20cc0d[_0x35dad0])&&(_0x2edeec=_0x5ed3fc(_0x2edeec)||_0x2edeec);return _0x2edeec;},_0x1dc5da=(_0x3ae7f1,_0x4416d6)=>(_0x3b623d,_0x1cafeb)=>_0x4416d6(_0x3b623d,_0x1cafeb,_0x3ae7f1);let _0x52e4b0=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x1cb665,_0x18337f,_0x46118f,_0x558702){const _0x4584a3=_0x4483a8;super(),_0x209b81(this,'disposableCollection',new _0x35bf85[(_0x4584a3(0x39c))]()),(this['_univerInstanceService']=_0x1cb665,this[_0x4584a3(0x3d2)]=_0x18337f,this[_0x4584a3(0x333)]=_0x46118f,this[_0x4584a3(0x3cc)]=_0x558702,this[_0x4584a3(0x273)]());}['_initClearSelectionCommandInterceptor'](){const _0x4fa20a=_0x4483a8;this[_0x4fa20a(0x3e2)](this[_0x4fa20a(0x3d2)][_0x4fa20a(0x360)]({'getMutations':_0x17e3c7=>{const _0x32be3e=_0x4fa20a;if(_0x17e3c7['id']===_0x4c8da1[_0x32be3e(0x427)]['id']||_0x17e3c7['id']===_0x4c8da1[_0x32be3e(0x392)]['id']){const _0x5c7814=[],_0x9c21ed=[],_0x5c0cc2=this['_sheetsSelectionsService'][_0x32be3e(0x2d4)]()[_0x32be3e(0x417)](_0x3d414d=>_0x3d414d['range']),_0x34f023=_0x4c8da1[_0x32be3e(0x2d7)](this[_0x32be3e(0x194)]);if(!_0x34f023)return{'redos':[],'undos':[]};const {unitId:_0x22ca68,subUnitId:_0xe5867e}=_0x34f023,_0x5e3ef4={},_0x3d4be9=this[_0x32be3e(0x3cc)][_0x32be3e(0x2fa)](_0x22ca68,_0xe5867e);if(_0x3d4be9!=null&&_0x3d4be9[_0x32be3e(0x1a5)])for(const [_0x1514e9,_0x255ba8]of _0x3d4be9){const {unitId:_0x150886,subUnitId:_0x39c976,row:_0x45999e,col:_0x4b9f3c}=_0x255ba8[_0x32be3e(0x344)];_0x150886===_0x34f023[_0x32be3e(0x2ef)]&&_0x39c976===_0x34f023[_0x32be3e(0x1cb)]&&(_0x5e3ef4[_0x45999e+'-'+_0x4b9f3c]=_0x1514e9);}return _0x5c0cc2&&_0x34f023&&_0x5c0cc2[_0x32be3e(0x443)](_0x35f9b9=>{const _0x2bcc3d=_0x32be3e;_0x35bf85['Range'][_0x2bcc3d(0x1af)](_0x35f9b9,(_0x249d15,_0x4769a7)=>{const _0x305d73=_0x2bcc3d,_0x2a76f1=_0x249d15+'-'+_0x4769a7;if(_0x5e3ef4[_0x2a76f1]){const _0x3c1e7c=_0x5e3ef4[_0x2a76f1];_0x5c7814['push']({'id':_0xcb954c['id'],'params':{'unitId':_0x22ca68,'subUnitId':_0xe5867e,'pivotTableId':_0x3c1e7c}});const _0x132631=this[_0x305d73(0x3cc)]['getCollection'](_0x22ca68,_0x3c1e7c),_0x5a803e=this[_0x305d73(0x3cc)][_0x305d73(0x30e)](_0x22ca68,_0xe5867e,_0x3c1e7c);_0x9c21ed[_0x305d73(0x1a4)]({'id':_0x35d3e5['id'],'params':{'unitId':_0x22ca68,'subUnitId':_0xe5867e,'pivotTableId':_0x3c1e7c,'pivotTableConfig':_0x5a803e,'collectionConfig':_0x132631}});}});}),{'redos':_0x5c7814,'undos':_0x9c21ed};}return{'redos':[],'undos':[]};}}));}};_0x52e4b0=_0x227dc4([_0x1dc5da(0x0,_0x35bf85[_0x4483a8(0x3fd)]),_0x1dc5da(0x1,_0x35bf85['Inject'](_0x4c8da1['SheetInterceptorService'])),_0x1dc5da(0x2,_0x35bf85[_0x4483a8(0x18c)](_0x4c8da1[_0x4483a8(0x1d0)])),_0x1dc5da(0x3,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4[_0x4483a8(0x184)]))],_0x52e4b0);var _0x2b252d=Object[_0x4483a8(0x284)],_0x95909c=(_0x58d40c,_0x2a6f35,_0x304f83,_0xbc2b5c)=>{for(var _0x3ba78b=_0xbc2b5c>0x1?void 0x0:_0xbc2b5c?_0x2b252d(_0x2a6f35,_0x304f83):_0x2a6f35,_0x1618fb=_0x58d40c['length']-0x1,_0x23bcc7;_0x1618fb>=0x0;_0x1618fb--)(_0x23bcc7=_0x58d40c[_0x1618fb])&&(_0x3ba78b=_0x23bcc7(_0x3ba78b)||_0x3ba78b);return _0x3ba78b;},_0x2195c6=(_0x2a216b,_0x1ad7cb)=>(_0x1f61da,_0x3f5804)=>_0x1ad7cb(_0x1f61da,_0x3f5804,_0x2a216b);let _0x441dd0=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x2f6fd4,_0x363ced,_0x5aa89b,_0xcb0ff2,_0x3179bd,_0x383d57){const _0x431687=_0x4483a8;super(),this['_localeService']=_0x2f6fd4,this[_0x431687(0x3d2)]=_0x363ced,this['_injector']=_0x5aa89b,this[_0x431687(0x194)]=_0xcb0ff2,this[_0x431687(0x3cc)]=_0x3179bd,this['_sheetsPivotTableService']=_0x383d57,this[_0x431687(0x299)]();}[_0x4483a8(0x27d)](_0x59baa8,_0x40cea6,_0x4dbb45){const _0x327a18=_0x4483a8,{pageView:_0x548f68,cornerView:_0x46f11f,rowView:_0x442c39,colView:_0x1b7ee1,dataView:_0x452aae}=_0x40cea6,_0xaf3625=_0x59baa8;let _0xe66088;if(_0x4dbb45)_0xe66088=[..._0xb43f30(_0xaf3625)];else{const _0x5742f7=_0xb75cad(_0xaf3625,_0x548f68,!0x0),_0x205a17=_0x548f68[_0x327a18(0x43c)]>=0x0?_0x548f68[_0x327a18(0x43c)]+0x1:0x0,_0x31335c=_0x46f11f[_0x327a18(0x363)],_0x52b8a0=_0x46f11f[_0x327a18(0x1e1)],_0x1ca678=_0x5742f7['length']>0x0?_0x251f85:0x0,_0x4ea927=_0xb75cad({'row':_0xaf3625[_0x327a18(0x370)]+_0x205a17+_0x1ca678,'col':_0xaf3625[_0x327a18(0x1de)]},_0x46f11f,!0x1,!0x1),_0xa96d0b=_0xb75cad({'row':_0xaf3625[_0x327a18(0x370)]+_0x205a17+_0x1ca678+_0x31335c,'col':_0xaf3625['col']},_0x442c39,!0x1,!0x0),_0x1f3b26=_0xb75cad({'row':_0xaf3625[_0x327a18(0x370)]+_0x205a17+_0x1ca678,'col':_0xaf3625[_0x327a18(0x1de)]+_0x52b8a0},_0x1b7ee1,!0x1,!0x0),_0x447274=_0xb75cad({'row':_0xaf3625[_0x327a18(0x370)]+_0x205a17+_0x1ca678+_0x31335c,'col':_0xaf3625['col']+_0x52b8a0},_0x452aae,!0x1,!0x0);_0xe66088=[..._0x5742f7,..._0x4ea927,..._0xa96d0b,..._0x1f3b26,..._0x447274];}return _0xe66088;}[_0x4483a8(0x299)](){const _0x6fe447=_0x4483a8;this[_0x6fe447(0x3e2)](this[_0x6fe447(0x47a)]['interceptor']['intercept'](this['_sheetsPivotTableService']['interceptor'][_0x6fe447(0x28e)]()[_0x6fe447(0x4aa)],{'handler':(_0x2e6f55,_0x1d043b)=>{const _0x1b2c08=_0x6fe447,{cellInfo:_0x175673,view:_0x242dd7,isEmpty:_0x57801b}=_0x1d043b,_0x112879=_0x175673,{unitId:_0x2c82db,subUnitId:_0x1683d6}=_0x112879,_0x19497b=this['_getPivotAppliedRanges'](_0x175673,_0x242dd7,_0x57801b),_0x29387d=this[_0x1b2c08(0x3d2)]['generateMutationsByRanges']({'unitId':_0x2c82db,'subUnitId':_0x1683d6,'ranges':_0x19497b}),_0x2ec06f=_0x5c2dab(this['_injector'],_0x2c82db,_0x1683d6,_0x19497b);_0x2ec06f[_0x1b2c08(0x186)]&&(_0x29387d[_0x1b2c08(0x341)]['push'](_0x2ec06f[_0x1b2c08(0x3d0)]),_0x29387d[_0x1b2c08(0x2e6)]['push'](_0x2ec06f[_0x1b2c08(0x43d)]));const _0x4798d1=this[_0x1b2c08(0x1aa)](_0x242dd7,_0x175673);return _0x29387d[_0x1b2c08(0x341)][_0x1b2c08(0x1a4)](..._0x4798d1[_0x1b2c08(0x341)]),_0x29387d[_0x1b2c08(0x2e6)]['push'](..._0x4798d1[_0x1b2c08(0x2e6)]),{'redos':_0x29387d[_0x1b2c08(0x341)],'undos':_0x29387d['undos']};}}));}[_0x4483a8(0x1aa)](_0x21fb25,_0x75c386){const _0x31ec9d=_0x4483a8,{col:_0x373b4f,unitId:_0x4153b7,subUnitId:_0x1bf61c}=_0x75c386,_0xed338a=[],_0x1be00c=[],_0x289ed4=_0x4c8da1['getSheetCommandTarget'](this[_0x31ec9d(0x194)],{'unitId':_0x4153b7,'subUnitId':_0x1bf61c});if(!_0x75c386||!_0x21fb25||!_0x289ed4)return{'undos':_0x1be00c,'redos':_0xed338a};const _0x181133=this[_0x31ec9d(0x3cc)][_0x31ec9d(0x3f3)](),{colView:_0x514a85,dataView:_0x3c9f8c,cornerView:_0x49dc71,rowView:_0x1dcb84,formatMap:_0x3ad999}=_0x21fb25,_0xfa671e=_0x28d321(_0x514a85,_0x181133,!0x0,_0x3ad999),_0x4aedb6=_0x28d321(_0x1dcb84,_0x181133,!0x1,_0x3ad999),_0x2d0136=_0x1227ba(_0x3c9f8c),_0x4d0df2=_0x169fab(_0x49dc71),{worksheet:_0x1a584f}=_0x289ed4;if(typeof window<'u'&&window[_0x31ec9d(0x362)]){const _0x45e20d=_0x5d188f[_0x31ec9d(0x48a)]({..._0xed3ec3['colStyle']}),_0x2b345d=_0x5d188f['FontCache'][_0x31ec9d(0x233)](_0xfa671e,_0x45e20d)['width']+0x10,_0x389c04=_0x5d188f[_0x31ec9d(0x320)][_0x31ec9d(0x233)](_0x2d0136,_0x45e20d)['width'],_0xdbee68=Math[_0x31ec9d(0x1ce)](Math[_0x31ec9d(0x321)](_0x2b345d,_0x389c04))+0x10,_0x9e1009=Math[_0x31ec9d(0x1ce)](_0x5d188f[_0x31ec9d(0x320)][_0x31ec9d(0x233)](_0x4aedb6,_0x45e20d)[_0x31ec9d(0x1bf)]),_0x3a1c57=Math[_0x31ec9d(0x1ce)](_0x5d188f[_0x31ec9d(0x320)][_0x31ec9d(0x233)](_0x4d0df2,_0x45e20d)[_0x31ec9d(0x1bf)]),_0x1ddb08=Math[_0x31ec9d(0x321)](_0x9e1009,_0x3a1c57,0x28)+0xc,_0x2e1c83=_0x514a85[_0x31ec9d(0x1e1)]+_0x49dc71[_0x31ec9d(0x1e1)],_0x14764d={},_0x2889f8={};for(let _0x10f384=_0x373b4f;_0x10f384<_0x373b4f+_0x2e1c83;_0x10f384++){const _0x58cc7d=_0x1a584f[_0x31ec9d(0x182)](_0x10f384);_0x14764d[_0x10f384]=_0x58cc7d,_0x10f384-_0x373b4f<_0x49dc71[_0x31ec9d(0x1e1)]?_0x2889f8[_0x10f384-_0x373b4f]=_0x1ddb08:_0x2889f8[_0x10f384-_0x373b4f]=_0xdbee68;}_0xed338a[_0x31ec9d(0x1a4)]({'id':_0x4c8da1[_0x31ec9d(0x1f5)]['id'],'params':{'subUnitId':_0x1bf61c,'unitId':_0x4153b7,'ranges':[{'startColumn':_0x373b4f,'endColumn':_0x373b4f+_0x2e1c83-0x1,'startRow':0x0,'endRow':_0x1a584f[_0x31ec9d(0x32a)]()-0x1}],'colWidth':_0x2889f8}}),_0x1be00c[_0x31ec9d(0x1a4)]({'id':_0x4c8da1['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x1bf61c,'unitId':_0x4153b7,'ranges':[{'startColumn':_0x373b4f,'endColumn':_0x373b4f+_0x2e1c83-0x1,'startRow':0x0,'endRow':_0x1a584f[_0x31ec9d(0x32a)]()-0x1}],'colWidth':_0x14764d}});}return{'undos':_0x1be00c,'redos':_0xed338a};}};_0x441dd0=_0x95909c([_0x2195c6(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x2ab)])),_0x2195c6(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x4c8da1['SheetInterceptorService'])),_0x2195c6(0x2,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x4a4)])),_0x2195c6(0x3,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x3fd)])),_0x2195c6(0x4,_0x35bf85['Inject'](_0x5b9ff4[_0x4483a8(0x184)])),_0x2195c6(0x5,_0x35bf85['Inject'](_0x5b9ff4[_0x4483a8(0x18b)]))],_0x441dd0);var _0x4294ba=Object[_0x4483a8(0x284)],_0xa3dde6=(_0x1ee30c,_0xc2fd2c,_0x30776b,_0x44ac54)=>{const _0x3efa5b=_0x4483a8;for(var _0x53f48b=_0x44ac54>0x1?void 0x0:_0x44ac54?_0x4294ba(_0xc2fd2c,_0x30776b):_0xc2fd2c,_0x1cc7e6=_0x1ee30c[_0x3efa5b(0x41b)]-0x1,_0x5ecf4d;_0x1cc7e6>=0x0;_0x1cc7e6--)(_0x5ecf4d=_0x1ee30c[_0x1cc7e6])&&(_0x53f48b=_0x5ecf4d(_0x53f48b)||_0x53f48b);return _0x53f48b;},_0x5e9d5a=(_0x294fc8,_0x3f84a1)=>(_0x236ac9,_0x257a54)=>_0x3f84a1(_0x236ac9,_0x257a54,_0x294fc8);let _0x544c6d=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x564263,_0x4bf0cb,_0x4342ff,_0x1eb455,_0x2ad24b,_0x2c6a0a,_0x2a08ff){const _0x3fb44d=_0x4483a8;super(),_0x209b81(this,'disposableCollection',new _0x35bf85[(_0x3fb44d(0x39c))]()),(this[_0x3fb44d(0x204)]=_0x564263,this['_refRangeService']=_0x4bf0cb,this[_0x3fb44d(0x1a3)]=_0x4342ff,this[_0x3fb44d(0x194)]=_0x1eb455,this[_0x3fb44d(0x3cc)]=_0x2ad24b,this['_sheetsPivotTableAdaptorModel']=_0x2c6a0a,this[_0x3fb44d(0x3d2)]=_0x2a08ff,this[_0x3fb44d(0x1b7)]());}[_0x4483a8(0x1b7)](){const _0x162263=_0x4483a8,_0x58795d=(_0x19f8f8,_0x598c8d)=>{const _0x50e58a=_0x4bfe,_0x2e3f5e=this['_univerInstanceService'][_0x50e58a(0x216)](_0x35bf85[_0x50e58a(0x2b9)]['UNIVER_SHEET']);if(!_0x2e3f5e||!(_0x2e3f5e==null?void 0x0:_0x2e3f5e[_0x50e58a(0x29f)](_0x598c8d)))return;this[_0x50e58a(0x385)][_0x50e58a(0x399)]();const _0x585b94=_0x7a08b=>this[_0x50e58a(0x3bd)](_0x7a08b,_0x19f8f8,_0x598c8d),_0x2b6fd1=this[_0x50e58a(0x3cc)]['getSubUnitPivotConfigs'](_0x19f8f8,_0x598c8d);if(!(_0x2b6fd1!=null&&_0x2b6fd1[_0x50e58a(0x1a5)]))return;Array['from'](_0x2b6fd1[_0x50e58a(0x46d)]())[_0x50e58a(0x417)](_0x4a86af=>{const _0x5ea5e2=_0x50e58a,{row:_0x1b6ddd,col:_0x1c2e13}=_0x4a86af[_0x5ea5e2(0x344)];return _0x35bf85[_0x5ea5e2(0x252)](_0x1b6ddd,_0x1c2e13);})['forEach'](_0x3f2d60=>{const _0x4620a8=_0x50e58a;this[_0x4620a8(0x385)][_0x4620a8(0x36c)](this[_0x4620a8(0x1ee)][_0x4620a8(0x1cf)](_0x3f2d60,_0x585b94,_0x19f8f8,_0x598c8d));});},_0x1d6a73=()=>{const _0x7cc59a=_0x4bfe,_0x586b06=this['_univerInstanceService'][_0x7cc59a(0x216)](_0x35bf85[_0x7cc59a(0x2b9)][_0x7cc59a(0x439)]);if(_0x586b06){const _0x4655a6=_0x586b06[_0x7cc59a(0x3f1)]();if(!_0x4655a6)return;_0x58795d(_0x586b06[_0x7cc59a(0x366)](),_0x4655a6['getSheetId']());}};this[_0x162263(0x3e2)](this['_commandService']['onCommandExecuted'](_0x9ea992=>{const _0x12a637=_0x162263;if(_0x9ea992['id']===_0x4c8da1[_0x12a637(0x39d)]['id']){const _0x5de6c4=_0x9ea992[_0x12a637(0x2ca)],_0x3feaa0=_0x5de6c4[_0x12a637(0x1cb)],_0x281400=_0x5de6c4[_0x12a637(0x2ef)];if(!_0x3feaa0||!_0x281400)return;_0x58795d(_0x281400,_0x3feaa0);}})),this[_0x162263(0x3e2)](this['_sheetsPivotTableConfigModel'][_0x162263(0x35c)]['subscribe'](_0x2cb00d=>{_0x2cb00d&&_0x1d6a73();})),this[_0x162263(0x3e2)](this['_sheetsPivotTableConfigModel'][_0x162263(0x3b8)][_0x162263(0x2b6)](_0x5a7c9=>{const _0x217bbe=_0x162263,_0x31a969=_0x4c8da1[_0x217bbe(0x2d7)](this[_0x217bbe(0x194)]);if(!_0x31a969)return;const {unitId:_0x26fe71,subUnitId:_0x566629}=_0x31a969,{unitId:_0x24307a,subUnitId:_0x4f430b}=_0x5a7c9;_0x26fe71!==_0x24307a||_0x566629!==_0x4f430b||_0x58795d(_0x26fe71,_0x566629);})),_0x1d6a73();}[_0x4483a8(0x3bd)](_0x53f86d,_0x3430a8,_0x523d8b){const _0x7ccd8d=_0x4483a8;switch(_0x53f86d['id']){case _0x4c8da1[_0x7ccd8d(0x48c)]['id']:return this[_0x7ccd8d(0x294)](_0x53f86d['params'],_0x3430a8,_0x523d8b);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x1150e2,_0x12a7e7,_0x3a54a2){const _0x20e0ad=_0x4483a8,{fromRange:_0x36db7e,toRange:_0x5519cb}=_0x1150e2,_0x52705f=[],_0x55b880=[],_0x38c431=_0x4c8da1[_0x20e0ad(0x2d7)](this[_0x20e0ad(0x194)]);if(!_0x38c431)return{'undos':_0x55b880,'redos':_0x52705f};if(_0x12a7e7!==_0x38c431[_0x20e0ad(0x2ef)]||_0x3a54a2!==_0x38c431[_0x20e0ad(0x1cb)])return{'undos':_0x55b880,'redos':_0x52705f};const _0x3f04b5=this[_0x20e0ad(0x3cc)]['getSubUnitPivotConfigs'](_0x12a7e7,_0x3a54a2);if(_0x3f04b5!=null&&_0x3f04b5[_0x20e0ad(0x1a5)])for(const [_0x3f1bff,_0x5b5346]of _0x3f04b5){const {unitId:_0x30e24c,subUnitId:_0x474e26,row:_0x30c667,col:_0x23999f}=_0x5b5346[_0x20e0ad(0x344)];if(_0x30e24c===_0x38c431['unitId']&&_0x474e26===_0x38c431[_0x20e0ad(0x1cb)]){const _0xbad7f5=_0x35bf85['cellToRange'](_0x30c667,_0x23999f);if(_0x35bf85[_0x20e0ad(0x263)]['intersects'](_0xbad7f5,_0x36db7e)){const _0x45d9b6=_0x30c667-_0x36db7e[_0x20e0ad(0x197)],_0x5ee8a2=_0x23999f-_0x36db7e[_0x20e0ad(0x367)],_0x3c3b1a={'row':_0x5519cb['startRow']+_0x45d9b6,'col':_0x5519cb[_0x20e0ad(0x367)]+_0x5ee8a2};_0x52705f[_0x20e0ad(0x1a4)]({'id':_0x47268d['id'],'params':{'unitId':_0x30e24c,'subUnitId':_0x474e26,'pivotTableId':_0x3f1bff,'targetCellPosition':_0x3c3b1a}}),_0x55b880['push']({'id':_0x47268d['id'],'params':{'unitId':_0x30e24c,'subUnitId':_0x474e26,'pivotTableId':_0x3f1bff,'targetCellPosition':{'row':_0x30c667,'col':_0x23999f}}});const _0x2f5a41=_0x3c3b1a[_0x20e0ad(0x370)]-_0x30c667,_0x426ac1=_0x3c3b1a[_0x20e0ad(0x1de)]-_0x23999f,_0x1f0903=[],_0x2475cf=this[_0x20e0ad(0x331)]['getPivotItemRenderInfoCache'](_0x30e24c,_0x474e26,_0x3f1bff),_0x4fc8ae=_0x2475cf==null?void 0x0:_0x2475cf[_0x20e0ad(0x245)];if(_0x4fc8ae){Object[_0x20e0ad(0x469)](_0x4fc8ae)[_0x20e0ad(0x443)](_0x1edc90=>{const _0x3f3570=_0x20e0ad;_0x4fc8ae[_0x1edc90][_0x3f3570(0x443)](_0x25badc=>{const _0x23d754=_0x3f3570,_0x5ce335={..._0x25badc};_0x5ce335[_0x23d754(0x197)]=_0x25badc[_0x23d754(0x197)]+_0x2f5a41,_0x5ce335[_0x23d754(0x2a6)]=_0x25badc[_0x23d754(0x2a6)]+_0x2f5a41,_0x5ce335[_0x23d754(0x367)]=_0x25badc['startColumn']+_0x426ac1,_0x5ce335['endColumn']=_0x25badc[_0x23d754(0x287)]+_0x426ac1,_0x1f0903[_0x23d754(0x1a4)](_0x5ce335);});});const _0x102b2b=this[_0x20e0ad(0x3d2)]['generateMutationsByRanges']({'unitId':_0x30e24c,'subUnitId':_0x474e26,'ranges':_0x1f0903});_0x52705f[_0x20e0ad(0x1a4)](..._0x102b2b[_0x20e0ad(0x341)]),_0x55b880['push'](..._0x102b2b[_0x20e0ad(0x2e6)]);const _0xd4e75f=_0x5c2dab(this[_0x20e0ad(0x204)],_0x30e24c,_0x474e26,_0x1f0903);_0xd4e75f['shouldClear']&&(_0x52705f[_0x20e0ad(0x1a4)](_0xd4e75f[_0x20e0ad(0x3d0)]),_0x55b880[_0x20e0ad(0x1a4)](_0xd4e75f[_0x20e0ad(0x43d)]));}}}}return{'redos':_0x52705f,'undos':_0x55b880};}};_0x544c6d=_0xa3dde6([_0x5e9d5a(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x4a4)])),_0x5e9d5a(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x4c8da1['RefRangeService'])),_0x5e9d5a(0x2,_0x35bf85[_0x4483a8(0x3cd)]),_0x5e9d5a(0x3,_0x35bf85[_0x4483a8(0x3fd)]),_0x5e9d5a(0x4,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4[_0x4483a8(0x184)])),_0x5e9d5a(0x5,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4['SheetsPivotTableAdaptorModel'])),_0x5e9d5a(0x6,_0x35bf85[_0x4483a8(0x18c)](_0x4c8da1[_0x4483a8(0x445)]))],_0x544c6d);var _0x5ae50a=Object[_0x4483a8(0x284)],_0x370bf1=(_0x16a1c9,_0x151094,_0x23615a,_0x492352)=>{const _0x488b00=_0x4483a8;for(var _0x1c889c=_0x492352>0x1?void 0x0:_0x492352?_0x5ae50a(_0x151094,_0x23615a):_0x151094,_0x28e460=_0x16a1c9[_0x488b00(0x41b)]-0x1,_0x11dfbc;_0x28e460>=0x0;_0x28e460--)(_0x11dfbc=_0x16a1c9[_0x28e460])&&(_0x1c889c=_0x11dfbc(_0x1c889c)||_0x1c889c);return _0x1c889c;},_0x52b9b0=(_0x3dda2a,_0x330ed0)=>(_0x1daf3e,_0x2e7a0f)=>_0x330ed0(_0x1daf3e,_0x2e7a0f,_0x3dda2a);let _0x452c40=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0x11c812,_0x4952e1){const _0x28f108=_0x4483a8;super(),this[_0x28f108(0x3d2)]=_0x11c812,this[_0x28f108(0x3cc)]=_0x4952e1,this[_0x28f108(0x2e0)]();}[_0x4483a8(0x2e0)](){const _0x5ba8a1=_0x4483a8;this[_0x5ba8a1(0x3e2)](this[_0x5ba8a1(0x3d2)][_0x5ba8a1(0x360)]({'getMutations':_0x45fe7f=>{const _0x888ca5=_0x5ba8a1;if(_0x45fe7f['id']===_0x4c8da1['RemoveSheetCommand']['id']){const _0x23e842=[],_0x15d352=[],_0x368b0b=_0x45fe7f[_0x888ca5(0x2ca)],{unitId:_0xd0e67f,subUnitId:_0xdec1df}=_0x368b0b;if(!_0xd0e67f||!_0xdec1df)return{'undos':_0x15d352,'redos':_0x23e842};const _0x2b6540=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0xd0e67f,_0xdec1df);if(_0x2b6540!=null&&_0x2b6540[_0x888ca5(0x1a5)])for(const [_0x4fcd5e,_0x44e4d7]of _0x2b6540){_0x23e842[_0x888ca5(0x1a4)]({'id':_0xcb954c['id'],'params':{'unitId':_0xd0e67f,'subUnitId':_0xdec1df,'pivotTableId':_0x4fcd5e}});const _0x1bdc38={...this['_sheetsPivotTableConfigModel'][_0x888ca5(0x3d3)](_0xd0e67f,_0x4fcd5e)};_0x15d352[_0x888ca5(0x1a4)]({'id':_0x35d3e5['id'],'params':{'unitId':_0xd0e67f,'subUnitId':_0xdec1df,'pivotTableId':_0x4fcd5e,'pivotTableConfig':_0x44e4d7,'collectionConfig':_0x1bdc38}});}return{'redos':_0x23e842,'undos':_0x15d352};}return{'redos':[],'undos':[]};}}));}};_0x452c40=_0x370bf1([_0x52b9b0(0x0,_0x35bf85['Inject'](_0x4c8da1[_0x4483a8(0x445)])),_0x52b9b0(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4['SheetsPivotTableConfigModel']))],_0x452c40);var _0x5e04e1=Object['getOwnPropertyDescriptor'],_0x28e164=(_0x2d1930,_0x59bcb1,_0x3e5a27,_0x207beb)=>{const _0x4673a4=_0x4483a8;for(var _0x56a35c=_0x207beb>0x1?void 0x0:_0x207beb?_0x5e04e1(_0x59bcb1,_0x3e5a27):_0x59bcb1,_0x4be7b1=_0x2d1930[_0x4673a4(0x41b)]-0x1,_0x4d63dd;_0x4be7b1>=0x0;_0x4be7b1--)(_0x4d63dd=_0x2d1930[_0x4be7b1])&&(_0x56a35c=_0x4d63dd(_0x56a35c)||_0x56a35c);return _0x56a35c;},_0x487758=(_0x1328a9,_0x495a35)=>(_0x30f12c,_0x355df8)=>_0x495a35(_0x30f12c,_0x355df8,_0x1328a9);let _0x35a578=class extends _0x35bf85[_0x4483a8(0x2e2)]{constructor(_0xaa6a4c,_0x3c4071,_0x37f92d,_0x50c986,_0x50f5c8,_0x1ed360){const _0x3259f3=_0x4483a8;super(),this['_commandService']=_0xaa6a4c,this[_0x3259f3(0x353)]=_0x3c4071,this[_0x3259f3(0x331)]=_0x37f92d,this[_0x3259f3(0x3cc)]=_0x50c986,this[_0x3259f3(0x194)]=_0x50f5c8,this[_0x3259f3(0x358)]=_0x1ed360,this['_initDataSendListener'](),this[_0x3259f3(0x26c)]();}[_0x4483a8(0x242)](){const _0xf1ca02=_0x4483a8;this[_0xf1ca02(0x3e2)](this[_0xf1ca02(0x1a3)][_0xf1ca02(0x1e0)](_0x209857=>{const _0xf901f5=_0xf1ca02;if(_0x209857['id']!==_0x487f10['id'])return;const _0x1839ae=_0x209857[_0xf901f5(0x2ca)];this['_sheetsPivotRpcService'][_0xf901f5(0x2ec)](_0x1839ae);})),this[_0xf1ca02(0x3e2)](this[_0xf1ca02(0x1a3)][_0xf1ca02(0x1e0)](_0xab6ee=>{const _0x95da62=_0xf1ca02;if(_0xab6ee['id']===_0x48bf36['id']){const _0x1d25ca=_0xab6ee[_0x95da62(0x2ca)];if(_0x1d25ca){const {unitId:_0xaba89,subUnitId:_0xd35f5c,oldSubUnitId:_0x49f305,pivotTableId:_0x12afb1,pivotTableConfig:_0xe4bbde,collectionConfig:_0x4d3b08}=_0x1d25ca;this['_sheetsPivotTableConfigModel'][_0x95da62(0x447)](_0xaba89,_0x49f305,_0x1d25ca['pivotTableId'],null),this[_0x95da62(0x3cc)][_0x95da62(0x447)](_0xaba89,_0xd35f5c,_0x12afb1,_0xe4bbde),this[_0x95da62(0x3cc)][_0x95da62(0x29a)](_0xaba89,_0x4d3b08);}}})),this['disposeWithMe'](this[_0xf1ca02(0x1a3)][_0xf1ca02(0x1e0)](_0x57df8c=>{const _0x5512ad=_0xf1ca02;if(_0x57df8c['id']!==_0x3877fd['id'])return;const _0x4a74fb=_0x4c8da1[_0x5512ad(0x2d7)](this[_0x5512ad(0x194)]);if(!_0x4a74fb)return;const {unitId:_0x210977,subUnitId:_0x4a7877}=_0x4a74fb,_0x47ef1e=_0x57df8c['params'];if(_0x47ef1e['collectionConfig']&&Object[_0x5512ad(0x469)](_0x47ef1e['collectionConfig'])[_0x5512ad(0x443)](_0x4c2ea7=>{const _0x399a90=_0x5512ad;var _0x21cbed;(_0x21cbed=_0x47ef1e[_0x399a90(0x223)])!=null&&_0x21cbed[_0x4c2ea7]&&this[_0x399a90(0x3cc)]['updateCollectionConfig'](_0x4c2ea7,_0x47ef1e['collectionConfig'][_0x4c2ea7]);}),_0x47ef1e[_0x5512ad(0x477)]){const _0x24c170=_0x47ef1e[_0x5512ad(0x477)],{unitId:_0x2084ba,subUnitId:_0x3b4809,view:_0x4482b5,pivotTableId:_0x7fcffe,type:_0x457d23,pivotConfig:_0x5b74ec}=_0x24c170;if(_0x457d23===_0x208bc1[_0x5512ad(0x3ce)])this[_0x5512ad(0x331)][_0x5512ad(0x47b)]({'unitId':_0x2084ba,'subUnitId':_0x3b4809,'pivotTableId':_0x7fcffe,'type':_0x457d23}),this[_0x5512ad(0x3cc)][_0x5512ad(0x447)](_0x2084ba,_0x3b4809,_0x7fcffe,null);else{const _0x2d8bed=new _0x3c6b65[(_0x5512ad(0x2cd))]();_0x2d8bed[_0x5512ad(0x34f)](_0x4482b5),this[_0x5512ad(0x3cc)]['updateConfigCache'](_0x2084ba,_0x3b4809,_0x7fcffe,_0x5b74ec),this[_0x5512ad(0x331)][_0x5512ad(0x47b)]({'unitId':_0x2084ba,'subUnitId':_0x3b4809,'pivotTableId':_0x7fcffe,'type':_0x457d23,'view':_0x2d8bed}),this[_0x5512ad(0x331)]['updateRenderCache']({'unitId':_0x2084ba,'subUnitId':_0x3b4809,'view':_0x2d8bed,'pivotTableId':_0x7fcffe,'type':_0x457d23});}}else _0x47ef1e['batch']&&(_0x47ef1e['batch'][_0x5512ad(0x443)](_0x2f8f51=>{const _0x580d43=_0x5512ad,{unitId:_0x534171,subUnitId:_0x5ba42d,view:_0x2e4e89,pivotTableId:_0x4775d1,type:_0x9aa249,pivotConfig:_0x5e3634}=_0x2f8f51,_0x36c19d=new _0x3c6b65[(_0x580d43(0x2cd))]();_0x36c19d[_0x580d43(0x34f)](_0x2e4e89),this[_0x580d43(0x3cc)][_0x580d43(0x447)](_0x534171,_0x5ba42d,_0x4775d1,_0x5e3634),this[_0x580d43(0x331)][_0x580d43(0x1bc)]({'unitId':_0x534171,'subUnitId':_0x5ba42d,'view':_0x36c19d,'pivotTableId':_0x4775d1,'type':_0x9aa249});}),this[_0x5512ad(0x3cc)][_0x5512ad(0x268)]());this[_0x5512ad(0x331)][_0x5512ad(0x442)](_0x210977,_0x4a7877);}));}[_0x4483a8(0x26c)](){const _0x566fec=_0x4483a8;this[_0x566fec(0x358)][_0x566fec(0x218)](_0x1ad55d['id'],{'commandId':_0x1ad55d['id'],'getDirtyData'(_0x4576d4){const _0x2bce52=_0x566fec;return{'dirtyUnitFeatureMap':_0x4576d4[_0x2bce52(0x2ca)]};}});}};_0x35a578=_0x28e164([_0x487758(0x0,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x3cd)])),_0x487758(0x1,_0x35bf85['Inject'](_0x5b9ff4['SheetsPivotRPCService'])),_0x487758(0x2,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4[_0x4483a8(0x1c6)])),_0x487758(0x3,_0x35bf85[_0x4483a8(0x18c)](_0x5b9ff4['SheetsPivotTableConfigModel'])),_0x487758(0x4,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85['IUniverInstanceService'])),_0x487758(0x5,_0x22c55[_0x4483a8(0x38a)])],_0x35a578);var _0x4ce79f=Object[_0x4483a8(0x3d7)],_0x89207=Object['getOwnPropertyDescriptor'],_0x5aa5d0=(_0xac81e,_0x17376d,_0x48e2ab)=>_0x17376d in _0xac81e?_0x4ce79f(_0xac81e,_0x17376d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48e2ab}):_0xac81e[_0x17376d]=_0x48e2ab,_0x525fa2=(_0x356d5d,_0x4ff9f2,_0x4355ab,_0x612044)=>{const _0x13f71c=_0x4483a8;for(var _0x3b4438=_0x612044>0x1?void 0x0:_0x612044?_0x89207(_0x4ff9f2,_0x4355ab):_0x4ff9f2,_0x411dca=_0x356d5d[_0x13f71c(0x41b)]-0x1,_0x2c35cb;_0x411dca>=0x0;_0x411dca--)(_0x2c35cb=_0x356d5d[_0x411dca])&&(_0x3b4438=_0x2c35cb(_0x3b4438)||_0x3b4438);return _0x3b4438;},_0x1d0f22=(_0x69f7e8,_0x43370b)=>(_0xfcaf88,_0x262267)=>_0x43370b(_0xfcaf88,_0x262267,_0x69f7e8),_0x192a96=(_0x2b3245,_0x315f43,_0x197644)=>_0x5aa5d0(_0x2b3245,typeof _0x315f43!=_0x4483a8(0x386)?_0x315f43+'':_0x315f43,_0x197644);_0x5b9ff4['UniverSheetsPivotTablePlugin']=class extends _0x35bf85['Plugin']{constructor(_0x3f002f=_0x14d45e,_0x14da9f,_0x34024c,_0xedfa0e,_0x2f14ab){const _0x294f62=_0x4483a8;super(),this[_0x294f62(0x407)]=_0x3f002f,this[_0x294f62(0x204)]=_0x14da9f,this[_0x294f62(0x1a3)]=_0x34024c,this[_0x294f62(0x208)]=_0xedfa0e,this['_dataSyncPrimaryController']=_0x2f14ab;const {..._0x1a5361}=_0x35bf85['merge']({},_0x14d45e,this[_0x294f62(0x407)]);this[_0x294f62(0x208)][_0x294f62(0x3cf)](_0xe70a58,_0x1a5361),this[_0x294f62(0x482)](),this[_0x294f62(0x217)]();}[_0x4483a8(0x217)](){const _0x4bfd3f=_0x4483a8;var _0x1e8c5c;const _0x3e91a9=(_0x1e8c5c=this[_0x4bfd3f(0x407)])==null?void 0x0:_0x1e8c5c[_0x4bfd3f(0x3d4)];this['_configService'][_0x4bfd3f(0x3cf)](_0x27e988,_0x3e91a9===!0x0);}[_0x4483a8(0x329)](){const _0x4ebb4c=_0x4483a8;var _0x228dba;let _0x3c108c=[];const _0x210fce=(_0x228dba=this['_config'])==null?void 0x0:_0x228dba['notExecuteFormula'];_0x210fce===!0x0?_0x3c108c=[[_0x5b9ff4[_0x4ebb4c(0x18b)]],[_0x5b9ff4[_0x4ebb4c(0x23a)]],[_0x35a578],[_0x5b9ff4[_0x4ebb4c(0x1c6)]],[_0x5b9ff4[_0x4ebb4c(0x184)]],[_0x452c40],[_0x52e4b0],[_0x544c6d],[_0x441dd0]]:_0x210fce===!0x1?_0x3c108c=[[_0x5b9ff4[_0x4ebb4c(0x3e0)]],[_0x54f15d]]:_0x210fce===void 0x0&&(_0x3c108c=[[_0x5b9ff4[_0x4ebb4c(0x3e0)]],[_0x54f15d],[_0x5b9ff4[_0x4ebb4c(0x18b)]],[_0x5b9ff4['SheetsPivotRPCService']],[_0x35a578],[_0x5b9ff4[_0x4ebb4c(0x1c6)]],[_0x5b9ff4[_0x4ebb4c(0x184)]],[_0x452c40],[_0x52e4b0],[_0x544c6d],[_0x441dd0]]),_0x3c108c[_0x4ebb4c(0x443)](_0x529d24=>this[_0x4ebb4c(0x204)]['add'](_0x529d24)),[_0x54f15d,_0x35a578,_0x5b9ff4[_0x4ebb4c(0x18b)],_0x52e4b0,_0x452c40,_0x544c6d,_0x441dd0][_0x4ebb4c(0x443)](_0x4ffbf1=>{const _0x2e2afe=_0x4ebb4c;this[_0x2e2afe(0x204)][_0x2e2afe(0x2f6)](_0x4ffbf1)&&this[_0x2e2afe(0x204)][_0x2e2afe(0x350)](_0x4ffbf1);});}[_0x4483a8(0x482)](){const _0x3740aa=_0x4483a8;[_0x2fe875,_0x4c47df,_0x23c913,_0x3c9bf1,_0x55641c,_0x30cd8e,_0x40ca0a,_0x3955a2,_0x40e23a,_0x58f580,_0x15fc7a,_0x31f7fb,_0x466bb8,_0x731cfc,_0x35d3e5,_0x42924a,_0xcb954c,_0x239009,_0xa2030,_0x57e339,_0x508b0b,_0x547bf5,_0x1720f0,_0x5782e5,_0x585f08,_0x3889b3,_0x47268d,_0x5ab2e3,_0x487f10,_0x3877fd,_0x50fdbb,_0x1afcc3,_0x432831,_0x15e789,_0x2c61b2,_0x102f4b,_0x25c215,_0x1ad55d,_0x48bf36,_0x3de8fd,_0x5e5e8a,_0x52d5f4,_0x2ad3e2][_0x3740aa(0x443)](_0x362be7=>{const _0x35f124=_0x3740aa;var _0x36e82c;(_0x36e82c=this[_0x35f124(0x47f)])==null||_0x36e82c[_0x35f124(0x35f)](_0x362be7),this[_0x35f124(0x1a3)][_0x35f124(0x243)](_0x362be7);});}},_0x192a96(_0x5b9ff4[_0x4483a8(0x316)],_0x4483a8(0x30d),_0x3b5c40),_0x192a96(_0x5b9ff4[_0x4483a8(0x316)],_0x4483a8(0x282),_0x35bf85[_0x4483a8(0x2b9)][_0x4483a8(0x439)]),_0x5b9ff4[_0x4483a8(0x316)]=_0x525fa2([_0x35bf85[_0x4483a8(0x390)](_0x22ffe5['UniverLicensePlugin']),_0x1d0f22(0x1,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x4a4)])),_0x1d0f22(0x2,_0x35bf85[_0x4483a8(0x18c)](_0x35bf85[_0x4483a8(0x3cd)])),_0x1d0f22(0x3,_0x35bf85[_0x4483a8(0x1bb)]),_0x1d0f22(0x4,_0x35bf85[_0x4483a8(0x259)](_0x27a1ef[_0x4483a8(0x21d)]))],_0x5b9ff4[_0x4483a8(0x316)]),_0x5b9ff4['AddPivotFieldCommand']=_0x23c913,_0x5b9ff4[_0x4483a8(0x30a)]=_0x239009,_0x5b9ff4[_0x4483a8(0x3bc)]=_0x4c47df,_0x5b9ff4[_0x4483a8(0x1ac)]=_0x35d3e5,_0x5b9ff4[_0x4483a8(0x1df)]=_0x2fe875,_0x5b9ff4[_0x4483a8(0x45b)]=_0x251f85,_0x5b9ff4['DEFAULT_PIVOT_NUMBER']=_0x137536,_0x5b9ff4[_0x4483a8(0x2f2)]=_0x3c9bf1,_0x5b9ff4[_0x4483a8(0x3c4)]=_0x466bb8,_0x5b9ff4[_0x4483a8(0x3e7)]=_0xe0c21a,_0x5b9ff4[_0x4483a8(0x357)]=_0x731cfc,_0x5b9ff4[_0x4483a8(0x466)]=_0x208bc1,_0x5b9ff4[_0x4483a8(0x446)]=_0x1ad55d,_0x5b9ff4[_0x4483a8(0x3f7)]=_0x423474,_0x5b9ff4[_0x4483a8(0x1c7)]=_0x55641c,_0x5b9ff4[_0x4483a8(0x1da)]=_0x547bf5,_0x5b9ff4[_0x4483a8(0x3f8)]=_0xcb954c,_0x5b9ff4[_0x4483a8(0x384)]=_0x1720f0,_0x5b9ff4[_0x4483a8(0x29b)]=_0x2ad3e2,_0x5b9ff4['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0xe70a58,_0x5b9ff4[_0x4483a8(0x22e)]=_0x3b5c40,_0x5b9ff4[_0x4483a8(0x247)]=_0x3955a2,_0x5b9ff4[_0x4483a8(0x3ab)]=_0x5782e5,_0x5b9ff4[_0x4483a8(0x43e)]=_0x15e789,_0x5b9ff4[_0x4483a8(0x351)]=_0x52d5f4,_0x5b9ff4[_0x4483a8(0x1ba)]=_0x58f580,_0x5b9ff4[_0x4483a8(0x3b5)]=_0x508b0b,_0x5b9ff4[_0x4483a8(0x35d)]=_0x3889b3,_0x5b9ff4[_0x4483a8(0x1f3)]=_0x47268d,_0x5b9ff4['SetPivotSortCommand']=_0x40e23a,_0x5b9ff4[_0x4483a8(0x2bb)]=_0x585f08,_0x5b9ff4['SetPivotSubtotalTypeMutation']=_0x432831,_0x5b9ff4[_0x4483a8(0x39b)]=_0x3de8fd,_0x5b9ff4[_0x4483a8(0x205)]=_0x5e5e8a,_0x5b9ff4['UpdateDateGroupCommand']=_0x40ca0a,_0x5b9ff4[_0x4483a8(0x408)]=_0x50fdbb,_0x5b9ff4['UpdatePivotFieldSettingCommand']=_0x15fc7a,_0x5b9ff4[_0x4483a8(0x297)]=_0x25c215,_0x5b9ff4[_0x4483a8(0x355)]=_0x31f7fb,_0x5b9ff4['UpdatePivotTableSourceRangeMutation']=_0x102f4b,_0x5b9ff4[_0x4483a8(0x3c0)]=_0x30cd8e,_0x5b9ff4['UpdateValuePositionMutation']=_0x1afcc3,_0x5b9ff4[_0x4483a8(0x187)]=_0x1fd707,_0x5b9ff4[_0x4483a8(0x36f)]=_0x4c9df0,_0x5b9ff4[_0x4483a8(0x44c)]=_0xed3ec3,_0x5b9ff4['generateSetRangeValueMutations']=_0x5c2dab,_0x5b9ff4[_0x4483a8(0x429)]=_0xb75cad,_0x5b9ff4[_0x4483a8(0x2dd)]=_0xb43f30,_0x5b9ff4[_0x4483a8(0x3a3)]=_0x34e0b1,_0x5b9ff4['getInsertRowColMutations']=_0x183b66,_0x5b9ff4[_0x4483a8(0x236)]=_0xde4144,_0x5b9ff4['getPivotInfoByLicense']=_0x4d830e,_0x5b9ff4[_0x4483a8(0x3bb)]=_0x1a896d,_0x5b9ff4[_0x4483a8(0x2e1)]=_0x4c0eb9,_0x5b9ff4[_0x4483a8(0x490)]=_0x18351d,Object[_0x4483a8(0x3d7)](_0x5b9ff4,Symbol[_0x4483a8(0x488)],{'value':_0x4483a8(0x24b)});}));function _0x4bfe(_0xccedab,_0x30373a){const _0xc4c933=_0xc4c9();return _0x4bfe=function(_0x4bfefb,_0x213f12){_0x4bfefb=_0x4bfefb-0x181;let _0x1b6ef8=_0xc4c933[_0x4bfefb];return _0x1b6ef8;},_0x4bfe(_0xccedab,_0x30373a);}function _0xc4c9(){const _0x1d7c8a=['IExclusiveRangeService','markDirty','forEach','sheet.mutation.pivot-update-value-position','SheetInterceptorService','PivotTableViewDirtyMarkOperation','updateConfigCache','HourMinute','_initPivotDataGetListener','PivotCellStyleTypeEnum','toString','defaultThemeStyle','clearExclusiveRangesByGroupId','2283fdHjBU','Product\x20of\x20','getFullYear','drillDown','getAutoDisplayName','movePivotField','removeDataField','_getAutoName','cornerRanges','COMMAND','needSameDeleteModel','sheet.mutation.set-pivot-collapse','IResourceManagerService','BLANK_ROW_COUNT','rgb(255,255,255)','splice','UpdatePivotSource','configVersion$','prefix','setSubtotalType','sheets-pivot.dateGroup.quarter','_featureCalculationManagerService','endCollectChangeset','updatePivotTableRangeInfo','PivotTableOperationEnum','InsertSheetMutation','addDirtyPivotTable','keys','BadReference','isDateGroupFieldJSON','_pivotConfigChange$','values','getAutoDisplayNameFunction','interceptor','rgb(240,241,243)','getHeaderMapItem','registerPluginResource','getPivotItemRenderInfoCache','MIN_SAFE_INTEGER','sheets-pivot.maxName','getFieldFormat','single','valuePosition','_markDirty$','_sheetsPivotTableService','clearRenderCache','next','return\x20','columnFields','_dataSyncPrimaryController','createValueField','updateViewInfo','_initRegisterCommand','renameField','getSheetBySheetName','originTargetInfo','sheet.mutation.update-date-group','_viewData','toStringTag','_lifecycleService','getFontStyleString','removePivotTable','MoveRangeCommand','UniverSheetsFilter','name','_viewData$','unionPivotViewRange','onQueryStart','5016807orJdSe','dataFieldManagerConfig','displayName','contains','SetPivotCollapse','handleMoveRange','_localeService','rowRanges','CellValueType','dataStream','UniverEngineFormula','pivotPerformCheck','addPivotField','SetPivotSetting','setPivotTableConfig','getFieldCountByArea','addField','getDisplayName','Injector','removePivotField','CommandType','PivotTableValuePositionEnum','sheets-pivot.cellDateGroupDisplay.minute','sheet.mutation.pivot-update-field-position','PIVOT_MUTATION_GENERATE','getUnit','sheets-pivot.subTotal','SetSortInfo','getColumnWidth','getLastCol','SheetsPivotTableConfigModel','NotNumber','shouldClear','applyChangeSet','realDeleteValue','AddField','UpdateValuePosition','SheetsPivotTableService','Inject','sheet.command.set-pivot-filter','RemovePivotField','colHeaderMap','InterceptorManager','pivotTableIndexConfig','isDateGroupField','subtotal','_univerInstanceService','PivotDataFieldDataTypeEnum','_pivotTableMatrixInfo','startRow','getTargetByPivotTableId','updatePivotTableMatrixInfo','getDataFieldBySourceName','pushUndoRedo','sheets-pivot.columnName','RANGE_TYPE','dataFields','_initViewModelBySheetInterceptor','getValueFilterInfos','YearMonthDate','cellValue','_commandService','push','size','getDataFieldByTableId','isEmpty','sheets-pivot.blank','setPivotFilter','getAutoFitColumnsMutations','_createExclusiveRange','AddPivotTableMutation','createAsyncInterceptorKey','REF','foreach','fields','pushComputingStatusSubject','DrillDown','sheets-pivot.varpName','sheet.mutation.get-pivot-data-local','lastCol','fieldsConfig','_onRefRangeChange','AddPivotTableWithConfig','Set','SetPivotFilterCommand','IConfigService','updateRenderCache','sheet.mutation.send-pivot-view-local','#e6ebfa','width','numberToABC','sheets-pivot.countNumsName','sheetName','fetchThroughInterceptors','_initGlobalComputed','setRange','SheetsPivotTableAdaptorModel','RemovePivotFieldCommand','Tools','Style','getSheetFeatureLimit','subUnitId','registerCallbackWithEvent','broadcastCollectionChange','floor','registerRefRange','SheetsSelectionsService','removeField','updateFieldPosition','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','(Blank)','asObservable','_updateModelCache','getFieldPositionInfoById','_dataFieldManagerCollection','sheet.command.add-pivot-table-with-config','RemovePivotFieldMutation','ManualFilter','_collectionChange$','sheet.command.remove-pivot-field','col','AddPivotTableWithConfigCommand','onCommandExecuted','colCount','isNaN','token','SetOptions','includes','_requestResolvers','UniverSheets','_model','query','parse','SetPivotSort','sheet.command.add-pivot-table','Subject','_refRangeService','result','UniverProSheetsPivot','intersects','sheet.mutation.pivot-update-field-source-info','SetPivotPositionMutation','getFormatInfo','SetWorksheetColWidthMutation','refreshData','setDirty','ΣValue','handleSourceRangeChange','@univerjs/engine-render','New','635204zPcoin','removeCollectionImp','getSubtotal','stdDevp','Value','InsertSheetCommand','4808040nLOJoY','colStyle','_injector','SetPivotValueFilterMutation','dataFieldId','varp','_configService','sheet.mutation.send-init-pivot-text-local','BehaviorSubject','sheets-pivot.cellDateGroupDisplay.hourMinute','refreshDataField','Year','Sum\x20of\x20','_resourceManagerService','getPivotPerformCheck','NAME','_host','filterInfo','fieldsCollectionChange$','updateConfig','getCurrentUnitForType','_initConfig','register','getDataFieldId','addExclusiveRange','versions','_pivotTableRangeInfo','DataSyncPrimaryController','updateView','sheets-pivot.productName','subTotalStyle','collapseInfo','getPivotDisplayConfig','collectionConfig','_pivotRenderValueMatrixCache','split','getTableFieldById','getformat','getPivotTableIdByCell','_toJSON','sheet.mutation.send-pivot-data-local','PivotErrorTypeEnum','replace','sheets-pivot.dateGroup.date','SHEET_PIVOT_TABLE_PLUGIN','filterId','pivotTableId','colRanges','info','getTextSize','PivotSubtotalTypeEnum','getMatrix','getPivotCellInfo','InsertRowMutation','sheets-pivot.cellDateGroupDisplay.hour','getCellRaw','SheetsPivotRPCService','_pivotRenderInfoCache','from','sheets-pivot.emptyPivot.values','sheet.mutation.remove-pivot-table','SetFieldFormat','_generateUniqueVersion','_initLocale','_initDataSendListener','registerCommand','getStyles','rangesInfo','_ensurePivotTableMatrixInfo','SetPivotCollapseCommand','StdDev\x20of\x20','NotName','collectionChange$','Module','sheet.command.set-pivot-fields-config','cornerStyle','maxDate','SetValueFilter','UpdateSource','getTargetByPivotId','cellToRange','deleteField','setTextInfo','_globalComputedStartHelpFunc','removeCollections','AddPivotField','sheet.mutation.add-group-collection','Optional','PivotTable','_globalComputedEndHelpFunc','setSortInfo','Add','colInfo','setValue','existing','getFieldInfo','Minute','Rectangle','updateFieldSourceInfo','sheet.command.move-pivot-field','MUTATION','options','setPivotInitCompleted','getCellMatrix','MovePivotField','sheets-pivot.dateGroup.yearQuarter','registerDirtyService','_collectionConfigModel','body','getFilterFieldIdByIndex','getSheetId','resetPivotTable','796ePVVEr','_initClearSelectionCommandInterceptor','@univerjs/engine-formula','SetPivotFilter','dateType','pbt','pivotTableConfigs','getRangeKey','generateHexNumber','sheet.command.reset-pivot-fields-config','AddPivotTable','_getPivotAppliedRanges','data','textInfo','product','pageRanges','type','setFieldFormat','getOwnPropertyDescriptor','sheet.operation.pivot-table-view-formula-mark-dirty','error','endColumn','addDataFieldWithoutUnitInfo','getValueIndex','isBaseGroupField','sheets-pivot.grandTotal','custom','getDataFieldByDataFieldId','getInterceptPoints','UniverEngineRender','rangeKey','createDataFieldId','setDateType','addCollection','getRefRangeMutationsByMoveRange','RemoveField','InsertSheetUndoMutationFactory','UpdatePivotFieldSourceInfoMutation','sheets.tabs.sheet','_initCommandInterceptListener','updateCollectionConfig','ResetPivotFieldsConfigCommand','intercept','getRangeKeyList','Grand\x20Total','getSheetBySheetId','adjustSheetCellData','Filter','sheet.command.set-pivot-sort','getOriginFieldId','sheet.mutation.send-pivot-config-local','filterFields','endRow','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','toJSON','setPivotSort','collection','LocaleService','serializeRangeWithSpreadsheet','concat','_subjectFieldsCollectionChange','rangeCache','getColCount','getFieldById','getMatrixFromRunTimeData','getSheets','updateViewData','reduce','subscribe','valueIndex','RemoveSheetMutation','UniverInstanceType','sheets-pivot.sumName','SetPivotSortMutation','sourceName','call','stdDev','sheets-pivot.countName','_initUnitDisposed','sheets-pivot.stdDevName','queryDirtyPivotTable','blank','isColMultiMeasure','uniqueDataFieldName','getFilterInfo','_sheetsPivotDataSourceModel','_deleteModelCache','_pivotTableInstanceCache','params','hasField','version','PivotView','value','_ensurePivotMap','sheets-pivot.dateGroup.yearMonthDate','rowHeaderMap','SetCollapse','reset','getCurrentSelections','generateRandomId','sheet.command.update-pivot-table-source-range','getSheetCommandTarget','setName','measure','ErrorType','getValue','_ensurePivotTableRangeInfo','getEmptyPivotRanges','removeValueFilterInfoByValueFieldId','rangeKeyMap','_initRemoveSheetCommandInterceptor','transFromCellValue','Disposable','removeValueFilterInfo','iterateField','string','undos','getMonth','refreshGroupField','getDataFieldByRangeKey','_exclusiveRangeService','addPivotTableWithConfig','handleAsyncResponse','@univerjs/rpc','fieldId','unitId','addFieldWithSourceId','setPivotCollapse','MovePivotFieldCommand','dataRangeInfo','updateRangeKeyMap','average','has','sheets-pivot.averageName','executeCommand','getConfig','getSubUnitPivotConfigs','dataFieldsCollection','updateValuePosition','sheet.mutation.remove-pivot-field','SetSubtotalType','YearMonth','_textInfo','setValueFilterInfo','_ensurePivotItemRenderInfoCache','tableFieldId','stringify','SetRangeValuesMutation','sheet.mutation.set-pivot-sort-info','NUMBER','sheet.command.pivot-drill-down','PivotTableFiledAreaEnum','AddPivotFieldMutation','getPivotTableMatrixInfo','sourceRangeInfo','pluginName','getPivotTableConfig','_initPivotTextInfo','getUpdateRangeDeleteIds','sheets-pivot.minName','sheets-pivot.stdDevpName','panel','getLastRow','DEFAULT_WORKSHEET_ROW_COUNT','UniverSheetsPivotTablePlugin','remove','headerMap','set','object','sheets-pivot.cellDateGroupDisplay.year','leafStyle','random','GrandTotal','getDataFieldManager','FontCache','max','sheets-pivot.dateGroup.hourMinute','getMatrixValue','IUndoRedoService','setPivotSetting','FieldsCollection','rowFields','count','onStarting','getRowCount','createInterceptorKey','find','NUM','IFeatureCalculationManagerService','Column','DataField','_sheetsPivotTableAdaptorModel','collections','_sheetsSelectionsService','_configVersion$','range','dimension','Values','DateGroupField','StdDevp\x20of\x20','delete','generateNewSheetName','1270FyffOv','countNums','DIV_BY_ZERO','Total','setPivotTable','redos','update','sheet.mutation.set-pivot-option','targetCellInfo','getTypeOfUnitDisposed$','getSubUnitPivotRenderCache','unshiftString','PivotCallbackEnum','SetRangeValuesUndoMutationFactory','addPivotTable','sum','_fieldsCollectionChange$','@univerjs-pro/engine-pivot','fieldIds','formJSON','get','SetPivotFieldsConfigCommand','PivotTableChangeTypeEnum','_sheetsPivotRpcService','unshift','UpdatePivotTableSourceRangeCommand','sheet.mutation.set-pivot-field-subtotal-type','PivotDrillDownCommand','_activeDirtyManagerService','sheet.mutation.set-pivot-value-filter','SetSheetsFilterRangeMutation','_pivotInitCompleted$','pivotInitCompleted$','SetPivotOptionMutation','sheet.mutation.update-pivot-table-source-range','registerSyncingMutations','interceptCommand','setLabelFilterInfo','document','rowCount','some','oldRangeInfo','getUnitId','startColumn','updateDirtyPivotTable','Div0','getFieldIds','DEFAULT_WORKSHEET_COLUMN_COUNT','add','SetFilterInfo','sideEffectUpdateWorkerCache','canUsePivot','row','SetValuePivotFilter','sheet.mutation.set-pivot-position','getPivotTableInstance','sheets-pivot.cellDateGroupDisplay.quarter','isText','NO_COMMERCIAL','_queryingMap','sheets-pivot.dateGroup.month','valueFilter','getValuePosition','initDataRanges','substring','rowStyle','addCollectionByJSON','LS_CONFIG_KEY','sheet.mutation.set-pivot-filter','areaInfo','deleteUnitId','5247417jiqRWa','RenamePivotFieldMutation','disposableCollection','symbol','forValue','GlobalComputingStatusService','valueFields','IActiveDirtyManagerService','SetPivotTableConfig','getPivotTableCellData','deleteDataField','getDirtyInfo','fromJSON','DependentOn','deepClone','ClearSelectionAllCommand','SHEET_PIVOT_IN_MAIN_THREAD','addRecord','sheet.mutation.remove-group-collection','8C9i6Ds9\x20vti5S26Ds9(pDit9yt,\x202CHpDiOtS)\x20{\x20\x20\x20\x2065S\x20{\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20pDit9ytW98sjf56N55fS\x20=\x20pDit9yt.y2pD6(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20s5DeD9Utyyfet\x20=\x20bazl.2f5yt(f6sH(pDit9ytW98sjf56N55fS[r]));\x20\x20\x20\x20\x20\x20\x20\x20D8\x20(!s5DeD9Utyyfet.Cv)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s5DeD9Utyyfet.Cv\x20=\x20lCKHt5(pDit9ytW98sjf56N55fS[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20DyRs5Tt5\x20=\x206S2ts8\x20Rs5Tt5qpsHfpais2t\x20!==\x20\x27C9vt8D9tv\x27\x20&&\x20ytp8\x20D9y6f9its8\x20Rs5Tt5qpsHfpais2t;\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20is96tJ6\x20=\x20DyRs5Tt5\x20?\x20ytp8\x20:\x20FD9vsF;\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20KtyyfetRs5v\x20=\x20is96tJ6.__AfytoY__.2f5yt(pDit9ytW98sjf56N55fS[r]);\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20Ktyyfet\x20=\x20is96tJ6.__MtJ__.y65D9eD8S(KtyyfetRs5v);\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20yDe9f6C5tRs5v\x20=\x20is96tJ6.__AfytoY__.2f5yt(pDit9ytW98sjf56N55fS[0]);\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20yDe9f6C5t\x20=\x20is96tJ6.__MtJ__.y65D9eD8S(yDe9f6C5tRs5v);\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20yDe9BfpDv\x20=\x20is96tJ6.__Lt5D8S__(yDe9f6C5t,\x20Ktyyfet,\x202CHpDiOtS);\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20vsKfD9\x20=\x20s5DeD9Utyyfet.vK;\x20\x20\x20\x20\x20\x20\x20\x208C9i6Ds9\x20DyGsKfD9Uf6iXD9e(sjf66t59,\x20sMsy6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x202f66t59\x20=\x20sjf66t59.5t2pfit(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20Xsy6\x20=\x20sMsy6.5t2pfit(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x202f66t59jf56y\x20=\x202f66t59.y2pD6(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20Xsy6jf56y\x20=\x20Xsy6.y2pD6(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20D8\x20(!2f66t59.D9ipCvty(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205t6C59\x202f66t59\x20===\x20Xsy6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20D8\x20(2f66t59jf56y.pt9e6X\x20<\x20r\x20||\x202f66t59jf56y[g]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205t6C59\x208fpyt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x202f66t59aC88DJ\x20=\x202f66t59jf56y.ypDit(Z).dsD9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20Xsy6aC88DJ\x20=\x20Xsy6jf56y.ypDit(-2f66t59jf56y.pt9e6X\x20+\x20Z).dsD9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205t6C59\x202f66t59aC88DJ\x20===\x20Xsy6aC88DJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pt6\x20vsKfD9BfpDv\x20=\x20(vsKfD9\x20&&\x20vsKfD9.pt9e6X)\x20?\x20vsKfD9.ysKt((vKW6tK)\x20=>\x20DyGsKfD9Uf6iXD9e(vKW6tK,\x20psif6Ds9.Xsy69fKt))\x20:\x2065Ct;\x20\x20\x20\x20\x20\x20\x20\x20D8\x20(psif6Ds9.Xsy69fKt\x20===\x20\x27psifpXsy6\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vsKfD9BfpDv\x20=\x2065Ct;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20is9y6\x20LfpDv\x20=\x20yDe9BfpDv\x20&&\x20vsKfD9BfpDv;\x20\x20\x20\x20\x20\x20\x20\x205t6C59\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LfpDv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ktyyfet:\x20s5DeD9Utyyfet,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20if6iX\x20(t55s5)\x20{\x20\x20\x20\x20\x20\x20\x20\x205t6C59\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LfpDv:\x208fpyt,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ktyyfet:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','excelDateToUnixMilliseconds','removeSourceRangeChange','dispose','_globalComputingSrv','SetPivotValueFilterCommand','DisposableCollection','SetWorksheetActiveOperation','fetchThroughAsyncInterceptors','asyncInterceptor','getFieldDataType','754ycCtoW','triggerDirtyFeature','getFieldListByArea','#FFFFFF','#b2b2b2','Panel','CELL_CONTENT','getId','rxjs','matrix','SetPivotCollapseMutation','setValuePivotFilter','getRangeStartEndInfo','exports','Var\x20of\x20','DataFieldManager','onQueryEnd','sheets-pivot.varName','Quarter','_init','SetPivotFilterMutation','@univerjs-pro/license','Date','pivotConfigChange$','updateDataFieldsCollection','CustomCommandExecutionError','getPivotTableInfo','AddPivotTableCommand','_refRangeHandle','isDateValue','isValue','UpdatePivotValuePositionCommand','Hour','_viewUpdate$','slice','MovePivotTableCommand','setCollapse','ReleaseType','_deletePivotTableInstanceCache','Subtotal','generateNullCell','PivotDateGroupFieldDateTypeEnum','getRangeData','_sheetsPivotTableConfigModel','ICommandService','Delete','setConfig','setRangeValueRedoMutation','_initSnapshot','_sheetInterceptorService','getCollection','notExecuteFormula','filter','sheet.command.add-pivot-field','defineProperty','PivotViewCellValueTypeEnum','mergeWorksheetSnapshotWithDefault','updateAllDisplayName','getGroupFieldsInfoByIds','pivotMutationGenerate','sheet.mutation.set-pivot-format','tuple','UniverCore','SheetsPivotDataSourceModel','getIntersects','disposeWithMe','grandTotal','sheets-pivot.dateGroup.hour','getName','sheet.mutation.add-pivot-table','PivotDisplayDataType','startCollectChangeset','getSortInfo','cornerInfo','minDate','BaseGroupField','createCollectionWithDataRange','number','isBottomTotal','SHEET_PIVOT_EXCLUSIVE_ID','getActiveSheet','rangeType','getTextInfo','prototype','sheets-pivot.config','sheets-pivot.value','PositionType','RemovePivotTableMutation','_ensurePivotItemRenderValueMatrixCache','limit\x20pivot','getDate','numfmt','IUniverInstanceService','sheets-pivot.emptyPivot.row','sequenceExecute','dataStyle','getViewData','NotFunction','UniverRpc','@univerjs/sheets','ObjectMatrix','fontRenderExtension','_config','UpdateFieldPositionMutation','updatePivotSource','sortInfo','pageStyle','getIntersectsPivotTable','sheet.command.set-pivot-value-filter','RemoveColMutation','ResetPivotTable','Row','rowInfo','forRow','viewData$','getSourceName','COLUMN','sheets-pivot.cellDateGroupDisplay.date','map','min','_globalSubject','workbook\x20is\x20not\x20found','length','#f4f4f5','isFeatureAuthorizedWithinTime','Month','sheet.command.set-pivot-field-setting','InterceptorEffectEnum','setSourceName','_subjectViewChange','PivotFilterTypeEnum','level','column','leftOffset','ClearSelectionContentCommand','getDataFieldItemInfo','getAdjustRangesPosition','_ensureViewDataMap','RemoveRowMutation','getPivotDirtyViewInfo','UniverProLicense','Average\x20of\x20','markDirty$','format','Min\x20of\x20','4005090JYIkjL','getSubUnitPivotMatrix','getPivotTableModelConfig','YearQuarter','_subjectCollectionChange','function','entries','UNIVER_SHEET','iterateFieldByArea','sheet.command.update-date-group','lastRow','setRangeValueUndoMutation','SetPivotFieldFormatMutation','STRING','getColumnCount'];_0xc4c9=function(){return _0x1d7c8a;};return _0xc4c9();}
|
|
1
|
+
function _0x554c(_0x59626d,_0x23ecb4){const _0x3eb4cb=_0x3eb4();return _0x554c=function(_0x554c94,_0x3d9ec6){_0x554c94=_0x554c94-0x8f;let _0x4374c1=_0x3eb4cb[_0x554c94];return _0x4374c1;},_0x554c(_0x59626d,_0x23ecb4);}function _0x3eb4(){const _0x1bd27a=['Optional','movePivotField','RemoveField','_ensurePivotItemRenderValueMatrixCache','#b2b2b2','addDataFieldWithoutUnitInfo','sheets-pivot.dateGroup.hour','sheet.command.move-pivot-table','panel','isDateValue','AddPivotFieldMutation','sheet.command.update-date-group','broadcastCollectionChange','updateFieldSourceInfo','disposeWithMe','getSheets','SetPivotSort','GrandTotal','UpdateValuePosition','setPivotInitCompleted','IResourceManagerService','getLastRow','pivotTableIndexConfig','interceptCommand','generateNullCell','rangesInfo','areaInfo','SetPivotPositionMutation','getPivotDirtyViewInfo','sheet.mutation.set-pivot-collapse','DataField','RemoveSheetsFilterMutation','IExclusiveRangeService','sheet.mutation.add-pivot-table','addPivotTable','getRangeKey','_initCommandInterceptListener','interceptor','createLabelField','getRangeKeyList','PivotErrorTypeEnum','_sheetsSelectionsService','getFormat','LifecycleService','sheets-pivot.cellDateGroupDisplay.minute','addDirtyPivotTable','getActiveSheet','UNIVER_SHEET','toString','Subject','getTargetByPivotTableId','getFilterInfo','UniverProSheetsPivot','_subjectFieldsCollectionChange','pageRanges','ErrorType','oldMatrix','NUMBER','getDataFieldId','format','AddPivotTableCommand','getFieldFormat','sheet.mutation.set-pivot-option','Year','getDataFieldByTableId','MovePivotTableCommand','getColCount','_pivotTableInstanceCache','Product\x20of\x20','_initRemoveSheetCommandInterceptor','var','PivotDataFieldDataTypeEnum','isText','isErrorValue','sheets-pivot.emptyPivot.values','sideEffectUpdateWorkerCache','handleSourceRangeChange','initDataRanges','error','updateDirtyPivotTable','sheets-pivot.emptyPivot.filter','pivotInitCompleted$','PivotMultipleValueId','PivotTableValuePositionEnum','displayName','foreach','SetPivotFilterMutation','SheetsPivotTableConfigModel','ResetPivotFieldsConfigCommand','_pivotRenderValueMatrixCache','collectionConfig','NotName','getPivotInfoByLicense','\x20-\x20','drillDown','InsertSheetUndoMutationFactory','_pivotTableRangeInfo','hasField','getDate','sheets-pivot.emptyPivot.row','countNums','YearMonth','getValueIndex','sheet.mutation.update-pivot-table-source-range','iterateFieldByArea','DEFAULT_PIVOT_NUMBER','value','SetRangeValuesUndoMutationFactory','getDirtyInfo','removeValueFilterInfo','row','updatePivotTableRangeInfo','#f4f4f5','updateRangeKeyMap','generateNewSheetName','getCurrentSelections','Style','_fieldsCollectionChange$','getFieldPositionInfoById','sheets-pivot.cellDateGroupDisplay.yearMonth','collections','_initLocale','SetPivotSubtotalTypeMutation','sheet.mutation.remove-pivot-field','SetPivotOptionMutation','RemovePivotField','setPivotSort','getInsertRowColMutations','pivotConfigChange$','sheets-pivot.cellDateGroupDisplay.month','setRange','notExecuteFormula','createAsyncInterceptorKey','ICommandService','subtotal','dataFieldId','serializeRangeWithSpreadsheet','setPivotTableConfig','_sheetsPivotDataSourceModel','endRow','setValueFilterInfo','SHEET_PIVOT_IN_MAIN_THREAD','getCollection','undos','Filter','_createExclusiveRange','custom','Inject','Count\x20of\x20','_injector','canUsePivot','isNaN','viewData$','result','paths','options','getOwnPropertyDescriptor','colRanges','DependentOn','isFeatureAuthorizedWithinTime','onStarting','DrillDown','updateConfigCache','SetPivotFilter','fieldsCollectionChange$','split','getSheetBySheetId','InsertRowMutation','getColumnCount','MAX_SAFE_INTEGER','updateDataFieldsCollection','_collectionChange$','existing','merge','substring','InterceptorEffectEnum','CommandType','setFieldFormat','getFieldById','REF','_pivotInitCompleted$','getAutoDisplayName','add','dataFields','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','hasOwnProperty','MUTATION','has','parse','getOriginFieldId','setSortInfo','resetArea','handleAsyncResponse','_sheetsPivotTableService','sheet.mutation.set-pivot-field-subtotal-type','PivotDrillDownCommand','startCollectChangeset','prefix','RenameField','getRangeData','generateHexNumber','StdDev\x20of\x20','SetPivotValueFilterCommand','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','_univerInstanceService','RemoveColMutation','updateViewData','createDataFieldId','sheet.mutation.pivot-update-field-source-info','fieldId','remove','_commandService','UniverRpc','_generateUniqueVersion','8697663zZYSjl','sheet.mutation.add-pivot-field','column','Quarter','_ensurePivotMap','_initClearSelectionCommandInterceptor','setSubtotalType','getValuePosition','reset','getTextSize','cornerRanges','sheets-pivot.sumName','isColMultiMeasure','_queryingMap','SetPivotTableConfig','getUnit','setConfig','sheet.command.set-pivot-value-filter','isDate','sheets-pivot.dateGroup.minute','_resourceManagerService','sheets-pivot.cellDateGroupDisplay.date','UpdatePivotTableSourceRangeMutation','_requestResolvers','getPivotPerformCheck','IUndoRedoService','BLANK_ROW_COUNT','SetPivotCollapseMutation','getSheetCommandTarget','sheet.command.update-pivot-value-position','sheet.command.add-pivot-table-with-config','updatePivotSource','rangeKey','next','addRecord','originalFieldId','forRow','sheets.tabs.sheet','size','_configService','unionPivotViewRange','triggerDirtyFeature','PivotTableChangeTypeEnum','push','keys','sheets-pivot.countNumsName','type','MIN_SAFE_INTEGER','isBaseGroupField','headerMap','_globalComputingSrv','fieldIds','PivotViewCellValueTypeEnum','reduce','BehaviorSubject','SheetsPivotTableService','count','registerRefRange','getUpdateRangeDeleteIds','valueFilter','collectionChange$','getFieldDataType','_onRefRangeChange','_host','iterateField','_deletePivotTableInstanceCache','getFieldInfo','defineProperty','startRow','SetWorksheetActiveOperation','SetPivotSortCommand','registerPluginResource','maxDate','fromJSON','entries','isEmpty','getPivotTableModelConfig','getRangeStartEndInfo','subscribe','sheet.mutation.set-pivot-position','Total','getMatrixValue','sheets-pivot.maxName','colCount','PivotTableFiledAreaEnum','SetWorksheetColWidthMutation','pageStyle','SHEET_PIVOT_EXCLUSIVE_ID','createCollectionWithDataRange','resetPivotTable','MovePivotFieldCommand','from','MovePivotField','sheet.command.move-pivot-field','StdDevp\x20of\x20','varp','Value','concat','Grand\x20Total','sheet.command.remove-pivot-field','_lifecycleService','asObservable','executeCommand','blank','updateCollectionConfig','getNoUsedDataFieldIds','_sheetInterceptorService','DateGroupField','SetFilterInfo','cellToRange','getTypeOfUnitDisposed$','find','applyChangeSet','function','getFieldListByArea','25okjzEa','updateRenderCache','getDisplayName','sheets-pivot.productName','sheets-pivot.dateGroup.year','generateRandomId','setValuePivotFilter','#e6ebfb','realDeleteValue','getPivotTableInstance','set','rxjs','exports','getCellMatrix','dataRangeInfo','DataFieldManager','SetPivotSortMutation','batch','getColumnWidth','setDateType','MoveRangeMutation','RemovePivotTableMutation','markDirty','7494KwQvaj','Add','_toJSON','AddPivotFieldCommand','PivotCallbackEnum','PositionType','ClearSelectionAllCommand','length','fields','RefRangeService','filterId','range','_initUnitDisposed','refreshGroupField','_dataSyncPrimaryController','fontRenderExtension','getFieldIds','SetSheetsFilterRangeMutation','setDirty','rangeType','@univerjs-pro/license','33PhykOd','limit\x20pivot','getPivotTableRangeInfo','getMatrixFromRunTimeData','_refRangeHandle','NotNumber','endCollectChangeset','removeValueFilterInfoByValueFieldId','splice','fieldsConfig','floor','onCommandExecuted','addField','updateFieldPosition','includes','rangeKeyMap','filter','sheets-pivot.cellDateGroupDisplay.quarter','amd','RemoveSheetCommand','3szQouL','updateAllDisplayName','SetFieldFormat','getRefRangeMutationsByMoveRange','_getAutoName','UpdateValuePositionMutation','@univerjs/sheets-filter','_globalSubject','shouldClear','UniverLicensePlugin','_sheetsPivotTableAdaptorModel','rowFields','_markDirty$','setName','removeSourceRangeChange','string','queryDirtyPivotTable','pbt','addExclusiveRange','getName','ResetPivotTable','PivotTableViewDirtyMarkOperation','workbook\x20is\x20not\x20found','INTERCEPTOR_POINT','pivotTableId','_collectionConfigModel','token','_localeService','getSortInfo','getSubUnitPivotMatrix','UniverSheets','_viewData','BaseGroupField','originTargetInfo','filterInfo','deleteDataField','IFeatureCalculationManagerService','setRangeValueRedoMutation','transFromCellValue','updateValuePosition','pivotTableConfigs','sheet.command.reset-pivot-fields-config','getFullYear','689703kbpLFq','removeCollections','DataSyncPrimaryController','CELL_CONTENT','pivotMutationGenerate','FieldsCollection','Row','UniverEngineFormula','redos','_textInfo','dimension','FontCache','COMMAND','STRING','clearRenderCache','UniverProEnginePivot','sheets-pivot.minName','forEach','refreshData','isBottomTotal','sheets-pivot.varName','Existing','sheet.command.set-pivot-filter','Div0','_initGlobalComputed','_ensurePivotTableRangeInfo','getDataFieldManager','call','versions','contains','name','getId','Minute','sheets-pivot.config','DEFAULT_WORKSHEET_ROW_COUNT','stringify','ManualFilter','leftOffset','sheet.mutation.get-pivot-data-local','pushComputingStatusSubject','SetRangeValuesMutation','measure','setRangeValueUndoMutation','getPivotCellInfo','rowCount','updatePivotTableMatrixInfo','sheet.mutation.remove-pivot-table','sheet.mutation.pivot-update-value-position','#eceeff','_model','_pivotRenderInfoCache','adjustSheetCellData','HourMinute','_refRangeService','needSameDeleteModel','getPivotDisplayConfig','defaultThemeStyle','_pivotConfigChange$','SetValueFilter','UniverEngineRender','updateView','getAdjustRangesPosition','colHeaderMap','Varp\x20of\x20','sequenceExecute','getMatrix','Min\x20of\x20','getFontStyleString','unshift','collection','grandTotal','UpdateDateGroupCommand','SetValuePivotFilter','sheetName','LS_CONFIG_KEY','params','NO_COMMERCIAL','5214770IdCYdE','sheet.mutation.set-pivot-format','getTableFieldById','info','bind','NotFunction','RemovePivotFieldMutation','UpdatePivotSource','getConfig','pushUndoRedo','SHEET_PIVOT_TABLE_PLUGIN','AsyncInterceptorManager','ΣValue','return\x20','registerCallbackWithEvent','_initConfig','UpdatePivotValuePositionCommand','PivotTableOperationEnum','BadReference','getformat','SheetsPivotDataSourceModel','sheet.command.set-pivot-fields-config','onQueryStart','SheetsSelectionsService','sheet.command.set-pivot-field-setting','subUnitId','tuple','getTextInfo','rowInfo','isDateGroupFieldJSON','setPivotFilter','handleMoveRange','sheets-pivot.cellDateGroupDisplay.hour','sheets-pivot.cellDateGroupDisplay.year','Column','getInterceptPoints','setRangeKeyMap','valueIndex','1421090QmPMsO','registerCommand','setSourceName','SetSortInfo','excelDateToUnixMilliseconds','Date','getRowCount','version','subTotalStyle','getGroupFieldsInfoByIds','getDataFieldItemInfo','getEmptyPivotRanges','sheets-pivot.dateGroup.quarter','_getPivotAppliedRanges','values','GlobalComputingStatusService','Delete','sheets-pivot.emptyPivot.column','Panel','sheets-pivot.dateGroup.date','getSheetId','MoveRangeCommand','sheet.command.add-pivot-table','Average\x20of\x20','col','_viewUpdate$','IUniverInstanceService','RemovePivotFieldCommand','addPivotTableWithConfig','get','_sheetsPivotTableConfigModel','getAutoFitColumnsMutations','viewUpdate$','sheets-pivot.averageName','setPivotTable','clearExclusiveRangesByGroupId','removeField','register','getMonth','dataStyle','_pivotTableMatrixInfo','renameField','UniverInstanceType','getStyles','columnFields','intercept','14UlFJIX','DisposableCollection','deleteField','getAutoDisplayNameFunction','toJSON','_ensureViewDataMap','setLabelFilterInfo','_updateModelCache','sheets-pivot.columnName','uniqueDataFieldName','numfmt','RemoveSheetMutation','Hour','rowStyle','SheetInterceptorService','UpdateFieldPosition','Tools','setValue','sheet.mutation.send-pivot-data-local','rowRanges','rowHeaderMap','removePivotField','updateViewInfo','getFieldCountByArea','iterateFieldDim','_activeDirtyManagerService','leafStyle','getIntersectsPivotTable','disposableCollection','sheets-pivot.grandTotal','getTargetByPivotId','colInfo','Set','sheets-pivot.dateGroup.yearQuarter','_exclusiveRangeService','NUM','InterceptorManager','YearQuarter','getIndexesByPathStr','#e6ebfa','addCollectionByJSON','Rectangle','getPivotItemRenderInfoCache','deleteUnitId','_initPivotTextInfo','SheetsPivotTableAdaptorModel','AddPivotTable','Month','updateConfig','3370988BwxWDI','intersects','pivotPerformCheck','random','UpdatePivotFieldSettingCommand','getValueFilterInfos','fetchThroughAsyncInterceptors','sheet.command.set-pivot-collapse','UniverSheetsPivotTablePlugin','max','setPivotCollapse','AddPivotTableMutation','Column\x20','getDataFieldByDataFieldId','setPivotSetting','getSubtotal','removePivotTable','number','sheet.mutation.add-group-collection','_initRegisterCommand','_featureCalculationManagerService','sheets-pivot.countName','Collapse','ReleaseType','1367272Bffiwl','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','configVersion$','InsertColMutation','endColumn','Values','refreshDataField','formJSON','_subjectViewChange','_dataFieldManagerCollection','getSheetBySheetName','slice','CellValueType','setTextInfo','getSubUnitPivotRenderCache','SetSubtotalType','symbol','unshiftString','width','SetOptions','valueFields','generateMutationsByRanges','dateType','_init','sheet.mutation.set-pivot-sort-info','#1d32e9','sheets-pivot.value','_initPivotDataGetListener','deepClone','getLastCol','#FFFFFF','PivotTable','IActiveDirtyManagerService','YearMonthDate','Disposable','Subtotal','data','RANGE_TYPE','lastRow','sourceRangeInfo','getCellRaw','New','ObjectMatrix','cornerInfo','_updatePivotTableInstanceCache','getCurrentUnitForType','unitId','toStringTag','createInterceptorKey','addCollection','_subjectCollectionChange','startColumn','InsertSheetMutation','SetPivotSetting','LocaleService','forValue','AddPivotTableWithConfig','getPivotTableCellData','dataFieldManagerConfig','getViewData','getUnitId','message','getSubUnitPivotConfigs','sheet.mutation.remove-group-collection','getPivotTableConfig','new','SetPivotCollapse','stdDev','IConfigService','PivotFilterTypeEnum','single','delete','min','Var\x20of\x20','getDataFieldByRangeKey','generateSetRangeValueMutations','_viewData$','PivotDateGroupFieldDateTypeEnum','_ensurePivotTableMatrixInfo','lastCol','targetCellInfo','PivotSubtotalTypeEnum','Injector','registerSyncingMutations','Range','sheets-pivot.cellDateGroupDisplay.yearMonthDate','asyncInterceptor','tableFieldId','_updateRenderEmptyCache','dataFieldsCollection','sheets-pivot.blank','_config','_deleteModelCache','_globalComputedStartHelpFunc','RenamePivotFieldMutation','_globalComputedEndHelpFunc','node','_initSnapshot','removeCollectionImp','InsertSheetCommand','DIV_BY_ZERO','_initDataSendListener','stdDevp','sum','getValue','SetPivotFieldFormatMutation','addFieldWithSourceId','getPivotTableMatrixInfo','mergeWorksheetSnapshotWithDefault','replace','PivotCellStyleTypeEnum','dispose','getSourceName','None','update','SheetsPivotRPCService','PivotView','sortInfo','document','isValue','pluginName','map','_ensurePivotItemRenderInfoCache','query','getSheetFeatureLimit','valid','SetCollapse','UniverSheetsFilter','sheet.mutation.send-init-pivot-text-local','sheet.mutation.set-pivot-filter','addPivotField','rangeCache','some','level','sheets-pivot.dateGroup.yearMonth','sheets-pivot.dateGroup.yearMonthDate','colStyle','charCodeAt','_sheetsPivotRpcService','Plugin','collapseInfo','fetchThroughInterceptors','_configVersion$','dataStream','sheets-pivot.varpName','NAME','AddPivotField'];_0x3eb4=function(){return _0x1bd27a;};return _0x3eb4();}(function(_0x3e0b56,_0x34dd90){const _0x43e575=_0x554c,_0x467ca5=_0x3e0b56();while(!![]){try{const _0x1782ee=parseInt(_0x43e575(0xf5))/0x1+-parseInt(_0x43e575(0x168))/0x2+parseInt(_0x43e575(0xca))/0x3*(parseInt(_0x43e575(0x1c7))/0x4)+parseInt(_0x43e575(0x3bb))/0x5*(-parseInt(_0x43e575(0xa1))/0x6)+parseInt(_0x43e575(0x196))/0x7*(parseInt(_0x43e575(0x1df))/0x8)+parseInt(_0x43e575(0x348))/0x9+-parseInt(_0x43e575(0x142))/0xa*(parseInt(_0x43e575(0xb6))/0xb);if(_0x1782ee===_0x34dd90)break;else _0x467ca5['push'](_0x467ca5['shift']());}catch(_0x3f2408){_0x467ca5['push'](_0x467ca5['shift']());}}}(_0x3eb4,0x8895e),function(_0x2b3b6f,_0x151074){const _0x35a835=_0x554c;typeof exports=='object'&&typeof module<'u'?_0x151074(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x35a835(0x3b9)&&define[_0x35a835(0xc8)]?define([_0x35a835(0x96),'@univerjs-pro/engine-pivot','@univerjs/core','@univerjs/engine-formula','@univerjs/sheets',_0x35a835(0x95),_0x35a835(0xb5),_0x35a835(0xd0),'@univerjs/rpc','@univerjs/engine-render'],_0x151074):(_0x2b3b6f=typeof globalThis<'u'?globalThis:_0x2b3b6f||self,_0x151074(_0x2b3b6f[_0x35a835(0x2a6)]={},_0x2b3b6f[_0x35a835(0x104)],_0x2b3b6f['UniverCore'],_0x2b3b6f[_0x35a835(0xfc)],_0x2b3b6f[_0x35a835(0xe8)],_0x2b3b6f[_0x35a835(0x95)],_0x2b3b6f['UniverProLicense'],_0x2b3b6f[_0x35a835(0x25e)],_0x2b3b6f[_0x35a835(0x346)],_0x2b3b6f[_0x35a835(0x130)]));}(this,function(_0x5bc0f5,_0x7d04ba,_0xaebd85,_0x33633f,_0x401092,_0x4c50c4,_0x800699,_0x40f4c0,_0x54f4a6,_0x1c5052){'use strict';const _0x45f501=_0x554c;var _0x201e39=Object[_0x45f501(0x38b)],_0x3d1979=(_0x8ce9de,_0x5307ed,_0xf5ab)=>_0x5307ed in _0x8ce9de?_0x201e39(_0x8ce9de,_0x5307ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf5ab}):_0x8ce9de[_0x5307ed]=_0xf5ab,_0x1f3ba2=(_0x1d3189,_0x213977,_0x2b9c17)=>_0x3d1979(_0x1d3189,typeof _0x213977!=_0x45f501(0x1ef)?_0x213977+'':_0x213977,_0x2b9c17);const _0x264e12=Number['parseInt'](0x686bf162),_0x1fcff3=0x10,_0x6fd86=0x1,_0x513a85=_0x45f501(0x14c),_0x32fbf9=0x1,_0x4dc90b='rgb(240,241,243)',_0x25f2e5='rgb(255,255,255)',_0x1b1d99=_0x45f501(0x276),_0x4f866b=_0x45f501(0x2e2),_0x34a46b=_0x45f501(0x2e2),_0x3dba1f=_0x45f501(0x125),_0x1fd2d8=_0x45f501(0x1f8),_0x149978=_0x45f501(0x1fd),_0x169aac=_0x45f501(0x1bd),_0x32889e=_0x45f501(0x1f8),_0x21f78a=_0x45f501(0x1fd),_0x5ddd56=_0x45f501(0x91),_0x5d6c95=0xe,_0x51270e=0x6;var _0x5e87a5=(_0x5dd0d8=>(_0x5dd0d8[_0x45f501(0x10a)]=_0x45f501(0x31e),_0x5dd0d8[_0x45f501(0x208)]=_0x45f501(0x220),_0x5dd0d8))(_0x5e87a5||{});const _0x1da8a3={'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':''}}},_0x49953c=0x1e,_0xfb3bca={'b':{'s':0x1,'cl':{'rgb':_0x1b1d99}},'l':{'s':0x1,'cl':{'rgb':_0x1b1d99}},'r':{'s':0x1,'cl':{'rgb':_0x1b1d99}},'t':{'s':0x1,'cl':{'rgb':_0x1b1d99}}},_0x36789c={'bg':{'rgb':_0x4dc90b},'ht':0x2,'vt':0x2,'tb':0x1},_0x3012b3={'bg':{'rgb':_0x25f2e5},'ht':0x2,'vt':0x2,'tb':0x1},_0x40537f={'rowStyle':{'bg':{'rgb':_0x5ddd56},'bd':_0xfb3bca,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x32889e},'bd':null,'cl':{'rgb':_0x21f78a},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x169aac},'vt':0x2},'cornerStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x3dba1f},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x4f866b},'vt':0x2},'leafStyle':{'bd':_0xfb3bca,'bg':{'rgb':_0x34a46b},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1fd2d8},'cl':{'rgb':_0x149978},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xfb3bca,'vt':0x2}};function _0x20b15a(_0x24750b,_0x145955,_0x1a3464){const _0x3b233d=_0x45f501,_0xa4c60f=_0x24750b['get'](_0xaebd85[_0x3b233d(0x215)]),_0x5b59f6=_0x1a3464[_0x3b233d(0x317)]('_');switch(_0x145955){case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x2b1)]:return _0xa4c60f['t'](_0x3b233d(0x163),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x115)]:return _0xa4c60f['t'](_0x3b233d(0x29e),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x1a2)]:return _0xa4c60f['t'](_0x3b233d(0x162),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x129)]:return _0xa4c60f['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x16d)]:return _0xa4c60f['t'](_0x3b233d(0x35d),..._0x5b59f6);case _0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x3b233d(0x1c5)]:return _0xa4c60f['t'](_0x3b233d(0x2f3),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)]['Quarter']:return _0xa4c60f['t'](_0x3b233d(0xc7),..._0x5b59f6);case _0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x3b233d(0x2d7)]:return _0xa4c60f['t'](_0x3b233d(0x2e9),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)]['YearMonthDate']:return _0xa4c60f['t'](_0x3b233d(0x234),..._0x5b59f6);case _0x7d04ba[_0x3b233d(0x22c)][_0x3b233d(0x1bb)]:return _0xa4c60f['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x5b59f6);}return'';}const _0x3ae7af=(_0x5d0036,_0x18cbcb,_0x731320,_0x3a8ada)=>{const _0x40db57=_0x45f501;let _0xcbe362;const _0x19d564=_0x5d0036[_0x40db57(0x185)](_0xaebd85[_0x40db57(0x182)])[_0x40db57(0x20c)](_0xaebd85[_0x40db57(0x192)]['UNIVER_SHEET']);if(!_0x19d564)return null;const _0x1a6eba=_0x19d564['getStyles']();let _0x23135f;if(_0x731320&&(_0x23135f=_0x1a6eba[_0x40db57(0x1a7)](_0x731320)),_0x18cbcb!=null&&_0x18cbcb['v']||(_0x18cbcb==null?void 0x0:_0x18cbcb['v'])===0x0){_0xcbe362||(_0xcbe362={});const _0x49ba72=_0x47d8e9(_0x18cbcb['v']);typeof _0x49ba72==_0x40db57(0x1d8)?_0xcbe362['t']=_0xaebd85[_0x40db57(0x1eb)]['NUMBER']:typeof _0x49ba72=='string'&&(_0xcbe362['t']=_0xaebd85[_0x40db57(0x1eb)]['STRING']),_0xcbe362['v']=_0x49ba72;}if((_0x18cbcb!=null&&_0x18cbcb['i']||(_0x18cbcb==null?void 0x0:_0x18cbcb['i'])===0x0)&&(_0xcbe362||(_0xcbe362={}),_0xcbe362['fi']=_0x18cbcb['i']),_0x18cbcb!=null&&_0x18cbcb['s']&&(_0xcbe362||(_0xcbe362={}),_0xcbe362[_0x40db57(0xdb)]=_0x18cbcb['s']),_0x731320&&(_0xcbe362||(_0xcbe362={}),_0xcbe362['s']=_0x23135f),_0x3a8ada&&_0xcbe362!=null&&_0xcbe362['v']&&_0xcbe362[_0x40db57(0xdb)]!==_0x7d04ba[_0x40db57(0x24d)][_0x40db57(0x283)]&&_0xcbe362[_0x40db57(0xdb)]!==_0x7d04ba[_0x40db57(0x24d)][_0x40db57(0x202)]){const _0x1f831e=String(_0xcbe362['v']),{dateType:_0x2eb183}=_0x3a8ada;_0xcbe362['v']=_0x20b15a(_0x5d0036,_0x2eb183,_0x1f831e),_0xcbe362['t']=_0xaebd85['CellValueType'][_0x40db57(0x102)];}return _0xcbe362;},_0x595c4d=(_0x2bc404,_0x49553f,_0x4db24a,_0x38215e)=>{const _0x3b4ac6=_0x45f501;var _0x37047b,_0x58ef43,_0x540bf3,_0x162e2b,_0x34a4ac,_0xcda9f9,_0x95301,_0x2e6023,_0x45e98e,_0x1c096c,_0x3cabfe,_0x1e552b,_0x4e2318,_0x44c7ad;const _0x676d27=_0x4db24a[_0x3b4ac6(0x22f)],{cornerView:_0x5685bb,rowView:_0x22c439,colView:_0x188f34,dataView:_0x26096a,pageView:_0x2606c6,formatMap:_0x36a5f6,groupInfo:_0x4c9927}=_0x49553f,{row:_0xf3e913,col:_0x166987}=_0x676d27,_0x32cd4e=new _0xaebd85['ObjectMatrix'](),_0x4dc683={},_0x4eff18={},_0x145e29={},_0x3fe0ba={},_0x1b5add={};let _0x51d4fb=_0xf3e913,_0xfadaeb=_0x166987;Object[_0x3b4ac6(0x374)](_0x2606c6[_0x3b4ac6(0x203)])[_0x3b4ac6(0x106)](_0x4c215a=>{Object['keys'](_0x2606c6['data'][Number(_0x4c215a)])['forEach'](_0x4aa8db=>{const _0xb70638=_0x554c,_0x31e088={..._0x2606c6[_0xb70638(0x203)][Number(_0x4c215a)][Number(_0x4aa8db)]};_0x32cd4e[_0xb70638(0x1a7)](Number(_0x4c215a)+_0x51d4fb,Number(_0x4aa8db)+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x31e088,_0x40537f[_0xb70638(0x39e)]));});});const _0x452561=Object[_0x3b4ac6(0x374)](_0x2606c6[_0x3b4ac6(0x203)])['length'];_0x51d4fb+=_0x452561+(_0x452561?_0x32fbf9:0x0);const _0x144bb3=_0x5685bb[_0x3b4ac6(0x16e)](),_0x5d175d=_0x5685bb['getColCount']();for(let _0x38fa3f=0x0;_0x38fa3f<_0x144bb3;_0x38fa3f++)for(let _0xec4edd=0x0;_0xec4edd<_0x5d175d;_0xec4edd++){const _0x4172ff={...(_0x58ef43=(_0x37047b=_0x5685bb['data'])==null?void 0x0:_0x37047b[_0x38fa3f])==null?void 0x0:_0x58ef43[_0xec4edd]};_0x4172ff&&((_0x540bf3=_0x22c439[_0x3b4ac6(0x379)][_0xec4edd])!=null&&_0x540bf3[_0x3b4ac6(0x256)])&&_0xec4edd===_0x5d175d-0x1&&_0x38fa3f===_0x144bb3-0x1&&(_0x4172ff['v']=''+_0x38215e['sheets-pivot.value']),_0x32cd4e[_0x3b4ac6(0x1a7)](_0x38fa3f+_0x51d4fb,_0xec4edd+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x4172ff,_0x40537f['cornerStyle']));}for(let _0x2af0fe=0x0;_0x2af0fe<_0x5685bb[_0x3b4ac6(0x145)][_0x3b4ac6(0xa8)];_0x2af0fe++)_0x5685bb[_0x3b4ac6(0x145)][_0x2af0fe]&&(_0x145e29[''+(_0x2af0fe+_0xfadaeb)]=_0x5685bb[_0x3b4ac6(0x145)][_0x2af0fe]);_0xfadaeb+=_0x5d175d;const _0x4251c1=_0x188f34['headerMap'],_0x18cd7f=_0x188f34[_0x3b4ac6(0x287)]()>=0x0?_0x188f34[_0x3b4ac6(0x287)]()+0x1:0x0,_0xd85f7a=_0x188f34[_0x3b4ac6(0x1fc)]()>=0x0?_0x188f34['getLastCol']()+0x1:0x0;for(let _0x2e34f3=0x0;_0x2e34f3<_0xd85f7a;_0x2e34f3++){for(let _0x4f0cf6=0x0;_0x4f0cf6<_0x18cd7f;_0x4f0cf6++){const _0x6ee263={...(_0x34a4ac=(_0x162e2b=_0x188f34[_0x3b4ac6(0x203)])==null?void 0x0:_0x162e2b[_0x4f0cf6])==null?void 0x0:_0x34a4ac[_0x2e34f3]},_0x3a074c=(_0xcda9f9=_0x4251c1[_0x4f0cf6])==null?void 0x0:_0xcda9f9[_0x3b4ac6(0x236)],_0x304e87=_0x36a5f6[_0x3a074c],_0x345463=_0x4c9927[_0x3a074c];_0x6ee263&&(_0x6ee263['v']=_0x42a243(_0x6ee263,_0x4f0cf6===0x0&&((_0x95301=_0x188f34['getHeaderMapItem'](_0x2e34f3+0x1))==null?void 0x0:_0x95301['isValue']),_0x304e87,_0x38215e));let _0x542c93;_0x304e87?_0x542c93={..._0x40537f[_0x3b4ac6(0x267)],'n':{'pattern':_0x304e87}}:_0x542c93={..._0x40537f[_0x3b4ac6(0x267)]},_0x32cd4e['setValue'](_0x4f0cf6+_0x51d4fb,_0x2e34f3+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x6ee263,_0x542c93,_0x345463));}_0x188f34[_0x3b4ac6(0x145)][_0x2e34f3]&&(_0x4eff18[''+(_0x2e34f3+_0xfadaeb)]=_0x188f34[_0x3b4ac6(0x145)][_0x2e34f3]),_0x188f34['headerMap'][_0x2e34f3+0x1]&&(_0x1b5add[''+(_0x2e34f3+_0x51d4fb+0x1)]=_0x188f34[_0x3b4ac6(0x379)][_0x2e34f3+0x1]);}_0x51d4fb+=_0x144bb3;const _0x1800fe=_0x22c439['headerMap'],_0x412f8c=_0x22c439['getLastRow']()>=0x0?_0x22c439[_0x3b4ac6(0x287)]()+0x1:0x0,_0x4200e3=_0x22c439[_0x3b4ac6(0x1fc)]()>=0x0?_0x22c439[_0x3b4ac6(0x1fc)]()+0x1:0x0;for(let _0x436a0e=0x0;_0x436a0e<_0x412f8c;_0x436a0e++){for(let _0x27e3b2=0x0;_0x27e3b2<_0x4200e3;_0x27e3b2++){const _0x216e24={...(_0x45e98e=(_0x2e6023=_0x22c439[_0x3b4ac6(0x203)])==null?void 0x0:_0x2e6023[_0x436a0e])==null?void 0x0:_0x45e98e[_0x27e3b2]},_0x1dad4e=(_0x1c096c=_0x1800fe[_0x27e3b2])==null?void 0x0:_0x1c096c[_0x3b4ac6(0x236)],_0x20377b=_0x36a5f6[_0x1dad4e],_0x519463=_0x4c9927[_0x1dad4e];_0x216e24&&(_0x216e24['v']=_0x42a243(_0x216e24,!0x1,_0x20377b,_0x38215e));let _0x5a5f0d;_0x22c439['info'][_0x436a0e][_0x3b4ac6(0x264)]===_0x22c439[_0x3b4ac6(0x2b4)]()?_0x5a5f0d=_0x40537f[_0x3b4ac6(0x1b0)]:_0x22c439[_0x3b4ac6(0x145)][_0x436a0e][_0x3b4ac6(0x108)]?_0x5a5f0d=_0x22c439[_0x3b4ac6(0x145)][_0x436a0e]['level']===0x0?_0x40537f[_0x3b4ac6(0x13b)]:_0x40537f[_0x3b4ac6(0x170)]:_0x5a5f0d=_0x40537f[_0x3b4ac6(0x1a3)],_0x20377b&&(_0x5a5f0d={..._0x5a5f0d,'n':{'pattern':_0x20377b}}),_0x32cd4e['setValue'](_0x436a0e+_0x51d4fb,_0x27e3b2+_0x166987,_0x3ae7af(_0x2bc404,_0x216e24,_0x5a5f0d,_0x519463));}_0x22c439[_0x3b4ac6(0x145)][_0x436a0e]&&(_0x4dc683[''+(_0x436a0e+_0x51d4fb)]=_0x22c439[_0x3b4ac6(0x145)][_0x436a0e]),_0x22c439[_0x3b4ac6(0x379)][_0x436a0e]&&(_0x3fe0ba[''+(_0x436a0e+_0x166987)]=_0x22c439[_0x3b4ac6(0x379)][_0x436a0e]);}const _0x27699c=_0x26096a['getRowCount'](),_0x270db0=_0x26096a[_0x3b4ac6(0x2b4)]();for(let _0x2b5f78=0x0;_0x2b5f78<_0x27699c;_0x2b5f78++)for(let _0x43c5ae=0x0;_0x43c5ae<_0x270db0;_0x43c5ae++){const _0x4d4525={...(_0x1e552b=(_0x3cabfe=_0x26096a[_0x3b4ac6(0x203)])==null?void 0x0:_0x3cabfe[_0x2b5f78])==null?void 0x0:_0x1e552b[_0x43c5ae]};let _0xb3ce25;_0x22c439[_0x3b4ac6(0x145)][_0x2b5f78][_0x3b4ac6(0x108)]?_0xb3ce25=_0x22c439[_0x3b4ac6(0x145)][_0x2b5f78][_0x3b4ac6(0x264)]===0x0?_0x40537f[_0x3b4ac6(0x13b)]:_0x40537f[_0x3b4ac6(0x170)]:_0xb3ce25=_0x40537f[_0x3b4ac6(0x18f)];const _0xf4a0e9=_0x22c439[_0x3b4ac6(0x145)][_0x2b5f78]['valueIndex'],_0x568b1f=_0x188f34[_0x3b4ac6(0x145)][_0x43c5ae][_0x3b4ac6(0x167)],_0x28405e=Math['max'](_0xf4a0e9,_0x568b1f),_0x3a49f9=_0x4db24a[_0x3b4ac6(0xbf)]['valueFields'][_0x3b4ac6(0x3a9)]();let _0x44b66a='';_0x28405e<0x0?_0x44b66a=(_0x4e2318=_0x3a49f9[0x0])!=null?_0x4e2318:'':_0x44b66a=(_0x44c7ad=_0x3a49f9[_0x28405e])!=null?_0x44c7ad:'';const _0x2b295b=_0x36a5f6[_0x44b66a];_0x2b295b&&(_0xb3ce25={..._0xb3ce25,'n':{'pattern':_0x2b295b}}),_0x32cd4e['setValue'](_0x2b5f78+_0x51d4fb,_0x43c5ae+_0xfadaeb,_0x3ae7af(_0x2bc404,_0x4d4525,_0xb3ce25));}return{'valueMatrix':_0x32cd4e,'rowInfo':_0x4dc683,'colInfo':_0x4eff18,'cornerInfo':_0x145e29,'rowHeaderMap':_0x3fe0ba,'colHeaderMap':_0x1b5add};};function _0x42a243(_0x2c723b,_0x4443d2,_0xa006,_0x2898b1){const _0x41138d=_0x45f501;let _0x1936e9=_0x2c723b['v'];_0x4443d2&&(_0x1936e9=''+_0x2898b1['sheets-pivot.value']);const _0x525ef2=_0x2c723b['t']&&(_0x2c723b['t']&_0x7d04ba[_0x41138d(0x37c)][_0x41138d(0x3af)])>0x0;if(_0x525ef2&&(_0x1936e9=''+_0x2898b1[_0x41138d(0x239)]),_0x2c723b['s']===_0x7d04ba[_0x41138d(0x24d)][_0x41138d(0x202)]){let _0x24ab81=_0x1936e9,_0x4c40e1='';_0x7d04ba['isPrefixValue'](_0x1936e9)&&(_0x24ab81=_0x1936e9[_0x41138d(0x337)],_0x4c40e1=_0x1936e9[_0x41138d(0x2dc)]);const _0x50c79e=_0xa006&&!_0x525ef2?_0xaebd85['numfmt']['format'](_0xa006,Number(_0x24ab81)):_0x24ab81;_0x4c40e1?_0x1936e9=_0x50c79e+'\x20'+_0x4c40e1:_0x1936e9=_0x50c79e+'\x20'+_0x2898b1['sheets-pivot.subTotal'];}else _0x2c723b['s']===_0x7d04ba[_0x41138d(0x24d)][_0x41138d(0x283)]&&(_0x1936e9=_0x1936e9+'\x20'+_0x2898b1[_0x41138d(0x1b3)]);return _0x1936e9;}function _0x47d8e9(_0x7f2488){const _0x26291f=_0x45f501;if(_0x7d04ba[_0x26291f(0x2bb)](_0x7f2488)){const {errorType:_0x5b11b7}=_0x7f2488;switch(_0x5b11b7){case _0x7d04ba['PivotErrorTypeEnum'][_0x26291f(0x10c)]:return _0x33633f[_0x26291f(0x2a9)][_0x26291f(0x243)];case _0x7d04ba[_0x26291f(0x29a)][_0x26291f(0xbb)]:return _0x33633f['ErrorType'][_0x26291f(0x1b9)];case _0x7d04ba[_0x26291f(0x29a)][_0x26291f(0x147)]:return _0x33633f[_0x26291f(0x2a9)]['NAME'];case _0x7d04ba[_0x26291f(0x29a)][_0x26291f(0x2cd)]:return _0x33633f[_0x26291f(0x2a9)][_0x26291f(0x270)];case _0x7d04ba['PivotErrorTypeEnum'][_0x26291f(0x154)]:return _0x33633f[_0x26291f(0x2a9)][_0x26291f(0x325)];}}return _0x7f2488;}function _0x6b001(_0x1d9309,_0x4d256e,_0x3f9137=!0x1,_0x40a4c2=!0x1){const _0x19a40f=_0x45f501,{data:_0x23b51c}=_0x4d256e,_0x18b122=_0x4d256e[_0x19a40f(0x16e)](),_0x1d14b5=_0x4d256e[_0x19a40f(0x2b4)]();if(_0x18b122<=0x0||_0x1d14b5<=0x0)return[];const _0x38ab22=_0x4d256e[_0x19a40f(0x1fc)](),_0x4e2e5c=_0x4d256e[_0x19a40f(0x287)](),_0x527ed2=_0x40a4c2?_0x4e2e5c>=0x0?_0x4e2e5c+0x1:0x0:_0x18b122,_0x49afaf=_0x40a4c2?_0x38ab22>=0x0?_0x38ab22+0x1:0x0:_0x1d14b5,{row:_0x5b0f71,col:_0x3dbabf}=_0x1d9309,_0xe4ea4f=_0x5b0f71,_0x5346fa=_0x3dbabf;if(_0x3f9137){const _0x1996d7=[];for(const [_0x589f7c,_0x121d99]of Object[_0x19a40f(0x392)](_0x23b51c))for(const [_0x3beb85,_0x107a49]of Object[_0x19a40f(0x392)](_0x121d99))_0x1996d7[_0x19a40f(0x373)](_0xaebd85['cellToRange'](_0xe4ea4f+Number(_0x589f7c),_0x5346fa+Number(_0x3beb85)));return _0x1996d7;}else{const _0x7f8bb7=_0x40a4c2?_0x527ed2>0x0?0x1:0x0:0x1,_0x5c2b70=_0x40a4c2?_0x49afaf>0x0?0x1:0x0:0x1,_0x28912a=_0x5b0f71+_0x527ed2-_0x7f8bb7,_0x5354c8=_0x3dbabf+_0x49afaf-_0x5c2b70;return[{'startRow':_0xe4ea4f,'startColumn':_0x5346fa,'endRow':_0x28912a,'endColumn':_0x5354c8}];}}const _0x5e7272=_0x45f501(0x2ff),_0xd1b0ab=_0x45f501(0x39f);var _0x240b92=(_0x59caa3=>(_0x59caa3[_0x45f501(0x302)]=_0x45f501(0xc6),_0x59caa3['Panel']='panel',_0x59caa3[_0x45f501(0x271)]='addPivotField',_0x59caa3['AddPivotTableWithConfig']='AddPivotTableWithConfig',_0x59caa3[_0x45f501(0x1c4)]='addPivotTable',_0x59caa3[_0x45f501(0x3a4)]=_0x45f501(0x273),_0x59caa3[_0x45f501(0x2ef)]=_0x45f501(0x1ab),_0x59caa3[_0x45f501(0x221)]=_0x45f501(0x1d1),_0x59caa3[_0x45f501(0x315)]=_0x45f501(0x160),_0x59caa3['SetPivotSort']=_0x45f501(0x2f0),_0x59caa3['SetPivotSetting']=_0x45f501(0x1d5),_0x59caa3['UpdatePivotSource']=_0x45f501(0x367),_0x59caa3[_0x45f501(0x284)]=_0x45f501(0xf1),_0x59caa3[_0x45f501(0x313)]='drillDown',_0x59caa3['SetValuePivotFilter']='setValuePivotFilter',_0x59caa3[_0x45f501(0x356)]=_0x45f501(0x2fb),_0x59caa3[_0x45f501(0xde)]=_0x45f501(0x3a1),_0x59caa3))(_0x240b92||{});const _0x342327={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x45f501(0x1d3),'sheets-pivot.subTotalText':_0x45f501(0x398),'sheets-pivot.grandTotalText':_0x45f501(0x3aa),'sheets-pivot.valueText':_0x45f501(0x3a8),'sheets-pivot.averageName':_0x45f501(0x17f),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x45f501(0x306),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x45f501(0x137),'sheets-pivot.productName':_0x45f501(0x2b6),'sheets-pivot.stdDevName':_0x45f501(0x33b),'sheets-pivot.stdDevpName':_0x45f501(0x3a6),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x45f501(0x228),'sheets-pivot.varpName':_0x45f501(0x134),'sheets-pivot.subTotal':_0x45f501(0x202),'sheets-pivot.grandTotal':_0x45f501(0x3aa),'sheets-pivot.value':'value','sheets-pivot.blank':_0x45f501(0x3af),'sheets-pivot.emptyPivot.filter':_0x45f501(0x302),'sheets-pivot.emptyPivot.row':_0x45f501(0xfb),'sheets-pivot.emptyPivot.column':_0x45f501(0x164),'sheets-pivot.emptyPivot.values':_0x45f501(0x1e4)},_0x359f1b={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x33c707=_0xaebd85[_0x45f501(0x2f6)](_0x45f501(0x1c9)),_0xe0920e=_0xaebd85[_0x45f501(0x20f)](_0x45f501(0xf9));var _0x247849=(_0x5523ae=>(_0x5523ae[_0x45f501(0x328)]='add',_0x5523ae[_0x45f501(0x226)]=_0x45f501(0x226),_0x5523ae['update']=_0x45f501(0x251),_0x5523ae))(_0x247849||{}),_0x3c03d6=(_0x1d3fce=>(_0x1d3fce['Add']='add',_0x1d3fce['Set']=_0x45f501(0x94),_0x1d3fce['Delete']='delete',_0x1d3fce))(_0x3c03d6||{});const _0x1a9b4e={0x0:'C',0x1:'H',0x2:'S',0x3:'8',0x4:'L',0x5:'w',0x6:'u',0x7:'4',0x8:'9',0x9:'V','e':'0','m':'1','g':'2','A':'3','z':'5','K':'6','b':'7','C':'a','k':'b','n':'c','I':'d','c':'e','U':'f','Y':'g','w':'h','l':'i','x':'j','y':'k','M':'l','B':'m','q':'n','s':'o','E':'p','H':'q','t':'r','i':'s','j':'t','p':'v','Q':'x','P':'y','R':'z','D':'A','L':'B','v':'D','h':'E','J':'F','f':'G','O':'I','o':'J','T':'K','d':'M','X':'N','W':'O','G':'P','F':'Q','N':'R','Z':'T','S':'U','u':'W','r':'X','V':'Y','a':'Z'},_0x51efbc='U6qnjlsq\x20IcntPEjlsq(Mlncqic,\x20E6kMlnTcP)\x20{\x20\x20\x20\x20jtP\x20{\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20MlncqicOqUsGCtjDttCP\x20=\x20Mlncqic.iEMlj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20stlYlqdciiCYc\x20=\x20o2WX.ECtic(Cjsk(MlncqicOqUsGCtjDttCP[g]));\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(!stlYlqdciiCYc.6I)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stlYlqdciiCYc.6I\x20=\x20X6Bkct(MlncqicOqUsGCtjDttCP[7]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20liustyct\x20=\x20jPEcsU\x20ustyctfMskCM2nsEc\x20!==\x20\x276qIcUlqcI\x27\x20&&\x20icMU\x20lqijCqncsU\x20ustyctfMskCM2nsEc;\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20nsqjcQj\x20=\x20liustyct\x20?\x20icMU\x20:\x205lqIs5;\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20BciiCYcustI\x20=\x20nsqjcQj.__LCicK7__.ECtic(MlncqicOqUsGCtjDttCP[g]);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20BciiCYc\x20=\x20nsqjcQj.__1cQ__.ijtlqYlUP(BciiCYcustI);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ilYqCj6tcustI\x20=\x20nsqjcQj.__LCicK7__.ECtic(MlncqicOqUsGCtjDttCP[A]);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ilYqCj6tc\x20=\x20nsqjcQj.__1cQ__.ijtlqYlUP(ilYqCj6tcustI);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ilYq9CMlI\x20=\x20nsqjcQj.__pctlUP__(ilYqCj6tc,\x20BciiCYc,\x20E6kMlnTcP);\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20IsBClq\x20=\x20stlYlqdciiCYc.IB;\x20\x20\x20\x20\x20\x20\x20\x20U6qnjlsq\x20livsBClqdCjnwlqY(sGCjjctq,\x20s1sij)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ECjjctq\x20=\x20sGCjjctq.tcEMCnc(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20wsij\x20=\x20s1sij.tcEMCnc(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ECjjctqGCtji\x20=\x20ECjjctq.iEMlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20wsijGCtji\x20=\x20wsij.iEMlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(!ECjjctq.lqnM6Ici(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20ECjjctq\x20===\x20wsij;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(ECjjctqGCtji.McqYjw\x20<\x20g\x20||\x20ECjjctqGCtji[e]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20UCMic;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20ECjjctq26UUlQ\x20=\x20ECjjctqGCtji.iMlnc(m).xslq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20wsij26UUlQ\x20=\x20wsijGCtji.iMlnc(-ECjjctqGCtji.McqYjw\x20+\x20m).xslq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20ECjjctq26UUlQ\x20===\x20wsij26UUlQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Mcj\x20IsBClq9CMlI\x20=\x20(IsBClq\x20&&\x20IsBClq.McqYjw)\x20?\x20IsBClq.isBc((IBOjcB)\x20=>\x20livsBClqdCjnwlqY(IBOjcB,\x20MsnCjlsq.wsijqCBc))\x20:\x20jt6c;\x20\x20\x20\x20\x20\x20\x20\x20lU\x20(MsnCjlsq.wsijqCBc\x20===\x20\x27MsnCMwsij\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IsBClq9CMlI\x20=\x20jt6c;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nsqij\x20pCMlI\x20=\x20ilYq9CMlI\x20&&\x20IsBClq9CMlI;\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pCMlI,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BciiCYc:\x20stlYlqdciiCYc,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20nCjnw\x20(cttst)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tcj6tq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pCMlI:\x20UCMic,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BciiCYc:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x5dba1f={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x11b),'handler':()=>!0x0},_0x161053={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x1a8),'handler':()=>!0x0},_0x391b59={'type':_0xaebd85['CommandType']['MUTATION'],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x5e3865={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x4af3e0={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':_0x45f501(0x25f),'handler':()=>!0x0},_0x47e532=_0x45888f=>{const _0x1c169a=_0x45f501;var _0x2e64b9;return((_0x2e64b9=_0x45888f['body'])==null?void 0x0:_0x2e64b9[_0x1c169a(0x26e)][_0x1c169a(0x24c)](/\r\n$/,''))||'';};class _0x4d78e8 extends _0x7d04ba[_0x45f501(0x99)]{constructor(_0x2f990e,_0x2eb759){const _0xafe8fb=_0x45f501;super(),_0x1f3ba2(this,_0xafe8fb(0xc5),{}),_0x1f3ba2(this,_0xafe8fb(0x33e)),_0x1f3ba2(this,_0xafe8fb(0x387)),(this[_0xafe8fb(0x33e)]=_0x2eb759,this[_0xafe8fb(0x387)]=_0x2f990e);}[_0x45f501(0x2bf)](){const _0x3eb50a=_0x45f501;for(const _0x4e7d1f in this[_0x3eb50a(0x329)]){const _0x5acd02=this['dataFields'][_0x4e7d1f],_0x57b5c7=_0x5acd02[_0x3eb50a(0x295)]();this[_0x3eb50a(0xc5)][_0x57b5c7]=_0x5acd02[_0x3eb50a(0x114)]();}}[_0x45f501(0x199)](){const _0x1fceb6=_0x45f501,_0x1bb6fd=this[_0x1fceb6(0x387)];return _0x406ff8[_0x1fceb6(0x146)](_0x1bb6fd);}[_0x45f501(0xed)](_0x1bd4bc){const _0x4c621a=_0x45f501,_0x152658=this[_0x4c621a(0x329)][_0x1bd4bc]['rangeKey'];delete this[_0x4c621a(0x329)][_0x1bd4bc],delete this[_0x4c621a(0xc5)][_0x152658];}['addDataFieldWithoutUnitInfo'](_0x41ad13){const _0xe82ad6=_0x45f501;this[_0xe82ad6(0x329)][_0x41ad13['getId']()]=_0x41ad13;}[_0x45f501(0x241)](_0x143b49){const _0x2a5d93=_0x45f501;var _0x2eb785,_0x11a148;const _0x400b76=this[_0x2a5d93(0x387)]['getTargetByPivotId'](_0x143b49);if(_0x400b76){const {unitId:_0x4836b3,subUnitId:_0x1c5ab8}=_0x400b76,_0x28003f=(_0x2eb785=this['_host']['getPivotTableConfig'](_0x4836b3,_0x1c5ab8,_0x143b49))==null?void 0x0:_0x2eb785[_0x2a5d93(0x206)];this['_host'][_0x2a5d93(0x27e)]({'token':_0x143b49,'type':_0x247849[_0x2a5d93(0x226)],'dataRangeInfo':_0x28003f});}(_0x11a148=this[_0x2a5d93(0x300)](_0x143b49))==null||_0x11a148[_0x2a5d93(0x24e)](),delete this[_0x2a5d93(0x2ea)][_0x143b49];}['getRangeKey'](_0x7a8916,_0x20bc76){const _0x319806=_0x45f501,{sheetName:_0x52a1a0,unitId:_0x5d1212,range:_0x520a41}=_0x7a8916,{startRow:_0x1da2af,endRow:_0x14a136}=_0x520a41;return _0x33633f[_0x319806(0x2fa)](_0x5d1212,_0x52a1a0,{'startRow':_0x1da2af,'endRow':_0x14a136,'startColumn':_0x20bc76,'endColumn':_0x20bc76});}[_0x45f501(0x229)](_0x467a07){const _0x27c17c=_0x45f501;return this[_0x27c17c(0x329)][this[_0x27c17c(0xc5)][_0x467a07]];}['setRangeKeyMap'](_0x5212d2,_0x19ea12){this['rangeKeyMap'][_0x5212d2]=_0x19ea12;}[_0x45f501(0x2e3)](_0x527446,_0x440d88){const _0x1dfa94=_0x45f501;this['rangeKeyMap'][_0x440d88]=this[_0x1dfa94(0xc5)][_0x527446],delete this[_0x1dfa94(0xc5)][_0x527446];}[_0x45f501(0x1be)](_0x5e1cd9,_0x792fce,_0x40f04c,_0x4f6cf7){const _0x20f6c5=_0x45f501,_0x398094=new _0x7d04ba[(_0x20f6c5(0xfa))](this);_0x398094[_0x20f6c5(0x391)](_0x792fce);const _0x1f2b86=[];let _0x4354fd=0x0;for(const _0x2144c0 of _0x398094[_0x20f6c5(0x37b)]){const _0x527267=this[_0x20f6c5(0x295)](_0x40f04c,_0x4354fd),_0x4c618e=this[_0x20f6c5(0x329)][_0x2144c0];_0x4c618e&&(_0x4c618e['rangeKey']=_0x527267,this[_0x20f6c5(0x166)](_0x527267,_0x2144c0),_0x1f2b86[_0x20f6c5(0x373)]({'index':_0x4354fd,'dataField':_0x4c618e})),_0x4354fd++;}return this[_0x20f6c5(0x210)](_0x5e1cd9,_0x398094,_0x40f04c,_0x4f6cf7),{'collection':_0x398094,'updateDataFieldList':_0x1f2b86};}[_0x45f501(0x395)](_0x183d95,_0x3db8c0){const _0x598026=_0x45f501;return _0x183d95[_0x598026(0xb4)]===_0xaebd85[_0x598026(0x204)]['COLUMN']?{'startRow':0x0,'startColumn':_0x183d95[_0x598026(0x212)],'endRow':_0x3db8c0[_0x598026(0x16e)]()-0x1,'endColumn':_0x183d95[_0x598026(0x1e3)]}:{'startRow':_0x183d95[_0x598026(0x38c)],'startColumn':_0x183d95[_0x598026(0x212)],'endRow':_0x183d95[_0x598026(0x2fd)],'endColumn':_0x183d95[_0x598026(0x1e3)]};}[_0x45f501(0x3a0)](_0x377a68){const _0x5a6323=_0x45f501,{sheetName:_0x335d8b,range:_0x4e4331}=_0x377a68,_0x47bd95=this['_univerInstanceService'][_0x5a6323(0x20c)](_0xaebd85['UniverInstanceType'][_0x5a6323(0x2a1)]),_0x35ea3b=_0x47bd95[_0x5a6323(0x1e9)](_0x335d8b),_0x145541=_0x35ea3b[_0x5a6323(0x97)](),{startColumn:_0x3842eb,startRow:_0x3709b6,endColumn:_0x2f3cb3}=this[_0x5a6323(0x395)](_0x4e4331,_0x35ea3b),_0x4139c5=_0x47bd95[_0x5a6323(0x193)](),_0x52268b=new _0x7d04ba[(_0x5a6323(0xfa))](this);_0x52268b[_0x5a6323(0x2f4)](_0x377a68);const _0x42cd35=[],_0x19aea2={};for(let _0x2a7548=_0x3842eb;_0x2a7548<=_0x2f3cb3;_0x2a7548++){const _0x567c4a=_0x145541[_0x5a6323(0x247)](_0x3709b6,_0x2a7548),_0x2df297=this[_0x5a6323(0x295)](_0x377a68,_0x2a7548),_0x20c3c2=this['getDataFieldByRangeKey'](_0x2df297);if(_0x20c3c2)_0x52268b[_0x5a6323(0xc2)](_0x20c3c2[_0x5a6323(0x114)](),_0x20c3c2[_0x5a6323(0xdd)]());else{const _0x3d33d1=this[_0x5a6323(0x341)]();let _0x55e2ad=this[_0x5a6323(0x128)](_0x567c4a,_0x4139c5,_0x19aea2);_0x7d04ba['isDateValue'](_0x55e2ad)&&(_0x55e2ad=_0xaebd85[_0x5a6323(0x1a0)]['format'](_0x55e2ad['f'],Number(_0x55e2ad['v'])));const _0x2cc719=this['uniqueDataFieldName'](_0x55e2ad,_0x2a7548),_0x4d6691=new _0x7d04ba[(_0x5a6323(0x290))](_0x3d33d1,_0x2cc719,_0x7d04ba[_0x5a6323(0x33a)](0x3));_0x4d6691[_0x5a6323(0x368)]=_0x2df297,this[_0x5a6323(0x329)][_0x3d33d1]=_0x4d6691,_0x52268b[_0x5a6323(0xc2)](_0x3d33d1,_0x2cc719),_0x42cd35[_0x5a6323(0x373)]({'index':_0x2a7548,'dataField':_0x4d6691});}}return{'updateDataFieldList':_0x42cd35,'collection':_0x52268b};}[_0x45f501(0xce)](_0x1b3617){const _0x3ae08f=_0x45f501;return this[_0x3ae08f(0x387)][_0x3ae08f(0x15d)]()[_0x3ae08f(0x19e)]+'\x20'+_0xaebd85['numberToABC'](_0x1b3617);}[_0x45f501(0x19f)](_0x2f7105,_0x1230b2){const _0x49155d=_0x45f501;return _0x2f7105==null||_0x2f7105===''?this[_0x49155d(0xce)](_0x1230b2):String(_0x2f7105);}['getCollection'](_0x2507b9){const _0x4eb013=_0x45f501;return this[_0x4eb013(0x2ea)][_0x2507b9];}[_0x45f501(0x210)](_0x1d65a1,_0x3f2d5c,_0x20083b,_0x362e55){const _0x218b83=_0x45f501;this[_0x218b83(0x2ea)][_0x1d65a1]=_0x3f2d5c,_0x3f2d5c[_0x218b83(0x2f4)](_0x20083b),this[_0x218b83(0x387)][_0x218b83(0x27e)]({'token':_0x1d65a1,'type':_0x247849[_0x218b83(0x328)],'dataRangeInfo':_0x20083b,'targetCellInfo':_0x362e55});}[_0x45f501(0x161)](_0x5bf649,_0x4ef7e3){const _0x4e174b=_0x45f501,_0x2caff7=this['getCollection'](_0x5bf649),_0x2a22ba=_0x2caff7['getFieldIds']();let _0x4546a5=0x0;for(const _0x37771b of _0x2a22ba){const _0x24238a=_0x2caff7['getFieldById'](_0x37771b),_0x309651=this['getRangeKey'](_0x4ef7e3,_0x4546a5);this[_0x4e174b(0x2e3)](_0x24238a[_0x4e174b(0x368)],_0x309651),_0x4546a5++;}}[_0x45f501(0x28e)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x594efb,_0x13fe05){const _0x36f487=_0x45f501;if(this[_0x36f487(0x300)](_0x594efb)){const _0x391c47=this[_0x36f487(0x299)](_0x13fe05),_0x4ea957=[];for(const _0x24a4fb of _0x391c47)this[_0x36f487(0xc5)][_0x24a4fb]!==void 0x0&&_0x4ea957[_0x36f487(0x373)](this[_0x36f487(0xc5)][_0x24a4fb]);const _0x4e5437=this[_0x36f487(0x3b1)](_0x594efb),_0x2f7706=[],_0x1573f9=new Set(_0x4ea957);for(const _0x369126 of _0x4e5437)_0x1573f9['has'](_0x369126)||_0x2f7706['push'](_0x369126);return _0x2f7706;}}['getMatrixValue'](_0x1f5ccf,_0x57ef7e,_0x47df0b,_0x3832a5,_0x29e0da){const _0x232eb7=_0x45f501;return _0x57ef7e&&_0x57ef7e[_0x232eb7(0x247)](_0x3832a5,_0x29e0da)?_0x57ef7e['getValue'](_0x3832a5,_0x29e0da):_0x47df0b&&_0x47df0b[_0x232eb7(0x247)](_0x3832a5,_0x29e0da)?_0x47df0b[_0x232eb7(0x247)](_0x3832a5,_0x29e0da):_0x1f5ccf[_0x232eb7(0x247)](_0x3832a5,_0x29e0da);}[_0x45f501(0x1e5)](_0x14e901,_0x523c5e,_0x4d9205,_0x15d08e){const _0x48073c=_0x45f501,_0x7c5b7c=this[_0x48073c(0x329)][_0x14e901];if(!_0x7c5b7c)return;const {subUnitId:_0x19fec6,range:_0x2b992a,unitId:_0x378b8b}=_0x523c5e,_0x344423=this['_univerInstanceService']['getUnit'](_0x378b8b);if(!_0x344423){console['error'](_0x48073c(0xe0));return;}const _0x25f98f=_0x344423[_0x48073c(0x318)](_0x19fec6),_0x4f09d6=_0x25f98f[_0x48073c(0x97)](),{arrayFormulaCellDataMatrix:_0xd2f94a,unitDataMatrix:_0x4b8fad}=_0x15d08e||{},{startRow:_0x16fb0c,startColumn:_0x5a8521,endRow:_0x1f1166}=this[_0x48073c(0x395)](_0x2b992a,_0x25f98f);_0x7c5b7c[_0x48073c(0x350)]();const _0x20f65d=_0x344423['getStyles'](),_0x5507e1={},_0x4936d4=this['getMatrixValue'](_0x4f09d6,_0xd2f94a,_0x4b8fad,_0x16fb0c,_0x5a8521+_0x4d9205);let _0x5289ca=this['adjustSheetCellData'](_0x4936d4,_0x20f65d,_0x5507e1);_0x7d04ba[_0x48073c(0x27b)](_0x5289ca)&&(_0x5289ca=_0xaebd85[_0x48073c(0x1a0)][_0x48073c(0x2ad)](_0x5289ca['f'],Number(_0x5289ca['v'])));const _0xdbedcd=this[_0x48073c(0x19f)](_0x5289ca,_0x5a8521+_0x4d9205);_0x7c5b7c['setName'](_0xdbedcd);for(let _0x250b06=_0x16fb0c+0x1;_0x250b06<=_0x1f1166;_0x250b06++){const _0x4acd01=this[_0x48073c(0x399)](_0x4f09d6,_0xd2f94a,_0x4b8fad,_0x250b06,_0x5a8521+_0x4d9205);_0x7c5b7c['addRecord'](this[_0x48073c(0x128)](_0x4acd01,_0x20f65d,_0x5507e1),_0x250b06-0x1-_0x16fb0c);}}[_0x45f501(0x107)](_0x4fad59,_0xaf948c,_0x1f23af){const _0x44da7c=_0x45f501,{subUnitId:_0xcf266a,range:_0x5669fd,unitId:_0x12a749}=_0x1f23af,_0x50a7f5=this[_0x44da7c(0x33e)][_0x44da7c(0x357)](_0x12a749);if(!_0x50a7f5){console[_0x44da7c(0x2c0)]('workbook\x20is\x20not\x20found');return;}const _0xbcd8c5=_0x50a7f5[_0x44da7c(0x318)](_0xcf266a),_0x3592f2=_0xbcd8c5[_0x44da7c(0x97)](),{startRow:_0x2e4958,startColumn:_0x46ef9c,endRow:_0x58b52b}=this[_0x44da7c(0x395)](_0x5669fd,_0xbcd8c5),_0xa1f4a6=_0x50a7f5[_0x44da7c(0x193)](),_0x495841={};for(const {dataField:_0x4097cf,index:_0x530831}of _0xaf948c){_0x4097cf[_0x44da7c(0x350)]();const _0x1faf36=this[_0x44da7c(0x399)](_0x3592f2,void 0x0,void 0x0,_0x2e4958,_0x46ef9c+_0x530831);let _0x30089c=this[_0x44da7c(0x128)](_0x1faf36,_0xa1f4a6,_0x495841);_0x7d04ba['isDateValue'](_0x30089c)&&(_0x30089c=_0xaebd85[_0x44da7c(0x1a0)][_0x44da7c(0x2ad)](_0x30089c['f'],Number(_0x30089c['v'])));const _0x438bfc=this[_0x44da7c(0x19f)](_0x30089c,_0x46ef9c+_0x530831);_0x4097cf[_0x44da7c(0xd7)](_0x438bfc);}_0x4fad59[_0x44da7c(0xcb)]();for(let _0xf98fa4=_0x2e4958+0x1;_0xf98fa4<=_0x58b52b;_0xf98fa4++)for(const {index:_0x5b86e6,dataField:_0x3ae1ad}of _0xaf948c){const _0x2eaf42=_0x3592f2[_0x44da7c(0x247)](_0xf98fa4,_0x46ef9c+_0x5b86e6);_0x3ae1ad[_0x44da7c(0x36a)](this['adjustSheetCellData'](_0x2eaf42,_0xa1f4a6,_0x495841),_0xf98fa4-0x1-_0x2e4958);}_0x4fad59['setDataRecordCount'](_0x58b52b-_0x2e4958);}[_0x45f501(0x299)](_0x4ebd31){const _0x182073=_0x45f501,{range:_0x220385}=_0x4ebd31,{startColumn:_0xeda234,endColumn:_0x54a948}=_0x220385,_0x565080=[];for(let _0x501bad=_0xeda234;_0x501bad<=_0x54a948;_0x501bad++)_0x565080['push'](this[_0x182073(0x295)](_0x4ebd31,_0x501bad));return _0x565080;}[_0x45f501(0x128)](_0x2d852f,_0x7486ef,_0x5dde66){const _0x208d3f=_0x45f501;if(_0x2d852f){const {s:_0x2c1c92,v:_0x21a5cb,t:_0x367e63,p:_0x4bd5df}=_0x2d852f;if(_0x4bd5df)return _0x47e532(_0x4bd5df);const _0x414570=_0x7486ef[_0x208d3f(0x185)](_0x2c1c92);if(_0x414570&&_0x367e63===_0xaebd85['CellValueType'][_0x208d3f(0x2ab)]&&_0x414570['n']){const {pattern:_0x5c8413}=_0x414570['n'];_0x5dde66[_0x5c8413]||(_0x5dde66[_0x5c8413]=_0xaebd85[_0x208d3f(0x1a0)]['getFormatInfo'](_0x5c8413));const _0x1ea79e=_0x5dde66[_0x5c8413],_0xd32459=_0x1ea79e[_0x208d3f(0x35a)];if(_0x1ea79e[_0x208d3f(0x2ba)])return String(_0x21a5cb);if(_0xd32459)return{'v':_0x21a5cb,'f':_0x5c8413};}if(_0x367e63===_0xaebd85[_0x208d3f(0x1eb)][_0x208d3f(0x2ab)])return Number(_0x21a5cb);if(_0x367e63===_0xaebd85['CellValueType'][_0x208d3f(0x102)]||_0x367e63===_0xaebd85['CellValueType']['FORCE_STRING'])return String(_0x21a5cb);if(_0x367e63===void 0x0){const _0x3b2ba4=Number(_0x21a5cb);if(!Number[_0x208d3f(0x309)](_0x3b2ba4)&&String(_0x3b2ba4)===_0x21a5cb)return _0x3b2ba4;}return _0x21a5cb!=null?_0x21a5cb:null;}else return null;}[_0x45f501(0x339)](_0x5e741f){const _0x415787=_0x45f501,{sheetName:_0x330344,range:_0x101104,unitId:_0x36239b}=_0x5e741f,_0x1bf357=this['_univerInstanceService'][_0x415787(0x357)](_0x36239b);if(!_0x1bf357)return console[_0x415787(0x2c0)](_0x415787(0xe0)),{'header':[],'data':[]};const _0x456cb0=_0x1bf357[_0x415787(0x1e9)](_0x330344),_0x49a390=_0x456cb0[_0x415787(0x97)](),{startRow:_0x2c1813,startColumn:_0x37bfb6,endRow:_0x4bf60e,endColumn:_0x42f1ee}=this['getRangeStartEndInfo'](_0x101104,_0x456cb0),_0x52e8b0=_0x1bf357['getStyles'](),_0x3eab0b=[],_0x2453e2=[],_0x51856d={};for(let _0x126a81=_0x2c1813;_0x126a81<=_0x4bf60e;_0x126a81++){const _0x3b7ee1=[];for(let _0x2c57c2=_0x37bfb6;_0x2c57c2<=_0x42f1ee;_0x2c57c2++){const _0x119263=_0x49a390['getValue'](_0x126a81,_0x2c57c2);_0x126a81===_0x2c1813?_0x3eab0b[_0x415787(0x373)](_0x119263==null?null:String(_0x119263['v'])):_0x3b7ee1[_0x415787(0x373)](this['adjustSheetCellData'](_0x119263,_0x52e8b0,_0x51856d));}_0x2453e2[_0x415787(0x373)](_0x3b7ee1);}return{'header':_0x3eab0b,'data':_0x2453e2};}[_0x45f501(0x19a)](){const _0xb8409a=_0x45f501;return super[_0xb8409a(0x19a)]();}['fromJSON'](_0x4857d9){const _0x1c2ba6=_0x45f501;super[_0x1c2ba6(0x391)](_0x4857d9),this['initDataRanges']();}[_0x45f501(0x24e)](){const _0x2db1c9=_0x45f501;super[_0x2db1c9(0x24e)](),this[_0x2db1c9(0xc5)]={},this[_0x2db1c9(0x387)]=null;}}const _0x2bac0e=_0xde7c8b=>{const _0x416642=_0x45f501,{targetCellInfo:_0x1044df}=_0xde7c8b,{matrixCache:_0x330566,rangesCache:_0x2790cc}=_0x5377ee({'filter':_0x416642(0x302),'row':_0x416642(0xfb),'column':_0x416642(0x164),'values':_0x416642(0x1e4)},_0x1044df),_0x18720a=new _0xaebd85['ObjectMatrix']();return _0x330566[_0x416642(0x216)]((_0x254bf0,_0x4bdc7b,_0x2a96f4)=>{const _0x3e3ff5=_0x416642;_0x18720a[_0x3e3ff5(0x1a7)](_0x254bf0,_0x4bdc7b,_0x2a96f4);}),{'matrix':_0x18720a,'rangesCache':_0x2790cc};},_0x57d705=_0x24574a=>{const _0x4bbadf=_0x45f501;let _0x543aa3;if(_0x24574a!=null&&_0x24574a['v']||(_0x24574a==null?void 0x0:_0x24574a['v'])===0x0){_0x543aa3||(_0x543aa3={});const _0x53286f=_0x47d8e9(_0x24574a['v']);typeof _0x53286f=='number'?_0x543aa3['t']=_0xaebd85[_0x4bbadf(0x1eb)]['NUMBER']:typeof _0x53286f==_0x4bbadf(0xd9)&&(_0x543aa3['t']=_0xaebd85[_0x4bbadf(0x1eb)][_0x4bbadf(0x102)]),_0x543aa3['v']=_0x53286f;}return _0x543aa3;},_0x585e4d=(_0x50444e,_0x404596,_0x2e4f85)=>{const _0x2f72c9=_0x45f501;var _0x543a97,_0x5e4662,_0x1e452b,_0x26c381,_0xe613db,_0x5686f0,_0x4eae1a,_0x3fd1ce,_0x10bae4,_0x9211a,_0x9b6672,_0x4a1507;const {cornerView:_0x47d77a,rowView:_0xfa49a5,colView:_0x160758,dataView:_0x4d30e1,pageView:_0x4bc350,formatMap:_0x5616c5}=_0x50444e,{row:_0x126fbe,col:_0x3f2921}=_0x404596,_0x3eedef=new _0xaebd85[(_0x2f72c9(0x209))]();let _0x1e64dd=_0x126fbe,_0x2a2b62=_0x3f2921;Object[_0x2f72c9(0x374)](_0x4bc350[_0x2f72c9(0x203)])['forEach'](_0x46bad8=>{const _0x27adc1=_0x2f72c9;Object[_0x27adc1(0x374)](_0x4bc350[_0x27adc1(0x203)][Number(_0x46bad8)])[_0x27adc1(0x106)](_0x53e444=>{const _0x88d600=_0x27adc1,_0x3b81dc={..._0x4bc350['data'][Number(_0x46bad8)][Number(_0x53e444)]};_0x3eedef[_0x88d600(0x1a7)](Number(_0x46bad8)+_0x1e64dd,Number(_0x53e444)+_0x2a2b62,_0x57d705(_0x3b81dc));});});const _0xce0503=Object[_0x2f72c9(0x374)](_0x4bc350[_0x2f72c9(0x203)])[_0x2f72c9(0xa8)];_0x1e64dd+=_0xce0503+(_0xce0503?_0x32fbf9:0x0);const _0x1186f9=_0x47d77a[_0x2f72c9(0x16e)](),_0x1eb6fc=_0x47d77a[_0x2f72c9(0x2b4)]();for(let _0x298fa7=0x0;_0x298fa7<_0x1186f9;_0x298fa7++)for(let _0x21ea69=0x0;_0x21ea69<_0x1eb6fc;_0x21ea69++){const _0x238462={...(_0x5e4662=(_0x543a97=_0x47d77a['data'])==null?void 0x0:_0x543a97[_0x298fa7])==null?void 0x0:_0x5e4662[_0x21ea69]};_0x238462&&((_0x1e452b=_0xfa49a5['headerMap'][_0x21ea69])!=null&&_0x1e452b[_0x2f72c9(0x256)])&&_0x21ea69===_0x1eb6fc-0x1&&_0x298fa7===_0x1186f9-0x1&&(_0x238462['v']=''+_0x2e4f85[_0x2f72c9(0x1f9)]),_0x3eedef[_0x2f72c9(0x1a7)](_0x298fa7+_0x1e64dd,_0x21ea69+_0x2a2b62,_0x57d705(_0x238462));}_0x2a2b62+=_0x1eb6fc;const _0x3f320d=_0x160758[_0x2f72c9(0x379)],_0x20aeb1=_0x160758[_0x2f72c9(0x287)]()>=0x0?_0x160758[_0x2f72c9(0x287)]()+0x1:0x0,_0xffebb=_0x160758[_0x2f72c9(0x1fc)]()>=0x0?_0x160758['getLastCol']()+0x1:0x0;for(let _0x343b5a=0x0;_0x343b5a<_0xffebb;_0x343b5a++)for(let _0x4be65d=0x0;_0x4be65d<_0x20aeb1;_0x4be65d++){const _0x20b578={...(_0xe613db=(_0x26c381=_0x160758[_0x2f72c9(0x203)])==null?void 0x0:_0x26c381[_0x343b5a])==null?void 0x0:_0xe613db[_0x4be65d]},_0x49338f=(_0x5686f0=_0x3f320d[_0x343b5a])==null?void 0x0:_0x5686f0[_0x2f72c9(0x236)],_0x353ae3=_0x5616c5[_0x49338f];_0x20b578&&(_0x20b578['v']=_0x42a243(_0x20b578,_0x343b5a===0x0&&((_0x4eae1a=_0x160758['getHeaderMapItem'](_0x4be65d+0x1))==null?void 0x0:_0x4eae1a[_0x2f72c9(0x256)]),_0x353ae3,_0x2e4f85)),_0x3eedef[_0x2f72c9(0x1a7)](_0x343b5a+_0x1e64dd,_0x4be65d+_0x2a2b62,_0x57d705(_0x20b578));}_0x1e64dd+=_0x1186f9;const _0x151021=_0xfa49a5[_0x2f72c9(0x379)],_0x3f8bb4=_0xfa49a5[_0x2f72c9(0x287)]()>=0x0?_0xfa49a5[_0x2f72c9(0x287)]()+0x1:0x0,_0x2098ad=_0xfa49a5[_0x2f72c9(0x1fc)]()>=0x0?_0xfa49a5[_0x2f72c9(0x1fc)]()+0x1:0x0;for(let _0xad4063=0x0;_0xad4063<_0x3f8bb4;_0xad4063++)for(let _0x321593=0x0;_0x321593<_0x2098ad;_0x321593++){const _0x4c97d1={...(_0x10bae4=(_0x3fd1ce=_0xfa49a5[_0x2f72c9(0x203)])==null?void 0x0:_0x3fd1ce[_0xad4063])==null?void 0x0:_0x10bae4[_0x321593]},_0x1e1687=(_0x9211a=_0x151021[_0x321593])==null?void 0x0:_0x9211a[_0x2f72c9(0x236)],_0xcdfce7=_0x5616c5[_0x1e1687];_0x4c97d1&&(_0x4c97d1['v']=_0x42a243(_0x4c97d1,!0x1,_0xcdfce7,_0x2e4f85)),_0x3eedef[_0x2f72c9(0x1a7)](_0xad4063+_0x1e64dd,_0x321593+_0x3f2921,_0x57d705(_0x4c97d1));}const _0x2d1332=_0x4d30e1['getRowCount'](),_0x55e595=_0x4d30e1[_0x2f72c9(0x2b4)]();for(let _0x532c35=0x0;_0x532c35<_0x2d1332;_0x532c35++)for(let _0x5436df=0x0;_0x5436df<_0x55e595;_0x5436df++){const _0x33bce5={...(_0x4a1507=(_0x9b6672=_0x4d30e1[_0x2f72c9(0x203)])==null?void 0x0:_0x9b6672[_0x532c35])==null?void 0x0:_0x4a1507[_0x5436df]};_0x3eedef[_0x2f72c9(0x1a7)](_0x532c35+_0x1e64dd,_0x5436df+_0x2a2b62,_0x57d705(_0x33bce5));}return _0x3eedef;},_0x17f62d=_0x1972e1=>{const _0x3e19ab=_0x45f501,{view:_0x1f1c58,targetCellInfo:_0x3f923c,isEmpty:_0x59053b,textInfo:_0x351f05}=_0x1972e1;if(_0x59053b)return _0x2bac0e(_0x1972e1);const {pageView:_0x2ef86c,cornerView:_0x4eb77e,rowView:_0x591314,colView:_0x5e2c90,dataView:_0x2e94c6}=_0x1f1c58,_0x18cd18=_0x6b001(_0x3f923c,_0x2ef86c,!0x0),_0x533af6=_0x2ef86c[_0x3e19ab(0x205)]>=0x0?_0x2ef86c[_0x3e19ab(0x205)]+0x1:0x0,_0x4528fb=_0x4eb77e[_0x3e19ab(0x16e)](),_0x4569c0=_0x4eb77e['getColCount'](),_0x5aa5b5=_0x18cd18['length']>0x0?_0x32fbf9:0x0,_0x26da24=_0x6b001({'row':_0x3f923c['row']+_0x533af6+_0x5aa5b5,'col':_0x3f923c[_0x3e19ab(0x180)]},_0x4eb77e,!0x1,!0x1),_0x5f5989=_0x6b001({'row':_0x3f923c['row']+_0x533af6+_0x5aa5b5+_0x4528fb,'col':_0x3f923c[_0x3e19ab(0x180)]},_0x591314,!0x1,!0x0),_0x53b3fe=_0x6b001({'row':_0x3f923c[_0x3e19ab(0x2e0)]+_0x533af6+_0x5aa5b5,'col':_0x3f923c[_0x3e19ab(0x180)]+_0x4569c0},_0x5e2c90,!0x1,!0x0),_0x1b4686=_0x6b001({'row':_0x3f923c[_0x3e19ab(0x2e0)]+_0x533af6+_0x5aa5b5+_0x4528fb,'col':_0x3f923c[_0x3e19ab(0x180)]+_0x4569c0},_0x2e94c6,!0x1,!0x1),_0x25fc36={'rowRanges':_0x5f5989,'colRanges':_0x53b3fe,'cornerRanges':_0x26da24,'dataRanges':_0x1b4686,'pageRanges':_0x18cd18};return{'matrix':_0x585e4d(_0x1f1c58,_0x3f923c,_0x351f05),'rangesCache':_0x25fc36};};var _0x5106d7=Object[_0x45f501(0x30e)],_0x2b7c00=(_0x2095f1,_0x403360,_0x2f2191,_0x2ef581)=>{const _0x408f64=_0x45f501;for(var _0xd996da=_0x2ef581>0x1?void 0x0:_0x2ef581?_0x5106d7(_0x403360,_0x2f2191):_0x403360,_0x560126=_0x2095f1[_0x408f64(0xa8)]-0x1,_0x10a7fe;_0x560126>=0x0;_0x560126--)(_0x10a7fe=_0x2095f1[_0x560126])&&(_0xd996da=_0x10a7fe(_0xd996da)||_0xd996da);return _0xd996da;},_0x48fda5=(_0x5002f6,_0x2770c7)=>(_0xe494b7,_0x4c36c8)=>_0x2770c7(_0xe494b7,_0x4c36c8,_0x5002f6);_0x5bc0f5[_0x45f501(0x156)]=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x147e5d,_0x1cd693,_0x52cc4c,_0x2869d1,_0x57d52a,_0x2bbfea){const _0x795784=_0x45f501;super(),_0x1f3ba2(this,_0x795784(0x126),new Map()),_0x1f3ba2(this,_0x795784(0x2b5),new Map()),_0x1f3ba2(this,'_viewData',new Map()),_0x1f3ba2(this,_0x795784(0xfe)),_0x1f3ba2(this,'_collectionChange$',new _0x4c50c4[(_0x795784(0x2a3))]()),_0x1f3ba2(this,'collectionChange$',this[_0x795784(0x31d)]['asObservable']()),_0x1f3ba2(this,'_viewData$',new _0x4c50c4[(_0x795784(0x2a3))]()),_0x1f3ba2(this,_0x795784(0x30a),this[_0x795784(0x22b)][_0x795784(0x3ad)]()),_0x1f3ba2(this,_0x795784(0x2e7),new _0x4c50c4['Subject']()),_0x1f3ba2(this,_0x795784(0x316),this['_fieldsCollectionChange$'][_0x795784(0x3ad)]()),_0x1f3ba2(this,'_dataFieldManagerCollection',new Map()),_0x1f3ba2(this,_0x795784(0x12b),[]),_0x1f3ba2(this,_0x795784(0x355),new Map()),(this[_0x795784(0x307)]=_0x147e5d,this[_0x795784(0x33e)]=_0x1cd693,this[_0x795784(0x3ac)]=_0x52cc4c,this[_0x795784(0x36f)]=_0x2869d1,this[_0x795784(0x345)]=_0x57d52a,this[_0x795784(0x35c)]=_0x2bbfea,this[_0x795784(0x240)]());}[_0x45f501(0x15d)](){const _0x23a803=_0x45f501;return this[_0x23a803(0xfe)]?this[_0x23a803(0xfe)]:_0x342327;}[_0x45f501(0x1ec)](_0x3e218b){const _0x31e8e4=_0x45f501;this[_0x31e8e4(0xfe)]=_0x3e218b;}[_0x45f501(0x161)](_0x1553a7){const _0x4fab6c=_0x45f501;var _0x39e307;const {from:_0x3954ac,to:_0xe73c56,unitId:_0x24c2a9,fromRange:_0x1c63d1,toRange:_0xb5f634}=_0x1553a7;if(_0x3954ac&&_0xe73c56){const _0x2d6b20=this['getDataFieldManager'](_0x24c2a9),_0x225097=this[_0x4fab6c(0x126)][_0x4fab6c(0x185)](_0x24c2a9),_0x1bf5ba=(_0x39e307=this[_0x4fab6c(0x33e)]['getUnit'](_0x24c2a9))==null?void 0x0:_0x39e307[_0x4fab6c(0x318)](_0xe73c56[_0x4fab6c(0x15b)]);if(!_0x225097||!_0x1bf5ba)return;const _0x2a9031=_0x1bf5ba==null?void 0x0:_0x1bf5ba[_0x4fab6c(0xdd)]();for(const [_0x165a51,_0x3159cc]of _0x225097[_0x4fab6c(0x392)]())for(const [_0x36cde0,_0xe5f6a2]of _0x3159cc[_0x4fab6c(0x392)]()){const {sourceRangeInfo:_0x15e023}=_0xe5f6a2;if(_0x15e023[_0x4fab6c(0x20d)]===_0x24c2a9&&_0x15e023[_0x4fab6c(0x15b)]===_0x3954ac[_0x4fab6c(0x15b)]&&_0xaebd85[_0x4fab6c(0x1bf)]['contains'](_0x1c63d1,_0x15e023['range'])){const _0x1c9d3e={'row':_0x15e023[_0x4fab6c(0xac)]['startRow']-_0x1c63d1['startRow'],'col':_0x15e023[_0x4fab6c(0xac)][_0x4fab6c(0x212)]-_0x1c63d1[_0x4fab6c(0x212)]},_0x2654ce={'unitId':_0x24c2a9,'subUnitId':_0xe73c56[_0x4fab6c(0x15b)],'sheetName':_0x2a9031,'range':{'startRow':_0xb5f634[_0x4fab6c(0x38c)]+_0x1c9d3e['row'],'endRow':_0xb5f634[_0x4fab6c(0x38c)]+_0x1c9d3e[_0x4fab6c(0x2e0)]+_0x15e023[_0x4fab6c(0xac)][_0x4fab6c(0x2fd)]-_0x15e023[_0x4fab6c(0xac)]['startRow'],'startColumn':_0xb5f634[_0x4fab6c(0x212)]+_0x1c9d3e[_0x4fab6c(0x180)],'endColumn':_0xb5f634[_0x4fab6c(0x212)]+_0x1c9d3e[_0x4fab6c(0x180)]+_0x15e023[_0x4fab6c(0xac)][_0x4fab6c(0x1e3)]-_0x15e023[_0x4fab6c(0xac)]['startColumn']}};_0x2d6b20[_0x4fab6c(0x161)](_0x36cde0,_0x2654ce);const _0x3ad5a9={..._0xe5f6a2,'sourceRangeInfo':_0x2654ce};this[_0x4fab6c(0x19d)](_0x24c2a9,_0xe73c56[_0x4fab6c(0x15b)],_0x36cde0,_0x3ad5a9),this['broadcastCollectionChange']({'unitId':_0x24c2a9,'token':_0x36cde0,'type':_0x247849['update'],'oldSourceRangeInfo':_0x15e023,'dataRangeInfo':_0x2654ce,'targetCellInfo':_0xe5f6a2[_0x4fab6c(0x22f)]}),this[_0x4fab6c(0x1c6)]({'unitId':_0x24c2a9,'subUnitId':_0xe73c56['subUnitId'],'oldSubUnitId':_0x165a51,'pivotTableId':_0x36cde0,'pivotTableConfig':_0x3ad5a9,'collectionConfig':_0x2d6b20[_0x4fab6c(0x19a)]()});}}}}[_0x45f501(0x27e)](_0x902077){const _0x29eba1=_0x45f501;this[_0x29eba1(0x31d)][_0x29eba1(0x369)](_0x902077);}['getDataFieldManager'](_0x40a66f){const _0x29a961=_0x45f501;let _0x387ca9=this[_0x29a961(0x1e8)][_0x29a961(0x185)](_0x40a66f);return _0x387ca9||(_0x387ca9=new _0x4d78e8(this,this['_univerInstanceService']),this[_0x29a961(0x1e8)]['set'](_0x40a66f,_0x387ca9)),_0x387ca9;}[_0x45f501(0x300)](_0x400aff,_0x4cd77a){const _0x4ab6d9=_0x45f501;return this[_0x4ab6d9(0x10f)](_0x400aff)[_0x4ab6d9(0x2ea)][_0x4cd77a];}[_0x45f501(0x382)](_0x38555d,_0x536e19,_0x4f3c2b){const _0x12de80=_0x45f501;return this[_0x12de80(0x10f)](_0x38555d)[_0x12de80(0x382)](_0x536e19,_0x4f3c2b);}['_ensurePivotMap'](_0x28f0e4,_0xbe6d91){const _0x26901b=_0x45f501;let _0x213f85=this[_0x26901b(0x126)]['get'](_0x28f0e4);_0x213f85||(_0x213f85=new Map(),this[_0x26901b(0x126)][_0x26901b(0x94)](_0x28f0e4,_0x213f85));let _0x24c047=_0x213f85[_0x26901b(0x185)](_0xbe6d91);return _0x24c047||(_0x24c047=new Map(),_0x213f85[_0x26901b(0x94)](_0xbe6d91,_0x24c047)),_0x24c047;}[_0x45f501(0x19d)](_0x239682,_0x47695d,_0x50eac6,_0x3bc076){const _0x4a3666=_0x45f501;this[_0x4a3666(0x34c)](_0x239682,_0x47695d)[_0x4a3666(0x94)](_0x50eac6,_0x3bc076);}[_0x45f501(0x23b)](_0x43e35b,_0x2fe52f,_0x48b1b1){const _0x23589b=_0x45f501;var _0x1c0e8f,_0x5ade24,_0x515906,_0xa08f1e;((_0x5ade24=(_0x1c0e8f=this[_0x23589b(0x126)][_0x23589b(0x185)](_0x43e35b))==null?void 0x0:_0x1c0e8f[_0x23589b(0x185)](_0x2fe52f))==null?void 0x0:_0x5ade24[_0x23589b(0x185)](_0x48b1b1))&&((_0xa08f1e=(_0x515906=this[_0x23589b(0x126)][_0x23589b(0x185)](_0x43e35b))==null?void 0x0:_0x515906[_0x23589b(0x185)](_0x2fe52f))==null||_0xa08f1e[_0x23589b(0x226)](_0x48b1b1));}['_updatePivotTableInstanceCache'](_0xa9a32e,_0x3564d7){const _0x2d372d=_0x45f501;this[_0x2d372d(0x2b5)][_0x2d372d(0x94)](_0xa9a32e,_0x3564d7);}['_deletePivotTableInstanceCache'](_0x4f55bc){const _0x3ab05b=_0x45f501;this[_0x3ab05b(0x2b5)][_0x3ab05b(0x226)](_0x4f55bc);}[_0x45f501(0x19b)](_0x15ab8c,_0x159c59){const _0x2cfb24=_0x45f501;let _0x4b9ec4=this['_viewData']['get'](_0x15ab8c);_0x4b9ec4||(_0x4b9ec4=new Map(),this['_viewData'][_0x2cfb24(0x94)](_0x15ab8c,_0x4b9ec4));let _0x903c31=_0x4b9ec4[_0x2cfb24(0x185)](_0x159c59);return _0x903c31||(_0x903c31=new Map(),_0x4b9ec4[_0x2cfb24(0x94)](_0x159c59,_0x903c31)),_0x903c31;}[_0x45f501(0x1c6)](_0x4fab1e){const _0x37c897=_0x45f501,{unitId:_0x576795,subUnitId:_0x5964da,pivotTableId:_0x4d9777,pivotTableConfig:_0x2aa2b5,collectionConfig:_0x595d7e}=_0x4fab1e,_0x19f31e={'unitId':_0x576795,'subUnitId':_0x5964da,'oldSubUnitId':_0x5964da,'pivotTableId':_0x4d9777,'pivotTableConfig':_0x2aa2b5,'collectionConfig':_0x595d7e};this[_0x37c897(0x345)][_0x37c897(0x3ae)](_0x5e3865['id'],_0x19f31e,{'onlyLocal':!0x0});}[_0x45f501(0x131)](_0x1ae1d9,_0x46fe46,_0x30d166,_0x17d580,_0x5e5f99,_0x17a28a,_0x3500bf,_0x1c2029=!0x1){const _0x5232c4=_0x45f501;var _0x541f9f;this[_0x5232c4(0x345)][_0x5232c4(0x3ae)](_0x391b59['id'],{'single':{'unitId':_0x1ae1d9,'subUnitId':_0x46fe46,'type':_0x30d166,'pivotTableId':_0x17d580,'view':_0x5e5f99,'pivotConfig':_0x17a28a},'collectionConfig':{[_0x1ae1d9]:_0x3500bf}},{'onlyLocal':!0x0});const _0xfa451a=!!((_0x541f9f=this[_0x5232c4(0x93)](_0x17d580))!=null&&_0x541f9f[_0x5232c4(0x393)]()),_0x287ee8=this[_0x5232c4(0x21f)](_0x1ae1d9,_0x46fe46,_0x17d580);_0x287ee8&&this[_0x5232c4(0x340)]({'view':_0x5e5f99,'pivotTableId':_0x17d580,'textInfo':this[_0x5232c4(0x15d)](),'isEmpty':_0xfa451a,'targetCellInfo':_0x287ee8[_0x5232c4(0x22f)]},_0x1c2029);}[_0x45f501(0x340)](_0x246760,_0x3e7a37){const _0x125cd7=_0x45f501,{targetCellInfo:_0x54bb7a,pivotTableId:_0x99e71b}=_0x246760,{unitId:_0x5eb9c6,subUnitId:_0x3d9d4d}=_0x54bb7a,_0x312075=this['_ensureViewDataMap'](_0x5eb9c6,_0x3d9d4d),_0x1217a2=_0x312075['get'](_0x99e71b);let _0xd35c1b,_0x43045d;_0x1217a2&&(_0xd35c1b=_0x1217a2[_0x125cd7(0x262)],_0x43045d=_0x1217a2['matrix']);const {rangesCache:_0x42de2b,matrix:_0x12db37}=_0x17f62d(_0x246760);_0x312075[_0x125cd7(0x94)](_0x99e71b,{'rangeCache':_0x42de2b,'matrix':_0x12db37,'oldMatrix':_0x43045d,'oldRangeCache':_0xd35c1b}),_0x3e7a37||this[_0x125cd7(0x22b)][_0x125cd7(0x369)]({'unitId':_0x5eb9c6,'subUnitId':_0x3d9d4d,'pivotTableId':_0x99e71b});}['addPivotTable'](_0x12f023,_0x1f59b7,_0x27713b,_0x1a994a,_0x5451fb){const _0x6ed05c=_0x45f501;this[_0x6ed05c(0x19d)](_0x12f023,_0x1f59b7,_0x27713b,_0x5451fb),this[_0x6ed05c(0x20b)](_0x27713b,_0x1a994a);}[_0x45f501(0x1d7)](_0x43527e,_0x529f4d,_0x53aaf2){const _0x5eb2eb=_0x45f501,_0x5b3a0c=this[_0x5eb2eb(0x10f)](_0x43527e);_0x5b3a0c[_0x5eb2eb(0x3b1)](_0x53aaf2)['forEach'](_0x4931fc=>{_0x5b3a0c['deleteDataField'](_0x4931fc);}),this[_0x5eb2eb(0xf6)](_0x43527e,_0x53aaf2),this['_deleteModelCache'](_0x43527e,_0x529f4d,_0x53aaf2),this[_0x5eb2eb(0x389)](_0x53aaf2);}[_0x45f501(0x18a)](_0x555ee7,_0x27adbc,_0x52cba8,_0x16c4df){const _0x130008=_0x45f501;this[_0x130008(0x19d)](_0x555ee7,_0x27adbc,_0x52cba8,_0x16c4df);}[_0x45f501(0x21f)](_0x1a89b0,_0x3ce9e4,_0x34302b){const _0x2b6a95=_0x45f501;var _0x27dd4f,_0x1c38a0;const _0x56721b=(_0x1c38a0=(_0x27dd4f=this[_0x2b6a95(0x126)][_0x2b6a95(0x185)](_0x1a89b0))==null?void 0x0:_0x27dd4f[_0x2b6a95(0x185)](_0x3ce9e4))==null?void 0x0:_0x1c38a0['get'](_0x34302b);if(_0x56721b)return _0x56721b;}[_0x45f501(0x394)](_0x52b43d,_0x3daef1,_0x546f95){const _0x15e9ae=_0x45f501;var _0x40e032,_0x318115;const _0x46b7f0=(_0x318115=(_0x40e032=this[_0x15e9ae(0x126)][_0x15e9ae(0x185)](_0x52b43d))==null?void 0x0:_0x40e032['get'](_0x3daef1))==null?void 0x0:_0x318115[_0x15e9ae(0x185)](_0x546f95);if(_0x46b7f0)return _0x46b7f0[_0x15e9ae(0xbf)];}[_0x45f501(0x93)](_0x19a377){return this['_pivotTableInstanceCache']['get'](_0x19a377);}[_0x45f501(0x1c1)](_0x277495){const _0x41a0fe=_0x45f501;this[_0x41a0fe(0x126)][_0x41a0fe(0x226)](_0x277495);const _0x41b43e=this[_0x41a0fe(0x1e8)][_0x41a0fe(0x185)](_0x277495);_0x41b43e&&(_0x41b43e[_0x41a0fe(0x24e)](),this[_0x41a0fe(0x1e8)][_0x41a0fe(0x226)](_0x277495)),this[_0x41a0fe(0xe9)][_0x41a0fe(0x226)](_0x277495),this[_0x41a0fe(0x12b)][_0x41a0fe(0x106)](_0x3b55ea=>{const _0x22cf37=_0x41a0fe;_0x3b55ea[_0x22cf37(0x1c1)](_0x277495);});}[_0x45f501(0x1be)](_0x4fa1b1,_0x588388,_0x4f7234,_0xb0f62){const _0x421136=_0x45f501;return this[_0x421136(0x10f)](_0x4f7234[_0x421136(0x20d)])[_0x421136(0x1be)](_0x4fa1b1,_0x588388,_0x4f7234,_0xb0f62);}['createCollectionWithDataRange'](_0x33d2e6){const _0x240d22=_0x45f501;return this[_0x240d22(0x10f)](_0x33d2e6['unitId'])[_0x240d22(0x3a0)](_0x33d2e6);}[_0x45f501(0x107)](_0x255c13,_0x33d7e8,_0x16ffd2){const _0x25cf0=_0x45f501;this[_0x25cf0(0x10f)](_0x16ffd2[_0x25cf0(0x20d)])['refreshData'](_0x255c13,_0x33d7e8,_0x16ffd2);}['removeDataField'](_0x1b883e,_0x46c020){const _0x4108d7=_0x45f501;this[_0x4108d7(0x10f)](_0x1b883e)['deleteDataField'](_0x46c020);}[_0x45f501(0xf6)](_0x385c28,_0x48975e){const _0x2bcf89=_0x45f501;this[_0x2bcf89(0x10f)](_0x385c28)[_0x2bcf89(0x241)](_0x48975e);}[_0x45f501(0x21d)](_0x5d00b5,_0x592910){const _0x37f459=_0x45f501;var _0x4362de;return(_0x4362de=this[_0x37f459(0x126)][_0x37f459(0x185)](_0x5d00b5))==null?void 0x0:_0x4362de[_0x37f459(0x185)](_0x592910);}[_0x45f501(0x1b4)](_0x3a00a8){const _0x3e40a3=_0x45f501;for(const [_0x4dd06a,_0x40c2f3]of this['_model'][_0x3e40a3(0x392)]())for(const [_0x578852,_0x3fae69]of _0x40c2f3[_0x3e40a3(0x392)]())if(_0x3fae69[_0x3e40a3(0x32d)](_0x3a00a8))return{'unitId':_0x4dd06a,'subUnitId':_0x578852};return null;}[_0x45f501(0x2bd)](_0x29470d,_0x4c7cc1,_0x5a5989,_0x31d98f){const _0x47a266=_0x45f501,_0x54ed9d=this[_0x47a266(0x19b)](_0x29470d,_0x4c7cc1);_0x31d98f?_0x54ed9d[_0x47a266(0x94)](_0x5a5989,_0x31d98f):_0x54ed9d[_0x47a266(0x226)](_0x5a5989),this[_0x47a266(0x22b)][_0x47a266(0x369)]({'unitId':_0x29470d,'subUnitId':_0x4c7cc1,'pivotTableId':_0x5a5989});}['dispose'](){const _0x7cbdb4=_0x45f501;super[_0x7cbdb4(0x24e)]();}[_0x45f501(0x21a)](_0x151cff,_0x302e43,_0x33e8b1){const _0x415f05=_0x45f501;var _0x108f77,_0x57010f;const _0x36ae48=(_0x57010f=(_0x108f77=this[_0x415f05(0xe9)][_0x415f05(0x185)](_0x151cff))==null?void 0x0:_0x108f77[_0x415f05(0x185)](_0x302e43))==null?void 0x0:_0x57010f[_0x415f05(0x185)](_0x33e8b1);return _0x36ae48||null;}['addDirtyPivotTable'](_0x290170){this['updateDirtyPivotTable'](_0x290170);}[_0x45f501(0x2c1)](_0x1924e6){const _0x3c31df=_0x45f501,{token:_0x5a3c51,unitId:_0x22f19d,subUnitId:_0x23728f}=_0x1924e6,_0x5bff3a=_0x22f19d+'-'+_0x23728f+'-'+_0x5a3c51;this[_0x3c31df(0x355)][_0x3c31df(0x185)](_0x5bff3a)&&clearTimeout(this[_0x3c31df(0x355)][_0x3c31df(0x185)](_0x5bff3a));const _0x1b65e7=setTimeout(()=>{const _0x2ac326=_0x3c31df;this[_0x2ac326(0xda)](_0x1924e6),this['_queryingMap']['delete'](_0x5bff3a);},_0x49953c);this[_0x3c31df(0x355)][_0x3c31df(0x94)](_0x5bff3a,_0x1b65e7);}['queryDirtyPivotTable'](_0x24e17b){const _0x2003a4=_0x45f501,{unitId:_0x2e62b5,subUnitId:_0x3e766c,token:_0x17aa99,type:_0x4ad34b,pivotConfig:_0x5cf46e}=_0x24e17b,_0x31486f=this[_0x2003a4(0x93)](_0x17aa99),_0x66b59d=_0x31486f==null?void 0x0:_0x31486f[_0x2003a4(0x25a)](),_0x5f28d1=_0x5cf46e!=null?_0x5cf46e:this[_0x2003a4(0x21f)](_0x2e62b5,_0x3e766c,_0x17aa99);_0x5f28d1&&(_0x5f28d1[_0x2003a4(0x393)]=!!(_0x31486f!=null&&_0x31486f['isEmpty']())),(_0x66b59d||_0x4ad34b===_0x3c03d6[_0x2003a4(0x178)])&&this[_0x2003a4(0x131)](_0x2e62b5,_0x3e766c,_0x4ad34b,_0x17aa99,_0x66b59d,_0x5f28d1,this[_0x2003a4(0x10f)](_0x2e62b5)[_0x2003a4(0x19a)]());}['toJSON'](_0x4a7213){const _0x3dca7f=_0x45f501,_0x27bf01={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3dca7f(0x10f)](_0x4a7213)&&(_0x27bf01[_0x3dca7f(0x219)][_0x4a7213]=this[_0x3dca7f(0x10f)](_0x4a7213)[_0x3dca7f(0x19a)]()),this[_0x3dca7f(0x126)]['get'](_0x4a7213)){_0x27bf01[_0x3dca7f(0xf2)][_0x4a7213]={};const _0x58b37a=this['_model']['get'](_0x4a7213);_0x58b37a!=null&&_0x58b37a[_0x3dca7f(0x36e)]&&[..._0x58b37a[_0x3dca7f(0x374)]()][_0x3dca7f(0x106)](_0x247e25=>{const _0x4dc2e8=_0x3dca7f,_0x19b1dc=_0x58b37a[_0x4dc2e8(0x185)](_0x247e25);_0x19b1dc!=null&&_0x19b1dc[_0x4dc2e8(0x36e)]&&(_0x27bf01[_0x4dc2e8(0xf2)][_0x4a7213][_0x247e25]={},[..._0x19b1dc[_0x4dc2e8(0x374)]()][_0x4dc2e8(0x106)](_0x1df33c=>{const _0x49f444=_0x4dc2e8,_0x5443f4=_0x19b1dc['get'](_0x1df33c);_0x5443f4&&(_0x27bf01[_0x49f444(0xf2)][_0x4a7213][_0x247e25][_0x1df33c]=_0x5443f4);}));});}return _0x27bf01;}[_0x45f501(0x391)](_0x546a0d){const _0x3033fd=_0x45f501;var _0x1e10cd;const {dataFieldManagerConfig:_0x57f802,pivotTableConfigs:_0x45827e}=_0x546a0d;_0x57f802&&Object[_0x3033fd(0x374)](_0x57f802)[_0x3033fd(0x106)](_0x41af33=>{const _0x3e7a35=_0x3033fd;this[_0x3e7a35(0x10f)](_0x41af33)[_0x3e7a35(0x391)](_0x57f802[_0x41af33]);});const _0x25e57f=[];if(_0x45827e){const _0x461f03=(_0x1e10cd=this[_0x3033fd(0x307)][_0x3033fd(0x185)](_0xaebd85[_0x3033fd(0x223)])['getConfig'](_0x800699[_0x3033fd(0x13f)]))!=null?_0x1e10cd:{},{ls:_0x592a47,pbk:_0x385e7e}=_0x461f03,_0x21f345=_0x32805f(_0x6fd86,_0x592a47,_0x385e7e)[_0x3033fd(0x380)];Object[_0x3033fd(0x374)](_0x45827e)[_0x3033fd(0x106)](_0x3f8364=>{const _0xd2d9e5=_0x3033fd;let _0x140a40=0x0;const _0x262cf2=_0x45827e[_0x3f8364];Object[_0xd2d9e5(0x374)](_0x262cf2)[_0xd2d9e5(0x106)](_0x14eb86=>{const _0x45db31=_0xd2d9e5,_0x148c4a=_0x262cf2[_0x14eb86];Object[_0x45db31(0x374)](_0x148c4a)[_0x45db31(0x106)](_0x3fcb18=>{const _0x61b7c0=_0x45db31,_0x31852d=_0x148c4a[_0x3fcb18];if(_0x31852d){if(_0x140a40>=_0x21f345)return;_0x140a40++;const _0x5bc6a1=this[_0x61b7c0(0x10f)](_0x3f8364),_0x1b3b8a=_0x5bc6a1[_0x61b7c0(0x2ea)][_0x3fcb18],_0x250965=_0x1b3b8a[_0x61b7c0(0xb1)]();let _0x39afec=0x0;const _0x1577c2=[];for(const _0x20db53 of _0x250965){const _0xf853d7=_0x1b3b8a[_0x61b7c0(0x324)](_0x20db53);if(_0x7d04ba[_0x61b7c0(0x378)](_0xf853d7)){const _0x5c92e7=_0xf853d7['getOriginFieldId'](),_0xb8da2c=_0x1b3b8a[_0x61b7c0(0x324)](_0x5c92e7);_0xb8da2c&&_0x1577c2[_0x61b7c0(0x373)]([_0xf853d7,_0xb8da2c]);continue;}_0x5bc6a1[_0x61b7c0(0x1e5)](_0x20db53,_0x31852d[_0x61b7c0(0x206)],_0x39afec),_0x39afec++;}_0x1577c2[_0x61b7c0(0x106)](([_0x12c421,_0x4c624c])=>{_0x12c421['refreshGroupField'](_0x4c624c);});const _0x5d0925=new _0x7d04ba[(_0x61b7c0(0x1fe))](_0x1b3b8a);_0x5d0925['fromJSON'](_0x31852d[_0x61b7c0(0xbf)]),this[_0x61b7c0(0x294)](_0x3f8364,_0x14eb86,_0x3fcb18,_0x5d0925,_0x31852d);const _0x343306=_0x5d0925[_0x61b7c0(0x25a)]();_0x25e57f['push']({'unitId':_0x3f8364,'subUnitId':_0x14eb86,'pivotTableId':_0x3fcb18,'view':_0x343306['toJSON'](),'pivotConfig':_0x31852d,'type':_0x3c03d6[_0x61b7c0(0xa2)]});const _0x3d8ac6=!!_0x5d0925[_0x61b7c0(0x393)](),_0x5044d7={'view':_0x343306,'pivotTableId':_0x3fcb18,'textInfo':this[_0x61b7c0(0x15d)](),'isEmpty':_0x3d8ac6,'targetCellInfo':_0x31852d[_0x61b7c0(0x22f)]};this['updateViewData'](_0x5044d7,!0x1);}});});});}_0x57f802&&Object[_0x3033fd(0x374)](_0x57f802)[_0x3033fd(0x106)](_0x438f38=>{const _0x1e428a=_0x3033fd,_0x5c3a53=this['getDataFieldManager'](_0x438f38);this[_0x1e428a(0x2e7)][_0x1e428a(0x369)](_0x5c3a53[_0x1e428a(0x2ea)]);}),this['_commandService'][_0x3033fd(0x3ae)](_0x391b59['id'],{'batch':_0x25e57f,'collectionConfig':_0x57f802},{'onlyLocal':!0x0});}[_0x45f501(0x240)](){const _0x3c2dcb=_0x45f501;this['disposeWithMe'](this[_0x3c2dcb(0x35c)][_0x3c2dcb(0x38f)]({'toJson':_0x53e445=>JSON['stringify'](this[_0x3c2dcb(0x19a)](_0x53e445)),'parseJson':_0x4eb264=>{if(!_0x4eb264)return{};try{return JSON['parse'](_0x4eb264);}catch{return{};}},'businesses':[_0xaebd85[_0x3c2dcb(0x192)][_0x3c2dcb(0x2a1)]],'pluginName':_0x513a85,'onLoad':(_0x193f81,_0x561732)=>{this['fromJSON'](_0x561732);},'onUnLoad':_0x230bd3=>{const _0x221c2d=_0x3c2dcb;this[_0x221c2d(0x1c1)](_0x230bd3);}}));}},_0x5bc0f5[_0x45f501(0x156)]=_0x2b7c00([_0x48fda5(0x0,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x231)])),_0x48fda5(0x1,_0xaebd85[_0x45f501(0x182)]),_0x48fda5(0x2,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x29d)])),_0x48fda5(0x3,_0xaebd85[_0x45f501(0x223)]),_0x48fda5(0x4,_0xaebd85[_0x45f501(0x2f7)]),_0x48fda5(0x5,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x286)]))],_0x5bc0f5['SheetsPivotDataSourceModel']);const _0x37104d={0x0:{0x0:{'v':'filter','s':_0x36789c}},0x2:{0x1:{'v':'','s':_0x36789c},0x2:{'v':'','s':_0x36789c},0x3:{'v':'column','s':_0x36789c},0x4:{'v':'','s':_0x36789c},0x5:{'v':'','s':_0x36789c}},0x3:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x4:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x5:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x6:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x7:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x8:{0x0:{'v':_0x45f501(0x2e0),'s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':_0x45f501(0x176),'s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0x9:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xa:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xb:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xc:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}},0xd:{0x0:{'v':'','s':_0x36789c},0x1:{'v':'','s':_0x3012b3},0x2:{'v':'','s':_0x3012b3},0x3:{'v':'','s':_0x3012b3},0x4:{'v':'','s':_0x3012b3},0x5:{'v':'','s':_0x3012b3}}},_0x2ca20a={'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':[]},_0x5377ee=(_0x5ebb84,_0x329bf0)=>{const _0x1f44cf=_0x45f501,_0x2bc901=new _0xaebd85[(_0x1f44cf(0x209))](),_0x1461fd=new _0xaebd85[(_0x1f44cf(0x209))](_0x37104d),{row:_0x539d6f,col:_0x5ac8ea}=_0x329bf0;_0x1461fd[_0x1f44cf(0x216)]((_0x3a34ac,_0x525fef,_0x153f99)=>{const _0x2e70e4=_0x1f44cf;let _0x145ee2='';_0x153f99['v']==='filter'?_0x145ee2=_0x5ebb84['filter']:_0x153f99['v']==='row'?_0x145ee2=_0x5ebb84['row']:_0x153f99['v']==='column'?_0x145ee2=_0x5ebb84[_0x2e70e4(0x34a)]:_0x153f99['v']==='values'&&(_0x145ee2=_0x5ebb84[_0x2e70e4(0x176)]),_0x2bc901[_0x2e70e4(0x1a7)](_0x3a34ac+_0x539d6f,_0x525fef+_0x5ac8ea,{..._0x153f99,'v':_0x145ee2});});const _0x4508a3=_0xaebd85[_0x1f44cf(0x1a6)][_0x1f44cf(0x1fb)](_0x2ca20a);return Object[_0x1f44cf(0x374)](_0x2ca20a)[_0x1f44cf(0x106)](_0x2d5e1b=>{const _0x429128=_0x1f44cf;_0x4508a3[_0x2d5e1b]=_0x2ca20a[_0x2d5e1b][_0x429128(0x258)](_0x2fcb1d=>({..._0x2fcb1d,'startRow':_0x2fcb1d[_0x429128(0x38c)]+_0x539d6f,'endRow':_0x2fcb1d['endRow']+_0x539d6f,'startColumn':_0x2fcb1d[_0x429128(0x212)]+_0x5ac8ea,'endColumn':_0x2fcb1d['endColumn']+_0x5ac8ea}));}),{'matrixCache':_0x2bc901,'rangesCache':_0x4508a3};};function _0x406ff8(_0x7da1f3,_0x1457db){const _0x157633=_0x45f501;let _0x590c20='';const _0x6d3636=this[_0x157633(0x15d)]();switch(_0x1457db){case _0x7d04ba[_0x157633(0x230)]['average']:_0x590c20=_0x6d3636[_0x157633(0x189)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x380)]:_0x590c20=_0x6d3636[_0x157633(0x1dc)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x2d6)]:_0x590c20=_0x6d3636[_0x157633(0x375)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x1d0)]:_0x590c20=_0x6d3636[_0x157633(0x39a)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x227)]:_0x590c20=_0x6d3636[_0x157633(0x105)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)]['product']:_0x590c20=_0x6d3636[_0x157633(0x3be)]+_0x7da1f3;break;case _0x7d04ba['PivotSubtotalTypeEnum'][_0x157633(0x222)]:_0x590c20=_0x6d3636['sheets-pivot.stdDevName']+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x245)]:_0x590c20=_0x6d3636['sheets-pivot.stdDevpName']+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x246)]:_0x590c20=_0x6d3636[_0x157633(0x353)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x2b8)]:_0x590c20=_0x6d3636[_0x157633(0x109)]+_0x7da1f3;break;case _0x7d04ba[_0x157633(0x230)][_0x157633(0x3a7)]:_0x590c20=_0x6d3636[_0x157633(0x26f)]+_0x7da1f3;break;default:_0x590c20=_0x7da1f3;break;}return _0x590c20;}function _0x4e5185(_0x5ccdde,_0x280ccf,_0x2433ad,_0x2d0076,_0x5cdc7f){const _0x4b65f0=_0x45f501;var _0x1b2632,_0x728bfc,_0x2ba4a6,_0x40151c,_0x31f34c;const _0x9e53c5=_0xaebd85['cellToRange'](_0x5ccdde,_0x280ccf),{rangesInfo:_0x594042,areaInfo:_0x4a62e1,headerMap:_0x4b4e21}=_0x5cdc7f;if(!_0x594042||!_0x4a62e1||!_0x4b4e21)return;const _0x2d0e73=Object[_0x4b65f0(0x374)](_0x594042)['find'](_0x4322d2=>_0x594042[_0x4322d2]['some'](_0x2ba279=>_0xaebd85[_0x4b65f0(0x1bf)]['contains'](_0x2ba279,_0x9e53c5))),_0x5dbc61=_0x4a62e1;let _0x214fde,_0x4e0d15,_0x4319a6;if(_0x2d0e73===_0x4b65f0(0x1a9))_0x214fde=(_0x1b2632=_0x5dbc61==null?void 0x0:_0x5dbc61[_0x4b65f0(0x15e)])==null?void 0x0:_0x1b2632[_0x5ccdde],_0x4e0d15=(_0x728bfc=_0x4b4e21==null?void 0x0:_0x4b4e21[_0x4b65f0(0x1aa)])==null?void 0x0:_0x728bfc[_0x280ccf],_0x4319a6=_0x4e0d15==null?void 0x0:_0x4e0d15[_0x4b65f0(0x236)];else{if(_0x2d0e73===_0x4b65f0(0x30f))_0x214fde=(_0x2ba4a6=_0x5dbc61==null?void 0x0:_0x5dbc61[_0x4b65f0(0x1b5)])==null?void 0x0:_0x2ba4a6[_0x280ccf],_0x4e0d15=(_0x40151c=_0x4b4e21[_0x4b65f0(0x133)])==null?void 0x0:_0x40151c[_0x5ccdde+0x1+_0x280ccf-_0x594042[_0x4b65f0(0x30f)][0x0][_0x4b65f0(0x212)]],_0x4319a6=_0x4e0d15==null?void 0x0:_0x4e0d15['tableFieldId'];else{if(_0x2d0e73===_0x4b65f0(0x352))_0x214fde=(_0x31f34c=_0x5dbc61==null?void 0x0:_0x5dbc61[_0x4b65f0(0x20a)])==null?void 0x0:_0x31f34c[_0x280ccf],_0x4319a6=_0x214fde==null?void 0x0:_0x214fde[_0x4b65f0(0x236)];else{if(_0x2d0e73===_0x4b65f0(0x2a8)){const _0x4e0696=_0x2433ad==null?void 0x0:_0x2433ad['fi'];_0x4e0696!==void 0x0&&(_0x4319a6=_0x2d0076['getFilterFieldIdByIndex'](_0x4e0696));}}}}return{'filterId':_0x4319a6,'info':_0x214fde,'data':_0x2433ad,'headerInfo':_0x4e0d15};}function _0x342f43(_0x193fd8,_0x1daccc,_0x3313fa){const _0xa7c3a=_0x45f501,_0xcfbe76=_0x193fd8[_0xa7c3a(0x238)],_0x2b4289=_0xcfbe76[_0xa7c3a(0xb1)](),_0x4f1d29=new Set();_0x193fd8[_0xa7c3a(0x388)](_0x522516=>{const _0x11f68f=_0xa7c3a;_0x4f1d29[_0x11f68f(0x328)](_0x522516['dataFieldId']);});const _0x22b85c=_0x2b4289['map'](_0x389a41=>{const _0x182da8=_0xa7c3a,_0x566b65=_0xcfbe76[_0x182da8(0x324)](_0x389a41);return{'checked':_0x4f1d29[_0x182da8(0x32d)](_0x389a41),'dataFieldId':_0x566b65['id'],'id':_0x566b65['id'],'name':_0xcfbe76[_0x182da8(0x3bd)](_0x566b65['id']),'type':_0x566b65['getFieldDataType'](),'pivotTableId':_0x1daccc};}),_0xbfdf41=[];_0x193fd8[_0xa7c3a(0x2da)](_0x7d04ba[_0xa7c3a(0x39c)][_0xa7c3a(0xfb)],_0x453279=>{const _0x819ca6=_0xa7c3a;_0xbfdf41[_0x819ca6(0x373)]({'dataFieldId':_0x453279[_0x819ca6(0x2f9)],'tableFieldId':_0x453279[_0x819ca6(0x114)](),'displayName':_0x453279[_0x819ca6(0x3bd)]()});});const _0x24ac97=[];_0x193fd8[_0xa7c3a(0x2da)](_0x7d04ba[_0xa7c3a(0x39c)][_0xa7c3a(0x164)],_0x3a9391=>{const _0x4d4c91=_0xa7c3a;_0x24ac97[_0x4d4c91(0x373)]({'dataFieldId':_0x3a9391[_0x4d4c91(0x2f9)],'tableFieldId':_0x3a9391['getId'](),'displayName':_0x3a9391['getDisplayName']()});});const _0x2d22fb=[];if(_0x193fd8[_0xa7c3a(0x2da)](_0x7d04ba[_0xa7c3a(0x39c)]['Value'],_0x33cf73=>{const _0x4c4fff=_0xa7c3a;_0x2d22fb[_0x4c4fff(0x373)]({'dataFieldId':_0x33cf73['dataFieldId'],'tableFieldId':_0x33cf73[_0x4c4fff(0x114)](),'displayName':_0x33cf73['getDisplayName'](),'format':_0x33cf73[_0x4c4fff(0x29c)](),'subTotalType':_0x33cf73[_0x4c4fff(0x1d6)]()});}),_0x2d22fb['length']>0x1){const _0x4cb5b9=_0x193fd8[_0xa7c3a(0x2d8)]();(_0x193fd8[_0xa7c3a(0x354)]()?_0x24ac97:_0xbfdf41)[_0xa7c3a(0xbe)](_0x4cb5b9,0x0,{'dataFieldId':'','tableFieldId':_0xa7c3a(0x2c4),'displayName':_0xa7c3a(0x14e)});}const _0x2e83f6=[];_0x193fd8['iterateFieldByArea'](_0x7d04ba[_0xa7c3a(0x39c)][_0xa7c3a(0x302)],_0x53dd12=>{const _0x164674=_0xa7c3a;_0x2e83f6[_0x164674(0x373)]({'dataFieldId':_0x53dd12[_0x164674(0x2f9)],'tableFieldId':_0x53dd12[_0x164674(0x114)](),'displayName':_0x53dd12[_0x164674(0x3bd)]()});});const _0x1f2acb=_0x3313fa[_0xa7c3a(0x206)];return{'sourceList':_0x22b85c,'sourceRange':_0x1f2acb,'rowFields':_0xbfdf41,'columnFields':_0x24ac97,'valueFields':_0x2d22fb,'filterFields':_0x2e83f6,'positionInfo':_0x3313fa[_0xa7c3a(0x22f)]};}function _0x1408c7(_0x498789,_0x2fdc7c,_0x241236='',_0x4c2839={}){const _0x515384=_0x45f501,_0x22d34d=_0x498789[_0x515384(0x185)](_0xaebd85[_0x515384(0x215)]);for(const _0x275b4e in _0x2fdc7c)if(Object['prototype'][_0x515384(0x32b)][_0x515384(0x110)](_0x2fdc7c,_0x275b4e)){const _0x1699bf=_0x241236?_0x241236+'.'+_0x275b4e:_0x275b4e;typeof _0x2fdc7c[_0x275b4e]=='object'&&_0x2fdc7c[_0x275b4e]!==null&&!Array['isArray'](_0x2fdc7c[_0x275b4e])?_0x1408c7(_0x498789,_0x2fdc7c[_0x275b4e],_0x1699bf,_0x4c2839):_0x4c2839[_0x1699bf]=_0x22d34d['t'](_0x1699bf);}return _0x4c2839;}const _0x109750=_0x46b327=>{const _0x153d72=_0x45f501;if(!_0x46b327)return[];const {rowRanges:_0x210830,colRanges:_0x274f84,cornerRanges:_0x24d148,dataRanges:_0x105a0e,pageRanges:_0x214e2f}=_0x46b327,_0x135c08=[..._0x274f84,..._0x210830,..._0x105a0e,..._0x24d148][_0x153d72(0xc6)](_0x2dad4f=>_0x2dad4f[_0x153d72(0x38c)]>=0x0&&_0x2dad4f[_0x153d72(0x212)]>=0x0&&_0x2dad4f[_0x153d72(0x2fd)]>=0x0&&_0x2dad4f[_0x153d72(0x1e3)]>=0x0);let _0x2f7658=Number[_0x153d72(0x31b)],_0x17bdc8=Number[_0x153d72(0x377)],_0x1c88da=Number[_0x153d72(0x31b)],_0x3610f4=Number['MIN_SAFE_INTEGER'];for(let _0x25b1d0=0x0;_0x25b1d0<_0x135c08['length'];_0x25b1d0++)_0x2f7658=Math[_0x153d72(0x227)](_0x2f7658,_0x135c08[_0x25b1d0][_0x153d72(0x38c)]),_0x17bdc8=Math['max'](_0x17bdc8,_0x135c08[_0x25b1d0]['endRow']),_0x1c88da=Math[_0x153d72(0x227)](_0x1c88da,_0x135c08[_0x25b1d0][_0x153d72(0x212)]),_0x3610f4=Math[_0x153d72(0x1d0)](_0x3610f4,_0x135c08[_0x25b1d0][_0x153d72(0x1e3)]);return[..._0x214e2f,{'startRow':_0x2f7658,'endRow':_0x17bdc8,'startColumn':_0x1c88da,'endColumn':_0x3610f4}];};function _0x57ddc5(_0x52b74a,_0x4dddc8){const _0x1a233d=_0x45f501,_0x2d4cd4=_0x4dddc8[_0x1a233d(0x140)][_0x1a233d(0x2d0)],{pivotTableId:_0x20c51a,unitId:_0x1a0d04,subUnitId:_0x57d247}=_0x4dddc8;if(!_0x2d4cd4)return;const _0xf6bebc=_0x52b74a[_0x1a233d(0x185)](_0x5bc0f5[_0x1a233d(0x156)]),_0x29482b=_0xf6bebc['getPivotTableInstance'](_0x20c51a),_0x4f4ce1=_0xf6bebc['getPivotTableConfig'](_0x1a0d04,_0x57d247,_0x20c51a);if(!_0x29482b||!_0x4f4ce1)return;const _0x394c30=_0x29482b[_0x1a233d(0x1bc)](_0x2d4cd4[_0x1a233d(0x15c)]);if(!(_0x394c30!=null&&_0x394c30['length']))return;const _0x275097=_0x4f4ce1[_0x1a233d(0x206)],{unitId:_0x382411,subUnitId:_0x17a3aa,range:_0x26aade}=_0x275097;let _0x17a667=0x0;const _0xbfca11=_0x29482b['dataFieldsCollection'][_0x1a233d(0xb1)]()[_0x1a233d(0x37d)]((_0x266017,_0x3cb3f4)=>{const _0x399269=_0x1a233d;var _0x1adb81;const _0x522635=(_0x1adb81=_0x29482b[_0x399269(0x1d4)](_0x3cb3f4))==null?void 0x0:_0x1adb81[_0x399269(0x155)]();return _0x522635&&(_0x266017[String(_0x17a667)]=_0x522635),_0x17a667++,_0x266017;},{});return{'indexes':_0x394c30,'range':_0x26aade,'sourceUnitId':_0x382411,'sourceSubUnitId':_0x17a3aa,'formatMap':_0xbfca11};}function _0x3b344d(_0x123ef7,_0x286b1e){const _0x17557c=_0x45f501;if(!_0x123ef7||!_0x286b1e)return!0x0;const _0x3f8b07=_0x800699[_0x17557c(0x1f0)](_0x51efbc,_0x1a9b4e),_0x4ace9b=new Function('return\x20'+_0x3f8b07)()(_0x123ef7,_0x286b1e)[_0x17557c(0x21c)],_0x3da4e4=_0x800699[_0x17557c(0x311)](_0x4ace9b,'sf',_0x264e12);return!((_0x4ace9b==null?void 0x0:_0x4ace9b['rt'])===_0x800699[_0x17557c(0x1de)][_0x17557c(0x141)]&&!_0x3da4e4);}function _0x32805f(_0x1e8e0a,_0x298cad,_0x2cb6be){const _0x13c14d=_0x45f501,_0x1d905e={'count':_0x1e8e0a,'timeValid':!0x1};if(!_0x298cad||!_0x2cb6be)return _0x1d905e;const _0x533db1=_0x800699[_0x13c14d(0x1f0)](_0x51efbc,_0x1a9b4e),_0x49f41b=new Function(_0x13c14d(0x14f)+_0x533db1)()(_0x298cad,_0x2cb6be);if(_0x49f41b!=null&&_0x49f41b[_0x13c14d(0x25c)]){const _0x35bc93=_0x49f41b[_0x13c14d(0x21c)],_0x1f21f3=_0x800699[_0x13c14d(0x311)](_0x35bc93,'sf',_0x264e12);return{'count':_0x800699[_0x13c14d(0x25b)](_0x35bc93,_0x1f21f3,'ptn',_0x1e8e0a,_0x1e8e0a,0x0),'timeValid':_0x1f21f3};}return _0x1d905e;}function _0xd7e43f(_0x41114c,_0x26026b,_0x5438c0,_0x2371fd){const _0x305d35=_0x45f501,_0x37226a={'subUnitId':_0x5438c0,'unitId':_0x26026b,'cellValue':_0x401092[_0x305d35(0x28a)](_0x2371fd)},_0x24b30d=_0x401092[_0x305d35(0x2dd)](_0x41114c,_0x37226a);let _0x39dac8=!0x1;return new _0xaebd85['ObjectMatrix'](_0x24b30d['cellValue'])[_0x305d35(0x216)]((_0x11aa2b,_0x3b8abe,_0x2e4718)=>{const _0x437a56=_0x305d35;if(!_0x39dac8&&_0x2e4718&&(_0x2e4718[_0x437a56(0x304)]||_0x2e4718['f']||_0x2e4718['p']||_0x2e4718['s']||_0x2e4718['si']||_0x2e4718['t']||_0x2e4718['v']))return _0x39dac8=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x401092[_0x305d35(0x11d)]['id'],'params':_0x24b30d},'setRangeValueRedoMutation':{'id':_0x401092[_0x305d35(0x11d)]['id'],'params':_0x37226a},'shouldClear':_0x39dac8};}function _0x3c77b0(_0xda1190){const {row:_0x261b23,col:_0x436fab}=_0xda1190,_0x1083ae={'startRow':_0x261b23,'endRow':_0x261b23,'startColumn':_0x436fab,'endColumn':_0x436fab},_0x3f0ebc={'startRow':_0x261b23+0x2,'endRow':_0x261b23+0xe,'startColumn':_0x436fab,'endColumn':_0x436fab+0x6};return[_0x1083ae,_0x3f0ebc];}function _0x26f726(_0x465896,_0xfcb722,_0x5ea155){const _0x11b7f9=_0x45f501,{cornerView:_0x59f501,rowView:_0x91afdd,colView:_0x39900f,pageView:_0x501f14}=_0x465896,{row:_0x27e3b3,col:_0x15d9c7}=_0xfcb722;if(_0x5ea155)return{'rowCount':_0x5d6c95+_0x27e3b3,'colCount':_0x51270e+_0x15d9c7};const _0x53f50d=_0x501f14['lastRow']>-0x1?_0x501f14[_0x11b7f9(0x205)]+0x1:0x0,_0x188c2a=_0x501f14[_0x11b7f9(0x22e)]>-0x1?_0x501f14[_0x11b7f9(0x22e)]:0x0,_0x56651f=_0x27e3b3+_0x53f50d+(_0x53f50d?0x1:0x0)+_0x59f501[_0x11b7f9(0x121)]+_0x91afdd[_0x11b7f9(0x121)],_0xe3d002=_0x15d9c7+_0x188c2a,_0x1fda72=_0x15d9c7+_0x59f501[_0x11b7f9(0x39b)]+_0x39900f[_0x11b7f9(0x39b)],_0x4eac06=Math[_0x11b7f9(0x1d0)](_0xe3d002,_0x1fda72);return{'rowCount':_0x56651f,'colCount':_0x4eac06};}function _0x42c249(_0x2d1138,_0xa3f6a4,_0x5d3297,_0x33ebe1){const _0x5af700=_0x45f501,{row:_0xbd58f0,col:_0x5b0813,unitId:_0x588b06,subUnitId:_0x196b60}=_0x5d3297,_0x36308e=_0x26f726(_0xa3f6a4,{'row':_0xbd58f0,'col':_0x5b0813},_0x33ebe1),_0x3cdc56=_0x2d1138[_0x5af700(0x185)](_0xaebd85[_0x5af700(0x182)]),_0x1fc2e9=_0x401092['getSheetCommandTarget'](_0x3cdc56,{'unitId':_0x588b06,'subUnitId':_0x196b60}),_0x57654f=[],_0x5e73ca=[];if(!_0x1fc2e9)return{'undos':_0x5e73ca,'redos':_0x57654f};const {worksheet:_0x1a4e60}=_0x1fc2e9,_0x4cab5a=_0x1a4e60['getRowCount'](),_0x53326e=_0x1a4e60[_0x5af700(0x31a)]();return _0x4cab5a<_0x36308e[_0x5af700(0x121)]&&(_0x57654f[_0x5af700(0x373)]({'id':_0x401092[_0x5af700(0x319)]['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':_0x4cab5a,'endRow':_0x36308e['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x53326e-0x1}}}),_0x5e73ca['push']({'id':_0x401092['RemoveRowMutation']['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':_0x4cab5a,'endRow':_0x36308e[_0x5af700(0x121)]-0x1,'startColumn':0x0,'endColumn':_0x53326e-0x1}}})),_0x53326e<_0x36308e[_0x5af700(0x39b)]&&(_0x57654f['push']({'id':_0x401092[_0x5af700(0x1e2)]['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':0x0,'endRow':_0x4cab5a-0x1,'startColumn':_0x53326e,'endColumn':_0x36308e[_0x5af700(0x39b)]-0x1}}}),_0x5e73ca[_0x5af700(0x373)]({'id':_0x401092[_0x5af700(0x33f)]['id'],'params':{'unitId':_0x588b06,'subUnitId':_0x196b60,'range':{'startRow':0x0,'endRow':_0x4cab5a-0x1,'startColumn':_0x53326e,'endColumn':_0x36308e[_0x5af700(0x39b)]-0x1}}})),{'undos':_0x5e73ca,'redos':_0x57654f};}function _0x52d9f2(_0xdd1913){const _0xd4f641=_0x45f501;let _0x6bb0f7=0x0;for(let _0x223fc1=0x0;_0x223fc1<_0xdd1913[_0xd4f641(0xa8)];_0x223fc1++){const _0x712f21=_0xdd1913[_0xd4f641(0x268)](_0x223fc1);_0x712f21>=0x4e00&&_0x712f21<=0x9fff||_0x712f21>=0x3000&&_0x712f21<=0x303f||_0x712f21>=0xff00&&_0x712f21<=0xffef?_0x6bb0f7+=0x2:_0x6bb0f7+=0x1;}return _0x6bb0f7;}function _0x5ca586(_0x4c920a,_0x4faf9b,_0x3960bf,_0x554e23){const _0x12c8c1=_0x45f501;var _0x308d18,_0x2202e8,_0x2a378b,_0x36533f;const {rowCount:_0x40ef3a,colCount:_0x2a12cb,headerMap:_0x26b7c6}=_0x4c920a,_0x2b59fb=0x64,_0x3f88d0=Math[_0x12c8c1(0x227)](_0x40ef3a,_0x2b59fb),_0x4228e9=Math[_0x12c8c1(0x227)](_0x2a12cb,_0x2b59fb);let _0x3f231d='',_0x307c5c=0x0;for(let _0x19c338=0x0;_0x19c338<_0x3f88d0;_0x19c338++)for(let _0x16f773=0x0;_0x16f773<_0x4228e9;_0x16f773++){const _0x3e25e3={...(_0x2202e8=(_0x308d18=_0x4c920a['data'])==null?void 0x0:_0x308d18[_0x19c338])==null?void 0x0:_0x2202e8[_0x16f773]},_0x1b541a=(_0x2a378b=_0x26b7c6[_0x19c338])==null?void 0x0:_0x2a378b[_0x12c8c1(0x236)],_0xae205f=_0x554e23[_0x1b541a];let _0x29193e=_0x4c920a[_0x12c8c1(0x247)](_0x19c338,_0x16f773);if(_0x3e25e3){const _0x1f8825=_0x3960bf?_0x16f773===0x0&&((_0x36533f=_0x4c920a['getHeaderMapItem'](_0x16f773+0x1))==null?void 0x0:_0x36533f[_0x12c8c1(0x256)]):!0x1;_0x29193e=_0x42a243(_0x3e25e3,_0x1f8825,_0xae205f,_0x4faf9b);}if(_0x29193e!==void 0x0){const _0x3c4b7c=_0x52d9f2(String(_0x29193e));_0x307c5c<_0x3c4b7c&&(_0x3f231d=String(_0x29193e),_0x307c5c=_0x3c4b7c);}}return _0x3f231d;}function _0x440f21(_0x4aecf9){const _0x9043cd=_0x45f501,{rowCount:_0x46510d,colCount:_0x1adff2}=_0x4aecf9;let _0xa4b8f1='',_0x1c5303=0x0;for(let _0x4efff6=_0x46510d-0x1;_0x4efff6>0x0&&_0x4efff6>_0x46510d-0x3;_0x4efff6--)for(let _0x22cd31=0x0;_0x22cd31<_0x1adff2;_0x22cd31++){const _0xb1cf0=_0x4aecf9[_0x9043cd(0x247)](_0x4efff6,_0x22cd31);if(_0xb1cf0!==void 0x0){const _0x1bffc2=String(_0xb1cf0)[_0x9043cd(0xa8)];_0x1c5303<_0x1bffc2&&(_0xa4b8f1=String(_0xb1cf0),_0x1c5303=_0x1bffc2);}}return _0xa4b8f1;}function _0x1954bf(_0x23b860){const _0x5b3b18=_0x45f501,{rowCount:_0x521147,colCount:_0x2b4c48}=_0x23b860;let _0x3a6cf6='',_0x11cffa=0x0;for(let _0x3c5e8d=0x0;_0x3c5e8d<_0x521147;_0x3c5e8d++)for(let _0x231e33=0x0;_0x231e33<_0x2b4c48;_0x231e33++){const _0x1cccf7=_0x23b860[_0x5b3b18(0x247)](_0x3c5e8d,_0x231e33);if(_0x1cccf7!==void 0x0){const _0x67d9fc=String(_0x1cccf7)['length'];_0x11cffa<_0x67d9fc&&(_0x3a6cf6=String(_0x1cccf7),_0x11cffa=_0x67d9fc);}}return _0x3a6cf6;}function _0x520673(_0x3b5bf8,_0x4f954d){const _0x4ba3fb=_0x45f501,{rowFields:_0x22bf34,columnFields:_0x9b6ded,valueFields:_0x248d19,filterFields:_0x5a47a1,dimension:_0x16a765,measure:_0x5bb84e}=_0x4f954d;for(const _0x5d7216 of _0x22bf34){const _0x49fc21=_0x16a765[_0x5d7216];_0x49fc21&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x49fc21[_0x4ba3fb(0x2f9)])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x49fc21[_0x4ba3fb(0x2f9)],_0x7d04ba[_0x4ba3fb(0x39c)][_0x4ba3fb(0xfb)],void 0x0,_0x5d7216),_0x49fc21[_0x4ba3fb(0x2c6)]&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x49fc21['id'],_0x49fc21['displayName']),_0x49fc21['sortInfo']&&_0x3b5bf8[_0x4ba3fb(0x330)](_0x49fc21['id'],_0x49fc21['sortInfo']),_0x49fc21[_0x4ba3fb(0xec)]&&_0x3b5bf8[_0x4ba3fb(0x19c)](_0x49fc21['id'],_0x49fc21[_0x4ba3fb(0xec)]));}for(const _0x278d39 of _0x9b6ded){const _0x5c0da3=_0x16a765[_0x278d39];_0x5c0da3&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x5c0da3[_0x4ba3fb(0x2f9)])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x5c0da3['dataFieldId'],_0x7d04ba['PivotTableFiledAreaEnum'][_0x4ba3fb(0x164)],void 0x0,_0x278d39),_0x5c0da3[_0x4ba3fb(0x254)]&&_0x3b5bf8[_0x4ba3fb(0x330)](_0x5c0da3['id'],_0x5c0da3['sortInfo']),_0x5c0da3['filterInfo']&&_0x3b5bf8['setLabelFilterInfo'](_0x5c0da3['id'],_0x5c0da3[_0x4ba3fb(0xec)]),_0x5c0da3['displayName']&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x5c0da3['id'],_0x5c0da3[_0x4ba3fb(0x2c6)]));}for(const _0x4eea0b of _0x5a47a1){const _0x518092=_0x16a765[_0x4eea0b];_0x518092&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x518092[_0x4ba3fb(0x2f9)])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x518092[_0x4ba3fb(0x2f9)],_0x7d04ba[_0x4ba3fb(0x39c)][_0x4ba3fb(0x302)],void 0x0,_0x4eea0b),_0x518092[_0x4ba3fb(0x254)]&&_0x3b5bf8['setSortInfo'](_0x518092['id'],_0x518092['sortInfo']),_0x518092[_0x4ba3fb(0xec)]&&_0x3b5bf8['setLabelFilterInfo'](_0x518092['id'],_0x518092[_0x4ba3fb(0xec)]),_0x518092[_0x4ba3fb(0x2c6)]&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x518092['id'],_0x518092['displayName']));}for(const _0x2ed213 of _0x248d19){const _0x1634a6=_0x5bb84e[_0x2ed213];_0x1634a6&&_0x3b5bf8[_0x4ba3fb(0x1d4)](_0x1634a6['dataFieldId'])&&(_0x3b5bf8[_0x4ba3fb(0x249)](_0x1634a6[_0x4ba3fb(0x2f9)],_0x7d04ba[_0x4ba3fb(0x39c)]['Value'],void 0x0,_0x2ed213),_0x1634a6['subtotal']!==void 0x0&&_0x3b5bf8[_0x4ba3fb(0x34e)](_0x2ed213,_0x1634a6['subtotal']),_0x1634a6[_0x4ba3fb(0x2ad)]&&_0x3b5bf8['setFieldFormat'](_0x2ed213,_0x1634a6[_0x4ba3fb(0x2ad)]),_0x1634a6[_0x4ba3fb(0x2c6)]&&_0x3b5bf8[_0x4ba3fb(0x191)](_0x1634a6['id'],_0x1634a6['displayName']));}const _0x51c462=_0x4f954d[_0x4ba3fb(0x383)];for(const {fieldId:_0x4dff1c,filterInfo:_0x4b92ef}of _0x51c462)_0x3b5bf8['setValueFilterInfo'](_0x4dff1c,_0x4b92ef);}function _0x2d7e0c(_0x32456f,_0x5b2d98){const _0xefe416=_0x45f501,_0xe1d8a9=[];_0x5b2d98===_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0xfb)]&&_0x32456f[_0xefe416(0x2da)](_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0xfb)],_0xdf92ae=>{const _0x376c6e=_0xefe416;_0xe1d8a9[_0x376c6e(0x373)](_0xdf92ae[_0x376c6e(0x114)]());}),_0x5b2d98===_0x7d04ba['PivotTableFiledAreaEnum'][_0xefe416(0x164)]&&_0x32456f['iterateFieldByArea'](_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0x164)],_0x224f75=>{const _0xbad37b=_0xefe416;_0xe1d8a9[_0xbad37b(0x373)](_0x224f75[_0xbad37b(0x114)]());}),_0x5b2d98===_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0x302)]&&_0x32456f[_0xefe416(0x2da)](_0x7d04ba['PivotTableFiledAreaEnum']['Filter'],_0x636db6=>{const _0x44554=_0xefe416;_0xe1d8a9[_0x44554(0x373)](_0x636db6['getId']());}),_0x5b2d98===_0x7d04ba[_0xefe416(0x39c)][_0xefe416(0x3a8)]&&_0x32456f[_0xefe416(0x2da)](_0x7d04ba['PivotTableFiledAreaEnum'][_0xefe416(0x3a8)],_0x341918=>{const _0x5e1dbc=_0xefe416;_0xe1d8a9[_0x5e1dbc(0x373)](_0x341918[_0x5e1dbc(0x114)]());}),_0x5b2d98===void 0x0&&_0x32456f['iterateField'](_0x1f27fd=>{const _0x4e3760=_0xefe416;_0xe1d8a9['push'](_0x1f27fd[_0x4e3760(0x114)]());});const _0x5c1bb2=_0xe1d8a9[_0xefe416(0xa8)];for(let _0xd03118=_0x5c1bb2-0x1;_0xd03118>=0x0;_0xd03118--)_0x32456f[_0xefe416(0x18c)](_0xe1d8a9[_0xd03118]);const _0x44b524=_0x32456f[_0xefe416(0x1cc)]();for(const _0x514028 in _0x44b524)_0x32456f[_0xefe416(0x2df)](_0x514028);}function _0xd41ced(_0x307508,_0x4feff2){const _0x3ef457=_0x45f501,_0x3fe08c=new Date(_0x7d04ba[_0x3ef457(0x16c)](_0x4feff2)),_0x5065e5=new Date(_0x7d04ba['excelDateToUnixMilliseconds'](_0x307508)),_0xe360f8=_0x3fe08c[_0x3ef457(0xf4)](),_0x37aee2=_0x5065e5[_0x3ef457(0xf4)](),_0x4c1e5d=_0x3fe08c['getMonth'](),_0x41e97d=_0x5065e5[_0x3ef457(0x18e)](),_0x3d2bc7=_0x3fe08c[_0x3ef457(0x2d4)](),_0x19976a=_0x5065e5[_0x3ef457(0x2d4)](),_0x10e82f=_0xe360f8===_0x37aee2,_0x2bdb81=_0x10e82f&&_0x4c1e5d===_0x41e97d;return _0x10e82f&&_0x2bdb81&&!(_0x2bdb81&&_0x3d2bc7===_0x19976a)?_0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x3ef457(0x200)]:_0x10e82f&&!_0x2bdb81?_0x7d04ba[_0x3ef457(0x22c)][_0x3ef457(0x2d7)]:_0x7d04ba[_0x3ef457(0x22c)][_0x3ef457(0x2b1)];}function _0x419e11(_0x3eff66,_0x1641ef){const _0x5967f5=_0x45f501,_0x77e6d1=_0x3eff66[_0x5967f5(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel'])['getTextInfo']();let _0x4d9938='';switch(_0x1641ef){case _0x7d04ba[_0x5967f5(0x22c)]['YearMonthDate']:_0x4d9938=_0x77e6d1[_0x5967f5(0x266)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x2d7)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x265)];break;case _0x7d04ba['PivotDateGroupFieldDateTypeEnum'][_0x5967f5(0x2b1)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x3bf)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x1c5)]:_0x4d9938=_0x77e6d1['sheets-pivot.dateGroup.month'];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x34b)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x174)];break;case _0x7d04ba[_0x5967f5(0x22c)]['Date']:_0x4d9938=_0x77e6d1[_0x5967f5(0x17b)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x129)]:_0x4d9938=_0x77e6d1['sheets-pivot.dateGroup.hourMinute'];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x1a2)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x278)];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x115)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x35b)];break;case _0x7d04ba['PivotDateGroupFieldDateTypeEnum']['MonthDate']:_0x4d9938=_0x77e6d1['sheets-pivot.dateGroup.monthDate'];break;case _0x7d04ba[_0x5967f5(0x22c)][_0x5967f5(0x1bb)]:_0x4d9938=_0x77e6d1[_0x5967f5(0x1b7)];break;default:_0x4d9938='';break;}return _0x4d9938;}const _0x504d7b=_0x45f501(0x116),_0x49d339={};var _0xbd718c=Object[_0x45f501(0x30e)],_0x5543a1=(_0x433f93,_0x51de23,_0x94806a,_0x2bb7cd)=>{for(var _0x52989a=_0x2bb7cd>0x1?void 0x0:_0x2bb7cd?_0xbd718c(_0x51de23,_0x94806a):_0x51de23,_0x5a69ff=_0x433f93['length']-0x1,_0x2de2aa;_0x5a69ff>=0x0;_0x5a69ff--)(_0x2de2aa=_0x433f93[_0x5a69ff])&&(_0x52989a=_0x2de2aa(_0x52989a)||_0x52989a);return _0x52989a;},_0x114e96=(_0x359bb4,_0x36361b)=>(_0xc48ba7,_0x512b3b)=>_0x36361b(_0xc48ba7,_0x512b3b,_0x359bb4);_0x5bc0f5['SheetsPivotTableConfigModel']=class extends _0xaebd85['Disposable']{constructor(_0x1d77bc,_0x1e1833,_0xf95a48,_0x12fcc2,_0x274ea4){const _0x2b4aeb=_0x45f501;super(),_0x1f3ba2(this,_0x2b4aeb(0x126),new Map()),_0x1f3ba2(this,_0x2b4aeb(0xe3),new Map()),_0x1f3ba2(this,_0x2b4aeb(0x2d2),new Map()),_0x1f3ba2(this,_0x2b4aeb(0x190),new Map()),_0x1f3ba2(this,_0x2b4aeb(0x26d),new _0x4c50c4[(_0x2b4aeb(0x2a3))]()),_0x1f3ba2(this,'_pivotInitCompleted$',new _0x4c50c4[(_0x2b4aeb(0x2a3))]()),_0x1f3ba2(this,_0x2b4aeb(0x2c3),this[_0x2b4aeb(0x326)]['asObservable']()),_0x1f3ba2(this,'_pivotConfigChange$',new _0x4c50c4[(_0x2b4aeb(0x2a3))]()),_0x1f3ba2(this,_0x2b4aeb(0x2f2),this[_0x2b4aeb(0x12e)][_0x2b4aeb(0x3ad)]()),_0x1f3ba2(this,_0x2b4aeb(0xfe),{}),_0x1f3ba2(this,_0x2b4aeb(0x1e1),this[_0x2b4aeb(0x26d)][_0x2b4aeb(0x3ad)]()),(this[_0x2b4aeb(0x307)]=_0x1d77bc,this[_0x2b4aeb(0x345)]=_0x1e1833,this[_0x2b4aeb(0x33e)]=_0xf95a48,this[_0x2b4aeb(0x35c)]=_0x12fcc2,this[_0x2b4aeb(0x36f)]=_0x274ea4,this[_0x2b4aeb(0x2eb)](),this[_0x2b4aeb(0xad)]());const _0x57e701=this[_0x2b4aeb(0x36f)][_0x2b4aeb(0x14a)](_0x504d7b);(_0x57e701==null?void 0x0:_0x57e701[_0x2b4aeb(0x2f5)])===!0x0&&this[_0x2b4aeb(0x240)]();}[_0x45f501(0xad)](){const _0x1028b0=_0x45f501;this[_0x1028b0(0x280)](this[_0x1028b0(0x33e)][_0x1028b0(0x3b6)](_0xaebd85['UniverInstanceType']['UNIVER_SHEET'])[_0x1028b0(0x396)](_0x10ef3e=>{const _0x7de25b=_0x1028b0;this['deleteUnitId'](_0x10ef3e[_0x7de25b(0x21b)]());}));}[_0x45f501(0x285)](){const _0x21010e=_0x45f501;this[_0x21010e(0x326)]['next'](!0x0);}[_0x45f501(0x2eb)](){const _0xe6550d=_0x45f501,_0x1ee2ad=_0x1408c7(this[_0xe6550d(0x307)],_0x1da8a3,'',{});this[_0xe6550d(0xfe)]=_0x1ee2ad,this[_0xe6550d(0x345)][_0xe6550d(0x3ae)](_0x4af3e0['id'],{'textInfo':_0x1ee2ad},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x1c0c8f=_0x45f501;return this[_0x1c0c8f(0xfe)];}['updateViewInfo'](_0x5ac565,_0x3b764b,_0x443ded,_0x9fa167,_0x4e1817){const _0x47ca9d=_0x45f501;this[_0x47ca9d(0x122)](_0x5ac565,_0x3b764b,_0x443ded,_0x9fa167),this[_0x47ca9d(0x2e1)](_0x5ac565,_0x3b764b,_0x443ded,_0x4e1817);}['getPivotTableConfig'](_0x3e6752,_0x4899b8,_0x1ab0c1){const _0x1840e0=_0x45f501;var _0x4aa47b;const _0x59954f=(_0x4aa47b=this['_model'][_0x1840e0(0x185)](_0x3e6752))==null?void 0x0:_0x4aa47b['get'](_0x4899b8);if(_0x59954f)return _0x59954f[_0x1840e0(0x185)](_0x1ab0c1);}[_0x45f501(0x2a4)](_0x4230b7,_0x4e873c){const _0x5b45af=_0x45f501,_0x307f3f=this['_model'][_0x5b45af(0x185)](_0x4230b7);if(_0x307f3f){for(const [_0x235b4e,_0x41a82f]of _0x307f3f[_0x5b45af(0x392)]())for(const [_0x3e09ce,_0x37736]of _0x41a82f[_0x5b45af(0x392)]())if(_0x3e09ce===_0x4e873c)return _0x37736[_0x5b45af(0x22f)];}}[_0x45f501(0x1b4)](_0xe60b04,_0x2667c7,_0x52beb7){const _0x5ee56b=_0x45f501,_0x461dea=this[_0x5ee56b(0x21f)](_0xe60b04,_0x2667c7,_0x52beb7);return _0x461dea==null?void 0x0:_0x461dea['targetCellInfo'];}[_0x45f501(0x21d)](_0x2d2a66,_0x5c0bac){const _0x315e47=_0x45f501;var _0x40fe1d;return(_0x40fe1d=this[_0x315e47(0x126)]['get'](_0x2d2a66))==null?void 0x0:_0x40fe1d[_0x315e47(0x185)](_0x5c0bac);}[_0x45f501(0x314)](_0x2b8398,_0x43b9e5,_0x2ebf53,_0x2773a8){const _0x5c94dc=_0x45f501,_0x361a03=this[_0x5c94dc(0x34c)](_0x2b8398,_0x43b9e5);_0x2773a8?_0x361a03[_0x5c94dc(0x94)](_0x2ebf53,_0x2773a8):_0x361a03[_0x5c94dc(0x226)](_0x2ebf53),this['_pivotConfigChange$'][_0x5c94dc(0x369)]({'unitId':_0x2b8398,'subUnitId':_0x43b9e5,'pivotTableId':_0x2ebf53,'pivotTableConfig':_0x2773a8});}[_0x45f501(0x300)](_0x35153b,_0x3e7cea){const _0x5ea316=_0x45f501;var _0x369f14;return(_0x369f14=this[_0x5ea316(0xe3)][_0x5ea316(0x185)](_0x35153b))==null?void 0x0:_0x369f14[_0x5ea316(0x2ea)][_0x3e7cea];}[_0x45f501(0x3b0)](_0x1bb866,_0x6ae512){const _0x51a2bd=_0x45f501;this['_collectionConfigModel'][_0x51a2bd(0x94)](_0x1bb866,_0x6ae512),this[_0x51a2bd(0x26d)][_0x51a2bd(0x369)](Math[_0x51a2bd(0x1ca)]());}['_ensurePivotMap'](_0x5757bb,_0x55dbb2){const _0x205d87=_0x45f501;let _0x3d8e36=this[_0x205d87(0x126)]['get'](_0x5757bb);_0x3d8e36||(_0x3d8e36=new Map(),this[_0x205d87(0x126)][_0x205d87(0x94)](_0x5757bb,_0x3d8e36));let _0x591292=_0x3d8e36[_0x205d87(0x185)](_0x55dbb2);return _0x591292||(_0x591292=new Map(),_0x3d8e36[_0x205d87(0x94)](_0x55dbb2,_0x591292)),_0x591292;}[_0x45f501(0x10e)](_0xc31d0b,_0xd91089){const _0x409522=_0x45f501;let _0x421010=this['_pivotTableRangeInfo'][_0x409522(0x185)](_0xc31d0b);_0x421010||(_0x421010=new Map(),this[_0x409522(0x2d2)]['set'](_0xc31d0b,_0x421010));let _0x3a2569=_0x421010[_0x409522(0x185)](_0xd91089);return _0x3a2569||(_0x3a2569=new Map(),_0x421010[_0x409522(0x94)](_0xd91089,_0x3a2569)),_0x3a2569;}[_0x45f501(0x22d)](_0xf85055,_0x5676bf){const _0x410b3a=_0x45f501;let _0x152e06=this['_pivotTableMatrixInfo'][_0x410b3a(0x185)](_0xf85055);_0x152e06||(_0x152e06=new Map(),this['_pivotTableMatrixInfo'][_0x410b3a(0x94)](_0xf85055,_0x152e06));let _0x193f09=_0x152e06[_0x410b3a(0x185)](_0x5676bf);return _0x193f09||(_0x193f09=new Map(),_0x152e06['set'](_0x5676bf,_0x193f09)),_0x193f09;}[_0x45f501(0x2e1)](_0x34f267,_0x2bd836,_0x17cd63,_0x2d1043){const _0xdc18ef=_0x45f501;var _0x438d33;const _0x3577b1=this['_ensurePivotTableRangeInfo'](_0x34f267,_0x2bd836),_0x35dbc8=(_0x438d33=_0x3577b1[_0xdc18ef(0x185)](_0x17cd63))==null?void 0x0:_0x438d33['oldRangeInfo'];_0x3577b1[_0xdc18ef(0x94)](_0x17cd63,{'oldRangeInfo':_0x35dbc8,'rangeInfo':_0x2d1043});}['updatePivotTableMatrixInfo'](_0x1067ff,_0x1da6f6,_0x28b4c3,_0x5d336f){const _0x2f9228=_0x45f501;var _0x53ef98;const _0x16a890=this['_ensurePivotTableMatrixInfo'](_0x1067ff,_0x1da6f6),_0x827bee=(_0x53ef98=_0x16a890[_0x2f9228(0x185)](_0x28b4c3))==null?void 0x0:_0x53ef98[_0x2f9228(0x2aa)];_0x16a890[_0x2f9228(0x94)](_0x28b4c3,{'oldMatrix':_0x827bee,'matrix':_0x5d336f});}[_0x45f501(0xb8)](_0x3a4b1d,_0x381f52,_0x1aedaa){const _0x26f8ce=_0x45f501;var _0x3bb46f,_0x2cdafa;return(_0x2cdafa=(_0x3bb46f=this[_0x26f8ce(0x2d2)][_0x26f8ce(0x185)](_0x3a4b1d))==null?void 0x0:_0x3bb46f['get'](_0x381f52))==null?void 0x0:_0x2cdafa['get'](_0x1aedaa);}[_0x45f501(0x24a)](_0x1d7703,_0x3d30fa,_0x41c112){const _0x2f7b22=_0x45f501;var _0x486dd4,_0xe1effe;return(_0xe1effe=(_0x486dd4=this['_pivotTableMatrixInfo'][_0x2f7b22(0x185)](_0x1d7703))==null?void 0x0:_0x486dd4[_0x2f7b22(0x185)](_0x3d30fa))==null?void 0x0:_0xe1effe[_0x2f7b22(0x185)](_0x41c112);}['deleteUnitId'](_0x46263b){const _0x43e7fc=_0x45f501;this[_0x43e7fc(0x126)][_0x43e7fc(0x226)](_0x46263b),this[_0x43e7fc(0xe3)][_0x43e7fc(0x226)](_0x46263b);}[_0x45f501(0xa3)](_0xb07cd9){const _0x32d85e=_0x45f501,_0x439a19={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x32d85e(0xe3)][_0x32d85e(0x185)](_0xb07cd9)&&(_0x439a19[_0x32d85e(0x219)][_0xb07cd9]=this[_0x32d85e(0xe3)][_0x32d85e(0x185)](_0xb07cd9)),this[_0x32d85e(0x126)][_0x32d85e(0x185)](_0xb07cd9)){_0x439a19[_0x32d85e(0xf2)][_0xb07cd9]={};const _0x23c7d6=this[_0x32d85e(0x126)][_0x32d85e(0x185)](_0xb07cd9);_0x23c7d6!=null&&_0x23c7d6[_0x32d85e(0x36e)]&&[..._0x23c7d6[_0x32d85e(0x374)]()]['forEach'](_0x4f5f4a=>{const _0xc5c157=_0x32d85e,_0x177e1d=_0x23c7d6[_0xc5c157(0x185)](_0x4f5f4a);_0x177e1d!=null&&_0x177e1d[_0xc5c157(0x36e)]&&(_0x439a19[_0xc5c157(0xf2)][_0xb07cd9][_0x4f5f4a]={},[..._0x177e1d[_0xc5c157(0x374)]()][_0xc5c157(0x106)](_0x546dab=>{const _0x58eb7f=_0xc5c157,_0xd39dd8=_0x177e1d[_0x58eb7f(0x185)](_0x546dab);_0xd39dd8&&(_0x439a19[_0x58eb7f(0xf2)][_0xb07cd9][_0x4f5f4a][_0x546dab]=_0xd39dd8);}));});}return _0x439a19;}[_0x45f501(0x240)](){const _0x229005=_0x45f501;this[_0x229005(0x280)](this['_resourceManagerService'][_0x229005(0x38f)]({'toJson':_0x35b9ee=>JSON['stringify'](this[_0x229005(0xa3)](_0x35b9ee)),'parseJson':_0x3b89d8=>({}),'businesses':[_0xaebd85['UniverInstanceType'][_0x229005(0x2a1)]],'pluginName':_0x513a85,'onLoad':(_0x2b74c0,_0x561d47)=>{},'onUnLoad':_0x5b6893=>{const _0x4206b6=_0x229005;this[_0x4206b6(0x1c1)](_0x5b6893);}}));}},_0x5bc0f5[_0x45f501(0x2c9)]=_0x5543a1([_0x114e96(0x0,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0x114e96(0x1,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x2f7)])),_0x114e96(0x2,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x182)])),_0x114e96(0x3,_0xaebd85['Inject'](_0xaebd85['IResourceManagerService'])),_0x114e96(0x4,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x223)]))],_0x5bc0f5[_0x45f501(0x2c9)]);var _0x3aa256=Object['getOwnPropertyDescriptor'],_0x1c3d46=(_0xdf63d,_0xf8bf45,_0x1093b1,_0x485ed6)=>{const _0x1cbd84=_0x45f501;for(var _0x19baeb=_0x485ed6>0x1?void 0x0:_0x485ed6?_0x3aa256(_0xf8bf45,_0x1093b1):_0xf8bf45,_0x340159=_0xdf63d[_0x1cbd84(0xa8)]-0x1,_0x52248e;_0x340159>=0x0;_0x340159--)(_0x52248e=_0xdf63d[_0x340159])&&(_0x19baeb=_0x52248e(_0x19baeb)||_0x19baeb);return _0x19baeb;},_0xbabab5=(_0x3861a0,_0x3b05ef)=>(_0x22a6d2,_0x540e3d)=>_0x3b05ef(_0x22a6d2,_0x540e3d,_0x3861a0);_0x5bc0f5['SheetsPivotTableAdaptorModel']=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x9da805,_0x37f0b7,_0x1c4e77,_0x36d9dd,_0x49b468){const _0x5cbc97=_0x45f501;super(),_0x1f3ba2(this,_0x5cbc97(0x127),new Map()),_0x1f3ba2(this,'_pivotRenderValueMatrixCache',new Map()),_0x1f3ba2(this,_0x5cbc97(0xd6),new _0x4c50c4['Subject']()),_0x1f3ba2(this,'markDirty$',this[_0x5cbc97(0xd6)][_0x5cbc97(0x3ad)]()),_0x1f3ba2(this,_0x5cbc97(0x181),new _0x4c50c4[(_0x5cbc97(0x2a3))]()),_0x1f3ba2(this,_0x5cbc97(0x188),this[_0x5cbc97(0x181)][_0x5cbc97(0x3ad)]()),_0x1f3ba2(this,_0x5cbc97(0xfe)),(this['_localeService']=_0x9da805,this[_0x5cbc97(0x307)]=_0x37f0b7,this[_0x5cbc97(0x186)]=_0x1c4e77,this['_univerInstanceService']=_0x36d9dd,this[_0x5cbc97(0x1b8)]=_0x49b468,this['_initLocale'](),this[_0x5cbc97(0xad)]());}[_0x45f501(0xad)](){const _0x52a068=_0x45f501;this[_0x52a068(0x280)](this[_0x52a068(0x33e)]['getTypeOfUnitDisposed$'](_0xaebd85[_0x52a068(0x192)][_0x52a068(0x2a1)])[_0x52a068(0x396)](_0x29bdce=>{const _0x170ee1=_0x52a068;this[_0x170ee1(0x1c1)](_0x29bdce[_0x170ee1(0x21b)]());}));}[_0x45f501(0x2eb)](){const _0xb0918=_0x45f501;this[_0xb0918(0xfe)]=_0x1408c7(this[_0xb0918(0x307)],_0x1da8a3,'',{});}['updateRenderCache'](_0x463a38){const _0x4821a0=_0x45f501,{view:_0x5cf93a,unitId:_0x576747,subUnitId:_0xb9e879,pivotTableId:_0x31cfe8,type:_0x15f1ed}=_0x463a38,_0x1bfe76=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x576747,_0xb9e879,_0x31cfe8);if(!_0x5cf93a||!_0x1bfe76||_0x15f1ed===_0x3c03d6[_0x4821a0(0x178)])return;const {pageView:_0x1618f5,cornerView:_0x7bb496,rowView:_0x48a17b,colView:_0x3e5e3d,dataView:_0x418a97}=_0x5cf93a,_0x2d5e78=_0x1bfe76[_0x4821a0(0x22f)],_0x5f00ec=_0x1bfe76[_0x4821a0(0x393)],_0xef3ebb=this[_0x4821a0(0x275)](_0x576747,_0xb9e879),_0x5468b3=this[_0x4821a0(0x259)](_0x576747,_0xb9e879,_0x31cfe8);if(_0x5f00ec)return this[_0x4821a0(0x237)](_0x463a38,_0xef3ebb,_0x2d5e78,_0x5468b3);{const _0xe6a4a3=_0x6b001(_0x2d5e78,_0x1618f5,!0x0),_0x34eba8=_0x1618f5[_0x4821a0(0x205)]>=0x0?_0x1618f5[_0x4821a0(0x205)]+0x1:0x0,_0x10686f=_0x7bb496[_0x4821a0(0x16e)](),_0x17ff36=_0x7bb496[_0x4821a0(0x2b4)](),_0x38172a=_0xe6a4a3['length']>0x0?_0x32fbf9:0x0,_0x3b872b=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a,'col':_0x2d5e78['col']},_0x7bb496,!0x1,!0x1),_0x45055a=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a+_0x10686f,'col':_0x2d5e78['col']},_0x48a17b,!0x1,!0x0),_0x464432=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a,'col':_0x2d5e78[_0x4821a0(0x180)]+_0x17ff36},_0x3e5e3d,!0x1,!0x0),_0x5dd210=_0x6b001({'row':_0x2d5e78[_0x4821a0(0x2e0)]+_0x34eba8+_0x38172a+_0x10686f,'col':_0x2d5e78[_0x4821a0(0x180)]+_0x17ff36},_0x418a97,!0x1,!0x1);_0x5468b3[_0x4821a0(0x28b)]={'rowRanges':_0x45055a,'colRanges':_0x464432,'cornerRanges':_0x3b872b,'dataRanges':_0x5dd210,'pageRanges':_0xe6a4a3};const _0x3d5cc3=_0x595c4d(this['_injector'],_0x5cf93a,_0x1bfe76,this[_0x4821a0(0xfe)]),{valueMatrix:_0x19c237,rowInfo:_0x45bb2d,colInfo:_0x3a676b,cornerInfo:_0x184f4b,rowHeaderMap:_0x86af00,colHeaderMap:_0xb0f2b4}=_0x3d5cc3;return _0x5468b3[_0x4821a0(0x28c)]={'rowInfo':_0x45bb2d,'colInfo':_0x3a676b,'cornerInfo':_0x184f4b},_0x5468b3['headerMap']={'rowHeaderMap':_0x86af00,'colHeaderMap':_0xb0f2b4},_0x19c237['forEach']((_0x283560,_0x501364)=>{const _0x110a2e=_0x4821a0;Object[_0x110a2e(0x374)](_0x501364)[_0x110a2e(0x106)](_0x565554=>{const _0xced024=_0x110a2e,_0x1ccb3d=+_0x565554,_0x1a7ee3=_0x19c237[_0xced024(0x247)](_0x283560,_0x1ccb3d);_0xef3ebb[_0xced024(0x1a7)](_0x283560,_0x1ccb3d,_0x1a7ee3);});}),this[_0x4821a0(0x181)][_0x4821a0(0x369)]({'unitId':_0x576747,'subUnitId':_0xb9e879,'valueMatrix':_0xef3ebb,'rangesCache':_0x5468b3[_0x4821a0(0x28b)],'pivotTableId':_0x31cfe8,'type':_0x463a38[_0x4821a0(0x376)]}),this[_0x4821a0(0x186)][_0x4821a0(0x1ac)](_0x576747,_0xb9e879,_0x31cfe8,_0xef3ebb,_0x5468b3[_0x4821a0(0x28b)]),this[_0x4821a0(0x1b8)][_0x4821a0(0xdc)](_0x576747,_0xb9e879,_0xd1b0ab,this[_0x4821a0(0x303)](_0x5468b3['rangesInfo'],_0x31cfe8)),{'rangeCache':_0x5468b3['rangesInfo'],'matrix':_0xef3ebb};}}[_0x45f501(0x237)](_0x5e9def,_0x4726ca,_0x2aa1c9,_0x488832){const _0x3dcd68=_0x45f501,_0x4a6f03=this[_0x3dcd68(0xe5)]['t'],{unitId:_0x38222b,subUnitId:_0x338cf0,pivotTableId:_0x211a63}=_0x5e9def,_0x24da82={'filter':_0x4a6f03(_0x3dcd68(0x2c2)),'row':_0x4a6f03(_0x3dcd68(0x2d5)),'column':_0x4a6f03(_0x3dcd68(0x179)),'values':_0x4a6f03(_0x3dcd68(0x2bc))},{matrixCache:_0x31f95d,rangesCache:_0xec324b}=_0x5377ee(_0x24da82,_0x2aa1c9);return _0x31f95d[_0x3dcd68(0x216)]((_0x2f61d7,_0x112db9,_0x550d17)=>{_0x4726ca['setValue'](_0x2f61d7,_0x112db9,_0x550d17);}),_0x488832[_0x3dcd68(0x28b)]=_0xec324b,this['_viewUpdate$'][_0x3dcd68(0x369)]({'unitId':_0x38222b,'subUnitId':_0x338cf0,'valueMatrix':_0x4726ca,'rangesCache':_0xec324b,'pivotTableId':_0x211a63,'type':_0x5e9def[_0x3dcd68(0x376)],'isEmpty':!0x0}),this[_0x3dcd68(0x186)][_0x3dcd68(0x1ac)](_0x38222b,_0x338cf0,_0x211a63,_0x4726ca,_0xec324b),this[_0x3dcd68(0x1b8)]['addExclusiveRange'](_0x38222b,_0x338cf0,_0xd1b0ab,this['_createExclusiveRange'](_0xec324b,_0x211a63)),{'rangeCache':_0x488832[_0x3dcd68(0x28b)],'matrix':_0x4726ca};}['_createExclusiveRange'](_0x2289fc,_0x15f103){const _0x87f917=_0x45f501,_0x1b0d11=[],_0x1fee70=_0x109750(_0x2289fc);for(const _0x2681e1 of _0x1fee70)_0x1b0d11[_0x87f917(0x373)]({'groupId':_0x15f103,'range':_0x2681e1});return _0x1b0d11;}[_0x45f501(0x103)](_0x59ceb0){const _0x26935e=_0x45f501;var _0x3edee7,_0x1667f7,_0x2fa205,_0x1515d;const {pivotTableId:_0x20e10b,unitId:_0xff5eec,subUnitId:_0x1075fd}=_0x59ceb0;if(!_0x20e10b||!_0xff5eec||!_0x1075fd)return;const _0x7a186b=this[_0x26935e(0x275)](_0xff5eec,_0x1075fd),_0x19052f=(_0x1667f7=(_0x3edee7=this[_0x26935e(0x127)][_0x26935e(0x185)](_0xff5eec))==null?void 0x0:_0x3edee7[_0x26935e(0x185)](_0x1075fd))==null?void 0x0:_0x1667f7[_0x26935e(0x185)](_0x20e10b);if(_0x19052f!=null&&_0x19052f[_0x26935e(0x28b)]){for(const _0x126f57 of Object[_0x26935e(0x374)](_0x19052f['rangesInfo']))_0x19052f[_0x26935e(0x28b)][_0x126f57][_0x26935e(0x106)](_0x453828=>{const _0x977327=_0x26935e;for(let _0x442419=_0x453828['startRow'];_0x442419<=_0x453828[_0x977327(0x2fd)];_0x442419++)for(let _0x30c32e=_0x453828[_0x977327(0x212)];_0x30c32e<=_0x453828['endColumn'];_0x30c32e++)_0x7a186b['realDeleteValue'](_0x442419,_0x30c32e);});}_0x19052f&&((_0x1515d=(_0x2fa205=this[_0x26935e(0x127)]['get'](_0xff5eec))==null?void 0x0:_0x2fa205[_0x26935e(0x185)](_0x1075fd))==null||_0x1515d['delete'](_0x20e10b)),this[_0x26935e(0x181)]['next']({'unitId':_0xff5eec,'subUnitId':_0x1075fd,'valueMatrix':_0x7a186b,'pivotTableId':_0x20e10b,'rangesCache':void 0x0,'type':_0x59ceb0[_0x26935e(0x376)]}),this[_0x26935e(0x1b8)][_0x26935e(0x18b)](_0xff5eec,_0x1075fd,_0xd1b0ab,_0x20e10b);}[_0x45f501(0x259)](_0x250eaf,_0x2d18f6,_0x583748){const _0x3f09aa=_0x45f501;var _0x4ee888,_0x2ef0ce,_0x3f3b0c,_0x2b3e26,_0x521ea7,_0xe546f7;return this[_0x3f09aa(0x127)][_0x3f09aa(0x32d)](_0x250eaf)||this[_0x3f09aa(0x127)][_0x3f09aa(0x94)](_0x250eaf,new Map()),(_0x4ee888=this[_0x3f09aa(0x127)][_0x3f09aa(0x185)](_0x250eaf))!=null&&_0x4ee888[_0x3f09aa(0x32d)](_0x2d18f6)||(_0x2ef0ce=this[_0x3f09aa(0x127)]['get'](_0x250eaf))==null||_0x2ef0ce['set'](_0x2d18f6,new Map()),(_0x2b3e26=(_0x3f3b0c=this['_pivotRenderInfoCache'][_0x3f09aa(0x185)](_0x250eaf))==null?void 0x0:_0x3f3b0c[_0x3f09aa(0x185)](_0x2d18f6))!=null&&_0x2b3e26[_0x3f09aa(0x32d)](_0x583748)||(_0xe546f7=(_0x521ea7=this[_0x3f09aa(0x127)][_0x3f09aa(0x185)](_0x250eaf))==null?void 0x0:_0x521ea7[_0x3f09aa(0x185)](_0x2d18f6))==null||_0xe546f7[_0x3f09aa(0x94)](_0x583748,{}),this[_0x3f09aa(0x127)][_0x3f09aa(0x185)](_0x250eaf)[_0x3f09aa(0x185)](_0x2d18f6)[_0x3f09aa(0x185)](_0x583748);}[_0x45f501(0x275)](_0x5209b5,_0xfb4a75){const _0x496e1d=_0x45f501;var _0x46fd2e,_0x1c4268;return this[_0x496e1d(0x2cb)][_0x496e1d(0x32d)](_0x5209b5)||this[_0x496e1d(0x2cb)]['set'](_0x5209b5,new Map()),(_0x46fd2e=this[_0x496e1d(0x2cb)][_0x496e1d(0x185)](_0x5209b5))!=null&&_0x46fd2e['has'](_0xfb4a75)||(_0x1c4268=this['_pivotRenderValueMatrixCache'][_0x496e1d(0x185)](_0x5209b5))==null||_0x1c4268[_0x496e1d(0x94)](_0xfb4a75,new _0xaebd85['ObjectMatrix']()),this['_pivotRenderValueMatrixCache'][_0x496e1d(0x185)](_0x5209b5)[_0x496e1d(0x185)](_0xfb4a75);}[_0x45f501(0x218)](_0x278f04,_0x1df0c6,_0x341143,_0x33be99){const _0x443b10=_0x45f501;var _0x1bd87e,_0x397fbd;const _0x5ed4a9=(_0x397fbd=(_0x1bd87e=this[_0x443b10(0x2cb)][_0x443b10(0x185)](_0x278f04))==null?void 0x0:_0x1bd87e[_0x443b10(0x185)](_0x1df0c6))==null?void 0x0:_0x397fbd['getValue'](_0x341143,_0x33be99);if(_0x5ed4a9!=null)return _0x5ed4a9;}['getPivotTableIdByCell'](_0x4b1da6,_0x393efb,_0x169546,_0x1009b3){const _0x365b4c=_0x45f501;var _0x394ab2;const _0x2cd6a8=_0xaebd85[_0x365b4c(0x3b5)](_0x169546,_0x1009b3),_0x2d465d=(_0x394ab2=this[_0x365b4c(0x127)][_0x365b4c(0x185)](_0x4b1da6))==null?void 0x0:_0x394ab2[_0x365b4c(0x185)](_0x393efb);return _0x2d465d?Array[_0x365b4c(0x3a3)](_0x2d465d['keys']())['find'](_0x1657cd=>{const _0x2f1bd0=_0x365b4c,_0x44f357=_0x2d465d[_0x2f1bd0(0x185)](_0x1657cd),_0x31bca9=_0x44f357==null?void 0x0:_0x44f357[_0x2f1bd0(0x28b)];return _0x31bca9?Object[_0x2f1bd0(0x374)](_0x31bca9)[_0x2f1bd0(0x263)](_0x1a6b22=>_0x31bca9[_0x1a6b22][_0x2f1bd0(0x263)](_0x3aa1ad=>_0xaebd85[_0x2f1bd0(0x1bf)][_0x2f1bd0(0x112)](_0x3aa1ad,_0x2cd6a8))):!0x1;}):void 0x0;}[_0x45f501(0x1b1)](_0x57218b,_0x4c0e83,_0x1fedc6){const _0x2eb35d=_0x45f501;var _0x489fa5;const _0x52ddb1=(_0x489fa5=this[_0x2eb35d(0x127)][_0x2eb35d(0x185)](_0x57218b))==null?void 0x0:_0x489fa5[_0x2eb35d(0x185)](_0x4c0e83),_0x374799=[];return _0x52ddb1&&Array[_0x2eb35d(0x3a3)](_0x52ddb1['keys']())[_0x2eb35d(0x106)](_0x18a1e8=>{const _0x3b77a0=_0x2eb35d,_0x32ce86=_0x52ddb1['get'](_0x18a1e8),_0x3ddbd4=_0x32ce86==null?void 0x0:_0x32ce86[_0x3b77a0(0x28b)];if(_0x3ddbd4)for(const _0x25daa2 of Object[_0x3b77a0(0x176)](_0x3ddbd4)){let _0x5367e7=!0x1;for(const _0x4c6075 of _0x25daa2)if(_0xaebd85[_0x3b77a0(0x1bf)][_0x3b77a0(0x1c8)](_0x4c6075,_0x1fedc6)){_0x374799[_0x3b77a0(0x373)](_0x18a1e8),_0x5367e7=!0x0;break;}if(_0x5367e7)break;}}),_0x374799;}[_0x45f501(0xe7)](_0x329093,_0xcddc60){const _0xd4d1f4=_0x45f501;var _0x209f2f,_0x3348ec;return(_0x3348ec=(_0x209f2f=this['_pivotRenderValueMatrixCache'][_0xd4d1f4(0x185)](_0x329093))==null?void 0x0:_0x209f2f['get'](_0xcddc60))!=null?_0x3348ec:new _0xaebd85[(_0xd4d1f4(0x209))]();}[_0x45f501(0x1ed)](_0x4ae790,_0x1edacb){const _0x532357=_0x45f501;var _0x3020b2;return(_0x3020b2=this[_0x532357(0x127)]['get'](_0x4ae790))==null?void 0x0:_0x3020b2[_0x532357(0x185)](_0x1edacb);}[_0x45f501(0x1c0)](_0x438376,_0x51179e,_0x4031ff){const _0x208371=_0x45f501;var _0x2923bf,_0x2905bd;return(_0x2905bd=(_0x2923bf=this[_0x208371(0x127)][_0x208371(0x185)](_0x438376))==null?void 0x0:_0x2923bf[_0x208371(0x185)](_0x51179e))==null?void 0x0:_0x2905bd[_0x208371(0x185)](_0x4031ff);}['deleteUnitId'](_0x499150){const _0x3f9def=_0x45f501;this[_0x3f9def(0x127)][_0x3f9def(0x226)](_0x499150),this[_0x3f9def(0x2cb)][_0x3f9def(0x226)](_0x499150);}[_0x45f501(0xa0)](_0x1ed789,_0x1d4b1c){const _0x401866=_0x45f501;this[_0x401866(0xd6)][_0x401866(0x369)]({'unitId':_0x1ed789,'subUnitId':_0x1d4b1c});}},_0x5bc0f5[_0x45f501(0x1c3)]=_0x1c3d46([_0xbabab5(0x0,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x215)])),_0xbabab5(0x1,_0xaebd85[_0x45f501(0x305)](_0xaebd85['Injector'])),_0xbabab5(0x2,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x2c9)])),_0xbabab5(0x3,_0xaebd85[_0x45f501(0x305)](_0xaebd85['IUniverInstanceService'])),_0xbabab5(0x4,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x292)]))],_0x5bc0f5[_0x45f501(0x1c3)]);var _0x101067=Object[_0x45f501(0x30e)],_0x189adb=(_0x5f71fc,_0x53bddb,_0x3c468d,_0x134c0e)=>{for(var _0x3283b2=_0x134c0e>0x1?void 0x0:_0x134c0e?_0x101067(_0x53bddb,_0x3c468d):_0x53bddb,_0x49da89=_0x5f71fc['length']-0x1,_0x1b365b;_0x49da89>=0x0;_0x49da89--)(_0x1b365b=_0x5f71fc[_0x49da89])&&(_0x3283b2=_0x1b365b(_0x3283b2)||_0x3283b2);return _0x3283b2;},_0x1ce371=(_0x16b85e,_0x284b0c)=>(_0x470560,_0x5cdd84)=>_0x284b0c(_0x470560,_0x5cdd84,_0x16b85e);_0x5bc0f5[_0x45f501(0x37f)]=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x390edb,_0x25f737){const _0x53a7ad=_0x45f501;super(),_0x1f3ba2(this,_0x53a7ad(0x235),new _0xaebd85[(_0x53a7ad(0x14d))]({'PIVOT_PERFORM_CHECK':_0x33c707})),_0x1f3ba2(this,_0x53a7ad(0x297),new _0xaebd85[(_0x53a7ad(0x1ba))]({'PIVOT_MUTATION_GENERATE':_0xe0920e})),(this[_0x53a7ad(0x3b2)]=_0x390edb,this[_0x53a7ad(0xd4)]=_0x25f737,this[_0x53a7ad(0x1f6)]());}[_0x45f501(0x1f6)](){this['_initViewModelBySheetInterceptor']();}[_0x45f501(0x360)](_0x3fd6c3){const _0x5cc71f=_0x45f501;return this[_0x5cc71f(0x235)][_0x5cc71f(0x1cd)](_0x33c707)(!0x1,_0x3fd6c3);}['_initViewModelBySheetInterceptor'](){const _0x3537bd=_0x45f501;this[_0x3537bd(0x280)](this['_sheetInterceptorService'][_0x3537bd(0x195)](_0x401092[_0x3537bd(0xe1)][_0x3537bd(0xf8)],{'priority':0xc8,'effect':_0xaebd85[_0x3537bd(0x321)]['Value']|_0xaebd85[_0x3537bd(0x321)][_0x3537bd(0x2e6)],'handler':(_0x5c0608,_0x19f0b6,_0x22dd08)=>{const _0x31b6e3=_0x3537bd,{row:_0x50619e,col:_0x4c3e8d,unitId:_0x2cdf2f,subUnitId:_0x2a774a,workbook:_0x2b7e02}=_0x19f0b6,_0x33b5a0=this[_0x31b6e3(0xd4)][_0x31b6e3(0x218)](_0x2cdf2f,_0x2a774a,_0x50619e,_0x4c3e8d);if(!_0x33b5a0)return _0x22dd08(_0x5c0608);const _0x2ae5fe={..._0x5c0608};(_0x33b5a0['v']||_0x33b5a0['v']===0x0)&&(_0x2ae5fe['v']=_0x33b5a0['v']),_0x33b5a0['t']&&(_0x2ae5fe['t']=_0x33b5a0['t']);const _0x28eded=(typeof(_0x5c0608==null?void 0x0:_0x5c0608['s'])=='string'?_0x2b7e02[_0x31b6e3(0x193)]()['get'](_0x5c0608==null?void 0x0:_0x5c0608['s']):_0x5c0608==null?void 0x0:_0x5c0608['s'])||{},_0x288612=_0x2b7e02[_0x31b6e3(0x193)]()['get'](_0x33b5a0['s']),_0x139983={..._0x288612,..._0x28eded};_0x288612!=null&&_0x288612['n']&&(_0x139983['n']=_0x288612['n']);const _0x3bae38=_0x2b7e02[_0x31b6e3(0x193)]()['setValue'](_0x139983);return _0x2ae5fe['s']=_0x3bae38,(_0x33b5a0[_0x31b6e3(0xdb)]===_0x7d04ba['PivotCellStyleTypeEnum'][_0x31b6e3(0x1dd)]||_0x33b5a0['pbt']===_0x7d04ba[_0x31b6e3(0x24d)]['Expand'])&&(_0x2ae5fe[_0x31b6e3(0xb0)]={},_0x2ae5fe[_0x31b6e3(0xb0)][_0x31b6e3(0x11a)]=_0x1fcff3),_0x22dd08(_0x2ae5fe);}}));}},_0x5bc0f5[_0x45f501(0x37f)]=_0x189adb([_0x1ce371(0x0,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x1a4)])),_0x1ce371(0x1,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x1c3)]))],_0x5bc0f5['SheetsPivotTableService']);function _0x2de8eb(_0x112f97,_0x3872ac){const _0x420e24=_0x45f501;switch(_0x3872ac){case _0x7d04ba[_0x420e24(0x39c)][_0x420e24(0x3a8)]:return _0x112f97[_0x420e24(0x1f3)];case _0x7d04ba['PivotTableFiledAreaEnum'][_0x420e24(0x302)]:return _0x112f97['filterFields'];case _0x7d04ba['PivotTableFiledAreaEnum'][_0x420e24(0xfb)]:return _0x112f97[_0x420e24(0xd5)];case _0x7d04ba['PivotTableFiledAreaEnum'][_0x420e24(0x164)]:return _0x112f97[_0x420e24(0x194)];default:return[];}}function _0x424706(_0x466594,_0x56738e){const _0x17d085=_0x45f501;return _0x466594['measure'][_0x56738e]||_0x466594[_0x17d085(0xff)][_0x56738e];}function _0xe9275b(_0x5a4767,_0x20dafb){const _0x51b0b9=_0x45f501,{area:_0x102e94,fieldJson:_0x4e6a01,index:_0x859b3f}=_0x20dafb;_0x102e94===_0x7d04ba[_0x51b0b9(0x39c)][_0x51b0b9(0x3a8)]?_0x5a4767[_0x51b0b9(0x11e)][_0x4e6a01['id']]=_0x4e6a01:_0x5a4767[_0x51b0b9(0xff)][_0x4e6a01['id']]=_0x4e6a01,_0x2de8eb(_0x5a4767,_0x102e94)[_0x51b0b9(0xbe)](_0x859b3f,0x0,_0x4e6a01['id']);}function _0xb932af(_0x3de354,_0x2813b4){const _0x15c69d=_0x45f501,{area:_0xce84c9,fieldId:_0x410440,index:_0x1dbfc9}=_0x2813b4;_0xce84c9===_0x7d04ba['PivotTableFiledAreaEnum']['Value']?delete _0x3de354[_0x15c69d(0x11e)][_0x410440]:delete _0x3de354['dimension'][_0x410440],_0x2de8eb(_0x3de354,_0xce84c9)[_0x15c69d(0xbe)](_0x1dbfc9,0x1);}function _0x5d6ae2(_0x23a425,_0x15d28a){const {fieldId:_0x5e5fa1,name:_0x321753}=_0x15d28a,_0xd633db=_0x424706(_0x23a425,_0x5e5fa1);_0xd633db&&(_0xd633db['displayName']=_0x321753);}function _0x3a204e(_0x41b7ec,_0x4b5960){const _0xa86202=_0x45f501,{fieldId:_0x5c76a0,collapse:_0x377db8,item:_0xb4a0a4}=_0x4b5960;_0xb4a0a4!==void 0x0?(_0x41b7ec[_0xa86202(0x26b)][_0x5c76a0]=_0x41b7ec[_0xa86202(0x26b)][_0x5c76a0]||{},_0x41b7ec['collapseInfo'][_0x5c76a0][_0xb4a0a4]=_0x377db8):_0x41b7ec[_0xa86202(0x26b)][_0x5c76a0]=_0x377db8;}function _0x315641(_0x46e960,_0x25ea82){const _0x2bed2e=_0x45f501,{fieldId:_0x51a82c,format:_0x1b0da7}=_0x25ea82,_0x312bbe=_0x424706(_0x46e960,_0x51a82c);_0x312bbe&&(_0x312bbe[_0x2bed2e(0x2ad)]=_0x1b0da7);}function _0x4ade57(_0x104e70,_0x561d64){const _0x119c6f=_0x45f501,{fieldId:_0x1c27cb,filterInfo:_0x4f845f}=_0x561d64,_0x3badcd=_0x424706(_0x104e70,_0x1c27cb);_0x3badcd&&(_0x3badcd[_0x119c6f(0xec)]=_0x4f845f);}function _0x1b9162(_0x4c7380,_0x3c72e8){const _0x54d41b=_0x45f501,{fieldId:_0x224ccb,filterInfo:_0x1226b6}=_0x3c72e8,_0x2cf658=_0x4c7380[_0x54d41b(0x383)][_0x54d41b(0xc6)](_0x2829d8=>_0x2829d8[_0x54d41b(0x343)]!==_0x224ccb);_0x1226b6&&_0x2cf658[_0x54d41b(0x373)]({'fieldId':_0x224ccb,'filterInfo':_0x1226b6}),_0x4c7380['valueFilter']=_0x2cf658;}function _0x32a501(_0x26cce2,_0x94628c){const _0x15423e=_0x45f501,{fieldId:_0x461837,subtotalType:_0xaad031}=_0x94628c,_0x2243fe=_0x424706(_0x26cce2,_0x461837);_0x2243fe&&(_0x2243fe[_0x15423e(0x2f8)]=_0xaad031);}function _0x54185e(_0x1a5f92,_0x11411b){const _0x2f79a6=_0x45f501,{fieldId:_0x35ded2,oldArea:_0x372ea6,area:_0x3327d4,oldIndex:_0x1b32e3,index:_0x5dd90b}=_0x11411b,_0x24320a=_0x372ea6!==_0x7d04ba[_0x2f79a6(0x39c)][_0x2f79a6(0x3a8)]&&_0x3327d4===_0x7d04ba[_0x2f79a6(0x39c)][_0x2f79a6(0x3a8)],_0x148234=_0x372ea6===_0x7d04ba[_0x2f79a6(0x39c)]['Value']&&_0x3327d4!==_0x7d04ba[_0x2f79a6(0x39c)][_0x2f79a6(0x3a8)];if(_0x24320a||_0x148234){const _0x3ff229=_0x424706(_0x1a5f92,_0x35ded2);_0x3ff229&&(_0x24320a?(delete _0x1a5f92[_0x2f79a6(0xff)][_0x35ded2],_0x1a5f92[_0x2f79a6(0x11e)][_0x35ded2]=_0x3ff229):(delete _0x1a5f92[_0x2f79a6(0x11e)][_0x35ded2],_0x1a5f92['dimension'][_0x35ded2]=_0x3ff229));}const _0x2c604f=_0x2de8eb(_0x1a5f92,_0x372ea6),_0x341713=_0x2de8eb(_0x1a5f92,_0x3327d4);_0x2c604f[_0x2f79a6(0xbe)](_0x1b32e3,0x1),_0x341713[_0x2f79a6(0xbe)](_0x5dd90b,0x0,_0x35ded2);}function _0x4abe78(_0x1e6967,_0xc56b7f){const _0x3867d2=_0x45f501,{valuePosition:_0x3eeaff,index:_0xa03e63}=_0xc56b7f;_0x1e6967['valuePosition']=_0x3eeaff,_0x1e6967[_0x3867d2(0x167)]=_0xa03e63;}function _0x4bb8c2(_0x15cedb,_0x43b8d2){const _0x48e6e2=_0x45f501,{tableFieldId:_0x2c66c9,sourceName:_0x13a40c,dataFieldId:_0xaaf53d}=_0x43b8d2,_0x4bdc7e=_0x424706(_0x15cedb,_0x2c66c9);_0x4bdc7e&&(_0x4bdc7e['sourceName']=_0x13a40c,_0x4bdc7e[_0x48e6e2(0x2f9)]=_0xaaf53d);}function _0x154c1c(_0x3e4faa,_0xc8b930){const {fieldId:_0x2dee53,sortInfo:_0x40b49c}=_0xc8b930,_0x33830a=_0x424706(_0x3e4faa,_0x2dee53);_0x33830a&&(_0x33830a['sortInfo']=_0x40b49c);}function _0x231f58(_0x401c0d,_0x1aff72){const _0x2245e6=_0x45f501,{options:_0x3a76b9}=_0x1aff72;_0x401c0d[_0x2245e6(0x30d)]={..._0x401c0d[_0x2245e6(0x30d)],..._0x3a76b9};}const _0x2cda78={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x349),'handler'(_0x22d6cb,_0x2b416b){const _0x2a334b=_0x45f501;if(!_0x2b416b)return!0x1;if(!!_0x22d6cb['get'](_0xaebd85['IConfigService'])[_0x2a334b(0x14a)](_0x5e7272))return!0x0;const _0x2e7cee=_0x22d6cb[_0x2a334b(0x185)](_0x5bc0f5[_0x2a334b(0x156)]),{pivotTableId:_0x8ced4a,fieldJson:_0x54df2d,area:_0x39c15f,index:_0x1791bb,unitId:_0x49337e,subUnitId:_0x4d98e8}=_0x2b416b,_0x2773e8=_0x2e7cee[_0x2a334b(0x93)](_0x8ced4a);if(!_0x2773e8)return!0x1;let _0x5c5143;_0x39c15f===_0x7d04ba[_0x2a334b(0x39c)][_0x2a334b(0x3a8)]?_0x5c5143=_0x7d04ba['createValueField'](_0x54df2d):_0x5c5143=_0x7d04ba[_0x2a334b(0x298)](_0x54df2d),_0x2773e8['addField'](_0x5c5143,_0x39c15f,_0x1791bb);const _0x9546a3=_0x2e7cee[_0x2a334b(0x394)](_0x49337e,_0x4d98e8,_0x8ced4a);_0xe9275b(_0x9546a3,_0x2b416b);const _0x1804a4=_0x2e7cee[_0x2a334b(0x21f)](_0x49337e,_0x4d98e8,_0x8ced4a);return _0x2e7cee[_0x2a334b(0x29f)]({'unitId':_0x49337e,'subUnitId':_0x4d98e8,'token':_0x8ced4a,'type':_0x3c03d6['Set'],'pivotConfig':_0x1804a4}),!0x0;}},_0x3e9720={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x2ed),'handler'(_0x7c22fe,_0x642a26){const _0x5be1db=_0x45f501;if(!_0x642a26)return!0x1;if(!!_0x7c22fe[_0x5be1db(0x185)](_0xaebd85[_0x5be1db(0x223)])[_0x5be1db(0x14a)](_0x5e7272))return!0x0;const _0x379008=_0x7c22fe[_0x5be1db(0x185)](_0x5bc0f5[_0x5be1db(0x156)]),{pivotTableId:_0x578c71,fieldId:_0x2815d1,unitId:_0x2e7bbf,subUnitId:_0x42ab69}=_0x642a26,_0x5e72db=_0x379008[_0x5be1db(0x93)](_0x578c71);if(!_0x5e72db)return!0x1;_0x5e72db['removeField'](_0x2815d1);const _0x50fe5c=_0x379008[_0x5be1db(0x394)](_0x2e7bbf,_0x42ab69,_0x578c71);_0xb932af(_0x50fe5c,_0x642a26);const _0x153f2a=_0x379008[_0x5be1db(0x21f)](_0x2e7bbf,_0x42ab69,_0x578c71);return _0x379008['addDirtyPivotTable']({'unitId':_0x2e7bbf,'subUnitId':_0x42ab69,'token':_0x578c71,'type':_0x3c03d6[_0x5be1db(0x1b6)],'pivotConfig':_0x153f2a}),!0x0;}},_0x24c0ca={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x3c3023,_0x241b0c){const _0x20a256=_0x45f501;if(!_0x241b0c)return!0x1;if(!!_0x3c3023[_0x20a256(0x185)](_0xaebd85[_0x20a256(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x3a693c=_0x3c3023[_0x20a256(0x185)](_0x5bc0f5[_0x20a256(0x156)]),{unitId:_0x1be131,subUnitId:_0x38cd77,pivotTableId:_0x2e2741,fieldId:_0xb708ae,name:_0x563771}=_0x241b0c,_0x57a5ad=_0x3a693c[_0x20a256(0x93)](_0x2e2741);if(!_0x57a5ad)return!0x1;_0x57a5ad[_0x20a256(0x191)](_0xb708ae,_0x563771);const _0x143aa4=_0x3a693c[_0x20a256(0x394)](_0x1be131,_0x38cd77,_0x2e2741);return _0x5d6ae2(_0x143aa4,_0x241b0c),_0x3a693c[_0x20a256(0x29f)]({'unitId':_0x1be131,'subUnitId':_0x38cd77,'token':_0x2e2741,'type':_0x3c03d6[_0x20a256(0x1b6)]}),!0x0;}},_0x480282={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':_0x45f501(0x28f),'handler'(_0x562d53,_0x4eb72e){const _0x2b8903=_0x45f501;if(!_0x4eb72e)return!0x1;if(!!_0x562d53[_0x2b8903(0x185)](_0xaebd85[_0x2b8903(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x1c0264=_0x562d53[_0x2b8903(0x185)](_0x5bc0f5[_0x2b8903(0x156)]),{unitId:_0x24e6e8,subUnitId:_0x272aaf,pivotTableId:_0x4ac00f,fieldId:_0x6434c9,collapse:_0x2fe86e,item:_0x2fad89}=_0x4eb72e,_0x492375=_0x1c0264[_0x2b8903(0x93)](_0x4ac00f);if(!_0x492375)return!0x1;_0x492375['setCollapse'](_0x6434c9,_0x2fe86e,_0x2fad89);const _0x2ec333=_0x1c0264[_0x2b8903(0x394)](_0x24e6e8,_0x272aaf,_0x4ac00f);return _0x3a204e(_0x2ec333,_0x4eb72e),_0x1c0264[_0x2b8903(0x29f)]({'unitId':_0x24e6e8,'subUnitId':_0x272aaf,'token':_0x4ac00f,'type':_0x3c03d6[_0x2b8903(0x1b6)]}),!0x0;}},_0x4a253d={'type':_0xaebd85['CommandType']['MUTATION'],'id':_0x45f501(0x143),'handler'(_0x23d1d1,_0x5b8c95){const _0x1cebca=_0x45f501;if(!_0x5b8c95)return!0x1;if(!!_0x23d1d1[_0x1cebca(0x185)](_0xaebd85['IConfigService'])[_0x1cebca(0x14a)](_0x5e7272))return!0x0;const _0x224bba=_0x23d1d1[_0x1cebca(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']),{unitId:_0x5dbab7,subUnitId:_0x275c47,pivotTableId:_0x1746dc,fieldId:_0x5b383e,format:_0x3a11ab}=_0x5b8c95,_0x42c808=_0x224bba['getPivotTableInstance'](_0x1746dc);if(!_0x42c808)return!0x1;_0x42c808[_0x1cebca(0x323)](_0x5b383e,_0x3a11ab);const _0x59d484=_0x224bba['getPivotTableModelConfig'](_0x5dbab7,_0x275c47,_0x1746dc);return _0x315641(_0x59d484,_0x5b8c95),_0x224bba[_0x1cebca(0x29f)]({'unitId':_0x5dbab7,'subUnitId':_0x275c47,'token':_0x1746dc,'type':_0x3c03d6[_0x1cebca(0x1b6)]}),!0x0;}},_0x1aea10={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x260),'handler'(_0x2eacfe,_0x43f77e){const _0x37219b=_0x45f501;if(!_0x43f77e)return!0x1;if(!!_0x2eacfe['get'](_0xaebd85[_0x37219b(0x223)])[_0x37219b(0x14a)](_0x5e7272))return!0x0;const _0x286c11=_0x2eacfe[_0x37219b(0x185)](_0x5bc0f5[_0x37219b(0x156)]),{unitId:_0x12684e,subUnitId:_0x1e90cc,pivotTableId:_0x2ea327,fieldId:_0x181df6,filterInfo:_0x4214d1}=_0x43f77e,_0xbd7537=_0x286c11[_0x37219b(0x93)](_0x2ea327);if(!_0xbd7537)return!0x1;_0xbd7537[_0x37219b(0x19c)](_0x181df6,_0x4214d1);const _0x126750=_0x286c11['getPivotTableModelConfig'](_0x12684e,_0x1e90cc,_0x2ea327);return _0x4ade57(_0x126750,_0x43f77e),_0x286c11[_0x37219b(0x29f)]({'unitId':_0x12684e,'subUnitId':_0x1e90cc,'token':_0x2ea327,'type':_0x3c03d6[_0x37219b(0x1b6)]}),!0x0;}},_0x203a31={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x2b0),'handler'(_0x2a4dbd,_0x49a800){const _0x4a9196=_0x45f501;if(!_0x49a800)return!0x1;if(!!_0x2a4dbd['get'](_0xaebd85['IConfigService'])['getConfig'](_0x5e7272))return!0x0;const _0x401b5a=_0x2a4dbd[_0x4a9196(0x185)](_0x5bc0f5[_0x4a9196(0x156)]),{unitId:_0x50f533,subUnitId:_0x30bd68,pivotTableId:_0x12cddb,options:_0x1ee336}=_0x49a800,_0x812f07=_0x401b5a[_0x4a9196(0x93)](_0x12cddb);if(!_0x812f07)return!0x1;_0x812f07['setOptions'](_0x1ee336);const _0x470cd3=_0x401b5a[_0x4a9196(0x394)](_0x50f533,_0x30bd68,_0x12cddb);return _0x231f58(_0x470cd3,_0x49a800),_0x401b5a[_0x4a9196(0x29f)]({'unitId':_0x50f533,'subUnitId':_0x30bd68,'token':_0x12cddb,'type':_0x3c03d6[_0x4a9196(0x1b6)]}),!0x0;}},_0x3fecaa={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x1f7),'handler'(_0x317f55,_0x171813){const _0x2aa3af=_0x45f501;if(!_0x171813)return!0x1;if(!!_0x317f55[_0x2aa3af(0x185)](_0xaebd85[_0x2aa3af(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x4a862a=_0x317f55[_0x2aa3af(0x185)](_0x5bc0f5[_0x2aa3af(0x156)]),{unitId:_0x44b5bc,subUnitId:_0x633bec,pivotTableId:_0x5b1b20,sortInfo:_0x58e20e,fieldId:_0x5133f3}=_0x171813,_0x2feba0=_0x4a862a['getPivotTableInstance'](_0x5b1b20);if(!_0x2feba0)return!0x1;_0x2feba0['setSortInfo'](_0x5133f3,_0x58e20e);const _0x38ae04=_0x4a862a[_0x2aa3af(0x394)](_0x44b5bc,_0x633bec,_0x5b1b20);return _0x154c1c(_0x38ae04,_0x171813),_0x4a862a['addDirtyPivotTable']({'unitId':_0x44b5bc,'subUnitId':_0x633bec,'token':_0x5b1b20,'type':_0x3c03d6[_0x2aa3af(0x1b6)]}),!0x0;}},_0x41b531={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x334),'handler'(_0x523ddb,_0x7852e){const _0x1e7230=_0x45f501;if(!_0x7852e)return!0x1;if(!!_0x523ddb[_0x1e7230(0x185)](_0xaebd85[_0x1e7230(0x223)])[_0x1e7230(0x14a)](_0x5e7272))return!0x0;const _0x99b049=_0x523ddb['get'](_0x5bc0f5[_0x1e7230(0x156)]),{unitId:_0x54abb7,subUnitId:_0xd4c2ef,pivotTableId:_0xfbd5ff,fieldId:_0x1d3138,subtotalType:_0x369571}=_0x7852e,_0x4332b5=_0x99b049[_0x1e7230(0x93)](_0xfbd5ff);if(!_0x4332b5)return!0x1;_0x4332b5[_0x1e7230(0x34e)](_0x1d3138,_0x369571);const _0x4c8765=_0x99b049['getPivotTableModelConfig'](_0x54abb7,_0xd4c2ef,_0xfbd5ff);return _0x32a501(_0x4c8765,_0x7852e),_0x99b049[_0x1e7230(0x29f)]({'unitId':_0x54abb7,'subUnitId':_0xd4c2ef,'token':_0xfbd5ff,'type':_0x3c03d6[_0x1e7230(0x1b6)]}),!0x0;}},_0x8a8125={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x267c2a,_0x418b78){const _0xd369a9=_0x45f501;if(!_0x418b78)return!0x1;if(!!_0x267c2a[_0xd369a9(0x185)](_0xaebd85['IConfigService'])['getConfig'](_0x5e7272))return!0x0;const _0x482e62=_0x267c2a[_0xd369a9(0x185)](_0x5bc0f5[_0xd369a9(0x156)]),{unitId:_0x1f90e0,subUnitId:_0x22d028,pivotTableId:_0xbadc7b,fieldId:_0x497275,filterInfo:_0xca2017}=_0x418b78,_0x25b6b9=_0x482e62[_0xd369a9(0x93)](_0xbadc7b);if(!_0x25b6b9)return!0x1;_0x25b6b9['setValueFilterInfo'](_0x497275,_0xca2017);const _0x5dbb01=_0x482e62['getPivotTableModelConfig'](_0x1f90e0,_0x22d028,_0xbadc7b);return _0x1b9162(_0x5dbb01,_0x418b78),_0x482e62['addDirtyPivotTable']({'unitId':_0x1f90e0,'subUnitId':_0x22d028,'token':_0xbadc7b,'type':_0x3c03d6['Set']}),!0x0;}},_0x2b127c={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x33ec79,_0x48ce5e){const _0x2c94ca=_0x45f501;if(!_0x48ce5e)return!0x1;if(!!_0x33ec79[_0x2c94ca(0x185)](_0xaebd85[_0x2c94ca(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x53619d=_0x33ec79[_0x2c94ca(0x185)](_0x5bc0f5[_0x2c94ca(0x156)]),{unitId:_0x2550d3,subUnitId:_0x24d706,pivotTableId:_0x5316f5,area:_0x40bcc0,index:_0xde0512,fieldId:_0x2b4c2b}=_0x48ce5e,_0x206cbe=_0x53619d['getPivotTableInstance'](_0x5316f5);if(!_0x206cbe)return!0x1;_0x206cbe[_0x2c94ca(0xc3)](_0x2b4c2b,_0x40bcc0,_0xde0512);const _0x29edc2=_0x53619d[_0x2c94ca(0x394)](_0x2550d3,_0x24d706,_0x5316f5);return _0x54185e(_0x29edc2,_0x48ce5e),_0x53619d[_0x2c94ca(0x29f)]({'unitId':_0x2550d3,'subUnitId':_0x24d706,'token':_0x5316f5,'type':_0x3c03d6[_0x2c94ca(0x1b6)]}),!0x0;}},_0x33eee5={'type':_0xaebd85[_0x45f501(0x322)]['MUTATION'],'id':_0x45f501(0x342),'handler'(_0x3e8362,_0x34f06a){const _0x477d0b=_0x45f501;if(!_0x34f06a)return!0x1;if(!!_0x3e8362[_0x477d0b(0x185)](_0xaebd85[_0x477d0b(0x223)])['getConfig'](_0x5e7272))return!0x0;const _0x29a3c4=_0x3e8362[_0x477d0b(0x185)](_0x5bc0f5[_0x477d0b(0x156)]),{unitId:_0x1b0368,subUnitId:_0xd52156,pivotTableId:_0x4ee663,sourceName:_0x27117f,dataFieldId:_0x3dd375,tableFieldId:_0x4e2bf0}=_0x34f06a,_0x371489=_0x29a3c4[_0x477d0b(0x93)](_0x4ee663);if(!_0x371489)return!0x1;_0x371489[_0x477d0b(0x27f)](_0x4e2bf0,_0x27117f,_0x3dd375);const _0x36bccd=_0x29a3c4[_0x477d0b(0x394)](_0x1b0368,_0xd52156,_0x4ee663);return _0x4bb8c2(_0x36bccd,_0x34f06a),_0x29a3c4['addDirtyPivotTable']({'unitId':_0x1b0368,'subUnitId':_0xd52156,'token':_0x4ee663,'type':_0x3c03d6['Set']}),!0x0;}},_0x263388={'type':_0xaebd85['CommandType']['MUTATION'],'id':_0x45f501(0x124),'handler'(_0x51e3cf,_0x5703a3){const _0xfd9df1=_0x45f501;if(!_0x5703a3)return!0x1;if(!!_0x51e3cf['get'](_0xaebd85['IConfigService'])[_0xfd9df1(0x14a)](_0x5e7272))return!0x0;const _0x3522c8=_0x51e3cf['get'](_0x5bc0f5[_0xfd9df1(0x156)]),{unitId:_0x43f945,subUnitId:_0x2fee68,pivotTableId:_0x4245a7,valuePosition:_0x43234a,index:_0x4e76b8}=_0x5703a3,_0x13a925=_0x3522c8['getPivotTableInstance'](_0x4245a7);if(!_0x13a925)return!0x1;_0x13a925[_0xfd9df1(0xf1)](_0x43234a,_0x4e76b8);const _0x125aef=_0x3522c8[_0xfd9df1(0x394)](_0x43f945,_0x2fee68,_0x4245a7);return _0x4abe78(_0x125aef,_0x5703a3),_0x3522c8[_0xfd9df1(0x29f)]({'unitId':_0x43f945,'subUnitId':_0x2fee68,'token':_0x4245a7,'type':_0x3c03d6[_0xfd9df1(0x1b6)]}),!0x0;}};function _0x57b20d(_0x58c7cb,_0x368c9a,_0x13e87a){const _0x7e761c=_0x45f501,{pivotTableId:_0x2c37af,unitId:_0x31dd8f,subUnitId:_0x8a898c}=_0x368c9a,_0x3bffd1=[],_0x208470=[];for(const _0x4f4637 of _0x13e87a)switch(_0x4f4637[_0x7e761c(0x376)]){case _0x7d04ba['PivotTableChangeTypeEnum']['AddField']:{const {fieldJson:_0x4ecf40,area:_0x4eeb4b,index:_0x12112b}=_0x4f4637,_0x524321={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldJson':_0x4ecf40,'area':_0x4eeb4b,'index':_0x12112b},_0x3072bf={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x4ecf40['id'],'area':_0x4eeb4b,'index':_0x12112b};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x2cda78['id'],'params':_0x524321}),_0x208470[_0x7e761c(0x139)]({'id':_0x3e9720['id'],'params':_0x3072bf});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x1ee)]:{const {fieldId:_0x4b3203,newSubtotalType:_0x4ca18c,oldSubtotalType:_0x3b56ee}=_0x4f4637,_0x376b6f={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x4b3203,'subtotalType':_0x4ca18c};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x41b531['id'],'params':_0x376b6f});const _0x5e20ad={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x4b3203,'subtotalType':_0x3b56ee};_0x208470['unshift']({'id':_0x41b531['id'],'params':_0x5e20ad});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x274)]:{const {fieldId:_0x30ea6e,fieldJson:_0x30be0e,area:_0x20f672,index:_0x5276a1}=_0x4f4637,_0x18d79d={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x30ea6e,'index':_0x5276a1,'area':_0x20f672};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x3e9720['id'],'params':_0x18d79d});const _0x506f93={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldJson':_0x30be0e,'area':_0x20f672,'index':_0x5276a1};_0x208470[_0x7e761c(0x139)]({'id':_0x2cda78['id'],'params':_0x506f93});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x338)]:{const {fieldId:_0xfa6d48,oldName:_0x3e851c,newName:_0x3acbab}=_0x4f4637,_0x5176d4={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0xfa6d48,'name':_0x3acbab};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x24c0ca['id'],'params':_0x5176d4});const _0x5ba317={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0xfa6d48,'name':_0x3e851c};_0x208470[_0x7e761c(0x139)]({'id':_0x24c0ca['id'],'params':_0x5ba317});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x3b4)]:{const {fieldId:_0x5e7217,oldFilterInfo:_0x8246c3,newFilterInfo:_0x385e01}=_0x4f4637,_0x3c5bbf={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5e7217,'filterInfo':_0x385e01};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x1aea10['id'],'params':_0x3c5bbf});const _0x2c0251={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5e7217,'filterInfo':_0x8246c3};_0x208470[_0x7e761c(0x139)]({'id':_0x1aea10['id'],'params':_0x2c0251});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x16b)]:{const {fieldId:_0x5abf0d,oldSortInfo:_0x214174,newSortInfo:_0x182e65}=_0x4f4637,_0x3f4637={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5abf0d,'sortInfo':_0x182e65};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x3fecaa['id'],'params':_0x3f4637});const _0x343960={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x5abf0d,'sortInfo':_0x214174};_0x208470[_0x7e761c(0x139)]({'id':_0x3fecaa['id'],'params':_0x343960});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x1f2)]:{const {oldOptions:_0x55497d,newOptions:_0x532538}=_0x4f4637,_0x166725={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'options':_0x532538};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x203a31['id'],'params':_0x166725});const _0x2e9440={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'options':_0x55497d};_0x208470['unshift']({'id':_0x203a31['id'],'params':_0x2e9440});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x1a5)]:{const {oldArea:_0x5adb1d,newArea:_0x3022bb,oldIndex:_0x234791,newIndex:_0x314720,fieldId:_0x2d14b7}=_0x4f4637,_0x14e4cb={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x2d14b7,'area':_0x3022bb,'index':_0x314720,'oldArea':_0x5adb1d,'oldIndex':_0x234791};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x2b127c['id'],'params':_0x14e4cb});const _0x1e44b9={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x2d14b7,'area':_0x5adb1d,'index':_0x234791,'oldArea':_0x3022bb,'oldIndex':_0x314720};_0x208470[_0x7e761c(0x139)]({'id':_0x2b127c['id'],'params':_0x1e44b9});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x284)]:{const {oldValuePosition:_0x2baf62,newValuePosition:_0x4ec075,oldIndex:_0x4b3d4a,newIndex:_0xbb21b8}=_0x4f4637,_0x5e89ea={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'valuePosition':_0x4ec075,'index':_0xbb21b8};_0x3bffd1['push']({'id':_0x263388['id'],'params':_0x5e89ea});const _0x4cf984={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'valuePosition':_0x2baf62,'index':_0x4b3d4a};_0x208470[_0x7e761c(0x139)]({'id':_0x263388['id'],'params':_0x4cf984});}break;case _0x7d04ba['PivotTableChangeTypeEnum'][_0x7e761c(0x25d)]:{const {fieldId:_0x28af57,collapse:_0x214c91,item:_0x3dec33}=_0x4f4637,_0x3c9bba={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x28af57,'collapse':_0x214c91,'item':_0x3dec33};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x480282['id'],'params':_0x3c9bba});const _0x63b76d={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x28af57,'collapse':!_0x214c91,'item':_0x3dec33};_0x208470[_0x7e761c(0x139)]({'id':_0x480282['id'],'params':_0x63b76d});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0xcc)]:{const {newFormat:_0x4bbdd1,oldFormat:_0x256acf,fieldId:_0x40b1f4}=_0x4f4637,_0x52fdc5={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x40b1f4,'format':_0x4bbdd1};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x4a253d['id'],'params':_0x52fdc5});const _0x4c9db9={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x40b1f4,'format':_0x256acf};_0x208470[_0x7e761c(0x139)]({'id':_0x4a253d['id'],'params':_0x4c9db9});}break;case _0x7d04ba['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x58020e,oldSourceName:_0x33110d,newSourceName:_0x4ac9e6,oldDataFieldId:_0x290d05,newDataFieldId:_0x28bc36}=_0x4f4637,_0x259d88={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'tableFieldId':_0x58020e,'sourceName':_0x4ac9e6,'dataFieldId':_0x28bc36};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x33eee5['id'],'params':_0x259d88});const _0x4f4deb={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'tableFieldId':_0x58020e,'sourceName':_0x33110d,'dataFieldId':_0x290d05};_0x208470[_0x7e761c(0x139)]({'id':_0x33eee5['id'],'params':_0x4f4deb});}break;case _0x7d04ba[_0x7e761c(0x372)][_0x7e761c(0x12f)]:{const {fieldId:_0x36825d,filterInfo:_0xd7e2d1,oldFilterInfo:_0x5558b8}=_0x4f4637,_0x151fe3={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x36825d,'filterInfo':_0xd7e2d1};_0x3bffd1[_0x7e761c(0x373)]({'id':_0x8a8125['id'],'params':_0x151fe3});const _0x11ae71={'unitId':_0x31dd8f,'subUnitId':_0x8a898c,'pivotTableId':_0x2c37af,'fieldId':_0x36825d,'filterInfo':_0x5558b8};_0x208470[_0x7e761c(0x139)]({'id':_0x8a8125['id'],'params':_0x11ae71});}}return{'redos':_0x3bffd1,'undos':_0x208470};}function _0x3338fa(_0x2c694a,_0x514519){const _0x2164dd=_0x45f501;var _0x1a789b;const _0x52a8eb=_0x2c694a[_0x2164dd(0x185)](_0x5bc0f5[_0x2164dd(0x37f)]),{cellInfo:_0x48b6bf,view:_0x1995d7,isEmpty:_0x405a57}=_0x514519;return(_0x1a789b=_0x52a8eb['interceptor'][_0x2164dd(0x26c)](_0xe0920e)(_0x359f1b,{'cellInfo':_0x48b6bf,'view':_0x1995d7,'isEmpty':_0x405a57}))!=null?_0x1a789b:_0x359f1b;}const _0x34c587=()=>typeof process<'u'&&process['versions']!=null&&process[_0x45f501(0x111)][_0x45f501(0x23f)]!=null,_0x592e37={'type':_0xaebd85['CommandType']['MUTATION'],'id':_0x45f501(0x293),'handler'(_0x1d1701,_0x2d5532){const _0x5d745b=_0x45f501;var _0x3b8ea3;if(!_0x2d5532)return!0x1;const _0x11118e=_0x1d1701[_0x5d745b(0x185)](_0xaebd85[_0x5d745b(0x223)]);if(!!_0x11118e[_0x5d745b(0x14a)](_0x5e7272))return!0x0;const _0x420c55=_0x1d1701[_0x5d745b(0x185)](_0xaebd85['IUniverInstanceService']),_0x342eef=_0x1d1701['get'](_0x5bc0f5[_0x5d745b(0x156)]),{pivotTableId:_0x3b6179,pivotTableConfig:_0x3ce0dd,collectionConfig:_0x100b99,unitId:_0x411f11,subUnitId:_0x22e1a9}=_0x2d5532,{sourceRangeInfo:_0x489e70,fieldsConfig:_0x2a5aa2,targetCellInfo:_0xe9a75a}=_0x3ce0dd,_0x3fb1a7=_0x420c55[_0x5d745b(0x357)](_0x411f11);if(!_0x3fb1a7||!_0x3fb1a7['getSheetBySheetId'](_0x22e1a9))return!0x1;if(!_0x34c587()){let _0x277883=0x0;_0x3fb1a7['getSheets']()['forEach'](_0x3d2d6a=>{const _0x3d61f7=_0x5d745b;var _0xae8c2e,_0x1f2578;_0x277883+=(_0x1f2578=(_0xae8c2e=_0x342eef[_0x3d61f7(0x21d)](_0x411f11,_0x3d2d6a[_0x3d61f7(0x17c)]()))==null?void 0x0:_0xae8c2e['size'])!=null?_0x1f2578:0x0;});const _0x3e9e7c=(_0x3b8ea3=_0x11118e[_0x5d745b(0x14a)](_0x800699[_0x5d745b(0x13f)]))!=null?_0x3b8ea3:{},{ls:_0x4f8ef6,pbk:_0x2e279e}=_0x3e9e7c;if(!_0x3b344d(_0x4f8ef6,_0x2e279e))throw new _0xaebd85['CustomCommandExecutionError'](_0x5d745b(0xb7));const _0x38cf86=_0x32805f(_0x6fd86,_0x4f8ef6,_0x2e279e)[_0x5d745b(0x380)];if(_0x277883>=_0x38cf86)throw new _0xaebd85['CustomCommandExecutionError'](_0x5d745b(0xb7));}if(!_0x100b99||!_0x2a5aa2)return!0x1;const {collection:_0x4f7de4,updateDataFieldList:_0xb085b5}=_0x342eef[_0x5d745b(0x1be)](_0x3b6179,_0x100b99,_0x489e70,_0xe9a75a);_0x342eef[_0x5d745b(0x107)](_0x4f7de4,_0xb085b5,_0x489e70);const _0x5c1c06=new _0x7d04ba[(_0x5d745b(0x1fe))](_0x4f7de4,void 0x0,_0x3b6179);_0x5c1c06[_0x5d745b(0x391)](_0x2a5aa2);const _0x11a439=JSON[_0x5d745b(0x32e)](JSON[_0x5d745b(0x118)](_0x3ce0dd));return _0x342eef[_0x5d745b(0x294)](_0x411f11,_0x22e1a9,_0x3b6179,_0x5c1c06,_0x11a439),_0x342eef[_0x5d745b(0x29f)]({'unitId':_0x411f11,'subUnitId':_0x22e1a9,'token':_0x3b6179,'type':_0x3c03d6[_0x5d745b(0xa2)],'pivotConfig':_0x11a439}),!0x0;}},_0x7ceaf3={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x123),'handler'(_0xda76e2,_0x3959d8){const _0x50dec0=_0x45f501;if(!_0x3959d8)return!0x1;if(!!_0xda76e2[_0x50dec0(0x185)](_0xaebd85[_0x50dec0(0x223)])[_0x50dec0(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x480643,unitId:_0x55e975,subUnitId:_0x21f020}=_0x3959d8,_0x28bfbe=_0xda76e2[_0x50dec0(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']);return _0x28bfbe[_0x50dec0(0x21f)](_0x55e975,_0x21f020,_0x480643)?(_0x28bfbe[_0x50dec0(0x29f)]({'unitId':_0x55e975,'subUnitId':_0x21f020,'token':_0x480643,'type':_0x3c03d6[_0x50dec0(0x178)]}),_0x28bfbe['removePivotTable'](_0x55e975,_0x21f020,_0x480643),!0x0):!0x1;}},_0x5e1c2b={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':_0x45f501(0x397),'handler'(_0x42589c,_0x1767c6){const _0x140014=_0x45f501;if(!_0x1767c6)return!0x1;if(!!_0x42589c['get'](_0xaebd85[_0x140014(0x223)])[_0x140014(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x558e61,targetCellPosition:_0x33d800,unitId:_0x5c98c4,subUnitId:_0x36db5f}=_0x1767c6,_0x53af7b=_0x42589c[_0x140014(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']);if(!_0x53af7b[_0x140014(0x93)](_0x1767c6[_0x140014(0xe2)]))return!0x1;const _0x27025a=_0x53af7b[_0x140014(0x1b4)](_0x558e61);if(!_0x27025a)return!0x1;const _0x2aaa4e=_0x53af7b[_0x140014(0x300)](_0x27025a[_0x140014(0x20d)],_0x1767c6[_0x140014(0xe2)]);if(!_0x2aaa4e)return!0x1;const _0x211b97=_0x53af7b[_0x140014(0x21f)](_0x27025a[_0x140014(0x20d)],_0x27025a[_0x140014(0x15b)],_0x558e61);if(!_0x211b97)return!0x1;const _0x509bba=_0xaebd85['Tools'][_0x140014(0x1fb)](_0x211b97);_0x509bba['targetCellInfo']={'unitId':_0x5c98c4,'subUnitId':_0x36db5f,'row':_0x33d800[_0x140014(0x2e0)],'col':_0x33d800[_0x140014(0x180)]};const _0x2d7e15=_0x2aaa4e[_0x140014(0x19a)]();if(_0x27025a[_0x140014(0x15b)]===_0x36db5f&&_0x27025a['unitId']===_0x5c98c4)_0x53af7b[_0x140014(0x18a)](_0x5c98c4,_0x36db5f,_0x558e61,_0x509bba),_0x53af7b[_0x140014(0x29f)]({'unitId':_0x5c98c4,'subUnitId':_0x36db5f,'token':_0x558e61,'type':_0x3c03d6[_0x140014(0x1b6)]});else{_0x53af7b[_0x140014(0x29f)]({'unitId':_0x27025a[_0x140014(0x20d)],'subUnitId':_0x27025a[_0x140014(0x15b)],'token':_0x558e61,'type':_0x3c03d6[_0x140014(0x178)]}),_0x53af7b['removePivotTable'](_0x27025a[_0x140014(0x20d)],_0x27025a[_0x140014(0x15b)],_0x558e61);const _0x573083=_0x53af7b[_0x140014(0x1be)](_0x558e61,_0x2d7e15,_0x211b97[_0x140014(0x206)],_0x509bba[_0x140014(0x22f)]),_0x5992c0=new _0x7d04ba['PivotTable'](_0x573083[_0x140014(0x13a)],void 0x0,_0x558e61);_0x5992c0['fromJSON'](_0x509bba[_0x140014(0xbf)]),_0x53af7b[_0x140014(0x294)](_0x5c98c4,_0x36db5f,_0x558e61,_0x5992c0,_0x509bba),_0x53af7b[_0x140014(0x29f)]({'unitId':_0x5c98c4,'subUnitId':_0x36db5f,'token':_0x558e61,'type':_0x3c03d6[_0x140014(0xa2)],'pivotConfig':_0x509bba});}return!0x0;}},_0x385c03={'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'id':_0x45f501(0x2d9),'handler'(_0x560323,_0x1bab6e){const _0x28bc2a=_0x45f501;if(!_0x1bab6e)return!0x1;if(!!_0x560323['get'](_0xaebd85['IConfigService'])['getConfig'](_0x5e7272))return!0x0;const _0x1f10ee=_0x560323[_0x28bc2a(0x185)](_0x5bc0f5[_0x28bc2a(0x156)]),{pivotTableId:_0x3bb54c,deleteIds:_0x414602,collectionJSON:_0x74b63,dataRangeInfo:_0x85a453,unitId:_0x317759,subUnitId:_0x7964fb}=_0x1bab6e,_0xff4613=_0x1f10ee['getPivotTableInstance'](_0x3bb54c),_0x728ea1=_0x1f10ee['getPivotTableConfig'](_0x317759,_0x7964fb,_0x3bb54c);if(!_0xff4613||!_0x728ea1)return!0x1;const {collection:_0x1f2dc6,updateDataFieldList:_0x435753}=_0x1f10ee[_0x28bc2a(0x1be)](_0x3bb54c,_0x74b63,_0x85a453,_0x728ea1[_0x28bc2a(0x22f)]);_0x1f10ee[_0x28bc2a(0x107)](_0x1f2dc6,_0x435753,_0x85a453),_0xff4613[_0x28bc2a(0x31c)](_0x1f2dc6);for(const _0x5d56dc of _0x414602)_0x1f10ee['removeDataField'](_0x85a453['unitId'],_0x5d56dc);const _0x5aa8ec=_0x1f10ee[_0x28bc2a(0x21f)](_0x317759,_0x7964fb,_0x3bb54c);return _0x5aa8ec[_0x28bc2a(0x206)]=JSON[_0x28bc2a(0x32e)](JSON['stringify'](_0x85a453)),_0x1f10ee[_0x28bc2a(0x29f)]({'unitId':_0x317759,'subUnitId':_0x7964fb,'token':_0x3bb54c,'type':_0x3c03d6[_0x28bc2a(0x1b6)]}),!0x0;}},_0x25680d={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x5327ac=Object[_0x45f501(0x30e)],_0x475072=(_0x4efbf7,_0x2ad056,_0x4f7397,_0x181653)=>{const _0x17415c=_0x45f501;for(var _0x4c7bee=_0x181653>0x1?void 0x0:_0x181653?_0x5327ac(_0x2ad056,_0x4f7397):_0x2ad056,_0x507b72=_0x4efbf7[_0x17415c(0xa8)]-0x1,_0x1f46c8;_0x507b72>=0x0;_0x507b72--)(_0x1f46c8=_0x4efbf7[_0x507b72])&&(_0x4c7bee=_0x1f46c8(_0x4c7bee)||_0x4c7bee);return _0x4c7bee;},_0xfb92c6=(_0x147932,_0x461e1e)=>(_0x1b82eb,_0x2105f3)=>_0x461e1e(_0x1b82eb,_0x2105f3,_0x147932);_0x5bc0f5[_0x45f501(0x252)]=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x122e56,_0x17bfd4){const _0x47d45c=_0x45f501;super(),_0x1f3ba2(this,_0x47d45c(0x35f),new Map()),(this['_injector']=_0x122e56,this[_0x47d45c(0x345)]=_0x17bfd4);}[_0x45f501(0x332)](_0x4457b4){const _0x50d828=_0x45f501,{version:_0x459284}=_0x4457b4,_0x19f3f6=this[_0x50d828(0x35f)][_0x50d828(0x185)](_0x459284);_0x19f3f6&&(_0x19f3f6(_0x4457b4),this[_0x50d828(0x35f)][_0x50d828(0x226)](_0x459284));}[_0x45f501(0x12c)](_0x3468f8){return new Promise((_0x1c55fb,_0x1d36bc)=>{const _0x594e2d=_0x554c,_0x301c65=this[_0x594e2d(0x347)]();this[_0x594e2d(0x35f)]['set'](_0x301c65,_0x1c55fb),this['_commandService'][_0x594e2d(0x3ae)](_0x5dba1f['id'],{'version':_0x301c65,..._0x3468f8},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x5418b7=_0x45f501;return Math[_0x5418b7(0x1ca)]()[_0x5418b7(0x2a2)](0x24)[_0x5418b7(0x320)](0x2,0x10);}},_0x5bc0f5[_0x45f501(0x252)]=_0x475072([_0xfb92c6(0x0,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x231)])),_0xfb92c6(0x1,_0xaebd85[_0x45f501(0x305)](_0xaebd85['ICommandService']))],_0x5bc0f5['SheetsPivotRPCService']);const _0x4ec140={'id':_0x45f501(0x1d9),'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'handler':(_0x39f598,_0x2d87e9)=>{const _0x560fe8=_0x45f501;if(!_0x2d87e9)return!0x1;if(!!_0x39f598[_0x560fe8(0x185)](_0xaebd85[_0x560fe8(0x223)])[_0x560fe8(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x1378eb,fieldJSON:_0x12fc7a,unitId:_0x3d8a64,subUnitId:_0x5beefa}=_0x2d87e9,_0x54188c=_0x7d04ba[_0x560fe8(0xea)]['fromJSON'](_0x12fc7a);if(!_0x54188c)return!0x1;const _0x27a116=_0x39f598[_0x560fe8(0x185)](_0x5bc0f5[_0x560fe8(0x156)]),_0x1f918d=_0x27a116[_0x560fe8(0x10f)](_0x3d8a64),_0xe1fcd3=_0x1f918d[_0x560fe8(0x300)](_0x1378eb);_0x1f918d[_0x560fe8(0x277)](_0x54188c),_0xe1fcd3[_0x560fe8(0xc2)](_0x54188c[_0x560fe8(0x114)](),_0x54188c['getName']());const _0xef2c68=_0xe1fcd3[_0x560fe8(0x324)](_0x54188c[_0x560fe8(0x32f)]());_0xef2c68&&_0x54188c[_0x560fe8(0xae)](_0xef2c68);const _0x51e7df=_0x27a116['getPivotTableConfig'](_0x3d8a64,_0x5beefa,_0x1378eb);return _0x27a116[_0x560fe8(0x29f)]({'unitId':_0x3d8a64,'subUnitId':_0x5beefa,'token':_0x1378eb,'type':_0x3c03d6[_0x560fe8(0x1b6)],'pivotConfig':_0x51e7df}),!0x0;}},_0x25a4c={'id':_0x45f501(0x21e),'type':_0xaebd85['CommandType'][_0x45f501(0x32c)],'handler':(_0x1539c6,_0x227b1c)=>{const _0x13ff6f=_0x45f501;if(!_0x227b1c)return!0x1;if(!!_0x1539c6['get'](_0xaebd85['IConfigService'])[_0x13ff6f(0x14a)](_0x5e7272))return!0x0;const {pivotTableId:_0x36b4a7,dataFieldId:_0x17b6cc,unitId:_0x36fbc1,subUnitId:_0x4370cc}=_0x227b1c,_0x35c719=_0x1539c6['get'](_0x5bc0f5[_0x13ff6f(0x156)]),_0x28a7c0=_0x35c719[_0x13ff6f(0x10f)](_0x36fbc1);_0x28a7c0[_0x13ff6f(0x300)](_0x36b4a7)[_0x13ff6f(0x198)](_0x17b6cc);let _0xb0070d=!0x0;for(const _0x323290 in _0x28a7c0['collections'])if(_0x28a7c0[_0x13ff6f(0x2ea)][_0x323290][_0x13ff6f(0xb1)]()['includes'](_0x17b6cc)){_0xb0070d=!0x1;break;}_0xb0070d&&_0x28a7c0['deleteDataField'](_0x17b6cc);const _0x3e0090=_0x35c719[_0x13ff6f(0x21f)](_0x36fbc1,_0x4370cc,_0x36b4a7);return _0x35c719[_0x13ff6f(0x29f)]({'unitId':_0x36fbc1,'subUnitId':_0x4370cc,'token':_0x36b4a7,'type':_0x3c03d6[_0x13ff6f(0x1b6)],'pivotConfig':_0x3e0090}),!0x0;}},_0x82e3c7={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':'sheet.command.add-pivot-field',async 'handler'(_0xc6130e,_0x3bf36f){const _0x11d86f=_0x45f501;if(!_0x3bf36f)return!0x1;const _0x5f4282=_0xc6130e[_0x11d86f(0x185)](_0xaebd85[_0x11d86f(0x2f7)]),_0x46621e=_0xc6130e['get'](_0x5bc0f5[_0x11d86f(0x252)]),_0x44708d=_0xc6130e['get'](_0xaebd85[_0x11d86f(0x361)]),{pivotTableId:_0x3a6f88,dataFieldId:_0x5e36c0,fieldArea:_0x357b87,index:_0x124507,unitId:_0x5d4507,subUnitId:_0x454f94}=_0x3bf36f,_0x5b40c1=(await _0x46621e[_0x11d86f(0x12c)]({'unitId':_0x5d4507,'subUnitId':_0x454f94,'pivotTableId':_0x3a6f88,'params':{'type':_0x240b92[_0x11d86f(0x271)],'addPivotField':{'dataFieldId':_0x5e36c0,'fieldArea':_0x357b87,'index':_0x124507}}}))['result'][_0x11d86f(0x261)];if(!_0x5b40c1)return!0x1;const {view:_0x3ae1a4,changesets:_0x422c60,isEmpty:_0x408ef5,pivotTableConfig:_0x9c8e14,shouldBeAddedGroupJSON:_0xef5d5c}=_0x5b40c1,_0xd71d80=_0x9c8e14[_0x11d86f(0x22f)],_0x25e0f8=new _0x7d04ba['PivotView']();_0x25e0f8[_0x11d86f(0x1e6)](_0x3ae1a4);const _0x3fa904={'cellInfo':_0xd71d80,'view':_0x25e0f8,'isEmpty':_0x408ef5};if(!await _0xc6130e[_0x11d86f(0x185)](_0x5bc0f5[_0x11d86f(0x37f)])[_0x11d86f(0x235)][_0x11d86f(0x1cd)](_0x33c707)(!0x0,_0x3fa904))return!0x1;const _0x4c29b5=_0x42c249(_0xc6130e,_0x25e0f8,_0xd71d80,_0x408ef5),_0x20617f=_0x3338fa(_0xc6130e,_0x3fa904),{undos:_0xadc34c,redos:_0x4c3403}=_0x57b20d(_0x5f4282,{'pivotTableId':_0x3a6f88,'unitId':_0x5d4507,'subUnitId':_0x454f94},_0x422c60);return _0xef5d5c&&(_0x4c3403['unshift']({'id':_0x4ec140['id'],'params':{'pivotTableId':_0x3a6f88,'fieldJSON':_0xef5d5c,'unitId':_0x5d4507,'subUnitId':_0x454f94}}),_0xadc34c[_0x11d86f(0x373)]({'id':_0x25a4c['id'],'params':{'pivotTableId':_0x3a6f88,'dataFieldId':_0xef5d5c['id'],'unitId':_0x5d4507,'subUnitId':_0x454f94}})),_0xaebd85[_0x11d86f(0x135)]([..._0x4c29b5[_0x11d86f(0xfd)],..._0x20617f[_0x11d86f(0xfd)],..._0x4c3403],_0x5f4282),_0x44708d[_0x11d86f(0x14b)]({'unitID':_0x5d4507,'redoMutations':[..._0x4c29b5[_0x11d86f(0xfd)],..._0x20617f[_0x11d86f(0xfd)],..._0x4c3403],'undoMutations':[..._0x4c29b5[_0x11d86f(0x301)],..._0x20617f[_0x11d86f(0x301)],..._0xadc34c]}),!0x0;}},_0x2bfb23={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x366),async 'handler'(_0x5533b,_0x72d5ee){const _0x5c234a=_0x45f501;if(!_0x72d5ee)return!0x1;const {sourceDataInfo:_0x454f4d,pivotTableConfig:_0x43da36}=_0x72d5ee;if(!_0x454f4d||!_0x43da36)return!0x1;const {unitId:_0x4abffa,subUnitId:_0x2b31bd,range:_0x315fb9}=_0x454f4d,_0x35873f=_0x5533b['get'](_0xaebd85['IUniverInstanceService']),_0xea7d16=_0x5533b[_0x5c234a(0x185)](_0x5bc0f5['SheetsPivotRPCService']),_0x1bf267=_0x5533b[_0x5c234a(0x185)](_0xaebd85[_0x5c234a(0x215)]),_0xe857de=_0x5533b[_0x5c234a(0x185)](_0xaebd85[_0x5c234a(0x2f7)]),_0x16bb4f=_0x35873f[_0x5c234a(0x357)](_0x4abffa);if(!_0x16bb4f)return!0x1;const _0x315789=_0x16bb4f[_0x5c234a(0x318)](_0x2b31bd);if(!_0x315789)return!0x1;const _0x1568be=_0x7d04ba[_0x5c234a(0x33a)](0x8),_0x417cad=_0x315fb9||{'startRow':0x0,'startColumn':0x0,'endRow':_0x315789[_0x5c234a(0x16e)]()-0x1,'endColumn':_0x315789[_0x5c234a(0x31a)]()-0x1};_0x417cad[_0x5c234a(0xb4)]=_0xaebd85['RANGE_TYPE']['NORMAL'];const _0x2f6b4d=(await _0xea7d16['getPivotDisplayConfig']({'unitId':_0x4abffa,'subUnitId':_0x2b31bd,'pivotTableId':_0x1568be,'params':{'type':_0x240b92[_0x5c234a(0x217)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4abffa,'sheetName':_0x315789['getName'](),'subUnitId':_0x2b31bd,'range':_0x417cad},'pivotTableId':_0x1568be,'pivotTableIndexConfig':_0x43da36}}}))[_0x5c234a(0x30b)][_0x5c234a(0x184)];if(!_0x2f6b4d)return!0x1;const {isEmpty:_0x4ac18e,fieldsConfig:_0x1af731,collectionConfig:_0x13393a,changesets:_0xb0b2b8}=_0x2f6b4d,_0x212e78=_0x16bb4f[_0x5c234a(0x281)]()[_0x5c234a(0xa8)],_0xdd09d0=_0xaebd85['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x315789[_0x5c234a(0x16e)]()-0x1,'columnCount':_0x315789[_0x5c234a(0x31a)]()-0x1});_0xdd09d0['id']=_0xaebd85[_0x5c234a(0x8f)](),_0xdd09d0[_0x5c234a(0x113)]=_0x16bb4f[_0x5c234a(0x2e4)](''+_0x1bf267['t'](_0x5c234a(0x36d)));const _0x1371fe={'index':_0x212e78,'sheet':_0xdd09d0,'unitId':_0x4abffa},{redos:_0x5aa04c}=_0x57b20d(_0xe857de,{'pivotTableId':_0x1568be,'unitId':_0x4abffa,'subUnitId':_0xdd09d0['id']},_0xb0b2b8),_0x4fe764=[{'id':_0x401092[_0x5c234a(0x242)]['id'],'params':_0x1371fe},{'id':_0x592e37['id'],'params':{'unitId':_0x4abffa,'subUnitId':_0xdd09d0['id'],'pivotTableId':_0x1568be,'pivotTableConfig':{'isEmpty':_0x4ac18e,'fieldsConfig':_0x1af731,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4abffa,'subUnitId':_0xdd09d0['id']},'sourceRangeInfo':{'subUnitId':_0x2b31bd,'unitId':_0x4abffa,'range':_0x417cad,'sheetName':_0x315789[_0x5c234a(0xdd)]()}},'collectionConfig':_0x13393a}},..._0x5aa04c];return _0xaebd85[_0x5c234a(0x135)](_0x4fe764,_0xe857de),!0x0;}},_0xacb3d5={'type':_0xaebd85['CommandType'][_0x45f501(0x101)],'id':_0x45f501(0x17e),async 'handler'(_0x37def7,_0x33f779){const _0x1d27d1=_0x45f501;var _0x37d836,_0x581ca2;const _0xa9a6f3=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x2f7)]),_0x4b5d25=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x182)]),_0x13cba2=_0x37def7[_0x1d27d1(0x185)](_0xaebd85['LocaleService']),_0x5aa41d=_0x37def7[_0x1d27d1(0x185)](_0x5bc0f5[_0x1d27d1(0x252)]),_0x6a444c=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x361)]),_0x33bb1d=_0x37def7[_0x1d27d1(0x185)](_0x5bc0f5[_0x1d27d1(0x2c9)]),_0x31568f=_0x37def7[_0x1d27d1(0x185)](_0xaebd85[_0x1d27d1(0x223)]);if(!_0x33f779)return!0x1;const {pivotTableConfig:_0x3323ab,positionType:_0x16574f}=_0x33f779,{targetCellInfo:_0x1bf8d6,sourceRangeInfo:_0x1f8bfd}=_0x3323ab,{unitId:_0x5d50e0,subUnitId:_0x488eb6}=_0x1bf8d6,_0x12471c=_0x4b5d25[_0x1d27d1(0x357)](_0x5d50e0);if(!_0x12471c)return!0x1;let _0x163c15=0x0;_0x12471c[_0x1d27d1(0x281)]()['forEach'](_0x4bcfdb=>{const _0x3f20e2=_0x1d27d1;var _0x4bb223,_0x5ebb74;_0x163c15+=(_0x5ebb74=(_0x4bb223=_0x33bb1d[_0x3f20e2(0x21d)](_0x5d50e0,_0x4bcfdb[_0x3f20e2(0x17c)]()))==null?void 0x0:_0x4bb223['size'])!=null?_0x5ebb74:0x0;});const _0x190a65=(_0x37d836=_0x31568f[_0x1d27d1(0x14a)](_0x800699['LS_CONFIG_KEY']))!=null?_0x37d836:{},{ls:_0x39c902,pbk:_0x25ab66}=_0x190a65;if(!_0x3b344d(_0x39c902,_0x25ab66))return!0x1;const _0x11ef99=_0x32805f(_0x6fd86,_0x39c902,_0x25ab66)['count'];if(_0x163c15>=_0x11ef99)return!0x1;const _0x2af9ca=_0x33f779[_0x1d27d1(0xe2)]||_0x7d04ba[_0x1d27d1(0x33a)](0x8),_0xe61ff3=(await _0x5aa41d[_0x1d27d1(0x12c)]({'unitId':_0x5d50e0,'subUnitId':_0x488eb6,'pivotTableId':_0x2af9ca,'params':{'type':_0x240b92['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x1f8bfd,'pivotTableId':_0x2af9ca}}}))[_0x1d27d1(0x30b)]['addPivotTable'];if(!_0xe61ff3)return!0x1;const {view:_0x5b87d9,isEmpty:_0x1b7efd,fieldsConfig:_0x1ee382,collectionConfig:_0x352bb1}=_0xe61ff3,_0x57b84e=[],_0x35a340=[];if(_0x16574f===_0x5e87a5[_0x1d27d1(0x208)]){const _0x10bc52=_0x12471c['getSheets']()[_0x1d27d1(0xa8)],_0xe2728e=_0xaebd85[_0x1d27d1(0x24b)]({});_0xe2728e['id']=_0x3323ab[_0x1d27d1(0x22f)][_0x1d27d1(0x15b)],_0xe2728e[_0x1d27d1(0x113)]=(_0x581ca2=_0x3323ab[_0x1d27d1(0x22f)][_0x1d27d1(0x13e)])!=null?_0x581ca2:_0x12471c[_0x1d27d1(0x2e4)](''+_0x13cba2['t'](_0x1d27d1(0x36d)));const _0x4e1a53={'index':_0x10bc52,'sheet':_0xe2728e,'unitId':_0x5d50e0},_0x519882=_0x401092[_0x1d27d1(0x2d1)](_0x37def7,_0x4e1a53);_0x57b84e[_0x1d27d1(0x373)]({'id':_0x401092[_0x1d27d1(0x1a1)]['id'],'params':_0x519882}),_0x35a340[_0x1d27d1(0x373)]({'id':_0x401092[_0x1d27d1(0x213)]['id'],'params':_0x4e1a53});}else{if(!_0x12471c['getSheetBySheetId'](_0x488eb6))return!0x1;const _0x1473ba=_0x42c249(_0x37def7,new _0x7d04ba['PivotView'](),_0x1bf8d6,!0x0);_0x35a340[_0x1d27d1(0x373)](..._0x1473ba[_0x1d27d1(0xfd)]),_0x57b84e[_0x1d27d1(0x373)](..._0x1473ba[_0x1d27d1(0x301)]);const _0x38fdc2={'cellInfo':_0x1bf8d6,'view':_0x5b87d9,'isEmpty':_0x1b7efd};if(!await _0x37def7[_0x1d27d1(0x185)](_0x5bc0f5[_0x1d27d1(0x37f)])[_0x1d27d1(0x235)][_0x1d27d1(0x1cd)](_0x33c707)(!0x0,_0x38fdc2))return!0x1;const _0x44d670=_0x3338fa(_0x37def7,_0x38fdc2);_0x35a340[_0x1d27d1(0x373)](..._0x44d670[_0x1d27d1(0xfd)]),_0x57b84e[_0x1d27d1(0x373)](..._0x44d670[_0x1d27d1(0x301)]);}return _0x35a340[_0x1d27d1(0x373)]({'id':_0x592e37['id'],'params':{'unitId':_0x1bf8d6['unitId'],'subUnitId':_0x1bf8d6[_0x1d27d1(0x15b)],'pivotTableId':_0x2af9ca,'pivotTableConfig':{'targetCellInfo':_0x1bf8d6,'sourceRangeInfo':_0x1f8bfd,'fieldsConfig':_0x1ee382},'collectionConfig':_0x352bb1}}),_0x57b84e[_0x1d27d1(0x139)]({'id':_0x7ceaf3['id'],'params':{'unitId':_0x5d50e0,'subUnitId':_0x488eb6,'pivotTableId':_0x2af9ca}}),_0xaebd85['sequenceExecute'](_0x35a340,_0xa9a6f3)&&_0x6a444c[_0x1d27d1(0x14b)]({'unitID':_0x5d50e0,'undoMutations':_0x57b84e,'redoMutations':_0x35a340}),!0x0;}},_0x5c0c9f={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x3a5),async 'handler'(_0x1ee3a4,_0x9db909){const _0x5b69a1=_0x45f501;if(!_0x9db909)return!0x1;const _0xc79668=_0x1ee3a4['get'](_0xaebd85[_0x5b69a1(0x2f7)]),_0x25200d=_0x1ee3a4[_0x5b69a1(0x185)](_0x5bc0f5['SheetsPivotRPCService']),_0x14dfb2=_0x1ee3a4[_0x5b69a1(0x185)](_0xaebd85['IUndoRedoService']),{pivotTableId:_0x10ef6d,fieldId:_0x560d80,area:_0x5c26b4,index:_0x194f41,unitId:_0x1687f3,subUnitId:_0x2ef6b0}=_0x9db909,_0xee3949=(await _0x25200d[_0x5b69a1(0x12c)]({'unitId':_0x1687f3,'subUnitId':_0x2ef6b0,'pivotTableId':_0x10ef6d,'params':{'type':_0x240b92['MovePivotField'],'movePivotField':{'fieldId':_0x560d80,'area':_0x5c26b4,'index':_0x194f41}}}))[_0x5b69a1(0x30b)][_0x5b69a1(0x273)];if(!_0xee3949)return!0x1;const {changesets:_0xa82ea8,view:_0x176f3f,isEmpty:_0x5b9d8a,pivotTableConfig:_0x2b2214}=_0xee3949,_0x17fa05=_0x2b2214[_0x5b69a1(0x22f)],_0x384675=new _0x7d04ba[(_0x5b69a1(0x253))]();_0x384675['formJSON'](_0x176f3f);const _0x393afe={'cellInfo':_0x17fa05,'view':_0x384675,'isEmpty':_0x5b9d8a};if(!await _0x1ee3a4[_0x5b69a1(0x185)](_0x5bc0f5[_0x5b69a1(0x37f)])[_0x5b69a1(0x235)][_0x5b69a1(0x1cd)](_0x33c707)(!0x0,_0x393afe))return!0x1;const _0x591402=_0x42c249(_0x1ee3a4,_0x384675,_0x17fa05,_0x5b9d8a),_0x52cc7e=_0x3338fa(_0x1ee3a4,_0x393afe),{redos:_0x5e74e1,undos:_0x256869}=_0x57b20d(_0xc79668,{'pivotTableId':_0x10ef6d,'unitId':_0x1687f3,'subUnitId':_0x2ef6b0},_0xa82ea8);return _0xaebd85[_0x5b69a1(0x135)]([..._0x591402[_0x5b69a1(0xfd)],..._0x52cc7e[_0x5b69a1(0xfd)],..._0x5e74e1],_0xc79668),_0x14dfb2['pushUndoRedo']({'unitID':_0x1687f3,'redoMutations':[..._0x591402[_0x5b69a1(0xfd)],..._0x52cc7e[_0x5b69a1(0xfd)],..._0x5e74e1],'undoMutations':[..._0x591402['undos'],..._0x52cc7e[_0x5b69a1(0x301)],..._0x256869]}),!0x0;}},_0x4e19d8={'type':_0xaebd85['CommandType'][_0x45f501(0x101)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0xfa7a12,_0x38ef46){const _0x5cba87=_0x45f501;var _0x3767e9;if(!_0x38ef46)return!0x1;const _0x562575=_0xfa7a12[_0x5cba87(0x185)](_0xaebd85[_0x5cba87(0x182)]),_0x2d5e97=_0x401092[_0x5cba87(0x364)](_0x562575);if(!_0x2d5e97)return!0x1;const {unitId:_0x2e680d,subUnitId:_0x1fe106,workbook:_0x2e338e}=_0x2d5e97,{row:_0x4063ff,col:_0x30a5e4}=_0x38ef46,_0x4ef35a=_0xfa7a12[_0x5cba87(0x185)](_0x5bc0f5[_0x5cba87(0x1c3)]),_0x146fbb=_0x4ef35a['getPivotTableIdByCell'](_0x2e680d,_0x1fe106,_0x4063ff,_0x30a5e4);if(!_0x146fbb)return!0x1;const _0x20090=(_0x3767e9=_0x4ef35a[_0x5cba87(0x1c0)](_0x2e680d,_0x1fe106,_0x146fbb))==null?void 0x0:_0x3767e9[_0x5cba87(0x28c)];if(!_0x20090)return!0x1;const _0x281b6e=_0xfa7a12[_0x5cba87(0x185)](_0x5bc0f5['SheetsPivotTableConfigModel'])[_0x5cba87(0x21f)](_0x2e680d,_0x1fe106,_0x146fbb);if(!_0x281b6e)return!0x1;const {rowInfo:_0x4730ef,colInfo:_0x26e805}=_0x20090,_0x580eb3=_0x4730ef[_0x4063ff][_0x5cba87(0x30c)],_0x1f2b37=_0x26e805[_0x30a5e4][_0x5cba87(0x30c)],_0x8086f1=_0x4730ef[_0x4063ff][_0x5cba87(0x264)],_0x5351da=_0x26e805[_0x30a5e4][_0x5cba87(0x264)],_0x36e96a=_0x580eb3[_0x5cba87(0x3a9)](_0x1f2b37),_0x377035=_0x281b6e[_0x5cba87(0xbf)][_0x5cba87(0xd5)]['slice'](0x0,_0x8086f1),_0x220dd1=_0x281b6e['fieldsConfig'][_0x5cba87(0x194)][_0x5cba87(0x1ea)](0x0,_0x5351da),_0xc492e9=_0x377035[_0x5cba87(0x3a9)](_0x220dd1),_0x216792=_0x36e96a[_0x5cba87(0x258)]((_0x50f5b3,_0x510023)=>[_0x50f5b3,_0xc492e9[_0x510023]]),_0x7ec9e8=(await _0xfa7a12['get'](_0x5bc0f5[_0x5cba87(0x252)])[_0x5cba87(0x12c)]({'unitId':_0x2e680d,'subUnitId':_0x1fe106,'pivotTableId':_0x146fbb,'params':{'type':_0x240b92[_0x5cba87(0x313)],'drillDown':{'tuple':_0x216792}}}))[_0x5cba87(0x30b)][_0x5cba87(0x2d0)];if(!_0x7ec9e8)return!0x1;const {indexes:_0x58e89f,range:_0x3601bd,sourceUnitId:_0x3dcfca,sourceSubUnitId:_0x570ea2,formatMap:_0x420f07}=_0x7ec9e8,{startRow:_0x4ba4bb,endRow:_0x1f450a,startColumn:_0x4f95d2,endColumn:_0x4bc49d}=_0x3601bd,_0x3d0d50=new _0xaebd85[(_0x5cba87(0x209))](),_0x427f76=_0x1f450a-_0x4ba4bb,_0x3ad95d=_0x4bc49d-_0x4f95d2,_0x247411={},_0x526b37=_0x401092['getSheetCommandTarget'](_0x562575,{'unitId':_0x3dcfca,'subUnitId':_0x570ea2});if(!_0x526b37)return!0x1;const _0xe651c9=_0x40537f[_0x5cba87(0x267)],_0x25df7b=_0x40537f[_0x5cba87(0x170)],_0x5723b6=_0x40537f[_0x5cba87(0x170)],_0x21d184=_0x2e338e[_0x5cba87(0x193)]()[_0x5cba87(0x1a7)](_0xe651c9),_0x4ebd5a=_0x2e338e[_0x5cba87(0x193)]()[_0x5cba87(0x1a7)](_0x25df7b),_0x16da4b=_0x2e338e[_0x5cba87(0x193)]()[_0x5cba87(0x1a7)](_0x5723b6),{worksheet:_0x2c79b3}=_0x526b37;let _0xe37a11=0x0;const _0x227d7b=0x1;_0x58e89f[_0x5cba87(0x106)](_0x517266=>{const _0x4e9566=_0x5cba87;for(let _0x517be8=0x0;_0x517be8<=_0x4bc49d-_0x4f95d2;_0x517be8++)_0x3d0d50['setValue'](_0xe37a11,_0x517be8,_0x2c79b3[_0x4e9566(0x207)](_0x517266+_0x3601bd['startRow']+_0x227d7b,_0x517be8));_0xe37a11++;});for(let _0x1ae9e3=_0x4f95d2;_0x1ae9e3<=_0x4bc49d;_0x1ae9e3++){const _0x5b291d=_0x2c79b3[_0x5cba87(0x207)](_0x4ba4bb,_0x1ae9e3);_0x247411[_0x4ba4bb]||(_0x247411[_0x4ba4bb]={}),_0x247411[_0x4ba4bb][_0x1ae9e3]={..._0x5b291d,'s':_0x21d184};}let _0x547397=0x1;const _0x426f0b={},_0x3cb2e9={};_0x3d0d50[_0x5cba87(0x36c)]((_0x386aeb,_0x5e6cb2)=>{const _0x14ffb=_0x5cba87;_0x5e6cb2[_0x14ffb(0x106)](_0x4875bb=>{const _0x4840a9=_0x14ffb,_0xbd838f=_0x3d0d50[_0x4840a9(0x247)](_0x386aeb,_0x4875bb);if(_0x247411[_0x547397]||(_0x247411[_0x547397]={}),_0x247411[_0x547397][_0x4875bb]={..._0xbd838f,'s':_0x547397%0x2===0x0?_0x16da4b:_0x4ebd5a},_0x420f07[_0x4875bb]&&_0x386aeb>=0x0){const _0x3700d9=_0x547397%0x2===0x0;let _0x449b74=_0x3700d9?_0x3cb2e9[_0x4875bb]:_0x426f0b[_0x4875bb];_0x449b74||(_0x449b74=_0x2e338e[_0x4840a9(0x193)]()['setValue']({..._0x3700d9?_0x5723b6:_0x25df7b,'n':{'pattern':_0x420f07[_0x4875bb]}}),_0x3700d9?_0x3cb2e9[_0x4875bb]=_0x449b74:_0x426f0b[_0x4875bb]=_0x449b74),_0x247411[_0x547397][_0x4875bb]['s']=_0x449b74;}}),_0x547397++;});const _0x24c1b2=new _0xaebd85[(_0x5cba87(0x209))](_0x247411),_0x11010c={};_0x24c1b2['forValue']((_0x5ca918,_0x1c97c0,_0x5e7b04)=>{_0x11010c[_0x5ca918]||(_0x11010c[_0x5ca918]={}),_0x11010c[_0x5ca918][_0x1c97c0]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4e8dcb=[],_0x51aeb0=[],_0x3f86da=_0x2e338e[_0x5cba87(0x281)]()[_0x5cba87(0xa8)],_0x8bbf41=_0xaebd85['mergeWorksheetSnapshotWithDefault']({'rowCount':Math['max'](_0xaebd85[_0x5cba87(0x117)],_0x427f76+0xa),'columnCount':Math[_0x5cba87(0x1d0)](_0xaebd85['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x3ad95d+0x5)}),_0x26a513=_0xfa7a12[_0x5cba87(0x185)](_0xaebd85[_0x5cba87(0x215)]);_0x8bbf41['id']=_0xaebd85[_0x5cba87(0x8f)](),_0x8bbf41[_0x5cba87(0x113)]=_0x2e338e['generateNewSheetName'](''+_0x26a513['t'](_0x5cba87(0x36d)));const _0x2c2e11={'index':_0x3f86da,'sheet':_0x8bbf41,'unitId':_0x2e680d},_0x3d2644=_0x401092['InsertSheetUndoMutationFactory'](_0xfa7a12,_0x2c2e11);_0x51aeb0[_0x5cba87(0x373)]({'id':_0x401092['InsertSheetMutation']['id'],'params':_0x2c2e11}),_0x4e8dcb[_0x5cba87(0x373)]({'id':_0x401092[_0x5cba87(0x1a1)]['id'],'params':_0x3d2644}),_0x51aeb0[_0x5cba87(0x373)]({'id':_0x401092[_0x5cba87(0x11d)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id'],'cellValue':_0x247411}}),_0x4e8dcb[_0x5cba87(0x139)]({'id':_0x401092[_0x5cba87(0x11d)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id'],'cellValue':_0x11010c}});const _0x5226d4={'startRow':0x0,'startColumn':0x0,'endRow':_0x547397-0x1,'endColumn':_0x4bc49d};_0x51aeb0['push']({'id':_0x40f4c0[_0x5cba87(0xb2)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id'],'range':_0x5226d4}}),_0x4e8dcb[_0x5cba87(0x139)]({'id':_0x40f4c0[_0x5cba87(0x291)]['id'],'params':{'unitId':_0x2e680d,'subUnitId':_0x8bbf41['id']}});const _0x3ad2c5=_0xfa7a12[_0x5cba87(0x185)](_0xaebd85[_0x5cba87(0x2f7)]);return _0xaebd85[_0x5cba87(0x135)](_0x51aeb0,_0x3ad2c5)&&_0xfa7a12['get'](_0xaebd85['IUndoRedoService'])[_0x5cba87(0x14b)]({'unitID':_0x2e680d,'undoMutations':_0x4e8dcb,'redoMutations':_0x51aeb0}),!0x0;}},_0xb8ed75={'type':_0xaebd85[_0x45f501(0x322)]['COMMAND'],'id':_0x45f501(0x3ab),async 'handler'(_0x31cec7,_0x3e8b4f){const _0x218b76=_0x45f501;if(!_0x3e8b4f)return!0x1;const _0x405291=_0x31cec7['get'](_0xaebd85['ICommandService']),_0x579174=_0x31cec7[_0x218b76(0x185)](_0x5bc0f5[_0x218b76(0x252)]),_0x33e6de=_0x31cec7[_0x218b76(0x185)](_0xaebd85[_0x218b76(0x361)]),{pivotTableId:_0x102e38,fieldIds:_0x4620d7,unitId:_0x2c4cb3,subUnitId:_0x488b3b}=_0x3e8b4f,_0x2eea33=(await _0x579174[_0x218b76(0x12c)]({'unitId':_0x2c4cb3,'subUnitId':_0x488b3b,'pivotTableId':_0x102e38,'params':{'type':_0x240b92[_0x218b76(0x2ef)],'removePivotField':{'fieldIds':_0x4620d7}}}))['result']['removePivotField'];if(!_0x2eea33)return!0x1;const {view:_0x2b1cdd,changesets:_0x24d110,isEmpty:_0x50ea86,pivotTableConfig:_0x257b5a}=_0x2eea33,_0x1809dd=_0x257b5a[_0x218b76(0x22f)],_0x5cc53c=new _0x7d04ba['PivotView']();_0x5cc53c[_0x218b76(0x1e6)](_0x2b1cdd);const _0x8b05b5={'cellInfo':_0x1809dd,'view':_0x5cc53c,'isEmpty':_0x50ea86};if(!await _0x31cec7[_0x218b76(0x185)](_0x5bc0f5['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x33c707)(!0x0,_0x8b05b5))return!0x1;const _0x192555=_0x42c249(_0x31cec7,_0x5cc53c,_0x1809dd,_0x50ea86),_0x60a346=_0x3338fa(_0x31cec7,_0x8b05b5),{redos:_0x416a6b,undos:_0x40756d}=_0x57b20d(_0x405291,{'pivotTableId':_0x102e38,'unitId':_0x2c4cb3,'subUnitId':_0x488b3b},_0x24d110);return _0xaebd85[_0x218b76(0x135)]([..._0x192555[_0x218b76(0xfd)],..._0x60a346['redos'],..._0x416a6b],_0x405291),_0x33e6de[_0x218b76(0x14b)]({'unitID':_0x2c4cb3,'redoMutations':[..._0x192555[_0x218b76(0xfd)],..._0x60a346[_0x218b76(0xfd)],..._0x416a6b],'undoMutations':[..._0x192555[_0x218b76(0x301)],..._0x60a346[_0x218b76(0x301)],..._0x40756d]}),!0x0;}},_0xa27cd3={'type':_0xaebd85['CommandType']['COMMAND'],'id':_0x45f501(0x1ce),async 'handler'(_0x1c13d4,_0x389f41){const _0x211163=_0x45f501;var _0x128a48;const _0x26f6eb=_0x1c13d4[_0x211163(0x185)](_0xaebd85[_0x211163(0x2f7)]),_0xa66871=_0x1c13d4[_0x211163(0x185)](_0x5bc0f5[_0x211163(0x252)]),_0x1bbf93=_0x1c13d4[_0x211163(0x185)](_0x5bc0f5[_0x211163(0x1c3)]),_0x3b89ac=_0x1c13d4['get'](_0xaebd85[_0x211163(0x182)]),_0x74aa9b=_0x1c13d4[_0x211163(0x185)](_0xaebd85[_0x211163(0x361)]);if(!_0x389f41)return!0x1;const {unitId:_0x1b2274,subUnitId:_0x3bbfd7,row:_0x49994c,col:_0xfcee8f,collapse:_0x3dc65a}=_0x389f41,_0x1edeca=_0x3b89ac[_0x211163(0x357)](_0x1b2274);if(!_0x1edeca||!_0x1edeca[_0x211163(0x318)](_0x3bbfd7))return!0x1;const _0x4c1f96=_0x1bbf93['getPivotTableIdByCell'](_0x1b2274,_0x3bbfd7,_0x49994c,_0xfcee8f);if(!_0x4c1f96)return!0x1;const _0x5ccca7=_0x1bbf93['getPivotItemRenderInfoCache'](_0x1b2274,_0x3bbfd7,_0x4c1f96);if(!_0x5ccca7)return!0x1;const _0x2f8b56=_0xaebd85[_0x211163(0x3b5)](_0x49994c,_0xfcee8f),{rangesInfo:_0x3cc290,areaInfo:_0x3ed553,headerMap:_0x4549ef}=_0x5ccca7;if(!_0x3cc290||!_0x3ed553||!_0x4549ef)return!0x1;const _0x53f04c=Object[_0x211163(0x374)](_0x3cc290)['find'](_0x33f328=>_0x3cc290[_0x33f328][_0x211163(0x263)](_0x4797d7=>_0xaebd85['Rectangle'][_0x211163(0x112)](_0x4797d7,_0x2f8b56)));let _0x2e24b2;_0x53f04c===_0x211163(0x1a9)?_0x2e24b2=_0x4549ef[_0x211163(0x1aa)][_0xfcee8f]:_0x53f04c===_0x211163(0x30f)&&(_0x2e24b2=_0x4549ef[_0x211163(0x133)][_0x49994c]);const _0xa4fa9=_0x2e24b2==null?void 0x0:_0x2e24b2['tableFieldId'],_0x538283=(_0x128a48=_0x1bbf93[_0x211163(0x218)](_0x1b2274,_0x3bbfd7,_0x49994c,_0xfcee8f))==null?void 0x0:_0x128a48['v'];if(_0x538283==null||!_0x4c1f96||!_0xa4fa9)return!0x1;const _0x30fa36=await _0xa66871[_0x211163(0x12c)]({'unitId':_0x1b2274,'subUnitId':_0x3bbfd7,'pivotTableId':_0x4c1f96,'params':{'type':_0x240b92[_0x211163(0x221)],'setPivotCollapse':{'tableFieldId':_0xa4fa9,'collapse':_0x3dc65a,'item':_0x538283}}}),_0x39bab9=_0x30fa36==null?void 0x0:_0x30fa36['result'][_0x211163(0x1d1)];if(!_0x39bab9)return!0x1;const {view:_0x3c6b52,pivotTableConfig:_0x279f94,isEmpty:_0x2fecde,changesets:_0x584875}=_0x39bab9,_0x5e3531=new _0x7d04ba[(_0x211163(0x253))]();_0x5e3531[_0x211163(0x1e6)](_0x3c6b52);const _0x356235=_0x279f94[_0x211163(0x22f)],_0x441a0a={'cellInfo':_0x356235,'view':_0x5e3531,'isEmpty':_0x2fecde};if(!await _0x1c13d4[_0x211163(0x185)](_0x5bc0f5[_0x211163(0x37f)])[_0x211163(0x235)][_0x211163(0x1cd)](_0x33c707)(!0x0,_0x441a0a))return!0x1;const _0xa37c9e=_0x42c249(_0x1c13d4,_0x5e3531,_0x356235,_0x2fecde),_0x4cb56b=_0x3338fa(_0x1c13d4,_0x441a0a),{redos:_0x34de7b,undos:_0xe99228}=_0x57b20d(_0x26f6eb,{'pivotTableId':_0x4c1f96,'unitId':_0x1b2274,'subUnitId':_0x3bbfd7},_0x584875);return _0xaebd85[_0x211163(0x135)]([..._0xa37c9e[_0x211163(0xfd)],..._0x4cb56b['redos'],..._0x34de7b],_0x26f6eb),_0x74aa9b['pushUndoRedo']({'unitID':_0x1b2274,'redoMutations':[..._0xa37c9e[_0x211163(0xfd)],..._0x4cb56b[_0x211163(0xfd)],..._0x34de7b],'undoMutations':[..._0xa37c9e[_0x211163(0x301)],..._0x4cb56b[_0x211163(0x301)],..._0xe99228]}),!0x0;}},_0x14e82c={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x10b),async 'handler'(_0x4704b9,_0x16344c){const _0x3696af=_0x45f501;if(!_0x16344c)return!0x1;const _0x1006e2=_0x4704b9['get'](_0xaebd85[_0x3696af(0x2f7)]),{pivotTableId:_0x11d179,tableFieldId:_0x434095,items:_0x723564,unitId:_0x386d12,subUnitId:_0x3fd085,isAll:_0xa73667}=_0x16344c,_0x12260f=_0x4704b9[_0x3696af(0x185)](_0x5bc0f5[_0x3696af(0x252)]),_0x811517=_0x4704b9[_0x3696af(0x185)](_0xaebd85['IUndoRedoService']),_0x1f7463=(await _0x12260f['getPivotDisplayConfig']({'unitId':_0x386d12,'subUnitId':_0x3fd085,'pivotTableId':_0x11d179,'params':{'type':_0x240b92[_0x3696af(0x315)],'setPivotFilter':{'tableFieldId':_0x434095,'items':_0x723564,'isAll':_0xa73667}}}))[_0x3696af(0x30b)][_0x3696af(0x160)];if(!_0x1f7463)return!0x1;const {changesets:_0x43a767,pivotTableConfig:_0x1046b5,isEmpty:_0x34b964,view:_0x5c0eef}=_0x1f7463,_0xe9cb88=_0x1046b5['targetCellInfo'],_0x5ccbd3=new _0x7d04ba[(_0x3696af(0x253))]();_0x5ccbd3['formJSON'](_0x5c0eef);const _0x491fee={'cellInfo':_0xe9cb88,'view':_0x5ccbd3,'isEmpty':_0x34b964};if(!await _0x4704b9[_0x3696af(0x185)](_0x5bc0f5[_0x3696af(0x37f)])['asyncInterceptor'][_0x3696af(0x1cd)](_0x33c707)(!0x0,_0x491fee))return!0x1;const _0x56a545=_0x42c249(_0x4704b9,_0x5ccbd3,_0xe9cb88,_0x34b964),_0x449055=_0x3338fa(_0x4704b9,_0x491fee),{undos:_0x5f0990,redos:_0x4911a7}=_0x57b20d(_0x1006e2,{'pivotTableId':_0x11d179,'unitId':_0x386d12,'subUnitId':_0x3fd085},_0x43a767);return _0xaebd85[_0x3696af(0x135)]([..._0x56a545[_0x3696af(0xfd)],..._0x449055[_0x3696af(0xfd)],..._0x4911a7],_0x1006e2),_0x811517[_0x3696af(0x14b)]({'unitID':_0x386d12,'redoMutations':[..._0x56a545[_0x3696af(0xfd)],..._0x449055[_0x3696af(0xfd)],..._0x4911a7],'undoMutations':[..._0x56a545[_0x3696af(0x301)],..._0x449055[_0x3696af(0x301)],..._0x5f0990]}),!0x0;}},_0x42da59={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x495e01,_0x317c16){const _0x49b880=_0x45f501;if(!_0x317c16)return!0x1;const _0x7934d8=_0x495e01['get'](_0xaebd85[_0x49b880(0x2f7)]),_0x3b5336=_0x495e01[_0x49b880(0x185)](_0xaebd85[_0x49b880(0x361)]),_0x3b19df=_0x495e01[_0x49b880(0x185)](_0x5bc0f5[_0x49b880(0x252)]),{info:_0x4f48c7,tableFieldId:_0x2671c4,pivotTableId:_0x18e2f8,unitId:_0x445a82,subUnitId:_0x53312e}=_0x317c16,_0x3d9ea8=(await _0x3b19df['getPivotDisplayConfig']({'unitId':_0x445a82,'subUnitId':_0x53312e,'pivotTableId':_0x18e2f8,'params':{'type':_0x240b92['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x2671c4,'info':_0x4f48c7}}}))['result'][_0x49b880(0x2f0)];if(!_0x3d9ea8)return!0x1;const {changesets:_0x4ceffe}=_0x3d9ea8,{redos:_0x3b5729,undos:_0x1f989d}=_0x57b20d(_0x7934d8,{'pivotTableId':_0x18e2f8,'unitId':_0x445a82,'subUnitId':_0x53312e},_0x4ceffe);return _0xaebd85[_0x49b880(0x135)](_0x3b5729,_0x7934d8),_0x3b5336['pushUndoRedo']({'unitID':_0x445a82,'redoMutations':_0x3b5729,'undoMutations':_0x1f989d}),!0x0;}},_0xf31997={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x15a),async 'handler'(_0x385ddf,_0x2193d3){const _0x519090=_0x45f501;if(!_0x2193d3)return!0x1;const _0x96e7cc=_0x385ddf[_0x519090(0x185)](_0xaebd85[_0x519090(0x2f7)]),_0x47e896=_0x385ddf[_0x519090(0x185)](_0xaebd85[_0x519090(0x361)]),_0x92cd80=_0x385ddf[_0x519090(0x185)](_0x5bc0f5['SheetsPivotRPCService']),{displayName:_0x2b393c,subtotalType:_0x18dff9,format:_0x11506c,tableFieldId:_0xba7c4,pivotTableId:_0x278e6b,unitId:_0x31c208,subUnitId:_0x5e256b}=_0x2193d3,_0xd30d03=(await _0x92cd80[_0x519090(0x12c)]({'unitId':_0x31c208,'subUnitId':_0x5e256b,'pivotTableId':_0x278e6b,'params':{'type':_0x240b92[_0x519090(0x214)],'setPivotSetting':{'tableFieldId':_0xba7c4,'displayName':_0x2b393c,'subtotalType':_0x18dff9,'format':_0x11506c}}}))[_0x519090(0x30b)][_0x519090(0x1d5)];if(!_0xd30d03)return!0x1;const {changesets:_0x3b577e,view:_0x59fe9e,pivotTableConfig:_0x57d147,isEmpty:_0x58c93d}=_0xd30d03,_0x4643cc=_0x57d147['targetCellInfo'],_0xfd1799=new _0x7d04ba[(_0x519090(0x253))]();_0xfd1799['formJSON'](_0x59fe9e);const _0x334890={'cellInfo':_0x4643cc,'view':_0xfd1799,'isEmpty':_0x58c93d};if(!await _0x385ddf[_0x519090(0x185)](_0x5bc0f5['SheetsPivotTableService'])[_0x519090(0x235)][_0x519090(0x1cd)](_0x33c707)(!0x0,_0x334890))return!0x1;const _0x45c71f=_0x42c249(_0x385ddf,_0xfd1799,_0x4643cc,_0x58c93d),_0x2bdc79=_0x3338fa(_0x385ddf,_0x334890),{undos:_0x383afe,redos:_0x3a5dc0}=_0x57b20d(_0x96e7cc,{'pivotTableId':_0x278e6b,'unitId':_0x31c208,'subUnitId':_0x5e256b},_0x3b577e);return _0xaebd85[_0x519090(0x135)]([..._0x45c71f[_0x519090(0xfd)],..._0x2bdc79['redos'],..._0x3a5dc0],_0x96e7cc),_0x47e896[_0x519090(0x14b)]({'unitID':_0x31c208,'redoMutations':[..._0x45c71f['redos'],..._0x2bdc79[_0x519090(0xfd)],..._0x3a5dc0],'undoMutations':[..._0x45c71f['undos'],..._0x2bdc79['undos'],..._0x383afe]}),!0x0;}},_0xff983e={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x2da5b3,_0x5b4d54){const _0x434812=_0x45f501,_0x286d8=_0x2da5b3[_0x434812(0x185)](_0xaebd85[_0x434812(0x2f7)]),_0x41af17=_0x2da5b3[_0x434812(0x185)](_0x5bc0f5[_0x434812(0x252)]),_0xc3f551=_0x2da5b3['get'](_0xaebd85[_0x434812(0x361)]);if(!_0x5b4d54)return!0x1;const {token:_0xf2baf0,dataRangeInfo:_0x25a45f,unitId:_0x577a58,subUnitId:_0x4f25d9}=_0x5b4d54,_0x38da12=[],_0x2324dd=[],_0x36c3a2=(await _0x41af17[_0x434812(0x12c)]({'unitId':_0x577a58,'subUnitId':_0x4f25d9,'pivotTableId':_0xf2baf0,'params':{'type':_0x240b92[_0x434812(0x149)],'updatePivotSource':{'dataRangeInfo':_0x25a45f,'unitId':_0x577a58,'subUnitId':_0x4f25d9}}}))['result']['updatePivotSource'];if(!_0x36c3a2)return!0x1;const {changesets:_0x2896a1,deleteIds:_0x53374f,collectionConfig:_0x12b2c3,oldCollectionConfig:_0x388eab,view:_0x47fa72,isEmpty:_0x2e8ddb,pivotTableConfig:_0x5627e1}=_0x36c3a2;_0x2324dd[_0x434812(0x373)]({'id':_0x385c03['id'],'params':{'pivotTableId':_0xf2baf0,'deleteIds':_0x53374f,'collectionJSON':_0x12b2c3,'dataRangeInfo':_0x25a45f,'unitId':_0x577a58,'subUnitId':_0x4f25d9}}),_0x38da12['unshift']({'id':_0x385c03['id'],'params':{'pivotTableId':_0xf2baf0,'deleteIds':[],'collectionJSON':_0x388eab,'dataRangeInfo':_0x5627e1[_0x434812(0x206)],'unitId':_0x577a58,'subUnitId':_0x4f25d9}});const _0x49f626=_0x5627e1[_0x434812(0x22f)],_0x37c20a=new _0x7d04ba['PivotView']();_0x37c20a[_0x434812(0x1e6)](_0x47fa72);const _0x33f6ed={'cellInfo':_0x49f626,'view':_0x37c20a,'isEmpty':_0x2e8ddb};if(!await _0x2da5b3['get'](_0x5bc0f5['SheetsPivotTableService'])[_0x434812(0x235)][_0x434812(0x1cd)](_0x33c707)(!0x0,_0x33f6ed))return!0x1;const _0x32701a=_0x42c249(_0x2da5b3,_0x37c20a,_0x49f626,_0x2e8ddb),_0x1d794e=_0x3338fa(_0x2da5b3,_0x33f6ed),{undos:_0x8f36d5,redos:_0x623570}=_0x57b20d(_0x286d8,{'pivotTableId':_0xf2baf0,'unitId':_0x577a58,'subUnitId':_0x4f25d9},_0x2896a1);return _0xaebd85['sequenceExecute']([..._0x32701a[_0x434812(0xfd)],..._0x1d794e[_0x434812(0xfd)],..._0x2324dd,..._0x8f36d5],_0x286d8),_0xc3f551[_0x434812(0x14b)]({'unitID':_0x577a58,'redoMutations':[..._0x32701a[_0x434812(0xfd)],..._0x1d794e['redos'],..._0x2324dd,..._0x8f36d5],'undoMutations':[..._0x32701a[_0x434812(0x301)],..._0x1d794e[_0x434812(0x301)],..._0x38da12,..._0x623570]}),!0x0;}},_0x25ca2c={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x365),async 'handler'(_0x15846a,_0x1ab2fa){const _0x3f6f36=_0x45f501;if(!_0x1ab2fa)return!0x1;const _0x1d518c=_0x15846a[_0x3f6f36(0x185)](_0xaebd85['ICommandService']),_0x506d68=_0x15846a['get'](_0x5bc0f5[_0x3f6f36(0x252)]),_0x5337b3=_0x15846a['get'](_0xaebd85['IUniverInstanceService']),_0x23c12e=_0x15846a['get'](_0xaebd85[_0x3f6f36(0x361)]),{pivotTableId:_0x183045,position:_0x3ce946,index:_0x11ce72}=_0x1ab2fa,_0x37bf15=_0x401092['getSheetCommandTarget'](_0x5337b3);if(!_0x37bf15)return!0x1;const {unitId:_0x5cca27,subUnitId:_0x5dc4cb}=_0x37bf15,_0xea619=(await _0x506d68[_0x3f6f36(0x12c)]({'unitId':_0x5cca27,'subUnitId':_0x5dc4cb,'pivotTableId':_0x183045,'params':{'type':_0x240b92['UpdateValuePosition'],'updateValuePosition':{'position':_0x3ce946,'index':_0x11ce72}}}))[_0x3f6f36(0x30b)]['updateValuePosition'];if(!_0xea619)return!0x1;const {changesets:_0x1d462a,view:_0x2b18a6,isEmpty:_0x1b8b8b,pivotTableConfig:_0xc173e1}=_0xea619,_0x3da91b=_0xc173e1[_0x3f6f36(0x22f)],_0x325174=new _0x7d04ba[(_0x3f6f36(0x253))]();_0x325174[_0x3f6f36(0x1e6)](_0x2b18a6);const _0x37415f=_0x15846a['get'](_0x5bc0f5[_0x3f6f36(0x37f)]),_0x5d7885={'cellInfo':_0x3da91b,'view':_0x325174,'isEmpty':_0x1b8b8b};if(!await _0x37415f[_0x3f6f36(0x235)][_0x3f6f36(0x1cd)](_0x33c707)(!0x0,_0x5d7885))return!0x1;const _0x3b8f4a=_0x42c249(_0x15846a,_0x325174,_0x3da91b,_0x1b8b8b),_0xfd94b7=_0x3338fa(_0x15846a,_0x5d7885),{undos:_0x454076,redos:_0x21222e}=_0x57b20d(_0x1d518c,{'pivotTableId':_0x183045,'unitId':_0x5cca27,'subUnitId':_0x5dc4cb},_0x1d462a);return _0xaebd85['sequenceExecute']([..._0x3b8f4a['redos'],..._0xfd94b7[_0x3f6f36(0xfd)],..._0x21222e],_0x1d518c),_0x23c12e[_0x3f6f36(0x14b)]({'unitID':_0x5cca27,'redoMutations':[..._0x3b8f4a[_0x3f6f36(0xfd)],..._0xfd94b7[_0x3f6f36(0xfd)],..._0x21222e],'undoMutations':[..._0x3b8f4a[_0x3f6f36(0x301)],..._0xfd94b7[_0x3f6f36(0x301)],..._0x454076]}),!0x0;}},_0x42ba20={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x279),'handler':(_0x491470,_0x51a749)=>{const _0x26b31c=_0x45f501,_0x219987=_0x491470[_0x26b31c(0x185)](_0xaebd85[_0x26b31c(0x2f7)]),_0x3f02ed=_0x491470[_0x26b31c(0x185)](_0xaebd85[_0x26b31c(0x361)]),_0x668ac1=_0x491470['get'](_0x5bc0f5[_0x26b31c(0x2c9)]),_0xcbe718=_0x491470[_0x26b31c(0x185)](_0xaebd85[_0x26b31c(0x182)]);if(!_0x51a749)return!0x1;const _0x5e8482=_0x401092['getSheetCommandTarget'](_0xcbe718);if(!_0x5e8482)return!0x1;const {unitId:_0x38c3e6,subUnitId:_0x549032,workbook:_0x2d2669}=_0x5e8482,_0x52daf0=_0x668ac1[_0x26b31c(0x21f)](_0x51a749[_0x26b31c(0xeb)][_0x26b31c(0x20d)],_0x51a749[_0x26b31c(0xeb)]['subUnitId'],_0x51a749['pivotTableId']);if(!_0x52daf0)return!0x1;const _0x5b7e5e=_0x2d2669[_0x26b31c(0x318)](_0x51a749[_0x26b31c(0x22f)][_0x26b31c(0x15b)]);if(!_0x5b7e5e)throw new Error(_0x26b31c(0x33d));const _0x51bd9c=_0x5b7e5e[_0x26b31c(0x16e)](),_0x5c662f=_0x5b7e5e[_0x26b31c(0x31a)]();if(_0x51a749[_0x26b31c(0x22f)][_0x26b31c(0x2e0)]>_0x51bd9c||_0x51a749[_0x26b31c(0x22f)]['col']>_0x5c662f)throw new Error(_0x26b31c(0x1e0));const _0x31f99f=[{'id':_0x5e1c2b['id'],'params':{'unitId':_0x38c3e6,'subUnitId':_0x51a749[_0x26b31c(0x22f)]['subUnitId'],'pivotTableId':_0x51a749['pivotTableId'],'targetCellPosition':{'row':_0x51a749[_0x26b31c(0x22f)][_0x26b31c(0x2e0)],'col':_0x51a749['targetCellInfo']['col']}}}],_0x38ed85=[{'id':_0x5e1c2b['id'],'params':{'unitId':_0x38c3e6,'subUnitId':_0x549032,'pivotTableId':_0x51a749[_0x26b31c(0xe2)],'targetCellPosition':{'row':_0x52daf0['targetCellInfo'][_0x26b31c(0x2e0)],'col':_0x52daf0[_0x26b31c(0x22f)][_0x26b31c(0x180)]}}}];return _0xaebd85[_0x26b31c(0x135)](_0x31f99f,_0x219987)&&_0x3f02ed['pushUndoRedo']({'unitID':_0x38c3e6,'undoMutations':_0x38ed85,'redoMutations':_0x31f99f}),!0x0;}},_0x313c58={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x359),async 'handler'(_0x2538ee,_0xf09aca){const _0x47583d=_0x45f501;if(!_0xf09aca)return!0x1;const _0x2ce2e7=_0x2538ee[_0x47583d(0x185)](_0xaebd85[_0x47583d(0x2f7)]),{pivotTableId:_0x4befdc,fieldId:_0x1e85a5,valueFilterInfo:_0x21f555,unitId:_0x24166f,subUnitId:_0x1927e7}=_0xf09aca,_0x43f60e=_0x2538ee[_0x47583d(0x185)](_0x5bc0f5[_0x47583d(0x252)]),_0x23dc19=_0x2538ee[_0x47583d(0x185)](_0xaebd85[_0x47583d(0x361)]),_0x2b5133=(await _0x43f60e['getPivotDisplayConfig']({'unitId':_0x24166f,'subUnitId':_0x1927e7,'pivotTableId':_0x4befdc,'params':{'type':_0x240b92[_0x47583d(0x13d)],'setValuePivotFilter':{'tableFieldId':_0x1e85a5,'filterInfo':_0x21f555}}}))['result'][_0x47583d(0x90)];if(!_0x2b5133)return!0x1;const {changesets:_0x4fd937,pivotTableConfig:_0x1179c2,isEmpty:_0x4e57be,view:_0x44f6e1}=_0x2b5133,_0x1c6f0b=_0x1179c2[_0x47583d(0x22f)],_0x32802b=new _0x7d04ba['PivotView']();_0x32802b[_0x47583d(0x1e6)](_0x44f6e1);const _0x393faf={'cellInfo':_0x1c6f0b,'view':_0x32802b,'isEmpty':_0x4e57be};if(!await _0x2538ee[_0x47583d(0x185)](_0x5bc0f5['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x33c707)(!0x0,_0x393faf))return!0x1;const _0x3a45bd=_0x42c249(_0x2538ee,_0x32802b,_0x1c6f0b,_0x4e57be),_0x5c41bb=_0x3338fa(_0x2538ee,_0x393faf),{undos:_0x3ebf8f,redos:_0x22f5b1}=_0x57b20d(_0x2ce2e7,{'pivotTableId':_0x4befdc,'unitId':_0x24166f,'subUnitId':_0x1927e7},_0x4fd937);return _0xaebd85[_0x47583d(0x135)]([..._0x3a45bd['redos'],..._0x5c41bb[_0x47583d(0xfd)],..._0x22f5b1],_0x2ce2e7),_0x23dc19[_0x47583d(0x14b)]({'unitID':_0x24166f,'redoMutations':[..._0x3a45bd[_0x47583d(0xfd)],..._0x5c41bb[_0x47583d(0xfd)],..._0x22f5b1],'undoMutations':[..._0x3a45bd['undos'],..._0x5c41bb[_0x47583d(0x301)],..._0x3ebf8f]}),!0x0;}},_0x1f2204={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0x157),async 'handler'(_0x130ccb,_0x4675d1){const _0x447940=_0x45f501;if(!_0x4675d1)return!0x1;const _0x5258bf=_0x130ccb[_0x447940(0x185)](_0xaebd85[_0x447940(0x2f7)]),_0xab49fa=_0x130ccb[_0x447940(0x185)](_0xaebd85[_0x447940(0x361)]),_0x19fbb7=_0x130ccb[_0x447940(0x185)](_0x5bc0f5[_0x447940(0x252)]),{pivotTableConfig:_0x1b41af,pivotTableId:_0x496c4a,unitId:_0x666c26,subUnitId:_0xb161fd}=_0x4675d1,_0x40583a=(await _0x19fbb7[_0x447940(0x12c)]({'unitId':_0x666c26,'subUnitId':_0xb161fd,'pivotTableId':_0x496c4a,'params':{'type':_0x240b92[_0x447940(0x356)],'setPivotTableConfig':{'pivotTableId':_0x496c4a,'pivotTableConfig':_0x1b41af}}}))[_0x447940(0x30b)][_0x447940(0x2fb)];if(!_0x40583a)return!0x1;const {changesets:_0x4c7c02}=_0x40583a,{redos:_0xa124ac,undos:_0x1ab7f7}=_0x57b20d(_0x5258bf,{'pivotTableId':_0x496c4a,'unitId':_0x666c26,'subUnitId':_0xb161fd},_0x4c7c02);return _0xaebd85[_0x447940(0x135)](_0xa124ac,_0x5258bf),_0xab49fa[_0x447940(0x14b)]({'unitID':_0x666c26,'redoMutations':_0xa124ac,'undoMutations':_0x1ab7f7}),!0x0;}},_0x2302e3={'type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x101)],'id':_0x45f501(0xf3),async 'handler'(_0x1df08d,_0x5cdb01){const _0x165f07=_0x45f501;if(!_0x5cdb01)return!0x1;const _0x591ac4=_0x1df08d['get'](_0xaebd85[_0x165f07(0x2f7)]),_0x22e979=_0x1df08d[_0x165f07(0x185)](_0xaebd85[_0x165f07(0x361)]),_0x74706b=_0x1df08d[_0x165f07(0x185)](_0x5bc0f5[_0x165f07(0x252)]),{resetArea:_0x5ea217,pivotTableId:_0x436a4c,unitId:_0x5884ca,subUnitId:_0x31f008}=_0x5cdb01,_0x43e357=(await _0x74706b['getPivotDisplayConfig']({'unitId':_0x5884ca,'subUnitId':_0x31f008,'pivotTableId':_0x436a4c,'params':{'type':_0x240b92['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x436a4c,'resetArea':_0x5ea217}}}))['result'][_0x165f07(0x3a1)];if(!_0x43e357)return!0x1;const {changesets:_0x474a9a}=_0x43e357,{redos:_0x3febe1,undos:_0x5457c5}=_0x57b20d(_0x591ac4,{'pivotTableId':_0x436a4c,'unitId':_0x5884ca,'subUnitId':_0x31f008},_0x474a9a);return _0xaebd85[_0x165f07(0x135)](_0x3febe1,_0x591ac4),_0x22e979['pushUndoRedo']({'unitID':_0x5884ca,'redoMutations':_0x3febe1,'undoMutations':_0x5457c5}),!0x0;}},_0x54034c={'id':'sheet.mutation.update-date-group','type':_0xaebd85[_0x45f501(0x322)][_0x45f501(0x32c)],'handler':(_0x23169a,_0x24ba1e)=>{const _0x2d1854=_0x45f501;if(!_0x24ba1e)return!0x1;if(!!_0x23169a[_0x2d1854(0x185)](_0xaebd85[_0x2d1854(0x223)])[_0x2d1854(0x14a)](_0x5e7272))return!0x0;const {unitId:_0xc7ca15,subUnitId:_0x2723c0,pivotTableId:_0x174a96,tableFieldId:_0x2e084c,dateType:_0xda84b8}=_0x24ba1e,_0x4a3a7a=_0x23169a[_0x2d1854(0x185)](_0x5bc0f5['SheetsPivotDataSourceModel']),_0x5ee6ea=_0x4a3a7a[_0x2d1854(0x93)](_0x174a96);if(!_0x5ee6ea)return!0x1;const _0x271269=_0x5ee6ea[_0x2d1854(0x2b2)](_0x2e084c);if(!_0x271269)return!0x1;const _0x4f6e9c=_0x271269['getOriginFieldId'](),_0x3169e0=_0x5ee6ea[_0x2d1854(0x1d4)](_0x4f6e9c),_0x2d0860=(_0x3169e0==null?void 0x0:_0x3169e0[_0x2d1854(0xdd)]())+'\x20'+_0x419e11(_0x23169a,_0xda84b8);_0x4a3a7a['getCollection'](_0xc7ca15,_0x174a96)['setDisplayName'](_0x271269['id'],_0x2d0860);const _0x5bb7a8=_0x5ee6ea['getTableFieldById'](_0x2e084c);if(!_0x5bb7a8)return!0x1;_0x5ee6ea[_0x2d1854(0x191)](_0x5bb7a8['getId'](),_0x2d0860),_0x271269[_0x2d1854(0x9d)](_0xda84b8);const _0x4c31ad=_0x4a3a7a[_0x2d1854(0x21f)](_0xc7ca15,_0x2723c0,_0x174a96);return _0x4a3a7a[_0x2d1854(0x29f)]({'unitId':_0xc7ca15,'subUnitId':_0x2723c0,'token':_0x174a96,'type':_0x3c03d6[_0x2d1854(0x1b6)],'pivotConfig':_0x4c31ad}),!0x0;}},_0x54bb4a={'id':_0x45f501(0x27d),'type':_0xaebd85['CommandType']['COMMAND'],'handler':(_0x1edbdc,_0x282347)=>{const _0x159b85=_0x45f501;if(!_0x282347)return!0x1;const _0x168b57=_0x1edbdc[_0x159b85(0x185)](_0xaebd85[_0x159b85(0x361)]),{unitId:_0x54b8d8,subUnitId:_0x346d90,pivotTableId:_0x301e5b,tableFieldId:_0x5a9c6d}=_0x282347,_0x1a1db4=[],_0x288e6e=[],_0x541899=_0x1edbdc['get'](_0x5bc0f5[_0x159b85(0x2c9)]),_0x238335=_0x541899[_0x159b85(0x300)](_0x54b8d8,_0x301e5b),_0x33087d=_0x541899[_0x159b85(0x21f)](_0x54b8d8,_0x346d90,_0x301e5b);if(!(_0x33087d!=null&&_0x33087d[_0x159b85(0xbf)][_0x159b85(0xff)]))return!0x1;const _0x9a4186=Object['values'](_0x33087d[_0x159b85(0xbf)][_0x159b85(0xff)])[_0x159b85(0x3b7)](_0x58188d=>_0x58188d['id']===_0x5a9c6d);if(!_0x9a4186)return!0x1;const _0x5ed6f3=_0x9a4186[_0x159b85(0x2f9)];if(!(_0x238335!=null&&_0x238335[_0x159b85(0xa9)]))return!0x1;const _0x3d3b61=Object[_0x159b85(0x176)](_0x238335==null?void 0x0:_0x238335[_0x159b85(0xa9)])[_0x159b85(0x3b7)](_0x55a48d=>_0x55a48d['id']===_0x5ed6f3);if(!_0x3d3b61)return!0x1;_0x7d04ba[_0x159b85(0x15f)](_0x3d3b61)&&_0x1a1db4['push']({'id':_0x54034c['id'],'params':{..._0x282347,'dateType':_0x3d3b61[_0x159b85(0x1f5)]}}),_0x288e6e[_0x159b85(0x373)]({'id':_0x54034c['id'],'params':{..._0x282347}});const _0x19d071=_0x1edbdc[_0x159b85(0x185)](_0xaebd85['ICommandService']);return _0xaebd85[_0x159b85(0x135)](_0x288e6e,_0x19d071)&&_0x168b57['pushUndoRedo']({'unitID':_0x54b8d8,'undoMutations':_0x1a1db4,'redoMutations':_0x288e6e}),!0x0;}};var _0x2a0990=Object['getOwnPropertyDescriptor'],_0x2f1351=(_0x24fcda,_0x2c1800,_0x2bff1e,_0x525444)=>{const _0x2c446a=_0x45f501;for(var _0x4ab659=_0x525444>0x1?void 0x0:_0x525444?_0x2a0990(_0x2c1800,_0x2bff1e):_0x2c1800,_0xdcff60=_0x24fcda[_0x2c446a(0xa8)]-0x1,_0x595842;_0xdcff60>=0x0;_0xdcff60--)(_0x595842=_0x24fcda[_0xdcff60])&&(_0x4ab659=_0x595842(_0x4ab659)||_0x4ab659);return _0x4ab659;},_0x2ca468=(_0x632039,_0x5d8628)=>(_0x1834ae,_0x3d604f)=>_0x5d8628(_0x1834ae,_0x3d604f,_0x632039);const _0x2f3374=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x2323c3=(_0x380821,_0x7724cd,_0x20e5d2)=>{const _0x2b239c=_0x45f501,_0x4777ca=_0x380821[_0x2b239c(0x238)];_0x380821[_0x2b239c(0x1ae)](_0x106e17=>{const _0x2aed84=_0x2b239c,_0x27b434=_0x106e17[_0x2aed84(0x114)](),_0x111cf5=_0x106e17[_0x2aed84(0x2ac)](),_0x86bed0=_0x106e17[_0x2aed84(0x24f)](),_0x4aca43=_0x106e17[_0x2aed84(0x3bd)]();_0x7724cd[_0x111cf5]&&_0x7724cd[_0x111cf5]===_0x4aca43&&_0x86bed0===_0x4aca43&&(_0x380821[_0x2aed84(0x191)](_0x27b434,_0x4777ca[_0x2aed84(0x3bd)](_0x111cf5)),_0x106e17[_0x2aed84(0x16a)](_0x4777ca['getDisplayName'](_0x111cf5)));}),_0x380821[_0x2b239c(0x2da)](_0x7d04ba['PivotTableFiledAreaEnum'][_0x2b239c(0x3a8)],_0x3df5b2=>{const _0x2e93eb=_0x2b239c,_0x1a8f48=_0x3df5b2[_0x2e93eb(0x114)](),_0x4da6a4=_0x3df5b2[_0x2e93eb(0x2ac)](),_0x29c42a=_0x3df5b2[_0x2e93eb(0x24f)](),_0x148315=_0x3df5b2[_0x2e93eb(0x3bd)](),_0xd8ccde=_0x3df5b2['getSubtotal'](),_0x5ecbbc=_0x20e5d2(_0x29c42a,_0xd8ccde);_0x7724cd[_0x4da6a4]&&_0x7724cd[_0x4da6a4]===_0x29c42a&&_0x5ecbbc===_0x148315&&(_0x380821[_0x2e93eb(0x191)](_0x1a8f48,_0x20e5d2(_0x4777ca['getDisplayName'](_0x4da6a4),_0xd8ccde)),_0x3df5b2[_0x2e93eb(0x16a)](_0x4777ca[_0x2e93eb(0x3bd)](_0x4da6a4)));});},_0x135e1f=(_0x1237db,_0x219369,_0x598e23)=>{const _0x504521=_0x45f501;var _0x64e84b,_0x3ad639;const {arrayFormulaCellData:_0x1bfa3f,unitData:_0x16d0b9}=_0x219369,{unitId:_0x403d73,subUnitId:_0x1cf6a9}=_0x598e23,_0x1a0a32=_0x598e23[_0x504521(0xac)],{startColumn:_0x4ea370,endColumn:_0xdcf4bc}=_0x1a0a32,_0x17d3ec=(_0x64e84b=_0x1bfa3f==null?void 0x0:_0x1bfa3f[_0x403d73])==null?void 0x0:_0x64e84b[_0x1cf6a9],_0x24d5b1=(_0x3ad639=_0x16d0b9==null?void 0x0:_0x16d0b9[_0x403d73])==null?void 0x0:_0x3ad639[_0x1cf6a9],_0x5ead0f=new Set(),_0x4368a0=_0xdcf4bc-_0x4ea370+0x1,{dirtyRanges:_0x1b1821}=_0x1237db;if(_0x1b1821)for(const {range:_0x3ee72a,sheetId:_0x4e720b,unitId:_0x347ef4}of _0x1b1821){if(_0x4e720b!==_0x1cf6a9||_0x403d73!==_0x347ef4)continue;const _0x4c7ea6=_0xaebd85[_0x504521(0x1bf)]['getIntersects'](_0x3ee72a,_0x1a0a32);if(_0x4c7ea6){const {startColumn:_0x2d530e,endColumn:_0x327a0c}=_0x4c7ea6;for(let _0xf814d9=_0x2d530e;_0xf814d9<=_0x327a0c;_0xf814d9++)_0x5ead0f[_0x504521(0x328)](_0xf814d9);}}if(_0x5ead0f['size']===_0x4368a0||_0x5ead0f[_0x504521(0x36e)]===_0x4368a0)return Array[_0x504521(0x3a3)](_0x5ead0f);if(_0x24d5b1){const _0x327194=_0x24d5b1['getMatrix'](),_0x44ea22=Object['keys'](_0x327194);for(const _0xc370cc of _0x44ea22){const _0x31dfeb=Number(_0xc370cc),_0x5c0ac9=_0x327194[_0x31dfeb];if(_0x5ead0f['size']===_0x4368a0)break;for(const _0x24c0e5 in _0x5c0ac9){const _0x4d945d=Number(_0x24c0e5);_0x4d945d<_0x4ea370||_0x4d945d>_0xdcf4bc||_0x5ead0f['add'](_0x4d945d);}}}if(_0x17d3ec){const _0x1aa334=_0x17d3ec[_0x504521(0x136)](),_0x14b537=Object[_0x504521(0x374)](_0x1aa334);for(const _0x46432b of _0x14b537){const _0x5b8a5e=Number(_0x46432b),_0x1b648b=_0x1aa334[_0x5b8a5e];if(_0x5ead0f[_0x504521(0x36e)]===_0x4368a0)break;for(const _0x13a4b9 in _0x1b648b){const _0x2c480d=Number(_0x13a4b9);_0x2c480d<_0x4ea370||_0x2c480d>_0xdcf4bc||_0x5ead0f[_0x504521(0x328)](_0x2c480d);}}}return Array['from'](_0x5ead0f);},_0x4943bd=_0x2faaf4=>{const _0x1dadab=_0x45f501,_0xffa229=new Set(),_0x425f3c=[];for(const _0x5801e8 of _0x2faaf4){const _0x3132e8=_0x5801e8['startRow']+','+_0x5801e8[_0x1dadab(0x2fd)]+','+_0x5801e8[_0x1dadab(0x212)]+','+_0x5801e8[_0x1dadab(0x1e3)];_0xffa229[_0x1dadab(0x32d)](_0x3132e8)||(_0xffa229[_0x1dadab(0x328)](_0x3132e8),_0x425f3c[_0x1dadab(0x373)](_0x5801e8));}return _0x425f3c;};let _0x2f9c40=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x8c4fde,_0x5bb999,_0x205430,_0x273a73,_0x41525a,_0x263282){const _0x584936=_0x45f501;super(),_0x1f3ba2(this,_0x584936(0xd1),new _0x4c50c4[(_0x584936(0x37e))](!0x0)),_0x1f3ba2(this,'_globalComputedStartHelpFunc',_0xd43b6=>{const _0x131d79=_0x584936;this[_0x131d79(0xd1)]['next'](!0x1);}),_0x1f3ba2(this,_0x584936(0x23e),_0x386717=>{const _0xf89784=_0x584936;this[_0xf89784(0xd1)][_0xf89784(0x369)](!0x0);}),(this[_0x584936(0x2fc)]=_0x8c4fde,this[_0x584936(0x36f)]=_0x5bb999,this[_0x584936(0x1db)]=_0x205430,this['_commandService']=_0x273a73,this[_0x584936(0x37a)]=_0x41525a,this[_0x584936(0x307)]=_0x263282,this['_init'](),this[_0x584936(0x1fa)]());}[_0x45f501(0x1f6)](){const _0x278ed7=_0x45f501;this[_0x278ed7(0x211)](),this['_subjectViewChange'](),this[_0x278ed7(0x1c2)](),this[_0x278ed7(0x2a7)]();}[_0x45f501(0x10d)](){const _0x16e8d5=_0x45f501;this[_0x16e8d5(0x37a)][_0x16e8d5(0x11c)](this['_globalSubject']),_0x7d04ba['PivotTable']['registerCallbackWithEvent'](_0x7d04ba[_0x16e8d5(0xa5)][_0x16e8d5(0x158)],this[_0x16e8d5(0x23c)]),_0x7d04ba[_0x16e8d5(0x1fe)][_0x16e8d5(0x150)](_0x7d04ba[_0x16e8d5(0xa5)]['onQueryEnd'],this[_0x16e8d5(0x23e)]);}[_0x45f501(0x1fa)](){const _0x1bdf3b=_0x45f501;this[_0x1bdf3b(0x280)](this['_commandService'][_0x1bdf3b(0xc1)](_0x30201f=>{const _0x100ead=_0x1bdf3b;_0x30201f['id']===_0x401092[_0x100ead(0x9e)]['id']&&this[_0x100ead(0x2fc)][_0x100ead(0x161)](_0x30201f[_0x100ead(0x140)]);})),this[_0x1bdf3b(0x280)](this['_commandService'][_0x1bdf3b(0xc1)](_0xee26b4=>{const _0xb3d29=_0x1bdf3b;if(_0xee26b4['id']!==_0x5dba1f['id'])return;const _0x33b2ca=_0xee26b4[_0xb3d29(0x140)],{unitId:_0x422a1e,subUnitId:_0x181ef6,pivotTableId:_0x400801}=_0x33b2ca,_0x3bfa0b=_0x33b2ca['params']['type'],_0x4b3652={};switch(_0x3bfa0b){case _0x240b92['Filter']:{const _0x1e493f=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0xc6)];if(!_0x1e493f)return;const {row:_0x9d25d2,col:_0xf0321c,cellData:_0x3c525e,pivotItemRenderInfoCache:_0x44984a,tableFieldId:_0x4ab851}=_0x1e493f,_0x45e547=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x33b2ca[_0xb3d29(0xe2)]);if(!_0x45e547||!_0x44984a)return;if(_0x4ab851){const _0x128ef4=_0x45e547[_0xb3d29(0x2b2)](_0x4ab851);if(!_0x128ef4)return;_0x4b3652[_0xb3d29(0xc6)]={..._0x45e547[_0xb3d29(0x172)](_0x128ef4),'tableFieldId':_0x4ab851,'pivotTableId':_0x33b2ca[_0xb3d29(0xe2)],'filterInfo':_0x45e547[_0xb3d29(0x2a5)](_0x4ab851),'sortInfo':_0x45e547['getSortInfo'](_0x4ab851),'format':_0x45e547[_0xb3d29(0x2af)](_0x4ab851)};}else{const _0x3f11ee=_0x4e5185(_0x9d25d2,_0xf0321c,_0x3c525e,_0x45e547,_0x44984a),_0x1319e1=_0x3f11ee==null?void 0x0:_0x3f11ee[_0xb3d29(0xab)];if(!_0x1319e1)return;const _0x5cb29d=_0x45e547[_0xb3d29(0x2b2)](_0x1319e1);if(!_0x5cb29d)return;_0x4b3652['filter']={..._0x45e547['getDataFieldItemInfo'](_0x5cb29d),'tableFieldId':_0x1319e1,'pivotTableId':_0x33b2ca[_0xb3d29(0xe2)],'filterInfo':_0x45e547[_0xb3d29(0x2a5)](_0x1319e1),'sortInfo':_0x45e547[_0xb3d29(0xe6)](_0x1319e1),'format':_0x45e547[_0xb3d29(0x2af)](_0x1319e1)};}}break;case _0x240b92[_0xb3d29(0x17a)]:{const _0x82a885=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x27a)];if(!_0x82a885)return;const {pivotTableId:_0xb3a22e}=_0x82a885,_0x3b687c=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0xb3a22e);if(!_0x3b687c)return;const _0x2fee24=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0xb3a22e),_0x13ee8d=_0x342f43(_0x3b687c,_0xb3a22e,_0x2fee24);_0x4b3652['panel']=_0x13ee8d;}break;case _0x240b92[_0xb3d29(0x271)]:{const _0xc6df8=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x93)](_0x400801),_0x359ab3=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x10f)](_0x422a1e),_0x4fd62e=_0x359ab3['getCollection'](_0x400801);let _0xc41fd5=null;const _0x3cda13=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801),_0x4b2ac2=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x261)];if(!_0xc6df8||!_0x3cda13||!_0x4b2ac2)return!0x1;const {dataFieldId:_0x125d4c,fieldArea:_0x4de08b,index:_0x1a8a4c}=_0x4b2ac2;_0xc6df8['startCollectChangeset']();const _0x3c7bb1=_0xc6df8[_0xb3d29(0x249)](_0x125d4c,_0x4de08b,_0x1a8a4c);if(_0x3c7bb1&&_0x4de08b===_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x3a8)]){const _0xf34dc7=_0x3c7bb1[_0xb3d29(0x114)](),_0x3939e4=_0xc6df8[_0xb3d29(0x2b2)](_0xf34dc7);if(_0x3939e4){const _0x23dd44=_0x3939e4==null?void 0x0:_0x3939e4[_0xb3d29(0x385)]();_0xc6df8[_0xb3d29(0x34e)](_0x3c7bb1[_0xb3d29(0x114)](),_0x23dd44===_0x7d04ba[_0xb3d29(0x2b9)][_0xb3d29(0x1d8)]?_0x7d04ba[_0xb3d29(0x230)]['sum']:_0x7d04ba['PivotSubtotalTypeEnum']['count']);}const _0x5ed776=_0xc6df8[_0xb3d29(0x2d8)](),_0x501dc9=_0xc6df8['getValuePosition'](),_0x514fc5=_0xc6df8[_0xb3d29(0x1ad)](_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x3a8)]);if(_0x5ed776===-0x1&&_0x514fc5>0x1){const _0xbae4b1=_0x501dc9===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x250)]?_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x164)]:_0x501dc9,_0x3b663c=_0xbae4b1===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0xfb)]?_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0xfb)]:_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x164)];_0xc6df8['updateValuePosition'](_0xbae4b1,_0xc6df8[_0xb3d29(0x1ad)](_0x3b663c));}}else{if(_0x3c7bb1&&(_0x4de08b===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]||_0x4de08b===_0x7d04ba[_0xb3d29(0x39c)]['Column'])){const _0x37e116=_0x3c7bb1[_0xb3d29(0x114)](),_0x2d533a=_0xc6df8[_0xb3d29(0x2b2)](_0x37e116);if(_0x2d533a&&(_0x2d533a==null?void 0x0:_0x2d533a[_0xb3d29(0x385)]())===_0x7d04ba[_0xb3d29(0x2b9)]['date']){const _0x39f7fa=_0x2d533a[_0xb3d29(0x155)]();if(_0x39f7fa&&_0xc6df8['setFieldFormat'](_0x3c7bb1[_0xb3d29(0x114)](),_0x39f7fa),!_0x4fd62e['getFieldIds']()[_0xb3d29(0x263)](_0x22230d=>{const _0x1ae60c=_0xb3d29,_0x4930cd=_0x4fd62e['getFieldById'](_0x22230d);return _0x7d04ba['isDateGroupField'](_0x4930cd)?_0x4930cd[_0x1ae60c(0x38a)]()[_0x1ae60c(0x36b)]===_0x125d4c:!0x1;})){const _0x54d52a=_0x359ab3['createDataFieldId'](),_0x1c65e8=_0xd41ced(_0x2d533a[_0xb3d29(0x390)],_0x2d533a['minDate']),_0x510822=_0x2d533a[_0xb3d29(0xdd)]()+_0xb3d29(0x2cf)+_0x419e11(this[_0xb3d29(0x307)],_0x1c65e8),_0x59926f=new _0x7d04ba[(_0xb3d29(0x3b3))](_0x54d52a,_0x510822,_0x7d04ba[_0xb3d29(0x33a)](0x3),_0x2d533a['getId'](),_0x1c65e8);_0x359ab3['addDataFieldWithoutUnitInfo'](_0x59926f),_0x4fd62e[_0xb3d29(0xc2)](_0x54d52a,_0x510822),_0xc6df8[_0xb3d29(0x249)](_0x54d52a,_0x4de08b,(_0x1a8a4c!=null?_0x1a8a4c:0x0)+0x1),_0xc41fd5=_0x59926f;}}}}const _0x27f023=_0xc6df8[_0xb3d29(0x393)](),_0x40470=_0xc6df8[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)]();let _0x33c8ff;if(_0xc41fd5){_0x33c8ff=_0xc41fd5[_0xb3d29(0x19a)]();const _0x3caeab=_0xc41fd5[_0xb3d29(0x114)]();_0x4fd62e['deleteField'](_0x3caeab);let _0x58eb55=!0x0;for(const _0x5220a2 in _0x359ab3['collections'])if(_0x359ab3[_0xb3d29(0x2ea)][_0x5220a2][_0xb3d29(0xb1)]()[_0xb3d29(0xc4)](_0x3caeab)){_0x58eb55=!0x1;break;}_0x58eb55&&_0x359ab3[_0xb3d29(0xed)](_0x3caeab);}const _0x32b896=_0xc6df8[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x261)]={'view':_0x40470,'changesets':_0x32b896,'isEmpty':_0x27f023,'pivotTableConfig':_0x3cda13,'shouldBeAddedGroupJSON':_0x33c8ff};}break;case _0x240b92[_0xb3d29(0x1c4)]:{const _0xb8c41c=_0x33b2ca['params'][_0xb3d29(0x294)];if(!_0xb8c41c)return;const _0x2d73b2=_0xb8c41c[_0xb3d29(0x206)],_0x37d6c5=_0xb8c41c[_0xb3d29(0xe2)],{collection:_0xc1fc70}=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x3a0)]({'unitId':_0x2d73b2[_0xb3d29(0x20d)],'sheetName':_0x2d73b2['sheetName'],'subUnitId':_0x2d73b2[_0xb3d29(0x15b)],'range':_0x2d73b2[_0xb3d29(0xac)]}),_0x2a3f1d=new _0x7d04ba[(_0xb3d29(0x1fe))](_0xc1fc70,void 0x0,_0x37d6c5),_0x58364e=_0x2a3f1d['query'](),_0x466b28=_0x2a3f1d[_0xb3d29(0x19a)](),_0x5822d2=_0xc1fc70[_0xb3d29(0x19a)]();_0x4b3652['addPivotTable']={'view':_0x58364e,'fieldsConfig':_0x466b28,'collectionConfig':_0x5822d2,'isEmpty':_0x2a3f1d[_0xb3d29(0x393)]()};}break;case _0x240b92['MovePivotField']:{const _0x38e657=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x273)];if(!_0x38e657)return;const {fieldId:_0x6493d,area:_0x463184,index:_0x3abb44}=_0x38e657,_0x4c8323=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x4c8323)return;const _0x339cd8=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x93)](_0x400801);if(!_0x339cd8)return;_0x339cd8['startCollectChangeset']();const {area:_0x31c24e,index:_0x19aee0}=_0x339cd8[_0xb3d29(0x2e8)](_0x6493d);if(_0x339cd8[_0xb3d29(0xc3)](_0x6493d,_0x463184,_0x3abb44),_0x463184===_0x7d04ba['PivotTableFiledAreaEnum']['Value']&&_0x339cd8['getTableFieldById'](_0x6493d)[_0xb3d29(0x1d6)]()===void 0x0){const _0x2588e6=_0x339cd8[_0xb3d29(0x144)](_0x6493d);if(_0x2588e6&&_0x2588e6[_0xb3d29(0x1d6)]()===void 0x0){const _0x2c371d=_0x339cd8['getDataFieldByTableId'](_0x6493d);if(_0x2c371d){const _0x15cb24=_0x2c371d==null?void 0x0:_0x2c371d[_0xb3d29(0x385)]();_0x339cd8['setSubtotalType'](_0x6493d,_0x15cb24===_0x7d04ba[_0xb3d29(0x2b9)][_0xb3d29(0x1d8)]?_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x246)]:_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x380)]);}}}const _0x3aea92=_0x339cd8[_0xb3d29(0x34f)](),_0x5b315e=_0x339cd8[_0xb3d29(0x2d8)](),_0xbb7f0a=_0x339cd8[_0xb3d29(0x1ad)](_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x3a8)])>0x1;if(_0xbb7f0a&&_0x31c24e===_0x463184&&(_0x463184===_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0xfb)]&&_0x3aea92===_0x7d04ba['PivotTableValuePositionEnum']['Row']||_0x463184===_0x7d04ba['PivotTableFiledAreaEnum']['Column']&&_0x3aea92===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x164)])){let _0x5650b1=_0x5b315e;_0x19aee0<=_0x5b315e&&_0x5650b1--,_0x3abb44<=_0x5b315e&&_0x5650b1++,_0x339cd8[_0xb3d29(0xf1)](_0x3aea92,_0x5650b1);}else _0xbb7f0a&&(_0x31c24e===_0x7d04ba[_0xb3d29(0x39c)]['Row']&&_0x3aea92===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0xfb)]||_0x31c24e===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x164)]&&_0x3aea92===_0x7d04ba['PivotTableValuePositionEnum'][_0xb3d29(0x164)])&&_0x5b315e>=_0x19aee0&&_0x339cd8['updateValuePosition'](_0x3aea92,_0x5b315e-0x1),_0xbb7f0a&&(_0x463184===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]&&_0x3aea92===_0x7d04ba['PivotTableValuePositionEnum'][_0xb3d29(0xfb)]||_0x463184===_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x164)]&&_0x3aea92===_0x7d04ba[_0xb3d29(0x2c5)][_0xb3d29(0x164)])&&_0x5b315e>=_0x3abb44&&_0x339cd8[_0xb3d29(0xf1)](_0x3aea92,_0x5b315e+0x1);const _0x309591=_0x339cd8[_0xb3d29(0x25a)](),_0x552675=_0x339cd8[_0xb3d29(0x393)](),_0x5ee9d0=_0x339cd8[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x273)]={'view':_0x309591[_0xb3d29(0x19a)](),'changesets':_0x5ee9d0,'isEmpty':_0x552675,'pivotTableConfig':_0x4c8323};}break;case _0x240b92[_0xb3d29(0x2ef)]:{const _0x32eceb=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x1ab)];if(!_0x32eceb)return;const _0x4e8394=_0x32eceb[_0xb3d29(0x37b)],_0x56204c=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x56204c)return!0x1;const _0x4e6476=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801);if(!_0x4e6476)return!0x1;_0x4e6476[_0xb3d29(0x336)]();for(const _0x13d569 of _0x4e8394){const {area:_0x5c5d74}=_0x4e6476[_0xb3d29(0x2e8)](_0x13d569);_0x5c5d74===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x3a8)]&&_0x4e6476[_0xb3d29(0xbd)](_0x13d569),(_0x5c5d74===_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]||_0x5c5d74===_0x7d04ba[_0xb3d29(0x39c)]['Column'])&&_0x4e6476[_0xb3d29(0x2df)](_0x13d569),_0x4e6476['removeField'](_0x13d569);}const _0x1c212c=_0x4e6476[_0xb3d29(0x393)](),_0x5b67d3=_0x4e6476[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x1f1207=_0x4e6476['endCollectChangeset']();_0x4b3652[_0xb3d29(0x1ab)]={'changesets':_0x1f1207,'pivotTableConfig':_0x56204c,'isEmpty':_0x1c212c,'view':_0x5b67d3};}break;case _0x240b92[_0xb3d29(0x315)]:{const _0x4f898b=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x160)];if(!_0x4f898b)return;const {tableFieldId:_0x7f0c5f,items:_0x5b2584,isAll:_0x4eed8a}=_0x4f898b,_0x41a97c=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x4ae62c=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x41a97c||!_0x4ae62c)return;_0x41a97c['startCollectChangeset'](),_0x41a97c[_0xb3d29(0x19c)](_0x7f0c5f,{'type':_0x7d04ba[_0xb3d29(0x224)]['ManualFilter'],'list':_0x5b2584,'isAll':_0x4eed8a});const _0x50dad0=_0x41a97c[_0xb3d29(0x393)](),_0x1614fa=_0x41a97c['query']()[_0xb3d29(0x19a)](),_0x2c5488=_0x41a97c['endCollectChangeset']();_0x4b3652[_0xb3d29(0x160)]={'view':_0x1614fa,'changesets':_0x2c5488,'isEmpty':_0x50dad0,'pivotTableConfig':_0x4ae62c};}break;case _0x240b92[_0xb3d29(0x13d)]:{const _0x1ff3f2=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x90)];if(!_0x1ff3f2)return;const {tableFieldId:_0x529ce3,filterInfo:_0x3a49bf}=_0x1ff3f2,_0x13d319=this[_0xb3d29(0x2fc)]['getPivotTableInstance'](_0x400801),_0x2f8e14=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x13d319||!_0x2f8e14)return;_0x13d319[_0xb3d29(0x336)](),_0x13d319[_0xb3d29(0x2fe)](_0x529ce3,_0x3a49bf);const _0x808549=_0x13d319['isEmpty'](),_0x19e3e1=_0x13d319[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x25c15d=_0x13d319['endCollectChangeset']();_0x4b3652['setValuePivotFilter']={'view':_0x19e3e1,'changesets':_0x25c15d,'isEmpty':_0x808549,'pivotTableConfig':_0x2f8e14};}break;case _0x240b92[_0xb3d29(0x282)]:{const _0x2f5187=_0x33b2ca['params'][_0xb3d29(0x2f0)];if(!_0x2f5187)return;const {tableFieldId:_0x540e0,info:_0x2bb7f5}=_0x2f5187,_0x5bfeab=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x2d1edd=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x5bfeab||!_0x2d1edd)return;_0x5bfeab[_0xb3d29(0x336)](),_0x5bfeab['setSortInfo'](_0x540e0,_0x2bb7f5);const _0x2b36eb=_0x5bfeab[_0xb3d29(0x393)](),_0x17cbd8=_0x5bfeab[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x54ac62=_0x5bfeab[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x2f0)]={'view':_0x17cbd8,'changesets':_0x54ac62,'isEmpty':_0x2b36eb,'pivotTableConfig':_0x2d1edd};}break;case _0x240b92[_0xb3d29(0x214)]:{const _0xda1803=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x1d5)];if(!_0xda1803)return;const {tableFieldId:_0x2b277d,displayName:_0x2c2c1c,subtotalType:_0x4e9cdf,format:_0x432b64}=_0xda1803,_0x3e1beb=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x184d1b=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x3e1beb||!_0x184d1b)return;_0x3e1beb[_0xb3d29(0x336)](),_0x2c2c1c!==void 0x0&&_0x3e1beb[_0xb3d29(0x191)](_0x2b277d,_0x2c2c1c),_0x4e9cdf!==void 0x0&&_0x3e1beb[_0xb3d29(0x34e)](_0x2b277d,_0x4e9cdf),_0x432b64!==void 0x0&&_0x3e1beb['setFieldFormat'](_0x2b277d,_0x432b64);const _0x1ea987=_0x3e1beb['isEmpty'](),_0x4b5bc1=_0x3e1beb['query']()[_0xb3d29(0x19a)](),_0x53d2a1=_0x3e1beb[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x1d5)]={'changesets':_0x53d2a1,'pivotTableConfig':_0x184d1b,'isEmpty':_0x1ea987,'view':_0x4b5bc1};}break;case _0x240b92[_0xb3d29(0x149)]:{const _0x20a63c=_0x33b2ca['params']['updatePivotSource'];if(!_0x20a63c)return;const {dataRangeInfo:_0x16bd9d,unitId:_0x2ce212,subUnitId:_0x293a74}=_0x20a63c,_0x2e8c6b=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x2ce212,_0x293a74,_0x400801),_0x436ea9=this[_0xb3d29(0x2fc)]['getPivotTableInstance'](_0x400801);if(!this['_sheetsPivotDataSourceModel'][_0xb3d29(0x300)](_0x2ce212,_0x400801)||!_0x436ea9||!_0x2e8c6b)return;const _0x2599a1=this[_0xb3d29(0x2fc)][_0xb3d29(0x382)](_0x2ce212,_0x400801,_0x16bd9d),_0x480772=this[_0xb3d29(0x2fc)][_0xb3d29(0x300)](_0x2ce212,_0x400801)[_0xb3d29(0x19a)](),{collection:_0x1da5c9}=this[_0xb3d29(0x2fc)][_0xb3d29(0x3a0)]({'unitId':_0x16bd9d[_0xb3d29(0x20d)],'sheetName':_0x16bd9d[_0xb3d29(0x13e)],'subUnitId':_0x16bd9d[_0xb3d29(0x15b)],'range':_0x16bd9d[_0xb3d29(0xac)]}),_0x4336f6=_0x1da5c9[_0xb3d29(0x19a)]();_0x436ea9[_0xb3d29(0x336)]();const _0x5b838a=this[_0xb3d29(0x2fc)][_0xb3d29(0x10f)](_0x2ce212)[_0xb3d29(0x199)]()||_0x7d04ba[_0xb3d29(0x327)];_0x436ea9[_0xb3d29(0x388)](_0x1748fd=>{const _0x71495a=_0xb3d29,_0x3ab999=_0x1748fd[_0x71495a(0x2ac)]();if(!_0x1da5c9[_0x71495a(0x2d3)](_0x3ab999)){const _0x5ada6f=_0x1da5c9['getDataFieldBySourceName'](_0x1748fd[_0x71495a(0x24f)]());if(_0x5ada6f){_0x436ea9[_0x71495a(0x27f)](_0x1748fd['getId'](),_0x5ada6f[_0x71495a(0xdd)](),_0x5ada6f[_0x71495a(0x114)]());const {area:_0x3e0b4b}=_0x436ea9[_0x71495a(0x2e8)](_0x1748fd[_0x71495a(0x114)]());let _0xd11f57=_0x1748fd[_0x71495a(0x24f)]();const _0x30a0a6=_0x1748fd[_0x71495a(0x3bd)]();if(_0x3e0b4b===_0x7d04ba[_0x71495a(0x39c)][_0x71495a(0x3a8)]){const _0x43bedb=_0x1748fd[_0x71495a(0x1d6)]();_0xd11f57=_0x5b838a(_0x5ada6f['getName'](),_0x43bedb);}_0x30a0a6!==_0xd11f57&&_0x436ea9[_0x71495a(0x191)](_0x1748fd[_0x71495a(0x114)](),_0xd11f57);}else _0x436ea9[_0x71495a(0x18c)](_0x1748fd['getId']());}});const _0x36feb2=_0x436ea9['isEmpty'](),_0xf6d0e2=_0x436ea9[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x4f1a20=_0x436ea9[_0xb3d29(0xbc)]();_0x4b3652['updatePivotSource']={'view':_0xf6d0e2,'changesets':_0x4f1a20,'isEmpty':_0x36feb2,'pivotTableConfig':_0x2e8c6b,'collectionConfig':_0x4336f6,'oldCollectionConfig':_0x480772,'deleteIds':_0x2599a1};}break;case _0x240b92[_0xb3d29(0x284)]:{const _0x4f47fc=_0x33b2ca[_0xb3d29(0x140)]['updateValuePosition'];if(!_0x4f47fc)return;const {position:_0x37340d,index:_0x125a7e}=_0x4f47fc,_0x2a1d27=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x2a1d27)return!0x1;const _0x133ede=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801);if(!_0x133ede)return!0x1;_0x133ede['startCollectChangeset'](),_0x133ede[_0xb3d29(0xf1)](_0x37340d,_0x125a7e);const _0x170b0e=_0x133ede[_0xb3d29(0x393)](),_0xc85642=_0x133ede[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x2a9153=_0x133ede[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0xf1)]={'changesets':_0x2a9153,'pivotTableConfig':_0x2a1d27,'isEmpty':_0x170b0e,'view':_0xc85642};}break;case _0x240b92[_0xb3d29(0x221)]:{const _0x329e51=_0x33b2ca['params'][_0xb3d29(0x1d1)];if(!_0x329e51)return;const {tableFieldId:_0xe4a3c3,collapse:_0x442bc5,item:_0x438c14}=_0x329e51,_0x92d183=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x93)](_0x400801),_0x4b8eac=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x92d183||!_0x4b8eac)return;_0x92d183[_0xb3d29(0x336)](),_0x92d183['setCollapse'](_0xe4a3c3,_0x442bc5,_0x438c14);const _0x2ea821=_0x92d183['isEmpty'](),_0xbb2e28=_0x92d183[_0xb3d29(0x25a)]()['toJSON'](),_0x578f8f=_0x92d183[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x1d1)]={'view':_0xbb2e28,'isEmpty':_0x2ea821,'pivotTableConfig':_0x4b8eac,'changesets':_0x578f8f};}break;case _0x240b92[_0xb3d29(0x356)]:{const _0x16a3f5=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x2fb)];if(!_0x16a3f5)return;const {pivotTableConfig:_0x5d168c}=_0x16a3f5,_0x1af943=this[_0xb3d29(0x2fc)][_0xb3d29(0x93)](_0x400801),_0x202cae=this['_sheetsPivotDataSourceModel'][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x1af943||!_0x202cae)return;_0x1af943[_0xb3d29(0x336)](),_0x520673(_0x1af943,_0x5d168c);const _0x521117=_0x1af943[_0xb3d29(0x393)](),_0x21559a=_0x1af943[_0xb3d29(0x25a)]()[_0xb3d29(0x19a)](),_0x4b525f=_0x1af943[_0xb3d29(0xbc)]();_0x4b3652['setPivotTableConfig']={'view':_0x21559a,'isEmpty':_0x521117,'pivotTableConfig':{..._0x202cae,'fieldsConfig':_0x1af943[_0xb3d29(0x19a)]()},'changesets':_0x4b525f};}break;case _0x240b92['ResetPivotTable']:{const _0x1a1f2e=_0x33b2ca[_0xb3d29(0x140)][_0xb3d29(0x3a1)];if(!_0x1a1f2e)return;const _0x1173ed=this[_0xb3d29(0x2fc)]['getPivotTableInstance'](_0x400801),_0x324b09=this[_0xb3d29(0x2fc)][_0xb3d29(0x21f)](_0x422a1e,_0x181ef6,_0x400801);if(!_0x1173ed||!_0x324b09)return;_0x1173ed[_0xb3d29(0x336)](),_0x2d7e0c(_0x1173ed,_0x1a1f2e[_0xb3d29(0x331)]);const _0x380db4=_0x1173ed[_0xb3d29(0x25a)]()['toJSON'](),_0xab1b0d=_0x1173ed[_0xb3d29(0xbc)]();_0x4b3652[_0xb3d29(0x3a1)]={'view':_0x380db4,'isEmpty':!0x0,'pivotTableConfig':{..._0x324b09,'fieldsConfig':_0x1173ed[_0xb3d29(0x19a)]()},'changesets':_0xab1b0d};}break;case _0x240b92[_0xb3d29(0x217)]:{const _0x3eb97b=_0x33b2ca['params'][_0xb3d29(0x184)];if(!_0x3eb97b)return;const _0x4136fc=_0x3eb97b[_0xb3d29(0x206)],_0x4f91b6=_0x3eb97b[_0xb3d29(0xe2)],{collection:_0xbcc743}=this[_0xb3d29(0x2fc)][_0xb3d29(0x3a0)]({'unitId':_0x4136fc['unitId'],'sheetName':_0x4136fc[_0xb3d29(0x13e)],'subUnitId':_0x4136fc[_0xb3d29(0x15b)],'range':_0x4136fc[_0xb3d29(0xac)]}),_0x315e3c=new _0x7d04ba[(_0xb3d29(0x1fe))](_0xbcc743,void 0x0,_0x4f91b6),_0x3b7a92=_0xbcc743['getFieldIds'](),{rows:_0x49017b,columns:_0x45a985,filters:_0x3fd844,values:_0x257254}=_0x3eb97b[_0xb3d29(0x288)];_0x315e3c[_0xb3d29(0x336)]();for(const {field:_0x5bd43f,selectedItems:_0x2bf4f5}of _0x49017b||[]){const _0x13a269=_0x3b7a92[_0x5bd43f];if(_0x13a269){const _0x132579=_0x315e3c[_0xb3d29(0x249)](_0x13a269,_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0xfb)]);_0x2bf4f5&&_0x132579&&_0x315e3c[_0xb3d29(0x19c)](_0x132579[_0xb3d29(0x114)](),{'type':_0x7d04ba[_0xb3d29(0x224)][_0xb3d29(0x119)],'list':_0x2bf4f5,'isAll':!0x1});}}for(const {field:_0x2975fe,selectedItems:_0x4f4f2f}of _0x45a985||[]){const _0x4c31c9=_0x3b7a92[_0x2975fe];if(_0x4c31c9){const _0x57461d=_0x315e3c['addFieldWithSourceId'](_0x4c31c9,_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x164)]);_0x4f4f2f&&_0x57461d&&_0x315e3c[_0xb3d29(0x19c)](_0x57461d[_0xb3d29(0x114)](),{'type':_0x7d04ba['PivotFilterTypeEnum']['ManualFilter'],'list':_0x4f4f2f,'isAll':!0x1});}}for(const {field:_0x3953e2,selectedItems:_0x40987b}of _0x3fd844||[]){const _0x3d3d46=_0x3b7a92[_0x3953e2];if(_0x3d3d46){const _0x459945=_0x315e3c[_0xb3d29(0x249)](_0x3d3d46,_0x7d04ba[_0xb3d29(0x39c)][_0xb3d29(0x302)]);_0x40987b&&_0x459945&&_0x315e3c[_0xb3d29(0x19c)](_0x459945[_0xb3d29(0x114)](),{'type':_0x7d04ba[_0xb3d29(0x224)][_0xb3d29(0x119)],'list':_0x40987b,'isAll':!0x1});}}for(const {field:_0x4a124e,subTotalType:_0x4a5f87,formatString:_0x102b69}of _0x257254||[]){const _0x48ec69=_0xbcc743[_0xb3d29(0x324)](_0x3b7a92[_0x4a124e]);if(!_0x48ec69)continue;const _0x411bae=_0x3b7a92[_0x4a124e];if(_0x411bae){const _0x3f69ea=_0x315e3c[_0xb3d29(0x249)](_0x411bae,_0x7d04ba['PivotTableFiledAreaEnum'][_0xb3d29(0x3a8)]);if(_0x3f69ea){if(_0x4a5f87!==void 0x0){_0x315e3c[_0xb3d29(0x34e)](_0x3f69ea[_0xb3d29(0x114)](),_0x4a5f87);const _0xde873=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x4136fc[_0xb3d29(0x20d)])[_0xb3d29(0x199)]()||_0x7d04ba[_0xb3d29(0x327)],_0x497afa=_0xbcc743[_0xb3d29(0x3bd)](_0x411bae),_0x4802d0=_0xde873(_0x497afa,_0x4a5f87);_0x315e3c[_0xb3d29(0x191)](_0x3f69ea[_0xb3d29(0x114)](),_0x4802d0);}else{if(_0x48ec69){const _0x2d8a15=_0x48ec69==null?void 0x0:_0x48ec69[_0xb3d29(0x385)]();_0x315e3c['setSubtotalType'](_0x3f69ea[_0xb3d29(0x114)](),_0x2d8a15===_0x7d04ba[_0xb3d29(0x2b9)][_0xb3d29(0x1d8)]?_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x246)]:_0x7d04ba[_0xb3d29(0x230)][_0xb3d29(0x380)]);}}_0x102b69&&_0x315e3c['setFieldFormat'](_0x3f69ea['getId'](),_0x102b69);}}}const _0x143fbd=_0x315e3c['query'](),_0x4616e8=_0x315e3c[_0xb3d29(0x19a)](),_0x502147=_0x315e3c[_0xb3d29(0x393)](),_0x38c945=_0x315e3c['endCollectChangeset'](),_0x44b767=_0xbcc743['toJSON']();_0x4b3652[_0xb3d29(0x184)]={'view':_0x143fbd,'fieldsConfig':_0x4616e8,'collectionConfig':_0x44b767,'isEmpty':_0x502147,'changesets':_0x38c945};}break;case _0x240b92[_0xb3d29(0x313)]:{const _0x3fb7cb=_0x57ddc5(this[_0xb3d29(0x307)],_0x33b2ca);if(!_0x3fb7cb)return;const {range:_0x3a2f51,sourceSubUnitId:_0x98c6aa,sourceUnitId:_0x3d0ffd,formatMap:_0x1f461a,indexes:_0x26452c}=_0x3fb7cb;_0x4b3652[_0xb3d29(0x2d0)]={'range':_0x3a2f51,'sourceSubUnitId':_0x98c6aa,'sourceUnitId':_0x3d0ffd,'formatMap':_0x1f461a,'indexes':_0x26452c};}break;}this[_0xb3d29(0x345)]['executeCommand'](_0x161053['id'],{'version':_0x33b2ca[_0xb3d29(0x16f)],'result':_0x4b3652},{'onlyLocal':!0x0});}));}[_0x45f501(0x1c2)](){const _0x1af010=_0x45f501;this[_0x1af010(0x280)](this[_0x1af010(0x345)][_0x1af010(0xc1)](_0x2c75e2=>{const _0x42531a=_0x1af010;if(_0x2c75e2['id']!==_0x4af3e0['id'])return;const _0x584cec=_0x2c75e2[_0x42531a(0x140)];return this[_0x42531a(0x2fc)]['setTextInfo'](_0x584cec['textInfo']),!0x0;}));}[_0x45f501(0x211)](){const _0x380f8d=_0x45f501;this[_0x380f8d(0x2fc)][_0x380f8d(0x384)][_0x380f8d(0x396)](_0x33314c=>{const _0x4e35ff=_0x380f8d;switch(_0x33314c['type']){case _0x247849['add']:_0x33314c[_0x4e35ff(0x98)]&&_0x33314c[_0x4e35ff(0x22f)]&&this['handleSourceRangeChange'](_0x33314c[_0x4e35ff(0xe4)],_0x33314c[_0x4e35ff(0x98)],_0x33314c[_0x4e35ff(0x22f)]);break;case _0x247849[_0x4e35ff(0x226)]:{const {unitId:_0x302904,subUnitId:_0x28768d,token:_0xdebac4}=_0x33314c;_0x302904&&_0x28768d&&_0xdebac4&&this[_0x4e35ff(0xd8)](_0x302904,_0x28768d,_0xdebac4);}break;case _0x247849[_0x4e35ff(0x251)]:{const {token:_0x3b26e5,oldSourceRangeInfo:_0x5677af,dataRangeInfo:_0x14db48,targetCellInfo:_0x356453}=_0x33314c,{unitId:_0x51b7e8,subUnitId:_0x5232f6}=_0x5677af||{};_0x51b7e8&&_0x5232f6&&_0x3b26e5&&this[_0x4e35ff(0xd8)](_0x51b7e8,_0x5232f6,_0x3b26e5),_0x14db48&&_0x356453&&this[_0x4e35ff(0x2be)](_0x3b26e5,_0x14db48,_0x356453);}break;}});}['_subjectFieldsCollectionChange'](){const _0x23effa=_0x45f501;this[_0x23effa(0x2fc)][_0x23effa(0x316)][_0x23effa(0x396)](_0x49f0d5=>{const _0x1ec147=_0x23effa;Object[_0x1ec147(0x374)](_0x49f0d5)['forEach'](_0x269c6b=>{const _0x108b35=_0x1ec147,_0x395309=this[_0x108b35(0x2fc)][_0x108b35(0x1b4)](_0x269c6b);if(_0x395309){const _0x5755de=this[_0x108b35(0x2fc)][_0x108b35(0x21f)](_0x395309==null?void 0x0:_0x395309[_0x108b35(0x20d)],_0x395309==null?void 0x0:_0x395309[_0x108b35(0x15b)],_0x269c6b);_0x5755de&&(this['handleSourceRangeChange'](_0x269c6b,_0x5755de[_0x108b35(0x206)],_0x5755de['targetCellInfo']),this[_0x108b35(0x371)]([{'unitId':_0x395309[_0x108b35(0x20d)],'subUnitId':_0x395309['subUnitId'],'token':_0x269c6b}]));}});});}[_0x45f501(0x1e7)](){this['_sheetsPivotDataSourceModel']['viewData$']['subscribe'](_0x2b30e0=>{const _0x5b5ece=_0x554c,{unitId:_0x5b21f1,subUnitId:_0x515987,pivotTableId:_0x1058c2}=_0x2b30e0;_0x5b21f1&&_0x515987&&_0x1058c2&&this[_0x5b5ece(0x371)]([{'unitId':_0x5b21f1,'subUnitId':_0x515987,'token':_0x1058c2}]);});}['triggerDirtyFeature'](_0x4f6f45){const _0x4bedf6=_0x45f501,_0x33d03f={};_0x4f6f45[_0x4bedf6(0x106)](_0x5e104f=>{var _0x2ac7cd,_0x4b8624;const {unitId:_0x5b7c57,subUnitId:_0x1caa0a,token:_0x51a43e}=_0x5e104f;_0x33d03f[_0x5b7c57]=(_0x2ac7cd=_0x33d03f[_0x5b7c57])!=null?_0x2ac7cd:{},_0x33d03f[_0x5b7c57][_0x1caa0a]=(_0x4b8624=_0x33d03f[_0x5b7c57][_0x1caa0a])!=null?_0x4b8624:{},_0x33d03f[_0x5b7c57][_0x1caa0a][_0x51a43e]=!0x0;}),this[_0x4bedf6(0x345)]['executeCommand'](_0x25680d['id'],_0x33d03f);}[_0x45f501(0xd8)](_0x10a8b9,_0x1063e6,_0x5b7609){const _0x47ea03=_0x45f501;this['_featureCalculationManagerService'][_0x47ea03(0x344)](_0x10a8b9,_0x1063e6,[_0x5b7609]);}[_0x45f501(0x2be)](_0xeb961b,_0x113325,_0x1c0698){const _0x499749=_0x45f501,{unitId:_0x5213dd,subUnitId:_0x57c916}=_0x113325;this[_0x499749(0x1db)][_0x499749(0x32d)](_0x1c0698[_0x499749(0x20d)],_0x1c0698[_0x499749(0x15b)],_0xeb961b)&&this[_0x499749(0xd8)](_0x5213dd,_0x57c916,_0xeb961b);const _0x5096a4={'sheetId':_0x57c916,..._0x113325};this[_0x499749(0x1db)][_0x499749(0x18d)](_0x1c0698['unitId'],_0x1c0698[_0x499749(0x15b)],_0xeb961b,{'unitId':_0x1c0698[_0x499749(0x20d)],'subUnitId':_0x1c0698[_0x499749(0x15b)],'dependencyRanges':[_0x5096a4],'getDirtyData':(_0x228609,_0xf51137)=>{const _0x457cd2=_0x499749,_0x60dbe9=this[_0x457cd2(0x2fc)],_0xcf9fc7=_0x60dbe9[_0x457cd2(0x1b4)](_0xeb961b);if(!_0xcf9fc7)return _0x2f3374();const {unitId:_0x1f79eb,subUnitId:_0x483bf5}=_0xcf9fc7,_0x587490=_0x135e1f(_0x228609,_0xf51137,_0x113325);if(_0x587490[_0x457cd2(0xa8)]>0x0){const _0x2f5f8c=_0x60dbe9['getCollection'](_0x5213dd,_0xeb961b),_0x34039e=_0x2f5f8c[_0x457cd2(0xb1)](),_0x322ac5=this[_0x457cd2(0xb9)](_0x113325['unitId'],_0x113325[_0x457cd2(0x15b)],_0xf51137),_0x6d78e8={},_0x17a106=this[_0x457cd2(0x2fc)][_0x457cd2(0x10f)](_0x1f79eb)[_0x457cd2(0x199)]()||_0x7d04ba['getAutoDisplayName'],_0x6366dc=[];for(const _0x59d3d2 of _0x587490){const _0x2cc857=_0x59d3d2-(_0x113325['range'][_0x457cd2(0x212)]||0x0),_0x3f85de=_0x34039e[_0x2cc857];_0x6366dc[_0x457cd2(0x373)](_0x3f85de),_0x6d78e8[_0x3f85de]=_0x2f5f8c[_0x457cd2(0x324)](_0x3f85de)[_0x457cd2(0xdd)](),_0x60dbe9[_0x457cd2(0x10f)](_0x5213dd)[_0x457cd2(0x1e5)](_0x3f85de,_0x113325,_0x2cc857,_0x322ac5);}_0x2f5f8c[_0x457cd2(0x171)](_0x6366dc)[_0x457cd2(0x106)](_0x1a3462=>{const _0x525775=_0x457cd2,[_0x58f354,_0x316665]=_0x1a3462,_0x100cd5=_0x2f5f8c[_0x525775(0x324)](_0x58f354),_0x3027cb=_0x2f5f8c[_0x525775(0x324)](_0x316665);_0x100cd5&&_0x3027cb&&_0x100cd5['refreshGroupField'](_0x3027cb);}),_0x2f5f8c[_0x457cd2(0xcb)]();const _0x545d80=_0x60dbe9[_0x457cd2(0x93)](_0xeb961b);if(_0x545d80){_0x2323c3(_0x545d80,_0x6d78e8,_0x17a106),_0x545d80[_0x457cd2(0xb3)](!0x0);const _0x541dab=_0x545d80['query'](),_0x379eeb=_0x60dbe9['getPivotTableConfig'](_0x1f79eb,_0x483bf5,_0xeb961b),_0x368cae=_0x60dbe9[_0x457cd2(0x10f)](_0x5213dd)['toJSON']();_0x60dbe9[_0x457cd2(0x131)](_0x1f79eb,_0x483bf5,_0x3c03d6[_0x457cd2(0x1b6)],_0xeb961b,_0x541dab,_0x379eeb,_0x368cae,!0x0);}}return this[_0x457cd2(0x2de)](_0x1f79eb,_0x483bf5,_0xeb961b);}});}[_0x45f501(0xb9)](_0x248893,_0x4f73e2,_0x2a64e4){var _0x3f3e31,_0x17de51;const {arrayFormulaCellData:_0x358bae,unitData:_0x11dfcb}=_0x2a64e4,_0x1b9254=(_0x3f3e31=_0x358bae==null?void 0x0:_0x358bae[_0x248893])==null?void 0x0:_0x3f3e31[_0x4f73e2],_0x4bc26e=(_0x17de51=_0x11dfcb==null?void 0x0:_0x11dfcb[_0x248893])==null?void 0x0:_0x17de51[_0x4f73e2];return{'arrayFormulaCellDataMatrix':_0x1b9254,'unitDataMatrix':_0x4bc26e};}['getDirtyInfo'](_0x23c6df,_0x1b3854,_0x8b37df){const _0x293de9=_0x45f501,_0x2fbd84=this['_sheetsPivotDataSourceModel'][_0x293de9(0x21a)](_0x23c6df,_0x1b3854,_0x8b37df),_0x1277a7=[],_0x2010cb=new _0xaebd85['ObjectMatrix']();if(_0x2fbd84){const {rangeCache:_0x4156d6,matrix:_0x590f66,oldRangeCache:_0x2b0558,oldMatrix:_0x4cef95}=_0x2fbd84,_0x383e3c=_0x109750(_0x2b0558),_0x49f15f=_0x109750(_0x4156d6);_0x1277a7[_0x293de9(0x373)](..._0x49f15f,..._0x383e3c),_0x4cef95&&_0x2b0558&&_0x383e3c[_0x293de9(0x106)](_0x266c09=>{const _0x57c14c=_0x293de9;for(let _0x1b484d=_0x266c09[_0x57c14c(0x38c)];_0x1b484d<=_0x266c09['endRow'];_0x1b484d++)for(let _0x378ffe=_0x266c09[_0x57c14c(0x212)];_0x378ffe<=_0x266c09[_0x57c14c(0x1e3)];_0x378ffe++)_0x2010cb[_0x57c14c(0x92)](_0x1b484d,_0x378ffe);}),_0x590f66&&_0x49f15f&&_0x49f15f[_0x293de9(0x106)](_0x5ecb6c=>{const _0x305531=_0x293de9;for(let _0x18b9ab=_0x5ecb6c[_0x305531(0x38c)];_0x18b9ab<=_0x5ecb6c[_0x305531(0x2fd)];_0x18b9ab++)for(let _0x1f4a47=_0x5ecb6c[_0x305531(0x212)];_0x1f4a47<=_0x5ecb6c[_0x305531(0x1e3)];_0x1f4a47++)_0x2010cb[_0x305531(0x1a7)](_0x18b9ab,_0x1f4a47,_0x590f66['getValue'](_0x18b9ab,_0x1f4a47));});}const _0x421b33={};return _0x421b33[_0x23c6df]={[_0x1b3854]:_0x4943bd(_0x1277a7)},{'runtimeCellData':{[_0x23c6df]:{[_0x1b3854]:_0x2010cb}},'dirtyRanges':_0x421b33};}[_0x45f501(0x24e)](){}};_0x2f9c40=_0x2f1351([_0x2ca468(0x0,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x156)])),_0x2ca468(0x1,_0xaebd85['IConfigService']),_0x2ca468(0x2,_0xaebd85[_0x45f501(0x305)](_0x33633f[_0x45f501(0xee)])),_0x2ca468(0x3,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x2f7)])),_0x2ca468(0x4,_0xaebd85['Inject'](_0x33633f[_0x45f501(0x177)])),_0x2ca468(0x5,_0xaebd85['Inject'](_0xaebd85[_0x45f501(0x231)]))],_0x2f9c40);var _0x4553b5=Object[_0x45f501(0x30e)],_0x4e8ddd=(_0x193c1c,_0x41403d,_0xaca1d2,_0x574d59)=>{const _0x464d07=_0x45f501;for(var _0x4fffed=_0x574d59>0x1?void 0x0:_0x574d59?_0x4553b5(_0x41403d,_0xaca1d2):_0x41403d,_0x31b8c3=_0x193c1c[_0x464d07(0xa8)]-0x1,_0x561ee3;_0x31b8c3>=0x0;_0x31b8c3--)(_0x561ee3=_0x193c1c[_0x31b8c3])&&(_0x4fffed=_0x561ee3(_0x4fffed)||_0x4fffed);return _0x4fffed;},_0x47a787=(_0x56be32,_0x4ff887)=>(_0x24d553,_0x5557de)=>_0x4ff887(_0x24d553,_0x5557de,_0x56be32);let _0x30345c=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x40dd73,_0x35b2d4,_0x2afebc,_0x154e60){const _0x214ec8=_0x45f501;super(),_0x1f3ba2(this,_0x214ec8(0x1b2),new _0xaebd85[(_0x214ec8(0x197))]()),(this['_univerInstanceService']=_0x40dd73,this['_sheetInterceptorService']=_0x35b2d4,this['_sheetsSelectionsService']=_0x2afebc,this[_0x214ec8(0x186)]=_0x154e60,this['_initClearSelectionCommandInterceptor']());}[_0x45f501(0x34d)](){const _0x3f5b04=_0x45f501;this[_0x3f5b04(0x280)](this[_0x3f5b04(0x3b2)][_0x3f5b04(0x289)]({'getMutations':_0x49d095=>{const _0x51b45d=_0x3f5b04;if(_0x49d095['id']===_0x401092['ClearSelectionContentCommand']['id']||_0x49d095['id']===_0x401092[_0x51b45d(0xa7)]['id']){const _0x47c098=[],_0x595b38=[],_0x1e6723=this[_0x51b45d(0x29b)][_0x51b45d(0x2e5)]()[_0x51b45d(0x258)](_0x4c6db0=>_0x4c6db0[_0x51b45d(0xac)]),_0x4b2101=_0x401092[_0x51b45d(0x364)](this[_0x51b45d(0x33e)]);if(!_0x4b2101)return{'redos':[],'undos':[]};const {unitId:_0x2f7e70,subUnitId:_0xb6849f}=_0x4b2101,_0x567652={},_0x32c9e2=this[_0x51b45d(0x186)]['getSubUnitPivotConfigs'](_0x2f7e70,_0xb6849f);if(_0x32c9e2!=null&&_0x32c9e2[_0x51b45d(0x36e)])for(const [_0x32756f,_0x3114c6]of _0x32c9e2){const {unitId:_0x446e1b,subUnitId:_0x616258,row:_0x579cb9,col:_0x9375a8}=_0x3114c6[_0x51b45d(0x22f)];_0x446e1b===_0x4b2101['unitId']&&_0x616258===_0x4b2101[_0x51b45d(0x15b)]&&(_0x567652[_0x579cb9+'-'+_0x9375a8]=_0x32756f);}return _0x1e6723&&_0x4b2101&&_0x1e6723[_0x51b45d(0x106)](_0x4d2305=>{const _0x272945=_0x51b45d;_0xaebd85[_0x272945(0x233)][_0x272945(0x2c7)](_0x4d2305,(_0x30f88b,_0x4c99a7)=>{const _0x2834e7=_0x272945,_0x516e89=_0x30f88b+'-'+_0x4c99a7;if(_0x567652[_0x516e89]){const _0xf8a09f=_0x567652[_0x516e89];_0x47c098['push']({'id':_0x7ceaf3['id'],'params':{'unitId':_0x2f7e70,'subUnitId':_0xb6849f,'pivotTableId':_0xf8a09f}});const _0x545670=this[_0x2834e7(0x186)][_0x2834e7(0x300)](_0x2f7e70,_0xf8a09f),_0x5bce4a=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x2f7e70,_0xb6849f,_0xf8a09f);_0x595b38[_0x2834e7(0x373)]({'id':_0x592e37['id'],'params':{'unitId':_0x2f7e70,'subUnitId':_0xb6849f,'pivotTableId':_0xf8a09f,'pivotTableConfig':_0x5bce4a,'collectionConfig':_0x545670}});}});}),{'redos':_0x47c098,'undos':_0x595b38};}return{'redos':[],'undos':[]};}}));}};_0x30345c=_0x4e8ddd([_0x47a787(0x0,_0xaebd85[_0x45f501(0x182)]),_0x47a787(0x1,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x1a4)])),_0x47a787(0x2,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x159)])),_0x47a787(0x3,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x2c9)]))],_0x30345c);var _0x22fba4=Object[_0x45f501(0x30e)],_0x556723=(_0x58593f,_0x14c13d,_0x1eadcd,_0x1252e7)=>{const _0x1ea15d=_0x45f501;for(var _0x30c835=_0x1252e7>0x1?void 0x0:_0x1252e7?_0x22fba4(_0x14c13d,_0x1eadcd):_0x14c13d,_0x48da75=_0x58593f[_0x1ea15d(0xa8)]-0x1,_0x100cf0;_0x48da75>=0x0;_0x48da75--)(_0x100cf0=_0x58593f[_0x48da75])&&(_0x30c835=_0x100cf0(_0x30c835)||_0x30c835);return _0x30c835;},_0x4fa29e=(_0x14df7e,_0x56d1df)=>(_0x40fe3e,_0x9b3b1c)=>_0x56d1df(_0x40fe3e,_0x9b3b1c,_0x14df7e);let _0x4f4cbd=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x1a8a61,_0x28db52,_0x5a33bf,_0x123e4f,_0x4e14c6,_0x4a9ff9){const _0x2568c3=_0x45f501;super(),this[_0x2568c3(0xe5)]=_0x1a8a61,this[_0x2568c3(0x3b2)]=_0x28db52,this[_0x2568c3(0x307)]=_0x5a33bf,this[_0x2568c3(0x33e)]=_0x123e4f,this[_0x2568c3(0x186)]=_0x4e14c6,this[_0x2568c3(0x333)]=_0x4a9ff9,this[_0x2568c3(0x296)]();}[_0x45f501(0x175)](_0x7ea43f,_0x45add0,_0x122493){const _0x2b2aed=_0x45f501,{pageView:_0x33c1a0,cornerView:_0x40a6c5,rowView:_0x216c3f,colView:_0x3b4d1e,dataView:_0xd9126f}=_0x45add0,_0x32f241=_0x7ea43f;let _0xbe35c4;if(_0x122493)_0xbe35c4=[..._0x3c77b0(_0x32f241)];else{const _0x5395b9=_0x6b001(_0x32f241,_0x33c1a0,!0x0),_0x59e507=_0x33c1a0['lastRow']>=0x0?_0x33c1a0[_0x2b2aed(0x205)]+0x1:0x0,_0x932ee6=_0x40a6c5[_0x2b2aed(0x121)],_0x3fc337=_0x40a6c5[_0x2b2aed(0x39b)],_0x5cf2c6=_0x5395b9[_0x2b2aed(0xa8)]>0x0?_0x32fbf9:0x0,_0x1bb3b3=_0x6b001({'row':_0x32f241[_0x2b2aed(0x2e0)]+_0x59e507+_0x5cf2c6,'col':_0x32f241[_0x2b2aed(0x180)]},_0x40a6c5,!0x1,!0x1),_0x15fc85=_0x6b001({'row':_0x32f241['row']+_0x59e507+_0x5cf2c6+_0x932ee6,'col':_0x32f241[_0x2b2aed(0x180)]},_0x216c3f,!0x1,!0x0),_0x202f14=_0x6b001({'row':_0x32f241['row']+_0x59e507+_0x5cf2c6,'col':_0x32f241[_0x2b2aed(0x180)]+_0x3fc337},_0x3b4d1e,!0x1,!0x0),_0x349afc=_0x6b001({'row':_0x32f241['row']+_0x59e507+_0x5cf2c6+_0x932ee6,'col':_0x32f241['col']+_0x3fc337},_0xd9126f,!0x1,!0x0);_0xbe35c4=[..._0x5395b9,..._0x1bb3b3,..._0x15fc85,..._0x202f14,..._0x349afc];}return _0xbe35c4;}[_0x45f501(0x296)](){const _0x23a5db=_0x45f501;this['disposeWithMe'](this[_0x23a5db(0x333)][_0x23a5db(0x297)][_0x23a5db(0x195)](this[_0x23a5db(0x333)][_0x23a5db(0x297)][_0x23a5db(0x165)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x38e878,_0x3c41f5)=>{const _0x4103dc=_0x23a5db,{cellInfo:_0x44b002,view:_0xe1d1ef,isEmpty:_0x4cfd26}=_0x3c41f5,_0x1adfb2=_0x44b002,{unitId:_0x3fa1b6,subUnitId:_0xeb8357}=_0x1adfb2,_0x44b359=this[_0x4103dc(0x175)](_0x44b002,_0xe1d1ef,_0x4cfd26),_0x4263d9=this[_0x4103dc(0x3b2)]['generateMutationsByRanges']({'unitId':_0x3fa1b6,'subUnitId':_0xeb8357,'ranges':_0x44b359}),_0x34f89c=_0xd7e43f(this[_0x4103dc(0x307)],_0x3fa1b6,_0xeb8357,_0x44b359);_0x34f89c[_0x4103dc(0xd2)]&&(_0x4263d9['redos']['push'](_0x34f89c['setRangeValueRedoMutation']),_0x4263d9[_0x4103dc(0x301)][_0x4103dc(0x373)](_0x34f89c[_0x4103dc(0x11f)]));const _0x1148b5=this[_0x4103dc(0x187)](_0xe1d1ef,_0x44b002);return _0x4263d9[_0x4103dc(0xfd)][_0x4103dc(0x373)](..._0x1148b5[_0x4103dc(0xfd)]),_0x4263d9[_0x4103dc(0x301)]['push'](..._0x1148b5[_0x4103dc(0x301)]),{'redos':_0x4263d9[_0x4103dc(0xfd)],'undos':_0x4263d9[_0x4103dc(0x301)]};}}));}[_0x45f501(0x187)](_0x16ab30,_0x1fa184){const _0x76ac49=_0x45f501,{col:_0x4d9912,unitId:_0x171375,subUnitId:_0x9470d}=_0x1fa184,_0xae8bba=[],_0x196fca=[],_0x1e4295=_0x401092[_0x76ac49(0x364)](this[_0x76ac49(0x33e)],{'unitId':_0x171375,'subUnitId':_0x9470d});if(!_0x1fa184||!_0x16ab30||!_0x1e4295)return{'undos':_0x196fca,'redos':_0xae8bba};const _0x344b7a=this[_0x76ac49(0x186)]['getTextInfo'](),{colView:_0x5b014c,dataView:_0x377445,cornerView:_0x51a9b3,rowView:_0x3500c2,formatMap:_0x120955}=_0x16ab30,_0x694ce1=_0x5ca586(_0x5b014c,_0x344b7a,!0x0,_0x120955),_0x596891=_0x5ca586(_0x3500c2,_0x344b7a,!0x1,_0x120955),_0x3074df=_0x440f21(_0x377445),_0x32d155=_0x1954bf(_0x51a9b3),{worksheet:_0x3fc427}=_0x1e4295;if(typeof window<'u'&&window[_0x76ac49(0x255)]){const _0x948944=_0x1c5052[_0x76ac49(0x138)]({..._0x40537f[_0x76ac49(0x267)]}),_0x15e7d6=_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x694ce1,_0x948944)[_0x76ac49(0x1f1)]+0x10,_0x2b8103=_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x3074df,_0x948944)[_0x76ac49(0x1f1)],_0x2aa6a2=Math[_0x76ac49(0xc0)](Math[_0x76ac49(0x1d0)](_0x15e7d6,_0x2b8103))+0x10,_0x5ce0ef=Math['floor'](_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x596891,_0x948944)[_0x76ac49(0x1f1)]),_0x13a52f=Math[_0x76ac49(0xc0)](_0x1c5052[_0x76ac49(0x100)][_0x76ac49(0x351)](_0x32d155,_0x948944)['width']),_0xd72a2e=Math[_0x76ac49(0x1d0)](_0x5ce0ef,_0x13a52f,0x28)+0xc,_0x41f7e6=_0x5b014c[_0x76ac49(0x39b)]+_0x51a9b3['colCount'],_0x381d46={},_0x572aa9={};for(let _0x38ce6e=_0x4d9912;_0x38ce6e<_0x4d9912+_0x41f7e6;_0x38ce6e++){const _0x56b805=_0x3fc427[_0x76ac49(0x9c)](_0x38ce6e);_0x381d46[_0x38ce6e]=_0x56b805,_0x38ce6e-_0x4d9912<_0x51a9b3[_0x76ac49(0x39b)]?_0x572aa9[_0x38ce6e-_0x4d9912]=_0xd72a2e:_0x572aa9[_0x38ce6e-_0x4d9912]=_0x2aa6a2;}_0xae8bba[_0x76ac49(0x373)]({'id':_0x401092[_0x76ac49(0x39d)]['id'],'params':{'subUnitId':_0x9470d,'unitId':_0x171375,'ranges':[{'startColumn':_0x4d9912,'endColumn':_0x4d9912+_0x41f7e6-0x1,'startRow':0x0,'endRow':_0x3fc427[_0x76ac49(0x16e)]()-0x1}],'colWidth':_0x572aa9}}),_0x196fca[_0x76ac49(0x373)]({'id':_0x401092['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x9470d,'unitId':_0x171375,'ranges':[{'startColumn':_0x4d9912,'endColumn':_0x4d9912+_0x41f7e6-0x1,'startRow':0x0,'endRow':_0x3fc427[_0x76ac49(0x16e)]()-0x1}],'colWidth':_0x381d46}});}return{'undos':_0x196fca,'redos':_0xae8bba};}};_0x4f4cbd=_0x556723([_0x4fa29e(0x0,_0xaebd85['Inject'](_0xaebd85['LocaleService'])),_0x4fa29e(0x1,_0xaebd85['Inject'](_0x401092['SheetInterceptorService'])),_0x4fa29e(0x2,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0x4fa29e(0x3,_0xaebd85[_0x45f501(0x305)](_0xaebd85['IUniverInstanceService'])),_0x4fa29e(0x4,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x2c9)])),_0x4fa29e(0x5,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x37f)]))],_0x4f4cbd);var _0x7321c9=Object['getOwnPropertyDescriptor'],_0x391211=(_0x20537a,_0x1f9b17,_0x40c340,_0xe51940)=>{const _0x10bfc4=_0x45f501;for(var _0x1d4f70=_0xe51940>0x1?void 0x0:_0xe51940?_0x7321c9(_0x1f9b17,_0x40c340):_0x1f9b17,_0x595129=_0x20537a[_0x10bfc4(0xa8)]-0x1,_0x15b10c;_0x595129>=0x0;_0x595129--)(_0x15b10c=_0x20537a[_0x595129])&&(_0x1d4f70=_0x15b10c(_0x1d4f70)||_0x1d4f70);return _0x1d4f70;},_0x290ca9=(_0x59d467,_0x3d755f)=>(_0x37067d,_0xa2f52c)=>_0x3d755f(_0x37067d,_0xa2f52c,_0x59d467);let _0xcb7c0f=class extends _0xaebd85['Disposable']{constructor(_0x2708bd,_0x29e616,_0x259028,_0x53c001,_0x3775df,_0x58151b,_0x26f22d){const _0x57551c=_0x45f501;super(),_0x1f3ba2(this,_0x57551c(0x1b2),new _0xaebd85[(_0x57551c(0x197))]()),(this[_0x57551c(0x307)]=_0x2708bd,this[_0x57551c(0x12a)]=_0x29e616,this[_0x57551c(0x345)]=_0x259028,this[_0x57551c(0x33e)]=_0x53c001,this[_0x57551c(0x186)]=_0x3775df,this[_0x57551c(0xd4)]=_0x58151b,this['_sheetInterceptorService']=_0x26f22d,this[_0x57551c(0x386)]());}['_onRefRangeChange'](){const _0x11606d=_0x45f501,_0xf78b54=(_0x40776c,_0x447439)=>{const _0x11a346=_0x554c,_0x478a55=this[_0x11a346(0x33e)][_0x11a346(0x20c)](_0xaebd85[_0x11a346(0x192)][_0x11a346(0x2a1)]);if(!_0x478a55||!(_0x478a55==null?void 0x0:_0x478a55[_0x11a346(0x318)](_0x447439)))return;this[_0x11a346(0x1b2)][_0x11a346(0x24e)]();const _0x9cb9a1=_0x42f734=>this[_0x11a346(0xba)](_0x42f734,_0x40776c,_0x447439),_0x54694c=this[_0x11a346(0x186)][_0x11a346(0x21d)](_0x40776c,_0x447439);if(!(_0x54694c!=null&&_0x54694c['size']))return;Array[_0x11a346(0x3a3)](_0x54694c[_0x11a346(0x176)]())[_0x11a346(0x258)](_0x37e039=>{const _0x47d73a=_0x11a346,{row:_0x15225f,col:_0x35b305}=_0x37e039['targetCellInfo'];return _0xaebd85[_0x47d73a(0x3b5)](_0x15225f,_0x35b305);})['forEach'](_0x269d00=>{const _0x583387=_0x11a346;this[_0x583387(0x1b2)][_0x583387(0x328)](this['_refRangeService'][_0x583387(0x381)](_0x269d00,_0x9cb9a1,_0x40776c,_0x447439));});},_0x114035=()=>{const _0x42261d=_0x554c,_0x4399c4=this[_0x42261d(0x33e)][_0x42261d(0x20c)](_0xaebd85['UniverInstanceType'][_0x42261d(0x2a1)]);if(_0x4399c4){const _0x27fb3e=_0x4399c4[_0x42261d(0x2a0)]();if(!_0x27fb3e)return;_0xf78b54(_0x4399c4[_0x42261d(0x21b)](),_0x27fb3e[_0x42261d(0x17c)]());}};this[_0x11606d(0x280)](this[_0x11606d(0x345)][_0x11606d(0xc1)](_0x5a7dc0=>{const _0x19f0f5=_0x11606d;if(_0x5a7dc0['id']===_0x401092[_0x19f0f5(0x38d)]['id']){const _0x57c25a=_0x5a7dc0[_0x19f0f5(0x140)],_0x1a09a1=_0x57c25a[_0x19f0f5(0x15b)],_0x3ac4ae=_0x57c25a['unitId'];if(!_0x1a09a1||!_0x3ac4ae)return;_0xf78b54(_0x3ac4ae,_0x1a09a1);}})),this[_0x11606d(0x280)](this['_sheetsPivotTableConfigModel'][_0x11606d(0x2c3)][_0x11606d(0x396)](_0x313994=>{_0x313994&&_0x114035();})),this[_0x11606d(0x280)](this['_sheetsPivotTableConfigModel'][_0x11606d(0x2f2)][_0x11606d(0x396)](_0x1a259f=>{const _0xd26295=_0x11606d,_0x4720c8=_0x401092[_0xd26295(0x364)](this['_univerInstanceService']);if(!_0x4720c8)return;const {unitId:_0x409271,subUnitId:_0x5bbb7e}=_0x4720c8,{unitId:_0x363349,subUnitId:_0x229a7b}=_0x1a259f;_0x409271!==_0x363349||_0x5bbb7e!==_0x229a7b||_0xf78b54(_0x409271,_0x5bbb7e);})),_0x114035();}['_refRangeHandle'](_0x4d89a5,_0x3b07ae,_0x57bbcc){const _0x3ece1d=_0x45f501;switch(_0x4d89a5['id']){case _0x401092[_0x3ece1d(0x17d)]['id']:return this[_0x3ece1d(0xcd)](_0x4d89a5[_0x3ece1d(0x140)],_0x3b07ae,_0x57bbcc);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x1b328f,_0x211bd7,_0x12d3d7){const _0x194d50=_0x45f501,{fromRange:_0x49268d,toRange:_0x4c8a99}=_0x1b328f,_0x193e96=[],_0x49135f=[],_0x21b540=_0x401092[_0x194d50(0x364)](this[_0x194d50(0x33e)]);if(!_0x21b540)return{'undos':_0x49135f,'redos':_0x193e96};if(_0x211bd7!==_0x21b540[_0x194d50(0x20d)]||_0x12d3d7!==_0x21b540[_0x194d50(0x15b)])return{'undos':_0x49135f,'redos':_0x193e96};const _0x24d006=this[_0x194d50(0x186)]['getSubUnitPivotConfigs'](_0x211bd7,_0x12d3d7);if(_0x24d006!=null&&_0x24d006[_0x194d50(0x36e)])for(const [_0x41d199,_0x43d7b7]of _0x24d006){const {unitId:_0x3401b1,subUnitId:_0x2e5b84,row:_0x3434c0,col:_0x10ba2c}=_0x43d7b7[_0x194d50(0x22f)];if(_0x3401b1===_0x21b540[_0x194d50(0x20d)]&&_0x2e5b84===_0x21b540[_0x194d50(0x15b)]){const _0x1ae13f=_0xaebd85[_0x194d50(0x3b5)](_0x3434c0,_0x10ba2c);if(_0xaebd85['Rectangle'][_0x194d50(0x1c8)](_0x1ae13f,_0x49268d)){const _0x3af105=_0x3434c0-_0x49268d[_0x194d50(0x38c)],_0x583040=_0x10ba2c-_0x49268d['startColumn'],_0x577b0e={'row':_0x4c8a99[_0x194d50(0x38c)]+_0x3af105,'col':_0x4c8a99[_0x194d50(0x212)]+_0x583040};_0x193e96[_0x194d50(0x373)]({'id':_0x5e1c2b['id'],'params':{'unitId':_0x3401b1,'subUnitId':_0x2e5b84,'pivotTableId':_0x41d199,'targetCellPosition':_0x577b0e}}),_0x49135f[_0x194d50(0x373)]({'id':_0x5e1c2b['id'],'params':{'unitId':_0x3401b1,'subUnitId':_0x2e5b84,'pivotTableId':_0x41d199,'targetCellPosition':{'row':_0x3434c0,'col':_0x10ba2c}}});const _0xe900c3=_0x577b0e[_0x194d50(0x2e0)]-_0x3434c0,_0x30d0f2=_0x577b0e[_0x194d50(0x180)]-_0x10ba2c,_0x22ff15=[],_0xe9b216=this[_0x194d50(0xd4)][_0x194d50(0x1c0)](_0x3401b1,_0x2e5b84,_0x41d199),_0x42c785=_0xe9b216==null?void 0x0:_0xe9b216['rangesInfo'];if(_0x42c785){Object[_0x194d50(0x374)](_0x42c785)[_0x194d50(0x106)](_0x449650=>{const _0x518c9c=_0x194d50;_0x42c785[_0x449650][_0x518c9c(0x106)](_0x11f5ad=>{const _0x4cbf20=_0x518c9c,_0x28b70d={..._0x11f5ad};_0x28b70d[_0x4cbf20(0x38c)]=_0x11f5ad[_0x4cbf20(0x38c)]+_0xe900c3,_0x28b70d[_0x4cbf20(0x2fd)]=_0x11f5ad['endRow']+_0xe900c3,_0x28b70d[_0x4cbf20(0x212)]=_0x11f5ad[_0x4cbf20(0x212)]+_0x30d0f2,_0x28b70d[_0x4cbf20(0x1e3)]=_0x11f5ad[_0x4cbf20(0x1e3)]+_0x30d0f2,_0x22ff15[_0x4cbf20(0x373)](_0x28b70d);});});const _0x191a27=this[_0x194d50(0x3b2)][_0x194d50(0x1f4)]({'unitId':_0x3401b1,'subUnitId':_0x2e5b84,'ranges':_0x22ff15});_0x193e96[_0x194d50(0x373)](..._0x191a27[_0x194d50(0xfd)]),_0x49135f[_0x194d50(0x373)](..._0x191a27[_0x194d50(0x301)]);const _0x319202=_0xd7e43f(this[_0x194d50(0x307)],_0x3401b1,_0x2e5b84,_0x22ff15);_0x319202[_0x194d50(0xd2)]&&(_0x193e96[_0x194d50(0x373)](_0x319202[_0x194d50(0xef)]),_0x49135f[_0x194d50(0x373)](_0x319202['setRangeValueUndoMutation']));}}}}return{'redos':_0x193e96,'undos':_0x49135f};}};_0xcb7c0f=_0x391211([_0x290ca9(0x0,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0x290ca9(0x1,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0xaa)])),_0x290ca9(0x2,_0xaebd85['ICommandService']),_0x290ca9(0x3,_0xaebd85[_0x45f501(0x182)]),_0x290ca9(0x4,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5['SheetsPivotTableConfigModel'])),_0x290ca9(0x5,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x1c3)])),_0x290ca9(0x6,_0xaebd85['Inject'](_0x401092[_0x45f501(0x1a4)]))],_0xcb7c0f);var _0x394801=Object['getOwnPropertyDescriptor'],_0x24eb89=(_0x4631d3,_0x215d84,_0x3b2619,_0x296407)=>{const _0x5e0b8b=_0x45f501;for(var _0x1a4419=_0x296407>0x1?void 0x0:_0x296407?_0x394801(_0x215d84,_0x3b2619):_0x215d84,_0x727109=_0x4631d3[_0x5e0b8b(0xa8)]-0x1,_0x310d71;_0x727109>=0x0;_0x727109--)(_0x310d71=_0x4631d3[_0x727109])&&(_0x1a4419=_0x310d71(_0x1a4419)||_0x1a4419);return _0x1a4419;},_0x10b227=(_0x276d7a,_0x2f9862)=>(_0x53a9cd,_0x5c18c4)=>_0x2f9862(_0x53a9cd,_0x5c18c4,_0x276d7a);let _0x3e1e6d=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0x56e1f2,_0xb0e506){const _0x1d5bda=_0x45f501;super(),this[_0x1d5bda(0x3b2)]=_0x56e1f2,this['_sheetsPivotTableConfigModel']=_0xb0e506,this[_0x1d5bda(0x2b7)]();}[_0x45f501(0x2b7)](){const _0x42f788=_0x45f501;this['disposeWithMe'](this[_0x42f788(0x3b2)][_0x42f788(0x289)]({'getMutations':_0x1f47e7=>{const _0x20daf9=_0x42f788;if(_0x1f47e7['id']===_0x401092[_0x20daf9(0xc9)]['id']){const _0x337c3c=[],_0x1d8107=[],_0x59969d=_0x1f47e7[_0x20daf9(0x140)],{unitId:_0x456450,subUnitId:_0x33b7b6}=_0x59969d;if(!_0x456450||!_0x33b7b6)return{'undos':_0x1d8107,'redos':_0x337c3c};const _0x4daa1f=this[_0x20daf9(0x186)][_0x20daf9(0x21d)](_0x456450,_0x33b7b6);if(_0x4daa1f!=null&&_0x4daa1f[_0x20daf9(0x36e)])for(const [_0x4208a3,_0x26f2f6]of _0x4daa1f){_0x337c3c[_0x20daf9(0x373)]({'id':_0x7ceaf3['id'],'params':{'unitId':_0x456450,'subUnitId':_0x33b7b6,'pivotTableId':_0x4208a3}});const _0x4fc1eb={...this[_0x20daf9(0x186)][_0x20daf9(0x300)](_0x456450,_0x4208a3)};_0x1d8107[_0x20daf9(0x373)]({'id':_0x592e37['id'],'params':{'unitId':_0x456450,'subUnitId':_0x33b7b6,'pivotTableId':_0x4208a3,'pivotTableConfig':_0x26f2f6,'collectionConfig':_0x4fc1eb}});}return{'redos':_0x337c3c,'undos':_0x1d8107};}return{'redos':[],'undos':[]};}}));}};_0x3e1e6d=_0x24eb89([_0x10b227(0x0,_0xaebd85[_0x45f501(0x305)](_0x401092[_0x45f501(0x1a4)])),_0x10b227(0x1,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x2c9)]))],_0x3e1e6d);var _0x143470=Object[_0x45f501(0x30e)],_0x7e0cdb=(_0x5c7abc,_0x3c2083,_0x3508f2,_0x128b8f)=>{const _0x3a21c2=_0x45f501;for(var _0x326d60=_0x128b8f>0x1?void 0x0:_0x128b8f?_0x143470(_0x3c2083,_0x3508f2):_0x3c2083,_0x3aead6=_0x5c7abc[_0x3a21c2(0xa8)]-0x1,_0x272b30;_0x3aead6>=0x0;_0x3aead6--)(_0x272b30=_0x5c7abc[_0x3aead6])&&(_0x326d60=_0x272b30(_0x326d60)||_0x326d60);return _0x326d60;},_0xf79d7f=(_0x3988b5,_0x20df12)=>(_0x112893,_0x425585)=>_0x20df12(_0x112893,_0x425585,_0x3988b5);let _0x2b08b3=class extends _0xaebd85[_0x45f501(0x201)]{constructor(_0xb3232e,_0x304e72,_0x27c0bc,_0x31587b,_0x50ecc6,_0xe0d0a9){const _0x91aaf9=_0x45f501;super(),this[_0x91aaf9(0x345)]=_0xb3232e,this[_0x91aaf9(0x269)]=_0x304e72,this['_sheetsPivotTableAdaptorModel']=_0x27c0bc,this[_0x91aaf9(0x186)]=_0x31587b,this[_0x91aaf9(0x33e)]=_0x50ecc6,this[_0x91aaf9(0x1af)]=_0xe0d0a9,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x45f501(0x244)](){const _0x100326=_0x45f501;this[_0x100326(0x280)](this[_0x100326(0x345)]['onCommandExecuted'](_0x4bc0d5=>{const _0x4aa621=_0x100326;if(_0x4bc0d5['id']!==_0x161053['id'])return;const _0x36e882=_0x4bc0d5[_0x4aa621(0x140)];this[_0x4aa621(0x269)]['handleAsyncResponse'](_0x36e882);})),this['disposeWithMe'](this[_0x100326(0x345)][_0x100326(0xc1)](_0x4d72d1=>{const _0xfabceb=_0x100326;if(_0x4d72d1['id']===_0x5e3865['id']){const _0x1de8d3=_0x4d72d1[_0xfabceb(0x140)];if(_0x1de8d3){const {unitId:_0x2f9a30,subUnitId:_0xcb1105,oldSubUnitId:_0x3ea921,pivotTableId:_0x1ed412,pivotTableConfig:_0x555a7c,collectionConfig:_0x1f820b}=_0x1de8d3;this[_0xfabceb(0x186)][_0xfabceb(0x314)](_0x2f9a30,_0x3ea921,_0x1de8d3[_0xfabceb(0xe2)],null),this[_0xfabceb(0x186)][_0xfabceb(0x314)](_0x2f9a30,_0xcb1105,_0x1ed412,_0x555a7c),this['_sheetsPivotTableConfigModel'][_0xfabceb(0x3b0)](_0x2f9a30,_0x1f820b);}}})),this[_0x100326(0x280)](this[_0x100326(0x345)][_0x100326(0xc1)](_0x3f7a03=>{const _0x4c08db=_0x100326;if(_0x3f7a03['id']!==_0x391b59['id'])return;const _0x198459=_0x401092[_0x4c08db(0x364)](this[_0x4c08db(0x33e)]);if(!_0x198459)return;const {unitId:_0xa32487,subUnitId:_0x519c9d}=_0x198459,_0x36acbf=_0x3f7a03['params'];if(_0x36acbf[_0x4c08db(0x2cc)]&&Object[_0x4c08db(0x374)](_0x36acbf[_0x4c08db(0x2cc)])['forEach'](_0x2b985c=>{const _0x177e3d=_0x4c08db;var _0x433fca;(_0x433fca=_0x36acbf[_0x177e3d(0x2cc)])!=null&&_0x433fca[_0x2b985c]&&this['_sheetsPivotTableConfigModel'][_0x177e3d(0x3b0)](_0x2b985c,_0x36acbf[_0x177e3d(0x2cc)][_0x2b985c]);}),_0x36acbf[_0x4c08db(0x225)]){const _0x5b8582=_0x36acbf[_0x4c08db(0x225)],{unitId:_0x3a0a8e,subUnitId:_0x210a6a,view:_0x5f3075,pivotTableId:_0x4df23e,type:_0x421746,pivotConfig:_0x476cf2}=_0x5b8582;if(_0x421746===_0x3c03d6[_0x4c08db(0x178)])this[_0x4c08db(0xd4)]['clearRenderCache']({'unitId':_0x3a0a8e,'subUnitId':_0x210a6a,'pivotTableId':_0x4df23e,'type':_0x421746}),this[_0x4c08db(0x186)][_0x4c08db(0x314)](_0x3a0a8e,_0x210a6a,_0x4df23e,null);else{const _0x4954f2=new _0x7d04ba[(_0x4c08db(0x253))]();_0x4954f2[_0x4c08db(0x1e6)](_0x5f3075),this[_0x4c08db(0x186)]['updateConfigCache'](_0x3a0a8e,_0x210a6a,_0x4df23e,_0x476cf2),this[_0x4c08db(0xd4)][_0x4c08db(0x103)]({'unitId':_0x3a0a8e,'subUnitId':_0x210a6a,'pivotTableId':_0x4df23e,'type':_0x421746,'view':_0x4954f2}),this[_0x4c08db(0xd4)]['updateRenderCache']({'unitId':_0x3a0a8e,'subUnitId':_0x210a6a,'view':_0x4954f2,'pivotTableId':_0x4df23e,'type':_0x421746});}}else _0x36acbf[_0x4c08db(0x9b)]&&(_0x36acbf[_0x4c08db(0x9b)][_0x4c08db(0x106)](_0x3bbc2b=>{const _0x499905=_0x4c08db,{unitId:_0x220427,subUnitId:_0x8de3f9,view:_0x5d8ceb,pivotTableId:_0x25b9c3,type:_0x4d12ff,pivotConfig:_0x3405dc}=_0x3bbc2b,_0x2af212=new _0x7d04ba['PivotView']();_0x2af212[_0x499905(0x1e6)](_0x5d8ceb),this[_0x499905(0x186)]['updateConfigCache'](_0x220427,_0x8de3f9,_0x25b9c3,_0x3405dc),this[_0x499905(0xd4)][_0x499905(0x3bc)]({'unitId':_0x220427,'subUnitId':_0x8de3f9,'view':_0x2af212,'pivotTableId':_0x25b9c3,'type':_0x4d12ff});}),this[_0x4c08db(0x186)]['setPivotInitCompleted']());this[_0x4c08db(0xd4)][_0x4c08db(0xa0)](_0xa32487,_0x519c9d);}));}['registerDirtyService'](){const _0xffd8d5=_0x45f501;this[_0xffd8d5(0x1af)][_0xffd8d5(0x18d)](_0x25680d['id'],{'commandId':_0x25680d['id'],'getDirtyData'(_0x5c89b7){const _0x50c605=_0xffd8d5;return{'dirtyUnitFeatureMap':_0x5c89b7[_0x50c605(0x140)]};}});}};_0x2b08b3=_0x7e0cdb([_0xf79d7f(0x0,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x2f7)])),_0xf79d7f(0x1,_0xaebd85['Inject'](_0x5bc0f5[_0x45f501(0x252)])),_0xf79d7f(0x2,_0xaebd85[_0x45f501(0x305)](_0x5bc0f5[_0x45f501(0x1c3)])),_0xf79d7f(0x3,_0xaebd85['Inject'](_0x5bc0f5['SheetsPivotTableConfigModel'])),_0xf79d7f(0x4,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x182)])),_0xf79d7f(0x5,_0x33633f[_0x45f501(0x1ff)])],_0x2b08b3);var _0x323320=Object[_0x45f501(0x38b)],_0x21288f=Object[_0x45f501(0x30e)],_0xd68f37=(_0x2448da,_0x485081,_0x2875d1)=>_0x485081 in _0x2448da?_0x323320(_0x2448da,_0x485081,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2875d1}):_0x2448da[_0x485081]=_0x2875d1,_0x511bc8=(_0x4a8859,_0xffd7ad,_0x59b326,_0x50c525)=>{const _0x2ef740=_0x45f501;for(var _0x4682f9=_0x50c525>0x1?void 0x0:_0x50c525?_0x21288f(_0xffd7ad,_0x59b326):_0xffd7ad,_0x414393=_0x4a8859[_0x2ef740(0xa8)]-0x1,_0x3f154f;_0x414393>=0x0;_0x414393--)(_0x3f154f=_0x4a8859[_0x414393])&&(_0x4682f9=_0x3f154f(_0x4682f9)||_0x4682f9);return _0x4682f9;},_0xf447c=(_0x35ce33,_0x179f21)=>(_0x2f405f,_0x2c4110)=>_0x179f21(_0x2f405f,_0x2c4110,_0x35ce33),_0x13b1b2=(_0x57251e,_0x4b5adc,_0xef19df)=>_0xd68f37(_0x57251e,typeof _0x4b5adc!=_0x45f501(0x1ef)?_0x4b5adc+'':_0x4b5adc,_0xef19df);_0x5bc0f5['UniverSheetsPivotTablePlugin']=class extends _0xaebd85[_0x45f501(0x26a)]{constructor(_0x1c409e=_0x49d339,_0x4c7e71,_0x47a81c,_0x56a229,_0x2cac9a){const _0x8d1dd1=_0x45f501;super(),this[_0x8d1dd1(0x23a)]=_0x1c409e,this[_0x8d1dd1(0x307)]=_0x4c7e71,this['_commandService']=_0x47a81c,this[_0x8d1dd1(0x36f)]=_0x56a229,this[_0x8d1dd1(0xaf)]=_0x2cac9a;const {..._0x19c863}=_0xaebd85[_0x8d1dd1(0x31f)]({},_0x49d339,this['_config']);this[_0x8d1dd1(0x36f)][_0x8d1dd1(0x358)](_0x504d7b,_0x19c863),this[_0x8d1dd1(0x1da)](),this[_0x8d1dd1(0x151)]();}[_0x45f501(0x151)](){const _0x109ce5=_0x45f501;var _0x389fe5;const _0x314a8a=(_0x389fe5=this[_0x109ce5(0x23a)])==null?void 0x0:_0x389fe5[_0x109ce5(0x2f5)];this[_0x109ce5(0x36f)][_0x109ce5(0x358)](_0x5e7272,_0x314a8a===!0x0);}[_0x45f501(0x312)](){const _0xce2e2e=_0x45f501;var _0xd034a3;let _0x2e4134=[];const _0x424f2f=(_0xd034a3=this[_0xce2e2e(0x23a)])==null?void 0x0:_0xd034a3[_0xce2e2e(0x2f5)];_0x424f2f===!0x0?_0x2e4134=[[_0x5bc0f5['SheetsPivotTableService']],[_0x5bc0f5[_0xce2e2e(0x252)]],[_0x2b08b3],[_0x5bc0f5[_0xce2e2e(0x1c3)]],[_0x5bc0f5[_0xce2e2e(0x2c9)]],[_0x3e1e6d],[_0x30345c],[_0xcb7c0f],[_0x4f4cbd]]:_0x424f2f===!0x1?_0x2e4134=[[_0x5bc0f5[_0xce2e2e(0x156)]],[_0x2f9c40]]:_0x424f2f===void 0x0&&(_0x2e4134=[[_0x5bc0f5[_0xce2e2e(0x156)]],[_0x2f9c40],[_0x5bc0f5[_0xce2e2e(0x37f)]],[_0x5bc0f5[_0xce2e2e(0x252)]],[_0x2b08b3],[_0x5bc0f5[_0xce2e2e(0x1c3)]],[_0x5bc0f5[_0xce2e2e(0x2c9)]],[_0x3e1e6d],[_0x30345c],[_0xcb7c0f],[_0x4f4cbd]]),_0x2e4134[_0xce2e2e(0x106)](_0x1aaba5=>this[_0xce2e2e(0x307)][_0xce2e2e(0x328)](_0x1aaba5)),[_0x2f9c40,_0x2b08b3,_0x5bc0f5['SheetsPivotTableService'],_0x30345c,_0x3e1e6d,_0xcb7c0f,_0x4f4cbd][_0xce2e2e(0x106)](_0x25350b=>{const _0x40c213=_0xce2e2e;this[_0x40c213(0x307)][_0x40c213(0x32d)](_0x25350b)&&this[_0x40c213(0x307)][_0x40c213(0x185)](_0x25350b);});}[_0x45f501(0x1da)](){[_0x2bfb23,_0xacb3d5,_0x82e3c7,_0x5c0c9f,_0xb8ed75,_0x25ca2c,_0x54bb4a,_0xa27cd3,_0x42da59,_0x14e82c,_0xf31997,_0xff983e,_0x42ba20,_0x4e19d8,_0x592e37,_0x54034c,_0x7ceaf3,_0x2cda78,_0x4ec140,_0x25a4c,_0x1aea10,_0x3e9720,_0x24c0ca,_0x480282,_0x3fecaa,_0x203a31,_0x5e1c2b,_0x5dba1f,_0x161053,_0x391b59,_0x2b127c,_0x263388,_0x41b531,_0x4a253d,_0x4af3e0,_0x385c03,_0x33eee5,_0x25680d,_0x5e3865,_0x313c58,_0x8a8125,_0x1f2204,_0x2302e3]['forEach'](_0x45ea51=>{const _0x258e34=_0x554c;var _0x196427;(_0x196427=this['_dataSyncPrimaryController'])==null||_0x196427[_0x258e34(0x232)](_0x45ea51),this['_commandService'][_0x258e34(0x169)](_0x45ea51);});}},_0x13b1b2(_0x5bc0f5[_0x45f501(0x1cf)],_0x45f501(0x257),_0x513a85),_0x13b1b2(_0x5bc0f5[_0x45f501(0x1cf)],'type',_0xaebd85['UniverInstanceType'][_0x45f501(0x2a1)]),_0x5bc0f5[_0x45f501(0x1cf)]=_0x511bc8([_0xaebd85[_0x45f501(0x310)](_0x800699[_0x45f501(0xd3)]),_0xf447c(0x1,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x231)])),_0xf447c(0x2,_0xaebd85[_0x45f501(0x305)](_0xaebd85[_0x45f501(0x2f7)])),_0xf447c(0x3,_0xaebd85[_0x45f501(0x223)]),_0xf447c(0x4,_0xaebd85[_0x45f501(0x272)](_0x54f4a6[_0x45f501(0xf7)]))],_0x5bc0f5['UniverSheetsPivotTablePlugin']),_0x5bc0f5[_0x45f501(0xa4)]=_0x82e3c7,_0x5bc0f5[_0x45f501(0x27c)]=_0x2cda78,_0x5bc0f5[_0x45f501(0x2ae)]=_0xacb3d5,_0x5bc0f5[_0x45f501(0x1d2)]=_0x592e37,_0x5bc0f5['AddPivotTableWithConfigCommand']=_0x2bfb23,_0x5bc0f5[_0x45f501(0x362)]=_0x32fbf9,_0x5bc0f5[_0x45f501(0x2db)]=_0x6fd86,_0x5bc0f5[_0x45f501(0x3a2)]=_0x5c0c9f,_0x5bc0f5[_0x45f501(0x2b3)]=_0x42ba20,_0x5bc0f5['PivotDisplayDataType']=_0x240b92,_0x5bc0f5[_0x45f501(0x335)]=_0x4e19d8,_0x5bc0f5[_0x45f501(0x153)]=_0x3c03d6,_0x5bc0f5[_0x45f501(0xdf)]=_0x25680d,_0x5bc0f5[_0x45f501(0xa6)]=_0x5e87a5,_0x5bc0f5[_0x45f501(0x183)]=_0xb8ed75,_0x5bc0f5[_0x45f501(0x148)]=_0x3e9720,_0x5bc0f5[_0x45f501(0x9f)]=_0x7ceaf3,_0x5bc0f5[_0x45f501(0x23d)]=_0x24c0ca,_0x5bc0f5[_0x45f501(0x2ca)]=_0x2302e3,_0x5bc0f5[_0x45f501(0x32a)]=_0x504d7b,_0x5bc0f5[_0x45f501(0x14c)]=_0x513a85,_0x5bc0f5['SetPivotCollapseCommand']=_0xa27cd3,_0x5bc0f5[_0x45f501(0x363)]=_0x480282,_0x5bc0f5[_0x45f501(0x248)]=_0x4a253d,_0x5bc0f5['SetPivotFieldsConfigCommand']=_0x1f2204,_0x5bc0f5['SetPivotFilterCommand']=_0x14e82c,_0x5bc0f5[_0x45f501(0x2c8)]=_0x1aea10,_0x5bc0f5[_0x45f501(0x2ee)]=_0x203a31,_0x5bc0f5[_0x45f501(0x28d)]=_0x5e1c2b,_0x5bc0f5[_0x45f501(0x38e)]=_0x42da59,_0x5bc0f5[_0x45f501(0x9a)]=_0x3fecaa,_0x5bc0f5[_0x45f501(0x2ec)]=_0x41b531,_0x5bc0f5[_0x45f501(0x33c)]=_0x313c58,_0x5bc0f5['SetPivotValueFilterMutation']=_0x8a8125,_0x5bc0f5[_0x45f501(0x13c)]=_0x54bb4a,_0x5bc0f5['UpdateFieldPositionMutation']=_0x2b127c,_0x5bc0f5[_0x45f501(0x1cb)]=_0xf31997,_0x5bc0f5['UpdatePivotFieldSourceInfoMutation']=_0x33eee5,_0x5bc0f5['UpdatePivotTableSourceRangeCommand']=_0xff983e,_0x5bc0f5[_0x45f501(0x35e)]=_0x385c03,_0x5bc0f5[_0x45f501(0x152)]=_0x25ca2c,_0x5bc0f5[_0x45f501(0xcf)]=_0x263388,_0x5bc0f5[_0x45f501(0x3b8)]=_0x57b20d,_0x5bc0f5[_0x45f501(0x308)]=_0x3b344d,_0x5bc0f5[_0x45f501(0x12d)]=_0x40537f,_0x5bc0f5[_0x45f501(0x22a)]=_0xd7e43f,_0x5bc0f5[_0x45f501(0x132)]=_0x6b001,_0x5bc0f5[_0x45f501(0x173)]=_0x3c77b0,_0x5bc0f5[_0x45f501(0x3ba)]=_0x2de8eb,_0x5bc0f5[_0x45f501(0x2f1)]=_0x42c249,_0x5bc0f5[_0x45f501(0x120)]=_0x4e5185,_0x5bc0f5[_0x45f501(0x2ce)]=_0x32805f,_0x5bc0f5['getPivotTableInfo']=_0x342f43,_0x5bc0f5[_0x45f501(0xf0)]=_0x42a243,_0x5bc0f5[_0x45f501(0x370)]=_0x109750,Object[_0x45f501(0x38b)](_0x5bc0f5,Symbol[_0x45f501(0x20e)],{'value':'Module'});}));
|