@univerjs-pro/sheets-pivot 0.7.0-nightly.202505011607 → 0.7.0-nightly.202505031606

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1bafc7,_0x4cbb17){const _0x1aa134=_0x5549,_0x29fcd6=_0x1bafc7();while(!![]){try{const _0x45a698=-parseInt(_0x1aa134(0x359))/0x1+-parseInt(_0x1aa134(0x284))/0x2+-parseInt(_0x1aa134(0x463))/0x3+parseInt(_0x1aa134(0x464))/0x4+-parseInt(_0x1aa134(0x31b))/0x5+-parseInt(_0x1aa134(0x285))/0x6+-parseInt(_0x1aa134(0x268))/0x7*(-parseInt(_0x1aa134(0x1ce))/0x8);if(_0x45a698===_0x4cbb17)break;else _0x29fcd6['push'](_0x29fcd6['shift']());}catch(_0x433333){_0x29fcd6['push'](_0x29fcd6['shift']());}}}(_0x12df,0xb076b),function(_0x3218de,_0x10e462){const _0x16fc96=_0x5549;typeof exports=='object'&&typeof module<'u'?_0x10e462(exports,require(_0x16fc96(0x35e)),require('@univerjs/core'),require(_0x16fc96(0x350)),require(_0x16fc96(0x46a)),require(_0x16fc96(0x221)),require(_0x16fc96(0x46f)),require('@univerjs/sheets-filter'),require(_0x16fc96(0x3b0)),require(_0x16fc96(0x235))):typeof define==_0x16fc96(0x20c)&&define[_0x16fc96(0x37f)]?define([_0x16fc96(0x197),_0x16fc96(0x35e),_0x16fc96(0x1f9),_0x16fc96(0x350),'@univerjs/sheets',_0x16fc96(0x221),_0x16fc96(0x46f),_0x16fc96(0x1f4),_0x16fc96(0x3b0),_0x16fc96(0x235)],_0x10e462):(_0x3218de=typeof globalThis<'u'?globalThis:_0x3218de||self,_0x10e462(_0x3218de['UniverProSheetsPivot']={},_0x3218de[_0x16fc96(0x32d)],_0x3218de[_0x16fc96(0x380)],_0x3218de[_0x16fc96(0x18d)],_0x3218de[_0x16fc96(0x42d)],_0x3218de[_0x16fc96(0x221)],_0x3218de[_0x16fc96(0x33e)],_0x3218de[_0x16fc96(0x44c)],_0x3218de[_0x16fc96(0x2cc)],_0x3218de[_0x16fc96(0x307)]));}(this,function(_0x35c787,_0x426cf2,_0x6ffa6d,_0x3e6642,_0x2361cb,_0xcfe6e1,_0x225f82,_0x355c14,_0x217075,_0x2675f0){'use strict';const _0x6f5ed9=_0x5549;var _0xef0906=Object[_0x6f5ed9(0x304)],_0x246966=(_0xa346a,_0x10586f,_0x43f8d6)=>_0x10586f in _0xa346a?_0xef0906(_0xa346a,_0x10586f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43f8d6}):_0xa346a[_0x10586f]=_0x43f8d6,_0x47a2cd=(_0x257a31,_0x3aeaa8,_0x45ca6d)=>_0x246966(_0x257a31,typeof _0x3aeaa8!='symbol'?_0x3aeaa8+'':_0x3aeaa8,_0x45ca6d);const _0x1a1fcb=Number[_0x6f5ed9(0x2bd)](0x68139d2d),_0x10b9c0=0x10,_0x7f0533=0x1,_0x33898b='SHEET_PIVOT_TABLE_PLUGIN',_0x523e5a=0x1,_0x153431=_0x6f5ed9(0x303),_0x272524=_0x6f5ed9(0x1ec),_0xa422e9='#b2b2b2',_0x387636=_0x6f5ed9(0x27f),_0x4914e4=_0x6f5ed9(0x27f),_0x58a306='#eceeff',_0x5b7ed4=_0x6f5ed9(0x37b),_0x52857e=_0x6f5ed9(0x48c),_0x264153='#e6ebfa',_0x1f3b15=_0x6f5ed9(0x37b),_0x3212a2=_0x6f5ed9(0x48c),_0x45cfa4=_0x6f5ed9(0x43b),_0x5a5848=0xe,_0x164e72=0x6;var _0x202116=(_0x45f337=>(_0x45f337[_0x6f5ed9(0x30c)]=_0x6f5ed9(0x188),_0x45f337[_0x6f5ed9(0x243)]='new',_0x45f337))(_0x202116||{});const _0x1a58d5={'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':''}}},_0x399e9d=0x1e,_0xe02e1c={'b':{'s':0x1,'cl':{'rgb':_0xa422e9}},'l':{'s':0x1,'cl':{'rgb':_0xa422e9}},'r':{'s':0x1,'cl':{'rgb':_0xa422e9}},'t':{'s':0x1,'cl':{'rgb':_0xa422e9}}},_0xe319e1={'bg':{'rgb':_0x153431},'ht':0x2,'vt':0x2,'tb':0x1},_0xcc6d25={'bg':{'rgb':_0x272524},'ht':0x2,'vt':0x2,'tb':0x1},_0x2f0b61={'rowStyle':{'bg':{'rgb':_0x45cfa4},'bd':_0xe02e1c,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x1f3b15},'bd':null,'cl':{'rgb':_0x3212a2},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x264153},'vt':0x2},'cornerStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x58a306},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x387636},'vt':0x2},'leafStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x4914e4},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5b7ed4},'cl':{'rgb':_0x52857e},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xe02e1c,'vt':0x2}};function _0x55907e(_0x485475,_0x912f86,_0x123c4d){const _0x1c7e24=_0x6f5ed9,_0x300705=_0x485475[_0x1c7e24(0x446)](_0x6ffa6d[_0x1c7e24(0x2aa)]),_0x4200cb=_0x123c4d[_0x1c7e24(0x215)]('_');switch(_0x912f86){case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x34c)]:return _0x300705['t'](_0x1c7e24(0x396),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x379)]:return _0x300705['t'](_0x1c7e24(0x399),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x3d5)]:return _0x300705['t'](_0x1c7e24(0x3f9),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x212)]:return _0x300705['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x29e)]:return _0x300705['t'](_0x1c7e24(0x18f),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x336)]:return _0x300705['t'](_0x1c7e24(0x363),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x404)]:return _0x300705['t'](_0x1c7e24(0x468),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x40e)]:return _0x300705['t'](_0x1c7e24(0x3a2),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x3d8)]:return _0x300705['t'](_0x1c7e24(0x241),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:return _0x300705['t'](_0x1c7e24(0x1be),..._0x4200cb);}return'';}const _0x3ead80=(_0x346240,_0x4ad847,_0x3cb25f,_0x39e57a)=>{const _0x453afc=_0x6f5ed9;let _0x5c57b6;const _0x245c0a=_0x346240[_0x453afc(0x446)](_0x6ffa6d['IUniverInstanceService'])[_0x453afc(0x362)](_0x6ffa6d[_0x453afc(0x19f)][_0x453afc(0x335)]);if(!_0x245c0a)return null;const _0x133b12=_0x245c0a[_0x453afc(0x3aa)]();let _0x4fe2c0;if(_0x3cb25f&&(_0x4fe2c0=_0x133b12[_0x453afc(0x41e)](_0x3cb25f)),_0x4ad847!=null&&_0x4ad847['v']||(_0x4ad847==null?void 0x0:_0x4ad847['v'])===0x0){_0x5c57b6||(_0x5c57b6={});const _0x5edb7a=_0x7be21d(_0x4ad847['v']);typeof _0x5edb7a=='number'?_0x5c57b6['t']=_0x6ffa6d[_0x453afc(0x326)][_0x453afc(0x407)]:typeof _0x5edb7a==_0x453afc(0x179)&&(_0x5c57b6['t']=_0x6ffa6d[_0x453afc(0x326)][_0x453afc(0x3c9)]),_0x5c57b6['v']=_0x5edb7a;}if((_0x4ad847!=null&&_0x4ad847['i']||(_0x4ad847==null?void 0x0:_0x4ad847['i'])===0x0)&&(_0x5c57b6||(_0x5c57b6={}),_0x5c57b6['fi']=_0x4ad847['i']),_0x4ad847!=null&&_0x4ad847['s']&&(_0x5c57b6||(_0x5c57b6={}),_0x5c57b6['pbt']=_0x4ad847['s']),_0x3cb25f&&(_0x5c57b6||(_0x5c57b6={}),_0x5c57b6['s']=_0x4fe2c0),_0x39e57a&&_0x5c57b6!=null&&_0x5c57b6['v']&&_0x5c57b6[_0x453afc(0x28e)]!==_0x426cf2[_0x453afc(0x428)][_0x453afc(0x246)]&&_0x5c57b6[_0x453afc(0x28e)]!==_0x426cf2['PivotCellStyleTypeEnum'][_0x453afc(0x19c)]){const _0xcecef4=String(_0x5c57b6['v']),{dateType:_0x2d7b6c}=_0x39e57a;_0x5c57b6['v']=_0x55907e(_0x346240,_0x2d7b6c,_0xcecef4),_0x5c57b6['t']=_0x6ffa6d['CellValueType'][_0x453afc(0x3c9)];}return _0x5c57b6;},_0x161c8f=(_0x14bc01,_0x4a61de,_0x2b4f61,_0x47b050)=>{const _0x2fe39b=_0x6f5ed9;var _0x51ae21,_0x53b186,_0x845a07,_0x15bdfb,_0x5b25a5,_0x2b88fd,_0x541ef8,_0x1c6401,_0x52a905,_0x2fe233,_0x1888a7,_0x24675d,_0x4b9622,_0x53a1ab;const _0x38ee23=_0x2b4f61[_0x2fe39b(0x1fb)],{cornerView:_0x5858d6,rowView:_0x311a01,colView:_0x226187,dataView:_0x2f8460,pageView:_0x188990,formatMap:_0x16cc7e,groupInfo:_0x3d6958}=_0x4a61de,{row:_0x3a7488,col:_0x17ee02}=_0x38ee23,_0x3f1f40=new _0x6ffa6d[(_0x2fe39b(0x291))](),_0x5d7da8={},_0x31908d={},_0x47bf24={},_0x46aa1e={},_0x7ef205={};let _0x54f97a=_0x3a7488,_0x158987=_0x17ee02;Object[_0x2fe39b(0x1b3)](_0x188990[_0x2fe39b(0x2b4)])[_0x2fe39b(0x3a7)](_0x1f715d=>{const _0x11a1d9=_0x2fe39b;Object[_0x11a1d9(0x1b3)](_0x188990[_0x11a1d9(0x2b4)][Number(_0x1f715d)])['forEach'](_0x45504a=>{const _0x42a28c=_0x11a1d9,_0x241e5f={..._0x188990['data'][Number(_0x1f715d)][Number(_0x45504a)]};_0x3f1f40[_0x42a28c(0x41e)](Number(_0x1f715d)+_0x54f97a,Number(_0x45504a)+_0x158987,_0x3ead80(_0x14bc01,_0x241e5f,_0x2f0b61[_0x42a28c(0x1a1)]));});});const _0x1d4876=Object['keys'](_0x188990[_0x2fe39b(0x2b4)])['length'];_0x54f97a+=_0x1d4876+(_0x1d4876?_0x523e5a:0x0);const _0x5f5cac=_0x5858d6[_0x2fe39b(0x471)](),_0x1a5431=_0x5858d6[_0x2fe39b(0x280)]();for(let _0xa54549=0x0;_0xa54549<_0x5f5cac;_0xa54549++)for(let _0x4e1bc9=0x0;_0x4e1bc9<_0x1a5431;_0x4e1bc9++){const _0xa2ff44={...(_0x53b186=(_0x51ae21=_0x5858d6[_0x2fe39b(0x2b4)])==null?void 0x0:_0x51ae21[_0xa54549])==null?void 0x0:_0x53b186[_0x4e1bc9]};_0xa2ff44&&((_0x845a07=_0x311a01['headerMap'][_0x4e1bc9])!=null&&_0x845a07[_0x2fe39b(0x417)])&&_0x4e1bc9===_0x1a5431-0x1&&_0xa54549===_0x5f5cac-0x1&&(_0xa2ff44['v']=''+_0x47b050[_0x2fe39b(0x3e5)]),_0x3f1f40[_0x2fe39b(0x41e)](_0xa54549+_0x54f97a,_0x4e1bc9+_0x158987,_0x3ead80(_0x14bc01,_0xa2ff44,_0x2f0b61[_0x2fe39b(0x385)]));}for(let _0x8baf2e=0x0;_0x8baf2e<_0x5858d6[_0x2fe39b(0x3ce)][_0x2fe39b(0x293)];_0x8baf2e++)_0x5858d6[_0x2fe39b(0x3ce)][_0x8baf2e]&&(_0x47bf24[''+(_0x8baf2e+_0x158987)]=_0x5858d6['info'][_0x8baf2e]);_0x158987+=_0x1a5431;const _0x49fb2f=_0x226187['headerMap'],_0x33eaee=_0x226187[_0x2fe39b(0x48f)]()>=0x0?_0x226187[_0x2fe39b(0x48f)]()+0x1:0x0,_0x32c1cd=_0x226187[_0x2fe39b(0x479)]()>=0x0?_0x226187['getLastCol']()+0x1:0x0;for(let _0x18be35=0x0;_0x18be35<_0x32c1cd;_0x18be35++){for(let _0x118036=0x0;_0x118036<_0x33eaee;_0x118036++){const _0x4658f8={...(_0x5b25a5=(_0x15bdfb=_0x226187[_0x2fe39b(0x2b4)])==null?void 0x0:_0x15bdfb[_0x118036])==null?void 0x0:_0x5b25a5[_0x18be35]},_0x3c1248=(_0x2b88fd=_0x49fb2f[_0x118036])==null?void 0x0:_0x2b88fd['tableFieldId'],_0x3f4e51=_0x16cc7e[_0x3c1248],_0x3dbf4c=_0x3d6958[_0x3c1248];_0x4658f8&&(_0x4658f8['v']=_0x324cc3(_0x4658f8,_0x118036===0x0&&((_0x541ef8=_0x226187[_0x2fe39b(0x273)](_0x18be35+0x1))==null?void 0x0:_0x541ef8['isValue']),_0x3f4e51,_0x47b050));let _0x5070ed;_0x3f4e51?_0x5070ed={..._0x2f0b61[_0x2fe39b(0x3b2)],'n':{'pattern':_0x3f4e51}}:_0x5070ed={..._0x2f0b61[_0x2fe39b(0x3b2)]},_0x3f1f40['setValue'](_0x118036+_0x54f97a,_0x18be35+_0x158987,_0x3ead80(_0x14bc01,_0x4658f8,_0x5070ed,_0x3dbf4c));}_0x226187[_0x2fe39b(0x3ce)][_0x18be35]&&(_0x31908d[''+(_0x18be35+_0x158987)]=_0x226187[_0x2fe39b(0x3ce)][_0x18be35]),_0x226187['headerMap'][_0x18be35+0x1]&&(_0x7ef205[''+(_0x18be35+_0x54f97a+0x1)]=_0x226187[_0x2fe39b(0x447)][_0x18be35+0x1]);}_0x54f97a+=_0x5f5cac;const _0x495cf3=_0x311a01[_0x2fe39b(0x447)],_0x20edde=_0x311a01[_0x2fe39b(0x48f)]()>=0x0?_0x311a01[_0x2fe39b(0x48f)]()+0x1:0x0,_0x39dd58=_0x311a01[_0x2fe39b(0x479)]()>=0x0?_0x311a01[_0x2fe39b(0x479)]()+0x1:0x0;for(let _0x473e38=0x0;_0x473e38<_0x20edde;_0x473e38++){for(let _0x49ae68=0x0;_0x49ae68<_0x39dd58;_0x49ae68++){const _0x3a4e00={...(_0x52a905=(_0x1c6401=_0x311a01[_0x2fe39b(0x2b4)])==null?void 0x0:_0x1c6401[_0x473e38])==null?void 0x0:_0x52a905[_0x49ae68]},_0x2711b0=(_0x2fe233=_0x495cf3[_0x49ae68])==null?void 0x0:_0x2fe233[_0x2fe39b(0x1ad)],_0x397944=_0x16cc7e[_0x2711b0],_0x31aa5c=_0x3d6958[_0x2711b0];_0x3a4e00&&(_0x3a4e00['v']=_0x324cc3(_0x3a4e00,!0x1,_0x397944,_0x47b050));let _0x49364e;_0x311a01[_0x2fe39b(0x3ce)][_0x473e38][_0x2fe39b(0x244)]===_0x311a01['getColCount']()?_0x49364e=_0x2f0b61['leafStyle']:_0x311a01[_0x2fe39b(0x3ce)][_0x473e38][_0x2fe39b(0x1fa)]?_0x49364e=_0x311a01[_0x2fe39b(0x3ce)][_0x473e38][_0x2fe39b(0x244)]===0x0?_0x2f0b61[_0x2fe39b(0x333)]:_0x2f0b61[_0x2fe39b(0x210)]:_0x49364e=_0x2f0b61['rowStyle'],_0x397944&&(_0x49364e={..._0x49364e,'n':{'pattern':_0x397944}}),_0x3f1f40[_0x2fe39b(0x41e)](_0x473e38+_0x54f97a,_0x49ae68+_0x17ee02,_0x3ead80(_0x14bc01,_0x3a4e00,_0x49364e,_0x31aa5c));}_0x311a01[_0x2fe39b(0x3ce)][_0x473e38]&&(_0x5d7da8[''+(_0x473e38+_0x54f97a)]=_0x311a01[_0x2fe39b(0x3ce)][_0x473e38]),_0x311a01[_0x2fe39b(0x447)][_0x473e38]&&(_0x46aa1e[''+(_0x473e38+_0x17ee02)]=_0x311a01[_0x2fe39b(0x447)][_0x473e38]);}const _0x3b3d80=_0x2f8460[_0x2fe39b(0x471)](),_0x5946ee=_0x2f8460[_0x2fe39b(0x280)]();for(let _0x545153=0x0;_0x545153<_0x3b3d80;_0x545153++)for(let _0xbb69e0=0x0;_0xbb69e0<_0x5946ee;_0xbb69e0++){const _0x465373={...(_0x24675d=(_0x1888a7=_0x2f8460['data'])==null?void 0x0:_0x1888a7[_0x545153])==null?void 0x0:_0x24675d[_0xbb69e0]};let _0xf76bbf;_0x311a01[_0x2fe39b(0x3ce)][_0x545153][_0x2fe39b(0x1fa)]?_0xf76bbf=_0x311a01['info'][_0x545153]['level']===0x0?_0x2f0b61['grandTotal']:_0x2f0b61[_0x2fe39b(0x210)]:_0xf76bbf=_0x2f0b61[_0x2fe39b(0x227)];const _0x273372=_0x311a01[_0x2fe39b(0x3ce)][_0x545153][_0x2fe39b(0x43e)],_0x16357e=_0x226187[_0x2fe39b(0x3ce)][_0xbb69e0]['valueIndex'],_0x4770d2=Math[_0x2fe39b(0x387)](_0x273372,_0x16357e),_0x375c52=_0x2b4f61[_0x2fe39b(0x427)][_0x2fe39b(0x2a5)][_0x2fe39b(0x36a)]();let _0x1389a6='';_0x4770d2<0x0?_0x1389a6=(_0x4b9622=_0x375c52[0x0])!=null?_0x4b9622:'':_0x1389a6=(_0x53a1ab=_0x375c52[_0x4770d2])!=null?_0x53a1ab:'';const _0x2f2912=_0x16cc7e[_0x1389a6];_0x2f2912&&(_0xf76bbf={..._0xf76bbf,'n':{'pattern':_0x2f2912}}),_0x3f1f40['setValue'](_0x545153+_0x54f97a,_0xbb69e0+_0x158987,_0x3ead80(_0x14bc01,_0x465373,_0xf76bbf));}return{'valueMatrix':_0x3f1f40,'rowInfo':_0x5d7da8,'colInfo':_0x31908d,'cornerInfo':_0x47bf24,'rowHeaderMap':_0x46aa1e,'colHeaderMap':_0x7ef205};};function _0x324cc3(_0x5d8bff,_0x2bbbcd,_0xee115b,_0x1fde32){const _0x20e036=_0x6f5ed9;let _0xfba23a=_0x5d8bff['v'];_0x2bbbcd&&(_0xfba23a=''+_0x1fde32[_0x20e036(0x3e5)]);const _0x2d0764=_0x5d8bff['t']&&(_0x5d8bff['t']&_0x426cf2[_0x20e036(0x277)][_0x20e036(0x33c)])>0x0;if(_0x2d0764&&(_0xfba23a=''+_0x1fde32[_0x20e036(0x25a)]),_0x5d8bff['s']===_0x426cf2[_0x20e036(0x428)][_0x20e036(0x19c)]){let _0x32fafd=_0xfba23a,_0x28ffa1='';_0x426cf2['isPrefixValue'](_0xfba23a)&&(_0x32fafd=_0xfba23a['prefix'],_0x28ffa1=_0xfba23a[_0x20e036(0x1d0)]);const _0x157b22=_0xee115b&&!_0x2d0764?_0x6ffa6d['numfmt'][_0x20e036(0x242)](_0xee115b,Number(_0x32fafd)):_0x32fafd;_0x28ffa1?_0xfba23a=_0x157b22+'\x20'+_0x28ffa1:_0xfba23a=_0x157b22+'\x20'+_0x1fde32[_0x20e036(0x34e)];}else _0x5d8bff['s']===_0x426cf2['PivotCellStyleTypeEnum'][_0x20e036(0x246)]&&(_0xfba23a=_0xfba23a+'\x20'+_0x1fde32[_0x20e036(0x17f)]);return _0xfba23a;}function _0x7be21d(_0x4c6b50){const _0x2dfc46=_0x6f5ed9;if(_0x426cf2['isErrorValue'](_0x4c6b50)){const {errorType:_0x2a32a3}=_0x4c6b50;switch(_0x2a32a3){case _0x426cf2['PivotErrorTypeEnum'][_0x2dfc46(0x27d)]:return _0x3e6642[_0x2dfc46(0x3a5)]['DIV_BY_ZERO'];case _0x426cf2[_0x2dfc46(0x1ab)]['NotNumber']:return _0x3e6642['ErrorType'][_0x2dfc46(0x1bd)];case _0x426cf2[_0x2dfc46(0x1ab)][_0x2dfc46(0x238)]:return _0x3e6642[_0x2dfc46(0x3a5)][_0x2dfc46(0x3b6)];case _0x426cf2[_0x2dfc46(0x1ab)]['NotName']:return _0x3e6642[_0x2dfc46(0x3a5)][_0x2dfc46(0x3b6)];case _0x426cf2[_0x2dfc46(0x1ab)][_0x2dfc46(0x270)]:return _0x3e6642[_0x2dfc46(0x3a5)][_0x2dfc46(0x279)];}}return _0x4c6b50;}function _0x5b7a08(_0x26e013,_0x446648,_0xdea980=!0x1,_0x174b29=!0x1){const _0x2ad8f8=_0x6f5ed9,{data:_0xad1095}=_0x446648,_0x49dd35=_0x446648[_0x2ad8f8(0x471)](),_0x21dc8b=_0x446648[_0x2ad8f8(0x280)]();if(_0x49dd35<=0x0||_0x21dc8b<=0x0)return[];const _0x3557f6=_0x446648[_0x2ad8f8(0x479)](),_0x4759b6=_0x446648[_0x2ad8f8(0x48f)](),_0x1ef9b0=_0x174b29?_0x4759b6>=0x0?_0x4759b6+0x1:0x0:_0x49dd35,_0x292d29=_0x174b29?_0x3557f6>=0x0?_0x3557f6+0x1:0x0:_0x21dc8b,{row:_0x3b7873,col:_0x351ce5}=_0x26e013,_0x1b5643=_0x3b7873,_0x199506=_0x351ce5;if(_0xdea980){const _0x56be03=[];for(const [_0x55c3dc,_0x35022d]of Object['entries'](_0xad1095))for(const [_0x5686b2,_0x28b36c]of Object[_0x2ad8f8(0x37a)](_0x35022d))_0x56be03[_0x2ad8f8(0x321)](_0x6ffa6d['cellToRange'](_0x1b5643+Number(_0x55c3dc),_0x199506+Number(_0x5686b2)));return _0x56be03;}else{const _0x3bfcc2=_0x174b29?_0x1ef9b0>0x0?0x1:0x0:0x1,_0x5bb5e2=_0x174b29?_0x292d29>0x0?0x1:0x0:0x1,_0x109ae0=_0x3b7873+_0x1ef9b0-_0x3bfcc2,_0x35c237=_0x351ce5+_0x292d29-_0x5bb5e2;return[{'startRow':_0x1b5643,'startColumn':_0x199506,'endRow':_0x109ae0,'endColumn':_0x35c237}];}}const _0x838977=_0x6f5ed9(0x349),_0x4bccec=_0x6f5ed9(0x422);var _0x1222bc=(_0x3f3c20=>(_0x3f3c20[_0x6f5ed9(0x1f3)]=_0x6f5ed9(0x1ee),_0x3f3c20[_0x6f5ed9(0x2ab)]=_0x6f5ed9(0x183),_0x3f3c20['AddPivotField']=_0x6f5ed9(0x232),_0x3f3c20[_0x6f5ed9(0x34d)]=_0x6f5ed9(0x34d),_0x3f3c20[_0x6f5ed9(0x494)]=_0x6f5ed9(0x18c),_0x3f3c20[_0x6f5ed9(0x488)]=_0x6f5ed9(0x1e3),_0x3f3c20[_0x6f5ed9(0x196)]=_0x6f5ed9(0x26b),_0x3f3c20['SetPivotCollapse']=_0x6f5ed9(0x26f),_0x3f3c20[_0x6f5ed9(0x2d7)]='setPivotFilter',_0x3f3c20[_0x6f5ed9(0x177)]=_0x6f5ed9(0x231),_0x3f3c20['SetPivotSetting']=_0x6f5ed9(0x2a9),_0x3f3c20[_0x6f5ed9(0x449)]=_0x6f5ed9(0x3ef),_0x3f3c20[_0x6f5ed9(0x3cf)]=_0x6f5ed9(0x20f),_0x3f3c20['DrillDown']=_0x6f5ed9(0x299),_0x3f3c20[_0x6f5ed9(0x2c9)]=_0x6f5ed9(0x415),_0x3f3c20[_0x6f5ed9(0x3db)]=_0x6f5ed9(0x2a8),_0x3f3c20[_0x6f5ed9(0x234)]=_0x6f5ed9(0x408),_0x3f3c20))(_0x1222bc||{});const _0x18ed96={'sheets-pivot.blankValue':_0x6f5ed9(0x239),'sheets-pivot.columnName':_0x6f5ed9(0x454),'sheets-pivot.subTotalText':_0x6f5ed9(0x351),'sheets-pivot.grandTotalText':_0x6f5ed9(0x33b),'sheets-pivot.valueText':_0x6f5ed9(0x435),'sheets-pivot.averageName':_0x6f5ed9(0x240),'sheets-pivot.countName':_0x6f5ed9(0x3cb),'sheets-pivot.countNumsName':_0x6f5ed9(0x3cb),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x6f5ed9(0x30b),'sheets-pivot.productName':_0x6f5ed9(0x353),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x6f5ed9(0x366),'sheets-pivot.sumName':_0x6f5ed9(0x41c),'sheets-pivot.varName':_0x6f5ed9(0x30e),'sheets-pivot.varpName':_0x6f5ed9(0x328),'sheets-pivot.subTotal':_0x6f5ed9(0x19c),'sheets-pivot.grandTotal':_0x6f5ed9(0x33b),'sheets-pivot.value':_0x6f5ed9(0x1d0),'sheets-pivot.blank':_0x6f5ed9(0x33c),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x6f5ed9(0x248),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x6f5ed9(0x1ba)},_0xd22ebc={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x1f0071=_0x6ffa6d[_0x6f5ed9(0x424)]('pivotPerformCheck'),_0x1b527c=_0x6ffa6d[_0x6f5ed9(0x21e)](_0x6f5ed9(0x2df));var _0x27353a=(_0x4d55eb=>(_0x4d55eb[_0x6f5ed9(0x39c)]=_0x6f5ed9(0x39c),_0x4d55eb[_0x6f5ed9(0x374)]='delete',_0x4d55eb[_0x6f5ed9(0x1c3)]=_0x6f5ed9(0x1c3),_0x4d55eb))(_0x27353a||{}),_0x1bdb8f=(_0x122448=>(_0x122448[_0x6f5ed9(0x1b6)]='add',_0x122448[_0x6f5ed9(0x2e5)]=_0x6f5ed9(0x2bc),_0x122448['Delete']=_0x6f5ed9(0x374),_0x122448))(_0x1bdb8f||{});const _0x74b1b3={0x0:'A',0x1:'x',0x2:'g',0x3:'9',0x4:'Q',0x5:'B',0x6:'O',0x7:'t',0x8:'C',0x9:'8','R':'0','J':'1','c':'2','n':'3','B':'4','G':'5','Q':'6','M':'7','h':'a','r':'b','U':'c','j':'d','L':'e','w':'f','Y':'h','a':'i','d':'j','D':'k','z':'l','b':'m','N':'n','p':'o','Z':'p','E':'q','v':'r','W':'s','x':'u','m':'v','X':'w','l':'y','C':'z','T':'D','P':'E','y':'F','I':'G','H':'H','i':'I','e':'J','u':'K','O':'L','k':'M','V':'N','t':'P','S':'R','q':'S','f':'T','F':'U','g':'V','A':'W','s':'X','o':'Y','K':'Z'},_0x4c8fda='wxNU7apN\x20jLUvlZ7apN(zaULNWL,\x20ZxrzaUuLl)\x20{\x20\x20\x20\x207vl\x20{\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20zaULNWLiNwpthv70vvhl\x20=\x20zaULNWL.WZza7(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20pva2aNkLWWh2L\x20=\x20eq6V.ZhvWL(h7pr(zaULNWLiNwpthv70vvhl[c]));\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(!pva2aNkLWWh2L.xj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pva2aNkLWWh2L.xj\x20=\x20VxbrLv(zaULNWLiNwpthv70vvhl[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20aWApvDLv\x20=\x207lZLpw\x20ApvDLvIzprhzqUpZL\x20!==\x20\x27xNjLwaNLj\x27\x20&&\x20WLzw\x20aNW7hNULpw\x20ApvDLvIzprhzqUpZL;\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20UpN7L17\x20=\x20aWApvDLv\x20?\x20WLzw\x20:\x20XaNjpX;\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20bLWWh2LApvj\x20=\x20UpN7L17.__5hWLQB__.ZhvWL(zaULNWLiNwpthv70vvhl[c]);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20bLWWh2L\x20=\x20UpN7L17.__HL1__.W7vaN2awl(bLWWh2LApvj);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Wa2Nh7xvLApvj\x20=\x20UpN7L17.__5hWLQB__.ZhvWL(zaULNWLiNwpthv70vvhl[n]);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Wa2Nh7xvL\x20=\x20UpN7L17.__HL1__.W7vaN2awl(Wa2Nh7xvLApvj);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Wa2Nghzaj\x20=\x20UpN7L17.__mLvawl__(Wa2Nh7xvL,\x20bLWWh2L,\x20ZxrzaUuLl);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20jpbhaN\x20=\x20pva2aNkLWWh2L.jb;\x20\x20\x20\x20\x20\x20\x20\x20wxNU7apN\x20aWTpbhaNkh7UYaN2(pth77LvN,\x20pHpW7)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Zh77LvN\x20=\x20pth77LvN.vLZzhUL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20YpW7\x20=\x20pHpW7.vLZzhUL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Zh77LvNthv7W\x20=\x20Zh77LvN.WZza7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20YpW7thv7W\x20=\x20YpW7.WZza7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(!Zh77LvN.aNUzxjLW(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20Zh77LvN\x20===\x20YpW7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(Zh77LvNthv7W.zLN27Y\x20<\x20c\x20||\x20Zh77LvNthv7W[R]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20whzWL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Zh77LvNqxwwa1\x20=\x20Zh77LvNthv7W.WzaUL(J).dpaN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20YpW7qxwwa1\x20=\x20YpW7thv7W.WzaUL(-Zh77LvNthv7W.zLN27Y\x20+\x20J).dpaN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20Zh77LvNqxwwa1\x20===\x20YpW7qxwwa1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zL7\x20jpbhaNghzaj\x20=\x20(jpbhaN\x20&&\x20jpbhaN.zLN27Y)\x20?\x20jpbhaN.WpbL((jbi7Lb)\x20=>\x20aWTpbhaNkh7UYaN2(jbi7Lb,\x20zpUh7apN.YpW7NhbL))\x20:\x207vxL;\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(zpUh7apN.YpW7NhbL\x20===\x20\x27zpUhzYpW7\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jpbhaNghzaj\x20=\x207vxL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20mhzaj\x20=\x20Wa2Nghzaj\x20&&\x20jpbhaNghzaj;\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mhzaj,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bLWWh2L:\x20pva2aNkLWWh2L,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Uh7UY\x20(Lvvpv)\x20{\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mhzaj:\x20whzWL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bLWWh2L:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x1ca9ca={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3bf),'handler':()=>!0x0},_0x535bb2={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x1e5),'handler':()=>!0x0},_0x2806a0={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x5533a9={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x295),'handler':()=>!0x0},_0x49280b={'type':_0x6ffa6d['CommandType']['MUTATION'],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x44de46=_0xe21a47=>{const _0x51d940=_0x6f5ed9;var _0x3e6c47;return((_0x3e6c47=_0xe21a47['body'])==null?void 0x0:_0x3e6c47[_0x51d940(0x40d)]['replace'](/\r\n$/,''))||'';};class _0x535585 extends _0x426cf2[_0x6f5ed9(0x2f9)]{constructor(_0x1943ba,_0x4811ee){const _0x21d13c=_0x6f5ed9;super(),_0x47a2cd(this,_0x21d13c(0x332),{}),_0x47a2cd(this,_0x21d13c(0x19e)),_0x47a2cd(this,_0x21d13c(0x2e0)),(this[_0x21d13c(0x19e)]=_0x4811ee,this[_0x21d13c(0x2e0)]=_0x1943ba);}[_0x6f5ed9(0x44b)](){const _0x4caecb=_0x6f5ed9;for(const _0x4cdb03 in this[_0x4caecb(0x41a)]){const _0x4e24ac=this['dataFields'][_0x4cdb03],_0x57d951=_0x4e24ac[_0x4caecb(0x18a)]();this[_0x4caecb(0x332)][_0x57d951]=_0x4e24ac[_0x4caecb(0x222)]();}}[_0x6f5ed9(0x41f)](){const _0x104209=_0x6f5ed9,_0x1f35d2=this[_0x104209(0x2e0)];return _0x5d4e05[_0x104209(0x432)](_0x1f35d2);}[_0x6f5ed9(0x2e2)](_0x4d8f71){const _0xdd76b6=_0x6f5ed9,_0x18b982=this[_0xdd76b6(0x41a)][_0x4d8f71][_0xdd76b6(0x43c)];delete this[_0xdd76b6(0x41a)][_0x4d8f71],delete this[_0xdd76b6(0x332)][_0x18b982];}[_0x6f5ed9(0x400)](_0xc3b16a){const _0x5b78ce=_0x6f5ed9;this[_0x5b78ce(0x41a)][_0xc3b16a['getId']()]=_0xc3b16a;}[_0x6f5ed9(0x2c6)](_0x458e37){const _0x60c0f7=_0x6f5ed9;var _0x18ac90,_0x4068af;const _0x44bda9=this[_0x60c0f7(0x2e0)][_0x60c0f7(0x292)](_0x458e37);if(_0x44bda9){const {unitId:_0x2b3cf5,subUnitId:_0x5a4c39}=_0x44bda9,_0x929b50=(_0x18ac90=this[_0x60c0f7(0x2e0)][_0x60c0f7(0x34a)](_0x2b3cf5,_0x5a4c39,_0x458e37))==null?void 0x0:_0x18ac90['sourceRangeInfo'];this[_0x60c0f7(0x2e0)][_0x60c0f7(0x22a)]({'token':_0x458e37,'type':_0x27353a[_0x60c0f7(0x374)],'dataRangeInfo':_0x929b50});}(_0x4068af=this['getCollection'](_0x458e37))==null||_0x4068af['dispose'](),delete this['collections'][_0x458e37];}['getRangeKey'](_0x260bdf,_0xdcefa0){const {sheetName:_0x22e023,unitId:_0x46d351,range:_0x5cb41f}=_0x260bdf,{startRow:_0xfac709,endRow:_0x5f49a3}=_0x5cb41f;return _0x3e6642['serializeRangeWithSpreadsheet'](_0x46d351,_0x22e023,{'startRow':_0xfac709,'endRow':_0x5f49a3,'startColumn':_0xdcefa0,'endColumn':_0xdcefa0});}[_0x6f5ed9(0x377)](_0x34f0fd){const _0x33736e=_0x6f5ed9;return this[_0x33736e(0x41a)][this[_0x33736e(0x332)][_0x34f0fd]];}[_0x6f5ed9(0x3a1)](_0x6a9295,_0x38b565){const _0x1f913d=_0x6f5ed9;this[_0x1f913d(0x332)][_0x6a9295]=_0x38b565;}[_0x6f5ed9(0x482)](_0xe8f3e,_0x55ab67){const _0x1b4544=_0x6f5ed9;this[_0x1b4544(0x332)][_0x55ab67]=this[_0x1b4544(0x332)][_0xe8f3e],delete this[_0x1b4544(0x332)][_0xe8f3e];}[_0x6f5ed9(0x1c1)](_0xfd38bc,_0x33929c,_0x57bc9d,_0x4218ab){const _0x35f49d=_0x6f5ed9,_0xb2d4f8=new _0x426cf2['FieldsCollection'](this);_0xb2d4f8[_0x35f49d(0x269)](_0x33929c);const _0x527681=[];let _0x307b9b=0x0;for(const _0x560963 of _0xb2d4f8['fieldIds']){const _0x533e46=this[_0x35f49d(0x18a)](_0x57bc9d,_0x307b9b),_0x34bdc2=this[_0x35f49d(0x41a)][_0x560963];_0x34bdc2&&(_0x34bdc2[_0x35f49d(0x43c)]=_0x533e46,this['setRangeKeyMap'](_0x533e46,_0x560963),_0x527681[_0x35f49d(0x321)]({'index':_0x307b9b,'dataField':_0x34bdc2})),_0x307b9b++;}return this[_0x35f49d(0x37c)](_0xfd38bc,_0xb2d4f8,_0x57bc9d,_0x4218ab),{'collection':_0xb2d4f8,'updateDataFieldList':_0x527681};}[_0x6f5ed9(0x394)](_0x21dd08,_0x5a70a2){const _0x586c30=_0x6f5ed9;return _0x21dd08[_0x586c30(0x2c5)]===_0x6ffa6d[_0x586c30(0x434)]['COLUMN']?{'startRow':0x0,'startColumn':_0x21dd08['startColumn'],'endRow':_0x5a70a2[_0x586c30(0x471)]()-0x1,'endColumn':_0x21dd08[_0x586c30(0x3e9)]}:{'startRow':_0x21dd08['startRow'],'startColumn':_0x21dd08[_0x586c30(0x477)],'endRow':_0x21dd08[_0x586c30(0x272)],'endColumn':_0x21dd08['endColumn']};}['createCollectionWithDataRange'](_0x3008e8){const _0x4c8c09=_0x6f5ed9,{sheetName:_0x40e88b,range:_0x66cde7}=_0x3008e8,_0x3edc80=this['_univerInstanceService'][_0x4c8c09(0x362)](_0x6ffa6d[_0x4c8c09(0x19f)]['UNIVER_SHEET']),_0x4c40e4=_0x3edc80['getSheetBySheetName'](_0x40e88b),_0x3d0c0c=_0x4c40e4[_0x4c8c09(0x3b8)](),{startColumn:_0x3ef7c5,startRow:_0x372ddd,endColumn:_0x321c4e}=this[_0x4c8c09(0x394)](_0x66cde7,_0x4c40e4),_0x22fc9f=_0x3edc80['getStyles'](),_0x3ed20e=new _0x426cf2[(_0x4c8c09(0x1e1))](this);_0x3ed20e[_0x4c8c09(0x37d)](_0x3008e8);const _0x3993ce=[],_0x4958b6={};for(let _0x5edbea=_0x3ef7c5;_0x5edbea<=_0x321c4e;_0x5edbea++){const _0x2b8960=_0x3d0c0c[_0x4c8c09(0x3d6)](_0x372ddd,_0x5edbea),_0x2fef11=this['getRangeKey'](_0x3008e8,_0x5edbea),_0x4e604d=this[_0x4c8c09(0x377)](_0x2fef11);if(_0x4e604d)_0x3ed20e[_0x4c8c09(0x2ef)](_0x4e604d[_0x4c8c09(0x222)](),_0x4e604d[_0x4c8c09(0x459)]());else{const _0x160b54=this[_0x4c8c09(0x1dd)]();let _0x91cdf3=this[_0x4c8c09(0x1d6)](_0x2b8960,_0x22fc9f,_0x4958b6);_0x426cf2[_0x4c8c09(0x2ec)](_0x91cdf3)&&(_0x91cdf3=_0x6ffa6d['numfmt']['format'](_0x91cdf3['f'],Number(_0x91cdf3['v'])));const _0x43e258=this['uniqueDataFieldName'](_0x91cdf3,_0x5edbea),_0x374092=new _0x426cf2[(_0x4c8c09(0x3c7))](_0x160b54,_0x43e258,_0x426cf2[_0x4c8c09(0x474)](0x3));_0x374092[_0x4c8c09(0x43c)]=_0x2fef11,this[_0x4c8c09(0x41a)][_0x160b54]=_0x374092,_0x3ed20e[_0x4c8c09(0x2ef)](_0x160b54,_0x43e258),_0x3993ce[_0x4c8c09(0x321)]({'index':_0x5edbea,'dataField':_0x374092});}}return{'updateDataFieldList':_0x3993ce,'collection':_0x3ed20e};}['_getAutoName'](_0x359efa){const _0x1dfcfe=_0x6f5ed9;return this['_host']['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x6ffa6d[_0x1dfcfe(0x44f)](_0x359efa);}[_0x6f5ed9(0x40f)](_0x105c1d,_0x36534a){const _0x493dc8=_0x6f5ed9;return _0x105c1d==null||_0x105c1d===''?this[_0x493dc8(0x356)](_0x36534a):String(_0x105c1d);}[_0x6f5ed9(0x3d9)](_0x5f0381){const _0x1c425c=_0x6f5ed9;return this[_0x1c425c(0x27c)][_0x5f0381];}[_0x6f5ed9(0x37c)](_0x20b387,_0x7a2fd2,_0x5e60b8,_0x282d62){const _0x28f18d=_0x6f5ed9;this[_0x28f18d(0x27c)][_0x20b387]=_0x7a2fd2,_0x7a2fd2[_0x28f18d(0x37d)](_0x5e60b8),this[_0x28f18d(0x2e0)][_0x28f18d(0x22a)]({'token':_0x20b387,'type':_0x27353a[_0x28f18d(0x39c)],'dataRangeInfo':_0x5e60b8,'targetCellInfo':_0x282d62});}[_0x6f5ed9(0x320)](_0x4590a9,_0x398cb2){const _0x393d86=_0x6f5ed9,_0x4f5bcd=this[_0x393d86(0x3d9)](_0x4590a9),_0x4c3134=_0x4f5bcd['getFieldIds']();let _0x1f6b41=0x0;for(const _0x40cad4 of _0x4c3134){const _0x12fca2=_0x4f5bcd[_0x393d86(0x229)](_0x40cad4),_0x172d57=this[_0x393d86(0x18a)](_0x398cb2,_0x1f6b41);this[_0x393d86(0x482)](_0x12fca2[_0x393d86(0x43c)],_0x172d57),_0x1f6b41++;}}[_0x6f5ed9(0x329)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x6f5ed9(0x39a)](_0x1cca9f,_0x2dd12e){const _0xa086fd=_0x6f5ed9;if(this['getCollection'](_0x1cca9f)){const _0x1ce440=this[_0xa086fd(0x382)](_0x2dd12e),_0x69a312=[];for(const _0x23d15f of _0x1ce440)this[_0xa086fd(0x332)][_0x23d15f]!==void 0x0&&_0x69a312[_0xa086fd(0x321)](this[_0xa086fd(0x332)][_0x23d15f]);const _0x322e22=this[_0xa086fd(0x36b)](_0x1cca9f),_0x4e2155=[],_0x592006=new Set(_0x69a312);for(const _0x54cc60 of _0x322e22)_0x592006[_0xa086fd(0x228)](_0x54cc60)||_0x4e2155[_0xa086fd(0x321)](_0x54cc60);return _0x4e2155;}}[_0x6f5ed9(0x3fd)](_0x4e3479,_0x3a9ad6,_0x1c22f9,_0x35361a,_0xd3ec89){const _0x3c67df=_0x6f5ed9;return _0x3a9ad6&&_0x3a9ad6[_0x3c67df(0x3d6)](_0x35361a,_0xd3ec89)?_0x3a9ad6[_0x3c67df(0x3d6)](_0x35361a,_0xd3ec89):_0x1c22f9&&_0x1c22f9[_0x3c67df(0x3d6)](_0x35361a,_0xd3ec89)?_0x1c22f9['getValue'](_0x35361a,_0xd3ec89):_0x4e3479['getValue'](_0x35361a,_0xd3ec89);}['refreshDataField'](_0x3c5745,_0x39ff2b,_0x260e0c,_0x380ecf){const _0x518b1f=_0x6f5ed9,_0x45f53f=this[_0x518b1f(0x41a)][_0x3c5745];if(!_0x45f53f)return;const {subUnitId:_0x1f70a4,range:_0xa9fa43,unitId:_0xdc5641}=_0x39ff2b,_0x25caaa=this[_0x518b1f(0x19e)]['getUnit'](_0xdc5641);if(!_0x25caaa){console['error'](_0x518b1f(0x3e3));return;}const _0x1cfd50=_0x25caaa[_0x518b1f(0x410)](_0x1f70a4),_0x4b16a0=_0x1cfd50['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0xb34f2e,unitDataMatrix:_0x3aa778}=_0x380ecf||{},{startRow:_0x22547e,startColumn:_0x3dbb04,endRow:_0x30cdc2}=this[_0x518b1f(0x394)](_0xa9fa43,_0x1cfd50);_0x45f53f[_0x518b1f(0x345)]();const _0x26a32f=_0x25caaa['getStyles'](),_0x1cae14={},_0x25f837=this[_0x518b1f(0x3fd)](_0x4b16a0,_0xb34f2e,_0x3aa778,_0x22547e,_0x3dbb04+_0x260e0c);let _0x6a6aec=this[_0x518b1f(0x1d6)](_0x25f837,_0x26a32f,_0x1cae14);_0x426cf2['isDateValue'](_0x6a6aec)&&(_0x6a6aec=_0x6ffa6d['numfmt'][_0x518b1f(0x242)](_0x6a6aec['f'],Number(_0x6a6aec['v'])));const _0x27e06c=this[_0x518b1f(0x40f)](_0x6a6aec,_0x3dbb04+_0x260e0c);_0x45f53f[_0x518b1f(0x3e4)](_0x27e06c);for(let _0x383bc2=_0x22547e+0x1;_0x383bc2<=_0x30cdc2;_0x383bc2++){const _0x35c863=this[_0x518b1f(0x3fd)](_0x4b16a0,_0xb34f2e,_0x3aa778,_0x383bc2,_0x3dbb04+_0x260e0c);_0x45f53f[_0x518b1f(0x1cd)](this[_0x518b1f(0x1d6)](_0x35c863,_0x26a32f,_0x1cae14),_0x383bc2-0x1-_0x22547e);}}[_0x6f5ed9(0x21d)](_0x585dc3,_0x5eef8d,_0x5f241c){const _0x5ab370=_0x6f5ed9,{subUnitId:_0x203b17,range:_0x2f24cd,unitId:_0x21d648}=_0x5f241c,_0x13457a=this[_0x5ab370(0x19e)][_0x5ab370(0x46d)](_0x21d648);if(!_0x13457a){console[_0x5ab370(0x486)]('workbook\x20is\x20not\x20found');return;}const _0x525889=_0x13457a[_0x5ab370(0x410)](_0x203b17),_0x50de36=_0x525889[_0x5ab370(0x3b8)](),{startRow:_0xfd8d0d,startColumn:_0x7edc86,endRow:_0x2a68b0}=this['getRangeStartEndInfo'](_0x2f24cd,_0x525889),_0x483a8b=_0x13457a[_0x5ab370(0x3aa)](),_0x2a03f2={};for(const {dataField:_0x5d2fcf,index:_0x42419c}of _0x5eef8d){_0x5d2fcf[_0x5ab370(0x345)]();const _0x7a8225=this[_0x5ab370(0x3fd)](_0x50de36,void 0x0,void 0x0,_0xfd8d0d,_0x7edc86+_0x42419c);let _0x5194e0=this[_0x5ab370(0x1d6)](_0x7a8225,_0x483a8b,_0x2a03f2);_0x426cf2[_0x5ab370(0x2ec)](_0x5194e0)&&(_0x5194e0=_0x6ffa6d[_0x5ab370(0x2d0)][_0x5ab370(0x242)](_0x5194e0['f'],Number(_0x5194e0['v'])));const _0x2c0380=this[_0x5ab370(0x40f)](_0x5194e0,_0x7edc86+_0x42419c);_0x5d2fcf[_0x5ab370(0x3e4)](_0x2c0380);}_0x585dc3[_0x5ab370(0x2d8)]();for(let _0x50df75=_0xfd8d0d+0x1;_0x50df75<=_0x2a68b0;_0x50df75++)for(const {index:_0x2145d3,dataField:_0x539b8d}of _0x5eef8d){const _0x136357=_0x50de36[_0x5ab370(0x3d6)](_0x50df75,_0x7edc86+_0x2145d3);_0x539b8d[_0x5ab370(0x1cd)](this[_0x5ab370(0x1d6)](_0x136357,_0x483a8b,_0x2a03f2),_0x50df75-0x1-_0xfd8d0d);}_0x585dc3['setDataRecordCount'](_0x2a68b0-_0xfd8d0d);}[_0x6f5ed9(0x382)](_0x5df76c){const {range:_0xdf80ee}=_0x5df76c,{startColumn:_0x1f6a82,endColumn:_0xce572c}=_0xdf80ee,_0x47d435=[];for(let _0x3daa23=_0x1f6a82;_0x3daa23<=_0xce572c;_0x3daa23++)_0x47d435['push'](this['getRangeKey'](_0x5df76c,_0x3daa23));return _0x47d435;}[_0x6f5ed9(0x1d6)](_0x51b632,_0x49079a,_0x19d8b5){const _0x5e6229=_0x6f5ed9;if(_0x51b632){const {s:_0x395c0a,v:_0x21ca54,t:_0x507837,p:_0x4dc8dd}=_0x51b632;if(_0x4dc8dd)return _0x44de46(_0x4dc8dd);const _0x7d32f6=_0x49079a[_0x5e6229(0x446)](_0x395c0a);if(_0x7d32f6&&_0x507837===_0x6ffa6d['CellValueType'][_0x5e6229(0x407)]&&_0x7d32f6['n']){const {pattern:_0x56bdaa}=_0x7d32f6['n'];_0x19d8b5[_0x56bdaa]||(_0x19d8b5[_0x56bdaa]=_0x6ffa6d[_0x5e6229(0x2d0)][_0x5e6229(0x230)](_0x56bdaa));const _0x37cf09=_0x19d8b5[_0x56bdaa],_0x3bc482=_0x37cf09['isDate'];if(_0x37cf09['isText'])return String(_0x21ca54);if(_0x3bc482)return{'v':_0x21ca54,'f':_0x56bdaa};}if(_0x507837===_0x6ffa6d[_0x5e6229(0x326)][_0x5e6229(0x407)])return Number(_0x21ca54);if(_0x507837===_0x6ffa6d[_0x5e6229(0x326)][_0x5e6229(0x3c9)]||_0x507837===_0x6ffa6d[_0x5e6229(0x326)][_0x5e6229(0x1c5)])return String(_0x21ca54);if(_0x507837===void 0x0){const _0x3aa578=Number(_0x21ca54);if(!Number[_0x5e6229(0x376)](_0x3aa578)&&String(_0x3aa578)===_0x21ca54)return _0x3aa578;}return _0x21ca54!=null?_0x21ca54:null;}else return null;}[_0x6f5ed9(0x2a7)](_0x249620){const _0x433e19=_0x6f5ed9,{sheetName:_0x528991,range:_0x5d7492,unitId:_0x5dfec3}=_0x249620,_0x207f32=this[_0x433e19(0x19e)][_0x433e19(0x46d)](_0x5dfec3);if(!_0x207f32)return console[_0x433e19(0x486)](_0x433e19(0x3e3)),{'header':[],'data':[]};const _0x41602b=_0x207f32[_0x433e19(0x421)](_0x528991),_0x566dd3=_0x41602b[_0x433e19(0x3b8)](),{startRow:_0xa72467,startColumn:_0x4e42ca,endRow:_0x49cc8b,endColumn:_0xc7cfed}=this['getRangeStartEndInfo'](_0x5d7492,_0x41602b),_0x2d375a=_0x207f32[_0x433e19(0x3aa)](),_0x1d0e93=[],_0x12d120=[],_0x521e08={};for(let _0x32dbc1=_0xa72467;_0x32dbc1<=_0x49cc8b;_0x32dbc1++){const _0x45840c=[];for(let _0x2ec15d=_0x4e42ca;_0x2ec15d<=_0xc7cfed;_0x2ec15d++){const _0x495b93=_0x566dd3['getValue'](_0x32dbc1,_0x2ec15d);_0x32dbc1===_0xa72467?_0x1d0e93['push'](_0x495b93==null?null:String(_0x495b93['v'])):_0x45840c[_0x433e19(0x321)](this[_0x433e19(0x1d6)](_0x495b93,_0x2d375a,_0x521e08));}_0x12d120[_0x433e19(0x321)](_0x45840c);}return{'header':_0x1d0e93,'data':_0x12d120};}[_0x6f5ed9(0x309)](){return super['toJSON']();}['fromJSON'](_0x345d7c){const _0x4aaa69=_0x6f5ed9;super['fromJSON'](_0x345d7c),this[_0x4aaa69(0x44b)]();}[_0x6f5ed9(0x274)](){const _0x13c498=_0x6f5ed9;super['dispose'](),this[_0x13c498(0x332)]={},this['_host']=null;}}const _0x32ae3f=_0x3e7c53=>{const _0x2ca88b=_0x6f5ed9,{targetCellInfo:_0x483a18}=_0x3e7c53,{matrixCache:_0x2dce92,rangesCache:_0x26d31b}=_0x92b1bb({'filter':'Filter','row':_0x2ca88b(0x248),'column':_0x2ca88b(0x2fe),'values':_0x2ca88b(0x1ba)},_0x483a18),_0x359e23=new _0x6ffa6d[(_0x2ca88b(0x291))]();return _0x2dce92[_0x2ca88b(0x263)]((_0x2f25ac,_0x18c376,_0x183ae5)=>{const _0x2970f3=_0x2ca88b;_0x359e23[_0x2970f3(0x41e)](_0x2f25ac,_0x18c376,_0x183ae5);}),{'matrix':_0x359e23,'rangesCache':_0x26d31b};},_0x25e937=_0x4abd70=>{const _0x45b578=_0x6f5ed9;let _0x6ab6b3;if(_0x4abd70!=null&&_0x4abd70['v']||(_0x4abd70==null?void 0x0:_0x4abd70['v'])===0x0){_0x6ab6b3||(_0x6ab6b3={});const _0x27e835=_0x7be21d(_0x4abd70['v']);typeof _0x27e835=='number'?_0x6ab6b3['t']=_0x6ffa6d[_0x45b578(0x326)][_0x45b578(0x407)]:typeof _0x27e835=='string'&&(_0x6ab6b3['t']=_0x6ffa6d[_0x45b578(0x326)][_0x45b578(0x3c9)]),_0x6ab6b3['v']=_0x27e835;}return _0x6ab6b3;},_0x5c9895=(_0x56d38f,_0x1e0532,_0x118de7)=>{const _0x26685f=_0x6f5ed9;var _0x1fc09b,_0x22404a,_0x190a3b,_0x6ad93b,_0xe695d4,_0x295927,_0x15bbb7,_0x57416d,_0x39b4a1,_0x42019f,_0x4f74c8,_0x118a94;const {cornerView:_0x20d629,rowView:_0xf846bb,colView:_0xad03d1,dataView:_0x12b494,pageView:_0x37e966,formatMap:_0x212369}=_0x56d38f,{row:_0x1ee27a,col:_0x3183e8}=_0x1e0532,_0x58556b=new _0x6ffa6d['ObjectMatrix']();let _0x3c1a8b=_0x1ee27a,_0x57fbb8=_0x3183e8;Object[_0x26685f(0x1b3)](_0x37e966['data'])[_0x26685f(0x3a7)](_0x450226=>{const _0x5ee921=_0x26685f;Object['keys'](_0x37e966[_0x5ee921(0x2b4)][Number(_0x450226)])[_0x5ee921(0x3a7)](_0x206405=>{const _0x6dff0b=_0x5ee921,_0x31487d={..._0x37e966[_0x6dff0b(0x2b4)][Number(_0x450226)][Number(_0x206405)]};_0x58556b[_0x6dff0b(0x41e)](Number(_0x450226)+_0x3c1a8b,Number(_0x206405)+_0x57fbb8,_0x25e937(_0x31487d));});});const _0x4f04ea=Object[_0x26685f(0x1b3)](_0x37e966[_0x26685f(0x2b4)])['length'];_0x3c1a8b+=_0x4f04ea+(_0x4f04ea?_0x523e5a:0x0);const _0xef6af8=_0x20d629[_0x26685f(0x471)](),_0x5a9247=_0x20d629[_0x26685f(0x280)]();for(let _0x433582=0x0;_0x433582<_0xef6af8;_0x433582++)for(let _0x1aa777=0x0;_0x1aa777<_0x5a9247;_0x1aa777++){const _0x524bf4={...(_0x22404a=(_0x1fc09b=_0x20d629[_0x26685f(0x2b4)])==null?void 0x0:_0x1fc09b[_0x433582])==null?void 0x0:_0x22404a[_0x1aa777]};_0x524bf4&&((_0x190a3b=_0xf846bb[_0x26685f(0x447)][_0x1aa777])!=null&&_0x190a3b[_0x26685f(0x417)])&&_0x1aa777===_0x5a9247-0x1&&_0x433582===_0xef6af8-0x1&&(_0x524bf4['v']=''+_0x118de7['sheets-pivot.value']),_0x58556b[_0x26685f(0x41e)](_0x433582+_0x3c1a8b,_0x1aa777+_0x57fbb8,_0x25e937(_0x524bf4));}_0x57fbb8+=_0x5a9247;const _0xc2490=_0xad03d1[_0x26685f(0x447)],_0x38e7ae=_0xad03d1[_0x26685f(0x48f)]()>=0x0?_0xad03d1['getLastRow']()+0x1:0x0,_0x3d1130=_0xad03d1[_0x26685f(0x479)]()>=0x0?_0xad03d1['getLastCol']()+0x1:0x0;for(let _0x554acb=0x0;_0x554acb<_0x3d1130;_0x554acb++)for(let _0x263013=0x0;_0x263013<_0x38e7ae;_0x263013++){const _0x3f4988={...(_0xe695d4=(_0x6ad93b=_0xad03d1[_0x26685f(0x2b4)])==null?void 0x0:_0x6ad93b[_0x554acb])==null?void 0x0:_0xe695d4[_0x263013]},_0x5efc0f=(_0x295927=_0xc2490[_0x554acb])==null?void 0x0:_0x295927[_0x26685f(0x1ad)],_0x21ca2e=_0x212369[_0x5efc0f];_0x3f4988&&(_0x3f4988['v']=_0x324cc3(_0x3f4988,_0x554acb===0x0&&((_0x15bbb7=_0xad03d1[_0x26685f(0x273)](_0x263013+0x1))==null?void 0x0:_0x15bbb7[_0x26685f(0x417)]),_0x21ca2e,_0x118de7)),_0x58556b[_0x26685f(0x41e)](_0x554acb+_0x3c1a8b,_0x263013+_0x57fbb8,_0x25e937(_0x3f4988));}_0x3c1a8b+=_0xef6af8;const _0x4840d0=_0xf846bb[_0x26685f(0x447)],_0x51d38b=_0xf846bb['getLastRow']()>=0x0?_0xf846bb[_0x26685f(0x48f)]()+0x1:0x0,_0x5bfc0f=_0xf846bb['getLastCol']()>=0x0?_0xf846bb['getLastCol']()+0x1:0x0;for(let _0x3f44bb=0x0;_0x3f44bb<_0x51d38b;_0x3f44bb++)for(let _0x48f203=0x0;_0x48f203<_0x5bfc0f;_0x48f203++){const _0x258831={...(_0x39b4a1=(_0x57416d=_0xf846bb[_0x26685f(0x2b4)])==null?void 0x0:_0x57416d[_0x3f44bb])==null?void 0x0:_0x39b4a1[_0x48f203]},_0x4dcee4=(_0x42019f=_0x4840d0[_0x48f203])==null?void 0x0:_0x42019f['tableFieldId'],_0x2d7b9a=_0x212369[_0x4dcee4];_0x258831&&(_0x258831['v']=_0x324cc3(_0x258831,!0x1,_0x2d7b9a,_0x118de7)),_0x58556b[_0x26685f(0x41e)](_0x3f44bb+_0x3c1a8b,_0x48f203+_0x3183e8,_0x25e937(_0x258831));}const _0x48f18d=_0x12b494[_0x26685f(0x471)](),_0x1d36d9=_0x12b494[_0x26685f(0x280)]();for(let _0x4812fa=0x0;_0x4812fa<_0x48f18d;_0x4812fa++)for(let _0x5d96e2=0x0;_0x5d96e2<_0x1d36d9;_0x5d96e2++){const _0x53050f={...(_0x118a94=(_0x4f74c8=_0x12b494['data'])==null?void 0x0:_0x4f74c8[_0x4812fa])==null?void 0x0:_0x118a94[_0x5d96e2]};_0x58556b[_0x26685f(0x41e)](_0x4812fa+_0x3c1a8b,_0x5d96e2+_0x57fbb8,_0x25e937(_0x53050f));}return _0x58556b;},_0xb023d5=_0x234a80=>{const _0x3ff236=_0x6f5ed9,{view:_0x19d739,targetCellInfo:_0x51a87a,isEmpty:_0x563596,textInfo:_0x27b413}=_0x234a80;if(_0x563596)return _0x32ae3f(_0x234a80);const {pageView:_0xadd61c,cornerView:_0x10503e,rowView:_0x4425ee,colView:_0x4010c2,dataView:_0x5960eb}=_0x19d739,_0x44f810=_0x5b7a08(_0x51a87a,_0xadd61c,!0x0),_0x2c834a=_0xadd61c[_0x3ff236(0x1f6)]>=0x0?_0xadd61c[_0x3ff236(0x1f6)]+0x1:0x0,_0x295cf1=_0x10503e[_0x3ff236(0x471)](),_0x253516=_0x10503e[_0x3ff236(0x280)](),_0x551794=_0x44f810[_0x3ff236(0x293)]>0x0?_0x523e5a:0x0,_0x448e2d=_0x5b7a08({'row':_0x51a87a[_0x3ff236(0x316)]+_0x2c834a+_0x551794,'col':_0x51a87a[_0x3ff236(0x48d)]},_0x10503e,!0x1,!0x1),_0x5acc5f=_0x5b7a08({'row':_0x51a87a[_0x3ff236(0x316)]+_0x2c834a+_0x551794+_0x295cf1,'col':_0x51a87a[_0x3ff236(0x48d)]},_0x4425ee,!0x1,!0x0),_0x35faa1=_0x5b7a08({'row':_0x51a87a['row']+_0x2c834a+_0x551794,'col':_0x51a87a[_0x3ff236(0x48d)]+_0x253516},_0x4010c2,!0x1,!0x0),_0x46705a=_0x5b7a08({'row':_0x51a87a[_0x3ff236(0x316)]+_0x2c834a+_0x551794+_0x295cf1,'col':_0x51a87a['col']+_0x253516},_0x5960eb,!0x1,!0x1),_0x54ec77={'rowRanges':_0x5acc5f,'colRanges':_0x35faa1,'cornerRanges':_0x448e2d,'dataRanges':_0x46705a,'pageRanges':_0x44f810};return{'matrix':_0x5c9895(_0x19d739,_0x51a87a,_0x27b413),'rangesCache':_0x54ec77};};var _0x1d0683=Object[_0x6f5ed9(0x1a9)],_0x3d6b19=(_0x519a33,_0x4e34a4,_0x153ca2,_0xf140b1)=>{const _0xba933=_0x6f5ed9;for(var _0x5334af=_0xf140b1>0x1?void 0x0:_0xf140b1?_0x1d0683(_0x4e34a4,_0x153ca2):_0x4e34a4,_0x373a69=_0x519a33[_0xba933(0x293)]-0x1,_0x26d25f;_0x373a69>=0x0;_0x373a69--)(_0x26d25f=_0x519a33[_0x373a69])&&(_0x5334af=_0x26d25f(_0x5334af)||_0x5334af);return _0x5334af;},_0x1f5a7c=(_0x4ea36b,_0x3f7df7)=>(_0x43d622,_0x4f9fb1)=>_0x3f7df7(_0x43d622,_0x4f9fb1,_0x4ea36b);_0x35c787[_0x6f5ed9(0x185)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x41f1b1,_0x24534e,_0x2ddfd9,_0x29586a,_0x427eb2,_0x53c67c){const _0x280762=_0x6f5ed9;super(),_0x47a2cd(this,_0x280762(0x2bf),new Map()),_0x47a2cd(this,_0x280762(0x1d2),new Map()),_0x47a2cd(this,_0x280762(0x3a0),new Map()),_0x47a2cd(this,'_textInfo'),_0x47a2cd(this,_0x280762(0x2cb),new _0xcfe6e1['Subject']()),_0x47a2cd(this,_0x280762(0x17c),this[_0x280762(0x2cb)][_0x280762(0x1e6)]()),_0x47a2cd(this,_0x280762(0x411),new _0xcfe6e1[(_0x280762(0x2af))]()),_0x47a2cd(this,_0x280762(0x306),this[_0x280762(0x411)][_0x280762(0x1e6)]()),_0x47a2cd(this,_0x280762(0x257),new _0xcfe6e1[(_0x280762(0x2af))]()),_0x47a2cd(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$']['asObservable']()),_0x47a2cd(this,_0x280762(0x31c),new Map()),_0x47a2cd(this,_0x280762(0x20d),[]),_0x47a2cd(this,_0x280762(0x289),new Map()),(this[_0x280762(0x208)]=_0x41f1b1,this[_0x280762(0x19e)]=_0x24534e,this[_0x280762(0x260)]=_0x2ddfd9,this['_configService']=_0x29586a,this[_0x280762(0x42b)]=_0x427eb2,this[_0x280762(0x2e6)]=_0x53c67c,this['_initSnapshot']());}[_0x6f5ed9(0x3e7)](){const _0x26ddb3=_0x6f5ed9;return this[_0x26ddb3(0x1e9)]?this[_0x26ddb3(0x1e9)]:_0x18ed96;}[_0x6f5ed9(0x28a)](_0x10742c){const _0x235034=_0x6f5ed9;this[_0x235034(0x1e9)]=_0x10742c;}[_0x6f5ed9(0x320)](_0x27e896){const _0xbfc7a2=_0x6f5ed9;var _0x467444;const {from:_0x202738,to:_0x4d433f,unitId:_0x32dada,fromRange:_0x3b1a2b,toRange:_0x4f0bdf}=_0x27e896;if(_0x202738&&_0x4d433f){const _0x29320a=this[_0xbfc7a2(0x358)](_0x32dada),_0x5e33db=this[_0xbfc7a2(0x2bf)]['get'](_0x32dada),_0x45ea72=(_0x467444=this[_0xbfc7a2(0x19e)][_0xbfc7a2(0x46d)](_0x32dada))==null?void 0x0:_0x467444[_0xbfc7a2(0x410)](_0x4d433f['subUnitId']);if(!_0x5e33db||!_0x45ea72)return;const _0x43c6f9=_0x45ea72==null?void 0x0:_0x45ea72[_0xbfc7a2(0x459)]();for(const [_0x2b7b79,_0x32258b]of _0x5e33db[_0xbfc7a2(0x37a)]())for(const [_0x395327,_0x2a0bc2]of _0x32258b[_0xbfc7a2(0x37a)]()){const {sourceRangeInfo:_0x5df225}=_0x2a0bc2;if(_0x5df225[_0xbfc7a2(0x322)]===_0x32dada&&_0x5df225[_0xbfc7a2(0x2d3)]===_0x202738[_0xbfc7a2(0x2d3)]&&_0x6ffa6d['Rectangle']['contains'](_0x3b1a2b,_0x5df225[_0xbfc7a2(0x1db)])){const _0x47694a={'row':_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x297)]-_0x3b1a2b[_0xbfc7a2(0x297)],'col':_0x5df225[_0xbfc7a2(0x1db)]['startColumn']-_0x3b1a2b['startColumn']},_0x45a714={'unitId':_0x32dada,'subUnitId':_0x4d433f[_0xbfc7a2(0x2d3)],'sheetName':_0x43c6f9,'range':{'startRow':_0x4f0bdf[_0xbfc7a2(0x297)]+_0x47694a[_0xbfc7a2(0x316)],'endRow':_0x4f0bdf[_0xbfc7a2(0x297)]+_0x47694a[_0xbfc7a2(0x316)]+_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x272)]-_0x5df225[_0xbfc7a2(0x1db)]['startRow'],'startColumn':_0x4f0bdf['startColumn']+_0x47694a[_0xbfc7a2(0x48d)],'endColumn':_0x4f0bdf[_0xbfc7a2(0x477)]+_0x47694a['col']+_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x3e9)]-_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x477)]}};_0x29320a[_0xbfc7a2(0x320)](_0x395327,_0x45a714);const _0xe995f0={..._0x2a0bc2,'sourceRangeInfo':_0x45a714};this['_updateModelCache'](_0x32dada,_0x4d433f[_0xbfc7a2(0x2d3)],_0x395327,_0xe995f0),this[_0xbfc7a2(0x22a)]({'unitId':_0x32dada,'token':_0x395327,'type':_0x27353a[_0xbfc7a2(0x1c3)],'oldSourceRangeInfo':_0x5df225,'dataRangeInfo':_0x45a714,'targetCellInfo':_0x2a0bc2[_0xbfc7a2(0x1fb)]}),this[_0xbfc7a2(0x256)]({'unitId':_0x32dada,'subUnitId':_0x4d433f[_0xbfc7a2(0x2d3)],'oldSubUnitId':_0x2b7b79,'pivotTableId':_0x395327,'pivotTableConfig':_0xe995f0,'collectionConfig':_0x29320a[_0xbfc7a2(0x309)]()});}}}}[_0x6f5ed9(0x22a)](_0x3b63ed){const _0x277e62=_0x6f5ed9;this[_0x277e62(0x2cb)][_0x277e62(0x253)](_0x3b63ed);}['getDataFieldManager'](_0xcde4f4){const _0x45c7e9=_0x6f5ed9;let _0x35a077=this[_0x45c7e9(0x31c)]['get'](_0xcde4f4);return _0x35a077||(_0x35a077=new _0x535585(this,this[_0x45c7e9(0x19e)]),this[_0x45c7e9(0x31c)]['set'](_0xcde4f4,_0x35a077)),_0x35a077;}[_0x6f5ed9(0x3d9)](_0x2e8538,_0x597ca8){const _0x39e912=_0x6f5ed9;return this[_0x39e912(0x358)](_0x2e8538)['collections'][_0x597ca8];}[_0x6f5ed9(0x39a)](_0xeb7517,_0x22e74e,_0x18c4f0){const _0x42439d=_0x6f5ed9;return this[_0x42439d(0x358)](_0xeb7517)[_0x42439d(0x39a)](_0x22e74e,_0x18c4f0);}[_0x6f5ed9(0x3d3)](_0x5cd83f,_0x2f6088){const _0x517875=_0x6f5ed9;let _0x42618f=this['_model'][_0x517875(0x446)](_0x5cd83f);_0x42618f||(_0x42618f=new Map(),this[_0x517875(0x2bf)][_0x517875(0x2bc)](_0x5cd83f,_0x42618f));let _0x429fb9=_0x42618f[_0x517875(0x446)](_0x2f6088);return _0x429fb9||(_0x429fb9=new Map(),_0x42618f['set'](_0x2f6088,_0x429fb9)),_0x429fb9;}[_0x6f5ed9(0x250)](_0x2d8b24,_0xe71f18,_0x4e78ba,_0x1e98f2){const _0x8bf58b=_0x6f5ed9;this[_0x8bf58b(0x3d3)](_0x2d8b24,_0xe71f18)[_0x8bf58b(0x2bc)](_0x4e78ba,_0x1e98f2);}[_0x6f5ed9(0x45d)](_0x99ebbf,_0x217e2b,_0x5aa44e){const _0x4e1832=_0x6f5ed9;var _0x1858ec,_0x17b3ec,_0x35f4c9,_0x31105f;((_0x17b3ec=(_0x1858ec=this[_0x4e1832(0x2bf)][_0x4e1832(0x446)](_0x99ebbf))==null?void 0x0:_0x1858ec[_0x4e1832(0x446)](_0x217e2b))==null?void 0x0:_0x17b3ec['get'](_0x5aa44e))&&((_0x31105f=(_0x35f4c9=this[_0x4e1832(0x2bf)]['get'](_0x99ebbf))==null?void 0x0:_0x35f4c9[_0x4e1832(0x446)](_0x217e2b))==null||_0x31105f['delete'](_0x5aa44e));}[_0x6f5ed9(0x2ac)](_0x4acec0,_0x2ca921){const _0x16d8ce=_0x6f5ed9;this[_0x16d8ce(0x1d2)]['set'](_0x4acec0,_0x2ca921);}[_0x6f5ed9(0x1b2)](_0x2dcc21){this['_pivotTableInstanceCache']['delete'](_0x2dcc21);}[_0x6f5ed9(0x2d5)](_0x207de6,_0x42c878){const _0x1bcdec=_0x6f5ed9;let _0x3ff106=this[_0x1bcdec(0x3a0)][_0x1bcdec(0x446)](_0x207de6);_0x3ff106||(_0x3ff106=new Map(),this[_0x1bcdec(0x3a0)]['set'](_0x207de6,_0x3ff106));let _0x25eb81=_0x3ff106[_0x1bcdec(0x446)](_0x42c878);return _0x25eb81||(_0x25eb81=new Map(),_0x3ff106[_0x1bcdec(0x2bc)](_0x42c878,_0x25eb81)),_0x25eb81;}[_0x6f5ed9(0x256)](_0x472be3){const _0x3bb440=_0x6f5ed9,{unitId:_0xc0f13c,subUnitId:_0xe45e0a,pivotTableId:_0xf9e9de,pivotTableConfig:_0x5ba954,collectionConfig:_0x41d111}=_0x472be3,_0x2c441d={'unitId':_0xc0f13c,'subUnitId':_0xe45e0a,'oldSubUnitId':_0xe45e0a,'pivotTableId':_0xf9e9de,'pivotTableConfig':_0x5ba954,'collectionConfig':_0x41d111};this[_0x3bb440(0x42b)]['executeCommand'](_0x5533a9['id'],_0x2c441d,{'onlyLocal':!0x0});}[_0x6f5ed9(0x327)](_0x1eb9f7,_0x3b4939,_0x25126a,_0x391596,_0x5db3fb,_0x5a61d4,_0x230c01,_0x1d88af=!0x1){const _0x1d42ec=_0x6f5ed9;var _0x3e7e88;this[_0x1d42ec(0x42b)]['executeCommand'](_0x2806a0['id'],{'single':{'unitId':_0x1eb9f7,'subUnitId':_0x3b4939,'type':_0x25126a,'pivotTableId':_0x391596,'view':_0x5db3fb,'pivotConfig':_0x5a61d4},'collectionConfig':{[_0x1eb9f7]:_0x230c01}},{'onlyLocal':!0x0});const _0xacbfb0=!!((_0x3e7e88=this[_0x1d42ec(0x442)](_0x391596))!=null&&_0x3e7e88[_0x1d42ec(0x412)]()),_0x28871e=this[_0x1d42ec(0x34a)](_0x1eb9f7,_0x3b4939,_0x391596);_0x28871e&&this[_0x1d42ec(0x414)]({'view':_0x5db3fb,'pivotTableId':_0x391596,'textInfo':this[_0x1d42ec(0x3e7)](),'isEmpty':_0xacbfb0,'targetCellInfo':_0x28871e[_0x1d42ec(0x1fb)]},_0x1d88af);}[_0x6f5ed9(0x414)](_0x3d34cc,_0x3bfceb){const _0x5a3632=_0x6f5ed9,{targetCellInfo:_0x2e841a,pivotTableId:_0x5d6a44}=_0x3d34cc,{unitId:_0x4c198c,subUnitId:_0x438317}=_0x2e841a,_0x53a14f=this[_0x5a3632(0x2d5)](_0x4c198c,_0x438317),_0x515112=_0x53a14f[_0x5a3632(0x446)](_0x5d6a44);let _0x57117f,_0x1489d6;_0x515112&&(_0x57117f=_0x515112[_0x5a3632(0x324)],_0x1489d6=_0x515112[_0x5a3632(0x194)]);const {rangesCache:_0x3a70b5,matrix:_0x3e29e4}=_0xb023d5(_0x3d34cc);_0x53a14f[_0x5a3632(0x2bc)](_0x5d6a44,{'rangeCache':_0x3a70b5,'matrix':_0x3e29e4,'oldMatrix':_0x1489d6,'oldRangeCache':_0x57117f}),_0x3bfceb||this[_0x5a3632(0x411)]['next']({'unitId':_0x4c198c,'subUnitId':_0x438317,'pivotTableId':_0x5d6a44});}[_0x6f5ed9(0x18c)](_0x3c1aa9,_0x48985e,_0x4bbcd7,_0x53d90a,_0x5c1fde){const _0x1e04fb=_0x6f5ed9;this[_0x1e04fb(0x250)](_0x3c1aa9,_0x48985e,_0x4bbcd7,_0x5c1fde),this[_0x1e04fb(0x2ac)](_0x4bbcd7,_0x53d90a);}[_0x6f5ed9(0x2e1)](_0x28e40c,_0x29bcdd,_0x4b259f){const _0x1ceefe=_0x6f5ed9,_0x4d4406=this[_0x1ceefe(0x358)](_0x28e40c);_0x4d4406[_0x1ceefe(0x36b)](_0x4b259f)[_0x1ceefe(0x3a7)](_0x33b641=>{const _0x4f6d6d=_0x1ceefe;_0x4d4406[_0x4f6d6d(0x2e2)](_0x33b641);}),this['removeCollections'](_0x28e40c,_0x4b259f),this[_0x1ceefe(0x45d)](_0x28e40c,_0x29bcdd,_0x4b259f),this[_0x1ceefe(0x1b2)](_0x4b259f);}[_0x6f5ed9(0x2b3)](_0x2d8ccf,_0x24fef3,_0x4142f3,_0x2db65d){const _0x3aff7f=_0x6f5ed9;this[_0x3aff7f(0x250)](_0x2d8ccf,_0x24fef3,_0x4142f3,_0x2db65d);}[_0x6f5ed9(0x34a)](_0x1f6ade,_0x25b6c6,_0x221df6){const _0x237bd7=_0x6f5ed9;var _0x25482d,_0x11106e;const _0x24e844=(_0x11106e=(_0x25482d=this['_model'][_0x237bd7(0x446)](_0x1f6ade))==null?void 0x0:_0x25482d[_0x237bd7(0x446)](_0x25b6c6))==null?void 0x0:_0x11106e['get'](_0x221df6);if(_0x24e844)return _0x24e844;}[_0x6f5ed9(0x43a)](_0x5df4e8,_0x52fbec,_0xa5582b){const _0x3d6ce2=_0x6f5ed9;var _0x7a0fc,_0x1f6309;const _0x279faf=(_0x1f6309=(_0x7a0fc=this[_0x3d6ce2(0x2bf)][_0x3d6ce2(0x446)](_0x5df4e8))==null?void 0x0:_0x7a0fc[_0x3d6ce2(0x446)](_0x52fbec))==null?void 0x0:_0x1f6309[_0x3d6ce2(0x446)](_0xa5582b);if(_0x279faf)return _0x279faf[_0x3d6ce2(0x427)];}[_0x6f5ed9(0x442)](_0x4c59b5){return this['_pivotTableInstanceCache']['get'](_0x4c59b5);}[_0x6f5ed9(0x3ff)](_0x456b00){const _0x290308=_0x6f5ed9;this[_0x290308(0x2bf)][_0x290308(0x374)](_0x456b00);const _0x130382=this['_dataFieldManagerCollection'][_0x290308(0x446)](_0x456b00);_0x130382&&(_0x130382[_0x290308(0x274)](),this[_0x290308(0x31c)][_0x290308(0x374)](_0x456b00)),this['_viewData']['delete'](_0x456b00),this['needSameDeleteModel'][_0x290308(0x3a7)](_0x3b18fc=>{const _0x6a68c0=_0x290308;_0x3b18fc[_0x6a68c0(0x3ff)](_0x456b00);});}[_0x6f5ed9(0x1c1)](_0xb74d63,_0xfdba30,_0x46b021,_0x1a6ad7){const _0x1a19c3=_0x6f5ed9;return this[_0x1a19c3(0x358)](_0x46b021['unitId'])[_0x1a19c3(0x1c1)](_0xb74d63,_0xfdba30,_0x46b021,_0x1a6ad7);}[_0x6f5ed9(0x437)](_0x5f2b7b){const _0xfbbc3b=_0x6f5ed9;return this['getDataFieldManager'](_0x5f2b7b['unitId'])[_0xfbbc3b(0x437)](_0x5f2b7b);}['refreshData'](_0xc8c00a,_0x3f9ee8,_0x29d294){const _0xfd99ac=_0x6f5ed9;this[_0xfd99ac(0x358)](_0x29d294[_0xfd99ac(0x322)])[_0xfd99ac(0x21d)](_0xc8c00a,_0x3f9ee8,_0x29d294);}[_0x6f5ed9(0x29b)](_0x28b064,_0x487999){const _0x5d85f7=_0x6f5ed9;this[_0x5d85f7(0x358)](_0x28b064)['deleteDataField'](_0x487999);}[_0x6f5ed9(0x2c1)](_0x2d1979,_0x778e30){const _0x3c9bad=_0x6f5ed9;this[_0x3c9bad(0x358)](_0x2d1979)[_0x3c9bad(0x2c6)](_0x778e30);}[_0x6f5ed9(0x1a0)](_0x4911ba,_0x55bdb7){const _0x4e5c6c=_0x6f5ed9;var _0xaeff7c;return(_0xaeff7c=this[_0x4e5c6c(0x2bf)]['get'](_0x4911ba))==null?void 0x0:_0xaeff7c['get'](_0x55bdb7);}[_0x6f5ed9(0x292)](_0x5cc492){const _0x4530d0=_0x6f5ed9;for(const [_0x1d0851,_0x564589]of this['_model'][_0x4530d0(0x37a)]())for(const [_0x327b71,_0x1e3899]of _0x564589['entries']())if(_0x1e3899[_0x4530d0(0x228)](_0x5cc492))return{'unitId':_0x1d0851,'subUnitId':_0x327b71};return null;}['sideEffectUpdateWorkerCache'](_0x402bdf,_0xda840b,_0x1bf9a1,_0x5d065c){const _0x1b951f=_0x6f5ed9,_0x15a7d3=this[_0x1b951f(0x2d5)](_0x402bdf,_0xda840b);_0x5d065c?_0x15a7d3[_0x1b951f(0x2bc)](_0x1bf9a1,_0x5d065c):_0x15a7d3[_0x1b951f(0x374)](_0x1bf9a1),this[_0x1b951f(0x411)][_0x1b951f(0x253)]({'unitId':_0x402bdf,'subUnitId':_0xda840b,'pivotTableId':_0x1bf9a1});}[_0x6f5ed9(0x274)](){super['dispose']();}[_0x6f5ed9(0x3ac)](_0x334987,_0xb3b019,_0x13b779){const _0x1a65cd=_0x6f5ed9;var _0x53f6a8,_0x3b2d85;const _0x2500a3=(_0x3b2d85=(_0x53f6a8=this[_0x1a65cd(0x3a0)]['get'](_0x334987))==null?void 0x0:_0x53f6a8[_0x1a65cd(0x446)](_0xb3b019))==null?void 0x0:_0x3b2d85[_0x1a65cd(0x446)](_0x13b779);return _0x2500a3||null;}['addDirtyPivotTable'](_0x5b0b8e){const _0x30f2c4=_0x6f5ed9;this[_0x30f2c4(0x3d2)](_0x5b0b8e);}[_0x6f5ed9(0x3d2)](_0x407493){const _0x573453=_0x6f5ed9,{token:_0x5182f1,unitId:_0x18e39b,subUnitId:_0x117842}=_0x407493,_0x2a3e79=_0x18e39b+'-'+_0x117842+'-'+_0x5182f1;this[_0x573453(0x289)][_0x573453(0x446)](_0x2a3e79)&&clearTimeout(this[_0x573453(0x289)][_0x573453(0x446)](_0x2a3e79));const _0x5ce437=setTimeout(()=>{const _0x2895a8=_0x573453;this[_0x2895a8(0x416)](_0x407493),this['_queryingMap'][_0x2895a8(0x374)](_0x2a3e79);},_0x399e9d);this[_0x573453(0x289)][_0x573453(0x2bc)](_0x2a3e79,_0x5ce437);}[_0x6f5ed9(0x416)](_0x246f5c){const _0xf7394d=_0x6f5ed9,{unitId:_0x1a700b,subUnitId:_0x50e089,token:_0x23603a,type:_0x4e0f40,pivotConfig:_0x312825}=_0x246f5c,_0x1c03f8=this['getPivotTableInstance'](_0x23603a),_0x14e38e=_0x1c03f8==null?void 0x0:_0x1c03f8[_0xf7394d(0x36e)](),_0x5160ca=_0x312825!=null?_0x312825:this[_0xf7394d(0x34a)](_0x1a700b,_0x50e089,_0x23603a);_0x5160ca&&(_0x5160ca['isEmpty']=!!(_0x1c03f8!=null&&_0x1c03f8['isEmpty']())),(_0x14e38e||_0x4e0f40===_0x1bdb8f[_0xf7394d(0x3f6)])&&this[_0xf7394d(0x327)](_0x1a700b,_0x50e089,_0x4e0f40,_0x23603a,_0x14e38e,_0x5160ca,this[_0xf7394d(0x358)](_0x1a700b)[_0xf7394d(0x309)]());}[_0x6f5ed9(0x309)](_0x38a5e4){const _0xa2d7da=_0x6f5ed9,_0x402175={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xa2d7da(0x358)](_0x38a5e4)&&(_0x402175[_0xa2d7da(0x2a2)][_0x38a5e4]=this['getDataFieldManager'](_0x38a5e4)['toJSON']()),this[_0xa2d7da(0x2bf)]['get'](_0x38a5e4)){_0x402175['pivotTableConfigs'][_0x38a5e4]={};const _0x12c2cc=this[_0xa2d7da(0x2bf)][_0xa2d7da(0x446)](_0x38a5e4);_0x12c2cc!=null&&_0x12c2cc[_0xa2d7da(0x317)]&&[..._0x12c2cc[_0xa2d7da(0x1b3)]()][_0xa2d7da(0x3a7)](_0x16c633=>{const _0x2bdef5=_0xa2d7da,_0x4fe0bb=_0x12c2cc['get'](_0x16c633);_0x4fe0bb!=null&&_0x4fe0bb['size']&&(_0x402175[_0x2bdef5(0x401)][_0x38a5e4][_0x16c633]={},[..._0x4fe0bb[_0x2bdef5(0x1b3)]()][_0x2bdef5(0x3a7)](_0x3e9ae5=>{const _0x50cf3c=_0x2bdef5,_0x502f59=_0x4fe0bb[_0x50cf3c(0x446)](_0x3e9ae5);_0x502f59&&(_0x402175[_0x50cf3c(0x401)][_0x38a5e4][_0x16c633][_0x3e9ae5]=_0x502f59);}));});}return _0x402175;}[_0x6f5ed9(0x269)](_0x5d8edb){const _0xcf40af=_0x6f5ed9;var _0x5402b6;const {dataFieldManagerConfig:_0x61a882,pivotTableConfigs:_0x250b59}=_0x5d8edb;_0x61a882&&Object[_0xcf40af(0x1b3)](_0x61a882)[_0xcf40af(0x3a7)](_0x53c88d=>{const _0x25240b=_0xcf40af;this[_0x25240b(0x358)](_0x53c88d)['fromJSON'](_0x61a882[_0x53c88d]);});const _0x3e0488=[];if(_0x250b59){const _0x531ea6=(_0x5402b6=this[_0xcf40af(0x208)][_0xcf40af(0x446)](_0x6ffa6d[_0xcf40af(0x431)])[_0xcf40af(0x2a3)](_0x225f82[_0xcf40af(0x355)]))!=null?_0x5402b6:{},{ls:_0x373ae0,pbk:_0x427775}=_0x531ea6,_0x36885d=_0x1cbe56(_0x7f0533,_0x373ae0,_0x427775)['count'];Object[_0xcf40af(0x1b3)](_0x250b59)[_0xcf40af(0x3a7)](_0x2bda6b=>{const _0x2bba1a=_0xcf40af;let _0x4fa328=0x0;const _0x15dacb=_0x250b59[_0x2bda6b];Object[_0x2bba1a(0x1b3)](_0x15dacb)[_0x2bba1a(0x3a7)](_0x52b136=>{const _0x5f580b=_0x2bba1a,_0x394ae7=_0x15dacb[_0x52b136];Object[_0x5f580b(0x1b3)](_0x394ae7)[_0x5f580b(0x3a7)](_0x2626d5=>{const _0x378c76=_0x5f580b,_0x3fe032=_0x394ae7[_0x2626d5];if(_0x3fe032){if(_0x4fa328>=_0x36885d)return;_0x4fa328++;const _0x581878=this['getDataFieldManager'](_0x2bda6b),_0x65400=_0x581878['collections'][_0x2626d5],_0x366dab=_0x65400[_0x378c76(0x2ca)]();let _0x405767=0x0;const _0x231cec=[];for(const _0x138753 of _0x366dab){const _0x25c409=_0x65400[_0x378c76(0x229)](_0x138753);if(_0x426cf2['isBaseGroupField'](_0x25c409)){const _0x18e35e=_0x25c409[_0x378c76(0x1ef)](),_0x571fc0=_0x65400['getFieldById'](_0x18e35e);_0x571fc0&&_0x231cec['push']([_0x25c409,_0x571fc0]);continue;}_0x581878[_0x378c76(0x199)](_0x138753,_0x3fe032[_0x378c76(0x23d)],_0x405767),_0x405767++;}_0x231cec['forEach'](([_0x35b104,_0x381c11])=>{_0x35b104['refreshGroupField'](_0x381c11);});const _0x387d32=new _0x426cf2[(_0x378c76(0x190))](_0x65400);_0x387d32[_0x378c76(0x269)](_0x3fe032[_0x378c76(0x427)]),this[_0x378c76(0x18c)](_0x2bda6b,_0x52b136,_0x2626d5,_0x387d32,_0x3fe032);const _0x1c3ddc=_0x387d32[_0x378c76(0x36e)]();_0x3e0488[_0x378c76(0x321)]({'unitId':_0x2bda6b,'subUnitId':_0x52b136,'pivotTableId':_0x2626d5,'view':_0x1c3ddc['toJSON'](),'pivotConfig':_0x3fe032,'type':_0x1bdb8f[_0x378c76(0x1b6)]});const _0x486aa1=!!_0x387d32[_0x378c76(0x412)](),_0x4910ad={'view':_0x1c3ddc,'pivotTableId':_0x2626d5,'textInfo':this[_0x378c76(0x3e7)](),'isEmpty':_0x486aa1,'targetCellInfo':_0x3fe032[_0x378c76(0x1fb)]};this[_0x378c76(0x414)](_0x4910ad,!0x1);}});});});}_0x61a882&&Object[_0xcf40af(0x1b3)](_0x61a882)[_0xcf40af(0x3a7)](_0x4e0f95=>{const _0x4ef43b=_0xcf40af,_0xa7f178=this[_0x4ef43b(0x358)](_0x4e0f95);this[_0x4ef43b(0x257)][_0x4ef43b(0x253)](_0xa7f178[_0x4ef43b(0x27c)]);}),this[_0xcf40af(0x42b)][_0xcf40af(0x1d9)](_0x2806a0['id'],{'batch':_0x3e0488,'collectionConfig':_0x61a882},{'onlyLocal':!0x0});}[_0x6f5ed9(0x37e)](){const _0x70393a=_0x6f5ed9;this[_0x70393a(0x237)](this[_0x70393a(0x2e6)][_0x70393a(0x2c8)]({'toJson':_0x3bf15e=>JSON[_0x70393a(0x46b)](this['toJSON'](_0x3bf15e)),'parseJson':_0x2d6816=>{if(!_0x2d6816)return{};try{return JSON['parse'](_0x2d6816);}catch{return{};}},'businesses':[_0x6ffa6d[_0x70393a(0x19f)][_0x70393a(0x335)]],'pluginName':_0x33898b,'onLoad':(_0x18aac9,_0x2d53db)=>{const _0x5a3106=_0x70393a;this[_0x5a3106(0x269)](_0x2d53db);},'onUnLoad':_0x1ecfa6=>{const _0x2433ab=_0x70393a;this[_0x2433ab(0x3ff)](_0x1ecfa6);}}));}},_0x35c787[_0x6f5ed9(0x185)]=_0x3d6b19([_0x1f5a7c(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x1f5a7c(0x1,_0x6ffa6d['IUniverInstanceService']),_0x1f5a7c(0x2,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x361)])),_0x1f5a7c(0x3,_0x6ffa6d[_0x6f5ed9(0x431)]),_0x1f5a7c(0x4,_0x6ffa6d[_0x6f5ed9(0x3fa)]),_0x1f5a7c(0x5,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x348)]))],_0x35c787['SheetsPivotDataSourceModel']);const _0x5f1f5d={0x0:{0x0:{'v':'filter','s':_0xe319e1}},0x2:{0x1:{'v':'','s':_0xe319e1},0x2:{'v':'','s':_0xe319e1},0x3:{'v':_0x6f5ed9(0x1eb),'s':_0xe319e1},0x4:{'v':'','s':_0xe319e1},0x5:{'v':'','s':_0xe319e1}},0x3:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x4:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x5:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x6:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x7:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x8:{0x0:{'v':_0x6f5ed9(0x316),'s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'values','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x9:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xa:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xb:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xc:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xd:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}}},_0x3ad250={'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':[]},_0x92b1bb=(_0x2ef87d,_0x3ef926)=>{const _0x46170c=_0x6f5ed9,_0x2e4938=new _0x6ffa6d[(_0x46170c(0x291))](),_0x50d682=new _0x6ffa6d[(_0x46170c(0x291))](_0x5f1f5d),{row:_0x45f0ff,col:_0x4edd2c}=_0x3ef926;_0x50d682[_0x46170c(0x263)]((_0x44f7e2,_0xaa35ed,_0x46e282)=>{const _0x17ec16=_0x46170c;let _0x446b7d='';_0x46e282['v']==='filter'?_0x446b7d=_0x2ef87d['filter']:_0x46e282['v']===_0x17ec16(0x316)?_0x446b7d=_0x2ef87d['row']:_0x46e282['v']===_0x17ec16(0x1eb)?_0x446b7d=_0x2ef87d['column']:_0x46e282['v']==='values'&&(_0x446b7d=_0x2ef87d[_0x17ec16(0x342)]),_0x2e4938['setValue'](_0x44f7e2+_0x45f0ff,_0xaa35ed+_0x4edd2c,{..._0x46e282,'v':_0x446b7d});});const _0x57d311=_0x6ffa6d[_0x46170c(0x2eb)][_0x46170c(0x264)](_0x3ad250);return Object[_0x46170c(0x1b3)](_0x3ad250)[_0x46170c(0x3a7)](_0x2a6b9b=>{const _0x2b36bb=_0x46170c;_0x57d311[_0x2a6b9b]=_0x3ad250[_0x2a6b9b][_0x2b36bb(0x38b)](_0x281753=>({..._0x281753,'startRow':_0x281753['startRow']+_0x45f0ff,'endRow':_0x281753[_0x2b36bb(0x272)]+_0x45f0ff,'startColumn':_0x281753[_0x2b36bb(0x477)]+_0x4edd2c,'endColumn':_0x281753[_0x2b36bb(0x3e9)]+_0x4edd2c}));}),{'matrixCache':_0x2e4938,'rangesCache':_0x57d311};};function _0x5d4e05(_0x15e073,_0x1db3e4){const _0x3b80b5=_0x6f5ed9;let _0x22b881='';const _0x29c114=this[_0x3b80b5(0x3e7)]();switch(_0x1db3e4){case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x1cf)]:_0x22b881=_0x29c114[_0x3b80b5(0x337)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x2ba)]:_0x22b881=_0x29c114[_0x3b80b5(0x47a)]+_0x15e073;break;case _0x426cf2['PivotSubtotalTypeEnum']['countNums']:_0x22b881=_0x29c114[_0x3b80b5(0x23b)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x387)]:_0x22b881=_0x29c114[_0x3b80b5(0x192)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x48e)]:_0x22b881=_0x29c114[_0x3b80b5(0x1a4)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)]['product']:_0x22b881=_0x29c114[_0x3b80b5(0x3cc)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x2cd)]:_0x22b881=_0x29c114[_0x3b80b5(0x2da)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x473)]:_0x22b881=_0x29c114[_0x3b80b5(0x386)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x1df)]:_0x22b881=_0x29c114['sheets-pivot.sumName']+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)]['var']:_0x22b881=_0x29c114['sheets-pivot.varName']+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x395)]:_0x22b881=_0x29c114[_0x3b80b5(0x2ea)]+_0x15e073;break;default:_0x22b881=_0x15e073;break;}return _0x22b881;}function _0x94cdc1(_0x4bbc78,_0x378f81,_0x3c12da,_0xc439b8,_0x22bcbd){const _0x1b0416=_0x6f5ed9;var _0x2fbcc8,_0x259947,_0x1dedf3,_0xdbeda5,_0x10fc0b;const _0x2c4b7c=_0x6ffa6d['cellToRange'](_0x4bbc78,_0x378f81),{rangesInfo:_0x89d9f4,areaInfo:_0x56a427,headerMap:_0x2e1c28}=_0x22bcbd;if(!_0x89d9f4||!_0x56a427||!_0x2e1c28)return;const _0x20cd03=Object[_0x1b0416(0x1b3)](_0x89d9f4)[_0x1b0416(0x29c)](_0x3ba2f5=>_0x89d9f4[_0x3ba2f5]['some'](_0x35f331=>_0x6ffa6d[_0x1b0416(0x341)][_0x1b0416(0x20e)](_0x35f331,_0x2c4b7c))),_0x5ba5e1=_0x56a427;let _0x3ed42a,_0x85e0f1,_0x467c20;if(_0x20cd03===_0x1b0416(0x1a5))_0x3ed42a=(_0x2fbcc8=_0x5ba5e1==null?void 0x0:_0x5ba5e1[_0x1b0416(0x44d)])==null?void 0x0:_0x2fbcc8[_0x4bbc78],_0x85e0f1=(_0x259947=_0x2e1c28==null?void 0x0:_0x2e1c28[_0x1b0416(0x191)])==null?void 0x0:_0x259947[_0x378f81],_0x467c20=_0x85e0f1==null?void 0x0:_0x85e0f1[_0x1b0416(0x1ad)];else{if(_0x20cd03===_0x1b0416(0x1d7))_0x3ed42a=(_0x1dedf3=_0x5ba5e1==null?void 0x0:_0x5ba5e1[_0x1b0416(0x458)])==null?void 0x0:_0x1dedf3[_0x378f81],_0x85e0f1=(_0xdbeda5=_0x2e1c28['colHeaderMap'])==null?void 0x0:_0xdbeda5[_0x4bbc78+0x1+_0x378f81-_0x89d9f4[_0x1b0416(0x1d7)][0x0][_0x1b0416(0x477)]],_0x467c20=_0x85e0f1==null?void 0x0:_0x85e0f1[_0x1b0416(0x1ad)];else{if(_0x20cd03==='cornerRanges')_0x3ed42a=(_0x10fc0b=_0x5ba5e1==null?void 0x0:_0x5ba5e1[_0x1b0416(0x450)])==null?void 0x0:_0x10fc0b[_0x378f81],_0x467c20=_0x3ed42a==null?void 0x0:_0x3ed42a[_0x1b0416(0x1ad)];else{if(_0x20cd03===_0x1b0416(0x2d4)){const _0x511025=_0x3c12da==null?void 0x0:_0x3c12da['fi'];_0x511025!==void 0x0&&(_0x467c20=_0xc439b8[_0x1b0416(0x29f)](_0x511025));}}}}return{'filterId':_0x467c20,'info':_0x3ed42a,'data':_0x3c12da,'headerInfo':_0x85e0f1};}function _0x54c6a0(_0x4aa985,_0x3bd770,_0x3d6794){const _0x501689=_0x6f5ed9,_0x40354c=_0x4aa985['dataFieldsCollection'],_0x3a95df=_0x40354c[_0x501689(0x2ca)](),_0x4b4d46=new Set();_0x4aa985[_0x501689(0x24e)](_0x4f951f=>{const _0x2d7f13=_0x501689;_0x4b4d46[_0x2d7f13(0x39c)](_0x4f951f[_0x2d7f13(0x31f)]);});const _0x19bdeb=_0x3a95df[_0x501689(0x38b)](_0x311abe=>{const _0x8d3f68=_0x501689,_0x54e852=_0x40354c[_0x8d3f68(0x229)](_0x311abe);return{'checked':_0x4b4d46[_0x8d3f68(0x228)](_0x311abe),'dataFieldId':_0x54e852['id'],'id':_0x54e852['id'],'name':_0x40354c[_0x8d3f68(0x2e9)](_0x54e852['id']),'type':_0x54e852[_0x8d3f68(0x20b)](),'pivotTableId':_0x3bd770};}),_0x1a4ae5=[];_0x4aa985[_0x501689(0x39e)](_0x426cf2[_0x501689(0x23e)]['Row'],_0x324ec6=>{const _0x5f1a77=_0x501689;_0x1a4ae5[_0x5f1a77(0x321)]({'dataFieldId':_0x324ec6[_0x5f1a77(0x31f)],'tableFieldId':_0x324ec6[_0x5f1a77(0x222)](),'displayName':_0x324ec6[_0x5f1a77(0x2e9)]()});});const _0x31d569=[];_0x4aa985[_0x501689(0x39e)](_0x426cf2['PivotTableFiledAreaEnum'][_0x501689(0x2fe)],_0x12aecd=>{const _0xc0c13b=_0x501689;_0x31d569['push']({'dataFieldId':_0x12aecd[_0xc0c13b(0x31f)],'tableFieldId':_0x12aecd['getId'](),'displayName':_0x12aecd[_0xc0c13b(0x2e9)]()});});const _0x78a06a=[];if(_0x4aa985['iterateFieldByArea'](_0x426cf2[_0x501689(0x23e)][_0x501689(0x435)],_0x5ebe9c=>{const _0x1d2f05=_0x501689;_0x78a06a[_0x1d2f05(0x321)]({'dataFieldId':_0x5ebe9c[_0x1d2f05(0x31f)],'tableFieldId':_0x5ebe9c['getId'](),'displayName':_0x5ebe9c[_0x1d2f05(0x2e9)](),'format':_0x5ebe9c[_0x1d2f05(0x369)](),'subTotalType':_0x5ebe9c[_0x1d2f05(0x31d)]()});}),_0x78a06a[_0x501689(0x293)]>0x1){const _0x3be62b=_0x4aa985[_0x501689(0x476)]();(_0x4aa985['isColMultiMeasure']()?_0x31d569:_0x1a4ae5)['splice'](_0x3be62b,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x501689(0x3ec)});}const _0x5ebdf9=[];_0x4aa985[_0x501689(0x39e)](_0x426cf2[_0x501689(0x23e)][_0x501689(0x1f3)],_0x47dd64=>{const _0x2011ad=_0x501689;_0x5ebdf9[_0x2011ad(0x321)]({'dataFieldId':_0x47dd64['dataFieldId'],'tableFieldId':_0x47dd64['getId'](),'displayName':_0x47dd64['getDisplayName']()});});const _0x410763=_0x3d6794[_0x501689(0x23d)];return{'sourceList':_0x19bdeb,'sourceRange':_0x410763,'rowFields':_0x1a4ae5,'columnFields':_0x31d569,'valueFields':_0x78a06a,'filterFields':_0x5ebdf9,'positionInfo':_0x3d6794[_0x501689(0x1fb)]};}function _0x5f4daa(_0x57013b,_0x1d7f37,_0x80a1e9='',_0x3d986d={}){const _0x3eb052=_0x6f5ed9,_0x45fffd=_0x57013b[_0x3eb052(0x446)](_0x6ffa6d[_0x3eb052(0x2aa)]);for(const _0xa42168 in _0x1d7f37)if(Object[_0x3eb052(0x42a)][_0x3eb052(0x305)][_0x3eb052(0x338)](_0x1d7f37,_0xa42168)){const _0x4b1fb4=_0x80a1e9?_0x80a1e9+'.'+_0xa42168:_0xa42168;typeof _0x1d7f37[_0xa42168]=='object'&&_0x1d7f37[_0xa42168]!==null&&!Array[_0x3eb052(0x1d4)](_0x1d7f37[_0xa42168])?_0x5f4daa(_0x57013b,_0x1d7f37[_0xa42168],_0x4b1fb4,_0x3d986d):_0x3d986d[_0x4b1fb4]=_0x45fffd['t'](_0x4b1fb4);}return _0x3d986d;}const _0x5be06b=_0x11d477=>{const _0x41c08a=_0x6f5ed9;if(!_0x11d477)return[];const {rowRanges:_0x5154a7,colRanges:_0x4216da,cornerRanges:_0x22eb47,dataRanges:_0x33578a,pageRanges:_0x31528b}=_0x11d477,_0x3aef22=[..._0x4216da,..._0x5154a7,..._0x33578a,..._0x22eb47][_0x41c08a(0x1ee)](_0x28cda3=>_0x28cda3[_0x41c08a(0x297)]>=0x0&&_0x28cda3[_0x41c08a(0x477)]>=0x0&&_0x28cda3[_0x41c08a(0x272)]>=0x0&&_0x28cda3[_0x41c08a(0x3e9)]>=0x0);let _0x588519=Number[_0x41c08a(0x28c)],_0x411c0b=Number[_0x41c08a(0x178)],_0x5a17ba=Number[_0x41c08a(0x28c)],_0x4902dc=Number[_0x41c08a(0x178)];for(let _0x1c3518=0x0;_0x1c3518<_0x3aef22[_0x41c08a(0x293)];_0x1c3518++)_0x588519=Math['min'](_0x588519,_0x3aef22[_0x1c3518][_0x41c08a(0x297)]),_0x411c0b=Math[_0x41c08a(0x387)](_0x411c0b,_0x3aef22[_0x1c3518][_0x41c08a(0x272)]),_0x5a17ba=Math[_0x41c08a(0x48e)](_0x5a17ba,_0x3aef22[_0x1c3518][_0x41c08a(0x477)]),_0x4902dc=Math[_0x41c08a(0x387)](_0x4902dc,_0x3aef22[_0x1c3518][_0x41c08a(0x3e9)]);return[..._0x31528b,{'startRow':_0x588519,'endRow':_0x411c0b,'startColumn':_0x5a17ba,'endColumn':_0x4902dc}];};function _0x4e094c(_0x378b12,_0x45decc){const _0xf1d55f=_0x6f5ed9,_0x2d192c=_0x45decc[_0xf1d55f(0x35c)]['drillDown'],{pivotTableId:_0x10ed5b,unitId:_0x579deb,subUnitId:_0x3a58e4}=_0x45decc;if(!_0x2d192c)return;const _0x1f1f62=_0x378b12['get'](_0x35c787[_0xf1d55f(0x185)]),_0x2a51bf=_0x1f1f62[_0xf1d55f(0x442)](_0x10ed5b),_0x32af6e=_0x1f1f62['getPivotTableConfig'](_0x579deb,_0x3a58e4,_0x10ed5b);if(!_0x2a51bf||!_0x32af6e)return;const _0x502f4d=_0x2a51bf[_0xf1d55f(0x3be)](_0x2d192c[_0xf1d55f(0x23c)]);if(!(_0x502f4d!=null&&_0x502f4d['length']))return;const _0x1c84d9=_0x32af6e[_0xf1d55f(0x23d)],{unitId:_0x5cf1bb,subUnitId:_0x190232,range:_0x42332d}=_0x1c84d9;let _0x507099=0x0;const _0x354aa0=_0x2a51bf[_0xf1d55f(0x176)][_0xf1d55f(0x2ca)]()['reduce']((_0x65dd94,_0x1fc176)=>{const _0x2948c9=_0xf1d55f;var _0x154eda;const _0x1124df=(_0x154eda=_0x2a51bf[_0x2948c9(0x403)](_0x1fc176))==null?void 0x0:_0x154eda['getformat']();return _0x1124df&&(_0x65dd94[String(_0x507099)]=_0x1124df),_0x507099++,_0x65dd94;},{});return{'indexes':_0x502f4d,'range':_0x42332d,'sourceUnitId':_0x5cf1bb,'sourceSubUnitId':_0x190232,'formatMap':_0x354aa0};}function _0x1caba2(_0x2e44cb,_0x45510a){const _0x41c6ce=_0x6f5ed9;if(!_0x2e44cb||!_0x45510a)return!0x0;const _0x1a8218=_0x225f82[_0x41c6ce(0x296)](_0x4c8fda,_0x74b1b3),_0x4153de=new Function(_0x41c6ce(0x402)+_0x1a8218)()(_0x2e44cb,_0x45510a)[_0x41c6ce(0x330)],_0x251b5c=_0x225f82[_0x41c6ce(0x2a6)](_0x4153de,'sf',_0x1a1fcb);return!((_0x4153de==null?void 0x0:_0x4153de['rt'])===_0x225f82[_0x41c6ce(0x255)][_0x41c6ce(0x1c0)]&&!_0x251b5c);}function _0x1cbe56(_0x23e7e7,_0x417c6e,_0x398282){const _0x59ff3f=_0x6f5ed9,_0x4b80a4={'count':_0x23e7e7,'timeValid':!0x1};if(!_0x417c6e||!_0x398282)return _0x4b80a4;const _0x35b5d1=_0x225f82[_0x59ff3f(0x296)](_0x4c8fda,_0x74b1b3),_0x31107f=new Function(_0x59ff3f(0x402)+_0x35b5d1)()(_0x417c6e,_0x398282);if(_0x31107f!=null&&_0x31107f[_0x59ff3f(0x17b)]){const _0xff8f96=_0x31107f[_0x59ff3f(0x330)],_0x4f43d2=_0x225f82['isFeatureAuthorizedWithinTime'](_0xff8f96,'sf',_0x1a1fcb);return{'count':_0x225f82[_0x59ff3f(0x2f5)](_0xff8f96,_0x4f43d2,_0x59ff3f(0x490),_0x23e7e7,_0x23e7e7,0x0),'timeValid':_0x4f43d2};}return _0x4b80a4;}function _0x4b7ad7(_0x1b0546,_0x1d8123,_0x461cc6,_0x2a8465){const _0x40aa2c=_0x6f5ed9,_0x239f3a={'subUnitId':_0x461cc6,'unitId':_0x1d8123,'cellValue':_0x2361cb[_0x40aa2c(0x423)](_0x2a8465)},_0x2a6789=_0x2361cb['SetRangeValuesUndoMutationFactory'](_0x1b0546,_0x239f3a);let _0x385bb5=!0x1;return new _0x6ffa6d['ObjectMatrix'](_0x2a6789[_0x40aa2c(0x3b3)])[_0x40aa2c(0x263)]((_0x17cee4,_0x43a2b2,_0x533c72)=>{const _0x7fa33f=_0x40aa2c;if(!_0x385bb5&&_0x533c72&&(_0x533c72[_0x7fa33f(0x187)]||_0x533c72['f']||_0x533c72['p']||_0x533c72['s']||_0x533c72['si']||_0x533c72['t']||_0x533c72['v']))return _0x385bb5=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2361cb[_0x40aa2c(0x1ea)]['id'],'params':_0x2a6789},'setRangeValueRedoMutation':{'id':_0x2361cb[_0x40aa2c(0x1ea)]['id'],'params':_0x239f3a},'shouldClear':_0x385bb5};}function _0x297ca1(_0x74471){const {row:_0x22f4d9,col:_0xebf78b}=_0x74471,_0x3e02d7={'startRow':_0x22f4d9,'endRow':_0x22f4d9,'startColumn':_0xebf78b,'endColumn':_0xebf78b},_0x12bd35={'startRow':_0x22f4d9+0x2,'endRow':_0x22f4d9+0xe,'startColumn':_0xebf78b,'endColumn':_0xebf78b+0x6};return[_0x3e02d7,_0x12bd35];}function _0xb62d81(_0x2e165f,_0x494b4b,_0x2adeb9){const _0x29fd5b=_0x6f5ed9,{cornerView:_0x343e18,rowView:_0x404fb,colView:_0x5db672,pageView:_0x4f7d7b}=_0x2e165f,{row:_0x540040,col:_0x2a492c}=_0x494b4b;if(_0x2adeb9)return{'rowCount':_0x5a5848+_0x540040,'colCount':_0x164e72+_0x2a492c};const _0x2665ba=_0x4f7d7b[_0x29fd5b(0x1f6)]>-0x1?_0x4f7d7b[_0x29fd5b(0x1f6)]+0x1:0x0,_0x1ea236=_0x4f7d7b[_0x29fd5b(0x249)]>-0x1?_0x4f7d7b[_0x29fd5b(0x249)]:0x0,_0x3efbdc=_0x540040+_0x2665ba+(_0x2665ba?0x1:0x0)+_0x343e18[_0x29fd5b(0x3bd)]+_0x404fb[_0x29fd5b(0x3bd)],_0x38f7a1=_0x2a492c+_0x1ea236,_0xb90ee6=_0x2a492c+_0x343e18['colCount']+_0x5db672['colCount'],_0x5d9454=Math[_0x29fd5b(0x387)](_0x38f7a1,_0xb90ee6);return{'rowCount':_0x3efbdc,'colCount':_0x5d9454};}function _0x2a9e07(_0x5ea4f3,_0x2aea09,_0x51a3ca,_0x38a330){const _0x5991f2=_0x6f5ed9,{row:_0x4d4e62,col:_0x5089f3,unitId:_0xdda3bf,subUnitId:_0x3907ea}=_0x51a3ca,_0x9fb3c5=_0xb62d81(_0x2aea09,{'row':_0x4d4e62,'col':_0x5089f3},_0x38a330),_0x22364c=_0x5ea4f3[_0x5991f2(0x446)](_0x6ffa6d[_0x5991f2(0x491)]),_0xfa43e2=_0x2361cb['getSheetCommandTarget'](_0x22364c,{'unitId':_0xdda3bf,'subUnitId':_0x3907ea}),_0x4a529a=[],_0x4696e0=[];if(!_0xfa43e2)return{'undos':_0x4696e0,'redos':_0x4a529a};const {worksheet:_0x3c7556}=_0xfa43e2,_0x5baba2=_0x3c7556[_0x5991f2(0x471)](),_0x3c911a=_0x3c7556[_0x5991f2(0x36c)]();return _0x5baba2<_0x9fb3c5['rowCount']&&(_0x4a529a[_0x5991f2(0x321)]({'id':_0x2361cb[_0x5991f2(0x2c7)]['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':_0x5baba2,'endRow':_0x9fb3c5[_0x5991f2(0x3bd)]-0x1,'startColumn':0x0,'endColumn':_0x3c911a-0x1}}}),_0x4696e0['push']({'id':_0x2361cb[_0x5991f2(0x2fd)]['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':_0x5baba2,'endRow':_0x9fb3c5['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3c911a-0x1}}})),_0x3c911a<_0x9fb3c5[_0x5991f2(0x301)]&&(_0x4a529a[_0x5991f2(0x321)]({'id':_0x2361cb[_0x5991f2(0x354)]['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':0x0,'endRow':_0x5baba2-0x1,'startColumn':_0x3c911a,'endColumn':_0x9fb3c5['colCount']-0x1}}}),_0x4696e0[_0x5991f2(0x321)]({'id':_0x2361cb['RemoveColMutation']['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':0x0,'endRow':_0x5baba2-0x1,'startColumn':_0x3c911a,'endColumn':_0x9fb3c5[_0x5991f2(0x301)]-0x1}}})),{'undos':_0x4696e0,'redos':_0x4a529a};}function _0x3046a9(_0x835824){let _0x2e5c75=0x0;for(let _0x219755=0x0;_0x219755<_0x835824['length'];_0x219755++){const _0x461450=_0x835824['charCodeAt'](_0x219755);_0x461450>=0x4e00&&_0x461450<=0x9fff||_0x461450>=0x3000&&_0x461450<=0x303f||_0x461450>=0xff00&&_0x461450<=0xffef?_0x2e5c75+=0x2:_0x2e5c75+=0x1;}return _0x2e5c75;}function _0x5baf45(_0xaebf88,_0x4136bf,_0x2d1ef8,_0x47130a){const _0x287caf=_0x6f5ed9;var _0x442d6c,_0x420f17,_0x40f2c1,_0x282269;const {rowCount:_0x1decd3,colCount:_0x138171,headerMap:_0x181eb9}=_0xaebf88,_0x5d130c=0x64,_0x26d0b9=Math['min'](_0x1decd3,_0x5d130c),_0x1fc4a0=Math[_0x287caf(0x48e)](_0x138171,_0x5d130c);let _0x1eef00='',_0x4c66c9=0x0;for(let _0x569313=0x0;_0x569313<_0x26d0b9;_0x569313++)for(let _0x19c75d=0x0;_0x19c75d<_0x1fc4a0;_0x19c75d++){const _0xb56b61={...(_0x420f17=(_0x442d6c=_0xaebf88[_0x287caf(0x2b4)])==null?void 0x0:_0x442d6c[_0x569313])==null?void 0x0:_0x420f17[_0x19c75d]},_0x703d37=(_0x40f2c1=_0x181eb9[_0x569313])==null?void 0x0:_0x40f2c1['tableFieldId'],_0x2fbc04=_0x47130a[_0x703d37];let _0x343859=_0xaebf88[_0x287caf(0x3d6)](_0x569313,_0x19c75d);if(_0xb56b61){const _0x251561=_0x2d1ef8?_0x19c75d===0x0&&((_0x282269=_0xaebf88[_0x287caf(0x273)](_0x19c75d+0x1))==null?void 0x0:_0x282269[_0x287caf(0x417)]):!0x1;_0x343859=_0x324cc3(_0xb56b61,_0x251561,_0x2fbc04,_0x4136bf);}if(_0x343859!==void 0x0){const _0x437ad0=_0x3046a9(String(_0x343859));_0x4c66c9<_0x437ad0&&(_0x1eef00=String(_0x343859),_0x4c66c9=_0x437ad0);}}return _0x1eef00;}function _0x48db21(_0x293d1c){const _0x3c4fb9=_0x6f5ed9,{rowCount:_0x32cb42,colCount:_0x33b4db}=_0x293d1c;let _0x28be65='',_0x62ad2e=0x0;for(let _0x393a60=_0x32cb42-0x1;_0x393a60>0x0&&_0x393a60>_0x32cb42-0x3;_0x393a60--)for(let _0x3a08c0=0x0;_0x3a08c0<_0x33b4db;_0x3a08c0++){const _0xd5fd3c=_0x293d1c['getValue'](_0x393a60,_0x3a08c0);if(_0xd5fd3c!==void 0x0){const _0x4aafd0=String(_0xd5fd3c)[_0x3c4fb9(0x293)];_0x62ad2e<_0x4aafd0&&(_0x28be65=String(_0xd5fd3c),_0x62ad2e=_0x4aafd0);}}return _0x28be65;}function _0x240e5e(_0x5eab42){const _0x9bd655=_0x6f5ed9,{rowCount:_0x568002,colCount:_0x3d4dde}=_0x5eab42;let _0x20c37e='',_0x3e87ac=0x0;for(let _0x2fc3f9=0x0;_0x2fc3f9<_0x568002;_0x2fc3f9++)for(let _0x344e84=0x0;_0x344e84<_0x3d4dde;_0x344e84++){const _0x43c72d=_0x5eab42[_0x9bd655(0x3d6)](_0x2fc3f9,_0x344e84);if(_0x43c72d!==void 0x0){const _0x84ed40=String(_0x43c72d)[_0x9bd655(0x293)];_0x3e87ac<_0x84ed40&&(_0x20c37e=String(_0x43c72d),_0x3e87ac=_0x84ed40);}}return _0x20c37e;}function _0x1e5c72(_0x25128c,_0x28ead4){const _0x21ac44=_0x6f5ed9,{rowFields:_0x21c345,columnFields:_0x1f4837,valueFields:_0x176e39,filterFields:_0x41c155,dimension:_0x177d11,measure:_0x2a985b}=_0x28ead4;for(const _0xfa74f4 of _0x21c345){const _0xb9b565=_0x177d11[_0xfa74f4];_0xb9b565&&_0x25128c[_0x21ac44(0x403)](_0xb9b565[_0x21ac44(0x31f)])&&(_0x25128c[_0x21ac44(0x2f4)](_0xb9b565[_0x21ac44(0x31f)],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x248)],void 0x0,_0xfa74f4),_0xb9b565['displayName']&&_0x25128c['renameField'](_0xb9b565['id'],_0xb9b565[_0x21ac44(0x1d8)]),_0xb9b565[_0x21ac44(0x314)]&&_0x25128c['setSortInfo'](_0xb9b565['id'],_0xb9b565[_0x21ac44(0x314)]),_0xb9b565['filterInfo']&&_0x25128c[_0x21ac44(0x3c3)](_0xb9b565['id'],_0xb9b565[_0x21ac44(0x444)]));}for(const _0x171b0f of _0x1f4837){const _0x5f4fde=_0x177d11[_0x171b0f];_0x5f4fde&&_0x25128c[_0x21ac44(0x403)](_0x5f4fde[_0x21ac44(0x31f)])&&(_0x25128c[_0x21ac44(0x2f4)](_0x5f4fde[_0x21ac44(0x31f)],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x2fe)],void 0x0,_0x171b0f),_0x5f4fde[_0x21ac44(0x314)]&&_0x25128c[_0x21ac44(0x370)](_0x5f4fde['id'],_0x5f4fde[_0x21ac44(0x314)]),_0x5f4fde[_0x21ac44(0x444)]&&_0x25128c[_0x21ac44(0x3c3)](_0x5f4fde['id'],_0x5f4fde['filterInfo']),_0x5f4fde[_0x21ac44(0x1d8)]&&_0x25128c[_0x21ac44(0x475)](_0x5f4fde['id'],_0x5f4fde[_0x21ac44(0x1d8)]));}for(const _0x3783cc of _0x41c155){const _0x41c343=_0x177d11[_0x3783cc];_0x41c343&&_0x25128c[_0x21ac44(0x403)](_0x41c343['dataFieldId'])&&(_0x25128c[_0x21ac44(0x2f4)](_0x41c343['dataFieldId'],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x1f3)],void 0x0,_0x3783cc),_0x41c343[_0x21ac44(0x314)]&&_0x25128c['setSortInfo'](_0x41c343['id'],_0x41c343[_0x21ac44(0x314)]),_0x41c343[_0x21ac44(0x444)]&&_0x25128c[_0x21ac44(0x3c3)](_0x41c343['id'],_0x41c343[_0x21ac44(0x444)]),_0x41c343[_0x21ac44(0x1d8)]&&_0x25128c['renameField'](_0x41c343['id'],_0x41c343[_0x21ac44(0x1d8)]));}for(const _0x14068f of _0x176e39){const _0x17b45b=_0x2a985b[_0x14068f];_0x17b45b&&_0x25128c['getDataFieldByDataFieldId'](_0x17b45b['dataFieldId'])&&(_0x25128c[_0x21ac44(0x2f4)](_0x17b45b[_0x21ac44(0x31f)],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x435)],void 0x0,_0x14068f),_0x17b45b[_0x21ac44(0x492)]!==void 0x0&&_0x25128c['setSubtotalType'](_0x14068f,_0x17b45b[_0x21ac44(0x492)]),_0x17b45b[_0x21ac44(0x242)]&&_0x25128c[_0x21ac44(0x21b)](_0x14068f,_0x17b45b[_0x21ac44(0x242)]),_0x17b45b[_0x21ac44(0x1d8)]&&_0x25128c[_0x21ac44(0x475)](_0x17b45b['id'],_0x17b45b[_0x21ac44(0x1d8)]));}const _0x45ff77=_0x28ead4[_0x21ac44(0x346)];for(const {fieldId:_0x36fdfc,filterInfo:_0x208bcc}of _0x45ff77)_0x25128c[_0x21ac44(0x209)](_0x36fdfc,_0x208bcc);}function _0x37d3ad(_0x31ede8,_0x4f4d86){const _0x391414=_0x6f5ed9,_0x5d4bc6=[];_0x4f4d86===_0x426cf2[_0x391414(0x23e)][_0x391414(0x248)]&&_0x31ede8['iterateFieldByArea'](_0x426cf2[_0x391414(0x23e)][_0x391414(0x248)],_0x2cb4b0=>{const _0x52912a=_0x391414;_0x5d4bc6[_0x52912a(0x321)](_0x2cb4b0[_0x52912a(0x222)]());}),_0x4f4d86===_0x426cf2['PivotTableFiledAreaEnum'][_0x391414(0x2fe)]&&_0x31ede8[_0x391414(0x39e)](_0x426cf2[_0x391414(0x23e)]['Column'],_0x186592=>{const _0x5ea0b5=_0x391414;_0x5d4bc6['push'](_0x186592[_0x5ea0b5(0x222)]());}),_0x4f4d86===_0x426cf2[_0x391414(0x23e)]['Filter']&&_0x31ede8[_0x391414(0x39e)](_0x426cf2[_0x391414(0x23e)][_0x391414(0x1f3)],_0x2e3558=>{const _0xdc9de9=_0x391414;_0x5d4bc6[_0xdc9de9(0x321)](_0x2e3558['getId']());}),_0x4f4d86===_0x426cf2[_0x391414(0x23e)][_0x391414(0x435)]&&_0x31ede8[_0x391414(0x39e)](_0x426cf2[_0x391414(0x23e)][_0x391414(0x435)],_0xfe442f=>{const _0x5292a2=_0x391414;_0x5d4bc6[_0x5292a2(0x321)](_0xfe442f[_0x5292a2(0x222)]());}),_0x4f4d86===void 0x0&&_0x31ede8['iterateField'](_0x1ce7ca=>{const _0x6e06d3=_0x391414;_0x5d4bc6[_0x6e06d3(0x321)](_0x1ce7ca[_0x6e06d3(0x222)]());});const _0x178a54=_0x5d4bc6['length'];for(let _0x567117=_0x178a54-0x1;_0x567117>=0x0;_0x567117--)_0x31ede8['removeField'](_0x5d4bc6[_0x567117]);const _0x48c6c3=_0x31ede8['getValueFilterInfos']();for(const _0x2704a2 in _0x48c6c3)_0x31ede8[_0x391414(0x189)](_0x2704a2);}function _0x10ee0f(_0x2ffe10,_0x500ec0){const _0x263b11=_0x6f5ed9,_0x5ea473=new Date(_0x426cf2[_0x263b11(0x26e)](_0x500ec0)),_0x440258=new Date(_0x426cf2[_0x263b11(0x26e)](_0x2ffe10)),_0x5ed02a=_0x5ea473[_0x263b11(0x1de)](),_0xa54c55=_0x440258['getFullYear'](),_0x3479fa=_0x5ea473[_0x263b11(0x1a2)](),_0x32a949=_0x440258[_0x263b11(0x1a2)](),_0x109d55=_0x5ea473['getDate'](),_0x388f6d=_0x440258[_0x263b11(0x1f8)](),_0x1fa228=_0x5ed02a===_0xa54c55,_0x3ee17f=_0x1fa228&&_0x3479fa===_0x32a949;return _0x1fa228&&_0x3ee17f&&!(_0x3ee17f&&_0x109d55===_0x388f6d)?_0x426cf2[_0x263b11(0x388)][_0x263b11(0x3d8)]:_0x1fa228&&!_0x3ee17f?_0x426cf2[_0x263b11(0x388)]['YearMonth']:_0x426cf2[_0x263b11(0x388)][_0x263b11(0x34c)];}function _0x55d82e(_0x1fd55c,_0x5d4d95){const _0x1097d8=_0x6f5ed9,_0x4917f4=_0x1fd55c[_0x1097d8(0x446)](_0x35c787[_0x1097d8(0x185)])[_0x1097d8(0x3e7)]();let _0x22435d='';switch(_0x5d4d95){case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1097d8(0x3d8)]:_0x22435d=_0x4917f4[_0x1097d8(0x218)];break;case _0x426cf2[_0x1097d8(0x388)]['YearMonth']:_0x22435d=_0x4917f4[_0x1097d8(0x2b8)];break;case _0x426cf2[_0x1097d8(0x388)]['Year']:_0x22435d=_0x4917f4[_0x1097d8(0x3b9)];break;case _0x426cf2[_0x1097d8(0x388)][_0x1097d8(0x336)]:_0x22435d=_0x4917f4[_0x1097d8(0x3eb)];break;case _0x426cf2[_0x1097d8(0x388)]['Quarter']:_0x22435d=_0x4917f4[_0x1097d8(0x32e)];break;case _0x426cf2[_0x1097d8(0x388)]['Date']:_0x22435d=_0x4917f4[_0x1097d8(0x17a)];break;case _0x426cf2[_0x1097d8(0x388)]['HourMinute']:_0x22435d=_0x4917f4[_0x1097d8(0x2fb)];break;case _0x426cf2[_0x1097d8(0x388)][_0x1097d8(0x3d5)]:_0x22435d=_0x4917f4[_0x1097d8(0x483)];break;case _0x426cf2['PivotDateGroupFieldDateTypeEnum']['Minute']:_0x22435d=_0x4917f4['sheets-pivot.dateGroup.minute'];break;case _0x426cf2[_0x1097d8(0x388)]['MonthDate']:_0x22435d=_0x4917f4['sheets-pivot.dateGroup.monthDate'];break;case _0x426cf2[_0x1097d8(0x388)][_0x1097d8(0x2a4)]:_0x22435d=_0x4917f4[_0x1097d8(0x2c2)];break;default:_0x22435d='';break;}return _0x22435d;}const _0xdced9d=_0x6f5ed9(0x26c),_0x246221={};var _0x190224=Object[_0x6f5ed9(0x1a9)],_0x2df5da=(_0x5d75af,_0xc84b1b,_0x1f1a27,_0x223459)=>{const _0x5c8279=_0x6f5ed9;for(var _0x2f6399=_0x223459>0x1?void 0x0:_0x223459?_0x190224(_0xc84b1b,_0x1f1a27):_0xc84b1b,_0xe7f9a4=_0x5d75af[_0x5c8279(0x293)]-0x1,_0x3bc58b;_0xe7f9a4>=0x0;_0xe7f9a4--)(_0x3bc58b=_0x5d75af[_0xe7f9a4])&&(_0x2f6399=_0x3bc58b(_0x2f6399)||_0x2f6399);return _0x2f6399;},_0x331927=(_0x49a3f0,_0x280a82)=>(_0x374953,_0x3691e8)=>_0x280a82(_0x374953,_0x3691e8,_0x49a3f0);_0x35c787[_0x6f5ed9(0x266)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x21bf78,_0x510541,_0x398589,_0xb10092,_0x3ea79f){const _0x7ecd67=_0x6f5ed9;super(),_0x47a2cd(this,_0x7ecd67(0x2bf),new Map()),_0x47a2cd(this,'_collectionConfigModel',new Map()),_0x47a2cd(this,_0x7ecd67(0x1aa),new Map()),_0x47a2cd(this,'_pivotTableMatrixInfo',new Map()),_0x47a2cd(this,_0x7ecd67(0x3ae),new _0xcfe6e1[(_0x7ecd67(0x2af))]()),_0x47a2cd(this,_0x7ecd67(0x278),new _0xcfe6e1[(_0x7ecd67(0x2af))]()),_0x47a2cd(this,_0x7ecd67(0x472),this['_pivotInitCompleted$'][_0x7ecd67(0x1e6)]()),_0x47a2cd(this,_0x7ecd67(0x31e),new _0xcfe6e1[(_0x7ecd67(0x2af))]()),_0x47a2cd(this,_0x7ecd67(0x3da),this[_0x7ecd67(0x31e)][_0x7ecd67(0x1e6)]()),_0x47a2cd(this,_0x7ecd67(0x1e9),{}),_0x47a2cd(this,'configVersion$',this[_0x7ecd67(0x3ae)][_0x7ecd67(0x1e6)]()),(this[_0x7ecd67(0x208)]=_0x21bf78,this[_0x7ecd67(0x42b)]=_0x510541,this[_0x7ecd67(0x19e)]=_0x398589,this[_0x7ecd67(0x2e6)]=_0xb10092,this[_0x7ecd67(0x347)]=_0x3ea79f,this['_initLocale'](),this['_initUnitDisposed']());const _0x15c13d=this[_0x7ecd67(0x347)][_0x7ecd67(0x2a3)](_0xdced9d);(_0x15c13d==null?void 0x0:_0x15c13d['notExecuteFormula'])===!0x0&&this[_0x7ecd67(0x37e)]();}[_0x6f5ed9(0x225)](){const _0x262554=_0x6f5ed9;this[_0x262554(0x237)](this[_0x262554(0x19e)]['getTypeOfUnitDisposed$'](_0x6ffa6d['UniverInstanceType'][_0x262554(0x335)])[_0x262554(0x281)](_0x564ce0=>{const _0x574d6c=_0x262554;this[_0x574d6c(0x3ff)](_0x564ce0[_0x574d6c(0x2d1)]());}));}[_0x6f5ed9(0x319)](){const _0x412e17=_0x6f5ed9;this['_pivotInitCompleted$'][_0x412e17(0x253)](!0x0);}[_0x6f5ed9(0x275)](){const _0x46b377=_0x6f5ed9,_0x5a339f=_0x5f4daa(this['_injector'],_0x1a58d5,'',{});this[_0x46b377(0x1e9)]=_0x5a339f,this['_commandService'][_0x46b377(0x1d9)](_0x49280b['id'],{'textInfo':_0x5a339f},{'onlyLocal':!0x0});}[_0x6f5ed9(0x3e7)](){const _0x23aea9=_0x6f5ed9;return this[_0x23aea9(0x1e9)];}[_0x6f5ed9(0x271)](_0x2a7d86,_0x4a9977,_0x4f23e9,_0x464066,_0x3d5719){const _0x2f6c9e=_0x6f5ed9;this[_0x2f6c9e(0x195)](_0x2a7d86,_0x4a9977,_0x4f23e9,_0x464066),this['updatePivotTableRangeInfo'](_0x2a7d86,_0x4a9977,_0x4f23e9,_0x3d5719);}[_0x6f5ed9(0x34a)](_0x308e5c,_0x3b7158,_0x57da7a){const _0x3489b6=_0x6f5ed9;var _0x1fb28a;const _0x2af470=(_0x1fb28a=this[_0x3489b6(0x2bf)][_0x3489b6(0x446)](_0x308e5c))==null?void 0x0:_0x1fb28a['get'](_0x3b7158);if(_0x2af470)return _0x2af470['get'](_0x57da7a);}[_0x6f5ed9(0x47b)](_0x26fd33,_0x39f7d5){const _0x57a622=_0x6f5ed9,_0x2d8764=this['_model'][_0x57a622(0x446)](_0x26fd33);if(_0x2d8764){for(const [_0x10c3d1,_0x78ab1a]of _0x2d8764[_0x57a622(0x37a)]())for(const [_0x39b236,_0x10e1b6]of _0x78ab1a['entries']())if(_0x39b236===_0x39f7d5)return _0x10e1b6['targetCellInfo'];}}[_0x6f5ed9(0x292)](_0x476131,_0x5ba95d,_0x3f1cca){const _0x41d551=_0x6f5ed9,_0x397598=this[_0x41d551(0x34a)](_0x476131,_0x5ba95d,_0x3f1cca);return _0x397598==null?void 0x0:_0x397598[_0x41d551(0x1fb)];}[_0x6f5ed9(0x1a0)](_0x27f016,_0x569e70){const _0x2aed29=_0x6f5ed9;var _0x5cb207;return(_0x5cb207=this[_0x2aed29(0x2bf)][_0x2aed29(0x446)](_0x27f016))==null?void 0x0:_0x5cb207[_0x2aed29(0x446)](_0x569e70);}[_0x6f5ed9(0x193)](_0x4d3552,_0x24ecb2,_0x302913,_0x2b5dbe){const _0x4e53f4=_0x6f5ed9,_0x1f7a1d=this[_0x4e53f4(0x3d3)](_0x4d3552,_0x24ecb2);_0x2b5dbe?_0x1f7a1d[_0x4e53f4(0x2bc)](_0x302913,_0x2b5dbe):_0x1f7a1d[_0x4e53f4(0x374)](_0x302913),this[_0x4e53f4(0x31e)]['next']({'unitId':_0x4d3552,'subUnitId':_0x24ecb2,'pivotTableId':_0x302913,'pivotTableConfig':_0x2b5dbe});}[_0x6f5ed9(0x3d9)](_0x31b341,_0x4d5b24){const _0x460764=_0x6f5ed9;var _0x5c8bff;return(_0x5c8bff=this['_collectionConfigModel'][_0x460764(0x446)](_0x31b341))==null?void 0x0:_0x5c8bff[_0x460764(0x27c)][_0x4d5b24];}[_0x6f5ed9(0x1ae)](_0x5540ce,_0x306d24){const _0x58916a=_0x6f5ed9;this['_collectionConfigModel'][_0x58916a(0x2bc)](_0x5540ce,_0x306d24),this[_0x58916a(0x3ae)][_0x58916a(0x253)](Math[_0x58916a(0x25e)]());}[_0x6f5ed9(0x3d3)](_0x364570,_0x277bcd){const _0x73e22c=_0x6f5ed9;let _0x130958=this[_0x73e22c(0x2bf)]['get'](_0x364570);_0x130958||(_0x130958=new Map(),this[_0x73e22c(0x2bf)][_0x73e22c(0x2bc)](_0x364570,_0x130958));let _0x1ffbf9=_0x130958[_0x73e22c(0x446)](_0x277bcd);return _0x1ffbf9||(_0x1ffbf9=new Map(),_0x130958[_0x73e22c(0x2bc)](_0x277bcd,_0x1ffbf9)),_0x1ffbf9;}[_0x6f5ed9(0x360)](_0x487854,_0x536ac9){const _0xfc50d=_0x6f5ed9;let _0x38c9a8=this['_pivotTableRangeInfo']['get'](_0x487854);_0x38c9a8||(_0x38c9a8=new Map(),this['_pivotTableRangeInfo'][_0xfc50d(0x2bc)](_0x487854,_0x38c9a8));let _0x3be155=_0x38c9a8[_0xfc50d(0x446)](_0x536ac9);return _0x3be155||(_0x3be155=new Map(),_0x38c9a8[_0xfc50d(0x2bc)](_0x536ac9,_0x3be155)),_0x3be155;}[_0x6f5ed9(0x3e8)](_0x44d2b7,_0x2d08c4){const _0x2e98de=_0x6f5ed9;let _0x4480e7=this[_0x2e98de(0x3a3)][_0x2e98de(0x446)](_0x44d2b7);_0x4480e7||(_0x4480e7=new Map(),this[_0x2e98de(0x3a3)][_0x2e98de(0x2bc)](_0x44d2b7,_0x4480e7));let _0x3fff7b=_0x4480e7[_0x2e98de(0x446)](_0x2d08c4);return _0x3fff7b||(_0x3fff7b=new Map(),_0x4480e7[_0x2e98de(0x2bc)](_0x2d08c4,_0x3fff7b)),_0x3fff7b;}[_0x6f5ed9(0x2ee)](_0x3c60b1,_0xd4d72b,_0x3e9373,_0xe9a3bc){const _0x26867a=_0x6f5ed9;var _0x4999d0;const _0x49c645=this[_0x26867a(0x360)](_0x3c60b1,_0xd4d72b),_0x10651f=(_0x4999d0=_0x49c645[_0x26867a(0x446)](_0x3e9373))==null?void 0x0:_0x4999d0[_0x26867a(0x181)];_0x49c645[_0x26867a(0x2bc)](_0x3e9373,{'oldRangeInfo':_0x10651f,'rangeInfo':_0xe9a3bc});}[_0x6f5ed9(0x195)](_0x1fea2f,_0x25be1a,_0x3755ed,_0x5e0de5){const _0x5ce129=_0x6f5ed9;var _0x13f0c3;const _0x4b0907=this[_0x5ce129(0x3e8)](_0x1fea2f,_0x25be1a),_0x2fa174=(_0x13f0c3=_0x4b0907[_0x5ce129(0x446)](_0x3755ed))==null?void 0x0:_0x13f0c3[_0x5ce129(0x3e2)];_0x4b0907[_0x5ce129(0x2bc)](_0x3755ed,{'oldMatrix':_0x2fa174,'matrix':_0x5e0de5});}[_0x6f5ed9(0x3e6)](_0x219716,_0xaf2cb0,_0x240ab9){const _0x17d758=_0x6f5ed9;var _0x444d0f,_0x3a13a3;return(_0x3a13a3=(_0x444d0f=this[_0x17d758(0x1aa)]['get'](_0x219716))==null?void 0x0:_0x444d0f[_0x17d758(0x446)](_0xaf2cb0))==null?void 0x0:_0x3a13a3[_0x17d758(0x446)](_0x240ab9);}[_0x6f5ed9(0x48a)](_0x18650f,_0x206516,_0x28986f){const _0x8ae409=_0x6f5ed9;var _0x4ebc6f,_0x56b5a6;return(_0x56b5a6=(_0x4ebc6f=this['_pivotTableMatrixInfo'][_0x8ae409(0x446)](_0x18650f))==null?void 0x0:_0x4ebc6f[_0x8ae409(0x446)](_0x206516))==null?void 0x0:_0x56b5a6[_0x8ae409(0x446)](_0x28986f);}[_0x6f5ed9(0x3ff)](_0x1432cf){const _0x10783d=_0x6f5ed9;this[_0x10783d(0x2bf)][_0x10783d(0x374)](_0x1432cf),this[_0x10783d(0x1c8)][_0x10783d(0x374)](_0x1432cf);}[_0x6f5ed9(0x2f3)](_0xd50a02){const _0x3bcbb0=_0x6f5ed9,_0x2bf19b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3bcbb0(0x1c8)][_0x3bcbb0(0x446)](_0xd50a02)&&(_0x2bf19b['dataFieldManagerConfig'][_0xd50a02]=this[_0x3bcbb0(0x1c8)][_0x3bcbb0(0x446)](_0xd50a02)),this['_model'][_0x3bcbb0(0x446)](_0xd50a02)){_0x2bf19b['pivotTableConfigs'][_0xd50a02]={};const _0x3c774a=this[_0x3bcbb0(0x2bf)][_0x3bcbb0(0x446)](_0xd50a02);_0x3c774a!=null&&_0x3c774a['size']&&[..._0x3c774a[_0x3bcbb0(0x1b3)]()][_0x3bcbb0(0x3a7)](_0x555cc9=>{const _0x36e428=_0x3bcbb0,_0x3b0e66=_0x3c774a[_0x36e428(0x446)](_0x555cc9);_0x3b0e66!=null&&_0x3b0e66[_0x36e428(0x317)]&&(_0x2bf19b[_0x36e428(0x401)][_0xd50a02][_0x555cc9]={},[..._0x3b0e66[_0x36e428(0x1b3)]()]['forEach'](_0x89790b=>{const _0x1c9c3d=_0x36e428,_0x2de502=_0x3b0e66[_0x1c9c3d(0x446)](_0x89790b);_0x2de502&&(_0x2bf19b[_0x1c9c3d(0x401)][_0xd50a02][_0x555cc9][_0x89790b]=_0x2de502);}));});}return _0x2bf19b;}[_0x6f5ed9(0x37e)](){const _0x2a94e9=_0x6f5ed9;this[_0x2a94e9(0x237)](this['_resourceManagerService'][_0x2a94e9(0x2c8)]({'toJson':_0x46fcac=>JSON[_0x2a94e9(0x46b)](this[_0x2a94e9(0x2f3)](_0x46fcac)),'parseJson':_0x588cb0=>({}),'businesses':[_0x6ffa6d[_0x2a94e9(0x19f)][_0x2a94e9(0x335)]],'pluginName':_0x33898b,'onLoad':(_0x8795,_0x33c49b)=>{},'onUnLoad':_0x5b9489=>{const _0xc759e3=_0x2a94e9;this[_0xc759e3(0x3ff)](_0x5b9489);}}));}},_0x35c787[_0x6f5ed9(0x266)]=_0x2df5da([_0x331927(0x0,_0x6ffa6d['Inject'](_0x6ffa6d['Injector'])),_0x331927(0x1,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0x331927(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0x331927(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d['IResourceManagerService'])),_0x331927(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x431)]))],_0x35c787[_0x6f5ed9(0x266)]);var _0x212748=Object['getOwnPropertyDescriptor'],_0x1ada84=(_0x1e3002,_0x54d957,_0x46bd52,_0x4a7e21)=>{const _0x543cb4=_0x6f5ed9;for(var _0x18dce2=_0x4a7e21>0x1?void 0x0:_0x4a7e21?_0x212748(_0x54d957,_0x46bd52):_0x54d957,_0x232a8a=_0x1e3002[_0x543cb4(0x293)]-0x1,_0x179786;_0x232a8a>=0x0;_0x232a8a--)(_0x179786=_0x1e3002[_0x232a8a])&&(_0x18dce2=_0x179786(_0x18dce2)||_0x18dce2);return _0x18dce2;},_0x2fe318=(_0x13d272,_0x11ec3f)=>(_0x1d2135,_0x211be7)=>_0x11ec3f(_0x1d2135,_0x211be7,_0x13d272);_0x35c787[_0x6f5ed9(0x2e3)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x1847c0,_0x57e9ad,_0x428164,_0x58711b,_0x15d578){const _0x2b6f68=_0x6f5ed9;super(),_0x47a2cd(this,_0x2b6f68(0x3dd),new Map()),_0x47a2cd(this,'_pivotRenderValueMatrixCache',new Map()),_0x47a2cd(this,_0x2b6f68(0x1c6),new _0xcfe6e1[(_0x2b6f68(0x2af))]()),_0x47a2cd(this,_0x2b6f68(0x17d),this[_0x2b6f68(0x1c6)][_0x2b6f68(0x1e6)]()),_0x47a2cd(this,'_viewUpdate$',new _0xcfe6e1[(_0x2b6f68(0x2af))]()),_0x47a2cd(this,'viewUpdate$',this[_0x2b6f68(0x25c)][_0x2b6f68(0x1e6)]()),_0x47a2cd(this,_0x2b6f68(0x1e9)),(this[_0x2b6f68(0x3df)]=_0x1847c0,this[_0x2b6f68(0x208)]=_0x57e9ad,this[_0x2b6f68(0x310)]=_0x428164,this[_0x2b6f68(0x19e)]=_0x58711b,this['_exclusiveRangeService']=_0x15d578,this[_0x2b6f68(0x275)](),this[_0x2b6f68(0x225)]());}[_0x6f5ed9(0x225)](){const _0x2f2487=_0x6f5ed9;this['disposeWithMe'](this[_0x2f2487(0x19e)][_0x2f2487(0x2e8)](_0x6ffa6d[_0x2f2487(0x19f)][_0x2f2487(0x335)])[_0x2f2487(0x281)](_0xd59aba=>{const _0x3474d7=_0x2f2487;this[_0x3474d7(0x3ff)](_0xd59aba[_0x3474d7(0x2d1)]());}));}['_initLocale'](){const _0x4d8989=_0x6f5ed9;this[_0x4d8989(0x1e9)]=_0x5f4daa(this[_0x4d8989(0x208)],_0x1a58d5,'',{});}[_0x6f5ed9(0x25b)](_0x46111e){const _0x15599c=_0x6f5ed9,{view:_0x581763,unitId:_0x50a169,subUnitId:_0x6a3f5d,pivotTableId:_0x2fbda0,type:_0x4912c3}=_0x46111e,_0x1f66ed=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x50a169,_0x6a3f5d,_0x2fbda0);if(!_0x581763||!_0x1f66ed||_0x4912c3===_0x1bdb8f[_0x15599c(0x3f6)])return;const {pageView:_0x5dcec9,cornerView:_0x1dfab1,rowView:_0x506faa,colView:_0xffe22,dataView:_0x4fd786}=_0x581763,_0x222d40=_0x1f66ed[_0x15599c(0x1fb)],_0x35eb95=_0x1f66ed[_0x15599c(0x412)],_0x30b3f0=this[_0x15599c(0x440)](_0x50a169,_0x6a3f5d),_0x46c49d=this[_0x15599c(0x452)](_0x50a169,_0x6a3f5d,_0x2fbda0);if(_0x35eb95)return this[_0x15599c(0x22b)](_0x46111e,_0x30b3f0,_0x222d40,_0x46c49d);{const _0x46eeca=_0x5b7a08(_0x222d40,_0x5dcec9,!0x0),_0x4f3ee1=_0x5dcec9[_0x15599c(0x1f6)]>=0x0?_0x5dcec9['lastRow']+0x1:0x0,_0x142257=_0x1dfab1['getRowCount'](),_0xaa709=_0x1dfab1['getColCount'](),_0x5b4e18=_0x46eeca[_0x15599c(0x293)]>0x0?_0x523e5a:0x0,_0x2c4cd2=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18,'col':_0x222d40[_0x15599c(0x48d)]},_0x1dfab1,!0x1,!0x1),_0x18b7e2=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18+_0x142257,'col':_0x222d40[_0x15599c(0x48d)]},_0x506faa,!0x1,!0x0),_0x98c5fe=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18,'col':_0x222d40['col']+_0xaa709},_0xffe22,!0x1,!0x0),_0x520dd8=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18+_0x142257,'col':_0x222d40[_0x15599c(0x48d)]+_0xaa709},_0x4fd786,!0x1,!0x1);_0x46c49d[_0x15599c(0x1af)]={'rowRanges':_0x18b7e2,'colRanges':_0x98c5fe,'cornerRanges':_0x2c4cd2,'dataRanges':_0x520dd8,'pageRanges':_0x46eeca};const _0xc566a0=_0x161c8f(this[_0x15599c(0x208)],_0x581763,_0x1f66ed,this[_0x15599c(0x1e9)]),{valueMatrix:_0x28c946,rowInfo:_0x415e85,colInfo:_0x6266c1,cornerInfo:_0x2166a6,rowHeaderMap:_0x11b72b,colHeaderMap:_0x124e9a}=_0xc566a0;return _0x46c49d[_0x15599c(0x2e4)]={'rowInfo':_0x415e85,'colInfo':_0x6266c1,'cornerInfo':_0x2166a6},_0x46c49d['headerMap']={'rowHeaderMap':_0x11b72b,'colHeaderMap':_0x124e9a},_0x28c946[_0x15599c(0x3a7)]((_0x16fa33,_0x268e0c)=>{const _0x3d7c28=_0x15599c;Object[_0x3d7c28(0x1b3)](_0x268e0c)[_0x3d7c28(0x3a7)](_0x5225dd=>{const _0x538c82=_0x3d7c28,_0x423df3=+_0x5225dd,_0x26e195=_0x28c946[_0x538c82(0x3d6)](_0x16fa33,_0x423df3);_0x30b3f0[_0x538c82(0x41e)](_0x16fa33,_0x423df3,_0x26e195);});}),this[_0x15599c(0x25c)][_0x15599c(0x253)]({'unitId':_0x50a169,'subUnitId':_0x6a3f5d,'valueMatrix':_0x30b3f0,'rangesCache':_0x46c49d[_0x15599c(0x1af)],'pivotTableId':_0x2fbda0,'type':_0x46111e['type']}),this[_0x15599c(0x310)][_0x15599c(0x271)](_0x50a169,_0x6a3f5d,_0x2fbda0,_0x30b3f0,_0x46c49d['rangesInfo']),this[_0x15599c(0x2b5)][_0x15599c(0x45b)](_0x50a169,_0x6a3f5d,_0x4bccec,this[_0x15599c(0x45f)](_0x46c49d[_0x15599c(0x1af)],_0x2fbda0)),{'rangeCache':_0x46c49d[_0x15599c(0x1af)],'matrix':_0x30b3f0};}}[_0x6f5ed9(0x22b)](_0xd93a80,_0x204c2f,_0x2e7fd3,_0x12309c){const _0x3ed32d=_0x6f5ed9,_0x232dde=this[_0x3ed32d(0x3df)]['t'],{unitId:_0x38af24,subUnitId:_0x534119,pivotTableId:_0x2484a9}=_0xd93a80,_0x2530ba={'filter':_0x232dde(_0x3ed32d(0x26a)),'row':_0x232dde(_0x3ed32d(0x389)),'column':_0x232dde(_0x3ed32d(0x2f7)),'values':_0x232dde(_0x3ed32d(0x420))},{matrixCache:_0x2e2a9e,rangesCache:_0x495a98}=_0x92b1bb(_0x2530ba,_0x2e7fd3);return _0x2e2a9e[_0x3ed32d(0x263)]((_0x296aac,_0x2fe274,_0xb67b24)=>{const _0xe638cc=_0x3ed32d;_0x204c2f[_0xe638cc(0x41e)](_0x296aac,_0x2fe274,_0xb67b24);}),_0x12309c[_0x3ed32d(0x1af)]=_0x495a98,this['_viewUpdate$']['next']({'unitId':_0x38af24,'subUnitId':_0x534119,'valueMatrix':_0x204c2f,'rangesCache':_0x495a98,'pivotTableId':_0x2484a9,'type':_0xd93a80['type'],'isEmpty':!0x0}),this[_0x3ed32d(0x310)][_0x3ed32d(0x271)](_0x38af24,_0x534119,_0x2484a9,_0x204c2f,_0x495a98),this[_0x3ed32d(0x2b5)][_0x3ed32d(0x45b)](_0x38af24,_0x534119,_0x4bccec,this[_0x3ed32d(0x45f)](_0x495a98,_0x2484a9)),{'rangeCache':_0x12309c[_0x3ed32d(0x1af)],'matrix':_0x204c2f};}[_0x6f5ed9(0x45f)](_0x4dbb1f,_0x3301fd){const _0x24cff8=_0x6f5ed9,_0xa0020b=[],_0x5ba3f0=_0x5be06b(_0x4dbb1f);for(const _0x50ff28 of _0x5ba3f0)_0xa0020b[_0x24cff8(0x321)]({'groupId':_0x3301fd,'range':_0x50ff28});return _0xa0020b;}[_0x6f5ed9(0x202)](_0x586cc3){const _0x277062=_0x6f5ed9;var _0x15cdf8,_0x38ab01,_0x4813d1,_0x395c98;const {pivotTableId:_0x3c354e,unitId:_0x1244e2,subUnitId:_0x404f76}=_0x586cc3;if(!_0x3c354e||!_0x1244e2||!_0x404f76)return;const _0x2efdd3=this[_0x277062(0x440)](_0x1244e2,_0x404f76),_0x1ce274=(_0x38ab01=(_0x15cdf8=this['_pivotRenderInfoCache'][_0x277062(0x446)](_0x1244e2))==null?void 0x0:_0x15cdf8[_0x277062(0x446)](_0x404f76))==null?void 0x0:_0x38ab01[_0x277062(0x446)](_0x3c354e);if(_0x1ce274!=null&&_0x1ce274[_0x277062(0x1af)]){for(const _0x5bc46e of Object['keys'](_0x1ce274['rangesInfo']))_0x1ce274[_0x277062(0x1af)][_0x5bc46e][_0x277062(0x3a7)](_0x242d51=>{const _0x4b45d9=_0x277062;for(let _0x188836=_0x242d51[_0x4b45d9(0x297)];_0x188836<=_0x242d51[_0x4b45d9(0x272)];_0x188836++)for(let _0x579212=_0x242d51[_0x4b45d9(0x477)];_0x579212<=_0x242d51[_0x4b45d9(0x3e9)];_0x579212++)_0x2efdd3[_0x4b45d9(0x3f8)](_0x188836,_0x579212);});}_0x1ce274&&((_0x395c98=(_0x4813d1=this[_0x277062(0x3dd)][_0x277062(0x446)](_0x1244e2))==null?void 0x0:_0x4813d1['get'](_0x404f76))==null||_0x395c98[_0x277062(0x374)](_0x3c354e)),this[_0x277062(0x25c)][_0x277062(0x253)]({'unitId':_0x1244e2,'subUnitId':_0x404f76,'valueMatrix':_0x2efdd3,'pivotTableId':_0x3c354e,'rangesCache':void 0x0,'type':_0x586cc3['type']}),this[_0x277062(0x2b5)][_0x277062(0x259)](_0x1244e2,_0x404f76,_0x4bccec,_0x3c354e);}[_0x6f5ed9(0x452)](_0x4eef81,_0x39e955,_0x81084f){const _0x13cdd7=_0x6f5ed9;var _0xa7a7eb,_0x1a6f9a,_0x689724,_0x4c8347,_0x4d58a2,_0x2930f5;return this[_0x13cdd7(0x3dd)]['has'](_0x4eef81)||this[_0x13cdd7(0x3dd)][_0x13cdd7(0x2bc)](_0x4eef81,new Map()),(_0xa7a7eb=this[_0x13cdd7(0x3dd)][_0x13cdd7(0x446)](_0x4eef81))!=null&&_0xa7a7eb[_0x13cdd7(0x228)](_0x39e955)||(_0x1a6f9a=this[_0x13cdd7(0x3dd)][_0x13cdd7(0x446)](_0x4eef81))==null||_0x1a6f9a['set'](_0x39e955,new Map()),(_0x4c8347=(_0x689724=this[_0x13cdd7(0x3dd)]['get'](_0x4eef81))==null?void 0x0:_0x689724[_0x13cdd7(0x446)](_0x39e955))!=null&&_0x4c8347['has'](_0x81084f)||(_0x2930f5=(_0x4d58a2=this['_pivotRenderInfoCache'][_0x13cdd7(0x446)](_0x4eef81))==null?void 0x0:_0x4d58a2['get'](_0x39e955))==null||_0x2930f5[_0x13cdd7(0x2bc)](_0x81084f,{}),this[_0x13cdd7(0x3dd)][_0x13cdd7(0x446)](_0x4eef81)[_0x13cdd7(0x446)](_0x39e955)[_0x13cdd7(0x446)](_0x81084f);}[_0x6f5ed9(0x440)](_0x3bedfd,_0x1a9e94){const _0x376c00=_0x6f5ed9;var _0x126eb6,_0x3a62de;return this['_pivotRenderValueMatrixCache'][_0x376c00(0x228)](_0x3bedfd)||this[_0x376c00(0x393)]['set'](_0x3bedfd,new Map()),(_0x126eb6=this['_pivotRenderValueMatrixCache'][_0x376c00(0x446)](_0x3bedfd))!=null&&_0x126eb6[_0x376c00(0x228)](_0x1a9e94)||(_0x3a62de=this[_0x376c00(0x393)]['get'](_0x3bedfd))==null||_0x3a62de[_0x376c00(0x2bc)](_0x1a9e94,new _0x6ffa6d[(_0x376c00(0x291))]()),this[_0x376c00(0x393)][_0x376c00(0x446)](_0x3bedfd)[_0x376c00(0x446)](_0x1a9e94);}[_0x6f5ed9(0x22d)](_0x14defc,_0x377489,_0x897e8e,_0x3dbcc7){const _0x2a5505=_0x6f5ed9;var _0x1066ad,_0x236bd0;const _0x1d2cfc=(_0x236bd0=(_0x1066ad=this[_0x2a5505(0x393)]['get'](_0x14defc))==null?void 0x0:_0x1066ad[_0x2a5505(0x446)](_0x377489))==null?void 0x0:_0x236bd0[_0x2a5505(0x3d6)](_0x897e8e,_0x3dbcc7);if(_0x1d2cfc!=null)return _0x1d2cfc;}[_0x6f5ed9(0x2be)](_0x1a493,_0x368a92,_0xa76972,_0x40a210){const _0x1d12d6=_0x6f5ed9;var _0x59dad9;const _0x12543b=_0x6ffa6d[_0x1d12d6(0x38c)](_0xa76972,_0x40a210),_0x254df6=(_0x59dad9=this[_0x1d12d6(0x3dd)][_0x1d12d6(0x446)](_0x1a493))==null?void 0x0:_0x59dad9['get'](_0x368a92);return _0x254df6?Array[_0x1d12d6(0x325)](_0x254df6[_0x1d12d6(0x1b3)]())['find'](_0x14b8a4=>{const _0x4af811=_0x1d12d6,_0x61d15=_0x254df6[_0x4af811(0x446)](_0x14b8a4),_0x4cfc8d=_0x61d15==null?void 0x0:_0x61d15['rangesInfo'];return _0x4cfc8d?Object[_0x4af811(0x1b3)](_0x4cfc8d)[_0x4af811(0x282)](_0x2bccb1=>_0x4cfc8d[_0x2bccb1][_0x4af811(0x282)](_0x269757=>_0x6ffa6d['Rectangle']['contains'](_0x269757,_0x12543b))):!0x1;}):void 0x0;}[_0x6f5ed9(0x1d3)](_0x166e1c,_0xd03e3,_0xb742ca){const _0x157153=_0x6f5ed9;var _0x18a13a;const _0x3cebba=(_0x18a13a=this[_0x157153(0x3dd)]['get'](_0x166e1c))==null?void 0x0:_0x18a13a[_0x157153(0x446)](_0xd03e3),_0x25d59d=[];return _0x3cebba&&Array[_0x157153(0x325)](_0x3cebba[_0x157153(0x1b3)]())[_0x157153(0x3a7)](_0x16921f=>{const _0x55fae0=_0x157153,_0x5010fd=_0x3cebba['get'](_0x16921f),_0x2fb38d=_0x5010fd==null?void 0x0:_0x5010fd[_0x55fae0(0x1af)];if(_0x2fb38d)for(const _0x52086b of Object[_0x55fae0(0x342)](_0x2fb38d)){let _0x5d9e34=!0x1;for(const _0x165932 of _0x52086b)if(_0x6ffa6d[_0x55fae0(0x341)][_0x55fae0(0x21c)](_0x165932,_0xb742ca)){_0x25d59d[_0x55fae0(0x321)](_0x16921f),_0x5d9e34=!0x0;break;}if(_0x5d9e34)break;}}),_0x25d59d;}['getSubUnitPivotMatrix'](_0x165776,_0x18b456){const _0x138196=_0x6f5ed9;var _0x5e52f1,_0x1cc603;return(_0x1cc603=(_0x5e52f1=this['_pivotRenderValueMatrixCache'][_0x138196(0x446)](_0x165776))==null?void 0x0:_0x5e52f1['get'](_0x18b456))!=null?_0x1cc603:new _0x6ffa6d[(_0x138196(0x291))]();}[_0x6f5ed9(0x28d)](_0x10b1e5,_0x3928fa){const _0x239cfd=_0x6f5ed9;var _0x276264;return(_0x276264=this[_0x239cfd(0x3dd)][_0x239cfd(0x446)](_0x10b1e5))==null?void 0x0:_0x276264[_0x239cfd(0x446)](_0x3928fa);}[_0x6f5ed9(0x42e)](_0x19b543,_0x43b69f,_0x2bb7d6){const _0x5e7e67=_0x6f5ed9;var _0x187af6,_0x2eb8c6;return(_0x2eb8c6=(_0x187af6=this[_0x5e7e67(0x3dd)]['get'](_0x19b543))==null?void 0x0:_0x187af6[_0x5e7e67(0x446)](_0x43b69f))==null?void 0x0:_0x2eb8c6[_0x5e7e67(0x446)](_0x2bb7d6);}[_0x6f5ed9(0x3ff)](_0x4c400d){const _0x5f4181=_0x6f5ed9;this[_0x5f4181(0x3dd)][_0x5f4181(0x374)](_0x4c400d),this[_0x5f4181(0x393)]['delete'](_0x4c400d);}[_0x6f5ed9(0x27e)](_0x5195d2,_0x1c55e3){const _0xaf0e0=_0x6f5ed9;this[_0xaf0e0(0x1c6)][_0xaf0e0(0x253)]({'unitId':_0x5195d2,'subUnitId':_0x1c55e3});}},_0x35c787[_0x6f5ed9(0x2e3)]=_0x1ada84([_0x2fe318(0x0,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x2aa)])),_0x2fe318(0x1,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x2fe318(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)])),_0x2fe318(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0x2fe318(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x47d)]))],_0x35c787[_0x6f5ed9(0x2e3)]);var _0x38b3c5=Object[_0x6f5ed9(0x1a9)],_0x53a881=(_0x9d1487,_0x5553bd,_0xaea5ca,_0x416808)=>{const _0x2eb3cd=_0x6f5ed9;for(var _0x425951=_0x416808>0x1?void 0x0:_0x416808?_0x38b3c5(_0x5553bd,_0xaea5ca):_0x5553bd,_0x2d8518=_0x9d1487[_0x2eb3cd(0x293)]-0x1,_0x4813a5;_0x2d8518>=0x0;_0x2d8518--)(_0x4813a5=_0x9d1487[_0x2d8518])&&(_0x425951=_0x4813a5(_0x425951)||_0x425951);return _0x425951;},_0x125857=(_0x140d83,_0x5e48fc)=>(_0x35eaf8,_0x270f50)=>_0x5e48fc(_0x35eaf8,_0x270f50,_0x140d83);_0x35c787[_0x6f5ed9(0x207)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x1d7dab,_0x328920){const _0x3428dc=_0x6f5ed9;super(),_0x47a2cd(this,_0x3428dc(0x233),new _0x6ffa6d[(_0x3428dc(0x28b))]({'PIVOT_PERFORM_CHECK':_0x1f0071})),_0x47a2cd(this,_0x3428dc(0x2e7),new _0x6ffa6d[(_0x3428dc(0x457))]({'PIVOT_MUTATION_GENERATE':_0x1b527c})),(this[_0x3428dc(0x44e)]=_0x1d7dab,this[_0x3428dc(0x3ad)]=_0x328920,this[_0x3428dc(0x19b)]());}[_0x6f5ed9(0x19b)](){const _0x3a38b0=_0x6f5ed9;this[_0x3a38b0(0x298)]();}['getPivotPerformCheck'](_0x1406a9){const _0x422902=_0x6f5ed9;return this[_0x422902(0x233)][_0x422902(0x493)](_0x1f0071)(!0x1,_0x1406a9);}[_0x6f5ed9(0x298)](){const _0x2380ae=_0x6f5ed9;this[_0x2380ae(0x237)](this[_0x2380ae(0x44e)]['intercept'](_0x2361cb['INTERCEPTOR_POINT'][_0x2380ae(0x2ae)],{'priority':0xc8,'effect':_0x6ffa6d[_0x2380ae(0x390)]['Value']|_0x6ffa6d['InterceptorEffectEnum'][_0x2380ae(0x381)],'handler':(_0x4ef565,_0x84fae1,_0x56d783)=>{const _0x5d8a3a=_0x2380ae,{row:_0x8e4281,col:_0x92e735,unitId:_0x25b1ba,subUnitId:_0x416ab4,workbook:_0x73e0e}=_0x84fae1,_0x43a165=this[_0x5d8a3a(0x3ad)]['getPivotTableCellData'](_0x25b1ba,_0x416ab4,_0x8e4281,_0x92e735);if(!_0x43a165)return _0x56d783(_0x4ef565);const _0x22bf40={..._0x4ef565};(_0x43a165['v']||_0x43a165['v']===0x0)&&(_0x22bf40['v']=_0x43a165['v']),_0x43a165['t']&&(_0x22bf40['t']=_0x43a165['t']);const _0x18737b=(typeof(_0x4ef565==null?void 0x0:_0x4ef565['s'])==_0x5d8a3a(0x179)?_0x73e0e[_0x5d8a3a(0x3aa)]()[_0x5d8a3a(0x446)](_0x4ef565==null?void 0x0:_0x4ef565['s']):_0x4ef565==null?void 0x0:_0x4ef565['s'])||{},_0x5a44df=_0x73e0e['getStyles']()[_0x5d8a3a(0x446)](_0x43a165['s']),_0x37bd68={..._0x5a44df,..._0x18737b};_0x5a44df!=null&&_0x5a44df['n']&&(_0x37bd68['n']=_0x5a44df['n']);const _0xc5e7a6=_0x73e0e[_0x5d8a3a(0x3aa)]()[_0x5d8a3a(0x41e)](_0x37bd68);return _0x22bf40['s']=_0xc5e7a6,(_0x43a165[_0x5d8a3a(0x28e)]===_0x426cf2[_0x5d8a3a(0x428)]['Collapse']||_0x43a165['pbt']===_0x426cf2[_0x5d8a3a(0x428)][_0x5d8a3a(0x29a)])&&(_0x22bf40['fontRenderExtension']={},_0x22bf40[_0x5d8a3a(0x3f2)][_0x5d8a3a(0x1b1)]=_0x10b9c0),_0x56d783(_0x22bf40);}}));}},_0x35c787[_0x6f5ed9(0x207)]=_0x53a881([_0x125857(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb['SheetInterceptorService'])),_0x125857(0x1,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x2e3)]))],_0x35c787[_0x6f5ed9(0x207)]);function _0x389881(_0x4530d9,_0x2f8af3){const _0x14403a=_0x6f5ed9;switch(_0x2f8af3){case _0x426cf2['PivotTableFiledAreaEnum'][_0x14403a(0x435)]:return _0x4530d9[_0x14403a(0x2a5)];case _0x426cf2[_0x14403a(0x23e)][_0x14403a(0x1f3)]:return _0x4530d9[_0x14403a(0x3c2)];case _0x426cf2['PivotTableFiledAreaEnum']['Row']:return _0x4530d9[_0x14403a(0x1c4)];case _0x426cf2[_0x14403a(0x23e)][_0x14403a(0x2fe)]:return _0x4530d9[_0x14403a(0x18b)];default:return[];}}function _0x283405(_0x3e23f9,_0x5e3497){const _0x3c198f=_0x6f5ed9;return _0x3e23f9[_0x3c198f(0x36d)][_0x5e3497]||_0x3e23f9['dimension'][_0x5e3497];}function _0x500597(_0x4f2f96,_0x29cba3){const _0x3bb761=_0x6f5ed9,{area:_0x20622f,fieldJson:_0x465409,index:_0x4be1cd}=_0x29cba3;_0x20622f===_0x426cf2['PivotTableFiledAreaEnum']['Value']?_0x4f2f96[_0x3bb761(0x36d)][_0x465409['id']]=_0x465409:_0x4f2f96[_0x3bb761(0x17e)][_0x465409['id']]=_0x465409,_0x389881(_0x4f2f96,_0x20622f)[_0x3bb761(0x31a)](_0x4be1cd,0x0,_0x465409['id']);}function _0x25d749(_0x3925a6,_0x1ada0d){const _0x330840=_0x6f5ed9,{area:_0x312fdf,fieldId:_0x4153fd,index:_0x5e2138}=_0x1ada0d;_0x312fdf===_0x426cf2['PivotTableFiledAreaEnum'][_0x330840(0x435)]?delete _0x3925a6[_0x330840(0x36d)][_0x4153fd]:delete _0x3925a6[_0x330840(0x17e)][_0x4153fd],_0x389881(_0x3925a6,_0x312fdf)[_0x330840(0x31a)](_0x5e2138,0x1);}function _0x2e9547(_0x3e84b8,_0x477c98){const _0x4db106=_0x6f5ed9,{fieldId:_0x3c7e8b,name:_0x3260b0}=_0x477c98,_0x183f33=_0x283405(_0x3e84b8,_0x3c7e8b);_0x183f33&&(_0x183f33[_0x4db106(0x1d8)]=_0x3260b0);}function _0x58673a(_0x19713c,_0x32725c){const _0x22ae9d=_0x6f5ed9,{fieldId:_0x757590,collapse:_0x4b6ddc,item:_0x2f9ce6}=_0x32725c;_0x2f9ce6!==void 0x0?(_0x19713c[_0x22ae9d(0x25f)][_0x757590]=_0x19713c[_0x22ae9d(0x25f)][_0x757590]||{},_0x19713c[_0x22ae9d(0x25f)][_0x757590][_0x2f9ce6]=_0x4b6ddc):_0x19713c[_0x22ae9d(0x25f)][_0x757590]=_0x4b6ddc;}function _0x2751ac(_0x463b58,_0x4c50cc){const _0x10f6c9=_0x6f5ed9,{fieldId:_0x238374,format:_0x281f25}=_0x4c50cc,_0x2dce17=_0x283405(_0x463b58,_0x238374);_0x2dce17&&(_0x2dce17[_0x10f6c9(0x242)]=_0x281f25);}function _0x25f45b(_0x4a8f61,_0x3292cf){const _0x4b34f2=_0x6f5ed9,{fieldId:_0x4d44d9,filterInfo:_0x294f42}=_0x3292cf,_0x6cd893=_0x283405(_0x4a8f61,_0x4d44d9);_0x6cd893&&(_0x6cd893[_0x4b34f2(0x444)]=_0x294f42);}function _0x48df7d(_0x1bfe9e,_0x103d62){const _0x3b49f4=_0x6f5ed9,{fieldId:_0x4e08fb,filterInfo:_0x4b4d92}=_0x103d62,_0x4c8571=_0x1bfe9e[_0x3b49f4(0x346)][_0x3b49f4(0x1ee)](_0x6dd6e1=>_0x6dd6e1['fieldId']!==_0x4e08fb);_0x4b4d92&&_0x4c8571[_0x3b49f4(0x321)]({'fieldId':_0x4e08fb,'filterInfo':_0x4b4d92}),_0x1bfe9e[_0x3b49f4(0x346)]=_0x4c8571;}function _0x1df3db(_0x33ad7a,_0x3eb3e9){const _0x407c0e=_0x6f5ed9,{fieldId:_0x221a6b,subtotalType:_0x1290f4}=_0x3eb3e9,_0x4e6cb3=_0x283405(_0x33ad7a,_0x221a6b);_0x4e6cb3&&(_0x4e6cb3[_0x407c0e(0x492)]=_0x1290f4);}function _0x4f4ac5(_0x2eb052,_0x593749){const _0x4133e9=_0x6f5ed9,{fieldId:_0x4120a9,oldArea:_0x3c3c3a,area:_0x3e6405,oldIndex:_0x309e2f,index:_0x39c850}=_0x593749,_0x1b913c=_0x3c3c3a!==_0x426cf2[_0x4133e9(0x23e)][_0x4133e9(0x435)]&&_0x3e6405===_0x426cf2['PivotTableFiledAreaEnum'][_0x4133e9(0x435)],_0x3bb4d4=_0x3c3c3a===_0x426cf2[_0x4133e9(0x23e)][_0x4133e9(0x435)]&&_0x3e6405!==_0x426cf2[_0x4133e9(0x23e)][_0x4133e9(0x435)];if(_0x1b913c||_0x3bb4d4){const _0x32ea4f=_0x283405(_0x2eb052,_0x4120a9);_0x32ea4f&&(_0x1b913c?(delete _0x2eb052['dimension'][_0x4120a9],_0x2eb052[_0x4133e9(0x36d)][_0x4120a9]=_0x32ea4f):(delete _0x2eb052[_0x4133e9(0x36d)][_0x4120a9],_0x2eb052[_0x4133e9(0x17e)][_0x4120a9]=_0x32ea4f));}const _0x45e7a7=_0x389881(_0x2eb052,_0x3c3c3a),_0x2d4791=_0x389881(_0x2eb052,_0x3e6405);_0x45e7a7[_0x4133e9(0x31a)](_0x309e2f,0x1),_0x2d4791[_0x4133e9(0x31a)](_0x39c850,0x0,_0x4120a9);}function _0x36c898(_0x155fb9,_0x263755){const _0x2214dd=_0x6f5ed9,{valuePosition:_0x8ba6d5,index:_0x14e52e}=_0x263755;_0x155fb9[_0x2214dd(0x41d)]=_0x8ba6d5,_0x155fb9[_0x2214dd(0x43e)]=_0x14e52e;}function _0x396379(_0x540917,_0x3714e7){const _0x28bc08=_0x6f5ed9,{tableFieldId:_0x38af1d,sourceName:_0x1b3cfd,dataFieldId:_0xd0984c}=_0x3714e7,_0x107682=_0x283405(_0x540917,_0x38af1d);_0x107682&&(_0x107682[_0x28bc08(0x466)]=_0x1b3cfd,_0x107682[_0x28bc08(0x31f)]=_0xd0984c);}function _0x23db1d(_0x5ac50d,_0x4fe410){const _0x27526c=_0x6f5ed9,{fieldId:_0x215c49,sortInfo:_0x2a6c21}=_0x4fe410,_0x471171=_0x283405(_0x5ac50d,_0x215c49);_0x471171&&(_0x471171[_0x27526c(0x314)]=_0x2a6c21);}function _0x3f4797(_0x308f81,_0x4d1ae6){const _0x5dde2e=_0x6f5ed9,{options:_0x489b64}=_0x4d1ae6;_0x308f81[_0x5dde2e(0x48b)]={..._0x308f81[_0x5dde2e(0x48b)],..._0x489b64};}const _0x3162b8={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3f1),'handler'(_0x8b36a2,_0x519298){const _0x1deb6f=_0x6f5ed9;if(!_0x519298)return!0x1;if(!!_0x8b36a2[_0x1deb6f(0x446)](_0x6ffa6d[_0x1deb6f(0x431)])[_0x1deb6f(0x2a3)](_0x838977))return!0x0;const _0x395700=_0x8b36a2[_0x1deb6f(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{pivotTableId:_0x1d3b8d,fieldJson:_0x424b8a,area:_0x226da4,index:_0x18d641,unitId:_0x340410,subUnitId:_0x418f50}=_0x519298,_0x1722db=_0x395700[_0x1deb6f(0x442)](_0x1d3b8d);if(!_0x1722db)return!0x1;let _0x12f058;_0x226da4===_0x426cf2['PivotTableFiledAreaEnum'][_0x1deb6f(0x435)]?_0x12f058=_0x426cf2[_0x1deb6f(0x1fe)](_0x424b8a):_0x12f058=_0x426cf2[_0x1deb6f(0x418)](_0x424b8a),_0x1722db[_0x1deb6f(0x2ef)](_0x12f058,_0x226da4,_0x18d641);const _0x1bed12=_0x395700[_0x1deb6f(0x43a)](_0x340410,_0x418f50,_0x1d3b8d);_0x500597(_0x1bed12,_0x519298);const _0x1c11b2=_0x395700[_0x1deb6f(0x34a)](_0x340410,_0x418f50,_0x1d3b8d);return _0x395700[_0x1deb6f(0x3c1)]({'unitId':_0x340410,'subUnitId':_0x418f50,'token':_0x1d3b8d,'type':_0x1bdb8f[_0x1deb6f(0x2e5)],'pivotConfig':_0x1c11b2}),!0x0;}},_0x2cf165={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.remove-pivot-field','handler'(_0xb97720,_0x1d9061){const _0x343804=_0x6f5ed9;if(!_0x1d9061)return!0x1;if(!!_0xb97720['get'](_0x6ffa6d['IConfigService'])[_0x343804(0x2a3)](_0x838977))return!0x0;const _0x1a6461=_0xb97720[_0x343804(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{pivotTableId:_0x157887,fieldId:_0x480272,unitId:_0x5c3278,subUnitId:_0x36aebe}=_0x1d9061,_0x266b03=_0x1a6461[_0x343804(0x442)](_0x157887);if(!_0x266b03)return!0x1;_0x266b03[_0x343804(0x38f)](_0x480272);const _0x13038b=_0x1a6461['getPivotTableModelConfig'](_0x5c3278,_0x36aebe,_0x157887);_0x25d749(_0x13038b,_0x1d9061);const _0x3b70ad=_0x1a6461[_0x343804(0x34a)](_0x5c3278,_0x36aebe,_0x157887);return _0x1a6461['addDirtyPivotTable']({'unitId':_0x5c3278,'subUnitId':_0x36aebe,'token':_0x157887,'type':_0x1bdb8f[_0x343804(0x2e5)],'pivotConfig':_0x3b70ad}),!0x0;}},_0x382b64={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'id':_0x6f5ed9(0x436),'handler'(_0x40ace9,_0x173de7){const _0x5a088b=_0x6f5ed9;if(!_0x173de7)return!0x1;if(!!_0x40ace9[_0x5a088b(0x446)](_0x6ffa6d['IConfigService'])[_0x5a088b(0x2a3)](_0x838977))return!0x0;const _0x4be4df=_0x40ace9[_0x5a088b(0x446)](_0x35c787[_0x5a088b(0x185)]),{unitId:_0x371773,subUnitId:_0x48d486,pivotTableId:_0x36dd1c,fieldId:_0x212822,name:_0x48d9ff}=_0x173de7,_0x167b8e=_0x4be4df[_0x5a088b(0x442)](_0x36dd1c);if(!_0x167b8e)return!0x1;_0x167b8e[_0x5a088b(0x475)](_0x212822,_0x48d9ff);const _0x59420a=_0x4be4df[_0x5a088b(0x43a)](_0x371773,_0x48d486,_0x36dd1c);return _0x2e9547(_0x59420a,_0x173de7),_0x4be4df[_0x5a088b(0x3c1)]({'unitId':_0x371773,'subUnitId':_0x48d486,'token':_0x36dd1c,'type':_0x1bdb8f[_0x5a088b(0x2e5)]}),!0x0;}},_0x2bbb11={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3ed),'handler'(_0x3e6807,_0x1e4119){const _0x100b99=_0x6f5ed9;if(!_0x1e4119)return!0x1;if(!!_0x3e6807[_0x100b99(0x446)](_0x6ffa6d[_0x100b99(0x431)])[_0x100b99(0x2a3)](_0x838977))return!0x0;const _0x1b53cd=_0x3e6807[_0x100b99(0x446)](_0x35c787[_0x100b99(0x185)]),{unitId:_0x1f075f,subUnitId:_0x5cf597,pivotTableId:_0x1b45c3,fieldId:_0x80df0e,collapse:_0x38554d,item:_0x2ecfd2}=_0x1e4119,_0x4d36ba=_0x1b53cd['getPivotTableInstance'](_0x1b45c3);if(!_0x4d36ba)return!0x1;_0x4d36ba['setCollapse'](_0x80df0e,_0x38554d,_0x2ecfd2);const _0x5a5144=_0x1b53cd[_0x100b99(0x43a)](_0x1f075f,_0x5cf597,_0x1b45c3);return _0x58673a(_0x5a5144,_0x1e4119),_0x1b53cd[_0x100b99(0x3c1)]({'unitId':_0x1f075f,'subUnitId':_0x5cf597,'token':_0x1b45c3,'type':_0x1bdb8f[_0x100b99(0x2e5)]}),!0x0;}},_0x117dd7={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x47e),'handler'(_0x449345,_0x3a7c30){const _0x53103d=_0x6f5ed9;if(!_0x3a7c30)return!0x1;if(!!_0x449345[_0x53103d(0x446)](_0x6ffa6d[_0x53103d(0x431)])['getConfig'](_0x838977))return!0x0;const _0x3ef939=_0x449345[_0x53103d(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{unitId:_0x231ac1,subUnitId:_0x2a9159,pivotTableId:_0x18fee5,fieldId:_0x732c91,format:_0x56dfee}=_0x3a7c30,_0x45cb61=_0x3ef939[_0x53103d(0x442)](_0x18fee5);if(!_0x45cb61)return!0x1;_0x45cb61[_0x53103d(0x21b)](_0x732c91,_0x56dfee);const _0x5ef23e=_0x3ef939['getPivotTableModelConfig'](_0x231ac1,_0x2a9159,_0x18fee5);return _0x2751ac(_0x5ef23e,_0x3a7c30),_0x3ef939[_0x53103d(0x3c1)]({'unitId':_0x231ac1,'subUnitId':_0x2a9159,'token':_0x18fee5,'type':_0x1bdb8f[_0x53103d(0x2e5)]}),!0x0;}},_0x4e8127={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3b1),'handler'(_0x49faa7,_0x569b36){const _0x838283=_0x6f5ed9;if(!_0x569b36)return!0x1;if(!!_0x49faa7[_0x838283(0x446)](_0x6ffa6d[_0x838283(0x431)])[_0x838283(0x2a3)](_0x838977))return!0x0;const _0x2b89a2=_0x49faa7[_0x838283(0x446)](_0x35c787[_0x838283(0x185)]),{unitId:_0x118065,subUnitId:_0x1fc7f7,pivotTableId:_0x57bb3f,fieldId:_0xc4bea6,filterInfo:_0x52bd17}=_0x569b36,_0x737753=_0x2b89a2[_0x838283(0x442)](_0x57bb3f);if(!_0x737753)return!0x1;_0x737753[_0x838283(0x3c3)](_0xc4bea6,_0x52bd17);const _0xd9d6cf=_0x2b89a2[_0x838283(0x43a)](_0x118065,_0x1fc7f7,_0x57bb3f);return _0x25f45b(_0xd9d6cf,_0x569b36),_0x2b89a2[_0x838283(0x3c1)]({'unitId':_0x118065,'subUnitId':_0x1fc7f7,'token':_0x57bb3f,'type':_0x1bdb8f[_0x838283(0x2e5)]}),!0x0;}},_0x5129ed={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x465),'handler'(_0x1b1ed8,_0xd6f40d){const _0x20136c=_0x6f5ed9;if(!_0xd6f40d)return!0x1;if(!!_0x1b1ed8[_0x20136c(0x446)](_0x6ffa6d[_0x20136c(0x431)])['getConfig'](_0x838977))return!0x0;const _0xc81385=_0x1b1ed8[_0x20136c(0x446)](_0x35c787[_0x20136c(0x185)]),{unitId:_0x36d82c,subUnitId:_0x3b05ed,pivotTableId:_0x1b69a4,options:_0x217895}=_0xd6f40d,_0xc87ec2=_0xc81385[_0x20136c(0x442)](_0x1b69a4);if(!_0xc87ec2)return!0x1;_0xc87ec2[_0x20136c(0x34b)](_0x217895);const _0x590e2f=_0xc81385[_0x20136c(0x43a)](_0x36d82c,_0x3b05ed,_0x1b69a4);return _0x3f4797(_0x590e2f,_0xd6f40d),_0xc81385[_0x20136c(0x3c1)]({'unitId':_0x36d82c,'subUnitId':_0x3b05ed,'token':_0x1b69a4,'type':_0x1bdb8f[_0x20136c(0x2e5)]}),!0x0;}},_0x3df2c2={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'id':_0x6f5ed9(0x1cb),'handler'(_0x56cb2e,_0x20b1e9){const _0x1a17ab=_0x6f5ed9;if(!_0x20b1e9)return!0x1;if(!!_0x56cb2e['get'](_0x6ffa6d[_0x1a17ab(0x431)])['getConfig'](_0x838977))return!0x0;const _0x269d42=_0x56cb2e['get'](_0x35c787['SheetsPivotDataSourceModel']),{unitId:_0x5b56ee,subUnitId:_0x580077,pivotTableId:_0x639a79,sortInfo:_0x152f35,fieldId:_0x112a5e}=_0x20b1e9,_0x29579c=_0x269d42[_0x1a17ab(0x442)](_0x639a79);if(!_0x29579c)return!0x1;_0x29579c[_0x1a17ab(0x370)](_0x112a5e,_0x152f35);const _0x5ef4fc=_0x269d42['getPivotTableModelConfig'](_0x5b56ee,_0x580077,_0x639a79);return _0x23db1d(_0x5ef4fc,_0x20b1e9),_0x269d42['addDirtyPivotTable']({'unitId':_0x5b56ee,'subUnitId':_0x580077,'token':_0x639a79,'type':_0x1bdb8f[_0x1a17ab(0x2e5)]}),!0x0;}},_0x371bfd={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3a8),'handler'(_0x2891ea,_0x2e4861){const _0x1eceeb=_0x6f5ed9;if(!_0x2e4861)return!0x1;if(!!_0x2891ea[_0x1eceeb(0x446)](_0x6ffa6d[_0x1eceeb(0x431)])[_0x1eceeb(0x2a3)](_0x838977))return!0x0;const _0x2e12de=_0x2891ea[_0x1eceeb(0x446)](_0x35c787[_0x1eceeb(0x185)]),{unitId:_0x1e2f52,subUnitId:_0x45c6ef,pivotTableId:_0x1c29ed,fieldId:_0x31a3d9,subtotalType:_0x379816}=_0x2e4861,_0x301a81=_0x2e12de[_0x1eceeb(0x442)](_0x1c29ed);if(!_0x301a81)return!0x1;_0x301a81[_0x1eceeb(0x40c)](_0x31a3d9,_0x379816);const _0x520ddc=_0x2e12de[_0x1eceeb(0x43a)](_0x1e2f52,_0x45c6ef,_0x1c29ed);return _0x1df3db(_0x520ddc,_0x2e4861),_0x2e12de[_0x1eceeb(0x3c1)]({'unitId':_0x1e2f52,'subUnitId':_0x45c6ef,'token':_0x1c29ed,'type':_0x1bdb8f[_0x1eceeb(0x2e5)]}),!0x0;}},_0xe3f52a={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x501672,_0x5e8c02){const _0x319de5=_0x6f5ed9;if(!_0x5e8c02)return!0x1;if(!!_0x501672['get'](_0x6ffa6d['IConfigService'])[_0x319de5(0x2a3)](_0x838977))return!0x0;const _0x3dfc93=_0x501672[_0x319de5(0x446)](_0x35c787[_0x319de5(0x185)]),{unitId:_0xd8a657,subUnitId:_0x4aae74,pivotTableId:_0x5eb78d,fieldId:_0xbd902e,filterInfo:_0x998b25}=_0x5e8c02,_0xeef630=_0x3dfc93[_0x319de5(0x442)](_0x5eb78d);if(!_0xeef630)return!0x1;_0xeef630[_0x319de5(0x209)](_0xbd902e,_0x998b25);const _0x34a432=_0x3dfc93['getPivotTableModelConfig'](_0xd8a657,_0x4aae74,_0x5eb78d);return _0x48df7d(_0x34a432,_0x5e8c02),_0x3dfc93[_0x319de5(0x3c1)]({'unitId':_0xd8a657,'subUnitId':_0x4aae74,'token':_0x5eb78d,'type':_0x1bdb8f[_0x319de5(0x2e5)]}),!0x0;}},_0x960903={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x121f89,_0x1ede67){const _0x490397=_0x6f5ed9;if(!_0x1ede67)return!0x1;if(!!_0x121f89[_0x490397(0x446)](_0x6ffa6d['IConfigService'])['getConfig'](_0x838977))return!0x0;const _0x429135=_0x121f89[_0x490397(0x446)](_0x35c787[_0x490397(0x185)]),{unitId:_0x48b0a4,subUnitId:_0x26f7fb,pivotTableId:_0x492e56,area:_0x341133,index:_0x553b9c,fieldId:_0x199746}=_0x1ede67,_0x24a543=_0x429135[_0x490397(0x442)](_0x492e56);if(!_0x24a543)return!0x1;_0x24a543[_0x490397(0x211)](_0x199746,_0x341133,_0x553b9c);const _0x29f56f=_0x429135['getPivotTableModelConfig'](_0x48b0a4,_0x26f7fb,_0x492e56);return _0x4f4ac5(_0x29f56f,_0x1ede67),_0x429135[_0x490397(0x3c1)]({'unitId':_0x48b0a4,'subUnitId':_0x26f7fb,'token':_0x492e56,'type':_0x1bdb8f[_0x490397(0x2e5)]}),!0x0;}},_0x10371c={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3cd),'handler'(_0x69e6d3,_0x23163c){const _0x244ba4=_0x6f5ed9;if(!_0x23163c)return!0x1;if(!!_0x69e6d3['get'](_0x6ffa6d[_0x244ba4(0x431)])[_0x244ba4(0x2a3)](_0x838977))return!0x0;const _0x3f6b78=_0x69e6d3[_0x244ba4(0x446)](_0x35c787[_0x244ba4(0x185)]),{unitId:_0x3da8e1,subUnitId:_0x2415c8,pivotTableId:_0x527d5d,sourceName:_0x436206,dataFieldId:_0x5afb19,tableFieldId:_0x4179e5}=_0x23163c,_0x12dcc5=_0x3f6b78[_0x244ba4(0x442)](_0x527d5d);if(!_0x12dcc5)return!0x1;_0x12dcc5[_0x244ba4(0x32a)](_0x4179e5,_0x436206,_0x5afb19);const _0x32d0c9=_0x3f6b78[_0x244ba4(0x43a)](_0x3da8e1,_0x2415c8,_0x527d5d);return _0x396379(_0x32d0c9,_0x23163c),_0x3f6b78[_0x244ba4(0x3c1)]({'unitId':_0x3da8e1,'subUnitId':_0x2415c8,'token':_0x527d5d,'type':_0x1bdb8f['Set']}),!0x0;}},_0x3c682e={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x38d),'handler'(_0x112122,_0x5a3046){const _0xe13be9=_0x6f5ed9;if(!_0x5a3046)return!0x1;if(!!_0x112122[_0xe13be9(0x446)](_0x6ffa6d['IConfigService'])['getConfig'](_0x838977))return!0x0;const _0x41fa5d=_0x112122[_0xe13be9(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{unitId:_0x208d8e,subUnitId:_0x2c8c5b,pivotTableId:_0x304004,valuePosition:_0x504d0f,index:_0xe857b7}=_0x5a3046,_0x396558=_0x41fa5d[_0xe13be9(0x442)](_0x304004);if(!_0x396558)return!0x1;_0x396558['updateValuePosition'](_0x504d0f,_0xe857b7);const _0x275a9b=_0x41fa5d[_0xe13be9(0x43a)](_0x208d8e,_0x2c8c5b,_0x304004);return _0x36c898(_0x275a9b,_0x5a3046),_0x41fa5d['addDirtyPivotTable']({'unitId':_0x208d8e,'subUnitId':_0x2c8c5b,'token':_0x304004,'type':_0x1bdb8f[_0xe13be9(0x2e5)]}),!0x0;}};function _0x1f747e(_0x4685ce,_0x2fe18d,_0x115b0a){const _0x51c824=_0x6f5ed9,{pivotTableId:_0x168e5f,unitId:_0x427687,subUnitId:_0x17d58c}=_0x2fe18d,_0x4ba7af=[],_0x57256c=[];for(const _0x14e29b of _0x115b0a)switch(_0x14e29b[_0x51c824(0x41b)]){case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x184)]:{const {fieldJson:_0x63a31e,area:_0x3a0504,index:_0x5da261}=_0x14e29b,_0x456f04={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldJson':_0x63a31e,'area':_0x3a0504,'index':_0x5da261},_0x652d3a={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x63a31e['id'],'area':_0x3a0504,'index':_0x5da261};_0x4ba7af['push']({'id':_0x3162b8['id'],'params':_0x456f04}),_0x57256c[_0x51c824(0x25d)]({'id':_0x2cf165['id'],'params':_0x652d3a});}break;case _0x426cf2['PivotTableChangeTypeEnum'][_0x51c824(0x32c)]:{const {fieldId:_0x2a8204,newSubtotalType:_0x5be63a,oldSubtotalType:_0x2c986f}=_0x14e29b,_0x22e1a7={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x2a8204,'subtotalType':_0x5be63a};_0x4ba7af[_0x51c824(0x321)]({'id':_0x371bfd['id'],'params':_0x22e1a7});const _0x583026={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x2a8204,'subtotalType':_0x2c986f};_0x57256c[_0x51c824(0x25d)]({'id':_0x371bfd['id'],'params':_0x583026});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x1f5)]:{const {fieldId:_0x11ef8c,fieldJson:_0x7116,area:_0x552101,index:_0xe31c70}=_0x14e29b,_0x2eb835={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x11ef8c,'index':_0xe31c70,'area':_0x552101};_0x4ba7af[_0x51c824(0x321)]({'id':_0x2cf165['id'],'params':_0x2eb835});const _0x26955c={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldJson':_0x7116,'area':_0x552101,'index':_0xe31c70};_0x57256c[_0x51c824(0x25d)]({'id':_0x3162b8['id'],'params':_0x26955c});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x1a3)]:{const {fieldId:_0x40de53,oldName:_0x3aa9da,newName:_0x1f48ba}=_0x14e29b,_0x48981b={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x40de53,'name':_0x1f48ba};_0x4ba7af[_0x51c824(0x321)]({'id':_0x382b64['id'],'params':_0x48981b});const _0x206cff={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x40de53,'name':_0x3aa9da};_0x57256c[_0x51c824(0x25d)]({'id':_0x382b64['id'],'params':_0x206cff});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x392)]:{const {fieldId:_0x5641f7,oldFilterInfo:_0xd50c6,newFilterInfo:_0x24f7a4}=_0x14e29b,_0x5b4dae={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x5641f7,'filterInfo':_0x24f7a4};_0x4ba7af[_0x51c824(0x321)]({'id':_0x4e8127['id'],'params':_0x5b4dae});const _0x243fc9={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x5641f7,'filterInfo':_0xd50c6};_0x57256c[_0x51c824(0x25d)]({'id':_0x4e8127['id'],'params':_0x243fc9});}break;case _0x426cf2['PivotTableChangeTypeEnum'][_0x51c824(0x485)]:{const {fieldId:_0xa3ce05,oldSortInfo:_0x1eacfc,newSortInfo:_0x128970}=_0x14e29b,_0x338e52={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xa3ce05,'sortInfo':_0x128970};_0x4ba7af[_0x51c824(0x321)]({'id':_0x3df2c2['id'],'params':_0x338e52});const _0x251902={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xa3ce05,'sortInfo':_0x1eacfc};_0x57256c[_0x51c824(0x25d)]({'id':_0x3df2c2['id'],'params':_0x251902});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x288)]:{const {oldOptions:_0x69c1c1,newOptions:_0x40229f}=_0x14e29b,_0x2ded85={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'options':_0x40229f};_0x4ba7af[_0x51c824(0x321)]({'id':_0x5129ed['id'],'params':_0x2ded85});const _0x3a1483={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'options':_0x69c1c1};_0x57256c[_0x51c824(0x25d)]({'id':_0x5129ed['id'],'params':_0x3a1483});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x397)]:{const {oldArea:_0xfd76de,newArea:_0xe63fa1,oldIndex:_0x244e2f,newIndex:_0x315d82,fieldId:_0x1f839c}=_0x14e29b,_0x365c87={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x1f839c,'area':_0xe63fa1,'index':_0x315d82,'oldArea':_0xfd76de,'oldIndex':_0x244e2f};_0x4ba7af['push']({'id':_0x960903['id'],'params':_0x365c87});const _0x3c7a9e={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x1f839c,'area':_0xfd76de,'index':_0x244e2f,'oldArea':_0xe63fa1,'oldIndex':_0x315d82};_0x57256c[_0x51c824(0x25d)]({'id':_0x960903['id'],'params':_0x3c7a9e});}break;case _0x426cf2[_0x51c824(0x3de)]['UpdateValuePosition']:{const {oldValuePosition:_0x141e93,newValuePosition:_0x1d8a62,oldIndex:_0x25918b,newIndex:_0x1d43e4}=_0x14e29b,_0x1a1894={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'valuePosition':_0x1d8a62,'index':_0x1d43e4};_0x4ba7af[_0x51c824(0x321)]({'id':_0x3c682e['id'],'params':_0x1a1894});const _0x2bfe91={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'valuePosition':_0x141e93,'index':_0x25918b};_0x57256c['unshift']({'id':_0x3c682e['id'],'params':_0x2bfe91});}break;case _0x426cf2[_0x51c824(0x3de)]['SetCollapse']:{const {fieldId:_0x43b6e6,collapse:_0x5a64c3,item:_0x5da9a9}=_0x14e29b,_0x17c119={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x43b6e6,'collapse':_0x5a64c3,'item':_0x5da9a9};_0x4ba7af[_0x51c824(0x321)]({'id':_0x2bbb11['id'],'params':_0x17c119});const _0x45b487={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x43b6e6,'collapse':!_0x5a64c3,'item':_0x5da9a9};_0x57256c[_0x51c824(0x25d)]({'id':_0x2bbb11['id'],'params':_0x45b487});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x180)]:{const {newFormat:_0x4c720d,oldFormat:_0x154669,fieldId:_0x37f9cf}=_0x14e29b,_0xac798e={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x37f9cf,'format':_0x4c720d};_0x4ba7af[_0x51c824(0x321)]({'id':_0x117dd7['id'],'params':_0xac798e});const _0x447f10={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x37f9cf,'format':_0x154669};_0x57256c[_0x51c824(0x25d)]({'id':_0x117dd7['id'],'params':_0x447f10});}break;case _0x426cf2['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x2bf643,oldSourceName:_0x2c0190,newSourceName:_0x23ae02,oldDataFieldId:_0x1d10f2,newDataFieldId:_0x5c087e}=_0x14e29b,_0x4c4776={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'tableFieldId':_0x2bf643,'sourceName':_0x23ae02,'dataFieldId':_0x5c087e};_0x4ba7af[_0x51c824(0x321)]({'id':_0x10371c['id'],'params':_0x4c4776});const _0x40ce04={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'tableFieldId':_0x2bf643,'sourceName':_0x2c0190,'dataFieldId':_0x1d10f2};_0x57256c[_0x51c824(0x25d)]({'id':_0x10371c['id'],'params':_0x40ce04});}break;case _0x426cf2[_0x51c824(0x3de)]['SetValueFilter']:{const {fieldId:_0xf28cea,filterInfo:_0x5619c3,oldFilterInfo:_0x5d3de1}=_0x14e29b,_0x14549b={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xf28cea,'filterInfo':_0x5619c3};_0x4ba7af[_0x51c824(0x321)]({'id':_0xe3f52a['id'],'params':_0x14549b});const _0x37a0f8={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xf28cea,'filterInfo':_0x5d3de1};_0x57256c[_0x51c824(0x25d)]({'id':_0xe3f52a['id'],'params':_0x37a0f8});}}return{'redos':_0x4ba7af,'undos':_0x57256c};}function _0x2aaec3(_0x4b9b79,_0x15fd93){const _0x1c1717=_0x6f5ed9;var _0x1d7333;const _0x3e24de=_0x4b9b79[_0x1c1717(0x446)](_0x35c787['SheetsPivotTableService']),{cellInfo:_0x9bd750,view:_0x6653af,isEmpty:_0x3eb9ba}=_0x15fd93;return(_0x1d7333=_0x3e24de[_0x1c1717(0x2e7)][_0x1c1717(0x311)](_0x1b527c)(_0xd22ebc,{'cellInfo':_0x9bd750,'view':_0x6653af,'isEmpty':_0x3eb9ba}))!=null?_0x1d7333:_0xd22ebc;}const _0x2be464=()=>typeof process<'u'&&process[_0x6f5ed9(0x365)]!=null&&process[_0x6f5ed9(0x365)][_0x6f5ed9(0x19d)]!=null,_0x524173={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x236),'handler'(_0xb3a9fb,_0x5e8efb){const _0x4737cc=_0x6f5ed9;var _0x5358ae;if(!_0x5e8efb)return!0x1;const _0x3eaa03=_0xb3a9fb[_0x4737cc(0x446)](_0x6ffa6d[_0x4737cc(0x431)]);if(!!_0x3eaa03[_0x4737cc(0x2a3)](_0x838977))return!0x0;const _0x444500=_0xb3a9fb['get'](_0x6ffa6d[_0x4737cc(0x491)]),_0x5d6e77=_0xb3a9fb['get'](_0x35c787[_0x4737cc(0x185)]),{pivotTableId:_0x50c67c,pivotTableConfig:_0x2749f5,collectionConfig:_0x4f657e,unitId:_0xf72efa,subUnitId:_0x138c7a}=_0x5e8efb,{sourceRangeInfo:_0x9acb18,fieldsConfig:_0x3aecfa,targetCellInfo:_0x2bd910}=_0x2749f5,_0x1b9fcf=_0x444500['getUnit'](_0xf72efa);if(!_0x1b9fcf||!_0x1b9fcf[_0x4737cc(0x410)](_0x138c7a))return!0x1;if(!_0x2be464()){let _0x2916a1=0x0;_0x1b9fcf['getSheets']()[_0x4737cc(0x3a7)](_0x42e69b=>{const _0xde58b=_0x4737cc;var _0x189c36,_0x3f0aee;_0x2916a1+=(_0x3f0aee=(_0x189c36=_0x5d6e77[_0xde58b(0x1a0)](_0xf72efa,_0x42e69b[_0xde58b(0x1ac)]()))==null?void 0x0:_0x189c36[_0xde58b(0x317)])!=null?_0x3f0aee:0x0;});const _0x78df67=(_0x5358ae=_0x3eaa03['getConfig'](_0x225f82['LS_CONFIG_KEY']))!=null?_0x5358ae:{},{ls:_0x11e4c4,pbk:_0x327ccc}=_0x78df67;if(!_0x1caba2(_0x11e4c4,_0x327ccc))throw new _0x6ffa6d['CustomCommandExecutionError']('limit\x20pivot');const _0x18591b=_0x1cbe56(_0x7f0533,_0x11e4c4,_0x327ccc)[_0x4737cc(0x2ba)];if(_0x2916a1>=_0x18591b)throw new _0x6ffa6d[(_0x4737cc(0x226))]('limit\x20pivot');}if(!_0x4f657e||!_0x3aecfa)return!0x1;const {collection:_0xa0a22,updateDataFieldList:_0x5e4d65}=_0x5d6e77[_0x4737cc(0x1c1)](_0x50c67c,_0x4f657e,_0x9acb18,_0x2bd910);_0x5d6e77['refreshData'](_0xa0a22,_0x5e4d65,_0x9acb18);const _0x544b47=new _0x426cf2[(_0x4737cc(0x190))](_0xa0a22,void 0x0,_0x50c67c);_0x544b47[_0x4737cc(0x269)](_0x3aecfa);const _0x3c287a=JSON['parse'](JSON['stringify'](_0x2749f5));return _0x5d6e77['addPivotTable'](_0xf72efa,_0x138c7a,_0x50c67c,_0x544b47,_0x3c287a),_0x5d6e77[_0x4737cc(0x3c1)]({'unitId':_0xf72efa,'subUnitId':_0x138c7a,'token':_0x50c67c,'type':_0x1bdb8f[_0x4737cc(0x1b6)],'pivotConfig':_0x3c287a}),!0x0;}},_0x1d9fe9={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'id':_0x6f5ed9(0x43d),'handler'(_0x5d7df6,_0x634971){const _0x310535=_0x6f5ed9;if(!_0x634971)return!0x1;if(!!_0x5d7df6[_0x310535(0x446)](_0x6ffa6d[_0x310535(0x431)])['getConfig'](_0x838977))return!0x0;const {pivotTableId:_0x57bb66,unitId:_0x317431,subUnitId:_0x1569f8}=_0x634971,_0xde8095=_0x5d7df6[_0x310535(0x446)](_0x35c787[_0x310535(0x185)]);return _0xde8095[_0x310535(0x34a)](_0x317431,_0x1569f8,_0x57bb66)?(_0xde8095[_0x310535(0x3c1)]({'unitId':_0x317431,'subUnitId':_0x1569f8,'token':_0x57bb66,'type':_0x1bdb8f[_0x310535(0x3f6)]}),_0xde8095[_0x310535(0x2e1)](_0x317431,_0x1569f8,_0x57bb66),!0x0):!0x1;}},_0x34b248={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.set-pivot-position','handler'(_0x28c1c1,_0x3ff1be){const _0x32ac15=_0x6f5ed9;if(!_0x3ff1be)return!0x1;if(!!_0x28c1c1[_0x32ac15(0x446)](_0x6ffa6d[_0x32ac15(0x431)])[_0x32ac15(0x2a3)](_0x838977))return!0x0;const {pivotTableId:_0x4ee136,targetCellPosition:_0x56c159,unitId:_0x1fc591,subUnitId:_0x1b6054}=_0x3ff1be,_0x5c0e25=_0x28c1c1[_0x32ac15(0x446)](_0x35c787[_0x32ac15(0x185)]);if(!_0x5c0e25[_0x32ac15(0x442)](_0x3ff1be['pivotTableId']))return!0x1;const _0x21d73a=_0x5c0e25[_0x32ac15(0x292)](_0x4ee136);if(!_0x21d73a)return!0x1;const _0x159063=_0x5c0e25[_0x32ac15(0x3d9)](_0x21d73a['unitId'],_0x3ff1be[_0x32ac15(0x391)]);if(!_0x159063)return!0x1;const _0xc006a1=_0x5c0e25[_0x32ac15(0x34a)](_0x21d73a[_0x32ac15(0x322)],_0x21d73a[_0x32ac15(0x2d3)],_0x4ee136);if(!_0xc006a1)return!0x1;const _0x3b57e7=_0x6ffa6d['Tools']['deepClone'](_0xc006a1);_0x3b57e7['targetCellInfo']={'unitId':_0x1fc591,'subUnitId':_0x1b6054,'row':_0x56c159[_0x32ac15(0x316)],'col':_0x56c159[_0x32ac15(0x48d)]};const _0x17a457=_0x159063['toJSON']();if(_0x21d73a[_0x32ac15(0x2d3)]===_0x1b6054&&_0x21d73a[_0x32ac15(0x322)]===_0x1fc591)_0x5c0e25[_0x32ac15(0x2b3)](_0x1fc591,_0x1b6054,_0x4ee136,_0x3b57e7),_0x5c0e25[_0x32ac15(0x3c1)]({'unitId':_0x1fc591,'subUnitId':_0x1b6054,'token':_0x4ee136,'type':_0x1bdb8f[_0x32ac15(0x2e5)]});else{_0x5c0e25[_0x32ac15(0x3c1)]({'unitId':_0x21d73a[_0x32ac15(0x322)],'subUnitId':_0x21d73a[_0x32ac15(0x2d3)],'token':_0x4ee136,'type':_0x1bdb8f[_0x32ac15(0x3f6)]}),_0x5c0e25[_0x32ac15(0x2e1)](_0x21d73a[_0x32ac15(0x322)],_0x21d73a[_0x32ac15(0x2d3)],_0x4ee136);const _0x3bb6c6=_0x5c0e25[_0x32ac15(0x1c1)](_0x4ee136,_0x17a457,_0xc006a1['sourceRangeInfo'],_0x3b57e7[_0x32ac15(0x1fb)]),_0xd1b37a=new _0x426cf2[(_0x32ac15(0x190))](_0x3bb6c6['collection'],void 0x0,_0x4ee136);_0xd1b37a[_0x32ac15(0x269)](_0x3b57e7[_0x32ac15(0x427)]),_0x5c0e25['addPivotTable'](_0x1fc591,_0x1b6054,_0x4ee136,_0xd1b37a,_0x3b57e7),_0x5c0e25['addDirtyPivotTable']({'unitId':_0x1fc591,'subUnitId':_0x1b6054,'token':_0x4ee136,'type':_0x1bdb8f[_0x32ac15(0x1b6)],'pivotConfig':_0x3b57e7});}return!0x0;}},_0x455e79={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x30b606,_0x3f2915){const _0xfb935=_0x6f5ed9;if(!_0x3f2915)return!0x1;if(!!_0x30b606[_0xfb935(0x446)](_0x6ffa6d[_0xfb935(0x431)])[_0xfb935(0x2a3)](_0x838977))return!0x0;const _0x17ba0c=_0x30b606[_0xfb935(0x446)](_0x35c787[_0xfb935(0x185)]),{pivotTableId:_0x2fa7cf,deleteIds:_0x4c20db,collectionJSON:_0x3b1f68,dataRangeInfo:_0x11aa0a,unitId:_0x3bdb9d,subUnitId:_0x40e55a}=_0x3f2915,_0x2cb3bf=_0x17ba0c[_0xfb935(0x442)](_0x2fa7cf),_0x360526=_0x17ba0c[_0xfb935(0x34a)](_0x3bdb9d,_0x40e55a,_0x2fa7cf);if(!_0x2cb3bf||!_0x360526)return!0x1;const {collection:_0x500d1f,updateDataFieldList:_0x2713f5}=_0x17ba0c[_0xfb935(0x1c1)](_0x2fa7cf,_0x3b1f68,_0x11aa0a,_0x360526[_0xfb935(0x1fb)]);_0x17ba0c[_0xfb935(0x21d)](_0x500d1f,_0x2713f5,_0x11aa0a),_0x2cb3bf[_0xfb935(0x312)](_0x500d1f);for(const _0x359d4a of _0x4c20db)_0x17ba0c[_0xfb935(0x29b)](_0x11aa0a[_0xfb935(0x322)],_0x359d4a);const _0x36a6ce=_0x17ba0c['getPivotTableConfig'](_0x3bdb9d,_0x40e55a,_0x2fa7cf);return _0x36a6ce[_0xfb935(0x23d)]=JSON['parse'](JSON[_0xfb935(0x46b)](_0x11aa0a)),_0x17ba0c[_0xfb935(0x3c1)]({'unitId':_0x3bdb9d,'subUnitId':_0x40e55a,'token':_0x2fa7cf,'type':_0x1bdb8f[_0xfb935(0x2e5)]}),!0x0;}},_0xe09225={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x1bc),'handler'(){return!0x0;}};var _0x454f25=Object[_0x6f5ed9(0x1a9)],_0x3d49ed=(_0x5d7688,_0x209143,_0x1f934d,_0x4b508f)=>{const _0x383c23=_0x6f5ed9;for(var _0x15a33f=_0x4b508f>0x1?void 0x0:_0x4b508f?_0x454f25(_0x209143,_0x1f934d):_0x209143,_0x3d5f3b=_0x5d7688[_0x383c23(0x293)]-0x1,_0x3ffabd;_0x3d5f3b>=0x0;_0x3d5f3b--)(_0x3ffabd=_0x5d7688[_0x3d5f3b])&&(_0x15a33f=_0x3ffabd(_0x15a33f)||_0x15a33f);return _0x15a33f;},_0x2b832d=(_0x51f4d1,_0x704748)=>(_0x697f13,_0xf7472d)=>_0x704748(_0x697f13,_0xf7472d,_0x51f4d1);_0x35c787[_0x6f5ed9(0x214)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x1a9002,_0x49ace1){const _0x59be7f=_0x6f5ed9;super(),_0x47a2cd(this,_0x59be7f(0x2ce),new Map()),(this[_0x59be7f(0x208)]=_0x1a9002,this[_0x59be7f(0x42b)]=_0x49ace1);}['handleAsyncResponse'](_0x3b6c78){const _0xe1b26b=_0x6f5ed9,{version:_0x19c8f1}=_0x3b6c78,_0x1dcc34=this['_requestResolvers'][_0xe1b26b(0x446)](_0x19c8f1);_0x1dcc34&&(_0x1dcc34(_0x3b6c78),this[_0xe1b26b(0x2ce)][_0xe1b26b(0x374)](_0x19c8f1));}[_0x6f5ed9(0x39b)](_0x1b091a){return new Promise((_0x8c93cc,_0x38a422)=>{const _0x34f255=_0x5549,_0x1498cb=this['_generateUniqueVersion']();this[_0x34f255(0x2ce)][_0x34f255(0x2bc)](_0x1498cb,_0x8c93cc),this[_0x34f255(0x42b)][_0x34f255(0x1d9)](_0x1ca9ca['id'],{'version':_0x1498cb,..._0x1b091a},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x9fa8ec=_0x6f5ed9;return Math['random']()[_0x9fa8ec(0x413)](0x24)[_0x9fa8ec(0x443)](0x2,0x10);}},_0x35c787[_0x6f5ed9(0x214)]=_0x3d49ed([_0x2b832d(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x2b832d(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d['ICommandService']))],_0x35c787[_0x6f5ed9(0x214)]);const _0xa1b196={'id':_0x6f5ed9(0x1e7),'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'handler':(_0x3b5889,_0x336276)=>{const _0x309190=_0x6f5ed9;if(!_0x336276)return!0x1;if(!!_0x3b5889[_0x309190(0x446)](_0x6ffa6d['IConfigService'])[_0x309190(0x2a3)](_0x838977))return!0x0;const {pivotTableId:_0x193e66,fieldJSON:_0x30c924,unitId:_0x1c96d2,subUnitId:_0x163ba1}=_0x336276,_0x4c1af8=_0x426cf2[_0x309190(0x2de)][_0x309190(0x269)](_0x30c924);if(!_0x4c1af8)return!0x1;const _0x598545=_0x3b5889[_0x309190(0x446)](_0x35c787[_0x309190(0x185)]),_0x2a9c37=_0x598545['getDataFieldManager'](_0x1c96d2),_0x1004b1=_0x2a9c37['getCollection'](_0x193e66);_0x2a9c37[_0x309190(0x400)](_0x4c1af8),_0x1004b1[_0x309190(0x2ef)](_0x4c1af8[_0x309190(0x222)](),_0x4c1af8[_0x309190(0x459)]());const _0x5ce73c=_0x1004b1[_0x309190(0x229)](_0x4c1af8[_0x309190(0x1ef)]());_0x5ce73c&&_0x4c1af8[_0x309190(0x1ff)](_0x5ce73c);const _0xbbca48=_0x598545[_0x309190(0x34a)](_0x1c96d2,_0x163ba1,_0x193e66);return _0x598545[_0x309190(0x3c1)]({'unitId':_0x1c96d2,'subUnitId':_0x163ba1,'token':_0x193e66,'type':_0x1bdb8f[_0x309190(0x2e5)],'pivotConfig':_0xbbca48}),!0x0;}},_0x11cfc9={'id':_0x6f5ed9(0x33f),'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'handler':(_0x1fce4c,_0x38b925)=>{const _0x1af14e=_0x6f5ed9;if(!_0x38b925)return!0x1;if(!!_0x1fce4c[_0x1af14e(0x446)](_0x6ffa6d['IConfigService'])[_0x1af14e(0x2a3)](_0x838977))return!0x0;const {pivotTableId:_0x3b0890,dataFieldId:_0x3d5b92,unitId:_0xefc6d1,subUnitId:_0x57c9b1}=_0x38b925,_0x1e7fa7=_0x1fce4c['get'](_0x35c787['SheetsPivotDataSourceModel']),_0x452899=_0x1e7fa7[_0x1af14e(0x358)](_0xefc6d1);_0x452899[_0x1af14e(0x3d9)](_0x3b0890)[_0x1af14e(0x2b9)](_0x3d5b92);let _0x41d10a=!0x0;for(const _0x3e9fa0 in _0x452899[_0x1af14e(0x27c)])if(_0x452899[_0x1af14e(0x27c)][_0x3e9fa0][_0x1af14e(0x2ca)]()['includes'](_0x3d5b92)){_0x41d10a=!0x1;break;}_0x41d10a&&_0x452899[_0x1af14e(0x2e2)](_0x3d5b92);const _0xd199f5=_0x1e7fa7['getPivotTableConfig'](_0xefc6d1,_0x57c9b1,_0x3b0890);return _0x1e7fa7[_0x1af14e(0x3c1)]({'unitId':_0xefc6d1,'subUnitId':_0x57c9b1,'token':_0x3b0890,'type':_0x1bdb8f['Set'],'pivotConfig':_0xd199f5}),!0x0;}},_0xc0513b={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x3e0),async 'handler'(_0x3f99d2,_0x9450d6){const _0xa64059=_0x6f5ed9;if(!_0x9450d6)return!0x1;const _0x3585ee=_0x3f99d2[_0xa64059(0x446)](_0x6ffa6d[_0xa64059(0x3fa)]),_0x42e4f7=_0x3f99d2['get'](_0x35c787['SheetsPivotRPCService']),_0x44f6b0=_0x3f99d2[_0xa64059(0x446)](_0x6ffa6d[_0xa64059(0x186)]),{pivotTableId:_0xaf10d8,dataFieldId:_0x565927,fieldArea:_0x2ead7c,index:_0x13fdec,unitId:_0x140b42,subUnitId:_0x35e58c}=_0x9450d6,_0x1be70b=(await _0x42e4f7['getPivotDisplayConfig']({'unitId':_0x140b42,'subUnitId':_0x35e58c,'pivotTableId':_0xaf10d8,'params':{'type':_0x1222bc['AddPivotField'],'addPivotField':{'dataFieldId':_0x565927,'fieldArea':_0x2ead7c,'index':_0x13fdec}}}))['result'][_0xa64059(0x232)];if(!_0x1be70b)return!0x1;const {view:_0x4edc7d,changesets:_0x57a5c6,isEmpty:_0x30514e,pivotTableConfig:_0x52b703,shouldBeAddedGroupJSON:_0x553f36}=_0x1be70b,_0x408287=_0x52b703['targetCellInfo'],_0x5a5a74=new _0x426cf2[(_0xa64059(0x2c4))]();_0x5a5a74[_0xa64059(0x357)](_0x4edc7d);const _0xc00c77={'cellInfo':_0x408287,'view':_0x5a5a74,'isEmpty':_0x30514e};if(!await _0x3f99d2[_0xa64059(0x446)](_0x35c787[_0xa64059(0x207)])[_0xa64059(0x233)][_0xa64059(0x493)](_0x1f0071)(!0x0,_0xc00c77))return!0x1;const _0x427ea4=_0x2a9e07(_0x3f99d2,_0x5a5a74,_0x408287,_0x30514e),_0x3146ba=_0x2aaec3(_0x3f99d2,_0xc00c77),{undos:_0x13889a,redos:_0xd2ddfd}=_0x1f747e(_0x3585ee,{'pivotTableId':_0xaf10d8,'unitId':_0x140b42,'subUnitId':_0x35e58c},_0x57a5c6);return _0x553f36&&(_0xd2ddfd['unshift']({'id':_0xa1b196['id'],'params':{'pivotTableId':_0xaf10d8,'fieldJSON':_0x553f36,'unitId':_0x140b42,'subUnitId':_0x35e58c}}),_0x13889a[_0xa64059(0x321)]({'id':_0x11cfc9['id'],'params':{'pivotTableId':_0xaf10d8,'dataFieldId':_0x553f36['id'],'unitId':_0x140b42,'subUnitId':_0x35e58c}})),_0x6ffa6d[_0xa64059(0x451)]([..._0x427ea4['redos'],..._0x3146ba[_0xa64059(0x32f)],..._0xd2ddfd],_0x3585ee),_0x44f6b0[_0xa64059(0x470)]({'unitID':_0x140b42,'redoMutations':[..._0x427ea4[_0xa64059(0x32f)],..._0x3146ba['redos'],..._0xd2ddfd],'undoMutations':[..._0x427ea4['undos'],..._0x3146ba[_0xa64059(0x2dd)],..._0x13889a]}),!0x0;}},_0x7aab6f={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x266c2f,_0x4455df){const _0x301999=_0x6f5ed9;if(!_0x4455df)return!0x1;const {sourceDataInfo:_0x27940b,pivotTableConfig:_0x1bd075}=_0x4455df;if(!_0x27940b||!_0x1bd075)return!0x1;const {unitId:_0x437e12,subUnitId:_0x1451de,range:_0x475b2e}=_0x27940b,_0x27fe18=_0x266c2f[_0x301999(0x446)](_0x6ffa6d[_0x301999(0x491)]),_0x5c97b8=_0x266c2f[_0x301999(0x446)](_0x35c787[_0x301999(0x214)]),_0x2db862=_0x266c2f[_0x301999(0x446)](_0x6ffa6d[_0x301999(0x2aa)]),_0x215784=_0x266c2f[_0x301999(0x446)](_0x6ffa6d[_0x301999(0x3fa)]),_0x5b62ae=_0x27fe18[_0x301999(0x46d)](_0x437e12);if(!_0x5b62ae)return!0x1;const _0x231d1a=_0x5b62ae[_0x301999(0x410)](_0x1451de);if(!_0x231d1a)return!0x1;const _0x53be05=_0x426cf2['generateHexNumber'](0x8),_0x9163ab=_0x475b2e||{'startRow':0x0,'startColumn':0x0,'endRow':_0x231d1a[_0x301999(0x471)]()-0x1,'endColumn':_0x231d1a[_0x301999(0x36c)]()-0x1};_0x9163ab['rangeType']=_0x6ffa6d[_0x301999(0x434)][_0x301999(0x3f7)];const _0x1673eb=(await _0x5c97b8[_0x301999(0x39b)]({'unitId':_0x437e12,'subUnitId':_0x1451de,'pivotTableId':_0x53be05,'params':{'type':_0x1222bc[_0x301999(0x34d)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x437e12,'sheetName':_0x231d1a[_0x301999(0x459)](),'subUnitId':_0x1451de,'range':_0x9163ab},'pivotTableId':_0x53be05,'pivotTableIndexConfig':_0x1bd075}}}))[_0x301999(0x251)][_0x301999(0x2dc)];if(!_0x1673eb)return!0x1;const {isEmpty:_0x27c754,fieldsConfig:_0x41d93c,collectionConfig:_0x236843,changesets:_0x542671}=_0x1673eb,_0x5098f4=_0x5b62ae[_0x301999(0x439)]()[_0x301999(0x293)],_0x558521=_0x6ffa6d[_0x301999(0x302)]({'rowCount':_0x231d1a[_0x301999(0x471)]()-0x1,'columnCount':_0x231d1a['getColumnCount']()-0x1});_0x558521['id']=_0x6ffa6d[_0x301999(0x18e)](),_0x558521[_0x301999(0x3c6)]=_0x5b62ae['generateNewSheetName'](''+_0x2db862['t'](_0x301999(0x201)));const _0x3b5a77={'index':_0x5098f4,'sheet':_0x558521,'unitId':_0x437e12},{redos:_0x487f01}=_0x1f747e(_0x215784,{'pivotTableId':_0x53be05,'unitId':_0x437e12,'subUnitId':_0x558521['id']},_0x542671),_0x48140a=[{'id':_0x2361cb['InsertSheetCommand']['id'],'params':_0x3b5a77},{'id':_0x524173['id'],'params':{'unitId':_0x437e12,'subUnitId':_0x558521['id'],'pivotTableId':_0x53be05,'pivotTableConfig':{'isEmpty':_0x27c754,'fieldsConfig':_0x41d93c,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x437e12,'subUnitId':_0x558521['id']},'sourceRangeInfo':{'subUnitId':_0x1451de,'unitId':_0x437e12,'range':_0x9163ab,'sheetName':_0x231d1a[_0x301999(0x459)]()}},'collectionConfig':_0x236843}},..._0x487f01];return _0x6ffa6d[_0x301999(0x451)](_0x48140a,_0x215784),!0x0;}},_0x59d57c={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x368),async 'handler'(_0x9650b3,_0x41b56e){const _0x25510f=_0x6f5ed9;var _0x351d90,_0xff7b64;const _0x446467=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x3fa)]),_0x2d4fb8=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x491)]),_0x6bb4d6=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x2aa)]),_0x240918=_0x9650b3[_0x25510f(0x446)](_0x35c787['SheetsPivotRPCService']),_0xb672b=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x186)]),_0x16f1b7=_0x9650b3[_0x25510f(0x446)](_0x35c787[_0x25510f(0x266)]),_0x1bd137=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x431)]);if(!_0x41b56e)return!0x1;const {pivotTableConfig:_0xbf4c67,positionType:_0x498891}=_0x41b56e,{targetCellInfo:_0x3fe6d5,sourceRangeInfo:_0x535ba9}=_0xbf4c67,{unitId:_0x73eb06,subUnitId:_0x128a6f}=_0x3fe6d5,_0x1f5e59=_0x2d4fb8[_0x25510f(0x46d)](_0x73eb06);if(!_0x1f5e59)return!0x1;let _0x2f7cef=0x0;_0x1f5e59[_0x25510f(0x439)]()[_0x25510f(0x3a7)](_0x2cdd60=>{const _0x48fb25=_0x25510f;var _0xc18b9e,_0x15b59a;_0x2f7cef+=(_0x15b59a=(_0xc18b9e=_0x16f1b7[_0x48fb25(0x1a0)](_0x73eb06,_0x2cdd60[_0x48fb25(0x1ac)]()))==null?void 0x0:_0xc18b9e[_0x48fb25(0x317)])!=null?_0x15b59a:0x0;});const _0x3bef9b=(_0x351d90=_0x1bd137[_0x25510f(0x2a3)](_0x225f82[_0x25510f(0x355)]))!=null?_0x351d90:{},{ls:_0x2a260b,pbk:_0x836731}=_0x3bef9b;if(!_0x1caba2(_0x2a260b,_0x836731))return!0x1;const _0x598821=_0x1cbe56(_0x7f0533,_0x2a260b,_0x836731)[_0x25510f(0x2ba)];if(_0x2f7cef>=_0x598821)return!0x1;const _0x32868b=_0x41b56e[_0x25510f(0x391)]||_0x426cf2[_0x25510f(0x474)](0x8),_0x313dca=(await _0x240918[_0x25510f(0x39b)]({'unitId':_0x73eb06,'subUnitId':_0x128a6f,'pivotTableId':_0x32868b,'params':{'type':_0x1222bc[_0x25510f(0x494)],'addPivotTable':{'sourceRangeInfo':_0x535ba9,'pivotTableId':_0x32868b}}}))[_0x25510f(0x251)]['addPivotTable'];if(!_0x313dca)return!0x1;const {view:_0x117a50,isEmpty:_0x15b082,fieldsConfig:_0x1de8d1,collectionConfig:_0x7533e}=_0x313dca,_0x21635f=[],_0x4eb496=[];if(_0x498891===_0x202116['New']){const _0x45ef3e=_0x1f5e59['getSheets']()['length'],_0x361189=_0x6ffa6d[_0x25510f(0x302)]({});_0x361189['id']=_0xbf4c67[_0x25510f(0x1fb)]['subUnitId'],_0x361189[_0x25510f(0x3c6)]=(_0xff7b64=_0xbf4c67[_0x25510f(0x1fb)][_0x25510f(0x3c4)])!=null?_0xff7b64:_0x1f5e59[_0x25510f(0x30d)](''+_0x6bb4d6['t'](_0x25510f(0x201)));const _0x19e356={'index':_0x45ef3e,'sheet':_0x361189,'unitId':_0x73eb06},_0x274a44=_0x2361cb[_0x25510f(0x254)](_0x9650b3,_0x19e356);_0x21635f[_0x25510f(0x321)]({'id':_0x2361cb[_0x25510f(0x3b5)]['id'],'params':_0x274a44}),_0x4eb496[_0x25510f(0x321)]({'id':_0x2361cb[_0x25510f(0x20a)]['id'],'params':_0x19e356});}else{if(!_0x1f5e59['getSheetBySheetId'](_0x128a6f))return!0x1;const _0x17dbe4=_0x2a9e07(_0x9650b3,new _0x426cf2[(_0x25510f(0x2c4))](),_0x3fe6d5,!0x0);_0x4eb496[_0x25510f(0x321)](..._0x17dbe4[_0x25510f(0x32f)]),_0x21635f[_0x25510f(0x321)](..._0x17dbe4[_0x25510f(0x2dd)]);const _0x126550={'cellInfo':_0x3fe6d5,'view':_0x117a50,'isEmpty':_0x15b082};if(!await _0x9650b3[_0x25510f(0x446)](_0x35c787['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0x126550))return!0x1;const _0x144ad6=_0x2aaec3(_0x9650b3,_0x126550);_0x4eb496[_0x25510f(0x321)](..._0x144ad6[_0x25510f(0x32f)]),_0x21635f[_0x25510f(0x321)](..._0x144ad6[_0x25510f(0x2dd)]);}return _0x4eb496[_0x25510f(0x321)]({'id':_0x524173['id'],'params':{'unitId':_0x3fe6d5[_0x25510f(0x322)],'subUnitId':_0x3fe6d5['subUnitId'],'pivotTableId':_0x32868b,'pivotTableConfig':{'targetCellInfo':_0x3fe6d5,'sourceRangeInfo':_0x535ba9,'fieldsConfig':_0x1de8d1},'collectionConfig':_0x7533e}}),_0x21635f['unshift']({'id':_0x1d9fe9['id'],'params':{'unitId':_0x73eb06,'subUnitId':_0x128a6f,'pivotTableId':_0x32868b}}),_0x6ffa6d[_0x25510f(0x451)](_0x4eb496,_0x446467)&&_0xb672b[_0x25510f(0x470)]({'unitID':_0x73eb06,'undoMutations':_0x21635f,'redoMutations':_0x4eb496}),!0x0;}},_0x56cd53={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x2ac411,_0x1e104f){const _0x345c5e=_0x6f5ed9;if(!_0x1e104f)return!0x1;const _0x42af27=_0x2ac411[_0x345c5e(0x446)](_0x6ffa6d[_0x345c5e(0x3fa)]),_0x108143=_0x2ac411[_0x345c5e(0x446)](_0x35c787['SheetsPivotRPCService']),_0xfbbd09=_0x2ac411[_0x345c5e(0x446)](_0x6ffa6d['IUndoRedoService']),{pivotTableId:_0x27072e,fieldId:_0x425fb6,area:_0x3b3506,index:_0x42607d,unitId:_0xbad114,subUnitId:_0x5acd2d}=_0x1e104f,_0x4d08ec=(await _0x108143[_0x345c5e(0x39b)]({'unitId':_0xbad114,'subUnitId':_0x5acd2d,'pivotTableId':_0x27072e,'params':{'type':_0x1222bc['MovePivotField'],'movePivotField':{'fieldId':_0x425fb6,'area':_0x3b3506,'index':_0x42607d}}}))[_0x345c5e(0x251)]['movePivotField'];if(!_0x4d08ec)return!0x1;const {changesets:_0x4792f1,view:_0x4d9f81,isEmpty:_0x99c3ce,pivotTableConfig:_0x52fb19}=_0x4d08ec,_0x50782b=_0x52fb19['targetCellInfo'],_0x5c207e=new _0x426cf2[(_0x345c5e(0x2c4))]();_0x5c207e[_0x345c5e(0x357)](_0x4d9f81);const _0x1c9e31={'cellInfo':_0x50782b,'view':_0x5c207e,'isEmpty':_0x99c3ce};if(!await _0x2ac411[_0x345c5e(0x446)](_0x35c787['SheetsPivotTableService'])[_0x345c5e(0x233)][_0x345c5e(0x493)](_0x1f0071)(!0x0,_0x1c9e31))return!0x1;const _0x4221a9=_0x2a9e07(_0x2ac411,_0x5c207e,_0x50782b,_0x99c3ce),_0x457d8f=_0x2aaec3(_0x2ac411,_0x1c9e31),{redos:_0x47a270,undos:_0x30514c}=_0x1f747e(_0x42af27,{'pivotTableId':_0x27072e,'unitId':_0xbad114,'subUnitId':_0x5acd2d},_0x4792f1);return _0x6ffa6d[_0x345c5e(0x451)]([..._0x4221a9['redos'],..._0x457d8f[_0x345c5e(0x32f)],..._0x47a270],_0x42af27),_0xfbbd09[_0x345c5e(0x470)]({'unitID':_0xbad114,'redoMutations':[..._0x4221a9[_0x345c5e(0x32f)],..._0x457d8f['redos'],..._0x47a270],'undoMutations':[..._0x4221a9[_0x345c5e(0x2dd)],..._0x457d8f[_0x345c5e(0x2dd)],..._0x30514c]}),!0x0;}},_0x5638db={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x19a),async 'handler'(_0x949a72,_0x252119){const _0x1a5690=_0x6f5ed9;var _0x394e95;if(!_0x252119)return!0x1;const _0xfeaaac=_0x949a72['get'](_0x6ffa6d[_0x1a5690(0x491)]),_0x862730=_0x2361cb[_0x1a5690(0x489)](_0xfeaaac);if(!_0x862730)return!0x1;const {unitId:_0x47bdee,subUnitId:_0x2a3931,workbook:_0x381566}=_0x862730,{row:_0xff221d,col:_0x198d9f}=_0x252119,_0x5cf094=_0x949a72['get'](_0x35c787[_0x1a5690(0x2e3)]),_0x3d25a9=_0x5cf094['getPivotTableIdByCell'](_0x47bdee,_0x2a3931,_0xff221d,_0x198d9f);if(!_0x3d25a9)return!0x1;const _0x79a172=(_0x394e95=_0x5cf094[_0x1a5690(0x42e)](_0x47bdee,_0x2a3931,_0x3d25a9))==null?void 0x0:_0x394e95[_0x1a5690(0x2e4)];if(!_0x79a172)return!0x1;const _0x2a0a70=_0x949a72[_0x1a5690(0x446)](_0x35c787[_0x1a5690(0x266)])['getPivotTableConfig'](_0x47bdee,_0x2a3931,_0x3d25a9);if(!_0x2a0a70)return!0x1;const {rowInfo:_0x26c07b,colInfo:_0x415a40}=_0x79a172,_0xf2a9d4=_0x26c07b[_0xff221d][_0x1a5690(0x383)],_0x1409c3=_0x415a40[_0x198d9f][_0x1a5690(0x383)],_0x48bf5c=_0x26c07b[_0xff221d][_0x1a5690(0x244)],_0x42f08c=_0x415a40[_0x198d9f][_0x1a5690(0x244)],_0x35983f=_0xf2a9d4[_0x1a5690(0x36a)](_0x1409c3),_0x8d8c2b=_0x2a0a70[_0x1a5690(0x427)][_0x1a5690(0x1c4)][_0x1a5690(0x2f1)](0x0,_0x48bf5c),_0x465119=_0x2a0a70[_0x1a5690(0x427)]['columnFields'][_0x1a5690(0x2f1)](0x0,_0x42f08c),_0x40b378=_0x8d8c2b[_0x1a5690(0x36a)](_0x465119),_0xb81f70=_0x35983f['map']((_0x17fb09,_0x2c7c1a)=>[_0x17fb09,_0x40b378[_0x2c7c1a]]),_0x1dd473=(await _0x949a72['get'](_0x35c787[_0x1a5690(0x214)])[_0x1a5690(0x39b)]({'unitId':_0x47bdee,'subUnitId':_0x2a3931,'pivotTableId':_0x3d25a9,'params':{'type':_0x1222bc[_0x1a5690(0x3f5)],'drillDown':{'tuple':_0xb81f70}}}))[_0x1a5690(0x251)][_0x1a5690(0x299)];if(!_0x1dd473)return!0x1;const {indexes:_0x3f5786,range:_0x1264d1,sourceUnitId:_0xe5f2bc,sourceSubUnitId:_0x50cabd,formatMap:_0x258d69}=_0x1dd473,{startRow:_0x1c4037,endRow:_0x42fe35,startColumn:_0x252d55,endColumn:_0x490062}=_0x1264d1,_0x6b71df=new _0x6ffa6d['ObjectMatrix'](),_0x5aa27a=_0x42fe35-_0x1c4037,_0x335e22=_0x490062-_0x252d55,_0x28d2c8={},_0x3540ee=_0x2361cb[_0x1a5690(0x489)](_0xfeaaac,{'unitId':_0xe5f2bc,'subUnitId':_0x50cabd});if(!_0x3540ee)return!0x1;const _0x218186=_0x2f0b61[_0x1a5690(0x3b2)],_0x259f1c=_0x2f0b61[_0x1a5690(0x210)],_0x11140a=_0x2f0b61[_0x1a5690(0x210)],_0x3ec0b6=_0x381566[_0x1a5690(0x3aa)]()[_0x1a5690(0x41e)](_0x218186),_0x11f1f0=_0x381566[_0x1a5690(0x3aa)]()[_0x1a5690(0x41e)](_0x259f1c),_0x5bbf86=_0x381566['getStyles']()[_0x1a5690(0x41e)](_0x11140a),{worksheet:_0x3e9b80}=_0x3540ee;let _0x3ee0a9=0x0;const _0x437b41=0x1;_0x3f5786[_0x1a5690(0x3a7)](_0x241c8b=>{const _0x524bc0=_0x1a5690;for(let _0x478509=0x0;_0x478509<=_0x490062-_0x252d55;_0x478509++)_0x6b71df[_0x524bc0(0x41e)](_0x3ee0a9,_0x478509,_0x3e9b80['getCellRaw'](_0x241c8b+_0x1264d1['startRow']+_0x437b41,_0x478509));_0x3ee0a9++;});for(let _0x30d82e=_0x252d55;_0x30d82e<=_0x490062;_0x30d82e++){const _0x589b42=_0x3e9b80[_0x1a5690(0x1f1)](_0x1c4037,_0x30d82e);_0x28d2c8[_0x1c4037]||(_0x28d2c8[_0x1c4037]={}),_0x28d2c8[_0x1c4037][_0x30d82e]={..._0x589b42,'s':_0x3ec0b6};}let _0x553002=0x1;const _0x9911b2={},_0x33fc3b={};_0x6b71df[_0x1a5690(0x343)]((_0x11fc54,_0x55ce84)=>{const _0x3377be=_0x1a5690;_0x55ce84[_0x3377be(0x3a7)](_0x13078b=>{const _0x5ecc27=_0x3377be,_0x983e9a=_0x6b71df[_0x5ecc27(0x3d6)](_0x11fc54,_0x13078b);if(_0x28d2c8[_0x553002]||(_0x28d2c8[_0x553002]={}),_0x28d2c8[_0x553002][_0x13078b]={..._0x983e9a,'s':_0x553002%0x2===0x0?_0x5bbf86:_0x11f1f0},_0x258d69[_0x13078b]&&_0x11fc54>=0x0){const _0x27f8bc=_0x553002%0x2===0x0;let _0x2555a7=_0x27f8bc?_0x33fc3b[_0x13078b]:_0x9911b2[_0x13078b];_0x2555a7||(_0x2555a7=_0x381566[_0x5ecc27(0x3aa)]()[_0x5ecc27(0x41e)]({..._0x27f8bc?_0x11140a:_0x259f1c,'n':{'pattern':_0x258d69[_0x13078b]}}),_0x27f8bc?_0x33fc3b[_0x13078b]=_0x2555a7:_0x9911b2[_0x13078b]=_0x2555a7),_0x28d2c8[_0x553002][_0x13078b]['s']=_0x2555a7;}}),_0x553002++;});const _0x36a862=new _0x6ffa6d[(_0x1a5690(0x291))](_0x28d2c8),_0x2abc80={};_0x36a862[_0x1a5690(0x263)]((_0x36a28f,_0x5ba3d2,_0x41c986)=>{_0x2abc80[_0x36a28f]||(_0x2abc80[_0x36a28f]={}),_0x2abc80[_0x36a28f][_0x5ba3d2]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4dd5f7=[],_0x116989=[],_0x9c513b=_0x381566['getSheets']()['length'],_0x2e8d7e=_0x6ffa6d[_0x1a5690(0x302)]({'rowCount':Math[_0x1a5690(0x387)](_0x6ffa6d[_0x1a5690(0x2f2)],_0x5aa27a+0xa),'columnCount':Math[_0x1a5690(0x387)](_0x6ffa6d[_0x1a5690(0x2bb)],_0x335e22+0x5)}),_0x1fba0d=_0x949a72['get'](_0x6ffa6d[_0x1a5690(0x2aa)]);_0x2e8d7e['id']=_0x6ffa6d['generateRandomId'](),_0x2e8d7e[_0x1a5690(0x3c6)]=_0x381566['generateNewSheetName'](''+_0x1fba0d['t'](_0x1a5690(0x201)));const _0x59cbe3={'index':_0x9c513b,'sheet':_0x2e8d7e,'unitId':_0x47bdee},_0x2bc056=_0x2361cb[_0x1a5690(0x254)](_0x949a72,_0x59cbe3);_0x116989[_0x1a5690(0x321)]({'id':_0x2361cb[_0x1a5690(0x20a)]['id'],'params':_0x59cbe3}),_0x4dd5f7[_0x1a5690(0x321)]({'id':_0x2361cb[_0x1a5690(0x3b5)]['id'],'params':_0x2bc056}),_0x116989['push']({'id':_0x2361cb[_0x1a5690(0x1ea)]['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id'],'cellValue':_0x28d2c8}}),_0x4dd5f7['unshift']({'id':_0x2361cb['SetRangeValuesMutation']['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id'],'cellValue':_0x2abc80}});const _0x2947ce={'startRow':0x0,'startColumn':0x0,'endRow':_0x553002-0x1,'endColumn':_0x490062};_0x116989[_0x1a5690(0x321)]({'id':_0x355c14[_0x1a5690(0x213)]['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id'],'range':_0x2947ce}}),_0x4dd5f7[_0x1a5690(0x25d)]({'id':_0x355c14[_0x1a5690(0x1bb)]['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id']}});const _0x54dbcb=_0x949a72['get'](_0x6ffa6d['ICommandService']);return _0x6ffa6d['sequenceExecute'](_0x116989,_0x54dbcb)&&_0x949a72[_0x1a5690(0x446)](_0x6ffa6d[_0x1a5690(0x186)])[_0x1a5690(0x470)]({'unitID':_0x47bdee,'undoMutations':_0x4dd5f7,'redoMutations':_0x116989}),!0x0;}},_0x3445dc={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x50aaec,_0x47263a){const _0x198a64=_0x6f5ed9;if(!_0x47263a)return!0x1;const _0x391e16=_0x50aaec['get'](_0x6ffa6d[_0x198a64(0x3fa)]),_0x4ec87b=_0x50aaec[_0x198a64(0x446)](_0x35c787[_0x198a64(0x214)]),_0x558dd9=_0x50aaec[_0x198a64(0x446)](_0x6ffa6d[_0x198a64(0x186)]),{pivotTableId:_0x160cc9,fieldIds:_0x3b698c,unitId:_0x1369cb,subUnitId:_0x59b0da}=_0x47263a,_0x2ac12c=(await _0x4ec87b[_0x198a64(0x39b)]({'unitId':_0x1369cb,'subUnitId':_0x59b0da,'pivotTableId':_0x160cc9,'params':{'type':_0x1222bc[_0x198a64(0x196)],'removePivotField':{'fieldIds':_0x3b698c}}}))[_0x198a64(0x251)][_0x198a64(0x26b)];if(!_0x2ac12c)return!0x1;const {view:_0x5f176a,changesets:_0x262b30,isEmpty:_0x36a1fe,pivotTableConfig:_0x32b4cf}=_0x2ac12c,_0x34c6ab=_0x32b4cf[_0x198a64(0x1fb)],_0x2ad6be=new _0x426cf2['PivotView']();_0x2ad6be[_0x198a64(0x357)](_0x5f176a);const _0x397ae2={'cellInfo':_0x34c6ab,'view':_0x2ad6be,'isEmpty':_0x36a1fe};if(!await _0x50aaec[_0x198a64(0x446)](_0x35c787['SheetsPivotTableService'])[_0x198a64(0x233)][_0x198a64(0x493)](_0x1f0071)(!0x0,_0x397ae2))return!0x1;const _0x5e340a=_0x2a9e07(_0x50aaec,_0x2ad6be,_0x34c6ab,_0x36a1fe),_0x1fe032=_0x2aaec3(_0x50aaec,_0x397ae2),{redos:_0x230b0e,undos:_0x31f3a1}=_0x1f747e(_0x391e16,{'pivotTableId':_0x160cc9,'unitId':_0x1369cb,'subUnitId':_0x59b0da},_0x262b30);return _0x6ffa6d[_0x198a64(0x451)]([..._0x5e340a[_0x198a64(0x32f)],..._0x1fe032[_0x198a64(0x32f)],..._0x230b0e],_0x391e16),_0x558dd9['pushUndoRedo']({'unitID':_0x1369cb,'redoMutations':[..._0x5e340a[_0x198a64(0x32f)],..._0x1fe032[_0x198a64(0x32f)],..._0x230b0e],'undoMutations':[..._0x5e340a[_0x198a64(0x2dd)],..._0x1fe032[_0x198a64(0x2dd)],..._0x31f3a1]}),!0x0;}},_0x137eeb={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x3a9),async 'handler'(_0x243b1b,_0x59f110){const _0x3f093f=_0x6f5ed9;var _0x20d91c;const _0x1d18f6=_0x243b1b[_0x3f093f(0x446)](_0x6ffa6d[_0x3f093f(0x3fa)]),_0x22d56b=_0x243b1b['get'](_0x35c787[_0x3f093f(0x214)]),_0x126fcd=_0x243b1b[_0x3f093f(0x446)](_0x35c787['SheetsPivotTableAdaptorModel']),_0x5cc36c=_0x243b1b['get'](_0x6ffa6d[_0x3f093f(0x491)]),_0x4b6528=_0x243b1b[_0x3f093f(0x446)](_0x6ffa6d[_0x3f093f(0x186)]);if(!_0x59f110)return!0x1;const {unitId:_0x4a24a4,subUnitId:_0x54e04e,row:_0x249d10,col:_0x25e445,collapse:_0x1b20d1}=_0x59f110,_0x5e0308=_0x5cc36c[_0x3f093f(0x46d)](_0x4a24a4);if(!_0x5e0308||!_0x5e0308[_0x3f093f(0x410)](_0x54e04e))return!0x1;const _0x2733ec=_0x126fcd[_0x3f093f(0x2be)](_0x4a24a4,_0x54e04e,_0x249d10,_0x25e445);if(!_0x2733ec)return!0x1;const _0x5b26b9=_0x126fcd['getPivotItemRenderInfoCache'](_0x4a24a4,_0x54e04e,_0x2733ec);if(!_0x5b26b9)return!0x1;const _0x35c1b5=_0x6ffa6d[_0x3f093f(0x38c)](_0x249d10,_0x25e445),{rangesInfo:_0x1732f1,areaInfo:_0xfeebde,headerMap:_0x15aa99}=_0x5b26b9;if(!_0x1732f1||!_0xfeebde||!_0x15aa99)return!0x1;const _0x4ceaef=Object[_0x3f093f(0x1b3)](_0x1732f1)[_0x3f093f(0x29c)](_0x56b44c=>_0x1732f1[_0x56b44c][_0x3f093f(0x282)](_0x56c50b=>_0x6ffa6d['Rectangle'][_0x3f093f(0x20e)](_0x56c50b,_0x35c1b5)));let _0x4c77c4;_0x4ceaef===_0x3f093f(0x1a5)?_0x4c77c4=_0x15aa99['rowHeaderMap'][_0x25e445]:_0x4ceaef===_0x3f093f(0x1d7)&&(_0x4c77c4=_0x15aa99[_0x3f093f(0x300)][_0x249d10]);const _0x5618d9=_0x4c77c4==null?void 0x0:_0x4c77c4[_0x3f093f(0x1ad)],_0x54bcc7=(_0x20d91c=_0x126fcd['getPivotTableCellData'](_0x4a24a4,_0x54e04e,_0x249d10,_0x25e445))==null?void 0x0:_0x20d91c['v'];if(_0x54bcc7==null||!_0x2733ec||!_0x5618d9)return!0x1;const _0x3f95e1=await _0x22d56b[_0x3f093f(0x39b)]({'unitId':_0x4a24a4,'subUnitId':_0x54e04e,'pivotTableId':_0x2733ec,'params':{'type':_0x1222bc[_0x3f093f(0x2ed)],'setPivotCollapse':{'tableFieldId':_0x5618d9,'collapse':_0x1b20d1,'item':_0x54bcc7}}}),_0x2016b8=_0x3f95e1==null?void 0x0:_0x3f95e1[_0x3f093f(0x251)][_0x3f093f(0x26f)];if(!_0x2016b8)return!0x1;const {view:_0x34b5ca,pivotTableConfig:_0x233f41,isEmpty:_0x26682a,changesets:_0x49317a}=_0x2016b8,_0xc8bfe8=new _0x426cf2[(_0x3f093f(0x2c4))]();_0xc8bfe8[_0x3f093f(0x357)](_0x34b5ca);const _0x5e455d=_0x233f41[_0x3f093f(0x1fb)],_0x5a437f={'cellInfo':_0x5e455d,'view':_0xc8bfe8,'isEmpty':_0x26682a};if(!await _0x243b1b[_0x3f093f(0x446)](_0x35c787[_0x3f093f(0x207)])[_0x3f093f(0x233)][_0x3f093f(0x493)](_0x1f0071)(!0x0,_0x5a437f))return!0x1;const _0x380f40=_0x2a9e07(_0x243b1b,_0xc8bfe8,_0x5e455d,_0x26682a),_0x3827f1=_0x2aaec3(_0x243b1b,_0x5a437f),{redos:_0x5aa6ca,undos:_0x4d1d29}=_0x1f747e(_0x1d18f6,{'pivotTableId':_0x2733ec,'unitId':_0x4a24a4,'subUnitId':_0x54e04e},_0x49317a);return _0x6ffa6d[_0x3f093f(0x451)]([..._0x380f40[_0x3f093f(0x32f)],..._0x3827f1[_0x3f093f(0x32f)],..._0x5aa6ca],_0x1d18f6),_0x4b6528[_0x3f093f(0x470)]({'unitID':_0x4a24a4,'redoMutations':[..._0x380f40[_0x3f093f(0x32f)],..._0x3827f1[_0x3f093f(0x32f)],..._0x5aa6ca],'undoMutations':[..._0x380f40[_0x3f093f(0x2dd)],..._0x3827f1[_0x3f093f(0x2dd)],..._0x4d1d29]}),!0x0;}},_0x2a0eec={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x375),async 'handler'(_0x205bc9,_0x3f5f0f){const _0x342cc2=_0x6f5ed9;if(!_0x3f5f0f)return!0x1;const _0x5a3003=_0x205bc9[_0x342cc2(0x446)](_0x6ffa6d[_0x342cc2(0x3fa)]),{pivotTableId:_0xf7b923,tableFieldId:_0x489e86,items:_0x373d1e,unitId:_0x33d39d,subUnitId:_0xe51926,isAll:_0x37d833}=_0x3f5f0f,_0x542680=_0x205bc9[_0x342cc2(0x446)](_0x35c787[_0x342cc2(0x214)]),_0x2fa32b=_0x205bc9[_0x342cc2(0x446)](_0x6ffa6d[_0x342cc2(0x186)]),_0x2e1ce6=(await _0x542680['getPivotDisplayConfig']({'unitId':_0x33d39d,'subUnitId':_0xe51926,'pivotTableId':_0xf7b923,'params':{'type':_0x1222bc[_0x342cc2(0x2d7)],'setPivotFilter':{'tableFieldId':_0x489e86,'items':_0x373d1e,'isAll':_0x37d833}}}))[_0x342cc2(0x251)]['setPivotFilter'];if(!_0x2e1ce6)return!0x1;const {changesets:_0x2ba419,pivotTableConfig:_0x21d977,isEmpty:_0x435a02,view:_0x4206e2}=_0x2e1ce6,_0x1dd068=_0x21d977[_0x342cc2(0x1fb)],_0x1a030e=new _0x426cf2[(_0x342cc2(0x2c4))]();_0x1a030e['formJSON'](_0x4206e2);const _0x105856={'cellInfo':_0x1dd068,'view':_0x1a030e,'isEmpty':_0x435a02};if(!await _0x205bc9['get'](_0x35c787['SheetsPivotTableService'])[_0x342cc2(0x233)]['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0x105856))return!0x1;const _0x10143e=_0x2a9e07(_0x205bc9,_0x1a030e,_0x1dd068,_0x435a02),_0x277f77=_0x2aaec3(_0x205bc9,_0x105856),{undos:_0x927733,redos:_0x33b3fd}=_0x1f747e(_0x5a3003,{'pivotTableId':_0xf7b923,'unitId':_0x33d39d,'subUnitId':_0xe51926},_0x2ba419);return _0x6ffa6d[_0x342cc2(0x451)]([..._0x10143e[_0x342cc2(0x32f)],..._0x277f77[_0x342cc2(0x32f)],..._0x33b3fd],_0x5a3003),_0x2fa32b[_0x342cc2(0x470)]({'unitID':_0x33d39d,'redoMutations':[..._0x10143e[_0x342cc2(0x32f)],..._0x277f77[_0x342cc2(0x32f)],..._0x33b3fd],'undoMutations':[..._0x10143e[_0x342cc2(0x2dd)],..._0x277f77[_0x342cc2(0x2dd)],..._0x927733]}),!0x0;}},_0x553f42={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x35b),async 'handler'(_0x465192,_0x132ac5){const _0x3ce46f=_0x6f5ed9;if(!_0x132ac5)return!0x1;const _0x13c6f7=_0x465192[_0x3ce46f(0x446)](_0x6ffa6d[_0x3ce46f(0x3fa)]),_0x4a31ef=_0x465192[_0x3ce46f(0x446)](_0x6ffa6d[_0x3ce46f(0x186)]),_0x195191=_0x465192[_0x3ce46f(0x446)](_0x35c787[_0x3ce46f(0x214)]),{info:_0x3dcd78,tableFieldId:_0x2999c3,pivotTableId:_0x4fd2d1,unitId:_0x30d805,subUnitId:_0x2c3bf5}=_0x132ac5,_0x1c3f30=(await _0x195191[_0x3ce46f(0x39b)]({'unitId':_0x30d805,'subUnitId':_0x2c3bf5,'pivotTableId':_0x4fd2d1,'params':{'type':_0x1222bc[_0x3ce46f(0x177)],'setPivotSort':{'tableFieldId':_0x2999c3,'info':_0x3dcd78}}}))[_0x3ce46f(0x251)]['setPivotSort'];if(!_0x1c3f30)return!0x1;const {changesets:_0x1e1f82}=_0x1c3f30,{redos:_0x3aafb1,undos:_0x34e03e}=_0x1f747e(_0x13c6f7,{'pivotTableId':_0x4fd2d1,'unitId':_0x30d805,'subUnitId':_0x2c3bf5},_0x1e1f82);return _0x6ffa6d[_0x3ce46f(0x451)](_0x3aafb1,_0x13c6f7),_0x4a31ef[_0x3ce46f(0x470)]({'unitID':_0x30d805,'redoMutations':_0x3aafb1,'undoMutations':_0x34e03e}),!0x0;}},_0x259856={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x5251c3,_0x3dedd1){const _0x47f16d=_0x6f5ed9;if(!_0x3dedd1)return!0x1;const _0x3a4e78=_0x5251c3[_0x47f16d(0x446)](_0x6ffa6d[_0x47f16d(0x3fa)]),_0x12f5f5=_0x5251c3[_0x47f16d(0x446)](_0x6ffa6d[_0x47f16d(0x186)]),_0x1725bf=_0x5251c3[_0x47f16d(0x446)](_0x35c787[_0x47f16d(0x214)]),{displayName:_0x30cef3,subtotalType:_0xe0919b,format:_0x33afe3,tableFieldId:_0x18a5f9,pivotTableId:_0x9217d4,unitId:_0x21cd7f,subUnitId:_0x3636d9}=_0x3dedd1,_0x7878cd=(await _0x1725bf[_0x47f16d(0x39b)]({'unitId':_0x21cd7f,'subUnitId':_0x3636d9,'pivotTableId':_0x9217d4,'params':{'type':_0x1222bc[_0x47f16d(0x2b6)],'setPivotSetting':{'tableFieldId':_0x18a5f9,'displayName':_0x30cef3,'subtotalType':_0xe0919b,'format':_0x33afe3}}}))[_0x47f16d(0x251)][_0x47f16d(0x2a9)];if(!_0x7878cd)return!0x1;const {changesets:_0xe28026,view:_0x4507b0,pivotTableConfig:_0x37764b,isEmpty:_0x10aebc}=_0x7878cd,_0x412cc0=_0x37764b['targetCellInfo'],_0x32d90c=new _0x426cf2[(_0x47f16d(0x2c4))]();_0x32d90c[_0x47f16d(0x357)](_0x4507b0);const _0x20f9a9={'cellInfo':_0x412cc0,'view':_0x32d90c,'isEmpty':_0x10aebc};if(!await _0x5251c3[_0x47f16d(0x446)](_0x35c787[_0x47f16d(0x207)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0x20f9a9))return!0x1;const _0x1508a2=_0x2a9e07(_0x5251c3,_0x32d90c,_0x412cc0,_0x10aebc),_0x2ead8b=_0x2aaec3(_0x5251c3,_0x20f9a9),{undos:_0x3ebafe,redos:_0x1a448e}=_0x1f747e(_0x3a4e78,{'pivotTableId':_0x9217d4,'unitId':_0x21cd7f,'subUnitId':_0x3636d9},_0xe28026);return _0x6ffa6d[_0x47f16d(0x451)]([..._0x1508a2[_0x47f16d(0x32f)],..._0x2ead8b[_0x47f16d(0x32f)],..._0x1a448e],_0x3a4e78),_0x12f5f5[_0x47f16d(0x470)]({'unitID':_0x21cd7f,'redoMutations':[..._0x1508a2[_0x47f16d(0x32f)],..._0x2ead8b[_0x47f16d(0x32f)],..._0x1a448e],'undoMutations':[..._0x1508a2['undos'],..._0x2ead8b['undos'],..._0x3ebafe]}),!0x0;}},_0x446e9a={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x47f),async 'handler'(_0x4a01d0,_0x3f7690){const _0x1e8c0b=_0x6f5ed9,_0x3fd721=_0x4a01d0[_0x1e8c0b(0x446)](_0x6ffa6d[_0x1e8c0b(0x3fa)]),_0xe544bc=_0x4a01d0[_0x1e8c0b(0x446)](_0x35c787[_0x1e8c0b(0x214)]),_0x1964a1=_0x4a01d0['get'](_0x6ffa6d['IUndoRedoService']);if(!_0x3f7690)return!0x1;const {token:_0xb91048,dataRangeInfo:_0x22c7fe,unitId:_0xb120ae,subUnitId:_0x4b5c7d}=_0x3f7690,_0x16333e=[],_0x346119=[],_0x247ca4=(await _0xe544bc[_0x1e8c0b(0x39b)]({'unitId':_0xb120ae,'subUnitId':_0x4b5c7d,'pivotTableId':_0xb91048,'params':{'type':_0x1222bc[_0x1e8c0b(0x449)],'updatePivotSource':{'dataRangeInfo':_0x22c7fe,'unitId':_0xb120ae,'subUnitId':_0x4b5c7d}}}))['result']['updatePivotSource'];if(!_0x247ca4)return!0x1;const {changesets:_0x585de1,deleteIds:_0x10f76b,collectionConfig:_0x13edf,oldCollectionConfig:_0x423073,view:_0x20f601,isEmpty:_0x5b6cdc,pivotTableConfig:_0x3889b7}=_0x247ca4;_0x346119[_0x1e8c0b(0x321)]({'id':_0x455e79['id'],'params':{'pivotTableId':_0xb91048,'deleteIds':_0x10f76b,'collectionJSON':_0x13edf,'dataRangeInfo':_0x22c7fe,'unitId':_0xb120ae,'subUnitId':_0x4b5c7d}}),_0x16333e[_0x1e8c0b(0x25d)]({'id':_0x455e79['id'],'params':{'pivotTableId':_0xb91048,'deleteIds':[],'collectionJSON':_0x423073,'dataRangeInfo':_0x3889b7['sourceRangeInfo'],'unitId':_0xb120ae,'subUnitId':_0x4b5c7d}});const _0x318e69=_0x3889b7[_0x1e8c0b(0x1fb)],_0x2b6e76=new _0x426cf2[(_0x1e8c0b(0x2c4))]();_0x2b6e76[_0x1e8c0b(0x357)](_0x20f601);const _0x562c4a={'cellInfo':_0x318e69,'view':_0x2b6e76,'isEmpty':_0x5b6cdc};if(!await _0x4a01d0['get'](_0x35c787[_0x1e8c0b(0x207)])[_0x1e8c0b(0x233)][_0x1e8c0b(0x493)](_0x1f0071)(!0x0,_0x562c4a))return!0x1;const _0x5016a8=_0x2a9e07(_0x4a01d0,_0x2b6e76,_0x318e69,_0x5b6cdc),_0x31e96e=_0x2aaec3(_0x4a01d0,_0x562c4a),{undos:_0x4e5500,redos:_0x1094c1}=_0x1f747e(_0x3fd721,{'pivotTableId':_0xb91048,'unitId':_0xb120ae,'subUnitId':_0x4b5c7d},_0x585de1);return _0x6ffa6d['sequenceExecute']([..._0x5016a8[_0x1e8c0b(0x32f)],..._0x31e96e[_0x1e8c0b(0x32f)],..._0x346119,..._0x4e5500],_0x3fd721),_0x1964a1[_0x1e8c0b(0x470)]({'unitID':_0xb120ae,'redoMutations':[..._0x5016a8[_0x1e8c0b(0x32f)],..._0x31e96e[_0x1e8c0b(0x32f)],..._0x346119,..._0x4e5500],'undoMutations':[..._0x5016a8[_0x1e8c0b(0x2dd)],..._0x31e96e[_0x1e8c0b(0x2dd)],..._0x16333e,..._0x1094c1]}),!0x0;}},_0x4b649e={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x42c),async 'handler'(_0x4f3a4a,_0x48f894){const _0x162519=_0x6f5ed9;if(!_0x48f894)return!0x1;const _0x7b6ef1=_0x4f3a4a[_0x162519(0x446)](_0x6ffa6d[_0x162519(0x3fa)]),_0x41ad27=_0x4f3a4a[_0x162519(0x446)](_0x35c787[_0x162519(0x214)]),_0x5b33a8=_0x4f3a4a[_0x162519(0x446)](_0x6ffa6d[_0x162519(0x491)]),_0x1ff652=_0x4f3a4a[_0x162519(0x446)](_0x6ffa6d['IUndoRedoService']),{pivotTableId:_0x3121e9,position:_0x526da0,index:_0xf47da2}=_0x48f894,_0x29d1df=_0x2361cb['getSheetCommandTarget'](_0x5b33a8);if(!_0x29d1df)return!0x1;const {unitId:_0x31bb67,subUnitId:_0x4d2696}=_0x29d1df,_0x2ed158=(await _0x41ad27['getPivotDisplayConfig']({'unitId':_0x31bb67,'subUnitId':_0x4d2696,'pivotTableId':_0x3121e9,'params':{'type':_0x1222bc[_0x162519(0x3cf)],'updateValuePosition':{'position':_0x526da0,'index':_0xf47da2}}}))[_0x162519(0x251)][_0x162519(0x20f)];if(!_0x2ed158)return!0x1;const {changesets:_0x1a719d,view:_0x1bfaf8,isEmpty:_0x362208,pivotTableConfig:_0x3a4a6f}=_0x2ed158,_0x292b77=_0x3a4a6f[_0x162519(0x1fb)],_0x3f5bdb=new _0x426cf2[(_0x162519(0x2c4))]();_0x3f5bdb['formJSON'](_0x1bfaf8);const _0xd7161a=_0x4f3a4a[_0x162519(0x446)](_0x35c787[_0x162519(0x207)]),_0x2f2dd9={'cellInfo':_0x292b77,'view':_0x3f5bdb,'isEmpty':_0x362208};if(!await _0xd7161a['asyncInterceptor'][_0x162519(0x493)](_0x1f0071)(!0x0,_0x2f2dd9))return!0x1;const _0x5a92bb=_0x2a9e07(_0x4f3a4a,_0x3f5bdb,_0x292b77,_0x362208),_0x2de32e=_0x2aaec3(_0x4f3a4a,_0x2f2dd9),{undos:_0x4c9e95,redos:_0x5619fa}=_0x1f747e(_0x7b6ef1,{'pivotTableId':_0x3121e9,'unitId':_0x31bb67,'subUnitId':_0x4d2696},_0x1a719d);return _0x6ffa6d['sequenceExecute']([..._0x5a92bb[_0x162519(0x32f)],..._0x2de32e['redos'],..._0x5619fa],_0x7b6ef1),_0x1ff652[_0x162519(0x470)]({'unitID':_0x31bb67,'redoMutations':[..._0x5a92bb['redos'],..._0x2de32e[_0x162519(0x32f)],..._0x5619fa],'undoMutations':[..._0x5a92bb[_0x162519(0x2dd)],..._0x2de32e[_0x162519(0x2dd)],..._0x4c9e95]}),!0x0;}},_0x5011ab={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x3ea),'handler':(_0x2c84c1,_0x3e52f7)=>{const _0x24fd22=_0x6f5ed9,_0xc859df=_0x2c84c1[_0x24fd22(0x446)](_0x6ffa6d[_0x24fd22(0x3fa)]),_0x39e1f2=_0x2c84c1[_0x24fd22(0x446)](_0x6ffa6d[_0x24fd22(0x186)]),_0xe41f96=_0x2c84c1['get'](_0x35c787[_0x24fd22(0x266)]),_0x1569ee=_0x2c84c1[_0x24fd22(0x446)](_0x6ffa6d[_0x24fd22(0x491)]);if(!_0x3e52f7)return!0x1;const _0x197219=_0x2361cb[_0x24fd22(0x489)](_0x1569ee);if(!_0x197219)return!0x1;const {unitId:_0x29e6fc,subUnitId:_0x332e7a,workbook:_0x4398cc}=_0x197219,_0x19f69d=_0xe41f96[_0x24fd22(0x34a)](_0x3e52f7[_0x24fd22(0x262)][_0x24fd22(0x322)],_0x3e52f7[_0x24fd22(0x262)][_0x24fd22(0x2d3)],_0x3e52f7[_0x24fd22(0x391)]);if(!_0x19f69d)return!0x1;const _0x218252=_0x4398cc[_0x24fd22(0x410)](_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x2d3)]);if(!_0x218252)throw new Error(_0x24fd22(0x1a8));const _0x630f65=_0x218252[_0x24fd22(0x471)](),_0x873f1c=_0x218252[_0x24fd22(0x36c)]();if(_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x316)]>_0x630f65||_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x48d)]>_0x873f1c)throw new Error(_0x24fd22(0x198));const _0x56a20a=[{'id':_0x34b248['id'],'params':{'unitId':_0x29e6fc,'subUnitId':_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x2d3)],'pivotTableId':_0x3e52f7[_0x24fd22(0x391)],'targetCellPosition':{'row':_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x316)],'col':_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x48d)]}}}],_0x496a93=[{'id':_0x34b248['id'],'params':{'unitId':_0x29e6fc,'subUnitId':_0x332e7a,'pivotTableId':_0x3e52f7[_0x24fd22(0x391)],'targetCellPosition':{'row':_0x19f69d['targetCellInfo'][_0x24fd22(0x316)],'col':_0x19f69d[_0x24fd22(0x1fb)][_0x24fd22(0x48d)]}}}];return _0x6ffa6d['sequenceExecute'](_0x56a20a,_0xc859df)&&_0x39e1f2[_0x24fd22(0x470)]({'unitID':_0x29e6fc,'undoMutations':_0x496a93,'redoMutations':_0x56a20a}),!0x0;}},_0x310234={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x217f5d,_0x6ca01f){const _0x424070=_0x6f5ed9;if(!_0x6ca01f)return!0x1;const _0x1d3430=_0x217f5d[_0x424070(0x446)](_0x6ffa6d[_0x424070(0x3fa)]),{pivotTableId:_0x5a00a8,fieldId:_0x3637dd,valueFilterInfo:_0x3dc59c,unitId:_0x53c2df,subUnitId:_0x4bd00a}=_0x6ca01f,_0x25bc97=_0x217f5d['get'](_0x35c787[_0x424070(0x214)]),_0x2c462b=_0x217f5d['get'](_0x6ffa6d['IUndoRedoService']),_0x2b00c1=(await _0x25bc97['getPivotDisplayConfig']({'unitId':_0x53c2df,'subUnitId':_0x4bd00a,'pivotTableId':_0x5a00a8,'params':{'type':_0x1222bc['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x3637dd,'filterInfo':_0x3dc59c}}}))['result']['setValuePivotFilter'];if(!_0x2b00c1)return!0x1;const {changesets:_0x544a49,pivotTableConfig:_0x1ecd6d,isEmpty:_0xe07d90,view:_0x1493fd}=_0x2b00c1,_0x30bb83=_0x1ecd6d[_0x424070(0x1fb)],_0x41b51c=new _0x426cf2[(_0x424070(0x2c4))]();_0x41b51c['formJSON'](_0x1493fd);const _0xc6e8e8={'cellInfo':_0x30bb83,'view':_0x41b51c,'isEmpty':_0xe07d90};if(!await _0x217f5d[_0x424070(0x446)](_0x35c787[_0x424070(0x207)])[_0x424070(0x233)]['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0xc6e8e8))return!0x1;const _0x4ed4fc=_0x2a9e07(_0x217f5d,_0x41b51c,_0x30bb83,_0xe07d90),_0x3e1089=_0x2aaec3(_0x217f5d,_0xc6e8e8),{undos:_0x2bf807,redos:_0x40604b}=_0x1f747e(_0x1d3430,{'pivotTableId':_0x5a00a8,'unitId':_0x53c2df,'subUnitId':_0x4bd00a},_0x544a49);return _0x6ffa6d[_0x424070(0x451)]([..._0x4ed4fc[_0x424070(0x32f)],..._0x3e1089[_0x424070(0x32f)],..._0x40604b],_0x1d3430),_0x2c462b[_0x424070(0x470)]({'unitID':_0x53c2df,'redoMutations':[..._0x4ed4fc[_0x424070(0x32f)],..._0x3e1089['redos'],..._0x40604b],'undoMutations':[..._0x4ed4fc[_0x424070(0x2dd)],..._0x3e1089['undos'],..._0x2bf807]}),!0x0;}},_0x551cd2={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x484),async 'handler'(_0xab55d7,_0x4e8d92){const _0x5ddaf7=_0x6f5ed9;if(!_0x4e8d92)return!0x1;const _0x5f413e=_0xab55d7[_0x5ddaf7(0x446)](_0x6ffa6d['ICommandService']),_0x1eddb9=_0xab55d7['get'](_0x6ffa6d[_0x5ddaf7(0x186)]),_0x5c8ba5=_0xab55d7['get'](_0x35c787['SheetsPivotRPCService']),{pivotTableConfig:_0x48f321,pivotTableId:_0x552ea3,unitId:_0xe4e3ff,subUnitId:_0x542f32}=_0x4e8d92,_0x7c035b=(await _0x5c8ba5[_0x5ddaf7(0x39b)]({'unitId':_0xe4e3ff,'subUnitId':_0x542f32,'pivotTableId':_0x552ea3,'params':{'type':_0x1222bc[_0x5ddaf7(0x3db)],'setPivotTableConfig':{'pivotTableId':_0x552ea3,'pivotTableConfig':_0x48f321}}}))[_0x5ddaf7(0x251)][_0x5ddaf7(0x2a8)];if(!_0x7c035b)return!0x1;const {changesets:_0x2894ad}=_0x7c035b,{redos:_0xf08f00,undos:_0x45c238}=_0x1f747e(_0x5f413e,{'pivotTableId':_0x552ea3,'unitId':_0xe4e3ff,'subUnitId':_0x542f32},_0x2894ad);return _0x6ffa6d[_0x5ddaf7(0x451)](_0xf08f00,_0x5f413e),_0x1eddb9[_0x5ddaf7(0x470)]({'unitID':_0xe4e3ff,'redoMutations':_0xf08f00,'undoMutations':_0x45c238}),!0x0;}},_0x127bbd={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x3d0),async 'handler'(_0x3c3341,_0x5039c6){const _0x4e04c0=_0x6f5ed9;if(!_0x5039c6)return!0x1;const _0x2dafc7=_0x3c3341[_0x4e04c0(0x446)](_0x6ffa6d[_0x4e04c0(0x3fa)]),_0x2d77d8=_0x3c3341[_0x4e04c0(0x446)](_0x6ffa6d[_0x4e04c0(0x186)]),_0x18766c=_0x3c3341[_0x4e04c0(0x446)](_0x35c787[_0x4e04c0(0x214)]),{resetArea:_0x3ebc0e,pivotTableId:_0x31354e,unitId:_0x3cdc56,subUnitId:_0x47513e}=_0x5039c6,_0x1cd511=(await _0x18766c[_0x4e04c0(0x39b)]({'unitId':_0x3cdc56,'subUnitId':_0x47513e,'pivotTableId':_0x31354e,'params':{'type':_0x1222bc[_0x4e04c0(0x234)],'resetPivotTable':{'pivotTableId':_0x31354e,'resetArea':_0x3ebc0e}}}))[_0x4e04c0(0x251)][_0x4e04c0(0x408)];if(!_0x1cd511)return!0x1;const {changesets:_0xf0cac9}=_0x1cd511,{redos:_0x29b001,undos:_0x25fa83}=_0x1f747e(_0x2dafc7,{'pivotTableId':_0x31354e,'unitId':_0x3cdc56,'subUnitId':_0x47513e},_0xf0cac9);return _0x6ffa6d[_0x4e04c0(0x451)](_0x29b001,_0x2dafc7),_0x2d77d8[_0x4e04c0(0x470)]({'unitID':_0x3cdc56,'redoMutations':_0x29b001,'undoMutations':_0x25fa83}),!0x0;}},_0x2fe399={'id':_0x6f5ed9(0x205),'type':_0x6ffa6d['CommandType']['MUTATION'],'handler':(_0x1380ae,_0x3ee387)=>{const _0xc20e1c=_0x6f5ed9;if(!_0x3ee387)return!0x1;if(!!_0x1380ae[_0xc20e1c(0x446)](_0x6ffa6d[_0xc20e1c(0x431)])[_0xc20e1c(0x2a3)](_0x838977))return!0x0;const {unitId:_0x1bb98e,subUnitId:_0x3e938c,pivotTableId:_0x51d235,tableFieldId:_0x4d49b0,dateType:_0x3a306f}=_0x3ee387,_0x2dedc7=_0x1380ae[_0xc20e1c(0x446)](_0x35c787[_0xc20e1c(0x185)]),_0x187311=_0x2dedc7[_0xc20e1c(0x442)](_0x51d235);if(!_0x187311)return!0x1;const _0x3ac5cc=_0x187311['getDataFieldByTableId'](_0x4d49b0);if(!_0x3ac5cc)return!0x1;const _0x276f05=_0x3ac5cc[_0xc20e1c(0x1ef)](),_0x59462e=_0x187311[_0xc20e1c(0x403)](_0x276f05),_0xf9baeb=(_0x59462e==null?void 0x0:_0x59462e['getName']())+'\x20'+_0x55d82e(_0x1380ae,_0x3a306f);_0x2dedc7[_0xc20e1c(0x3d9)](_0x1bb98e,_0x51d235)['setDisplayName'](_0x3ac5cc['id'],_0xf9baeb);const _0x3e9ecd=_0x187311['getTableFieldById'](_0x4d49b0);if(!_0x3e9ecd)return!0x1;_0x187311[_0xc20e1c(0x475)](_0x3e9ecd[_0xc20e1c(0x222)](),_0xf9baeb),_0x3ac5cc['setDateType'](_0x3a306f);const _0x5e3994=_0x2dedc7[_0xc20e1c(0x34a)](_0x1bb98e,_0x3e938c,_0x51d235);return _0x2dedc7['addDirtyPivotTable']({'unitId':_0x1bb98e,'subUnitId':_0x3e938c,'token':_0x51d235,'type':_0x1bdb8f[_0xc20e1c(0x2e5)],'pivotConfig':_0x5e3994}),!0x0;}},_0x9577c5={'id':_0x6f5ed9(0x334),'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'handler':(_0x163a22,_0x47c39f)=>{const _0x5a33d3=_0x6f5ed9;if(!_0x47c39f)return!0x1;const _0x253dba=_0x163a22[_0x5a33d3(0x446)](_0x6ffa6d[_0x5a33d3(0x186)]),{unitId:_0x52bdd2,subUnitId:_0x4bbb46,pivotTableId:_0x21956d,tableFieldId:_0x38a57c}=_0x47c39f,_0x57ef5e=[],_0x4e9437=[],_0x249bde=_0x163a22[_0x5a33d3(0x446)](_0x35c787[_0x5a33d3(0x266)]),_0x4f6e8c=_0x249bde['getCollection'](_0x52bdd2,_0x21956d),_0x5b3632=_0x249bde[_0x5a33d3(0x34a)](_0x52bdd2,_0x4bbb46,_0x21956d);if(!(_0x5b3632!=null&&_0x5b3632[_0x5a33d3(0x427)][_0x5a33d3(0x17e)]))return!0x1;const _0x10684c=Object['values'](_0x5b3632[_0x5a33d3(0x427)][_0x5a33d3(0x17e)])[_0x5a33d3(0x29c)](_0x341309=>_0x341309['id']===_0x38a57c);if(!_0x10684c)return!0x1;const _0x2c86c5=_0x10684c[_0x5a33d3(0x31f)];if(!(_0x4f6e8c!=null&&_0x4f6e8c[_0x5a33d3(0x33a)]))return!0x1;const _0x52007a=Object[_0x5a33d3(0x342)](_0x4f6e8c==null?void 0x0:_0x4f6e8c['fields'])[_0x5a33d3(0x29c)](_0x36fd45=>_0x36fd45['id']===_0x2c86c5);if(!_0x52007a)return!0x1;_0x426cf2[_0x5a33d3(0x453)](_0x52007a)&&_0x57ef5e['push']({'id':_0x2fe399['id'],'params':{..._0x47c39f,'dateType':_0x52007a[_0x5a33d3(0x22e)]}}),_0x4e9437[_0x5a33d3(0x321)]({'id':_0x2fe399['id'],'params':{..._0x47c39f}});const _0x4b3d65=_0x163a22[_0x5a33d3(0x446)](_0x6ffa6d[_0x5a33d3(0x3fa)]);return _0x6ffa6d[_0x5a33d3(0x451)](_0x4e9437,_0x4b3d65)&&_0x253dba[_0x5a33d3(0x470)]({'unitID':_0x52bdd2,'undoMutations':_0x57ef5e,'redoMutations':_0x4e9437}),!0x0;}};var _0xb51917=Object[_0x6f5ed9(0x1a9)],_0x27a868=(_0x2f3bf5,_0x970856,_0x3597f,_0x12234f)=>{const _0x272f35=_0x6f5ed9;for(var _0x429c69=_0x12234f>0x1?void 0x0:_0x12234f?_0xb51917(_0x970856,_0x3597f):_0x970856,_0x17c29a=_0x2f3bf5[_0x272f35(0x293)]-0x1,_0x1d947f;_0x17c29a>=0x0;_0x17c29a--)(_0x1d947f=_0x2f3bf5[_0x17c29a])&&(_0x429c69=_0x1d947f(_0x429c69)||_0x429c69);return _0x429c69;},_0x47713b=(_0x5b20e8,_0x4e814b)=>(_0x2a67da,_0x571a50)=>_0x4e814b(_0x2a67da,_0x571a50,_0x5b20e8);const _0x23465a=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4f6f46=(_0x50c04b,_0x3039f8,_0x2cfe78)=>{const _0x3bd1d0=_0x6f5ed9,_0x1056ce=_0x50c04b[_0x3bd1d0(0x176)];_0x50c04b[_0x3bd1d0(0x39d)](_0x14026c=>{const _0x580a85=_0x3bd1d0,_0x1c5b31=_0x14026c[_0x580a85(0x222)](),_0x8afde8=_0x14026c[_0x580a85(0x1d5)](),_0x5ed89a=_0x14026c['getSourceName'](),_0x50b40b=_0x14026c[_0x580a85(0x2e9)]();_0x3039f8[_0x8afde8]&&_0x3039f8[_0x8afde8]===_0x50b40b&&_0x5ed89a===_0x50b40b&&(_0x50c04b[_0x580a85(0x475)](_0x1c5b31,_0x1056ce[_0x580a85(0x2e9)](_0x8afde8)),_0x14026c[_0x580a85(0x223)](_0x1056ce['getDisplayName'](_0x8afde8)));}),_0x50c04b[_0x3bd1d0(0x39e)](_0x426cf2[_0x3bd1d0(0x23e)][_0x3bd1d0(0x435)],_0x5bee1b=>{const _0x27294e=_0x3bd1d0,_0x446cb1=_0x5bee1b[_0x27294e(0x222)](),_0x1732fb=_0x5bee1b[_0x27294e(0x1d5)](),_0x42cdf1=_0x5bee1b['getSourceName'](),_0x14dc21=_0x5bee1b[_0x27294e(0x2e9)](),_0x20fb15=_0x5bee1b[_0x27294e(0x31d)](),_0x4efc8d=_0x2cfe78(_0x42cdf1,_0x20fb15);_0x3039f8[_0x1732fb]&&_0x3039f8[_0x1732fb]===_0x42cdf1&&_0x4efc8d===_0x14dc21&&(_0x50c04b[_0x27294e(0x475)](_0x446cb1,_0x2cfe78(_0x1056ce['getDisplayName'](_0x1732fb),_0x20fb15)),_0x5bee1b[_0x27294e(0x223)](_0x1056ce['getDisplayName'](_0x1732fb)));});},_0x42ff8c=(_0x9f0a54,_0x202425,_0x5b9ec4)=>{const _0x4f604b=_0x6f5ed9;var _0x16298c,_0x2fa7ca;const {arrayFormulaCellData:_0x5468cf,unitData:_0x18ff82}=_0x202425,{unitId:_0x406889,subUnitId:_0x273d48}=_0x5b9ec4,_0x2fe276=_0x5b9ec4[_0x4f604b(0x1db)],{startColumn:_0x25d461,endColumn:_0x1f05c0}=_0x2fe276,_0x20cc3e=(_0x16298c=_0x5468cf==null?void 0x0:_0x5468cf[_0x406889])==null?void 0x0:_0x16298c[_0x273d48],_0x305761=(_0x2fa7ca=_0x18ff82==null?void 0x0:_0x18ff82[_0x406889])==null?void 0x0:_0x2fa7ca[_0x273d48],_0x5e2cf4=new Set(),_0x37c03f=_0x1f05c0-_0x25d461+0x1,{dirtyRanges:_0x5eecbb}=_0x9f0a54;if(_0x5eecbb)for(const {range:_0x576d77,sheetId:_0x294293,unitId:_0x2e0c98}of _0x5eecbb){if(_0x294293!==_0x273d48||_0x406889!==_0x2e0c98)continue;const _0x599bba=_0x6ffa6d[_0x4f604b(0x341)][_0x4f604b(0x2db)](_0x576d77,_0x2fe276);if(_0x599bba){const {startColumn:_0x14651f,endColumn:_0x18bdfa}=_0x599bba;for(let _0x41d95f=_0x14651f;_0x41d95f<=_0x18bdfa;_0x41d95f++)_0x5e2cf4['add'](_0x41d95f);}}if(_0x5e2cf4[_0x4f604b(0x317)]===_0x37c03f||_0x5e2cf4['size']===_0x37c03f)return Array[_0x4f604b(0x325)](_0x5e2cf4);if(_0x305761){const _0x47fa07=_0x305761[_0x4f604b(0x315)](),_0x1b3b0c=Object[_0x4f604b(0x1b3)](_0x47fa07);for(const _0x4f0973 of _0x1b3b0c){const _0x9a0e80=Number(_0x4f0973),_0x50906a=_0x47fa07[_0x9a0e80];if(_0x5e2cf4[_0x4f604b(0x317)]===_0x37c03f)break;for(const _0x521c64 in _0x50906a){const _0x583c60=Number(_0x521c64);_0x583c60<_0x25d461||_0x583c60>_0x1f05c0||_0x5e2cf4[_0x4f604b(0x39c)](_0x583c60);}}}if(_0x20cc3e){const _0x2e91ab=_0x20cc3e[_0x4f604b(0x315)](),_0x602073=Object['keys'](_0x2e91ab);for(const _0x3dabf8 of _0x602073){const _0x2aba4d=Number(_0x3dabf8),_0x51977d=_0x2e91ab[_0x2aba4d];if(_0x5e2cf4[_0x4f604b(0x317)]===_0x37c03f)break;for(const _0x38f522 in _0x51977d){const _0x1c93bd=Number(_0x38f522);_0x1c93bd<_0x25d461||_0x1c93bd>_0x1f05c0||_0x5e2cf4[_0x4f604b(0x39c)](_0x1c93bd);}}}return Array[_0x4f604b(0x325)](_0x5e2cf4);},_0x2775b7=_0x8d7eca=>{const _0x2e696e=_0x6f5ed9,_0x51d77f=new Set(),_0x35ffb0=[];for(const _0x483ccc of _0x8d7eca){const _0x40b061=_0x483ccc[_0x2e696e(0x297)]+','+_0x483ccc[_0x2e696e(0x272)]+','+_0x483ccc[_0x2e696e(0x477)]+','+_0x483ccc[_0x2e696e(0x3e9)];_0x51d77f['has'](_0x40b061)||(_0x51d77f[_0x2e696e(0x39c)](_0x40b061),_0x35ffb0[_0x2e696e(0x321)](_0x483ccc));}return _0x35ffb0;};let _0x1e5f48=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x5f3ff9,_0xd2602e,_0x3004e9,_0x2f9767,_0x4effe9,_0x3501aa){const _0x16b46e=_0x6f5ed9;super(),_0x47a2cd(this,_0x16b46e(0x286),new _0xcfe6e1[(_0x16b46e(0x224))](!0x0)),_0x47a2cd(this,_0x16b46e(0x3d7),_0x2d5990=>{const _0x27b06b=_0x16b46e;this[_0x27b06b(0x286)]['next'](!0x1);}),_0x47a2cd(this,_0x16b46e(0x1ed),_0x19991e=>{const _0x497434=_0x16b46e;this[_0x497434(0x286)][_0x497434(0x253)](!0x0);}),(this[_0x16b46e(0x340)]=_0x5f3ff9,this['_configService']=_0xd2602e,this[_0x16b46e(0x35d)]=_0x3004e9,this[_0x16b46e(0x42b)]=_0x2f9767,this['_globalComputingSrv']=_0x4effe9,this[_0x16b46e(0x208)]=_0x3501aa,this['_init'](),this['_initPivotDataGetListener']());}[_0x6f5ed9(0x19b)](){const _0x1d0fb4=_0x6f5ed9;this['_subjectCollectionChange'](),this[_0x1d0fb4(0x267)](),this[_0x1d0fb4(0x378)](),this['_subjectFieldsCollectionChange']();}['_initGlobalComputed'](){const _0x3ae3e0=_0x6f5ed9;this[_0x3ae3e0(0x33d)][_0x3ae3e0(0x3c0)](this[_0x3ae3e0(0x286)]),_0x426cf2['PivotTable'][_0x3ae3e0(0x406)](_0x426cf2['PivotCallbackEnum']['onQueryStart'],this[_0x3ae3e0(0x3d7)]),_0x426cf2[_0x3ae3e0(0x190)][_0x3ae3e0(0x406)](_0x426cf2[_0x3ae3e0(0x24d)][_0x3ae3e0(0x1e4)],this[_0x3ae3e0(0x1ed)]);}[_0x6f5ed9(0x46e)](){const _0x187fb6=_0x6f5ed9;this[_0x187fb6(0x237)](this['_commandService'][_0x187fb6(0x276)](_0x39ac6e=>{const _0x37c06e=_0x187fb6;_0x39ac6e['id']===_0x2361cb['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x37c06e(0x320)](_0x39ac6e[_0x37c06e(0x35c)]);})),this[_0x187fb6(0x237)](this['_commandService'][_0x187fb6(0x276)](_0x18c39f=>{const _0x1646ec=_0x187fb6;if(_0x18c39f['id']!==_0x1ca9ca['id'])return;const _0x1c9f81=_0x18c39f[_0x1646ec(0x35c)],{unitId:_0x54f0ad,subUnitId:_0x117da6,pivotTableId:_0x43a11a}=_0x1c9f81,_0x502f8a=_0x1c9f81['params'][_0x1646ec(0x41b)],_0x11bdf7={};switch(_0x502f8a){case _0x1222bc['Filter']:{const _0x24656e=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x1ee)];if(!_0x24656e)return;const {row:_0x37a286,col:_0x7b3786,cellData:_0x145849,pivotItemRenderInfoCache:_0x190663,tableFieldId:_0x3e7f6e}=_0x24656e,_0x346851=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x1c9f81['pivotTableId']);if(!_0x346851||!_0x190663)return;if(_0x3e7f6e){const _0x1e8764=_0x346851['getDataFieldByTableId'](_0x3e7f6e);if(!_0x1e8764)return;_0x11bdf7['filter']={..._0x346851[_0x1646ec(0x206)](_0x1e8764),'tableFieldId':_0x3e7f6e,'pivotTableId':_0x1c9f81['pivotTableId'],'filterInfo':_0x346851['getFilterInfo'](_0x3e7f6e),'sortInfo':_0x346851[_0x1646ec(0x433)](_0x3e7f6e),'format':_0x346851[_0x1646ec(0x36f)](_0x3e7f6e)};}else{const _0x1d7003=_0x94cdc1(_0x37a286,_0x7b3786,_0x145849,_0x346851,_0x190663),_0x6f31dc=_0x1d7003==null?void 0x0:_0x1d7003['filterId'];if(!_0x6f31dc)return;const _0x404368=_0x346851[_0x1646ec(0x3af)](_0x6f31dc);if(!_0x404368)return;_0x11bdf7[_0x1646ec(0x1ee)]={..._0x346851[_0x1646ec(0x206)](_0x404368),'tableFieldId':_0x6f31dc,'pivotTableId':_0x1c9f81[_0x1646ec(0x391)],'filterInfo':_0x346851[_0x1646ec(0x1b0)](_0x6f31dc),'sortInfo':_0x346851[_0x1646ec(0x433)](_0x6f31dc),'format':_0x346851['getFieldFormat'](_0x6f31dc)};}}break;case _0x1222bc[_0x1646ec(0x2ab)]:{const _0x4b2082=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x183)];if(!_0x4b2082)return;const {pivotTableId:_0x2e9258}=_0x4b2082,_0x3c81c1=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x442)](_0x2e9258);if(!_0x3c81c1)return;const _0x1b746c=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x2e9258),_0x4cdb1f=_0x54c6a0(_0x3c81c1,_0x2e9258,_0x1b746c);_0x11bdf7[_0x1646ec(0x183)]=_0x4cdb1f;}break;case _0x1222bc[_0x1646ec(0x45e)]:{const _0x2fa4ba=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x51fd1d=this[_0x1646ec(0x340)][_0x1646ec(0x358)](_0x54f0ad),_0x43680e=_0x51fd1d[_0x1646ec(0x3d9)](_0x43a11a);let _0x61c25e=null;const _0xe4cc4d=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a),_0x5e655b=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x232)];if(!_0x2fa4ba||!_0xe4cc4d||!_0x5e655b)return!0x1;const {dataFieldId:_0x242963,fieldArea:_0x55e859,index:_0x3fde52}=_0x5e655b;_0x2fa4ba['startCollectChangeset']();const _0x5c474d=_0x2fa4ba[_0x1646ec(0x2f4)](_0x242963,_0x55e859,_0x3fde52);if(_0x5c474d&&_0x55e859===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]){const _0x399029=_0x5c474d[_0x1646ec(0x222)](),_0x20a3fe=_0x2fa4ba[_0x1646ec(0x3af)](_0x399029);if(_0x20a3fe){const _0x421ce6=_0x20a3fe==null?void 0x0:_0x20a3fe[_0x1646ec(0x20b)]();_0x2fa4ba['setSubtotalType'](_0x5c474d[_0x1646ec(0x222)](),_0x421ce6===_0x426cf2['PivotDataFieldDataTypeEnum'][_0x1646ec(0x1f0)]?_0x426cf2['PivotSubtotalTypeEnum'][_0x1646ec(0x1df)]:_0x426cf2[_0x1646ec(0x38a)][_0x1646ec(0x2ba)]);}const _0x41aa6d=_0x2fa4ba[_0x1646ec(0x476)](),_0x36ed41=_0x2fa4ba[_0x1646ec(0x1cc)](),_0x16b289=_0x2fa4ba[_0x1646ec(0x1e0)](_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]);if(_0x41aa6d===-0x1&&_0x16b289>0x1){const _0x345c08=_0x36ed41===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x23f)]?_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)]:_0x36ed41,_0x1a6a40=_0x345c08===_0x426cf2[_0x1646ec(0x1e2)]['Row']?_0x426cf2['PivotTableFiledAreaEnum'][_0x1646ec(0x248)]:_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)];_0x2fa4ba[_0x1646ec(0x20f)](_0x345c08,_0x2fa4ba[_0x1646ec(0x1e0)](_0x1a6a40));}}else{if(_0x5c474d&&(_0x55e859===_0x426cf2[_0x1646ec(0x23e)]['Row']||_0x55e859===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)])){const _0x557dbf=_0x5c474d[_0x1646ec(0x222)](),_0x560994=_0x2fa4ba[_0x1646ec(0x3af)](_0x557dbf);if(_0x560994&&(_0x560994==null?void 0x0:_0x560994[_0x1646ec(0x20b)]())===_0x426cf2[_0x1646ec(0x38e)]['date']){const _0x4a8608=_0x560994[_0x1646ec(0x45c)]();if(_0x4a8608&&_0x2fa4ba[_0x1646ec(0x21b)](_0x5c474d[_0x1646ec(0x222)](),_0x4a8608),!_0x43680e[_0x1646ec(0x2ca)]()[_0x1646ec(0x282)](_0x57adba=>{const _0x46e04e=_0x1646ec,_0x36a5ef=_0x43680e[_0x46e04e(0x229)](_0x57adba);return _0x426cf2[_0x46e04e(0x2b7)](_0x36a5ef)?_0x36a5ef[_0x46e04e(0x478)]()['originalFieldId']===_0x242963:!0x1;})){const _0x3de8b2=_0x51fd1d['createDataFieldId'](),_0x930e53=_0x10ee0f(_0x560994[_0x1646ec(0x2cf)],_0x560994[_0x1646ec(0x2f6)]),_0x50d0b0=_0x560994[_0x1646ec(0x459)]()+'\x20-\x20'+_0x55d82e(this[_0x1646ec(0x208)],_0x930e53),_0x2f31f4=new _0x426cf2['DateGroupField'](_0x3de8b2,_0x50d0b0,_0x426cf2[_0x1646ec(0x474)](0x3),_0x560994[_0x1646ec(0x222)](),_0x930e53);_0x51fd1d[_0x1646ec(0x400)](_0x2f31f4),_0x43680e[_0x1646ec(0x2ef)](_0x3de8b2,_0x50d0b0),_0x2fa4ba[_0x1646ec(0x2f4)](_0x3de8b2,_0x55e859,(_0x3fde52!=null?_0x3fde52:0x0)+0x1),_0x61c25e=_0x2f31f4;}}}}const _0x3935a2=_0x2fa4ba[_0x1646ec(0x412)](),_0x242977=_0x2fa4ba[_0x1646ec(0x36e)]()[_0x1646ec(0x309)]();let _0x1d999a;if(_0x61c25e){_0x1d999a=_0x61c25e[_0x1646ec(0x309)]();const _0x5a5f3e=_0x61c25e['getId']();_0x43680e[_0x1646ec(0x2b9)](_0x5a5f3e);let _0x196e5d=!0x0;for(const _0x19bea5 in _0x51fd1d[_0x1646ec(0x27c)])if(_0x51fd1d[_0x1646ec(0x27c)][_0x19bea5][_0x1646ec(0x2ca)]()['includes'](_0x5a5f3e)){_0x196e5d=!0x1;break;}_0x196e5d&&_0x51fd1d[_0x1646ec(0x2e2)](_0x5a5f3e);}const _0x3b9a0e=_0x2fa4ba[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x232)]={'view':_0x242977,'changesets':_0x3b9a0e,'isEmpty':_0x3935a2,'pivotTableConfig':_0xe4cc4d,'shouldBeAddedGroupJSON':_0x1d999a};}break;case _0x1222bc[_0x1646ec(0x494)]:{const _0x135956=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x18c)];if(!_0x135956)return;const _0x12dc88=_0x135956[_0x1646ec(0x23d)],_0x3801b7=_0x135956[_0x1646ec(0x391)],{collection:_0x445c21}=this[_0x1646ec(0x340)][_0x1646ec(0x437)]({'unitId':_0x12dc88[_0x1646ec(0x322)],'sheetName':_0x12dc88[_0x1646ec(0x3c4)],'subUnitId':_0x12dc88[_0x1646ec(0x2d3)],'range':_0x12dc88[_0x1646ec(0x1db)]}),_0x24aad6=new _0x426cf2[(_0x1646ec(0x190))](_0x445c21,void 0x0,_0x3801b7),_0x1d1770=_0x24aad6['query'](),_0x4ad308=_0x24aad6['toJSON'](),_0x1a6c03=_0x445c21[_0x1646ec(0x309)]();_0x11bdf7['addPivotTable']={'view':_0x1d1770,'fieldsConfig':_0x4ad308,'collectionConfig':_0x1a6c03,'isEmpty':_0x24aad6[_0x1646ec(0x412)]()};}break;case _0x1222bc[_0x1646ec(0x488)]:{const _0x4e5fe6=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x1e3)];if(!_0x4e5fe6)return;const {fieldId:_0x54a2a5,area:_0x4dfcb5,index:_0x25e2d0}=_0x4e5fe6,_0x3df779=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x3df779)return;const _0x2a22c7=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x43a11a);if(!_0x2a22c7)return;_0x2a22c7['startCollectChangeset']();const {area:_0x61bb5,index:_0x48d37b}=_0x2a22c7[_0x1646ec(0x47c)](_0x54a2a5);if(_0x2a22c7[_0x1646ec(0x211)](_0x54a2a5,_0x4dfcb5,_0x25e2d0),_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]&&_0x2a22c7['getTableFieldById'](_0x54a2a5)[_0x1646ec(0x31d)]()===void 0x0){const _0x391aaa=_0x2a22c7[_0x1646ec(0x1f2)](_0x54a2a5);if(_0x391aaa&&_0x391aaa[_0x1646ec(0x31d)]()===void 0x0){const _0x283777=_0x2a22c7[_0x1646ec(0x3af)](_0x54a2a5);if(_0x283777){const _0x85b54a=_0x283777==null?void 0x0:_0x283777[_0x1646ec(0x20b)]();_0x2a22c7['setSubtotalType'](_0x54a2a5,_0x85b54a===_0x426cf2[_0x1646ec(0x38e)]['number']?_0x426cf2[_0x1646ec(0x38a)][_0x1646ec(0x1df)]:_0x426cf2[_0x1646ec(0x38a)]['count']);}}}const _0x51576c=_0x2a22c7[_0x1646ec(0x1cc)](),_0x61ceb8=_0x2a22c7[_0x1646ec(0x476)](),_0x4e4205=_0x2a22c7[_0x1646ec(0x1e0)](_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)])>0x1;if(_0x4e4205&&_0x61bb5===_0x4dfcb5&&(_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x248)]&&_0x51576c===_0x426cf2['PivotTableValuePositionEnum'][_0x1646ec(0x248)]||_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)]&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)])){let _0x4fc00b=_0x61ceb8;_0x48d37b<=_0x61ceb8&&_0x4fc00b--,_0x25e2d0<=_0x61ceb8&&_0x4fc00b++,_0x2a22c7[_0x1646ec(0x20f)](_0x51576c,_0x4fc00b);}else _0x4e4205&&(_0x61bb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x248)]&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x248)]||_0x61bb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)]&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)])&&_0x61ceb8>=_0x48d37b&&_0x2a22c7[_0x1646ec(0x20f)](_0x51576c,_0x61ceb8-0x1),_0x4e4205&&(_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)]['Row']&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x248)]||_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)]['Column']&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)])&&_0x61ceb8>=_0x25e2d0&&_0x2a22c7[_0x1646ec(0x20f)](_0x51576c,_0x61ceb8+0x1);const _0x5b678d=_0x2a22c7[_0x1646ec(0x36e)](),_0x5b8660=_0x2a22c7[_0x1646ec(0x412)](),_0x59e99a=_0x2a22c7[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x1e3)]={'view':_0x5b678d['toJSON'](),'changesets':_0x59e99a,'isEmpty':_0x5b8660,'pivotTableConfig':_0x3df779};}break;case _0x1222bc[_0x1646ec(0x196)]:{const _0x418255=_0x1c9f81[_0x1646ec(0x35c)]['removePivotField'];if(!_0x418255)return;const _0x421c00=_0x418255[_0x1646ec(0x409)],_0x1b14f3=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x1b14f3)return!0x1;const _0x354477=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a);if(!_0x354477)return!0x1;_0x354477[_0x1646ec(0x1bf)]();for(const _0x529512 of _0x421c00){const {area:_0x582fbf}=_0x354477[_0x1646ec(0x47c)](_0x529512);_0x582fbf===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]&&_0x354477[_0x1646ec(0x24a)](_0x529512),(_0x582fbf===_0x426cf2['PivotTableFiledAreaEnum'][_0x1646ec(0x248)]||_0x582fbf===_0x426cf2['PivotTableFiledAreaEnum']['Column'])&&_0x354477[_0x1646ec(0x189)](_0x529512),_0x354477[_0x1646ec(0x38f)](_0x529512);}const _0x2d5b1a=_0x354477[_0x1646ec(0x412)](),_0x3cd29a=_0x354477[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x42e37f=_0x354477[_0x1646ec(0x35f)]();_0x11bdf7['removePivotField']={'changesets':_0x42e37f,'pivotTableConfig':_0x1b14f3,'isEmpty':_0x2d5b1a,'view':_0x3cd29a};}break;case _0x1222bc[_0x1646ec(0x2d7)]:{const _0x377185=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x2a1)];if(!_0x377185)return;const {tableFieldId:_0x26bdbf,items:_0x19a7ed,isAll:_0x3b8436}=_0x377185,_0x6bd2e9=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x6f12da=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x6bd2e9||!_0x6f12da)return;_0x6bd2e9[_0x1646ec(0x1bf)](),_0x6bd2e9[_0x1646ec(0x3c3)](_0x26bdbf,{'type':_0x426cf2[_0x1646ec(0x23a)][_0x1646ec(0x27a)],'list':_0x19a7ed,'isAll':_0x3b8436});const _0x16f485=_0x6bd2e9[_0x1646ec(0x412)](),_0x2a32c4=_0x6bd2e9[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x5ce85a=_0x6bd2e9[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x2a1)]={'view':_0x2a32c4,'changesets':_0x5ce85a,'isEmpty':_0x16f485,'pivotTableConfig':_0x6f12da};}break;case _0x1222bc[_0x1646ec(0x2c9)]:{const _0x5cb0d0=_0x1c9f81[_0x1646ec(0x35c)]['setValuePivotFilter'];if(!_0x5cb0d0)return;const {tableFieldId:_0x3fe695,filterInfo:_0x7e6f9d}=_0x5cb0d0,_0x284a74=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x43a11a),_0x3c3bbe=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x284a74||!_0x3c3bbe)return;_0x284a74[_0x1646ec(0x1bf)](),_0x284a74[_0x1646ec(0x209)](_0x3fe695,_0x7e6f9d);const _0x27278a=_0x284a74['isEmpty'](),_0x20b5cb=_0x284a74[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x262dbd=_0x284a74[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x415)]={'view':_0x20b5cb,'changesets':_0x262dbd,'isEmpty':_0x27278a,'pivotTableConfig':_0x3c3bbe};}break;case _0x1222bc['SetPivotSort']:{const _0x132c6d=_0x1c9f81[_0x1646ec(0x35c)]['setPivotSort'];if(!_0x132c6d)return;const {tableFieldId:_0x5c9e17,info:_0x3a19ff}=_0x132c6d,_0x3e066c=this[_0x1646ec(0x340)]['getPivotTableInstance'](_0x43a11a),_0x54489b=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x3e066c||!_0x54489b)return;_0x3e066c[_0x1646ec(0x1bf)](),_0x3e066c[_0x1646ec(0x370)](_0x5c9e17,_0x3a19ff);const _0x12391f=_0x3e066c[_0x1646ec(0x412)](),_0x1836f5=_0x3e066c[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x44fec7=_0x3e066c[_0x1646ec(0x35f)]();_0x11bdf7['setPivotSort']={'view':_0x1836f5,'changesets':_0x44fec7,'isEmpty':_0x12391f,'pivotTableConfig':_0x54489b};}break;case _0x1222bc[_0x1646ec(0x2b6)]:{const _0x4b1eff=_0x1c9f81[_0x1646ec(0x35c)]['setPivotSetting'];if(!_0x4b1eff)return;const {tableFieldId:_0x55cfdf,displayName:_0x2b056f,subtotalType:_0x2419f4,format:_0x54668e}=_0x4b1eff,_0x58e51b=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x442)](_0x43a11a),_0x509295=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x58e51b||!_0x509295)return;_0x58e51b[_0x1646ec(0x1bf)](),_0x2b056f!==void 0x0&&_0x58e51b[_0x1646ec(0x475)](_0x55cfdf,_0x2b056f),_0x2419f4!==void 0x0&&_0x58e51b[_0x1646ec(0x40c)](_0x55cfdf,_0x2419f4),_0x54668e!==void 0x0&&_0x58e51b[_0x1646ec(0x21b)](_0x55cfdf,_0x54668e);const _0x3e7555=_0x58e51b[_0x1646ec(0x412)](),_0x4daf06=_0x58e51b[_0x1646ec(0x36e)]()['toJSON'](),_0x148416=_0x58e51b['endCollectChangeset']();_0x11bdf7[_0x1646ec(0x2a9)]={'changesets':_0x148416,'pivotTableConfig':_0x509295,'isEmpty':_0x3e7555,'view':_0x4daf06};}break;case _0x1222bc['UpdatePivotSource']:{const _0x1275bb=_0x1c9f81['params'][_0x1646ec(0x3ef)];if(!_0x1275bb)return;const {dataRangeInfo:_0x926219,unitId:_0x2cd134,subUnitId:_0x1d7995}=_0x1275bb,_0x12ffbd=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x2cd134,_0x1d7995,_0x43a11a),_0x529dd9=this[_0x1646ec(0x340)]['getPivotTableInstance'](_0x43a11a);if(!this[_0x1646ec(0x340)][_0x1646ec(0x3d9)](_0x2cd134,_0x43a11a)||!_0x529dd9||!_0x12ffbd)return;const _0x2ab322=this[_0x1646ec(0x340)][_0x1646ec(0x39a)](_0x2cd134,_0x43a11a,_0x926219),_0x2d04e0=this[_0x1646ec(0x340)]['getCollection'](_0x2cd134,_0x43a11a)['toJSON'](),{collection:_0x2f2bbe}=this[_0x1646ec(0x340)][_0x1646ec(0x437)]({'unitId':_0x926219['unitId'],'sheetName':_0x926219['sheetName'],'subUnitId':_0x926219[_0x1646ec(0x2d3)],'range':_0x926219[_0x1646ec(0x1db)]}),_0x162d32=_0x2f2bbe['toJSON']();_0x529dd9[_0x1646ec(0x1bf)]();const _0x4cbbdc=this[_0x1646ec(0x340)]['getDataFieldManager'](_0x2cd134)[_0x1646ec(0x41f)]()||_0x426cf2[_0x1646ec(0x460)];_0x529dd9[_0x1646ec(0x24e)](_0x19c24e=>{const _0x1d16e0=_0x1646ec,_0x113c9a=_0x19c24e[_0x1d16e0(0x1d5)]();if(!_0x2f2bbe['hasField'](_0x113c9a)){const _0xacf74=_0x2f2bbe['getDataFieldBySourceName'](_0x19c24e[_0x1d16e0(0x323)]());if(_0xacf74){_0x529dd9[_0x1d16e0(0x32a)](_0x19c24e['getId'](),_0xacf74[_0x1d16e0(0x459)](),_0xacf74[_0x1d16e0(0x222)]());const {area:_0x478a6f}=_0x529dd9[_0x1d16e0(0x47c)](_0x19c24e[_0x1d16e0(0x222)]());let _0x5931d0=_0x19c24e[_0x1d16e0(0x323)]();const _0x5a7d90=_0x19c24e[_0x1d16e0(0x2e9)]();if(_0x478a6f===_0x426cf2[_0x1d16e0(0x23e)][_0x1d16e0(0x435)]){const _0x56f758=_0x19c24e['getSubtotal']();_0x5931d0=_0x4cbbdc(_0xacf74[_0x1d16e0(0x459)](),_0x56f758);}_0x5a7d90!==_0x5931d0&&_0x529dd9['renameField'](_0x19c24e[_0x1d16e0(0x222)](),_0x5931d0);}else _0x529dd9[_0x1d16e0(0x38f)](_0x19c24e['getId']());}});const _0xcdcf27=_0x529dd9[_0x1646ec(0x412)](),_0x5b9b62=_0x529dd9['query']()[_0x1646ec(0x309)](),_0xaac1c3=_0x529dd9[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x3ef)]={'view':_0x5b9b62,'changesets':_0xaac1c3,'isEmpty':_0xcdcf27,'pivotTableConfig':_0x12ffbd,'collectionConfig':_0x162d32,'oldCollectionConfig':_0x2d04e0,'deleteIds':_0x2ab322};}break;case _0x1222bc[_0x1646ec(0x3cf)]:{const _0x4a6104=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x20f)];if(!_0x4a6104)return;const {position:_0x59b452,index:_0x49a42e}=_0x4a6104,_0x27f95c=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x27f95c)return!0x1;const _0x5e2a69=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a);if(!_0x5e2a69)return!0x1;_0x5e2a69[_0x1646ec(0x1bf)](),_0x5e2a69[_0x1646ec(0x20f)](_0x59b452,_0x49a42e);const _0x35503d=_0x5e2a69[_0x1646ec(0x412)](),_0x530681=_0x5e2a69[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x428aa6=_0x5e2a69['endCollectChangeset']();_0x11bdf7[_0x1646ec(0x20f)]={'changesets':_0x428aa6,'pivotTableConfig':_0x27f95c,'isEmpty':_0x35503d,'view':_0x530681};}break;case _0x1222bc[_0x1646ec(0x2ed)]:{const _0x1ab33e=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x26f)];if(!_0x1ab33e)return;const {tableFieldId:_0x5c6a92,collapse:_0xf0f898,item:_0x39ed7b}=_0x1ab33e,_0x63c4b9=this[_0x1646ec(0x340)]['getPivotTableInstance'](_0x43a11a),_0xe03e68=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x63c4b9||!_0xe03e68)return;_0x63c4b9['startCollectChangeset'](),_0x63c4b9['setCollapse'](_0x5c6a92,_0xf0f898,_0x39ed7b);const _0x2a6058=_0x63c4b9[_0x1646ec(0x412)](),_0x31cb8b=_0x63c4b9[_0x1646ec(0x36e)]()['toJSON'](),_0x3b7b69=_0x63c4b9[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x26f)]={'view':_0x31cb8b,'isEmpty':_0x2a6058,'pivotTableConfig':_0xe03e68,'changesets':_0x3b7b69};}break;case _0x1222bc[_0x1646ec(0x3db)]:{const _0x56e0a8=_0x1c9f81['params'][_0x1646ec(0x2a8)];if(!_0x56e0a8)return;const {pivotTableConfig:_0x1ec5b1}=_0x56e0a8,_0x28abb7=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x5e9fa4=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x28abb7||!_0x5e9fa4)return;_0x28abb7['startCollectChangeset'](),_0x1e5c72(_0x28abb7,_0x1ec5b1);const _0xe9725e=_0x28abb7[_0x1646ec(0x412)](),_0x3919d3=_0x28abb7[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x5a542=_0x28abb7[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x2a8)]={'view':_0x3919d3,'isEmpty':_0xe9725e,'pivotTableConfig':{..._0x5e9fa4,'fieldsConfig':_0x28abb7[_0x1646ec(0x309)]()},'changesets':_0x5a542};}break;case _0x1222bc[_0x1646ec(0x234)]:{const _0x145bd3=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x408)];if(!_0x145bd3)return;const _0x56a8ab=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x31f268=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x56a8ab||!_0x31f268)return;_0x56a8ab['startCollectChangeset'](),_0x37d3ad(_0x56a8ab,_0x145bd3[_0x1646ec(0x26d)]);const _0x551037=_0x56a8ab[_0x1646ec(0x36e)]()['toJSON'](),_0x57390b=_0x56a8ab[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x408)]={'view':_0x551037,'isEmpty':!0x0,'pivotTableConfig':{..._0x31f268,'fieldsConfig':_0x56a8ab[_0x1646ec(0x309)]()},'changesets':_0x57390b};}break;case _0x1222bc[_0x1646ec(0x34d)]:{const _0x4976de=_0x1c9f81[_0x1646ec(0x35c)]['addPivotTableWithConfig'];if(!_0x4976de)return;const _0x47f75f=_0x4976de[_0x1646ec(0x23d)],_0x45cb37=_0x4976de['pivotTableId'],{collection:_0x35d545}=this[_0x1646ec(0x340)][_0x1646ec(0x437)]({'unitId':_0x47f75f[_0x1646ec(0x322)],'sheetName':_0x47f75f[_0x1646ec(0x3c4)],'subUnitId':_0x47f75f[_0x1646ec(0x2d3)],'range':_0x47f75f[_0x1646ec(0x1db)]}),_0x40e967=new _0x426cf2['PivotTable'](_0x35d545,void 0x0,_0x45cb37),_0x1edfb1=_0x35d545['getFieldIds'](),{rows:_0x4bcdf7,columns:_0x4021d4,filters:_0x1748c5,values:_0x55d35d}=_0x4976de['pivotTableIndexConfig'];_0x40e967['startCollectChangeset']();for(const {field:_0x5e3d98,selectedItems:_0x5adac2}of _0x4bcdf7||[]){const _0x460d54=_0x1edfb1[_0x5e3d98];if(_0x460d54){const _0x5040ee=_0x40e967[_0x1646ec(0x2f4)](_0x460d54,_0x426cf2['PivotTableFiledAreaEnum'][_0x1646ec(0x248)]);_0x5adac2&&_0x5040ee&&_0x40e967[_0x1646ec(0x3c3)](_0x5040ee[_0x1646ec(0x222)](),{'type':_0x426cf2[_0x1646ec(0x23a)][_0x1646ec(0x27a)],'list':_0x5adac2,'isAll':!0x1});}}for(const {field:_0xb12a68,selectedItems:_0x52080c}of _0x4021d4||[]){const _0x2afe10=_0x1edfb1[_0xb12a68];if(_0x2afe10){const _0x9e516b=_0x40e967[_0x1646ec(0x2f4)](_0x2afe10,_0x426cf2[_0x1646ec(0x23e)]['Column']);_0x52080c&&_0x9e516b&&_0x40e967['setLabelFilterInfo'](_0x9e516b['getId'](),{'type':_0x426cf2['PivotFilterTypeEnum'][_0x1646ec(0x27a)],'list':_0x52080c,'isAll':!0x1});}}for(const {field:_0x111a10,selectedItems:_0x507c8d}of _0x1748c5||[]){const _0x22874a=_0x1edfb1[_0x111a10];if(_0x22874a){const _0x433221=_0x40e967['addFieldWithSourceId'](_0x22874a,_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x1f3)]);_0x507c8d&&_0x433221&&_0x40e967[_0x1646ec(0x3c3)](_0x433221['getId'](),{'type':_0x426cf2[_0x1646ec(0x23a)][_0x1646ec(0x27a)],'list':_0x507c8d,'isAll':!0x1});}}for(const {field:_0x448f8e,subTotalType:_0x388657,formatString:_0x4ee7ec}of _0x55d35d||[]){const _0x2867bf=_0x35d545['getFieldById'](_0x1edfb1[_0x448f8e]);if(!_0x2867bf)continue;const _0x6f7970=_0x1edfb1[_0x448f8e];if(_0x6f7970){const _0x33e02f=_0x40e967[_0x1646ec(0x2f4)](_0x6f7970,_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]);if(_0x33e02f){if(_0x388657!==void 0x0){_0x40e967[_0x1646ec(0x40c)](_0x33e02f[_0x1646ec(0x222)](),_0x388657);const _0x4dcb9b=this[_0x1646ec(0x340)][_0x1646ec(0x358)](_0x47f75f[_0x1646ec(0x322)])[_0x1646ec(0x41f)]()||_0x426cf2[_0x1646ec(0x460)],_0x59cdcc=_0x35d545[_0x1646ec(0x2e9)](_0x6f7970),_0x5ebc92=_0x4dcb9b(_0x59cdcc,_0x388657);_0x40e967[_0x1646ec(0x475)](_0x33e02f[_0x1646ec(0x222)](),_0x5ebc92);}else{if(_0x2867bf){const _0x1a92fa=_0x2867bf==null?void 0x0:_0x2867bf['getFieldDataType']();_0x40e967[_0x1646ec(0x40c)](_0x33e02f[_0x1646ec(0x222)](),_0x1a92fa===_0x426cf2[_0x1646ec(0x38e)][_0x1646ec(0x1f0)]?_0x426cf2['PivotSubtotalTypeEnum'][_0x1646ec(0x1df)]:_0x426cf2['PivotSubtotalTypeEnum'][_0x1646ec(0x2ba)]);}}_0x4ee7ec&&_0x40e967[_0x1646ec(0x21b)](_0x33e02f[_0x1646ec(0x222)](),_0x4ee7ec);}}}const _0xfb6ee4=_0x40e967[_0x1646ec(0x36e)](),_0x199462=_0x40e967[_0x1646ec(0x309)](),_0x49109f=_0x40e967['isEmpty'](),_0xed6084=_0x40e967[_0x1646ec(0x35f)](),_0x984b1c=_0x35d545[_0x1646ec(0x309)]();_0x11bdf7['addPivotTableWithConfig']={'view':_0xfb6ee4,'fieldsConfig':_0x199462,'collectionConfig':_0x984b1c,'isEmpty':_0x49109f,'changesets':_0xed6084};}break;case _0x1222bc[_0x1646ec(0x3f5)]:{const _0x34fce9=_0x4e094c(this[_0x1646ec(0x208)],_0x1c9f81);if(!_0x34fce9)return;const {range:_0x47b952,sourceSubUnitId:_0x5678aa,sourceUnitId:_0x5c30da,formatMap:_0x5d41d0,indexes:_0x247568}=_0x34fce9;_0x11bdf7[_0x1646ec(0x299)]={'range':_0x47b952,'sourceSubUnitId':_0x5678aa,'sourceUnitId':_0x5c30da,'formatMap':_0x5d41d0,'indexes':_0x247568};}break;}this[_0x1646ec(0x42b)][_0x1646ec(0x1d9)](_0x535bb2['id'],{'version':_0x1c9f81[_0x1646ec(0x45a)],'result':_0x11bdf7},{'onlyLocal':!0x0});}));}[_0x6f5ed9(0x378)](){const _0x27fac9=_0x6f5ed9;this[_0x27fac9(0x237)](this[_0x27fac9(0x42b)][_0x27fac9(0x276)](_0x5cd8ec=>{const _0x4564e4=_0x27fac9;if(_0x5cd8ec['id']!==_0x49280b['id'])return;const _0x33e058=_0x5cd8ec['params'];return this[_0x4564e4(0x340)][_0x4564e4(0x28a)](_0x33e058[_0x4564e4(0x3dc)]),!0x0;}));}[_0x6f5ed9(0x371)](){const _0x1db879=_0x6f5ed9;this[_0x1db879(0x340)][_0x1db879(0x17c)]['subscribe'](_0x2cafd7=>{const _0x64ca20=_0x1db879;switch(_0x2cafd7['type']){case _0x27353a[_0x64ca20(0x39c)]:_0x2cafd7[_0x64ca20(0x318)]&&_0x2cafd7['targetCellInfo']&&this['handleSourceRangeChange'](_0x2cafd7[_0x64ca20(0x1f7)],_0x2cafd7['dataRangeInfo'],_0x2cafd7['targetCellInfo']);break;case _0x27353a[_0x64ca20(0x374)]:{const {unitId:_0x4c66d0,subUnitId:_0xcaa595,token:_0x6346cd}=_0x2cafd7;_0x4c66d0&&_0xcaa595&&_0x6346cd&&this[_0x64ca20(0x481)](_0x4c66d0,_0xcaa595,_0x6346cd);}break;case _0x27353a[_0x64ca20(0x1c3)]:{const {token:_0x1866b0,oldSourceRangeInfo:_0x1c6f2a,dataRangeInfo:_0x2e5813,targetCellInfo:_0x3793b3}=_0x2cafd7,{unitId:_0x2130e7,subUnitId:_0x370d2f}=_0x1c6f2a||{};_0x2130e7&&_0x370d2f&&_0x1866b0&&this[_0x64ca20(0x481)](_0x2130e7,_0x370d2f,_0x1866b0),_0x2e5813&&_0x3793b3&&this['handleSourceRangeChange'](_0x1866b0,_0x2e5813,_0x3793b3);}break;}});}[_0x6f5ed9(0x2ad)](){const _0x3e09c7=_0x6f5ed9;this[_0x3e09c7(0x340)][_0x3e09c7(0x398)][_0x3e09c7(0x281)](_0x28d5ad=>{const _0x3cc905=_0x3e09c7;Object[_0x3cc905(0x1b3)](_0x28d5ad)['forEach'](_0x4d1157=>{const _0xdff7d7=_0x3cc905,_0x22f881=this[_0xdff7d7(0x340)]['getTargetByPivotId'](_0x4d1157);if(_0x22f881){const _0x43884b=this[_0xdff7d7(0x340)]['getPivotTableConfig'](_0x22f881==null?void 0x0:_0x22f881['unitId'],_0x22f881==null?void 0x0:_0x22f881[_0xdff7d7(0x2d3)],_0x4d1157);_0x43884b&&(this[_0xdff7d7(0x3a4)](_0x4d1157,_0x43884b['sourceRangeInfo'],_0x43884b[_0xdff7d7(0x1fb)]),this[_0xdff7d7(0x461)]([{'unitId':_0x22f881[_0xdff7d7(0x322)],'subUnitId':_0x22f881['subUnitId'],'token':_0x4d1157}]));}});});}[_0x6f5ed9(0x267)](){const _0x75a680=_0x6f5ed9;this[_0x75a680(0x340)][_0x75a680(0x306)]['subscribe'](_0x3fd7d8=>{const _0x10f61f=_0x75a680,{unitId:_0x1ac994,subUnitId:_0x51fecf,pivotTableId:_0x1d2790}=_0x3fd7d8;_0x1ac994&&_0x51fecf&&_0x1d2790&&this[_0x10f61f(0x461)]([{'unitId':_0x1ac994,'subUnitId':_0x51fecf,'token':_0x1d2790}]);});}[_0x6f5ed9(0x461)](_0x7c4392){const _0x1d04c0=_0x6f5ed9,_0xa47431={};_0x7c4392[_0x1d04c0(0x3a7)](_0x13fb4c=>{var _0x3d27a7,_0x7e0739;const {unitId:_0x5d85b4,subUnitId:_0xd1746d,token:_0x24f4cb}=_0x13fb4c;_0xa47431[_0x5d85b4]=(_0x3d27a7=_0xa47431[_0x5d85b4])!=null?_0x3d27a7:{},_0xa47431[_0x5d85b4][_0xd1746d]=(_0x7e0739=_0xa47431[_0x5d85b4][_0xd1746d])!=null?_0x7e0739:{},_0xa47431[_0x5d85b4][_0xd1746d][_0x24f4cb]=!0x0;}),this[_0x1d04c0(0x42b)][_0x1d04c0(0x1d9)](_0xe09225['id'],_0xa47431);}[_0x6f5ed9(0x481)](_0x32f483,_0x5a89ce,_0x131c57){const _0x20ad69=_0x6f5ed9;this[_0x20ad69(0x35d)][_0x20ad69(0x1fc)](_0x32f483,_0x5a89ce,[_0x131c57]);}[_0x6f5ed9(0x3a4)](_0x7890d9,_0x52b100,_0x2a70c3){const _0x3a848d=_0x6f5ed9,{unitId:_0x9a7f43,subUnitId:_0x4eadb4}=_0x52b100;this[_0x3a848d(0x35d)][_0x3a848d(0x228)](_0x2a70c3['unitId'],_0x2a70c3[_0x3a848d(0x2d3)],_0x7890d9)&&this['removeSourceRangeChange'](_0x9a7f43,_0x4eadb4,_0x7890d9);const _0x1b1278={'sheetId':_0x4eadb4,..._0x52b100};this[_0x3a848d(0x35d)][_0x3a848d(0x24c)](_0x2a70c3[_0x3a848d(0x322)],_0x2a70c3[_0x3a848d(0x2d3)],_0x7890d9,{'unitId':_0x2a70c3[_0x3a848d(0x322)],'subUnitId':_0x2a70c3['subUnitId'],'dependencyRanges':[_0x1b1278],'getDirtyData':(_0x426118,_0x3b5eb7)=>{const _0x46ad5e=_0x3a848d,_0x215416=this[_0x46ad5e(0x340)],_0x10a6a0=_0x215416[_0x46ad5e(0x292)](_0x7890d9);if(!_0x10a6a0)return _0x23465a();const {unitId:_0x1e145a,subUnitId:_0x1cc69f}=_0x10a6a0,_0x3dfbc6=_0x42ff8c(_0x426118,_0x3b5eb7,_0x52b100);if(_0x3dfbc6['length']>0x0){const _0x5ebd62=_0x215416[_0x46ad5e(0x3d9)](_0x9a7f43,_0x7890d9),_0x3488b=_0x5ebd62[_0x46ad5e(0x2ca)](),_0x19b4c6=this[_0x46ad5e(0x487)](_0x52b100['unitId'],_0x52b100[_0x46ad5e(0x2d3)],_0x3b5eb7),_0x1eb8bd={},_0x47697b=this[_0x46ad5e(0x340)][_0x46ad5e(0x358)](_0x1e145a)[_0x46ad5e(0x41f)]()||_0x426cf2[_0x46ad5e(0x460)],_0x3f7edf=[];for(const _0x3036e6 of _0x3dfbc6){const _0x30c392=_0x3036e6-(_0x52b100['range'][_0x46ad5e(0x477)]||0x0),_0x1cf84d=_0x3488b[_0x30c392];_0x3f7edf[_0x46ad5e(0x321)](_0x1cf84d),_0x1eb8bd[_0x1cf84d]=_0x5ebd62['getFieldById'](_0x1cf84d)['getName'](),_0x215416[_0x46ad5e(0x358)](_0x9a7f43)[_0x46ad5e(0x199)](_0x1cf84d,_0x52b100,_0x30c392,_0x19b4c6);}_0x5ebd62[_0x46ad5e(0x3fe)](_0x3f7edf)[_0x46ad5e(0x3a7)](_0x2c517a=>{const _0xe5cc08=_0x46ad5e,[_0x5258cd,_0x326216]=_0x2c517a,_0x342abb=_0x5ebd62[_0xe5cc08(0x229)](_0x5258cd),_0x53ad26=_0x5ebd62[_0xe5cc08(0x229)](_0x326216);_0x342abb&&_0x53ad26&&_0x342abb['refreshGroupField'](_0x53ad26);}),_0x5ebd62['updateAllDisplayName']();const _0xb8f04=_0x215416[_0x46ad5e(0x442)](_0x7890d9);if(_0xb8f04){_0x4f6f46(_0xb8f04,_0x1eb8bd,_0x47697b),_0xb8f04[_0x46ad5e(0x203)](!0x0);const _0x5ef86e=_0xb8f04[_0x46ad5e(0x36e)](),_0x1bde44=_0x215416[_0x46ad5e(0x34a)](_0x1e145a,_0x1cc69f,_0x7890d9),_0x2a8b9b=_0x215416[_0x46ad5e(0x358)](_0x9a7f43)[_0x46ad5e(0x309)]();_0x215416[_0x46ad5e(0x327)](_0x1e145a,_0x1cc69f,_0x1bdb8f[_0x46ad5e(0x2e5)],_0x7890d9,_0x5ef86e,_0x1bde44,_0x2a8b9b,!0x0);}}return this[_0x46ad5e(0x40b)](_0x1e145a,_0x1cc69f,_0x7890d9);}});}[_0x6f5ed9(0x487)](_0x1c8d99,_0x56b951,_0x5c8edf){var _0x5b6dab,_0x2caf01;const {arrayFormulaCellData:_0x58f37a,unitData:_0xbd811d}=_0x5c8edf,_0x4d5b0a=(_0x5b6dab=_0x58f37a==null?void 0x0:_0x58f37a[_0x1c8d99])==null?void 0x0:_0x5b6dab[_0x56b951],_0x14e2e2=(_0x2caf01=_0xbd811d==null?void 0x0:_0xbd811d[_0x1c8d99])==null?void 0x0:_0x2caf01[_0x56b951];return{'arrayFormulaCellDataMatrix':_0x4d5b0a,'unitDataMatrix':_0x14e2e2};}[_0x6f5ed9(0x40b)](_0x18d227,_0x220d6c,_0x462193){const _0x5a5198=_0x6f5ed9,_0x2d4a71=this['_sheetsPivotDataSourceModel'][_0x5a5198(0x3ac)](_0x18d227,_0x220d6c,_0x462193),_0xbb5991=[],_0xbe73c2=new _0x6ffa6d[(_0x5a5198(0x291))]();if(_0x2d4a71){const {rangeCache:_0x8b5aa1,matrix:_0x484b9b,oldRangeCache:_0x3b0076,oldMatrix:_0x3bbcc5}=_0x2d4a71,_0x403de3=_0x5be06b(_0x3b0076),_0x508381=_0x5be06b(_0x8b5aa1);_0xbb5991['push'](..._0x508381,..._0x403de3),_0x3bbcc5&&_0x3b0076&&_0x403de3[_0x5a5198(0x3a7)](_0x2b2c2d=>{const _0x1f8be5=_0x5a5198;for(let _0x5cdd6b=_0x2b2c2d[_0x1f8be5(0x297)];_0x5cdd6b<=_0x2b2c2d['endRow'];_0x5cdd6b++)for(let _0xa891a0=_0x2b2c2d[_0x1f8be5(0x477)];_0xa891a0<=_0x2b2c2d[_0x1f8be5(0x3e9)];_0xa891a0++)_0xbe73c2['realDeleteValue'](_0x5cdd6b,_0xa891a0);}),_0x484b9b&&_0x508381&&_0x508381[_0x5a5198(0x3a7)](_0xb0806=>{const _0x43ac9c=_0x5a5198;for(let _0x5a806a=_0xb0806[_0x43ac9c(0x297)];_0x5a806a<=_0xb0806[_0x43ac9c(0x272)];_0x5a806a++)for(let _0x37ae23=_0xb0806[_0x43ac9c(0x477)];_0x37ae23<=_0xb0806[_0x43ac9c(0x3e9)];_0x37ae23++)_0xbe73c2['setValue'](_0x5a806a,_0x37ae23,_0x484b9b[_0x43ac9c(0x3d6)](_0x5a806a,_0x37ae23));});}const _0x57f561={};return _0x57f561[_0x18d227]={[_0x220d6c]:_0x2775b7(_0xbb5991)},{'runtimeCellData':{[_0x18d227]:{[_0x220d6c]:_0xbe73c2}},'dirtyRanges':_0x57f561};}[_0x6f5ed9(0x274)](){}};_0x1e5f48=_0x27a868([_0x47713b(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x185)])),_0x47713b(0x1,_0x6ffa6d['IConfigService']),_0x47713b(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x3e6642[_0x6f5ed9(0x2f0)])),_0x47713b(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0x47713b(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x3e6642[_0x6f5ed9(0x2b1)])),_0x47713b(0x5,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)]))],_0x1e5f48);var _0x15ebe7=Object[_0x6f5ed9(0x1a9)],_0x1c1f8c=(_0x94bab4,_0x431351,_0x4b8b97,_0x2db4ee)=>{for(var _0x3bb701=_0x2db4ee>0x1?void 0x0:_0x2db4ee?_0x15ebe7(_0x431351,_0x4b8b97):_0x431351,_0x39917a=_0x94bab4['length']-0x1,_0x2216fb;_0x39917a>=0x0;_0x39917a--)(_0x2216fb=_0x94bab4[_0x39917a])&&(_0x3bb701=_0x2216fb(_0x3bb701)||_0x3bb701);return _0x3bb701;},_0x18257a=(_0x14e05d,_0x369d03)=>(_0x1671e9,_0x5d715a)=>_0x369d03(_0x1671e9,_0x5d715a,_0x14e05d);let _0x162c52=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x4a23b4,_0x261798,_0x3a94bb,_0x1f183b){const _0x48656b=_0x6f5ed9;super(),_0x47a2cd(this,'disposableCollection',new _0x6ffa6d['DisposableCollection']()),(this[_0x48656b(0x19e)]=_0x4a23b4,this[_0x48656b(0x44e)]=_0x261798,this[_0x48656b(0x283)]=_0x3a94bb,this['_sheetsPivotTableConfigModel']=_0x1f183b,this[_0x48656b(0x384)]());}[_0x6f5ed9(0x384)](){const _0x45ca8a=_0x6f5ed9;this[_0x45ca8a(0x237)](this[_0x45ca8a(0x44e)][_0x45ca8a(0x3ee)]({'getMutations':_0x417fcf=>{const _0x493c44=_0x45ca8a;if(_0x417fcf['id']===_0x2361cb[_0x493c44(0x46c)]['id']||_0x417fcf['id']===_0x2361cb[_0x493c44(0x1da)]['id']){const _0x3cfd91=[],_0x11c788=[],_0x2ca5d5=this[_0x493c44(0x283)][_0x493c44(0x467)]()['map'](_0x1e17f1=>_0x1e17f1['range']),_0x4a308b=_0x2361cb[_0x493c44(0x489)](this['_univerInstanceService']);if(!_0x4a308b)return{'redos':[],'undos':[]};const {unitId:_0x3031a6,subUnitId:_0x187ef8}=_0x4a308b,_0x338ebc={},_0x56ccb1=this[_0x493c44(0x310)]['getSubUnitPivotConfigs'](_0x3031a6,_0x187ef8);if(_0x56ccb1!=null&&_0x56ccb1[_0x493c44(0x317)])for(const [_0x4a9b16,_0x4e4e00]of _0x56ccb1){const {unitId:_0x98e679,subUnitId:_0x1b3583,row:_0x1eddeb,col:_0x50f098}=_0x4e4e00[_0x493c44(0x1fb)];_0x98e679===_0x4a308b[_0x493c44(0x322)]&&_0x1b3583===_0x4a308b['subUnitId']&&(_0x338ebc[_0x1eddeb+'-'+_0x50f098]=_0x4a9b16);}return _0x2ca5d5&&_0x4a308b&&_0x2ca5d5['forEach'](_0x2f6c6e=>{const _0x237e43=_0x493c44;_0x6ffa6d[_0x237e43(0x3ca)][_0x237e43(0x34f)](_0x2f6c6e,(_0x4b7e05,_0x444367)=>{const _0x42976c=_0x237e43,_0x338fcd=_0x4b7e05+'-'+_0x444367;if(_0x338ebc[_0x338fcd]){const _0x36893f=_0x338ebc[_0x338fcd];_0x3cfd91[_0x42976c(0x321)]({'id':_0x1d9fe9['id'],'params':{'unitId':_0x3031a6,'subUnitId':_0x187ef8,'pivotTableId':_0x36893f}});const _0x157dd2=this['_sheetsPivotTableConfigModel'][_0x42976c(0x3d9)](_0x3031a6,_0x36893f),_0x537baa=this[_0x42976c(0x310)][_0x42976c(0x34a)](_0x3031a6,_0x187ef8,_0x36893f);_0x11c788[_0x42976c(0x321)]({'id':_0x524173['id'],'params':{'unitId':_0x3031a6,'subUnitId':_0x187ef8,'pivotTableId':_0x36893f,'pivotTableConfig':_0x537baa,'collectionConfig':_0x157dd2}});}});}),{'redos':_0x3cfd91,'undos':_0x11c788};}return{'redos':[],'undos':[]};}}));}};_0x162c52=_0x1c1f8c([_0x18257a(0x0,_0x6ffa6d[_0x6f5ed9(0x491)]),_0x18257a(0x1,_0x6ffa6d['Inject'](_0x2361cb[_0x6f5ed9(0x3e1)])),_0x18257a(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3fc)])),_0x18257a(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)]))],_0x162c52);var _0x4e57fa=Object[_0x6f5ed9(0x1a9)],_0x41830b=(_0xc14c95,_0x13b6dd,_0x36622c,_0x31f026)=>{const _0x75a5a4=_0x6f5ed9;for(var _0x198ff9=_0x31f026>0x1?void 0x0:_0x31f026?_0x4e57fa(_0x13b6dd,_0x36622c):_0x13b6dd,_0x5c4f48=_0xc14c95[_0x75a5a4(0x293)]-0x1,_0x2ba545;_0x5c4f48>=0x0;_0x5c4f48--)(_0x2ba545=_0xc14c95[_0x5c4f48])&&(_0x198ff9=_0x2ba545(_0x198ff9)||_0x198ff9);return _0x198ff9;},_0x1c11d7=(_0x4a08c7,_0x262317)=>(_0x408fe9,_0x3db748)=>_0x262317(_0x408fe9,_0x3db748,_0x4a08c7);let _0x4ca569=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x374866,_0x34ec69,_0x2b8c2c,_0x17b8e1,_0x17b2b0,_0x12189c){const _0x3b5c24=_0x6f5ed9;super(),this[_0x3b5c24(0x3df)]=_0x374866,this[_0x3b5c24(0x44e)]=_0x34ec69,this[_0x3b5c24(0x208)]=_0x2b8c2c,this[_0x3b5c24(0x19e)]=_0x17b8e1,this[_0x3b5c24(0x310)]=_0x17b2b0,this[_0x3b5c24(0x367)]=_0x12189c,this['_initCommandInterceptListener']();}[_0x6f5ed9(0x1ca)](_0x18e308,_0x429371,_0x17ea99){const _0x2db0fd=_0x6f5ed9,{pageView:_0x518180,cornerView:_0x2bc208,rowView:_0x573533,colView:_0x360279,dataView:_0x53f29c}=_0x429371,_0x47317f=_0x18e308;let _0x50c0ef;if(_0x17ea99)_0x50c0ef=[..._0x297ca1(_0x47317f)];else{const _0x5a61fd=_0x5b7a08(_0x47317f,_0x518180,!0x0),_0x4e45fb=_0x518180['lastRow']>=0x0?_0x518180[_0x2db0fd(0x1f6)]+0x1:0x0,_0x17e3ac=_0x2bc208['rowCount'],_0x429822=_0x2bc208[_0x2db0fd(0x301)],_0x4be3a2=_0x5a61fd[_0x2db0fd(0x293)]>0x0?_0x523e5a:0x0,_0x39b6fb=_0x5b7a08({'row':_0x47317f['row']+_0x4e45fb+_0x4be3a2,'col':_0x47317f['col']},_0x2bc208,!0x1,!0x1),_0x27c81e=_0x5b7a08({'row':_0x47317f[_0x2db0fd(0x316)]+_0x4e45fb+_0x4be3a2+_0x17e3ac,'col':_0x47317f[_0x2db0fd(0x48d)]},_0x573533,!0x1,!0x0),_0xeacb03=_0x5b7a08({'row':_0x47317f[_0x2db0fd(0x316)]+_0x4e45fb+_0x4be3a2,'col':_0x47317f[_0x2db0fd(0x48d)]+_0x429822},_0x360279,!0x1,!0x0),_0x2969db=_0x5b7a08({'row':_0x47317f[_0x2db0fd(0x316)]+_0x4e45fb+_0x4be3a2+_0x17e3ac,'col':_0x47317f['col']+_0x429822},_0x53f29c,!0x1,!0x0);_0x50c0ef=[..._0x5a61fd,..._0x39b6fb,..._0x27c81e,..._0xeacb03,..._0x2969db];}return _0x50c0ef;}[_0x6f5ed9(0x352)](){const _0x293aee=_0x6f5ed9;this['disposeWithMe'](this[_0x293aee(0x367)][_0x293aee(0x2e7)][_0x293aee(0x1c7)](this[_0x293aee(0x367)][_0x293aee(0x2e7)][_0x293aee(0x3a6)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x2cb6db,_0x4b8b1d)=>{const _0x2f7544=_0x293aee,{cellInfo:_0x238d1f,view:_0x1ba0ec,isEmpty:_0x5ea4df}=_0x4b8b1d,_0x57bdc6=_0x238d1f,{unitId:_0x4752aa,subUnitId:_0x2dc98f}=_0x57bdc6,_0x585365=this[_0x2f7544(0x1ca)](_0x238d1f,_0x1ba0ec,_0x5ea4df),_0x33949f=this['_sheetInterceptorService'][_0x2f7544(0x339)]({'unitId':_0x4752aa,'subUnitId':_0x2dc98f,'ranges':_0x585365}),_0x199c36=_0x4b7ad7(this[_0x2f7544(0x208)],_0x4752aa,_0x2dc98f,_0x585365);_0x199c36[_0x2f7544(0x2d2)]&&(_0x33949f[_0x2f7544(0x32f)][_0x2f7544(0x321)](_0x199c36['setRangeValueRedoMutation']),_0x33949f[_0x2f7544(0x2dd)]['push'](_0x199c36[_0x2f7544(0x290)]));const _0x29be55=this[_0x2f7544(0x1c2)](_0x1ba0ec,_0x238d1f);return _0x33949f[_0x2f7544(0x32f)][_0x2f7544(0x321)](..._0x29be55[_0x2f7544(0x32f)]),_0x33949f[_0x2f7544(0x2dd)][_0x2f7544(0x321)](..._0x29be55[_0x2f7544(0x2dd)]),{'redos':_0x33949f[_0x2f7544(0x32f)],'undos':_0x33949f[_0x2f7544(0x2dd)]};}}));}[_0x6f5ed9(0x1c2)](_0x5493fc,_0x489055){const _0x1dce6d=_0x6f5ed9,{col:_0x5ea361,unitId:_0x23ea1a,subUnitId:_0x4377c7}=_0x489055,_0x276c56=[],_0x312507=[],_0xbc4390=_0x2361cb[_0x1dce6d(0x489)](this[_0x1dce6d(0x19e)],{'unitId':_0x23ea1a,'subUnitId':_0x4377c7});if(!_0x489055||!_0x5493fc||!_0xbc4390)return{'undos':_0x312507,'redos':_0x276c56};const _0x2a7dc2=this[_0x1dce6d(0x310)]['getTextInfo'](),{colView:_0x4a1f29,dataView:_0x8b219b,cornerView:_0x1a6618,rowView:_0x4653d3,formatMap:_0x1e691c}=_0x5493fc,_0x1cb7ff=_0x5baf45(_0x4a1f29,_0x2a7dc2,!0x0,_0x1e691c),_0xe688cc=_0x5baf45(_0x4653d3,_0x2a7dc2,!0x1,_0x1e691c),_0x5c3a6c=_0x48db21(_0x8b219b),_0x38bdf7=_0x240e5e(_0x1a6618),{worksheet:_0x34f1ca}=_0xbc4390;if(typeof window<'u'&&window[_0x1dce6d(0x429)]){const _0x4c2a44=_0x2675f0[_0x1dce6d(0x220)]({..._0x2f0b61['colStyle']}),_0x2d5ea4=_0x2675f0[_0x1dce6d(0x182)][_0x1dce6d(0x3fb)](_0x1cb7ff,_0x4c2a44)['width']+0x10,_0x3d9eff=_0x2675f0['FontCache'][_0x1dce6d(0x3fb)](_0x5c3a6c,_0x4c2a44)[_0x1dce6d(0x445)],_0x249efb=Math[_0x1dce6d(0x1dc)](Math[_0x1dce6d(0x387)](_0x2d5ea4,_0x3d9eff))+0x10,_0x3fb5f4=Math['floor'](_0x2675f0[_0x1dce6d(0x182)]['getTextSize'](_0xe688cc,_0x4c2a44)[_0x1dce6d(0x445)]),_0x119774=Math[_0x1dce6d(0x1dc)](_0x2675f0['FontCache'][_0x1dce6d(0x3fb)](_0x38bdf7,_0x4c2a44)['width']),_0x33c622=Math['max'](_0x3fb5f4,_0x119774,0x28)+0xc,_0xb235fa=_0x4a1f29['colCount']+_0x1a6618['colCount'],_0x415e73={},_0x20823c={};for(let _0x36fb97=_0x5ea361;_0x36fb97<_0x5ea361+_0xb235fa;_0x36fb97++){const _0x31bb1d=_0x34f1ca[_0x1dce6d(0x308)](_0x36fb97);_0x415e73[_0x36fb97]=_0x31bb1d,_0x36fb97-_0x5ea361<_0x1a6618['colCount']?_0x20823c[_0x36fb97-_0x5ea361]=_0x33c622:_0x20823c[_0x36fb97-_0x5ea361]=_0x249efb;}_0x276c56[_0x1dce6d(0x321)]({'id':_0x2361cb[_0x1dce6d(0x438)]['id'],'params':{'subUnitId':_0x4377c7,'unitId':_0x23ea1a,'ranges':[{'startColumn':_0x5ea361,'endColumn':_0x5ea361+_0xb235fa-0x1,'startRow':0x0,'endRow':_0x34f1ca[_0x1dce6d(0x471)]()-0x1}],'colWidth':_0x20823c}}),_0x312507[_0x1dce6d(0x321)]({'id':_0x2361cb[_0x1dce6d(0x438)]['id'],'params':{'subUnitId':_0x4377c7,'unitId':_0x23ea1a,'ranges':[{'startColumn':_0x5ea361,'endColumn':_0x5ea361+_0xb235fa-0x1,'startRow':0x0,'endRow':_0x34f1ca[_0x1dce6d(0x471)]()-0x1}],'colWidth':_0x415e73}});}return{'undos':_0x312507,'redos':_0x276c56};}};_0x4ca569=_0x41830b([_0x1c11d7(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x2aa)])),_0x1c11d7(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3e1)])),_0x1c11d7(0x2,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x1c11d7(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0x1c11d7(0x4,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x266)])),_0x1c11d7(0x5,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x207)]))],_0x4ca569);var _0x27ab8d=Object['getOwnPropertyDescriptor'],_0x10a28d=(_0x4abe00,_0x587935,_0x14638f,_0x1ca58e)=>{const _0x12b723=_0x6f5ed9;for(var _0x24a647=_0x1ca58e>0x1?void 0x0:_0x1ca58e?_0x27ab8d(_0x587935,_0x14638f):_0x587935,_0x1b414a=_0x4abe00[_0x12b723(0x293)]-0x1,_0x74160a;_0x1b414a>=0x0;_0x1b414a--)(_0x74160a=_0x4abe00[_0x1b414a])&&(_0x24a647=_0x74160a(_0x24a647)||_0x24a647);return _0x24a647;},_0x3d4d64=(_0x58b511,_0x4329fd)=>(_0x457df1,_0x3598b8)=>_0x4329fd(_0x457df1,_0x3598b8,_0x58b511);let _0x215d37=class extends _0x6ffa6d['Disposable']{constructor(_0x1cad82,_0x12bbf0,_0xe0b1da,_0x4f6420,_0x5f0f6c,_0x158ef4,_0x3f7ffb){const _0x572c4e=_0x6f5ed9;super(),_0x47a2cd(this,_0x572c4e(0x30a),new _0x6ffa6d['DisposableCollection']()),(this[_0x572c4e(0x208)]=_0x1cad82,this[_0x572c4e(0x419)]=_0x12bbf0,this[_0x572c4e(0x42b)]=_0xe0b1da,this[_0x572c4e(0x19e)]=_0x4f6420,this[_0x572c4e(0x310)]=_0x5f0f6c,this[_0x572c4e(0x3ad)]=_0x158ef4,this[_0x572c4e(0x44e)]=_0x3f7ffb,this[_0x572c4e(0x39f)]());}[_0x6f5ed9(0x39f)](){const _0x1636c6=_0x6f5ed9,_0x284c7a=(_0x4e3760,_0x913e7d)=>{const _0x5ac935=_0x5549,_0x4d1074=this[_0x5ac935(0x19e)][_0x5ac935(0x362)](_0x6ffa6d[_0x5ac935(0x19f)]['UNIVER_SHEET']);if(!_0x4d1074||!(_0x4d1074==null?void 0x0:_0x4d1074[_0x5ac935(0x410)](_0x913e7d)))return;this[_0x5ac935(0x30a)]['dispose']();const _0x3ba513=_0x1033f3=>this[_0x5ac935(0x28f)](_0x1033f3,_0x4e3760,_0x913e7d),_0xb62f8=this['_sheetsPivotTableConfigModel'][_0x5ac935(0x1a0)](_0x4e3760,_0x913e7d);if(!(_0xb62f8!=null&&_0xb62f8['size']))return;Array[_0x5ac935(0x325)](_0xb62f8[_0x5ac935(0x342)]())[_0x5ac935(0x38b)](_0x44784b=>{const _0x472d10=_0x5ac935,{row:_0x58fbec,col:_0x1db502}=_0x44784b[_0x472d10(0x1fb)];return _0x6ffa6d[_0x472d10(0x38c)](_0x58fbec,_0x1db502);})[_0x5ac935(0x3a7)](_0xd4e82a=>{const _0x3a71bb=_0x5ac935;this[_0x3a71bb(0x30a)]['add'](this[_0x3a71bb(0x419)][_0x3a71bb(0x373)](_0xd4e82a,_0x3ba513,_0x4e3760,_0x913e7d));});},_0x3a0842=()=>{const _0x225fdb=_0x5549,_0x464311=this[_0x225fdb(0x19e)][_0x225fdb(0x362)](_0x6ffa6d['UniverInstanceType'][_0x225fdb(0x335)]);if(_0x464311){const _0x45f4db=_0x464311[_0x225fdb(0x3bb)]();if(!_0x45f4db)return;_0x284c7a(_0x464311[_0x225fdb(0x2d1)](),_0x45f4db[_0x225fdb(0x1ac)]());}};this[_0x1636c6(0x237)](this[_0x1636c6(0x42b)][_0x1636c6(0x276)](_0x3d5c06=>{const _0x3a0031=_0x1636c6;if(_0x3d5c06['id']===_0x2361cb['SetWorksheetActiveOperation']['id']){const _0x262412=_0x3d5c06[_0x3a0031(0x35c)],_0x514ea2=_0x262412[_0x3a0031(0x2d3)],_0x116cc4=_0x262412['unitId'];if(!_0x514ea2||!_0x116cc4)return;_0x284c7a(_0x116cc4,_0x514ea2);}})),this[_0x1636c6(0x237)](this[_0x1636c6(0x310)][_0x1636c6(0x472)]['subscribe'](_0x2acc4b=>{_0x2acc4b&&_0x3a0842();})),this[_0x1636c6(0x237)](this[_0x1636c6(0x310)][_0x1636c6(0x3da)]['subscribe'](_0x39f38c=>{const _0x56fc17=_0x1636c6,_0x13202d=_0x2361cb[_0x56fc17(0x489)](this[_0x56fc17(0x19e)]);if(!_0x13202d)return;const {unitId:_0x2cb71b,subUnitId:_0x3c326d}=_0x13202d,{unitId:_0x377d7d,subUnitId:_0x2555e5}=_0x39f38c;_0x2cb71b!==_0x377d7d||_0x3c326d!==_0x2555e5||_0x284c7a(_0x2cb71b,_0x3c326d);})),_0x3a0842();}[_0x6f5ed9(0x28f)](_0x47f6e8,_0x3fbc30,_0x2d19a1){const _0x4228d1=_0x6f5ed9;switch(_0x47f6e8['id']){case _0x2361cb[_0x4228d1(0x462)]['id']:return this[_0x4228d1(0x2d9)](_0x47f6e8[_0x4228d1(0x35c)],_0x3fbc30,_0x2d19a1);}return{'redos':[],'undos':[]};}[_0x6f5ed9(0x2d9)](_0x23439a,_0x410af0,_0x104bae){const _0x524ae8=_0x6f5ed9,{fromRange:_0x302169,toRange:_0x13dd80}=_0x23439a,_0x180e4f=[],_0x23fc05=[],_0x4a25f7=_0x2361cb[_0x524ae8(0x489)](this[_0x524ae8(0x19e)]);if(!_0x4a25f7)return{'undos':_0x23fc05,'redos':_0x180e4f};if(_0x410af0!==_0x4a25f7[_0x524ae8(0x322)]||_0x104bae!==_0x4a25f7[_0x524ae8(0x2d3)])return{'undos':_0x23fc05,'redos':_0x180e4f};const _0x5e4057=this['_sheetsPivotTableConfigModel'][_0x524ae8(0x1a0)](_0x410af0,_0x104bae);if(_0x5e4057!=null&&_0x5e4057[_0x524ae8(0x317)])for(const [_0x23649c,_0x4783ea]of _0x5e4057){const {unitId:_0x5d65f9,subUnitId:_0x22fbd9,row:_0x1328be,col:_0x2913d2}=_0x4783ea[_0x524ae8(0x1fb)];if(_0x5d65f9===_0x4a25f7[_0x524ae8(0x322)]&&_0x22fbd9===_0x4a25f7['subUnitId']){const _0x9a2ad=_0x6ffa6d[_0x524ae8(0x38c)](_0x1328be,_0x2913d2);if(_0x6ffa6d[_0x524ae8(0x341)][_0x524ae8(0x21c)](_0x9a2ad,_0x302169)){const _0x15f571=_0x1328be-_0x302169['startRow'],_0x17cc2f=_0x2913d2-_0x302169[_0x524ae8(0x477)],_0x4a0486={'row':_0x13dd80['startRow']+_0x15f571,'col':_0x13dd80[_0x524ae8(0x477)]+_0x17cc2f};_0x180e4f['push']({'id':_0x34b248['id'],'params':{'unitId':_0x5d65f9,'subUnitId':_0x22fbd9,'pivotTableId':_0x23649c,'targetCellPosition':_0x4a0486}}),_0x23fc05[_0x524ae8(0x321)]({'id':_0x34b248['id'],'params':{'unitId':_0x5d65f9,'subUnitId':_0x22fbd9,'pivotTableId':_0x23649c,'targetCellPosition':{'row':_0x1328be,'col':_0x2913d2}}});const _0x3dbc24=_0x4a0486['row']-_0x1328be,_0x421dd4=_0x4a0486[_0x524ae8(0x48d)]-_0x2913d2,_0x50dbab=[],_0x286d25=this[_0x524ae8(0x3ad)][_0x524ae8(0x42e)](_0x5d65f9,_0x22fbd9,_0x23649c),_0x48c32e=_0x286d25==null?void 0x0:_0x286d25['rangesInfo'];if(_0x48c32e){Object[_0x524ae8(0x1b3)](_0x48c32e)[_0x524ae8(0x3a7)](_0x5c3cfa=>{_0x48c32e[_0x5c3cfa]['forEach'](_0x72c9a5=>{const _0xd260d2=_0x5549,_0x1b6b39={..._0x72c9a5};_0x1b6b39[_0xd260d2(0x297)]=_0x72c9a5[_0xd260d2(0x297)]+_0x3dbc24,_0x1b6b39[_0xd260d2(0x272)]=_0x72c9a5[_0xd260d2(0x272)]+_0x3dbc24,_0x1b6b39[_0xd260d2(0x477)]=_0x72c9a5['startColumn']+_0x421dd4,_0x1b6b39[_0xd260d2(0x3e9)]=_0x72c9a5[_0xd260d2(0x3e9)]+_0x421dd4,_0x50dbab[_0xd260d2(0x321)](_0x1b6b39);});});const _0x3f383d=this[_0x524ae8(0x44e)]['generateMutationsByRanges']({'unitId':_0x5d65f9,'subUnitId':_0x22fbd9,'ranges':_0x50dbab});_0x180e4f[_0x524ae8(0x321)](..._0x3f383d[_0x524ae8(0x32f)]),_0x23fc05[_0x524ae8(0x321)](..._0x3f383d[_0x524ae8(0x2dd)]);const _0x5b5b34=_0x4b7ad7(this['_injector'],_0x5d65f9,_0x22fbd9,_0x50dbab);_0x5b5b34['shouldClear']&&(_0x180e4f['push'](_0x5b5b34['setRangeValueRedoMutation']),_0x23fc05[_0x524ae8(0x321)](_0x5b5b34[_0x524ae8(0x290)]));}}}}return{'redos':_0x180e4f,'undos':_0x23fc05};}};_0x215d37=_0x10a28d([_0x3d4d64(0x0,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x3d4d64(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x1e8)])),_0x3d4d64(0x2,_0x6ffa6d[_0x6f5ed9(0x3fa)]),_0x3d4d64(0x3,_0x6ffa6d[_0x6f5ed9(0x491)]),_0x3d4d64(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)])),_0x3d4d64(0x5,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x2e3)])),_0x3d4d64(0x6,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3e1)]))],_0x215d37);var _0x230cae=Object[_0x6f5ed9(0x1a9)],_0x42a144=(_0x1d4304,_0x292d84,_0xda45e7,_0x3ccf8e)=>{const _0x413cc9=_0x6f5ed9;for(var _0xd19c86=_0x3ccf8e>0x1?void 0x0:_0x3ccf8e?_0x230cae(_0x292d84,_0xda45e7):_0x292d84,_0x16e921=_0x1d4304[_0x413cc9(0x293)]-0x1,_0xdcacd9;_0x16e921>=0x0;_0x16e921--)(_0xdcacd9=_0x1d4304[_0x16e921])&&(_0xd19c86=_0xdcacd9(_0xd19c86)||_0xd19c86);return _0xd19c86;},_0x114949=(_0x4c82e2,_0x20564e)=>(_0x177642,_0x2cacb7)=>_0x20564e(_0x177642,_0x2cacb7,_0x4c82e2);let _0x3dac46=class extends _0x6ffa6d['Disposable']{constructor(_0x262959,_0x584ff6){const _0x33776b=_0x6f5ed9;super(),this[_0x33776b(0x44e)]=_0x262959,this[_0x33776b(0x310)]=_0x584ff6,this[_0x33776b(0x3d4)]();}[_0x6f5ed9(0x3d4)](){const _0x3eaed2=_0x6f5ed9;this[_0x3eaed2(0x237)](this[_0x3eaed2(0x44e)]['interceptCommand']({'getMutations':_0x1644f3=>{const _0x94899a=_0x3eaed2;if(_0x1644f3['id']===_0x2361cb['RemoveSheetCommand']['id']){const _0x4dc38b=[],_0x321ca1=[],_0x4316c4=_0x1644f3[_0x94899a(0x35c)],{unitId:_0x5c3b07,subUnitId:_0x36e06c}=_0x4316c4;if(!_0x5c3b07||!_0x36e06c)return{'undos':_0x321ca1,'redos':_0x4dc38b};const _0x23e9f1=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x5c3b07,_0x36e06c);if(_0x23e9f1!=null&&_0x23e9f1[_0x94899a(0x317)])for(const [_0x24928b,_0x3dbab6]of _0x23e9f1){_0x4dc38b[_0x94899a(0x321)]({'id':_0x1d9fe9['id'],'params':{'unitId':_0x5c3b07,'subUnitId':_0x36e06c,'pivotTableId':_0x24928b}});const _0x3a4b47={...this[_0x94899a(0x310)][_0x94899a(0x3d9)](_0x5c3b07,_0x24928b)};_0x321ca1[_0x94899a(0x321)]({'id':_0x524173['id'],'params':{'unitId':_0x5c3b07,'subUnitId':_0x36e06c,'pivotTableId':_0x24928b,'pivotTableConfig':_0x3dbab6,'collectionConfig':_0x3a4b47}});}return{'redos':_0x4dc38b,'undos':_0x321ca1};}return{'redos':[],'undos':[]};}}));}};_0x3dac46=_0x42a144([_0x114949(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3e1)])),_0x114949(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)]))],_0x3dac46);var _0x2c8bbe=Object[_0x6f5ed9(0x1a9)],_0x171e4d=(_0x34d46c,_0x4f41d4,_0x59c5dc,_0x117078)=>{for(var _0xda118e=_0x117078>0x1?void 0x0:_0x117078?_0x2c8bbe(_0x4f41d4,_0x59c5dc):_0x4f41d4,_0x555338=_0x34d46c['length']-0x1,_0xdf9ac7;_0x555338>=0x0;_0x555338--)(_0xdf9ac7=_0x34d46c[_0x555338])&&(_0xda118e=_0xdf9ac7(_0xda118e)||_0xda118e);return _0xda118e;},_0xa12279=(_0x4da2a2,_0x4e5c60)=>(_0x518f1d,_0x49b186)=>_0x4e5c60(_0x518f1d,_0x49b186,_0x4da2a2);let _0x58ac0e=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x33f386,_0x23a15b,_0x313a24,_0x230570,_0x326c80,_0x59dd26){const _0x5b7aae=_0x6f5ed9;super(),this[_0x5b7aae(0x42b)]=_0x33f386,this[_0x5b7aae(0x3f0)]=_0x23a15b,this[_0x5b7aae(0x3ad)]=_0x313a24,this[_0x5b7aae(0x310)]=_0x230570,this[_0x5b7aae(0x19e)]=_0x326c80,this[_0x5b7aae(0x2c0)]=_0x59dd26,this[_0x5b7aae(0x3c8)](),this[_0x5b7aae(0x480)]();}['_initDataSendListener'](){const _0x25b1a5=_0x6f5ed9;this[_0x25b1a5(0x237)](this['_commandService'][_0x25b1a5(0x276)](_0x1356ce=>{const _0x416076=_0x25b1a5;if(_0x1356ce['id']!==_0x535bb2['id'])return;const _0x125301=_0x1356ce[_0x416076(0x35c)];this[_0x416076(0x3f0)]['handleAsyncResponse'](_0x125301);})),this['disposeWithMe'](this[_0x25b1a5(0x42b)][_0x25b1a5(0x276)](_0x5a9041=>{const _0x46e8c9=_0x25b1a5;if(_0x5a9041['id']===_0x5533a9['id']){const _0x44e64b=_0x5a9041[_0x46e8c9(0x35c)];if(_0x44e64b){const {unitId:_0x337b3e,subUnitId:_0x3ba21d,oldSubUnitId:_0x33fae6,pivotTableId:_0x4140e8,pivotTableConfig:_0x4a2e99,collectionConfig:_0x1f61c6}=_0x44e64b;this[_0x46e8c9(0x310)][_0x46e8c9(0x193)](_0x337b3e,_0x33fae6,_0x44e64b['pivotTableId'],null),this[_0x46e8c9(0x310)]['updateConfigCache'](_0x337b3e,_0x3ba21d,_0x4140e8,_0x4a2e99),this[_0x46e8c9(0x310)][_0x46e8c9(0x1ae)](_0x337b3e,_0x1f61c6);}}})),this[_0x25b1a5(0x237)](this[_0x25b1a5(0x42b)][_0x25b1a5(0x276)](_0x158ef9=>{const _0x8e8ffd=_0x25b1a5;if(_0x158ef9['id']!==_0x2806a0['id'])return;const _0x4c4a49=_0x2361cb['getSheetCommandTarget'](this[_0x8e8ffd(0x19e)]);if(!_0x4c4a49)return;const {unitId:_0x146dc3,subUnitId:_0x384d28}=_0x4c4a49,_0x5a8656=_0x158ef9[_0x8e8ffd(0x35c)];if(_0x5a8656['collectionConfig']&&Object[_0x8e8ffd(0x1b3)](_0x5a8656[_0x8e8ffd(0x469)])[_0x8e8ffd(0x3a7)](_0x56f8f4=>{const _0x4b17cf=_0x8e8ffd;var _0x4642ea;(_0x4642ea=_0x5a8656[_0x4b17cf(0x469)])!=null&&_0x4642ea[_0x56f8f4]&&this[_0x4b17cf(0x310)][_0x4b17cf(0x1ae)](_0x56f8f4,_0x5a8656['collectionConfig'][_0x56f8f4]);}),_0x5a8656[_0x8e8ffd(0x1a7)]){const _0x3fa3cb=_0x5a8656['single'],{unitId:_0x4898bf,subUnitId:_0x5c5f8c,view:_0x4b9c7f,pivotTableId:_0x4d9210,type:_0x2c4a64,pivotConfig:_0x167d6c}=_0x3fa3cb;if(_0x2c4a64===_0x1bdb8f['Delete'])this[_0x8e8ffd(0x3ad)][_0x8e8ffd(0x202)]({'unitId':_0x4898bf,'subUnitId':_0x5c5f8c,'pivotTableId':_0x4d9210,'type':_0x2c4a64}),this['_sheetsPivotTableConfigModel'][_0x8e8ffd(0x193)](_0x4898bf,_0x5c5f8c,_0x4d9210,null);else{const _0x5b798e=new _0x426cf2[(_0x8e8ffd(0x2c4))]();_0x5b798e[_0x8e8ffd(0x357)](_0x4b9c7f),this[_0x8e8ffd(0x310)][_0x8e8ffd(0x193)](_0x4898bf,_0x5c5f8c,_0x4d9210,_0x167d6c),this[_0x8e8ffd(0x3ad)][_0x8e8ffd(0x202)]({'unitId':_0x4898bf,'subUnitId':_0x5c5f8c,'pivotTableId':_0x4d9210,'type':_0x2c4a64,'view':_0x5b798e}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x4898bf,'subUnitId':_0x5c5f8c,'view':_0x5b798e,'pivotTableId':_0x4d9210,'type':_0x2c4a64});}}else _0x5a8656[_0x8e8ffd(0x200)]&&(_0x5a8656['batch'][_0x8e8ffd(0x3a7)](_0x25f610=>{const _0x2a9f54=_0x8e8ffd,{unitId:_0x561268,subUnitId:_0x4e3873,view:_0x2d71ef,pivotTableId:_0x325ea8,type:_0x1c812c,pivotConfig:_0x589121}=_0x25f610,_0x39abaa=new _0x426cf2[(_0x2a9f54(0x2c4))]();_0x39abaa[_0x2a9f54(0x357)](_0x2d71ef),this[_0x2a9f54(0x310)]['updateConfigCache'](_0x561268,_0x4e3873,_0x325ea8,_0x589121),this[_0x2a9f54(0x3ad)][_0x2a9f54(0x25b)]({'unitId':_0x561268,'subUnitId':_0x4e3873,'view':_0x39abaa,'pivotTableId':_0x325ea8,'type':_0x1c812c});}),this['_sheetsPivotTableConfigModel'][_0x8e8ffd(0x319)]());this[_0x8e8ffd(0x3ad)]['markDirty'](_0x146dc3,_0x384d28);}));}['registerDirtyService'](){const _0x203812=_0x6f5ed9;this[_0x203812(0x2c0)][_0x203812(0x24c)](_0xe09225['id'],{'commandId':_0xe09225['id'],'getDirtyData'(_0x3d7fa6){return{'dirtyUnitFeatureMap':_0x3d7fa6['params']};}});}};_0x58ac0e=_0x171e4d([_0xa12279(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0xa12279(0x1,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x214)])),_0xa12279(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x2e3)])),_0xa12279(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)])),_0xa12279(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0xa12279(0x5,_0x3e6642[_0x6f5ed9(0x21a)])],_0x58ac0e);var _0x4bc2a4=Object[_0x6f5ed9(0x304)],_0x490fb2=Object[_0x6f5ed9(0x1a9)],_0x251bd6=(_0x1c3324,_0x43d0e2,_0x5bd912)=>_0x43d0e2 in _0x1c3324?_0x4bc2a4(_0x1c3324,_0x43d0e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bd912}):_0x1c3324[_0x43d0e2]=_0x5bd912,_0x173390=(_0x3161d4,_0x43d378,_0x8fe92a,_0x3a6dec)=>{const _0x4caf1e=_0x6f5ed9;for(var _0x352219=_0x3a6dec>0x1?void 0x0:_0x3a6dec?_0x490fb2(_0x43d378,_0x8fe92a):_0x43d378,_0x2fd5bc=_0x3161d4[_0x4caf1e(0x293)]-0x1,_0x5446f4;_0x2fd5bc>=0x0;_0x2fd5bc--)(_0x5446f4=_0x3161d4[_0x2fd5bc])&&(_0x352219=_0x5446f4(_0x352219)||_0x352219);return _0x352219;},_0x2e4583=(_0x50b652,_0x64a3b9)=>(_0x58f9cd,_0x4e81a0)=>_0x64a3b9(_0x58f9cd,_0x4e81a0,_0x50b652),_0x244e0d=(_0x161fe8,_0x365fb1,_0x298d7b)=>_0x251bd6(_0x161fe8,typeof _0x365fb1!=_0x6f5ed9(0x1c9)?_0x365fb1+'':_0x365fb1,_0x298d7b);_0x35c787[_0x6f5ed9(0x261)]=class extends _0x6ffa6d[_0x6f5ed9(0x44a)]{constructor(_0xcc268e=_0x246221,_0x393235,_0x1fba12,_0x2c3a6e,_0x11e39f){const _0x9ef508=_0x6f5ed9;super(),this[_0x9ef508(0x441)]=_0xcc268e,this[_0x9ef508(0x208)]=_0x393235,this[_0x9ef508(0x42b)]=_0x1fba12,this[_0x9ef508(0x347)]=_0x2c3a6e,this[_0x9ef508(0x455)]=_0x11e39f;const {..._0xb2882d}=_0x6ffa6d[_0x9ef508(0x2b0)]({},_0x246221,this[_0x9ef508(0x441)]);this[_0x9ef508(0x347)][_0x9ef508(0x331)](_0xdced9d,_0xb2882d),this[_0x9ef508(0x448)](),this[_0x9ef508(0x217)]();}[_0x6f5ed9(0x217)](){const _0x112c7b=_0x6f5ed9;var _0x3ca9bb;const _0x59b009=(_0x3ca9bb=this['_config'])==null?void 0x0:_0x3ca9bb[_0x112c7b(0x265)];this[_0x112c7b(0x347)]['setConfig'](_0x838977,_0x59b009===!0x0);}[_0x6f5ed9(0x27b)](){const _0x45a2c6=_0x6f5ed9;var _0x257da8;let _0x2b7845=[];const _0x710f04=(_0x257da8=this[_0x45a2c6(0x441)])==null?void 0x0:_0x257da8[_0x45a2c6(0x265)];_0x710f04===!0x0?_0x2b7845=[[_0x35c787[_0x45a2c6(0x207)]],[_0x35c787['SheetsPivotRPCService']],[_0x58ac0e],[_0x35c787['SheetsPivotTableAdaptorModel']],[_0x35c787[_0x45a2c6(0x266)]],[_0x3dac46],[_0x162c52],[_0x215d37],[_0x4ca569]]:_0x710f04===!0x1?_0x2b7845=[[_0x35c787[_0x45a2c6(0x185)]],[_0x1e5f48]]:_0x710f04===void 0x0&&(_0x2b7845=[[_0x35c787[_0x45a2c6(0x185)]],[_0x1e5f48],[_0x35c787[_0x45a2c6(0x207)]],[_0x35c787[_0x45a2c6(0x214)]],[_0x58ac0e],[_0x35c787[_0x45a2c6(0x2e3)]],[_0x35c787['SheetsPivotTableConfigModel']],[_0x3dac46],[_0x162c52],[_0x215d37],[_0x4ca569]]),_0x2b7845[_0x45a2c6(0x3a7)](_0x5b49f1=>this[_0x45a2c6(0x208)][_0x45a2c6(0x39c)](_0x5b49f1)),[_0x1e5f48,_0x58ac0e,_0x35c787[_0x45a2c6(0x207)],_0x162c52,_0x3dac46,_0x215d37,_0x4ca569][_0x45a2c6(0x3a7)](_0x1547af=>{const _0x56e53d=_0x45a2c6;this['_injector'][_0x56e53d(0x228)](_0x1547af)&&this[_0x56e53d(0x208)][_0x56e53d(0x446)](_0x1547af);});}['_initRegisterCommand'](){const _0x1a971c=_0x6f5ed9;[_0x7aab6f,_0x59d57c,_0xc0513b,_0x56cd53,_0x3445dc,_0x4b649e,_0x9577c5,_0x137eeb,_0x553f42,_0x2a0eec,_0x259856,_0x446e9a,_0x5011ab,_0x5638db,_0x524173,_0x2fe399,_0x1d9fe9,_0x3162b8,_0xa1b196,_0x11cfc9,_0x4e8127,_0x2cf165,_0x382b64,_0x2bbb11,_0x3df2c2,_0x5129ed,_0x34b248,_0x1ca9ca,_0x535bb2,_0x2806a0,_0x960903,_0x3c682e,_0x371bfd,_0x117dd7,_0x49280b,_0x455e79,_0x10371c,_0xe09225,_0x5533a9,_0x310234,_0xe3f52a,_0x551cd2,_0x127bbd][_0x1a971c(0x3a7)](_0xa4990b=>{const _0x4be1ad=_0x1a971c;var _0x52ada2;(_0x52ada2=this['_dataSyncPrimaryController'])==null||_0x52ada2[_0x4be1ad(0x245)](_0xa4990b),this[_0x4be1ad(0x42b)]['registerCommand'](_0xa4990b);});}},_0x244e0d(_0x35c787[_0x6f5ed9(0x261)],_0x6f5ed9(0x1fd),_0x33898b),_0x244e0d(_0x35c787[_0x6f5ed9(0x261)],_0x6f5ed9(0x41b),_0x6ffa6d[_0x6f5ed9(0x19f)][_0x6f5ed9(0x335)]),_0x35c787[_0x6f5ed9(0x261)]=_0x173390([_0x6ffa6d[_0x6f5ed9(0x219)](_0x225f82[_0x6f5ed9(0x364)]),_0x2e4583(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x2e4583(0x2,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0x2e4583(0x3,_0x6ffa6d['IConfigService']),_0x2e4583(0x4,_0x6ffa6d[_0x6f5ed9(0x3b4)](_0x217075['DataSyncPrimaryController']))],_0x35c787[_0x6f5ed9(0x261)]),_0x35c787['AddPivotFieldCommand']=_0xc0513b,_0x35c787[_0x6f5ed9(0x1b9)]=_0x3162b8,_0x35c787[_0x6f5ed9(0x21f)]=_0x59d57c,_0x35c787[_0x6f5ed9(0x426)]=_0x524173,_0x35c787[_0x6f5ed9(0x1d1)]=_0x7aab6f,_0x35c787[_0x6f5ed9(0x252)]=_0x523e5a,_0x35c787[_0x6f5ed9(0x1b7)]=_0x7f0533,_0x35c787[_0x6f5ed9(0x344)]=_0x56cd53,_0x35c787[_0x6f5ed9(0x1a6)]=_0x5011ab,_0x35c787[_0x6f5ed9(0x24f)]=_0x1222bc,_0x35c787[_0x6f5ed9(0x313)]=_0x5638db,_0x35c787[_0x6f5ed9(0x43f)]=_0x1bdb8f,_0x35c787[_0x6f5ed9(0x3d1)]=_0xe09225,_0x35c787[_0x6f5ed9(0x2d6)]=_0x202116,_0x35c787[_0x6f5ed9(0x3ba)]=_0x3445dc,_0x35c787[_0x6f5ed9(0x1b4)]=_0x2cf165,_0x35c787[_0x6f5ed9(0x430)]=_0x1d9fe9,_0x35c787[_0x6f5ed9(0x372)]=_0x382b64,_0x35c787[_0x6f5ed9(0x2b2)]=_0x127bbd,_0x35c787['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0xdced9d,_0x35c787[_0x6f5ed9(0x247)]=_0x33898b,_0x35c787['SetPivotCollapseCommand']=_0x137eeb,_0x35c787[_0x6f5ed9(0x2fc)]=_0x2bbb11,_0x35c787[_0x6f5ed9(0x2c3)]=_0x117dd7,_0x35c787[_0x6f5ed9(0x2fa)]=_0x551cd2,_0x35c787['SetPivotFilterCommand']=_0x2a0eec,_0x35c787[_0x6f5ed9(0x204)]=_0x4e8127,_0x35c787[_0x6f5ed9(0x294)]=_0x5129ed,_0x35c787['SetPivotPositionMutation']=_0x34b248,_0x35c787['SetPivotSortCommand']=_0x553f42,_0x35c787[_0x6f5ed9(0x32b)]=_0x3df2c2,_0x35c787[_0x6f5ed9(0x42f)]=_0x371bfd,_0x35c787[_0x6f5ed9(0x3bc)]=_0x310234,_0x35c787[_0x6f5ed9(0x30f)]=_0xe3f52a,_0x35c787['UpdateDateGroupCommand']=_0x9577c5,_0x35c787['UpdateFieldPositionMutation']=_0x960903,_0x35c787[_0x6f5ed9(0x2a0)]=_0x259856,_0x35c787[_0x6f5ed9(0x1b5)]=_0x10371c,_0x35c787[_0x6f5ed9(0x35a)]=_0x446e9a,_0x35c787[_0x6f5ed9(0x3c5)]=_0x455e79,_0x35c787['UpdatePivotValuePositionCommand']=_0x4b649e,_0x35c787[_0x6f5ed9(0x22c)]=_0x3c682e,_0x35c787['applyChangeSet']=_0x1f747e,_0x35c787[_0x6f5ed9(0x287)]=_0x1caba2,_0x35c787[_0x6f5ed9(0x425)]=_0x2f0b61,_0x35c787[_0x6f5ed9(0x2f8)]=_0x4b7ad7,_0x35c787[_0x6f5ed9(0x3f3)]=_0x5b7a08,_0x35c787[_0x6f5ed9(0x3b7)]=_0x297ca1,_0x35c787['getFieldListByArea']=_0x389881,_0x35c787[_0x6f5ed9(0x405)]=_0x2a9e07,_0x35c787[_0x6f5ed9(0x22f)]=_0x94cdc1,_0x35c787[_0x6f5ed9(0x456)]=_0x1cbe56,_0x35c787['getPivotTableInfo']=_0x54c6a0,_0x35c787[_0x6f5ed9(0x3ab)]=_0x324cc3,_0x35c787['unionPivotViewRange']=_0x5be06b,Object[_0x6f5ed9(0x304)](_0x35c787,Symbol[_0x6f5ed9(0x1b8)],{'value':_0x6f5ed9(0x2ff)});}));function _0x5549(_0xcb4853,_0x1c9abd){const _0x12df2e=_0x12df();return _0x5549=function(_0x55497d,_0x5cad0f){_0x55497d=_0x55497d-0x176;let _0x574ff0=_0x12df2e[_0x55497d];return _0x574ff0;},_0x5549(_0xcb4853,_0x1c9abd);}function _0x12df(){const _0x1546d9=['sheets-pivot.stdDevName','getIntersects','addPivotTableWithConfig','undos','BaseGroupField','pivotMutationGenerate','_host','removePivotTable','deleteDataField','SheetsPivotTableAdaptorModel','areaInfo','Set','_resourceManagerService','interceptor','getTypeOfUnitDisposed$','getDisplayName','sheets-pivot.varpName','Tools','isDateValue','SetPivotCollapse','updatePivotTableRangeInfo','addField','IFeatureCalculationManagerService','slice','DEFAULT_WORKSHEET_ROW_COUNT','_toJSON','addFieldWithSourceId','getSheetFeatureLimit','minDate','sheets-pivot.emptyPivot.column','generateSetRangeValueMutations','DataFieldManager','SetPivotFieldsConfigCommand','sheets-pivot.dateGroup.hourMinute','SetPivotCollapseMutation','RemoveRowMutation','Column','Module','colHeaderMap','colCount','mergeWorksheetSnapshotWithDefault','rgb(240,241,243)','defineProperty','hasOwnProperty','viewData$','UniverEngineRender','getColumnWidth','toJSON','disposableCollection','Min\x20of\x20','Existing','generateNewSheetName','Var\x20of\x20','SetPivotValueFilterMutation','_sheetsPivotTableConfigModel','fetchThroughInterceptors','updateDataFieldsCollection','PivotDrillDownCommand','sortInfo','getMatrix','row','size','dataRangeInfo','setPivotInitCompleted','splice','2846380Oioptw','_dataFieldManagerCollection','getSubtotal','_pivotConfigChange$','dataFieldId','handleMoveRange','push','unitId','getSourceName','rangeCache','from','CellValueType','updateView','Varp\x20of\x20','getPivotDirtyViewInfo','updateFieldSourceInfo','SetPivotSortMutation','SetSubtotalType','UniverProEnginePivot','sheets-pivot.dateGroup.quarter','redos','message','setConfig','rangeKeyMap','grandTotal','sheet.command.update-date-group','UNIVER_SHEET','Month','sheets-pivot.averageName','call','generateMutationsByRanges','fields','Grand\x20Total','blank','_globalComputingSrv','UniverProLicense','sheet.mutation.remove-group-collection','_sheetsPivotDataSourceModel','Rectangle','values','forRow','MovePivotFieldCommand','reset','valueFilter','_configService','IResourceManagerService','SHEET_PIVOT_IN_MAIN_THREAD','getPivotTableConfig','setOptions','Year','AddPivotTableWithConfig','sheets-pivot.subTotal','foreach','@univerjs/engine-formula','Total','_initCommandInterceptListener','Product\x20of\x20','InsertColMutation','LS_CONFIG_KEY','_getAutoName','formJSON','getDataFieldManager','50087pizmje','UpdatePivotTableSourceRangeCommand','sheet.command.set-pivot-sort','params','_featureCalculationManagerService','@univerjs-pro/engine-pivot','endCollectChangeset','_ensurePivotTableRangeInfo','LifecycleService','getCurrentUnitForType','sheets-pivot.cellDateGroupDisplay.month','UniverLicensePlugin','versions','StdDevp\x20of\x20','_sheetsPivotTableService','sheet.command.add-pivot-table','getFormat','concat','getNoUsedDataFieldIds','getColumnCount','measure','query','getFieldFormat','setSortInfo','_subjectCollectionChange','RenamePivotFieldMutation','registerRefRange','delete','sheet.command.set-pivot-filter','isNaN','getDataFieldByRangeKey','_initPivotTextInfo','Minute','entries','#1d32e9','addCollection','setRange','_initSnapshot','amd','UniverCore','Style','getRangeKeyList','paths','_initClearSelectionCommandInterceptor','cornerStyle','sheets-pivot.stdDevpName','max','PivotDateGroupFieldDateTypeEnum','sheets-pivot.emptyPivot.row','PivotSubtotalTypeEnum','map','cellToRange','sheet.mutation.pivot-update-value-position','PivotDataFieldDataTypeEnum','removeField','InterceptorEffectEnum','pivotTableId','SetFilterInfo','_pivotRenderValueMatrixCache','getRangeStartEndInfo','varp','sheets-pivot.cellDateGroupDisplay.year','UpdateFieldPosition','fieldsCollectionChange$','sheets-pivot.cellDateGroupDisplay.minute','getUpdateRangeDeleteIds','getPivotDisplayConfig','add','iterateFieldDim','iterateFieldByArea','_onRefRangeChange','_viewData','setRangeKeyMap','sheets-pivot.cellDateGroupDisplay.yearMonth','_pivotTableMatrixInfo','handleSourceRangeChange','ErrorType','getInterceptPoints','forEach','sheet.mutation.set-pivot-field-subtotal-type','sheet.command.set-pivot-collapse','getStyles','transFromCellValue','getViewData','_sheetsPivotTableAdaptorModel','_configVersion$','getDataFieldByTableId','@univerjs/rpc','sheet.mutation.set-pivot-filter','colStyle','cellValue','Optional','RemoveSheetMutation','NAME','getEmptyPivotRanges','getCellMatrix','sheets-pivot.dateGroup.year','RemovePivotFieldCommand','getActiveSheet','SetPivotValueFilterCommand','rowCount','getIndexesByPathStr','sheet.mutation.get-pivot-data-local','pushComputingStatusSubject','addDirtyPivotTable','filterFields','setLabelFilterInfo','sheetName','UpdatePivotTableSourceRangeMutation','name','DataField','_initDataSendListener','STRING','Range','Count\x20of\x20','sheets-pivot.productName','sheet.mutation.pivot-update-field-source-info','info','UpdateValuePosition','sheet.command.reset-pivot-fields-config','PivotTableViewDirtyMarkOperation','updateDirtyPivotTable','_ensurePivotMap','_initRemoveSheetCommandInterceptor','Hour','getValue','_globalComputedStartHelpFunc','YearMonthDate','getCollection','pivotConfigChange$','SetPivotTableConfig','textInfo','_pivotRenderInfoCache','PivotTableChangeTypeEnum','_localeService','sheet.command.add-pivot-field','SheetInterceptorService','oldMatrix','workbook\x20is\x20not\x20found','setName','sheets-pivot.value','getPivotTableRangeInfo','getTextInfo','_ensurePivotTableMatrixInfo','endColumn','sheet.command.move-pivot-table','sheets-pivot.dateGroup.month','ΣValue','sheet.mutation.set-pivot-collapse','interceptCommand','updatePivotSource','_sheetsPivotRpcService','sheet.mutation.add-pivot-field','fontRenderExtension','getAdjustRangesPosition','CommandType','DrillDown','Delete','NORMAL','realDeleteValue','sheets-pivot.cellDateGroupDisplay.hour','ICommandService','getTextSize','SheetsSelectionsService','getMatrixValue','getGroupFieldsInfoByIds','deleteUnitId','addDataFieldWithoutUnitInfo','pivotTableConfigs','return\x20','getDataFieldByDataFieldId','Quarter','getInsertRowColMutations','registerCallbackWithEvent','NUMBER','resetPivotTable','fieldIds','Disposable','getDirtyInfo','setSubtotalType','dataStream','YearMonth','uniqueDataFieldName','getSheetBySheetId','_viewData$','isEmpty','toString','updateViewData','setValuePivotFilter','queryDirtyPivotTable','isValue','createLabelField','_refRangeService','dataFields','type','Sum\x20of\x20','valuePosition','setValue','getAutoDisplayNameFunction','sheets-pivot.emptyPivot.values','getSheetBySheetName','SHEET_PIVOT_EXCLUSIVE_ID','generateNullCell','createAsyncInterceptorKey','defaultThemeStyle','AddPivotTableMutation','fieldsConfig','PivotCellStyleTypeEnum','document','prototype','_commandService','sheet.command.update-pivot-value-position','UniverSheets','getPivotItemRenderInfoCache','SetPivotSubtotalTypeMutation','RemovePivotTableMutation','IConfigService','bind','getSortInfo','RANGE_TYPE','Value','sheet.mutation.rename-pivot-field','createCollectionWithDataRange','SetWorksheetColWidthMutation','getSheets','getPivotTableModelConfig','#e6ebfb','rangeKey','sheet.mutation.remove-pivot-table','valueIndex','PivotTableOperationEnum','_ensurePivotItemRenderValueMatrixCache','_config','getPivotTableInstance','substring','filterInfo','width','get','headerMap','_initRegisterCommand','UpdatePivotSource','Plugin','initDataRanges','UniverSheetsFilter','rowInfo','_sheetInterceptorService','numberToABC','cornerInfo','sequenceExecute','_ensurePivotItemRenderInfoCache','isDateGroupFieldJSON','Column\x20','_dataSyncPrimaryController','getPivotInfoByLicense','InterceptorManager','colInfo','getName','version','addExclusiveRange','getformat','_deleteModelCache','AddPivotField','_createExclusiveRange','getAutoDisplayName','triggerDirtyFeature','MoveRangeCommand','4240254QKNnTd','3819568QwWRpq','sheet.mutation.set-pivot-option','sourceName','getCurrentSelections','sheets-pivot.cellDateGroupDisplay.quarter','collectionConfig','@univerjs/sheets','stringify','ClearSelectionContentCommand','getUnit','_initPivotDataGetListener','@univerjs-pro/license','pushUndoRedo','getRowCount','pivotInitCompleted$','stdDevp','generateHexNumber','renameField','getValueIndex','startColumn','getFieldInfo','getLastCol','sheets-pivot.countName','getTargetByPivotTableId','getFieldPositionInfoById','IExclusiveRangeService','sheet.mutation.set-pivot-format','sheet.command.update-pivot-table-source-range','registerDirtyService','removeSourceRangeChange','updateRangeKeyMap','sheets-pivot.dateGroup.hour','sheet.command.set-pivot-fields-config','SetSortInfo','error','getMatrixFromRunTimeData','MovePivotField','getSheetCommandTarget','getPivotTableMatrixInfo','options','#FFFFFF','col','min','getLastRow','ptn','IUniverInstanceService','subtotal','fetchThroughAsyncInterceptors','AddPivotTable','dataFieldsCollection','SetPivotSort','MIN_SAFE_INTEGER','string','sheets-pivot.dateGroup.date','valid','collectionChange$','markDirty$','dimension','sheets-pivot.grandTotal','SetFieldFormat','oldRangeInfo','FontCache','panel','AddField','SheetsPivotDataSourceModel','IUndoRedoService','custom','existing','removeValueFilterInfo','getRangeKey','columnFields','addPivotTable','UniverEngineFormula','generateRandomId','sheets-pivot.cellDateGroupDisplay.date','PivotTable','rowHeaderMap','sheets-pivot.maxName','updateConfigCache','matrix','updatePivotTableMatrixInfo','RemovePivotField','exports','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','refreshDataField','sheet.command.pivot-drill-down','_init','Subtotal','node','_univerInstanceService','UniverInstanceType','getSubUnitPivotConfigs','pageStyle','getMonth','RenameField','sheets-pivot.minName','rowRanges','MovePivotTableCommand','single','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getOwnPropertyDescriptor','_pivotTableRangeInfo','PivotErrorTypeEnum','getSheetId','tableFieldId','updateCollectionConfig','rangesInfo','getFilterInfo','leftOffset','_deletePivotTableInstanceCache','keys','RemovePivotFieldMutation','UpdatePivotFieldSourceInfoMutation','Add','DEFAULT_PIVOT_NUMBER','toStringTag','AddPivotFieldMutation','Values','RemoveSheetsFilterMutation','sheet.operation.pivot-table-view-formula-mark-dirty','NUM','sheets-pivot.cellDateGroupDisplay.yearQuarter','startCollectChangeset','NO_COMMERCIAL','addCollectionByJSON','getAutoFitColumnsMutations','update','rowFields','FORCE_STRING','_markDirty$','intercept','_collectionConfigModel','symbol','_getPivotAppliedRanges','sheet.mutation.set-pivot-sort-info','getValuePosition','addRecord','30015232ADujsL','average','value','AddPivotTableWithConfigCommand','_pivotTableInstanceCache','getIntersectsPivotTable','isArray','getDataFieldId','adjustSheetCellData','colRanges','displayName','executeCommand','ClearSelectionAllCommand','range','floor','createDataFieldId','getFullYear','sum','getFieldCountByArea','FieldsCollection','PivotTableValuePositionEnum','movePivotField','onQueryEnd','sheet.mutation.send-pivot-data-local','asObservable','sheet.mutation.add-group-collection','RefRangeService','_textInfo','SetRangeValuesMutation','column','rgb(255,255,255)','_globalComputedEndHelpFunc','filter','getOriginFieldId','number','getCellRaw','getTableFieldById','Filter','@univerjs/sheets-filter','RemoveField','lastRow','token','getDate','@univerjs/core','isBottomTotal','targetCellInfo','remove','pluginName','createValueField','refreshGroupField','batch','sheets.tabs.sheet','clearRenderCache','setDirty','SetPivotFilterMutation','sheet.mutation.update-date-group','getDataFieldItemInfo','SheetsPivotTableService','_injector','setValueFilterInfo','InsertSheetMutation','getFieldDataType','function','needSameDeleteModel','contains','updateValuePosition','subTotalStyle','updateFieldPosition','HourMinute','SetSheetsFilterRangeMutation','SheetsPivotRPCService','split','MUTATION','_initConfig','sheets-pivot.dateGroup.yearMonthDate','DependentOn','IActiveDirtyManagerService','setFieldFormat','intersects','refreshData','createInterceptorKey','AddPivotTableCommand','getFontStyleString','rxjs','getId','setSourceName','BehaviorSubject','_initUnitDisposed','CustomCommandExecutionError','dataStyle','has','getFieldById','broadcastCollectionChange','_updateRenderEmptyCache','UpdateValuePositionMutation','getPivotTableCellData','dateType','getPivotCellInfo','getInfo','setPivotSort','addPivotField','asyncInterceptor','ResetPivotTable','@univerjs/engine-render','sheet.mutation.add-pivot-table','disposeWithMe','NotFunction','(Blank)','PivotFilterTypeEnum','sheets-pivot.countNumsName','tuple','sourceRangeInfo','PivotTableFiledAreaEnum','None','Average\x20of\x20','sheets-pivot.cellDateGroupDisplay.yearMonthDate','format','New','level','registerSyncingMutations','GrandTotal','SHEET_PIVOT_TABLE_PLUGIN','Row','lastCol','removeValueFilterInfoByValueFieldId','Injector','register','PivotCallbackEnum','iterateField','PivotDisplayDataType','_updateModelCache','result','BLANK_ROW_COUNT','next','InsertSheetUndoMutationFactory','ReleaseType','updateConfig','_fieldsCollectionChange$','COMMAND','clearExclusiveRangesByGroupId','sheets-pivot.blank','updateRenderCache','_viewUpdate$','unshift','random','collapseInfo','_lifecycleService','UniverSheetsPivotTablePlugin','originTargetInfo','forValue','deepClone','notExecuteFormula','SheetsPivotTableConfigModel','_subjectViewChange','7BvHlMJ','fromJSON','sheets-pivot.emptyPivot.filter','removePivotField','sheets-pivot.config','resetArea','excelDateToUnixMilliseconds','setPivotCollapse','BadReference','updateViewInfo','endRow','getHeaderMapItem','dispose','_initLocale','onCommandExecuted','PivotViewCellValueTypeEnum','_pivotInitCompleted$','REF','ManualFilter','onStarting','collections','Div0','markDirty','#f4f4f5','getColCount','subscribe','some','_sheetsSelectionsService','1064134VSEiUz','8514918HfedKn','_globalSubject','canUsePivot','SetOptions','_queryingMap','setTextInfo','AsyncInterceptorManager','MAX_SAFE_INTEGER','getSubUnitPivotRenderCache','pbt','_refRangeHandle','setRangeValueUndoMutation','ObjectMatrix','getTargetByPivotId','length','SetPivotOptionMutation','sheet.mutation.send-pivot-config-local','unshiftString','startRow','_initViewModelBySheetInterceptor','drillDown','Expand','removeDataField','find','Inject','Date','getFilterFieldIdByIndex','UpdatePivotFieldSettingCommand','setPivotFilter','dataFieldManagerConfig','getConfig','YearQuarter','valueFields','isFeatureAuthorizedWithinTime','getRangeData','setPivotTableConfig','setPivotSetting','LocaleService','Panel','_updatePivotTableInstanceCache','_subjectFieldsCollectionChange','CELL_CONTENT','Subject','merge','GlobalComputingStatusService','ResetPivotFieldsConfigCommand','setPivotTable','data','_exclusiveRangeService','SetPivotSetting','isDateGroupField','sheets-pivot.dateGroup.yearMonth','deleteField','count','DEFAULT_WORKSHEET_COLUMN_COUNT','set','parseInt','getPivotTableIdByCell','_model','_activeDirtyManagerService','removeCollections','sheets-pivot.dateGroup.yearQuarter','SetPivotFieldFormatMutation','PivotView','rangeType','removeCollectionImp','InsertRowMutation','registerPluginResource','SetValuePivotFilter','getFieldIds','_collectionChange$','UniverRpc','stdDev','_requestResolvers','maxDate','numfmt','getUnitId','shouldClear','subUnitId','pageRanges','_ensureViewDataMap','PositionType','SetPivotFilter','updateAllDisplayName','getRefRangeMutationsByMoveRange'];_0x12df=function(){return _0x1546d9;};return _0x12df();}
1
+ function _0x3ff9(_0x360893,_0x536edd){const _0x499655=_0x4996();return _0x3ff9=function(_0x3ff909,_0x32c1d3){_0x3ff909=_0x3ff909-0x16f;let _0x247d1a=_0x499655[_0x3ff909];return _0x247d1a;},_0x3ff9(_0x360893,_0x536edd);}function _0x4996(){const _0x4b7243=['isErrorValue','CommandType','oldMatrix','_collectionConfigModel','disposeWithMe','headerMap','push','PivotTableChangeTypeEnum','#1d32e9','valueFilter','_ensurePivotMap','getSheetBySheetName','_globalComputedEndHelpFunc','sheet.mutation.send-pivot-data-local','PivotSubtotalTypeEnum','getTableFieldById','deleteUnitId','FieldsCollection','setPivotTable','updateView','collapseInfo','deepClone','PivotTableFiledAreaEnum','UniverEngineFormula','register','SetPivotCollapse','UniverInstanceType','removeCollectionImp','defineProperty','drillDown','_configVersion$','Date','max','sheet.mutation.send-init-pivot-text-local','setFieldFormat','registerCallbackWithEvent','Column\x20','UniverRpc','UniverLicensePlugin','fromJSON','delete','setDirty','sourceRangeInfo','splice','IUniverInstanceService','Subtotal','setValue','SetPivotSort','registerCommand','mergeWorksheetSnapshotWithDefault','numberToABC','rxjs','SheetInterceptorService','SheetsPivotTableAdaptorModel','rangeType','getPivotTableCellData','getAutoFitColumnsMutations','symbol','_initViewModelBySheetInterceptor','_pivotTableMatrixInfo','getCurrentUnitForType','SetRangeValuesMutation','isDateGroupField','markDirty','sheet.mutation.send-pivot-view-local','_configService','getPivotTableInstance','generateNewSheetName','replace','LocaleService','handleSourceRangeChange','_subjectViewChange','_featureCalculationManagerService','getFieldIds','sheet.command.add-pivot-table','getFilterFieldIdByIndex','_sheetsPivotTableConfigModel','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','pushComputingStatusSubject','sheet.mutation.pivot-update-field-source-info','filterFields','sheets-pivot.cellDateGroupDisplay.hour','getStyles','updateConfig','values','sheets-pivot.cellDateGroupDisplay.hourMinute','SetPivotFilter','_univerInstanceService','RefRangeService','SetPivotCollapseMutation','getIntersects','getNoUsedDataFieldIds','refreshDataField','_refRangeService','getPivotPerformCheck','contains','getPivotItemRenderInfoCache','FORCE_STRING','getFontStyleString','setTextInfo','_lifecycleService','pivotMutationGenerate','paths','hasField','SetRangeValuesUndoMutationFactory','onQueryStart','PivotMultipleValueId','updateAllDisplayName','single','body','_pivotRenderInfoCache','addDataFieldWithoutUnitInfo','dataRangeInfo','getDataFieldBySourceName','_globalSubject','ClearSelectionAllCommand','Delete','YearQuarter','hasOwnProperty','getTargetByPivotTableId','pivotConfigChange$','subtotal','count','sheets-pivot.cellDateGroupDisplay.minute','setValuePivotFilter','sheets-pivot.stdDevpName','Grand\x20Total','Set','Varp\x20of\x20','stdDevp','MUTATION','sheet.command.update-pivot-table-source-range','CellValueType','LS_CONFIG_KEY','colRanges','getMatrixFromRunTimeData','generateRandomId','addCollection','_exclusiveRangeService','getOwnPropertyDescriptor','PivotTableOperationEnum','fieldsCollectionChange$','updateCollectionConfig','setSubtotalType','NUMBER','SetPivotFilterCommand','rangesInfo','Subject','_deletePivotTableInstanceCache','createCollectionWithDataRange','sheets-pivot.dateGroup.date','getPivotTableConfig','_createExclusiveRange','updatePivotSource','removeField','@univerjs-pro/engine-pivot','fields','DEFAULT_WORKSHEET_ROW_COUNT','data','getDataFieldId','#b2b2b2','_commandService','parse','removeValueFilterInfo','NotName','SetPivotFieldsConfigCommand','Style','Collapse','_dataSyncPrimaryController','AddPivotTableWithConfigCommand','defaultThemeStyle','subUnitId','getSortInfo','_initGlobalComputed','configVersion$','Values','cornerStyle','numfmt','startRow','SetPivotFilterMutation','UniverCore','getId','sheets-pivot.minName','getPivotDisplayConfig','cornerRanges','addExclusiveRange','SetValuePivotFilter','Plugin','Min\x20of\x20','registerSyncingMutations','executeCommand','getSheets','substring','_dataFieldManagerCollection','sheet.command.set-pivot-value-filter','sheet.mutation.send-pivot-config-local','SetOptions','_subjectCollectionChange','viewUpdate$','update','UniverSheets','_updateModelCache','getMatrixValue','@univerjs/engine-render','leftOffset','transFromCellValue','toString','oldRangeInfo','_viewData$','UniverSheetsFilter','ReleaseType','iterateField','UpdateSource','getOriginFieldId','collection','shouldClear','pivotTableId','addPivotTable','_pivotConfigChange$','dataFields','row','SheetsSelectionsService','_pivotInitCompleted$','_onRefRangeChange','PivotErrorTypeEnum','UpdatePivotSource','RemovePivotTableMutation','find','from','Injector','rowStyle','getDataFieldByRangeKey','pageStyle','AddPivotTable','@univerjs-pro/license','MoveRangeMutation','_pivotTableRangeInfo','SetPivotValueFilterCommand','iterateFieldByArea','getFieldCountByArea','SetPivotSortMutation','renameField','getDisplayName','type','UniverSheetsPivotTablePlugin','RenamePivotFieldMutation','dataFieldManagerConfig','keys','charCodeAt','addField','_injector','Optional','setValueFilterInfo','updateConfigCache','NUM','getPivotTableModelConfig','colCount','SheetsPivotDataSourceModel','#FFFFFF','NO_COMMERCIAL','RemoveSheetsFilterMutation','519EzrGQE','DataFieldManager','_sheetInterceptorService','MovePivotField','SetWorksheetActiveOperation','forValue','_ensurePivotItemRenderValueMatrixCache','setPivotSort','markDirty$','updateViewInfo','asyncInterceptor','_initRemoveSheetCommandInterceptor','collectionChange$','DIV_BY_ZERO','min','sheets-pivot.varpName','removeSourceRangeChange','(Blank)','PivotCellStyleTypeEnum','_localeService','unshift','valueIndex','_generateUniqueVersion','setPivotInitCompleted','versions','YearMonth','sheet.mutation.remove-group-collection','PivotDateGroupFieldDateTypeEnum','@univerjs/sheets','RemoveRowMutation','disposableCollection','isBottomTotal','sheets-pivot.dateGroup.yearQuarter','deleteField','setRangeValueUndoMutation','sheet.command.move-pivot-table','SheetsPivotTableConfigModel','NAME','updateValuePosition','Quarter','#f4f4f5','createInterceptorKey','colInfo','Minute','getUnitId','collectionConfig','UniverEngineRender','setRange','getName','range','getPivotDirtyViewInfo','colHeaderMap','string','_getAutoName','some','sheet.command.set-pivot-sort','@univerjs/core','getGroupFieldsInfoByIds','toJSON','getSubtotal','deleteDataField','_requestResolvers','getValueFilterInfos','matrix','updateViewData','canUsePivot','interceptor','object','getFieldPositionInfoById','amd','sheets-pivot.columnName','sheets-pivot.countNumsName','SetPivotSubtotalTypeMutation','sheets-pivot.emptyPivot.filter','PivotTableViewDirtyMarkOperation','#e6ebfa','_init','getRowCount','sheet.mutation.set-pivot-collapse','_sheetsPivotRpcService','iterateFieldDim','getColumnCount','triggerDirtyFeature','setLabelFilterInfo','targetCellInfo','GrandTotal','_refRangeHandle','getSubUnitPivotRenderCache','displayName','966968TlhiuS','excelDateToUnixMilliseconds','SetSortInfo','getConfig','sheets-pivot.emptyPivot.column','UpdateDateGroupCommand','floor','length','Div0','pivotTableConfigs','sheet.mutation.rename-pivot-field','isDateValue','createDataFieldId','removeCollections','rangeKey','map','_pivotTableInstanceCache','getTextInfo','unionPivotViewRange','redos','ResetPivotTable','setPivotTableConfig','number','AddField','registerRefRange','PivotDrillDownCommand','_fieldsCollectionChange$','_activeDirtyManagerService','updateFieldPosition','isValue','SheetsPivotTableService','Range','message','getValue','getSheetId','UpdateValuePosition','col','_initDataSendListener','sheets-pivot.config','_sheetsPivotTableService','InsertSheetUndoMutationFactory','rowHeaderMap','STRING','7158EjBVEV','startCollectChangeset','RemoveSheetMutation','updateDataFieldsCollection','isBaseGroupField','InsertSheetCommand','level','getSubUnitPivotConfigs','exports','_globalComputedStartHelpFunc','\x20-\x20','_textInfo','getTextSize','getSheetCommandTarget','toStringTag','SHEET_PIVOT_TABLE_PLUGIN','lastRow','sheet.mutation.pivot-update-value-position','SetWorksheetColWidthMutation','measure','sheets-pivot.dateGroup.monthDate','getFieldDataType','SHEET_PIVOT_EXCLUSIVE_ID','dimension','isDateGroupFieldJSON','getHeaderMapItem','columnFields','COLUMN','getAdjustRangesPosition','Sum\x20of\x20','Month','_viewUpdate$','stringify','PositionType','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sourceName','dataFieldId','RemoveField','REF','setOptions','createValueField','getUpdateRangeDeleteIds','sheet.command.update-pivot-value-position','format','getTargetByPivotId','asObservable','pbt','endCollectChangeset','_host','panel','Year','MIN_SAFE_INTEGER','setPivotCollapse','width','IActiveDirtyManagerService','sheets-pivot.cellDateGroupDisplay.date','addPivotField','SetPivotCollapseCommand','UpdatePivotTableSourceRangeMutation','BehaviorSubject','leafStyle','interceptCommand','sum','SetPivotTableConfig','isColMultiMeasure','sheet.mutation.update-pivot-table-source-range','merge','PivotFilterTypeEnum','getPivotTableInfo','removePivotField','_getPivotAppliedRanges','sheets-pivot.cellDateGroupDisplay.yearMonthDate','resetPivotTable','getColCount','query','getFieldFormat','YearMonthDate','parseInt','remove','queryDirtyPivotTable','set','sheet.mutation.set-pivot-option','sheet.mutation.set-pivot-field-subtotal-type','getRangeData','_model','sheetName','lastCol','getPivotInfoByLicense','PivotDisplayDataType','getMatrix','setSortInfo','sheets-pivot.dateGroup.minute','result','UpdateFieldPositionMutation','forEach','size','prefix','_initPivotTextInfo','dataFieldsCollection','getPivotTableIdByCell','BadReference','StdDevp\x20of\x20','fontRenderExtension','formJSON','movePivotField','RemovePivotField','unitId','batch','updateDirtyPivotTable','SetFilterInfo','getMonth','average','addCollectionByJSON','PivotDataFieldDataTypeEnum','InsertColMutation','sheets-pivot.value','pivotPerformCheck','AddPivotFieldCommand','params','addDirtyPivotTable','sheets-pivot.maxName','cornerInfo','pluginName','sheet.mutation.get-pivot-data-local','Column','_initSnapshot','StdDev\x20of\x20','1498941eIZprC','getIndexesByPathStr','_updatePivotTableInstanceCache','UNIVER_SHEET','MovePivotTableCommand','PIVOT_MUTATION_GENERATE','_initLocale','getDataFieldByTableId','setPivotSetting','COMMAND','getCellRaw','pivotInitCompleted$','uniqueDataFieldName','refreshData','isFeatureAuthorizedWithinTime','Panel','_deleteModelCache','function','GlobalComputingStatusService','getformat','column','sheets-pivot.varName','SetPivotOptionMutation','viewData$','_config','setPivotFilter','rgb(240,241,243)','306090nhzfJr','generateHexNumber','countNums','Row','getPivotTableRangeInfo','isDate','cellValue','updateFieldSourceInfo','get','Tools','addRecord','SetCollapse','_initRegisterCommand','getSubUnitPivotMatrix','InterceptorEffectEnum','getAutoDisplayNameFunction','CustomCommandExecutionError','NotFunction','sheet.command.reset-pivot-fields-config','reset','foreach','dispose','onCommandExecuted','filterInfo','AddPivotTableWithConfig','random','_globalComputingSrv','rowInfo','_resourceManagerService','getDataFieldManager','_sheetsSelectionsService','addPivotTableWithConfig','UpdatePivotFieldSettingCommand','return\x20','@univerjs/sheets-filter','setName','DEFAULT_WORKSHEET_COLUMN_COUNT','sheets-pivot.dateGroup.hourMinute','var','Value','sheet.command.move-pivot-field','getRefRangeMutationsByMoveRange','realDeleteValue','maxDate','ICommandService','getCollection','subTotalStyle','includes','intersects','@univerjs/engine-formula','_initConfig','sheets.tabs.sheet','DateGroupField','getInsertRowColMutations','handleMoveRange','IConfigService','getPivotCellInfo','getFieldById','sheets-pivot.emptyPivot.row','setCollapse','_collectionChange$','updatePivotTableMatrixInfo','SetPivotSetting','entries','MovePivotFieldCommand','sheet.command.set-pivot-fields-config','MonthDate','tableFieldId','_ensurePivotTableRangeInfo','next','minDate','UpdatePivotTableSourceRangeCommand','DependentOn','Count\x20of\x20','_viewData','sheet.command.set-pivot-collapse','broadcastCollectionChange','DrillDown','ObjectMatrix','NORMAL','sheets-pivot.dateGroup.year','RemoveSheetCommand','removeValueFilterInfoByValueFieldId','sheet.mutation.remove-pivot-field','AddPivotField','endColumn','cellToRange','IExclusiveRangeService','_updateRenderEmptyCache','pageRanges','originTargetInfo','getLastRow','InsertSheetMutation','rowRanges','rangeKeyMap','RenameField','5kALkro','_initUnitDisposed','generateSetRangeValueMutations','valuePosition','onStarting','_subjectFieldsCollectionChange','existing','SetFieldFormat','_sheetsPivotTableAdaptorModel','getRangeKey','generateMutationsByRanges','MAX_SAFE_INTEGER','Filter','sheet.mutation.add-group-collection','_initCommandInterceptListener','serializeRangeWithSpreadsheet','forRow','AddPivotFieldMutation','initDataRanges','getAutoDisplayName','stdDev','getValueIndex','RzqEL4uq\x20TaE18iL4uq(K4EaqFa,\x20izeK4EWa8)\x20{\x20\x20\x20\x20L18\x20{\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20K4EaqFaZqRu2D1Lp11D8\x20=\x20K4EaqFa.FiK4L(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20u14g4qvaFFDga\x20=\x20jSxV.iD1Fa(DLue(K4EaqFaZqRu2D1Lp11D8[G]));\x20\x20\x20\x20\x20\x20\x20\x204R\x20(!u14g4qvaFFDga.zT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u14g4qvaFFDga.zT\x20=\x20Vzcea1(K4EaqFaZqRu2D1Lp11D8[m]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x204Ffu1na1\x20=\x20L8iauR\x20fu1na17KueDKSEuia\x20!==\x20\x27zqTaR4qaT\x27\x20&&\x20FaKR\x204qFLDqEauR\x20fu1na17KueDKSEuia;\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20EuqLawL\x20=\x204Ffu1na1\x20?\x20FaKR\x20:\x2004qTu0;\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20caFFDgafu1T\x20=\x20EuqLawL.__QDFaYm__.iD1Fa(K4EaqFaZqRu2D1Lp11D8[G]);\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20caFFDga\x20=\x20EuqLawL.__saw__.FL14qg4R8(caFFDgafu1T);\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20F4gqDLz1afu1T\x20=\x20EuqLawL.__QDFaYm__.iD1Fa(K4EaqFaZqRu2D1Lp11D8[O]);\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20F4gqDLz1a\x20=\x20EuqLawL.__saw__.FL14qg4R8(F4gqDLz1afu1T);\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20F4gq9DK4T\x20=\x20EuqLawL.__oa14R8__(F4gqDLz1a,\x20caFFDga,\x20izeK4EWa8);\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20TucD4q\x20=\x20u14g4qvaFFDga.Tc;\x20\x20\x20\x20\x20\x20\x20\x20RzqEL4uq\x204FAucD4qvDLEy4qg(u2DLLa1q,\x20usuFL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20iDLLa1q\x20=\x20u2DLLa1q.1aiKDEa(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20yuFL\x20=\x20usuFL.1aiKDEa(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20iDLLa1q2D1LF\x20=\x20iDLLa1q.FiK4L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20yuFL2D1LF\x20=\x20yuFL.FiK4L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204R\x20(!iDLLa1q.4qEKzTaF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201aLz1q\x20iDLLa1q\x20===\x20yuFL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204R\x20(iDLLa1q2D1LF.KaqgLy\x20<\x20G\x20||\x20iDLLa1q2D1LF[N]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201aLz1q\x20RDKFa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20iDLLa1qSzRR4w\x20=\x20iDLLa1q2D1LF.FK4Ea(5).hu4q(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20yuFLSzRR4w\x20=\x20yuFL2D1LF.FK4Ea(-iDLLa1q2D1LF.KaqgLy\x20+\x205).hu4q(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201aLz1q\x20iDLLa1qSzRR4w\x20===\x20yuFLSzRR4w;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20KaL\x20TucD4q9DK4T\x20=\x20(TucD4q\x20&&\x20TucD4q.KaqgLy)\x20?\x20TucD4q.Fuca((TcZLac)\x20=>\x204FAucD4qvDLEy4qg(TcZLac,\x20KuEDL4uq.yuFLqDca))\x20:\x20L1za;\x20\x20\x20\x20\x20\x20\x20\x204R\x20(KuEDL4uq.yuFLqDca\x20===\x20\x27KuEDKyuFL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TucD4q9DK4T\x20=\x20L1za;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EuqFL\x20oDK4T\x20=\x20F4gq9DK4T\x20&&\x20TucD4q9DK4T;\x20\x20\x20\x20\x20\x20\x20\x201aLz1q\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oDK4T,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20caFFDga:\x20u14g4qvaFFDga,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20EDLEy\x20(a11u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x201aLz1q\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oDK4T:\x20RDKFa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20caFFDga:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_ensurePivotItemRenderInfoCache','SetSubtotalType','_ensureViewDataMap','dataStream','Disposable','IResourceManagerService','1300042zgiVkq','IUndoRedoService','Rectangle','Add','@univerjs/rpc','removeDataField','_initClearSelectionCommandInterceptor','sequenceExecute','getFullYear','notExecuteFormula','adjustSheetCellData','getFilterInfo','updateRenderCache','ManualFilter','fieldIds','getSheetBySheetId','fieldsConfig','getFieldListByArea','_markDirty$','valueFields','ErrorType','HourMinute','refreshGroupField','setDataRecordCount','_pivotRenderValueMatrixCache','Hour','prototype','call','rowCount','getUnit','slice','InsertRowMutation','ClearSelectionContentCommand','DataSyncPrimaryController','updateRangeKeyMap','dataStyle','getDataFieldItemInfo','handleAsyncResponse','concat','removePivotTable','sheets-pivot.cellDateGroupDisplay.yearQuarter','addFieldWithSourceId','SheetsPivotRPCService','product','Total','colStyle','info','LifecycleService','7970893FWAcTB','getViewData','setRangeKeyMap','PivotTableValuePositionEnum','RemovePivotFieldCommand','PivotView','SetPivotPositionMutation','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.blank','getSourceName','_queryingMap','resetArea','sheet.command.add-pivot-table-with-config','pivotTableIndexConfig','SetValueFilter','PivotCallbackEnum','getDate','clearRenderCache','getRangeStartEndInfo','sheet.mutation.update-date-group','pushUndoRedo','sortInfo','getFormat','PivotTable','_sheetsPivotDataSourceModel','value','FontCache','registerPluginResource','add','getDataFieldByDataFieldId','UniverProLicense','endRow','#e6ebfb','sheet.mutation.remove-pivot-table','getLastCol','Inject','options','version','setDateType','isEmpty','ptn','rowFields','varp','Var\x20of\x20','bind','SetPivotSortCommand','startColumn','fetchThroughAsyncInterceptors','error','rangeCache','undos','getValuePosition','getCellMatrix','sheets-pivot.dateGroup.yearMonth','updatePivotTableRangeInfo','grandTotal','_ensurePivotTableMatrixInfo','IFeatureCalculationManagerService','needSameDeleteModel','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','filter','workbook\x20is\x20not\x20found','ΣValue','SHEET_PIVOT_IN_MAIN_THREAD','limit\x20pivot','name','getTypeOfUnitDisposed$','collections','subscribe','getInterceptPoints','10213344zZkTAT','has'];_0x4996=function(){return _0x4b7243;};return _0x4996();}(function(_0xa5c75a,_0x57472b){const _0x33e237=_0x3ff9,_0x39d550=_0xa5c75a();while(!![]){try{const _0x171c85=parseInt(_0x33e237(0x3aa))/0x1+parseInt(_0x33e237(0x293))/0x2*(-parseInt(_0x33e237(0x20f))/0x3)+-parseInt(_0x33e237(0x268))/0x4*(-parseInt(_0x33e237(0x38d))/0x5)+parseInt(_0x33e237(0x32d))/0x6+parseInt(_0x33e237(0x3da))/0x7+-parseInt(_0x33e237(0x420))/0x8+-parseInt(_0x33e237(0x312))/0x9;if(_0x171c85===_0x57472b)break;else _0x39d550['push'](_0x39d550['shift']());}catch(_0x308e24){_0x39d550['push'](_0x39d550['shift']());}}}(_0x4996,0xa35ba),function(_0x1d5516,_0x3cd18a){const _0x12c76c=_0x3ff9;typeof exports==_0x12c76c(0x252)&&typeof module<'u'?_0x3cd18a(exports,require(_0x12c76c(0x1a5)),require(_0x12c76c(0x247)),require('@univerjs/engine-formula'),require(_0x12c76c(0x22b)),require(_0x12c76c(0x455)),require('@univerjs-pro/license'),require(_0x12c76c(0x34f)),require('@univerjs/rpc'),require(_0x12c76c(0x1d5))):typeof define==_0x12c76c(0x323)&&define[_0x12c76c(0x254)]?define([_0x12c76c(0x29b),_0x12c76c(0x1a5),_0x12c76c(0x247),_0x12c76c(0x35e),_0x12c76c(0x22b),_0x12c76c(0x455),_0x12c76c(0x1f4),_0x12c76c(0x34f),_0x12c76c(0x3ae),_0x12c76c(0x1d5)],_0x3cd18a):(_0x1d5516=typeof globalThis<'u'?globalThis:_0x1d5516||self,_0x3cd18a(_0x1d5516['UniverProSheetsPivot']={},_0x1d5516['UniverProEnginePivot'],_0x1d5516[_0x12c76c(0x1be)],_0x1d5516[_0x12c76c(0x439)],_0x1d5516[_0x12c76c(0x1d2)],_0x1d5516['rxjs'],_0x1d5516[_0x12c76c(0x3f8)],_0x1d5516[_0x12c76c(0x1db)],_0x1d5516[_0x12c76c(0x447)],_0x1d5516[_0x12c76c(0x23d)]));}(this,function(_0x4d544a,_0x3fd852,_0x1595a8,_0x43b126,_0x4588b4,_0xde8205,_0x55b4b9,_0x13dae8,_0xbfea7d,_0x3973a0){'use strict';const _0x4bebf8=_0x3ff9;var _0x5c5851=Object['defineProperty'],_0x583bba=(_0x19ad9d,_0xdc247d,_0x1d312c)=>_0xdc247d in _0x19ad9d?_0x5c5851(_0x19ad9d,_0xdc247d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d312c}):_0x19ad9d[_0xdc247d]=_0x1d312c,_0x3bae97=(_0x7e0aaf,_0x11dc50,_0x3dc34a)=>_0x583bba(_0x7e0aaf,typeof _0x11dc50!='symbol'?_0x11dc50+'':_0x11dc50,_0x3dc34a);const _0x8dc2c3=Number[_0x4bebf8(0x2e0)](0x68164010),_0x3c6257=0x10,_0x5f566b=0x1,_0x1b3ab2='SHEET_PIVOT_TABLE_PLUGIN',_0x351178=0x1,_0x1a5d37=_0x4bebf8(0x32c),_0x547b43='rgb(255,255,255)',_0x4d524a=_0x4bebf8(0x1aa),_0x190c82=_0x4bebf8(0x237),_0xd4e21e=_0x4bebf8(0x237),_0x104685='#eceeff',_0x13d7b7=_0x4bebf8(0x42a),_0x35af96=_0x4bebf8(0x20c),_0x42c9a7=_0x4bebf8(0x25a),_0x301a69='#1d32e9',_0x10a7a8=_0x4bebf8(0x20c),_0x2998a4=_0x4bebf8(0x3fa),_0xf52c4b=0xe,_0x4202ee=0x6;var _0xf29fc1=(_0xe8d444=>(_0xe8d444['Existing']=_0x4bebf8(0x393),_0xe8d444['New']='new',_0xe8d444))(_0xf29fc1||{});const _0x2a19cb={'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':''}}},_0x1e537b=0x1e,_0x10b07f={'b':{'s':0x1,'cl':{'rgb':_0x4d524a}},'l':{'s':0x1,'cl':{'rgb':_0x4d524a}},'r':{'s':0x1,'cl':{'rgb':_0x4d524a}},'t':{'s':0x1,'cl':{'rgb':_0x4d524a}}},_0x13d88a={'bg':{'rgb':_0x1a5d37},'ht':0x2,'vt':0x2,'tb':0x1},_0x4cffe9={'bg':{'rgb':_0x547b43},'ht':0x2,'vt':0x2,'tb':0x1},_0x39e9bd={'rowStyle':{'bg':{'rgb':_0x2998a4},'bd':_0x10b07f,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x301a69},'bd':null,'cl':{'rgb':_0x10a7a8},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x10b07f,'bg':{'rgb':_0x42c9a7},'vt':0x2},'cornerStyle':{'bd':_0x10b07f,'bg':{'rgb':_0x104685},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x10b07f,'bg':{'rgb':_0x190c82},'vt':0x2},'leafStyle':{'bd':_0x10b07f,'bg':{'rgb':_0xd4e21e},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x13d7b7},'cl':{'rgb':_0x35af96},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x10b07f,'vt':0x2}};function _0x7cf1d5(_0x331cbc,_0x2edea9,_0x14c9c7){const _0x2b2bab=_0x4bebf8,_0x4c2ee8=_0x331cbc[_0x2b2bab(0x335)](_0x1595a8['LocaleService']),_0x4735e0=_0x14c9c7['split']('_');switch(_0x2edea9){case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x2c5)]:return _0x4c2ee8['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x4735e0);case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x23a)]:return _0x4c2ee8['t'](_0x2b2bab(0x185),..._0x4735e0);case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x3c3)]:return _0x4c2ee8['t'](_0x2b2bab(0x473),..._0x4735e0);case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x3bf)]:return _0x4c2ee8['t'](_0x2b2bab(0x477),..._0x4735e0);case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x441)]:return _0x4c2ee8['t'](_0x2b2bab(0x2ca),..._0x4735e0);case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x2b1)]:return _0x4c2ee8['t'](_0x2b2bab(0x3e1),..._0x4735e0);case _0x3fd852['PivotDateGroupFieldDateTypeEnum'][_0x2b2bab(0x236)]:return _0x4c2ee8['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x4735e0);case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x228)]:return _0x4c2ee8['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x4735e0);case _0x3fd852['PivotDateGroupFieldDateTypeEnum'][_0x2b2bab(0x2df)]:return _0x4c2ee8['t'](_0x2b2bab(0x2da),..._0x4735e0);case _0x3fd852[_0x2b2bab(0x22a)][_0x2b2bab(0x17f)]:return _0x4c2ee8['t'](_0x2b2bab(0x3d2),..._0x4735e0);}return'';}const _0x35953d=(_0x40f866,_0x5271d2,_0xd161d4,_0x4512dd)=>{const _0xf71e4=_0x4bebf8;let _0x5995d7;const _0x8de777=_0x40f866['get'](_0x1595a8[_0xf71e4(0x44e)])[_0xf71e4(0x45e)](_0x1595a8[_0xf71e4(0x43c)][_0xf71e4(0x315)]);if(!_0x8de777)return null;const _0x16b072=_0x8de777[_0xf71e4(0x474)]();let _0x4aee04;if(_0xd161d4&&(_0x4aee04=_0x16b072[_0xf71e4(0x450)](_0xd161d4)),_0x5271d2!=null&&_0x5271d2['v']||(_0x5271d2==null?void 0x0:_0x5271d2['v'])===0x0){_0x5995d7||(_0x5995d7={});const _0x16e841=_0x4b043b(_0x5271d2['v']);typeof _0x16e841==_0xf71e4(0x27e)?_0x5995d7['t']=_0x1595a8[_0xf71e4(0x18e)][_0xf71e4(0x19a)]:typeof _0x16e841=='string'&&(_0x5995d7['t']=_0x1595a8[_0xf71e4(0x18e)][_0xf71e4(0x292)]),_0x5995d7['v']=_0x16e841;}if((_0x5271d2!=null&&_0x5271d2['i']||(_0x5271d2==null?void 0x0:_0x5271d2['i'])===0x0)&&(_0x5995d7||(_0x5995d7={}),_0x5995d7['fi']=_0x5271d2['i']),_0x5271d2!=null&&_0x5271d2['s']&&(_0x5995d7||(_0x5995d7={}),_0x5995d7[_0xf71e4(0x2c1)]=_0x5271d2['s']),_0xd161d4&&(_0x5995d7||(_0x5995d7={}),_0x5995d7['s']=_0x4aee04),_0x4512dd&&_0x5995d7!=null&&_0x5995d7['v']&&_0x5995d7[_0xf71e4(0x2c1)]!==_0x3fd852['PivotCellStyleTypeEnum'][_0xf71e4(0x264)]&&_0x5995d7[_0xf71e4(0x2c1)]!==_0x3fd852[_0xf71e4(0x221)][_0xf71e4(0x44f)]){const _0x68da79=String(_0x5995d7['v']),{dateType:_0x48b08f}=_0x4512dd;_0x5995d7['v']=_0x7cf1d5(_0x40f866,_0x48b08f,_0x68da79),_0x5995d7['t']=_0x1595a8['CellValueType'][_0xf71e4(0x292)];}return _0x5995d7;},_0x3f20aa=(_0xe99650,_0x1f0ff1,_0x301970,_0x3dda2a)=>{const _0x42dc38=_0x4bebf8;var _0x593b2f,_0x193b32,_0x487714,_0x1e2815,_0x4896cb,_0x359768,_0x3d8e82,_0x3c6bc9,_0x199414,_0x349fdc,_0x190d17,_0x216a45,_0x18bddd,_0x2b09c4;const _0x2ba48f=_0x301970['targetCellInfo'],{cornerView:_0x512980,rowView:_0x58359f,colView:_0x40e280,dataView:_0x4a618a,pageView:_0x4ee714,formatMap:_0x47a4b7,groupInfo:_0x5a6254}=_0x1f0ff1,{row:_0x2aa027,col:_0x27278a}=_0x2ba48f,_0x4dfea3=new _0x1595a8[(_0x42dc38(0x37b))](),_0x461ac9={},_0x2b24e4={},_0x366641={},_0x336427={},_0x43327c={};let _0x373230=_0x2aa027,_0x393c68=_0x27278a;Object[_0x42dc38(0x201)](_0x4ee714[_0x42dc38(0x1a8)])[_0x42dc38(0x2f1)](_0x1f8bc7=>{const _0x1a474e=_0x42dc38;Object[_0x1a474e(0x201)](_0x4ee714[_0x1a474e(0x1a8)][Number(_0x1f8bc7)])[_0x1a474e(0x2f1)](_0x5ee22d=>{const _0xd0b8a6=_0x1a474e,_0x13738d={..._0x4ee714[_0xd0b8a6(0x1a8)][Number(_0x1f8bc7)][Number(_0x5ee22d)]};_0x4dfea3[_0xd0b8a6(0x450)](Number(_0x1f8bc7)+_0x373230,Number(_0x5ee22d)+_0x393c68,_0x35953d(_0xe99650,_0x13738d,_0x39e9bd[_0xd0b8a6(0x1f2)]));});});const _0x8d3a8e=Object[_0x42dc38(0x201)](_0x4ee714[_0x42dc38(0x1a8)])['length'];_0x373230+=_0x8d3a8e+(_0x8d3a8e?_0x351178:0x0);const _0x17b8b2=_0x512980[_0x42dc38(0x25c)](),_0x4a3d71=_0x512980[_0x42dc38(0x2dc)]();for(let _0x3779e0=0x0;_0x3779e0<_0x17b8b2;_0x3779e0++)for(let _0x4e55dc=0x0;_0x4e55dc<_0x4a3d71;_0x4e55dc++){const _0x57d00e={...(_0x193b32=(_0x593b2f=_0x512980[_0x42dc38(0x1a8)])==null?void 0x0:_0x593b2f[_0x3779e0])==null?void 0x0:_0x193b32[_0x4e55dc]};_0x57d00e&&((_0x487714=_0x58359f[_0x42dc38(0x427)][_0x4e55dc])!=null&&_0x487714[_0x42dc38(0x285)])&&_0x4e55dc===_0x4a3d71-0x1&&_0x3779e0===_0x17b8b2-0x1&&(_0x57d00e['v']=''+_0x3dda2a['sheets-pivot.value']),_0x4dfea3['setValue'](_0x3779e0+_0x373230,_0x4e55dc+_0x393c68,_0x35953d(_0xe99650,_0x57d00e,_0x39e9bd[_0x42dc38(0x1ba)]));}for(let _0x5b7f5b=0x0;_0x5b7f5b<_0x512980[_0x42dc38(0x3d8)]['length'];_0x5b7f5b++)_0x512980[_0x42dc38(0x3d8)][_0x5b7f5b]&&(_0x366641[''+(_0x5b7f5b+_0x393c68)]=_0x512980['info'][_0x5b7f5b]);_0x393c68+=_0x4a3d71;const _0x3735d4=_0x40e280[_0x42dc38(0x427)],_0x18ba03=_0x40e280['getLastRow']()>=0x0?_0x40e280[_0x42dc38(0x388)]()+0x1:0x0,_0x40bcc8=_0x40e280['getLastCol']()>=0x0?_0x40e280[_0x42dc38(0x3fc)]()+0x1:0x0;for(let _0x3e36a4=0x0;_0x3e36a4<_0x40bcc8;_0x3e36a4++){for(let _0x2ed6fe=0x0;_0x2ed6fe<_0x18ba03;_0x2ed6fe++){const _0x50654f={...(_0x4896cb=(_0x1e2815=_0x40e280['data'])==null?void 0x0:_0x1e2815[_0x2ed6fe])==null?void 0x0:_0x4896cb[_0x3e36a4]},_0x2c98a4=(_0x359768=_0x3735d4[_0x2ed6fe])==null?void 0x0:_0x359768[_0x42dc38(0x370)],_0x4081e3=_0x47a4b7[_0x2c98a4],_0x453489=_0x5a6254[_0x2c98a4];_0x50654f&&(_0x50654f['v']=_0x50b7fc(_0x50654f,_0x2ed6fe===0x0&&((_0x3d8e82=_0x40e280[_0x42dc38(0x2ac)](_0x3e36a4+0x1))==null?void 0x0:_0x3d8e82[_0x42dc38(0x285)]),_0x4081e3,_0x3dda2a));let _0x3ef48e;_0x4081e3?_0x3ef48e={..._0x39e9bd['colStyle'],'n':{'pattern':_0x4081e3}}:_0x3ef48e={..._0x39e9bd[_0x42dc38(0x3d7)]},_0x4dfea3[_0x42dc38(0x450)](_0x2ed6fe+_0x373230,_0x3e36a4+_0x393c68,_0x35953d(_0xe99650,_0x50654f,_0x3ef48e,_0x453489));}_0x40e280[_0x42dc38(0x3d8)][_0x3e36a4]&&(_0x2b24e4[''+(_0x3e36a4+_0x393c68)]=_0x40e280[_0x42dc38(0x3d8)][_0x3e36a4]),_0x40e280[_0x42dc38(0x427)][_0x3e36a4+0x1]&&(_0x43327c[''+(_0x3e36a4+_0x373230+0x1)]=_0x40e280[_0x42dc38(0x427)][_0x3e36a4+0x1]);}_0x373230+=_0x17b8b2;const _0x351a76=_0x58359f['headerMap'],_0x30f001=_0x58359f[_0x42dc38(0x388)]()>=0x0?_0x58359f[_0x42dc38(0x388)]()+0x1:0x0,_0x412a4f=_0x58359f[_0x42dc38(0x3fc)]()>=0x0?_0x58359f[_0x42dc38(0x3fc)]()+0x1:0x0;for(let _0x41c8f2=0x0;_0x41c8f2<_0x30f001;_0x41c8f2++){for(let _0x25226b=0x0;_0x25226b<_0x412a4f;_0x25226b++){const _0xbb21f2={...(_0x199414=(_0x3c6bc9=_0x58359f[_0x42dc38(0x1a8)])==null?void 0x0:_0x3c6bc9[_0x41c8f2])==null?void 0x0:_0x199414[_0x25226b]},_0x56be25=(_0x349fdc=_0x351a76[_0x25226b])==null?void 0x0:_0x349fdc['tableFieldId'],_0x4df9f7=_0x47a4b7[_0x56be25],_0x3d264d=_0x5a6254[_0x56be25];_0xbb21f2&&(_0xbb21f2['v']=_0x50b7fc(_0xbb21f2,!0x1,_0x4df9f7,_0x3dda2a));let _0x27b747;_0x58359f[_0x42dc38(0x3d8)][_0x41c8f2][_0x42dc38(0x299)]===_0x58359f['getColCount']()?_0x27b747=_0x39e9bd[_0x42dc38(0x2cf)]:_0x58359f[_0x42dc38(0x3d8)][_0x41c8f2][_0x42dc38(0x22e)]?_0x27b747=_0x58359f[_0x42dc38(0x3d8)][_0x41c8f2]['level']===0x0?_0x39e9bd['grandTotal']:_0x39e9bd[_0x42dc38(0x35b)]:_0x27b747=_0x39e9bd[_0x42dc38(0x1f0)],_0x4df9f7&&(_0x27b747={..._0x27b747,'n':{'pattern':_0x4df9f7}}),_0x4dfea3['setValue'](_0x41c8f2+_0x373230,_0x25226b+_0x27278a,_0x35953d(_0xe99650,_0xbb21f2,_0x27b747,_0x3d264d));}_0x58359f[_0x42dc38(0x3d8)][_0x41c8f2]&&(_0x461ac9[''+(_0x41c8f2+_0x373230)]=_0x58359f[_0x42dc38(0x3d8)][_0x41c8f2]),_0x58359f['headerMap'][_0x41c8f2]&&(_0x336427[''+(_0x41c8f2+_0x27278a)]=_0x58359f[_0x42dc38(0x427)][_0x41c8f2]);}const _0x7e01e2=_0x4a618a[_0x42dc38(0x25c)](),_0x31df76=_0x4a618a[_0x42dc38(0x2dc)]();for(let _0x4091c0=0x0;_0x4091c0<_0x7e01e2;_0x4091c0++)for(let _0x208973=0x0;_0x208973<_0x31df76;_0x208973++){const _0x47dc3c={...(_0x216a45=(_0x190d17=_0x4a618a[_0x42dc38(0x1a8)])==null?void 0x0:_0x190d17[_0x4091c0])==null?void 0x0:_0x216a45[_0x208973]};let _0x487707;_0x58359f[_0x42dc38(0x3d8)][_0x4091c0][_0x42dc38(0x22e)]?_0x487707=_0x58359f['info'][_0x4091c0][_0x42dc38(0x299)]===0x0?_0x39e9bd[_0x42dc38(0x411)]:_0x39e9bd[_0x42dc38(0x35b)]:_0x487707=_0x39e9bd[_0x42dc38(0x3cd)];const _0x5f0043=_0x58359f[_0x42dc38(0x3d8)][_0x4091c0]['valueIndex'],_0xff51ae=_0x40e280[_0x42dc38(0x3d8)][_0x208973][_0x42dc38(0x224)],_0x424fe6=Math[_0x42dc38(0x442)](_0x5f0043,_0xff51ae),_0x3b1734=_0x301970['fieldsConfig'][_0x42dc38(0x3bd)][_0x42dc38(0x3d0)]();let _0x2c7e02='';_0x424fe6<0x0?_0x2c7e02=(_0x18bddd=_0x3b1734[0x0])!=null?_0x18bddd:'':_0x2c7e02=(_0x2b09c4=_0x3b1734[_0x424fe6])!=null?_0x2b09c4:'';const _0x1ee3b9=_0x47a4b7[_0x2c7e02];_0x1ee3b9&&(_0x487707={..._0x487707,'n':{'pattern':_0x1ee3b9}}),_0x4dfea3[_0x42dc38(0x450)](_0x4091c0+_0x373230,_0x208973+_0x393c68,_0x35953d(_0xe99650,_0x47dc3c,_0x487707));}return{'valueMatrix':_0x4dfea3,'rowInfo':_0x461ac9,'colInfo':_0x2b24e4,'cornerInfo':_0x366641,'rowHeaderMap':_0x336427,'colHeaderMap':_0x43327c};};function _0x50b7fc(_0x13e5f8,_0x6ecf10,_0x403a5b,_0x45f6b7){const _0x20f2bc=_0x4bebf8;let _0x3578a5=_0x13e5f8['v'];_0x6ecf10&&(_0x3578a5=''+_0x45f6b7[_0x20f2bc(0x306)]);const _0x1c789f=_0x13e5f8['t']&&(_0x13e5f8['t']&_0x3fd852['PivotViewCellValueTypeEnum']['blank'])>0x0;if(_0x1c789f&&(_0x3578a5=''+_0x45f6b7[_0x20f2bc(0x3e2)]),_0x13e5f8['s']===_0x3fd852[_0x20f2bc(0x221)]['Subtotal']){let _0x4b69db=_0x3578a5,_0x17dfda='';_0x3fd852['isPrefixValue'](_0x3578a5)&&(_0x4b69db=_0x3578a5[_0x20f2bc(0x2f3)],_0x17dfda=_0x3578a5['value']);const _0x1e8470=_0x403a5b&&!_0x1c789f?_0x1595a8['numfmt'][_0x20f2bc(0x2be)](_0x403a5b,Number(_0x4b69db)):_0x4b69db;_0x17dfda?_0x3578a5=_0x1e8470+'\x20'+_0x17dfda:_0x3578a5=_0x1e8470+'\x20'+_0x45f6b7['sheets-pivot.subTotal'];}else _0x13e5f8['s']===_0x3fd852[_0x20f2bc(0x221)][_0x20f2bc(0x264)]&&(_0x3578a5=_0x3578a5+'\x20'+_0x45f6b7['sheets-pivot.grandTotal']);return _0x3578a5;}function _0x4b043b(_0x26c2fe){const _0x53a472=_0x4bebf8;if(_0x3fd852[_0x53a472(0x422)](_0x26c2fe)){const {errorType:_0x801158}=_0x26c2fe;switch(_0x801158){case _0x3fd852[_0x53a472(0x1ea)][_0x53a472(0x270)]:return _0x43b126[_0x53a472(0x3be)][_0x53a472(0x21c)];case _0x3fd852['PivotErrorTypeEnum']['NotNumber']:return _0x43b126['ErrorType'][_0x53a472(0x208)];case _0x3fd852['PivotErrorTypeEnum'][_0x53a472(0x33e)]:return _0x43b126[_0x53a472(0x3be)]['NAME'];case _0x3fd852['PivotErrorTypeEnum'][_0x53a472(0x1ae)]:return _0x43b126['ErrorType'][_0x53a472(0x234)];case _0x3fd852[_0x53a472(0x1ea)][_0x53a472(0x2f7)]:return _0x43b126[_0x53a472(0x3be)][_0x53a472(0x2b9)];}}return _0x26c2fe;}function _0x27a961(_0x19f4c6,_0x10d5c3,_0x177360=!0x1,_0x2704df=!0x1){const _0x52a72b=_0x4bebf8,{data:_0x2edf76}=_0x10d5c3,_0x2e2d5e=_0x10d5c3[_0x52a72b(0x25c)](),_0x8832c2=_0x10d5c3['getColCount']();if(_0x2e2d5e<=0x0||_0x8832c2<=0x0)return[];const _0x20e191=_0x10d5c3[_0x52a72b(0x3fc)](),_0x5984eb=_0x10d5c3[_0x52a72b(0x388)](),_0x1db3f3=_0x2704df?_0x5984eb>=0x0?_0x5984eb+0x1:0x0:_0x2e2d5e,_0x53f1c7=_0x2704df?_0x20e191>=0x0?_0x20e191+0x1:0x0:_0x8832c2,{row:_0x986923,col:_0x1bde7c}=_0x19f4c6,_0x138cb9=_0x986923,_0x2df1b3=_0x1bde7c;if(_0x177360){const _0x26dac8=[];for(const [_0x2c482b,_0x56ce7b]of Object[_0x52a72b(0x36c)](_0x2edf76))for(const [_0x4b3fd3,_0x10cae7]of Object[_0x52a72b(0x36c)](_0x56ce7b))_0x26dac8[_0x52a72b(0x428)](_0x1595a8[_0x52a72b(0x383)](_0x138cb9+Number(_0x2c482b),_0x2df1b3+Number(_0x4b3fd3)));return _0x26dac8;}else{const _0x51962e=_0x2704df?_0x1db3f3>0x0?0x1:0x0:0x1,_0x1417dc=_0x2704df?_0x53f1c7>0x0?0x1:0x0:0x1,_0x32bde9=_0x986923+_0x1db3f3-_0x51962e,_0x29df94=_0x1bde7c+_0x53f1c7-_0x1417dc;return[{'startRow':_0x138cb9,'startColumn':_0x2df1b3,'endRow':_0x32bde9,'endColumn':_0x29df94}];}}const _0x29b15b=_0x4bebf8(0x419),_0x21386f=_0x4bebf8(0x2a9);var _0x5a956a=(_0x48d8af=>(_0x48d8af[_0x4bebf8(0x399)]=_0x4bebf8(0x416),_0x48d8af[_0x4bebf8(0x321)]=_0x4bebf8(0x2c4),_0x48d8af[_0x4bebf8(0x381)]='addPivotField',_0x48d8af['AddPivotTableWithConfig']='AddPivotTableWithConfig',_0x48d8af[_0x4bebf8(0x1f3)]=_0x4bebf8(0x1e3),_0x48d8af[_0x4bebf8(0x212)]=_0x4bebf8(0x2fb),_0x48d8af[_0x4bebf8(0x2fc)]=_0x4bebf8(0x2d8),_0x48d8af[_0x4bebf8(0x43b)]=_0x4bebf8(0x2c7),_0x48d8af['SetPivotFilter']=_0x4bebf8(0x32b),_0x48d8af[_0x4bebf8(0x451)]='setPivotSort',_0x48d8af[_0x4bebf8(0x36b)]='setPivotSetting',_0x48d8af[_0x4bebf8(0x1eb)]=_0x4bebf8(0x1a3),_0x48d8af['UpdateValuePosition']=_0x4bebf8(0x235),_0x48d8af[_0x4bebf8(0x37a)]=_0x4bebf8(0x43f),_0x48d8af[_0x4bebf8(0x1c4)]=_0x4bebf8(0x186),_0x48d8af['SetPivotTableConfig']=_0x4bebf8(0x27d),_0x48d8af[_0x4bebf8(0x27c)]='resetPivotTable',_0x48d8af))(_0x5a956a||{});const _0x237a65={'sheets-pivot.blankValue':_0x4bebf8(0x220),'sheets-pivot.columnName':_0x4bebf8(0x446),'sheets-pivot.subTotalText':_0x4bebf8(0x3d6),'sheets-pivot.grandTotalText':_0x4bebf8(0x188),'sheets-pivot.valueText':_0x4bebf8(0x354),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x4bebf8(0x376),'sheets-pivot.countNumsName':_0x4bebf8(0x376),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x4bebf8(0x1c6),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x4bebf8(0x311),'sheets-pivot.stdDevpName':_0x4bebf8(0x2f8),'sheets-pivot.sumName':_0x4bebf8(0x2b0),'sheets-pivot.varName':_0x4bebf8(0x405),'sheets-pivot.varpName':_0x4bebf8(0x18a),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x4bebf8(0x188),'sheets-pivot.value':_0x4bebf8(0x3f3),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x4bebf8(0x30f),'sheets-pivot.emptyPivot.values':_0x4bebf8(0x1b9)},_0x3177fe={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x17b928=_0x1595a8['createAsyncInterceptorKey'](_0x4bebf8(0x307)),_0x48d1db=_0x1595a8[_0x4bebf8(0x238)](_0x4bebf8(0x16f));var _0x3ade2a=(_0x306574=>(_0x306574[_0x4bebf8(0x3f6)]=_0x4bebf8(0x3f6),_0x306574['delete']=_0x4bebf8(0x44a),_0x306574[_0x4bebf8(0x1d1)]=_0x4bebf8(0x1d1),_0x306574))(_0x3ade2a||{}),_0xd7fa82=(_0x4e7e37=>(_0x4e7e37[_0x4bebf8(0x3ad)]=_0x4bebf8(0x3f6),_0x4e7e37[_0x4bebf8(0x189)]=_0x4bebf8(0x2e3),_0x4e7e37[_0x4bebf8(0x17e)]=_0x4bebf8(0x44a),_0x4e7e37))(_0xd7fa82||{});const _0x5bd108={0x0:'w',0x1:'r',0x2:'P',0x3:'Y',0x4:'i',0x5:'1',0x6:'Q',0x7:'G',0x8:'y',0x9:'V','N':'0','G':'2','O':'3','m':'4','l':'5','Y':'6','C':'7','H':'8','J':'9','D':'a','e':'b','E':'c','T':'d','a':'e','R':'f','g':'g','y':'h','h':'j','n':'k','K':'l','c':'m','q':'n','u':'o','i':'p','b':'q','F':'s','L':'t','z':'u','o':'v','w':'x','d':'z','p':'A','Q':'B','k':'C','A':'D','t':'E','M':'F','s':'H','Z':'I','j':'J','W':'K','U':'L','v':'M','V':'N','x':'O','r':'R','S':'S','X':'T','B':'U','f':'W','P':'X','I':'Z'},_0x15919b=_0x4bebf8(0x3a3),_0x4002bc={'type':_0x1595a8[_0x4bebf8(0x423)]['MUTATION'],'id':_0x4bebf8(0x30e),'handler':()=>!0x0},_0x351044={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x42f),'handler':()=>!0x0},_0x375c56={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x462),'handler':()=>!0x0},_0x32935e={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x1cd),'handler':()=>!0x0},_0x473731={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x443),'handler':()=>!0x0},_0x3b0de1=_0x187471=>{const _0x256c0e=_0x4bebf8;var _0x21a2de;return((_0x21a2de=_0x187471[_0x256c0e(0x177)])==null?void 0x0:_0x21a2de[_0x256c0e(0x3a7)][_0x256c0e(0x466)](/\r\n$/,''))||'';};class _0x557167 extends _0x3fd852[_0x4bebf8(0x210)]{constructor(_0x662f32,_0x24a14a){const _0x7cbe86=_0x4bebf8;super(),_0x3bae97(this,_0x7cbe86(0x38b),{}),_0x3bae97(this,_0x7cbe86(0x479)),_0x3bae97(this,_0x7cbe86(0x2c3)),(this[_0x7cbe86(0x479)]=_0x24a14a,this[_0x7cbe86(0x2c3)]=_0x662f32);}[_0x4bebf8(0x39f)](){const _0x4a39f4=_0x4bebf8;for(const _0x5d5bfb in this[_0x4a39f4(0x1e5)]){const _0x4db91c=this[_0x4a39f4(0x1e5)][_0x5d5bfb],_0x3922ee=_0x4db91c[_0x4a39f4(0x396)]();this['rangeKeyMap'][_0x3922ee]=_0x4db91c[_0x4a39f4(0x1bf)]();}}['getAutoDisplayNameFunction'](){const _0x2e72f8=_0x4bebf8,_0x1e8887=this[_0x2e72f8(0x2c3)];return _0x4642be[_0x2e72f8(0x406)](_0x1e8887);}[_0x4bebf8(0x24b)](_0x53a63d){const _0x2749ba=_0x4bebf8,_0x3bf3f6=this[_0x2749ba(0x1e5)][_0x53a63d][_0x2749ba(0x276)];delete this['dataFields'][_0x53a63d],delete this['rangeKeyMap'][_0x3bf3f6];}['addDataFieldWithoutUnitInfo'](_0x8342a2){const _0x33c3cc=_0x4bebf8;this[_0x33c3cc(0x1e5)][_0x8342a2[_0x33c3cc(0x1bf)]()]=_0x8342a2;}[_0x4bebf8(0x43d)](_0x2e3b88){const _0x2e11c4=_0x4bebf8;var _0x3c6488,_0x24a90c;const _0x128f3d=this[_0x2e11c4(0x2c3)][_0x2e11c4(0x2bf)](_0x2e3b88);if(_0x128f3d){const {unitId:_0x411627,subUnitId:_0xeb953}=_0x128f3d,_0x305548=(_0x3c6488=this[_0x2e11c4(0x2c3)][_0x2e11c4(0x1a1)](_0x411627,_0xeb953,_0x2e3b88))==null?void 0x0:_0x3c6488['sourceRangeInfo'];this['_host'][_0x2e11c4(0x379)]({'token':_0x2e3b88,'type':_0x3ade2a[_0x2e11c4(0x44a)],'dataRangeInfo':_0x305548});}(_0x24a90c=this[_0x2e11c4(0x35a)](_0x2e3b88))==null||_0x24a90c[_0x2e11c4(0x342)](),delete this[_0x2e11c4(0x41d)][_0x2e3b88];}[_0x4bebf8(0x396)](_0x557daa,_0x4aaa17){const _0x763109=_0x4bebf8,{sheetName:_0x55c5a2,unitId:_0x318516,range:_0x29699e}=_0x557daa,{startRow:_0x16d5c7,endRow:_0x150b3f}=_0x29699e;return _0x43b126[_0x763109(0x39c)](_0x318516,_0x55c5a2,{'startRow':_0x16d5c7,'endRow':_0x150b3f,'startColumn':_0x4aaa17,'endColumn':_0x4aaa17});}[_0x4bebf8(0x1f1)](_0x552893){const _0x5d6aaf=_0x4bebf8;return this[_0x5d6aaf(0x1e5)][this[_0x5d6aaf(0x38b)][_0x552893]];}[_0x4bebf8(0x3dc)](_0x5069a6,_0xc8b235){const _0x3d9db9=_0x4bebf8;this[_0x3d9db9(0x38b)][_0x5069a6]=_0xc8b235;}[_0x4bebf8(0x3cc)](_0x19b621,_0x327bd0){const _0x18bbce=_0x4bebf8;this[_0x18bbce(0x38b)][_0x327bd0]=this[_0x18bbce(0x38b)][_0x19b621],delete this[_0x18bbce(0x38b)][_0x19b621];}[_0x4bebf8(0x303)](_0x48293d,_0x441101,_0x395f19,_0x24f231){const _0x44b831=_0x4bebf8,_0x23970d=new _0x3fd852[(_0x44b831(0x433))](this);_0x23970d['fromJSON'](_0x441101);const _0x280f7f=[];let _0x507ddf=0x0;for(const _0x109a49 of _0x23970d['fieldIds']){const _0x428f3a=this['getRangeKey'](_0x395f19,_0x507ddf),_0x4a720d=this[_0x44b831(0x1e5)][_0x109a49];_0x4a720d&&(_0x4a720d[_0x44b831(0x276)]=_0x428f3a,this['setRangeKeyMap'](_0x428f3a,_0x109a49),_0x280f7f[_0x44b831(0x428)]({'index':_0x507ddf,'dataField':_0x4a720d})),_0x507ddf++;}return this['addCollection'](_0x48293d,_0x23970d,_0x395f19,_0x24f231),{'collection':_0x23970d,'updateDataFieldList':_0x280f7f};}['getRangeStartEndInfo'](_0x1b9a1a,_0x351ddd){const _0x282e90=_0x4bebf8;return _0x1b9a1a[_0x282e90(0x458)]===_0x1595a8['RANGE_TYPE'][_0x282e90(0x2ae)]?{'startRow':0x0,'startColumn':_0x1b9a1a[_0x282e90(0x408)],'endRow':_0x351ddd['getRowCount']()-0x1,'endColumn':_0x1b9a1a[_0x282e90(0x382)]}:{'startRow':_0x1b9a1a['startRow'],'startColumn':_0x1b9a1a[_0x282e90(0x408)],'endRow':_0x1b9a1a['endRow'],'endColumn':_0x1b9a1a['endColumn']};}[_0x4bebf8(0x19f)](_0x247e4a){const _0x40d6c5=_0x4bebf8,{sheetName:_0x49060b,range:_0x280ce5}=_0x247e4a,_0x142b26=this[_0x40d6c5(0x479)][_0x40d6c5(0x45e)](_0x1595a8['UniverInstanceType'][_0x40d6c5(0x315)]),_0x510fd9=_0x142b26['getSheetBySheetName'](_0x49060b),_0x27b53e=_0x510fd9['getCellMatrix'](),{startColumn:_0x2088ca,startRow:_0x7d5cae,endColumn:_0x2b12d8}=this['getRangeStartEndInfo'](_0x280ce5,_0x510fd9),_0xcd68ce=_0x142b26['getStyles'](),_0x446eaf=new _0x3fd852[(_0x40d6c5(0x433))](this);_0x446eaf[_0x40d6c5(0x23e)](_0x247e4a);const _0xf639c=[],_0x5e661a={};for(let _0x13bbc0=_0x2088ca;_0x13bbc0<=_0x2b12d8;_0x13bbc0++){const _0x58e2f1=_0x27b53e[_0x40d6c5(0x289)](_0x7d5cae,_0x13bbc0),_0x5a5ffb=this[_0x40d6c5(0x396)](_0x247e4a,_0x13bbc0),_0x7b7b14=this[_0x40d6c5(0x1f1)](_0x5a5ffb);if(_0x7b7b14)_0x446eaf[_0x40d6c5(0x203)](_0x7b7b14[_0x40d6c5(0x1bf)](),_0x7b7b14[_0x40d6c5(0x23f)]());else{const _0xfdf30a=this[_0x40d6c5(0x274)]();let _0x1eda7f=this[_0x40d6c5(0x3b4)](_0x58e2f1,_0xcd68ce,_0x5e661a);_0x3fd852['isDateValue'](_0x1eda7f)&&(_0x1eda7f=_0x1595a8[_0x40d6c5(0x1bb)][_0x40d6c5(0x2be)](_0x1eda7f['f'],Number(_0x1eda7f['v'])));const _0x26264d=this[_0x40d6c5(0x31e)](_0x1eda7f,_0x13bbc0),_0x46d25b=new _0x3fd852['DataField'](_0xfdf30a,_0x26264d,_0x3fd852[_0x40d6c5(0x32e)](0x3));_0x46d25b[_0x40d6c5(0x276)]=_0x5a5ffb,this['dataFields'][_0xfdf30a]=_0x46d25b,_0x446eaf['addField'](_0xfdf30a,_0x26264d),_0xf639c[_0x40d6c5(0x428)]({'index':_0x13bbc0,'dataField':_0x46d25b});}}return{'updateDataFieldList':_0xf639c,'collection':_0x446eaf};}['_getAutoName'](_0xecb863){const _0x2c03b5=_0x4bebf8;return this[_0x2c03b5(0x2c3)][_0x2c03b5(0x279)]()[_0x2c03b5(0x255)]+'\x20'+_0x1595a8[_0x2c03b5(0x454)](_0xecb863);}['uniqueDataFieldName'](_0x394894,_0x1cf0ca){const _0x4daae6=_0x4bebf8;return _0x394894==null||_0x394894===''?this[_0x4daae6(0x244)](_0x1cf0ca):String(_0x394894);}[_0x4bebf8(0x35a)](_0x2aae3f){return this['collections'][_0x2aae3f];}[_0x4bebf8(0x193)](_0x37578c,_0x2d2daa,_0x465d48,_0x58b1aa){const _0x1f005f=_0x4bebf8;this[_0x1f005f(0x41d)][_0x37578c]=_0x2d2daa,_0x2d2daa[_0x1f005f(0x23e)](_0x465d48),this[_0x1f005f(0x2c3)][_0x1f005f(0x379)]({'token':_0x37578c,'type':_0x3ade2a['add'],'dataRangeInfo':_0x465d48,'targetCellInfo':_0x58b1aa});}[_0x4bebf8(0x363)](_0x2c9c35,_0x55248b){const _0x292081=_0x4bebf8,_0x27dc29=this['getCollection'](_0x2c9c35),_0x234d7c=_0x27dc29[_0x292081(0x46b)]();let _0x4b1418=0x0;for(const _0x2379ad of _0x234d7c){const _0x4376a0=_0x27dc29[_0x292081(0x366)](_0x2379ad),_0x439a54=this[_0x292081(0x396)](_0x55248b,_0x4b1418);this[_0x292081(0x3cc)](_0x4376a0['rangeKey'],_0x439a54),_0x4b1418++;}}[_0x4bebf8(0x241)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x4ff5a7,_0x4b9a02){const _0x4193ba=_0x4bebf8;if(this[_0x4193ba(0x35a)](_0x4ff5a7)){const _0xc5a54c=this['getRangeKeyList'](_0x4b9a02),_0x55849b=[];for(const _0x1115cd of _0xc5a54c)this[_0x4193ba(0x38b)][_0x1115cd]!==void 0x0&&_0x55849b[_0x4193ba(0x428)](this[_0x4193ba(0x38b)][_0x1115cd]);const _0x255410=this[_0x4193ba(0x47d)](_0x4ff5a7),_0x5080f2=[],_0x1110ac=new Set(_0x55849b);for(const _0x48814b of _0x255410)_0x1110ac[_0x4193ba(0x421)](_0x48814b)||_0x5080f2['push'](_0x48814b);return _0x5080f2;}}[_0x4bebf8(0x1d4)](_0x3c4784,_0x17710e,_0x17e18,_0x4faf6f,_0x1b268f){const _0x588a2c=_0x4bebf8;return _0x17710e&&_0x17710e[_0x588a2c(0x289)](_0x4faf6f,_0x1b268f)?_0x17710e['getValue'](_0x4faf6f,_0x1b268f):_0x17e18&&_0x17e18[_0x588a2c(0x289)](_0x4faf6f,_0x1b268f)?_0x17e18[_0x588a2c(0x289)](_0x4faf6f,_0x1b268f):_0x3c4784[_0x588a2c(0x289)](_0x4faf6f,_0x1b268f);}[_0x4bebf8(0x47e)](_0x7e2855,_0x2d0921,_0x53b923,_0x1e5c7c){const _0x1afcf2=_0x4bebf8,_0x5b7b38=this[_0x1afcf2(0x1e5)][_0x7e2855];if(!_0x5b7b38)return;const {subUnitId:_0x49e16e,range:_0x2199de,unitId:_0x4bcc9e}=_0x2d0921,_0x2d7120=this[_0x1afcf2(0x479)]['getUnit'](_0x4bcc9e);if(!_0x2d7120){console['error']('workbook\x20is\x20not\x20found');return;}const _0x43444b=_0x2d7120[_0x1afcf2(0x3b9)](_0x49e16e),_0x2fa327=_0x43444b[_0x1afcf2(0x40e)](),{arrayFormulaCellDataMatrix:_0x2acb8e,unitDataMatrix:_0x17d50e}=_0x1e5c7c||{},{startRow:_0x30510f,startColumn:_0x347ce9,endRow:_0x56d281}=this['getRangeStartEndInfo'](_0x2199de,_0x43444b);_0x5b7b38[_0x1afcf2(0x340)]();const _0xa192ba=_0x2d7120[_0x1afcf2(0x474)](),_0x53ff1c={},_0x425b65=this['getMatrixValue'](_0x2fa327,_0x2acb8e,_0x17d50e,_0x30510f,_0x347ce9+_0x53b923);let _0x4afb1b=this[_0x1afcf2(0x3b4)](_0x425b65,_0xa192ba,_0x53ff1c);_0x3fd852[_0x1afcf2(0x273)](_0x4afb1b)&&(_0x4afb1b=_0x1595a8[_0x1afcf2(0x1bb)][_0x1afcf2(0x2be)](_0x4afb1b['f'],Number(_0x4afb1b['v'])));const _0x45fa49=this[_0x1afcf2(0x31e)](_0x4afb1b,_0x347ce9+_0x53b923);_0x5b7b38[_0x1afcf2(0x350)](_0x45fa49);for(let _0x34a6a4=_0x30510f+0x1;_0x34a6a4<=_0x56d281;_0x34a6a4++){const _0x19a062=this[_0x1afcf2(0x1d4)](_0x2fa327,_0x2acb8e,_0x17d50e,_0x34a6a4,_0x347ce9+_0x53b923);_0x5b7b38[_0x1afcf2(0x337)](this[_0x1afcf2(0x3b4)](_0x19a062,_0xa192ba,_0x53ff1c),_0x34a6a4-0x1-_0x30510f);}}[_0x4bebf8(0x31f)](_0x40baad,_0x29d085,_0x2b93cb){const _0x3745c9=_0x4bebf8,{subUnitId:_0x240033,range:_0x5bccf9,unitId:_0x8da366}=_0x2b93cb,_0x294f51=this[_0x3745c9(0x479)]['getUnit'](_0x8da366);if(!_0x294f51){console[_0x3745c9(0x40a)](_0x3745c9(0x417));return;}const _0x24122a=_0x294f51['getSheetBySheetId'](_0x240033),_0x2f5d21=_0x24122a[_0x3745c9(0x40e)](),{startRow:_0x2e686c,startColumn:_0x110731,endRow:_0x7cf33d}=this[_0x3745c9(0x3ec)](_0x5bccf9,_0x24122a),_0x238358=_0x294f51[_0x3745c9(0x474)](),_0x32b735={};for(const {dataField:_0x4e175d,index:_0x5acf4e}of _0x29d085){_0x4e175d[_0x3745c9(0x340)]();const _0x1edd01=this['getMatrixValue'](_0x2f5d21,void 0x0,void 0x0,_0x2e686c,_0x110731+_0x5acf4e);let _0x386779=this[_0x3745c9(0x3b4)](_0x1edd01,_0x238358,_0x32b735);_0x3fd852[_0x3745c9(0x273)](_0x386779)&&(_0x386779=_0x1595a8['numfmt'][_0x3745c9(0x2be)](_0x386779['f'],Number(_0x386779['v'])));const _0x3fa101=this[_0x3745c9(0x31e)](_0x386779,_0x110731+_0x5acf4e);_0x4e175d[_0x3745c9(0x350)](_0x3fa101);}_0x40baad[_0x3745c9(0x175)]();for(let _0x47ac4a=_0x2e686c+0x1;_0x47ac4a<=_0x7cf33d;_0x47ac4a++)for(const {index:_0x28db1d,dataField:_0x5c7341}of _0x29d085){const _0x4ab650=_0x2f5d21[_0x3745c9(0x289)](_0x47ac4a,_0x110731+_0x28db1d);_0x5c7341[_0x3745c9(0x337)](this[_0x3745c9(0x3b4)](_0x4ab650,_0x238358,_0x32b735),_0x47ac4a-0x1-_0x2e686c);}_0x40baad[_0x3745c9(0x3c1)](_0x7cf33d-_0x2e686c);}['getRangeKeyList'](_0x4d98d6){const _0x31f62d=_0x4bebf8,{range:_0x35e778}=_0x4d98d6,{startColumn:_0x11f40e,endColumn:_0x13c033}=_0x35e778,_0x175ac9=[];for(let _0x4ca123=_0x11f40e;_0x4ca123<=_0x13c033;_0x4ca123++)_0x175ac9['push'](this[_0x31f62d(0x396)](_0x4d98d6,_0x4ca123));return _0x175ac9;}[_0x4bebf8(0x3b4)](_0xc2f510,_0x260fa0,_0x13b387){const _0x4dd18a=_0x4bebf8;if(_0xc2f510){const {s:_0x4d3aaf,v:_0x4dddc1,t:_0x35cb84,p:_0x261ce4}=_0xc2f510;if(_0x261ce4)return _0x3b0de1(_0x261ce4);const _0x5c0265=_0x260fa0[_0x4dd18a(0x335)](_0x4d3aaf);if(_0x5c0265&&_0x35cb84===_0x1595a8[_0x4dd18a(0x18e)]['NUMBER']&&_0x5c0265['n']){const {pattern:_0x39e9a1}=_0x5c0265['n'];_0x13b387[_0x39e9a1]||(_0x13b387[_0x39e9a1]=_0x1595a8[_0x4dd18a(0x1bb)]['getInfo'](_0x39e9a1));const _0x5c6346=_0x13b387[_0x39e9a1],_0x40f102=_0x5c6346[_0x4dd18a(0x332)];if(_0x5c6346['isText'])return String(_0x4dddc1);if(_0x40f102)return{'v':_0x4dddc1,'f':_0x39e9a1};}if(_0x35cb84===_0x1595a8['CellValueType'][_0x4dd18a(0x19a)])return Number(_0x4dddc1);if(_0x35cb84===_0x1595a8[_0x4dd18a(0x18e)][_0x4dd18a(0x292)]||_0x35cb84===_0x1595a8[_0x4dd18a(0x18e)][_0x4dd18a(0x483)])return String(_0x4dddc1);if(_0x35cb84===void 0x0){const _0xbe4a83=Number(_0x4dddc1);if(!Number['isNaN'](_0xbe4a83)&&String(_0xbe4a83)===_0x4dddc1)return _0xbe4a83;}return _0x4dddc1!=null?_0x4dddc1:null;}else return null;}[_0x4bebf8(0x2e6)](_0x21ede9){const _0x3ffab6=_0x4bebf8,{sheetName:_0x4edc55,range:_0x4bf796,unitId:_0x18b350}=_0x21ede9,_0x5ef0e5=this[_0x3ffab6(0x479)][_0x3ffab6(0x3c7)](_0x18b350);if(!_0x5ef0e5)return console['error'](_0x3ffab6(0x417)),{'header':[],'data':[]};const _0x6cbc7a=_0x5ef0e5[_0x3ffab6(0x42d)](_0x4edc55),_0x32b48a=_0x6cbc7a[_0x3ffab6(0x40e)](),{startRow:_0x4af43b,startColumn:_0x64478b,endRow:_0x46bd79,endColumn:_0x5967b4}=this['getRangeStartEndInfo'](_0x4bf796,_0x6cbc7a),_0x5dc9e6=_0x5ef0e5['getStyles'](),_0x34b7e5=[],_0x25046a=[],_0x80b375={};for(let _0x4d95a5=_0x4af43b;_0x4d95a5<=_0x46bd79;_0x4d95a5++){const _0x306b30=[];for(let _0x4c7b76=_0x64478b;_0x4c7b76<=_0x5967b4;_0x4c7b76++){const _0x63698e=_0x32b48a[_0x3ffab6(0x289)](_0x4d95a5,_0x4c7b76);_0x4d95a5===_0x4af43b?_0x34b7e5[_0x3ffab6(0x428)](_0x63698e==null?null:String(_0x63698e['v'])):_0x306b30[_0x3ffab6(0x428)](this[_0x3ffab6(0x3b4)](_0x63698e,_0x5dc9e6,_0x80b375));}_0x25046a['push'](_0x306b30);}return{'header':_0x34b7e5,'data':_0x25046a};}[_0x4bebf8(0x249)](){const _0x5ac17f=_0x4bebf8;return super[_0x5ac17f(0x249)]();}['fromJSON'](_0x19ab8a){const _0x1848dc=_0x4bebf8;super['fromJSON'](_0x19ab8a),this[_0x1848dc(0x39f)]();}[_0x4bebf8(0x342)](){const _0x143b4a=_0x4bebf8;super[_0x143b4a(0x342)](),this[_0x143b4a(0x38b)]={},this[_0x143b4a(0x2c3)]=null;}}const _0x32deeb=_0x30b78d=>{const _0x2e8dff=_0x4bebf8,{targetCellInfo:_0x1a000a}=_0x30b78d,{matrixCache:_0x54749c,rangesCache:_0x173f0e}=_0x44b39f({'filter':_0x2e8dff(0x399),'row':'Row','column':_0x2e8dff(0x30f),'values':_0x2e8dff(0x1b9)},_0x1a000a),_0xc2abd2=new _0x1595a8[(_0x2e8dff(0x37b))]();return _0x54749c[_0x2e8dff(0x214)]((_0x5c9850,_0x2f724d,_0x4d8da8)=>{const _0x25e581=_0x2e8dff;_0xc2abd2[_0x25e581(0x450)](_0x5c9850,_0x2f724d,_0x4d8da8);}),{'matrix':_0xc2abd2,'rangesCache':_0x173f0e};},_0x49ebcb=_0x2efad4=>{const _0x3db272=_0x4bebf8;let _0x376e56;if(_0x2efad4!=null&&_0x2efad4['v']||(_0x2efad4==null?void 0x0:_0x2efad4['v'])===0x0){_0x376e56||(_0x376e56={});const _0x22744d=_0x4b043b(_0x2efad4['v']);typeof _0x22744d=='number'?_0x376e56['t']=_0x1595a8[_0x3db272(0x18e)]['NUMBER']:typeof _0x22744d==_0x3db272(0x243)&&(_0x376e56['t']=_0x1595a8['CellValueType'][_0x3db272(0x292)]),_0x376e56['v']=_0x22744d;}return _0x376e56;},_0x414199=(_0x1d463c,_0x3ad0ad,_0xd7e3c6)=>{const _0x4dad53=_0x4bebf8;var _0x540abf,_0x3c7eb2,_0x14f249,_0x5228d9,_0x5313fe,_0x5d7429,_0x5b1b53,_0x14a2fa,_0x8567a2,_0x463ea6,_0xcd85d1,_0x2f2a24;const {cornerView:_0x5a7233,rowView:_0xb5431f,colView:_0x1e848f,dataView:_0x3d5f86,pageView:_0x164b55,formatMap:_0x2d0122}=_0x1d463c,{row:_0x24597b,col:_0x4a40eb}=_0x3ad0ad,_0x240e6c=new _0x1595a8['ObjectMatrix']();let _0x1256d5=_0x24597b,_0x53efe3=_0x4a40eb;Object[_0x4dad53(0x201)](_0x164b55['data'])[_0x4dad53(0x2f1)](_0xde1aa8=>{const _0x5e1dbc=_0x4dad53;Object[_0x5e1dbc(0x201)](_0x164b55[_0x5e1dbc(0x1a8)][Number(_0xde1aa8)])[_0x5e1dbc(0x2f1)](_0x238371=>{const _0x4e04e4=_0x5e1dbc,_0x1ecb6d={..._0x164b55[_0x4e04e4(0x1a8)][Number(_0xde1aa8)][Number(_0x238371)]};_0x240e6c['setValue'](Number(_0xde1aa8)+_0x1256d5,Number(_0x238371)+_0x53efe3,_0x49ebcb(_0x1ecb6d));});});const _0x599fed=Object[_0x4dad53(0x201)](_0x164b55[_0x4dad53(0x1a8)])[_0x4dad53(0x26f)];_0x1256d5+=_0x599fed+(_0x599fed?_0x351178:0x0);const _0x500c23=_0x5a7233[_0x4dad53(0x25c)](),_0x4ba62f=_0x5a7233['getColCount']();for(let _0x116389=0x0;_0x116389<_0x500c23;_0x116389++)for(let _0x383c81=0x0;_0x383c81<_0x4ba62f;_0x383c81++){const _0x5ea55b={...(_0x3c7eb2=(_0x540abf=_0x5a7233[_0x4dad53(0x1a8)])==null?void 0x0:_0x540abf[_0x116389])==null?void 0x0:_0x3c7eb2[_0x383c81]};_0x5ea55b&&((_0x14f249=_0xb5431f[_0x4dad53(0x427)][_0x383c81])!=null&&_0x14f249[_0x4dad53(0x285)])&&_0x383c81===_0x4ba62f-0x1&&_0x116389===_0x500c23-0x1&&(_0x5ea55b['v']=''+_0xd7e3c6[_0x4dad53(0x306)]),_0x240e6c[_0x4dad53(0x450)](_0x116389+_0x1256d5,_0x383c81+_0x53efe3,_0x49ebcb(_0x5ea55b));}_0x53efe3+=_0x4ba62f;const _0xa897fa=_0x1e848f[_0x4dad53(0x427)],_0x541102=_0x1e848f[_0x4dad53(0x388)]()>=0x0?_0x1e848f[_0x4dad53(0x388)]()+0x1:0x0,_0x4cfb6b=_0x1e848f[_0x4dad53(0x3fc)]()>=0x0?_0x1e848f[_0x4dad53(0x3fc)]()+0x1:0x0;for(let _0x37be0a=0x0;_0x37be0a<_0x4cfb6b;_0x37be0a++)for(let _0x43e919=0x0;_0x43e919<_0x541102;_0x43e919++){const _0x2f75ac={...(_0x5313fe=(_0x5228d9=_0x1e848f[_0x4dad53(0x1a8)])==null?void 0x0:_0x5228d9[_0x37be0a])==null?void 0x0:_0x5313fe[_0x43e919]},_0x13c2bb=(_0x5d7429=_0xa897fa[_0x37be0a])==null?void 0x0:_0x5d7429[_0x4dad53(0x370)],_0x9ef50d=_0x2d0122[_0x13c2bb];_0x2f75ac&&(_0x2f75ac['v']=_0x50b7fc(_0x2f75ac,_0x37be0a===0x0&&((_0x5b1b53=_0x1e848f[_0x4dad53(0x2ac)](_0x43e919+0x1))==null?void 0x0:_0x5b1b53['isValue']),_0x9ef50d,_0xd7e3c6)),_0x240e6c[_0x4dad53(0x450)](_0x37be0a+_0x1256d5,_0x43e919+_0x53efe3,_0x49ebcb(_0x2f75ac));}_0x1256d5+=_0x500c23;const _0x2a2dd5=_0xb5431f[_0x4dad53(0x427)],_0x461c63=_0xb5431f[_0x4dad53(0x388)]()>=0x0?_0xb5431f[_0x4dad53(0x388)]()+0x1:0x0,_0x2cb84e=_0xb5431f[_0x4dad53(0x3fc)]()>=0x0?_0xb5431f['getLastCol']()+0x1:0x0;for(let _0x92d66b=0x0;_0x92d66b<_0x461c63;_0x92d66b++)for(let _0x35516c=0x0;_0x35516c<_0x2cb84e;_0x35516c++){const _0x36946a={...(_0x8567a2=(_0x14a2fa=_0xb5431f['data'])==null?void 0x0:_0x14a2fa[_0x92d66b])==null?void 0x0:_0x8567a2[_0x35516c]},_0x5e604a=(_0x463ea6=_0x2a2dd5[_0x35516c])==null?void 0x0:_0x463ea6[_0x4dad53(0x370)],_0x482cba=_0x2d0122[_0x5e604a];_0x36946a&&(_0x36946a['v']=_0x50b7fc(_0x36946a,!0x1,_0x482cba,_0xd7e3c6)),_0x240e6c[_0x4dad53(0x450)](_0x92d66b+_0x1256d5,_0x35516c+_0x4a40eb,_0x49ebcb(_0x36946a));}const _0x3818c9=_0x3d5f86[_0x4dad53(0x25c)](),_0x381cf3=_0x3d5f86[_0x4dad53(0x2dc)]();for(let _0x3af332=0x0;_0x3af332<_0x3818c9;_0x3af332++)for(let _0xaae331=0x0;_0xaae331<_0x381cf3;_0xaae331++){const _0x4a4069={...(_0x2f2a24=(_0xcd85d1=_0x3d5f86['data'])==null?void 0x0:_0xcd85d1[_0x3af332])==null?void 0x0:_0x2f2a24[_0xaae331]};_0x240e6c[_0x4dad53(0x450)](_0x3af332+_0x1256d5,_0xaae331+_0x53efe3,_0x49ebcb(_0x4a4069));}return _0x240e6c;},_0x1a062d=_0x562003=>{const _0xa14efb=_0x4bebf8,{view:_0x426e81,targetCellInfo:_0x2795be,isEmpty:_0x1e1c51,textInfo:_0x19fcd4}=_0x562003;if(_0x1e1c51)return _0x32deeb(_0x562003);const {pageView:_0x5ce13e,cornerView:_0x15ad19,rowView:_0x3c4663,colView:_0x43b1ea,dataView:_0x302983}=_0x426e81,_0x3eff38=_0x27a961(_0x2795be,_0x5ce13e,!0x0),_0x197da1=_0x5ce13e['lastRow']>=0x0?_0x5ce13e['lastRow']+0x1:0x0,_0xdb4b33=_0x15ad19['getRowCount'](),_0x235eee=_0x15ad19[_0xa14efb(0x2dc)](),_0x509722=_0x3eff38[_0xa14efb(0x26f)]>0x0?_0x351178:0x0,_0x5471fb=_0x27a961({'row':_0x2795be[_0xa14efb(0x1e6)]+_0x197da1+_0x509722,'col':_0x2795be[_0xa14efb(0x28c)]},_0x15ad19,!0x1,!0x1),_0x1331d5=_0x27a961({'row':_0x2795be[_0xa14efb(0x1e6)]+_0x197da1+_0x509722+_0xdb4b33,'col':_0x2795be[_0xa14efb(0x28c)]},_0x3c4663,!0x1,!0x0),_0x47c949=_0x27a961({'row':_0x2795be[_0xa14efb(0x1e6)]+_0x197da1+_0x509722,'col':_0x2795be[_0xa14efb(0x28c)]+_0x235eee},_0x43b1ea,!0x1,!0x0),_0x2a2626=_0x27a961({'row':_0x2795be['row']+_0x197da1+_0x509722+_0xdb4b33,'col':_0x2795be[_0xa14efb(0x28c)]+_0x235eee},_0x302983,!0x1,!0x1),_0x4a9021={'rowRanges':_0x1331d5,'colRanges':_0x47c949,'cornerRanges':_0x5471fb,'dataRanges':_0x2a2626,'pageRanges':_0x3eff38};return{'matrix':_0x414199(_0x426e81,_0x2795be,_0x19fcd4),'rangesCache':_0x4a9021};};var _0x156d99=Object[_0x4bebf8(0x195)],_0x282429=(_0x41950f,_0xcf43c5,_0x4aa486,_0x2061dc)=>{const _0x9ff0af=_0x4bebf8;for(var _0x58d66f=_0x2061dc>0x1?void 0x0:_0x2061dc?_0x156d99(_0xcf43c5,_0x4aa486):_0xcf43c5,_0x3103ac=_0x41950f[_0x9ff0af(0x26f)]-0x1,_0x21a8ac;_0x3103ac>=0x0;_0x3103ac--)(_0x21a8ac=_0x41950f[_0x3103ac])&&(_0x58d66f=_0x21a8ac(_0x58d66f)||_0x58d66f);return _0x58d66f;},_0x398482=(_0x16a1a4,_0xf1fe64)=>(_0x1366b8,_0x463197)=>_0xf1fe64(_0x1366b8,_0x463197,_0x16a1a4);_0x4d544a['SheetsPivotDataSourceModel']=class extends _0x1595a8['Disposable']{constructor(_0xef8245,_0x52e1cc,_0x354099,_0x3160f1,_0x1da947,_0x5a7664){const _0x31e833=_0x4bebf8;super(),_0x3bae97(this,_0x31e833(0x2e7),new Map()),_0x3bae97(this,_0x31e833(0x278),new Map()),_0x3bae97(this,'_viewData',new Map()),_0x3bae97(this,_0x31e833(0x29e)),_0x3bae97(this,_0x31e833(0x369),new _0xde8205['Subject']()),_0x3bae97(this,_0x31e833(0x21b),this[_0x31e833(0x369)][_0x31e833(0x2c0)]()),_0x3bae97(this,_0x31e833(0x1da),new _0xde8205[(_0x31e833(0x19d))]()),_0x3bae97(this,_0x31e833(0x329),this[_0x31e833(0x1da)][_0x31e833(0x2c0)]()),_0x3bae97(this,_0x31e833(0x282),new _0xde8205[(_0x31e833(0x19d))]()),_0x3bae97(this,'fieldsCollectionChange$',this[_0x31e833(0x282)]['asObservable']()),_0x3bae97(this,'_dataFieldManagerCollection',new Map()),_0x3bae97(this,'needSameDeleteModel',[]),_0x3bae97(this,_0x31e833(0x3e4),new Map()),(this['_injector']=_0xef8245,this[_0x31e833(0x479)]=_0x52e1cc,this[_0x31e833(0x486)]=_0x354099,this[_0x31e833(0x463)]=_0x3160f1,this[_0x31e833(0x1ab)]=_0x1da947,this[_0x31e833(0x349)]=_0x5a7664,this[_0x31e833(0x310)]());}[_0x4bebf8(0x279)](){const _0x1e44dd=_0x4bebf8;return this[_0x1e44dd(0x29e)]?this[_0x1e44dd(0x29e)]:_0x237a65;}[_0x4bebf8(0x485)](_0x5e6f61){const _0x435bde=_0x4bebf8;this[_0x435bde(0x29e)]=_0x5e6f61;}[_0x4bebf8(0x363)](_0xa27606){const _0x30e84b=_0x4bebf8;var _0x33e130;const {from:_0xa0fbb8,to:_0x5ab67c,unitId:_0x380f6f,fromRange:_0x4c5463,toRange:_0x4823b7}=_0xa27606;if(_0xa0fbb8&&_0x5ab67c){const _0x17f728=this[_0x30e84b(0x34a)](_0x380f6f),_0x10a53d=this['_model'][_0x30e84b(0x335)](_0x380f6f),_0x99e3a5=(_0x33e130=this[_0x30e84b(0x479)][_0x30e84b(0x3c7)](_0x380f6f))==null?void 0x0:_0x33e130['getSheetBySheetId'](_0x5ab67c[_0x30e84b(0x1b5)]);if(!_0x10a53d||!_0x99e3a5)return;const _0x329c80=_0x99e3a5==null?void 0x0:_0x99e3a5[_0x30e84b(0x23f)]();for(const [_0x3fc95f,_0x29a9aa]of _0x10a53d['entries']())for(const [_0x4536eb,_0x301baa]of _0x29a9aa['entries']()){const {sourceRangeInfo:_0x5f3e76}=_0x301baa;if(_0x5f3e76[_0x30e84b(0x2fd)]===_0x380f6f&&_0x5f3e76[_0x30e84b(0x1b5)]===_0xa0fbb8[_0x30e84b(0x1b5)]&&_0x1595a8['Rectangle'][_0x30e84b(0x481)](_0x4c5463,_0x5f3e76[_0x30e84b(0x240)])){const _0x1adf9d={'row':_0x5f3e76[_0x30e84b(0x240)][_0x30e84b(0x1bc)]-_0x4c5463[_0x30e84b(0x1bc)],'col':_0x5f3e76[_0x30e84b(0x240)]['startColumn']-_0x4c5463[_0x30e84b(0x408)]},_0x3ff3aa={'unitId':_0x380f6f,'subUnitId':_0x5ab67c[_0x30e84b(0x1b5)],'sheetName':_0x329c80,'range':{'startRow':_0x4823b7['startRow']+_0x1adf9d[_0x30e84b(0x1e6)],'endRow':_0x4823b7['startRow']+_0x1adf9d[_0x30e84b(0x1e6)]+_0x5f3e76['range']['endRow']-_0x5f3e76[_0x30e84b(0x240)][_0x30e84b(0x1bc)],'startColumn':_0x4823b7[_0x30e84b(0x408)]+_0x1adf9d[_0x30e84b(0x28c)],'endColumn':_0x4823b7[_0x30e84b(0x408)]+_0x1adf9d['col']+_0x5f3e76[_0x30e84b(0x240)]['endColumn']-_0x5f3e76[_0x30e84b(0x240)][_0x30e84b(0x408)]}};_0x17f728['handleMoveRange'](_0x4536eb,_0x3ff3aa);const _0x29d440={..._0x301baa,'sourceRangeInfo':_0x3ff3aa};this[_0x30e84b(0x1d3)](_0x380f6f,_0x5ab67c[_0x30e84b(0x1b5)],_0x4536eb,_0x29d440),this[_0x30e84b(0x379)]({'unitId':_0x380f6f,'token':_0x4536eb,'type':_0x3ade2a[_0x30e84b(0x1d1)],'oldSourceRangeInfo':_0x5f3e76,'dataRangeInfo':_0x3ff3aa,'targetCellInfo':_0x301baa['targetCellInfo']}),this[_0x30e84b(0x475)]({'unitId':_0x380f6f,'subUnitId':_0x5ab67c[_0x30e84b(0x1b5)],'oldSubUnitId':_0x3fc95f,'pivotTableId':_0x4536eb,'pivotTableConfig':_0x29d440,'collectionConfig':_0x17f728[_0x30e84b(0x249)]()});}}}}[_0x4bebf8(0x379)](_0x70143d){const _0x51c074=_0x4bebf8;this['_collectionChange$'][_0x51c074(0x372)](_0x70143d);}['getDataFieldManager'](_0x1c7e25){const _0x5b7912=_0x4bebf8;let _0x2deb3e=this[_0x5b7912(0x1cb)][_0x5b7912(0x335)](_0x1c7e25);return _0x2deb3e||(_0x2deb3e=new _0x557167(this,this[_0x5b7912(0x479)]),this['_dataFieldManagerCollection']['set'](_0x1c7e25,_0x2deb3e)),_0x2deb3e;}[_0x4bebf8(0x35a)](_0x1b9852,_0x4b6b62){const _0x39cc0e=_0x4bebf8;return this[_0x39cc0e(0x34a)](_0x1b9852)[_0x39cc0e(0x41d)][_0x4b6b62];}[_0x4bebf8(0x2bc)](_0x2e7ff9,_0x2a26d1,_0x3e69e6){const _0x5ef046=_0x4bebf8;return this[_0x5ef046(0x34a)](_0x2e7ff9)['getUpdateRangeDeleteIds'](_0x2a26d1,_0x3e69e6);}[_0x4bebf8(0x42c)](_0x431b35,_0x535e42){const _0x5c5950=_0x4bebf8;let _0x175e74=this[_0x5c5950(0x2e7)][_0x5c5950(0x335)](_0x431b35);_0x175e74||(_0x175e74=new Map(),this[_0x5c5950(0x2e7)][_0x5c5950(0x2e3)](_0x431b35,_0x175e74));let _0x51d410=_0x175e74[_0x5c5950(0x335)](_0x535e42);return _0x51d410||(_0x51d410=new Map(),_0x175e74[_0x5c5950(0x2e3)](_0x535e42,_0x51d410)),_0x51d410;}[_0x4bebf8(0x1d3)](_0x9216da,_0x3913f5,_0x499f31,_0x4bf215){const _0x4606f3=_0x4bebf8;this['_ensurePivotMap'](_0x9216da,_0x3913f5)[_0x4606f3(0x2e3)](_0x499f31,_0x4bf215);}[_0x4bebf8(0x322)](_0x79fda1,_0x37ee2e,_0x2769b1){const _0x747729=_0x4bebf8;var _0x3e397d,_0x1b1410,_0x272b3a,_0x2acab9;((_0x1b1410=(_0x3e397d=this[_0x747729(0x2e7)][_0x747729(0x335)](_0x79fda1))==null?void 0x0:_0x3e397d[_0x747729(0x335)](_0x37ee2e))==null?void 0x0:_0x1b1410[_0x747729(0x335)](_0x2769b1))&&((_0x2acab9=(_0x272b3a=this[_0x747729(0x2e7)][_0x747729(0x335)](_0x79fda1))==null?void 0x0:_0x272b3a[_0x747729(0x335)](_0x37ee2e))==null||_0x2acab9[_0x747729(0x44a)](_0x2769b1));}[_0x4bebf8(0x314)](_0x4567fe,_0x2f7ba8){const _0x209377=_0x4bebf8;this[_0x209377(0x278)]['set'](_0x4567fe,_0x2f7ba8);}[_0x4bebf8(0x19e)](_0xc010b0){const _0x280939=_0x4bebf8;this[_0x280939(0x278)][_0x280939(0x44a)](_0xc010b0);}[_0x4bebf8(0x3a6)](_0xbe29d6,_0x14d90d){const _0x2d2219=_0x4bebf8;let _0xef71fe=this['_viewData'][_0x2d2219(0x335)](_0xbe29d6);_0xef71fe||(_0xef71fe=new Map(),this[_0x2d2219(0x377)][_0x2d2219(0x2e3)](_0xbe29d6,_0xef71fe));let _0x2e65ca=_0xef71fe[_0x2d2219(0x335)](_0x14d90d);return _0x2e65ca||(_0x2e65ca=new Map(),_0xef71fe[_0x2d2219(0x2e3)](_0x14d90d,_0x2e65ca)),_0x2e65ca;}['updateConfig'](_0x2ed45a){const _0x2dfd30=_0x4bebf8,{unitId:_0x4663c0,subUnitId:_0x5e7914,pivotTableId:_0x486a61,pivotTableConfig:_0x119de9,collectionConfig:_0x4fb088}=_0x2ed45a,_0x222206={'unitId':_0x4663c0,'subUnitId':_0x5e7914,'oldSubUnitId':_0x5e7914,'pivotTableId':_0x486a61,'pivotTableConfig':_0x119de9,'collectionConfig':_0x4fb088};this[_0x2dfd30(0x1ab)]['executeCommand'](_0x32935e['id'],_0x222206,{'onlyLocal':!0x0});}[_0x4bebf8(0x435)](_0x4ffdb5,_0xdf60ae,_0x1fb2c5,_0x35afdc,_0x51163a,_0x1e2965,_0x3e8634,_0x15f33d=!0x1){const _0x5f042f=_0x4bebf8;var _0x1d0324;this[_0x5f042f(0x1ab)]['executeCommand'](_0x375c56['id'],{'single':{'unitId':_0x4ffdb5,'subUnitId':_0xdf60ae,'type':_0x1fb2c5,'pivotTableId':_0x35afdc,'view':_0x51163a,'pivotConfig':_0x1e2965},'collectionConfig':{[_0x4ffdb5]:_0x3e8634}},{'onlyLocal':!0x0});const _0x4d9c79=!!((_0x1d0324=this[_0x5f042f(0x464)](_0x35afdc))!=null&&_0x1d0324[_0x5f042f(0x401)]()),_0x333b11=this[_0x5f042f(0x1a1)](_0x4ffdb5,_0xdf60ae,_0x35afdc);_0x333b11&&this[_0x5f042f(0x24f)]({'view':_0x51163a,'pivotTableId':_0x35afdc,'textInfo':this[_0x5f042f(0x279)](),'isEmpty':_0x4d9c79,'targetCellInfo':_0x333b11['targetCellInfo']},_0x15f33d);}['updateViewData'](_0x382a3a,_0x473779){const _0x2bd91c=_0x4bebf8,{targetCellInfo:_0x518bd5,pivotTableId:_0x39a475}=_0x382a3a,{unitId:_0x5c3c1c,subUnitId:_0x157b0b}=_0x518bd5,_0x14d93d=this[_0x2bd91c(0x3a6)](_0x5c3c1c,_0x157b0b),_0x8067e6=_0x14d93d[_0x2bd91c(0x335)](_0x39a475);let _0x4ad71e,_0x309a98;_0x8067e6&&(_0x4ad71e=_0x8067e6[_0x2bd91c(0x40b)],_0x309a98=_0x8067e6[_0x2bd91c(0x24e)]);const {rangesCache:_0x4cf935,matrix:_0x29ac31}=_0x1a062d(_0x382a3a);_0x14d93d[_0x2bd91c(0x2e3)](_0x39a475,{'rangeCache':_0x4cf935,'matrix':_0x29ac31,'oldMatrix':_0x309a98,'oldRangeCache':_0x4ad71e}),_0x473779||this[_0x2bd91c(0x1da)][_0x2bd91c(0x372)]({'unitId':_0x5c3c1c,'subUnitId':_0x157b0b,'pivotTableId':_0x39a475});}[_0x4bebf8(0x1e3)](_0x27b139,_0x3a2279,_0x393b9f,_0x5d675b,_0x506c29){const _0x32c93b=_0x4bebf8;this['_updateModelCache'](_0x27b139,_0x3a2279,_0x393b9f,_0x506c29),this[_0x32c93b(0x314)](_0x393b9f,_0x5d675b);}[_0x4bebf8(0x3d1)](_0x4f6c65,_0x1892ba,_0x4d4e18){const _0xb5aa31=_0x4bebf8,_0x436ab3=this['getDataFieldManager'](_0x4f6c65);_0x436ab3[_0xb5aa31(0x47d)](_0x4d4e18)[_0xb5aa31(0x2f1)](_0x561474=>{const _0x16c125=_0xb5aa31;_0x436ab3[_0x16c125(0x24b)](_0x561474);}),this[_0xb5aa31(0x275)](_0x4f6c65,_0x4d4e18),this[_0xb5aa31(0x322)](_0x4f6c65,_0x1892ba,_0x4d4e18),this[_0xb5aa31(0x19e)](_0x4d4e18);}[_0x4bebf8(0x434)](_0x82d862,_0x208fbf,_0x5d314d,_0x242f8e){this['_updateModelCache'](_0x82d862,_0x208fbf,_0x5d314d,_0x242f8e);}[_0x4bebf8(0x1a1)](_0x31fe4f,_0x2a0110,_0xf39f4e){const _0x321cb0=_0x4bebf8;var _0x29a96e,_0x39cd75;const _0x1cf38f=(_0x39cd75=(_0x29a96e=this[_0x321cb0(0x2e7)][_0x321cb0(0x335)](_0x31fe4f))==null?void 0x0:_0x29a96e[_0x321cb0(0x335)](_0x2a0110))==null?void 0x0:_0x39cd75[_0x321cb0(0x335)](_0xf39f4e);if(_0x1cf38f)return _0x1cf38f;}[_0x4bebf8(0x209)](_0x4c024b,_0x4a118e,_0x5f380c){const _0x217634=_0x4bebf8;var _0xff2b13,_0x141bd5;const _0x5d81ba=(_0x141bd5=(_0xff2b13=this[_0x217634(0x2e7)]['get'](_0x4c024b))==null?void 0x0:_0xff2b13[_0x217634(0x335)](_0x4a118e))==null?void 0x0:_0x141bd5[_0x217634(0x335)](_0x5f380c);if(_0x5d81ba)return _0x5d81ba['fieldsConfig'];}[_0x4bebf8(0x464)](_0x2ca58d){const _0x2e95be=_0x4bebf8;return this[_0x2e95be(0x278)][_0x2e95be(0x335)](_0x2ca58d);}[_0x4bebf8(0x432)](_0x381813){const _0x1751ff=_0x4bebf8;this[_0x1751ff(0x2e7)]['delete'](_0x381813);const _0x46a168=this['_dataFieldManagerCollection'][_0x1751ff(0x335)](_0x381813);_0x46a168&&(_0x46a168['dispose'](),this['_dataFieldManagerCollection'][_0x1751ff(0x44a)](_0x381813)),this[_0x1751ff(0x377)][_0x1751ff(0x44a)](_0x381813),this[_0x1751ff(0x414)][_0x1751ff(0x2f1)](_0x15dee5=>{const _0x30a7e8=_0x1751ff;_0x15dee5[_0x30a7e8(0x432)](_0x381813);});}[_0x4bebf8(0x303)](_0x9390ef,_0x353c0b,_0x4d4b85,_0x4e6404){const _0x58d5af=_0x4bebf8;return this[_0x58d5af(0x34a)](_0x4d4b85['unitId'])[_0x58d5af(0x303)](_0x9390ef,_0x353c0b,_0x4d4b85,_0x4e6404);}[_0x4bebf8(0x19f)](_0x315ad4){const _0x52089c=_0x4bebf8;return this['getDataFieldManager'](_0x315ad4[_0x52089c(0x2fd)])[_0x52089c(0x19f)](_0x315ad4);}[_0x4bebf8(0x31f)](_0x35189f,_0x5e8d52,_0x4ccc4d){const _0x228f40=_0x4bebf8;this[_0x228f40(0x34a)](_0x4ccc4d[_0x228f40(0x2fd)])[_0x228f40(0x31f)](_0x35189f,_0x5e8d52,_0x4ccc4d);}[_0x4bebf8(0x3af)](_0x5b94a3,_0x1b8154){const _0x1f54ad=_0x4bebf8;this[_0x1f54ad(0x34a)](_0x5b94a3)['deleteDataField'](_0x1b8154);}['removeCollections'](_0x2e0203,_0xe339e9){const _0x52bd6f=_0x4bebf8;this['getDataFieldManager'](_0x2e0203)[_0x52bd6f(0x43d)](_0xe339e9);}['getSubUnitPivotConfigs'](_0x239f22,_0x6b5b51){const _0x349d86=_0x4bebf8;var _0x128af1;return(_0x128af1=this[_0x349d86(0x2e7)][_0x349d86(0x335)](_0x239f22))==null?void 0x0:_0x128af1[_0x349d86(0x335)](_0x6b5b51);}[_0x4bebf8(0x2bf)](_0x4135a7){const _0x3b389a=_0x4bebf8;for(const [_0x285b2e,_0x190b86]of this[_0x3b389a(0x2e7)]['entries']())for(const [_0x3f647f,_0x30cc95]of _0x190b86['entries']())if(_0x30cc95[_0x3b389a(0x421)](_0x4135a7))return{'unitId':_0x285b2e,'subUnitId':_0x3f647f};return null;}['sideEffectUpdateWorkerCache'](_0x51780d,_0x317dc3,_0x46db74,_0x1ed343){const _0x3c9410=_0x4bebf8,_0x32eaa3=this[_0x3c9410(0x3a6)](_0x51780d,_0x317dc3);_0x1ed343?_0x32eaa3['set'](_0x46db74,_0x1ed343):_0x32eaa3[_0x3c9410(0x44a)](_0x46db74),this['_viewData$'][_0x3c9410(0x372)]({'unitId':_0x51780d,'subUnitId':_0x317dc3,'pivotTableId':_0x46db74});}[_0x4bebf8(0x342)](){super['dispose']();}[_0x4bebf8(0x3db)](_0x367f24,_0x1be389,_0xe1f50c){const _0x584443=_0x4bebf8;var _0x159694,_0x3d4a36;const _0x2cf5d9=(_0x3d4a36=(_0x159694=this[_0x584443(0x377)][_0x584443(0x335)](_0x367f24))==null?void 0x0:_0x159694['get'](_0x1be389))==null?void 0x0:_0x3d4a36[_0x584443(0x335)](_0xe1f50c);return _0x2cf5d9||null;}['addDirtyPivotTable'](_0x1b4254){const _0x495bc2=_0x4bebf8;this[_0x495bc2(0x2ff)](_0x1b4254);}[_0x4bebf8(0x2ff)](_0x8eeaf1){const _0x413a58=_0x4bebf8,{token:_0x1493ab,unitId:_0x2f46b2,subUnitId:_0xafc793}=_0x8eeaf1,_0x2edf9e=_0x2f46b2+'-'+_0xafc793+'-'+_0x1493ab;this[_0x413a58(0x3e4)][_0x413a58(0x335)](_0x2edf9e)&&clearTimeout(this[_0x413a58(0x3e4)][_0x413a58(0x335)](_0x2edf9e));const _0x51231d=setTimeout(()=>{const _0x44e5e1=_0x413a58;this['queryDirtyPivotTable'](_0x8eeaf1),this['_queryingMap'][_0x44e5e1(0x44a)](_0x2edf9e);},_0x1e537b);this['_queryingMap']['set'](_0x2edf9e,_0x51231d);}[_0x4bebf8(0x2e2)](_0x27f3e3){const _0x35a130=_0x4bebf8,{unitId:_0x1ce1b0,subUnitId:_0x2760d5,token:_0x42832f,type:_0x48bace,pivotConfig:_0x22fae1}=_0x27f3e3,_0x495636=this['getPivotTableInstance'](_0x42832f),_0x103f1e=_0x495636==null?void 0x0:_0x495636[_0x35a130(0x2dd)](),_0x1f4e19=_0x22fae1!=null?_0x22fae1:this[_0x35a130(0x1a1)](_0x1ce1b0,_0x2760d5,_0x42832f);_0x1f4e19&&(_0x1f4e19['isEmpty']=!!(_0x495636!=null&&_0x495636[_0x35a130(0x401)]())),(_0x103f1e||_0x48bace===_0xd7fa82[_0x35a130(0x17e)])&&this[_0x35a130(0x435)](_0x1ce1b0,_0x2760d5,_0x48bace,_0x42832f,_0x103f1e,_0x1f4e19,this[_0x35a130(0x34a)](_0x1ce1b0)['toJSON']());}[_0x4bebf8(0x249)](_0x1e46e2){const _0x6fec19=_0x4bebf8,_0x4e991e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x6fec19(0x34a)](_0x1e46e2)&&(_0x4e991e[_0x6fec19(0x200)][_0x1e46e2]=this[_0x6fec19(0x34a)](_0x1e46e2)[_0x6fec19(0x249)]()),this[_0x6fec19(0x2e7)][_0x6fec19(0x335)](_0x1e46e2)){_0x4e991e[_0x6fec19(0x271)][_0x1e46e2]={};const _0x3b0c1b=this[_0x6fec19(0x2e7)][_0x6fec19(0x335)](_0x1e46e2);_0x3b0c1b!=null&&_0x3b0c1b[_0x6fec19(0x2f2)]&&[..._0x3b0c1b[_0x6fec19(0x201)]()][_0x6fec19(0x2f1)](_0x19dbdd=>{const _0x5eb8e2=_0x6fec19,_0x93008a=_0x3b0c1b['get'](_0x19dbdd);_0x93008a!=null&&_0x93008a[_0x5eb8e2(0x2f2)]&&(_0x4e991e[_0x5eb8e2(0x271)][_0x1e46e2][_0x19dbdd]={},[..._0x93008a['keys']()]['forEach'](_0x269392=>{const _0x36a511=_0x93008a['get'](_0x269392);_0x36a511&&(_0x4e991e['pivotTableConfigs'][_0x1e46e2][_0x19dbdd][_0x269392]=_0x36a511);}));});}return _0x4e991e;}[_0x4bebf8(0x449)](_0x2c1702){const _0x2f7b4f=_0x4bebf8;var _0x4097e8;const {dataFieldManagerConfig:_0x3c07e9,pivotTableConfigs:_0x17da35}=_0x2c1702;_0x3c07e9&&Object[_0x2f7b4f(0x201)](_0x3c07e9)[_0x2f7b4f(0x2f1)](_0x5efd86=>{const _0x24f592=_0x2f7b4f;this[_0x24f592(0x34a)](_0x5efd86)[_0x24f592(0x449)](_0x3c07e9[_0x5efd86]);});const _0x376cfc=[];if(_0x17da35){const _0x77a26e=(_0x4097e8=this[_0x2f7b4f(0x204)][_0x2f7b4f(0x335)](_0x1595a8['IConfigService'])[_0x2f7b4f(0x26b)](_0x55b4b9[_0x2f7b4f(0x18f)]))!=null?_0x4097e8:{},{ls:_0x194e96,pbk:_0x1ca589}=_0x77a26e,_0x39c5cc=_0x301c26(_0x5f566b,_0x194e96,_0x1ca589)['count'];Object[_0x2f7b4f(0x201)](_0x17da35)['forEach'](_0x11de82=>{const _0x4dd79b=_0x2f7b4f;let _0x56119d=0x0;const _0x2a040=_0x17da35[_0x11de82];Object[_0x4dd79b(0x201)](_0x2a040)['forEach'](_0x445c9d=>{const _0x299679=_0x4dd79b,_0x33bb9a=_0x2a040[_0x445c9d];Object[_0x299679(0x201)](_0x33bb9a)[_0x299679(0x2f1)](_0x31aacd=>{const _0x4cd0b2=_0x299679,_0x25d922=_0x33bb9a[_0x31aacd];if(_0x25d922){if(_0x56119d>=_0x39c5cc)return;_0x56119d++;const _0x272658=this['getDataFieldManager'](_0x11de82),_0x2f5797=_0x272658[_0x4cd0b2(0x41d)][_0x31aacd],_0xd7eee2=_0x2f5797['getFieldIds']();let _0x45df60=0x0;const _0x5d8e0e=[];for(const _0x4d050f of _0xd7eee2){const _0x6f27d9=_0x2f5797[_0x4cd0b2(0x366)](_0x4d050f);if(_0x3fd852[_0x4cd0b2(0x297)](_0x6f27d9)){const _0xf6d471=_0x6f27d9[_0x4cd0b2(0x1df)](),_0x458987=_0x2f5797[_0x4cd0b2(0x366)](_0xf6d471);_0x458987&&_0x5d8e0e[_0x4cd0b2(0x428)]([_0x6f27d9,_0x458987]);continue;}_0x272658[_0x4cd0b2(0x47e)](_0x4d050f,_0x25d922[_0x4cd0b2(0x44c)],_0x45df60),_0x45df60++;}_0x5d8e0e['forEach'](([_0x374c9d,_0x406df8])=>{_0x374c9d['refreshGroupField'](_0x406df8);});const _0x309ca8=new _0x3fd852[(_0x4cd0b2(0x3f1))](_0x2f5797);_0x309ca8['fromJSON'](_0x25d922['fieldsConfig']),this['addPivotTable'](_0x11de82,_0x445c9d,_0x31aacd,_0x309ca8,_0x25d922);const _0x511c06=_0x309ca8['query']();_0x376cfc['push']({'unitId':_0x11de82,'subUnitId':_0x445c9d,'pivotTableId':_0x31aacd,'view':_0x511c06['toJSON'](),'pivotConfig':_0x25d922,'type':_0xd7fa82[_0x4cd0b2(0x3ad)]});const _0x23f8be=!!_0x309ca8[_0x4cd0b2(0x401)](),_0xe34ce1={'view':_0x511c06,'pivotTableId':_0x31aacd,'textInfo':this['getTextInfo'](),'isEmpty':_0x23f8be,'targetCellInfo':_0x25d922['targetCellInfo']};this['updateViewData'](_0xe34ce1,!0x1);}});});});}_0x3c07e9&&Object[_0x2f7b4f(0x201)](_0x3c07e9)[_0x2f7b4f(0x2f1)](_0x45750e=>{const _0x209189=_0x2f7b4f,_0x5e48e1=this['getDataFieldManager'](_0x45750e);this[_0x209189(0x282)][_0x209189(0x372)](_0x5e48e1[_0x209189(0x41d)]);}),this[_0x2f7b4f(0x1ab)]['executeCommand'](_0x375c56['id'],{'batch':_0x376cfc,'collectionConfig':_0x3c07e9},{'onlyLocal':!0x0});}[_0x4bebf8(0x310)](){const _0x335ea0=_0x4bebf8;this['disposeWithMe'](this[_0x335ea0(0x349)][_0x335ea0(0x3f5)]({'toJson':_0x26ac25=>JSON[_0x335ea0(0x2b3)](this[_0x335ea0(0x249)](_0x26ac25)),'parseJson':_0x3675c2=>{const _0x2ac270=_0x335ea0;if(!_0x3675c2)return{};try{return JSON[_0x2ac270(0x1ac)](_0x3675c2);}catch{return{};}},'businesses':[_0x1595a8[_0x335ea0(0x43c)][_0x335ea0(0x315)]],'pluginName':_0x1b3ab2,'onLoad':(_0x1a3b0f,_0x52011b)=>{this['fromJSON'](_0x52011b);},'onUnLoad':_0x209d0c=>{const _0x2aa8b0=_0x335ea0;this[_0x2aa8b0(0x432)](_0x209d0c);}}));}},_0x4d544a[_0x4bebf8(0x20b)]=_0x282429([_0x398482(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x1ef)])),_0x398482(0x1,_0x1595a8[_0x4bebf8(0x44e)]),_0x398482(0x2,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x3d9)])),_0x398482(0x3,_0x1595a8['IConfigService']),_0x398482(0x4,_0x1595a8[_0x4bebf8(0x359)]),_0x398482(0x5,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x3a9)]))],_0x4d544a['SheetsPivotDataSourceModel']);const _0xa75e1b={0x0:{0x0:{'v':'filter','s':_0x13d88a}},0x2:{0x1:{'v':'','s':_0x13d88a},0x2:{'v':'','s':_0x13d88a},0x3:{'v':_0x4bebf8(0x326),'s':_0x13d88a},0x4:{'v':'','s':_0x13d88a},0x5:{'v':'','s':_0x13d88a}},0x3:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0x4:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0x5:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0x6:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0x7:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0x8:{0x0:{'v':'row','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':_0x4bebf8(0x476),'s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0x9:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0xa:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0xb:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0xc:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}},0xd:{0x0:{'v':'','s':_0x13d88a},0x1:{'v':'','s':_0x4cffe9},0x2:{'v':'','s':_0x4cffe9},0x3:{'v':'','s':_0x4cffe9},0x4:{'v':'','s':_0x4cffe9},0x5:{'v':'','s':_0x4cffe9}}},_0x279475={'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':[]},_0x44b39f=(_0xfaeafb,_0x5cbf96)=>{const _0x1fb28f=_0x4bebf8,_0x2ce688=new _0x1595a8[(_0x1fb28f(0x37b))](),_0x45b3b5=new _0x1595a8[(_0x1fb28f(0x37b))](_0xa75e1b),{row:_0x28d4df,col:_0x1ac8fe}=_0x5cbf96;_0x45b3b5['forValue']((_0x340c62,_0x1b3d3a,_0x4ff801)=>{const _0x95a06b=_0x1fb28f;let _0x57ba89='';_0x4ff801['v']===_0x95a06b(0x416)?_0x57ba89=_0xfaeafb[_0x95a06b(0x416)]:_0x4ff801['v']===_0x95a06b(0x1e6)?_0x57ba89=_0xfaeafb[_0x95a06b(0x1e6)]:_0x4ff801['v']==='column'?_0x57ba89=_0xfaeafb[_0x95a06b(0x326)]:_0x4ff801['v']===_0x95a06b(0x476)&&(_0x57ba89=_0xfaeafb['values']),_0x2ce688[_0x95a06b(0x450)](_0x340c62+_0x28d4df,_0x1b3d3a+_0x1ac8fe,{..._0x4ff801,'v':_0x57ba89});});const _0x1a983a=_0x1595a8[_0x1fb28f(0x336)]['deepClone'](_0x279475);return Object[_0x1fb28f(0x201)](_0x279475)[_0x1fb28f(0x2f1)](_0x3b9bab=>{const _0x45e288=_0x1fb28f;_0x1a983a[_0x3b9bab]=_0x279475[_0x3b9bab]['map'](_0x27245f=>({..._0x27245f,'startRow':_0x27245f['startRow']+_0x28d4df,'endRow':_0x27245f['endRow']+_0x28d4df,'startColumn':_0x27245f[_0x45e288(0x408)]+_0x1ac8fe,'endColumn':_0x27245f[_0x45e288(0x382)]+_0x1ac8fe}));}),{'matrixCache':_0x2ce688,'rangesCache':_0x1a983a};};function _0x4642be(_0x1caf3b,_0x284668){const _0x4fab8e=_0x4bebf8;let _0x407f20='';const _0x3de46c=this[_0x4fab8e(0x279)]();switch(_0x284668){case _0x3fd852['PivotSubtotalTypeEnum'][_0x4fab8e(0x302)]:_0x407f20=_0x3de46c['sheets-pivot.averageName']+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)]['count']:_0x407f20=_0x3de46c['sheets-pivot.countName']+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)][_0x4fab8e(0x32f)]:_0x407f20=_0x3de46c[_0x4fab8e(0x256)]+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)]['max']:_0x407f20=_0x3de46c[_0x4fab8e(0x30b)]+_0x1caf3b;break;case _0x3fd852['PivotSubtotalTypeEnum'][_0x4fab8e(0x21d)]:_0x407f20=_0x3de46c[_0x4fab8e(0x1c0)]+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)][_0x4fab8e(0x3d5)]:_0x407f20=_0x3de46c['sheets-pivot.productName']+_0x1caf3b;break;case _0x3fd852['PivotSubtotalTypeEnum'][_0x4fab8e(0x3a1)]:_0x407f20=_0x3de46c['sheets-pivot.stdDevName']+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)][_0x4fab8e(0x18b)]:_0x407f20=_0x3de46c[_0x4fab8e(0x187)]+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)][_0x4fab8e(0x2d1)]:_0x407f20=_0x3de46c['sheets-pivot.sumName']+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)][_0x4fab8e(0x353)]:_0x407f20=_0x3de46c[_0x4fab8e(0x327)]+_0x1caf3b;break;case _0x3fd852[_0x4fab8e(0x430)][_0x4fab8e(0x404)]:_0x407f20=_0x3de46c[_0x4fab8e(0x21e)]+_0x1caf3b;break;default:_0x407f20=_0x1caf3b;break;}return _0x407f20;}function _0x2001ea(_0x6d727d,_0x3ed0c2,_0x2228ab,_0x1bf485,_0x141fbc){const _0x3ae58e=_0x4bebf8;var _0x1a9333,_0xc81347,_0x5ab900,_0x5adce1,_0x50081b;const _0xc6a24a=_0x1595a8[_0x3ae58e(0x383)](_0x6d727d,_0x3ed0c2),{rangesInfo:_0x4563da,areaInfo:_0xa801aa,headerMap:_0x2dcfac}=_0x141fbc;if(!_0x4563da||!_0xa801aa||!_0x2dcfac)return;const _0x334b7d=Object[_0x3ae58e(0x201)](_0x4563da)['find'](_0x1414d=>_0x4563da[_0x1414d][_0x3ae58e(0x245)](_0x383da9=>_0x1595a8[_0x3ae58e(0x3ac)][_0x3ae58e(0x481)](_0x383da9,_0xc6a24a))),_0x155d01=_0xa801aa;let _0x29c4be,_0x19db02,_0x176386;if(_0x334b7d===_0x3ae58e(0x38a))_0x29c4be=(_0x1a9333=_0x155d01==null?void 0x0:_0x155d01[_0x3ae58e(0x348)])==null?void 0x0:_0x1a9333[_0x6d727d],_0x19db02=(_0xc81347=_0x2dcfac==null?void 0x0:_0x2dcfac[_0x3ae58e(0x291)])==null?void 0x0:_0xc81347[_0x3ed0c2],_0x176386=_0x19db02==null?void 0x0:_0x19db02[_0x3ae58e(0x370)];else{if(_0x334b7d==='colRanges')_0x29c4be=(_0x5ab900=_0x155d01==null?void 0x0:_0x155d01[_0x3ae58e(0x239)])==null?void 0x0:_0x5ab900[_0x3ed0c2],_0x19db02=(_0x5adce1=_0x2dcfac[_0x3ae58e(0x242)])==null?void 0x0:_0x5adce1[_0x6d727d+0x1+_0x3ed0c2-_0x4563da[_0x3ae58e(0x190)][0x0][_0x3ae58e(0x408)]],_0x176386=_0x19db02==null?void 0x0:_0x19db02[_0x3ae58e(0x370)];else{if(_0x334b7d===_0x3ae58e(0x1c2))_0x29c4be=(_0x50081b=_0x155d01==null?void 0x0:_0x155d01[_0x3ae58e(0x30c)])==null?void 0x0:_0x50081b[_0x3ed0c2],_0x176386=_0x29c4be==null?void 0x0:_0x29c4be[_0x3ae58e(0x370)];else{if(_0x334b7d===_0x3ae58e(0x386)){const _0x35abc6=_0x2228ab==null?void 0x0:_0x2228ab['fi'];_0x35abc6!==void 0x0&&(_0x176386=_0x1bf485[_0x3ae58e(0x46d)](_0x35abc6));}}}}return{'filterId':_0x176386,'info':_0x29c4be,'data':_0x2228ab,'headerInfo':_0x19db02};}function _0x2cbd9a(_0x13aafb,_0x3d1f2c,_0x20f712){const _0x29ec37=_0x4bebf8,_0xfbc4c3=_0x13aafb[_0x29ec37(0x2f5)],_0x1dba95=_0xfbc4c3['getFieldIds'](),_0x198242=new Set();_0x13aafb[_0x29ec37(0x1dd)](_0x1f658a=>{const _0x44ae37=_0x29ec37;_0x198242[_0x44ae37(0x3f6)](_0x1f658a[_0x44ae37(0x2b7)]);});const _0x57a762=_0x1dba95[_0x29ec37(0x277)](_0x454299=>{const _0xce9792=_0x29ec37,_0x4775e5=_0xfbc4c3[_0xce9792(0x366)](_0x454299);return{'checked':_0x198242[_0xce9792(0x421)](_0x454299),'dataFieldId':_0x4775e5['id'],'id':_0x4775e5['id'],'name':_0xfbc4c3[_0xce9792(0x1fc)](_0x4775e5['id']),'type':_0x4775e5[_0xce9792(0x2a8)](),'pivotTableId':_0x3d1f2c};}),_0x162f1d=[];_0x13aafb[_0x29ec37(0x1f8)](_0x3fd852[_0x29ec37(0x438)][_0x29ec37(0x330)],_0x3920e5=>{const _0x1490b4=_0x29ec37;_0x162f1d['push']({'dataFieldId':_0x3920e5[_0x1490b4(0x2b7)],'tableFieldId':_0x3920e5['getId'](),'displayName':_0x3920e5[_0x1490b4(0x1fc)]()});});const _0x5edaec=[];_0x13aafb[_0x29ec37(0x1f8)](_0x3fd852[_0x29ec37(0x438)]['Column'],_0x2b2943=>{const _0x309077=_0x29ec37;_0x5edaec[_0x309077(0x428)]({'dataFieldId':_0x2b2943[_0x309077(0x2b7)],'tableFieldId':_0x2b2943['getId'](),'displayName':_0x2b2943[_0x309077(0x1fc)]()});});const _0x59e42c=[];if(_0x13aafb[_0x29ec37(0x1f8)](_0x3fd852[_0x29ec37(0x438)]['Value'],_0x42d2b6=>{const _0x1395d4=_0x29ec37;_0x59e42c[_0x1395d4(0x428)]({'dataFieldId':_0x42d2b6[_0x1395d4(0x2b7)],'tableFieldId':_0x42d2b6[_0x1395d4(0x1bf)](),'displayName':_0x42d2b6[_0x1395d4(0x1fc)](),'format':_0x42d2b6[_0x1395d4(0x3f0)](),'subTotalType':_0x42d2b6[_0x1395d4(0x24a)]()});}),_0x59e42c[_0x29ec37(0x26f)]>0x1){const _0x2271fd=_0x13aafb[_0x29ec37(0x3a2)]();(_0x13aafb[_0x29ec37(0x2d3)]()?_0x5edaec:_0x162f1d)[_0x29ec37(0x44d)](_0x2271fd,0x0,{'dataFieldId':'','tableFieldId':_0x29ec37(0x174),'displayName':_0x29ec37(0x418)});}const _0x4c9dd6=[];_0x13aafb[_0x29ec37(0x1f8)](_0x3fd852[_0x29ec37(0x438)]['Filter'],_0x2ffae3=>{const _0x458c4c=_0x29ec37;_0x4c9dd6[_0x458c4c(0x428)]({'dataFieldId':_0x2ffae3['dataFieldId'],'tableFieldId':_0x2ffae3[_0x458c4c(0x1bf)](),'displayName':_0x2ffae3[_0x458c4c(0x1fc)]()});});const _0x5cc78b=_0x20f712[_0x29ec37(0x44c)];return{'sourceList':_0x57a762,'sourceRange':_0x5cc78b,'rowFields':_0x162f1d,'columnFields':_0x5edaec,'valueFields':_0x59e42c,'filterFields':_0x4c9dd6,'positionInfo':_0x20f712['targetCellInfo']};}function _0x571295(_0xcd721c,_0x746d06,_0x1df44b='',_0x3b0b0e={}){const _0x41b99c=_0x4bebf8,_0x41458c=_0xcd721c['get'](_0x1595a8[_0x41b99c(0x467)]);for(const _0x484126 in _0x746d06)if(Object[_0x41b99c(0x3c4)][_0x41b99c(0x180)][_0x41b99c(0x3c5)](_0x746d06,_0x484126)){const _0x3f5b5d=_0x1df44b?_0x1df44b+'.'+_0x484126:_0x484126;typeof _0x746d06[_0x484126]==_0x41b99c(0x252)&&_0x746d06[_0x484126]!==null&&!Array['isArray'](_0x746d06[_0x484126])?_0x571295(_0xcd721c,_0x746d06[_0x484126],_0x3f5b5d,_0x3b0b0e):_0x3b0b0e[_0x3f5b5d]=_0x41458c['t'](_0x3f5b5d);}return _0x3b0b0e;}const _0x2efb5b=_0x2cfdef=>{const _0x376ea3=_0x4bebf8;if(!_0x2cfdef)return[];const {rowRanges:_0x41c8fd,colRanges:_0x5b0008,cornerRanges:_0xee9cc,dataRanges:_0x2af88c,pageRanges:_0x43fc0a}=_0x2cfdef,_0x3f2089=[..._0x5b0008,..._0x41c8fd,..._0x2af88c,..._0xee9cc][_0x376ea3(0x416)](_0x25fe20=>_0x25fe20[_0x376ea3(0x1bc)]>=0x0&&_0x25fe20['startColumn']>=0x0&&_0x25fe20[_0x376ea3(0x3f9)]>=0x0&&_0x25fe20[_0x376ea3(0x382)]>=0x0);let _0x304ce6=Number[_0x376ea3(0x398)],_0x2f0c37=Number[_0x376ea3(0x2c6)],_0xe27dc4=Number[_0x376ea3(0x398)],_0x30815a=Number[_0x376ea3(0x2c6)];for(let _0x26ea4b=0x0;_0x26ea4b<_0x3f2089[_0x376ea3(0x26f)];_0x26ea4b++)_0x304ce6=Math[_0x376ea3(0x21d)](_0x304ce6,_0x3f2089[_0x26ea4b][_0x376ea3(0x1bc)]),_0x2f0c37=Math[_0x376ea3(0x442)](_0x2f0c37,_0x3f2089[_0x26ea4b][_0x376ea3(0x3f9)]),_0xe27dc4=Math['min'](_0xe27dc4,_0x3f2089[_0x26ea4b][_0x376ea3(0x408)]),_0x30815a=Math[_0x376ea3(0x442)](_0x30815a,_0x3f2089[_0x26ea4b][_0x376ea3(0x382)]);return[..._0x43fc0a,{'startRow':_0x304ce6,'endRow':_0x2f0c37,'startColumn':_0xe27dc4,'endColumn':_0x30815a}];};function _0x42b53c(_0x49a6a7,_0x499734){const _0x550eaa=_0x4bebf8,_0x596297=_0x499734[_0x550eaa(0x309)][_0x550eaa(0x43f)],{pivotTableId:_0x349427,unitId:_0x2fc615,subUnitId:_0x58cae8}=_0x499734;if(!_0x596297)return;const _0xa7960b=_0x49a6a7[_0x550eaa(0x335)](_0x4d544a['SheetsPivotDataSourceModel']),_0x97c1d6=_0xa7960b['getPivotTableInstance'](_0x349427),_0x4de465=_0xa7960b['getPivotTableConfig'](_0x2fc615,_0x58cae8,_0x349427);if(!_0x97c1d6||!_0x4de465)return;const _0x32778d=_0x97c1d6[_0x550eaa(0x313)](_0x596297['tuple']);if(!(_0x32778d!=null&&_0x32778d['length']))return;const _0xecd7e6=_0x4de465[_0x550eaa(0x44c)],{unitId:_0x5f4e22,subUnitId:_0x539471,range:_0x188c67}=_0xecd7e6;let _0x33a0db=0x0;const _0x401d9b=_0x97c1d6[_0x550eaa(0x2f5)][_0x550eaa(0x46b)]()['reduce']((_0x4fc352,_0x5bcff3)=>{const _0x390b60=_0x550eaa;var _0x4de06c;const _0x1b5404=(_0x4de06c=_0x97c1d6[_0x390b60(0x3f7)](_0x5bcff3))==null?void 0x0:_0x4de06c['getformat']();return _0x1b5404&&(_0x4fc352[String(_0x33a0db)]=_0x1b5404),_0x33a0db++,_0x4fc352;},{});return{'indexes':_0x32778d,'range':_0x188c67,'sourceUnitId':_0x5f4e22,'sourceSubUnitId':_0x539471,'formatMap':_0x401d9b};}function _0x4ccebb(_0x342c21,_0x5cf457){const _0x2bfb41=_0x4bebf8;if(!_0x342c21||!_0x5cf457)return!0x0;const _0x5a2e61=_0x55b4b9['unshiftString'](_0x15919b,_0x5bd108),_0xa0f8d8=new Function(_0x2bfb41(0x34e)+_0x5a2e61)()(_0x342c21,_0x5cf457)[_0x2bfb41(0x288)],_0x491300=_0x55b4b9[_0x2bfb41(0x320)](_0xa0f8d8,'sf',_0x8dc2c3);return!((_0xa0f8d8==null?void 0x0:_0xa0f8d8['rt'])===_0x55b4b9[_0x2bfb41(0x1dc)][_0x2bfb41(0x20d)]&&!_0x491300);}function _0x301c26(_0x42cf1c,_0x22d9b3,_0x493cb2){const _0x4c276a=_0x4bebf8,_0x2ed39e={'count':_0x42cf1c,'timeValid':!0x1};if(!_0x22d9b3||!_0x493cb2)return _0x2ed39e;const _0x7bc26=_0x55b4b9['unshiftString'](_0x15919b,_0x5bd108),_0x349fde=new Function(_0x4c276a(0x34e)+_0x7bc26)()(_0x22d9b3,_0x493cb2);if(_0x349fde!=null&&_0x349fde['valid']){const _0xf15ee8=_0x349fde[_0x4c276a(0x288)],_0x2e2451=_0x55b4b9['isFeatureAuthorizedWithinTime'](_0xf15ee8,'sf',_0x8dc2c3);return{'count':_0x55b4b9['getSheetFeatureLimit'](_0xf15ee8,_0x2e2451,_0x4c276a(0x402),_0x42cf1c,_0x42cf1c,0x0),'timeValid':_0x2e2451};}return _0x2ed39e;}function _0x25ed87(_0x1c5957,_0xe7fd67,_0x4480d3,_0x946c17){const _0x751bf3=_0x4bebf8,_0x44b3fa={'subUnitId':_0x4480d3,'unitId':_0xe7fd67,'cellValue':_0x4588b4['generateNullCell'](_0x946c17)},_0x43e738=_0x4588b4[_0x751bf3(0x172)](_0x1c5957,_0x44b3fa);let _0x870951=!0x1;return new _0x1595a8[(_0x751bf3(0x37b))](_0x43e738[_0x751bf3(0x333)])[_0x751bf3(0x214)]((_0x4fc360,_0x397a64,_0x96ce6a)=>{if(!_0x870951&&_0x96ce6a&&(_0x96ce6a['custom']||_0x96ce6a['f']||_0x96ce6a['p']||_0x96ce6a['s']||_0x96ce6a['si']||_0x96ce6a['t']||_0x96ce6a['v']))return _0x870951=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x4588b4[_0x751bf3(0x45f)]['id'],'params':_0x43e738},'setRangeValueRedoMutation':{'id':_0x4588b4['SetRangeValuesMutation']['id'],'params':_0x44b3fa},'shouldClear':_0x870951};}function _0x12909b(_0x5e0f47){const {row:_0x585cd0,col:_0x1ca432}=_0x5e0f47,_0x2340c6={'startRow':_0x585cd0,'endRow':_0x585cd0,'startColumn':_0x1ca432,'endColumn':_0x1ca432},_0x318aa8={'startRow':_0x585cd0+0x2,'endRow':_0x585cd0+0xe,'startColumn':_0x1ca432,'endColumn':_0x1ca432+0x6};return[_0x2340c6,_0x318aa8];}function _0x132b90(_0x3a5182,_0x2170a2,_0x6cd05){const _0x28ba3a=_0x4bebf8,{cornerView:_0x57eb92,rowView:_0x4425f2,colView:_0xa07557,pageView:_0x30d4f2}=_0x3a5182,{row:_0x305f0d,col:_0x5575b6}=_0x2170a2;if(_0x6cd05)return{'rowCount':_0xf52c4b+_0x305f0d,'colCount':_0x4202ee+_0x5575b6};const _0x13e210=_0x30d4f2[_0x28ba3a(0x2a3)]>-0x1?_0x30d4f2[_0x28ba3a(0x2a3)]+0x1:0x0,_0x5f43c9=_0x30d4f2[_0x28ba3a(0x2e9)]>-0x1?_0x30d4f2[_0x28ba3a(0x2e9)]:0x0,_0x533faa=_0x305f0d+_0x13e210+(_0x13e210?0x1:0x0)+_0x57eb92[_0x28ba3a(0x3c6)]+_0x4425f2[_0x28ba3a(0x3c6)],_0x36c370=_0x5575b6+_0x5f43c9,_0x3eee46=_0x5575b6+_0x57eb92['colCount']+_0xa07557[_0x28ba3a(0x20a)],_0x112e93=Math[_0x28ba3a(0x442)](_0x36c370,_0x3eee46);return{'rowCount':_0x533faa,'colCount':_0x112e93};}function _0x4ffe57(_0x233ec5,_0x345386,_0x5a272d,_0x30fd96){const _0x528821=_0x4bebf8,{row:_0x323742,col:_0x16abaf,unitId:_0x1fa82f,subUnitId:_0x35705c}=_0x5a272d,_0x4ede26=_0x132b90(_0x345386,{'row':_0x323742,'col':_0x16abaf},_0x30fd96),_0x124396=_0x233ec5['get'](_0x1595a8['IUniverInstanceService']),_0x18d351=_0x4588b4[_0x528821(0x2a0)](_0x124396,{'unitId':_0x1fa82f,'subUnitId':_0x35705c}),_0x56326c=[],_0x281f4a=[];if(!_0x18d351)return{'undos':_0x281f4a,'redos':_0x56326c};const {worksheet:_0x837efb}=_0x18d351,_0x55634c=_0x837efb[_0x528821(0x25c)](),_0x57b664=_0x837efb['getColumnCount']();return _0x55634c<_0x4ede26[_0x528821(0x3c6)]&&(_0x56326c[_0x528821(0x428)]({'id':_0x4588b4[_0x528821(0x3c9)]['id'],'params':{'unitId':_0x1fa82f,'subUnitId':_0x35705c,'range':{'startRow':_0x55634c,'endRow':_0x4ede26[_0x528821(0x3c6)]-0x1,'startColumn':0x0,'endColumn':_0x57b664-0x1}}}),_0x281f4a[_0x528821(0x428)]({'id':_0x4588b4[_0x528821(0x22c)]['id'],'params':{'unitId':_0x1fa82f,'subUnitId':_0x35705c,'range':{'startRow':_0x55634c,'endRow':_0x4ede26[_0x528821(0x3c6)]-0x1,'startColumn':0x0,'endColumn':_0x57b664-0x1}}})),_0x57b664<_0x4ede26['colCount']&&(_0x56326c[_0x528821(0x428)]({'id':_0x4588b4[_0x528821(0x305)]['id'],'params':{'unitId':_0x1fa82f,'subUnitId':_0x35705c,'range':{'startRow':0x0,'endRow':_0x55634c-0x1,'startColumn':_0x57b664,'endColumn':_0x4ede26['colCount']-0x1}}}),_0x281f4a[_0x528821(0x428)]({'id':_0x4588b4['RemoveColMutation']['id'],'params':{'unitId':_0x1fa82f,'subUnitId':_0x35705c,'range':{'startRow':0x0,'endRow':_0x55634c-0x1,'startColumn':_0x57b664,'endColumn':_0x4ede26[_0x528821(0x20a)]-0x1}}})),{'undos':_0x281f4a,'redos':_0x56326c};}function _0x5a8943(_0x7c45f){const _0x400949=_0x4bebf8;let _0x564308=0x0;for(let _0x57db8b=0x0;_0x57db8b<_0x7c45f['length'];_0x57db8b++){const _0x15daae=_0x7c45f[_0x400949(0x202)](_0x57db8b);_0x15daae>=0x4e00&&_0x15daae<=0x9fff||_0x15daae>=0x3000&&_0x15daae<=0x303f||_0x15daae>=0xff00&&_0x15daae<=0xffef?_0x564308+=0x2:_0x564308+=0x1;}return _0x564308;}function _0x2c193d(_0x3de146,_0x5888d5,_0x39b440,_0x527b65){const _0x597dd1=_0x4bebf8;var _0x326c85,_0x3ec230,_0x51808a,_0x29b0c7;const {rowCount:_0x116d46,colCount:_0x2c84ca,headerMap:_0x1b6dfc}=_0x3de146,_0x43f630=0x64,_0x3e2207=Math[_0x597dd1(0x21d)](_0x116d46,_0x43f630),_0x4f1d88=Math[_0x597dd1(0x21d)](_0x2c84ca,_0x43f630);let _0x2fd507='',_0x4aabb2=0x0;for(let _0x45ce55=0x0;_0x45ce55<_0x3e2207;_0x45ce55++)for(let _0xf30c7a=0x0;_0xf30c7a<_0x4f1d88;_0xf30c7a++){const _0x571cfd={...(_0x3ec230=(_0x326c85=_0x3de146[_0x597dd1(0x1a8)])==null?void 0x0:_0x326c85[_0x45ce55])==null?void 0x0:_0x3ec230[_0xf30c7a]},_0x497b4b=(_0x51808a=_0x1b6dfc[_0x45ce55])==null?void 0x0:_0x51808a[_0x597dd1(0x370)],_0x340947=_0x527b65[_0x497b4b];let _0x3b621d=_0x3de146[_0x597dd1(0x289)](_0x45ce55,_0xf30c7a);if(_0x571cfd){const _0x572187=_0x39b440?_0xf30c7a===0x0&&((_0x29b0c7=_0x3de146[_0x597dd1(0x2ac)](_0xf30c7a+0x1))==null?void 0x0:_0x29b0c7[_0x597dd1(0x285)]):!0x1;_0x3b621d=_0x50b7fc(_0x571cfd,_0x572187,_0x340947,_0x5888d5);}if(_0x3b621d!==void 0x0){const _0x3bfa5c=_0x5a8943(String(_0x3b621d));_0x4aabb2<_0x3bfa5c&&(_0x2fd507=String(_0x3b621d),_0x4aabb2=_0x3bfa5c);}}return _0x2fd507;}function _0x3c63a1(_0x51cccd){const _0x40cea8=_0x4bebf8,{rowCount:_0x521128,colCount:_0x26daee}=_0x51cccd;let _0x158e75='',_0x289688=0x0;for(let _0x57b3bb=_0x521128-0x1;_0x57b3bb>0x0&&_0x57b3bb>_0x521128-0x3;_0x57b3bb--)for(let _0x251fba=0x0;_0x251fba<_0x26daee;_0x251fba++){const _0xe1cd44=_0x51cccd[_0x40cea8(0x289)](_0x57b3bb,_0x251fba);if(_0xe1cd44!==void 0x0){const _0x344a87=String(_0xe1cd44)[_0x40cea8(0x26f)];_0x289688<_0x344a87&&(_0x158e75=String(_0xe1cd44),_0x289688=_0x344a87);}}return _0x158e75;}function _0x2a86b0(_0x4bc91a){const _0x392f69=_0x4bebf8,{rowCount:_0x42a944,colCount:_0x48a710}=_0x4bc91a;let _0x281ed3='',_0x275dc0=0x0;for(let _0xb89fc6=0x0;_0xb89fc6<_0x42a944;_0xb89fc6++)for(let _0x1191d2=0x0;_0x1191d2<_0x48a710;_0x1191d2++){const _0x1b3e21=_0x4bc91a[_0x392f69(0x289)](_0xb89fc6,_0x1191d2);if(_0x1b3e21!==void 0x0){const _0x3a6296=String(_0x1b3e21)[_0x392f69(0x26f)];_0x275dc0<_0x3a6296&&(_0x281ed3=String(_0x1b3e21),_0x275dc0=_0x3a6296);}}return _0x281ed3;}function _0x462254(_0x4e75ec,_0x49b08d){const _0x3d14c7=_0x4bebf8,{rowFields:_0x1eddad,columnFields:_0x42fa67,valueFields:_0x277588,filterFields:_0x4c3d8b,dimension:_0x1269cb,measure:_0x19758b}=_0x49b08d;for(const _0x47529f of _0x1eddad){const _0x383982=_0x1269cb[_0x47529f];_0x383982&&_0x4e75ec['getDataFieldByDataFieldId'](_0x383982[_0x3d14c7(0x2b7)])&&(_0x4e75ec[_0x3d14c7(0x3d3)](_0x383982['dataFieldId'],_0x3fd852[_0x3d14c7(0x438)][_0x3d14c7(0x330)],void 0x0,_0x47529f),_0x383982['displayName']&&_0x4e75ec['renameField'](_0x383982['id'],_0x383982['displayName']),_0x383982[_0x3d14c7(0x3ef)]&&_0x4e75ec[_0x3d14c7(0x2ed)](_0x383982['id'],_0x383982[_0x3d14c7(0x3ef)]),_0x383982[_0x3d14c7(0x344)]&&_0x4e75ec[_0x3d14c7(0x262)](_0x383982['id'],_0x383982[_0x3d14c7(0x344)]));}for(const _0x5ce86f of _0x42fa67){const _0x14da06=_0x1269cb[_0x5ce86f];_0x14da06&&_0x4e75ec[_0x3d14c7(0x3f7)](_0x14da06[_0x3d14c7(0x2b7)])&&(_0x4e75ec[_0x3d14c7(0x3d3)](_0x14da06[_0x3d14c7(0x2b7)],_0x3fd852[_0x3d14c7(0x438)][_0x3d14c7(0x30f)],void 0x0,_0x5ce86f),_0x14da06['sortInfo']&&_0x4e75ec['setSortInfo'](_0x14da06['id'],_0x14da06[_0x3d14c7(0x3ef)]),_0x14da06[_0x3d14c7(0x344)]&&_0x4e75ec[_0x3d14c7(0x262)](_0x14da06['id'],_0x14da06[_0x3d14c7(0x344)]),_0x14da06['displayName']&&_0x4e75ec['renameField'](_0x14da06['id'],_0x14da06[_0x3d14c7(0x267)]));}for(const _0x71a636 of _0x4c3d8b){const _0x3b62c0=_0x1269cb[_0x71a636];_0x3b62c0&&_0x4e75ec[_0x3d14c7(0x3f7)](_0x3b62c0[_0x3d14c7(0x2b7)])&&(_0x4e75ec[_0x3d14c7(0x3d3)](_0x3b62c0['dataFieldId'],_0x3fd852[_0x3d14c7(0x438)][_0x3d14c7(0x399)],void 0x0,_0x71a636),_0x3b62c0[_0x3d14c7(0x3ef)]&&_0x4e75ec[_0x3d14c7(0x2ed)](_0x3b62c0['id'],_0x3b62c0['sortInfo']),_0x3b62c0['filterInfo']&&_0x4e75ec['setLabelFilterInfo'](_0x3b62c0['id'],_0x3b62c0[_0x3d14c7(0x344)]),_0x3b62c0['displayName']&&_0x4e75ec['renameField'](_0x3b62c0['id'],_0x3b62c0[_0x3d14c7(0x267)]));}for(const _0x45342a of _0x277588){const _0x5d84ca=_0x19758b[_0x45342a];_0x5d84ca&&_0x4e75ec[_0x3d14c7(0x3f7)](_0x5d84ca[_0x3d14c7(0x2b7)])&&(_0x4e75ec[_0x3d14c7(0x3d3)](_0x5d84ca[_0x3d14c7(0x2b7)],_0x3fd852[_0x3d14c7(0x438)][_0x3d14c7(0x354)],void 0x0,_0x45342a),_0x5d84ca[_0x3d14c7(0x183)]!==void 0x0&&_0x4e75ec[_0x3d14c7(0x199)](_0x45342a,_0x5d84ca[_0x3d14c7(0x183)]),_0x5d84ca[_0x3d14c7(0x2be)]&&_0x4e75ec[_0x3d14c7(0x444)](_0x45342a,_0x5d84ca[_0x3d14c7(0x2be)]),_0x5d84ca[_0x3d14c7(0x267)]&&_0x4e75ec[_0x3d14c7(0x1fb)](_0x5d84ca['id'],_0x5d84ca[_0x3d14c7(0x267)]));}const _0xfb710e=_0x49b08d[_0x3d14c7(0x42b)];for(const {fieldId:_0x524252,filterInfo:_0x2d9486}of _0xfb710e)_0x4e75ec['setValueFilterInfo'](_0x524252,_0x2d9486);}function _0x12e4b4(_0x3edeeb,_0x24639d){const _0x40e460=_0x4bebf8,_0x371723=[];_0x24639d===_0x3fd852[_0x40e460(0x438)]['Row']&&_0x3edeeb[_0x40e460(0x1f8)](_0x3fd852[_0x40e460(0x438)][_0x40e460(0x330)],_0x4cfdfc=>{const _0x55f89f=_0x40e460;_0x371723[_0x55f89f(0x428)](_0x4cfdfc[_0x55f89f(0x1bf)]());}),_0x24639d===_0x3fd852['PivotTableFiledAreaEnum'][_0x40e460(0x30f)]&&_0x3edeeb['iterateFieldByArea'](_0x3fd852[_0x40e460(0x438)]['Column'],_0x4eb5b6=>{const _0x4a850c=_0x40e460;_0x371723[_0x4a850c(0x428)](_0x4eb5b6[_0x4a850c(0x1bf)]());}),_0x24639d===_0x3fd852['PivotTableFiledAreaEnum'][_0x40e460(0x399)]&&_0x3edeeb[_0x40e460(0x1f8)](_0x3fd852[_0x40e460(0x438)][_0x40e460(0x399)],_0x82c598=>{_0x371723['push'](_0x82c598['getId']());}),_0x24639d===_0x3fd852['PivotTableFiledAreaEnum'][_0x40e460(0x354)]&&_0x3edeeb[_0x40e460(0x1f8)](_0x3fd852[_0x40e460(0x438)][_0x40e460(0x354)],_0x1439ef=>{const _0x25de15=_0x40e460;_0x371723['push'](_0x1439ef[_0x25de15(0x1bf)]());}),_0x24639d===void 0x0&&_0x3edeeb['iterateField'](_0x45fd83=>{const _0x218762=_0x40e460;_0x371723[_0x218762(0x428)](_0x45fd83['getId']());});const _0x55904d=_0x371723['length'];for(let _0x9d8d56=_0x55904d-0x1;_0x9d8d56>=0x0;_0x9d8d56--)_0x3edeeb[_0x40e460(0x1a4)](_0x371723[_0x9d8d56]);const _0x27e30e=_0x3edeeb[_0x40e460(0x24d)]();for(const _0x263c16 in _0x27e30e)_0x3edeeb[_0x40e460(0x1ad)](_0x263c16);}function _0x402dc4(_0xea0231,_0x36c45e){const _0x434f01=_0x4bebf8,_0x5d2a8a=new Date(_0x3fd852[_0x434f01(0x269)](_0x36c45e)),_0x26bcce=new Date(_0x3fd852['excelDateToUnixMilliseconds'](_0xea0231)),_0x54a520=_0x5d2a8a[_0x434f01(0x3b2)](),_0x2ae49e=_0x26bcce[_0x434f01(0x3b2)](),_0x135ccd=_0x5d2a8a[_0x434f01(0x301)](),_0x37474a=_0x26bcce[_0x434f01(0x301)](),_0x2960be=_0x5d2a8a['getDate'](),_0x2b5e0e=_0x26bcce[_0x434f01(0x3ea)](),_0x1ced8b=_0x54a520===_0x2ae49e,_0x186b61=_0x1ced8b&&_0x135ccd===_0x37474a;return _0x1ced8b&&_0x186b61&&!(_0x186b61&&_0x2960be===_0x2b5e0e)?_0x3fd852[_0x434f01(0x22a)][_0x434f01(0x2df)]:_0x1ced8b&&!_0x186b61?_0x3fd852[_0x434f01(0x22a)][_0x434f01(0x228)]:_0x3fd852[_0x434f01(0x22a)]['Year'];}function _0x22daaa(_0xc21305,_0x32169c){const _0xd194de=_0x4bebf8,_0xbd8eb2=_0xc21305[_0xd194de(0x335)](_0x4d544a[_0xd194de(0x20b)])[_0xd194de(0x279)]();let _0x4d852a='';switch(_0x32169c){case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x2df)]:_0x4d852a=_0xbd8eb2['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x228)]:_0x4d852a=_0xbd8eb2[_0xd194de(0x40f)];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x2c5)]:_0x4d852a=_0xbd8eb2[_0xd194de(0x37d)];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x2b1)]:_0x4d852a=_0xbd8eb2['sheets-pivot.dateGroup.month'];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x236)]:_0x4d852a=_0xbd8eb2['sheets-pivot.dateGroup.quarter'];break;case _0x3fd852['PivotDateGroupFieldDateTypeEnum'][_0xd194de(0x441)]:_0x4d852a=_0xbd8eb2[_0xd194de(0x1a0)];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x3bf)]:_0x4d852a=_0xbd8eb2[_0xd194de(0x352)];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x3c3)]:_0x4d852a=_0xbd8eb2['sheets-pivot.dateGroup.hour'];break;case _0x3fd852[_0xd194de(0x22a)]['Minute']:_0x4d852a=_0xbd8eb2[_0xd194de(0x2ee)];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x36f)]:_0x4d852a=_0xbd8eb2[_0xd194de(0x2a7)];break;case _0x3fd852[_0xd194de(0x22a)][_0xd194de(0x17f)]:_0x4d852a=_0xbd8eb2[_0xd194de(0x22f)];break;default:_0x4d852a='';break;}return _0x4d852a;}const _0x1030a2=_0x4bebf8(0x28e),_0xa5cf3e={};var _0x1cc2c8=Object[_0x4bebf8(0x195)],_0x124a1b=(_0x296d0f,_0x101bff,_0x4dd23e,_0x5c1d42)=>{for(var _0x2574bf=_0x5c1d42>0x1?void 0x0:_0x5c1d42?_0x1cc2c8(_0x101bff,_0x4dd23e):_0x101bff,_0x25e6a6=_0x296d0f['length']-0x1,_0x3d3c6f;_0x25e6a6>=0x0;_0x25e6a6--)(_0x3d3c6f=_0x296d0f[_0x25e6a6])&&(_0x2574bf=_0x3d3c6f(_0x2574bf)||_0x2574bf);return _0x2574bf;},_0x192146=(_0x3afa83,_0xa662bd)=>(_0x59a55c,_0x2600b3)=>_0xa662bd(_0x59a55c,_0x2600b3,_0x3afa83);_0x4d544a[_0x4bebf8(0x233)]=class extends _0x1595a8[_0x4bebf8(0x3a8)]{constructor(_0x2753ba,_0x52aa50,_0x1473de,_0x22426e,_0xf3ac79){const _0x2dc5b5=_0x4bebf8;super(),_0x3bae97(this,_0x2dc5b5(0x2e7),new Map()),_0x3bae97(this,_0x2dc5b5(0x425),new Map()),_0x3bae97(this,_0x2dc5b5(0x1f6),new Map()),_0x3bae97(this,_0x2dc5b5(0x45d),new Map()),_0x3bae97(this,_0x2dc5b5(0x440),new _0xde8205[(_0x2dc5b5(0x19d))]()),_0x3bae97(this,_0x2dc5b5(0x1e8),new _0xde8205['Subject']()),_0x3bae97(this,_0x2dc5b5(0x31d),this['_pivotInitCompleted$'][_0x2dc5b5(0x2c0)]()),_0x3bae97(this,'_pivotConfigChange$',new _0xde8205['Subject']()),_0x3bae97(this,_0x2dc5b5(0x182),this[_0x2dc5b5(0x1e4)][_0x2dc5b5(0x2c0)]()),_0x3bae97(this,_0x2dc5b5(0x29e),{}),_0x3bae97(this,_0x2dc5b5(0x1b8),this['_configVersion$']['asObservable']()),(this[_0x2dc5b5(0x204)]=_0x2753ba,this[_0x2dc5b5(0x1ab)]=_0x52aa50,this[_0x2dc5b5(0x479)]=_0x1473de,this[_0x2dc5b5(0x349)]=_0x22426e,this['_configService']=_0xf3ac79,this[_0x2dc5b5(0x318)](),this[_0x2dc5b5(0x38e)]());const _0x202293=this[_0x2dc5b5(0x463)][_0x2dc5b5(0x26b)](_0x1030a2);(_0x202293==null?void 0x0:_0x202293[_0x2dc5b5(0x3b3)])===!0x0&&this[_0x2dc5b5(0x310)]();}['_initUnitDisposed'](){const _0x4387d7=_0x4bebf8;this['disposeWithMe'](this[_0x4387d7(0x479)][_0x4387d7(0x41c)](_0x1595a8[_0x4387d7(0x43c)][_0x4387d7(0x315)])[_0x4387d7(0x41e)](_0x5d403d=>{const _0x19b2ca=_0x4387d7;this[_0x19b2ca(0x432)](_0x5d403d['getUnitId']());}));}[_0x4bebf8(0x226)](){const _0x146830=_0x4bebf8;this[_0x146830(0x1e8)][_0x146830(0x372)](!0x0);}[_0x4bebf8(0x318)](){const _0x395554=_0x4bebf8,_0x214f7f=_0x571295(this[_0x395554(0x204)],_0x2a19cb,'',{});this[_0x395554(0x29e)]=_0x214f7f,this[_0x395554(0x1ab)]['executeCommand'](_0x473731['id'],{'textInfo':_0x214f7f},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x583a5d=_0x4bebf8;return this[_0x583a5d(0x29e)];}['updateViewInfo'](_0x486d59,_0x9cc48f,_0x2dc9ee,_0x1697bd,_0x1ebb4a){const _0x569a66=_0x4bebf8;this[_0x569a66(0x36a)](_0x486d59,_0x9cc48f,_0x2dc9ee,_0x1697bd),this[_0x569a66(0x410)](_0x486d59,_0x9cc48f,_0x2dc9ee,_0x1ebb4a);}[_0x4bebf8(0x1a1)](_0x5638cd,_0x33b0b8,_0x3e3477){const _0x533630=_0x4bebf8;var _0x1a2e2f;const _0x5acf80=(_0x1a2e2f=this[_0x533630(0x2e7)][_0x533630(0x335)](_0x5638cd))==null?void 0x0:_0x1a2e2f[_0x533630(0x335)](_0x33b0b8);if(_0x5acf80)return _0x5acf80['get'](_0x3e3477);}[_0x4bebf8(0x181)](_0x21d01a,_0x46b8e8){const _0x4d04ad=_0x4bebf8,_0x2a1bd2=this[_0x4d04ad(0x2e7)]['get'](_0x21d01a);if(_0x2a1bd2){for(const [_0x5560d7,_0x10f3eb]of _0x2a1bd2[_0x4d04ad(0x36c)]())for(const [_0xd85be5,_0x5efb0e]of _0x10f3eb['entries']())if(_0xd85be5===_0x46b8e8)return _0x5efb0e[_0x4d04ad(0x263)];}}[_0x4bebf8(0x2bf)](_0x4898a5,_0x2d926e,_0x3b0ed0){const _0x23411d=_0x4bebf8,_0xdbea9d=this[_0x23411d(0x1a1)](_0x4898a5,_0x2d926e,_0x3b0ed0);return _0xdbea9d==null?void 0x0:_0xdbea9d['targetCellInfo'];}[_0x4bebf8(0x29a)](_0x55e789,_0x4bad45){const _0x2224e4=_0x4bebf8;var _0x14e72f;return(_0x14e72f=this[_0x2224e4(0x2e7)][_0x2224e4(0x335)](_0x55e789))==null?void 0x0:_0x14e72f['get'](_0x4bad45);}['updateConfigCache'](_0x18b068,_0xb24bf5,_0x2af76f,_0x4849ab){const _0x28f348=_0x4bebf8,_0x2e4071=this[_0x28f348(0x42c)](_0x18b068,_0xb24bf5);_0x4849ab?_0x2e4071['set'](_0x2af76f,_0x4849ab):_0x2e4071[_0x28f348(0x44a)](_0x2af76f),this[_0x28f348(0x1e4)][_0x28f348(0x372)]({'unitId':_0x18b068,'subUnitId':_0xb24bf5,'pivotTableId':_0x2af76f,'pivotTableConfig':_0x4849ab});}[_0x4bebf8(0x35a)](_0x5a309c,_0x120c6e){const _0xd3c415=_0x4bebf8;var _0x34b072;return(_0x34b072=this[_0xd3c415(0x425)][_0xd3c415(0x335)](_0x5a309c))==null?void 0x0:_0x34b072[_0xd3c415(0x41d)][_0x120c6e];}[_0x4bebf8(0x198)](_0x3b3832,_0x2013fb){const _0x187f1c=_0x4bebf8;this[_0x187f1c(0x425)]['set'](_0x3b3832,_0x2013fb),this[_0x187f1c(0x440)][_0x187f1c(0x372)](Math[_0x187f1c(0x346)]());}['_ensurePivotMap'](_0x427fdf,_0x2afba6){const _0x5e1da0=_0x4bebf8;let _0x28f2eb=this[_0x5e1da0(0x2e7)][_0x5e1da0(0x335)](_0x427fdf);_0x28f2eb||(_0x28f2eb=new Map(),this['_model']['set'](_0x427fdf,_0x28f2eb));let _0x406818=_0x28f2eb[_0x5e1da0(0x335)](_0x2afba6);return _0x406818||(_0x406818=new Map(),_0x28f2eb[_0x5e1da0(0x2e3)](_0x2afba6,_0x406818)),_0x406818;}[_0x4bebf8(0x371)](_0x3feee5,_0x439842){const _0x4a2209=_0x4bebf8;let _0xff2011=this[_0x4a2209(0x1f6)][_0x4a2209(0x335)](_0x3feee5);_0xff2011||(_0xff2011=new Map(),this[_0x4a2209(0x1f6)][_0x4a2209(0x2e3)](_0x3feee5,_0xff2011));let _0x152a21=_0xff2011[_0x4a2209(0x335)](_0x439842);return _0x152a21||(_0x152a21=new Map(),_0xff2011['set'](_0x439842,_0x152a21)),_0x152a21;}['_ensurePivotTableMatrixInfo'](_0x381a12,_0x1c3ebc){const _0x263ca1=_0x4bebf8;let _0x4f05bf=this[_0x263ca1(0x45d)][_0x263ca1(0x335)](_0x381a12);_0x4f05bf||(_0x4f05bf=new Map(),this[_0x263ca1(0x45d)][_0x263ca1(0x2e3)](_0x381a12,_0x4f05bf));let _0x180223=_0x4f05bf[_0x263ca1(0x335)](_0x1c3ebc);return _0x180223||(_0x180223=new Map(),_0x4f05bf[_0x263ca1(0x2e3)](_0x1c3ebc,_0x180223)),_0x180223;}[_0x4bebf8(0x410)](_0x9b21c8,_0x57b0c9,_0x42e6ba,_0x1d9bfc){const _0x47d33d=_0x4bebf8;var _0x185751;const _0x268d80=this[_0x47d33d(0x371)](_0x9b21c8,_0x57b0c9),_0x2b0b10=(_0x185751=_0x268d80[_0x47d33d(0x335)](_0x42e6ba))==null?void 0x0:_0x185751[_0x47d33d(0x1d9)];_0x268d80[_0x47d33d(0x2e3)](_0x42e6ba,{'oldRangeInfo':_0x2b0b10,'rangeInfo':_0x1d9bfc});}[_0x4bebf8(0x36a)](_0xeaa5b2,_0x17f2b1,_0x1d298d,_0x14c07d){const _0x4bea19=_0x4bebf8;var _0x51970d;const _0x8b327f=this[_0x4bea19(0x412)](_0xeaa5b2,_0x17f2b1),_0x4c34bc=(_0x51970d=_0x8b327f[_0x4bea19(0x335)](_0x1d298d))==null?void 0x0:_0x51970d[_0x4bea19(0x424)];_0x8b327f[_0x4bea19(0x2e3)](_0x1d298d,{'oldMatrix':_0x4c34bc,'matrix':_0x14c07d});}[_0x4bebf8(0x331)](_0x3b7369,_0x52bb0e,_0x408729){const _0x29b36e=_0x4bebf8;var _0x4fb2ca,_0x46ee13;return(_0x46ee13=(_0x4fb2ca=this[_0x29b36e(0x1f6)][_0x29b36e(0x335)](_0x3b7369))==null?void 0x0:_0x4fb2ca[_0x29b36e(0x335)](_0x52bb0e))==null?void 0x0:_0x46ee13['get'](_0x408729);}['getPivotTableMatrixInfo'](_0x200db9,_0x44c0a5,_0x3f77ec){const _0xe61aaa=_0x4bebf8;var _0x1f5bae,_0x4d3630;return(_0x4d3630=(_0x1f5bae=this[_0xe61aaa(0x45d)][_0xe61aaa(0x335)](_0x200db9))==null?void 0x0:_0x1f5bae[_0xe61aaa(0x335)](_0x44c0a5))==null?void 0x0:_0x4d3630['get'](_0x3f77ec);}[_0x4bebf8(0x432)](_0x3d57a9){const _0x1b3bcd=_0x4bebf8;this[_0x1b3bcd(0x2e7)]['delete'](_0x3d57a9),this[_0x1b3bcd(0x425)][_0x1b3bcd(0x44a)](_0x3d57a9);}['_toJSON'](_0x235a0a){const _0x394b60=_0x4bebf8,_0x4548d3={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x235a0a)&&(_0x4548d3[_0x394b60(0x200)][_0x235a0a]=this[_0x394b60(0x425)][_0x394b60(0x335)](_0x235a0a)),this[_0x394b60(0x2e7)][_0x394b60(0x335)](_0x235a0a)){_0x4548d3[_0x394b60(0x271)][_0x235a0a]={};const _0x44b940=this[_0x394b60(0x2e7)][_0x394b60(0x335)](_0x235a0a);_0x44b940!=null&&_0x44b940[_0x394b60(0x2f2)]&&[..._0x44b940['keys']()][_0x394b60(0x2f1)](_0x35ac6c=>{const _0x251d00=_0x394b60,_0x17aca0=_0x44b940['get'](_0x35ac6c);_0x17aca0!=null&&_0x17aca0[_0x251d00(0x2f2)]&&(_0x4548d3[_0x251d00(0x271)][_0x235a0a][_0x35ac6c]={},[..._0x17aca0[_0x251d00(0x201)]()]['forEach'](_0x598868=>{const _0x4001c5=_0x251d00,_0x2e07dd=_0x17aca0[_0x4001c5(0x335)](_0x598868);_0x2e07dd&&(_0x4548d3['pivotTableConfigs'][_0x235a0a][_0x35ac6c][_0x598868]=_0x2e07dd);}));});}return _0x4548d3;}[_0x4bebf8(0x310)](){const _0x575b81=_0x4bebf8;this[_0x575b81(0x426)](this[_0x575b81(0x349)][_0x575b81(0x3f5)]({'toJson':_0x4da26d=>JSON['stringify'](this['_toJSON'](_0x4da26d)),'parseJson':_0x1cf161=>({}),'businesses':[_0x1595a8[_0x575b81(0x43c)][_0x575b81(0x315)]],'pluginName':_0x1b3ab2,'onLoad':(_0x135871,_0xb7ec5d)=>{},'onUnLoad':_0x1a5e99=>{const _0x27d4b1=_0x575b81;this[_0x27d4b1(0x432)](_0x1a5e99);}}));}},_0x4d544a[_0x4bebf8(0x233)]=_0x124a1b([_0x192146(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x1ef)])),_0x192146(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x359)])),_0x192146(0x2,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x44e)])),_0x192146(0x3,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8['IResourceManagerService'])),_0x192146(0x4,_0x1595a8['Inject'](_0x1595a8[_0x4bebf8(0x364)]))],_0x4d544a[_0x4bebf8(0x233)]);var _0x4a9792=Object['getOwnPropertyDescriptor'],_0x4542e6=(_0x33fd62,_0x25763b,_0x5541a4,_0x22c45c)=>{const _0x240988=_0x4bebf8;for(var _0x406d70=_0x22c45c>0x1?void 0x0:_0x22c45c?_0x4a9792(_0x25763b,_0x5541a4):_0x25763b,_0x9e5940=_0x33fd62[_0x240988(0x26f)]-0x1,_0x107e39;_0x9e5940>=0x0;_0x9e5940--)(_0x107e39=_0x33fd62[_0x9e5940])&&(_0x406d70=_0x107e39(_0x406d70)||_0x406d70);return _0x406d70;},_0x51659f=(_0x116597,_0x3bca7d)=>(_0xf72a3b,_0x5b3f31)=>_0x3bca7d(_0xf72a3b,_0x5b3f31,_0x116597);_0x4d544a[_0x4bebf8(0x457)]=class extends _0x1595a8[_0x4bebf8(0x3a8)]{constructor(_0x579691,_0x8cb2e6,_0x254a2b,_0x5984a3,_0x1cf7b5){const _0x3a3e45=_0x4bebf8;super(),_0x3bae97(this,_0x3a3e45(0x178),new Map()),_0x3bae97(this,'_pivotRenderValueMatrixCache',new Map()),_0x3bae97(this,_0x3a3e45(0x3bc),new _0xde8205[(_0x3a3e45(0x19d))]()),_0x3bae97(this,_0x3a3e45(0x217),this[_0x3a3e45(0x3bc)][_0x3a3e45(0x2c0)]()),_0x3bae97(this,_0x3a3e45(0x2b2),new _0xde8205[(_0x3a3e45(0x19d))]()),_0x3bae97(this,_0x3a3e45(0x1d0),this['_viewUpdate$'][_0x3a3e45(0x2c0)]()),_0x3bae97(this,_0x3a3e45(0x29e)),(this[_0x3a3e45(0x222)]=_0x579691,this['_injector']=_0x8cb2e6,this[_0x3a3e45(0x46e)]=_0x254a2b,this[_0x3a3e45(0x479)]=_0x5984a3,this[_0x3a3e45(0x194)]=_0x1cf7b5,this[_0x3a3e45(0x318)](),this[_0x3a3e45(0x38e)]());}[_0x4bebf8(0x38e)](){const _0x125ecf=_0x4bebf8;this[_0x125ecf(0x426)](this['_univerInstanceService'][_0x125ecf(0x41c)](_0x1595a8['UniverInstanceType'][_0x125ecf(0x315)])[_0x125ecf(0x41e)](_0x53697a=>{const _0x256db9=_0x125ecf;this[_0x256db9(0x432)](_0x53697a[_0x256db9(0x23b)]());}));}['_initLocale'](){const _0x50312c=_0x4bebf8;this[_0x50312c(0x29e)]=_0x571295(this[_0x50312c(0x204)],_0x2a19cb,'',{});}[_0x4bebf8(0x3b6)](_0x493321){const _0x3a2eb3=_0x4bebf8,{view:_0x4e75d0,unitId:_0x441292,subUnitId:_0x5338f9,pivotTableId:_0x32bc0b,type:_0x4e088d}=_0x493321,_0x4522b2=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x441292,_0x5338f9,_0x32bc0b);if(!_0x4e75d0||!_0x4522b2||_0x4e088d===_0xd7fa82[_0x3a2eb3(0x17e)])return;const {pageView:_0x3b957e,cornerView:_0x58b8b2,rowView:_0x3e003c,colView:_0x3c86c9,dataView:_0x498980}=_0x4e75d0,_0x50dea1=_0x4522b2[_0x3a2eb3(0x263)],_0x12a356=_0x4522b2[_0x3a2eb3(0x401)],_0x1a05de=this[_0x3a2eb3(0x215)](_0x441292,_0x5338f9),_0x3ca9ef=this[_0x3a2eb3(0x3a4)](_0x441292,_0x5338f9,_0x32bc0b);if(_0x12a356)return this[_0x3a2eb3(0x385)](_0x493321,_0x1a05de,_0x50dea1,_0x3ca9ef);{const _0x367e9e=_0x27a961(_0x50dea1,_0x3b957e,!0x0),_0x4fe8fa=_0x3b957e[_0x3a2eb3(0x2a3)]>=0x0?_0x3b957e['lastRow']+0x1:0x0,_0x8b6218=_0x58b8b2[_0x3a2eb3(0x25c)](),_0x5ef87b=_0x58b8b2[_0x3a2eb3(0x2dc)](),_0xdf13a6=_0x367e9e['length']>0x0?_0x351178:0x0,_0x37be10=_0x27a961({'row':_0x50dea1[_0x3a2eb3(0x1e6)]+_0x4fe8fa+_0xdf13a6,'col':_0x50dea1[_0x3a2eb3(0x28c)]},_0x58b8b2,!0x1,!0x1),_0x879a33=_0x27a961({'row':_0x50dea1[_0x3a2eb3(0x1e6)]+_0x4fe8fa+_0xdf13a6+_0x8b6218,'col':_0x50dea1[_0x3a2eb3(0x28c)]},_0x3e003c,!0x1,!0x0),_0x1573c8=_0x27a961({'row':_0x50dea1[_0x3a2eb3(0x1e6)]+_0x4fe8fa+_0xdf13a6,'col':_0x50dea1[_0x3a2eb3(0x28c)]+_0x5ef87b},_0x3c86c9,!0x1,!0x0),_0x139a63=_0x27a961({'row':_0x50dea1[_0x3a2eb3(0x1e6)]+_0x4fe8fa+_0xdf13a6+_0x8b6218,'col':_0x50dea1[_0x3a2eb3(0x28c)]+_0x5ef87b},_0x498980,!0x1,!0x1);_0x3ca9ef['rangesInfo']={'rowRanges':_0x879a33,'colRanges':_0x1573c8,'cornerRanges':_0x37be10,'dataRanges':_0x139a63,'pageRanges':_0x367e9e};const _0x4ed6c1=_0x3f20aa(this[_0x3a2eb3(0x204)],_0x4e75d0,_0x4522b2,this[_0x3a2eb3(0x29e)]),{valueMatrix:_0x62c92,rowInfo:_0x3cbf8f,colInfo:_0x28e254,cornerInfo:_0x18c541,rowHeaderMap:_0x501cd8,colHeaderMap:_0x534f92}=_0x4ed6c1;return _0x3ca9ef['areaInfo']={'rowInfo':_0x3cbf8f,'colInfo':_0x28e254,'cornerInfo':_0x18c541},_0x3ca9ef[_0x3a2eb3(0x427)]={'rowHeaderMap':_0x501cd8,'colHeaderMap':_0x534f92},_0x62c92['forEach']((_0x28c6ac,_0x5f1a56)=>{Object['keys'](_0x5f1a56)['forEach'](_0x443264=>{const _0x563bae=_0x3ff9,_0x569cad=+_0x443264,_0x1d6de0=_0x62c92[_0x563bae(0x289)](_0x28c6ac,_0x569cad);_0x1a05de['setValue'](_0x28c6ac,_0x569cad,_0x1d6de0);});}),this[_0x3a2eb3(0x2b2)][_0x3a2eb3(0x372)]({'unitId':_0x441292,'subUnitId':_0x5338f9,'valueMatrix':_0x1a05de,'rangesCache':_0x3ca9ef[_0x3a2eb3(0x19c)],'pivotTableId':_0x32bc0b,'type':_0x493321['type']}),this['_sheetsPivotTableConfigModel'][_0x3a2eb3(0x218)](_0x441292,_0x5338f9,_0x32bc0b,_0x1a05de,_0x3ca9ef[_0x3a2eb3(0x19c)]),this['_exclusiveRangeService'][_0x3a2eb3(0x1c3)](_0x441292,_0x5338f9,_0x21386f,this['_createExclusiveRange'](_0x3ca9ef[_0x3a2eb3(0x19c)],_0x32bc0b)),{'rangeCache':_0x3ca9ef['rangesInfo'],'matrix':_0x1a05de};}}['_updateRenderEmptyCache'](_0x4250d7,_0x228eca,_0x59a2c5,_0x270117){const _0x24bf7c=_0x4bebf8,_0x3645d3=this[_0x24bf7c(0x222)]['t'],{unitId:_0x4a5e64,subUnitId:_0x5974c1,pivotTableId:_0x11e805}=_0x4250d7,_0x2a3acb={'filter':_0x3645d3(_0x24bf7c(0x258)),'row':_0x3645d3(_0x24bf7c(0x367)),'column':_0x3645d3(_0x24bf7c(0x26c)),'values':_0x3645d3('sheets-pivot.emptyPivot.values')},{matrixCache:_0x1ce3cb,rangesCache:_0x504f25}=_0x44b39f(_0x2a3acb,_0x59a2c5);return _0x1ce3cb[_0x24bf7c(0x214)]((_0x21fbff,_0x3a1669,_0x170cfe)=>{const _0x30f115=_0x24bf7c;_0x228eca[_0x30f115(0x450)](_0x21fbff,_0x3a1669,_0x170cfe);}),_0x270117[_0x24bf7c(0x19c)]=_0x504f25,this[_0x24bf7c(0x2b2)][_0x24bf7c(0x372)]({'unitId':_0x4a5e64,'subUnitId':_0x5974c1,'valueMatrix':_0x228eca,'rangesCache':_0x504f25,'pivotTableId':_0x11e805,'type':_0x4250d7[_0x24bf7c(0x1fd)],'isEmpty':!0x0}),this[_0x24bf7c(0x46e)][_0x24bf7c(0x218)](_0x4a5e64,_0x5974c1,_0x11e805,_0x228eca,_0x504f25),this[_0x24bf7c(0x194)][_0x24bf7c(0x1c3)](_0x4a5e64,_0x5974c1,_0x21386f,this[_0x24bf7c(0x1a2)](_0x504f25,_0x11e805)),{'rangeCache':_0x270117[_0x24bf7c(0x19c)],'matrix':_0x228eca};}['_createExclusiveRange'](_0x52c08a,_0x11530e){const _0x46d9bd=_0x4bebf8,_0x416f80=[],_0x3ffb88=_0x2efb5b(_0x52c08a);for(const _0x4d2e7d of _0x3ffb88)_0x416f80[_0x46d9bd(0x428)]({'groupId':_0x11530e,'range':_0x4d2e7d});return _0x416f80;}['clearRenderCache'](_0x40bfa){const _0x134cf6=_0x4bebf8;var _0x1c0227,_0x45a08d,_0x4075d8,_0x48abf8;const {pivotTableId:_0x51d845,unitId:_0x176f9e,subUnitId:_0x1371b1}=_0x40bfa;if(!_0x51d845||!_0x176f9e||!_0x1371b1)return;const _0xc5e35c=this[_0x134cf6(0x215)](_0x176f9e,_0x1371b1),_0x24ee89=(_0x45a08d=(_0x1c0227=this[_0x134cf6(0x178)][_0x134cf6(0x335)](_0x176f9e))==null?void 0x0:_0x1c0227[_0x134cf6(0x335)](_0x1371b1))==null?void 0x0:_0x45a08d['get'](_0x51d845);if(_0x24ee89!=null&&_0x24ee89[_0x134cf6(0x19c)]){for(const _0x34b4e8 of Object[_0x134cf6(0x201)](_0x24ee89[_0x134cf6(0x19c)]))_0x24ee89['rangesInfo'][_0x34b4e8]['forEach'](_0x4cdd04=>{const _0x3e88fc=_0x134cf6;for(let _0x2c2648=_0x4cdd04[_0x3e88fc(0x1bc)];_0x2c2648<=_0x4cdd04[_0x3e88fc(0x3f9)];_0x2c2648++)for(let _0x4b9bfc=_0x4cdd04['startColumn'];_0x4b9bfc<=_0x4cdd04[_0x3e88fc(0x382)];_0x4b9bfc++)_0xc5e35c[_0x3e88fc(0x357)](_0x2c2648,_0x4b9bfc);});}_0x24ee89&&((_0x48abf8=(_0x4075d8=this[_0x134cf6(0x178)][_0x134cf6(0x335)](_0x176f9e))==null?void 0x0:_0x4075d8['get'](_0x1371b1))==null||_0x48abf8['delete'](_0x51d845)),this[_0x134cf6(0x2b2)][_0x134cf6(0x372)]({'unitId':_0x176f9e,'subUnitId':_0x1371b1,'valueMatrix':_0xc5e35c,'pivotTableId':_0x51d845,'rangesCache':void 0x0,'type':_0x40bfa[_0x134cf6(0x1fd)]}),this[_0x134cf6(0x194)]['clearExclusiveRangesByGroupId'](_0x176f9e,_0x1371b1,_0x21386f,_0x51d845);}[_0x4bebf8(0x3a4)](_0x3053e1,_0x1ce465,_0xcdf760){const _0x50a717=_0x4bebf8;var _0x18c649,_0x2e28c3,_0xa46b3a,_0x4f16f5,_0x4b3300,_0x1c8482;return this[_0x50a717(0x178)][_0x50a717(0x421)](_0x3053e1)||this[_0x50a717(0x178)][_0x50a717(0x2e3)](_0x3053e1,new Map()),(_0x18c649=this['_pivotRenderInfoCache'][_0x50a717(0x335)](_0x3053e1))!=null&&_0x18c649[_0x50a717(0x421)](_0x1ce465)||(_0x2e28c3=this[_0x50a717(0x178)][_0x50a717(0x335)](_0x3053e1))==null||_0x2e28c3['set'](_0x1ce465,new Map()),(_0x4f16f5=(_0xa46b3a=this[_0x50a717(0x178)][_0x50a717(0x335)](_0x3053e1))==null?void 0x0:_0xa46b3a[_0x50a717(0x335)](_0x1ce465))!=null&&_0x4f16f5['has'](_0xcdf760)||(_0x1c8482=(_0x4b3300=this['_pivotRenderInfoCache'][_0x50a717(0x335)](_0x3053e1))==null?void 0x0:_0x4b3300[_0x50a717(0x335)](_0x1ce465))==null||_0x1c8482[_0x50a717(0x2e3)](_0xcdf760,{}),this[_0x50a717(0x178)]['get'](_0x3053e1)[_0x50a717(0x335)](_0x1ce465)[_0x50a717(0x335)](_0xcdf760);}[_0x4bebf8(0x215)](_0x199e8b,_0x1b7e61){const _0x279f72=_0x4bebf8;var _0x59f52,_0x2632e9;return this[_0x279f72(0x3c2)]['has'](_0x199e8b)||this[_0x279f72(0x3c2)][_0x279f72(0x2e3)](_0x199e8b,new Map()),(_0x59f52=this['_pivotRenderValueMatrixCache'][_0x279f72(0x335)](_0x199e8b))!=null&&_0x59f52[_0x279f72(0x421)](_0x1b7e61)||(_0x2632e9=this[_0x279f72(0x3c2)][_0x279f72(0x335)](_0x199e8b))==null||_0x2632e9['set'](_0x1b7e61,new _0x1595a8[(_0x279f72(0x37b))]()),this[_0x279f72(0x3c2)][_0x279f72(0x335)](_0x199e8b)[_0x279f72(0x335)](_0x1b7e61);}['getPivotTableCellData'](_0x18c040,_0x2c0cea,_0x34f8c8,_0x54ad6a){const _0x5e74f4=_0x4bebf8;var _0x1470e1,_0x8c33df;const _0x5a8261=(_0x8c33df=(_0x1470e1=this['_pivotRenderValueMatrixCache']['get'](_0x18c040))==null?void 0x0:_0x1470e1[_0x5e74f4(0x335)](_0x2c0cea))==null?void 0x0:_0x8c33df[_0x5e74f4(0x289)](_0x34f8c8,_0x54ad6a);if(_0x5a8261!=null)return _0x5a8261;}['getPivotTableIdByCell'](_0x291e67,_0x526e20,_0x3aebd7,_0x341be0){const _0x2bc12e=_0x4bebf8;var _0x57e93e;const _0x3ac35b=_0x1595a8[_0x2bc12e(0x383)](_0x3aebd7,_0x341be0),_0x4ca973=(_0x57e93e=this[_0x2bc12e(0x178)][_0x2bc12e(0x335)](_0x291e67))==null?void 0x0:_0x57e93e[_0x2bc12e(0x335)](_0x526e20);return _0x4ca973?Array['from'](_0x4ca973[_0x2bc12e(0x201)]())[_0x2bc12e(0x1ed)](_0x26c152=>{const _0xe995ce=_0x2bc12e,_0x52a335=_0x4ca973['get'](_0x26c152),_0x25eb31=_0x52a335==null?void 0x0:_0x52a335[_0xe995ce(0x19c)];return _0x25eb31?Object['keys'](_0x25eb31)[_0xe995ce(0x245)](_0x4488ab=>_0x25eb31[_0x4488ab][_0xe995ce(0x245)](_0x3ef239=>_0x1595a8[_0xe995ce(0x3ac)][_0xe995ce(0x481)](_0x3ef239,_0x3ac35b))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x494d23,_0x441a92,_0x29bb9b){const _0x39f3c0=_0x4bebf8;var _0x4b361f;const _0x2d5ae4=(_0x4b361f=this[_0x39f3c0(0x178)][_0x39f3c0(0x335)](_0x494d23))==null?void 0x0:_0x4b361f['get'](_0x441a92),_0x56c8a1=[];return _0x2d5ae4&&Array[_0x39f3c0(0x1ee)](_0x2d5ae4[_0x39f3c0(0x201)]())['forEach'](_0x2d0648=>{const _0x1ad26f=_0x39f3c0,_0x4bbdbf=_0x2d5ae4[_0x1ad26f(0x335)](_0x2d0648),_0x341a02=_0x4bbdbf==null?void 0x0:_0x4bbdbf[_0x1ad26f(0x19c)];if(_0x341a02)for(const _0x2346c8 of Object[_0x1ad26f(0x476)](_0x341a02)){let _0x480eef=!0x1;for(const _0x387012 of _0x2346c8)if(_0x1595a8[_0x1ad26f(0x3ac)][_0x1ad26f(0x35d)](_0x387012,_0x29bb9b)){_0x56c8a1[_0x1ad26f(0x428)](_0x2d0648),_0x480eef=!0x0;break;}if(_0x480eef)break;}}),_0x56c8a1;}[_0x4bebf8(0x33a)](_0x1e174a,_0x308661){const _0x524598=_0x4bebf8;var _0x99192,_0x2fcf8c;return(_0x2fcf8c=(_0x99192=this[_0x524598(0x3c2)][_0x524598(0x335)](_0x1e174a))==null?void 0x0:_0x99192[_0x524598(0x335)](_0x308661))!=null?_0x2fcf8c:new _0x1595a8['ObjectMatrix']();}[_0x4bebf8(0x266)](_0x3aa1a8,_0x46f970){const _0x21bca3=_0x4bebf8;var _0x2c2e76;return(_0x2c2e76=this[_0x21bca3(0x178)][_0x21bca3(0x335)](_0x3aa1a8))==null?void 0x0:_0x2c2e76[_0x21bca3(0x335)](_0x46f970);}[_0x4bebf8(0x482)](_0x386e5a,_0x369724,_0x4e1288){const _0x3c7825=_0x4bebf8;var _0xc4dd74,_0xf6863b;return(_0xf6863b=(_0xc4dd74=this[_0x3c7825(0x178)][_0x3c7825(0x335)](_0x386e5a))==null?void 0x0:_0xc4dd74[_0x3c7825(0x335)](_0x369724))==null?void 0x0:_0xf6863b[_0x3c7825(0x335)](_0x4e1288);}[_0x4bebf8(0x432)](_0x107a24){const _0x9745d6=_0x4bebf8;this[_0x9745d6(0x178)]['delete'](_0x107a24),this[_0x9745d6(0x3c2)][_0x9745d6(0x44a)](_0x107a24);}['markDirty'](_0x25cb03,_0x1e3399){const _0x4d5146=_0x4bebf8;this[_0x4d5146(0x3bc)]['next']({'unitId':_0x25cb03,'subUnitId':_0x1e3399});}},_0x4d544a[_0x4bebf8(0x457)]=_0x4542e6([_0x51659f(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8['LocaleService'])),_0x51659f(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x1ef)])),_0x51659f(0x2,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a[_0x4bebf8(0x233)])),_0x51659f(0x3,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x44e)])),_0x51659f(0x4,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4[_0x4bebf8(0x384)]))],_0x4d544a[_0x4bebf8(0x457)]);var _0x2104e0=Object['getOwnPropertyDescriptor'],_0x36bd44=(_0x182f0c,_0x4f3cec,_0x1bd3ed,_0x414e2a)=>{for(var _0x5f2244=_0x414e2a>0x1?void 0x0:_0x414e2a?_0x2104e0(_0x4f3cec,_0x1bd3ed):_0x4f3cec,_0x149108=_0x182f0c['length']-0x1,_0x5383e1;_0x149108>=0x0;_0x149108--)(_0x5383e1=_0x182f0c[_0x149108])&&(_0x5f2244=_0x5383e1(_0x5f2244)||_0x5f2244);return _0x5f2244;},_0x268cb8=(_0x3893e7,_0x902521)=>(_0x241820,_0x1d60a5)=>_0x902521(_0x241820,_0x1d60a5,_0x3893e7);_0x4d544a['SheetsPivotTableService']=class extends _0x1595a8[_0x4bebf8(0x3a8)]{constructor(_0x4db2a2,_0x2ae412){const _0x381a41=_0x4bebf8;super(),_0x3bae97(this,_0x381a41(0x219),new _0x1595a8['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x17b928})),_0x3bae97(this,_0x381a41(0x251),new _0x1595a8['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x48d1db})),(this[_0x381a41(0x211)]=_0x4db2a2,this[_0x381a41(0x395)]=_0x2ae412,this[_0x381a41(0x25b)]());}[_0x4bebf8(0x25b)](){const _0x2e83e7=_0x4bebf8;this[_0x2e83e7(0x45c)]();}[_0x4bebf8(0x480)](_0x40c87c){const _0x3d51da=_0x4bebf8;return this[_0x3d51da(0x219)][_0x3d51da(0x409)](_0x17b928)(!0x1,_0x40c87c);}[_0x4bebf8(0x45c)](){const _0x214a62=_0x4bebf8;this[_0x214a62(0x426)](this[_0x214a62(0x211)]['intercept'](_0x4588b4['INTERCEPTOR_POINT']['CELL_CONTENT'],{'priority':0xc8,'effect':_0x1595a8[_0x214a62(0x33b)]['Value']|_0x1595a8[_0x214a62(0x33b)][_0x214a62(0x1b0)],'handler':(_0x3b7e0c,_0x488c8c,_0x310414)=>{const _0x246ab0=_0x214a62,{row:_0x583702,col:_0x3d44cf,unitId:_0x20c797,subUnitId:_0x4864e4,workbook:_0xe54f2c}=_0x488c8c,_0x41d7f1=this[_0x246ab0(0x395)][_0x246ab0(0x459)](_0x20c797,_0x4864e4,_0x583702,_0x3d44cf);if(!_0x41d7f1)return _0x310414(_0x3b7e0c);const _0x2e959e={..._0x3b7e0c};(_0x41d7f1['v']||_0x41d7f1['v']===0x0)&&(_0x2e959e['v']=_0x41d7f1['v']),_0x41d7f1['t']&&(_0x2e959e['t']=_0x41d7f1['t']);const _0x66bc32=(typeof(_0x3b7e0c==null?void 0x0:_0x3b7e0c['s'])==_0x246ab0(0x243)?_0xe54f2c['getStyles']()[_0x246ab0(0x335)](_0x3b7e0c==null?void 0x0:_0x3b7e0c['s']):_0x3b7e0c==null?void 0x0:_0x3b7e0c['s'])||{},_0x5ef8b1=_0xe54f2c[_0x246ab0(0x474)]()[_0x246ab0(0x335)](_0x41d7f1['s']),_0x542771={..._0x5ef8b1,..._0x66bc32};_0x5ef8b1!=null&&_0x5ef8b1['n']&&(_0x542771['n']=_0x5ef8b1['n']);const _0x45d645=_0xe54f2c['getStyles']()[_0x246ab0(0x450)](_0x542771);return _0x2e959e['s']=_0x45d645,(_0x41d7f1[_0x246ab0(0x2c1)]===_0x3fd852[_0x246ab0(0x221)][_0x246ab0(0x1b1)]||_0x41d7f1[_0x246ab0(0x2c1)]===_0x3fd852['PivotCellStyleTypeEnum']['Expand'])&&(_0x2e959e[_0x246ab0(0x2f9)]={},_0x2e959e[_0x246ab0(0x2f9)][_0x246ab0(0x1d6)]=_0x3c6257),_0x310414(_0x2e959e);}}));}},_0x4d544a[_0x4bebf8(0x286)]=_0x36bd44([_0x268cb8(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4[_0x4bebf8(0x456)])),_0x268cb8(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a[_0x4bebf8(0x457)]))],_0x4d544a[_0x4bebf8(0x286)]);function _0x36dda7(_0x2c2669,_0x240c33){const _0x17d38b=_0x4bebf8;switch(_0x240c33){case _0x3fd852[_0x17d38b(0x438)]['Value']:return _0x2c2669['valueFields'];case _0x3fd852[_0x17d38b(0x438)][_0x17d38b(0x399)]:return _0x2c2669[_0x17d38b(0x472)];case _0x3fd852['PivotTableFiledAreaEnum'][_0x17d38b(0x330)]:return _0x2c2669[_0x17d38b(0x403)];case _0x3fd852[_0x17d38b(0x438)][_0x17d38b(0x30f)]:return _0x2c2669['columnFields'];default:return[];}}function _0x223306(_0x323974,_0x15dc75){const _0xdd1eb2=_0x4bebf8;return _0x323974[_0xdd1eb2(0x2a6)][_0x15dc75]||_0x323974[_0xdd1eb2(0x2aa)][_0x15dc75];}function _0x3c9929(_0x2a6c61,_0x5b58cf){const _0x3433b7=_0x4bebf8,{area:_0x206de2,fieldJson:_0x4b7de7,index:_0xbf77c2}=_0x5b58cf;_0x206de2===_0x3fd852['PivotTableFiledAreaEnum']['Value']?_0x2a6c61[_0x3433b7(0x2a6)][_0x4b7de7['id']]=_0x4b7de7:_0x2a6c61[_0x3433b7(0x2aa)][_0x4b7de7['id']]=_0x4b7de7,_0x36dda7(_0x2a6c61,_0x206de2)[_0x3433b7(0x44d)](_0xbf77c2,0x0,_0x4b7de7['id']);}function _0x11e3cd(_0x5bb5c9,_0x4c4aff){const _0xe65b14=_0x4bebf8,{area:_0x29db44,fieldId:_0x303ea2,index:_0x244f2a}=_0x4c4aff;_0x29db44===_0x3fd852[_0xe65b14(0x438)][_0xe65b14(0x354)]?delete _0x5bb5c9['measure'][_0x303ea2]:delete _0x5bb5c9[_0xe65b14(0x2aa)][_0x303ea2],_0x36dda7(_0x5bb5c9,_0x29db44)['splice'](_0x244f2a,0x1);}function _0x269701(_0x3703b8,_0x1b0af8){const _0x429935=_0x4bebf8,{fieldId:_0x508e8d,name:_0x509088}=_0x1b0af8,_0x5c4932=_0x223306(_0x3703b8,_0x508e8d);_0x5c4932&&(_0x5c4932[_0x429935(0x267)]=_0x509088);}function _0x5e454d(_0x199518,_0x492ce6){const _0x2342fc=_0x4bebf8,{fieldId:_0x56b1e1,collapse:_0x23e710,item:_0x315b17}=_0x492ce6;_0x315b17!==void 0x0?(_0x199518['collapseInfo'][_0x56b1e1]=_0x199518[_0x2342fc(0x436)][_0x56b1e1]||{},_0x199518[_0x2342fc(0x436)][_0x56b1e1][_0x315b17]=_0x23e710):_0x199518[_0x2342fc(0x436)][_0x56b1e1]=_0x23e710;}function _0x3fdad1(_0x2d3c0d,_0x1c6238){const _0x3adbce=_0x4bebf8,{fieldId:_0x2a21f3,format:_0x5ebd11}=_0x1c6238,_0x370fb4=_0x223306(_0x2d3c0d,_0x2a21f3);_0x370fb4&&(_0x370fb4[_0x3adbce(0x2be)]=_0x5ebd11);}function _0x4fafd0(_0x41c89d,_0x48994c){const _0x15bbab=_0x4bebf8,{fieldId:_0x2821d4,filterInfo:_0xef6c2}=_0x48994c,_0x475114=_0x223306(_0x41c89d,_0x2821d4);_0x475114&&(_0x475114[_0x15bbab(0x344)]=_0xef6c2);}function _0x559e0f(_0x28773b,_0x13a4d3){const _0x34e305=_0x4bebf8,{fieldId:_0x3badd6,filterInfo:_0xe0f578}=_0x13a4d3,_0x5b5ac0=_0x28773b[_0x34e305(0x42b)]['filter'](_0x38e3fb=>_0x38e3fb['fieldId']!==_0x3badd6);_0xe0f578&&_0x5b5ac0['push']({'fieldId':_0x3badd6,'filterInfo':_0xe0f578}),_0x28773b[_0x34e305(0x42b)]=_0x5b5ac0;}function _0x2a0367(_0x350f6d,_0x243551){const _0x4b90fd=_0x4bebf8,{fieldId:_0x2b2a9f,subtotalType:_0x4bbb7}=_0x243551,_0x5649ba=_0x223306(_0x350f6d,_0x2b2a9f);_0x5649ba&&(_0x5649ba[_0x4b90fd(0x183)]=_0x4bbb7);}function _0x120a4d(_0x39bbd5,_0x1bd4ce){const _0x3b0ea9=_0x4bebf8,{fieldId:_0xe9b625,oldArea:_0x1900dd,area:_0x142d96,oldIndex:_0x4ea2d6,index:_0x176209}=_0x1bd4ce,_0x10a8a7=_0x1900dd!==_0x3fd852['PivotTableFiledAreaEnum'][_0x3b0ea9(0x354)]&&_0x142d96===_0x3fd852[_0x3b0ea9(0x438)][_0x3b0ea9(0x354)],_0x5d5fd2=_0x1900dd===_0x3fd852['PivotTableFiledAreaEnum'][_0x3b0ea9(0x354)]&&_0x142d96!==_0x3fd852[_0x3b0ea9(0x438)][_0x3b0ea9(0x354)];if(_0x10a8a7||_0x5d5fd2){const _0x2cee06=_0x223306(_0x39bbd5,_0xe9b625);_0x2cee06&&(_0x10a8a7?(delete _0x39bbd5[_0x3b0ea9(0x2aa)][_0xe9b625],_0x39bbd5[_0x3b0ea9(0x2a6)][_0xe9b625]=_0x2cee06):(delete _0x39bbd5[_0x3b0ea9(0x2a6)][_0xe9b625],_0x39bbd5[_0x3b0ea9(0x2aa)][_0xe9b625]=_0x2cee06));}const _0x2597d2=_0x36dda7(_0x39bbd5,_0x1900dd),_0x8c9159=_0x36dda7(_0x39bbd5,_0x142d96);_0x2597d2[_0x3b0ea9(0x44d)](_0x4ea2d6,0x1),_0x8c9159[_0x3b0ea9(0x44d)](_0x176209,0x0,_0xe9b625);}function _0x576137(_0x2770d5,_0x36633f){const _0xdca36d=_0x4bebf8,{valuePosition:_0x146d6e,index:_0x54ae69}=_0x36633f;_0x2770d5[_0xdca36d(0x390)]=_0x146d6e,_0x2770d5[_0xdca36d(0x224)]=_0x54ae69;}function _0x12dcaa(_0x489e5d,_0x4cb87f){const _0x3274b6=_0x4bebf8,{tableFieldId:_0x4be9a4,sourceName:_0x4694a2,dataFieldId:_0x306f0f}=_0x4cb87f,_0x47bcfc=_0x223306(_0x489e5d,_0x4be9a4);_0x47bcfc&&(_0x47bcfc[_0x3274b6(0x2b6)]=_0x4694a2,_0x47bcfc[_0x3274b6(0x2b7)]=_0x306f0f);}function _0xdc4623(_0x5c20d3,_0x1701d6){const _0x4eedc9=_0x4bebf8,{fieldId:_0x18fdda,sortInfo:_0x10973c}=_0x1701d6,_0x24e686=_0x223306(_0x5c20d3,_0x18fdda);_0x24e686&&(_0x24e686[_0x4eedc9(0x3ef)]=_0x10973c);}function _0x28dd16(_0x117845,_0x5db673){const _0x2452de=_0x4bebf8,{options:_0x4cac03}=_0x5db673;_0x117845[_0x2452de(0x3fe)]={..._0x117845[_0x2452de(0x3fe)],..._0x4cac03};}const _0x210645={'type':_0x1595a8['CommandType'][_0x4bebf8(0x18c)],'id':'sheet.mutation.add-pivot-field','handler'(_0x120c70,_0x1cb8a1){const _0x3f45f4=_0x4bebf8;if(!_0x1cb8a1)return!0x1;if(!!_0x120c70[_0x3f45f4(0x335)](_0x1595a8[_0x3f45f4(0x364)])[_0x3f45f4(0x26b)](_0x29b15b))return!0x0;const _0x59e7eb=_0x120c70['get'](_0x4d544a[_0x3f45f4(0x20b)]),{pivotTableId:_0x1d0997,fieldJson:_0x28b00e,area:_0x302961,index:_0x32eada,unitId:_0x4c7e46,subUnitId:_0x4307c3}=_0x1cb8a1,_0xc7e283=_0x59e7eb[_0x3f45f4(0x464)](_0x1d0997);if(!_0xc7e283)return!0x1;let _0x11694e;_0x302961===_0x3fd852[_0x3f45f4(0x438)]['Value']?_0x11694e=_0x3fd852[_0x3f45f4(0x2bb)](_0x28b00e):_0x11694e=_0x3fd852['createLabelField'](_0x28b00e),_0xc7e283[_0x3f45f4(0x203)](_0x11694e,_0x302961,_0x32eada);const _0x34ccf5=_0x59e7eb[_0x3f45f4(0x209)](_0x4c7e46,_0x4307c3,_0x1d0997);_0x3c9929(_0x34ccf5,_0x1cb8a1);const _0x2e4549=_0x59e7eb[_0x3f45f4(0x1a1)](_0x4c7e46,_0x4307c3,_0x1d0997);return _0x59e7eb[_0x3f45f4(0x30a)]({'unitId':_0x4c7e46,'subUnitId':_0x4307c3,'token':_0x1d0997,'type':_0xd7fa82[_0x3f45f4(0x189)],'pivotConfig':_0x2e4549}),!0x0;}},_0x4e7bfd={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x380),'handler'(_0x3d2ce6,_0x2fb32d){const _0x327a2a=_0x4bebf8;if(!_0x2fb32d)return!0x1;if(!!_0x3d2ce6[_0x327a2a(0x335)](_0x1595a8['IConfigService'])['getConfig'](_0x29b15b))return!0x0;const _0x359647=_0x3d2ce6[_0x327a2a(0x335)](_0x4d544a[_0x327a2a(0x20b)]),{pivotTableId:_0x5a5abc,fieldId:_0x3fc938,unitId:_0x279ee7,subUnitId:_0x37cc14}=_0x2fb32d,_0x35267d=_0x359647[_0x327a2a(0x464)](_0x5a5abc);if(!_0x35267d)return!0x1;_0x35267d[_0x327a2a(0x1a4)](_0x3fc938);const _0xce317d=_0x359647[_0x327a2a(0x209)](_0x279ee7,_0x37cc14,_0x5a5abc);_0x11e3cd(_0xce317d,_0x2fb32d);const _0x3035dc=_0x359647[_0x327a2a(0x1a1)](_0x279ee7,_0x37cc14,_0x5a5abc);return _0x359647[_0x327a2a(0x30a)]({'unitId':_0x279ee7,'subUnitId':_0x37cc14,'token':_0x5a5abc,'type':_0xd7fa82[_0x327a2a(0x189)],'pivotConfig':_0x3035dc}),!0x0;}},_0x1fe9db={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x272),'handler'(_0x459449,_0x31b570){const _0x1d7c54=_0x4bebf8;if(!_0x31b570)return!0x1;if(!!_0x459449[_0x1d7c54(0x335)](_0x1595a8[_0x1d7c54(0x364)])[_0x1d7c54(0x26b)](_0x29b15b))return!0x0;const _0xa50543=_0x459449[_0x1d7c54(0x335)](_0x4d544a[_0x1d7c54(0x20b)]),{unitId:_0x383580,subUnitId:_0x2104c4,pivotTableId:_0x30f623,fieldId:_0x2ce426,name:_0xa0a493}=_0x31b570,_0x52aa60=_0xa50543[_0x1d7c54(0x464)](_0x30f623);if(!_0x52aa60)return!0x1;_0x52aa60[_0x1d7c54(0x1fb)](_0x2ce426,_0xa0a493);const _0x5b66b0=_0xa50543['getPivotTableModelConfig'](_0x383580,_0x2104c4,_0x30f623);return _0x269701(_0x5b66b0,_0x31b570),_0xa50543[_0x1d7c54(0x30a)]({'unitId':_0x383580,'subUnitId':_0x2104c4,'token':_0x30f623,'type':_0xd7fa82[_0x1d7c54(0x189)]}),!0x0;}},_0x62bf03={'type':_0x1595a8['CommandType'][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x25d),'handler'(_0x4dd107,_0x2856d5){const _0x448e97=_0x4bebf8;if(!_0x2856d5)return!0x1;if(!!_0x4dd107[_0x448e97(0x335)](_0x1595a8[_0x448e97(0x364)])[_0x448e97(0x26b)](_0x29b15b))return!0x0;const _0x1c8aa3=_0x4dd107[_0x448e97(0x335)](_0x4d544a[_0x448e97(0x20b)]),{unitId:_0x264aec,subUnitId:_0x1b22af,pivotTableId:_0x51705f,fieldId:_0x1e9d41,collapse:_0x50c962,item:_0x5e2a47}=_0x2856d5,_0xd1a83f=_0x1c8aa3[_0x448e97(0x464)](_0x51705f);if(!_0xd1a83f)return!0x1;_0xd1a83f[_0x448e97(0x368)](_0x1e9d41,_0x50c962,_0x5e2a47);const _0x523df5=_0x1c8aa3[_0x448e97(0x209)](_0x264aec,_0x1b22af,_0x51705f);return _0x5e454d(_0x523df5,_0x2856d5),_0x1c8aa3[_0x448e97(0x30a)]({'unitId':_0x264aec,'subUnitId':_0x1b22af,'token':_0x51705f,'type':_0xd7fa82[_0x448e97(0x189)]}),!0x0;}},_0x221862={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':'sheet.mutation.set-pivot-format','handler'(_0x12fe6b,_0x4d8763){const _0x16898b=_0x4bebf8;if(!_0x4d8763)return!0x1;if(!!_0x12fe6b['get'](_0x1595a8['IConfigService'])['getConfig'](_0x29b15b))return!0x0;const _0x4d7ae2=_0x12fe6b[_0x16898b(0x335)](_0x4d544a['SheetsPivotDataSourceModel']),{unitId:_0x329f4a,subUnitId:_0x5e5bd2,pivotTableId:_0x56e03e,fieldId:_0x79121,format:_0x231e0a}=_0x4d8763,_0x8deae7=_0x4d7ae2['getPivotTableInstance'](_0x56e03e);if(!_0x8deae7)return!0x1;_0x8deae7[_0x16898b(0x444)](_0x79121,_0x231e0a);const _0x1a8811=_0x4d7ae2[_0x16898b(0x209)](_0x329f4a,_0x5e5bd2,_0x56e03e);return _0x3fdad1(_0x1a8811,_0x4d8763),_0x4d7ae2[_0x16898b(0x30a)]({'unitId':_0x329f4a,'subUnitId':_0x5e5bd2,'token':_0x56e03e,'type':_0xd7fa82[_0x16898b(0x189)]}),!0x0;}},_0x1a0677={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x4990eb,_0xca7bb8){const _0x1d798a=_0x4bebf8;if(!_0xca7bb8)return!0x1;if(!!_0x4990eb[_0x1d798a(0x335)](_0x1595a8[_0x1d798a(0x364)])['getConfig'](_0x29b15b))return!0x0;const _0x4f83a0=_0x4990eb[_0x1d798a(0x335)](_0x4d544a[_0x1d798a(0x20b)]),{unitId:_0x16a2b0,subUnitId:_0x143e1c,pivotTableId:_0x480c56,fieldId:_0x3002a8,filterInfo:_0x4db187}=_0xca7bb8,_0xf9f959=_0x4f83a0[_0x1d798a(0x464)](_0x480c56);if(!_0xf9f959)return!0x1;_0xf9f959['setLabelFilterInfo'](_0x3002a8,_0x4db187);const _0x4d903f=_0x4f83a0[_0x1d798a(0x209)](_0x16a2b0,_0x143e1c,_0x480c56);return _0x4fafd0(_0x4d903f,_0xca7bb8),_0x4f83a0[_0x1d798a(0x30a)]({'unitId':_0x16a2b0,'subUnitId':_0x143e1c,'token':_0x480c56,'type':_0xd7fa82['Set']}),!0x0;}},_0x3eb383={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x2e4),'handler'(_0x42ccc9,_0x4e6554){const _0x2afa83=_0x4bebf8;if(!_0x4e6554)return!0x1;if(!!_0x42ccc9['get'](_0x1595a8[_0x2afa83(0x364)])['getConfig'](_0x29b15b))return!0x0;const _0x40c113=_0x42ccc9[_0x2afa83(0x335)](_0x4d544a[_0x2afa83(0x20b)]),{unitId:_0x5177b9,subUnitId:_0x18cf65,pivotTableId:_0x319605,options:_0x2808c2}=_0x4e6554,_0x13b34f=_0x40c113[_0x2afa83(0x464)](_0x319605);if(!_0x13b34f)return!0x1;_0x13b34f[_0x2afa83(0x2ba)](_0x2808c2);const _0x301578=_0x40c113[_0x2afa83(0x209)](_0x5177b9,_0x18cf65,_0x319605);return _0x28dd16(_0x301578,_0x4e6554),_0x40c113[_0x2afa83(0x30a)]({'unitId':_0x5177b9,'subUnitId':_0x18cf65,'token':_0x319605,'type':_0xd7fa82[_0x2afa83(0x189)]}),!0x0;}},_0x43792d={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x2f1d3c,_0x548495){const _0x5d1547=_0x4bebf8;if(!_0x548495)return!0x1;if(!!_0x2f1d3c[_0x5d1547(0x335)](_0x1595a8[_0x5d1547(0x364)])['getConfig'](_0x29b15b))return!0x0;const _0x2f3271=_0x2f1d3c[_0x5d1547(0x335)](_0x4d544a[_0x5d1547(0x20b)]),{unitId:_0x470e83,subUnitId:_0x38598f,pivotTableId:_0x7323e5,sortInfo:_0x59723f,fieldId:_0x4dfe64}=_0x548495,_0x27492a=_0x2f3271[_0x5d1547(0x464)](_0x7323e5);if(!_0x27492a)return!0x1;_0x27492a[_0x5d1547(0x2ed)](_0x4dfe64,_0x59723f);const _0x286c92=_0x2f3271[_0x5d1547(0x209)](_0x470e83,_0x38598f,_0x7323e5);return _0xdc4623(_0x286c92,_0x548495),_0x2f3271[_0x5d1547(0x30a)]({'unitId':_0x470e83,'subUnitId':_0x38598f,'token':_0x7323e5,'type':_0xd7fa82[_0x5d1547(0x189)]}),!0x0;}},_0x4f754e={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x2e5),'handler'(_0x1b3cdd,_0x5d741c){const _0x43104f=_0x4bebf8;if(!_0x5d741c)return!0x1;if(!!_0x1b3cdd['get'](_0x1595a8[_0x43104f(0x364)])[_0x43104f(0x26b)](_0x29b15b))return!0x0;const _0x1e6c9a=_0x1b3cdd['get'](_0x4d544a[_0x43104f(0x20b)]),{unitId:_0x8f3fb2,subUnitId:_0x1ec429,pivotTableId:_0x28500a,fieldId:_0x526008,subtotalType:_0x3657e7}=_0x5d741c,_0x3c6e63=_0x1e6c9a[_0x43104f(0x464)](_0x28500a);if(!_0x3c6e63)return!0x1;_0x3c6e63[_0x43104f(0x199)](_0x526008,_0x3657e7);const _0x7f4c21=_0x1e6c9a[_0x43104f(0x209)](_0x8f3fb2,_0x1ec429,_0x28500a);return _0x2a0367(_0x7f4c21,_0x5d741c),_0x1e6c9a['addDirtyPivotTable']({'unitId':_0x8f3fb2,'subUnitId':_0x1ec429,'token':_0x28500a,'type':_0xd7fa82[_0x43104f(0x189)]}),!0x0;}},_0x1e756a={'type':_0x1595a8[_0x4bebf8(0x423)]['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x5363c0,_0x56352c){const _0x5e2e3f=_0x4bebf8;if(!_0x56352c)return!0x1;if(!!_0x5363c0['get'](_0x1595a8['IConfigService'])[_0x5e2e3f(0x26b)](_0x29b15b))return!0x0;const _0x231535=_0x5363c0[_0x5e2e3f(0x335)](_0x4d544a['SheetsPivotDataSourceModel']),{unitId:_0x577714,subUnitId:_0x297bcc,pivotTableId:_0x437725,fieldId:_0x3949eb,filterInfo:_0x78b221}=_0x56352c,_0x1a4886=_0x231535[_0x5e2e3f(0x464)](_0x437725);if(!_0x1a4886)return!0x1;_0x1a4886[_0x5e2e3f(0x206)](_0x3949eb,_0x78b221);const _0x673663=_0x231535['getPivotTableModelConfig'](_0x577714,_0x297bcc,_0x437725);return _0x559e0f(_0x673663,_0x56352c),_0x231535[_0x5e2e3f(0x30a)]({'unitId':_0x577714,'subUnitId':_0x297bcc,'token':_0x437725,'type':_0xd7fa82['Set']}),!0x0;}},_0xd778e0={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0xe78fbb,_0x46f8bd){const _0x36b1e1=_0x4bebf8;if(!_0x46f8bd)return!0x1;if(!!_0xe78fbb[_0x36b1e1(0x335)](_0x1595a8['IConfigService'])[_0x36b1e1(0x26b)](_0x29b15b))return!0x0;const _0x493bc9=_0xe78fbb[_0x36b1e1(0x335)](_0x4d544a[_0x36b1e1(0x20b)]),{unitId:_0x1d74b5,subUnitId:_0x2aa2c2,pivotTableId:_0x19a0c3,area:_0x45104c,index:_0x5365fa,fieldId:_0x47b9d7}=_0x46f8bd,_0x5960ab=_0x493bc9[_0x36b1e1(0x464)](_0x19a0c3);if(!_0x5960ab)return!0x1;_0x5960ab[_0x36b1e1(0x284)](_0x47b9d7,_0x45104c,_0x5365fa);const _0x1b205e=_0x493bc9['getPivotTableModelConfig'](_0x1d74b5,_0x2aa2c2,_0x19a0c3);return _0x120a4d(_0x1b205e,_0x46f8bd),_0x493bc9[_0x36b1e1(0x30a)]({'unitId':_0x1d74b5,'subUnitId':_0x2aa2c2,'token':_0x19a0c3,'type':_0xd7fa82[_0x36b1e1(0x189)]}),!0x0;}},_0x565984={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x471),'handler'(_0x126eb1,_0x4fe84b){const _0x44b6ba=_0x4bebf8;if(!_0x4fe84b)return!0x1;if(!!_0x126eb1[_0x44b6ba(0x335)](_0x1595a8[_0x44b6ba(0x364)])[_0x44b6ba(0x26b)](_0x29b15b))return!0x0;const _0x59e650=_0x126eb1['get'](_0x4d544a['SheetsPivotDataSourceModel']),{unitId:_0x242bd8,subUnitId:_0x174217,pivotTableId:_0x104383,sourceName:_0x16d396,dataFieldId:_0xd12312,tableFieldId:_0x15d256}=_0x4fe84b,_0x1e92d1=_0x59e650[_0x44b6ba(0x464)](_0x104383);if(!_0x1e92d1)return!0x1;_0x1e92d1[_0x44b6ba(0x334)](_0x15d256,_0x16d396,_0xd12312);const _0x29065a=_0x59e650[_0x44b6ba(0x209)](_0x242bd8,_0x174217,_0x104383);return _0x12dcaa(_0x29065a,_0x4fe84b),_0x59e650[_0x44b6ba(0x30a)]({'unitId':_0x242bd8,'subUnitId':_0x174217,'token':_0x104383,'type':_0xd7fa82[_0x44b6ba(0x189)]}),!0x0;}},_0x5919e3={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x2a4),'handler'(_0x397f0a,_0x57d6ed){const _0x4154c9=_0x4bebf8;if(!_0x57d6ed)return!0x1;if(!!_0x397f0a['get'](_0x1595a8[_0x4154c9(0x364)])[_0x4154c9(0x26b)](_0x29b15b))return!0x0;const _0x5e71b2=_0x397f0a[_0x4154c9(0x335)](_0x4d544a[_0x4154c9(0x20b)]),{unitId:_0xe73f03,subUnitId:_0x190afe,pivotTableId:_0xcdeaf0,valuePosition:_0x550de2,index:_0x36f948}=_0x57d6ed,_0x144750=_0x5e71b2[_0x4154c9(0x464)](_0xcdeaf0);if(!_0x144750)return!0x1;_0x144750['updateValuePosition'](_0x550de2,_0x36f948);const _0x2ff1dd=_0x5e71b2[_0x4154c9(0x209)](_0xe73f03,_0x190afe,_0xcdeaf0);return _0x576137(_0x2ff1dd,_0x57d6ed),_0x5e71b2['addDirtyPivotTable']({'unitId':_0xe73f03,'subUnitId':_0x190afe,'token':_0xcdeaf0,'type':_0xd7fa82['Set']}),!0x0;}};function _0x406888(_0x9c1c0c,_0x8f891e,_0xa0a7bd){const _0x375a44=_0x4bebf8,{pivotTableId:_0x106a3b,unitId:_0x36cae3,subUnitId:_0x489d8b}=_0x8f891e,_0x379cb9=[],_0x4b5d3d=[];for(const _0x4edce1 of _0xa0a7bd)switch(_0x4edce1['type']){case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x27f)]:{const {fieldJson:_0x4e4d96,area:_0x3303dd,index:_0x202193}=_0x4edce1,_0x3d7918={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldJson':_0x4e4d96,'area':_0x3303dd,'index':_0x202193},_0x29d2bc={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x4e4d96['id'],'area':_0x3303dd,'index':_0x202193};_0x379cb9[_0x375a44(0x428)]({'id':_0x210645['id'],'params':_0x3d7918}),_0x4b5d3d[_0x375a44(0x223)]({'id':_0x4e7bfd['id'],'params':_0x29d2bc});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x3a5)]:{const {fieldId:_0x25886e,newSubtotalType:_0x36edbc,oldSubtotalType:_0x15f636}=_0x4edce1,_0x1c5db4={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x25886e,'subtotalType':_0x36edbc};_0x379cb9[_0x375a44(0x428)]({'id':_0x4f754e['id'],'params':_0x1c5db4});const _0x532087={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x25886e,'subtotalType':_0x15f636};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x4f754e['id'],'params':_0x532087});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x2b8)]:{const {fieldId:_0x380cab,fieldJson:_0x50953c,area:_0x31fb8c,index:_0x259f78}=_0x4edce1,_0x24dfb2={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x380cab,'index':_0x259f78,'area':_0x31fb8c};_0x379cb9[_0x375a44(0x428)]({'id':_0x4e7bfd['id'],'params':_0x24dfb2});const _0x3135f9={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldJson':_0x50953c,'area':_0x31fb8c,'index':_0x259f78};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x210645['id'],'params':_0x3135f9});}break;case _0x3fd852['PivotTableChangeTypeEnum'][_0x375a44(0x38c)]:{const {fieldId:_0x5823b2,oldName:_0x411aec,newName:_0x4c3b0e}=_0x4edce1,_0x429157={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x5823b2,'name':_0x4c3b0e};_0x379cb9[_0x375a44(0x428)]({'id':_0x1fe9db['id'],'params':_0x429157});const _0x18615c={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x5823b2,'name':_0x411aec};_0x4b5d3d['unshift']({'id':_0x1fe9db['id'],'params':_0x18615c});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x300)]:{const {fieldId:_0x41ec36,oldFilterInfo:_0x49fc91,newFilterInfo:_0x172436}=_0x4edce1,_0x4eab9e={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x41ec36,'filterInfo':_0x172436};_0x379cb9[_0x375a44(0x428)]({'id':_0x1a0677['id'],'params':_0x4eab9e});const _0x2078e2={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x41ec36,'filterInfo':_0x49fc91};_0x4b5d3d['unshift']({'id':_0x1a0677['id'],'params':_0x2078e2});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x26a)]:{const {fieldId:_0xa21feb,oldSortInfo:_0x2f9b50,newSortInfo:_0x3ace02}=_0x4edce1,_0x124d82={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0xa21feb,'sortInfo':_0x3ace02};_0x379cb9[_0x375a44(0x428)]({'id':_0x43792d['id'],'params':_0x124d82});const _0x5c7e9f={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0xa21feb,'sortInfo':_0x2f9b50};_0x4b5d3d['unshift']({'id':_0x43792d['id'],'params':_0x5c7e9f});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x1ce)]:{const {oldOptions:_0x81114d,newOptions:_0x4ded0a}=_0x4edce1,_0x57c9c3={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'options':_0x4ded0a};_0x379cb9[_0x375a44(0x428)]({'id':_0x3eb383['id'],'params':_0x57c9c3});const _0x509f44={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'options':_0x81114d};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x3eb383['id'],'params':_0x509f44});}break;case _0x3fd852[_0x375a44(0x429)]['UpdateFieldPosition']:{const {oldArea:_0x444cc0,newArea:_0x2ed7db,oldIndex:_0x236af0,newIndex:_0x14aa60,fieldId:_0x463c5d}=_0x4edce1,_0x38563d={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x463c5d,'area':_0x2ed7db,'index':_0x14aa60,'oldArea':_0x444cc0,'oldIndex':_0x236af0};_0x379cb9[_0x375a44(0x428)]({'id':_0xd778e0['id'],'params':_0x38563d});const _0x5ab3e1={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x463c5d,'area':_0x444cc0,'index':_0x236af0,'oldArea':_0x2ed7db,'oldIndex':_0x14aa60};_0x4b5d3d[_0x375a44(0x223)]({'id':_0xd778e0['id'],'params':_0x5ab3e1});}break;case _0x3fd852['PivotTableChangeTypeEnum'][_0x375a44(0x28b)]:{const {oldValuePosition:_0x43cbef,newValuePosition:_0x2c3ae3,oldIndex:_0x18de65,newIndex:_0x4ed78f}=_0x4edce1,_0x5e0edc={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'valuePosition':_0x2c3ae3,'index':_0x4ed78f};_0x379cb9[_0x375a44(0x428)]({'id':_0x5919e3['id'],'params':_0x5e0edc});const _0x413a10={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'valuePosition':_0x43cbef,'index':_0x18de65};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x5919e3['id'],'params':_0x413a10});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x338)]:{const {fieldId:_0x19f4cf,collapse:_0x37a09b,item:_0x245770}=_0x4edce1,_0x200bba={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x19f4cf,'collapse':_0x37a09b,'item':_0x245770};_0x379cb9[_0x375a44(0x428)]({'id':_0x62bf03['id'],'params':_0x200bba});const _0x5925ad={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x19f4cf,'collapse':!_0x37a09b,'item':_0x245770};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x62bf03['id'],'params':_0x5925ad});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x394)]:{const {newFormat:_0x50338e,oldFormat:_0x587c04,fieldId:_0x41cb93}=_0x4edce1,_0x185de8={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x41cb93,'format':_0x50338e};_0x379cb9[_0x375a44(0x428)]({'id':_0x221862['id'],'params':_0x185de8});const _0x2ee865={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x41cb93,'format':_0x587c04};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x221862['id'],'params':_0x2ee865});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x1de)]:{const {tableFieldId:_0x36b4ae,oldSourceName:_0x36989d,newSourceName:_0x2253e8,oldDataFieldId:_0x44097e,newDataFieldId:_0x2ff0c6}=_0x4edce1,_0x521731={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'tableFieldId':_0x36b4ae,'sourceName':_0x2253e8,'dataFieldId':_0x2ff0c6};_0x379cb9[_0x375a44(0x428)]({'id':_0x565984['id'],'params':_0x521731});const _0x5e2bf9={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'tableFieldId':_0x36b4ae,'sourceName':_0x36989d,'dataFieldId':_0x44097e};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x565984['id'],'params':_0x5e2bf9});}break;case _0x3fd852[_0x375a44(0x429)][_0x375a44(0x3e8)]:{const {fieldId:_0x50b0c2,filterInfo:_0x490121,oldFilterInfo:_0x3c5f68}=_0x4edce1,_0x301e95={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x50b0c2,'filterInfo':_0x490121};_0x379cb9[_0x375a44(0x428)]({'id':_0x1e756a['id'],'params':_0x301e95});const _0x2cda24={'unitId':_0x36cae3,'subUnitId':_0x489d8b,'pivotTableId':_0x106a3b,'fieldId':_0x50b0c2,'filterInfo':_0x3c5f68};_0x4b5d3d[_0x375a44(0x223)]({'id':_0x1e756a['id'],'params':_0x2cda24});}}return{'redos':_0x379cb9,'undos':_0x4b5d3d};}function _0x4bd6cf(_0x5ffdcf,_0x24036e){const _0x4d6185=_0x4bebf8;var _0x47ca59;const _0x47f645=_0x5ffdcf[_0x4d6185(0x335)](_0x4d544a[_0x4d6185(0x286)]),{cellInfo:_0x2c3202,view:_0x2a3d44,isEmpty:_0x16ad8e}=_0x24036e;return(_0x47ca59=_0x47f645[_0x4d6185(0x251)]['fetchThroughInterceptors'](_0x48d1db)(_0x3177fe,{'cellInfo':_0x2c3202,'view':_0x2a3d44,'isEmpty':_0x16ad8e}))!=null?_0x47ca59:_0x3177fe;}const _0x5ca5a9=()=>typeof process<'u'&&process['versions']!=null&&process[_0x4bebf8(0x227)]['node']!=null,_0x436cee={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':'sheet.mutation.add-pivot-table','handler'(_0x3a244f,_0x97d905){const _0x4fe067=_0x4bebf8;var _0x628295;if(!_0x97d905)return!0x1;const _0x5482e3=_0x3a244f[_0x4fe067(0x335)](_0x1595a8[_0x4fe067(0x364)]);if(!!_0x5482e3['getConfig'](_0x29b15b))return!0x0;const _0x2d6a09=_0x3a244f[_0x4fe067(0x335)](_0x1595a8['IUniverInstanceService']),_0x1b2a20=_0x3a244f[_0x4fe067(0x335)](_0x4d544a[_0x4fe067(0x20b)]),{pivotTableId:_0x3428f3,pivotTableConfig:_0x2a8b85,collectionConfig:_0x1b570b,unitId:_0x25c52b,subUnitId:_0x3a1eca}=_0x97d905,{sourceRangeInfo:_0x1818b6,fieldsConfig:_0x32f599,targetCellInfo:_0x5bbfae}=_0x2a8b85,_0x4d0d3c=_0x2d6a09[_0x4fe067(0x3c7)](_0x25c52b);if(!_0x4d0d3c||!_0x4d0d3c['getSheetBySheetId'](_0x3a1eca))return!0x1;if(!_0x5ca5a9()){let _0x2f32b3=0x0;_0x4d0d3c['getSheets']()[_0x4fe067(0x2f1)](_0x138e93=>{const _0x4faecb=_0x4fe067;var _0x4db186,_0x566c0d;_0x2f32b3+=(_0x566c0d=(_0x4db186=_0x1b2a20['getSubUnitPivotConfigs'](_0x25c52b,_0x138e93[_0x4faecb(0x28a)]()))==null?void 0x0:_0x4db186[_0x4faecb(0x2f2)])!=null?_0x566c0d:0x0;});const _0x3d641e=(_0x628295=_0x5482e3['getConfig'](_0x55b4b9[_0x4fe067(0x18f)]))!=null?_0x628295:{},{ls:_0x304746,pbk:_0x9ebd8a}=_0x3d641e;if(!_0x4ccebb(_0x304746,_0x9ebd8a))throw new _0x1595a8[(_0x4fe067(0x33d))](_0x4fe067(0x41a));const _0x3a758f=_0x301c26(_0x5f566b,_0x304746,_0x9ebd8a)[_0x4fe067(0x184)];if(_0x2f32b3>=_0x3a758f)throw new _0x1595a8[(_0x4fe067(0x33d))](_0x4fe067(0x41a));}if(!_0x1b570b||!_0x32f599)return!0x1;const {collection:_0x556ea9,updateDataFieldList:_0x2dc5ba}=_0x1b2a20[_0x4fe067(0x303)](_0x3428f3,_0x1b570b,_0x1818b6,_0x5bbfae);_0x1b2a20[_0x4fe067(0x31f)](_0x556ea9,_0x2dc5ba,_0x1818b6);const _0x2995ea=new _0x3fd852['PivotTable'](_0x556ea9,void 0x0,_0x3428f3);_0x2995ea[_0x4fe067(0x449)](_0x32f599);const _0x4fa53a=JSON['parse'](JSON[_0x4fe067(0x2b3)](_0x2a8b85));return _0x1b2a20[_0x4fe067(0x1e3)](_0x25c52b,_0x3a1eca,_0x3428f3,_0x2995ea,_0x4fa53a),_0x1b2a20[_0x4fe067(0x30a)]({'unitId':_0x25c52b,'subUnitId':_0x3a1eca,'token':_0x3428f3,'type':_0xd7fa82[_0x4fe067(0x3ad)],'pivotConfig':_0x4fa53a}),!0x0;}},_0x2d4d76={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x3fb),'handler'(_0x4ea496,_0x3f42aa){const _0x2776e9=_0x4bebf8;if(!_0x3f42aa)return!0x1;if(!!_0x4ea496[_0x2776e9(0x335)](_0x1595a8[_0x2776e9(0x364)])[_0x2776e9(0x26b)](_0x29b15b))return!0x0;const {pivotTableId:_0x207737,unitId:_0x202a2e,subUnitId:_0x4a568e}=_0x3f42aa,_0x4ca6d7=_0x4ea496[_0x2776e9(0x335)](_0x4d544a[_0x2776e9(0x20b)]);return _0x4ca6d7[_0x2776e9(0x1a1)](_0x202a2e,_0x4a568e,_0x207737)?(_0x4ca6d7[_0x2776e9(0x30a)]({'unitId':_0x202a2e,'subUnitId':_0x4a568e,'token':_0x207737,'type':_0xd7fa82[_0x2776e9(0x17e)]}),_0x4ca6d7[_0x2776e9(0x3d1)](_0x202a2e,_0x4a568e,_0x207737),!0x0):!0x1;}},_0x361ad3={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':'sheet.mutation.set-pivot-position','handler'(_0x60b965,_0x5c7f83){const _0x1a5797=_0x4bebf8;if(!_0x5c7f83)return!0x1;if(!!_0x60b965[_0x1a5797(0x335)](_0x1595a8[_0x1a5797(0x364)])[_0x1a5797(0x26b)](_0x29b15b))return!0x0;const {pivotTableId:_0x13e46a,targetCellPosition:_0x17c65f,unitId:_0x48d8a9,subUnitId:_0x350901}=_0x5c7f83,_0x348542=_0x60b965['get'](_0x4d544a[_0x1a5797(0x20b)]);if(!_0x348542[_0x1a5797(0x464)](_0x5c7f83[_0x1a5797(0x1e2)]))return!0x1;const _0x3ac066=_0x348542[_0x1a5797(0x2bf)](_0x13e46a);if(!_0x3ac066)return!0x1;const _0x3aab2c=_0x348542[_0x1a5797(0x35a)](_0x3ac066[_0x1a5797(0x2fd)],_0x5c7f83['pivotTableId']);if(!_0x3aab2c)return!0x1;const _0xcc22c=_0x348542[_0x1a5797(0x1a1)](_0x3ac066[_0x1a5797(0x2fd)],_0x3ac066[_0x1a5797(0x1b5)],_0x13e46a);if(!_0xcc22c)return!0x1;const _0x572396=_0x1595a8[_0x1a5797(0x336)][_0x1a5797(0x437)](_0xcc22c);_0x572396[_0x1a5797(0x263)]={'unitId':_0x48d8a9,'subUnitId':_0x350901,'row':_0x17c65f['row'],'col':_0x17c65f[_0x1a5797(0x28c)]};const _0x477f45=_0x3aab2c[_0x1a5797(0x249)]();if(_0x3ac066[_0x1a5797(0x1b5)]===_0x350901&&_0x3ac066['unitId']===_0x48d8a9)_0x348542[_0x1a5797(0x434)](_0x48d8a9,_0x350901,_0x13e46a,_0x572396),_0x348542[_0x1a5797(0x30a)]({'unitId':_0x48d8a9,'subUnitId':_0x350901,'token':_0x13e46a,'type':_0xd7fa82['Set']});else{_0x348542[_0x1a5797(0x30a)]({'unitId':_0x3ac066[_0x1a5797(0x2fd)],'subUnitId':_0x3ac066[_0x1a5797(0x1b5)],'token':_0x13e46a,'type':_0xd7fa82['Delete']}),_0x348542[_0x1a5797(0x3d1)](_0x3ac066[_0x1a5797(0x2fd)],_0x3ac066[_0x1a5797(0x1b5)],_0x13e46a);const _0x55194b=_0x348542['addCollectionByJSON'](_0x13e46a,_0x477f45,_0xcc22c[_0x1a5797(0x44c)],_0x572396['targetCellInfo']),_0x49a7e6=new _0x3fd852['PivotTable'](_0x55194b[_0x1a5797(0x1e0)],void 0x0,_0x13e46a);_0x49a7e6[_0x1a5797(0x449)](_0x572396[_0x1a5797(0x3ba)]),_0x348542[_0x1a5797(0x1e3)](_0x48d8a9,_0x350901,_0x13e46a,_0x49a7e6,_0x572396),_0x348542[_0x1a5797(0x30a)]({'unitId':_0x48d8a9,'subUnitId':_0x350901,'token':_0x13e46a,'type':_0xd7fa82['Add'],'pivotConfig':_0x572396});}return!0x0;}},_0x59e011={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':_0x4bebf8(0x2d4),'handler'(_0x5d3425,_0xc0ca10){const _0x11cc32=_0x4bebf8;if(!_0xc0ca10)return!0x1;if(!!_0x5d3425[_0x11cc32(0x335)](_0x1595a8[_0x11cc32(0x364)])[_0x11cc32(0x26b)](_0x29b15b))return!0x0;const _0x5a24ba=_0x5d3425[_0x11cc32(0x335)](_0x4d544a[_0x11cc32(0x20b)]),{pivotTableId:_0x19bb62,deleteIds:_0x4e5955,collectionJSON:_0x642109,dataRangeInfo:_0x3b673b,unitId:_0x3a8649,subUnitId:_0x5475b3}=_0xc0ca10,_0x37564b=_0x5a24ba['getPivotTableInstance'](_0x19bb62),_0x6b3f9e=_0x5a24ba['getPivotTableConfig'](_0x3a8649,_0x5475b3,_0x19bb62);if(!_0x37564b||!_0x6b3f9e)return!0x1;const {collection:_0x4861cb,updateDataFieldList:_0x1584f4}=_0x5a24ba[_0x11cc32(0x303)](_0x19bb62,_0x642109,_0x3b673b,_0x6b3f9e[_0x11cc32(0x263)]);_0x5a24ba[_0x11cc32(0x31f)](_0x4861cb,_0x1584f4,_0x3b673b),_0x37564b[_0x11cc32(0x296)](_0x4861cb);for(const _0x3aac1f of _0x4e5955)_0x5a24ba[_0x11cc32(0x3af)](_0x3b673b[_0x11cc32(0x2fd)],_0x3aac1f);const _0x3f3fd7=_0x5a24ba[_0x11cc32(0x1a1)](_0x3a8649,_0x5475b3,_0x19bb62);return _0x3f3fd7[_0x11cc32(0x44c)]=JSON[_0x11cc32(0x1ac)](JSON[_0x11cc32(0x2b3)](_0x3b673b)),_0x5a24ba[_0x11cc32(0x30a)]({'unitId':_0x3a8649,'subUnitId':_0x5475b3,'token':_0x19bb62,'type':_0xd7fa82[_0x11cc32(0x189)]}),!0x0;}},_0xf7d5bc={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x3c0ec6=Object[_0x4bebf8(0x195)],_0x5f3a4b=(_0x3fe8e6,_0x4ee2ed,_0x444328,_0x422991)=>{const _0x8a4bb7=_0x4bebf8;for(var _0x6c9c7a=_0x422991>0x1?void 0x0:_0x422991?_0x3c0ec6(_0x4ee2ed,_0x444328):_0x4ee2ed,_0x237b99=_0x3fe8e6[_0x8a4bb7(0x26f)]-0x1,_0x61dc58;_0x237b99>=0x0;_0x237b99--)(_0x61dc58=_0x3fe8e6[_0x237b99])&&(_0x6c9c7a=_0x61dc58(_0x6c9c7a)||_0x6c9c7a);return _0x6c9c7a;},_0x4da5fd=(_0xf92ab7,_0x1b1cd5)=>(_0xeeb9ca,_0x2d39e8)=>_0x1b1cd5(_0xeeb9ca,_0x2d39e8,_0xf92ab7);_0x4d544a['SheetsPivotRPCService']=class extends _0x1595a8['Disposable']{constructor(_0x19a87d,_0x4a2be9){const _0x353110=_0x4bebf8;super(),_0x3bae97(this,'_requestResolvers',new Map()),(this['_injector']=_0x19a87d,this[_0x353110(0x1ab)]=_0x4a2be9);}[_0x4bebf8(0x3cf)](_0x225dc1){const _0x5efd57=_0x4bebf8,{version:_0x2209cc}=_0x225dc1,_0x2daa7e=this[_0x5efd57(0x24c)][_0x5efd57(0x335)](_0x2209cc);_0x2daa7e&&(_0x2daa7e(_0x225dc1),this['_requestResolvers'][_0x5efd57(0x44a)](_0x2209cc));}['getPivotDisplayConfig'](_0x5e168f){return new Promise((_0x2115b7,_0x14b5c2)=>{const _0x569b6c=_0x3ff9,_0x52cfb0=this['_generateUniqueVersion']();this[_0x569b6c(0x24c)]['set'](_0x52cfb0,_0x2115b7),this[_0x569b6c(0x1ab)]['executeCommand'](_0x4002bc['id'],{'version':_0x52cfb0,..._0x5e168f},{'onlyLocal':!0x0});});}[_0x4bebf8(0x225)](){const _0x5b67ae=_0x4bebf8;return Math['random']()[_0x5b67ae(0x1d8)](0x24)[_0x5b67ae(0x1ca)](0x2,0x10);}},_0x4d544a['SheetsPivotRPCService']=_0x5f3a4b([_0x4da5fd(0x0,_0x1595a8['Inject'](_0x1595a8[_0x4bebf8(0x1ef)])),_0x4da5fd(0x1,_0x1595a8['Inject'](_0x1595a8[_0x4bebf8(0x359)]))],_0x4d544a[_0x4bebf8(0x3d4)]);const _0x3b4935={'id':_0x4bebf8(0x39a),'type':_0x1595a8['CommandType'][_0x4bebf8(0x18c)],'handler':(_0x4bd209,_0x3b8c17)=>{const _0x1b7346=_0x4bebf8;if(!_0x3b8c17)return!0x1;if(!!_0x4bd209['get'](_0x1595a8[_0x1b7346(0x364)])[_0x1b7346(0x26b)](_0x29b15b))return!0x0;const {pivotTableId:_0x55ce0b,fieldJSON:_0x572567,unitId:_0x1efc5e,subUnitId:_0x40a78}=_0x3b8c17,_0x23ff50=_0x3fd852['BaseGroupField'][_0x1b7346(0x449)](_0x572567);if(!_0x23ff50)return!0x1;const _0x4631c0=_0x4bd209[_0x1b7346(0x335)](_0x4d544a[_0x1b7346(0x20b)]),_0x12e015=_0x4631c0[_0x1b7346(0x34a)](_0x1efc5e),_0x4e8004=_0x12e015[_0x1b7346(0x35a)](_0x55ce0b);_0x12e015[_0x1b7346(0x179)](_0x23ff50),_0x4e8004[_0x1b7346(0x203)](_0x23ff50[_0x1b7346(0x1bf)](),_0x23ff50[_0x1b7346(0x23f)]());const _0x566bd0=_0x4e8004[_0x1b7346(0x366)](_0x23ff50[_0x1b7346(0x1df)]());_0x566bd0&&_0x23ff50[_0x1b7346(0x3c0)](_0x566bd0);const _0xe4ebb6=_0x4631c0['getPivotTableConfig'](_0x1efc5e,_0x40a78,_0x55ce0b);return _0x4631c0['addDirtyPivotTable']({'unitId':_0x1efc5e,'subUnitId':_0x40a78,'token':_0x55ce0b,'type':_0xd7fa82['Set'],'pivotConfig':_0xe4ebb6}),!0x0;}},_0x2bacda={'id':_0x4bebf8(0x229),'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x18c)],'handler':(_0xb3e3d4,_0x1058c4)=>{const _0xfc8350=_0x4bebf8;if(!_0x1058c4)return!0x1;if(!!_0xb3e3d4[_0xfc8350(0x335)](_0x1595a8[_0xfc8350(0x364)])[_0xfc8350(0x26b)](_0x29b15b))return!0x0;const {pivotTableId:_0x5ebfe2,dataFieldId:_0x43bd7f,unitId:_0x2b1b21,subUnitId:_0x58b079}=_0x1058c4,_0x1b1d8d=_0xb3e3d4[_0xfc8350(0x335)](_0x4d544a['SheetsPivotDataSourceModel']),_0x26f296=_0x1b1d8d['getDataFieldManager'](_0x2b1b21);_0x26f296['getCollection'](_0x5ebfe2)['deleteField'](_0x43bd7f);let _0x486c0f=!0x0;for(const _0x36eb5e in _0x26f296[_0xfc8350(0x41d)])if(_0x26f296[_0xfc8350(0x41d)][_0x36eb5e][_0xfc8350(0x46b)]()[_0xfc8350(0x35c)](_0x43bd7f)){_0x486c0f=!0x1;break;}_0x486c0f&&_0x26f296['deleteDataField'](_0x43bd7f);const _0x40e9de=_0x1b1d8d['getPivotTableConfig'](_0x2b1b21,_0x58b079,_0x5ebfe2);return _0x1b1d8d[_0xfc8350(0x30a)]({'unitId':_0x2b1b21,'subUnitId':_0x58b079,'token':_0x5ebfe2,'type':_0xd7fa82[_0xfc8350(0x189)],'pivotConfig':_0x40e9de}),!0x0;}},_0x4b2b3b={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':'sheet.command.add-pivot-field',async 'handler'(_0xd999cb,_0x31a95f){const _0x5b3dc2=_0x4bebf8;if(!_0x31a95f)return!0x1;const _0x394d9a=_0xd999cb[_0x5b3dc2(0x335)](_0x1595a8['ICommandService']),_0x2fb05e=_0xd999cb[_0x5b3dc2(0x335)](_0x4d544a['SheetsPivotRPCService']),_0x5cc3e6=_0xd999cb[_0x5b3dc2(0x335)](_0x1595a8['IUndoRedoService']),{pivotTableId:_0x5ca4a9,dataFieldId:_0x3575cd,fieldArea:_0x58b5ce,index:_0x426b06,unitId:_0x1c004a,subUnitId:_0x5adc3a}=_0x31a95f,_0x5a9acb=(await _0x2fb05e[_0x5b3dc2(0x1c1)]({'unitId':_0x1c004a,'subUnitId':_0x5adc3a,'pivotTableId':_0x5ca4a9,'params':{'type':_0x5a956a[_0x5b3dc2(0x381)],'addPivotField':{'dataFieldId':_0x3575cd,'fieldArea':_0x58b5ce,'index':_0x426b06}}}))[_0x5b3dc2(0x2ef)][_0x5b3dc2(0x2cb)];if(!_0x5a9acb)return!0x1;const {view:_0x1f3c5f,changesets:_0x5c1e6f,isEmpty:_0x43c635,pivotTableConfig:_0x3086ed,shouldBeAddedGroupJSON:_0x487091}=_0x5a9acb,_0x1c8576=_0x3086ed[_0x5b3dc2(0x263)],_0x4554c2=new _0x3fd852[(_0x5b3dc2(0x3df))]();_0x4554c2['formJSON'](_0x1f3c5f);const _0xc43f2e={'cellInfo':_0x1c8576,'view':_0x4554c2,'isEmpty':_0x43c635};if(!await _0xd999cb[_0x5b3dc2(0x335)](_0x4d544a[_0x5b3dc2(0x286)])[_0x5b3dc2(0x219)]['fetchThroughAsyncInterceptors'](_0x17b928)(!0x0,_0xc43f2e))return!0x1;const _0x57336e=_0x4ffe57(_0xd999cb,_0x4554c2,_0x1c8576,_0x43c635),_0x1a6068=_0x4bd6cf(_0xd999cb,_0xc43f2e),{undos:_0x396949,redos:_0x5e0aae}=_0x406888(_0x394d9a,{'pivotTableId':_0x5ca4a9,'unitId':_0x1c004a,'subUnitId':_0x5adc3a},_0x5c1e6f);return _0x487091&&(_0x5e0aae[_0x5b3dc2(0x223)]({'id':_0x3b4935['id'],'params':{'pivotTableId':_0x5ca4a9,'fieldJSON':_0x487091,'unitId':_0x1c004a,'subUnitId':_0x5adc3a}}),_0x396949[_0x5b3dc2(0x428)]({'id':_0x2bacda['id'],'params':{'pivotTableId':_0x5ca4a9,'dataFieldId':_0x487091['id'],'unitId':_0x1c004a,'subUnitId':_0x5adc3a}})),_0x1595a8['sequenceExecute']([..._0x57336e['redos'],..._0x1a6068[_0x5b3dc2(0x27b)],..._0x5e0aae],_0x394d9a),_0x5cc3e6[_0x5b3dc2(0x3ee)]({'unitID':_0x1c004a,'redoMutations':[..._0x57336e[_0x5b3dc2(0x27b)],..._0x1a6068['redos'],..._0x5e0aae],'undoMutations':[..._0x57336e[_0x5b3dc2(0x40c)],..._0x1a6068[_0x5b3dc2(0x40c)],..._0x396949]}),!0x0;}},_0x4924b0={'type':_0x1595a8['CommandType'][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x3e6),async 'handler'(_0x21e85d,_0x3303ea){const _0x19f619=_0x4bebf8;if(!_0x3303ea)return!0x1;const {sourceDataInfo:_0x1f149d,pivotTableConfig:_0x7b9ced}=_0x3303ea;if(!_0x1f149d||!_0x7b9ced)return!0x1;const {unitId:_0xe94a0f,subUnitId:_0x312ed4,range:_0x3a5d6f}=_0x1f149d,_0x5a8c18=_0x21e85d[_0x19f619(0x335)](_0x1595a8[_0x19f619(0x44e)]),_0x3a9db4=_0x21e85d[_0x19f619(0x335)](_0x4d544a[_0x19f619(0x3d4)]),_0x17702e=_0x21e85d[_0x19f619(0x335)](_0x1595a8[_0x19f619(0x467)]),_0x4c448f=_0x21e85d[_0x19f619(0x335)](_0x1595a8[_0x19f619(0x359)]),_0x2ff66c=_0x5a8c18[_0x19f619(0x3c7)](_0xe94a0f);if(!_0x2ff66c)return!0x1;const _0x4da9fe=_0x2ff66c['getSheetBySheetId'](_0x312ed4);if(!_0x4da9fe)return!0x1;const _0x47af53=_0x3fd852['generateHexNumber'](0x8),_0x182bd0=_0x3a5d6f||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4da9fe[_0x19f619(0x25c)]()-0x1,'endColumn':_0x4da9fe['getColumnCount']()-0x1};_0x182bd0[_0x19f619(0x458)]=_0x1595a8['RANGE_TYPE'][_0x19f619(0x37c)];const _0x49126e=(await _0x3a9db4[_0x19f619(0x1c1)]({'unitId':_0xe94a0f,'subUnitId':_0x312ed4,'pivotTableId':_0x47af53,'params':{'type':_0x5a956a[_0x19f619(0x345)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0xe94a0f,'sheetName':_0x4da9fe['getName'](),'subUnitId':_0x312ed4,'range':_0x182bd0},'pivotTableId':_0x47af53,'pivotTableIndexConfig':_0x7b9ced}}}))[_0x19f619(0x2ef)]['addPivotTableWithConfig'];if(!_0x49126e)return!0x1;const {isEmpty:_0x276589,fieldsConfig:_0x27c169,collectionConfig:_0x18b351,changesets:_0x306432}=_0x49126e,_0x2b07ca=_0x2ff66c['getSheets']()[_0x19f619(0x26f)],_0x10abfb=_0x1595a8[_0x19f619(0x453)]({'rowCount':_0x4da9fe[_0x19f619(0x25c)]()-0x1,'columnCount':_0x4da9fe[_0x19f619(0x260)]()-0x1});_0x10abfb['id']=_0x1595a8[_0x19f619(0x192)](),_0x10abfb[_0x19f619(0x41b)]=_0x2ff66c[_0x19f619(0x465)](''+_0x17702e['t'](_0x19f619(0x360)));const _0x3c8d01={'index':_0x2b07ca,'sheet':_0x10abfb,'unitId':_0xe94a0f},{redos:_0x339fc0}=_0x406888(_0x4c448f,{'pivotTableId':_0x47af53,'unitId':_0xe94a0f,'subUnitId':_0x10abfb['id']},_0x306432),_0x2c4b77=[{'id':_0x4588b4[_0x19f619(0x298)]['id'],'params':_0x3c8d01},{'id':_0x436cee['id'],'params':{'unitId':_0xe94a0f,'subUnitId':_0x10abfb['id'],'pivotTableId':_0x47af53,'pivotTableConfig':{'isEmpty':_0x276589,'fieldsConfig':_0x27c169,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0xe94a0f,'subUnitId':_0x10abfb['id']},'sourceRangeInfo':{'subUnitId':_0x312ed4,'unitId':_0xe94a0f,'range':_0x182bd0,'sheetName':_0x4da9fe[_0x19f619(0x23f)]()}},'collectionConfig':_0x18b351}},..._0x339fc0];return _0x1595a8[_0x19f619(0x3b1)](_0x2c4b77,_0x4c448f),!0x0;}},_0xfe9c30={'type':_0x1595a8['CommandType'][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x46c),async 'handler'(_0x44fd87,_0x149201){const _0x2f173c=_0x4bebf8;var _0x143cda,_0x113ec8;const _0x3c9ab5=_0x44fd87[_0x2f173c(0x335)](_0x1595a8[_0x2f173c(0x359)]),_0x4a1957=_0x44fd87[_0x2f173c(0x335)](_0x1595a8[_0x2f173c(0x44e)]),_0x4d20bf=_0x44fd87[_0x2f173c(0x335)](_0x1595a8['LocaleService']),_0x1365c3=_0x44fd87[_0x2f173c(0x335)](_0x4d544a['SheetsPivotRPCService']),_0x1dc743=_0x44fd87['get'](_0x1595a8['IUndoRedoService']),_0x5d0131=_0x44fd87[_0x2f173c(0x335)](_0x4d544a[_0x2f173c(0x233)]),_0x403d53=_0x44fd87[_0x2f173c(0x335)](_0x1595a8[_0x2f173c(0x364)]);if(!_0x149201)return!0x1;const {pivotTableConfig:_0xc9b01e,positionType:_0x5020b2}=_0x149201,{targetCellInfo:_0x115779,sourceRangeInfo:_0x46e5d8}=_0xc9b01e,{unitId:_0x78376a,subUnitId:_0x5c0130}=_0x115779,_0x416605=_0x4a1957[_0x2f173c(0x3c7)](_0x78376a);if(!_0x416605)return!0x1;let _0x21f96a=0x0;_0x416605[_0x2f173c(0x1c9)]()[_0x2f173c(0x2f1)](_0x247102=>{const _0x485a66=_0x2f173c;var _0x4859e9,_0x4986df;_0x21f96a+=(_0x4986df=(_0x4859e9=_0x5d0131[_0x485a66(0x29a)](_0x78376a,_0x247102['getSheetId']()))==null?void 0x0:_0x4859e9[_0x485a66(0x2f2)])!=null?_0x4986df:0x0;});const _0x51f8c9=(_0x143cda=_0x403d53[_0x2f173c(0x26b)](_0x55b4b9['LS_CONFIG_KEY']))!=null?_0x143cda:{},{ls:_0x24ceb5,pbk:_0x23e23c}=_0x51f8c9;if(!_0x4ccebb(_0x24ceb5,_0x23e23c))return!0x1;const _0x296886=_0x301c26(_0x5f566b,_0x24ceb5,_0x23e23c)['count'];if(_0x21f96a>=_0x296886)return!0x1;const _0x4b8ea9=_0x149201[_0x2f173c(0x1e2)]||_0x3fd852[_0x2f173c(0x32e)](0x8),_0x41ef87=(await _0x1365c3['getPivotDisplayConfig']({'unitId':_0x78376a,'subUnitId':_0x5c0130,'pivotTableId':_0x4b8ea9,'params':{'type':_0x5a956a[_0x2f173c(0x1f3)],'addPivotTable':{'sourceRangeInfo':_0x46e5d8,'pivotTableId':_0x4b8ea9}}}))[_0x2f173c(0x2ef)]['addPivotTable'];if(!_0x41ef87)return!0x1;const {view:_0x31be67,isEmpty:_0x4c82e9,fieldsConfig:_0x328da9,collectionConfig:_0x171dce}=_0x41ef87,_0x39676e=[],_0x122e59=[];if(_0x5020b2===_0xf29fc1['New']){const _0x1e9ce8=_0x416605[_0x2f173c(0x1c9)]()[_0x2f173c(0x26f)],_0x3daf78=_0x1595a8[_0x2f173c(0x453)]({});_0x3daf78['id']=_0xc9b01e['targetCellInfo'][_0x2f173c(0x1b5)],_0x3daf78[_0x2f173c(0x41b)]=(_0x113ec8=_0xc9b01e[_0x2f173c(0x263)][_0x2f173c(0x2e8)])!=null?_0x113ec8:_0x416605[_0x2f173c(0x465)](''+_0x4d20bf['t'](_0x2f173c(0x360)));const _0x1fe100={'index':_0x1e9ce8,'sheet':_0x3daf78,'unitId':_0x78376a},_0x1e4220=_0x4588b4['InsertSheetUndoMutationFactory'](_0x44fd87,_0x1fe100);_0x39676e[_0x2f173c(0x428)]({'id':_0x4588b4['RemoveSheetMutation']['id'],'params':_0x1e4220}),_0x122e59['push']({'id':_0x4588b4['InsertSheetMutation']['id'],'params':_0x1fe100});}else{if(!_0x416605['getSheetBySheetId'](_0x5c0130))return!0x1;const _0x10c1e7=_0x4ffe57(_0x44fd87,new _0x3fd852['PivotView'](),_0x115779,!0x0);_0x122e59[_0x2f173c(0x428)](..._0x10c1e7[_0x2f173c(0x27b)]),_0x39676e[_0x2f173c(0x428)](..._0x10c1e7[_0x2f173c(0x40c)]);const _0x5fc49d={'cellInfo':_0x115779,'view':_0x31be67,'isEmpty':_0x4c82e9};if(!await _0x44fd87[_0x2f173c(0x335)](_0x4d544a[_0x2f173c(0x286)])[_0x2f173c(0x219)][_0x2f173c(0x409)](_0x17b928)(!0x0,_0x5fc49d))return!0x1;const _0x39048c=_0x4bd6cf(_0x44fd87,_0x5fc49d);_0x122e59[_0x2f173c(0x428)](..._0x39048c[_0x2f173c(0x27b)]),_0x39676e[_0x2f173c(0x428)](..._0x39048c[_0x2f173c(0x40c)]);}return _0x122e59[_0x2f173c(0x428)]({'id':_0x436cee['id'],'params':{'unitId':_0x115779[_0x2f173c(0x2fd)],'subUnitId':_0x115779[_0x2f173c(0x1b5)],'pivotTableId':_0x4b8ea9,'pivotTableConfig':{'targetCellInfo':_0x115779,'sourceRangeInfo':_0x46e5d8,'fieldsConfig':_0x328da9},'collectionConfig':_0x171dce}}),_0x39676e[_0x2f173c(0x223)]({'id':_0x2d4d76['id'],'params':{'unitId':_0x78376a,'subUnitId':_0x5c0130,'pivotTableId':_0x4b8ea9}}),_0x1595a8[_0x2f173c(0x3b1)](_0x122e59,_0x3c9ab5)&&_0x1dc743[_0x2f173c(0x3ee)]({'unitID':_0x78376a,'undoMutations':_0x39676e,'redoMutations':_0x122e59}),!0x0;}},_0x18784a={'type':_0x1595a8[_0x4bebf8(0x423)]['COMMAND'],'id':_0x4bebf8(0x355),async 'handler'(_0x42afd3,_0x30bdd3){const _0x55b3a4=_0x4bebf8;if(!_0x30bdd3)return!0x1;const _0x44771e=_0x42afd3['get'](_0x1595a8[_0x55b3a4(0x359)]),_0x530514=_0x42afd3[_0x55b3a4(0x335)](_0x4d544a[_0x55b3a4(0x3d4)]),_0x584c5a=_0x42afd3[_0x55b3a4(0x335)](_0x1595a8[_0x55b3a4(0x3ab)]),{pivotTableId:_0x495419,fieldId:_0x3934a1,area:_0xb4dc08,index:_0x8bdaae,unitId:_0x2b920a,subUnitId:_0x54094b}=_0x30bdd3,_0x1215ab=(await _0x530514[_0x55b3a4(0x1c1)]({'unitId':_0x2b920a,'subUnitId':_0x54094b,'pivotTableId':_0x495419,'params':{'type':_0x5a956a[_0x55b3a4(0x212)],'movePivotField':{'fieldId':_0x3934a1,'area':_0xb4dc08,'index':_0x8bdaae}}}))[_0x55b3a4(0x2ef)][_0x55b3a4(0x2fb)];if(!_0x1215ab)return!0x1;const {changesets:_0x5b7f21,view:_0x5bdd73,isEmpty:_0x315fc3,pivotTableConfig:_0xda533a}=_0x1215ab,_0x34ca1b=_0xda533a[_0x55b3a4(0x263)],_0x42db87=new _0x3fd852[(_0x55b3a4(0x3df))]();_0x42db87['formJSON'](_0x5bdd73);const _0x3b3fed={'cellInfo':_0x34ca1b,'view':_0x42db87,'isEmpty':_0x315fc3};if(!await _0x42afd3[_0x55b3a4(0x335)](_0x4d544a[_0x55b3a4(0x286)])[_0x55b3a4(0x219)]['fetchThroughAsyncInterceptors'](_0x17b928)(!0x0,_0x3b3fed))return!0x1;const _0x3a5235=_0x4ffe57(_0x42afd3,_0x42db87,_0x34ca1b,_0x315fc3),_0x3a852e=_0x4bd6cf(_0x42afd3,_0x3b3fed),{redos:_0x31ae88,undos:_0x3b125b}=_0x406888(_0x44771e,{'pivotTableId':_0x495419,'unitId':_0x2b920a,'subUnitId':_0x54094b},_0x5b7f21);return _0x1595a8[_0x55b3a4(0x3b1)]([..._0x3a5235[_0x55b3a4(0x27b)],..._0x3a852e[_0x55b3a4(0x27b)],..._0x31ae88],_0x44771e),_0x584c5a[_0x55b3a4(0x3ee)]({'unitID':_0x2b920a,'redoMutations':[..._0x3a5235[_0x55b3a4(0x27b)],..._0x3a852e[_0x55b3a4(0x27b)],..._0x31ae88],'undoMutations':[..._0x3a5235[_0x55b3a4(0x40c)],..._0x3a852e[_0x55b3a4(0x40c)],..._0x3b125b]}),!0x0;}},_0x4751f0={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x18fe5d,_0x2c0cfb){const _0x123d44=_0x4bebf8;var _0x2f4a2b;if(!_0x2c0cfb)return!0x1;const _0x52c521=_0x18fe5d[_0x123d44(0x335)](_0x1595a8[_0x123d44(0x44e)]),_0x2f3f82=_0x4588b4[_0x123d44(0x2a0)](_0x52c521);if(!_0x2f3f82)return!0x1;const {unitId:_0x2eb24d,subUnitId:_0x47a10e,workbook:_0xf7f01f}=_0x2f3f82,{row:_0xc911f7,col:_0x8cc7fc}=_0x2c0cfb,_0x52da46=_0x18fe5d[_0x123d44(0x335)](_0x4d544a[_0x123d44(0x457)]),_0x519fbe=_0x52da46[_0x123d44(0x2f6)](_0x2eb24d,_0x47a10e,_0xc911f7,_0x8cc7fc);if(!_0x519fbe)return!0x1;const _0x2cd698=(_0x2f4a2b=_0x52da46['getPivotItemRenderInfoCache'](_0x2eb24d,_0x47a10e,_0x519fbe))==null?void 0x0:_0x2f4a2b['areaInfo'];if(!_0x2cd698)return!0x1;const _0x3516ea=_0x18fe5d[_0x123d44(0x335)](_0x4d544a['SheetsPivotTableConfigModel'])[_0x123d44(0x1a1)](_0x2eb24d,_0x47a10e,_0x519fbe);if(!_0x3516ea)return!0x1;const {rowInfo:_0x53eee5,colInfo:_0x24ee19}=_0x2cd698,_0x2bf58a=_0x53eee5[_0xc911f7][_0x123d44(0x170)],_0x3df87d=_0x24ee19[_0x8cc7fc]['paths'],_0x487808=_0x53eee5[_0xc911f7][_0x123d44(0x299)],_0x263fea=_0x24ee19[_0x8cc7fc][_0x123d44(0x299)],_0x1b870a=_0x2bf58a[_0x123d44(0x3d0)](_0x3df87d),_0x3c4504=_0x3516ea['fieldsConfig']['rowFields'][_0x123d44(0x3c8)](0x0,_0x487808),_0x58cafd=_0x3516ea[_0x123d44(0x3ba)][_0x123d44(0x2ad)]['slice'](0x0,_0x263fea),_0x33b00a=_0x3c4504[_0x123d44(0x3d0)](_0x58cafd),_0xf49d6c=_0x1b870a[_0x123d44(0x277)]((_0xf03dcd,_0x22f999)=>[_0xf03dcd,_0x33b00a[_0x22f999]]),_0x22bcf2=(await _0x18fe5d[_0x123d44(0x335)](_0x4d544a['SheetsPivotRPCService'])[_0x123d44(0x1c1)]({'unitId':_0x2eb24d,'subUnitId':_0x47a10e,'pivotTableId':_0x519fbe,'params':{'type':_0x5a956a[_0x123d44(0x37a)],'drillDown':{'tuple':_0xf49d6c}}}))[_0x123d44(0x2ef)][_0x123d44(0x43f)];if(!_0x22bcf2)return!0x1;const {indexes:_0x3621a7,range:_0x41c73e,sourceUnitId:_0x1c3b87,sourceSubUnitId:_0x405c7d,formatMap:_0x399311}=_0x22bcf2,{startRow:_0x5941cb,endRow:_0x37f725,startColumn:_0x1e8dfa,endColumn:_0x20df2c}=_0x41c73e,_0x2152e3=new _0x1595a8[(_0x123d44(0x37b))](),_0x3cfc2c=_0x37f725-_0x5941cb,_0x37902c=_0x20df2c-_0x1e8dfa,_0x379ecc={},_0xcdeee0=_0x4588b4[_0x123d44(0x2a0)](_0x52c521,{'unitId':_0x1c3b87,'subUnitId':_0x405c7d});if(!_0xcdeee0)return!0x1;const _0x2847f4=_0x39e9bd[_0x123d44(0x3d7)],_0x364eb3=_0x39e9bd[_0x123d44(0x35b)],_0x449381=_0x39e9bd[_0x123d44(0x35b)],_0x19cd31=_0xf7f01f[_0x123d44(0x474)]()[_0x123d44(0x450)](_0x2847f4),_0x2deea4=_0xf7f01f[_0x123d44(0x474)]()[_0x123d44(0x450)](_0x364eb3),_0x3753e9=_0xf7f01f[_0x123d44(0x474)]()[_0x123d44(0x450)](_0x449381),{worksheet:_0x5292fb}=_0xcdeee0;let _0x25a27d=0x0;const _0x2100c7=0x1;_0x3621a7[_0x123d44(0x2f1)](_0x5a1e6f=>{const _0x3a5502=_0x123d44;for(let _0x110061=0x0;_0x110061<=_0x20df2c-_0x1e8dfa;_0x110061++)_0x2152e3[_0x3a5502(0x450)](_0x25a27d,_0x110061,_0x5292fb['getCellRaw'](_0x5a1e6f+_0x41c73e[_0x3a5502(0x1bc)]+_0x2100c7,_0x110061));_0x25a27d++;});for(let _0x450e6e=_0x1e8dfa;_0x450e6e<=_0x20df2c;_0x450e6e++){const _0x4d5277=_0x5292fb[_0x123d44(0x31c)](_0x5941cb,_0x450e6e);_0x379ecc[_0x5941cb]||(_0x379ecc[_0x5941cb]={}),_0x379ecc[_0x5941cb][_0x450e6e]={..._0x4d5277,'s':_0x19cd31};}let _0x3a1cac=0x1;const _0x34debd={},_0x585aad={};_0x2152e3[_0x123d44(0x39d)]((_0x18087a,_0x5b36f3)=>{_0x5b36f3['forEach'](_0x42407=>{const _0x39f3ea=_0x3ff9,_0x3d919a=_0x2152e3[_0x39f3ea(0x289)](_0x18087a,_0x42407);if(_0x379ecc[_0x3a1cac]||(_0x379ecc[_0x3a1cac]={}),_0x379ecc[_0x3a1cac][_0x42407]={..._0x3d919a,'s':_0x3a1cac%0x2===0x0?_0x3753e9:_0x2deea4},_0x399311[_0x42407]&&_0x18087a>=0x0){const _0x2f992c=_0x3a1cac%0x2===0x0;let _0x5c5705=_0x2f992c?_0x585aad[_0x42407]:_0x34debd[_0x42407];_0x5c5705||(_0x5c5705=_0xf7f01f[_0x39f3ea(0x474)]()[_0x39f3ea(0x450)]({..._0x2f992c?_0x449381:_0x364eb3,'n':{'pattern':_0x399311[_0x42407]}}),_0x2f992c?_0x585aad[_0x42407]=_0x5c5705:_0x34debd[_0x42407]=_0x5c5705),_0x379ecc[_0x3a1cac][_0x42407]['s']=_0x5c5705;}}),_0x3a1cac++;});const _0x5d8e7c=new _0x1595a8[(_0x123d44(0x37b))](_0x379ecc),_0x124be1={};_0x5d8e7c['forValue']((_0x3c437b,_0x23465f,_0x1c0c41)=>{_0x124be1[_0x3c437b]||(_0x124be1[_0x3c437b]={}),_0x124be1[_0x3c437b][_0x23465f]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5686fb=[],_0x6bf76c=[],_0x37cf55=_0xf7f01f[_0x123d44(0x1c9)]()[_0x123d44(0x26f)],_0x4b3408=_0x1595a8[_0x123d44(0x453)]({'rowCount':Math['max'](_0x1595a8[_0x123d44(0x1a7)],_0x3cfc2c+0xa),'columnCount':Math['max'](_0x1595a8[_0x123d44(0x351)],_0x37902c+0x5)}),_0x408b6a=_0x18fe5d[_0x123d44(0x335)](_0x1595a8[_0x123d44(0x467)]);_0x4b3408['id']=_0x1595a8[_0x123d44(0x192)](),_0x4b3408['name']=_0xf7f01f[_0x123d44(0x465)](''+_0x408b6a['t']('sheets.tabs.sheet'));const _0x4030d1={'index':_0x37cf55,'sheet':_0x4b3408,'unitId':_0x2eb24d},_0x407ead=_0x4588b4[_0x123d44(0x290)](_0x18fe5d,_0x4030d1);_0x6bf76c[_0x123d44(0x428)]({'id':_0x4588b4[_0x123d44(0x389)]['id'],'params':_0x4030d1}),_0x5686fb[_0x123d44(0x428)]({'id':_0x4588b4[_0x123d44(0x295)]['id'],'params':_0x407ead}),_0x6bf76c['push']({'id':_0x4588b4[_0x123d44(0x45f)]['id'],'params':{'unitId':_0x2eb24d,'subUnitId':_0x4b3408['id'],'cellValue':_0x379ecc}}),_0x5686fb[_0x123d44(0x223)]({'id':_0x4588b4[_0x123d44(0x45f)]['id'],'params':{'unitId':_0x2eb24d,'subUnitId':_0x4b3408['id'],'cellValue':_0x124be1}});const _0x20c279={'startRow':0x0,'startColumn':0x0,'endRow':_0x3a1cac-0x1,'endColumn':_0x20df2c};_0x6bf76c[_0x123d44(0x428)]({'id':_0x13dae8['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x2eb24d,'subUnitId':_0x4b3408['id'],'range':_0x20c279}}),_0x5686fb['unshift']({'id':_0x13dae8[_0x123d44(0x20e)]['id'],'params':{'unitId':_0x2eb24d,'subUnitId':_0x4b3408['id']}});const _0x555dcd=_0x18fe5d[_0x123d44(0x335)](_0x1595a8[_0x123d44(0x359)]);return _0x1595a8[_0x123d44(0x3b1)](_0x6bf76c,_0x555dcd)&&_0x18fe5d['get'](_0x1595a8[_0x123d44(0x3ab)])[_0x123d44(0x3ee)]({'unitID':_0x2eb24d,'undoMutations':_0x5686fb,'redoMutations':_0x6bf76c}),!0x0;}},_0x5be2f2={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x32f4bf,_0x2354c0){const _0x74c250=_0x4bebf8;if(!_0x2354c0)return!0x1;const _0x4e82eb=_0x32f4bf[_0x74c250(0x335)](_0x1595a8[_0x74c250(0x359)]),_0x275369=_0x32f4bf[_0x74c250(0x335)](_0x4d544a[_0x74c250(0x3d4)]),_0x4e0f23=_0x32f4bf[_0x74c250(0x335)](_0x1595a8[_0x74c250(0x3ab)]),{pivotTableId:_0x3b48cf,fieldIds:_0x490f41,unitId:_0x29c38d,subUnitId:_0x3b8186}=_0x2354c0,_0x6d7386=(await _0x275369[_0x74c250(0x1c1)]({'unitId':_0x29c38d,'subUnitId':_0x3b8186,'pivotTableId':_0x3b48cf,'params':{'type':_0x5a956a[_0x74c250(0x2fc)],'removePivotField':{'fieldIds':_0x490f41}}}))[_0x74c250(0x2ef)]['removePivotField'];if(!_0x6d7386)return!0x1;const {view:_0x120c1c,changesets:_0x31368e,isEmpty:_0x4478ad,pivotTableConfig:_0xa2bcea}=_0x6d7386,_0x5e2536=_0xa2bcea[_0x74c250(0x263)],_0x321e67=new _0x3fd852['PivotView']();_0x321e67[_0x74c250(0x2fa)](_0x120c1c);const _0xb05a06={'cellInfo':_0x5e2536,'view':_0x321e67,'isEmpty':_0x4478ad};if(!await _0x32f4bf[_0x74c250(0x335)](_0x4d544a[_0x74c250(0x286)])[_0x74c250(0x219)][_0x74c250(0x409)](_0x17b928)(!0x0,_0xb05a06))return!0x1;const _0x1481a0=_0x4ffe57(_0x32f4bf,_0x321e67,_0x5e2536,_0x4478ad),_0x1aeb76=_0x4bd6cf(_0x32f4bf,_0xb05a06),{redos:_0xf5718e,undos:_0x324683}=_0x406888(_0x4e82eb,{'pivotTableId':_0x3b48cf,'unitId':_0x29c38d,'subUnitId':_0x3b8186},_0x31368e);return _0x1595a8[_0x74c250(0x3b1)]([..._0x1481a0[_0x74c250(0x27b)],..._0x1aeb76[_0x74c250(0x27b)],..._0xf5718e],_0x4e82eb),_0x4e0f23[_0x74c250(0x3ee)]({'unitID':_0x29c38d,'redoMutations':[..._0x1481a0[_0x74c250(0x27b)],..._0x1aeb76[_0x74c250(0x27b)],..._0xf5718e],'undoMutations':[..._0x1481a0[_0x74c250(0x40c)],..._0x1aeb76['undos'],..._0x324683]}),!0x0;}},_0x3e1404={'type':_0x1595a8['CommandType'][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x378),async 'handler'(_0xab0338,_0x4d31a5){const _0x5a09e8=_0x4bebf8;var _0x25048f;const _0x38832f=_0xab0338[_0x5a09e8(0x335)](_0x1595a8['ICommandService']),_0x31f0d7=_0xab0338[_0x5a09e8(0x335)](_0x4d544a['SheetsPivotRPCService']),_0x188b52=_0xab0338[_0x5a09e8(0x335)](_0x4d544a['SheetsPivotTableAdaptorModel']),_0x419102=_0xab0338[_0x5a09e8(0x335)](_0x1595a8[_0x5a09e8(0x44e)]),_0x478b4c=_0xab0338[_0x5a09e8(0x335)](_0x1595a8[_0x5a09e8(0x3ab)]);if(!_0x4d31a5)return!0x1;const {unitId:_0x22378e,subUnitId:_0x52662e,row:_0x54966d,col:_0x15758a,collapse:_0x3b0b48}=_0x4d31a5,_0x3bf355=_0x419102[_0x5a09e8(0x3c7)](_0x22378e);if(!_0x3bf355||!_0x3bf355[_0x5a09e8(0x3b9)](_0x52662e))return!0x1;const _0x57d6d2=_0x188b52[_0x5a09e8(0x2f6)](_0x22378e,_0x52662e,_0x54966d,_0x15758a);if(!_0x57d6d2)return!0x1;const _0x5b4b6a=_0x188b52[_0x5a09e8(0x482)](_0x22378e,_0x52662e,_0x57d6d2);if(!_0x5b4b6a)return!0x1;const _0x1f2809=_0x1595a8[_0x5a09e8(0x383)](_0x54966d,_0x15758a),{rangesInfo:_0x11a762,areaInfo:_0x12523e,headerMap:_0x473eb1}=_0x5b4b6a;if(!_0x11a762||!_0x12523e||!_0x473eb1)return!0x1;const _0x3797ee=Object['keys'](_0x11a762)[_0x5a09e8(0x1ed)](_0x1ef8b7=>_0x11a762[_0x1ef8b7][_0x5a09e8(0x245)](_0x48401d=>_0x1595a8['Rectangle'][_0x5a09e8(0x481)](_0x48401d,_0x1f2809)));let _0xd913f3;_0x3797ee===_0x5a09e8(0x38a)?_0xd913f3=_0x473eb1[_0x5a09e8(0x291)][_0x15758a]:_0x3797ee===_0x5a09e8(0x190)&&(_0xd913f3=_0x473eb1['colHeaderMap'][_0x54966d]);const _0x362859=_0xd913f3==null?void 0x0:_0xd913f3[_0x5a09e8(0x370)],_0x2dafd0=(_0x25048f=_0x188b52[_0x5a09e8(0x459)](_0x22378e,_0x52662e,_0x54966d,_0x15758a))==null?void 0x0:_0x25048f['v'];if(_0x2dafd0==null||!_0x57d6d2||!_0x362859)return!0x1;const _0x1419db=await _0x31f0d7[_0x5a09e8(0x1c1)]({'unitId':_0x22378e,'subUnitId':_0x52662e,'pivotTableId':_0x57d6d2,'params':{'type':_0x5a956a[_0x5a09e8(0x43b)],'setPivotCollapse':{'tableFieldId':_0x362859,'collapse':_0x3b0b48,'item':_0x2dafd0}}}),_0x4c3e28=_0x1419db==null?void 0x0:_0x1419db[_0x5a09e8(0x2ef)][_0x5a09e8(0x2c7)];if(!_0x4c3e28)return!0x1;const {view:_0x58a8dc,pivotTableConfig:_0x4f0d21,isEmpty:_0x3d1987,changesets:_0x28aea3}=_0x4c3e28,_0x5a3a87=new _0x3fd852[(_0x5a09e8(0x3df))]();_0x5a3a87[_0x5a09e8(0x2fa)](_0x58a8dc);const _0x1bf01f=_0x4f0d21[_0x5a09e8(0x263)],_0x5e5acc={'cellInfo':_0x1bf01f,'view':_0x5a3a87,'isEmpty':_0x3d1987};if(!await _0xab0338[_0x5a09e8(0x335)](_0x4d544a['SheetsPivotTableService'])[_0x5a09e8(0x219)][_0x5a09e8(0x409)](_0x17b928)(!0x0,_0x5e5acc))return!0x1;const _0x238ce9=_0x4ffe57(_0xab0338,_0x5a3a87,_0x1bf01f,_0x3d1987),_0x7c65c1=_0x4bd6cf(_0xab0338,_0x5e5acc),{redos:_0x46a615,undos:_0x56ab0e}=_0x406888(_0x38832f,{'pivotTableId':_0x57d6d2,'unitId':_0x22378e,'subUnitId':_0x52662e},_0x28aea3);return _0x1595a8[_0x5a09e8(0x3b1)]([..._0x238ce9['redos'],..._0x7c65c1['redos'],..._0x46a615],_0x38832f),_0x478b4c['pushUndoRedo']({'unitID':_0x22378e,'redoMutations':[..._0x238ce9[_0x5a09e8(0x27b)],..._0x7c65c1['redos'],..._0x46a615],'undoMutations':[..._0x238ce9['undos'],..._0x7c65c1[_0x5a09e8(0x40c)],..._0x56ab0e]}),!0x0;}},_0x30e338={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x53d023,_0x138048){const _0x1944fe=_0x4bebf8;if(!_0x138048)return!0x1;const _0x405d0c=_0x53d023[_0x1944fe(0x335)](_0x1595a8['ICommandService']),{pivotTableId:_0x5740ac,tableFieldId:_0x454537,items:_0x3b0029,unitId:_0x43e1f2,subUnitId:_0x360262,isAll:_0x47a002}=_0x138048,_0x235726=_0x53d023['get'](_0x4d544a[_0x1944fe(0x3d4)]),_0x5ac13a=_0x53d023['get'](_0x1595a8['IUndoRedoService']),_0x14fb78=(await _0x235726[_0x1944fe(0x1c1)]({'unitId':_0x43e1f2,'subUnitId':_0x360262,'pivotTableId':_0x5740ac,'params':{'type':_0x5a956a[_0x1944fe(0x478)],'setPivotFilter':{'tableFieldId':_0x454537,'items':_0x3b0029,'isAll':_0x47a002}}}))['result'][_0x1944fe(0x32b)];if(!_0x14fb78)return!0x1;const {changesets:_0x695b45,pivotTableConfig:_0x228457,isEmpty:_0x2d1ce3,view:_0x2ef076}=_0x14fb78,_0x3983a5=_0x228457[_0x1944fe(0x263)],_0x785a5a=new _0x3fd852[(_0x1944fe(0x3df))]();_0x785a5a['formJSON'](_0x2ef076);const _0x2a0e11={'cellInfo':_0x3983a5,'view':_0x785a5a,'isEmpty':_0x2d1ce3};if(!await _0x53d023[_0x1944fe(0x335)](_0x4d544a[_0x1944fe(0x286)])[_0x1944fe(0x219)][_0x1944fe(0x409)](_0x17b928)(!0x0,_0x2a0e11))return!0x1;const _0x370ef5=_0x4ffe57(_0x53d023,_0x785a5a,_0x3983a5,_0x2d1ce3),_0x593e85=_0x4bd6cf(_0x53d023,_0x2a0e11),{undos:_0x2c60aa,redos:_0x4cb46b}=_0x406888(_0x405d0c,{'pivotTableId':_0x5740ac,'unitId':_0x43e1f2,'subUnitId':_0x360262},_0x695b45);return _0x1595a8[_0x1944fe(0x3b1)]([..._0x370ef5['redos'],..._0x593e85[_0x1944fe(0x27b)],..._0x4cb46b],_0x405d0c),_0x5ac13a[_0x1944fe(0x3ee)]({'unitID':_0x43e1f2,'redoMutations':[..._0x370ef5['redos'],..._0x593e85[_0x1944fe(0x27b)],..._0x4cb46b],'undoMutations':[..._0x370ef5[_0x1944fe(0x40c)],..._0x593e85[_0x1944fe(0x40c)],..._0x2c60aa]}),!0x0;}},_0x37b1fd={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x246),async 'handler'(_0x4243e0,_0x383594){const _0x2b9147=_0x4bebf8;if(!_0x383594)return!0x1;const _0xd54238=_0x4243e0[_0x2b9147(0x335)](_0x1595a8[_0x2b9147(0x359)]),_0x3d9e30=_0x4243e0[_0x2b9147(0x335)](_0x1595a8[_0x2b9147(0x3ab)]),_0x3650b4=_0x4243e0['get'](_0x4d544a[_0x2b9147(0x3d4)]),{info:_0x1bac22,tableFieldId:_0x113be6,pivotTableId:_0x599b57,unitId:_0x46e2f3,subUnitId:_0x11db50}=_0x383594,_0xa73e5c=(await _0x3650b4[_0x2b9147(0x1c1)]({'unitId':_0x46e2f3,'subUnitId':_0x11db50,'pivotTableId':_0x599b57,'params':{'type':_0x5a956a[_0x2b9147(0x451)],'setPivotSort':{'tableFieldId':_0x113be6,'info':_0x1bac22}}}))['result'][_0x2b9147(0x216)];if(!_0xa73e5c)return!0x1;const {changesets:_0x50d879}=_0xa73e5c,{redos:_0x25d0f5,undos:_0xa9875b}=_0x406888(_0xd54238,{'pivotTableId':_0x599b57,'unitId':_0x46e2f3,'subUnitId':_0x11db50},_0x50d879);return _0x1595a8[_0x2b9147(0x3b1)](_0x25d0f5,_0xd54238),_0x3d9e30[_0x2b9147(0x3ee)]({'unitID':_0x46e2f3,'redoMutations':_0x25d0f5,'undoMutations':_0xa9875b}),!0x0;}},_0x5317a0={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x588c15,_0x4026c3){const _0x2befba=_0x4bebf8;if(!_0x4026c3)return!0x1;const _0x2e8c45=_0x588c15[_0x2befba(0x335)](_0x1595a8[_0x2befba(0x359)]),_0x2d8ba7=_0x588c15[_0x2befba(0x335)](_0x1595a8[_0x2befba(0x3ab)]),_0x306d0d=_0x588c15[_0x2befba(0x335)](_0x4d544a['SheetsPivotRPCService']),{displayName:_0x57ed9e,subtotalType:_0x3b4b9c,format:_0x22da8d,tableFieldId:_0x533a4a,pivotTableId:_0x168f6c,unitId:_0x2c7147,subUnitId:_0x1b268a}=_0x4026c3,_0x1327c5=(await _0x306d0d['getPivotDisplayConfig']({'unitId':_0x2c7147,'subUnitId':_0x1b268a,'pivotTableId':_0x168f6c,'params':{'type':_0x5a956a[_0x2befba(0x36b)],'setPivotSetting':{'tableFieldId':_0x533a4a,'displayName':_0x57ed9e,'subtotalType':_0x3b4b9c,'format':_0x22da8d}}}))[_0x2befba(0x2ef)][_0x2befba(0x31a)];if(!_0x1327c5)return!0x1;const {changesets:_0x2f26f7,view:_0x221c44,pivotTableConfig:_0x4ebe78,isEmpty:_0x1a8a76}=_0x1327c5,_0x4ffe14=_0x4ebe78[_0x2befba(0x263)],_0x25247a=new _0x3fd852[(_0x2befba(0x3df))]();_0x25247a[_0x2befba(0x2fa)](_0x221c44);const _0x4eaaea={'cellInfo':_0x4ffe14,'view':_0x25247a,'isEmpty':_0x1a8a76};if(!await _0x588c15['get'](_0x4d544a[_0x2befba(0x286)])[_0x2befba(0x219)][_0x2befba(0x409)](_0x17b928)(!0x0,_0x4eaaea))return!0x1;const _0xc6215c=_0x4ffe57(_0x588c15,_0x25247a,_0x4ffe14,_0x1a8a76),_0x189454=_0x4bd6cf(_0x588c15,_0x4eaaea),{undos:_0x27b7b3,redos:_0x2f0752}=_0x406888(_0x2e8c45,{'pivotTableId':_0x168f6c,'unitId':_0x2c7147,'subUnitId':_0x1b268a},_0x2f26f7);return _0x1595a8['sequenceExecute']([..._0xc6215c[_0x2befba(0x27b)],..._0x189454[_0x2befba(0x27b)],..._0x2f0752],_0x2e8c45),_0x2d8ba7['pushUndoRedo']({'unitID':_0x2c7147,'redoMutations':[..._0xc6215c[_0x2befba(0x27b)],..._0x189454[_0x2befba(0x27b)],..._0x2f0752],'undoMutations':[..._0xc6215c[_0x2befba(0x40c)],..._0x189454[_0x2befba(0x40c)],..._0x27b7b3]}),!0x0;}},_0x13db2a={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x18d),async 'handler'(_0xa938b5,_0x38cb1d){const _0x34ff49=_0x4bebf8,_0x1cbf43=_0xa938b5[_0x34ff49(0x335)](_0x1595a8[_0x34ff49(0x359)]),_0x314d7d=_0xa938b5[_0x34ff49(0x335)](_0x4d544a['SheetsPivotRPCService']),_0x33c09c=_0xa938b5[_0x34ff49(0x335)](_0x1595a8[_0x34ff49(0x3ab)]);if(!_0x38cb1d)return!0x1;const {token:_0x3acb8b,dataRangeInfo:_0x25a101,unitId:_0x58d1d2,subUnitId:_0x17663c}=_0x38cb1d,_0x3bbfd2=[],_0xc1a37f=[],_0xe4eb17=(await _0x314d7d['getPivotDisplayConfig']({'unitId':_0x58d1d2,'subUnitId':_0x17663c,'pivotTableId':_0x3acb8b,'params':{'type':_0x5a956a[_0x34ff49(0x1eb)],'updatePivotSource':{'dataRangeInfo':_0x25a101,'unitId':_0x58d1d2,'subUnitId':_0x17663c}}}))[_0x34ff49(0x2ef)][_0x34ff49(0x1a3)];if(!_0xe4eb17)return!0x1;const {changesets:_0x3fa0af,deleteIds:_0x689f2c,collectionConfig:_0x12ad13,oldCollectionConfig:_0x3d3bb4,view:_0x36e460,isEmpty:_0x593161,pivotTableConfig:_0x1a517b}=_0xe4eb17;_0xc1a37f['push']({'id':_0x59e011['id'],'params':{'pivotTableId':_0x3acb8b,'deleteIds':_0x689f2c,'collectionJSON':_0x12ad13,'dataRangeInfo':_0x25a101,'unitId':_0x58d1d2,'subUnitId':_0x17663c}}),_0x3bbfd2[_0x34ff49(0x223)]({'id':_0x59e011['id'],'params':{'pivotTableId':_0x3acb8b,'deleteIds':[],'collectionJSON':_0x3d3bb4,'dataRangeInfo':_0x1a517b[_0x34ff49(0x44c)],'unitId':_0x58d1d2,'subUnitId':_0x17663c}});const _0x3a48c9=_0x1a517b['targetCellInfo'],_0x5882b2=new _0x3fd852[(_0x34ff49(0x3df))]();_0x5882b2[_0x34ff49(0x2fa)](_0x36e460);const _0x2db02d={'cellInfo':_0x3a48c9,'view':_0x5882b2,'isEmpty':_0x593161};if(!await _0xa938b5[_0x34ff49(0x335)](_0x4d544a[_0x34ff49(0x286)])[_0x34ff49(0x219)][_0x34ff49(0x409)](_0x17b928)(!0x0,_0x2db02d))return!0x1;const _0x24e9d4=_0x4ffe57(_0xa938b5,_0x5882b2,_0x3a48c9,_0x593161),_0x531072=_0x4bd6cf(_0xa938b5,_0x2db02d),{undos:_0x5e60c6,redos:_0x23ed04}=_0x406888(_0x1cbf43,{'pivotTableId':_0x3acb8b,'unitId':_0x58d1d2,'subUnitId':_0x17663c},_0x3fa0af);return _0x1595a8[_0x34ff49(0x3b1)]([..._0x24e9d4[_0x34ff49(0x27b)],..._0x531072['redos'],..._0xc1a37f,..._0x5e60c6],_0x1cbf43),_0x33c09c[_0x34ff49(0x3ee)]({'unitID':_0x58d1d2,'redoMutations':[..._0x24e9d4[_0x34ff49(0x27b)],..._0x531072[_0x34ff49(0x27b)],..._0xc1a37f,..._0x5e60c6],'undoMutations':[..._0x24e9d4[_0x34ff49(0x40c)],..._0x531072['undos'],..._0x3bbfd2,..._0x23ed04]}),!0x0;}},_0x1c3c47={'type':_0x1595a8['CommandType'][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x2bd),async 'handler'(_0x143628,_0x37211e){const _0x225d17=_0x4bebf8;if(!_0x37211e)return!0x1;const _0x37d7b0=_0x143628[_0x225d17(0x335)](_0x1595a8[_0x225d17(0x359)]),_0x435916=_0x143628[_0x225d17(0x335)](_0x4d544a[_0x225d17(0x3d4)]),_0x4ddcca=_0x143628[_0x225d17(0x335)](_0x1595a8[_0x225d17(0x44e)]),_0x216838=_0x143628[_0x225d17(0x335)](_0x1595a8[_0x225d17(0x3ab)]),{pivotTableId:_0x28b5ea,position:_0x2b32f5,index:_0x17561c}=_0x37211e,_0x34059f=_0x4588b4[_0x225d17(0x2a0)](_0x4ddcca);if(!_0x34059f)return!0x1;const {unitId:_0x47f90a,subUnitId:_0x59d5f4}=_0x34059f,_0x12e6f9=(await _0x435916[_0x225d17(0x1c1)]({'unitId':_0x47f90a,'subUnitId':_0x59d5f4,'pivotTableId':_0x28b5ea,'params':{'type':_0x5a956a[_0x225d17(0x28b)],'updateValuePosition':{'position':_0x2b32f5,'index':_0x17561c}}}))[_0x225d17(0x2ef)][_0x225d17(0x235)];if(!_0x12e6f9)return!0x1;const {changesets:_0x4fd001,view:_0x584ed7,isEmpty:_0x18321c,pivotTableConfig:_0x7e398b}=_0x12e6f9,_0x40ec51=_0x7e398b[_0x225d17(0x263)],_0x27e9cc=new _0x3fd852[(_0x225d17(0x3df))]();_0x27e9cc['formJSON'](_0x584ed7);const _0x19e95c=_0x143628['get'](_0x4d544a[_0x225d17(0x286)]),_0x4aece3={'cellInfo':_0x40ec51,'view':_0x27e9cc,'isEmpty':_0x18321c};if(!await _0x19e95c['asyncInterceptor'][_0x225d17(0x409)](_0x17b928)(!0x0,_0x4aece3))return!0x1;const _0x3552c8=_0x4ffe57(_0x143628,_0x27e9cc,_0x40ec51,_0x18321c),_0x69d9cc=_0x4bd6cf(_0x143628,_0x4aece3),{undos:_0x1958f7,redos:_0x49d126}=_0x406888(_0x37d7b0,{'pivotTableId':_0x28b5ea,'unitId':_0x47f90a,'subUnitId':_0x59d5f4},_0x4fd001);return _0x1595a8[_0x225d17(0x3b1)]([..._0x3552c8['redos'],..._0x69d9cc['redos'],..._0x49d126],_0x37d7b0),_0x216838[_0x225d17(0x3ee)]({'unitID':_0x47f90a,'redoMutations':[..._0x3552c8['redos'],..._0x69d9cc[_0x225d17(0x27b)],..._0x49d126],'undoMutations':[..._0x3552c8[_0x225d17(0x40c)],..._0x69d9cc[_0x225d17(0x40c)],..._0x1958f7]}),!0x0;}},_0x5cddc7={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x232),'handler':(_0x14a240,_0x3b372c)=>{const _0x396e41=_0x4bebf8,_0x326df5=_0x14a240[_0x396e41(0x335)](_0x1595a8[_0x396e41(0x359)]),_0x555a22=_0x14a240[_0x396e41(0x335)](_0x1595a8['IUndoRedoService']),_0x3bb6=_0x14a240[_0x396e41(0x335)](_0x4d544a[_0x396e41(0x233)]),_0x304e48=_0x14a240['get'](_0x1595a8['IUniverInstanceService']);if(!_0x3b372c)return!0x1;const _0x534948=_0x4588b4[_0x396e41(0x2a0)](_0x304e48);if(!_0x534948)return!0x1;const {unitId:_0x26a051,subUnitId:_0x98af17,workbook:_0x16fa53}=_0x534948,_0x1c5be3=_0x3bb6[_0x396e41(0x1a1)](_0x3b372c[_0x396e41(0x387)][_0x396e41(0x2fd)],_0x3b372c[_0x396e41(0x387)][_0x396e41(0x1b5)],_0x3b372c[_0x396e41(0x1e2)]);if(!_0x1c5be3)return!0x1;const _0x20f09c=_0x16fa53[_0x396e41(0x3b9)](_0x3b372c[_0x396e41(0x263)][_0x396e41(0x1b5)]);if(!_0x20f09c)throw new Error(_0x396e41(0x2b5));const _0x5ad25b=_0x20f09c[_0x396e41(0x25c)](),_0x651e94=_0x20f09c[_0x396e41(0x260)]();if(_0x3b372c[_0x396e41(0x263)][_0x396e41(0x1e6)]>_0x5ad25b||_0x3b372c['targetCellInfo'][_0x396e41(0x28c)]>_0x651e94)throw new Error(_0x396e41(0x46f));const _0x240d52=[{'id':_0x361ad3['id'],'params':{'unitId':_0x26a051,'subUnitId':_0x3b372c[_0x396e41(0x263)][_0x396e41(0x1b5)],'pivotTableId':_0x3b372c[_0x396e41(0x1e2)],'targetCellPosition':{'row':_0x3b372c[_0x396e41(0x263)]['row'],'col':_0x3b372c['targetCellInfo'][_0x396e41(0x28c)]}}}],_0x338d20=[{'id':_0x361ad3['id'],'params':{'unitId':_0x26a051,'subUnitId':_0x98af17,'pivotTableId':_0x3b372c[_0x396e41(0x1e2)],'targetCellPosition':{'row':_0x1c5be3[_0x396e41(0x263)][_0x396e41(0x1e6)],'col':_0x1c5be3[_0x396e41(0x263)]['col']}}}];return _0x1595a8[_0x396e41(0x3b1)](_0x240d52,_0x326df5)&&_0x555a22[_0x396e41(0x3ee)]({'unitID':_0x26a051,'undoMutations':_0x338d20,'redoMutations':_0x240d52}),!0x0;}},_0x3f4f54={'type':_0x1595a8[_0x4bebf8(0x423)]['COMMAND'],'id':_0x4bebf8(0x1cc),async 'handler'(_0x2798d2,_0x899e8){const _0x4b4171=_0x4bebf8;if(!_0x899e8)return!0x1;const _0xda7ef=_0x2798d2['get'](_0x1595a8['ICommandService']),{pivotTableId:_0x4b66c3,fieldId:_0x361eac,valueFilterInfo:_0xa05674,unitId:_0x2403a9,subUnitId:_0x29a3bd}=_0x899e8,_0x376d74=_0x2798d2['get'](_0x4d544a[_0x4b4171(0x3d4)]),_0x5120ca=_0x2798d2[_0x4b4171(0x335)](_0x1595a8['IUndoRedoService']),_0x3a4508=(await _0x376d74['getPivotDisplayConfig']({'unitId':_0x2403a9,'subUnitId':_0x29a3bd,'pivotTableId':_0x4b66c3,'params':{'type':_0x5a956a['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x361eac,'filterInfo':_0xa05674}}}))[_0x4b4171(0x2ef)][_0x4b4171(0x186)];if(!_0x3a4508)return!0x1;const {changesets:_0x441e2d,pivotTableConfig:_0x4a35fc,isEmpty:_0x362087,view:_0x146965}=_0x3a4508,_0x2ea6a6=_0x4a35fc[_0x4b4171(0x263)],_0x237a3d=new _0x3fd852[(_0x4b4171(0x3df))]();_0x237a3d[_0x4b4171(0x2fa)](_0x146965);const _0x2cca27={'cellInfo':_0x2ea6a6,'view':_0x237a3d,'isEmpty':_0x362087};if(!await _0x2798d2[_0x4b4171(0x335)](_0x4d544a[_0x4b4171(0x286)])[_0x4b4171(0x219)][_0x4b4171(0x409)](_0x17b928)(!0x0,_0x2cca27))return!0x1;const _0x51185f=_0x4ffe57(_0x2798d2,_0x237a3d,_0x2ea6a6,_0x362087),_0x117965=_0x4bd6cf(_0x2798d2,_0x2cca27),{undos:_0x16e20f,redos:_0x5cf933}=_0x406888(_0xda7ef,{'pivotTableId':_0x4b66c3,'unitId':_0x2403a9,'subUnitId':_0x29a3bd},_0x441e2d);return _0x1595a8[_0x4b4171(0x3b1)]([..._0x51185f[_0x4b4171(0x27b)],..._0x117965['redos'],..._0x5cf933],_0xda7ef),_0x5120ca['pushUndoRedo']({'unitID':_0x2403a9,'redoMutations':[..._0x51185f[_0x4b4171(0x27b)],..._0x117965[_0x4b4171(0x27b)],..._0x5cf933],'undoMutations':[..._0x51185f[_0x4b4171(0x40c)],..._0x117965[_0x4b4171(0x40c)],..._0x16e20f]}),!0x0;}},_0x57f051={'type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'id':_0x4bebf8(0x36e),async 'handler'(_0x315334,_0x581081){const _0x24ef78=_0x4bebf8;if(!_0x581081)return!0x1;const _0x1e9ca6=_0x315334['get'](_0x1595a8['ICommandService']),_0xe632f0=_0x315334['get'](_0x1595a8[_0x24ef78(0x3ab)]),_0x321ebf=_0x315334['get'](_0x4d544a['SheetsPivotRPCService']),{pivotTableConfig:_0x206591,pivotTableId:_0x2d5278,unitId:_0x35907b,subUnitId:_0x153eb0}=_0x581081,_0x17d4bb=(await _0x321ebf['getPivotDisplayConfig']({'unitId':_0x35907b,'subUnitId':_0x153eb0,'pivotTableId':_0x2d5278,'params':{'type':_0x5a956a[_0x24ef78(0x2d2)],'setPivotTableConfig':{'pivotTableId':_0x2d5278,'pivotTableConfig':_0x206591}}}))[_0x24ef78(0x2ef)][_0x24ef78(0x27d)];if(!_0x17d4bb)return!0x1;const {changesets:_0x419987}=_0x17d4bb,{redos:_0x252f97,undos:_0x474522}=_0x406888(_0x1e9ca6,{'pivotTableId':_0x2d5278,'unitId':_0x35907b,'subUnitId':_0x153eb0},_0x419987);return _0x1595a8[_0x24ef78(0x3b1)](_0x252f97,_0x1e9ca6),_0xe632f0[_0x24ef78(0x3ee)]({'unitID':_0x35907b,'redoMutations':_0x252f97,'undoMutations':_0x474522}),!0x0;}},_0x1a92ae={'type':_0x1595a8[_0x4bebf8(0x423)]['COMMAND'],'id':_0x4bebf8(0x33f),async 'handler'(_0xcf7d57,_0x51e09f){const _0x4790e2=_0x4bebf8;if(!_0x51e09f)return!0x1;const _0x54cdf8=_0xcf7d57[_0x4790e2(0x335)](_0x1595a8['ICommandService']),_0x3402a3=_0xcf7d57['get'](_0x1595a8[_0x4790e2(0x3ab)]),_0x330803=_0xcf7d57[_0x4790e2(0x335)](_0x4d544a[_0x4790e2(0x3d4)]),{resetArea:_0x4b6469,pivotTableId:_0x3384ec,unitId:_0x24ad65,subUnitId:_0xc81600}=_0x51e09f,_0x3b05ad=(await _0x330803[_0x4790e2(0x1c1)]({'unitId':_0x24ad65,'subUnitId':_0xc81600,'pivotTableId':_0x3384ec,'params':{'type':_0x5a956a['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x3384ec,'resetArea':_0x4b6469}}}))[_0x4790e2(0x2ef)][_0x4790e2(0x2db)];if(!_0x3b05ad)return!0x1;const {changesets:_0x57ff96}=_0x3b05ad,{redos:_0x335f91,undos:_0x286b9e}=_0x406888(_0x54cdf8,{'pivotTableId':_0x3384ec,'unitId':_0x24ad65,'subUnitId':_0xc81600},_0x57ff96);return _0x1595a8['sequenceExecute'](_0x335f91,_0x54cdf8),_0x3402a3[_0x4790e2(0x3ee)]({'unitID':_0x24ad65,'redoMutations':_0x335f91,'undoMutations':_0x286b9e}),!0x0;}},_0x43bb18={'id':_0x4bebf8(0x3ed),'type':_0x1595a8[_0x4bebf8(0x423)]['MUTATION'],'handler':(_0x14c9de,_0x58e023)=>{const _0x1a9f4a=_0x4bebf8;if(!_0x58e023)return!0x1;if(!!_0x14c9de[_0x1a9f4a(0x335)](_0x1595a8['IConfigService'])['getConfig'](_0x29b15b))return!0x0;const {unitId:_0x50eec4,subUnitId:_0x53437e,pivotTableId:_0x103617,tableFieldId:_0x28fe94,dateType:_0x5caf62}=_0x58e023,_0xb0c71f=_0x14c9de[_0x1a9f4a(0x335)](_0x4d544a['SheetsPivotDataSourceModel']),_0x27532c=_0xb0c71f[_0x1a9f4a(0x464)](_0x103617);if(!_0x27532c)return!0x1;const _0x2f1cd6=_0x27532c[_0x1a9f4a(0x319)](_0x28fe94);if(!_0x2f1cd6)return!0x1;const _0x5dfd69=_0x2f1cd6['getOriginFieldId'](),_0x5555df=_0x27532c[_0x1a9f4a(0x3f7)](_0x5dfd69),_0x4baa05=(_0x5555df==null?void 0x0:_0x5555df[_0x1a9f4a(0x23f)]())+'\x20'+_0x22daaa(_0x14c9de,_0x5caf62);_0xb0c71f[_0x1a9f4a(0x35a)](_0x50eec4,_0x103617)['setDisplayName'](_0x2f1cd6['id'],_0x4baa05);const _0x110326=_0x27532c[_0x1a9f4a(0x431)](_0x28fe94);if(!_0x110326)return!0x1;_0x27532c[_0x1a9f4a(0x1fb)](_0x110326['getId'](),_0x4baa05),_0x2f1cd6[_0x1a9f4a(0x400)](_0x5caf62);const _0x35ff54=_0xb0c71f[_0x1a9f4a(0x1a1)](_0x50eec4,_0x53437e,_0x103617);return _0xb0c71f[_0x1a9f4a(0x30a)]({'unitId':_0x50eec4,'subUnitId':_0x53437e,'token':_0x103617,'type':_0xd7fa82[_0x1a9f4a(0x189)],'pivotConfig':_0x35ff54}),!0x0;}},_0x142e09={'id':'sheet.command.update-date-group','type':_0x1595a8[_0x4bebf8(0x423)][_0x4bebf8(0x31b)],'handler':(_0x5a067d,_0x1449d0)=>{const _0x4641eb=_0x4bebf8;if(!_0x1449d0)return!0x1;const _0x56c84d=_0x5a067d[_0x4641eb(0x335)](_0x1595a8[_0x4641eb(0x3ab)]),{unitId:_0x5875a5,subUnitId:_0xe86fc9,pivotTableId:_0x20ef89,tableFieldId:_0x332407}=_0x1449d0,_0x49e9c8=[],_0x2ed0c6=[],_0x1da870=_0x5a067d[_0x4641eb(0x335)](_0x4d544a[_0x4641eb(0x233)]),_0x3c4724=_0x1da870['getCollection'](_0x5875a5,_0x20ef89),_0x4d72e9=_0x1da870[_0x4641eb(0x1a1)](_0x5875a5,_0xe86fc9,_0x20ef89);if(!(_0x4d72e9!=null&&_0x4d72e9[_0x4641eb(0x3ba)][_0x4641eb(0x2aa)]))return!0x1;const _0x304bef=Object[_0x4641eb(0x476)](_0x4d72e9[_0x4641eb(0x3ba)]['dimension'])[_0x4641eb(0x1ed)](_0x46e9c9=>_0x46e9c9['id']===_0x332407);if(!_0x304bef)return!0x1;const _0x5d6e4e=_0x304bef['dataFieldId'];if(!(_0x3c4724!=null&&_0x3c4724[_0x4641eb(0x1a6)]))return!0x1;const _0x2da3f6=Object[_0x4641eb(0x476)](_0x3c4724==null?void 0x0:_0x3c4724[_0x4641eb(0x1a6)])[_0x4641eb(0x1ed)](_0x195a03=>_0x195a03['id']===_0x5d6e4e);if(!_0x2da3f6)return!0x1;_0x3fd852[_0x4641eb(0x2ab)](_0x2da3f6)&&_0x49e9c8[_0x4641eb(0x428)]({'id':_0x43bb18['id'],'params':{..._0x1449d0,'dateType':_0x2da3f6['dateType']}}),_0x2ed0c6[_0x4641eb(0x428)]({'id':_0x43bb18['id'],'params':{..._0x1449d0}});const _0x178c13=_0x5a067d[_0x4641eb(0x335)](_0x1595a8[_0x4641eb(0x359)]);return _0x1595a8[_0x4641eb(0x3b1)](_0x2ed0c6,_0x178c13)&&_0x56c84d['pushUndoRedo']({'unitID':_0x5875a5,'undoMutations':_0x49e9c8,'redoMutations':_0x2ed0c6}),!0x0;}};var _0x559e0e=Object[_0x4bebf8(0x195)],_0x22c7e8=(_0xeb2af0,_0x3d96a8,_0x6246ee,_0x520312)=>{const _0x2d1d22=_0x4bebf8;for(var _0x23347b=_0x520312>0x1?void 0x0:_0x520312?_0x559e0e(_0x3d96a8,_0x6246ee):_0x3d96a8,_0x2358c6=_0xeb2af0[_0x2d1d22(0x26f)]-0x1,_0x48f3f4;_0x2358c6>=0x0;_0x2358c6--)(_0x48f3f4=_0xeb2af0[_0x2358c6])&&(_0x23347b=_0x48f3f4(_0x23347b)||_0x23347b);return _0x23347b;},_0x491823=(_0x392b2d,_0x33d1d5)=>(_0x46f14f,_0x4a58f0)=>_0x33d1d5(_0x46f14f,_0x4a58f0,_0x392b2d);const _0x5202d9=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4a452c=(_0x1fc596,_0x484423,_0x51a049)=>{const _0x1e1b85=_0x4bebf8,_0x5b57fc=_0x1fc596[_0x1e1b85(0x2f5)];_0x1fc596[_0x1e1b85(0x25f)](_0x771cae=>{const _0x4ad967=_0x1e1b85,_0x15cb2e=_0x771cae[_0x4ad967(0x1bf)](),_0x27690d=_0x771cae[_0x4ad967(0x1a9)](),_0xca0b9a=_0x771cae[_0x4ad967(0x3e3)](),_0x5dec57=_0x771cae['getDisplayName']();_0x484423[_0x27690d]&&_0x484423[_0x27690d]===_0x5dec57&&_0xca0b9a===_0x5dec57&&(_0x1fc596['renameField'](_0x15cb2e,_0x5b57fc[_0x4ad967(0x1fc)](_0x27690d)),_0x771cae['setSourceName'](_0x5b57fc[_0x4ad967(0x1fc)](_0x27690d)));}),_0x1fc596[_0x1e1b85(0x1f8)](_0x3fd852['PivotTableFiledAreaEnum'][_0x1e1b85(0x354)],_0x4d806c=>{const _0x37543f=_0x1e1b85,_0x28a395=_0x4d806c[_0x37543f(0x1bf)](),_0x51a20b=_0x4d806c[_0x37543f(0x1a9)](),_0x381ff7=_0x4d806c[_0x37543f(0x3e3)](),_0x48c4c8=_0x4d806c[_0x37543f(0x1fc)](),_0x2e76bb=_0x4d806c[_0x37543f(0x24a)](),_0x10f3a4=_0x51a049(_0x381ff7,_0x2e76bb);_0x484423[_0x51a20b]&&_0x484423[_0x51a20b]===_0x381ff7&&_0x10f3a4===_0x48c4c8&&(_0x1fc596[_0x37543f(0x1fb)](_0x28a395,_0x51a049(_0x5b57fc['getDisplayName'](_0x51a20b),_0x2e76bb)),_0x4d806c['setSourceName'](_0x5b57fc['getDisplayName'](_0x51a20b)));});},_0x3ecf71=(_0x4aba44,_0x37de9d,_0x4ff4ef)=>{const _0x3d8bee=_0x4bebf8;var _0x2700e4,_0x1cb64e;const {arrayFormulaCellData:_0x92c011,unitData:_0x1499ef}=_0x37de9d,{unitId:_0x262766,subUnitId:_0x44af18}=_0x4ff4ef,_0xb051e7=_0x4ff4ef[_0x3d8bee(0x240)],{startColumn:_0x49bf67,endColumn:_0x31c24f}=_0xb051e7,_0x52005e=(_0x2700e4=_0x92c011==null?void 0x0:_0x92c011[_0x262766])==null?void 0x0:_0x2700e4[_0x44af18],_0x50c81f=(_0x1cb64e=_0x1499ef==null?void 0x0:_0x1499ef[_0x262766])==null?void 0x0:_0x1cb64e[_0x44af18],_0x95b200=new Set(),_0x1cb578=_0x31c24f-_0x49bf67+0x1,{dirtyRanges:_0x31facb}=_0x4aba44;if(_0x31facb)for(const {range:_0x1bddfb,sheetId:_0x1d241e,unitId:_0x106491}of _0x31facb){if(_0x1d241e!==_0x44af18||_0x262766!==_0x106491)continue;const _0x4faa40=_0x1595a8[_0x3d8bee(0x3ac)][_0x3d8bee(0x47c)](_0x1bddfb,_0xb051e7);if(_0x4faa40){const {startColumn:_0x319159,endColumn:_0x2298b0}=_0x4faa40;for(let _0x1ce196=_0x319159;_0x1ce196<=_0x2298b0;_0x1ce196++)_0x95b200[_0x3d8bee(0x3f6)](_0x1ce196);}}if(_0x95b200[_0x3d8bee(0x2f2)]===_0x1cb578||_0x95b200['size']===_0x1cb578)return Array['from'](_0x95b200);if(_0x50c81f){const _0x5ed7ce=_0x50c81f[_0x3d8bee(0x2ec)](),_0x1d67fc=Object[_0x3d8bee(0x201)](_0x5ed7ce);for(const _0x66c6c1 of _0x1d67fc){const _0x397eda=Number(_0x66c6c1),_0x27b2d3=_0x5ed7ce[_0x397eda];if(_0x95b200[_0x3d8bee(0x2f2)]===_0x1cb578)break;for(const _0x348dde in _0x27b2d3){const _0x102b6=Number(_0x348dde);_0x102b6<_0x49bf67||_0x102b6>_0x31c24f||_0x95b200[_0x3d8bee(0x3f6)](_0x102b6);}}}if(_0x52005e){const _0x34e325=_0x52005e[_0x3d8bee(0x2ec)](),_0x51cedd=Object[_0x3d8bee(0x201)](_0x34e325);for(const _0x31e311 of _0x51cedd){const _0x179fac=Number(_0x31e311),_0x555750=_0x34e325[_0x179fac];if(_0x95b200['size']===_0x1cb578)break;for(const _0x460963 in _0x555750){const _0x51807e=Number(_0x460963);_0x51807e<_0x49bf67||_0x51807e>_0x31c24f||_0x95b200[_0x3d8bee(0x3f6)](_0x51807e);}}}return Array['from'](_0x95b200);},_0x138d88=_0xdcf141=>{const _0x1f1707=_0x4bebf8,_0x200595=new Set(),_0x99ed85=[];for(const _0x19cc89 of _0xdcf141){const _0x2dd931=_0x19cc89[_0x1f1707(0x1bc)]+','+_0x19cc89['endRow']+','+_0x19cc89['startColumn']+','+_0x19cc89[_0x1f1707(0x382)];_0x200595[_0x1f1707(0x421)](_0x2dd931)||(_0x200595['add'](_0x2dd931),_0x99ed85['push'](_0x19cc89));}return _0x99ed85;};let _0x13863e=class extends _0x1595a8['Disposable']{constructor(_0x16f61d,_0x4202ea,_0x233c86,_0x546a25,_0x154ca9,_0x3e4f55){const _0x4010f3=_0x4bebf8;super(),_0x3bae97(this,_0x4010f3(0x17c),new _0xde8205[(_0x4010f3(0x2ce))](!0x0)),_0x3bae97(this,'_globalComputedStartHelpFunc',_0x1e1ebe=>{const _0x4060de=_0x4010f3;this[_0x4060de(0x17c)][_0x4060de(0x372)](!0x1);}),_0x3bae97(this,_0x4010f3(0x42e),_0x46ca36=>{const _0x1de6b1=_0x4010f3;this[_0x1de6b1(0x17c)][_0x1de6b1(0x372)](!0x0);}),(this[_0x4010f3(0x3f2)]=_0x16f61d,this[_0x4010f3(0x463)]=_0x4202ea,this['_featureCalculationManagerService']=_0x233c86,this[_0x4010f3(0x1ab)]=_0x546a25,this[_0x4010f3(0x347)]=_0x154ca9,this['_injector']=_0x3e4f55,this['_init'](),this['_initPivotDataGetListener']());}['_init'](){const _0x35fe3b=_0x4bebf8;this[_0x35fe3b(0x1cf)](),this[_0x35fe3b(0x469)](),this[_0x35fe3b(0x2f4)](),this['_subjectFieldsCollectionChange']();}[_0x4bebf8(0x1b7)](){const _0x2adeb5=_0x4bebf8;this['_globalComputingSrv'][_0x2adeb5(0x470)](this[_0x2adeb5(0x17c)]),_0x3fd852[_0x2adeb5(0x3f1)][_0x2adeb5(0x445)](_0x3fd852[_0x2adeb5(0x3e9)][_0x2adeb5(0x173)],this[_0x2adeb5(0x29c)]),_0x3fd852[_0x2adeb5(0x3f1)][_0x2adeb5(0x445)](_0x3fd852['PivotCallbackEnum']['onQueryEnd'],this[_0x2adeb5(0x42e)]);}['_initPivotDataGetListener'](){const _0x3150c7=_0x4bebf8;this['disposeWithMe'](this['_commandService'][_0x3150c7(0x343)](_0x5340eb=>{const _0x9f0e55=_0x3150c7;_0x5340eb['id']===_0x4588b4[_0x9f0e55(0x1f5)]['id']&&this['_sheetsPivotDataSourceModel'][_0x9f0e55(0x363)](_0x5340eb[_0x9f0e55(0x309)]);})),this['disposeWithMe'](this[_0x3150c7(0x1ab)][_0x3150c7(0x343)](_0x302126=>{const _0x490225=_0x3150c7;if(_0x302126['id']!==_0x4002bc['id'])return;const _0x214a2a=_0x302126[_0x490225(0x309)],{unitId:_0x30e55d,subUnitId:_0xb5fb51,pivotTableId:_0x136a4f}=_0x214a2a,_0x5d254c=_0x214a2a['params']['type'],_0x1116de={};switch(_0x5d254c){case _0x5a956a[_0x490225(0x399)]:{const _0x139aa9=_0x214a2a[_0x490225(0x309)]['filter'];if(!_0x139aa9)return;const {row:_0x3574d0,col:_0x7286d8,cellData:_0x4e9bdb,pivotItemRenderInfoCache:_0xe17a99,tableFieldId:_0x22b223}=_0x139aa9,_0xe76e29=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x214a2a[_0x490225(0x1e2)]);if(!_0xe76e29||!_0xe17a99)return;if(_0x22b223){const _0x4bc045=_0xe76e29[_0x490225(0x319)](_0x22b223);if(!_0x4bc045)return;_0x1116de[_0x490225(0x416)]={..._0xe76e29[_0x490225(0x3ce)](_0x4bc045),'tableFieldId':_0x22b223,'pivotTableId':_0x214a2a[_0x490225(0x1e2)],'filterInfo':_0xe76e29['getFilterInfo'](_0x22b223),'sortInfo':_0xe76e29[_0x490225(0x1b6)](_0x22b223),'format':_0xe76e29[_0x490225(0x2de)](_0x22b223)};}else{const _0x283684=_0x2001ea(_0x3574d0,_0x7286d8,_0x4e9bdb,_0xe76e29,_0xe17a99),_0x245e64=_0x283684==null?void 0x0:_0x283684['filterId'];if(!_0x245e64)return;const _0x3fe253=_0xe76e29[_0x490225(0x319)](_0x245e64);if(!_0x3fe253)return;_0x1116de['filter']={..._0xe76e29[_0x490225(0x3ce)](_0x3fe253),'tableFieldId':_0x245e64,'pivotTableId':_0x214a2a['pivotTableId'],'filterInfo':_0xe76e29[_0x490225(0x3b5)](_0x245e64),'sortInfo':_0xe76e29[_0x490225(0x1b6)](_0x245e64),'format':_0xe76e29[_0x490225(0x2de)](_0x245e64)};}}break;case _0x5a956a[_0x490225(0x321)]:{const _0x1731f5=_0x214a2a[_0x490225(0x309)][_0x490225(0x2c4)];if(!_0x1731f5)return;const {pivotTableId:_0x4243a2}=_0x1731f5,_0x372f83=this[_0x490225(0x3f2)][_0x490225(0x464)](_0x4243a2);if(!_0x372f83)return;const _0x36afd1=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x4243a2),_0x328bc2=_0x2cbd9a(_0x372f83,_0x4243a2,_0x36afd1);_0x1116de[_0x490225(0x2c4)]=_0x328bc2;}break;case _0x5a956a[_0x490225(0x381)]:{const _0x5d709d=this[_0x490225(0x3f2)][_0x490225(0x464)](_0x136a4f),_0xd77a5=this[_0x490225(0x3f2)][_0x490225(0x34a)](_0x30e55d),_0x33a1d0=_0xd77a5[_0x490225(0x35a)](_0x136a4f);let _0x48d59a=null;const _0x433e79=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f),_0x8b0839=_0x214a2a[_0x490225(0x309)][_0x490225(0x2cb)];if(!_0x5d709d||!_0x433e79||!_0x8b0839)return!0x1;const {dataFieldId:_0x3eed02,fieldArea:_0x3e4f75,index:_0x12faa4}=_0x8b0839;_0x5d709d['startCollectChangeset']();const _0x3bd892=_0x5d709d['addFieldWithSourceId'](_0x3eed02,_0x3e4f75,_0x12faa4);if(_0x3bd892&&_0x3e4f75===_0x3fd852[_0x490225(0x438)]['Value']){const _0x442afa=_0x3bd892[_0x490225(0x1bf)](),_0x26bddb=_0x5d709d[_0x490225(0x319)](_0x442afa);if(_0x26bddb){const _0x4451e7=_0x26bddb==null?void 0x0:_0x26bddb[_0x490225(0x2a8)]();_0x5d709d[_0x490225(0x199)](_0x3bd892[_0x490225(0x1bf)](),_0x4451e7===_0x3fd852[_0x490225(0x304)]['number']?_0x3fd852[_0x490225(0x430)][_0x490225(0x2d1)]:_0x3fd852['PivotSubtotalTypeEnum'][_0x490225(0x184)]);}const _0x576f5a=_0x5d709d[_0x490225(0x3a2)](),_0x251ace=_0x5d709d[_0x490225(0x40d)](),_0x3eaceb=_0x5d709d[_0x490225(0x1f9)](_0x3fd852[_0x490225(0x438)][_0x490225(0x354)]);if(_0x576f5a===-0x1&&_0x3eaceb>0x1){const _0x4cc5b4=_0x251ace===_0x3fd852['PivotTableValuePositionEnum']['None']?_0x3fd852[_0x490225(0x3dd)][_0x490225(0x30f)]:_0x251ace,_0x7c49c7=_0x4cc5b4===_0x3fd852[_0x490225(0x3dd)][_0x490225(0x330)]?_0x3fd852['PivotTableFiledAreaEnum']['Row']:_0x3fd852['PivotTableFiledAreaEnum'][_0x490225(0x30f)];_0x5d709d[_0x490225(0x235)](_0x4cc5b4,_0x5d709d[_0x490225(0x1f9)](_0x7c49c7));}}else{if(_0x3bd892&&(_0x3e4f75===_0x3fd852[_0x490225(0x438)]['Row']||_0x3e4f75===_0x3fd852[_0x490225(0x438)][_0x490225(0x30f)])){const _0x5c7978=_0x3bd892[_0x490225(0x1bf)](),_0x13fd1f=_0x5d709d['getDataFieldByTableId'](_0x5c7978);if(_0x13fd1f&&(_0x13fd1f==null?void 0x0:_0x13fd1f[_0x490225(0x2a8)]())===_0x3fd852[_0x490225(0x304)]['date']){const _0x437884=_0x13fd1f[_0x490225(0x325)]();if(_0x437884&&_0x5d709d['setFieldFormat'](_0x3bd892[_0x490225(0x1bf)](),_0x437884),!_0x33a1d0['getFieldIds']()[_0x490225(0x245)](_0x20b9fe=>{const _0x47a503=_0x490225,_0x2ebc94=_0x33a1d0[_0x47a503(0x366)](_0x20b9fe);return _0x3fd852[_0x47a503(0x460)](_0x2ebc94)?_0x2ebc94['getFieldInfo']()['originalFieldId']===_0x3eed02:!0x1;})){const _0x242434=_0xd77a5[_0x490225(0x274)](),_0x549019=_0x402dc4(_0x13fd1f[_0x490225(0x358)],_0x13fd1f[_0x490225(0x373)]),_0xe99fb3=_0x13fd1f['getName']()+_0x490225(0x29d)+_0x22daaa(this['_injector'],_0x549019),_0x239df0=new _0x3fd852[(_0x490225(0x361))](_0x242434,_0xe99fb3,_0x3fd852[_0x490225(0x32e)](0x3),_0x13fd1f['getId'](),_0x549019);_0xd77a5[_0x490225(0x179)](_0x239df0),_0x33a1d0[_0x490225(0x203)](_0x242434,_0xe99fb3),_0x5d709d[_0x490225(0x3d3)](_0x242434,_0x3e4f75,(_0x12faa4!=null?_0x12faa4:0x0)+0x1),_0x48d59a=_0x239df0;}}}}const _0x1053fe=_0x5d709d[_0x490225(0x401)](),_0xa51187=_0x5d709d[_0x490225(0x2dd)]()['toJSON']();let _0x53a0aa;if(_0x48d59a){_0x53a0aa=_0x48d59a['toJSON']();const _0x4deed5=_0x48d59a[_0x490225(0x1bf)]();_0x33a1d0[_0x490225(0x230)](_0x4deed5);let _0x42d2f4=!0x0;for(const _0x1c5a3e in _0xd77a5[_0x490225(0x41d)])if(_0xd77a5['collections'][_0x1c5a3e]['getFieldIds']()[_0x490225(0x35c)](_0x4deed5)){_0x42d2f4=!0x1;break;}_0x42d2f4&&_0xd77a5[_0x490225(0x24b)](_0x4deed5);}const _0xba189a=_0x5d709d[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x2cb)]={'view':_0xa51187,'changesets':_0xba189a,'isEmpty':_0x1053fe,'pivotTableConfig':_0x433e79,'shouldBeAddedGroupJSON':_0x53a0aa};}break;case _0x5a956a['AddPivotTable']:{const _0x2ef3a3=_0x214a2a['params'][_0x490225(0x1e3)];if(!_0x2ef3a3)return;const _0x17a899=_0x2ef3a3[_0x490225(0x44c)],_0x58a640=_0x2ef3a3['pivotTableId'],{collection:_0x54565d}=this[_0x490225(0x3f2)]['createCollectionWithDataRange']({'unitId':_0x17a899[_0x490225(0x2fd)],'sheetName':_0x17a899['sheetName'],'subUnitId':_0x17a899[_0x490225(0x1b5)],'range':_0x17a899['range']}),_0x43fc03=new _0x3fd852[(_0x490225(0x3f1))](_0x54565d,void 0x0,_0x58a640),_0x5630fb=_0x43fc03[_0x490225(0x2dd)](),_0x363899=_0x43fc03[_0x490225(0x249)](),_0x3a58fb=_0x54565d['toJSON']();_0x1116de[_0x490225(0x1e3)]={'view':_0x5630fb,'fieldsConfig':_0x363899,'collectionConfig':_0x3a58fb,'isEmpty':_0x43fc03['isEmpty']()};}break;case _0x5a956a['MovePivotField']:{const _0x5a2489=_0x214a2a[_0x490225(0x309)]['movePivotField'];if(!_0x5a2489)return;const {fieldId:_0x297fe4,area:_0x12a972,index:_0x31e222}=_0x5a2489,_0x20890b=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x20890b)return;const _0x20e4cd=this[_0x490225(0x3f2)]['getPivotTableInstance'](_0x136a4f);if(!_0x20e4cd)return;_0x20e4cd[_0x490225(0x294)]();const {area:_0x3fe6b0,index:_0x4f4c65}=_0x20e4cd[_0x490225(0x253)](_0x297fe4);if(_0x20e4cd[_0x490225(0x284)](_0x297fe4,_0x12a972,_0x31e222),_0x12a972===_0x3fd852[_0x490225(0x438)][_0x490225(0x354)]&&_0x20e4cd[_0x490225(0x431)](_0x297fe4)[_0x490225(0x24a)]()===void 0x0){const _0x2a979f=_0x20e4cd[_0x490225(0x431)](_0x297fe4);if(_0x2a979f&&_0x2a979f[_0x490225(0x24a)]()===void 0x0){const _0x3d0a86=_0x20e4cd['getDataFieldByTableId'](_0x297fe4);if(_0x3d0a86){const _0x35628c=_0x3d0a86==null?void 0x0:_0x3d0a86[_0x490225(0x2a8)]();_0x20e4cd['setSubtotalType'](_0x297fe4,_0x35628c===_0x3fd852[_0x490225(0x304)][_0x490225(0x27e)]?_0x3fd852[_0x490225(0x430)][_0x490225(0x2d1)]:_0x3fd852[_0x490225(0x430)][_0x490225(0x184)]);}}}const _0x3b2405=_0x20e4cd[_0x490225(0x40d)](),_0x1b3745=_0x20e4cd[_0x490225(0x3a2)](),_0x4b2ce4=_0x20e4cd[_0x490225(0x1f9)](_0x3fd852[_0x490225(0x438)]['Value'])>0x1;if(_0x4b2ce4&&_0x3fe6b0===_0x12a972&&(_0x12a972===_0x3fd852[_0x490225(0x438)]['Row']&&_0x3b2405===_0x3fd852[_0x490225(0x3dd)][_0x490225(0x330)]||_0x12a972===_0x3fd852[_0x490225(0x438)][_0x490225(0x30f)]&&_0x3b2405===_0x3fd852['PivotTableValuePositionEnum'][_0x490225(0x30f)])){let _0x560c99=_0x1b3745;_0x4f4c65<=_0x1b3745&&_0x560c99--,_0x31e222<=_0x1b3745&&_0x560c99++,_0x20e4cd[_0x490225(0x235)](_0x3b2405,_0x560c99);}else _0x4b2ce4&&(_0x3fe6b0===_0x3fd852['PivotTableFiledAreaEnum'][_0x490225(0x330)]&&_0x3b2405===_0x3fd852[_0x490225(0x3dd)][_0x490225(0x330)]||_0x3fe6b0===_0x3fd852[_0x490225(0x438)]['Column']&&_0x3b2405===_0x3fd852[_0x490225(0x3dd)][_0x490225(0x30f)])&&_0x1b3745>=_0x4f4c65&&_0x20e4cd[_0x490225(0x235)](_0x3b2405,_0x1b3745-0x1),_0x4b2ce4&&(_0x12a972===_0x3fd852['PivotTableFiledAreaEnum'][_0x490225(0x330)]&&_0x3b2405===_0x3fd852['PivotTableValuePositionEnum']['Row']||_0x12a972===_0x3fd852[_0x490225(0x438)][_0x490225(0x30f)]&&_0x3b2405===_0x3fd852[_0x490225(0x3dd)]['Column'])&&_0x1b3745>=_0x31e222&&_0x20e4cd[_0x490225(0x235)](_0x3b2405,_0x1b3745+0x1);const _0x4011e4=_0x20e4cd['query'](),_0x2095de=_0x20e4cd[_0x490225(0x401)](),_0x1d1ac=_0x20e4cd[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x2fb)]={'view':_0x4011e4[_0x490225(0x249)](),'changesets':_0x1d1ac,'isEmpty':_0x2095de,'pivotTableConfig':_0x20890b};}break;case _0x5a956a[_0x490225(0x2fc)]:{const _0x8c35d7=_0x214a2a[_0x490225(0x309)][_0x490225(0x2d8)];if(!_0x8c35d7)return;const _0x4e5c7b=_0x8c35d7[_0x490225(0x3b8)],_0x1baee4=this['_sheetsPivotDataSourceModel'][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x1baee4)return!0x1;const _0x5928eb=this[_0x490225(0x3f2)]['getPivotTableInstance'](_0x136a4f);if(!_0x5928eb)return!0x1;_0x5928eb[_0x490225(0x294)]();for(const _0x5a398d of _0x4e5c7b){const {area:_0x32afeb}=_0x5928eb[_0x490225(0x253)](_0x5a398d);_0x32afeb===_0x3fd852[_0x490225(0x438)][_0x490225(0x354)]&&_0x5928eb[_0x490225(0x37f)](_0x5a398d),(_0x32afeb===_0x3fd852[_0x490225(0x438)]['Row']||_0x32afeb===_0x3fd852[_0x490225(0x438)]['Column'])&&_0x5928eb[_0x490225(0x1ad)](_0x5a398d),_0x5928eb['removeField'](_0x5a398d);}const _0x51dd49=_0x5928eb[_0x490225(0x401)](),_0x1a2782=_0x5928eb[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x55707f=_0x5928eb[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x2d8)]={'changesets':_0x55707f,'pivotTableConfig':_0x1baee4,'isEmpty':_0x51dd49,'view':_0x1a2782};}break;case _0x5a956a[_0x490225(0x478)]:{const _0x503d18=_0x214a2a[_0x490225(0x309)]['setPivotFilter'];if(!_0x503d18)return;const {tableFieldId:_0x19277f,items:_0x519dc9,isAll:_0x2986c4}=_0x503d18,_0x38c1cb=this[_0x490225(0x3f2)][_0x490225(0x464)](_0x136a4f),_0x512bff=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x38c1cb||!_0x512bff)return;_0x38c1cb['startCollectChangeset'](),_0x38c1cb[_0x490225(0x262)](_0x19277f,{'type':_0x3fd852[_0x490225(0x2d6)][_0x490225(0x3b7)],'list':_0x519dc9,'isAll':_0x2986c4});const _0x3fe452=_0x38c1cb[_0x490225(0x401)](),_0x532876=_0x38c1cb[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x53ac4f=_0x38c1cb[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x32b)]={'view':_0x532876,'changesets':_0x53ac4f,'isEmpty':_0x3fe452,'pivotTableConfig':_0x512bff};}break;case _0x5a956a['SetValuePivotFilter']:{const _0xb20619=_0x214a2a[_0x490225(0x309)]['setValuePivotFilter'];if(!_0xb20619)return;const {tableFieldId:_0x1e8fea,filterInfo:_0x100648}=_0xb20619,_0x1cd715=this[_0x490225(0x3f2)][_0x490225(0x464)](_0x136a4f),_0x10db97=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x1cd715||!_0x10db97)return;_0x1cd715[_0x490225(0x294)](),_0x1cd715[_0x490225(0x206)](_0x1e8fea,_0x100648);const _0x2f322e=_0x1cd715[_0x490225(0x401)](),_0x567444=_0x1cd715[_0x490225(0x2dd)]()['toJSON'](),_0x5b4c5c=_0x1cd715[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x186)]={'view':_0x567444,'changesets':_0x5b4c5c,'isEmpty':_0x2f322e,'pivotTableConfig':_0x10db97};}break;case _0x5a956a['SetPivotSort']:{const _0x344c91=_0x214a2a[_0x490225(0x309)]['setPivotSort'];if(!_0x344c91)return;const {tableFieldId:_0x27ff6c,info:_0x25afd8}=_0x344c91,_0x15ae8b=this[_0x490225(0x3f2)]['getPivotTableInstance'](_0x136a4f),_0x2ffbf6=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x15ae8b||!_0x2ffbf6)return;_0x15ae8b[_0x490225(0x294)](),_0x15ae8b[_0x490225(0x2ed)](_0x27ff6c,_0x25afd8);const _0xd24457=_0x15ae8b['isEmpty'](),_0x152e8d=_0x15ae8b[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x2b578d=_0x15ae8b[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x216)]={'view':_0x152e8d,'changesets':_0x2b578d,'isEmpty':_0xd24457,'pivotTableConfig':_0x2ffbf6};}break;case _0x5a956a[_0x490225(0x36b)]:{const _0x197928=_0x214a2a[_0x490225(0x309)][_0x490225(0x31a)];if(!_0x197928)return;const {tableFieldId:_0x3fa75d,displayName:_0x1c11cd,subtotalType:_0x3ffa58,format:_0x27b671}=_0x197928,_0x2dbd9e=this[_0x490225(0x3f2)][_0x490225(0x464)](_0x136a4f),_0x288ce4=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x2dbd9e||!_0x288ce4)return;_0x2dbd9e['startCollectChangeset'](),_0x1c11cd!==void 0x0&&_0x2dbd9e[_0x490225(0x1fb)](_0x3fa75d,_0x1c11cd),_0x3ffa58!==void 0x0&&_0x2dbd9e[_0x490225(0x199)](_0x3fa75d,_0x3ffa58),_0x27b671!==void 0x0&&_0x2dbd9e[_0x490225(0x444)](_0x3fa75d,_0x27b671);const _0x30a89a=_0x2dbd9e[_0x490225(0x401)](),_0x158082=_0x2dbd9e[_0x490225(0x2dd)]()['toJSON'](),_0x58003a=_0x2dbd9e[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x31a)]={'changesets':_0x58003a,'pivotTableConfig':_0x288ce4,'isEmpty':_0x30a89a,'view':_0x158082};}break;case _0x5a956a[_0x490225(0x1eb)]:{const _0x1a97f3=_0x214a2a['params'][_0x490225(0x1a3)];if(!_0x1a97f3)return;const {dataRangeInfo:_0x291c82,unitId:_0x6ff11d,subUnitId:_0x2650a5}=_0x1a97f3,_0x4db1eb=this['_sheetsPivotDataSourceModel'][_0x490225(0x1a1)](_0x6ff11d,_0x2650a5,_0x136a4f),_0xb6c207=this[_0x490225(0x3f2)][_0x490225(0x464)](_0x136a4f);if(!this[_0x490225(0x3f2)][_0x490225(0x35a)](_0x6ff11d,_0x136a4f)||!_0xb6c207||!_0x4db1eb)return;const _0x5bdd2c=this[_0x490225(0x3f2)][_0x490225(0x2bc)](_0x6ff11d,_0x136a4f,_0x291c82),_0x160960=this['_sheetsPivotDataSourceModel'][_0x490225(0x35a)](_0x6ff11d,_0x136a4f)[_0x490225(0x249)](),{collection:_0x2536f1}=this[_0x490225(0x3f2)][_0x490225(0x19f)]({'unitId':_0x291c82['unitId'],'sheetName':_0x291c82[_0x490225(0x2e8)],'subUnitId':_0x291c82['subUnitId'],'range':_0x291c82[_0x490225(0x240)]}),_0x55c952=_0x2536f1[_0x490225(0x249)]();_0xb6c207[_0x490225(0x294)]();const _0x2e17f0=this[_0x490225(0x3f2)][_0x490225(0x34a)](_0x6ff11d)[_0x490225(0x33c)]()||_0x3fd852[_0x490225(0x3a0)];_0xb6c207[_0x490225(0x1dd)](_0x1b5368=>{const _0x36a557=_0x490225,_0x2b67c6=_0x1b5368[_0x36a557(0x1a9)]();if(!_0x2536f1[_0x36a557(0x171)](_0x2b67c6)){const _0x29c68d=_0x2536f1[_0x36a557(0x17b)](_0x1b5368[_0x36a557(0x3e3)]());if(_0x29c68d){_0xb6c207[_0x36a557(0x334)](_0x1b5368['getId'](),_0x29c68d[_0x36a557(0x23f)](),_0x29c68d[_0x36a557(0x1bf)]());const {area:_0x3f0c56}=_0xb6c207[_0x36a557(0x253)](_0x1b5368[_0x36a557(0x1bf)]());let _0x19f172=_0x1b5368['getSourceName']();const _0x30244a=_0x1b5368[_0x36a557(0x1fc)]();if(_0x3f0c56===_0x3fd852[_0x36a557(0x438)][_0x36a557(0x354)]){const _0x242167=_0x1b5368[_0x36a557(0x24a)]();_0x19f172=_0x2e17f0(_0x29c68d['getName'](),_0x242167);}_0x30244a!==_0x19f172&&_0xb6c207[_0x36a557(0x1fb)](_0x1b5368[_0x36a557(0x1bf)](),_0x19f172);}else _0xb6c207['removeField'](_0x1b5368[_0x36a557(0x1bf)]());}});const _0x5628fa=_0xb6c207[_0x490225(0x401)](),_0x4c265a=_0xb6c207[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x1382df=_0xb6c207[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x1a3)]={'view':_0x4c265a,'changesets':_0x1382df,'isEmpty':_0x5628fa,'pivotTableConfig':_0x4db1eb,'collectionConfig':_0x55c952,'oldCollectionConfig':_0x160960,'deleteIds':_0x5bdd2c};}break;case _0x5a956a[_0x490225(0x28b)]:{const _0x1340ed=_0x214a2a['params'][_0x490225(0x235)];if(!_0x1340ed)return;const {position:_0x5973d4,index:_0x3cdc37}=_0x1340ed,_0x5a6871=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x5a6871)return!0x1;const _0x1052f7=this[_0x490225(0x3f2)]['getPivotTableInstance'](_0x136a4f);if(!_0x1052f7)return!0x1;_0x1052f7[_0x490225(0x294)](),_0x1052f7[_0x490225(0x235)](_0x5973d4,_0x3cdc37);const _0x1700e0=_0x1052f7[_0x490225(0x401)](),_0x182919=_0x1052f7[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x5a247e=_0x1052f7[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x235)]={'changesets':_0x5a247e,'pivotTableConfig':_0x5a6871,'isEmpty':_0x1700e0,'view':_0x182919};}break;case _0x5a956a['SetPivotCollapse']:{const _0x35f0fe=_0x214a2a[_0x490225(0x309)][_0x490225(0x2c7)];if(!_0x35f0fe)return;const {tableFieldId:_0xb556be,collapse:_0x48937c,item:_0x3bfbc8}=_0x35f0fe,_0x32f87d=this[_0x490225(0x3f2)]['getPivotTableInstance'](_0x136a4f),_0x16d3e7=this[_0x490225(0x3f2)][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x32f87d||!_0x16d3e7)return;_0x32f87d[_0x490225(0x294)](),_0x32f87d[_0x490225(0x368)](_0xb556be,_0x48937c,_0x3bfbc8);const _0x354fbb=_0x32f87d['isEmpty'](),_0x110dc6=_0x32f87d[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x30e88a=_0x32f87d[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x2c7)]={'view':_0x110dc6,'isEmpty':_0x354fbb,'pivotTableConfig':_0x16d3e7,'changesets':_0x30e88a};}break;case _0x5a956a[_0x490225(0x2d2)]:{const _0x7d2a4b=_0x214a2a['params'][_0x490225(0x27d)];if(!_0x7d2a4b)return;const {pivotTableConfig:_0x1b408e}=_0x7d2a4b,_0x34067c=this['_sheetsPivotDataSourceModel'][_0x490225(0x464)](_0x136a4f),_0x46c42b=this['_sheetsPivotDataSourceModel'][_0x490225(0x1a1)](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x34067c||!_0x46c42b)return;_0x34067c['startCollectChangeset'](),_0x462254(_0x34067c,_0x1b408e);const _0x5d83f8=_0x34067c[_0x490225(0x401)](),_0x3d4d27=_0x34067c[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x5d0652=_0x34067c['endCollectChangeset']();_0x1116de[_0x490225(0x27d)]={'view':_0x3d4d27,'isEmpty':_0x5d83f8,'pivotTableConfig':{..._0x46c42b,'fieldsConfig':_0x34067c[_0x490225(0x249)]()},'changesets':_0x5d0652};}break;case _0x5a956a[_0x490225(0x27c)]:{const _0x129c2d=_0x214a2a[_0x490225(0x309)]['resetPivotTable'];if(!_0x129c2d)return;const _0x437e4e=this[_0x490225(0x3f2)]['getPivotTableInstance'](_0x136a4f),_0x434d45=this[_0x490225(0x3f2)]['getPivotTableConfig'](_0x30e55d,_0xb5fb51,_0x136a4f);if(!_0x437e4e||!_0x434d45)return;_0x437e4e[_0x490225(0x294)](),_0x12e4b4(_0x437e4e,_0x129c2d[_0x490225(0x3e5)]);const _0x2bee68=_0x437e4e[_0x490225(0x2dd)]()[_0x490225(0x249)](),_0x1cabd5=_0x437e4e[_0x490225(0x2c2)]();_0x1116de[_0x490225(0x2db)]={'view':_0x2bee68,'isEmpty':!0x0,'pivotTableConfig':{..._0x434d45,'fieldsConfig':_0x437e4e[_0x490225(0x249)]()},'changesets':_0x1cabd5};}break;case _0x5a956a['AddPivotTableWithConfig']:{const _0x377b72=_0x214a2a[_0x490225(0x309)]['addPivotTableWithConfig'];if(!_0x377b72)return;const _0x54dc4c=_0x377b72[_0x490225(0x44c)],_0x417a65=_0x377b72[_0x490225(0x1e2)],{collection:_0x8d4303}=this[_0x490225(0x3f2)][_0x490225(0x19f)]({'unitId':_0x54dc4c['unitId'],'sheetName':_0x54dc4c['sheetName'],'subUnitId':_0x54dc4c['subUnitId'],'range':_0x54dc4c[_0x490225(0x240)]}),_0x37d19d=new _0x3fd852['PivotTable'](_0x8d4303,void 0x0,_0x417a65),_0x50838f=_0x8d4303[_0x490225(0x46b)](),{rows:_0x2099c5,columns:_0x5e4b10,filters:_0x23f921,values:_0x4ff88f}=_0x377b72[_0x490225(0x3e7)];_0x37d19d['startCollectChangeset']();for(const {field:_0x4ef987,selectedItems:_0x257dbf}of _0x2099c5||[]){const _0x53c9ce=_0x50838f[_0x4ef987];if(_0x53c9ce){const _0x2bd7f1=_0x37d19d[_0x490225(0x3d3)](_0x53c9ce,_0x3fd852['PivotTableFiledAreaEnum'][_0x490225(0x330)]);_0x257dbf&&_0x2bd7f1&&_0x37d19d['setLabelFilterInfo'](_0x2bd7f1[_0x490225(0x1bf)](),{'type':_0x3fd852['PivotFilterTypeEnum'][_0x490225(0x3b7)],'list':_0x257dbf,'isAll':!0x1});}}for(const {field:_0x170dbb,selectedItems:_0x28868f}of _0x5e4b10||[]){const _0x3d6a63=_0x50838f[_0x170dbb];if(_0x3d6a63){const _0x2853ae=_0x37d19d[_0x490225(0x3d3)](_0x3d6a63,_0x3fd852[_0x490225(0x438)][_0x490225(0x30f)]);_0x28868f&&_0x2853ae&&_0x37d19d[_0x490225(0x262)](_0x2853ae[_0x490225(0x1bf)](),{'type':_0x3fd852[_0x490225(0x2d6)][_0x490225(0x3b7)],'list':_0x28868f,'isAll':!0x1});}}for(const {field:_0x22b2b7,selectedItems:_0x3c9a8d}of _0x23f921||[]){const _0x47405a=_0x50838f[_0x22b2b7];if(_0x47405a){const _0x353e24=_0x37d19d[_0x490225(0x3d3)](_0x47405a,_0x3fd852[_0x490225(0x438)][_0x490225(0x399)]);_0x3c9a8d&&_0x353e24&&_0x37d19d[_0x490225(0x262)](_0x353e24[_0x490225(0x1bf)](),{'type':_0x3fd852['PivotFilterTypeEnum'][_0x490225(0x3b7)],'list':_0x3c9a8d,'isAll':!0x1});}}for(const {field:_0x443996,subTotalType:_0x437d59,formatString:_0x820fc4}of _0x4ff88f||[]){const _0x24aa72=_0x8d4303[_0x490225(0x366)](_0x50838f[_0x443996]);if(!_0x24aa72)continue;const _0x4b1835=_0x50838f[_0x443996];if(_0x4b1835){const _0x5f1a8f=_0x37d19d['addFieldWithSourceId'](_0x4b1835,_0x3fd852[_0x490225(0x438)][_0x490225(0x354)]);if(_0x5f1a8f){if(_0x437d59!==void 0x0){_0x37d19d[_0x490225(0x199)](_0x5f1a8f[_0x490225(0x1bf)](),_0x437d59);const _0xcf2ba6=this['_sheetsPivotDataSourceModel'][_0x490225(0x34a)](_0x54dc4c['unitId'])[_0x490225(0x33c)]()||_0x3fd852[_0x490225(0x3a0)],_0x3db536=_0x8d4303['getDisplayName'](_0x4b1835),_0x159b91=_0xcf2ba6(_0x3db536,_0x437d59);_0x37d19d[_0x490225(0x1fb)](_0x5f1a8f[_0x490225(0x1bf)](),_0x159b91);}else{if(_0x24aa72){const _0x214d77=_0x24aa72==null?void 0x0:_0x24aa72[_0x490225(0x2a8)]();_0x37d19d[_0x490225(0x199)](_0x5f1a8f[_0x490225(0x1bf)](),_0x214d77===_0x3fd852[_0x490225(0x304)][_0x490225(0x27e)]?_0x3fd852[_0x490225(0x430)][_0x490225(0x2d1)]:_0x3fd852[_0x490225(0x430)]['count']);}}_0x820fc4&&_0x37d19d[_0x490225(0x444)](_0x5f1a8f['getId'](),_0x820fc4);}}}const _0x2fb7bc=_0x37d19d[_0x490225(0x2dd)](),_0x666b4d=_0x37d19d[_0x490225(0x249)](),_0x559f9b=_0x37d19d[_0x490225(0x401)](),_0x48c27a=_0x37d19d[_0x490225(0x2c2)](),_0x521fe6=_0x8d4303[_0x490225(0x249)]();_0x1116de[_0x490225(0x34c)]={'view':_0x2fb7bc,'fieldsConfig':_0x666b4d,'collectionConfig':_0x521fe6,'isEmpty':_0x559f9b,'changesets':_0x48c27a};}break;case _0x5a956a[_0x490225(0x37a)]:{const _0x110471=_0x42b53c(this[_0x490225(0x204)],_0x214a2a);if(!_0x110471)return;const {range:_0x5366af,sourceSubUnitId:_0x221b8d,sourceUnitId:_0x120d78,formatMap:_0x1db12f,indexes:_0x59f23b}=_0x110471;_0x1116de[_0x490225(0x43f)]={'range':_0x5366af,'sourceSubUnitId':_0x221b8d,'sourceUnitId':_0x120d78,'formatMap':_0x1db12f,'indexes':_0x59f23b};}break;}this[_0x490225(0x1ab)][_0x490225(0x1c8)](_0x351044['id'],{'version':_0x214a2a[_0x490225(0x3ff)],'result':_0x1116de},{'onlyLocal':!0x0});}));}[_0x4bebf8(0x2f4)](){const _0x212f9e=_0x4bebf8;this[_0x212f9e(0x426)](this[_0x212f9e(0x1ab)][_0x212f9e(0x343)](_0x3af9f0=>{const _0x2d32b3=_0x212f9e;if(_0x3af9f0['id']!==_0x473731['id'])return;const _0x267d45=_0x3af9f0[_0x2d32b3(0x309)];return this[_0x2d32b3(0x3f2)]['setTextInfo'](_0x267d45['textInfo']),!0x0;}));}[_0x4bebf8(0x1cf)](){const _0x63c8b0=_0x4bebf8;this['_sheetsPivotDataSourceModel'][_0x63c8b0(0x21b)][_0x63c8b0(0x41e)](_0x2cf925=>{const _0x4f15c2=_0x63c8b0;switch(_0x2cf925['type']){case _0x3ade2a['add']:_0x2cf925['dataRangeInfo']&&_0x2cf925['targetCellInfo']&&this[_0x4f15c2(0x468)](_0x2cf925['token'],_0x2cf925[_0x4f15c2(0x17a)],_0x2cf925['targetCellInfo']);break;case _0x3ade2a['delete']:{const {unitId:_0x33dc8f,subUnitId:_0x5166d7,token:_0x2936f9}=_0x2cf925;_0x33dc8f&&_0x5166d7&&_0x2936f9&&this['removeSourceRangeChange'](_0x33dc8f,_0x5166d7,_0x2936f9);}break;case _0x3ade2a[_0x4f15c2(0x1d1)]:{const {token:_0x4f5d22,oldSourceRangeInfo:_0x5c084a,dataRangeInfo:_0xa48a9b,targetCellInfo:_0x919c44}=_0x2cf925,{unitId:_0x533039,subUnitId:_0x3d3cf4}=_0x5c084a||{};_0x533039&&_0x3d3cf4&&_0x4f5d22&&this[_0x4f15c2(0x21f)](_0x533039,_0x3d3cf4,_0x4f5d22),_0xa48a9b&&_0x919c44&&this[_0x4f15c2(0x468)](_0x4f5d22,_0xa48a9b,_0x919c44);}break;}});}[_0x4bebf8(0x392)](){const _0x137f2b=_0x4bebf8;this[_0x137f2b(0x3f2)][_0x137f2b(0x197)][_0x137f2b(0x41e)](_0x297c8d=>{const _0x1f4b36=_0x137f2b;Object[_0x1f4b36(0x201)](_0x297c8d)['forEach'](_0x7a9064=>{const _0x14a363=_0x1f4b36,_0x42043a=this[_0x14a363(0x3f2)]['getTargetByPivotId'](_0x7a9064);if(_0x42043a){const _0x1d3151=this[_0x14a363(0x3f2)][_0x14a363(0x1a1)](_0x42043a==null?void 0x0:_0x42043a[_0x14a363(0x2fd)],_0x42043a==null?void 0x0:_0x42043a[_0x14a363(0x1b5)],_0x7a9064);_0x1d3151&&(this[_0x14a363(0x468)](_0x7a9064,_0x1d3151[_0x14a363(0x44c)],_0x1d3151[_0x14a363(0x263)]),this[_0x14a363(0x261)]([{'unitId':_0x42043a['unitId'],'subUnitId':_0x42043a[_0x14a363(0x1b5)],'token':_0x7a9064}]));}});});}['_subjectViewChange'](){const _0x29c7b2=_0x4bebf8;this[_0x29c7b2(0x3f2)][_0x29c7b2(0x329)][_0x29c7b2(0x41e)](_0x1c0b2c=>{const _0x204316=_0x29c7b2,{unitId:_0x32a71a,subUnitId:_0x384ae5,pivotTableId:_0x29e94c}=_0x1c0b2c;_0x32a71a&&_0x384ae5&&_0x29e94c&&this[_0x204316(0x261)]([{'unitId':_0x32a71a,'subUnitId':_0x384ae5,'token':_0x29e94c}]);});}[_0x4bebf8(0x261)](_0x1a161f){const _0x27261b=_0x4bebf8,_0x4df162={};_0x1a161f['forEach'](_0x10d6cf=>{var _0x25f60d,_0x1c23dc;const {unitId:_0x4e77a4,subUnitId:_0x41b80d,token:_0x285209}=_0x10d6cf;_0x4df162[_0x4e77a4]=(_0x25f60d=_0x4df162[_0x4e77a4])!=null?_0x25f60d:{},_0x4df162[_0x4e77a4][_0x41b80d]=(_0x1c23dc=_0x4df162[_0x4e77a4][_0x41b80d])!=null?_0x1c23dc:{},_0x4df162[_0x4e77a4][_0x41b80d][_0x285209]=!0x0;}),this[_0x27261b(0x1ab)][_0x27261b(0x1c8)](_0xf7d5bc['id'],_0x4df162);}[_0x4bebf8(0x21f)](_0x5027f8,_0x36712d,_0x36104d){const _0x191ceb=_0x4bebf8;this[_0x191ceb(0x46a)][_0x191ceb(0x2e1)](_0x5027f8,_0x36712d,[_0x36104d]);}[_0x4bebf8(0x468)](_0x2712d3,_0x353f4e,_0xc74288){const _0x8d737e=_0x4bebf8,{unitId:_0x3099b5,subUnitId:_0x21ac9d}=_0x353f4e;this['_featureCalculationManagerService'][_0x8d737e(0x421)](_0xc74288['unitId'],_0xc74288['subUnitId'],_0x2712d3)&&this[_0x8d737e(0x21f)](_0x3099b5,_0x21ac9d,_0x2712d3);const _0x396f02={'sheetId':_0x21ac9d,..._0x353f4e};this[_0x8d737e(0x46a)][_0x8d737e(0x43a)](_0xc74288['unitId'],_0xc74288[_0x8d737e(0x1b5)],_0x2712d3,{'unitId':_0xc74288[_0x8d737e(0x2fd)],'subUnitId':_0xc74288[_0x8d737e(0x1b5)],'dependencyRanges':[_0x396f02],'getDirtyData':(_0x93b951,_0x4e2181)=>{const _0x3bc4b8=_0x8d737e,_0x1fe058=this[_0x3bc4b8(0x3f2)],_0x3677e8=_0x1fe058[_0x3bc4b8(0x2bf)](_0x2712d3);if(!_0x3677e8)return _0x5202d9();const {unitId:_0x27e42e,subUnitId:_0x165271}=_0x3677e8,_0x2b6516=_0x3ecf71(_0x93b951,_0x4e2181,_0x353f4e);if(_0x2b6516[_0x3bc4b8(0x26f)]>0x0){const _0x4e290b=_0x1fe058[_0x3bc4b8(0x35a)](_0x3099b5,_0x2712d3),_0x1b28cf=_0x4e290b['getFieldIds'](),_0x248bcf=this['getMatrixFromRunTimeData'](_0x353f4e[_0x3bc4b8(0x2fd)],_0x353f4e[_0x3bc4b8(0x1b5)],_0x4e2181),_0x4d5975={},_0x58daa1=this[_0x3bc4b8(0x3f2)][_0x3bc4b8(0x34a)](_0x27e42e)[_0x3bc4b8(0x33c)]()||_0x3fd852[_0x3bc4b8(0x3a0)],_0x3e76ed=[];for(const _0x1dfad2 of _0x2b6516){const _0x1ec6d1=_0x1dfad2-(_0x353f4e[_0x3bc4b8(0x240)][_0x3bc4b8(0x408)]||0x0),_0x4a080f=_0x1b28cf[_0x1ec6d1];_0x3e76ed['push'](_0x4a080f),_0x4d5975[_0x4a080f]=_0x4e290b[_0x3bc4b8(0x366)](_0x4a080f)[_0x3bc4b8(0x23f)](),_0x1fe058[_0x3bc4b8(0x34a)](_0x3099b5)[_0x3bc4b8(0x47e)](_0x4a080f,_0x353f4e,_0x1ec6d1,_0x248bcf);}_0x4e290b[_0x3bc4b8(0x248)](_0x3e76ed)[_0x3bc4b8(0x2f1)](_0x408572=>{const _0x115853=_0x3bc4b8,[_0x11ddb1,_0x871eaf]=_0x408572,_0x5aa037=_0x4e290b[_0x115853(0x366)](_0x11ddb1),_0x1f55d2=_0x4e290b[_0x115853(0x366)](_0x871eaf);_0x5aa037&&_0x1f55d2&&_0x5aa037[_0x115853(0x3c0)](_0x1f55d2);}),_0x4e290b[_0x3bc4b8(0x175)]();const _0x212046=_0x1fe058[_0x3bc4b8(0x464)](_0x2712d3);if(_0x212046){_0x4a452c(_0x212046,_0x4d5975,_0x58daa1),_0x212046[_0x3bc4b8(0x44b)](!0x0);const _0x341021=_0x212046[_0x3bc4b8(0x2dd)](),_0xe0c9a7=_0x1fe058[_0x3bc4b8(0x1a1)](_0x27e42e,_0x165271,_0x2712d3),_0x2eed23=_0x1fe058[_0x3bc4b8(0x34a)](_0x3099b5)[_0x3bc4b8(0x249)]();_0x1fe058['updateView'](_0x27e42e,_0x165271,_0xd7fa82['Set'],_0x2712d3,_0x341021,_0xe0c9a7,_0x2eed23,!0x0);}}return this['getDirtyInfo'](_0x27e42e,_0x165271,_0x2712d3);}});}[_0x4bebf8(0x191)](_0x548c81,_0x40dafc,_0x51088e){var _0x1ec347,_0x3c4690;const {arrayFormulaCellData:_0x35112b,unitData:_0x5de095}=_0x51088e,_0x40bc22=(_0x1ec347=_0x35112b==null?void 0x0:_0x35112b[_0x548c81])==null?void 0x0:_0x1ec347[_0x40dafc],_0x31dea6=(_0x3c4690=_0x5de095==null?void 0x0:_0x5de095[_0x548c81])==null?void 0x0:_0x3c4690[_0x40dafc];return{'arrayFormulaCellDataMatrix':_0x40bc22,'unitDataMatrix':_0x31dea6};}['getDirtyInfo'](_0x48a6f7,_0x1aa4f5,_0x5f45d8){const _0x557a7a=_0x4bebf8,_0x5c0444=this['_sheetsPivotDataSourceModel']['getViewData'](_0x48a6f7,_0x1aa4f5,_0x5f45d8),_0x17c76f=[],_0x415499=new _0x1595a8['ObjectMatrix']();if(_0x5c0444){const {rangeCache:_0x3c2cfa,matrix:_0x2216b4,oldRangeCache:_0x36edeb,oldMatrix:_0x39a146}=_0x5c0444,_0x350765=_0x2efb5b(_0x36edeb),_0x11e54e=_0x2efb5b(_0x3c2cfa);_0x17c76f[_0x557a7a(0x428)](..._0x11e54e,..._0x350765),_0x39a146&&_0x36edeb&&_0x350765[_0x557a7a(0x2f1)](_0x1d0c85=>{const _0x29c444=_0x557a7a;for(let _0x1aff25=_0x1d0c85[_0x29c444(0x1bc)];_0x1aff25<=_0x1d0c85[_0x29c444(0x3f9)];_0x1aff25++)for(let _0xdb8005=_0x1d0c85[_0x29c444(0x408)];_0xdb8005<=_0x1d0c85[_0x29c444(0x382)];_0xdb8005++)_0x415499[_0x29c444(0x357)](_0x1aff25,_0xdb8005);}),_0x2216b4&&_0x11e54e&&_0x11e54e['forEach'](_0x311513=>{const _0x417b4c=_0x557a7a;for(let _0x35fe0d=_0x311513[_0x417b4c(0x1bc)];_0x35fe0d<=_0x311513[_0x417b4c(0x3f9)];_0x35fe0d++)for(let _0x36619b=_0x311513['startColumn'];_0x36619b<=_0x311513[_0x417b4c(0x382)];_0x36619b++)_0x415499[_0x417b4c(0x450)](_0x35fe0d,_0x36619b,_0x2216b4['getValue'](_0x35fe0d,_0x36619b));});}const _0xc3e8bc={};return _0xc3e8bc[_0x48a6f7]={[_0x1aa4f5]:_0x138d88(_0x17c76f)},{'runtimeCellData':{[_0x48a6f7]:{[_0x1aa4f5]:_0x415499}},'dirtyRanges':_0xc3e8bc};}[_0x4bebf8(0x342)](){}};_0x13863e=_0x22c7e8([_0x491823(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a['SheetsPivotDataSourceModel'])),_0x491823(0x1,_0x1595a8['IConfigService']),_0x491823(0x2,_0x1595a8[_0x4bebf8(0x3fd)](_0x43b126[_0x4bebf8(0x413)])),_0x491823(0x3,_0x1595a8['Inject'](_0x1595a8[_0x4bebf8(0x359)])),_0x491823(0x4,_0x1595a8[_0x4bebf8(0x3fd)](_0x43b126[_0x4bebf8(0x324)])),_0x491823(0x5,_0x1595a8['Inject'](_0x1595a8[_0x4bebf8(0x1ef)]))],_0x13863e);var _0xe6893e=Object[_0x4bebf8(0x195)],_0x520f79=(_0x5ca470,_0x40aa28,_0x5de2b5,_0x26083a)=>{const _0x13a75e=_0x4bebf8;for(var _0x3ec2e4=_0x26083a>0x1?void 0x0:_0x26083a?_0xe6893e(_0x40aa28,_0x5de2b5):_0x40aa28,_0x4c0f74=_0x5ca470[_0x13a75e(0x26f)]-0x1,_0x4731e0;_0x4c0f74>=0x0;_0x4c0f74--)(_0x4731e0=_0x5ca470[_0x4c0f74])&&(_0x3ec2e4=_0x4731e0(_0x3ec2e4)||_0x3ec2e4);return _0x3ec2e4;},_0x45dbec=(_0x180b22,_0x582226)=>(_0x64153d,_0x410a83)=>_0x582226(_0x64153d,_0x410a83,_0x180b22);let _0x599727=class extends _0x1595a8[_0x4bebf8(0x3a8)]{constructor(_0x527def,_0x44278d,_0x5cba13,_0x544ffc){const _0xae956a=_0x4bebf8;super(),_0x3bae97(this,_0xae956a(0x22d),new _0x1595a8['DisposableCollection']()),(this['_univerInstanceService']=_0x527def,this[_0xae956a(0x211)]=_0x44278d,this[_0xae956a(0x34b)]=_0x5cba13,this['_sheetsPivotTableConfigModel']=_0x544ffc,this[_0xae956a(0x3b0)]());}[_0x4bebf8(0x3b0)](){const _0x5348d2=_0x4bebf8;this[_0x5348d2(0x426)](this[_0x5348d2(0x211)][_0x5348d2(0x2d0)]({'getMutations':_0x11d54c=>{const _0x5075de=_0x5348d2;if(_0x11d54c['id']===_0x4588b4[_0x5075de(0x3ca)]['id']||_0x11d54c['id']===_0x4588b4[_0x5075de(0x17d)]['id']){const _0x5c3ca3=[],_0x2cee69=[],_0x159d0c=this['_sheetsSelectionsService']['getCurrentSelections']()[_0x5075de(0x277)](_0xedebdd=>_0xedebdd['range']),_0x22818d=_0x4588b4[_0x5075de(0x2a0)](this['_univerInstanceService']);if(!_0x22818d)return{'redos':[],'undos':[]};const {unitId:_0x5dcdee,subUnitId:_0x22205e}=_0x22818d,_0x3f7b94={},_0x4e1e2d=this[_0x5075de(0x46e)]['getSubUnitPivotConfigs'](_0x5dcdee,_0x22205e);if(_0x4e1e2d!=null&&_0x4e1e2d[_0x5075de(0x2f2)])for(const [_0x1a4753,_0x399d2e]of _0x4e1e2d){const {unitId:_0x56798f,subUnitId:_0x3a8377,row:_0x2c707c,col:_0x1137eb}=_0x399d2e['targetCellInfo'];_0x56798f===_0x22818d[_0x5075de(0x2fd)]&&_0x3a8377===_0x22818d[_0x5075de(0x1b5)]&&(_0x3f7b94[_0x2c707c+'-'+_0x1137eb]=_0x1a4753);}return _0x159d0c&&_0x22818d&&_0x159d0c[_0x5075de(0x2f1)](_0x5698b0=>{const _0x3d77e8=_0x5075de;_0x1595a8[_0x3d77e8(0x287)][_0x3d77e8(0x341)](_0x5698b0,(_0x5a1ab6,_0xc789a3)=>{const _0x52059a=_0x3d77e8,_0x351030=_0x5a1ab6+'-'+_0xc789a3;if(_0x3f7b94[_0x351030]){const _0x109961=_0x3f7b94[_0x351030];_0x5c3ca3[_0x52059a(0x428)]({'id':_0x2d4d76['id'],'params':{'unitId':_0x5dcdee,'subUnitId':_0x22205e,'pivotTableId':_0x109961}});const _0x42ec19=this[_0x52059a(0x46e)]['getCollection'](_0x5dcdee,_0x109961),_0x529d38=this[_0x52059a(0x46e)][_0x52059a(0x1a1)](_0x5dcdee,_0x22205e,_0x109961);_0x2cee69['push']({'id':_0x436cee['id'],'params':{'unitId':_0x5dcdee,'subUnitId':_0x22205e,'pivotTableId':_0x109961,'pivotTableConfig':_0x529d38,'collectionConfig':_0x42ec19}});}});}),{'redos':_0x5c3ca3,'undos':_0x2cee69};}return{'redos':[],'undos':[]};}}));}};_0x599727=_0x520f79([_0x45dbec(0x0,_0x1595a8[_0x4bebf8(0x44e)]),_0x45dbec(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4['SheetInterceptorService'])),_0x45dbec(0x2,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4[_0x4bebf8(0x1e7)])),_0x45dbec(0x3,_0x1595a8['Inject'](_0x4d544a[_0x4bebf8(0x233)]))],_0x599727);var _0x462bca=Object[_0x4bebf8(0x195)],_0x5dc8c4=(_0xeb9b73,_0x13d4da,_0x1d9b1e,_0x3ceeec)=>{for(var _0x40fa51=_0x3ceeec>0x1?void 0x0:_0x3ceeec?_0x462bca(_0x13d4da,_0x1d9b1e):_0x13d4da,_0x10a8fe=_0xeb9b73['length']-0x1,_0x2c930c;_0x10a8fe>=0x0;_0x10a8fe--)(_0x2c930c=_0xeb9b73[_0x10a8fe])&&(_0x40fa51=_0x2c930c(_0x40fa51)||_0x40fa51);return _0x40fa51;},_0x51921e=(_0x16ac5d,_0x19dc6b)=>(_0x5108e4,_0x4dbb71)=>_0x19dc6b(_0x5108e4,_0x4dbb71,_0x16ac5d);let _0x4bcd68=class extends _0x1595a8[_0x4bebf8(0x3a8)]{constructor(_0x2a8079,_0x297597,_0x74179a,_0x1b061d,_0x3e3b76,_0x379f03){const _0x402365=_0x4bebf8;super(),this['_localeService']=_0x2a8079,this['_sheetInterceptorService']=_0x297597,this[_0x402365(0x204)]=_0x74179a,this['_univerInstanceService']=_0x1b061d,this[_0x402365(0x46e)]=_0x3e3b76,this[_0x402365(0x28f)]=_0x379f03,this[_0x402365(0x39b)]();}[_0x4bebf8(0x2d9)](_0x3ac4af,_0x42f500,_0x42027f){const _0x47e2bf=_0x4bebf8,{pageView:_0x57538c,cornerView:_0x27f13c,rowView:_0x246d2f,colView:_0x108dc2,dataView:_0x523098}=_0x42f500,_0x441c22=_0x3ac4af;let _0x48f114;if(_0x42027f)_0x48f114=[..._0x12909b(_0x441c22)];else{const _0x2ddf0c=_0x27a961(_0x441c22,_0x57538c,!0x0),_0x38fff2=_0x57538c[_0x47e2bf(0x2a3)]>=0x0?_0x57538c[_0x47e2bf(0x2a3)]+0x1:0x0,_0x4892e3=_0x27f13c[_0x47e2bf(0x3c6)],_0x3c67b8=_0x27f13c[_0x47e2bf(0x20a)],_0x26ccb8=_0x2ddf0c[_0x47e2bf(0x26f)]>0x0?_0x351178:0x0,_0x15ebe7=_0x27a961({'row':_0x441c22[_0x47e2bf(0x1e6)]+_0x38fff2+_0x26ccb8,'col':_0x441c22['col']},_0x27f13c,!0x1,!0x1),_0x2be0fc=_0x27a961({'row':_0x441c22[_0x47e2bf(0x1e6)]+_0x38fff2+_0x26ccb8+_0x4892e3,'col':_0x441c22[_0x47e2bf(0x28c)]},_0x246d2f,!0x1,!0x0),_0x2d7cf8=_0x27a961({'row':_0x441c22['row']+_0x38fff2+_0x26ccb8,'col':_0x441c22[_0x47e2bf(0x28c)]+_0x3c67b8},_0x108dc2,!0x1,!0x0),_0x3cb7d5=_0x27a961({'row':_0x441c22[_0x47e2bf(0x1e6)]+_0x38fff2+_0x26ccb8+_0x4892e3,'col':_0x441c22[_0x47e2bf(0x28c)]+_0x3c67b8},_0x523098,!0x1,!0x0);_0x48f114=[..._0x2ddf0c,..._0x15ebe7,..._0x2be0fc,..._0x2d7cf8,..._0x3cb7d5];}return _0x48f114;}[_0x4bebf8(0x39b)](){const _0xe76440=_0x4bebf8;this[_0xe76440(0x426)](this[_0xe76440(0x28f)][_0xe76440(0x251)]['intercept'](this['_sheetsPivotTableService'][_0xe76440(0x251)][_0xe76440(0x41f)]()[_0xe76440(0x317)],{'handler':(_0x4b730a,_0x3697c1)=>{const _0x319bc9=_0xe76440,{cellInfo:_0x1a55d7,view:_0xb9d692,isEmpty:_0x347b14}=_0x3697c1,_0x252a8a=_0x1a55d7,{unitId:_0xd1a58b,subUnitId:_0x5cab5e}=_0x252a8a,_0x1f5e9c=this[_0x319bc9(0x2d9)](_0x1a55d7,_0xb9d692,_0x347b14),_0x10bdc5=this[_0x319bc9(0x211)][_0x319bc9(0x397)]({'unitId':_0xd1a58b,'subUnitId':_0x5cab5e,'ranges':_0x1f5e9c}),_0x23807b=_0x25ed87(this[_0x319bc9(0x204)],_0xd1a58b,_0x5cab5e,_0x1f5e9c);_0x23807b[_0x319bc9(0x1e1)]&&(_0x10bdc5[_0x319bc9(0x27b)][_0x319bc9(0x428)](_0x23807b['setRangeValueRedoMutation']),_0x10bdc5[_0x319bc9(0x40c)][_0x319bc9(0x428)](_0x23807b[_0x319bc9(0x231)]));const _0x46f2e2=this[_0x319bc9(0x45a)](_0xb9d692,_0x1a55d7);return _0x10bdc5[_0x319bc9(0x27b)][_0x319bc9(0x428)](..._0x46f2e2[_0x319bc9(0x27b)]),_0x10bdc5[_0x319bc9(0x40c)][_0x319bc9(0x428)](..._0x46f2e2['undos']),{'redos':_0x10bdc5['redos'],'undos':_0x10bdc5[_0x319bc9(0x40c)]};}}));}[_0x4bebf8(0x45a)](_0x3e3ac5,_0x1fd223){const _0x2bdc18=_0x4bebf8,{col:_0x21adae,unitId:_0x17f54e,subUnitId:_0x3e3bcb}=_0x1fd223,_0x3db6f6=[],_0x303358=[],_0x411057=_0x4588b4[_0x2bdc18(0x2a0)](this[_0x2bdc18(0x479)],{'unitId':_0x17f54e,'subUnitId':_0x3e3bcb});if(!_0x1fd223||!_0x3e3ac5||!_0x411057)return{'undos':_0x303358,'redos':_0x3db6f6};const _0x39b6fa=this[_0x2bdc18(0x46e)][_0x2bdc18(0x279)](),{colView:_0x116ef5,dataView:_0x23d848,cornerView:_0x1fbbe4,rowView:_0xb4def6,formatMap:_0x168681}=_0x3e3ac5,_0x419cd1=_0x2c193d(_0x116ef5,_0x39b6fa,!0x0,_0x168681),_0x463cfc=_0x2c193d(_0xb4def6,_0x39b6fa,!0x1,_0x168681),_0x4ab292=_0x3c63a1(_0x23d848),_0x1c8f45=_0x2a86b0(_0x1fbbe4),{worksheet:_0x4c22d4}=_0x411057;if(typeof window<'u'&&window['document']){const _0x4b8a0f=_0x3973a0[_0x2bdc18(0x484)]({..._0x39e9bd[_0x2bdc18(0x3d7)]}),_0x12b29b=_0x3973a0[_0x2bdc18(0x3f4)]['getTextSize'](_0x419cd1,_0x4b8a0f)[_0x2bdc18(0x2c8)]+0x10,_0x288295=_0x3973a0[_0x2bdc18(0x3f4)][_0x2bdc18(0x29f)](_0x4ab292,_0x4b8a0f)[_0x2bdc18(0x2c8)],_0x334f05=Math[_0x2bdc18(0x26e)](Math[_0x2bdc18(0x442)](_0x12b29b,_0x288295))+0x10,_0x5a98d7=Math['floor'](_0x3973a0['FontCache'][_0x2bdc18(0x29f)](_0x463cfc,_0x4b8a0f)[_0x2bdc18(0x2c8)]),_0x589d59=Math[_0x2bdc18(0x26e)](_0x3973a0['FontCache'][_0x2bdc18(0x29f)](_0x1c8f45,_0x4b8a0f)[_0x2bdc18(0x2c8)]),_0x3a00ef=Math[_0x2bdc18(0x442)](_0x5a98d7,_0x589d59,0x28)+0xc,_0x3fbfc9=_0x116ef5[_0x2bdc18(0x20a)]+_0x1fbbe4['colCount'],_0x1ac8d7={},_0x82c4ef={};for(let _0x3ba121=_0x21adae;_0x3ba121<_0x21adae+_0x3fbfc9;_0x3ba121++){const _0x410ab2=_0x4c22d4['getColumnWidth'](_0x3ba121);_0x1ac8d7[_0x3ba121]=_0x410ab2,_0x3ba121-_0x21adae<_0x1fbbe4['colCount']?_0x82c4ef[_0x3ba121-_0x21adae]=_0x3a00ef:_0x82c4ef[_0x3ba121-_0x21adae]=_0x334f05;}_0x3db6f6[_0x2bdc18(0x428)]({'id':_0x4588b4[_0x2bdc18(0x2a5)]['id'],'params':{'subUnitId':_0x3e3bcb,'unitId':_0x17f54e,'ranges':[{'startColumn':_0x21adae,'endColumn':_0x21adae+_0x3fbfc9-0x1,'startRow':0x0,'endRow':_0x4c22d4['getRowCount']()-0x1}],'colWidth':_0x82c4ef}}),_0x303358[_0x2bdc18(0x428)]({'id':_0x4588b4[_0x2bdc18(0x2a5)]['id'],'params':{'subUnitId':_0x3e3bcb,'unitId':_0x17f54e,'ranges':[{'startColumn':_0x21adae,'endColumn':_0x21adae+_0x3fbfc9-0x1,'startRow':0x0,'endRow':_0x4c22d4[_0x2bdc18(0x25c)]()-0x1}],'colWidth':_0x1ac8d7}});}return{'undos':_0x303358,'redos':_0x3db6f6};}};_0x4bcd68=_0x5dc8c4([_0x51921e(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x467)])),_0x51921e(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4[_0x4bebf8(0x456)])),_0x51921e(0x2,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x1ef)])),_0x51921e(0x3,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8['IUniverInstanceService'])),_0x51921e(0x4,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a['SheetsPivotTableConfigModel'])),_0x51921e(0x5,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a[_0x4bebf8(0x286)]))],_0x4bcd68);var _0xe8d6b9=Object[_0x4bebf8(0x195)],_0x5e31d4=(_0x75b964,_0x531767,_0x13d2b1,_0x36821d)=>{const _0x134c1a=_0x4bebf8;for(var _0x1e9dae=_0x36821d>0x1?void 0x0:_0x36821d?_0xe8d6b9(_0x531767,_0x13d2b1):_0x531767,_0x4a191e=_0x75b964[_0x134c1a(0x26f)]-0x1,_0x195a6f;_0x4a191e>=0x0;_0x4a191e--)(_0x195a6f=_0x75b964[_0x4a191e])&&(_0x1e9dae=_0x195a6f(_0x1e9dae)||_0x1e9dae);return _0x1e9dae;},_0x863b22=(_0x5f4044,_0x2dab33)=>(_0x2d0608,_0x1fc11a)=>_0x2dab33(_0x2d0608,_0x1fc11a,_0x5f4044);let _0x350874=class extends _0x1595a8['Disposable']{constructor(_0x141725,_0x44aaa9,_0x56cd88,_0x1507d8,_0x3a3451,_0x1d43b1,_0x17d011){const _0x428b1d=_0x4bebf8;super(),_0x3bae97(this,_0x428b1d(0x22d),new _0x1595a8['DisposableCollection']()),(this[_0x428b1d(0x204)]=_0x141725,this[_0x428b1d(0x47f)]=_0x44aaa9,this[_0x428b1d(0x1ab)]=_0x56cd88,this[_0x428b1d(0x479)]=_0x1507d8,this[_0x428b1d(0x46e)]=_0x3a3451,this[_0x428b1d(0x395)]=_0x1d43b1,this['_sheetInterceptorService']=_0x17d011,this[_0x428b1d(0x1e9)]());}[_0x4bebf8(0x1e9)](){const _0xc59214=_0x4bebf8,_0x267f92=(_0x366c85,_0x57f6d8)=>{const _0x1e19db=_0x3ff9,_0x535657=this[_0x1e19db(0x479)]['getCurrentUnitForType'](_0x1595a8['UniverInstanceType'][_0x1e19db(0x315)]);if(!_0x535657||!(_0x535657==null?void 0x0:_0x535657[_0x1e19db(0x3b9)](_0x57f6d8)))return;this[_0x1e19db(0x22d)][_0x1e19db(0x342)]();const _0x20f5aa=_0x21c410=>this['_refRangeHandle'](_0x21c410,_0x366c85,_0x57f6d8),_0x6b56d1=this[_0x1e19db(0x46e)]['getSubUnitPivotConfigs'](_0x366c85,_0x57f6d8);if(!(_0x6b56d1!=null&&_0x6b56d1[_0x1e19db(0x2f2)]))return;Array[_0x1e19db(0x1ee)](_0x6b56d1[_0x1e19db(0x476)]())['map'](_0x4cdb3d=>{const _0x561d95=_0x1e19db,{row:_0x17ad9a,col:_0xf99003}=_0x4cdb3d['targetCellInfo'];return _0x1595a8[_0x561d95(0x383)](_0x17ad9a,_0xf99003);})[_0x1e19db(0x2f1)](_0x49eb83=>{const _0x4fb4db=_0x1e19db;this[_0x4fb4db(0x22d)][_0x4fb4db(0x3f6)](this[_0x4fb4db(0x47f)][_0x4fb4db(0x280)](_0x49eb83,_0x20f5aa,_0x366c85,_0x57f6d8));});},_0x52705b=()=>{const _0x4f71a4=_0x3ff9,_0x262225=this[_0x4f71a4(0x479)][_0x4f71a4(0x45e)](_0x1595a8['UniverInstanceType'][_0x4f71a4(0x315)]);if(_0x262225){const _0x2708ef=_0x262225['getActiveSheet']();if(!_0x2708ef)return;_0x267f92(_0x262225[_0x4f71a4(0x23b)](),_0x2708ef['getSheetId']());}};this[_0xc59214(0x426)](this[_0xc59214(0x1ab)][_0xc59214(0x343)](_0x2dbd30=>{const _0x3fdcaf=_0xc59214;if(_0x2dbd30['id']===_0x4588b4[_0x3fdcaf(0x213)]['id']){const _0x58d68a=_0x2dbd30[_0x3fdcaf(0x309)],_0x5c4aba=_0x58d68a[_0x3fdcaf(0x1b5)],_0x49b819=_0x58d68a[_0x3fdcaf(0x2fd)];if(!_0x5c4aba||!_0x49b819)return;_0x267f92(_0x49b819,_0x5c4aba);}})),this[_0xc59214(0x426)](this[_0xc59214(0x46e)][_0xc59214(0x31d)][_0xc59214(0x41e)](_0x3e39a9=>{_0x3e39a9&&_0x52705b();})),this[_0xc59214(0x426)](this[_0xc59214(0x46e)][_0xc59214(0x182)][_0xc59214(0x41e)](_0x3978ae=>{const _0x402e67=_0xc59214,_0x1ecc4c=_0x4588b4['getSheetCommandTarget'](this[_0x402e67(0x479)]);if(!_0x1ecc4c)return;const {unitId:_0x3ae76f,subUnitId:_0x40c510}=_0x1ecc4c,{unitId:_0x271d1e,subUnitId:_0x198ca8}=_0x3978ae;_0x3ae76f!==_0x271d1e||_0x40c510!==_0x198ca8||_0x267f92(_0x3ae76f,_0x40c510);})),_0x52705b();}[_0x4bebf8(0x265)](_0x27e6b9,_0x330cf1,_0x5bd34d){const _0x254aa6=_0x4bebf8;switch(_0x27e6b9['id']){case _0x4588b4['MoveRangeCommand']['id']:return this['getRefRangeMutationsByMoveRange'](_0x27e6b9[_0x254aa6(0x309)],_0x330cf1,_0x5bd34d);}return{'redos':[],'undos':[]};}[_0x4bebf8(0x356)](_0xe1e88d,_0x45359e,_0xa56045){const _0x12543a=_0x4bebf8,{fromRange:_0x33efc6,toRange:_0x3063e0}=_0xe1e88d,_0x283221=[],_0x161a74=[],_0x30bd2a=_0x4588b4['getSheetCommandTarget'](this[_0x12543a(0x479)]);if(!_0x30bd2a)return{'undos':_0x161a74,'redos':_0x283221};if(_0x45359e!==_0x30bd2a[_0x12543a(0x2fd)]||_0xa56045!==_0x30bd2a[_0x12543a(0x1b5)])return{'undos':_0x161a74,'redos':_0x283221};const _0x247d74=this[_0x12543a(0x46e)][_0x12543a(0x29a)](_0x45359e,_0xa56045);if(_0x247d74!=null&&_0x247d74[_0x12543a(0x2f2)])for(const [_0x4a1f17,_0x3c1b25]of _0x247d74){const {unitId:_0x9c1d7f,subUnitId:_0x3320b7,row:_0x1984dd,col:_0x2742b0}=_0x3c1b25[_0x12543a(0x263)];if(_0x9c1d7f===_0x30bd2a[_0x12543a(0x2fd)]&&_0x3320b7===_0x30bd2a[_0x12543a(0x1b5)]){const _0x254965=_0x1595a8['cellToRange'](_0x1984dd,_0x2742b0);if(_0x1595a8[_0x12543a(0x3ac)][_0x12543a(0x35d)](_0x254965,_0x33efc6)){const _0x47c89a=_0x1984dd-_0x33efc6['startRow'],_0x2ed261=_0x2742b0-_0x33efc6['startColumn'],_0x383e28={'row':_0x3063e0[_0x12543a(0x1bc)]+_0x47c89a,'col':_0x3063e0[_0x12543a(0x408)]+_0x2ed261};_0x283221['push']({'id':_0x361ad3['id'],'params':{'unitId':_0x9c1d7f,'subUnitId':_0x3320b7,'pivotTableId':_0x4a1f17,'targetCellPosition':_0x383e28}}),_0x161a74['push']({'id':_0x361ad3['id'],'params':{'unitId':_0x9c1d7f,'subUnitId':_0x3320b7,'pivotTableId':_0x4a1f17,'targetCellPosition':{'row':_0x1984dd,'col':_0x2742b0}}});const _0x2c5fc8=_0x383e28[_0x12543a(0x1e6)]-_0x1984dd,_0x44c0ea=_0x383e28[_0x12543a(0x28c)]-_0x2742b0,_0xbe20eb=[],_0x2e7802=this[_0x12543a(0x395)]['getPivotItemRenderInfoCache'](_0x9c1d7f,_0x3320b7,_0x4a1f17),_0x13ef1a=_0x2e7802==null?void 0x0:_0x2e7802['rangesInfo'];if(_0x13ef1a){Object[_0x12543a(0x201)](_0x13ef1a)['forEach'](_0x52ab63=>{const _0x229912=_0x12543a;_0x13ef1a[_0x52ab63][_0x229912(0x2f1)](_0x1ef2c1=>{const _0x22538d=_0x229912,_0x5b231d={..._0x1ef2c1};_0x5b231d[_0x22538d(0x1bc)]=_0x1ef2c1['startRow']+_0x2c5fc8,_0x5b231d['endRow']=_0x1ef2c1['endRow']+_0x2c5fc8,_0x5b231d[_0x22538d(0x408)]=_0x1ef2c1[_0x22538d(0x408)]+_0x44c0ea,_0x5b231d[_0x22538d(0x382)]=_0x1ef2c1['endColumn']+_0x44c0ea,_0xbe20eb[_0x22538d(0x428)](_0x5b231d);});});const _0x2c9644=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x9c1d7f,'subUnitId':_0x3320b7,'ranges':_0xbe20eb});_0x283221['push'](..._0x2c9644[_0x12543a(0x27b)]),_0x161a74['push'](..._0x2c9644[_0x12543a(0x40c)]);const _0x17f016=_0x25ed87(this[_0x12543a(0x204)],_0x9c1d7f,_0x3320b7,_0xbe20eb);_0x17f016[_0x12543a(0x1e1)]&&(_0x283221[_0x12543a(0x428)](_0x17f016['setRangeValueRedoMutation']),_0x161a74['push'](_0x17f016[_0x12543a(0x231)]));}}}}return{'redos':_0x283221,'undos':_0x161a74};}};_0x350874=_0x5e31d4([_0x863b22(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x1ef)])),_0x863b22(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4[_0x4bebf8(0x47a)])),_0x863b22(0x2,_0x1595a8[_0x4bebf8(0x359)]),_0x863b22(0x3,_0x1595a8['IUniverInstanceService']),_0x863b22(0x4,_0x1595a8['Inject'](_0x4d544a[_0x4bebf8(0x233)])),_0x863b22(0x5,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a[_0x4bebf8(0x457)])),_0x863b22(0x6,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4[_0x4bebf8(0x456)]))],_0x350874);var _0x2ff527=Object[_0x4bebf8(0x195)],_0xdef931=(_0x2be7f1,_0x1ec297,_0x52c572,_0x49ae4b)=>{const _0xf60137=_0x4bebf8;for(var _0x51e054=_0x49ae4b>0x1?void 0x0:_0x49ae4b?_0x2ff527(_0x1ec297,_0x52c572):_0x1ec297,_0x20ddfd=_0x2be7f1[_0xf60137(0x26f)]-0x1,_0x4ee2e9;_0x20ddfd>=0x0;_0x20ddfd--)(_0x4ee2e9=_0x2be7f1[_0x20ddfd])&&(_0x51e054=_0x4ee2e9(_0x51e054)||_0x51e054);return _0x51e054;},_0x31563d=(_0x2d1ff9,_0x3fa696)=>(_0x208cd8,_0x401de6)=>_0x3fa696(_0x208cd8,_0x401de6,_0x2d1ff9);let _0x3450a8=class extends _0x1595a8[_0x4bebf8(0x3a8)]{constructor(_0x433234,_0x26484a){const _0x8064ac=_0x4bebf8;super(),this['_sheetInterceptorService']=_0x433234,this['_sheetsPivotTableConfigModel']=_0x26484a,this[_0x8064ac(0x21a)]();}[_0x4bebf8(0x21a)](){const _0x5dc66a=_0x4bebf8;this[_0x5dc66a(0x426)](this['_sheetInterceptorService'][_0x5dc66a(0x2d0)]({'getMutations':_0x80cf58=>{const _0x38dac9=_0x5dc66a;if(_0x80cf58['id']===_0x4588b4[_0x38dac9(0x37e)]['id']){const _0x29f99d=[],_0x4eaa8c=[],_0x56bb8c=_0x80cf58['params'],{unitId:_0x127528,subUnitId:_0x3bc8ec}=_0x56bb8c;if(!_0x127528||!_0x3bc8ec)return{'undos':_0x4eaa8c,'redos':_0x29f99d};const _0x1967af=this[_0x38dac9(0x46e)][_0x38dac9(0x29a)](_0x127528,_0x3bc8ec);if(_0x1967af!=null&&_0x1967af[_0x38dac9(0x2f2)])for(const [_0x35e865,_0xa9753c]of _0x1967af){_0x29f99d[_0x38dac9(0x428)]({'id':_0x2d4d76['id'],'params':{'unitId':_0x127528,'subUnitId':_0x3bc8ec,'pivotTableId':_0x35e865}});const _0x47a87f={...this['_sheetsPivotTableConfigModel']['getCollection'](_0x127528,_0x35e865)};_0x4eaa8c[_0x38dac9(0x428)]({'id':_0x436cee['id'],'params':{'unitId':_0x127528,'subUnitId':_0x3bc8ec,'pivotTableId':_0x35e865,'pivotTableConfig':_0xa9753c,'collectionConfig':_0x47a87f}});}return{'redos':_0x29f99d,'undos':_0x4eaa8c};}return{'redos':[],'undos':[]};}}));}};_0x3450a8=_0xdef931([_0x31563d(0x0,_0x1595a8[_0x4bebf8(0x3fd)](_0x4588b4[_0x4bebf8(0x456)])),_0x31563d(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a[_0x4bebf8(0x233)]))],_0x3450a8);var _0x1f3ee5=Object[_0x4bebf8(0x195)],_0x33a372=(_0x2f12b3,_0x3154dd,_0x1058cb,_0x34b231)=>{const _0x5d17d5=_0x4bebf8;for(var _0x2f023f=_0x34b231>0x1?void 0x0:_0x34b231?_0x1f3ee5(_0x3154dd,_0x1058cb):_0x3154dd,_0x316a8f=_0x2f12b3[_0x5d17d5(0x26f)]-0x1,_0x47f89c;_0x316a8f>=0x0;_0x316a8f--)(_0x47f89c=_0x2f12b3[_0x316a8f])&&(_0x2f023f=_0x47f89c(_0x2f023f)||_0x2f023f);return _0x2f023f;},_0x3b463a=(_0x3f3feb,_0x434f0a)=>(_0x532c4c,_0x151e48)=>_0x434f0a(_0x532c4c,_0x151e48,_0x3f3feb);let _0x4d704a=class extends _0x1595a8[_0x4bebf8(0x3a8)]{constructor(_0x584465,_0x58ed26,_0x42f819,_0x14c89b,_0xae05dc,_0x5b6c4d){const _0x40369b=_0x4bebf8;super(),this[_0x40369b(0x1ab)]=_0x584465,this[_0x40369b(0x25e)]=_0x58ed26,this[_0x40369b(0x395)]=_0x42f819,this[_0x40369b(0x46e)]=_0x14c89b,this['_univerInstanceService']=_0xae05dc,this[_0x40369b(0x283)]=_0x5b6c4d,this[_0x40369b(0x28d)](),this['registerDirtyService']();}[_0x4bebf8(0x28d)](){const _0xaa2dda=_0x4bebf8;this[_0xaa2dda(0x426)](this[_0xaa2dda(0x1ab)][_0xaa2dda(0x343)](_0x17667d=>{const _0x7bb345=_0xaa2dda;if(_0x17667d['id']!==_0x351044['id'])return;const _0x1a0eb3=_0x17667d[_0x7bb345(0x309)];this[_0x7bb345(0x25e)][_0x7bb345(0x3cf)](_0x1a0eb3);})),this['disposeWithMe'](this[_0xaa2dda(0x1ab)][_0xaa2dda(0x343)](_0x500027=>{const _0x1b6b4f=_0xaa2dda;if(_0x500027['id']===_0x32935e['id']){const _0xdba9ab=_0x500027['params'];if(_0xdba9ab){const {unitId:_0x5bede3,subUnitId:_0x29b2f2,oldSubUnitId:_0x495ce2,pivotTableId:_0x3dd120,pivotTableConfig:_0x55fb47,collectionConfig:_0x4d588e}=_0xdba9ab;this['_sheetsPivotTableConfigModel'][_0x1b6b4f(0x207)](_0x5bede3,_0x495ce2,_0xdba9ab[_0x1b6b4f(0x1e2)],null),this[_0x1b6b4f(0x46e)][_0x1b6b4f(0x207)](_0x5bede3,_0x29b2f2,_0x3dd120,_0x55fb47),this[_0x1b6b4f(0x46e)][_0x1b6b4f(0x198)](_0x5bede3,_0x4d588e);}}})),this[_0xaa2dda(0x426)](this[_0xaa2dda(0x1ab)][_0xaa2dda(0x343)](_0x84423c=>{const _0x550773=_0xaa2dda;if(_0x84423c['id']!==_0x375c56['id'])return;const _0x27288d=_0x4588b4[_0x550773(0x2a0)](this[_0x550773(0x479)]);if(!_0x27288d)return;const {unitId:_0x2f16f6,subUnitId:_0x19441f}=_0x27288d,_0x337de8=_0x84423c[_0x550773(0x309)];if(_0x337de8[_0x550773(0x23c)]&&Object[_0x550773(0x201)](_0x337de8[_0x550773(0x23c)])[_0x550773(0x2f1)](_0x5e9256=>{const _0x6c7690=_0x550773;var _0x4b8744;(_0x4b8744=_0x337de8[_0x6c7690(0x23c)])!=null&&_0x4b8744[_0x5e9256]&&this[_0x6c7690(0x46e)][_0x6c7690(0x198)](_0x5e9256,_0x337de8[_0x6c7690(0x23c)][_0x5e9256]);}),_0x337de8[_0x550773(0x176)]){const _0xa9ca5c=_0x337de8[_0x550773(0x176)],{unitId:_0x5667c3,subUnitId:_0x4297e5,view:_0x4c45ec,pivotTableId:_0x213569,type:_0x1cba7e,pivotConfig:_0x362970}=_0xa9ca5c;if(_0x1cba7e===_0xd7fa82[_0x550773(0x17e)])this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x5667c3,'subUnitId':_0x4297e5,'pivotTableId':_0x213569,'type':_0x1cba7e}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x5667c3,_0x4297e5,_0x213569,null);else{const _0x233a54=new _0x3fd852[(_0x550773(0x3df))]();_0x233a54[_0x550773(0x2fa)](_0x4c45ec),this[_0x550773(0x46e)][_0x550773(0x207)](_0x5667c3,_0x4297e5,_0x213569,_0x362970),this[_0x550773(0x395)][_0x550773(0x3eb)]({'unitId':_0x5667c3,'subUnitId':_0x4297e5,'pivotTableId':_0x213569,'type':_0x1cba7e,'view':_0x233a54}),this[_0x550773(0x395)]['updateRenderCache']({'unitId':_0x5667c3,'subUnitId':_0x4297e5,'view':_0x233a54,'pivotTableId':_0x213569,'type':_0x1cba7e});}}else _0x337de8[_0x550773(0x2fe)]&&(_0x337de8[_0x550773(0x2fe)][_0x550773(0x2f1)](_0x1f6b20=>{const _0x5d6619=_0x550773,{unitId:_0x55d562,subUnitId:_0xc4a53b,view:_0x2ae5ad,pivotTableId:_0x57a80b,type:_0x49e738,pivotConfig:_0x1adf50}=_0x1f6b20,_0x485bdb=new _0x3fd852['PivotView']();_0x485bdb['formJSON'](_0x2ae5ad),this['_sheetsPivotTableConfigModel'][_0x5d6619(0x207)](_0x55d562,_0xc4a53b,_0x57a80b,_0x1adf50),this['_sheetsPivotTableAdaptorModel'][_0x5d6619(0x3b6)]({'unitId':_0x55d562,'subUnitId':_0xc4a53b,'view':_0x485bdb,'pivotTableId':_0x57a80b,'type':_0x49e738});}),this[_0x550773(0x46e)][_0x550773(0x226)]());this['_sheetsPivotTableAdaptorModel'][_0x550773(0x461)](_0x2f16f6,_0x19441f);}));}['registerDirtyService'](){const _0x51f2bd=_0x4bebf8;this[_0x51f2bd(0x283)][_0x51f2bd(0x43a)](_0xf7d5bc['id'],{'commandId':_0xf7d5bc['id'],'getDirtyData'(_0x3ae9ff){const _0x335513=_0x51f2bd;return{'dirtyUnitFeatureMap':_0x3ae9ff[_0x335513(0x309)]};}});}};_0x4d704a=_0x33a372([_0x3b463a(0x0,_0x1595a8['Inject'](_0x1595a8[_0x4bebf8(0x359)])),_0x3b463a(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x4d544a[_0x4bebf8(0x3d4)])),_0x3b463a(0x2,_0x1595a8['Inject'](_0x4d544a['SheetsPivotTableAdaptorModel'])),_0x3b463a(0x3,_0x1595a8['Inject'](_0x4d544a[_0x4bebf8(0x233)])),_0x3b463a(0x4,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x44e)])),_0x3b463a(0x5,_0x43b126[_0x4bebf8(0x2c9)])],_0x4d704a);var _0x3ecd9f=Object[_0x4bebf8(0x43e)],_0x454475=Object[_0x4bebf8(0x195)],_0x984a03=(_0x1e0809,_0x53163c,_0x111e53)=>_0x53163c in _0x1e0809?_0x3ecd9f(_0x1e0809,_0x53163c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x111e53}):_0x1e0809[_0x53163c]=_0x111e53,_0x27c722=(_0x2c2326,_0x404523,_0x19c1e8,_0x465846)=>{const _0x2de21a=_0x4bebf8;for(var _0x11d099=_0x465846>0x1?void 0x0:_0x465846?_0x454475(_0x404523,_0x19c1e8):_0x404523,_0x358ba0=_0x2c2326[_0x2de21a(0x26f)]-0x1,_0x52746d;_0x358ba0>=0x0;_0x358ba0--)(_0x52746d=_0x2c2326[_0x358ba0])&&(_0x11d099=_0x52746d(_0x11d099)||_0x11d099);return _0x11d099;},_0x1f77d1=(_0x433e3b,_0x44910d)=>(_0x1d1da7,_0x5f4ecb)=>_0x44910d(_0x1d1da7,_0x5f4ecb,_0x433e3b),_0x1f0db3=(_0xf2326,_0x4346dc,_0x323ec9)=>_0x984a03(_0xf2326,typeof _0x4346dc!=_0x4bebf8(0x45b)?_0x4346dc+'':_0x4346dc,_0x323ec9);_0x4d544a[_0x4bebf8(0x1fe)]=class extends _0x1595a8[_0x4bebf8(0x1c5)]{constructor(_0x2d6e4d=_0xa5cf3e,_0x4ab0f3,_0x1c22a3,_0x5c4ba3,_0x1602e6){const _0x150f30=_0x4bebf8;super(),this[_0x150f30(0x32a)]=_0x2d6e4d,this[_0x150f30(0x204)]=_0x4ab0f3,this['_commandService']=_0x1c22a3,this[_0x150f30(0x463)]=_0x5c4ba3,this['_dataSyncPrimaryController']=_0x1602e6;const {..._0x249357}=_0x1595a8[_0x150f30(0x2d5)]({},_0xa5cf3e,this[_0x150f30(0x32a)]);this[_0x150f30(0x463)]['setConfig'](_0x1030a2,_0x249357),this[_0x150f30(0x339)](),this[_0x150f30(0x35f)]();}['_initConfig'](){const _0x4ec621=_0x4bebf8;var _0x4ced5a;const _0x1b8518=(_0x4ced5a=this[_0x4ec621(0x32a)])==null?void 0x0:_0x4ced5a[_0x4ec621(0x3b3)];this['_configService']['setConfig'](_0x29b15b,_0x1b8518===!0x0);}[_0x4bebf8(0x391)](){const _0x32584a=_0x4bebf8;var _0x5003f5;let _0x5534ba=[];const _0x269944=(_0x5003f5=this[_0x32584a(0x32a)])==null?void 0x0:_0x5003f5['notExecuteFormula'];_0x269944===!0x0?_0x5534ba=[[_0x4d544a['SheetsPivotTableService']],[_0x4d544a[_0x32584a(0x3d4)]],[_0x4d704a],[_0x4d544a[_0x32584a(0x457)]],[_0x4d544a[_0x32584a(0x233)]],[_0x3450a8],[_0x599727],[_0x350874],[_0x4bcd68]]:_0x269944===!0x1?_0x5534ba=[[_0x4d544a[_0x32584a(0x20b)]],[_0x13863e]]:_0x269944===void 0x0&&(_0x5534ba=[[_0x4d544a[_0x32584a(0x20b)]],[_0x13863e],[_0x4d544a[_0x32584a(0x286)]],[_0x4d544a['SheetsPivotRPCService']],[_0x4d704a],[_0x4d544a[_0x32584a(0x457)]],[_0x4d544a['SheetsPivotTableConfigModel']],[_0x3450a8],[_0x599727],[_0x350874],[_0x4bcd68]]),_0x5534ba[_0x32584a(0x2f1)](_0x39d839=>this[_0x32584a(0x204)]['add'](_0x39d839)),[_0x13863e,_0x4d704a,_0x4d544a[_0x32584a(0x286)],_0x599727,_0x3450a8,_0x350874,_0x4bcd68][_0x32584a(0x2f1)](_0x263dfa=>{const _0x57a3f3=_0x32584a;this[_0x57a3f3(0x204)]['has'](_0x263dfa)&&this[_0x57a3f3(0x204)][_0x57a3f3(0x335)](_0x263dfa);});}[_0x4bebf8(0x339)](){const _0x2dbd45=_0x4bebf8;[_0x4924b0,_0xfe9c30,_0x4b2b3b,_0x18784a,_0x5be2f2,_0x1c3c47,_0x142e09,_0x3e1404,_0x37b1fd,_0x30e338,_0x5317a0,_0x13db2a,_0x5cddc7,_0x4751f0,_0x436cee,_0x43bb18,_0x2d4d76,_0x210645,_0x3b4935,_0x2bacda,_0x1a0677,_0x4e7bfd,_0x1fe9db,_0x62bf03,_0x43792d,_0x3eb383,_0x361ad3,_0x4002bc,_0x351044,_0x375c56,_0xd778e0,_0x5919e3,_0x4f754e,_0x221862,_0x473731,_0x59e011,_0x565984,_0xf7d5bc,_0x32935e,_0x3f4f54,_0x1e756a,_0x57f051,_0x1a92ae][_0x2dbd45(0x2f1)](_0x70fbdd=>{const _0x5140ff=_0x2dbd45;var _0x4c1c5f;(_0x4c1c5f=this[_0x5140ff(0x1b2)])==null||_0x4c1c5f[_0x5140ff(0x1c7)](_0x70fbdd),this[_0x5140ff(0x1ab)][_0x5140ff(0x452)](_0x70fbdd);});}},_0x1f0db3(_0x4d544a['UniverSheetsPivotTablePlugin'],_0x4bebf8(0x30d),_0x1b3ab2),_0x1f0db3(_0x4d544a['UniverSheetsPivotTablePlugin'],_0x4bebf8(0x1fd),_0x1595a8[_0x4bebf8(0x43c)][_0x4bebf8(0x315)]),_0x4d544a[_0x4bebf8(0x1fe)]=_0x27c722([_0x1595a8[_0x4bebf8(0x375)](_0x55b4b9[_0x4bebf8(0x448)]),_0x1f77d1(0x1,_0x1595a8[_0x4bebf8(0x3fd)](_0x1595a8[_0x4bebf8(0x1ef)])),_0x1f77d1(0x2,_0x1595a8['Inject'](_0x1595a8['ICommandService'])),_0x1f77d1(0x3,_0x1595a8[_0x4bebf8(0x364)]),_0x1f77d1(0x4,_0x1595a8[_0x4bebf8(0x205)](_0xbfea7d[_0x4bebf8(0x3cb)]))],_0x4d544a['UniverSheetsPivotTablePlugin']),_0x4d544a[_0x4bebf8(0x308)]=_0x4b2b3b,_0x4d544a[_0x4bebf8(0x39e)]=_0x210645,_0x4d544a['AddPivotTableCommand']=_0xfe9c30,_0x4d544a['AddPivotTableMutation']=_0x436cee,_0x4d544a[_0x4bebf8(0x1b3)]=_0x4924b0,_0x4d544a['BLANK_ROW_COUNT']=_0x351178,_0x4d544a['DEFAULT_PIVOT_NUMBER']=_0x5f566b,_0x4d544a[_0x4bebf8(0x36d)]=_0x18784a,_0x4d544a[_0x4bebf8(0x316)]=_0x5cddc7,_0x4d544a[_0x4bebf8(0x2eb)]=_0x5a956a,_0x4d544a[_0x4bebf8(0x281)]=_0x4751f0,_0x4d544a[_0x4bebf8(0x196)]=_0xd7fa82,_0x4d544a[_0x4bebf8(0x259)]=_0xf7d5bc,_0x4d544a[_0x4bebf8(0x2b4)]=_0xf29fc1,_0x4d544a[_0x4bebf8(0x3de)]=_0x5be2f2,_0x4d544a['RemovePivotFieldMutation']=_0x4e7bfd,_0x4d544a[_0x4bebf8(0x1ec)]=_0x2d4d76,_0x4d544a[_0x4bebf8(0x1ff)]=_0x1fe9db,_0x4d544a['ResetPivotFieldsConfigCommand']=_0x1a92ae,_0x4d544a[_0x4bebf8(0x415)]=_0x1030a2,_0x4d544a[_0x4bebf8(0x2a2)]=_0x1b3ab2,_0x4d544a[_0x4bebf8(0x2cc)]=_0x3e1404,_0x4d544a[_0x4bebf8(0x47b)]=_0x62bf03,_0x4d544a['SetPivotFieldFormatMutation']=_0x221862,_0x4d544a[_0x4bebf8(0x1af)]=_0x57f051,_0x4d544a[_0x4bebf8(0x19b)]=_0x30e338,_0x4d544a[_0x4bebf8(0x1bd)]=_0x1a0677,_0x4d544a[_0x4bebf8(0x328)]=_0x3eb383,_0x4d544a[_0x4bebf8(0x3e0)]=_0x361ad3,_0x4d544a[_0x4bebf8(0x407)]=_0x37b1fd,_0x4d544a[_0x4bebf8(0x1fa)]=_0x43792d,_0x4d544a[_0x4bebf8(0x257)]=_0x4f754e,_0x4d544a[_0x4bebf8(0x1f7)]=_0x3f4f54,_0x4d544a['SetPivotValueFilterMutation']=_0x1e756a,_0x4d544a[_0x4bebf8(0x26d)]=_0x142e09,_0x4d544a[_0x4bebf8(0x2f0)]=_0xd778e0,_0x4d544a[_0x4bebf8(0x34d)]=_0x5317a0,_0x4d544a['UpdatePivotFieldSourceInfoMutation']=_0x565984,_0x4d544a[_0x4bebf8(0x374)]=_0x13db2a,_0x4d544a[_0x4bebf8(0x2cd)]=_0x59e011,_0x4d544a['UpdatePivotValuePositionCommand']=_0x1c3c47,_0x4d544a['UpdateValuePositionMutation']=_0x5919e3,_0x4d544a['applyChangeSet']=_0x406888,_0x4d544a[_0x4bebf8(0x250)]=_0x4ccebb,_0x4d544a[_0x4bebf8(0x1b4)]=_0x39e9bd,_0x4d544a[_0x4bebf8(0x38f)]=_0x25ed87,_0x4d544a[_0x4bebf8(0x2af)]=_0x27a961,_0x4d544a['getEmptyPivotRanges']=_0x12909b,_0x4d544a[_0x4bebf8(0x3bb)]=_0x36dda7,_0x4d544a[_0x4bebf8(0x362)]=_0x4ffe57,_0x4d544a[_0x4bebf8(0x365)]=_0x2001ea,_0x4d544a[_0x4bebf8(0x2ea)]=_0x301c26,_0x4d544a[_0x4bebf8(0x2d7)]=_0x2cbd9a,_0x4d544a[_0x4bebf8(0x1d7)]=_0x50b7fc,_0x4d544a[_0x4bebf8(0x27a)]=_0x2efb5b,Object[_0x4bebf8(0x43e)](_0x4d544a,Symbol[_0x4bebf8(0x2a1)],{'value':'Module'});}));