@univerjs-pro/sheets-pivot 0.15.0-insiders.20251227-dafc157 → 0.15.0-insiders.20251227-453e4ff
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3318(_0x24a4e1,_0x4f7a11){_0x24a4e1=_0x24a4e1-0x1b8;const _0x44935a=_0x4493();let _0x3318c0=_0x44935a[_0x24a4e1];return _0x3318c0;}(function(_0x8cb77d,_0x2e76e9){const _0x16fd18=_0x3318,_0x3c3fca=_0x8cb77d();while(!![]){try{const _0x503525=parseInt(_0x16fd18(0x492))/0x1*(-parseInt(_0x16fd18(0x4b3))/0x2)+-parseInt(_0x16fd18(0x406))/0x3*(parseInt(_0x16fd18(0x3ac))/0x4)+-parseInt(_0x16fd18(0x2c7))/0x5*(-parseInt(_0x16fd18(0x218))/0x6)+parseInt(_0x16fd18(0x4d4))/0x7*(-parseInt(_0x16fd18(0x2f6))/0x8)+parseInt(_0x16fd18(0x4a1))/0x9*(-parseInt(_0x16fd18(0x380))/0xa)+parseInt(_0x16fd18(0x2ba))/0xb+parseInt(_0x16fd18(0x274))/0xc*(parseInt(_0x16fd18(0x377))/0xd);if(_0x503525===_0x2e76e9)break;else _0x3c3fca['push'](_0x3c3fca['shift']());}catch(_0x454c9e){_0x3c3fca['push'](_0x3c3fca['shift']());}}}(_0x4493,0x8c46e),function(_0x19eb72,_0xde0dea){const _0x12db6d=_0x3318;typeof exports=='object'&&typeof module<'u'?_0xde0dea(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x12db6d(0x344)&&define[_0x12db6d(0x303)]?define([_0x12db6d(0x3e6),_0x12db6d(0x3af),_0x12db6d(0x390),_0x12db6d(0x47a),_0x12db6d(0x47f),_0x12db6d(0x447),_0x12db6d(0x3d4),_0x12db6d(0x2e8),_0x12db6d(0x2bf),'@univerjs/engine-render'],_0xde0dea):(_0x19eb72=typeof globalThis<'u'?globalThis:_0x19eb72||self,_0xde0dea(_0x19eb72[_0x12db6d(0x205)]={},_0x19eb72[_0x12db6d(0x497)],_0x19eb72['UniverCore'],_0x19eb72[_0x12db6d(0x44c)],_0x19eb72[_0x12db6d(0x263)],_0x19eb72[_0x12db6d(0x447)],_0x19eb72['UniverProLicense'],_0x19eb72[_0x12db6d(0x2dd)],_0x19eb72[_0x12db6d(0x407)],_0x19eb72['UniverEngineRender']));}(this,function(_0x27a419,_0xe4a43f,_0x118f40,_0x271ee6,_0x137f99,_0x19259a,_0x7125e5,_0x5adf8e,_0x1d89a6,_0x333354){'use strict';const _0x3481c0=_0x3318;var _0x5bdf7b=Object['defineProperty'],_0x272571=(_0x4ae532,_0x6f5654,_0x5ab631)=>_0x6f5654 in _0x4ae532?_0x5bdf7b(_0x4ae532,_0x6f5654,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ab631}):_0x4ae532[_0x6f5654]=_0x5ab631,_0x18cb5f=(_0x568704,_0x2fe91c,_0x54b19c)=>_0x272571(_0x568704,typeof _0x2fe91c!=_0x3481c0(0x249)?_0x2fe91c+'':_0x2fe91c,_0x54b19c);const _0x525938=Number[_0x3481c0(0x247)](0x694fb85d),_0xb06a8=0x10,_0x24ae0e=0x1,_0x1de706=_0x3481c0(0x4ba),_0x22118b=0x1,_0x5d50f9=_0x3481c0(0x330),_0x499f24=_0x3481c0(0x1f0),_0x3d05b8='#b2b2b2',_0x3ebf79=_0x3481c0(0x3b0),_0x5ddf8e=_0x3481c0(0x3b0),_0x58af90=_0x3481c0(0x256),_0x529625='#1d32e9',_0x1277fe=_0x3481c0(0x1d0),_0x4f100e=_0x3481c0(0x367),_0x2c9bb9=_0x3481c0(0x298),_0x13c2cb='#FFFFFF',_0x2f4936=_0x3481c0(0x361),_0x1c23aa=0xe,_0x39cfa5=0x6;var _0x9e3ca0=(_0x11db50=>(_0x11db50[_0x3481c0(0x4d1)]='existing',_0x11db50[_0x3481c0(0x415)]=_0x3481c0(0x41c),_0x11db50))(_0x9e3ca0||{});const _0x41da80={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x5df372=0x1e,_0x179f68={'b':{'s':0x1,'cl':{'rgb':_0x3d05b8}},'l':{'s':0x1,'cl':{'rgb':_0x3d05b8}},'r':{'s':0x1,'cl':{'rgb':_0x3d05b8}},'t':{'s':0x1,'cl':{'rgb':_0x3d05b8}}},_0x48fb92={'bg':{'rgb':_0x5d50f9},'ht':0x2,'vt':0x2,'tb':0x1},_0x5d3b6d={'bg':{'rgb':_0x499f24},'ht':0x2,'vt':0x2,'tb':0x1},_0x3e1150={'rowStyle':{'bg':{'rgb':_0x2f4936},'bd':_0x179f68,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2c9bb9},'bd':null,'cl':{'rgb':_0x13c2cb},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x179f68,'bg':{'rgb':_0x4f100e},'vt':0x2},'cornerStyle':{'bd':_0x179f68,'bg':{'rgb':_0x58af90},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x179f68,'bg':{'rgb':_0x3ebf79},'vt':0x2},'leafStyle':{'bd':_0x179f68,'bg':{'rgb':_0x5ddf8e},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x529625},'cl':{'rgb':_0x1277fe},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x179f68,'vt':0x2}};function _0x4573f0(_0x5f05c5,_0x17ad49,_0x68db10){const _0x4822cf=_0x3481c0,_0x4c320b=_0x5f05c5[_0x4822cf(0x232)](_0x118f40[_0x4822cf(0x431)]),_0x56c81b=_0x68db10[_0x4822cf(0x434)]('_');switch(_0x17ad49){case _0xe4a43f['PivotDateGroupFieldDateTypeEnum'][_0x4822cf(0x1c2)]:return _0x4c320b['t'](_0x4822cf(0x3fa),..._0x56c81b);case _0xe4a43f['PivotDateGroupFieldDateTypeEnum']['Minute']:return _0x4c320b['t'](_0x4822cf(0x323),..._0x56c81b);case _0xe4a43f['PivotDateGroupFieldDateTypeEnum']['Hour']:return _0x4c320b['t'](_0x4822cf(0x3cb),..._0x56c81b);case _0xe4a43f[_0x4822cf(0x3bd)][_0x4822cf(0x279)]:return _0x4c320b['t'](_0x4822cf(0x2a7),..._0x56c81b);case _0xe4a43f[_0x4822cf(0x3bd)][_0x4822cf(0x4c9)]:return _0x4c320b['t'](_0x4822cf(0x302),..._0x56c81b);case _0xe4a43f[_0x4822cf(0x3bd)][_0x4822cf(0x347)]:return _0x4c320b['t'](_0x4822cf(0x1d9),..._0x56c81b);case _0xe4a43f[_0x4822cf(0x3bd)][_0x4822cf(0x3c1)]:return _0x4c320b['t'](_0x4822cf(0x439),..._0x56c81b);case _0xe4a43f['PivotDateGroupFieldDateTypeEnum']['YearMonth']:return _0x4c320b['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x56c81b);case _0xe4a43f[_0x4822cf(0x3bd)]['YearMonthDate']:return _0x4c320b['t'](_0x4822cf(0x2f4),..._0x56c81b);case _0xe4a43f[_0x4822cf(0x3bd)][_0x4822cf(0x2b7)]:return _0x4c320b['t'](_0x4822cf(0x4ce),..._0x56c81b);}return'';}const _0x2149da=(_0xd89395,_0xd77a1d,_0x2c20b9,_0x5a97bd)=>{const _0x25ebe2=_0x3481c0;let _0x226523;const _0x4548df=_0xd89395['get'](_0x118f40['IUniverInstanceService'])['getCurrentUnitForType'](_0x118f40[_0x25ebe2(0x26f)][_0x25ebe2(0x37c)]);if(!_0x4548df)return null;const _0x16b35c=_0x4548df[_0x25ebe2(0x1ce)]();let _0x2e867e;if(_0x2c20b9&&(_0x2e867e=_0x16b35c[_0x25ebe2(0x2e2)](_0x2c20b9)),_0xd77a1d!=null&&_0xd77a1d['v']||(_0xd77a1d==null?void 0x0:_0xd77a1d['v'])===0x0){_0x226523||(_0x226523={});const _0x50f640=_0xc3d068(_0xd77a1d['v']);typeof _0x50f640==_0x25ebe2(0x276)?_0x226523['t']=_0x118f40[_0x25ebe2(0x36e)][_0x25ebe2(0x469)]:typeof _0x50f640==_0x25ebe2(0x282)&&(_0x226523['t']=_0x118f40['CellValueType'][_0x25ebe2(0x23f)]),_0x226523['v']=_0x50f640;}if((_0xd77a1d!=null&&_0xd77a1d['i']||(_0xd77a1d==null?void 0x0:_0xd77a1d['i'])===0x0)&&(_0x226523||(_0x226523={}),_0x226523['fi']=_0xd77a1d['i']),_0xd77a1d!=null&&_0xd77a1d['s']&&(_0x226523||(_0x226523={}),_0x226523[_0x25ebe2(0x25d)]=_0xd77a1d['s']),_0x2c20b9&&(_0x226523||(_0x226523={}),_0x226523['s']=_0x2e867e),_0x5a97bd&&_0x226523!=null&&_0x226523['v']&&_0x226523[_0x25ebe2(0x25d)]!==_0xe4a43f[_0x25ebe2(0x4d0)]['GrandTotal']&&_0x226523[_0x25ebe2(0x25d)]!==_0xe4a43f[_0x25ebe2(0x4d0)][_0x25ebe2(0x472)]){const _0x5ebe2b=String(_0x226523['v']),{dateType:_0xf6b7b}=_0x5a97bd;_0x226523['v']=_0x4573f0(_0xd89395,_0xf6b7b,_0x5ebe2b),_0x226523['t']=_0x118f40[_0x25ebe2(0x36e)][_0x25ebe2(0x23f)];}return _0x226523;},_0x206ee7=(_0x4c64af,_0x2563f0,_0x5188fc,_0x73359c)=>{const _0x534835=_0x3481c0;var _0x4c67dc,_0x520797,_0x54d23d,_0x114866,_0x4b1d59,_0x1ffad4,_0x13cf74,_0x146683,_0xce151e,_0x23d227,_0x33d523,_0x466bb9,_0x4a6d33,_0x38ec8d;const _0x5b0c3e=_0x5188fc['targetCellInfo'],{cornerView:_0x240012,rowView:_0x541a29,colView:_0x329e7f,dataView:_0x43fc34,pageView:_0x19b0fb,formatMap:_0x55f88d,groupInfo:_0x2920e4}=_0x2563f0,{row:_0x4a6f48,col:_0x534a9a}=_0x5b0c3e,_0x242229=new _0x118f40['ObjectMatrix'](),_0x2bcac6={},_0x248767={},_0xc98c6d={},_0x47041f={},_0x1328c3={};let _0x1d1b74=_0x4a6f48,_0x2c8f23=_0x534a9a;Object[_0x534835(0x376)](_0x19b0fb[_0x534835(0x257)])[_0x534835(0x1d7)](_0x4ff5d5=>{const _0x288337=_0x534835;Object[_0x288337(0x376)](_0x19b0fb[_0x288337(0x257)][Number(_0x4ff5d5)])[_0x288337(0x1d7)](_0x1d9b5e=>{const _0x53e98e=_0x288337,_0x43e4b3={..._0x19b0fb[_0x53e98e(0x257)][Number(_0x4ff5d5)][Number(_0x1d9b5e)]};_0x242229[_0x53e98e(0x2e2)](Number(_0x4ff5d5)+_0x1d1b74,Number(_0x1d9b5e)+_0x2c8f23,_0x2149da(_0x4c64af,_0x43e4b3,_0x3e1150[_0x53e98e(0x26c)]));});});const _0x2d06fc=Object['keys'](_0x19b0fb['data'])[_0x534835(0x4a0)];_0x1d1b74+=_0x2d06fc+(_0x2d06fc?_0x22118b:0x0);const _0x295477=_0x240012[_0x534835(0x239)](),_0x7dee63=_0x240012['getColCount']();for(let _0x1be3c2=0x0;_0x1be3c2<_0x295477;_0x1be3c2++)for(let _0x359f10=0x0;_0x359f10<_0x7dee63;_0x359f10++){const _0x73a096={...(_0x520797=(_0x4c67dc=_0x240012[_0x534835(0x257)])==null?void 0x0:_0x4c67dc[_0x1be3c2])==null?void 0x0:_0x520797[_0x359f10]};_0x73a096&&(_0x54d23d=_0x541a29[_0x534835(0x4e0)][_0x359f10])!=null&&_0x54d23d['isValue']&&_0x359f10===_0x7dee63-0x1&&_0x1be3c2===_0x295477-0x1&&(_0x73a096['v']=''+_0x73359c[_0x534835(0x280)]),_0x242229[_0x534835(0x2e2)](_0x1be3c2+_0x1d1b74,_0x359f10+_0x2c8f23,_0x2149da(_0x4c64af,_0x73a096,_0x3e1150[_0x534835(0x43f)]));}for(let _0x13dd53=0x0;_0x13dd53<_0x240012['info'][_0x534835(0x4a0)];_0x13dd53++)_0x240012[_0x534835(0x3ff)][_0x13dd53]&&(_0xc98c6d[''+(_0x13dd53+_0x2c8f23)]=_0x240012['info'][_0x13dd53]);_0x2c8f23+=_0x7dee63;const _0x3fdf42=_0x329e7f[_0x534835(0x4e0)],_0x1fb8fd=_0x329e7f['getLastRow']()>=0x0?_0x329e7f[_0x534835(0x31c)]()+0x1:0x0,_0x50df07=_0x329e7f[_0x534835(0x25e)]()>=0x0?_0x329e7f[_0x534835(0x25e)]()+0x1:0x0;for(let _0x6e9611=0x0;_0x6e9611<_0x50df07;_0x6e9611++){for(let _0x4baa07=0x0;_0x4baa07<_0x1fb8fd;_0x4baa07++){const _0x403789={...(_0x4b1d59=(_0x114866=_0x329e7f[_0x534835(0x257)])==null?void 0x0:_0x114866[_0x4baa07])==null?void 0x0:_0x4b1d59[_0x6e9611]},_0x433a3e=(_0x1ffad4=_0x3fdf42[_0x4baa07])==null?void 0x0:_0x1ffad4[_0x534835(0x40b)],_0x13a6fb=_0x55f88d[_0x433a3e],_0x28b415=_0x2920e4[_0x433a3e];_0x403789&&(_0x403789['v']=_0x5930ec(_0x403789,_0x4baa07===0x0&&((_0x13cf74=_0x329e7f['getHeaderMapItem'](_0x6e9611+0x1))==null?void 0x0:_0x13cf74[_0x534835(0x227)]),_0x13a6fb,_0x73359c));let _0x45b199;_0x13a6fb?_0x45b199={..._0x3e1150[_0x534835(0x28f)],'n':{'pattern':_0x13a6fb}}:_0x45b199={..._0x3e1150[_0x534835(0x28f)]},_0x242229[_0x534835(0x2e2)](_0x4baa07+_0x1d1b74,_0x6e9611+_0x2c8f23,_0x2149da(_0x4c64af,_0x403789,_0x45b199,_0x28b415));}_0x329e7f[_0x534835(0x3ff)][_0x6e9611]&&(_0x248767[''+(_0x6e9611+_0x2c8f23)]=_0x329e7f['info'][_0x6e9611]),_0x329e7f[_0x534835(0x4e0)][_0x6e9611+0x1]&&(_0x1328c3[''+(_0x6e9611+_0x1d1b74+0x1)]=_0x329e7f[_0x534835(0x4e0)][_0x6e9611+0x1]);}_0x1d1b74+=_0x295477;const _0x122638=_0x541a29[_0x534835(0x4e0)],_0x408766=_0x541a29[_0x534835(0x31c)]()>=0x0?_0x541a29[_0x534835(0x31c)]()+0x1:0x0,_0x3c959b=_0x541a29[_0x534835(0x25e)]()>=0x0?_0x541a29[_0x534835(0x25e)]()+0x1:0x0;for(let _0x38aced=0x0;_0x38aced<_0x408766;_0x38aced++){for(let _0x167b12=0x0;_0x167b12<_0x3c959b;_0x167b12++){const _0x4c3379={...(_0xce151e=(_0x146683=_0x541a29[_0x534835(0x257)])==null?void 0x0:_0x146683[_0x38aced])==null?void 0x0:_0xce151e[_0x167b12]},_0x24d95b=(_0x23d227=_0x122638[_0x167b12])==null?void 0x0:_0x23d227[_0x534835(0x40b)],_0xb40db6=_0x55f88d[_0x24d95b],_0x570b59=_0x2920e4[_0x24d95b];_0x4c3379&&(_0x4c3379['v']=_0x5930ec(_0x4c3379,!0x1,_0xb40db6,_0x73359c));let _0x143262;_0x541a29[_0x534835(0x3ff)][_0x38aced]['level']===_0x541a29[_0x534835(0x1f2)]()?_0x143262=_0x3e1150[_0x534835(0x1fa)]:_0x541a29[_0x534835(0x3ff)][_0x38aced][_0x534835(0x1b8)]?_0x143262=_0x541a29[_0x534835(0x3ff)][_0x38aced]['level']===0x0?_0x3e1150[_0x534835(0x435)]:_0x3e1150[_0x534835(0x39e)]:_0x143262=_0x3e1150[_0x534835(0x278)],_0xb40db6&&(_0x143262={..._0x143262,'n':{'pattern':_0xb40db6}}),_0x242229['setValue'](_0x38aced+_0x1d1b74,_0x167b12+_0x534a9a,_0x2149da(_0x4c64af,_0x4c3379,_0x143262,_0x570b59));}_0x541a29[_0x534835(0x3ff)][_0x38aced]&&(_0x2bcac6[''+(_0x38aced+_0x1d1b74)]=_0x541a29['info'][_0x38aced]),_0x541a29[_0x534835(0x4e0)][_0x38aced]&&(_0x47041f[''+(_0x38aced+_0x534a9a)]=_0x541a29['headerMap'][_0x38aced]);}const _0x3be5d0=_0x43fc34[_0x534835(0x239)](),_0x13dff3=_0x43fc34['getColCount']();for(let _0xe7a0e0=0x0;_0xe7a0e0<_0x3be5d0;_0xe7a0e0++)for(let _0x4adb9f=0x0;_0x4adb9f<_0x13dff3;_0x4adb9f++){const _0x2f803e={...(_0x466bb9=(_0x33d523=_0x43fc34[_0x534835(0x257)])==null?void 0x0:_0x33d523[_0xe7a0e0])==null?void 0x0:_0x466bb9[_0x4adb9f]};let _0x329f52;_0x541a29['info'][_0xe7a0e0][_0x534835(0x1b8)]?_0x329f52=_0x541a29[_0x534835(0x3ff)][_0xe7a0e0]['level']===0x0?_0x3e1150['grandTotal']:_0x3e1150[_0x534835(0x39e)]:_0x329f52=_0x3e1150[_0x534835(0x3a2)];const _0x494a74=_0x541a29[_0x534835(0x3ff)][_0xe7a0e0][_0x534835(0x240)],_0x3220c7=_0x329e7f[_0x534835(0x3ff)][_0x4adb9f][_0x534835(0x240)],_0x5d4409=Math[_0x534835(0x49e)](_0x494a74,_0x3220c7),_0x123b37=_0x5188fc['fieldsConfig'][_0x534835(0x277)]['concat']();let _0x2dd523='';_0x5d4409<0x0?_0x2dd523=(_0x4a6d33=_0x123b37[0x0])!=null?_0x4a6d33:'':_0x2dd523=(_0x38ec8d=_0x123b37[_0x5d4409])!=null?_0x38ec8d:'';const _0x4ffeb6=_0x55f88d[_0x2dd523];_0x4ffeb6&&(_0x329f52={..._0x329f52,'n':{'pattern':_0x4ffeb6}}),_0x242229[_0x534835(0x2e2)](_0xe7a0e0+_0x1d1b74,_0x4adb9f+_0x2c8f23,_0x2149da(_0x4c64af,_0x2f803e,_0x329f52));}return{'valueMatrix':_0x242229,'rowInfo':_0x2bcac6,'colInfo':_0x248767,'cornerInfo':_0xc98c6d,'rowHeaderMap':_0x47041f,'colHeaderMap':_0x1328c3};};function _0x5930ec(_0x480b34,_0x4587b0,_0x35d621,_0x503af6){const _0x35ce6f=_0x3481c0;let _0xd780a5=_0x480b34['v'];_0x4587b0&&(_0xd780a5=''+_0x503af6[_0x35ce6f(0x280)]);const _0x4a5d9=_0x480b34['t']&&(_0x480b34['t']&_0xe4a43f[_0x35ce6f(0x4e2)][_0x35ce6f(0x1c4)])>0x0;_0x4a5d9&&(_0xd780a5=''+_0x503af6[_0x35ce6f(0x317)]);const _0xc50ffe=_0x480b34['t']&&(_0x480b34['t']&_0xe4a43f[_0x35ce6f(0x4e2)]['other'])>0x0;if(_0xc50ffe&&(_0xd780a5=''+_0x503af6['sheets-pivot.other']),_0x480b34['s']===_0xe4a43f[_0x35ce6f(0x4d0)][_0x35ce6f(0x472)]){let _0x4f8a53=_0xd780a5,_0x331645='';_0xe4a43f[_0x35ce6f(0x392)](_0xd780a5)&&(_0x4f8a53=_0xd780a5['prefix'],_0x331645=_0xd780a5['value']);const _0x20500f=_0x35d621&&!_0x4a5d9&&!_0xc50ffe?_0x118f40['numfmt'][_0x35ce6f(0x238)](_0x35d621,Number(_0x4f8a53)):_0x4f8a53;_0x331645?_0xd780a5=_0x20500f+'\x20'+_0x331645:_0xd780a5=_0x20500f+'\x20'+_0x503af6[_0x35ce6f(0x4b1)];}else _0x480b34['s']===_0xe4a43f['PivotCellStyleTypeEnum'][_0x35ce6f(0x252)]&&(_0xd780a5=_0xd780a5+'\x20'+_0x503af6[_0x35ce6f(0x1e9)]);return _0xd780a5;}function _0xc3d068(_0x360c19){const _0x332e2b=_0x3481c0;if(_0xe4a43f[_0x332e2b(0x43a)](_0x360c19)){const {errorType:_0x472521}=_0x360c19;switch(_0x472521){case _0xe4a43f[_0x332e2b(0x42f)][_0x332e2b(0x1b9)]:return _0x271ee6['ErrorType'][_0x332e2b(0x328)];case _0xe4a43f['PivotErrorTypeEnum'][_0x332e2b(0x4c3)]:return _0x271ee6[_0x332e2b(0x25a)][_0x332e2b(0x2a3)];case _0xe4a43f[_0x332e2b(0x42f)][_0x332e2b(0x350)]:return _0x271ee6[_0x332e2b(0x25a)][_0x332e2b(0x4de)];case _0xe4a43f[_0x332e2b(0x42f)][_0x332e2b(0x29c)]:return _0x271ee6[_0x332e2b(0x25a)][_0x332e2b(0x4de)];case _0xe4a43f['PivotErrorTypeEnum'][_0x332e2b(0x1be)]:return _0x271ee6[_0x332e2b(0x25a)][_0x332e2b(0x359)];}}return _0x360c19;}function _0x5d19b8(_0x412729,_0x219de1,_0x41c3dd=!0x1,_0x449f6a=!0x1){const _0x4fcb7a=_0x3481c0,{data:_0x4bcff8}=_0x219de1,_0x410a9=_0x219de1[_0x4fcb7a(0x239)](),_0x2c0400=_0x219de1['getColCount']();if(_0x410a9<=0x0||_0x2c0400<=0x0)return[];const _0x20e6ff=_0x219de1[_0x4fcb7a(0x25e)](),_0x4de8e5=_0x219de1[_0x4fcb7a(0x31c)](),_0x5c76ff=_0x449f6a?_0x4de8e5>=0x0?_0x4de8e5+0x1:0x0:_0x410a9,_0x47ea67=_0x449f6a?_0x20e6ff>=0x0?_0x20e6ff+0x1:0x0:_0x2c0400,{row:_0xb4b625,col:_0x3b78c3}=_0x412729,_0x37cca4=_0xb4b625,_0x2c0991=_0x3b78c3;if(_0x41c3dd){const _0x4d767b=[];for(const [_0x5b9c4f,_0x32d668]of Object[_0x4fcb7a(0x29a)](_0x4bcff8))for(const [_0x8d8f33,_0x4607a7]of Object[_0x4fcb7a(0x29a)](_0x32d668))_0x4d767b['push'](_0x118f40[_0x4fcb7a(0x437)](_0x37cca4+Number(_0x5b9c4f),_0x2c0991+Number(_0x8d8f33)));return _0x4d767b;}else{const _0xb6fe6b=_0x449f6a?_0x5c76ff>0x0?0x1:0x0:0x1,_0x1b6178=_0x449f6a?_0x47ea67>0x0?0x1:0x0:0x1,_0x2ace3f=_0xb4b625+_0x5c76ff-_0xb6fe6b,_0x14a85a=_0x3b78c3+_0x47ea67-_0x1b6178;return[{'startRow':_0x37cca4,'startColumn':_0x2c0991,'endRow':_0x2ace3f,'endColumn':_0x14a85a}];}}const _0x42c0f7='SHEET_PIVOT_IN_MAIN_THREAD',_0x4c66f3='SHEET_PIVOT_EXCLUSIVE_ID';var _0x42f106=(_0x4a5cbd=>(_0x4a5cbd[_0x3481c0(0x1dd)]=_0x3481c0(0x221),_0x4a5cbd[_0x3481c0(0x1dc)]=_0x3481c0(0x1f1),_0x4a5cbd[_0x3481c0(0x457)]=_0x3481c0(0x4b0),_0x4a5cbd[_0x3481c0(0x3cd)]=_0x3481c0(0x3cd),_0x4a5cbd['AddPivotTable']=_0x3481c0(0x22b),_0x4a5cbd[_0x3481c0(0x4cd)]=_0x3481c0(0x4b6),_0x4a5cbd[_0x3481c0(0x3f5)]=_0x3481c0(0x26a),_0x4a5cbd[_0x3481c0(0x39d)]=_0x3481c0(0x2f2),_0x4a5cbd[_0x3481c0(0x230)]=_0x3481c0(0x491),_0x4a5cbd[_0x3481c0(0x36a)]='setPivotSort',_0x4a5cbd[_0x3481c0(0x1e2)]=_0x3481c0(0x4b2),_0x4a5cbd[_0x3481c0(0x23d)]=_0x3481c0(0x3e0),_0x4a5cbd[_0x3481c0(0x2ab)]=_0x3481c0(0x1c3),_0x4a5cbd[_0x3481c0(0x281)]=_0x3481c0(0x216),_0x4a5cbd[_0x3481c0(0x419)]=_0x3481c0(0x4dd),_0x4a5cbd[_0x3481c0(0x2ad)]=_0x3481c0(0x2b4),_0x4a5cbd['ResetPivotTable']=_0x3481c0(0x301),_0x4a5cbd))(_0x42f106||{});const _0x52a472={'sheets-pivot.blankValue':_0x3481c0(0x2c1),'sheets-pivot.columnName':_0x3481c0(0x1e1),'sheets-pivot.subTotalText':_0x3481c0(0x473),'sheets-pivot.grandTotalText':_0x3481c0(0x4ab),'sheets-pivot.valueText':_0x3481c0(0x38b),'sheets-pivot.averageName':_0x3481c0(0x399),'sheets-pivot.countName':_0x3481c0(0x385),'sheets-pivot.countNumsName':_0x3481c0(0x385),'sheets-pivot.maxName':_0x3481c0(0x40a),'sheets-pivot.minName':_0x3481c0(0x31d),'sheets-pivot.productName':_0x3481c0(0x223),'sheets-pivot.stdDevName':_0x3481c0(0x3bb),'sheets-pivot.stdDevpName':_0x3481c0(0x2cf),'sheets-pivot.sumName':_0x3481c0(0x4ae),'sheets-pivot.varName':_0x3481c0(0x4c2),'sheets-pivot.varpName':_0x3481c0(0x2f7),'sheets-pivot.subTotal':_0x3481c0(0x472),'sheets-pivot.grandTotal':_0x3481c0(0x4ab),'sheets-pivot.value':_0x3481c0(0x3ea),'sheets-pivot.blank':_0x3481c0(0x1c4),'sheets-pivot.other':_0x3481c0(0x2be),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x3481c0(0x1f3),'sheets-pivot.emptyPivot.column':_0x3481c0(0x387),'sheets-pivot.emptyPivot.values':_0x3481c0(0x289)},_0x235f89={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x20335a=_0x118f40[_0x3481c0(0x45c)](_0x3481c0(0x31f)),_0x69f586=_0x118f40[_0x3481c0(0x248)](_0x3481c0(0x436));var _0x48eb95=(_0x25eb6=>(_0x25eb6[_0x3481c0(0x44f)]=_0x3481c0(0x44f),_0x25eb6[_0x3481c0(0x4bc)]=_0x3481c0(0x4bc),_0x25eb6[_0x3481c0(0x2ea)]=_0x3481c0(0x2ea),_0x25eb6))(_0x48eb95||{}),_0xcddcb7=(_0x155f4d=>(_0x155f4d['Add']=_0x3481c0(0x44f),_0x155f4d['Set']=_0x3481c0(0x375),_0x155f4d[_0x3481c0(0x493)]=_0x3481c0(0x4bc),_0x155f4d))(_0xcddcb7||{});const _0x25c635={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x466),'handler':()=>!0x0},_0x3c5c67={'type':_0x118f40['CommandType'][_0x3481c0(0x2d2)],'id':_0x3481c0(0x324),'handler':()=>!0x0},_0x5c8eca={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x1df),'handler':()=>!0x0},_0x5f0071={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x23291c={'type':_0x118f40[_0x3481c0(0x2a1)]['MUTATION'],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x590464=Object[_0x3481c0(0x1cd)],_0x46093e=(_0x2f7e54,_0x16086f,_0x481497,_0x44fb3d)=>{for(var _0x42d352=_0x44fb3d>0x1?void 0x0:_0x44fb3d?_0x590464(_0x16086f,_0x481497):_0x16086f,_0x491e28=_0x2f7e54['length']-0x1,_0x3b3d24;_0x491e28>=0x0;_0x491e28--)(_0x3b3d24=_0x2f7e54[_0x491e28])&&(_0x42d352=_0x3b3d24(_0x42d352)||_0x42d352);return _0x42d352;},_0x18f975=(_0x407efd,_0x19d97d)=>(_0x36a6f1,_0x5b08c3)=>_0x19d97d(_0x36a6f1,_0x5b08c3,_0x407efd);_0x27a419[_0x3481c0(0x22a)]=class extends _0x118f40['Disposable']{constructor(_0x117fdc){const _0x4571f8=_0x3481c0;super(),_0x18cb5f(this,'_requestResolvers',new Map()),this[_0x4571f8(0x48c)]=_0x117fdc;}['handleAsyncResponse'](_0x38caed){const _0x382a60=_0x3481c0,{version:_0x5f1a95}=_0x38caed,_0x58ce6c=this[_0x382a60(0x294)]['get'](_0x5f1a95);_0x58ce6c&&(_0x58ce6c(_0x38caed),this[_0x382a60(0x294)][_0x382a60(0x4bc)](_0x5f1a95));}[_0x3481c0(0x3a5)](_0x2dde56){return new Promise((_0x45624c,_0x59ce27)=>{const _0x29f3f6=_0x3318,_0x57f3a8=this['_generateUniqueVersion']();this['_requestResolvers'][_0x29f3f6(0x375)](_0x57f3a8,_0x45624c),this[_0x29f3f6(0x48c)][_0x29f3f6(0x22e)](_0x25c635['id'],{'version':_0x57f3a8,..._0x2dde56},{'onlyLocal':!0x0});});}[_0x3481c0(0x2df)](){const _0x61d333=_0x3481c0;return Math[_0x61d333(0x3fd)]()['toString'](0x24)[_0x61d333(0x3c9)](0x2,0x10);}},_0x27a419[_0x3481c0(0x22a)]=_0x46093e([_0x18f975(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3c7)]))],_0x27a419[_0x3481c0(0x22a)]);const _0x40dd89={0x0:'J',0x1:'d',0x2:'E',0x3:'Z',0x4:'S',0x5:'W',0x6:'1',0x7:'V',0x8:'C',0x9:'Q','M':'0','E':'2','x':'3','Z':'4','c':'5','W':'6','g':'7','v':'8','T':'9','n':'a','R':'b','L':'c','Q':'e','V':'f','p':'g','w':'h','a':'i','q':'j','u':'k','t':'l','h':'m','X':'n','z':'o','r':'p','Y':'q','m':'r','N':'s','k':'t','l':'u','O':'v','B':'w','K':'x','D':'y','F':'z','s':'A','U':'B','b':'D','S':'F','f':'G','H':'H','i':'I','G':'K','d':'L','P':'M','y':'N','e':'O','C':'P','A':'R','j':'T','J':'U','o':'X','I':'Y'},_0x27c59a=_0x3481c0(0x2db),_0x3c5929=_0x4db46f=>{const _0x1d5c74=_0x3481c0;var _0x103b2b;return((_0x103b2b=_0x4db46f['body'])==null?void 0x0:_0x103b2b[_0x1d5c74(0x410)][_0x1d5c74(0x38c)](/\r\n$/,''))||'';};class _0x203dd8 extends _0xe4a43f[_0x3481c0(0x4c1)]{constructor(_0x29d9ed,_0x2be7d0){const _0x5e1fe4=_0x3481c0;super(),_0x18cb5f(this,'rangeKeyMap',{}),_0x18cb5f(this,_0x5e1fe4(0x3ba)),_0x18cb5f(this,_0x5e1fe4(0x1ea)),(this[_0x5e1fe4(0x3ba)]=_0x2be7d0,this['_host']=_0x29d9ed);}[_0x3481c0(0x25f)](){const _0x1900ad=_0x3481c0;for(const _0x803acb in this['dataFields']){const _0x1506c2=this['dataFields'][_0x803acb],_0x38ee81=_0x1506c2[_0x1900ad(0x45e)]();this['rangeKeyMap'][_0x38ee81]=_0x1506c2[_0x1900ad(0x371)]();}}['getAutoDisplayNameFunction'](){const _0x22eb77=_0x3481c0,_0x421e5b=this[_0x22eb77(0x1ea)];return _0xab5617[_0x22eb77(0x3a1)](_0x421e5b);}[_0x3481c0(0x471)](_0x3880ee){const _0x3bdfcd=_0x3481c0,_0x5f8dfc=this[_0x3bdfcd(0x3d1)][_0x3880ee][_0x3bdfcd(0x4b4)];delete this[_0x3bdfcd(0x3d1)][_0x3880ee],delete this[_0x3bdfcd(0x40f)][_0x5f8dfc];}[_0x3481c0(0x49f)](_0x3bc652){const _0x48a660=_0x3481c0;this[_0x48a660(0x3d1)][_0x3bc652['getId']()]=_0x3bc652;}[_0x3481c0(0x420)](_0x2154b2){const _0x5d1fca=_0x3481c0;var _0x10427e,_0x3bd6b4;const _0x41ca08=this[_0x5d1fca(0x1ea)]['getTargetByPivotId'](_0x2154b2);if(_0x41ca08){const {unitId:_0x3e9b5c,subUnitId:_0x449b39}=_0x41ca08,_0x37bffa=(_0x10427e=this[_0x5d1fca(0x1ea)][_0x5d1fca(0x418)](_0x3e9b5c,_0x449b39,_0x2154b2))==null?void 0x0:_0x10427e[_0x5d1fca(0x449)];this[_0x5d1fca(0x1ea)][_0x5d1fca(0x1f4)]({'token':_0x2154b2,'type':_0x48eb95[_0x5d1fca(0x4bc)],'dataRangeInfo':_0x37bffa});}(_0x3bd6b4=this[_0x5d1fca(0x477)](_0x2154b2))==null||_0x3bd6b4[_0x5d1fca(0x23b)](),delete this[_0x5d1fca(0x32d)][_0x2154b2];}['getRangeKey'](_0x62e069,_0x1ea2ab){const _0x24a0bf=_0x3481c0,{sheetName:_0x3549fb,unitId:_0xffee23,range:_0xdd0fe8}=_0x62e069,{startRow:_0x3786b9,endRow:_0x1e7172}=_0xdd0fe8;return _0x271ee6[_0x24a0bf(0x262)](_0xffee23,_0x3549fb,{'startRow':_0x3786b9,'endRow':_0x1e7172,'startColumn':_0x1ea2ab,'endColumn':_0x1ea2ab});}[_0x3481c0(0x334)](_0x3fab11){const _0x43d4cc=_0x3481c0;return this[_0x43d4cc(0x3d1)][this[_0x43d4cc(0x40f)][_0x3fab11]];}[_0x3481c0(0x379)](_0x32d314,_0x18d3d2){const _0x261f5d=_0x3481c0;this[_0x261f5d(0x40f)][_0x32d314]=_0x18d3d2;}['updateRangeKeyMap'](_0x580a6d,_0x437e32){const _0x3bc2ec=_0x3481c0;this[_0x3bc2ec(0x40f)][_0x437e32]=this[_0x3bc2ec(0x40f)][_0x580a6d],delete this[_0x3bc2ec(0x40f)][_0x580a6d];}[_0x3481c0(0x341)](_0x4598da,_0x180a48,_0x5a56cc,_0x560914){const _0xdc3912=_0x3481c0,_0x3288de=new _0xe4a43f[(_0xdc3912(0x267))](this);_0x3288de[_0xdc3912(0x37a)](_0x180a48);const _0x161409=[];let _0x4ae0db=0x0;for(const _0x5b3a8d of _0x3288de[_0xdc3912(0x482)]){const _0x45279b=this[_0xdc3912(0x45e)](_0x5a56cc,_0x4ae0db),_0x1bf7b3=this[_0xdc3912(0x3d1)][_0x5b3a8d];_0x1bf7b3&&(_0x1bf7b3['rangeKey']=_0x45279b,this[_0xdc3912(0x379)](_0x45279b,_0x5b3a8d),_0x161409[_0xdc3912(0x21b)]({'index':_0x4ae0db,'dataField':_0x1bf7b3})),_0x4ae0db++;}return this[_0xdc3912(0x4b8)](_0x4598da,_0x3288de,_0x5a56cc,_0x560914),{'collection':_0x3288de,'updateDataFieldList':_0x161409};}[_0x3481c0(0x26d)](_0x115f28,_0x3d103b){const _0x345c4f=_0x3481c0;return _0x115f28['rangeType']===_0x118f40[_0x345c4f(0x332)][_0x345c4f(0x2bb)]?{'startRow':0x0,'startColumn':_0x115f28[_0x345c4f(0x1d8)],'endRow':_0x3d103b[_0x345c4f(0x239)]()-0x1,'endColumn':_0x115f28[_0x345c4f(0x202)]}:{'startRow':_0x115f28[_0x345c4f(0x321)],'startColumn':_0x115f28[_0x345c4f(0x1d8)],'endRow':_0x115f28[_0x345c4f(0x403)],'endColumn':_0x115f28['endColumn']};}[_0x3481c0(0x35b)](_0x501d3c){const _0x56602a=_0x3481c0,{sheetName:_0xc19d69,range:_0x282043}=_0x501d3c,_0x456422=this[_0x56602a(0x3ba)][_0x56602a(0x2ce)](_0x118f40['UniverInstanceType']['UNIVER_SHEET']),_0x24ac86=_0x456422[_0x56602a(0x374)](_0xc19d69),_0x187d22=_0x24ac86[_0x56602a(0x2eb)](),{startColumn:_0x9a4f32,startRow:_0x1afeda,endColumn:_0x4512ba}=this[_0x56602a(0x26d)](_0x282043,_0x24ac86),_0x9d199d=_0x456422[_0x56602a(0x1ce)](),_0xe62f69=new _0xe4a43f[(_0x56602a(0x267))](this);_0xe62f69[_0x56602a(0x2c2)](_0x501d3c);const _0x3124b9=[],_0x17c845={};for(let _0x30b44b=_0x9a4f32;_0x30b44b<=_0x4512ba;_0x30b44b++){const _0x2913b2=_0x187d22[_0x56602a(0x3e1)](_0x1afeda,_0x30b44b),_0x42dd90=this['getRangeKey'](_0x501d3c,_0x30b44b),_0x12bf2b=this[_0x56602a(0x334)](_0x42dd90);if(_0x12bf2b)_0xe62f69[_0x56602a(0x3fb)](_0x12bf2b[_0x56602a(0x371)](),_0x12bf2b[_0x56602a(0x438)]());else{const _0x46804d=this['createDataFieldId']();let _0xf8722d=this[_0x56602a(0x228)](_0x2913b2,_0x9d199d,_0x17c845);_0xe4a43f[_0x56602a(0x2cd)](_0xf8722d)&&(_0xf8722d=_0x118f40[_0x56602a(0x4af)]['format'](_0xf8722d['f'],Number(_0xf8722d['v'])));const _0x56d925=this[_0x56602a(0x304)](_0xf8722d,_0x30b44b),_0x15abfa=new _0xe4a43f[(_0x56602a(0x443))](_0x46804d,_0x56d925,_0xe4a43f[_0x56602a(0x3b6)](0x3));_0x15abfa[_0x56602a(0x4b4)]=_0x42dd90,this[_0x56602a(0x3d1)][_0x46804d]=_0x15abfa,_0xe62f69[_0x56602a(0x3fb)](_0x46804d,_0x56d925),_0x3124b9['push']({'index':_0x30b44b,'dataField':_0x15abfa});}}return{'updateDataFieldList':_0x3124b9,'collection':_0xe62f69};}[_0x3481c0(0x2fb)](_0x36e3ea){const _0x2329a7=_0x3481c0;return this[_0x2329a7(0x1ea)]['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x118f40['numberToABC'](_0x36e3ea);}['uniqueDataFieldName'](_0x4c6be9,_0x222bc9){const _0x2cb061=_0x3481c0;return _0x4c6be9==null||_0x4c6be9===''?this[_0x2cb061(0x2fb)](_0x222bc9):String(_0x4c6be9);}[_0x3481c0(0x477)](_0x219fe4){const _0xbbfcc=_0x3481c0;return this[_0xbbfcc(0x32d)][_0x219fe4];}[_0x3481c0(0x4b8)](_0x4e47d7,_0x388e34,_0x34f2f1,_0xfc05df){const _0x372cd0=_0x3481c0;this[_0x372cd0(0x32d)][_0x4e47d7]=_0x388e34,_0x388e34[_0x372cd0(0x2c2)](_0x34f2f1),this[_0x372cd0(0x1ea)]['broadcastCollectionChange']({'token':_0x4e47d7,'type':_0x48eb95['add'],'dataRangeInfo':_0x34f2f1,'targetCellInfo':_0xfc05df});}[_0x3481c0(0x1e3)](_0xe2ef39,_0x354fed){const _0x52c483=_0x3481c0,_0x2956c2=this[_0x52c483(0x477)](_0xe2ef39),_0x41a892=_0x2956c2[_0x52c483(0x28b)]();let _0x410fe8=0x0;for(const _0xccb1f9 of _0x41a892){const _0x408557=_0x2956c2[_0x52c483(0x3ce)](_0xccb1f9),_0x377ff8=this[_0x52c483(0x45e)](_0x354fed,_0x410fe8);this[_0x52c483(0x30d)](_0x408557['rangeKey'],_0x377ff8),_0x410fe8++;}}[_0x3481c0(0x30f)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x3481c0(0x4c8)](_0x389f25,_0x2ade0e){const _0x55577e=_0x3481c0;if(this[_0x55577e(0x477)](_0x389f25)){const _0x28d0d6=this['getRangeKeyList'](_0x2ade0e),_0x1b0f58=[];for(const _0x161a97 of _0x28d0d6)this[_0x55577e(0x40f)][_0x161a97]!==void 0x0&&_0x1b0f58['push'](this[_0x55577e(0x40f)][_0x161a97]);const _0x195d96=this[_0x55577e(0x266)](_0x389f25),_0x30c47b=[],_0x342966=new Set(_0x1b0f58);for(const _0x210a90 of _0x195d96)_0x342966[_0x55577e(0x1bb)](_0x210a90)||_0x30c47b[_0x55577e(0x21b)](_0x210a90);return _0x30c47b;}}[_0x3481c0(0x370)](_0x1711e5,_0x41f4d5,_0x381069,_0x587361,_0x12bafd){const _0x501d39=_0x3481c0;return _0x41f4d5&&_0x41f4d5['getValue'](_0x587361,_0x12bafd)?_0x41f4d5[_0x501d39(0x3e1)](_0x587361,_0x12bafd):_0x381069&&_0x381069['getValue'](_0x587361,_0x12bafd)?_0x381069['getValue'](_0x587361,_0x12bafd):_0x1711e5[_0x501d39(0x3e1)](_0x587361,_0x12bafd);}[_0x3481c0(0x4c0)](_0xdf35c,_0xb149b7,_0x495d71,_0x1f307a){const _0xd5e39e=_0x3481c0,_0x2e8455=this[_0xd5e39e(0x3d1)][_0xdf35c];if(!_0x2e8455)return;const {subUnitId:_0x229c39,range:_0x2da9a1,unitId:_0x1df73f}=_0xb149b7,_0x347054=this[_0xd5e39e(0x3ba)]['getUnit'](_0x1df73f);if(!_0x347054){console[_0xd5e39e(0x1fb)](_0xd5e39e(0x314));return;}const _0xeeedb5=_0x347054[_0xd5e39e(0x2b0)](_0x229c39),_0x4809f9=_0xeeedb5['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x51ac5c,unitDataMatrix:_0x20250c}=_0x1f307a||{},{startRow:_0x141d4c,startColumn:_0x27c58c,endRow:_0x10b9ce}=this[_0xd5e39e(0x26d)](_0x2da9a1,_0xeeedb5);_0x2e8455[_0xd5e39e(0x356)]();const _0x59163b=_0x347054[_0xd5e39e(0x1ce)](),_0x35ebf4={},_0x444145=this[_0xd5e39e(0x370)](_0x4809f9,_0x51ac5c,_0x20250c,_0x141d4c,_0x27c58c+_0x495d71);let _0x39ba57=this['adjustSheetCellData'](_0x444145,_0x59163b,_0x35ebf4);_0xe4a43f['isDateValue'](_0x39ba57)&&(_0x39ba57=_0x118f40[_0xd5e39e(0x4af)][_0xd5e39e(0x238)](_0x39ba57['f'],Number(_0x39ba57['v'])));const _0x1d7db6=this[_0xd5e39e(0x304)](_0x39ba57,_0x27c58c+_0x495d71);_0x2e8455[_0xd5e39e(0x404)](_0x1d7db6);for(let _0x4ea740=_0x141d4c+0x1;_0x4ea740<=_0x10b9ce;_0x4ea740++){const _0x2e3f61=this[_0xd5e39e(0x370)](_0x4809f9,_0x51ac5c,_0x20250c,_0x4ea740,_0x27c58c+_0x495d71);_0x2e8455[_0xd5e39e(0x2ef)](this[_0xd5e39e(0x228)](_0x2e3f61,_0x59163b,_0x35ebf4),_0x4ea740-0x1-_0x141d4c);}}[_0x3481c0(0x3c5)](_0x2acfa0,_0x92d82e,_0x1cb7de){const _0x18a635=_0x3481c0,{subUnitId:_0x5a352a,range:_0x47871d,unitId:_0x1c7cfd}=_0x1cb7de,_0x3b81e6=this['_univerInstanceService'][_0x18a635(0x269)](_0x1c7cfd);if(!_0x3b81e6){console['error']('workbook\x20is\x20not\x20found');return;}const _0x4da187=_0x3b81e6[_0x18a635(0x2b0)](_0x5a352a),_0x29853c=_0x4da187['getCellMatrix'](),{startRow:_0x3b1a56,startColumn:_0x5894cd,endRow:_0x39f64d}=this[_0x18a635(0x26d)](_0x47871d,_0x4da187),_0x9bf491=_0x3b81e6['getStyles'](),_0x158904={};for(const {dataField:_0x220b66,index:_0x572382}of _0x92d82e){_0x220b66['reset']();const _0x1bea0e=this[_0x18a635(0x370)](_0x29853c,void 0x0,void 0x0,_0x3b1a56,_0x5894cd+_0x572382);let _0x89f223=this[_0x18a635(0x228)](_0x1bea0e,_0x9bf491,_0x158904);_0xe4a43f['isDateValue'](_0x89f223)&&(_0x89f223=_0x118f40[_0x18a635(0x4af)][_0x18a635(0x238)](_0x89f223['f'],Number(_0x89f223['v'])));const _0x2c81c3=this[_0x18a635(0x304)](_0x89f223,_0x5894cd+_0x572382);_0x220b66[_0x18a635(0x404)](_0x2c81c3);}_0x2acfa0[_0x18a635(0x335)]();for(let _0x5135bc=_0x3b1a56+0x1;_0x5135bc<=_0x39f64d;_0x5135bc++)for(const {index:_0x4fa740,dataField:_0x14b699}of _0x92d82e){const _0x2db466=_0x29853c['getValue'](_0x5135bc,_0x5894cd+_0x4fa740);_0x14b699[_0x18a635(0x2ef)](this['adjustSheetCellData'](_0x2db466,_0x9bf491,_0x158904),_0x5135bc-0x1-_0x3b1a56);}_0x2acfa0[_0x18a635(0x213)](_0x39f64d-_0x3b1a56);}[_0x3481c0(0x393)](_0x41b28e){const _0x30db1f=_0x3481c0,{range:_0x2cc40d}=_0x41b28e,{startColumn:_0x20023b,endColumn:_0x28c56d}=_0x2cc40d,_0x28aa61=[];for(let _0x15703f=_0x20023b;_0x15703f<=_0x28c56d;_0x15703f++)_0x28aa61[_0x30db1f(0x21b)](this[_0x30db1f(0x45e)](_0x41b28e,_0x15703f));return _0x28aa61;}['adjustSheetCellData'](_0x319277,_0x541648,_0xea4cca){const _0x32c1de=_0x3481c0;if(_0x319277){const {s:_0x378054,v:_0x45a8d4,t:_0x45a7eb,p:_0x13c110}=_0x319277;if(_0x13c110)return _0x3c5929(_0x13c110);const _0x1bc5e2=_0x541648[_0x32c1de(0x232)](_0x378054);if(_0x1bc5e2&&_0x45a7eb===_0x118f40['CellValueType']['NUMBER']&&_0x1bc5e2['n']){const {pattern:_0x4d5a46}=_0x1bc5e2['n'];_0xea4cca[_0x4d5a46]||(_0xea4cca[_0x4d5a46]=_0x118f40['numfmt'][_0x32c1de(0x4c7)](_0x4d5a46));const _0x3ffb6b=_0xea4cca[_0x4d5a46],_0x35d6b1=_0x3ffb6b[_0x32c1de(0x292)];if(_0x3ffb6b[_0x32c1de(0x487)])return String(_0x45a8d4);if(_0x35d6b1)return{'v':_0x45a8d4,'f':_0x4d5a46};}if(_0x45a7eb===_0x118f40['CellValueType'][_0x32c1de(0x469)])return Number(_0x45a8d4);if(_0x45a7eb===_0x118f40[_0x32c1de(0x36e)][_0x32c1de(0x23f)]||_0x45a7eb===_0x118f40[_0x32c1de(0x36e)][_0x32c1de(0x273)])return String(_0x45a8d4);if(_0x45a7eb===void 0x0){const _0x502568=Number(_0x45a8d4);if(!Number[_0x32c1de(0x308)](_0x502568)&&String(_0x502568)===_0x45a8d4)return _0x502568;}return _0x45a8d4!=null?_0x45a8d4:null;}else return null;}['getRangeData'](_0x492a64){const _0x54a722=_0x3481c0,{sheetName:_0x4d6c84,range:_0x3a7406,unitId:_0x269919}=_0x492a64,_0x10bbda=this[_0x54a722(0x3ba)][_0x54a722(0x269)](_0x269919);if(!_0x10bbda)return console[_0x54a722(0x1fb)](_0x54a722(0x314)),{'header':[],'data':[]};const _0x26a132=_0x10bbda[_0x54a722(0x374)](_0x4d6c84),_0x455bc7=_0x26a132[_0x54a722(0x2eb)](),{startRow:_0xa6d9bc,startColumn:_0x3132c1,endRow:_0x5d0d40,endColumn:_0x3ca3ac}=this[_0x54a722(0x26d)](_0x3a7406,_0x26a132),_0xe27a9e=_0x10bbda[_0x54a722(0x1ce)](),_0x3dfaa0=[],_0x55c9f2=[],_0x2ff129={};for(let _0x387f2a=_0xa6d9bc;_0x387f2a<=_0x5d0d40;_0x387f2a++){const _0x4362ed=[];for(let _0x2e46ef=_0x3132c1;_0x2e46ef<=_0x3ca3ac;_0x2e46ef++){const _0x47545b=_0x455bc7[_0x54a722(0x3e1)](_0x387f2a,_0x2e46ef);_0x387f2a===_0xa6d9bc?_0x3dfaa0[_0x54a722(0x21b)](_0x47545b==null?null:String(_0x47545b['v'])):_0x4362ed[_0x54a722(0x21b)](this[_0x54a722(0x228)](_0x47545b,_0xe27a9e,_0x2ff129));}_0x55c9f2[_0x54a722(0x21b)](_0x4362ed);}return{'header':_0x3dfaa0,'data':_0x55c9f2};}[_0x3481c0(0x2d5)](){return super['toJSON']();}[_0x3481c0(0x37a)](_0x4fe9f0){const _0x71105c=_0x3481c0;super[_0x71105c(0x37a)](_0x4fe9f0),this[_0x71105c(0x25f)]();}[_0x3481c0(0x23b)](){const _0x110f6f=_0x3481c0;super[_0x110f6f(0x23b)](),this[_0x110f6f(0x40f)]={},this[_0x110f6f(0x1ea)]=null;}}const _0x464739=_0x1d6820=>{const _0x591991=_0x3481c0,{targetCellInfo:_0x26b62d}=_0x1d6820,{matrixCache:_0x1a1a33,rangesCache:_0x18aa53}=_0x5f4d3f({'filter':'Filter','row':'Row','column':'Column','values':'Values'},_0x26b62d),_0x52824f=new _0x118f40[(_0x591991(0x34d))]();return _0x1a1a33[_0x591991(0x4e1)]((_0x5a164c,_0x37b144,_0x5e21b4)=>{const _0x548663=_0x591991;_0x52824f[_0x548663(0x2e2)](_0x5a164c,_0x37b144,_0x5e21b4);}),{'matrix':_0x52824f,'rangesCache':_0x18aa53};},_0x2a261c=_0xf13239=>{const _0x20a426=_0x3481c0;let _0x31dbb3;if(_0xf13239!=null&&_0xf13239['v']||(_0xf13239==null?void 0x0:_0xf13239['v'])===0x0){_0x31dbb3||(_0x31dbb3={});const _0x20a6e9=_0xc3d068(_0xf13239['v']);typeof _0x20a6e9==_0x20a426(0x276)?_0x31dbb3['t']=_0x118f40['CellValueType'][_0x20a426(0x469)]:typeof _0x20a6e9==_0x20a426(0x282)&&(_0x31dbb3['t']=_0x118f40[_0x20a426(0x36e)][_0x20a426(0x23f)]),_0x31dbb3['v']=_0x20a6e9;}return _0x31dbb3;},_0xcc0d62=(_0x253929,_0x186503,_0x284817)=>{const _0x219c4a=_0x3481c0;var _0x59dd89,_0x2a3208,_0xbd84d9,_0x1882e3,_0x3934f7,_0x4fb196,_0x1e2e54,_0x286911,_0x4a8ddc,_0x496224,_0x336a55,_0x1be179;const {cornerView:_0x395775,rowView:_0x825374,colView:_0x4b928c,dataView:_0x400a50,pageView:_0x3d03a7,formatMap:_0x12b6f5}=_0x253929,{row:_0x577650,col:_0x46bc59}=_0x186503,_0x21f94a=new _0x118f40[(_0x219c4a(0x34d))]();let _0x2b16ef=_0x577650,_0x280f0d=_0x46bc59;Object[_0x219c4a(0x376)](_0x3d03a7[_0x219c4a(0x257)])['forEach'](_0x8aa5c4=>{const _0x4376a6=_0x219c4a;Object[_0x4376a6(0x376)](_0x3d03a7['data'][Number(_0x8aa5c4)])[_0x4376a6(0x1d7)](_0x36bdca=>{const _0x245de4=_0x4376a6,_0x2154ee={..._0x3d03a7['data'][Number(_0x8aa5c4)][Number(_0x36bdca)]};_0x21f94a[_0x245de4(0x2e2)](Number(_0x8aa5c4)+_0x2b16ef,Number(_0x36bdca)+_0x280f0d,_0x2a261c(_0x2154ee));});});const _0x4775bb=Object[_0x219c4a(0x376)](_0x3d03a7['data'])[_0x219c4a(0x4a0)];_0x2b16ef+=_0x4775bb+(_0x4775bb?_0x22118b:0x0);const _0x3b8a11=_0x395775[_0x219c4a(0x239)](),_0x4d6f19=_0x395775[_0x219c4a(0x1f2)]();for(let _0x2a0c3c=0x0;_0x2a0c3c<_0x3b8a11;_0x2a0c3c++)for(let _0x574b6d=0x0;_0x574b6d<_0x4d6f19;_0x574b6d++){const _0x5970d6={...(_0x2a3208=(_0x59dd89=_0x395775[_0x219c4a(0x257)])==null?void 0x0:_0x59dd89[_0x2a0c3c])==null?void 0x0:_0x2a3208[_0x574b6d]};_0x5970d6&&(_0xbd84d9=_0x825374[_0x219c4a(0x4e0)][_0x574b6d])!=null&&_0xbd84d9[_0x219c4a(0x227)]&&_0x574b6d===_0x4d6f19-0x1&&_0x2a0c3c===_0x3b8a11-0x1&&(_0x5970d6['v']=''+_0x284817[_0x219c4a(0x280)]),_0x21f94a[_0x219c4a(0x2e2)](_0x2a0c3c+_0x2b16ef,_0x574b6d+_0x280f0d,_0x2a261c(_0x5970d6));}_0x280f0d+=_0x4d6f19;const _0x9243b0=_0x4b928c['headerMap'],_0x3f5ae0=_0x4b928c['getLastRow']()>=0x0?_0x4b928c[_0x219c4a(0x31c)]()+0x1:0x0,_0x46ceff=_0x4b928c[_0x219c4a(0x25e)]()>=0x0?_0x4b928c[_0x219c4a(0x25e)]()+0x1:0x0;for(let _0x51f6b8=0x0;_0x51f6b8<_0x46ceff;_0x51f6b8++)for(let _0x4933d3=0x0;_0x4933d3<_0x3f5ae0;_0x4933d3++){const _0x4a0ab6={...(_0x3934f7=(_0x1882e3=_0x4b928c[_0x219c4a(0x257)])==null?void 0x0:_0x1882e3[_0x51f6b8])==null?void 0x0:_0x3934f7[_0x4933d3]},_0x453cc5=(_0x4fb196=_0x9243b0[_0x51f6b8])==null?void 0x0:_0x4fb196[_0x219c4a(0x40b)],_0x239da7=_0x12b6f5[_0x453cc5];_0x4a0ab6&&(_0x4a0ab6['v']=_0x5930ec(_0x4a0ab6,_0x51f6b8===0x0&&((_0x1e2e54=_0x4b928c['getHeaderMapItem'](_0x4933d3+0x1))==null?void 0x0:_0x1e2e54[_0x219c4a(0x227)]),_0x239da7,_0x284817)),_0x21f94a[_0x219c4a(0x2e2)](_0x51f6b8+_0x2b16ef,_0x4933d3+_0x280f0d,_0x2a261c(_0x4a0ab6));}_0x2b16ef+=_0x3b8a11;const _0x43df75=_0x825374[_0x219c4a(0x4e0)],_0x7d8936=_0x825374[_0x219c4a(0x31c)]()>=0x0?_0x825374[_0x219c4a(0x31c)]()+0x1:0x0,_0x189db0=_0x825374[_0x219c4a(0x25e)]()>=0x0?_0x825374[_0x219c4a(0x25e)]()+0x1:0x0;for(let _0x42a0c3=0x0;_0x42a0c3<_0x7d8936;_0x42a0c3++)for(let _0x4b45da=0x0;_0x4b45da<_0x189db0;_0x4b45da++){const _0x28754a={...(_0x4a8ddc=(_0x286911=_0x825374['data'])==null?void 0x0:_0x286911[_0x42a0c3])==null?void 0x0:_0x4a8ddc[_0x4b45da]},_0x43f6f7=(_0x496224=_0x43df75[_0x4b45da])==null?void 0x0:_0x496224[_0x219c4a(0x40b)],_0x2c8137=_0x12b6f5[_0x43f6f7];_0x28754a&&(_0x28754a['v']=_0x5930ec(_0x28754a,!0x1,_0x2c8137,_0x284817)),_0x21f94a[_0x219c4a(0x2e2)](_0x42a0c3+_0x2b16ef,_0x4b45da+_0x46bc59,_0x2a261c(_0x28754a));}const _0x5ce5ff=_0x400a50[_0x219c4a(0x239)](),_0x3c7c0a=_0x400a50[_0x219c4a(0x1f2)]();for(let _0x1d67bb=0x0;_0x1d67bb<_0x5ce5ff;_0x1d67bb++)for(let _0x53c4b0=0x0;_0x53c4b0<_0x3c7c0a;_0x53c4b0++){const _0x3846aa={...(_0x1be179=(_0x336a55=_0x400a50[_0x219c4a(0x257)])==null?void 0x0:_0x336a55[_0x1d67bb])==null?void 0x0:_0x1be179[_0x53c4b0]};_0x21f94a[_0x219c4a(0x2e2)](_0x1d67bb+_0x2b16ef,_0x53c4b0+_0x280f0d,_0x2a261c(_0x3846aa));}return _0x21f94a;},_0x57f833=_0x23130f=>{const _0x57f52e=_0x3481c0,{view:_0x5e12c9,targetCellInfo:_0x14f9b7,isEmpty:_0x73e137,textInfo:_0x51861a}=_0x23130f;if(_0x73e137)return _0x464739(_0x23130f);const {pageView:_0x2bd1ea,cornerView:_0x507922,rowView:_0x25d00a,colView:_0x49df73,dataView:_0x300509}=_0x5e12c9,_0x3a46a9=_0x5d19b8(_0x14f9b7,_0x2bd1ea,!0x0),_0x3b0c44=_0x2bd1ea[_0x57f52e(0x4a5)]>=0x0?_0x2bd1ea['lastRow']+0x1:0x0,_0x6a651=_0x507922[_0x57f52e(0x239)](),_0x2695ec=_0x507922[_0x57f52e(0x1f2)](),_0x93b957=_0x3a46a9[_0x57f52e(0x4a0)]>0x0?_0x22118b:0x0,_0x4875d6=_0x5d19b8({'row':_0x14f9b7[_0x57f52e(0x1da)]+_0x3b0c44+_0x93b957,'col':_0x14f9b7[_0x57f52e(0x34c)]},_0x507922,!0x1,!0x1),_0x35312a=_0x5d19b8({'row':_0x14f9b7[_0x57f52e(0x1da)]+_0x3b0c44+_0x93b957+_0x6a651,'col':_0x14f9b7[_0x57f52e(0x34c)]},_0x25d00a,!0x1,!0x0),_0x5b2448=_0x5d19b8({'row':_0x14f9b7['row']+_0x3b0c44+_0x93b957,'col':_0x14f9b7[_0x57f52e(0x34c)]+_0x2695ec},_0x49df73,!0x1,!0x0),_0x200155=_0x5d19b8({'row':_0x14f9b7[_0x57f52e(0x1da)]+_0x3b0c44+_0x93b957+_0x6a651,'col':_0x14f9b7[_0x57f52e(0x34c)]+_0x2695ec},_0x300509,!0x1,!0x1),_0x18d2be={'rowRanges':_0x35312a,'colRanges':_0x5b2448,'cornerRanges':_0x4875d6,'dataRanges':_0x200155,'pageRanges':_0x3a46a9};return{'matrix':_0xcc0d62(_0x5e12c9,_0x14f9b7,_0x51861a),'rangesCache':_0x18d2be};};var _0x188ee6=Object[_0x3481c0(0x1cd)],_0x2087a4=(_0x1ca1bc,_0x18c2e5,_0x5f3375,_0x2764e6)=>{const _0x13dfa0=_0x3481c0;for(var _0x2e9021=_0x2764e6>0x1?void 0x0:_0x2764e6?_0x188ee6(_0x18c2e5,_0x5f3375):_0x18c2e5,_0x4e4bfe=_0x1ca1bc[_0x13dfa0(0x4a0)]-0x1,_0x163f37;_0x4e4bfe>=0x0;_0x4e4bfe--)(_0x163f37=_0x1ca1bc[_0x4e4bfe])&&(_0x2e9021=_0x163f37(_0x2e9021)||_0x2e9021);return _0x2e9021;},_0x2287cf=(_0x5e7608,_0x5af50f)=>(_0xac6e0f,_0x352433)=>_0x5af50f(_0xac6e0f,_0x352433,_0x5e7608);_0x27a419[_0x3481c0(0x2ec)]=class extends _0x118f40[_0x3481c0(0x499)]{constructor(_0x5142e0,_0x38f272,_0x412b0e,_0x1dc835,_0x2cbc60){const _0x535997=_0x3481c0;super(),_0x18cb5f(this,_0x535997(0x36f),new Map()),_0x18cb5f(this,'_pivotTableInstanceCache',new Map()),_0x18cb5f(this,_0x535997(0x42b),new Map()),_0x18cb5f(this,'_textInfo'),_0x18cb5f(this,_0x535997(0x1ff),new _0x19259a[(_0x535997(0x1bc))]()),_0x18cb5f(this,_0x535997(0x30a),this[_0x535997(0x1ff)][_0x535997(0x433)]()),_0x18cb5f(this,_0x535997(0x3bc),new _0x19259a[(_0x535997(0x1bc))]()),_0x18cb5f(this,_0x535997(0x312),this[_0x535997(0x3bc)][_0x535997(0x433)]()),_0x18cb5f(this,_0x535997(0x446),new _0x19259a[(_0x535997(0x1bc))]()),_0x18cb5f(this,_0x535997(0x23e),this[_0x535997(0x446)][_0x535997(0x433)]()),_0x18cb5f(this,_0x535997(0x3eb),new Map()),_0x18cb5f(this,_0x535997(0x272),[]),_0x18cb5f(this,_0x535997(0x1d4),new Map()),(this[_0x535997(0x474)]=_0x5142e0,this[_0x535997(0x3ba)]=_0x38f272,this[_0x535997(0x204)]=_0x412b0e,this[_0x535997(0x48c)]=_0x1dc835,this[_0x535997(0x21d)]=_0x2cbc60,this[_0x535997(0x200)]());}[_0x3481c0(0x1c0)](){const _0x58a4ea=_0x3481c0;return this['_textInfo']?this[_0x58a4ea(0x3c3)]:_0x52a472;}[_0x3481c0(0x319)](_0x59059c){const _0x6e9787=_0x3481c0;this[_0x6e9787(0x3c3)]=_0x59059c;}[_0x3481c0(0x1e3)](_0xb614b0){const _0x51de14=_0x3481c0;var _0x294536;const {from:_0x442e4f,to:_0x34639b,unitId:_0x483206,fromRange:_0x460a5e,toRange:_0x136251}=_0xb614b0;if(_0x442e4f&&_0x34639b){const _0x476652=this[_0x51de14(0x3c0)](_0x483206),_0x3b160f=this[_0x51de14(0x36f)][_0x51de14(0x232)](_0x483206),_0x620270=(_0x294536=this[_0x51de14(0x3ba)][_0x51de14(0x269)](_0x483206))==null?void 0x0:_0x294536['getSheetBySheetId'](_0x34639b[_0x51de14(0x233)]);if(!_0x3b160f||!_0x620270)return;const _0x56b8a6=_0x620270==null?void 0x0:_0x620270[_0x51de14(0x438)]();for(const [_0x1a699e,_0x466ef7]of _0x3b160f['entries']())for(const [_0x4d6410,_0x414420]of _0x466ef7[_0x51de14(0x29a)]()){const {sourceRangeInfo:_0x7de2f6}=_0x414420;if(_0x7de2f6[_0x51de14(0x224)]===_0x483206&&_0x7de2f6[_0x51de14(0x233)]===_0x442e4f['subUnitId']&&_0x118f40[_0x51de14(0x4ad)][_0x51de14(0x368)](_0x460a5e,_0x7de2f6[_0x51de14(0x29e)])){const _0x1dd887={'row':_0x7de2f6[_0x51de14(0x29e)][_0x51de14(0x321)]-_0x460a5e[_0x51de14(0x321)],'col':_0x7de2f6[_0x51de14(0x29e)][_0x51de14(0x1d8)]-_0x460a5e[_0x51de14(0x1d8)]},_0x259916={'unitId':_0x483206,'subUnitId':_0x34639b[_0x51de14(0x233)],'sheetName':_0x56b8a6,'range':{'startRow':_0x136251[_0x51de14(0x321)]+_0x1dd887['row'],'endRow':_0x136251[_0x51de14(0x321)]+_0x1dd887[_0x51de14(0x1da)]+_0x7de2f6['range'][_0x51de14(0x403)]-_0x7de2f6['range'][_0x51de14(0x321)],'startColumn':_0x136251['startColumn']+_0x1dd887[_0x51de14(0x34c)],'endColumn':_0x136251['startColumn']+_0x1dd887[_0x51de14(0x34c)]+_0x7de2f6[_0x51de14(0x29e)]['endColumn']-_0x7de2f6['range'][_0x51de14(0x1d8)]}};_0x476652[_0x51de14(0x1e3)](_0x4d6410,_0x259916);const _0x4244ae={..._0x414420,'sourceRangeInfo':_0x259916};this['_updateModelCache'](_0x483206,_0x34639b['subUnitId'],_0x4d6410,_0x4244ae),this['broadcastCollectionChange']({'unitId':_0x483206,'token':_0x4d6410,'type':_0x48eb95[_0x51de14(0x2ea)],'oldSourceRangeInfo':_0x7de2f6,'dataRangeInfo':_0x259916,'targetCellInfo':_0x414420['targetCellInfo']}),this[_0x51de14(0x299)]({'unitId':_0x483206,'subUnitId':_0x34639b[_0x51de14(0x233)],'oldSubUnitId':_0x1a699e,'pivotTableId':_0x4d6410,'pivotTableConfig':_0x4244ae,'collectionConfig':_0x476652[_0x51de14(0x2d5)]()});}}}}[_0x3481c0(0x1f4)](_0x2e08d7){const _0x4a6d7b=_0x3481c0;this[_0x4a6d7b(0x1ff)][_0x4a6d7b(0x44d)](_0x2e08d7);}[_0x3481c0(0x3c0)](_0x21cedc){const _0xac549f=_0x3481c0;let _0x196734=this[_0xac549f(0x3eb)][_0xac549f(0x232)](_0x21cedc);return _0x196734||(_0x196734=new _0x203dd8(this,this[_0xac549f(0x3ba)]),this['_dataFieldManagerCollection'][_0xac549f(0x375)](_0x21cedc,_0x196734)),_0x196734;}[_0x3481c0(0x477)](_0x3c78c0,_0x499a53){const _0x1ee1f6=_0x3481c0;return this[_0x1ee1f6(0x3c0)](_0x3c78c0)[_0x1ee1f6(0x32d)][_0x499a53];}[_0x3481c0(0x4c8)](_0x3e0cc7,_0x49a853,_0x231c11){const _0x2d6c41=_0x3481c0;return this['getDataFieldManager'](_0x3e0cc7)[_0x2d6c41(0x4c8)](_0x49a853,_0x231c11);}['_ensurePivotMap'](_0x3313b7,_0x1c53f1){const _0x20cc5e=_0x3481c0;let _0x39252d=this[_0x20cc5e(0x36f)]['get'](_0x3313b7);_0x39252d||(_0x39252d=new Map(),this['_model'][_0x20cc5e(0x375)](_0x3313b7,_0x39252d));let _0x5ddb9b=_0x39252d[_0x20cc5e(0x232)](_0x1c53f1);return _0x5ddb9b||(_0x5ddb9b=new Map(),_0x39252d['set'](_0x1c53f1,_0x5ddb9b)),_0x5ddb9b;}['_updateModelCache'](_0x499cd6,_0x157508,_0x3cdd62,_0x5e9340){const _0xac30c2=_0x3481c0;this[_0xac30c2(0x3fc)](_0x499cd6,_0x157508)[_0xac30c2(0x375)](_0x3cdd62,_0x5e9340);}['_deleteModelCache'](_0x579bd0,_0x2c7b48,_0x388c67){const _0x2edbac=_0x3481c0;var _0x56efba,_0x3c9330,_0x2d621b,_0x3147a9;(_0x3c9330=(_0x56efba=this[_0x2edbac(0x36f)][_0x2edbac(0x232)](_0x579bd0))==null?void 0x0:_0x56efba['get'](_0x2c7b48))!=null&&_0x3c9330['get'](_0x388c67)&&((_0x3147a9=(_0x2d621b=this[_0x2edbac(0x36f)][_0x2edbac(0x232)](_0x579bd0))==null?void 0x0:_0x2d621b[_0x2edbac(0x232)](_0x2c7b48))==null||_0x3147a9[_0x2edbac(0x4bc)](_0x388c67));}[_0x3481c0(0x217)](_0xeeb58b,_0x3144a8){const _0x48c06a=_0x3481c0;this[_0x48c06a(0x32e)][_0x48c06a(0x375)](_0xeeb58b,_0x3144a8);}[_0x3481c0(0x2fa)](_0x6c89a9){const _0x19bee4=_0x3481c0;this[_0x19bee4(0x32e)][_0x19bee4(0x4bc)](_0x6c89a9);}['_ensureViewDataMap'](_0x364b57,_0x146ee8){const _0x55e5cb=_0x3481c0;let _0x543f32=this[_0x55e5cb(0x42b)]['get'](_0x364b57);_0x543f32||(_0x543f32=new Map(),this[_0x55e5cb(0x42b)][_0x55e5cb(0x375)](_0x364b57,_0x543f32));let _0x3bb379=_0x543f32['get'](_0x146ee8);return _0x3bb379||(_0x3bb379=new Map(),_0x543f32[_0x55e5cb(0x375)](_0x146ee8,_0x3bb379)),_0x3bb379;}[_0x3481c0(0x299)](_0x3fba81){const _0x23fbb3=_0x3481c0,{unitId:_0x51f3a7,subUnitId:_0x509ddc,pivotTableId:_0x358815,pivotTableConfig:_0xf0ad74,collectionConfig:_0x3e80e1}=_0x3fba81,_0x3dc728={'unitId':_0x51f3a7,'subUnitId':_0x509ddc,'oldSubUnitId':_0x509ddc,'pivotTableId':_0x358815,'pivotTableConfig':_0xf0ad74,'collectionConfig':_0x3e80e1};this['_commandService'][_0x23fbb3(0x22e)](_0x5f0071['id'],_0x3dc728,{'onlyLocal':!0x0});}[_0x3481c0(0x3e4)](_0x4da1a4,_0x183be9,_0x5f3edc,_0x16e6cc,_0x16185c,_0x51536d,_0x49574e,_0x13fdee=!0x1){const _0x295a7b=_0x3481c0;var _0xb3ccf4;this[_0x295a7b(0x48c)][_0x295a7b(0x22e)](_0x5c8eca['id'],{'single':{'unitId':_0x4da1a4,'subUnitId':_0x183be9,'type':_0x5f3edc,'pivotTableId':_0x16e6cc,'view':_0x16185c,'pivotConfig':_0x51536d},'collectionConfig':{[_0x4da1a4]:_0x49574e}},{'onlyLocal':!0x0});const _0x4470f6=!!((_0xb3ccf4=this['getPivotTableInstance'](_0x16e6cc))!=null&&_0xb3ccf4[_0x295a7b(0x46e)]()),_0x41a130=this[_0x295a7b(0x418)](_0x4da1a4,_0x183be9,_0x16e6cc);_0x41a130&&this[_0x295a7b(0x3dd)]({'view':_0x16185c,'pivotTableId':_0x16e6cc,'textInfo':this[_0x295a7b(0x1c0)](),'isEmpty':_0x4470f6,'targetCellInfo':_0x41a130['targetCellInfo']},_0x13fdee);}[_0x3481c0(0x3dd)](_0x2ce0e6,_0x476306){const _0x39eb9b=_0x3481c0,{targetCellInfo:_0x15f4e0,pivotTableId:_0x21cdcf}=_0x2ce0e6,{unitId:_0x3668f5,subUnitId:_0x2a992f}=_0x15f4e0,_0x1cd6ad=this[_0x39eb9b(0x485)](_0x3668f5,_0x2a992f),_0x1949b9=_0x1cd6ad['get'](_0x21cdcf);let _0x297b66,_0x21102f;_0x1949b9&&(_0x297b66=_0x1949b9[_0x39eb9b(0x409)],_0x21102f=_0x1949b9[_0x39eb9b(0x4a9)]);const {rangesCache:_0x116b4c,matrix:_0xb0040}=_0x57f833(_0x2ce0e6);_0x1cd6ad[_0x39eb9b(0x375)](_0x21cdcf,{'rangeCache':_0x116b4c,'matrix':_0xb0040,'oldMatrix':_0x21102f,'oldRangeCache':_0x297b66}),_0x476306||this[_0x39eb9b(0x3bc)][_0x39eb9b(0x44d)]({'unitId':_0x3668f5,'subUnitId':_0x2a992f,'pivotTableId':_0x21cdcf});}[_0x3481c0(0x22b)](_0x59cc15,_0x24397f,_0x22281a,_0x182ad4,_0x5b5984){const _0x5715dc=_0x3481c0;this[_0x5715dc(0x2af)](_0x59cc15,_0x24397f,_0x22281a,_0x5b5984),this[_0x5715dc(0x217)](_0x22281a,_0x182ad4);}['removePivotTable'](_0x49a411,_0x5b913d,_0x56a043){const _0x497aed=_0x3481c0,_0x441f1a=this[_0x497aed(0x3c0)](_0x49a411);_0x441f1a[_0x497aed(0x266)](_0x56a043)['forEach'](_0x1219ad=>{const _0x26730f=_0x497aed;_0x441f1a[_0x26730f(0x471)](_0x1219ad);}),this['removeCollections'](_0x49a411,_0x56a043),this[_0x497aed(0x352)](_0x49a411,_0x5b913d,_0x56a043),this[_0x497aed(0x2fa)](_0x56a043);}['setPivotTable'](_0x3f7d92,_0x5ecee9,_0x421740,_0x20b835){this['_updateModelCache'](_0x3f7d92,_0x5ecee9,_0x421740,_0x20b835);}[_0x3481c0(0x418)](_0x3b35a4,_0xee5695,_0x1fc988){const _0x42e809=_0x3481c0;var _0x59f083,_0x5bd719;const _0x51035e=(_0x5bd719=(_0x59f083=this[_0x42e809(0x36f)]['get'](_0x3b35a4))==null?void 0x0:_0x59f083['get'](_0xee5695))==null?void 0x0:_0x5bd719['get'](_0x1fc988);if(_0x51035e)return _0x51035e;}[_0x3481c0(0x2c0)](_0x3e9b6e,_0x58a2ee,_0x543019){const _0x1251ab=_0x3481c0;var _0x116f65,_0x435c95;const _0x218812=(_0x435c95=(_0x116f65=this[_0x1251ab(0x36f)][_0x1251ab(0x232)](_0x3e9b6e))==null?void 0x0:_0x116f65[_0x1251ab(0x232)](_0x58a2ee))==null?void 0x0:_0x435c95[_0x1251ab(0x232)](_0x543019);if(_0x218812)return _0x218812[_0x1251ab(0x3ae)];}[_0x3481c0(0x2a6)](_0x331f4a){return this['_pivotTableInstanceCache']['get'](_0x331f4a);}[_0x3481c0(0x4ca)](_0x58d41b){const _0x571aff=_0x3481c0;this[_0x571aff(0x36f)][_0x571aff(0x4bc)](_0x58d41b);const _0x1f911b=this[_0x571aff(0x3eb)][_0x571aff(0x232)](_0x58d41b);_0x1f911b&&(_0x1f911b[_0x571aff(0x23b)](),this[_0x571aff(0x3eb)][_0x571aff(0x4bc)](_0x58d41b)),this['_viewData'][_0x571aff(0x4bc)](_0x58d41b),this[_0x571aff(0x272)][_0x571aff(0x1d7)](_0xf546ba=>{_0xf546ba['deleteUnitId'](_0x58d41b);});}[_0x3481c0(0x341)](_0x3217c6,_0x5aaa10,_0x5b2b64,_0x42b2a9){const _0x99faf6=_0x3481c0;return this[_0x99faf6(0x3c0)](_0x5b2b64[_0x99faf6(0x224)])[_0x99faf6(0x341)](_0x3217c6,_0x5aaa10,_0x5b2b64,_0x42b2a9);}[_0x3481c0(0x35b)](_0x196543){const _0x583c6e=_0x3481c0;return this[_0x583c6e(0x3c0)](_0x196543[_0x583c6e(0x224)])['createCollectionWithDataRange'](_0x196543);}['refreshData'](_0x3646e6,_0xbe087b,_0x444412){const _0x3dfdda=_0x3481c0;this[_0x3dfdda(0x3c0)](_0x444412[_0x3dfdda(0x224)])['refreshData'](_0x3646e6,_0xbe087b,_0x444412);}[_0x3481c0(0x4d7)](_0x502f8b,_0x314ba9){const _0x2321a8=_0x3481c0;this['getDataFieldManager'](_0x502f8b)[_0x2321a8(0x471)](_0x314ba9);}[_0x3481c0(0x3d5)](_0x413dae,_0x5da09d){const _0x31529a=_0x3481c0;this[_0x31529a(0x3c0)](_0x413dae)[_0x31529a(0x420)](_0x5da09d);}['getSubUnitPivotConfigs'](_0x548b96,_0x406b6c){const _0x8d0f83=_0x3481c0;var _0x39e720;return(_0x39e720=this[_0x8d0f83(0x36f)][_0x8d0f83(0x232)](_0x548b96))==null?void 0x0:_0x39e720[_0x8d0f83(0x232)](_0x406b6c);}['getTargetByPivotId'](_0x348679){const _0x2e4856=_0x3481c0;for(const [_0x44908d,_0x1571bc]of this[_0x2e4856(0x36f)]['entries']())for(const [_0x5c6292,_0x1f25f7]of _0x1571bc[_0x2e4856(0x29a)]())if(_0x1f25f7[_0x2e4856(0x1bb)](_0x348679))return{'unitId':_0x44908d,'subUnitId':_0x5c6292};return null;}[_0x3481c0(0x1c5)](_0x2cef53,_0x105c17,_0x104171,_0x526d48){const _0x4cbc27=_0x3481c0,_0x2a41b4=this[_0x4cbc27(0x485)](_0x2cef53,_0x105c17);_0x526d48?_0x2a41b4['set'](_0x104171,_0x526d48):_0x2a41b4[_0x4cbc27(0x4bc)](_0x104171),this[_0x4cbc27(0x3bc)][_0x4cbc27(0x44d)]({'unitId':_0x2cef53,'subUnitId':_0x105c17,'pivotTableId':_0x104171});}[_0x3481c0(0x23b)](){const _0x384c69=_0x3481c0;super['dispose'](),this[_0x384c69(0x36f)][_0x384c69(0x20a)](),this['_pivotTableInstanceCache'][_0x384c69(0x20a)](),this[_0x384c69(0x42b)][_0x384c69(0x20a)](),this[_0x384c69(0x1ff)]['complete'](),this[_0x384c69(0x3bc)][_0x384c69(0x1ed)](),this[_0x384c69(0x446)][_0x384c69(0x1ed)](),this[_0x384c69(0x3eb)][_0x384c69(0x1d7)](_0x4089ee=>_0x4089ee[_0x384c69(0x23b)]()),this['_dataFieldManagerCollection'][_0x384c69(0x20a)]();}['getViewData'](_0x39d9ea,_0x1ba9b4,_0x13eea8){const _0xc8df7d=_0x3481c0;var _0x244810,_0x2cd5ed;const _0x3e36e4=(_0x2cd5ed=(_0x244810=this[_0xc8df7d(0x42b)][_0xc8df7d(0x232)](_0x39d9ea))==null?void 0x0:_0x244810[_0xc8df7d(0x232)](_0x1ba9b4))==null?void 0x0:_0x2cd5ed[_0xc8df7d(0x232)](_0x13eea8);return _0x3e36e4||null;}[_0x3481c0(0x1d6)](_0x36cfc8){this['updateDirtyPivotTable'](_0x36cfc8);}[_0x3481c0(0x229)](_0x3a247f){const _0x3f27d7=_0x3481c0,{token:_0x5cc9ec,unitId:_0xed830d,subUnitId:_0x40175e}=_0x3a247f,_0x520aeb=_0xed830d+'-'+_0x40175e+'-'+_0x5cc9ec;this[_0x3f27d7(0x1d4)]['get'](_0x520aeb)&&clearTimeout(this[_0x3f27d7(0x1d4)]['get'](_0x520aeb));const _0x496608=setTimeout(()=>{const _0x45f290=_0x3f27d7;this[_0x45f290(0x3ec)](_0x3a247f),this['_queryingMap'][_0x45f290(0x4bc)](_0x520aeb);},_0x5df372);this['_queryingMap'][_0x3f27d7(0x375)](_0x520aeb,_0x496608);}[_0x3481c0(0x3ec)](_0x579a3b){const _0x557158=_0x3481c0,{unitId:_0x532f05,subUnitId:_0x50f9f5,token:_0x144d31,type:_0x107418,pivotConfig:_0xc2cf67}=_0x579a3b,_0x56b63e=this[_0x557158(0x2a6)](_0x144d31),_0x2c4d4e=_0x56b63e==null?void 0x0:_0x56b63e[_0x557158(0x24a)](),_0x3c1417=_0xc2cf67!=null?_0xc2cf67:this['getPivotTableConfig'](_0x532f05,_0x50f9f5,_0x144d31);_0x3c1417&&(_0x3c1417[_0x557158(0x46e)]=!!(_0x56b63e!=null&&_0x56b63e['isEmpty']())),(_0x2c4d4e||_0x107418===_0xcddcb7[_0x557158(0x493)])&&this[_0x557158(0x3e4)](_0x532f05,_0x50f9f5,_0x107418,_0x144d31,_0x2c4d4e,_0x3c1417,this[_0x557158(0x3c0)](_0x532f05)[_0x557158(0x2d5)]());}[_0x3481c0(0x2d5)](_0x2e2540){const _0xe101fe=_0x3481c0,_0x180a17={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xe101fe(0x3c0)](_0x2e2540)&&(_0x180a17['dataFieldManagerConfig'][_0x2e2540]=this[_0xe101fe(0x3c0)](_0x2e2540)[_0xe101fe(0x2d5)]()),this[_0xe101fe(0x36f)][_0xe101fe(0x232)](_0x2e2540)){_0x180a17['pivotTableConfigs'][_0x2e2540]={};const _0x48c4a4=this[_0xe101fe(0x36f)][_0xe101fe(0x232)](_0x2e2540);_0x48c4a4!=null&&_0x48c4a4['size']&&[..._0x48c4a4[_0xe101fe(0x376)]()][_0xe101fe(0x1d7)](_0x509bc9=>{const _0x40ae09=_0xe101fe,_0xb7e1c0=_0x48c4a4[_0x40ae09(0x232)](_0x509bc9);_0xb7e1c0!=null&&_0xb7e1c0[_0x40ae09(0x1de)]&&(_0x180a17['pivotTableConfigs'][_0x2e2540][_0x509bc9]={},[..._0xb7e1c0['keys']()][_0x40ae09(0x1d7)](_0x48a9f4=>{const _0x18b679=_0x40ae09,_0x248bae=_0xb7e1c0['get'](_0x48a9f4);_0x248bae&&(_0x180a17[_0x18b679(0x4d8)][_0x2e2540][_0x509bc9][_0x48a9f4]=_0x248bae);}));});}return _0x180a17;}[_0x3481c0(0x37a)](_0x139d91){const _0x1b77b9=_0x3481c0;var _0x4fd838;const {dataFieldManagerConfig:_0x3aaf6c,pivotTableConfigs:_0xf7c279}=_0x139d91;_0x3aaf6c&&Object['keys'](_0x3aaf6c)[_0x1b77b9(0x1d7)](_0x255258=>{const _0x4319b8=_0x1b77b9;this[_0x4319b8(0x3c0)](_0x255258)['fromJSON'](_0x3aaf6c[_0x255258]);});const _0x3d1d75=[];if(_0xf7c279){const _0x2d1428=(_0x4fd838=this[_0x1b77b9(0x474)][_0x1b77b9(0x232)](_0x118f40[_0x1b77b9(0x39c)])['getConfig'](_0x7125e5['LS_CONFIG_KEY']))!=null?_0x4fd838:{},{ls:_0x15f158,pbk:_0x5543fa}=_0x2d1428,_0x11c305=_0x342177(_0x24ae0e,_0x15f158,_0x5543fa)[_0x1b77b9(0x21f)];Object[_0x1b77b9(0x376)](_0xf7c279)[_0x1b77b9(0x1d7)](_0x45a285=>{const _0x2be8c6=_0x1b77b9;let _0x3c8ea5=0x0;const _0x849b14=_0xf7c279[_0x45a285];Object[_0x2be8c6(0x376)](_0x849b14)['forEach'](_0x5c906d=>{const _0x56cb7c=_0x2be8c6,_0x205460=_0x849b14[_0x5c906d];Object[_0x56cb7c(0x376)](_0x205460)[_0x56cb7c(0x1d7)](_0x10f98f=>{const _0x4f8737=_0x56cb7c,_0x160f0e=_0x205460[_0x10f98f];if(_0x160f0e){if(_0x3c8ea5>=_0x11c305)return;_0x3c8ea5++;const _0x300295=this[_0x4f8737(0x3c0)](_0x45a285),_0x40f75f=_0x300295[_0x4f8737(0x32d)][_0x10f98f],_0x82249b=_0x40f75f[_0x4f8737(0x28b)]();let _0x235911=0x0;const _0x3c0f17=[];for(const _0x5cccd1 of _0x82249b){const _0x1ac4c3=_0x40f75f[_0x4f8737(0x3ce)](_0x5cccd1);if(_0xe4a43f['isBaseGroupField'](_0x1ac4c3)){const _0x104f48=_0x1ac4c3[_0x4f8737(0x209)](),_0x36f9f4=_0x40f75f[_0x4f8737(0x3ce)](_0x104f48);_0x36f9f4&&_0x3c0f17[_0x4f8737(0x21b)]([_0x1ac4c3,_0x36f9f4]);continue;}_0x300295[_0x4f8737(0x4c0)](_0x5cccd1,_0x160f0e[_0x4f8737(0x449)],_0x235911),_0x235911++;}_0x3c0f17['forEach'](([_0xdf9bb4,_0x4a3ac4])=>{const _0x36923a=_0x4f8737;_0xdf9bb4[_0x36923a(0x464)](_0x4a3ac4);});const _0x5a007e=new _0xe4a43f[(_0x4f8737(0x3de))](_0x40f75f);_0x5a007e[_0x4f8737(0x37a)](_0x160f0e[_0x4f8737(0x3ae)]),this[_0x4f8737(0x22b)](_0x45a285,_0x5c906d,_0x10f98f,_0x5a007e,_0x160f0e);const _0x3a14ef=_0x5a007e['query']();_0x3d1d75[_0x4f8737(0x21b)]({'unitId':_0x45a285,'subUnitId':_0x5c906d,'pivotTableId':_0x10f98f,'view':_0x3a14ef['toJSON'](),'pivotConfig':_0x160f0e,'type':_0xcddcb7[_0x4f8737(0x47e)]});const _0x3985bb=!!_0x5a007e[_0x4f8737(0x46e)](),_0x80eb34={'view':_0x3a14ef,'pivotTableId':_0x10f98f,'textInfo':this[_0x4f8737(0x1c0)](),'isEmpty':_0x3985bb,'targetCellInfo':_0x160f0e[_0x4f8737(0x3db)]};this['updateViewData'](_0x80eb34,!0x1);}});});});}_0x3aaf6c&&Object[_0x1b77b9(0x376)](_0x3aaf6c)['forEach'](_0x10c167=>{const _0x273674=_0x1b77b9,_0x542fdb=this[_0x273674(0x3c0)](_0x10c167);this[_0x273674(0x446)][_0x273674(0x44d)](_0x542fdb['collections']);}),this['_commandService'][_0x1b77b9(0x22e)](_0x5c8eca['id'],{'batch':_0x3d1d75,'collectionConfig':_0x3aaf6c},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x437273=_0x3481c0;this['disposeWithMe'](this[_0x437273(0x21d)][_0x437273(0x2a8)]({'toJson':_0x2dbda5=>JSON['stringify'](this[_0x437273(0x2d5)](_0x2dbda5)),'parseJson':_0x52b29c=>{const _0x26f457=_0x437273;if(!_0x52b29c)return{};try{return JSON[_0x26f457(0x408)](_0x52b29c);}catch{return{};}},'businesses':[_0x118f40[_0x437273(0x26f)][_0x437273(0x37c)]],'pluginName':_0x1de706,'onLoad':(_0x4c62a2,_0x1e214b)=>{this['fromJSON'](_0x1e214b);},'onUnLoad':_0x10a461=>{const _0x39d23c=_0x437273;this[_0x39d23c(0x4ca)](_0x10a461);}}));}},_0x27a419[_0x3481c0(0x2ec)]=_0x2087a4([_0x2287cf(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3f7)])),_0x2287cf(0x1,_0x118f40[_0x3481c0(0x2f3)]),_0x2287cf(0x2,_0x118f40['Inject'](_0x118f40[_0x3481c0(0x220)])),_0x2287cf(0x3,_0x118f40['ICommandService']),_0x2287cf(0x4,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x4d6)]))],_0x27a419[_0x3481c0(0x2ec)]);const _0x8e8067={0x0:{0x0:{'v':'filter','s':_0x48fb92}},0x2:{0x1:{'v':'','s':_0x48fb92},0x2:{'v':'','s':_0x48fb92},0x3:{'v':_0x3481c0(0x2de),'s':_0x48fb92},0x4:{'v':'','s':_0x48fb92},0x5:{'v':'','s':_0x48fb92}},0x3:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0x4:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0x5:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0x6:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0x7:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0x8:{0x0:{'v':_0x3481c0(0x1da),'s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':_0x3481c0(0x1ca),'s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0x9:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0xa:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0xb:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0xc:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}},0xd:{0x0:{'v':'','s':_0x48fb92},0x1:{'v':'','s':_0x5d3b6d},0x2:{'v':'','s':_0x5d3b6d},0x3:{'v':'','s':_0x5d3b6d},0x4:{'v':'','s':_0x5d3b6d},0x5:{'v':'','s':_0x5d3b6d}}},_0x1d6793={'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':[]},_0x5f4d3f=(_0x4e00ff,_0x4cbb2c)=>{const _0x4dec77=_0x3481c0,_0x478905=new _0x118f40[(_0x4dec77(0x34d))](),_0x2a2097=new _0x118f40[(_0x4dec77(0x34d))](_0x8e8067),{row:_0x399263,col:_0x38c87a}=_0x4cbb2c;_0x2a2097[_0x4dec77(0x4e1)]((_0x26eae1,_0x1ed7be,_0x502a10)=>{const _0x456c73=_0x4dec77;let _0x15dfc0='';_0x502a10['v']===_0x456c73(0x221)?_0x15dfc0=_0x4e00ff[_0x456c73(0x221)]:_0x502a10['v']==='row'?_0x15dfc0=_0x4e00ff[_0x456c73(0x1da)]:_0x502a10['v']===_0x456c73(0x2de)?_0x15dfc0=_0x4e00ff[_0x456c73(0x2de)]:_0x502a10['v']==='values'&&(_0x15dfc0=_0x4e00ff[_0x456c73(0x1ca)]),_0x478905['setValue'](_0x26eae1+_0x399263,_0x1ed7be+_0x38c87a,{..._0x502a10,'v':_0x15dfc0});});const _0x350cf9=_0x118f40[_0x4dec77(0x309)][_0x4dec77(0x2cb)](_0x1d6793);return Object[_0x4dec77(0x376)](_0x1d6793)[_0x4dec77(0x1d7)](_0x5d8e87=>{const _0x3354c5=_0x4dec77;_0x350cf9[_0x5d8e87]=_0x1d6793[_0x5d8e87][_0x3354c5(0x4c6)](_0x5bb0b3=>({..._0x5bb0b3,'startRow':_0x5bb0b3[_0x3354c5(0x321)]+_0x399263,'endRow':_0x5bb0b3[_0x3354c5(0x403)]+_0x399263,'startColumn':_0x5bb0b3[_0x3354c5(0x1d8)]+_0x38c87a,'endColumn':_0x5bb0b3[_0x3354c5(0x202)]+_0x38c87a}));}),{'matrixCache':_0x478905,'rangesCache':_0x350cf9};};function _0xab5617(_0x33a992,_0x4c4f69){const _0x37aac3=_0x3481c0;let _0x1adf3d='';const _0x58f451=this[_0x37aac3(0x1c0)]();switch(_0x4c4f69){case _0xe4a43f[_0x37aac3(0x360)][_0x37aac3(0x33f)]:_0x1adf3d=_0x58f451[_0x37aac3(0x3a9)]+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)][_0x37aac3(0x21f)]:_0x1adf3d=_0x58f451[_0x37aac3(0x2ed)]+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)][_0x37aac3(0x20d)]:_0x1adf3d=_0x58f451[_0x37aac3(0x424)]+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)][_0x37aac3(0x49e)]:_0x1adf3d=_0x58f451[_0x37aac3(0x3b9)]+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)][_0x37aac3(0x3e9)]:_0x1adf3d=_0x58f451['sheets-pivot.minName']+_0x33a992;break;case _0xe4a43f['PivotSubtotalTypeEnum'][_0x37aac3(0x34a)]:_0x1adf3d=_0x58f451['sheets-pivot.productName']+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)][_0x37aac3(0x33c)]:_0x1adf3d=_0x58f451[_0x37aac3(0x33d)]+_0x33a992;break;case _0xe4a43f['PivotSubtotalTypeEnum']['stdDevp']:_0x1adf3d=_0x58f451[_0x37aac3(0x36b)]+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)]['sum']:_0x1adf3d=_0x58f451[_0x37aac3(0x3f4)]+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)]['var']:_0x1adf3d=_0x58f451[_0x37aac3(0x2fe)]+_0x33a992;break;case _0xe4a43f[_0x37aac3(0x360)][_0x37aac3(0x336)]:_0x1adf3d=_0x58f451[_0x37aac3(0x445)]+_0x33a992;break;default:_0x1adf3d=_0x33a992;break;}return _0x1adf3d;}function _0x587867(_0x30f95c,_0x146699,_0x487491,_0x42850e,_0x52d475){const _0x4e5011=_0x3481c0;var _0x4fb341,_0x424154,_0x50c6f2,_0x44c042,_0x537cc3;const _0x813541=_0x118f40[_0x4e5011(0x437)](_0x30f95c,_0x146699),{rangesInfo:_0x51a3f9,areaInfo:_0x46e97e,headerMap:_0x5ae52e}=_0x52d475;if(!_0x51a3f9||!_0x46e97e||!_0x5ae52e)return;const _0x217a81=Object[_0x4e5011(0x376)](_0x51a3f9)[_0x4e5011(0x36d)](_0x3960cc=>_0x51a3f9[_0x3960cc][_0x4e5011(0x46d)](_0x46b173=>_0x118f40[_0x4e5011(0x4ad)][_0x4e5011(0x368)](_0x46b173,_0x813541))),_0x553db3=_0x46e97e;let _0x55b3e2,_0x38daec,_0x4dc530;if(_0x217a81==='rowRanges')_0x55b3e2=(_0x4fb341=_0x553db3==null?void 0x0:_0x553db3[_0x4e5011(0x3a6)])==null?void 0x0:_0x4fb341[_0x30f95c],_0x38daec=(_0x424154=_0x5ae52e==null?void 0x0:_0x5ae52e[_0x4e5011(0x37d)])==null?void 0x0:_0x424154[_0x146699],_0x4dc530=_0x38daec==null?void 0x0:_0x38daec[_0x4e5011(0x40b)];else{if(_0x217a81===_0x4e5011(0x3d6))_0x55b3e2=(_0x50c6f2=_0x553db3==null?void 0x0:_0x553db3['colInfo'])==null?void 0x0:_0x50c6f2[_0x146699],_0x38daec=(_0x44c042=_0x5ae52e[_0x4e5011(0x27b)])==null?void 0x0:_0x44c042[_0x30f95c+0x1+_0x146699-_0x51a3f9[_0x4e5011(0x3d6)][0x0][_0x4e5011(0x1d8)]],_0x4dc530=_0x38daec==null?void 0x0:_0x38daec[_0x4e5011(0x40b)];else{if(_0x217a81==='cornerRanges')_0x55b3e2=(_0x537cc3=_0x553db3==null?void 0x0:_0x553db3['cornerInfo'])==null?void 0x0:_0x537cc3[_0x146699],_0x4dc530=_0x55b3e2==null?void 0x0:_0x55b3e2[_0x4e5011(0x40b)];else{if(_0x217a81===_0x4e5011(0x365)){const _0x3ded0e=_0x487491==null?void 0x0:_0x487491['fi'];_0x3ded0e!==void 0x0&&(_0x4dc530=_0x42850e[_0x4e5011(0x1e0)](_0x3ded0e));}}}}return{'filterId':_0x4dc530,'info':_0x55b3e2,'data':_0x487491,'headerInfo':_0x38daec};}function _0x1686ae(_0x4a5435,_0x269025,_0x27ef28){const _0x139ac4=_0x3481c0,_0x2931da=_0x4a5435[_0x139ac4(0x46b)],_0x55c767=_0x2931da[_0x139ac4(0x28b)](),_0x48d6cf=new Set();_0x4a5435['iterateField'](_0x2868a8=>{const _0x12f8fc=_0x139ac4;_0x48d6cf['add'](_0x2868a8[_0x12f8fc(0x4d9)]);});const _0x1e492d=_0x55c767['map'](_0x5e8b66=>{const _0x4736eb=_0x139ac4,_0x3c039c=_0x2931da[_0x4736eb(0x3ce)](_0x5e8b66);return{'checked':_0x48d6cf['has'](_0x5e8b66),'dataFieldId':_0x3c039c['id'],'id':_0x3c039c['id'],'name':_0x2931da[_0x4736eb(0x31b)](_0x3c039c['id']),'type':_0x3c039c[_0x4736eb(0x283)](),'pivotTableId':_0x269025};}),_0x6a7f4a=[];_0x4a5435[_0x139ac4(0x426)](_0xe4a43f['PivotTableFiledAreaEnum']['Row'],_0x3c99d9=>{const _0x198941=_0x139ac4;_0x6a7f4a[_0x198941(0x21b)]({'dataFieldId':_0x3c99d9[_0x198941(0x4d9)],'tableFieldId':_0x3c99d9[_0x198941(0x371)](),'displayName':_0x3c99d9[_0x198941(0x31b)]()});});const _0x114f52=[];_0x4a5435[_0x139ac4(0x426)](_0xe4a43f[_0x139ac4(0x444)][_0x139ac4(0x387)],_0x50fd5d=>{const _0x5a6eb1=_0x139ac4;_0x114f52[_0x5a6eb1(0x21b)]({'dataFieldId':_0x50fd5d[_0x5a6eb1(0x4d9)],'tableFieldId':_0x50fd5d[_0x5a6eb1(0x371)](),'displayName':_0x50fd5d['getDisplayName']()});});const _0x5c4610=[];if(_0x4a5435[_0x139ac4(0x426)](_0xe4a43f['PivotTableFiledAreaEnum'][_0x139ac4(0x38b)],_0x1c4260=>{const _0x36402f=_0x139ac4;_0x5c4610[_0x36402f(0x21b)]({'dataFieldId':_0x1c4260[_0x36402f(0x4d9)],'tableFieldId':_0x1c4260[_0x36402f(0x371)](),'displayName':_0x1c4260[_0x36402f(0x31b)](),'format':_0x1c4260[_0x36402f(0x425)](),'subTotalType':_0x1c4260[_0x36402f(0x237)]()});}),_0x5c4610['length']>0x1){const _0x46f0fa=_0x4a5435[_0x139ac4(0x351)]();(_0x4a5435[_0x139ac4(0x453)]()?_0x114f52:_0x6a7f4a)['splice'](_0x46f0fa,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x139ac4(0x1d1)});}const _0x1f98b7=[];_0x4a5435[_0x139ac4(0x426)](_0xe4a43f['PivotTableFiledAreaEnum'][_0x139ac4(0x1dd)],_0x413470=>{const _0x21507a=_0x139ac4;_0x1f98b7['push']({'dataFieldId':_0x413470[_0x21507a(0x4d9)],'tableFieldId':_0x413470[_0x21507a(0x371)](),'displayName':_0x413470[_0x21507a(0x31b)]()});});const _0x15f8b6=_0x27ef28[_0x139ac4(0x449)];return{'sourceList':_0x1e492d,'sourceRange':_0x15f8b6,'rowFields':_0x6a7f4a,'columnFields':_0x114f52,'valueFields':_0x5c4610,'filterFields':_0x1f98b7,'positionInfo':_0x27ef28[_0x139ac4(0x3db)]};}function _0x5a9037(_0x49403b,_0x308a45,_0x50ba8b='',_0x6c5cf9={}){const _0xf97aa0=_0x3481c0,_0x3c7f18=_0x49403b['get'](_0x118f40['LocaleService']);for(const _0x458615 in _0x308a45)if(Object[_0xf97aa0(0x4da)][_0xf97aa0(0x4c4)][_0xf97aa0(0x423)](_0x308a45,_0x458615)){const _0x141793=_0x50ba8b?_0x50ba8b+'.'+_0x458615:_0x458615;typeof _0x308a45[_0x458615]==_0xf97aa0(0x4ac)&&_0x308a45[_0x458615]!==null&&!Array[_0xf97aa0(0x31e)](_0x308a45[_0x458615])?_0x5a9037(_0x49403b,_0x308a45[_0x458615],_0x141793,_0x6c5cf9):_0x6c5cf9[_0x141793]=_0x3c7f18['t'](_0x141793);}return _0x6c5cf9;}const _0x3b81bd=_0x5b94a5=>{const _0x215fa7=_0x3481c0;if(!_0x5b94a5)return[];const {rowRanges:_0x56773a,colRanges:_0x1bf4b7,cornerRanges:_0x75f03a,dataRanges:_0x296dd9,pageRanges:_0x2add6c}=_0x5b94a5,_0x1e9bce=[..._0x1bf4b7,..._0x56773a,..._0x296dd9,..._0x75f03a][_0x215fa7(0x221)](_0x20c3c8=>_0x20c3c8[_0x215fa7(0x321)]>=0x0&&_0x20c3c8['startColumn']>=0x0&&_0x20c3c8[_0x215fa7(0x403)]>=0x0&&_0x20c3c8[_0x215fa7(0x202)]>=0x0);let _0x1801ff=Number[_0x215fa7(0x2c9)],_0x10182e=Number[_0x215fa7(0x442)],_0x47ef99=Number[_0x215fa7(0x2c9)],_0x48e0c5=Number[_0x215fa7(0x442)];for(let _0x1e2ecf=0x0;_0x1e2ecf<_0x1e9bce['length'];_0x1e2ecf++)_0x1801ff=Math[_0x215fa7(0x3e9)](_0x1801ff,_0x1e9bce[_0x1e2ecf][_0x215fa7(0x321)]),_0x10182e=Math[_0x215fa7(0x49e)](_0x10182e,_0x1e9bce[_0x1e2ecf][_0x215fa7(0x403)]),_0x47ef99=Math[_0x215fa7(0x3e9)](_0x47ef99,_0x1e9bce[_0x1e2ecf][_0x215fa7(0x1d8)]),_0x48e0c5=Math[_0x215fa7(0x49e)](_0x48e0c5,_0x1e9bce[_0x1e2ecf]['endColumn']);return[..._0x2add6c,{'startRow':_0x1801ff,'endRow':_0x10182e,'startColumn':_0x47ef99,'endColumn':_0x48e0c5}];};function _0x19289f(_0x2de45e,_0x432fd7){const _0x218e56=_0x3481c0,_0x2eafda=_0x432fd7[_0x218e56(0x44b)][_0x218e56(0x216)],{pivotTableId:_0x1c7c1b,unitId:_0xc72afe,subUnitId:_0x4c0233}=_0x432fd7;if(!_0x2eafda)return;const _0x410543=_0x2de45e[_0x218e56(0x232)](_0x27a419[_0x218e56(0x2ec)]),_0x4caaad=_0x410543[_0x218e56(0x2a6)](_0x1c7c1b),_0x524028=_0x410543[_0x218e56(0x418)](_0xc72afe,_0x4c0233,_0x1c7c1b);if(!_0x4caaad||!_0x524028)return;const _0x2faa69=_0x4caaad[_0x218e56(0x4a4)](_0x2eafda[_0x218e56(0x337)]);if(!(_0x2faa69!=null&&_0x2faa69['length']))return;const _0x3758c3=_0x524028[_0x218e56(0x449)],{unitId:_0x37b7e6,subUnitId:_0x178d78,range:_0x55c1b0}=_0x3758c3;let _0x35a118=0x0;const _0x3fc40f=_0x4caaad['dataFieldsCollection'][_0x218e56(0x28b)]()[_0x218e56(0x3cf)]((_0x324dbc,_0x39702d)=>{const _0x315b1c=_0x218e56;var _0x3a27ce;const _0xf5a730=(_0x3a27ce=_0x4caaad[_0x315b1c(0x421)](_0x39702d))==null?void 0x0:_0x3a27ce[_0x315b1c(0x2da)]();return _0xf5a730&&(_0x324dbc[String(_0x35a118)]=_0xf5a730),_0x35a118++,_0x324dbc;},{});return{'indexes':_0x2faa69,'range':_0x55c1b0,'sourceUnitId':_0x37b7e6,'sourceSubUnitId':_0x178d78,'formatMap':_0x3fc40f};}function _0x4eff93(_0x3d8095,_0xfc1d08){const _0x27b1c8=_0x3481c0;if(!_0x3d8095||!_0xfc1d08)return!0x0;const _0xd40ce4=_0x7125e5['unshiftString'](_0x27c59a,_0x40dd89),_0x2e67de=new Function(_0x27b1c8(0x402)+_0xd40ce4)()(_0x3d8095,_0xfc1d08)[_0x27b1c8(0x38d)],_0x1182d7=_0x7125e5[_0x27b1c8(0x32a)](_0x2e67de,'sf',_0x525938);return!((_0x2e67de==null?void 0x0:_0x2e67de['rt'])===_0x7125e5[_0x27b1c8(0x42c)][_0x27b1c8(0x22d)]&&!_0x1182d7);}function _0x342177(_0x251008,_0x335868,_0x31f4b5){const _0x501016=_0x3481c0,_0x1f8980={'count':_0x251008,'timeValid':!0x1};if(!_0x335868||!_0x31f4b5)return _0x1f8980;const _0x5414cd=_0x7125e5['unshiftString'](_0x27c59a,_0x40dd89),_0x4448bb=new Function(_0x501016(0x402)+_0x5414cd)()(_0x335868,_0x31f4b5);if(_0x4448bb!=null&&_0x4448bb[_0x501016(0x20e)]){const _0x3fa45c=_0x4448bb['message'],_0x40246c=_0x7125e5[_0x501016(0x32a)](_0x3fa45c,'sf',_0x525938);return{'count':_0x7125e5[_0x501016(0x4cc)](_0x3fa45c,_0x40246c,_0x501016(0x2b1),_0x251008,_0x251008,0x0),'timeValid':_0x40246c};}return _0x1f8980;}function _0x2ddb3e(_0x1e20d1,_0x27f749,_0x15e747,_0xe54f48){const _0x41441b=_0x3481c0,_0x17f945={'subUnitId':_0x15e747,'unitId':_0x27f749,'cellValue':_0x137f99['generateNullCell'](_0xe54f48)},_0x581fbf=_0x137f99[_0x41441b(0x349)](_0x1e20d1,_0x17f945);let _0x51d7da=!0x1;return new _0x118f40[(_0x41441b(0x34d))](_0x581fbf['cellValue'])['forValue']((_0x2b7b08,_0x1a6f08,_0x1c75be)=>{if(!_0x51d7da&&_0x1c75be&&(_0x1c75be['custom']||_0x1c75be['f']||_0x1c75be['p']||_0x1c75be['s']||_0x1c75be['si']||_0x1c75be['t']||_0x1c75be['v']))return _0x51d7da=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x137f99[_0x41441b(0x3a3)]['id'],'params':_0x581fbf},'setRangeValueRedoMutation':{'id':_0x137f99[_0x41441b(0x3a3)]['id'],'params':_0x17f945},'shouldClear':_0x51d7da};}function _0x22dcde(_0x326308){const {row:_0x4aba0b,col:_0x38efc8}=_0x326308,_0x358f8f={'startRow':_0x4aba0b,'endRow':_0x4aba0b,'startColumn':_0x38efc8,'endColumn':_0x38efc8},_0x3ceefb={'startRow':_0x4aba0b+0x2,'endRow':_0x4aba0b+0xe,'startColumn':_0x38efc8,'endColumn':_0x38efc8+0x6};return[_0x358f8f,_0x3ceefb];}function _0xe34778(_0x17604f,_0x13330a,_0x5cdaea){const _0x431eab=_0x3481c0,{cornerView:_0x3e3cb1,rowView:_0xa7f308,colView:_0x45e833,pageView:_0x594e76}=_0x17604f,{row:_0x1bc81a,col:_0x446d42}=_0x13330a;if(_0x5cdaea)return{'rowCount':_0x1c23aa+_0x1bc81a,'colCount':_0x39cfa5+_0x446d42};const _0x56ee0e=_0x594e76[_0x431eab(0x4a5)]>-0x1?_0x594e76[_0x431eab(0x4a5)]+0x1:0x0,_0xee4071=_0x594e76[_0x431eab(0x32f)]>-0x1?_0x594e76['lastCol']:0x0,_0x183ac7=_0x1bc81a+_0x56ee0e+(_0x56ee0e?0x1:0x0)+_0x3e3cb1[_0x431eab(0x458)]+_0xa7f308['rowCount'],_0x3b9bdc=_0x446d42+_0xee4071,_0x5ae969=_0x446d42+_0x3e3cb1[_0x431eab(0x3c2)]+_0x45e833[_0x431eab(0x3c2)],_0x3544b1=Math[_0x431eab(0x49e)](_0x3b9bdc,_0x5ae969);return{'rowCount':_0x183ac7,'colCount':_0x3544b1};}function _0x563a64(_0x38669b,_0x5831e1,_0xdac68a,_0x355678){const _0x170936=_0x3481c0,{row:_0x5e6611,col:_0x226529,unitId:_0x5c3837,subUnitId:_0x2ca8d4}=_0xdac68a,_0x3aa462=_0xe34778(_0x5831e1,{'row':_0x5e6611,'col':_0x226529},_0x355678),_0x2f48a0=_0x38669b['get'](_0x118f40['IUniverInstanceService']),_0x5ccbdc=_0x137f99['getSheetCommandTarget'](_0x2f48a0,{'unitId':_0x5c3837,'subUnitId':_0x2ca8d4}),_0x1a3708=[],_0x5c261e=[];if(!_0x5ccbdc)return{'undos':_0x5c261e,'redos':_0x1a3708};const {worksheet:_0x53d9be}=_0x5ccbdc,_0x3e547b=_0x53d9be[_0x170936(0x239)](),_0x812281=_0x53d9be[_0x170936(0x1ee)]();return _0x3e547b<_0x3aa462[_0x170936(0x458)]&&(_0x1a3708[_0x170936(0x21b)]({'id':_0x137f99[_0x170936(0x47b)]['id'],'params':{'unitId':_0x5c3837,'subUnitId':_0x2ca8d4,'range':{'startRow':_0x3e547b,'endRow':_0x3aa462[_0x170936(0x458)]-0x1,'startColumn':0x0,'endColumn':_0x812281-0x1}}}),_0x5c261e[_0x170936(0x21b)]({'id':_0x137f99[_0x170936(0x480)]['id'],'params':{'unitId':_0x5c3837,'subUnitId':_0x2ca8d4,'range':{'startRow':_0x3e547b,'endRow':_0x3aa462[_0x170936(0x458)]-0x1,'startColumn':0x0,'endColumn':_0x812281-0x1}}})),_0x812281<_0x3aa462[_0x170936(0x3c2)]&&(_0x1a3708[_0x170936(0x21b)]({'id':_0x137f99[_0x170936(0x259)]['id'],'params':{'unitId':_0x5c3837,'subUnitId':_0x2ca8d4,'range':{'startRow':0x0,'endRow':_0x3e547b-0x1,'startColumn':_0x812281,'endColumn':_0x3aa462['colCount']-0x1}}}),_0x5c261e[_0x170936(0x21b)]({'id':_0x137f99[_0x170936(0x448)]['id'],'params':{'unitId':_0x5c3837,'subUnitId':_0x2ca8d4,'range':{'startRow':0x0,'endRow':_0x3e547b-0x1,'startColumn':_0x812281,'endColumn':_0x3aa462[_0x170936(0x3c2)]-0x1}}})),{'undos':_0x5c261e,'redos':_0x1a3708};}function _0x355c67(_0xa34532){const _0x3f31be=_0x3481c0;let _0x17f27b=0x0;for(let _0x28a664=0x0;_0x28a664<_0xa34532['length'];_0x28a664++){const _0x12d8dc=_0xa34532[_0x3f31be(0x422)](_0x28a664);_0x12d8dc>=0x4e00&&_0x12d8dc<=0x9fff||_0x12d8dc>=0x3000&&_0x12d8dc<=0x303f||_0x12d8dc>=0xff00&&_0x12d8dc<=0xffef?_0x17f27b+=0x2:_0x17f27b+=0x1;}return _0x17f27b;}function _0x43f70b(_0x38507f,_0x541db4,_0x3b92b5,_0x2c01db){const _0x3a11df=_0x3481c0;var _0x57e1f9,_0x8f0109,_0x5cc18a,_0x394148;const {rowCount:_0x1fd482,colCount:_0x44467e,headerMap:_0x490b3c}=_0x38507f,_0x2fb045=0x64,_0x21dbf7=Math[_0x3a11df(0x3e9)](_0x1fd482,_0x2fb045),_0x14a59f=Math[_0x3a11df(0x3e9)](_0x44467e,_0x2fb045);let _0x41b916='',_0x1bee86=0x0;for(let _0x4e07a8=0x0;_0x4e07a8<_0x21dbf7;_0x4e07a8++)for(let _0x22c151=0x0;_0x22c151<_0x14a59f;_0x22c151++){const _0x2f726d={...(_0x8f0109=(_0x57e1f9=_0x38507f[_0x3a11df(0x257)])==null?void 0x0:_0x57e1f9[_0x4e07a8])==null?void 0x0:_0x8f0109[_0x22c151]},_0x461454=(_0x5cc18a=_0x490b3c[_0x4e07a8])==null?void 0x0:_0x5cc18a['tableFieldId'],_0x2e688e=_0x2c01db[_0x461454];let _0x281ec1=_0x38507f[_0x3a11df(0x3e1)](_0x4e07a8,_0x22c151);if(_0x2f726d){const _0x30cfbd=_0x3b92b5?_0x22c151===0x0&&((_0x394148=_0x38507f[_0x3a11df(0x23a)](_0x22c151+0x1))==null?void 0x0:_0x394148[_0x3a11df(0x227)]):!0x1;_0x281ec1=_0x5930ec(_0x2f726d,_0x30cfbd,_0x2e688e,_0x541db4);}if(_0x281ec1!==void 0x0){const _0x1e358f=_0x355c67(String(_0x281ec1));_0x1bee86<_0x1e358f&&(_0x41b916=String(_0x281ec1),_0x1bee86=_0x1e358f);}}return _0x41b916;}function _0x175952(_0x3461bd){const _0x3dad30=_0x3481c0,{rowCount:_0x50c322,colCount:_0x4e1abc}=_0x3461bd;let _0x4507f7='',_0x713099=0x0;for(let _0x56e8ec=_0x50c322-0x1;_0x56e8ec>0x0&&_0x56e8ec>_0x50c322-0x3;_0x56e8ec--)for(let _0x5bdb34=0x0;_0x5bdb34<_0x4e1abc;_0x5bdb34++){const _0x597b19=_0x3461bd[_0x3dad30(0x3e1)](_0x56e8ec,_0x5bdb34);if(_0x597b19!==void 0x0){const _0x240775=String(_0x597b19)[_0x3dad30(0x4a0)];_0x713099<_0x240775&&(_0x4507f7=String(_0x597b19),_0x713099=_0x240775);}}return _0x4507f7;}function _0x523cbf(_0x3d0e90){const _0x5d68d2=_0x3481c0,{rowCount:_0x5d5b81,colCount:_0x2ea2b4}=_0x3d0e90;let _0x3bebc8='',_0x136569=0x0;for(let _0x2eee85=0x0;_0x2eee85<_0x5d5b81;_0x2eee85++)for(let _0x42913c=0x0;_0x42913c<_0x2ea2b4;_0x42913c++){const _0x3812fd=_0x3d0e90[_0x5d68d2(0x3e1)](_0x2eee85,_0x42913c);if(_0x3812fd!==void 0x0){const _0x82d47e=String(_0x3812fd)[_0x5d68d2(0x4a0)];_0x136569<_0x82d47e&&(_0x3bebc8=String(_0x3812fd),_0x136569=_0x82d47e);}}return _0x3bebc8;}function _0xb91f33(_0x7b7a86,_0x575836){const _0x1d53b7=_0x3481c0,{rowFields:_0x4bbe16,columnFields:_0x2f4b83,valueFields:_0x252b7f,filterFields:_0x4853c6,dimension:_0x33b851,measure:_0x40eae2}=_0x575836;for(const _0x118c9d of _0x4bbe16){const _0xe5cb86=_0x33b851[_0x118c9d];_0xe5cb86&&_0x7b7a86[_0x1d53b7(0x421)](_0xe5cb86[_0x1d53b7(0x4d9)])&&(_0x7b7a86[_0x1d53b7(0x22f)](_0xe5cb86[_0x1d53b7(0x4d9)],_0xe4a43f[_0x1d53b7(0x444)]['Row'],void 0x0,_0x118c9d),_0xe5cb86['displayName']&&_0x7b7a86[_0x1d53b7(0x417)](_0xe5cb86['id'],_0xe5cb86[_0x1d53b7(0x41d)]),_0xe5cb86[_0x1d53b7(0x2f5)]&&_0x7b7a86['setSortInfo'](_0xe5cb86['id'],_0xe5cb86['sortInfo']),_0xe5cb86[_0x1d53b7(0x432)]&&_0x7b7a86['setLabelFilterInfo'](_0xe5cb86['id'],_0xe5cb86['filterInfo']));}for(const _0x4e2d99 of _0x2f4b83){const _0x1210e6=_0x33b851[_0x4e2d99];_0x1210e6&&_0x7b7a86[_0x1d53b7(0x421)](_0x1210e6[_0x1d53b7(0x4d9)])&&(_0x7b7a86[_0x1d53b7(0x22f)](_0x1210e6[_0x1d53b7(0x4d9)],_0xe4a43f['PivotTableFiledAreaEnum'][_0x1d53b7(0x387)],void 0x0,_0x4e2d99),_0x1210e6[_0x1d53b7(0x2f5)]&&_0x7b7a86[_0x1d53b7(0x42e)](_0x1210e6['id'],_0x1210e6[_0x1d53b7(0x2f5)]),_0x1210e6[_0x1d53b7(0x432)]&&_0x7b7a86[_0x1d53b7(0x246)](_0x1210e6['id'],_0x1210e6[_0x1d53b7(0x432)]),_0x1210e6[_0x1d53b7(0x41d)]&&_0x7b7a86[_0x1d53b7(0x417)](_0x1210e6['id'],_0x1210e6['displayName']));}for(const _0x56f8ad of _0x4853c6){const _0x6e6a52=_0x33b851[_0x56f8ad];_0x6e6a52&&_0x7b7a86[_0x1d53b7(0x421)](_0x6e6a52['dataFieldId'])&&(_0x7b7a86[_0x1d53b7(0x22f)](_0x6e6a52[_0x1d53b7(0x4d9)],_0xe4a43f[_0x1d53b7(0x444)][_0x1d53b7(0x1dd)],void 0x0,_0x56f8ad),_0x6e6a52[_0x1d53b7(0x2f5)]&&_0x7b7a86[_0x1d53b7(0x42e)](_0x6e6a52['id'],_0x6e6a52[_0x1d53b7(0x2f5)]),_0x6e6a52[_0x1d53b7(0x432)]&&_0x7b7a86[_0x1d53b7(0x246)](_0x6e6a52['id'],_0x6e6a52[_0x1d53b7(0x432)]),_0x6e6a52[_0x1d53b7(0x41d)]&&_0x7b7a86[_0x1d53b7(0x417)](_0x6e6a52['id'],_0x6e6a52['displayName']));}for(const _0x3fb469 of _0x252b7f){const _0x9cb47c=_0x40eae2[_0x3fb469];_0x9cb47c&&_0x7b7a86['getDataFieldByDataFieldId'](_0x9cb47c[_0x1d53b7(0x4d9)])&&(_0x7b7a86[_0x1d53b7(0x22f)](_0x9cb47c[_0x1d53b7(0x4d9)],_0xe4a43f[_0x1d53b7(0x444)][_0x1d53b7(0x38b)],void 0x0,_0x3fb469),_0x9cb47c['subtotal']!==void 0x0&&_0x7b7a86[_0x1d53b7(0x3ef)](_0x3fb469,_0x9cb47c[_0x1d53b7(0x465)]),_0x9cb47c[_0x1d53b7(0x238)]&&_0x7b7a86[_0x1d53b7(0x1d2)](_0x3fb469,_0x9cb47c[_0x1d53b7(0x238)]),_0x9cb47c['displayName']&&_0x7b7a86['renameField'](_0x9cb47c['id'],_0x9cb47c['displayName']));}const _0x41202e=_0x575836[_0x1d53b7(0x45b)];for(const {fieldId:_0x90d93b,filterInfo:_0x9db962}of _0x41202e)_0x7b7a86[_0x1d53b7(0x461)](_0x90d93b,_0x9db962);}function _0x29cf08(_0x201d76,_0x1c8dc4){const _0x51ff14=_0x3481c0,_0x458e7d=[];_0x1c8dc4===_0xe4a43f['PivotTableFiledAreaEnum'][_0x51ff14(0x1f3)]&&_0x201d76[_0x51ff14(0x426)](_0xe4a43f['PivotTableFiledAreaEnum'][_0x51ff14(0x1f3)],_0x1ec0de=>{const _0x5a0241=_0x51ff14;_0x458e7d[_0x5a0241(0x21b)](_0x1ec0de[_0x5a0241(0x371)]());}),_0x1c8dc4===_0xe4a43f[_0x51ff14(0x444)][_0x51ff14(0x387)]&&_0x201d76[_0x51ff14(0x426)](_0xe4a43f[_0x51ff14(0x444)][_0x51ff14(0x387)],_0x42f1c5=>{const _0x23beba=_0x51ff14;_0x458e7d[_0x23beba(0x21b)](_0x42f1c5[_0x23beba(0x371)]());}),_0x1c8dc4===_0xe4a43f[_0x51ff14(0x444)]['Filter']&&_0x201d76[_0x51ff14(0x426)](_0xe4a43f[_0x51ff14(0x444)][_0x51ff14(0x1dd)],_0x267662=>{const _0x41cd0c=_0x51ff14;_0x458e7d['push'](_0x267662[_0x41cd0c(0x371)]());}),_0x1c8dc4===_0xe4a43f[_0x51ff14(0x444)][_0x51ff14(0x38b)]&&_0x201d76[_0x51ff14(0x426)](_0xe4a43f[_0x51ff14(0x444)][_0x51ff14(0x38b)],_0x5c4e8a=>{const _0x1b930c=_0x51ff14;_0x458e7d['push'](_0x5c4e8a[_0x1b930c(0x371)]());}),_0x1c8dc4===void 0x0&&_0x201d76[_0x51ff14(0x3f6)](_0xe5fa9f=>{const _0x223bfa=_0x51ff14;_0x458e7d[_0x223bfa(0x21b)](_0xe5fa9f['getId']());});const _0x261736=_0x458e7d['length'];for(let _0x2f2fd2=_0x261736-0x1;_0x2f2fd2>=0x0;_0x2f2fd2--)_0x201d76[_0x51ff14(0x1bf)](_0x458e7d[_0x2f2fd2]);const _0x2e8a9a=_0x201d76['getValueFilterInfos']();for(const _0x5d870c in _0x2e8a9a)_0x201d76['removeValueFilterInfo'](_0x5d870c);}function _0x11b475(_0x2b1513,_0x545ff2){const _0x1dfcc6=_0x3481c0,_0x56b1d5=new Date(_0xe4a43f['excelDateToUnixMilliseconds'](_0x545ff2)),_0x7375df=new Date(_0xe4a43f['excelDateToUnixMilliseconds'](_0x2b1513)),_0x3f0580=_0x56b1d5[_0x1dfcc6(0x214)](),_0x45a9a3=_0x7375df[_0x1dfcc6(0x214)](),_0x14ea33=_0x56b1d5[_0x1dfcc6(0x2c6)](),_0x5ead8b=_0x7375df[_0x1dfcc6(0x2c6)](),_0x18e781=_0x56b1d5[_0x1dfcc6(0x38f)](),_0x4ba927=_0x7375df['getDate'](),_0x17a039=_0x3f0580===_0x45a9a3,_0x519900=_0x17a039&&_0x14ea33===_0x5ead8b;return _0x17a039&&_0x519900&&!(_0x519900&&_0x18e781===_0x4ba927)?_0xe4a43f['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x17a039&&!_0x519900?_0xe4a43f['PivotDateGroupFieldDateTypeEnum'][_0x1dfcc6(0x284)]:_0xe4a43f['PivotDateGroupFieldDateTypeEnum'][_0x1dfcc6(0x1c2)];}function _0x38e824(_0x11fa2b,_0x553eb8){const _0x14c4a1=_0x3481c0,_0x243d65=_0x11fa2b[_0x14c4a1(0x232)](_0x27a419[_0x14c4a1(0x2ec)])['getTextInfo']();let _0x1bd41f='';switch(_0x553eb8){case _0xe4a43f[_0x14c4a1(0x3bd)][_0x14c4a1(0x354)]:_0x1bd41f=_0x243d65['sheets-pivot.dateGroup.yearMonthDate'];break;case _0xe4a43f[_0x14c4a1(0x3bd)][_0x14c4a1(0x284)]:_0x1bd41f=_0x243d65[_0x14c4a1(0x362)];break;case _0xe4a43f[_0x14c4a1(0x3bd)][_0x14c4a1(0x1c2)]:_0x1bd41f=_0x243d65[_0x14c4a1(0x47d)];break;case _0xe4a43f[_0x14c4a1(0x3bd)]['Month']:_0x1bd41f=_0x243d65['sheets-pivot.dateGroup.month'];break;case _0xe4a43f[_0x14c4a1(0x3bd)][_0x14c4a1(0x3c1)]:_0x1bd41f=_0x243d65[_0x14c4a1(0x3e8)];break;case _0xe4a43f[_0x14c4a1(0x3bd)][_0x14c4a1(0x4c9)]:_0x1bd41f=_0x243d65[_0x14c4a1(0x2f9)];break;case _0xe4a43f['PivotDateGroupFieldDateTypeEnum'][_0x14c4a1(0x279)]:_0x1bd41f=_0x243d65[_0x14c4a1(0x481)];break;case _0xe4a43f['PivotDateGroupFieldDateTypeEnum'][_0x14c4a1(0x450)]:_0x1bd41f=_0x243d65[_0x14c4a1(0x322)];break;case _0xe4a43f[_0x14c4a1(0x3bd)][_0x14c4a1(0x288)]:_0x1bd41f=_0x243d65[_0x14c4a1(0x1c7)];break;case _0xe4a43f[_0x14c4a1(0x3bd)]['MonthDate']:_0x1bd41f=_0x243d65['sheets-pivot.dateGroup.monthDate'];break;case _0xe4a43f[_0x14c4a1(0x3bd)][_0x14c4a1(0x2b7)]:_0x1bd41f=_0x243d65['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x1bd41f='';break;}return _0x1bd41f;}const _0x69bd0c=_0x3481c0(0x243),_0xdbde97={};var _0x410d8c=Object[_0x3481c0(0x1cd)],_0x2828d1=(_0x9ecf5e,_0xe496a7,_0x5f0398,_0x128220)=>{const _0x2e488e=_0x3481c0;for(var _0x1cad2e=_0x128220>0x1?void 0x0:_0x128220?_0x410d8c(_0xe496a7,_0x5f0398):_0xe496a7,_0x5d65d3=_0x9ecf5e[_0x2e488e(0x4a0)]-0x1,_0x33603e;_0x5d65d3>=0x0;_0x5d65d3--)(_0x33603e=_0x9ecf5e[_0x5d65d3])&&(_0x1cad2e=_0x33603e(_0x1cad2e)||_0x1cad2e);return _0x1cad2e;},_0x29d47b=(_0x272e1a,_0x52c9a9)=>(_0x48592c,_0x31423c)=>_0x52c9a9(_0x48592c,_0x31423c,_0x272e1a);_0x27a419['SheetsPivotTableConfigModel']=class extends _0x118f40['Disposable']{constructor(_0x37b232,_0x1b0077,_0x1461c2,_0x584bb3,_0x151d49){const _0x4a26a3=_0x3481c0;super(),_0x18cb5f(this,'_model',new Map()),_0x18cb5f(this,_0x4a26a3(0x2f0),new Map()),_0x18cb5f(this,_0x4a26a3(0x37b),new Map()),_0x18cb5f(this,_0x4a26a3(0x355),new Map()),_0x18cb5f(this,'_configVersion$',new _0x19259a[(_0x4a26a3(0x1bc))]()),_0x18cb5f(this,'_pivotInitCompleted$',new _0x19259a[(_0x4a26a3(0x1bc))]()),_0x18cb5f(this,_0x4a26a3(0x27d),this[_0x4a26a3(0x4df)][_0x4a26a3(0x433)]()),_0x18cb5f(this,_0x4a26a3(0x1e7),new _0x19259a['Subject']()),_0x18cb5f(this,_0x4a26a3(0x2a5),this[_0x4a26a3(0x1e7)][_0x4a26a3(0x433)]()),_0x18cb5f(this,_0x4a26a3(0x3c3),{}),_0x18cb5f(this,'configVersion$',this[_0x4a26a3(0x48b)]['asObservable']()),(this[_0x4a26a3(0x474)]=_0x37b232,this[_0x4a26a3(0x48c)]=_0x1b0077,this[_0x4a26a3(0x3ba)]=_0x1461c2,this['_resourceManagerService']=_0x584bb3,this[_0x4a26a3(0x3b3)]=_0x151d49,this['_initLocale'](),this[_0x4a26a3(0x484)]());const _0x2d077e=this[_0x4a26a3(0x3b3)][_0x4a26a3(0x4a3)](_0x69bd0c);(_0x2d077e==null?void 0x0:_0x2d077e['notExecuteFormula'])===!0x0&&this[_0x4a26a3(0x200)]();}[_0x3481c0(0x484)](){const _0x16ef43=_0x3481c0;this[_0x16ef43(0x2aa)](this[_0x16ef43(0x3ba)][_0x16ef43(0x27c)](_0x118f40[_0x16ef43(0x26f)][_0x16ef43(0x37c)])[_0x16ef43(0x28c)](_0x3f1357=>{const _0x11fe7a=_0x16ef43;this[_0x11fe7a(0x4ca)](_0x3f1357['getUnitId']());}));}[_0x3481c0(0x1db)](){const _0x2bd3a8=_0x3481c0;this[_0x2bd3a8(0x4df)][_0x2bd3a8(0x44d)](!0x0);}[_0x3481c0(0x306)](){const _0x376f79=_0x3481c0,_0x235c5d=_0x5a9037(this[_0x376f79(0x474)],_0x41da80,'',{});this['_textInfo']=_0x235c5d,this['_commandService'][_0x376f79(0x22e)](_0x23291c['id'],{'textInfo':_0x235c5d},{'onlyLocal':!0x0});}[_0x3481c0(0x1c0)](){const _0x4d7374=_0x3481c0;return this[_0x4d7374(0x3c3)];}[_0x3481c0(0x378)](_0x3084e1,_0x4ff724,_0x245135,_0x2181e6,_0x58d27a){const _0x32d1a3=_0x3481c0;this[_0x32d1a3(0x3b5)](_0x3084e1,_0x4ff724,_0x245135,_0x2181e6),this[_0x32d1a3(0x372)](_0x3084e1,_0x4ff724,_0x245135,_0x58d27a);}['getPivotTableConfig'](_0x33edcc,_0x403589,_0x212e3f){const _0x5767ed=_0x3481c0;var _0x37ad25;const _0x500d62=(_0x37ad25=this[_0x5767ed(0x36f)][_0x5767ed(0x232)](_0x33edcc))==null?void 0x0:_0x37ad25[_0x5767ed(0x232)](_0x403589);if(_0x500d62)return _0x500d62['get'](_0x212e3f);}[_0x3481c0(0x386)](_0x287f4e,_0x176da4){const _0xfa52a=_0x3481c0,_0x50963a=this[_0xfa52a(0x36f)][_0xfa52a(0x232)](_0x287f4e);if(_0x50963a){for(const [_0x3ae4d2,_0x56846e]of _0x50963a[_0xfa52a(0x29a)]())for(const [_0xb718e5,_0x21aa1a]of _0x56846e[_0xfa52a(0x29a)]())if(_0xb718e5===_0x176da4)return _0x21aa1a[_0xfa52a(0x3db)];}}[_0x3481c0(0x285)](_0x53333b,_0x3f075d,_0x3f5d16){const _0x52eeba=_0x3481c0,_0x23204f=this[_0x52eeba(0x418)](_0x53333b,_0x3f075d,_0x3f5d16);return _0x23204f==null?void 0x0:_0x23204f[_0x52eeba(0x3db)];}[_0x3481c0(0x2cc)](_0x45d7e3,_0x1485b3){const _0x161d3b=_0x3481c0;var _0xd5e6e1;return(_0xd5e6e1=this['_model'][_0x161d3b(0x232)](_0x45d7e3))==null?void 0x0:_0xd5e6e1[_0x161d3b(0x232)](_0x1485b3);}[_0x3481c0(0x3c8)](_0x5179f4,_0x34c6e9,_0x3b7dbd,_0x16e4fd){const _0x5da54b=_0x3481c0,_0x1913c9=this[_0x5da54b(0x3fc)](_0x5179f4,_0x34c6e9);_0x16e4fd?_0x1913c9[_0x5da54b(0x375)](_0x3b7dbd,_0x16e4fd):_0x1913c9[_0x5da54b(0x4bc)](_0x3b7dbd),this[_0x5da54b(0x1e7)][_0x5da54b(0x44d)]({'unitId':_0x5179f4,'subUnitId':_0x34c6e9,'pivotTableId':_0x3b7dbd,'pivotTableConfig':_0x16e4fd});}[_0x3481c0(0x477)](_0x17fd95,_0x2f1ca2){const _0x3c565d=_0x3481c0;var _0x40c8d2;return(_0x40c8d2=this['_collectionConfigModel'][_0x3c565d(0x232)](_0x17fd95))==null?void 0x0:_0x40c8d2[_0x3c565d(0x32d)][_0x2f1ca2];}[_0x3481c0(0x43b)](_0x4dfdb2,_0x17581c){const _0xa337c6=_0x3481c0;this['_collectionConfigModel'][_0xa337c6(0x375)](_0x4dfdb2,_0x17581c),this[_0xa337c6(0x48b)][_0xa337c6(0x44d)](Math['random']());}[_0x3481c0(0x3fc)](_0x28bd63,_0x1a803c){const _0x2e2201=_0x3481c0;let _0x57e174=this[_0x2e2201(0x36f)][_0x2e2201(0x232)](_0x28bd63);_0x57e174||(_0x57e174=new Map(),this[_0x2e2201(0x36f)][_0x2e2201(0x375)](_0x28bd63,_0x57e174));let _0x55add3=_0x57e174['get'](_0x1a803c);return _0x55add3||(_0x55add3=new Map(),_0x57e174[_0x2e2201(0x375)](_0x1a803c,_0x55add3)),_0x55add3;}[_0x3481c0(0x4e3)](_0x16fb32,_0x3fd536){const _0x2dcff6=_0x3481c0;let _0x2a5653=this[_0x2dcff6(0x37b)]['get'](_0x16fb32);_0x2a5653||(_0x2a5653=new Map(),this[_0x2dcff6(0x37b)]['set'](_0x16fb32,_0x2a5653));let _0x1e3a5b=_0x2a5653[_0x2dcff6(0x232)](_0x3fd536);return _0x1e3a5b||(_0x1e3a5b=new Map(),_0x2a5653['set'](_0x3fd536,_0x1e3a5b)),_0x1e3a5b;}[_0x3481c0(0x363)](_0xfdb06d,_0x27040c){const _0x192bca=_0x3481c0;let _0x5ce672=this[_0x192bca(0x355)][_0x192bca(0x232)](_0xfdb06d);_0x5ce672||(_0x5ce672=new Map(),this[_0x192bca(0x355)][_0x192bca(0x375)](_0xfdb06d,_0x5ce672));let _0x557a1f=_0x5ce672['get'](_0x27040c);return _0x557a1f||(_0x557a1f=new Map(),_0x5ce672[_0x192bca(0x375)](_0x27040c,_0x557a1f)),_0x557a1f;}[_0x3481c0(0x372)](_0x244539,_0x1b38cc,_0x25b24e,_0x528acc){const _0x38f8fa=_0x3481c0;var _0x9fd4e7;const _0x42f8e6=this['_ensurePivotTableRangeInfo'](_0x244539,_0x1b38cc),_0x173d32=(_0x9fd4e7=_0x42f8e6[_0x38f8fa(0x232)](_0x25b24e))==null?void 0x0:_0x9fd4e7[_0x38f8fa(0x27f)];_0x42f8e6[_0x38f8fa(0x375)](_0x25b24e,{'oldRangeInfo':_0x173d32,'rangeInfo':_0x528acc});}['updatePivotTableMatrixInfo'](_0x284ceb,_0x23956f,_0x7cf7aa,_0x5a43f5){const _0x85bb28=_0x3481c0;var _0x564da9;const _0x2ed52c=this[_0x85bb28(0x363)](_0x284ceb,_0x23956f),_0x1918a8=(_0x564da9=_0x2ed52c[_0x85bb28(0x232)](_0x7cf7aa))==null?void 0x0:_0x564da9[_0x85bb28(0x264)];_0x2ed52c[_0x85bb28(0x375)](_0x7cf7aa,{'oldMatrix':_0x1918a8,'matrix':_0x5a43f5});}['getPivotTableRangeInfo'](_0x5bdaf2,_0x30a10f,_0x2f11f0){const _0xe7598e=_0x3481c0;var _0x4d7874,_0x31701;return(_0x31701=(_0x4d7874=this['_pivotTableRangeInfo'][_0xe7598e(0x232)](_0x5bdaf2))==null?void 0x0:_0x4d7874['get'](_0x30a10f))==null?void 0x0:_0x31701[_0xe7598e(0x232)](_0x2f11f0);}[_0x3481c0(0x2e6)](_0x4c515e,_0x58959c,_0xaeff45){const _0x2d81e4=_0x3481c0;var _0x1c0a90,_0x393f9d;return(_0x393f9d=(_0x1c0a90=this['_pivotTableMatrixInfo'][_0x2d81e4(0x232)](_0x4c515e))==null?void 0x0:_0x1c0a90['get'](_0x58959c))==null?void 0x0:_0x393f9d[_0x2d81e4(0x232)](_0xaeff45);}[_0x3481c0(0x4ca)](_0x1b7bd4){const _0x47017d=_0x3481c0;this[_0x47017d(0x36f)]['delete'](_0x1b7bd4),this[_0x47017d(0x2f0)][_0x47017d(0x4bc)](_0x1b7bd4);}[_0x3481c0(0x242)](_0xed2e81){const _0x59ee92=_0x3481c0,_0x267d73={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x59ee92(0x2f0)][_0x59ee92(0x232)](_0xed2e81)&&(_0x267d73[_0x59ee92(0x206)][_0xed2e81]=this[_0x59ee92(0x2f0)]['get'](_0xed2e81)),this[_0x59ee92(0x36f)]['get'](_0xed2e81)){_0x267d73['pivotTableConfigs'][_0xed2e81]={};const _0x3af312=this[_0x59ee92(0x36f)][_0x59ee92(0x232)](_0xed2e81);_0x3af312!=null&&_0x3af312[_0x59ee92(0x1de)]&&[..._0x3af312['keys']()][_0x59ee92(0x1d7)](_0x4e95ef=>{const _0x2b449b=_0x59ee92,_0x431d45=_0x3af312[_0x2b449b(0x232)](_0x4e95ef);_0x431d45!=null&&_0x431d45[_0x2b449b(0x1de)]&&(_0x267d73['pivotTableConfigs'][_0xed2e81][_0x4e95ef]={},[..._0x431d45['keys']()][_0x2b449b(0x1d7)](_0x56db37=>{const _0x2bacd8=_0x2b449b,_0x5b099a=_0x431d45[_0x2bacd8(0x232)](_0x56db37);_0x5b099a&&(_0x267d73[_0x2bacd8(0x4d8)][_0xed2e81][_0x4e95ef][_0x56db37]=_0x5b099a);}));});}return _0x267d73;}[_0x3481c0(0x200)](){const _0x38c0e9=_0x3481c0;this[_0x38c0e9(0x2aa)](this[_0x38c0e9(0x21d)][_0x38c0e9(0x2a8)]({'toJson':_0x206d69=>JSON['stringify'](this[_0x38c0e9(0x242)](_0x206d69)),'parseJson':_0x8abc2f=>({}),'businesses':[_0x118f40['UniverInstanceType'][_0x38c0e9(0x37c)]],'pluginName':_0x1de706,'onLoad':(_0xef13cd,_0x556eab)=>{},'onUnLoad':_0x22d65e=>{const _0x3050e3=_0x38c0e9;this[_0x3050e3(0x4ca)](_0x22d65e);}}));}},_0x27a419[_0x3481c0(0x32b)]=_0x2828d1([_0x29d47b(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3f7)])),_0x29d47b(0x1,_0x118f40['Inject'](_0x118f40[_0x3481c0(0x3c7)])),_0x29d47b(0x2,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x2f3)])),_0x29d47b(0x3,_0x118f40[_0x3481c0(0x1eb)](_0x118f40['IResourceManagerService'])),_0x29d47b(0x4,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x39c)]))],_0x27a419[_0x3481c0(0x32b)]);var _0x1f6be8=Object['getOwnPropertyDescriptor'],_0x29da8a=(_0x41d7be,_0x34d00c,_0x51d121,_0x280dc7)=>{const _0x4bcf40=_0x3481c0;for(var _0x348449=_0x280dc7>0x1?void 0x0:_0x280dc7?_0x1f6be8(_0x34d00c,_0x51d121):_0x34d00c,_0xd88c5a=_0x41d7be[_0x4bcf40(0x4a0)]-0x1,_0x6ff696;_0xd88c5a>=0x0;_0xd88c5a--)(_0x6ff696=_0x41d7be[_0xd88c5a])&&(_0x348449=_0x6ff696(_0x348449)||_0x348449);return _0x348449;},_0x3cdf90=(_0x9de219,_0x534923)=>(_0x57ed71,_0x5c088c)=>_0x534923(_0x57ed71,_0x5c088c,_0x9de219);_0x27a419[_0x3481c0(0x300)]=class extends _0x118f40['Disposable']{constructor(_0x1c174b,_0x1482cd,_0x5ac5ee,_0x49522e,_0x78a3ab){const _0x213e1a=_0x3481c0;super(),_0x18cb5f(this,'_pivotRenderInfoCache',new Map()),_0x18cb5f(this,_0x213e1a(0x43e),new Map()),_0x18cb5f(this,'_markDirty$',new _0x19259a[(_0x213e1a(0x1bc))]()),_0x18cb5f(this,_0x213e1a(0x488),this[_0x213e1a(0x208)]['asObservable']()),_0x18cb5f(this,'_viewUpdate$',new _0x19259a[(_0x213e1a(0x1bc))]()),_0x18cb5f(this,_0x213e1a(0x2bc),this[_0x213e1a(0x48f)][_0x213e1a(0x433)]()),_0x18cb5f(this,_0x213e1a(0x3c3)),(this[_0x213e1a(0x2ca)]=_0x1c174b,this['_injector']=_0x1482cd,this['_sheetsPivotTableConfigModel']=_0x5ac5ee,this[_0x213e1a(0x3ba)]=_0x49522e,this['_exclusiveRangeService']=_0x78a3ab,this['_initLocale'](),this['_initUnitDisposed']());}['_initUnitDisposed'](){const _0x1e2ab6=_0x3481c0;this[_0x1e2ab6(0x2aa)](this[_0x1e2ab6(0x3ba)][_0x1e2ab6(0x27c)](_0x118f40[_0x1e2ab6(0x26f)][_0x1e2ab6(0x37c)])[_0x1e2ab6(0x28c)](_0x2d2433=>{const _0x15dc4a=_0x1e2ab6;this[_0x15dc4a(0x4ca)](_0x2d2433[_0x15dc4a(0x3cc)]());}));}[_0x3481c0(0x306)](){const _0x5bf6d4=_0x3481c0;this['_textInfo']=_0x5a9037(this[_0x5bf6d4(0x474)],_0x41da80,'',{});}[_0x3481c0(0x3d8)](_0x13b1e0){const _0x281173=_0x3481c0,{view:_0x13bb3c,unitId:_0x43d91a,subUnitId:_0x43f833,pivotTableId:_0x11fcd1,type:_0x5b79d5}=_0x13b1e0,_0x15b81e=this[_0x281173(0x2c3)][_0x281173(0x418)](_0x43d91a,_0x43f833,_0x11fcd1);if(!_0x13bb3c||!_0x15b81e||_0x5b79d5===_0xcddcb7[_0x281173(0x493)])return;const {pageView:_0x421fa8,cornerView:_0x49b02e,rowView:_0x1ea3d8,colView:_0x208181,dataView:_0x4ab96a}=_0x13bb3c,_0x3a7ad3=_0x15b81e['targetCellInfo'],_0x35d29c=_0x15b81e[_0x281173(0x46e)],_0x488bdb=this[_0x281173(0x275)](_0x43d91a,_0x43f833),_0x12c75e=this[_0x281173(0x42a)](_0x43d91a,_0x43f833,_0x11fcd1);if(_0x35d29c)return this['_updateRenderEmptyCache'](_0x13b1e0,_0x488bdb,_0x3a7ad3,_0x12c75e);{const _0x183fd9=_0x5d19b8(_0x3a7ad3,_0x421fa8,!0x0),_0x328928=_0x421fa8[_0x281173(0x4a5)]>=0x0?_0x421fa8['lastRow']+0x1:0x0,_0x3bedbc=_0x49b02e['getRowCount'](),_0x1d0cf3=_0x49b02e[_0x281173(0x1f2)](),_0x54ef49=_0x183fd9[_0x281173(0x4a0)]>0x0?_0x22118b:0x0,_0x4be911=_0x5d19b8({'row':_0x3a7ad3['row']+_0x328928+_0x54ef49,'col':_0x3a7ad3[_0x281173(0x34c)]},_0x49b02e,!0x1,!0x1),_0x34734a=_0x5d19b8({'row':_0x3a7ad3[_0x281173(0x1da)]+_0x328928+_0x54ef49+_0x3bedbc,'col':_0x3a7ad3[_0x281173(0x34c)]},_0x1ea3d8,!0x1,!0x0),_0x513c00=_0x5d19b8({'row':_0x3a7ad3[_0x281173(0x1da)]+_0x328928+_0x54ef49,'col':_0x3a7ad3['col']+_0x1d0cf3},_0x208181,!0x1,!0x0),_0xa051d4=_0x5d19b8({'row':_0x3a7ad3['row']+_0x328928+_0x54ef49+_0x3bedbc,'col':_0x3a7ad3[_0x281173(0x34c)]+_0x1d0cf3},_0x4ab96a,!0x1,!0x1);_0x12c75e['rangesInfo']={'rowRanges':_0x34734a,'colRanges':_0x513c00,'cornerRanges':_0x4be911,'dataRanges':_0xa051d4,'pageRanges':_0x183fd9};const _0x262dc5=_0x206ee7(this[_0x281173(0x474)],_0x13bb3c,_0x15b81e,this['_textInfo']),{valueMatrix:_0x232d10,rowInfo:_0x24d6a2,colInfo:_0x164242,cornerInfo:_0x2e392a,rowHeaderMap:_0xba488d,colHeaderMap:_0x4d12b7}=_0x262dc5;return _0x12c75e['areaInfo']={'rowInfo':_0x24d6a2,'colInfo':_0x164242,'cornerInfo':_0x2e392a},_0x12c75e[_0x281173(0x4e0)]={'rowHeaderMap':_0xba488d,'colHeaderMap':_0x4d12b7},_0x232d10[_0x281173(0x1d7)]((_0x4fc1c9,_0x540153)=>{const _0x436ba0=_0x281173;Object[_0x436ba0(0x376)](_0x540153)[_0x436ba0(0x1d7)](_0x710cd7=>{const _0xcf537f=_0x436ba0,_0x260fd3=+_0x710cd7,_0x31ff4e=_0x232d10[_0xcf537f(0x3e1)](_0x4fc1c9,_0x260fd3);_0x488bdb['setValue'](_0x4fc1c9,_0x260fd3,_0x31ff4e);});}),this[_0x281173(0x48f)][_0x281173(0x44d)]({'unitId':_0x43d91a,'subUnitId':_0x43f833,'valueMatrix':_0x488bdb,'rangesCache':_0x12c75e[_0x281173(0x2e0)],'pivotTableId':_0x11fcd1,'type':_0x13b1e0['type']}),this[_0x281173(0x2c3)][_0x281173(0x378)](_0x43d91a,_0x43f833,_0x11fcd1,_0x488bdb,_0x12c75e[_0x281173(0x2e0)]),this[_0x281173(0x326)][_0x281173(0x2dc)](_0x43d91a,_0x43f833,_0x4c66f3,this['_createExclusiveRange'](_0x12c75e[_0x281173(0x2e0)],_0x11fcd1)),{'rangeCache':_0x12c75e[_0x281173(0x2e0)],'matrix':_0x488bdb};}}['_updateRenderEmptyCache'](_0x556523,_0x169aba,_0x1be02b,_0x377541){const _0x1f0a05=_0x3481c0,_0x187188=this[_0x1f0a05(0x2ca)]['t'],{unitId:_0x6e11fb,subUnitId:_0x3ac583,pivotTableId:_0x27a421}=_0x556523,_0x548cce={'filter':_0x187188(_0x1f0a05(0x24d)),'row':_0x187188(_0x1f0a05(0x495)),'column':_0x187188(_0x1f0a05(0x462)),'values':_0x187188('sheets-pivot.emptyPivot.values')},{matrixCache:_0x497eb8,rangesCache:_0x5be8ad}=_0x5f4d3f(_0x548cce,_0x1be02b);return _0x497eb8[_0x1f0a05(0x4e1)]((_0x335df6,_0x4b33bb,_0x4bde1b)=>{const _0x51c759=_0x1f0a05;_0x169aba[_0x51c759(0x2e2)](_0x335df6,_0x4b33bb,_0x4bde1b);}),_0x377541['rangesInfo']=_0x5be8ad,this['_viewUpdate$'][_0x1f0a05(0x44d)]({'unitId':_0x6e11fb,'subUnitId':_0x3ac583,'valueMatrix':_0x169aba,'rangesCache':_0x5be8ad,'pivotTableId':_0x27a421,'type':_0x556523['type'],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x6e11fb,_0x3ac583,_0x27a421,_0x169aba,_0x5be8ad),this['_exclusiveRangeService'][_0x1f0a05(0x2dc)](_0x6e11fb,_0x3ac583,_0x4c66f3,this[_0x1f0a05(0x3c6)](_0x5be8ad,_0x27a421)),{'rangeCache':_0x377541[_0x1f0a05(0x2e0)],'matrix':_0x169aba};}[_0x3481c0(0x3c6)](_0x1845ba,_0x55add0){const _0x520a20=_0x3481c0,_0x1bd310=[],_0x396535=_0x3b81bd(_0x1845ba);for(const _0x4aade5 of _0x396535)_0x1bd310[_0x520a20(0x21b)]({'groupId':_0x55add0,'range':_0x4aade5});return _0x1bd310;}[_0x3481c0(0x43c)](_0x34c520){const _0xa9ec25=_0x3481c0;var _0xaa01a3,_0x477131,_0x21c15b,_0x229639;const {pivotTableId:_0x36658f,unitId:_0x3c7766,subUnitId:_0x4e61f2}=_0x34c520;if(!_0x36658f||!_0x3c7766||!_0x4e61f2)return;const _0x26c570=this[_0xa9ec25(0x275)](_0x3c7766,_0x4e61f2),_0x13addc=(_0x477131=(_0xaa01a3=this[_0xa9ec25(0x412)][_0xa9ec25(0x232)](_0x3c7766))==null?void 0x0:_0xaa01a3[_0xa9ec25(0x232)](_0x4e61f2))==null?void 0x0:_0x477131[_0xa9ec25(0x232)](_0x36658f);if(_0x13addc!=null&&_0x13addc[_0xa9ec25(0x2e0)]){for(const _0x3ba501 of Object[_0xa9ec25(0x376)](_0x13addc[_0xa9ec25(0x2e0)]))_0x13addc[_0xa9ec25(0x2e0)][_0x3ba501][_0xa9ec25(0x1d7)](_0x2b4a10=>{const _0x299cdf=_0xa9ec25;for(let _0x124fef=_0x2b4a10[_0x299cdf(0x321)];_0x124fef<=_0x2b4a10[_0x299cdf(0x403)];_0x124fef++)for(let _0x1946e9=_0x2b4a10['startColumn'];_0x1946e9<=_0x2b4a10[_0x299cdf(0x202)];_0x1946e9++)_0x26c570['realDeleteValue'](_0x124fef,_0x1946e9);});}_0x13addc&&((_0x229639=(_0x21c15b=this[_0xa9ec25(0x412)][_0xa9ec25(0x232)](_0x3c7766))==null?void 0x0:_0x21c15b[_0xa9ec25(0x232)](_0x4e61f2))==null||_0x229639[_0xa9ec25(0x4bc)](_0x36658f)),this['_viewUpdate$']['next']({'unitId':_0x3c7766,'subUnitId':_0x4e61f2,'valueMatrix':_0x26c570,'pivotTableId':_0x36658f,'rangesCache':void 0x0,'type':_0x34c520[_0xa9ec25(0x22c)]}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x3c7766,_0x4e61f2,_0x4c66f3,_0x36658f);}['_ensurePivotItemRenderInfoCache'](_0x1dd4d7,_0x465f26,_0x43849d){const _0x59ef5c=_0x3481c0;var _0x1ce780,_0x5e37a3,_0x1d00f9,_0x5398df,_0x4222fa,_0x486745;return this[_0x59ef5c(0x412)][_0x59ef5c(0x1bb)](_0x1dd4d7)||this['_pivotRenderInfoCache'][_0x59ef5c(0x375)](_0x1dd4d7,new Map()),(_0x1ce780=this[_0x59ef5c(0x412)][_0x59ef5c(0x232)](_0x1dd4d7))!=null&&_0x1ce780[_0x59ef5c(0x1bb)](_0x465f26)||(_0x5e37a3=this[_0x59ef5c(0x412)][_0x59ef5c(0x232)](_0x1dd4d7))==null||_0x5e37a3[_0x59ef5c(0x375)](_0x465f26,new Map()),(_0x5398df=(_0x1d00f9=this[_0x59ef5c(0x412)]['get'](_0x1dd4d7))==null?void 0x0:_0x1d00f9[_0x59ef5c(0x232)](_0x465f26))!=null&&_0x5398df[_0x59ef5c(0x1bb)](_0x43849d)||(_0x486745=(_0x4222fa=this[_0x59ef5c(0x412)][_0x59ef5c(0x232)](_0x1dd4d7))==null?void 0x0:_0x4222fa[_0x59ef5c(0x232)](_0x465f26))==null||_0x486745[_0x59ef5c(0x375)](_0x43849d,{}),this[_0x59ef5c(0x412)][_0x59ef5c(0x232)](_0x1dd4d7)[_0x59ef5c(0x232)](_0x465f26)[_0x59ef5c(0x232)](_0x43849d);}[_0x3481c0(0x275)](_0x382372,_0x2737df){const _0x4cf9f0=_0x3481c0;var _0x1af4ba,_0x2bff47;return this[_0x4cf9f0(0x43e)]['has'](_0x382372)||this[_0x4cf9f0(0x43e)]['set'](_0x382372,new Map()),(_0x1af4ba=this['_pivotRenderValueMatrixCache'][_0x4cf9f0(0x232)](_0x382372))!=null&&_0x1af4ba[_0x4cf9f0(0x1bb)](_0x2737df)||(_0x2bff47=this[_0x4cf9f0(0x43e)][_0x4cf9f0(0x232)](_0x382372))==null||_0x2bff47[_0x4cf9f0(0x375)](_0x2737df,new _0x118f40[(_0x4cf9f0(0x34d))]()),this[_0x4cf9f0(0x43e)][_0x4cf9f0(0x232)](_0x382372)[_0x4cf9f0(0x232)](_0x2737df);}[_0x3481c0(0x1c9)](_0x5f21cf,_0x33f749,_0x3fbbe0,_0x31fc06){const _0x49c914=_0x3481c0;var _0x570df2,_0x52b6fe;const _0x551632=(_0x52b6fe=(_0x570df2=this['_pivotRenderValueMatrixCache'][_0x49c914(0x232)](_0x5f21cf))==null?void 0x0:_0x570df2[_0x49c914(0x232)](_0x33f749))==null?void 0x0:_0x52b6fe['getValue'](_0x3fbbe0,_0x31fc06);if(_0x551632!=null)return _0x551632;}[_0x3481c0(0x388)](_0x27b601,_0x3a4fb7,_0x4aa70e,_0x5cee16){const _0xd72b82=_0x3481c0;var _0x242451;const _0x10dae4=_0x118f40[_0xd72b82(0x437)](_0x4aa70e,_0x5cee16),_0xc01f15=(_0x242451=this['_pivotRenderInfoCache'][_0xd72b82(0x232)](_0x27b601))==null?void 0x0:_0x242451[_0xd72b82(0x232)](_0x3a4fb7);return _0xc01f15?Array[_0xd72b82(0x222)](_0xc01f15[_0xd72b82(0x376)]())[_0xd72b82(0x36d)](_0x289f2f=>{const _0x12c568=_0xd72b82,_0x369134=_0xc01f15[_0x12c568(0x232)](_0x289f2f),_0x4de9d9=_0x369134==null?void 0x0:_0x369134['rangesInfo'];return _0x4de9d9?Object['keys'](_0x4de9d9)[_0x12c568(0x46d)](_0x3ec05f=>_0x4de9d9[_0x3ec05f][_0x12c568(0x46d)](_0x10667e=>_0x118f40[_0x12c568(0x4ad)][_0x12c568(0x368)](_0x10667e,_0x10dae4))):!0x1;}):void 0x0;}[_0x3481c0(0x3d3)](_0x321fa9,_0x41fe70,_0x24442c){const _0x53aaab=_0x3481c0;var _0x1caccf;const _0x1ff9f0=(_0x1caccf=this[_0x53aaab(0x412)][_0x53aaab(0x232)](_0x321fa9))==null?void 0x0:_0x1caccf[_0x53aaab(0x232)](_0x41fe70),_0x145671=[];return _0x1ff9f0&&Array[_0x53aaab(0x222)](_0x1ff9f0['keys']())[_0x53aaab(0x1d7)](_0x47e9b1=>{const _0x57f7bc=_0x53aaab,_0x510907=_0x1ff9f0[_0x57f7bc(0x232)](_0x47e9b1),_0xb84b94=_0x510907==null?void 0x0:_0x510907['rangesInfo'];if(_0xb84b94)for(const _0x4b2e4b of Object[_0x57f7bc(0x1ca)](_0xb84b94)){let _0x276b77=!0x1;for(const _0x4a0437 of _0x4b2e4b)if(_0x118f40[_0x57f7bc(0x4ad)][_0x57f7bc(0x250)](_0x4a0437,_0x24442c)){_0x145671[_0x57f7bc(0x21b)](_0x47e9b1),_0x276b77=!0x0;break;}if(_0x276b77)break;}}),_0x145671;}['getSubUnitPivotMatrix'](_0x87ad3,_0x3f2366){const _0x2af4f6=_0x3481c0;var _0x186499,_0x368a9b;return(_0x368a9b=(_0x186499=this['_pivotRenderValueMatrixCache']['get'](_0x87ad3))==null?void 0x0:_0x186499[_0x2af4f6(0x232)](_0x3f2366))!=null?_0x368a9b:new _0x118f40[(_0x2af4f6(0x34d))]();}['getSubUnitPivotRenderCache'](_0x6a08ef,_0x595890){const _0x1f59f0=_0x3481c0;var _0x3d1ab2;return(_0x3d1ab2=this[_0x1f59f0(0x412)][_0x1f59f0(0x232)](_0x6a08ef))==null?void 0x0:_0x3d1ab2[_0x1f59f0(0x232)](_0x595890);}['getPivotItemRenderInfoCache'](_0x17ce9c,_0xd232c2,_0xf29838){const _0x3b9ef2=_0x3481c0;var _0x39df5d,_0x27646a;return(_0x27646a=(_0x39df5d=this[_0x3b9ef2(0x412)][_0x3b9ef2(0x232)](_0x17ce9c))==null?void 0x0:_0x39df5d[_0x3b9ef2(0x232)](_0xd232c2))==null?void 0x0:_0x27646a['get'](_0xf29838);}[_0x3481c0(0x4ca)](_0x203a89){const _0x5f3c85=_0x3481c0;this[_0x5f3c85(0x412)]['delete'](_0x203a89),this[_0x5f3c85(0x43e)][_0x5f3c85(0x4bc)](_0x203a89);}[_0x3481c0(0x1cc)](_0x574ed2,_0x5cec48){const _0xbe6288=_0x3481c0;this['_markDirty$'][_0xbe6288(0x44d)]({'unitId':_0x574ed2,'subUnitId':_0x5cec48});}},_0x27a419[_0x3481c0(0x300)]=_0x29da8a([_0x3cdf90(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x431)])),_0x3cdf90(0x1,_0x118f40['Inject'](_0x118f40[_0x3481c0(0x3f7)])),_0x3cdf90(0x2,_0x118f40[_0x3481c0(0x1eb)](_0x27a419[_0x3481c0(0x32b)])),_0x3cdf90(0x3,_0x118f40[_0x3481c0(0x1eb)](_0x118f40['IUniverInstanceService'])),_0x3cdf90(0x4,_0x118f40[_0x3481c0(0x1eb)](_0x137f99[_0x3481c0(0x2ac)]))],_0x27a419[_0x3481c0(0x300)]);var _0x464287=Object['getOwnPropertyDescriptor'],_0x4abcdf=(_0x514275,_0x5dbcb8,_0x1dcb8e,_0x4b950e)=>{const _0x7c1b8d=_0x3481c0;for(var _0x23b158=_0x4b950e>0x1?void 0x0:_0x4b950e?_0x464287(_0x5dbcb8,_0x1dcb8e):_0x5dbcb8,_0x64adeb=_0x514275[_0x7c1b8d(0x4a0)]-0x1,_0x1d41c1;_0x64adeb>=0x0;_0x64adeb--)(_0x1d41c1=_0x514275[_0x64adeb])&&(_0x23b158=_0x1d41c1(_0x23b158)||_0x23b158);return _0x23b158;},_0x596a78=(_0xcbf29a,_0x81682)=>(_0x3b96ee,_0x4577ae)=>_0x81682(_0x3b96ee,_0x4577ae,_0xcbf29a);_0x27a419[_0x3481c0(0x32c)]=class extends _0x118f40['Disposable']{constructor(_0x111ad6,_0x2bdbab){const _0x3c73b9=_0x3481c0;super(),_0x18cb5f(this,_0x3c73b9(0x382),new _0x118f40[(_0x3c73b9(0x211))]({'PIVOT_PERFORM_CHECK':_0x20335a})),_0x18cb5f(this,_0x3c73b9(0x33e),new _0x118f40[(_0x3c73b9(0x451))]({'PIVOT_MUTATION_GENERATE':_0x69f586})),(this[_0x3c73b9(0x30e)]=_0x111ad6,this['_sheetsPivotTableAdaptorModel']=_0x2bdbab,this['_init']());}[_0x3481c0(0x4a7)](){const _0x44a94b=_0x3481c0;this[_0x44a94b(0x271)]();}[_0x3481c0(0x1cb)](_0x4328a3){const _0x4b3307=_0x3481c0;return this[_0x4b3307(0x382)][_0x4b3307(0x49a)](_0x20335a)(!0x1,_0x4328a3);}[_0x3481c0(0x271)](){const _0x34ee3e=_0x3481c0;this[_0x34ee3e(0x2aa)](this['_sheetInterceptorService'][_0x34ee3e(0x291)](_0x137f99[_0x34ee3e(0x3ca)][_0x34ee3e(0x4b7)],{'priority':0xc8,'effect':_0x118f40[_0x34ee3e(0x235)]['Value']|_0x118f40[_0x34ee3e(0x235)][_0x34ee3e(0x2ee)],'handler':(_0x3f5cc8,_0x43f4b7,_0x353b50)=>{const _0xbab908=_0x34ee3e,{row:_0x390126,col:_0x3af55b,unitId:_0x485ddd,subUnitId:_0x5f1b89,workbook:_0xe309bc}=_0x43f4b7,_0x5b17f6=this[_0xbab908(0x430)][_0xbab908(0x1c9)](_0x485ddd,_0x5f1b89,_0x390126,_0x3af55b);if(!_0x5b17f6)return _0x353b50(_0x3f5cc8);const _0x267d8c={..._0x3f5cc8};(_0x5b17f6['v']||_0x5b17f6['v']===0x0)&&(_0x267d8c['v']=_0x5b17f6['v']),_0x5b17f6['t']&&(_0x267d8c['t']=_0x5b17f6['t']);const _0xa75cf9=(typeof(_0x3f5cc8==null?void 0x0:_0x3f5cc8['s'])==_0xbab908(0x282)?_0xe309bc[_0xbab908(0x1ce)]()['get'](_0x3f5cc8==null?void 0x0:_0x3f5cc8['s']):_0x3f5cc8==null?void 0x0:_0x3f5cc8['s'])||{},_0x5a0d67=_0xe309bc[_0xbab908(0x1ce)]()[_0xbab908(0x232)](_0x5b17f6['s']),_0x16cc98={..._0x5a0d67,..._0xa75cf9};_0x5a0d67!=null&&_0x5a0d67['n']&&(_0x16cc98['n']=_0x5a0d67['n']);const _0x43c640=_0xe309bc[_0xbab908(0x1ce)]()['setValue'](_0x16cc98);return _0x267d8c['s']=_0x43c640,(_0x5b17f6[_0xbab908(0x25d)]===_0xe4a43f[_0xbab908(0x4d0)][_0xbab908(0x2a2)]||_0x5b17f6[_0xbab908(0x25d)]===_0xe4a43f[_0xbab908(0x4d0)][_0xbab908(0x39f)])&&(_0x267d8c[_0xbab908(0x1f5)]={},_0x267d8c[_0xbab908(0x1f5)][_0xbab908(0x29b)]=_0xb06a8),_0x353b50(_0x267d8c);}}));}},_0x27a419[_0x3481c0(0x32c)]=_0x4abcdf([_0x596a78(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x137f99['SheetInterceptorService'])),_0x596a78(0x1,_0x118f40[_0x3481c0(0x1eb)](_0x27a419[_0x3481c0(0x300)]))],_0x27a419[_0x3481c0(0x32c)]);const _0xb29e39={'id':_0x3481c0(0x254),'type':_0x118f40[_0x3481c0(0x2a1)]['MUTATION'],'handler':(_0x502f63,_0x299d9e)=>{const _0x5ab13a=_0x3481c0;if(!_0x299d9e)return!0x1;if(!!_0x502f63['get'](_0x118f40[_0x5ab13a(0x39c)])[_0x5ab13a(0x4a3)](_0x42c0f7))return!0x0;const {pivotTableId:_0x42157a,fieldJSON:_0x1a3ba8,unitId:_0x1ec3ce,subUnitId:_0x16be5d}=_0x299d9e;let _0x365e26;const {dataFieldType:_0x3a7481,id:_0x37580e,name:_0x420d43,hexCode:_0x5e9ff4,originalFieldId:_0x639f2b}=_0x1a3ba8;if(_0x3a7481===_0xe4a43f[_0x5ab13a(0x245)]['dateGroupField']&&(_0x365e26=new _0xe4a43f[(_0x5ab13a(0x265))](_0x37580e,_0x420d43,_0x5e9ff4,_0x639f2b)),!_0x365e26)return!0x1;const _0x1a7a75=_0x502f63['get'](_0x27a419[_0x5ab13a(0x2ec)]),_0x1ee233=_0x1a7a75[_0x5ab13a(0x3c0)](_0x1ec3ce),_0x5a66cd=_0x1ee233[_0x5ab13a(0x477)](_0x42157a);_0x1ee233[_0x5ab13a(0x49f)](_0x365e26),_0x5a66cd[_0x5ab13a(0x3fb)](_0x365e26[_0x5ab13a(0x371)](),_0x365e26[_0x5ab13a(0x438)]());const _0x7a8d3b=_0x5a66cd[_0x5ab13a(0x3ce)](_0x365e26[_0x5ab13a(0x209)]());_0x7a8d3b&&_0x365e26[_0x5ab13a(0x464)](_0x7a8d3b);const _0x3aa606=_0x1a7a75['getPivotTableConfig'](_0x1ec3ce,_0x16be5d,_0x42157a);return _0x1a7a75[_0x5ab13a(0x1d6)]({'unitId':_0x1ec3ce,'subUnitId':_0x16be5d,'token':_0x42157a,'type':_0xcddcb7[_0x5ab13a(0x463)],'pivotConfig':_0x3aa606}),!0x0;}},_0x84dbf3={'id':_0x3481c0(0x3da),'type':_0x118f40[_0x3481c0(0x2a1)]['MUTATION'],'handler':(_0x2e4a07,_0x685366)=>{const _0x386097=_0x3481c0;if(!_0x685366)return!0x1;if(!!_0x2e4a07['get'](_0x118f40[_0x386097(0x39c)])[_0x386097(0x4a3)](_0x42c0f7))return!0x0;const {pivotTableId:_0x39b910,dataFieldId:_0x2fb0b6,unitId:_0x2a0b3c,subUnitId:_0x3678fe}=_0x685366,_0x420ab3=_0x2e4a07[_0x386097(0x232)](_0x27a419[_0x386097(0x2ec)]),_0x3fe4ec=_0x420ab3['getDataFieldManager'](_0x2a0b3c);_0x3fe4ec[_0x386097(0x477)](_0x39b910)[_0x386097(0x47c)](_0x2fb0b6);let _0x48fae9=!0x0;for(const _0x1e2c97 in _0x3fe4ec[_0x386097(0x32d)])if(_0x3fe4ec['collections'][_0x1e2c97][_0x386097(0x28b)]()[_0x386097(0x296)](_0x2fb0b6)){_0x48fae9=!0x1;break;}_0x48fae9&&_0x3fe4ec[_0x386097(0x471)](_0x2fb0b6);const _0x4e0c30=_0x420ab3['getPivotTableConfig'](_0x2a0b3c,_0x3678fe,_0x39b910);return _0x420ab3[_0x386097(0x1d6)]({'unitId':_0x2a0b3c,'subUnitId':_0x3678fe,'token':_0x39b910,'type':_0xcddcb7['Set'],'pivotConfig':_0x4e0c30}),!0x0;}};function _0x2ca06f(_0x9ceb12,_0x12372d){const _0x98f0c7=_0x3481c0;switch(_0x12372d){case _0xe4a43f[_0x98f0c7(0x444)][_0x98f0c7(0x38b)]:return _0x9ceb12['valueFields'];case _0xe4a43f[_0x98f0c7(0x444)][_0x98f0c7(0x1dd)]:return _0x9ceb12[_0x98f0c7(0x1fe)];case _0xe4a43f[_0x98f0c7(0x444)]['Row']:return _0x9ceb12[_0x98f0c7(0x383)];case _0xe4a43f['PivotTableFiledAreaEnum'][_0x98f0c7(0x387)]:return _0x9ceb12[_0x98f0c7(0x318)];default:return[];}}function _0x432b02(_0x3374be,_0x25e2b3){const _0x269b63=_0x3481c0;return _0x3374be[_0x269b63(0x3aa)][_0x25e2b3]||_0x3374be[_0x269b63(0x1bd)][_0x25e2b3];}function _0x44df23(_0x123303,_0x18d952){const _0x1ec778=_0x3481c0,{area:_0x68f12b,fieldJson:_0x21645f,index:_0x49847e}=_0x18d952;_0x68f12b===_0xe4a43f[_0x1ec778(0x444)]['Value']?_0x123303[_0x1ec778(0x3aa)][_0x21645f['id']]=_0x21645f:_0x123303['dimension'][_0x21645f['id']]=_0x21645f,_0x2ca06f(_0x123303,_0x68f12b)[_0x1ec778(0x395)](_0x49847e,0x0,_0x21645f['id']);}function _0x53208d(_0x11ee5a,_0x5442b7){const _0x1c7191=_0x3481c0,{area:_0x2b34da,fieldId:_0x111464,index:_0x5dc24c}=_0x5442b7;_0x2b34da===_0xe4a43f[_0x1c7191(0x444)]['Value']?delete _0x11ee5a[_0x1c7191(0x3aa)][_0x111464]:delete _0x11ee5a[_0x1c7191(0x1bd)][_0x111464],_0x2ca06f(_0x11ee5a,_0x2b34da)[_0x1c7191(0x395)](_0x5dc24c,0x1);}function _0x3f7d3d(_0xb4c034,_0x2cd11a){const _0x1c7e0a=_0x3481c0,{fieldId:_0x1a1c91,name:_0x1af45b}=_0x2cd11a,_0x1ca50b=_0x432b02(_0xb4c034,_0x1a1c91);_0x1ca50b&&(_0x1ca50b[_0x1c7e0a(0x41d)]=_0x1af45b);}function _0x1e31fc(_0xfa6dcd,_0x2bb8c3){const _0x11de9f=_0x3481c0,{fieldId:_0x59c9e5,collapse:_0x465ba0,item:_0x276ea7}=_0x2bb8c3;_0x276ea7!==void 0x0?(_0xfa6dcd[_0x11de9f(0x3b2)][_0x59c9e5]=_0xfa6dcd['collapseInfo'][_0x59c9e5]||{},_0xfa6dcd[_0x11de9f(0x3b2)][_0x59c9e5][_0x276ea7]=_0x465ba0):_0xfa6dcd[_0x11de9f(0x3b2)][_0x59c9e5]=_0x465ba0;}function _0x4c1796(_0x265e0c,_0x4c25e9){const _0x53968d=_0x3481c0,{fieldId:_0x369864,format:_0x3327e8}=_0x4c25e9,_0x125831=_0x432b02(_0x265e0c,_0x369864);_0x125831&&(_0x125831[_0x53968d(0x238)]=_0x3327e8);}function _0x256e48(_0x4192ef,_0x1d3ff4){const _0x49d6fd=_0x3481c0,{fieldId:_0x4ac8b6,filterInfo:_0xf3d016}=_0x1d3ff4,_0x580152=_0x432b02(_0x4192ef,_0x4ac8b6);_0x580152&&(_0x580152[_0x49d6fd(0x432)]=_0xf3d016);}function _0xd7ceeb(_0x4147ed,_0x1fe5d3){const _0x1f7825=_0x3481c0,{fieldId:_0x2ac320,filterInfo:_0x39c49b}=_0x1fe5d3,_0xfcedf=_0x4147ed[_0x1f7825(0x45b)][_0x1f7825(0x221)](_0x81e3cd=>_0x81e3cd[_0x1f7825(0x38e)]!==_0x2ac320);_0x39c49b&&_0xfcedf['push']({'fieldId':_0x2ac320,'filterInfo':_0x39c49b}),_0x4147ed['valueFilter']=_0xfcedf;}function _0xdb159e(_0x39d7ac,_0x52955b){const {fieldId:_0xfc2271,subtotalType:_0x4aa3bf}=_0x52955b,_0x1357f6=_0x432b02(_0x39d7ac,_0xfc2271);_0x1357f6&&(_0x1357f6['subtotal']=_0x4aa3bf);}function _0x45161b(_0x3cdf0f,_0x2d7b8f){const _0x3afca8=_0x3481c0,{fieldId:_0x15c69b,oldArea:_0x51bb69,area:_0x595137,oldIndex:_0x4c11de,index:_0x4098ce}=_0x2d7b8f,_0x2036cb=_0x51bb69!==_0xe4a43f[_0x3afca8(0x444)][_0x3afca8(0x38b)]&&_0x595137===_0xe4a43f[_0x3afca8(0x444)][_0x3afca8(0x38b)],_0x9bc745=_0x51bb69===_0xe4a43f[_0x3afca8(0x444)]['Value']&&_0x595137!==_0xe4a43f[_0x3afca8(0x444)]['Value'];if(_0x2036cb||_0x9bc745){const _0x8b2057=_0x432b02(_0x3cdf0f,_0x15c69b);_0x8b2057&&(_0x2036cb?(delete _0x3cdf0f[_0x3afca8(0x1bd)][_0x15c69b],_0x3cdf0f[_0x3afca8(0x3aa)][_0x15c69b]=_0x8b2057):(delete _0x3cdf0f[_0x3afca8(0x3aa)][_0x15c69b],_0x3cdf0f['dimension'][_0x15c69b]=_0x8b2057));}const _0x38c277=_0x2ca06f(_0x3cdf0f,_0x51bb69),_0x56654c=_0x2ca06f(_0x3cdf0f,_0x595137);_0x38c277[_0x3afca8(0x395)](_0x4c11de,0x1),_0x56654c[_0x3afca8(0x395)](_0x4098ce,0x0,_0x15c69b);}function _0x1cdbd7(_0x2b2115,_0x239187){const _0x19b070=_0x3481c0,{valuePosition:_0x1354a7,index:_0x3211c4}=_0x239187;_0x2b2115[_0x19b070(0x338)]=_0x1354a7,_0x2b2115[_0x19b070(0x240)]=_0x3211c4;}function _0x59c26b(_0x3721c3,_0xe86cbd){const _0x57a6e9=_0x3481c0,{tableFieldId:_0x37bff1,sourceName:_0xed8232,dataFieldId:_0x3b76d4}=_0xe86cbd,_0x45097a=_0x432b02(_0x3721c3,_0x37bff1);_0x45097a&&(_0x45097a[_0x57a6e9(0x48d)]=_0xed8232,_0x45097a[_0x57a6e9(0x4d9)]=_0x3b76d4);}function _0x2bec71(_0x5879fe,_0x2a81c4){const _0x184cb3=_0x3481c0,{fieldId:_0x1f8511,sortInfo:_0xa1ca8b}=_0x2a81c4,_0x223c0c=_0x432b02(_0x5879fe,_0x1f8511);_0x223c0c&&(_0x223c0c[_0x184cb3(0x2f5)]=_0xa1ca8b);}function _0x2929d6(_0x2eaf61,_0x1a51f8){const _0xbf8166=_0x3481c0,{options:_0x7b5e31}=_0x1a51f8;_0x2eaf61[_0xbf8166(0x260)]={..._0x2eaf61[_0xbf8166(0x260)],..._0x7b5e31};}const _0xff619c={'type':_0x118f40['CommandType'][_0x3481c0(0x2d2)],'id':_0x3481c0(0x307),'handler'(_0x203199,_0xf17614){const _0x1e5df5=_0x3481c0;if(!_0xf17614)return!0x1;if(!!_0x203199[_0x1e5df5(0x232)](_0x118f40['IConfigService'])[_0x1e5df5(0x4a3)](_0x42c0f7))return!0x0;const _0x5e0b29=_0x203199[_0x1e5df5(0x232)](_0x27a419[_0x1e5df5(0x2ec)]),{pivotTableId:_0x541192,fieldJson:_0x57debd,area:_0x1e1a40,index:_0x78b84f,unitId:_0x2e84ef,subUnitId:_0x39cd52}=_0xf17614,_0x33095a=_0x5e0b29[_0x1e5df5(0x2a6)](_0x541192);if(!_0x33095a)return!0x1;let _0x6437ce;_0x1e1a40===_0xe4a43f['PivotTableFiledAreaEnum'][_0x1e5df5(0x38b)]?_0x6437ce=_0xe4a43f['createValueField'](_0x57debd):_0x6437ce=_0xe4a43f[_0x1e5df5(0x42d)](_0x57debd),_0x33095a['addField'](_0x6437ce,_0x1e1a40,_0x78b84f);const _0x4c5233=_0x5e0b29[_0x1e5df5(0x2c0)](_0x2e84ef,_0x39cd52,_0x541192);_0x44df23(_0x4c5233,_0xf17614);const _0xf168da=_0x5e0b29[_0x1e5df5(0x418)](_0x2e84ef,_0x39cd52,_0x541192);return _0x5e0b29[_0x1e5df5(0x1d6)]({'unitId':_0x2e84ef,'subUnitId':_0x39cd52,'token':_0x541192,'type':_0xcddcb7[_0x1e5df5(0x463)],'pivotConfig':_0xf168da}),!0x0;}},_0x23d8d4={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x1c1),'handler'(_0x1069fc,_0x506bd7){const _0x30e7ec=_0x3481c0;if(!_0x506bd7)return!0x1;if(!!_0x1069fc[_0x30e7ec(0x232)](_0x118f40['IConfigService'])[_0x30e7ec(0x4a3)](_0x42c0f7))return!0x0;const _0x7c23f7=_0x1069fc[_0x30e7ec(0x232)](_0x27a419[_0x30e7ec(0x2ec)]),{pivotTableId:_0x257362,fieldId:_0x509456,unitId:_0x1d7a0c,subUnitId:_0x21e6a8}=_0x506bd7,_0x2debd4=_0x7c23f7[_0x30e7ec(0x2a6)](_0x257362);if(!_0x2debd4)return!0x1;_0x2debd4[_0x30e7ec(0x1bf)](_0x509456);const _0x22edd5=_0x7c23f7[_0x30e7ec(0x2c0)](_0x1d7a0c,_0x21e6a8,_0x257362);_0x53208d(_0x22edd5,_0x506bd7);const _0x50cbf9=_0x7c23f7['getPivotTableConfig'](_0x1d7a0c,_0x21e6a8,_0x257362);return _0x7c23f7[_0x30e7ec(0x1d6)]({'unitId':_0x1d7a0c,'subUnitId':_0x21e6a8,'token':_0x257362,'type':_0xcddcb7['Set'],'pivotConfig':_0x50cbf9}),!0x0;}},_0x2b8288={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x1cf),'handler'(_0x290395,_0x1cb54c){const _0x5cbc5a=_0x3481c0;if(!_0x1cb54c)return!0x1;if(!!_0x290395[_0x5cbc5a(0x232)](_0x118f40['IConfigService'])['getConfig'](_0x42c0f7))return!0x0;const _0x566e92=_0x290395[_0x5cbc5a(0x232)](_0x27a419[_0x5cbc5a(0x2ec)]),{unitId:_0x5dc326,subUnitId:_0x17ed44,pivotTableId:_0xf29608,fieldId:_0x3d249f,name:_0x142fa3}=_0x1cb54c,_0x430c7d=_0x566e92['getPivotTableInstance'](_0xf29608);if(!_0x430c7d)return!0x1;_0x430c7d[_0x5cbc5a(0x417)](_0x3d249f,_0x142fa3);const _0x1824fa=_0x566e92[_0x5cbc5a(0x2c0)](_0x5dc326,_0x17ed44,_0xf29608);return _0x3f7d3d(_0x1824fa,_0x1cb54c),_0x566e92[_0x5cbc5a(0x1d6)]({'unitId':_0x5dc326,'subUnitId':_0x17ed44,'token':_0xf29608,'type':_0xcddcb7[_0x5cbc5a(0x463)]}),!0x0;}},_0x2df782={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x3ed),'handler'(_0x349ff5,_0x188122){const _0x23b48c=_0x3481c0;if(!_0x188122)return!0x1;if(!!_0x349ff5[_0x23b48c(0x232)](_0x118f40[_0x23b48c(0x39c)])['getConfig'](_0x42c0f7))return!0x0;const _0x27b672=_0x349ff5['get'](_0x27a419['SheetsPivotDataSourceModel']),{unitId:_0x5eb7bd,subUnitId:_0x5853b0,pivotTableId:_0x545f3c,fieldId:_0x68cd79,collapse:_0x2bbe33,item:_0x292dfa}=_0x188122,_0x1fbd88=_0x27b672[_0x23b48c(0x2a6)](_0x545f3c);if(!_0x1fbd88)return!0x1;_0x1fbd88[_0x23b48c(0x4cf)](_0x68cd79,_0x2bbe33,_0x292dfa);const _0x43683d=_0x27b672[_0x23b48c(0x2c0)](_0x5eb7bd,_0x5853b0,_0x545f3c);return _0x1e31fc(_0x43683d,_0x188122),_0x27b672[_0x23b48c(0x1d6)]({'unitId':_0x5eb7bd,'subUnitId':_0x5853b0,'token':_0x545f3c,'type':_0xcddcb7['Set']}),!0x0;}},_0x50fda1={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x2e7),'handler'(_0x567df1,_0x56637e){const _0x1308fc=_0x3481c0;if(!_0x56637e)return!0x1;if(!!_0x567df1[_0x1308fc(0x232)](_0x118f40[_0x1308fc(0x39c)])[_0x1308fc(0x4a3)](_0x42c0f7))return!0x0;const _0x5a33b0=_0x567df1['get'](_0x27a419[_0x1308fc(0x2ec)]),{unitId:_0x1fcf38,subUnitId:_0x4814d1,pivotTableId:_0x5739e5,fieldId:_0x2035c1,format:_0x3437c6}=_0x56637e,_0x106309=_0x5a33b0[_0x1308fc(0x2a6)](_0x5739e5);if(!_0x106309)return!0x1;_0x106309['setFieldFormat'](_0x2035c1,_0x3437c6);const _0x45fced=_0x5a33b0[_0x1308fc(0x2c0)](_0x1fcf38,_0x4814d1,_0x5739e5);return _0x4c1796(_0x45fced,_0x56637e),_0x5a33b0['addDirtyPivotTable']({'unitId':_0x1fcf38,'subUnitId':_0x4814d1,'token':_0x5739e5,'type':_0xcddcb7[_0x1308fc(0x463)]}),!0x0;}},_0x46102f={'type':_0x118f40[_0x3481c0(0x2a1)]['MUTATION'],'id':_0x3481c0(0x4a6),'handler'(_0x310bbc,_0x262f96){const _0x1f5cd9=_0x3481c0;if(!_0x262f96)return!0x1;if(!!_0x310bbc[_0x1f5cd9(0x232)](_0x118f40[_0x1f5cd9(0x39c)])['getConfig'](_0x42c0f7))return!0x0;const _0x5842f2=_0x310bbc[_0x1f5cd9(0x232)](_0x27a419['SheetsPivotDataSourceModel']),{unitId:_0x1ec426,subUnitId:_0x4cb222,pivotTableId:_0x1a8ef9,fieldId:_0x1b3be3,filterInfo:_0xf392d6}=_0x262f96,_0x328c40=_0x5842f2[_0x1f5cd9(0x2a6)](_0x1a8ef9);if(!_0x328c40)return!0x1;_0x328c40[_0x1f5cd9(0x246)](_0x1b3be3,_0xf392d6);const _0x22dcdf=_0x5842f2['getPivotTableModelConfig'](_0x1ec426,_0x4cb222,_0x1a8ef9);return _0x256e48(_0x22dcdf,_0x262f96),_0x5842f2[_0x1f5cd9(0x1d6)]({'unitId':_0x1ec426,'subUnitId':_0x4cb222,'token':_0x1a8ef9,'type':_0xcddcb7[_0x1f5cd9(0x463)]}),!0x0;}},_0x203e4f={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x3b8),'handler'(_0x5db1d8,_0x3af469){const _0xfa6fcc=_0x3481c0;if(!_0x3af469)return!0x1;if(!!_0x5db1d8[_0xfa6fcc(0x232)](_0x118f40[_0xfa6fcc(0x39c)])[_0xfa6fcc(0x4a3)](_0x42c0f7))return!0x0;const _0x13ac30=_0x5db1d8[_0xfa6fcc(0x232)](_0x27a419['SheetsPivotDataSourceModel']),{unitId:_0xe7b865,subUnitId:_0x5df4d0,pivotTableId:_0xb3071,options:_0x1f2ca8}=_0x3af469,_0x4494b9=_0x13ac30[_0xfa6fcc(0x2a6)](_0xb3071);if(!_0x4494b9)return!0x1;_0x4494b9[_0xfa6fcc(0x3be)](_0x1f2ca8);const _0x1a8246=_0x13ac30[_0xfa6fcc(0x2c0)](_0xe7b865,_0x5df4d0,_0xb3071);return _0x2929d6(_0x1a8246,_0x3af469),_0x13ac30[_0xfa6fcc(0x1d6)]({'unitId':_0xe7b865,'subUnitId':_0x5df4d0,'token':_0xb3071,'type':_0xcddcb7[_0xfa6fcc(0x463)]}),!0x0;}},_0x16358a={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0xde7c46,_0x2f6138){const _0x18ec78=_0x3481c0;if(!_0x2f6138)return!0x1;if(!!_0xde7c46['get'](_0x118f40['IConfigService'])[_0x18ec78(0x4a3)](_0x42c0f7))return!0x0;const _0x40a349=_0xde7c46[_0x18ec78(0x232)](_0x27a419[_0x18ec78(0x2ec)]),{unitId:_0x143f34,subUnitId:_0x31681d,pivotTableId:_0x145a01,sortInfo:_0x54cd98,fieldId:_0x435c8f}=_0x2f6138,_0x2f81ea=_0x40a349[_0x18ec78(0x2a6)](_0x145a01);if(!_0x2f81ea)return!0x1;_0x2f81ea[_0x18ec78(0x42e)](_0x435c8f,_0x54cd98);const _0x1c8eab=_0x40a349[_0x18ec78(0x2c0)](_0x143f34,_0x31681d,_0x145a01);return _0x2bec71(_0x1c8eab,_0x2f6138),_0x40a349[_0x18ec78(0x1d6)]({'unitId':_0x143f34,'subUnitId':_0x31681d,'token':_0x145a01,'type':_0xcddcb7[_0x18ec78(0x463)]}),!0x0;}},_0x4b1be1={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x30b),'handler'(_0x463603,_0x3d4f2a){const _0x405c05=_0x3481c0;if(!_0x3d4f2a)return!0x1;if(!!_0x463603[_0x405c05(0x232)](_0x118f40[_0x405c05(0x39c)])['getConfig'](_0x42c0f7))return!0x0;const _0x394f60=_0x463603[_0x405c05(0x232)](_0x27a419[_0x405c05(0x2ec)]),{unitId:_0x428f0e,subUnitId:_0x50dd2e,pivotTableId:_0x3c0c68,fieldId:_0x4b000b,subtotalType:_0x82f440}=_0x3d4f2a,_0x493898=_0x394f60['getPivotTableInstance'](_0x3c0c68);if(!_0x493898)return!0x1;_0x493898[_0x405c05(0x3ef)](_0x4b000b,_0x82f440);const _0x336d9a=_0x394f60['getPivotTableModelConfig'](_0x428f0e,_0x50dd2e,_0x3c0c68);return _0xdb159e(_0x336d9a,_0x3d4f2a),_0x394f60[_0x405c05(0x1d6)]({'unitId':_0x428f0e,'subUnitId':_0x50dd2e,'token':_0x3c0c68,'type':_0xcddcb7[_0x405c05(0x463)]}),!0x0;}},_0x151b4c={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x207),'handler'(_0x20ca73,_0x449a50){const _0x16ec0d=_0x3481c0;if(!_0x449a50)return!0x1;if(!!_0x20ca73[_0x16ec0d(0x232)](_0x118f40[_0x16ec0d(0x39c)])[_0x16ec0d(0x4a3)](_0x42c0f7))return!0x0;const _0x5951c9=_0x20ca73['get'](_0x27a419['SheetsPivotDataSourceModel']),{unitId:_0x391bc5,subUnitId:_0x13d387,pivotTableId:_0x2b58da,fieldId:_0x10097e,filterInfo:_0x3eef88}=_0x449a50,_0x3e1a5c=_0x5951c9[_0x16ec0d(0x2a6)](_0x2b58da);if(!_0x3e1a5c)return!0x1;_0x3e1a5c['setValueFilterInfo'](_0x10097e,_0x3eef88);const _0x3a631e=_0x5951c9['getPivotTableModelConfig'](_0x391bc5,_0x13d387,_0x2b58da);return _0xd7ceeb(_0x3a631e,_0x449a50),_0x5951c9['addDirtyPivotTable']({'unitId':_0x391bc5,'subUnitId':_0x13d387,'token':_0x2b58da,'type':_0xcddcb7[_0x16ec0d(0x463)]}),!0x0;}},_0x3e7219={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x4bb),'handler'(_0x4c8b5f,_0x4d4a89){const _0x49fbfb=_0x3481c0;if(!_0x4d4a89)return!0x1;if(!!_0x4c8b5f[_0x49fbfb(0x232)](_0x118f40[_0x49fbfb(0x39c)])[_0x49fbfb(0x4a3)](_0x42c0f7))return!0x0;const _0x36ccf3=_0x4c8b5f['get'](_0x27a419[_0x49fbfb(0x2ec)]),{unitId:_0x23c2ca,subUnitId:_0x510f78,pivotTableId:_0x579a89,area:_0x305450,index:_0x426952,fieldId:_0x2b6f8f}=_0x4d4a89,_0x11151=_0x36ccf3[_0x49fbfb(0x2a6)](_0x579a89);if(!_0x11151)return!0x1;_0x11151[_0x49fbfb(0x339)](_0x2b6f8f,_0x305450,_0x426952);const _0x37990e=_0x36ccf3['getPivotTableModelConfig'](_0x23c2ca,_0x510f78,_0x579a89);return _0x45161b(_0x37990e,_0x4d4a89),_0x36ccf3['addDirtyPivotTable']({'unitId':_0x23c2ca,'subUnitId':_0x510f78,'token':_0x579a89,'type':_0xcddcb7['Set']}),!0x0;}},_0x3bb7fd={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x40c),'handler'(_0x287eb8,_0x15e494){const _0x1ecdd7=_0x3481c0;if(!_0x15e494)return!0x1;if(!!_0x287eb8[_0x1ecdd7(0x232)](_0x118f40[_0x1ecdd7(0x39c)])[_0x1ecdd7(0x4a3)](_0x42c0f7))return!0x0;const _0x1f452e=_0x287eb8['get'](_0x27a419['SheetsPivotDataSourceModel']),{unitId:_0x49e8bd,subUnitId:_0xc46a2b,pivotTableId:_0x4b5104,sourceName:_0x94d29,dataFieldId:_0x111cec,tableFieldId:_0x1bc093}=_0x15e494,_0x2fa6a4=_0x1f452e[_0x1ecdd7(0x2a6)](_0x4b5104);if(!_0x2fa6a4)return!0x1;_0x2fa6a4[_0x1ecdd7(0x2ff)](_0x1bc093,_0x94d29,_0x111cec);const _0x6f00e7=_0x1f452e[_0x1ecdd7(0x2c0)](_0x49e8bd,_0xc46a2b,_0x4b5104);return _0x59c26b(_0x6f00e7,_0x15e494),_0x1f452e[_0x1ecdd7(0x1d6)]({'unitId':_0x49e8bd,'subUnitId':_0xc46a2b,'token':_0x4b5104,'type':_0xcddcb7[_0x1ecdd7(0x463)]}),!0x0;}},_0x88e2a5={'type':_0x118f40['CommandType'][_0x3481c0(0x2d2)],'id':_0x3481c0(0x44a),'handler'(_0x554a34,_0x50ade8){const _0x471939=_0x3481c0;if(!_0x50ade8)return!0x1;if(!!_0x554a34[_0x471939(0x232)](_0x118f40[_0x471939(0x39c)])[_0x471939(0x4a3)](_0x42c0f7))return!0x0;const _0xafc82b=_0x554a34[_0x471939(0x232)](_0x27a419[_0x471939(0x2ec)]),{unitId:_0x103b40,subUnitId:_0x2188d5,pivotTableId:_0x33bb64,valuePosition:_0x1a854f,index:_0x1a1419}=_0x50ade8,_0x80363f=_0xafc82b['getPivotTableInstance'](_0x33bb64);if(!_0x80363f)return!0x1;_0x80363f['updateValuePosition'](_0x1a854f,_0x1a1419);const _0x2b72c1=_0xafc82b[_0x471939(0x2c0)](_0x103b40,_0x2188d5,_0x33bb64);return _0x1cdbd7(_0x2b72c1,_0x50ade8),_0xafc82b[_0x471939(0x1d6)]({'unitId':_0x103b40,'subUnitId':_0x2188d5,'token':_0x33bb64,'type':_0xcddcb7[_0x471939(0x463)]}),!0x0;}};function _0x2bb0b1(_0x40b49f,_0x1961d5,_0x37be22){const _0x5b1be1=_0x3481c0,{pivotTableId:_0x3b3244,unitId:_0x497064,subUnitId:_0x18afa1}=_0x1961d5,_0x384cde=[],_0x29e47a=[];for(const _0x44780e of _0x37be22)switch(_0x44780e[_0x5b1be1(0x22c)]){case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x35a)]:{const {fieldJson:_0x3fdeb7,area:_0x22931f,index:_0x4412b1}=_0x44780e,_0x190776={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldJson':_0x3fdeb7,'area':_0x22931f,'index':_0x4412b1},_0x491132={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x3fdeb7['id'],'area':_0x22931f,'index':_0x4412b1};_0x384cde['push']({'id':_0xff619c['id'],'params':_0x190776}),_0x29e47a['unshift']({'id':_0x23d8d4['id'],'params':_0x491132});}break;case _0xe4a43f[_0x5b1be1(0x215)]['SetSubtotalType']:{const {fieldId:_0x3e0e80,newSubtotalType:_0x1a8f6f,oldSubtotalType:_0x3a33ca}=_0x44780e,_0x3fec9a={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x3e0e80,'subtotalType':_0x1a8f6f};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x4b1be1['id'],'params':_0x3fec9a});const _0x446182={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x3e0e80,'subtotalType':_0x3a33ca};_0x29e47a[_0x5b1be1(0x358)]({'id':_0x4b1be1['id'],'params':_0x446182});}break;case _0xe4a43f['PivotTableChangeTypeEnum'][_0x5b1be1(0x1ba)]:{const {fieldId:_0x40671b,fieldJson:_0x354171,area:_0x19f5ad,index:_0xf407af}=_0x44780e,_0x5263e9={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x40671b,'index':_0xf407af,'area':_0x19f5ad};_0x384cde['push']({'id':_0x23d8d4['id'],'params':_0x5263e9});const _0x79e25c={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldJson':_0x354171,'area':_0x19f5ad,'index':_0xf407af};_0x29e47a[_0x5b1be1(0x358)]({'id':_0xff619c['id'],'params':_0x79e25c});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x40d)]:{const {fieldId:_0x1ce3c1,oldName:_0x519f3f,newName:_0x52f065}=_0x44780e,_0x55ce95={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x1ce3c1,'name':_0x52f065};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x2b8288['id'],'params':_0x55ce95});const _0x2463a5={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x1ce3c1,'name':_0x519f3f};_0x29e47a['unshift']({'id':_0x2b8288['id'],'params':_0x2463a5});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x255)]:{const {fieldId:_0x28074e,oldFilterInfo:_0x211052,newFilterInfo:_0x34f813}=_0x44780e,_0xffbdce={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x28074e,'filterInfo':_0x34f813};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x46102f['id'],'params':_0xffbdce});const _0x3be997={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x28074e,'filterInfo':_0x211052};_0x29e47a[_0x5b1be1(0x358)]({'id':_0x46102f['id'],'params':_0x3be997});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x2c8)]:{const {fieldId:_0x3395b9,oldSortInfo:_0x564a63,newSortInfo:_0x55d1d8}=_0x44780e,_0x3f273a={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x3395b9,'sortInfo':_0x55d1d8};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x16358a['id'],'params':_0x3f273a});const _0x14af7e={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x3395b9,'sortInfo':_0x564a63};_0x29e47a[_0x5b1be1(0x358)]({'id':_0x16358a['id'],'params':_0x14af7e});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x2b9)]:{const {oldOptions:_0xaf0bf1,newOptions:_0x3fb64f}=_0x44780e,_0x34b9ed={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'options':_0x3fb64f};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x203e4f['id'],'params':_0x34b9ed});const _0x52ff8c={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'options':_0xaf0bf1};_0x29e47a[_0x5b1be1(0x358)]({'id':_0x203e4f['id'],'params':_0x52ff8c});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x33a)]:{const {oldArea:_0x175ff8,newArea:_0x5c1b04,oldIndex:_0x8d44ad,newIndex:_0x27185d,fieldId:_0x54897b}=_0x44780e,_0xf02905={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x54897b,'area':_0x5c1b04,'index':_0x27185d,'oldArea':_0x175ff8,'oldIndex':_0x8d44ad};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x3e7219['id'],'params':_0xf02905});const _0x466f9e={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x54897b,'area':_0x175ff8,'index':_0x8d44ad,'oldArea':_0x5c1b04,'oldIndex':_0x27185d};_0x29e47a['unshift']({'id':_0x3e7219['id'],'params':_0x466f9e});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x2ab)]:{const {oldValuePosition:_0x4177ad,newValuePosition:_0x1e3a93,oldIndex:_0x3bb6f4,newIndex:_0x1b10b2}=_0x44780e,_0x1c252f={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'valuePosition':_0x1e3a93,'index':_0x1b10b2};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x88e2a5['id'],'params':_0x1c252f});const _0x445e90={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'valuePosition':_0x4177ad,'index':_0x3bb6f4};_0x29e47a[_0x5b1be1(0x358)]({'id':_0x88e2a5['id'],'params':_0x445e90});}break;case _0xe4a43f['PivotTableChangeTypeEnum'][_0x5b1be1(0x20b)]:{const {fieldId:_0x1bd81b,collapse:_0x44c184,item:_0x995a57}=_0x44780e,_0x2f6b56={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x1bd81b,'collapse':_0x44c184,'item':_0x995a57};_0x384cde['push']({'id':_0x2df782['id'],'params':_0x2f6b56});const _0x144f13={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x1bd81b,'collapse':!_0x44c184,'item':_0x995a57};_0x29e47a[_0x5b1be1(0x358)]({'id':_0x2df782['id'],'params':_0x144f13});}break;case _0xe4a43f['PivotTableChangeTypeEnum'][_0x5b1be1(0x2a9)]:{const {newFormat:_0x590c31,oldFormat:_0x898036,fieldId:_0x45e292}=_0x44780e,_0x51a3b9={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x45e292,'format':_0x590c31};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x50fda1['id'],'params':_0x51a3b9});const _0x3fa9a1={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x45e292,'format':_0x898036};_0x29e47a['unshift']({'id':_0x50fda1['id'],'params':_0x3fa9a1});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x287)]:{const {tableFieldId:_0x2c85ad,oldSourceName:_0x3d0922,newSourceName:_0x34960b,oldDataFieldId:_0x19264a,newDataFieldId:_0x2cb8c5}=_0x44780e,_0x49ea61={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'tableFieldId':_0x2c85ad,'sourceName':_0x34960b,'dataFieldId':_0x2cb8c5};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x3bb7fd['id'],'params':_0x49ea61});const _0x12747b={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'tableFieldId':_0x2c85ad,'sourceName':_0x3d0922,'dataFieldId':_0x19264a};_0x29e47a[_0x5b1be1(0x358)]({'id':_0x3bb7fd['id'],'params':_0x12747b});}break;case _0xe4a43f[_0x5b1be1(0x215)][_0x5b1be1(0x1e4)]:{const {fieldId:_0x504787,filterInfo:_0x2d1532,oldFilterInfo:_0xdb63c}=_0x44780e,_0x18b247={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x504787,'filterInfo':_0x2d1532};_0x384cde[_0x5b1be1(0x21b)]({'id':_0x151b4c['id'],'params':_0x18b247});const _0x387b21={'unitId':_0x497064,'subUnitId':_0x18afa1,'pivotTableId':_0x3b3244,'fieldId':_0x504787,'filterInfo':_0xdb63c};_0x29e47a['unshift']({'id':_0x151b4c['id'],'params':_0x387b21});}}return{'redos':_0x384cde,'undos':_0x29e47a};}function _0x4b8d94(_0x369eec,_0x68f0a1){const _0x4f495b=_0x3481c0;var _0x4d6691;const _0x11ccc6=_0x369eec['get'](_0x27a419[_0x4f495b(0x32c)]),{cellInfo:_0x463165,view:_0x3c948c,isEmpty:_0x1caf23}=_0x68f0a1;return(_0x4d6691=_0x11ccc6[_0x4f495b(0x33e)]['fetchThroughInterceptors'](_0x69f586)(_0x235f89,{'cellInfo':_0x463165,'view':_0x3c948c,'isEmpty':_0x1caf23}))!=null?_0x4d6691:_0x235f89;}const _0x57cd07={'type':_0x118f40['CommandType'][_0x3481c0(0x225)],'id':_0x3481c0(0x3f3),async 'handler'(_0x8bf855,_0x5fa8ea){const _0x208ecc=_0x3481c0;if(!_0x5fa8ea)return!0x1;const _0x111603=_0x8bf855['get'](_0x118f40[_0x208ecc(0x3c7)]),_0x8ce90a=_0x8bf855[_0x208ecc(0x232)](_0x27a419[_0x208ecc(0x22a)]),_0x22d973=_0x8bf855[_0x208ecc(0x232)](_0x118f40[_0x208ecc(0x3df)]),{pivotTableId:_0x1f6cac,dataFieldId:_0x13d53a,fieldArea:_0x1e346d,index:_0x5601ff,unitId:_0x4622d3,subUnitId:_0x138532}=_0x5fa8ea,_0x439bd1=(await _0x8ce90a[_0x208ecc(0x3a5)]({'unitId':_0x4622d3,'subUnitId':_0x138532,'pivotTableId':_0x1f6cac,'params':{'type':_0x42f106[_0x208ecc(0x457)],'addPivotField':{'dataFieldId':_0x13d53a,'fieldArea':_0x1e346d,'index':_0x5601ff}}}))['result']['addPivotField'];if(!_0x439bd1)return!0x1;const {view:_0x5b1bff,changesets:_0x5caa1c,isEmpty:_0x2ff403,pivotTableConfig:_0x378096,shouldBeAddedGroupJSON:_0x233f70}=_0x439bd1,_0x1f8bec=_0x378096['targetCellInfo'],_0x22862d=new _0xe4a43f[(_0x208ecc(0x4a2))]();_0x22862d[_0x208ecc(0x35f)](_0x5b1bff);const _0x548eca={'cellInfo':_0x1f8bec,'view':_0x22862d,'isEmpty':_0x2ff403};if(!await _0x8bf855[_0x208ecc(0x232)](_0x27a419[_0x208ecc(0x32c)])[_0x208ecc(0x382)][_0x208ecc(0x49a)](_0x20335a)(!0x0,_0x548eca))return!0x1;const _0x51561e=_0x563a64(_0x8bf855,_0x22862d,_0x1f8bec,_0x2ff403),_0x23fba0=_0x4b8d94(_0x8bf855,_0x548eca),{undos:_0x22cb57,redos:_0x207f7c}=_0x2bb0b1(_0x111603,{'pivotTableId':_0x1f6cac,'unitId':_0x4622d3,'subUnitId':_0x138532},_0x5caa1c);return _0x233f70&&(_0x207f7c[_0x208ecc(0x358)]({'id':_0xb29e39['id'],'params':{'pivotTableId':_0x1f6cac,'fieldJSON':_0x233f70,'unitId':_0x4622d3,'subUnitId':_0x138532}}),_0x22cb57[_0x208ecc(0x21b)]({'id':_0x84dbf3['id'],'params':{'pivotTableId':_0x1f6cac,'dataFieldId':_0x233f70['id'],'unitId':_0x4622d3,'subUnitId':_0x138532}})),_0x118f40[_0x208ecc(0x346)]([..._0x51561e[_0x208ecc(0x1f9)],..._0x23fba0['redos'],..._0x207f7c],_0x111603),_0x22d973['pushUndoRedo']({'unitID':_0x4622d3,'redoMutations':[..._0x51561e['redos'],..._0x23fba0['redos'],..._0x207f7c],'undoMutations':[..._0x51561e['undos'],..._0x23fba0[_0x208ecc(0x210)],..._0x22cb57]}),!0x0;}},_0x1795fd=()=>typeof process<'u'&&process[_0x3481c0(0x455)]!=null&&process['versions'][_0x3481c0(0x4cb)]!=null,_0x1cde24={'type':_0x118f40['CommandType'][_0x3481c0(0x2d2)],'id':_0x3481c0(0x441),'handler'(_0xc5afa8,_0x3f6366){const _0x43477d=_0x3481c0;var _0x484874;if(!_0x3f6366)return!0x1;const _0x3d6d55=_0xc5afa8[_0x43477d(0x232)](_0x118f40['IConfigService']);if(!!_0x3d6d55[_0x43477d(0x4a3)](_0x42c0f7))return!0x0;const _0x5cb0e9=_0xc5afa8[_0x43477d(0x232)](_0x118f40[_0x43477d(0x2f3)]),_0x2e896c=_0xc5afa8[_0x43477d(0x232)](_0x27a419['SheetsPivotDataSourceModel']),{pivotTableId:_0x231f87,pivotTableConfig:_0x207700,collectionConfig:_0x3c5e47,unitId:_0x5711f9,subUnitId:_0x4606aa}=_0x3f6366,{sourceRangeInfo:_0x56da08,fieldsConfig:_0x4bdadb,targetCellInfo:_0x5c2d74}=_0x207700,_0x1c409c=_0x5cb0e9[_0x43477d(0x269)](_0x5711f9);if(!_0x1c409c||!_0x1c409c['getSheetBySheetId'](_0x4606aa))return!0x1;if(!_0x1795fd()){let _0x34e5d3=0x0;_0x1c409c[_0x43477d(0x29f)]()[_0x43477d(0x1d7)](_0x5b800a=>{const _0x2e26dd=_0x43477d;var _0x4651e9,_0x132fab;_0x34e5d3+=(_0x132fab=(_0x4651e9=_0x2e896c[_0x2e26dd(0x2cc)](_0x5711f9,_0x5b800a[_0x2e26dd(0x286)]()))==null?void 0x0:_0x4651e9[_0x2e26dd(0x1de)])!=null?_0x132fab:0x0;});const _0x31dc78=(_0x484874=_0x3d6d55[_0x43477d(0x4a3)](_0x7125e5['LS_CONFIG_KEY']))!=null?_0x484874:{},{ls:_0x594cfa,pbk:_0x394ff9}=_0x31dc78;if(!_0x4eff93(_0x594cfa,_0x394ff9))throw new _0x118f40[(_0x43477d(0x340))](_0x43477d(0x45d));const _0x2e2008=_0x342177(_0x24ae0e,_0x594cfa,_0x394ff9)[_0x43477d(0x21f)];if(_0x34e5d3>=_0x2e2008)throw new _0x118f40['CustomCommandExecutionError'](_0x43477d(0x45d));}if(!_0x3c5e47||!_0x4bdadb)return!0x1;const {collection:_0x466e1c,updateDataFieldList:_0x57457a}=_0x2e896c[_0x43477d(0x341)](_0x231f87,_0x3c5e47,_0x56da08,_0x5c2d74);_0x2e896c[_0x43477d(0x3c5)](_0x466e1c,_0x57457a,_0x56da08);const _0x34d6d4=new _0xe4a43f[(_0x43477d(0x3de))](_0x466e1c,void 0x0,_0x231f87);_0x34d6d4[_0x43477d(0x37a)](_0x4bdadb);const _0x846254=JSON[_0x43477d(0x408)](JSON[_0x43477d(0x2b6)](_0x207700));return _0x2e896c['addPivotTable'](_0x5711f9,_0x4606aa,_0x231f87,_0x34d6d4,_0x846254),_0x2e896c[_0x43477d(0x1d6)]({'unitId':_0x5711f9,'subUnitId':_0x4606aa,'token':_0x231f87,'type':_0xcddcb7['Add'],'pivotConfig':_0x846254}),!0x0;}},_0x314dfc={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x457660,_0x2cbf34){const _0x272eeb=_0x3481c0;if(!_0x2cbf34)return!0x1;const {sourceDataInfo:_0x357e59,pivotTableConfig:_0x3d68e8}=_0x2cbf34;if(!_0x357e59||!_0x3d68e8)return!0x1;const {unitId:_0x18e442,subUnitId:_0x394e17,range:_0x22d4b3}=_0x357e59,_0x4b206d=_0x457660[_0x272eeb(0x232)](_0x118f40[_0x272eeb(0x2f3)]),_0x127f86=_0x457660[_0x272eeb(0x232)](_0x27a419[_0x272eeb(0x22a)]),_0x391ecf=_0x457660[_0x272eeb(0x232)](_0x118f40[_0x272eeb(0x431)]),_0x2d8683=_0x457660[_0x272eeb(0x232)](_0x118f40['ICommandService']),_0x3e1a58=_0x4b206d['getUnit'](_0x18e442);if(!_0x3e1a58)return!0x1;const _0x4879f0=_0x3e1a58['getSheetBySheetId'](_0x394e17);if(!_0x4879f0)return!0x1;const _0x595ee7=_0xe4a43f['generateHexNumber'](0x8),_0x2993bb=_0x22d4b3||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4879f0[_0x272eeb(0x239)]()-0x1,'endColumn':_0x4879f0[_0x272eeb(0x1ee)]()-0x1};_0x2993bb[_0x272eeb(0x27e)]=_0x118f40[_0x272eeb(0x332)]['NORMAL'];const _0x4fc716=(await _0x127f86[_0x272eeb(0x3a5)]({'unitId':_0x18e442,'subUnitId':_0x394e17,'pivotTableId':_0x595ee7,'params':{'type':_0x42f106[_0x272eeb(0x3cd)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x18e442,'sheetName':_0x4879f0[_0x272eeb(0x438)](),'subUnitId':_0x394e17,'range':_0x2993bb},'pivotTableId':_0x595ee7,'pivotTableIndexConfig':_0x3d68e8}}}))[_0x272eeb(0x28e)][_0x272eeb(0x36c)];if(!_0x4fc716)return!0x1;const {isEmpty:_0xe09927,fieldsConfig:_0x2435af,collectionConfig:_0x4587b5,changesets:_0x18106a}=_0x4fc716,_0x3a7ba1=_0x3e1a58[_0x272eeb(0x29f)]()[_0x272eeb(0x4a0)],_0x31044b=_0x118f40[_0x272eeb(0x4d3)]({'rowCount':_0x4879f0[_0x272eeb(0x239)]()-0x1,'columnCount':_0x4879f0[_0x272eeb(0x1ee)]()-0x1});_0x31044b['id']=_0x118f40[_0x272eeb(0x3f9)](),_0x31044b[_0x272eeb(0x494)]=_0x3e1a58['generateNewSheetName'](''+_0x391ecf['t'](_0x272eeb(0x373)));const _0x25a06a={'index':_0x3a7ba1,'sheet':_0x31044b,'unitId':_0x18e442},{redos:_0x2302a9}=_0x2bb0b1(_0x2d8683,{'pivotTableId':_0x595ee7,'unitId':_0x18e442,'subUnitId':_0x31044b['id']},_0x18106a),_0x19d0a8=[{'id':_0x137f99['InsertSheetCommand']['id'],'params':_0x25a06a},{'id':_0x1cde24['id'],'params':{'unitId':_0x18e442,'subUnitId':_0x31044b['id'],'pivotTableId':_0x595ee7,'pivotTableConfig':{'isEmpty':_0xe09927,'fieldsConfig':_0x2435af,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x18e442,'subUnitId':_0x31044b['id']},'sourceRangeInfo':{'subUnitId':_0x394e17,'unitId':_0x18e442,'range':_0x2993bb,'sheetName':_0x4879f0[_0x272eeb(0x438)]()}},'collectionConfig':_0x4587b5}},..._0x2302a9];return _0x118f40[_0x272eeb(0x346)](_0x19d0a8,_0x2d8683),!0x0;}},_0x467df3={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':'sheet.mutation.remove-pivot-table','handler'(_0xc46418,_0x332bf8){const _0x439250=_0x3481c0;if(!_0x332bf8)return!0x1;if(!!_0xc46418[_0x439250(0x232)](_0x118f40[_0x439250(0x39c)])['getConfig'](_0x42c0f7))return!0x0;const {pivotTableId:_0xe65a0b,unitId:_0x515689,subUnitId:_0x5f11c3}=_0x332bf8,_0x3683f8=_0xc46418[_0x439250(0x232)](_0x27a419[_0x439250(0x2ec)]);return _0x3683f8[_0x439250(0x418)](_0x515689,_0x5f11c3,_0xe65a0b)?(_0x3683f8['addDirtyPivotTable']({'unitId':_0x515689,'subUnitId':_0x5f11c3,'token':_0xe65a0b,'type':_0xcddcb7[_0x439250(0x493)]}),_0x3683f8[_0x439250(0x1fd)](_0x515689,_0x5f11c3,_0xe65a0b),!0x0):!0x1;}},_0x557b6b={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x5859ef,_0x5900ed){const _0x443024=_0x3481c0;var _0x1b6c77,_0x103305;const _0x3659f5=_0x5859ef[_0x443024(0x232)](_0x118f40[_0x443024(0x3c7)]),_0x3df8e5=_0x5859ef[_0x443024(0x232)](_0x118f40['IUniverInstanceService']),_0x405836=_0x5859ef['get'](_0x118f40[_0x443024(0x431)]),_0x1de0ed=_0x5859ef['get'](_0x27a419[_0x443024(0x22a)]),_0x1f8da0=_0x5859ef[_0x443024(0x232)](_0x118f40['IUndoRedoService']),_0x5f2b1b=_0x5859ef[_0x443024(0x232)](_0x27a419[_0x443024(0x32b)]),_0x3b4f45=_0x5859ef['get'](_0x118f40[_0x443024(0x39c)]);if(!_0x5900ed)return!0x1;const {pivotTableConfig:_0x512d20,positionType:_0x2f9945}=_0x5900ed,{targetCellInfo:_0xb39db2,sourceRangeInfo:_0x9eca99}=_0x512d20,{unitId:_0x426199,subUnitId:_0x3740f4}=_0xb39db2,_0x59ccbd=_0x3df8e5[_0x443024(0x269)](_0x426199);if(!_0x59ccbd)return!0x1;let _0x267125=0x0;_0x59ccbd[_0x443024(0x29f)]()[_0x443024(0x1d7)](_0x27ef17=>{const _0x2d6111=_0x443024;var _0x13f6bf,_0x2726c7;_0x267125+=(_0x2726c7=(_0x13f6bf=_0x5f2b1b[_0x2d6111(0x2cc)](_0x426199,_0x27ef17[_0x2d6111(0x286)]()))==null?void 0x0:_0x13f6bf[_0x2d6111(0x1de)])!=null?_0x2726c7:0x0;});const _0x32ab73=(_0x1b6c77=_0x3b4f45[_0x443024(0x4a3)](_0x7125e5[_0x443024(0x456)]))!=null?_0x1b6c77:{},{ls:_0x52d317,pbk:_0x145abe}=_0x32ab73;if(!_0x4eff93(_0x52d317,_0x145abe))return!0x1;const _0x9ace83=_0x342177(_0x24ae0e,_0x52d317,_0x145abe)[_0x443024(0x21f)];if(_0x267125>=_0x9ace83)return!0x1;const _0x48c6ad=_0x5900ed['pivotTableId']||_0xe4a43f[_0x443024(0x3b6)](0x8),_0x5b93bd=(await _0x1de0ed[_0x443024(0x3a5)]({'unitId':_0x426199,'subUnitId':_0x3740f4,'pivotTableId':_0x48c6ad,'params':{'type':_0x42f106[_0x443024(0x261)],'addPivotTable':{'sourceRangeInfo':_0x9eca99,'pivotTableId':_0x48c6ad}}}))['result']['addPivotTable'];if(!_0x5b93bd)return!0x1;const {view:_0x32b735,isEmpty:_0x58da0f,fieldsConfig:_0x161334,collectionConfig:_0x1c5da3}=_0x5b93bd,_0x456548=[],_0x4a63b5=[];if(_0x2f9945===_0x9e3ca0[_0x443024(0x415)]){const _0x4d9833=_0x59ccbd[_0x443024(0x29f)]()['length'],_0x1f4b8c=_0x118f40[_0x443024(0x4d3)]({});_0x1f4b8c['id']=_0x512d20[_0x443024(0x3db)][_0x443024(0x233)],_0x1f4b8c[_0x443024(0x494)]=(_0x103305=_0x512d20['targetCellInfo'][_0x443024(0x2e3)])!=null?_0x103305:_0x59ccbd[_0x443024(0x384)](''+_0x405836['t'](_0x443024(0x373)));const _0x49f7ce={'index':_0x4d9833,'sheet':_0x1f4b8c,'unitId':_0x426199},_0x12c87e=_0x137f99[_0x443024(0x3a8)](_0x5859ef,_0x49f7ce);_0x456548[_0x443024(0x21b)]({'id':_0x137f99[_0x443024(0x251)]['id'],'params':_0x12c87e}),_0x4a63b5['push']({'id':_0x137f99['InsertSheetMutation']['id'],'params':_0x49f7ce});}else{if(!_0x59ccbd[_0x443024(0x2b0)](_0x3740f4))return!0x1;const _0x5cd6ea=_0x563a64(_0x5859ef,new _0xe4a43f[(_0x443024(0x4a2))](),_0xb39db2,!0x0);_0x4a63b5['push'](..._0x5cd6ea[_0x443024(0x1f9)]),_0x456548[_0x443024(0x21b)](..._0x5cd6ea['undos']);const _0x2a238e={'cellInfo':_0xb39db2,'view':_0x32b735,'isEmpty':_0x58da0f};if(!await _0x5859ef['get'](_0x27a419[_0x443024(0x32c)])[_0x443024(0x382)][_0x443024(0x49a)](_0x20335a)(!0x0,_0x2a238e))return!0x1;const _0x2247bf=_0x4b8d94(_0x5859ef,_0x2a238e);_0x4a63b5[_0x443024(0x21b)](..._0x2247bf[_0x443024(0x1f9)]),_0x456548[_0x443024(0x21b)](..._0x2247bf['undos']);}return _0x4a63b5[_0x443024(0x21b)]({'id':_0x1cde24['id'],'params':{'unitId':_0xb39db2[_0x443024(0x224)],'subUnitId':_0xb39db2['subUnitId'],'pivotTableId':_0x48c6ad,'pivotTableConfig':{'targetCellInfo':_0xb39db2,'sourceRangeInfo':_0x9eca99,'fieldsConfig':_0x161334},'collectionConfig':_0x1c5da3}}),_0x456548[_0x443024(0x358)]({'id':_0x467df3['id'],'params':{'unitId':_0x426199,'subUnitId':_0x3740f4,'pivotTableId':_0x48c6ad}}),_0x118f40[_0x443024(0x346)](_0x4a63b5,_0x3659f5)&&_0x1f8da0['pushUndoRedo']({'unitID':_0x426199,'undoMutations':_0x456548,'redoMutations':_0x4a63b5}),!0x0;}},_0x433bb5={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':_0x3481c0(0x389),async 'handler'(_0x5eed26,_0x4d88ee){const _0x2e730a=_0x3481c0;if(!_0x4d88ee)return!0x1;const _0x18a26f=_0x5eed26[_0x2e730a(0x232)](_0x118f40['ICommandService']),_0x22bfc1=_0x5eed26[_0x2e730a(0x232)](_0x27a419[_0x2e730a(0x22a)]),_0x42e7de=_0x5eed26[_0x2e730a(0x232)](_0x118f40[_0x2e730a(0x3df)]),{pivotTableId:_0x2df041,fieldId:_0x38f4ef,area:_0x3bdc2f,index:_0xb1a934,unitId:_0x2123d5,subUnitId:_0x2031bf}=_0x4d88ee,_0x3d06ef=(await _0x22bfc1[_0x2e730a(0x3a5)]({'unitId':_0x2123d5,'subUnitId':_0x2031bf,'pivotTableId':_0x2df041,'params':{'type':_0x42f106[_0x2e730a(0x4cd)],'movePivotField':{'fieldId':_0x38f4ef,'area':_0x3bdc2f,'index':_0xb1a934}}}))[_0x2e730a(0x28e)]['movePivotField'];if(!_0x3d06ef)return!0x1;const {changesets:_0x512696,view:_0x2f8a0b,isEmpty:_0x4fdaaf,pivotTableConfig:_0x50c90f}=_0x3d06ef,_0x1da487=_0x50c90f['targetCellInfo'],_0x1d92ce=new _0xe4a43f[(_0x2e730a(0x4a2))]();_0x1d92ce[_0x2e730a(0x35f)](_0x2f8a0b);const _0x3c67c5={'cellInfo':_0x1da487,'view':_0x1d92ce,'isEmpty':_0x4fdaaf};if(!await _0x5eed26[_0x2e730a(0x232)](_0x27a419[_0x2e730a(0x32c)])[_0x2e730a(0x382)][_0x2e730a(0x49a)](_0x20335a)(!0x0,_0x3c67c5))return!0x1;const _0x40b55b=_0x563a64(_0x5eed26,_0x1d92ce,_0x1da487,_0x4fdaaf),_0x3f5ddf=_0x4b8d94(_0x5eed26,_0x3c67c5),{redos:_0x7e400f,undos:_0x17f89d}=_0x2bb0b1(_0x18a26f,{'pivotTableId':_0x2df041,'unitId':_0x2123d5,'subUnitId':_0x2031bf},_0x512696);return _0x118f40[_0x2e730a(0x346)]([..._0x40b55b[_0x2e730a(0x1f9)],..._0x3f5ddf[_0x2e730a(0x1f9)],..._0x7e400f],_0x18a26f),_0x42e7de['pushUndoRedo']({'unitID':_0x2123d5,'redoMutations':[..._0x40b55b[_0x2e730a(0x1f9)],..._0x3f5ddf[_0x2e730a(0x1f9)],..._0x7e400f],'undoMutations':[..._0x40b55b[_0x2e730a(0x210)],..._0x3f5ddf['undos'],..._0x17f89d]}),!0x0;}},_0x1b2e7a={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':'sheet.mutation.set-pivot-position','handler'(_0x242ce4,_0x22f376){const _0xe1425c=_0x3481c0;if(!_0x22f376)return!0x1;if(!!_0x242ce4[_0xe1425c(0x232)](_0x118f40[_0xe1425c(0x39c)])['getConfig'](_0x42c0f7))return!0x0;const {pivotTableId:_0x16261f,targetCellPosition:_0x3b1100,unitId:_0x3dc64c,subUnitId:_0x2fad65}=_0x22f376,_0x2452b9=_0x242ce4[_0xe1425c(0x232)](_0x27a419['SheetsPivotDataSourceModel']);if(!_0x2452b9['getPivotTableInstance'](_0x22f376[_0xe1425c(0x331)]))return!0x1;const _0x578580=_0x2452b9['getTargetByPivotId'](_0x16261f);if(!_0x578580)return!0x1;const _0x1bb0a9=_0x2452b9[_0xe1425c(0x477)](_0x578580[_0xe1425c(0x224)],_0x22f376['pivotTableId']);if(!_0x1bb0a9)return!0x1;const _0x5d8a4b=_0x2452b9['getPivotTableConfig'](_0x578580[_0xe1425c(0x224)],_0x578580[_0xe1425c(0x233)],_0x16261f);if(!_0x5d8a4b)return!0x1;const _0x474490=_0x118f40['Tools'][_0xe1425c(0x2cb)](_0x5d8a4b);_0x474490[_0xe1425c(0x3db)]={'unitId':_0x3dc64c,'subUnitId':_0x2fad65,'row':_0x3b1100['row'],'col':_0x3b1100['col']};const _0x543fbf=_0x1bb0a9[_0xe1425c(0x2d5)]();if(_0x578580[_0xe1425c(0x233)]===_0x2fad65&&_0x578580['unitId']===_0x3dc64c)_0x2452b9['setPivotTable'](_0x3dc64c,_0x2fad65,_0x16261f,_0x474490),_0x2452b9[_0xe1425c(0x1d6)]({'unitId':_0x3dc64c,'subUnitId':_0x2fad65,'token':_0x16261f,'type':_0xcddcb7[_0xe1425c(0x463)]});else{_0x2452b9[_0xe1425c(0x1d6)]({'unitId':_0x578580['unitId'],'subUnitId':_0x578580[_0xe1425c(0x233)],'token':_0x16261f,'type':_0xcddcb7['Delete']}),_0x2452b9[_0xe1425c(0x1fd)](_0x578580['unitId'],_0x578580[_0xe1425c(0x233)],_0x16261f);const _0x22a8fb=_0x2452b9[_0xe1425c(0x341)](_0x16261f,_0x543fbf,_0x5d8a4b[_0xe1425c(0x449)],_0x474490[_0xe1425c(0x3db)]),_0x30a0bf=new _0xe4a43f[(_0xe1425c(0x3de))](_0x22a8fb[_0xe1425c(0x4bf)],void 0x0,_0x16261f);_0x30a0bf[_0xe1425c(0x37a)](_0x474490[_0xe1425c(0x3ae)]),_0x2452b9['addPivotTable'](_0x3dc64c,_0x2fad65,_0x16261f,_0x30a0bf,_0x474490),_0x2452b9[_0xe1425c(0x1d6)]({'unitId':_0x3dc64c,'subUnitId':_0x2fad65,'token':_0x16261f,'type':_0xcddcb7[_0xe1425c(0x47e)],'pivotConfig':_0x474490});}return!0x0;}},_0x162dee={'type':_0x118f40['CommandType'][_0x3481c0(0x225)],'id':'sheet.command.move-pivot-table','handler':(_0x3b6186,_0x3aef15)=>{const _0xffa119=_0x3481c0;if(!_0x3aef15)return!0x1;const _0x3b514b=_0x137f99[_0xffa119(0x34e)](_0x3b6186[_0xffa119(0x232)](_0x118f40[_0xffa119(0x2f3)]),{'unitId':_0x3aef15[_0xffa119(0x3db)][_0xffa119(0x224)],'subUnitId':_0x3aef15[_0xffa119(0x3db)][_0xffa119(0x233)]});if(!_0x3b514b)throw new Error(_0xffa119(0x429));const _0x22bb26=_0x3b6186[_0xffa119(0x232)](_0x27a419[_0xffa119(0x32b)])[_0xffa119(0x418)](_0x3aef15['originTargetInfo'][_0xffa119(0x224)],_0x3aef15[_0xffa119(0x2bd)][_0xffa119(0x233)],_0x3aef15[_0xffa119(0x331)]);if(!_0x22bb26)return!0x1;const _0x567a9f=_0x3b6186['get'](_0x118f40['ICommandService']),_0x5be1d7=_0x3b6186[_0xffa119(0x232)](_0x118f40[_0xffa119(0x3df)]),{unitId:_0x54f7c6,subUnitId:_0x325ece,worksheet:_0x58935f}=_0x3b514b,_0x3f428d=_0x58935f['getRowCount'](),_0x24b678=_0x58935f[_0xffa119(0x1ee)]();if(_0x3aef15[_0xffa119(0x3db)][_0xffa119(0x1da)]>_0x3f428d||_0x3aef15[_0xffa119(0x3db)][_0xffa119(0x34c)]>_0x24b678)throw new Error(_0xffa119(0x25b));const _0x19a511=[{'id':_0x1b2e7a['id'],'params':{'unitId':_0x54f7c6,'subUnitId':_0x3aef15[_0xffa119(0x3db)][_0xffa119(0x233)],'pivotTableId':_0x3aef15[_0xffa119(0x331)],'targetCellPosition':{'row':_0x3aef15['targetCellInfo']['row'],'col':_0x3aef15['targetCellInfo'][_0xffa119(0x34c)]}}}],_0x452f86=[{'id':_0x1b2e7a['id'],'params':{'unitId':_0x54f7c6,'subUnitId':_0x325ece,'pivotTableId':_0x3aef15[_0xffa119(0x331)],'targetCellPosition':{'row':_0x22bb26[_0xffa119(0x3db)][_0xffa119(0x1da)],'col':_0x22bb26['targetCellInfo'][_0xffa119(0x34c)]}}}];return _0x118f40['sequenceExecute'](_0x19a511,_0x567a9f)&&_0x5be1d7[_0xffa119(0x348)]({'unitID':_0x54f7c6,'undoMutations':_0x452f86,'redoMutations':_0x19a511}),!0x0;}},_0x502d90={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':_0x3481c0(0x40e),async 'handler'(_0x3fac8e,_0x4d2109){const _0x4287e1=_0x3481c0;var _0x2c054e;if(!_0x4d2109)return!0x1;const _0xee1264=_0x3fac8e[_0x4287e1(0x232)](_0x118f40['IUniverInstanceService']),_0x4f84e6=_0x137f99[_0x4287e1(0x34e)](_0xee1264);if(!_0x4f84e6)return!0x1;const {unitId:_0x218677,subUnitId:_0x55d4fa,workbook:_0x3d6de5}=_0x4f84e6,{row:_0x226187,col:_0x43f635}=_0x4d2109,_0x34f9ac=_0x3fac8e[_0x4287e1(0x232)](_0x27a419[_0x4287e1(0x300)]),_0x1605fd=_0x34f9ac[_0x4287e1(0x388)](_0x218677,_0x55d4fa,_0x226187,_0x43f635);if(!_0x1605fd)return!0x1;const _0x408fa4=(_0x2c054e=_0x34f9ac['getPivotItemRenderInfoCache'](_0x218677,_0x55d4fa,_0x1605fd))==null?void 0x0:_0x2c054e[_0x4287e1(0x1f6)];if(!_0x408fa4)return!0x1;const _0xb7bffc=_0x3fac8e[_0x4287e1(0x232)](_0x27a419['SheetsPivotTableConfigModel'])['getPivotTableConfig'](_0x218677,_0x55d4fa,_0x1605fd);if(!_0xb7bffc)return!0x1;const {rowInfo:_0xa56586,colInfo:_0x3bce43}=_0x408fa4,_0x24d862=_0xa56586[_0x226187][_0x4287e1(0x4d2)],_0x2fc027=_0x3bce43[_0x43f635][_0x4287e1(0x4d2)],_0x2a62a2=_0xa56586[_0x226187][_0x4287e1(0x21c)],_0x698ab3=_0x3bce43[_0x43f635][_0x4287e1(0x21c)],_0x1218ff=_0x24d862[_0x4287e1(0x364)](_0x2fc027),_0x52356e=_0xb7bffc[_0x4287e1(0x3ae)][_0x4287e1(0x383)]['slice'](0x0,_0x2a62a2),_0x23cf2e=_0xb7bffc[_0x4287e1(0x3ae)][_0x4287e1(0x318)][_0x4287e1(0x20f)](0x0,_0x698ab3),_0x4aea63=_0x52356e['concat'](_0x23cf2e),_0x572ee1=_0x1218ff[_0x4287e1(0x4c6)]((_0x27fd9c,_0x18bcaf)=>[_0x27fd9c,_0x4aea63[_0x18bcaf]]),_0x4e0fb4=(await _0x3fac8e[_0x4287e1(0x232)](_0x27a419[_0x4287e1(0x22a)])[_0x4287e1(0x3a5)]({'unitId':_0x218677,'subUnitId':_0x55d4fa,'pivotTableId':_0x1605fd,'params':{'type':_0x42f106[_0x4287e1(0x281)],'drillDown':{'tuple':_0x572ee1}}}))[_0x4287e1(0x28e)]['drillDown'];if(!_0x4e0fb4)return!0x1;const {indexes:_0x2f0fb9,range:_0x4d07cb,sourceUnitId:_0x3ac06d,sourceSubUnitId:_0x217663,formatMap:_0x3432be}=_0x4e0fb4,{startRow:_0x15ac8e,endRow:_0x4b1274,startColumn:_0x3b7e9f,endColumn:_0x4b1f0e}=_0x4d07cb,_0x1438ef=new _0x118f40[(_0x4287e1(0x34d))](),_0x563738=_0x4b1274-_0x15ac8e,_0x37f097=_0x4b1f0e-_0x3b7e9f,_0x59e74a={},_0x325a4e=_0x137f99[_0x4287e1(0x34e)](_0xee1264,{'unitId':_0x3ac06d,'subUnitId':_0x217663});if(!_0x325a4e)return!0x1;const _0x29bc79=_0x3e1150[_0x4287e1(0x28f)],_0x279d48=_0x3e1150[_0x4287e1(0x39e)],_0x258d2b=_0x3e1150[_0x4287e1(0x39e)],_0x489502=_0x3d6de5['getStyles']()[_0x4287e1(0x2e2)](_0x29bc79),_0x24f649=_0x3d6de5['getStyles']()[_0x4287e1(0x2e2)](_0x279d48),_0x3a63a7=_0x3d6de5[_0x4287e1(0x1ce)]()['setValue'](_0x258d2b),{worksheet:_0x23cef4}=_0x325a4e;let _0x61a921=0x0;const _0x3c5ca3=0x1;_0x2f0fb9['forEach'](_0x27a66c=>{const _0x5b25b3=_0x4287e1;for(let _0x457755=0x0;_0x457755<=_0x4b1f0e-_0x3b7e9f;_0x457755++)_0x1438ef[_0x5b25b3(0x2e2)](_0x61a921,_0x457755,_0x23cef4[_0x5b25b3(0x25c)](_0x27a66c+_0x4d07cb[_0x5b25b3(0x321)]+_0x3c5ca3,_0x457755));_0x61a921++;});for(let _0x323ceb=_0x3b7e9f;_0x323ceb<=_0x4b1f0e;_0x323ceb++){const _0x5e0f07=_0x23cef4[_0x4287e1(0x25c)](_0x15ac8e,_0x323ceb);_0x59e74a[_0x15ac8e]||(_0x59e74a[_0x15ac8e]={}),_0x59e74a[_0x15ac8e][_0x323ceb]={..._0x5e0f07,'s':_0x489502};}let _0x2229f7=0x1;const _0x167f69={},_0x33461a={};_0x1438ef[_0x4287e1(0x46c)]((_0x4c5998,_0xf3c2b6)=>{const _0x136e47=_0x4287e1;_0xf3c2b6[_0x136e47(0x1d7)](_0x4bfe8e=>{const _0xd6ea09=_0x136e47,_0xffbb2a=_0x1438ef[_0xd6ea09(0x3e1)](_0x4c5998,_0x4bfe8e);if(_0x59e74a[_0x2229f7]||(_0x59e74a[_0x2229f7]={}),_0x59e74a[_0x2229f7][_0x4bfe8e]={..._0xffbb2a,'s':_0x2229f7%0x2===0x0?_0x3a63a7:_0x24f649},_0x3432be[_0x4bfe8e]&&_0x4c5998>=0x0){const _0x439ea1=_0x2229f7%0x2===0x0;let _0x11cf2f=_0x439ea1?_0x33461a[_0x4bfe8e]:_0x167f69[_0x4bfe8e];_0x11cf2f||(_0x11cf2f=_0x3d6de5[_0xd6ea09(0x1ce)]()[_0xd6ea09(0x2e2)]({..._0x439ea1?_0x258d2b:_0x279d48,'n':{'pattern':_0x3432be[_0x4bfe8e]}}),_0x439ea1?_0x33461a[_0x4bfe8e]=_0x11cf2f:_0x167f69[_0x4bfe8e]=_0x11cf2f),_0x59e74a[_0x2229f7][_0x4bfe8e]['s']=_0x11cf2f;}}),_0x2229f7++;});const _0x7226c1=new _0x118f40[(_0x4287e1(0x34d))](_0x59e74a),_0x1ed65f={};_0x7226c1[_0x4287e1(0x4e1)]((_0x38bf4b,_0x4b48d0,_0x123c24)=>{_0x1ed65f[_0x38bf4b]||(_0x1ed65f[_0x38bf4b]={}),_0x1ed65f[_0x38bf4b][_0x4b48d0]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x17672b=[],_0x16794b=[],_0x599369=_0x3d6de5[_0x4287e1(0x29f)]()[_0x4287e1(0x4a0)],_0xcbbb43=_0x118f40[_0x4287e1(0x4d3)]({'rowCount':Math[_0x4287e1(0x49e)](_0x118f40['DEFAULT_WORKSHEET_ROW_COUNT'],_0x563738+0xa),'columnCount':Math['max'](_0x118f40[_0x4287e1(0x2b5)],_0x37f097+0x5)}),_0x3dc638=_0x3fac8e[_0x4287e1(0x232)](_0x118f40[_0x4287e1(0x431)]);_0xcbbb43['id']=_0x118f40[_0x4287e1(0x3f9)](),_0xcbbb43['name']=_0x3d6de5['generateNewSheetName'](''+_0x3dc638['t'](_0x4287e1(0x373)));const _0x527a49={'index':_0x599369,'sheet':_0xcbbb43,'unitId':_0x218677},_0x5a034d=_0x137f99[_0x4287e1(0x3a8)](_0x3fac8e,_0x527a49);_0x16794b[_0x4287e1(0x21b)]({'id':_0x137f99[_0x4287e1(0x2c4)]['id'],'params':_0x527a49}),_0x17672b[_0x4287e1(0x21b)]({'id':_0x137f99[_0x4287e1(0x251)]['id'],'params':_0x5a034d}),_0x16794b['push']({'id':_0x137f99[_0x4287e1(0x3a3)]['id'],'params':{'unitId':_0x218677,'subUnitId':_0xcbbb43['id'],'cellValue':_0x59e74a}}),_0x17672b[_0x4287e1(0x358)]({'id':_0x137f99['SetRangeValuesMutation']['id'],'params':{'unitId':_0x218677,'subUnitId':_0xcbbb43['id'],'cellValue':_0x1ed65f}});const _0x1f52f9={'startRow':0x0,'startColumn':0x0,'endRow':_0x2229f7-0x1,'endColumn':_0x4b1f0e};_0x16794b['push']({'id':_0x5adf8e[_0x4287e1(0x1c8)]['id'],'params':{'unitId':_0x218677,'subUnitId':_0xcbbb43['id'],'range':_0x1f52f9}}),_0x17672b[_0x4287e1(0x358)]({'id':_0x5adf8e['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x218677,'subUnitId':_0xcbbb43['id']}});const _0x3221e0=_0x3fac8e[_0x4287e1(0x232)](_0x118f40[_0x4287e1(0x3c7)]);return _0x118f40['sequenceExecute'](_0x16794b,_0x3221e0)&&_0x3fac8e[_0x4287e1(0x232)](_0x118f40[_0x4287e1(0x3df)])['pushUndoRedo']({'unitID':_0x218677,'undoMutations':_0x17672b,'redoMutations':_0x16794b}),!0x0;}},_0x25a5e7={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':_0x3481c0(0x498),async 'handler'(_0x1bb936,_0x47f000){const _0x324efd=_0x3481c0;if(!_0x47f000)return!0x1;const _0x5e7eed=_0x1bb936[_0x324efd(0x232)](_0x118f40['ICommandService']),_0xb09a10=_0x1bb936[_0x324efd(0x232)](_0x27a419[_0x324efd(0x22a)]),_0x7d5c19=_0x1bb936[_0x324efd(0x232)](_0x118f40[_0x324efd(0x3df)]),{pivotTableId:_0x2386f4,fieldIds:_0x3fb1e3,unitId:_0x4d1017,subUnitId:_0x5b1e19}=_0x47f000,_0x3ba894=(await _0xb09a10[_0x324efd(0x3a5)]({'unitId':_0x4d1017,'subUnitId':_0x5b1e19,'pivotTableId':_0x2386f4,'params':{'type':_0x42f106[_0x324efd(0x3f5)],'removePivotField':{'fieldIds':_0x3fb1e3}}}))[_0x324efd(0x28e)][_0x324efd(0x26a)];if(!_0x3ba894)return!0x1;const {view:_0x1d7af9,changesets:_0x36b2d0,isEmpty:_0x3935fe,pivotTableConfig:_0x20195d}=_0x3ba894,_0x568c89=_0x20195d[_0x324efd(0x3db)],_0x586e5f=new _0xe4a43f[(_0x324efd(0x4a2))]();_0x586e5f[_0x324efd(0x35f)](_0x1d7af9);const _0x5709f9={'cellInfo':_0x568c89,'view':_0x586e5f,'isEmpty':_0x3935fe};if(!await _0x1bb936[_0x324efd(0x232)](_0x27a419[_0x324efd(0x32c)])[_0x324efd(0x382)]['fetchThroughAsyncInterceptors'](_0x20335a)(!0x0,_0x5709f9))return!0x1;const _0x4c6643=_0x563a64(_0x1bb936,_0x586e5f,_0x568c89,_0x3935fe),_0xed33bb=_0x4b8d94(_0x1bb936,_0x5709f9),{redos:_0x4e64c1,undos:_0x192bb2}=_0x2bb0b1(_0x5e7eed,{'pivotTableId':_0x2386f4,'unitId':_0x4d1017,'subUnitId':_0x5b1e19},_0x36b2d0);return _0x118f40['sequenceExecute']([..._0x4c6643[_0x324efd(0x1f9)],..._0xed33bb['redos'],..._0x4e64c1],_0x5e7eed),_0x7d5c19[_0x324efd(0x348)]({'unitID':_0x4d1017,'redoMutations':[..._0x4c6643['redos'],..._0xed33bb[_0x324efd(0x1f9)],..._0x4e64c1],'undoMutations':[..._0x4c6643['undos'],..._0xed33bb['undos'],..._0x192bb2]}),!0x0;}},_0x56b3f2={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x21f44c,_0x5bc114){const _0x2fe0be=_0x3481c0;if(!_0x5bc114)return!0x1;const _0x39f027=_0x21f44c['get'](_0x118f40[_0x2fe0be(0x3c7)]),_0x30b376=_0x21f44c[_0x2fe0be(0x232)](_0x118f40[_0x2fe0be(0x3df)]),_0x233437=_0x21f44c[_0x2fe0be(0x232)](_0x27a419[_0x2fe0be(0x22a)]),{resetArea:_0x561f6e,pivotTableId:_0x1a4c5b,unitId:_0x58a352,subUnitId:_0x6f6aa1}=_0x5bc114,_0x108bb9=(await _0x233437[_0x2fe0be(0x3a5)]({'unitId':_0x58a352,'subUnitId':_0x6f6aa1,'pivotTableId':_0x1a4c5b,'params':{'type':_0x42f106[_0x2fe0be(0x2ae)],'resetPivotTable':{'pivotTableId':_0x1a4c5b,'resetArea':_0x561f6e}}}))[_0x2fe0be(0x28e)][_0x2fe0be(0x301)];if(!_0x108bb9)return!0x1;const {changesets:_0x5c855f}=_0x108bb9,{redos:_0x58b4ee,undos:_0x3c9082}=_0x2bb0b1(_0x39f027,{'pivotTableId':_0x1a4c5b,'unitId':_0x58a352,'subUnitId':_0x6f6aa1},_0x5c855f);return _0x118f40[_0x2fe0be(0x346)](_0x58b4ee,_0x39f027),_0x30b376['pushUndoRedo']({'unitID':_0x58a352,'redoMutations':_0x58b4ee,'undoMutations':_0x3c9082}),!0x0;}},_0x3950d3={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x2cfa51,_0x166aec){const _0x8dc0dd=_0x3481c0,_0x516c48=_0x2cfa51['get'](_0x118f40[_0x8dc0dd(0x3c7)]),_0x6bc996=_0x2cfa51['get'](_0x27a419['SheetsPivotRPCService']),_0xf2d40=_0x2cfa51[_0x8dc0dd(0x232)](_0x27a419[_0x8dc0dd(0x300)]),_0x38315d=_0x2cfa51[_0x8dc0dd(0x232)](_0x118f40['IUniverInstanceService']),_0x188311=_0x2cfa51[_0x8dc0dd(0x232)](_0x118f40[_0x8dc0dd(0x431)]),_0x10976c=_0x2cfa51[_0x8dc0dd(0x232)](_0x118f40[_0x8dc0dd(0x3df)]);if(!_0x166aec)return!0x1;const {unitId:_0x38af04,subUnitId:_0x1c90cf,row:_0x5094b8,col:_0x267974,collapse:_0x483550}=_0x166aec,_0x24de85=_0x38315d[_0x8dc0dd(0x269)](_0x38af04);if(!_0x24de85||!_0x24de85[_0x8dc0dd(0x2b0)](_0x1c90cf))return!0x1;const _0x56f871=_0xf2d40[_0x8dc0dd(0x388)](_0x38af04,_0x1c90cf,_0x5094b8,_0x267974);if(!_0x56f871)return!0x1;const _0xd61d92=_0xf2d40['getPivotItemRenderInfoCache'](_0x38af04,_0x1c90cf,_0x56f871);if(!_0xd61d92)return!0x1;const _0x193f87=_0x118f40[_0x8dc0dd(0x437)](_0x5094b8,_0x267974),{rangesInfo:_0x3ef4d7,areaInfo:_0x17c656,headerMap:_0x4b6740}=_0xd61d92;if(!_0x3ef4d7||!_0x17c656||!_0x4b6740)return!0x1;const _0x172e89=Object[_0x8dc0dd(0x376)](_0x3ef4d7)[_0x8dc0dd(0x36d)](_0x46d42d=>_0x3ef4d7[_0x46d42d][_0x8dc0dd(0x46d)](_0x55eb1a=>_0x118f40[_0x8dc0dd(0x4ad)][_0x8dc0dd(0x368)](_0x55eb1a,_0x193f87)));let _0x40ae19;_0x172e89===_0x8dc0dd(0x30c)?_0x40ae19=_0x4b6740[_0x8dc0dd(0x37d)][_0x267974]:_0x172e89===_0x8dc0dd(0x3d6)&&(_0x40ae19=_0x4b6740[_0x8dc0dd(0x27b)][_0x5094b8]);const _0x50cc7a=_0x40ae19==null?void 0x0:_0x40ae19[_0x8dc0dd(0x40b)],_0xd0c598=_0xf2d40[_0x8dc0dd(0x1c9)](_0x38af04,_0x1c90cf,_0x5094b8,_0x267974);let _0x3840d7=_0xd0c598==null?void 0x0:_0xd0c598['v'];if(_0x3840d7===_0x188311['t'](_0x8dc0dd(0x317))&&(_0x3840d7=_0xe4a43f[_0x8dc0dd(0x43d)][_0x8dc0dd(0x4dc)]),_0x3840d7==null||!_0x56f871||!_0x50cc7a)return!0x1;const _0x40a36d=await _0x6bc996['getPivotDisplayConfig']({'unitId':_0x38af04,'subUnitId':_0x1c90cf,'pivotTableId':_0x56f871,'params':{'type':_0x42f106[_0x8dc0dd(0x39d)],'setPivotCollapse':{'tableFieldId':_0x50cc7a,'collapse':_0x483550,'item':_0x3840d7}}}),_0x19e5eb=_0x40a36d==null?void 0x0:_0x40a36d[_0x8dc0dd(0x28e)][_0x8dc0dd(0x2f2)];if(!_0x19e5eb)return!0x1;const {view:_0x3a5375,pivotTableConfig:_0x13662a,isEmpty:_0x2df5b3,changesets:_0x57838e}=_0x19e5eb,_0x13b822=new _0xe4a43f[(_0x8dc0dd(0x4a2))]();_0x13b822['formJSON'](_0x3a5375);const _0x4f2b50=_0x13662a['targetCellInfo'],_0x136a0b={'cellInfo':_0x4f2b50,'view':_0x13b822,'isEmpty':_0x2df5b3};if(!await _0x2cfa51['get'](_0x27a419[_0x8dc0dd(0x32c)])[_0x8dc0dd(0x382)][_0x8dc0dd(0x49a)](_0x20335a)(!0x0,_0x136a0b))return!0x1;const _0x2cc2d4=_0x563a64(_0x2cfa51,_0x13b822,_0x4f2b50,_0x2df5b3),_0x3a8837=_0x4b8d94(_0x2cfa51,_0x136a0b),{redos:_0x1431b1,undos:_0x2aa44d}=_0x2bb0b1(_0x516c48,{'pivotTableId':_0x56f871,'unitId':_0x38af04,'subUnitId':_0x1c90cf},_0x57838e);return _0x118f40[_0x8dc0dd(0x346)]([..._0x2cc2d4[_0x8dc0dd(0x1f9)],..._0x3a8837[_0x8dc0dd(0x1f9)],..._0x1431b1],_0x516c48),_0x10976c[_0x8dc0dd(0x348)]({'unitID':_0x38af04,'redoMutations':[..._0x2cc2d4['redos'],..._0x3a8837['redos'],..._0x1431b1],'undoMutations':[..._0x2cc2d4['undos'],..._0x3a8837['undos'],..._0x2aa44d]}),!0x0;}},_0x59d67c={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':_0x3481c0(0x48a),async 'handler'(_0x5bf489,_0x1e77d6){const _0x3f880c=_0x3481c0;if(!_0x1e77d6)return!0x1;const _0x486982=_0x5bf489[_0x3f880c(0x232)](_0x118f40[_0x3f880c(0x3c7)]),_0x43bf69=_0x5bf489[_0x3f880c(0x232)](_0x118f40[_0x3f880c(0x3df)]),_0x1686d2=_0x5bf489['get'](_0x27a419[_0x3f880c(0x22a)]),{pivotTableConfig:_0x5936c5,pivotTableId:_0x5e18d5,unitId:_0x364c2,subUnitId:_0x1d7e26}=_0x1e77d6,_0x1836c2=(await _0x1686d2[_0x3f880c(0x3a5)]({'unitId':_0x364c2,'subUnitId':_0x1d7e26,'pivotTableId':_0x5e18d5,'params':{'type':_0x42f106[_0x3f880c(0x2ad)],'setPivotTableConfig':{'pivotTableId':_0x5e18d5,'pivotTableConfig':_0x5936c5}}}))['result'][_0x3f880c(0x2b4)];if(!_0x1836c2)return!0x1;const {changesets:_0x5df06e}=_0x1836c2,{redos:_0x552972,undos:_0x5f1029}=_0x2bb0b1(_0x486982,{'pivotTableId':_0x5e18d5,'unitId':_0x364c2,'subUnitId':_0x1d7e26},_0x5df06e);return _0x118f40['sequenceExecute'](_0x552972,_0x486982),_0x43bf69[_0x3f880c(0x348)]({'unitID':_0x364c2,'redoMutations':_0x552972,'undoMutations':_0x5f1029}),!0x0;}},_0x2534c7={'type':_0x118f40['CommandType']['COMMAND'],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x143fd3,_0x50ae43){const _0xce6561=_0x3481c0;if(!_0x50ae43)return!0x1;const _0x236802=_0x143fd3[_0xce6561(0x232)](_0x118f40[_0xce6561(0x3c7)]),{pivotTableId:_0x23a5f1,tableFieldId:_0x44369f,items:_0x44b3a9,unitId:_0x116efe,subUnitId:_0x2a6d2e,isAll:_0x17a5b7}=_0x50ae43,_0x42de47=_0x143fd3[_0xce6561(0x232)](_0x27a419[_0xce6561(0x22a)]),_0x1c9c35=_0x143fd3[_0xce6561(0x232)](_0x118f40[_0xce6561(0x3df)]),_0x2d30c1=(await _0x42de47['getPivotDisplayConfig']({'unitId':_0x116efe,'subUnitId':_0x2a6d2e,'pivotTableId':_0x23a5f1,'params':{'type':_0x42f106[_0xce6561(0x230)],'setPivotFilter':{'tableFieldId':_0x44369f,'items':_0x44b3a9,'isAll':_0x17a5b7}}}))['result'][_0xce6561(0x491)];if(!_0x2d30c1)return!0x1;const {changesets:_0x40115c,pivotTableConfig:_0x14bf3e,isEmpty:_0x4ce3fc,view:_0x544a2d}=_0x2d30c1,_0x34e983=_0x14bf3e[_0xce6561(0x3db)],_0x551e6b=new _0xe4a43f[(_0xce6561(0x4a2))]();_0x551e6b['formJSON'](_0x544a2d);const _0x19abae={'cellInfo':_0x34e983,'view':_0x551e6b,'isEmpty':_0x4ce3fc};if(!await _0x143fd3[_0xce6561(0x232)](_0x27a419[_0xce6561(0x32c)])['asyncInterceptor'][_0xce6561(0x49a)](_0x20335a)(!0x0,_0x19abae))return!0x1;const _0x373a97=_0x563a64(_0x143fd3,_0x551e6b,_0x34e983,_0x4ce3fc),_0x368fc7=_0x4b8d94(_0x143fd3,_0x19abae),{undos:_0x314309,redos:_0x1fa9d2}=_0x2bb0b1(_0x236802,{'pivotTableId':_0x23a5f1,'unitId':_0x116efe,'subUnitId':_0x2a6d2e},_0x40115c);return _0x118f40['sequenceExecute']([..._0x373a97[_0xce6561(0x1f9)],..._0x368fc7[_0xce6561(0x1f9)],..._0x1fa9d2],_0x236802),_0x1c9c35[_0xce6561(0x348)]({'unitID':_0x116efe,'redoMutations':[..._0x373a97['redos'],..._0x368fc7[_0xce6561(0x1f9)],..._0x1fa9d2],'undoMutations':[..._0x373a97[_0xce6561(0x210)],..._0x368fc7[_0xce6561(0x210)],..._0x314309]}),!0x0;}},_0x2b8284={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':_0x3481c0(0x478),async 'handler'(_0x15a382,_0x5bfa5b){const _0x38251d=_0x3481c0;if(!_0x5bfa5b)return!0x1;const _0x2438b5=_0x15a382[_0x38251d(0x232)](_0x118f40[_0x38251d(0x3c7)]),_0x5d9c58=_0x15a382['get'](_0x118f40[_0x38251d(0x3df)]),_0x2e1626=_0x15a382[_0x38251d(0x232)](_0x27a419['SheetsPivotRPCService']),{info:_0x20263b,tableFieldId:_0x5d801f,pivotTableId:_0x6526d5,unitId:_0x486f72,subUnitId:_0x14341b}=_0x5bfa5b,_0x73afa7=(await _0x2e1626[_0x38251d(0x3a5)]({'unitId':_0x486f72,'subUnitId':_0x14341b,'pivotTableId':_0x6526d5,'params':{'type':_0x42f106[_0x38251d(0x36a)],'setPivotSort':{'tableFieldId':_0x5d801f,'info':_0x20263b}}}))['result'][_0x38251d(0x48e)];if(!_0x73afa7)return!0x1;const {changesets:_0x234f0f}=_0x73afa7,{redos:_0x55e0fb,undos:_0x3a8a20}=_0x2bb0b1(_0x2438b5,{'pivotTableId':_0x6526d5,'unitId':_0x486f72,'subUnitId':_0x14341b},_0x234f0f);return _0x118f40[_0x38251d(0x346)](_0x55e0fb,_0x2438b5),_0x5d9c58[_0x38251d(0x348)]({'unitID':_0x486f72,'redoMutations':_0x55e0fb,'undoMutations':_0x3a8a20}),!0x0;}},_0x2549b5={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':_0x3481c0(0x479),async 'handler'(_0x5f033e,_0x703225){const _0x39491b=_0x3481c0;if(!_0x703225)return!0x1;const _0x1f9d81=_0x5f033e['get'](_0x118f40[_0x39491b(0x3c7)]),{pivotTableId:_0x2e6057,fieldId:_0x487f98,valueFilterInfo:_0xa54110,unitId:_0x799e02,subUnitId:_0x16136d}=_0x703225,_0x58e513=_0x5f033e[_0x39491b(0x232)](_0x27a419[_0x39491b(0x22a)]),_0x30a4ca=_0x5f033e[_0x39491b(0x232)](_0x118f40[_0x39491b(0x3df)]),_0x19580c=(await _0x58e513['getPivotDisplayConfig']({'unitId':_0x799e02,'subUnitId':_0x16136d,'pivotTableId':_0x2e6057,'params':{'type':_0x42f106[_0x39491b(0x419)],'setValuePivotFilter':{'tableFieldId':_0x487f98,'filterInfo':_0xa54110}}}))['result'][_0x39491b(0x4dd)];if(!_0x19580c)return!0x1;const {changesets:_0x51e9a0,pivotTableConfig:_0x34c170,isEmpty:_0x372e60,view:_0x1c16f9}=_0x19580c,_0x3b43f7=_0x34c170['targetCellInfo'],_0x13c708=new _0xe4a43f[(_0x39491b(0x4a2))]();_0x13c708[_0x39491b(0x35f)](_0x1c16f9);const _0x3206a6={'cellInfo':_0x3b43f7,'view':_0x13c708,'isEmpty':_0x372e60};if(!await _0x5f033e[_0x39491b(0x232)](_0x27a419[_0x39491b(0x32c)])[_0x39491b(0x382)][_0x39491b(0x49a)](_0x20335a)(!0x0,_0x3206a6))return!0x1;const _0x253edf=_0x563a64(_0x5f033e,_0x13c708,_0x3b43f7,_0x372e60),_0x4cd000=_0x4b8d94(_0x5f033e,_0x3206a6),{undos:_0x30c422,redos:_0x4cd62d}=_0x2bb0b1(_0x1f9d81,{'pivotTableId':_0x2e6057,'unitId':_0x799e02,'subUnitId':_0x16136d},_0x51e9a0);return _0x118f40[_0x39491b(0x346)]([..._0x253edf['redos'],..._0x4cd000[_0x39491b(0x1f9)],..._0x4cd62d],_0x1f9d81),_0x30a4ca[_0x39491b(0x348)]({'unitID':_0x799e02,'redoMutations':[..._0x253edf[_0x39491b(0x1f9)],..._0x4cd000[_0x39491b(0x1f9)],..._0x4cd62d],'undoMutations':[..._0x253edf[_0x39491b(0x210)],..._0x4cd000['undos'],..._0x30c422]}),!0x0;}},_0x46cb13={'id':'sheet.mutation.update-date-group','type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'handler':(_0x4fbac0,_0x541c47)=>{const _0x1150f5=_0x3481c0;if(!_0x541c47)return!0x1;if(!!_0x4fbac0[_0x1150f5(0x232)](_0x118f40['IConfigService'])[_0x1150f5(0x4a3)](_0x42c0f7))return!0x0;const {unitId:_0x14777a,subUnitId:_0x565107,pivotTableId:_0x13c73d,tableFieldId:_0x30b724,dateType:_0x385bea}=_0x541c47,_0x346d42=_0x4fbac0[_0x1150f5(0x232)](_0x27a419['SheetsPivotDataSourceModel']),_0x12ee7c=_0x346d42['getPivotTableInstance'](_0x13c73d);if(!_0x12ee7c)return!0x1;const _0x24b8bb=_0x12ee7c[_0x1150f5(0x4d5)](_0x30b724);if(!_0x24b8bb)return!0x1;const _0x459347=_0x24b8bb['getOriginFieldId'](),_0x4522d1=_0x12ee7c['getDataFieldByDataFieldId'](_0x459347),_0x195236=(_0x4522d1==null?void 0x0:_0x4522d1[_0x1150f5(0x438)]())+'\x20'+_0x38e824(_0x4fbac0,_0x385bea);_0x346d42[_0x1150f5(0x477)](_0x14777a,_0x13c73d)[_0x1150f5(0x483)](_0x24b8bb['id'],_0x195236);const _0x446821=_0x12ee7c[_0x1150f5(0x28a)](_0x30b724);if(!_0x446821)return!0x1;_0x12ee7c[_0x1150f5(0x417)](_0x446821[_0x1150f5(0x371)](),_0x195236),_0x24b8bb[_0x1150f5(0x23c)](_0x385bea);const _0x5882be=_0x346d42['getPivotTableConfig'](_0x14777a,_0x565107,_0x13c73d);return _0x346d42[_0x1150f5(0x1d6)]({'unitId':_0x14777a,'subUnitId':_0x565107,'token':_0x13c73d,'type':_0xcddcb7[_0x1150f5(0x463)],'pivotConfig':_0x5882be}),!0x0;}},_0x2597c8={'id':_0x3481c0(0x290),'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'handler':(_0x51a0ac,_0x4bcb73)=>{const _0x3374e7=_0x3481c0;if(!_0x4bcb73)return!0x1;const _0x4782ca=_0x51a0ac['get'](_0x118f40[_0x3374e7(0x3df)]),{unitId:_0x3fdc37,subUnitId:_0x46116a,pivotTableId:_0x520ea8,tableFieldId:_0x99db19}=_0x4bcb73,_0x1ede02=[],_0x41ef94=[],_0x4f6d30=_0x51a0ac[_0x3374e7(0x232)](_0x27a419[_0x3374e7(0x32b)]),_0x4f008e=_0x4f6d30[_0x3374e7(0x477)](_0x3fdc37,_0x520ea8),_0x1fc1ed=_0x4f6d30[_0x3374e7(0x418)](_0x3fdc37,_0x46116a,_0x520ea8);if(!(_0x1fc1ed!=null&&_0x1fc1ed[_0x3374e7(0x3ae)][_0x3374e7(0x1bd)]))return!0x1;const _0x43efc3=Object['values'](_0x1fc1ed['fieldsConfig']['dimension'])[_0x3374e7(0x36d)](_0x56fc36=>_0x56fc36['id']===_0x99db19);if(!_0x43efc3)return!0x1;const _0x26b2c8=_0x43efc3[_0x3374e7(0x4d9)];if(!(_0x4f008e!=null&&_0x4f008e[_0x3374e7(0x476)]))return!0x1;const _0x471009=Object[_0x3374e7(0x1ca)](_0x4f008e==null?void 0x0:_0x4f008e[_0x3374e7(0x476)])['find'](_0x36c23a=>_0x36c23a['id']===_0x26b2c8);if(!_0x471009)return!0x1;_0xe4a43f['isDateGroupFieldJSON'](_0x471009)&&_0x1ede02[_0x3374e7(0x21b)]({'id':_0x46cb13['id'],'params':{..._0x4bcb73,'dateType':_0x471009['dateType']}}),_0x41ef94[_0x3374e7(0x21b)]({'id':_0x46cb13['id'],'params':{..._0x4bcb73}});const _0x409a17=_0x51a0ac['get'](_0x118f40[_0x3374e7(0x3c7)]);return _0x118f40['sequenceExecute'](_0x41ef94,_0x409a17)&&_0x4782ca['pushUndoRedo']({'unitID':_0x3fdc37,'undoMutations':_0x1ede02,'redoMutations':_0x41ef94}),!0x0;}},_0x55b79b={'type':_0x118f40['CommandType'][_0x3481c0(0x225)],'id':_0x3481c0(0x4db),async 'handler'(_0xe88b1a,_0x55a654){const _0x4b76b2=_0x3481c0;if(!_0x55a654)return!0x1;const _0x55adcb=_0xe88b1a[_0x4b76b2(0x232)](_0x118f40[_0x4b76b2(0x3c7)]),_0x451c06=_0xe88b1a[_0x4b76b2(0x232)](_0x118f40['IUndoRedoService']),_0xa09f36=_0xe88b1a['get'](_0x27a419['SheetsPivotRPCService']),{displayName:_0x3059f6,subtotalType:_0x29b3a6,format:_0x286745,tableFieldId:_0x3b9732,pivotTableId:_0x135375,unitId:_0x1e3bea,subUnitId:_0x4b26ea}=_0x55a654,_0x2b6171=(await _0xa09f36['getPivotDisplayConfig']({'unitId':_0x1e3bea,'subUnitId':_0x4b26ea,'pivotTableId':_0x135375,'params':{'type':_0x42f106[_0x4b76b2(0x1e2)],'setPivotSetting':{'tableFieldId':_0x3b9732,'displayName':_0x3059f6,'subtotalType':_0x29b3a6,'format':_0x286745}}}))[_0x4b76b2(0x28e)][_0x4b76b2(0x4b2)];if(!_0x2b6171)return!0x1;const {changesets:_0x44fe5a,view:_0x30eb48,pivotTableConfig:_0x2bfdb2,isEmpty:_0x2f364b}=_0x2b6171,_0x185d46=_0x2bfdb2[_0x4b76b2(0x3db)],_0x55d5a0=new _0xe4a43f[(_0x4b76b2(0x4a2))]();_0x55d5a0[_0x4b76b2(0x35f)](_0x30eb48);const _0xac457d={'cellInfo':_0x185d46,'view':_0x55d5a0,'isEmpty':_0x2f364b};if(!await _0xe88b1a[_0x4b76b2(0x232)](_0x27a419[_0x4b76b2(0x32c)])['asyncInterceptor'][_0x4b76b2(0x49a)](_0x20335a)(!0x0,_0xac457d))return!0x1;const _0x2caf3f=_0x563a64(_0xe88b1a,_0x55d5a0,_0x185d46,_0x2f364b),_0x456622=_0x4b8d94(_0xe88b1a,_0xac457d),{undos:_0x5c4011,redos:_0x2eb904}=_0x2bb0b1(_0x55adcb,{'pivotTableId':_0x135375,'unitId':_0x1e3bea,'subUnitId':_0x4b26ea},_0x44fe5a);return _0x118f40[_0x4b76b2(0x346)]([..._0x2caf3f[_0x4b76b2(0x1f9)],..._0x456622[_0x4b76b2(0x1f9)],..._0x2eb904],_0x55adcb),_0x451c06[_0x4b76b2(0x348)]({'unitID':_0x1e3bea,'redoMutations':[..._0x2caf3f[_0x4b76b2(0x1f9)],..._0x456622['redos'],..._0x2eb904],'undoMutations':[..._0x2caf3f['undos'],..._0x456622[_0x4b76b2(0x210)],..._0x5c4011]}),!0x0;}},_0x2cbf71={'type':_0x118f40['CommandType']['MUTATION'],'id':_0x3481c0(0x369),'handler'(_0x39e82c,_0x3ddc88){const _0x39717e=_0x3481c0;if(!_0x3ddc88)return!0x1;if(!!_0x39e82c[_0x39717e(0x232)](_0x118f40[_0x39717e(0x39c)])['getConfig'](_0x42c0f7))return!0x0;const _0x32f400=_0x39e82c[_0x39717e(0x232)](_0x27a419[_0x39717e(0x2ec)]),{pivotTableId:_0x2a46b3,deleteIds:_0x2b97da,collectionJSON:_0x1f66a3,dataRangeInfo:_0x348f77,unitId:_0x14bc82,subUnitId:_0x2ee1bc}=_0x3ddc88,_0x4cb71e=_0x32f400[_0x39717e(0x2a6)](_0x2a46b3),_0xa4a09f=_0x32f400['getPivotTableConfig'](_0x14bc82,_0x2ee1bc,_0x2a46b3);if(!_0x4cb71e||!_0xa4a09f)return!0x1;const {collection:_0x2bd7de,updateDataFieldList:_0x3af40a}=_0x32f400[_0x39717e(0x341)](_0x2a46b3,_0x1f66a3,_0x348f77,_0xa4a09f['targetCellInfo']);_0x32f400['refreshData'](_0x2bd7de,_0x3af40a,_0x348f77),_0x4cb71e[_0x39717e(0x258)](_0x2bd7de);for(const _0x4c1ab6 of _0x2b97da)_0x32f400[_0x39717e(0x4d7)](_0x348f77[_0x39717e(0x224)],_0x4c1ab6);const _0x239071=_0x32f400[_0x39717e(0x418)](_0x14bc82,_0x2ee1bc,_0x2a46b3);return _0x239071[_0x39717e(0x449)]=JSON[_0x39717e(0x408)](JSON[_0x39717e(0x2b6)](_0x348f77)),_0x32f400['addDirtyPivotTable']({'unitId':_0x14bc82,'subUnitId':_0x2ee1bc,'token':_0x2a46b3,'type':_0xcddcb7[_0x39717e(0x463)]}),!0x0;}},_0x48f6d2={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x225)],'id':_0x3481c0(0x41e),async 'handler'(_0x31cd08,_0x3bbfa9){const _0x5cc3dc=_0x3481c0,_0x3010c4=_0x31cd08[_0x5cc3dc(0x232)](_0x118f40[_0x5cc3dc(0x3c7)]),_0x430b94=_0x31cd08[_0x5cc3dc(0x232)](_0x27a419[_0x5cc3dc(0x22a)]),_0x4e976a=_0x31cd08[_0x5cc3dc(0x232)](_0x118f40[_0x5cc3dc(0x3df)]);if(!_0x3bbfa9)return!0x1;const {token:_0x578c18,dataRangeInfo:_0x1d0ba7,unitId:_0x4ef318,subUnitId:_0x52346f}=_0x3bbfa9,_0x48f5d7=[],_0x4e0787=[],_0x4baea1=(await _0x430b94['getPivotDisplayConfig']({'unitId':_0x4ef318,'subUnitId':_0x52346f,'pivotTableId':_0x578c18,'params':{'type':_0x42f106[_0x5cc3dc(0x23d)],'updatePivotSource':{'dataRangeInfo':_0x1d0ba7,'unitId':_0x4ef318,'subUnitId':_0x52346f}}}))[_0x5cc3dc(0x28e)][_0x5cc3dc(0x3e0)];if(!_0x4baea1)return!0x1;const {changesets:_0xb09084,deleteIds:_0x54db0b,collectionConfig:_0x1666cf,oldCollectionConfig:_0x196a46,view:_0x101b48,isEmpty:_0x3e7c61,pivotTableConfig:_0x292e6d}=_0x4baea1;_0x4e0787['push']({'id':_0x2cbf71['id'],'params':{'pivotTableId':_0x578c18,'deleteIds':_0x54db0b,'collectionJSON':_0x1666cf,'dataRangeInfo':_0x1d0ba7,'unitId':_0x4ef318,'subUnitId':_0x52346f}}),_0x48f5d7['unshift']({'id':_0x2cbf71['id'],'params':{'pivotTableId':_0x578c18,'deleteIds':[],'collectionJSON':_0x196a46,'dataRangeInfo':_0x292e6d[_0x5cc3dc(0x449)],'unitId':_0x4ef318,'subUnitId':_0x52346f}});const _0x541bfd=_0x292e6d[_0x5cc3dc(0x3db)],_0x54e96b=new _0xe4a43f[(_0x5cc3dc(0x4a2))]();_0x54e96b[_0x5cc3dc(0x35f)](_0x101b48);const _0x4be32e={'cellInfo':_0x541bfd,'view':_0x54e96b,'isEmpty':_0x3e7c61};if(!await _0x31cd08['get'](_0x27a419[_0x5cc3dc(0x32c)])['asyncInterceptor'][_0x5cc3dc(0x49a)](_0x20335a)(!0x0,_0x4be32e))return!0x1;const _0x1fc573=_0x563a64(_0x31cd08,_0x54e96b,_0x541bfd,_0x3e7c61),_0xf17ab=_0x4b8d94(_0x31cd08,_0x4be32e),{undos:_0x4ce887,redos:_0x4e0c9b}=_0x2bb0b1(_0x3010c4,{'pivotTableId':_0x578c18,'unitId':_0x4ef318,'subUnitId':_0x52346f},_0xb09084);return _0x118f40[_0x5cc3dc(0x346)]([..._0x1fc573[_0x5cc3dc(0x1f9)],..._0xf17ab[_0x5cc3dc(0x1f9)],..._0x4e0787,..._0x4ce887],_0x3010c4),_0x4e976a[_0x5cc3dc(0x348)]({'unitID':_0x4ef318,'redoMutations':[..._0x1fc573[_0x5cc3dc(0x1f9)],..._0xf17ab[_0x5cc3dc(0x1f9)],..._0x4e0787,..._0x4ce887],'undoMutations':[..._0x1fc573['undos'],..._0xf17ab[_0x5cc3dc(0x210)],..._0x48f5d7,..._0x4e0c9b]}),!0x0;}},_0xcc406b={'type':_0x118f40[_0x3481c0(0x2a1)]['COMMAND'],'id':_0x3481c0(0x212),async 'handler'(_0x4d0a71,_0x427c05){const _0x2fd465=_0x3481c0;if(!_0x427c05)return!0x1;const _0x25e5e1=_0x4d0a71[_0x2fd465(0x232)](_0x118f40[_0x2fd465(0x3c7)]),_0x1d9ef3=_0x4d0a71['get'](_0x27a419[_0x2fd465(0x22a)]),_0x8c2c48=_0x4d0a71[_0x2fd465(0x232)](_0x118f40[_0x2fd465(0x2f3)]),_0x290ea1=_0x4d0a71[_0x2fd465(0x232)](_0x118f40['IUndoRedoService']),{pivotTableId:_0xde23eb,position:_0x2c21ad,index:_0x3664b8}=_0x427c05,_0x5b24f5=_0x137f99[_0x2fd465(0x34e)](_0x8c2c48);if(!_0x5b24f5)return!0x1;const {unitId:_0x386d9e,subUnitId:_0x3c3157}=_0x5b24f5,_0x1c0689=(await _0x1d9ef3[_0x2fd465(0x3a5)]({'unitId':_0x386d9e,'subUnitId':_0x3c3157,'pivotTableId':_0xde23eb,'params':{'type':_0x42f106[_0x2fd465(0x2ab)],'updateValuePosition':{'position':_0x2c21ad,'index':_0x3664b8}}}))['result'][_0x2fd465(0x1c3)];if(!_0x1c0689)return!0x1;const {changesets:_0x9a053e,view:_0x32afa1,isEmpty:_0x28d942,pivotTableConfig:_0x3f8f42}=_0x1c0689,_0x4b5fed=_0x3f8f42[_0x2fd465(0x3db)],_0x33684d=new _0xe4a43f[(_0x2fd465(0x4a2))]();_0x33684d[_0x2fd465(0x35f)](_0x32afa1);const _0x4f238d=_0x4d0a71[_0x2fd465(0x232)](_0x27a419['SheetsPivotTableService']),_0x480cbb={'cellInfo':_0x4b5fed,'view':_0x33684d,'isEmpty':_0x28d942};if(!await _0x4f238d[_0x2fd465(0x382)][_0x2fd465(0x49a)](_0x20335a)(!0x0,_0x480cbb))return!0x1;const _0x43ef76=_0x563a64(_0x4d0a71,_0x33684d,_0x4b5fed,_0x28d942),_0x28b1bb=_0x4b8d94(_0x4d0a71,_0x480cbb),{undos:_0x1930e7,redos:_0x2b5dd0}=_0x2bb0b1(_0x25e5e1,{'pivotTableId':_0xde23eb,'unitId':_0x386d9e,'subUnitId':_0x3c3157},_0x9a053e);return _0x118f40['sequenceExecute']([..._0x43ef76[_0x2fd465(0x1f9)],..._0x28b1bb[_0x2fd465(0x1f9)],..._0x2b5dd0],_0x25e5e1),_0x290ea1[_0x2fd465(0x348)]({'unitID':_0x386d9e,'redoMutations':[..._0x43ef76[_0x2fd465(0x1f9)],..._0x28b1bb[_0x2fd465(0x1f9)],..._0x2b5dd0],'undoMutations':[..._0x43ef76[_0x2fd465(0x210)],..._0x28b1bb[_0x2fd465(0x210)],..._0x1930e7]}),!0x0;}},_0x492821={'type':_0x118f40[_0x3481c0(0x2a1)][_0x3481c0(0x2d2)],'id':_0x3481c0(0x3d2),'handler'(){return!0x0;}};var _0x514861=Object[_0x3481c0(0x1cd)],_0x1aed30=(_0x13e843,_0x2e55c1,_0x5ded14,_0x481467)=>{for(var _0x2bee93=_0x481467>0x1?void 0x0:_0x481467?_0x514861(_0x2e55c1,_0x5ded14):_0x2e55c1,_0x1ae199=_0x13e843['length']-0x1,_0x13d6a4;_0x1ae199>=0x0;_0x1ae199--)(_0x13d6a4=_0x13e843[_0x1ae199])&&(_0x2bee93=_0x13d6a4(_0x2bee93)||_0x2bee93);return _0x2bee93;},_0x3b1c54=(_0x2a881e,_0x2be6b8)=>(_0x5d5c61,_0x2fa931)=>_0x2be6b8(_0x5d5c61,_0x2fa931,_0x2a881e);const _0x373d5c=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x576621=(_0x455894,_0x4124b1,_0x2e8123)=>{const _0x4c1201=_0x3481c0,_0x53fdb3=_0x455894[_0x4c1201(0x46b)];_0x455894[_0x4c1201(0x41b)](_0x5545d4=>{const _0x533594=_0x4c1201,_0x174a84=_0x5545d4[_0x533594(0x371)](),_0x226c6b=_0x5545d4[_0x533594(0x2d3)](),_0x4f0086=_0x5545d4['getSourceName'](),_0xce244c=_0x5545d4[_0x533594(0x31b)]();_0x4124b1[_0x226c6b]&&_0x4124b1[_0x226c6b]===_0xce244c&&_0x4f0086===_0xce244c&&(_0x455894['renameField'](_0x174a84,_0x53fdb3['getDisplayName'](_0x226c6b)),_0x5545d4[_0x533594(0x35e)](_0x53fdb3[_0x533594(0x31b)](_0x226c6b)));}),_0x455894[_0x4c1201(0x426)](_0xe4a43f['PivotTableFiledAreaEnum'][_0x4c1201(0x38b)],_0x23b760=>{const _0x5424d4=_0x4c1201,_0xb0d75a=_0x23b760[_0x5424d4(0x371)](),_0xd05f71=_0x23b760[_0x5424d4(0x2d3)](),_0x4653b9=_0x23b760['getSourceName'](),_0x23e556=_0x23b760[_0x5424d4(0x31b)](),_0x43baf0=_0x23b760[_0x5424d4(0x237)](),_0x2df7e8=_0x2e8123(_0x4653b9,_0x43baf0);_0x4124b1[_0xd05f71]&&_0x4124b1[_0xd05f71]===_0x4653b9&&_0x2df7e8===_0x23e556&&(_0x455894['renameField'](_0xb0d75a,_0x2e8123(_0x53fdb3['getDisplayName'](_0xd05f71),_0x43baf0)),_0x23b760[_0x5424d4(0x35e)](_0x53fdb3['getDisplayName'](_0xd05f71)));});},_0x270821=(_0x404074,_0x1ad7c1,_0x170620)=>{const _0x19f1ae=_0x3481c0;var _0x40494e,_0x5ea6f8;const {arrayFormulaCellData:_0x5b2517,unitData:_0x261989}=_0x1ad7c1,{unitId:_0x3f461e,subUnitId:_0x18affb}=_0x170620,_0x4cda36=_0x170620[_0x19f1ae(0x29e)],{startColumn:_0x1b873c,endColumn:_0x15954f}=_0x4cda36,_0xecd9b0=(_0x40494e=_0x5b2517==null?void 0x0:_0x5b2517[_0x3f461e])==null?void 0x0:_0x40494e[_0x18affb],_0x1092db=(_0x5ea6f8=_0x261989==null?void 0x0:_0x261989[_0x3f461e])==null?void 0x0:_0x5ea6f8[_0x18affb],_0x475629=new Set(),_0x26a5ad=_0x15954f-_0x1b873c+0x1,{dirtyRanges:_0x4ef588}=_0x404074;if(_0x4ef588)for(const {range:_0x171257,sheetId:_0x1ac142,unitId:_0x3525d9}of _0x4ef588){if(_0x1ac142!==_0x18affb||_0x3f461e!==_0x3525d9)continue;const _0x471e57=_0x118f40['Rectangle']['getIntersects'](_0x171257,_0x4cda36);if(_0x471e57){const {startColumn:_0x40c03f,endColumn:_0x42cc5f}=_0x471e57;for(let _0x298fa5=_0x40c03f;_0x298fa5<=_0x42cc5f;_0x298fa5++)_0x475629[_0x19f1ae(0x44f)](_0x298fa5);}}if(_0x475629['size']===_0x26a5ad||_0x475629[_0x19f1ae(0x1de)]===_0x26a5ad)return Array['from'](_0x475629);if(_0x1092db){const _0x4bab20=_0x1092db['getMatrix'](),_0x5a3407=Object[_0x19f1ae(0x376)](_0x4bab20);for(const _0xb1f5e9 of _0x5a3407){const _0x237cee=Number(_0xb1f5e9),_0x259dda=_0x4bab20[_0x237cee];if(_0x475629[_0x19f1ae(0x1de)]===_0x26a5ad)break;for(const _0x1bce56 in _0x259dda){const _0xcef6e9=Number(_0x1bce56);_0xcef6e9<_0x1b873c||_0xcef6e9>_0x15954f||_0x475629['add'](_0xcef6e9);}}}if(_0xecd9b0){const _0x35b8c3=_0xecd9b0[_0x19f1ae(0x3f2)](),_0x4617d4=Object[_0x19f1ae(0x376)](_0x35b8c3);for(const _0x2205b6 of _0x4617d4){const _0xf3dce6=Number(_0x2205b6),_0x4a4298=_0x35b8c3[_0xf3dce6];if(_0x475629['size']===_0x26a5ad)break;for(const _0x489f9a in _0x4a4298){const _0x40d468=Number(_0x489f9a);_0x40d468<_0x1b873c||_0x40d468>_0x15954f||_0x475629['add'](_0x40d468);}}}return Array['from'](_0x475629);},_0x1d08e6=_0x1fc15c=>{const _0x404686=_0x3481c0,_0x58d0a0=new Set(),_0x12b855=[];for(const _0x7433a5 of _0x1fc15c){const _0x5701b9=_0x7433a5[_0x404686(0x321)]+','+_0x7433a5[_0x404686(0x403)]+','+_0x7433a5[_0x404686(0x1d8)]+','+_0x7433a5['endColumn'];_0x58d0a0['has'](_0x5701b9)||(_0x58d0a0[_0x404686(0x44f)](_0x5701b9),_0x12b855['push'](_0x7433a5));}return _0x12b855;};let _0x4abd7e=class extends _0x118f40['Disposable']{constructor(_0x3bd6d6,_0x312edf,_0x1d1c6c,_0x3859e5,_0x5a9905){const _0x12bb06=_0x3481c0;super(),_0x18cb5f(this,'_globalSubject',new _0x19259a[(_0x12bb06(0x44e))](!0x0)),_0x18cb5f(this,_0x12bb06(0x3ad),_0x19e572=>{this['_globalSubject']['next'](!0x1);}),_0x18cb5f(this,_0x12bb06(0x2c5),_0x561d60=>{const _0xb19308=_0x12bb06;this['_globalSubject'][_0xb19308(0x44d)](!0x0);}),(this[_0x12bb06(0x3b4)]=_0x3bd6d6,this['_featureCalculationManagerService']=_0x312edf,this['_commandService']=_0x1d1c6c,this[_0x12bb06(0x366)]=_0x3859e5,this[_0x12bb06(0x474)]=_0x5a9905,this[_0x12bb06(0x4a7)](),this[_0x12bb06(0x311)]());}[_0x3481c0(0x4a7)](){const _0x23b4d0=_0x3481c0;this[_0x23b4d0(0x400)](),this['_subjectViewChange'](),this['_initPivotTextInfo'](),this[_0x23b4d0(0x454)]();}['_initGlobalComputed'](){const _0x46075c=_0x3481c0;this[_0x46075c(0x366)]['pushComputingStatusSubject'](this['_globalSubject']),_0xe4a43f[_0x46075c(0x3de)]['registerCallbackWithEvent'](_0xe4a43f[_0x46075c(0x3a4)][_0x46075c(0x219)],this[_0x46075c(0x3ad)]),_0xe4a43f[_0x46075c(0x3de)][_0x46075c(0x2a0)](_0xe4a43f['PivotCallbackEnum'][_0x46075c(0x320)],this[_0x46075c(0x2c5)]);}[_0x3481c0(0x311)](){const _0x12bece=_0x3481c0;this[_0x12bece(0x2aa)](this[_0x12bece(0x48c)]['onCommandExecuted'](_0x3b20e9=>{const _0x4ffd56=_0x12bece;_0x3b20e9['id']===_0x137f99['MoveRangeMutation']['id']&&this[_0x4ffd56(0x3b4)][_0x4ffd56(0x1e3)](_0x3b20e9['params']);})),this['disposeWithMe'](this[_0x12bece(0x48c)][_0x12bece(0x1e6)](_0x1629a0=>{const _0x5c3130=_0x12bece;if(_0x1629a0['id']!==_0x25c635['id'])return;const _0xc40a60=_0x1629a0['params'],{unitId:_0x20562a,subUnitId:_0x4315b0,pivotTableId:_0xc1f04b}=_0xc40a60,_0x1615cd=_0xc40a60['params'][_0x5c3130(0x22c)],_0xfcb9fa={};switch(_0x1615cd){case _0x42f106[_0x5c3130(0x1dd)]:{const _0x56e337=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x221)];if(!_0x56e337)return;const {row:_0x114f15,col:_0x5af33d,cellData:_0x10f227,pivotItemRenderInfoCache:_0x549c62,tableFieldId:_0x4ef64c}=_0x56e337,_0x44998a=this[_0x5c3130(0x3b4)][_0x5c3130(0x2a6)](_0xc40a60[_0x5c3130(0x331)]);if(!_0x44998a||!_0x549c62)return;if(_0x4ef64c){const _0x3aefa3=_0x44998a[_0x5c3130(0x4d5)](_0x4ef64c);if(!_0x3aefa3)return;_0xfcb9fa[_0x5c3130(0x221)]={..._0x44998a[_0x5c3130(0x315)](_0x3aefa3),'tableFieldId':_0x4ef64c,'pivotTableId':_0xc40a60[_0x5c3130(0x331)],'filterInfo':_0x44998a['getFilterInfo'](_0x4ef64c),'sortInfo':_0x44998a[_0x5c3130(0x413)](_0x4ef64c),'format':_0x44998a[_0x5c3130(0x475)](_0x4ef64c)};}else{const _0xf2282e=_0x587867(_0x114f15,_0x5af33d,_0x10f227,_0x44998a,_0x549c62),_0x5d7cb5=_0xf2282e==null?void 0x0:_0xf2282e['filterId'];if(!_0x5d7cb5)return;const _0x2ad237=_0x44998a[_0x5c3130(0x4d5)](_0x5d7cb5);if(!_0x2ad237)return;_0xfcb9fa[_0x5c3130(0x221)]={..._0x44998a['getDataFieldItemInfo'](_0x2ad237),'tableFieldId':_0x5d7cb5,'pivotTableId':_0xc40a60[_0x5c3130(0x331)],'filterInfo':_0x44998a[_0x5c3130(0x24b)](_0x5d7cb5),'sortInfo':_0x44998a[_0x5c3130(0x413)](_0x5d7cb5),'format':_0x44998a[_0x5c3130(0x475)](_0x5d7cb5)};}}break;case _0x42f106['Panel']:{const _0x59695b=_0xc40a60['params'][_0x5c3130(0x1f1)];if(!_0x59695b)return;const {pivotTableId:_0x5b6a10}=_0x59695b,_0xd092f2=this[_0x5c3130(0x3b4)]['getPivotTableInstance'](_0x5b6a10);if(!_0xd092f2)return;const _0x1d6d55=this['_sheetsPivotDataSourceModel'][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0x5b6a10),_0x4d802a=_0x1686ae(_0xd092f2,_0x5b6a10,_0x1d6d55);_0xfcb9fa[_0x5c3130(0x1f1)]=_0x4d802a;}break;case _0x42f106['AddPivotField']:{const _0xdac317=this[_0x5c3130(0x3b4)][_0x5c3130(0x2a6)](_0xc1f04b),_0x1ebdc2=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x20562a),_0x5ec699=_0x1ebdc2['getCollection'](_0xc1f04b);let _0x56ddaf=null;const _0x22ae0c=this['_sheetsPivotDataSourceModel'][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b),_0x5c2374=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x4b0)];if(!_0xdac317||!_0x22ae0c||!_0x5c2374)return!0x1;const {dataFieldId:_0x3839b5,fieldArea:_0x49d46b,index:_0x5b9491}=_0x5c2374;_0xdac317[_0x5c3130(0x268)]();const _0x4864df=_0xdac317[_0x5c3130(0x22f)](_0x3839b5,_0x49d46b,_0x5b9491);if(_0x4864df&&_0x49d46b===_0xe4a43f['PivotTableFiledAreaEnum'][_0x5c3130(0x38b)]){const _0x48a9cc=_0x4864df['getId'](),_0x5ce034=_0xdac317[_0x5c3130(0x4d5)](_0x48a9cc);if(_0x5ce034){const _0xb390cb=_0x5ce034==null?void 0x0:_0x5ce034[_0x5c3130(0x283)]();_0xdac317[_0x5c3130(0x3ef)](_0x4864df[_0x5c3130(0x371)](),_0xb390cb===_0xe4a43f[_0x5c3130(0x3a0)][_0x5c3130(0x276)]?_0xe4a43f['PivotSubtotalTypeEnum'][_0x5c3130(0x34b)]:_0xe4a43f[_0x5c3130(0x360)][_0x5c3130(0x21f)]);}const _0x535d26=_0xdac317[_0x5c3130(0x351)](),_0x341f34=_0xdac317['getValuePosition'](),_0x26c3f6=_0xdac317[_0x5c3130(0x486)](_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x38b)]);if(_0x535d26===-0x1&&_0x26c3f6>0x1){const _0x1d6de0=_0x341f34===_0xe4a43f['PivotTableValuePositionEnum'][_0x5c3130(0x3f0)]?_0xe4a43f[_0x5c3130(0x3dc)]['Column']:_0x341f34,_0x3d7d59=_0x1d6de0===_0xe4a43f[_0x5c3130(0x3dc)][_0x5c3130(0x1f3)]?_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x1f3)]:_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x387)];_0xdac317['updateValuePosition'](_0x1d6de0,_0xdac317[_0x5c3130(0x486)](_0x3d7d59));}}else{if(_0x4864df&&(_0x49d46b===_0xe4a43f['PivotTableFiledAreaEnum'][_0x5c3130(0x1f3)]||_0x49d46b===_0xe4a43f['PivotTableFiledAreaEnum'][_0x5c3130(0x387)])){const _0x57795b=_0x4864df[_0x5c3130(0x371)](),_0x3c4e0d=_0xdac317[_0x5c3130(0x4d5)](_0x57795b);if(_0x3c4e0d&&(_0x3c4e0d==null?void 0x0:_0x3c4e0d[_0x5c3130(0x283)]())===_0xe4a43f['PivotDataFieldDataTypeEnum']['date']){const _0x5522c9=_0x3c4e0d[_0x5c3130(0x2da)]();if(_0x5522c9&&_0xdac317[_0x5c3130(0x1d2)](_0x4864df[_0x5c3130(0x371)](),_0x5522c9),!_0x5ec699[_0x5c3130(0x28b)]()['some'](_0x534e27=>{const _0x12b161=_0x5c3130,_0x3099c5=_0x5ec699[_0x12b161(0x3ce)](_0x534e27);return _0xe4a43f[_0x12b161(0x295)](_0x3099c5)?_0x3099c5[_0x12b161(0x325)]()[_0x12b161(0x316)]===_0x3839b5:!0x1;})){const _0xce090d=_0x1ebdc2[_0x5c3130(0x3d0)](),_0x51d9f0=_0x11b475(_0x3c4e0d[_0x5c3130(0x3f1)],_0x3c4e0d[_0x5c3130(0x2fc)]),_0x4d26ab=_0x3c4e0d['getName']()+_0x5c3130(0x3e2)+_0x38e824(this[_0x5c3130(0x474)],_0x51d9f0),_0x2dbb63=new _0xe4a43f[(_0x5c3130(0x265))](_0xce090d,_0x4d26ab,_0xe4a43f['generateHexNumber'](0x3),_0x3c4e0d[_0x5c3130(0x371)](),_0x51d9f0);_0x1ebdc2[_0x5c3130(0x49f)](_0x2dbb63),_0x5ec699[_0x5c3130(0x3fb)](_0xce090d,_0x4d26ab),_0xdac317['addFieldWithSourceId'](_0xce090d,_0x49d46b,(_0x5b9491!=null?_0x5b9491:0x0)+0x1),_0x56ddaf=_0x2dbb63;}}}}const _0x511c04=_0xdac317['isEmpty'](),_0x2a243a=_0xdac317[_0x5c3130(0x24a)]()['toJSON']();let _0x5af205;if(_0x56ddaf){_0x5af205=_0x56ddaf[_0x5c3130(0x2d5)]();const _0x492c6f=_0x56ddaf[_0x5c3130(0x371)]();_0x5ec699[_0x5c3130(0x47c)](_0x492c6f);let _0x493127=!0x0;for(const _0x263816 in _0x1ebdc2[_0x5c3130(0x32d)])if(_0x1ebdc2[_0x5c3130(0x32d)][_0x263816][_0x5c3130(0x28b)]()[_0x5c3130(0x296)](_0x492c6f)){_0x493127=!0x1;break;}_0x493127&&_0x1ebdc2['deleteDataField'](_0x492c6f);}const _0x439b86=_0xdac317[_0x5c3130(0x345)]();_0xfcb9fa[_0x5c3130(0x4b0)]={'view':_0x2a243a,'changesets':_0x439b86,'isEmpty':_0x511c04,'pivotTableConfig':_0x22ae0c,'shouldBeAddedGroupJSON':_0x5af205};}break;case _0x42f106[_0x5c3130(0x261)]:{const _0x36131b=_0xc40a60['params'][_0x5c3130(0x22b)];if(!_0x36131b)return;const _0x14104b=_0x36131b[_0x5c3130(0x449)],_0x59bdfe=_0x36131b['pivotTableId'],{collection:_0x18f709}=this[_0x5c3130(0x3b4)][_0x5c3130(0x35b)]({'unitId':_0x14104b[_0x5c3130(0x224)],'sheetName':_0x14104b['sheetName'],'subUnitId':_0x14104b[_0x5c3130(0x233)],'range':_0x14104b[_0x5c3130(0x29e)]}),_0x25cb47=new _0xe4a43f[(_0x5c3130(0x3de))](_0x18f709,void 0x0,_0x59bdfe),_0xd6a619=_0x25cb47[_0x5c3130(0x24a)](),_0x376d0c=_0x25cb47['toJSON'](),_0x1e582f=_0x18f709[_0x5c3130(0x2d5)]();_0xfcb9fa[_0x5c3130(0x22b)]={'view':_0xd6a619,'fieldsConfig':_0x376d0c,'collectionConfig':_0x1e582f,'isEmpty':_0x25cb47[_0x5c3130(0x46e)]()};}break;case _0x42f106[_0x5c3130(0x4cd)]:{const _0x4dcc37=_0xc40a60['params'][_0x5c3130(0x4b6)];if(!_0x4dcc37)return;const {fieldId:_0x94f0a8,area:_0x2eb8a3,index:_0x571b79}=_0x4dcc37,_0x5ebb0e=this[_0x5c3130(0x3b4)][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x5ebb0e)return;const _0x4e84e0=this[_0x5c3130(0x3b4)][_0x5c3130(0x2a6)](_0xc1f04b);if(!_0x4e84e0)return;_0x4e84e0[_0x5c3130(0x268)]();const {area:_0x45d3db,index:_0x3af798}=_0x4e84e0[_0x5c3130(0x3b7)](_0x94f0a8);if(_0x4e84e0['updateFieldPosition'](_0x94f0a8,_0x2eb8a3,_0x571b79),_0x2eb8a3===_0xe4a43f[_0x5c3130(0x444)]['Value']&&_0x4e84e0[_0x5c3130(0x28a)](_0x94f0a8)[_0x5c3130(0x237)]()===void 0x0){const _0x109412=_0x4e84e0[_0x5c3130(0x28a)](_0x94f0a8);if(_0x109412&&_0x109412[_0x5c3130(0x237)]()===void 0x0){const _0x15ae55=_0x4e84e0[_0x5c3130(0x4d5)](_0x94f0a8);if(_0x15ae55){const _0x3b01a7=_0x15ae55==null?void 0x0:_0x15ae55[_0x5c3130(0x283)]();_0x4e84e0[_0x5c3130(0x3ef)](_0x94f0a8,_0x3b01a7===_0xe4a43f[_0x5c3130(0x3a0)][_0x5c3130(0x276)]?_0xe4a43f[_0x5c3130(0x360)]['sum']:_0xe4a43f[_0x5c3130(0x360)][_0x5c3130(0x21f)]);}}}const _0x4445c1=_0x4e84e0[_0x5c3130(0x490)](),_0x586c59=_0x4e84e0[_0x5c3130(0x351)](),_0x290d8e=_0x4e84e0['getFieldCountByArea'](_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x38b)])>0x1;if(_0x290d8e&&_0x45d3db===_0x2eb8a3&&(_0x2eb8a3===_0xe4a43f[_0x5c3130(0x444)]['Row']&&_0x4445c1===_0xe4a43f[_0x5c3130(0x3dc)]['Row']||_0x2eb8a3===_0xe4a43f[_0x5c3130(0x444)]['Column']&&_0x4445c1===_0xe4a43f[_0x5c3130(0x3dc)][_0x5c3130(0x387)])){let _0x5c3fde=_0x586c59;_0x3af798<=_0x586c59&&_0x5c3fde--,_0x571b79<=_0x586c59&&_0x5c3fde++,_0x4e84e0[_0x5c3130(0x1c3)](_0x4445c1,_0x5c3fde);}else _0x290d8e&&(_0x45d3db===_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x1f3)]&&_0x4445c1===_0xe4a43f[_0x5c3130(0x3dc)][_0x5c3130(0x1f3)]||_0x45d3db===_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x387)]&&_0x4445c1===_0xe4a43f[_0x5c3130(0x3dc)][_0x5c3130(0x387)])&&_0x586c59>=_0x3af798&&_0x4e84e0[_0x5c3130(0x1c3)](_0x4445c1,_0x586c59-0x1),_0x290d8e&&(_0x2eb8a3===_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x1f3)]&&_0x4445c1===_0xe4a43f[_0x5c3130(0x3dc)]['Row']||_0x2eb8a3===_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x387)]&&_0x4445c1===_0xe4a43f[_0x5c3130(0x3dc)]['Column'])&&_0x586c59>=_0x571b79&&_0x4e84e0[_0x5c3130(0x1c3)](_0x4445c1,_0x586c59+0x1);const _0x9b5f1=_0x4e84e0[_0x5c3130(0x24a)](),_0x802c40=_0x4e84e0[_0x5c3130(0x46e)](),_0x1888f5=_0x4e84e0['endCollectChangeset']();_0xfcb9fa[_0x5c3130(0x4b6)]={'view':_0x9b5f1[_0x5c3130(0x2d5)](),'changesets':_0x1888f5,'isEmpty':_0x802c40,'pivotTableConfig':_0x5ebb0e};}break;case _0x42f106[_0x5c3130(0x3f5)]:{const _0x140bc9=_0xc40a60['params']['removePivotField'];if(!_0x140bc9)return;const _0xcce1b6=_0x140bc9[_0x5c3130(0x482)],_0x4911aa=this['_sheetsPivotDataSourceModel'][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x4911aa)return!0x1;const _0x502c6d=this[_0x5c3130(0x3b4)][_0x5c3130(0x2a6)](_0xc1f04b);if(!_0x502c6d)return!0x1;_0x502c6d['startCollectChangeset']();for(const _0x5f13e8 of _0xcce1b6){const {area:_0x21e292}=_0x502c6d['getFieldPositionInfoById'](_0x5f13e8);_0x21e292===_0xe4a43f[_0x5c3130(0x444)]['Value']&&_0x502c6d['removeValueFilterInfoByValueFieldId'](_0x5f13e8),(_0x21e292===_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x1f3)]||_0x21e292===_0xe4a43f[_0x5c3130(0x444)][_0x5c3130(0x387)])&&_0x502c6d[_0x5c3130(0x4b5)](_0x5f13e8),_0x502c6d[_0x5c3130(0x1bf)](_0x5f13e8);}const _0x572172=_0x502c6d[_0x5c3130(0x46e)](),_0x54f67d=_0x502c6d['query']()[_0x5c3130(0x2d5)](),_0x1f5f9c=_0x502c6d['endCollectChangeset']();_0xfcb9fa[_0x5c3130(0x26a)]={'changesets':_0x1f5f9c,'pivotTableConfig':_0x4911aa,'isEmpty':_0x572172,'view':_0x54f67d};}break;case _0x42f106['SetPivotFilter']:{const _0x5ef191=_0xc40a60[_0x5c3130(0x44b)]['setPivotFilter'];if(!_0x5ef191)return;const {tableFieldId:_0x2a7b77,items:_0x15fa3a,isAll:_0x303477}=_0x5ef191,_0x4eee18=this[_0x5c3130(0x3b4)][_0x5c3130(0x2a6)](_0xc1f04b),_0x384d00=this['_sheetsPivotDataSourceModel'][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x4eee18||!_0x384d00)return;_0x4eee18[_0x5c3130(0x268)](),_0x4eee18[_0x5c3130(0x246)](_0x2a7b77,{'type':_0xe4a43f[_0x5c3130(0x2b2)]['ManualFilter'],'list':_0x15fa3a,'isAll':_0x303477});const _0x2b7b45=_0x4eee18['isEmpty'](),_0x394249=_0x4eee18[_0x5c3130(0x24a)]()[_0x5c3130(0x2d5)](),_0xe0d717=_0x4eee18[_0x5c3130(0x345)]();_0xfcb9fa[_0x5c3130(0x491)]={'view':_0x394249,'changesets':_0xe0d717,'isEmpty':_0x2b7b45,'pivotTableConfig':_0x384d00};}break;case _0x42f106[_0x5c3130(0x419)]:{const _0x3125d7=_0xc40a60['params'][_0x5c3130(0x4dd)];if(!_0x3125d7)return;const {tableFieldId:_0x195a08,filterInfo:_0x25f539}=_0x3125d7,_0x49fb08=this[_0x5c3130(0x3b4)]['getPivotTableInstance'](_0xc1f04b),_0x500819=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x49fb08||!_0x500819)return;_0x49fb08[_0x5c3130(0x268)](),_0x49fb08[_0x5c3130(0x461)](_0x195a08,_0x25f539);const _0x13fad9=_0x49fb08[_0x5c3130(0x46e)](),_0x161095=_0x49fb08['query']()[_0x5c3130(0x2d5)](),_0x368334=_0x49fb08[_0x5c3130(0x345)]();_0xfcb9fa['setValuePivotFilter']={'view':_0x161095,'changesets':_0x368334,'isEmpty':_0x13fad9,'pivotTableConfig':_0x500819};}break;case _0x42f106[_0x5c3130(0x36a)]:{const _0x511a36=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x48e)];if(!_0x511a36)return;const {tableFieldId:_0x2678f7,info:_0x1308a6}=_0x511a36,_0x502180=this[_0x5c3130(0x3b4)]['getPivotTableInstance'](_0xc1f04b),_0xd5627=this['_sheetsPivotDataSourceModel'][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x502180||!_0xd5627)return;_0x502180[_0x5c3130(0x268)](),_0x502180[_0x5c3130(0x42e)](_0x2678f7,_0x1308a6);const _0x2b77af=_0x502180[_0x5c3130(0x46e)](),_0x33152f=_0x502180[_0x5c3130(0x24a)]()[_0x5c3130(0x2d5)](),_0x237aa0=_0x502180[_0x5c3130(0x345)]();_0xfcb9fa['setPivotSort']={'view':_0x33152f,'changesets':_0x237aa0,'isEmpty':_0x2b77af,'pivotTableConfig':_0xd5627};}break;case _0x42f106[_0x5c3130(0x1e2)]:{const _0x57628d=_0xc40a60['params'][_0x5c3130(0x4b2)];if(!_0x57628d)return;const {tableFieldId:_0x3cbb8b,displayName:_0x7ab612,subtotalType:_0x1f23b0,format:_0x15d421}=_0x57628d,_0x502061=this[_0x5c3130(0x3b4)][_0x5c3130(0x2a6)](_0xc1f04b),_0x73fc4d=this[_0x5c3130(0x3b4)][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x502061||!_0x73fc4d)return;_0x502061[_0x5c3130(0x268)](),_0x7ab612!==void 0x0&&_0x502061[_0x5c3130(0x417)](_0x3cbb8b,_0x7ab612),_0x1f23b0!==void 0x0&&_0x502061['setSubtotalType'](_0x3cbb8b,_0x1f23b0),_0x15d421!==void 0x0&&_0x502061['setFieldFormat'](_0x3cbb8b,_0x15d421);const _0x577fe4=_0x502061['isEmpty'](),_0x523597=_0x502061[_0x5c3130(0x24a)]()[_0x5c3130(0x2d5)](),_0xde5b47=_0x502061['endCollectChangeset']();_0xfcb9fa[_0x5c3130(0x4b2)]={'changesets':_0xde5b47,'pivotTableConfig':_0x73fc4d,'isEmpty':_0x577fe4,'view':_0x523597};}break;case _0x42f106[_0x5c3130(0x23d)]:{const _0x2acbf7=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x3e0)];if(!_0x2acbf7)return;const {dataRangeInfo:_0x55fff8,unitId:_0x1871fc,subUnitId:_0x9c2e9f}=_0x2acbf7,_0x45c62d=this[_0x5c3130(0x3b4)]['getPivotTableConfig'](_0x1871fc,_0x9c2e9f,_0xc1f04b),_0x3cb0c4=this[_0x5c3130(0x3b4)]['getPivotTableInstance'](_0xc1f04b);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x1871fc,_0xc1f04b)||!_0x3cb0c4||!_0x45c62d)return;const _0x18f5b1=this[_0x5c3130(0x3b4)][_0x5c3130(0x4c8)](_0x1871fc,_0xc1f04b,_0x55fff8),_0x503022=this['_sheetsPivotDataSourceModel']['getCollection'](_0x1871fc,_0xc1f04b)[_0x5c3130(0x2d5)](),{collection:_0xbe4088}=this[_0x5c3130(0x3b4)][_0x5c3130(0x35b)]({'unitId':_0x55fff8[_0x5c3130(0x224)],'sheetName':_0x55fff8[_0x5c3130(0x2e3)],'subUnitId':_0x55fff8['subUnitId'],'range':_0x55fff8['range']}),_0x4f8a68=_0xbe4088[_0x5c3130(0x2d5)]();_0x3cb0c4[_0x5c3130(0x268)]();const _0x391a35=this[_0x5c3130(0x3b4)][_0x5c3130(0x3c0)](_0x1871fc)[_0x5c3130(0x297)]()||_0xe4a43f[_0x5c3130(0x39a)];_0x3cb0c4[_0x5c3130(0x3f6)](_0x109c18=>{const _0x200ae8=_0x5c3130,_0x5d96f9=_0x109c18['getDataFieldId']();if(!_0xbe4088[_0x200ae8(0x26b)](_0x5d96f9)){const _0x60ffc8=_0xbe4088[_0x200ae8(0x49b)](_0x109c18[_0x200ae8(0x3b1)]());if(_0x60ffc8){_0x3cb0c4[_0x200ae8(0x2ff)](_0x109c18[_0x200ae8(0x371)](),_0x60ffc8['getName'](),_0x60ffc8[_0x200ae8(0x371)]());const {area:_0x53d68a}=_0x3cb0c4['getFieldPositionInfoById'](_0x109c18[_0x200ae8(0x371)]());let _0x274a33=_0x109c18['getSourceName']();const _0x460f54=_0x109c18[_0x200ae8(0x31b)]();if(_0x53d68a===_0xe4a43f[_0x200ae8(0x444)][_0x200ae8(0x38b)]){const _0x49fbcb=_0x109c18['getSubtotal']();_0x274a33=_0x391a35(_0x60ffc8[_0x200ae8(0x438)](),_0x49fbcb);}_0x460f54!==_0x274a33&&_0x3cb0c4[_0x200ae8(0x417)](_0x109c18['getId'](),_0x274a33);}else _0x3cb0c4[_0x200ae8(0x1bf)](_0x109c18['getId']());}});const _0x3129d1=_0x3cb0c4[_0x5c3130(0x46e)](),_0x199d40=_0x3cb0c4[_0x5c3130(0x24a)]()[_0x5c3130(0x2d5)](),_0x206820=_0x3cb0c4['endCollectChangeset']();_0xfcb9fa[_0x5c3130(0x3e0)]={'view':_0x199d40,'changesets':_0x206820,'isEmpty':_0x3129d1,'pivotTableConfig':_0x45c62d,'collectionConfig':_0x4f8a68,'oldCollectionConfig':_0x503022,'deleteIds':_0x18f5b1};}break;case _0x42f106[_0x5c3130(0x2ab)]:{const _0x4423ac=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x1c3)];if(!_0x4423ac)return;const {position:_0xa2a026,index:_0xd3f5ab}=_0x4423ac,_0x1354c8=this[_0x5c3130(0x3b4)][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x1354c8)return!0x1;const _0x39ea34=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0xc1f04b);if(!_0x39ea34)return!0x1;_0x39ea34[_0x5c3130(0x268)](),_0x39ea34[_0x5c3130(0x1c3)](_0xa2a026,_0xd3f5ab);const _0x29dee0=_0x39ea34[_0x5c3130(0x46e)](),_0x5a68f7=_0x39ea34[_0x5c3130(0x24a)]()[_0x5c3130(0x2d5)](),_0x344f68=_0x39ea34['endCollectChangeset']();_0xfcb9fa['updateValuePosition']={'changesets':_0x344f68,'pivotTableConfig':_0x1354c8,'isEmpty':_0x29dee0,'view':_0x5a68f7};}break;case _0x42f106[_0x5c3130(0x39d)]:{const _0x156a99=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x2f2)];if(!_0x156a99)return;const {tableFieldId:_0x480c94,collapse:_0x417683,item:_0x546eaf}=_0x156a99,_0xde5923=this[_0x5c3130(0x3b4)]['getPivotTableInstance'](_0xc1f04b),_0x6ea607=this[_0x5c3130(0x3b4)][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0xde5923||!_0x6ea607)return;_0xde5923['startCollectChangeset'](),_0xde5923[_0x5c3130(0x4cf)](_0x480c94,_0x417683,_0x546eaf);const _0x5ec7fe=_0xde5923['isEmpty'](),_0x7b278a=_0xde5923['query']()[_0x5c3130(0x2d5)](),_0x41210a=_0xde5923[_0x5c3130(0x345)]();_0xfcb9fa[_0x5c3130(0x2f2)]={'view':_0x7b278a,'isEmpty':_0x5ec7fe,'pivotTableConfig':_0x6ea607,'changesets':_0x41210a};}break;case _0x42f106[_0x5c3130(0x2ad)]:{const _0x5593d9=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x2b4)];if(!_0x5593d9)return;const {pivotTableConfig:_0x2d65f0}=_0x5593d9,_0x564618=this[_0x5c3130(0x3b4)]['getPivotTableInstance'](_0xc1f04b),_0x395764=this['_sheetsPivotDataSourceModel'][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x564618||!_0x395764)return;_0x564618[_0x5c3130(0x268)](),_0xb91f33(_0x564618,_0x2d65f0);const _0x307a78=_0x564618[_0x5c3130(0x46e)](),_0x4c1914=_0x564618['query']()[_0x5c3130(0x2d5)](),_0x380638=_0x564618[_0x5c3130(0x345)]();_0xfcb9fa[_0x5c3130(0x2b4)]={'view':_0x4c1914,'isEmpty':_0x307a78,'pivotTableConfig':{..._0x395764,'fieldsConfig':_0x564618[_0x5c3130(0x2d5)]()},'changesets':_0x380638};}break;case _0x42f106[_0x5c3130(0x2ae)]:{const _0x4db499=_0xc40a60['params'][_0x5c3130(0x301)];if(!_0x4db499)return;const _0x459465=this[_0x5c3130(0x3b4)][_0x5c3130(0x2a6)](_0xc1f04b),_0xea2bc2=this[_0x5c3130(0x3b4)][_0x5c3130(0x418)](_0x20562a,_0x4315b0,_0xc1f04b);if(!_0x459465||!_0xea2bc2)return;_0x459465['startCollectChangeset'](),_0x29cf08(_0x459465,_0x4db499['resetArea']);const _0x18f763=_0x459465[_0x5c3130(0x24a)]()['toJSON'](),_0x330628=_0x459465['endCollectChangeset']();_0xfcb9fa[_0x5c3130(0x301)]={'view':_0x18f763,'isEmpty':!0x0,'pivotTableConfig':{..._0xea2bc2,'fieldsConfig':_0x459465[_0x5c3130(0x2d5)]()},'changesets':_0x330628};}break;case _0x42f106[_0x5c3130(0x3cd)]:{const _0x36f0aa=_0xc40a60[_0x5c3130(0x44b)][_0x5c3130(0x36c)];if(!_0x36f0aa)return;const _0x5dcbae=_0x36f0aa[_0x5c3130(0x449)],_0x4a62a6=_0x36f0aa[_0x5c3130(0x331)],{collection:_0x5538b4}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x5dcbae['unitId'],'sheetName':_0x5dcbae[_0x5c3130(0x2e3)],'subUnitId':_0x5dcbae[_0x5c3130(0x233)],'range':_0x5dcbae[_0x5c3130(0x29e)]}),_0x2eaf79=new _0xe4a43f['PivotTable'](_0x5538b4,void 0x0,_0x4a62a6),_0x30a642=_0x5538b4[_0x5c3130(0x28b)](),{rows:_0x5edc1e,columns:_0x2e3849,filters:_0x139059,values:_0x2852c4}=_0x36f0aa[_0x5c3130(0x35c)];_0x2eaf79[_0x5c3130(0x268)]();for(const {field:_0x260d65,selectedItems:_0xd4e4c1}of _0x5edc1e||[]){const _0x11db82=_0x30a642[_0x260d65];if(_0x11db82){const _0x444f27=_0x2eaf79[_0x5c3130(0x22f)](_0x11db82,_0xe4a43f['PivotTableFiledAreaEnum'][_0x5c3130(0x1f3)]);_0xd4e4c1&&_0x444f27&&_0x2eaf79[_0x5c3130(0x246)](_0x444f27[_0x5c3130(0x371)](),{'type':_0xe4a43f[_0x5c3130(0x2b2)][_0x5c3130(0x310)],'list':_0xd4e4c1,'isAll':!0x1});}}for(const {field:_0x44c1bd,selectedItems:_0x5f1eda}of _0x2e3849||[]){const _0x36f02a=_0x30a642[_0x44c1bd];if(_0x36f02a){const _0x519b82=_0x2eaf79[_0x5c3130(0x22f)](_0x36f02a,_0xe4a43f[_0x5c3130(0x444)]['Column']);_0x5f1eda&&_0x519b82&&_0x2eaf79['setLabelFilterInfo'](_0x519b82[_0x5c3130(0x371)](),{'type':_0xe4a43f[_0x5c3130(0x2b2)][_0x5c3130(0x310)],'list':_0x5f1eda,'isAll':!0x1});}}for(const {field:_0x461344,selectedItems:_0x29d7b8}of _0x139059||[]){const _0x177a37=_0x30a642[_0x461344];if(_0x177a37){const _0x43bc50=_0x2eaf79[_0x5c3130(0x22f)](_0x177a37,_0xe4a43f[_0x5c3130(0x444)]['Filter']);_0x29d7b8&&_0x43bc50&&_0x2eaf79[_0x5c3130(0x246)](_0x43bc50['getId'](),{'type':_0xe4a43f[_0x5c3130(0x2b2)][_0x5c3130(0x310)],'list':_0x29d7b8,'isAll':!0x1});}}for(const {field:_0x2db5cd,subTotalType:_0x572b51,formatString:_0x3f46fd}of _0x2852c4||[]){const _0xdef698=_0x5538b4[_0x5c3130(0x3ce)](_0x30a642[_0x2db5cd]);if(!_0xdef698)continue;const _0x442c29=_0x30a642[_0x2db5cd];if(_0x442c29){const _0x23e10c=_0x2eaf79[_0x5c3130(0x22f)](_0x442c29,_0xe4a43f['PivotTableFiledAreaEnum'][_0x5c3130(0x38b)]);if(_0x23e10c){if(_0x572b51!==void 0x0){_0x2eaf79[_0x5c3130(0x3ef)](_0x23e10c[_0x5c3130(0x371)](),_0x572b51);const _0x115828=this['_sheetsPivotDataSourceModel'][_0x5c3130(0x3c0)](_0x5dcbae[_0x5c3130(0x224)])[_0x5c3130(0x297)]()||_0xe4a43f['getAutoDisplayName'],_0x38bf62=_0x5538b4['getDisplayName'](_0x442c29),_0x3e873f=_0x115828(_0x38bf62,_0x572b51);_0x2eaf79[_0x5c3130(0x417)](_0x23e10c[_0x5c3130(0x371)](),_0x3e873f);}else{if(_0xdef698){const _0x1a1f18=_0xdef698==null?void 0x0:_0xdef698['getFieldDataType']();_0x2eaf79[_0x5c3130(0x3ef)](_0x23e10c['getId'](),_0x1a1f18===_0xe4a43f[_0x5c3130(0x3a0)]['number']?_0xe4a43f['PivotSubtotalTypeEnum'][_0x5c3130(0x34b)]:_0xe4a43f[_0x5c3130(0x360)][_0x5c3130(0x21f)]);}}_0x3f46fd&&_0x2eaf79[_0x5c3130(0x1d2)](_0x23e10c[_0x5c3130(0x371)](),_0x3f46fd);}}}const _0xa357b8=_0x2eaf79['query'](),_0x4bab9b=_0x2eaf79[_0x5c3130(0x2d5)](),_0x361c5f=_0x2eaf79[_0x5c3130(0x46e)](),_0x1c4959=_0x2eaf79[_0x5c3130(0x345)](),_0x1812e0=_0x5538b4[_0x5c3130(0x2d5)]();_0xfcb9fa[_0x5c3130(0x36c)]={'view':_0xa357b8,'fieldsConfig':_0x4bab9b,'collectionConfig':_0x1812e0,'isEmpty':_0x361c5f,'changesets':_0x1c4959};}break;case _0x42f106['DrillDown']:{const _0x189908=_0x19289f(this[_0x5c3130(0x474)],_0xc40a60);if(!_0x189908)return;const {range:_0x19cdab,sourceSubUnitId:_0x319403,sourceUnitId:_0x980736,formatMap:_0x5281f7,indexes:_0x1520e0}=_0x189908;_0xfcb9fa[_0x5c3130(0x216)]={'range':_0x19cdab,'sourceSubUnitId':_0x319403,'sourceUnitId':_0x980736,'formatMap':_0x5281f7,'indexes':_0x1520e0};}break;}this[_0x5c3130(0x48c)][_0x5c3130(0x22e)](_0x3c5c67['id'],{'version':_0xc40a60['version'],'result':_0xfcb9fa},{'onlyLocal':!0x0});}));}[_0x3481c0(0x1fc)](){const _0x3115e7=_0x3481c0;this[_0x3115e7(0x2aa)](this['_commandService'][_0x3115e7(0x1e6)](_0x4dcb4b=>{const _0x147d05=_0x3115e7;if(_0x4dcb4b['id']!==_0x23291c['id'])return;const _0x49c7a9=_0x4dcb4b[_0x147d05(0x44b)];return this[_0x147d05(0x3b4)][_0x147d05(0x319)](_0x49c7a9[_0x147d05(0x3e3)]),!0x0;}));}[_0x3481c0(0x400)](){const _0x3f182b=_0x3481c0;this[_0x3f182b(0x3b4)][_0x3f182b(0x30a)][_0x3f182b(0x28c)](_0x1c8a81=>{const _0x5ca011=_0x3f182b;switch(_0x1c8a81[_0x5ca011(0x22c)]){case _0x48eb95[_0x5ca011(0x44f)]:_0x1c8a81[_0x5ca011(0x1d5)]&&_0x1c8a81[_0x5ca011(0x3db)]&&this['handleSourceRangeChange'](_0x1c8a81[_0x5ca011(0x398)],_0x1c8a81[_0x5ca011(0x1d5)],_0x1c8a81[_0x5ca011(0x3db)]);break;case _0x48eb95['delete']:{const {unitId:_0x4e26e3,subUnitId:_0x3488f4,token:_0x238cec}=_0x1c8a81;_0x4e26e3&&_0x3488f4&&_0x238cec&&this[_0x5ca011(0x2a4)](_0x4e26e3,_0x3488f4,_0x238cec);}break;case _0x48eb95['update']:{const {token:_0x4f4c3a,oldSourceRangeInfo:_0xe69ea8,dataRangeInfo:_0x17564e,targetCellInfo:_0x159c6c}=_0x1c8a81,{unitId:_0x9582aa,subUnitId:_0x364446}=_0xe69ea8||{};_0x9582aa&&_0x364446&&_0x4f4c3a&&this[_0x5ca011(0x2a4)](_0x9582aa,_0x364446,_0x4f4c3a),_0x17564e&&_0x159c6c&&this[_0x5ca011(0x46a)](_0x4f4c3a,_0x17564e,_0x159c6c);}break;}});}[_0x3481c0(0x454)](){const _0x2c928e=_0x3481c0;this['_sheetsPivotDataSourceModel'][_0x2c928e(0x23e)]['subscribe'](_0x43789a=>{const _0x5b1caa=_0x2c928e;Object[_0x5b1caa(0x376)](_0x43789a)['forEach'](_0x1f955b=>{const _0x6a3464=_0x5b1caa,_0x45e6ab=this[_0x6a3464(0x3b4)]['getTargetByPivotId'](_0x1f955b);if(_0x45e6ab){const _0x58c819=this['_sheetsPivotDataSourceModel'][_0x6a3464(0x418)](_0x45e6ab==null?void 0x0:_0x45e6ab[_0x6a3464(0x224)],_0x45e6ab==null?void 0x0:_0x45e6ab[_0x6a3464(0x233)],_0x1f955b);_0x58c819&&(this[_0x6a3464(0x46a)](_0x1f955b,_0x58c819[_0x6a3464(0x449)],_0x58c819[_0x6a3464(0x3db)]),this['triggerDirtyFeature']([{'unitId':_0x45e6ab[_0x6a3464(0x224)],'subUnitId':_0x45e6ab['subUnitId'],'token':_0x1f955b}]));}});});}[_0x3481c0(0x411)](){const _0x5b49c5=_0x3481c0;this[_0x5b49c5(0x3b4)][_0x5b49c5(0x312)][_0x5b49c5(0x28c)](_0x2f66b4=>{const _0xa15c8c=_0x5b49c5,{unitId:_0x2cd8f4,subUnitId:_0x2535a7,pivotTableId:_0x559f6b}=_0x2f66b4;_0x2cd8f4&&_0x2535a7&&_0x559f6b&&this[_0xa15c8c(0x49d)]([{'unitId':_0x2cd8f4,'subUnitId':_0x2535a7,'token':_0x559f6b}]);});}[_0x3481c0(0x49d)](_0x192def){const _0x255dfe=_0x3481c0,_0x1947d3={};_0x192def[_0x255dfe(0x1d7)](_0x3f185e=>{var _0x13a447,_0x29f00e;const {unitId:_0x2dcd47,subUnitId:_0x319bd7,token:_0x139dc1}=_0x3f185e;_0x1947d3[_0x2dcd47]=(_0x13a447=_0x1947d3[_0x2dcd47])!=null?_0x13a447:{},_0x1947d3[_0x2dcd47][_0x319bd7]=(_0x29f00e=_0x1947d3[_0x2dcd47][_0x319bd7])!=null?_0x29f00e:{},_0x1947d3[_0x2dcd47][_0x319bd7][_0x139dc1]=!0x0;}),this[_0x255dfe(0x48c)][_0x255dfe(0x22e)](_0x492821['id'],_0x1947d3);}['removeSourceRangeChange'](_0x95923d,_0x2296b0,_0x283a6b){const _0x423110=_0x3481c0;this['_featureCalculationManagerService'][_0x423110(0x3e5)](_0x95923d,_0x2296b0,[_0x283a6b]);}['handleSourceRangeChange'](_0x269a70,_0x3835e7,_0x25736c){const _0x3d2e87=_0x3481c0,{unitId:_0x5947af,subUnitId:_0x5d1bf8}=_0x3835e7;this[_0x3d2e87(0x329)][_0x3d2e87(0x1bb)](_0x25736c[_0x3d2e87(0x224)],_0x25736c[_0x3d2e87(0x233)],_0x269a70)&&this[_0x3d2e87(0x2a4)](_0x5947af,_0x5d1bf8,_0x269a70);const _0x3ff608={'sheetId':_0x5d1bf8,..._0x3835e7};this[_0x3d2e87(0x329)][_0x3d2e87(0x39b)](_0x25736c['unitId'],_0x25736c[_0x3d2e87(0x233)],_0x269a70,{'unitId':_0x25736c['unitId'],'subUnitId':_0x25736c['subUnitId'],'dependencyRanges':[_0x3ff608],'getDirtyData':(_0x508f5c,_0x14f59a)=>{const _0x3fa81e=_0x3d2e87,_0x5f06ca=this[_0x3fa81e(0x3b4)],_0x3e06fb=_0x5f06ca[_0x3fa81e(0x285)](_0x269a70);if(!_0x3e06fb)return _0x373d5c();const {unitId:_0x3796b9,subUnitId:_0x6311b8}=_0x3e06fb,_0x5a64f6=_0x270821(_0x508f5c,_0x14f59a,_0x3835e7);if(_0x5a64f6[_0x3fa81e(0x4a0)]>0x0){const _0x80ce5e=_0x5f06ca['getCollection'](_0x5947af,_0x269a70),_0x40219c=_0x80ce5e[_0x3fa81e(0x28b)](),_0x496d8e=this[_0x3fa81e(0x226)](_0x3835e7[_0x3fa81e(0x224)],_0x3835e7[_0x3fa81e(0x233)],_0x14f59a),_0x499f6d={},_0x3e4d0a=this[_0x3fa81e(0x3b4)][_0x3fa81e(0x3c0)](_0x3796b9)[_0x3fa81e(0x297)]()||_0xe4a43f['getAutoDisplayName'],_0x31fa09=[];for(const _0x5eb047 of _0x5a64f6){const _0x12395a=_0x5eb047-(_0x3835e7[_0x3fa81e(0x29e)][_0x3fa81e(0x1d8)]||0x0),_0x2d77a8=_0x40219c[_0x12395a];_0x31fa09['push'](_0x2d77a8),_0x499f6d[_0x2d77a8]=_0x80ce5e['getFieldById'](_0x2d77a8)[_0x3fa81e(0x438)](),_0x5f06ca[_0x3fa81e(0x3c0)](_0x5947af)[_0x3fa81e(0x4c0)](_0x2d77a8,_0x3835e7,_0x12395a,_0x496d8e);}_0x80ce5e[_0x3fa81e(0x3a7)](_0x31fa09)[_0x3fa81e(0x1d7)](_0x4a6434=>{const _0x37bb42=_0x3fa81e,[_0xa046d7,_0x5bdcf4]=_0x4a6434,_0x1aaf1c=_0x80ce5e[_0x37bb42(0x3ce)](_0xa046d7),_0x592cef=_0x80ce5e[_0x37bb42(0x3ce)](_0x5bdcf4);_0x1aaf1c&&_0x592cef&&_0x1aaf1c[_0x37bb42(0x464)](_0x592cef);}),_0x80ce5e['updateAllDisplayName']();const _0x5b7e1b=_0x5f06ca[_0x3fa81e(0x2a6)](_0x269a70);if(_0x5b7e1b){_0x576621(_0x5b7e1b,_0x499f6d,_0x3e4d0a),_0x5b7e1b[_0x3fa81e(0x241)](!0x0);const _0x904fab=_0x5b7e1b['query'](),_0x430e43=_0x5f06ca[_0x3fa81e(0x418)](_0x3796b9,_0x6311b8,_0x269a70),_0x562fdf=_0x5f06ca['getDataFieldManager'](_0x5947af)[_0x3fa81e(0x2d5)]();_0x5f06ca['updateView'](_0x3796b9,_0x6311b8,_0xcddcb7[_0x3fa81e(0x463)],_0x269a70,_0x904fab,_0x430e43,_0x562fdf,!0x0);}}return this[_0x3fa81e(0x428)](_0x3796b9,_0x6311b8,_0x269a70);}});}['getMatrixFromRunTimeData'](_0x459176,_0x21f506,_0x2fb0d3){var _0x10fbea,_0x2fade4;const {arrayFormulaCellData:_0x4956ec,unitData:_0x31b4f7}=_0x2fb0d3,_0xd053ae=(_0x10fbea=_0x4956ec==null?void 0x0:_0x4956ec[_0x459176])==null?void 0x0:_0x10fbea[_0x21f506],_0x2131a9=(_0x2fade4=_0x31b4f7==null?void 0x0:_0x31b4f7[_0x459176])==null?void 0x0:_0x2fade4[_0x21f506];return{'arrayFormulaCellDataMatrix':_0xd053ae,'unitDataMatrix':_0x2131a9};}[_0x3481c0(0x428)](_0x4d7eee,_0x35a13a,_0x594d01){const _0x909aed=_0x3481c0,_0x92f45d=this[_0x909aed(0x3b4)][_0x909aed(0x3d9)](_0x4d7eee,_0x35a13a,_0x594d01),_0x5f439c=[],_0x571d4f=new _0x118f40[(_0x909aed(0x34d))]();if(_0x92f45d){const {rangeCache:_0x44f6f2,matrix:_0x4fa1bd,oldRangeCache:_0x423a45,oldMatrix:_0x1462da}=_0x92f45d,_0x436681=_0x3b81bd(_0x423a45),_0x196c21=_0x3b81bd(_0x44f6f2);_0x5f439c['push'](..._0x196c21,..._0x436681),_0x1462da&&_0x423a45&&_0x436681[_0x909aed(0x1d7)](_0x2a6dfc=>{const _0x3abf85=_0x909aed;for(let _0xc35215=_0x2a6dfc[_0x3abf85(0x321)];_0xc35215<=_0x2a6dfc['endRow'];_0xc35215++)for(let _0x45f884=_0x2a6dfc[_0x3abf85(0x1d8)];_0x45f884<=_0x2a6dfc[_0x3abf85(0x202)];_0x45f884++)_0x571d4f[_0x3abf85(0x1ef)](_0xc35215,_0x45f884);}),_0x4fa1bd&&_0x196c21&&_0x196c21['forEach'](_0x583890=>{const _0x1be462=_0x909aed;for(let _0x12898f=_0x583890['startRow'];_0x12898f<=_0x583890[_0x1be462(0x403)];_0x12898f++)for(let _0x1685a6=_0x583890['startColumn'];_0x1685a6<=_0x583890[_0x1be462(0x202)];_0x1685a6++)_0x571d4f[_0x1be462(0x2e2)](_0x12898f,_0x1685a6,_0x4fa1bd[_0x1be462(0x3e1)](_0x12898f,_0x1685a6));});}const _0x389e47={};return _0x389e47[_0x4d7eee]={[_0x35a13a]:_0x1d08e6(_0x5f439c)},{'runtimeCellData':{[_0x4d7eee]:{[_0x35a13a]:_0x571d4f}},'dirtyRanges':_0x389e47};}[_0x3481c0(0x23b)](){}};_0x4abd7e=_0x1aed30([_0x3b1c54(0x0,_0x118f40['Inject'](_0x27a419[_0x3481c0(0x2ec)])),_0x3b1c54(0x1,_0x118f40[_0x3481c0(0x1eb)](_0x271ee6[_0x3481c0(0x381)])),_0x3b1c54(0x2,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3c7)])),_0x3b1c54(0x3,_0x118f40[_0x3481c0(0x1eb)](_0x271ee6[_0x3481c0(0x29d)])),_0x3b1c54(0x4,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3f7)]))],_0x4abd7e);var _0x4d8c25=Object['getOwnPropertyDescriptor'],_0x4d2e0e=(_0x4509dd,_0xbbed8b,_0x1ccdd8,_0x86a18d)=>{const _0x2ed69a=_0x3481c0;for(var _0x2bb118=_0x86a18d>0x1?void 0x0:_0x86a18d?_0x4d8c25(_0xbbed8b,_0x1ccdd8):_0xbbed8b,_0x27f129=_0x4509dd[_0x2ed69a(0x4a0)]-0x1,_0x4bac52;_0x27f129>=0x0;_0x27f129--)(_0x4bac52=_0x4509dd[_0x27f129])&&(_0x2bb118=_0x4bac52(_0x2bb118)||_0x2bb118);return _0x2bb118;},_0x49c729=(_0xdbd6ba,_0x2ab1ba)=>(_0x14d29a,_0x4bb6e4)=>_0x2ab1ba(_0x14d29a,_0x4bb6e4,_0xdbd6ba);let _0x55f207=class extends _0x118f40[_0x3481c0(0x499)]{constructor(_0x2c0032,_0x1ca92a,_0x4a0a33,_0x2983ba){const _0x46695f=_0x3481c0;super(),_0x18cb5f(this,'disposableCollection',new _0x118f40['DisposableCollection']()),(this[_0x46695f(0x3ba)]=_0x2c0032,this['_sheetInterceptorService']=_0x1ca92a,this[_0x46695f(0x24c)]=_0x4a0a33,this['_sheetsPivotTableConfigModel']=_0x2983ba,this[_0x46695f(0x3ab)]());}['_initClearSelectionCommandInterceptor'](){const _0x492b43=_0x3481c0;this['disposeWithMe'](this[_0x492b43(0x30e)][_0x492b43(0x37f)]({'getMutations':_0x1a40c6=>{const _0x53f18c=_0x492b43;if(_0x1a40c6['id']===_0x137f99[_0x53f18c(0x236)]['id']||_0x1a40c6['id']===_0x137f99[_0x53f18c(0x313)]['id']){const _0x2d6bf1=[],_0x18cd4b=[],_0x1cb310=this[_0x53f18c(0x24c)]['getCurrentSelections']()[_0x53f18c(0x4c6)](_0x421507=>_0x421507[_0x53f18c(0x29e)]),_0x45bce4=_0x137f99[_0x53f18c(0x34e)](this['_univerInstanceService'],_0x1a40c6[_0x53f18c(0x44b)]);if(!_0x45bce4)return{'redos':[],'undos':[]};const {unitId:_0xd07807,subUnitId:_0x1ec00e}=_0x45bce4,_0x48c047={},_0x37cc5a=this[_0x53f18c(0x2c3)][_0x53f18c(0x2cc)](_0xd07807,_0x1ec00e);if(_0x37cc5a!=null&&_0x37cc5a['size'])for(const [_0x1ef493,_0x28018e]of _0x37cc5a){const {unitId:_0x31b28d,subUnitId:_0x1ac6a2,row:_0x237afb,col:_0x131720}=_0x28018e['targetCellInfo'];_0x31b28d===_0x45bce4[_0x53f18c(0x224)]&&_0x1ac6a2===_0x45bce4[_0x53f18c(0x233)]&&(_0x48c047[_0x237afb+'-'+_0x131720]=_0x1ef493);}return _0x1cb310&&_0x45bce4&&_0x1cb310[_0x53f18c(0x1d7)](_0x343730=>{const _0x31dfe0=_0x53f18c;_0x118f40[_0x31dfe0(0x4bd)]['foreach'](_0x343730,(_0x3243b7,_0x1b5ce0)=>{const _0x1085b3=_0x31dfe0,_0x1144fa=_0x3243b7+'-'+_0x1b5ce0;if(_0x48c047[_0x1144fa]){const _0x50a12f=_0x48c047[_0x1144fa];_0x2d6bf1[_0x1085b3(0x21b)]({'id':_0x467df3['id'],'params':{'unitId':_0xd07807,'subUnitId':_0x1ec00e,'pivotTableId':_0x50a12f}});const _0x24f01d=this[_0x1085b3(0x2c3)][_0x1085b3(0x477)](_0xd07807,_0x50a12f),_0x2a997f=this[_0x1085b3(0x2c3)][_0x1085b3(0x418)](_0xd07807,_0x1ec00e,_0x50a12f);_0x18cd4b['push']({'id':_0x1cde24['id'],'params':{'unitId':_0xd07807,'subUnitId':_0x1ec00e,'pivotTableId':_0x50a12f,'pivotTableConfig':_0x2a997f,'collectionConfig':_0x24f01d}});}});}),{'redos':_0x2d6bf1,'undos':_0x18cd4b};}return{'redos':[],'undos':[]};}}));}};_0x55f207=_0x4d2e0e([_0x49c729(0x0,_0x118f40[_0x3481c0(0x2f3)]),_0x49c729(0x1,_0x118f40[_0x3481c0(0x1eb)](_0x137f99['SheetInterceptorService'])),_0x49c729(0x2,_0x118f40[_0x3481c0(0x1eb)](_0x137f99['SheetsSelectionsService'])),_0x49c729(0x3,_0x118f40[_0x3481c0(0x1eb)](_0x27a419[_0x3481c0(0x32b)]))],_0x55f207);var _0x304dc6=Object[_0x3481c0(0x1cd)],_0x2996e3=(_0x1d20ad,_0x27f4bf,_0x3ddbd1,_0x3861e6)=>{const _0x15f9bb=_0x3481c0;for(var _0x3ea46b=_0x3861e6>0x1?void 0x0:_0x3861e6?_0x304dc6(_0x27f4bf,_0x3ddbd1):_0x27f4bf,_0x44f899=_0x1d20ad[_0x15f9bb(0x4a0)]-0x1,_0x14441e;_0x44f899>=0x0;_0x44f899--)(_0x14441e=_0x1d20ad[_0x44f899])&&(_0x3ea46b=_0x14441e(_0x3ea46b)||_0x3ea46b);return _0x3ea46b;},_0x22a596=(_0x57b1cb,_0x8b4bcf)=>(_0x4cf052,_0x45058c)=>_0x8b4bcf(_0x4cf052,_0x45058c,_0x57b1cb);let _0x374ce3=class extends _0x118f40[_0x3481c0(0x499)]{constructor(_0x5e82b6,_0x2bbdb9,_0x5e6cb5,_0x1fde08,_0x1f1727){const _0x53eb59=_0x3481c0;super(),this[_0x53eb59(0x30e)]=_0x5e82b6,this['_injector']=_0x2bbdb9,this['_univerInstanceService']=_0x5e6cb5,this[_0x53eb59(0x2c3)]=_0x1fde08,this[_0x53eb59(0x49c)]=_0x1f1727,this[_0x53eb59(0x394)]();}[_0x3481c0(0x342)](_0x5ce5dc,_0x1325f4,_0x5be6ca){const _0x268b49=_0x3481c0,{pageView:_0x293cff,cornerView:_0x4a6deb,rowView:_0xe07677,colView:_0x221c1e,dataView:_0x5df9af}=_0x1325f4,_0x1e1ad4=_0x5ce5dc;let _0x124502;if(_0x5be6ca)_0x124502=[..._0x22dcde(_0x1e1ad4)];else{const _0x213ca0=_0x5d19b8(_0x1e1ad4,_0x293cff,!0x0),_0x5bae57=_0x293cff[_0x268b49(0x4a5)]>=0x0?_0x293cff['lastRow']+0x1:0x0,_0xf11021=_0x4a6deb[_0x268b49(0x458)],_0x5cd1c3=_0x4a6deb[_0x268b49(0x3c2)],_0x4e3b25=_0x213ca0['length']>0x0?_0x22118b:0x0,_0x2a1f69=_0x5d19b8({'row':_0x1e1ad4[_0x268b49(0x1da)]+_0x5bae57+_0x4e3b25,'col':_0x1e1ad4[_0x268b49(0x34c)]},_0x4a6deb,!0x1,!0x1),_0xdca5e3=_0x5d19b8({'row':_0x1e1ad4['row']+_0x5bae57+_0x4e3b25+_0xf11021,'col':_0x1e1ad4[_0x268b49(0x34c)]},_0xe07677,!0x1,!0x0),_0x1bfd0a=_0x5d19b8({'row':_0x1e1ad4[_0x268b49(0x1da)]+_0x5bae57+_0x4e3b25,'col':_0x1e1ad4[_0x268b49(0x34c)]+_0x5cd1c3},_0x221c1e,!0x1,!0x0),_0x5e2838=_0x5d19b8({'row':_0x1e1ad4[_0x268b49(0x1da)]+_0x5bae57+_0x4e3b25+_0xf11021,'col':_0x1e1ad4['col']+_0x5cd1c3},_0x5df9af,!0x1,!0x0);_0x124502=[..._0x213ca0,..._0x2a1f69,..._0xdca5e3,..._0x1bfd0a,..._0x5e2838];}return _0x124502;}[_0x3481c0(0x394)](){const _0x43603b=_0x3481c0;this[_0x43603b(0x2aa)](this[_0x43603b(0x49c)]['interceptor'][_0x43603b(0x291)](this[_0x43603b(0x49c)][_0x43603b(0x33e)]['getInterceptPoints']()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x54a90f,_0x59edfe)=>{const _0x40ed2f=_0x43603b,{cellInfo:_0x312844,view:_0xd94198,isEmpty:_0x32bc29}=_0x59edfe,_0x49b632=_0x312844,{unitId:_0x55bd57,subUnitId:_0x3854f0}=_0x49b632,_0x4e8570=this['_getPivotAppliedRanges'](_0x312844,_0xd94198,_0x32bc29),_0x292069=this[_0x40ed2f(0x30e)]['generateMutationsByRanges']({'unitId':_0x55bd57,'subUnitId':_0x3854f0,'ranges':_0x4e8570}),_0x13af0b=_0x2ddb3e(this[_0x40ed2f(0x474)],_0x55bd57,_0x3854f0,_0x4e8570);_0x13af0b[_0x40ed2f(0x41f)]&&(_0x292069[_0x40ed2f(0x1f9)][_0x40ed2f(0x21b)](_0x13af0b[_0x40ed2f(0x405)]),_0x292069[_0x40ed2f(0x210)]['push'](_0x13af0b[_0x40ed2f(0x3ee)]));const _0x36c800=this['getAutoFitColumnsMutations'](_0xd94198,_0x312844);return _0x292069[_0x40ed2f(0x1f9)][_0x40ed2f(0x21b)](..._0x36c800[_0x40ed2f(0x1f9)]),_0x292069[_0x40ed2f(0x210)][_0x40ed2f(0x21b)](..._0x36c800[_0x40ed2f(0x210)]),{'redos':_0x292069[_0x40ed2f(0x1f9)],'undos':_0x292069['undos']};}}));}[_0x3481c0(0x45f)](_0x976f1e,_0x177ec1){const _0x377281=_0x3481c0,{col:_0x1d9d24,unitId:_0xf892fe,subUnitId:_0x231dac}=_0x177ec1,_0x3e35a1=[],_0xd36fc7=[],_0x11ebb9=_0x137f99[_0x377281(0x34e)](this['_univerInstanceService'],{'unitId':_0xf892fe,'subUnitId':_0x231dac});if(!_0x177ec1||!_0x976f1e||!_0x11ebb9)return{'undos':_0xd36fc7,'redos':_0x3e35a1};const _0x39d023=this[_0x377281(0x2c3)][_0x377281(0x1c0)](),{colView:_0x9cb3d3,dataView:_0x11d8d5,cornerView:_0x12c230,rowView:_0x363ca2,formatMap:_0x20b540}=_0x976f1e,_0x7e791d=_0x43f70b(_0x9cb3d3,_0x39d023,!0x0,_0x20b540),_0x2caa63=_0x43f70b(_0x363ca2,_0x39d023,!0x1,_0x20b540),_0x32fee5=_0x175952(_0x11d8d5),_0x4c9004=_0x523cbf(_0x12c230),{worksheet:_0x1dc46f}=_0x11ebb9;if(typeof window<'u'&&window[_0x377281(0x416)]){const _0x3cde45=_0x333354['getFontStyleString']({..._0x3e1150[_0x377281(0x28f)]}),_0x3f70e7=_0x333354['FontCache']['getTextSize'](_0x7e791d,_0x3cde45)[_0x377281(0x35d)]+0x10,_0xa8a46=_0x333354[_0x377281(0x1ec)]['getTextSize'](_0x32fee5,_0x3cde45)[_0x377281(0x35d)],_0x1b3e36=Math[_0x377281(0x21a)](Math['max'](_0x3f70e7,_0xa8a46))+0x10,_0x5664ee=Math[_0x377281(0x21a)](_0x333354['FontCache'][_0x377281(0x2e1)](_0x2caa63,_0x3cde45)[_0x377281(0x35d)]),_0x2dbff0=Math[_0x377281(0x21a)](_0x333354[_0x377281(0x1ec)][_0x377281(0x2e1)](_0x4c9004,_0x3cde45)[_0x377281(0x35d)]),_0x2a9f1e=Math[_0x377281(0x49e)](_0x5664ee,_0x2dbff0,0x28)+0xc,_0x4a567a=_0x9cb3d3['colCount']+_0x12c230[_0x377281(0x3c2)],_0x33c04b={},_0x57e0b6={};for(let _0x525027=_0x1d9d24;_0x525027<_0x1d9d24+_0x4a567a;_0x525027++){const _0x4816ba=_0x1dc46f[_0x377281(0x1f7)](_0x525027);_0x33c04b[_0x525027]=_0x4816ba,_0x525027-_0x1d9d24<_0x12c230['colCount']?_0x57e0b6[_0x525027-_0x1d9d24]=_0x2a9f1e:_0x57e0b6[_0x525027-_0x1d9d24]=_0x1b3e36;}_0x3e35a1[_0x377281(0x21b)]({'id':_0x137f99[_0x377281(0x2d7)]['id'],'params':{'subUnitId':_0x231dac,'unitId':_0xf892fe,'ranges':[{'startColumn':_0x1d9d24,'endColumn':_0x1d9d24+_0x4a567a-0x1,'startRow':0x0,'endRow':_0x1dc46f[_0x377281(0x239)]()-0x1}],'colWidth':_0x57e0b6}}),_0xd36fc7[_0x377281(0x21b)]({'id':_0x137f99[_0x377281(0x2d7)]['id'],'params':{'subUnitId':_0x231dac,'unitId':_0xf892fe,'ranges':[{'startColumn':_0x1d9d24,'endColumn':_0x1d9d24+_0x4a567a-0x1,'startRow':0x0,'endRow':_0x1dc46f['getRowCount']()-0x1}],'colWidth':_0x33c04b}});}return{'undos':_0xd36fc7,'redos':_0x3e35a1};}};_0x374ce3=_0x2996e3([_0x22a596(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x137f99[_0x3481c0(0x460)])),_0x22a596(0x1,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3f7)])),_0x22a596(0x2,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x2f3)])),_0x22a596(0x3,_0x118f40[_0x3481c0(0x1eb)](_0x27a419['SheetsPivotTableConfigModel'])),_0x22a596(0x4,_0x118f40[_0x3481c0(0x1eb)](_0x27a419[_0x3481c0(0x32c)]))],_0x374ce3);var _0x565a8e=Object[_0x3481c0(0x1cd)],_0x1243b7=(_0x3f41c6,_0x3707e3,_0x86233e,_0x1fd822)=>{for(var _0x48c322=_0x1fd822>0x1?void 0x0:_0x1fd822?_0x565a8e(_0x3707e3,_0x86233e):_0x3707e3,_0x540255=_0x3f41c6['length']-0x1,_0x1c4c38;_0x540255>=0x0;_0x540255--)(_0x1c4c38=_0x3f41c6[_0x540255])&&(_0x48c322=_0x1c4c38(_0x48c322)||_0x48c322);return _0x48c322;},_0x5e9c1e=(_0x1e99a6,_0xf4f920)=>(_0x1185c1,_0x3e956d)=>_0xf4f920(_0x1185c1,_0x3e956d,_0x1e99a6);let _0x2c1c6b=class extends _0x118f40[_0x3481c0(0x499)]{constructor(_0x2e5acc,_0x39dad2,_0x26c9b6,_0x6ba6ac,_0x4eafbe,_0x13ed89,_0x3f550c){const _0x85d55e=_0x3481c0;super(),_0x18cb5f(this,_0x85d55e(0x45a),new _0x118f40['DisposableCollection']()),(this['_injector']=_0x2e5acc,this['_refRangeService']=_0x39dad2,this[_0x85d55e(0x48c)]=_0x26c9b6,this[_0x85d55e(0x3ba)]=_0x6ba6ac,this['_sheetsPivotTableConfigModel']=_0x4eafbe,this[_0x85d55e(0x430)]=_0x13ed89,this[_0x85d55e(0x30e)]=_0x3f550c,this[_0x85d55e(0x2d4)]());}[_0x3481c0(0x2d4)](){const _0x459965=_0x3481c0,_0x487def=(_0x4f6487,_0x3f9559)=>{const _0x32bb0f=_0x3318,_0x4b7d71=this[_0x32bb0f(0x3ba)]['getCurrentUnitForType'](_0x118f40['UniverInstanceType']['UNIVER_SHEET']);if(!_0x4b7d71||!(_0x4b7d71==null?void 0x0:_0x4b7d71[_0x32bb0f(0x2b0)](_0x3f9559)))return;this[_0x32bb0f(0x45a)]['dispose']();const _0x577f5f=_0x356f25=>this[_0x32bb0f(0x2fd)](_0x356f25,_0x4f6487,_0x3f9559),_0x20c28d=this[_0x32bb0f(0x2c3)]['getSubUnitPivotConfigs'](_0x4f6487,_0x3f9559);if(!(_0x20c28d!=null&&_0x20c28d[_0x32bb0f(0x1de)]))return;Array[_0x32bb0f(0x222)](_0x20c28d['values']())[_0x32bb0f(0x4c6)](_0x1775cd=>{const _0x3ea530=_0x32bb0f,{row:_0x417f56,col:_0x337d6e}=_0x1775cd[_0x3ea530(0x3db)];return _0x118f40[_0x3ea530(0x437)](_0x417f56,_0x337d6e);})[_0x32bb0f(0x1d7)](_0x20478b=>{const _0x35106e=_0x32bb0f;this['disposableCollection'][_0x35106e(0x44f)](this[_0x35106e(0x37e)][_0x35106e(0x24e)](_0x20478b,_0x577f5f,_0x4f6487,_0x3f9559));});},_0x3283af=()=>{const _0x5d781a=_0x3318,_0x5d6acf=this['_univerInstanceService'][_0x5d781a(0x2ce)](_0x118f40[_0x5d781a(0x26f)][_0x5d781a(0x37c)]);if(_0x5d6acf){const _0x3f3a88=_0x5d6acf[_0x5d781a(0x1c6)]();if(!_0x3f3a88)return;_0x487def(_0x5d6acf[_0x5d781a(0x3cc)](),_0x3f3a88[_0x5d781a(0x286)]());}};this[_0x459965(0x2aa)](this['_commandService'][_0x459965(0x1e6)](_0x4bf5a1=>{const _0x1933ce=_0x459965;if(_0x4bf5a1['id']===_0x137f99[_0x1933ce(0x467)]['id']){const _0x17ef41=_0x4bf5a1[_0x1933ce(0x44b)],_0x173736=_0x17ef41[_0x1933ce(0x233)],_0x4439bb=_0x17ef41[_0x1933ce(0x224)];if(!_0x173736||!_0x4439bb)return;_0x487def(_0x4439bb,_0x173736);}})),this[_0x459965(0x2aa)](this[_0x459965(0x2c3)][_0x459965(0x27d)]['subscribe'](_0x1fb4e9=>{_0x1fb4e9&&_0x3283af();})),this[_0x459965(0x2aa)](this[_0x459965(0x2c3)][_0x459965(0x2a5)]['subscribe'](_0xf0648f=>{const _0x3a7937=_0x459965,_0x3c93d8=_0x137f99[_0x3a7937(0x34e)](this[_0x3a7937(0x3ba)],{'unitId':_0xf0648f[_0x3a7937(0x224)],'subUnitId':_0xf0648f[_0x3a7937(0x233)]});if(!_0x3c93d8)return;const {unitId:_0xdbfd51,subUnitId:_0x29f376}=_0x3c93d8,{unitId:_0x30e708,subUnitId:_0x2fb722}=_0xf0648f;_0xdbfd51!==_0x30e708||_0x29f376!==_0x2fb722||_0x487def(_0xdbfd51,_0x29f376);})),_0x3283af();}[_0x3481c0(0x2fd)](_0x29f82e,_0x44a8c4,_0x6843d){const _0x359b20=_0x3481c0;return _0x29f82e['id']===_0x137f99[_0x359b20(0x391)]['id']?this['getRefRangeMutationsByMoveRange'](_0x29f82e['params'],_0x44a8c4,_0x6843d):{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x77f950,_0x6f8faf,_0x14e3b1){const _0x40ca12=_0x3481c0,{fromRange:_0x5897f,toRange:_0x3f8ae7}=_0x77f950,_0x28cb8a=[],_0x46de83=[],_0x3f6c1d=_0x137f99[_0x40ca12(0x34e)](this['_univerInstanceService']);if(!_0x3f6c1d)return{'undos':_0x46de83,'redos':_0x28cb8a};if(_0x6f8faf!==_0x3f6c1d[_0x40ca12(0x224)]||_0x14e3b1!==_0x3f6c1d[_0x40ca12(0x233)])return{'undos':_0x46de83,'redos':_0x28cb8a};const _0x5f1d97=this[_0x40ca12(0x2c3)]['getSubUnitPivotConfigs'](_0x6f8faf,_0x14e3b1);if(_0x5f1d97!=null&&_0x5f1d97['size'])for(const [_0x4ee2fd,_0x2d670d]of _0x5f1d97){const {unitId:_0xe3d2b9,subUnitId:_0x39065b,row:_0x121e7f,col:_0x37461e}=_0x2d670d[_0x40ca12(0x3db)];if(_0xe3d2b9===_0x3f6c1d['unitId']&&_0x39065b===_0x3f6c1d[_0x40ca12(0x233)]){const _0x34e226=_0x118f40[_0x40ca12(0x437)](_0x121e7f,_0x37461e);if(_0x118f40[_0x40ca12(0x4ad)][_0x40ca12(0x250)](_0x34e226,_0x5897f)){const _0x28b1f4=_0x121e7f-_0x5897f[_0x40ca12(0x321)],_0x1c7f48=_0x37461e-_0x5897f['startColumn'],_0x239943={'row':_0x3f8ae7[_0x40ca12(0x321)]+_0x28b1f4,'col':_0x3f8ae7[_0x40ca12(0x1d8)]+_0x1c7f48};_0x28cb8a[_0x40ca12(0x21b)]({'id':_0x1b2e7a['id'],'params':{'unitId':_0xe3d2b9,'subUnitId':_0x39065b,'pivotTableId':_0x4ee2fd,'targetCellPosition':_0x239943}}),_0x46de83['push']({'id':_0x1b2e7a['id'],'params':{'unitId':_0xe3d2b9,'subUnitId':_0x39065b,'pivotTableId':_0x4ee2fd,'targetCellPosition':{'row':_0x121e7f,'col':_0x37461e}}});const _0x2aee45=_0x239943['row']-_0x121e7f,_0x4ed19c=_0x239943['col']-_0x37461e,_0x20de83=[],_0x5d3e14=this[_0x40ca12(0x430)]['getPivotItemRenderInfoCache'](_0xe3d2b9,_0x39065b,_0x4ee2fd),_0x2cc142=_0x5d3e14==null?void 0x0:_0x5d3e14[_0x40ca12(0x2e0)];if(_0x2cc142){Object[_0x40ca12(0x376)](_0x2cc142)[_0x40ca12(0x1d7)](_0x20f390=>{const _0x17b16f=_0x40ca12;_0x2cc142[_0x20f390][_0x17b16f(0x1d7)](_0x1e461b=>{const _0x4d2541=_0x17b16f,_0x1d79dd={..._0x1e461b};_0x1d79dd[_0x4d2541(0x321)]=_0x1e461b['startRow']+_0x2aee45,_0x1d79dd[_0x4d2541(0x403)]=_0x1e461b[_0x4d2541(0x403)]+_0x2aee45,_0x1d79dd[_0x4d2541(0x1d8)]=_0x1e461b[_0x4d2541(0x1d8)]+_0x4ed19c,_0x1d79dd[_0x4d2541(0x202)]=_0x1e461b[_0x4d2541(0x202)]+_0x4ed19c,_0x20de83[_0x4d2541(0x21b)](_0x1d79dd);});});const _0x575b4a=this[_0x40ca12(0x30e)][_0x40ca12(0x459)]({'unitId':_0xe3d2b9,'subUnitId':_0x39065b,'ranges':_0x20de83});_0x28cb8a['push'](..._0x575b4a['redos']),_0x46de83[_0x40ca12(0x21b)](..._0x575b4a[_0x40ca12(0x210)]);const _0x1a3d98=_0x2ddb3e(this[_0x40ca12(0x474)],_0xe3d2b9,_0x39065b,_0x20de83);_0x1a3d98[_0x40ca12(0x41f)]&&(_0x28cb8a[_0x40ca12(0x21b)](_0x1a3d98[_0x40ca12(0x405)]),_0x46de83[_0x40ca12(0x21b)](_0x1a3d98[_0x40ca12(0x3ee)]));}}}}return{'redos':_0x28cb8a,'undos':_0x46de83};}};_0x2c1c6b=_0x1243b7([_0x5e9c1e(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3f7)])),_0x5e9c1e(0x1,_0x118f40[_0x3481c0(0x1eb)](_0x137f99[_0x3481c0(0x397)])),_0x5e9c1e(0x2,_0x118f40[_0x3481c0(0x3c7)]),_0x5e9c1e(0x3,_0x118f40[_0x3481c0(0x2f3)]),_0x5e9c1e(0x4,_0x118f40[_0x3481c0(0x1eb)](_0x27a419[_0x3481c0(0x32b)])),_0x5e9c1e(0x5,_0x118f40[_0x3481c0(0x1eb)](_0x27a419['SheetsPivotTableAdaptorModel'])),_0x5e9c1e(0x6,_0x118f40[_0x3481c0(0x1eb)](_0x137f99[_0x3481c0(0x460)]))],_0x2c1c6b);var _0x1f659e=Object[_0x3481c0(0x1cd)],_0x40b015=(_0x41cb91,_0x4d91a7,_0x120987,_0x23916a)=>{const _0x242030=_0x3481c0;for(var _0x315828=_0x23916a>0x1?void 0x0:_0x23916a?_0x1f659e(_0x4d91a7,_0x120987):_0x4d91a7,_0x2a475d=_0x41cb91[_0x242030(0x4a0)]-0x1,_0x55dbf5;_0x2a475d>=0x0;_0x2a475d--)(_0x55dbf5=_0x41cb91[_0x2a475d])&&(_0x315828=_0x55dbf5(_0x315828)||_0x315828);return _0x315828;},_0x5f3eec=(_0x382637,_0x52dd73)=>(_0x3f8365,_0x3e0faf)=>_0x52dd73(_0x3f8365,_0x3e0faf,_0x382637);let _0x5ec965=class extends _0x118f40[_0x3481c0(0x499)]{constructor(_0x41ef93,_0x33f00d){const _0x582f39=_0x3481c0;super(),this[_0x582f39(0x30e)]=_0x41ef93,this[_0x582f39(0x2c3)]=_0x33f00d,this['_initRemoveSheetCommandInterceptor']();}['_initRemoveSheetCommandInterceptor'](){const _0x1c1d66=_0x3481c0;this[_0x1c1d66(0x2aa)](this[_0x1c1d66(0x30e)][_0x1c1d66(0x37f)]({'getMutations':_0x681f91=>{const _0x2a9090=_0x1c1d66;if(_0x681f91['id']===_0x137f99['RemoveSheetCommand']['id']){const _0x16cac3=[],_0x42433f=[],_0x324eff=_0x681f91[_0x2a9090(0x44b)],{unitId:_0x5d016b,subUnitId:_0x56a229}=_0x324eff;if(!_0x5d016b||!_0x56a229)return{'undos':_0x42433f,'redos':_0x16cac3};const _0x169228=this[_0x2a9090(0x2c3)][_0x2a9090(0x2cc)](_0x5d016b,_0x56a229);if(_0x169228!=null&&_0x169228[_0x2a9090(0x1de)])for(const [_0x2e49b3,_0x32f623]of _0x169228){_0x16cac3[_0x2a9090(0x21b)]({'id':_0x467df3['id'],'params':{'unitId':_0x5d016b,'subUnitId':_0x56a229,'pivotTableId':_0x2e49b3}});const _0x236739={...this[_0x2a9090(0x2c3)][_0x2a9090(0x477)](_0x5d016b,_0x2e49b3)};_0x42433f[_0x2a9090(0x21b)]({'id':_0x1cde24['id'],'params':{'unitId':_0x5d016b,'subUnitId':_0x56a229,'pivotTableId':_0x2e49b3,'pivotTableConfig':_0x32f623,'collectionConfig':_0x236739}});}return{'redos':_0x16cac3,'undos':_0x42433f};}return{'redos':[],'undos':[]};}}));}};_0x5ec965=_0x40b015([_0x5f3eec(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x137f99[_0x3481c0(0x460)])),_0x5f3eec(0x1,_0x118f40[_0x3481c0(0x1eb)](_0x27a419[_0x3481c0(0x32b)]))],_0x5ec965);var _0x4aed3c=Object['getOwnPropertyDescriptor'],_0x3386f6=(_0x264302,_0x16acdd,_0x50c76f,_0x3296bf)=>{const _0x43ec3e=_0x3481c0;for(var _0x4ffe20=_0x3296bf>0x1?void 0x0:_0x3296bf?_0x4aed3c(_0x16acdd,_0x50c76f):_0x16acdd,_0x111055=_0x264302[_0x43ec3e(0x4a0)]-0x1,_0x319796;_0x111055>=0x0;_0x111055--)(_0x319796=_0x264302[_0x111055])&&(_0x4ffe20=_0x319796(_0x4ffe20)||_0x4ffe20);return _0x4ffe20;},_0x3efc80=(_0x2b7241,_0x378040)=>(_0x52ac7e,_0x3b7856)=>_0x378040(_0x52ac7e,_0x3b7856,_0x2b7241);let _0x3d5d30=class extends _0x118f40[_0x3481c0(0x499)]{constructor(_0x308b16,_0x5b00bd,_0x2ec835,_0x1a738b,_0x257685,_0x5d859f){const _0x2f0f27=_0x3481c0;super(),this[_0x2f0f27(0x48c)]=_0x308b16,this[_0x2f0f27(0x414)]=_0x5b00bd,this[_0x2f0f27(0x430)]=_0x2ec835,this['_sheetsPivotTableConfigModel']=_0x1a738b,this[_0x2f0f27(0x3ba)]=_0x257685,this[_0x2f0f27(0x4be)]=_0x5d859f,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x3481c0(0x4b9)](){const _0x54abe7=_0x3481c0;this[_0x54abe7(0x2aa)](this[_0x54abe7(0x48c)][_0x54abe7(0x1e6)](_0x302217=>{const _0x132cab=_0x54abe7;if(_0x302217['id']!==_0x3c5c67['id'])return;const _0x5cbf88=_0x302217[_0x132cab(0x44b)];this[_0x132cab(0x414)][_0x132cab(0x496)](_0x5cbf88);})),this[_0x54abe7(0x2aa)](this[_0x54abe7(0x48c)]['onCommandExecuted'](_0x35bcf5=>{const _0x3ca73b=_0x54abe7;if(_0x35bcf5['id']===_0x5f0071['id']){const _0x4f0ff=_0x35bcf5[_0x3ca73b(0x44b)];if(_0x4f0ff){const {unitId:_0x52498e,subUnitId:_0x1d3138,oldSubUnitId:_0x583e09,pivotTableId:_0x287d76,pivotTableConfig:_0x597819,collectionConfig:_0x28ca79}=_0x4f0ff;this[_0x3ca73b(0x2c3)][_0x3ca73b(0x3c8)](_0x52498e,_0x583e09,_0x4f0ff[_0x3ca73b(0x331)],null),this[_0x3ca73b(0x2c3)][_0x3ca73b(0x3c8)](_0x52498e,_0x1d3138,_0x287d76,_0x597819),this[_0x3ca73b(0x2c3)]['updateCollectionConfig'](_0x52498e,_0x28ca79);}}})),this['disposeWithMe'](this['_commandService'][_0x54abe7(0x1e6)](_0x5408fa=>{const _0x3d3a1c=_0x54abe7;if(_0x5408fa['id']!==_0x5c8eca['id'])return;const _0x200286=_0x137f99[_0x3d3a1c(0x34e)](this[_0x3d3a1c(0x3ba)]);if(!_0x200286)return;const {unitId:_0x3a6286,subUnitId:_0x336cfc}=_0x200286,_0x229444=_0x5408fa[_0x3d3a1c(0x44b)];if(_0x229444[_0x3d3a1c(0x468)]&&Object['keys'](_0x229444['collectionConfig'])[_0x3d3a1c(0x1d7)](_0x3448dd=>{const _0x4ebb1e=_0x3d3a1c;var _0x513ef1;(_0x513ef1=_0x229444[_0x4ebb1e(0x468)])!=null&&_0x513ef1[_0x3448dd]&&this[_0x4ebb1e(0x2c3)]['updateCollectionConfig'](_0x3448dd,_0x229444[_0x4ebb1e(0x468)][_0x3448dd]);}),_0x229444[_0x3d3a1c(0x3f8)]){const _0x42f667=_0x229444[_0x3d3a1c(0x3f8)],{unitId:_0x69a576,subUnitId:_0x1a4ba1,view:_0x514402,pivotTableId:_0x234c23,type:_0x22dcb7,pivotConfig:_0x47c384}=_0x42f667;if(_0x22dcb7===_0xcddcb7[_0x3d3a1c(0x493)])this['_sheetsPivotTableAdaptorModel'][_0x3d3a1c(0x43c)]({'unitId':_0x69a576,'subUnitId':_0x1a4ba1,'pivotTableId':_0x234c23,'type':_0x22dcb7}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x69a576,_0x1a4ba1,_0x234c23,null);else{const _0x438fa9=new _0xe4a43f['PivotView']();_0x438fa9[_0x3d3a1c(0x35f)](_0x514402),this['_sheetsPivotTableConfigModel'][_0x3d3a1c(0x3c8)](_0x69a576,_0x1a4ba1,_0x234c23,_0x47c384),this[_0x3d3a1c(0x430)]['clearRenderCache']({'unitId':_0x69a576,'subUnitId':_0x1a4ba1,'pivotTableId':_0x234c23,'type':_0x22dcb7,'view':_0x438fa9}),this['_sheetsPivotTableAdaptorModel'][_0x3d3a1c(0x3d8)]({'unitId':_0x69a576,'subUnitId':_0x1a4ba1,'view':_0x438fa9,'pivotTableId':_0x234c23,'type':_0x22dcb7});}}else _0x229444[_0x3d3a1c(0x3e7)]&&(_0x229444[_0x3d3a1c(0x3e7)][_0x3d3a1c(0x1d7)](_0x29b01d=>{const _0x304497=_0x3d3a1c,{unitId:_0x1dfe39,subUnitId:_0x35f317,view:_0x9b3d29,pivotTableId:_0x3bafc1,type:_0x2bd08e,pivotConfig:_0xaf1778}=_0x29b01d,_0x2b5c78=new _0xe4a43f[(_0x304497(0x4a2))]();_0x2b5c78[_0x304497(0x35f)](_0x9b3d29),this['_sheetsPivotTableConfigModel'][_0x304497(0x3c8)](_0x1dfe39,_0x35f317,_0x3bafc1,_0xaf1778),this[_0x304497(0x430)]['updateRenderCache']({'unitId':_0x1dfe39,'subUnitId':_0x35f317,'view':_0x2b5c78,'pivotTableId':_0x3bafc1,'type':_0x2bd08e});}),this[_0x3d3a1c(0x2c3)][_0x3d3a1c(0x1db)]());this['_sheetsPivotTableAdaptorModel']['markDirty'](_0x3a6286,_0x336cfc);}));}[_0x3481c0(0x201)](){const _0x27137f=_0x3481c0;this[_0x27137f(0x4be)][_0x27137f(0x39b)](_0x492821['id'],{'commandId':_0x492821['id'],'getDirtyData'(_0x3f889c){const _0x41660e=_0x27137f;return{'dirtyUnitFeatureMap':_0x3f889c[_0x41660e(0x44b)]};}});}};_0x3d5d30=_0x3386f6([_0x3efc80(0x0,_0x118f40[_0x3481c0(0x1eb)](_0x118f40['ICommandService'])),_0x3efc80(0x1,_0x118f40['Inject'](_0x27a419[_0x3481c0(0x22a)])),_0x3efc80(0x2,_0x118f40[_0x3481c0(0x1eb)](_0x27a419[_0x3481c0(0x300)])),_0x3efc80(0x3,_0x118f40['Inject'](_0x27a419['SheetsPivotTableConfigModel'])),_0x3efc80(0x4,_0x118f40[_0x3481c0(0x1eb)](_0x118f40['IUniverInstanceService'])),_0x3efc80(0x5,_0x271ee6[_0x3481c0(0x1f8)])],_0x3d5d30);var _0x58b0e8=Object[_0x3481c0(0x46f)],_0x7fc21b=Object[_0x3481c0(0x1cd)],_0x473bcc=(_0x2e5dc6,_0x15832f,_0x49a31a)=>_0x15832f in _0x2e5dc6?_0x58b0e8(_0x2e5dc6,_0x15832f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49a31a}):_0x2e5dc6[_0x15832f]=_0x49a31a,_0xceebad=(_0x75c6c5,_0x3bc0d6,_0x2b03a3,_0x150b77)=>{const _0x2453ae=_0x3481c0;for(var _0x5d0ec5=_0x150b77>0x1?void 0x0:_0x150b77?_0x7fc21b(_0x3bc0d6,_0x2b03a3):_0x3bc0d6,_0x5392f2=_0x75c6c5[_0x2453ae(0x4a0)]-0x1,_0x58b279;_0x5392f2>=0x0;_0x5392f2--)(_0x58b279=_0x75c6c5[_0x5392f2])&&(_0x5d0ec5=_0x58b279(_0x5d0ec5)||_0x5d0ec5);return _0x5d0ec5;},_0x3beb62=(_0x54be1a,_0x5dd1b2)=>(_0x4a5990,_0x46fb3d)=>_0x5dd1b2(_0x4a5990,_0x46fb3d,_0x54be1a),_0x42e881=(_0xf60572,_0x18058d,_0x509a23)=>_0x473bcc(_0xf60572,typeof _0x18058d!='symbol'?_0x18058d+'':_0x18058d,_0x509a23);_0x27a419[_0x3481c0(0x396)]=class extends _0x118f40['Plugin']{constructor(_0x2634cd=_0xdbde97,_0x1e50a1,_0x1c23e8,_0x454446,_0x3d9a34){const _0x3146ce=_0x3481c0;super(),this[_0x3146ce(0x3c4)]=_0x2634cd,this[_0x3146ce(0x474)]=_0x1e50a1,this[_0x3146ce(0x48c)]=_0x1c23e8,this[_0x3146ce(0x3b3)]=_0x454446,this[_0x3146ce(0x20c)]=_0x3d9a34;const {..._0x297755}=_0x118f40[_0x3146ce(0x38a)]({},_0xdbde97,this[_0x3146ce(0x3c4)]);this['_configService'][_0x3146ce(0x305)](_0x69bd0c,_0x297755),this['_initRegisterCommand'](),this[_0x3146ce(0x440)]();}[_0x3481c0(0x440)](){const _0x42af42=_0x3481c0;var _0x38bc2d;const _0x1952f5=(_0x38bc2d=this[_0x42af42(0x3c4)])==null?void 0x0:_0x38bc2d[_0x42af42(0x234)];this['_configService'][_0x42af42(0x305)](_0x42c0f7,_0x1952f5===!0x0);}[_0x3481c0(0x26e)](){const _0x50bdf1=_0x3481c0;var _0x413914;let _0x1b30bc=[];const _0x26568f=(_0x413914=this[_0x50bdf1(0x3c4)])==null?void 0x0:_0x413914[_0x50bdf1(0x234)];_0x26568f===!0x0?_0x1b30bc=[[_0x27a419[_0x50bdf1(0x32c)]],[_0x27a419['SheetsPivotRPCService']],[_0x3d5d30],[_0x27a419[_0x50bdf1(0x300)]],[_0x27a419['SheetsPivotTableConfigModel']],[_0x5ec965],[_0x55f207],[_0x2c1c6b],[_0x374ce3]]:_0x26568f===!0x1?_0x1b30bc=[[_0x27a419[_0x50bdf1(0x2ec)]],[_0x4abd7e]]:_0x26568f===void 0x0&&(_0x1b30bc=[[_0x27a419[_0x50bdf1(0x2ec)]],[_0x4abd7e],[_0x27a419[_0x50bdf1(0x32c)]],[_0x27a419[_0x50bdf1(0x22a)]],[_0x3d5d30],[_0x27a419[_0x50bdf1(0x300)]],[_0x27a419[_0x50bdf1(0x32b)]],[_0x5ec965],[_0x55f207],[_0x2c1c6b],[_0x374ce3]]),_0x1b30bc[_0x50bdf1(0x1d7)](_0x39a6e3=>this['_injector'][_0x50bdf1(0x44f)](_0x39a6e3)),[_0x4abd7e,_0x3d5d30,_0x27a419[_0x50bdf1(0x32c)],_0x55f207,_0x5ec965,_0x2c1c6b,_0x374ce3][_0x50bdf1(0x1d7)](_0xdb673c=>{const _0x14fc4e=_0x50bdf1;this[_0x14fc4e(0x474)]['has'](_0xdb673c)&&this[_0x14fc4e(0x474)][_0x14fc4e(0x232)](_0xdb673c);});}['_initRegisterCommand'](){const _0x34a4b0=_0x3481c0;[_0x314dfc,_0x557b6b,_0x57cd07,_0x433bb5,_0x25a5e7,_0xcc406b,_0x2597c8,_0x3950d3,_0x2b8284,_0x2534c7,_0x55b79b,_0x48f6d2,_0x162dee,_0x502d90,_0x1cde24,_0x46cb13,_0x467df3,_0xff619c,_0xb29e39,_0x84dbf3,_0x46102f,_0x23d8d4,_0x2b8288,_0x2df782,_0x16358a,_0x203e4f,_0x1b2e7a,_0x25c635,_0x3c5c67,_0x5c8eca,_0x3e7219,_0x88e2a5,_0x4b1be1,_0x50fda1,_0x23291c,_0x2cbf71,_0x3bb7fd,_0x492821,_0x5f0071,_0x2549b5,_0x151b4c,_0x59d67c,_0x56b3f2][_0x34a4b0(0x1d7)](_0x23cdf5=>{const _0x20e967=_0x34a4b0;var _0x5f5428;(_0x5f5428=this[_0x20e967(0x20c)])==null||_0x5f5428['registerSyncingMutations'](_0x23cdf5),this[_0x20e967(0x48c)][_0x20e967(0x2b8)](_0x23cdf5);});}},_0x42e881(_0x27a419[_0x3481c0(0x396)],'pluginName',_0x1de706),_0x42e881(_0x27a419[_0x3481c0(0x396)],_0x3481c0(0x22c),_0x118f40['UniverInstanceType'][_0x3481c0(0x37c)]),_0x27a419[_0x3481c0(0x396)]=_0xceebad([_0x118f40[_0x3481c0(0x452)](_0x7125e5[_0x3481c0(0x2d9)]),_0x3beb62(0x1,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3f7)])),_0x3beb62(0x2,_0x118f40[_0x3481c0(0x1eb)](_0x118f40[_0x3481c0(0x3c7)])),_0x3beb62(0x3,_0x118f40[_0x3481c0(0x39c)]),_0x3beb62(0x4,_0x118f40['Optional'](_0x1d89a6[_0x3481c0(0x203)]))],_0x27a419[_0x3481c0(0x396)]),_0x27a419[_0x3481c0(0x3d7)]=_0x57cd07,_0x27a419[_0x3481c0(0x327)]=_0xff619c,_0x27a419['AddPivotTableCommand']=_0x557b6b,_0x27a419['AddPivotTableMutation']=_0x1cde24,_0x27a419[_0x3481c0(0x231)]=_0x314dfc,_0x27a419[_0x3481c0(0x1e5)]=_0x22118b,_0x27a419[_0x3481c0(0x4e4)]=_0x24ae0e,_0x27a419[_0x3481c0(0x2e9)]=_0x433bb5,_0x27a419[_0x3481c0(0x27a)]=_0x162dee,_0x27a419['PivotDisplayDataType']=_0x42f106,_0x27a419[_0x3481c0(0x1d3)]=_0x502d90,_0x27a419[_0x3481c0(0x28d)]=_0xcddcb7,_0x27a419[_0x3481c0(0x3fe)]=_0x492821,_0x27a419['PositionType']=_0x9e3ca0,_0x27a419[_0x3481c0(0x2b3)]=_0x25a5e7,_0x27a419[_0x3481c0(0x2d0)]=_0x23d8d4,_0x27a419['RemovePivotTableMutation']=_0x467df3,_0x27a419[_0x3481c0(0x4a8)]=_0x2b8288,_0x27a419[_0x3481c0(0x33b)]=_0x56b3f2,_0x27a419[_0x3481c0(0x2f1)]=_0x69bd0c,_0x27a419[_0x3481c0(0x4ba)]=_0x1de706,_0x27a419[_0x3481c0(0x333)]=_0x3950d3,_0x27a419[_0x3481c0(0x357)]=_0x2df782,_0x27a419[_0x3481c0(0x34f)]=_0x50fda1,_0x27a419[_0x3481c0(0x2f8)]=_0x59d67c,_0x27a419[_0x3481c0(0x353)]=_0x2534c7,_0x27a419[_0x3481c0(0x31a)]=_0x46102f,_0x27a419[_0x3481c0(0x24f)]=_0x203e4f,_0x27a419[_0x3481c0(0x2d1)]=_0x1b2e7a,_0x27a419['SetPivotSortCommand']=_0x2b8284,_0x27a419[_0x3481c0(0x21e)]=_0x16358a,_0x27a419['SetPivotSubtotalTypeMutation']=_0x4b1be1,_0x27a419[_0x3481c0(0x2d6)]=_0x2549b5,_0x27a419[_0x3481c0(0x253)]=_0x151b4c,_0x27a419[_0x3481c0(0x1e8)]=_0x2597c8,_0x27a419['UpdateFieldPositionMutation']=_0x3e7219,_0x27a419[_0x3481c0(0x270)]=_0x55b79b,_0x27a419[_0x3481c0(0x3bf)]=_0x3bb7fd,_0x27a419[_0x3481c0(0x293)]=_0x48f6d2,_0x27a419[_0x3481c0(0x2e5)]=_0x2cbf71,_0x27a419[_0x3481c0(0x244)]=_0xcc406b,_0x27a419['UpdateValuePositionMutation']=_0x88e2a5,_0x27a419[_0x3481c0(0x41a)]=_0x2bb0b1,_0x27a419['canUsePivot']=_0x4eff93,_0x27a419[_0x3481c0(0x470)]=_0x3e1150,_0x27a419['generateSetRangeValueMutations']=_0x2ddb3e,_0x27a419[_0x3481c0(0x2e4)]=_0x5d19b8,_0x27a419[_0x3481c0(0x489)]=_0x22dcde,_0x27a419['getFieldListByArea']=_0x2ca06f,_0x27a419[_0x3481c0(0x427)]=_0x563a64,_0x27a419[_0x3481c0(0x343)]=_0x587867,_0x27a419['getPivotInfoByLicense']=_0x342177,_0x27a419[_0x3481c0(0x401)]=_0x1686ae,_0x27a419[_0x3481c0(0x4c5)]=_0x5930ec,_0x27a419[_0x3481c0(0x2d8)]=_0x3b81bd,Object[_0x3481c0(0x46f)](_0x27a419,Symbol[_0x3481c0(0x4aa)],{'value':'Module'});}));function _0x4493(){const _0x160841=['interceptCommand','10iNnVvW','IFeatureCalculationManagerService','asyncInterceptor','rowFields','generateNewSheetName','Count\x20of\x20','getTargetByPivotTableId','Column','getPivotTableIdByCell','sheet.command.move-pivot-field','merge','Value','replace','message','fieldId','getDate','@univerjs/core','MoveRangeCommand','isPrefixValue','getRangeKeyList','_initCommandInterceptListener','splice','UniverSheetsPivotTablePlugin','RefRangeService','token','Average\x20of\x20','getAutoDisplayName','register','IConfigService','SetPivotCollapse','subTotalStyle','Expand','PivotDataFieldDataTypeEnum','bind','dataStyle','SetRangeValuesMutation','PivotCallbackEnum','getPivotDisplayConfig','rowInfo','getGroupFieldsInfoByIds','InsertSheetUndoMutationFactory','sheets-pivot.averageName','measure','_initClearSelectionCommandInterceptor','1516828wfGzqO','_globalComputedStartHelpFunc','fieldsConfig','@univerjs-pro/engine-pivot','#f4f4f5','getSourceName','collapseInfo','_configService','_sheetsPivotDataSourceModel','updatePivotTableMatrixInfo','generateHexNumber','getFieldPositionInfoById','sheet.mutation.set-pivot-option','sheets-pivot.maxName','_univerInstanceService','StdDev\x20of\x20','_viewData$','PivotDateGroupFieldDateTypeEnum','setOptions','UpdatePivotFieldSourceInfoMutation','getDataFieldManager','Quarter','colCount','_textInfo','_config','refreshData','_createExclusiveRange','ICommandService','updateConfigCache','substring','INTERCEPTOR_POINT','sheets-pivot.cellDateGroupDisplay.hour','getUnitId','AddPivotTableWithConfig','getFieldById','reduce','createDataFieldId','dataFields','sheet.operation.pivot-table-view-formula-mark-dirty','getIntersectsPivotTable','@univerjs-pro/license','removeCollections','colRanges','AddPivotFieldCommand','updateRenderCache','getViewData','sheet.mutation.remove-group-collection','targetCellInfo','PivotTableValuePositionEnum','updateViewData','PivotTable','IUndoRedoService','updatePivotSource','getValue','\x20-\x20','textInfo','updateView','remove','exports','batch','sheets-pivot.dateGroup.quarter','min','value','_dataFieldManagerCollection','queryDirtyPivotTable','sheet.mutation.set-pivot-collapse','setRangeValueUndoMutation','setSubtotalType','None','maxDate','getMatrix','sheet.command.add-pivot-field','sheets-pivot.sumName','RemovePivotField','iterateField','Injector','single','generateRandomId','sheets-pivot.cellDateGroupDisplay.year','addField','_ensurePivotMap','random','PivotTableViewDirtyMarkOperation','info','_subjectCollectionChange','getPivotTableInfo','return\x20','endRow','setName','setRangeValueRedoMutation','9fpsQCE','UniverRpc','parse','rangeCache','Max\x20of\x20','tableFieldId','sheet.mutation.pivot-update-field-source-info','RenameField','sheet.command.pivot-drill-down','rangeKeyMap','dataStream','_subjectViewChange','_pivotRenderInfoCache','getSortInfo','_sheetsPivotRpcService','New','document','renameField','getPivotTableConfig','SetValuePivotFilter','applyChangeSet','iterateFieldDim','new','displayName','sheet.command.update-pivot-table-source-range','shouldClear','removeCollectionImp','getDataFieldByDataFieldId','charCodeAt','call','sheets-pivot.countNumsName','getFormat','iterateFieldByArea','getInsertRowColMutations','getDirtyInfo','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','_ensurePivotItemRenderInfoCache','_viewData','ReleaseType','createLabelField','setSortInfo','PivotErrorTypeEnum','_sheetsPivotTableAdaptorModel','LocaleService','filterInfo','asObservable','split','grandTotal','pivotMutationGenerate','cellToRange','getName','sheets-pivot.cellDateGroupDisplay.quarter','isErrorValue','updateCollectionConfig','clearRenderCache','GlobalConfig','_pivotRenderValueMatrixCache','cornerStyle','_initConfig','sheet.mutation.add-pivot-table','MIN_SAFE_INTEGER','DataField','PivotTableFiledAreaEnum','sheets-pivot.varpName','_fieldsCollectionChange$','rxjs','RemoveColMutation','sourceRangeInfo','sheet.mutation.pivot-update-value-position','params','UniverEngineFormula','next','BehaviorSubject','add','Hour','InterceptorManager','DependentOn','isColMultiMeasure','_subjectFieldsCollectionChange','versions','LS_CONFIG_KEY','AddPivotField','rowCount','generateMutationsByRanges','disposableCollection','valueFilter','createAsyncInterceptorKey','limit\x20pivot','getRangeKey','getAutoFitColumnsMutations','SheetInterceptorService','setValueFilterInfo','sheets-pivot.emptyPivot.column','Set','refreshGroupField','subtotal','sheet.mutation.get-pivot-data-local','SetWorksheetActiveOperation','collectionConfig','NUMBER','handleSourceRangeChange','dataFieldsCollection','forRow','some','isEmpty','defineProperty','defaultThemeStyle','deleteDataField','Subtotal','Total','_injector','getFieldFormat','fields','getCollection','sheet.command.set-pivot-sort','sheet.command.set-pivot-value-filter','@univerjs/engine-formula','InsertRowMutation','deleteField','sheets-pivot.dateGroup.year','Add','@univerjs/sheets','RemoveRowMutation','sheets-pivot.dateGroup.hourMinute','fieldIds','setDisplayName','_initUnitDisposed','_ensureViewDataMap','getFieldCountByArea','isText','markDirty$','getEmptyPivotRanges','sheet.command.set-pivot-fields-config','_configVersion$','_commandService','sourceName','setPivotSort','_viewUpdate$','getValuePosition','setPivotFilter','1bpyybx','Delete','name','sheets-pivot.emptyPivot.row','handleAsyncResponse','UniverProEnginePivot','sheet.command.remove-pivot-field','Disposable','fetchThroughAsyncInterceptors','getDataFieldBySourceName','_sheetsPivotTableService','triggerDirtyFeature','max','addDataFieldWithoutUnitInfo','length','1401633HhEYyf','PivotView','getConfig','getIndexesByPathStr','lastRow','sheet.mutation.set-pivot-filter','_init','RenamePivotFieldMutation','matrix','toStringTag','Grand\x20Total','object','Rectangle','Sum\x20of\x20','numfmt','addPivotField','sheets-pivot.subTotal','setPivotSetting','1396298hrRkvi','rangeKey','removeValueFilterInfo','movePivotField','CELL_CONTENT','addCollection','_initDataSendListener','SHEET_PIVOT_TABLE_PLUGIN','sheet.mutation.pivot-update-field-position','delete','Range','_activeDirtyManagerService','collection','refreshDataField','DataFieldManager','Var\x20of\x20','NotNumber','hasOwnProperty','transFromCellValue','map','getFormatInfo','getUpdateRangeDeleteIds','Date','deleteUnitId','node','getSheetFeatureLimit','MovePivotField','sheets-pivot.cellDateGroupDisplay.yearQuarter','setCollapse','PivotCellStyleTypeEnum','Existing','paths','mergeWorksheetSnapshotWithDefault','672NIEFTQ','getDataFieldByTableId','IResourceManagerService','removeDataField','pivotTableConfigs','dataFieldId','prototype','sheet.command.set-pivot-field-setting','BLANK_PLACEHOLDER','setValuePivotFilter','NAME','_pivotInitCompleted$','headerMap','forValue','PivotViewCellValueTypeEnum','_ensurePivotTableRangeInfo','DEFAULT_PIVOT_NUMBER','isBottomTotal','Div0','RemoveField','has','Subject','dimension','BadReference','removeField','getTextInfo','sheet.mutation.remove-pivot-field','Year','updateValuePosition','blank','sideEffectUpdateWorkerCache','getActiveSheet','sheets-pivot.dateGroup.minute','SetSheetsFilterRangeMutation','getPivotTableCellData','values','getPivotPerformCheck','markDirty','getOwnPropertyDescriptor','getStyles','sheet.mutation.rename-pivot-field','#FFFFFF','ΣValue','setFieldFormat','PivotDrillDownCommand','_queryingMap','dataRangeInfo','addDirtyPivotTable','forEach','startColumn','sheets-pivot.cellDateGroupDisplay.month','row','setPivotInitCompleted','Panel','Filter','size','sheet.mutation.send-pivot-view-local','getFilterFieldIdByIndex','Column\x20','SetPivotSetting','handleMoveRange','SetValueFilter','BLANK_ROW_COUNT','onCommandExecuted','_pivotConfigChange$','UpdateDateGroupCommand','sheets-pivot.grandTotal','_host','Inject','FontCache','complete','getColumnCount','realDeleteValue','rgb(255,255,255)','panel','getColCount','Row','broadcastCollectionChange','fontRenderExtension','areaInfo','getColumnWidth','IActiveDirtyManagerService','redos','leafStyle','error','_initPivotTextInfo','removePivotTable','filterFields','_collectionChange$','_initSnapshot','registerDirtyService','endColumn','DataSyncPrimaryController','_lifecycleService','UniverProSheetsPivot','dataFieldManagerConfig','sheet.mutation.set-pivot-value-filter','_markDirty$','getOriginFieldId','clear','SetCollapse','_dataSyncPrimaryController','countNums','valid','slice','undos','AsyncInterceptorManager','sheet.command.update-pivot-value-position','setDataRecordCount','getFullYear','PivotTableChangeTypeEnum','drillDown','_updatePivotTableInstanceCache','6MjSwuc','onQueryStart','floor','push','level','_resourceManagerService','SetPivotSortMutation','count','LifecycleService','filter','from','Product\x20of\x20','unitId','COMMAND','getMatrixFromRunTimeData','isValue','adjustSheetCellData','updateDirtyPivotTable','SheetsPivotRPCService','addPivotTable','type','NO_COMMERCIAL','executeCommand','addFieldWithSourceId','SetPivotFilter','AddPivotTableWithConfigCommand','get','subUnitId','notExecuteFormula','InterceptorEffectEnum','ClearSelectionContentCommand','getSubtotal','format','getRowCount','getHeaderMapItem','dispose','setDateType','UpdatePivotSource','fieldsCollectionChange$','STRING','valueIndex','setDirty','_toJSON','sheets-pivot.config','UpdatePivotValuePositionCommand','PivotDataFieldTypeEnum','setLabelFilterInfo','parseInt','createInterceptorKey','symbol','query','getFilterInfo','_sheetsSelectionsService','sheets-pivot.emptyPivot.filter','registerRefRange','SetPivotOptionMutation','intersects','RemoveSheetMutation','GrandTotal','SetPivotValueFilterMutation','sheet.mutation.add-group-collection','SetFilterInfo','#eceeff','data','updateDataFieldsCollection','InsertColMutation','ErrorType','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getCellRaw','pbt','getLastCol','initDataRanges','options','AddPivotTable','serializeRangeWithSpreadsheet','UniverSheets','oldMatrix','DateGroupField','getNoUsedDataFieldIds','FieldsCollection','startCollectChangeset','getUnit','removePivotField','hasField','pageStyle','getRangeStartEndInfo','onStarting','UniverInstanceType','UpdatePivotFieldSettingCommand','_initViewModelBySheetInterceptor','needSameDeleteModel','FORCE_STRING','12qwRgpD','_ensurePivotItemRenderValueMatrixCache','number','valueFields','rowStyle','HourMinute','MovePivotTableCommand','colHeaderMap','getTypeOfUnitDisposed$','pivotInitCompleted$','rangeType','oldRangeInfo','sheets-pivot.value','DrillDown','string','getFieldDataType','YearMonth','getTargetByPivotId','getSheetId','UpdateSource','Minute','Values','getTableFieldById','getFieldIds','subscribe','PivotTableOperationEnum','result','colStyle','sheet.command.update-date-group','intercept','isDate','UpdatePivotTableSourceRangeCommand','_requestResolvers','isDateGroupField','includes','getAutoDisplayNameFunction','#1d32e9','updateConfig','entries','leftOffset','NotName','GlobalComputingStatusService','range','getSheets','registerCallbackWithEvent','CommandType','Collapse','NUM','removeSourceRangeChange','pivotConfigChange$','getPivotTableInstance','sheets-pivot.cellDateGroupDisplay.hourMinute','registerPluginResource','SetFieldFormat','disposeWithMe','UpdateValuePosition','IExclusiveRangeService','SetPivotTableConfig','ResetPivotTable','_updateModelCache','getSheetBySheetId','ptn','PivotFilterTypeEnum','RemovePivotFieldCommand','setPivotTableConfig','DEFAULT_WORKSHEET_COLUMN_COUNT','stringify','YearQuarter','registerCommand','SetOptions','97713dMsEYn','COLUMN','viewUpdate$','originTargetInfo','other','@univerjs/rpc','getPivotTableModelConfig','(Blank)','setRange','_sheetsPivotTableConfigModel','InsertSheetMutation','_globalComputedEndHelpFunc','getMonth','133565nUDYqd','SetSortInfo','MAX_SAFE_INTEGER','_localeService','deepClone','getSubUnitPivotConfigs','isDateValue','getCurrentUnitForType','StdDevp\x20of\x20','RemovePivotFieldMutation','SetPivotPositionMutation','MUTATION','getDataFieldId','_onRefRangeChange','toJSON','SetPivotValueFilterCommand','SetWorksheetColWidthMutation','unionPivotViewRange','UniverLicensePlugin','getformat','/*\x20QNtaXk-1aNnRtQ\x20rmQVQm-kQhrtnkQ\x20*/VlXLkazX\x201QLmDrkazX(taLQXNQ,\x20rlRtaLGQD)\x20{\x20\x20\x20\x20kmD\x20{\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20taLQXNQiXVzCnmksmmnD\x20=\x20taLQXNQ.Nrtak(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20zmapaXPQNNnpQ\x20=\x2004ey.rnmNQ(nkzR(taLQXNQiXVzCnmksmmnD[E]));\x20\x20\x20\x20\x20\x20\x20\x20aV\x20(!zmapaXPQNNnpQ.l1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zmapaXPQNNnpQ.l1\x20=\x20ylhRQm(taLQXNQiXVzCnmksmmnD[Z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20aN5zmuQm\x20=\x20kDrQzV\x205zmuQmftzRnt4LzrQ\x20!==\x20\x27lX1QVaXQ1\x27\x20&&\x20NQtV\x20aXNknXLQzV\x205zmuQmftzRnt4LzrQ;\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20aNUmzBNQm\x20=\x20kDrQzV\x20BaX1zB\x20!==\x20\x27lX1QVaXQ1\x27\x20&&\x20kDrQzV\x20BaX1zB.tzLnkazX\x20!==\x20\x27lX1QVaXQ1\x27;\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20LzXkQKk\x20=\x20aN5zmuQm\x20?\x20NQtV\x20:\x20(aNUmzBNQm\x20?\x20BaX1zB\x20:\x20ptzRntjwaN);\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20hQNNnpQ5zm1\x20=\x20LzXkQKk.__UnNQWZ__.rnmNQ(taLQXNQiXVzCnmksmmnD[E]);\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20hQNNnpQ\x20=\x20LzXkQKk.__HQK__.NkmaXpaVD(hQNNnpQ5zm1);\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20NapXnklmQ5zm1\x20=\x20LzXkQKk.__UnNQWZ__.rnmNQ(taLQXNQiXVzCnmksmmnD[x]);\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20NapXnklmQ\x20=\x20LzXkQKk.__HQK__.NkmaXpaVD(NapXnklmQ5zm1);\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20NapX7nta1\x20=\x20LzXkQKk.__OQmaVD__(NapXnklmQ,\x20hQNNnpQ,\x20rlRtaLGQD);\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x201zhnaX\x20=\x20zmapaXPQNNnpQ.1h;\x20\x20\x20\x20\x20\x20\x20\x20VlXLkazX\x20aNbzhnaXPnkLwaXp(rnkkQmX:\x20NkmaXp,\x20wzNk:\x20NkmaXp):\x20RzztQnX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aV\x20(rnkkQmX\x20===\x20wzNk)\x20mQklmX\x20kmlQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aV\x20(rnkkQmX.NknmkN5akw(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20NlVVaK\x20=\x20rnkkQmX.NtaLQ(E);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aV\x20(NlVVaK\x20&&\x20NlVVaK\x20===\x20wzNk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mQklmX\x20kmlQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aV\x20(NlVVaK\x20&&\x20!wzNk.NknmkN5akw(\x27.\x27)\x20&&\x20wzNk.QX1N5akw(\x27.\x27\x20+\x20NlVVaK))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mQklmX\x20kmlQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mQklmX\x20VntNQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20tQk\x201zhnaX7nta1\x20=\x20VntNQ;\x20\x20\x20\x20\x20\x20\x20\x20aV\x20(aNUmzBNQm)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zhnaX7nta1\x20=\x20(1zhnaX\x20&&\x201zhnaX.tQXpkw)\x20?\x201zhnaX.NzhQ((1hikQh)\x20=>\x20aNbzhnaXPnkLwaXp(1hikQh,\x20tzLnkazX.wzNkXnhQ))\x20:\x20kmlQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aV\x20(tzLnkazX.wzNkXnhQ\x20===\x20\x27tzLntwzNk\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zhnaX7nta1\x20=\x20kmlQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20QtNQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zhnaX7nta1\x20=\x20kmlQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LzXNk\x20Onta1\x20=\x20NapX7nta1\x20&&\x201zhnaX7nta1;\x20\x20\x20\x20\x20\x20\x20\x20mQklmX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Onta1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hQNNnpQ:\x20zmapaXPQNNnpQ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20LnkLw\x20(Qmmzm)\x20{\x20\x20\x20\x20\x20\x20\x20\x20mQklmX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Onta1:\x20VntNQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hQNNnpQ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','addExclusiveRange','UniverSheetsFilter','column','_generateUniqueVersion','rangesInfo','getTextSize','setValue','sheetName','getAdjustRangesPosition','UpdatePivotTableSourceRangeMutation','getPivotTableMatrixInfo','sheet.mutation.set-pivot-format','@univerjs/sheets-filter','MovePivotFieldCommand','update','getCellMatrix','SheetsPivotDataSourceModel','sheets-pivot.countName','Style','addRecord','_collectionConfigModel','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','setPivotCollapse','IUniverInstanceService','sheets-pivot.cellDateGroupDisplay.yearMonthDate','sortInfo','19664dDjgFU','Varp\x20of\x20','SetPivotFieldsConfigCommand','sheets-pivot.dateGroup.date','_deletePivotTableInstanceCache','_getAutoName','minDate','_refRangeHandle','sheets-pivot.varName','updateFieldSourceInfo','SheetsPivotTableAdaptorModel','resetPivotTable','sheets-pivot.cellDateGroupDisplay.date','amd','uniqueDataFieldName','setConfig','_initLocale','sheet.mutation.add-pivot-field','isNaN','Tools','collectionChange$','sheet.mutation.set-pivot-field-subtotal-type','rowRanges','updateRangeKeyMap','_sheetInterceptorService','getPivotDirtyViewInfo','ManualFilter','_initPivotDataGetListener','viewData$','ClearSelectionAllCommand','workbook\x20is\x20not\x20found','getDataFieldItemInfo','originalFieldId','sheets-pivot.blank','columnFields','setTextInfo','SetPivotFilterMutation','getDisplayName','getLastRow','Min\x20of\x20','isArray','pivotPerformCheck','onQueryEnd','startRow','sheets-pivot.dateGroup.hour','sheets-pivot.cellDateGroupDisplay.minute','sheet.mutation.send-pivot-data-local','getFieldInfo','_exclusiveRangeService','AddPivotFieldMutation','DIV_BY_ZERO','_featureCalculationManagerService','isFeatureAuthorizedWithinTime','SheetsPivotTableConfigModel','SheetsPivotTableService','collections','_pivotTableInstanceCache','lastCol','rgb(240,241,243)','pivotTableId','RANGE_TYPE','SetPivotCollapseCommand','getDataFieldByRangeKey','updateAllDisplayName','varp','tuple','valuePosition','updateFieldPosition','UpdateFieldPosition','ResetPivotFieldsConfigCommand','stdDev','sheets-pivot.stdDevName','interceptor','average','CustomCommandExecutionError','addCollectionByJSON','_getPivotAppliedRanges','getPivotCellInfo','function','endCollectChangeset','sequenceExecute','Month','pushUndoRedo','SetRangeValuesUndoMutationFactory','product','sum','col','ObjectMatrix','getSheetCommandTarget','SetPivotFieldFormatMutation','NotFunction','getValueIndex','_deleteModelCache','SetPivotFilterCommand','YearMonthDate','_pivotTableMatrixInfo','reset','SetPivotCollapseMutation','unshift','REF','AddField','createCollectionWithDataRange','pivotTableIndexConfig','width','setSourceName','formJSON','PivotSubtotalTypeEnum','#e6ebfb','sheets-pivot.dateGroup.yearMonth','_ensurePivotTableMatrixInfo','concat','pageRanges','_globalComputingSrv','#e6ebfa','contains','sheet.mutation.update-pivot-table-source-range','SetPivotSort','sheets-pivot.stdDevpName','addPivotTableWithConfig','find','CellValueType','_model','getMatrixValue','getId','updatePivotTableRangeInfo','sheets.tabs.sheet','getSheetBySheetName','set','keys','35963889XkUSHi','updateViewInfo','setRangeKeyMap','fromJSON','_pivotTableRangeInfo','UNIVER_SHEET','rowHeaderMap','_refRangeService'];_0x4493=function(){return _0x160841;};return _0x4493();}
|
|
1
|
+
function _0x477d(_0x4753ba,_0x374f57){_0x4753ba=_0x4753ba-0x145;const _0x1c360a=_0x1c36();let _0x477d0e=_0x1c360a[_0x4753ba];return _0x477d0e;}(function(_0x4e20e9,_0xd70337){const _0x272cda=_0x477d,_0x62e25e=_0x4e20e9();while(!![]){try{const _0x5b0da4=parseInt(_0x272cda(0x324))/0x1*(parseInt(_0x272cda(0x19c))/0x2)+parseInt(_0x272cda(0x162))/0x3*(parseInt(_0x272cda(0x2dd))/0x4)+parseInt(_0x272cda(0x241))/0x5*(-parseInt(_0x272cda(0x3a3))/0x6)+parseInt(_0x272cda(0x2bd))/0x7*(parseInt(_0x272cda(0x1c8))/0x8)+-parseInt(_0x272cda(0x399))/0x9*(parseInt(_0x272cda(0x439))/0xa)+parseInt(_0x272cda(0x3c6))/0xb*(-parseInt(_0x272cda(0x1f2))/0xc)+parseInt(_0x272cda(0x431))/0xd;if(_0x5b0da4===_0xd70337)break;else _0x62e25e['push'](_0x62e25e['shift']());}catch(_0x26d6be){_0x62e25e['push'](_0x62e25e['shift']());}}}(_0x1c36,0x3e85d),function(_0x3c340d,_0x55f623){const _0x139751=_0x477d;typeof exports==_0x139751(0x2b0)&&typeof module<'u'?_0x55f623(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x139751(0x14b)&&define[_0x139751(0x2e6)]?define(['exports',_0x139751(0x1a2),_0x139751(0x217),_0x139751(0x207),_0x139751(0x37f),_0x139751(0x393),_0x139751(0x44e),_0x139751(0x3ac),_0x139751(0x3b3),_0x139751(0x3e5)],_0x55f623):(_0x3c340d=typeof globalThis<'u'?globalThis:_0x3c340d||self,_0x55f623(_0x3c340d[_0x139751(0x234)]={},_0x3c340d[_0x139751(0x149)],_0x3c340d[_0x139751(0x163)],_0x3c340d[_0x139751(0x380)],_0x3c340d[_0x139751(0x263)],_0x3c340d['rxjs'],_0x3c340d['UniverProLicense'],_0x3c340d[_0x139751(0x2d9)],_0x3c340d['UniverRpc'],_0x3c340d[_0x139751(0x2a0)]));}(this,function(_0x414f7d,_0x359d7d,_0x39781c,_0x2b4321,_0x1457ac,_0x201b78,_0x462881,_0x4cb512,_0x42b9b3,_0x59f848){'use strict';const _0x25f219=_0x477d;var _0x29e908=Object[_0x25f219(0x30f)],_0x4a494e=(_0x192777,_0x3c21c7,_0x3c5f8a)=>_0x3c21c7 in _0x192777?_0x29e908(_0x192777,_0x3c21c7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c5f8a}):_0x192777[_0x3c21c7]=_0x3c5f8a,_0x4d19a3=(_0x48d0dc,_0x4cb85b,_0x4165f5)=>_0x4a494e(_0x48d0dc,typeof _0x4cb85b!='symbol'?_0x4cb85b+'':_0x4cb85b,_0x4165f5);const _0x216672=Number[_0x25f219(0x3a2)](0x694fc356),_0x4081b5=0x10,_0x102787=0x1,_0x444275='SHEET_PIVOT_TABLE_PLUGIN',_0x1657da=0x1,_0x1e4965='rgb(240,241,243)',_0x20893a=_0x25f219(0x420),_0x562a33='#b2b2b2',_0x1ad43a='#f4f4f5',_0x3c5494='#f4f4f5',_0x2c97c5=_0x25f219(0x42b),_0x48b7f8=_0x25f219(0x281),_0x51e7b7=_0x25f219(0x1ae),_0x55a271=_0x25f219(0x327),_0x130a93=_0x25f219(0x281),_0x407f1b='#FFFFFF',_0x26d4ae=_0x25f219(0x438),_0x5110ca=0xe,_0x21187d=0x6;var _0x40cc2c=(_0x76ab80=>(_0x76ab80[_0x25f219(0x1de)]=_0x25f219(0x3e9),_0x76ab80[_0x25f219(0x2a3)]=_0x25f219(0x2b3),_0x76ab80))(_0x40cc2c||{});const _0x476148={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x440897=0x1e,_0x231572={'b':{'s':0x1,'cl':{'rgb':_0x562a33}},'l':{'s':0x1,'cl':{'rgb':_0x562a33}},'r':{'s':0x1,'cl':{'rgb':_0x562a33}},'t':{'s':0x1,'cl':{'rgb':_0x562a33}}},_0x53541c={'bg':{'rgb':_0x1e4965},'ht':0x2,'vt':0x2,'tb':0x1},_0x47ab69={'bg':{'rgb':_0x20893a},'ht':0x2,'vt':0x2,'tb':0x1},_0x588be4={'rowStyle':{'bg':{'rgb':_0x26d4ae},'bd':_0x231572,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x130a93},'bd':null,'cl':{'rgb':_0x407f1b},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x231572,'bg':{'rgb':_0x55a271},'vt':0x2},'cornerStyle':{'bd':_0x231572,'bg':{'rgb':_0x2c97c5},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x231572,'bg':{'rgb':_0x1ad43a},'vt':0x2},'leafStyle':{'bd':_0x231572,'bg':{'rgb':_0x3c5494},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x48b7f8},'cl':{'rgb':_0x51e7b7},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x231572,'vt':0x2}};function _0x5d49f4(_0x5c6961,_0xdd919c,_0x2639e8){const _0x5068f1=_0x25f219,_0x20b38d=_0x5c6961[_0x5068f1(0x46f)](_0x39781c[_0x5068f1(0x461)]),_0x3d22c5=_0x2639e8[_0x5068f1(0x152)]('_');switch(_0xdd919c){case _0x359d7d[_0x5068f1(0x343)]['Year']:return _0x20b38d['t'](_0x5068f1(0x18d),..._0x3d22c5);case _0x359d7d[_0x5068f1(0x343)][_0x5068f1(0x303)]:return _0x20b38d['t'](_0x5068f1(0x40d),..._0x3d22c5);case _0x359d7d[_0x5068f1(0x343)][_0x5068f1(0x2cd)]:return _0x20b38d['t'](_0x5068f1(0x1c7),..._0x3d22c5);case _0x359d7d['PivotDateGroupFieldDateTypeEnum'][_0x5068f1(0x34d)]:return _0x20b38d['t'](_0x5068f1(0x2aa),..._0x3d22c5);case _0x359d7d[_0x5068f1(0x343)][_0x5068f1(0x3c8)]:return _0x20b38d['t'](_0x5068f1(0x339),..._0x3d22c5);case _0x359d7d[_0x5068f1(0x343)]['Month']:return _0x20b38d['t'](_0x5068f1(0x18b),..._0x3d22c5);case _0x359d7d['PivotDateGroupFieldDateTypeEnum'][_0x5068f1(0x440)]:return _0x20b38d['t'](_0x5068f1(0x1fe),..._0x3d22c5);case _0x359d7d[_0x5068f1(0x343)][_0x5068f1(0x363)]:return _0x20b38d['t'](_0x5068f1(0x2c7),..._0x3d22c5);case _0x359d7d['PivotDateGroupFieldDateTypeEnum'][_0x5068f1(0x1d9)]:return _0x20b38d['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x3d22c5);case _0x359d7d[_0x5068f1(0x343)][_0x5068f1(0x28e)]:return _0x20b38d['t'](_0x5068f1(0x1dd),..._0x3d22c5);}return'';}const _0x4486a0=(_0x4fc055,_0x417007,_0x535676,_0x33929)=>{const _0x48b2e7=_0x25f219;let _0x2dcf19;const _0x35f35e=_0x4fc055[_0x48b2e7(0x46f)](_0x39781c[_0x48b2e7(0x364)])[_0x48b2e7(0x1cc)](_0x39781c['UniverInstanceType']['UNIVER_SHEET']);if(!_0x35f35e)return null;const _0x55e8cd=_0x35f35e[_0x48b2e7(0x2fb)]();let _0x1a7679;if(_0x535676&&(_0x1a7679=_0x55e8cd['setValue'](_0x535676)),_0x417007!=null&&_0x417007['v']||(_0x417007==null?void 0x0:_0x417007['v'])===0x0){_0x2dcf19||(_0x2dcf19={});const _0x4afebb=_0x6f855e(_0x417007['v']);typeof _0x4afebb=='number'?_0x2dcf19['t']=_0x39781c[_0x48b2e7(0x22d)][_0x48b2e7(0x3b6)]:typeof _0x4afebb==_0x48b2e7(0x2ec)&&(_0x2dcf19['t']=_0x39781c[_0x48b2e7(0x22d)]['STRING']),_0x2dcf19['v']=_0x4afebb;}if((_0x417007!=null&&_0x417007['i']||(_0x417007==null?void 0x0:_0x417007['i'])===0x0)&&(_0x2dcf19||(_0x2dcf19={}),_0x2dcf19['fi']=_0x417007['i']),_0x417007!=null&&_0x417007['s']&&(_0x2dcf19||(_0x2dcf19={}),_0x2dcf19['pbt']=_0x417007['s']),_0x535676&&(_0x2dcf19||(_0x2dcf19={}),_0x2dcf19['s']=_0x1a7679),_0x33929&&_0x2dcf19!=null&&_0x2dcf19['v']&&_0x2dcf19[_0x48b2e7(0x347)]!==_0x359d7d[_0x48b2e7(0x248)][_0x48b2e7(0x3d1)]&&_0x2dcf19[_0x48b2e7(0x347)]!==_0x359d7d[_0x48b2e7(0x248)][_0x48b2e7(0x3c1)]){const _0xd388ba=String(_0x2dcf19['v']),{dateType:_0x5a18f7}=_0x33929;_0x2dcf19['v']=_0x5d49f4(_0x4fc055,_0x5a18f7,_0xd388ba),_0x2dcf19['t']=_0x39781c[_0x48b2e7(0x22d)][_0x48b2e7(0x175)];}return _0x2dcf19;},_0x1a1029=(_0x55fdad,_0x1516b7,_0x601824,_0x47e6ca)=>{const _0x5874c8=_0x25f219;var _0x131ead,_0x3198ff,_0x26169d,_0x1e94ba,_0x4a125b,_0x31a670,_0x4a0249,_0x47351b,_0x27699b,_0x1912d9,_0x205d9f,_0x4a67a6,_0x3b84c0,_0x2fb7a9;const _0x4856a0=_0x601824[_0x5874c8(0x1df)],{cornerView:_0x3f8008,rowView:_0x30a32b,colView:_0x3ce58f,dataView:_0x2fc5f0,pageView:_0x3c15d0,formatMap:_0x238945,groupInfo:_0x23f910}=_0x1516b7,{row:_0x476d20,col:_0x44eb40}=_0x4856a0,_0x2a581b=new _0x39781c['ObjectMatrix'](),_0x20c8ee={},_0x1d8fb7={},_0x57a77f={},_0xb0b751={},_0x363a9e={};let _0x3e032c=_0x476d20,_0x1cd65b=_0x44eb40;Object['keys'](_0x3c15d0['data'])[_0x5874c8(0x262)](_0x3ffa2d=>{const _0x3a73d7=_0x5874c8;Object[_0x3a73d7(0x3a0)](_0x3c15d0[_0x3a73d7(0x298)][Number(_0x3ffa2d)])['forEach'](_0x43e386=>{const _0xbf2a1e=_0x3a73d7,_0x21d689={..._0x3c15d0['data'][Number(_0x3ffa2d)][Number(_0x43e386)]};_0x2a581b[_0xbf2a1e(0x233)](Number(_0x3ffa2d)+_0x3e032c,Number(_0x43e386)+_0x1cd65b,_0x4486a0(_0x55fdad,_0x21d689,_0x588be4[_0xbf2a1e(0x3ef)]));});});const _0x4c44c4=Object[_0x5874c8(0x3a0)](_0x3c15d0[_0x5874c8(0x298)])['length'];_0x3e032c+=_0x4c44c4+(_0x4c44c4?_0x1657da:0x0);const _0x3a97dd=_0x3f8008[_0x5874c8(0x463)](),_0x4120b6=_0x3f8008[_0x5874c8(0x218)]();for(let _0x469b21=0x0;_0x469b21<_0x3a97dd;_0x469b21++)for(let _0x253921=0x0;_0x253921<_0x4120b6;_0x253921++){const _0x5a9b36={...(_0x3198ff=(_0x131ead=_0x3f8008[_0x5874c8(0x298)])==null?void 0x0:_0x131ead[_0x469b21])==null?void 0x0:_0x3198ff[_0x253921]};_0x5a9b36&&(_0x26169d=_0x30a32b[_0x5874c8(0x16b)][_0x253921])!=null&&_0x26169d['isValue']&&_0x253921===_0x4120b6-0x1&&_0x469b21===_0x3a97dd-0x1&&(_0x5a9b36['v']=''+_0x47e6ca[_0x5874c8(0x32f)]),_0x2a581b['setValue'](_0x469b21+_0x3e032c,_0x253921+_0x1cd65b,_0x4486a0(_0x55fdad,_0x5a9b36,_0x588be4[_0x5874c8(0x33b)]));}for(let _0x3154e8=0x0;_0x3154e8<_0x3f8008[_0x5874c8(0x3d3)][_0x5874c8(0x37d)];_0x3154e8++)_0x3f8008['info'][_0x3154e8]&&(_0x57a77f[''+(_0x3154e8+_0x1cd65b)]=_0x3f8008['info'][_0x3154e8]);_0x1cd65b+=_0x4120b6;const _0x5dabf6=_0x3ce58f['headerMap'],_0xc84574=_0x3ce58f[_0x5874c8(0x155)]()>=0x0?_0x3ce58f[_0x5874c8(0x155)]()+0x1:0x0,_0x58d395=_0x3ce58f[_0x5874c8(0x335)]()>=0x0?_0x3ce58f[_0x5874c8(0x335)]()+0x1:0x0;for(let _0x265fff=0x0;_0x265fff<_0x58d395;_0x265fff++){for(let _0x5e5640=0x0;_0x5e5640<_0xc84574;_0x5e5640++){const _0x22b78d={...(_0x4a125b=(_0x1e94ba=_0x3ce58f['data'])==null?void 0x0:_0x1e94ba[_0x5e5640])==null?void 0x0:_0x4a125b[_0x265fff]},_0x127aa2=(_0x31a670=_0x5dabf6[_0x5e5640])==null?void 0x0:_0x31a670[_0x5874c8(0x46e)],_0xf96aec=_0x238945[_0x127aa2],_0x17e1f6=_0x23f910[_0x127aa2];_0x22b78d&&(_0x22b78d['v']=_0x35457c(_0x22b78d,_0x5e5640===0x0&&((_0x4a0249=_0x3ce58f['getHeaderMapItem'](_0x265fff+0x1))==null?void 0x0:_0x4a0249[_0x5874c8(0x255)]),_0xf96aec,_0x47e6ca));let _0x1557bf;_0xf96aec?_0x1557bf={..._0x588be4[_0x5874c8(0x3bc)],'n':{'pattern':_0xf96aec}}:_0x1557bf={..._0x588be4['colStyle']},_0x2a581b['setValue'](_0x5e5640+_0x3e032c,_0x265fff+_0x1cd65b,_0x4486a0(_0x55fdad,_0x22b78d,_0x1557bf,_0x17e1f6));}_0x3ce58f[_0x5874c8(0x3d3)][_0x265fff]&&(_0x1d8fb7[''+(_0x265fff+_0x1cd65b)]=_0x3ce58f[_0x5874c8(0x3d3)][_0x265fff]),_0x3ce58f[_0x5874c8(0x16b)][_0x265fff+0x1]&&(_0x363a9e[''+(_0x265fff+_0x3e032c+0x1)]=_0x3ce58f[_0x5874c8(0x16b)][_0x265fff+0x1]);}_0x3e032c+=_0x3a97dd;const _0x4d52e6=_0x30a32b[_0x5874c8(0x16b)],_0x46427b=_0x30a32b[_0x5874c8(0x155)]()>=0x0?_0x30a32b['getLastRow']()+0x1:0x0,_0x4c2314=_0x30a32b[_0x5874c8(0x335)]()>=0x0?_0x30a32b[_0x5874c8(0x335)]()+0x1:0x0;for(let _0x46d5a3=0x0;_0x46d5a3<_0x46427b;_0x46d5a3++){for(let _0x1728ba=0x0;_0x1728ba<_0x4c2314;_0x1728ba++){const _0x74c1bf={...(_0x27699b=(_0x47351b=_0x30a32b['data'])==null?void 0x0:_0x47351b[_0x46d5a3])==null?void 0x0:_0x27699b[_0x1728ba]},_0x34f967=(_0x1912d9=_0x4d52e6[_0x1728ba])==null?void 0x0:_0x1912d9[_0x5874c8(0x46e)],_0x449c6e=_0x238945[_0x34f967],_0x13dc35=_0x23f910[_0x34f967];_0x74c1bf&&(_0x74c1bf['v']=_0x35457c(_0x74c1bf,!0x1,_0x449c6e,_0x47e6ca));let _0x551d2a;_0x30a32b['info'][_0x46d5a3]['level']===_0x30a32b[_0x5874c8(0x218)]()?_0x551d2a=_0x588be4[_0x5874c8(0x2cb)]:_0x30a32b[_0x5874c8(0x3d3)][_0x46d5a3][_0x5874c8(0x306)]?_0x551d2a=_0x30a32b[_0x5874c8(0x3d3)][_0x46d5a3][_0x5874c8(0x2f8)]===0x0?_0x588be4[_0x5874c8(0x2f7)]:_0x588be4[_0x5874c8(0x20c)]:_0x551d2a=_0x588be4[_0x5874c8(0x1f1)],_0x449c6e&&(_0x551d2a={..._0x551d2a,'n':{'pattern':_0x449c6e}}),_0x2a581b['setValue'](_0x46d5a3+_0x3e032c,_0x1728ba+_0x44eb40,_0x4486a0(_0x55fdad,_0x74c1bf,_0x551d2a,_0x13dc35));}_0x30a32b[_0x5874c8(0x3d3)][_0x46d5a3]&&(_0x20c8ee[''+(_0x46d5a3+_0x3e032c)]=_0x30a32b[_0x5874c8(0x3d3)][_0x46d5a3]),_0x30a32b[_0x5874c8(0x16b)][_0x46d5a3]&&(_0xb0b751[''+(_0x46d5a3+_0x44eb40)]=_0x30a32b[_0x5874c8(0x16b)][_0x46d5a3]);}const _0x5d9ff0=_0x2fc5f0[_0x5874c8(0x463)](),_0x38c4bc=_0x2fc5f0[_0x5874c8(0x218)]();for(let _0x3a2993=0x0;_0x3a2993<_0x5d9ff0;_0x3a2993++)for(let _0x372087=0x0;_0x372087<_0x38c4bc;_0x372087++){const _0x291d52={...(_0x4a67a6=(_0x205d9f=_0x2fc5f0[_0x5874c8(0x298)])==null?void 0x0:_0x205d9f[_0x3a2993])==null?void 0x0:_0x4a67a6[_0x372087]};let _0x479761;_0x30a32b[_0x5874c8(0x3d3)][_0x3a2993]['isBottomTotal']?_0x479761=_0x30a32b[_0x5874c8(0x3d3)][_0x3a2993][_0x5874c8(0x2f8)]===0x0?_0x588be4['grandTotal']:_0x588be4[_0x5874c8(0x20c)]:_0x479761=_0x588be4[_0x5874c8(0x425)];const _0x20ace9=_0x30a32b[_0x5874c8(0x3d3)][_0x3a2993][_0x5874c8(0x405)],_0x29b2ae=_0x3ce58f[_0x5874c8(0x3d3)][_0x372087][_0x5874c8(0x405)],_0x1f63b4=Math['max'](_0x20ace9,_0x29b2ae),_0x2b90b0=_0x601824['fieldsConfig']['valueFields'][_0x5874c8(0x270)]();let _0x5f2825='';_0x1f63b4<0x0?_0x5f2825=(_0x3b84c0=_0x2b90b0[0x0])!=null?_0x3b84c0:'':_0x5f2825=(_0x2fb7a9=_0x2b90b0[_0x1f63b4])!=null?_0x2fb7a9:'';const _0x1807e3=_0x238945[_0x5f2825];_0x1807e3&&(_0x479761={..._0x479761,'n':{'pattern':_0x1807e3}}),_0x2a581b[_0x5874c8(0x233)](_0x3a2993+_0x3e032c,_0x372087+_0x1cd65b,_0x4486a0(_0x55fdad,_0x291d52,_0x479761));}return{'valueMatrix':_0x2a581b,'rowInfo':_0x20c8ee,'colInfo':_0x1d8fb7,'cornerInfo':_0x57a77f,'rowHeaderMap':_0xb0b751,'colHeaderMap':_0x363a9e};};function _0x35457c(_0x534537,_0x29b225,_0x1e6ac5,_0xd7c3c9){const _0x9733f6=_0x25f219;let _0x20ead4=_0x534537['v'];_0x29b225&&(_0x20ead4=''+_0xd7c3c9[_0x9733f6(0x32f)]);const _0x3a4c47=_0x534537['t']&&(_0x534537['t']&_0x359d7d[_0x9733f6(0x2f9)][_0x9733f6(0x3bd)])>0x0;_0x3a4c47&&(_0x20ead4=''+_0xd7c3c9['sheets-pivot.blank']);const _0x2a2267=_0x534537['t']&&(_0x534537['t']&_0x359d7d['PivotViewCellValueTypeEnum'][_0x9733f6(0x239)])>0x0;if(_0x2a2267&&(_0x20ead4=''+_0xd7c3c9[_0x9733f6(0x2ee)]),_0x534537['s']===_0x359d7d['PivotCellStyleTypeEnum']['Subtotal']){let _0x305af0=_0x20ead4,_0x5171a6='';_0x359d7d[_0x9733f6(0x2ba)](_0x20ead4)&&(_0x305af0=_0x20ead4[_0x9733f6(0x2c9)],_0x5171a6=_0x20ead4[_0x9733f6(0x22c)]);const _0x252cb1=_0x1e6ac5&&!_0x3a4c47&&!_0x2a2267?_0x39781c['numfmt'][_0x9733f6(0x308)](_0x1e6ac5,Number(_0x305af0)):_0x305af0;_0x5171a6?_0x20ead4=_0x252cb1+'\x20'+_0x5171a6:_0x20ead4=_0x252cb1+'\x20'+_0xd7c3c9[_0x9733f6(0x3ff)];}else _0x534537['s']===_0x359d7d[_0x9733f6(0x248)]['GrandTotal']&&(_0x20ead4=_0x20ead4+'\x20'+_0xd7c3c9['sheets-pivot.grandTotal']);return _0x20ead4;}function _0x6f855e(_0x2c565){const _0xa1e759=_0x25f219;if(_0x359d7d[_0xa1e759(0x171)](_0x2c565)){const {errorType:_0x42a328}=_0x2c565;switch(_0x42a328){case _0x359d7d[_0xa1e759(0x26e)][_0xa1e759(0x19f)]:return _0x2b4321['ErrorType'][_0xa1e759(0x236)];case _0x359d7d[_0xa1e759(0x26e)][_0xa1e759(0x257)]:return _0x2b4321[_0xa1e759(0x2d7)][_0xa1e759(0x31c)];case _0x359d7d[_0xa1e759(0x26e)][_0xa1e759(0x2f0)]:return _0x2b4321[_0xa1e759(0x2d7)][_0xa1e759(0x1e2)];case _0x359d7d[_0xa1e759(0x26e)]['NotName']:return _0x2b4321['ErrorType'][_0xa1e759(0x1e2)];case _0x359d7d[_0xa1e759(0x26e)][_0xa1e759(0x2d3)]:return _0x2b4321[_0xa1e759(0x2d7)][_0xa1e759(0x2e7)];}}return _0x2c565;}function _0x1b905b(_0x9a2bd4,_0x34aa47,_0x31cded=!0x1,_0x1d84f4=!0x1){const _0x5d8861=_0x25f219,{data:_0x340b57}=_0x34aa47,_0x17f8c3=_0x34aa47[_0x5d8861(0x463)](),_0x68feaa=_0x34aa47[_0x5d8861(0x218)]();if(_0x17f8c3<=0x0||_0x68feaa<=0x0)return[];const _0x5d0429=_0x34aa47[_0x5d8861(0x335)](),_0x2b4502=_0x34aa47['getLastRow'](),_0x4f84cf=_0x1d84f4?_0x2b4502>=0x0?_0x2b4502+0x1:0x0:_0x17f8c3,_0x5c9b74=_0x1d84f4?_0x5d0429>=0x0?_0x5d0429+0x1:0x0:_0x68feaa,{row:_0x2f4fb4,col:_0x147646}=_0x9a2bd4,_0x3f4f21=_0x2f4fb4,_0x4e45c6=_0x147646;if(_0x31cded){const _0x4874dd=[];for(const [_0x24517b,_0x58c48d]of Object[_0x5d8861(0x2ef)](_0x340b57))for(const [_0x2de3ab,_0x20f833]of Object[_0x5d8861(0x2ef)](_0x58c48d))_0x4874dd[_0x5d8861(0x1cb)](_0x39781c[_0x5d8861(0x289)](_0x3f4f21+Number(_0x24517b),_0x4e45c6+Number(_0x2de3ab)));return _0x4874dd;}else{const _0xa1fcad=_0x1d84f4?_0x4f84cf>0x0?0x1:0x0:0x1,_0x4ae4fb=_0x1d84f4?_0x5c9b74>0x0?0x1:0x0:0x1,_0x17b771=_0x2f4fb4+_0x4f84cf-_0xa1fcad,_0x373b0f=_0x147646+_0x5c9b74-_0x4ae4fb;return[{'startRow':_0x3f4f21,'startColumn':_0x4e45c6,'endRow':_0x17b771,'endColumn':_0x373b0f}];}}const _0x4f4b80='SHEET_PIVOT_IN_MAIN_THREAD',_0x27a944='SHEET_PIVOT_EXCLUSIVE_ID';var _0x11ef1a=(_0x9d6676=>(_0x9d6676[_0x25f219(0x1d0)]='filter',_0x9d6676[_0x25f219(0x2a6)]='panel',_0x9d6676[_0x25f219(0x2cf)]=_0x25f219(0x1b4),_0x9d6676[_0x25f219(0x167)]=_0x25f219(0x167),_0x9d6676[_0x25f219(0x245)]='addPivotTable',_0x9d6676[_0x25f219(0x39e)]=_0x25f219(0x1e4),_0x9d6676[_0x25f219(0x3f2)]=_0x25f219(0x27c),_0x9d6676[_0x25f219(0x33f)]='setPivotCollapse',_0x9d6676[_0x25f219(0x287)]=_0x25f219(0x17d),_0x9d6676[_0x25f219(0x35c)]='setPivotSort',_0x9d6676[_0x25f219(0x272)]=_0x25f219(0x397),_0x9d6676[_0x25f219(0x441)]=_0x25f219(0x33e),_0x9d6676[_0x25f219(0x1ce)]=_0x25f219(0x45e),_0x9d6676[_0x25f219(0x2c3)]='drillDown',_0x9d6676['SetValuePivotFilter']=_0x25f219(0x381),_0x9d6676[_0x25f219(0x1ef)]=_0x25f219(0x292),_0x9d6676[_0x25f219(0x229)]=_0x25f219(0x172),_0x9d6676))(_0x11ef1a||{});const _0x284128={'sheets-pivot.blankValue':_0x25f219(0x19a),'sheets-pivot.columnName':_0x25f219(0x3c4),'sheets-pivot.subTotalText':_0x25f219(0x412),'sheets-pivot.grandTotalText':_0x25f219(0x170),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x25f219(0x294),'sheets-pivot.countName':_0x25f219(0x24b),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x25f219(0x37c),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x25f219(0x1dc),'sheets-pivot.sumName':_0x25f219(0x235),'sheets-pivot.varName':_0x25f219(0x20d),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x25f219(0x3c1),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x25f219(0x22c),'sheets-pivot.blank':_0x25f219(0x3bd),'sheets-pivot.other':_0x25f219(0x239),'sheets-pivot.emptyPivot.filter':_0x25f219(0x1d0),'sheets-pivot.emptyPivot.row':_0x25f219(0x43d),'sheets-pivot.emptyPivot.column':_0x25f219(0x337),'sheets-pivot.emptyPivot.values':_0x25f219(0x3f7)},_0x957dd6={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x395a1e=_0x39781c[_0x25f219(0x14e)](_0x25f219(0x23d)),_0x46a238=_0x39781c[_0x25f219(0x2c4)](_0x25f219(0x32c));var _0x332fc8=(_0x46b79b=>(_0x46b79b['add']='add',_0x46b79b[_0x25f219(0x1ca)]=_0x25f219(0x1ca),_0x46b79b[_0x25f219(0x40c)]=_0x25f219(0x40c),_0x46b79b))(_0x332fc8||{}),_0x3f20dc=(_0x441c1a=>(_0x441c1a['Add']=_0x25f219(0x35f),_0x441c1a[_0x25f219(0x1cf)]=_0x25f219(0x321),_0x441c1a[_0x25f219(0x18e)]=_0x25f219(0x1ca),_0x441c1a))(_0x3f20dc||{});const _0x4eca56={'type':_0x39781c[_0x25f219(0x3d9)]['MUTATION'],'id':_0x25f219(0x14a),'handler':()=>!0x0},_0xe01630={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x44b),'handler':()=>!0x0},_0x39d292={'type':_0x39781c['CommandType'][_0x25f219(0x25f)],'id':_0x25f219(0x25a),'handler':()=>!0x0},_0x119513={'type':_0x39781c['CommandType'][_0x25f219(0x25f)],'id':_0x25f219(0x2a7),'handler':()=>!0x0},_0x57be3e={'type':_0x39781c[_0x25f219(0x3d9)]['MUTATION'],'id':_0x25f219(0x29e),'handler':()=>!0x0};var _0x2eaef4=Object[_0x25f219(0x311)],_0x4208b6=(_0x117815,_0x59f5a8,_0x5c312a,_0x39cb6f)=>{const _0x1eb2dd=_0x25f219;for(var _0x48e563=_0x39cb6f>0x1?void 0x0:_0x39cb6f?_0x2eaef4(_0x59f5a8,_0x5c312a):_0x59f5a8,_0x389503=_0x117815[_0x1eb2dd(0x37d)]-0x1,_0x59072c;_0x389503>=0x0;_0x389503--)(_0x59072c=_0x117815[_0x389503])&&(_0x48e563=_0x59072c(_0x48e563)||_0x48e563);return _0x48e563;},_0x1ab274=(_0x9ac07e,_0x498a06)=>(_0x1542c4,_0x4f2640)=>_0x498a06(_0x1542c4,_0x4f2640,_0x9ac07e);_0x414f7d[_0x25f219(0x1f6)]=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x1741d3){const _0x5ae50c=_0x25f219;super(),_0x4d19a3(this,'_requestResolvers',new Map()),this[_0x5ae50c(0x3d2)]=_0x1741d3;}['handleAsyncResponse'](_0x5d3ae6){const _0x52ccc2=_0x25f219,{version:_0x13b011}=_0x5d3ae6,_0x179671=this['_requestResolvers'][_0x52ccc2(0x46f)](_0x13b011);_0x179671&&(_0x179671(_0x5d3ae6),this[_0x52ccc2(0x22e)][_0x52ccc2(0x1ca)](_0x13b011));}['getPivotDisplayConfig'](_0x5356b1){return new Promise((_0x43fc3e,_0xa1bf)=>{const _0x1dee15=_0x477d,_0x4b2651=this[_0x1dee15(0x23c)]();this[_0x1dee15(0x22e)][_0x1dee15(0x321)](_0x4b2651,_0x43fc3e),this[_0x1dee15(0x3d2)]['executeCommand'](_0x4eca56['id'],{'version':_0x4b2651,..._0x5356b1},{'onlyLocal':!0x0});});}[_0x25f219(0x23c)](){const _0x43d77e=_0x25f219;return Math[_0x43d77e(0x332)]()[_0x43d77e(0x40e)](0x24)[_0x43d77e(0x39b)](0x2,0x10);}},_0x414f7d['SheetsPivotRPCService']=_0x4208b6([_0x1ab274(0x0,_0x39781c[_0x25f219(0x28d)](_0x39781c['ICommandService']))],_0x414f7d[_0x25f219(0x1f6)]);const _0x4d5ed3={0x0:'U',0x1:'H',0x2:'P',0x3:'1',0x4:'K',0x5:'6',0x6:'T',0x7:'i',0x8:'I',0x9:'j','j':'0','i':'2','I':'3','K':'4','p':'5','E':'7','y':'8','b':'9','H':'a','t':'b','D':'c','l':'d','L':'e','v':'f','g':'g','M':'h','r':'k','O':'l','s':'m','S':'n','G':'o','c':'p','V':'q','k':'r','C':'s','h':'t','X':'u','J':'v','N':'w','u':'x','d':'y','o':'z','a':'A','f':'B','Z':'C','x':'D','R':'E','e':'F','Q':'G','F':'J','w':'L','A':'M','q':'N','W':'O','P':'Q','n':'R','U':'S','B':'V','Y':'W','z':'X','m':'Y','T':'Z'},_0x56a88e=_0x25f219(0x389),_0x12a3e1=_0x47d3c8=>{const _0x25f121=_0x25f219;var _0x3bbef6;return((_0x3bbef6=_0x47d3c8[_0x25f121(0x458)])==null?void 0x0:_0x3bbef6['dataStream'][_0x25f121(0x1ed)](/\r\n$/,''))||'';};class _0x32f010 extends _0x359d7d[_0x25f219(0x194)]{constructor(_0x46a2ad,_0x25217d){const _0x4777f5=_0x25f219;super(),_0x4d19a3(this,_0x4777f5(0x3b8),{}),_0x4d19a3(this,_0x4777f5(0x2c1)),_0x4d19a3(this,_0x4777f5(0x3ee)),(this['_univerInstanceService']=_0x25217d,this[_0x4777f5(0x3ee)]=_0x46a2ad);}[_0x25f219(0x3a7)](){const _0x51a5cf=_0x25f219;for(const _0x58db39 in this[_0x51a5cf(0x182)]){const _0x89ac7=this[_0x51a5cf(0x182)][_0x58db39],_0x456ead=_0x89ac7['getRangeKey']();this[_0x51a5cf(0x3b8)][_0x456ead]=_0x89ac7[_0x51a5cf(0x31f)]();}}[_0x25f219(0x2d8)](){const _0x2d12d1=_0x25f219,_0x356d0a=this[_0x2d12d1(0x3ee)];return _0x6ea0cc[_0x2d12d1(0x41e)](_0x356d0a);}[_0x25f219(0x28c)](_0x5a88a7){const _0x596158=_0x25f219,_0x5104a2=this[_0x596158(0x182)][_0x5a88a7]['rangeKey'];delete this[_0x596158(0x182)][_0x5a88a7],delete this['rangeKeyMap'][_0x5104a2];}[_0x25f219(0x455)](_0x15f67b){const _0x390c47=_0x25f219;this[_0x390c47(0x182)][_0x15f67b[_0x390c47(0x31f)]()]=_0x15f67b;}['removeCollectionImp'](_0x1515c0){const _0x12ae61=_0x25f219;var _0x4188aa,_0x11c7b9;const _0xa982cb=this[_0x12ae61(0x3ee)][_0x12ae61(0x473)](_0x1515c0);if(_0xa982cb){const {unitId:_0x4c5bba,subUnitId:_0x271df0}=_0xa982cb,_0x2465ed=(_0x4188aa=this[_0x12ae61(0x3ee)][_0x12ae61(0x18f)](_0x4c5bba,_0x271df0,_0x1515c0))==null?void 0x0:_0x4188aa['sourceRangeInfo'];this[_0x12ae61(0x3ee)][_0x12ae61(0x3ab)]({'token':_0x1515c0,'type':_0x332fc8[_0x12ae61(0x1ca)],'dataRangeInfo':_0x2465ed});}(_0x11c7b9=this[_0x12ae61(0x193)](_0x1515c0))==null||_0x11c7b9[_0x12ae61(0x2dc)](),delete this[_0x12ae61(0x3b4)][_0x1515c0];}[_0x25f219(0x368)](_0x2c76c2,_0x323508){const _0x4c1c10=_0x25f219,{sheetName:_0x3c2265,unitId:_0x2acd59,range:_0x21d66b}=_0x2c76c2,{startRow:_0x2a6433,endRow:_0x4dd301}=_0x21d66b;return _0x2b4321[_0x4c1c10(0x30d)](_0x2acd59,_0x3c2265,{'startRow':_0x2a6433,'endRow':_0x4dd301,'startColumn':_0x323508,'endColumn':_0x323508});}[_0x25f219(0x3e1)](_0x521c7a){return this['dataFields'][this['rangeKeyMap'][_0x521c7a]];}['setRangeKeyMap'](_0x2fdbc9,_0x378f4c){const _0xa3732a=_0x25f219;this[_0xa3732a(0x3b8)][_0x2fdbc9]=_0x378f4c;}['updateRangeKeyMap'](_0xc1c5c1,_0x1b2429){const _0x31b9e3=_0x25f219;this[_0x31b9e3(0x3b8)][_0x1b2429]=this[_0x31b9e3(0x3b8)][_0xc1c5c1],delete this[_0x31b9e3(0x3b8)][_0xc1c5c1];}[_0x25f219(0x468)](_0x576c0d,_0x480020,_0x28419b,_0x32b168){const _0x1af19c=_0x25f219,_0x414a73=new _0x359d7d[(_0x1af19c(0x27d))](this);_0x414a73[_0x1af19c(0x3a8)](_0x480020);const _0xc19fe4=[];let _0x520b7e=0x0;for(const _0x4621a1 of _0x414a73[_0x1af19c(0x352)]){const _0x2235b6=this['getRangeKey'](_0x28419b,_0x520b7e),_0x281143=this[_0x1af19c(0x182)][_0x4621a1];_0x281143&&(_0x281143['rangeKey']=_0x2235b6,this['setRangeKeyMap'](_0x2235b6,_0x4621a1),_0xc19fe4[_0x1af19c(0x1cb)]({'index':_0x520b7e,'dataField':_0x281143})),_0x520b7e++;}return this['addCollection'](_0x576c0d,_0x414a73,_0x28419b,_0x32b168),{'collection':_0x414a73,'updateDataFieldList':_0xc19fe4};}[_0x25f219(0x464)](_0x246d0f,_0x5dddad){const _0x298b29=_0x25f219;return _0x246d0f[_0x298b29(0x42a)]===_0x39781c['RANGE_TYPE'][_0x298b29(0x1f0)]?{'startRow':0x0,'startColumn':_0x246d0f[_0x298b29(0x148)],'endRow':_0x5dddad[_0x298b29(0x463)]()-0x1,'endColumn':_0x246d0f['endColumn']}:{'startRow':_0x246d0f[_0x298b29(0x383)],'startColumn':_0x246d0f['startColumn'],'endRow':_0x246d0f[_0x298b29(0x25b)],'endColumn':_0x246d0f[_0x298b29(0x3e7)]};}[_0x25f219(0x2b8)](_0x3b8251){const _0x1c82d2=_0x25f219,{sheetName:_0x277e6e,range:_0x5f518f}=_0x3b8251,_0x2041a3=this['_univerInstanceService'][_0x1c82d2(0x1cc)](_0x39781c[_0x1c82d2(0x429)][_0x1c82d2(0x33a)]),_0x166be1=_0x2041a3[_0x1c82d2(0x418)](_0x277e6e),_0x14f927=_0x166be1['getCellMatrix'](),{startColumn:_0x457587,startRow:_0x4ee162,endColumn:_0x31dcef}=this[_0x1c82d2(0x464)](_0x5f518f,_0x166be1),_0x3bac9d=_0x2041a3['getStyles'](),_0x37bb57=new _0x359d7d[(_0x1c82d2(0x27d))](this);_0x37bb57[_0x1c82d2(0x17e)](_0x3b8251);const _0x147336=[],_0x2dc371={};for(let _0x58d276=_0x457587;_0x58d276<=_0x31dcef;_0x58d276++){const _0x23930a=_0x14f927[_0x1c82d2(0x285)](_0x4ee162,_0x58d276),_0x3c158f=this[_0x1c82d2(0x368)](_0x3b8251,_0x58d276),_0x504c15=this[_0x1c82d2(0x3e1)](_0x3c158f);if(_0x504c15)_0x37bb57[_0x1c82d2(0x250)](_0x504c15[_0x1c82d2(0x31f)](),_0x504c15['getName']());else{const _0x327017=this['createDataFieldId']();let _0x31b12e=this[_0x1c82d2(0x411)](_0x23930a,_0x3bac9d,_0x2dc371);_0x359d7d[_0x1c82d2(0x3e4)](_0x31b12e)&&(_0x31b12e=_0x39781c[_0x1c82d2(0x179)]['format'](_0x31b12e['f'],Number(_0x31b12e['v'])));const _0x2f2534=this[_0x1c82d2(0x30e)](_0x31b12e,_0x58d276),_0x62645=new _0x359d7d[(_0x1c82d2(0x46a))](_0x327017,_0x2f2534,_0x359d7d[_0x1c82d2(0x426)](0x3));_0x62645['rangeKey']=_0x3c158f,this[_0x1c82d2(0x182)][_0x327017]=_0x62645,_0x37bb57[_0x1c82d2(0x250)](_0x327017,_0x2f2534),_0x147336[_0x1c82d2(0x1cb)]({'index':_0x58d276,'dataField':_0x62645});}}return{'updateDataFieldList':_0x147336,'collection':_0x37bb57};}[_0x25f219(0x362)](_0x24f04d){const _0x56d706=_0x25f219;return this[_0x56d706(0x3ee)][_0x56d706(0x45f)]()[_0x56d706(0x225)]+'\x20'+_0x39781c[_0x56d706(0x282)](_0x24f04d);}[_0x25f219(0x30e)](_0x1e4874,_0x31bd74){const _0x216af4=_0x25f219;return _0x1e4874==null||_0x1e4874===''?this[_0x216af4(0x362)](_0x31bd74):String(_0x1e4874);}[_0x25f219(0x193)](_0x69511f){const _0x3e2544=_0x25f219;return this[_0x3e2544(0x3b4)][_0x69511f];}[_0x25f219(0x17a)](_0x1aac03,_0x193bfb,_0x31de8a,_0x4b6b2a){const _0x472188=_0x25f219;this[_0x472188(0x3b4)][_0x1aac03]=_0x193bfb,_0x193bfb['setRange'](_0x31de8a),this[_0x472188(0x3ee)]['broadcastCollectionChange']({'token':_0x1aac03,'type':_0x332fc8['add'],'dataRangeInfo':_0x31de8a,'targetCellInfo':_0x4b6b2a});}[_0x25f219(0x3cf)](_0x16b61,_0x456d1e){const _0x2dc82d=_0x25f219,_0x19b758=this[_0x2dc82d(0x193)](_0x16b61),_0xc209f5=_0x19b758[_0x2dc82d(0x293)]();let _0xc00160=0x0;for(const _0x16d222 of _0xc209f5){const _0x2a2e4a=_0x19b758['getFieldById'](_0x16d222),_0x611d4a=this['getRangeKey'](_0x456d1e,_0xc00160);this[_0x2dc82d(0x42e)](_0x2a2e4a[_0x2dc82d(0x320)],_0x611d4a),_0xc00160++;}}[_0x25f219(0x1be)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x25f219(0x16a)](_0x19918e,_0x4d50d9){const _0x3e6bfa=_0x25f219;if(this[_0x3e6bfa(0x193)](_0x19918e)){const _0x566c8f=this[_0x3e6bfa(0x35a)](_0x4d50d9),_0x1e07c6=[];for(const _0x5583d8 of _0x566c8f)this[_0x3e6bfa(0x3b8)][_0x5583d8]!==void 0x0&&_0x1e07c6['push'](this['rangeKeyMap'][_0x5583d8]);const _0x41cb42=this[_0x3e6bfa(0x22b)](_0x19918e),_0x101bd3=[],_0x80ba83=new Set(_0x1e07c6);for(const _0x110446 of _0x41cb42)_0x80ba83[_0x3e6bfa(0x32a)](_0x110446)||_0x101bd3[_0x3e6bfa(0x1cb)](_0x110446);return _0x101bd3;}}[_0x25f219(0x2e0)](_0x1db187,_0x26e7aa,_0x325826,_0x7979cd,_0x407dfc){const _0x15f99f=_0x25f219;return _0x26e7aa&&_0x26e7aa[_0x15f99f(0x285)](_0x7979cd,_0x407dfc)?_0x26e7aa[_0x15f99f(0x285)](_0x7979cd,_0x407dfc):_0x325826&&_0x325826[_0x15f99f(0x285)](_0x7979cd,_0x407dfc)?_0x325826[_0x15f99f(0x285)](_0x7979cd,_0x407dfc):_0x1db187[_0x15f99f(0x285)](_0x7979cd,_0x407dfc);}[_0x25f219(0x219)](_0x7eae50,_0x561765,_0x2a8137,_0x4f74b5){const _0x450adc=_0x25f219,_0x219da7=this[_0x450adc(0x182)][_0x7eae50];if(!_0x219da7)return;const {subUnitId:_0x3cd783,range:_0x1a41af,unitId:_0x5514b8}=_0x561765,_0x256ad6=this[_0x450adc(0x2c1)][_0x450adc(0x3cd)](_0x5514b8);if(!_0x256ad6){console[_0x450adc(0x3bf)](_0x450adc(0x1fa));return;}const _0x3e3747=_0x256ad6[_0x450adc(0x180)](_0x3cd783),_0x307b91=_0x3e3747[_0x450adc(0x370)](),{arrayFormulaCellDataMatrix:_0x1b6f42,unitDataMatrix:_0x579d1a}=_0x4f74b5||{},{startRow:_0x244e42,startColumn:_0x1bbc57,endRow:_0x51e474}=this[_0x450adc(0x464)](_0x1a41af,_0x3e3747);_0x219da7['reset']();const _0x1cecf4=_0x256ad6['getStyles'](),_0x9962a6={},_0x5ee99e=this[_0x450adc(0x2e0)](_0x307b91,_0x1b6f42,_0x579d1a,_0x244e42,_0x1bbc57+_0x2a8137);let _0x58e5e0=this[_0x450adc(0x411)](_0x5ee99e,_0x1cecf4,_0x9962a6);_0x359d7d['isDateValue'](_0x58e5e0)&&(_0x58e5e0=_0x39781c[_0x450adc(0x179)][_0x450adc(0x308)](_0x58e5e0['f'],Number(_0x58e5e0['v'])));const _0xc6345f=this['uniqueDataFieldName'](_0x58e5e0,_0x1bbc57+_0x2a8137);_0x219da7[_0x450adc(0x273)](_0xc6345f);for(let _0x5804d0=_0x244e42+0x1;_0x5804d0<=_0x51e474;_0x5804d0++){const _0x43feb4=this[_0x450adc(0x2e0)](_0x307b91,_0x1b6f42,_0x579d1a,_0x5804d0,_0x1bbc57+_0x2a8137);_0x219da7['addRecord'](this[_0x450adc(0x411)](_0x43feb4,_0x1cecf4,_0x9962a6),_0x5804d0-0x1-_0x244e42);}}[_0x25f219(0x2a4)](_0x532b2d,_0xda680d,_0x325f7d){const _0x12f3a2=_0x25f219,{subUnitId:_0x5d21c5,range:_0x5cf645,unitId:_0xd431e1}=_0x325f7d,_0x4169c1=this[_0x12f3a2(0x2c1)][_0x12f3a2(0x3cd)](_0xd431e1);if(!_0x4169c1){console[_0x12f3a2(0x3bf)](_0x12f3a2(0x1fa));return;}const _0x3b22ea=_0x4169c1['getSheetBySheetId'](_0x5d21c5),_0x356d60=_0x3b22ea[_0x12f3a2(0x370)](),{startRow:_0xbe80c0,startColumn:_0x663a29,endRow:_0x1b420b}=this[_0x12f3a2(0x464)](_0x5cf645,_0x3b22ea),_0x564c4b=_0x4169c1[_0x12f3a2(0x2fb)](),_0x1fe5e7={};for(const {dataField:_0x815129,index:_0x20f03a}of _0xda680d){_0x815129['reset']();const _0x200be2=this['getMatrixValue'](_0x356d60,void 0x0,void 0x0,_0xbe80c0,_0x663a29+_0x20f03a);let _0x50ee75=this[_0x12f3a2(0x411)](_0x200be2,_0x564c4b,_0x1fe5e7);_0x359d7d[_0x12f3a2(0x3e4)](_0x50ee75)&&(_0x50ee75=_0x39781c[_0x12f3a2(0x179)][_0x12f3a2(0x308)](_0x50ee75['f'],Number(_0x50ee75['v'])));const _0x7dc13f=this['uniqueDataFieldName'](_0x50ee75,_0x663a29+_0x20f03a);_0x815129[_0x12f3a2(0x273)](_0x7dc13f);}_0x532b2d[_0x12f3a2(0x41f)]();for(let _0x113b5d=_0xbe80c0+0x1;_0x113b5d<=_0x1b420b;_0x113b5d++)for(const {index:_0x1b004b,dataField:_0x18183e}of _0xda680d){const _0x3ec180=_0x356d60[_0x12f3a2(0x285)](_0x113b5d,_0x663a29+_0x1b004b);_0x18183e['addRecord'](this[_0x12f3a2(0x411)](_0x3ec180,_0x564c4b,_0x1fe5e7),_0x113b5d-0x1-_0xbe80c0);}_0x532b2d[_0x12f3a2(0x38a)](_0x1b420b-_0xbe80c0);}[_0x25f219(0x35a)](_0x1eb0bb){const _0x14af70=_0x25f219,{range:_0x527cfb}=_0x1eb0bb,{startColumn:_0x21a1d1,endColumn:_0x4654f9}=_0x527cfb,_0x37414b=[];for(let _0x2b060f=_0x21a1d1;_0x2b060f<=_0x4654f9;_0x2b060f++)_0x37414b[_0x14af70(0x1cb)](this[_0x14af70(0x368)](_0x1eb0bb,_0x2b060f));return _0x37414b;}[_0x25f219(0x411)](_0x121f42,_0x1666cf,_0x5d25ce){const _0x1cc4ec=_0x25f219;if(_0x121f42){const {s:_0x33125f,v:_0x2f0992,t:_0x10909f,p:_0xe3f0d1}=_0x121f42;if(_0xe3f0d1)return _0x12a3e1(_0xe3f0d1);const _0xb92b4e=_0x1666cf['get'](_0x33125f);if(_0xb92b4e&&_0x10909f===_0x39781c['CellValueType'][_0x1cc4ec(0x3b6)]&&_0xb92b4e['n']){const {pattern:_0x254498}=_0xb92b4e['n'];_0x5d25ce[_0x254498]||(_0x5d25ce[_0x254498]=_0x39781c['numfmt'][_0x1cc4ec(0x448)](_0x254498));const _0xfca828=_0x5d25ce[_0x254498],_0xb7daa0=_0xfca828[_0x1cc4ec(0x378)];if(_0xfca828[_0x1cc4ec(0x277)])return String(_0x2f0992);if(_0xb7daa0)return{'v':_0x2f0992,'f':_0x254498};}if(_0x10909f===_0x39781c[_0x1cc4ec(0x22d)][_0x1cc4ec(0x3b6)])return Number(_0x2f0992);if(_0x10909f===_0x39781c[_0x1cc4ec(0x22d)][_0x1cc4ec(0x175)]||_0x10909f===_0x39781c[_0x1cc4ec(0x22d)]['FORCE_STRING'])return String(_0x2f0992);if(_0x10909f===void 0x0){const _0x141133=Number(_0x2f0992);if(!Number[_0x1cc4ec(0x37b)](_0x141133)&&String(_0x141133)===_0x2f0992)return _0x141133;}return _0x2f0992!=null?_0x2f0992:null;}else return null;}[_0x25f219(0x372)](_0x1ca16d){const _0x52824a=_0x25f219,{sheetName:_0x2f5198,range:_0x33b51d,unitId:_0x5c2d09}=_0x1ca16d,_0x23e185=this[_0x52824a(0x2c1)]['getUnit'](_0x5c2d09);if(!_0x23e185)return console[_0x52824a(0x3bf)](_0x52824a(0x1fa)),{'header':[],'data':[]};const _0xc31c4=_0x23e185['getSheetBySheetName'](_0x2f5198),_0x365996=_0xc31c4[_0x52824a(0x370)](),{startRow:_0x2dd867,startColumn:_0x3697be,endRow:_0x5074ca,endColumn:_0x4a375a}=this['getRangeStartEndInfo'](_0x33b51d,_0xc31c4),_0x281c7f=_0x23e185[_0x52824a(0x2fb)](),_0x479ffc=[],_0x423fc5=[],_0x1ae17e={};for(let _0x534d42=_0x2dd867;_0x534d42<=_0x5074ca;_0x534d42++){const _0x28a1b9=[];for(let _0x5c20b5=_0x3697be;_0x5c20b5<=_0x4a375a;_0x5c20b5++){const _0x2ff7d1=_0x365996[_0x52824a(0x285)](_0x534d42,_0x5c20b5);_0x534d42===_0x2dd867?_0x479ffc[_0x52824a(0x1cb)](_0x2ff7d1==null?null:String(_0x2ff7d1['v'])):_0x28a1b9[_0x52824a(0x1cb)](this[_0x52824a(0x411)](_0x2ff7d1,_0x281c7f,_0x1ae17e));}_0x423fc5[_0x52824a(0x1cb)](_0x28a1b9);}return{'header':_0x479ffc,'data':_0x423fc5};}[_0x25f219(0x451)](){return super['toJSON']();}[_0x25f219(0x3a8)](_0x13ec22){const _0x2ce52a=_0x25f219;super[_0x2ce52a(0x3a8)](_0x13ec22),this[_0x2ce52a(0x3a7)]();}[_0x25f219(0x2dc)](){const _0x2deebf=_0x25f219;super['dispose'](),this[_0x2deebf(0x3b8)]={},this[_0x2deebf(0x3ee)]=null;}}const _0x2a0ca4=_0x5bcaec=>{const _0x3526fd=_0x25f219,{targetCellInfo:_0xa8f1d2}=_0x5bcaec,{matrixCache:_0x9d5917,rangesCache:_0x5cdefc}=_0x141522({'filter':_0x3526fd(0x1d0),'row':_0x3526fd(0x43d),'column':_0x3526fd(0x337),'values':_0x3526fd(0x3f7)},_0xa8f1d2),_0x21412a=new _0x39781c[(_0x3526fd(0x46d))]();return _0x9d5917[_0x3526fd(0x2bc)]((_0x17e7ee,_0x443cba,_0x4a9331)=>{const _0x9060bc=_0x3526fd;_0x21412a[_0x9060bc(0x233)](_0x17e7ee,_0x443cba,_0x4a9331);}),{'matrix':_0x21412a,'rangesCache':_0x5cdefc};},_0x97bd31=_0x3254f0=>{const _0x5e74e4=_0x25f219;let _0x20344e;if(_0x3254f0!=null&&_0x3254f0['v']||(_0x3254f0==null?void 0x0:_0x3254f0['v'])===0x0){_0x20344e||(_0x20344e={});const _0x1d0829=_0x6f855e(_0x3254f0['v']);typeof _0x1d0829==_0x5e74e4(0x42f)?_0x20344e['t']=_0x39781c['CellValueType']['NUMBER']:typeof _0x1d0829==_0x5e74e4(0x2ec)&&(_0x20344e['t']=_0x39781c[_0x5e74e4(0x22d)]['STRING']),_0x20344e['v']=_0x1d0829;}return _0x20344e;},_0x5f553a=(_0x2bc6db,_0x227d58,_0x1eabd3)=>{const _0x424e06=_0x25f219;var _0x5338c5,_0x4e275e,_0x464858,_0x4ecbd0,_0x2fe7fb,_0x8c37ed,_0x547a16,_0x2b7fc5,_0x2b2713,_0x32b7fe,_0x4d96be,_0x5b96e3;const {cornerView:_0x4a40bb,rowView:_0x450949,colView:_0x51e3f0,dataView:_0x550f78,pageView:_0x175063,formatMap:_0x567523}=_0x2bc6db,{row:_0x407dac,col:_0x49a78f}=_0x227d58,_0x5360b8=new _0x39781c[(_0x424e06(0x46d))]();let _0x1e44e9=_0x407dac,_0x31c705=_0x49a78f;Object['keys'](_0x175063[_0x424e06(0x298)])[_0x424e06(0x262)](_0x37b184=>{const _0x347996=_0x424e06;Object[_0x347996(0x3a0)](_0x175063[_0x347996(0x298)][Number(_0x37b184)])[_0x347996(0x262)](_0xa536cf=>{const _0x56e172=_0x347996,_0x931ce6={..._0x175063['data'][Number(_0x37b184)][Number(_0xa536cf)]};_0x5360b8[_0x56e172(0x233)](Number(_0x37b184)+_0x1e44e9,Number(_0xa536cf)+_0x31c705,_0x97bd31(_0x931ce6));});});const _0x4366a2=Object[_0x424e06(0x3a0)](_0x175063['data'])['length'];_0x1e44e9+=_0x4366a2+(_0x4366a2?_0x1657da:0x0);const _0x59a924=_0x4a40bb[_0x424e06(0x463)](),_0x63d3dc=_0x4a40bb[_0x424e06(0x218)]();for(let _0x285b2d=0x0;_0x285b2d<_0x59a924;_0x285b2d++)for(let _0x36c26d=0x0;_0x36c26d<_0x63d3dc;_0x36c26d++){const _0x3bba69={...(_0x4e275e=(_0x5338c5=_0x4a40bb[_0x424e06(0x298)])==null?void 0x0:_0x5338c5[_0x285b2d])==null?void 0x0:_0x4e275e[_0x36c26d]};_0x3bba69&&(_0x464858=_0x450949['headerMap'][_0x36c26d])!=null&&_0x464858['isValue']&&_0x36c26d===_0x63d3dc-0x1&&_0x285b2d===_0x59a924-0x1&&(_0x3bba69['v']=''+_0x1eabd3[_0x424e06(0x32f)]),_0x5360b8[_0x424e06(0x233)](_0x285b2d+_0x1e44e9,_0x36c26d+_0x31c705,_0x97bd31(_0x3bba69));}_0x31c705+=_0x63d3dc;const _0x1d4821=_0x51e3f0[_0x424e06(0x16b)],_0x423674=_0x51e3f0['getLastRow']()>=0x0?_0x51e3f0[_0x424e06(0x155)]()+0x1:0x0,_0x369f13=_0x51e3f0[_0x424e06(0x335)]()>=0x0?_0x51e3f0[_0x424e06(0x335)]()+0x1:0x0;for(let _0x1793d5=0x0;_0x1793d5<_0x369f13;_0x1793d5++)for(let _0x58694f=0x0;_0x58694f<_0x423674;_0x58694f++){const _0x3a34f9={...(_0x2fe7fb=(_0x4ecbd0=_0x51e3f0['data'])==null?void 0x0:_0x4ecbd0[_0x1793d5])==null?void 0x0:_0x2fe7fb[_0x58694f]},_0x21008=(_0x8c37ed=_0x1d4821[_0x1793d5])==null?void 0x0:_0x8c37ed[_0x424e06(0x46e)],_0xc87c74=_0x567523[_0x21008];_0x3a34f9&&(_0x3a34f9['v']=_0x35457c(_0x3a34f9,_0x1793d5===0x0&&((_0x547a16=_0x51e3f0[_0x424e06(0x317)](_0x58694f+0x1))==null?void 0x0:_0x547a16[_0x424e06(0x255)]),_0xc87c74,_0x1eabd3)),_0x5360b8[_0x424e06(0x233)](_0x1793d5+_0x1e44e9,_0x58694f+_0x31c705,_0x97bd31(_0x3a34f9));}_0x1e44e9+=_0x59a924;const _0x2c4123=_0x450949[_0x424e06(0x16b)],_0x540f92=_0x450949[_0x424e06(0x155)]()>=0x0?_0x450949[_0x424e06(0x155)]()+0x1:0x0,_0x3111ca=_0x450949[_0x424e06(0x335)]()>=0x0?_0x450949['getLastCol']()+0x1:0x0;for(let _0x2508d1=0x0;_0x2508d1<_0x540f92;_0x2508d1++)for(let _0x34657c=0x0;_0x34657c<_0x3111ca;_0x34657c++){const _0x46c25f={...(_0x2b2713=(_0x2b7fc5=_0x450949[_0x424e06(0x298)])==null?void 0x0:_0x2b7fc5[_0x2508d1])==null?void 0x0:_0x2b2713[_0x34657c]},_0x5799b1=(_0x32b7fe=_0x2c4123[_0x34657c])==null?void 0x0:_0x32b7fe[_0x424e06(0x46e)],_0x53828a=_0x567523[_0x5799b1];_0x46c25f&&(_0x46c25f['v']=_0x35457c(_0x46c25f,!0x1,_0x53828a,_0x1eabd3)),_0x5360b8[_0x424e06(0x233)](_0x2508d1+_0x1e44e9,_0x34657c+_0x49a78f,_0x97bd31(_0x46c25f));}const _0x54cc36=_0x550f78[_0x424e06(0x463)](),_0xe3f2e7=_0x550f78[_0x424e06(0x218)]();for(let _0x3fc296=0x0;_0x3fc296<_0x54cc36;_0x3fc296++)for(let _0x1080d2=0x0;_0x1080d2<_0xe3f2e7;_0x1080d2++){const _0x56ad0d={...(_0x5b96e3=(_0x4d96be=_0x550f78[_0x424e06(0x298)])==null?void 0x0:_0x4d96be[_0x3fc296])==null?void 0x0:_0x5b96e3[_0x1080d2]};_0x5360b8[_0x424e06(0x233)](_0x3fc296+_0x1e44e9,_0x1080d2+_0x31c705,_0x97bd31(_0x56ad0d));}return _0x5360b8;},_0xd40b9b=_0x18f4d1=>{const _0x3cd97b=_0x25f219,{view:_0x2e829,targetCellInfo:_0x5a599e,isEmpty:_0x5b8786,textInfo:_0x11effb}=_0x18f4d1;if(_0x5b8786)return _0x2a0ca4(_0x18f4d1);const {pageView:_0x561e6c,cornerView:_0x55a5a5,rowView:_0x1537b1,colView:_0x39d021,dataView:_0x307583}=_0x2e829,_0x5e1539=_0x1b905b(_0x5a599e,_0x561e6c,!0x0),_0x3d26e1=_0x561e6c[_0x3cd97b(0x1ee)]>=0x0?_0x561e6c[_0x3cd97b(0x1ee)]+0x1:0x0,_0x3ee28e=_0x55a5a5['getRowCount'](),_0x13038d=_0x55a5a5[_0x3cd97b(0x218)](),_0x243d49=_0x5e1539[_0x3cd97b(0x37d)]>0x0?_0x1657da:0x0,_0x392645=_0x1b905b({'row':_0x5a599e[_0x3cd97b(0x1a8)]+_0x3d26e1+_0x243d49,'col':_0x5a599e[_0x3cd97b(0x331)]},_0x55a5a5,!0x1,!0x1),_0x1a4fde=_0x1b905b({'row':_0x5a599e[_0x3cd97b(0x1a8)]+_0x3d26e1+_0x243d49+_0x3ee28e,'col':_0x5a599e[_0x3cd97b(0x331)]},_0x1537b1,!0x1,!0x0),_0x26ed21=_0x1b905b({'row':_0x5a599e['row']+_0x3d26e1+_0x243d49,'col':_0x5a599e[_0x3cd97b(0x331)]+_0x13038d},_0x39d021,!0x1,!0x0),_0x6a1a8e=_0x1b905b({'row':_0x5a599e['row']+_0x3d26e1+_0x243d49+_0x3ee28e,'col':_0x5a599e[_0x3cd97b(0x331)]+_0x13038d},_0x307583,!0x1,!0x1),_0x4e0548={'rowRanges':_0x1a4fde,'colRanges':_0x26ed21,'cornerRanges':_0x392645,'dataRanges':_0x6a1a8e,'pageRanges':_0x5e1539};return{'matrix':_0x5f553a(_0x2e829,_0x5a599e,_0x11effb),'rangesCache':_0x4e0548};};var _0x3fefe7=Object['getOwnPropertyDescriptor'],_0x1e967b=(_0xe60d5,_0x42e16a,_0x5e64cc,_0x3a6663)=>{for(var _0x5453d5=_0x3a6663>0x1?void 0x0:_0x3a6663?_0x3fefe7(_0x42e16a,_0x5e64cc):_0x42e16a,_0x48a165=_0xe60d5['length']-0x1,_0x2b0e0d;_0x48a165>=0x0;_0x48a165--)(_0x2b0e0d=_0xe60d5[_0x48a165])&&(_0x5453d5=_0x2b0e0d(_0x5453d5)||_0x5453d5);return _0x5453d5;},_0x1d89b5=(_0x394859,_0x1007dd)=>(_0x13dc6c,_0x46faff)=>_0x1007dd(_0x13dc6c,_0x46faff,_0x394859);_0x414f7d[_0x25f219(0x2f3)]=class extends _0x39781c['Disposable']{constructor(_0x32c462,_0x410c16,_0xc98bb2,_0x5b9ce9,_0x2d1f02){const _0x4e9459=_0x25f219;super(),_0x4d19a3(this,_0x4e9459(0x21b),new Map()),_0x4d19a3(this,_0x4e9459(0x414),new Map()),_0x4d19a3(this,'_viewData',new Map()),_0x4d19a3(this,_0x4e9459(0x1cd)),_0x4d19a3(this,'_collectionChange$',new _0x201b78[(_0x4e9459(0x333))]()),_0x4d19a3(this,_0x4e9459(0x25e),this['_collectionChange$']['asObservable']()),_0x4d19a3(this,_0x4e9459(0x20b),new _0x201b78[(_0x4e9459(0x333))]()),_0x4d19a3(this,'viewData$',this['_viewData$']['asObservable']()),_0x4d19a3(this,_0x4e9459(0x2ce),new _0x201b78[(_0x4e9459(0x333))]()),_0x4d19a3(this,'fieldsCollectionChange$',this[_0x4e9459(0x2ce)][_0x4e9459(0x3be)]()),_0x4d19a3(this,_0x4e9459(0x449),new Map()),_0x4d19a3(this,_0x4e9459(0x309),[]),_0x4d19a3(this,_0x4e9459(0x3f4),new Map()),(this[_0x4e9459(0x40a)]=_0x32c462,this[_0x4e9459(0x2c1)]=_0x410c16,this['_lifecycleService']=_0xc98bb2,this[_0x4e9459(0x3d2)]=_0x5b9ce9,this[_0x4e9459(0x1ea)]=_0x2d1f02,this[_0x4e9459(0x17c)]());}[_0x25f219(0x45f)](){const _0x48eaf3=_0x25f219;return this[_0x48eaf3(0x1cd)]?this[_0x48eaf3(0x1cd)]:_0x284128;}[_0x25f219(0x1b5)](_0x48fd03){const _0x52292f=_0x25f219;this[_0x52292f(0x1cd)]=_0x48fd03;}['handleMoveRange'](_0x11f40d){const _0x1d1a58=_0x25f219;var _0x2ca60d;const {from:_0x267d5e,to:_0x248e60,unitId:_0x13d23e,fromRange:_0xc50de4,toRange:_0x123d11}=_0x11f40d;if(_0x267d5e&&_0x248e60){const _0x44bb55=this[_0x1d1a58(0x2af)](_0x13d23e),_0x88c212=this[_0x1d1a58(0x21b)][_0x1d1a58(0x46f)](_0x13d23e),_0x4eaadd=(_0x2ca60d=this[_0x1d1a58(0x2c1)]['getUnit'](_0x13d23e))==null?void 0x0:_0x2ca60d['getSheetBySheetId'](_0x248e60[_0x1d1a58(0x1e1)]);if(!_0x88c212||!_0x4eaadd)return;const _0x34cdfa=_0x4eaadd==null?void 0x0:_0x4eaadd[_0x1d1a58(0x39f)]();for(const [_0x24ad75,_0x1ec3ce]of _0x88c212[_0x1d1a58(0x2ef)]())for(const [_0x2618c9,_0x6e0c16]of _0x1ec3ce[_0x1d1a58(0x2ef)]()){const {sourceRangeInfo:_0x1bbcb1}=_0x6e0c16;if(_0x1bbcb1[_0x1d1a58(0x3fe)]===_0x13d23e&&_0x1bbcb1[_0x1d1a58(0x1e1)]===_0x267d5e[_0x1d1a58(0x1e1)]&&_0x39781c['Rectangle'][_0x1d1a58(0x34e)](_0xc50de4,_0x1bbcb1[_0x1d1a58(0x2a1)])){const _0x43788d={'row':_0x1bbcb1[_0x1d1a58(0x2a1)]['startRow']-_0xc50de4['startRow'],'col':_0x1bbcb1[_0x1d1a58(0x2a1)]['startColumn']-_0xc50de4['startColumn']},_0x1af2b1={'unitId':_0x13d23e,'subUnitId':_0x248e60[_0x1d1a58(0x1e1)],'sheetName':_0x34cdfa,'range':{'startRow':_0x123d11['startRow']+_0x43788d['row'],'endRow':_0x123d11[_0x1d1a58(0x383)]+_0x43788d['row']+_0x1bbcb1[_0x1d1a58(0x2a1)]['endRow']-_0x1bbcb1[_0x1d1a58(0x2a1)][_0x1d1a58(0x383)],'startColumn':_0x123d11[_0x1d1a58(0x148)]+_0x43788d[_0x1d1a58(0x331)],'endColumn':_0x123d11[_0x1d1a58(0x148)]+_0x43788d[_0x1d1a58(0x331)]+_0x1bbcb1[_0x1d1a58(0x2a1)][_0x1d1a58(0x3e7)]-_0x1bbcb1['range'][_0x1d1a58(0x148)]}};_0x44bb55[_0x1d1a58(0x3cf)](_0x2618c9,_0x1af2b1);const _0x5d7eae={..._0x6e0c16,'sourceRangeInfo':_0x1af2b1};this[_0x1d1a58(0x462)](_0x13d23e,_0x248e60['subUnitId'],_0x2618c9,_0x5d7eae),this[_0x1d1a58(0x3ab)]({'unitId':_0x13d23e,'token':_0x2618c9,'type':_0x332fc8['update'],'oldSourceRangeInfo':_0x1bbcb1,'dataRangeInfo':_0x1af2b1,'targetCellInfo':_0x6e0c16['targetCellInfo']}),this[_0x1d1a58(0x32d)]({'unitId':_0x13d23e,'subUnitId':_0x248e60[_0x1d1a58(0x1e1)],'oldSubUnitId':_0x24ad75,'pivotTableId':_0x2618c9,'pivotTableConfig':_0x5d7eae,'collectionConfig':_0x44bb55['toJSON']()});}}}}['broadcastCollectionChange'](_0x1a323a){const _0x686344=_0x25f219;this[_0x686344(0x244)][_0x686344(0x2e4)](_0x1a323a);}[_0x25f219(0x2af)](_0x22ed25){const _0x6936d=_0x25f219;let _0x2e9dc7=this['_dataFieldManagerCollection'][_0x6936d(0x46f)](_0x22ed25);return _0x2e9dc7||(_0x2e9dc7=new _0x32f010(this,this['_univerInstanceService']),this[_0x6936d(0x449)][_0x6936d(0x321)](_0x22ed25,_0x2e9dc7)),_0x2e9dc7;}[_0x25f219(0x193)](_0x1d547f,_0x20c1b4){const _0x3914fa=_0x25f219;return this[_0x3914fa(0x2af)](_0x1d547f)[_0x3914fa(0x3b4)][_0x20c1b4];}[_0x25f219(0x16a)](_0x501a46,_0x2a8844,_0x974e57){const _0x271762=_0x25f219;return this[_0x271762(0x2af)](_0x501a46)['getUpdateRangeDeleteIds'](_0x2a8844,_0x974e57);}[_0x25f219(0x15b)](_0x4f0892,_0x162383){const _0x29c9d7=_0x25f219;let _0x29b128=this[_0x29c9d7(0x21b)][_0x29c9d7(0x46f)](_0x4f0892);_0x29b128||(_0x29b128=new Map(),this[_0x29c9d7(0x21b)][_0x29c9d7(0x321)](_0x4f0892,_0x29b128));let _0x4f230b=_0x29b128[_0x29c9d7(0x46f)](_0x162383);return _0x4f230b||(_0x4f230b=new Map(),_0x29b128[_0x29c9d7(0x321)](_0x162383,_0x4f230b)),_0x4f230b;}['_updateModelCache'](_0x2421f5,_0x216fa2,_0x1f3a2f,_0x3014b9){const _0x98a301=_0x25f219;this[_0x98a301(0x15b)](_0x2421f5,_0x216fa2)[_0x98a301(0x321)](_0x1f3a2f,_0x3014b9);}[_0x25f219(0x1af)](_0x6c5f43,_0x456e74,_0x229523){const _0x2026d1=_0x25f219;var _0x3a5ba4,_0x522ed2,_0x32ee84,_0x1e6405;(_0x522ed2=(_0x3a5ba4=this[_0x2026d1(0x21b)][_0x2026d1(0x46f)](_0x6c5f43))==null?void 0x0:_0x3a5ba4[_0x2026d1(0x46f)](_0x456e74))!=null&&_0x522ed2['get'](_0x229523)&&((_0x1e6405=(_0x32ee84=this[_0x2026d1(0x21b)][_0x2026d1(0x46f)](_0x6c5f43))==null?void 0x0:_0x32ee84['get'](_0x456e74))==null||_0x1e6405[_0x2026d1(0x1ca)](_0x229523));}[_0x25f219(0x21a)](_0x15894a,_0x4ff202){const _0x2e51f4=_0x25f219;this[_0x2e51f4(0x414)][_0x2e51f4(0x321)](_0x15894a,_0x4ff202);}[_0x25f219(0x2ae)](_0x40ff3){const _0x328fbc=_0x25f219;this[_0x328fbc(0x414)][_0x328fbc(0x1ca)](_0x40ff3);}[_0x25f219(0x2d0)](_0x25a239,_0x2f97d7){const _0x3579a3=_0x25f219;let _0x177d13=this['_viewData'][_0x3579a3(0x46f)](_0x25a239);_0x177d13||(_0x177d13=new Map(),this[_0x3579a3(0x1b7)][_0x3579a3(0x321)](_0x25a239,_0x177d13));let _0x29c5a3=_0x177d13[_0x3579a3(0x46f)](_0x2f97d7);return _0x29c5a3||(_0x29c5a3=new Map(),_0x177d13[_0x3579a3(0x321)](_0x2f97d7,_0x29c5a3)),_0x29c5a3;}[_0x25f219(0x32d)](_0x33040e){const _0x228691=_0x25f219,{unitId:_0x490fc2,subUnitId:_0x208447,pivotTableId:_0x2d2cbb,pivotTableConfig:_0x45b2e2,collectionConfig:_0x1ba437}=_0x33040e,_0x5d1ffe={'unitId':_0x490fc2,'subUnitId':_0x208447,'oldSubUnitId':_0x208447,'pivotTableId':_0x2d2cbb,'pivotTableConfig':_0x45b2e2,'collectionConfig':_0x1ba437};this[_0x228691(0x3d2)][_0x228691(0x2eb)](_0x119513['id'],_0x5d1ffe,{'onlyLocal':!0x0});}['updateView'](_0x438235,_0x5bdde9,_0x3a1f6d,_0x189808,_0x41b5cd,_0x3028d6,_0x1aee7d,_0x19ba93=!0x1){const _0x5b16cc=_0x25f219;var _0x5995eb;this[_0x5b16cc(0x3d2)][_0x5b16cc(0x2eb)](_0x39d292['id'],{'single':{'unitId':_0x438235,'subUnitId':_0x5bdde9,'type':_0x3a1f6d,'pivotTableId':_0x189808,'view':_0x41b5cd,'pivotConfig':_0x3028d6},'collectionConfig':{[_0x438235]:_0x1aee7d}},{'onlyLocal':!0x0});const _0x2a323d=!!((_0x5995eb=this[_0x5b16cc(0x20e)](_0x189808))!=null&&_0x5995eb['isEmpty']()),_0x5b750=this[_0x5b16cc(0x18f)](_0x438235,_0x5bdde9,_0x189808);_0x5b750&&this[_0x5b16cc(0x33c)]({'view':_0x41b5cd,'pivotTableId':_0x189808,'textInfo':this[_0x5b16cc(0x45f)](),'isEmpty':_0x2a323d,'targetCellInfo':_0x5b750[_0x5b16cc(0x1df)]},_0x19ba93);}[_0x25f219(0x33c)](_0x3bfb67,_0x2f2650){const _0x511e95=_0x25f219,{targetCellInfo:_0xba72f7,pivotTableId:_0x490421}=_0x3bfb67,{unitId:_0x23c039,subUnitId:_0xad4988}=_0xba72f7,_0x2cf5fa=this[_0x511e95(0x2d0)](_0x23c039,_0xad4988),_0xbc77c=_0x2cf5fa[_0x511e95(0x46f)](_0x490421);let _0x42b76e,_0xcf0579;_0xbc77c&&(_0x42b76e=_0xbc77c[_0x511e95(0x2d1)],_0xcf0579=_0xbc77c[_0x511e95(0x1ab)]);const {rangesCache:_0x43b8a8,matrix:_0x333f11}=_0xd40b9b(_0x3bfb67);_0x2cf5fa[_0x511e95(0x321)](_0x490421,{'rangeCache':_0x43b8a8,'matrix':_0x333f11,'oldMatrix':_0xcf0579,'oldRangeCache':_0x42b76e}),_0x2f2650||this['_viewData$'][_0x511e95(0x2e4)]({'unitId':_0x23c039,'subUnitId':_0xad4988,'pivotTableId':_0x490421});}['addPivotTable'](_0x3f8f2c,_0x2a1687,_0x4a25e8,_0x454487,_0x21a745){const _0x158966=_0x25f219;this[_0x158966(0x462)](_0x3f8f2c,_0x2a1687,_0x4a25e8,_0x21a745),this[_0x158966(0x21a)](_0x4a25e8,_0x454487);}['removePivotTable'](_0x3514c3,_0x5b1aef,_0x467976){const _0x2eedbf=_0x25f219,_0x3cbb34=this[_0x2eedbf(0x2af)](_0x3514c3);_0x3cbb34[_0x2eedbf(0x22b)](_0x467976)[_0x2eedbf(0x262)](_0x4981cc=>{_0x3cbb34['deleteDataField'](_0x4981cc);}),this[_0x2eedbf(0x1c9)](_0x3514c3,_0x467976),this[_0x2eedbf(0x1af)](_0x3514c3,_0x5b1aef,_0x467976),this[_0x2eedbf(0x2ae)](_0x467976);}[_0x25f219(0x21d)](_0x52fa5e,_0xd051ac,_0x4a5786,_0x8ed3e3){const _0x148725=_0x25f219;this[_0x148725(0x462)](_0x52fa5e,_0xd051ac,_0x4a5786,_0x8ed3e3);}[_0x25f219(0x18f)](_0x3c77d2,_0x6f861d,_0x46e079){const _0xe29445=_0x25f219;var _0x1154c2,_0x4d2ce7;const _0x5e2dbe=(_0x4d2ce7=(_0x1154c2=this['_model'][_0xe29445(0x46f)](_0x3c77d2))==null?void 0x0:_0x1154c2[_0xe29445(0x46f)](_0x6f861d))==null?void 0x0:_0x4d2ce7[_0xe29445(0x46f)](_0x46e079);if(_0x5e2dbe)return _0x5e2dbe;}['getPivotTableModelConfig'](_0x13d3f6,_0x5b689b,_0x25af49){const _0x2b2f56=_0x25f219;var _0x20e616,_0x138a53;const _0x5db260=(_0x138a53=(_0x20e616=this[_0x2b2f56(0x21b)][_0x2b2f56(0x46f)](_0x13d3f6))==null?void 0x0:_0x20e616[_0x2b2f56(0x46f)](_0x5b689b))==null?void 0x0:_0x138a53[_0x2b2f56(0x46f)](_0x25af49);if(_0x5db260)return _0x5db260['fieldsConfig'];}[_0x25f219(0x20e)](_0x20a45e){const _0x284e09=_0x25f219;return this['_pivotTableInstanceCache'][_0x284e09(0x46f)](_0x20a45e);}[_0x25f219(0x159)](_0x5bf2a4){const _0x3f26c1=_0x25f219;this[_0x3f26c1(0x21b)][_0x3f26c1(0x1ca)](_0x5bf2a4);const _0x2693b1=this[_0x3f26c1(0x449)][_0x3f26c1(0x46f)](_0x5bf2a4);_0x2693b1&&(_0x2693b1[_0x3f26c1(0x2dc)](),this[_0x3f26c1(0x449)]['delete'](_0x5bf2a4)),this[_0x3f26c1(0x1b7)][_0x3f26c1(0x1ca)](_0x5bf2a4),this[_0x3f26c1(0x309)][_0x3f26c1(0x262)](_0x5b4db7=>{const _0x43f11b=_0x3f26c1;_0x5b4db7[_0x43f11b(0x159)](_0x5bf2a4);});}['addCollectionByJSON'](_0x556b07,_0x37eaf9,_0x21af2e,_0x3ecfba){const _0x4f9f44=_0x25f219;return this[_0x4f9f44(0x2af)](_0x21af2e['unitId'])[_0x4f9f44(0x468)](_0x556b07,_0x37eaf9,_0x21af2e,_0x3ecfba);}[_0x25f219(0x2b8)](_0x28b1dc){const _0x2e3fa1=_0x25f219;return this[_0x2e3fa1(0x2af)](_0x28b1dc[_0x2e3fa1(0x3fe)])[_0x2e3fa1(0x2b8)](_0x28b1dc);}['refreshData'](_0xce4f1e,_0x2cca2a,_0x235bdc){const _0x1cc709=_0x25f219;this[_0x1cc709(0x2af)](_0x235bdc[_0x1cc709(0x3fe)])[_0x1cc709(0x2a4)](_0xce4f1e,_0x2cca2a,_0x235bdc);}[_0x25f219(0x1a0)](_0x3e040b,_0x33c780){const _0x2d6104=_0x25f219;this[_0x2d6104(0x2af)](_0x3e040b)[_0x2d6104(0x28c)](_0x33c780);}[_0x25f219(0x1c9)](_0x44ea6b,_0x1d64ed){const _0x486b8f=_0x25f219;this[_0x486b8f(0x2af)](_0x44ea6b)[_0x486b8f(0x41b)](_0x1d64ed);}[_0x25f219(0x1eb)](_0x1a3671,_0x360db2){const _0x3f2480=_0x25f219;var _0xdac6ce;return(_0xdac6ce=this[_0x3f2480(0x21b)][_0x3f2480(0x46f)](_0x1a3671))==null?void 0x0:_0xdac6ce[_0x3f2480(0x46f)](_0x360db2);}[_0x25f219(0x473)](_0x3dc2cf){const _0x5529c7=_0x25f219;for(const [_0x2d70a0,_0x2edb3d]of this[_0x5529c7(0x21b)][_0x5529c7(0x2ef)]())for(const [_0x1e87ae,_0x2b22b2]of _0x2edb3d[_0x5529c7(0x2ef)]())if(_0x2b22b2[_0x5529c7(0x32a)](_0x3dc2cf))return{'unitId':_0x2d70a0,'subUnitId':_0x1e87ae};return null;}[_0x25f219(0x436)](_0x9513bf,_0x2bd15c,_0x5aca48,_0x459f5e){const _0x377561=_0x25f219,_0x4fb2b8=this[_0x377561(0x2d0)](_0x9513bf,_0x2bd15c);_0x459f5e?_0x4fb2b8['set'](_0x5aca48,_0x459f5e):_0x4fb2b8[_0x377561(0x1ca)](_0x5aca48),this['_viewData$'][_0x377561(0x2e4)]({'unitId':_0x9513bf,'subUnitId':_0x2bd15c,'pivotTableId':_0x5aca48});}['dispose'](){const _0x33bc54=_0x25f219;super[_0x33bc54(0x2dc)](),this[_0x33bc54(0x21b)][_0x33bc54(0x3cc)](),this[_0x33bc54(0x414)][_0x33bc54(0x3cc)](),this[_0x33bc54(0x1b7)]['clear'](),this[_0x33bc54(0x244)][_0x33bc54(0x409)](),this[_0x33bc54(0x20b)][_0x33bc54(0x409)](),this['_fieldsCollectionChange$'][_0x33bc54(0x409)](),this['_dataFieldManagerCollection'][_0x33bc54(0x262)](_0x487eb6=>_0x487eb6[_0x33bc54(0x2dc)]()),this[_0x33bc54(0x449)][_0x33bc54(0x3cc)]();}[_0x25f219(0x224)](_0x1e0c56,_0x59aa8d,_0x1b3b61){const _0x314514=_0x25f219;var _0xd7263,_0x50a5e1;const _0x2d1afa=(_0x50a5e1=(_0xd7263=this[_0x314514(0x1b7)][_0x314514(0x46f)](_0x1e0c56))==null?void 0x0:_0xd7263[_0x314514(0x46f)](_0x59aa8d))==null?void 0x0:_0x50a5e1[_0x314514(0x46f)](_0x1b3b61);return _0x2d1afa||null;}['addDirtyPivotTable'](_0x3c4d26){this['updateDirtyPivotTable'](_0x3c4d26);}[_0x25f219(0x3b7)](_0xd6aea1){const _0x200a63=_0x25f219,{token:_0x13d6d1,unitId:_0x515a4b,subUnitId:_0x2f5804}=_0xd6aea1,_0x2ee4c0=_0x515a4b+'-'+_0x2f5804+'-'+_0x13d6d1;this[_0x200a63(0x3f4)][_0x200a63(0x46f)](_0x2ee4c0)&&clearTimeout(this['_queryingMap'][_0x200a63(0x46f)](_0x2ee4c0));const _0x389623=setTimeout(()=>{const _0x3d83c4=_0x200a63;this[_0x3d83c4(0x178)](_0xd6aea1),this['_queryingMap'][_0x3d83c4(0x1ca)](_0x2ee4c0);},_0x440897);this[_0x200a63(0x3f4)][_0x200a63(0x321)](_0x2ee4c0,_0x389623);}['queryDirtyPivotTable'](_0x57f8d2){const _0x134042=_0x25f219,{unitId:_0xb3125,subUnitId:_0xc39f7d,token:_0x452010,type:_0x595720,pivotConfig:_0x509f08}=_0x57f8d2,_0x273087=this[_0x134042(0x20e)](_0x452010),_0x58ecc4=_0x273087==null?void 0x0:_0x273087[_0x134042(0x1ac)](),_0x5aa502=_0x509f08!=null?_0x509f08:this[_0x134042(0x18f)](_0xb3125,_0xc39f7d,_0x452010);_0x5aa502&&(_0x5aa502[_0x134042(0x3a9)]=!!(_0x273087!=null&&_0x273087[_0x134042(0x3a9)]())),(_0x58ecc4||_0x595720===_0x3f20dc[_0x134042(0x18e)])&&this[_0x134042(0x1e7)](_0xb3125,_0xc39f7d,_0x595720,_0x452010,_0x58ecc4,_0x5aa502,this['getDataFieldManager'](_0xb3125)[_0x134042(0x451)]());}[_0x25f219(0x451)](_0x526b23){const _0x45fd9d=_0x25f219,_0x393fc4={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x45fd9d(0x2af)](_0x526b23)&&(_0x393fc4[_0x45fd9d(0x177)][_0x526b23]=this[_0x45fd9d(0x2af)](_0x526b23)[_0x45fd9d(0x451)]()),this[_0x45fd9d(0x21b)][_0x45fd9d(0x46f)](_0x526b23)){_0x393fc4[_0x45fd9d(0x296)][_0x526b23]={};const _0x4b7d81=this[_0x45fd9d(0x21b)][_0x45fd9d(0x46f)](_0x526b23);_0x4b7d81!=null&&_0x4b7d81[_0x45fd9d(0x27f)]&&[..._0x4b7d81[_0x45fd9d(0x3a0)]()][_0x45fd9d(0x262)](_0x12ca9a=>{const _0x5d2ef4=_0x45fd9d,_0x17e6d5=_0x4b7d81[_0x5d2ef4(0x46f)](_0x12ca9a);_0x17e6d5!=null&&_0x17e6d5['size']&&(_0x393fc4[_0x5d2ef4(0x296)][_0x526b23][_0x12ca9a]={},[..._0x17e6d5[_0x5d2ef4(0x3a0)]()][_0x5d2ef4(0x262)](_0x19ca1c=>{const _0x24f06d=_0x5d2ef4,_0x5ec386=_0x17e6d5[_0x24f06d(0x46f)](_0x19ca1c);_0x5ec386&&(_0x393fc4[_0x24f06d(0x296)][_0x526b23][_0x12ca9a][_0x19ca1c]=_0x5ec386);}));});}return _0x393fc4;}[_0x25f219(0x3a8)](_0x17fe71){const _0x4bfbf1=_0x25f219;var _0x581166;const {dataFieldManagerConfig:_0x3861ad,pivotTableConfigs:_0x318846}=_0x17fe71;_0x3861ad&&Object[_0x4bfbf1(0x3a0)](_0x3861ad)[_0x4bfbf1(0x262)](_0x1d560c=>{const _0x2f6b41=_0x4bfbf1;this['getDataFieldManager'](_0x1d560c)[_0x2f6b41(0x3a8)](_0x3861ad[_0x1d560c]);});const _0x5c84a7=[];if(_0x318846){const _0x290058=(_0x581166=this[_0x4bfbf1(0x40a)][_0x4bfbf1(0x46f)](_0x39781c[_0x4bfbf1(0x28b)])[_0x4bfbf1(0x310)](_0x462881[_0x4bfbf1(0x38e)]))!=null?_0x581166:{},{ls:_0x5cc181,pbk:_0x16ec0c}=_0x290058,_0x2d4532=_0x2a99f9(_0x102787,_0x5cc181,_0x16ec0c)[_0x4bfbf1(0x2d5)];Object[_0x4bfbf1(0x3a0)](_0x318846)['forEach'](_0x4bcd05=>{const _0x5ebfd4=_0x4bfbf1;let _0x6a5442=0x0;const _0xcbc1e0=_0x318846[_0x4bcd05];Object[_0x5ebfd4(0x3a0)](_0xcbc1e0)[_0x5ebfd4(0x262)](_0x1f13c8=>{const _0x2f2360=_0x5ebfd4,_0x1f1622=_0xcbc1e0[_0x1f13c8];Object[_0x2f2360(0x3a0)](_0x1f1622)['forEach'](_0x525842=>{const _0x49497e=_0x2f2360,_0x3e50de=_0x1f1622[_0x525842];if(_0x3e50de){if(_0x6a5442>=_0x2d4532)return;_0x6a5442++;const _0x163b32=this[_0x49497e(0x2af)](_0x4bcd05),_0x12bc99=_0x163b32[_0x49497e(0x3b4)][_0x525842],_0x480f54=_0x12bc99[_0x49497e(0x293)]();let _0x5d0a54=0x0;const _0x5a9f6b=[];for(const _0x2902dc of _0x480f54){const _0x456b2b=_0x12bc99[_0x49497e(0x25c)](_0x2902dc);if(_0x359d7d['isBaseGroupField'](_0x456b2b)){const _0x42f583=_0x456b2b[_0x49497e(0x252)](),_0x22ce53=_0x12bc99[_0x49497e(0x25c)](_0x42f583);_0x22ce53&&_0x5a9f6b['push']([_0x456b2b,_0x22ce53]);continue;}_0x163b32[_0x49497e(0x219)](_0x2902dc,_0x3e50de['sourceRangeInfo'],_0x5d0a54),_0x5d0a54++;}_0x5a9f6b[_0x49497e(0x262)](([_0x4a98fa,_0x5d7ed3])=>{_0x4a98fa['refreshGroupField'](_0x5d7ed3);});const _0x251e7e=new _0x359d7d[(_0x49497e(0x3de))](_0x12bc99);_0x251e7e[_0x49497e(0x3a8)](_0x3e50de[_0x49497e(0x3dc)]),this[_0x49497e(0x223)](_0x4bcd05,_0x1f13c8,_0x525842,_0x251e7e,_0x3e50de);const _0x4b337b=_0x251e7e[_0x49497e(0x1ac)]();_0x5c84a7[_0x49497e(0x1cb)]({'unitId':_0x4bcd05,'subUnitId':_0x1f13c8,'pivotTableId':_0x525842,'view':_0x4b337b[_0x49497e(0x451)](),'pivotConfig':_0x3e50de,'type':_0x3f20dc[_0x49497e(0x283)]});const _0x441671=!!_0x251e7e[_0x49497e(0x3a9)](),_0x1529b5={'view':_0x4b337b,'pivotTableId':_0x525842,'textInfo':this[_0x49497e(0x45f)](),'isEmpty':_0x441671,'targetCellInfo':_0x3e50de[_0x49497e(0x1df)]};this[_0x49497e(0x33c)](_0x1529b5,!0x1);}});});});}_0x3861ad&&Object[_0x4bfbf1(0x3a0)](_0x3861ad)[_0x4bfbf1(0x262)](_0x5bd01f=>{const _0x380a44=_0x4bfbf1,_0x3f81a1=this['getDataFieldManager'](_0x5bd01f);this[_0x380a44(0x2ce)][_0x380a44(0x2e4)](_0x3f81a1[_0x380a44(0x3b4)]);}),this['_commandService'][_0x4bfbf1(0x2eb)](_0x39d292['id'],{'batch':_0x5c84a7,'collectionConfig':_0x3861ad},{'onlyLocal':!0x0});}[_0x25f219(0x17c)](){const _0x5daa00=_0x25f219;this[_0x5daa00(0x406)](this['_resourceManagerService'][_0x5daa00(0x32e)]({'toJson':_0x4de3de=>JSON[_0x5daa00(0x3d0)](this[_0x5daa00(0x451)](_0x4de3de)),'parseJson':_0x845c9c=>{const _0x1012f3=_0x5daa00;if(!_0x845c9c)return{};try{return JSON[_0x1012f3(0x30b)](_0x845c9c);}catch{return{};}},'businesses':[_0x39781c[_0x5daa00(0x429)][_0x5daa00(0x33a)]],'pluginName':_0x444275,'onLoad':(_0x4bec75,_0x57993f)=>{const _0x59a6c5=_0x5daa00;this[_0x59a6c5(0x3a8)](_0x57993f);},'onUnLoad':_0x44c958=>{this['deleteUnitId'](_0x44c958);}}));}},_0x414f7d['SheetsPivotDataSourceModel']=_0x1e967b([_0x1d89b5(0x0,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x329)])),_0x1d89b5(0x1,_0x39781c[_0x25f219(0x364)]),_0x1d89b5(0x2,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x413)])),_0x1d89b5(0x3,_0x39781c[_0x25f219(0x454)]),_0x1d89b5(0x4,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x1bb)]))],_0x414f7d[_0x25f219(0x2f3)]);const _0x30fb73={0x0:{0x0:{'v':_0x25f219(0x299),'s':_0x53541c}},0x2:{0x1:{'v':'','s':_0x53541c},0x2:{'v':'','s':_0x53541c},0x3:{'v':_0x25f219(0x360),'s':_0x53541c},0x4:{'v':'','s':_0x53541c},0x5:{'v':'','s':_0x53541c}},0x3:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0x4:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0x5:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0x6:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0x7:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0x8:{0x0:{'v':_0x25f219(0x1a8),'s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':_0x25f219(0x274),'s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0x9:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0xa:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0xb:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0xc:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}},0xd:{0x0:{'v':'','s':_0x53541c},0x1:{'v':'','s':_0x47ab69},0x2:{'v':'','s':_0x47ab69},0x3:{'v':'','s':_0x47ab69},0x4:{'v':'','s':_0x47ab69},0x5:{'v':'','s':_0x47ab69}}},_0x482925={'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':[]},_0x141522=(_0x181028,_0x3a534c)=>{const _0x1a1dab=_0x25f219,_0x343b47=new _0x39781c[(_0x1a1dab(0x46d))](),_0x2d9684=new _0x39781c[(_0x1a1dab(0x46d))](_0x30fb73),{row:_0x3cf526,col:_0xec90a6}=_0x3a534c;_0x2d9684[_0x1a1dab(0x2bc)]((_0x364329,_0x58b875,_0x594d60)=>{const _0x34d4d1=_0x1a1dab;let _0x32abb1='';_0x594d60['v']===_0x34d4d1(0x299)?_0x32abb1=_0x181028[_0x34d4d1(0x299)]:_0x594d60['v']===_0x34d4d1(0x1a8)?_0x32abb1=_0x181028[_0x34d4d1(0x1a8)]:_0x594d60['v']==='column'?_0x32abb1=_0x181028[_0x34d4d1(0x360)]:_0x594d60['v']===_0x34d4d1(0x274)&&(_0x32abb1=_0x181028[_0x34d4d1(0x274)]),_0x343b47[_0x34d4d1(0x233)](_0x364329+_0x3cf526,_0x58b875+_0xec90a6,{..._0x594d60,'v':_0x32abb1});});const _0x291da3=_0x39781c[_0x1a1dab(0x206)][_0x1a1dab(0x25d)](_0x482925);return Object['keys'](_0x482925)[_0x1a1dab(0x262)](_0x2d8ac7=>{const _0x3d1953=_0x1a1dab;_0x291da3[_0x2d8ac7]=_0x482925[_0x2d8ac7]['map'](_0x425ae7=>({..._0x425ae7,'startRow':_0x425ae7[_0x3d1953(0x383)]+_0x3cf526,'endRow':_0x425ae7[_0x3d1953(0x25b)]+_0x3cf526,'startColumn':_0x425ae7[_0x3d1953(0x148)]+_0xec90a6,'endColumn':_0x425ae7[_0x3d1953(0x3e7)]+_0xec90a6}));}),{'matrixCache':_0x343b47,'rangesCache':_0x291da3};};function _0x6ea0cc(_0x12e2c6,_0x4ff0b0){const _0x3005f3=_0x25f219;let _0x471a36='';const _0x4025e3=this[_0x3005f3(0x45f)]();switch(_0x4ff0b0){case _0x359d7d[_0x3005f3(0x402)][_0x3005f3(0x210)]:_0x471a36=_0x4025e3[_0x3005f3(0x17f)]+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)][_0x3005f3(0x2d5)]:_0x471a36=_0x4025e3[_0x3005f3(0x18c)]+_0x12e2c6;break;case _0x359d7d['PivotSubtotalTypeEnum'][_0x3005f3(0x442)]:_0x471a36=_0x4025e3['sheets-pivot.countNumsName']+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)][_0x3005f3(0x1b2)]:_0x471a36=_0x4025e3['sheets-pivot.maxName']+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)][_0x3005f3(0x417)]:_0x471a36=_0x4025e3['sheets-pivot.minName']+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)][_0x3005f3(0x209)]:_0x471a36=_0x4025e3['sheets-pivot.productName']+_0x12e2c6;break;case _0x359d7d['PivotSubtotalTypeEnum'][_0x3005f3(0x2d4)]:_0x471a36=_0x4025e3['sheets-pivot.stdDevName']+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)][_0x3005f3(0x271)]:_0x471a36=_0x4025e3[_0x3005f3(0x344)]+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)]['sum']:_0x471a36=_0x4025e3[_0x3005f3(0x1bf)]+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)]['var']:_0x471a36=_0x4025e3['sheets-pivot.varName']+_0x12e2c6;break;case _0x359d7d[_0x3005f3(0x402)][_0x3005f3(0x20a)]:_0x471a36=_0x4025e3[_0x3005f3(0x253)]+_0x12e2c6;break;default:_0x471a36=_0x12e2c6;break;}return _0x471a36;}function _0x248a5a(_0xb9dad4,_0x33bb6e,_0x3cd94e,_0x2bad6a,_0x17f4c4){const _0x206587=_0x25f219;var _0x335d05,_0xb01324,_0x3c4060,_0xab5c8a,_0x194961;const _0x55c4af=_0x39781c[_0x206587(0x289)](_0xb9dad4,_0x33bb6e),{rangesInfo:_0x5ed38e,areaInfo:_0x4e9ac0,headerMap:_0x5cba58}=_0x17f4c4;if(!_0x5ed38e||!_0x4e9ac0||!_0x5cba58)return;const _0x3b78de=Object[_0x206587(0x3a0)](_0x5ed38e)[_0x206587(0x437)](_0x28347e=>_0x5ed38e[_0x28347e][_0x206587(0x302)](_0x150a73=>_0x39781c[_0x206587(0x471)]['contains'](_0x150a73,_0x55c4af))),_0x356ba9=_0x4e9ac0;let _0x45b28f,_0x41940c,_0x4d649b;if(_0x3b78de===_0x206587(0x212))_0x45b28f=(_0x335d05=_0x356ba9==null?void 0x0:_0x356ba9[_0x206587(0x3fc)])==null?void 0x0:_0x335d05[_0xb9dad4],_0x41940c=(_0xb01324=_0x5cba58==null?void 0x0:_0x5cba58[_0x206587(0x166)])==null?void 0x0:_0xb01324[_0x33bb6e],_0x4d649b=_0x41940c==null?void 0x0:_0x41940c[_0x206587(0x46e)];else{if(_0x3b78de===_0x206587(0x35d))_0x45b28f=(_0x3c4060=_0x356ba9==null?void 0x0:_0x356ba9[_0x206587(0x15e)])==null?void 0x0:_0x3c4060[_0x33bb6e],_0x41940c=(_0xab5c8a=_0x5cba58[_0x206587(0x3b1)])==null?void 0x0:_0xab5c8a[_0xb9dad4+0x1+_0x33bb6e-_0x5ed38e[_0x206587(0x35d)][0x0][_0x206587(0x148)]],_0x4d649b=_0x41940c==null?void 0x0:_0x41940c['tableFieldId'];else{if(_0x3b78de===_0x206587(0x410))_0x45b28f=(_0x194961=_0x356ba9==null?void 0x0:_0x356ba9['cornerInfo'])==null?void 0x0:_0x194961[_0x33bb6e],_0x4d649b=_0x45b28f==null?void 0x0:_0x45b28f[_0x206587(0x46e)];else{if(_0x3b78de===_0x206587(0x3f6)){const _0x168b36=_0x3cd94e==null?void 0x0:_0x3cd94e['fi'];_0x168b36!==void 0x0&&(_0x4d649b=_0x2bad6a['getFilterFieldIdByIndex'](_0x168b36));}}}}return{'filterId':_0x4d649b,'info':_0x45b28f,'data':_0x3cd94e,'headerInfo':_0x41940c};}function _0x54acb2(_0x3b4960,_0x40762f,_0x10a3da){const _0x3cc970=_0x25f219,_0x4433dd=_0x3b4960[_0x3cc970(0x434)],_0x4fd249=_0x4433dd[_0x3cc970(0x293)](),_0x56f943=new Set();_0x3b4960[_0x3cc970(0x28a)](_0x3e985e=>{const _0xeb4535=_0x3cc970;_0x56f943[_0xeb4535(0x35f)](_0x3e985e['dataFieldId']);});const _0x3232dd=_0x4fd249[_0x3cc970(0x371)](_0xfc8c46=>{const _0x28d2cc=_0x3cc970,_0x304d91=_0x4433dd[_0x28d2cc(0x25c)](_0xfc8c46);return{'checked':_0x56f943[_0x28d2cc(0x32a)](_0xfc8c46),'dataFieldId':_0x304d91['id'],'id':_0x304d91['id'],'name':_0x4433dd[_0x28d2cc(0x404)](_0x304d91['id']),'type':_0x304d91[_0x28d2cc(0x46c)](),'pivotTableId':_0x40762f};}),_0x36d4f1=[];_0x3b4960[_0x3cc970(0x2ad)](_0x359d7d['PivotTableFiledAreaEnum']['Row'],_0x5abe5b=>{const _0x1e861c=_0x3cc970;_0x36d4f1[_0x1e861c(0x1cb)]({'dataFieldId':_0x5abe5b['dataFieldId'],'tableFieldId':_0x5abe5b[_0x1e861c(0x31f)](),'displayName':_0x5abe5b['getDisplayName']()});});const _0x4c1cf6=[];_0x3b4960[_0x3cc970(0x2ad)](_0x359d7d['PivotTableFiledAreaEnum'][_0x3cc970(0x337)],_0x431903=>{const _0x33ec8c=_0x3cc970;_0x4c1cf6['push']({'dataFieldId':_0x431903[_0x33ec8c(0x156)],'tableFieldId':_0x431903[_0x33ec8c(0x31f)](),'displayName':_0x431903[_0x33ec8c(0x404)]()});});const _0x1ba8aa=[];if(_0x3b4960['iterateFieldByArea'](_0x359d7d[_0x3cc970(0x3ec)]['Value'],_0x4a815f=>{const _0x5774ca=_0x3cc970;_0x1ba8aa[_0x5774ca(0x1cb)]({'dataFieldId':_0x4a815f[_0x5774ca(0x156)],'tableFieldId':_0x4a815f[_0x5774ca(0x31f)](),'displayName':_0x4a815f[_0x5774ca(0x404)](),'format':_0x4a815f[_0x5774ca(0x295)](),'subTotalType':_0x4a815f['getSubtotal']()});}),_0x1ba8aa[_0x3cc970(0x37d)]>0x1){const _0x1bea49=_0x3b4960[_0x3cc970(0x2f6)]();(_0x3b4960[_0x3cc970(0x3ae)]()?_0x4c1cf6:_0x36d4f1)[_0x3cc970(0x2c8)](_0x1bea49,0x0,{'dataFieldId':'','tableFieldId':_0x3cc970(0x2cc),'displayName':_0x3cc970(0x369)});}const _0x1aa4bd=[];_0x3b4960[_0x3cc970(0x2ad)](_0x359d7d[_0x3cc970(0x3ec)]['Filter'],_0x262d64=>{const _0x3cf0c0=_0x3cc970;_0x1aa4bd[_0x3cf0c0(0x1cb)]({'dataFieldId':_0x262d64['dataFieldId'],'tableFieldId':_0x262d64['getId'](),'displayName':_0x262d64['getDisplayName']()});});const _0x450612=_0x10a3da[_0x3cc970(0x1aa)];return{'sourceList':_0x3232dd,'sourceRange':_0x450612,'rowFields':_0x36d4f1,'columnFields':_0x4c1cf6,'valueFields':_0x1ba8aa,'filterFields':_0x1aa4bd,'positionInfo':_0x10a3da[_0x3cc970(0x1df)]};}function _0x4085fe(_0xc35b42,_0x4c1b2c,_0x563a30='',_0x1b2cb4={}){const _0xa48210=_0x25f219,_0x420aa8=_0xc35b42[_0xa48210(0x46f)](_0x39781c[_0xa48210(0x461)]);for(const _0x368775 in _0x4c1b2c)if(Object[_0xa48210(0x1e3)][_0xa48210(0x3b5)][_0xa48210(0x2a8)](_0x4c1b2c,_0x368775)){const _0x3e8061=_0x563a30?_0x563a30+'.'+_0x368775:_0x368775;typeof _0x4c1b2c[_0x368775]==_0xa48210(0x2b0)&&_0x4c1b2c[_0x368775]!==null&&!Array[_0xa48210(0x457)](_0x4c1b2c[_0x368775])?_0x4085fe(_0xc35b42,_0x4c1b2c[_0x368775],_0x3e8061,_0x1b2cb4):_0x1b2cb4[_0x3e8061]=_0x420aa8['t'](_0x3e8061);}return _0x1b2cb4;}const _0x3da2e6=_0x4a2a52=>{const _0x259d7a=_0x25f219;if(!_0x4a2a52)return[];const {rowRanges:_0x26e929,colRanges:_0x306006,cornerRanges:_0x407939,dataRanges:_0x29ec50,pageRanges:_0x25939c}=_0x4a2a52,_0x16b2a2=[..._0x306006,..._0x26e929,..._0x29ec50,..._0x407939]['filter'](_0x2f096a=>_0x2f096a['startRow']>=0x0&&_0x2f096a[_0x259d7a(0x148)]>=0x0&&_0x2f096a[_0x259d7a(0x25b)]>=0x0&&_0x2f096a[_0x259d7a(0x3e7)]>=0x0);let _0x41ef5e=Number[_0x259d7a(0x259)],_0x3c6398=Number[_0x259d7a(0x290)],_0x25711f=Number[_0x259d7a(0x259)],_0x16aee9=Number['MIN_SAFE_INTEGER'];for(let _0x1f55a4=0x0;_0x1f55a4<_0x16b2a2[_0x259d7a(0x37d)];_0x1f55a4++)_0x41ef5e=Math['min'](_0x41ef5e,_0x16b2a2[_0x1f55a4]['startRow']),_0x3c6398=Math[_0x259d7a(0x1b2)](_0x3c6398,_0x16b2a2[_0x1f55a4][_0x259d7a(0x25b)]),_0x25711f=Math['min'](_0x25711f,_0x16b2a2[_0x1f55a4][_0x259d7a(0x148)]),_0x16aee9=Math[_0x259d7a(0x1b2)](_0x16aee9,_0x16b2a2[_0x1f55a4][_0x259d7a(0x3e7)]);return[..._0x25939c,{'startRow':_0x41ef5e,'endRow':_0x3c6398,'startColumn':_0x25711f,'endColumn':_0x16aee9}];};function _0x105857(_0x3ee65d,_0x2249aa){const _0x4d6739=_0x25f219,_0x3baf24=_0x2249aa[_0x4d6739(0x15d)][_0x4d6739(0x3a1)],{pivotTableId:_0x5f1474,unitId:_0x1869cf,subUnitId:_0x1ebaff}=_0x2249aa;if(!_0x3baf24)return;const _0x4f360b=_0x3ee65d[_0x4d6739(0x46f)](_0x414f7d['SheetsPivotDataSourceModel']),_0xbf2f5d=_0x4f360b[_0x4d6739(0x20e)](_0x5f1474),_0x81225a=_0x4f360b[_0x4d6739(0x18f)](_0x1869cf,_0x1ebaff,_0x5f1474);if(!_0xbf2f5d||!_0x81225a)return;const _0x682cc=_0xbf2f5d['getIndexesByPathStr'](_0x3baf24[_0x4d6739(0x215)]);if(!(_0x682cc!=null&&_0x682cc[_0x4d6739(0x37d)]))return;const _0x4faccf=_0x81225a[_0x4d6739(0x1aa)],{unitId:_0x4cea85,subUnitId:_0x547bff,range:_0x1d50d0}=_0x4faccf;let _0x5e930e=0x0;const _0x1b54b7=_0xbf2f5d[_0x4d6739(0x434)]['getFieldIds']()[_0x4d6739(0x3e2)]((_0x9b2df0,_0x3f01c7)=>{const _0x1ba64f=_0x4d6739;var _0x296c82;const _0x3559e0=(_0x296c82=_0xbf2f5d[_0x1ba64f(0x326)](_0x3f01c7))==null?void 0x0:_0x296c82[_0x1ba64f(0x1b3)]();return _0x3559e0&&(_0x9b2df0[String(_0x5e930e)]=_0x3559e0),_0x5e930e++,_0x9b2df0;},{});return{'indexes':_0x682cc,'range':_0x1d50d0,'sourceUnitId':_0x4cea85,'sourceSubUnitId':_0x547bff,'formatMap':_0x1b54b7};}function _0x2c449c(_0x45971a,_0x1e5abe){const _0x5600a6=_0x25f219;if(!_0x45971a||!_0x1e5abe)return!0x0;const _0x48c6e1=_0x462881['unshiftString'](_0x56a88e,_0x4d5ed3),_0x3e8026=new Function('return\x20'+_0x48c6e1)()(_0x45971a,_0x1e5abe)['message'],_0x2803f7=_0x462881['isFeatureAuthorizedWithinTime'](_0x3e8026,'sf',_0x216672);return!((_0x3e8026==null?void 0x0:_0x3e8026['rt'])===_0x462881[_0x5600a6(0x24f)][_0x5600a6(0x2c0)]&&!_0x2803f7);}function _0x2a99f9(_0x469910,_0x42a4e0,_0x5468db){const _0x547f3d=_0x25f219,_0x2f2f8e={'count':_0x469910,'timeValid':!0x1};if(!_0x42a4e0||!_0x5468db)return _0x2f2f8e;const _0x4fabb8=_0x462881[_0x547f3d(0x35b)](_0x56a88e,_0x4d5ed3),_0x1d434e=new Function('return\x20'+_0x4fabb8)()(_0x42a4e0,_0x5468db);if(_0x1d434e!=null&&_0x1d434e[_0x547f3d(0x3d4)]){const _0x5410f1=_0x1d434e[_0x547f3d(0x146)],_0x19ae35=_0x462881['isFeatureAuthorizedWithinTime'](_0x5410f1,'sf',_0x216672);return{'count':_0x462881[_0x547f3d(0x3ea)](_0x5410f1,_0x19ae35,'ptn',_0x469910,_0x469910,0x0),'timeValid':_0x19ae35};}return _0x2f2f8e;}function _0x3119d6(_0x394f89,_0x54a964,_0x2aeb48,_0x1986dd){const _0x4fdfa3=_0x25f219,_0x1fe9d4={'subUnitId':_0x2aeb48,'unitId':_0x54a964,'cellValue':_0x1457ac[_0x4fdfa3(0x34b)](_0x1986dd)},_0x57ed4e=_0x1457ac['SetRangeValuesUndoMutationFactory'](_0x394f89,_0x1fe9d4);let _0x47eb03=!0x1;return new _0x39781c['ObjectMatrix'](_0x57ed4e[_0x4fdfa3(0x198)])[_0x4fdfa3(0x2bc)]((_0x1c01ee,_0x5ed402,_0x3645d0)=>{if(!_0x47eb03&&_0x3645d0&&(_0x3645d0['custom']||_0x3645d0['f']||_0x3645d0['p']||_0x3645d0['s']||_0x3645d0['si']||_0x3645d0['t']||_0x3645d0['v']))return _0x47eb03=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1457ac['SetRangeValuesMutation']['id'],'params':_0x57ed4e},'setRangeValueRedoMutation':{'id':_0x1457ac[_0x4fdfa3(0x355)]['id'],'params':_0x1fe9d4},'shouldClear':_0x47eb03};}function _0x3dc4de(_0x143d68){const {row:_0x328fe5,col:_0xdea3d4}=_0x143d68,_0x44c784={'startRow':_0x328fe5,'endRow':_0x328fe5,'startColumn':_0xdea3d4,'endColumn':_0xdea3d4},_0x575213={'startRow':_0x328fe5+0x2,'endRow':_0x328fe5+0xe,'startColumn':_0xdea3d4,'endColumn':_0xdea3d4+0x6};return[_0x44c784,_0x575213];}function _0x49d652(_0x26634e,_0x1bd717,_0x451a88){const _0x3e68f0=_0x25f219,{cornerView:_0x132624,rowView:_0x207c55,colView:_0x28d570,pageView:_0xbfc11e}=_0x26634e,{row:_0x50fe5a,col:_0x4c6e1b}=_0x1bd717;if(_0x451a88)return{'rowCount':_0x5110ca+_0x50fe5a,'colCount':_0x21187d+_0x4c6e1b};const _0x258ccf=_0xbfc11e[_0x3e68f0(0x1ee)]>-0x1?_0xbfc11e[_0x3e68f0(0x1ee)]+0x1:0x0,_0x4f26bf=_0xbfc11e[_0x3e68f0(0x254)]>-0x1?_0xbfc11e['lastCol']:0x0,_0x3d701c=_0x50fe5a+_0x258ccf+(_0x258ccf?0x1:0x0)+_0x132624[_0x3e68f0(0x39c)]+_0x207c55[_0x3e68f0(0x39c)],_0x35ff40=_0x4c6e1b+_0x4f26bf,_0x47a9d7=_0x4c6e1b+_0x132624[_0x3e68f0(0x3c2)]+_0x28d570[_0x3e68f0(0x3c2)],_0x5646d4=Math[_0x3e68f0(0x1b2)](_0x35ff40,_0x47a9d7);return{'rowCount':_0x3d701c,'colCount':_0x5646d4};}function _0x1541c9(_0x4592da,_0x45d7c2,_0x3b72a2,_0x30c606){const _0x422c17=_0x25f219,{row:_0x1ef847,col:_0x4c9581,unitId:_0x8fd179,subUnitId:_0x25e2ee}=_0x3b72a2,_0x4db54a=_0x49d652(_0x45d7c2,{'row':_0x1ef847,'col':_0x4c9581},_0x30c606),_0xd980ed=_0x4592da[_0x422c17(0x46f)](_0x39781c[_0x422c17(0x364)]),_0x22bbaa=_0x1457ac[_0x422c17(0x1e9)](_0xd980ed,{'unitId':_0x8fd179,'subUnitId':_0x25e2ee}),_0x5d3b28=[],_0x2ac2fd=[];if(!_0x22bbaa)return{'undos':_0x2ac2fd,'redos':_0x5d3b28};const {worksheet:_0x29047c}=_0x22bbaa,_0x5930f9=_0x29047c[_0x422c17(0x463)](),_0x4fc5c4=_0x29047c['getColumnCount']();return _0x5930f9<_0x4db54a[_0x422c17(0x39c)]&&(_0x5d3b28[_0x422c17(0x1cb)]({'id':_0x1457ac[_0x422c17(0x394)]['id'],'params':{'unitId':_0x8fd179,'subUnitId':_0x25e2ee,'range':{'startRow':_0x5930f9,'endRow':_0x4db54a['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x4fc5c4-0x1}}}),_0x2ac2fd['push']({'id':_0x1457ac['RemoveRowMutation']['id'],'params':{'unitId':_0x8fd179,'subUnitId':_0x25e2ee,'range':{'startRow':_0x5930f9,'endRow':_0x4db54a[_0x422c17(0x39c)]-0x1,'startColumn':0x0,'endColumn':_0x4fc5c4-0x1}}})),_0x4fc5c4<_0x4db54a[_0x422c17(0x3c2)]&&(_0x5d3b28[_0x422c17(0x1cb)]({'id':_0x1457ac[_0x422c17(0x3eb)]['id'],'params':{'unitId':_0x8fd179,'subUnitId':_0x25e2ee,'range':{'startRow':0x0,'endRow':_0x5930f9-0x1,'startColumn':_0x4fc5c4,'endColumn':_0x4db54a[_0x422c17(0x3c2)]-0x1}}}),_0x2ac2fd[_0x422c17(0x1cb)]({'id':_0x1457ac[_0x422c17(0x211)]['id'],'params':{'unitId':_0x8fd179,'subUnitId':_0x25e2ee,'range':{'startRow':0x0,'endRow':_0x5930f9-0x1,'startColumn':_0x4fc5c4,'endColumn':_0x4db54a[_0x422c17(0x3c2)]-0x1}}})),{'undos':_0x2ac2fd,'redos':_0x5d3b28};}function _0x5e9fdf(_0x4c793b){const _0x1e4c24=_0x25f219;let _0x485e5c=0x0;for(let _0x13955b=0x0;_0x13955b<_0x4c793b['length'];_0x13955b++){const _0x2c46ce=_0x4c793b[_0x1e4c24(0x278)](_0x13955b);_0x2c46ce>=0x4e00&&_0x2c46ce<=0x9fff||_0x2c46ce>=0x3000&&_0x2c46ce<=0x303f||_0x2c46ce>=0xff00&&_0x2c46ce<=0xffef?_0x485e5c+=0x2:_0x485e5c+=0x1;}return _0x485e5c;}function _0x3bec7c(_0x5aa548,_0x2c532e,_0x51d21e,_0x1516c8){const _0x3d6579=_0x25f219;var _0x18f43f,_0x467d61,_0x25ab30,_0x5f0962;const {rowCount:_0x4c8992,colCount:_0x1837ef,headerMap:_0x192498}=_0x5aa548,_0x2a88d3=0x64,_0x79c51=Math['min'](_0x4c8992,_0x2a88d3),_0x1bcd66=Math[_0x3d6579(0x417)](_0x1837ef,_0x2a88d3);let _0x253994='',_0x38d4c8=0x0;for(let _0x1fc419=0x0;_0x1fc419<_0x79c51;_0x1fc419++)for(let _0x1b14d8=0x0;_0x1b14d8<_0x1bcd66;_0x1b14d8++){const _0x471c0d={...(_0x467d61=(_0x18f43f=_0x5aa548[_0x3d6579(0x298)])==null?void 0x0:_0x18f43f[_0x1fc419])==null?void 0x0:_0x467d61[_0x1b14d8]},_0x4188b1=(_0x25ab30=_0x192498[_0x1fc419])==null?void 0x0:_0x25ab30[_0x3d6579(0x46e)],_0xea9d81=_0x1516c8[_0x4188b1];let _0x2a8fca=_0x5aa548[_0x3d6579(0x285)](_0x1fc419,_0x1b14d8);if(_0x471c0d){const _0x222877=_0x51d21e?_0x1b14d8===0x0&&((_0x5f0962=_0x5aa548['getHeaderMapItem'](_0x1b14d8+0x1))==null?void 0x0:_0x5f0962[_0x3d6579(0x255)]):!0x1;_0x2a8fca=_0x35457c(_0x471c0d,_0x222877,_0xea9d81,_0x2c532e);}if(_0x2a8fca!==void 0x0){const _0x25ceb7=_0x5e9fdf(String(_0x2a8fca));_0x38d4c8<_0x25ceb7&&(_0x253994=String(_0x2a8fca),_0x38d4c8=_0x25ceb7);}}return _0x253994;}function _0x22071f(_0x26fc03){const _0x1a603d=_0x25f219,{rowCount:_0x15d705,colCount:_0x3de1c4}=_0x26fc03;let _0x17d23b='',_0x365941=0x0;for(let _0x30302b=_0x15d705-0x1;_0x30302b>0x0&&_0x30302b>_0x15d705-0x3;_0x30302b--)for(let _0xfcc52=0x0;_0xfcc52<_0x3de1c4;_0xfcc52++){const _0x5c260d=_0x26fc03['getValue'](_0x30302b,_0xfcc52);if(_0x5c260d!==void 0x0){const _0x48abde=String(_0x5c260d)[_0x1a603d(0x37d)];_0x365941<_0x48abde&&(_0x17d23b=String(_0x5c260d),_0x365941=_0x48abde);}}return _0x17d23b;}function _0xa21c47(_0x1773e5){const _0x52a33e=_0x25f219,{rowCount:_0x1655bf,colCount:_0x548537}=_0x1773e5;let _0x7d5a6d='',_0x5a0bc8=0x0;for(let _0x35f7ec=0x0;_0x35f7ec<_0x1655bf;_0x35f7ec++)for(let _0x2be422=0x0;_0x2be422<_0x548537;_0x2be422++){const _0x427b36=_0x1773e5['getValue'](_0x35f7ec,_0x2be422);if(_0x427b36!==void 0x0){const _0x3d8449=String(_0x427b36)[_0x52a33e(0x37d)];_0x5a0bc8<_0x3d8449&&(_0x7d5a6d=String(_0x427b36),_0x5a0bc8=_0x3d8449);}}return _0x7d5a6d;}function _0x8a22ed(_0x43aaa1,_0x8ffa50){const _0x1d0704=_0x25f219,{rowFields:_0x5e8b34,columnFields:_0x4c1fa2,valueFields:_0x2f62e2,filterFields:_0x1e4b75,dimension:_0xcb29b9,measure:_0x3366db}=_0x8ffa50;for(const _0x52922f of _0x5e8b34){const _0x45082f=_0xcb29b9[_0x52922f];_0x45082f&&_0x43aaa1['getDataFieldByDataFieldId'](_0x45082f[_0x1d0704(0x156)])&&(_0x43aaa1[_0x1d0704(0x2b5)](_0x45082f[_0x1d0704(0x156)],_0x359d7d['PivotTableFiledAreaEnum'][_0x1d0704(0x43d)],void 0x0,_0x52922f),_0x45082f['displayName']&&_0x43aaa1[_0x1d0704(0x157)](_0x45082f['id'],_0x45082f[_0x1d0704(0x1fb)]),_0x45082f[_0x1d0704(0x2be)]&&_0x43aaa1[_0x1d0704(0x1bc)](_0x45082f['id'],_0x45082f['sortInfo']),_0x45082f[_0x1d0704(0x2ed)]&&_0x43aaa1[_0x1d0704(0x2f5)](_0x45082f['id'],_0x45082f[_0x1d0704(0x2ed)]));}for(const _0x42fb6d of _0x4c1fa2){const _0x7aed37=_0xcb29b9[_0x42fb6d];_0x7aed37&&_0x43aaa1[_0x1d0704(0x326)](_0x7aed37[_0x1d0704(0x156)])&&(_0x43aaa1['addFieldWithSourceId'](_0x7aed37[_0x1d0704(0x156)],_0x359d7d[_0x1d0704(0x3ec)][_0x1d0704(0x337)],void 0x0,_0x42fb6d),_0x7aed37[_0x1d0704(0x2be)]&&_0x43aaa1[_0x1d0704(0x1bc)](_0x7aed37['id'],_0x7aed37[_0x1d0704(0x2be)]),_0x7aed37['filterInfo']&&_0x43aaa1[_0x1d0704(0x2f5)](_0x7aed37['id'],_0x7aed37[_0x1d0704(0x2ed)]),_0x7aed37[_0x1d0704(0x1fb)]&&_0x43aaa1['renameField'](_0x7aed37['id'],_0x7aed37['displayName']));}for(const _0x47e068 of _0x1e4b75){const _0x1c2a65=_0xcb29b9[_0x47e068];_0x1c2a65&&_0x43aaa1[_0x1d0704(0x326)](_0x1c2a65[_0x1d0704(0x156)])&&(_0x43aaa1[_0x1d0704(0x2b5)](_0x1c2a65[_0x1d0704(0x156)],_0x359d7d[_0x1d0704(0x3ec)][_0x1d0704(0x1d0)],void 0x0,_0x47e068),_0x1c2a65[_0x1d0704(0x2be)]&&_0x43aaa1['setSortInfo'](_0x1c2a65['id'],_0x1c2a65[_0x1d0704(0x2be)]),_0x1c2a65[_0x1d0704(0x2ed)]&&_0x43aaa1[_0x1d0704(0x2f5)](_0x1c2a65['id'],_0x1c2a65[_0x1d0704(0x2ed)]),_0x1c2a65[_0x1d0704(0x1fb)]&&_0x43aaa1['renameField'](_0x1c2a65['id'],_0x1c2a65[_0x1d0704(0x1fb)]));}for(const _0x25a0a4 of _0x2f62e2){const _0x210f95=_0x3366db[_0x25a0a4];_0x210f95&&_0x43aaa1['getDataFieldByDataFieldId'](_0x210f95[_0x1d0704(0x156)])&&(_0x43aaa1[_0x1d0704(0x2b5)](_0x210f95[_0x1d0704(0x156)],_0x359d7d[_0x1d0704(0x3ec)][_0x1d0704(0x3f0)],void 0x0,_0x25a0a4),_0x210f95['subtotal']!==void 0x0&&_0x43aaa1[_0x1d0704(0x444)](_0x25a0a4,_0x210f95['subtotal']),_0x210f95[_0x1d0704(0x308)]&&_0x43aaa1[_0x1d0704(0x350)](_0x25a0a4,_0x210f95[_0x1d0704(0x308)]),_0x210f95[_0x1d0704(0x1fb)]&&_0x43aaa1['renameField'](_0x210f95['id'],_0x210f95[_0x1d0704(0x1fb)]));}const _0x33090a=_0x8ffa50[_0x1d0704(0x147)];for(const {fieldId:_0xd19dd4,filterInfo:_0x7fd0c5}of _0x33090a)_0x43aaa1[_0x1d0704(0x192)](_0xd19dd4,_0x7fd0c5);}function _0xf1f49(_0x834758,_0x9a71a8){const _0x4322e9=_0x25f219,_0x28e7dd=[];_0x9a71a8===_0x359d7d[_0x4322e9(0x3ec)][_0x4322e9(0x43d)]&&_0x834758[_0x4322e9(0x2ad)](_0x359d7d[_0x4322e9(0x3ec)]['Row'],_0x50f409=>{const _0x388c2a=_0x4322e9;_0x28e7dd[_0x388c2a(0x1cb)](_0x50f409[_0x388c2a(0x31f)]());}),_0x9a71a8===_0x359d7d[_0x4322e9(0x3ec)][_0x4322e9(0x337)]&&_0x834758[_0x4322e9(0x2ad)](_0x359d7d[_0x4322e9(0x3ec)]['Column'],_0x1c7ee0=>{const _0x94aff9=_0x4322e9;_0x28e7dd['push'](_0x1c7ee0[_0x94aff9(0x31f)]());}),_0x9a71a8===_0x359d7d[_0x4322e9(0x3ec)][_0x4322e9(0x1d0)]&&_0x834758['iterateFieldByArea'](_0x359d7d[_0x4322e9(0x3ec)][_0x4322e9(0x1d0)],_0x41004e=>{const _0x59f3a4=_0x4322e9;_0x28e7dd[_0x59f3a4(0x1cb)](_0x41004e['getId']());}),_0x9a71a8===_0x359d7d['PivotTableFiledAreaEnum']['Value']&&_0x834758[_0x4322e9(0x2ad)](_0x359d7d[_0x4322e9(0x3ec)][_0x4322e9(0x3f0)],_0x3d1f87=>{const _0x2bc348=_0x4322e9;_0x28e7dd[_0x2bc348(0x1cb)](_0x3d1f87[_0x2bc348(0x31f)]());}),_0x9a71a8===void 0x0&&_0x834758[_0x4322e9(0x28a)](_0x47dc06=>{const _0x51a3a1=_0x4322e9;_0x28e7dd['push'](_0x47dc06[_0x51a3a1(0x31f)]());});const _0x36d5c6=_0x28e7dd[_0x4322e9(0x37d)];for(let _0x65326=_0x36d5c6-0x1;_0x65326>=0x0;_0x65326--)_0x834758[_0x4322e9(0x351)](_0x28e7dd[_0x65326]);const _0x4d95db=_0x834758[_0x4322e9(0x1b9)]();for(const _0x4004dc in _0x4d95db)_0x834758['removeValueFilterInfo'](_0x4004dc);}function _0x21ab47(_0xda6764,_0x4d9b15){const _0x5a93ce=_0x25f219,_0x577b03=new Date(_0x359d7d['excelDateToUnixMilliseconds'](_0x4d9b15)),_0x1cf867=new Date(_0x359d7d[_0x5a93ce(0x353)](_0xda6764)),_0x22548e=_0x577b03[_0x5a93ce(0x28f)](),_0xf8b398=_0x1cf867['getFullYear'](),_0x3acc82=_0x577b03['getMonth'](),_0x38cf9a=_0x1cf867[_0x5a93ce(0x265)](),_0x1d47e6=_0x577b03[_0x5a93ce(0x2e2)](),_0xf6f3ab=_0x1cf867[_0x5a93ce(0x2e2)](),_0x35aabc=_0x22548e===_0xf8b398,_0x3d480b=_0x35aabc&&_0x3acc82===_0x38cf9a;return _0x35aabc&&_0x3d480b&&!(_0x3d480b&&_0x1d47e6===_0xf6f3ab)?_0x359d7d[_0x5a93ce(0x343)]['YearMonthDate']:_0x35aabc&&!_0x3d480b?_0x359d7d[_0x5a93ce(0x343)][_0x5a93ce(0x363)]:_0x359d7d[_0x5a93ce(0x343)]['Year'];}function _0x52d2c2(_0x91ee68,_0xa98eb){const _0x33b1d0=_0x25f219,_0x2d657a=_0x91ee68[_0x33b1d0(0x46f)](_0x414f7d[_0x33b1d0(0x2f3)])['getTextInfo']();let _0x216be5='';switch(_0xa98eb){case _0x359d7d['PivotDateGroupFieldDateTypeEnum'][_0x33b1d0(0x1d9)]:_0x216be5=_0x2d657a[_0x33b1d0(0x3cb)];break;case _0x359d7d[_0x33b1d0(0x343)]['YearMonth']:_0x216be5=_0x2d657a[_0x33b1d0(0x43b)];break;case _0x359d7d['PivotDateGroupFieldDateTypeEnum'][_0x33b1d0(0x16c)]:_0x216be5=_0x2d657a[_0x33b1d0(0x221)];break;case _0x359d7d[_0x33b1d0(0x343)]['Month']:_0x216be5=_0x2d657a[_0x33b1d0(0x228)];break;case _0x359d7d[_0x33b1d0(0x343)][_0x33b1d0(0x440)]:_0x216be5=_0x2d657a[_0x33b1d0(0x1d3)];break;case _0x359d7d[_0x33b1d0(0x343)]['Date']:_0x216be5=_0x2d657a['sheets-pivot.dateGroup.date'];break;case _0x359d7d['PivotDateGroupFieldDateTypeEnum']['HourMinute']:_0x216be5=_0x2d657a[_0x33b1d0(0x3ce)];break;case _0x359d7d[_0x33b1d0(0x343)][_0x33b1d0(0x2cd)]:_0x216be5=_0x2d657a['sheets-pivot.dateGroup.hour'];break;case _0x359d7d[_0x33b1d0(0x343)][_0x33b1d0(0x303)]:_0x216be5=_0x2d657a[_0x33b1d0(0x186)];break;case _0x359d7d[_0x33b1d0(0x343)]['MonthDate']:_0x216be5=_0x2d657a['sheets-pivot.dateGroup.monthDate'];break;case _0x359d7d[_0x33b1d0(0x343)]['YearQuarter']:_0x216be5=_0x2d657a[_0x33b1d0(0x382)];break;default:_0x216be5='';break;}return _0x216be5;}const _0x46f6be=_0x25f219(0x447),_0x126dcf={};var _0x4b327b=Object[_0x25f219(0x311)],_0x49f808=(_0x157d0b,_0x4c3f05,_0x5659a6,_0x219481)=>{const _0x363a70=_0x25f219;for(var _0x4d36f=_0x219481>0x1?void 0x0:_0x219481?_0x4b327b(_0x4c3f05,_0x5659a6):_0x4c3f05,_0xa0683a=_0x157d0b[_0x363a70(0x37d)]-0x1,_0x231d1d;_0xa0683a>=0x0;_0xa0683a--)(_0x231d1d=_0x157d0b[_0xa0683a])&&(_0x4d36f=_0x231d1d(_0x4d36f)||_0x4d36f);return _0x4d36f;},_0x81a4d6=(_0x59c880,_0x5e4f56)=>(_0x3142ec,_0x35f5a6)=>_0x5e4f56(_0x3142ec,_0x35f5a6,_0x59c880);_0x414f7d[_0x25f219(0x27b)]=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x3fbc41,_0x4aae8e,_0x459b7e,_0x1d74b1,_0x401fcf){const _0x380515=_0x25f219;super(),_0x4d19a3(this,_0x380515(0x21b),new Map()),_0x4d19a3(this,_0x380515(0x45a),new Map()),_0x4d19a3(this,_0x380515(0x398),new Map()),_0x4d19a3(this,_0x380515(0x14c),new Map()),_0x4d19a3(this,_0x380515(0x191),new _0x201b78['Subject']()),_0x4d19a3(this,_0x380515(0x15f),new _0x201b78['Subject']()),_0x4d19a3(this,_0x380515(0x469),this['_pivotInitCompleted$'][_0x380515(0x3be)]()),_0x4d19a3(this,_0x380515(0x401),new _0x201b78[(_0x380515(0x333))]()),_0x4d19a3(this,_0x380515(0x29c),this[_0x380515(0x401)][_0x380515(0x3be)]()),_0x4d19a3(this,'_textInfo',{}),_0x4d19a3(this,'configVersion$',this[_0x380515(0x191)][_0x380515(0x3be)]()),(this['_injector']=_0x3fbc41,this[_0x380515(0x3d2)]=_0x4aae8e,this[_0x380515(0x2c1)]=_0x459b7e,this[_0x380515(0x1ea)]=_0x1d74b1,this[_0x380515(0x1bd)]=_0x401fcf,this[_0x380515(0x1b8)](),this[_0x380515(0x338)]());const _0x93dd5=this[_0x380515(0x1bd)][_0x380515(0x310)](_0x46f6be);(_0x93dd5==null?void 0x0:_0x93dd5[_0x380515(0x3af)])===!0x0&&this[_0x380515(0x17c)]();}[_0x25f219(0x338)](){const _0x4ebe25=_0x25f219;this[_0x4ebe25(0x406)](this[_0x4ebe25(0x2c1)][_0x4ebe25(0x391)](_0x39781c[_0x4ebe25(0x429)][_0x4ebe25(0x33a)])['subscribe'](_0xa603ec=>{const _0x579be6=_0x4ebe25;this[_0x579be6(0x159)](_0xa603ec[_0x579be6(0x42c)]());}));}[_0x25f219(0x205)](){const _0x23a3d1=_0x25f219;this[_0x23a3d1(0x15f)][_0x23a3d1(0x2e4)](!0x0);}[_0x25f219(0x1b8)](){const _0x32884b=_0x25f219,_0x81e4f0=_0x4085fe(this[_0x32884b(0x40a)],_0x476148,'',{});this[_0x32884b(0x1cd)]=_0x81e4f0,this[_0x32884b(0x3d2)][_0x32884b(0x2eb)](_0x57be3e['id'],{'textInfo':_0x81e4f0},{'onlyLocal':!0x0});}[_0x25f219(0x45f)](){const _0x3b8818=_0x25f219;return this[_0x3b8818(0x1cd)];}['updateViewInfo'](_0x3b8558,_0x38e80c,_0x5136ae,_0x428aa1,_0x46ecaf){const _0x406720=_0x25f219;this[_0x406720(0x328)](_0x3b8558,_0x38e80c,_0x5136ae,_0x428aa1),this['updatePivotTableRangeInfo'](_0x3b8558,_0x38e80c,_0x5136ae,_0x46ecaf);}['getPivotTableConfig'](_0x31069b,_0x1ae985,_0x3c3a75){const _0x43c66f=_0x25f219;var _0x22cea7;const _0x48ace7=(_0x22cea7=this[_0x43c66f(0x21b)]['get'](_0x31069b))==null?void 0x0:_0x22cea7[_0x43c66f(0x46f)](_0x1ae985);if(_0x48ace7)return _0x48ace7[_0x43c66f(0x46f)](_0x3c3a75);}[_0x25f219(0x188)](_0x4a8911,_0x49e43d){const _0x91835f=_0x25f219,_0x3f0add=this[_0x91835f(0x21b)][_0x91835f(0x46f)](_0x4a8911);if(_0x3f0add){for(const [_0x23da64,_0x339689]of _0x3f0add[_0x91835f(0x2ef)]())for(const [_0x5a230e,_0x2ae9ef]of _0x339689[_0x91835f(0x2ef)]())if(_0x5a230e===_0x49e43d)return _0x2ae9ef[_0x91835f(0x1df)];}}[_0x25f219(0x473)](_0x30bbab,_0x34f987,_0x3cefc5){const _0x51fdd1=_0x25f219,_0xc187bb=this[_0x51fdd1(0x18f)](_0x30bbab,_0x34f987,_0x3cefc5);return _0xc187bb==null?void 0x0:_0xc187bb[_0x51fdd1(0x1df)];}[_0x25f219(0x1eb)](_0x3b9b81,_0x242fcb){const _0x5f5488=_0x25f219;var _0x25971b;return(_0x25971b=this[_0x5f5488(0x21b)]['get'](_0x3b9b81))==null?void 0x0:_0x25971b['get'](_0x242fcb);}['updateConfigCache'](_0xbd26e3,_0x26aba6,_0x5e22d1,_0x3d2954){const _0x53e0c5=_0x25f219,_0x508c9d=this[_0x53e0c5(0x15b)](_0xbd26e3,_0x26aba6);_0x3d2954?_0x508c9d['set'](_0x5e22d1,_0x3d2954):_0x508c9d[_0x53e0c5(0x1ca)](_0x5e22d1),this[_0x53e0c5(0x401)]['next']({'unitId':_0xbd26e3,'subUnitId':_0x26aba6,'pivotTableId':_0x5e22d1,'pivotTableConfig':_0x3d2954});}[_0x25f219(0x193)](_0x1301cd,_0x3c37ba){const _0xa9baba=_0x25f219;var _0x2a2ab8;return(_0x2a2ab8=this[_0xa9baba(0x45a)][_0xa9baba(0x46f)](_0x1301cd))==null?void 0x0:_0x2a2ab8[_0xa9baba(0x3b4)][_0x3c37ba];}['updateCollectionConfig'](_0x3d8573,_0x238779){const _0x544056=_0x25f219;this[_0x544056(0x45a)][_0x544056(0x321)](_0x3d8573,_0x238779),this[_0x544056(0x191)][_0x544056(0x2e4)](Math[_0x544056(0x332)]());}['_ensurePivotMap'](_0x2f18a,_0x22158c){const _0x5d2e1c=_0x25f219;let _0x48630d=this['_model'][_0x5d2e1c(0x46f)](_0x2f18a);_0x48630d||(_0x48630d=new Map(),this[_0x5d2e1c(0x21b)][_0x5d2e1c(0x321)](_0x2f18a,_0x48630d));let _0x28336e=_0x48630d['get'](_0x22158c);return _0x28336e||(_0x28336e=new Map(),_0x48630d[_0x5d2e1c(0x321)](_0x22158c,_0x28336e)),_0x28336e;}[_0x25f219(0x3d8)](_0xdaf13e,_0x67c456){const _0x415a32=_0x25f219;let _0x4d06c5=this['_pivotTableRangeInfo'][_0x415a32(0x46f)](_0xdaf13e);_0x4d06c5||(_0x4d06c5=new Map(),this[_0x415a32(0x398)][_0x415a32(0x321)](_0xdaf13e,_0x4d06c5));let _0x1536c8=_0x4d06c5['get'](_0x67c456);return _0x1536c8||(_0x1536c8=new Map(),_0x4d06c5[_0x415a32(0x321)](_0x67c456,_0x1536c8)),_0x1536c8;}[_0x25f219(0x3c0)](_0xf05bf9,_0x4a5685){const _0x618984=_0x25f219;let _0x5c83dc=this[_0x618984(0x14c)][_0x618984(0x46f)](_0xf05bf9);_0x5c83dc||(_0x5c83dc=new Map(),this[_0x618984(0x14c)][_0x618984(0x321)](_0xf05bf9,_0x5c83dc));let _0x3afa7b=_0x5c83dc['get'](_0x4a5685);return _0x3afa7b||(_0x3afa7b=new Map(),_0x5c83dc[_0x618984(0x321)](_0x4a5685,_0x3afa7b)),_0x3afa7b;}[_0x25f219(0x1ff)](_0xfcf01,_0x4fb02d,_0xd3ad8,_0x1f5599){const _0x2092ef=_0x25f219;var _0x1bdab6;const _0x3bd364=this[_0x2092ef(0x3d8)](_0xfcf01,_0x4fb02d),_0x3e65ef=(_0x1bdab6=_0x3bd364['get'](_0xd3ad8))==null?void 0x0:_0x1bdab6[_0x2092ef(0x29a)];_0x3bd364[_0x2092ef(0x321)](_0xd3ad8,{'oldRangeInfo':_0x3e65ef,'rangeInfo':_0x1f5599});}[_0x25f219(0x328)](_0x415f2d,_0x207827,_0x85418e,_0x199333){const _0xb4dfe9=_0x25f219;var _0x4675c3;const _0x3dd642=this['_ensurePivotTableMatrixInfo'](_0x415f2d,_0x207827),_0x3249c4=(_0x4675c3=_0x3dd642[_0xb4dfe9(0x46f)](_0x85418e))==null?void 0x0:_0x4675c3[_0xb4dfe9(0x452)];_0x3dd642['set'](_0x85418e,{'oldMatrix':_0x3249c4,'matrix':_0x199333});}[_0x25f219(0x1c6)](_0x29c1fa,_0x3a4cec,_0x4dee57){const _0x1f1ca4=_0x25f219;var _0xd32e20,_0xa03656;return(_0xa03656=(_0xd32e20=this[_0x1f1ca4(0x398)][_0x1f1ca4(0x46f)](_0x29c1fa))==null?void 0x0:_0xd32e20[_0x1f1ca4(0x46f)](_0x3a4cec))==null?void 0x0:_0xa03656[_0x1f1ca4(0x46f)](_0x4dee57);}[_0x25f219(0x158)](_0xfbfb61,_0x57ad8c,_0x385ace){const _0x5b8cc0=_0x25f219;var _0x5b1293,_0x3f4c17;return(_0x3f4c17=(_0x5b1293=this[_0x5b8cc0(0x14c)][_0x5b8cc0(0x46f)](_0xfbfb61))==null?void 0x0:_0x5b1293['get'](_0x57ad8c))==null?void 0x0:_0x3f4c17[_0x5b8cc0(0x46f)](_0x385ace);}[_0x25f219(0x159)](_0x3bae99){const _0x5f3ba9=_0x25f219;this[_0x5f3ba9(0x21b)][_0x5f3ba9(0x1ca)](_0x3bae99),this[_0x5f3ba9(0x45a)][_0x5f3ba9(0x1ca)](_0x3bae99);}[_0x25f219(0x2fc)](_0x2f449e){const _0x5927fd=_0x25f219,_0x954a5b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x2f449e)&&(_0x954a5b[_0x5927fd(0x177)][_0x2f449e]=this[_0x5927fd(0x45a)][_0x5927fd(0x46f)](_0x2f449e)),this[_0x5927fd(0x21b)][_0x5927fd(0x46f)](_0x2f449e)){_0x954a5b[_0x5927fd(0x296)][_0x2f449e]={};const _0x37c3d9=this[_0x5927fd(0x21b)][_0x5927fd(0x46f)](_0x2f449e);_0x37c3d9!=null&&_0x37c3d9[_0x5927fd(0x27f)]&&[..._0x37c3d9[_0x5927fd(0x3a0)]()][_0x5927fd(0x262)](_0x4e0246=>{const _0x380e69=_0x5927fd,_0x49a989=_0x37c3d9[_0x380e69(0x46f)](_0x4e0246);_0x49a989!=null&&_0x49a989[_0x380e69(0x27f)]&&(_0x954a5b[_0x380e69(0x296)][_0x2f449e][_0x4e0246]={},[..._0x49a989['keys']()][_0x380e69(0x262)](_0x327e41=>{const _0x538836=_0x380e69,_0x3049d4=_0x49a989['get'](_0x327e41);_0x3049d4&&(_0x954a5b[_0x538836(0x296)][_0x2f449e][_0x4e0246][_0x327e41]=_0x3049d4);}));});}return _0x954a5b;}[_0x25f219(0x17c)](){const _0x1c89d8=_0x25f219;this[_0x1c89d8(0x406)](this[_0x1c89d8(0x1ea)][_0x1c89d8(0x32e)]({'toJson':_0x5a31db=>JSON[_0x1c89d8(0x3d0)](this[_0x1c89d8(0x2fc)](_0x5a31db)),'parseJson':_0xd37108=>({}),'businesses':[_0x39781c['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x444275,'onLoad':(_0x57a526,_0x73e1e1)=>{},'onUnLoad':_0xff8b3f=>{const _0x33f69d=_0x1c89d8;this[_0x33f69d(0x159)](_0xff8b3f);}}));}},_0x414f7d[_0x25f219(0x27b)]=_0x49f808([_0x81a4d6(0x0,_0x39781c[_0x25f219(0x28d)](_0x39781c['Injector'])),_0x81a4d6(0x1,_0x39781c[_0x25f219(0x28d)](_0x39781c['ICommandService'])),_0x81a4d6(0x2,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x364)])),_0x81a4d6(0x3,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x1bb)])),_0x81a4d6(0x4,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x28b)]))],_0x414f7d[_0x25f219(0x27b)]);var _0x343a87=Object[_0x25f219(0x311)],_0x3d7a4d=(_0x179a1f,_0x4cedfd,_0x3a3c0d,_0x3777ca)=>{const _0x113220=_0x25f219;for(var _0x12a811=_0x3777ca>0x1?void 0x0:_0x3777ca?_0x343a87(_0x4cedfd,_0x3a3c0d):_0x4cedfd,_0x5f43e5=_0x179a1f[_0x113220(0x37d)]-0x1,_0x53ffe8;_0x5f43e5>=0x0;_0x5f43e5--)(_0x53ffe8=_0x179a1f[_0x5f43e5])&&(_0x12a811=_0x53ffe8(_0x12a811)||_0x12a811);return _0x12a811;},_0x1ce9dc=(_0x19fa24,_0x2687da)=>(_0x19389c,_0x13eacb)=>_0x2687da(_0x19389c,_0x13eacb,_0x19fa24);_0x414f7d[_0x25f219(0x37e)]=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x569098,_0x3549de,_0x18a129,_0x1802b8,_0x10f8a8){const _0x480eca=_0x25f219;super(),_0x4d19a3(this,_0x480eca(0x3f9),new Map()),_0x4d19a3(this,_0x480eca(0x377),new Map()),_0x4d19a3(this,_0x480eca(0x415),new _0x201b78['Subject']()),_0x4d19a3(this,'markDirty$',this[_0x480eca(0x415)][_0x480eca(0x3be)]()),_0x4d19a3(this,_0x480eca(0x36a),new _0x201b78[(_0x480eca(0x333))]()),_0x4d19a3(this,'viewUpdate$',this[_0x480eca(0x36a)]['asObservable']()),_0x4d19a3(this,_0x480eca(0x1cd)),(this[_0x480eca(0x276)]=_0x569098,this['_injector']=_0x3549de,this[_0x480eca(0x17b)]=_0x18a129,this[_0x480eca(0x2c1)]=_0x1802b8,this['_exclusiveRangeService']=_0x10f8a8,this[_0x480eca(0x1b8)](),this['_initUnitDisposed']());}[_0x25f219(0x338)](){const _0x388cd2=_0x25f219;this[_0x388cd2(0x406)](this[_0x388cd2(0x2c1)][_0x388cd2(0x391)](_0x39781c[_0x388cd2(0x429)][_0x388cd2(0x33a)])['subscribe'](_0x4cebda=>{const _0x26cff3=_0x388cd2;this[_0x26cff3(0x159)](_0x4cebda[_0x26cff3(0x42c)]());}));}[_0x25f219(0x1b8)](){const _0x570950=_0x25f219;this[_0x570950(0x1cd)]=_0x4085fe(this[_0x570950(0x40a)],_0x476148,'',{});}[_0x25f219(0x1a7)](_0x58b6f8){const _0x5ef6b7=_0x25f219,{view:_0x3e19d7,unitId:_0x354848,subUnitId:_0x237acd,pivotTableId:_0x124a80,type:_0x1d1d7b}=_0x58b6f8,_0x5e736f=this[_0x5ef6b7(0x17b)]['getPivotTableConfig'](_0x354848,_0x237acd,_0x124a80);if(!_0x3e19d7||!_0x5e736f||_0x1d1d7b===_0x3f20dc[_0x5ef6b7(0x18e)])return;const {pageView:_0x2f3e8e,cornerView:_0xb9972f,rowView:_0x350252,colView:_0x1d6dea,dataView:_0x111929}=_0x3e19d7,_0x5eb344=_0x5e736f[_0x5ef6b7(0x1df)],_0x33f2e1=_0x5e736f['isEmpty'],_0x3348b5=this[_0x5ef6b7(0x2e9)](_0x354848,_0x237acd),_0x81f38d=this[_0x5ef6b7(0x2b4)](_0x354848,_0x237acd,_0x124a80);if(_0x33f2e1)return this['_updateRenderEmptyCache'](_0x58b6f8,_0x3348b5,_0x5eb344,_0x81f38d);{const _0x274afe=_0x1b905b(_0x5eb344,_0x2f3e8e,!0x0),_0x479d32=_0x2f3e8e[_0x5ef6b7(0x1ee)]>=0x0?_0x2f3e8e[_0x5ef6b7(0x1ee)]+0x1:0x0,_0x69840b=_0xb9972f['getRowCount'](),_0x2fc6a0=_0xb9972f[_0x5ef6b7(0x218)](),_0x160c80=_0x274afe['length']>0x0?_0x1657da:0x0,_0x44dbc4=_0x1b905b({'row':_0x5eb344[_0x5ef6b7(0x1a8)]+_0x479d32+_0x160c80,'col':_0x5eb344[_0x5ef6b7(0x331)]},_0xb9972f,!0x1,!0x1),_0x3b4a29=_0x1b905b({'row':_0x5eb344[_0x5ef6b7(0x1a8)]+_0x479d32+_0x160c80+_0x69840b,'col':_0x5eb344['col']},_0x350252,!0x1,!0x0),_0x391c27=_0x1b905b({'row':_0x5eb344[_0x5ef6b7(0x1a8)]+_0x479d32+_0x160c80,'col':_0x5eb344[_0x5ef6b7(0x331)]+_0x2fc6a0},_0x1d6dea,!0x1,!0x0),_0x2b5509=_0x1b905b({'row':_0x5eb344[_0x5ef6b7(0x1a8)]+_0x479d32+_0x160c80+_0x69840b,'col':_0x5eb344[_0x5ef6b7(0x331)]+_0x2fc6a0},_0x111929,!0x1,!0x1);_0x81f38d[_0x5ef6b7(0x446)]={'rowRanges':_0x3b4a29,'colRanges':_0x391c27,'cornerRanges':_0x44dbc4,'dataRanges':_0x2b5509,'pageRanges':_0x274afe};const _0x424c8e=_0x1a1029(this[_0x5ef6b7(0x40a)],_0x3e19d7,_0x5e736f,this['_textInfo']),{valueMatrix:_0x489030,rowInfo:_0x49b1b3,colInfo:_0x4007f0,cornerInfo:_0x381815,rowHeaderMap:_0x3b8f63,colHeaderMap:_0x86d092}=_0x424c8e;return _0x81f38d[_0x5ef6b7(0x340)]={'rowInfo':_0x49b1b3,'colInfo':_0x4007f0,'cornerInfo':_0x381815},_0x81f38d[_0x5ef6b7(0x16b)]={'rowHeaderMap':_0x3b8f63,'colHeaderMap':_0x86d092},_0x489030[_0x5ef6b7(0x262)]((_0x5d3b07,_0xf13549)=>{const _0x3dd7df=_0x5ef6b7;Object['keys'](_0xf13549)[_0x3dd7df(0x262)](_0x2d0717=>{const _0x49e7bc=_0x3dd7df,_0xe8ec93=+_0x2d0717,_0x1c9b87=_0x489030[_0x49e7bc(0x285)](_0x5d3b07,_0xe8ec93);_0x3348b5[_0x49e7bc(0x233)](_0x5d3b07,_0xe8ec93,_0x1c9b87);});}),this[_0x5ef6b7(0x36a)][_0x5ef6b7(0x2e4)]({'unitId':_0x354848,'subUnitId':_0x237acd,'valueMatrix':_0x3348b5,'rangesCache':_0x81f38d['rangesInfo'],'pivotTableId':_0x124a80,'type':_0x58b6f8[_0x5ef6b7(0x185)]}),this[_0x5ef6b7(0x17b)][_0x5ef6b7(0x19e)](_0x354848,_0x237acd,_0x124a80,_0x3348b5,_0x81f38d[_0x5ef6b7(0x446)]),this[_0x5ef6b7(0x1ec)][_0x5ef6b7(0x34a)](_0x354848,_0x237acd,_0x27a944,this[_0x5ef6b7(0x202)](_0x81f38d[_0x5ef6b7(0x446)],_0x124a80)),{'rangeCache':_0x81f38d['rangesInfo'],'matrix':_0x3348b5};}}[_0x25f219(0x16d)](_0x56a1c5,_0x185fca,_0xf4ef73,_0x1387b3){const _0x3c2b26=_0x25f219,_0x1dfb6=this[_0x3c2b26(0x276)]['t'],{unitId:_0x58bf74,subUnitId:_0xb48b3f,pivotTableId:_0x1b6143}=_0x56a1c5,_0x223038={'filter':_0x1dfb6(_0x3c2b26(0x1da)),'row':_0x1dfb6('sheets-pivot.emptyPivot.row'),'column':_0x1dfb6(_0x3c2b26(0x43e)),'values':_0x1dfb6(_0x3c2b26(0x318))},{matrixCache:_0x1965cb,rangesCache:_0x135c2b}=_0x141522(_0x223038,_0xf4ef73);return _0x1965cb[_0x3c2b26(0x2bc)]((_0x355bb1,_0x1d3d7e,_0x51bd27)=>{const _0x4e578f=_0x3c2b26;_0x185fca[_0x4e578f(0x233)](_0x355bb1,_0x1d3d7e,_0x51bd27);}),_0x1387b3['rangesInfo']=_0x135c2b,this[_0x3c2b26(0x36a)]['next']({'unitId':_0x58bf74,'subUnitId':_0xb48b3f,'valueMatrix':_0x185fca,'rangesCache':_0x135c2b,'pivotTableId':_0x1b6143,'type':_0x56a1c5[_0x3c2b26(0x185)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x3c2b26(0x19e)](_0x58bf74,_0xb48b3f,_0x1b6143,_0x185fca,_0x135c2b),this[_0x3c2b26(0x1ec)]['addExclusiveRange'](_0x58bf74,_0xb48b3f,_0x27a944,this[_0x3c2b26(0x202)](_0x135c2b,_0x1b6143)),{'rangeCache':_0x1387b3[_0x3c2b26(0x446)],'matrix':_0x185fca};}['_createExclusiveRange'](_0x249000,_0x3b9edd){const _0x3651fc=[],_0x5589d9=_0x3da2e6(_0x249000);for(const _0xfee64d of _0x5589d9)_0x3651fc['push']({'groupId':_0x3b9edd,'range':_0xfee64d});return _0x3651fc;}[_0x25f219(0x237)](_0x2f31eb){const _0x34b100=_0x25f219;var _0x2e9a9f,_0x3c0157,_0x4b1136,_0x1a8a39;const {pivotTableId:_0x30bab1,unitId:_0x5b0b8b,subUnitId:_0x5d8149}=_0x2f31eb;if(!_0x30bab1||!_0x5b0b8b||!_0x5d8149)return;const _0x9a5a6=this[_0x34b100(0x2e9)](_0x5b0b8b,_0x5d8149),_0x33071a=(_0x3c0157=(_0x2e9a9f=this[_0x34b100(0x3f9)][_0x34b100(0x46f)](_0x5b0b8b))==null?void 0x0:_0x2e9a9f[_0x34b100(0x46f)](_0x5d8149))==null?void 0x0:_0x3c0157[_0x34b100(0x46f)](_0x30bab1);if(_0x33071a!=null&&_0x33071a[_0x34b100(0x446)]){for(const _0x3de6db of Object['keys'](_0x33071a[_0x34b100(0x446)]))_0x33071a[_0x34b100(0x446)][_0x3de6db][_0x34b100(0x262)](_0x584695=>{const _0x52f0e9=_0x34b100;for(let _0x4e2123=_0x584695[_0x52f0e9(0x383)];_0x4e2123<=_0x584695['endRow'];_0x4e2123++)for(let _0x57ccf2=_0x584695[_0x52f0e9(0x148)];_0x57ccf2<=_0x584695[_0x52f0e9(0x3e7)];_0x57ccf2++)_0x9a5a6[_0x52f0e9(0x1d4)](_0x4e2123,_0x57ccf2);});}_0x33071a&&((_0x1a8a39=(_0x4b1136=this[_0x34b100(0x3f9)][_0x34b100(0x46f)](_0x5b0b8b))==null?void 0x0:_0x4b1136[_0x34b100(0x46f)](_0x5d8149))==null||_0x1a8a39['delete'](_0x30bab1)),this[_0x34b100(0x36a)]['next']({'unitId':_0x5b0b8b,'subUnitId':_0x5d8149,'valueMatrix':_0x9a5a6,'pivotTableId':_0x30bab1,'rangesCache':void 0x0,'type':_0x2f31eb[_0x34b100(0x185)]}),this[_0x34b100(0x1ec)][_0x34b100(0x376)](_0x5b0b8b,_0x5d8149,_0x27a944,_0x30bab1);}[_0x25f219(0x2b4)](_0x110f82,_0x2239dc,_0x4ab010){const _0x4c7a20=_0x25f219;var _0x5836df,_0x2a11e0,_0x5153b0,_0x1527bb,_0x5075ec,_0x100498;return this[_0x4c7a20(0x3f9)][_0x4c7a20(0x32a)](_0x110f82)||this[_0x4c7a20(0x3f9)][_0x4c7a20(0x321)](_0x110f82,new Map()),(_0x5836df=this['_pivotRenderInfoCache']['get'](_0x110f82))!=null&&_0x5836df[_0x4c7a20(0x32a)](_0x2239dc)||(_0x2a11e0=this[_0x4c7a20(0x3f9)][_0x4c7a20(0x46f)](_0x110f82))==null||_0x2a11e0[_0x4c7a20(0x321)](_0x2239dc,new Map()),(_0x1527bb=(_0x5153b0=this[_0x4c7a20(0x3f9)]['get'](_0x110f82))==null?void 0x0:_0x5153b0[_0x4c7a20(0x46f)](_0x2239dc))!=null&&_0x1527bb[_0x4c7a20(0x32a)](_0x4ab010)||(_0x100498=(_0x5075ec=this[_0x4c7a20(0x3f9)]['get'](_0x110f82))==null?void 0x0:_0x5075ec['get'](_0x2239dc))==null||_0x100498['set'](_0x4ab010,{}),this['_pivotRenderInfoCache'][_0x4c7a20(0x46f)](_0x110f82)[_0x4c7a20(0x46f)](_0x2239dc)[_0x4c7a20(0x46f)](_0x4ab010);}['_ensurePivotItemRenderValueMatrixCache'](_0x33b280,_0x449f96){const _0x4d72f2=_0x25f219;var _0x4505e2,_0x1d78ec;return this['_pivotRenderValueMatrixCache'][_0x4d72f2(0x32a)](_0x33b280)||this[_0x4d72f2(0x377)][_0x4d72f2(0x321)](_0x33b280,new Map()),(_0x4505e2=this['_pivotRenderValueMatrixCache']['get'](_0x33b280))!=null&&_0x4505e2[_0x4d72f2(0x32a)](_0x449f96)||(_0x1d78ec=this[_0x4d72f2(0x377)][_0x4d72f2(0x46f)](_0x33b280))==null||_0x1d78ec['set'](_0x449f96,new _0x39781c[(_0x4d72f2(0x46d))]()),this[_0x4d72f2(0x377)][_0x4d72f2(0x46f)](_0x33b280)['get'](_0x449f96);}[_0x25f219(0x1b1)](_0x24885a,_0x5de085,_0x39c5eb,_0x595b81){const _0x460af1=_0x25f219;var _0x3a3687,_0x26bbda;const _0x36e2f3=(_0x26bbda=(_0x3a3687=this[_0x460af1(0x377)][_0x460af1(0x46f)](_0x24885a))==null?void 0x0:_0x3a3687[_0x460af1(0x46f)](_0x5de085))==null?void 0x0:_0x26bbda['getValue'](_0x39c5eb,_0x595b81);if(_0x36e2f3!=null)return _0x36e2f3;}['getPivotTableIdByCell'](_0x1c09eb,_0x3ebe2a,_0x520d8f,_0x3864e9){const _0x23b64e=_0x25f219;var _0x35a154;const _0xad44d9=_0x39781c[_0x23b64e(0x289)](_0x520d8f,_0x3864e9),_0x3d9081=(_0x35a154=this[_0x23b64e(0x3f9)][_0x23b64e(0x46f)](_0x1c09eb))==null?void 0x0:_0x35a154[_0x23b64e(0x46f)](_0x3ebe2a);return _0x3d9081?Array[_0x23b64e(0x22f)](_0x3d9081[_0x23b64e(0x3a0)]())[_0x23b64e(0x437)](_0x33323=>{const _0x2ec514=_0x23b64e,_0x5561ee=_0x3d9081['get'](_0x33323),_0x218d9e=_0x5561ee==null?void 0x0:_0x5561ee[_0x2ec514(0x446)];return _0x218d9e?Object['keys'](_0x218d9e)[_0x2ec514(0x302)](_0x30ffbb=>_0x218d9e[_0x30ffbb][_0x2ec514(0x302)](_0x884ed8=>_0x39781c['Rectangle'][_0x2ec514(0x34e)](_0x884ed8,_0xad44d9))):!0x1;}):void 0x0;}[_0x25f219(0x26f)](_0xe94006,_0x2d01c8,_0xe66556){const _0x3a54b2=_0x25f219;var _0x25e853;const _0x34f574=(_0x25e853=this['_pivotRenderInfoCache'][_0x3a54b2(0x46f)](_0xe94006))==null?void 0x0:_0x25e853[_0x3a54b2(0x46f)](_0x2d01c8),_0x1df128=[];return _0x34f574&&Array[_0x3a54b2(0x22f)](_0x34f574[_0x3a54b2(0x3a0)]())[_0x3a54b2(0x262)](_0x49e3e3=>{const _0x5b1a5d=_0x3a54b2,_0x1df30f=_0x34f574['get'](_0x49e3e3),_0x47be6c=_0x1df30f==null?void 0x0:_0x1df30f[_0x5b1a5d(0x446)];if(_0x47be6c)for(const _0x53632f of Object['values'](_0x47be6c)){let _0x41034a=!0x1;for(const _0x5c4418 of _0x53632f)if(_0x39781c['Rectangle'][_0x5b1a5d(0x354)](_0x5c4418,_0xe66556)){_0x1df128[_0x5b1a5d(0x1cb)](_0x49e3e3),_0x41034a=!0x0;break;}if(_0x41034a)break;}}),_0x1df128;}[_0x25f219(0x267)](_0xb3827e,_0x5c3a29){const _0x146084=_0x25f219;var _0x4f9723,_0x4d45ae;return(_0x4d45ae=(_0x4f9723=this[_0x146084(0x377)]['get'](_0xb3827e))==null?void 0x0:_0x4f9723[_0x146084(0x46f)](_0x5c3a29))!=null?_0x4d45ae:new _0x39781c[(_0x146084(0x46d))]();}['getSubUnitPivotRenderCache'](_0x4d5e15,_0x803edf){const _0x180448=_0x25f219;var _0x40a8ca;return(_0x40a8ca=this[_0x180448(0x3f9)][_0x180448(0x46f)](_0x4d5e15))==null?void 0x0:_0x40a8ca[_0x180448(0x46f)](_0x803edf);}['getPivotItemRenderInfoCache'](_0x35e718,_0x44e9ec,_0x4e704f){const _0x334218=_0x25f219;var _0x8bcc96,_0x4f3662;return(_0x4f3662=(_0x8bcc96=this[_0x334218(0x3f9)]['get'](_0x35e718))==null?void 0x0:_0x8bcc96['get'](_0x44e9ec))==null?void 0x0:_0x4f3662[_0x334218(0x46f)](_0x4e704f);}[_0x25f219(0x159)](_0x47fcc1){const _0x223994=_0x25f219;this[_0x223994(0x3f9)]['delete'](_0x47fcc1),this['_pivotRenderValueMatrixCache'][_0x223994(0x1ca)](_0x47fcc1);}[_0x25f219(0x367)](_0x280ac1,_0x3b534f){const _0x4f8ce4=_0x25f219;this[_0x4f8ce4(0x415)][_0x4f8ce4(0x2e4)]({'unitId':_0x280ac1,'subUnitId':_0x3b534f});}},_0x414f7d[_0x25f219(0x37e)]=_0x3d7a4d([_0x1ce9dc(0x0,_0x39781c['Inject'](_0x39781c[_0x25f219(0x461)])),_0x1ce9dc(0x1,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x329)])),_0x1ce9dc(0x2,_0x39781c['Inject'](_0x414f7d[_0x25f219(0x27b)])),_0x1ce9dc(0x3,_0x39781c['Inject'](_0x39781c[_0x25f219(0x364)])),_0x1ce9dc(0x4,_0x39781c['Inject'](_0x1457ac['IExclusiveRangeService']))],_0x414f7d['SheetsPivotTableAdaptorModel']);var _0x5796e9=Object[_0x25f219(0x311)],_0x4c3a45=(_0x1ff95a,_0x194e1f,_0x93c1b3,_0x277b13)=>{const _0x16dcba=_0x25f219;for(var _0xf62d21=_0x277b13>0x1?void 0x0:_0x277b13?_0x5796e9(_0x194e1f,_0x93c1b3):_0x194e1f,_0x5c63fa=_0x1ff95a[_0x16dcba(0x37d)]-0x1,_0x52d191;_0x5c63fa>=0x0;_0x5c63fa--)(_0x52d191=_0x1ff95a[_0x5c63fa])&&(_0xf62d21=_0x52d191(_0xf62d21)||_0xf62d21);return _0xf62d21;},_0x592cc6=(_0x40c522,_0x4b7bca)=>(_0x2c4aa5,_0x35794a)=>_0x4b7bca(_0x2c4aa5,_0x35794a,_0x40c522);_0x414f7d[_0x25f219(0x35e)]=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x3d0722,_0xa3a00){const _0x5e436d=_0x25f219;super(),_0x4d19a3(this,_0x5e436d(0x38f),new _0x39781c['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x395a1e})),_0x4d19a3(this,_0x5e436d(0x29d),new _0x39781c[(_0x5e436d(0x3c3))]({'PIVOT_MUTATION_GENERATE':_0x46a238})),(this[_0x5e436d(0x2a9)]=_0x3d0722,this[_0x5e436d(0x37a)]=_0xa3a00,this[_0x5e436d(0x181)]());}[_0x25f219(0x181)](){const _0x55e55d=_0x25f219;this[_0x55e55d(0x1d7)]();}[_0x25f219(0x26b)](_0x123cf2){const _0x5d4f6a=_0x25f219;return this[_0x5d4f6a(0x38f)][_0x5d4f6a(0x1f7)](_0x395a1e)(!0x1,_0x123cf2);}['_initViewModelBySheetInterceptor'](){const _0x4c10e7=_0x25f219;this[_0x4c10e7(0x406)](this[_0x4c10e7(0x2a9)][_0x4c10e7(0x2ca)](_0x1457ac[_0x4c10e7(0x2ea)][_0x4c10e7(0x386)],{'priority':0xc8,'effect':_0x39781c['InterceptorEffectEnum']['Value']|_0x39781c[_0x4c10e7(0x374)][_0x4c10e7(0x3e8)],'handler':(_0x2665ac,_0x29b246,_0x59d167)=>{const _0x47318b=_0x4c10e7,{row:_0x1cc33f,col:_0x57bcfb,unitId:_0x583d59,subUnitId:_0x1502e6,workbook:_0x2f0819}=_0x29b246,_0x59e34f=this['_sheetsPivotTableAdaptorModel'][_0x47318b(0x1b1)](_0x583d59,_0x1502e6,_0x1cc33f,_0x57bcfb);if(!_0x59e34f)return _0x59d167(_0x2665ac);const _0x415cd8={..._0x2665ac};(_0x59e34f['v']||_0x59e34f['v']===0x0)&&(_0x415cd8['v']=_0x59e34f['v']),_0x59e34f['t']&&(_0x415cd8['t']=_0x59e34f['t']);const _0x40823d=(typeof(_0x2665ac==null?void 0x0:_0x2665ac['s'])==_0x47318b(0x2ec)?_0x2f0819[_0x47318b(0x2fb)]()[_0x47318b(0x46f)](_0x2665ac==null?void 0x0:_0x2665ac['s']):_0x2665ac==null?void 0x0:_0x2665ac['s'])||{},_0xbb6fb2=_0x2f0819[_0x47318b(0x2fb)]()[_0x47318b(0x46f)](_0x59e34f['s']),_0x33cfce={..._0xbb6fb2,..._0x40823d};_0xbb6fb2!=null&&_0xbb6fb2['n']&&(_0x33cfce['n']=_0xbb6fb2['n']);const _0x3c7c9f=_0x2f0819['getStyles']()[_0x47318b(0x233)](_0x33cfce);return _0x415cd8['s']=_0x3c7c9f,(_0x59e34f[_0x47318b(0x347)]===_0x359d7d['PivotCellStyleTypeEnum'][_0x47318b(0x3c5)]||_0x59e34f[_0x47318b(0x347)]===_0x359d7d['PivotCellStyleTypeEnum'][_0x47318b(0x220)])&&(_0x415cd8[_0x47318b(0x304)]={},_0x415cd8[_0x47318b(0x304)]['leftOffset']=_0x4081b5),_0x59d167(_0x415cd8);}}));}},_0x414f7d[_0x25f219(0x35e)]=_0x4c3a45([_0x592cc6(0x0,_0x39781c[_0x25f219(0x28d)](_0x1457ac[_0x25f219(0x388)])),_0x592cc6(0x1,_0x39781c[_0x25f219(0x28d)](_0x414f7d[_0x25f219(0x37e)]))],_0x414f7d[_0x25f219(0x35e)]);const _0x4e2ffa={'id':_0x25f219(0x3e3),'type':_0x39781c[_0x25f219(0x3d9)]['MUTATION'],'handler':(_0x4699d5,_0x153d3f)=>{const _0x4cdffe=_0x25f219;if(!_0x153d3f)return!0x1;if(!!_0x4699d5[_0x4cdffe(0x46f)](_0x39781c[_0x4cdffe(0x28b)])[_0x4cdffe(0x310)](_0x4f4b80))return!0x0;const {pivotTableId:_0x3fb214,fieldJSON:_0x4c7beb,unitId:_0x384b03,subUnitId:_0x138af5}=_0x153d3f;let _0x17ba00;const {dataFieldType:_0x5dcce5,id:_0xb565ae,name:_0x4fc194,hexCode:_0x447ddf,originalFieldId:_0xca0673}=_0x4c7beb;if(_0x5dcce5===_0x359d7d[_0x4cdffe(0x1b6)][_0x4cdffe(0x291)]&&(_0x17ba00=new _0x359d7d[(_0x4cdffe(0x3a4))](_0xb565ae,_0x4fc194,_0x447ddf,_0xca0673)),!_0x17ba00)return!0x1;const _0xfecce9=_0x4699d5['get'](_0x414f7d[_0x4cdffe(0x2f3)]),_0x1259e7=_0xfecce9[_0x4cdffe(0x2af)](_0x384b03),_0x121ae4=_0x1259e7[_0x4cdffe(0x193)](_0x3fb214);_0x1259e7[_0x4cdffe(0x455)](_0x17ba00),_0x121ae4[_0x4cdffe(0x250)](_0x17ba00[_0x4cdffe(0x31f)](),_0x17ba00[_0x4cdffe(0x39f)]());const _0x528b2a=_0x121ae4['getFieldById'](_0x17ba00[_0x4cdffe(0x252)]());_0x528b2a&&_0x17ba00[_0x4cdffe(0x249)](_0x528b2a);const _0x4263a4=_0xfecce9[_0x4cdffe(0x18f)](_0x384b03,_0x138af5,_0x3fb214);return _0xfecce9[_0x4cdffe(0x334)]({'unitId':_0x384b03,'subUnitId':_0x138af5,'token':_0x3fb214,'type':_0x3f20dc[_0x4cdffe(0x1cf)],'pivotConfig':_0x4263a4}),!0x0;}},_0x500da1={'id':_0x25f219(0x384),'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'handler':(_0x50daed,_0x23d6a5)=>{const _0x1d69d4=_0x25f219;if(!_0x23d6a5)return!0x1;if(!!_0x50daed['get'](_0x39781c[_0x1d69d4(0x28b)])[_0x1d69d4(0x310)](_0x4f4b80))return!0x0;const {pivotTableId:_0x1229cb,dataFieldId:_0x266b4b,unitId:_0x2e4863,subUnitId:_0x3f0601}=_0x23d6a5,_0x645c71=_0x50daed['get'](_0x414f7d[_0x1d69d4(0x2f3)]),_0xcb4e03=_0x645c71[_0x1d69d4(0x2af)](_0x2e4863);_0xcb4e03[_0x1d69d4(0x193)](_0x1229cb)[_0x1d69d4(0x268)](_0x266b4b);let _0xb76cda=!0x0;for(const _0x2d2c80 in _0xcb4e03[_0x1d69d4(0x3b4)])if(_0xcb4e03[_0x1d69d4(0x3b4)][_0x2d2c80][_0x1d69d4(0x293)]()[_0x1d69d4(0x1f4)](_0x266b4b)){_0xb76cda=!0x1;break;}_0xb76cda&&_0xcb4e03[_0x1d69d4(0x28c)](_0x266b4b);const _0x3acb5d=_0x645c71[_0x1d69d4(0x18f)](_0x2e4863,_0x3f0601,_0x1229cb);return _0x645c71[_0x1d69d4(0x334)]({'unitId':_0x2e4863,'subUnitId':_0x3f0601,'token':_0x1229cb,'type':_0x3f20dc[_0x1d69d4(0x1cf)],'pivotConfig':_0x3acb5d}),!0x0;}};function _0x9a6995(_0x34d4e7,_0x43c351){const _0x506c45=_0x25f219;switch(_0x43c351){case _0x359d7d[_0x506c45(0x3ec)]['Value']:return _0x34d4e7[_0x506c45(0x336)];case _0x359d7d[_0x506c45(0x3ec)][_0x506c45(0x1d0)]:return _0x34d4e7[_0x506c45(0x153)];case _0x359d7d[_0x506c45(0x3ec)][_0x506c45(0x43d)]:return _0x34d4e7['rowFields'];case _0x359d7d[_0x506c45(0x3ec)][_0x506c45(0x337)]:return _0x34d4e7[_0x506c45(0x443)];default:return[];}}function _0x29d252(_0x30752e,_0x9d462){const _0x3fe7db=_0x25f219;return _0x30752e['measure'][_0x9d462]||_0x30752e[_0x3fe7db(0x173)][_0x9d462];}function _0x575d10(_0x2df31b,_0x238a82){const _0x1843cb=_0x25f219,{area:_0x416687,fieldJson:_0x5ca456,index:_0x4eaad9}=_0x238a82;_0x416687===_0x359d7d[_0x1843cb(0x3ec)][_0x1843cb(0x3f0)]?_0x2df31b[_0x1843cb(0x279)][_0x5ca456['id']]=_0x5ca456:_0x2df31b['dimension'][_0x5ca456['id']]=_0x5ca456,_0x9a6995(_0x2df31b,_0x416687)['splice'](_0x4eaad9,0x0,_0x5ca456['id']);}function _0x584046(_0x344d8b,_0x2d251e){const _0x1d3cf0=_0x25f219,{area:_0x32761b,fieldId:_0x217599,index:_0x41c086}=_0x2d251e;_0x32761b===_0x359d7d[_0x1d3cf0(0x3ec)]['Value']?delete _0x344d8b[_0x1d3cf0(0x279)][_0x217599]:delete _0x344d8b[_0x1d3cf0(0x173)][_0x217599],_0x9a6995(_0x344d8b,_0x32761b)[_0x1d3cf0(0x2c8)](_0x41c086,0x1);}function _0x2d8da2(_0x22fd01,_0x2f20fa){const _0x1ea736=_0x25f219,{fieldId:_0x1fcbdd,name:_0x2c83ef}=_0x2f20fa,_0x145634=_0x29d252(_0x22fd01,_0x1fcbdd);_0x145634&&(_0x145634[_0x1ea736(0x1fb)]=_0x2c83ef);}function _0xcac31a(_0x167c69,_0x499976){const _0x55fd81=_0x25f219,{fieldId:_0x561641,collapse:_0x3560e0,item:_0x285022}=_0x499976;_0x285022!==void 0x0?(_0x167c69[_0x55fd81(0x459)][_0x561641]=_0x167c69[_0x55fd81(0x459)][_0x561641]||{},_0x167c69['collapseInfo'][_0x561641][_0x285022]=_0x3560e0):_0x167c69[_0x55fd81(0x459)][_0x561641]=_0x3560e0;}function _0x5e1a36(_0x37ca4b,_0x13af8f){const {fieldId:_0x30edc6,format:_0x1b82a6}=_0x13af8f,_0x3d58e8=_0x29d252(_0x37ca4b,_0x30edc6);_0x3d58e8&&(_0x3d58e8['format']=_0x1b82a6);}function _0x2ca245(_0x347640,_0x2be3a1){const _0x3be3a5=_0x25f219,{fieldId:_0x125321,filterInfo:_0x36e712}=_0x2be3a1,_0x4751c9=_0x29d252(_0x347640,_0x125321);_0x4751c9&&(_0x4751c9[_0x3be3a5(0x2ed)]=_0x36e712);}function _0x5179b3(_0x3519b6,_0x329dd1){const _0x5b45e9=_0x25f219,{fieldId:_0x552bea,filterInfo:_0x3701a6}=_0x329dd1,_0x1013fd=_0x3519b6[_0x5b45e9(0x147)][_0x5b45e9(0x299)](_0x51338b=>_0x51338b[_0x5b45e9(0x3a6)]!==_0x552bea);_0x3701a6&&_0x1013fd[_0x5b45e9(0x1cb)]({'fieldId':_0x552bea,'filterInfo':_0x3701a6}),_0x3519b6[_0x5b45e9(0x147)]=_0x1013fd;}function _0x3cc539(_0x28259c,_0x461197){const _0x45cf4d=_0x25f219,{fieldId:_0x45629b,subtotalType:_0x3dd0f5}=_0x461197,_0xa0b115=_0x29d252(_0x28259c,_0x45629b);_0xa0b115&&(_0xa0b115[_0x45cf4d(0x19d)]=_0x3dd0f5);}function _0x1372fa(_0x59b054,_0x1e0dd0){const _0x3a586c=_0x25f219,{fieldId:_0x118d84,oldArea:_0x43f494,area:_0x565d99,oldIndex:_0x3a6f25,index:_0x533f57}=_0x1e0dd0,_0x4cb704=_0x43f494!==_0x359d7d[_0x3a586c(0x3ec)][_0x3a586c(0x3f0)]&&_0x565d99===_0x359d7d[_0x3a586c(0x3ec)][_0x3a586c(0x3f0)],_0x37dd0b=_0x43f494===_0x359d7d[_0x3a586c(0x3ec)][_0x3a586c(0x3f0)]&&_0x565d99!==_0x359d7d[_0x3a586c(0x3ec)]['Value'];if(_0x4cb704||_0x37dd0b){const _0x1886ce=_0x29d252(_0x59b054,_0x118d84);_0x1886ce&&(_0x4cb704?(delete _0x59b054[_0x3a586c(0x173)][_0x118d84],_0x59b054[_0x3a586c(0x279)][_0x118d84]=_0x1886ce):(delete _0x59b054[_0x3a586c(0x279)][_0x118d84],_0x59b054['dimension'][_0x118d84]=_0x1886ce));}const _0x4f09af=_0x9a6995(_0x59b054,_0x43f494),_0x4af6c7=_0x9a6995(_0x59b054,_0x565d99);_0x4f09af[_0x3a586c(0x2c8)](_0x3a6f25,0x1),_0x4af6c7[_0x3a586c(0x2c8)](_0x533f57,0x0,_0x118d84);}function _0x6635b(_0xa8f744,_0x488326){const _0xb8426a=_0x25f219,{valuePosition:_0x4c626f,index:_0x7368ba}=_0x488326;_0xa8f744['valuePosition']=_0x4c626f,_0xa8f744[_0xb8426a(0x405)]=_0x7368ba;}function _0x4a2c75(_0x2e4a7b,_0x213aa4){const _0x59e9c8=_0x25f219,{tableFieldId:_0xf8c7b3,sourceName:_0x202e89,dataFieldId:_0x37d2d7}=_0x213aa4,_0x660cb5=_0x29d252(_0x2e4a7b,_0xf8c7b3);_0x660cb5&&(_0x660cb5[_0x59e9c8(0x313)]=_0x202e89,_0x660cb5[_0x59e9c8(0x156)]=_0x37d2d7);}function _0x467ef7(_0x2d52f8,_0x555029){const _0x2ac6d6=_0x25f219,{fieldId:_0x2ddfb,sortInfo:_0x257f07}=_0x555029,_0x4f2353=_0x29d252(_0x2d52f8,_0x2ddfb);_0x4f2353&&(_0x4f2353[_0x2ac6d6(0x2be)]=_0x257f07);}function _0x5ec100(_0x5570c6,_0x531a33){const _0x7bc692=_0x25f219,{options:_0x51b913}=_0x531a33;_0x5570c6[_0x7bc692(0x201)]={..._0x5570c6[_0x7bc692(0x201)],..._0x51b913};}const _0x553dff={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x31a),'handler'(_0x289e5c,_0x1c0cf6){const _0x141186=_0x25f219;if(!_0x1c0cf6)return!0x1;if(!!_0x289e5c[_0x141186(0x46f)](_0x39781c[_0x141186(0x28b)])[_0x141186(0x310)](_0x4f4b80))return!0x0;const _0x494bcc=_0x289e5c[_0x141186(0x46f)](_0x414f7d['SheetsPivotDataSourceModel']),{pivotTableId:_0x5a5ff5,fieldJson:_0x220bfe,area:_0x3eb391,index:_0x36859f,unitId:_0x4ec7f,subUnitId:_0xd7a8c9}=_0x1c0cf6,_0x2500dd=_0x494bcc[_0x141186(0x20e)](_0x5a5ff5);if(!_0x2500dd)return!0x1;let _0x20c922;_0x3eb391===_0x359d7d[_0x141186(0x3ec)][_0x141186(0x3f0)]?_0x20c922=_0x359d7d['createValueField'](_0x220bfe):_0x20c922=_0x359d7d['createLabelField'](_0x220bfe),_0x2500dd[_0x141186(0x250)](_0x20c922,_0x3eb391,_0x36859f);const _0x6de3cd=_0x494bcc['getPivotTableModelConfig'](_0x4ec7f,_0xd7a8c9,_0x5a5ff5);_0x575d10(_0x6de3cd,_0x1c0cf6);const _0x235d56=_0x494bcc[_0x141186(0x18f)](_0x4ec7f,_0xd7a8c9,_0x5a5ff5);return _0x494bcc[_0x141186(0x334)]({'unitId':_0x4ec7f,'subUnitId':_0xd7a8c9,'token':_0x5a5ff5,'type':_0x3f20dc['Set'],'pivotConfig':_0x235d56}),!0x0;}},_0x5d8d5f={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x32b),'handler'(_0x5c0b45,_0x26cb7f){const _0x1d009f=_0x25f219;if(!_0x26cb7f)return!0x1;if(!!_0x5c0b45[_0x1d009f(0x46f)](_0x39781c[_0x1d009f(0x28b)])[_0x1d009f(0x310)](_0x4f4b80))return!0x0;const _0x2ae6b5=_0x5c0b45[_0x1d009f(0x46f)](_0x414f7d[_0x1d009f(0x2f3)]),{pivotTableId:_0x3d60ba,fieldId:_0xac5d4b,unitId:_0x34c4f0,subUnitId:_0x35e39f}=_0x26cb7f,_0x223369=_0x2ae6b5[_0x1d009f(0x20e)](_0x3d60ba);if(!_0x223369)return!0x1;_0x223369[_0x1d009f(0x351)](_0xac5d4b);const _0x26a7ae=_0x2ae6b5[_0x1d009f(0x214)](_0x34c4f0,_0x35e39f,_0x3d60ba);_0x584046(_0x26a7ae,_0x26cb7f);const _0x3b274c=_0x2ae6b5[_0x1d009f(0x18f)](_0x34c4f0,_0x35e39f,_0x3d60ba);return _0x2ae6b5[_0x1d009f(0x334)]({'unitId':_0x34c4f0,'subUnitId':_0x35e39f,'token':_0x3d60ba,'type':_0x3f20dc[_0x1d009f(0x1cf)],'pivotConfig':_0x3b274c}),!0x0;}},_0x339ac7={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x53bb64,_0x8c8b19){const _0x478821=_0x25f219;if(!_0x8c8b19)return!0x1;if(!!_0x53bb64[_0x478821(0x46f)](_0x39781c[_0x478821(0x28b)])[_0x478821(0x310)](_0x4f4b80))return!0x0;const _0x2aceb8=_0x53bb64[_0x478821(0x46f)](_0x414f7d[_0x478821(0x2f3)]),{unitId:_0x55fcc4,subUnitId:_0x31fab9,pivotTableId:_0x2ca9e1,fieldId:_0x59fefb,name:_0x3dc135}=_0x8c8b19,_0x11e85f=_0x2aceb8[_0x478821(0x20e)](_0x2ca9e1);if(!_0x11e85f)return!0x1;_0x11e85f[_0x478821(0x157)](_0x59fefb,_0x3dc135);const _0x1874de=_0x2aceb8['getPivotTableModelConfig'](_0x55fcc4,_0x31fab9,_0x2ca9e1);return _0x2d8da2(_0x1874de,_0x8c8b19),_0x2aceb8[_0x478821(0x334)]({'unitId':_0x55fcc4,'subUnitId':_0x31fab9,'token':_0x2ca9e1,'type':_0x3f20dc['Set']}),!0x0;}},_0x5c376c={'type':_0x39781c['CommandType'][_0x25f219(0x25f)],'id':_0x25f219(0x2fd),'handler'(_0x717b48,_0x12af20){const _0x41d7cc=_0x25f219;if(!_0x12af20)return!0x1;if(!!_0x717b48[_0x41d7cc(0x46f)](_0x39781c['IConfigService'])[_0x41d7cc(0x310)](_0x4f4b80))return!0x0;const _0x231c52=_0x717b48[_0x41d7cc(0x46f)](_0x414f7d[_0x41d7cc(0x2f3)]),{unitId:_0x817f66,subUnitId:_0x15e1da,pivotTableId:_0x54974f,fieldId:_0x47f95e,collapse:_0x4137ba,item:_0x3062b3}=_0x12af20,_0xbd3984=_0x231c52['getPivotTableInstance'](_0x54974f);if(!_0xbd3984)return!0x1;_0xbd3984[_0x41d7cc(0x44f)](_0x47f95e,_0x4137ba,_0x3062b3);const _0x12471d=_0x231c52['getPivotTableModelConfig'](_0x817f66,_0x15e1da,_0x54974f);return _0xcac31a(_0x12471d,_0x12af20),_0x231c52['addDirtyPivotTable']({'unitId':_0x817f66,'subUnitId':_0x15e1da,'token':_0x54974f,'type':_0x3f20dc[_0x41d7cc(0x1cf)]}),!0x0;}},_0x4a1b5a={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x203),'handler'(_0x3c651a,_0x556b06){const _0x27437f=_0x25f219;if(!_0x556b06)return!0x1;if(!!_0x3c651a[_0x27437f(0x46f)](_0x39781c[_0x27437f(0x28b)])[_0x27437f(0x310)](_0x4f4b80))return!0x0;const _0x413797=_0x3c651a[_0x27437f(0x46f)](_0x414f7d[_0x27437f(0x2f3)]),{unitId:_0x5ea3ae,subUnitId:_0x14d3f8,pivotTableId:_0x15324b,fieldId:_0x4b4358,format:_0x24c73c}=_0x556b06,_0x3aba1e=_0x413797['getPivotTableInstance'](_0x15324b);if(!_0x3aba1e)return!0x1;_0x3aba1e['setFieldFormat'](_0x4b4358,_0x24c73c);const _0x1b7ffb=_0x413797[_0x27437f(0x214)](_0x5ea3ae,_0x14d3f8,_0x15324b);return _0x5e1a36(_0x1b7ffb,_0x556b06),_0x413797[_0x27437f(0x334)]({'unitId':_0x5ea3ae,'subUnitId':_0x14d3f8,'token':_0x15324b,'type':_0x3f20dc[_0x27437f(0x1cf)]}),!0x0;}},_0x5b79f7={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x2f1),'handler'(_0x990f74,_0x1440dd){const _0x13b538=_0x25f219;if(!_0x1440dd)return!0x1;if(!!_0x990f74[_0x13b538(0x46f)](_0x39781c['IConfigService'])[_0x13b538(0x310)](_0x4f4b80))return!0x0;const _0x16e41b=_0x990f74['get'](_0x414f7d[_0x13b538(0x2f3)]),{unitId:_0x38f594,subUnitId:_0x4c04ec,pivotTableId:_0xa2e205,fieldId:_0x2f02b2,filterInfo:_0x253c55}=_0x1440dd,_0x38c551=_0x16e41b['getPivotTableInstance'](_0xa2e205);if(!_0x38c551)return!0x1;_0x38c551['setLabelFilterInfo'](_0x2f02b2,_0x253c55);const _0x47df76=_0x16e41b[_0x13b538(0x214)](_0x38f594,_0x4c04ec,_0xa2e205);return _0x2ca245(_0x47df76,_0x1440dd),_0x16e41b[_0x13b538(0x334)]({'unitId':_0x38f594,'subUnitId':_0x4c04ec,'token':_0xa2e205,'type':_0x3f20dc[_0x13b538(0x1cf)]}),!0x0;}},_0x49ec5d={'type':_0x39781c[_0x25f219(0x3d9)]['MUTATION'],'id':_0x25f219(0x30c),'handler'(_0x207902,_0x1acd92){const _0x4b7fb0=_0x25f219;if(!_0x1acd92)return!0x1;if(!!_0x207902[_0x4b7fb0(0x46f)](_0x39781c[_0x4b7fb0(0x28b)])[_0x4b7fb0(0x310)](_0x4f4b80))return!0x0;const _0x54540d=_0x207902['get'](_0x414f7d[_0x4b7fb0(0x2f3)]),{unitId:_0x42a785,subUnitId:_0x3cacfa,pivotTableId:_0x5d0a24,options:_0x2c783d}=_0x1acd92,_0x52a837=_0x54540d['getPivotTableInstance'](_0x5d0a24);if(!_0x52a837)return!0x1;_0x52a837['setOptions'](_0x2c783d);const _0x924a16=_0x54540d['getPivotTableModelConfig'](_0x42a785,_0x3cacfa,_0x5d0a24);return _0x5ec100(_0x924a16,_0x1acd92),_0x54540d[_0x4b7fb0(0x334)]({'unitId':_0x42a785,'subUnitId':_0x3cacfa,'token':_0x5d0a24,'type':_0x3f20dc[_0x4b7fb0(0x1cf)]}),!0x0;}},_0x3f7eee={'type':_0x39781c['CommandType'][_0x25f219(0x25f)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0xaabcb4,_0x14afab){const _0x2636dc=_0x25f219;if(!_0x14afab)return!0x1;if(!!_0xaabcb4[_0x2636dc(0x46f)](_0x39781c['IConfigService'])['getConfig'](_0x4f4b80))return!0x0;const _0x2ae49d=_0xaabcb4[_0x2636dc(0x46f)](_0x414f7d['SheetsPivotDataSourceModel']),{unitId:_0x4a44f9,subUnitId:_0x4807ab,pivotTableId:_0x3e609d,sortInfo:_0x487a5d,fieldId:_0x438b69}=_0x14afab,_0x4ea871=_0x2ae49d[_0x2636dc(0x20e)](_0x3e609d);if(!_0x4ea871)return!0x1;_0x4ea871['setSortInfo'](_0x438b69,_0x487a5d);const _0x36d048=_0x2ae49d[_0x2636dc(0x214)](_0x4a44f9,_0x4807ab,_0x3e609d);return _0x467ef7(_0x36d048,_0x14afab),_0x2ae49d[_0x2636dc(0x334)]({'unitId':_0x4a44f9,'subUnitId':_0x4807ab,'token':_0x3e609d,'type':_0x3f20dc[_0x2636dc(0x1cf)]}),!0x0;}},_0xac6541={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x1254b2,_0x5bebc3){const _0x224015=_0x25f219;if(!_0x5bebc3)return!0x1;if(!!_0x1254b2[_0x224015(0x46f)](_0x39781c[_0x224015(0x28b)])[_0x224015(0x310)](_0x4f4b80))return!0x0;const _0x3c183f=_0x1254b2[_0x224015(0x46f)](_0x414f7d[_0x224015(0x2f3)]),{unitId:_0x5ca7bf,subUnitId:_0x5f152b,pivotTableId:_0x6c3b22,fieldId:_0x13d548,subtotalType:_0x21c246}=_0x5bebc3,_0x4c731e=_0x3c183f['getPivotTableInstance'](_0x6c3b22);if(!_0x4c731e)return!0x1;_0x4c731e[_0x224015(0x444)](_0x13d548,_0x21c246);const _0x48f275=_0x3c183f[_0x224015(0x214)](_0x5ca7bf,_0x5f152b,_0x6c3b22);return _0x3cc539(_0x48f275,_0x5bebc3),_0x3c183f[_0x224015(0x334)]({'unitId':_0x5ca7bf,'subUnitId':_0x5f152b,'token':_0x6c3b22,'type':_0x3f20dc[_0x224015(0x1cf)]}),!0x0;}},_0x586955={'type':_0x39781c['CommandType']['MUTATION'],'id':_0x25f219(0x256),'handler'(_0x46bf3b,_0x16d051){const _0x3ab000=_0x25f219;if(!_0x16d051)return!0x1;if(!!_0x46bf3b[_0x3ab000(0x46f)](_0x39781c[_0x3ab000(0x28b)])[_0x3ab000(0x310)](_0x4f4b80))return!0x0;const _0x6d0027=_0x46bf3b[_0x3ab000(0x46f)](_0x414f7d['SheetsPivotDataSourceModel']),{unitId:_0x4f7e62,subUnitId:_0x3b7331,pivotTableId:_0x6372c7,fieldId:_0x7a5850,filterInfo:_0x4e402c}=_0x16d051,_0x5b4699=_0x6d0027[_0x3ab000(0x20e)](_0x6372c7);if(!_0x5b4699)return!0x1;_0x5b4699[_0x3ab000(0x192)](_0x7a5850,_0x4e402c);const _0x2814f8=_0x6d0027[_0x3ab000(0x214)](_0x4f7e62,_0x3b7331,_0x6372c7);return _0x5179b3(_0x2814f8,_0x16d051),_0x6d0027['addDirtyPivotTable']({'unitId':_0x4f7e62,'subUnitId':_0x3b7331,'token':_0x6372c7,'type':_0x3f20dc[_0x3ab000(0x1cf)]}),!0x0;}},_0xcad73f={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x168),'handler'(_0x99968e,_0x5ac9f5){const _0x2383e5=_0x25f219;if(!_0x5ac9f5)return!0x1;if(!!_0x99968e[_0x2383e5(0x46f)](_0x39781c[_0x2383e5(0x28b)])[_0x2383e5(0x310)](_0x4f4b80))return!0x0;const _0x6e58f3=_0x99968e[_0x2383e5(0x46f)](_0x414f7d[_0x2383e5(0x2f3)]),{unitId:_0x50beb4,subUnitId:_0x3bdebe,pivotTableId:_0x49ca58,area:_0xe09e2,index:_0x1efedd,fieldId:_0x17cf58}=_0x5ac9f5,_0x3b7d0f=_0x6e58f3[_0x2383e5(0x20e)](_0x49ca58);if(!_0x3b7d0f)return!0x1;_0x3b7d0f['updateFieldPosition'](_0x17cf58,_0xe09e2,_0x1efedd);const _0xeb7bda=_0x6e58f3[_0x2383e5(0x214)](_0x50beb4,_0x3bdebe,_0x49ca58);return _0x1372fa(_0xeb7bda,_0x5ac9f5),_0x6e58f3['addDirtyPivotTable']({'unitId':_0x50beb4,'subUnitId':_0x3bdebe,'token':_0x49ca58,'type':_0x3f20dc['Set']}),!0x0;}},_0x404c17={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x226),'handler'(_0x1bc811,_0x36db11){const _0x1bda8c=_0x25f219;if(!_0x36db11)return!0x1;if(!!_0x1bc811['get'](_0x39781c[_0x1bda8c(0x28b)])[_0x1bda8c(0x310)](_0x4f4b80))return!0x0;const _0x4be930=_0x1bc811[_0x1bda8c(0x46f)](_0x414f7d[_0x1bda8c(0x2f3)]),{unitId:_0x5dde00,subUnitId:_0x913a84,pivotTableId:_0x345696,sourceName:_0x2c6f6f,dataFieldId:_0x937c9c,tableFieldId:_0x1beba4}=_0x36db11,_0x1395ff=_0x4be930[_0x1bda8c(0x20e)](_0x345696);if(!_0x1395ff)return!0x1;_0x1395ff[_0x1bda8c(0x20f)](_0x1beba4,_0x2c6f6f,_0x937c9c);const _0x151b61=_0x4be930[_0x1bda8c(0x214)](_0x5dde00,_0x913a84,_0x345696);return _0x4a2c75(_0x151b61,_0x36db11),_0x4be930['addDirtyPivotTable']({'unitId':_0x5dde00,'subUnitId':_0x913a84,'token':_0x345696,'type':_0x3f20dc[_0x1bda8c(0x1cf)]}),!0x0;}},_0x56d7c0={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x5ef499,_0x56cd95){const _0x1c989e=_0x25f219;if(!_0x56cd95)return!0x1;if(!!_0x5ef499['get'](_0x39781c[_0x1c989e(0x28b)])[_0x1c989e(0x310)](_0x4f4b80))return!0x0;const _0x57eeb4=_0x5ef499[_0x1c989e(0x46f)](_0x414f7d['SheetsPivotDataSourceModel']),{unitId:_0x399133,subUnitId:_0x11d6c2,pivotTableId:_0x2b2dba,valuePosition:_0x1a7e49,index:_0x385917}=_0x56cd95,_0x598025=_0x57eeb4[_0x1c989e(0x20e)](_0x2b2dba);if(!_0x598025)return!0x1;_0x598025[_0x1c989e(0x45e)](_0x1a7e49,_0x385917);const _0xf5cad4=_0x57eeb4['getPivotTableModelConfig'](_0x399133,_0x11d6c2,_0x2b2dba);return _0x6635b(_0xf5cad4,_0x56cd95),_0x57eeb4[_0x1c989e(0x334)]({'unitId':_0x399133,'subUnitId':_0x11d6c2,'token':_0x2b2dba,'type':_0x3f20dc[_0x1c989e(0x1cf)]}),!0x0;}};function _0x4820c8(_0x4094dd,_0x322989,_0x5b0eb2){const _0x133a9f=_0x25f219,{pivotTableId:_0xc6169d,unitId:_0x52a8ff,subUnitId:_0x4cb395}=_0x322989,_0x2a25d2=[],_0x42503a=[];for(const _0x5e0082 of _0x5b0eb2)switch(_0x5e0082[_0x133a9f(0x185)]){case _0x359d7d[_0x133a9f(0x427)][_0x133a9f(0x222)]:{const {fieldJson:_0xe5e46c,area:_0x45a743,index:_0x53a8d8}=_0x5e0082,_0x4b316a={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldJson':_0xe5e46c,'area':_0x45a743,'index':_0x53a8d8},_0x230a44={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0xe5e46c['id'],'area':_0x45a743,'index':_0x53a8d8};_0x2a25d2['push']({'id':_0x553dff['id'],'params':_0x4b316a}),_0x42503a['unshift']({'id':_0x5d8d5f['id'],'params':_0x230a44});}break;case _0x359d7d[_0x133a9f(0x427)][_0x133a9f(0x2f2)]:{const {fieldId:_0x2f1c2f,newSubtotalType:_0x1675d3,oldSubtotalType:_0x1e39b4}=_0x5e0082,_0x3e5012={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x2f1c2f,'subtotalType':_0x1675d3};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0xac6541['id'],'params':_0x3e5012});const _0x57c3e5={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x2f1c2f,'subtotalType':_0x1e39b4};_0x42503a[_0x133a9f(0x456)]({'id':_0xac6541['id'],'params':_0x57c3e5});}break;case _0x359d7d[_0x133a9f(0x427)]['RemoveField']:{const {fieldId:_0xa9717e,fieldJson:_0x21ad9e,area:_0x57b2d9,index:_0x354e3c}=_0x5e0082,_0x13d177={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0xa9717e,'index':_0x354e3c,'area':_0x57b2d9};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0x5d8d5f['id'],'params':_0x13d177});const _0x39d97c={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldJson':_0x21ad9e,'area':_0x57b2d9,'index':_0x354e3c};_0x42503a[_0x133a9f(0x456)]({'id':_0x553dff['id'],'params':_0x39d97c});}break;case _0x359d7d[_0x133a9f(0x427)][_0x133a9f(0x322)]:{const {fieldId:_0x229005,oldName:_0x1f2ab0,newName:_0x5a67ce}=_0x5e0082,_0x36bfa9={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x229005,'name':_0x5a67ce};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0x339ac7['id'],'params':_0x36bfa9});const _0x1f9ffb={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x229005,'name':_0x1f2ab0};_0x42503a[_0x133a9f(0x456)]({'id':_0x339ac7['id'],'params':_0x1f9ffb});}break;case _0x359d7d['PivotTableChangeTypeEnum']['SetFilterInfo']:{const {fieldId:_0x36e7e9,oldFilterInfo:_0x1b99d8,newFilterInfo:_0x3bed2e}=_0x5e0082,_0x28edb0={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x36e7e9,'filterInfo':_0x3bed2e};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0x5b79f7['id'],'params':_0x28edb0});const _0x150b14={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x36e7e9,'filterInfo':_0x1b99d8};_0x42503a[_0x133a9f(0x456)]({'id':_0x5b79f7['id'],'params':_0x150b14});}break;case _0x359d7d[_0x133a9f(0x427)][_0x133a9f(0x315)]:{const {fieldId:_0x30e8c1,oldSortInfo:_0xffbf11,newSortInfo:_0x50b071}=_0x5e0082,_0x4c4582={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x30e8c1,'sortInfo':_0x50b071};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0x3f7eee['id'],'params':_0x4c4582});const _0x169bca={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x30e8c1,'sortInfo':_0xffbf11};_0x42503a[_0x133a9f(0x456)]({'id':_0x3f7eee['id'],'params':_0x169bca});}break;case _0x359d7d['PivotTableChangeTypeEnum'][_0x133a9f(0x174)]:{const {oldOptions:_0x2939ab,newOptions:_0x36ef86}=_0x5e0082,_0x16a0a5={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'options':_0x36ef86};_0x2a25d2['push']({'id':_0x49ec5d['id'],'params':_0x16a0a5});const _0x673ca2={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'options':_0x2939ab};_0x42503a[_0x133a9f(0x456)]({'id':_0x49ec5d['id'],'params':_0x673ca2});}break;case _0x359d7d[_0x133a9f(0x427)][_0x133a9f(0x3ad)]:{const {oldArea:_0x5d8c8e,newArea:_0x29524b,oldIndex:_0x1b3bba,newIndex:_0xde496d,fieldId:_0x687715}=_0x5e0082,_0x4b0a5f={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x687715,'area':_0x29524b,'index':_0xde496d,'oldArea':_0x5d8c8e,'oldIndex':_0x1b3bba};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0xcad73f['id'],'params':_0x4b0a5f});const _0x2022ae={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x687715,'area':_0x5d8c8e,'index':_0x1b3bba,'oldArea':_0x29524b,'oldIndex':_0xde496d};_0x42503a['unshift']({'id':_0xcad73f['id'],'params':_0x2022ae});}break;case _0x359d7d[_0x133a9f(0x427)]['UpdateValuePosition']:{const {oldValuePosition:_0x2a502b,newValuePosition:_0x4280f6,oldIndex:_0x2791de,newIndex:_0x5b21ff}=_0x5e0082,_0x3079b9={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'valuePosition':_0x4280f6,'index':_0x5b21ff};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0x56d7c0['id'],'params':_0x3079b9});const _0x5dd048={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'valuePosition':_0x2a502b,'index':_0x2791de};_0x42503a[_0x133a9f(0x456)]({'id':_0x56d7c0['id'],'params':_0x5dd048});}break;case _0x359d7d['PivotTableChangeTypeEnum']['SetCollapse']:{const {fieldId:_0x277ee6,collapse:_0x29154e,item:_0x1132b0}=_0x5e0082,_0x697565={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x277ee6,'collapse':_0x29154e,'item':_0x1132b0};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0x5c376c['id'],'params':_0x697565});const _0x32d44a={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x277ee6,'collapse':!_0x29154e,'item':_0x1132b0};_0x42503a['unshift']({'id':_0x5c376c['id'],'params':_0x32d44a});}break;case _0x359d7d['PivotTableChangeTypeEnum'][_0x133a9f(0x3df)]:{const {newFormat:_0x3a18ba,oldFormat:_0x4e2217,fieldId:_0x166930}=_0x5e0082,_0x26bfd6={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x166930,'format':_0x3a18ba};_0x2a25d2['push']({'id':_0x4a1b5a['id'],'params':_0x26bfd6});const _0x5a38f5={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x166930,'format':_0x4e2217};_0x42503a['unshift']({'id':_0x4a1b5a['id'],'params':_0x5a38f5});}break;case _0x359d7d[_0x133a9f(0x427)]['UpdateSource']:{const {tableFieldId:_0x2aba33,oldSourceName:_0x3be9d2,newSourceName:_0x14fb02,oldDataFieldId:_0x1c3f93,newDataFieldId:_0x2be926}=_0x5e0082,_0x2655ac={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'tableFieldId':_0x2aba33,'sourceName':_0x14fb02,'dataFieldId':_0x2be926};_0x2a25d2['push']({'id':_0x404c17['id'],'params':_0x2655ac});const _0x478a75={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'tableFieldId':_0x2aba33,'sourceName':_0x3be9d2,'dataFieldId':_0x1c3f93};_0x42503a[_0x133a9f(0x456)]({'id':_0x404c17['id'],'params':_0x478a75});}break;case _0x359d7d[_0x133a9f(0x427)][_0x133a9f(0x15c)]:{const {fieldId:_0x496e4c,filterInfo:_0x2f0576,oldFilterInfo:_0x3edfae}=_0x5e0082,_0x27cdfe={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x496e4c,'filterInfo':_0x2f0576};_0x2a25d2[_0x133a9f(0x1cb)]({'id':_0x586955['id'],'params':_0x27cdfe});const _0x42eeb7={'unitId':_0x52a8ff,'subUnitId':_0x4cb395,'pivotTableId':_0xc6169d,'fieldId':_0x496e4c,'filterInfo':_0x3edfae};_0x42503a['unshift']({'id':_0x586955['id'],'params':_0x42eeb7});}}return{'redos':_0x2a25d2,'undos':_0x42503a};}function _0x137019(_0x3ea6e9,_0x1c1db0){const _0x5d0a22=_0x25f219;var _0x1e57c5;const _0x141bb9=_0x3ea6e9[_0x5d0a22(0x46f)](_0x414f7d[_0x5d0a22(0x35e)]),{cellInfo:_0x1ae505,view:_0x3af47a,isEmpty:_0x360afc}=_0x1c1db0;return(_0x1e57c5=_0x141bb9[_0x5d0a22(0x29d)][_0x5d0a22(0x2db)](_0x46a238)(_0x957dd6,{'cellInfo':_0x1ae505,'view':_0x3af47a,'isEmpty':_0x360afc}))!=null?_0x1e57c5:_0x957dd6;}const _0x8619df={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x216)],'id':_0x25f219(0x1a4),async 'handler'(_0x3f6867,_0x23703e){const _0x5ab3bc=_0x25f219;if(!_0x23703e)return!0x1;const _0x1cc2bf=_0x3f6867[_0x5ab3bc(0x46f)](_0x39781c[_0x5ab3bc(0x454)]),_0x5fe49d=_0x3f6867['get'](_0x414f7d[_0x5ab3bc(0x1f6)]),_0x5deeb4=_0x3f6867[_0x5ab3bc(0x46f)](_0x39781c[_0x5ab3bc(0x1f8)]),{pivotTableId:_0x5bec7e,dataFieldId:_0x2f3c69,fieldArea:_0x4fdfe1,index:_0x4e0e79,unitId:_0x2516fa,subUnitId:_0x19481c}=_0x23703e,_0x2373f4=(await _0x5fe49d[_0x5ab3bc(0x1ad)]({'unitId':_0x2516fa,'subUnitId':_0x19481c,'pivotTableId':_0x5bec7e,'params':{'type':_0x11ef1a[_0x5ab3bc(0x2cf)],'addPivotField':{'dataFieldId':_0x2f3c69,'fieldArea':_0x4fdfe1,'index':_0x4e0e79}}}))[_0x5ab3bc(0x1d5)]['addPivotField'];if(!_0x2373f4)return!0x1;const {view:_0x45ac11,changesets:_0x402108,isEmpty:_0x4152ef,pivotTableConfig:_0x47eafd,shouldBeAddedGroupJSON:_0x25cafa}=_0x2373f4,_0x30c9fc=_0x47eafd['targetCellInfo'],_0x3d22e6=new _0x359d7d['PivotView']();_0x3d22e6[_0x5ab3bc(0x3b0)](_0x45ac11);const _0x85af2={'cellInfo':_0x30c9fc,'view':_0x3d22e6,'isEmpty':_0x4152ef};if(!await _0x3f6867[_0x5ab3bc(0x46f)](_0x414f7d['SheetsPivotTableService'])[_0x5ab3bc(0x38f)][_0x5ab3bc(0x1f7)](_0x395a1e)(!0x0,_0x85af2))return!0x1;const _0x521c70=_0x1541c9(_0x3f6867,_0x3d22e6,_0x30c9fc,_0x4152ef),_0x247371=_0x137019(_0x3f6867,_0x85af2),{undos:_0x5a4514,redos:_0x50b142}=_0x4820c8(_0x1cc2bf,{'pivotTableId':_0x5bec7e,'unitId':_0x2516fa,'subUnitId':_0x19481c},_0x402108);return _0x25cafa&&(_0x50b142[_0x5ab3bc(0x456)]({'id':_0x4e2ffa['id'],'params':{'pivotTableId':_0x5bec7e,'fieldJSON':_0x25cafa,'unitId':_0x2516fa,'subUnitId':_0x19481c}}),_0x5a4514[_0x5ab3bc(0x1cb)]({'id':_0x500da1['id'],'params':{'pivotTableId':_0x5bec7e,'dataFieldId':_0x25cafa['id'],'unitId':_0x2516fa,'subUnitId':_0x19481c}})),_0x39781c[_0x5ab3bc(0x184)]([..._0x521c70[_0x5ab3bc(0x30a)],..._0x247371['redos'],..._0x50b142],_0x1cc2bf),_0x5deeb4[_0x5ab3bc(0x164)]({'unitID':_0x2516fa,'redoMutations':[..._0x521c70['redos'],..._0x247371['redos'],..._0x50b142],'undoMutations':[..._0x521c70[_0x5ab3bc(0x312)],..._0x247371['undos'],..._0x5a4514]}),!0x0;}},_0x38dd09=()=>typeof process<'u'&&process[_0x25f219(0x2e5)]!=null&&process[_0x25f219(0x2e5)]['node']!=null,_0xd4a765={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':'sheet.mutation.add-pivot-table','handler'(_0x4afe66,_0xe70e3c){const _0x4bdcc2=_0x25f219;var _0xd210c5;if(!_0xe70e3c)return!0x1;const _0xed728a=_0x4afe66[_0x4bdcc2(0x46f)](_0x39781c[_0x4bdcc2(0x28b)]);if(!!_0xed728a[_0x4bdcc2(0x310)](_0x4f4b80))return!0x0;const _0x528627=_0x4afe66[_0x4bdcc2(0x46f)](_0x39781c['IUniverInstanceService']),_0x38424a=_0x4afe66[_0x4bdcc2(0x46f)](_0x414f7d[_0x4bdcc2(0x2f3)]),{pivotTableId:_0xff4564,pivotTableConfig:_0x2062b5,collectionConfig:_0x317575,unitId:_0x1f666e,subUnitId:_0x859aca}=_0xe70e3c,{sourceRangeInfo:_0x3cd6d1,fieldsConfig:_0x156716,targetCellInfo:_0x42ce18}=_0x2062b5,_0x415c2f=_0x528627[_0x4bdcc2(0x3cd)](_0x1f666e);if(!_0x415c2f||!_0x415c2f[_0x4bdcc2(0x180)](_0x859aca))return!0x1;if(!_0x38dd09()){let _0x622843=0x0;_0x415c2f[_0x4bdcc2(0x407)]()['forEach'](_0x103854=>{const _0x21d867=_0x4bdcc2;var _0x3263bc,_0x4f90ad;_0x622843+=(_0x4f90ad=(_0x3263bc=_0x38424a['getSubUnitPivotConfigs'](_0x1f666e,_0x103854[_0x21d867(0x197)]()))==null?void 0x0:_0x3263bc[_0x21d867(0x27f)])!=null?_0x4f90ad:0x0;});const _0x5dde8e=(_0xd210c5=_0xed728a[_0x4bdcc2(0x310)](_0x462881[_0x4bdcc2(0x38e)]))!=null?_0xd210c5:{},{ls:_0xd484f9,pbk:_0x45195c}=_0x5dde8e;if(!_0x2c449c(_0xd484f9,_0x45195c))throw new _0x39781c['CustomCommandExecutionError']('limit\x20pivot');const _0x390756=_0x2a99f9(_0x102787,_0xd484f9,_0x45195c)[_0x4bdcc2(0x2d5)];if(_0x622843>=_0x390756)throw new _0x39781c[(_0x4bdcc2(0x387))](_0x4bdcc2(0x23b));}if(!_0x317575||!_0x156716)return!0x1;const {collection:_0x156f6a,updateDataFieldList:_0x3bf247}=_0x38424a['addCollectionByJSON'](_0xff4564,_0x317575,_0x3cd6d1,_0x42ce18);_0x38424a['refreshData'](_0x156f6a,_0x3bf247,_0x3cd6d1);const _0x412759=new _0x359d7d[(_0x4bdcc2(0x3de))](_0x156f6a,void 0x0,_0xff4564);_0x412759[_0x4bdcc2(0x3a8)](_0x156716);const _0x103879=JSON['parse'](JSON['stringify'](_0x2062b5));return _0x38424a[_0x4bdcc2(0x223)](_0x1f666e,_0x859aca,_0xff4564,_0x412759,_0x103879),_0x38424a['addDirtyPivotTable']({'unitId':_0x1f666e,'subUnitId':_0x859aca,'token':_0xff4564,'type':_0x3f20dc[_0x4bdcc2(0x283)],'pivotConfig':_0x103879}),!0x0;}},_0x33b700={'type':_0x39781c[_0x25f219(0x3d9)]['COMMAND'],'id':_0x25f219(0x31d),async 'handler'(_0x35a13f,_0x2d3247){const _0x330f3e=_0x25f219;if(!_0x2d3247)return!0x1;const {sourceDataInfo:_0x42c329,pivotTableConfig:_0x32dc1a}=_0x2d3247;if(!_0x42c329||!_0x32dc1a)return!0x1;const {unitId:_0x53433d,subUnitId:_0x3f948a,range:_0x170e26}=_0x42c329,_0x281541=_0x35a13f[_0x330f3e(0x46f)](_0x39781c[_0x330f3e(0x364)]),_0x351533=_0x35a13f[_0x330f3e(0x46f)](_0x414f7d[_0x330f3e(0x1f6)]),_0xd9b015=_0x35a13f[_0x330f3e(0x46f)](_0x39781c[_0x330f3e(0x461)]),_0x30d2ef=_0x35a13f[_0x330f3e(0x46f)](_0x39781c['ICommandService']),_0x5f8480=_0x281541['getUnit'](_0x53433d);if(!_0x5f8480)return!0x1;const _0x47a27d=_0x5f8480[_0x330f3e(0x180)](_0x3f948a);if(!_0x47a27d)return!0x1;const _0xdfcdf9=_0x359d7d['generateHexNumber'](0x8),_0x48e033=_0x170e26||{'startRow':0x0,'startColumn':0x0,'endRow':_0x47a27d[_0x330f3e(0x463)]()-0x1,'endColumn':_0x47a27d[_0x330f3e(0x450)]()-0x1};_0x48e033['rangeType']=_0x39781c['RANGE_TYPE'][_0x330f3e(0x231)];const _0x1d45e9=(await _0x351533[_0x330f3e(0x1ad)]({'unitId':_0x53433d,'subUnitId':_0x3f948a,'pivotTableId':_0xdfcdf9,'params':{'type':_0x11ef1a[_0x330f3e(0x167)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x53433d,'sheetName':_0x47a27d[_0x330f3e(0x39f)](),'subUnitId':_0x3f948a,'range':_0x48e033},'pivotTableId':_0xdfcdf9,'pivotTableIndexConfig':_0x32dc1a}}}))[_0x330f3e(0x1d5)][_0x330f3e(0x232)];if(!_0x1d45e9)return!0x1;const {isEmpty:_0x1ca5db,fieldsConfig:_0x45dbd0,collectionConfig:_0x2fe407,changesets:_0x413ad5}=_0x1d45e9,_0x1d0330=_0x5f8480[_0x330f3e(0x407)]()[_0x330f3e(0x37d)],_0x1b0b29=_0x39781c[_0x330f3e(0x1ba)]({'rowCount':_0x47a27d[_0x330f3e(0x463)]()-0x1,'columnCount':_0x47a27d[_0x330f3e(0x450)]()-0x1});_0x1b0b29['id']=_0x39781c[_0x330f3e(0x160)](),_0x1b0b29[_0x330f3e(0x323)]=_0x5f8480[_0x330f3e(0x1c4)](''+_0xd9b015['t'](_0x330f3e(0x349)));const _0x5598b7={'index':_0x1d0330,'sheet':_0x1b0b29,'unitId':_0x53433d},{redos:_0x48ff3b}=_0x4820c8(_0x30d2ef,{'pivotTableId':_0xdfcdf9,'unitId':_0x53433d,'subUnitId':_0x1b0b29['id']},_0x413ad5),_0x216edb=[{'id':_0x1457ac[_0x330f3e(0x297)]['id'],'params':_0x5598b7},{'id':_0xd4a765['id'],'params':{'unitId':_0x53433d,'subUnitId':_0x1b0b29['id'],'pivotTableId':_0xdfcdf9,'pivotTableConfig':{'isEmpty':_0x1ca5db,'fieldsConfig':_0x45dbd0,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x53433d,'subUnitId':_0x1b0b29['id']},'sourceRangeInfo':{'subUnitId':_0x3f948a,'unitId':_0x53433d,'range':_0x48e033,'sheetName':_0x47a27d[_0x330f3e(0x39f)]()}},'collectionConfig':_0x2fe407}},..._0x48ff3b];return _0x39781c['sequenceExecute'](_0x216edb,_0x30d2ef),!0x0;}},_0x4f56ca={'type':_0x39781c[_0x25f219(0x3d9)]['MUTATION'],'id':'sheet.mutation.remove-pivot-table','handler'(_0x1d4f6a,_0x4070a1){const _0x599887=_0x25f219;if(!_0x4070a1)return!0x1;if(!!_0x1d4f6a['get'](_0x39781c['IConfigService'])[_0x599887(0x310)](_0x4f4b80))return!0x0;const {pivotTableId:_0x2ea247,unitId:_0x4cac50,subUnitId:_0x856c26}=_0x4070a1,_0x582067=_0x1d4f6a[_0x599887(0x46f)](_0x414f7d[_0x599887(0x2f3)]);return _0x582067[_0x599887(0x18f)](_0x4cac50,_0x856c26,_0x2ea247)?(_0x582067[_0x599887(0x334)]({'unitId':_0x4cac50,'subUnitId':_0x856c26,'token':_0x2ea247,'type':_0x3f20dc[_0x599887(0x18e)]}),_0x582067[_0x599887(0x445)](_0x4cac50,_0x856c26,_0x2ea247),!0x0):!0x1;}},_0x5e3275={'type':_0x39781c[_0x25f219(0x3d9)]['COMMAND'],'id':_0x25f219(0x169),async 'handler'(_0x5383ae,_0x2c79bd){const _0x9ff78a=_0x25f219;var _0x3c7c3c,_0x3337c8;const _0x35a4c1=_0x5383ae['get'](_0x39781c['ICommandService']),_0x1356ed=_0x5383ae['get'](_0x39781c[_0x9ff78a(0x364)]),_0x155e7f=_0x5383ae[_0x9ff78a(0x46f)](_0x39781c[_0x9ff78a(0x461)]),_0x44943e=_0x5383ae['get'](_0x414f7d['SheetsPivotRPCService']),_0x1e7f4e=_0x5383ae['get'](_0x39781c['IUndoRedoService']),_0x893d35=_0x5383ae[_0x9ff78a(0x46f)](_0x414f7d[_0x9ff78a(0x27b)]),_0x1ebaca=_0x5383ae['get'](_0x39781c[_0x9ff78a(0x28b)]);if(!_0x2c79bd)return!0x1;const {pivotTableConfig:_0xa98283,positionType:_0x22d0bd}=_0x2c79bd,{targetCellInfo:_0x25693e,sourceRangeInfo:_0x403fea}=_0xa98283,{unitId:_0x291d20,subUnitId:_0xb06a90}=_0x25693e,_0x5cb47f=_0x1356ed[_0x9ff78a(0x3cd)](_0x291d20);if(!_0x5cb47f)return!0x1;let _0x3f6032=0x0;_0x5cb47f[_0x9ff78a(0x407)]()['forEach'](_0x2cde0d=>{const _0xdb20a6=_0x9ff78a;var _0x47f1ab,_0x15bff1;_0x3f6032+=(_0x15bff1=(_0x47f1ab=_0x893d35[_0xdb20a6(0x1eb)](_0x291d20,_0x2cde0d['getSheetId']()))==null?void 0x0:_0x47f1ab[_0xdb20a6(0x27f)])!=null?_0x15bff1:0x0;});const _0x454702=(_0x3c7c3c=_0x1ebaca[_0x9ff78a(0x310)](_0x462881['LS_CONFIG_KEY']))!=null?_0x3c7c3c:{},{ls:_0x4e80a1,pbk:_0x5aaaa7}=_0x454702;if(!_0x2c449c(_0x4e80a1,_0x5aaaa7))return!0x1;const _0x18caf9=_0x2a99f9(_0x102787,_0x4e80a1,_0x5aaaa7)[_0x9ff78a(0x2d5)];if(_0x3f6032>=_0x18caf9)return!0x1;const _0x2a5cb0=_0x2c79bd[_0x9ff78a(0x165)]||_0x359d7d[_0x9ff78a(0x426)](0x8),_0x494af8=(await _0x44943e[_0x9ff78a(0x1ad)]({'unitId':_0x291d20,'subUnitId':_0xb06a90,'pivotTableId':_0x2a5cb0,'params':{'type':_0x11ef1a[_0x9ff78a(0x245)],'addPivotTable':{'sourceRangeInfo':_0x403fea,'pivotTableId':_0x2a5cb0}}}))['result'][_0x9ff78a(0x223)];if(!_0x494af8)return!0x1;const {view:_0x38d17d,isEmpty:_0x4c3866,fieldsConfig:_0x2f49d3,collectionConfig:_0x344d65}=_0x494af8,_0x15d3ff=[],_0x393193=[];if(_0x22d0bd===_0x40cc2c[_0x9ff78a(0x2a3)]){const _0x468a36=_0x5cb47f['getSheets']()[_0x9ff78a(0x37d)],_0x1abcd9=_0x39781c[_0x9ff78a(0x1ba)]({});_0x1abcd9['id']=_0xa98283['targetCellInfo'][_0x9ff78a(0x1e1)],_0x1abcd9[_0x9ff78a(0x323)]=(_0x3337c8=_0xa98283['targetCellInfo'][_0x9ff78a(0x22a)])!=null?_0x3337c8:_0x5cb47f['generateNewSheetName'](''+_0x155e7f['t'](_0x9ff78a(0x349)));const _0x59ebae={'index':_0x468a36,'sheet':_0x1abcd9,'unitId':_0x291d20},_0xab1f69=_0x1457ac[_0x9ff78a(0x465)](_0x5383ae,_0x59ebae);_0x15d3ff[_0x9ff78a(0x1cb)]({'id':_0x1457ac['RemoveSheetMutation']['id'],'params':_0xab1f69}),_0x393193[_0x9ff78a(0x1cb)]({'id':_0x1457ac['InsertSheetMutation']['id'],'params':_0x59ebae});}else{if(!_0x5cb47f[_0x9ff78a(0x180)](_0xb06a90))return!0x1;const _0x4b347b=_0x1541c9(_0x5383ae,new _0x359d7d[(_0x9ff78a(0x266))](),_0x25693e,!0x0);_0x393193[_0x9ff78a(0x1cb)](..._0x4b347b[_0x9ff78a(0x30a)]),_0x15d3ff[_0x9ff78a(0x1cb)](..._0x4b347b['undos']);const _0x53b18b={'cellInfo':_0x25693e,'view':_0x38d17d,'isEmpty':_0x4c3866};if(!await _0x5383ae[_0x9ff78a(0x46f)](_0x414f7d[_0x9ff78a(0x35e)])[_0x9ff78a(0x38f)][_0x9ff78a(0x1f7)](_0x395a1e)(!0x0,_0x53b18b))return!0x1;const _0x246660=_0x137019(_0x5383ae,_0x53b18b);_0x393193['push'](..._0x246660[_0x9ff78a(0x30a)]),_0x15d3ff[_0x9ff78a(0x1cb)](..._0x246660['undos']);}return _0x393193['push']({'id':_0xd4a765['id'],'params':{'unitId':_0x25693e[_0x9ff78a(0x3fe)],'subUnitId':_0x25693e[_0x9ff78a(0x1e1)],'pivotTableId':_0x2a5cb0,'pivotTableConfig':{'targetCellInfo':_0x25693e,'sourceRangeInfo':_0x403fea,'fieldsConfig':_0x2f49d3},'collectionConfig':_0x344d65}}),_0x15d3ff['unshift']({'id':_0x4f56ca['id'],'params':{'unitId':_0x291d20,'subUnitId':_0xb06a90,'pivotTableId':_0x2a5cb0}}),_0x39781c[_0x9ff78a(0x184)](_0x393193,_0x35a4c1)&&_0x1e7f4e[_0x9ff78a(0x164)]({'unitID':_0x291d20,'undoMutations':_0x15d3ff,'redoMutations':_0x393193}),!0x0;}},_0x4a1aac={'type':_0x39781c['CommandType']['COMMAND'],'id':_0x25f219(0x29b),async 'handler'(_0x4f3a15,_0x1722ff){const _0x3c1ba2=_0x25f219;if(!_0x1722ff)return!0x1;const _0x4c2bdb=_0x4f3a15[_0x3c1ba2(0x46f)](_0x39781c['ICommandService']),_0x28801e=_0x4f3a15[_0x3c1ba2(0x46f)](_0x414f7d[_0x3c1ba2(0x1f6)]),_0x11fb21=_0x4f3a15[_0x3c1ba2(0x46f)](_0x39781c[_0x3c1ba2(0x1f8)]),{pivotTableId:_0xd29110,fieldId:_0x5ae9b3,area:_0x309295,index:_0x1c22d7,unitId:_0x3c6dce,subUnitId:_0x3a1415}=_0x1722ff,_0xa3c506=(await _0x28801e[_0x3c1ba2(0x1ad)]({'unitId':_0x3c6dce,'subUnitId':_0x3a1415,'pivotTableId':_0xd29110,'params':{'type':_0x11ef1a[_0x3c1ba2(0x39e)],'movePivotField':{'fieldId':_0x5ae9b3,'area':_0x309295,'index':_0x1c22d7}}}))['result'][_0x3c1ba2(0x1e4)];if(!_0xa3c506)return!0x1;const {changesets:_0x196484,view:_0x39b4b4,isEmpty:_0x46b4d4,pivotTableConfig:_0x5a3208}=_0xa3c506,_0x59c21c=_0x5a3208[_0x3c1ba2(0x1df)],_0x44e14a=new _0x359d7d['PivotView']();_0x44e14a[_0x3c1ba2(0x3b0)](_0x39b4b4);const _0x3b6522={'cellInfo':_0x59c21c,'view':_0x44e14a,'isEmpty':_0x46b4d4};if(!await _0x4f3a15[_0x3c1ba2(0x46f)](_0x414f7d['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x395a1e)(!0x0,_0x3b6522))return!0x1;const _0x6a86d1=_0x1541c9(_0x4f3a15,_0x44e14a,_0x59c21c,_0x46b4d4),_0x173a64=_0x137019(_0x4f3a15,_0x3b6522),{redos:_0x3fff99,undos:_0x5de9a2}=_0x4820c8(_0x4c2bdb,{'pivotTableId':_0xd29110,'unitId':_0x3c6dce,'subUnitId':_0x3a1415},_0x196484);return _0x39781c['sequenceExecute']([..._0x6a86d1['redos'],..._0x173a64['redos'],..._0x3fff99],_0x4c2bdb),_0x11fb21[_0x3c1ba2(0x164)]({'unitID':_0x3c6dce,'redoMutations':[..._0x6a86d1[_0x3c1ba2(0x30a)],..._0x173a64[_0x3c1ba2(0x30a)],..._0x3fff99],'undoMutations':[..._0x6a86d1['undos'],..._0x173a64['undos'],..._0x5de9a2]}),!0x0;}},_0x248048={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x23e),'handler'(_0x5e32ac,_0x1e4648){const _0x28121a=_0x25f219;if(!_0x1e4648)return!0x1;if(!!_0x5e32ac['get'](_0x39781c[_0x28121a(0x28b)])['getConfig'](_0x4f4b80))return!0x0;const {pivotTableId:_0x4e6269,targetCellPosition:_0x3c8ece,unitId:_0x18a4b6,subUnitId:_0x27e252}=_0x1e4648,_0xca5d48=_0x5e32ac['get'](_0x414f7d[_0x28121a(0x2f3)]);if(!_0xca5d48[_0x28121a(0x20e)](_0x1e4648[_0x28121a(0x165)]))return!0x1;const _0x219a72=_0xca5d48[_0x28121a(0x473)](_0x4e6269);if(!_0x219a72)return!0x1;const _0x104a2b=_0xca5d48[_0x28121a(0x193)](_0x219a72['unitId'],_0x1e4648[_0x28121a(0x165)]);if(!_0x104a2b)return!0x1;const _0x18bb60=_0xca5d48[_0x28121a(0x18f)](_0x219a72[_0x28121a(0x3fe)],_0x219a72['subUnitId'],_0x4e6269);if(!_0x18bb60)return!0x1;const _0x52be1d=_0x39781c[_0x28121a(0x206)][_0x28121a(0x25d)](_0x18bb60);_0x52be1d[_0x28121a(0x1df)]={'unitId':_0x18a4b6,'subUnitId':_0x27e252,'row':_0x3c8ece[_0x28121a(0x1a8)],'col':_0x3c8ece[_0x28121a(0x331)]};const _0x3929dd=_0x104a2b[_0x28121a(0x451)]();if(_0x219a72[_0x28121a(0x1e1)]===_0x27e252&&_0x219a72[_0x28121a(0x3fe)]===_0x18a4b6)_0xca5d48['setPivotTable'](_0x18a4b6,_0x27e252,_0x4e6269,_0x52be1d),_0xca5d48[_0x28121a(0x334)]({'unitId':_0x18a4b6,'subUnitId':_0x27e252,'token':_0x4e6269,'type':_0x3f20dc[_0x28121a(0x1cf)]});else{_0xca5d48[_0x28121a(0x334)]({'unitId':_0x219a72[_0x28121a(0x3fe)],'subUnitId':_0x219a72[_0x28121a(0x1e1)],'token':_0x4e6269,'type':_0x3f20dc[_0x28121a(0x18e)]}),_0xca5d48[_0x28121a(0x445)](_0x219a72[_0x28121a(0x3fe)],_0x219a72[_0x28121a(0x1e1)],_0x4e6269);const _0x5d1b95=_0xca5d48[_0x28121a(0x468)](_0x4e6269,_0x3929dd,_0x18bb60['sourceRangeInfo'],_0x52be1d[_0x28121a(0x1df)]),_0x35b894=new _0x359d7d['PivotTable'](_0x5d1b95[_0x28121a(0x1d6)],void 0x0,_0x4e6269);_0x35b894[_0x28121a(0x3a8)](_0x52be1d[_0x28121a(0x3dc)]),_0xca5d48[_0x28121a(0x223)](_0x18a4b6,_0x27e252,_0x4e6269,_0x35b894,_0x52be1d),_0xca5d48[_0x28121a(0x334)]({'unitId':_0x18a4b6,'subUnitId':_0x27e252,'token':_0x4e6269,'type':_0x3f20dc[_0x28121a(0x283)],'pivotConfig':_0x52be1d});}return!0x0;}},_0x2af707={'type':_0x39781c[_0x25f219(0x3d9)]['COMMAND'],'id':_0x25f219(0x453),'handler':(_0xb8790e,_0x46b7a6)=>{const _0x3a4c8d=_0x25f219;if(!_0x46b7a6)return!0x1;const _0x3b29bb=_0x1457ac[_0x3a4c8d(0x1e9)](_0xb8790e[_0x3a4c8d(0x46f)](_0x39781c[_0x3a4c8d(0x364)]),{'unitId':_0x46b7a6[_0x3a4c8d(0x1df)][_0x3a4c8d(0x3fe)],'subUnitId':_0x46b7a6[_0x3a4c8d(0x1df)][_0x3a4c8d(0x1e1)]});if(!_0x3b29bb)throw new Error(_0x3a4c8d(0x261));const _0xecf831=_0xb8790e['get'](_0x414f7d['SheetsPivotTableConfigModel'])[_0x3a4c8d(0x18f)](_0x46b7a6[_0x3a4c8d(0x435)]['unitId'],_0x46b7a6['originTargetInfo'][_0x3a4c8d(0x1e1)],_0x46b7a6[_0x3a4c8d(0x165)]);if(!_0xecf831)return!0x1;const _0x4292ff=_0xb8790e[_0x3a4c8d(0x46f)](_0x39781c[_0x3a4c8d(0x454)]),_0x574b40=_0xb8790e[_0x3a4c8d(0x46f)](_0x39781c[_0x3a4c8d(0x1f8)]),{unitId:_0x4b7d07,subUnitId:_0x290e61,worksheet:_0x22add0}=_0x3b29bb,_0x4c7360=_0x22add0[_0x3a4c8d(0x463)](),_0x39c2e4=_0x22add0[_0x3a4c8d(0x450)]();if(_0x46b7a6[_0x3a4c8d(0x1df)][_0x3a4c8d(0x1a8)]>_0x4c7360||_0x46b7a6[_0x3a4c8d(0x1df)][_0x3a4c8d(0x331)]>_0x39c2e4)throw new Error(_0x3a4c8d(0x213));const _0x14ee48=[{'id':_0x248048['id'],'params':{'unitId':_0x4b7d07,'subUnitId':_0x46b7a6[_0x3a4c8d(0x1df)]['subUnitId'],'pivotTableId':_0x46b7a6[_0x3a4c8d(0x165)],'targetCellPosition':{'row':_0x46b7a6[_0x3a4c8d(0x1df)]['row'],'col':_0x46b7a6['targetCellInfo'][_0x3a4c8d(0x331)]}}}],_0x1b7604=[{'id':_0x248048['id'],'params':{'unitId':_0x4b7d07,'subUnitId':_0x290e61,'pivotTableId':_0x46b7a6['pivotTableId'],'targetCellPosition':{'row':_0xecf831[_0x3a4c8d(0x1df)][_0x3a4c8d(0x1a8)],'col':_0xecf831[_0x3a4c8d(0x1df)][_0x3a4c8d(0x331)]}}}];return _0x39781c[_0x3a4c8d(0x184)](_0x14ee48,_0x4292ff)&&_0x574b40[_0x3a4c8d(0x164)]({'unitID':_0x4b7d07,'undoMutations':_0x1b7604,'redoMutations':_0x14ee48}),!0x0;}},_0x46e738={'type':_0x39781c['CommandType'][_0x25f219(0x216)],'id':_0x25f219(0x316),async 'handler'(_0x517cee,_0x1ff96b){const _0x4de27e=_0x25f219;var _0x4cabd4;if(!_0x1ff96b)return!0x1;const _0x12f81d=_0x517cee[_0x4de27e(0x46f)](_0x39781c[_0x4de27e(0x364)]),_0x39a9f0=_0x1457ac['getSheetCommandTarget'](_0x12f81d);if(!_0x39a9f0)return!0x1;const {unitId:_0xe45527,subUnitId:_0x22bb25,workbook:_0x5dcead}=_0x39a9f0,{row:_0x4e488d,col:_0x57ac31}=_0x1ff96b,_0x31c1f7=_0x517cee['get'](_0x414f7d[_0x4de27e(0x37e)]),_0x2741ae=_0x31c1f7[_0x4de27e(0x3aa)](_0xe45527,_0x22bb25,_0x4e488d,_0x57ac31);if(!_0x2741ae)return!0x1;const _0xf9c89c=(_0x4cabd4=_0x31c1f7[_0x4de27e(0x421)](_0xe45527,_0x22bb25,_0x2741ae))==null?void 0x0:_0x4cabd4[_0x4de27e(0x340)];if(!_0xf9c89c)return!0x1;const _0x16bafc=_0x517cee[_0x4de27e(0x46f)](_0x414f7d[_0x4de27e(0x27b)])[_0x4de27e(0x18f)](_0xe45527,_0x22bb25,_0x2741ae);if(!_0x16bafc)return!0x1;const {rowInfo:_0xb315ea,colInfo:_0x1e39d5}=_0xf9c89c,_0x4e9b12=_0xb315ea[_0x4e488d][_0x4de27e(0x24c)],_0x5d58cf=_0x1e39d5[_0x57ac31][_0x4de27e(0x24c)],_0x3c725b=_0xb315ea[_0x4e488d][_0x4de27e(0x2f8)],_0x3c386a=_0x1e39d5[_0x57ac31][_0x4de27e(0x2f8)],_0x4a041c=_0x4e9b12[_0x4de27e(0x270)](_0x5d58cf),_0x1c24cc=_0x16bafc['fieldsConfig'][_0x4de27e(0x3f5)]['slice'](0x0,_0x3c725b),_0x46fbc5=_0x16bafc[_0x4de27e(0x3dc)]['columnFields'][_0x4de27e(0x2b2)](0x0,_0x3c386a),_0x5a5aaf=_0x1c24cc[_0x4de27e(0x270)](_0x46fbc5),_0x4bc872=_0x4a041c[_0x4de27e(0x371)]((_0x33a202,_0x489e8f)=>[_0x33a202,_0x5a5aaf[_0x489e8f]]),_0x3b8d4d=(await _0x517cee[_0x4de27e(0x46f)](_0x414f7d[_0x4de27e(0x1f6)])['getPivotDisplayConfig']({'unitId':_0xe45527,'subUnitId':_0x22bb25,'pivotTableId':_0x2741ae,'params':{'type':_0x11ef1a[_0x4de27e(0x2c3)],'drillDown':{'tuple':_0x4bc872}}}))[_0x4de27e(0x1d5)][_0x4de27e(0x3a1)];if(!_0x3b8d4d)return!0x1;const {indexes:_0x15c538,range:_0x28afc3,sourceUnitId:_0x1e2386,sourceSubUnitId:_0x48bcaa,formatMap:_0x2ef2f0}=_0x3b8d4d,{startRow:_0x2c9512,endRow:_0x2e0793,startColumn:_0x231d80,endColumn:_0x5091b4}=_0x28afc3,_0x276943=new _0x39781c[(_0x4de27e(0x46d))](),_0x2f4cee=_0x2e0793-_0x2c9512,_0x41dc88=_0x5091b4-_0x231d80,_0xb8f0e1={},_0x1cba51=_0x1457ac[_0x4de27e(0x1e9)](_0x12f81d,{'unitId':_0x1e2386,'subUnitId':_0x48bcaa});if(!_0x1cba51)return!0x1;const _0x454dc6=_0x588be4['colStyle'],_0x120f68=_0x588be4[_0x4de27e(0x20c)],_0x37569d=_0x588be4[_0x4de27e(0x20c)],_0x263604=_0x5dcead[_0x4de27e(0x2fb)]()[_0x4de27e(0x233)](_0x454dc6),_0x13a152=_0x5dcead[_0x4de27e(0x2fb)]()[_0x4de27e(0x233)](_0x120f68),_0x8563a2=_0x5dcead[_0x4de27e(0x2fb)]()[_0x4de27e(0x233)](_0x37569d),{worksheet:_0x4b3306}=_0x1cba51;let _0x4bb5b8=0x0;const _0xd0ff9d=0x1;_0x15c538[_0x4de27e(0x262)](_0x26ea92=>{const _0x3bc673=_0x4de27e;for(let _0x4be65f=0x0;_0x4be65f<=_0x5091b4-_0x231d80;_0x4be65f++)_0x276943['setValue'](_0x4bb5b8,_0x4be65f,_0x4b3306[_0x3bc673(0x385)](_0x26ea92+_0x28afc3[_0x3bc673(0x383)]+_0xd0ff9d,_0x4be65f));_0x4bb5b8++;});for(let _0x23964a=_0x231d80;_0x23964a<=_0x5091b4;_0x23964a++){const _0x501e29=_0x4b3306[_0x4de27e(0x385)](_0x2c9512,_0x23964a);_0xb8f0e1[_0x2c9512]||(_0xb8f0e1[_0x2c9512]={}),_0xb8f0e1[_0x2c9512][_0x23964a]={..._0x501e29,'s':_0x263604};}let _0x1bd3c4=0x1;const _0xf5f071={},_0x194729={};_0x276943[_0x4de27e(0x2d2)]((_0x552aa1,_0x1eb983)=>{const _0x5189d3=_0x4de27e;_0x1eb983[_0x5189d3(0x262)](_0x55c51e=>{const _0xbc8ef7=_0x5189d3,_0x12e043=_0x276943[_0xbc8ef7(0x285)](_0x552aa1,_0x55c51e);if(_0xb8f0e1[_0x1bd3c4]||(_0xb8f0e1[_0x1bd3c4]={}),_0xb8f0e1[_0x1bd3c4][_0x55c51e]={..._0x12e043,'s':_0x1bd3c4%0x2===0x0?_0x8563a2:_0x13a152},_0x2ef2f0[_0x55c51e]&&_0x552aa1>=0x0){const _0x51c6b1=_0x1bd3c4%0x2===0x0;let _0x11f82b=_0x51c6b1?_0x194729[_0x55c51e]:_0xf5f071[_0x55c51e];_0x11f82b||(_0x11f82b=_0x5dcead['getStyles']()[_0xbc8ef7(0x233)]({..._0x51c6b1?_0x37569d:_0x120f68,'n':{'pattern':_0x2ef2f0[_0x55c51e]}}),_0x51c6b1?_0x194729[_0x55c51e]=_0x11f82b:_0xf5f071[_0x55c51e]=_0x11f82b),_0xb8f0e1[_0x1bd3c4][_0x55c51e]['s']=_0x11f82b;}}),_0x1bd3c4++;});const _0x404695=new _0x39781c[(_0x4de27e(0x46d))](_0xb8f0e1),_0x45cabe={};_0x404695[_0x4de27e(0x2bc)]((_0x17e060,_0x3458c1,_0x5c89de)=>{_0x45cabe[_0x17e060]||(_0x45cabe[_0x17e060]={}),_0x45cabe[_0x17e060][_0x3458c1]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1536b2=[],_0x576d49=[],_0x3044c6=_0x5dcead[_0x4de27e(0x407)]()['length'],_0x5c5f60=_0x39781c[_0x4de27e(0x1ba)]({'rowCount':Math['max'](_0x39781c[_0x4de27e(0x45d)],_0x2f4cee+0xa),'columnCount':Math[_0x4de27e(0x1b2)](_0x39781c[_0x4de27e(0x3c7)],_0x41dc88+0x5)}),_0x3d938a=_0x517cee[_0x4de27e(0x46f)](_0x39781c[_0x4de27e(0x461)]);_0x5c5f60['id']=_0x39781c[_0x4de27e(0x160)](),_0x5c5f60[_0x4de27e(0x323)]=_0x5dcead[_0x4de27e(0x1c4)](''+_0x3d938a['t']('sheets.tabs.sheet'));const _0x433300={'index':_0x3044c6,'sheet':_0x5c5f60,'unitId':_0xe45527},_0x2b2ea8=_0x1457ac[_0x4de27e(0x465)](_0x517cee,_0x433300);_0x576d49[_0x4de27e(0x1cb)]({'id':_0x1457ac[_0x4de27e(0x150)]['id'],'params':_0x433300}),_0x1536b2[_0x4de27e(0x1cb)]({'id':_0x1457ac[_0x4de27e(0x400)]['id'],'params':_0x2b2ea8}),_0x576d49[_0x4de27e(0x1cb)]({'id':_0x1457ac[_0x4de27e(0x355)]['id'],'params':{'unitId':_0xe45527,'subUnitId':_0x5c5f60['id'],'cellValue':_0xb8f0e1}}),_0x1536b2['unshift']({'id':_0x1457ac['SetRangeValuesMutation']['id'],'params':{'unitId':_0xe45527,'subUnitId':_0x5c5f60['id'],'cellValue':_0x45cabe}});const _0x8af1a9={'startRow':0x0,'startColumn':0x0,'endRow':_0x1bd3c4-0x1,'endColumn':_0x5091b4};_0x576d49['push']({'id':_0x4cb512['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0xe45527,'subUnitId':_0x5c5f60['id'],'range':_0x8af1a9}}),_0x1536b2['unshift']({'id':_0x4cb512[_0x4de27e(0x1e0)]['id'],'params':{'unitId':_0xe45527,'subUnitId':_0x5c5f60['id']}});const _0x417049=_0x517cee[_0x4de27e(0x46f)](_0x39781c[_0x4de27e(0x454)]);return _0x39781c[_0x4de27e(0x184)](_0x576d49,_0x417049)&&_0x517cee[_0x4de27e(0x46f)](_0x39781c['IUndoRedoService'])[_0x4de27e(0x164)]({'unitID':_0xe45527,'undoMutations':_0x1536b2,'redoMutations':_0x576d49}),!0x0;}},_0x4c4e0a={'type':_0x39781c['CommandType']['COMMAND'],'id':_0x25f219(0x2c5),async 'handler'(_0x12c414,_0x4e1e90){const _0x3c3899=_0x25f219;if(!_0x4e1e90)return!0x1;const _0x28f4be=_0x12c414[_0x3c3899(0x46f)](_0x39781c['ICommandService']),_0x44f7e2=_0x12c414[_0x3c3899(0x46f)](_0x414f7d[_0x3c3899(0x1f6)]),_0x2746ef=_0x12c414[_0x3c3899(0x46f)](_0x39781c[_0x3c3899(0x1f8)]),{pivotTableId:_0x3827ac,fieldIds:_0xa12cbe,unitId:_0x45bde1,subUnitId:_0x263362}=_0x4e1e90,_0x1b07c5=(await _0x44f7e2[_0x3c3899(0x1ad)]({'unitId':_0x45bde1,'subUnitId':_0x263362,'pivotTableId':_0x3827ac,'params':{'type':_0x11ef1a[_0x3c3899(0x3f2)],'removePivotField':{'fieldIds':_0xa12cbe}}}))[_0x3c3899(0x1d5)][_0x3c3899(0x27c)];if(!_0x1b07c5)return!0x1;const {view:_0x57f26f,changesets:_0x354b4b,isEmpty:_0x59ca09,pivotTableConfig:_0x5729fc}=_0x1b07c5,_0x31743b=_0x5729fc[_0x3c3899(0x1df)],_0x5ce092=new _0x359d7d[(_0x3c3899(0x266))]();_0x5ce092[_0x3c3899(0x3b0)](_0x57f26f);const _0x21ed5b={'cellInfo':_0x31743b,'view':_0x5ce092,'isEmpty':_0x59ca09};if(!await _0x12c414['get'](_0x414f7d[_0x3c3899(0x35e)])[_0x3c3899(0x38f)][_0x3c3899(0x1f7)](_0x395a1e)(!0x0,_0x21ed5b))return!0x1;const _0x9bb3da=_0x1541c9(_0x12c414,_0x5ce092,_0x31743b,_0x59ca09),_0x14e907=_0x137019(_0x12c414,_0x21ed5b),{redos:_0x73bc8d,undos:_0x516f04}=_0x4820c8(_0x28f4be,{'pivotTableId':_0x3827ac,'unitId':_0x45bde1,'subUnitId':_0x263362},_0x354b4b);return _0x39781c['sequenceExecute']([..._0x9bb3da[_0x3c3899(0x30a)],..._0x14e907[_0x3c3899(0x30a)],..._0x73bc8d],_0x28f4be),_0x2746ef[_0x3c3899(0x164)]({'unitID':_0x45bde1,'redoMutations':[..._0x9bb3da[_0x3c3899(0x30a)],..._0x14e907[_0x3c3899(0x30a)],..._0x73bc8d],'undoMutations':[..._0x9bb3da[_0x3c3899(0x312)],..._0x14e907[_0x3c3899(0x312)],..._0x516f04]}),!0x0;}},_0x184d8a={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x216)],'id':_0x25f219(0x264),async 'handler'(_0xffa447,_0x1f8427){const _0x31a674=_0x25f219;if(!_0x1f8427)return!0x1;const _0x52688d=_0xffa447[_0x31a674(0x46f)](_0x39781c[_0x31a674(0x454)]),_0x873103=_0xffa447[_0x31a674(0x46f)](_0x39781c[_0x31a674(0x1f8)]),_0x125eb0=_0xffa447[_0x31a674(0x46f)](_0x414f7d[_0x31a674(0x1f6)]),{resetArea:_0x17b2f6,pivotTableId:_0x3182f2,unitId:_0x1d3bc5,subUnitId:_0xbbf413}=_0x1f8427,_0x1064a5=(await _0x125eb0[_0x31a674(0x1ad)]({'unitId':_0x1d3bc5,'subUnitId':_0xbbf413,'pivotTableId':_0x3182f2,'params':{'type':_0x11ef1a['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x3182f2,'resetArea':_0x17b2f6}}}))[_0x31a674(0x1d5)][_0x31a674(0x172)];if(!_0x1064a5)return!0x1;const {changesets:_0x9dc135}=_0x1064a5,{redos:_0xe890c2,undos:_0xbab383}=_0x4820c8(_0x52688d,{'pivotTableId':_0x3182f2,'unitId':_0x1d3bc5,'subUnitId':_0xbbf413},_0x9dc135);return _0x39781c[_0x31a674(0x184)](_0xe890c2,_0x52688d),_0x873103['pushUndoRedo']({'unitID':_0x1d3bc5,'redoMutations':_0xe890c2,'undoMutations':_0xbab383}),!0x0;}},_0x556f88={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x216)],'id':_0x25f219(0x2e8),async 'handler'(_0x1e0e7b,_0x3f1e3a){const _0x2173e9=_0x25f219,_0x4aa48d=_0x1e0e7b[_0x2173e9(0x46f)](_0x39781c[_0x2173e9(0x454)]),_0x38b253=_0x1e0e7b[_0x2173e9(0x46f)](_0x414f7d[_0x2173e9(0x1f6)]),_0x58274b=_0x1e0e7b[_0x2173e9(0x46f)](_0x414f7d[_0x2173e9(0x37e)]),_0x100393=_0x1e0e7b[_0x2173e9(0x46f)](_0x39781c[_0x2173e9(0x364)]),_0x3fe2cd=_0x1e0e7b['get'](_0x39781c[_0x2173e9(0x461)]),_0x2d94bf=_0x1e0e7b[_0x2173e9(0x46f)](_0x39781c[_0x2173e9(0x1f8)]);if(!_0x3f1e3a)return!0x1;const {unitId:_0x4277c1,subUnitId:_0x3e12d4,row:_0x10f357,col:_0x587115,collapse:_0x4e9b85}=_0x3f1e3a,_0x2d7839=_0x100393[_0x2173e9(0x3cd)](_0x4277c1);if(!_0x2d7839||!_0x2d7839[_0x2173e9(0x180)](_0x3e12d4))return!0x1;const _0x5eb55d=_0x58274b[_0x2173e9(0x3aa)](_0x4277c1,_0x3e12d4,_0x10f357,_0x587115);if(!_0x5eb55d)return!0x1;const _0x5ab188=_0x58274b[_0x2173e9(0x421)](_0x4277c1,_0x3e12d4,_0x5eb55d);if(!_0x5ab188)return!0x1;const _0x4723e1=_0x39781c[_0x2173e9(0x289)](_0x10f357,_0x587115),{rangesInfo:_0x36cd3e,areaInfo:_0x31854e,headerMap:_0x41dee0}=_0x5ab188;if(!_0x36cd3e||!_0x31854e||!_0x41dee0)return!0x1;const _0x7553f7=Object[_0x2173e9(0x3a0)](_0x36cd3e)['find'](_0x44e301=>_0x36cd3e[_0x44e301]['some'](_0x481ae0=>_0x39781c['Rectangle'][_0x2173e9(0x34e)](_0x481ae0,_0x4723e1)));let _0xdecf5a;_0x7553f7==='rowRanges'?_0xdecf5a=_0x41dee0[_0x2173e9(0x166)][_0x587115]:_0x7553f7===_0x2173e9(0x35d)&&(_0xdecf5a=_0x41dee0[_0x2173e9(0x3b1)][_0x10f357]);const _0xef78d5=_0xdecf5a==null?void 0x0:_0xdecf5a[_0x2173e9(0x46e)],_0x168b13=_0x58274b['getPivotTableCellData'](_0x4277c1,_0x3e12d4,_0x10f357,_0x587115);let _0x4d8ea0=_0x168b13==null?void 0x0:_0x168b13['v'];if(_0x4d8ea0===_0x3fe2cd['t']('sheets-pivot.blank')&&(_0x4d8ea0=_0x359d7d['GlobalConfig']['BLANK_PLACEHOLDER']),_0x4d8ea0==null||!_0x5eb55d||!_0xef78d5)return!0x1;const _0x40306f=await _0x38b253['getPivotDisplayConfig']({'unitId':_0x4277c1,'subUnitId':_0x3e12d4,'pivotTableId':_0x5eb55d,'params':{'type':_0x11ef1a[_0x2173e9(0x33f)],'setPivotCollapse':{'tableFieldId':_0xef78d5,'collapse':_0x4e9b85,'item':_0x4d8ea0}}}),_0x47f217=_0x40306f==null?void 0x0:_0x40306f['result']['setPivotCollapse'];if(!_0x47f217)return!0x1;const {view:_0x1ec154,pivotTableConfig:_0x3a9519,isEmpty:_0xb4472b,changesets:_0x38de77}=_0x47f217,_0x10bcd9=new _0x359d7d['PivotView']();_0x10bcd9['formJSON'](_0x1ec154);const _0x825c0=_0x3a9519[_0x2173e9(0x1df)],_0x562001={'cellInfo':_0x825c0,'view':_0x10bcd9,'isEmpty':_0xb4472b};if(!await _0x1e0e7b[_0x2173e9(0x46f)](_0x414f7d['SheetsPivotTableService'])[_0x2173e9(0x38f)]['fetchThroughAsyncInterceptors'](_0x395a1e)(!0x0,_0x562001))return!0x1;const _0x71aa1b=_0x1541c9(_0x1e0e7b,_0x10bcd9,_0x825c0,_0xb4472b),_0x262dc2=_0x137019(_0x1e0e7b,_0x562001),{redos:_0xbf0b21,undos:_0x5dc783}=_0x4820c8(_0x4aa48d,{'pivotTableId':_0x5eb55d,'unitId':_0x4277c1,'subUnitId':_0x3e12d4},_0x38de77);return _0x39781c[_0x2173e9(0x184)]([..._0x71aa1b['redos'],..._0x262dc2[_0x2173e9(0x30a)],..._0xbf0b21],_0x4aa48d),_0x2d94bf[_0x2173e9(0x164)]({'unitID':_0x4277c1,'redoMutations':[..._0x71aa1b['redos'],..._0x262dc2[_0x2173e9(0x30a)],..._0xbf0b21],'undoMutations':[..._0x71aa1b[_0x2173e9(0x312)],..._0x262dc2[_0x2173e9(0x312)],..._0x5dc783]}),!0x0;}},_0x357e27={'type':_0x39781c['CommandType'][_0x25f219(0x216)],'id':_0x25f219(0x154),async 'handler'(_0x3123ee,_0x177d8f){const _0x1dd4b2=_0x25f219;if(!_0x177d8f)return!0x1;const _0x58fb76=_0x3123ee['get'](_0x39781c[_0x1dd4b2(0x454)]),_0x8298e=_0x3123ee[_0x1dd4b2(0x46f)](_0x39781c['IUndoRedoService']),_0x43db20=_0x3123ee['get'](_0x414f7d[_0x1dd4b2(0x1f6)]),{pivotTableConfig:_0x113877,pivotTableId:_0x2ef9a6,unitId:_0x2fbb20,subUnitId:_0x369cf3}=_0x177d8f,_0x1255f4=(await _0x43db20[_0x1dd4b2(0x1ad)]({'unitId':_0x2fbb20,'subUnitId':_0x369cf3,'pivotTableId':_0x2ef9a6,'params':{'type':_0x11ef1a[_0x1dd4b2(0x1ef)],'setPivotTableConfig':{'pivotTableId':_0x2ef9a6,'pivotTableConfig':_0x113877}}}))['result']['setPivotTableConfig'];if(!_0x1255f4)return!0x1;const {changesets:_0x42c2f5}=_0x1255f4,{redos:_0x1057c0,undos:_0x565105}=_0x4820c8(_0x58fb76,{'pivotTableId':_0x2ef9a6,'unitId':_0x2fbb20,'subUnitId':_0x369cf3},_0x42c2f5);return _0x39781c[_0x1dd4b2(0x184)](_0x1057c0,_0x58fb76),_0x8298e['pushUndoRedo']({'unitID':_0x2fbb20,'redoMutations':_0x1057c0,'undoMutations':_0x565105}),!0x0;}},_0x4fa226={'type':_0x39781c['CommandType']['COMMAND'],'id':_0x25f219(0x361),async 'handler'(_0x22bc92,_0xb4d331){const _0x3e4957=_0x25f219;if(!_0xb4d331)return!0x1;const _0x38b825=_0x22bc92[_0x3e4957(0x46f)](_0x39781c[_0x3e4957(0x454)]),{pivotTableId:_0x42f5cf,tableFieldId:_0x496767,items:_0x3b0d0f,unitId:_0x4da64e,subUnitId:_0x3891f0,isAll:_0x46708b}=_0xb4d331,_0x452143=_0x22bc92[_0x3e4957(0x46f)](_0x414f7d['SheetsPivotRPCService']),_0x40f1c2=_0x22bc92['get'](_0x39781c[_0x3e4957(0x1f8)]),_0x333d52=(await _0x452143[_0x3e4957(0x1ad)]({'unitId':_0x4da64e,'subUnitId':_0x3891f0,'pivotTableId':_0x42f5cf,'params':{'type':_0x11ef1a[_0x3e4957(0x287)],'setPivotFilter':{'tableFieldId':_0x496767,'items':_0x3b0d0f,'isAll':_0x46708b}}}))[_0x3e4957(0x1d5)][_0x3e4957(0x17d)];if(!_0x333d52)return!0x1;const {changesets:_0x52fa09,pivotTableConfig:_0x4f477c,isEmpty:_0x1de978,view:_0x3c3840}=_0x333d52,_0x4a60e3=_0x4f477c['targetCellInfo'],_0x42228e=new _0x359d7d['PivotView']();_0x42228e['formJSON'](_0x3c3840);const _0x176994={'cellInfo':_0x4a60e3,'view':_0x42228e,'isEmpty':_0x1de978};if(!await _0x22bc92[_0x3e4957(0x46f)](_0x414f7d[_0x3e4957(0x35e)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x395a1e)(!0x0,_0x176994))return!0x1;const _0x120ae5=_0x1541c9(_0x22bc92,_0x42228e,_0x4a60e3,_0x1de978),_0x46a902=_0x137019(_0x22bc92,_0x176994),{undos:_0x345d5d,redos:_0x124333}=_0x4820c8(_0x38b825,{'pivotTableId':_0x42f5cf,'unitId':_0x4da64e,'subUnitId':_0x3891f0},_0x52fa09);return _0x39781c['sequenceExecute']([..._0x120ae5[_0x3e4957(0x30a)],..._0x46a902[_0x3e4957(0x30a)],..._0x124333],_0x38b825),_0x40f1c2[_0x3e4957(0x164)]({'unitID':_0x4da64e,'redoMutations':[..._0x120ae5['redos'],..._0x46a902[_0x3e4957(0x30a)],..._0x124333],'undoMutations':[..._0x120ae5[_0x3e4957(0x312)],..._0x46a902[_0x3e4957(0x312)],..._0x345d5d]}),!0x0;}},_0x309772={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x216)],'id':_0x25f219(0x44a),async 'handler'(_0x12b999,_0x1e9622){const _0x417bca=_0x25f219;if(!_0x1e9622)return!0x1;const _0x58efc5=_0x12b999['get'](_0x39781c['ICommandService']),_0x3a936e=_0x12b999[_0x417bca(0x46f)](_0x39781c[_0x417bca(0x1f8)]),_0x436f4e=_0x12b999[_0x417bca(0x46f)](_0x414f7d[_0x417bca(0x1f6)]),{info:_0x10677a,tableFieldId:_0x5e9b1e,pivotTableId:_0xe05b86,unitId:_0xbecd84,subUnitId:_0x4daf6c}=_0x1e9622,_0xf84900=(await _0x436f4e[_0x417bca(0x1ad)]({'unitId':_0xbecd84,'subUnitId':_0x4daf6c,'pivotTableId':_0xe05b86,'params':{'type':_0x11ef1a[_0x417bca(0x35c)],'setPivotSort':{'tableFieldId':_0x5e9b1e,'info':_0x10677a}}}))[_0x417bca(0x1d5)][_0x417bca(0x430)];if(!_0xf84900)return!0x1;const {changesets:_0x5ae84b}=_0xf84900,{redos:_0x591f2c,undos:_0x39fb73}=_0x4820c8(_0x58efc5,{'pivotTableId':_0xe05b86,'unitId':_0xbecd84,'subUnitId':_0x4daf6c},_0x5ae84b);return _0x39781c['sequenceExecute'](_0x591f2c,_0x58efc5),_0x3a936e['pushUndoRedo']({'unitID':_0xbecd84,'redoMutations':_0x591f2c,'undoMutations':_0x39fb73}),!0x0;}},_0x221c6c={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x216)],'id':_0x25f219(0x408),async 'handler'(_0x5d133d,_0x2b8681){const _0x18e0ae=_0x25f219;if(!_0x2b8681)return!0x1;const _0x237e93=_0x5d133d[_0x18e0ae(0x46f)](_0x39781c['ICommandService']),{pivotTableId:_0x5f3b49,fieldId:_0x15a089,valueFilterInfo:_0x403c6e,unitId:_0x52baf0,subUnitId:_0x539597}=_0x2b8681,_0x277192=_0x5d133d[_0x18e0ae(0x46f)](_0x414f7d['SheetsPivotRPCService']),_0x5e60fb=_0x5d133d[_0x18e0ae(0x46f)](_0x39781c[_0x18e0ae(0x1f8)]),_0xa48c4f=(await _0x277192[_0x18e0ae(0x1ad)]({'unitId':_0x52baf0,'subUnitId':_0x539597,'pivotTableId':_0x5f3b49,'params':{'type':_0x11ef1a['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x15a089,'filterInfo':_0x403c6e}}}))[_0x18e0ae(0x1d5)][_0x18e0ae(0x381)];if(!_0xa48c4f)return!0x1;const {changesets:_0x17db87,pivotTableConfig:_0x32512c,isEmpty:_0x1782ba,view:_0x94e004}=_0xa48c4f,_0x2bbfa5=_0x32512c[_0x18e0ae(0x1df)],_0x362e50=new _0x359d7d[(_0x18e0ae(0x266))]();_0x362e50[_0x18e0ae(0x3b0)](_0x94e004);const _0x20db9c={'cellInfo':_0x2bbfa5,'view':_0x362e50,'isEmpty':_0x1782ba};if(!await _0x5d133d['get'](_0x414f7d[_0x18e0ae(0x35e)])[_0x18e0ae(0x38f)][_0x18e0ae(0x1f7)](_0x395a1e)(!0x0,_0x20db9c))return!0x1;const _0x416893=_0x1541c9(_0x5d133d,_0x362e50,_0x2bbfa5,_0x1782ba),_0x474cc3=_0x137019(_0x5d133d,_0x20db9c),{undos:_0x418d8c,redos:_0x3f0ef0}=_0x4820c8(_0x237e93,{'pivotTableId':_0x5f3b49,'unitId':_0x52baf0,'subUnitId':_0x539597},_0x17db87);return _0x39781c[_0x18e0ae(0x184)]([..._0x416893[_0x18e0ae(0x30a)],..._0x474cc3[_0x18e0ae(0x30a)],..._0x3f0ef0],_0x237e93),_0x5e60fb[_0x18e0ae(0x164)]({'unitID':_0x52baf0,'redoMutations':[..._0x416893['redos'],..._0x474cc3['redos'],..._0x3f0ef0],'undoMutations':[..._0x416893['undos'],..._0x474cc3['undos'],..._0x418d8c]}),!0x0;}},_0x45876a={'id':'sheet.mutation.update-date-group','type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'handler':(_0x899aa,_0x565f5c)=>{const _0x31e2d5=_0x25f219;if(!_0x565f5c)return!0x1;if(!!_0x899aa['get'](_0x39781c[_0x31e2d5(0x28b)])[_0x31e2d5(0x310)](_0x4f4b80))return!0x0;const {unitId:_0x3f670e,subUnitId:_0x300657,pivotTableId:_0x20cc13,tableFieldId:_0xf748f4,dateType:_0x474c0c}=_0x565f5c,_0x1a9cde=_0x899aa['get'](_0x414f7d[_0x31e2d5(0x2f3)]),_0x1303fb=_0x1a9cde[_0x31e2d5(0x20e)](_0x20cc13);if(!_0x1303fb)return!0x1;const _0x116234=_0x1303fb[_0x31e2d5(0x356)](_0xf748f4);if(!_0x116234)return!0x1;const _0x43e846=_0x116234[_0x31e2d5(0x252)](),_0x302166=_0x1303fb[_0x31e2d5(0x326)](_0x43e846),_0x3678af=(_0x302166==null?void 0x0:_0x302166[_0x31e2d5(0x39f)]())+'\x20'+_0x52d2c2(_0x899aa,_0x474c0c);_0x1a9cde[_0x31e2d5(0x193)](_0x3f670e,_0x20cc13)[_0x31e2d5(0x3c9)](_0x116234['id'],_0x3678af);const _0x4cd6b3=_0x1303fb['getTableFieldById'](_0xf748f4);if(!_0x4cd6b3)return!0x1;_0x1303fb[_0x31e2d5(0x157)](_0x4cd6b3['getId'](),_0x3678af),_0x116234['setDateType'](_0x474c0c);const _0x1df037=_0x1a9cde[_0x31e2d5(0x18f)](_0x3f670e,_0x300657,_0x20cc13);return _0x1a9cde[_0x31e2d5(0x334)]({'unitId':_0x3f670e,'subUnitId':_0x300657,'token':_0x20cc13,'type':_0x3f20dc[_0x31e2d5(0x1cf)],'pivotConfig':_0x1df037}),!0x0;}},_0x565fc1={'id':_0x25f219(0x18a),'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x216)],'handler':(_0x5c0507,_0x1fc243)=>{const _0x3805c4=_0x25f219;if(!_0x1fc243)return!0x1;const _0x1a7dd0=_0x5c0507['get'](_0x39781c[_0x3805c4(0x1f8)]),{unitId:_0x14a8f9,subUnitId:_0x2a33f5,pivotTableId:_0x1d12cf,tableFieldId:_0x5f3f7b}=_0x1fc243,_0x2f7ef4=[],_0x481544=[],_0x5ed75e=_0x5c0507[_0x3805c4(0x46f)](_0x414f7d['SheetsPivotTableConfigModel']),_0x132463=_0x5ed75e[_0x3805c4(0x193)](_0x14a8f9,_0x1d12cf),_0x4cde88=_0x5ed75e[_0x3805c4(0x18f)](_0x14a8f9,_0x2a33f5,_0x1d12cf);if(!(_0x4cde88!=null&&_0x4cde88['fieldsConfig'][_0x3805c4(0x173)]))return!0x1;const _0x51421f=Object['values'](_0x4cde88[_0x3805c4(0x3dc)][_0x3805c4(0x173)])[_0x3805c4(0x437)](_0x3a0039=>_0x3a0039['id']===_0x5f3f7b);if(!_0x51421f)return!0x1;const _0x4d95bd=_0x51421f[_0x3805c4(0x156)];if(!(_0x132463!=null&&_0x132463['fields']))return!0x1;const _0x3285b4=Object[_0x3805c4(0x274)](_0x132463==null?void 0x0:_0x132463[_0x3805c4(0x424)])[_0x3805c4(0x437)](_0x281403=>_0x281403['id']===_0x4d95bd);if(!_0x3285b4)return!0x1;_0x359d7d[_0x3805c4(0x34f)](_0x3285b4)&&_0x2f7ef4['push']({'id':_0x45876a['id'],'params':{..._0x1fc243,'dateType':_0x3285b4[_0x3805c4(0x1d1)]}}),_0x481544[_0x3805c4(0x1cb)]({'id':_0x45876a['id'],'params':{..._0x1fc243}});const _0x359b6c=_0x5c0507['get'](_0x39781c[_0x3805c4(0x454)]);return _0x39781c[_0x3805c4(0x184)](_0x481544,_0x359b6c)&&_0x1a7dd0['pushUndoRedo']({'unitID':_0x14a8f9,'undoMutations':_0x2f7ef4,'redoMutations':_0x481544}),!0x0;}},_0x561049={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x216)],'id':_0x25f219(0x3e0),async 'handler'(_0x436ffa,_0xb43adf){const _0x580483=_0x25f219;if(!_0xb43adf)return!0x1;const _0x59c0bc=_0x436ffa['get'](_0x39781c[_0x580483(0x454)]),_0xf1860d=_0x436ffa[_0x580483(0x46f)](_0x39781c[_0x580483(0x1f8)]),_0x2abe46=_0x436ffa[_0x580483(0x46f)](_0x414f7d[_0x580483(0x1f6)]),{displayName:_0x3abcf0,subtotalType:_0x12eea9,format:_0x5cb27e,tableFieldId:_0x10ee16,pivotTableId:_0x4341d8,unitId:_0x3fa845,subUnitId:_0x101e30}=_0xb43adf,_0x5de108=(await _0x2abe46[_0x580483(0x1ad)]({'unitId':_0x3fa845,'subUnitId':_0x101e30,'pivotTableId':_0x4341d8,'params':{'type':_0x11ef1a[_0x580483(0x272)],'setPivotSetting':{'tableFieldId':_0x10ee16,'displayName':_0x3abcf0,'subtotalType':_0x12eea9,'format':_0x5cb27e}}}))[_0x580483(0x1d5)]['setPivotSetting'];if(!_0x5de108)return!0x1;const {changesets:_0x4ab158,view:_0x34741f,pivotTableConfig:_0x35842a,isEmpty:_0x202b9e}=_0x5de108,_0x29f33b=_0x35842a[_0x580483(0x1df)],_0x1a6871=new _0x359d7d[(_0x580483(0x266))]();_0x1a6871[_0x580483(0x3b0)](_0x34741f);const _0x3ccdce={'cellInfo':_0x29f33b,'view':_0x1a6871,'isEmpty':_0x202b9e};if(!await _0x436ffa[_0x580483(0x46f)](_0x414f7d[_0x580483(0x35e)])[_0x580483(0x38f)][_0x580483(0x1f7)](_0x395a1e)(!0x0,_0x3ccdce))return!0x1;const _0x106d0f=_0x1541c9(_0x436ffa,_0x1a6871,_0x29f33b,_0x202b9e),_0x26c0f5=_0x137019(_0x436ffa,_0x3ccdce),{undos:_0x6a4f07,redos:_0x6321f1}=_0x4820c8(_0x59c0bc,{'pivotTableId':_0x4341d8,'unitId':_0x3fa845,'subUnitId':_0x101e30},_0x4ab158);return _0x39781c['sequenceExecute']([..._0x106d0f['redos'],..._0x26c0f5[_0x580483(0x30a)],..._0x6321f1],_0x59c0bc),_0xf1860d['pushUndoRedo']({'unitID':_0x3fa845,'redoMutations':[..._0x106d0f[_0x580483(0x30a)],..._0x26c0f5[_0x580483(0x30a)],..._0x6321f1],'undoMutations':[..._0x106d0f['undos'],..._0x26c0f5[_0x580483(0x312)],..._0x6a4f07]}),!0x0;}},_0x5b3534={'type':_0x39781c['CommandType'][_0x25f219(0x25f)],'id':_0x25f219(0x288),'handler'(_0x11790d,_0x22afc6){const _0xff6cfd=_0x25f219;if(!_0x22afc6)return!0x1;if(!!_0x11790d[_0xff6cfd(0x46f)](_0x39781c[_0xff6cfd(0x28b)])[_0xff6cfd(0x310)](_0x4f4b80))return!0x0;const _0x474a4b=_0x11790d['get'](_0x414f7d['SheetsPivotDataSourceModel']),{pivotTableId:_0xe83c1f,deleteIds:_0xd1b947,collectionJSON:_0x120bf0,dataRangeInfo:_0x58e36b,unitId:_0x1691ef,subUnitId:_0x40699d}=_0x22afc6,_0x310bb0=_0x474a4b[_0xff6cfd(0x20e)](_0xe83c1f),_0x489ca3=_0x474a4b[_0xff6cfd(0x18f)](_0x1691ef,_0x40699d,_0xe83c1f);if(!_0x310bb0||!_0x489ca3)return!0x1;const {collection:_0x26eb8f,updateDataFieldList:_0x4abb3a}=_0x474a4b[_0xff6cfd(0x468)](_0xe83c1f,_0x120bf0,_0x58e36b,_0x489ca3[_0xff6cfd(0x1df)]);_0x474a4b[_0xff6cfd(0x2a4)](_0x26eb8f,_0x4abb3a,_0x58e36b),_0x310bb0[_0xff6cfd(0x14d)](_0x26eb8f);for(const _0x55125b of _0xd1b947)_0x474a4b['removeDataField'](_0x58e36b['unitId'],_0x55125b);const _0x13e8e1=_0x474a4b['getPivotTableConfig'](_0x1691ef,_0x40699d,_0xe83c1f);return _0x13e8e1[_0xff6cfd(0x1aa)]=JSON[_0xff6cfd(0x30b)](JSON[_0xff6cfd(0x3d0)](_0x58e36b)),_0x474a4b[_0xff6cfd(0x334)]({'unitId':_0x1691ef,'subUnitId':_0x40699d,'token':_0xe83c1f,'type':_0x3f20dc[_0xff6cfd(0x1cf)]}),!0x0;}},_0x58693d={'type':_0x39781c[_0x25f219(0x3d9)]['COMMAND'],'id':_0x25f219(0x33d),async 'handler'(_0x3467dd,_0x55b85a){const _0x771e12=_0x25f219,_0x3e7ee0=_0x3467dd[_0x771e12(0x46f)](_0x39781c[_0x771e12(0x454)]),_0x15b4c6=_0x3467dd['get'](_0x414f7d[_0x771e12(0x1f6)]),_0x1fbb94=_0x3467dd[_0x771e12(0x46f)](_0x39781c[_0x771e12(0x1f8)]);if(!_0x55b85a)return!0x1;const {token:_0x12cb86,dataRangeInfo:_0x41a7c4,unitId:_0x28c370,subUnitId:_0x5a8d8e}=_0x55b85a,_0x37f8e2=[],_0x353acd=[],_0x53c4d0=(await _0x15b4c6[_0x771e12(0x1ad)]({'unitId':_0x28c370,'subUnitId':_0x5a8d8e,'pivotTableId':_0x12cb86,'params':{'type':_0x11ef1a[_0x771e12(0x441)],'updatePivotSource':{'dataRangeInfo':_0x41a7c4,'unitId':_0x28c370,'subUnitId':_0x5a8d8e}}}))[_0x771e12(0x1d5)][_0x771e12(0x33e)];if(!_0x53c4d0)return!0x1;const {changesets:_0x191401,deleteIds:_0x3b347a,collectionConfig:_0x1eb23b,oldCollectionConfig:_0x4cd867,view:_0x217c15,isEmpty:_0x462f9c,pivotTableConfig:_0x13637d}=_0x53c4d0;_0x353acd[_0x771e12(0x1cb)]({'id':_0x5b3534['id'],'params':{'pivotTableId':_0x12cb86,'deleteIds':_0x3b347a,'collectionJSON':_0x1eb23b,'dataRangeInfo':_0x41a7c4,'unitId':_0x28c370,'subUnitId':_0x5a8d8e}}),_0x37f8e2[_0x771e12(0x456)]({'id':_0x5b3534['id'],'params':{'pivotTableId':_0x12cb86,'deleteIds':[],'collectionJSON':_0x4cd867,'dataRangeInfo':_0x13637d[_0x771e12(0x1aa)],'unitId':_0x28c370,'subUnitId':_0x5a8d8e}});const _0x81b8e5=_0x13637d[_0x771e12(0x1df)],_0x70b944=new _0x359d7d[(_0x771e12(0x266))]();_0x70b944[_0x771e12(0x3b0)](_0x217c15);const _0x46e3f4={'cellInfo':_0x81b8e5,'view':_0x70b944,'isEmpty':_0x462f9c};if(!await _0x3467dd['get'](_0x414f7d[_0x771e12(0x35e)])['asyncInterceptor'][_0x771e12(0x1f7)](_0x395a1e)(!0x0,_0x46e3f4))return!0x1;const _0x35dad7=_0x1541c9(_0x3467dd,_0x70b944,_0x81b8e5,_0x462f9c),_0x49e1a0=_0x137019(_0x3467dd,_0x46e3f4),{undos:_0x5ec76c,redos:_0x580674}=_0x4820c8(_0x3e7ee0,{'pivotTableId':_0x12cb86,'unitId':_0x28c370,'subUnitId':_0x5a8d8e},_0x191401);return _0x39781c['sequenceExecute']([..._0x35dad7[_0x771e12(0x30a)],..._0x49e1a0[_0x771e12(0x30a)],..._0x353acd,..._0x5ec76c],_0x3e7ee0),_0x1fbb94[_0x771e12(0x164)]({'unitID':_0x28c370,'redoMutations':[..._0x35dad7[_0x771e12(0x30a)],..._0x49e1a0[_0x771e12(0x30a)],..._0x353acd,..._0x5ec76c],'undoMutations':[..._0x35dad7[_0x771e12(0x312)],..._0x49e1a0['undos'],..._0x37f8e2,..._0x580674]}),!0x0;}},_0x10f76d={'type':_0x39781c['CommandType'][_0x25f219(0x216)],'id':_0x25f219(0x467),async 'handler'(_0x37c82e,_0x144e89){const _0x5ad535=_0x25f219;if(!_0x144e89)return!0x1;const _0x48831e=_0x37c82e[_0x5ad535(0x46f)](_0x39781c[_0x5ad535(0x454)]),_0x3fe4ea=_0x37c82e['get'](_0x414f7d['SheetsPivotRPCService']),_0x460da0=_0x37c82e[_0x5ad535(0x46f)](_0x39781c[_0x5ad535(0x364)]),_0x38b224=_0x37c82e['get'](_0x39781c[_0x5ad535(0x1f8)]),{pivotTableId:_0x14d813,position:_0x6de908,index:_0xad4f8}=_0x144e89,_0x5dd933=_0x1457ac[_0x5ad535(0x1e9)](_0x460da0);if(!_0x5dd933)return!0x1;const {unitId:_0x477daf,subUnitId:_0xecec41}=_0x5dd933,_0x57532b=(await _0x3fe4ea[_0x5ad535(0x1ad)]({'unitId':_0x477daf,'subUnitId':_0xecec41,'pivotTableId':_0x14d813,'params':{'type':_0x11ef1a[_0x5ad535(0x1ce)],'updateValuePosition':{'position':_0x6de908,'index':_0xad4f8}}}))[_0x5ad535(0x1d5)][_0x5ad535(0x45e)];if(!_0x57532b)return!0x1;const {changesets:_0x2aff27,view:_0x5e0e49,isEmpty:_0x5259d9,pivotTableConfig:_0x456faa}=_0x57532b,_0x40188c=_0x456faa[_0x5ad535(0x1df)],_0x230cf5=new _0x359d7d[(_0x5ad535(0x266))]();_0x230cf5['formJSON'](_0x5e0e49);const _0x3f5dc1=_0x37c82e['get'](_0x414f7d[_0x5ad535(0x35e)]),_0x1ad4c2={'cellInfo':_0x40188c,'view':_0x230cf5,'isEmpty':_0x5259d9};if(!await _0x3f5dc1[_0x5ad535(0x38f)][_0x5ad535(0x1f7)](_0x395a1e)(!0x0,_0x1ad4c2))return!0x1;const _0x501018=_0x1541c9(_0x37c82e,_0x230cf5,_0x40188c,_0x5259d9),_0xf323a9=_0x137019(_0x37c82e,_0x1ad4c2),{undos:_0xf2e99d,redos:_0x306fc}=_0x4820c8(_0x48831e,{'pivotTableId':_0x14d813,'unitId':_0x477daf,'subUnitId':_0xecec41},_0x2aff27);return _0x39781c['sequenceExecute']([..._0x501018[_0x5ad535(0x30a)],..._0xf323a9[_0x5ad535(0x30a)],..._0x306fc],_0x48831e),_0x38b224[_0x5ad535(0x164)]({'unitID':_0x477daf,'redoMutations':[..._0x501018['redos'],..._0xf323a9[_0x5ad535(0x30a)],..._0x306fc],'undoMutations':[..._0x501018[_0x5ad535(0x312)],..._0xf323a9['undos'],..._0xf2e99d]}),!0x0;}},_0x302e5e={'type':_0x39781c[_0x25f219(0x3d9)][_0x25f219(0x25f)],'id':_0x25f219(0x346),'handler'(){return!0x0;}};var _0x59452f=Object[_0x25f219(0x311)],_0x78307a=(_0x3de18b,_0x481811,_0x355ba3,_0x27286e)=>{const _0x3f2d01=_0x25f219;for(var _0x208049=_0x27286e>0x1?void 0x0:_0x27286e?_0x59452f(_0x481811,_0x355ba3):_0x481811,_0x1a40fe=_0x3de18b[_0x3f2d01(0x37d)]-0x1,_0x14e7df;_0x1a40fe>=0x0;_0x1a40fe--)(_0x14e7df=_0x3de18b[_0x1a40fe])&&(_0x208049=_0x14e7df(_0x208049)||_0x208049);return _0x208049;},_0x39b950=(_0x3578a0,_0x4a5f25)=>(_0x5da19e,_0x2b35aa)=>_0x4a5f25(_0x5da19e,_0x2b35aa,_0x3578a0);const _0x169320=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x693105=(_0x56dbe4,_0x4bf6b9,_0x1dc4e3)=>{const _0x322719=_0x25f219,_0x4cd928=_0x56dbe4['dataFieldsCollection'];_0x56dbe4['iterateFieldDim'](_0x37f51b=>{const _0x36c128=_0x477d,_0x3f1f61=_0x37f51b['getId'](),_0x9de9d9=_0x37f51b[_0x36c128(0x330)](),_0x4fee2e=_0x37f51b[_0x36c128(0x470)](),_0x59a4df=_0x37f51b[_0x36c128(0x404)]();_0x4bf6b9[_0x9de9d9]&&_0x4bf6b9[_0x9de9d9]===_0x59a4df&&_0x4fee2e===_0x59a4df&&(_0x56dbe4[_0x36c128(0x157)](_0x3f1f61,_0x4cd928[_0x36c128(0x404)](_0x9de9d9)),_0x37f51b['setSourceName'](_0x4cd928[_0x36c128(0x404)](_0x9de9d9)));}),_0x56dbe4[_0x322719(0x2ad)](_0x359d7d[_0x322719(0x3ec)][_0x322719(0x3f0)],_0x5d7efb=>{const _0xab43f=_0x322719,_0x4f3918=_0x5d7efb[_0xab43f(0x31f)](),_0x67f7b8=_0x5d7efb[_0xab43f(0x330)](),_0x3a4897=_0x5d7efb['getSourceName'](),_0x37606f=_0x5d7efb[_0xab43f(0x404)](),_0x4b0b64=_0x5d7efb['getSubtotal'](),_0x4fc72d=_0x1dc4e3(_0x3a4897,_0x4b0b64);_0x4bf6b9[_0x67f7b8]&&_0x4bf6b9[_0x67f7b8]===_0x3a4897&&_0x4fc72d===_0x37606f&&(_0x56dbe4['renameField'](_0x4f3918,_0x1dc4e3(_0x4cd928[_0xab43f(0x404)](_0x67f7b8),_0x4b0b64)),_0x5d7efb[_0xab43f(0x1b0)](_0x4cd928[_0xab43f(0x404)](_0x67f7b8)));});},_0x2cd3eb=(_0x3e420f,_0x243ea2,_0x3e627f)=>{const _0x9ab24f=_0x25f219;var _0x195f77,_0x1ea2fc;const {arrayFormulaCellData:_0x34a64e,unitData:_0x58a6d3}=_0x243ea2,{unitId:_0x2c632a,subUnitId:_0x2b120d}=_0x3e627f,_0x13ae6a=_0x3e627f[_0x9ab24f(0x2a1)],{startColumn:_0x38d453,endColumn:_0x119f6e}=_0x13ae6a,_0x4bdf76=(_0x195f77=_0x34a64e==null?void 0x0:_0x34a64e[_0x2c632a])==null?void 0x0:_0x195f77[_0x2b120d],_0x2a9026=(_0x1ea2fc=_0x58a6d3==null?void 0x0:_0x58a6d3[_0x2c632a])==null?void 0x0:_0x1ea2fc[_0x2b120d],_0x36827f=new Set(),_0x4a5b2d=_0x119f6e-_0x38d453+0x1,{dirtyRanges:_0x35a0c3}=_0x3e420f;if(_0x35a0c3)for(const {range:_0x2e9c20,sheetId:_0x3edbf5,unitId:_0x5249b5}of _0x35a0c3){if(_0x3edbf5!==_0x2b120d||_0x2c632a!==_0x5249b5)continue;const _0xb34919=_0x39781c['Rectangle'][_0x9ab24f(0x3d5)](_0x2e9c20,_0x13ae6a);if(_0xb34919){const {startColumn:_0x1b8670,endColumn:_0x1dc5a6}=_0xb34919;for(let _0x57a03f=_0x1b8670;_0x57a03f<=_0x1dc5a6;_0x57a03f++)_0x36827f[_0x9ab24f(0x35f)](_0x57a03f);}}if(_0x36827f[_0x9ab24f(0x27f)]===_0x4a5b2d||_0x36827f['size']===_0x4a5b2d)return Array[_0x9ab24f(0x22f)](_0x36827f);if(_0x2a9026){const _0x28ce43=_0x2a9026[_0x9ab24f(0x43c)](),_0x4c81d9=Object[_0x9ab24f(0x3a0)](_0x28ce43);for(const _0x2a0046 of _0x4c81d9){const _0x15ea64=Number(_0x2a0046),_0x4b3762=_0x28ce43[_0x15ea64];if(_0x36827f[_0x9ab24f(0x27f)]===_0x4a5b2d)break;for(const _0x1bdf16 in _0x4b3762){const _0x1dd989=Number(_0x1bdf16);_0x1dd989<_0x38d453||_0x1dd989>_0x119f6e||_0x36827f[_0x9ab24f(0x35f)](_0x1dd989);}}}if(_0x4bdf76){const _0xfe5e76=_0x4bdf76[_0x9ab24f(0x43c)](),_0x327e21=Object[_0x9ab24f(0x3a0)](_0xfe5e76);for(const _0x41de02 of _0x327e21){const _0x15d33f=Number(_0x41de02),_0x1bc749=_0xfe5e76[_0x15d33f];if(_0x36827f[_0x9ab24f(0x27f)]===_0x4a5b2d)break;for(const _0x96b8d1 in _0x1bc749){const _0x3b37dd=Number(_0x96b8d1);_0x3b37dd<_0x38d453||_0x3b37dd>_0x119f6e||_0x36827f['add'](_0x3b37dd);}}}return Array[_0x9ab24f(0x22f)](_0x36827f);},_0x3345a6=_0x2ed144=>{const _0x39a9d4=_0x25f219,_0x564409=new Set(),_0x2d676=[];for(const _0x49fbc6 of _0x2ed144){const _0x16046b=_0x49fbc6[_0x39a9d4(0x383)]+','+_0x49fbc6[_0x39a9d4(0x25b)]+','+_0x49fbc6[_0x39a9d4(0x148)]+','+_0x49fbc6[_0x39a9d4(0x3e7)];_0x564409[_0x39a9d4(0x32a)](_0x16046b)||(_0x564409[_0x39a9d4(0x35f)](_0x16046b),_0x2d676[_0x39a9d4(0x1cb)](_0x49fbc6));}return _0x2d676;};let _0xdbc155=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x11f37b,_0x2761a8,_0x1cff50,_0x553327,_0x351134){const _0x2d5504=_0x25f219;super(),_0x4d19a3(this,_0x2d5504(0x3bb),new _0x201b78[(_0x2d5504(0x40f))](!0x0)),_0x4d19a3(this,_0x2d5504(0x2e1),_0x12e20e=>{const _0x32f3b5=_0x2d5504;this[_0x32f3b5(0x3bb)]['next'](!0x1);}),_0x4d19a3(this,_0x2d5504(0x24a),_0x4c65e9=>{const _0x29f43b=_0x2d5504;this[_0x29f43b(0x3bb)][_0x29f43b(0x2e4)](!0x0);}),(this[_0x2d5504(0x43a)]=_0x11f37b,this[_0x2d5504(0x432)]=_0x2761a8,this['_commandService']=_0x1cff50,this[_0x2d5504(0x258)]=_0x553327,this['_injector']=_0x351134,this[_0x2d5504(0x181)](),this['_initPivotDataGetListener']());}['_init'](){const _0x314ff7=_0x25f219;this[_0x314ff7(0x2bb)](),this['_subjectViewChange'](),this[_0x314ff7(0x38c)](),this[_0x314ff7(0x26d)]();}['_initGlobalComputed'](){const _0x14cd2b=_0x25f219;this[_0x14cd2b(0x258)][_0x14cd2b(0x196)](this[_0x14cd2b(0x3bb)]),_0x359d7d[_0x14cd2b(0x3de)][_0x14cd2b(0x3d7)](_0x359d7d[_0x14cd2b(0x423)]['onQueryStart'],this[_0x14cd2b(0x2e1)]),_0x359d7d[_0x14cd2b(0x3de)][_0x14cd2b(0x3d7)](_0x359d7d[_0x14cd2b(0x423)]['onQueryEnd'],this[_0x14cd2b(0x24a)]);}[_0x25f219(0x16e)](){const _0x52ebac=_0x25f219;this[_0x52ebac(0x406)](this[_0x52ebac(0x3d2)][_0x52ebac(0x428)](_0x1f0ef1=>{const _0x53e07a=_0x52ebac;_0x1f0ef1['id']===_0x1457ac[_0x53e07a(0x43f)]['id']&&this[_0x53e07a(0x43a)][_0x53e07a(0x3cf)](_0x1f0ef1['params']);})),this['disposeWithMe'](this['_commandService'][_0x52ebac(0x428)](_0x111f30=>{const _0x490fed=_0x52ebac;if(_0x111f30['id']!==_0x4eca56['id'])return;const _0x250636=_0x111f30[_0x490fed(0x15d)],{unitId:_0x3c969f,subUnitId:_0x3932cd,pivotTableId:_0x4bc154}=_0x250636,_0xcc23ee=_0x250636[_0x490fed(0x15d)][_0x490fed(0x185)],_0x2843ba={};switch(_0xcc23ee){case _0x11ef1a[_0x490fed(0x1d0)]:{const _0x12f760=_0x250636['params'][_0x490fed(0x299)];if(!_0x12f760)return;const {row:_0x382201,col:_0xccae95,cellData:_0x39001d,pivotItemRenderInfoCache:_0x17c0d2,tableFieldId:_0x4de723}=_0x12f760,_0x5c5efa=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x250636['pivotTableId']);if(!_0x5c5efa||!_0x17c0d2)return;if(_0x4de723){const _0x31721d=_0x5c5efa[_0x490fed(0x356)](_0x4de723);if(!_0x31721d)return;_0x2843ba[_0x490fed(0x299)]={..._0x5c5efa[_0x490fed(0x2b6)](_0x31721d),'tableFieldId':_0x4de723,'pivotTableId':_0x250636[_0x490fed(0x165)],'filterInfo':_0x5c5efa[_0x490fed(0x227)](_0x4de723),'sortInfo':_0x5c5efa['getSortInfo'](_0x4de723),'format':_0x5c5efa['getFieldFormat'](_0x4de723)};}else{const _0x5e7129=_0x248a5a(_0x382201,_0xccae95,_0x39001d,_0x5c5efa,_0x17c0d2),_0x5d3869=_0x5e7129==null?void 0x0:_0x5e7129[_0x490fed(0x433)];if(!_0x5d3869)return;const _0x41521c=_0x5c5efa['getDataFieldByTableId'](_0x5d3869);if(!_0x41521c)return;_0x2843ba[_0x490fed(0x299)]={..._0x5c5efa[_0x490fed(0x2b6)](_0x41521c),'tableFieldId':_0x5d3869,'pivotTableId':_0x250636[_0x490fed(0x165)],'filterInfo':_0x5c5efa[_0x490fed(0x227)](_0x5d3869),'sortInfo':_0x5c5efa[_0x490fed(0x466)](_0x5d3869),'format':_0x5c5efa[_0x490fed(0x2b9)](_0x5d3869)};}}break;case _0x11ef1a['Panel']:{const _0x5c1d04=_0x250636[_0x490fed(0x15d)][_0x490fed(0x26a)];if(!_0x5c1d04)return;const {pivotTableId:_0x39cfea}=_0x5c1d04,_0x23757d=this[_0x490fed(0x43a)][_0x490fed(0x20e)](_0x39cfea);if(!_0x23757d)return;const _0x5ecd9a=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x39cfea),_0x38b997=_0x54acb2(_0x23757d,_0x39cfea,_0x5ecd9a);_0x2843ba[_0x490fed(0x26a)]=_0x38b997;}break;case _0x11ef1a[_0x490fed(0x2cf)]:{const _0x371a08=this[_0x490fed(0x43a)][_0x490fed(0x20e)](_0x4bc154),_0xe80ddf=this[_0x490fed(0x43a)]['getDataFieldManager'](_0x3c969f),_0x2ff130=_0xe80ddf[_0x490fed(0x193)](_0x4bc154);let _0x4abf8b=null;const _0x318643=this[_0x490fed(0x43a)]['getPivotTableConfig'](_0x3c969f,_0x3932cd,_0x4bc154),_0x356199=_0x250636[_0x490fed(0x15d)][_0x490fed(0x1b4)];if(!_0x371a08||!_0x318643||!_0x356199)return!0x1;const {dataFieldId:_0x47841d,fieldArea:_0x188b62,index:_0x4701d2}=_0x356199;_0x371a08[_0x490fed(0x2fe)]();const _0x34badc=_0x371a08['addFieldWithSourceId'](_0x47841d,_0x188b62,_0x4701d2);if(_0x34badc&&_0x188b62===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x3f0)]){const _0x5b70d0=_0x34badc[_0x490fed(0x31f)](),_0x4176d3=_0x371a08[_0x490fed(0x356)](_0x5b70d0);if(_0x4176d3){const _0xfbcd14=_0x4176d3==null?void 0x0:_0x4176d3['getFieldDataType']();_0x371a08['setSubtotalType'](_0x34badc[_0x490fed(0x31f)](),_0xfbcd14===_0x359d7d[_0x490fed(0x2de)]['number']?_0x359d7d['PivotSubtotalTypeEnum'][_0x490fed(0x3fb)]:_0x359d7d[_0x490fed(0x402)][_0x490fed(0x2d5)]);}const _0x5977a7=_0x371a08[_0x490fed(0x2f6)](),_0x274166=_0x371a08[_0x490fed(0x3da)](),_0x367549=_0x371a08[_0x490fed(0x45c)](_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x3f0)]);if(_0x5977a7===-0x1&&_0x367549>0x1){const _0x4788ed=_0x274166===_0x359d7d[_0x490fed(0x2ff)][_0x490fed(0x422)]?_0x359d7d[_0x490fed(0x2ff)][_0x490fed(0x337)]:_0x274166,_0x5b67b8=_0x4788ed===_0x359d7d['PivotTableValuePositionEnum'][_0x490fed(0x43d)]?_0x359d7d['PivotTableFiledAreaEnum'][_0x490fed(0x43d)]:_0x359d7d['PivotTableFiledAreaEnum'][_0x490fed(0x337)];_0x371a08[_0x490fed(0x45e)](_0x4788ed,_0x371a08['getFieldCountByArea'](_0x5b67b8));}}else{if(_0x34badc&&(_0x188b62===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x43d)]||_0x188b62===_0x359d7d[_0x490fed(0x3ec)]['Column'])){const _0xf079d0=_0x34badc[_0x490fed(0x31f)](),_0xf4bfeb=_0x371a08[_0x490fed(0x356)](_0xf079d0);if(_0xf4bfeb&&(_0xf4bfeb==null?void 0x0:_0xf4bfeb[_0x490fed(0x46c)]())===_0x359d7d[_0x490fed(0x2de)][_0x490fed(0x204)]){const _0xb393d1=_0xf4bfeb[_0x490fed(0x1b3)]();if(_0xb393d1&&_0x371a08['setFieldFormat'](_0x34badc['getId'](),_0xb393d1),!_0x2ff130[_0x490fed(0x293)]()[_0x490fed(0x302)](_0xb9c611=>{const _0x59782d=_0x490fed,_0xc5f17f=_0x2ff130[_0x59782d(0x25c)](_0xb9c611);return _0x359d7d[_0x59782d(0x42d)](_0xc5f17f)?_0xc5f17f['getFieldInfo']()[_0x59782d(0x189)]===_0x47841d:!0x1;})){const _0x178e49=_0xe80ddf[_0x490fed(0x373)](),_0x19fd50=_0x21ab47(_0xf4bfeb[_0x490fed(0x3ed)],_0xf4bfeb['minDate']),_0x1448d6=_0xf4bfeb[_0x490fed(0x39f)]()+_0x490fed(0x41a)+_0x52d2c2(this[_0x490fed(0x40a)],_0x19fd50),_0x5b719a=new _0x359d7d[(_0x490fed(0x3a4))](_0x178e49,_0x1448d6,_0x359d7d[_0x490fed(0x426)](0x3),_0xf4bfeb[_0x490fed(0x31f)](),_0x19fd50);_0xe80ddf[_0x490fed(0x455)](_0x5b719a),_0x2ff130[_0x490fed(0x250)](_0x178e49,_0x1448d6),_0x371a08[_0x490fed(0x2b5)](_0x178e49,_0x188b62,(_0x4701d2!=null?_0x4701d2:0x0)+0x1),_0x4abf8b=_0x5b719a;}}}}const _0x5760f6=_0x371a08[_0x490fed(0x3a9)](),_0x4bc0b0=_0x371a08['query']()[_0x490fed(0x451)]();let _0x10e57c;if(_0x4abf8b){_0x10e57c=_0x4abf8b[_0x490fed(0x451)]();const _0x511e55=_0x4abf8b['getId']();_0x2ff130['deleteField'](_0x511e55);let _0x166e7e=!0x0;for(const _0xb27669 in _0xe80ddf[_0x490fed(0x3b4)])if(_0xe80ddf['collections'][_0xb27669][_0x490fed(0x293)]()['includes'](_0x511e55)){_0x166e7e=!0x1;break;}_0x166e7e&&_0xe80ddf[_0x490fed(0x28c)](_0x511e55);}const _0x3f6461=_0x371a08[_0x490fed(0x305)]();_0x2843ba[_0x490fed(0x1b4)]={'view':_0x4bc0b0,'changesets':_0x3f6461,'isEmpty':_0x5760f6,'pivotTableConfig':_0x318643,'shouldBeAddedGroupJSON':_0x10e57c};}break;case _0x11ef1a[_0x490fed(0x245)]:{const _0x508ea9=_0x250636[_0x490fed(0x15d)][_0x490fed(0x223)];if(!_0x508ea9)return;const _0x23bc38=_0x508ea9['sourceRangeInfo'],_0x2dac6e=_0x508ea9[_0x490fed(0x165)],{collection:_0x5b68f0}=this[_0x490fed(0x43a)]['createCollectionWithDataRange']({'unitId':_0x23bc38['unitId'],'sheetName':_0x23bc38[_0x490fed(0x22a)],'subUnitId':_0x23bc38[_0x490fed(0x1e1)],'range':_0x23bc38[_0x490fed(0x2a1)]}),_0x19dd35=new _0x359d7d['PivotTable'](_0x5b68f0,void 0x0,_0x2dac6e),_0x11fe45=_0x19dd35['query'](),_0x167d6b=_0x19dd35[_0x490fed(0x451)](),_0x3c9171=_0x5b68f0[_0x490fed(0x451)]();_0x2843ba[_0x490fed(0x223)]={'view':_0x11fe45,'fieldsConfig':_0x167d6b,'collectionConfig':_0x3c9171,'isEmpty':_0x19dd35[_0x490fed(0x3a9)]()};}break;case _0x11ef1a['MovePivotField']:{const _0xfb148d=_0x250636[_0x490fed(0x15d)][_0x490fed(0x1e4)];if(!_0xfb148d)return;const {fieldId:_0x62b6b7,area:_0x28f2fb,index:_0x2c4ba3}=_0xfb148d,_0x50cc97=this[_0x490fed(0x43a)]['getPivotTableConfig'](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x50cc97)return;const _0x35806e=this[_0x490fed(0x43a)][_0x490fed(0x20e)](_0x4bc154);if(!_0x35806e)return;_0x35806e[_0x490fed(0x2fe)]();const {area:_0x714f4a,index:_0x541d52}=_0x35806e[_0x490fed(0x230)](_0x62b6b7);if(_0x35806e['updateFieldPosition'](_0x62b6b7,_0x28f2fb,_0x2c4ba3),_0x28f2fb===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x3f0)]&&_0x35806e[_0x490fed(0x269)](_0x62b6b7)['getSubtotal']()===void 0x0){const _0x142606=_0x35806e[_0x490fed(0x269)](_0x62b6b7);if(_0x142606&&_0x142606[_0x490fed(0x199)]()===void 0x0){const _0x4a9479=_0x35806e[_0x490fed(0x356)](_0x62b6b7);if(_0x4a9479){const _0x3bb37f=_0x4a9479==null?void 0x0:_0x4a9479[_0x490fed(0x46c)]();_0x35806e[_0x490fed(0x444)](_0x62b6b7,_0x3bb37f===_0x359d7d[_0x490fed(0x2de)][_0x490fed(0x42f)]?_0x359d7d[_0x490fed(0x402)]['sum']:_0x359d7d['PivotSubtotalTypeEnum']['count']);}}}const _0x5a4353=_0x35806e[_0x490fed(0x3da)](),_0xc65f6a=_0x35806e['getValueIndex'](),_0x5b0b12=_0x35806e[_0x490fed(0x45c)](_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x3f0)])>0x1;if(_0x5b0b12&&_0x714f4a===_0x28f2fb&&(_0x28f2fb===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x43d)]&&_0x5a4353===_0x359d7d[_0x490fed(0x2ff)]['Row']||_0x28f2fb===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x337)]&&_0x5a4353===_0x359d7d['PivotTableValuePositionEnum'][_0x490fed(0x337)])){let _0x36fbb7=_0xc65f6a;_0x541d52<=_0xc65f6a&&_0x36fbb7--,_0x2c4ba3<=_0xc65f6a&&_0x36fbb7++,_0x35806e[_0x490fed(0x45e)](_0x5a4353,_0x36fbb7);}else _0x5b0b12&&(_0x714f4a===_0x359d7d[_0x490fed(0x3ec)]['Row']&&_0x5a4353===_0x359d7d[_0x490fed(0x2ff)][_0x490fed(0x43d)]||_0x714f4a===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x337)]&&_0x5a4353===_0x359d7d[_0x490fed(0x2ff)][_0x490fed(0x337)])&&_0xc65f6a>=_0x541d52&&_0x35806e['updateValuePosition'](_0x5a4353,_0xc65f6a-0x1),_0x5b0b12&&(_0x28f2fb===_0x359d7d[_0x490fed(0x3ec)]['Row']&&_0x5a4353===_0x359d7d[_0x490fed(0x2ff)][_0x490fed(0x43d)]||_0x28f2fb===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x337)]&&_0x5a4353===_0x359d7d[_0x490fed(0x2ff)]['Column'])&&_0xc65f6a>=_0x2c4ba3&&_0x35806e[_0x490fed(0x45e)](_0x5a4353,_0xc65f6a+0x1);const _0x387f7e=_0x35806e[_0x490fed(0x1ac)](),_0x14196e=_0x35806e[_0x490fed(0x3a9)](),_0xa2a29b=_0x35806e[_0x490fed(0x305)]();_0x2843ba[_0x490fed(0x1e4)]={'view':_0x387f7e[_0x490fed(0x451)](),'changesets':_0xa2a29b,'isEmpty':_0x14196e,'pivotTableConfig':_0x50cc97};}break;case _0x11ef1a['RemovePivotField']:{const _0x120b8e=_0x250636['params'][_0x490fed(0x27c)];if(!_0x120b8e)return;const _0x21c961=_0x120b8e['fieldIds'],_0x1a9118=this[_0x490fed(0x43a)]['getPivotTableConfig'](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x1a9118)return!0x1;const _0x43620e=this[_0x490fed(0x43a)]['getPivotTableInstance'](_0x4bc154);if(!_0x43620e)return!0x1;_0x43620e['startCollectChangeset']();for(const _0x43cd00 of _0x21c961){const {area:_0x38243f}=_0x43620e[_0x490fed(0x230)](_0x43cd00);_0x38243f===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x3f0)]&&_0x43620e[_0x490fed(0x1e6)](_0x43cd00),(_0x38243f===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x43d)]||_0x38243f===_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x337)])&&_0x43620e[_0x490fed(0x1c0)](_0x43cd00),_0x43620e[_0x490fed(0x351)](_0x43cd00);}const _0x2e4330=_0x43620e[_0x490fed(0x3a9)](),_0xcb8e4d=_0x43620e[_0x490fed(0x1ac)]()['toJSON'](),_0x583a04=_0x43620e[_0x490fed(0x305)]();_0x2843ba[_0x490fed(0x27c)]={'changesets':_0x583a04,'pivotTableConfig':_0x1a9118,'isEmpty':_0x2e4330,'view':_0xcb8e4d};}break;case _0x11ef1a[_0x490fed(0x287)]:{const _0x4951db=_0x250636[_0x490fed(0x15d)]['setPivotFilter'];if(!_0x4951db)return;const {tableFieldId:_0x546583,items:_0x191693,isAll:_0x2c4d1c}=_0x4951db,_0x1db2ac=this[_0x490fed(0x43a)]['getPivotTableInstance'](_0x4bc154),_0x1471f2=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x1db2ac||!_0x1471f2)return;_0x1db2ac['startCollectChangeset'](),_0x1db2ac[_0x490fed(0x2f5)](_0x546583,{'type':_0x359d7d[_0x490fed(0x44c)][_0x490fed(0x403)],'list':_0x191693,'isAll':_0x2c4d1c});const _0x291e55=_0x1db2ac[_0x490fed(0x3a9)](),_0x4906b2=_0x1db2ac['query']()[_0x490fed(0x451)](),_0x2dc165=_0x1db2ac['endCollectChangeset']();_0x2843ba[_0x490fed(0x17d)]={'view':_0x4906b2,'changesets':_0x2dc165,'isEmpty':_0x291e55,'pivotTableConfig':_0x1471f2};}break;case _0x11ef1a[_0x490fed(0x145)]:{const _0x3764b7=_0x250636[_0x490fed(0x15d)][_0x490fed(0x381)];if(!_0x3764b7)return;const {tableFieldId:_0x1d2c63,filterInfo:_0x4e7d63}=_0x3764b7,_0x2627ae=this[_0x490fed(0x43a)][_0x490fed(0x20e)](_0x4bc154),_0x3f9c70=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x2627ae||!_0x3f9c70)return;_0x2627ae[_0x490fed(0x2fe)](),_0x2627ae[_0x490fed(0x192)](_0x1d2c63,_0x4e7d63);const _0x5e6435=_0x2627ae['isEmpty'](),_0x1bfe76=_0x2627ae[_0x490fed(0x1ac)]()['toJSON'](),_0x5581e7=_0x2627ae[_0x490fed(0x305)]();_0x2843ba[_0x490fed(0x381)]={'view':_0x1bfe76,'changesets':_0x5581e7,'isEmpty':_0x5e6435,'pivotTableConfig':_0x3f9c70};}break;case _0x11ef1a['SetPivotSort']:{const _0x4b1b1e=_0x250636[_0x490fed(0x15d)][_0x490fed(0x430)];if(!_0x4b1b1e)return;const {tableFieldId:_0x40d3b0,info:_0x2f7140}=_0x4b1b1e,_0x5eaf2a=this[_0x490fed(0x43a)]['getPivotTableInstance'](_0x4bc154),_0x2c485c=this['_sheetsPivotDataSourceModel'][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x5eaf2a||!_0x2c485c)return;_0x5eaf2a[_0x490fed(0x2fe)](),_0x5eaf2a['setSortInfo'](_0x40d3b0,_0x2f7140);const _0x114619=_0x5eaf2a['isEmpty'](),_0x372391=_0x5eaf2a['query']()[_0x490fed(0x451)](),_0x177c4a=_0x5eaf2a['endCollectChangeset']();_0x2843ba['setPivotSort']={'view':_0x372391,'changesets':_0x177c4a,'isEmpty':_0x114619,'pivotTableConfig':_0x2c485c};}break;case _0x11ef1a[_0x490fed(0x272)]:{const _0x48528f=_0x250636[_0x490fed(0x15d)][_0x490fed(0x397)];if(!_0x48528f)return;const {tableFieldId:_0x4a6c3d,displayName:_0x111c9b,subtotalType:_0x4c6bf4,format:_0x48dea7}=_0x48528f,_0x216054=this['_sheetsPivotDataSourceModel'][_0x490fed(0x20e)](_0x4bc154),_0x2c6c2d=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x216054||!_0x2c6c2d)return;_0x216054[_0x490fed(0x2fe)](),_0x111c9b!==void 0x0&&_0x216054[_0x490fed(0x157)](_0x4a6c3d,_0x111c9b),_0x4c6bf4!==void 0x0&&_0x216054[_0x490fed(0x444)](_0x4a6c3d,_0x4c6bf4),_0x48dea7!==void 0x0&&_0x216054[_0x490fed(0x350)](_0x4a6c3d,_0x48dea7);const _0x16912d=_0x216054[_0x490fed(0x3a9)](),_0x3488c5=_0x216054[_0x490fed(0x1ac)]()['toJSON'](),_0xc14e01=_0x216054['endCollectChangeset']();_0x2843ba[_0x490fed(0x397)]={'changesets':_0xc14e01,'pivotTableConfig':_0x2c6c2d,'isEmpty':_0x16912d,'view':_0x3488c5};}break;case _0x11ef1a[_0x490fed(0x441)]:{const _0x2d9a75=_0x250636['params'][_0x490fed(0x33e)];if(!_0x2d9a75)return;const {dataRangeInfo:_0xac1f26,unitId:_0x4e7e43,subUnitId:_0xce5290}=_0x2d9a75,_0x7e29f1=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x4e7e43,_0xce5290,_0x4bc154),_0x444f72=this[_0x490fed(0x43a)][_0x490fed(0x20e)](_0x4bc154);if(!this['_sheetsPivotDataSourceModel'][_0x490fed(0x193)](_0x4e7e43,_0x4bc154)||!_0x444f72||!_0x7e29f1)return;const _0x5638cd=this[_0x490fed(0x43a)][_0x490fed(0x16a)](_0x4e7e43,_0x4bc154,_0xac1f26),_0x25c425=this['_sheetsPivotDataSourceModel']['getCollection'](_0x4e7e43,_0x4bc154)[_0x490fed(0x451)](),{collection:_0x3d8f02}=this[_0x490fed(0x43a)]['createCollectionWithDataRange']({'unitId':_0xac1f26[_0x490fed(0x3fe)],'sheetName':_0xac1f26[_0x490fed(0x22a)],'subUnitId':_0xac1f26[_0x490fed(0x1e1)],'range':_0xac1f26[_0x490fed(0x2a1)]}),_0x70a734=_0x3d8f02['toJSON']();_0x444f72[_0x490fed(0x2fe)]();const _0x25ff71=this[_0x490fed(0x43a)][_0x490fed(0x2af)](_0x4e7e43)['getAutoDisplayNameFunction']()||_0x359d7d[_0x490fed(0x1e8)];_0x444f72[_0x490fed(0x28a)](_0x538c30=>{const _0x39df35=_0x490fed,_0x3adf3b=_0x538c30[_0x39df35(0x330)]();if(!_0x3d8f02[_0x39df35(0x40b)](_0x3adf3b)){const _0x21e7fd=_0x3d8f02[_0x39df35(0x238)](_0x538c30['getSourceName']());if(_0x21e7fd){_0x444f72[_0x39df35(0x20f)](_0x538c30['getId'](),_0x21e7fd[_0x39df35(0x39f)](),_0x21e7fd['getId']());const {area:_0x2e155a}=_0x444f72[_0x39df35(0x230)](_0x538c30['getId']());let _0x4dd0dd=_0x538c30[_0x39df35(0x470)]();const _0x312d6c=_0x538c30[_0x39df35(0x404)]();if(_0x2e155a===_0x359d7d[_0x39df35(0x3ec)]['Value']){const _0x1be8f6=_0x538c30[_0x39df35(0x199)]();_0x4dd0dd=_0x25ff71(_0x21e7fd[_0x39df35(0x39f)](),_0x1be8f6);}_0x312d6c!==_0x4dd0dd&&_0x444f72[_0x39df35(0x157)](_0x538c30['getId'](),_0x4dd0dd);}else _0x444f72[_0x39df35(0x351)](_0x538c30[_0x39df35(0x31f)]());}});const _0x54e234=_0x444f72[_0x490fed(0x3a9)](),_0x4844bb=_0x444f72[_0x490fed(0x1ac)]()[_0x490fed(0x451)](),_0x192299=_0x444f72[_0x490fed(0x305)]();_0x2843ba[_0x490fed(0x33e)]={'view':_0x4844bb,'changesets':_0x192299,'isEmpty':_0x54e234,'pivotTableConfig':_0x7e29f1,'collectionConfig':_0x70a734,'oldCollectionConfig':_0x25c425,'deleteIds':_0x5638cd};}break;case _0x11ef1a[_0x490fed(0x1ce)]:{const _0x81ef62=_0x250636[_0x490fed(0x15d)][_0x490fed(0x45e)];if(!_0x81ef62)return;const {position:_0x37ca09,index:_0x2db93b}=_0x81ef62,_0x2ed580=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x2ed580)return!0x1;const _0x8ff630=this[_0x490fed(0x43a)]['getPivotTableInstance'](_0x4bc154);if(!_0x8ff630)return!0x1;_0x8ff630[_0x490fed(0x2fe)](),_0x8ff630[_0x490fed(0x45e)](_0x37ca09,_0x2db93b);const _0x24b898=_0x8ff630['isEmpty'](),_0x346dd3=_0x8ff630['query']()[_0x490fed(0x451)](),_0x54bb53=_0x8ff630[_0x490fed(0x305)]();_0x2843ba['updateValuePosition']={'changesets':_0x54bb53,'pivotTableConfig':_0x2ed580,'isEmpty':_0x24b898,'view':_0x346dd3};}break;case _0x11ef1a[_0x490fed(0x33f)]:{const _0x496978=_0x250636['params'][_0x490fed(0x3fd)];if(!_0x496978)return;const {tableFieldId:_0xab52a3,collapse:_0x4a6dad,item:_0x23d7fc}=_0x496978,_0x39da82=this[_0x490fed(0x43a)][_0x490fed(0x20e)](_0x4bc154),_0x47fd6d=this[_0x490fed(0x43a)]['getPivotTableConfig'](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x39da82||!_0x47fd6d)return;_0x39da82[_0x490fed(0x2fe)](),_0x39da82[_0x490fed(0x44f)](_0xab52a3,_0x4a6dad,_0x23d7fc);const _0x2819e0=_0x39da82[_0x490fed(0x3a9)](),_0x149277=_0x39da82[_0x490fed(0x1ac)]()[_0x490fed(0x451)](),_0x486a15=_0x39da82[_0x490fed(0x305)]();_0x2843ba[_0x490fed(0x3fd)]={'view':_0x149277,'isEmpty':_0x2819e0,'pivotTableConfig':_0x47fd6d,'changesets':_0x486a15};}break;case _0x11ef1a['SetPivotTableConfig']:{const _0x50c874=_0x250636[_0x490fed(0x15d)][_0x490fed(0x292)];if(!_0x50c874)return;const {pivotTableConfig:_0x6ee071}=_0x50c874,_0x2a3235=this['_sheetsPivotDataSourceModel'][_0x490fed(0x20e)](_0x4bc154),_0xe05ea4=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x2a3235||!_0xe05ea4)return;_0x2a3235[_0x490fed(0x2fe)](),_0x8a22ed(_0x2a3235,_0x6ee071);const _0x2c95b4=_0x2a3235['isEmpty'](),_0xcc5933=_0x2a3235['query']()[_0x490fed(0x451)](),_0x51cc18=_0x2a3235[_0x490fed(0x305)]();_0x2843ba[_0x490fed(0x292)]={'view':_0xcc5933,'isEmpty':_0x2c95b4,'pivotTableConfig':{..._0xe05ea4,'fieldsConfig':_0x2a3235[_0x490fed(0x451)]()},'changesets':_0x51cc18};}break;case _0x11ef1a[_0x490fed(0x229)]:{const _0x566101=_0x250636[_0x490fed(0x15d)]['resetPivotTable'];if(!_0x566101)return;const _0x561f02=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4bc154),_0x3c1f86=this[_0x490fed(0x43a)][_0x490fed(0x18f)](_0x3c969f,_0x3932cd,_0x4bc154);if(!_0x561f02||!_0x3c1f86)return;_0x561f02[_0x490fed(0x2fe)](),_0xf1f49(_0x561f02,_0x566101[_0x490fed(0x3f1)]);const _0x35da1a=_0x561f02[_0x490fed(0x1ac)]()[_0x490fed(0x451)](),_0xd81a29=_0x561f02['endCollectChangeset']();_0x2843ba[_0x490fed(0x172)]={'view':_0x35da1a,'isEmpty':!0x0,'pivotTableConfig':{..._0x3c1f86,'fieldsConfig':_0x561f02['toJSON']()},'changesets':_0xd81a29};}break;case _0x11ef1a['AddPivotTableWithConfig']:{const _0x276259=_0x250636[_0x490fed(0x15d)]['addPivotTableWithConfig'];if(!_0x276259)return;const _0x145960=_0x276259[_0x490fed(0x1aa)],_0x43856e=_0x276259[_0x490fed(0x165)],{collection:_0x48eef1}=this[_0x490fed(0x43a)][_0x490fed(0x2b8)]({'unitId':_0x145960[_0x490fed(0x3fe)],'sheetName':_0x145960['sheetName'],'subUnitId':_0x145960[_0x490fed(0x1e1)],'range':_0x145960[_0x490fed(0x2a1)]}),_0x3d1ef1=new _0x359d7d[(_0x490fed(0x3de))](_0x48eef1,void 0x0,_0x43856e),_0x543b76=_0x48eef1[_0x490fed(0x293)](),{rows:_0x481333,columns:_0x5f2839,filters:_0x19dd9c,values:_0x18858b}=_0x276259[_0x490fed(0x345)];_0x3d1ef1[_0x490fed(0x2fe)]();for(const {field:_0x4f03a2,selectedItems:_0x4412d3}of _0x481333||[]){const _0x43ddaf=_0x543b76[_0x4f03a2];if(_0x43ddaf){const _0x393adf=_0x3d1ef1[_0x490fed(0x2b5)](_0x43ddaf,_0x359d7d['PivotTableFiledAreaEnum']['Row']);_0x4412d3&&_0x393adf&&_0x3d1ef1[_0x490fed(0x2f5)](_0x393adf[_0x490fed(0x31f)](),{'type':_0x359d7d[_0x490fed(0x44c)]['ManualFilter'],'list':_0x4412d3,'isAll':!0x1});}}for(const {field:_0x20312f,selectedItems:_0xeaae90}of _0x5f2839||[]){const _0x59d551=_0x543b76[_0x20312f];if(_0x59d551){const _0x5af52b=_0x3d1ef1[_0x490fed(0x2b5)](_0x59d551,_0x359d7d['PivotTableFiledAreaEnum']['Column']);_0xeaae90&&_0x5af52b&&_0x3d1ef1['setLabelFilterInfo'](_0x5af52b[_0x490fed(0x31f)](),{'type':_0x359d7d[_0x490fed(0x44c)][_0x490fed(0x403)],'list':_0xeaae90,'isAll':!0x1});}}for(const {field:_0x39648b,selectedItems:_0x367f05}of _0x19dd9c||[]){const _0x1462dd=_0x543b76[_0x39648b];if(_0x1462dd){const _0xd983b3=_0x3d1ef1[_0x490fed(0x2b5)](_0x1462dd,_0x359d7d['PivotTableFiledAreaEnum'][_0x490fed(0x1d0)]);_0x367f05&&_0xd983b3&&_0x3d1ef1[_0x490fed(0x2f5)](_0xd983b3['getId'](),{'type':_0x359d7d[_0x490fed(0x44c)][_0x490fed(0x403)],'list':_0x367f05,'isAll':!0x1});}}for(const {field:_0x22315f,subTotalType:_0x4b0a9d,formatString:_0x8e19c9}of _0x18858b||[]){const _0x584d71=_0x48eef1['getFieldById'](_0x543b76[_0x22315f]);if(!_0x584d71)continue;const _0x11ffed=_0x543b76[_0x22315f];if(_0x11ffed){const _0x432620=_0x3d1ef1[_0x490fed(0x2b5)](_0x11ffed,_0x359d7d[_0x490fed(0x3ec)][_0x490fed(0x3f0)]);if(_0x432620){if(_0x4b0a9d!==void 0x0){_0x3d1ef1['setSubtotalType'](_0x432620[_0x490fed(0x31f)](),_0x4b0a9d);const _0x3db9d7=this[_0x490fed(0x43a)][_0x490fed(0x2af)](_0x145960['unitId'])[_0x490fed(0x2d8)]()||_0x359d7d[_0x490fed(0x1e8)],_0x20a7e3=_0x48eef1['getDisplayName'](_0x11ffed),_0x466f16=_0x3db9d7(_0x20a7e3,_0x4b0a9d);_0x3d1ef1[_0x490fed(0x157)](_0x432620[_0x490fed(0x31f)](),_0x466f16);}else{if(_0x584d71){const _0x1c16ae=_0x584d71==null?void 0x0:_0x584d71[_0x490fed(0x46c)]();_0x3d1ef1[_0x490fed(0x444)](_0x432620[_0x490fed(0x31f)](),_0x1c16ae===_0x359d7d[_0x490fed(0x2de)][_0x490fed(0x42f)]?_0x359d7d[_0x490fed(0x402)][_0x490fed(0x3fb)]:_0x359d7d[_0x490fed(0x402)][_0x490fed(0x2d5)]);}}_0x8e19c9&&_0x3d1ef1[_0x490fed(0x350)](_0x432620[_0x490fed(0x31f)](),_0x8e19c9);}}}const _0x550206=_0x3d1ef1[_0x490fed(0x1ac)](),_0x3f984c=_0x3d1ef1[_0x490fed(0x451)](),_0xfccfb3=_0x3d1ef1[_0x490fed(0x3a9)](),_0x105d18=_0x3d1ef1[_0x490fed(0x305)](),_0x327d5d=_0x48eef1[_0x490fed(0x451)]();_0x2843ba[_0x490fed(0x232)]={'view':_0x550206,'fieldsConfig':_0x3f984c,'collectionConfig':_0x327d5d,'isEmpty':_0xfccfb3,'changesets':_0x105d18};}break;case _0x11ef1a[_0x490fed(0x2c3)]:{const _0x1e4722=_0x105857(this[_0x490fed(0x40a)],_0x250636);if(!_0x1e4722)return;const {range:_0x862495,sourceSubUnitId:_0x313e95,sourceUnitId:_0x4d8fe0,formatMap:_0x18466b,indexes:_0x59eb1a}=_0x1e4722;_0x2843ba[_0x490fed(0x3a1)]={'range':_0x862495,'sourceSubUnitId':_0x313e95,'sourceUnitId':_0x4d8fe0,'formatMap':_0x18466b,'indexes':_0x59eb1a};}break;}this[_0x490fed(0x3d2)][_0x490fed(0x2eb)](_0xe01630['id'],{'version':_0x250636[_0x490fed(0x15a)],'result':_0x2843ba},{'onlyLocal':!0x0});}));}[_0x25f219(0x38c)](){const _0x273dc2=_0x25f219;this[_0x273dc2(0x406)](this[_0x273dc2(0x3d2)][_0x273dc2(0x428)](_0x442356=>{const _0x27da4d=_0x273dc2;if(_0x442356['id']!==_0x57be3e['id'])return;const _0x48a406=_0x442356[_0x27da4d(0x15d)];return this[_0x27da4d(0x43a)][_0x27da4d(0x1b5)](_0x48a406[_0x27da4d(0x39d)]),!0x0;}));}['_subjectCollectionChange'](){const _0x30c02b=_0x25f219;this[_0x30c02b(0x43a)][_0x30c02b(0x25e)][_0x30c02b(0x366)](_0x209dd9=>{const _0x339712=_0x30c02b;switch(_0x209dd9[_0x339712(0x185)]){case _0x332fc8[_0x339712(0x35f)]:_0x209dd9['dataRangeInfo']&&_0x209dd9[_0x339712(0x1df)]&&this[_0x339712(0x36b)](_0x209dd9[_0x339712(0x375)],_0x209dd9[_0x339712(0x16f)],_0x209dd9[_0x339712(0x1df)]);break;case _0x332fc8[_0x339712(0x1ca)]:{const {unitId:_0x470d75,subUnitId:_0xd4baca,token:_0x932bd2}=_0x209dd9;_0x470d75&&_0xd4baca&&_0x932bd2&&this[_0x339712(0x307)](_0x470d75,_0xd4baca,_0x932bd2);}break;case _0x332fc8[_0x339712(0x40c)]:{const {token:_0x2bfc5d,oldSourceRangeInfo:_0x2f75cf,dataRangeInfo:_0x3a94ea,targetCellInfo:_0x1ec649}=_0x209dd9,{unitId:_0x972068,subUnitId:_0x7b60b7}=_0x2f75cf||{};_0x972068&&_0x7b60b7&&_0x2bfc5d&&this[_0x339712(0x307)](_0x972068,_0x7b60b7,_0x2bfc5d),_0x3a94ea&&_0x1ec649&&this[_0x339712(0x36b)](_0x2bfc5d,_0x3a94ea,_0x1ec649);}break;}});}[_0x25f219(0x26d)](){const _0x3cb158=_0x25f219;this['_sheetsPivotDataSourceModel'][_0x3cb158(0x2e3)][_0x3cb158(0x366)](_0x37bd5b=>{const _0x180f83=_0x3cb158;Object[_0x180f83(0x3a0)](_0x37bd5b)[_0x180f83(0x262)](_0x300fb4=>{const _0x1d06a8=_0x180f83,_0x2e1ad3=this['_sheetsPivotDataSourceModel'][_0x1d06a8(0x473)](_0x300fb4);if(_0x2e1ad3){const _0x6029e9=this[_0x1d06a8(0x43a)][_0x1d06a8(0x18f)](_0x2e1ad3==null?void 0x0:_0x2e1ad3['unitId'],_0x2e1ad3==null?void 0x0:_0x2e1ad3[_0x1d06a8(0x1e1)],_0x300fb4);_0x6029e9&&(this[_0x1d06a8(0x36b)](_0x300fb4,_0x6029e9['sourceRangeInfo'],_0x6029e9['targetCellInfo']),this[_0x1d06a8(0x24e)]([{'unitId':_0x2e1ad3[_0x1d06a8(0x3fe)],'subUnitId':_0x2e1ad3[_0x1d06a8(0x1e1)],'token':_0x300fb4}]));}});});}[_0x25f219(0x341)](){const _0x3bb692=_0x25f219;this[_0x3bb692(0x43a)]['viewData$'][_0x3bb692(0x366)](_0x54f156=>{const _0x22ff9b=_0x3bb692,{unitId:_0x26837a,subUnitId:_0x4b7eac,pivotTableId:_0x216f5f}=_0x54f156;_0x26837a&&_0x4b7eac&&_0x216f5f&&this[_0x22ff9b(0x24e)]([{'unitId':_0x26837a,'subUnitId':_0x4b7eac,'token':_0x216f5f}]);});}[_0x25f219(0x24e)](_0x162324){const _0x5964e2=_0x25f219,_0x3ee1e0={};_0x162324[_0x5964e2(0x262)](_0x5f1151=>{var _0x1811ca,_0x41508b;const {unitId:_0x184ef2,subUnitId:_0x1de9d2,token:_0x49b4f0}=_0x5f1151;_0x3ee1e0[_0x184ef2]=(_0x1811ca=_0x3ee1e0[_0x184ef2])!=null?_0x1811ca:{},_0x3ee1e0[_0x184ef2][_0x1de9d2]=(_0x41508b=_0x3ee1e0[_0x184ef2][_0x1de9d2])!=null?_0x41508b:{},_0x3ee1e0[_0x184ef2][_0x1de9d2][_0x49b4f0]=!0x0;}),this['_commandService']['executeCommand'](_0x302e5e['id'],_0x3ee1e0);}[_0x25f219(0x307)](_0x153d15,_0x17c116,_0x22a342){const _0x2624fe=_0x25f219;this['_featureCalculationManagerService'][_0x2624fe(0x246)](_0x153d15,_0x17c116,[_0x22a342]);}['handleSourceRangeChange'](_0x3b32be,_0xac7ab0,_0xd6b4d0){const _0x4fd815=_0x25f219,{unitId:_0x18af3c,subUnitId:_0x13a24b}=_0xac7ab0;this['_featureCalculationManagerService']['has'](_0xd6b4d0[_0x4fd815(0x3fe)],_0xd6b4d0[_0x4fd815(0x1e1)],_0x3b32be)&&this[_0x4fd815(0x307)](_0x18af3c,_0x13a24b,_0x3b32be);const _0x2c7b1f={'sheetId':_0x13a24b,..._0xac7ab0};this[_0x4fd815(0x432)][_0x4fd815(0x2a2)](_0xd6b4d0[_0x4fd815(0x3fe)],_0xd6b4d0[_0x4fd815(0x1e1)],_0x3b32be,{'unitId':_0xd6b4d0[_0x4fd815(0x3fe)],'subUnitId':_0xd6b4d0[_0x4fd815(0x1e1)],'dependencyRanges':[_0x2c7b1f],'getDirtyData':(_0x4a855b,_0x9e3f36)=>{const _0x3547d1=_0x4fd815,_0x1e1323=this[_0x3547d1(0x43a)],_0x48fc25=_0x1e1323[_0x3547d1(0x473)](_0x3b32be);if(!_0x48fc25)return _0x169320();const {unitId:_0x20f8c7,subUnitId:_0x366135}=_0x48fc25,_0x49318b=_0x2cd3eb(_0x4a855b,_0x9e3f36,_0xac7ab0);if(_0x49318b['length']>0x0){const _0x5dbe0d=_0x1e1323[_0x3547d1(0x193)](_0x18af3c,_0x3b32be),_0x128e76=_0x5dbe0d['getFieldIds'](),_0x9304b6=this['getMatrixFromRunTimeData'](_0xac7ab0[_0x3547d1(0x3fe)],_0xac7ab0['subUnitId'],_0x9e3f36),_0x219723={},_0x3fea87=this[_0x3547d1(0x43a)]['getDataFieldManager'](_0x20f8c7)[_0x3547d1(0x2d8)]()||_0x359d7d['getAutoDisplayName'],_0x140ca8=[];for(const _0x1f59b8 of _0x49318b){const _0x4c006d=_0x1f59b8-(_0xac7ab0[_0x3547d1(0x2a1)][_0x3547d1(0x148)]||0x0),_0x495ec7=_0x128e76[_0x4c006d];_0x140ca8['push'](_0x495ec7),_0x219723[_0x495ec7]=_0x5dbe0d[_0x3547d1(0x25c)](_0x495ec7)[_0x3547d1(0x39f)](),_0x1e1323['getDataFieldManager'](_0x18af3c)['refreshDataField'](_0x495ec7,_0xac7ab0,_0x4c006d,_0x9304b6);}_0x5dbe0d[_0x3547d1(0x46b)](_0x140ca8)[_0x3547d1(0x262)](_0x5b35f3=>{const _0x26fc58=_0x3547d1,[_0x2221fc,_0x18545c]=_0x5b35f3,_0x5cd4e5=_0x5dbe0d[_0x26fc58(0x25c)](_0x2221fc),_0x43c0f7=_0x5dbe0d[_0x26fc58(0x25c)](_0x18545c);_0x5cd4e5&&_0x43c0f7&&_0x5cd4e5[_0x26fc58(0x249)](_0x43c0f7);}),_0x5dbe0d['updateAllDisplayName']();const _0x3b8122=_0x1e1323[_0x3547d1(0x20e)](_0x3b32be);if(_0x3b8122){_0x693105(_0x3b8122,_0x219723,_0x3fea87),_0x3b8122[_0x3547d1(0x1a3)](!0x0);const _0x26bcb3=_0x3b8122[_0x3547d1(0x1ac)](),_0x303c42=_0x1e1323[_0x3547d1(0x18f)](_0x20f8c7,_0x366135,_0x3b32be),_0x4268cb=_0x1e1323['getDataFieldManager'](_0x18af3c)[_0x3547d1(0x451)]();_0x1e1323[_0x3547d1(0x1e7)](_0x20f8c7,_0x366135,_0x3f20dc[_0x3547d1(0x1cf)],_0x3b32be,_0x26bcb3,_0x303c42,_0x4268cb,!0x0);}}return this[_0x3547d1(0x242)](_0x20f8c7,_0x366135,_0x3b32be);}});}[_0x25f219(0x3fa)](_0x2a02a2,_0x2a3177,_0x1f5503){var _0x4620f3,_0x4484a6;const {arrayFormulaCellData:_0x289f60,unitData:_0x220a1b}=_0x1f5503,_0x55118d=(_0x4620f3=_0x289f60==null?void 0x0:_0x289f60[_0x2a02a2])==null?void 0x0:_0x4620f3[_0x2a3177],_0x3d5fd3=(_0x4484a6=_0x220a1b==null?void 0x0:_0x220a1b[_0x2a02a2])==null?void 0x0:_0x4484a6[_0x2a3177];return{'arrayFormulaCellDataMatrix':_0x55118d,'unitDataMatrix':_0x3d5fd3};}['getDirtyInfo'](_0x2021e0,_0x294e07,_0x2a57d6){const _0x348caf=_0x25f219,_0x945c87=this[_0x348caf(0x43a)][_0x348caf(0x224)](_0x2021e0,_0x294e07,_0x2a57d6),_0xec60e5=[],_0x295694=new _0x39781c['ObjectMatrix']();if(_0x945c87){const {rangeCache:_0xb1cb75,matrix:_0x4481f5,oldRangeCache:_0x1265a0,oldMatrix:_0x5892bc}=_0x945c87,_0x582bdf=_0x3da2e6(_0x1265a0),_0xb94775=_0x3da2e6(_0xb1cb75);_0xec60e5[_0x348caf(0x1cb)](..._0xb94775,..._0x582bdf),_0x5892bc&&_0x1265a0&&_0x582bdf[_0x348caf(0x262)](_0x51d141=>{const _0xf28a17=_0x348caf;for(let _0x20a790=_0x51d141[_0xf28a17(0x383)];_0x20a790<=_0x51d141[_0xf28a17(0x25b)];_0x20a790++)for(let _0x145546=_0x51d141[_0xf28a17(0x148)];_0x145546<=_0x51d141['endColumn'];_0x145546++)_0x295694[_0xf28a17(0x1d4)](_0x20a790,_0x145546);}),_0x4481f5&&_0xb94775&&_0xb94775[_0x348caf(0x262)](_0x3fbf7f=>{const _0x18c8d2=_0x348caf;for(let _0x2795d6=_0x3fbf7f[_0x18c8d2(0x383)];_0x2795d6<=_0x3fbf7f[_0x18c8d2(0x25b)];_0x2795d6++)for(let _0x4de223=_0x3fbf7f[_0x18c8d2(0x148)];_0x4de223<=_0x3fbf7f[_0x18c8d2(0x3e7)];_0x4de223++)_0x295694['setValue'](_0x2795d6,_0x4de223,_0x4481f5[_0x18c8d2(0x285)](_0x2795d6,_0x4de223));});}const _0x1878fe={};return _0x1878fe[_0x2021e0]={[_0x294e07]:_0x3345a6(_0xec60e5)},{'runtimeCellData':{[_0x2021e0]:{[_0x294e07]:_0x295694}},'dirtyRanges':_0x1878fe};}[_0x25f219(0x2dc)](){}};_0xdbc155=_0x78307a([_0x39b950(0x0,_0x39781c[_0x25f219(0x28d)](_0x414f7d[_0x25f219(0x2f3)])),_0x39b950(0x1,_0x39781c[_0x25f219(0x28d)](_0x2b4321['IFeatureCalculationManagerService'])),_0x39b950(0x2,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x454)])),_0x39b950(0x3,_0x39781c[_0x25f219(0x28d)](_0x2b4321[_0x25f219(0x1c2)])),_0x39b950(0x4,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x329)]))],_0xdbc155);var _0x4f2373=Object[_0x25f219(0x311)],_0x45db28=(_0x203fc1,_0x47bdaa,_0x59cfbd,_0x4a58f4)=>{const _0x24ab6a=_0x25f219;for(var _0x5e87c8=_0x4a58f4>0x1?void 0x0:_0x4a58f4?_0x4f2373(_0x47bdaa,_0x59cfbd):_0x47bdaa,_0x220fc0=_0x203fc1[_0x24ab6a(0x37d)]-0x1,_0x42614c;_0x220fc0>=0x0;_0x220fc0--)(_0x42614c=_0x203fc1[_0x220fc0])&&(_0x5e87c8=_0x42614c(_0x5e87c8)||_0x5e87c8);return _0x5e87c8;},_0x1ac2ad=(_0x4f90d8,_0x4adcef)=>(_0x3c9c19,_0x342db1)=>_0x4adcef(_0x3c9c19,_0x342db1,_0x4f90d8);let _0x235a6b=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x13a8d8,_0x1fc8d8,_0x1491e1,_0x37b7da){const _0x528e31=_0x25f219;super(),_0x4d19a3(this,_0x528e31(0x358),new _0x39781c[(_0x528e31(0x2d6))]()),(this[_0x528e31(0x2c1)]=_0x13a8d8,this[_0x528e31(0x2a9)]=_0x1fc8d8,this['_sheetsSelectionsService']=_0x1491e1,this['_sheetsPivotTableConfigModel']=_0x37b7da,this[_0x528e31(0x1fc)]());}[_0x25f219(0x1fc)](){const _0x5988a3=_0x25f219;this['disposeWithMe'](this['_sheetInterceptorService'][_0x5988a3(0x161)]({'getMutations':_0x150064=>{const _0x4ef193=_0x5988a3;if(_0x150064['id']===_0x1457ac[_0x4ef193(0x2da)]['id']||_0x150064['id']===_0x1457ac[_0x4ef193(0x41d)]['id']){const _0x4b82dc=[],_0x4fae79=[],_0x1ebf64=this['_sheetsSelectionsService'][_0x4ef193(0x27e)]()[_0x4ef193(0x371)](_0x1b22de=>_0x1b22de['range']),_0x105a91=_0x1457ac[_0x4ef193(0x1e9)](this[_0x4ef193(0x2c1)],_0x150064[_0x4ef193(0x15d)]);if(!_0x105a91)return{'redos':[],'undos':[]};const {unitId:_0x4b429f,subUnitId:_0x41e4f2}=_0x105a91,_0x2b1f25={},_0x42902c=this[_0x4ef193(0x17b)]['getSubUnitPivotConfigs'](_0x4b429f,_0x41e4f2);if(_0x42902c!=null&&_0x42902c['size'])for(const [_0x57b9be,_0xa792a1]of _0x42902c){const {unitId:_0x509fb0,subUnitId:_0x1f515f,row:_0x314a30,col:_0x3ec191}=_0xa792a1['targetCellInfo'];_0x509fb0===_0x105a91[_0x4ef193(0x3fe)]&&_0x1f515f===_0x105a91[_0x4ef193(0x1e1)]&&(_0x2b1f25[_0x314a30+'-'+_0x3ec191]=_0x57b9be);}return _0x1ebf64&&_0x105a91&&_0x1ebf64[_0x4ef193(0x262)](_0x3bb4d1=>{const _0xa3971=_0x4ef193;_0x39781c['Range'][_0xa3971(0x208)](_0x3bb4d1,(_0x5e69e6,_0x34b804)=>{const _0x12404b=_0xa3971,_0xc5cc67=_0x5e69e6+'-'+_0x34b804;if(_0x2b1f25[_0xc5cc67]){const _0x4fd998=_0x2b1f25[_0xc5cc67];_0x4b82dc[_0x12404b(0x1cb)]({'id':_0x4f56ca['id'],'params':{'unitId':_0x4b429f,'subUnitId':_0x41e4f2,'pivotTableId':_0x4fd998}});const _0xff60e0=this[_0x12404b(0x17b)]['getCollection'](_0x4b429f,_0x4fd998),_0x13f25d=this[_0x12404b(0x17b)][_0x12404b(0x18f)](_0x4b429f,_0x41e4f2,_0x4fd998);_0x4fae79[_0x12404b(0x1cb)]({'id':_0xd4a765['id'],'params':{'unitId':_0x4b429f,'subUnitId':_0x41e4f2,'pivotTableId':_0x4fd998,'pivotTableConfig':_0x13f25d,'collectionConfig':_0xff60e0}});}});}),{'redos':_0x4b82dc,'undos':_0x4fae79};}return{'redos':[],'undos':[]};}}));}};_0x235a6b=_0x45db28([_0x1ac2ad(0x0,_0x39781c[_0x25f219(0x364)]),_0x1ac2ad(0x1,_0x39781c[_0x25f219(0x28d)](_0x1457ac[_0x25f219(0x388)])),_0x1ac2ad(0x2,_0x39781c[_0x25f219(0x28d)](_0x1457ac[_0x25f219(0x1a6)])),_0x1ac2ad(0x3,_0x39781c[_0x25f219(0x28d)](_0x414f7d[_0x25f219(0x27b)]))],_0x235a6b);var _0x457d19=Object[_0x25f219(0x311)],_0xa6b9c6=(_0x42e354,_0x2020af,_0xaac6b6,_0x1a8737)=>{const _0x2b20dd=_0x25f219;for(var _0x5a913d=_0x1a8737>0x1?void 0x0:_0x1a8737?_0x457d19(_0x2020af,_0xaac6b6):_0x2020af,_0xa7ce31=_0x42e354[_0x2b20dd(0x37d)]-0x1,_0x56680d;_0xa7ce31>=0x0;_0xa7ce31--)(_0x56680d=_0x42e354[_0xa7ce31])&&(_0x5a913d=_0x56680d(_0x5a913d)||_0x5a913d);return _0x5a913d;},_0x33d749=(_0x5a628f,_0x3e75d0)=>(_0x13c7d7,_0x32f362)=>_0x3e75d0(_0x13c7d7,_0x32f362,_0x5a628f);let _0x332d8d=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x516014,_0x2969b9,_0xb79bcd,_0x4efc0b,_0x36f3a6){const _0x4ea923=_0x25f219;super(),this[_0x4ea923(0x2a9)]=_0x516014,this[_0x4ea923(0x40a)]=_0x2969b9,this[_0x4ea923(0x2c1)]=_0xb79bcd,this[_0x4ea923(0x17b)]=_0x4efc0b,this[_0x4ea923(0x300)]=_0x36f3a6,this[_0x4ea923(0x1a5)]();}[_0x25f219(0x151)](_0x5297e6,_0x408d18,_0x5d2662){const _0x25ee8a=_0x25f219,{pageView:_0x5adc9a,cornerView:_0x390fde,rowView:_0x28b873,colView:_0x347441,dataView:_0x39206c}=_0x408d18,_0x58ef96=_0x5297e6;let _0x2082bb;if(_0x5d2662)_0x2082bb=[..._0x3dc4de(_0x58ef96)];else{const _0x2b0cd7=_0x1b905b(_0x58ef96,_0x5adc9a,!0x0),_0x50bbda=_0x5adc9a['lastRow']>=0x0?_0x5adc9a[_0x25ee8a(0x1ee)]+0x1:0x0,_0x35673d=_0x390fde[_0x25ee8a(0x39c)],_0x40c7a1=_0x390fde['colCount'],_0x49ffca=_0x2b0cd7[_0x25ee8a(0x37d)]>0x0?_0x1657da:0x0,_0x2afced=_0x1b905b({'row':_0x58ef96[_0x25ee8a(0x1a8)]+_0x50bbda+_0x49ffca,'col':_0x58ef96['col']},_0x390fde,!0x1,!0x1),_0x1e5416=_0x1b905b({'row':_0x58ef96[_0x25ee8a(0x1a8)]+_0x50bbda+_0x49ffca+_0x35673d,'col':_0x58ef96[_0x25ee8a(0x331)]},_0x28b873,!0x1,!0x0),_0x2e4198=_0x1b905b({'row':_0x58ef96[_0x25ee8a(0x1a8)]+_0x50bbda+_0x49ffca,'col':_0x58ef96[_0x25ee8a(0x331)]+_0x40c7a1},_0x347441,!0x1,!0x0),_0x441f17=_0x1b905b({'row':_0x58ef96[_0x25ee8a(0x1a8)]+_0x50bbda+_0x49ffca+_0x35673d,'col':_0x58ef96[_0x25ee8a(0x331)]+_0x40c7a1},_0x39206c,!0x1,!0x0);_0x2082bb=[..._0x2b0cd7,..._0x2afced,..._0x1e5416,..._0x2e4198,..._0x441f17];}return _0x2082bb;}[_0x25f219(0x1a5)](){const _0x520624=_0x25f219;this[_0x520624(0x406)](this[_0x520624(0x300)][_0x520624(0x29d)]['intercept'](this[_0x520624(0x300)][_0x520624(0x29d)][_0x520624(0x190)]()[_0x520624(0x31b)],{'handler':(_0x46fe69,_0x345e6a)=>{const _0x56ad5b=_0x520624,{cellInfo:_0xb1850d,view:_0x46e54a,isEmpty:_0xd597d5}=_0x345e6a,_0x4831e8=_0xb1850d,{unitId:_0xeda4bb,subUnitId:_0xdef6a1}=_0x4831e8,_0x400daa=this[_0x56ad5b(0x151)](_0xb1850d,_0x46e54a,_0xd597d5),_0x18482c=this[_0x56ad5b(0x2a9)][_0x56ad5b(0x472)]({'unitId':_0xeda4bb,'subUnitId':_0xdef6a1,'ranges':_0x400daa}),_0x4d125f=_0x3119d6(this[_0x56ad5b(0x40a)],_0xeda4bb,_0xdef6a1,_0x400daa);_0x4d125f[_0x56ad5b(0x183)]&&(_0x18482c[_0x56ad5b(0x30a)][_0x56ad5b(0x1cb)](_0x4d125f['setRangeValueRedoMutation']),_0x18482c[_0x56ad5b(0x312)][_0x56ad5b(0x1cb)](_0x4d125f[_0x56ad5b(0x1f9)]));const _0x1a5743=this[_0x56ad5b(0x41c)](_0x46e54a,_0xb1850d);return _0x18482c[_0x56ad5b(0x30a)][_0x56ad5b(0x1cb)](..._0x1a5743[_0x56ad5b(0x30a)]),_0x18482c[_0x56ad5b(0x312)][_0x56ad5b(0x1cb)](..._0x1a5743[_0x56ad5b(0x312)]),{'redos':_0x18482c[_0x56ad5b(0x30a)],'undos':_0x18482c[_0x56ad5b(0x312)]};}}));}['getAutoFitColumnsMutations'](_0x4623fc,_0x10d8a5){const _0x56ff69=_0x25f219,{col:_0x3ef79f,unitId:_0x5cd52d,subUnitId:_0x49b9d6}=_0x10d8a5,_0x20443a=[],_0x5cc6ca=[],_0xfbedca=_0x1457ac[_0x56ff69(0x1e9)](this['_univerInstanceService'],{'unitId':_0x5cd52d,'subUnitId':_0x49b9d6});if(!_0x10d8a5||!_0x4623fc||!_0xfbedca)return{'undos':_0x5cc6ca,'redos':_0x20443a};const _0x18641e=this[_0x56ff69(0x17b)][_0x56ff69(0x45f)](),{colView:_0x167a25,dataView:_0x496139,cornerView:_0x1cc04d,rowView:_0x35ff87,formatMap:_0x336662}=_0x4623fc,_0x2e1809=_0x3bec7c(_0x167a25,_0x18641e,!0x0,_0x336662),_0x2cf48c=_0x3bec7c(_0x35ff87,_0x18641e,!0x1,_0x336662),_0x350492=_0x22071f(_0x496139),_0x4c1f5d=_0xa21c47(_0x1cc04d),{worksheet:_0x2c72c8}=_0xfbedca;if(typeof window<'u'&&window[_0x56ff69(0x24d)]){const _0x92f9b3=_0x59f848[_0x56ff69(0x243)]({..._0x588be4[_0x56ff69(0x3bc)]}),_0x5ddc98=_0x59f848[_0x56ff69(0x1f5)][_0x56ff69(0x23a)](_0x2e1809,_0x92f9b3)[_0x56ff69(0x200)]+0x10,_0x217d49=_0x59f848[_0x56ff69(0x1f5)][_0x56ff69(0x23a)](_0x350492,_0x92f9b3)[_0x56ff69(0x200)],_0x516784=Math[_0x56ff69(0x2f4)](Math[_0x56ff69(0x1b2)](_0x5ddc98,_0x217d49))+0x10,_0x4b4cdc=Math[_0x56ff69(0x2f4)](_0x59f848[_0x56ff69(0x1f5)][_0x56ff69(0x23a)](_0x2cf48c,_0x92f9b3)[_0x56ff69(0x200)]),_0x1fe42e=Math[_0x56ff69(0x2f4)](_0x59f848[_0x56ff69(0x1f5)][_0x56ff69(0x23a)](_0x4c1f5d,_0x92f9b3)[_0x56ff69(0x200)]),_0x5d0e5c=Math[_0x56ff69(0x1b2)](_0x4b4cdc,_0x1fe42e,0x28)+0xc,_0x12480d=_0x167a25[_0x56ff69(0x3c2)]+_0x1cc04d['colCount'],_0x217b30={},_0x2ac08b={};for(let _0x4dd967=_0x3ef79f;_0x4dd967<_0x3ef79f+_0x12480d;_0x4dd967++){const _0x5a2fe4=_0x2c72c8[_0x56ff69(0x3f3)](_0x4dd967);_0x217b30[_0x4dd967]=_0x5a2fe4,_0x4dd967-_0x3ef79f<_0x1cc04d['colCount']?_0x2ac08b[_0x4dd967-_0x3ef79f]=_0x5d0e5c:_0x2ac08b[_0x4dd967-_0x3ef79f]=_0x516784;}_0x20443a['push']({'id':_0x1457ac[_0x56ff69(0x390)]['id'],'params':{'subUnitId':_0x49b9d6,'unitId':_0x5cd52d,'ranges':[{'startColumn':_0x3ef79f,'endColumn':_0x3ef79f+_0x12480d-0x1,'startRow':0x0,'endRow':_0x2c72c8[_0x56ff69(0x463)]()-0x1}],'colWidth':_0x2ac08b}}),_0x5cc6ca['push']({'id':_0x1457ac[_0x56ff69(0x390)]['id'],'params':{'subUnitId':_0x49b9d6,'unitId':_0x5cd52d,'ranges':[{'startColumn':_0x3ef79f,'endColumn':_0x3ef79f+_0x12480d-0x1,'startRow':0x0,'endRow':_0x2c72c8[_0x56ff69(0x463)]()-0x1}],'colWidth':_0x217b30}});}return{'undos':_0x5cc6ca,'redos':_0x20443a};}};_0x332d8d=_0xa6b9c6([_0x33d749(0x0,_0x39781c[_0x25f219(0x28d)](_0x1457ac[_0x25f219(0x388)])),_0x33d749(0x1,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x329)])),_0x33d749(0x2,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x364)])),_0x33d749(0x3,_0x39781c[_0x25f219(0x28d)](_0x414f7d['SheetsPivotTableConfigModel'])),_0x33d749(0x4,_0x39781c['Inject'](_0x414f7d[_0x25f219(0x35e)]))],_0x332d8d);var _0x34b8c1=Object[_0x25f219(0x311)],_0xb091fc=(_0x50ddb4,_0xbfe8a3,_0x25abfa,_0x4e17bd)=>{const _0x4f8959=_0x25f219;for(var _0x179fdc=_0x4e17bd>0x1?void 0x0:_0x4e17bd?_0x34b8c1(_0xbfe8a3,_0x25abfa):_0xbfe8a3,_0x963f40=_0x50ddb4[_0x4f8959(0x37d)]-0x1,_0x3cc239;_0x963f40>=0x0;_0x963f40--)(_0x3cc239=_0x50ddb4[_0x963f40])&&(_0x179fdc=_0x3cc239(_0x179fdc)||_0x179fdc);return _0x179fdc;},_0x2526df=(_0x5a7582,_0xbcb204)=>(_0x2652de,_0x511ffb)=>_0xbcb204(_0x2652de,_0x511ffb,_0x5a7582);let _0x53835d=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x15204a,_0x135120,_0x478e82,_0x5aefae,_0x7498d0,_0x3a32bf,_0x46d0b5){const _0x367584=_0x25f219;super(),_0x4d19a3(this,_0x367584(0x358),new _0x39781c[(_0x367584(0x2d6))]()),(this[_0x367584(0x40a)]=_0x15204a,this[_0x367584(0x1f3)]=_0x135120,this[_0x367584(0x3d2)]=_0x478e82,this[_0x367584(0x2c1)]=_0x5aefae,this[_0x367584(0x17b)]=_0x7498d0,this[_0x367584(0x37a)]=_0x3a32bf,this[_0x367584(0x2a9)]=_0x46d0b5,this[_0x367584(0x240)]());}['_onRefRangeChange'](){const _0x3e269c=_0x25f219,_0x47a74c=(_0x58caba,_0x43c326)=>{const _0x21a52e=_0x477d,_0x5aed08=this['_univerInstanceService'][_0x21a52e(0x1cc)](_0x39781c[_0x21a52e(0x429)][_0x21a52e(0x33a)]);if(!_0x5aed08||!(_0x5aed08==null?void 0x0:_0x5aed08['getSheetBySheetId'](_0x43c326)))return;this[_0x21a52e(0x358)][_0x21a52e(0x2dc)]();const _0x59623f=_0x4dd62b=>this['_refRangeHandle'](_0x4dd62b,_0x58caba,_0x43c326),_0x12ae06=this[_0x21a52e(0x17b)][_0x21a52e(0x1eb)](_0x58caba,_0x43c326);if(!(_0x12ae06!=null&&_0x12ae06[_0x21a52e(0x27f)]))return;Array[_0x21a52e(0x22f)](_0x12ae06[_0x21a52e(0x274)]())[_0x21a52e(0x371)](_0xafbedb=>{const _0x5a4648=_0x21a52e,{row:_0x5027e2,col:_0x3feef1}=_0xafbedb['targetCellInfo'];return _0x39781c[_0x5a4648(0x289)](_0x5027e2,_0x3feef1);})[_0x21a52e(0x262)](_0x3571a4=>{const _0x150df8=_0x21a52e;this[_0x150df8(0x358)]['add'](this[_0x150df8(0x1f3)][_0x150df8(0x176)](_0x3571a4,_0x59623f,_0x58caba,_0x43c326));});},_0x44775c=()=>{const _0x16bb35=_0x477d,_0x8b5974=this['_univerInstanceService'][_0x16bb35(0x1cc)](_0x39781c[_0x16bb35(0x429)]['UNIVER_SHEET']);if(_0x8b5974){const _0x3f45f1=_0x8b5974[_0x16bb35(0x1db)]();if(!_0x3f45f1)return;_0x47a74c(_0x8b5974['getUnitId'](),_0x3f45f1[_0x16bb35(0x197)]());}};this[_0x3e269c(0x406)](this['_commandService'][_0x3e269c(0x428)](_0x59ace7=>{const _0x11b33a=_0x3e269c;if(_0x59ace7['id']===_0x1457ac[_0x11b33a(0x19b)]['id']){const _0x4cb515=_0x59ace7['params'],_0x730c6a=_0x4cb515['subUnitId'],_0x55f524=_0x4cb515[_0x11b33a(0x3fe)];if(!_0x730c6a||!_0x55f524)return;_0x47a74c(_0x55f524,_0x730c6a);}})),this['disposeWithMe'](this[_0x3e269c(0x17b)]['pivotInitCompleted$'][_0x3e269c(0x366)](_0xf8a04c=>{_0xf8a04c&&_0x44775c();})),this['disposeWithMe'](this[_0x3e269c(0x17b)]['pivotConfigChange$'][_0x3e269c(0x366)](_0x5781de=>{const _0x28feda=_0x3e269c,_0x39fcb3=_0x1457ac[_0x28feda(0x1e9)](this[_0x28feda(0x2c1)],{'unitId':_0x5781de[_0x28feda(0x3fe)],'subUnitId':_0x5781de[_0x28feda(0x1e1)]});if(!_0x39fcb3)return;const {unitId:_0x34c662,subUnitId:_0x5a09b3}=_0x39fcb3,{unitId:_0x2ed647,subUnitId:_0x47f0cf}=_0x5781de;_0x34c662!==_0x2ed647||_0x5a09b3!==_0x47f0cf||_0x47a74c(_0x34c662,_0x5a09b3);})),_0x44775c();}['_refRangeHandle'](_0x2fdc57,_0x4b7348,_0x333dc2){const _0x3bb826=_0x25f219;return _0x2fdc57['id']===_0x1457ac['MoveRangeCommand']['id']?this[_0x3bb826(0x1c1)](_0x2fdc57[_0x3bb826(0x15d)],_0x4b7348,_0x333dc2):{'redos':[],'undos':[]};}[_0x25f219(0x1c1)](_0x2b0753,_0x3c7718,_0x4a6de8){const _0x599958=_0x25f219,{fromRange:_0x368f5a,toRange:_0x1ab3c0}=_0x2b0753,_0x418292=[],_0x23a610=[],_0x284677=_0x1457ac[_0x599958(0x1e9)](this[_0x599958(0x2c1)]);if(!_0x284677)return{'undos':_0x23a610,'redos':_0x418292};if(_0x3c7718!==_0x284677['unitId']||_0x4a6de8!==_0x284677['subUnitId'])return{'undos':_0x23a610,'redos':_0x418292};const _0x4a1d97=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x3c7718,_0x4a6de8);if(_0x4a1d97!=null&&_0x4a1d97['size'])for(const [_0x4dad16,_0x160ec0]of _0x4a1d97){const {unitId:_0x414f1e,subUnitId:_0xa76692,row:_0x1a2e14,col:_0x50c42f}=_0x160ec0[_0x599958(0x1df)];if(_0x414f1e===_0x284677[_0x599958(0x3fe)]&&_0xa76692===_0x284677['subUnitId']){const _0x4f37ac=_0x39781c[_0x599958(0x289)](_0x1a2e14,_0x50c42f);if(_0x39781c[_0x599958(0x471)][_0x599958(0x354)](_0x4f37ac,_0x368f5a)){const _0x2140c4=_0x1a2e14-_0x368f5a['startRow'],_0x3ec2b2=_0x50c42f-_0x368f5a[_0x599958(0x148)],_0x46f9e5={'row':_0x1ab3c0[_0x599958(0x383)]+_0x2140c4,'col':_0x1ab3c0[_0x599958(0x148)]+_0x3ec2b2};_0x418292[_0x599958(0x1cb)]({'id':_0x248048['id'],'params':{'unitId':_0x414f1e,'subUnitId':_0xa76692,'pivotTableId':_0x4dad16,'targetCellPosition':_0x46f9e5}}),_0x23a610[_0x599958(0x1cb)]({'id':_0x248048['id'],'params':{'unitId':_0x414f1e,'subUnitId':_0xa76692,'pivotTableId':_0x4dad16,'targetCellPosition':{'row':_0x1a2e14,'col':_0x50c42f}}});const _0x2304a8=_0x46f9e5[_0x599958(0x1a8)]-_0x1a2e14,_0x15bc14=_0x46f9e5[_0x599958(0x331)]-_0x50c42f,_0x5923c2=[],_0x4805d4=this[_0x599958(0x37a)][_0x599958(0x421)](_0x414f1e,_0xa76692,_0x4dad16),_0x6ed674=_0x4805d4==null?void 0x0:_0x4805d4[_0x599958(0x446)];if(_0x6ed674){Object[_0x599958(0x3a0)](_0x6ed674)[_0x599958(0x262)](_0x1ede74=>{_0x6ed674[_0x1ede74]['forEach'](_0x2d7a14=>{const _0x424096=_0x477d,_0x110554={..._0x2d7a14};_0x110554[_0x424096(0x383)]=_0x2d7a14[_0x424096(0x383)]+_0x2304a8,_0x110554[_0x424096(0x25b)]=_0x2d7a14[_0x424096(0x25b)]+_0x2304a8,_0x110554['startColumn']=_0x2d7a14[_0x424096(0x148)]+_0x15bc14,_0x110554[_0x424096(0x3e7)]=_0x2d7a14[_0x424096(0x3e7)]+_0x15bc14,_0x5923c2['push'](_0x110554);});});const _0x54bec0=this[_0x599958(0x2a9)][_0x599958(0x472)]({'unitId':_0x414f1e,'subUnitId':_0xa76692,'ranges':_0x5923c2});_0x418292[_0x599958(0x1cb)](..._0x54bec0[_0x599958(0x30a)]),_0x23a610[_0x599958(0x1cb)](..._0x54bec0['undos']);const _0x31f49a=_0x3119d6(this[_0x599958(0x40a)],_0x414f1e,_0xa76692,_0x5923c2);_0x31f49a['shouldClear']&&(_0x418292[_0x599958(0x1cb)](_0x31f49a[_0x599958(0x38d)]),_0x23a610[_0x599958(0x1cb)](_0x31f49a[_0x599958(0x1f9)]));}}}}return{'redos':_0x418292,'undos':_0x23a610};}};_0x53835d=_0xb091fc([_0x2526df(0x0,_0x39781c[_0x25f219(0x28d)](_0x39781c['Injector'])),_0x2526df(0x1,_0x39781c[_0x25f219(0x28d)](_0x1457ac[_0x25f219(0x396)])),_0x2526df(0x2,_0x39781c['ICommandService']),_0x2526df(0x3,_0x39781c[_0x25f219(0x364)]),_0x2526df(0x4,_0x39781c['Inject'](_0x414f7d['SheetsPivotTableConfigModel'])),_0x2526df(0x5,_0x39781c[_0x25f219(0x28d)](_0x414f7d['SheetsPivotTableAdaptorModel'])),_0x2526df(0x6,_0x39781c['Inject'](_0x1457ac['SheetInterceptorService']))],_0x53835d);var _0x1f9f7b=Object['getOwnPropertyDescriptor'],_0x24df55=(_0x378ce9,_0x294a1e,_0x1f598a,_0x36bc89)=>{const _0x1915c8=_0x25f219;for(var _0x3b775f=_0x36bc89>0x1?void 0x0:_0x36bc89?_0x1f9f7b(_0x294a1e,_0x1f598a):_0x294a1e,_0x211b80=_0x378ce9[_0x1915c8(0x37d)]-0x1,_0x1910c9;_0x211b80>=0x0;_0x211b80--)(_0x1910c9=_0x378ce9[_0x211b80])&&(_0x3b775f=_0x1910c9(_0x3b775f)||_0x3b775f);return _0x3b775f;},_0x2ee757=(_0x2d1ea4,_0x27dbf9)=>(_0x39a586,_0x56dd92)=>_0x27dbf9(_0x39a586,_0x56dd92,_0x2d1ea4);let _0x502a9c=class extends _0x39781c[_0x25f219(0x36c)]{constructor(_0x3f3069,_0x6d6203){const _0x472aa9=_0x25f219;super(),this[_0x472aa9(0x2a9)]=_0x3f3069,this['_sheetsPivotTableConfigModel']=_0x6d6203,this[_0x472aa9(0x1fd)]();}[_0x25f219(0x1fd)](){const _0x115390=_0x25f219;this[_0x115390(0x406)](this[_0x115390(0x2a9)][_0x115390(0x161)]({'getMutations':_0x14cf50=>{const _0x41fba2=_0x115390;if(_0x14cf50['id']===_0x1457ac['RemoveSheetCommand']['id']){const _0x57e514=[],_0x132d4e=[],_0x2cd59f=_0x14cf50[_0x41fba2(0x15d)],{unitId:_0x36dc20,subUnitId:_0x62d8eb}=_0x2cd59f;if(!_0x36dc20||!_0x62d8eb)return{'undos':_0x132d4e,'redos':_0x57e514};const _0x1f232a=this[_0x41fba2(0x17b)][_0x41fba2(0x1eb)](_0x36dc20,_0x62d8eb);if(_0x1f232a!=null&&_0x1f232a['size'])for(const [_0x39edfc,_0x4c52e3]of _0x1f232a){_0x57e514[_0x41fba2(0x1cb)]({'id':_0x4f56ca['id'],'params':{'unitId':_0x36dc20,'subUnitId':_0x62d8eb,'pivotTableId':_0x39edfc}});const _0x1e154e={...this[_0x41fba2(0x17b)][_0x41fba2(0x193)](_0x36dc20,_0x39edfc)};_0x132d4e['push']({'id':_0xd4a765['id'],'params':{'unitId':_0x36dc20,'subUnitId':_0x62d8eb,'pivotTableId':_0x39edfc,'pivotTableConfig':_0x4c52e3,'collectionConfig':_0x1e154e}});}return{'redos':_0x57e514,'undos':_0x132d4e};}return{'redos':[],'undos':[]};}}));}};_0x502a9c=_0x24df55([_0x2ee757(0x0,_0x39781c[_0x25f219(0x28d)](_0x1457ac[_0x25f219(0x388)])),_0x2ee757(0x1,_0x39781c[_0x25f219(0x28d)](_0x414f7d[_0x25f219(0x27b)]))],_0x502a9c);var _0x28eb13=Object['getOwnPropertyDescriptor'],_0x5ba752=(_0x46cf9f,_0xb9df1c,_0x588cce,_0x54e9f3)=>{for(var _0x475ac1=_0x54e9f3>0x1?void 0x0:_0x54e9f3?_0x28eb13(_0xb9df1c,_0x588cce):_0xb9df1c,_0x4d5d92=_0x46cf9f['length']-0x1,_0x506b09;_0x4d5d92>=0x0;_0x4d5d92--)(_0x506b09=_0x46cf9f[_0x4d5d92])&&(_0x475ac1=_0x506b09(_0x475ac1)||_0x475ac1);return _0x475ac1;},_0xac39e6=(_0x517780,_0x37467d)=>(_0x55b4f7,_0x33b6bc)=>_0x37467d(_0x55b4f7,_0x33b6bc,_0x517780);let _0x2b7ee6=class extends _0x39781c['Disposable']{constructor(_0x5ce80d,_0x28911d,_0x591003,_0x37fb28,_0x40b951,_0x512a34){const _0x5f4bd1=_0x25f219;super(),this[_0x5f4bd1(0x3d2)]=_0x5ce80d,this[_0x5f4bd1(0x187)]=_0x28911d,this[_0x5f4bd1(0x37a)]=_0x591003,this[_0x5f4bd1(0x17b)]=_0x37fb28,this[_0x5f4bd1(0x2c1)]=_0x40b951,this[_0x5f4bd1(0x21c)]=_0x512a34,this[_0x5f4bd1(0x3b9)](),this[_0x5f4bd1(0x3dd)]();}['_initDataSendListener'](){const _0x49d2a7=_0x25f219;this[_0x49d2a7(0x406)](this[_0x49d2a7(0x3d2)][_0x49d2a7(0x428)](_0x2a7888=>{const _0x321ee2=_0x49d2a7;if(_0x2a7888['id']!==_0xe01630['id'])return;const _0xa2f478=_0x2a7888[_0x321ee2(0x15d)];this['_sheetsPivotRpcService'][_0x321ee2(0x314)](_0xa2f478);})),this[_0x49d2a7(0x406)](this[_0x49d2a7(0x3d2)][_0x49d2a7(0x428)](_0x198b88=>{const _0x362831=_0x49d2a7;if(_0x198b88['id']===_0x119513['id']){const _0x45216c=_0x198b88[_0x362831(0x15d)];if(_0x45216c){const {unitId:_0x5c8b68,subUnitId:_0x18c9da,oldSubUnitId:_0x5cee32,pivotTableId:_0xaac41b,pivotTableConfig:_0x564c79,collectionConfig:_0x2d9c78}=_0x45216c;this[_0x362831(0x17b)][_0x362831(0x1a9)](_0x5c8b68,_0x5cee32,_0x45216c['pivotTableId'],null),this[_0x362831(0x17b)][_0x362831(0x1a9)](_0x5c8b68,_0x18c9da,_0xaac41b,_0x564c79),this['_sheetsPivotTableConfigModel'][_0x362831(0x2a5)](_0x5c8b68,_0x2d9c78);}}})),this['disposeWithMe'](this[_0x49d2a7(0x3d2)][_0x49d2a7(0x428)](_0x3537c4=>{const _0x194d4d=_0x49d2a7;if(_0x3537c4['id']!==_0x39d292['id'])return;const _0xb6e6ae=_0x1457ac[_0x194d4d(0x1e9)](this[_0x194d4d(0x2c1)]);if(!_0xb6e6ae)return;const {unitId:_0x236a02,subUnitId:_0x393b48}=_0xb6e6ae,_0x3387d9=_0x3537c4[_0x194d4d(0x15d)];if(_0x3387d9[_0x194d4d(0x365)]&&Object[_0x194d4d(0x3a0)](_0x3387d9[_0x194d4d(0x365)])['forEach'](_0x30580d=>{const _0x20e592=_0x194d4d;var _0x3e181b;(_0x3e181b=_0x3387d9[_0x20e592(0x365)])!=null&&_0x3e181b[_0x30580d]&&this[_0x20e592(0x17b)][_0x20e592(0x2a5)](_0x30580d,_0x3387d9[_0x20e592(0x365)][_0x30580d]);}),_0x3387d9[_0x194d4d(0x1c3)]){const _0x5c6e14=_0x3387d9['single'],{unitId:_0x1048cf,subUnitId:_0x821b01,view:_0x76bcac,pivotTableId:_0x22916e,type:_0x58188f,pivotConfig:_0x260ded}=_0x5c6e14;if(_0x58188f===_0x3f20dc[_0x194d4d(0x18e)])this['_sheetsPivotTableAdaptorModel'][_0x194d4d(0x237)]({'unitId':_0x1048cf,'subUnitId':_0x821b01,'pivotTableId':_0x22916e,'type':_0x58188f}),this[_0x194d4d(0x17b)]['updateConfigCache'](_0x1048cf,_0x821b01,_0x22916e,null);else{const _0x597f08=new _0x359d7d[(_0x194d4d(0x266))]();_0x597f08[_0x194d4d(0x3b0)](_0x76bcac),this[_0x194d4d(0x17b)]['updateConfigCache'](_0x1048cf,_0x821b01,_0x22916e,_0x260ded),this[_0x194d4d(0x37a)][_0x194d4d(0x237)]({'unitId':_0x1048cf,'subUnitId':_0x821b01,'pivotTableId':_0x22916e,'type':_0x58188f,'view':_0x597f08}),this[_0x194d4d(0x37a)][_0x194d4d(0x1a7)]({'unitId':_0x1048cf,'subUnitId':_0x821b01,'view':_0x597f08,'pivotTableId':_0x22916e,'type':_0x58188f});}}else _0x3387d9[_0x194d4d(0x31e)]&&(_0x3387d9[_0x194d4d(0x31e)][_0x194d4d(0x262)](_0x45ea8a=>{const _0x12e66a=_0x194d4d,{unitId:_0x3468fd,subUnitId:_0x144126,view:_0xc8365d,pivotTableId:_0x3d5872,type:_0x501e73,pivotConfig:_0x454e0a}=_0x45ea8a,_0x4d3ba9=new _0x359d7d[(_0x12e66a(0x266))]();_0x4d3ba9[_0x12e66a(0x3b0)](_0xc8365d),this[_0x12e66a(0x17b)]['updateConfigCache'](_0x3468fd,_0x144126,_0x3d5872,_0x454e0a),this[_0x12e66a(0x37a)][_0x12e66a(0x1a7)]({'unitId':_0x3468fd,'subUnitId':_0x144126,'view':_0x4d3ba9,'pivotTableId':_0x3d5872,'type':_0x501e73});}),this[_0x194d4d(0x17b)][_0x194d4d(0x205)]());this[_0x194d4d(0x37a)]['markDirty'](_0x236a02,_0x393b48);}));}[_0x25f219(0x3dd)](){const _0x36dbfa=_0x25f219;this[_0x36dbfa(0x21c)][_0x36dbfa(0x2a2)](_0x302e5e['id'],{'commandId':_0x302e5e['id'],'getDirtyData'(_0x2bc1cb){const _0x18fb78=_0x36dbfa;return{'dirtyUnitFeatureMap':_0x2bc1cb[_0x18fb78(0x15d)]};}});}};_0x2b7ee6=_0x5ba752([_0xac39e6(0x0,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x454)])),_0xac39e6(0x1,_0x39781c[_0x25f219(0x28d)](_0x414f7d[_0x25f219(0x1f6)])),_0xac39e6(0x2,_0x39781c[_0x25f219(0x28d)](_0x414f7d[_0x25f219(0x37e)])),_0xac39e6(0x3,_0x39781c[_0x25f219(0x28d)](_0x414f7d['SheetsPivotTableConfigModel'])),_0xac39e6(0x4,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x364)])),_0xac39e6(0x5,_0x2b4321[_0x25f219(0x280)])],_0x2b7ee6);var _0x69d9e9=Object[_0x25f219(0x30f)],_0x19dbdf=Object['getOwnPropertyDescriptor'],_0x16478d=(_0x11b4fc,_0x2d2699,_0x2d12cb)=>_0x2d2699 in _0x11b4fc?_0x69d9e9(_0x11b4fc,_0x2d2699,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d12cb}):_0x11b4fc[_0x2d2699]=_0x2d12cb,_0x103df6=(_0x2d21c4,_0x553b11,_0x21068e,_0x130841)=>{const _0x4efbd3=_0x25f219;for(var _0xeaf4fd=_0x130841>0x1?void 0x0:_0x130841?_0x19dbdf(_0x553b11,_0x21068e):_0x553b11,_0x27c348=_0x2d21c4[_0x4efbd3(0x37d)]-0x1,_0x597184;_0x27c348>=0x0;_0x27c348--)(_0x597184=_0x2d21c4[_0x27c348])&&(_0xeaf4fd=_0x597184(_0xeaf4fd)||_0xeaf4fd);return _0xeaf4fd;},_0x33426a=(_0x395921,_0x4ed407)=>(_0x5bb92d,_0x3ac535)=>_0x4ed407(_0x5bb92d,_0x3ac535,_0x395921),_0x346176=(_0x38c416,_0x177500,_0x3ba426)=>_0x16478d(_0x38c416,typeof _0x177500!='symbol'?_0x177500+'':_0x177500,_0x3ba426);_0x414f7d[_0x25f219(0x247)]=class extends _0x39781c['Plugin']{constructor(_0x535fbc=_0x126dcf,_0x7ffca0,_0xfabdc0,_0x16903a,_0x1e9086){const _0x517c55=_0x25f219;super(),this[_0x517c55(0x3b2)]=_0x535fbc,this[_0x517c55(0x40a)]=_0x7ffca0,this[_0x517c55(0x3d2)]=_0xfabdc0,this[_0x517c55(0x1bd)]=_0x16903a,this['_dataSyncPrimaryController']=_0x1e9086;const {..._0x286c39}=_0x39781c[_0x517c55(0x395)]({},_0x126dcf,this[_0x517c55(0x3b2)]);this['_configService'][_0x517c55(0x36f)](_0x46f6be,_0x286c39),this['_initRegisterCommand'](),this['_initConfig']();}['_initConfig'](){const _0x16d703=_0x25f219;var _0x3384a5;const _0x18f903=(_0x3384a5=this['_config'])==null?void 0x0:_0x3384a5['notExecuteFormula'];this[_0x16d703(0x1bd)][_0x16d703(0x36f)](_0x4f4b80,_0x18f903===!0x0);}[_0x25f219(0x3e6)](){const _0x30ce06=_0x25f219;var _0x2fe77d;let _0x1120ad=[];const _0xa88627=(_0x2fe77d=this['_config'])==null?void 0x0:_0x2fe77d[_0x30ce06(0x3af)];_0xa88627===!0x0?_0x1120ad=[[_0x414f7d['SheetsPivotTableService']],[_0x414f7d['SheetsPivotRPCService']],[_0x2b7ee6],[_0x414f7d[_0x30ce06(0x37e)]],[_0x414f7d['SheetsPivotTableConfigModel']],[_0x502a9c],[_0x235a6b],[_0x53835d],[_0x332d8d]]:_0xa88627===!0x1?_0x1120ad=[[_0x414f7d['SheetsPivotDataSourceModel']],[_0xdbc155]]:_0xa88627===void 0x0&&(_0x1120ad=[[_0x414f7d[_0x30ce06(0x2f3)]],[_0xdbc155],[_0x414f7d['SheetsPivotTableService']],[_0x414f7d[_0x30ce06(0x1f6)]],[_0x2b7ee6],[_0x414f7d[_0x30ce06(0x37e)]],[_0x414f7d[_0x30ce06(0x27b)]],[_0x502a9c],[_0x235a6b],[_0x53835d],[_0x332d8d]]),_0x1120ad['forEach'](_0x5e5a4e=>this[_0x30ce06(0x40a)][_0x30ce06(0x35f)](_0x5e5a4e)),[_0xdbc155,_0x2b7ee6,_0x414f7d[_0x30ce06(0x35e)],_0x235a6b,_0x502a9c,_0x53835d,_0x332d8d]['forEach'](_0x13b3fe=>{const _0x397fba=_0x30ce06;this[_0x397fba(0x40a)][_0x397fba(0x32a)](_0x13b3fe)&&this['_injector'][_0x397fba(0x46f)](_0x13b3fe);});}[_0x25f219(0x1d2)](){const _0x3bf94c=_0x25f219;[_0x33b700,_0x5e3275,_0x8619df,_0x4a1aac,_0x4c4e0a,_0x10f76d,_0x565fc1,_0x556f88,_0x309772,_0x4fa226,_0x561049,_0x58693d,_0x2af707,_0x46e738,_0xd4a765,_0x45876a,_0x4f56ca,_0x553dff,_0x4e2ffa,_0x500da1,_0x5b79f7,_0x5d8d5f,_0x339ac7,_0x5c376c,_0x3f7eee,_0x49ec5d,_0x248048,_0x4eca56,_0xe01630,_0x39d292,_0xcad73f,_0x56d7c0,_0xac6541,_0x4a1b5a,_0x57be3e,_0x5b3534,_0x404c17,_0x302e5e,_0x119513,_0x221c6c,_0x586955,_0x357e27,_0x184d8a][_0x3bf94c(0x262)](_0x381744=>{const _0x2a4513=_0x3bf94c;var _0x500f02;(_0x500f02=this['_dataSyncPrimaryController'])==null||_0x500f02['registerSyncingMutations'](_0x381744),this[_0x2a4513(0x3d2)][_0x2a4513(0x21f)](_0x381744);});}},_0x346176(_0x414f7d[_0x25f219(0x247)],_0x25f219(0x286),_0x444275),_0x346176(_0x414f7d[_0x25f219(0x247)],_0x25f219(0x185),_0x39781c['UniverInstanceType'][_0x25f219(0x33a)]),_0x414f7d[_0x25f219(0x247)]=_0x103df6([_0x39781c['DependentOn'](_0x462881['UniverLicensePlugin']),_0x33426a(0x1,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x329)])),_0x33426a(0x2,_0x39781c[_0x25f219(0x28d)](_0x39781c[_0x25f219(0x454)])),_0x33426a(0x3,_0x39781c[_0x25f219(0x28b)]),_0x33426a(0x4,_0x39781c[_0x25f219(0x342)](_0x42b9b3['DataSyncPrimaryController']))],_0x414f7d['UniverSheetsPivotTablePlugin']),_0x414f7d['AddPivotFieldCommand']=_0x8619df,_0x414f7d[_0x25f219(0x34c)]=_0x553dff,_0x414f7d[_0x25f219(0x21e)]=_0x5e3275,_0x414f7d[_0x25f219(0x3ca)]=_0xd4a765,_0x414f7d[_0x25f219(0x357)]=_0x33b700,_0x414f7d[_0x25f219(0x3d6)]=_0x1657da,_0x414f7d[_0x25f219(0x1e5)]=_0x102787,_0x414f7d['MovePivotFieldCommand']=_0x4a1aac,_0x414f7d[_0x25f219(0x3f8)]=_0x2af707,_0x414f7d[_0x25f219(0x348)]=_0x11ef1a,_0x414f7d[_0x25f219(0x195)]=_0x46e738,_0x414f7d[_0x25f219(0x36d)]=_0x3f20dc,_0x414f7d[_0x25f219(0x460)]=_0x302e5e,_0x414f7d[_0x25f219(0x319)]=_0x40cc2c,_0x414f7d[_0x25f219(0x2df)]=_0x4c4e0a,_0x414f7d['RemovePivotFieldMutation']=_0x5d8d5f,_0x414f7d['RemovePivotTableMutation']=_0x4f56ca,_0x414f7d[_0x25f219(0x1d8)]=_0x339ac7,_0x414f7d[_0x25f219(0x2fa)]=_0x184d8a,_0x414f7d[_0x25f219(0x3a5)]=_0x46f6be,_0x414f7d[_0x25f219(0x27a)]=_0x444275,_0x414f7d[_0x25f219(0x39a)]=_0x556f88,_0x414f7d[_0x25f219(0x1a1)]=_0x5c376c,_0x414f7d[_0x25f219(0x2b1)]=_0x4a1b5a,_0x414f7d[_0x25f219(0x3db)]=_0x357e27,_0x414f7d[_0x25f219(0x29f)]=_0x4fa226,_0x414f7d[_0x25f219(0x2c6)]=_0x5b79f7,_0x414f7d[_0x25f219(0x284)]=_0x49ec5d,_0x414f7d[_0x25f219(0x379)]=_0x248048,_0x414f7d[_0x25f219(0x1c5)]=_0x309772,_0x414f7d[_0x25f219(0x419)]=_0x3f7eee,_0x414f7d[_0x25f219(0x44d)]=_0xac6541,_0x414f7d['SetPivotValueFilterCommand']=_0x221c6c,_0x414f7d[_0x25f219(0x45b)]=_0x586955,_0x414f7d[_0x25f219(0x38b)]=_0x565fc1,_0x414f7d[_0x25f219(0x260)]=_0xcad73f,_0x414f7d[_0x25f219(0x36e)]=_0x561049,_0x414f7d[_0x25f219(0x359)]=_0x404c17,_0x414f7d[_0x25f219(0x3ba)]=_0x58693d,_0x414f7d[_0x25f219(0x23f)]=_0x5b3534,_0x414f7d['UpdatePivotValuePositionCommand']=_0x10f76d,_0x414f7d[_0x25f219(0x2bf)]=_0x56d7c0,_0x414f7d[_0x25f219(0x251)]=_0x4820c8,_0x414f7d[_0x25f219(0x2ac)]=_0x2c449c,_0x414f7d['defaultThemeStyle']=_0x588be4,_0x414f7d[_0x25f219(0x2ab)]=_0x3119d6,_0x414f7d['getAdjustRangesPosition']=_0x1b905b,_0x414f7d[_0x25f219(0x2b7)]=_0x3dc4de,_0x414f7d[_0x25f219(0x416)]=_0x9a6995,_0x414f7d[_0x25f219(0x26c)]=_0x1541c9,_0x414f7d[_0x25f219(0x14f)]=_0x248a5a,_0x414f7d[_0x25f219(0x301)]=_0x2a99f9,_0x414f7d['getPivotTableInfo']=_0x54acb2,_0x414f7d[_0x25f219(0x392)]=_0x35457c,_0x414f7d[_0x25f219(0x325)]=_0x3da2e6,Object[_0x25f219(0x30f)](_0x414f7d,Symbol[_0x25f219(0x275)],{'value':_0x25f219(0x2c2)});}));function _0x1c36(){const _0x519b1f=['MovePivotField','getName','keys','drillDown','parseInt','6QBFBkJ','DateGroupField','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','fieldId','initDataRanges','fromJSON','isEmpty','getPivotTableIdByCell','broadcastCollectionChange','@univerjs/sheets-filter','UpdateFieldPosition','isColMultiMeasure','notExecuteFormula','formJSON','colHeaderMap','_config','@univerjs/rpc','collections','hasOwnProperty','NUMBER','updateDirtyPivotTable','rangeKeyMap','_initDataSendListener','UpdatePivotTableSourceRangeCommand','_globalSubject','colStyle','blank','asObservable','error','_ensurePivotTableMatrixInfo','Subtotal','colCount','InterceptorManager','Column\x20','Collapse','4404059EEjUIJ','DEFAULT_WORKSHEET_COLUMN_COUNT','Date','setDisplayName','AddPivotTableMutation','sheets-pivot.dateGroup.yearMonthDate','clear','getUnit','sheets-pivot.dateGroup.hourMinute','handleMoveRange','stringify','GrandTotal','_commandService','info','valid','getIntersects','BLANK_ROW_COUNT','registerCallbackWithEvent','_ensurePivotTableRangeInfo','CommandType','getValuePosition','SetPivotFieldsConfigCommand','fieldsConfig','registerDirtyService','PivotTable','SetFieldFormat','sheet.command.set-pivot-field-setting','getDataFieldByRangeKey','reduce','sheet.mutation.add-group-collection','isDateValue','@univerjs/engine-render','onStarting','endColumn','Style','existing','getSheetFeatureLimit','InsertColMutation','PivotTableFiledAreaEnum','maxDate','_host','pageStyle','Value','resetArea','RemovePivotField','getColumnWidth','_queryingMap','rowFields','pageRanges','Values','MovePivotTableCommand','_pivotRenderInfoCache','getMatrixFromRunTimeData','sum','rowInfo','setPivotCollapse','unitId','sheets-pivot.subTotal','RemoveSheetMutation','_pivotConfigChange$','PivotSubtotalTypeEnum','ManualFilter','getDisplayName','valueIndex','disposeWithMe','getSheets','sheet.command.set-pivot-value-filter','complete','_injector','hasField','update','sheets-pivot.cellDateGroupDisplay.minute','toString','BehaviorSubject','cornerRanges','adjustSheetCellData','Total','LifecycleService','_pivotTableInstanceCache','_markDirty$','getFieldListByArea','min','getSheetBySheetName','SetPivotSortMutation','\x20-\x20','removeCollectionImp','getAutoFitColumnsMutations','ClearSelectionAllCommand','bind','updateAllDisplayName','rgb(255,255,255)','getPivotItemRenderInfoCache','None','PivotCallbackEnum','fields','dataStyle','generateHexNumber','PivotTableChangeTypeEnum','onCommandExecuted','UniverInstanceType','rangeType','#eceeff','getUnitId','isDateGroupField','updateRangeKeyMap','number','setPivotSort','8628204jZuGHE','_featureCalculationManagerService','filterId','dataFieldsCollection','originTargetInfo','sideEffectUpdateWorkerCache','find','#e6ebfb','1515810GqOjOw','_sheetsPivotDataSourceModel','sheets-pivot.dateGroup.yearMonth','getMatrix','Row','sheets-pivot.emptyPivot.column','MoveRangeMutation','Quarter','UpdatePivotSource','countNums','columnFields','setSubtotalType','removePivotTable','rangesInfo','sheets-pivot.config','getFormatInfo','_dataFieldManagerCollection','sheet.command.set-pivot-sort','sheet.mutation.send-pivot-data-local','PivotFilterTypeEnum','SetPivotSubtotalTypeMutation','@univerjs-pro/license','setCollapse','getColumnCount','toJSON','oldMatrix','sheet.command.move-pivot-table','ICommandService','addDataFieldWithoutUnitInfo','unshift','isArray','body','collapseInfo','_collectionConfigModel','SetPivotValueFilterMutation','getFieldCountByArea','DEFAULT_WORKSHEET_ROW_COUNT','updateValuePosition','getTextInfo','PivotTableViewDirtyMarkOperation','LocaleService','_updateModelCache','getRowCount','getRangeStartEndInfo','InsertSheetUndoMutationFactory','getSortInfo','sheet.command.update-pivot-value-position','addCollectionByJSON','pivotInitCompleted$','DataField','getGroupFieldsInfoByIds','getFieldDataType','ObjectMatrix','tableFieldId','get','getSourceName','Rectangle','generateMutationsByRanges','getTargetByPivotId','SetValuePivotFilter','message','valueFilter','startColumn','UniverProEnginePivot','sheet.mutation.get-pivot-data-local','function','_pivotTableMatrixInfo','updateDataFieldsCollection','createAsyncInterceptorKey','getPivotCellInfo','InsertSheetMutation','_getPivotAppliedRanges','split','filterFields','sheet.command.set-pivot-fields-config','getLastRow','dataFieldId','renameField','getPivotTableMatrixInfo','deleteUnitId','version','_ensurePivotMap','SetValueFilter','params','colInfo','_pivotInitCompleted$','generateRandomId','interceptCommand','48351fVExeQ','UniverCore','pushUndoRedo','pivotTableId','rowHeaderMap','AddPivotTableWithConfig','sheet.mutation.pivot-update-field-position','sheet.command.add-pivot-table','getUpdateRangeDeleteIds','headerMap','Year','_updateRenderEmptyCache','_initPivotDataGetListener','dataRangeInfo','Grand\x20Total','isErrorValue','resetPivotTable','dimension','SetOptions','STRING','registerRefRange','dataFieldManagerConfig','queryDirtyPivotTable','numfmt','addCollection','_sheetsPivotTableConfigModel','_initSnapshot','setPivotFilter','setRange','sheets-pivot.averageName','getSheetBySheetId','_init','dataFields','shouldClear','sequenceExecute','type','sheets-pivot.dateGroup.minute','_sheetsPivotRpcService','getTargetByPivotTableId','originalFieldId','sheet.command.update-date-group','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.countName','sheets-pivot.cellDateGroupDisplay.year','Delete','getPivotTableConfig','getInterceptPoints','_configVersion$','setValueFilterInfo','getCollection','DataFieldManager','PivotDrillDownCommand','pushComputingStatusSubject','getSheetId','cellValue','getSubtotal','(Blank)','SetWorksheetActiveOperation','606dQOgYt','subtotal','updateViewInfo','Div0','removeDataField','SetPivotCollapseMutation','@univerjs-pro/engine-pivot','setDirty','sheet.command.add-pivot-field','_initCommandInterceptListener','SheetsSelectionsService','updateRenderCache','row','updateConfigCache','sourceRangeInfo','matrix','query','getPivotDisplayConfig','#FFFFFF','_deleteModelCache','setSourceName','getPivotTableCellData','max','getformat','addPivotField','setTextInfo','PivotDataFieldTypeEnum','_viewData','_initLocale','getValueFilterInfos','mergeWorksheetSnapshotWithDefault','IResourceManagerService','setSortInfo','_configService','getPivotDirtyViewInfo','sheets-pivot.sumName','removeValueFilterInfo','getRefRangeMutationsByMoveRange','GlobalComputingStatusService','single','generateNewSheetName','SetPivotSortCommand','getPivotTableRangeInfo','sheets-pivot.cellDateGroupDisplay.hour','3176kbapzn','removeCollections','delete','push','getCurrentUnitForType','_textInfo','UpdateValuePosition','Set','Filter','dateType','_initRegisterCommand','sheets-pivot.dateGroup.quarter','realDeleteValue','result','collection','_initViewModelBySheetInterceptor','RenamePivotFieldMutation','YearMonthDate','sheets-pivot.emptyPivot.filter','getActiveSheet','StdDevp\x20of\x20','sheets-pivot.cellDateGroupDisplay.yearQuarter','Existing','targetCellInfo','RemoveSheetsFilterMutation','subUnitId','NAME','prototype','movePivotField','DEFAULT_PIVOT_NUMBER','removeValueFilterInfoByValueFieldId','updateView','getAutoDisplayName','getSheetCommandTarget','_resourceManagerService','getSubUnitPivotConfigs','_exclusiveRangeService','replace','lastRow','SetPivotTableConfig','COLUMN','rowStyle','12aOGwAL','_refRangeService','includes','FontCache','SheetsPivotRPCService','fetchThroughAsyncInterceptors','IUndoRedoService','setRangeValueUndoMutation','workbook\x20is\x20not\x20found','displayName','_initClearSelectionCommandInterceptor','_initRemoveSheetCommandInterceptor','sheets-pivot.cellDateGroupDisplay.quarter','updatePivotTableRangeInfo','width','options','_createExclusiveRange','sheet.mutation.set-pivot-format','date','setPivotInitCompleted','Tools','@univerjs/engine-formula','foreach','product','varp','_viewData$','subTotalStyle','Var\x20of\x20','getPivotTableInstance','updateFieldSourceInfo','average','RemoveColMutation','rowRanges','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getPivotTableModelConfig','tuple','COMMAND','@univerjs/core','getColCount','refreshDataField','_updatePivotTableInstanceCache','_model','_activeDirtyManagerService','setPivotTable','AddPivotTableCommand','registerCommand','Expand','sheets-pivot.dateGroup.year','AddField','addPivotTable','getViewData','sheets-pivot.columnName','sheet.mutation.pivot-update-field-source-info','getFilterInfo','sheets-pivot.dateGroup.month','ResetPivotTable','sheetName','getNoUsedDataFieldIds','value','CellValueType','_requestResolvers','from','getFieldPositionInfoById','NORMAL','addPivotTableWithConfig','setValue','UniverProSheetsPivot','Sum\x20of\x20','DIV_BY_ZERO','clearRenderCache','getDataFieldBySourceName','other','getTextSize','limit\x20pivot','_generateUniqueVersion','pivotPerformCheck','sheet.mutation.set-pivot-position','UpdatePivotTableSourceRangeMutation','_onRefRangeChange','680265flhONx','getDirtyInfo','getFontStyleString','_collectionChange$','AddPivotTable','remove','UniverSheetsPivotTablePlugin','PivotCellStyleTypeEnum','refreshGroupField','_globalComputedEndHelpFunc','Count\x20of\x20','paths','document','triggerDirtyFeature','ReleaseType','addField','applyChangeSet','getOriginFieldId','sheets-pivot.varpName','lastCol','isValue','sheet.mutation.set-pivot-value-filter','NotNumber','_globalComputingSrv','MAX_SAFE_INTEGER','sheet.mutation.send-pivot-view-local','endRow','getFieldById','deepClone','collectionChange$','MUTATION','UpdateFieldPositionMutation','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','forEach','UniverSheets','sheet.command.reset-pivot-fields-config','getMonth','PivotView','getSubUnitPivotMatrix','deleteField','getTableFieldById','panel','getPivotPerformCheck','getInsertRowColMutations','_subjectFieldsCollectionChange','PivotErrorTypeEnum','getIntersectsPivotTable','concat','stdDevp','SetPivotSetting','setName','values','toStringTag','_localeService','isText','charCodeAt','measure','SHEET_PIVOT_TABLE_PLUGIN','SheetsPivotTableConfigModel','removePivotField','FieldsCollection','getCurrentSelections','size','IActiveDirtyManagerService','#1d32e9','numberToABC','Add','SetPivotOptionMutation','getValue','pluginName','SetPivotFilter','sheet.mutation.update-pivot-table-source-range','cellToRange','iterateField','IConfigService','deleteDataField','Inject','YearQuarter','getFullYear','MIN_SAFE_INTEGER','dateGroupField','setPivotTableConfig','getFieldIds','Average\x20of\x20','getFormat','pivotTableConfigs','InsertSheetCommand','data','filter','oldRangeInfo','sheet.command.move-pivot-field','pivotConfigChange$','interceptor','sheet.mutation.send-init-pivot-text-local','SetPivotFilterCommand','UniverEngineRender','range','register','New','refreshData','updateCollectionConfig','Panel','sheet.mutation.send-pivot-config-local','call','_sheetInterceptorService','sheets-pivot.cellDateGroupDisplay.hourMinute','generateSetRangeValueMutations','canUsePivot','iterateFieldByArea','_deletePivotTableInstanceCache','getDataFieldManager','object','SetPivotFieldFormatMutation','slice','new','_ensurePivotItemRenderInfoCache','addFieldWithSourceId','getDataFieldItemInfo','getEmptyPivotRanges','createCollectionWithDataRange','getFieldFormat','isPrefixValue','_subjectCollectionChange','forValue','3262idqrbp','sortInfo','UpdateValuePositionMutation','NO_COMMERCIAL','_univerInstanceService','Module','DrillDown','createInterceptorKey','sheet.command.remove-pivot-field','SetPivotFilterMutation','sheets-pivot.cellDateGroupDisplay.yearMonth','splice','prefix','intercept','leafStyle','PivotMultipleValueId','Hour','_fieldsCollectionChange$','AddPivotField','_ensureViewDataMap','rangeCache','forRow','BadReference','stdDev','count','DisposableCollection','ErrorType','getAutoDisplayNameFunction','UniverSheetsFilter','ClearSelectionContentCommand','fetchThroughInterceptors','dispose','28UmpDLQ','PivotDataFieldDataTypeEnum','RemovePivotFieldCommand','getMatrixValue','_globalComputedStartHelpFunc','getDate','fieldsCollectionChange$','next','versions','amd','REF','sheet.command.set-pivot-collapse','_ensurePivotItemRenderValueMatrixCache','INTERCEPTOR_POINT','executeCommand','string','filterInfo','sheets-pivot.other','entries','NotFunction','sheet.mutation.set-pivot-filter','SetSubtotalType','SheetsPivotDataSourceModel','floor','setLabelFilterInfo','getValueIndex','grandTotal','level','PivotViewCellValueTypeEnum','ResetPivotFieldsConfigCommand','getStyles','_toJSON','sheet.mutation.set-pivot-collapse','startCollectChangeset','PivotTableValuePositionEnum','_sheetsPivotTableService','getPivotInfoByLicense','some','Minute','fontRenderExtension','endCollectChangeset','isBottomTotal','removeSourceRangeChange','format','needSameDeleteModel','redos','parse','sheet.mutation.set-pivot-option','serializeRangeWithSpreadsheet','uniqueDataFieldName','defineProperty','getConfig','getOwnPropertyDescriptor','undos','sourceName','handleAsyncResponse','SetSortInfo','sheet.command.pivot-drill-down','getHeaderMapItem','sheets-pivot.emptyPivot.values','PositionType','sheet.mutation.add-pivot-field','PIVOT_MUTATION_GENERATE','NUM','sheet.command.add-pivot-table-with-config','batch','getId','rangeKey','set','RenameField','name','943KbPUoq','unionPivotViewRange','getDataFieldByDataFieldId','#e6ebfa','updatePivotTableMatrixInfo','Injector','has','sheet.mutation.remove-pivot-field','pivotMutationGenerate','updateConfig','registerPluginResource','sheets-pivot.value','getDataFieldId','col','random','Subject','addDirtyPivotTable','getLastCol','valueFields','Column','_initUnitDisposed','sheets-pivot.cellDateGroupDisplay.date','UNIVER_SHEET','cornerStyle','updateViewData','sheet.command.update-pivot-table-source-range','updatePivotSource','SetPivotCollapse','areaInfo','_subjectViewChange','Optional','PivotDateGroupFieldDateTypeEnum','sheets-pivot.stdDevpName','pivotTableIndexConfig','sheet.operation.pivot-table-view-formula-mark-dirty','pbt','PivotDisplayDataType','sheets.tabs.sheet','addExclusiveRange','generateNullCell','AddPivotFieldMutation','HourMinute','contains','isDateGroupFieldJSON','setFieldFormat','removeField','fieldIds','excelDateToUnixMilliseconds','intersects','SetRangeValuesMutation','getDataFieldByTableId','AddPivotTableWithConfigCommand','disposableCollection','UpdatePivotFieldSourceInfoMutation','getRangeKeyList','unshiftString','SetPivotSort','colRanges','SheetsPivotTableService','add','column','sheet.command.set-pivot-filter','_getAutoName','YearMonth','IUniverInstanceService','collectionConfig','subscribe','markDirty','getRangeKey','ΣValue','_viewUpdate$','handleSourceRangeChange','Disposable','PivotTableOperationEnum','UpdatePivotFieldSettingCommand','setConfig','getCellMatrix','map','getRangeData','createDataFieldId','InterceptorEffectEnum','token','clearExclusiveRangesByGroupId','_pivotRenderValueMatrixCache','isDate','SetPivotPositionMutation','_sheetsPivotTableAdaptorModel','isNaN','Product\x20of\x20','length','SheetsPivotTableAdaptorModel','@univerjs/sheets','UniverEngineFormula','setValuePivotFilter','sheets-pivot.dateGroup.yearQuarter','startRow','sheet.mutation.remove-group-collection','getCellRaw','CELL_CONTENT','CustomCommandExecutionError','SheetInterceptorService','/*\x20LCO7Sh-l7CHtOL\x20ckLvLk-hLscOHhL\x20*/vXSDh7GS\x20lLDkdch7GS(O7DLSCL,\x20cXtO7D4Ld)\x20{\x20\x20\x20\x20hkd\x20{\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20O7DLSCL8SvG2HkhakkHd\x20=\x20O7DLSCL.CcO7h(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20Gk7g7SALCCHgL\x20=\x20FUWq.cHkCL(HhGt(O7DLSCL8SvG2HkhakkHd[i]));\x20\x20\x20\x20\x20\x20\x20\x207v\x20(!Gk7g7SALCCHgL.Xl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gk7g7SALCCHgL.Xl\x20=\x20qXstLk(O7DLSCL8SvG2HkhakkHd[K]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x207CYGkrLk\x20=\x20hdcLGv\x20YGkrLkQOGtHOUDGcL\x20!==\x20\x27XSlLv7SLl\x27\x20&&\x20CLOv\x207SChHSDLGv\x20YGkrLkQOGtHOUDGcL;\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x207CfkGNCLk\x20=\x20hdcLGv\x20N7SlGN\x20!==\x20\x27XSlLv7SLl\x27\x20&&\x20hdcLGv\x20N7SlGN.OGDHh7GS\x20!==\x20\x27XSlLv7SLl\x27;\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20DGShLuh\x20=\x207CYGkrLk\x20?\x20CLOv\x20:\x20(7CfkGNCLk\x20?\x20N7SlGN\x20:\x20gOGtHO6M7C);\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20sLCCHgLYGkl\x20=\x20DGShLuh.__fHCL5K__.cHkCL(O7DLSCL8SvG2HkhakkHd[i]);\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20sLCCHgL\x20=\x20DGShLuh.__1Lu__.Chk7Sg7vd(sLCCHgLYGkl);\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20C7gSHhXkLYGkl\x20=\x20DGShLuh.__fHCL5K__.cHkCL(O7DLSCL8SvG2HkhakkHd[I]);\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20C7gSHhXkL\x20=\x20DGShLuh.__1Lu__.Chk7Sg7vd(C7gSHhXkLYGkl);\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20C7gSBHO7l\x20=\x20DGShLuh.__JLk7vd__(C7gSHhXkL,\x20sLCCHgL,\x20cXtO7D4Ld);\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20lGsH7S\x20=\x20Gk7g7SALCCHgL.ls;\x20\x20\x20\x20\x20\x20\x20\x20vXSDh7GS\x207CxGsH7SAHhDM7Sg(cHhhLkS,\x20MGCh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207v\x20(cHhhLkS\x20===\x20MGCh)\x20kLhXkS\x20hkXL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207v\x20(cHhhLkS.ChHkhCY7hM(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20CXvv7u\x20=\x20cHhhLkS.CO7DL(i);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207v\x20(CXvv7u\x20&&\x20CXvv7u\x20===\x20MGCh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kLhXkS\x20hkXL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207v\x20(CXvv7u\x20&&\x20!MGCh.ChHkhCY7hM(\x27.\x27)\x20&&\x20MGCh.LSlCY7hM(\x27.\x27\x20+\x20CXvv7u))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kLhXkS\x20hkXL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kLhXkS\x20vHOCL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20OLh\x20lGsH7SBHO7l\x20=\x20vHOCL;\x20\x20\x20\x20\x20\x20\x20\x207v\x20(7CfkGNCLk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lGsH7SBHO7l\x20=\x20(lGsH7S\x20&&\x20lGsH7S.OLSghM)\x20?\x20lGsH7S.CGsL((ls8hLs)\x20=>\x207CxGsH7SAHhDM7Sg(ls8hLs,\x20OGDHh7GS.MGChSHsL))\x20:\x20hkXL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207v\x20(OGDHh7GS.MGChSHsL\x20===\x20\x27OGDHOMGCh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lGsH7SBHO7l\x20=\x20hkXL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20LOCL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lGsH7SBHO7l\x20=\x20hkXL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DGSCh\x20JHO7l\x20=\x20C7gSBHO7l\x20&&\x20lGsH7SBHO7l;\x20\x20\x20\x20\x20\x20\x20\x20kLhXkS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JHO7l,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sLCCHgL:\x20Gk7g7SALCCHgL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20DHhDM\x20(LkkGk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20kLhXkS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JHO7l:\x20vHOCL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sLCCHgL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','setDataRecordCount','UpdateDateGroupCommand','_initPivotTextInfo','setRangeValueRedoMutation','LS_CONFIG_KEY','asyncInterceptor','SetWorksheetColWidthMutation','getTypeOfUnitDisposed$','transFromCellValue','rxjs','InsertRowMutation','merge','RefRangeService','setPivotSetting','_pivotTableRangeInfo','27vqSuyC','SetPivotCollapseCommand','substring','rowCount','textInfo'];_0x1c36=function(){return _0x519b1f;};return _0x1c36();}
|