@univerjs-pro/sheets-pivot 0.7.0-nightly.202505241606 → 0.7.0-nightly.202505251606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/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 +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x390b(_0x24975d,_0x29c28f){const _0x585dc5=_0x585d();return _0x390b=function(_0x390bf8,_0x2021a9){_0x390bf8=_0x390bf8-0x1eb;let _0x56671b=_0x585dc5[_0x390bf8];return _0x56671b;},_0x390b(_0x24975d,_0x29c28f);}(function(_0x4dbb14,_0xdbd6e7){const _0x5e115b=_0x390b,_0x5eb6d9=_0x4dbb14();while(!![]){try{const _0x43796a=-parseInt(_0x5e115b(0x447))/0x1*(-parseInt(_0x5e115b(0x3b3))/0x2)+parseInt(_0x5e115b(0x4ff))/0x3+parseInt(_0x5e115b(0x235))/0x4*(-parseInt(_0x5e115b(0x3f2))/0x5)+parseInt(_0x5e115b(0x492))/0x6+-parseInt(_0x5e115b(0x2f6))/0x7*(-parseInt(_0x5e115b(0x4db))/0x8)+-parseInt(_0x5e115b(0x4a9))/0x9*(parseInt(_0x5e115b(0x2fe))/0xa)+parseInt(_0x5e115b(0x43a))/0xb*(-parseInt(_0x5e115b(0x2cb))/0xc);if(_0x43796a===_0xdbd6e7)break;else _0x5eb6d9['push'](_0x5eb6d9['shift']());}catch(_0x5a7649){_0x5eb6d9['push'](_0x5eb6d9['shift']());}}}(_0x585d,0x96952),function(_0x141480,_0xcc80bd){const _0xcded0b=_0x390b;typeof exports==_0xcded0b(0x2c7)&&typeof module<'u'?_0xcc80bd(exports,require(_0xcded0b(0x399)),require(_0xcded0b(0x22e)),require('@univerjs/engine-formula'),require(_0xcded0b(0x448)),require(_0xcded0b(0x386)),require(_0xcded0b(0x33e)),require(_0xcded0b(0x3e8)),require(_0xcded0b(0x278)),require(_0xcded0b(0x2c4))):typeof define=='function'&&define[_0xcded0b(0x3a5)]?define([_0xcded0b(0x2f2),_0xcded0b(0x399),_0xcded0b(0x22e),_0xcded0b(0x394),'@univerjs/sheets','rxjs',_0xcded0b(0x33e),_0xcded0b(0x3e8),'@univerjs/rpc','@univerjs/engine-render'],_0xcc80bd):(_0x141480=typeof globalThis<'u'?globalThis:_0x141480||self,_0xcc80bd(_0x141480['UniverProSheetsPivot']={},_0x141480[_0xcded0b(0x261)],_0x141480[_0xcded0b(0x3e7)],_0x141480[_0xcded0b(0x275)],_0x141480['UniverSheets'],_0x141480[_0xcded0b(0x386)],_0x141480[_0xcded0b(0x26e)],_0x141480[_0xcded0b(0x3ee)],_0x141480[_0xcded0b(0x2c2)],_0x141480[_0xcded0b(0x3b4)]));}(this,function(_0x26ed3e,_0x3a648e,_0x5872ef,_0x347a1d,_0x16809e,_0x482d9c,_0x3f0b91,_0x6a800f,_0x12306d,_0xdb3840){'use strict';const _0x416ec5=_0x390b;var _0x110731=Object[_0x416ec5(0x334)],_0x38d404=(_0x2e7845,_0x31a0e3,_0x157a42)=>_0x31a0e3 in _0x2e7845?_0x110731(_0x2e7845,_0x31a0e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x157a42}):_0x2e7845[_0x31a0e3]=_0x157a42,_0x48e53f=(_0x2a2934,_0x328dd5,_0x3dc217)=>_0x38d404(_0x2a2934,typeof _0x328dd5!='symbol'?_0x328dd5+'':_0x328dd5,_0x3dc217);const _0x44a9c8=Number[_0x416ec5(0x38a)](0x6831ef74),_0x566318=0x10,_0x59c5c1=0x1,_0x509ab5=_0x416ec5(0x315),_0x51bc16=0x1,_0x150499='rgb(240,241,243)',_0x546a09=_0x416ec5(0x48b),_0x27f860=_0x416ec5(0x4f7),_0x4caccb=_0x416ec5(0x4ee),_0x26aeb7=_0x416ec5(0x4ee),_0x5301f4=_0x416ec5(0x300),_0x577a4e=_0x416ec5(0x36d),_0x25dad4=_0x416ec5(0x466),_0x16d53e=_0x416ec5(0x312),_0x27c0d4=_0x416ec5(0x36d),_0x29ab92=_0x416ec5(0x466),_0x9aff76='#e6ebfb',_0x18c7b9=0xe,_0x4c9794=0x6;var _0x732243=(_0x14d080=>(_0x14d080[_0x416ec5(0x2a5)]=_0x416ec5(0x287),_0x14d080['New']=_0x416ec5(0x3b2),_0x14d080))(_0x732243||{});const _0x264f9e={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x5b8026=0x1e,_0x4ed962={'b':{'s':0x1,'cl':{'rgb':_0x27f860}},'l':{'s':0x1,'cl':{'rgb':_0x27f860}},'r':{'s':0x1,'cl':{'rgb':_0x27f860}},'t':{'s':0x1,'cl':{'rgb':_0x27f860}}},_0x1b4da5={'bg':{'rgb':_0x150499},'ht':0x2,'vt':0x2,'tb':0x1},_0x5ea18e={'bg':{'rgb':_0x546a09},'ht':0x2,'vt':0x2,'tb':0x1},_0x4a5e3a={'rowStyle':{'bg':{'rgb':_0x9aff76},'bd':_0x4ed962,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x27c0d4},'bd':null,'cl':{'rgb':_0x29ab92},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x4ed962,'bg':{'rgb':_0x16d53e},'vt':0x2},'cornerStyle':{'bd':_0x4ed962,'bg':{'rgb':_0x5301f4},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x4ed962,'bg':{'rgb':_0x4caccb},'vt':0x2},'leafStyle':{'bd':_0x4ed962,'bg':{'rgb':_0x26aeb7},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x577a4e},'cl':{'rgb':_0x25dad4},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x4ed962,'vt':0x2}};function _0x2f96f0(_0x5c9d42,_0x39f244,_0x277262){const _0x1c083f=_0x416ec5,_0x118c69=_0x5c9d42[_0x1c083f(0x31f)](_0x5872ef[_0x1c083f(0x35d)]),_0x29c297=_0x277262[_0x1c083f(0x3e5)]('_');switch(_0x39f244){case _0x3a648e['PivotDateGroupFieldDateTypeEnum']['Year']:return _0x118c69['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x29c297);case _0x3a648e[_0x1c083f(0x243)]['Minute']:return _0x118c69['t'](_0x1c083f(0x45d),..._0x29c297);case _0x3a648e[_0x1c083f(0x243)]['Hour']:return _0x118c69['t'](_0x1c083f(0x3e9),..._0x29c297);case _0x3a648e['PivotDateGroupFieldDateTypeEnum'][_0x1c083f(0x421)]:return _0x118c69['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x29c297);case _0x3a648e[_0x1c083f(0x243)][_0x1c083f(0x22c)]:return _0x118c69['t'](_0x1c083f(0x3f6),..._0x29c297);case _0x3a648e[_0x1c083f(0x243)][_0x1c083f(0x247)]:return _0x118c69['t'](_0x1c083f(0x4d8),..._0x29c297);case _0x3a648e['PivotDateGroupFieldDateTypeEnum']['Quarter']:return _0x118c69['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x29c297);case _0x3a648e[_0x1c083f(0x243)]['YearMonth']:return _0x118c69['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x29c297);case _0x3a648e[_0x1c083f(0x243)]['YearMonthDate']:return _0x118c69['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x29c297);case _0x3a648e[_0x1c083f(0x243)]['YearQuarter']:return _0x118c69['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x29c297);}return'';}const _0x5dc923=(_0x134efd,_0x3c0584,_0x3795b0,_0x428678)=>{const _0x3d8369=_0x416ec5;let _0x5abf25;const _0x138e93=_0x134efd[_0x3d8369(0x31f)](_0x5872ef[_0x3d8369(0x458)])[_0x3d8369(0x359)](_0x5872ef[_0x3d8369(0x311)][_0x3d8369(0x437)]);if(!_0x138e93)return null;const _0x22126e=_0x138e93['getStyles']();let _0x37593a;if(_0x3795b0&&(_0x37593a=_0x22126e[_0x3d8369(0x21b)](_0x3795b0)),_0x3c0584!=null&&_0x3c0584['v']||(_0x3c0584==null?void 0x0:_0x3c0584['v'])===0x0){_0x5abf25||(_0x5abf25={});const _0x1845cc=_0x18bf5d(_0x3c0584['v']);typeof _0x1845cc==_0x3d8369(0x339)?_0x5abf25['t']=_0x5872ef[_0x3d8369(0x307)][_0x3d8369(0x2ab)]:typeof _0x1845cc==_0x3d8369(0x412)&&(_0x5abf25['t']=_0x5872ef[_0x3d8369(0x307)]['STRING']),_0x5abf25['v']=_0x1845cc;}if((_0x3c0584!=null&&_0x3c0584['i']||(_0x3c0584==null?void 0x0:_0x3c0584['i'])===0x0)&&(_0x5abf25||(_0x5abf25={}),_0x5abf25['fi']=_0x3c0584['i']),_0x3c0584!=null&&_0x3c0584['s']&&(_0x5abf25||(_0x5abf25={}),_0x5abf25[_0x3d8369(0x2e3)]=_0x3c0584['s']),_0x3795b0&&(_0x5abf25||(_0x5abf25={}),_0x5abf25['s']=_0x37593a),_0x428678&&_0x5abf25!=null&&_0x5abf25['v']&&_0x5abf25[_0x3d8369(0x2e3)]!==_0x3a648e['PivotCellStyleTypeEnum']['GrandTotal']&&_0x5abf25[_0x3d8369(0x2e3)]!==_0x3a648e['PivotCellStyleTypeEnum'][_0x3d8369(0x425)]){const _0x4a5c9f=String(_0x5abf25['v']),{dateType:_0x5eb9bb}=_0x428678;_0x5abf25['v']=_0x2f96f0(_0x134efd,_0x5eb9bb,_0x4a5c9f),_0x5abf25['t']=_0x5872ef[_0x3d8369(0x307)][_0x3d8369(0x48e)];}return _0x5abf25;},_0x4950da=(_0x1e4cd7,_0x4bfc2b,_0x29ab9d,_0x381727)=>{const _0x5d242f=_0x416ec5;var _0x1abb25,_0x1b1a46,_0x448d82,_0xac1bc,_0x549cd8,_0xcb51aa,_0x4c3804,_0x2b2cc8,_0xe21244,_0xee244c,_0x169042,_0x497c4e,_0xb81e93,_0x206c7d;const _0xda5a98=_0x29ab9d[_0x5d242f(0x455)],{cornerView:_0x354a9c,rowView:_0x30893c,colView:_0x51070f,dataView:_0x7e96cd,pageView:_0x5f0fa,formatMap:_0x467fcd,groupInfo:_0xa0241a}=_0x4bfc2b,{row:_0x54fd09,col:_0x23b698}=_0xda5a98,_0x3a5d05=new _0x5872ef[(_0x5d242f(0x360))](),_0x40ac69={},_0x2efaa5={},_0x18b4d1={},_0x1592d4={},_0x1b6ca3={};let _0x163359=_0x54fd09,_0x29eeaf=_0x23b698;Object[_0x5d242f(0x2a3)](_0x5f0fa['data'])[_0x5d242f(0x24e)](_0x4762b3=>{const _0x4fc392=_0x5d242f;Object[_0x4fc392(0x2a3)](_0x5f0fa['data'][Number(_0x4762b3)])[_0x4fc392(0x24e)](_0x1e151f=>{const _0xa8ef68=_0x4fc392,_0x113442={..._0x5f0fa[_0xa8ef68(0x30a)][Number(_0x4762b3)][Number(_0x1e151f)]};_0x3a5d05['setValue'](Number(_0x4762b3)+_0x163359,Number(_0x1e151f)+_0x29eeaf,_0x5dc923(_0x1e4cd7,_0x113442,_0x4a5e3a[_0xa8ef68(0x461)]));});});const _0x4c1f58=Object[_0x5d242f(0x2a3)](_0x5f0fa[_0x5d242f(0x30a)])[_0x5d242f(0x2a9)];_0x163359+=_0x4c1f58+(_0x4c1f58?_0x51bc16:0x0);const _0x423f5f=_0x354a9c['getRowCount'](),_0x12d881=_0x354a9c[_0x5d242f(0x443)]();for(let _0x5b7152=0x0;_0x5b7152<_0x423f5f;_0x5b7152++)for(let _0xd504d1=0x0;_0xd504d1<_0x12d881;_0xd504d1++){const _0x1cf662={...(_0x1b1a46=(_0x1abb25=_0x354a9c[_0x5d242f(0x30a)])==null?void 0x0:_0x1abb25[_0x5b7152])==null?void 0x0:_0x1b1a46[_0xd504d1]};_0x1cf662&&((_0x448d82=_0x30893c[_0x5d242f(0x3ad)][_0xd504d1])!=null&&_0x448d82[_0x5d242f(0x3fe)])&&_0xd504d1===_0x12d881-0x1&&_0x5b7152===_0x423f5f-0x1&&(_0x1cf662['v']=''+_0x381727[_0x5d242f(0x4f2)]),_0x3a5d05[_0x5d242f(0x21b)](_0x5b7152+_0x163359,_0xd504d1+_0x29eeaf,_0x5dc923(_0x1e4cd7,_0x1cf662,_0x4a5e3a[_0x5d242f(0x40d)]));}for(let _0x5d37ec=0x0;_0x5d37ec<_0x354a9c['info'][_0x5d242f(0x2a9)];_0x5d37ec++)_0x354a9c[_0x5d242f(0x3cb)][_0x5d37ec]&&(_0x18b4d1[''+(_0x5d37ec+_0x29eeaf)]=_0x354a9c[_0x5d242f(0x3cb)][_0x5d37ec]);_0x29eeaf+=_0x12d881;const _0x56b007=_0x51070f[_0x5d242f(0x3ad)],_0x4a64ed=_0x51070f[_0x5d242f(0x44c)]()>=0x0?_0x51070f['getLastRow']()+0x1:0x0,_0x26226e=_0x51070f[_0x5d242f(0x2c6)]()>=0x0?_0x51070f[_0x5d242f(0x2c6)]()+0x1:0x0;for(let _0x173006=0x0;_0x173006<_0x26226e;_0x173006++){for(let _0x5e855f=0x0;_0x5e855f<_0x4a64ed;_0x5e855f++){const _0x3e30dc={...(_0x549cd8=(_0xac1bc=_0x51070f[_0x5d242f(0x30a)])==null?void 0x0:_0xac1bc[_0x5e855f])==null?void 0x0:_0x549cd8[_0x173006]},_0x3428c8=(_0xcb51aa=_0x56b007[_0x5e855f])==null?void 0x0:_0xcb51aa['tableFieldId'],_0x33f351=_0x467fcd[_0x3428c8],_0x197b05=_0xa0241a[_0x3428c8];_0x3e30dc&&(_0x3e30dc['v']=_0x2fd4b9(_0x3e30dc,_0x5e855f===0x0&&((_0x4c3804=_0x51070f[_0x5d242f(0x2f5)](_0x173006+0x1))==null?void 0x0:_0x4c3804['isValue']),_0x33f351,_0x381727));let _0x170ab8;_0x33f351?_0x170ab8={..._0x4a5e3a['colStyle'],'n':{'pattern':_0x33f351}}:_0x170ab8={..._0x4a5e3a['colStyle']},_0x3a5d05[_0x5d242f(0x21b)](_0x5e855f+_0x163359,_0x173006+_0x29eeaf,_0x5dc923(_0x1e4cd7,_0x3e30dc,_0x170ab8,_0x197b05));}_0x51070f['info'][_0x173006]&&(_0x2efaa5[''+(_0x173006+_0x29eeaf)]=_0x51070f[_0x5d242f(0x3cb)][_0x173006]),_0x51070f[_0x5d242f(0x3ad)][_0x173006+0x1]&&(_0x1b6ca3[''+(_0x173006+_0x163359+0x1)]=_0x51070f[_0x5d242f(0x3ad)][_0x173006+0x1]);}_0x163359+=_0x423f5f;const _0x1d86da=_0x30893c[_0x5d242f(0x3ad)],_0x5a4061=_0x30893c[_0x5d242f(0x44c)]()>=0x0?_0x30893c[_0x5d242f(0x44c)]()+0x1:0x0,_0x49cbb5=_0x30893c[_0x5d242f(0x2c6)]()>=0x0?_0x30893c[_0x5d242f(0x2c6)]()+0x1:0x0;for(let _0x403d8d=0x0;_0x403d8d<_0x5a4061;_0x403d8d++){for(let _0x4b64e1=0x0;_0x4b64e1<_0x49cbb5;_0x4b64e1++){const _0x4870db={...(_0xe21244=(_0x2b2cc8=_0x30893c['data'])==null?void 0x0:_0x2b2cc8[_0x403d8d])==null?void 0x0:_0xe21244[_0x4b64e1]},_0x253e4e=(_0xee244c=_0x1d86da[_0x4b64e1])==null?void 0x0:_0xee244c[_0x5d242f(0x488)],_0x5bd6fa=_0x467fcd[_0x253e4e],_0x43c424=_0xa0241a[_0x253e4e];_0x4870db&&(_0x4870db['v']=_0x2fd4b9(_0x4870db,!0x1,_0x5bd6fa,_0x381727));let _0x5714d4;_0x30893c[_0x5d242f(0x3cb)][_0x403d8d][_0x5d242f(0x23f)]===_0x30893c['getColCount']()?_0x5714d4=_0x4a5e3a[_0x5d242f(0x1f1)]:_0x30893c[_0x5d242f(0x3cb)][_0x403d8d]['isBottomTotal']?_0x5714d4=_0x30893c['info'][_0x403d8d][_0x5d242f(0x23f)]===0x0?_0x4a5e3a[_0x5d242f(0x384)]:_0x4a5e3a['subTotalStyle']:_0x5714d4=_0x4a5e3a[_0x5d242f(0x4b3)],_0x5bd6fa&&(_0x5714d4={..._0x5714d4,'n':{'pattern':_0x5bd6fa}}),_0x3a5d05['setValue'](_0x403d8d+_0x163359,_0x4b64e1+_0x23b698,_0x5dc923(_0x1e4cd7,_0x4870db,_0x5714d4,_0x43c424));}_0x30893c[_0x5d242f(0x3cb)][_0x403d8d]&&(_0x40ac69[''+(_0x403d8d+_0x163359)]=_0x30893c[_0x5d242f(0x3cb)][_0x403d8d]),_0x30893c[_0x5d242f(0x3ad)][_0x403d8d]&&(_0x1592d4[''+(_0x403d8d+_0x23b698)]=_0x30893c['headerMap'][_0x403d8d]);}const _0x2c03b=_0x7e96cd['getRowCount'](),_0x10a4d8=_0x7e96cd[_0x5d242f(0x443)]();for(let _0x5ebeec=0x0;_0x5ebeec<_0x2c03b;_0x5ebeec++)for(let _0x115f16=0x0;_0x115f16<_0x10a4d8;_0x115f16++){const _0x58a622={...(_0x497c4e=(_0x169042=_0x7e96cd[_0x5d242f(0x30a)])==null?void 0x0:_0x169042[_0x5ebeec])==null?void 0x0:_0x497c4e[_0x115f16]};let _0x3f6ddb;_0x30893c[_0x5d242f(0x3cb)][_0x5ebeec][_0x5d242f(0x4da)]?_0x3f6ddb=_0x30893c['info'][_0x5ebeec]['level']===0x0?_0x4a5e3a[_0x5d242f(0x384)]:_0x4a5e3a[_0x5d242f(0x47d)]:_0x3f6ddb=_0x4a5e3a[_0x5d242f(0x439)];const _0x31c454=_0x30893c[_0x5d242f(0x3cb)][_0x5ebeec][_0x5d242f(0x392)],_0x4d80c0=_0x51070f['info'][_0x115f16][_0x5d242f(0x392)],_0x843090=Math[_0x5d242f(0x4dd)](_0x31c454,_0x4d80c0),_0x560102=_0x29ab9d[_0x5d242f(0x332)][_0x5d242f(0x37c)][_0x5d242f(0x221)]();let _0x460249='';_0x843090<0x0?_0x460249=(_0xb81e93=_0x560102[0x0])!=null?_0xb81e93:'':_0x460249=(_0x206c7d=_0x560102[_0x843090])!=null?_0x206c7d:'';const _0x573aa7=_0x467fcd[_0x460249];_0x573aa7&&(_0x3f6ddb={..._0x3f6ddb,'n':{'pattern':_0x573aa7}}),_0x3a5d05[_0x5d242f(0x21b)](_0x5ebeec+_0x163359,_0x115f16+_0x29eeaf,_0x5dc923(_0x1e4cd7,_0x58a622,_0x3f6ddb));}return{'valueMatrix':_0x3a5d05,'rowInfo':_0x40ac69,'colInfo':_0x2efaa5,'cornerInfo':_0x18b4d1,'rowHeaderMap':_0x1592d4,'colHeaderMap':_0x1b6ca3};};function _0x2fd4b9(_0x262127,_0x1cdc78,_0x41ab79,_0x3561c7){const _0x489784=_0x416ec5;let _0x15843a=_0x262127['v'];_0x1cdc78&&(_0x15843a=''+_0x3561c7[_0x489784(0x4f2)]);const _0x4f54a7=_0x262127['t']&&(_0x262127['t']&_0x3a648e[_0x489784(0x2f3)]['blank'])>0x0;if(_0x4f54a7&&(_0x15843a=''+_0x3561c7[_0x489784(0x218)]),_0x262127['s']===_0x3a648e[_0x489784(0x3fc)][_0x489784(0x425)]){let _0x53fb64=_0x15843a,_0x2e02ad='';_0x3a648e[_0x489784(0x3a4)](_0x15843a)&&(_0x53fb64=_0x15843a[_0x489784(0x205)],_0x2e02ad=_0x15843a['value']);const _0x284686=_0x41ab79&&!_0x4f54a7?_0x5872ef[_0x489784(0x4b2)][_0x489784(0x320)](_0x41ab79,Number(_0x53fb64)):_0x53fb64;_0x2e02ad?_0x15843a=_0x284686+'\x20'+_0x2e02ad:_0x15843a=_0x284686+'\x20'+_0x3561c7['sheets-pivot.subTotal'];}else _0x262127['s']===_0x3a648e[_0x489784(0x3fc)][_0x489784(0x445)]&&(_0x15843a=_0x15843a+'\x20'+_0x3561c7[_0x489784(0x30b)]);return _0x15843a;}function _0x18bf5d(_0x24a0b2){const _0x41ad58=_0x416ec5;if(_0x3a648e['isErrorValue'](_0x24a0b2)){const {errorType:_0x5aba1b}=_0x24a0b2;switch(_0x5aba1b){case _0x3a648e[_0x41ad58(0x3f7)][_0x41ad58(0x47a)]:return _0x347a1d[_0x41ad58(0x310)][_0x41ad58(0x23a)];case _0x3a648e['PivotErrorTypeEnum'][_0x41ad58(0x42a)]:return _0x347a1d[_0x41ad58(0x310)][_0x41ad58(0x26d)];case _0x3a648e[_0x41ad58(0x3f7)]['NotFunction']:return _0x347a1d[_0x41ad58(0x310)][_0x41ad58(0x3ae)];case _0x3a648e[_0x41ad58(0x3f7)]['NotName']:return _0x347a1d[_0x41ad58(0x310)][_0x41ad58(0x3ae)];case _0x3a648e['PivotErrorTypeEnum'][_0x41ad58(0x338)]:return _0x347a1d[_0x41ad58(0x310)][_0x41ad58(0x407)];}}return _0x24a0b2;}function _0x27c033(_0x3e4591,_0x354bd7,_0x36cdb9=!0x1,_0x76864e=!0x1){const _0x276fbd=_0x416ec5,{data:_0x37f0e6}=_0x354bd7,_0x2e0f1b=_0x354bd7[_0x276fbd(0x3eb)](),_0x2831a0=_0x354bd7[_0x276fbd(0x443)]();if(_0x2e0f1b<=0x0||_0x2831a0<=0x0)return[];const _0x15e410=_0x354bd7[_0x276fbd(0x2c6)](),_0xf80591=_0x354bd7[_0x276fbd(0x44c)](),_0x5352ae=_0x76864e?_0xf80591>=0x0?_0xf80591+0x1:0x0:_0x2e0f1b,_0x5634f0=_0x76864e?_0x15e410>=0x0?_0x15e410+0x1:0x0:_0x2831a0,{row:_0x1f4254,col:_0x43407f}=_0x3e4591,_0x3f3a68=_0x1f4254,_0x3c2475=_0x43407f;if(_0x36cdb9){const _0x1a9482=[];for(const [_0x410941,_0x4ca139]of Object[_0x276fbd(0x444)](_0x37f0e6))for(const [_0x1c1bd9,_0x3610f6]of Object[_0x276fbd(0x444)](_0x4ca139))_0x1a9482[_0x276fbd(0x410)](_0x5872ef[_0x276fbd(0x454)](_0x3f3a68+Number(_0x410941),_0x3c2475+Number(_0x1c1bd9)));return _0x1a9482;}else{const _0x407d56=_0x76864e?_0x5352ae>0x0?0x1:0x0:0x1,_0xc23233=_0x76864e?_0x5634f0>0x0?0x1:0x0:0x1,_0x20acb7=_0x1f4254+_0x5352ae-_0x407d56,_0x52aa9c=_0x43407f+_0x5634f0-_0xc23233;return[{'startRow':_0x3f3a68,'startColumn':_0x3c2475,'endRow':_0x20acb7,'endColumn':_0x52aa9c}];}}const _0x172560=_0x416ec5(0x374),_0x16d791=_0x416ec5(0x2a6);var _0x33ccae=(_0x177ec7=>(_0x177ec7[_0x416ec5(0x24a)]='filter',_0x177ec7[_0x416ec5(0x2d4)]=_0x416ec5(0x234),_0x177ec7[_0x416ec5(0x4cd)]=_0x416ec5(0x1f8),_0x177ec7['AddPivotTableWithConfig']=_0x416ec5(0x39e),_0x177ec7[_0x416ec5(0x317)]=_0x416ec5(0x389),_0x177ec7[_0x416ec5(0x3d4)]='movePivotField',_0x177ec7[_0x416ec5(0x468)]=_0x416ec5(0x3de),_0x177ec7[_0x416ec5(0x387)]=_0x416ec5(0x31c),_0x177ec7[_0x416ec5(0x3d0)]='setPivotFilter',_0x177ec7[_0x416ec5(0x1fb)]=_0x416ec5(0x4f4),_0x177ec7[_0x416ec5(0x2e6)]='setPivotSetting',_0x177ec7[_0x416ec5(0x375)]=_0x416ec5(0x1fd),_0x177ec7[_0x416ec5(0x364)]=_0x416ec5(0x252),_0x177ec7[_0x416ec5(0x363)]='drillDown',_0x177ec7[_0x416ec5(0x2c0)]=_0x416ec5(0x3af),_0x177ec7[_0x416ec5(0x2a1)]=_0x416ec5(0x3f4),_0x177ec7[_0x416ec5(0x2e0)]='resetPivotTable',_0x177ec7))(_0x33ccae||{});const _0x30b858={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x416ec5(0x380),'sheets-pivot.averageName':_0x416ec5(0x36b),'sheets-pivot.countName':_0x416ec5(0x462),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x416ec5(0x45a),'sheets-pivot.minName':_0x416ec5(0x402),'sheets-pivot.productName':_0x416ec5(0x38d),'sheets-pivot.stdDevName':_0x416ec5(0x2df),'sheets-pivot.stdDevpName':_0x416ec5(0x37f),'sheets-pivot.sumName':_0x416ec5(0x3c5),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x416ec5(0x299),'sheets-pivot.subTotal':_0x416ec5(0x425),'sheets-pivot.grandTotal':_0x416ec5(0x2ca),'sheets-pivot.value':_0x416ec5(0x340),'sheets-pivot.blank':_0x416ec5(0x1f3),'sheets-pivot.emptyPivot.filter':_0x416ec5(0x24a),'sheets-pivot.emptyPivot.row':_0x416ec5(0x298),'sheets-pivot.emptyPivot.column':_0x416ec5(0x471),'sheets-pivot.emptyPivot.values':'Values'},_0x1fa216={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x443267=_0x5872ef['createAsyncInterceptorKey'](_0x416ec5(0x3c3)),_0x359aec=_0x5872ef[_0x416ec5(0x3b5)](_0x416ec5(0x295));var _0x3adfea=(_0x425b6e=>(_0x425b6e[_0x416ec5(0x3c0)]=_0x416ec5(0x3c0),_0x425b6e['delete']='delete',_0x425b6e[_0x416ec5(0x269)]=_0x416ec5(0x269),_0x425b6e))(_0x3adfea||{}),_0x332641=(_0x281dbd=>(_0x281dbd[_0x416ec5(0x308)]=_0x416ec5(0x3c0),_0x281dbd['Set']='set',_0x281dbd['Delete']='delete',_0x281dbd))(_0x332641||{});const _0x5a0e76={0x0:'w',0x1:'g',0x2:'T',0x3:'H',0x4:'9',0x5:'F',0x6:'B',0x7:'o',0x8:'2',0x9:'J','V':'0','j':'1','t':'3','Q':'4','f':'5','a':'6','Z':'7','l':'8','T':'a','C':'b','z':'c','d':'d','H':'e','G':'f','X':'h','p':'i','A':'j','e':'k','x':'l','O':'m','s':'n','c':'p','o':'q','u':'r','P':'s','I':'t','S':'u','h':'v','w':'x','i':'y','D':'z','v':'A','r':'C','Y':'D','E':'E','L':'G','y':'I','m':'K','n':'L','k':'M','K':'N','N':'O','q':'P','W':'Q','J':'R','R':'S','F':'U','B':'V','M':'W','U':'X','g':'Y','b':'Z'},_0x71342f=_0x416ec5(0x4e6),_0x31b05d={'type':_0x5872ef['CommandType'][_0x416ec5(0x4c9)],'id':_0x416ec5(0x409),'handler':()=>!0x0},_0x368bda={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x25c),'handler':()=>!0x0},_0x46932a={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x251),'handler':()=>!0x0},_0xfec78e={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x49a),'handler':()=>!0x0},_0x405b4d={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x36f93a=_0x9fcdb5=>{const _0x124b88=_0x416ec5;var _0x26dae9;return((_0x26dae9=_0x9fcdb5[_0x124b88(0x347)])==null?void 0x0:_0x26dae9[_0x124b88(0x4cc)]['replace'](/\r\n$/,''))||'';};class _0x5b2057 extends _0x3a648e[_0x416ec5(0x379)]{constructor(_0x40c654,_0x199874){const _0x25f55b=_0x416ec5;super(),_0x48e53f(this,_0x25f55b(0x456),{}),_0x48e53f(this,_0x25f55b(0x370)),_0x48e53f(this,_0x25f55b(0x1fa)),(this[_0x25f55b(0x370)]=_0x199874,this[_0x25f55b(0x1fa)]=_0x40c654);}[_0x416ec5(0x429)](){const _0x13b6fa=_0x416ec5;for(const _0x34b570 in this[_0x13b6fa(0x3c6)]){const _0x4a415a=this[_0x13b6fa(0x3c6)][_0x34b570],_0x5aec79=_0x4a415a[_0x13b6fa(0x3c8)]();this[_0x13b6fa(0x456)][_0x5aec79]=_0x4a415a[_0x13b6fa(0x21c)]();}}[_0x416ec5(0x2d5)](){const _0x5b2468=_0x416ec5,_0x174c08=this[_0x5b2468(0x1fa)];return _0x57187b[_0x5b2468(0x2af)](_0x174c08);}[_0x416ec5(0x237)](_0x1c6ecc){const _0x1a4829=_0x416ec5,_0xb25e42=this[_0x1a4829(0x3c6)][_0x1c6ecc]['rangeKey'];delete this[_0x1a4829(0x3c6)][_0x1c6ecc],delete this['rangeKeyMap'][_0xb25e42];}[_0x416ec5(0x413)](_0x2d3b24){const _0x3e3ade=_0x416ec5;this[_0x3e3ade(0x3c6)][_0x2d3b24[_0x3e3ade(0x21c)]()]=_0x2d3b24;}[_0x416ec5(0x3f9)](_0x52294c){const _0x25b8bd=_0x416ec5;var _0xf6a99d,_0x1a5d88;const _0x3c0b71=this['_host'][_0x25b8bd(0x446)](_0x52294c);if(_0x3c0b71){const {unitId:_0x3b0d9a,subUnitId:_0x2c3c1f}=_0x3c0b71,_0x3a6195=(_0xf6a99d=this[_0x25b8bd(0x1fa)][_0x25b8bd(0x474)](_0x3b0d9a,_0x2c3c1f,_0x52294c))==null?void 0x0:_0xf6a99d['sourceRangeInfo'];this[_0x25b8bd(0x1fa)][_0x25b8bd(0x2d2)]({'token':_0x52294c,'type':_0x3adfea[_0x25b8bd(0x3e3)],'dataRangeInfo':_0x3a6195});}(_0x1a5d88=this[_0x25b8bd(0x3f3)](_0x52294c))==null||_0x1a5d88[_0x25b8bd(0x2fc)](),delete this[_0x25b8bd(0x415)][_0x52294c];}[_0x416ec5(0x3c8)](_0x30a2a2,_0x3316c9){const {sheetName:_0x53c70e,unitId:_0x11fd8f,range:_0x5995e5}=_0x30a2a2,{startRow:_0x5d4e12,endRow:_0x3c6356}=_0x5995e5;return _0x347a1d['serializeRangeWithSpreadsheet'](_0x11fd8f,_0x53c70e,{'startRow':_0x5d4e12,'endRow':_0x3c6356,'startColumn':_0x3316c9,'endColumn':_0x3316c9});}[_0x416ec5(0x42f)](_0x5cbbaa){const _0x339fc4=_0x416ec5;return this[_0x339fc4(0x3c6)][this[_0x339fc4(0x456)][_0x5cbbaa]];}[_0x416ec5(0x306)](_0x298b2e,_0x4b7a10){const _0x568c87=_0x416ec5;this[_0x568c87(0x456)][_0x298b2e]=_0x4b7a10;}[_0x416ec5(0x418)](_0x33c48c,_0x5a1e17){const _0x2b5141=_0x416ec5;this['rangeKeyMap'][_0x5a1e17]=this[_0x2b5141(0x456)][_0x33c48c],delete this[_0x2b5141(0x456)][_0x33c48c];}['addCollectionByJSON'](_0x4cb5ba,_0xfb62e7,_0x1d19a4,_0xc018a0){const _0x53f199=_0x416ec5,_0xb137d8=new _0x3a648e[(_0x53f199(0x438))](this);_0xb137d8['fromJSON'](_0xfb62e7);const _0x32c8f3=[];let _0x55cffb=0x0;for(const _0x588af8 of _0xb137d8['fieldIds']){const _0x3b06ce=this[_0x53f199(0x3c8)](_0x1d19a4,_0x55cffb),_0x219b69=this[_0x53f199(0x3c6)][_0x588af8];_0x219b69&&(_0x219b69[_0x53f199(0x3c2)]=_0x3b06ce,this[_0x53f199(0x306)](_0x3b06ce,_0x588af8),_0x32c8f3['push']({'index':_0x55cffb,'dataField':_0x219b69})),_0x55cffb++;}return this[_0x53f199(0x3bc)](_0x4cb5ba,_0xb137d8,_0x1d19a4,_0xc018a0),{'collection':_0xb137d8,'updateDataFieldList':_0x32c8f3};}[_0x416ec5(0x41b)](_0x5a2dcd,_0x241aa9){const _0x57998c=_0x416ec5;return _0x5a2dcd['rangeType']===_0x5872ef['RANGE_TYPE'][_0x57998c(0x20c)]?{'startRow':0x0,'startColumn':_0x5a2dcd[_0x57998c(0x4fd)],'endRow':_0x241aa9[_0x57998c(0x3eb)]()-0x1,'endColumn':_0x5a2dcd['endColumn']}:{'startRow':_0x5a2dcd['startRow'],'startColumn':_0x5a2dcd[_0x57998c(0x4fd)],'endRow':_0x5a2dcd[_0x57998c(0x2b7)],'endColumn':_0x5a2dcd[_0x57998c(0x291)]};}[_0x416ec5(0x215)](_0x125759){const _0x3fee9f=_0x416ec5,{sheetName:_0x8a42e4,range:_0x1d9867}=_0x125759,_0x258904=this['_univerInstanceService'][_0x3fee9f(0x359)](_0x5872ef[_0x3fee9f(0x311)]['UNIVER_SHEET']),_0x2cf552=_0x258904['getSheetBySheetName'](_0x8a42e4),_0x4943f4=_0x2cf552[_0x3fee9f(0x213)](),{startColumn:_0x44a5f4,startRow:_0x50982b,endColumn:_0x4bbed4}=this[_0x3fee9f(0x41b)](_0x1d9867,_0x2cf552),_0x42c156=_0x258904[_0x3fee9f(0x49c)](),_0x36b03a=new _0x3a648e[(_0x3fee9f(0x438))](this);_0x36b03a['setRange'](_0x125759);const _0x58a6aa=[],_0xdc1a95={};for(let _0x591cfc=_0x44a5f4;_0x591cfc<=_0x4bbed4;_0x591cfc++){const _0x340045=_0x4943f4[_0x3fee9f(0x2e1)](_0x50982b,_0x591cfc),_0x41b254=this[_0x3fee9f(0x3c8)](_0x125759,_0x591cfc),_0x122dbe=this[_0x3fee9f(0x42f)](_0x41b254);if(_0x122dbe)_0x36b03a[_0x3fee9f(0x358)](_0x122dbe[_0x3fee9f(0x21c)](),_0x122dbe[_0x3fee9f(0x40b)]());else{const _0x17a681=this[_0x3fee9f(0x3dd)]();let _0x12735b=this[_0x3fee9f(0x257)](_0x340045,_0x42c156,_0xdc1a95);_0x3a648e['isDateValue'](_0x12735b)&&(_0x12735b=_0x5872ef['numfmt']['format'](_0x12735b['f'],Number(_0x12735b['v'])));const _0x18ab06=this[_0x3fee9f(0x390)](_0x12735b,_0x591cfc),_0x5ec395=new _0x3a648e[(_0x3fee9f(0x427))](_0x17a681,_0x18ab06,_0x3a648e[_0x3fee9f(0x490)](0x3));_0x5ec395[_0x3fee9f(0x3c2)]=_0x41b254,this[_0x3fee9f(0x3c6)][_0x17a681]=_0x5ec395,_0x36b03a[_0x3fee9f(0x358)](_0x17a681,_0x18ab06),_0x58a6aa[_0x3fee9f(0x410)]({'index':_0x591cfc,'dataField':_0x5ec395});}}return{'updateDataFieldList':_0x58a6aa,'collection':_0x36b03a};}[_0x416ec5(0x24b)](_0x4727cf){const _0xe91d2c=_0x416ec5;return this[_0xe91d2c(0x1fa)]['getTextInfo']()[_0xe91d2c(0x43f)]+'\x20'+_0x5872ef['numberToABC'](_0x4727cf);}[_0x416ec5(0x390)](_0x240124,_0x4aa325){return _0x240124==null||_0x240124===''?this['_getAutoName'](_0x4aa325):String(_0x240124);}[_0x416ec5(0x3f3)](_0x5ca271){const _0x41497f=_0x416ec5;return this[_0x41497f(0x415)][_0x5ca271];}[_0x416ec5(0x3bc)](_0x1f0ee8,_0x5ef1f2,_0x2a6e85,_0xe5e0bd){const _0x35063d=_0x416ec5;this[_0x35063d(0x415)][_0x1f0ee8]=_0x5ef1f2,_0x5ef1f2[_0x35063d(0x2ae)](_0x2a6e85),this[_0x35063d(0x1fa)][_0x35063d(0x2d2)]({'token':_0x1f0ee8,'type':_0x3adfea[_0x35063d(0x3c0)],'dataRangeInfo':_0x2a6e85,'targetCellInfo':_0xe5e0bd});}[_0x416ec5(0x316)](_0xc7d42f,_0x36d865){const _0x1ccee1=_0x416ec5,_0x1e0f35=this[_0x1ccee1(0x3f3)](_0xc7d42f),_0x9625c3=_0x1e0f35[_0x1ccee1(0x391)]();let _0x2ff0df=0x0;for(const _0x3130b9 of _0x9625c3){const _0x512ec9=_0x1e0f35['getFieldById'](_0x3130b9),_0x444f36=this[_0x1ccee1(0x3c8)](_0x36d865,_0x2ff0df);this[_0x1ccee1(0x418)](_0x512ec9['rangeKey'],_0x444f36),_0x2ff0df++;}}[_0x416ec5(0x46b)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x89eb24,_0x3652eb){const _0x28c556=_0x416ec5;if(this[_0x28c556(0x3f3)](_0x89eb24)){const _0x2f12fe=this[_0x28c556(0x2fd)](_0x3652eb),_0x4aa4d6=[];for(const _0x2c453b of _0x2f12fe)this[_0x28c556(0x456)][_0x2c453b]!==void 0x0&&_0x4aa4d6[_0x28c556(0x410)](this[_0x28c556(0x456)][_0x2c453b]);const _0x2de00e=this[_0x28c556(0x495)](_0x89eb24),_0x9739b7=[],_0x2f4634=new Set(_0x4aa4d6);for(const _0x1447d8 of _0x2de00e)_0x2f4634['has'](_0x1447d8)||_0x9739b7['push'](_0x1447d8);return _0x9739b7;}}['getMatrixValue'](_0x4720a8,_0x38cf8f,_0x12f57e,_0x205647,_0x37cce1){const _0x5ab6bc=_0x416ec5;return _0x38cf8f&&_0x38cf8f['getValue'](_0x205647,_0x37cce1)?_0x38cf8f['getValue'](_0x205647,_0x37cce1):_0x12f57e&&_0x12f57e[_0x5ab6bc(0x2e1)](_0x205647,_0x37cce1)?_0x12f57e[_0x5ab6bc(0x2e1)](_0x205647,_0x37cce1):_0x4720a8[_0x5ab6bc(0x2e1)](_0x205647,_0x37cce1);}[_0x416ec5(0x248)](_0x472907,_0x14a3e5,_0x2c0ecf,_0x26846d){const _0x3fe823=_0x416ec5,_0x2851d2=this[_0x3fe823(0x3c6)][_0x472907];if(!_0x2851d2)return;const {subUnitId:_0x570056,range:_0x4857a5,unitId:_0x2838bd}=_0x14a3e5,_0x452027=this['_univerInstanceService'][_0x3fe823(0x2cd)](_0x2838bd);if(!_0x452027){console[_0x3fe823(0x3a8)]('workbook\x20is\x20not\x20found');return;}const _0x3f0c91=_0x452027[_0x3fe823(0x4ac)](_0x570056),_0x2ef140=_0x3f0c91[_0x3fe823(0x213)](),{arrayFormulaCellDataMatrix:_0x3dacb5,unitDataMatrix:_0x4fc8fe}=_0x26846d||{},{startRow:_0xa4cb5d,startColumn:_0x71c89e,endRow:_0x3e4382}=this[_0x3fe823(0x41b)](_0x4857a5,_0x3f0c91);_0x2851d2[_0x3fe823(0x378)]();const _0x4c480c=_0x452027[_0x3fe823(0x49c)](),_0x24d578={},_0x3219bb=this[_0x3fe823(0x4e1)](_0x2ef140,_0x3dacb5,_0x4fc8fe,_0xa4cb5d,_0x71c89e+_0x2c0ecf);let _0x174b8e=this[_0x3fe823(0x257)](_0x3219bb,_0x4c480c,_0x24d578);_0x3a648e[_0x3fe823(0x4d7)](_0x174b8e)&&(_0x174b8e=_0x5872ef[_0x3fe823(0x4b2)][_0x3fe823(0x320)](_0x174b8e['f'],Number(_0x174b8e['v'])));const _0x3af90b=this[_0x3fe823(0x390)](_0x174b8e,_0x71c89e+_0x2c0ecf);_0x2851d2[_0x3fe823(0x23c)](_0x3af90b);for(let _0x9cc5a2=_0xa4cb5d+0x1;_0x9cc5a2<=_0x3e4382;_0x9cc5a2++){const _0x2476a2=this[_0x3fe823(0x4e1)](_0x2ef140,_0x3dacb5,_0x4fc8fe,_0x9cc5a2,_0x71c89e+_0x2c0ecf);_0x2851d2[_0x3fe823(0x1ed)](this['adjustSheetCellData'](_0x2476a2,_0x4c480c,_0x24d578),_0x9cc5a2-0x1-_0xa4cb5d);}}[_0x416ec5(0x3df)](_0x1c27d9,_0x3ff817,_0x2bdf2b){const _0x10de89=_0x416ec5,{subUnitId:_0x5a22e8,range:_0x446bc1,unitId:_0xb21db5}=_0x2bdf2b,_0x556183=this[_0x10de89(0x370)][_0x10de89(0x2cd)](_0xb21db5);if(!_0x556183){console['error'](_0x10de89(0x29d));return;}const _0x4fdcc6=_0x556183[_0x10de89(0x4ac)](_0x5a22e8),_0x57a814=_0x4fdcc6[_0x10de89(0x213)](),{startRow:_0x3dfec7,startColumn:_0x5c330b,endRow:_0x562b21}=this['getRangeStartEndInfo'](_0x446bc1,_0x4fdcc6),_0x6bb5f6=_0x556183[_0x10de89(0x49c)](),_0x388867={};for(const {dataField:_0x2be006,index:_0x33a51c}of _0x3ff817){_0x2be006[_0x10de89(0x378)]();const _0x40b39d=this[_0x10de89(0x4e1)](_0x57a814,void 0x0,void 0x0,_0x3dfec7,_0x5c330b+_0x33a51c);let _0xcb2082=this[_0x10de89(0x257)](_0x40b39d,_0x6bb5f6,_0x388867);_0x3a648e[_0x10de89(0x4d7)](_0xcb2082)&&(_0xcb2082=_0x5872ef[_0x10de89(0x4b2)][_0x10de89(0x320)](_0xcb2082['f'],Number(_0xcb2082['v'])));const _0x1a5830=this[_0x10de89(0x390)](_0xcb2082,_0x5c330b+_0x33a51c);_0x2be006[_0x10de89(0x23c)](_0x1a5830);}_0x1c27d9[_0x10de89(0x30c)]();for(let _0x253ca1=_0x3dfec7+0x1;_0x253ca1<=_0x562b21;_0x253ca1++)for(const {index:_0x5ac46e,dataField:_0x5e4f4c}of _0x3ff817){const _0x5e023b=_0x57a814[_0x10de89(0x2e1)](_0x253ca1,_0x5c330b+_0x5ac46e);_0x5e4f4c['addRecord'](this[_0x10de89(0x257)](_0x5e023b,_0x6bb5f6,_0x388867),_0x253ca1-0x1-_0x3dfec7);}_0x1c27d9[_0x10de89(0x258)](_0x562b21-_0x3dfec7);}[_0x416ec5(0x2fd)](_0x3b38e6){const _0x37406e=_0x416ec5,{range:_0x82120}=_0x3b38e6,{startColumn:_0x44545d,endColumn:_0x4314fc}=_0x82120,_0x4a9881=[];for(let _0x76b80c=_0x44545d;_0x76b80c<=_0x4314fc;_0x76b80c++)_0x4a9881['push'](this[_0x37406e(0x3c8)](_0x3b38e6,_0x76b80c));return _0x4a9881;}[_0x416ec5(0x257)](_0x2b9285,_0xec3349,_0x4d8864){const _0x41730d=_0x416ec5;if(_0x2b9285){const {s:_0x2a7f2d,v:_0x4db5ad,t:_0x279457,p:_0x32325c}=_0x2b9285;if(_0x32325c)return _0x36f93a(_0x32325c);const _0x3d5206=_0xec3349[_0x41730d(0x31f)](_0x2a7f2d);if(_0x3d5206&&_0x279457===_0x5872ef['CellValueType'][_0x41730d(0x2ab)]&&_0x3d5206['n']){const {pattern:_0x25cf78}=_0x3d5206['n'];_0x4d8864[_0x25cf78]||(_0x4d8864[_0x25cf78]=_0x5872ef[_0x41730d(0x4b2)][_0x41730d(0x228)](_0x25cf78));const _0x6259c=_0x4d8864[_0x25cf78],_0x5a6c5b=_0x6259c['isDate'];if(_0x6259c['isText'])return String(_0x4db5ad);if(_0x5a6c5b)return{'v':_0x4db5ad,'f':_0x25cf78};}if(_0x279457===_0x5872ef['CellValueType'][_0x41730d(0x2ab)])return Number(_0x4db5ad);if(_0x279457===_0x5872ef[_0x41730d(0x307)][_0x41730d(0x48e)]||_0x279457===_0x5872ef['CellValueType'][_0x41730d(0x2c9)])return String(_0x4db5ad);if(_0x279457===void 0x0){const _0x1b3681=Number(_0x4db5ad);if(!Number[_0x41730d(0x21d)](_0x1b3681)&&String(_0x1b3681)===_0x4db5ad)return _0x1b3681;}return _0x4db5ad!=null?_0x4db5ad:null;}else return null;}['getRangeData'](_0x350a6b){const _0x317369=_0x416ec5,{sheetName:_0x4b5e20,range:_0x408704,unitId:_0x1676d3}=_0x350a6b,_0x465ba8=this[_0x317369(0x370)][_0x317369(0x2cd)](_0x1676d3);if(!_0x465ba8)return console[_0x317369(0x3a8)](_0x317369(0x29d)),{'header':[],'data':[]};const _0x5a247d=_0x465ba8[_0x317369(0x4d4)](_0x4b5e20),_0x39cb22=_0x5a247d[_0x317369(0x213)](),{startRow:_0x49a174,startColumn:_0x5f0c9e,endRow:_0x295db0,endColumn:_0x4e34c2}=this[_0x317369(0x41b)](_0x408704,_0x5a247d),_0x2587f2=_0x465ba8[_0x317369(0x49c)](),_0x2653e0=[],_0x40f3b4=[],_0x22edf4={};for(let _0x4f388b=_0x49a174;_0x4f388b<=_0x295db0;_0x4f388b++){const _0x38b9d3=[];for(let _0x14227b=_0x5f0c9e;_0x14227b<=_0x4e34c2;_0x14227b++){const _0x367607=_0x39cb22['getValue'](_0x4f388b,_0x14227b);_0x4f388b===_0x49a174?_0x2653e0['push'](_0x367607==null?null:String(_0x367607['v'])):_0x38b9d3[_0x317369(0x410)](this[_0x317369(0x257)](_0x367607,_0x2587f2,_0x22edf4));}_0x40f3b4['push'](_0x38b9d3);}return{'header':_0x2653e0,'data':_0x40f3b4};}[_0x416ec5(0x2d9)](){const _0x11fef8=_0x416ec5;return super[_0x11fef8(0x2d9)]();}[_0x416ec5(0x29b)](_0xfd0ed7){const _0x5352fd=_0x416ec5;super[_0x5352fd(0x29b)](_0xfd0ed7),this[_0x5352fd(0x429)]();}['dispose'](){const _0x48c8ce=_0x416ec5;super[_0x48c8ce(0x2fc)](),this[_0x48c8ce(0x456)]={},this[_0x48c8ce(0x1fa)]=null;}}const _0x34ea4e=_0x12f561=>{const _0x5a813c=_0x416ec5,{targetCellInfo:_0x4074e5}=_0x12f561,{matrixCache:_0x572695,rangesCache:_0x5e2fc8}=_0x2490e9({'filter':'Filter','row':'Row','column':_0x5a813c(0x471),'values':'Values'},_0x4074e5),_0x4ab601=new _0x5872ef[(_0x5a813c(0x360))]();return _0x572695[_0x5a813c(0x38e)]((_0x4a98ef,_0x55d1a9,_0x26acb2)=>{_0x4ab601['setValue'](_0x4a98ef,_0x55d1a9,_0x26acb2);}),{'matrix':_0x4ab601,'rangesCache':_0x5e2fc8};},_0x21e137=_0x387099=>{const _0x543126=_0x416ec5;let _0x44ea32;if(_0x387099!=null&&_0x387099['v']||(_0x387099==null?void 0x0:_0x387099['v'])===0x0){_0x44ea32||(_0x44ea32={});const _0x36a291=_0x18bf5d(_0x387099['v']);typeof _0x36a291==_0x543126(0x339)?_0x44ea32['t']=_0x5872ef[_0x543126(0x307)][_0x543126(0x2ab)]:typeof _0x36a291==_0x543126(0x412)&&(_0x44ea32['t']=_0x5872ef[_0x543126(0x307)]['STRING']),_0x44ea32['v']=_0x36a291;}return _0x44ea32;},_0x275691=(_0x49f198,_0x2acd04,_0x36863f)=>{const _0x437f53=_0x416ec5;var _0x46d800,_0x2e00c2,_0x1ca25f,_0x450660,_0x2038a0,_0x2f8cbc,_0x57a2b2,_0x31e5f0,_0x89d4f2,_0x2574e6,_0x1726d9,_0x3a08b1;const {cornerView:_0x4e83a9,rowView:_0x2d6449,colView:_0x20f769,dataView:_0x1c05ce,pageView:_0x599f95,formatMap:_0x4dce99}=_0x49f198,{row:_0xf5e39e,col:_0x210356}=_0x2acd04,_0x3edb09=new _0x5872ef[(_0x437f53(0x360))]();let _0x51c2f9=_0xf5e39e,_0x4446cc=_0x210356;Object['keys'](_0x599f95['data'])[_0x437f53(0x24e)](_0x4eaf5f=>{const _0x16ce38=_0x437f53;Object[_0x16ce38(0x2a3)](_0x599f95['data'][Number(_0x4eaf5f)])[_0x16ce38(0x24e)](_0x512a20=>{const _0x14ecbd=_0x16ce38,_0x6fa67f={..._0x599f95[_0x14ecbd(0x30a)][Number(_0x4eaf5f)][Number(_0x512a20)]};_0x3edb09['setValue'](Number(_0x4eaf5f)+_0x51c2f9,Number(_0x512a20)+_0x4446cc,_0x21e137(_0x6fa67f));});});const _0x207956=Object[_0x437f53(0x2a3)](_0x599f95['data'])[_0x437f53(0x2a9)];_0x51c2f9+=_0x207956+(_0x207956?_0x51bc16:0x0);const _0x1be0d5=_0x4e83a9[_0x437f53(0x3eb)](),_0x3aeb0a=_0x4e83a9[_0x437f53(0x443)]();for(let _0x982e2d=0x0;_0x982e2d<_0x1be0d5;_0x982e2d++)for(let _0x222a57=0x0;_0x222a57<_0x3aeb0a;_0x222a57++){const _0x141f24={...(_0x2e00c2=(_0x46d800=_0x4e83a9[_0x437f53(0x30a)])==null?void 0x0:_0x46d800[_0x982e2d])==null?void 0x0:_0x2e00c2[_0x222a57]};_0x141f24&&((_0x1ca25f=_0x2d6449[_0x437f53(0x3ad)][_0x222a57])!=null&&_0x1ca25f['isValue'])&&_0x222a57===_0x3aeb0a-0x1&&_0x982e2d===_0x1be0d5-0x1&&(_0x141f24['v']=''+_0x36863f['sheets-pivot.value']),_0x3edb09[_0x437f53(0x21b)](_0x982e2d+_0x51c2f9,_0x222a57+_0x4446cc,_0x21e137(_0x141f24));}_0x4446cc+=_0x3aeb0a;const _0x14d418=_0x20f769[_0x437f53(0x3ad)],_0xa0dc13=_0x20f769['getLastRow']()>=0x0?_0x20f769[_0x437f53(0x44c)]()+0x1:0x0,_0x274925=_0x20f769[_0x437f53(0x2c6)]()>=0x0?_0x20f769[_0x437f53(0x2c6)]()+0x1:0x0;for(let _0x229153=0x0;_0x229153<_0x274925;_0x229153++)for(let _0xff9664=0x0;_0xff9664<_0xa0dc13;_0xff9664++){const _0x33e8a6={...(_0x2038a0=(_0x450660=_0x20f769[_0x437f53(0x30a)])==null?void 0x0:_0x450660[_0x229153])==null?void 0x0:_0x2038a0[_0xff9664]},_0x1e2ea0=(_0x2f8cbc=_0x14d418[_0x229153])==null?void 0x0:_0x2f8cbc[_0x437f53(0x488)],_0x2b8a56=_0x4dce99[_0x1e2ea0];_0x33e8a6&&(_0x33e8a6['v']=_0x2fd4b9(_0x33e8a6,_0x229153===0x0&&((_0x57a2b2=_0x20f769[_0x437f53(0x2f5)](_0xff9664+0x1))==null?void 0x0:_0x57a2b2[_0x437f53(0x3fe)]),_0x2b8a56,_0x36863f)),_0x3edb09['setValue'](_0x229153+_0x51c2f9,_0xff9664+_0x4446cc,_0x21e137(_0x33e8a6));}_0x51c2f9+=_0x1be0d5;const _0xee7211=_0x2d6449['headerMap'],_0x13609b=_0x2d6449[_0x437f53(0x44c)]()>=0x0?_0x2d6449[_0x437f53(0x44c)]()+0x1:0x0,_0x5301ad=_0x2d6449[_0x437f53(0x2c6)]()>=0x0?_0x2d6449[_0x437f53(0x2c6)]()+0x1:0x0;for(let _0x5365e1=0x0;_0x5365e1<_0x13609b;_0x5365e1++)for(let _0x285e31=0x0;_0x285e31<_0x5301ad;_0x285e31++){const _0x52672b={...(_0x89d4f2=(_0x31e5f0=_0x2d6449[_0x437f53(0x30a)])==null?void 0x0:_0x31e5f0[_0x5365e1])==null?void 0x0:_0x89d4f2[_0x285e31]},_0x48d800=(_0x2574e6=_0xee7211[_0x285e31])==null?void 0x0:_0x2574e6[_0x437f53(0x488)],_0x2314da=_0x4dce99[_0x48d800];_0x52672b&&(_0x52672b['v']=_0x2fd4b9(_0x52672b,!0x1,_0x2314da,_0x36863f)),_0x3edb09[_0x437f53(0x21b)](_0x5365e1+_0x51c2f9,_0x285e31+_0x210356,_0x21e137(_0x52672b));}const _0xa5c70a=_0x1c05ce[_0x437f53(0x3eb)](),_0x2ba4b5=_0x1c05ce[_0x437f53(0x443)]();for(let _0x2b9ecd=0x0;_0x2b9ecd<_0xa5c70a;_0x2b9ecd++)for(let _0x13a976=0x0;_0x13a976<_0x2ba4b5;_0x13a976++){const _0x4537f7={...(_0x3a08b1=(_0x1726d9=_0x1c05ce[_0x437f53(0x30a)])==null?void 0x0:_0x1726d9[_0x2b9ecd])==null?void 0x0:_0x3a08b1[_0x13a976]};_0x3edb09[_0x437f53(0x21b)](_0x2b9ecd+_0x51c2f9,_0x13a976+_0x4446cc,_0x21e137(_0x4537f7));}return _0x3edb09;},_0x4a5cb7=_0x2cc42c=>{const _0x4bc9cd=_0x416ec5,{view:_0x1f4479,targetCellInfo:_0x31ff2b,isEmpty:_0x1c5e2d,textInfo:_0x43df57}=_0x2cc42c;if(_0x1c5e2d)return _0x34ea4e(_0x2cc42c);const {pageView:_0x4fbbe8,cornerView:_0x3a5846,rowView:_0x3c350f,colView:_0x4f1042,dataView:_0x3db30f}=_0x1f4479,_0x3afa6c=_0x27c033(_0x31ff2b,_0x4fbbe8,!0x0),_0x29ca17=_0x4fbbe8[_0x4bc9cd(0x48f)]>=0x0?_0x4fbbe8[_0x4bc9cd(0x48f)]+0x1:0x0,_0x2e368b=_0x3a5846['getRowCount'](),_0x3cee2a=_0x3a5846[_0x4bc9cd(0x443)](),_0xc2e708=_0x3afa6c[_0x4bc9cd(0x2a9)]>0x0?_0x51bc16:0x0,_0x149137=_0x27c033({'row':_0x31ff2b[_0x4bc9cd(0x451)]+_0x29ca17+_0xc2e708,'col':_0x31ff2b[_0x4bc9cd(0x2dd)]},_0x3a5846,!0x1,!0x1),_0x34fe29=_0x27c033({'row':_0x31ff2b[_0x4bc9cd(0x451)]+_0x29ca17+_0xc2e708+_0x2e368b,'col':_0x31ff2b[_0x4bc9cd(0x2dd)]},_0x3c350f,!0x1,!0x0),_0x491341=_0x27c033({'row':_0x31ff2b[_0x4bc9cd(0x451)]+_0x29ca17+_0xc2e708,'col':_0x31ff2b[_0x4bc9cd(0x2dd)]+_0x3cee2a},_0x4f1042,!0x1,!0x0),_0xcf4299=_0x27c033({'row':_0x31ff2b['row']+_0x29ca17+_0xc2e708+_0x2e368b,'col':_0x31ff2b[_0x4bc9cd(0x2dd)]+_0x3cee2a},_0x3db30f,!0x1,!0x1),_0x3aaa9f={'rowRanges':_0x34fe29,'colRanges':_0x491341,'cornerRanges':_0x149137,'dataRanges':_0xcf4299,'pageRanges':_0x3afa6c};return{'matrix':_0x275691(_0x1f4479,_0x31ff2b,_0x43df57),'rangesCache':_0x3aaa9f};};var _0x5a7ef3=Object['getOwnPropertyDescriptor'],_0xa6f12d=(_0x527468,_0x447a93,_0x416dd6,_0x1d4c78)=>{const _0x587787=_0x416ec5;for(var _0xcb24cd=_0x1d4c78>0x1?void 0x0:_0x1d4c78?_0x5a7ef3(_0x447a93,_0x416dd6):_0x447a93,_0x4d7280=_0x527468[_0x587787(0x2a9)]-0x1,_0x5727ba;_0x4d7280>=0x0;_0x4d7280--)(_0x5727ba=_0x527468[_0x4d7280])&&(_0xcb24cd=_0x5727ba(_0xcb24cd)||_0xcb24cd);return _0xcb24cd;},_0x39e18f=(_0x5a9bc6,_0x4d5467)=>(_0x8b9ca5,_0x1513d5)=>_0x4d5467(_0x8b9ca5,_0x1513d5,_0x5a9bc6);_0x26ed3e[_0x416ec5(0x3a7)]=class extends _0x5872ef['Disposable']{constructor(_0x4ed8bf,_0x3274fe,_0xb3a86b,_0x5297ef,_0x3b9185,_0x15fcbe){const _0x2bcf25=_0x416ec5;super(),_0x48e53f(this,'_model',new Map()),_0x48e53f(this,_0x2bcf25(0x238),new Map()),_0x48e53f(this,_0x2bcf25(0x3ff),new Map()),_0x48e53f(this,_0x2bcf25(0x32d)),_0x48e53f(this,_0x2bcf25(0x24d),new _0x482d9c[(_0x2bcf25(0x45f))]()),_0x48e53f(this,'collectionChange$',this[_0x2bcf25(0x24d)][_0x2bcf25(0x3cd)]()),_0x48e53f(this,_0x2bcf25(0x25d),new _0x482d9c['Subject']()),_0x48e53f(this,_0x2bcf25(0x2b9),this[_0x2bcf25(0x25d)]['asObservable']()),_0x48e53f(this,'_fieldsCollectionChange$',new _0x482d9c[(_0x2bcf25(0x45f))]()),_0x48e53f(this,_0x2bcf25(0x2f4),this['_fieldsCollectionChange$'][_0x2bcf25(0x3cd)]()),_0x48e53f(this,_0x2bcf25(0x24f),new Map()),_0x48e53f(this,_0x2bcf25(0x4f5),[]),_0x48e53f(this,_0x2bcf25(0x405),new Map()),(this[_0x2bcf25(0x2c8)]=_0x4ed8bf,this['_univerInstanceService']=_0x3274fe,this[_0x2bcf25(0x4d5)]=_0xb3a86b,this['_configService']=_0x5297ef,this[_0x2bcf25(0x3d3)]=_0x3b9185,this[_0x2bcf25(0x2a8)]=_0x15fcbe,this[_0x2bcf25(0x313)]());}[_0x416ec5(0x41e)](){const _0x5a7db1=_0x416ec5;return this[_0x5a7db1(0x32d)]?this[_0x5a7db1(0x32d)]:_0x30b858;}[_0x416ec5(0x322)](_0x18389b){const _0x317488=_0x416ec5;this[_0x317488(0x32d)]=_0x18389b;}[_0x416ec5(0x316)](_0x4c41be){const _0x4f4740=_0x416ec5;var _0x155c68;const {from:_0x80effc,to:_0x29e326,unitId:_0xd6dbc4,fromRange:_0x327636,toRange:_0x199503}=_0x4c41be;if(_0x80effc&&_0x29e326){const _0x592aed=this[_0x4f4740(0x4c4)](_0xd6dbc4),_0x30ec5b=this['_model'][_0x4f4740(0x31f)](_0xd6dbc4),_0x1ae14b=(_0x155c68=this[_0x4f4740(0x370)][_0x4f4740(0x2cd)](_0xd6dbc4))==null?void 0x0:_0x155c68['getSheetBySheetId'](_0x29e326[_0x4f4740(0x4b9)]);if(!_0x30ec5b||!_0x1ae14b)return;const _0x52612b=_0x1ae14b==null?void 0x0:_0x1ae14b[_0x4f4740(0x40b)]();for(const [_0x3f9785,_0x2d062c]of _0x30ec5b[_0x4f4740(0x444)]())for(const [_0x522ba7,_0x5b763a]of _0x2d062c[_0x4f4740(0x444)]()){const {sourceRangeInfo:_0x257951}=_0x5b763a;if(_0x257951[_0x4f4740(0x484)]===_0xd6dbc4&&_0x257951[_0x4f4740(0x4b9)]===_0x80effc[_0x4f4740(0x4b9)]&&_0x5872ef['Rectangle']['contains'](_0x327636,_0x257951[_0x4f4740(0x342)])){const _0x6a6e59={'row':_0x257951[_0x4f4740(0x342)][_0x4f4740(0x274)]-_0x327636['startRow'],'col':_0x257951[_0x4f4740(0x342)]['startColumn']-_0x327636['startColumn']},_0x148d13={'unitId':_0xd6dbc4,'subUnitId':_0x29e326[_0x4f4740(0x4b9)],'sheetName':_0x52612b,'range':{'startRow':_0x199503[_0x4f4740(0x274)]+_0x6a6e59['row'],'endRow':_0x199503[_0x4f4740(0x274)]+_0x6a6e59[_0x4f4740(0x451)]+_0x257951[_0x4f4740(0x342)]['endRow']-_0x257951[_0x4f4740(0x342)][_0x4f4740(0x274)],'startColumn':_0x199503[_0x4f4740(0x4fd)]+_0x6a6e59[_0x4f4740(0x2dd)],'endColumn':_0x199503['startColumn']+_0x6a6e59[_0x4f4740(0x2dd)]+_0x257951[_0x4f4740(0x342)]['endColumn']-_0x257951['range']['startColumn']}};_0x592aed[_0x4f4740(0x316)](_0x522ba7,_0x148d13);const _0x2008b1={..._0x5b763a,'sourceRangeInfo':_0x148d13};this['_updateModelCache'](_0xd6dbc4,_0x29e326[_0x4f4740(0x4b9)],_0x522ba7,_0x2008b1),this[_0x4f4740(0x2d2)]({'unitId':_0xd6dbc4,'token':_0x522ba7,'type':_0x3adfea['update'],'oldSourceRangeInfo':_0x257951,'dataRangeInfo':_0x148d13,'targetCellInfo':_0x5b763a['targetCellInfo']}),this['updateConfig']({'unitId':_0xd6dbc4,'subUnitId':_0x29e326[_0x4f4740(0x4b9)],'oldSubUnitId':_0x3f9785,'pivotTableId':_0x522ba7,'pivotTableConfig':_0x2008b1,'collectionConfig':_0x592aed['toJSON']()});}}}}[_0x416ec5(0x2d2)](_0x296142){const _0x332ab2=_0x416ec5;this[_0x332ab2(0x24d)][_0x332ab2(0x404)](_0x296142);}[_0x416ec5(0x4c4)](_0x92e9fd){const _0x3f7012=_0x416ec5;let _0x1373a9=this[_0x3f7012(0x24f)][_0x3f7012(0x31f)](_0x92e9fd);return _0x1373a9||(_0x1373a9=new _0x5b2057(this,this[_0x3f7012(0x370)]),this[_0x3f7012(0x24f)][_0x3f7012(0x3dc)](_0x92e9fd,_0x1373a9)),_0x1373a9;}[_0x416ec5(0x3f3)](_0x332a0d,_0x356ec9){const _0x1ba433=_0x416ec5;return this[_0x1ba433(0x4c4)](_0x332a0d)['collections'][_0x356ec9];}[_0x416ec5(0x48a)](_0xf43536,_0x3304d3,_0x366867){const _0x29a2ea=_0x416ec5;return this['getDataFieldManager'](_0xf43536)[_0x29a2ea(0x48a)](_0x3304d3,_0x366867);}['_ensurePivotMap'](_0x1a3f7b,_0xc9ed8b){const _0x59fd9b=_0x416ec5;let _0x2591ad=this[_0x59fd9b(0x4bd)][_0x59fd9b(0x31f)](_0x1a3f7b);_0x2591ad||(_0x2591ad=new Map(),this[_0x59fd9b(0x4bd)]['set'](_0x1a3f7b,_0x2591ad));let _0x3db434=_0x2591ad[_0x59fd9b(0x31f)](_0xc9ed8b);return _0x3db434||(_0x3db434=new Map(),_0x2591ad[_0x59fd9b(0x3dc)](_0xc9ed8b,_0x3db434)),_0x3db434;}[_0x416ec5(0x26b)](_0x549faa,_0x402839,_0x52b5cd,_0x11c34b){const _0x3eb3c6=_0x416ec5;this['_ensurePivotMap'](_0x549faa,_0x402839)[_0x3eb3c6(0x3dc)](_0x52b5cd,_0x11c34b);}['_deleteModelCache'](_0xc3b27f,_0x2c27cc,_0x4f2fdb){const _0x16cbe2=_0x416ec5;var _0x19c465,_0x27f824,_0xadbd25,_0x21ced6;((_0x27f824=(_0x19c465=this['_model']['get'](_0xc3b27f))==null?void 0x0:_0x19c465[_0x16cbe2(0x31f)](_0x2c27cc))==null?void 0x0:_0x27f824[_0x16cbe2(0x31f)](_0x4f2fdb))&&((_0x21ced6=(_0xadbd25=this[_0x16cbe2(0x4bd)][_0x16cbe2(0x31f)](_0xc3b27f))==null?void 0x0:_0xadbd25[_0x16cbe2(0x31f)](_0x2c27cc))==null||_0x21ced6[_0x16cbe2(0x3e3)](_0x4f2fdb));}['_updatePivotTableInstanceCache'](_0xfabf37,_0x870fe){const _0x11ebae=_0x416ec5;this[_0x11ebae(0x238)]['set'](_0xfabf37,_0x870fe);}[_0x416ec5(0x2a7)](_0x37ee75){const _0x4882bf=_0x416ec5;this[_0x4882bf(0x238)][_0x4882bf(0x3e3)](_0x37ee75);}['_ensureViewDataMap'](_0x455e89,_0x12bc8e){const _0x487cb2=_0x416ec5;let _0xcff31c=this[_0x487cb2(0x3ff)][_0x487cb2(0x31f)](_0x455e89);_0xcff31c||(_0xcff31c=new Map(),this[_0x487cb2(0x3ff)][_0x487cb2(0x3dc)](_0x455e89,_0xcff31c));let _0x11098b=_0xcff31c[_0x487cb2(0x31f)](_0x12bc8e);return _0x11098b||(_0x11098b=new Map(),_0xcff31c[_0x487cb2(0x3dc)](_0x12bc8e,_0x11098b)),_0x11098b;}[_0x416ec5(0x3da)](_0x30da93){const _0x122152=_0x416ec5,{unitId:_0x25d072,subUnitId:_0x47ed03,pivotTableId:_0xf56e97,pivotTableConfig:_0x5d665f,collectionConfig:_0x175f2f}=_0x30da93,_0x53e725={'unitId':_0x25d072,'subUnitId':_0x47ed03,'oldSubUnitId':_0x47ed03,'pivotTableId':_0xf56e97,'pivotTableConfig':_0x5d665f,'collectionConfig':_0x175f2f};this[_0x122152(0x3d3)][_0x122152(0x4c1)](_0xfec78e['id'],_0x53e725,{'onlyLocal':!0x0});}[_0x416ec5(0x280)](_0xc8a254,_0x3680fb,_0xa6f4a,_0x4d685a,_0x571d6f,_0x183fdd,_0x403767,_0x271a31=!0x1){const _0x3774a3=_0x416ec5;var _0x3ed3cb;this[_0x3774a3(0x3d3)][_0x3774a3(0x4c1)](_0x46932a['id'],{'single':{'unitId':_0xc8a254,'subUnitId':_0x3680fb,'type':_0xa6f4a,'pivotTableId':_0x4d685a,'view':_0x571d6f,'pivotConfig':_0x183fdd},'collectionConfig':{[_0xc8a254]:_0x403767}},{'onlyLocal':!0x0});const _0x3585ed=!!((_0x3ed3cb=this['getPivotTableInstance'](_0x4d685a))!=null&&_0x3ed3cb[_0x3774a3(0x4a3)]()),_0xb9c46f=this[_0x3774a3(0x474)](_0xc8a254,_0x3680fb,_0x4d685a);_0xb9c46f&&this['updateViewData']({'view':_0x571d6f,'pivotTableId':_0x4d685a,'textInfo':this[_0x3774a3(0x41e)](),'isEmpty':_0x3585ed,'targetCellInfo':_0xb9c46f[_0x3774a3(0x455)]},_0x271a31);}[_0x416ec5(0x42c)](_0x42fec6,_0x3d021b){const _0x1328b4=_0x416ec5,{targetCellInfo:_0x7c6b81,pivotTableId:_0x3a0592}=_0x42fec6,{unitId:_0x52ef6a,subUnitId:_0xfeaa3f}=_0x7c6b81,_0x5b2cb1=this[_0x1328b4(0x4bb)](_0x52ef6a,_0xfeaa3f),_0x207a32=_0x5b2cb1[_0x1328b4(0x31f)](_0x3a0592);let _0x3eddea,_0x3dfa65;_0x207a32&&(_0x3eddea=_0x207a32[_0x1328b4(0x4ec)],_0x3dfa65=_0x207a32[_0x1328b4(0x2aa)]);const {rangesCache:_0x3fb367,matrix:_0x438d3e}=_0x4a5cb7(_0x42fec6);_0x5b2cb1[_0x1328b4(0x3dc)](_0x3a0592,{'rangeCache':_0x3fb367,'matrix':_0x438d3e,'oldMatrix':_0x3dfa65,'oldRangeCache':_0x3eddea}),_0x3d021b||this[_0x1328b4(0x25d)][_0x1328b4(0x404)]({'unitId':_0x52ef6a,'subUnitId':_0xfeaa3f,'pivotTableId':_0x3a0592});}['addPivotTable'](_0x30a2bf,_0x584c98,_0x42200c,_0x1ec1f0,_0x5613f0){const _0x12c6f5=_0x416ec5;this[_0x12c6f5(0x26b)](_0x30a2bf,_0x584c98,_0x42200c,_0x5613f0),this[_0x12c6f5(0x276)](_0x42200c,_0x1ec1f0);}[_0x416ec5(0x277)](_0x476038,_0x422bf1,_0x2f7fc9){const _0xb53fba=_0x416ec5,_0x488161=this['getDataFieldManager'](_0x476038);_0x488161[_0xb53fba(0x495)](_0x2f7fc9)[_0xb53fba(0x24e)](_0x1d5968=>{const _0x5a2ca8=_0xb53fba;_0x488161[_0x5a2ca8(0x237)](_0x1d5968);}),this[_0xb53fba(0x3a1)](_0x476038,_0x2f7fc9),this[_0xb53fba(0x34a)](_0x476038,_0x422bf1,_0x2f7fc9),this['_deletePivotTableInstanceCache'](_0x2f7fc9);}['setPivotTable'](_0x449ab9,_0x3fac8f,_0x526b6b,_0x5d5655){const _0x423287=_0x416ec5;this[_0x423287(0x26b)](_0x449ab9,_0x3fac8f,_0x526b6b,_0x5d5655);}[_0x416ec5(0x474)](_0x3a9330,_0x254349,_0x232d15){const _0x2a819f=_0x416ec5;var _0x44ad9b,_0x356748;const _0x27b130=(_0x356748=(_0x44ad9b=this[_0x2a819f(0x4bd)]['get'](_0x3a9330))==null?void 0x0:_0x44ad9b['get'](_0x254349))==null?void 0x0:_0x356748[_0x2a819f(0x31f)](_0x232d15);if(_0x27b130)return _0x27b130;}[_0x416ec5(0x362)](_0x277b59,_0xeb8287,_0x52d1ce){const _0x264619=_0x416ec5;var _0x347165,_0x4fadef;const _0x1ca9eb=(_0x4fadef=(_0x347165=this[_0x264619(0x4bd)][_0x264619(0x31f)](_0x277b59))==null?void 0x0:_0x347165[_0x264619(0x31f)](_0xeb8287))==null?void 0x0:_0x4fadef[_0x264619(0x31f)](_0x52d1ce);if(_0x1ca9eb)return _0x1ca9eb['fieldsConfig'];}[_0x416ec5(0x239)](_0x15f9e3){const _0x2a737b=_0x416ec5;return this[_0x2a737b(0x238)][_0x2a737b(0x31f)](_0x15f9e3);}['deleteUnitId'](_0x49de26){const _0x4aa1fc=_0x416ec5;this['_model'][_0x4aa1fc(0x3e3)](_0x49de26);const _0x105ef7=this[_0x4aa1fc(0x24f)]['get'](_0x49de26);_0x105ef7&&(_0x105ef7[_0x4aa1fc(0x2fc)](),this[_0x4aa1fc(0x24f)]['delete'](_0x49de26)),this[_0x4aa1fc(0x3ff)][_0x4aa1fc(0x3e3)](_0x49de26),this[_0x4aa1fc(0x4f5)][_0x4aa1fc(0x24e)](_0x38ac63=>{const _0x49e1bc=_0x4aa1fc;_0x38ac63[_0x49e1bc(0x30e)](_0x49de26);});}[_0x416ec5(0x22f)](_0x3e65d9,_0x43b31c,_0x589823,_0x563e57){const _0x56743e=_0x416ec5;return this[_0x56743e(0x4c4)](_0x589823[_0x56743e(0x484)])[_0x56743e(0x22f)](_0x3e65d9,_0x43b31c,_0x589823,_0x563e57);}[_0x416ec5(0x215)](_0x116249){const _0x409cd2=_0x416ec5;return this['getDataFieldManager'](_0x116249[_0x409cd2(0x484)])[_0x409cd2(0x215)](_0x116249);}[_0x416ec5(0x3df)](_0x440fdc,_0x208a0f,_0x22d74f){const _0xcdfc05=_0x416ec5;this[_0xcdfc05(0x4c4)](_0x22d74f[_0xcdfc05(0x484)])[_0xcdfc05(0x3df)](_0x440fdc,_0x208a0f,_0x22d74f);}[_0x416ec5(0x36f)](_0x26dbfc,_0x7f69fa){const _0x267eff=_0x416ec5;this[_0x267eff(0x4c4)](_0x26dbfc)[_0x267eff(0x237)](_0x7f69fa);}[_0x416ec5(0x3a1)](_0xc2a1c5,_0x3f17ce){const _0x15b509=_0x416ec5;this[_0x15b509(0x4c4)](_0xc2a1c5)[_0x15b509(0x3f9)](_0x3f17ce);}['getSubUnitPivotConfigs'](_0x74e82b,_0x37522b){const _0x3f8e75=_0x416ec5;var _0x4b3960;return(_0x4b3960=this[_0x3f8e75(0x4bd)][_0x3f8e75(0x31f)](_0x74e82b))==null?void 0x0:_0x4b3960[_0x3f8e75(0x31f)](_0x37522b);}[_0x416ec5(0x446)](_0x5abf01){const _0x5ff53b=_0x416ec5;for(const [_0x35de35,_0x375d59]of this[_0x5ff53b(0x4bd)][_0x5ff53b(0x444)]())for(const [_0x24be8f,_0x464310]of _0x375d59[_0x5ff53b(0x444)]())if(_0x464310['has'](_0x5abf01))return{'unitId':_0x35de35,'subUnitId':_0x24be8f};return null;}['sideEffectUpdateWorkerCache'](_0x163fe4,_0x8745bb,_0x211235,_0x582c73){const _0x524248=_0x416ec5,_0xa1410=this[_0x524248(0x4bb)](_0x163fe4,_0x8745bb);_0x582c73?_0xa1410['set'](_0x211235,_0x582c73):_0xa1410[_0x524248(0x3e3)](_0x211235),this['_viewData$'][_0x524248(0x404)]({'unitId':_0x163fe4,'subUnitId':_0x8745bb,'pivotTableId':_0x211235});}['dispose'](){const _0x5424f1=_0x416ec5;super[_0x5424f1(0x2fc)]();}[_0x416ec5(0x449)](_0x3b2bda,_0x353aee,_0x11126f){const _0x970a17=_0x416ec5;var _0x105b12,_0x3a11aa;const _0x1b774b=(_0x3a11aa=(_0x105b12=this[_0x970a17(0x3ff)]['get'](_0x3b2bda))==null?void 0x0:_0x105b12[_0x970a17(0x31f)](_0x353aee))==null?void 0x0:_0x3a11aa[_0x970a17(0x31f)](_0x11126f);return _0x1b774b||null;}['addDirtyPivotTable'](_0x20b59b){const _0x151643=_0x416ec5;this[_0x151643(0x206)](_0x20b59b);}[_0x416ec5(0x206)](_0x3f8c52){const _0x191ca9=_0x416ec5,{token:_0x4437b0,unitId:_0xe0289f,subUnitId:_0x1046ed}=_0x3f8c52,_0x5e2da5=_0xe0289f+'-'+_0x1046ed+'-'+_0x4437b0;this[_0x191ca9(0x405)]['get'](_0x5e2da5)&&clearTimeout(this[_0x191ca9(0x405)]['get'](_0x5e2da5));const _0x19d485=setTimeout(()=>{const _0x3a9b52=_0x191ca9;this['queryDirtyPivotTable'](_0x3f8c52),this[_0x3a9b52(0x405)]['delete'](_0x5e2da5);},_0x5b8026);this[_0x191ca9(0x405)][_0x191ca9(0x3dc)](_0x5e2da5,_0x19d485);}['queryDirtyPivotTable'](_0x3a6d13){const _0x5af985=_0x416ec5,{unitId:_0x3cb48d,subUnitId:_0x3ee419,token:_0x57afa5,type:_0x1ee768,pivotConfig:_0x5ab4c2}=_0x3a6d13,_0x7ca54b=this[_0x5af985(0x239)](_0x57afa5),_0x4523e6=_0x7ca54b==null?void 0x0:_0x7ca54b[_0x5af985(0x3d2)](),_0x3a1d89=_0x5ab4c2!=null?_0x5ab4c2:this[_0x5af985(0x474)](_0x3cb48d,_0x3ee419,_0x57afa5);_0x3a1d89&&(_0x3a1d89['isEmpty']=!!(_0x7ca54b!=null&&_0x7ca54b[_0x5af985(0x4a3)]())),(_0x4523e6||_0x1ee768===_0x332641[_0x5af985(0x256)])&&this[_0x5af985(0x280)](_0x3cb48d,_0x3ee419,_0x1ee768,_0x57afa5,_0x4523e6,_0x3a1d89,this[_0x5af985(0x4c4)](_0x3cb48d)['toJSON']());}[_0x416ec5(0x2d9)](_0x3c1e59){const _0x42ae13=_0x416ec5,_0x1ccaf1={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x42ae13(0x4c4)](_0x3c1e59)&&(_0x1ccaf1[_0x42ae13(0x460)][_0x3c1e59]=this[_0x42ae13(0x4c4)](_0x3c1e59)['toJSON']()),this[_0x42ae13(0x4bd)]['get'](_0x3c1e59)){_0x1ccaf1[_0x42ae13(0x4fe)][_0x3c1e59]={};const _0x47df5c=this[_0x42ae13(0x4bd)][_0x42ae13(0x31f)](_0x3c1e59);_0x47df5c!=null&&_0x47df5c[_0x42ae13(0x2ad)]&&[..._0x47df5c['keys']()]['forEach'](_0x2fb20a=>{const _0x549fe5=_0x42ae13,_0x16e8a2=_0x47df5c[_0x549fe5(0x31f)](_0x2fb20a);_0x16e8a2!=null&&_0x16e8a2[_0x549fe5(0x2ad)]&&(_0x1ccaf1[_0x549fe5(0x4fe)][_0x3c1e59][_0x2fb20a]={},[..._0x16e8a2['keys']()][_0x549fe5(0x24e)](_0x184223=>{const _0x26d7b6=_0x549fe5,_0x903fe9=_0x16e8a2[_0x26d7b6(0x31f)](_0x184223);_0x903fe9&&(_0x1ccaf1['pivotTableConfigs'][_0x3c1e59][_0x2fb20a][_0x184223]=_0x903fe9);}));});}return _0x1ccaf1;}[_0x416ec5(0x29b)](_0x73da16){const _0x46fd7a=_0x416ec5;var _0x387996;const {dataFieldManagerConfig:_0x228b71,pivotTableConfigs:_0x4644f0}=_0x73da16;_0x228b71&&Object[_0x46fd7a(0x2a3)](_0x228b71)[_0x46fd7a(0x24e)](_0x299b1f=>{const _0x43fe5d=_0x46fd7a;this[_0x43fe5d(0x4c4)](_0x299b1f)[_0x43fe5d(0x29b)](_0x228b71[_0x299b1f]);});const _0xe1a8c4=[];if(_0x4644f0){const _0x568a0e=(_0x387996=this[_0x46fd7a(0x2c8)]['get'](_0x5872ef[_0x46fd7a(0x23b)])['getConfig'](_0x3f0b91[_0x46fd7a(0x46d)]))!=null?_0x387996:{},{ls:_0x5e8ee8,pbk:_0x11516b}=_0x568a0e,_0x363938=_0x3f5617(_0x59c5c1,_0x5e8ee8,_0x11516b)[_0x46fd7a(0x1fc)];Object[_0x46fd7a(0x2a3)](_0x4644f0)[_0x46fd7a(0x24e)](_0x5b79ed=>{const _0x35a47b=_0x46fd7a;let _0x220995=0x0;const _0x575012=_0x4644f0[_0x5b79ed];Object[_0x35a47b(0x2a3)](_0x575012)[_0x35a47b(0x24e)](_0x3992e8=>{const _0x365f61=_0x35a47b,_0x3e5892=_0x575012[_0x3992e8];Object[_0x365f61(0x2a3)](_0x3e5892)['forEach'](_0x3831be=>{const _0x214617=_0x365f61,_0x355cfc=_0x3e5892[_0x3831be];if(_0x355cfc){if(_0x220995>=_0x363938)return;_0x220995++;const _0x1f396f=this['getDataFieldManager'](_0x5b79ed),_0x4799dc=_0x1f396f[_0x214617(0x415)][_0x3831be],_0x3bec60=_0x4799dc['getFieldIds']();let _0x3e5aa6=0x0;const _0x1b63d0=[];for(const _0x503dda of _0x3bec60){const _0x3ae6c3=_0x4799dc[_0x214617(0x260)](_0x503dda);if(_0x3a648e[_0x214617(0x45c)](_0x3ae6c3)){const _0x33d991=_0x3ae6c3[_0x214617(0x21f)](),_0x1158c0=_0x4799dc['getFieldById'](_0x33d991);_0x1158c0&&_0x1b63d0[_0x214617(0x410)]([_0x3ae6c3,_0x1158c0]);continue;}_0x1f396f['refreshDataField'](_0x503dda,_0x355cfc[_0x214617(0x26c)],_0x3e5aa6),_0x3e5aa6++;}_0x1b63d0[_0x214617(0x24e)](([_0x4bb5da,_0x4c874c])=>{const _0x183389=_0x214617;_0x4bb5da[_0x183389(0x281)](_0x4c874c);});const _0x263d97=new _0x3a648e[(_0x214617(0x279))](_0x4799dc);_0x263d97[_0x214617(0x29b)](_0x355cfc[_0x214617(0x332)]),this[_0x214617(0x389)](_0x5b79ed,_0x3992e8,_0x3831be,_0x263d97,_0x355cfc);const _0x220a2a=_0x263d97['query']();_0xe1a8c4[_0x214617(0x410)]({'unitId':_0x5b79ed,'subUnitId':_0x3992e8,'pivotTableId':_0x3831be,'view':_0x220a2a['toJSON'](),'pivotConfig':_0x355cfc,'type':_0x332641[_0x214617(0x308)]});const _0x2e04dd=!!_0x263d97[_0x214617(0x4a3)](),_0x38268d={'view':_0x220a2a,'pivotTableId':_0x3831be,'textInfo':this[_0x214617(0x41e)](),'isEmpty':_0x2e04dd,'targetCellInfo':_0x355cfc[_0x214617(0x455)]};this[_0x214617(0x42c)](_0x38268d,!0x1);}});});});}_0x228b71&&Object[_0x46fd7a(0x2a3)](_0x228b71)[_0x46fd7a(0x24e)](_0x491474=>{const _0x4a1da3=_0x46fd7a,_0x7e047c=this[_0x4a1da3(0x4c4)](_0x491474);this[_0x4a1da3(0x44b)][_0x4a1da3(0x404)](_0x7e047c['collections']);}),this[_0x46fd7a(0x3d3)][_0x46fd7a(0x4c1)](_0x46932a['id'],{'batch':_0xe1a8c4,'collectionConfig':_0x228b71},{'onlyLocal':!0x0});}[_0x416ec5(0x313)](){const _0x513113=_0x416ec5;this[_0x513113(0x293)](this[_0x513113(0x2a8)][_0x513113(0x264)]({'toJson':_0x5924ce=>JSON['stringify'](this[_0x513113(0x2d9)](_0x5924ce)),'parseJson':_0xfe23b1=>{const _0x2a664b=_0x513113;if(!_0xfe23b1)return{};try{return JSON[_0x2a664b(0x4ed)](_0xfe23b1);}catch{return{};}},'businesses':[_0x5872ef[_0x513113(0x311)][_0x513113(0x437)]],'pluginName':_0x509ab5,'onLoad':(_0x1b0bc3,_0x151355)=>{const _0x19cc3c=_0x513113;this[_0x19cc3c(0x29b)](_0x151355);},'onUnLoad':_0x7ce29f=>{const _0x6d676a=_0x513113;this[_0x6d676a(0x30e)](_0x7ce29f);}}));}},_0x26ed3e[_0x416ec5(0x3a7)]=_0xa6f12d([_0x39e18f(0x0,_0x5872ef['Inject'](_0x5872ef['Injector'])),_0x39e18f(0x1,_0x5872ef[_0x416ec5(0x458)]),_0x39e18f(0x2,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x39c)])),_0x39e18f(0x3,_0x5872ef[_0x416ec5(0x23b)]),_0x39e18f(0x4,_0x5872ef['ICommandService']),_0x39e18f(0x5,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x41f)]))],_0x26ed3e[_0x416ec5(0x3a7)]);const _0x66d937={0x0:{0x0:{'v':_0x416ec5(0x4ca),'s':_0x1b4da5}},0x2:{0x1:{'v':'','s':_0x1b4da5},0x2:{'v':'','s':_0x1b4da5},0x3:{'v':'column','s':_0x1b4da5},0x4:{'v':'','s':_0x1b4da5},0x5:{'v':'','s':_0x1b4da5}},0x3:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0x4:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0x5:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0x6:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0x7:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0x8:{0x0:{'v':_0x416ec5(0x451),'s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':_0x416ec5(0x4d9),'s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0x9:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0xa:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0xb:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0xc:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}},0xd:{0x0:{'v':'','s':_0x1b4da5},0x1:{'v':'','s':_0x5ea18e},0x2:{'v':'','s':_0x5ea18e},0x3:{'v':'','s':_0x5ea18e},0x4:{'v':'','s':_0x5ea18e},0x5:{'v':'','s':_0x5ea18e}}},_0x4b1dd9={'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':[]},_0x2490e9=(_0x3652d8,_0x27ded2)=>{const _0x26edec=_0x416ec5,_0x5af128=new _0x5872ef[(_0x26edec(0x360))](),_0xed85e1=new _0x5872ef[(_0x26edec(0x360))](_0x66d937),{row:_0x2f2e16,col:_0x439ec4}=_0x27ded2;_0xed85e1['forValue']((_0x2a952b,_0x2c54f6,_0x4d2e49)=>{const _0xfa6498=_0x26edec;let _0x2486da='';_0x4d2e49['v']===_0xfa6498(0x4ca)?_0x2486da=_0x3652d8['filter']:_0x4d2e49['v']===_0xfa6498(0x451)?_0x2486da=_0x3652d8[_0xfa6498(0x451)]:_0x4d2e49['v']==='column'?_0x2486da=_0x3652d8[_0xfa6498(0x38f)]:_0x4d2e49['v']===_0xfa6498(0x4d9)&&(_0x2486da=_0x3652d8['values']),_0x5af128[_0xfa6498(0x21b)](_0x2a952b+_0x2f2e16,_0x2c54f6+_0x439ec4,{..._0x4d2e49,'v':_0x2486da});});const _0x3306ed=_0x5872ef[_0x26edec(0x2b5)][_0x26edec(0x351)](_0x4b1dd9);return Object[_0x26edec(0x2a3)](_0x4b1dd9)[_0x26edec(0x24e)](_0x340ba6=>{const _0x296ed8=_0x26edec;_0x3306ed[_0x340ba6]=_0x4b1dd9[_0x340ba6][_0x296ed8(0x376)](_0x23390f=>({..._0x23390f,'startRow':_0x23390f['startRow']+_0x2f2e16,'endRow':_0x23390f[_0x296ed8(0x2b7)]+_0x2f2e16,'startColumn':_0x23390f[_0x296ed8(0x4fd)]+_0x439ec4,'endColumn':_0x23390f[_0x296ed8(0x291)]+_0x439ec4}));}),{'matrixCache':_0x5af128,'rangesCache':_0x3306ed};};function _0x57187b(_0x1d2d24,_0x51eeb9){const _0x236bc6=_0x416ec5;let _0x686d6f='';const _0x3663f5=this[_0x236bc6(0x41e)]();switch(_0x51eeb9){case _0x3a648e['PivotSubtotalTypeEnum'][_0x236bc6(0x354)]:_0x686d6f=_0x3663f5[_0x236bc6(0x3f8)]+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)][_0x236bc6(0x1fc)]:_0x686d6f=_0x3663f5[_0x236bc6(0x4f3)]+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)][_0x236bc6(0x229)]:_0x686d6f=_0x3663f5[_0x236bc6(0x285)]+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)][_0x236bc6(0x4dd)]:_0x686d6f=_0x3663f5[_0x236bc6(0x28d)]+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)][_0x236bc6(0x3d9)]:_0x686d6f=_0x3663f5[_0x236bc6(0x1f0)]+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)]['product']:_0x686d6f=_0x3663f5[_0x236bc6(0x450)]+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)][_0x236bc6(0x242)]:_0x686d6f=_0x3663f5['sheets-pivot.stdDevName']+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)]['stdDevp']:_0x686d6f=_0x3663f5[_0x236bc6(0x4bc)]+_0x1d2d24;break;case _0x3a648e['PivotSubtotalTypeEnum'][_0x236bc6(0x4cb)]:_0x686d6f=_0x3663f5['sheets-pivot.sumName']+_0x1d2d24;break;case _0x3a648e[_0x236bc6(0x305)][_0x236bc6(0x477)]:_0x686d6f=_0x3663f5[_0x236bc6(0x346)]+_0x1d2d24;break;case _0x3a648e['PivotSubtotalTypeEnum']['varp']:_0x686d6f=_0x3663f5[_0x236bc6(0x4c6)]+_0x1d2d24;break;default:_0x686d6f=_0x1d2d24;break;}return _0x686d6f;}function _0xb32541(_0x50e91b,_0x55f4a0,_0x174b3d,_0x14e46d,_0x508465){const _0x57e0df=_0x416ec5;var _0x14e944,_0x197a1f,_0x2f9e61,_0x48628b,_0x4e303f;const _0xd7065d=_0x5872ef[_0x57e0df(0x454)](_0x50e91b,_0x55f4a0),{rangesInfo:_0x52edcc,areaInfo:_0x5835af,headerMap:_0x5f0b3c}=_0x508465;if(!_0x52edcc||!_0x5835af||!_0x5f0b3c)return;const _0x250ba5=Object['keys'](_0x52edcc)[_0x57e0df(0x480)](_0x318641=>_0x52edcc[_0x318641][_0x57e0df(0x44e)](_0x4cc3df=>_0x5872ef['Rectangle'][_0x57e0df(0x355)](_0x4cc3df,_0xd7065d))),_0x5d471f=_0x5835af;let _0x2f7496,_0x158ca3,_0x16e14a;if(_0x250ba5===_0x57e0df(0x337))_0x2f7496=(_0x14e944=_0x5d471f==null?void 0x0:_0x5d471f[_0x57e0df(0x2cc)])==null?void 0x0:_0x14e944[_0x50e91b],_0x158ca3=(_0x197a1f=_0x5f0b3c==null?void 0x0:_0x5f0b3c['rowHeaderMap'])==null?void 0x0:_0x197a1f[_0x55f4a0],_0x16e14a=_0x158ca3==null?void 0x0:_0x158ca3[_0x57e0df(0x488)];else{if(_0x250ba5==='colRanges')_0x2f7496=(_0x2f9e61=_0x5d471f==null?void 0x0:_0x5d471f[_0x57e0df(0x408)])==null?void 0x0:_0x2f9e61[_0x55f4a0],_0x158ca3=(_0x48628b=_0x5f0b3c[_0x57e0df(0x202)])==null?void 0x0:_0x48628b[_0x50e91b+0x1+_0x55f4a0-_0x52edcc[_0x57e0df(0x29e)][0x0][_0x57e0df(0x4fd)]],_0x16e14a=_0x158ca3==null?void 0x0:_0x158ca3[_0x57e0df(0x488)];else{if(_0x250ba5===_0x57e0df(0x35b))_0x2f7496=(_0x4e303f=_0x5d471f==null?void 0x0:_0x5d471f['cornerInfo'])==null?void 0x0:_0x4e303f[_0x55f4a0],_0x16e14a=_0x2f7496==null?void 0x0:_0x2f7496['tableFieldId'];else{if(_0x250ba5===_0x57e0df(0x270)){const _0x133a64=_0x174b3d==null?void 0x0:_0x174b3d['fi'];_0x133a64!==void 0x0&&(_0x16e14a=_0x14e46d['getFilterFieldIdByIndex'](_0x133a64));}}}}return{'filterId':_0x16e14a,'info':_0x2f7496,'data':_0x174b3d,'headerInfo':_0x158ca3};}function _0x4bca69(_0x2e934a,_0x4dab33,_0x2bd0b3){const _0x30de4f=_0x416ec5,_0x290ca9=_0x2e934a[_0x30de4f(0x303)],_0x5d22b7=_0x290ca9[_0x30de4f(0x391)](),_0x2ccfdc=new Set();_0x2e934a[_0x30de4f(0x489)](_0xe7e3b0=>{const _0x264f38=_0x30de4f;_0x2ccfdc[_0x264f38(0x3c0)](_0xe7e3b0['dataFieldId']);});const _0x175090=_0x5d22b7[_0x30de4f(0x376)](_0x3284c1=>{const _0x43045e=_0x30de4f,_0x4a4db1=_0x290ca9[_0x43045e(0x260)](_0x3284c1);return{'checked':_0x2ccfdc[_0x43045e(0x262)](_0x3284c1),'dataFieldId':_0x4a4db1['id'],'id':_0x4a4db1['id'],'name':_0x290ca9[_0x43045e(0x266)](_0x4a4db1['id']),'type':_0x4a4db1['getFieldDataType'](),'pivotTableId':_0x4dab33};}),_0x57fd6b=[];_0x2e934a['iterateFieldByArea'](_0x3a648e['PivotTableFiledAreaEnum']['Row'],_0x1bc831=>{const _0x14e40f=_0x30de4f;_0x57fd6b['push']({'dataFieldId':_0x1bc831[_0x14e40f(0x469)],'tableFieldId':_0x1bc831[_0x14e40f(0x21c)](),'displayName':_0x1bc831[_0x14e40f(0x266)]()});});const _0xe0e37=[];_0x2e934a[_0x30de4f(0x4de)](_0x3a648e['PivotTableFiledAreaEnum'][_0x30de4f(0x471)],_0x28426d=>{const _0x4a49cc=_0x30de4f;_0xe0e37[_0x4a49cc(0x410)]({'dataFieldId':_0x28426d[_0x4a49cc(0x469)],'tableFieldId':_0x28426d[_0x4a49cc(0x21c)](),'displayName':_0x28426d['getDisplayName']()});});const _0x2362a2=[];if(_0x2e934a[_0x30de4f(0x4de)](_0x3a648e[_0x30de4f(0x388)][_0x30de4f(0x380)],_0x102294=>{const _0xbc1ba0=_0x30de4f;_0x2362a2[_0xbc1ba0(0x410)]({'dataFieldId':_0x102294[_0xbc1ba0(0x469)],'tableFieldId':_0x102294['getId'](),'displayName':_0x102294[_0xbc1ba0(0x266)](),'format':_0x102294[_0xbc1ba0(0x27c)](),'subTotalType':_0x102294['getSubtotal']()});}),_0x2362a2['length']>0x1){const _0x8a8680=_0x2e934a['getValueIndex']();(_0x2e934a[_0x30de4f(0x502)]()?_0xe0e37:_0x57fd6b)[_0x30de4f(0x244)](_0x8a8680,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':'ΣValue'});}const _0xaddc1b=[];_0x2e934a[_0x30de4f(0x4de)](_0x3a648e[_0x30de4f(0x388)][_0x30de4f(0x24a)],_0x4d2873=>{const _0x38b0f2=_0x30de4f;_0xaddc1b[_0x38b0f2(0x410)]({'dataFieldId':_0x4d2873[_0x38b0f2(0x469)],'tableFieldId':_0x4d2873['getId'](),'displayName':_0x4d2873[_0x38b0f2(0x266)]()});});const _0x33383a=_0x2bd0b3[_0x30de4f(0x26c)];return{'sourceList':_0x175090,'sourceRange':_0x33383a,'rowFields':_0x57fd6b,'columnFields':_0xe0e37,'valueFields':_0x2362a2,'filterFields':_0xaddc1b,'positionInfo':_0x2bd0b3[_0x30de4f(0x455)]};}function _0x199f2a(_0x38de9b,_0x2904a3,_0x3b8f1e='',_0x45b467={}){const _0xa5a82f=_0x416ec5,_0x53ea3c=_0x38de9b[_0xa5a82f(0x31f)](_0x5872ef[_0xa5a82f(0x35d)]);for(const _0x11d630 in _0x2904a3)if(Object[_0xa5a82f(0x4d1)][_0xa5a82f(0x231)][_0xa5a82f(0x414)](_0x2904a3,_0x11d630)){const _0x4d1601=_0x3b8f1e?_0x3b8f1e+'.'+_0x11d630:_0x11d630;typeof _0x2904a3[_0x11d630]==_0xa5a82f(0x2c7)&&_0x2904a3[_0x11d630]!==null&&!Array[_0xa5a82f(0x36c)](_0x2904a3[_0x11d630])?_0x199f2a(_0x38de9b,_0x2904a3[_0x11d630],_0x4d1601,_0x45b467):_0x45b467[_0x4d1601]=_0x53ea3c['t'](_0x4d1601);}return _0x45b467;}const _0x161ace=_0x46e7eb=>{const _0x4b7ef4=_0x416ec5;if(!_0x46e7eb)return[];const {rowRanges:_0x4a7f86,colRanges:_0x3fa4e5,cornerRanges:_0x557707,dataRanges:_0x563a9a,pageRanges:_0x27438c}=_0x46e7eb,_0x5b751d=[..._0x3fa4e5,..._0x4a7f86,..._0x563a9a,..._0x557707]['filter'](_0x21653f=>_0x21653f[_0x4b7ef4(0x274)]>=0x0&&_0x21653f[_0x4b7ef4(0x4fd)]>=0x0&&_0x21653f[_0x4b7ef4(0x2b7)]>=0x0&&_0x21653f[_0x4b7ef4(0x291)]>=0x0);let _0x2f7930=Number[_0x4b7ef4(0x4eb)],_0x5b64de=Number[_0x4b7ef4(0x259)],_0x2fcae6=Number[_0x4b7ef4(0x4eb)],_0x308e56=Number[_0x4b7ef4(0x259)];for(let _0x4c0fa5=0x0;_0x4c0fa5<_0x5b751d[_0x4b7ef4(0x2a9)];_0x4c0fa5++)_0x2f7930=Math[_0x4b7ef4(0x3d9)](_0x2f7930,_0x5b751d[_0x4c0fa5]['startRow']),_0x5b64de=Math['max'](_0x5b64de,_0x5b751d[_0x4c0fa5]['endRow']),_0x2fcae6=Math['min'](_0x2fcae6,_0x5b751d[_0x4c0fa5][_0x4b7ef4(0x4fd)]),_0x308e56=Math[_0x4b7ef4(0x4dd)](_0x308e56,_0x5b751d[_0x4c0fa5]['endColumn']);return[..._0x27438c,{'startRow':_0x2f7930,'endRow':_0x5b64de,'startColumn':_0x2fcae6,'endColumn':_0x308e56}];};function _0x18d43f(_0x50d226,_0x1c95e7){const _0x219790=_0x416ec5,_0x156f18=_0x1c95e7[_0x219790(0x284)][_0x219790(0x2ea)],{pivotTableId:_0x18f956,unitId:_0x45cae1,subUnitId:_0x48a7dc}=_0x1c95e7;if(!_0x156f18)return;const _0x265792=_0x50d226[_0x219790(0x31f)](_0x26ed3e[_0x219790(0x3a7)]),_0x4710ee=_0x265792[_0x219790(0x239)](_0x18f956),_0x2b9b84=_0x265792[_0x219790(0x474)](_0x45cae1,_0x48a7dc,_0x18f956);if(!_0x4710ee||!_0x2b9b84)return;const _0x11cf8b=_0x4710ee[_0x219790(0x3b0)](_0x156f18[_0x219790(0x22a)]);if(!(_0x11cf8b!=null&&_0x11cf8b['length']))return;const _0x2e3f04=_0x2b9b84[_0x219790(0x26c)],{unitId:_0x4df900,subUnitId:_0xa70460,range:_0x513917}=_0x2e3f04;let _0x36abfb=0x0;const _0x252f21=_0x4710ee['dataFieldsCollection'][_0x219790(0x391)]()[_0x219790(0x465)]((_0x952135,_0x441b85)=>{const _0x25c39b=_0x219790;var _0x4a26bc;const _0x2030a8=(_0x4a26bc=_0x4710ee[_0x25c39b(0x424)](_0x441b85))==null?void 0x0:_0x4a26bc[_0x25c39b(0x4e7)]();return _0x2030a8&&(_0x952135[String(_0x36abfb)]=_0x2030a8),_0x36abfb++,_0x952135;},{});return{'indexes':_0x11cf8b,'range':_0x513917,'sourceUnitId':_0x4df900,'sourceSubUnitId':_0xa70460,'formatMap':_0x252f21};}function _0x403e9c(_0x1726ff,_0x30110c){const _0x3384b5=_0x416ec5;if(!_0x1726ff||!_0x30110c)return!0x0;const _0x519f2a=_0x3f0b91['unshiftString'](_0x71342f,_0x5a0e76),_0x5ad6ee=new Function(_0x3384b5(0x22d)+_0x519f2a)()(_0x1726ff,_0x30110c)[_0x3384b5(0x290)],_0x4190bf=_0x3f0b91['isFeatureAuthorizedWithinTime'](_0x5ad6ee,'sf',_0x44a9c8);return!((_0x5ad6ee==null?void 0x0:_0x5ad6ee['rt'])===_0x3f0b91[_0x3384b5(0x4e0)][_0x3384b5(0x4ab)]&&!_0x4190bf);}function _0x3f5617(_0x28316d,_0x228145,_0xf07b2d){const _0x42f253=_0x416ec5,_0x1ce8f0={'count':_0x28316d,'timeValid':!0x1};if(!_0x228145||!_0xf07b2d)return _0x1ce8f0;const _0x56db90=_0x3f0b91['unshiftString'](_0x71342f,_0x5a0e76),_0x2e6ba2=new Function(_0x42f253(0x22d)+_0x56db90)()(_0x228145,_0xf07b2d);if(_0x2e6ba2!=null&&_0x2e6ba2[_0x42f253(0x330)]){const _0x257734=_0x2e6ba2['message'],_0x3c1f2e=_0x3f0b91[_0x42f253(0x44a)](_0x257734,'sf',_0x44a9c8);return{'count':_0x3f0b91[_0x42f253(0x227)](_0x257734,_0x3c1f2e,_0x42f253(0x473),_0x28316d,_0x28316d,0x0),'timeValid':_0x3c1f2e};}return _0x1ce8f0;}function _0x211d36(_0x1638de,_0x24a79b,_0x3668a1,_0x181545){const _0x151a82=_0x416ec5,_0x585180={'subUnitId':_0x3668a1,'unitId':_0x24a79b,'cellValue':_0x16809e[_0x151a82(0x357)](_0x181545)},_0x16d074=_0x16809e[_0x151a82(0x426)](_0x1638de,_0x585180);let _0x17d085=!0x1;return new _0x5872ef['ObjectMatrix'](_0x16d074[_0x151a82(0x4c5)])['forValue']((_0x2f2101,_0x480c0b,_0x189d6a)=>{if(!_0x17d085&&_0x189d6a&&(_0x189d6a['custom']||_0x189d6a['f']||_0x189d6a['p']||_0x189d6a['s']||_0x189d6a['si']||_0x189d6a['t']||_0x189d6a['v']))return _0x17d085=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x16809e[_0x151a82(0x27e)]['id'],'params':_0x16d074},'setRangeValueRedoMutation':{'id':_0x16809e[_0x151a82(0x27e)]['id'],'params':_0x585180},'shouldClear':_0x17d085};}function _0x4124e6(_0x137255){const {row:_0x115d6e,col:_0xf44820}=_0x137255,_0x20a24d={'startRow':_0x115d6e,'endRow':_0x115d6e,'startColumn':_0xf44820,'endColumn':_0xf44820},_0x329c78={'startRow':_0x115d6e+0x2,'endRow':_0x115d6e+0xe,'startColumn':_0xf44820,'endColumn':_0xf44820+0x6};return[_0x20a24d,_0x329c78];}function _0x24e330(_0x38cbf2,_0x462025,_0x2817d6){const _0x15bb68=_0x416ec5,{cornerView:_0x24c5fd,rowView:_0x628428,colView:_0x3d2dc7,pageView:_0x3ad98a}=_0x38cbf2,{row:_0x234a95,col:_0xeb34fe}=_0x462025;if(_0x2817d6)return{'rowCount':_0x18c7b9+_0x234a95,'colCount':_0x4c9794+_0xeb34fe};const _0x5c80c6=_0x3ad98a['lastRow']>-0x1?_0x3ad98a[_0x15bb68(0x48f)]+0x1:0x0,_0x19ffb1=_0x3ad98a[_0x15bb68(0x3cf)]>-0x1?_0x3ad98a[_0x15bb68(0x3cf)]:0x0,_0xc85758=_0x234a95+_0x5c80c6+(_0x5c80c6?0x1:0x0)+_0x24c5fd[_0x15bb68(0x318)]+_0x628428[_0x15bb68(0x318)],_0x21f9cc=_0xeb34fe+_0x19ffb1,_0x1917ec=_0xeb34fe+_0x24c5fd[_0x15bb68(0x46c)]+_0x3d2dc7['colCount'],_0x149d42=Math[_0x15bb68(0x4dd)](_0x21f9cc,_0x1917ec);return{'rowCount':_0xc85758,'colCount':_0x149d42};}function _0x320216(_0x5c6825,_0x135673,_0x42c9a2,_0x482446){const _0x1332e1=_0x416ec5,{row:_0x254aa9,col:_0x1121d1,unitId:_0xf00b6f,subUnitId:_0x3be707}=_0x42c9a2,_0x4086cd=_0x24e330(_0x135673,{'row':_0x254aa9,'col':_0x1121d1},_0x482446),_0x4976e4=_0x5c6825[_0x1332e1(0x31f)](_0x5872ef[_0x1332e1(0x458)]),_0x205977=_0x16809e[_0x1332e1(0x39a)](_0x4976e4,{'unitId':_0xf00b6f,'subUnitId':_0x3be707}),_0x1eae1c=[],_0x5cbdbb=[];if(!_0x205977)return{'undos':_0x5cbdbb,'redos':_0x1eae1c};const {worksheet:_0x574bca}=_0x205977,_0x10790d=_0x574bca[_0x1332e1(0x3eb)](),_0x414fbe=_0x574bca[_0x1332e1(0x385)]();return _0x10790d<_0x4086cd[_0x1332e1(0x318)]&&(_0x1eae1c[_0x1332e1(0x410)]({'id':_0x16809e[_0x1332e1(0x37a)]['id'],'params':{'unitId':_0xf00b6f,'subUnitId':_0x3be707,'range':{'startRow':_0x10790d,'endRow':_0x4086cd[_0x1332e1(0x318)]-0x1,'startColumn':0x0,'endColumn':_0x414fbe-0x1}}}),_0x5cbdbb[_0x1332e1(0x410)]({'id':_0x16809e[_0x1332e1(0x3b8)]['id'],'params':{'unitId':_0xf00b6f,'subUnitId':_0x3be707,'range':{'startRow':_0x10790d,'endRow':_0x4086cd[_0x1332e1(0x318)]-0x1,'startColumn':0x0,'endColumn':_0x414fbe-0x1}}})),_0x414fbe<_0x4086cd[_0x1332e1(0x46c)]&&(_0x1eae1c['push']({'id':_0x16809e[_0x1332e1(0x29c)]['id'],'params':{'unitId':_0xf00b6f,'subUnitId':_0x3be707,'range':{'startRow':0x0,'endRow':_0x10790d-0x1,'startColumn':_0x414fbe,'endColumn':_0x4086cd[_0x1332e1(0x46c)]-0x1}}}),_0x5cbdbb['push']({'id':_0x16809e['RemoveColMutation']['id'],'params':{'unitId':_0xf00b6f,'subUnitId':_0x3be707,'range':{'startRow':0x0,'endRow':_0x10790d-0x1,'startColumn':_0x414fbe,'endColumn':_0x4086cd['colCount']-0x1}}})),{'undos':_0x5cbdbb,'redos':_0x1eae1c};}function _0x248647(_0x4b2e47){const _0xfe996b=_0x416ec5;let _0x28e53b=0x0;for(let _0x28f4d0=0x0;_0x28f4d0<_0x4b2e47[_0xfe996b(0x2a9)];_0x28f4d0++){const _0x15059e=_0x4b2e47[_0xfe996b(0x353)](_0x28f4d0);_0x15059e>=0x4e00&&_0x15059e<=0x9fff||_0x15059e>=0x3000&&_0x15059e<=0x303f||_0x15059e>=0xff00&&_0x15059e<=0xffef?_0x28e53b+=0x2:_0x28e53b+=0x1;}return _0x28e53b;}function _0x31835d(_0x2e11ec,_0x1471cc,_0x1cf0b6,_0x1585ed){const _0x43834e=_0x416ec5;var _0x205f6a,_0x2fc0ae,_0x536801,_0x3eda7b;const {rowCount:_0x13c3e0,colCount:_0x271c8e,headerMap:_0x4e4869}=_0x2e11ec,_0x580d32=0x64,_0x107d29=Math[_0x43834e(0x3d9)](_0x13c3e0,_0x580d32),_0x3bff38=Math[_0x43834e(0x3d9)](_0x271c8e,_0x580d32);let _0x5f356c='',_0x3dea5c=0x0;for(let _0x34d9c0=0x0;_0x34d9c0<_0x107d29;_0x34d9c0++)for(let _0x51a6a3=0x0;_0x51a6a3<_0x3bff38;_0x51a6a3++){const _0x3ac564={...(_0x2fc0ae=(_0x205f6a=_0x2e11ec[_0x43834e(0x30a)])==null?void 0x0:_0x205f6a[_0x34d9c0])==null?void 0x0:_0x2fc0ae[_0x51a6a3]},_0x3568bb=(_0x536801=_0x4e4869[_0x34d9c0])==null?void 0x0:_0x536801[_0x43834e(0x488)],_0x4bde30=_0x1585ed[_0x3568bb];let _0xc612d6=_0x2e11ec[_0x43834e(0x2e1)](_0x34d9c0,_0x51a6a3);if(_0x3ac564){const _0x260a64=_0x1cf0b6?_0x51a6a3===0x0&&((_0x3eda7b=_0x2e11ec['getHeaderMapItem'](_0x51a6a3+0x1))==null?void 0x0:_0x3eda7b[_0x43834e(0x3fe)]):!0x1;_0xc612d6=_0x2fd4b9(_0x3ac564,_0x260a64,_0x4bde30,_0x1471cc);}if(_0xc612d6!==void 0x0){const _0x89e4de=_0x248647(String(_0xc612d6));_0x3dea5c<_0x89e4de&&(_0x5f356c=String(_0xc612d6),_0x3dea5c=_0x89e4de);}}return _0x5f356c;}function _0x595ca2(_0x22269e){const _0x568584=_0x416ec5,{rowCount:_0x20c4da,colCount:_0x27a314}=_0x22269e;let _0x1c2e94='',_0x47113c=0x0;for(let _0x171b41=_0x20c4da-0x1;_0x171b41>0x0&&_0x171b41>_0x20c4da-0x3;_0x171b41--)for(let _0x1abee9=0x0;_0x1abee9<_0x27a314;_0x1abee9++){const _0x20b54f=_0x22269e[_0x568584(0x2e1)](_0x171b41,_0x1abee9);if(_0x20b54f!==void 0x0){const _0x1d3a03=String(_0x20b54f)['length'];_0x47113c<_0x1d3a03&&(_0x1c2e94=String(_0x20b54f),_0x47113c=_0x1d3a03);}}return _0x1c2e94;}function _0x27bfa8(_0x45f0a8){const _0x5d0d89=_0x416ec5,{rowCount:_0x5c167a,colCount:_0x3fa0e4}=_0x45f0a8;let _0xa87de4='',_0x26d72b=0x0;for(let _0x35a126=0x0;_0x35a126<_0x5c167a;_0x35a126++)for(let _0x586e03=0x0;_0x586e03<_0x3fa0e4;_0x586e03++){const _0x3a100d=_0x45f0a8[_0x5d0d89(0x2e1)](_0x35a126,_0x586e03);if(_0x3a100d!==void 0x0){const _0x2ebe67=String(_0x3a100d)[_0x5d0d89(0x2a9)];_0x26d72b<_0x2ebe67&&(_0xa87de4=String(_0x3a100d),_0x26d72b=_0x2ebe67);}}return _0xa87de4;}function _0x413490(_0x53e222,_0x480e5d){const _0x132c74=_0x416ec5,{rowFields:_0x34459f,columnFields:_0xc29d0,valueFields:_0x5b4249,filterFields:_0x1dc61a,dimension:_0x43b9de,measure:_0x24a6bf}=_0x480e5d;for(const _0x3ce50c of _0x34459f){const _0x594192=_0x43b9de[_0x3ce50c];_0x594192&&_0x53e222[_0x132c74(0x424)](_0x594192[_0x132c74(0x469)])&&(_0x53e222['addFieldWithSourceId'](_0x594192[_0x132c74(0x469)],_0x3a648e['PivotTableFiledAreaEnum'][_0x132c74(0x298)],void 0x0,_0x3ce50c),_0x594192['displayName']&&_0x53e222['renameField'](_0x594192['id'],_0x594192['displayName']),_0x594192[_0x132c74(0x2ee)]&&_0x53e222['setSortInfo'](_0x594192['id'],_0x594192['sortInfo']),_0x594192[_0x132c74(0x220)]&&_0x53e222['setLabelFilterInfo'](_0x594192['id'],_0x594192['filterInfo']));}for(const _0x298dbe of _0xc29d0){const _0x56b2b4=_0x43b9de[_0x298dbe];_0x56b2b4&&_0x53e222[_0x132c74(0x424)](_0x56b2b4['dataFieldId'])&&(_0x53e222[_0x132c74(0x4e4)](_0x56b2b4['dataFieldId'],_0x3a648e[_0x132c74(0x388)][_0x132c74(0x471)],void 0x0,_0x298dbe),_0x56b2b4[_0x132c74(0x2ee)]&&_0x53e222[_0x132c74(0x3fb)](_0x56b2b4['id'],_0x56b2b4[_0x132c74(0x2ee)]),_0x56b2b4[_0x132c74(0x220)]&&_0x53e222[_0x132c74(0x4b0)](_0x56b2b4['id'],_0x56b2b4[_0x132c74(0x220)]),_0x56b2b4[_0x132c74(0x250)]&&_0x53e222[_0x132c74(0x35e)](_0x56b2b4['id'],_0x56b2b4[_0x132c74(0x250)]));}for(const _0xf7b014 of _0x1dc61a){const _0x326f97=_0x43b9de[_0xf7b014];_0x326f97&&_0x53e222['getDataFieldByDataFieldId'](_0x326f97[_0x132c74(0x469)])&&(_0x53e222[_0x132c74(0x4e4)](_0x326f97[_0x132c74(0x469)],_0x3a648e['PivotTableFiledAreaEnum']['Filter'],void 0x0,_0xf7b014),_0x326f97[_0x132c74(0x2ee)]&&_0x53e222[_0x132c74(0x3fb)](_0x326f97['id'],_0x326f97[_0x132c74(0x2ee)]),_0x326f97[_0x132c74(0x220)]&&_0x53e222[_0x132c74(0x4b0)](_0x326f97['id'],_0x326f97[_0x132c74(0x220)]),_0x326f97[_0x132c74(0x250)]&&_0x53e222[_0x132c74(0x35e)](_0x326f97['id'],_0x326f97['displayName']));}for(const _0x890323 of _0x5b4249){const _0x46f3cd=_0x24a6bf[_0x890323];_0x46f3cd&&_0x53e222[_0x132c74(0x424)](_0x46f3cd[_0x132c74(0x469)])&&(_0x53e222['addFieldWithSourceId'](_0x46f3cd['dataFieldId'],_0x3a648e[_0x132c74(0x388)][_0x132c74(0x380)],void 0x0,_0x890323),_0x46f3cd[_0x132c74(0x216)]!==void 0x0&&_0x53e222['setSubtotalType'](_0x890323,_0x46f3cd[_0x132c74(0x216)]),_0x46f3cd['format']&&_0x53e222[_0x132c74(0x240)](_0x890323,_0x46f3cd['format']),_0x46f3cd[_0x132c74(0x250)]&&_0x53e222[_0x132c74(0x35e)](_0x46f3cd['id'],_0x46f3cd[_0x132c74(0x250)]));}const _0x9786ea=_0x480e5d[_0x132c74(0x3b1)];for(const {fieldId:_0xa1c598,filterInfo:_0x431ea1}of _0x9786ea)_0x53e222[_0x132c74(0x2bc)](_0xa1c598,_0x431ea1);}function _0x10b07a(_0x55cfcb,_0x176467){const _0x2576dd=_0x416ec5,_0x406de5=[];_0x176467===_0x3a648e[_0x2576dd(0x388)][_0x2576dd(0x298)]&&_0x55cfcb['iterateFieldByArea'](_0x3a648e['PivotTableFiledAreaEnum'][_0x2576dd(0x298)],_0x3940d4=>{const _0x4fc63e=_0x2576dd;_0x406de5['push'](_0x3940d4[_0x4fc63e(0x21c)]());}),_0x176467===_0x3a648e[_0x2576dd(0x388)][_0x2576dd(0x471)]&&_0x55cfcb[_0x2576dd(0x4de)](_0x3a648e[_0x2576dd(0x388)]['Column'],_0x6db624=>{const _0x12cba6=_0x2576dd;_0x406de5[_0x12cba6(0x410)](_0x6db624[_0x12cba6(0x21c)]());}),_0x176467===_0x3a648e[_0x2576dd(0x388)][_0x2576dd(0x24a)]&&_0x55cfcb[_0x2576dd(0x4de)](_0x3a648e[_0x2576dd(0x388)]['Filter'],_0x34c74d=>{const _0x4b45f4=_0x2576dd;_0x406de5['push'](_0x34c74d[_0x4b45f4(0x21c)]());}),_0x176467===_0x3a648e[_0x2576dd(0x388)]['Value']&&_0x55cfcb[_0x2576dd(0x4de)](_0x3a648e[_0x2576dd(0x388)]['Value'],_0x22a51e=>{const _0x42bbd7=_0x2576dd;_0x406de5[_0x42bbd7(0x410)](_0x22a51e[_0x42bbd7(0x21c)]());}),_0x176467===void 0x0&&_0x55cfcb[_0x2576dd(0x489)](_0x29cf90=>{const _0x594a84=_0x2576dd;_0x406de5[_0x594a84(0x410)](_0x29cf90[_0x594a84(0x21c)]());});const _0x25b9f5=_0x406de5['length'];for(let _0x29378b=_0x25b9f5-0x1;_0x29378b>=0x0;_0x29378b--)_0x55cfcb[_0x2576dd(0x203)](_0x406de5[_0x29378b]);const _0x57dc70=_0x55cfcb[_0x2576dd(0x46e)]();for(const _0x4d22f3 in _0x57dc70)_0x55cfcb['removeValueFilterInfo'](_0x4d22f3);}function _0x59873c(_0x50948f,_0x2536ff){const _0x343127=_0x416ec5,_0x59d611=new Date(_0x3a648e[_0x343127(0x3d1)](_0x2536ff)),_0x423c72=new Date(_0x3a648e[_0x343127(0x3d1)](_0x50948f)),_0x69aa9a=_0x59d611['getFullYear'](),_0x13dd5c=_0x423c72[_0x343127(0x212)](),_0x1ba10d=_0x59d611[_0x343127(0x209)](),_0x50bd33=_0x423c72['getMonth'](),_0x28d022=_0x59d611[_0x343127(0x4e8)](),_0x16019d=_0x423c72[_0x343127(0x4e8)](),_0x2984ca=_0x69aa9a===_0x13dd5c,_0x5acca0=_0x2984ca&&_0x1ba10d===_0x50bd33;return _0x2984ca&&_0x5acca0&&!(_0x5acca0&&_0x28d022===_0x16019d)?_0x3a648e['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x2984ca&&!_0x5acca0?_0x3a648e[_0x343127(0x243)][_0x343127(0x2b2)]:_0x3a648e[_0x343127(0x243)][_0x343127(0x1f7)];}function _0x5f44b1(_0x54fd02,_0x19dca6){const _0x4758ae=_0x416ec5,_0x5bcec8=_0x54fd02[_0x4758ae(0x31f)](_0x26ed3e[_0x4758ae(0x3a7)])['getTextInfo']();let _0x41bc5e='';switch(_0x19dca6){case _0x3a648e['PivotDateGroupFieldDateTypeEnum'][_0x4758ae(0x211)]:_0x41bc5e=_0x5bcec8[_0x4758ae(0x304)];break;case _0x3a648e[_0x4758ae(0x243)][_0x4758ae(0x2b2)]:_0x41bc5e=_0x5bcec8['sheets-pivot.dateGroup.yearMonth'];break;case _0x3a648e[_0x4758ae(0x243)][_0x4758ae(0x1f7)]:_0x41bc5e=_0x5bcec8['sheets-pivot.dateGroup.year'];break;case _0x3a648e[_0x4758ae(0x243)][_0x4758ae(0x247)]:_0x41bc5e=_0x5bcec8[_0x4758ae(0x288)];break;case _0x3a648e[_0x4758ae(0x243)][_0x4758ae(0x2b3)]:_0x41bc5e=_0x5bcec8['sheets-pivot.dateGroup.quarter'];break;case _0x3a648e[_0x4758ae(0x243)][_0x4758ae(0x22c)]:_0x41bc5e=_0x5bcec8[_0x4758ae(0x2c5)];break;case _0x3a648e['PivotDateGroupFieldDateTypeEnum'][_0x4758ae(0x421)]:_0x41bc5e=_0x5bcec8[_0x4758ae(0x38c)];break;case _0x3a648e[_0x4758ae(0x243)][_0x4758ae(0x49e)]:_0x41bc5e=_0x5bcec8[_0x4758ae(0x37d)];break;case _0x3a648e[_0x4758ae(0x243)][_0x4758ae(0x393)]:_0x41bc5e=_0x5bcec8['sheets-pivot.dateGroup.minute'];break;case _0x3a648e[_0x4758ae(0x243)]['MonthDate']:_0x41bc5e=_0x5bcec8[_0x4758ae(0x25f)];break;case _0x3a648e['PivotDateGroupFieldDateTypeEnum'][_0x4758ae(0x323)]:_0x41bc5e=_0x5bcec8['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x41bc5e='';break;}return _0x41bc5e;}const _0x440a47=_0x416ec5(0x30f),_0xce527d={};var _0x573929=Object[_0x416ec5(0x422)],_0x329944=(_0x5970c8,_0x4ee2a3,_0x3ad7fd,_0x535487)=>{const _0x39f7af=_0x416ec5;for(var _0x336b89=_0x535487>0x1?void 0x0:_0x535487?_0x573929(_0x4ee2a3,_0x3ad7fd):_0x4ee2a3,_0x1437b7=_0x5970c8[_0x39f7af(0x2a9)]-0x1,_0x534bff;_0x1437b7>=0x0;_0x1437b7--)(_0x534bff=_0x5970c8[_0x1437b7])&&(_0x336b89=_0x534bff(_0x336b89)||_0x336b89);return _0x336b89;},_0x39b003=(_0x4f7ab3,_0x321c63)=>(_0x291e9c,_0x3780b7)=>_0x321c63(_0x291e9c,_0x3780b7,_0x4f7ab3);_0x26ed3e[_0x416ec5(0x4c7)]=class extends _0x5872ef[_0x416ec5(0x321)]{constructor(_0x526d40,_0x42baec,_0x148ac3,_0x55cea1,_0x1719ff){const _0x51306d=_0x416ec5;super(),_0x48e53f(this,_0x51306d(0x4bd),new Map()),_0x48e53f(this,'_collectionConfigModel',new Map()),_0x48e53f(this,_0x51306d(0x2eb),new Map()),_0x48e53f(this,'_pivotTableMatrixInfo',new Map()),_0x48e53f(this,_0x51306d(0x367),new _0x482d9c['Subject']()),_0x48e53f(this,'_pivotInitCompleted$',new _0x482d9c[(_0x51306d(0x45f))]()),_0x48e53f(this,_0x51306d(0x2c3),this[_0x51306d(0x4bf)]['asObservable']()),_0x48e53f(this,_0x51306d(0x40f),new _0x482d9c['Subject']()),_0x48e53f(this,_0x51306d(0x476),this[_0x51306d(0x40f)][_0x51306d(0x3cd)]()),_0x48e53f(this,_0x51306d(0x32d),{}),_0x48e53f(this,_0x51306d(0x40a),this[_0x51306d(0x367)][_0x51306d(0x3cd)]()),(this['_injector']=_0x526d40,this[_0x51306d(0x3d3)]=_0x42baec,this[_0x51306d(0x370)]=_0x148ac3,this[_0x51306d(0x2a8)]=_0x55cea1,this['_configService']=_0x1719ff,this[_0x51306d(0x417)](),this[_0x51306d(0x45e)]());const _0x227ca0=this[_0x51306d(0x1ef)][_0x51306d(0x497)](_0x440a47);(_0x227ca0==null?void 0x0:_0x227ca0[_0x51306d(0x2bb)])===!0x0&&this['_initSnapshot']();}[_0x416ec5(0x45e)](){const _0x530cee=_0x416ec5;this[_0x530cee(0x293)](this[_0x530cee(0x370)][_0x530cee(0x2fa)](_0x5872ef['UniverInstanceType'][_0x530cee(0x437)])[_0x530cee(0x26a)](_0x19cde8=>{const _0x11585c=_0x530cee;this[_0x11585c(0x30e)](_0x19cde8[_0x11585c(0x272)]());}));}['setPivotInitCompleted'](){const _0x580013=_0x416ec5;this[_0x580013(0x4bf)]['next'](!0x0);}[_0x416ec5(0x417)](){const _0x7461c9=_0x416ec5,_0x9c1a68=_0x199f2a(this[_0x7461c9(0x2c8)],_0x264f9e,'',{});this[_0x7461c9(0x32d)]=_0x9c1a68,this[_0x7461c9(0x3d3)][_0x7461c9(0x4c1)](_0x405b4d['id'],{'textInfo':_0x9c1a68},{'onlyLocal':!0x0});}[_0x416ec5(0x41e)](){const _0x4dee63=_0x416ec5;return this[_0x4dee63(0x32d)];}[_0x416ec5(0x40c)](_0x1ebe28,_0x5cf794,_0x12ac40,_0x500c19,_0x21da3b){const _0xda7ab4=_0x416ec5;this[_0xda7ab4(0x3d8)](_0x1ebe28,_0x5cf794,_0x12ac40,_0x500c19),this[_0xda7ab4(0x282)](_0x1ebe28,_0x5cf794,_0x12ac40,_0x21da3b);}[_0x416ec5(0x474)](_0x5be7fc,_0x2aaf3d,_0x1320be){const _0x58675b=_0x416ec5;var _0x311018;const _0x5d2fe5=(_0x311018=this[_0x58675b(0x4bd)][_0x58675b(0x31f)](_0x5be7fc))==null?void 0x0:_0x311018[_0x58675b(0x31f)](_0x2aaf3d);if(_0x5d2fe5)return _0x5d2fe5[_0x58675b(0x31f)](_0x1320be);}[_0x416ec5(0x325)](_0x319ca5,_0x567d2e){const _0x21c1e7=_0x416ec5,_0x2c74f2=this['_model']['get'](_0x319ca5);if(_0x2c74f2){for(const [_0x1092b7,_0x62afe5]of _0x2c74f2[_0x21c1e7(0x444)]())for(const [_0x36254e,_0x2096d5]of _0x62afe5[_0x21c1e7(0x444)]())if(_0x36254e===_0x567d2e)return _0x2096d5[_0x21c1e7(0x455)];}}[_0x416ec5(0x446)](_0x1d2dc0,_0x9aa11e,_0x2d0afa){const _0x3c2a17=_0x416ec5,_0x4d5749=this[_0x3c2a17(0x474)](_0x1d2dc0,_0x9aa11e,_0x2d0afa);return _0x4d5749==null?void 0x0:_0x4d5749['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x4bf195,_0x2c7311){const _0x44326b=_0x416ec5;var _0x349d1c;return(_0x349d1c=this[_0x44326b(0x4bd)][_0x44326b(0x31f)](_0x4bf195))==null?void 0x0:_0x349d1c[_0x44326b(0x31f)](_0x2c7311);}[_0x416ec5(0x382)](_0x540e5c,_0x21dd5b,_0xebab41,_0x9e71b2){const _0x4aeeda=_0x416ec5,_0x12a364=this[_0x4aeeda(0x4e5)](_0x540e5c,_0x21dd5b);_0x9e71b2?_0x12a364[_0x4aeeda(0x3dc)](_0xebab41,_0x9e71b2):_0x12a364[_0x4aeeda(0x3e3)](_0xebab41),this[_0x4aeeda(0x40f)]['next']({'unitId':_0x540e5c,'subUnitId':_0x21dd5b,'pivotTableId':_0xebab41,'pivotTableConfig':_0x9e71b2});}[_0x416ec5(0x3f3)](_0xbab89d,_0x508d03){const _0x4d7189=_0x416ec5;var _0x4e9185;return(_0x4e9185=this[_0x4d7189(0x296)][_0x4d7189(0x31f)](_0xbab89d))==null?void 0x0:_0x4e9185[_0x4d7189(0x415)][_0x508d03];}[_0x416ec5(0x4c2)](_0x3d3e89,_0x438617){const _0x53d362=_0x416ec5;this['_collectionConfigModel'][_0x53d362(0x3dc)](_0x3d3e89,_0x438617),this[_0x53d362(0x367)]['next'](Math[_0x53d362(0x2ef)]());}[_0x416ec5(0x4e5)](_0x5e71d3,_0x221989){const _0x47f21b=_0x416ec5;let _0xf73def=this['_model'][_0x47f21b(0x31f)](_0x5e71d3);_0xf73def||(_0xf73def=new Map(),this[_0x47f21b(0x4bd)]['set'](_0x5e71d3,_0xf73def));let _0x564b56=_0xf73def['get'](_0x221989);return _0x564b56||(_0x564b56=new Map(),_0xf73def['set'](_0x221989,_0x564b56)),_0x564b56;}[_0x416ec5(0x368)](_0x1071d7,_0x3267d0){const _0x32e978=_0x416ec5;let _0x3b95d=this[_0x32e978(0x2eb)]['get'](_0x1071d7);_0x3b95d||(_0x3b95d=new Map(),this[_0x32e978(0x2eb)][_0x32e978(0x3dc)](_0x1071d7,_0x3b95d));let _0x3e633c=_0x3b95d[_0x32e978(0x31f)](_0x3267d0);return _0x3e633c||(_0x3e633c=new Map(),_0x3b95d[_0x32e978(0x3dc)](_0x3267d0,_0x3e633c)),_0x3e633c;}[_0x416ec5(0x2f8)](_0x4e129a,_0xace4b7){const _0x8c681d=_0x416ec5;let _0x3b8e68=this[_0x8c681d(0x1f9)][_0x8c681d(0x31f)](_0x4e129a);_0x3b8e68||(_0x3b8e68=new Map(),this['_pivotTableMatrixInfo'][_0x8c681d(0x3dc)](_0x4e129a,_0x3b8e68));let _0x7ac81d=_0x3b8e68[_0x8c681d(0x31f)](_0xace4b7);return _0x7ac81d||(_0x7ac81d=new Map(),_0x3b8e68[_0x8c681d(0x3dc)](_0xace4b7,_0x7ac81d)),_0x7ac81d;}[_0x416ec5(0x282)](_0x6083b,_0x3cd197,_0x1018be,_0x266f42){const _0x3094a5=_0x416ec5;var _0x335468;const _0x11dd3a=this[_0x3094a5(0x368)](_0x6083b,_0x3cd197),_0x2adf0a=(_0x335468=_0x11dd3a[_0x3094a5(0x31f)](_0x1018be))==null?void 0x0:_0x335468[_0x3094a5(0x27d)];_0x11dd3a[_0x3094a5(0x3dc)](_0x1018be,{'oldRangeInfo':_0x2adf0a,'rangeInfo':_0x266f42});}[_0x416ec5(0x3d8)](_0x36938e,_0x17d071,_0x9b3221,_0x507070){const _0xc78001=_0x416ec5;var _0x3e6fa3;const _0xa1e988=this[_0xc78001(0x2f8)](_0x36938e,_0x17d071),_0x5a66a5=(_0x3e6fa3=_0xa1e988[_0xc78001(0x31f)](_0x9b3221))==null?void 0x0:_0x3e6fa3['oldMatrix'];_0xa1e988[_0xc78001(0x3dc)](_0x9b3221,{'oldMatrix':_0x5a66a5,'matrix':_0x507070});}[_0x416ec5(0x2ce)](_0xa693ed,_0x1c21b5,_0x1f8300){const _0x37eb14=_0x416ec5;var _0x1e9d4d,_0x4813dc;return(_0x4813dc=(_0x1e9d4d=this['_pivotTableRangeInfo'][_0x37eb14(0x31f)](_0xa693ed))==null?void 0x0:_0x1e9d4d[_0x37eb14(0x31f)](_0x1c21b5))==null?void 0x0:_0x4813dc[_0x37eb14(0x31f)](_0x1f8300);}[_0x416ec5(0x23e)](_0x51463c,_0x3d07eb,_0x121a27){const _0x52dcb4=_0x416ec5;var _0x4132a9,_0x67c867;return(_0x67c867=(_0x4132a9=this[_0x52dcb4(0x1f9)][_0x52dcb4(0x31f)](_0x51463c))==null?void 0x0:_0x4132a9[_0x52dcb4(0x31f)](_0x3d07eb))==null?void 0x0:_0x67c867[_0x52dcb4(0x31f)](_0x121a27);}[_0x416ec5(0x30e)](_0x85a3c4){const _0x1fe5aa=_0x416ec5;this[_0x1fe5aa(0x4bd)][_0x1fe5aa(0x3e3)](_0x85a3c4),this[_0x1fe5aa(0x296)][_0x1fe5aa(0x3e3)](_0x85a3c4);}['_toJSON'](_0xb89c47){const _0x1c99a8=_0x416ec5,_0x11e811={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x1c99a8(0x296)][_0x1c99a8(0x31f)](_0xb89c47)&&(_0x11e811['dataFieldManagerConfig'][_0xb89c47]=this[_0x1c99a8(0x296)][_0x1c99a8(0x31f)](_0xb89c47)),this[_0x1c99a8(0x4bd)]['get'](_0xb89c47)){_0x11e811[_0x1c99a8(0x4fe)][_0xb89c47]={};const _0x51f5fd=this[_0x1c99a8(0x4bd)]['get'](_0xb89c47);_0x51f5fd!=null&&_0x51f5fd[_0x1c99a8(0x2ad)]&&[..._0x51f5fd[_0x1c99a8(0x2a3)]()][_0x1c99a8(0x24e)](_0x499bbe=>{const _0x321efd=_0x1c99a8,_0x10b801=_0x51f5fd[_0x321efd(0x31f)](_0x499bbe);_0x10b801!=null&&_0x10b801['size']&&(_0x11e811['pivotTableConfigs'][_0xb89c47][_0x499bbe]={},[..._0x10b801['keys']()][_0x321efd(0x24e)](_0x5890e9=>{const _0x1d0070=_0x321efd,_0x1ce0bc=_0x10b801[_0x1d0070(0x31f)](_0x5890e9);_0x1ce0bc&&(_0x11e811[_0x1d0070(0x4fe)][_0xb89c47][_0x499bbe][_0x5890e9]=_0x1ce0bc);}));});}return _0x11e811;}['_initSnapshot'](){const _0xb18921=_0x416ec5;this[_0xb18921(0x293)](this[_0xb18921(0x2a8)]['registerPluginResource']({'toJson':_0x348bf4=>JSON['stringify'](this[_0xb18921(0x3e4)](_0x348bf4)),'parseJson':_0x3321dc=>({}),'businesses':[_0x5872ef['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x509ab5,'onLoad':(_0x98eb48,_0x4d7f16)=>{},'onUnLoad':_0x4b56cb=>{const _0x5a50f7=_0xb18921;this[_0x5a50f7(0x30e)](_0x4b56cb);}}));}},_0x26ed3e[_0x416ec5(0x4c7)]=_0x329944([_0x39b003(0x0,_0x5872ef[_0x416ec5(0x434)](_0x5872ef['Injector'])),_0x39b003(0x1,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x452)])),_0x39b003(0x2,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x458)])),_0x39b003(0x3,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x41f)])),_0x39b003(0x4,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x23b)]))],_0x26ed3e[_0x416ec5(0x4c7)]);var _0x326d3e=Object[_0x416ec5(0x422)],_0x4c4d76=(_0x2a71f7,_0x478cdd,_0x4531b0,_0x1ff318)=>{for(var _0x207238=_0x1ff318>0x1?void 0x0:_0x1ff318?_0x326d3e(_0x478cdd,_0x4531b0):_0x478cdd,_0x1b3a97=_0x2a71f7['length']-0x1,_0x4d6a5c;_0x1b3a97>=0x0;_0x1b3a97--)(_0x4d6a5c=_0x2a71f7[_0x1b3a97])&&(_0x207238=_0x4d6a5c(_0x207238)||_0x207238);return _0x207238;},_0x2fbf71=(_0x33c2a7,_0x308284)=>(_0x5dc5d7,_0x3505ab)=>_0x308284(_0x5dc5d7,_0x3505ab,_0x33c2a7);_0x26ed3e['SheetsPivotTableAdaptorModel']=class extends _0x5872ef[_0x416ec5(0x321)]{constructor(_0x842e7b,_0xb137e3,_0x7ca185,_0x2f43bc,_0x351b32){const _0x391744=_0x416ec5;super(),_0x48e53f(this,'_pivotRenderInfoCache',new Map()),_0x48e53f(this,_0x391744(0x472),new Map()),_0x48e53f(this,_0x391744(0x43b),new _0x482d9c[(_0x391744(0x45f))]()),_0x48e53f(this,_0x391744(0x4e3),this['_markDirty$'][_0x391744(0x3cd)]()),_0x48e53f(this,_0x391744(0x268),new _0x482d9c[(_0x391744(0x45f))]()),_0x48e53f(this,_0x391744(0x2f9),this[_0x391744(0x268)][_0x391744(0x3cd)]()),_0x48e53f(this,_0x391744(0x32d)),(this[_0x391744(0x224)]=_0x842e7b,this['_injector']=_0xb137e3,this['_sheetsPivotTableConfigModel']=_0x7ca185,this[_0x391744(0x370)]=_0x2f43bc,this[_0x391744(0x356)]=_0x351b32,this[_0x391744(0x417)](),this[_0x391744(0x45e)]());}[_0x416ec5(0x45e)](){const _0x2476ac=_0x416ec5;this[_0x2476ac(0x293)](this['_univerInstanceService'][_0x2476ac(0x2fa)](_0x5872ef[_0x2476ac(0x311)]['UNIVER_SHEET'])[_0x2476ac(0x26a)](_0x4b72df=>{const _0x33e0cb=_0x2476ac;this[_0x33e0cb(0x30e)](_0x4b72df[_0x33e0cb(0x272)]());}));}[_0x416ec5(0x417)](){const _0x415fc5=_0x416ec5;this[_0x415fc5(0x32d)]=_0x199f2a(this[_0x415fc5(0x2c8)],_0x264f9e,'',{});}[_0x416ec5(0x436)](_0x4973ec){const _0x18999c=_0x416ec5,{view:_0x228aa8,unitId:_0x3a0b6a,subUnitId:_0x5a5e05,pivotTableId:_0x5d1cd0,type:_0x458aa8}=_0x4973ec,_0x5b9aa=this[_0x18999c(0x3e1)]['getPivotTableConfig'](_0x3a0b6a,_0x5a5e05,_0x5d1cd0);if(!_0x228aa8||!_0x5b9aa||_0x458aa8===_0x332641[_0x18999c(0x256)])return;const {pageView:_0xff1ee4,cornerView:_0x1f551b,rowView:_0x6c65a1,colView:_0xa779f5,dataView:_0x166ad2}=_0x228aa8,_0x43bad4=_0x5b9aa[_0x18999c(0x455)],_0x589118=_0x5b9aa[_0x18999c(0x4a3)],_0xbb0458=this[_0x18999c(0x44d)](_0x3a0b6a,_0x5a5e05),_0x5f55c1=this[_0x18999c(0x406)](_0x3a0b6a,_0x5a5e05,_0x5d1cd0);if(_0x589118)return this['_updateRenderEmptyCache'](_0x4973ec,_0xbb0458,_0x43bad4,_0x5f55c1);{const _0x2077b5=_0x27c033(_0x43bad4,_0xff1ee4,!0x0),_0x3359e3=_0xff1ee4[_0x18999c(0x48f)]>=0x0?_0xff1ee4[_0x18999c(0x48f)]+0x1:0x0,_0x1f9dab=_0x1f551b[_0x18999c(0x3eb)](),_0x148716=_0x1f551b[_0x18999c(0x443)](),_0x4fa587=_0x2077b5[_0x18999c(0x2a9)]>0x0?_0x51bc16:0x0,_0x4085c3=_0x27c033({'row':_0x43bad4[_0x18999c(0x451)]+_0x3359e3+_0x4fa587,'col':_0x43bad4['col']},_0x1f551b,!0x1,!0x1),_0x2a0720=_0x27c033({'row':_0x43bad4[_0x18999c(0x451)]+_0x3359e3+_0x4fa587+_0x1f9dab,'col':_0x43bad4['col']},_0x6c65a1,!0x1,!0x0),_0x26e124=_0x27c033({'row':_0x43bad4['row']+_0x3359e3+_0x4fa587,'col':_0x43bad4['col']+_0x148716},_0xa779f5,!0x1,!0x0),_0xe43aa8=_0x27c033({'row':_0x43bad4[_0x18999c(0x451)]+_0x3359e3+_0x4fa587+_0x1f9dab,'col':_0x43bad4['col']+_0x148716},_0x166ad2,!0x1,!0x1);_0x5f55c1[_0x18999c(0x34b)]={'rowRanges':_0x2a0720,'colRanges':_0x26e124,'cornerRanges':_0x4085c3,'dataRanges':_0xe43aa8,'pageRanges':_0x2077b5};const _0x287ac8=_0x4950da(this[_0x18999c(0x2c8)],_0x228aa8,_0x5b9aa,this['_textInfo']),{valueMatrix:_0x57b494,rowInfo:_0x1cc493,colInfo:_0x143eb6,cornerInfo:_0x30a698,rowHeaderMap:_0x5b5552,colHeaderMap:_0x121b2a}=_0x287ac8;return _0x5f55c1['areaInfo']={'rowInfo':_0x1cc493,'colInfo':_0x143eb6,'cornerInfo':_0x30a698},_0x5f55c1[_0x18999c(0x3ad)]={'rowHeaderMap':_0x5b5552,'colHeaderMap':_0x121b2a},_0x57b494['forEach']((_0x94eaa,_0x35ce9b)=>{const _0x14b7dd=_0x18999c;Object[_0x14b7dd(0x2a3)](_0x35ce9b)[_0x14b7dd(0x24e)](_0x536110=>{const _0xd85a3b=_0x14b7dd,_0x259fca=+_0x536110,_0x2c4b44=_0x57b494[_0xd85a3b(0x2e1)](_0x94eaa,_0x259fca);_0xbb0458[_0xd85a3b(0x21b)](_0x94eaa,_0x259fca,_0x2c4b44);});}),this[_0x18999c(0x268)][_0x18999c(0x404)]({'unitId':_0x3a0b6a,'subUnitId':_0x5a5e05,'valueMatrix':_0xbb0458,'rangesCache':_0x5f55c1['rangesInfo'],'pivotTableId':_0x5d1cd0,'type':_0x4973ec[_0x18999c(0x352)]}),this[_0x18999c(0x3e1)][_0x18999c(0x40c)](_0x3a0b6a,_0x5a5e05,_0x5d1cd0,_0xbb0458,_0x5f55c1['rangesInfo']),this['_exclusiveRangeService'][_0x18999c(0x4fb)](_0x3a0b6a,_0x5a5e05,_0x16d791,this[_0x18999c(0x271)](_0x5f55c1[_0x18999c(0x34b)],_0x5d1cd0)),{'rangeCache':_0x5f55c1[_0x18999c(0x34b)],'matrix':_0xbb0458};}}[_0x416ec5(0x4f0)](_0x1dea46,_0xf152a1,_0x311063,_0x15b2e3){const _0x4e1052=_0x416ec5,_0x434d1f=this[_0x4e1052(0x224)]['t'],{unitId:_0x433535,subUnitId:_0x56dccf,pivotTableId:_0x2dc3dc}=_0x1dea46,_0x3346e6={'filter':_0x434d1f('sheets-pivot.emptyPivot.filter'),'row':_0x434d1f('sheets-pivot.emptyPivot.row'),'column':_0x434d1f('sheets-pivot.emptyPivot.column'),'values':_0x434d1f(_0x4e1052(0x478))},{matrixCache:_0x43a8c2,rangesCache:_0x18480c}=_0x2490e9(_0x3346e6,_0x311063);return _0x43a8c2['forValue']((_0x372ab2,_0x16f638,_0x92e73a)=>{const _0xc57d30=_0x4e1052;_0xf152a1[_0xc57d30(0x21b)](_0x372ab2,_0x16f638,_0x92e73a);}),_0x15b2e3['rangesInfo']=_0x18480c,this['_viewUpdate$'][_0x4e1052(0x404)]({'unitId':_0x433535,'subUnitId':_0x56dccf,'valueMatrix':_0xf152a1,'rangesCache':_0x18480c,'pivotTableId':_0x2dc3dc,'type':_0x1dea46[_0x4e1052(0x352)],'isEmpty':!0x0}),this[_0x4e1052(0x3e1)]['updateViewInfo'](_0x433535,_0x56dccf,_0x2dc3dc,_0xf152a1,_0x18480c),this[_0x4e1052(0x356)]['addExclusiveRange'](_0x433535,_0x56dccf,_0x16d791,this[_0x4e1052(0x271)](_0x18480c,_0x2dc3dc)),{'rangeCache':_0x15b2e3[_0x4e1052(0x34b)],'matrix':_0xf152a1};}[_0x416ec5(0x271)](_0x4e20d8,_0x3f4c88){const _0x35e64e=_0x416ec5,_0x18e864=[],_0x3c9258=_0x161ace(_0x4e20d8);for(const _0x32d324 of _0x3c9258)_0x18e864[_0x35e64e(0x410)]({'groupId':_0x3f4c88,'range':_0x32d324});return _0x18e864;}[_0x416ec5(0x4b7)](_0x5aed54){const _0x46db63=_0x416ec5;var _0x1b6895,_0x583cb6,_0x43bdb8,_0x43ab10;const {pivotTableId:_0x1b1654,unitId:_0x3ba3ae,subUnitId:_0x4a4e52}=_0x5aed54;if(!_0x1b1654||!_0x3ba3ae||!_0x4a4e52)return;const _0x20d414=this[_0x46db63(0x44d)](_0x3ba3ae,_0x4a4e52),_0x574a74=(_0x583cb6=(_0x1b6895=this[_0x46db63(0x302)]['get'](_0x3ba3ae))==null?void 0x0:_0x1b6895[_0x46db63(0x31f)](_0x4a4e52))==null?void 0x0:_0x583cb6[_0x46db63(0x31f)](_0x1b1654);if(_0x574a74!=null&&_0x574a74[_0x46db63(0x34b)]){for(const _0x16c7a5 of Object[_0x46db63(0x2a3)](_0x574a74[_0x46db63(0x34b)]))_0x574a74['rangesInfo'][_0x16c7a5][_0x46db63(0x24e)](_0x5ebdc5=>{const _0x5ab463=_0x46db63;for(let _0x3234d9=_0x5ebdc5['startRow'];_0x3234d9<=_0x5ebdc5['endRow'];_0x3234d9++)for(let _0xdee831=_0x5ebdc5[_0x5ab463(0x4fd)];_0xdee831<=_0x5ebdc5['endColumn'];_0xdee831++)_0x20d414[_0x5ab463(0x3fa)](_0x3234d9,_0xdee831);});}_0x574a74&&((_0x43ab10=(_0x43bdb8=this['_pivotRenderInfoCache'][_0x46db63(0x31f)](_0x3ba3ae))==null?void 0x0:_0x43bdb8[_0x46db63(0x31f)](_0x4a4e52))==null||_0x43ab10[_0x46db63(0x3e3)](_0x1b1654)),this[_0x46db63(0x268)][_0x46db63(0x404)]({'unitId':_0x3ba3ae,'subUnitId':_0x4a4e52,'valueMatrix':_0x20d414,'pivotTableId':_0x1b1654,'rangesCache':void 0x0,'type':_0x5aed54[_0x46db63(0x352)]}),this[_0x46db63(0x356)][_0x46db63(0x286)](_0x3ba3ae,_0x4a4e52,_0x16d791,_0x1b1654);}[_0x416ec5(0x406)](_0x54ab7b,_0x2c22a4,_0x39eb28){const _0x24696f=_0x416ec5;var _0x4c305d,_0x36ccd2,_0x192dff,_0x585ec2,_0x4e052a,_0x7473aa;return this[_0x24696f(0x302)]['has'](_0x54ab7b)||this['_pivotRenderInfoCache']['set'](_0x54ab7b,new Map()),(_0x4c305d=this[_0x24696f(0x302)][_0x24696f(0x31f)](_0x54ab7b))!=null&&_0x4c305d[_0x24696f(0x262)](_0x2c22a4)||(_0x36ccd2=this['_pivotRenderInfoCache'][_0x24696f(0x31f)](_0x54ab7b))==null||_0x36ccd2[_0x24696f(0x3dc)](_0x2c22a4,new Map()),(_0x585ec2=(_0x192dff=this[_0x24696f(0x302)]['get'](_0x54ab7b))==null?void 0x0:_0x192dff[_0x24696f(0x31f)](_0x2c22a4))!=null&&_0x585ec2['has'](_0x39eb28)||(_0x7473aa=(_0x4e052a=this[_0x24696f(0x302)][_0x24696f(0x31f)](_0x54ab7b))==null?void 0x0:_0x4e052a[_0x24696f(0x31f)](_0x2c22a4))==null||_0x7473aa[_0x24696f(0x3dc)](_0x39eb28,{}),this[_0x24696f(0x302)][_0x24696f(0x31f)](_0x54ab7b)[_0x24696f(0x31f)](_0x2c22a4)['get'](_0x39eb28);}[_0x416ec5(0x44d)](_0xc40058,_0x2bd126){const _0x27b103=_0x416ec5;var _0x2db347,_0x4a7732;return this[_0x27b103(0x472)][_0x27b103(0x262)](_0xc40058)||this['_pivotRenderValueMatrixCache'][_0x27b103(0x3dc)](_0xc40058,new Map()),(_0x2db347=this['_pivotRenderValueMatrixCache'][_0x27b103(0x31f)](_0xc40058))!=null&&_0x2db347['has'](_0x2bd126)||(_0x4a7732=this[_0x27b103(0x472)][_0x27b103(0x31f)](_0xc40058))==null||_0x4a7732[_0x27b103(0x3dc)](_0x2bd126,new _0x5872ef[(_0x27b103(0x360))]()),this[_0x27b103(0x472)][_0x27b103(0x31f)](_0xc40058)['get'](_0x2bd126);}[_0x416ec5(0x249)](_0x511563,_0x17eb46,_0x2e2bbb,_0x3b3fab){const _0x4b44f4=_0x416ec5;var _0x35660c,_0xb0f0a9;const _0x468152=(_0xb0f0a9=(_0x35660c=this[_0x4b44f4(0x472)][_0x4b44f4(0x31f)](_0x511563))==null?void 0x0:_0x35660c['get'](_0x17eb46))==null?void 0x0:_0xb0f0a9[_0x4b44f4(0x2e1)](_0x2e2bbb,_0x3b3fab);if(_0x468152!=null)return _0x468152;}[_0x416ec5(0x4d3)](_0x3d8ed2,_0x24b4fe,_0x4f6ef0,_0xfd2703){const _0x262f76=_0x416ec5;var _0x179caa;const _0x3f3228=_0x5872ef[_0x262f76(0x454)](_0x4f6ef0,_0xfd2703),_0xa90071=(_0x179caa=this[_0x262f76(0x302)][_0x262f76(0x31f)](_0x3d8ed2))==null?void 0x0:_0x179caa[_0x262f76(0x31f)](_0x24b4fe);return _0xa90071?Array[_0x262f76(0x3a6)](_0xa90071[_0x262f76(0x2a3)]())[_0x262f76(0x480)](_0x4fda37=>{const _0x6aa123=_0x262f76,_0x5f01cc=_0xa90071[_0x6aa123(0x31f)](_0x4fda37),_0x1077ab=_0x5f01cc==null?void 0x0:_0x5f01cc[_0x6aa123(0x34b)];return _0x1077ab?Object['keys'](_0x1077ab)[_0x6aa123(0x44e)](_0x16a96b=>_0x1077ab[_0x16a96b][_0x6aa123(0x44e)](_0x323f9b=>_0x5872ef[_0x6aa123(0x36e)][_0x6aa123(0x355)](_0x323f9b,_0x3f3228))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x346377,_0x1d45b6,_0x1638a4){const _0x413a9a=_0x416ec5;var _0x502ca1;const _0x82613c=(_0x502ca1=this[_0x413a9a(0x302)]['get'](_0x346377))==null?void 0x0:_0x502ca1[_0x413a9a(0x31f)](_0x1d45b6),_0x2c8544=[];return _0x82613c&&Array[_0x413a9a(0x3a6)](_0x82613c[_0x413a9a(0x2a3)]())[_0x413a9a(0x24e)](_0x4cdf22=>{const _0x3e5554=_0x413a9a,_0x49695e=_0x82613c[_0x3e5554(0x31f)](_0x4cdf22),_0x1f3aa7=_0x49695e==null?void 0x0:_0x49695e[_0x3e5554(0x34b)];if(_0x1f3aa7)for(const _0x10c265 of Object[_0x3e5554(0x4d9)](_0x1f3aa7)){let _0x8e3593=!0x1;for(const _0x2a74c4 of _0x10c265)if(_0x5872ef['Rectangle']['intersects'](_0x2a74c4,_0x1638a4)){_0x2c8544[_0x3e5554(0x410)](_0x4cdf22),_0x8e3593=!0x0;break;}if(_0x8e3593)break;}}),_0x2c8544;}[_0x416ec5(0x326)](_0x50a6f3,_0x1985f4){const _0x5ae69d=_0x416ec5;var _0x307384,_0x3d01c3;return(_0x3d01c3=(_0x307384=this[_0x5ae69d(0x472)][_0x5ae69d(0x31f)](_0x50a6f3))==null?void 0x0:_0x307384[_0x5ae69d(0x31f)](_0x1985f4))!=null?_0x3d01c3:new _0x5872ef[(_0x5ae69d(0x360))]();}[_0x416ec5(0x373)](_0x315ad0,_0x490fe7){const _0x788790=_0x416ec5;var _0x34fced;return(_0x34fced=this[_0x788790(0x302)]['get'](_0x315ad0))==null?void 0x0:_0x34fced['get'](_0x490fe7);}[_0x416ec5(0x253)](_0x3f09c9,_0x4f6591,_0x4f5009){const _0x5622ce=_0x416ec5;var _0x22e380,_0x1c30ff;return(_0x1c30ff=(_0x22e380=this[_0x5622ce(0x302)]['get'](_0x3f09c9))==null?void 0x0:_0x22e380['get'](_0x4f6591))==null?void 0x0:_0x1c30ff[_0x5622ce(0x31f)](_0x4f5009);}['deleteUnitId'](_0x495233){const _0x29bcb5=_0x416ec5;this[_0x29bcb5(0x302)][_0x29bcb5(0x3e3)](_0x495233),this[_0x29bcb5(0x472)][_0x29bcb5(0x3e3)](_0x495233);}['markDirty'](_0x4e5208,_0x1a3047){const _0x235aa3=_0x416ec5;this['_markDirty$'][_0x235aa3(0x404)]({'unitId':_0x4e5208,'subUnitId':_0x1a3047});}},_0x26ed3e[_0x416ec5(0x3f5)]=_0x4c4d76([_0x2fbf71(0x0,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x35d)])),_0x2fbf71(0x1,_0x5872ef[_0x416ec5(0x434)](_0x5872ef['Injector'])),_0x2fbf71(0x2,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e[_0x416ec5(0x4c7)])),_0x2fbf71(0x3,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x458)])),_0x2fbf71(0x4,_0x5872ef[_0x416ec5(0x434)](_0x16809e[_0x416ec5(0x416)]))],_0x26ed3e[_0x416ec5(0x3f5)]);var _0x1c1711=Object[_0x416ec5(0x422)],_0x37bb67=(_0x19773b,_0x934f78,_0x8ce9f9,_0x210477)=>{const _0x3a2522=_0x416ec5;for(var _0x10f207=_0x210477>0x1?void 0x0:_0x210477?_0x1c1711(_0x934f78,_0x8ce9f9):_0x934f78,_0x47b6e4=_0x19773b[_0x3a2522(0x2a9)]-0x1,_0x1571c1;_0x47b6e4>=0x0;_0x47b6e4--)(_0x1571c1=_0x19773b[_0x47b6e4])&&(_0x10f207=_0x1571c1(_0x10f207)||_0x10f207);return _0x10f207;},_0x45220a=(_0x2d57f9,_0x220267)=>(_0x297b38,_0x1ed46f)=>_0x220267(_0x297b38,_0x1ed46f,_0x2d57f9);_0x26ed3e[_0x416ec5(0x329)]=class extends _0x5872ef[_0x416ec5(0x321)]{constructor(_0x527d84,_0x57b5aa){const _0x53d62b=_0x416ec5;super(),_0x48e53f(this,_0x53d62b(0x46a),new _0x5872ef[(_0x53d62b(0x3e6))]({'PIVOT_PERFORM_CHECK':_0x443267})),_0x48e53f(this,_0x53d62b(0x345),new _0x5872ef['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x359aec})),(this['_sheetInterceptorService']=_0x527d84,this['_sheetsPivotTableAdaptorModel']=_0x57b5aa,this[_0x53d62b(0x1ec)]());}[_0x416ec5(0x1ec)](){const _0x4c2a23=_0x416ec5;this[_0x4c2a23(0x3ed)]();}[_0x416ec5(0x28e)](_0x3e6a57){return this['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x443267)(!0x1,_0x3e6a57);}[_0x416ec5(0x3ed)](){const _0x50ccf2=_0x416ec5;this[_0x50ccf2(0x293)](this[_0x50ccf2(0x479)][_0x50ccf2(0x403)](_0x16809e[_0x50ccf2(0x433)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x5872ef['InterceptorEffectEnum'][_0x50ccf2(0x380)]|_0x5872ef[_0x50ccf2(0x463)]['Style'],'handler':(_0x11a6c0,_0x51f860,_0x1ae050)=>{const _0x3222c5=_0x50ccf2,{row:_0xb3d592,col:_0x4957dd,unitId:_0x4acdfa,subUnitId:_0x2e9853,workbook:_0x220e24}=_0x51f860,_0x415cdd=this['_sheetsPivotTableAdaptorModel'][_0x3222c5(0x249)](_0x4acdfa,_0x2e9853,_0xb3d592,_0x4957dd);if(!_0x415cdd)return _0x1ae050(_0x11a6c0);const _0xf46bce={..._0x11a6c0};(_0x415cdd['v']||_0x415cdd['v']===0x0)&&(_0xf46bce['v']=_0x415cdd['v']),_0x415cdd['t']&&(_0xf46bce['t']=_0x415cdd['t']);const _0x57fd5e=(typeof(_0x11a6c0==null?void 0x0:_0x11a6c0['s'])==_0x3222c5(0x412)?_0x220e24['getStyles']()[_0x3222c5(0x31f)](_0x11a6c0==null?void 0x0:_0x11a6c0['s']):_0x11a6c0==null?void 0x0:_0x11a6c0['s'])||{},_0x336a21=_0x220e24[_0x3222c5(0x49c)]()[_0x3222c5(0x31f)](_0x415cdd['s']),_0x50ccbf={..._0x336a21,..._0x57fd5e};_0x336a21!=null&&_0x336a21['n']&&(_0x50ccbf['n']=_0x336a21['n']);const _0x41d97d=_0x220e24[_0x3222c5(0x49c)]()['setValue'](_0x50ccbf);return _0xf46bce['s']=_0x41d97d,(_0x415cdd[_0x3222c5(0x2e3)]===_0x3a648e[_0x3222c5(0x3fc)]['Collapse']||_0x415cdd[_0x3222c5(0x2e3)]===_0x3a648e[_0x3222c5(0x3fc)][_0x3222c5(0x1f6)])&&(_0xf46bce[_0x3222c5(0x25a)]={},_0xf46bce[_0x3222c5(0x25a)][_0x3222c5(0x233)]=_0x566318),_0x1ae050(_0xf46bce);}}));}},_0x26ed3e[_0x416ec5(0x329)]=_0x37bb67([_0x45220a(0x0,_0x5872ef[_0x416ec5(0x434)](_0x16809e[_0x416ec5(0x4aa)])),_0x45220a(0x1,_0x5872ef['Inject'](_0x26ed3e[_0x416ec5(0x3f5)]))],_0x26ed3e[_0x416ec5(0x329)]);function _0xf23946(_0xbb5c2d,_0x3481b6){const _0x4134dc=_0x416ec5;switch(_0x3481b6){case _0x3a648e[_0x4134dc(0x388)][_0x4134dc(0x380)]:return _0xbb5c2d[_0x4134dc(0x37c)];case _0x3a648e['PivotTableFiledAreaEnum']['Filter']:return _0xbb5c2d['filterFields'];case _0x3a648e[_0x4134dc(0x388)][_0x4134dc(0x298)]:return _0xbb5c2d[_0x4134dc(0x420)];case _0x3a648e[_0x4134dc(0x388)][_0x4134dc(0x471)]:return _0xbb5c2d[_0x4134dc(0x28c)];default:return[];}}function _0x23e037(_0x1ebdf4,_0x5130d1){const _0x501225=_0x416ec5;return _0x1ebdf4[_0x501225(0x33a)][_0x5130d1]||_0x1ebdf4[_0x501225(0x2bd)][_0x5130d1];}function _0x2d1355(_0x3134b2,_0x182ff7){const _0x475319=_0x416ec5,{area:_0xb63a55,fieldJson:_0x3c7707,index:_0x10aee8}=_0x182ff7;_0xb63a55===_0x3a648e[_0x475319(0x388)][_0x475319(0x380)]?_0x3134b2[_0x475319(0x33a)][_0x3c7707['id']]=_0x3c7707:_0x3134b2[_0x475319(0x2bd)][_0x3c7707['id']]=_0x3c7707,_0xf23946(_0x3134b2,_0xb63a55)[_0x475319(0x244)](_0x10aee8,0x0,_0x3c7707['id']);}function _0x15899d(_0x3d14bb,_0x40135d){const _0x526243=_0x416ec5,{area:_0x1bf2ba,fieldId:_0x3284b8,index:_0xdd8c6d}=_0x40135d;_0x1bf2ba===_0x3a648e[_0x526243(0x388)][_0x526243(0x380)]?delete _0x3d14bb[_0x526243(0x33a)][_0x3284b8]:delete _0x3d14bb[_0x526243(0x2bd)][_0x3284b8],_0xf23946(_0x3d14bb,_0x1bf2ba)['splice'](_0xdd8c6d,0x1);}function _0x3679ec(_0x1342a1,_0x453901){const _0x42cda9=_0x416ec5,{fieldId:_0x17e6b9,name:_0x4f22ac}=_0x453901,_0x272533=_0x23e037(_0x1342a1,_0x17e6b9);_0x272533&&(_0x272533[_0x42cda9(0x250)]=_0x4f22ac);}function _0x353a94(_0x311525,_0x33bcf6){const _0x2cc75e=_0x416ec5,{fieldId:_0xec0a28,collapse:_0x169137,item:_0x9c0493}=_0x33bcf6;_0x9c0493!==void 0x0?(_0x311525[_0x2cc75e(0x31a)][_0xec0a28]=_0x311525[_0x2cc75e(0x31a)][_0xec0a28]||{},_0x311525[_0x2cc75e(0x31a)][_0xec0a28][_0x9c0493]=_0x169137):_0x311525[_0x2cc75e(0x31a)][_0xec0a28]=_0x169137;}function _0x1252eb(_0x29b995,_0x2d8968){const _0x5f2a27=_0x416ec5,{fieldId:_0x5b60e1,format:_0x1855dc}=_0x2d8968,_0x44b840=_0x23e037(_0x29b995,_0x5b60e1);_0x44b840&&(_0x44b840[_0x5f2a27(0x320)]=_0x1855dc);}function _0x4f844d(_0x279d70,_0x3a1ead){const {fieldId:_0x4d12ab,filterInfo:_0x49c8e1}=_0x3a1ead,_0x3c88c3=_0x23e037(_0x279d70,_0x4d12ab);_0x3c88c3&&(_0x3c88c3['filterInfo']=_0x49c8e1);}function _0x5716f5(_0x391bb8,_0x15872d){const _0x4a9aa2=_0x416ec5,{fieldId:_0x5d8247,filterInfo:_0x475755}=_0x15872d,_0x11dc65=_0x391bb8[_0x4a9aa2(0x3b1)]['filter'](_0x11a544=>_0x11a544[_0x4a9aa2(0x2be)]!==_0x5d8247);_0x475755&&_0x11dc65[_0x4a9aa2(0x410)]({'fieldId':_0x5d8247,'filterInfo':_0x475755}),_0x391bb8[_0x4a9aa2(0x3b1)]=_0x11dc65;}function _0x3f9a0c(_0x19d6db,_0x2383fc){const _0x436db1=_0x416ec5,{fieldId:_0x15e790,subtotalType:_0x49050d}=_0x2383fc,_0x5a67ef=_0x23e037(_0x19d6db,_0x15e790);_0x5a67ef&&(_0x5a67ef[_0x436db1(0x216)]=_0x49050d);}function _0x3c49a6(_0x470273,_0x313f14){const _0xbd5d3c=_0x416ec5,{fieldId:_0x1da154,oldArea:_0x2d5691,area:_0x21243a,oldIndex:_0x525113,index:_0x50dd6d}=_0x313f14,_0x19f0d2=_0x2d5691!==_0x3a648e[_0xbd5d3c(0x388)][_0xbd5d3c(0x380)]&&_0x21243a===_0x3a648e['PivotTableFiledAreaEnum'][_0xbd5d3c(0x380)],_0x14fc23=_0x2d5691===_0x3a648e['PivotTableFiledAreaEnum']['Value']&&_0x21243a!==_0x3a648e['PivotTableFiledAreaEnum'][_0xbd5d3c(0x380)];if(_0x19f0d2||_0x14fc23){const _0x13eeae=_0x23e037(_0x470273,_0x1da154);_0x13eeae&&(_0x19f0d2?(delete _0x470273['dimension'][_0x1da154],_0x470273['measure'][_0x1da154]=_0x13eeae):(delete _0x470273[_0xbd5d3c(0x33a)][_0x1da154],_0x470273[_0xbd5d3c(0x2bd)][_0x1da154]=_0x13eeae));}const _0x7fc837=_0xf23946(_0x470273,_0x2d5691),_0x16fb06=_0xf23946(_0x470273,_0x21243a);_0x7fc837[_0xbd5d3c(0x244)](_0x525113,0x1),_0x16fb06[_0xbd5d3c(0x244)](_0x50dd6d,0x0,_0x1da154);}function _0x4dac52(_0x1da219,_0x25132c){const _0x2e0214=_0x416ec5,{valuePosition:_0x4d755d,index:_0x40f30d}=_0x25132c;_0x1da219[_0x2e0214(0x441)]=_0x4d755d,_0x1da219[_0x2e0214(0x392)]=_0x40f30d;}function _0xb8dce7(_0x41fa8f,_0x3d8c46){const _0x1f6fef=_0x416ec5,{tableFieldId:_0x3fac3c,sourceName:_0xb5ee48,dataFieldId:_0x2da63a}=_0x3d8c46,_0x35b5e8=_0x23e037(_0x41fa8f,_0x3fac3c);_0x35b5e8&&(_0x35b5e8[_0x1f6fef(0x2de)]=_0xb5ee48,_0x35b5e8[_0x1f6fef(0x469)]=_0x2da63a);}function _0x1705d8(_0x30915e,_0x14d6bd){const _0x2bfd09=_0x416ec5,{fieldId:_0x25aeac,sortInfo:_0x3cddad}=_0x14d6bd,_0x17458a=_0x23e037(_0x30915e,_0x25aeac);_0x17458a&&(_0x17458a[_0x2bfd09(0x2ee)]=_0x3cddad);}function _0x3c5f90(_0x45c78b,_0x130d70){const _0x25fc60=_0x416ec5,{options:_0xb5f1c5}=_0x130d70;_0x45c78b[_0x25fc60(0x3a2)]={..._0x45c78b['options'],..._0xb5f1c5};}const _0x1e2cce={'type':_0x5872ef['CommandType'][_0x416ec5(0x4c9)],'id':_0x416ec5(0x486),'handler'(_0x4e8b0a,_0x36f3d2){const _0xa1ac54=_0x416ec5;if(!_0x36f3d2)return!0x1;if(!!_0x4e8b0a[_0xa1ac54(0x31f)](_0x5872ef[_0xa1ac54(0x23b)])[_0xa1ac54(0x497)](_0x172560))return!0x0;const _0x3c98c3=_0x4e8b0a[_0xa1ac54(0x31f)](_0x26ed3e['SheetsPivotDataSourceModel']),{pivotTableId:_0x4487ca,fieldJson:_0x25bf23,area:_0x189c59,index:_0xa199ee,unitId:_0x4fac31,subUnitId:_0x44dac4}=_0x36f3d2,_0x50e3d7=_0x3c98c3[_0xa1ac54(0x239)](_0x4487ca);if(!_0x50e3d7)return!0x1;let _0x15e475;_0x189c59===_0x3a648e[_0xa1ac54(0x388)]['Value']?_0x15e475=_0x3a648e[_0xa1ac54(0x1f2)](_0x25bf23):_0x15e475=_0x3a648e[_0xa1ac54(0x4e2)](_0x25bf23),_0x50e3d7[_0xa1ac54(0x358)](_0x15e475,_0x189c59,_0xa199ee);const _0x598c42=_0x3c98c3['getPivotTableModelConfig'](_0x4fac31,_0x44dac4,_0x4487ca);_0x2d1355(_0x598c42,_0x36f3d2);const _0x49bb4a=_0x3c98c3[_0xa1ac54(0x474)](_0x4fac31,_0x44dac4,_0x4487ca);return _0x3c98c3[_0xa1ac54(0x200)]({'unitId':_0x4fac31,'subUnitId':_0x44dac4,'token':_0x4487ca,'type':_0x332641[_0xa1ac54(0x32f)],'pivotConfig':_0x49bb4a}),!0x0;}},_0x30bb9e={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x33b),'handler'(_0x56b08f,_0x40a4ac){const _0x58adb3=_0x416ec5;if(!_0x40a4ac)return!0x1;if(!!_0x56b08f[_0x58adb3(0x31f)](_0x5872ef[_0x58adb3(0x23b)])[_0x58adb3(0x497)](_0x172560))return!0x0;const _0x27b45d=_0x56b08f['get'](_0x26ed3e[_0x58adb3(0x3a7)]),{pivotTableId:_0x2327a4,fieldId:_0x49c509,unitId:_0x36579c,subUnitId:_0x878cb}=_0x40a4ac,_0x52e2a7=_0x27b45d[_0x58adb3(0x239)](_0x2327a4);if(!_0x52e2a7)return!0x1;_0x52e2a7[_0x58adb3(0x203)](_0x49c509);const _0x127e48=_0x27b45d['getPivotTableModelConfig'](_0x36579c,_0x878cb,_0x2327a4);_0x15899d(_0x127e48,_0x40a4ac);const _0x246577=_0x27b45d[_0x58adb3(0x474)](_0x36579c,_0x878cb,_0x2327a4);return _0x27b45d[_0x58adb3(0x200)]({'unitId':_0x36579c,'subUnitId':_0x878cb,'token':_0x2327a4,'type':_0x332641[_0x58adb3(0x32f)],'pivotConfig':_0x246577}),!0x0;}},_0x100ec4={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x487),'handler'(_0x2e03f2,_0x5454db){const _0x5059cf=_0x416ec5;if(!_0x5454db)return!0x1;if(!!_0x2e03f2[_0x5059cf(0x31f)](_0x5872ef[_0x5059cf(0x23b)])['getConfig'](_0x172560))return!0x0;const _0x563c8a=_0x2e03f2['get'](_0x26ed3e['SheetsPivotDataSourceModel']),{unitId:_0x566cd0,subUnitId:_0x1d3426,pivotTableId:_0x223410,fieldId:_0x1d20a4,name:_0x5c223d}=_0x5454db,_0x4e4a13=_0x563c8a[_0x5059cf(0x239)](_0x223410);if(!_0x4e4a13)return!0x1;_0x4e4a13['renameField'](_0x1d20a4,_0x5c223d);const _0x513088=_0x563c8a[_0x5059cf(0x362)](_0x566cd0,_0x1d3426,_0x223410);return _0x3679ec(_0x513088,_0x5454db),_0x563c8a[_0x5059cf(0x200)]({'unitId':_0x566cd0,'subUnitId':_0x1d3426,'token':_0x223410,'type':_0x332641['Set']}),!0x0;}},_0x392ea7={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x269743,_0x461033){const _0x2533ec=_0x416ec5;if(!_0x461033)return!0x1;if(!!_0x269743[_0x2533ec(0x31f)](_0x5872ef[_0x2533ec(0x23b)])[_0x2533ec(0x497)](_0x172560))return!0x0;const _0x408186=_0x269743[_0x2533ec(0x31f)](_0x26ed3e['SheetsPivotDataSourceModel']),{unitId:_0x155053,subUnitId:_0x568cbb,pivotTableId:_0x5bbdde,fieldId:_0x419a95,collapse:_0x654c36,item:_0x1e6e61}=_0x461033,_0x17d030=_0x408186['getPivotTableInstance'](_0x5bbdde);if(!_0x17d030)return!0x1;_0x17d030[_0x2533ec(0x328)](_0x419a95,_0x654c36,_0x1e6e61);const _0x355077=_0x408186[_0x2533ec(0x362)](_0x155053,_0x568cbb,_0x5bbdde);return _0x353a94(_0x355077,_0x461033),_0x408186['addDirtyPivotTable']({'unitId':_0x155053,'subUnitId':_0x568cbb,'token':_0x5bbdde,'type':_0x332641[_0x2533ec(0x32f)]}),!0x0;}},_0x46b6ee={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':'sheet.mutation.set-pivot-format','handler'(_0x7cab20,_0x2dc6db){const _0x57f81a=_0x416ec5;if(!_0x2dc6db)return!0x1;if(!!_0x7cab20[_0x57f81a(0x31f)](_0x5872ef[_0x57f81a(0x23b)])[_0x57f81a(0x497)](_0x172560))return!0x0;const _0x213740=_0x7cab20[_0x57f81a(0x31f)](_0x26ed3e[_0x57f81a(0x3a7)]),{unitId:_0x4eceab,subUnitId:_0x2b4356,pivotTableId:_0x254bae,fieldId:_0x1f2558,format:_0x4e7c8d}=_0x2dc6db,_0x57c92e=_0x213740[_0x57f81a(0x239)](_0x254bae);if(!_0x57c92e)return!0x1;_0x57c92e[_0x57f81a(0x240)](_0x1f2558,_0x4e7c8d);const _0x1ac66b=_0x213740[_0x57f81a(0x362)](_0x4eceab,_0x2b4356,_0x254bae);return _0x1252eb(_0x1ac66b,_0x2dc6db),_0x213740[_0x57f81a(0x200)]({'unitId':_0x4eceab,'subUnitId':_0x2b4356,'token':_0x254bae,'type':_0x332641[_0x57f81a(0x32f)]}),!0x0;}},_0x62ed2e={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x333),'handler'(_0x130411,_0x4ea289){const _0x8e3b1=_0x416ec5;if(!_0x4ea289)return!0x1;if(!!_0x130411['get'](_0x5872ef[_0x8e3b1(0x23b)])[_0x8e3b1(0x497)](_0x172560))return!0x0;const _0x2287a6=_0x130411[_0x8e3b1(0x31f)](_0x26ed3e[_0x8e3b1(0x3a7)]),{unitId:_0x4b7f6c,subUnitId:_0x4372c2,pivotTableId:_0x56364b,fieldId:_0x39611c,filterInfo:_0x4b2a3c}=_0x4ea289,_0x55b867=_0x2287a6['getPivotTableInstance'](_0x56364b);if(!_0x55b867)return!0x1;_0x55b867[_0x8e3b1(0x4b0)](_0x39611c,_0x4b2a3c);const _0x24a39a=_0x2287a6[_0x8e3b1(0x362)](_0x4b7f6c,_0x4372c2,_0x56364b);return _0x4f844d(_0x24a39a,_0x4ea289),_0x2287a6[_0x8e3b1(0x200)]({'unitId':_0x4b7f6c,'subUnitId':_0x4372c2,'token':_0x56364b,'type':_0x332641[_0x8e3b1(0x32f)]}),!0x0;}},_0x4fdd09={'type':_0x5872ef[_0x416ec5(0x47c)]['MUTATION'],'id':_0x416ec5(0x2ed),'handler'(_0xd42d80,_0x533751){const _0x3fcdc5=_0x416ec5;if(!_0x533751)return!0x1;if(!!_0xd42d80['get'](_0x5872ef[_0x3fcdc5(0x23b)])[_0x3fcdc5(0x497)](_0x172560))return!0x0;const _0x47f397=_0xd42d80[_0x3fcdc5(0x31f)](_0x26ed3e[_0x3fcdc5(0x3a7)]),{unitId:_0x53b9f6,subUnitId:_0x34367c,pivotTableId:_0x10ba04,options:_0x46bcd7}=_0x533751,_0x1d814a=_0x47f397[_0x3fcdc5(0x239)](_0x10ba04);if(!_0x1d814a)return!0x1;_0x1d814a[_0x3fcdc5(0x4b8)](_0x46bcd7);const _0x219c21=_0x47f397[_0x3fcdc5(0x362)](_0x53b9f6,_0x34367c,_0x10ba04);return _0x3c5f90(_0x219c21,_0x533751),_0x47f397['addDirtyPivotTable']({'unitId':_0x53b9f6,'subUnitId':_0x34367c,'token':_0x10ba04,'type':_0x332641['Set']}),!0x0;}},_0x31dcf8={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x3c7),'handler'(_0x5ca9dc,_0x78cc86){const _0x15aa79=_0x416ec5;if(!_0x78cc86)return!0x1;if(!!_0x5ca9dc[_0x15aa79(0x31f)](_0x5872ef[_0x15aa79(0x23b)])['getConfig'](_0x172560))return!0x0;const _0x3b7f98=_0x5ca9dc[_0x15aa79(0x31f)](_0x26ed3e[_0x15aa79(0x3a7)]),{unitId:_0x5a95a3,subUnitId:_0x300fb9,pivotTableId:_0x4cb6a1,sortInfo:_0x3ee3ec,fieldId:_0x281184}=_0x78cc86,_0x3d219c=_0x3b7f98[_0x15aa79(0x239)](_0x4cb6a1);if(!_0x3d219c)return!0x1;_0x3d219c[_0x15aa79(0x3fb)](_0x281184,_0x3ee3ec);const _0x524494=_0x3b7f98[_0x15aa79(0x362)](_0x5a95a3,_0x300fb9,_0x4cb6a1);return _0x1705d8(_0x524494,_0x78cc86),_0x3b7f98[_0x15aa79(0x200)]({'unitId':_0x5a95a3,'subUnitId':_0x300fb9,'token':_0x4cb6a1,'type':_0x332641[_0x15aa79(0x32f)]}),!0x0;}},_0x3fac23={'type':_0x5872ef['CommandType'][_0x416ec5(0x4c9)],'id':_0x416ec5(0x475),'handler'(_0x4074e8,_0x28497b){const _0x43995f=_0x416ec5;if(!_0x28497b)return!0x1;if(!!_0x4074e8[_0x43995f(0x31f)](_0x5872ef['IConfigService'])[_0x43995f(0x497)](_0x172560))return!0x0;const _0x132a61=_0x4074e8[_0x43995f(0x31f)](_0x26ed3e[_0x43995f(0x3a7)]),{unitId:_0x51a5db,subUnitId:_0x4d1a89,pivotTableId:_0x51d7ae,fieldId:_0x35fe52,subtotalType:_0x5f2f69}=_0x28497b,_0x5704e9=_0x132a61[_0x43995f(0x239)](_0x51d7ae);if(!_0x5704e9)return!0x1;_0x5704e9['setSubtotalType'](_0x35fe52,_0x5f2f69);const _0x1911aa=_0x132a61[_0x43995f(0x362)](_0x51a5db,_0x4d1a89,_0x51d7ae);return _0x3f9a0c(_0x1911aa,_0x28497b),_0x132a61[_0x43995f(0x200)]({'unitId':_0x51a5db,'subUnitId':_0x4d1a89,'token':_0x51d7ae,'type':_0x332641[_0x43995f(0x32f)]}),!0x0;}},_0x580014={'type':_0x5872ef['CommandType'][_0x416ec5(0x4c9)],'id':_0x416ec5(0x41c),'handler'(_0x45bfa0,_0x161890){const _0x4ed434=_0x416ec5;if(!_0x161890)return!0x1;if(!!_0x45bfa0[_0x4ed434(0x31f)](_0x5872ef[_0x4ed434(0x23b)])[_0x4ed434(0x497)](_0x172560))return!0x0;const _0x234926=_0x45bfa0['get'](_0x26ed3e[_0x4ed434(0x3a7)]),{unitId:_0x4bdbd5,subUnitId:_0x5ac695,pivotTableId:_0x597a0,fieldId:_0x4a7040,filterInfo:_0x3c5723}=_0x161890,_0x381afc=_0x234926[_0x4ed434(0x239)](_0x597a0);if(!_0x381afc)return!0x1;_0x381afc[_0x4ed434(0x2bc)](_0x4a7040,_0x3c5723);const _0x44b0ba=_0x234926[_0x4ed434(0x362)](_0x4bdbd5,_0x5ac695,_0x597a0);return _0x5716f5(_0x44b0ba,_0x161890),_0x234926[_0x4ed434(0x200)]({'unitId':_0x4bdbd5,'subUnitId':_0x5ac695,'token':_0x597a0,'type':_0x332641['Set']}),!0x0;}},_0x8fd9c9={'type':_0x5872ef['CommandType'][_0x416ec5(0x4c9)],'id':_0x416ec5(0x207),'handler'(_0x77db3b,_0x39b194){const _0x1a8276=_0x416ec5;if(!_0x39b194)return!0x1;if(!!_0x77db3b[_0x1a8276(0x31f)](_0x5872ef[_0x1a8276(0x23b)])[_0x1a8276(0x497)](_0x172560))return!0x0;const _0x139afb=_0x77db3b['get'](_0x26ed3e[_0x1a8276(0x3a7)]),{unitId:_0x41631b,subUnitId:_0x16b1bf,pivotTableId:_0x5623f7,area:_0x3c7f9f,index:_0x53df52,fieldId:_0x5ba3f5}=_0x39b194,_0x1e44e6=_0x139afb[_0x1a8276(0x239)](_0x5623f7);if(!_0x1e44e6)return!0x1;_0x1e44e6[_0x1a8276(0x201)](_0x5ba3f5,_0x3c7f9f,_0x53df52);const _0x5a3542=_0x139afb['getPivotTableModelConfig'](_0x41631b,_0x16b1bf,_0x5623f7);return _0x3c49a6(_0x5a3542,_0x39b194),_0x139afb[_0x1a8276(0x200)]({'unitId':_0x41631b,'subUnitId':_0x16b1bf,'token':_0x5623f7,'type':_0x332641['Set']}),!0x0;}},_0x5bb33c={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x3b6879,_0x266cbc){const _0x1e9a82=_0x416ec5;if(!_0x266cbc)return!0x1;if(!!_0x3b6879[_0x1e9a82(0x31f)](_0x5872ef[_0x1e9a82(0x23b)])[_0x1e9a82(0x497)](_0x172560))return!0x0;const _0x412671=_0x3b6879['get'](_0x26ed3e[_0x1e9a82(0x3a7)]),{unitId:_0x463f2c,subUnitId:_0x14a1fc,pivotTableId:_0xdabe25,sourceName:_0x5518bb,dataFieldId:_0x4148f6,tableFieldId:_0x48958d}=_0x266cbc,_0x566bf9=_0x412671[_0x1e9a82(0x239)](_0xdabe25);if(!_0x566bf9)return!0x1;_0x566bf9[_0x1e9a82(0x3c1)](_0x48958d,_0x5518bb,_0x4148f6);const _0x45d5fb=_0x412671[_0x1e9a82(0x362)](_0x463f2c,_0x14a1fc,_0xdabe25);return _0xb8dce7(_0x45d5fb,_0x266cbc),_0x412671[_0x1e9a82(0x200)]({'unitId':_0x463f2c,'subUnitId':_0x14a1fc,'token':_0xdabe25,'type':_0x332641[_0x1e9a82(0x32f)]}),!0x0;}},_0x54ff3c={'type':_0x5872ef[_0x416ec5(0x47c)]['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x127904,_0x1d2dad){const _0x420357=_0x416ec5;if(!_0x1d2dad)return!0x1;if(!!_0x127904[_0x420357(0x31f)](_0x5872ef['IConfigService'])['getConfig'](_0x172560))return!0x0;const _0x30d9b3=_0x127904[_0x420357(0x31f)](_0x26ed3e[_0x420357(0x3a7)]),{unitId:_0x32798,subUnitId:_0x113b68,pivotTableId:_0x1becc4,valuePosition:_0x547557,index:_0x23a32d}=_0x1d2dad,_0x4599e5=_0x30d9b3[_0x420357(0x239)](_0x1becc4);if(!_0x4599e5)return!0x1;_0x4599e5[_0x420357(0x252)](_0x547557,_0x23a32d);const _0x323076=_0x30d9b3['getPivotTableModelConfig'](_0x32798,_0x113b68,_0x1becc4);return _0x4dac52(_0x323076,_0x1d2dad),_0x30d9b3[_0x420357(0x200)]({'unitId':_0x32798,'subUnitId':_0x113b68,'token':_0x1becc4,'type':_0x332641[_0x420357(0x32f)]}),!0x0;}};function _0x321aa6(_0x2fefb4,_0x228ee5,_0xba7ff7){const _0x26a50f=_0x416ec5,{pivotTableId:_0x51498b,unitId:_0x42056e,subUnitId:_0xe8bca0}=_0x228ee5,_0x95dcd0=[],_0x48dbb7=[];for(const _0x371382 of _0xba7ff7)switch(_0x371382[_0x26a50f(0x352)]){case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x41d)]:{const {fieldJson:_0x58756b,area:_0x291fca,index:_0x28e837}=_0x371382,_0x8635df={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldJson':_0x58756b,'area':_0x291fca,'index':_0x28e837},_0x1fa420={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x58756b['id'],'area':_0x291fca,'index':_0x28e837};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x1e2cce['id'],'params':_0x8635df}),_0x48dbb7[_0x26a50f(0x217)]({'id':_0x30bb9e['id'],'params':_0x1fa420});}break;case _0x3a648e[_0x26a50f(0x377)]['SetSubtotalType']:{const {fieldId:_0x1eb761,newSubtotalType:_0x9c4bf0,oldSubtotalType:_0xda138e}=_0x371382,_0x118fb5={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x1eb761,'subtotalType':_0x9c4bf0};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x3fac23['id'],'params':_0x118fb5});const _0x108f07={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x1eb761,'subtotalType':_0xda138e};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x3fac23['id'],'params':_0x108f07});}break;case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x42d)]:{const {fieldId:_0x42d152,fieldJson:_0x3c7554,area:_0x530a86,index:_0x3504f7}=_0x371382,_0x5a8f33={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x42d152,'index':_0x3504f7,'area':_0x530a86};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x30bb9e['id'],'params':_0x5a8f33});const _0x2e89ff={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldJson':_0x3c7554,'area':_0x530a86,'index':_0x3504f7};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x1e2cce['id'],'params':_0x2e89ff});}break;case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x49b)]:{const {fieldId:_0x3de906,oldName:_0x1e93d6,newName:_0xd8625b}=_0x371382,_0x293a05={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x3de906,'name':_0xd8625b};_0x95dcd0['push']({'id':_0x100ec4['id'],'params':_0x293a05});const _0x1a8c82={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x3de906,'name':_0x1e93d6};_0x48dbb7['unshift']({'id':_0x100ec4['id'],'params':_0x1a8c82});}break;case _0x3a648e[_0x26a50f(0x377)]['SetFilterInfo']:{const {fieldId:_0x1336bf,oldFilterInfo:_0x74f4fe,newFilterInfo:_0x40c146}=_0x371382,_0x3ebbf7={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x1336bf,'filterInfo':_0x40c146};_0x95dcd0['push']({'id':_0x62ed2e['id'],'params':_0x3ebbf7});const _0x54af4e={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x1336bf,'filterInfo':_0x74f4fe};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x62ed2e['id'],'params':_0x54af4e});}break;case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x32b)]:{const {fieldId:_0x46e9f,oldSortInfo:_0x5df10f,newSortInfo:_0x29d54f}=_0x371382,_0x4f8746={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x46e9f,'sortInfo':_0x29d54f};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x31dcf8['id'],'params':_0x4f8746});const _0xd3fa23={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x46e9f,'sortInfo':_0x5df10f};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x31dcf8['id'],'params':_0xd3fa23});}break;case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x4a4)]:{const {oldOptions:_0x106637,newOptions:_0x49f605}=_0x371382,_0x245f7f={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'options':_0x49f605};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x4fdd09['id'],'params':_0x245f7f});const _0x367ecc={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'options':_0x106637};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x4fdd09['id'],'params':_0x367ecc});}break;case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x2b4)]:{const {oldArea:_0x94a49e,newArea:_0x3bfd49,oldIndex:_0x3b134f,newIndex:_0x215f55,fieldId:_0x2b6dae}=_0x371382,_0x51fe6d={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x2b6dae,'area':_0x3bfd49,'index':_0x215f55,'oldArea':_0x94a49e,'oldIndex':_0x3b134f};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x8fd9c9['id'],'params':_0x51fe6d});const _0x330a9c={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x2b6dae,'area':_0x94a49e,'index':_0x3b134f,'oldArea':_0x3bfd49,'oldIndex':_0x215f55};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x8fd9c9['id'],'params':_0x330a9c});}break;case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x364)]:{const {oldValuePosition:_0x55b26a,newValuePosition:_0x129c60,oldIndex:_0xf107e5,newIndex:_0x28d601}=_0x371382,_0x20c7e1={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'valuePosition':_0x129c60,'index':_0x28d601};_0x95dcd0['push']({'id':_0x54ff3c['id'],'params':_0x20c7e1});const _0x396103={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'valuePosition':_0x55b26a,'index':_0xf107e5};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x54ff3c['id'],'params':_0x396103});}break;case _0x3a648e[_0x26a50f(0x377)]['SetCollapse']:{const {fieldId:_0x227304,collapse:_0x7b759d,item:_0x1bcd3e}=_0x371382,_0x8280c={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x227304,'collapse':_0x7b759d,'item':_0x1bcd3e};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x392ea7['id'],'params':_0x8280c});const _0x54ab81={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x227304,'collapse':!_0x7b759d,'item':_0x1bcd3e};_0x48dbb7['unshift']({'id':_0x392ea7['id'],'params':_0x54ab81});}break;case _0x3a648e[_0x26a50f(0x377)]['SetFieldFormat']:{const {newFormat:_0xe61c51,oldFormat:_0x5a2a68,fieldId:_0x4bdcc0}=_0x371382,_0x3bfbe9={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x4bdcc0,'format':_0xe61c51};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x46b6ee['id'],'params':_0x3bfbe9});const _0x29089b={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x4bdcc0,'format':_0x5a2a68};_0x48dbb7['unshift']({'id':_0x46b6ee['id'],'params':_0x29089b});}break;case _0x3a648e[_0x26a50f(0x377)]['UpdateSource']:{const {tableFieldId:_0x23c500,oldSourceName:_0x484bcd,newSourceName:_0x464014,oldDataFieldId:_0x5aee14,newDataFieldId:_0x41e490}=_0x371382,_0x2f7e7e={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'tableFieldId':_0x23c500,'sourceName':_0x464014,'dataFieldId':_0x41e490};_0x95dcd0[_0x26a50f(0x410)]({'id':_0x5bb33c['id'],'params':_0x2f7e7e});const _0x286c24={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'tableFieldId':_0x23c500,'sourceName':_0x484bcd,'dataFieldId':_0x5aee14};_0x48dbb7[_0x26a50f(0x217)]({'id':_0x5bb33c['id'],'params':_0x286c24});}break;case _0x3a648e[_0x26a50f(0x377)][_0x26a50f(0x3f0)]:{const {fieldId:_0x5ab4af,filterInfo:_0x2394ee,oldFilterInfo:_0x26ace5}=_0x371382,_0x47aaa7={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x5ab4af,'filterInfo':_0x2394ee};_0x95dcd0['push']({'id':_0x580014['id'],'params':_0x47aaa7});const _0x3affca={'unitId':_0x42056e,'subUnitId':_0xe8bca0,'pivotTableId':_0x51498b,'fieldId':_0x5ab4af,'filterInfo':_0x26ace5};_0x48dbb7['unshift']({'id':_0x580014['id'],'params':_0x3affca});}}return{'redos':_0x95dcd0,'undos':_0x48dbb7};}function _0xbe718d(_0xf334ae,_0x430966){const _0x43d274=_0x416ec5;var _0x273c91;const _0x14f7c9=_0xf334ae[_0x43d274(0x31f)](_0x26ed3e[_0x43d274(0x329)]),{cellInfo:_0x289c9c,view:_0x1ac677,isEmpty:_0x12d25c}=_0x430966;return(_0x273c91=_0x14f7c9[_0x43d274(0x345)][_0x43d274(0x2cf)](_0x359aec)(_0x1fa216,{'cellInfo':_0x289c9c,'view':_0x1ac677,'isEmpty':_0x12d25c}))!=null?_0x273c91:_0x1fa216;}const _0x5dc486=()=>typeof process<'u'&&process[_0x416ec5(0x223)]!=null&&process[_0x416ec5(0x223)]['node']!=null,_0x5625ee={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x500),'handler'(_0x24130a,_0x1d7107){const _0x3b5c8c=_0x416ec5;var _0x3d0ba8;if(!_0x1d7107)return!0x1;const _0x319968=_0x24130a[_0x3b5c8c(0x31f)](_0x5872ef[_0x3b5c8c(0x23b)]);if(!!_0x319968['getConfig'](_0x172560))return!0x0;const _0x4564e2=_0x24130a[_0x3b5c8c(0x31f)](_0x5872ef[_0x3b5c8c(0x458)]),_0xb1b429=_0x24130a[_0x3b5c8c(0x31f)](_0x26ed3e[_0x3b5c8c(0x3a7)]),{pivotTableId:_0x426dfc,pivotTableConfig:_0x175941,collectionConfig:_0x59ec6a,unitId:_0x3f3146,subUnitId:_0xfd86cc}=_0x1d7107,{sourceRangeInfo:_0x133ebc,fieldsConfig:_0x2161f3,targetCellInfo:_0x41a513}=_0x175941,_0x1deb4e=_0x4564e2[_0x3b5c8c(0x2cd)](_0x3f3146);if(!_0x1deb4e||!_0x1deb4e[_0x3b5c8c(0x4ac)](_0xfd86cc))return!0x1;if(!_0x5dc486()){let _0x225535=0x0;_0x1deb4e[_0x3b5c8c(0x32a)]()['forEach'](_0x272009=>{const _0x300e4d=_0x3b5c8c;var _0x2cd2b6,_0x51d779;_0x225535+=(_0x51d779=(_0x2cd2b6=_0xb1b429[_0x300e4d(0x396)](_0x3f3146,_0x272009['getSheetId']()))==null?void 0x0:_0x2cd2b6['size'])!=null?_0x51d779:0x0;});const _0x323da7=(_0x3d0ba8=_0x319968[_0x3b5c8c(0x497)](_0x3f0b91[_0x3b5c8c(0x46d)]))!=null?_0x3d0ba8:{},{ls:_0x2d70bd,pbk:_0x132688}=_0x323da7;if(!_0x403e9c(_0x2d70bd,_0x132688))throw new _0x5872ef['CustomCommandExecutionError']('limit\x20pivot');const _0x183dc7=_0x3f5617(_0x59c5c1,_0x2d70bd,_0x132688)[_0x3b5c8c(0x1fc)];if(_0x225535>=_0x183dc7)throw new _0x5872ef[(_0x3b5c8c(0x2e5))](_0x3b5c8c(0x3c4));}if(!_0x59ec6a||!_0x2161f3)return!0x1;const {collection:_0x254f8c,updateDataFieldList:_0x2a8fb3}=_0xb1b429['addCollectionByJSON'](_0x426dfc,_0x59ec6a,_0x133ebc,_0x41a513);_0xb1b429[_0x3b5c8c(0x3df)](_0x254f8c,_0x2a8fb3,_0x133ebc);const _0x1b438c=new _0x3a648e[(_0x3b5c8c(0x279))](_0x254f8c,void 0x0,_0x426dfc);_0x1b438c[_0x3b5c8c(0x29b)](_0x2161f3);const _0x54a0ba=JSON[_0x3b5c8c(0x4ed)](JSON['stringify'](_0x175941));return _0xb1b429[_0x3b5c8c(0x389)](_0x3f3146,_0xfd86cc,_0x426dfc,_0x1b438c,_0x54a0ba),_0xb1b429[_0x3b5c8c(0x200)]({'unitId':_0x3f3146,'subUnitId':_0xfd86cc,'token':_0x426dfc,'type':_0x332641[_0x3b5c8c(0x308)],'pivotConfig':_0x54a0ba}),!0x0;}},_0x21961c={'type':_0x5872ef['CommandType'][_0x416ec5(0x4c9)],'id':_0x416ec5(0x263),'handler'(_0x269c0c,_0x2393f0){const _0x550f28=_0x416ec5;if(!_0x2393f0)return!0x1;if(!!_0x269c0c[_0x550f28(0x31f)](_0x5872ef['IConfigService'])[_0x550f28(0x497)](_0x172560))return!0x0;const {pivotTableId:_0x1c087b,unitId:_0x4c1b77,subUnitId:_0x3eacdc}=_0x2393f0,_0x2ebc96=_0x269c0c[_0x550f28(0x31f)](_0x26ed3e[_0x550f28(0x3a7)]);return _0x2ebc96[_0x550f28(0x474)](_0x4c1b77,_0x3eacdc,_0x1c087b)?(_0x2ebc96[_0x550f28(0x200)]({'unitId':_0x4c1b77,'subUnitId':_0x3eacdc,'token':_0x1c087b,'type':_0x332641[_0x550f28(0x256)]}),_0x2ebc96[_0x550f28(0x277)](_0x4c1b77,_0x3eacdc,_0x1c087b),!0x0):!0x1;}},_0x2e570d={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'id':_0x416ec5(0x31b),'handler'(_0x3a1845,_0x5754c3){const _0x21475b=_0x416ec5;if(!_0x5754c3)return!0x1;if(!!_0x3a1845[_0x21475b(0x31f)](_0x5872ef[_0x21475b(0x23b)])[_0x21475b(0x497)](_0x172560))return!0x0;const {pivotTableId:_0x4e74e9,targetCellPosition:_0x5e3593,unitId:_0x172959,subUnitId:_0x4e03c0}=_0x5754c3,_0x2c6c48=_0x3a1845[_0x21475b(0x31f)](_0x26ed3e[_0x21475b(0x3a7)]);if(!_0x2c6c48['getPivotTableInstance'](_0x5754c3[_0x21475b(0x208)]))return!0x1;const _0x35dada=_0x2c6c48[_0x21475b(0x446)](_0x4e74e9);if(!_0x35dada)return!0x1;const _0x5b89b7=_0x2c6c48[_0x21475b(0x3f3)](_0x35dada['unitId'],_0x5754c3[_0x21475b(0x208)]);if(!_0x5b89b7)return!0x1;const _0x5e452b=_0x2c6c48[_0x21475b(0x474)](_0x35dada[_0x21475b(0x484)],_0x35dada['subUnitId'],_0x4e74e9);if(!_0x5e452b)return!0x1;const _0x413582=_0x5872ef[_0x21475b(0x2b5)][_0x21475b(0x351)](_0x5e452b);_0x413582[_0x21475b(0x455)]={'unitId':_0x172959,'subUnitId':_0x4e03c0,'row':_0x5e3593[_0x21475b(0x451)],'col':_0x5e3593[_0x21475b(0x2dd)]};const _0x11fa5c=_0x5b89b7[_0x21475b(0x2d9)]();if(_0x35dada['subUnitId']===_0x4e03c0&&_0x35dada['unitId']===_0x172959)_0x2c6c48[_0x21475b(0x503)](_0x172959,_0x4e03c0,_0x4e74e9,_0x413582),_0x2c6c48[_0x21475b(0x200)]({'unitId':_0x172959,'subUnitId':_0x4e03c0,'token':_0x4e74e9,'type':_0x332641[_0x21475b(0x32f)]});else{_0x2c6c48[_0x21475b(0x200)]({'unitId':_0x35dada[_0x21475b(0x484)],'subUnitId':_0x35dada[_0x21475b(0x4b9)],'token':_0x4e74e9,'type':_0x332641[_0x21475b(0x256)]}),_0x2c6c48[_0x21475b(0x277)](_0x35dada[_0x21475b(0x484)],_0x35dada['subUnitId'],_0x4e74e9);const _0x331d3d=_0x2c6c48[_0x21475b(0x22f)](_0x4e74e9,_0x11fa5c,_0x5e452b[_0x21475b(0x26c)],_0x413582[_0x21475b(0x455)]),_0x2b6384=new _0x3a648e[(_0x21475b(0x279))](_0x331d3d[_0x21475b(0x4ce)],void 0x0,_0x4e74e9);_0x2b6384['fromJSON'](_0x413582[_0x21475b(0x332)]),_0x2c6c48[_0x21475b(0x389)](_0x172959,_0x4e03c0,_0x4e74e9,_0x2b6384,_0x413582),_0x2c6c48[_0x21475b(0x200)]({'unitId':_0x172959,'subUnitId':_0x4e03c0,'token':_0x4e74e9,'type':_0x332641[_0x21475b(0x308)],'pivotConfig':_0x413582});}return!0x0;}},_0x36859b={'type':_0x5872ef[_0x416ec5(0x47c)]['MUTATION'],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x3db88f,_0x3b50fc){const _0x1419d7=_0x416ec5;if(!_0x3b50fc)return!0x1;if(!!_0x3db88f[_0x1419d7(0x31f)](_0x5872ef[_0x1419d7(0x23b)])[_0x1419d7(0x497)](_0x172560))return!0x0;const _0x3b6077=_0x3db88f[_0x1419d7(0x31f)](_0x26ed3e[_0x1419d7(0x3a7)]),{pivotTableId:_0x3813c8,deleteIds:_0x3e135b,collectionJSON:_0x4e4574,dataRangeInfo:_0x2dd69d,unitId:_0x236f8f,subUnitId:_0x29fcba}=_0x3b50fc,_0x352d44=_0x3b6077['getPivotTableInstance'](_0x3813c8),_0x45f8d8=_0x3b6077[_0x1419d7(0x474)](_0x236f8f,_0x29fcba,_0x3813c8);if(!_0x352d44||!_0x45f8d8)return!0x1;const {collection:_0x4a03f6,updateDataFieldList:_0x33b5b5}=_0x3b6077[_0x1419d7(0x22f)](_0x3813c8,_0x4e4574,_0x2dd69d,_0x45f8d8[_0x1419d7(0x455)]);_0x3b6077[_0x1419d7(0x3df)](_0x4a03f6,_0x33b5b5,_0x2dd69d),_0x352d44[_0x1419d7(0x4c0)](_0x4a03f6);for(const _0x4f3cc4 of _0x3e135b)_0x3b6077[_0x1419d7(0x36f)](_0x2dd69d['unitId'],_0x4f3cc4);const _0x27e9e1=_0x3b6077[_0x1419d7(0x474)](_0x236f8f,_0x29fcba,_0x3813c8);return _0x27e9e1[_0x1419d7(0x26c)]=JSON['parse'](JSON['stringify'](_0x2dd69d)),_0x3b6077[_0x1419d7(0x200)]({'unitId':_0x236f8f,'subUnitId':_0x29fcba,'token':_0x3813c8,'type':_0x332641[_0x1419d7(0x32f)]}),!0x0;}},_0x17a43d={'type':_0x5872ef['CommandType'][_0x416ec5(0x4c9)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x1329dd=Object[_0x416ec5(0x422)],_0x5e4820=(_0x16368f,_0x33d372,_0x5b4aab,_0x476540)=>{for(var _0x384b3a=_0x476540>0x1?void 0x0:_0x476540?_0x1329dd(_0x33d372,_0x5b4aab):_0x33d372,_0x52c240=_0x16368f['length']-0x1,_0xa60455;_0x52c240>=0x0;_0x52c240--)(_0xa60455=_0x16368f[_0x52c240])&&(_0x384b3a=_0xa60455(_0x384b3a)||_0x384b3a);return _0x384b3a;},_0x374516=(_0x3f7060,_0x455357)=>(_0xe28b43,_0x26b4ed)=>_0x455357(_0xe28b43,_0x26b4ed,_0x3f7060);_0x26ed3e[_0x416ec5(0x39f)]=class extends _0x5872ef['Disposable']{constructor(_0x42489d,_0x1c13d2){const _0x4eec82=_0x416ec5;super(),_0x48e53f(this,_0x4eec82(0x432),new Map()),(this[_0x4eec82(0x2c8)]=_0x42489d,this[_0x4eec82(0x3d3)]=_0x1c13d2);}[_0x416ec5(0x40e)](_0x24934b){const _0x4fe6b4=_0x416ec5,{version:_0x4d02fa}=_0x24934b,_0x3f1ab5=this[_0x4fe6b4(0x432)][_0x4fe6b4(0x31f)](_0x4d02fa);_0x3f1ab5&&(_0x3f1ab5(_0x24934b),this[_0x4fe6b4(0x432)][_0x4fe6b4(0x3e3)](_0x4d02fa));}['getPivotDisplayConfig'](_0x1a6c4e){return new Promise((_0x539ac4,_0x39a58c)=>{const _0x56be57=_0x390b,_0x14bb81=this['_generateUniqueVersion']();this['_requestResolvers'][_0x56be57(0x3dc)](_0x14bb81,_0x539ac4),this[_0x56be57(0x3d3)][_0x56be57(0x4c1)](_0x31b05d['id'],{'version':_0x14bb81,..._0x1a6c4e},{'onlyLocal':!0x0});});}[_0x416ec5(0x26f)](){const _0x1d3d92=_0x416ec5;return Math[_0x1d3d92(0x2ef)]()[_0x1d3d92(0x39d)](0x24)[_0x1d3d92(0x483)](0x2,0x10);}},_0x26ed3e[_0x416ec5(0x39f)]=_0x5e4820([_0x374516(0x0,_0x5872ef['Inject'](_0x5872ef[_0x416ec5(0x428)])),_0x374516(0x1,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x452)]))],_0x26ed3e[_0x416ec5(0x39f)]);const _0x4767bd={'id':_0x416ec5(0x43e),'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'handler':(_0x5d3f05,_0x143c9c)=>{const _0x16f858=_0x416ec5;if(!_0x143c9c)return!0x1;if(!!_0x5d3f05[_0x16f858(0x31f)](_0x5872ef['IConfigService'])['getConfig'](_0x172560))return!0x0;const {pivotTableId:_0x4d6c1e,fieldJSON:_0x56e09,unitId:_0x2d774f,subUnitId:_0x35ff52}=_0x143c9c,_0x2849f1=_0x3a648e[_0x16f858(0x372)][_0x16f858(0x29b)](_0x56e09);if(!_0x2849f1)return!0x1;const _0x1882f4=_0x5d3f05[_0x16f858(0x31f)](_0x26ed3e[_0x16f858(0x3a7)]),_0x5cddfe=_0x1882f4['getDataFieldManager'](_0x2d774f),_0x1325e6=_0x5cddfe[_0x16f858(0x3f3)](_0x4d6c1e);_0x5cddfe['addDataFieldWithoutUnitInfo'](_0x2849f1),_0x1325e6[_0x16f858(0x358)](_0x2849f1[_0x16f858(0x21c)](),_0x2849f1[_0x16f858(0x40b)]());const _0x25fefe=_0x1325e6[_0x16f858(0x260)](_0x2849f1[_0x16f858(0x21f)]());_0x25fefe&&_0x2849f1[_0x16f858(0x281)](_0x25fefe);const _0x16b09f=_0x1882f4[_0x16f858(0x474)](_0x2d774f,_0x35ff52,_0x4d6c1e);return _0x1882f4[_0x16f858(0x200)]({'unitId':_0x2d774f,'subUnitId':_0x35ff52,'token':_0x4d6c1e,'type':_0x332641[_0x16f858(0x32f)],'pivotConfig':_0x16b09f}),!0x0;}},_0x363dbe={'id':'sheet.mutation.remove-group-collection','type':_0x5872ef[_0x416ec5(0x47c)]['MUTATION'],'handler':(_0x3b7660,_0xcb9898)=>{const _0x32dc26=_0x416ec5;if(!_0xcb9898)return!0x1;if(!!_0x3b7660[_0x32dc26(0x31f)](_0x5872ef[_0x32dc26(0x23b)])[_0x32dc26(0x497)](_0x172560))return!0x0;const {pivotTableId:_0x3badeb,dataFieldId:_0x47ffa0,unitId:_0x3d7b14,subUnitId:_0x41924b}=_0xcb9898,_0x44487a=_0x3b7660['get'](_0x26ed3e[_0x32dc26(0x3a7)]),_0x53f16d=_0x44487a[_0x32dc26(0x4c4)](_0x3d7b14);_0x53f16d[_0x32dc26(0x3f3)](_0x3badeb)[_0x32dc26(0x371)](_0x47ffa0);let _0x346624=!0x0;for(const _0x56b42e in _0x53f16d[_0x32dc26(0x415)])if(_0x53f16d[_0x32dc26(0x415)][_0x56b42e]['getFieldIds']()[_0x32dc26(0x3d5)](_0x47ffa0)){_0x346624=!0x1;break;}_0x346624&&_0x53f16d[_0x32dc26(0x237)](_0x47ffa0);const _0x24cbba=_0x44487a[_0x32dc26(0x474)](_0x3d7b14,_0x41924b,_0x3badeb);return _0x44487a[_0x32dc26(0x200)]({'unitId':_0x3d7b14,'subUnitId':_0x41924b,'token':_0x3badeb,'type':_0x332641[_0x32dc26(0x32f)],'pivotConfig':_0x24cbba}),!0x0;}},_0x87ca7e={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':_0x416ec5(0x369),async 'handler'(_0x80972d,_0x423270){const _0x56dfa7=_0x416ec5;if(!_0x423270)return!0x1;const _0x281542=_0x80972d[_0x56dfa7(0x31f)](_0x5872ef['ICommandService']),_0x396797=_0x80972d['get'](_0x26ed3e[_0x56dfa7(0x39f)]),_0xdecf47=_0x80972d[_0x56dfa7(0x31f)](_0x5872ef[_0x56dfa7(0x4af)]),{pivotTableId:_0x5b0025,dataFieldId:_0x58dc27,fieldArea:_0xcaf98b,index:_0x106ea5,unitId:_0x5e5b3f,subUnitId:_0x585744}=_0x423270,_0x5845d9=(await _0x396797[_0x56dfa7(0x3ca)]({'unitId':_0x5e5b3f,'subUnitId':_0x585744,'pivotTableId':_0x5b0025,'params':{'type':_0x33ccae[_0x56dfa7(0x4cd)],'addPivotField':{'dataFieldId':_0x58dc27,'fieldArea':_0xcaf98b,'index':_0x106ea5}}}))[_0x56dfa7(0x4ef)][_0x56dfa7(0x1f8)];if(!_0x5845d9)return!0x1;const {view:_0xc00f0,changesets:_0xbc035b,isEmpty:_0x537827,pivotTableConfig:_0x5873a0,shouldBeAddedGroupJSON:_0x3f0103}=_0x5845d9,_0x2015c6=_0x5873a0[_0x56dfa7(0x455)],_0x35be17=new _0x3a648e[(_0x56dfa7(0x2da))]();_0x35be17[_0x56dfa7(0x350)](_0xc00f0);const _0xd9f63f={'cellInfo':_0x2015c6,'view':_0x35be17,'isEmpty':_0x537827};if(!await _0x80972d[_0x56dfa7(0x31f)](_0x26ed3e[_0x56dfa7(0x329)])[_0x56dfa7(0x46a)][_0x56dfa7(0x32e)](_0x443267)(!0x0,_0xd9f63f))return!0x1;const _0x273e2f=_0x320216(_0x80972d,_0x35be17,_0x2015c6,_0x537827),_0x5b4070=_0xbe718d(_0x80972d,_0xd9f63f),{undos:_0x3a9b49,redos:_0x53409c}=_0x321aa6(_0x281542,{'pivotTableId':_0x5b0025,'unitId':_0x5e5b3f,'subUnitId':_0x585744},_0xbc035b);return _0x3f0103&&(_0x53409c[_0x56dfa7(0x217)]({'id':_0x4767bd['id'],'params':{'pivotTableId':_0x5b0025,'fieldJSON':_0x3f0103,'unitId':_0x5e5b3f,'subUnitId':_0x585744}}),_0x3a9b49[_0x56dfa7(0x410)]({'id':_0x363dbe['id'],'params':{'pivotTableId':_0x5b0025,'dataFieldId':_0x3f0103['id'],'unitId':_0x5e5b3f,'subUnitId':_0x585744}})),_0x5872ef[_0x56dfa7(0x48c)]([..._0x273e2f[_0x56dfa7(0x2bf)],..._0x5b4070['redos'],..._0x53409c],_0x281542),_0xdecf47[_0x56dfa7(0x4df)]({'unitID':_0x5e5b3f,'redoMutations':[..._0x273e2f[_0x56dfa7(0x2bf)],..._0x5b4070[_0x56dfa7(0x2bf)],..._0x53409c],'undoMutations':[..._0x273e2f['undos'],..._0x5b4070[_0x56dfa7(0x453)],..._0x3a9b49]}),!0x0;}},_0x54d42f={'type':_0x5872ef['CommandType'][_0x416ec5(0x49d)],'id':_0x416ec5(0x3a9),async 'handler'(_0x3d0347,_0x488475){const _0x55a74c=_0x416ec5;if(!_0x488475)return!0x1;const {sourceDataInfo:_0x409c12,pivotTableConfig:_0x4966b1}=_0x488475;if(!_0x409c12||!_0x4966b1)return!0x1;const {unitId:_0x28866c,subUnitId:_0x474955,range:_0x2286d5}=_0x409c12,_0x27c3b2=_0x3d0347[_0x55a74c(0x31f)](_0x5872ef[_0x55a74c(0x458)]),_0x59b3aa=_0x3d0347[_0x55a74c(0x31f)](_0x26ed3e['SheetsPivotRPCService']),_0x253e62=_0x3d0347['get'](_0x5872ef['LocaleService']),_0x1cd96f=_0x3d0347[_0x55a74c(0x31f)](_0x5872ef[_0x55a74c(0x452)]),_0x40f420=_0x27c3b2['getUnit'](_0x28866c);if(!_0x40f420)return!0x1;const _0x1b7e94=_0x40f420[_0x55a74c(0x4ac)](_0x474955);if(!_0x1b7e94)return!0x1;const _0x5ac72b=_0x3a648e[_0x55a74c(0x490)](0x8),_0x3e3f64=_0x2286d5||{'startRow':0x0,'startColumn':0x0,'endRow':_0x1b7e94[_0x55a74c(0x3eb)]()-0x1,'endColumn':_0x1b7e94[_0x55a74c(0x385)]()-0x1};_0x3e3f64['rangeType']=_0x5872ef['RANGE_TYPE'][_0x55a74c(0x335)];const _0x5706eb=(await _0x59b3aa['getPivotDisplayConfig']({'unitId':_0x28866c,'subUnitId':_0x474955,'pivotTableId':_0x5ac72b,'params':{'type':_0x33ccae[_0x55a74c(0x39e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x28866c,'sheetName':_0x1b7e94[_0x55a74c(0x40b)](),'subUnitId':_0x474955,'range':_0x3e3f64},'pivotTableId':_0x5ac72b,'pivotTableIndexConfig':_0x4966b1}}}))['result'][_0x55a74c(0x327)];if(!_0x5706eb)return!0x1;const {isEmpty:_0xc00f5b,fieldsConfig:_0x50bcdc,collectionConfig:_0x3992ee,changesets:_0x57fd14}=_0x5706eb,_0x527ca8=_0x40f420['getSheets']()['length'],_0x1bcf13=_0x5872ef[_0x55a74c(0x267)]({'rowCount':_0x1b7e94[_0x55a74c(0x3eb)]()-0x1,'columnCount':_0x1b7e94[_0x55a74c(0x385)]()-0x1});_0x1bcf13['id']=_0x5872ef['generateRandomId'](),_0x1bcf13[_0x55a74c(0x496)]=_0x40f420['generateNewSheetName'](''+_0x253e62['t'](_0x55a74c(0x219)));const _0xa886e6={'index':_0x527ca8,'sheet':_0x1bcf13,'unitId':_0x28866c},{redos:_0x41d301}=_0x321aa6(_0x1cd96f,{'pivotTableId':_0x5ac72b,'unitId':_0x28866c,'subUnitId':_0x1bcf13['id']},_0x57fd14),_0x935b6=[{'id':_0x16809e[_0x55a74c(0x3c9)]['id'],'params':_0xa886e6},{'id':_0x5625ee['id'],'params':{'unitId':_0x28866c,'subUnitId':_0x1bcf13['id'],'pivotTableId':_0x5ac72b,'pivotTableConfig':{'isEmpty':_0xc00f5b,'fieldsConfig':_0x50bcdc,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x28866c,'subUnitId':_0x1bcf13['id']},'sourceRangeInfo':{'subUnitId':_0x474955,'unitId':_0x28866c,'range':_0x3e3f64,'sheetName':_0x1b7e94[_0x55a74c(0x40b)]()}},'collectionConfig':_0x3992ee}},..._0x41d301];return _0x5872ef[_0x55a74c(0x48c)](_0x935b6,_0x1cd96f),!0x0;}},_0x4dddb4={'type':_0x5872ef[_0x416ec5(0x47c)]['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x281788,_0x3a0a6d){const _0x55b69a=_0x416ec5;var _0x5830fa,_0x2d7003;const _0x3f5202=_0x281788[_0x55b69a(0x31f)](_0x5872ef['ICommandService']),_0x544a34=_0x281788[_0x55b69a(0x31f)](_0x5872ef['IUniverInstanceService']),_0x65219a=_0x281788[_0x55b69a(0x31f)](_0x5872ef[_0x55b69a(0x35d)]),_0x3ba9eb=_0x281788['get'](_0x26ed3e[_0x55b69a(0x39f)]),_0x1713a4=_0x281788['get'](_0x5872ef[_0x55b69a(0x4af)]),_0x2da986=_0x281788[_0x55b69a(0x31f)](_0x26ed3e[_0x55b69a(0x4c7)]),_0x6c91db=_0x281788[_0x55b69a(0x31f)](_0x5872ef[_0x55b69a(0x23b)]);if(!_0x3a0a6d)return!0x1;const {pivotTableConfig:_0x2cac8f,positionType:_0x80ec16}=_0x3a0a6d,{targetCellInfo:_0x1c1a2c,sourceRangeInfo:_0x498063}=_0x2cac8f,{unitId:_0x413aaa,subUnitId:_0x24b02d}=_0x1c1a2c,_0x2636be=_0x544a34[_0x55b69a(0x2cd)](_0x413aaa);if(!_0x2636be)return!0x1;let _0x401134=0x0;_0x2636be[_0x55b69a(0x32a)]()['forEach'](_0x295605=>{const _0x2cdeb8=_0x55b69a;var _0x43b776,_0x368304;_0x401134+=(_0x368304=(_0x43b776=_0x2da986[_0x2cdeb8(0x396)](_0x413aaa,_0x295605[_0x2cdeb8(0x3ce)]()))==null?void 0x0:_0x43b776[_0x2cdeb8(0x2ad)])!=null?_0x368304:0x0;});const _0x2f17c6=(_0x5830fa=_0x6c91db[_0x55b69a(0x497)](_0x3f0b91['LS_CONFIG_KEY']))!=null?_0x5830fa:{},{ls:_0x460fc6,pbk:_0x2b6b19}=_0x2f17c6;if(!_0x403e9c(_0x460fc6,_0x2b6b19))return!0x1;const _0x212b1=_0x3f5617(_0x59c5c1,_0x460fc6,_0x2b6b19)[_0x55b69a(0x1fc)];if(_0x401134>=_0x212b1)return!0x1;const _0x2da4bb=_0x3a0a6d['pivotTableId']||_0x3a648e[_0x55b69a(0x490)](0x8),_0x3c74bb=(await _0x3ba9eb['getPivotDisplayConfig']({'unitId':_0x413aaa,'subUnitId':_0x24b02d,'pivotTableId':_0x2da4bb,'params':{'type':_0x33ccae[_0x55b69a(0x317)],'addPivotTable':{'sourceRangeInfo':_0x498063,'pivotTableId':_0x2da4bb}}}))[_0x55b69a(0x4ef)][_0x55b69a(0x389)];if(!_0x3c74bb)return!0x1;const {view:_0x2944f6,isEmpty:_0xa874d1,fieldsConfig:_0x3e83d8,collectionConfig:_0x5bf566}=_0x3c74bb,_0x4b1d25=[],_0x57e524=[];if(_0x80ec16===_0x732243[_0x55b69a(0x236)]){const _0xd512dd=_0x2636be[_0x55b69a(0x32a)]()[_0x55b69a(0x2a9)],_0x4ee8cc=_0x5872ef[_0x55b69a(0x267)]({});_0x4ee8cc['id']=_0x2cac8f['targetCellInfo'][_0x55b69a(0x4b9)],_0x4ee8cc[_0x55b69a(0x496)]=(_0x2d7003=_0x2cac8f[_0x55b69a(0x455)]['sheetName'])!=null?_0x2d7003:_0x2636be[_0x55b69a(0x3d6)](''+_0x65219a['t'](_0x55b69a(0x219)));const _0x576d30={'index':_0xd512dd,'sheet':_0x4ee8cc,'unitId':_0x413aaa},_0x5d30e7=_0x16809e['InsertSheetUndoMutationFactory'](_0x281788,_0x576d30);_0x4b1d25[_0x55b69a(0x410)]({'id':_0x16809e[_0x55b69a(0x349)]['id'],'params':_0x5d30e7}),_0x57e524['push']({'id':_0x16809e[_0x55b69a(0x365)]['id'],'params':_0x576d30});}else{if(!_0x2636be[_0x55b69a(0x4ac)](_0x24b02d))return!0x1;const _0x3698bf=_0x320216(_0x281788,new _0x3a648e[(_0x55b69a(0x2da))](),_0x1c1a2c,!0x0);_0x57e524[_0x55b69a(0x410)](..._0x3698bf[_0x55b69a(0x2bf)]),_0x4b1d25[_0x55b69a(0x410)](..._0x3698bf['undos']);const _0x215e86={'cellInfo':_0x1c1a2c,'view':_0x2944f6,'isEmpty':_0xa874d1};if(!await _0x281788['get'](_0x26ed3e[_0x55b69a(0x329)])[_0x55b69a(0x46a)]['fetchThroughAsyncInterceptors'](_0x443267)(!0x0,_0x215e86))return!0x1;const _0x4fc9a1=_0xbe718d(_0x281788,_0x215e86);_0x57e524['push'](..._0x4fc9a1['redos']),_0x4b1d25[_0x55b69a(0x410)](..._0x4fc9a1[_0x55b69a(0x453)]);}return _0x57e524[_0x55b69a(0x410)]({'id':_0x5625ee['id'],'params':{'unitId':_0x1c1a2c['unitId'],'subUnitId':_0x1c1a2c['subUnitId'],'pivotTableId':_0x2da4bb,'pivotTableConfig':{'targetCellInfo':_0x1c1a2c,'sourceRangeInfo':_0x498063,'fieldsConfig':_0x3e83d8},'collectionConfig':_0x5bf566}}),_0x4b1d25[_0x55b69a(0x217)]({'id':_0x21961c['id'],'params':{'unitId':_0x413aaa,'subUnitId':_0x24b02d,'pivotTableId':_0x2da4bb}}),_0x5872ef[_0x55b69a(0x48c)](_0x57e524,_0x3f5202)&&_0x1713a4[_0x55b69a(0x4df)]({'unitID':_0x413aaa,'undoMutations':_0x4b1d25,'redoMutations':_0x57e524}),!0x0;}},_0x41476c={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x34f739,_0x4b491f){const _0x131b40=_0x416ec5;if(!_0x4b491f)return!0x1;const _0x4d299c=_0x34f739[_0x131b40(0x31f)](_0x5872ef['ICommandService']),_0x5d5d12=_0x34f739['get'](_0x26ed3e[_0x131b40(0x39f)]),_0x322d98=_0x34f739[_0x131b40(0x31f)](_0x5872ef['IUndoRedoService']),{pivotTableId:_0xf8d12,fieldId:_0xc03299,area:_0x46e93a,index:_0x234b85,unitId:_0xae1a3e,subUnitId:_0x1fa358}=_0x4b491f,_0x3615dc=(await _0x5d5d12[_0x131b40(0x3ca)]({'unitId':_0xae1a3e,'subUnitId':_0x1fa358,'pivotTableId':_0xf8d12,'params':{'type':_0x33ccae[_0x131b40(0x3d4)],'movePivotField':{'fieldId':_0xc03299,'area':_0x46e93a,'index':_0x234b85}}}))['result'][_0x131b40(0x27a)];if(!_0x3615dc)return!0x1;const {changesets:_0x1fb764,view:_0x38db1c,isEmpty:_0x1e0533,pivotTableConfig:_0x319221}=_0x3615dc,_0x29fefd=_0x319221[_0x131b40(0x455)],_0x57f4b8=new _0x3a648e[(_0x131b40(0x2da))]();_0x57f4b8[_0x131b40(0x350)](_0x38db1c);const _0x142346={'cellInfo':_0x29fefd,'view':_0x57f4b8,'isEmpty':_0x1e0533};if(!await _0x34f739[_0x131b40(0x31f)](_0x26ed3e[_0x131b40(0x329)])[_0x131b40(0x46a)][_0x131b40(0x32e)](_0x443267)(!0x0,_0x142346))return!0x1;const _0x4ccb2f=_0x320216(_0x34f739,_0x57f4b8,_0x29fefd,_0x1e0533),_0x42d9f9=_0xbe718d(_0x34f739,_0x142346),{redos:_0x411957,undos:_0x23ce40}=_0x321aa6(_0x4d299c,{'pivotTableId':_0xf8d12,'unitId':_0xae1a3e,'subUnitId':_0x1fa358},_0x1fb764);return _0x5872ef[_0x131b40(0x48c)]([..._0x4ccb2f[_0x131b40(0x2bf)],..._0x42d9f9[_0x131b40(0x2bf)],..._0x411957],_0x4d299c),_0x322d98[_0x131b40(0x4df)]({'unitID':_0xae1a3e,'redoMutations':[..._0x4ccb2f[_0x131b40(0x2bf)],..._0x42d9f9[_0x131b40(0x2bf)],..._0x411957],'undoMutations':[..._0x4ccb2f[_0x131b40(0x453)],..._0x42d9f9['undos'],..._0x23ce40]}),!0x0;}},_0x38bf37={'type':_0x5872ef['CommandType'][_0x416ec5(0x49d)],'id':_0x416ec5(0x245),async 'handler'(_0x5c380c,_0xb2c32c){const _0x1e70e3=_0x416ec5;var _0x3b5708;if(!_0xb2c32c)return!0x1;const _0x62e82e=_0x5c380c[_0x1e70e3(0x31f)](_0x5872ef[_0x1e70e3(0x458)]),_0x332d5d=_0x16809e[_0x1e70e3(0x39a)](_0x62e82e);if(!_0x332d5d)return!0x1;const {unitId:_0x1e9697,subUnitId:_0x47f069,workbook:_0xc222f6}=_0x332d5d,{row:_0x42f42d,col:_0x1f398e}=_0xb2c32c,_0x177df=_0x5c380c[_0x1e70e3(0x31f)](_0x26ed3e['SheetsPivotTableAdaptorModel']),_0x1637b7=_0x177df[_0x1e70e3(0x4d3)](_0x1e9697,_0x47f069,_0x42f42d,_0x1f398e);if(!_0x1637b7)return!0x1;const _0x49fc52=(_0x3b5708=_0x177df[_0x1e70e3(0x253)](_0x1e9697,_0x47f069,_0x1637b7))==null?void 0x0:_0x3b5708[_0x1e70e3(0x3bb)];if(!_0x49fc52)return!0x1;const _0x548d73=_0x5c380c[_0x1e70e3(0x31f)](_0x26ed3e[_0x1e70e3(0x4c7)])['getPivotTableConfig'](_0x1e9697,_0x47f069,_0x1637b7);if(!_0x548d73)return!0x1;const {rowInfo:_0x46973f,colInfo:_0x45e114}=_0x49fc52,_0x567486=_0x46973f[_0x42f42d]['paths'],_0x53dcf2=_0x45e114[_0x1f398e][_0x1e70e3(0x47e)],_0x19de3d=_0x46973f[_0x42f42d][_0x1e70e3(0x23f)],_0x40aef1=_0x45e114[_0x1f398e][_0x1e70e3(0x23f)],_0x1cffe7=_0x567486['concat'](_0x53dcf2),_0x3ee91f=_0x548d73['fieldsConfig'][_0x1e70e3(0x420)][_0x1e70e3(0x2b6)](0x0,_0x19de3d),_0x47ac0a=_0x548d73[_0x1e70e3(0x332)]['columnFields']['slice'](0x0,_0x40aef1),_0x54c3a7=_0x3ee91f[_0x1e70e3(0x221)](_0x47ac0a),_0x2e917e=_0x1cffe7[_0x1e70e3(0x376)]((_0x3f4f97,_0x5bdad5)=>[_0x3f4f97,_0x54c3a7[_0x5bdad5]]),_0x435878=(await _0x5c380c[_0x1e70e3(0x31f)](_0x26ed3e['SheetsPivotRPCService'])[_0x1e70e3(0x3ca)]({'unitId':_0x1e9697,'subUnitId':_0x47f069,'pivotTableId':_0x1637b7,'params':{'type':_0x33ccae[_0x1e70e3(0x363)],'drillDown':{'tuple':_0x2e917e}}}))[_0x1e70e3(0x4ef)][_0x1e70e3(0x2ea)];if(!_0x435878)return!0x1;const {indexes:_0x1c4d71,range:_0x4bf8b3,sourceUnitId:_0x2dd0df,sourceSubUnitId:_0x3d3af7,formatMap:_0x5d4f3e}=_0x435878,{startRow:_0x44bec1,endRow:_0x44c0b5,startColumn:_0x29b93c,endColumn:_0x2ad484}=_0x4bf8b3,_0x586cde=new _0x5872ef[(_0x1e70e3(0x360))](),_0x300d1f=_0x44c0b5-_0x44bec1,_0x5db54b=_0x2ad484-_0x29b93c,_0xdb6420={},_0x2c329a=_0x16809e[_0x1e70e3(0x39a)](_0x62e82e,{'unitId':_0x2dd0df,'subUnitId':_0x3d3af7});if(!_0x2c329a)return!0x1;const _0x3ee712=_0x4a5e3a[_0x1e70e3(0x398)],_0x13b3da=_0x4a5e3a[_0x1e70e3(0x47d)],_0x32cbb5=_0x4a5e3a['subTotalStyle'],_0x10a610=_0xc222f6[_0x1e70e3(0x49c)]()[_0x1e70e3(0x21b)](_0x3ee712),_0xef6528=_0xc222f6['getStyles']()[_0x1e70e3(0x21b)](_0x13b3da),_0x285b21=_0xc222f6[_0x1e70e3(0x49c)]()[_0x1e70e3(0x21b)](_0x32cbb5),{worksheet:_0x1d53eb}=_0x2c329a;let _0x43294f=0x0;const _0x51497d=0x1;_0x1c4d71[_0x1e70e3(0x24e)](_0x4ef427=>{const _0x7d92b9=_0x1e70e3;for(let _0x3fcddd=0x0;_0x3fcddd<=_0x2ad484-_0x29b93c;_0x3fcddd++)_0x586cde[_0x7d92b9(0x21b)](_0x43294f,_0x3fcddd,_0x1d53eb[_0x7d92b9(0x2b0)](_0x4ef427+_0x4bf8b3['startRow']+_0x51497d,_0x3fcddd));_0x43294f++;});for(let _0xc5738=_0x29b93c;_0xc5738<=_0x2ad484;_0xc5738++){const _0x581b4a=_0x1d53eb[_0x1e70e3(0x2b0)](_0x44bec1,_0xc5738);_0xdb6420[_0x44bec1]||(_0xdb6420[_0x44bec1]={}),_0xdb6420[_0x44bec1][_0xc5738]={..._0x581b4a,'s':_0x10a610};}let _0x535eef=0x1;const _0x8df1de={},_0x526c88={};_0x586cde[_0x1e70e3(0x3e0)]((_0x5efd28,_0x1fec95)=>{const _0x39549a=_0x1e70e3;_0x1fec95[_0x39549a(0x24e)](_0x498083=>{const _0x582c10=_0x39549a,_0x3108b5=_0x586cde[_0x582c10(0x2e1)](_0x5efd28,_0x498083);if(_0xdb6420[_0x535eef]||(_0xdb6420[_0x535eef]={}),_0xdb6420[_0x535eef][_0x498083]={..._0x3108b5,'s':_0x535eef%0x2===0x0?_0x285b21:_0xef6528},_0x5d4f3e[_0x498083]&&_0x5efd28>=0x0){const _0x52d261=_0x535eef%0x2===0x0;let _0x2becb9=_0x52d261?_0x526c88[_0x498083]:_0x8df1de[_0x498083];_0x2becb9||(_0x2becb9=_0xc222f6[_0x582c10(0x49c)]()[_0x582c10(0x21b)]({..._0x52d261?_0x32cbb5:_0x13b3da,'n':{'pattern':_0x5d4f3e[_0x498083]}}),_0x52d261?_0x526c88[_0x498083]=_0x2becb9:_0x8df1de[_0x498083]=_0x2becb9),_0xdb6420[_0x535eef][_0x498083]['s']=_0x2becb9;}}),_0x535eef++;});const _0x139ec6=new _0x5872ef[(_0x1e70e3(0x360))](_0xdb6420),_0x41a604={};_0x139ec6[_0x1e70e3(0x38e)]((_0x3e9de2,_0x29efa7,_0x2e0636)=>{_0x41a604[_0x3e9de2]||(_0x41a604[_0x3e9de2]={}),_0x41a604[_0x3e9de2][_0x29efa7]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4b820f=[],_0x27488=[],_0x498cf5=_0xc222f6['getSheets']()[_0x1e70e3(0x2a9)],_0x16c4c4=_0x5872ef[_0x1e70e3(0x267)]({'rowCount':Math['max'](_0x5872ef[_0x1e70e3(0x464)],_0x300d1f+0xa),'columnCount':Math[_0x1e70e3(0x4dd)](_0x5872ef[_0x1e70e3(0x401)],_0x5db54b+0x5)}),_0x52ce30=_0x5c380c['get'](_0x5872ef[_0x1e70e3(0x35d)]);_0x16c4c4['id']=_0x5872ef[_0x1e70e3(0x395)](),_0x16c4c4[_0x1e70e3(0x496)]=_0xc222f6[_0x1e70e3(0x3d6)](''+_0x52ce30['t']('sheets.tabs.sheet'));const _0x4b0b0b={'index':_0x498cf5,'sheet':_0x16c4c4,'unitId':_0x1e9697},_0x49dfc5=_0x16809e[_0x1e70e3(0x4c3)](_0x5c380c,_0x4b0b0b);_0x27488['push']({'id':_0x16809e[_0x1e70e3(0x365)]['id'],'params':_0x4b0b0b}),_0x4b820f[_0x1e70e3(0x410)]({'id':_0x16809e['RemoveSheetMutation']['id'],'params':_0x49dfc5}),_0x27488['push']({'id':_0x16809e[_0x1e70e3(0x27e)]['id'],'params':{'unitId':_0x1e9697,'subUnitId':_0x16c4c4['id'],'cellValue':_0xdb6420}}),_0x4b820f[_0x1e70e3(0x217)]({'id':_0x16809e[_0x1e70e3(0x27e)]['id'],'params':{'unitId':_0x1e9697,'subUnitId':_0x16c4c4['id'],'cellValue':_0x41a604}});const _0x423d62={'startRow':0x0,'startColumn':0x0,'endRow':_0x535eef-0x1,'endColumn':_0x2ad484};_0x27488[_0x1e70e3(0x410)]({'id':_0x6a800f[_0x1e70e3(0x4fc)]['id'],'params':{'unitId':_0x1e9697,'subUnitId':_0x16c4c4['id'],'range':_0x423d62}}),_0x4b820f[_0x1e70e3(0x217)]({'id':_0x6a800f[_0x1e70e3(0x246)]['id'],'params':{'unitId':_0x1e9697,'subUnitId':_0x16c4c4['id']}});const _0x17cad9=_0x5c380c[_0x1e70e3(0x31f)](_0x5872ef[_0x1e70e3(0x452)]);return _0x5872ef[_0x1e70e3(0x48c)](_0x27488,_0x17cad9)&&_0x5c380c[_0x1e70e3(0x31f)](_0x5872ef[_0x1e70e3(0x4af)])[_0x1e70e3(0x4df)]({'unitID':_0x1e9697,'undoMutations':_0x4b820f,'redoMutations':_0x27488}),!0x0;}},_0x34bf76={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':_0x416ec5(0x2ec),async 'handler'(_0x103e77,_0x1b226a){const _0x37919b=_0x416ec5;if(!_0x1b226a)return!0x1;const _0x313b58=_0x103e77[_0x37919b(0x31f)](_0x5872ef['ICommandService']),_0x5c1b83=_0x103e77[_0x37919b(0x31f)](_0x26ed3e[_0x37919b(0x39f)]),_0x36ab80=_0x103e77['get'](_0x5872ef[_0x37919b(0x4af)]),{pivotTableId:_0x27235a,fieldIds:_0xaad555,unitId:_0x451f34,subUnitId:_0x481b2f}=_0x1b226a,_0x3196d0=(await _0x5c1b83[_0x37919b(0x3ca)]({'unitId':_0x451f34,'subUnitId':_0x481b2f,'pivotTableId':_0x27235a,'params':{'type':_0x33ccae['RemovePivotField'],'removePivotField':{'fieldIds':_0xaad555}}}))['result']['removePivotField'];if(!_0x3196d0)return!0x1;const {view:_0x30ac62,changesets:_0x561ef3,isEmpty:_0x585629,pivotTableConfig:_0x5ab628}=_0x3196d0,_0x1cd77c=_0x5ab628['targetCellInfo'],_0x1224c9=new _0x3a648e['PivotView']();_0x1224c9['formJSON'](_0x30ac62);const _0x46a629={'cellInfo':_0x1cd77c,'view':_0x1224c9,'isEmpty':_0x585629};if(!await _0x103e77['get'](_0x26ed3e[_0x37919b(0x329)])[_0x37919b(0x46a)][_0x37919b(0x32e)](_0x443267)(!0x0,_0x46a629))return!0x1;const _0x2b493d=_0x320216(_0x103e77,_0x1224c9,_0x1cd77c,_0x585629),_0x336254=_0xbe718d(_0x103e77,_0x46a629),{redos:_0x14946f,undos:_0xf641e3}=_0x321aa6(_0x313b58,{'pivotTableId':_0x27235a,'unitId':_0x451f34,'subUnitId':_0x481b2f},_0x561ef3);return _0x5872ef[_0x37919b(0x48c)]([..._0x2b493d[_0x37919b(0x2bf)],..._0x336254[_0x37919b(0x2bf)],..._0x14946f],_0x313b58),_0x36ab80['pushUndoRedo']({'unitID':_0x451f34,'redoMutations':[..._0x2b493d[_0x37919b(0x2bf)],..._0x336254[_0x37919b(0x2bf)],..._0x14946f],'undoMutations':[..._0x2b493d[_0x37919b(0x453)],..._0x336254['undos'],..._0xf641e3]}),!0x0;}},_0x23352d={'type':_0x5872ef[_0x416ec5(0x47c)]['COMMAND'],'id':_0x416ec5(0x4a1),async 'handler'(_0x51419a,_0x40e499){const _0x3b8525=_0x416ec5;var _0x480a7e;const _0x4d212b=_0x51419a['get'](_0x5872ef['ICommandService']),_0x14a224=_0x51419a[_0x3b8525(0x31f)](_0x26ed3e[_0x3b8525(0x39f)]),_0x1761ca=_0x51419a['get'](_0x26ed3e[_0x3b8525(0x3f5)]),_0x565d74=_0x51419a[_0x3b8525(0x31f)](_0x5872ef['IUniverInstanceService']),_0x1f224a=_0x51419a[_0x3b8525(0x31f)](_0x5872ef[_0x3b8525(0x4af)]);if(!_0x40e499)return!0x1;const {unitId:_0x3bf054,subUnitId:_0x31a401,row:_0x2e282c,col:_0x3eb302,collapse:_0x57d89a}=_0x40e499,_0x1894c2=_0x565d74[_0x3b8525(0x2cd)](_0x3bf054);if(!_0x1894c2||!_0x1894c2['getSheetBySheetId'](_0x31a401))return!0x1;const _0x332ef1=_0x1761ca[_0x3b8525(0x4d3)](_0x3bf054,_0x31a401,_0x2e282c,_0x3eb302);if(!_0x332ef1)return!0x1;const _0x3ac21c=_0x1761ca[_0x3b8525(0x253)](_0x3bf054,_0x31a401,_0x332ef1);if(!_0x3ac21c)return!0x1;const _0x5d7fed=_0x5872ef[_0x3b8525(0x454)](_0x2e282c,_0x3eb302),{rangesInfo:_0x553287,areaInfo:_0x13b616,headerMap:_0x145ab0}=_0x3ac21c;if(!_0x553287||!_0x13b616||!_0x145ab0)return!0x1;const _0x251adf=Object['keys'](_0x553287)[_0x3b8525(0x480)](_0x23490b=>_0x553287[_0x23490b]['some'](_0x400b44=>_0x5872ef[_0x3b8525(0x36e)][_0x3b8525(0x355)](_0x400b44,_0x5d7fed)));let _0x261d02;_0x251adf===_0x3b8525(0x337)?_0x261d02=_0x145ab0[_0x3b8525(0x2ff)][_0x3eb302]:_0x251adf===_0x3b8525(0x29e)&&(_0x261d02=_0x145ab0[_0x3b8525(0x202)][_0x2e282c]);const _0x4c9124=_0x261d02==null?void 0x0:_0x261d02['tableFieldId'],_0x1a9042=(_0x480a7e=_0x1761ca[_0x3b8525(0x249)](_0x3bf054,_0x31a401,_0x2e282c,_0x3eb302))==null?void 0x0:_0x480a7e['v'];if(_0x1a9042==null||!_0x332ef1||!_0x4c9124)return!0x1;const _0x3fa534=await _0x14a224[_0x3b8525(0x3ca)]({'unitId':_0x3bf054,'subUnitId':_0x31a401,'pivotTableId':_0x332ef1,'params':{'type':_0x33ccae[_0x3b8525(0x387)],'setPivotCollapse':{'tableFieldId':_0x4c9124,'collapse':_0x57d89a,'item':_0x1a9042}}}),_0x21efa1=_0x3fa534==null?void 0x0:_0x3fa534[_0x3b8525(0x4ef)][_0x3b8525(0x31c)];if(!_0x21efa1)return!0x1;const {view:_0x1f68be,pivotTableConfig:_0x24d409,isEmpty:_0x39ddf3,changesets:_0x1cf4e1}=_0x21efa1,_0x25de33=new _0x3a648e[(_0x3b8525(0x2da))]();_0x25de33['formJSON'](_0x1f68be);const _0x2d699c=_0x24d409['targetCellInfo'],_0x3c247d={'cellInfo':_0x2d699c,'view':_0x25de33,'isEmpty':_0x39ddf3};if(!await _0x51419a[_0x3b8525(0x31f)](_0x26ed3e[_0x3b8525(0x329)])['asyncInterceptor'][_0x3b8525(0x32e)](_0x443267)(!0x0,_0x3c247d))return!0x1;const _0x21b455=_0x320216(_0x51419a,_0x25de33,_0x2d699c,_0x39ddf3),_0x3af3e0=_0xbe718d(_0x51419a,_0x3c247d),{redos:_0x5ea6f9,undos:_0x499317}=_0x321aa6(_0x4d212b,{'pivotTableId':_0x332ef1,'unitId':_0x3bf054,'subUnitId':_0x31a401},_0x1cf4e1);return _0x5872ef[_0x3b8525(0x48c)]([..._0x21b455[_0x3b8525(0x2bf)],..._0x3af3e0['redos'],..._0x5ea6f9],_0x4d212b),_0x1f224a['pushUndoRedo']({'unitID':_0x3bf054,'redoMutations':[..._0x21b455['redos'],..._0x3af3e0[_0x3b8525(0x2bf)],..._0x5ea6f9],'undoMutations':[..._0x21b455[_0x3b8525(0x453)],..._0x3af3e0[_0x3b8525(0x453)],..._0x499317]}),!0x0;}},_0x3b5856={'type':_0x5872ef['CommandType'][_0x416ec5(0x49d)],'id':_0x416ec5(0x35f),async 'handler'(_0x1f8720,_0x152b34){const _0x25698d=_0x416ec5;if(!_0x152b34)return!0x1;const _0x1994ff=_0x1f8720[_0x25698d(0x31f)](_0x5872ef[_0x25698d(0x452)]),{pivotTableId:_0x40dedb,tableFieldId:_0x306da6,items:_0x1caf01,unitId:_0x501f29,subUnitId:_0x917da8,isAll:_0x181531}=_0x152b34,_0x512c7a=_0x1f8720[_0x25698d(0x31f)](_0x26ed3e[_0x25698d(0x39f)]),_0x597b07=_0x1f8720['get'](_0x5872ef[_0x25698d(0x4af)]),_0x474ef3=(await _0x512c7a[_0x25698d(0x3ca)]({'unitId':_0x501f29,'subUnitId':_0x917da8,'pivotTableId':_0x40dedb,'params':{'type':_0x33ccae['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x306da6,'items':_0x1caf01,'isAll':_0x181531}}}))[_0x25698d(0x4ef)]['setPivotFilter'];if(!_0x474ef3)return!0x1;const {changesets:_0x160f61,pivotTableConfig:_0x1aef31,isEmpty:_0x310ec4,view:_0x2345ec}=_0x474ef3,_0xe0f381=_0x1aef31[_0x25698d(0x455)],_0x507bc1=new _0x3a648e[(_0x25698d(0x2da))]();_0x507bc1[_0x25698d(0x350)](_0x2345ec);const _0x3e7f0c={'cellInfo':_0xe0f381,'view':_0x507bc1,'isEmpty':_0x310ec4};if(!await _0x1f8720['get'](_0x26ed3e['SheetsPivotTableService'])[_0x25698d(0x46a)]['fetchThroughAsyncInterceptors'](_0x443267)(!0x0,_0x3e7f0c))return!0x1;const _0x3df8c0=_0x320216(_0x1f8720,_0x507bc1,_0xe0f381,_0x310ec4),_0x207e1c=_0xbe718d(_0x1f8720,_0x3e7f0c),{undos:_0x38eba8,redos:_0x232a92}=_0x321aa6(_0x1994ff,{'pivotTableId':_0x40dedb,'unitId':_0x501f29,'subUnitId':_0x917da8},_0x160f61);return _0x5872ef[_0x25698d(0x48c)]([..._0x3df8c0[_0x25698d(0x2bf)],..._0x207e1c[_0x25698d(0x2bf)],..._0x232a92],_0x1994ff),_0x597b07['pushUndoRedo']({'unitID':_0x501f29,'redoMutations':[..._0x3df8c0[_0x25698d(0x2bf)],..._0x207e1c['redos'],..._0x232a92],'undoMutations':[..._0x3df8c0[_0x25698d(0x453)],..._0x207e1c[_0x25698d(0x453)],..._0x38eba8]}),!0x0;}},_0x4e19c3={'type':_0x5872ef['CommandType']['COMMAND'],'id':_0x416ec5(0x2c1),async 'handler'(_0x48c720,_0x37f68c){const _0x3a4f9f=_0x416ec5;if(!_0x37f68c)return!0x1;const _0xd5eb28=_0x48c720[_0x3a4f9f(0x31f)](_0x5872ef[_0x3a4f9f(0x452)]),_0x48d4eb=_0x48c720[_0x3a4f9f(0x31f)](_0x5872ef[_0x3a4f9f(0x4af)]),_0x30641d=_0x48c720[_0x3a4f9f(0x31f)](_0x26ed3e[_0x3a4f9f(0x39f)]),{info:_0x44f99c,tableFieldId:_0x1da5e1,pivotTableId:_0x488c82,unitId:_0x373bab,subUnitId:_0x40317d}=_0x37f68c,_0x33581f=(await _0x30641d[_0x3a4f9f(0x3ca)]({'unitId':_0x373bab,'subUnitId':_0x40317d,'pivotTableId':_0x488c82,'params':{'type':_0x33ccae['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x1da5e1,'info':_0x44f99c}}}))[_0x3a4f9f(0x4ef)]['setPivotSort'];if(!_0x33581f)return!0x1;const {changesets:_0x20b972}=_0x33581f,{redos:_0x534666,undos:_0xba4f98}=_0x321aa6(_0xd5eb28,{'pivotTableId':_0x488c82,'unitId':_0x373bab,'subUnitId':_0x40317d},_0x20b972);return _0x5872ef[_0x3a4f9f(0x48c)](_0x534666,_0xd5eb28),_0x48d4eb[_0x3a4f9f(0x4df)]({'unitID':_0x373bab,'redoMutations':_0x534666,'undoMutations':_0xba4f98}),!0x0;}},_0x3adf4d={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':_0x416ec5(0x297),async 'handler'(_0x46c42b,_0x50ca54){const _0x22800a=_0x416ec5;if(!_0x50ca54)return!0x1;const _0x2ec104=_0x46c42b[_0x22800a(0x31f)](_0x5872ef[_0x22800a(0x452)]),_0x28c7f2=_0x46c42b['get'](_0x5872ef[_0x22800a(0x4af)]),_0x49cbe3=_0x46c42b[_0x22800a(0x31f)](_0x26ed3e[_0x22800a(0x39f)]),{displayName:_0x3eeb77,subtotalType:_0x521d4e,format:_0x1c5a40,tableFieldId:_0x348a83,pivotTableId:_0x581bf4,unitId:_0x2b5428,subUnitId:_0x34d3e3}=_0x50ca54,_0x16c3f1=(await _0x49cbe3[_0x22800a(0x3ca)]({'unitId':_0x2b5428,'subUnitId':_0x34d3e3,'pivotTableId':_0x581bf4,'params':{'type':_0x33ccae[_0x22800a(0x2e6)],'setPivotSetting':{'tableFieldId':_0x348a83,'displayName':_0x3eeb77,'subtotalType':_0x521d4e,'format':_0x1c5a40}}}))['result'][_0x22800a(0x4b5)];if(!_0x16c3f1)return!0x1;const {changesets:_0x2eb127,view:_0x530212,pivotTableConfig:_0x2c2e34,isEmpty:_0x40b8a9}=_0x16c3f1,_0xdf78ab=_0x2c2e34[_0x22800a(0x455)],_0x435a0a=new _0x3a648e[(_0x22800a(0x2da))]();_0x435a0a[_0x22800a(0x350)](_0x530212);const _0x55e822={'cellInfo':_0xdf78ab,'view':_0x435a0a,'isEmpty':_0x40b8a9};if(!await _0x46c42b[_0x22800a(0x31f)](_0x26ed3e[_0x22800a(0x329)])[_0x22800a(0x46a)][_0x22800a(0x32e)](_0x443267)(!0x0,_0x55e822))return!0x1;const _0x2f7646=_0x320216(_0x46c42b,_0x435a0a,_0xdf78ab,_0x40b8a9),_0xdeb3cc=_0xbe718d(_0x46c42b,_0x55e822),{undos:_0x1f5009,redos:_0x2bb555}=_0x321aa6(_0x2ec104,{'pivotTableId':_0x581bf4,'unitId':_0x2b5428,'subUnitId':_0x34d3e3},_0x2eb127);return _0x5872ef['sequenceExecute']([..._0x2f7646[_0x22800a(0x2bf)],..._0xdeb3cc['redos'],..._0x2bb555],_0x2ec104),_0x28c7f2[_0x22800a(0x4df)]({'unitID':_0x2b5428,'redoMutations':[..._0x2f7646[_0x22800a(0x2bf)],..._0xdeb3cc[_0x22800a(0x2bf)],..._0x2bb555],'undoMutations':[..._0x2f7646[_0x22800a(0x453)],..._0xdeb3cc['undos'],..._0x1f5009]}),!0x0;}},_0x20ce9a={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':_0x416ec5(0x4ea),async 'handler'(_0x113bb3,_0x1665ea){const _0x191c55=_0x416ec5,_0x2ee8e8=_0x113bb3[_0x191c55(0x31f)](_0x5872ef['ICommandService']),_0x23474e=_0x113bb3[_0x191c55(0x31f)](_0x26ed3e[_0x191c55(0x39f)]),_0x8c540d=_0x113bb3[_0x191c55(0x31f)](_0x5872ef[_0x191c55(0x4af)]);if(!_0x1665ea)return!0x1;const {token:_0x482500,dataRangeInfo:_0x4b291d,unitId:_0x4c363e,subUnitId:_0x136bde}=_0x1665ea,_0x4cacc2=[],_0x5c1992=[],_0x1befe4=(await _0x23474e[_0x191c55(0x3ca)]({'unitId':_0x4c363e,'subUnitId':_0x136bde,'pivotTableId':_0x482500,'params':{'type':_0x33ccae[_0x191c55(0x375)],'updatePivotSource':{'dataRangeInfo':_0x4b291d,'unitId':_0x4c363e,'subUnitId':_0x136bde}}}))['result'][_0x191c55(0x1fd)];if(!_0x1befe4)return!0x1;const {changesets:_0x16410d,deleteIds:_0x2f7be5,collectionConfig:_0x58fd70,oldCollectionConfig:_0x2ca46e,view:_0x67ad4d,isEmpty:_0x24df6d,pivotTableConfig:_0x1cbade}=_0x1befe4;_0x5c1992['push']({'id':_0x36859b['id'],'params':{'pivotTableId':_0x482500,'deleteIds':_0x2f7be5,'collectionJSON':_0x58fd70,'dataRangeInfo':_0x4b291d,'unitId':_0x4c363e,'subUnitId':_0x136bde}}),_0x4cacc2[_0x191c55(0x217)]({'id':_0x36859b['id'],'params':{'pivotTableId':_0x482500,'deleteIds':[],'collectionJSON':_0x2ca46e,'dataRangeInfo':_0x1cbade[_0x191c55(0x26c)],'unitId':_0x4c363e,'subUnitId':_0x136bde}});const _0x4bd5a7=_0x1cbade[_0x191c55(0x455)],_0x34c588=new _0x3a648e[(_0x191c55(0x2da))]();_0x34c588[_0x191c55(0x350)](_0x67ad4d);const _0x100be9={'cellInfo':_0x4bd5a7,'view':_0x34c588,'isEmpty':_0x24df6d};if(!await _0x113bb3[_0x191c55(0x31f)](_0x26ed3e[_0x191c55(0x329)])[_0x191c55(0x46a)][_0x191c55(0x32e)](_0x443267)(!0x0,_0x100be9))return!0x1;const _0x433a3c=_0x320216(_0x113bb3,_0x34c588,_0x4bd5a7,_0x24df6d),_0x1a1721=_0xbe718d(_0x113bb3,_0x100be9),{undos:_0x2a3b05,redos:_0x20ebdc}=_0x321aa6(_0x2ee8e8,{'pivotTableId':_0x482500,'unitId':_0x4c363e,'subUnitId':_0x136bde},_0x16410d);return _0x5872ef['sequenceExecute']([..._0x433a3c['redos'],..._0x1a1721[_0x191c55(0x2bf)],..._0x5c1992,..._0x2a3b05],_0x2ee8e8),_0x8c540d['pushUndoRedo']({'unitID':_0x4c363e,'redoMutations':[..._0x433a3c[_0x191c55(0x2bf)],..._0x1a1721[_0x191c55(0x2bf)],..._0x5c1992,..._0x2a3b05],'undoMutations':[..._0x433a3c[_0x191c55(0x453)],..._0x1a1721[_0x191c55(0x453)],..._0x4cacc2,..._0x20ebdc]}),!0x0;}},_0x177619={'type':_0x5872ef[_0x416ec5(0x47c)]['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x322e01,_0x293f92){const _0x3904e1=_0x416ec5;if(!_0x293f92)return!0x1;const _0x3cea49=_0x322e01[_0x3904e1(0x31f)](_0x5872ef['ICommandService']),_0x1ed5a3=_0x322e01[_0x3904e1(0x31f)](_0x26ed3e[_0x3904e1(0x39f)]),_0x4d4884=_0x322e01[_0x3904e1(0x31f)](_0x5872ef[_0x3904e1(0x458)]),_0x4a74c9=_0x322e01[_0x3904e1(0x31f)](_0x5872ef[_0x3904e1(0x4af)]),{pivotTableId:_0xe44166,position:_0x343252,index:_0x10c652}=_0x293f92,_0x309eaf=_0x16809e['getSheetCommandTarget'](_0x4d4884);if(!_0x309eaf)return!0x1;const {unitId:_0x4747e9,subUnitId:_0x17d603}=_0x309eaf,_0xd32ab8=(await _0x1ed5a3[_0x3904e1(0x3ca)]({'unitId':_0x4747e9,'subUnitId':_0x17d603,'pivotTableId':_0xe44166,'params':{'type':_0x33ccae[_0x3904e1(0x364)],'updateValuePosition':{'position':_0x343252,'index':_0x10c652}}}))[_0x3904e1(0x4ef)][_0x3904e1(0x252)];if(!_0xd32ab8)return!0x1;const {changesets:_0x1397f8,view:_0x4e4684,isEmpty:_0x35c0b1,pivotTableConfig:_0x2cf232}=_0xd32ab8,_0x1a5b38=_0x2cf232[_0x3904e1(0x455)],_0x448225=new _0x3a648e[(_0x3904e1(0x2da))]();_0x448225[_0x3904e1(0x350)](_0x4e4684);const _0x3f4f4b=_0x322e01[_0x3904e1(0x31f)](_0x26ed3e[_0x3904e1(0x329)]),_0x5e16f3={'cellInfo':_0x1a5b38,'view':_0x448225,'isEmpty':_0x35c0b1};if(!await _0x3f4f4b[_0x3904e1(0x46a)]['fetchThroughAsyncInterceptors'](_0x443267)(!0x0,_0x5e16f3))return!0x1;const _0x55b3b9=_0x320216(_0x322e01,_0x448225,_0x1a5b38,_0x35c0b1),_0x289581=_0xbe718d(_0x322e01,_0x5e16f3),{undos:_0x2d73c1,redos:_0x751886}=_0x321aa6(_0x3cea49,{'pivotTableId':_0xe44166,'unitId':_0x4747e9,'subUnitId':_0x17d603},_0x1397f8);return _0x5872ef[_0x3904e1(0x48c)]([..._0x55b3b9[_0x3904e1(0x2bf)],..._0x289581[_0x3904e1(0x2bf)],..._0x751886],_0x3cea49),_0x4a74c9[_0x3904e1(0x4df)]({'unitID':_0x4747e9,'redoMutations':[..._0x55b3b9[_0x3904e1(0x2bf)],..._0x289581[_0x3904e1(0x2bf)],..._0x751886],'undoMutations':[..._0x55b3b9['undos'],..._0x289581[_0x3904e1(0x453)],..._0x2d73c1]}),!0x0;}},_0x56868b={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':_0x416ec5(0x4a8),'handler':(_0x3add50,_0x57a692)=>{const _0x3d4523=_0x416ec5,_0x50214b=_0x3add50[_0x3d4523(0x31f)](_0x5872ef[_0x3d4523(0x452)]),_0x7816cf=_0x3add50[_0x3d4523(0x31f)](_0x5872ef[_0x3d4523(0x4af)]),_0x10c375=_0x3add50[_0x3d4523(0x31f)](_0x26ed3e[_0x3d4523(0x4c7)]),_0x7f3e13=_0x3add50[_0x3d4523(0x31f)](_0x5872ef['IUniverInstanceService']);if(!_0x57a692)return!0x1;const _0x422c6f=_0x16809e['getSheetCommandTarget'](_0x7f3e13);if(!_0x422c6f)return!0x1;const {unitId:_0x15b3e8,subUnitId:_0x18093b,workbook:_0x253789}=_0x422c6f,_0x4a7b09=_0x10c375['getPivotTableConfig'](_0x57a692[_0x3d4523(0x42b)][_0x3d4523(0x484)],_0x57a692[_0x3d4523(0x42b)][_0x3d4523(0x4b9)],_0x57a692[_0x3d4523(0x208)]);if(!_0x4a7b09)return!0x1;const _0x1daa2d=_0x253789[_0x3d4523(0x4ac)](_0x57a692[_0x3d4523(0x455)][_0x3d4523(0x4b9)]);if(!_0x1daa2d)throw new Error(_0x3d4523(0x324));const _0x51b3e5=_0x1daa2d[_0x3d4523(0x3eb)](),_0x257212=_0x1daa2d['getColumnCount']();if(_0x57a692['targetCellInfo'][_0x3d4523(0x451)]>_0x51b3e5||_0x57a692['targetCellInfo'][_0x3d4523(0x2dd)]>_0x257212)throw new Error(_0x3d4523(0x44f));const _0x3a615c=[{'id':_0x2e570d['id'],'params':{'unitId':_0x15b3e8,'subUnitId':_0x57a692['targetCellInfo'][_0x3d4523(0x4b9)],'pivotTableId':_0x57a692['pivotTableId'],'targetCellPosition':{'row':_0x57a692['targetCellInfo'][_0x3d4523(0x451)],'col':_0x57a692[_0x3d4523(0x455)][_0x3d4523(0x2dd)]}}}],_0x58add3=[{'id':_0x2e570d['id'],'params':{'unitId':_0x15b3e8,'subUnitId':_0x18093b,'pivotTableId':_0x57a692[_0x3d4523(0x208)],'targetCellPosition':{'row':_0x4a7b09[_0x3d4523(0x455)]['row'],'col':_0x4a7b09[_0x3d4523(0x455)][_0x3d4523(0x2dd)]}}}];return _0x5872ef[_0x3d4523(0x48c)](_0x3a615c,_0x50214b)&&_0x7816cf[_0x3d4523(0x4df)]({'unitID':_0x15b3e8,'undoMutations':_0x58add3,'redoMutations':_0x3a615c}),!0x0;}},_0x180bf6={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':_0x416ec5(0x498),async 'handler'(_0x1ba03f,_0x1f5828){const _0x5034a0=_0x416ec5;if(!_0x1f5828)return!0x1;const _0x3f36a0=_0x1ba03f[_0x5034a0(0x31f)](_0x5872ef[_0x5034a0(0x452)]),{pivotTableId:_0x219d03,fieldId:_0x16c97b,valueFilterInfo:_0x4e6e82,unitId:_0x5ef53d,subUnitId:_0x145136}=_0x1f5828,_0x33e47b=_0x1ba03f[_0x5034a0(0x31f)](_0x26ed3e['SheetsPivotRPCService']),_0x2e5276=_0x1ba03f[_0x5034a0(0x31f)](_0x5872ef[_0x5034a0(0x4af)]),_0x17ba18=(await _0x33e47b[_0x5034a0(0x3ca)]({'unitId':_0x5ef53d,'subUnitId':_0x145136,'pivotTableId':_0x219d03,'params':{'type':_0x33ccae['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x16c97b,'filterInfo':_0x4e6e82}}}))[_0x5034a0(0x4ef)][_0x5034a0(0x3af)];if(!_0x17ba18)return!0x1;const {changesets:_0x58ad18,pivotTableConfig:_0x785f06,isEmpty:_0x51d10a,view:_0x54b1ad}=_0x17ba18,_0x7163f0=_0x785f06['targetCellInfo'],_0x56559e=new _0x3a648e['PivotView']();_0x56559e[_0x5034a0(0x350)](_0x54b1ad);const _0x1058d0={'cellInfo':_0x7163f0,'view':_0x56559e,'isEmpty':_0x51d10a};if(!await _0x1ba03f[_0x5034a0(0x31f)](_0x26ed3e[_0x5034a0(0x329)])[_0x5034a0(0x46a)][_0x5034a0(0x32e)](_0x443267)(!0x0,_0x1058d0))return!0x1;const _0xea1f2d=_0x320216(_0x1ba03f,_0x56559e,_0x7163f0,_0x51d10a),_0x233a57=_0xbe718d(_0x1ba03f,_0x1058d0),{undos:_0xa33d5,redos:_0x4ed584}=_0x321aa6(_0x3f36a0,{'pivotTableId':_0x219d03,'unitId':_0x5ef53d,'subUnitId':_0x145136},_0x58ad18);return _0x5872ef[_0x5034a0(0x48c)]([..._0xea1f2d[_0x5034a0(0x2bf)],..._0x233a57[_0x5034a0(0x2bf)],..._0x4ed584],_0x3f36a0),_0x2e5276[_0x5034a0(0x4df)]({'unitID':_0x5ef53d,'redoMutations':[..._0xea1f2d[_0x5034a0(0x2bf)],..._0x233a57[_0x5034a0(0x2bf)],..._0x4ed584],'undoMutations':[..._0xea1f2d[_0x5034a0(0x453)],..._0x233a57[_0x5034a0(0x453)],..._0xa33d5]}),!0x0;}},_0x1d3001={'type':_0x5872ef[_0x416ec5(0x47c)]['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x49d1b8,_0x4bacf8){const _0x3063e8=_0x416ec5;if(!_0x4bacf8)return!0x1;const _0x5a5977=_0x49d1b8[_0x3063e8(0x31f)](_0x5872ef[_0x3063e8(0x452)]),_0x5574a5=_0x49d1b8['get'](_0x5872ef['IUndoRedoService']),_0x440ff2=_0x49d1b8[_0x3063e8(0x31f)](_0x26ed3e['SheetsPivotRPCService']),{pivotTableConfig:_0x377686,pivotTableId:_0x2dc9b1,unitId:_0x8d9ebb,subUnitId:_0x2557ac}=_0x4bacf8,_0x57171c=(await _0x440ff2[_0x3063e8(0x3ca)]({'unitId':_0x8d9ebb,'subUnitId':_0x2557ac,'pivotTableId':_0x2dc9b1,'params':{'type':_0x33ccae[_0x3063e8(0x2a1)],'setPivotTableConfig':{'pivotTableId':_0x2dc9b1,'pivotTableConfig':_0x377686}}}))[_0x3063e8(0x4ef)][_0x3063e8(0x3f4)];if(!_0x57171c)return!0x1;const {changesets:_0x596b9d}=_0x57171c,{redos:_0x3bb875,undos:_0x19c180}=_0x321aa6(_0x5a5977,{'pivotTableId':_0x2dc9b1,'unitId':_0x8d9ebb,'subUnitId':_0x2557ac},_0x596b9d);return _0x5872ef['sequenceExecute'](_0x3bb875,_0x5a5977),_0x5574a5[_0x3063e8(0x4df)]({'unitID':_0x8d9ebb,'redoMutations':_0x3bb875,'undoMutations':_0x19c180}),!0x0;}},_0x1d20f2={'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'id':_0x416ec5(0x47b),async 'handler'(_0x2bec41,_0x25b51e){const _0x2c7daa=_0x416ec5;if(!_0x25b51e)return!0x1;const _0x143359=_0x2bec41[_0x2c7daa(0x31f)](_0x5872ef[_0x2c7daa(0x452)]),_0x357a46=_0x2bec41[_0x2c7daa(0x31f)](_0x5872ef['IUndoRedoService']),_0xa59720=_0x2bec41['get'](_0x26ed3e[_0x2c7daa(0x39f)]),{resetArea:_0x3845e7,pivotTableId:_0x528ff5,unitId:_0x1db10d,subUnitId:_0x84dd52}=_0x25b51e,_0x480b42=(await _0xa59720[_0x2c7daa(0x3ca)]({'unitId':_0x1db10d,'subUnitId':_0x84dd52,'pivotTableId':_0x528ff5,'params':{'type':_0x33ccae[_0x2c7daa(0x2e0)],'resetPivotTable':{'pivotTableId':_0x528ff5,'resetArea':_0x3845e7}}}))[_0x2c7daa(0x4ef)][_0x2c7daa(0x331)];if(!_0x480b42)return!0x1;const {changesets:_0x1f9f34}=_0x480b42,{redos:_0x28469e,undos:_0x1e8e73}=_0x321aa6(_0x143359,{'pivotTableId':_0x528ff5,'unitId':_0x1db10d,'subUnitId':_0x84dd52},_0x1f9f34);return _0x5872ef[_0x2c7daa(0x48c)](_0x28469e,_0x143359),_0x357a46[_0x2c7daa(0x4df)]({'unitID':_0x1db10d,'redoMutations':_0x28469e,'undoMutations':_0x1e8e73}),!0x0;}},_0x4cd7c3={'id':_0x416ec5(0x1ee),'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x4c9)],'handler':(_0x539337,_0x40476f)=>{const _0x1d44f5=_0x416ec5;if(!_0x40476f)return!0x1;if(!!_0x539337[_0x1d44f5(0x31f)](_0x5872ef[_0x1d44f5(0x23b)])['getConfig'](_0x172560))return!0x0;const {unitId:_0x464587,subUnitId:_0x3fb25e,pivotTableId:_0x1ddb0b,tableFieldId:_0x58be27,dateType:_0x4d1b3a}=_0x40476f,_0x1eaf8d=_0x539337[_0x1d44f5(0x31f)](_0x26ed3e[_0x1d44f5(0x3a7)]),_0x19073d=_0x1eaf8d[_0x1d44f5(0x239)](_0x1ddb0b);if(!_0x19073d)return!0x1;const _0x5e6990=_0x19073d[_0x1d44f5(0x20e)](_0x58be27);if(!_0x5e6990)return!0x1;const _0x2c85f6=_0x5e6990[_0x1d44f5(0x21f)](),_0x301be7=_0x19073d['getDataFieldByDataFieldId'](_0x2c85f6),_0x459cc0=(_0x301be7==null?void 0x0:_0x301be7[_0x1d44f5(0x40b)]())+'\x20'+_0x5f44b1(_0x539337,_0x4d1b3a);_0x1eaf8d[_0x1d44f5(0x3f3)](_0x464587,_0x1ddb0b)['setDisplayName'](_0x5e6990['id'],_0x459cc0);const _0x5b4498=_0x19073d[_0x1d44f5(0x34f)](_0x58be27);if(!_0x5b4498)return!0x1;_0x19073d[_0x1d44f5(0x35e)](_0x5b4498[_0x1d44f5(0x21c)](),_0x459cc0),_0x5e6990['setDateType'](_0x4d1b3a);const _0x29bb71=_0x1eaf8d[_0x1d44f5(0x474)](_0x464587,_0x3fb25e,_0x1ddb0b);return _0x1eaf8d[_0x1d44f5(0x200)]({'unitId':_0x464587,'subUnitId':_0x3fb25e,'token':_0x1ddb0b,'type':_0x332641['Set'],'pivotConfig':_0x29bb71}),!0x0;}},_0x44b6f5={'id':_0x416ec5(0x2a4),'type':_0x5872ef[_0x416ec5(0x47c)][_0x416ec5(0x49d)],'handler':(_0xe2244f,_0x1f67f6)=>{const _0xd96f4=_0x416ec5;if(!_0x1f67f6)return!0x1;const _0x55d413=_0xe2244f[_0xd96f4(0x31f)](_0x5872ef[_0xd96f4(0x4af)]),{unitId:_0x10a501,subUnitId:_0x12906c,pivotTableId:_0x140684,tableFieldId:_0x9cab13}=_0x1f67f6,_0x17e7d2=[],_0x5187d2=[],_0x3b4ce8=_0xe2244f[_0xd96f4(0x31f)](_0x26ed3e[_0xd96f4(0x4c7)]),_0x50a23f=_0x3b4ce8[_0xd96f4(0x3f3)](_0x10a501,_0x140684),_0x40c97a=_0x3b4ce8[_0xd96f4(0x474)](_0x10a501,_0x12906c,_0x140684);if(!(_0x40c97a!=null&&_0x40c97a['fieldsConfig'][_0xd96f4(0x2bd)]))return!0x1;const _0x12b8ce=Object['values'](_0x40c97a[_0xd96f4(0x332)][_0xd96f4(0x2bd)])[_0xd96f4(0x480)](_0x1bd06a=>_0x1bd06a['id']===_0x9cab13);if(!_0x12b8ce)return!0x1;const _0xcfffd3=_0x12b8ce[_0xd96f4(0x469)];if(!(_0x50a23f!=null&&_0x50a23f[_0xd96f4(0x4ad)]))return!0x1;const _0x2b63f8=Object[_0xd96f4(0x4d9)](_0x50a23f==null?void 0x0:_0x50a23f[_0xd96f4(0x4ad)])[_0xd96f4(0x480)](_0x5b206e=>_0x5b206e['id']===_0xcfffd3);if(!_0x2b63f8)return!0x1;_0x3a648e[_0xd96f4(0x4a7)](_0x2b63f8)&&_0x17e7d2['push']({'id':_0x4cd7c3['id'],'params':{..._0x1f67f6,'dateType':_0x2b63f8['dateType']}}),_0x5187d2[_0xd96f4(0x410)]({'id':_0x4cd7c3['id'],'params':{..._0x1f67f6}});const _0x14e72c=_0xe2244f[_0xd96f4(0x31f)](_0x5872ef[_0xd96f4(0x452)]);return _0x5872ef[_0xd96f4(0x48c)](_0x5187d2,_0x14e72c)&&_0x55d413['pushUndoRedo']({'unitID':_0x10a501,'undoMutations':_0x17e7d2,'redoMutations':_0x5187d2}),!0x0;}};var _0x38f6c5=Object[_0x416ec5(0x422)],_0x4e053f=(_0x3670c3,_0x19c044,_0x48501e,_0x3c7dd1)=>{const _0x2310d7=_0x416ec5;for(var _0x4de18e=_0x3c7dd1>0x1?void 0x0:_0x3c7dd1?_0x38f6c5(_0x19c044,_0x48501e):_0x19c044,_0x2e4ba7=_0x3670c3[_0x2310d7(0x2a9)]-0x1,_0x4c20e2;_0x2e4ba7>=0x0;_0x2e4ba7--)(_0x4c20e2=_0x3670c3[_0x2e4ba7])&&(_0x4de18e=_0x4c20e2(_0x4de18e)||_0x4de18e);return _0x4de18e;},_0x8faacb=(_0x23b49d,_0xea7fae)=>(_0x14356b,_0x48e127)=>_0xea7fae(_0x14356b,_0x48e127,_0x23b49d);const _0x22473b=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x58d327=(_0x268ea3,_0x2177fe,_0x4f49e4)=>{const _0x2cbb1b=_0x416ec5,_0x3fff90=_0x268ea3['dataFieldsCollection'];_0x268ea3[_0x2cbb1b(0x20a)](_0x5c10fc=>{const _0x216ee5=_0x2cbb1b,_0x4b1605=_0x5c10fc[_0x216ee5(0x21c)](),_0x7067fe=_0x5c10fc[_0x216ee5(0x226)](),_0x5571f6=_0x5c10fc['getSourceName'](),_0x525629=_0x5c10fc[_0x216ee5(0x266)]();_0x2177fe[_0x7067fe]&&_0x2177fe[_0x7067fe]===_0x525629&&_0x5571f6===_0x525629&&(_0x268ea3[_0x216ee5(0x35e)](_0x4b1605,_0x3fff90[_0x216ee5(0x266)](_0x7067fe)),_0x5c10fc[_0x216ee5(0x30d)](_0x3fff90[_0x216ee5(0x266)](_0x7067fe)));}),_0x268ea3['iterateFieldByArea'](_0x3a648e[_0x2cbb1b(0x388)][_0x2cbb1b(0x380)],_0x4edbf4=>{const _0x7bb4ca=_0x2cbb1b,_0x56fb46=_0x4edbf4['getId'](),_0x449c14=_0x4edbf4['getDataFieldId'](),_0xd1f43d=_0x4edbf4['getSourceName'](),_0x4b50f6=_0x4edbf4[_0x7bb4ca(0x266)](),_0x1314ca=_0x4edbf4['getSubtotal'](),_0xfa28ca=_0x4f49e4(_0xd1f43d,_0x1314ca);_0x2177fe[_0x449c14]&&_0x2177fe[_0x449c14]===_0xd1f43d&&_0xfa28ca===_0x4b50f6&&(_0x268ea3[_0x7bb4ca(0x35e)](_0x56fb46,_0x4f49e4(_0x3fff90[_0x7bb4ca(0x266)](_0x449c14),_0x1314ca)),_0x4edbf4['setSourceName'](_0x3fff90[_0x7bb4ca(0x266)](_0x449c14)));});},_0x510833=(_0x5ecdbe,_0x1656a0,_0x306d2d)=>{const _0x37c601=_0x416ec5;var _0x2e10b5,_0x11ac2c;const {arrayFormulaCellData:_0x4c4468,unitData:_0x51305f}=_0x1656a0,{unitId:_0x174a23,subUnitId:_0x368e7f}=_0x306d2d,_0x21edaf=_0x306d2d[_0x37c601(0x342)],{startColumn:_0xafd50e,endColumn:_0x18ae4c}=_0x21edaf,_0x2f7744=(_0x2e10b5=_0x4c4468==null?void 0x0:_0x4c4468[_0x174a23])==null?void 0x0:_0x2e10b5[_0x368e7f],_0x58922e=(_0x11ac2c=_0x51305f==null?void 0x0:_0x51305f[_0x174a23])==null?void 0x0:_0x11ac2c[_0x368e7f],_0x317875=new Set(),_0x59e902=_0x18ae4c-_0xafd50e+0x1,{dirtyRanges:_0x1eceb8}=_0x5ecdbe;if(_0x1eceb8)for(const {range:_0x368395,sheetId:_0x224232,unitId:_0x4c9ea4}of _0x1eceb8){if(_0x224232!==_0x368e7f||_0x174a23!==_0x4c9ea4)continue;const _0x15b470=_0x5872ef[_0x37c601(0x36e)][_0x37c601(0x2a0)](_0x368395,_0x21edaf);if(_0x15b470){const {startColumn:_0x339038,endColumn:_0x56e2df}=_0x15b470;for(let _0x5c6a1b=_0x339038;_0x5c6a1b<=_0x56e2df;_0x5c6a1b++)_0x317875['add'](_0x5c6a1b);}}if(_0x317875[_0x37c601(0x2ad)]===_0x59e902||_0x317875['size']===_0x59e902)return Array['from'](_0x317875);if(_0x58922e){const _0x227101=_0x58922e[_0x37c601(0x20d)](),_0x29c213=Object[_0x37c601(0x2a3)](_0x227101);for(const _0x167af3 of _0x29c213){const _0x5847df=Number(_0x167af3),_0x56cd91=_0x227101[_0x5847df];if(_0x317875['size']===_0x59e902)break;for(const _0x4e523d in _0x56cd91){const _0x460a51=Number(_0x4e523d);_0x460a51<_0xafd50e||_0x460a51>_0x18ae4c||_0x317875[_0x37c601(0x3c0)](_0x460a51);}}}if(_0x2f7744){const _0x321c5e=_0x2f7744[_0x37c601(0x20d)](),_0x58fa9f=Object[_0x37c601(0x2a3)](_0x321c5e);for(const _0x4a40a4 of _0x58fa9f){const _0x48cf28=Number(_0x4a40a4),_0x5c15ac=_0x321c5e[_0x48cf28];if(_0x317875['size']===_0x59e902)break;for(const _0x224634 in _0x5c15ac){const _0x2ec066=Number(_0x224634);_0x2ec066<_0xafd50e||_0x2ec066>_0x18ae4c||_0x317875['add'](_0x2ec066);}}}return Array[_0x37c601(0x3a6)](_0x317875);},_0x4da1a1=_0x4b58f0=>{const _0x51e4c0=_0x416ec5,_0x35964e=new Set(),_0xb72478=[];for(const _0x1a7509 of _0x4b58f0){const _0x2b1aaf=_0x1a7509[_0x51e4c0(0x274)]+','+_0x1a7509['endRow']+','+_0x1a7509[_0x51e4c0(0x4fd)]+','+_0x1a7509['endColumn'];_0x35964e[_0x51e4c0(0x262)](_0x2b1aaf)||(_0x35964e[_0x51e4c0(0x3c0)](_0x2b1aaf),_0xb72478[_0x51e4c0(0x410)](_0x1a7509));}return _0xb72478;};let _0xbfbd39=class extends _0x5872ef['Disposable']{constructor(_0x1f9649,_0x2f2abe,_0x6c63e1,_0x30cd76,_0x5589af,_0x2ab3b2){const _0xd9f4ea=_0x416ec5;super(),_0x48e53f(this,_0xd9f4ea(0x4d0),new _0x482d9c['BehaviorSubject'](!0x0)),_0x48e53f(this,_0xd9f4ea(0x423),_0x32774d=>{const _0x5d5528=_0xd9f4ea;this[_0x5d5528(0x4d0)][_0x5d5528(0x404)](!0x1);}),_0x48e53f(this,_0xd9f4ea(0x225),_0x211fb1=>{const _0xaadea0=_0xd9f4ea;this[_0xaadea0(0x4d0)][_0xaadea0(0x404)](!0x0);}),(this[_0xd9f4ea(0x28b)]=_0x1f9649,this[_0xd9f4ea(0x1ef)]=_0x2f2abe,this['_featureCalculationManagerService']=_0x6c63e1,this['_commandService']=_0x30cd76,this[_0xd9f4ea(0x4fa)]=_0x5589af,this[_0xd9f4ea(0x2c8)]=_0x2ab3b2,this[_0xd9f4ea(0x1ec)](),this[_0xd9f4ea(0x255)]());}[_0x416ec5(0x1ec)](){const _0x27adcf=_0x416ec5;this[_0x27adcf(0x273)](),this['_subjectViewChange'](),this[_0x27adcf(0x232)](),this[_0x27adcf(0x20b)]();}['_initGlobalComputed'](){const _0x39c392=_0x416ec5;this[_0x39c392(0x4fa)]['pushComputingStatusSubject'](this[_0x39c392(0x4d0)]),_0x3a648e[_0x39c392(0x279)][_0x39c392(0x210)](_0x3a648e[_0x39c392(0x2d0)][_0x39c392(0x1f4)],this[_0x39c392(0x423)]),_0x3a648e[_0x39c392(0x279)]['registerCallbackWithEvent'](_0x3a648e['PivotCallbackEnum'][_0x39c392(0x3bf)],this[_0x39c392(0x225)]);}[_0x416ec5(0x255)](){const _0x45407f=_0x416ec5;this['disposeWithMe'](this[_0x45407f(0x3d3)]['onCommandExecuted'](_0x680fce=>{const _0x30e890=_0x45407f;_0x680fce['id']===_0x16809e[_0x30e890(0x27f)]['id']&&this[_0x30e890(0x28b)][_0x30e890(0x316)](_0x680fce[_0x30e890(0x284)]);})),this[_0x45407f(0x293)](this['_commandService']['onCommandExecuted'](_0x3a47b8=>{const _0x111715=_0x45407f;if(_0x3a47b8['id']!==_0x31b05d['id'])return;const _0x5d59de=_0x3a47b8['params'],{unitId:_0xe7305,subUnitId:_0x716e17,pivotTableId:_0x36e2f8}=_0x5d59de,_0x54706a=_0x5d59de[_0x111715(0x284)]['type'],_0x5af8f4={};switch(_0x54706a){case _0x33ccae[_0x111715(0x24a)]:{const _0x539e9e=_0x5d59de['params'][_0x111715(0x4ca)];if(!_0x539e9e)return;const {row:_0x497d2b,col:_0xe20e22,cellData:_0x2b7367,pivotItemRenderInfoCache:_0x538dfb,tableFieldId:_0x292e89}=_0x539e9e,_0x5a7b91=this['_sheetsPivotDataSourceModel'][_0x111715(0x239)](_0x5d59de['pivotTableId']);if(!_0x5a7b91||!_0x538dfb)return;if(_0x292e89){const _0x166838=_0x5a7b91[_0x111715(0x20e)](_0x292e89);if(!_0x166838)return;_0x5af8f4[_0x111715(0x4ca)]={..._0x5a7b91[_0x111715(0x49f)](_0x166838),'tableFieldId':_0x292e89,'pivotTableId':_0x5d59de[_0x111715(0x208)],'filterInfo':_0x5a7b91[_0x111715(0x4dc)](_0x292e89),'sortInfo':_0x5a7b91['getSortInfo'](_0x292e89),'format':_0x5a7b91[_0x111715(0x4b6)](_0x292e89)};}else{const _0x329dde=_0xb32541(_0x497d2b,_0xe20e22,_0x2b7367,_0x5a7b91,_0x538dfb),_0x1e41ff=_0x329dde==null?void 0x0:_0x329dde[_0x111715(0x3cc)];if(!_0x1e41ff)return;const _0x2e8621=_0x5a7b91[_0x111715(0x20e)](_0x1e41ff);if(!_0x2e8621)return;_0x5af8f4[_0x111715(0x4ca)]={..._0x5a7b91[_0x111715(0x49f)](_0x2e8621),'tableFieldId':_0x1e41ff,'pivotTableId':_0x5d59de[_0x111715(0x208)],'filterInfo':_0x5a7b91[_0x111715(0x4dc)](_0x1e41ff),'sortInfo':_0x5a7b91['getSortInfo'](_0x1e41ff),'format':_0x5a7b91['getFieldFormat'](_0x1e41ff)};}}break;case _0x33ccae[_0x111715(0x2d4)]:{const _0x1a6d87=_0x5d59de[_0x111715(0x284)][_0x111715(0x234)];if(!_0x1a6d87)return;const {pivotTableId:_0x1ca708}=_0x1a6d87,_0x4cf77b=this[_0x111715(0x28b)][_0x111715(0x239)](_0x1ca708);if(!_0x4cf77b)return;const _0x414c6c=this[_0x111715(0x28b)]['getPivotTableConfig'](_0xe7305,_0x716e17,_0x1ca708),_0xf8cf1a=_0x4bca69(_0x4cf77b,_0x1ca708,_0x414c6c);_0x5af8f4[_0x111715(0x234)]=_0xf8cf1a;}break;case _0x33ccae[_0x111715(0x4cd)]:{const _0x192fad=this[_0x111715(0x28b)]['getPivotTableInstance'](_0x36e2f8),_0x471ba0=this[_0x111715(0x28b)][_0x111715(0x4c4)](_0xe7305),_0x2f89cf=_0x471ba0['getCollection'](_0x36e2f8);let _0x545c3d=null;const _0x498e7c=this[_0x111715(0x28b)]['getPivotTableConfig'](_0xe7305,_0x716e17,_0x36e2f8),_0x20441e=_0x5d59de[_0x111715(0x284)][_0x111715(0x1f8)];if(!_0x192fad||!_0x498e7c||!_0x20441e)return!0x1;const {dataFieldId:_0x4d504a,fieldArea:_0x16d10a,index:_0x1794f8}=_0x20441e;_0x192fad['startCollectChangeset']();const _0xc20126=_0x192fad[_0x111715(0x4e4)](_0x4d504a,_0x16d10a,_0x1794f8);if(_0xc20126&&_0x16d10a===_0x3a648e[_0x111715(0x388)]['Value']){const _0x42e3e9=_0xc20126['getId'](),_0x5c23b9=_0x192fad[_0x111715(0x20e)](_0x42e3e9);if(_0x5c23b9){const _0x2aa6d5=_0x5c23b9==null?void 0x0:_0x5c23b9[_0x111715(0x493)]();_0x192fad['setSubtotalType'](_0xc20126[_0x111715(0x21c)](),_0x2aa6d5===_0x3a648e[_0x111715(0x3a3)][_0x111715(0x339)]?_0x3a648e[_0x111715(0x305)]['sum']:_0x3a648e[_0x111715(0x305)][_0x111715(0x1fc)]);}const _0x181434=_0x192fad[_0x111715(0x3e2)](),_0x32606f=_0x192fad[_0x111715(0x32c)](),_0x1a413e=_0x192fad[_0x111715(0x289)](_0x3a648e[_0x111715(0x388)][_0x111715(0x380)]);if(_0x181434===-0x1&&_0x1a413e>0x1){const _0x9fddb1=_0x32606f===_0x3a648e[_0x111715(0x309)][_0x111715(0x2d3)]?_0x3a648e[_0x111715(0x309)][_0x111715(0x471)]:_0x32606f,_0x411bbe=_0x9fddb1===_0x3a648e[_0x111715(0x309)][_0x111715(0x298)]?_0x3a648e['PivotTableFiledAreaEnum'][_0x111715(0x298)]:_0x3a648e[_0x111715(0x388)][_0x111715(0x471)];_0x192fad[_0x111715(0x252)](_0x9fddb1,_0x192fad[_0x111715(0x289)](_0x411bbe));}}else{if(_0xc20126&&(_0x16d10a===_0x3a648e[_0x111715(0x388)][_0x111715(0x298)]||_0x16d10a===_0x3a648e[_0x111715(0x388)]['Column'])){const _0x150c11=_0xc20126[_0x111715(0x21c)](),_0x2ccae9=_0x192fad[_0x111715(0x20e)](_0x150c11);if(_0x2ccae9&&(_0x2ccae9==null?void 0x0:_0x2ccae9['getFieldDataType']())===_0x3a648e[_0x111715(0x3a3)][_0x111715(0x4c8)]){const _0x3416da=_0x2ccae9[_0x111715(0x4e7)]();if(_0x3416da&&_0x192fad['setFieldFormat'](_0xc20126[_0x111715(0x21c)](),_0x3416da),!_0x2f89cf[_0x111715(0x391)]()[_0x111715(0x44e)](_0x55319a=>{const _0x20caf0=_0x111715,_0x124ef7=_0x2f89cf[_0x20caf0(0x260)](_0x55319a);return _0x3a648e['isDateGroupField'](_0x124ef7)?_0x124ef7[_0x20caf0(0x22b)]()[_0x20caf0(0x4b1)]===_0x4d504a:!0x1;})){const _0x46cd0b=_0x471ba0[_0x111715(0x3dd)](),_0x52c15c=_0x59873c(_0x2ccae9[_0x111715(0x341)],_0x2ccae9[_0x111715(0x4ba)]),_0x5f1ffe=_0x2ccae9[_0x111715(0x40b)]()+'\x20-\x20'+_0x5f44b1(this['_injector'],_0x52c15c),_0x3a6510=new _0x3a648e['DateGroupField'](_0x46cd0b,_0x5f1ffe,_0x3a648e[_0x111715(0x490)](0x3),_0x2ccae9[_0x111715(0x21c)](),_0x52c15c);_0x471ba0['addDataFieldWithoutUnitInfo'](_0x3a6510),_0x2f89cf[_0x111715(0x358)](_0x46cd0b,_0x5f1ffe),_0x192fad['addFieldWithSourceId'](_0x46cd0b,_0x16d10a,(_0x1794f8!=null?_0x1794f8:0x0)+0x1),_0x545c3d=_0x3a6510;}}}}const _0x354864=_0x192fad[_0x111715(0x4a3)](),_0x56180d=_0x192fad[_0x111715(0x3d2)]()[_0x111715(0x2d9)]();let _0x2fcf1d;if(_0x545c3d){_0x2fcf1d=_0x545c3d[_0x111715(0x2d9)]();const _0x23cad2=_0x545c3d['getId']();_0x2f89cf[_0x111715(0x371)](_0x23cad2);let _0x16dc03=!0x0;for(const _0x3dd5de in _0x471ba0[_0x111715(0x415)])if(_0x471ba0['collections'][_0x3dd5de][_0x111715(0x391)]()[_0x111715(0x3d5)](_0x23cad2)){_0x16dc03=!0x1;break;}_0x16dc03&&_0x471ba0[_0x111715(0x237)](_0x23cad2);}const _0x3b56d0=_0x192fad['endCollectChangeset']();_0x5af8f4[_0x111715(0x1f8)]={'view':_0x56180d,'changesets':_0x3b56d0,'isEmpty':_0x354864,'pivotTableConfig':_0x498e7c,'shouldBeAddedGroupJSON':_0x2fcf1d};}break;case _0x33ccae[_0x111715(0x317)]:{const _0x4bc684=_0x5d59de[_0x111715(0x284)][_0x111715(0x389)];if(!_0x4bc684)return;const _0x17c38e=_0x4bc684[_0x111715(0x26c)],_0x51a356=_0x4bc684[_0x111715(0x208)],{collection:_0x4c35e3}=this[_0x111715(0x28b)][_0x111715(0x215)]({'unitId':_0x17c38e[_0x111715(0x484)],'sheetName':_0x17c38e['sheetName'],'subUnitId':_0x17c38e[_0x111715(0x4b9)],'range':_0x17c38e['range']}),_0x516a74=new _0x3a648e[(_0x111715(0x279))](_0x4c35e3,void 0x0,_0x51a356),_0x5e25ed=_0x516a74[_0x111715(0x3d2)](),_0x5858bc=_0x516a74[_0x111715(0x2d9)](),_0x5ae486=_0x4c35e3[_0x111715(0x2d9)]();_0x5af8f4['addPivotTable']={'view':_0x5e25ed,'fieldsConfig':_0x5858bc,'collectionConfig':_0x5ae486,'isEmpty':_0x516a74[_0x111715(0x4a3)]()};}break;case _0x33ccae[_0x111715(0x3d4)]:{const _0x4dc16d=_0x5d59de['params']['movePivotField'];if(!_0x4dc16d)return;const {fieldId:_0x321eaf,area:_0x2aacff,index:_0x1f85ec}=_0x4dc16d,_0x6f9e16=this[_0x111715(0x28b)][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x6f9e16)return;const _0x180d96=this[_0x111715(0x28b)]['getPivotTableInstance'](_0x36e2f8);if(!_0x180d96)return;_0x180d96[_0x111715(0x397)]();const {area:_0x3669b8,index:_0x36268e}=_0x180d96[_0x111715(0x47f)](_0x321eaf);if(_0x180d96[_0x111715(0x201)](_0x321eaf,_0x2aacff,_0x1f85ec),_0x2aacff===_0x3a648e[_0x111715(0x388)][_0x111715(0x380)]&&_0x180d96[_0x111715(0x34f)](_0x321eaf)[_0x111715(0x2a2)]()===void 0x0){const _0x1a361e=_0x180d96[_0x111715(0x34f)](_0x321eaf);if(_0x1a361e&&_0x1a361e[_0x111715(0x2a2)]()===void 0x0){const _0x240f66=_0x180d96['getDataFieldByTableId'](_0x321eaf);if(_0x240f66){const _0xe52b1d=_0x240f66==null?void 0x0:_0x240f66[_0x111715(0x493)]();_0x180d96[_0x111715(0x35a)](_0x321eaf,_0xe52b1d===_0x3a648e['PivotDataFieldDataTypeEnum'][_0x111715(0x339)]?_0x3a648e[_0x111715(0x305)][_0x111715(0x4cb)]:_0x3a648e[_0x111715(0x305)][_0x111715(0x1fc)]);}}}const _0x40ecb2=_0x180d96[_0x111715(0x32c)](),_0x4ef1c5=_0x180d96[_0x111715(0x3e2)](),_0x1f24f8=_0x180d96[_0x111715(0x289)](_0x3a648e['PivotTableFiledAreaEnum']['Value'])>0x1;if(_0x1f24f8&&_0x3669b8===_0x2aacff&&(_0x2aacff===_0x3a648e['PivotTableFiledAreaEnum']['Row']&&_0x40ecb2===_0x3a648e['PivotTableValuePositionEnum']['Row']||_0x2aacff===_0x3a648e['PivotTableFiledAreaEnum']['Column']&&_0x40ecb2===_0x3a648e[_0x111715(0x309)]['Column'])){let _0x2581b9=_0x4ef1c5;_0x36268e<=_0x4ef1c5&&_0x2581b9--,_0x1f85ec<=_0x4ef1c5&&_0x2581b9++,_0x180d96[_0x111715(0x252)](_0x40ecb2,_0x2581b9);}else _0x1f24f8&&(_0x3669b8===_0x3a648e['PivotTableFiledAreaEnum'][_0x111715(0x298)]&&_0x40ecb2===_0x3a648e[_0x111715(0x309)][_0x111715(0x298)]||_0x3669b8===_0x3a648e[_0x111715(0x388)][_0x111715(0x471)]&&_0x40ecb2===_0x3a648e[_0x111715(0x309)]['Column'])&&_0x4ef1c5>=_0x36268e&&_0x180d96['updateValuePosition'](_0x40ecb2,_0x4ef1c5-0x1),_0x1f24f8&&(_0x2aacff===_0x3a648e[_0x111715(0x388)][_0x111715(0x298)]&&_0x40ecb2===_0x3a648e[_0x111715(0x309)][_0x111715(0x298)]||_0x2aacff===_0x3a648e[_0x111715(0x388)][_0x111715(0x471)]&&_0x40ecb2===_0x3a648e[_0x111715(0x309)][_0x111715(0x471)])&&_0x4ef1c5>=_0x1f85ec&&_0x180d96[_0x111715(0x252)](_0x40ecb2,_0x4ef1c5+0x1);const _0x4218ba=_0x180d96[_0x111715(0x3d2)](),_0x7fe2c7=_0x180d96[_0x111715(0x4a3)](),_0x829912=_0x180d96[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x27a)]={'view':_0x4218ba[_0x111715(0x2d9)](),'changesets':_0x829912,'isEmpty':_0x7fe2c7,'pivotTableConfig':_0x6f9e16};}break;case _0x33ccae['RemovePivotField']:{const _0x38e041=_0x5d59de['params']['removePivotField'];if(!_0x38e041)return;const _0x455d09=_0x38e041[_0x111715(0x35c)],_0x317271=this['_sheetsPivotDataSourceModel'][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x317271)return!0x1;const _0x4a1724=this[_0x111715(0x28b)][_0x111715(0x239)](_0x36e2f8);if(!_0x4a1724)return!0x1;_0x4a1724[_0x111715(0x397)]();for(const _0x41367f of _0x455d09){const {area:_0x972b0e}=_0x4a1724[_0x111715(0x47f)](_0x41367f);_0x972b0e===_0x3a648e[_0x111715(0x388)][_0x111715(0x380)]&&_0x4a1724[_0x111715(0x43c)](_0x41367f),(_0x972b0e===_0x3a648e[_0x111715(0x388)][_0x111715(0x298)]||_0x972b0e===_0x3a648e[_0x111715(0x388)]['Column'])&&_0x4a1724[_0x111715(0x457)](_0x41367f),_0x4a1724[_0x111715(0x203)](_0x41367f);}const _0x2ace9a=_0x4a1724[_0x111715(0x4a3)](),_0x32cad9=_0x4a1724[_0x111715(0x3d2)]()[_0x111715(0x2d9)](),_0x58c083=_0x4a1724[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x3de)]={'changesets':_0x58c083,'pivotTableConfig':_0x317271,'isEmpty':_0x2ace9a,'view':_0x32cad9};}break;case _0x33ccae['SetPivotFilter']:{const _0x2046cf=_0x5d59de[_0x111715(0x284)][_0x111715(0x2e2)];if(!_0x2046cf)return;const {tableFieldId:_0x559a0e,items:_0x2a83fc,isAll:_0x46390f}=_0x2046cf,_0x80784c=this[_0x111715(0x28b)][_0x111715(0x239)](_0x36e2f8),_0x23efe3=this['_sheetsPivotDataSourceModel'][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x80784c||!_0x23efe3)return;_0x80784c['startCollectChangeset'](),_0x80784c['setLabelFilterInfo'](_0x559a0e,{'type':_0x3a648e[_0x111715(0x2ba)][_0x111715(0x222)],'list':_0x2a83fc,'isAll':_0x46390f});const _0xba725b=_0x80784c[_0x111715(0x4a3)](),_0x48bdf7=_0x80784c[_0x111715(0x3d2)]()[_0x111715(0x2d9)](),_0x55c7d0=_0x80784c[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x2e2)]={'view':_0x48bdf7,'changesets':_0x55c7d0,'isEmpty':_0xba725b,'pivotTableConfig':_0x23efe3};}break;case _0x33ccae[_0x111715(0x2c0)]:{const _0x56da6e=_0x5d59de[_0x111715(0x284)][_0x111715(0x3af)];if(!_0x56da6e)return;const {tableFieldId:_0x3bb8ad,filterInfo:_0x438d95}=_0x56da6e,_0x193706=this[_0x111715(0x28b)]['getPivotTableInstance'](_0x36e2f8),_0x1232d7=this[_0x111715(0x28b)][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x193706||!_0x1232d7)return;_0x193706[_0x111715(0x397)](),_0x193706['setValueFilterInfo'](_0x3bb8ad,_0x438d95);const _0xf0c87c=_0x193706[_0x111715(0x4a3)](),_0x3ab71f=_0x193706[_0x111715(0x3d2)]()[_0x111715(0x2d9)](),_0x44ccae=_0x193706['endCollectChangeset']();_0x5af8f4['setValuePivotFilter']={'view':_0x3ab71f,'changesets':_0x44ccae,'isEmpty':_0xf0c87c,'pivotTableConfig':_0x1232d7};}break;case _0x33ccae['SetPivotSort']:{const _0x36daa5=_0x5d59de[_0x111715(0x284)][_0x111715(0x4f4)];if(!_0x36daa5)return;const {tableFieldId:_0x2b6267,info:_0x1987c5}=_0x36daa5,_0x481db4=this[_0x111715(0x28b)]['getPivotTableInstance'](_0x36e2f8),_0x5c0143=this[_0x111715(0x28b)]['getPivotTableConfig'](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x481db4||!_0x5c0143)return;_0x481db4[_0x111715(0x397)](),_0x481db4[_0x111715(0x3fb)](_0x2b6267,_0x1987c5);const _0x2adaf4=_0x481db4[_0x111715(0x4a3)](),_0x54d1c8=_0x481db4['query']()[_0x111715(0x2d9)](),_0x20cb69=_0x481db4[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x4f4)]={'view':_0x54d1c8,'changesets':_0x20cb69,'isEmpty':_0x2adaf4,'pivotTableConfig':_0x5c0143};}break;case _0x33ccae[_0x111715(0x2e6)]:{const _0x412952=_0x5d59de[_0x111715(0x284)]['setPivotSetting'];if(!_0x412952)return;const {tableFieldId:_0x15d6cb,displayName:_0x48bf99,subtotalType:_0x538652,format:_0x42c3ab}=_0x412952,_0x471eea=this[_0x111715(0x28b)][_0x111715(0x239)](_0x36e2f8),_0x32a1f3=this[_0x111715(0x28b)]['getPivotTableConfig'](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x471eea||!_0x32a1f3)return;_0x471eea[_0x111715(0x397)](),_0x48bf99!==void 0x0&&_0x471eea[_0x111715(0x35e)](_0x15d6cb,_0x48bf99),_0x538652!==void 0x0&&_0x471eea[_0x111715(0x35a)](_0x15d6cb,_0x538652),_0x42c3ab!==void 0x0&&_0x471eea['setFieldFormat'](_0x15d6cb,_0x42c3ab);const _0x16892d=_0x471eea[_0x111715(0x4a3)](),_0x4f3a31=_0x471eea[_0x111715(0x3d2)]()[_0x111715(0x2d9)](),_0x2f6cb8=_0x471eea[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x4b5)]={'changesets':_0x2f6cb8,'pivotTableConfig':_0x32a1f3,'isEmpty':_0x16892d,'view':_0x4f3a31};}break;case _0x33ccae[_0x111715(0x375)]:{const _0x4f538f=_0x5d59de[_0x111715(0x284)][_0x111715(0x1fd)];if(!_0x4f538f)return;const {dataRangeInfo:_0x100678,unitId:_0x2762d4,subUnitId:_0x1e7197}=_0x4f538f,_0x960ade=this[_0x111715(0x28b)][_0x111715(0x474)](_0x2762d4,_0x1e7197,_0x36e2f8),_0x1255fb=this[_0x111715(0x28b)]['getPivotTableInstance'](_0x36e2f8);if(!this[_0x111715(0x28b)][_0x111715(0x3f3)](_0x2762d4,_0x36e2f8)||!_0x1255fb||!_0x960ade)return;const _0x4b6581=this[_0x111715(0x28b)][_0x111715(0x48a)](_0x2762d4,_0x36e2f8,_0x100678),_0x452beb=this[_0x111715(0x28b)][_0x111715(0x3f3)](_0x2762d4,_0x36e2f8)['toJSON'](),{collection:_0x40d1c1}=this[_0x111715(0x28b)][_0x111715(0x215)]({'unitId':_0x100678[_0x111715(0x484)],'sheetName':_0x100678['sheetName'],'subUnitId':_0x100678[_0x111715(0x4b9)],'range':_0x100678[_0x111715(0x342)]}),_0x32822d=_0x40d1c1[_0x111715(0x2d9)]();_0x1255fb[_0x111715(0x397)]();const _0x854b5=this[_0x111715(0x28b)][_0x111715(0x4c4)](_0x2762d4)['getAutoDisplayNameFunction']()||_0x3a648e[_0x111715(0x419)];_0x1255fb[_0x111715(0x489)](_0x1e79c9=>{const _0x5f46f6=_0x111715,_0x35fecf=_0x1e79c9[_0x5f46f6(0x226)]();if(!_0x40d1c1[_0x5f46f6(0x204)](_0x35fecf)){const _0x4c117c=_0x40d1c1[_0x5f46f6(0x411)](_0x1e79c9[_0x5f46f6(0x41a)]());if(_0x4c117c){_0x1255fb['updateFieldSourceInfo'](_0x1e79c9[_0x5f46f6(0x21c)](),_0x4c117c[_0x5f46f6(0x40b)](),_0x4c117c[_0x5f46f6(0x21c)]());const {area:_0x395469}=_0x1255fb[_0x5f46f6(0x47f)](_0x1e79c9[_0x5f46f6(0x21c)]());let _0x313bad=_0x1e79c9[_0x5f46f6(0x41a)]();const _0xc0b58b=_0x1e79c9[_0x5f46f6(0x266)]();if(_0x395469===_0x3a648e[_0x5f46f6(0x388)]['Value']){const _0x3523f9=_0x1e79c9[_0x5f46f6(0x2a2)]();_0x313bad=_0x854b5(_0x4c117c[_0x5f46f6(0x40b)](),_0x3523f9);}_0xc0b58b!==_0x313bad&&_0x1255fb[_0x5f46f6(0x35e)](_0x1e79c9[_0x5f46f6(0x21c)](),_0x313bad);}else _0x1255fb[_0x5f46f6(0x203)](_0x1e79c9['getId']());}});const _0x371231=_0x1255fb['isEmpty'](),_0x32dc71=_0x1255fb['query']()[_0x111715(0x2d9)](),_0x476f6c=_0x1255fb[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x1fd)]={'view':_0x32dc71,'changesets':_0x476f6c,'isEmpty':_0x371231,'pivotTableConfig':_0x960ade,'collectionConfig':_0x32822d,'oldCollectionConfig':_0x452beb,'deleteIds':_0x4b6581};}break;case _0x33ccae[_0x111715(0x364)]:{const _0x2d93a5=_0x5d59de[_0x111715(0x284)][_0x111715(0x252)];if(!_0x2d93a5)return;const {position:_0x4984c1,index:_0x364ed9}=_0x2d93a5,_0x2bed0f=this[_0x111715(0x28b)][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x2bed0f)return!0x1;const _0xffe4b7=this[_0x111715(0x28b)][_0x111715(0x239)](_0x36e2f8);if(!_0xffe4b7)return!0x1;_0xffe4b7[_0x111715(0x397)](),_0xffe4b7[_0x111715(0x252)](_0x4984c1,_0x364ed9);const _0xa42610=_0xffe4b7[_0x111715(0x4a3)](),_0x31c9b7=_0xffe4b7[_0x111715(0x3d2)]()['toJSON'](),_0x24e754=_0xffe4b7[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x252)]={'changesets':_0x24e754,'pivotTableConfig':_0x2bed0f,'isEmpty':_0xa42610,'view':_0x31c9b7};}break;case _0x33ccae[_0x111715(0x387)]:{const _0x5469a6=_0x5d59de[_0x111715(0x284)][_0x111715(0x31c)];if(!_0x5469a6)return;const {tableFieldId:_0x32d97d,collapse:_0x5c2ed0,item:_0x3a9204}=_0x5469a6,_0x2d9b76=this['_sheetsPivotDataSourceModel'][_0x111715(0x239)](_0x36e2f8),_0x23fc59=this[_0x111715(0x28b)][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x2d9b76||!_0x23fc59)return;_0x2d9b76[_0x111715(0x397)](),_0x2d9b76[_0x111715(0x328)](_0x32d97d,_0x5c2ed0,_0x3a9204);const _0x51d3eb=_0x2d9b76['isEmpty'](),_0x351c38=_0x2d9b76['query']()[_0x111715(0x2d9)](),_0x46600d=_0x2d9b76[_0x111715(0x430)]();_0x5af8f4['setPivotCollapse']={'view':_0x351c38,'isEmpty':_0x51d3eb,'pivotTableConfig':_0x23fc59,'changesets':_0x46600d};}break;case _0x33ccae[_0x111715(0x2a1)]:{const _0x539fe8=_0x5d59de[_0x111715(0x284)][_0x111715(0x3f4)];if(!_0x539fe8)return;const {pivotTableConfig:_0x37e876}=_0x539fe8,_0x408936=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x36e2f8),_0x35a413=this['_sheetsPivotDataSourceModel'][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x408936||!_0x35a413)return;_0x408936[_0x111715(0x397)](),_0x413490(_0x408936,_0x37e876);const _0x2bc347=_0x408936[_0x111715(0x4a3)](),_0x4b6eb1=_0x408936[_0x111715(0x3d2)]()['toJSON'](),_0x5873e0=_0x408936[_0x111715(0x430)]();_0x5af8f4[_0x111715(0x3f4)]={'view':_0x4b6eb1,'isEmpty':_0x2bc347,'pivotTableConfig':{..._0x35a413,'fieldsConfig':_0x408936[_0x111715(0x2d9)]()},'changesets':_0x5873e0};}break;case _0x33ccae['ResetPivotTable']:{const _0x17c0ea=_0x5d59de[_0x111715(0x284)][_0x111715(0x331)];if(!_0x17c0ea)return;const _0x2618ee=this['_sheetsPivotDataSourceModel'][_0x111715(0x239)](_0x36e2f8),_0x4baf58=this['_sheetsPivotDataSourceModel'][_0x111715(0x474)](_0xe7305,_0x716e17,_0x36e2f8);if(!_0x2618ee||!_0x4baf58)return;_0x2618ee[_0x111715(0x397)](),_0x10b07a(_0x2618ee,_0x17c0ea['resetArea']);const _0xe280e8=_0x2618ee['query']()[_0x111715(0x2d9)](),_0x2b9d87=_0x2618ee['endCollectChangeset']();_0x5af8f4[_0x111715(0x331)]={'view':_0xe280e8,'isEmpty':!0x0,'pivotTableConfig':{..._0x4baf58,'fieldsConfig':_0x2618ee[_0x111715(0x2d9)]()},'changesets':_0x2b9d87};}break;case _0x33ccae[_0x111715(0x39e)]:{const _0x4bc8db=_0x5d59de['params'][_0x111715(0x327)];if(!_0x4bc8db)return;const _0x5844d1=_0x4bc8db[_0x111715(0x26c)],_0x314692=_0x4bc8db[_0x111715(0x208)],{collection:_0x2d7970}=this[_0x111715(0x28b)][_0x111715(0x215)]({'unitId':_0x5844d1[_0x111715(0x484)],'sheetName':_0x5844d1['sheetName'],'subUnitId':_0x5844d1[_0x111715(0x4b9)],'range':_0x5844d1[_0x111715(0x342)]}),_0x22116f=new _0x3a648e[(_0x111715(0x279))](_0x2d7970,void 0x0,_0x314692),_0x9775b1=_0x2d7970[_0x111715(0x391)](),{rows:_0x30ccff,columns:_0x555faf,filters:_0x12ec3f,values:_0x11b9af}=_0x4bc8db[_0x111715(0x2b1)];_0x22116f[_0x111715(0x397)]();for(const {field:_0x151f21,selectedItems:_0x18b707}of _0x30ccff||[]){const _0x6187b9=_0x9775b1[_0x151f21];if(_0x6187b9){const _0x3b60c5=_0x22116f[_0x111715(0x4e4)](_0x6187b9,_0x3a648e[_0x111715(0x388)]['Row']);_0x18b707&&_0x3b60c5&&_0x22116f[_0x111715(0x4b0)](_0x3b60c5[_0x111715(0x21c)](),{'type':_0x3a648e[_0x111715(0x2ba)][_0x111715(0x222)],'list':_0x18b707,'isAll':!0x1});}}for(const {field:_0x49ef99,selectedItems:_0x46d590}of _0x555faf||[]){const _0x285037=_0x9775b1[_0x49ef99];if(_0x285037){const _0x1d84a5=_0x22116f[_0x111715(0x4e4)](_0x285037,_0x3a648e[_0x111715(0x388)]['Column']);_0x46d590&&_0x1d84a5&&_0x22116f[_0x111715(0x4b0)](_0x1d84a5[_0x111715(0x21c)](),{'type':_0x3a648e[_0x111715(0x2ba)][_0x111715(0x222)],'list':_0x46d590,'isAll':!0x1});}}for(const {field:_0x567cf1,selectedItems:_0x5e27a8}of _0x12ec3f||[]){const _0x4d04e9=_0x9775b1[_0x567cf1];if(_0x4d04e9){const _0x3ad6ad=_0x22116f[_0x111715(0x4e4)](_0x4d04e9,_0x3a648e[_0x111715(0x388)]['Filter']);_0x5e27a8&&_0x3ad6ad&&_0x22116f[_0x111715(0x4b0)](_0x3ad6ad[_0x111715(0x21c)](),{'type':_0x3a648e[_0x111715(0x2ba)]['ManualFilter'],'list':_0x5e27a8,'isAll':!0x1});}}for(const {field:_0x233ff3,subTotalType:_0x4b87e8,formatString:_0x1c1438}of _0x11b9af||[]){const _0x19abd1=_0x2d7970[_0x111715(0x260)](_0x9775b1[_0x233ff3]);if(!_0x19abd1)continue;const _0x52bb6a=_0x9775b1[_0x233ff3];if(_0x52bb6a){const _0x45318c=_0x22116f[_0x111715(0x4e4)](_0x52bb6a,_0x3a648e[_0x111715(0x388)][_0x111715(0x380)]);if(_0x45318c){if(_0x4b87e8!==void 0x0){_0x22116f[_0x111715(0x35a)](_0x45318c[_0x111715(0x21c)](),_0x4b87e8);const _0x1a23a2=this[_0x111715(0x28b)][_0x111715(0x4c4)](_0x5844d1['unitId'])['getAutoDisplayNameFunction']()||_0x3a648e[_0x111715(0x419)],_0x5b9017=_0x2d7970['getDisplayName'](_0x52bb6a),_0x2bb5ff=_0x1a23a2(_0x5b9017,_0x4b87e8);_0x22116f[_0x111715(0x35e)](_0x45318c[_0x111715(0x21c)](),_0x2bb5ff);}else{if(_0x19abd1){const _0x5e910c=_0x19abd1==null?void 0x0:_0x19abd1['getFieldDataType']();_0x22116f[_0x111715(0x35a)](_0x45318c[_0x111715(0x21c)](),_0x5e910c===_0x3a648e[_0x111715(0x3a3)][_0x111715(0x339)]?_0x3a648e[_0x111715(0x305)][_0x111715(0x4cb)]:_0x3a648e[_0x111715(0x305)]['count']);}}_0x1c1438&&_0x22116f[_0x111715(0x240)](_0x45318c[_0x111715(0x21c)](),_0x1c1438);}}}const _0x31d65b=_0x22116f[_0x111715(0x3d2)](),_0x275eae=_0x22116f[_0x111715(0x2d9)](),_0x51f1cf=_0x22116f[_0x111715(0x4a3)](),_0x46c85e=_0x22116f[_0x111715(0x430)](),_0x331311=_0x2d7970[_0x111715(0x2d9)]();_0x5af8f4[_0x111715(0x327)]={'view':_0x31d65b,'fieldsConfig':_0x275eae,'collectionConfig':_0x331311,'isEmpty':_0x51f1cf,'changesets':_0x46c85e};}break;case _0x33ccae[_0x111715(0x363)]:{const _0x4400f9=_0x18d43f(this[_0x111715(0x2c8)],_0x5d59de);if(!_0x4400f9)return;const {range:_0x414d6c,sourceSubUnitId:_0x1b7db2,sourceUnitId:_0x152ea9,formatMap:_0x590ad8,indexes:_0x383cea}=_0x4400f9;_0x5af8f4[_0x111715(0x2ea)]={'range':_0x414d6c,'sourceSubUnitId':_0x1b7db2,'sourceUnitId':_0x152ea9,'formatMap':_0x590ad8,'indexes':_0x383cea};}break;}this['_commandService'][_0x111715(0x4c1)](_0x368bda['id'],{'version':_0x5d59de['version'],'result':_0x5af8f4},{'onlyLocal':!0x0});}));}[_0x416ec5(0x232)](){const _0x140ed3=_0x416ec5;this['disposeWithMe'](this[_0x140ed3(0x3d3)][_0x140ed3(0x499)](_0x181918=>{const _0x497e66=_0x140ed3;if(_0x181918['id']!==_0x405b4d['id'])return;const _0x2ee009=_0x181918[_0x497e66(0x284)];return this['_sheetsPivotDataSourceModel'][_0x497e66(0x322)](_0x2ee009[_0x497e66(0x4a2)]),!0x0;}));}[_0x416ec5(0x273)](){const _0x48e43c=_0x416ec5;this[_0x48e43c(0x28b)][_0x48e43c(0x501)]['subscribe'](_0x2ee81e=>{const _0x5245d4=_0x48e43c;switch(_0x2ee81e['type']){case _0x3adfea[_0x5245d4(0x3c0)]:_0x2ee81e[_0x5245d4(0x21a)]&&_0x2ee81e[_0x5245d4(0x455)]&&this[_0x5245d4(0x3ea)](_0x2ee81e[_0x5245d4(0x4a0)],_0x2ee81e[_0x5245d4(0x21a)],_0x2ee81e['targetCellInfo']);break;case _0x3adfea[_0x5245d4(0x3e3)]:{const {unitId:_0x3be1f2,subUnitId:_0x4b8210,token:_0x3a46a3}=_0x2ee81e;_0x3be1f2&&_0x4b8210&&_0x3a46a3&&this[_0x5245d4(0x2d1)](_0x3be1f2,_0x4b8210,_0x3a46a3);}break;case _0x3adfea[_0x5245d4(0x269)]:{const {token:_0x26430f,oldSourceRangeInfo:_0x4eaaf5,dataRangeInfo:_0x18047e,targetCellInfo:_0x454730}=_0x2ee81e,{unitId:_0x3d1ca0,subUnitId:_0x2e6ac8}=_0x4eaaf5||{};_0x3d1ca0&&_0x2e6ac8&&_0x26430f&&this[_0x5245d4(0x2d1)](_0x3d1ca0,_0x2e6ac8,_0x26430f),_0x18047e&&_0x454730&&this[_0x5245d4(0x3ea)](_0x26430f,_0x18047e,_0x454730);}break;}});}['_subjectFieldsCollectionChange'](){const _0x79c47a=_0x416ec5;this[_0x79c47a(0x28b)][_0x79c47a(0x2f4)][_0x79c47a(0x26a)](_0xd6bf39=>{const _0x597cd7=_0x79c47a;Object[_0x597cd7(0x2a3)](_0xd6bf39)[_0x597cd7(0x24e)](_0x472d65=>{const _0x17c7d2=_0x597cd7,_0x84ba12=this[_0x17c7d2(0x28b)][_0x17c7d2(0x446)](_0x472d65);if(_0x84ba12){const _0x3ce930=this[_0x17c7d2(0x28b)][_0x17c7d2(0x474)](_0x84ba12==null?void 0x0:_0x84ba12[_0x17c7d2(0x484)],_0x84ba12==null?void 0x0:_0x84ba12[_0x17c7d2(0x4b9)],_0x472d65);_0x3ce930&&(this[_0x17c7d2(0x3ea)](_0x472d65,_0x3ce930['sourceRangeInfo'],_0x3ce930[_0x17c7d2(0x455)]),this[_0x17c7d2(0x254)]([{'unitId':_0x84ba12[_0x17c7d2(0x484)],'subUnitId':_0x84ba12[_0x17c7d2(0x4b9)],'token':_0x472d65}]));}});});}[_0x416ec5(0x301)](){const _0x3254de=_0x416ec5;this[_0x3254de(0x28b)][_0x3254de(0x2b9)]['subscribe'](_0x936234=>{const {unitId:_0x43b006,subUnitId:_0x32f66a,pivotTableId:_0x3628f6}=_0x936234;_0x43b006&&_0x32f66a&&_0x3628f6&&this['triggerDirtyFeature']([{'unitId':_0x43b006,'subUnitId':_0x32f66a,'token':_0x3628f6}]);});}[_0x416ec5(0x254)](_0x576b81){const _0x275622=_0x416ec5,_0x414c29={};_0x576b81[_0x275622(0x24e)](_0x32d998=>{var _0x514ddf,_0x37e565;const {unitId:_0x99533c,subUnitId:_0x379233,token:_0x4f32c8}=_0x32d998;_0x414c29[_0x99533c]=(_0x514ddf=_0x414c29[_0x99533c])!=null?_0x514ddf:{},_0x414c29[_0x99533c][_0x379233]=(_0x37e565=_0x414c29[_0x99533c][_0x379233])!=null?_0x37e565:{},_0x414c29[_0x99533c][_0x379233][_0x4f32c8]=!0x0;}),this[_0x275622(0x3d3)][_0x275622(0x4c1)](_0x17a43d['id'],_0x414c29);}[_0x416ec5(0x2d1)](_0x38ce58,_0x338d93,_0x2fef35){const _0x36dbc9=_0x416ec5;this[_0x36dbc9(0x1eb)]['remove'](_0x38ce58,_0x338d93,[_0x2fef35]);}[_0x416ec5(0x3ea)](_0x23178f,_0x4d6e80,_0x1eedeb){const _0x3b835e=_0x416ec5,{unitId:_0x24c38f,subUnitId:_0x435681}=_0x4d6e80;this['_featureCalculationManagerService']['has'](_0x1eedeb[_0x3b835e(0x484)],_0x1eedeb[_0x3b835e(0x4b9)],_0x23178f)&&this[_0x3b835e(0x2d1)](_0x24c38f,_0x435681,_0x23178f);const _0x930cf0={'sheetId':_0x435681,..._0x4d6e80};this[_0x3b835e(0x1eb)]['register'](_0x1eedeb[_0x3b835e(0x484)],_0x1eedeb[_0x3b835e(0x4b9)],_0x23178f,{'unitId':_0x1eedeb[_0x3b835e(0x484)],'subUnitId':_0x1eedeb[_0x3b835e(0x4b9)],'dependencyRanges':[_0x930cf0],'getDirtyData':(_0x2c953d,_0x52fd32)=>{const _0x566b25=_0x3b835e,_0x432b2f=this[_0x566b25(0x28b)],_0x2bf346=_0x432b2f[_0x566b25(0x446)](_0x23178f);if(!_0x2bf346)return _0x22473b();const {unitId:_0x3af5b4,subUnitId:_0x16510e}=_0x2bf346,_0x16a0e0=_0x510833(_0x2c953d,_0x52fd32,_0x4d6e80);if(_0x16a0e0[_0x566b25(0x2a9)]>0x0){const _0x5bf181=_0x432b2f['getCollection'](_0x24c38f,_0x23178f),_0x1c7236=_0x5bf181[_0x566b25(0x391)](),_0x36444a=this['getMatrixFromRunTimeData'](_0x4d6e80[_0x566b25(0x484)],_0x4d6e80['subUnitId'],_0x52fd32),_0x5b72db={},_0x25152f=this[_0x566b25(0x28b)][_0x566b25(0x4c4)](_0x3af5b4)[_0x566b25(0x2d5)]()||_0x3a648e[_0x566b25(0x419)],_0x979761=[];for(const _0x11220a of _0x16a0e0){const _0x224a16=_0x11220a-(_0x4d6e80[_0x566b25(0x342)][_0x566b25(0x4fd)]||0x0),_0xd53d78=_0x1c7236[_0x224a16];_0x979761['push'](_0xd53d78),_0x5b72db[_0xd53d78]=_0x5bf181[_0x566b25(0x260)](_0xd53d78)['getName'](),_0x432b2f[_0x566b25(0x4c4)](_0x24c38f)[_0x566b25(0x248)](_0xd53d78,_0x4d6e80,_0x224a16,_0x36444a);}_0x5bf181[_0x566b25(0x435)](_0x979761)['forEach'](_0x508d8f=>{const _0x3f043d=_0x566b25,[_0x290912,_0x31cc81]=_0x508d8f,_0x5d2e44=_0x5bf181[_0x3f043d(0x260)](_0x290912),_0x48ea2a=_0x5bf181['getFieldById'](_0x31cc81);_0x5d2e44&&_0x48ea2a&&_0x5d2e44[_0x3f043d(0x281)](_0x48ea2a);}),_0x5bf181[_0x566b25(0x30c)]();const _0x4581f7=_0x432b2f[_0x566b25(0x239)](_0x23178f);if(_0x4581f7){_0x58d327(_0x4581f7,_0x5b72db,_0x25152f),_0x4581f7['setDirty'](!0x0);const _0x5763f7=_0x4581f7['query'](),_0x5a2154=_0x432b2f[_0x566b25(0x474)](_0x3af5b4,_0x16510e,_0x23178f),_0x23afea=_0x432b2f[_0x566b25(0x4c4)](_0x24c38f)[_0x566b25(0x2d9)]();_0x432b2f['updateView'](_0x3af5b4,_0x16510e,_0x332641[_0x566b25(0x32f)],_0x23178f,_0x5763f7,_0x5a2154,_0x23afea,!0x0);}}return this[_0x566b25(0x4f6)](_0x3af5b4,_0x16510e,_0x23178f);}});}[_0x416ec5(0x294)](_0x30e4dd,_0x1c8fae,_0x4295c6){var _0x4ae684,_0xc65fd6;const {arrayFormulaCellData:_0x2ca966,unitData:_0x1a928f}=_0x4295c6,_0x423d6f=(_0x4ae684=_0x2ca966==null?void 0x0:_0x2ca966[_0x30e4dd])==null?void 0x0:_0x4ae684[_0x1c8fae],_0x176a6=(_0xc65fd6=_0x1a928f==null?void 0x0:_0x1a928f[_0x30e4dd])==null?void 0x0:_0xc65fd6[_0x1c8fae];return{'arrayFormulaCellDataMatrix':_0x423d6f,'unitDataMatrix':_0x176a6};}['getDirtyInfo'](_0xcf14df,_0x11dc07,_0x4d2c54){const _0x2e72e8=_0x416ec5,_0x34436f=this[_0x2e72e8(0x28b)]['getViewData'](_0xcf14df,_0x11dc07,_0x4d2c54),_0x169a68=[],_0xe3f828=new _0x5872ef[(_0x2e72e8(0x360))]();if(_0x34436f){const {rangeCache:_0xcd62af,matrix:_0x2e81b6,oldRangeCache:_0x18e1d6,oldMatrix:_0x198184}=_0x34436f,_0x3a9f65=_0x161ace(_0x18e1d6),_0xf82cf1=_0x161ace(_0xcd62af);_0x169a68[_0x2e72e8(0x410)](..._0xf82cf1,..._0x3a9f65),_0x198184&&_0x18e1d6&&_0x3a9f65[_0x2e72e8(0x24e)](_0x27d780=>{const _0x268559=_0x2e72e8;for(let _0x29869c=_0x27d780[_0x268559(0x274)];_0x29869c<=_0x27d780['endRow'];_0x29869c++)for(let _0x255caf=_0x27d780[_0x268559(0x4fd)];_0x255caf<=_0x27d780[_0x268559(0x291)];_0x255caf++)_0xe3f828[_0x268559(0x3fa)](_0x29869c,_0x255caf);}),_0x2e81b6&&_0xf82cf1&&_0xf82cf1['forEach'](_0x1e6f3f=>{const _0x41a2db=_0x2e72e8;for(let _0x4ba271=_0x1e6f3f['startRow'];_0x4ba271<=_0x1e6f3f[_0x41a2db(0x2b7)];_0x4ba271++)for(let _0x6de822=_0x1e6f3f[_0x41a2db(0x4fd)];_0x6de822<=_0x1e6f3f[_0x41a2db(0x291)];_0x6de822++)_0xe3f828[_0x41a2db(0x21b)](_0x4ba271,_0x6de822,_0x2e81b6[_0x41a2db(0x2e1)](_0x4ba271,_0x6de822));});}const _0x1a0161={};return _0x1a0161[_0xcf14df]={[_0x11dc07]:_0x4da1a1(_0x169a68)},{'runtimeCellData':{[_0xcf14df]:{[_0x11dc07]:_0xe3f828}},'dirtyRanges':_0x1a0161};}[_0x416ec5(0x2fc)](){}};_0xbfbd39=_0x4e053f([_0x8faacb(0x0,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e[_0x416ec5(0x3a7)])),_0x8faacb(0x1,_0x5872ef['IConfigService']),_0x8faacb(0x2,_0x5872ef[_0x416ec5(0x434)](_0x347a1d[_0x416ec5(0x23d)])),_0x8faacb(0x3,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x452)])),_0x8faacb(0x4,_0x5872ef[_0x416ec5(0x434)](_0x347a1d[_0x416ec5(0x265)])),_0x8faacb(0x5,_0x5872ef['Inject'](_0x5872ef['Injector']))],_0xbfbd39);var _0x4be565=Object[_0x416ec5(0x422)],_0x92cb5b=(_0x3489b3,_0x433fa9,_0x358e23,_0x30bbfc)=>{const _0x1ade58=_0x416ec5;for(var _0x4a1500=_0x30bbfc>0x1?void 0x0:_0x30bbfc?_0x4be565(_0x433fa9,_0x358e23):_0x433fa9,_0x2779ab=_0x3489b3[_0x1ade58(0x2a9)]-0x1,_0x2828d4;_0x2779ab>=0x0;_0x2779ab--)(_0x2828d4=_0x3489b3[_0x2779ab])&&(_0x4a1500=_0x2828d4(_0x4a1500)||_0x4a1500);return _0x4a1500;},_0x2f0216=(_0x20693d,_0x3f2e72)=>(_0x4bf6d0,_0xb657b6)=>_0x3f2e72(_0x4bf6d0,_0xb657b6,_0x20693d);let _0x4cc1de=class extends _0x5872ef[_0x416ec5(0x321)]{constructor(_0x35e2a1,_0x540d06,_0x123f76,_0x33eada){const _0x484967=_0x416ec5;super(),_0x48e53f(this,_0x484967(0x33f),new _0x5872ef['DisposableCollection']()),(this['_univerInstanceService']=_0x35e2a1,this['_sheetInterceptorService']=_0x540d06,this[_0x484967(0x3fd)]=_0x123f76,this[_0x484967(0x3e1)]=_0x33eada,this[_0x484967(0x440)]());}[_0x416ec5(0x440)](){const _0x27d5ee=_0x416ec5;this[_0x27d5ee(0x293)](this[_0x27d5ee(0x479)][_0x27d5ee(0x2e8)]({'getMutations':_0x109aed=>{const _0x217098=_0x27d5ee;if(_0x109aed['id']===_0x16809e[_0x217098(0x4f1)]['id']||_0x109aed['id']===_0x16809e[_0x217098(0x2f7)]['id']){const _0x550844=[],_0x284e24=[],_0x42d70a=this[_0x217098(0x3fd)][_0x217098(0x470)]()[_0x217098(0x376)](_0x424bf8=>_0x424bf8['range']),_0xc7e280=_0x16809e[_0x217098(0x39a)](this['_univerInstanceService']);if(!_0xc7e280)return{'redos':[],'undos':[]};const {unitId:_0x46f798,subUnitId:_0x2f2093}=_0xc7e280,_0x2efa88={},_0x5749ac=this[_0x217098(0x3e1)][_0x217098(0x396)](_0x46f798,_0x2f2093);if(_0x5749ac!=null&&_0x5749ac['size'])for(const [_0x1e439e,_0x4155d6]of _0x5749ac){const {unitId:_0x3339ba,subUnitId:_0x3570d2,row:_0x56ba25,col:_0x57de6d}=_0x4155d6['targetCellInfo'];_0x3339ba===_0xc7e280[_0x217098(0x484)]&&_0x3570d2===_0xc7e280[_0x217098(0x4b9)]&&(_0x2efa88[_0x56ba25+'-'+_0x57de6d]=_0x1e439e);}return _0x42d70a&&_0xc7e280&&_0x42d70a[_0x217098(0x24e)](_0x26a565=>{const _0x3ab00d=_0x217098;_0x5872ef[_0x3ab00d(0x4cf)][_0x3ab00d(0x344)](_0x26a565,(_0x5ba69c,_0xb8091d)=>{const _0x4b1a89=_0x3ab00d,_0x3320c9=_0x5ba69c+'-'+_0xb8091d;if(_0x2efa88[_0x3320c9]){const _0x5f4d1a=_0x2efa88[_0x3320c9];_0x550844[_0x4b1a89(0x410)]({'id':_0x21961c['id'],'params':{'unitId':_0x46f798,'subUnitId':_0x2f2093,'pivotTableId':_0x5f4d1a}});const _0xee2715=this['_sheetsPivotTableConfigModel']['getCollection'](_0x46f798,_0x5f4d1a),_0x129c11=this['_sheetsPivotTableConfigModel'][_0x4b1a89(0x474)](_0x46f798,_0x2f2093,_0x5f4d1a);_0x284e24[_0x4b1a89(0x410)]({'id':_0x5625ee['id'],'params':{'unitId':_0x46f798,'subUnitId':_0x2f2093,'pivotTableId':_0x5f4d1a,'pivotTableConfig':_0x129c11,'collectionConfig':_0xee2715}});}});}),{'redos':_0x550844,'undos':_0x284e24};}return{'redos':[],'undos':[]};}}));}};_0x4cc1de=_0x92cb5b([_0x2f0216(0x0,_0x5872ef['IUniverInstanceService']),_0x2f0216(0x1,_0x5872ef[_0x416ec5(0x434)](_0x16809e[_0x416ec5(0x4aa)])),_0x2f0216(0x2,_0x5872ef[_0x416ec5(0x434)](_0x16809e[_0x416ec5(0x485)])),_0x2f0216(0x3,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e['SheetsPivotTableConfigModel']))],_0x4cc1de);var _0x2dc50c=Object['getOwnPropertyDescriptor'],_0x371b2a=(_0x7df079,_0x559676,_0x2842ac,_0x3a7847)=>{const _0x116392=_0x416ec5;for(var _0x217bed=_0x3a7847>0x1?void 0x0:_0x3a7847?_0x2dc50c(_0x559676,_0x2842ac):_0x559676,_0x2c335c=_0x7df079[_0x116392(0x2a9)]-0x1,_0xf73221;_0x2c335c>=0x0;_0x2c335c--)(_0xf73221=_0x7df079[_0x2c335c])&&(_0x217bed=_0xf73221(_0x217bed)||_0x217bed);return _0x217bed;},_0x1d0472=(_0x2a30c6,_0x243ee6)=>(_0x31d660,_0x10495a)=>_0x243ee6(_0x31d660,_0x10495a,_0x2a30c6);let _0x5a3d30=class extends _0x5872ef[_0x416ec5(0x321)]{constructor(_0x3cf284,_0x42c213,_0x100907,_0x471827,_0x3d010a,_0x5c3345){const _0x3f8fbc=_0x416ec5;super(),this[_0x3f8fbc(0x224)]=_0x3cf284,this[_0x3f8fbc(0x479)]=_0x42c213,this[_0x3f8fbc(0x2c8)]=_0x100907,this[_0x3f8fbc(0x370)]=_0x471827,this['_sheetsPivotTableConfigModel']=_0x3d010a,this[_0x3f8fbc(0x34d)]=_0x5c3345,this[_0x3f8fbc(0x38b)]();}['_getPivotAppliedRanges'](_0x2e9b70,_0x15204e,_0x4841cb){const _0x48fb05=_0x416ec5,{pageView:_0x13e84c,cornerView:_0x42bf29,rowView:_0x42f703,colView:_0x3267c5,dataView:_0x85b950}=_0x15204e,_0x41d6c7=_0x2e9b70;let _0xadf9ec;if(_0x4841cb)_0xadf9ec=[..._0x4124e6(_0x41d6c7)];else{const _0x42f2c9=_0x27c033(_0x41d6c7,_0x13e84c,!0x0),_0x4988f3=_0x13e84c[_0x48fb05(0x48f)]>=0x0?_0x13e84c[_0x48fb05(0x48f)]+0x1:0x0,_0x5a3f23=_0x42bf29[_0x48fb05(0x318)],_0x409ec6=_0x42bf29[_0x48fb05(0x46c)],_0x1b7c12=_0x42f2c9[_0x48fb05(0x2a9)]>0x0?_0x51bc16:0x0,_0x5c95be=_0x27c033({'row':_0x41d6c7[_0x48fb05(0x451)]+_0x4988f3+_0x1b7c12,'col':_0x41d6c7[_0x48fb05(0x2dd)]},_0x42bf29,!0x1,!0x1),_0x3bc51e=_0x27c033({'row':_0x41d6c7[_0x48fb05(0x451)]+_0x4988f3+_0x1b7c12+_0x5a3f23,'col':_0x41d6c7[_0x48fb05(0x2dd)]},_0x42f703,!0x1,!0x0),_0x1fc503=_0x27c033({'row':_0x41d6c7[_0x48fb05(0x451)]+_0x4988f3+_0x1b7c12,'col':_0x41d6c7['col']+_0x409ec6},_0x3267c5,!0x1,!0x0),_0x47f340=_0x27c033({'row':_0x41d6c7[_0x48fb05(0x451)]+_0x4988f3+_0x1b7c12+_0x5a3f23,'col':_0x41d6c7[_0x48fb05(0x2dd)]+_0x409ec6},_0x85b950,!0x1,!0x0);_0xadf9ec=[..._0x42f2c9,..._0x5c95be,..._0x3bc51e,..._0x1fc503,..._0x47f340];}return _0xadf9ec;}[_0x416ec5(0x38b)](){const _0x1d68d6=_0x416ec5;this[_0x1d68d6(0x293)](this[_0x1d68d6(0x34d)][_0x1d68d6(0x345)][_0x1d68d6(0x403)](this[_0x1d68d6(0x34d)][_0x1d68d6(0x345)][_0x1d68d6(0x4e9)]()[_0x1d68d6(0x361)],{'handler':(_0x1c090f,_0x399cbd)=>{const _0x3f668b=_0x1d68d6,{cellInfo:_0x132e24,view:_0x62327a,isEmpty:_0x39e71a}=_0x399cbd,_0x5dd0bb=_0x132e24,{unitId:_0x45247e,subUnitId:_0x366740}=_0x5dd0bb,_0x5485ce=this[_0x3f668b(0x21e)](_0x132e24,_0x62327a,_0x39e71a),_0x5ee045=this['_sheetInterceptorService'][_0x3f668b(0x3b7)]({'unitId':_0x45247e,'subUnitId':_0x366740,'ranges':_0x5485ce}),_0x385289=_0x211d36(this['_injector'],_0x45247e,_0x366740,_0x5485ce);_0x385289[_0x3f668b(0x31d)]&&(_0x5ee045[_0x3f668b(0x2bf)]['push'](_0x385289[_0x3f668b(0x292)]),_0x5ee045[_0x3f668b(0x453)][_0x3f668b(0x410)](_0x385289[_0x3f668b(0x241)]));const _0x24add2=this[_0x3f668b(0x37e)](_0x62327a,_0x132e24);return _0x5ee045[_0x3f668b(0x2bf)][_0x3f668b(0x410)](..._0x24add2['redos']),_0x5ee045[_0x3f668b(0x453)][_0x3f668b(0x410)](..._0x24add2[_0x3f668b(0x453)]),{'redos':_0x5ee045[_0x3f668b(0x2bf)],'undos':_0x5ee045[_0x3f668b(0x453)]};}}));}[_0x416ec5(0x37e)](_0x190f3a,_0xb313c9){const _0x42a6a0=_0x416ec5,{col:_0x2d0c0d,unitId:_0x190169,subUnitId:_0x5d3250}=_0xb313c9,_0x23d660=[],_0x1d4df5=[],_0x4712b6=_0x16809e[_0x42a6a0(0x39a)](this[_0x42a6a0(0x370)],{'unitId':_0x190169,'subUnitId':_0x5d3250});if(!_0xb313c9||!_0x190f3a||!_0x4712b6)return{'undos':_0x1d4df5,'redos':_0x23d660};const _0x11aea7=this[_0x42a6a0(0x3e1)][_0x42a6a0(0x41e)](),{colView:_0x40ba89,dataView:_0x5417c9,cornerView:_0x285a82,rowView:_0x5646cf,formatMap:_0x562632}=_0x190f3a,_0x468408=_0x31835d(_0x40ba89,_0x11aea7,!0x0,_0x562632),_0xbfdd85=_0x31835d(_0x5646cf,_0x11aea7,!0x1,_0x562632),_0x5d13d8=_0x595ca2(_0x5417c9),_0x116fbb=_0x27bfa8(_0x285a82),{worksheet:_0x42e21c}=_0x4712b6;if(typeof window<'u'&&window[_0x42a6a0(0x4be)]){const _0x36a361=_0xdb3840['getFontStyleString']({..._0x4a5e3a[_0x42a6a0(0x398)]}),_0x5d99ed=_0xdb3840[_0x42a6a0(0x343)][_0x42a6a0(0x314)](_0x468408,_0x36a361)['width']+0x10,_0x2937ae=_0xdb3840[_0x42a6a0(0x343)][_0x42a6a0(0x314)](_0x5d13d8,_0x36a361)[_0x42a6a0(0x36a)],_0x3dbed6=Math[_0x42a6a0(0x383)](Math[_0x42a6a0(0x4dd)](_0x5d99ed,_0x2937ae))+0x10,_0x3c55b0=Math[_0x42a6a0(0x383)](_0xdb3840[_0x42a6a0(0x343)][_0x42a6a0(0x314)](_0xbfdd85,_0x36a361)[_0x42a6a0(0x36a)]),_0x40eb9d=Math[_0x42a6a0(0x383)](_0xdb3840[_0x42a6a0(0x343)]['getTextSize'](_0x116fbb,_0x36a361)[_0x42a6a0(0x36a)]),_0x9d733d=Math[_0x42a6a0(0x4dd)](_0x3c55b0,_0x40eb9d,0x28)+0xc,_0x4701dd=_0x40ba89[_0x42a6a0(0x46c)]+_0x285a82['colCount'],_0xcdc8c5={},_0x34837e={};for(let _0x5efd81=_0x2d0c0d;_0x5efd81<_0x2d0c0d+_0x4701dd;_0x5efd81++){const _0x2e6258=_0x42e21c['getColumnWidth'](_0x5efd81);_0xcdc8c5[_0x5efd81]=_0x2e6258,_0x5efd81-_0x2d0c0d<_0x285a82[_0x42a6a0(0x46c)]?_0x34837e[_0x5efd81-_0x2d0c0d]=_0x9d733d:_0x34837e[_0x5efd81-_0x2d0c0d]=_0x3dbed6;}_0x23d660['push']({'id':_0x16809e[_0x42a6a0(0x27b)]['id'],'params':{'subUnitId':_0x5d3250,'unitId':_0x190169,'ranges':[{'startColumn':_0x2d0c0d,'endColumn':_0x2d0c0d+_0x4701dd-0x1,'startRow':0x0,'endRow':_0x42e21c[_0x42a6a0(0x3eb)]()-0x1}],'colWidth':_0x34837e}}),_0x1d4df5[_0x42a6a0(0x410)]({'id':_0x16809e[_0x42a6a0(0x27b)]['id'],'params':{'subUnitId':_0x5d3250,'unitId':_0x190169,'ranges':[{'startColumn':_0x2d0c0d,'endColumn':_0x2d0c0d+_0x4701dd-0x1,'startRow':0x0,'endRow':_0x42e21c[_0x42a6a0(0x3eb)]()-0x1}],'colWidth':_0xcdc8c5}});}return{'undos':_0x1d4df5,'redos':_0x23d660};}};_0x5a3d30=_0x371b2a([_0x1d0472(0x0,_0x5872ef[_0x416ec5(0x434)](_0x5872ef['LocaleService'])),_0x1d0472(0x1,_0x5872ef[_0x416ec5(0x434)](_0x16809e[_0x416ec5(0x4aa)])),_0x1d0472(0x2,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x428)])),_0x1d0472(0x3,_0x5872ef[_0x416ec5(0x434)](_0x5872ef['IUniverInstanceService'])),_0x1d0472(0x4,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e['SheetsPivotTableConfigModel'])),_0x1d0472(0x5,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e[_0x416ec5(0x329)]))],_0x5a3d30);var _0x38e315=Object[_0x416ec5(0x422)],_0x17014d=(_0x4e210f,_0x473f37,_0x33fd80,_0x4b277b)=>{const _0x12917d=_0x416ec5;for(var _0x4c7b19=_0x4b277b>0x1?void 0x0:_0x4b277b?_0x38e315(_0x473f37,_0x33fd80):_0x473f37,_0x5ea374=_0x4e210f[_0x12917d(0x2a9)]-0x1,_0x1383ab;_0x5ea374>=0x0;_0x5ea374--)(_0x1383ab=_0x4e210f[_0x5ea374])&&(_0x4c7b19=_0x1383ab(_0x4c7b19)||_0x4c7b19);return _0x4c7b19;},_0x2cf5f0=(_0x4fadac,_0x4f4eec)=>(_0x18aeb5,_0x2a1c67)=>_0x4f4eec(_0x18aeb5,_0x2a1c67,_0x4fadac);let _0x43c1ee=class extends _0x5872ef['Disposable']{constructor(_0x44bb15,_0x529e9f,_0x2ec8b4,_0x341a88,_0x30988e,_0x4dd9fd,_0x154f69){const _0x1c6d2c=_0x416ec5;super(),_0x48e53f(this,'disposableCollection',new _0x5872ef['DisposableCollection']()),(this['_injector']=_0x44bb15,this['_refRangeService']=_0x529e9f,this[_0x1c6d2c(0x3d3)]=_0x2ec8b4,this[_0x1c6d2c(0x370)]=_0x341a88,this['_sheetsPivotTableConfigModel']=_0x30988e,this[_0x1c6d2c(0x2e4)]=_0x4dd9fd,this['_sheetInterceptorService']=_0x154f69,this['_onRefRangeChange']());}[_0x416ec5(0x400)](){const _0x2088e9=_0x416ec5,_0x3c93f5=(_0x4416f5,_0x143c81)=>{const _0x3e874a=_0x390b,_0x49fa9c=this[_0x3e874a(0x370)]['getCurrentUnitForType'](_0x5872ef[_0x3e874a(0x311)]['UNIVER_SHEET']);if(!_0x49fa9c||!(_0x49fa9c==null?void 0x0:_0x49fa9c['getSheetBySheetId'](_0x143c81)))return;this['disposableCollection'][_0x3e874a(0x2fc)]();const _0x102a7a=_0x6ef4fe=>this['_refRangeHandle'](_0x6ef4fe,_0x4416f5,_0x143c81),_0x3c2053=this[_0x3e874a(0x3e1)]['getSubUnitPivotConfigs'](_0x4416f5,_0x143c81);if(!(_0x3c2053!=null&&_0x3c2053[_0x3e874a(0x2ad)]))return;Array[_0x3e874a(0x3a6)](_0x3c2053[_0x3e874a(0x4d9)]())[_0x3e874a(0x376)](_0x1b569d=>{const _0x133587=_0x3e874a,{row:_0x5cb90e,col:_0xd61a92}=_0x1b569d[_0x133587(0x455)];return _0x5872ef['cellToRange'](_0x5cb90e,_0xd61a92);})['forEach'](_0x143a8c=>{const _0x49675e=_0x3e874a;this['disposableCollection'][_0x49675e(0x3c0)](this[_0x49675e(0x3a0)][_0x49675e(0x3f1)](_0x143a8c,_0x102a7a,_0x4416f5,_0x143c81));});},_0x36ba5e=()=>{const _0xaaac2a=_0x390b,_0xc91dc=this[_0xaaac2a(0x370)][_0xaaac2a(0x359)](_0x5872ef[_0xaaac2a(0x311)][_0xaaac2a(0x437)]);if(_0xc91dc){const _0xa6a751=_0xc91dc[_0xaaac2a(0x39b)]();if(!_0xa6a751)return;_0x3c93f5(_0xc91dc[_0xaaac2a(0x272)](),_0xa6a751['getSheetId']());}};this[_0x2088e9(0x293)](this[_0x2088e9(0x3d3)][_0x2088e9(0x499)](_0xe8dea0=>{const _0x2a9003=_0x2088e9;if(_0xe8dea0['id']===_0x16809e[_0x2a9003(0x46f)]['id']){const _0x51b8e9=_0xe8dea0['params'],_0xef32b6=_0x51b8e9[_0x2a9003(0x4b9)],_0x32c314=_0x51b8e9[_0x2a9003(0x484)];if(!_0xef32b6||!_0x32c314)return;_0x3c93f5(_0x32c314,_0xef32b6);}})),this[_0x2088e9(0x293)](this[_0x2088e9(0x3e1)]['pivotInitCompleted$'][_0x2088e9(0x26a)](_0x3529f4=>{_0x3529f4&&_0x36ba5e();})),this[_0x2088e9(0x293)](this['_sheetsPivotTableConfigModel']['pivotConfigChange$'][_0x2088e9(0x26a)](_0x574018=>{const _0xd3d157=_0x2088e9,_0x22d862=_0x16809e[_0xd3d157(0x39a)](this[_0xd3d157(0x370)]);if(!_0x22d862)return;const {unitId:_0x17bca3,subUnitId:_0x492b0c}=_0x22d862,{unitId:_0x382693,subUnitId:_0x2ce6cc}=_0x574018;_0x17bca3!==_0x382693||_0x492b0c!==_0x2ce6cc||_0x3c93f5(_0x17bca3,_0x492b0c);})),_0x36ba5e();}['_refRangeHandle'](_0x4897b7,_0x11f9ff,_0x5e2c48){const _0x1472cc=_0x416ec5;switch(_0x4897b7['id']){case _0x16809e[_0x1472cc(0x3ec)]['id']:return this[_0x1472cc(0x494)](_0x4897b7[_0x1472cc(0x284)],_0x11f9ff,_0x5e2c48);}return{'redos':[],'undos':[]};}[_0x416ec5(0x494)](_0x2bc442,_0x387915,_0x70afd6){const _0x3d7e4d=_0x416ec5,{fromRange:_0x562682,toRange:_0x581c67}=_0x2bc442,_0x3fa119=[],_0x1327bf=[],_0xf7d23e=_0x16809e[_0x3d7e4d(0x39a)](this['_univerInstanceService']);if(!_0xf7d23e)return{'undos':_0x1327bf,'redos':_0x3fa119};if(_0x387915!==_0xf7d23e['unitId']||_0x70afd6!==_0xf7d23e['subUnitId'])return{'undos':_0x1327bf,'redos':_0x3fa119};const _0x5f1523=this[_0x3d7e4d(0x3e1)][_0x3d7e4d(0x396)](_0x387915,_0x70afd6);if(_0x5f1523!=null&&_0x5f1523[_0x3d7e4d(0x2ad)])for(const [_0x567d5e,_0x2c65fc]of _0x5f1523){const {unitId:_0x87d89c,subUnitId:_0x566af0,row:_0x554dcb,col:_0x25a1a0}=_0x2c65fc[_0x3d7e4d(0x455)];if(_0x87d89c===_0xf7d23e['unitId']&&_0x566af0===_0xf7d23e['subUnitId']){const _0x3ff33b=_0x5872ef[_0x3d7e4d(0x454)](_0x554dcb,_0x25a1a0);if(_0x5872ef[_0x3d7e4d(0x36e)]['intersects'](_0x3ff33b,_0x562682)){const _0xaf3694=_0x554dcb-_0x562682[_0x3d7e4d(0x274)],_0x255e04=_0x25a1a0-_0x562682[_0x3d7e4d(0x4fd)],_0x350d1d={'row':_0x581c67[_0x3d7e4d(0x274)]+_0xaf3694,'col':_0x581c67[_0x3d7e4d(0x4fd)]+_0x255e04};_0x3fa119[_0x3d7e4d(0x410)]({'id':_0x2e570d['id'],'params':{'unitId':_0x87d89c,'subUnitId':_0x566af0,'pivotTableId':_0x567d5e,'targetCellPosition':_0x350d1d}}),_0x1327bf[_0x3d7e4d(0x410)]({'id':_0x2e570d['id'],'params':{'unitId':_0x87d89c,'subUnitId':_0x566af0,'pivotTableId':_0x567d5e,'targetCellPosition':{'row':_0x554dcb,'col':_0x25a1a0}}});const _0x380742=_0x350d1d[_0x3d7e4d(0x451)]-_0x554dcb,_0x454210=_0x350d1d['col']-_0x25a1a0,_0x526988=[],_0x86b3de=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x87d89c,_0x566af0,_0x567d5e),_0x1758a9=_0x86b3de==null?void 0x0:_0x86b3de[_0x3d7e4d(0x34b)];if(_0x1758a9){Object['keys'](_0x1758a9)['forEach'](_0x4299a0=>{_0x1758a9[_0x4299a0]['forEach'](_0x2105d4=>{const _0x189f8e=_0x390b,_0x3ee7a2={..._0x2105d4};_0x3ee7a2[_0x189f8e(0x274)]=_0x2105d4[_0x189f8e(0x274)]+_0x380742,_0x3ee7a2[_0x189f8e(0x2b7)]=_0x2105d4[_0x189f8e(0x2b7)]+_0x380742,_0x3ee7a2[_0x189f8e(0x4fd)]=_0x2105d4[_0x189f8e(0x4fd)]+_0x454210,_0x3ee7a2['endColumn']=_0x2105d4['endColumn']+_0x454210,_0x526988['push'](_0x3ee7a2);});});const _0x5e23e4=this[_0x3d7e4d(0x479)][_0x3d7e4d(0x3b7)]({'unitId':_0x87d89c,'subUnitId':_0x566af0,'ranges':_0x526988});_0x3fa119[_0x3d7e4d(0x410)](..._0x5e23e4[_0x3d7e4d(0x2bf)]),_0x1327bf['push'](..._0x5e23e4[_0x3d7e4d(0x453)]);const _0x259c33=_0x211d36(this[_0x3d7e4d(0x2c8)],_0x87d89c,_0x566af0,_0x526988);_0x259c33[_0x3d7e4d(0x31d)]&&(_0x3fa119[_0x3d7e4d(0x410)](_0x259c33[_0x3d7e4d(0x292)]),_0x1327bf[_0x3d7e4d(0x410)](_0x259c33['setRangeValueUndoMutation']));}}}}return{'redos':_0x3fa119,'undos':_0x1327bf};}};_0x43c1ee=_0x17014d([_0x2cf5f0(0x0,_0x5872ef['Inject'](_0x5872ef[_0x416ec5(0x428)])),_0x2cf5f0(0x1,_0x5872ef['Inject'](_0x16809e[_0x416ec5(0x42e)])),_0x2cf5f0(0x2,_0x5872ef['ICommandService']),_0x2cf5f0(0x3,_0x5872ef['IUniverInstanceService']),_0x2cf5f0(0x4,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e[_0x416ec5(0x4c7)])),_0x2cf5f0(0x5,_0x5872ef['Inject'](_0x26ed3e['SheetsPivotTableAdaptorModel'])),_0x2cf5f0(0x6,_0x5872ef[_0x416ec5(0x434)](_0x16809e['SheetInterceptorService']))],_0x43c1ee);var _0x1063fb=Object[_0x416ec5(0x422)],_0x90cb27=(_0x4f18b3,_0x1275f2,_0x2fc221,_0x2e8ead)=>{const _0x45fd28=_0x416ec5;for(var _0x443857=_0x2e8ead>0x1?void 0x0:_0x2e8ead?_0x1063fb(_0x1275f2,_0x2fc221):_0x1275f2,_0xfb12be=_0x4f18b3[_0x45fd28(0x2a9)]-0x1,_0x142669;_0xfb12be>=0x0;_0xfb12be--)(_0x142669=_0x4f18b3[_0xfb12be])&&(_0x443857=_0x142669(_0x443857)||_0x443857);return _0x443857;},_0x19f754=(_0x1845c9,_0xd04a59)=>(_0x27bcde,_0x31af68)=>_0xd04a59(_0x27bcde,_0x31af68,_0x1845c9);let _0x3dfc29=class extends _0x5872ef[_0x416ec5(0x321)]{constructor(_0x127d4f,_0x3fc37a){const _0xaa44db=_0x416ec5;super(),this[_0xaa44db(0x479)]=_0x127d4f,this[_0xaa44db(0x3e1)]=_0x3fc37a,this[_0xaa44db(0x2e7)]();}[_0x416ec5(0x2e7)](){const _0x23aae5=_0x416ec5;this[_0x23aae5(0x293)](this[_0x23aae5(0x479)]['interceptCommand']({'getMutations':_0x47cc18=>{const _0x53b34c=_0x23aae5;if(_0x47cc18['id']===_0x16809e[_0x53b34c(0x366)]['id']){const _0xb9581a=[],_0x2dd3a9=[],_0x5686fa=_0x47cc18[_0x53b34c(0x284)],{unitId:_0x5b4c52,subUnitId:_0x4ca7b0}=_0x5686fa;if(!_0x5b4c52||!_0x4ca7b0)return{'undos':_0x2dd3a9,'redos':_0xb9581a};const _0x3a8078=this[_0x53b34c(0x3e1)][_0x53b34c(0x396)](_0x5b4c52,_0x4ca7b0);if(_0x3a8078!=null&&_0x3a8078[_0x53b34c(0x2ad)])for(const [_0x421cea,_0x5cd2af]of _0x3a8078){_0xb9581a['push']({'id':_0x21961c['id'],'params':{'unitId':_0x5b4c52,'subUnitId':_0x4ca7b0,'pivotTableId':_0x421cea}});const _0x1b539d={...this[_0x53b34c(0x3e1)][_0x53b34c(0x3f3)](_0x5b4c52,_0x421cea)};_0x2dd3a9[_0x53b34c(0x410)]({'id':_0x5625ee['id'],'params':{'unitId':_0x5b4c52,'subUnitId':_0x4ca7b0,'pivotTableId':_0x421cea,'pivotTableConfig':_0x5cd2af,'collectionConfig':_0x1b539d}});}return{'redos':_0xb9581a,'undos':_0x2dd3a9};}return{'redos':[],'undos':[]};}}));}};_0x3dfc29=_0x90cb27([_0x19f754(0x0,_0x5872ef[_0x416ec5(0x434)](_0x16809e[_0x416ec5(0x4aa)])),_0x19f754(0x1,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e[_0x416ec5(0x4c7)]))],_0x3dfc29);var _0x459e6a=Object[_0x416ec5(0x422)],_0x53f471=(_0x49a2cb,_0x5b0029,_0x5dd32c,_0x437c8f)=>{const _0x526caf=_0x416ec5;for(var _0x4e4653=_0x437c8f>0x1?void 0x0:_0x437c8f?_0x459e6a(_0x5b0029,_0x5dd32c):_0x5b0029,_0x401d9a=_0x49a2cb[_0x526caf(0x2a9)]-0x1,_0xd71142;_0x401d9a>=0x0;_0x401d9a--)(_0xd71142=_0x49a2cb[_0x401d9a])&&(_0x4e4653=_0xd71142(_0x4e4653)||_0x4e4653);return _0x4e4653;},_0x2ac6fb=(_0x17af2a,_0x587495)=>(_0x36e6cc,_0x5108d4)=>_0x587495(_0x36e6cc,_0x5108d4,_0x17af2a);let _0x4a4539=class extends _0x5872ef['Disposable']{constructor(_0xb8a7f5,_0x36ca20,_0xc50eeb,_0x2ff150,_0x5d1bb6,_0x84bc7c){const _0x2ed324=_0x416ec5;super(),this[_0x2ed324(0x3d3)]=_0xb8a7f5,this[_0x2ed324(0x3d7)]=_0x36ca20,this['_sheetsPivotTableAdaptorModel']=_0xc50eeb,this[_0x2ed324(0x3e1)]=_0x2ff150,this['_univerInstanceService']=_0x5d1bb6,this[_0x2ed324(0x2fb)]=_0x84bc7c,this[_0x2ed324(0x2d8)](),this[_0x2ed324(0x4a5)]();}[_0x416ec5(0x2d8)](){const _0x5d7447=_0x416ec5;this['disposeWithMe'](this[_0x5d7447(0x3d3)]['onCommandExecuted'](_0x5a56f9=>{const _0x26e781=_0x5d7447;if(_0x5a56f9['id']!==_0x368bda['id'])return;const _0x321959=_0x5a56f9[_0x26e781(0x284)];this['_sheetsPivotRpcService'][_0x26e781(0x40e)](_0x321959);})),this[_0x5d7447(0x293)](this[_0x5d7447(0x3d3)][_0x5d7447(0x499)](_0x2e822d=>{const _0x6f1576=_0x5d7447;if(_0x2e822d['id']===_0xfec78e['id']){const _0x3ecd81=_0x2e822d[_0x6f1576(0x284)];if(_0x3ecd81){const {unitId:_0x1fcfcb,subUnitId:_0x4418b7,oldSubUnitId:_0x2e2493,pivotTableId:_0x522970,pivotTableConfig:_0x3c037d,collectionConfig:_0x66b32d}=_0x3ecd81;this[_0x6f1576(0x3e1)][_0x6f1576(0x382)](_0x1fcfcb,_0x2e2493,_0x3ecd81[_0x6f1576(0x208)],null),this['_sheetsPivotTableConfigModel'][_0x6f1576(0x382)](_0x1fcfcb,_0x4418b7,_0x522970,_0x3c037d),this[_0x6f1576(0x3e1)][_0x6f1576(0x4c2)](_0x1fcfcb,_0x66b32d);}}})),this[_0x5d7447(0x293)](this[_0x5d7447(0x3d3)][_0x5d7447(0x499)](_0x29f4e7=>{const _0xcce95f=_0x5d7447;if(_0x29f4e7['id']!==_0x46932a['id'])return;const _0x2b2804=_0x16809e['getSheetCommandTarget'](this[_0xcce95f(0x370)]);if(!_0x2b2804)return;const {unitId:_0x4cdef8,subUnitId:_0x2a7990}=_0x2b2804,_0x3cac4b=_0x29f4e7[_0xcce95f(0x284)];if(_0x3cac4b['collectionConfig']&&Object[_0xcce95f(0x2a3)](_0x3cac4b['collectionConfig'])[_0xcce95f(0x24e)](_0x10dee6=>{const _0x5dbfed=_0xcce95f;var _0x5c3d30;(_0x5c3d30=_0x3cac4b[_0x5dbfed(0x442)])!=null&&_0x5c3d30[_0x10dee6]&&this[_0x5dbfed(0x3e1)][_0x5dbfed(0x4c2)](_0x10dee6,_0x3cac4b[_0x5dbfed(0x442)][_0x10dee6]);}),_0x3cac4b['single']){const _0x14075c=_0x3cac4b[_0xcce95f(0x2d6)],{unitId:_0x545187,subUnitId:_0xbf64fc,view:_0x6cbde7,pivotTableId:_0x4c6d34,type:_0x59d508,pivotConfig:_0x3cf748}=_0x14075c;if(_0x59d508===_0x332641[_0xcce95f(0x256)])this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x545187,'subUnitId':_0xbf64fc,'pivotTableId':_0x4c6d34,'type':_0x59d508}),this[_0xcce95f(0x3e1)]['updateConfigCache'](_0x545187,_0xbf64fc,_0x4c6d34,null);else{const _0x66c430=new _0x3a648e[(_0xcce95f(0x2da))]();_0x66c430[_0xcce95f(0x350)](_0x6cbde7),this[_0xcce95f(0x3e1)][_0xcce95f(0x382)](_0x545187,_0xbf64fc,_0x4c6d34,_0x3cf748),this[_0xcce95f(0x2e4)]['clearRenderCache']({'unitId':_0x545187,'subUnitId':_0xbf64fc,'pivotTableId':_0x4c6d34,'type':_0x59d508,'view':_0x66c430}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x545187,'subUnitId':_0xbf64fc,'view':_0x66c430,'pivotTableId':_0x4c6d34,'type':_0x59d508});}}else _0x3cac4b['batch']&&(_0x3cac4b[_0xcce95f(0x28a)][_0xcce95f(0x24e)](_0x15155c=>{const _0x124258=_0xcce95f,{unitId:_0x4e1edf,subUnitId:_0x475169,view:_0x59c812,pivotTableId:_0x13c879,type:_0xc42e27,pivotConfig:_0x18eff7}=_0x15155c,_0x39920d=new _0x3a648e[(_0x124258(0x2da))]();_0x39920d['formJSON'](_0x59c812),this[_0x124258(0x3e1)][_0x124258(0x382)](_0x4e1edf,_0x475169,_0x13c879,_0x18eff7),this[_0x124258(0x2e4)][_0x124258(0x436)]({'unitId':_0x4e1edf,'subUnitId':_0x475169,'view':_0x39920d,'pivotTableId':_0x13c879,'type':_0xc42e27});}),this[_0xcce95f(0x3e1)]['setPivotInitCompleted']());this['_sheetsPivotTableAdaptorModel'][_0xcce95f(0x4d2)](_0x4cdef8,_0x2a7990);}));}['registerDirtyService'](){const _0x2ec0c2=_0x416ec5;this[_0x2ec0c2(0x2fb)][_0x2ec0c2(0x1f5)](_0x17a43d['id'],{'commandId':_0x17a43d['id'],'getDirtyData'(_0x2d02a5){return{'dirtyUnitFeatureMap':_0x2d02a5['params']};}});}};_0x4a4539=_0x53f471([_0x2ac6fb(0x0,_0x5872ef['Inject'](_0x5872ef['ICommandService'])),_0x2ac6fb(0x1,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e['SheetsPivotRPCService'])),_0x2ac6fb(0x2,_0x5872ef['Inject'](_0x26ed3e[_0x416ec5(0x3f5)])),_0x2ac6fb(0x3,_0x5872ef[_0x416ec5(0x434)](_0x26ed3e['SheetsPivotTableConfigModel'])),_0x2ac6fb(0x4,_0x5872ef[_0x416ec5(0x434)](_0x5872ef[_0x416ec5(0x458)])),_0x2ac6fb(0x5,_0x347a1d[_0x416ec5(0x34c)])],_0x4a4539);var _0x150c52=Object[_0x416ec5(0x334)],_0xed8c2a=Object[_0x416ec5(0x422)],_0x43ca58=(_0x498622,_0x15fcb1,_0x37af30)=>_0x15fcb1 in _0x498622?_0x150c52(_0x498622,_0x15fcb1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37af30}):_0x498622[_0x15fcb1]=_0x37af30,_0x145db1=(_0x1dacb7,_0x360047,_0x1b5c7f,_0x34e9f1)=>{const _0x567769=_0x416ec5;for(var _0x1faabd=_0x34e9f1>0x1?void 0x0:_0x34e9f1?_0xed8c2a(_0x360047,_0x1b5c7f):_0x360047,_0x27b1bd=_0x1dacb7[_0x567769(0x2a9)]-0x1,_0x343caf;_0x27b1bd>=0x0;_0x27b1bd--)(_0x343caf=_0x1dacb7[_0x27b1bd])&&(_0x1faabd=_0x343caf(_0x1faabd)||_0x1faabd);return _0x1faabd;},_0x1c3589=(_0x3869af,_0x158f41)=>(_0xa320cb,_0x356450)=>_0x158f41(_0xa320cb,_0x356450,_0x3869af),_0x19457e=(_0x3d02fa,_0x26e3ba,_0xf8e8a6)=>_0x43ca58(_0x3d02fa,typeof _0x26e3ba!=_0x416ec5(0x381)?_0x26e3ba+'':_0x26e3ba,_0xf8e8a6);_0x26ed3e[_0x416ec5(0x29a)]=class extends _0x5872ef['Plugin']{constructor(_0x213687=_0xce527d,_0x23d9d5,_0x4c6e39,_0xbd93a2,_0x4f0646){const _0xbfa61e=_0x416ec5;super(),this[_0xbfa61e(0x33c)]=_0x213687,this[_0xbfa61e(0x2c8)]=_0x23d9d5,this[_0xbfa61e(0x3d3)]=_0x4c6e39,this[_0xbfa61e(0x1ef)]=_0xbd93a2,this['_dataSyncPrimaryController']=_0x4f0646;const {..._0x219b20}=_0x5872ef[_0xbfa61e(0x2f0)]({},_0xce527d,this[_0xbfa61e(0x33c)]);this[_0xbfa61e(0x1ef)][_0xbfa61e(0x2b8)](_0x440a47,_0x219b20),this[_0xbfa61e(0x431)](),this['_initConfig']();}['_initConfig'](){const _0xbd18dc=_0x416ec5;var _0x189f53;const _0x4b7065=(_0x189f53=this[_0xbd18dc(0x33c)])==null?void 0x0:_0x189f53[_0xbd18dc(0x2bb)];this['_configService'][_0xbd18dc(0x2b8)](_0x172560,_0x4b7065===!0x0);}[_0x416ec5(0x230)](){const _0x2f20f2=_0x416ec5;var _0x297474;let _0x1925ae=[];const _0x302696=(_0x297474=this[_0x2f20f2(0x33c)])==null?void 0x0:_0x297474[_0x2f20f2(0x2bb)];_0x302696===!0x0?_0x1925ae=[[_0x26ed3e[_0x2f20f2(0x329)]],[_0x26ed3e[_0x2f20f2(0x39f)]],[_0x4a4539],[_0x26ed3e[_0x2f20f2(0x3f5)]],[_0x26ed3e[_0x2f20f2(0x4c7)]],[_0x3dfc29],[_0x4cc1de],[_0x43c1ee],[_0x5a3d30]]:_0x302696===!0x1?_0x1925ae=[[_0x26ed3e['SheetsPivotDataSourceModel']],[_0xbfbd39]]:_0x302696===void 0x0&&(_0x1925ae=[[_0x26ed3e[_0x2f20f2(0x3a7)]],[_0xbfbd39],[_0x26ed3e[_0x2f20f2(0x329)]],[_0x26ed3e['SheetsPivotRPCService']],[_0x4a4539],[_0x26ed3e[_0x2f20f2(0x3f5)]],[_0x26ed3e[_0x2f20f2(0x4c7)]],[_0x3dfc29],[_0x4cc1de],[_0x43c1ee],[_0x5a3d30]]),_0x1925ae[_0x2f20f2(0x24e)](_0x463dd4=>this[_0x2f20f2(0x2c8)][_0x2f20f2(0x3c0)](_0x463dd4)),[_0xbfbd39,_0x4a4539,_0x26ed3e[_0x2f20f2(0x329)],_0x4cc1de,_0x3dfc29,_0x43c1ee,_0x5a3d30]['forEach'](_0x47d132=>{const _0x1092f8=_0x2f20f2;this[_0x1092f8(0x2c8)][_0x1092f8(0x262)](_0x47d132)&&this['_injector'][_0x1092f8(0x31f)](_0x47d132);});}[_0x416ec5(0x431)](){const _0x218c1b=_0x416ec5;[_0x54d42f,_0x4dddb4,_0x87ca7e,_0x41476c,_0x34bf76,_0x177619,_0x44b6f5,_0x23352d,_0x4e19c3,_0x3b5856,_0x3adf4d,_0x20ce9a,_0x56868b,_0x38bf37,_0x5625ee,_0x4cd7c3,_0x21961c,_0x1e2cce,_0x4767bd,_0x363dbe,_0x62ed2e,_0x30bb9e,_0x100ec4,_0x392ea7,_0x31dcf8,_0x4fdd09,_0x2e570d,_0x31b05d,_0x368bda,_0x46932a,_0x8fd9c9,_0x54ff3c,_0x3fac23,_0x46b6ee,_0x405b4d,_0x36859b,_0x5bb33c,_0x17a43d,_0xfec78e,_0x180bf6,_0x580014,_0x1d3001,_0x1d20f2][_0x218c1b(0x24e)](_0x2ce1d7=>{const _0x40d9cf=_0x218c1b;var _0x75a2ec;(_0x75a2ec=this[_0x40d9cf(0x28f)])==null||_0x75a2ec[_0x40d9cf(0x31e)](_0x2ce1d7),this[_0x40d9cf(0x3d3)][_0x40d9cf(0x1ff)](_0x2ce1d7);});}},_0x19457e(_0x26ed3e['UniverSheetsPivotTablePlugin'],_0x416ec5(0x25b),_0x509ab5),_0x19457e(_0x26ed3e['UniverSheetsPivotTablePlugin'],'type',_0x5872ef[_0x416ec5(0x311)][_0x416ec5(0x437)]),_0x26ed3e[_0x416ec5(0x29a)]=_0x145db1([_0x5872ef[_0x416ec5(0x34e)](_0x3f0b91[_0x416ec5(0x1fe)]),_0x1c3589(0x1,_0x5872ef[_0x416ec5(0x434)](_0x5872ef['Injector'])),_0x1c3589(0x2,_0x5872ef[_0x416ec5(0x434)](_0x5872ef['ICommandService'])),_0x1c3589(0x3,_0x5872ef[_0x416ec5(0x23b)]),_0x1c3589(0x4,_0x5872ef['Optional'](_0x12306d['DataSyncPrimaryController']))],_0x26ed3e[_0x416ec5(0x29a)]),_0x26ed3e[_0x416ec5(0x3ac)]=_0x87ca7e,_0x26ed3e['AddPivotFieldMutation']=_0x1e2cce,_0x26ed3e[_0x416ec5(0x4f9)]=_0x4dddb4,_0x26ed3e[_0x416ec5(0x3b6)]=_0x5625ee,_0x26ed3e[_0x416ec5(0x24c)]=_0x54d42f,_0x26ed3e[_0x416ec5(0x319)]=_0x51bc16,_0x26ed3e['DEFAULT_PIVOT_NUMBER']=_0x59c5c1,_0x26ed3e[_0x416ec5(0x4f8)]=_0x41476c,_0x26ed3e[_0x416ec5(0x491)]=_0x56868b,_0x26ed3e[_0x416ec5(0x2dc)]=_0x33ccae,_0x26ed3e[_0x416ec5(0x348)]=_0x38bf37,_0x26ed3e[_0x416ec5(0x43d)]=_0x332641,_0x26ed3e[_0x416ec5(0x4ae)]=_0x17a43d,_0x26ed3e['PositionType']=_0x732243,_0x26ed3e[_0x416ec5(0x482)]=_0x34bf76,_0x26ed3e['RemovePivotFieldMutation']=_0x30bb9e,_0x26ed3e[_0x416ec5(0x20f)]=_0x21961c,_0x26ed3e[_0x416ec5(0x25e)]=_0x100ec4,_0x26ed3e[_0x416ec5(0x3be)]=_0x1d20f2,_0x26ed3e[_0x416ec5(0x3db)]=_0x440a47,_0x26ed3e[_0x416ec5(0x315)]=_0x509ab5,_0x26ed3e['SetPivotCollapseCommand']=_0x23352d,_0x26ed3e['SetPivotCollapseMutation']=_0x392ea7,_0x26ed3e[_0x416ec5(0x4d6)]=_0x46b6ee,_0x26ed3e[_0x416ec5(0x214)]=_0x1d3001,_0x26ed3e['SetPivotFilterCommand']=_0x3b5856,_0x26ed3e[_0x416ec5(0x2f1)]=_0x62ed2e,_0x26ed3e[_0x416ec5(0x2db)]=_0x4fdd09,_0x26ed3e['SetPivotPositionMutation']=_0x2e570d,_0x26ed3e[_0x416ec5(0x3aa)]=_0x4e19c3,_0x26ed3e[_0x416ec5(0x37b)]=_0x31dcf8,_0x26ed3e[_0x416ec5(0x48d)]=_0x3fac23,_0x26ed3e['SetPivotValueFilterCommand']=_0x180bf6,_0x26ed3e[_0x416ec5(0x2ac)]=_0x580014,_0x26ed3e[_0x416ec5(0x3ba)]=_0x44b6f5,_0x26ed3e[_0x416ec5(0x4a6)]=_0x8fd9c9,_0x26ed3e[_0x416ec5(0x283)]=_0x3adf4d,_0x26ed3e['UpdatePivotFieldSourceInfoMutation']=_0x5bb33c,_0x26ed3e['UpdatePivotTableSourceRangeCommand']=_0x20ce9a,_0x26ed3e[_0x416ec5(0x459)]=_0x36859b,_0x26ed3e['UpdatePivotValuePositionCommand']=_0x177619,_0x26ed3e[_0x416ec5(0x2e9)]=_0x54ff3c,_0x26ed3e[_0x416ec5(0x3ab)]=_0x321aa6,_0x26ed3e[_0x416ec5(0x2d7)]=_0x403e9c,_0x26ed3e[_0x416ec5(0x45b)]=_0x4a5e3a,_0x26ed3e[_0x416ec5(0x29f)]=_0x211d36,_0x26ed3e['getAdjustRangesPosition']=_0x27c033,_0x26ed3e[_0x416ec5(0x3ef)]=_0x4124e6,_0x26ed3e[_0x416ec5(0x33d)]=_0xf23946,_0x26ed3e[_0x416ec5(0x467)]=_0x320216,_0x26ed3e[_0x416ec5(0x3b9)]=_0xb32541,_0x26ed3e['getPivotInfoByLicense']=_0x3f5617,_0x26ed3e[_0x416ec5(0x336)]=_0x4bca69,_0x26ed3e['transFromCellValue']=_0x2fd4b9,_0x26ed3e[_0x416ec5(0x4b4)]=_0x161ace,Object['defineProperty'](_0x26ed3e,Symbol[_0x416ec5(0x3bd)],{'value':_0x416ec5(0x481)});}));function _0x585d(){const _0x48cdd4=['sheet.mutation.set-pivot-position','setPivotCollapse','shouldClear','registerSyncingMutations','get','format','Disposable','setTextInfo','YearQuarter','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getTargetByPivotTableId','getSubUnitPivotMatrix','addPivotTableWithConfig','setCollapse','SheetsPivotTableService','getSheets','SetSortInfo','getValuePosition','_textInfo','fetchThroughAsyncInterceptors','Set','valid','resetPivotTable','fieldsConfig','sheet.mutation.set-pivot-filter','defineProperty','NORMAL','getPivotTableInfo','rowRanges','BadReference','number','measure','sheet.mutation.remove-pivot-field','_config','getFieldListByArea','@univerjs-pro/license','disposableCollection','value','maxDate','range','FontCache','foreach','interceptor','sheets-pivot.varName','body','PivotDrillDownCommand','RemoveSheetMutation','_deleteModelCache','rangesInfo','IActiveDirtyManagerService','_sheetsPivotTableService','DependentOn','getTableFieldById','formJSON','deepClone','type','charCodeAt','average','contains','_exclusiveRangeService','generateNullCell','addField','getCurrentUnitForType','setSubtotalType','cornerRanges','fieldIds','LocaleService','renameField','sheet.command.set-pivot-filter','ObjectMatrix','PIVOT_MUTATION_GENERATE','getPivotTableModelConfig','DrillDown','UpdateValuePosition','InsertSheetMutation','RemoveSheetCommand','_configVersion$','_ensurePivotTableRangeInfo','sheet.command.add-pivot-field','width','Average\x20of\x20','isArray','#1d32e9','Rectangle','removeDataField','_univerInstanceService','deleteField','BaseGroupField','getSubUnitPivotRenderCache','SHEET_PIVOT_IN_MAIN_THREAD','UpdatePivotSource','map','PivotTableChangeTypeEnum','reset','DataFieldManager','InsertRowMutation','SetPivotSortMutation','valueFields','sheets-pivot.dateGroup.hour','getAutoFitColumnsMutations','StdDevp\x20of\x20','Value','symbol','updateConfigCache','floor','grandTotal','getColumnCount','rxjs','SetPivotCollapse','PivotTableFiledAreaEnum','addPivotTable','parseInt','_initCommandInterceptListener','sheets-pivot.dateGroup.hourMinute','Product\x20of\x20','forValue','column','uniqueDataFieldName','getFieldIds','valueIndex','Minute','@univerjs/engine-formula','generateRandomId','getSubUnitPivotConfigs','startCollectChangeset','colStyle','@univerjs-pro/engine-pivot','getSheetCommandTarget','getActiveSheet','LifecycleService','toString','AddPivotTableWithConfig','SheetsPivotRPCService','_refRangeService','removeCollections','options','PivotDataFieldDataTypeEnum','isPrefixValue','amd','from','SheetsPivotDataSourceModel','error','sheet.command.add-pivot-table-with-config','SetPivotSortCommand','applyChangeSet','AddPivotFieldCommand','headerMap','NAME','setValuePivotFilter','getIndexesByPathStr','valueFilter','new','2FYUAAc','UniverEngineRender','createInterceptorKey','AddPivotTableMutation','generateMutationsByRanges','RemoveRowMutation','getPivotCellInfo','UpdateDateGroupCommand','areaInfo','addCollection','toStringTag','ResetPivotFieldsConfigCommand','onQueryEnd','add','updateFieldSourceInfo','rangeKey','pivotPerformCheck','limit\x20pivot','Sum\x20of\x20','dataFields','sheet.mutation.set-pivot-sort-info','getRangeKey','InsertSheetCommand','getPivotDisplayConfig','info','filterId','asObservable','getSheetId','lastCol','SetPivotFilter','excelDateToUnixMilliseconds','query','_commandService','MovePivotField','includes','generateNewSheetName','_sheetsPivotRpcService','updatePivotTableMatrixInfo','min','updateConfig','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','set','createDataFieldId','removePivotField','refreshData','forRow','_sheetsPivotTableConfigModel','getValueIndex','delete','_toJSON','split','AsyncInterceptorManager','UniverCore','@univerjs/sheets-filter','sheets-pivot.cellDateGroupDisplay.hour','handleSourceRangeChange','getRowCount','MoveRangeCommand','_initViewModelBySheetInterceptor','UniverSheetsFilter','getEmptyPivotRanges','SetValueFilter','registerRefRange','5WFcUoW','getCollection','setPivotTableConfig','SheetsPivotTableAdaptorModel','sheets-pivot.cellDateGroupDisplay.date','PivotErrorTypeEnum','sheets-pivot.averageName','removeCollectionImp','realDeleteValue','setSortInfo','PivotCellStyleTypeEnum','_sheetsSelectionsService','isValue','_viewData','_onRefRangeChange','DEFAULT_WORKSHEET_COLUMN_COUNT','Min\x20of\x20','intercept','next','_queryingMap','_ensurePivotItemRenderInfoCache','REF','colInfo','sheet.mutation.get-pivot-data-local','configVersion$','getName','updateViewInfo','cornerStyle','handleAsyncResponse','_pivotConfigChange$','push','getDataFieldBySourceName','string','addDataFieldWithoutUnitInfo','call','collections','IExclusiveRangeService','_initLocale','updateRangeKeyMap','getAutoDisplayName','getSourceName','getRangeStartEndInfo','sheet.mutation.set-pivot-value-filter','AddField','getTextInfo','IResourceManagerService','rowFields','HourMinute','getOwnPropertyDescriptor','_globalComputedStartHelpFunc','getDataFieldByDataFieldId','Subtotal','SetRangeValuesUndoMutationFactory','DataField','Injector','initDataRanges','NotNumber','originTargetInfo','updateViewData','RemoveField','RefRangeService','getDataFieldByRangeKey','endCollectChangeset','_initRegisterCommand','_requestResolvers','INTERCEPTOR_POINT','Inject','getGroupFieldsInfoByIds','updateRenderCache','UNIVER_SHEET','FieldsCollection','dataStyle','1573XUyDXy','_markDirty$','removeValueFilterInfoByValueFieldId','PivotTableOperationEnum','sheet.mutation.add-group-collection','sheets-pivot.columnName','_initClearSelectionCommandInterceptor','valuePosition','collectionConfig','getColCount','entries','GrandTotal','getTargetByPivotId','186481PyHeKu','@univerjs/sheets','getViewData','isFeatureAuthorizedWithinTime','_fieldsCollectionChange$','getLastRow','_ensurePivotItemRenderValueMatrixCache','some','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sheets-pivot.productName','row','ICommandService','undos','cellToRange','targetCellInfo','rangeKeyMap','removeValueFilterInfo','IUniverInstanceService','UpdatePivotTableSourceRangeMutation','Max\x20of\x20','defaultThemeStyle','isBaseGroupField','sheets-pivot.cellDateGroupDisplay.minute','_initUnitDisposed','Subject','dataFieldManagerConfig','pageStyle','Count\x20of\x20','InterceptorEffectEnum','DEFAULT_WORKSHEET_ROW_COUNT','reduce','#FFFFFF','getInsertRowColMutations','RemovePivotField','dataFieldId','asyncInterceptor','getPivotDirtyViewInfo','colCount','LS_CONFIG_KEY','getValueFilterInfos','SetWorksheetActiveOperation','getCurrentSelections','Column','_pivotRenderValueMatrixCache','ptn','getPivotTableConfig','sheet.mutation.set-pivot-field-subtotal-type','pivotConfigChange$','var','sheets-pivot.emptyPivot.values','_sheetInterceptorService','Div0','sheet.command.reset-pivot-fields-config','CommandType','subTotalStyle','paths','getFieldPositionInfoById','find','Module','RemovePivotFieldCommand','substring','unitId','SheetsSelectionsService','sheet.mutation.add-pivot-field','sheet.mutation.rename-pivot-field','tableFieldId','iterateField','getUpdateRangeDeleteIds','rgb(255,255,255)','sequenceExecute','SetPivotSubtotalTypeMutation','STRING','lastRow','generateHexNumber','MovePivotTableCommand','1100922mBhQRO','getFieldDataType','getRefRangeMutationsByMoveRange','getNoUsedDataFieldIds','name','getConfig','sheet.command.set-pivot-value-filter','onCommandExecuted','sheet.mutation.send-pivot-config-local','RenameField','getStyles','COMMAND','Hour','getDataFieldItemInfo','token','sheet.command.set-pivot-collapse','textInfo','isEmpty','SetOptions','registerDirtyService','UpdateFieldPositionMutation','isDateGroupFieldJSON','sheet.command.move-pivot-table','846MhYasX','SheetInterceptorService','NO_COMMERCIAL','getSheetBySheetId','fields','PivotTableViewDirtyMarkOperation','IUndoRedoService','setLabelFilterInfo','originalFieldId','numfmt','rowStyle','unionPivotViewRange','setPivotSetting','getFieldFormat','clearRenderCache','setOptions','subUnitId','minDate','_ensureViewDataMap','sheets-pivot.stdDevpName','_model','document','_pivotInitCompleted$','updateDataFieldsCollection','executeCommand','updateCollectionConfig','InsertSheetUndoMutationFactory','getDataFieldManager','cellValue','sheets-pivot.varpName','SheetsPivotTableConfigModel','date','MUTATION','filter','sum','dataStream','AddPivotField','collection','Range','_globalSubject','prototype','markDirty','getPivotTableIdByCell','getSheetBySheetName','_lifecycleService','SetPivotFieldFormatMutation','isDateValue','sheets-pivot.cellDateGroupDisplay.month','values','isBottomTotal','1076656YDVBYC','getFilterInfo','max','iterateFieldByArea','pushUndoRedo','ReleaseType','getMatrixValue','createLabelField','markDirty$','addFieldWithSourceId','_ensurePivotMap','GSszIp7s\x20dHzuicIp7s(xpzHsPH,\x20cSCxpzmHi)\x20{\x20\x20\x20\x20Iui\x20{\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20xpzHsPHysG7qTuIvuuTi\x20=\x20xpzHsPH.PcxpI(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x207up1pskHPPT1H\x20=\x209RNK.cTuPH(TI7C(xpzHsPHysG7qTuIvuuTi[8]));\x20\x20\x20\x20\x20\x20\x20\x20pG\x20(!7up1pskHPPT1H.Sd)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207up1pskHPPT1H.Sd\x20=\x20KSOCHu(xpzHsPHysG7qTuIvuuTi[Q]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20pPM7ueHu\x20=\x20IicH7G\x20M7ueHuLx7CTxRz7cH\x20!==\x20\x27SsdHGpsHd\x27\x20&&\x20PHxG\x20psPITszH7G\x20M7ueHuLx7CTxRz7cH;\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20z7sIHwI\x20=\x20pPM7ueHu\x20?\x20PHxG\x20:\x200psd70;\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20OHPPT1HM7ud\x20=\x20z7sIHwI.__6TPHaQ__.cTuPH(xpzHsPHysG7qTuIvuuTi[8]);\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20OHPPT1H\x20=\x20z7sIHwI.__3Hw__.PIups1pGi(OHPPT1HM7ud);\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20Pp1sTISuHM7ud\x20=\x20z7sIHwI.__6TPHaQ__.cTuPH(xpzHsPHysG7qTuIvuuTi[t]);\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20Pp1sTISuH\x20=\x20z7sIHwI.__3Hw__.PIups1pGi(Pp1sTISuHM7ud);\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20Pp1sBTxpd\x20=\x20z7sIHwI.__hHupGi__(Pp1sTISuH,\x20OHPPT1H,\x20cSCxpzmHi);\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20d7OTps\x20=\x207up1pskHPPT1H.dO;\x20\x20\x20\x20\x20\x20\x20\x20GSszIp7s\x20pPY7OTpskTIzXps1(7qTIIHus,\x20737PI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20cTIIHus\x20=\x207qTIIHus.uHcxTzH(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20X7PI\x20=\x20737PI.uHcxTzH(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20cTIIHusqTuIP\x20=\x20cTIIHus.PcxpI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20X7PIqTuIP\x20=\x20X7PI.PcxpI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pG\x20(!cTIIHus.pszxSdHP(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uHISus\x20cTIIHus\x20===\x20X7PI;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pG\x20(cTIIHusqTuIP.xHs1IX\x20<\x208\x20||\x20cTIIHusqTuIP[V]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uHISus\x20GTxPH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20cTIIHusRSGGpw\x20=\x20cTIIHusqTuIP.PxpzH(j).A7ps(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20X7PIRSGGpw\x20=\x20X7PIqTuIP.PxpzH(-cTIIHusqTuIP.xHs1IX\x20+\x20j).A7ps(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uHISus\x20cTIIHusRSGGpw\x20===\x20X7PIRSGGpw;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xHI\x20d7OTpsBTxpd\x20=\x20(d7OTps\x20&&\x20d7OTps.xHs1IX)\x20?\x20d7OTps.P7OH((dOyIHO)\x20=>\x20pPY7OTpskTIzXps1(dOyIHO,\x20x7zTIp7s.X7PIsTOH))\x20:\x20IuSH;\x20\x20\x20\x20\x20\x20\x20\x20pG\x20(x7zTIp7s.X7PIsTOH\x20===\x20\x27x7zTxX7PI\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20d7OTpsBTxpd\x20=\x20IuSH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20z7sPI\x20hTxpd\x20=\x20Pp1sBTxpd\x20&&\x20d7OTpsBTxpd;\x20\x20\x20\x20\x20\x20\x20\x20uHISus\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTxpd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OHPPT1H:\x207up1pskHPPT1H,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20zTIzX\x20(Huu7u)\x20{\x20\x20\x20\x20\x20\x20\x20\x20uHISus\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTxpd:\x20GTxPH,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OHPPT1H:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getformat','getDate','getInterceptPoints','sheet.command.update-pivot-table-source-range','MAX_SAFE_INTEGER','rangeCache','parse','#f4f4f5','result','_updateRenderEmptyCache','ClearSelectionContentCommand','sheets-pivot.value','sheets-pivot.countName','setPivotSort','needSameDeleteModel','getDirtyInfo','#b2b2b2','MovePivotFieldCommand','AddPivotTableCommand','_globalComputingSrv','addExclusiveRange','SetSheetsFilterRangeMutation','startColumn','pivotTableConfigs','1329786MawnVT','sheet.mutation.add-pivot-table','collectionChange$','isColMultiMeasure','setPivotTable','_featureCalculationManagerService','_init','addRecord','sheet.mutation.update-date-group','_configService','sheets-pivot.minName','leafStyle','createValueField','blank','onQueryStart','register','Expand','Year','addPivotField','_pivotTableMatrixInfo','_host','SetPivotSort','count','updatePivotSource','UniverLicensePlugin','registerCommand','addDirtyPivotTable','updateFieldPosition','colHeaderMap','removeField','hasField','prefix','updateDirtyPivotTable','sheet.mutation.pivot-update-field-position','pivotTableId','getMonth','iterateFieldDim','_subjectFieldsCollectionChange','COLUMN','getMatrix','getDataFieldByTableId','RemovePivotTableMutation','registerCallbackWithEvent','YearMonthDate','getFullYear','getCellMatrix','SetPivotFieldsConfigCommand','createCollectionWithDataRange','subtotal','unshift','sheets-pivot.blank','sheets.tabs.sheet','dataRangeInfo','setValue','getId','isNaN','_getPivotAppliedRanges','getOriginFieldId','filterInfo','concat','ManualFilter','versions','_localeService','_globalComputedEndHelpFunc','getDataFieldId','getSheetFeatureLimit','getInfo','countNums','tuple','getFieldInfo','Date','return\x20','@univerjs/core','addCollectionByJSON','onStarting','hasOwnProperty','_initPivotTextInfo','leftOffset','panel','103832eVrYoi','New','deleteDataField','_pivotTableInstanceCache','getPivotTableInstance','DIV_BY_ZERO','IConfigService','setName','IFeatureCalculationManagerService','getPivotTableMatrixInfo','level','setFieldFormat','setRangeValueUndoMutation','stdDev','PivotDateGroupFieldDateTypeEnum','splice','sheet.command.pivot-drill-down','RemoveSheetsFilterMutation','Month','refreshDataField','getPivotTableCellData','Filter','_getAutoName','AddPivotTableWithConfigCommand','_collectionChange$','forEach','_dataFieldManagerCollection','displayName','sheet.mutation.send-pivot-view-local','updateValuePosition','getPivotItemRenderInfoCache','triggerDirtyFeature','_initPivotDataGetListener','Delete','adjustSheetCellData','setDataRecordCount','MIN_SAFE_INTEGER','fontRenderExtension','pluginName','sheet.mutation.send-pivot-data-local','_viewData$','RenamePivotFieldMutation','sheets-pivot.dateGroup.monthDate','getFieldById','UniverProEnginePivot','has','sheet.mutation.remove-pivot-table','registerPluginResource','GlobalComputingStatusService','getDisplayName','mergeWorksheetSnapshotWithDefault','_viewUpdate$','update','subscribe','_updateModelCache','sourceRangeInfo','NUM','UniverProLicense','_generateUniqueVersion','pageRanges','_createExclusiveRange','getUnitId','_subjectCollectionChange','startRow','UniverEngineFormula','_updatePivotTableInstanceCache','removePivotTable','@univerjs/rpc','PivotTable','movePivotField','SetWorksheetColWidthMutation','getFormat','oldRangeInfo','SetRangeValuesMutation','MoveRangeMutation','updateView','refreshGroupField','updatePivotTableRangeInfo','UpdatePivotFieldSettingCommand','params','sheets-pivot.countNumsName','clearExclusiveRangesByGroupId','existing','sheets-pivot.dateGroup.month','getFieldCountByArea','batch','_sheetsPivotDataSourceModel','columnFields','sheets-pivot.maxName','getPivotPerformCheck','_dataSyncPrimaryController','message','endColumn','setRangeValueRedoMutation','disposeWithMe','getMatrixFromRunTimeData','pivotMutationGenerate','_collectionConfigModel','sheet.command.set-pivot-field-setting','Row','Varp\x20of\x20','UniverSheetsPivotTablePlugin','fromJSON','InsertColMutation','workbook\x20is\x20not\x20found','colRanges','generateSetRangeValueMutations','getIntersects','SetPivotTableConfig','getSubtotal','keys','sheet.command.update-date-group','Existing','SHEET_PIVOT_EXCLUSIVE_ID','_deletePivotTableInstanceCache','_resourceManagerService','length','matrix','NUMBER','SetPivotValueFilterMutation','size','setRange','bind','getCellRaw','pivotTableIndexConfig','YearMonth','Quarter','UpdateFieldPosition','Tools','slice','endRow','setConfig','viewData$','PivotFilterTypeEnum','notExecuteFormula','setValueFilterInfo','dimension','fieldId','redos','SetValuePivotFilter','sheet.command.set-pivot-sort','UniverRpc','pivotInitCompleted$','@univerjs/engine-render','sheets-pivot.dateGroup.date','getLastCol','object','_injector','FORCE_STRING','Grand\x20Total','56568nXcypy','rowInfo','getUnit','getPivotTableRangeInfo','fetchThroughInterceptors','PivotCallbackEnum','removeSourceRangeChange','broadcastCollectionChange','None','Panel','getAutoDisplayNameFunction','single','canUsePivot','_initDataSendListener','toJSON','PivotView','SetPivotOptionMutation','PivotDisplayDataType','col','sourceName','StdDev\x20of\x20','ResetPivotTable','getValue','setPivotFilter','pbt','_sheetsPivotTableAdaptorModel','CustomCommandExecutionError','SetPivotSetting','_initRemoveSheetCommandInterceptor','interceptCommand','UpdateValuePositionMutation','drillDown','_pivotTableRangeInfo','sheet.command.remove-pivot-field','sheet.mutation.set-pivot-option','sortInfo','random','merge','SetPivotFilterMutation','exports','PivotViewCellValueTypeEnum','fieldsCollectionChange$','getHeaderMapItem','35LXlFFH','ClearSelectionAllCommand','_ensurePivotTableMatrixInfo','viewUpdate$','getTypeOfUnitDisposed$','_activeDirtyManagerService','dispose','getRangeKeyList','18010PUzSBk','rowHeaderMap','#eceeff','_subjectViewChange','_pivotRenderInfoCache','dataFieldsCollection','sheets-pivot.dateGroup.yearMonthDate','PivotSubtotalTypeEnum','setRangeKeyMap','CellValueType','Add','PivotTableValuePositionEnum','data','sheets-pivot.grandTotal','updateAllDisplayName','setSourceName','deleteUnitId','sheets-pivot.config','ErrorType','UniverInstanceType','#e6ebfa','_initSnapshot','getTextSize','SHEET_PIVOT_TABLE_PLUGIN','handleMoveRange','AddPivotTable','rowCount','BLANK_ROW_COUNT','collapseInfo'];_0x585d=function(){return _0x48cdd4;};return _0x585d();}
|
|
1
|
+
(function(_0x2c2d5f,_0x54fd53){const _0x33d57a=_0x4225,_0x37cd13=_0x2c2d5f();while(!![]){try{const _0x3fd5ac=-parseInt(_0x33d57a(0x112))/0x1*(-parseInt(_0x33d57a(0x241))/0x2)+parseInt(_0x33d57a(0x1e3))/0x3*(parseInt(_0x33d57a(0x2d8))/0x4)+-parseInt(_0x33d57a(0x163))/0x5+parseInt(_0x33d57a(0x251))/0x6*(parseInt(_0x33d57a(0x39d))/0x7)+-parseInt(_0x33d57a(0x2b2))/0x8+parseInt(_0x33d57a(0x2d2))/0x9*(parseInt(_0x33d57a(0x288))/0xa)+parseInt(_0x33d57a(0x12c))/0xb;if(_0x3fd5ac===_0x54fd53)break;else _0x37cd13['push'](_0x37cd13['shift']());}catch(_0x25b042){_0x37cd13['push'](_0x37cd13['shift']());}}}(_0x4277,0x569f9),function(_0x4dcce3,_0x5b55c8){const _0x2c7788=_0x4225;typeof exports==_0x2c7788(0x1af)&&typeof module<'u'?_0x5b55c8(exports,require(_0x2c7788(0x1df)),require(_0x2c7788(0x387)),require('@univerjs/engine-formula'),require(_0x2c7788(0x2a7)),require('rxjs'),require(_0x2c7788(0x1a3)),require('@univerjs/sheets-filter'),require(_0x2c7788(0x140)),require(_0x2c7788(0x1ef))):typeof define==_0x2c7788(0x235)&&define[_0x2c7788(0x127)]?define(['exports','@univerjs-pro/engine-pivot',_0x2c7788(0x387),_0x2c7788(0x11b),_0x2c7788(0x2a7),'rxjs','@univerjs-pro/license',_0x2c7788(0x10e),_0x2c7788(0x140),_0x2c7788(0x1ef)],_0x5b55c8):(_0x4dcce3=typeof globalThis<'u'?globalThis:_0x4dcce3||self,_0x5b55c8(_0x4dcce3[_0x2c7788(0x3ab)]={},_0x4dcce3['UniverProEnginePivot'],_0x4dcce3[_0x2c7788(0x38b)],_0x4dcce3[_0x2c7788(0xd1)],_0x4dcce3[_0x2c7788(0x29b)],_0x4dcce3[_0x2c7788(0xa8)],_0x4dcce3[_0x2c7788(0x2d6)],_0x4dcce3[_0x2c7788(0x375)],_0x4dcce3['UniverRpc'],_0x4dcce3[_0x2c7788(0xde)]));}(this,function(_0x2a0a80,_0x1f569c,_0x26267f,_0x2257ad,_0x15c6e7,_0x5604ff,_0x1cf072,_0x1aedeb,_0xda97cf,_0x5ae106){'use strict';const _0x4d0853=_0x4225;var _0x43c0aa=Object[_0x4d0853(0x277)],_0xc84c83=(_0x31839a,_0x511475,_0x597559)=>_0x511475 in _0x31839a?_0x43c0aa(_0x31839a,_0x511475,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x597559}):_0x31839a[_0x511475]=_0x597559,_0x3aca41=(_0x1d76fd,_0x5de129,_0x727d3f)=>_0xc84c83(_0x1d76fd,typeof _0x5de129!='symbol'?_0x5de129+'':_0x5de129,_0x727d3f);const _0x5254ca=Number['parseInt'](0x68334031),_0x53ba21=0x10,_0x14a7c4=0x1,_0x18b3b4='SHEET_PIVOT_TABLE_PLUGIN',_0x535df5=0x1,_0x506545=_0x4d0853(0x165),_0x4684d2=_0x4d0853(0x1a0),_0x21cc95=_0x4d0853(0x290),_0x160925='#f4f4f5',_0xc03f23=_0x4d0853(0x1e7),_0x49fc5a=_0x4d0853(0x298),_0x160f8a=_0x4d0853(0x27e),_0x58cfa5=_0x4d0853(0x9a),_0x4959cd=_0x4d0853(0x185),_0x145a41=_0x4d0853(0x27e),_0x4a59f1=_0x4d0853(0x9a),_0xac627a=_0x4d0853(0x22f),_0x635a8=0xe,_0x3481ab=0x6;var _0x2ff95c=(_0x17442f=>(_0x17442f[_0x4d0853(0x2ef)]=_0x4d0853(0x124),_0x17442f[_0x4d0853(0x1f7)]=_0x4d0853(0x388),_0x17442f))(_0x2ff95c||{});const _0x3a5f62={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x2101e3=0x1e,_0x241d7e={'b':{'s':0x1,'cl':{'rgb':_0x21cc95}},'l':{'s':0x1,'cl':{'rgb':_0x21cc95}},'r':{'s':0x1,'cl':{'rgb':_0x21cc95}},'t':{'s':0x1,'cl':{'rgb':_0x21cc95}}},_0x11e45e={'bg':{'rgb':_0x506545},'ht':0x2,'vt':0x2,'tb':0x1},_0x15d653={'bg':{'rgb':_0x4684d2},'ht':0x2,'vt':0x2,'tb':0x1},_0x2db188={'rowStyle':{'bg':{'rgb':_0xac627a},'bd':_0x241d7e,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x145a41},'bd':null,'cl':{'rgb':_0x4a59f1},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x241d7e,'bg':{'rgb':_0x4959cd},'vt':0x2},'cornerStyle':{'bd':_0x241d7e,'bg':{'rgb':_0x49fc5a},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x241d7e,'bg':{'rgb':_0x160925},'vt':0x2},'leafStyle':{'bd':_0x241d7e,'bg':{'rgb':_0xc03f23},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x160f8a},'cl':{'rgb':_0x58cfa5},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x241d7e,'vt':0x2}};function _0x57044f(_0x69f5ea,_0x1a9eca,_0xa0094f){const _0x4f2212=_0x4d0853,_0x4a70dd=_0x69f5ea[_0x4f2212(0x2c0)](_0x26267f[_0x4f2212(0x2aa)]),_0x27eed6=_0xa0094f[_0x4f2212(0xff)]('_');switch(_0x1a9eca){case _0x1f569c['PivotDateGroupFieldDateTypeEnum'][_0x4f2212(0x282)]:return _0x4a70dd['t'](_0x4f2212(0x125),..._0x27eed6);case _0x1f569c['PivotDateGroupFieldDateTypeEnum'][_0x4f2212(0x15c)]:return _0x4a70dd['t'](_0x4f2212(0x17c),..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)][_0x4f2212(0x345)]:return _0x4a70dd['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)]['HourMinute']:return _0x4a70dd['t'](_0x4f2212(0x118),..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)][_0x4f2212(0x244)]:return _0x4a70dd['t'](_0x4f2212(0x187),..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)][_0x4f2212(0x14a)]:return _0x4a70dd['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)]['Quarter']:return _0x4a70dd['t'](_0x4f2212(0x237),..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)][_0x4f2212(0x1fd)]:return _0x4a70dd['t'](_0x4f2212(0x98),..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)][_0x4f2212(0xfb)]:return _0x4a70dd['t'](_0x4f2212(0x1a5),..._0x27eed6);case _0x1f569c[_0x4f2212(0xe9)][_0x4f2212(0x2ce)]:return _0x4a70dd['t'](_0x4f2212(0x1f8),..._0x27eed6);}return'';}const _0x147fc7=(_0xf08286,_0x4291b2,_0x49f49c,_0xc9129f)=>{const _0x25c343=_0x4d0853;let _0x25bc3d;const _0x5b9c67=_0xf08286['get'](_0x26267f['IUniverInstanceService'])['getCurrentUnitForType'](_0x26267f[_0x25c343(0xef)]['UNIVER_SHEET']);if(!_0x5b9c67)return null;const _0x4c3ddb=_0x5b9c67[_0x25c343(0x293)]();let _0x4f7bc4;if(_0x49f49c&&(_0x4f7bc4=_0x4c3ddb[_0x25c343(0x315)](_0x49f49c)),_0x4291b2!=null&&_0x4291b2['v']||(_0x4291b2==null?void 0x0:_0x4291b2['v'])===0x0){_0x25bc3d||(_0x25bc3d={});const _0x79a1b8=_0x41d801(_0x4291b2['v']);typeof _0x79a1b8==_0x25c343(0x12f)?_0x25bc3d['t']=_0x26267f[_0x25c343(0x297)][_0x25c343(0x9e)]:typeof _0x79a1b8=='string'&&(_0x25bc3d['t']=_0x26267f['CellValueType'][_0x25c343(0x20d)]),_0x25bc3d['v']=_0x79a1b8;}if((_0x4291b2!=null&&_0x4291b2['i']||(_0x4291b2==null?void 0x0:_0x4291b2['i'])===0x0)&&(_0x25bc3d||(_0x25bc3d={}),_0x25bc3d['fi']=_0x4291b2['i']),_0x4291b2!=null&&_0x4291b2['s']&&(_0x25bc3d||(_0x25bc3d={}),_0x25bc3d[_0x25c343(0x2f3)]=_0x4291b2['s']),_0x49f49c&&(_0x25bc3d||(_0x25bc3d={}),_0x25bc3d['s']=_0x4f7bc4),_0xc9129f&&_0x25bc3d!=null&&_0x25bc3d['v']&&_0x25bc3d['pbt']!==_0x1f569c[_0x25c343(0x2fa)][_0x25c343(0xf2)]&&_0x25bc3d[_0x25c343(0x2f3)]!==_0x1f569c[_0x25c343(0x2fa)][_0x25c343(0x253)]){const _0x517349=String(_0x25bc3d['v']),{dateType:_0x16829c}=_0xc9129f;_0x25bc3d['v']=_0x57044f(_0xf08286,_0x16829c,_0x517349),_0x25bc3d['t']=_0x26267f[_0x25c343(0x297)][_0x25c343(0x20d)];}return _0x25bc3d;},_0x2cf3c1=(_0xe167ec,_0x4ea5f8,_0x1b74ad,_0x203817)=>{const _0x2dccd9=_0x4d0853;var _0x2bcd86,_0x320fc1,_0x1f72e0,_0x22e82b,_0x264c8c,_0x171272,_0xabac88,_0x49629d,_0x57ddf4,_0x4fa7c2,_0x1d88c0,_0x15e3ee,_0x3b4c22,_0x2e166b;const _0x506762=_0x1b74ad[_0x2dccd9(0x2a0)],{cornerView:_0x563b59,rowView:_0x22dd57,colView:_0x41090f,dataView:_0x4430a3,pageView:_0x4ca631,formatMap:_0x4e8369,groupInfo:_0x56b679}=_0x4ea5f8,{row:_0x3cdb7a,col:_0x5e60dd}=_0x506762,_0x175947=new _0x26267f['ObjectMatrix'](),_0x337912={},_0x3e9a72={},_0x5d2ee5={},_0x2aacf8={},_0x162896={};let _0x1b4d66=_0x3cdb7a,_0x1f35b4=_0x5e60dd;Object['keys'](_0x4ca631[_0x2dccd9(0x2a9)])[_0x2dccd9(0x35d)](_0x4abc45=>{const _0x4e2f64=_0x2dccd9;Object[_0x4e2f64(0x2a2)](_0x4ca631['data'][Number(_0x4abc45)])[_0x4e2f64(0x35d)](_0x11a2fc=>{const _0x4eb84c=_0x4e2f64,_0x28c2a2={..._0x4ca631[_0x4eb84c(0x2a9)][Number(_0x4abc45)][Number(_0x11a2fc)]};_0x175947[_0x4eb84c(0x315)](Number(_0x4abc45)+_0x1b4d66,Number(_0x11a2fc)+_0x1f35b4,_0x147fc7(_0xe167ec,_0x28c2a2,_0x2db188[_0x4eb84c(0x3ad)]));});});const _0x5f23ee=Object[_0x2dccd9(0x2a2)](_0x4ca631[_0x2dccd9(0x2a9)])[_0x2dccd9(0x19c)];_0x1b4d66+=_0x5f23ee+(_0x5f23ee?_0x535df5:0x0);const _0x90133f=_0x563b59['getRowCount'](),_0x2b47f8=_0x563b59[_0x2dccd9(0x36c)]();for(let _0x217335=0x0;_0x217335<_0x90133f;_0x217335++)for(let _0x543d6f=0x0;_0x543d6f<_0x2b47f8;_0x543d6f++){const _0x1ac401={...(_0x320fc1=(_0x2bcd86=_0x563b59[_0x2dccd9(0x2a9)])==null?void 0x0:_0x2bcd86[_0x217335])==null?void 0x0:_0x320fc1[_0x543d6f]};_0x1ac401&&((_0x1f72e0=_0x22dd57[_0x2dccd9(0x129)][_0x543d6f])!=null&&_0x1f72e0['isValue'])&&_0x543d6f===_0x2b47f8-0x1&&_0x217335===_0x90133f-0x1&&(_0x1ac401['v']=''+_0x203817[_0x2dccd9(0x2af)]),_0x175947[_0x2dccd9(0x315)](_0x217335+_0x1b4d66,_0x543d6f+_0x1f35b4,_0x147fc7(_0xe167ec,_0x1ac401,_0x2db188[_0x2dccd9(0x379)]));}for(let _0x25b58f=0x0;_0x25b58f<_0x563b59[_0x2dccd9(0x2cd)][_0x2dccd9(0x19c)];_0x25b58f++)_0x563b59['info'][_0x25b58f]&&(_0x5d2ee5[''+(_0x25b58f+_0x1f35b4)]=_0x563b59[_0x2dccd9(0x2cd)][_0x25b58f]);_0x1f35b4+=_0x2b47f8;const _0x260a27=_0x41090f[_0x2dccd9(0x129)],_0x37ec21=_0x41090f[_0x2dccd9(0x378)]()>=0x0?_0x41090f[_0x2dccd9(0x378)]()+0x1:0x0,_0x51a57b=_0x41090f[_0x2dccd9(0x286)]()>=0x0?_0x41090f['getLastCol']()+0x1:0x0;for(let _0x3ec96a=0x0;_0x3ec96a<_0x51a57b;_0x3ec96a++){for(let _0x5be4ea=0x0;_0x5be4ea<_0x37ec21;_0x5be4ea++){const _0x5eeffa={...(_0x264c8c=(_0x22e82b=_0x41090f[_0x2dccd9(0x2a9)])==null?void 0x0:_0x22e82b[_0x5be4ea])==null?void 0x0:_0x264c8c[_0x3ec96a]},_0x5f3783=(_0x171272=_0x260a27[_0x5be4ea])==null?void 0x0:_0x171272[_0x2dccd9(0x384)],_0x35a836=_0x4e8369[_0x5f3783],_0x593733=_0x56b679[_0x5f3783];_0x5eeffa&&(_0x5eeffa['v']=_0x1da0d9(_0x5eeffa,_0x5be4ea===0x0&&((_0xabac88=_0x41090f[_0x2dccd9(0x29f)](_0x3ec96a+0x1))==null?void 0x0:_0xabac88['isValue']),_0x35a836,_0x203817));let _0x3c4a90;_0x35a836?_0x3c4a90={..._0x2db188[_0x2dccd9(0x153)],'n':{'pattern':_0x35a836}}:_0x3c4a90={..._0x2db188[_0x2dccd9(0x153)]},_0x175947[_0x2dccd9(0x315)](_0x5be4ea+_0x1b4d66,_0x3ec96a+_0x1f35b4,_0x147fc7(_0xe167ec,_0x5eeffa,_0x3c4a90,_0x593733));}_0x41090f[_0x2dccd9(0x2cd)][_0x3ec96a]&&(_0x3e9a72[''+(_0x3ec96a+_0x1f35b4)]=_0x41090f[_0x2dccd9(0x2cd)][_0x3ec96a]),_0x41090f['headerMap'][_0x3ec96a+0x1]&&(_0x162896[''+(_0x3ec96a+_0x1b4d66+0x1)]=_0x41090f['headerMap'][_0x3ec96a+0x1]);}_0x1b4d66+=_0x90133f;const _0x22dbe7=_0x22dd57[_0x2dccd9(0x129)],_0x4d9ef=_0x22dd57[_0x2dccd9(0x378)]()>=0x0?_0x22dd57['getLastRow']()+0x1:0x0,_0x3d860d=_0x22dd57[_0x2dccd9(0x286)]()>=0x0?_0x22dd57[_0x2dccd9(0x286)]()+0x1:0x0;for(let _0x52466d=0x0;_0x52466d<_0x4d9ef;_0x52466d++){for(let _0x217965=0x0;_0x217965<_0x3d860d;_0x217965++){const _0x509ce6={...(_0x57ddf4=(_0x49629d=_0x22dd57[_0x2dccd9(0x2a9)])==null?void 0x0:_0x49629d[_0x52466d])==null?void 0x0:_0x57ddf4[_0x217965]},_0x25acf2=(_0x4fa7c2=_0x22dbe7[_0x217965])==null?void 0x0:_0x4fa7c2[_0x2dccd9(0x384)],_0x40e176=_0x4e8369[_0x25acf2],_0x10b64a=_0x56b679[_0x25acf2];_0x509ce6&&(_0x509ce6['v']=_0x1da0d9(_0x509ce6,!0x1,_0x40e176,_0x203817));let _0x583a9b;_0x22dd57[_0x2dccd9(0x2cd)][_0x52466d][_0x2dccd9(0x175)]===_0x22dd57[_0x2dccd9(0x36c)]()?_0x583a9b=_0x2db188[_0x2dccd9(0xdd)]:_0x22dd57[_0x2dccd9(0x2cd)][_0x52466d][_0x2dccd9(0x27f)]?_0x583a9b=_0x22dd57['info'][_0x52466d]['level']===0x0?_0x2db188['grandTotal']:_0x2db188[_0x2dccd9(0x104)]:_0x583a9b=_0x2db188['rowStyle'],_0x40e176&&(_0x583a9b={..._0x583a9b,'n':{'pattern':_0x40e176}}),_0x175947['setValue'](_0x52466d+_0x1b4d66,_0x217965+_0x5e60dd,_0x147fc7(_0xe167ec,_0x509ce6,_0x583a9b,_0x10b64a));}_0x22dd57['info'][_0x52466d]&&(_0x337912[''+(_0x52466d+_0x1b4d66)]=_0x22dd57[_0x2dccd9(0x2cd)][_0x52466d]),_0x22dd57[_0x2dccd9(0x129)][_0x52466d]&&(_0x2aacf8[''+(_0x52466d+_0x5e60dd)]=_0x22dd57[_0x2dccd9(0x129)][_0x52466d]);}const _0x1028e7=_0x4430a3[_0x2dccd9(0x302)](),_0xfb21d0=_0x4430a3['getColCount']();for(let _0x3978cf=0x0;_0x3978cf<_0x1028e7;_0x3978cf++)for(let _0x35f336=0x0;_0x35f336<_0xfb21d0;_0x35f336++){const _0x366eff={...(_0x15e3ee=(_0x1d88c0=_0x4430a3['data'])==null?void 0x0:_0x1d88c0[_0x3978cf])==null?void 0x0:_0x15e3ee[_0x35f336]};let _0xe82d98;_0x22dd57[_0x2dccd9(0x2cd)][_0x3978cf][_0x2dccd9(0x27f)]?_0xe82d98=_0x22dd57['info'][_0x3978cf][_0x2dccd9(0x175)]===0x0?_0x2db188['grandTotal']:_0x2db188[_0x2dccd9(0x104)]:_0xe82d98=_0x2db188['dataStyle'];const _0x2ed6d7=_0x22dd57[_0x2dccd9(0x2cd)][_0x3978cf]['valueIndex'],_0x5ad819=_0x41090f[_0x2dccd9(0x2cd)][_0x35f336][_0x2dccd9(0x25a)],_0x4c854a=Math[_0x2dccd9(0x349)](_0x2ed6d7,_0x5ad819),_0x48f15e=_0x1b74ad[_0x2dccd9(0x360)]['valueFields'][_0x2dccd9(0x198)]();let _0x4cc791='';_0x4c854a<0x0?_0x4cc791=(_0x3b4c22=_0x48f15e[0x0])!=null?_0x3b4c22:'':_0x4cc791=(_0x2e166b=_0x48f15e[_0x4c854a])!=null?_0x2e166b:'';const _0x5e85dc=_0x4e8369[_0x4cc791];_0x5e85dc&&(_0xe82d98={..._0xe82d98,'n':{'pattern':_0x5e85dc}}),_0x175947[_0x2dccd9(0x315)](_0x3978cf+_0x1b4d66,_0x35f336+_0x1f35b4,_0x147fc7(_0xe167ec,_0x366eff,_0xe82d98));}return{'valueMatrix':_0x175947,'rowInfo':_0x337912,'colInfo':_0x3e9a72,'cornerInfo':_0x5d2ee5,'rowHeaderMap':_0x2aacf8,'colHeaderMap':_0x162896};};function _0x1da0d9(_0x232722,_0x5c7929,_0x51d894,_0xa15e76){const _0x46fc71=_0x4d0853;let _0x402f95=_0x232722['v'];_0x5c7929&&(_0x402f95=''+_0xa15e76[_0x46fc71(0x2af)]);const _0x4979a6=_0x232722['t']&&(_0x232722['t']&_0x1f569c[_0x46fc71(0x20e)][_0x46fc71(0x321)])>0x0;if(_0x4979a6&&(_0x402f95=''+_0xa15e76['sheets-pivot.blank']),_0x232722['s']===_0x1f569c[_0x46fc71(0x2fa)]['Subtotal']){let _0x7e77ee=_0x402f95,_0xf88bda='';_0x1f569c[_0x46fc71(0x107)](_0x402f95)&&(_0x7e77ee=_0x402f95[_0x46fc71(0x279)],_0xf88bda=_0x402f95['value']);const _0x217a2d=_0x51d894&&!_0x4979a6?_0x26267f[_0x46fc71(0x24b)][_0x46fc71(0x16a)](_0x51d894,Number(_0x7e77ee)):_0x7e77ee;_0xf88bda?_0x402f95=_0x217a2d+'\x20'+_0xf88bda:_0x402f95=_0x217a2d+'\x20'+_0xa15e76['sheets-pivot.subTotal'];}else _0x232722['s']===_0x1f569c[_0x46fc71(0x2fa)][_0x46fc71(0xf2)]&&(_0x402f95=_0x402f95+'\x20'+_0xa15e76[_0x46fc71(0x167)]);return _0x402f95;}function _0x41d801(_0x46930b){const _0x2d78f0=_0x4d0853;if(_0x1f569c[_0x2d78f0(0xe2)](_0x46930b)){const {errorType:_0xb1bafa}=_0x46930b;switch(_0xb1bafa){case _0x1f569c[_0x2d78f0(0xd5)][_0x2d78f0(0x1b0)]:return _0x2257ad[_0x2d78f0(0x19e)][_0x2d78f0(0x1cb)];case _0x1f569c[_0x2d78f0(0xd5)][_0x2d78f0(0x2f2)]:return _0x2257ad[_0x2d78f0(0x19e)][_0x2d78f0(0x359)];case _0x1f569c[_0x2d78f0(0xd5)][_0x2d78f0(0x194)]:return _0x2257ad[_0x2d78f0(0x19e)][_0x2d78f0(0x100)];case _0x1f569c[_0x2d78f0(0xd5)][_0x2d78f0(0x200)]:return _0x2257ad['ErrorType'][_0x2d78f0(0x100)];case _0x1f569c[_0x2d78f0(0xd5)][_0x2d78f0(0x225)]:return _0x2257ad[_0x2d78f0(0x19e)][_0x2d78f0(0xdf)];}}return _0x46930b;}function _0x3b3e27(_0x446aa6,_0x36aa17,_0x1a2641=!0x1,_0x517385=!0x1){const _0x196082=_0x4d0853,{data:_0x52b33d}=_0x36aa17,_0x1b403c=_0x36aa17[_0x196082(0x302)](),_0x29aea3=_0x36aa17[_0x196082(0x36c)]();if(_0x1b403c<=0x0||_0x29aea3<=0x0)return[];const _0x2f9b4f=_0x36aa17[_0x196082(0x286)](),_0x1e4840=_0x36aa17['getLastRow'](),_0x463191=_0x517385?_0x1e4840>=0x0?_0x1e4840+0x1:0x0:_0x1b403c,_0x111c87=_0x517385?_0x2f9b4f>=0x0?_0x2f9b4f+0x1:0x0:_0x29aea3,{row:_0xca95c,col:_0x246c76}=_0x446aa6,_0x43645b=_0xca95c,_0x50cd88=_0x246c76;if(_0x1a2641){const _0x508140=[];for(const [_0x207d10,_0x35f65e]of Object[_0x196082(0x255)](_0x52b33d))for(const [_0x3cad50,_0x1ec893]of Object[_0x196082(0x255)](_0x35f65e))_0x508140[_0x196082(0x269)](_0x26267f[_0x196082(0x263)](_0x43645b+Number(_0x207d10),_0x50cd88+Number(_0x3cad50)));return _0x508140;}else{const _0x23c8c5=_0x517385?_0x463191>0x0?0x1:0x0:0x1,_0x1c6c1d=_0x517385?_0x111c87>0x0?0x1:0x0:0x1,_0x403629=_0xca95c+_0x463191-_0x23c8c5,_0x192be3=_0x246c76+_0x111c87-_0x1c6c1d;return[{'startRow':_0x43645b,'startColumn':_0x50cd88,'endRow':_0x403629,'endColumn':_0x192be3}];}}const _0x7fa735='SHEET_PIVOT_IN_MAIN_THREAD',_0x2092f5='SHEET_PIVOT_EXCLUSIVE_ID';var _0x3be926=(_0x9e4d7f=>(_0x9e4d7f[_0x4d0853(0x12e)]=_0x4d0853(0x14c),_0x9e4d7f[_0x4d0853(0x20f)]=_0x4d0853(0x2ab),_0x9e4d7f['AddPivotField']=_0x4d0853(0x399),_0x9e4d7f['AddPivotTableWithConfig']=_0x4d0853(0xb4),_0x9e4d7f[_0x4d0853(0x333)]=_0x4d0853(0x381),_0x9e4d7f[_0x4d0853(0x38f)]=_0x4d0853(0x357),_0x9e4d7f['RemovePivotField']='removePivotField',_0x9e4d7f[_0x4d0853(0x21e)]=_0x4d0853(0x28c),_0x9e4d7f[_0x4d0853(0x218)]='setPivotFilter',_0x9e4d7f[_0x4d0853(0x30a)]=_0x4d0853(0x2fd),_0x9e4d7f[_0x4d0853(0x271)]=_0x4d0853(0x1c2),_0x9e4d7f[_0x4d0853(0x2e1)]=_0x4d0853(0xc4),_0x9e4d7f['UpdateValuePosition']=_0x4d0853(0x262),_0x9e4d7f[_0x4d0853(0x9d)]=_0x4d0853(0x343),_0x9e4d7f[_0x4d0853(0x1f1)]='setValuePivotFilter',_0x9e4d7f[_0x4d0853(0x1be)]=_0x4d0853(0x2f9),_0x9e4d7f[_0x4d0853(0x160)]=_0x4d0853(0x1fc),_0x9e4d7f))(_0x3be926||{});const _0x22809f={'sheets-pivot.blankValue':_0x4d0853(0x354),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x4d0853(0x227),'sheets-pivot.grandTotalText':_0x4d0853(0x9c),'sheets-pivot.valueText':_0x4d0853(0x29e),'sheets-pivot.averageName':_0x4d0853(0x32b),'sheets-pivot.countName':_0x4d0853(0x21b),'sheets-pivot.countNumsName':_0x4d0853(0x21b),'sheets-pivot.maxName':_0x4d0853(0x2b6),'sheets-pivot.minName':_0x4d0853(0x327),'sheets-pivot.productName':_0x4d0853(0xf1),'sheets-pivot.stdDevName':_0x4d0853(0x1f4),'sheets-pivot.stdDevpName':_0x4d0853(0x164),'sheets-pivot.sumName':_0x4d0853(0xb2),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x4d0853(0x254),'sheets-pivot.subTotal':_0x4d0853(0x253),'sheets-pivot.grandTotal':_0x4d0853(0x9c),'sheets-pivot.value':_0x4d0853(0xae),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x4d0853(0x12e),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x4d0853(0x1ae),'sheets-pivot.emptyPivot.values':_0x4d0853(0x365)},_0x54bb81={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x32edef=_0x26267f[_0x4d0853(0x250)](_0x4d0853(0x115)),_0x2039f9=_0x26267f[_0x4d0853(0x202)](_0x4d0853(0x232));var _0x36eba0=(_0x460458=>(_0x460458[_0x4d0853(0x141)]=_0x4d0853(0x141),_0x460458[_0x4d0853(0xca)]=_0x4d0853(0xca),_0x460458[_0x4d0853(0x119)]=_0x4d0853(0x119),_0x460458))(_0x36eba0||{}),_0x496a39=(_0x33b3d7=>(_0x33b3d7[_0x4d0853(0x196)]='add',_0x33b3d7['Set']=_0x4d0853(0x283),_0x33b3d7['Delete']=_0x4d0853(0xca),_0x33b3d7))(_0x496a39||{});const _0x336ad0={0x0:'B',0x1:'p',0x2:'9',0x3:'U',0x4:'g',0x5:'S',0x6:'X',0x7:'0',0x8:'8',0x9:'N','g':'1','F':'2','G':'3','X':'4','S':'5','p':'6','s':'7','y':'a','r':'b','R':'c','k':'d','l':'e','m':'f','c':'h','n':'i','T':'j','L':'k','O':'l','t':'m','N':'n','B':'o','h':'q','D':'r','i':'s','V':'t','K':'u','Y':'v','u':'w','e':'x','x':'y','w':'z','M':'A','z':'C','Z':'D','o':'E','f':'F','C':'G','J':'H','U':'I','v':'J','I':'K','H':'L','q':'M','E':'O','b':'P','a':'Q','P':'R','d':'T','Q':'V','j':'W','A':'Y','W':'Z'},_0x26b7db=_0x4d0853(0x38a),_0x1ff8a2={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x145),'handler':()=>!0x0},_0x530263={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x395),'handler':()=>!0x0},_0x250854={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x47ac7e={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x131),'handler':()=>!0x0},_0x44b694={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x1a1),'handler':()=>!0x0},_0x1d9974=_0x12ed10=>{const _0x680319=_0x4d0853;var _0x2e81dc;return((_0x2e81dc=_0x12ed10['body'])==null?void 0x0:_0x2e81dc[_0x680319(0x2a1)]['replace'](/\r\n$/,''))||'';};class _0x51c72f extends _0x1f569c[_0x4d0853(0x3a2)]{constructor(_0x2ac52d,_0x57484e){const _0x5067de=_0x4d0853;super(),_0x3aca41(this,_0x5067de(0xfd),{}),_0x3aca41(this,'_univerInstanceService'),_0x3aca41(this,_0x5067de(0x14d)),(this['_univerInstanceService']=_0x57484e,this[_0x5067de(0x14d)]=_0x2ac52d);}[_0x4d0853(0x201)](){const _0x13c48c=_0x4d0853;for(const _0x586150 in this['dataFields']){const _0x554885=this[_0x13c48c(0x30d)][_0x586150],_0x443077=_0x554885[_0x13c48c(0x2e9)]();this[_0x13c48c(0xfd)][_0x443077]=_0x554885[_0x13c48c(0xcd)]();}}['getAutoDisplayNameFunction'](){const _0x258167=_0x4d0853,_0x662ba2=this['_host'];return _0x2631cf[_0x258167(0x330)](_0x662ba2);}[_0x4d0853(0x1ca)](_0x23535e){const _0x58227e=_0x4d0853,_0x5ab822=this['dataFields'][_0x23535e][_0x58227e(0x35f)];delete this[_0x58227e(0x30d)][_0x23535e],delete this[_0x58227e(0xfd)][_0x5ab822];}[_0x4d0853(0x99)](_0x5b0df4){const _0x5d69c2=_0x4d0853;this[_0x5d69c2(0x30d)][_0x5b0df4[_0x5d69c2(0xcd)]()]=_0x5b0df4;}[_0x4d0853(0x3a9)](_0x535eeb){const _0xa4b55a=_0x4d0853;var _0x3e5f96,_0x33ae78;const _0x564706=this['_host'][_0xa4b55a(0x121)](_0x535eeb);if(_0x564706){const {unitId:_0x3653c5,subUnitId:_0xc0d372}=_0x564706,_0x29aceb=(_0x3e5f96=this[_0xa4b55a(0x14d)][_0xa4b55a(0xf6)](_0x3653c5,_0xc0d372,_0x535eeb))==null?void 0x0:_0x3e5f96['sourceRangeInfo'];this['_host'][_0xa4b55a(0x95)]({'token':_0x535eeb,'type':_0x36eba0[_0xa4b55a(0xca)],'dataRangeInfo':_0x29aceb});}(_0x33ae78=this['getCollection'](_0x535eeb))==null||_0x33ae78[_0xa4b55a(0x301)](),delete this[_0xa4b55a(0x144)][_0x535eeb];}[_0x4d0853(0x2e9)](_0x1a92c7,_0x196dd1){const _0x57377b=_0x4d0853,{sheetName:_0x121f47,unitId:_0x985174,range:_0x38fa35}=_0x1a92c7,{startRow:_0x182d64,endRow:_0x16d6dc}=_0x38fa35;return _0x2257ad[_0x57377b(0x36f)](_0x985174,_0x121f47,{'startRow':_0x182d64,'endRow':_0x16d6dc,'startColumn':_0x196dd1,'endColumn':_0x196dd1});}[_0x4d0853(0x106)](_0x1646b2){const _0x20c126=_0x4d0853;return this[_0x20c126(0x30d)][this[_0x20c126(0xfd)][_0x1646b2]];}[_0x4d0853(0x16b)](_0x24db7c,_0x547c89){const _0x51f8c7=_0x4d0853;this[_0x51f8c7(0xfd)][_0x24db7c]=_0x547c89;}['updateRangeKeyMap'](_0xabb14d,_0x26fef1){const _0x204001=_0x4d0853;this[_0x204001(0xfd)][_0x26fef1]=this[_0x204001(0xfd)][_0xabb14d],delete this['rangeKeyMap'][_0xabb14d];}[_0x4d0853(0x10b)](_0x3d22e5,_0x536335,_0x1d17f5,_0x2b392d){const _0x5d177d=_0x4d0853,_0x35a6b6=new _0x1f569c['FieldsCollection'](this);_0x35a6b6[_0x5d177d(0x376)](_0x536335);const _0x361164=[];let _0x359ce0=0x0;for(const _0x18afcc of _0x35a6b6['fieldIds']){const _0x49a8ec=this[_0x5d177d(0x2e9)](_0x1d17f5,_0x359ce0),_0x51397e=this[_0x5d177d(0x30d)][_0x18afcc];_0x51397e&&(_0x51397e[_0x5d177d(0x35f)]=_0x49a8ec,this[_0x5d177d(0x16b)](_0x49a8ec,_0x18afcc),_0x361164[_0x5d177d(0x269)]({'index':_0x359ce0,'dataField':_0x51397e})),_0x359ce0++;}return this[_0x5d177d(0x394)](_0x3d22e5,_0x35a6b6,_0x1d17f5,_0x2b392d),{'collection':_0x35a6b6,'updateDataFieldList':_0x361164};}['getRangeStartEndInfo'](_0x3895be,_0xc40155){const _0x323579=_0x4d0853;return _0x3895be[_0x323579(0x13b)]===_0x26267f[_0x323579(0x2d1)]['COLUMN']?{'startRow':0x0,'startColumn':_0x3895be[_0x323579(0x361)],'endRow':_0xc40155[_0x323579(0x302)]()-0x1,'endColumn':_0x3895be['endColumn']}:{'startRow':_0x3895be['startRow'],'startColumn':_0x3895be[_0x323579(0x361)],'endRow':_0x3895be[_0x323579(0x27a)],'endColumn':_0x3895be[_0x323579(0xc3)]};}['createCollectionWithDataRange'](_0x267fb3){const _0x5517f8=_0x4d0853,{sheetName:_0x2a12e5,range:_0x2f3a12}=_0x267fb3,_0x5e237e=this[_0x5517f8(0x31d)][_0x5517f8(0x257)](_0x26267f[_0x5517f8(0xef)][_0x5517f8(0x1b2)]),_0x4569c5=_0x5e237e[_0x5517f8(0x38e)](_0x2a12e5),_0x3455e5=_0x4569c5[_0x5517f8(0x34b)](),{startColumn:_0x5a2211,startRow:_0x340af3,endColumn:_0x165f9a}=this['getRangeStartEndInfo'](_0x2f3a12,_0x4569c5),_0x3cddd9=_0x5e237e['getStyles'](),_0x17b90c=new _0x1f569c[(_0x5517f8(0x1ea))](this);_0x17b90c[_0x5517f8(0x318)](_0x267fb3);const _0x3ee12e=[],_0x541d48={};for(let _0x107768=_0x5a2211;_0x107768<=_0x165f9a;_0x107768++){const _0xf807c8=_0x3455e5[_0x5517f8(0xdb)](_0x340af3,_0x107768),_0x3b679a=this[_0x5517f8(0x2e9)](_0x267fb3,_0x107768),_0x2e1a36=this[_0x5517f8(0x106)](_0x3b679a);if(_0x2e1a36)_0x17b90c['addField'](_0x2e1a36[_0x5517f8(0xcd)](),_0x2e1a36[_0x5517f8(0xeb)]());else{const _0x22ccbf=this[_0x5517f8(0x339)]();let _0x15c590=this['adjustSheetCellData'](_0xf807c8,_0x3cddd9,_0x541d48);_0x1f569c[_0x5517f8(0x36d)](_0x15c590)&&(_0x15c590=_0x26267f[_0x5517f8(0x24b)]['format'](_0x15c590['f'],Number(_0x15c590['v'])));const _0x5cd7bb=this['uniqueDataFieldName'](_0x15c590,_0x107768),_0x1107fe=new _0x1f569c[(_0x5517f8(0x373))](_0x22ccbf,_0x5cd7bb,_0x1f569c['generateHexNumber'](0x3));_0x1107fe[_0x5517f8(0x35f)]=_0x3b679a,this[_0x5517f8(0x30d)][_0x22ccbf]=_0x1107fe,_0x17b90c['addField'](_0x22ccbf,_0x5cd7bb),_0x3ee12e[_0x5517f8(0x269)]({'index':_0x107768,'dataField':_0x1107fe});}}return{'updateDataFieldList':_0x3ee12e,'collection':_0x17b90c};}['_getAutoName'](_0x107cd0){const _0x411c54=_0x4d0853;return this[_0x411c54(0x14d)][_0x411c54(0xe8)]()[_0x411c54(0x1ad)]+'\x20'+_0x26267f[_0x411c54(0xc1)](_0x107cd0);}['uniqueDataFieldName'](_0x4abb56,_0x341826){const _0x21952f=_0x4d0853;return _0x4abb56==null||_0x4abb56===''?this[_0x21952f(0x1cf)](_0x341826):String(_0x4abb56);}[_0x4d0853(0x240)](_0x2c78b3){return this['collections'][_0x2c78b3];}[_0x4d0853(0x394)](_0x19588d,_0x4b00fd,_0x24df17,_0x4f3f52){const _0xfeaa91=_0x4d0853;this['collections'][_0x19588d]=_0x4b00fd,_0x4b00fd['setRange'](_0x24df17),this[_0xfeaa91(0x14d)]['broadcastCollectionChange']({'token':_0x19588d,'type':_0x36eba0[_0xfeaa91(0x141)],'dataRangeInfo':_0x24df17,'targetCellInfo':_0x4f3f52});}[_0x4d0853(0x18c)](_0x260c31,_0xe8b12b){const _0x331f81=_0x4d0853,_0xfe1e83=this['getCollection'](_0x260c31),_0x1f9a0b=_0xfe1e83['getFieldIds']();let _0x1b5fdf=0x0;for(const _0x2575ce of _0x1f9a0b){const _0x1d43d8=_0xfe1e83[_0x331f81(0x307)](_0x2575ce),_0x2bda65=this[_0x331f81(0x2e9)](_0xe8b12b,_0x1b5fdf);this[_0x331f81(0x1c0)](_0x1d43d8['rangeKey'],_0x2bda65),_0x1b5fdf++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x40359a,_0x4b578b){const _0x571ed5=_0x4d0853;if(this[_0x571ed5(0x240)](_0x40359a)){const _0x3ade37=this[_0x571ed5(0x326)](_0x4b578b),_0x166e4a=[];for(const _0x34e9c9 of _0x3ade37)this[_0x571ed5(0xfd)][_0x34e9c9]!==void 0x0&&_0x166e4a[_0x571ed5(0x269)](this[_0x571ed5(0xfd)][_0x34e9c9]);const _0x2e71a7=this[_0x571ed5(0x2d7)](_0x40359a),_0xfd57d9=[],_0x3930f9=new Set(_0x166e4a);for(const _0x3dd35c of _0x2e71a7)_0x3930f9[_0x571ed5(0x162)](_0x3dd35c)||_0xfd57d9[_0x571ed5(0x269)](_0x3dd35c);return _0xfd57d9;}}[_0x4d0853(0x126)](_0x85d35a,_0x5b8ec0,_0x3a7e56,_0x47f4f1,_0x1bd383){const _0x4cb5b9=_0x4d0853;return _0x5b8ec0&&_0x5b8ec0[_0x4cb5b9(0xdb)](_0x47f4f1,_0x1bd383)?_0x5b8ec0[_0x4cb5b9(0xdb)](_0x47f4f1,_0x1bd383):_0x3a7e56&&_0x3a7e56['getValue'](_0x47f4f1,_0x1bd383)?_0x3a7e56['getValue'](_0x47f4f1,_0x1bd383):_0x85d35a[_0x4cb5b9(0xdb)](_0x47f4f1,_0x1bd383);}[_0x4d0853(0x1d9)](_0x361508,_0x3e8a1c,_0x2401cb,_0x32044e){const _0x5f5c47=_0x4d0853,_0x2bdc11=this[_0x5f5c47(0x30d)][_0x361508];if(!_0x2bdc11)return;const {subUnitId:_0x8b35d,range:_0x121341,unitId:_0x4bd6ef}=_0x3e8a1c,_0x1ea67c=this['_univerInstanceService'][_0x5f5c47(0x96)](_0x4bd6ef);if(!_0x1ea67c){console['error'](_0x5f5c47(0x1c7));return;}const _0x3ccfab=_0x1ea67c['getSheetBySheetId'](_0x8b35d),_0x342898=_0x3ccfab['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x27bc12,unitDataMatrix:_0x31c86f}=_0x32044e||{},{startRow:_0xa7c133,startColumn:_0x2f42dc,endRow:_0x47bd6a}=this[_0x5f5c47(0x1d0)](_0x121341,_0x3ccfab);_0x2bdc11[_0x5f5c47(0x228)]();const _0x498f29=_0x1ea67c['getStyles'](),_0x4ceba4={},_0x1ef19a=this[_0x5f5c47(0x126)](_0x342898,_0x27bc12,_0x31c86f,_0xa7c133,_0x2f42dc+_0x2401cb);let _0xac094d=this['adjustSheetCellData'](_0x1ef19a,_0x498f29,_0x4ceba4);_0x1f569c[_0x5f5c47(0x36d)](_0xac094d)&&(_0xac094d=_0x26267f[_0x5f5c47(0x24b)][_0x5f5c47(0x16a)](_0xac094d['f'],Number(_0xac094d['v'])));const _0x7abd4=this[_0x5f5c47(0x13f)](_0xac094d,_0x2f42dc+_0x2401cb);_0x2bdc11[_0x5f5c47(0x214)](_0x7abd4);for(let _0x4d6a86=_0xa7c133+0x1;_0x4d6a86<=_0x47bd6a;_0x4d6a86++){const _0x5b9d42=this['getMatrixValue'](_0x342898,_0x27bc12,_0x31c86f,_0x4d6a86,_0x2f42dc+_0x2401cb);_0x2bdc11[_0x5f5c47(0x1fe)](this[_0x5f5c47(0x2cb)](_0x5b9d42,_0x498f29,_0x4ceba4),_0x4d6a86-0x1-_0xa7c133);}}[_0x4d0853(0x189)](_0x2ef362,_0x56351e,_0x482e85){const _0x17a474=_0x4d0853,{subUnitId:_0x37c6ad,range:_0x3a69dc,unitId:_0xf37be1}=_0x482e85,_0x2251bf=this['_univerInstanceService'][_0x17a474(0x96)](_0xf37be1);if(!_0x2251bf){console['error'](_0x17a474(0x1c7));return;}const _0x4fe8d9=_0x2251bf['getSheetBySheetId'](_0x37c6ad),_0x940e7c=_0x4fe8d9[_0x17a474(0x34b)](),{startRow:_0x17ccc4,startColumn:_0x1f3c7f,endRow:_0x138efc}=this[_0x17a474(0x1d0)](_0x3a69dc,_0x4fe8d9),_0x7e14e9=_0x2251bf[_0x17a474(0x293)](),_0x4bfa50={};for(const {dataField:_0x2851d5,index:_0x58987e}of _0x56351e){_0x2851d5[_0x17a474(0x228)]();const _0x1fdd21=this['getMatrixValue'](_0x940e7c,void 0x0,void 0x0,_0x17ccc4,_0x1f3c7f+_0x58987e);let _0x42392c=this['adjustSheetCellData'](_0x1fdd21,_0x7e14e9,_0x4bfa50);_0x1f569c[_0x17a474(0x36d)](_0x42392c)&&(_0x42392c=_0x26267f[_0x17a474(0x24b)][_0x17a474(0x16a)](_0x42392c['f'],Number(_0x42392c['v'])));const _0x44704f=this[_0x17a474(0x13f)](_0x42392c,_0x1f3c7f+_0x58987e);_0x2851d5[_0x17a474(0x214)](_0x44704f);}_0x2ef362['updateAllDisplayName']();for(let _0x21ef6e=_0x17ccc4+0x1;_0x21ef6e<=_0x138efc;_0x21ef6e++)for(const {index:_0x1a7c27,dataField:_0x1130ca}of _0x56351e){const _0x147154=_0x940e7c[_0x17a474(0xdb)](_0x21ef6e,_0x1f3c7f+_0x1a7c27);_0x1130ca['addRecord'](this[_0x17a474(0x2cb)](_0x147154,_0x7e14e9,_0x4bfa50),_0x21ef6e-0x1-_0x17ccc4);}_0x2ef362[_0x17a474(0x33e)](_0x138efc-_0x17ccc4);}[_0x4d0853(0x326)](_0x22ed11){const _0x1abff1=_0x4d0853,{range:_0xc34450}=_0x22ed11,{startColumn:_0x46b8e7,endColumn:_0x198240}=_0xc34450,_0x405ebb=[];for(let _0xc9160f=_0x46b8e7;_0xc9160f<=_0x198240;_0xc9160f++)_0x405ebb[_0x1abff1(0x269)](this[_0x1abff1(0x2e9)](_0x22ed11,_0xc9160f));return _0x405ebb;}[_0x4d0853(0x2cb)](_0x37553a,_0x190fa3,_0x26f04e){const _0xfd237e=_0x4d0853;if(_0x37553a){const {s:_0x19d759,v:_0x2cc77d,t:_0xcfd632,p:_0xad151e}=_0x37553a;if(_0xad151e)return _0x1d9974(_0xad151e);const _0x29a945=_0x190fa3[_0xfd237e(0x2c0)](_0x19d759);if(_0x29a945&&_0xcfd632===_0x26267f['CellValueType']['NUMBER']&&_0x29a945['n']){const {pattern:_0x2723fd}=_0x29a945['n'];_0x26f04e[_0x2723fd]||(_0x26f04e[_0x2723fd]=_0x26267f[_0xfd237e(0x24b)]['getInfo'](_0x2723fd));const _0x3aab27=_0x26f04e[_0x2723fd],_0x1ac869=_0x3aab27[_0xfd237e(0xb1)];if(_0x3aab27[_0xfd237e(0x261)])return String(_0x2cc77d);if(_0x1ac869)return{'v':_0x2cc77d,'f':_0x2723fd};}if(_0xcfd632===_0x26267f[_0xfd237e(0x297)]['NUMBER'])return Number(_0x2cc77d);if(_0xcfd632===_0x26267f['CellValueType'][_0xfd237e(0x20d)]||_0xcfd632===_0x26267f[_0xfd237e(0x297)][_0xfd237e(0x31c)])return String(_0x2cc77d);if(_0xcfd632===void 0x0){const _0x4f1019=Number(_0x2cc77d);if(!Number[_0xfd237e(0x348)](_0x4f1019)&&String(_0x4f1019)===_0x2cc77d)return _0x4f1019;}return _0x2cc77d!=null?_0x2cc77d:null;}else return null;}[_0x4d0853(0x242)](_0x9c1a28){const _0x5c1e31=_0x4d0853,{sheetName:_0x53174c,range:_0x53f239,unitId:_0x3ca843}=_0x9c1a28,_0x16e463=this['_univerInstanceService'][_0x5c1e31(0x96)](_0x3ca843);if(!_0x16e463)return console[_0x5c1e31(0x23d)](_0x5c1e31(0x1c7)),{'header':[],'data':[]};const _0x1cbd6b=_0x16e463['getSheetBySheetName'](_0x53174c),_0x196da6=_0x1cbd6b[_0x5c1e31(0x34b)](),{startRow:_0x1a9f6b,startColumn:_0x552408,endRow:_0xd1ca77,endColumn:_0x43a442}=this[_0x5c1e31(0x1d0)](_0x53f239,_0x1cbd6b),_0x19bf3b=_0x16e463[_0x5c1e31(0x293)](),_0x2f1a8e=[],_0x2ea24a=[],_0x25d0ee={};for(let _0x44f7a7=_0x1a9f6b;_0x44f7a7<=_0xd1ca77;_0x44f7a7++){const _0x17bf39=[];for(let _0x405204=_0x552408;_0x405204<=_0x43a442;_0x405204++){const _0x3efa19=_0x196da6[_0x5c1e31(0xdb)](_0x44f7a7,_0x405204);_0x44f7a7===_0x1a9f6b?_0x2f1a8e['push'](_0x3efa19==null?null:String(_0x3efa19['v'])):_0x17bf39['push'](this[_0x5c1e31(0x2cb)](_0x3efa19,_0x19bf3b,_0x25d0ee));}_0x2ea24a[_0x5c1e31(0x269)](_0x17bf39);}return{'header':_0x2f1a8e,'data':_0x2ea24a};}[_0x4d0853(0x172)](){const _0x1d0068=_0x4d0853;return super[_0x1d0068(0x172)]();}[_0x4d0853(0x376)](_0x5b473e){const _0xd4878a=_0x4d0853;super[_0xd4878a(0x376)](_0x5b473e),this[_0xd4878a(0x201)]();}[_0x4d0853(0x301)](){const _0x56bc0=_0x4d0853;super[_0x56bc0(0x301)](),this[_0x56bc0(0xfd)]={},this[_0x56bc0(0x14d)]=null;}}const _0x219866=_0x1f8874=>{const _0x4e2006=_0x4d0853,{targetCellInfo:_0x259f56}=_0x1f8874,{matrixCache:_0xc512e2,rangesCache:_0x16d4a7}=_0x1b4b42({'filter':_0x4e2006(0x12e),'row':_0x4e2006(0x210),'column':'Column','values':_0x4e2006(0x365)},_0x259f56),_0x596c8d=new _0x26267f[(_0x4e2006(0x110))]();return _0xc512e2[_0x4e2006(0x274)]((_0x5b4229,_0xa8061d,_0x2605e8)=>{const _0x8eed72=_0x4e2006;_0x596c8d[_0x8eed72(0x315)](_0x5b4229,_0xa8061d,_0x2605e8);}),{'matrix':_0x596c8d,'rangesCache':_0x16d4a7};},_0xfa96c7=_0x408159=>{const _0x477c27=_0x4d0853;let _0x35d583;if(_0x408159!=null&&_0x408159['v']||(_0x408159==null?void 0x0:_0x408159['v'])===0x0){_0x35d583||(_0x35d583={});const _0x1da52e=_0x41d801(_0x408159['v']);typeof _0x1da52e=='number'?_0x35d583['t']=_0x26267f[_0x477c27(0x297)][_0x477c27(0x9e)]:typeof _0x1da52e==_0x477c27(0x138)&&(_0x35d583['t']=_0x26267f[_0x477c27(0x297)][_0x477c27(0x20d)]),_0x35d583['v']=_0x1da52e;}return _0x35d583;},_0x12e0b9=(_0x1856ed,_0x23ad84,_0x59ea30)=>{const _0x578f7b=_0x4d0853;var _0x59e679,_0x3f90f9,_0x302bc5,_0x3e67fe,_0x1d8a0b,_0x5b1b63,_0x2a2f95,_0x7dfb0c,_0x515170,_0x1c4f6d,_0x3d6a2c,_0x1b2508;const {cornerView:_0x5a3bb6,rowView:_0x144689,colView:_0x4570f2,dataView:_0x5151f1,pageView:_0x5d4b4d,formatMap:_0x164ac7}=_0x1856ed,{row:_0x346935,col:_0x64f436}=_0x23ad84,_0x3bba9c=new _0x26267f['ObjectMatrix']();let _0x1d6d98=_0x346935,_0x535056=_0x64f436;Object[_0x578f7b(0x2a2)](_0x5d4b4d['data'])[_0x578f7b(0x35d)](_0x27c4fe=>{const _0x2158e7=_0x578f7b;Object['keys'](_0x5d4b4d[_0x2158e7(0x2a9)][Number(_0x27c4fe)])[_0x2158e7(0x35d)](_0x3cc3ca=>{const _0x57bbd8=_0x2158e7,_0x3b0f39={..._0x5d4b4d[_0x57bbd8(0x2a9)][Number(_0x27c4fe)][Number(_0x3cc3ca)]};_0x3bba9c['setValue'](Number(_0x27c4fe)+_0x1d6d98,Number(_0x3cc3ca)+_0x535056,_0xfa96c7(_0x3b0f39));});});const _0x2a53e3=Object[_0x578f7b(0x2a2)](_0x5d4b4d['data'])[_0x578f7b(0x19c)];_0x1d6d98+=_0x2a53e3+(_0x2a53e3?_0x535df5:0x0);const _0x4e26fd=_0x5a3bb6['getRowCount'](),_0x1c2991=_0x5a3bb6['getColCount']();for(let _0x1bac7e=0x0;_0x1bac7e<_0x4e26fd;_0x1bac7e++)for(let _0x13945c=0x0;_0x13945c<_0x1c2991;_0x13945c++){const _0x2dd3f5={...(_0x3f90f9=(_0x59e679=_0x5a3bb6[_0x578f7b(0x2a9)])==null?void 0x0:_0x59e679[_0x1bac7e])==null?void 0x0:_0x3f90f9[_0x13945c]};_0x2dd3f5&&((_0x302bc5=_0x144689[_0x578f7b(0x129)][_0x13945c])!=null&&_0x302bc5[_0x578f7b(0x207)])&&_0x13945c===_0x1c2991-0x1&&_0x1bac7e===_0x4e26fd-0x1&&(_0x2dd3f5['v']=''+_0x59ea30[_0x578f7b(0x2af)]),_0x3bba9c['setValue'](_0x1bac7e+_0x1d6d98,_0x13945c+_0x535056,_0xfa96c7(_0x2dd3f5));}_0x535056+=_0x1c2991;const _0x4e8021=_0x4570f2['headerMap'],_0x161fd2=_0x4570f2['getLastRow']()>=0x0?_0x4570f2[_0x578f7b(0x378)]()+0x1:0x0,_0x3abe10=_0x4570f2[_0x578f7b(0x286)]()>=0x0?_0x4570f2[_0x578f7b(0x286)]()+0x1:0x0;for(let _0x5b2417=0x0;_0x5b2417<_0x3abe10;_0x5b2417++)for(let _0x14f06c=0x0;_0x14f06c<_0x161fd2;_0x14f06c++){const _0x2a2db7={...(_0x1d8a0b=(_0x3e67fe=_0x4570f2[_0x578f7b(0x2a9)])==null?void 0x0:_0x3e67fe[_0x5b2417])==null?void 0x0:_0x1d8a0b[_0x14f06c]},_0x43a065=(_0x5b1b63=_0x4e8021[_0x5b2417])==null?void 0x0:_0x5b1b63['tableFieldId'],_0x2563cc=_0x164ac7[_0x43a065];_0x2a2db7&&(_0x2a2db7['v']=_0x1da0d9(_0x2a2db7,_0x5b2417===0x0&&((_0x2a2f95=_0x4570f2['getHeaderMapItem'](_0x14f06c+0x1))==null?void 0x0:_0x2a2f95['isValue']),_0x2563cc,_0x59ea30)),_0x3bba9c[_0x578f7b(0x315)](_0x5b2417+_0x1d6d98,_0x14f06c+_0x535056,_0xfa96c7(_0x2a2db7));}_0x1d6d98+=_0x4e26fd;const _0x375ef2=_0x144689[_0x578f7b(0x129)],_0x4c0842=_0x144689['getLastRow']()>=0x0?_0x144689['getLastRow']()+0x1:0x0,_0x860996=_0x144689['getLastCol']()>=0x0?_0x144689[_0x578f7b(0x286)]()+0x1:0x0;for(let _0x4c3c66=0x0;_0x4c3c66<_0x4c0842;_0x4c3c66++)for(let _0x5165d6=0x0;_0x5165d6<_0x860996;_0x5165d6++){const _0x5be631={...(_0x515170=(_0x7dfb0c=_0x144689[_0x578f7b(0x2a9)])==null?void 0x0:_0x7dfb0c[_0x4c3c66])==null?void 0x0:_0x515170[_0x5165d6]},_0x441d66=(_0x1c4f6d=_0x375ef2[_0x5165d6])==null?void 0x0:_0x1c4f6d[_0x578f7b(0x384)],_0x1fa2b2=_0x164ac7[_0x441d66];_0x5be631&&(_0x5be631['v']=_0x1da0d9(_0x5be631,!0x1,_0x1fa2b2,_0x59ea30)),_0x3bba9c[_0x578f7b(0x315)](_0x4c3c66+_0x1d6d98,_0x5165d6+_0x64f436,_0xfa96c7(_0x5be631));}const _0x5579cb=_0x5151f1[_0x578f7b(0x302)](),_0x3648b7=_0x5151f1[_0x578f7b(0x36c)]();for(let _0x3aaa56=0x0;_0x3aaa56<_0x5579cb;_0x3aaa56++)for(let _0x228e75=0x0;_0x228e75<_0x3648b7;_0x228e75++){const _0x549617={...(_0x1b2508=(_0x3d6a2c=_0x5151f1['data'])==null?void 0x0:_0x3d6a2c[_0x3aaa56])==null?void 0x0:_0x1b2508[_0x228e75]};_0x3bba9c[_0x578f7b(0x315)](_0x3aaa56+_0x1d6d98,_0x228e75+_0x535056,_0xfa96c7(_0x549617));}return _0x3bba9c;},_0x3525d0=_0x16edc6=>{const _0x56b22f=_0x4d0853,{view:_0x23667f,targetCellInfo:_0x14818e,isEmpty:_0x291e80,textInfo:_0x4919cc}=_0x16edc6;if(_0x291e80)return _0x219866(_0x16edc6);const {pageView:_0x58a8bb,cornerView:_0x58d05c,rowView:_0x2fa961,colView:_0x3e7ac4,dataView:_0x344bb5}=_0x23667f,_0x1c7e1d=_0x3b3e27(_0x14818e,_0x58a8bb,!0x0),_0xbb04e9=_0x58a8bb[_0x56b22f(0xb0)]>=0x0?_0x58a8bb[_0x56b22f(0xb0)]+0x1:0x0,_0xb4dd72=_0x58d05c[_0x56b22f(0x302)](),_0x3a76d6=_0x58d05c[_0x56b22f(0x36c)](),_0x513dd5=_0x1c7e1d[_0x56b22f(0x19c)]>0x0?_0x535df5:0x0,_0x8f25bb=_0x3b3e27({'row':_0x14818e[_0x56b22f(0x396)]+_0xbb04e9+_0x513dd5,'col':_0x14818e[_0x56b22f(0x300)]},_0x58d05c,!0x1,!0x1),_0x4f59a9=_0x3b3e27({'row':_0x14818e[_0x56b22f(0x396)]+_0xbb04e9+_0x513dd5+_0xb4dd72,'col':_0x14818e['col']},_0x2fa961,!0x1,!0x0),_0x41bab0=_0x3b3e27({'row':_0x14818e[_0x56b22f(0x396)]+_0xbb04e9+_0x513dd5,'col':_0x14818e['col']+_0x3a76d6},_0x3e7ac4,!0x1,!0x0),_0x617950=_0x3b3e27({'row':_0x14818e[_0x56b22f(0x396)]+_0xbb04e9+_0x513dd5+_0xb4dd72,'col':_0x14818e[_0x56b22f(0x300)]+_0x3a76d6},_0x344bb5,!0x1,!0x1),_0x55e399={'rowRanges':_0x4f59a9,'colRanges':_0x41bab0,'cornerRanges':_0x8f25bb,'dataRanges':_0x617950,'pageRanges':_0x1c7e1d};return{'matrix':_0x12e0b9(_0x23667f,_0x14818e,_0x4919cc),'rangesCache':_0x55e399};};var _0xdbf260=Object[_0x4d0853(0x31e)],_0x5987b1=(_0x2affed,_0x5be477,_0x1716be,_0x25410f)=>{const _0xfdb94a=_0x4d0853;for(var _0x5cbe82=_0x25410f>0x1?void 0x0:_0x25410f?_0xdbf260(_0x5be477,_0x1716be):_0x5be477,_0x57da32=_0x2affed[_0xfdb94a(0x19c)]-0x1,_0x3c2a58;_0x57da32>=0x0;_0x57da32--)(_0x3c2a58=_0x2affed[_0x57da32])&&(_0x5cbe82=_0x3c2a58(_0x5cbe82)||_0x5cbe82);return _0x5cbe82;},_0xe3f58=(_0x4ec894,_0x3b9e1c)=>(_0x5d8616,_0xb294ef)=>_0x3b9e1c(_0x5d8616,_0xb294ef,_0x4ec894);_0x2a0a80[_0x4d0853(0x2bb)]=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0xbec289,_0x1a0386,_0x2f85a5,_0x4203b0,_0x46d8c2,_0x532e29){const _0x345185=_0x4d0853;super(),_0x3aca41(this,_0x345185(0x3aa),new Map()),_0x3aca41(this,_0x345185(0x390),new Map()),_0x3aca41(this,_0x345185(0x2d9),new Map()),_0x3aca41(this,'_textInfo'),_0x3aca41(this,_0x345185(0x2e7),new _0x5604ff[(_0x345185(0x1f9))]()),_0x3aca41(this,'collectionChange$',this[_0x345185(0x2e7)][_0x345185(0x29a)]()),_0x3aca41(this,_0x345185(0x2c4),new _0x5604ff[(_0x345185(0x1f9))]()),_0x3aca41(this,_0x345185(0x208),this[_0x345185(0x2c4)][_0x345185(0x29a)]()),_0x3aca41(this,_0x345185(0x108),new _0x5604ff[(_0x345185(0x1f9))]()),_0x3aca41(this,_0x345185(0x16f),this[_0x345185(0x108)][_0x345185(0x29a)]()),_0x3aca41(this,_0x345185(0x1e4),new Map()),_0x3aca41(this,_0x345185(0xfc),[]),_0x3aca41(this,_0x345185(0x1f3),new Map()),(this[_0x345185(0x23f)]=_0xbec289,this[_0x345185(0x31d)]=_0x1a0386,this['_lifecycleService']=_0x2f85a5,this['_configService']=_0x4203b0,this[_0x345185(0x304)]=_0x46d8c2,this[_0x345185(0x1f2)]=_0x532e29,this[_0x345185(0xce)]());}[_0x4d0853(0xe8)](){const _0x38237a=_0x4d0853;return this['_textInfo']?this[_0x38237a(0x337)]:_0x22809f;}[_0x4d0853(0x15e)](_0xd46af2){this['_textInfo']=_0xd46af2;}[_0x4d0853(0x18c)](_0xe18b9){const _0x3333e8=_0x4d0853;var _0x3aa092;const {from:_0x269d07,to:_0x14aa4f,unitId:_0x391d28,fromRange:_0x30eb11,toRange:_0x336be9}=_0xe18b9;if(_0x269d07&&_0x14aa4f){const _0x34e1b6=this[_0x3333e8(0x366)](_0x391d28),_0x528810=this['_model'][_0x3333e8(0x2c0)](_0x391d28),_0xea0376=(_0x3aa092=this[_0x3333e8(0x31d)]['getUnit'](_0x391d28))==null?void 0x0:_0x3aa092[_0x3333e8(0x296)](_0x14aa4f['subUnitId']);if(!_0x528810||!_0xea0376)return;const _0x1ec1e0=_0xea0376==null?void 0x0:_0xea0376[_0x3333e8(0xeb)]();for(const [_0x3423fb,_0x102076]of _0x528810['entries']())for(const [_0x259ad9,_0x58b036]of _0x102076[_0x3333e8(0x255)]()){const {sourceRangeInfo:_0x4cb7ee}=_0x58b036;if(_0x4cb7ee['unitId']===_0x391d28&&_0x4cb7ee[_0x3333e8(0x191)]===_0x269d07[_0x3333e8(0x191)]&&_0x26267f['Rectangle']['contains'](_0x30eb11,_0x4cb7ee[_0x3333e8(0x2d3)])){const _0x31cb94={'row':_0x4cb7ee[_0x3333e8(0x2d3)][_0x3333e8(0x1ee)]-_0x30eb11[_0x3333e8(0x1ee)],'col':_0x4cb7ee[_0x3333e8(0x2d3)][_0x3333e8(0x361)]-_0x30eb11[_0x3333e8(0x361)]},_0x307567={'unitId':_0x391d28,'subUnitId':_0x14aa4f[_0x3333e8(0x191)],'sheetName':_0x1ec1e0,'range':{'startRow':_0x336be9['startRow']+_0x31cb94[_0x3333e8(0x396)],'endRow':_0x336be9[_0x3333e8(0x1ee)]+_0x31cb94[_0x3333e8(0x396)]+_0x4cb7ee[_0x3333e8(0x2d3)][_0x3333e8(0x27a)]-_0x4cb7ee[_0x3333e8(0x2d3)]['startRow'],'startColumn':_0x336be9[_0x3333e8(0x361)]+_0x31cb94[_0x3333e8(0x300)],'endColumn':_0x336be9[_0x3333e8(0x361)]+_0x31cb94['col']+_0x4cb7ee[_0x3333e8(0x2d3)][_0x3333e8(0xc3)]-_0x4cb7ee[_0x3333e8(0x2d3)][_0x3333e8(0x361)]}};_0x34e1b6['handleMoveRange'](_0x259ad9,_0x307567);const _0x53bda0={..._0x58b036,'sourceRangeInfo':_0x307567};this[_0x3333e8(0x2a6)](_0x391d28,_0x14aa4f[_0x3333e8(0x191)],_0x259ad9,_0x53bda0),this[_0x3333e8(0x95)]({'unitId':_0x391d28,'token':_0x259ad9,'type':_0x36eba0[_0x3333e8(0x119)],'oldSourceRangeInfo':_0x4cb7ee,'dataRangeInfo':_0x307567,'targetCellInfo':_0x58b036[_0x3333e8(0x2a0)]}),this[_0x3333e8(0x2f5)]({'unitId':_0x391d28,'subUnitId':_0x14aa4f[_0x3333e8(0x191)],'oldSubUnitId':_0x3423fb,'pivotTableId':_0x259ad9,'pivotTableConfig':_0x53bda0,'collectionConfig':_0x34e1b6[_0x3333e8(0x172)]()});}}}}['broadcastCollectionChange'](_0x796b41){const _0x5b6ae6=_0x4d0853;this['_collectionChange$'][_0x5b6ae6(0x338)](_0x796b41);}[_0x4d0853(0x366)](_0x1d830d){const _0x234756=_0x4d0853;let _0x490bd8=this[_0x234756(0x1e4)]['get'](_0x1d830d);return _0x490bd8||(_0x490bd8=new _0x51c72f(this,this[_0x234756(0x31d)]),this['_dataFieldManagerCollection'][_0x234756(0x283)](_0x1d830d,_0x490bd8)),_0x490bd8;}[_0x4d0853(0x240)](_0x58cef8,_0x9e08ed){return this['getDataFieldManager'](_0x58cef8)['collections'][_0x9e08ed];}[_0x4d0853(0x30e)](_0xa3b63,_0x5a0658,_0xdb3e1d){const _0x5948ce=_0x4d0853;return this[_0x5948ce(0x366)](_0xa3b63)['getUpdateRangeDeleteIds'](_0x5a0658,_0xdb3e1d);}[_0x4d0853(0x39a)](_0x4ed143,_0x5e5c41){const _0xf210f5=_0x4d0853;let _0x46b1d6=this[_0xf210f5(0x3aa)][_0xf210f5(0x2c0)](_0x4ed143);_0x46b1d6||(_0x46b1d6=new Map(),this['_model'][_0xf210f5(0x283)](_0x4ed143,_0x46b1d6));let _0x511137=_0x46b1d6[_0xf210f5(0x2c0)](_0x5e5c41);return _0x511137||(_0x511137=new Map(),_0x46b1d6[_0xf210f5(0x283)](_0x5e5c41,_0x511137)),_0x511137;}[_0x4d0853(0x2a6)](_0x506840,_0x2bb152,_0x2377b6,_0x2555cf){const _0x2adb99=_0x4d0853;this['_ensurePivotMap'](_0x506840,_0x2bb152)[_0x2adb99(0x283)](_0x2377b6,_0x2555cf);}[_0x4d0853(0xaf)](_0x27e951,_0x26ec55,_0xd9ec9e){const _0x246616=_0x4d0853;var _0x329c3d,_0x4610c3,_0x40d7be,_0x12f3b6;((_0x4610c3=(_0x329c3d=this[_0x246616(0x3aa)][_0x246616(0x2c0)](_0x27e951))==null?void 0x0:_0x329c3d[_0x246616(0x2c0)](_0x26ec55))==null?void 0x0:_0x4610c3['get'](_0xd9ec9e))&&((_0x12f3b6=(_0x40d7be=this[_0x246616(0x3aa)][_0x246616(0x2c0)](_0x27e951))==null?void 0x0:_0x40d7be[_0x246616(0x2c0)](_0x26ec55))==null||_0x12f3b6[_0x246616(0xca)](_0xd9ec9e));}['_updatePivotTableInstanceCache'](_0x1618b3,_0x4203a8){const _0x548c16=_0x4d0853;this['_pivotTableInstanceCache'][_0x548c16(0x283)](_0x1618b3,_0x4203a8);}['_deletePivotTableInstanceCache'](_0x35b96a){const _0x2c1729=_0x4d0853;this[_0x2c1729(0x390)][_0x2c1729(0xca)](_0x35b96a);}[_0x4d0853(0x151)](_0x394b33,_0x3f120a){const _0x38376b=_0x4d0853;let _0x571621=this[_0x38376b(0x2d9)][_0x38376b(0x2c0)](_0x394b33);_0x571621||(_0x571621=new Map(),this[_0x38376b(0x2d9)]['set'](_0x394b33,_0x571621));let _0x2fcc62=_0x571621[_0x38376b(0x2c0)](_0x3f120a);return _0x2fcc62||(_0x2fcc62=new Map(),_0x571621['set'](_0x3f120a,_0x2fcc62)),_0x2fcc62;}[_0x4d0853(0x2f5)](_0xad1ee2){const _0x201a0c=_0x4d0853,{unitId:_0x325f81,subUnitId:_0x256c95,pivotTableId:_0xdab44b,pivotTableConfig:_0x4d7bd1,collectionConfig:_0x2ea9c7}=_0xad1ee2,_0x39443c={'unitId':_0x325f81,'subUnitId':_0x256c95,'oldSubUnitId':_0x256c95,'pivotTableId':_0xdab44b,'pivotTableConfig':_0x4d7bd1,'collectionConfig':_0x2ea9c7};this[_0x201a0c(0x304)]['executeCommand'](_0x47ac7e['id'],_0x39443c,{'onlyLocal':!0x0});}[_0x4d0853(0xa0)](_0x482325,_0x363873,_0x1b1d94,_0x2b8cee,_0x34e044,_0x13b59e,_0x4db992,_0xa429f9=!0x1){const _0x530364=_0x4d0853;var _0x151f74;this[_0x530364(0x304)][_0x530364(0x28d)](_0x250854['id'],{'single':{'unitId':_0x482325,'subUnitId':_0x363873,'type':_0x1b1d94,'pivotTableId':_0x2b8cee,'view':_0x34e044,'pivotConfig':_0x13b59e},'collectionConfig':{[_0x482325]:_0x4db992}},{'onlyLocal':!0x0});const _0x504310=!!((_0x151f74=this['getPivotTableInstance'](_0x2b8cee))!=null&&_0x151f74[_0x530364(0x2c9)]()),_0x6dfe26=this['getPivotTableConfig'](_0x482325,_0x363873,_0x2b8cee);_0x6dfe26&&this['updateViewData']({'view':_0x34e044,'pivotTableId':_0x2b8cee,'textInfo':this['getTextInfo'](),'isEmpty':_0x504310,'targetCellInfo':_0x6dfe26[_0x530364(0x2a0)]},_0xa429f9);}[_0x4d0853(0x1d2)](_0x11aecf,_0x57b380){const _0x56b108=_0x4d0853,{targetCellInfo:_0x31809f,pivotTableId:_0x35ac4b}=_0x11aecf,{unitId:_0x38f81e,subUnitId:_0xce5ba5}=_0x31809f,_0x355ae2=this[_0x56b108(0x151)](_0x38f81e,_0xce5ba5),_0x501062=_0x355ae2[_0x56b108(0x2c0)](_0x35ac4b);let _0xc3053a,_0x2f2f6f;_0x501062&&(_0xc3053a=_0x501062[_0x56b108(0x223)],_0x2f2f6f=_0x501062[_0x56b108(0x213)]);const {rangesCache:_0x1af563,matrix:_0x24d8d4}=_0x3525d0(_0x11aecf);_0x355ae2['set'](_0x35ac4b,{'rangeCache':_0x1af563,'matrix':_0x24d8d4,'oldMatrix':_0x2f2f6f,'oldRangeCache':_0xc3053a}),_0x57b380||this[_0x56b108(0x2c4)][_0x56b108(0x338)]({'unitId':_0x38f81e,'subUnitId':_0xce5ba5,'pivotTableId':_0x35ac4b});}[_0x4d0853(0x381)](_0xbcaa8,_0x6cfa4f,_0x46051c,_0x59543f,_0x58f577){const _0x4a1f17=_0x4d0853;this[_0x4a1f17(0x2a6)](_0xbcaa8,_0x6cfa4f,_0x46051c,_0x58f577),this[_0x4a1f17(0x18f)](_0x46051c,_0x59543f);}[_0x4d0853(0x130)](_0x56e817,_0x21ed34,_0x330d53){const _0x237c46=_0x4d0853,_0x2bbb08=this['getDataFieldManager'](_0x56e817);_0x2bbb08[_0x237c46(0x2d7)](_0x330d53)[_0x237c46(0x35d)](_0x2a3d32=>{const _0xb17480=_0x237c46;_0x2bbb08[_0xb17480(0x1ca)](_0x2a3d32);}),this[_0x237c46(0x19f)](_0x56e817,_0x330d53),this[_0x237c46(0xaf)](_0x56e817,_0x21ed34,_0x330d53),this[_0x237c46(0x31a)](_0x330d53);}[_0x4d0853(0x1db)](_0x38bed4,_0x30d357,_0x22a32c,_0x539a67){this['_updateModelCache'](_0x38bed4,_0x30d357,_0x22a32c,_0x539a67);}['getPivotTableConfig'](_0x143a3a,_0x5163f4,_0x3dc234){const _0x3f8d8e=_0x4d0853;var _0xf42c6d,_0x4c816a;const _0x4473e5=(_0x4c816a=(_0xf42c6d=this['_model']['get'](_0x143a3a))==null?void 0x0:_0xf42c6d[_0x3f8d8e(0x2c0)](_0x5163f4))==null?void 0x0:_0x4c816a[_0x3f8d8e(0x2c0)](_0x3dc234);if(_0x4473e5)return _0x4473e5;}[_0x4d0853(0x29c)](_0x1fb4e2,_0x310773,_0x22b5e8){const _0x47047e=_0x4d0853;var _0x45e9ba,_0x1f8ea8;const _0x15eebf=(_0x1f8ea8=(_0x45e9ba=this[_0x47047e(0x3aa)][_0x47047e(0x2c0)](_0x1fb4e2))==null?void 0x0:_0x45e9ba[_0x47047e(0x2c0)](_0x310773))==null?void 0x0:_0x1f8ea8['get'](_0x22b5e8);if(_0x15eebf)return _0x15eebf[_0x47047e(0x360)];}[_0x4d0853(0xfe)](_0x2a7b48){const _0x520a5d=_0x4d0853;return this['_pivotTableInstanceCache'][_0x520a5d(0x2c0)](_0x2a7b48);}[_0x4d0853(0x3ae)](_0x2a46b0){const _0x419433=_0x4d0853;this[_0x419433(0x3aa)][_0x419433(0xca)](_0x2a46b0);const _0x56dec3=this[_0x419433(0x1e4)][_0x419433(0x2c0)](_0x2a46b0);_0x56dec3&&(_0x56dec3['dispose'](),this['_dataFieldManagerCollection'][_0x419433(0xca)](_0x2a46b0)),this[_0x419433(0x2d9)]['delete'](_0x2a46b0),this[_0x419433(0xfc)]['forEach'](_0x46c3ad=>{_0x46c3ad['deleteUnitId'](_0x2a46b0);});}['addCollectionByJSON'](_0x374b9e,_0x71dae3,_0x455abf,_0x52fb70){const _0x36254e=_0x4d0853;return this[_0x36254e(0x366)](_0x455abf[_0x36254e(0x358)])['addCollectionByJSON'](_0x374b9e,_0x71dae3,_0x455abf,_0x52fb70);}[_0x4d0853(0xdc)](_0x11c01d){const _0x103810=_0x4d0853;return this[_0x103810(0x366)](_0x11c01d[_0x103810(0x358)])['createCollectionWithDataRange'](_0x11c01d);}[_0x4d0853(0x189)](_0x202c1f,_0x163e23,_0xd984f4){const _0x58363b=_0x4d0853;this['getDataFieldManager'](_0xd984f4[_0x58363b(0x358)])['refreshData'](_0x202c1f,_0x163e23,_0xd984f4);}[_0x4d0853(0x233)](_0x654e61,_0x206beb){const _0x3d9816=_0x4d0853;this[_0x3d9816(0x366)](_0x654e61)[_0x3d9816(0x1ca)](_0x206beb);}[_0x4d0853(0x19f)](_0x5df526,_0x37566e){const _0x3277bf=_0x4d0853;this[_0x3277bf(0x366)](_0x5df526)[_0x3277bf(0x3a9)](_0x37566e);}[_0x4d0853(0x193)](_0x384270,_0x2e814c){const _0x4e523c=_0x4d0853;var _0x541138;return(_0x541138=this[_0x4e523c(0x3aa)][_0x4e523c(0x2c0)](_0x384270))==null?void 0x0:_0x541138[_0x4e523c(0x2c0)](_0x2e814c);}['getTargetByPivotId'](_0x56d0c0){const _0x1e9dd9=_0x4d0853;for(const [_0x3a002c,_0xa2b90f]of this[_0x1e9dd9(0x3aa)][_0x1e9dd9(0x255)]())for(const [_0x382e10,_0xf0e5d2]of _0xa2b90f[_0x1e9dd9(0x255)]())if(_0xf0e5d2[_0x1e9dd9(0x162)](_0x56d0c0))return{'unitId':_0x3a002c,'subUnitId':_0x382e10};return null;}['sideEffectUpdateWorkerCache'](_0x134895,_0x12d7f3,_0x4336b2,_0x1e691a){const _0x19471b=_0x4d0853,_0x45d4e9=this['_ensureViewDataMap'](_0x134895,_0x12d7f3);_0x1e691a?_0x45d4e9[_0x19471b(0x283)](_0x4336b2,_0x1e691a):_0x45d4e9['delete'](_0x4336b2),this[_0x19471b(0x2c4)][_0x19471b(0x338)]({'unitId':_0x134895,'subUnitId':_0x12d7f3,'pivotTableId':_0x4336b2});}[_0x4d0853(0x301)](){super['dispose']();}[_0x4d0853(0x27b)](_0x1982b1,_0x56029b,_0x2e6562){const _0x99bc8d=_0x4d0853;var _0x7d7ad6,_0x3902db;const _0x695dac=(_0x3902db=(_0x7d7ad6=this['_viewData'][_0x99bc8d(0x2c0)](_0x1982b1))==null?void 0x0:_0x7d7ad6[_0x99bc8d(0x2c0)](_0x56029b))==null?void 0x0:_0x3902db[_0x99bc8d(0x2c0)](_0x2e6562);return _0x695dac||null;}['addDirtyPivotTable'](_0x2b5b2d){this['updateDirtyPivotTable'](_0x2b5b2d);}[_0x4d0853(0x25b)](_0x32eea0){const _0x49836f=_0x4d0853,{token:_0x173792,unitId:_0xd08d2,subUnitId:_0x127e6a}=_0x32eea0,_0x202f3e=_0xd08d2+'-'+_0x127e6a+'-'+_0x173792;this['_queryingMap']['get'](_0x202f3e)&&clearTimeout(this[_0x49836f(0x1f3)][_0x49836f(0x2c0)](_0x202f3e));const _0x20e5bc=setTimeout(()=>{const _0x248a6c=_0x49836f;this[_0x248a6c(0x34f)](_0x32eea0),this[_0x248a6c(0x1f3)][_0x248a6c(0xca)](_0x202f3e);},_0x2101e3);this[_0x49836f(0x1f3)][_0x49836f(0x283)](_0x202f3e,_0x20e5bc);}['queryDirtyPivotTable'](_0x100bf6){const _0x577d16=_0x4d0853,{unitId:_0x516e03,subUnitId:_0x308d6e,token:_0x5077f2,type:_0x32c75a,pivotConfig:_0x5230ef}=_0x100bf6,_0x15ea6b=this[_0x577d16(0xfe)](_0x5077f2),_0xa4bd9b=_0x15ea6b==null?void 0x0:_0x15ea6b[_0x577d16(0x1ab)](),_0x2ce85d=_0x5230ef!=null?_0x5230ef:this[_0x577d16(0xf6)](_0x516e03,_0x308d6e,_0x5077f2);_0x2ce85d&&(_0x2ce85d[_0x577d16(0x2c9)]=!!(_0x15ea6b!=null&&_0x15ea6b[_0x577d16(0x2c9)]())),(_0xa4bd9b||_0x32c75a===_0x496a39[_0x577d16(0x18a)])&&this['updateView'](_0x516e03,_0x308d6e,_0x32c75a,_0x5077f2,_0xa4bd9b,_0x2ce85d,this[_0x577d16(0x366)](_0x516e03)[_0x577d16(0x172)]());}[_0x4d0853(0x172)](_0x5b5b0e){const _0x3eed0b=_0x4d0853,_0x5d769b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x5b5b0e)&&(_0x5d769b[_0x3eed0b(0x28a)][_0x5b5b0e]=this[_0x3eed0b(0x366)](_0x5b5b0e)['toJSON']()),this['_model'][_0x3eed0b(0x2c0)](_0x5b5b0e)){_0x5d769b['pivotTableConfigs'][_0x5b5b0e]={};const _0x5e87d=this[_0x3eed0b(0x3aa)][_0x3eed0b(0x2c0)](_0x5b5b0e);_0x5e87d!=null&&_0x5e87d['size']&&[..._0x5e87d[_0x3eed0b(0x2a2)]()][_0x3eed0b(0x35d)](_0x22fd87=>{const _0x5150bd=_0x3eed0b,_0x428e5d=_0x5e87d['get'](_0x22fd87);_0x428e5d!=null&&_0x428e5d[_0x5150bd(0x25f)]&&(_0x5d769b['pivotTableConfigs'][_0x5b5b0e][_0x22fd87]={},[..._0x428e5d[_0x5150bd(0x2a2)]()][_0x5150bd(0x35d)](_0x257ed8=>{const _0x1cda25=_0x5150bd,_0x419879=_0x428e5d[_0x1cda25(0x2c0)](_0x257ed8);_0x419879&&(_0x5d769b[_0x1cda25(0x28b)][_0x5b5b0e][_0x22fd87][_0x257ed8]=_0x419879);}));});}return _0x5d769b;}['fromJSON'](_0x14ab81){const _0xfc478b=_0x4d0853;var _0x45da78;const {dataFieldManagerConfig:_0x19d34d,pivotTableConfigs:_0x54547d}=_0x14ab81;_0x19d34d&&Object['keys'](_0x19d34d)[_0xfc478b(0x35d)](_0x424f81=>{const _0xce4e95=_0xfc478b;this['getDataFieldManager'](_0x424f81)[_0xce4e95(0x376)](_0x19d34d[_0x424f81]);});const _0x5b12d4=[];if(_0x54547d){const _0x65daf0=(_0x45da78=this[_0xfc478b(0x23f)][_0xfc478b(0x2c0)](_0x26267f['IConfigService'])[_0xfc478b(0xe1)](_0x1cf072[_0xfc478b(0x2bd)]))!=null?_0x45da78:{},{ls:_0x1210e1,pbk:_0x1613b7}=_0x65daf0,_0x7a6d85=_0x3b3186(_0x14a7c4,_0x1210e1,_0x1613b7)['count'];Object[_0xfc478b(0x2a2)](_0x54547d)['forEach'](_0xfd505=>{const _0xf968d9=_0xfc478b;let _0x1bee5f=0x0;const _0x3b1198=_0x54547d[_0xfd505];Object[_0xf968d9(0x2a2)](_0x3b1198)[_0xf968d9(0x35d)](_0x3ec94b=>{const _0x201ab4=_0xf968d9,_0x1469a1=_0x3b1198[_0x3ec94b];Object[_0x201ab4(0x2a2)](_0x1469a1)[_0x201ab4(0x35d)](_0x19a982=>{const _0x3c9683=_0x201ab4,_0x57e5d6=_0x1469a1[_0x19a982];if(_0x57e5d6){if(_0x1bee5f>=_0x7a6d85)return;_0x1bee5f++;const _0x14bf3c=this[_0x3c9683(0x366)](_0xfd505),_0x557881=_0x14bf3c[_0x3c9683(0x144)][_0x19a982],_0x5db032=_0x557881[_0x3c9683(0x314)]();let _0x40c2af=0x0;const _0x38f97d=[];for(const _0x16ca51 of _0x5db032){const _0x581215=_0x557881[_0x3c9683(0x307)](_0x16ca51);if(_0x1f569c[_0x3c9683(0x2ea)](_0x581215)){const _0x33f217=_0x581215['getOriginFieldId'](),_0x5d1d63=_0x557881[_0x3c9683(0x307)](_0x33f217);_0x5d1d63&&_0x38f97d[_0x3c9683(0x269)]([_0x581215,_0x5d1d63]);continue;}_0x14bf3c['refreshDataField'](_0x16ca51,_0x57e5d6['sourceRangeInfo'],_0x40c2af),_0x40c2af++;}_0x38f97d[_0x3c9683(0x35d)](([_0x4f6520,_0x2bda37])=>{const _0x280d7a=_0x3c9683;_0x4f6520[_0x280d7a(0x2bf)](_0x2bda37);});const _0x12e366=new _0x1f569c[(_0x3c9683(0x372))](_0x557881);_0x12e366['fromJSON'](_0x57e5d6[_0x3c9683(0x360)]),this[_0x3c9683(0x381)](_0xfd505,_0x3ec94b,_0x19a982,_0x12e366,_0x57e5d6);const _0x8a4165=_0x12e366[_0x3c9683(0x1ab)]();_0x5b12d4[_0x3c9683(0x269)]({'unitId':_0xfd505,'subUnitId':_0x3ec94b,'pivotTableId':_0x19a982,'view':_0x8a4165[_0x3c9683(0x172)](),'pivotConfig':_0x57e5d6,'type':_0x496a39[_0x3c9683(0x196)]});const _0x30328c=!!_0x12e366['isEmpty'](),_0x3db03b={'view':_0x8a4165,'pivotTableId':_0x19a982,'textInfo':this[_0x3c9683(0xe8)](),'isEmpty':_0x30328c,'targetCellInfo':_0x57e5d6[_0x3c9683(0x2a0)]};this[_0x3c9683(0x1d2)](_0x3db03b,!0x1);}});});});}_0x19d34d&&Object[_0xfc478b(0x2a2)](_0x19d34d)['forEach'](_0x4b20b6=>{const _0x7e2a5a=_0xfc478b,_0x5e7a37=this[_0x7e2a5a(0x366)](_0x4b20b6);this[_0x7e2a5a(0x108)][_0x7e2a5a(0x338)](_0x5e7a37[_0x7e2a5a(0x144)]);}),this['_commandService'][_0xfc478b(0x28d)](_0x250854['id'],{'batch':_0x5b12d4,'collectionConfig':_0x19d34d},{'onlyLocal':!0x0});}[_0x4d0853(0xce)](){const _0x1a3a53=_0x4d0853;this[_0x1a3a53(0x2db)](this[_0x1a3a53(0x1f2)][_0x1a3a53(0x229)]({'toJson':_0x4665a4=>JSON[_0x1a3a53(0x2ac)](this['toJSON'](_0x4665a4)),'parseJson':_0xd8a78f=>{const _0x4f39ed=_0x1a3a53;if(!_0xd8a78f)return{};try{return JSON[_0x4f39ed(0x17d)](_0xd8a78f);}catch{return{};}},'businesses':[_0x26267f[_0x1a3a53(0xef)][_0x1a3a53(0x1b2)]],'pluginName':_0x18b3b4,'onLoad':(_0x5b284a,_0x431d5a)=>{const _0x1e4ac5=_0x1a3a53;this[_0x1e4ac5(0x376)](_0x431d5a);},'onUnLoad':_0x198a23=>{const _0x4d35c6=_0x1a3a53;this[_0x4d35c6(0x3ae)](_0x198a23);}}));}},_0x2a0a80['SheetsPivotDataSourceModel']=_0x5987b1([_0xe3f58(0x0,_0x26267f['Inject'](_0x26267f[_0x4d0853(0xe4)])),_0xe3f58(0x1,_0x26267f[_0x4d0853(0x22c)]),_0xe3f58(0x2,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x1ce)])),_0xe3f58(0x3,_0x26267f[_0x4d0853(0xa9)]),_0xe3f58(0x4,_0x26267f[_0x4d0853(0x284)]),_0xe3f58(0x5,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x369)]))],_0x2a0a80[_0x4d0853(0x2bb)]);const _0x5e4249={0x0:{0x0:{'v':'filter','s':_0x11e45e}},0x2:{0x1:{'v':'','s':_0x11e45e},0x2:{'v':'','s':_0x11e45e},0x3:{'v':_0x4d0853(0x10a),'s':_0x11e45e},0x4:{'v':'','s':_0x11e45e},0x5:{'v':'','s':_0x11e45e}},0x3:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0x4:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0x5:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0x6:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0x7:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0x8:{0x0:{'v':'row','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':_0x4d0853(0x12d),'s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0x9:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0xa:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0xb:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0xc:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}},0xd:{0x0:{'v':'','s':_0x11e45e},0x1:{'v':'','s':_0x15d653},0x2:{'v':'','s':_0x15d653},0x3:{'v':'','s':_0x15d653},0x4:{'v':'','s':_0x15d653},0x5:{'v':'','s':_0x15d653}}},_0x4954e5={'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':[]},_0x1b4b42=(_0x45b27d,_0x3ced06)=>{const _0x2203ef=_0x4d0853,_0x4ad48c=new _0x26267f[(_0x2203ef(0x110))](),_0xd52bff=new _0x26267f[(_0x2203ef(0x110))](_0x5e4249),{row:_0x45014f,col:_0x39c47e}=_0x3ced06;_0xd52bff[_0x2203ef(0x274)]((_0x2af9d8,_0xcb9980,_0x204c39)=>{const _0x2963eb=_0x2203ef;let _0x4457fa='';_0x204c39['v']===_0x2963eb(0x14c)?_0x4457fa=_0x45b27d[_0x2963eb(0x14c)]:_0x204c39['v']===_0x2963eb(0x396)?_0x4457fa=_0x45b27d[_0x2963eb(0x396)]:_0x204c39['v']===_0x2963eb(0x10a)?_0x4457fa=_0x45b27d[_0x2963eb(0x10a)]:_0x204c39['v']===_0x2963eb(0x12d)&&(_0x4457fa=_0x45b27d[_0x2963eb(0x12d)]),_0x4ad48c[_0x2963eb(0x315)](_0x2af9d8+_0x45014f,_0xcb9980+_0x39c47e,{..._0x204c39,'v':_0x4457fa});});const _0x3d178c=_0x26267f['Tools'][_0x2203ef(0x322)](_0x4954e5);return Object[_0x2203ef(0x2a2)](_0x4954e5)['forEach'](_0x1381b3=>{const _0x57ebde=_0x2203ef;_0x3d178c[_0x1381b3]=_0x4954e5[_0x1381b3]['map'](_0x4c74b4=>({..._0x4c74b4,'startRow':_0x4c74b4[_0x57ebde(0x1ee)]+_0x45014f,'endRow':_0x4c74b4[_0x57ebde(0x27a)]+_0x45014f,'startColumn':_0x4c74b4[_0x57ebde(0x361)]+_0x39c47e,'endColumn':_0x4c74b4[_0x57ebde(0xc3)]+_0x39c47e}));}),{'matrixCache':_0x4ad48c,'rangesCache':_0x3d178c};};function _0x2631cf(_0x38fd57,_0x42d130){const _0x3429bc=_0x4d0853;let _0x2e0b55='';const _0x19db77=this['getTextInfo']();switch(_0x42d130){case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0xf5)]:_0x2e0b55=_0x19db77[_0x3429bc(0x2c7)]+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0x23b)]:_0x2e0b55=_0x19db77[_0x3429bc(0xd3)]+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)]['countNums']:_0x2e0b55=_0x19db77['sheets-pivot.countNumsName']+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0x349)]:_0x2e0b55=_0x19db77[_0x3429bc(0x268)]+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0xd7)]:_0x2e0b55=_0x19db77[_0x3429bc(0x2fb)]+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0x1d3)]:_0x2e0b55=_0x19db77[_0x3429bc(0x1eb)]+_0x38fd57;break;case _0x1f569c['PivotSubtotalTypeEnum'][_0x3429bc(0x14b)]:_0x2e0b55=_0x19db77[_0x3429bc(0x2e3)]+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0x19a)]:_0x2e0b55=_0x19db77[_0x3429bc(0x2b0)]+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0x2be)]:_0x2e0b55=_0x19db77[_0x3429bc(0x383)]+_0x38fd57;break;case _0x1f569c['PivotSubtotalTypeEnum'][_0x3429bc(0x3a7)]:_0x2e0b55=_0x19db77[_0x3429bc(0x1cd)]+_0x38fd57;break;case _0x1f569c[_0x3429bc(0x30f)][_0x3429bc(0x1e8)]:_0x2e0b55=_0x19db77[_0x3429bc(0x1dd)]+_0x38fd57;break;default:_0x2e0b55=_0x38fd57;break;}return _0x2e0b55;}function _0x22a3e7(_0x2a9680,_0x42f417,_0x3a49d8,_0x3d056b,_0x4109ad){const _0x437d67=_0x4d0853;var _0x2da394,_0x2108b2,_0x18ab34,_0x527c53,_0xa7e805;const _0x3f4253=_0x26267f['cellToRange'](_0x2a9680,_0x42f417),{rangesInfo:_0x3ebdb7,areaInfo:_0x18b509,headerMap:_0x49029e}=_0x4109ad;if(!_0x3ebdb7||!_0x18b509||!_0x49029e)return;const _0x375be4=Object[_0x437d67(0x2a2)](_0x3ebdb7)[_0x437d67(0x14e)](_0x4c78e8=>_0x3ebdb7[_0x4c78e8][_0x437d67(0x26c)](_0x3af0db=>_0x26267f[_0x437d67(0x15a)][_0x437d67(0x231)](_0x3af0db,_0x3f4253))),_0x4c481d=_0x18b509;let _0x3dbf61,_0xc8fc39,_0x1d32af;if(_0x375be4===_0x437d67(0xed))_0x3dbf61=(_0x2da394=_0x4c481d==null?void 0x0:_0x4c481d[_0x437d67(0x1b8)])==null?void 0x0:_0x2da394[_0x2a9680],_0xc8fc39=(_0x2108b2=_0x49029e==null?void 0x0:_0x49029e[_0x437d67(0xcb)])==null?void 0x0:_0x2108b2[_0x42f417],_0x1d32af=_0xc8fc39==null?void 0x0:_0xc8fc39['tableFieldId'];else{if(_0x375be4===_0x437d67(0x323))_0x3dbf61=(_0x18ab34=_0x4c481d==null?void 0x0:_0x4c481d[_0x437d67(0x13c)])==null?void 0x0:_0x18ab34[_0x42f417],_0xc8fc39=(_0x527c53=_0x49029e['colHeaderMap'])==null?void 0x0:_0x527c53[_0x2a9680+0x1+_0x42f417-_0x3ebdb7[_0x437d67(0x323)][0x0][_0x437d67(0x361)]],_0x1d32af=_0xc8fc39==null?void 0x0:_0xc8fc39[_0x437d67(0x384)];else{if(_0x375be4==='cornerRanges')_0x3dbf61=(_0xa7e805=_0x4c481d==null?void 0x0:_0x4c481d['cornerInfo'])==null?void 0x0:_0xa7e805[_0x42f417],_0x1d32af=_0x3dbf61==null?void 0x0:_0x3dbf61[_0x437d67(0x384)];else{if(_0x375be4===_0x437d67(0xf3)){const _0x453218=_0x3a49d8==null?void 0x0:_0x3a49d8['fi'];_0x453218!==void 0x0&&(_0x1d32af=_0x3d056b[_0x437d67(0x24c)](_0x453218));}}}}return{'filterId':_0x1d32af,'info':_0x3dbf61,'data':_0x3a49d8,'headerInfo':_0xc8fc39};}function _0x4daa48(_0x1c1f50,_0x368841,_0x414796){const _0x32e096=_0x4d0853,_0x2e3aca=_0x1c1f50[_0x32e096(0xbc)],_0x155306=_0x2e3aca['getFieldIds'](),_0x20b84d=new Set();_0x1c1f50[_0x32e096(0x295)](_0x3c00d5=>{const _0x16e9db=_0x32e096;_0x20b84d[_0x16e9db(0x141)](_0x3c00d5['dataFieldId']);});const _0x18231a=_0x155306[_0x32e096(0xb9)](_0x1aa0e6=>{const _0x298cbd=_0x32e096,_0x2e3774=_0x2e3aca[_0x298cbd(0x307)](_0x1aa0e6);return{'checked':_0x20b84d[_0x298cbd(0x162)](_0x1aa0e6),'dataFieldId':_0x2e3774['id'],'id':_0x2e3774['id'],'name':_0x2e3aca[_0x298cbd(0xa2)](_0x2e3774['id']),'type':_0x2e3774[_0x298cbd(0x280)](),'pivotTableId':_0x368841};}),_0x2d8c22=[];_0x1c1f50[_0x32e096(0x1e1)](_0x1f569c[_0x32e096(0xa6)][_0x32e096(0x210)],_0x5cd144=>{const _0x54cfbe=_0x32e096;_0x2d8c22[_0x54cfbe(0x269)]({'dataFieldId':_0x5cd144[_0x54cfbe(0x139)],'tableFieldId':_0x5cd144[_0x54cfbe(0xcd)](),'displayName':_0x5cd144[_0x54cfbe(0xa2)]()});});const _0x1eacb4=[];_0x1c1f50[_0x32e096(0x1e1)](_0x1f569c[_0x32e096(0xa6)]['Column'],_0x34dcaa=>{const _0xdec99d=_0x32e096;_0x1eacb4['push']({'dataFieldId':_0x34dcaa[_0xdec99d(0x139)],'tableFieldId':_0x34dcaa[_0xdec99d(0xcd)](),'displayName':_0x34dcaa[_0xdec99d(0xa2)]()});});const _0x23cf23=[];if(_0x1c1f50[_0x32e096(0x1e1)](_0x1f569c[_0x32e096(0xa6)][_0x32e096(0x29e)],_0x446b34=>{const _0x256772=_0x32e096;_0x23cf23[_0x256772(0x269)]({'dataFieldId':_0x446b34[_0x256772(0x139)],'tableFieldId':_0x446b34[_0x256772(0xcd)](),'displayName':_0x446b34['getDisplayName'](),'format':_0x446b34['getFormat'](),'subTotalType':_0x446b34[_0x256772(0x224)]()});}),_0x23cf23[_0x32e096(0x19c)]>0x1){const _0x2e2d48=_0x1c1f50[_0x32e096(0x3a4)]();(_0x1c1f50[_0x32e096(0x2ec)]()?_0x1eacb4:_0x2d8c22)[_0x32e096(0x275)](_0x2e2d48,0x0,{'dataFieldId':'','tableFieldId':_0x32e096(0x1c6),'displayName':_0x32e096(0xd0)});}const _0x48285c=[];_0x1c1f50['iterateFieldByArea'](_0x1f569c[_0x32e096(0xa6)]['Filter'],_0x842eb8=>{const _0x4286f0=_0x32e096;_0x48285c[_0x4286f0(0x269)]({'dataFieldId':_0x842eb8['dataFieldId'],'tableFieldId':_0x842eb8[_0x4286f0(0xcd)](),'displayName':_0x842eb8['getDisplayName']()});});const _0x4fcc0a=_0x414796[_0x32e096(0x35a)];return{'sourceList':_0x18231a,'sourceRange':_0x4fcc0a,'rowFields':_0x2d8c22,'columnFields':_0x1eacb4,'valueFields':_0x23cf23,'filterFields':_0x48285c,'positionInfo':_0x414796[_0x32e096(0x2a0)]};}function _0x5ba72b(_0x29070f,_0xe56ed4,_0x55a26d='',_0x1b62d5={}){const _0x4a5cbe=_0x4d0853,_0x1b1a8a=_0x29070f[_0x4a5cbe(0x2c0)](_0x26267f['LocaleService']);for(const _0xe84ffc in _0xe56ed4)if(Object['prototype'][_0x4a5cbe(0x259)][_0x4a5cbe(0x299)](_0xe56ed4,_0xe84ffc)){const _0x3f611b=_0x55a26d?_0x55a26d+'.'+_0xe84ffc:_0xe84ffc;typeof _0xe56ed4[_0xe84ffc]==_0x4a5cbe(0x1af)&&_0xe56ed4[_0xe84ffc]!==null&&!Array['isArray'](_0xe56ed4[_0xe84ffc])?_0x5ba72b(_0x29070f,_0xe56ed4[_0xe84ffc],_0x3f611b,_0x1b62d5):_0x1b62d5[_0x3f611b]=_0x1b1a8a['t'](_0x3f611b);}return _0x1b62d5;}const _0x3c7733=_0x5b7bb5=>{const _0x345947=_0x4d0853;if(!_0x5b7bb5)return[];const {rowRanges:_0x314ef5,colRanges:_0x79992a,cornerRanges:_0x1e0e00,dataRanges:_0x24c0bb,pageRanges:_0x3eb3ce}=_0x5b7bb5,_0x26ae82=[..._0x79992a,..._0x314ef5,..._0x24c0bb,..._0x1e0e00]['filter'](_0xba318b=>_0xba318b[_0x345947(0x1ee)]>=0x0&&_0xba318b[_0x345947(0x361)]>=0x0&&_0xba318b[_0x345947(0x27a)]>=0x0&&_0xba318b[_0x345947(0xc3)]>=0x0);let _0x66303c=Number[_0x345947(0x128)],_0x3042ab=Number[_0x345947(0x247)],_0x4ace88=Number[_0x345947(0x128)],_0x1f12b5=Number[_0x345947(0x247)];for(let _0x1baceb=0x0;_0x1baceb<_0x26ae82[_0x345947(0x19c)];_0x1baceb++)_0x66303c=Math[_0x345947(0xd7)](_0x66303c,_0x26ae82[_0x1baceb][_0x345947(0x1ee)]),_0x3042ab=Math[_0x345947(0x349)](_0x3042ab,_0x26ae82[_0x1baceb]['endRow']),_0x4ace88=Math[_0x345947(0xd7)](_0x4ace88,_0x26ae82[_0x1baceb][_0x345947(0x361)]),_0x1f12b5=Math[_0x345947(0x349)](_0x1f12b5,_0x26ae82[_0x1baceb][_0x345947(0xc3)]);return[..._0x3eb3ce,{'startRow':_0x66303c,'endRow':_0x3042ab,'startColumn':_0x4ace88,'endColumn':_0x1f12b5}];};function _0x3e04e0(_0x13287b,_0x3ae921){const _0x2a655c=_0x4d0853,_0x212b20=_0x3ae921[_0x2a655c(0x352)][_0x2a655c(0x343)],{pivotTableId:_0x51e3a1,unitId:_0x10822c,subUnitId:_0x59de3a}=_0x3ae921;if(!_0x212b20)return;const _0x5ed423=_0x13287b[_0x2a655c(0x2c0)](_0x2a0a80[_0x2a655c(0x2bb)]),_0x314538=_0x5ed423[_0x2a655c(0xfe)](_0x51e3a1),_0x4b1a95=_0x5ed423[_0x2a655c(0xf6)](_0x10822c,_0x59de3a,_0x51e3a1);if(!_0x314538||!_0x4b1a95)return;const _0x44a929=_0x314538[_0x2a655c(0x177)](_0x212b20[_0x2a655c(0x2da)]);if(!(_0x44a929!=null&&_0x44a929[_0x2a655c(0x19c)]))return;const _0x3e651f=_0x4b1a95['sourceRangeInfo'],{unitId:_0x5e625c,subUnitId:_0x7474e6,range:_0x1773d8}=_0x3e651f;let _0x4837ae=0x0;const _0x4bf7a2=_0x314538[_0x2a655c(0xbc)][_0x2a655c(0x314)]()[_0x2a655c(0x21a)]((_0x1b8b4e,_0x57507b)=>{const _0x1c73ab=_0x2a655c;var _0x4339c6;const _0x1c6242=(_0x4339c6=_0x314538[_0x1c73ab(0x2ad)](_0x57507b))==null?void 0x0:_0x4339c6['getformat']();return _0x1c6242&&(_0x1b8b4e[String(_0x4837ae)]=_0x1c6242),_0x4837ae++,_0x1b8b4e;},{});return{'indexes':_0x44a929,'range':_0x1773d8,'sourceUnitId':_0x5e625c,'sourceSubUnitId':_0x7474e6,'formatMap':_0x4bf7a2};}function _0x196894(_0x4e7ecb,_0x5d9882){const _0x200cff=_0x4d0853;if(!_0x4e7ecb||!_0x5d9882)return!0x0;const _0x33c08d=_0x1cf072[_0x200cff(0x2e6)](_0x26b7db,_0x336ad0),_0x48bec7=new Function('return\x20'+_0x33c08d)()(_0x4e7ecb,_0x5d9882)[_0x200cff(0x265)],_0x166857=_0x1cf072[_0x200cff(0x1c5)](_0x48bec7,'sf',_0x5254ca);return!((_0x48bec7==null?void 0x0:_0x48bec7['rt'])===_0x1cf072[_0x200cff(0x146)][_0x200cff(0x2c6)]&&!_0x166857);}function _0x3b3186(_0x5cb8f8,_0x40e7c6,_0x1c98fc){const _0x3a052f=_0x4d0853,_0x2edbb5={'count':_0x5cb8f8,'timeValid':!0x1};if(!_0x40e7c6||!_0x1c98fc)return _0x2edbb5;const _0x1c4bad=_0x1cf072['unshiftString'](_0x26b7db,_0x336ad0),_0x414540=new Function(_0x3a052f(0x226)+_0x1c4bad)()(_0x40e7c6,_0x1c98fc);if(_0x414540!=null&&_0x414540['valid']){const _0x46f551=_0x414540[_0x3a052f(0x265)],_0x3332e2=_0x1cf072[_0x3a052f(0x1c5)](_0x46f551,'sf',_0x5254ca);return{'count':_0x1cf072[_0x3a052f(0xec)](_0x46f551,_0x3332e2,'ptn',_0x5cb8f8,_0x5cb8f8,0x0),'timeValid':_0x3332e2};}return _0x2edbb5;}function _0x540257(_0x2477ab,_0x5a65fe,_0x2224bf,_0x4292af){const _0xdf25df=_0x4d0853,_0x1aa858={'subUnitId':_0x2224bf,'unitId':_0x5a65fe,'cellValue':_0x15c6e7['generateNullCell'](_0x4292af)},_0x57b638=_0x15c6e7[_0xdf25df(0x256)](_0x2477ab,_0x1aa858);let _0x155d1c=!0x1;return new _0x26267f[(_0xdf25df(0x110))](_0x57b638[_0xdf25df(0x18d)])[_0xdf25df(0x274)]((_0x2d7534,_0x4661d4,_0x485152)=>{if(!_0x155d1c&&_0x485152&&(_0x485152['custom']||_0x485152['f']||_0x485152['p']||_0x485152['s']||_0x485152['si']||_0x485152['t']||_0x485152['v']))return _0x155d1c=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x15c6e7[_0xdf25df(0x33b)]['id'],'params':_0x57b638},'setRangeValueRedoMutation':{'id':_0x15c6e7[_0xdf25df(0x33b)]['id'],'params':_0x1aa858},'shouldClear':_0x155d1c};}function _0x37bee7(_0x17c8c8){const {row:_0x23d094,col:_0x5d2f60}=_0x17c8c8,_0x56cfe5={'startRow':_0x23d094,'endRow':_0x23d094,'startColumn':_0x5d2f60,'endColumn':_0x5d2f60},_0x59f984={'startRow':_0x23d094+0x2,'endRow':_0x23d094+0xe,'startColumn':_0x5d2f60,'endColumn':_0x5d2f60+0x6};return[_0x56cfe5,_0x59f984];}function _0x27a2f4(_0x3aa660,_0x558198,_0x509722){const _0x4964f5=_0x4d0853,{cornerView:_0x2608ac,rowView:_0x381539,colView:_0x49494e,pageView:_0x215046}=_0x3aa660,{row:_0x442130,col:_0x2bce52}=_0x558198;if(_0x509722)return{'rowCount':_0x635a8+_0x442130,'colCount':_0x3481ab+_0x2bce52};const _0x3328e8=_0x215046[_0x4964f5(0xb0)]>-0x1?_0x215046['lastRow']+0x1:0x0,_0x34ba4f=_0x215046[_0x4964f5(0x10f)]>-0x1?_0x215046[_0x4964f5(0x10f)]:0x0,_0x57f376=_0x442130+_0x3328e8+(_0x3328e8?0x1:0x0)+_0x2608ac[_0x4964f5(0x264)]+_0x381539['rowCount'],_0x517310=_0x2bce52+_0x34ba4f,_0xece69d=_0x2bce52+_0x2608ac[_0x4964f5(0xd8)]+_0x49494e['colCount'],_0x329dca=Math[_0x4964f5(0x349)](_0x517310,_0xece69d);return{'rowCount':_0x57f376,'colCount':_0x329dca};}function _0x426d50(_0xf6a88b,_0x3d8f22,_0x86adef,_0x40aa02){const _0x4a4358=_0x4d0853,{row:_0x51995e,col:_0x322a10,unitId:_0x4fb90c,subUnitId:_0xb5405a}=_0x86adef,_0x46d171=_0x27a2f4(_0x3d8f22,{'row':_0x51995e,'col':_0x322a10},_0x40aa02),_0x17ade9=_0xf6a88b[_0x4a4358(0x2c0)](_0x26267f['IUniverInstanceService']),_0x5e36f1=_0x15c6e7[_0x4a4358(0x324)](_0x17ade9,{'unitId':_0x4fb90c,'subUnitId':_0xb5405a}),_0x4410f6=[],_0x59ed37=[];if(!_0x5e36f1)return{'undos':_0x59ed37,'redos':_0x4410f6};const {worksheet:_0x2b791f}=_0x5e36f1,_0x5f2586=_0x2b791f['getRowCount'](),_0x1ed56a=_0x2b791f[_0x4a4358(0x2cf)]();return _0x5f2586<_0x46d171[_0x4a4358(0x264)]&&(_0x4410f6[_0x4a4358(0x269)]({'id':_0x15c6e7[_0x4a4358(0x248)]['id'],'params':{'unitId':_0x4fb90c,'subUnitId':_0xb5405a,'range':{'startRow':_0x5f2586,'endRow':_0x46d171[_0x4a4358(0x264)]-0x1,'startColumn':0x0,'endColumn':_0x1ed56a-0x1}}}),_0x59ed37[_0x4a4358(0x269)]({'id':_0x15c6e7[_0x4a4358(0x102)]['id'],'params':{'unitId':_0x4fb90c,'subUnitId':_0xb5405a,'range':{'startRow':_0x5f2586,'endRow':_0x46d171[_0x4a4358(0x264)]-0x1,'startColumn':0x0,'endColumn':_0x1ed56a-0x1}}})),_0x1ed56a<_0x46d171['colCount']&&(_0x4410f6[_0x4a4358(0x269)]({'id':_0x15c6e7[_0x4a4358(0x2b3)]['id'],'params':{'unitId':_0x4fb90c,'subUnitId':_0xb5405a,'range':{'startRow':0x0,'endRow':_0x5f2586-0x1,'startColumn':_0x1ed56a,'endColumn':_0x46d171['colCount']-0x1}}}),_0x59ed37['push']({'id':_0x15c6e7[_0x4a4358(0x22d)]['id'],'params':{'unitId':_0x4fb90c,'subUnitId':_0xb5405a,'range':{'startRow':0x0,'endRow':_0x5f2586-0x1,'startColumn':_0x1ed56a,'endColumn':_0x46d171[_0x4a4358(0xd8)]-0x1}}})),{'undos':_0x59ed37,'redos':_0x4410f6};}function _0x57600e(_0x13d21d){const _0x5698ac=_0x4d0853;let _0x25996c=0x0;for(let _0x582120=0x0;_0x582120<_0x13d21d['length'];_0x582120++){const _0x193667=_0x13d21d[_0x5698ac(0x24e)](_0x582120);_0x193667>=0x4e00&&_0x193667<=0x9fff||_0x193667>=0x3000&&_0x193667<=0x303f||_0x193667>=0xff00&&_0x193667<=0xffef?_0x25996c+=0x2:_0x25996c+=0x1;}return _0x25996c;}function _0xf03095(_0x1f733d,_0x1b3d4e,_0xa408bf,_0x7ebf02){const _0x24559b=_0x4d0853;var _0x23bf69,_0x5b8f4e,_0x2ceb79,_0x43b9ea;const {rowCount:_0x3a77ad,colCount:_0x1cf18a,headerMap:_0x53138c}=_0x1f733d,_0x34e6db=0x64,_0x302d15=Math[_0x24559b(0xd7)](_0x3a77ad,_0x34e6db),_0xd86e94=Math['min'](_0x1cf18a,_0x34e6db);let _0x3d78c4='',_0x5ee8e2=0x0;for(let _0x22f3f0=0x0;_0x22f3f0<_0x302d15;_0x22f3f0++)for(let _0x277bb5=0x0;_0x277bb5<_0xd86e94;_0x277bb5++){const _0x59d8d6={...(_0x5b8f4e=(_0x23bf69=_0x1f733d['data'])==null?void 0x0:_0x23bf69[_0x22f3f0])==null?void 0x0:_0x5b8f4e[_0x277bb5]},_0x5cc9b0=(_0x2ceb79=_0x53138c[_0x22f3f0])==null?void 0x0:_0x2ceb79[_0x24559b(0x384)],_0x6d9460=_0x7ebf02[_0x5cc9b0];let _0x4d2eb8=_0x1f733d[_0x24559b(0xdb)](_0x22f3f0,_0x277bb5);if(_0x59d8d6){const _0x33a759=_0xa408bf?_0x277bb5===0x0&&((_0x43b9ea=_0x1f733d[_0x24559b(0x29f)](_0x277bb5+0x1))==null?void 0x0:_0x43b9ea[_0x24559b(0x207)]):!0x1;_0x4d2eb8=_0x1da0d9(_0x59d8d6,_0x33a759,_0x6d9460,_0x1b3d4e);}if(_0x4d2eb8!==void 0x0){const _0x27bfe2=_0x57600e(String(_0x4d2eb8));_0x5ee8e2<_0x27bfe2&&(_0x3d78c4=String(_0x4d2eb8),_0x5ee8e2=_0x27bfe2);}}return _0x3d78c4;}function _0x4eff34(_0x1ac5c1){const _0x5898e1=_0x4d0853,{rowCount:_0x5a2f8b,colCount:_0x2b876d}=_0x1ac5c1;let _0x1ae32d='',_0x5bc9b0=0x0;for(let _0x45541e=_0x5a2f8b-0x1;_0x45541e>0x0&&_0x45541e>_0x5a2f8b-0x3;_0x45541e--)for(let _0x49a11f=0x0;_0x49a11f<_0x2b876d;_0x49a11f++){const _0x4e8c2e=_0x1ac5c1[_0x5898e1(0xdb)](_0x45541e,_0x49a11f);if(_0x4e8c2e!==void 0x0){const _0x3dff0e=String(_0x4e8c2e)[_0x5898e1(0x19c)];_0x5bc9b0<_0x3dff0e&&(_0x1ae32d=String(_0x4e8c2e),_0x5bc9b0=_0x3dff0e);}}return _0x1ae32d;}function _0x2bd7ec(_0xe2084){const _0x57ce92=_0x4d0853,{rowCount:_0x3ced33,colCount:_0x4a8a08}=_0xe2084;let _0x3874f0='',_0x579086=0x0;for(let _0x387660=0x0;_0x387660<_0x3ced33;_0x387660++)for(let _0x33405f=0x0;_0x33405f<_0x4a8a08;_0x33405f++){const _0x162c1e=_0xe2084['getValue'](_0x387660,_0x33405f);if(_0x162c1e!==void 0x0){const _0x24b300=String(_0x162c1e)[_0x57ce92(0x19c)];_0x579086<_0x24b300&&(_0x3874f0=String(_0x162c1e),_0x579086=_0x24b300);}}return _0x3874f0;}function _0xb59e83(_0x44c0a7,_0x4e3dbd){const _0x57b34d=_0x4d0853,{rowFields:_0x57e923,columnFields:_0x3da1a2,valueFields:_0x5db6af,filterFields:_0x67f9c8,dimension:_0x1d4965,measure:_0x1e96ec}=_0x4e3dbd;for(const _0x42cd70 of _0x57e923){const _0x3edd50=_0x1d4965[_0x42cd70];_0x3edd50&&_0x44c0a7[_0x57b34d(0x2ad)](_0x3edd50[_0x57b34d(0x139)])&&(_0x44c0a7['addFieldWithSourceId'](_0x3edd50[_0x57b34d(0x139)],_0x1f569c[_0x57b34d(0xa6)][_0x57b34d(0x210)],void 0x0,_0x42cd70),_0x3edd50[_0x57b34d(0x1bf)]&&_0x44c0a7[_0x57b34d(0xad)](_0x3edd50['id'],_0x3edd50[_0x57b34d(0x1bf)]),_0x3edd50[_0x57b34d(0x335)]&&_0x44c0a7[_0x57b34d(0x186)](_0x3edd50['id'],_0x3edd50[_0x57b34d(0x335)]),_0x3edd50[_0x57b34d(0x123)]&&_0x44c0a7[_0x57b34d(0x103)](_0x3edd50['id'],_0x3edd50[_0x57b34d(0x123)]));}for(const _0x160380 of _0x3da1a2){const _0x1bf8ab=_0x1d4965[_0x160380];_0x1bf8ab&&_0x44c0a7[_0x57b34d(0x2ad)](_0x1bf8ab[_0x57b34d(0x139)])&&(_0x44c0a7[_0x57b34d(0x20b)](_0x1bf8ab['dataFieldId'],_0x1f569c['PivotTableFiledAreaEnum']['Column'],void 0x0,_0x160380),_0x1bf8ab[_0x57b34d(0x335)]&&_0x44c0a7[_0x57b34d(0x186)](_0x1bf8ab['id'],_0x1bf8ab['sortInfo']),_0x1bf8ab[_0x57b34d(0x123)]&&_0x44c0a7['setLabelFilterInfo'](_0x1bf8ab['id'],_0x1bf8ab[_0x57b34d(0x123)]),_0x1bf8ab[_0x57b34d(0x1bf)]&&_0x44c0a7[_0x57b34d(0xad)](_0x1bf8ab['id'],_0x1bf8ab[_0x57b34d(0x1bf)]));}for(const _0x101d99 of _0x67f9c8){const _0x4123eb=_0x1d4965[_0x101d99];_0x4123eb&&_0x44c0a7[_0x57b34d(0x2ad)](_0x4123eb[_0x57b34d(0x139)])&&(_0x44c0a7['addFieldWithSourceId'](_0x4123eb[_0x57b34d(0x139)],_0x1f569c[_0x57b34d(0xa6)][_0x57b34d(0x12e)],void 0x0,_0x101d99),_0x4123eb[_0x57b34d(0x335)]&&_0x44c0a7[_0x57b34d(0x186)](_0x4123eb['id'],_0x4123eb[_0x57b34d(0x335)]),_0x4123eb[_0x57b34d(0x123)]&&_0x44c0a7[_0x57b34d(0x103)](_0x4123eb['id'],_0x4123eb[_0x57b34d(0x123)]),_0x4123eb[_0x57b34d(0x1bf)]&&_0x44c0a7['renameField'](_0x4123eb['id'],_0x4123eb['displayName']));}for(const _0x2a3cd4 of _0x5db6af){const _0x1c467e=_0x1e96ec[_0x2a3cd4];_0x1c467e&&_0x44c0a7[_0x57b34d(0x2ad)](_0x1c467e[_0x57b34d(0x139)])&&(_0x44c0a7[_0x57b34d(0x20b)](_0x1c467e[_0x57b34d(0x139)],_0x1f569c[_0x57b34d(0xa6)][_0x57b34d(0x29e)],void 0x0,_0x2a3cd4),_0x1c467e[_0x57b34d(0x2c3)]!==void 0x0&&_0x44c0a7[_0x57b34d(0x13a)](_0x2a3cd4,_0x1c467e[_0x57b34d(0x2c3)]),_0x1c467e[_0x57b34d(0x16a)]&&_0x44c0a7['setFieldFormat'](_0x2a3cd4,_0x1c467e[_0x57b34d(0x16a)]),_0x1c467e['displayName']&&_0x44c0a7[_0x57b34d(0xad)](_0x1c467e['id'],_0x1c467e[_0x57b34d(0x1bf)]));}const _0x244a75=_0x4e3dbd['valueFilter'];for(const {fieldId:_0x33a024,filterInfo:_0x414126}of _0x244a75)_0x44c0a7[_0x57b34d(0xac)](_0x33a024,_0x414126);}function _0x7dfe87(_0x4cd0b0,_0x137a8e){const _0x3c1c47=_0x4d0853,_0xb6ed00=[];_0x137a8e===_0x1f569c['PivotTableFiledAreaEnum'][_0x3c1c47(0x210)]&&_0x4cd0b0[_0x3c1c47(0x1e1)](_0x1f569c[_0x3c1c47(0xa6)][_0x3c1c47(0x210)],_0x577268=>{const _0x963f29=_0x3c1c47;_0xb6ed00['push'](_0x577268[_0x963f29(0xcd)]());}),_0x137a8e===_0x1f569c[_0x3c1c47(0xa6)]['Column']&&_0x4cd0b0[_0x3c1c47(0x1e1)](_0x1f569c[_0x3c1c47(0xa6)][_0x3c1c47(0x1ae)],_0x54abef=>{const _0x443f7f=_0x3c1c47;_0xb6ed00['push'](_0x54abef[_0x443f7f(0xcd)]());}),_0x137a8e===_0x1f569c[_0x3c1c47(0xa6)][_0x3c1c47(0x12e)]&&_0x4cd0b0['iterateFieldByArea'](_0x1f569c[_0x3c1c47(0xa6)][_0x3c1c47(0x12e)],_0x4f9c1b=>{const _0x5d989b=_0x3c1c47;_0xb6ed00[_0x5d989b(0x269)](_0x4f9c1b[_0x5d989b(0xcd)]());}),_0x137a8e===_0x1f569c[_0x3c1c47(0xa6)][_0x3c1c47(0x29e)]&&_0x4cd0b0[_0x3c1c47(0x1e1)](_0x1f569c[_0x3c1c47(0xa6)][_0x3c1c47(0x29e)],_0x20d501=>{const _0x4c9f25=_0x3c1c47;_0xb6ed00[_0x4c9f25(0x269)](_0x20d501[_0x4c9f25(0xcd)]());}),_0x137a8e===void 0x0&&_0x4cd0b0[_0x3c1c47(0x295)](_0x24711e=>{const _0xd71216=_0x3c1c47;_0xb6ed00[_0xd71216(0x269)](_0x24711e[_0xd71216(0xcd)]());});const _0x4008fc=_0xb6ed00['length'];for(let _0x4ec2df=_0x4008fc-0x1;_0x4ec2df>=0x0;_0x4ec2df--)_0x4cd0b0[_0x3c1c47(0x266)](_0xb6ed00[_0x4ec2df]);const _0x57ba28=_0x4cd0b0[_0x3c1c47(0x325)]();for(const _0x2af3f0 in _0x57ba28)_0x4cd0b0['removeValueFilterInfo'](_0x2af3f0);}function _0x115374(_0x41f185,_0x1c6d15){const _0x3830a3=_0x4d0853,_0x27c6cb=new Date(_0x1f569c[_0x3830a3(0x111)](_0x1c6d15)),_0x309dbd=new Date(_0x1f569c['excelDateToUnixMilliseconds'](_0x41f185)),_0x6aeee0=_0x27c6cb[_0x3830a3(0x20a)](),_0x58dcf6=_0x309dbd[_0x3830a3(0x20a)](),_0x38c93b=_0x27c6cb[_0x3830a3(0x174)](),_0xb5d001=_0x309dbd[_0x3830a3(0x174)](),_0x14169e=_0x27c6cb[_0x3830a3(0x285)](),_0x2ee518=_0x309dbd[_0x3830a3(0x285)](),_0x379ac8=_0x6aeee0===_0x58dcf6,_0x1324da=_0x379ac8&&_0x38c93b===_0xb5d001;return _0x379ac8&&_0x1324da&&!(_0x1324da&&_0x14169e===_0x2ee518)?_0x1f569c['PivotDateGroupFieldDateTypeEnum'][_0x3830a3(0xfb)]:_0x379ac8&&!_0x1324da?_0x1f569c['PivotDateGroupFieldDateTypeEnum']['YearMonth']:_0x1f569c['PivotDateGroupFieldDateTypeEnum']['Year'];}function _0x46277c(_0x541cab,_0x56b163){const _0xa1fdfa=_0x4d0853,_0x32166f=_0x541cab[_0xa1fdfa(0x2c0)](_0x2a0a80['SheetsPivotDataSourceModel'])[_0xa1fdfa(0xe8)]();let _0x2069c8='';switch(_0x56b163){case _0x1f569c['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x2069c8=_0x32166f['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x1f569c['PivotDateGroupFieldDateTypeEnum'][_0xa1fdfa(0x1fd)]:_0x2069c8=_0x32166f['sheets-pivot.dateGroup.yearMonth'];break;case _0x1f569c[_0xa1fdfa(0xe9)]['Year']:_0x2069c8=_0x32166f[_0xa1fdfa(0x291)];break;case _0x1f569c[_0xa1fdfa(0xe9)]['Month']:_0x2069c8=_0x32166f['sheets-pivot.dateGroup.month'];break;case _0x1f569c['PivotDateGroupFieldDateTypeEnum']['Quarter']:_0x2069c8=_0x32166f[_0xa1fdfa(0x169)];break;case _0x1f569c[_0xa1fdfa(0xe9)][_0xa1fdfa(0x244)]:_0x2069c8=_0x32166f[_0xa1fdfa(0x152)];break;case _0x1f569c['PivotDateGroupFieldDateTypeEnum'][_0xa1fdfa(0x393)]:_0x2069c8=_0x32166f['sheets-pivot.dateGroup.hourMinute'];break;case _0x1f569c[_0xa1fdfa(0xe9)][_0xa1fdfa(0x345)]:_0x2069c8=_0x32166f['sheets-pivot.dateGroup.hour'];break;case _0x1f569c[_0xa1fdfa(0xe9)][_0xa1fdfa(0x15c)]:_0x2069c8=_0x32166f[_0xa1fdfa(0x334)];break;case _0x1f569c[_0xa1fdfa(0xe9)]['MonthDate']:_0x2069c8=_0x32166f[_0xa1fdfa(0x1a4)];break;case _0x1f569c['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:_0x2069c8=_0x32166f[_0xa1fdfa(0x329)];break;default:_0x2069c8='';break;}return _0x2069c8;}const _0x79e1b1=_0x4d0853(0x35b),_0x52e646={};var _0xb26acd=Object[_0x4d0853(0x31e)],_0x2376b0=(_0x3cb295,_0x1fd395,_0x34d9e4,_0x4439ad)=>{const _0x10d42b=_0x4d0853;for(var _0x390c39=_0x4439ad>0x1?void 0x0:_0x4439ad?_0xb26acd(_0x1fd395,_0x34d9e4):_0x1fd395,_0x517c1c=_0x3cb295[_0x10d42b(0x19c)]-0x1,_0x22392b;_0x517c1c>=0x0;_0x517c1c--)(_0x22392b=_0x3cb295[_0x517c1c])&&(_0x390c39=_0x22392b(_0x390c39)||_0x390c39);return _0x390c39;},_0x4dc313=(_0x444ea1,_0x25600e)=>(_0x9a9387,_0x432d1b)=>_0x25600e(_0x9a9387,_0x432d1b,_0x444ea1);_0x2a0a80['SheetsPivotTableConfigModel']=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x1bb903,_0x39d22c,_0x35e540,_0x58ed05,_0x480913){const _0x37210b=_0x4d0853;super(),_0x3aca41(this,'_model',new Map()),_0x3aca41(this,_0x37210b(0x294),new Map()),_0x3aca41(this,_0x37210b(0x35e),new Map()),_0x3aca41(this,'_pivotTableMatrixInfo',new Map()),_0x3aca41(this,_0x37210b(0x30b),new _0x5604ff[(_0x37210b(0x1f9))]()),_0x3aca41(this,_0x37210b(0x328),new _0x5604ff['Subject']()),_0x3aca41(this,'pivotInitCompleted$',this['_pivotInitCompleted$'][_0x37210b(0x29a)]()),_0x3aca41(this,'_pivotConfigChange$',new _0x5604ff['Subject']()),_0x3aca41(this,_0x37210b(0xf8),this['_pivotConfigChange$']['asObservable']()),_0x3aca41(this,_0x37210b(0x337),{}),_0x3aca41(this,_0x37210b(0x29d),this[_0x37210b(0x30b)][_0x37210b(0x29a)]()),(this[_0x37210b(0x23f)]=_0x1bb903,this['_commandService']=_0x39d22c,this[_0x37210b(0x31d)]=_0x35e540,this['_resourceManagerService']=_0x58ed05,this[_0x37210b(0x312)]=_0x480913,this[_0x37210b(0x11d)](),this[_0x37210b(0x39c)]());const _0x4d3b6d=this[_0x37210b(0x312)][_0x37210b(0xe1)](_0x79e1b1);(_0x4d3b6d==null?void 0x0:_0x4d3b6d[_0x37210b(0xb3)])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x14677c=_0x4d0853;this[_0x14677c(0x2db)](this['_univerInstanceService'][_0x14677c(0x32c)](_0x26267f['UniverInstanceType'][_0x14677c(0x1b2)])[_0x14677c(0x1c1)](_0x432043=>{const _0x5d8453=_0x14677c;this[_0x5d8453(0x3ae)](_0x432043[_0x5d8453(0x392)]());}));}['setPivotInitCompleted'](){const _0x6f7eda=_0x4d0853;this[_0x6f7eda(0x328)]['next'](!0x0);}[_0x4d0853(0x11d)](){const _0x5cdb79=_0x4d0853,_0x3eaef4=_0x5ba72b(this[_0x5cdb79(0x23f)],_0x3a5f62,'',{});this['_textInfo']=_0x3eaef4,this[_0x5cdb79(0x304)]['executeCommand'](_0x44b694['id'],{'textInfo':_0x3eaef4},{'onlyLocal':!0x0});}[_0x4d0853(0xe8)](){const _0xd9ebc7=_0x4d0853;return this[_0xd9ebc7(0x337)];}[_0x4d0853(0x33d)](_0x55c61c,_0x517e73,_0x1f56cb,_0x56f7c9,_0x1daaa2){const _0x544349=_0x4d0853;this[_0x544349(0x350)](_0x55c61c,_0x517e73,_0x1f56cb,_0x56f7c9),this['updatePivotTableRangeInfo'](_0x55c61c,_0x517e73,_0x1f56cb,_0x1daaa2);}[_0x4d0853(0xf6)](_0x49fd0f,_0x38f7d1,_0x527956){const _0x2f567b=_0x4d0853;var _0xad7ea0;const _0x25e60b=(_0xad7ea0=this[_0x2f567b(0x3aa)]['get'](_0x49fd0f))==null?void 0x0:_0xad7ea0['get'](_0x38f7d1);if(_0x25e60b)return _0x25e60b['get'](_0x527956);}[_0x4d0853(0x148)](_0x1cabac,_0x480ec1){const _0x2c2dfc=_0x4d0853,_0x3b498a=this['_model'][_0x2c2dfc(0x2c0)](_0x1cabac);if(_0x3b498a){for(const [_0x3eb4b1,_0x583eb2]of _0x3b498a[_0x2c2dfc(0x255)]())for(const [_0x37c6ee,_0x296d44]of _0x583eb2['entries']())if(_0x37c6ee===_0x480ec1)return _0x296d44[_0x2c2dfc(0x2a0)];}}[_0x4d0853(0x121)](_0x35b86f,_0x157bfa,_0x50c843){const _0x312d70=_0x4d0853,_0x2d7c83=this[_0x312d70(0xf6)](_0x35b86f,_0x157bfa,_0x50c843);return _0x2d7c83==null?void 0x0:_0x2d7c83[_0x312d70(0x2a0)];}[_0x4d0853(0x193)](_0x12e397,_0x4dfbc0){const _0x4b71da=_0x4d0853;var _0x30d75b;return(_0x30d75b=this[_0x4b71da(0x3aa)][_0x4b71da(0x2c0)](_0x12e397))==null?void 0x0:_0x30d75b[_0x4b71da(0x2c0)](_0x4dfbc0);}[_0x4d0853(0x220)](_0x2d82f1,_0xdc7013,_0x465a4b,_0x30722c){const _0xc439a7=_0x4d0853,_0x1f406f=this['_ensurePivotMap'](_0x2d82f1,_0xdc7013);_0x30722c?_0x1f406f[_0xc439a7(0x283)](_0x465a4b,_0x30722c):_0x1f406f[_0xc439a7(0xca)](_0x465a4b),this['_pivotConfigChange$'][_0xc439a7(0x338)]({'unitId':_0x2d82f1,'subUnitId':_0xdc7013,'pivotTableId':_0x465a4b,'pivotTableConfig':_0x30722c});}['getCollection'](_0x5e792f,_0xd3b849){const _0x5ef09b=_0x4d0853;var _0x1b80d6;return(_0x1b80d6=this[_0x5ef09b(0x294)]['get'](_0x5e792f))==null?void 0x0:_0x1b80d6[_0x5ef09b(0x144)][_0xd3b849];}[_0x4d0853(0x363)](_0x1dc486,_0xc83c87){const _0x4c3cf7=_0x4d0853;this[_0x4c3cf7(0x294)]['set'](_0x1dc486,_0xc83c87),this[_0x4c3cf7(0x30b)][_0x4c3cf7(0x338)](Math[_0x4c3cf7(0x3a8)]());}[_0x4d0853(0x39a)](_0x4fd67f,_0x94de28){const _0x269079=_0x4d0853;let _0x475303=this[_0x269079(0x3aa)][_0x269079(0x2c0)](_0x4fd67f);_0x475303||(_0x475303=new Map(),this[_0x269079(0x3aa)][_0x269079(0x283)](_0x4fd67f,_0x475303));let _0x205435=_0x475303[_0x269079(0x2c0)](_0x94de28);return _0x205435||(_0x205435=new Map(),_0x475303[_0x269079(0x283)](_0x94de28,_0x205435)),_0x205435;}['_ensurePivotTableRangeInfo'](_0x3a6067,_0x24bfab){const _0x3f5de8=_0x4d0853;let _0x38f801=this[_0x3f5de8(0x35e)][_0x3f5de8(0x2c0)](_0x3a6067);_0x38f801||(_0x38f801=new Map(),this['_pivotTableRangeInfo'][_0x3f5de8(0x283)](_0x3a6067,_0x38f801));let _0x410ed8=_0x38f801[_0x3f5de8(0x2c0)](_0x24bfab);return _0x410ed8||(_0x410ed8=new Map(),_0x38f801['set'](_0x24bfab,_0x410ed8)),_0x410ed8;}['_ensurePivotTableMatrixInfo'](_0x4e3d18,_0x4cc4f3){const _0x3ef87c=_0x4d0853;let _0x4050df=this[_0x3ef87c(0x353)]['get'](_0x4e3d18);_0x4050df||(_0x4050df=new Map(),this[_0x3ef87c(0x353)]['set'](_0x4e3d18,_0x4050df));let _0x3c9c49=_0x4050df['get'](_0x4cc4f3);return _0x3c9c49||(_0x3c9c49=new Map(),_0x4050df[_0x3ef87c(0x283)](_0x4cc4f3,_0x3c9c49)),_0x3c9c49;}[_0x4d0853(0x184)](_0x3f6c4f,_0x422071,_0x44608e,_0x42ee74){const _0x449e1a=_0x4d0853;var _0x2b2b4a;const _0x32dd4e=this[_0x449e1a(0x2f4)](_0x3f6c4f,_0x422071),_0x44028d=(_0x2b2b4a=_0x32dd4e['get'](_0x44608e))==null?void 0x0:_0x2b2b4a['oldRangeInfo'];_0x32dd4e['set'](_0x44608e,{'oldRangeInfo':_0x44028d,'rangeInfo':_0x42ee74});}[_0x4d0853(0x350)](_0x4797e8,_0xc63b7d,_0x22c59a,_0x23379f){const _0x36f3a6=_0x4d0853;var _0x5719c4;const _0x5b36e4=this[_0x36f3a6(0x132)](_0x4797e8,_0xc63b7d),_0xc15cd9=(_0x5719c4=_0x5b36e4[_0x36f3a6(0x2c0)](_0x22c59a))==null?void 0x0:_0x5719c4['oldMatrix'];_0x5b36e4[_0x36f3a6(0x283)](_0x22c59a,{'oldMatrix':_0xc15cd9,'matrix':_0x23379f});}[_0x4d0853(0x17b)](_0xbb6096,_0x20babd,_0x88262c){const _0x2b4dbf=_0x4d0853;var _0x3afba8,_0x1e957f;return(_0x1e957f=(_0x3afba8=this[_0x2b4dbf(0x35e)]['get'](_0xbb6096))==null?void 0x0:_0x3afba8[_0x2b4dbf(0x2c0)](_0x20babd))==null?void 0x0:_0x1e957f[_0x2b4dbf(0x2c0)](_0x88262c);}[_0x4d0853(0x2d0)](_0x5eea15,_0x332e64,_0x3c7ece){const _0x352a61=_0x4d0853;var _0x25c1c6,_0x1ad092;return(_0x1ad092=(_0x25c1c6=this[_0x352a61(0x353)][_0x352a61(0x2c0)](_0x5eea15))==null?void 0x0:_0x25c1c6['get'](_0x332e64))==null?void 0x0:_0x1ad092['get'](_0x3c7ece);}['deleteUnitId'](_0x462be6){const _0x32e96f=_0x4d0853;this[_0x32e96f(0x3aa)][_0x32e96f(0xca)](_0x462be6),this[_0x32e96f(0x294)][_0x32e96f(0xca)](_0x462be6);}[_0x4d0853(0x364)](_0x59725a){const _0x5574a3=_0x4d0853,_0xf3f839={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5574a3(0x294)][_0x5574a3(0x2c0)](_0x59725a)&&(_0xf3f839['dataFieldManagerConfig'][_0x59725a]=this[_0x5574a3(0x294)]['get'](_0x59725a)),this[_0x5574a3(0x3aa)][_0x5574a3(0x2c0)](_0x59725a)){_0xf3f839[_0x5574a3(0x28b)][_0x59725a]={};const _0x2e09a6=this[_0x5574a3(0x3aa)][_0x5574a3(0x2c0)](_0x59725a);_0x2e09a6!=null&&_0x2e09a6['size']&&[..._0x2e09a6[_0x5574a3(0x2a2)]()][_0x5574a3(0x35d)](_0x50a720=>{const _0x413c39=_0x5574a3,_0x24128f=_0x2e09a6['get'](_0x50a720);_0x24128f!=null&&_0x24128f['size']&&(_0xf3f839[_0x413c39(0x28b)][_0x59725a][_0x50a720]={},[..._0x24128f[_0x413c39(0x2a2)]()][_0x413c39(0x35d)](_0x1534f1=>{const _0x123e53=_0x413c39,_0x76c1bb=_0x24128f[_0x123e53(0x2c0)](_0x1534f1);_0x76c1bb&&(_0xf3f839[_0x123e53(0x28b)][_0x59725a][_0x50a720][_0x1534f1]=_0x76c1bb);}));});}return _0xf3f839;}['_initSnapshot'](){const _0x4a227c=_0x4d0853;this[_0x4a227c(0x2db)](this[_0x4a227c(0x1f2)][_0x4a227c(0x229)]({'toJson':_0x400079=>JSON[_0x4a227c(0x2ac)](this[_0x4a227c(0x364)](_0x400079)),'parseJson':_0x19aaff=>({}),'businesses':[_0x26267f[_0x4a227c(0xef)][_0x4a227c(0x1b2)]],'pluginName':_0x18b3b4,'onLoad':(_0x10214e,_0x29afdf)=>{},'onUnLoad':_0x453e02=>{const _0x233e0a=_0x4a227c;this[_0x233e0a(0x3ae)](_0x453e02);}}));}},_0x2a0a80[_0x4d0853(0xc6)]=_0x2376b0([_0x4dc313(0x0,_0x26267f['Inject'](_0x26267f[_0x4d0853(0xe4)])),_0x4dc313(0x1,_0x26267f['Inject'](_0x26267f['ICommandService'])),_0x4dc313(0x2,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x22c)])),_0x4dc313(0x3,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x369)])),_0x4dc313(0x4,_0x26267f[_0x4d0853(0x1c9)](_0x26267f['IConfigService']))],_0x2a0a80[_0x4d0853(0xc6)]);var _0x3af10b=Object[_0x4d0853(0x31e)],_0x393318=(_0x2ac5c9,_0x4f06ee,_0xaea3bf,_0x4db152)=>{const _0x3f338c=_0x4d0853;for(var _0x3df545=_0x4db152>0x1?void 0x0:_0x4db152?_0x3af10b(_0x4f06ee,_0xaea3bf):_0x4f06ee,_0x23c16f=_0x2ac5c9[_0x3f338c(0x19c)]-0x1,_0x36a061;_0x23c16f>=0x0;_0x23c16f--)(_0x36a061=_0x2ac5c9[_0x23c16f])&&(_0x3df545=_0x36a061(_0x3df545)||_0x3df545);return _0x3df545;},_0x52ec69=(_0x3c3a7b,_0xe0e57b)=>(_0x29c701,_0x493053)=>_0xe0e57b(_0x29c701,_0x493053,_0x3c3a7b);_0x2a0a80['SheetsPivotTableAdaptorModel']=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x1d951e,_0xb761cf,_0x21393a,_0x51fa45,_0x4562b4){const _0x426859=_0x4d0853;super(),_0x3aca41(this,_0x426859(0x159),new Map()),_0x3aca41(this,'_pivotRenderValueMatrixCache',new Map()),_0x3aca41(this,'_markDirty$',new _0x5604ff['Subject']()),_0x3aca41(this,'markDirty$',this[_0x426859(0x39b)][_0x426859(0x29a)]()),_0x3aca41(this,_0x426859(0x93),new _0x5604ff['Subject']()),_0x3aca41(this,'viewUpdate$',this[_0x426859(0x93)]['asObservable']()),_0x3aca41(this,'_textInfo'),(this[_0x426859(0x2e4)]=_0x1d951e,this[_0x426859(0x23f)]=_0xb761cf,this[_0x426859(0x3a5)]=_0x21393a,this[_0x426859(0x31d)]=_0x51fa45,this[_0x426859(0x1a8)]=_0x4562b4,this['_initLocale'](),this[_0x426859(0x39c)]());}[_0x4d0853(0x39c)](){const _0x11cb28=_0x4d0853;this[_0x11cb28(0x2db)](this[_0x11cb28(0x31d)]['getTypeOfUnitDisposed$'](_0x26267f[_0x11cb28(0xef)][_0x11cb28(0x1b2)])[_0x11cb28(0x1c1)](_0xb95003=>{const _0x540fd0=_0x11cb28;this[_0x540fd0(0x3ae)](_0xb95003[_0x540fd0(0x392)]());}));}[_0x4d0853(0x11d)](){const _0x208667=_0x4d0853;this['_textInfo']=_0x5ba72b(this[_0x208667(0x23f)],_0x3a5f62,'',{});}[_0x4d0853(0x15d)](_0x51bc89){const _0x3c5457=_0x4d0853,{view:_0x5ef506,unitId:_0x258cb1,subUnitId:_0x24ba53,pivotTableId:_0x276637,type:_0x109b60}=_0x51bc89,_0x5cc06e=this['_sheetsPivotTableConfigModel'][_0x3c5457(0xf6)](_0x258cb1,_0x24ba53,_0x276637);if(!_0x5ef506||!_0x5cc06e||_0x109b60===_0x496a39[_0x3c5457(0x18a)])return;const {pageView:_0x3d45f3,cornerView:_0x348461,rowView:_0x3ab29c,colView:_0x1de81f,dataView:_0x5e040b}=_0x5ef506,_0x2f5700=_0x5cc06e['targetCellInfo'],_0x158f8d=_0x5cc06e[_0x3c5457(0x2c9)],_0x1a34b9=this[_0x3c5457(0x331)](_0x258cb1,_0x24ba53),_0x39f974=this[_0x3c5457(0xb8)](_0x258cb1,_0x24ba53,_0x276637);if(_0x158f8d)return this[_0x3c5457(0x10d)](_0x51bc89,_0x1a34b9,_0x2f5700,_0x39f974);{const _0x9cd074=_0x3b3e27(_0x2f5700,_0x3d45f3,!0x0),_0x491aab=_0x3d45f3[_0x3c5457(0xb0)]>=0x0?_0x3d45f3[_0x3c5457(0xb0)]+0x1:0x0,_0x5516b8=_0x348461[_0x3c5457(0x302)](),_0x5c0ef3=_0x348461[_0x3c5457(0x36c)](),_0xfa5be=_0x9cd074['length']>0x0?_0x535df5:0x0,_0x16dd35=_0x3b3e27({'row':_0x2f5700[_0x3c5457(0x396)]+_0x491aab+_0xfa5be,'col':_0x2f5700['col']},_0x348461,!0x1,!0x1),_0x20f530=_0x3b3e27({'row':_0x2f5700[_0x3c5457(0x396)]+_0x491aab+_0xfa5be+_0x5516b8,'col':_0x2f5700[_0x3c5457(0x300)]},_0x3ab29c,!0x1,!0x0),_0x1928f3=_0x3b3e27({'row':_0x2f5700[_0x3c5457(0x396)]+_0x491aab+_0xfa5be,'col':_0x2f5700[_0x3c5457(0x300)]+_0x5c0ef3},_0x1de81f,!0x1,!0x0),_0x29300e=_0x3b3e27({'row':_0x2f5700[_0x3c5457(0x396)]+_0x491aab+_0xfa5be+_0x5516b8,'col':_0x2f5700[_0x3c5457(0x300)]+_0x5c0ef3},_0x5e040b,!0x1,!0x1);_0x39f974['rangesInfo']={'rowRanges':_0x20f530,'colRanges':_0x1928f3,'cornerRanges':_0x16dd35,'dataRanges':_0x29300e,'pageRanges':_0x9cd074};const _0xa26852=_0x2cf3c1(this['_injector'],_0x5ef506,_0x5cc06e,this[_0x3c5457(0x337)]),{valueMatrix:_0x469f16,rowInfo:_0x106da3,colInfo:_0x36f49a,cornerInfo:_0x152a7d,rowHeaderMap:_0x137580,colHeaderMap:_0x1b65bd}=_0xa26852;return _0x39f974[_0x3c5457(0x166)]={'rowInfo':_0x106da3,'colInfo':_0x36f49a,'cornerInfo':_0x152a7d},_0x39f974[_0x3c5457(0x129)]={'rowHeaderMap':_0x137580,'colHeaderMap':_0x1b65bd},_0x469f16[_0x3c5457(0x35d)]((_0x280930,_0x2cb041)=>{const _0x4a1dcd=_0x3c5457;Object[_0x4a1dcd(0x2a2)](_0x2cb041)['forEach'](_0x2e5f76=>{const _0x136f65=_0x4a1dcd,_0x205150=+_0x2e5f76,_0x5dc94d=_0x469f16[_0x136f65(0xdb)](_0x280930,_0x205150);_0x1a34b9[_0x136f65(0x315)](_0x280930,_0x205150,_0x5dc94d);});}),this[_0x3c5457(0x93)][_0x3c5457(0x338)]({'unitId':_0x258cb1,'subUnitId':_0x24ba53,'valueMatrix':_0x1a34b9,'rangesCache':_0x39f974[_0x3c5457(0xa3)],'pivotTableId':_0x276637,'type':_0x51bc89[_0x3c5457(0x15b)]}),this[_0x3c5457(0x3a5)][_0x3c5457(0x33d)](_0x258cb1,_0x24ba53,_0x276637,_0x1a34b9,_0x39f974['rangesInfo']),this[_0x3c5457(0x1a8)][_0x3c5457(0x2a3)](_0x258cb1,_0x24ba53,_0x2092f5,this[_0x3c5457(0x2b8)](_0x39f974[_0x3c5457(0xa3)],_0x276637)),{'rangeCache':_0x39f974[_0x3c5457(0xa3)],'matrix':_0x1a34b9};}}['_updateRenderEmptyCache'](_0x305d82,_0x40b923,_0x13f897,_0x223275){const _0x69426a=_0x4d0853,_0xaf2d5=this[_0x69426a(0x2e4)]['t'],{unitId:_0x117f2a,subUnitId:_0x3a2d,pivotTableId:_0x1ed586}=_0x305d82,_0x572bc5={'filter':_0xaf2d5(_0x69426a(0x2eb)),'row':_0xaf2d5(_0x69426a(0x34e)),'column':_0xaf2d5(_0x69426a(0x1e0)),'values':_0xaf2d5('sheets-pivot.emptyPivot.values')},{matrixCache:_0x2f63ae,rangesCache:_0x45232f}=_0x1b4b42(_0x572bc5,_0x13f897);return _0x2f63ae['forValue']((_0x147ae9,_0xf6ca0b,_0x25af51)=>{const _0x41475c=_0x69426a;_0x40b923[_0x41475c(0x315)](_0x147ae9,_0xf6ca0b,_0x25af51);}),_0x223275[_0x69426a(0xa3)]=_0x45232f,this[_0x69426a(0x93)]['next']({'unitId':_0x117f2a,'subUnitId':_0x3a2d,'valueMatrix':_0x40b923,'rangesCache':_0x45232f,'pivotTableId':_0x1ed586,'type':_0x305d82['type'],'isEmpty':!0x0}),this[_0x69426a(0x3a5)]['updateViewInfo'](_0x117f2a,_0x3a2d,_0x1ed586,_0x40b923,_0x45232f),this[_0x69426a(0x1a8)][_0x69426a(0x2a3)](_0x117f2a,_0x3a2d,_0x2092f5,this[_0x69426a(0x2b8)](_0x45232f,_0x1ed586)),{'rangeCache':_0x223275['rangesInfo'],'matrix':_0x40b923};}[_0x4d0853(0x2b8)](_0xaa2ed5,_0x210acf){const _0x5bd068=_0x4d0853,_0x2c8adf=[],_0x186b49=_0x3c7733(_0xaa2ed5);for(const _0x58ad9e of _0x186b49)_0x2c8adf[_0x5bd068(0x269)]({'groupId':_0x210acf,'range':_0x58ad9e});return _0x2c8adf;}[_0x4d0853(0x221)](_0x402fc4){const _0x1d8eaf=_0x4d0853;var _0x5078a3,_0x11f11c,_0x6ae63d,_0x41dbdb;const {pivotTableId:_0x1b61e2,unitId:_0x3447a4,subUnitId:_0x1e1a4b}=_0x402fc4;if(!_0x1b61e2||!_0x3447a4||!_0x1e1a4b)return;const _0x488caa=this[_0x1d8eaf(0x331)](_0x3447a4,_0x1e1a4b),_0x29d0a4=(_0x11f11c=(_0x5078a3=this[_0x1d8eaf(0x159)][_0x1d8eaf(0x2c0)](_0x3447a4))==null?void 0x0:_0x5078a3['get'](_0x1e1a4b))==null?void 0x0:_0x11f11c[_0x1d8eaf(0x2c0)](_0x1b61e2);if(_0x29d0a4!=null&&_0x29d0a4['rangesInfo']){for(const _0x3f0958 of Object[_0x1d8eaf(0x2a2)](_0x29d0a4[_0x1d8eaf(0xa3)]))_0x29d0a4[_0x1d8eaf(0xa3)][_0x3f0958][_0x1d8eaf(0x35d)](_0x3729d7=>{const _0x29ef5c=_0x1d8eaf;for(let _0x3ddcd1=_0x3729d7['startRow'];_0x3ddcd1<=_0x3729d7[_0x29ef5c(0x27a)];_0x3ddcd1++)for(let _0x2bf20f=_0x3729d7[_0x29ef5c(0x361)];_0x2bf20f<=_0x3729d7[_0x29ef5c(0xc3)];_0x2bf20f++)_0x488caa[_0x29ef5c(0x134)](_0x3ddcd1,_0x2bf20f);});}_0x29d0a4&&((_0x41dbdb=(_0x6ae63d=this[_0x1d8eaf(0x159)][_0x1d8eaf(0x2c0)](_0x3447a4))==null?void 0x0:_0x6ae63d['get'](_0x1e1a4b))==null||_0x41dbdb[_0x1d8eaf(0xca)](_0x1b61e2)),this['_viewUpdate$'][_0x1d8eaf(0x338)]({'unitId':_0x3447a4,'subUnitId':_0x1e1a4b,'valueMatrix':_0x488caa,'pivotTableId':_0x1b61e2,'rangesCache':void 0x0,'type':_0x402fc4[_0x1d8eaf(0x15b)]}),this[_0x1d8eaf(0x1a8)]['clearExclusiveRangesByGroupId'](_0x3447a4,_0x1e1a4b,_0x2092f5,_0x1b61e2);}[_0x4d0853(0xb8)](_0x1305cc,_0x3130e1,_0x526249){const _0x433e44=_0x4d0853;var _0x260a48,_0xe0bf99,_0x5728e6,_0x5b0401,_0x1e3b32,_0x1fd7fe;return this[_0x433e44(0x159)][_0x433e44(0x162)](_0x1305cc)||this[_0x433e44(0x159)][_0x433e44(0x283)](_0x1305cc,new Map()),(_0x260a48=this[_0x433e44(0x159)][_0x433e44(0x2c0)](_0x1305cc))!=null&&_0x260a48[_0x433e44(0x162)](_0x3130e1)||(_0xe0bf99=this[_0x433e44(0x159)][_0x433e44(0x2c0)](_0x1305cc))==null||_0xe0bf99[_0x433e44(0x283)](_0x3130e1,new Map()),(_0x5b0401=(_0x5728e6=this[_0x433e44(0x159)][_0x433e44(0x2c0)](_0x1305cc))==null?void 0x0:_0x5728e6['get'](_0x3130e1))!=null&&_0x5b0401[_0x433e44(0x162)](_0x526249)||(_0x1fd7fe=(_0x1e3b32=this[_0x433e44(0x159)][_0x433e44(0x2c0)](_0x1305cc))==null?void 0x0:_0x1e3b32[_0x433e44(0x2c0)](_0x3130e1))==null||_0x1fd7fe['set'](_0x526249,{}),this['_pivotRenderInfoCache'][_0x433e44(0x2c0)](_0x1305cc)['get'](_0x3130e1)[_0x433e44(0x2c0)](_0x526249);}[_0x4d0853(0x331)](_0x1c5b95,_0x142109){const _0x354da4=_0x4d0853;var _0x1e000c,_0x7235ed;return this[_0x354da4(0x332)][_0x354da4(0x162)](_0x1c5b95)||this[_0x354da4(0x332)][_0x354da4(0x283)](_0x1c5b95,new Map()),(_0x1e000c=this[_0x354da4(0x332)][_0x354da4(0x2c0)](_0x1c5b95))!=null&&_0x1e000c[_0x354da4(0x162)](_0x142109)||(_0x7235ed=this[_0x354da4(0x332)][_0x354da4(0x2c0)](_0x1c5b95))==null||_0x7235ed['set'](_0x142109,new _0x26267f['ObjectMatrix']()),this[_0x354da4(0x332)]['get'](_0x1c5b95)[_0x354da4(0x2c0)](_0x142109);}[_0x4d0853(0x309)](_0x3e3e91,_0x5e92fc,_0x38cfe7,_0x756c57){const _0x3d2feb=_0x4d0853;var _0x29a846,_0x1d3cb7;const _0x41a441=(_0x1d3cb7=(_0x29a846=this[_0x3d2feb(0x332)][_0x3d2feb(0x2c0)](_0x3e3e91))==null?void 0x0:_0x29a846[_0x3d2feb(0x2c0)](_0x5e92fc))==null?void 0x0:_0x1d3cb7[_0x3d2feb(0xdb)](_0x38cfe7,_0x756c57);if(_0x41a441!=null)return _0x41a441;}['getPivotTableIdByCell'](_0x516b6f,_0x214a65,_0x17dfb5,_0x132fea){const _0x1c3016=_0x4d0853;var _0x39e4c4;const _0x3395ad=_0x26267f['cellToRange'](_0x17dfb5,_0x132fea),_0x36fa50=(_0x39e4c4=this['_pivotRenderInfoCache'][_0x1c3016(0x2c0)](_0x516b6f))==null?void 0x0:_0x39e4c4['get'](_0x214a65);return _0x36fa50?Array[_0x1c3016(0x1d7)](_0x36fa50[_0x1c3016(0x2a2)]())[_0x1c3016(0x14e)](_0x50b6ba=>{const _0x55394e=_0x1c3016,_0xb9b2f9=_0x36fa50[_0x55394e(0x2c0)](_0x50b6ba),_0x176325=_0xb9b2f9==null?void 0x0:_0xb9b2f9[_0x55394e(0xa3)];return _0x176325?Object[_0x55394e(0x2a2)](_0x176325)[_0x55394e(0x26c)](_0x38a9bf=>_0x176325[_0x38a9bf][_0x55394e(0x26c)](_0x48d5f3=>_0x26267f[_0x55394e(0x15a)][_0x55394e(0x231)](_0x48d5f3,_0x3395ad))):!0x1;}):void 0x0;}[_0x4d0853(0xe5)](_0x554b8b,_0x2d00e0,_0x153a0a){const _0x51f859=_0x4d0853;var _0x12db88;const _0x7fb923=(_0x12db88=this[_0x51f859(0x159)]['get'](_0x554b8b))==null?void 0x0:_0x12db88[_0x51f859(0x2c0)](_0x2d00e0),_0x539f05=[];return _0x7fb923&&Array['from'](_0x7fb923[_0x51f859(0x2a2)]())[_0x51f859(0x35d)](_0x309b6a=>{const _0x5b99fd=_0x51f859,_0x469e20=_0x7fb923[_0x5b99fd(0x2c0)](_0x309b6a),_0x112754=_0x469e20==null?void 0x0:_0x469e20[_0x5b99fd(0xa3)];if(_0x112754)for(const _0x220955 of Object[_0x5b99fd(0x12d)](_0x112754)){let _0x39e6e7=!0x1;for(const _0x55a51b of _0x220955)if(_0x26267f[_0x5b99fd(0x15a)][_0x5b99fd(0x34c)](_0x55a51b,_0x153a0a)){_0x539f05[_0x5b99fd(0x269)](_0x309b6a),_0x39e6e7=!0x0;break;}if(_0x39e6e7)break;}}),_0x539f05;}[_0x4d0853(0x278)](_0x3ca38c,_0x478e20){const _0x1fdee2=_0x4d0853;var _0x15fc03,_0x20f35c;return(_0x20f35c=(_0x15fc03=this['_pivotRenderValueMatrixCache'][_0x1fdee2(0x2c0)](_0x3ca38c))==null?void 0x0:_0x15fc03[_0x1fdee2(0x2c0)](_0x478e20))!=null?_0x20f35c:new _0x26267f[(_0x1fdee2(0x110))]();}['getSubUnitPivotRenderCache'](_0x24eac1,_0x5aa36a){const _0x244640=_0x4d0853;var _0x14f4e9;return(_0x14f4e9=this[_0x244640(0x159)]['get'](_0x24eac1))==null?void 0x0:_0x14f4e9[_0x244640(0x2c0)](_0x5aa36a);}['getPivotItemRenderInfoCache'](_0x443895,_0x13e561,_0x599748){const _0x17baf0=_0x4d0853;var _0x266e7e,_0x32e5e6;return(_0x32e5e6=(_0x266e7e=this[_0x17baf0(0x159)][_0x17baf0(0x2c0)](_0x443895))==null?void 0x0:_0x266e7e[_0x17baf0(0x2c0)](_0x13e561))==null?void 0x0:_0x32e5e6[_0x17baf0(0x2c0)](_0x599748);}[_0x4d0853(0x3ae)](_0x5e1e35){const _0x455598=_0x4d0853;this[_0x455598(0x159)]['delete'](_0x5e1e35),this[_0x455598(0x332)]['delete'](_0x5e1e35);}[_0x4d0853(0x2dd)](_0x3783e9,_0x375e20){const _0x31c0ac=_0x4d0853;this['_markDirty$'][_0x31c0ac(0x338)]({'unitId':_0x3783e9,'subUnitId':_0x375e20});}},_0x2a0a80['SheetsPivotTableAdaptorModel']=_0x393318([_0x52ec69(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x2aa)])),_0x52ec69(0x1,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0xe4)])),_0x52ec69(0x2,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0xc6)])),_0x52ec69(0x3,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x22c)])),_0x52ec69(0x4,_0x26267f[_0x4d0853(0x1c9)](_0x15c6e7[_0x4d0853(0x1ac)]))],_0x2a0a80[_0x4d0853(0x2f6)]);var _0x3fa2e8=Object[_0x4d0853(0x31e)],_0x46deee=(_0x47cea9,_0x2f8c89,_0x50f38e,_0x22ee2b)=>{for(var _0x24d9cc=_0x22ee2b>0x1?void 0x0:_0x22ee2b?_0x3fa2e8(_0x2f8c89,_0x50f38e):_0x2f8c89,_0x23652a=_0x47cea9['length']-0x1,_0x47241d;_0x23652a>=0x0;_0x23652a--)(_0x47241d=_0x47cea9[_0x23652a])&&(_0x24d9cc=_0x47241d(_0x24d9cc)||_0x24d9cc);return _0x24d9cc;},_0x2cd249=(_0x290cba,_0x349ef8)=>(_0x31373f,_0x4a0dbd)=>_0x349ef8(_0x31373f,_0x4a0dbd,_0x290cba);_0x2a0a80[_0x4d0853(0x368)]=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x2d1674,_0x17f855){const _0x26622b=_0x4d0853;super(),_0x3aca41(this,_0x26622b(0x270),new _0x26267f[(_0x26622b(0x260))]({'PIVOT_PERFORM_CHECK':_0x32edef})),_0x3aca41(this,_0x26622b(0x149),new _0x26267f[(_0x26622b(0x371))]({'PIVOT_MUTATION_GENERATE':_0x2039f9})),(this['_sheetInterceptorService']=_0x2d1674,this[_0x26622b(0x11c)]=_0x17f855,this[_0x26622b(0x1a2)]());}[_0x4d0853(0x1a2)](){const _0x44a05c=_0x4d0853;this[_0x44a05c(0x3a6)]();}[_0x4d0853(0x37b)](_0x586fd9){const _0xb60a35=_0x4d0853;return this[_0xb60a35(0x270)]['fetchThroughAsyncInterceptors'](_0x32edef)(!0x1,_0x586fd9);}[_0x4d0853(0x3a6)](){const _0xc66a16=_0x4d0853;this[_0xc66a16(0x2db)](this['_sheetInterceptorService']['intercept'](_0x15c6e7[_0xc66a16(0x380)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x26267f['InterceptorEffectEnum']['Value']|_0x26267f[_0xc66a16(0xc7)][_0xc66a16(0xc5)],'handler':(_0x3463b0,_0x3db9da,_0x1507b3)=>{const _0x4086b7=_0xc66a16,{row:_0xc065b1,col:_0x4dfe27,unitId:_0x2003ce,subUnitId:_0x35388f,workbook:_0xfcd10d}=_0x3db9da,_0x2914c4=this[_0x4086b7(0x11c)][_0x4086b7(0x309)](_0x2003ce,_0x35388f,_0xc065b1,_0x4dfe27);if(!_0x2914c4)return _0x1507b3(_0x3463b0);const _0x571a90={..._0x3463b0};(_0x2914c4['v']||_0x2914c4['v']===0x0)&&(_0x571a90['v']=_0x2914c4['v']),_0x2914c4['t']&&(_0x571a90['t']=_0x2914c4['t']);const _0x36a4c4=(typeof(_0x3463b0==null?void 0x0:_0x3463b0['s'])==_0x4086b7(0x138)?_0xfcd10d['getStyles']()[_0x4086b7(0x2c0)](_0x3463b0==null?void 0x0:_0x3463b0['s']):_0x3463b0==null?void 0x0:_0x3463b0['s'])||{},_0x5657cd=_0xfcd10d[_0x4086b7(0x293)]()[_0x4086b7(0x2c0)](_0x2914c4['s']),_0x4887e7={..._0x5657cd,..._0x36a4c4};_0x5657cd!=null&&_0x5657cd['n']&&(_0x4887e7['n']=_0x5657cd['n']);const _0x340597=_0xfcd10d[_0x4086b7(0x293)]()[_0x4086b7(0x315)](_0x4887e7);return _0x571a90['s']=_0x340597,(_0x2914c4[_0x4086b7(0x2f3)]===_0x1f569c[_0x4086b7(0x2fa)][_0x4086b7(0x374)]||_0x2914c4['pbt']===_0x1f569c['PivotCellStyleTypeEnum'][_0x4086b7(0x1e2)])&&(_0x571a90[_0x4086b7(0x10c)]={},_0x571a90[_0x4086b7(0x10c)][_0x4086b7(0x2a4)]=_0x53ba21),_0x1507b3(_0x571a90);}}));}},_0x2a0a80[_0x4d0853(0x368)]=_0x46deee([_0x2cd249(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x15c6e7[_0x4d0853(0x311)])),_0x2cd249(0x1,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0x2f6)]))],_0x2a0a80['SheetsPivotTableService']);function _0x25e90f(_0x2c0729,_0x22fca8){const _0x229c87=_0x4d0853;switch(_0x22fca8){case _0x1f569c[_0x229c87(0xa6)][_0x229c87(0x29e)]:return _0x2c0729['valueFields'];case _0x1f569c[_0x229c87(0xa6)]['Filter']:return _0x2c0729[_0x229c87(0x2b5)];case _0x1f569c[_0x229c87(0xa6)][_0x229c87(0x210)]:return _0x2c0729[_0x229c87(0x37d)];case _0x1f569c['PivotTableFiledAreaEnum'][_0x229c87(0x1ae)]:return _0x2c0729[_0x229c87(0x382)];default:return[];}}function _0x145c33(_0x2f4ff0,_0x355f7f){const _0x49139f=_0x4d0853;return _0x2f4ff0[_0x49139f(0xc9)][_0x355f7f]||_0x2f4ff0[_0x49139f(0x38c)][_0x355f7f];}function _0x2ad653(_0x1ae37a,_0x322a62){const _0x2b2a27=_0x4d0853,{area:_0x468e7f,fieldJson:_0x2874b1,index:_0x8279d9}=_0x322a62;_0x468e7f===_0x1f569c[_0x2b2a27(0xa6)]['Value']?_0x1ae37a[_0x2b2a27(0xc9)][_0x2874b1['id']]=_0x2874b1:_0x1ae37a[_0x2b2a27(0x38c)][_0x2874b1['id']]=_0x2874b1,_0x25e90f(_0x1ae37a,_0x468e7f)['splice'](_0x8279d9,0x0,_0x2874b1['id']);}function _0xf8aa6a(_0x5d93a8,_0xf614ff){const _0x3533fe=_0x4d0853,{area:_0x5c5464,fieldId:_0x7b37a1,index:_0x55ab3f}=_0xf614ff;_0x5c5464===_0x1f569c[_0x3533fe(0xa6)][_0x3533fe(0x29e)]?delete _0x5d93a8[_0x3533fe(0xc9)][_0x7b37a1]:delete _0x5d93a8[_0x3533fe(0x38c)][_0x7b37a1],_0x25e90f(_0x5d93a8,_0x5c5464)[_0x3533fe(0x275)](_0x55ab3f,0x1);}function _0x24b376(_0x5003b1,_0x2438af){const _0x387a90=_0x4d0853,{fieldId:_0x205767,name:_0x3a75e2}=_0x2438af,_0x4f9184=_0x145c33(_0x5003b1,_0x205767);_0x4f9184&&(_0x4f9184[_0x387a90(0x1bf)]=_0x3a75e2);}function _0x341a93(_0x4b532a,_0x441b2e){const _0x58cd23=_0x4d0853,{fieldId:_0x26600c,collapse:_0x1f4164,item:_0x28d34b}=_0x441b2e;_0x28d34b!==void 0x0?(_0x4b532a['collapseInfo'][_0x26600c]=_0x4b532a['collapseInfo'][_0x26600c]||{},_0x4b532a[_0x58cd23(0x113)][_0x26600c][_0x28d34b]=_0x1f4164):_0x4b532a[_0x58cd23(0x113)][_0x26600c]=_0x1f4164;}function _0x2143d9(_0x214615,_0x37a5d9){const {fieldId:_0x14547a,format:_0x5b5b27}=_0x37a5d9,_0x2722af=_0x145c33(_0x214615,_0x14547a);_0x2722af&&(_0x2722af['format']=_0x5b5b27);}function _0x4bbf12(_0xa1ed5,_0x2d2ef4){const _0x57a63b=_0x4d0853,{fieldId:_0x3f4852,filterInfo:_0x40d95d}=_0x2d2ef4,_0x46ba4b=_0x145c33(_0xa1ed5,_0x3f4852);_0x46ba4b&&(_0x46ba4b[_0x57a63b(0x123)]=_0x40d95d);}function _0x3711f5(_0x3bdbc2,_0x172a7d){const _0x35b363=_0x4d0853,{fieldId:_0x139dec,filterInfo:_0x5548ed}=_0x172a7d,_0x4b9448=_0x3bdbc2[_0x35b363(0x31f)][_0x35b363(0x14c)](_0xce37c4=>_0xce37c4[_0x35b363(0x1e9)]!==_0x139dec);_0x5548ed&&_0x4b9448['push']({'fieldId':_0x139dec,'filterInfo':_0x5548ed}),_0x3bdbc2[_0x35b363(0x31f)]=_0x4b9448;}function _0x42a41c(_0x290821,_0x39a4fc){const _0x3b1dea=_0x4d0853,{fieldId:_0x34411c,subtotalType:_0x41076e}=_0x39a4fc,_0x27501a=_0x145c33(_0x290821,_0x34411c);_0x27501a&&(_0x27501a[_0x3b1dea(0x2c3)]=_0x41076e);}function _0x575f09(_0x4a3b58,_0x18b618){const _0x512861=_0x4d0853,{fieldId:_0x566711,oldArea:_0x4c6dbc,area:_0x65f914,oldIndex:_0x3cdaae,index:_0x42f5fe}=_0x18b618,_0x575e86=_0x4c6dbc!==_0x1f569c['PivotTableFiledAreaEnum'][_0x512861(0x29e)]&&_0x65f914===_0x1f569c[_0x512861(0xa6)][_0x512861(0x29e)],_0x5d1f61=_0x4c6dbc===_0x1f569c[_0x512861(0xa6)][_0x512861(0x29e)]&&_0x65f914!==_0x1f569c[_0x512861(0xa6)][_0x512861(0x29e)];if(_0x575e86||_0x5d1f61){const _0x3508ae=_0x145c33(_0x4a3b58,_0x566711);_0x3508ae&&(_0x575e86?(delete _0x4a3b58['dimension'][_0x566711],_0x4a3b58['measure'][_0x566711]=_0x3508ae):(delete _0x4a3b58[_0x512861(0xc9)][_0x566711],_0x4a3b58[_0x512861(0x38c)][_0x566711]=_0x3508ae));}const _0x1841f0=_0x25e90f(_0x4a3b58,_0x4c6dbc),_0x164ad9=_0x25e90f(_0x4a3b58,_0x65f914);_0x1841f0['splice'](_0x3cdaae,0x1),_0x164ad9[_0x512861(0x275)](_0x42f5fe,0x0,_0x566711);}function _0x1ea301(_0x2cbf2d,_0x13c364){const _0x4eda51=_0x4d0853,{valuePosition:_0x5b9776,index:_0x210c37}=_0x13c364;_0x2cbf2d[_0x4eda51(0x20c)]=_0x5b9776,_0x2cbf2d[_0x4eda51(0x25a)]=_0x210c37;}function _0x52113c(_0x49d1fd,_0xf015fc){const _0x85c1a3=_0x4d0853,{tableFieldId:_0x45ac38,sourceName:_0x49d61f,dataFieldId:_0x4a3bf8}=_0xf015fc,_0xdcddff=_0x145c33(_0x49d1fd,_0x45ac38);_0xdcddff&&(_0xdcddff[_0x85c1a3(0x1d5)]=_0x49d61f,_0xdcddff[_0x85c1a3(0x139)]=_0x4a3bf8);}function _0x2fe29f(_0x3bbc41,_0x38ce45){const _0x1c25c2=_0x4d0853,{fieldId:_0x40f826,sortInfo:_0x18d387}=_0x38ce45,_0x2da4bf=_0x145c33(_0x3bbc41,_0x40f826);_0x2da4bf&&(_0x2da4bf[_0x1c25c2(0x335)]=_0x18d387);}function _0x415b4b(_0x58e6c9,_0x3f6cad){const _0x529833=_0x4d0853,{options:_0x322c72}=_0x3f6cad;_0x58e6c9['options']={..._0x58e6c9[_0x529833(0x188)],..._0x322c72};}const _0x554cb2={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0xb6),'handler'(_0x2ae0db,_0x4aced8){const _0x7d507b=_0x4d0853;if(!_0x4aced8)return!0x1;if(!!_0x2ae0db[_0x7d507b(0x2c0)](_0x26267f[_0x7d507b(0xa9)])['getConfig'](_0x7fa735))return!0x0;const _0x3d8f17=_0x2ae0db[_0x7d507b(0x2c0)](_0x2a0a80['SheetsPivotDataSourceModel']),{pivotTableId:_0x125875,fieldJson:_0x34df97,area:_0x17c7fc,index:_0x12078f,unitId:_0x54f5aa,subUnitId:_0xad1af0}=_0x4aced8,_0x456e87=_0x3d8f17[_0x7d507b(0xfe)](_0x125875);if(!_0x456e87)return!0x1;let _0x32cff3;_0x17c7fc===_0x1f569c[_0x7d507b(0xa6)][_0x7d507b(0x29e)]?_0x32cff3=_0x1f569c['createValueField'](_0x34df97):_0x32cff3=_0x1f569c[_0x7d507b(0x246)](_0x34df97),_0x456e87['addField'](_0x32cff3,_0x17c7fc,_0x12078f);const _0x41e05c=_0x3d8f17[_0x7d507b(0x29c)](_0x54f5aa,_0xad1af0,_0x125875);_0x2ad653(_0x41e05c,_0x4aced8);const _0x227762=_0x3d8f17[_0x7d507b(0xf6)](_0x54f5aa,_0xad1af0,_0x125875);return _0x3d8f17[_0x7d507b(0x397)]({'unitId':_0x54f5aa,'subUnitId':_0xad1af0,'token':_0x125875,'type':_0x496a39[_0x7d507b(0x190)],'pivotConfig':_0x227762}),!0x0;}},_0x598e65={'type':_0x26267f['CommandType'][_0x4d0853(0x2f0)],'id':_0x4d0853(0x19d),'handler'(_0x3f1d8c,_0x14c050){const _0x5b1a16=_0x4d0853;if(!_0x14c050)return!0x1;if(!!_0x3f1d8c[_0x5b1a16(0x2c0)](_0x26267f['IConfigService'])[_0x5b1a16(0xe1)](_0x7fa735))return!0x0;const _0x133822=_0x3f1d8c[_0x5b1a16(0x2c0)](_0x2a0a80[_0x5b1a16(0x2bb)]),{pivotTableId:_0x34bfca,fieldId:_0x14583f,unitId:_0x27972c,subUnitId:_0x317f90}=_0x14c050,_0x382ef8=_0x133822[_0x5b1a16(0xfe)](_0x34bfca);if(!_0x382ef8)return!0x1;_0x382ef8[_0x5b1a16(0x266)](_0x14583f);const _0x19a1fb=_0x133822[_0x5b1a16(0x29c)](_0x27972c,_0x317f90,_0x34bfca);_0xf8aa6a(_0x19a1fb,_0x14c050);const _0xce125f=_0x133822[_0x5b1a16(0xf6)](_0x27972c,_0x317f90,_0x34bfca);return _0x133822[_0x5b1a16(0x397)]({'unitId':_0x27972c,'subUnitId':_0x317f90,'token':_0x34bfca,'type':_0x496a39['Set'],'pivotConfig':_0xce125f}),!0x0;}},_0x5161fe={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x305a0e,_0x3438e9){const _0x405840=_0x4d0853;if(!_0x3438e9)return!0x1;if(!!_0x305a0e[_0x405840(0x2c0)](_0x26267f['IConfigService'])[_0x405840(0xe1)](_0x7fa735))return!0x0;const _0x3ce734=_0x305a0e[_0x405840(0x2c0)](_0x2a0a80[_0x405840(0x2bb)]),{unitId:_0x2fbcb4,subUnitId:_0x5b9f92,pivotTableId:_0x2d81d3,fieldId:_0x1894ab,name:_0x579ba8}=_0x3438e9,_0x2cac37=_0x3ce734[_0x405840(0xfe)](_0x2d81d3);if(!_0x2cac37)return!0x1;_0x2cac37['renameField'](_0x1894ab,_0x579ba8);const _0x623b00=_0x3ce734['getPivotTableModelConfig'](_0x2fbcb4,_0x5b9f92,_0x2d81d3);return _0x24b376(_0x623b00,_0x3438e9),_0x3ce734[_0x405840(0x397)]({'unitId':_0x2fbcb4,'subUnitId':_0x5b9f92,'token':_0x2d81d3,'type':_0x496a39[_0x405840(0x190)]}),!0x0;}},_0x4afe09={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x1ad0e4,_0x18c05d){const _0x3d1efe=_0x4d0853;if(!_0x18c05d)return!0x1;if(!!_0x1ad0e4['get'](_0x26267f[_0x3d1efe(0xa9)])['getConfig'](_0x7fa735))return!0x0;const _0x169109=_0x1ad0e4[_0x3d1efe(0x2c0)](_0x2a0a80['SheetsPivotDataSourceModel']),{unitId:_0xb3827a,subUnitId:_0xe627bc,pivotTableId:_0x1c677b,fieldId:_0x51208e,collapse:_0x5a78d5,item:_0x49d9d8}=_0x18c05d,_0x1b81cf=_0x169109['getPivotTableInstance'](_0x1c677b);if(!_0x1b81cf)return!0x1;_0x1b81cf['setCollapse'](_0x51208e,_0x5a78d5,_0x49d9d8);const _0x39ebb1=_0x169109[_0x3d1efe(0x29c)](_0xb3827a,_0xe627bc,_0x1c677b);return _0x341a93(_0x39ebb1,_0x18c05d),_0x169109['addDirtyPivotTable']({'unitId':_0xb3827a,'subUnitId':_0xe627bc,'token':_0x1c677b,'type':_0x496a39['Set']}),!0x0;}},_0x255be1={'type':_0x26267f[_0x4d0853(0x109)]['MUTATION'],'id':_0x4d0853(0xf9),'handler'(_0x566bef,_0x1ba1c1){const _0x479e78=_0x4d0853;if(!_0x1ba1c1)return!0x1;if(!!_0x566bef[_0x479e78(0x2c0)](_0x26267f[_0x479e78(0xa9)])[_0x479e78(0xe1)](_0x7fa735))return!0x0;const _0x5d35eb=_0x566bef[_0x479e78(0x2c0)](_0x2a0a80[_0x479e78(0x2bb)]),{unitId:_0x20371e,subUnitId:_0x54ed6c,pivotTableId:_0x31efbe,fieldId:_0x38da2b,format:_0x57556e}=_0x1ba1c1,_0xf78141=_0x5d35eb[_0x479e78(0xfe)](_0x31efbe);if(!_0xf78141)return!0x1;_0xf78141['setFieldFormat'](_0x38da2b,_0x57556e);const _0x23f265=_0x5d35eb[_0x479e78(0x29c)](_0x20371e,_0x54ed6c,_0x31efbe);return _0x2143d9(_0x23f265,_0x1ba1c1),_0x5d35eb['addDirtyPivotTable']({'unitId':_0x20371e,'subUnitId':_0x54ed6c,'token':_0x31efbe,'type':_0x496a39[_0x479e78(0x190)]}),!0x0;}},_0x2aac9e={'type':_0x26267f['CommandType'][_0x4d0853(0x2f0)],'id':_0x4d0853(0x1d8),'handler'(_0x54dc73,_0x49a98d){const _0x8e1a0=_0x4d0853;if(!_0x49a98d)return!0x1;if(!!_0x54dc73['get'](_0x26267f[_0x8e1a0(0xa9)])[_0x8e1a0(0xe1)](_0x7fa735))return!0x0;const _0x5d6604=_0x54dc73[_0x8e1a0(0x2c0)](_0x2a0a80[_0x8e1a0(0x2bb)]),{unitId:_0x431cbd,subUnitId:_0x374066,pivotTableId:_0x21ad05,fieldId:_0x51d239,filterInfo:_0x40a343}=_0x49a98d,_0x206188=_0x5d6604['getPivotTableInstance'](_0x21ad05);if(!_0x206188)return!0x1;_0x206188[_0x8e1a0(0x103)](_0x51d239,_0x40a343);const _0x32a078=_0x5d6604[_0x8e1a0(0x29c)](_0x431cbd,_0x374066,_0x21ad05);return _0x4bbf12(_0x32a078,_0x49a98d),_0x5d6604[_0x8e1a0(0x397)]({'unitId':_0x431cbd,'subUnitId':_0x374066,'token':_0x21ad05,'type':_0x496a39[_0x8e1a0(0x190)]}),!0x0;}},_0x1bb477={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x37c),'handler'(_0x11548c,_0x1a61f6){const _0x156368=_0x4d0853;if(!_0x1a61f6)return!0x1;if(!!_0x11548c[_0x156368(0x2c0)](_0x26267f[_0x156368(0xa9)])[_0x156368(0xe1)](_0x7fa735))return!0x0;const _0x124965=_0x11548c['get'](_0x2a0a80[_0x156368(0x2bb)]),{unitId:_0x3db423,subUnitId:_0x2568b3,pivotTableId:_0x23158c,options:_0x54095e}=_0x1a61f6,_0x37ef52=_0x124965[_0x156368(0xfe)](_0x23158c);if(!_0x37ef52)return!0x1;_0x37ef52[_0x156368(0x351)](_0x54095e);const _0x5eda49=_0x124965[_0x156368(0x29c)](_0x3db423,_0x2568b3,_0x23158c);return _0x415b4b(_0x5eda49,_0x1a61f6),_0x124965[_0x156368(0x397)]({'unitId':_0x3db423,'subUnitId':_0x2568b3,'token':_0x23158c,'type':_0x496a39[_0x156368(0x190)]}),!0x0;}},_0x3f1b34={'type':_0x26267f['CommandType'][_0x4d0853(0x2f0)],'id':_0x4d0853(0x219),'handler'(_0x309737,_0x1a5d7c){const _0x2e5a4b=_0x4d0853;if(!_0x1a5d7c)return!0x1;if(!!_0x309737[_0x2e5a4b(0x2c0)](_0x26267f['IConfigService'])[_0x2e5a4b(0xe1)](_0x7fa735))return!0x0;const _0x44f4e3=_0x309737['get'](_0x2a0a80[_0x2e5a4b(0x2bb)]),{unitId:_0x37e945,subUnitId:_0x3f74ac,pivotTableId:_0x5eae26,sortInfo:_0x55bfa5,fieldId:_0x341ef4}=_0x1a5d7c,_0x3a2671=_0x44f4e3[_0x2e5a4b(0xfe)](_0x5eae26);if(!_0x3a2671)return!0x1;_0x3a2671[_0x2e5a4b(0x186)](_0x341ef4,_0x55bfa5);const _0x56eb40=_0x44f4e3[_0x2e5a4b(0x29c)](_0x37e945,_0x3f74ac,_0x5eae26);return _0x2fe29f(_0x56eb40,_0x1a5d7c),_0x44f4e3[_0x2e5a4b(0x397)]({'unitId':_0x37e945,'subUnitId':_0x3f74ac,'token':_0x5eae26,'type':_0x496a39['Set']}),!0x0;}},_0x44dfbd={'type':_0x26267f['CommandType'][_0x4d0853(0x2f0)],'id':_0x4d0853(0x9f),'handler'(_0x44ef28,_0x3df27f){const _0x15ab68=_0x4d0853;if(!_0x3df27f)return!0x1;if(!!_0x44ef28[_0x15ab68(0x2c0)](_0x26267f['IConfigService'])[_0x15ab68(0xe1)](_0x7fa735))return!0x0;const _0x25cb3b=_0x44ef28['get'](_0x2a0a80[_0x15ab68(0x2bb)]),{unitId:_0x5e79e3,subUnitId:_0x92b250,pivotTableId:_0x45ee2c,fieldId:_0x13ba28,subtotalType:_0x46077b}=_0x3df27f,_0x261e16=_0x25cb3b[_0x15ab68(0xfe)](_0x45ee2c);if(!_0x261e16)return!0x1;_0x261e16[_0x15ab68(0x13a)](_0x13ba28,_0x46077b);const _0xcb25f8=_0x25cb3b['getPivotTableModelConfig'](_0x5e79e3,_0x92b250,_0x45ee2c);return _0x42a41c(_0xcb25f8,_0x3df27f),_0x25cb3b[_0x15ab68(0x397)]({'unitId':_0x5e79e3,'subUnitId':_0x92b250,'token':_0x45ee2c,'type':_0x496a39[_0x15ab68(0x190)]}),!0x0;}},_0x2e0988={'type':_0x26267f[_0x4d0853(0x109)]['MUTATION'],'id':_0x4d0853(0xea),'handler'(_0x1bb28a,_0x73edad){const _0x3ccfd9=_0x4d0853;if(!_0x73edad)return!0x1;if(!!_0x1bb28a['get'](_0x26267f[_0x3ccfd9(0xa9)])[_0x3ccfd9(0xe1)](_0x7fa735))return!0x0;const _0x649dcf=_0x1bb28a['get'](_0x2a0a80[_0x3ccfd9(0x2bb)]),{unitId:_0xe2b188,subUnitId:_0x3d9ebb,pivotTableId:_0x4152b7,fieldId:_0xe4a64f,filterInfo:_0x4bf528}=_0x73edad,_0x325809=_0x649dcf['getPivotTableInstance'](_0x4152b7);if(!_0x325809)return!0x1;_0x325809[_0x3ccfd9(0xac)](_0xe4a64f,_0x4bf528);const _0xc0899=_0x649dcf[_0x3ccfd9(0x29c)](_0xe2b188,_0x3d9ebb,_0x4152b7);return _0x3711f5(_0xc0899,_0x73edad),_0x649dcf[_0x3ccfd9(0x397)]({'unitId':_0xe2b188,'subUnitId':_0x3d9ebb,'token':_0x4152b7,'type':_0x496a39[_0x3ccfd9(0x190)]}),!0x0;}},_0x4c9f8a={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0xe6),'handler'(_0x3f3fa5,_0x517ec0){const _0x55aa0a=_0x4d0853;if(!_0x517ec0)return!0x1;if(!!_0x3f3fa5[_0x55aa0a(0x2c0)](_0x26267f['IConfigService'])[_0x55aa0a(0xe1)](_0x7fa735))return!0x0;const _0x26aca5=_0x3f3fa5[_0x55aa0a(0x2c0)](_0x2a0a80[_0x55aa0a(0x2bb)]),{unitId:_0xa6b01b,subUnitId:_0x440657,pivotTableId:_0x463cd7,area:_0xa70e03,index:_0xc5e05e,fieldId:_0x3c7528}=_0x517ec0,_0x1e5161=_0x26aca5[_0x55aa0a(0xfe)](_0x463cd7);if(!_0x1e5161)return!0x1;_0x1e5161['updateFieldPosition'](_0x3c7528,_0xa70e03,_0xc5e05e);const _0x230a2f=_0x26aca5[_0x55aa0a(0x29c)](_0xa6b01b,_0x440657,_0x463cd7);return _0x575f09(_0x230a2f,_0x517ec0),_0x26aca5['addDirtyPivotTable']({'unitId':_0xa6b01b,'subUnitId':_0x440657,'token':_0x463cd7,'type':_0x496a39[_0x55aa0a(0x190)]}),!0x0;}},_0x536d78={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x37f),'handler'(_0x28f06a,_0xc0f563){const _0x53f699=_0x4d0853;if(!_0xc0f563)return!0x1;if(!!_0x28f06a['get'](_0x26267f[_0x53f699(0xa9)])[_0x53f699(0xe1)](_0x7fa735))return!0x0;const _0x52c4da=_0x28f06a[_0x53f699(0x2c0)](_0x2a0a80['SheetsPivotDataSourceModel']),{unitId:_0x400f8d,subUnitId:_0x15d1fa,pivotTableId:_0x275b31,sourceName:_0x293ece,dataFieldId:_0x453090,tableFieldId:_0x31dadf}=_0xc0f563,_0x24037f=_0x52c4da[_0x53f699(0xfe)](_0x275b31);if(!_0x24037f)return!0x1;_0x24037f[_0x53f699(0x133)](_0x31dadf,_0x293ece,_0x453090);const _0x37b032=_0x52c4da[_0x53f699(0x29c)](_0x400f8d,_0x15d1fa,_0x275b31);return _0x52113c(_0x37b032,_0xc0f563),_0x52c4da['addDirtyPivotTable']({'unitId':_0x400f8d,'subUnitId':_0x15d1fa,'token':_0x275b31,'type':_0x496a39[_0x53f699(0x190)]}),!0x0;}},_0x310eec={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x26b),'handler'(_0x2ca313,_0x5ac8e9){const _0xf057f7=_0x4d0853;if(!_0x5ac8e9)return!0x1;if(!!_0x2ca313[_0xf057f7(0x2c0)](_0x26267f[_0xf057f7(0xa9)])['getConfig'](_0x7fa735))return!0x0;const _0x37a5e2=_0x2ca313[_0xf057f7(0x2c0)](_0x2a0a80[_0xf057f7(0x2bb)]),{unitId:_0x32f583,subUnitId:_0x357d52,pivotTableId:_0x11538b,valuePosition:_0x22ae9e,index:_0x1bc0df}=_0x5ac8e9,_0x40c82b=_0x37a5e2[_0xf057f7(0xfe)](_0x11538b);if(!_0x40c82b)return!0x1;_0x40c82b['updateValuePosition'](_0x22ae9e,_0x1bc0df);const _0x2e0895=_0x37a5e2['getPivotTableModelConfig'](_0x32f583,_0x357d52,_0x11538b);return _0x1ea301(_0x2e0895,_0x5ac8e9),_0x37a5e2['addDirtyPivotTable']({'unitId':_0x32f583,'subUnitId':_0x357d52,'token':_0x11538b,'type':_0x496a39['Set']}),!0x0;}};function _0x3d3959(_0x4c14bd,_0xc607bd,_0x501595){const _0x159ddd=_0x4d0853,{pivotTableId:_0x1d0460,unitId:_0x45a91c,subUnitId:_0x18ef37}=_0xc607bd,_0x2dc5d0=[],_0x4157fa=[];for(const _0x54c00 of _0x501595)switch(_0x54c00[_0x159ddd(0x15b)]){case _0x1f569c[_0x159ddd(0x16d)][_0x159ddd(0x27c)]:{const {fieldJson:_0x60edfe,area:_0x265714,index:_0x4074e9}=_0x54c00,_0x361051={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldJson':_0x60edfe,'area':_0x265714,'index':_0x4074e9},_0x15e1d9={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x60edfe['id'],'area':_0x265714,'index':_0x4074e9};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x554cb2['id'],'params':_0x361051}),_0x4157fa[_0x159ddd(0x122)]({'id':_0x598e65['id'],'params':_0x15e1d9});}break;case _0x1f569c['PivotTableChangeTypeEnum'][_0x159ddd(0xd2)]:{const {fieldId:_0x432082,newSubtotalType:_0x4e95c4,oldSubtotalType:_0xffe5fc}=_0x54c00,_0x2ff1dd={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x432082,'subtotalType':_0x4e95c4};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x44dfbd['id'],'params':_0x2ff1dd});const _0xf08cd7={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x432082,'subtotalType':_0xffe5fc};_0x4157fa[_0x159ddd(0x122)]({'id':_0x44dfbd['id'],'params':_0xf08cd7});}break;case _0x1f569c[_0x159ddd(0x16d)][_0x159ddd(0x2c5)]:{const {fieldId:_0x546981,fieldJson:_0xbde02b,area:_0x699036,index:_0x10ce1a}=_0x54c00,_0x36026c={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x546981,'index':_0x10ce1a,'area':_0x699036};_0x2dc5d0['push']({'id':_0x598e65['id'],'params':_0x36026c});const _0x6b0002={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldJson':_0xbde02b,'area':_0x699036,'index':_0x10ce1a};_0x4157fa[_0x159ddd(0x122)]({'id':_0x554cb2['id'],'params':_0x6b0002});}break;case _0x1f569c[_0x159ddd(0x16d)][_0x159ddd(0x11e)]:{const {fieldId:_0x534554,oldName:_0x536b02,newName:_0xd921be}=_0x54c00,_0x18c8ca={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x534554,'name':_0xd921be};_0x2dc5d0['push']({'id':_0x5161fe['id'],'params':_0x18c8ca});const _0xfb373c={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x534554,'name':_0x536b02};_0x4157fa[_0x159ddd(0x122)]({'id':_0x5161fe['id'],'params':_0xfb373c});}break;case _0x1f569c[_0x159ddd(0x16d)]['SetFilterInfo']:{const {fieldId:_0x1586e9,oldFilterInfo:_0x495c94,newFilterInfo:_0xc62306}=_0x54c00,_0x18cda1={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x1586e9,'filterInfo':_0xc62306};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x2aac9e['id'],'params':_0x18cda1});const _0x16662b={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x1586e9,'filterInfo':_0x495c94};_0x4157fa['unshift']({'id':_0x2aac9e['id'],'params':_0x16662b});}break;case _0x1f569c[_0x159ddd(0x16d)][_0x159ddd(0xda)]:{const {fieldId:_0x423759,oldSortInfo:_0x341736,newSortInfo:_0x57eff1}=_0x54c00,_0x5d2600={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x423759,'sortInfo':_0x57eff1};_0x2dc5d0['push']({'id':_0x3f1b34['id'],'params':_0x5d2600});const _0x123540={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x423759,'sortInfo':_0x341736};_0x4157fa['unshift']({'id':_0x3f1b34['id'],'params':_0x123540});}break;case _0x1f569c[_0x159ddd(0x16d)][_0x159ddd(0x197)]:{const {oldOptions:_0x518855,newOptions:_0x5d1c67}=_0x54c00,_0x3283c3={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'options':_0x5d1c67};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x1bb477['id'],'params':_0x3283c3});const _0x4e7e17={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'options':_0x518855};_0x4157fa[_0x159ddd(0x122)]({'id':_0x1bb477['id'],'params':_0x4e7e17});}break;case _0x1f569c[_0x159ddd(0x16d)]['UpdateFieldPosition']:{const {oldArea:_0x300df2,newArea:_0x407956,oldIndex:_0x1bf84b,newIndex:_0x1ea2cb,fieldId:_0x44578a}=_0x54c00,_0x2d64d9={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x44578a,'area':_0x407956,'index':_0x1ea2cb,'oldArea':_0x300df2,'oldIndex':_0x1bf84b};_0x2dc5d0['push']({'id':_0x4c9f8a['id'],'params':_0x2d64d9});const _0x11e9a2={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x44578a,'area':_0x300df2,'index':_0x1bf84b,'oldArea':_0x407956,'oldIndex':_0x1ea2cb};_0x4157fa[_0x159ddd(0x122)]({'id':_0x4c9f8a['id'],'params':_0x11e9a2});}break;case _0x1f569c[_0x159ddd(0x16d)]['UpdateValuePosition']:{const {oldValuePosition:_0x53678c,newValuePosition:_0x233560,oldIndex:_0x4149f9,newIndex:_0x8ed826}=_0x54c00,_0x553cfa={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'valuePosition':_0x233560,'index':_0x8ed826};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x310eec['id'],'params':_0x553cfa});const _0x23dbd7={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'valuePosition':_0x53678c,'index':_0x4149f9};_0x4157fa['unshift']({'id':_0x310eec['id'],'params':_0x23dbd7});}break;case _0x1f569c[_0x159ddd(0x16d)]['SetCollapse']:{const {fieldId:_0xd78dee,collapse:_0x2cdf7f,item:_0x44bec2}=_0x54c00,_0x5d6629={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0xd78dee,'collapse':_0x2cdf7f,'item':_0x44bec2};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x4afe09['id'],'params':_0x5d6629});const _0x3908fe={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0xd78dee,'collapse':!_0x2cdf7f,'item':_0x44bec2};_0x4157fa[_0x159ddd(0x122)]({'id':_0x4afe09['id'],'params':_0x3908fe});}break;case _0x1f569c[_0x159ddd(0x16d)][_0x159ddd(0x1bc)]:{const {newFormat:_0x4d3ace,oldFormat:_0x32a8d9,fieldId:_0x3b3aa7}=_0x54c00,_0x4505a2={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x3b3aa7,'format':_0x4d3ace};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x255be1['id'],'params':_0x4505a2});const _0xd89bdb={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x3b3aa7,'format':_0x32a8d9};_0x4157fa[_0x159ddd(0x122)]({'id':_0x255be1['id'],'params':_0xd89bdb});}break;case _0x1f569c[_0x159ddd(0x16d)]['UpdateSource']:{const {tableFieldId:_0xa9dc06,oldSourceName:_0x41e312,newSourceName:_0x218c34,oldDataFieldId:_0x16b1ca,newDataFieldId:_0x11f910}=_0x54c00,_0x15408c={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'tableFieldId':_0xa9dc06,'sourceName':_0x218c34,'dataFieldId':_0x11f910};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x536d78['id'],'params':_0x15408c});const _0x4f2542={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'tableFieldId':_0xa9dc06,'sourceName':_0x41e312,'dataFieldId':_0x16b1ca};_0x4157fa[_0x159ddd(0x122)]({'id':_0x536d78['id'],'params':_0x4f2542});}break;case _0x1f569c[_0x159ddd(0x16d)][_0x159ddd(0x3ac)]:{const {fieldId:_0x228bb5,filterInfo:_0x2e1136,oldFilterInfo:_0x2bce84}=_0x54c00,_0x13c04f={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x228bb5,'filterInfo':_0x2e1136};_0x2dc5d0[_0x159ddd(0x269)]({'id':_0x2e0988['id'],'params':_0x13c04f});const _0xc8e3b2={'unitId':_0x45a91c,'subUnitId':_0x18ef37,'pivotTableId':_0x1d0460,'fieldId':_0x228bb5,'filterInfo':_0x2bce84};_0x4157fa['unshift']({'id':_0x2e0988['id'],'params':_0xc8e3b2});}}return{'redos':_0x2dc5d0,'undos':_0x4157fa};}function _0x3eab22(_0x54614b,_0x3c8f46){const _0x45ec0d=_0x4d0853;var _0x28011c;const _0x383608=_0x54614b[_0x45ec0d(0x2c0)](_0x2a0a80[_0x45ec0d(0x368)]),{cellInfo:_0x1a4701,view:_0x1315ef,isEmpty:_0x1073e7}=_0x3c8f46;return(_0x28011c=_0x383608[_0x45ec0d(0x149)][_0x45ec0d(0x21f)](_0x2039f9)(_0x54bb81,{'cellInfo':_0x1a4701,'view':_0x1315ef,'isEmpty':_0x1073e7}))!=null?_0x28011c:_0x54bb81;}const _0x5743bd=()=>typeof process<'u'&&process[_0x4d0853(0x182)]!=null&&process[_0x4d0853(0x182)][_0x4d0853(0x1aa)]!=null,_0xecd0d5={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0xc2),'handler'(_0x2515ed,_0x54b37b){const _0x47eb3e=_0x4d0853;var _0x583232;if(!_0x54b37b)return!0x1;const _0x45b63f=_0x2515ed[_0x47eb3e(0x2c0)](_0x26267f[_0x47eb3e(0xa9)]);if(!!_0x45b63f['getConfig'](_0x7fa735))return!0x0;const _0x2d31fd=_0x2515ed[_0x47eb3e(0x2c0)](_0x26267f[_0x47eb3e(0x22c)]),_0x540b5d=_0x2515ed[_0x47eb3e(0x2c0)](_0x2a0a80['SheetsPivotDataSourceModel']),{pivotTableId:_0x13e061,pivotTableConfig:_0x137e0c,collectionConfig:_0x2251d4,unitId:_0x1e4bec,subUnitId:_0x3f585d}=_0x54b37b,{sourceRangeInfo:_0x3c9d9,fieldsConfig:_0xb8eebf,targetCellInfo:_0x48ef17}=_0x137e0c,_0x41bb01=_0x2d31fd[_0x47eb3e(0x96)](_0x1e4bec);if(!_0x41bb01||!_0x41bb01[_0x47eb3e(0x296)](_0x3f585d))return!0x1;if(!_0x5743bd()){let _0x3c8144=0x0;_0x41bb01[_0x47eb3e(0x24a)]()[_0x47eb3e(0x35d)](_0x120c6c=>{const _0x2e9c89=_0x47eb3e;var _0xdaee64,_0x5378d5;_0x3c8144+=(_0x5378d5=(_0xdaee64=_0x540b5d[_0x2e9c89(0x193)](_0x1e4bec,_0x120c6c[_0x2e9c89(0x389)]()))==null?void 0x0:_0xdaee64[_0x2e9c89(0x25f)])!=null?_0x5378d5:0x0;});const _0x2343fa=(_0x583232=_0x45b63f['getConfig'](_0x1cf072['LS_CONFIG_KEY']))!=null?_0x583232:{},{ls:_0x5bdf49,pbk:_0x7c6509}=_0x2343fa;if(!_0x196894(_0x5bdf49,_0x7c6509))throw new _0x26267f['CustomCommandExecutionError'](_0x47eb3e(0x377));const _0x5da71e=_0x3b3186(_0x14a7c4,_0x5bdf49,_0x7c6509)[_0x47eb3e(0x23b)];if(_0x3c8144>=_0x5da71e)throw new _0x26267f[(_0x47eb3e(0x313))](_0x47eb3e(0x377));}if(!_0x2251d4||!_0xb8eebf)return!0x1;const {collection:_0x59c0c9,updateDataFieldList:_0x1394f7}=_0x540b5d['addCollectionByJSON'](_0x13e061,_0x2251d4,_0x3c9d9,_0x48ef17);_0x540b5d[_0x47eb3e(0x189)](_0x59c0c9,_0x1394f7,_0x3c9d9);const _0x20dffa=new _0x1f569c[(_0x47eb3e(0x372))](_0x59c0c9,void 0x0,_0x13e061);_0x20dffa[_0x47eb3e(0x376)](_0xb8eebf);const _0x48f19f=JSON[_0x47eb3e(0x17d)](JSON[_0x47eb3e(0x2ac)](_0x137e0c));return _0x540b5d['addPivotTable'](_0x1e4bec,_0x3f585d,_0x13e061,_0x20dffa,_0x48f19f),_0x540b5d[_0x47eb3e(0x397)]({'unitId':_0x1e4bec,'subUnitId':_0x3f585d,'token':_0x13e061,'type':_0x496a39[_0x47eb3e(0x196)],'pivotConfig':_0x48f19f}),!0x0;}},_0x4bff6f={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x3a28f5,_0x546700){const _0x2ebda3=_0x4d0853;if(!_0x546700)return!0x1;if(!!_0x3a28f5[_0x2ebda3(0x2c0)](_0x26267f['IConfigService'])[_0x2ebda3(0xe1)](_0x7fa735))return!0x0;const {pivotTableId:_0x214cb7,unitId:_0x422749,subUnitId:_0x3d762d}=_0x546700,_0xc18c7a=_0x3a28f5[_0x2ebda3(0x2c0)](_0x2a0a80[_0x2ebda3(0x2bb)]);return _0xc18c7a[_0x2ebda3(0xf6)](_0x422749,_0x3d762d,_0x214cb7)?(_0xc18c7a[_0x2ebda3(0x397)]({'unitId':_0x422749,'subUnitId':_0x3d762d,'token':_0x214cb7,'type':_0x496a39['Delete']}),_0xc18c7a[_0x2ebda3(0x130)](_0x422749,_0x3d762d,_0x214cb7),!0x0):!0x1;}},_0x9895ea={'type':_0x26267f[_0x4d0853(0x109)]['MUTATION'],'id':_0x4d0853(0x2c2),'handler'(_0x4c6bd7,_0x5e5e05){const _0x137213=_0x4d0853;if(!_0x5e5e05)return!0x1;if(!!_0x4c6bd7[_0x137213(0x2c0)](_0x26267f[_0x137213(0xa9)])[_0x137213(0xe1)](_0x7fa735))return!0x0;const {pivotTableId:_0x1e3ff7,targetCellPosition:_0x564c7e,unitId:_0x26dccf,subUnitId:_0x52d278}=_0x5e5e05,_0x276db4=_0x4c6bd7[_0x137213(0x2c0)](_0x2a0a80[_0x137213(0x2bb)]);if(!_0x276db4[_0x137213(0xfe)](_0x5e5e05[_0x137213(0x2e5)]))return!0x1;const _0xb1bd74=_0x276db4[_0x137213(0x121)](_0x1e3ff7);if(!_0xb1bd74)return!0x1;const _0x4d3045=_0x276db4[_0x137213(0x240)](_0xb1bd74['unitId'],_0x5e5e05[_0x137213(0x2e5)]);if(!_0x4d3045)return!0x1;const _0x342621=_0x276db4[_0x137213(0xf6)](_0xb1bd74[_0x137213(0x358)],_0xb1bd74['subUnitId'],_0x1e3ff7);if(!_0x342621)return!0x1;const _0x343700=_0x26267f[_0x137213(0x105)][_0x137213(0x322)](_0x342621);_0x343700['targetCellInfo']={'unitId':_0x26dccf,'subUnitId':_0x52d278,'row':_0x564c7e[_0x137213(0x396)],'col':_0x564c7e[_0x137213(0x300)]};const _0x1a62a9=_0x4d3045[_0x137213(0x172)]();if(_0xb1bd74[_0x137213(0x191)]===_0x52d278&&_0xb1bd74[_0x137213(0x358)]===_0x26dccf)_0x276db4[_0x137213(0x1db)](_0x26dccf,_0x52d278,_0x1e3ff7,_0x343700),_0x276db4['addDirtyPivotTable']({'unitId':_0x26dccf,'subUnitId':_0x52d278,'token':_0x1e3ff7,'type':_0x496a39[_0x137213(0x190)]});else{_0x276db4[_0x137213(0x397)]({'unitId':_0xb1bd74['unitId'],'subUnitId':_0xb1bd74[_0x137213(0x191)],'token':_0x1e3ff7,'type':_0x496a39['Delete']}),_0x276db4[_0x137213(0x130)](_0xb1bd74[_0x137213(0x358)],_0xb1bd74[_0x137213(0x191)],_0x1e3ff7);const _0x3609cc=_0x276db4[_0x137213(0x10b)](_0x1e3ff7,_0x1a62a9,_0x342621[_0x137213(0x35a)],_0x343700[_0x137213(0x2a0)]),_0x3dd9b9=new _0x1f569c[(_0x137213(0x372))](_0x3609cc[_0x137213(0x2e2)],void 0x0,_0x1e3ff7);_0x3dd9b9[_0x137213(0x376)](_0x343700[_0x137213(0x360)]),_0x276db4[_0x137213(0x381)](_0x26dccf,_0x52d278,_0x1e3ff7,_0x3dd9b9,_0x343700),_0x276db4[_0x137213(0x397)]({'unitId':_0x26dccf,'subUnitId':_0x52d278,'token':_0x1e3ff7,'type':_0x496a39['Add'],'pivotConfig':_0x343700});}return!0x0;}},_0x82b78={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x14f),'handler'(_0x7cb7da,_0xd494bf){const _0x12f6ef=_0x4d0853;if(!_0xd494bf)return!0x1;if(!!_0x7cb7da[_0x12f6ef(0x2c0)](_0x26267f[_0x12f6ef(0xa9)])[_0x12f6ef(0xe1)](_0x7fa735))return!0x0;const _0x8a6733=_0x7cb7da['get'](_0x2a0a80['SheetsPivotDataSourceModel']),{pivotTableId:_0x8024a0,deleteIds:_0x30596a,collectionJSON:_0xc3c809,dataRangeInfo:_0x3f2bd5,unitId:_0x1b981f,subUnitId:_0x308eb9}=_0xd494bf,_0x4468eb=_0x8a6733[_0x12f6ef(0xfe)](_0x8024a0),_0x46f0e5=_0x8a6733[_0x12f6ef(0xf6)](_0x1b981f,_0x308eb9,_0x8024a0);if(!_0x4468eb||!_0x46f0e5)return!0x1;const {collection:_0x11ea10,updateDataFieldList:_0x1004ce}=_0x8a6733[_0x12f6ef(0x10b)](_0x8024a0,_0xc3c809,_0x3f2bd5,_0x46f0e5['targetCellInfo']);_0x8a6733[_0x12f6ef(0x189)](_0x11ea10,_0x1004ce,_0x3f2bd5),_0x4468eb[_0x12f6ef(0x2f8)](_0x11ea10);for(const _0x396873 of _0x30596a)_0x8a6733[_0x12f6ef(0x233)](_0x3f2bd5[_0x12f6ef(0x358)],_0x396873);const _0x283eba=_0x8a6733[_0x12f6ef(0xf6)](_0x1b981f,_0x308eb9,_0x8024a0);return _0x283eba[_0x12f6ef(0x35a)]=JSON[_0x12f6ef(0x17d)](JSON['stringify'](_0x3f2bd5)),_0x8a6733[_0x12f6ef(0x397)]({'unitId':_0x1b981f,'subUnitId':_0x308eb9,'token':_0x8024a0,'type':_0x496a39[_0x12f6ef(0x190)]}),!0x0;}},_0x1f05fd={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'id':_0x4d0853(0x310),'handler'(){return!0x0;}};var _0x29816d=Object[_0x4d0853(0x31e)],_0x245516=(_0x5f8888,_0x1c2bc6,_0x2b39b3,_0x41bba2)=>{const _0x3fc1f7=_0x4d0853;for(var _0x22e16a=_0x41bba2>0x1?void 0x0:_0x41bba2?_0x29816d(_0x1c2bc6,_0x2b39b3):_0x1c2bc6,_0xd6d1ba=_0x5f8888[_0x3fc1f7(0x19c)]-0x1,_0x10469d;_0xd6d1ba>=0x0;_0xd6d1ba--)(_0x10469d=_0x5f8888[_0xd6d1ba])&&(_0x22e16a=_0x10469d(_0x22e16a)||_0x22e16a);return _0x22e16a;},_0x5496cc=(_0x3075d3,_0x51f957)=>(_0x203e76,_0xf55fb4)=>_0x51f957(_0x203e76,_0xf55fb4,_0x3075d3);_0x2a0a80['SheetsPivotRPCService']=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x2602f8,_0x13c790){const _0x3bfa00=_0x4d0853;super(),_0x3aca41(this,_0x3bfa00(0x2f7),new Map()),(this[_0x3bfa00(0x23f)]=_0x2602f8,this[_0x3bfa00(0x304)]=_0x13c790);}['handleAsyncResponse'](_0x4148b1){const _0x56eb95=_0x4d0853,{version:_0x582cf4}=_0x4148b1,_0x16720d=this[_0x56eb95(0x2f7)]['get'](_0x582cf4);_0x16720d&&(_0x16720d(_0x4148b1),this[_0x56eb95(0x2f7)][_0x56eb95(0xca)](_0x582cf4));}['getPivotDisplayConfig'](_0x1a8f33){return new Promise((_0xf2cab9,_0x416ddd)=>{const _0x9aa47b=_0x4225,_0x217a59=this[_0x9aa47b(0x385)]();this[_0x9aa47b(0x2f7)][_0x9aa47b(0x283)](_0x217a59,_0xf2cab9),this[_0x9aa47b(0x304)][_0x9aa47b(0x28d)](_0x1ff8a2['id'],{'version':_0x217a59,..._0x1a8f33},{'onlyLocal':!0x0});});}[_0x4d0853(0x385)](){const _0x844fe6=_0x4d0853;return Math['random']()[_0x844fe6(0x116)](0x24)[_0x844fe6(0x289)](0x2,0x10);}},_0x2a0a80['SheetsPivotRPCService']=_0x245516([_0x5496cc(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0xe4)])),_0x5496cc(0x1,_0x26267f['Inject'](_0x26267f['ICommandService']))],_0x2a0a80[_0x4d0853(0x161)]);const _0x35630d={'id':_0x4d0853(0x37a),'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'handler':(_0x3a2c4b,_0x2c2e93)=>{const _0x5e78cd=_0x4d0853;if(!_0x2c2e93)return!0x1;if(!!_0x3a2c4b[_0x5e78cd(0x2c0)](_0x26267f['IConfigService'])[_0x5e78cd(0xe1)](_0x7fa735))return!0x0;const {pivotTableId:_0x5864cf,fieldJSON:_0xaf23fb,unitId:_0x14f74b,subUnitId:_0x591026}=_0x2c2e93,_0x14d6d5=_0x1f569c['BaseGroupField'][_0x5e78cd(0x376)](_0xaf23fb);if(!_0x14d6d5)return!0x1;const _0x404482=_0x3a2c4b[_0x5e78cd(0x2c0)](_0x2a0a80[_0x5e78cd(0x2bb)]),_0x37a40b=_0x404482['getDataFieldManager'](_0x14f74b),_0x592b47=_0x37a40b[_0x5e78cd(0x240)](_0x5864cf);_0x37a40b[_0x5e78cd(0x99)](_0x14d6d5),_0x592b47[_0x5e78cd(0x287)](_0x14d6d5['getId'](),_0x14d6d5[_0x5e78cd(0xeb)]());const _0x369230=_0x592b47[_0x5e78cd(0x307)](_0x14d6d5[_0x5e78cd(0x2a8)]());_0x369230&&_0x14d6d5['refreshGroupField'](_0x369230);const _0x232cac=_0x404482[_0x5e78cd(0xf6)](_0x14f74b,_0x591026,_0x5864cf);return _0x404482['addDirtyPivotTable']({'unitId':_0x14f74b,'subUnitId':_0x591026,'token':_0x5864cf,'type':_0x496a39[_0x5e78cd(0x190)],'pivotConfig':_0x232cac}),!0x0;}},_0x16773b={'id':_0x4d0853(0xd6),'type':_0x26267f['CommandType'][_0x4d0853(0x2f0)],'handler':(_0x298f54,_0xef4b01)=>{const _0x3a1b59=_0x4d0853;if(!_0xef4b01)return!0x1;if(!!_0x298f54['get'](_0x26267f['IConfigService'])['getConfig'](_0x7fa735))return!0x0;const {pivotTableId:_0x2327b3,dataFieldId:_0xc3e4f5,unitId:_0x375f0f,subUnitId:_0x2d2025}=_0xef4b01,_0x4c5cae=_0x298f54[_0x3a1b59(0x2c0)](_0x2a0a80['SheetsPivotDataSourceModel']),_0x3fa793=_0x4c5cae[_0x3a1b59(0x366)](_0x375f0f);_0x3fa793[_0x3a1b59(0x240)](_0x2327b3)['deleteField'](_0xc3e4f5);let _0x3ecf1c=!0x0;for(const _0x530ff4 in _0x3fa793['collections'])if(_0x3fa793[_0x3a1b59(0x144)][_0x530ff4][_0x3a1b59(0x314)]()[_0x3a1b59(0x1ec)](_0xc3e4f5)){_0x3ecf1c=!0x1;break;}_0x3ecf1c&&_0x3fa793[_0x3a1b59(0x1ca)](_0xc3e4f5);const _0x4ccf42=_0x4c5cae[_0x3a1b59(0xf6)](_0x375f0f,_0x2d2025,_0x2327b3);return _0x4c5cae[_0x3a1b59(0x397)]({'unitId':_0x375f0f,'subUnitId':_0x2d2025,'token':_0x2327b3,'type':_0x496a39[_0x3a1b59(0x190)],'pivotConfig':_0x4ccf42}),!0x0;}},_0x56a7de={'type':_0x26267f['CommandType'][_0x4d0853(0x23a)],'id':_0x4d0853(0x26d),async 'handler'(_0x13bc5b,_0x5243bb){const _0x9a4353=_0x4d0853;if(!_0x5243bb)return!0x1;const _0x480263=_0x13bc5b[_0x9a4353(0x2c0)](_0x26267f[_0x9a4353(0x284)]),_0x525fc7=_0x13bc5b['get'](_0x2a0a80[_0x9a4353(0x161)]),_0x3d04b1=_0x13bc5b[_0x9a4353(0x2c0)](_0x26267f[_0x9a4353(0x16c)]),{pivotTableId:_0xc5b854,dataFieldId:_0x31bea4,fieldArea:_0xfcd4f3,index:_0x160469,unitId:_0x4c0ea6,subUnitId:_0x3bbaad}=_0x5243bb,_0x3e1d9a=(await _0x525fc7[_0x9a4353(0x3a1)]({'unitId':_0x4c0ea6,'subUnitId':_0x3bbaad,'pivotTableId':_0xc5b854,'params':{'type':_0x3be926[_0x9a4353(0x216)],'addPivotField':{'dataFieldId':_0x31bea4,'fieldArea':_0xfcd4f3,'index':_0x160469}}}))[_0x9a4353(0x32e)][_0x9a4353(0x399)];if(!_0x3e1d9a)return!0x1;const {view:_0x2b3df7,changesets:_0x1ac0d9,isEmpty:_0x32937e,pivotTableConfig:_0xbb4c4d,shouldBeAddedGroupJSON:_0x412b50}=_0x3e1d9a,_0x9d585c=_0xbb4c4d[_0x9a4353(0x2a0)],_0x32af35=new _0x1f569c[(_0x9a4353(0xcc))]();_0x32af35[_0x9a4353(0x2bc)](_0x2b3df7);const _0x1b22e9={'cellInfo':_0x9d585c,'view':_0x32af35,'isEmpty':_0x32937e};if(!await _0x13bc5b[_0x9a4353(0x2c0)](_0x2a0a80[_0x9a4353(0x368)])[_0x9a4353(0x270)][_0x9a4353(0x1c8)](_0x32edef)(!0x0,_0x1b22e9))return!0x1;const _0x30107c=_0x426d50(_0x13bc5b,_0x32af35,_0x9d585c,_0x32937e),_0x1d6c2f=_0x3eab22(_0x13bc5b,_0x1b22e9),{undos:_0x4037f2,redos:_0x4cc589}=_0x3d3959(_0x480263,{'pivotTableId':_0xc5b854,'unitId':_0x4c0ea6,'subUnitId':_0x3bbaad},_0x1ac0d9);return _0x412b50&&(_0x4cc589[_0x9a4353(0x122)]({'id':_0x35630d['id'],'params':{'pivotTableId':_0xc5b854,'fieldJSON':_0x412b50,'unitId':_0x4c0ea6,'subUnitId':_0x3bbaad}}),_0x4037f2[_0x9a4353(0x269)]({'id':_0x16773b['id'],'params':{'pivotTableId':_0xc5b854,'dataFieldId':_0x412b50['id'],'unitId':_0x4c0ea6,'subUnitId':_0x3bbaad}})),_0x26267f[_0x9a4353(0x1b7)]([..._0x30107c[_0x9a4353(0x1b1)],..._0x1d6c2f[_0x9a4353(0x1b1)],..._0x4cc589],_0x480263),_0x3d04b1[_0x9a4353(0x33c)]({'unitID':_0x4c0ea6,'redoMutations':[..._0x30107c['redos'],..._0x1d6c2f[_0x9a4353(0x1b1)],..._0x4cc589],'undoMutations':[..._0x30107c['undos'],..._0x1d6c2f[_0x9a4353(0x192)],..._0x4037f2]}),!0x0;}},_0x35a617={'type':_0x26267f['CommandType'][_0x4d0853(0x23a)],'id':_0x4d0853(0x24f),async 'handler'(_0x8cb3c2,_0xe68add){const _0x55b02b=_0x4d0853;if(!_0xe68add)return!0x1;const {sourceDataInfo:_0x3aab67,pivotTableConfig:_0x5c989e}=_0xe68add;if(!_0x3aab67||!_0x5c989e)return!0x1;const {unitId:_0x481d60,subUnitId:_0x3e8e5c,range:_0x505c1a}=_0x3aab67,_0x20ac45=_0x8cb3c2[_0x55b02b(0x2c0)](_0x26267f[_0x55b02b(0x22c)]),_0x5edfdd=_0x8cb3c2[_0x55b02b(0x2c0)](_0x2a0a80['SheetsPivotRPCService']),_0x204884=_0x8cb3c2['get'](_0x26267f[_0x55b02b(0x2aa)]),_0xdc73d8=_0x8cb3c2[_0x55b02b(0x2c0)](_0x26267f[_0x55b02b(0x284)]),_0x49f993=_0x20ac45[_0x55b02b(0x96)](_0x481d60);if(!_0x49f993)return!0x1;const _0xe57792=_0x49f993[_0x55b02b(0x296)](_0x3e8e5c);if(!_0xe57792)return!0x1;const _0x550a6e=_0x1f569c['generateHexNumber'](0x8),_0x1fdca9=_0x505c1a||{'startRow':0x0,'startColumn':0x0,'endRow':_0xe57792[_0x55b02b(0x302)]()-0x1,'endColumn':_0xe57792[_0x55b02b(0x2cf)]()-0x1};_0x1fdca9[_0x55b02b(0x13b)]=_0x26267f[_0x55b02b(0x2d1)][_0x55b02b(0x319)];const _0x36542d=(await _0x5edfdd[_0x55b02b(0x3a1)]({'unitId':_0x481d60,'subUnitId':_0x3e8e5c,'pivotTableId':_0x550a6e,'params':{'type':_0x3be926['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x481d60,'sheetName':_0xe57792[_0x55b02b(0xeb)](),'subUnitId':_0x3e8e5c,'range':_0x1fdca9},'pivotTableId':_0x550a6e,'pivotTableIndexConfig':_0x5c989e}}}))[_0x55b02b(0x32e)][_0x55b02b(0x303)];if(!_0x36542d)return!0x1;const {isEmpty:_0x620ebf,fieldsConfig:_0x89750,collectionConfig:_0xc02379,changesets:_0x517744}=_0x36542d,_0x490a60=_0x49f993[_0x55b02b(0x24a)]()[_0x55b02b(0x19c)],_0x3b42c7=_0x26267f[_0x55b02b(0x34d)]({'rowCount':_0xe57792[_0x55b02b(0x302)]()-0x1,'columnCount':_0xe57792[_0x55b02b(0x2cf)]()-0x1});_0x3b42c7['id']=_0x26267f[_0x55b02b(0x234)](),_0x3b42c7[_0x55b02b(0x13d)]=_0x49f993[_0x55b02b(0x1b3)](''+_0x204884['t'](_0x55b02b(0x292)));const _0x5d9108={'index':_0x490a60,'sheet':_0x3b42c7,'unitId':_0x481d60},{redos:_0x624f8c}=_0x3d3959(_0xdc73d8,{'pivotTableId':_0x550a6e,'unitId':_0x481d60,'subUnitId':_0x3b42c7['id']},_0x517744),_0x59ae7e=[{'id':_0x15c6e7[_0x55b02b(0x1b6)]['id'],'params':_0x5d9108},{'id':_0xecd0d5['id'],'params':{'unitId':_0x481d60,'subUnitId':_0x3b42c7['id'],'pivotTableId':_0x550a6e,'pivotTableConfig':{'isEmpty':_0x620ebf,'fieldsConfig':_0x89750,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x481d60,'subUnitId':_0x3b42c7['id']},'sourceRangeInfo':{'subUnitId':_0x3e8e5c,'unitId':_0x481d60,'range':_0x1fdca9,'sheetName':_0xe57792[_0x55b02b(0xeb)]()}},'collectionConfig':_0xc02379}},..._0x624f8c];return _0x26267f[_0x55b02b(0x1b7)](_0x59ae7e,_0xdc73d8),!0x0;}},_0x3a36a6={'type':_0x26267f['CommandType']['COMMAND'],'id':_0x4d0853(0xa5),async 'handler'(_0x4dd630,_0x2d2c4d){const _0x960318=_0x4d0853;var _0x4c33ad,_0x19aa8c;const _0x2f8716=_0x4dd630['get'](_0x26267f['ICommandService']),_0x3d1903=_0x4dd630['get'](_0x26267f[_0x960318(0x22c)]),_0x730b5e=_0x4dd630[_0x960318(0x2c0)](_0x26267f['LocaleService']),_0x25dcee=_0x4dd630[_0x960318(0x2c0)](_0x2a0a80[_0x960318(0x161)]),_0x4c80c3=_0x4dd630['get'](_0x26267f[_0x960318(0x16c)]),_0x3418d6=_0x4dd630[_0x960318(0x2c0)](_0x2a0a80[_0x960318(0xc6)]),_0x5ea730=_0x4dd630[_0x960318(0x2c0)](_0x26267f[_0x960318(0xa9)]);if(!_0x2d2c4d)return!0x1;const {pivotTableConfig:_0x372311,positionType:_0x21ae8f}=_0x2d2c4d,{targetCellInfo:_0x1c956f,sourceRangeInfo:_0x349144}=_0x372311,{unitId:_0x49ea94,subUnitId:_0x2cb0f1}=_0x1c956f,_0x4cddd4=_0x3d1903[_0x960318(0x96)](_0x49ea94);if(!_0x4cddd4)return!0x1;let _0x4ee9a2=0x0;_0x4cddd4[_0x960318(0x24a)]()['forEach'](_0x1ea75b=>{const _0x3c168f=_0x960318;var _0x572824,_0x334f5e;_0x4ee9a2+=(_0x334f5e=(_0x572824=_0x3418d6[_0x3c168f(0x193)](_0x49ea94,_0x1ea75b[_0x3c168f(0x389)]()))==null?void 0x0:_0x572824[_0x3c168f(0x25f)])!=null?_0x334f5e:0x0;});const _0x3bc2ef=(_0x4c33ad=_0x5ea730[_0x960318(0xe1)](_0x1cf072[_0x960318(0x2bd)]))!=null?_0x4c33ad:{},{ls:_0x15264a,pbk:_0x44e47d}=_0x3bc2ef;if(!_0x196894(_0x15264a,_0x44e47d))return!0x1;const _0x172b64=_0x3b3186(_0x14a7c4,_0x15264a,_0x44e47d)[_0x960318(0x23b)];if(_0x4ee9a2>=_0x172b64)return!0x1;const _0x526514=_0x2d2c4d['pivotTableId']||_0x1f569c[_0x960318(0x243)](0x8),_0x273ad6=(await _0x25dcee[_0x960318(0x3a1)]({'unitId':_0x49ea94,'subUnitId':_0x2cb0f1,'pivotTableId':_0x526514,'params':{'type':_0x3be926['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x349144,'pivotTableId':_0x526514}}}))['result']['addPivotTable'];if(!_0x273ad6)return!0x1;const {view:_0x46d4f7,isEmpty:_0x52d664,fieldsConfig:_0x9a36b7,collectionConfig:_0x1db1e5}=_0x273ad6,_0x588686=[],_0x16ce6b=[];if(_0x21ae8f===_0x2ff95c[_0x960318(0x1f7)]){const _0x306067=_0x4cddd4['getSheets']()['length'],_0x18a10e=_0x26267f[_0x960318(0x34d)]({});_0x18a10e['id']=_0x372311[_0x960318(0x2a0)][_0x960318(0x191)],_0x18a10e[_0x960318(0x13d)]=(_0x19aa8c=_0x372311[_0x960318(0x2a0)][_0x960318(0x156)])!=null?_0x19aa8c:_0x4cddd4[_0x960318(0x1b3)](''+_0x730b5e['t'](_0x960318(0x292)));const _0x146559={'index':_0x306067,'sheet':_0x18a10e,'unitId':_0x49ea94},_0x3ff0fd=_0x15c6e7[_0x960318(0x120)](_0x4dd630,_0x146559);_0x588686['push']({'id':_0x15c6e7[_0x960318(0x24d)]['id'],'params':_0x3ff0fd}),_0x16ce6b[_0x960318(0x269)]({'id':_0x15c6e7[_0x960318(0x32d)]['id'],'params':_0x146559});}else{if(!_0x4cddd4[_0x960318(0x296)](_0x2cb0f1))return!0x1;const _0x13854f=_0x426d50(_0x4dd630,new _0x1f569c[(_0x960318(0xcc))](),_0x1c956f,!0x0);_0x16ce6b[_0x960318(0x269)](..._0x13854f[_0x960318(0x1b1)]),_0x588686['push'](..._0x13854f['undos']);const _0x26d489={'cellInfo':_0x1c956f,'view':_0x46d4f7,'isEmpty':_0x52d664};if(!await _0x4dd630[_0x960318(0x2c0)](_0x2a0a80[_0x960318(0x368)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x32edef)(!0x0,_0x26d489))return!0x1;const _0x2c05ad=_0x3eab22(_0x4dd630,_0x26d489);_0x16ce6b['push'](..._0x2c05ad[_0x960318(0x1b1)]),_0x588686[_0x960318(0x269)](..._0x2c05ad[_0x960318(0x192)]);}return _0x16ce6b[_0x960318(0x269)]({'id':_0xecd0d5['id'],'params':{'unitId':_0x1c956f[_0x960318(0x358)],'subUnitId':_0x1c956f[_0x960318(0x191)],'pivotTableId':_0x526514,'pivotTableConfig':{'targetCellInfo':_0x1c956f,'sourceRangeInfo':_0x349144,'fieldsConfig':_0x9a36b7},'collectionConfig':_0x1db1e5}}),_0x588686[_0x960318(0x122)]({'id':_0x4bff6f['id'],'params':{'unitId':_0x49ea94,'subUnitId':_0x2cb0f1,'pivotTableId':_0x526514}}),_0x26267f[_0x960318(0x1b7)](_0x16ce6b,_0x2f8716)&&_0x4c80c3[_0x960318(0x33c)]({'unitID':_0x49ea94,'undoMutations':_0x588686,'redoMutations':_0x16ce6b}),!0x0;}},_0x166b99={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x23a)],'id':_0x4d0853(0xd9),async 'handler'(_0x3e823e,_0xc03cb4){const _0x26ba2c=_0x4d0853;if(!_0xc03cb4)return!0x1;const _0x3a7234=_0x3e823e[_0x26ba2c(0x2c0)](_0x26267f[_0x26ba2c(0x284)]),_0x578fcd=_0x3e823e[_0x26ba2c(0x2c0)](_0x2a0a80[_0x26ba2c(0x161)]),_0x1ec70b=_0x3e823e[_0x26ba2c(0x2c0)](_0x26267f[_0x26ba2c(0x16c)]),{pivotTableId:_0x5384d8,fieldId:_0x320e9a,area:_0x2ff025,index:_0x339327,unitId:_0x374b13,subUnitId:_0x198291}=_0xc03cb4,_0x5a36f6=(await _0x578fcd['getPivotDisplayConfig']({'unitId':_0x374b13,'subUnitId':_0x198291,'pivotTableId':_0x5384d8,'params':{'type':_0x3be926[_0x26ba2c(0x38f)],'movePivotField':{'fieldId':_0x320e9a,'area':_0x2ff025,'index':_0x339327}}}))[_0x26ba2c(0x32e)][_0x26ba2c(0x357)];if(!_0x5a36f6)return!0x1;const {changesets:_0x3be347,view:_0x63ff00,isEmpty:_0x456d91,pivotTableConfig:_0x4e1f28}=_0x5a36f6,_0x34ddff=_0x4e1f28['targetCellInfo'],_0x3ac097=new _0x1f569c[(_0x26ba2c(0xcc))]();_0x3ac097['formJSON'](_0x63ff00);const _0xf00c22={'cellInfo':_0x34ddff,'view':_0x3ac097,'isEmpty':_0x456d91};if(!await _0x3e823e[_0x26ba2c(0x2c0)](_0x2a0a80[_0x26ba2c(0x368)])['asyncInterceptor'][_0x26ba2c(0x1c8)](_0x32edef)(!0x0,_0xf00c22))return!0x1;const _0x45eee4=_0x426d50(_0x3e823e,_0x3ac097,_0x34ddff,_0x456d91),_0x225b78=_0x3eab22(_0x3e823e,_0xf00c22),{redos:_0x8b501a,undos:_0x17de1c}=_0x3d3959(_0x3a7234,{'pivotTableId':_0x5384d8,'unitId':_0x374b13,'subUnitId':_0x198291},_0x3be347);return _0x26267f[_0x26ba2c(0x1b7)]([..._0x45eee4['redos'],..._0x225b78[_0x26ba2c(0x1b1)],..._0x8b501a],_0x3a7234),_0x1ec70b[_0x26ba2c(0x33c)]({'unitID':_0x374b13,'redoMutations':[..._0x45eee4[_0x26ba2c(0x1b1)],..._0x225b78[_0x26ba2c(0x1b1)],..._0x8b501a],'undoMutations':[..._0x45eee4['undos'],..._0x225b78[_0x26ba2c(0x192)],..._0x17de1c]}),!0x0;}},_0x19648e={'type':_0x26267f[_0x4d0853(0x109)]['COMMAND'],'id':_0x4d0853(0x195),async 'handler'(_0x2d153a,_0x11af61){const _0x50b0a9=_0x4d0853;var _0x145d09;if(!_0x11af61)return!0x1;const _0x169a74=_0x2d153a[_0x50b0a9(0x2c0)](_0x26267f[_0x50b0a9(0x22c)]),_0x2f99be=_0x15c6e7[_0x50b0a9(0x324)](_0x169a74);if(!_0x2f99be)return!0x1;const {unitId:_0x540008,subUnitId:_0x211d8d,workbook:_0x378dcb}=_0x2f99be,{row:_0xf2c151,col:_0x1a0968}=_0x11af61,_0x4268df=_0x2d153a[_0x50b0a9(0x2c0)](_0x2a0a80[_0x50b0a9(0x2f6)]),_0x389af7=_0x4268df[_0x50b0a9(0x362)](_0x540008,_0x211d8d,_0xf2c151,_0x1a0968);if(!_0x389af7)return!0x1;const _0x32f926=(_0x145d09=_0x4268df[_0x50b0a9(0x147)](_0x540008,_0x211d8d,_0x389af7))==null?void 0x0:_0x145d09['areaInfo'];if(!_0x32f926)return!0x1;const _0x53e16b=_0x2d153a[_0x50b0a9(0x2c0)](_0x2a0a80['SheetsPivotTableConfigModel'])[_0x50b0a9(0xf6)](_0x540008,_0x211d8d,_0x389af7);if(!_0x53e16b)return!0x1;const {rowInfo:_0x2a6e88,colInfo:_0x4b0d05}=_0x32f926,_0x2057ec=_0x2a6e88[_0xf2c151][_0x50b0a9(0x1a9)],_0x570ef3=_0x4b0d05[_0x1a0968]['paths'],_0x57fb9b=_0x2a6e88[_0xf2c151][_0x50b0a9(0x175)],_0x376736=_0x4b0d05[_0x1a0968][_0x50b0a9(0x175)],_0x4b51bf=_0x2057ec[_0x50b0a9(0x198)](_0x570ef3),_0x20ca8d=_0x53e16b['fieldsConfig'][_0x50b0a9(0x37d)][_0x50b0a9(0x94)](0x0,_0x57fb9b),_0x5eed71=_0x53e16b[_0x50b0a9(0x360)]['columnFields'][_0x50b0a9(0x94)](0x0,_0x376736),_0x1b43d7=_0x20ca8d[_0x50b0a9(0x198)](_0x5eed71),_0x169481=_0x4b51bf[_0x50b0a9(0xb9)]((_0x3d0a7d,_0x2a3b9c)=>[_0x3d0a7d,_0x1b43d7[_0x2a3b9c]]),_0x4b0f5f=(await _0x2d153a['get'](_0x2a0a80[_0x50b0a9(0x161)])[_0x50b0a9(0x3a1)]({'unitId':_0x540008,'subUnitId':_0x211d8d,'pivotTableId':_0x389af7,'params':{'type':_0x3be926[_0x50b0a9(0x9d)],'drillDown':{'tuple':_0x169481}}}))['result'][_0x50b0a9(0x343)];if(!_0x4b0f5f)return!0x1;const {indexes:_0x4a7fd4,range:_0x5ed4f9,sourceUnitId:_0x544f5c,sourceSubUnitId:_0x10666c,formatMap:_0x59aba2}=_0x4b0f5f,{startRow:_0x3d1478,endRow:_0x2fe66b,startColumn:_0xffbc50,endColumn:_0x25054a}=_0x5ed4f9,_0x4dfcbc=new _0x26267f[(_0x50b0a9(0x110))](),_0x149b95=_0x2fe66b-_0x3d1478,_0x298c3b=_0x25054a-_0xffbc50,_0x55955f={},_0x57dece=_0x15c6e7[_0x50b0a9(0x324)](_0x169a74,{'unitId':_0x544f5c,'subUnitId':_0x10666c});if(!_0x57dece)return!0x1;const _0x468813=_0x2db188[_0x50b0a9(0x153)],_0x1fbc2c=_0x2db188[_0x50b0a9(0x104)],_0x3aa700=_0x2db188['subTotalStyle'],_0x3243df=_0x378dcb[_0x50b0a9(0x293)]()[_0x50b0a9(0x315)](_0x468813),_0x1d4f30=_0x378dcb[_0x50b0a9(0x293)]()[_0x50b0a9(0x315)](_0x1fbc2c),_0x3b5085=_0x378dcb[_0x50b0a9(0x293)]()[_0x50b0a9(0x315)](_0x3aa700),{worksheet:_0x534e35}=_0x57dece;let _0x43fa8e=0x0;const _0x45c2ef=0x1;_0x4a7fd4[_0x50b0a9(0x35d)](_0x358cad=>{const _0x4096bd=_0x50b0a9;for(let _0x49be95=0x0;_0x49be95<=_0x25054a-_0xffbc50;_0x49be95++)_0x4dfcbc['setValue'](_0x43fa8e,_0x49be95,_0x534e35[_0x4096bd(0xe3)](_0x358cad+_0x5ed4f9[_0x4096bd(0x1ee)]+_0x45c2ef,_0x49be95));_0x43fa8e++;});for(let _0x3ece3c=_0xffbc50;_0x3ece3c<=_0x25054a;_0x3ece3c++){const _0xe63834=_0x534e35[_0x50b0a9(0xe3)](_0x3d1478,_0x3ece3c);_0x55955f[_0x3d1478]||(_0x55955f[_0x3d1478]={}),_0x55955f[_0x3d1478][_0x3ece3c]={..._0xe63834,'s':_0x3243df};}let _0x2a3109=0x1;const _0x27e851={},_0x246ce0={};_0x4dfcbc[_0x50b0a9(0x32f)]((_0x2eb4ad,_0x4b0c0d)=>{_0x4b0c0d['forEach'](_0x34bceb=>{const _0x1d860e=_0x4225,_0x5f2a88=_0x4dfcbc[_0x1d860e(0xdb)](_0x2eb4ad,_0x34bceb);if(_0x55955f[_0x2a3109]||(_0x55955f[_0x2a3109]={}),_0x55955f[_0x2a3109][_0x34bceb]={..._0x5f2a88,'s':_0x2a3109%0x2===0x0?_0x3b5085:_0x1d4f30},_0x59aba2[_0x34bceb]&&_0x2eb4ad>=0x0){const _0x1598d4=_0x2a3109%0x2===0x0;let _0x18f362=_0x1598d4?_0x246ce0[_0x34bceb]:_0x27e851[_0x34bceb];_0x18f362||(_0x18f362=_0x378dcb[_0x1d860e(0x293)]()[_0x1d860e(0x315)]({..._0x1598d4?_0x3aa700:_0x1fbc2c,'n':{'pattern':_0x59aba2[_0x34bceb]}}),_0x1598d4?_0x246ce0[_0x34bceb]=_0x18f362:_0x27e851[_0x34bceb]=_0x18f362),_0x55955f[_0x2a3109][_0x34bceb]['s']=_0x18f362;}}),_0x2a3109++;});const _0x51dff4=new _0x26267f[(_0x50b0a9(0x110))](_0x55955f),_0x3778bc={};_0x51dff4[_0x50b0a9(0x274)]((_0x23f483,_0x345178,_0x346bdb)=>{_0x3778bc[_0x23f483]||(_0x3778bc[_0x23f483]={}),_0x3778bc[_0x23f483][_0x345178]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x524ee3=[],_0x1d01f8=[],_0x4d914f=_0x378dcb[_0x50b0a9(0x24a)]()[_0x50b0a9(0x19c)],_0x34445d=_0x26267f[_0x50b0a9(0x34d)]({'rowCount':Math['max'](_0x26267f['DEFAULT_WORKSHEET_ROW_COUNT'],_0x149b95+0xa),'columnCount':Math[_0x50b0a9(0x349)](_0x26267f['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x298c3b+0x5)}),_0x20246b=_0x2d153a[_0x50b0a9(0x2c0)](_0x26267f[_0x50b0a9(0x2aa)]);_0x34445d['id']=_0x26267f[_0x50b0a9(0x234)](),_0x34445d[_0x50b0a9(0x13d)]=_0x378dcb[_0x50b0a9(0x1b3)](''+_0x20246b['t']('sheets.tabs.sheet'));const _0x13f734={'index':_0x4d914f,'sheet':_0x34445d,'unitId':_0x540008},_0x378bf4=_0x15c6e7['InsertSheetUndoMutationFactory'](_0x2d153a,_0x13f734);_0x1d01f8[_0x50b0a9(0x269)]({'id':_0x15c6e7[_0x50b0a9(0x32d)]['id'],'params':_0x13f734}),_0x524ee3[_0x50b0a9(0x269)]({'id':_0x15c6e7[_0x50b0a9(0x24d)]['id'],'params':_0x378bf4}),_0x1d01f8['push']({'id':_0x15c6e7[_0x50b0a9(0x33b)]['id'],'params':{'unitId':_0x540008,'subUnitId':_0x34445d['id'],'cellValue':_0x55955f}}),_0x524ee3[_0x50b0a9(0x122)]({'id':_0x15c6e7['SetRangeValuesMutation']['id'],'params':{'unitId':_0x540008,'subUnitId':_0x34445d['id'],'cellValue':_0x3778bc}});const _0x525ad2={'startRow':0x0,'startColumn':0x0,'endRow':_0x2a3109-0x1,'endColumn':_0x25054a};_0x1d01f8[_0x50b0a9(0x269)]({'id':_0x1aedeb['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x540008,'subUnitId':_0x34445d['id'],'range':_0x525ad2}}),_0x524ee3['unshift']({'id':_0x1aedeb[_0x50b0a9(0x36b)]['id'],'params':{'unitId':_0x540008,'subUnitId':_0x34445d['id']}});const _0x5b8d8d=_0x2d153a['get'](_0x26267f[_0x50b0a9(0x284)]);return _0x26267f['sequenceExecute'](_0x1d01f8,_0x5b8d8d)&&_0x2d153a[_0x50b0a9(0x2c0)](_0x26267f[_0x50b0a9(0x16c)])[_0x50b0a9(0x33c)]({'unitID':_0x540008,'undoMutations':_0x524ee3,'redoMutations':_0x1d01f8}),!0x0;}},_0x57323b={'type':_0x26267f[_0x4d0853(0x109)]['COMMAND'],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x7c7381,_0xcb4c56){const _0x1beba5=_0x4d0853;if(!_0xcb4c56)return!0x1;const _0x30b7c8=_0x7c7381[_0x1beba5(0x2c0)](_0x26267f[_0x1beba5(0x284)]),_0x41a0b5=_0x7c7381[_0x1beba5(0x2c0)](_0x2a0a80[_0x1beba5(0x161)]),_0x473b12=_0x7c7381[_0x1beba5(0x2c0)](_0x26267f[_0x1beba5(0x16c)]),{pivotTableId:_0x4d1b91,fieldIds:_0x135afc,unitId:_0x41e5c7,subUnitId:_0x4cfe87}=_0xcb4c56,_0x40b2a5=(await _0x41a0b5[_0x1beba5(0x3a1)]({'unitId':_0x41e5c7,'subUnitId':_0x4cfe87,'pivotTableId':_0x4d1b91,'params':{'type':_0x3be926['RemovePivotField'],'removePivotField':{'fieldIds':_0x135afc}}}))[_0x1beba5(0x32e)][_0x1beba5(0x179)];if(!_0x40b2a5)return!0x1;const {view:_0x4502d4,changesets:_0x4c711a,isEmpty:_0x77769c,pivotTableConfig:_0x1a3afa}=_0x40b2a5,_0x2c56d6=_0x1a3afa[_0x1beba5(0x2a0)],_0x21374b=new _0x1f569c[(_0x1beba5(0xcc))]();_0x21374b[_0x1beba5(0x2bc)](_0x4502d4);const _0x4a5390={'cellInfo':_0x2c56d6,'view':_0x21374b,'isEmpty':_0x77769c};if(!await _0x7c7381[_0x1beba5(0x2c0)](_0x2a0a80[_0x1beba5(0x368)])['asyncInterceptor'][_0x1beba5(0x1c8)](_0x32edef)(!0x0,_0x4a5390))return!0x1;const _0x2f4e32=_0x426d50(_0x7c7381,_0x21374b,_0x2c56d6,_0x77769c),_0x5ed0a8=_0x3eab22(_0x7c7381,_0x4a5390),{redos:_0x289a0b,undos:_0x1aea6e}=_0x3d3959(_0x30b7c8,{'pivotTableId':_0x4d1b91,'unitId':_0x41e5c7,'subUnitId':_0x4cfe87},_0x4c711a);return _0x26267f['sequenceExecute']([..._0x2f4e32[_0x1beba5(0x1b1)],..._0x5ed0a8[_0x1beba5(0x1b1)],..._0x289a0b],_0x30b7c8),_0x473b12['pushUndoRedo']({'unitID':_0x41e5c7,'redoMutations':[..._0x2f4e32[_0x1beba5(0x1b1)],..._0x5ed0a8[_0x1beba5(0x1b1)],..._0x289a0b],'undoMutations':[..._0x2f4e32[_0x1beba5(0x192)],..._0x5ed0a8[_0x1beba5(0x192)],..._0x1aea6e]}),!0x0;}},_0x4eedee={'type':_0x26267f[_0x4d0853(0x109)]['COMMAND'],'id':_0x4d0853(0xa1),async 'handler'(_0x1f31ba,_0x141876){const _0x17735f=_0x4d0853;var _0x35d1c3;const _0xf9b3f8=_0x1f31ba['get'](_0x26267f[_0x17735f(0x284)]),_0x12840b=_0x1f31ba[_0x17735f(0x2c0)](_0x2a0a80[_0x17735f(0x161)]),_0x3f0158=_0x1f31ba[_0x17735f(0x2c0)](_0x2a0a80['SheetsPivotTableAdaptorModel']),_0x5e8123=_0x1f31ba['get'](_0x26267f[_0x17735f(0x22c)]),_0x4fbbb9=_0x1f31ba[_0x17735f(0x2c0)](_0x26267f[_0x17735f(0x16c)]);if(!_0x141876)return!0x1;const {unitId:_0x5ead92,subUnitId:_0x3bb0c8,row:_0x4c17eb,col:_0x5d509f,collapse:_0x123f40}=_0x141876,_0x3f23ad=_0x5e8123[_0x17735f(0x96)](_0x5ead92);if(!_0x3f23ad||!_0x3f23ad['getSheetBySheetId'](_0x3bb0c8))return!0x1;const _0xe7c1c=_0x3f0158[_0x17735f(0x362)](_0x5ead92,_0x3bb0c8,_0x4c17eb,_0x5d509f);if(!_0xe7c1c)return!0x1;const _0x3c8e72=_0x3f0158[_0x17735f(0x147)](_0x5ead92,_0x3bb0c8,_0xe7c1c);if(!_0x3c8e72)return!0x1;const _0x24b135=_0x26267f['cellToRange'](_0x4c17eb,_0x5d509f),{rangesInfo:_0x2f78e9,areaInfo:_0x1baae3,headerMap:_0x437f53}=_0x3c8e72;if(!_0x2f78e9||!_0x1baae3||!_0x437f53)return!0x1;const _0x2fbf7e=Object[_0x17735f(0x2a2)](_0x2f78e9)[_0x17735f(0x14e)](_0x3ed5d5=>_0x2f78e9[_0x3ed5d5]['some'](_0x123307=>_0x26267f[_0x17735f(0x15a)][_0x17735f(0x231)](_0x123307,_0x24b135)));let _0x470dfa;_0x2fbf7e===_0x17735f(0xed)?_0x470dfa=_0x437f53['rowHeaderMap'][_0x5d509f]:_0x2fbf7e==='colRanges'&&(_0x470dfa=_0x437f53[_0x17735f(0x347)][_0x4c17eb]);const _0x187501=_0x470dfa==null?void 0x0:_0x470dfa[_0x17735f(0x384)],_0x54422e=(_0x35d1c3=_0x3f0158['getPivotTableCellData'](_0x5ead92,_0x3bb0c8,_0x4c17eb,_0x5d509f))==null?void 0x0:_0x35d1c3['v'];if(_0x54422e==null||!_0xe7c1c||!_0x187501)return!0x1;const _0x26db38=await _0x12840b['getPivotDisplayConfig']({'unitId':_0x5ead92,'subUnitId':_0x3bb0c8,'pivotTableId':_0xe7c1c,'params':{'type':_0x3be926[_0x17735f(0x21e)],'setPivotCollapse':{'tableFieldId':_0x187501,'collapse':_0x123f40,'item':_0x54422e}}}),_0xfd9ed9=_0x26db38==null?void 0x0:_0x26db38[_0x17735f(0x32e)][_0x17735f(0x28c)];if(!_0xfd9ed9)return!0x1;const {view:_0xa8b265,pivotTableConfig:_0x20f66b,isEmpty:_0x2b22e5,changesets:_0x4458c6}=_0xfd9ed9,_0x41e43b=new _0x1f569c[(_0x17735f(0xcc))]();_0x41e43b[_0x17735f(0x2bc)](_0xa8b265);const _0x3b7bfa=_0x20f66b['targetCellInfo'],_0x579728={'cellInfo':_0x3b7bfa,'view':_0x41e43b,'isEmpty':_0x2b22e5};if(!await _0x1f31ba[_0x17735f(0x2c0)](_0x2a0a80[_0x17735f(0x368)])[_0x17735f(0x270)][_0x17735f(0x1c8)](_0x32edef)(!0x0,_0x579728))return!0x1;const _0x5e9713=_0x426d50(_0x1f31ba,_0x41e43b,_0x3b7bfa,_0x2b22e5),_0x448266=_0x3eab22(_0x1f31ba,_0x579728),{redos:_0x50a0d4,undos:_0x19f59c}=_0x3d3959(_0xf9b3f8,{'pivotTableId':_0xe7c1c,'unitId':_0x5ead92,'subUnitId':_0x3bb0c8},_0x4458c6);return _0x26267f['sequenceExecute']([..._0x5e9713[_0x17735f(0x1b1)],..._0x448266[_0x17735f(0x1b1)],..._0x50a0d4],_0xf9b3f8),_0x4fbbb9[_0x17735f(0x33c)]({'unitID':_0x5ead92,'redoMutations':[..._0x5e9713[_0x17735f(0x1b1)],..._0x448266[_0x17735f(0x1b1)],..._0x50a0d4],'undoMutations':[..._0x5e9713[_0x17735f(0x192)],..._0x448266['undos'],..._0x19f59c]}),!0x0;}},_0x526eb9={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x23a)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x321aa7,_0x2d2279){const _0x292385=_0x4d0853;if(!_0x2d2279)return!0x1;const _0x2a88cd=_0x321aa7['get'](_0x26267f['ICommandService']),{pivotTableId:_0x2006bc,tableFieldId:_0x25e634,items:_0x528ef7,unitId:_0x2d4d86,subUnitId:_0x2642e3,isAll:_0x57290b}=_0x2d2279,_0x52e4a0=_0x321aa7[_0x292385(0x2c0)](_0x2a0a80[_0x292385(0x161)]),_0x5c47f3=_0x321aa7[_0x292385(0x2c0)](_0x26267f[_0x292385(0x16c)]),_0xe70e02=(await _0x52e4a0['getPivotDisplayConfig']({'unitId':_0x2d4d86,'subUnitId':_0x2642e3,'pivotTableId':_0x2006bc,'params':{'type':_0x3be926['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x25e634,'items':_0x528ef7,'isAll':_0x57290b}}}))[_0x292385(0x32e)][_0x292385(0x236)];if(!_0xe70e02)return!0x1;const {changesets:_0x3ce5d8,pivotTableConfig:_0x22cbbf,isEmpty:_0x241f8e,view:_0x15bc7c}=_0xe70e02,_0x4e3112=_0x22cbbf['targetCellInfo'],_0x52a251=new _0x1f569c[(_0x292385(0xcc))]();_0x52a251[_0x292385(0x2bc)](_0x15bc7c);const _0x23897f={'cellInfo':_0x4e3112,'view':_0x52a251,'isEmpty':_0x241f8e};if(!await _0x321aa7[_0x292385(0x2c0)](_0x2a0a80[_0x292385(0x368)])[_0x292385(0x270)][_0x292385(0x1c8)](_0x32edef)(!0x0,_0x23897f))return!0x1;const _0x551189=_0x426d50(_0x321aa7,_0x52a251,_0x4e3112,_0x241f8e),_0x3ba187=_0x3eab22(_0x321aa7,_0x23897f),{undos:_0x236564,redos:_0x766f4e}=_0x3d3959(_0x2a88cd,{'pivotTableId':_0x2006bc,'unitId':_0x2d4d86,'subUnitId':_0x2642e3},_0x3ce5d8);return _0x26267f[_0x292385(0x1b7)]([..._0x551189['redos'],..._0x3ba187[_0x292385(0x1b1)],..._0x766f4e],_0x2a88cd),_0x5c47f3[_0x292385(0x33c)]({'unitID':_0x2d4d86,'redoMutations':[..._0x551189[_0x292385(0x1b1)],..._0x3ba187[_0x292385(0x1b1)],..._0x766f4e],'undoMutations':[..._0x551189[_0x292385(0x192)],..._0x3ba187['undos'],..._0x236564]}),!0x0;}},_0x18f237={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x23a)],'id':_0x4d0853(0xb7),async 'handler'(_0x5909e1,_0x5d7a49){const _0x17d590=_0x4d0853;if(!_0x5d7a49)return!0x1;const _0x46f169=_0x5909e1['get'](_0x26267f['ICommandService']),_0x2ea3dd=_0x5909e1[_0x17d590(0x2c0)](_0x26267f[_0x17d590(0x16c)]),_0x21fc9f=_0x5909e1[_0x17d590(0x2c0)](_0x2a0a80['SheetsPivotRPCService']),{info:_0xc1f282,tableFieldId:_0x3e51d1,pivotTableId:_0x4e2522,unitId:_0xf985c5,subUnitId:_0x1cfa87}=_0x5d7a49,_0x32327c=(await _0x21fc9f['getPivotDisplayConfig']({'unitId':_0xf985c5,'subUnitId':_0x1cfa87,'pivotTableId':_0x4e2522,'params':{'type':_0x3be926['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x3e51d1,'info':_0xc1f282}}}))[_0x17d590(0x32e)]['setPivotSort'];if(!_0x32327c)return!0x1;const {changesets:_0x47f846}=_0x32327c,{redos:_0x547db6,undos:_0x53fd54}=_0x3d3959(_0x46f169,{'pivotTableId':_0x4e2522,'unitId':_0xf985c5,'subUnitId':_0x1cfa87},_0x47f846);return _0x26267f['sequenceExecute'](_0x547db6,_0x46f169),_0x2ea3dd[_0x17d590(0x33c)]({'unitID':_0xf985c5,'redoMutations':_0x547db6,'undoMutations':_0x53fd54}),!0x0;}},_0x2d7e93={'type':_0x26267f['CommandType'][_0x4d0853(0x23a)],'id':_0x4d0853(0x27d),async 'handler'(_0x425ab9,_0x51ae9a){const _0x1eb2a0=_0x4d0853;if(!_0x51ae9a)return!0x1;const _0x37cd01=_0x425ab9[_0x1eb2a0(0x2c0)](_0x26267f['ICommandService']),_0x56fb33=_0x425ab9[_0x1eb2a0(0x2c0)](_0x26267f[_0x1eb2a0(0x16c)]),_0x58b15e=_0x425ab9[_0x1eb2a0(0x2c0)](_0x2a0a80['SheetsPivotRPCService']),{displayName:_0x250755,subtotalType:_0x4b54ce,format:_0x1909d5,tableFieldId:_0x2ee6f5,pivotTableId:_0x4571d2,unitId:_0x149c87,subUnitId:_0x1143d6}=_0x51ae9a,_0x2d9590=(await _0x58b15e[_0x1eb2a0(0x3a1)]({'unitId':_0x149c87,'subUnitId':_0x1143d6,'pivotTableId':_0x4571d2,'params':{'type':_0x3be926['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x2ee6f5,'displayName':_0x250755,'subtotalType':_0x4b54ce,'format':_0x1909d5}}}))['result']['setPivotSetting'];if(!_0x2d9590)return!0x1;const {changesets:_0x1a9dfb,view:_0x46d7a7,pivotTableConfig:_0x18f091,isEmpty:_0x36345d}=_0x2d9590,_0x2cdf30=_0x18f091['targetCellInfo'],_0x4b1a30=new _0x1f569c['PivotView']();_0x4b1a30['formJSON'](_0x46d7a7);const _0xc31335={'cellInfo':_0x2cdf30,'view':_0x4b1a30,'isEmpty':_0x36345d};if(!await _0x425ab9[_0x1eb2a0(0x2c0)](_0x2a0a80[_0x1eb2a0(0x368)])[_0x1eb2a0(0x270)][_0x1eb2a0(0x1c8)](_0x32edef)(!0x0,_0xc31335))return!0x1;const _0x2afeee=_0x426d50(_0x425ab9,_0x4b1a30,_0x2cdf30,_0x36345d),_0x40b644=_0x3eab22(_0x425ab9,_0xc31335),{undos:_0x5ca9f4,redos:_0xd33e6}=_0x3d3959(_0x37cd01,{'pivotTableId':_0x4571d2,'unitId':_0x149c87,'subUnitId':_0x1143d6},_0x1a9dfb);return _0x26267f[_0x1eb2a0(0x1b7)]([..._0x2afeee[_0x1eb2a0(0x1b1)],..._0x40b644['redos'],..._0xd33e6],_0x37cd01),_0x56fb33[_0x1eb2a0(0x33c)]({'unitID':_0x149c87,'redoMutations':[..._0x2afeee[_0x1eb2a0(0x1b1)],..._0x40b644[_0x1eb2a0(0x1b1)],..._0xd33e6],'undoMutations':[..._0x2afeee[_0x1eb2a0(0x192)],..._0x40b644['undos'],..._0x5ca9f4]}),!0x0;}},_0x203ba7={'type':_0x26267f[_0x4d0853(0x109)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x45d201,_0x19a405){const _0x2b0da6=_0x4d0853,_0x41f71d=_0x45d201['get'](_0x26267f[_0x2b0da6(0x284)]),_0x2c47e6=_0x45d201['get'](_0x2a0a80[_0x2b0da6(0x161)]),_0x1ef0f3=_0x45d201['get'](_0x26267f[_0x2b0da6(0x16c)]);if(!_0x19a405)return!0x1;const {token:_0xe658dd,dataRangeInfo:_0x53152d,unitId:_0x5548e8,subUnitId:_0x1af317}=_0x19a405,_0x2b657e=[],_0x58b25d=[],_0x248fde=(await _0x2c47e6[_0x2b0da6(0x3a1)]({'unitId':_0x5548e8,'subUnitId':_0x1af317,'pivotTableId':_0xe658dd,'params':{'type':_0x3be926[_0x2b0da6(0x2e1)],'updatePivotSource':{'dataRangeInfo':_0x53152d,'unitId':_0x5548e8,'subUnitId':_0x1af317}}}))[_0x2b0da6(0x32e)][_0x2b0da6(0xc4)];if(!_0x248fde)return!0x1;const {changesets:_0x1db7d2,deleteIds:_0x5db750,collectionConfig:_0x9891df,oldCollectionConfig:_0x54c26f,view:_0x52c390,isEmpty:_0x39a4e3,pivotTableConfig:_0x36136a}=_0x248fde;_0x58b25d[_0x2b0da6(0x269)]({'id':_0x82b78['id'],'params':{'pivotTableId':_0xe658dd,'deleteIds':_0x5db750,'collectionJSON':_0x9891df,'dataRangeInfo':_0x53152d,'unitId':_0x5548e8,'subUnitId':_0x1af317}}),_0x2b657e['unshift']({'id':_0x82b78['id'],'params':{'pivotTableId':_0xe658dd,'deleteIds':[],'collectionJSON':_0x54c26f,'dataRangeInfo':_0x36136a['sourceRangeInfo'],'unitId':_0x5548e8,'subUnitId':_0x1af317}});const _0x208969=_0x36136a[_0x2b0da6(0x2a0)],_0x3b5016=new _0x1f569c[(_0x2b0da6(0xcc))]();_0x3b5016[_0x2b0da6(0x2bc)](_0x52c390);const _0x22f5c3={'cellInfo':_0x208969,'view':_0x3b5016,'isEmpty':_0x39a4e3};if(!await _0x45d201[_0x2b0da6(0x2c0)](_0x2a0a80[_0x2b0da6(0x368)])[_0x2b0da6(0x270)][_0x2b0da6(0x1c8)](_0x32edef)(!0x0,_0x22f5c3))return!0x1;const _0x283df7=_0x426d50(_0x45d201,_0x3b5016,_0x208969,_0x39a4e3),_0x1d6ccf=_0x3eab22(_0x45d201,_0x22f5c3),{undos:_0x3e8bab,redos:_0x42a401}=_0x3d3959(_0x41f71d,{'pivotTableId':_0xe658dd,'unitId':_0x5548e8,'subUnitId':_0x1af317},_0x1db7d2);return _0x26267f[_0x2b0da6(0x1b7)]([..._0x283df7[_0x2b0da6(0x1b1)],..._0x1d6ccf[_0x2b0da6(0x1b1)],..._0x58b25d,..._0x3e8bab],_0x41f71d),_0x1ef0f3['pushUndoRedo']({'unitID':_0x5548e8,'redoMutations':[..._0x283df7[_0x2b0da6(0x1b1)],..._0x1d6ccf['redos'],..._0x58b25d,..._0x3e8bab],'undoMutations':[..._0x283df7[_0x2b0da6(0x192)],..._0x1d6ccf['undos'],..._0x2b657e,..._0x42a401]}),!0x0;}},_0x41269a={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x23a)],'id':_0x4d0853(0x1fb),async 'handler'(_0x50609b,_0x421722){const _0x319dbf=_0x4d0853;if(!_0x421722)return!0x1;const _0x87ee73=_0x50609b[_0x319dbf(0x2c0)](_0x26267f[_0x319dbf(0x284)]),_0x24d924=_0x50609b[_0x319dbf(0x2c0)](_0x2a0a80[_0x319dbf(0x161)]),_0x174630=_0x50609b[_0x319dbf(0x2c0)](_0x26267f[_0x319dbf(0x22c)]),_0x2b549e=_0x50609b[_0x319dbf(0x2c0)](_0x26267f[_0x319dbf(0x16c)]),{pivotTableId:_0x12b349,position:_0x13bdb4,index:_0x5e366e}=_0x421722,_0x1df124=_0x15c6e7[_0x319dbf(0x324)](_0x174630);if(!_0x1df124)return!0x1;const {unitId:_0x377cea,subUnitId:_0x523c17}=_0x1df124,_0x55ac9a=(await _0x24d924[_0x319dbf(0x3a1)]({'unitId':_0x377cea,'subUnitId':_0x523c17,'pivotTableId':_0x12b349,'params':{'type':_0x3be926['UpdateValuePosition'],'updateValuePosition':{'position':_0x13bdb4,'index':_0x5e366e}}}))[_0x319dbf(0x32e)][_0x319dbf(0x262)];if(!_0x55ac9a)return!0x1;const {changesets:_0x2a171c,view:_0xb2feaa,isEmpty:_0x3d0a68,pivotTableConfig:_0x49b450}=_0x55ac9a,_0x31bb38=_0x49b450[_0x319dbf(0x2a0)],_0x3484ed=new _0x1f569c[(_0x319dbf(0xcc))]();_0x3484ed[_0x319dbf(0x2bc)](_0xb2feaa);const _0x5910ec=_0x50609b[_0x319dbf(0x2c0)](_0x2a0a80[_0x319dbf(0x368)]),_0x3066b8={'cellInfo':_0x31bb38,'view':_0x3484ed,'isEmpty':_0x3d0a68};if(!await _0x5910ec[_0x319dbf(0x270)][_0x319dbf(0x1c8)](_0x32edef)(!0x0,_0x3066b8))return!0x1;const _0x14d48d=_0x426d50(_0x50609b,_0x3484ed,_0x31bb38,_0x3d0a68),_0x52c954=_0x3eab22(_0x50609b,_0x3066b8),{undos:_0x29a970,redos:_0x2acaa1}=_0x3d3959(_0x87ee73,{'pivotTableId':_0x12b349,'unitId':_0x377cea,'subUnitId':_0x523c17},_0x2a171c);return _0x26267f[_0x319dbf(0x1b7)]([..._0x14d48d[_0x319dbf(0x1b1)],..._0x52c954[_0x319dbf(0x1b1)],..._0x2acaa1],_0x87ee73),_0x2b549e[_0x319dbf(0x33c)]({'unitID':_0x377cea,'redoMutations':[..._0x14d48d[_0x319dbf(0x1b1)],..._0x52c954['redos'],..._0x2acaa1],'undoMutations':[..._0x14d48d['undos'],..._0x52c954[_0x319dbf(0x192)],..._0x29a970]}),!0x0;}},_0x20a6aa={'type':_0x26267f['CommandType']['COMMAND'],'id':_0x4d0853(0x2f1),'handler':(_0x53a7ff,_0x22cb7e)=>{const _0x2a36f5=_0x4d0853,_0x1d7617=_0x53a7ff['get'](_0x26267f[_0x2a36f5(0x284)]),_0x3ade8a=_0x53a7ff[_0x2a36f5(0x2c0)](_0x26267f[_0x2a36f5(0x16c)]),_0x7ed15a=_0x53a7ff[_0x2a36f5(0x2c0)](_0x2a0a80['SheetsPivotTableConfigModel']),_0x1b4014=_0x53a7ff[_0x2a36f5(0x2c0)](_0x26267f[_0x2a36f5(0x22c)]);if(!_0x22cb7e)return!0x1;const _0x259a23=_0x15c6e7['getSheetCommandTarget'](_0x1b4014);if(!_0x259a23)return!0x1;const {unitId:_0x4d4521,subUnitId:_0x377e48,workbook:_0x422107}=_0x259a23,_0x57a232=_0x7ed15a[_0x2a36f5(0xf6)](_0x22cb7e[_0x2a36f5(0x176)][_0x2a36f5(0x358)],_0x22cb7e[_0x2a36f5(0x176)][_0x2a36f5(0x191)],_0x22cb7e[_0x2a36f5(0x2e5)]);if(!_0x57a232)return!0x1;const _0x2566e1=_0x422107['getSheetBySheetId'](_0x22cb7e[_0x2a36f5(0x2a0)][_0x2a36f5(0x191)]);if(!_0x2566e1)throw new Error(_0x2a36f5(0x101));const _0x233445=_0x2566e1[_0x2a36f5(0x302)](),_0x2d951e=_0x2566e1[_0x2a36f5(0x2cf)]();if(_0x22cb7e[_0x2a36f5(0x2a0)][_0x2a36f5(0x396)]>_0x233445||_0x22cb7e[_0x2a36f5(0x2a0)][_0x2a36f5(0x300)]>_0x2d951e)throw new Error(_0x2a36f5(0x2e0));const _0x2e3931=[{'id':_0x9895ea['id'],'params':{'unitId':_0x4d4521,'subUnitId':_0x22cb7e[_0x2a36f5(0x2a0)][_0x2a36f5(0x191)],'pivotTableId':_0x22cb7e['pivotTableId'],'targetCellPosition':{'row':_0x22cb7e['targetCellInfo'][_0x2a36f5(0x396)],'col':_0x22cb7e[_0x2a36f5(0x2a0)][_0x2a36f5(0x300)]}}}],_0x1f3b83=[{'id':_0x9895ea['id'],'params':{'unitId':_0x4d4521,'subUnitId':_0x377e48,'pivotTableId':_0x22cb7e['pivotTableId'],'targetCellPosition':{'row':_0x57a232[_0x2a36f5(0x2a0)][_0x2a36f5(0x396)],'col':_0x57a232['targetCellInfo'][_0x2a36f5(0x300)]}}}];return _0x26267f[_0x2a36f5(0x1b7)](_0x2e3931,_0x1d7617)&&_0x3ade8a[_0x2a36f5(0x33c)]({'unitID':_0x4d4521,'undoMutations':_0x1f3b83,'redoMutations':_0x2e3931}),!0x0;}},_0x2e9818={'type':_0x26267f['CommandType']['COMMAND'],'id':_0x4d0853(0x1ba),async 'handler'(_0x1a330e,_0x15adf9){const _0x3239f9=_0x4d0853;if(!_0x15adf9)return!0x1;const _0x17f05e=_0x1a330e[_0x3239f9(0x2c0)](_0x26267f[_0x3239f9(0x284)]),{pivotTableId:_0x39bd22,fieldId:_0x50ac4a,valueFilterInfo:_0x526611,unitId:_0x437159,subUnitId:_0x29b245}=_0x15adf9,_0x4d8cc0=_0x1a330e[_0x3239f9(0x2c0)](_0x2a0a80[_0x3239f9(0x161)]),_0x35eb8e=_0x1a330e[_0x3239f9(0x2c0)](_0x26267f[_0x3239f9(0x16c)]),_0x1415f0=(await _0x4d8cc0[_0x3239f9(0x3a1)]({'unitId':_0x437159,'subUnitId':_0x29b245,'pivotTableId':_0x39bd22,'params':{'type':_0x3be926[_0x3239f9(0x1f1)],'setValuePivotFilter':{'tableFieldId':_0x50ac4a,'filterInfo':_0x526611}}}))[_0x3239f9(0x32e)][_0x3239f9(0x276)];if(!_0x1415f0)return!0x1;const {changesets:_0x127948,pivotTableConfig:_0x9a1d5d,isEmpty:_0x521ce1,view:_0x5b6113}=_0x1415f0,_0x20aae6=_0x9a1d5d[_0x3239f9(0x2a0)],_0x3eae23=new _0x1f569c[(_0x3239f9(0xcc))]();_0x3eae23[_0x3239f9(0x2bc)](_0x5b6113);const _0x112eb6={'cellInfo':_0x20aae6,'view':_0x3eae23,'isEmpty':_0x521ce1};if(!await _0x1a330e['get'](_0x2a0a80[_0x3239f9(0x368)])[_0x3239f9(0x270)][_0x3239f9(0x1c8)](_0x32edef)(!0x0,_0x112eb6))return!0x1;const _0x469cae=_0x426d50(_0x1a330e,_0x3eae23,_0x20aae6,_0x521ce1),_0x3b1806=_0x3eab22(_0x1a330e,_0x112eb6),{undos:_0x2fa758,redos:_0x2d7daa}=_0x3d3959(_0x17f05e,{'pivotTableId':_0x39bd22,'unitId':_0x437159,'subUnitId':_0x29b245},_0x127948);return _0x26267f[_0x3239f9(0x1b7)]([..._0x469cae[_0x3239f9(0x1b1)],..._0x3b1806['redos'],..._0x2d7daa],_0x17f05e),_0x35eb8e[_0x3239f9(0x33c)]({'unitID':_0x437159,'redoMutations':[..._0x469cae[_0x3239f9(0x1b1)],..._0x3b1806[_0x3239f9(0x1b1)],..._0x2d7daa],'undoMutations':[..._0x469cae['undos'],..._0x3b1806[_0x3239f9(0x192)],..._0x2fa758]}),!0x0;}},_0x361e6f={'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x23a)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x43ba8c,_0x548cf2){const _0x4d1f08=_0x4d0853;if(!_0x548cf2)return!0x1;const _0x39a46e=_0x43ba8c['get'](_0x26267f[_0x4d1f08(0x284)]),_0x4434ff=_0x43ba8c[_0x4d1f08(0x2c0)](_0x26267f[_0x4d1f08(0x16c)]),_0x2d200f=_0x43ba8c[_0x4d1f08(0x2c0)](_0x2a0a80[_0x4d1f08(0x161)]),{pivotTableConfig:_0x373095,pivotTableId:_0x13deed,unitId:_0x1bdf06,subUnitId:_0x3e3685}=_0x548cf2,_0x252a17=(await _0x2d200f['getPivotDisplayConfig']({'unitId':_0x1bdf06,'subUnitId':_0x3e3685,'pivotTableId':_0x13deed,'params':{'type':_0x3be926[_0x4d1f08(0x1be)],'setPivotTableConfig':{'pivotTableId':_0x13deed,'pivotTableConfig':_0x373095}}}))[_0x4d1f08(0x32e)][_0x4d1f08(0x2f9)];if(!_0x252a17)return!0x1;const {changesets:_0xf471f3}=_0x252a17,{redos:_0x27f136,undos:_0x374fca}=_0x3d3959(_0x39a46e,{'pivotTableId':_0x13deed,'unitId':_0x1bdf06,'subUnitId':_0x3e3685},_0xf471f3);return _0x26267f[_0x4d1f08(0x1b7)](_0x27f136,_0x39a46e),_0x4434ff[_0x4d1f08(0x33c)]({'unitID':_0x1bdf06,'redoMutations':_0x27f136,'undoMutations':_0x374fca}),!0x0;}},_0x1d42e4={'type':_0x26267f['CommandType']['COMMAND'],'id':_0x4d0853(0x1f5),async 'handler'(_0x13cf7b,_0x300f1d){const _0x5892bf=_0x4d0853;if(!_0x300f1d)return!0x1;const _0x5965ba=_0x13cf7b[_0x5892bf(0x2c0)](_0x26267f[_0x5892bf(0x284)]),_0x47901f=_0x13cf7b[_0x5892bf(0x2c0)](_0x26267f[_0x5892bf(0x16c)]),_0x1183a4=_0x13cf7b['get'](_0x2a0a80[_0x5892bf(0x161)]),{resetArea:_0x10b44e,pivotTableId:_0x95955b,unitId:_0x511789,subUnitId:_0x236866}=_0x300f1d,_0x2e458f=(await _0x1183a4[_0x5892bf(0x3a1)]({'unitId':_0x511789,'subUnitId':_0x236866,'pivotTableId':_0x95955b,'params':{'type':_0x3be926['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x95955b,'resetArea':_0x10b44e}}}))[_0x5892bf(0x32e)][_0x5892bf(0x1fc)];if(!_0x2e458f)return!0x1;const {changesets:_0x69fc0a}=_0x2e458f,{redos:_0x5f53a8,undos:_0x17dddc}=_0x3d3959(_0x5965ba,{'pivotTableId':_0x95955b,'unitId':_0x511789,'subUnitId':_0x236866},_0x69fc0a);return _0x26267f[_0x5892bf(0x1b7)](_0x5f53a8,_0x5965ba),_0x47901f[_0x5892bf(0x33c)]({'unitID':_0x511789,'redoMutations':_0x5f53a8,'undoMutations':_0x17dddc}),!0x0;}},_0x12e7a7={'id':_0x4d0853(0x183),'type':_0x26267f[_0x4d0853(0x109)][_0x4d0853(0x2f0)],'handler':(_0x47b6a8,_0x3e0e37)=>{const _0x20553e=_0x4d0853;if(!_0x3e0e37)return!0x1;if(!!_0x47b6a8['get'](_0x26267f[_0x20553e(0xa9)])[_0x20553e(0xe1)](_0x7fa735))return!0x0;const {unitId:_0x1924a4,subUnitId:_0x4a38b1,pivotTableId:_0x444a48,tableFieldId:_0x269963,dateType:_0xc086e9}=_0x3e0e37,_0x12af54=_0x47b6a8[_0x20553e(0x2c0)](_0x2a0a80[_0x20553e(0x2bb)]),_0x134d2d=_0x12af54[_0x20553e(0xfe)](_0x444a48);if(!_0x134d2d)return!0x1;const _0x17861b=_0x134d2d[_0x20553e(0x21c)](_0x269963);if(!_0x17861b)return!0x1;const _0x2b4d0b=_0x17861b['getOriginFieldId'](),_0x150cdc=_0x134d2d[_0x20553e(0x2ad)](_0x2b4d0b),_0x48f57d=(_0x150cdc==null?void 0x0:_0x150cdc['getName']())+'\x20'+_0x46277c(_0x47b6a8,_0xc086e9);_0x12af54[_0x20553e(0x240)](_0x1924a4,_0x444a48)[_0x20553e(0x317)](_0x17861b['id'],_0x48f57d);const _0x2cb772=_0x134d2d[_0x20553e(0x3a3)](_0x269963);if(!_0x2cb772)return!0x1;_0x134d2d[_0x20553e(0xad)](_0x2cb772[_0x20553e(0xcd)](),_0x48f57d),_0x17861b[_0x20553e(0x34a)](_0xc086e9);const _0x359d39=_0x12af54[_0x20553e(0xf6)](_0x1924a4,_0x4a38b1,_0x444a48);return _0x12af54[_0x20553e(0x397)]({'unitId':_0x1924a4,'subUnitId':_0x4a38b1,'token':_0x444a48,'type':_0x496a39[_0x20553e(0x190)],'pivotConfig':_0x359d39}),!0x0;}},_0x1c2149={'id':_0x4d0853(0xcf),'type':_0x26267f['CommandType'][_0x4d0853(0x23a)],'handler':(_0x2310ba,_0x424684)=>{const _0x52b77f=_0x4d0853;if(!_0x424684)return!0x1;const _0x16d1e6=_0x2310ba[_0x52b77f(0x2c0)](_0x26267f['IUndoRedoService']),{unitId:_0xebbae4,subUnitId:_0x2164bf,pivotTableId:_0x41ae19,tableFieldId:_0xb4ba3b}=_0x424684,_0x512857=[],_0x41a4bd=[],_0x355ae7=_0x2310ba['get'](_0x2a0a80[_0x52b77f(0xc6)]),_0x264caa=_0x355ae7['getCollection'](_0xebbae4,_0x41ae19),_0x43f0a2=_0x355ae7[_0x52b77f(0xf6)](_0xebbae4,_0x2164bf,_0x41ae19);if(!(_0x43f0a2!=null&&_0x43f0a2[_0x52b77f(0x360)][_0x52b77f(0x38c)]))return!0x1;const _0x1de636=Object[_0x52b77f(0x12d)](_0x43f0a2[_0x52b77f(0x360)][_0x52b77f(0x38c)])[_0x52b77f(0x14e)](_0x42f63a=>_0x42f63a['id']===_0xb4ba3b);if(!_0x1de636)return!0x1;const _0x3761c2=_0x1de636[_0x52b77f(0x139)];if(!(_0x264caa!=null&&_0x264caa[_0x52b77f(0x222)]))return!0x1;const _0x3a6622=Object[_0x52b77f(0x12d)](_0x264caa==null?void 0x0:_0x264caa[_0x52b77f(0x222)])['find'](_0x806faa=>_0x806faa['id']===_0x3761c2);if(!_0x3a6622)return!0x1;_0x1f569c['isDateGroupFieldJSON'](_0x3a6622)&&_0x512857['push']({'id':_0x12e7a7['id'],'params':{..._0x424684,'dateType':_0x3a6622['dateType']}}),_0x41a4bd[_0x52b77f(0x269)]({'id':_0x12e7a7['id'],'params':{..._0x424684}});const _0x39221f=_0x2310ba[_0x52b77f(0x2c0)](_0x26267f[_0x52b77f(0x284)]);return _0x26267f['sequenceExecute'](_0x41a4bd,_0x39221f)&&_0x16d1e6[_0x52b77f(0x33c)]({'unitID':_0xebbae4,'undoMutations':_0x512857,'redoMutations':_0x41a4bd}),!0x0;}};var _0x4848b1=Object[_0x4d0853(0x31e)],_0x54e2b5=(_0x4c566b,_0x570311,_0x58bbc2,_0x2f41a6)=>{const _0x466949=_0x4d0853;for(var _0x577698=_0x2f41a6>0x1?void 0x0:_0x2f41a6?_0x4848b1(_0x570311,_0x58bbc2):_0x570311,_0x20214f=_0x4c566b[_0x466949(0x19c)]-0x1,_0x44ef7b;_0x20214f>=0x0;_0x20214f--)(_0x44ef7b=_0x4c566b[_0x20214f])&&(_0x577698=_0x44ef7b(_0x577698)||_0x577698);return _0x577698;},_0x62a320=(_0x41ea36,_0x53aca1)=>(_0xe8d2e9,_0x53a4f7)=>_0x53aca1(_0xe8d2e9,_0x53a4f7,_0x41ea36);const _0x1e7d90=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x2ce88f=(_0x39d500,_0x16a9bb,_0x43c980)=>{const _0x2bbbe6=_0x4d0853,_0x11adad=_0x39d500[_0x2bbbe6(0xbc)];_0x39d500[_0x2bbbe6(0x1f6)](_0x22de22=>{const _0xb9bf7c=_0x2bbbe6,_0x3bad72=_0x22de22['getId'](),_0x25f86b=_0x22de22[_0xb9bf7c(0x25e)](),_0x1db5db=_0x22de22[_0xb9bf7c(0x1b5)](),_0x3154b8=_0x22de22['getDisplayName']();_0x16a9bb[_0x25f86b]&&_0x16a9bb[_0x25f86b]===_0x3154b8&&_0x1db5db===_0x3154b8&&(_0x39d500[_0xb9bf7c(0xad)](_0x3bad72,_0x11adad[_0xb9bf7c(0xa2)](_0x25f86b)),_0x22de22[_0xb9bf7c(0x17f)](_0x11adad[_0xb9bf7c(0xa2)](_0x25f86b)));}),_0x39d500[_0x2bbbe6(0x1e1)](_0x1f569c[_0x2bbbe6(0xa6)][_0x2bbbe6(0x29e)],_0x5613a1=>{const _0x1a5ba8=_0x2bbbe6,_0x289403=_0x5613a1[_0x1a5ba8(0xcd)](),_0x58cf75=_0x5613a1['getDataFieldId'](),_0x5c797c=_0x5613a1['getSourceName'](),_0x244f7a=_0x5613a1[_0x1a5ba8(0xa2)](),_0xd8639d=_0x5613a1[_0x1a5ba8(0x224)](),_0x4eef80=_0x43c980(_0x5c797c,_0xd8639d);_0x16a9bb[_0x58cf75]&&_0x16a9bb[_0x58cf75]===_0x5c797c&&_0x4eef80===_0x244f7a&&(_0x39d500[_0x1a5ba8(0xad)](_0x289403,_0x43c980(_0x11adad[_0x1a5ba8(0xa2)](_0x58cf75),_0xd8639d)),_0x5613a1['setSourceName'](_0x11adad[_0x1a5ba8(0xa2)](_0x58cf75)));});},_0x1df45f=(_0x1f0b3c,_0x1ede49,_0x54139a)=>{const _0xef979c=_0x4d0853;var _0x20972f,_0x588500;const {arrayFormulaCellData:_0x38d038,unitData:_0x203153}=_0x1ede49,{unitId:_0x2a0676,subUnitId:_0x49fdfc}=_0x54139a,_0xd50ea5=_0x54139a[_0xef979c(0x2d3)],{startColumn:_0x428154,endColumn:_0x38edc9}=_0xd50ea5,_0x707058=(_0x20972f=_0x38d038==null?void 0x0:_0x38d038[_0x2a0676])==null?void 0x0:_0x20972f[_0x49fdfc],_0x3ff4a8=(_0x588500=_0x203153==null?void 0x0:_0x203153[_0x2a0676])==null?void 0x0:_0x588500[_0x49fdfc],_0x37066f=new Set(),_0x392818=_0x38edc9-_0x428154+0x1,{dirtyRanges:_0x45b88a}=_0x1f0b3c;if(_0x45b88a)for(const {range:_0x4ea957,sheetId:_0x58bfa2,unitId:_0x205285}of _0x45b88a){if(_0x58bfa2!==_0x49fdfc||_0x2a0676!==_0x205285)continue;const _0xa3cbe6=_0x26267f['Rectangle'][_0xef979c(0x203)](_0x4ea957,_0xd50ea5);if(_0xa3cbe6){const {startColumn:_0x5df7eb,endColumn:_0x37b1ac}=_0xa3cbe6;for(let _0x3140a6=_0x5df7eb;_0x3140a6<=_0x37b1ac;_0x3140a6++)_0x37066f[_0xef979c(0x141)](_0x3140a6);}}if(_0x37066f[_0xef979c(0x25f)]===_0x392818||_0x37066f[_0xef979c(0x25f)]===_0x392818)return Array[_0xef979c(0x1d7)](_0x37066f);if(_0x3ff4a8){const _0x613eeb=_0x3ff4a8['getMatrix'](),_0x4c9b15=Object[_0xef979c(0x2a2)](_0x613eeb);for(const _0x231c03 of _0x4c9b15){const _0x381707=Number(_0x231c03),_0x173d23=_0x613eeb[_0x381707];if(_0x37066f[_0xef979c(0x25f)]===_0x392818)break;for(const _0x33a2e0 in _0x173d23){const _0x48bab8=Number(_0x33a2e0);_0x48bab8<_0x428154||_0x48bab8>_0x38edc9||_0x37066f[_0xef979c(0x141)](_0x48bab8);}}}if(_0x707058){const _0x379b29=_0x707058[_0xef979c(0x215)](),_0x147cf0=Object[_0xef979c(0x2a2)](_0x379b29);for(const _0x2aa562 of _0x147cf0){const _0x57354d=Number(_0x2aa562),_0x3ffff8=_0x379b29[_0x57354d];if(_0x37066f['size']===_0x392818)break;for(const _0x3c9ca9 in _0x3ffff8){const _0x164a62=Number(_0x3c9ca9);_0x164a62<_0x428154||_0x164a62>_0x38edc9||_0x37066f[_0xef979c(0x141)](_0x164a62);}}}return Array['from'](_0x37066f);},_0x2d9ef1=_0x4feb4d=>{const _0x443662=_0x4d0853,_0x4721e4=new Set(),_0x71e298=[];for(const _0x3a732b of _0x4feb4d){const _0x3f5bf7=_0x3a732b[_0x443662(0x1ee)]+','+_0x3a732b[_0x443662(0x27a)]+','+_0x3a732b[_0x443662(0x361)]+','+_0x3a732b[_0x443662(0xc3)];_0x4721e4[_0x443662(0x162)](_0x3f5bf7)||(_0x4721e4[_0x443662(0x141)](_0x3f5bf7),_0x71e298['push'](_0x3a732b));}return _0x71e298;};let _0x16672e=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x4dfc4a,_0x1c2233,_0x14de08,_0x4b6e7f,_0x13b874,_0x2e716b){const _0x223e92=_0x4d0853;super(),_0x3aca41(this,_0x223e92(0x25d),new _0x5604ff[(_0x223e92(0xa7))](!0x0)),_0x3aca41(this,'_globalComputedStartHelpFunc',_0x26e811=>{const _0x196178=_0x223e92;this[_0x196178(0x25d)][_0x196178(0x338)](!0x1);}),_0x3aca41(this,_0x223e92(0x92),_0x512c4d=>{const _0x46a7bc=_0x223e92;this[_0x46a7bc(0x25d)]['next'](!0x0);}),(this[_0x223e92(0x11a)]=_0x4dfc4a,this[_0x223e92(0x312)]=_0x1c2233,this[_0x223e92(0x136)]=_0x14de08,this[_0x223e92(0x304)]=_0x4b6e7f,this[_0x223e92(0x273)]=_0x13b874,this[_0x223e92(0x23f)]=_0x2e716b,this[_0x223e92(0x1a2)](),this[_0x223e92(0x2ba)]());}[_0x4d0853(0x1a2)](){const _0x30fc57=_0x4d0853;this[_0x30fc57(0x168)](),this[_0x30fc57(0x267)](),this[_0x30fc57(0x26e)](),this[_0x30fc57(0x12a)]();}[_0x4d0853(0x1bd)](){const _0x42d48b=_0x4d0853;this[_0x42d48b(0x273)]['pushComputingStatusSubject'](this[_0x42d48b(0x25d)]),_0x1f569c[_0x42d48b(0x372)]['registerCallbackWithEvent'](_0x1f569c['PivotCallbackEnum'][_0x42d48b(0x157)],this['_globalComputedStartHelpFunc']),_0x1f569c['PivotTable'][_0x42d48b(0x1b4)](_0x1f569c[_0x42d48b(0x1de)][_0x42d48b(0x3af)],this[_0x42d48b(0x92)]);}['_initPivotDataGetListener'](){const _0x24040a=_0x4d0853;this[_0x24040a(0x2db)](this[_0x24040a(0x304)][_0x24040a(0xf7)](_0xc31376=>{const _0x121a4c=_0x24040a;_0xc31376['id']===_0x15c6e7['MoveRangeMutation']['id']&&this[_0x121a4c(0x11a)]['handleMoveRange'](_0xc31376[_0x121a4c(0x352)]);})),this[_0x24040a(0x2db)](this[_0x24040a(0x304)][_0x24040a(0xf7)](_0x31bbcf=>{const _0x5c79a6=_0x24040a;if(_0x31bbcf['id']!==_0x1ff8a2['id'])return;const _0x58d8d9=_0x31bbcf[_0x5c79a6(0x352)],{unitId:_0x5cb188,subUnitId:_0x44a392,pivotTableId:_0x2a564a}=_0x58d8d9,_0x5c68f1=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x15b)],_0x219e2c={};switch(_0x5c68f1){case _0x3be926['Filter']:{const _0x410c41=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x14c)];if(!_0x410c41)return;const {row:_0x2d050c,col:_0xbf3434,cellData:_0x17fe25,pivotItemRenderInfoCache:_0x4086c9,tableFieldId:_0x2205e4}=_0x410c41,_0x23484c=this[_0x5c79a6(0x11a)]['getPivotTableInstance'](_0x58d8d9[_0x5c79a6(0x2e5)]);if(!_0x23484c||!_0x4086c9)return;if(_0x2205e4){const _0x21d219=_0x23484c['getDataFieldByTableId'](_0x2205e4);if(!_0x21d219)return;_0x219e2c[_0x5c79a6(0x14c)]={..._0x23484c[_0x5c79a6(0x205)](_0x21d219),'tableFieldId':_0x2205e4,'pivotTableId':_0x58d8d9['pivotTableId'],'filterInfo':_0x23484c['getFilterInfo'](_0x2205e4),'sortInfo':_0x23484c[_0x5c79a6(0x135)](_0x2205e4),'format':_0x23484c[_0x5c79a6(0x23c)](_0x2205e4)};}else{const _0x43c81b=_0x22a3e7(_0x2d050c,_0xbf3434,_0x17fe25,_0x23484c,_0x4086c9),_0x183455=_0x43c81b==null?void 0x0:_0x43c81b['filterId'];if(!_0x183455)return;const _0x380b92=_0x23484c[_0x5c79a6(0x21c)](_0x183455);if(!_0x380b92)return;_0x219e2c[_0x5c79a6(0x14c)]={..._0x23484c[_0x5c79a6(0x205)](_0x380b92),'tableFieldId':_0x183455,'pivotTableId':_0x58d8d9[_0x5c79a6(0x2e5)],'filterInfo':_0x23484c[_0x5c79a6(0xbf)](_0x183455),'sortInfo':_0x23484c[_0x5c79a6(0x135)](_0x183455),'format':_0x23484c[_0x5c79a6(0x23c)](_0x183455)};}}break;case _0x3be926[_0x5c79a6(0x20f)]:{const _0x2310e3=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x2ab)];if(!_0x2310e3)return;const {pivotTableId:_0x21b03e}=_0x2310e3,_0x558770=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x21b03e);if(!_0x558770)return;const _0x1e5d7c=this['_sheetsPivotDataSourceModel'][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x21b03e),_0x6c20a4=_0x4daa48(_0x558770,_0x21b03e,_0x1e5d7c);_0x219e2c[_0x5c79a6(0x2ab)]=_0x6c20a4;}break;case _0x3be926[_0x5c79a6(0x216)]:{const _0x595a41=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a),_0x480427=this[_0x5c79a6(0x11a)]['getDataFieldManager'](_0x5cb188),_0x560a3b=_0x480427['getCollection'](_0x2a564a);let _0x3eafd9=null;const _0x3fc09d=this['_sheetsPivotDataSourceModel'][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x2a564a),_0xce4a10=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x399)];if(!_0x595a41||!_0x3fc09d||!_0xce4a10)return!0x1;const {dataFieldId:_0x30676d,fieldArea:_0x33e266,index:_0x3e8534}=_0xce4a10;_0x595a41['startCollectChangeset']();const _0x349e24=_0x595a41[_0x5c79a6(0x20b)](_0x30676d,_0x33e266,_0x3e8534);if(_0x349e24&&_0x33e266===_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x29e)]){const _0xc9617d=_0x349e24['getId'](),_0x430db8=_0x595a41[_0x5c79a6(0x21c)](_0xc9617d);if(_0x430db8){const _0x2da389=_0x430db8==null?void 0x0:_0x430db8[_0x5c79a6(0x280)]();_0x595a41[_0x5c79a6(0x13a)](_0x349e24[_0x5c79a6(0xcd)](),_0x2da389===_0x1f569c['PivotDataFieldDataTypeEnum'][_0x5c79a6(0x12f)]?_0x1f569c[_0x5c79a6(0x30f)][_0x5c79a6(0x2be)]:_0x1f569c[_0x5c79a6(0x30f)]['count']);}const _0x402d94=_0x595a41[_0x5c79a6(0x3a4)](),_0x4949ed=_0x595a41[_0x5c79a6(0x1d1)](),_0xb76125=_0x595a41[_0x5c79a6(0x170)](_0x1f569c[_0x5c79a6(0xa6)]['Value']);if(_0x402d94===-0x1&&_0xb76125>0x1){const _0x42ed02=_0x4949ed===_0x1f569c[_0x5c79a6(0x97)]['None']?_0x1f569c['PivotTableValuePositionEnum'][_0x5c79a6(0x1ae)]:_0x4949ed,_0x5c3ca1=_0x42ed02===_0x1f569c[_0x5c79a6(0x97)][_0x5c79a6(0x210)]?_0x1f569c['PivotTableFiledAreaEnum'][_0x5c79a6(0x210)]:_0x1f569c['PivotTableFiledAreaEnum']['Column'];_0x595a41[_0x5c79a6(0x262)](_0x42ed02,_0x595a41['getFieldCountByArea'](_0x5c3ca1));}}else{if(_0x349e24&&(_0x33e266===_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x210)]||_0x33e266===_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x1ae)])){const _0x59f997=_0x349e24['getId'](),_0x310855=_0x595a41[_0x5c79a6(0x21c)](_0x59f997);if(_0x310855&&(_0x310855==null?void 0x0:_0x310855[_0x5c79a6(0x280)]())===_0x1f569c[_0x5c79a6(0x1d6)][_0x5c79a6(0x28f)]){const _0x4e8c4e=_0x310855['getformat']();if(_0x4e8c4e&&_0x595a41['setFieldFormat'](_0x349e24['getId'](),_0x4e8c4e),!_0x560a3b[_0x5c79a6(0x314)]()[_0x5c79a6(0x26c)](_0x19b30f=>{const _0x333507=_0x5c79a6,_0x2fa055=_0x560a3b['getFieldById'](_0x19b30f);return _0x1f569c[_0x333507(0x180)](_0x2fa055)?_0x2fa055[_0x333507(0x305)]()['originalFieldId']===_0x30676d:!0x1;})){const _0x73ca51=_0x480427[_0x5c79a6(0x339)](),_0x41d8b7=_0x115374(_0x310855[_0x5c79a6(0x2d5)],_0x310855[_0x5c79a6(0x13e)]),_0x2b0f3c=_0x310855['getName']()+_0x5c79a6(0x17e)+_0x46277c(this[_0x5c79a6(0x23f)],_0x41d8b7),_0x635a11=new _0x1f569c['DateGroupField'](_0x73ca51,_0x2b0f3c,_0x1f569c[_0x5c79a6(0x243)](0x3),_0x310855[_0x5c79a6(0xcd)](),_0x41d8b7);_0x480427['addDataFieldWithoutUnitInfo'](_0x635a11),_0x560a3b[_0x5c79a6(0x287)](_0x73ca51,_0x2b0f3c),_0x595a41['addFieldWithSourceId'](_0x73ca51,_0x33e266,(_0x3e8534!=null?_0x3e8534:0x0)+0x1),_0x3eafd9=_0x635a11;}}}}const _0x4efd28=_0x595a41['isEmpty'](),_0x342030=_0x595a41[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)]();let _0xfb6c30;if(_0x3eafd9){_0xfb6c30=_0x3eafd9[_0x5c79a6(0x172)]();const _0x35bd05=_0x3eafd9['getId']();_0x560a3b[_0x5c79a6(0x19b)](_0x35bd05);let _0x2c97f3=!0x0;for(const _0x52feae in _0x480427[_0x5c79a6(0x144)])if(_0x480427[_0x5c79a6(0x144)][_0x52feae][_0x5c79a6(0x314)]()[_0x5c79a6(0x1ec)](_0x35bd05)){_0x2c97f3=!0x1;break;}_0x2c97f3&&_0x480427[_0x5c79a6(0x1ca)](_0x35bd05);}const _0x105a02=_0x595a41[_0x5c79a6(0x30c)]();_0x219e2c[_0x5c79a6(0x399)]={'view':_0x342030,'changesets':_0x105a02,'isEmpty':_0x4efd28,'pivotTableConfig':_0x3fc09d,'shouldBeAddedGroupJSON':_0xfb6c30};}break;case _0x3be926[_0x5c79a6(0x333)]:{const _0x51adb7=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x381)];if(!_0x51adb7)return;const _0x34e524=_0x51adb7[_0x5c79a6(0x35a)],_0x12b60f=_0x51adb7[_0x5c79a6(0x2e5)],{collection:_0x1c4ae1}=this['_sheetsPivotDataSourceModel'][_0x5c79a6(0xdc)]({'unitId':_0x34e524[_0x5c79a6(0x358)],'sheetName':_0x34e524['sheetName'],'subUnitId':_0x34e524[_0x5c79a6(0x191)],'range':_0x34e524['range']}),_0x46f860=new _0x1f569c[(_0x5c79a6(0x372))](_0x1c4ae1,void 0x0,_0x12b60f),_0x511ce7=_0x46f860[_0x5c79a6(0x1ab)](),_0x397618=_0x46f860[_0x5c79a6(0x172)](),_0x3d6445=_0x1c4ae1[_0x5c79a6(0x172)]();_0x219e2c[_0x5c79a6(0x381)]={'view':_0x511ce7,'fieldsConfig':_0x397618,'collectionConfig':_0x3d6445,'isEmpty':_0x46f860[_0x5c79a6(0x2c9)]()};}break;case _0x3be926[_0x5c79a6(0x38f)]:{const _0x5310a3=_0x58d8d9['params'][_0x5c79a6(0x357)];if(!_0x5310a3)return;const {fieldId:_0x11f83a,area:_0x3ff2ea,index:_0x1cafe9}=_0x5310a3,_0x2b5722=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x2b5722)return;const _0x1aa3ea=this[_0x5c79a6(0x11a)]['getPivotTableInstance'](_0x2a564a);if(!_0x1aa3ea)return;_0x1aa3ea[_0x5c79a6(0x1fa)]();const {area:_0x281b2,index:_0x4bfad0}=_0x1aa3ea['getFieldPositionInfoById'](_0x11f83a);if(_0x1aa3ea['updateFieldPosition'](_0x11f83a,_0x3ff2ea,_0x1cafe9),_0x3ff2ea===_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x29e)]&&_0x1aa3ea[_0x5c79a6(0x3a3)](_0x11f83a)[_0x5c79a6(0x224)]()===void 0x0){const _0x54ea6c=_0x1aa3ea[_0x5c79a6(0x3a3)](_0x11f83a);if(_0x54ea6c&&_0x54ea6c[_0x5c79a6(0x224)]()===void 0x0){const _0x2d31b2=_0x1aa3ea[_0x5c79a6(0x21c)](_0x11f83a);if(_0x2d31b2){const _0x27d103=_0x2d31b2==null?void 0x0:_0x2d31b2['getFieldDataType']();_0x1aa3ea[_0x5c79a6(0x13a)](_0x11f83a,_0x27d103===_0x1f569c[_0x5c79a6(0x1d6)][_0x5c79a6(0x12f)]?_0x1f569c[_0x5c79a6(0x30f)][_0x5c79a6(0x2be)]:_0x1f569c[_0x5c79a6(0x30f)]['count']);}}}const _0x5919f1=_0x1aa3ea[_0x5c79a6(0x1d1)](),_0x1ce330=_0x1aa3ea['getValueIndex'](),_0x1a26b9=_0x1aa3ea['getFieldCountByArea'](_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x29e)])>0x1;if(_0x1a26b9&&_0x281b2===_0x3ff2ea&&(_0x3ff2ea===_0x1f569c['PivotTableFiledAreaEnum'][_0x5c79a6(0x210)]&&_0x5919f1===_0x1f569c[_0x5c79a6(0x97)][_0x5c79a6(0x210)]||_0x3ff2ea===_0x1f569c['PivotTableFiledAreaEnum'][_0x5c79a6(0x1ae)]&&_0x5919f1===_0x1f569c['PivotTableValuePositionEnum'][_0x5c79a6(0x1ae)])){let _0x32d38c=_0x1ce330;_0x4bfad0<=_0x1ce330&&_0x32d38c--,_0x1cafe9<=_0x1ce330&&_0x32d38c++,_0x1aa3ea[_0x5c79a6(0x262)](_0x5919f1,_0x32d38c);}else _0x1a26b9&&(_0x281b2===_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x210)]&&_0x5919f1===_0x1f569c[_0x5c79a6(0x97)][_0x5c79a6(0x210)]||_0x281b2===_0x1f569c['PivotTableFiledAreaEnum'][_0x5c79a6(0x1ae)]&&_0x5919f1===_0x1f569c[_0x5c79a6(0x97)][_0x5c79a6(0x1ae)])&&_0x1ce330>=_0x4bfad0&&_0x1aa3ea[_0x5c79a6(0x262)](_0x5919f1,_0x1ce330-0x1),_0x1a26b9&&(_0x3ff2ea===_0x1f569c['PivotTableFiledAreaEnum'][_0x5c79a6(0x210)]&&_0x5919f1===_0x1f569c[_0x5c79a6(0x97)][_0x5c79a6(0x210)]||_0x3ff2ea===_0x1f569c[_0x5c79a6(0xa6)]['Column']&&_0x5919f1===_0x1f569c[_0x5c79a6(0x97)][_0x5c79a6(0x1ae)])&&_0x1ce330>=_0x1cafe9&&_0x1aa3ea[_0x5c79a6(0x262)](_0x5919f1,_0x1ce330+0x1);const _0x581dd8=_0x1aa3ea[_0x5c79a6(0x1ab)](),_0x2b1a5f=_0x1aa3ea[_0x5c79a6(0x2c9)](),_0x5a16a2=_0x1aa3ea[_0x5c79a6(0x30c)]();_0x219e2c[_0x5c79a6(0x357)]={'view':_0x581dd8['toJSON'](),'changesets':_0x5a16a2,'isEmpty':_0x2b1a5f,'pivotTableConfig':_0x2b5722};}break;case _0x3be926[_0x5c79a6(0x2df)]:{const _0x3425eb=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x179)];if(!_0x3425eb)return;const _0x1d39ee=_0x3425eb['fieldIds'],_0x24b338=this[_0x5c79a6(0x11a)][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x24b338)return!0x1;const _0x3d1313=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a);if(!_0x3d1313)return!0x1;_0x3d1313[_0x5c79a6(0x1fa)]();for(const _0x4709fb of _0x1d39ee){const {area:_0x5e1fbf}=_0x3d1313[_0x5c79a6(0x22a)](_0x4709fb);_0x5e1fbf===_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x29e)]&&_0x3d1313[_0x5c79a6(0x2b4)](_0x4709fb),(_0x5e1fbf===_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x210)]||_0x5e1fbf===_0x1f569c['PivotTableFiledAreaEnum'][_0x5c79a6(0x1ae)])&&_0x3d1313[_0x5c79a6(0x39f)](_0x4709fb),_0x3d1313['removeField'](_0x4709fb);}const _0x18108d=_0x3d1313[_0x5c79a6(0x2c9)](),_0x428ecb=_0x3d1313['query']()[_0x5c79a6(0x172)](),_0x5c37f0=_0x3d1313[_0x5c79a6(0x30c)]();_0x219e2c['removePivotField']={'changesets':_0x5c37f0,'pivotTableConfig':_0x24b338,'isEmpty':_0x18108d,'view':_0x428ecb};}break;case _0x3be926[_0x5c79a6(0x218)]:{const _0x428b33=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x236)];if(!_0x428b33)return;const {tableFieldId:_0x4c47ee,items:_0x5aaf70,isAll:_0x4ba254}=_0x428b33,_0x1bda26=this['_sheetsPivotDataSourceModel'][_0x5c79a6(0xfe)](_0x2a564a),_0x409a3b=this[_0x5c79a6(0x11a)]['getPivotTableConfig'](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x1bda26||!_0x409a3b)return;_0x1bda26[_0x5c79a6(0x1fa)](),_0x1bda26[_0x5c79a6(0x103)](_0x4c47ee,{'type':_0x1f569c[_0x5c79a6(0x1a6)][_0x5c79a6(0x2b7)],'list':_0x5aaf70,'isAll':_0x4ba254});const _0xffba40=_0x1bda26[_0x5c79a6(0x2c9)](),_0x5f09c3=_0x1bda26[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)](),_0x491f64=_0x1bda26['endCollectChangeset']();_0x219e2c['setPivotFilter']={'view':_0x5f09c3,'changesets':_0x491f64,'isEmpty':_0xffba40,'pivotTableConfig':_0x409a3b};}break;case _0x3be926[_0x5c79a6(0x1f1)]:{const _0x3f55ce=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x276)];if(!_0x3f55ce)return;const {tableFieldId:_0x5692ff,filterInfo:_0x56c1e7}=_0x3f55ce,_0x563879=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a),_0x4c206e=this[_0x5c79a6(0x11a)]['getPivotTableConfig'](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x563879||!_0x4c206e)return;_0x563879['startCollectChangeset'](),_0x563879[_0x5c79a6(0xac)](_0x5692ff,_0x56c1e7);const _0x54acd6=_0x563879[_0x5c79a6(0x2c9)](),_0x79ccee=_0x563879[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)](),_0x2277ce=_0x563879[_0x5c79a6(0x30c)]();_0x219e2c[_0x5c79a6(0x276)]={'view':_0x79ccee,'changesets':_0x2277ce,'isEmpty':_0x54acd6,'pivotTableConfig':_0x4c206e};}break;case _0x3be926[_0x5c79a6(0x30a)]:{const _0x428320=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x2fd)];if(!_0x428320)return;const {tableFieldId:_0xbeaf13,info:_0x12de91}=_0x428320,_0x4089a7=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a),_0x371901=this[_0x5c79a6(0x11a)][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x4089a7||!_0x371901)return;_0x4089a7[_0x5c79a6(0x1fa)](),_0x4089a7['setSortInfo'](_0xbeaf13,_0x12de91);const _0x23c38a=_0x4089a7[_0x5c79a6(0x2c9)](),_0x4d1ed2=_0x4089a7[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)](),_0x25e692=_0x4089a7[_0x5c79a6(0x30c)]();_0x219e2c[_0x5c79a6(0x2fd)]={'view':_0x4d1ed2,'changesets':_0x25e692,'isEmpty':_0x23c38a,'pivotTableConfig':_0x371901};}break;case _0x3be926[_0x5c79a6(0x271)]:{const _0x2c8fa9=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x1c2)];if(!_0x2c8fa9)return;const {tableFieldId:_0x5c69cd,displayName:_0x588690,subtotalType:_0x189514,format:_0x5acdf0}=_0x2c8fa9,_0x2d235c=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a),_0x506ed2=this['_sheetsPivotDataSourceModel'][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x2d235c||!_0x506ed2)return;_0x2d235c[_0x5c79a6(0x1fa)](),_0x588690!==void 0x0&&_0x2d235c[_0x5c79a6(0xad)](_0x5c69cd,_0x588690),_0x189514!==void 0x0&&_0x2d235c['setSubtotalType'](_0x5c69cd,_0x189514),_0x5acdf0!==void 0x0&&_0x2d235c[_0x5c79a6(0x2ae)](_0x5c69cd,_0x5acdf0);const _0x3dfe9c=_0x2d235c[_0x5c79a6(0x2c9)](),_0x390509=_0x2d235c['query']()[_0x5c79a6(0x172)](),_0x327f6f=_0x2d235c[_0x5c79a6(0x30c)]();_0x219e2c[_0x5c79a6(0x1c2)]={'changesets':_0x327f6f,'pivotTableConfig':_0x506ed2,'isEmpty':_0x3dfe9c,'view':_0x390509};}break;case _0x3be926['UpdatePivotSource']:{const _0x41a9ab=_0x58d8d9[_0x5c79a6(0x352)]['updatePivotSource'];if(!_0x41a9ab)return;const {dataRangeInfo:_0x2f37fe,unitId:_0x2b22cb,subUnitId:_0x56398c}=_0x41a9ab,_0x45f3c5=this[_0x5c79a6(0x11a)]['getPivotTableConfig'](_0x2b22cb,_0x56398c,_0x2a564a),_0x3a6874=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a);if(!this[_0x5c79a6(0x11a)][_0x5c79a6(0x240)](_0x2b22cb,_0x2a564a)||!_0x3a6874||!_0x45f3c5)return;const _0x2a3b97=this[_0x5c79a6(0x11a)]['getUpdateRangeDeleteIds'](_0x2b22cb,_0x2a564a,_0x2f37fe),_0x73105d=this['_sheetsPivotDataSourceModel']['getCollection'](_0x2b22cb,_0x2a564a)[_0x5c79a6(0x172)](),{collection:_0x234359}=this[_0x5c79a6(0x11a)]['createCollectionWithDataRange']({'unitId':_0x2f37fe[_0x5c79a6(0x358)],'sheetName':_0x2f37fe[_0x5c79a6(0x156)],'subUnitId':_0x2f37fe[_0x5c79a6(0x191)],'range':_0x2f37fe[_0x5c79a6(0x2d3)]}),_0x11782d=_0x234359[_0x5c79a6(0x172)]();_0x3a6874[_0x5c79a6(0x1fa)]();const _0x512b08=this[_0x5c79a6(0x11a)][_0x5c79a6(0x366)](_0x2b22cb)[_0x5c79a6(0x117)]()||_0x1f569c[_0x5c79a6(0xab)];_0x3a6874[_0x5c79a6(0x295)](_0xbea907=>{const _0x147902=_0x5c79a6,_0x3b967a=_0xbea907[_0x147902(0x25e)]();if(!_0x234359[_0x147902(0xee)](_0x3b967a)){const _0x20f35d=_0x234359['getDataFieldBySourceName'](_0xbea907['getSourceName']());if(_0x20f35d){_0x3a6874[_0x147902(0x133)](_0xbea907[_0x147902(0xcd)](),_0x20f35d[_0x147902(0xeb)](),_0x20f35d[_0x147902(0xcd)]());const {area:_0x535bfd}=_0x3a6874['getFieldPositionInfoById'](_0xbea907[_0x147902(0xcd)]());let _0x4b06da=_0xbea907['getSourceName']();const _0x4da38a=_0xbea907[_0x147902(0xa2)]();if(_0x535bfd===_0x1f569c[_0x147902(0xa6)][_0x147902(0x29e)]){const _0x481b28=_0xbea907['getSubtotal']();_0x4b06da=_0x512b08(_0x20f35d['getName'](),_0x481b28);}_0x4da38a!==_0x4b06da&&_0x3a6874[_0x147902(0xad)](_0xbea907['getId'](),_0x4b06da);}else _0x3a6874[_0x147902(0x266)](_0xbea907[_0x147902(0xcd)]());}});const _0x4a89fd=_0x3a6874[_0x5c79a6(0x2c9)](),_0xf7443a=_0x3a6874[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)](),_0x27b3db=_0x3a6874['endCollectChangeset']();_0x219e2c[_0x5c79a6(0xc4)]={'view':_0xf7443a,'changesets':_0x27b3db,'isEmpty':_0x4a89fd,'pivotTableConfig':_0x45f3c5,'collectionConfig':_0x11782d,'oldCollectionConfig':_0x73105d,'deleteIds':_0x2a3b97};}break;case _0x3be926[_0x5c79a6(0x367)]:{const _0x38436b=_0x58d8d9[_0x5c79a6(0x352)]['updateValuePosition'];if(!_0x38436b)return;const {position:_0x35fd93,index:_0x4ca9f4}=_0x38436b,_0x373438=this[_0x5c79a6(0x11a)]['getPivotTableConfig'](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x373438)return!0x1;const _0x2a2e3=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a);if(!_0x2a2e3)return!0x1;_0x2a2e3['startCollectChangeset'](),_0x2a2e3[_0x5c79a6(0x262)](_0x35fd93,_0x4ca9f4);const _0x1303b8=_0x2a2e3['isEmpty'](),_0x330e60=_0x2a2e3['query']()[_0x5c79a6(0x172)](),_0x57489c=_0x2a2e3['endCollectChangeset']();_0x219e2c[_0x5c79a6(0x262)]={'changesets':_0x57489c,'pivotTableConfig':_0x373438,'isEmpty':_0x1303b8,'view':_0x330e60};}break;case _0x3be926[_0x5c79a6(0x21e)]:{const _0x506efd=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x28c)];if(!_0x506efd)return;const {tableFieldId:_0x244792,collapse:_0x2dd749,item:_0x15fba6}=_0x506efd,_0x39edf9=this[_0x5c79a6(0x11a)]['getPivotTableInstance'](_0x2a564a),_0xd829de=this[_0x5c79a6(0x11a)][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x39edf9||!_0xd829de)return;_0x39edf9[_0x5c79a6(0x1fa)](),_0x39edf9['setCollapse'](_0x244792,_0x2dd749,_0x15fba6);const _0x241b31=_0x39edf9[_0x5c79a6(0x2c9)](),_0x350921=_0x39edf9[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)](),_0x3679df=_0x39edf9['endCollectChangeset']();_0x219e2c[_0x5c79a6(0x28c)]={'view':_0x350921,'isEmpty':_0x241b31,'pivotTableConfig':_0xd829de,'changesets':_0x3679df};}break;case _0x3be926[_0x5c79a6(0x1be)]:{const _0x3527ec=_0x58d8d9[_0x5c79a6(0x352)]['setPivotTableConfig'];if(!_0x3527ec)return;const {pivotTableConfig:_0x71491f}=_0x3527ec,_0x1418c0=this[_0x5c79a6(0x11a)]['getPivotTableInstance'](_0x2a564a),_0x344172=this[_0x5c79a6(0x11a)][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x1418c0||!_0x344172)return;_0x1418c0[_0x5c79a6(0x1fa)](),_0xb59e83(_0x1418c0,_0x71491f);const _0x110695=_0x1418c0['isEmpty'](),_0x1e7a90=_0x1418c0[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)](),_0x189dba=_0x1418c0[_0x5c79a6(0x30c)]();_0x219e2c[_0x5c79a6(0x2f9)]={'view':_0x1e7a90,'isEmpty':_0x110695,'pivotTableConfig':{..._0x344172,'fieldsConfig':_0x1418c0[_0x5c79a6(0x172)]()},'changesets':_0x189dba};}break;case _0x3be926[_0x5c79a6(0x160)]:{const _0xbc6c92=_0x58d8d9[_0x5c79a6(0x352)][_0x5c79a6(0x1fc)];if(!_0xbc6c92)return;const _0x58ee7d=this[_0x5c79a6(0x11a)][_0x5c79a6(0xfe)](_0x2a564a),_0xb44382=this[_0x5c79a6(0x11a)][_0x5c79a6(0xf6)](_0x5cb188,_0x44a392,_0x2a564a);if(!_0x58ee7d||!_0xb44382)return;_0x58ee7d[_0x5c79a6(0x1fa)](),_0x7dfe87(_0x58ee7d,_0xbc6c92[_0x5c79a6(0x239)]);const _0x4aafe9=_0x58ee7d[_0x5c79a6(0x1ab)]()[_0x5c79a6(0x172)](),_0x2b15fa=_0x58ee7d['endCollectChangeset']();_0x219e2c[_0x5c79a6(0x1fc)]={'view':_0x4aafe9,'isEmpty':!0x0,'pivotTableConfig':{..._0xb44382,'fieldsConfig':_0x58ee7d[_0x5c79a6(0x172)]()},'changesets':_0x2b15fa};}break;case _0x3be926['AddPivotTableWithConfig']:{const _0x53479a=_0x58d8d9[_0x5c79a6(0x352)]['addPivotTableWithConfig'];if(!_0x53479a)return;const _0x404058=_0x53479a[_0x5c79a6(0x35a)],_0x2cf060=_0x53479a['pivotTableId'],{collection:_0xd4586f}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x404058['unitId'],'sheetName':_0x404058[_0x5c79a6(0x156)],'subUnitId':_0x404058[_0x5c79a6(0x191)],'range':_0x404058[_0x5c79a6(0x2d3)]}),_0x252753=new _0x1f569c[(_0x5c79a6(0x372))](_0xd4586f,void 0x0,_0x2cf060),_0x485cf2=_0xd4586f[_0x5c79a6(0x314)](),{rows:_0x2c022c,columns:_0x2e8af1,filters:_0x2508e3,values:_0x37e4cd}=_0x53479a[_0x5c79a6(0x1dc)];_0x252753[_0x5c79a6(0x1fa)]();for(const {field:_0x3eb44f,selectedItems:_0x54f414}of _0x2c022c||[]){const _0x4657c7=_0x485cf2[_0x3eb44f];if(_0x4657c7){const _0x16ed82=_0x252753[_0x5c79a6(0x20b)](_0x4657c7,_0x1f569c['PivotTableFiledAreaEnum'][_0x5c79a6(0x210)]);_0x54f414&&_0x16ed82&&_0x252753[_0x5c79a6(0x103)](_0x16ed82[_0x5c79a6(0xcd)](),{'type':_0x1f569c['PivotFilterTypeEnum'][_0x5c79a6(0x2b7)],'list':_0x54f414,'isAll':!0x1});}}for(const {field:_0x193df0,selectedItems:_0x28c4a1}of _0x2e8af1||[]){const _0x34483e=_0x485cf2[_0x193df0];if(_0x34483e){const _0x790ade=_0x252753[_0x5c79a6(0x20b)](_0x34483e,_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x1ae)]);_0x28c4a1&&_0x790ade&&_0x252753[_0x5c79a6(0x103)](_0x790ade[_0x5c79a6(0xcd)](),{'type':_0x1f569c['PivotFilterTypeEnum'][_0x5c79a6(0x2b7)],'list':_0x28c4a1,'isAll':!0x1});}}for(const {field:_0x116900,selectedItems:_0x4b9d19}of _0x2508e3||[]){const _0x5b512e=_0x485cf2[_0x116900];if(_0x5b512e){const _0x132f36=_0x252753[_0x5c79a6(0x20b)](_0x5b512e,_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x12e)]);_0x4b9d19&&_0x132f36&&_0x252753[_0x5c79a6(0x103)](_0x132f36[_0x5c79a6(0xcd)](),{'type':_0x1f569c[_0x5c79a6(0x1a6)][_0x5c79a6(0x2b7)],'list':_0x4b9d19,'isAll':!0x1});}}for(const {field:_0x3c2d07,subTotalType:_0x391d9a,formatString:_0x35ce92}of _0x37e4cd||[]){const _0xb19eac=_0xd4586f['getFieldById'](_0x485cf2[_0x3c2d07]);if(!_0xb19eac)continue;const _0x36e019=_0x485cf2[_0x3c2d07];if(_0x36e019){const _0xb92834=_0x252753[_0x5c79a6(0x20b)](_0x36e019,_0x1f569c[_0x5c79a6(0xa6)][_0x5c79a6(0x29e)]);if(_0xb92834){if(_0x391d9a!==void 0x0){_0x252753[_0x5c79a6(0x13a)](_0xb92834[_0x5c79a6(0xcd)](),_0x391d9a);const _0x3c5cf2=this[_0x5c79a6(0x11a)]['getDataFieldManager'](_0x404058[_0x5c79a6(0x358)])[_0x5c79a6(0x117)]()||_0x1f569c[_0x5c79a6(0xab)],_0x23feef=_0xd4586f[_0x5c79a6(0xa2)](_0x36e019),_0x1d93a6=_0x3c5cf2(_0x23feef,_0x391d9a);_0x252753[_0x5c79a6(0xad)](_0xb92834[_0x5c79a6(0xcd)](),_0x1d93a6);}else{if(_0xb19eac){const _0x4d186f=_0xb19eac==null?void 0x0:_0xb19eac[_0x5c79a6(0x280)]();_0x252753['setSubtotalType'](_0xb92834[_0x5c79a6(0xcd)](),_0x4d186f===_0x1f569c[_0x5c79a6(0x1d6)]['number']?_0x1f569c[_0x5c79a6(0x30f)][_0x5c79a6(0x2be)]:_0x1f569c[_0x5c79a6(0x30f)]['count']);}}_0x35ce92&&_0x252753['setFieldFormat'](_0xb92834[_0x5c79a6(0xcd)](),_0x35ce92);}}}const _0x256ebf=_0x252753[_0x5c79a6(0x1ab)](),_0x536f40=_0x252753[_0x5c79a6(0x172)](),_0xaf7057=_0x252753[_0x5c79a6(0x2c9)](),_0x46b356=_0x252753['endCollectChangeset'](),_0x8b8bca=_0xd4586f[_0x5c79a6(0x172)]();_0x219e2c['addPivotTableWithConfig']={'view':_0x256ebf,'fieldsConfig':_0x536f40,'collectionConfig':_0x8b8bca,'isEmpty':_0xaf7057,'changesets':_0x46b356};}break;case _0x3be926[_0x5c79a6(0x9d)]:{const _0x3fe106=_0x3e04e0(this[_0x5c79a6(0x23f)],_0x58d8d9);if(!_0x3fe106)return;const {range:_0x3983dc,sourceSubUnitId:_0x33669c,sourceUnitId:_0x32e25d,formatMap:_0x39efbf,indexes:_0x1cdeb5}=_0x3fe106;_0x219e2c[_0x5c79a6(0x343)]={'range':_0x3983dc,'sourceSubUnitId':_0x33669c,'sourceUnitId':_0x32e25d,'formatMap':_0x39efbf,'indexes':_0x1cdeb5};}break;}this[_0x5c79a6(0x304)]['executeCommand'](_0x530263['id'],{'version':_0x58d8d9[_0x5c79a6(0x35c)],'result':_0x219e2c},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x255470=_0x4d0853;this[_0x255470(0x2db)](this['_commandService'][_0x255470(0xf7)](_0x5b8f6c=>{const _0x45767f=_0x255470;if(_0x5b8f6c['id']!==_0x44b694['id'])return;const _0x64ba0c=_0x5b8f6c[_0x45767f(0x352)];return this[_0x45767f(0x11a)][_0x45767f(0x15e)](_0x64ba0c[_0x45767f(0x199)]),!0x0;}));}[_0x4d0853(0x168)](){const _0x29d0f5=_0x4d0853;this[_0x29d0f5(0x11a)][_0x29d0f5(0xfa)][_0x29d0f5(0x1c1)](_0x49c79d=>{const _0xef2e65=_0x29d0f5;switch(_0x49c79d[_0xef2e65(0x15b)]){case _0x36eba0[_0xef2e65(0x141)]:_0x49c79d[_0xef2e65(0x1e6)]&&_0x49c79d['targetCellInfo']&&this['handleSourceRangeChange'](_0x49c79d[_0xef2e65(0x2c8)],_0x49c79d['dataRangeInfo'],_0x49c79d['targetCellInfo']);break;case _0x36eba0['delete']:{const {unitId:_0x3039e7,subUnitId:_0x8f5be4,token:_0x535337}=_0x49c79d;_0x3039e7&&_0x8f5be4&&_0x535337&&this['removeSourceRangeChange'](_0x3039e7,_0x8f5be4,_0x535337);}break;case _0x36eba0[_0xef2e65(0x119)]:{const {token:_0x359fe2,oldSourceRangeInfo:_0x27c95e,dataRangeInfo:_0x1dcfe5,targetCellInfo:_0xa1b350}=_0x49c79d,{unitId:_0x2d5489,subUnitId:_0x528c44}=_0x27c95e||{};_0x2d5489&&_0x528c44&&_0x359fe2&&this[_0xef2e65(0x320)](_0x2d5489,_0x528c44,_0x359fe2),_0x1dcfe5&&_0xa1b350&&this[_0xef2e65(0x33a)](_0x359fe2,_0x1dcfe5,_0xa1b350);}break;}});}[_0x4d0853(0x12a)](){const _0x31ae81=_0x4d0853;this[_0x31ae81(0x11a)][_0x31ae81(0x16f)][_0x31ae81(0x1c1)](_0x1b195e=>{const _0x4a8528=_0x31ae81;Object[_0x4a8528(0x2a2)](_0x1b195e)[_0x4a8528(0x35d)](_0x145ba1=>{const _0x4b2cb4=_0x4a8528,_0x328018=this[_0x4b2cb4(0x11a)][_0x4b2cb4(0x121)](_0x145ba1);if(_0x328018){const _0x470e95=this[_0x4b2cb4(0x11a)][_0x4b2cb4(0xf6)](_0x328018==null?void 0x0:_0x328018['unitId'],_0x328018==null?void 0x0:_0x328018[_0x4b2cb4(0x191)],_0x145ba1);_0x470e95&&(this[_0x4b2cb4(0x33a)](_0x145ba1,_0x470e95[_0x4b2cb4(0x35a)],_0x470e95[_0x4b2cb4(0x2a0)]),this[_0x4b2cb4(0x1c4)]([{'unitId':_0x328018['unitId'],'subUnitId':_0x328018[_0x4b2cb4(0x191)],'token':_0x145ba1}]));}});});}[_0x4d0853(0x267)](){const _0x573edd=_0x4d0853;this['_sheetsPivotDataSourceModel']['viewData$'][_0x573edd(0x1c1)](_0x2a6480=>{const _0xcf2b7a=_0x573edd,{unitId:_0x4a27ac,subUnitId:_0x391ba2,pivotTableId:_0x36cf79}=_0x2a6480;_0x4a27ac&&_0x391ba2&&_0x36cf79&&this[_0xcf2b7a(0x1c4)]([{'unitId':_0x4a27ac,'subUnitId':_0x391ba2,'token':_0x36cf79}]);});}[_0x4d0853(0x1c4)](_0x255f39){const _0x24592a=_0x4d0853,_0x1c420b={};_0x255f39[_0x24592a(0x35d)](_0x320115=>{var _0x3abbb7,_0x4941df;const {unitId:_0x480c4a,subUnitId:_0x427298,token:_0x3865bb}=_0x320115;_0x1c420b[_0x480c4a]=(_0x3abbb7=_0x1c420b[_0x480c4a])!=null?_0x3abbb7:{},_0x1c420b[_0x480c4a][_0x427298]=(_0x4941df=_0x1c420b[_0x480c4a][_0x427298])!=null?_0x4941df:{},_0x1c420b[_0x480c4a][_0x427298][_0x3865bb]=!0x0;}),this[_0x24592a(0x304)][_0x24592a(0x28d)](_0x1f05fd['id'],_0x1c420b);}[_0x4d0853(0x320)](_0x1c9ef4,_0x524da8,_0x5743b5){const _0x3f575b=_0x4d0853;this['_featureCalculationManagerService'][_0x3f575b(0x18e)](_0x1c9ef4,_0x524da8,[_0x5743b5]);}[_0x4d0853(0x33a)](_0x3c64c9,_0x15e9ec,_0x3a9b14){const _0x2fb952=_0x4d0853,{unitId:_0x5d9cc8,subUnitId:_0xd35a1f}=_0x15e9ec;this[_0x2fb952(0x136)][_0x2fb952(0x162)](_0x3a9b14[_0x2fb952(0x358)],_0x3a9b14[_0x2fb952(0x191)],_0x3c64c9)&&this[_0x2fb952(0x320)](_0x5d9cc8,_0xd35a1f,_0x3c64c9);const _0x35341c={'sheetId':_0xd35a1f,..._0x15e9ec};this[_0x2fb952(0x136)][_0x2fb952(0x155)](_0x3a9b14[_0x2fb952(0x358)],_0x3a9b14[_0x2fb952(0x191)],_0x3c64c9,{'unitId':_0x3a9b14[_0x2fb952(0x358)],'subUnitId':_0x3a9b14[_0x2fb952(0x191)],'dependencyRanges':[_0x35341c],'getDirtyData':(_0x9a394a,_0x5b3863)=>{const _0x269b84=_0x2fb952,_0x4f9ca1=this[_0x269b84(0x11a)],_0x4e14c7=_0x4f9ca1[_0x269b84(0x121)](_0x3c64c9);if(!_0x4e14c7)return _0x1e7d90();const {unitId:_0x138c0c,subUnitId:_0x1687bc}=_0x4e14c7,_0x8a1421=_0x1df45f(_0x9a394a,_0x5b3863,_0x15e9ec);if(_0x8a1421[_0x269b84(0x19c)]>0x0){const _0xd3c65b=_0x4f9ca1[_0x269b84(0x240)](_0x5d9cc8,_0x3c64c9),_0x32064e=_0xd3c65b['getFieldIds'](),_0x4d9f54=this[_0x269b84(0x2c1)](_0x15e9ec[_0x269b84(0x358)],_0x15e9ec[_0x269b84(0x191)],_0x5b3863),_0x5704d2={},_0x5c338e=this[_0x269b84(0x11a)][_0x269b84(0x366)](_0x138c0c)[_0x269b84(0x117)]()||_0x1f569c['getAutoDisplayName'],_0x222ea6=[];for(const _0x180d7f of _0x8a1421){const _0x5f0b33=_0x180d7f-(_0x15e9ec[_0x269b84(0x2d3)]['startColumn']||0x0),_0x59c27c=_0x32064e[_0x5f0b33];_0x222ea6[_0x269b84(0x269)](_0x59c27c),_0x5704d2[_0x59c27c]=_0xd3c65b[_0x269b84(0x307)](_0x59c27c)[_0x269b84(0xeb)](),_0x4f9ca1[_0x269b84(0x366)](_0x5d9cc8)['refreshDataField'](_0x59c27c,_0x15e9ec,_0x5f0b33,_0x4d9f54);}_0xd3c65b['getGroupFieldsInfoByIds'](_0x222ea6)[_0x269b84(0x35d)](_0x378345=>{const _0x345123=_0x269b84,[_0x438c24,_0x194485]=_0x378345,_0x5890fb=_0xd3c65b['getFieldById'](_0x438c24),_0x5d3694=_0xd3c65b['getFieldById'](_0x194485);_0x5890fb&&_0x5d3694&&_0x5890fb[_0x345123(0x2bf)](_0x5d3694);}),_0xd3c65b[_0x269b84(0x212)]();const _0x136e77=_0x4f9ca1[_0x269b84(0xfe)](_0x3c64c9);if(_0x136e77){_0x2ce88f(_0x136e77,_0x5704d2,_0x5c338e),_0x136e77[_0x269b84(0x26f)](!0x0);const _0x482464=_0x136e77[_0x269b84(0x1ab)](),_0x1cebbb=_0x4f9ca1['getPivotTableConfig'](_0x138c0c,_0x1687bc,_0x3c64c9),_0x5083ab=_0x4f9ca1[_0x269b84(0x366)](_0x5d9cc8)[_0x269b84(0x172)]();_0x4f9ca1['updateView'](_0x138c0c,_0x1687bc,_0x496a39[_0x269b84(0x190)],_0x3c64c9,_0x482464,_0x1cebbb,_0x5083ab,!0x0);}}return this[_0x269b84(0x173)](_0x138c0c,_0x1687bc,_0x3c64c9);}});}[_0x4d0853(0x2c1)](_0x31d01f,_0x5dd3cb,_0x2db04f){var _0x4e31a9,_0x49eecd;const {arrayFormulaCellData:_0x3d6cea,unitData:_0x1ea736}=_0x2db04f,_0x387ccc=(_0x4e31a9=_0x3d6cea==null?void 0x0:_0x3d6cea[_0x31d01f])==null?void 0x0:_0x4e31a9[_0x5dd3cb],_0x13cd00=(_0x49eecd=_0x1ea736==null?void 0x0:_0x1ea736[_0x31d01f])==null?void 0x0:_0x49eecd[_0x5dd3cb];return{'arrayFormulaCellDataMatrix':_0x387ccc,'unitDataMatrix':_0x13cd00};}[_0x4d0853(0x173)](_0x5bcfa6,_0x1297cd,_0x459d2d){const _0x4f6682=_0x4d0853,_0x2f9de4=this['_sheetsPivotDataSourceModel'][_0x4f6682(0x27b)](_0x5bcfa6,_0x1297cd,_0x459d2d),_0x2aab4d=[],_0x3051d1=new _0x26267f['ObjectMatrix']();if(_0x2f9de4){const {rangeCache:_0x49027d,matrix:_0x327ff5,oldRangeCache:_0x2fc4f7,oldMatrix:_0x428dd6}=_0x2f9de4,_0x346dc8=_0x3c7733(_0x2fc4f7),_0x3b67b4=_0x3c7733(_0x49027d);_0x2aab4d[_0x4f6682(0x269)](..._0x3b67b4,..._0x346dc8),_0x428dd6&&_0x2fc4f7&&_0x346dc8[_0x4f6682(0x35d)](_0xe93b9=>{const _0x1998ba=_0x4f6682;for(let _0x41bbfc=_0xe93b9['startRow'];_0x41bbfc<=_0xe93b9[_0x1998ba(0x27a)];_0x41bbfc++)for(let _0x28acc8=_0xe93b9[_0x1998ba(0x361)];_0x28acc8<=_0xe93b9[_0x1998ba(0xc3)];_0x28acc8++)_0x3051d1[_0x1998ba(0x134)](_0x41bbfc,_0x28acc8);}),_0x327ff5&&_0x3b67b4&&_0x3b67b4[_0x4f6682(0x35d)](_0x280671=>{const _0x541fb8=_0x4f6682;for(let _0x3b7c16=_0x280671[_0x541fb8(0x1ee)];_0x3b7c16<=_0x280671[_0x541fb8(0x27a)];_0x3b7c16++)for(let _0x266619=_0x280671[_0x541fb8(0x361)];_0x266619<=_0x280671[_0x541fb8(0xc3)];_0x266619++)_0x3051d1[_0x541fb8(0x315)](_0x3b7c16,_0x266619,_0x327ff5['getValue'](_0x3b7c16,_0x266619));});}const _0x3a34f7={};return _0x3a34f7[_0x5bcfa6]={[_0x1297cd]:_0x2d9ef1(_0x2aab4d)},{'runtimeCellData':{[_0x5bcfa6]:{[_0x1297cd]:_0x3051d1}},'dirtyRanges':_0x3a34f7};}[_0x4d0853(0x301)](){}};_0x16672e=_0x54e2b5([_0x62a320(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0x2bb)])),_0x62a320(0x1,_0x26267f[_0x4d0853(0xa9)]),_0x62a320(0x2,_0x26267f['Inject'](_0x2257ad[_0x4d0853(0x26a)])),_0x62a320(0x3,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x284)])),_0x62a320(0x4,_0x26267f['Inject'](_0x2257ad['GlobalComputingStatusService'])),_0x62a320(0x5,_0x26267f['Inject'](_0x26267f[_0x4d0853(0xe4)]))],_0x16672e);var _0x44f88c=Object['getOwnPropertyDescriptor'],_0x366e9a=(_0x5cf8e7,_0x488557,_0x120c46,_0x2703f0)=>{const _0x3bdb5e=_0x4d0853;for(var _0x2586d7=_0x2703f0>0x1?void 0x0:_0x2703f0?_0x44f88c(_0x488557,_0x120c46):_0x488557,_0x4743a4=_0x5cf8e7[_0x3bdb5e(0x19c)]-0x1,_0x12dd0d;_0x4743a4>=0x0;_0x4743a4--)(_0x12dd0d=_0x5cf8e7[_0x4743a4])&&(_0x2586d7=_0x12dd0d(_0x2586d7)||_0x2586d7);return _0x2586d7;},_0x25a8af=(_0x1c1186,_0x1c0b65)=>(_0x44df49,_0x7fc49d)=>_0x1c0b65(_0x44df49,_0x7fc49d,_0x1c1186);let _0x2db79f=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x11ab0f,_0x4f2937,_0x4df291,_0x1f48eb){const _0x583d3f=_0x4d0853;super(),_0x3aca41(this,'disposableCollection',new _0x26267f[(_0x583d3f(0xf0))]()),(this[_0x583d3f(0x31d)]=_0x11ab0f,this[_0x583d3f(0x1d4)]=_0x4f2937,this[_0x583d3f(0x143)]=_0x4df291,this['_sheetsPivotTableConfigModel']=_0x1f48eb,this[_0x583d3f(0x137)]());}[_0x4d0853(0x137)](){const _0x295aa5=_0x4d0853;this[_0x295aa5(0x2db)](this['_sheetInterceptorService'][_0x295aa5(0x17a)]({'getMutations':_0x35c85d=>{const _0x1a68b7=_0x295aa5;if(_0x35c85d['id']===_0x15c6e7[_0x1a68b7(0x336)]['id']||_0x35c85d['id']===_0x15c6e7[_0x1a68b7(0x2a5)]['id']){const _0xbc9d2=[],_0x33bd56=[],_0x39197f=this[_0x1a68b7(0x143)][_0x1a68b7(0x272)]()[_0x1a68b7(0xb9)](_0x4354f8=>_0x4354f8[_0x1a68b7(0x2d3)]),_0x23dc27=_0x15c6e7['getSheetCommandTarget'](this[_0x1a68b7(0x31d)]);if(!_0x23dc27)return{'redos':[],'undos':[]};const {unitId:_0x575c25,subUnitId:_0x2db663}=_0x23dc27,_0x558224={},_0x114b09=this[_0x1a68b7(0x3a5)]['getSubUnitPivotConfigs'](_0x575c25,_0x2db663);if(_0x114b09!=null&&_0x114b09[_0x1a68b7(0x25f)])for(const [_0x9c6e04,_0x4c54c2]of _0x114b09){const {unitId:_0x3b5e09,subUnitId:_0x435367,row:_0x1e4d88,col:_0x14b333}=_0x4c54c2[_0x1a68b7(0x2a0)];_0x3b5e09===_0x23dc27['unitId']&&_0x435367===_0x23dc27['subUnitId']&&(_0x558224[_0x1e4d88+'-'+_0x14b333]=_0x9c6e04);}return _0x39197f&&_0x23dc27&&_0x39197f[_0x1a68b7(0x35d)](_0x220f15=>{const _0x5f31b8=_0x1a68b7;_0x26267f[_0x5f31b8(0x230)][_0x5f31b8(0x1c3)](_0x220f15,(_0x42554d,_0x867ad2)=>{const _0x2239f7=_0x5f31b8,_0x38f75f=_0x42554d+'-'+_0x867ad2;if(_0x558224[_0x38f75f]){const _0x1cf5a7=_0x558224[_0x38f75f];_0xbc9d2[_0x2239f7(0x269)]({'id':_0x4bff6f['id'],'params':{'unitId':_0x575c25,'subUnitId':_0x2db663,'pivotTableId':_0x1cf5a7}});const _0xa6c33=this[_0x2239f7(0x3a5)]['getCollection'](_0x575c25,_0x1cf5a7),_0x22cd36=this[_0x2239f7(0x3a5)]['getPivotTableConfig'](_0x575c25,_0x2db663,_0x1cf5a7);_0x33bd56['push']({'id':_0xecd0d5['id'],'params':{'unitId':_0x575c25,'subUnitId':_0x2db663,'pivotTableId':_0x1cf5a7,'pivotTableConfig':_0x22cd36,'collectionConfig':_0xa6c33}});}});}),{'redos':_0xbc9d2,'undos':_0x33bd56};}return{'redos':[],'undos':[]};}}));}};_0x2db79f=_0x366e9a([_0x25a8af(0x0,_0x26267f['IUniverInstanceService']),_0x25a8af(0x1,_0x26267f[_0x4d0853(0x1c9)](_0x15c6e7[_0x4d0853(0x311)])),_0x25a8af(0x2,_0x26267f[_0x4d0853(0x1c9)](_0x15c6e7[_0x4d0853(0x38d)])),_0x25a8af(0x3,_0x26267f['Inject'](_0x2a0a80['SheetsPivotTableConfigModel']))],_0x2db79f);var _0x517c0a=Object[_0x4d0853(0x31e)],_0x4503f8=(_0x5c6ee6,_0x4e42d2,_0x4d52ee,_0x4242d2)=>{const _0x158344=_0x4d0853;for(var _0x56701e=_0x4242d2>0x1?void 0x0:_0x4242d2?_0x517c0a(_0x4e42d2,_0x4d52ee):_0x4e42d2,_0x56d198=_0x5c6ee6[_0x158344(0x19c)]-0x1,_0x2e66a4;_0x56d198>=0x0;_0x56d198--)(_0x2e66a4=_0x5c6ee6[_0x56d198])&&(_0x56701e=_0x2e66a4(_0x56701e)||_0x56701e);return _0x56701e;},_0x501061=(_0x93d3cb,_0x24ce10)=>(_0x2d68e1,_0x17a509)=>_0x24ce10(_0x2d68e1,_0x17a509,_0x93d3cb);let _0x42a5d6=class extends _0x26267f['Disposable']{constructor(_0x576088,_0x8800c2,_0x20bf01,_0x1ddfe8,_0x2325eb,_0x4cf0be){const _0x482c71=_0x4d0853;super(),this[_0x482c71(0x2e4)]=_0x576088,this[_0x482c71(0x1d4)]=_0x8800c2,this[_0x482c71(0x23f)]=_0x20bf01,this[_0x482c71(0x31d)]=_0x1ddfe8,this[_0x482c71(0x3a5)]=_0x2325eb,this[_0x482c71(0x154)]=_0x4cf0be,this['_initCommandInterceptListener']();}[_0x4d0853(0x2e8)](_0x4a3a79,_0x46ab97,_0x30f6ff){const _0x36fb4c=_0x4d0853,{pageView:_0x299338,cornerView:_0x29589e,rowView:_0x4f5f8e,colView:_0x19e16c,dataView:_0x5dd5f9}=_0x46ab97,_0xfdd92d=_0x4a3a79;let _0x4501a5;if(_0x30f6ff)_0x4501a5=[..._0x37bee7(_0xfdd92d)];else{const _0x1d1b83=_0x3b3e27(_0xfdd92d,_0x299338,!0x0),_0x20dfba=_0x299338[_0x36fb4c(0xb0)]>=0x0?_0x299338[_0x36fb4c(0xb0)]+0x1:0x0,_0x4728a7=_0x29589e[_0x36fb4c(0x264)],_0x38e9ec=_0x29589e[_0x36fb4c(0xd8)],_0x18d955=_0x1d1b83['length']>0x0?_0x535df5:0x0,_0x4662dd=_0x3b3e27({'row':_0xfdd92d[_0x36fb4c(0x396)]+_0x20dfba+_0x18d955,'col':_0xfdd92d['col']},_0x29589e,!0x1,!0x1),_0x94de42=_0x3b3e27({'row':_0xfdd92d[_0x36fb4c(0x396)]+_0x20dfba+_0x18d955+_0x4728a7,'col':_0xfdd92d[_0x36fb4c(0x300)]},_0x4f5f8e,!0x1,!0x0),_0x476bc8=_0x3b3e27({'row':_0xfdd92d['row']+_0x20dfba+_0x18d955,'col':_0xfdd92d['col']+_0x38e9ec},_0x19e16c,!0x1,!0x0),_0x3ba0c9=_0x3b3e27({'row':_0xfdd92d[_0x36fb4c(0x396)]+_0x20dfba+_0x18d955+_0x4728a7,'col':_0xfdd92d[_0x36fb4c(0x300)]+_0x38e9ec},_0x5dd5f9,!0x1,!0x0);_0x4501a5=[..._0x1d1b83,..._0x4662dd,..._0x94de42,..._0x476bc8,..._0x3ba0c9];}return _0x4501a5;}['_initCommandInterceptListener'](){const _0x580b7b=_0x4d0853;this[_0x580b7b(0x2db)](this[_0x580b7b(0x154)]['interceptor'][_0x580b7b(0x25c)](this[_0x580b7b(0x154)]['interceptor'][_0x580b7b(0x21d)]()[_0x580b7b(0x9b)],{'handler':(_0x4587c8,_0x5649fd)=>{const _0x323e5e=_0x580b7b,{cellInfo:_0x3fcfed,view:_0x50f1da,isEmpty:_0x3228e1}=_0x5649fd,_0x114bb2=_0x3fcfed,{unitId:_0x4e8a29,subUnitId:_0x522d16}=_0x114bb2,_0x3ae65d=this[_0x323e5e(0x2e8)](_0x3fcfed,_0x50f1da,_0x3228e1),_0x27d0c3=this[_0x323e5e(0x1d4)][_0x323e5e(0x2dc)]({'unitId':_0x4e8a29,'subUnitId':_0x522d16,'ranges':_0x3ae65d}),_0x2da1f7=_0x540257(this['_injector'],_0x4e8a29,_0x522d16,_0x3ae65d);_0x2da1f7[_0x323e5e(0x386)]&&(_0x27d0c3[_0x323e5e(0x1b1)][_0x323e5e(0x269)](_0x2da1f7['setRangeValueRedoMutation']),_0x27d0c3['undos']['push'](_0x2da1f7[_0x323e5e(0x356)]));const _0x57182d=this['getAutoFitColumnsMutations'](_0x50f1da,_0x3fcfed);return _0x27d0c3[_0x323e5e(0x1b1)]['push'](..._0x57182d[_0x323e5e(0x1b1)]),_0x27d0c3[_0x323e5e(0x192)][_0x323e5e(0x269)](..._0x57182d[_0x323e5e(0x192)]),{'redos':_0x27d0c3[_0x323e5e(0x1b1)],'undos':_0x27d0c3[_0x323e5e(0x192)]};}}));}['getAutoFitColumnsMutations'](_0x38dc66,_0x26d0f6){const _0x9b10f7=_0x4d0853,{col:_0x3c54ca,unitId:_0x2b4633,subUnitId:_0x4f521e}=_0x26d0f6,_0x1af73b=[],_0x5d91b8=[],_0x5eb1f2=_0x15c6e7['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x2b4633,'subUnitId':_0x4f521e});if(!_0x26d0f6||!_0x38dc66||!_0x5eb1f2)return{'undos':_0x5d91b8,'redos':_0x1af73b};const _0x54c674=this[_0x9b10f7(0x3a5)]['getTextInfo'](),{colView:_0x4eb0c9,dataView:_0x3a230a,cornerView:_0x5701d,rowView:_0x526495,formatMap:_0x35770f}=_0x38dc66,_0x4331c3=_0xf03095(_0x4eb0c9,_0x54c674,!0x0,_0x35770f),_0x23e061=_0xf03095(_0x526495,_0x54c674,!0x1,_0x35770f),_0xc6b623=_0x4eff34(_0x3a230a),_0x53cec6=_0x2bd7ec(_0x5701d),{worksheet:_0x2cddf2}=_0x5eb1f2;if(typeof window<'u'&&window[_0x9b10f7(0x306)]){const _0x1f5bd0=_0x5ae106['getFontStyleString']({..._0x2db188[_0x9b10f7(0x153)]}),_0x33b944=_0x5ae106['FontCache'][_0x9b10f7(0x2b9)](_0x4331c3,_0x1f5bd0)[_0x9b10f7(0x1b9)]+0x10,_0x33dacf=_0x5ae106[_0x9b10f7(0xbb)]['getTextSize'](_0xc6b623,_0x1f5bd0)[_0x9b10f7(0x1b9)],_0x240c8b=Math[_0x9b10f7(0x211)](Math[_0x9b10f7(0x349)](_0x33b944,_0x33dacf))+0x10,_0x5029e0=Math['floor'](_0x5ae106['FontCache'][_0x9b10f7(0x2b9)](_0x23e061,_0x1f5bd0)['width']),_0x209dc8=Math[_0x9b10f7(0x211)](_0x5ae106[_0x9b10f7(0xbb)][_0x9b10f7(0x2b9)](_0x53cec6,_0x1f5bd0)[_0x9b10f7(0x1b9)]),_0x5eb41a=Math[_0x9b10f7(0x349)](_0x5029e0,_0x209dc8,0x28)+0xc,_0x379ec7=_0x4eb0c9[_0x9b10f7(0xd8)]+_0x5701d['colCount'],_0x1d5dea={},_0x173445={};for(let _0x4cb185=_0x3c54ca;_0x4cb185<_0x3c54ca+_0x379ec7;_0x4cb185++){const _0x291f6e=_0x2cddf2[_0x9b10f7(0xe7)](_0x4cb185);_0x1d5dea[_0x4cb185]=_0x291f6e,_0x4cb185-_0x3c54ca<_0x5701d['colCount']?_0x173445[_0x4cb185-_0x3c54ca]=_0x5eb41a:_0x173445[_0x4cb185-_0x3c54ca]=_0x240c8b;}_0x1af73b['push']({'id':_0x15c6e7[_0x9b10f7(0x258)]['id'],'params':{'subUnitId':_0x4f521e,'unitId':_0x2b4633,'ranges':[{'startColumn':_0x3c54ca,'endColumn':_0x3c54ca+_0x379ec7-0x1,'startRow':0x0,'endRow':_0x2cddf2[_0x9b10f7(0x302)]()-0x1}],'colWidth':_0x173445}}),_0x5d91b8[_0x9b10f7(0x269)]({'id':_0x15c6e7[_0x9b10f7(0x258)]['id'],'params':{'subUnitId':_0x4f521e,'unitId':_0x2b4633,'ranges':[{'startColumn':_0x3c54ca,'endColumn':_0x3c54ca+_0x379ec7-0x1,'startRow':0x0,'endRow':_0x2cddf2[_0x9b10f7(0x302)]()-0x1}],'colWidth':_0x1d5dea}});}return{'undos':_0x5d91b8,'redos':_0x1af73b};}};_0x42a5d6=_0x4503f8([_0x501061(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x2aa)])),_0x501061(0x1,_0x26267f['Inject'](_0x15c6e7[_0x4d0853(0x311)])),_0x501061(0x2,_0x26267f['Inject'](_0x26267f[_0x4d0853(0xe4)])),_0x501061(0x3,_0x26267f[_0x4d0853(0x1c9)](_0x26267f['IUniverInstanceService'])),_0x501061(0x4,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80['SheetsPivotTableConfigModel'])),_0x501061(0x5,_0x26267f['Inject'](_0x2a0a80[_0x4d0853(0x368)]))],_0x42a5d6);var _0x4c46b9=Object[_0x4d0853(0x31e)],_0x8e745d=(_0xc75f8f,_0x3a3543,_0x1d7331,_0x4f5960)=>{const _0xd2669f=_0x4d0853;for(var _0x322094=_0x4f5960>0x1?void 0x0:_0x4f5960?_0x4c46b9(_0x3a3543,_0x1d7331):_0x3a3543,_0x4dea52=_0xc75f8f[_0xd2669f(0x19c)]-0x1,_0x4f88a1;_0x4dea52>=0x0;_0x4dea52--)(_0x4f88a1=_0xc75f8f[_0x4dea52])&&(_0x322094=_0x4f88a1(_0x322094)||_0x322094);return _0x322094;},_0x1478a3=(_0x5b61eb,_0x319bc1)=>(_0x4f12a7,_0x50e0cf)=>_0x319bc1(_0x4f12a7,_0x50e0cf,_0x5b61eb);let _0x213397=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x1c6821,_0xe5e40,_0x36c966,_0x591e92,_0xc80fc0,_0x3fc597,_0x5c99d9){const _0x391395=_0x4d0853;super(),_0x3aca41(this,_0x391395(0x1cc),new _0x26267f[(_0x391395(0xf0))]()),(this['_injector']=_0x1c6821,this['_refRangeService']=_0xe5e40,this[_0x391395(0x304)]=_0x36c966,this[_0x391395(0x31d)]=_0x591e92,this[_0x391395(0x3a5)]=_0xc80fc0,this[_0x391395(0x11c)]=_0x3fc597,this[_0x391395(0x1d4)]=_0x5c99d9,this[_0x391395(0xaa)]());}[_0x4d0853(0xaa)](){const _0x33aade=_0x4d0853,_0x59ca33=(_0x17e830,_0x412821)=>{const _0x34a81a=_0x4225,_0x3da38a=this[_0x34a81a(0x31d)][_0x34a81a(0x257)](_0x26267f[_0x34a81a(0xef)]['UNIVER_SHEET']);if(!_0x3da38a||!(_0x3da38a==null?void 0x0:_0x3da38a[_0x34a81a(0x296)](_0x412821)))return;this[_0x34a81a(0x1cc)][_0x34a81a(0x301)]();const _0x3b7c0e=_0x205ada=>this['_refRangeHandle'](_0x205ada,_0x17e830,_0x412821),_0x3228cb=this[_0x34a81a(0x3a5)][_0x34a81a(0x193)](_0x17e830,_0x412821);if(!(_0x3228cb!=null&&_0x3228cb[_0x34a81a(0x25f)]))return;Array[_0x34a81a(0x1d7)](_0x3228cb[_0x34a81a(0x12d)]())[_0x34a81a(0xb9)](_0x33c36a=>{const _0x2fff15=_0x34a81a,{row:_0xc6c0f9,col:_0x106138}=_0x33c36a[_0x2fff15(0x2a0)];return _0x26267f[_0x2fff15(0x263)](_0xc6c0f9,_0x106138);})[_0x34a81a(0x35d)](_0x3c38bd=>{const _0x3d2956=_0x34a81a;this['disposableCollection']['add'](this[_0x3d2956(0x23e)]['registerRefRange'](_0x3c38bd,_0x3b7c0e,_0x17e830,_0x412821));});},_0x401402=()=>{const _0x3d1793=_0x4225,_0x180ed4=this[_0x3d1793(0x31d)]['getCurrentUnitForType'](_0x26267f[_0x3d1793(0xef)][_0x3d1793(0x1b2)]);if(_0x180ed4){const _0x51192c=_0x180ed4['getActiveSheet']();if(!_0x51192c)return;_0x59ca33(_0x180ed4[_0x3d1793(0x392)](),_0x51192c[_0x3d1793(0x389)]());}};this['disposeWithMe'](this[_0x33aade(0x304)][_0x33aade(0xf7)](_0x2251af=>{const _0x3d88c7=_0x33aade;if(_0x2251af['id']===_0x15c6e7['SetWorksheetActiveOperation']['id']){const _0xf558de=_0x2251af[_0x3d88c7(0x352)],_0x5a4d4a=_0xf558de[_0x3d88c7(0x191)],_0x21626d=_0xf558de[_0x3d88c7(0x358)];if(!_0x5a4d4a||!_0x21626d)return;_0x59ca33(_0x21626d,_0x5a4d4a);}})),this[_0x33aade(0x2db)](this[_0x33aade(0x3a5)][_0x33aade(0x39e)][_0x33aade(0x1c1)](_0x300de5=>{_0x300de5&&_0x401402();})),this[_0x33aade(0x2db)](this[_0x33aade(0x3a5)][_0x33aade(0xf8)][_0x33aade(0x1c1)](_0x32e336=>{const _0x366e5c=_0x33aade,_0x1d1b58=_0x15c6e7[_0x366e5c(0x324)](this[_0x366e5c(0x31d)]);if(!_0x1d1b58)return;const {unitId:_0x3b0cb8,subUnitId:_0x422a6e}=_0x1d1b58,{unitId:_0x284baa,subUnitId:_0x4b85dc}=_0x32e336;_0x3b0cb8!==_0x284baa||_0x422a6e!==_0x4b85dc||_0x59ca33(_0x3b0cb8,_0x422a6e);})),_0x401402();}[_0x4d0853(0x1ed)](_0x3237e7,_0x3609cb,_0x35f5c2){const _0x4e8d75=_0x4d0853;switch(_0x3237e7['id']){case _0x15c6e7[_0x4e8d75(0x37e)]['id']:return this[_0x4e8d75(0x2cc)](_0x3237e7['params'],_0x3609cb,_0x35f5c2);}return{'redos':[],'undos':[]};}[_0x4d0853(0x2cc)](_0x4aebf4,_0x2c21a7,_0x559f11){const _0x90ed7a=_0x4d0853,{fromRange:_0xf32a9f,toRange:_0x97bfd9}=_0x4aebf4,_0x4e1461=[],_0x2f359f=[],_0x4fe2a2=_0x15c6e7[_0x90ed7a(0x324)](this['_univerInstanceService']);if(!_0x4fe2a2)return{'undos':_0x2f359f,'redos':_0x4e1461};if(_0x2c21a7!==_0x4fe2a2[_0x90ed7a(0x358)]||_0x559f11!==_0x4fe2a2[_0x90ed7a(0x191)])return{'undos':_0x2f359f,'redos':_0x4e1461};const _0x444d98=this[_0x90ed7a(0x3a5)]['getSubUnitPivotConfigs'](_0x2c21a7,_0x559f11);if(_0x444d98!=null&&_0x444d98[_0x90ed7a(0x25f)])for(const [_0x42d11a,_0x515621]of _0x444d98){const {unitId:_0x1b8f00,subUnitId:_0x53cf12,row:_0x4fa444,col:_0x3482f5}=_0x515621[_0x90ed7a(0x2a0)];if(_0x1b8f00===_0x4fe2a2[_0x90ed7a(0x358)]&&_0x53cf12===_0x4fe2a2['subUnitId']){const _0x11e3b1=_0x26267f['cellToRange'](_0x4fa444,_0x3482f5);if(_0x26267f[_0x90ed7a(0x15a)][_0x90ed7a(0x34c)](_0x11e3b1,_0xf32a9f)){const _0x2487eb=_0x4fa444-_0xf32a9f[_0x90ed7a(0x1ee)],_0x5c8ed6=_0x3482f5-_0xf32a9f['startColumn'],_0x1cbf5e={'row':_0x97bfd9[_0x90ed7a(0x1ee)]+_0x2487eb,'col':_0x97bfd9[_0x90ed7a(0x361)]+_0x5c8ed6};_0x4e1461[_0x90ed7a(0x269)]({'id':_0x9895ea['id'],'params':{'unitId':_0x1b8f00,'subUnitId':_0x53cf12,'pivotTableId':_0x42d11a,'targetCellPosition':_0x1cbf5e}}),_0x2f359f['push']({'id':_0x9895ea['id'],'params':{'unitId':_0x1b8f00,'subUnitId':_0x53cf12,'pivotTableId':_0x42d11a,'targetCellPosition':{'row':_0x4fa444,'col':_0x3482f5}}});const _0x2d146f=_0x1cbf5e[_0x90ed7a(0x396)]-_0x4fa444,_0x2f553d=_0x1cbf5e[_0x90ed7a(0x300)]-_0x3482f5,_0x37177a=[],_0x1b70f0=this[_0x90ed7a(0x11c)][_0x90ed7a(0x147)](_0x1b8f00,_0x53cf12,_0x42d11a),_0x133761=_0x1b70f0==null?void 0x0:_0x1b70f0[_0x90ed7a(0xa3)];if(_0x133761){Object[_0x90ed7a(0x2a2)](_0x133761)['forEach'](_0x1ff99e=>{const _0x330bd4=_0x90ed7a;_0x133761[_0x1ff99e][_0x330bd4(0x35d)](_0x2b5498=>{const _0x31931d=_0x330bd4,_0x1a3b6c={..._0x2b5498};_0x1a3b6c['startRow']=_0x2b5498['startRow']+_0x2d146f,_0x1a3b6c[_0x31931d(0x27a)]=_0x2b5498[_0x31931d(0x27a)]+_0x2d146f,_0x1a3b6c[_0x31931d(0x361)]=_0x2b5498[_0x31931d(0x361)]+_0x2f553d,_0x1a3b6c['endColumn']=_0x2b5498[_0x31931d(0xc3)]+_0x2f553d,_0x37177a[_0x31931d(0x269)](_0x1a3b6c);});});const _0x385cd9=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x1b8f00,'subUnitId':_0x53cf12,'ranges':_0x37177a});_0x4e1461[_0x90ed7a(0x269)](..._0x385cd9[_0x90ed7a(0x1b1)]),_0x2f359f[_0x90ed7a(0x269)](..._0x385cd9[_0x90ed7a(0x192)]);const _0x3e31e8=_0x540257(this['_injector'],_0x1b8f00,_0x53cf12,_0x37177a);_0x3e31e8[_0x90ed7a(0x386)]&&(_0x4e1461['push'](_0x3e31e8[_0x90ed7a(0x3a0)]),_0x2f359f[_0x90ed7a(0x269)](_0x3e31e8[_0x90ed7a(0x356)]));}}}}return{'redos':_0x4e1461,'undos':_0x2f359f};}};_0x213397=_0x8e745d([_0x1478a3(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x26267f['Injector'])),_0x1478a3(0x1,_0x26267f['Inject'](_0x15c6e7[_0x4d0853(0x1e5)])),_0x1478a3(0x2,_0x26267f[_0x4d0853(0x284)]),_0x1478a3(0x3,_0x26267f[_0x4d0853(0x22c)]),_0x1478a3(0x4,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0xc6)])),_0x1478a3(0x5,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0x2f6)])),_0x1478a3(0x6,_0x26267f[_0x4d0853(0x1c9)](_0x15c6e7[_0x4d0853(0x311)]))],_0x213397);var _0xafdc13=Object['getOwnPropertyDescriptor'],_0x20249e=(_0x27a0a0,_0x69808e,_0xd826f2,_0x4c9ea4)=>{const _0xd717c3=_0x4d0853;for(var _0x2955e5=_0x4c9ea4>0x1?void 0x0:_0x4c9ea4?_0xafdc13(_0x69808e,_0xd826f2):_0x69808e,_0x708a1b=_0x27a0a0[_0xd717c3(0x19c)]-0x1,_0x1db973;_0x708a1b>=0x0;_0x708a1b--)(_0x1db973=_0x27a0a0[_0x708a1b])&&(_0x2955e5=_0x1db973(_0x2955e5)||_0x2955e5);return _0x2955e5;},_0x506bbc=(_0x5828f9,_0x416f87)=>(_0x367f49,_0xb698e)=>_0x416f87(_0x367f49,_0xb698e,_0x5828f9);let _0x40513d=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x2ed14e,_0x45d9e4){const _0x61ac51=_0x4d0853;super(),this[_0x61ac51(0x1d4)]=_0x2ed14e,this[_0x61ac51(0x3a5)]=_0x45d9e4,this[_0x61ac51(0xc0)]();}[_0x4d0853(0xc0)](){const _0xb2c299=_0x4d0853;this[_0xb2c299(0x2db)](this[_0xb2c299(0x1d4)][_0xb2c299(0x17a)]({'getMutations':_0xb6f70=>{const _0x2302b8=_0xb2c299;if(_0xb6f70['id']===_0x15c6e7[_0x2302b8(0x204)]['id']){const _0x3f215e=[],_0x4dabb7=[],_0x3169fb=_0xb6f70['params'],{unitId:_0x37776d,subUnitId:_0x2bfa5b}=_0x3169fb;if(!_0x37776d||!_0x2bfa5b)return{'undos':_0x4dabb7,'redos':_0x3f215e};const _0x36b50f=this[_0x2302b8(0x3a5)][_0x2302b8(0x193)](_0x37776d,_0x2bfa5b);if(_0x36b50f!=null&&_0x36b50f['size'])for(const [_0x1f5f13,_0x2fd51e]of _0x36b50f){_0x3f215e[_0x2302b8(0x269)]({'id':_0x4bff6f['id'],'params':{'unitId':_0x37776d,'subUnitId':_0x2bfa5b,'pivotTableId':_0x1f5f13}});const _0x3bc920={...this['_sheetsPivotTableConfigModel']['getCollection'](_0x37776d,_0x1f5f13)};_0x4dabb7[_0x2302b8(0x269)]({'id':_0xecd0d5['id'],'params':{'unitId':_0x37776d,'subUnitId':_0x2bfa5b,'pivotTableId':_0x1f5f13,'pivotTableConfig':_0x2fd51e,'collectionConfig':_0x3bc920}});}return{'redos':_0x3f215e,'undos':_0x4dabb7};}return{'redos':[],'undos':[]};}}));}};_0x40513d=_0x20249e([_0x506bbc(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x15c6e7[_0x4d0853(0x311)])),_0x506bbc(0x1,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0xc6)]))],_0x40513d);var _0x560a8a=Object[_0x4d0853(0x31e)],_0x53bec1=(_0x1e0d74,_0x46176e,_0x1f75c1,_0x43fbb2)=>{const _0x49bfa3=_0x4d0853;for(var _0x2752b8=_0x43fbb2>0x1?void 0x0:_0x43fbb2?_0x560a8a(_0x46176e,_0x1f75c1):_0x46176e,_0x479541=_0x1e0d74[_0x49bfa3(0x19c)]-0x1,_0xecfcdc;_0x479541>=0x0;_0x479541--)(_0xecfcdc=_0x1e0d74[_0x479541])&&(_0x2752b8=_0xecfcdc(_0x2752b8)||_0x2752b8);return _0x2752b8;},_0x377ff1=(_0x44809f,_0x3049df)=>(_0x224236,_0x2e5b03)=>_0x3049df(_0x224236,_0x2e5b03,_0x44809f);let _0x30f660=class extends _0x26267f[_0x4d0853(0x2de)]{constructor(_0x4fb611,_0x1ba98,_0x3681c4,_0x4dc758,_0x12ee69,_0x2721b7){const _0x242123=_0x4d0853;super(),this['_commandService']=_0x4fb611,this[_0x242123(0xd4)]=_0x1ba98,this[_0x242123(0x11c)]=_0x3681c4,this[_0x242123(0x3a5)]=_0x4dc758,this[_0x242123(0x31d)]=_0x12ee69,this[_0x242123(0x308)]=_0x2721b7,this['_initDataSendListener'](),this[_0x242123(0x114)]();}[_0x4d0853(0x2ee)](){const _0x2a3be5=_0x4d0853;this['disposeWithMe'](this[_0x2a3be5(0x304)][_0x2a3be5(0xf7)](_0x4fd3c8=>{const _0x3dd702=_0x2a3be5;if(_0x4fd3c8['id']!==_0x530263['id'])return;const _0x30a847=_0x4fd3c8[_0x3dd702(0x352)];this['_sheetsPivotRpcService']['handleAsyncResponse'](_0x30a847);})),this[_0x2a3be5(0x2db)](this[_0x2a3be5(0x304)][_0x2a3be5(0xf7)](_0x6d5202=>{const _0x2a0129=_0x2a3be5;if(_0x6d5202['id']===_0x47ac7e['id']){const _0x596e44=_0x6d5202[_0x2a0129(0x352)];if(_0x596e44){const {unitId:_0x3b14b9,subUnitId:_0x375fd4,oldSubUnitId:_0x5beac1,pivotTableId:_0x1b1568,pivotTableConfig:_0x5ab0bc,collectionConfig:_0x1df7db}=_0x596e44;this[_0x2a0129(0x3a5)][_0x2a0129(0x220)](_0x3b14b9,_0x5beac1,_0x596e44[_0x2a0129(0x2e5)],null),this[_0x2a0129(0x3a5)][_0x2a0129(0x220)](_0x3b14b9,_0x375fd4,_0x1b1568,_0x5ab0bc),this['_sheetsPivotTableConfigModel'][_0x2a0129(0x363)](_0x3b14b9,_0x1df7db);}}})),this[_0x2a3be5(0x2db)](this['_commandService'][_0x2a3be5(0xf7)](_0x7f4bce=>{const _0x455735=_0x2a3be5;if(_0x7f4bce['id']!==_0x250854['id'])return;const _0x1ecb9c=_0x15c6e7[_0x455735(0x324)](this[_0x455735(0x31d)]);if(!_0x1ecb9c)return;const {unitId:_0x15ccec,subUnitId:_0x520bad}=_0x1ecb9c,_0x3cc3c9=_0x7f4bce[_0x455735(0x352)];if(_0x3cc3c9[_0x455735(0x1ff)]&&Object[_0x455735(0x2a2)](_0x3cc3c9[_0x455735(0x1ff)])[_0x455735(0x35d)](_0x34465=>{const _0x5277e4=_0x455735;var _0x15c4fa;(_0x15c4fa=_0x3cc3c9['collectionConfig'])!=null&&_0x15c4fa[_0x34465]&&this['_sheetsPivotTableConfigModel'][_0x5277e4(0x363)](_0x34465,_0x3cc3c9[_0x5277e4(0x1ff)][_0x34465]);}),_0x3cc3c9[_0x455735(0xba)]){const _0x2fa013=_0x3cc3c9[_0x455735(0xba)],{unitId:_0x4ec0be,subUnitId:_0x107e99,view:_0x2cdb67,pivotTableId:_0x2fb20a,type:_0x217db0,pivotConfig:_0x471c30}=_0x2fa013;if(_0x217db0===_0x496a39[_0x455735(0x18a)])this[_0x455735(0x11c)][_0x455735(0x221)]({'unitId':_0x4ec0be,'subUnitId':_0x107e99,'pivotTableId':_0x2fb20a,'type':_0x217db0}),this[_0x455735(0x3a5)]['updateConfigCache'](_0x4ec0be,_0x107e99,_0x2fb20a,null);else{const _0x3ebe48=new _0x1f569c[(_0x455735(0xcc))]();_0x3ebe48[_0x455735(0x2bc)](_0x2cdb67),this['_sheetsPivotTableConfigModel'][_0x455735(0x220)](_0x4ec0be,_0x107e99,_0x2fb20a,_0x471c30),this['_sheetsPivotTableAdaptorModel'][_0x455735(0x221)]({'unitId':_0x4ec0be,'subUnitId':_0x107e99,'pivotTableId':_0x2fb20a,'type':_0x217db0,'view':_0x3ebe48}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x4ec0be,'subUnitId':_0x107e99,'view':_0x3ebe48,'pivotTableId':_0x2fb20a,'type':_0x217db0});}}else _0x3cc3c9[_0x455735(0x252)]&&(_0x3cc3c9[_0x455735(0x252)][_0x455735(0x35d)](_0x28bc3f=>{const _0x4b4a5b=_0x455735,{unitId:_0x40dda8,subUnitId:_0x1ebdda,view:_0x38794f,pivotTableId:_0x56d516,type:_0x2a8e71,pivotConfig:_0x45c06c}=_0x28bc3f,_0x2ce128=new _0x1f569c['PivotView']();_0x2ce128[_0x4b4a5b(0x2bc)](_0x38794f),this[_0x4b4a5b(0x3a5)]['updateConfigCache'](_0x40dda8,_0x1ebdda,_0x56d516,_0x45c06c),this[_0x4b4a5b(0x11c)][_0x4b4a5b(0x15d)]({'unitId':_0x40dda8,'subUnitId':_0x1ebdda,'view':_0x2ce128,'pivotTableId':_0x56d516,'type':_0x2a8e71});}),this['_sheetsPivotTableConfigModel'][_0x455735(0x178)]());this[_0x455735(0x11c)][_0x455735(0x2dd)](_0x15ccec,_0x520bad);}));}[_0x4d0853(0x114)](){const _0x1bfc97=_0x4d0853;this[_0x1bfc97(0x308)]['register'](_0x1f05fd['id'],{'commandId':_0x1f05fd['id'],'getDirtyData'(_0x3faa25){const _0x283c35=_0x1bfc97;return{'dirtyUnitFeatureMap':_0x3faa25[_0x283c35(0x352)]};}});}};_0x30f660=_0x53bec1([_0x377ff1(0x0,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0x284)])),_0x377ff1(0x1,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0x161)])),_0x377ff1(0x2,_0x26267f[_0x4d0853(0x1c9)](_0x2a0a80[_0x4d0853(0x2f6)])),_0x377ff1(0x3,_0x26267f['Inject'](_0x2a0a80[_0x4d0853(0xc6)])),_0x377ff1(0x4,_0x26267f[_0x4d0853(0x1c9)](_0x26267f['IUniverInstanceService'])),_0x377ff1(0x5,_0x2257ad[_0x4d0853(0x206)])],_0x30f660);var _0x2ddc1a=Object[_0x4d0853(0x277)],_0x17ffaa=Object[_0x4d0853(0x31e)],_0x2591c9=(_0x401497,_0x44245e,_0x2f0874)=>_0x44245e in _0x401497?_0x2ddc1a(_0x401497,_0x44245e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f0874}):_0x401497[_0x44245e]=_0x2f0874,_0xc83478=(_0x18cfb4,_0x2d427a,_0x3ad13d,_0x50471b)=>{const _0x3cf16d=_0x4d0853;for(var _0x22d2f8=_0x50471b>0x1?void 0x0:_0x50471b?_0x17ffaa(_0x2d427a,_0x3ad13d):_0x2d427a,_0x35d7a8=_0x18cfb4[_0x3cf16d(0x19c)]-0x1,_0x56c469;_0x35d7a8>=0x0;_0x35d7a8--)(_0x56c469=_0x18cfb4[_0x35d7a8])&&(_0x22d2f8=_0x56c469(_0x22d2f8)||_0x22d2f8);return _0x22d2f8;},_0x5a6b79=(_0x294a1d,_0x210d16)=>(_0x28b64e,_0x3cb5e1)=>_0x210d16(_0x28b64e,_0x3cb5e1,_0x294a1d),_0x3a59a9=(_0x42b362,_0x130f83,_0x41a835)=>_0x2591c9(_0x42b362,typeof _0x130f83!=_0x4d0853(0x391)?_0x130f83+'':_0x130f83,_0x41a835);_0x2a0a80[_0x4d0853(0x142)]=class extends _0x26267f[_0x4d0853(0x1f0)]{constructor(_0x430043=_0x52e646,_0x352b97,_0x1a42bf,_0x43ccda,_0x47dc14){const _0x36e923=_0x4d0853;super(),this['_config']=_0x430043,this[_0x36e923(0x23f)]=_0x352b97,this['_commandService']=_0x1a42bf,this['_configService']=_0x43ccda,this[_0x36e923(0x33f)]=_0x47dc14;const {..._0x3cb62e}=_0x26267f['merge']({},_0x52e646,this[_0x36e923(0x2ed)]);this['_configService'][_0x36e923(0x281)](_0x79e1b1,_0x3cb62e),this['_initRegisterCommand'](),this[_0x36e923(0x2fc)]();}[_0x4d0853(0x2fc)](){const _0x2f39ed=_0x4d0853;var _0x537e3c;const _0x13bb0f=(_0x537e3c=this[_0x2f39ed(0x2ed)])==null?void 0x0:_0x537e3c['notExecuteFormula'];this[_0x2f39ed(0x312)]['setConfig'](_0x7fa735,_0x13bb0f===!0x0);}[_0x4d0853(0x217)](){const _0xc738d3=_0x4d0853;var _0x41351b;let _0x5e7373=[];const _0x3ed2df=(_0x41351b=this[_0xc738d3(0x2ed)])==null?void 0x0:_0x41351b[_0xc738d3(0xb3)];_0x3ed2df===!0x0?_0x5e7373=[[_0x2a0a80['SheetsPivotTableService']],[_0x2a0a80[_0xc738d3(0x161)]],[_0x30f660],[_0x2a0a80[_0xc738d3(0x2f6)]],[_0x2a0a80['SheetsPivotTableConfigModel']],[_0x40513d],[_0x2db79f],[_0x213397],[_0x42a5d6]]:_0x3ed2df===!0x1?_0x5e7373=[[_0x2a0a80['SheetsPivotDataSourceModel']],[_0x16672e]]:_0x3ed2df===void 0x0&&(_0x5e7373=[[_0x2a0a80['SheetsPivotDataSourceModel']],[_0x16672e],[_0x2a0a80['SheetsPivotTableService']],[_0x2a0a80[_0xc738d3(0x161)]],[_0x30f660],[_0x2a0a80[_0xc738d3(0x2f6)]],[_0x2a0a80[_0xc738d3(0xc6)]],[_0x40513d],[_0x2db79f],[_0x213397],[_0x42a5d6]]),_0x5e7373[_0xc738d3(0x35d)](_0x514895=>this['_injector'][_0xc738d3(0x141)](_0x514895)),[_0x16672e,_0x30f660,_0x2a0a80['SheetsPivotTableService'],_0x2db79f,_0x40513d,_0x213397,_0x42a5d6][_0xc738d3(0x35d)](_0x46175b=>{const _0x485585=_0xc738d3;this['_injector']['has'](_0x46175b)&&this['_injector'][_0x485585(0x2c0)](_0x46175b);});}[_0x4d0853(0x209)](){const _0x556f7a=_0x4d0853;[_0x35a617,_0x3a36a6,_0x56a7de,_0x166b99,_0x57323b,_0x41269a,_0x1c2149,_0x4eedee,_0x18f237,_0x526eb9,_0x2d7e93,_0x203ba7,_0x20a6aa,_0x19648e,_0xecd0d5,_0x12e7a7,_0x4bff6f,_0x554cb2,_0x35630d,_0x16773b,_0x2aac9e,_0x598e65,_0x5161fe,_0x4afe09,_0x3f1b34,_0x1bb477,_0x9895ea,_0x1ff8a2,_0x530263,_0x250854,_0x4c9f8a,_0x310eec,_0x44dfbd,_0x255be1,_0x44b694,_0x82b78,_0x536d78,_0x1f05fd,_0x47ac7e,_0x2e9818,_0x2e0988,_0x361e6f,_0x1d42e4][_0x556f7a(0x35d)](_0x53b85a=>{const _0x197283=_0x556f7a;var _0x44201c;(_0x44201c=this['_dataSyncPrimaryController'])==null||_0x44201c[_0x197283(0x2ff)](_0x53b85a),this['_commandService'][_0x197283(0x370)](_0x53b85a);});}},_0x3a59a9(_0x2a0a80[_0x4d0853(0x142)],'pluginName',_0x18b3b4),_0x3a59a9(_0x2a0a80[_0x4d0853(0x142)],'type',_0x26267f[_0x4d0853(0xef)]['UNIVER_SHEET']),_0x2a0a80['UniverSheetsPivotTablePlugin']=_0xc83478([_0x26267f[_0x4d0853(0x150)](_0x1cf072[_0x4d0853(0x238)]),_0x5a6b79(0x1,_0x26267f[_0x4d0853(0x1c9)](_0x26267f[_0x4d0853(0xe4)])),_0x5a6b79(0x2,_0x26267f['Inject'](_0x26267f[_0x4d0853(0x284)])),_0x5a6b79(0x3,_0x26267f[_0x4d0853(0xa9)]),_0x5a6b79(0x4,_0x26267f[_0x4d0853(0xb5)](_0xda97cf[_0x4d0853(0x32a)]))],_0x2a0a80['UniverSheetsPivotTablePlugin']),_0x2a0a80[_0x4d0853(0xbe)]=_0x56a7de,_0x2a0a80[_0x4d0853(0x28e)]=_0x554cb2,_0x2a0a80[_0x4d0853(0x158)]=_0x3a36a6,_0x2a0a80[_0x4d0853(0xe0)]=_0xecd0d5,_0x2a0a80['AddPivotTableWithConfigCommand']=_0x35a617,_0x2a0a80[_0x4d0853(0x316)]=_0x535df5,_0x2a0a80['DEFAULT_PIVOT_NUMBER']=_0x14a7c4,_0x2a0a80[_0x4d0853(0x2b1)]=_0x166b99,_0x2a0a80[_0x4d0853(0x22e)]=_0x20a6aa,_0x2a0a80[_0x4d0853(0x16e)]=_0x3be926,_0x2a0a80['PivotDrillDownCommand']=_0x19648e,_0x2a0a80[_0x4d0853(0x18b)]=_0x496a39,_0x2a0a80['PivotTableViewDirtyMarkOperation']=_0x1f05fd,_0x2a0a80[_0x4d0853(0x1bb)]=_0x2ff95c,_0x2a0a80[_0x4d0853(0x398)]=_0x57323b,_0x2a0a80['RemovePivotFieldMutation']=_0x598e65,_0x2a0a80[_0x4d0853(0xf4)]=_0x4bff6f,_0x2a0a80[_0x4d0853(0x340)]=_0x5161fe,_0x2a0a80['ResetPivotFieldsConfigCommand']=_0x1d42e4,_0x2a0a80['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x79e1b1,_0x2a0a80['SHEET_PIVOT_TABLE_PLUGIN']=_0x18b3b4,_0x2a0a80[_0x4d0853(0x2fe)]=_0x4eedee,_0x2a0a80['SetPivotCollapseMutation']=_0x4afe09,_0x2a0a80['SetPivotFieldFormatMutation']=_0x255be1,_0x2a0a80['SetPivotFieldsConfigCommand']=_0x361e6f,_0x2a0a80[_0x4d0853(0x344)]=_0x526eb9,_0x2a0a80[_0x4d0853(0x342)]=_0x2aac9e,_0x2a0a80['SetPivotOptionMutation']=_0x1bb477,_0x2a0a80[_0x4d0853(0x1a7)]=_0x9895ea,_0x2a0a80['SetPivotSortCommand']=_0x18f237,_0x2a0a80[_0x4d0853(0x36e)]=_0x3f1b34,_0x2a0a80[_0x4d0853(0xbd)]=_0x44dfbd,_0x2a0a80[_0x4d0853(0x181)]=_0x2e9818,_0x2a0a80[_0x4d0853(0x36a)]=_0x2e0988,_0x2a0a80[_0x4d0853(0xa4)]=_0x1c2149,_0x2a0a80[_0x4d0853(0x171)]=_0x4c9f8a,_0x2a0a80[_0x4d0853(0x15f)]=_0x2d7e93,_0x2a0a80[_0x4d0853(0xc8)]=_0x536d78,_0x2a0a80[_0x4d0853(0x341)]=_0x203ba7,_0x2a0a80['UpdatePivotTableSourceRangeMutation']=_0x82b78,_0x2a0a80[_0x4d0853(0x346)]=_0x41269a,_0x2a0a80['UpdateValuePositionMutation']=_0x310eec,_0x2a0a80[_0x4d0853(0x2d4)]=_0x3d3959,_0x2a0a80['canUsePivot']=_0x196894,_0x2a0a80['defaultThemeStyle']=_0x2db188,_0x2a0a80[_0x4d0853(0x245)]=_0x540257,_0x2a0a80[_0x4d0853(0x355)]=_0x3b3e27,_0x2a0a80[_0x4d0853(0x2ca)]=_0x37bee7,_0x2a0a80['getFieldListByArea']=_0x25e90f,_0x2a0a80[_0x4d0853(0x31b)]=_0x426d50,_0x2a0a80['getPivotCellInfo']=_0x22a3e7,_0x2a0a80[_0x4d0853(0x22b)]=_0x3b3186,_0x2a0a80[_0x4d0853(0x12b)]=_0x4daa48,_0x2a0a80['transFromCellValue']=_0x1da0d9,_0x2a0a80[_0x4d0853(0x11f)]=_0x3c7733,Object[_0x4d0853(0x277)](_0x2a0a80,Symbol[_0x4d0853(0x1da)],{'value':_0x4d0853(0x249)});}));function _0x4225(_0x3e0099,_0x40af87){const _0x42778b=_0x4277();return _0x4225=function(_0x422503,_0x1b2911){_0x422503=_0x422503-0x92;let _0x3a5abd=_0x42778b[_0x422503];return _0x3a5abd;},_0x4225(_0x3e0099,_0x40af87);}function _0x4277(){const _0x4255e7=['ClearSelectionContentCommand','_textInfo','next','createDataFieldId','handleSourceRangeChange','SetRangeValuesMutation','pushUndoRedo','updateViewInfo','setDataRecordCount','_dataSyncPrimaryController','RenamePivotFieldMutation','UpdatePivotTableSourceRangeCommand','SetPivotFilterMutation','drillDown','SetPivotFilterCommand','Hour','UpdatePivotValuePositionCommand','colHeaderMap','isNaN','max','setDateType','getCellMatrix','intersects','mergeWorksheetSnapshotWithDefault','sheets-pivot.emptyPivot.row','queryDirtyPivotTable','updatePivotTableMatrixInfo','setOptions','params','_pivotTableMatrixInfo','(Blank)','getAdjustRangesPosition','setRangeValueUndoMutation','movePivotField','unitId','NUM','sourceRangeInfo','sheets-pivot.config','version','forEach','_pivotTableRangeInfo','rangeKey','fieldsConfig','startColumn','getPivotTableIdByCell','updateCollectionConfig','_toJSON','Values','getDataFieldManager','UpdateValuePosition','SheetsPivotTableService','IResourceManagerService','SetPivotValueFilterMutation','RemoveSheetsFilterMutation','getColCount','isDateValue','SetPivotSortMutation','serializeRangeWithSpreadsheet','registerCommand','InterceptorManager','PivotTable','DataField','Collapse','UniverSheetsFilter','fromJSON','limit\x20pivot','getLastRow','cornerStyle','sheet.mutation.add-group-collection','getPivotPerformCheck','sheet.mutation.set-pivot-option','rowFields','MoveRangeCommand','sheet.mutation.pivot-update-field-source-info','INTERCEPTOR_POINT','addPivotTable','columnFields','sheets-pivot.sumName','tableFieldId','_generateUniqueVersion','shouldClear','@univerjs/core','new','getSheetId','mKNRVnBN\x20klRDx1VnBN(OnRlNil,\x201KrOnRIlx)\x20{\x20\x20\x20\x20VDx\x20{\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20OnRlNilUNmBbyDVMDDyx\x20=\x20OnRlNil.i1OnV(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20BDn4nNqliiy4l\x20=\x20v5E9.1yDil(yVBr(OnRlNilUNmBbyDVMDDyx[F]));\x20\x20\x20\x20\x20\x20\x20\x20nm\x20(!BDn4nNqliiy4l.Kk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BDn4nNqliiy4l.Kk\x20=\x209KtrlD(OnRlNilUNmBbyDVMDDyx[X]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20nijBDLlD\x20=\x20Vx1lBm\x20jBDLlDCOBryO5RB1l\x20!==\x20\x27KNklmnNlk\x27\x20&&\x20ilOm\x20nNiVyNRlBm\x20jBDLlDCOBryO5RB1l;\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20RBNVleV\x20=\x20nijBDLlD\x20?\x20ilOm\x20:\x20unNkBu;\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20tliiy4ljBDk\x20=\x20RBNVleV.__0yilpX__.1yDil(OnRlNilUNmBbyDVMDDyx[F]);\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20tliiy4l\x20=\x20RBNVleV.__Jle__.iVDnN4nmx(tliiy4ljBDk);\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20in4NyVKDljBDk\x20=\x20RBNVleV.__0yilpX__.1yDil(OnRlNilUNmBbyDVMDDyx[G]);\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20in4NyVKDl\x20=\x20RBNVleV.__Jle__.iVDnN4nmx(in4NyVKDljBDk);\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20in4NQyOnk\x20=\x20RBNVleV.__YlDnmx__(in4NyVKDl,\x20tliiy4l,\x201KrOnRIlx);\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20kBtynN\x20=\x20BDn4nNqliiy4l.kt;\x20\x20\x20\x20\x20\x20\x20\x20mKNRVnBN\x20niZBtynNqyVRcnN4(BbyVVlDN,\x20BJBiV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x201yVVlDN\x20=\x20BbyVVlDN.Dl1OyRl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20cBiV\x20=\x20BJBiV.Dl1OyRl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x201yVVlDNbyDVi\x20=\x201yVVlDN.i1OnV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20cBiVbyDVi\x20=\x20cBiV.i1OnV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nm\x20(!1yVVlDN.nNROKkli(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DlVKDN\x201yVVlDN\x20===\x20cBiV;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nm\x20(1yVVlDNbyDVi.OlN4Vc\x20<\x20F\x20||\x201yVVlDNbyDVi[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DlVKDN\x20myOil;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x201yVVlDN5Kmmne\x20=\x201yVVlDNbyDVi.iOnRl(g).TBnN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20cBiV5Kmmne\x20=\x20cBiVbyDVi.iOnRl(-1yVVlDNbyDVi.OlN4Vc\x20+\x20g).TBnN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DlVKDN\x201yVVlDN5Kmmne\x20===\x20cBiV5Kmmne;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20OlV\x20kBtynNQyOnk\x20=\x20(kBtynN\x20&&\x20kBtynN.OlN4Vc)\x20?\x20kBtynN.iBtl((ktUVlt)\x20=>\x20niZBtynNqyVRcnN4(ktUVlt,\x20OBRyVnBN.cBiVNytl))\x20:\x20VDKl;\x20\x20\x20\x20\x20\x20\x20\x20nm\x20(OBRyVnBN.cBiVNytl\x20===\x20\x27OBRyOcBiV\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kBtynNQyOnk\x20=\x20VDKl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20RBNiV\x20YyOnk\x20=\x20in4NQyOnk\x20&&\x20kBtynNQyOnk;\x20\x20\x20\x20\x20\x20\x20\x20DlVKDN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YyOnk,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tliiy4l:\x20BDn4nNqliiy4l,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20RyVRc\x20(lDDBD)\x20{\x20\x20\x20\x20\x20\x20\x20\x20DlVKDN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YyOnk:\x20myOil,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tliiy4l:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','UniverCore','dimension','SheetsSelectionsService','getSheetBySheetName','MovePivotField','_pivotTableInstanceCache','symbol','getUnitId','HourMinute','addCollection','sheet.mutation.send-pivot-data-local','row','addDirtyPivotTable','RemovePivotFieldCommand','addPivotField','_ensurePivotMap','_markDirty$','_initUnitDisposed','819oKZBqU','pivotInitCompleted$','removeValueFilterInfo','setRangeValueRedoMutation','getPivotDisplayConfig','DataFieldManager','getTableFieldById','getValueIndex','_sheetsPivotTableConfigModel','_initViewModelBySheetInterceptor','var','random','removeCollectionImp','_model','UniverProSheetsPivot','SetValueFilter','pageStyle','deleteUnitId','onQueryEnd','_globalComputedEndHelpFunc','_viewUpdate$','slice','broadcastCollectionChange','getUnit','PivotTableValuePositionEnum','sheets-pivot.cellDateGroupDisplay.yearMonth','addDataFieldWithoutUnitInfo','#FFFFFF','PIVOT_MUTATION_GENERATE','Grand\x20Total','DrillDown','NUMBER','sheet.mutation.set-pivot-field-subtotal-type','updateView','sheet.command.set-pivot-collapse','getDisplayName','rangesInfo','UpdateDateGroupCommand','sheet.command.add-pivot-table','PivotTableFiledAreaEnum','BehaviorSubject','rxjs','IConfigService','_onRefRangeChange','getAutoDisplayName','setValueFilterInfo','renameField','value','_deleteModelCache','lastRow','isDate','Sum\x20of\x20','notExecuteFormula','AddPivotTableWithConfig','Optional','sheet.mutation.add-pivot-field','sheet.command.set-pivot-sort','_ensurePivotItemRenderInfoCache','map','single','FontCache','dataFieldsCollection','SetPivotSubtotalTypeMutation','AddPivotFieldCommand','getFilterInfo','_initRemoveSheetCommandInterceptor','numberToABC','sheet.mutation.add-pivot-table','endColumn','updatePivotSource','Style','SheetsPivotTableConfigModel','InterceptorEffectEnum','UpdatePivotFieldSourceInfoMutation','measure','delete','rowHeaderMap','PivotView','getId','_initSnapshot','sheet.command.update-date-group','ΣValue','UniverEngineFormula','SetSubtotalType','sheets-pivot.countName','_sheetsPivotRpcService','PivotErrorTypeEnum','sheet.mutation.remove-group-collection','min','colCount','sheet.command.move-pivot-field','SetSortInfo','getValue','createCollectionWithDataRange','leafStyle','UniverEngineRender','REF','AddPivotTableMutation','getConfig','isErrorValue','getCellRaw','Injector','getIntersectsPivotTable','sheet.mutation.pivot-update-field-position','getColumnWidth','getTextInfo','PivotDateGroupFieldDateTypeEnum','sheet.mutation.set-pivot-value-filter','getName','getSheetFeatureLimit','rowRanges','hasField','UniverInstanceType','DisposableCollection','Product\x20of\x20','GrandTotal','pageRanges','RemovePivotTableMutation','average','getPivotTableConfig','onCommandExecuted','pivotConfigChange$','sheet.mutation.set-pivot-format','collectionChange$','YearMonthDate','needSameDeleteModel','rangeKeyMap','getPivotTableInstance','split','NAME','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','RemoveRowMutation','setLabelFilterInfo','subTotalStyle','Tools','getDataFieldByRangeKey','isPrefixValue','_fieldsCollectionChange$','CommandType','column','addCollectionByJSON','fontRenderExtension','_updateRenderEmptyCache','@univerjs/sheets-filter','lastCol','ObjectMatrix','excelDateToUnixMilliseconds','593WeRRQa','collapseInfo','registerDirtyService','pivotPerformCheck','toString','getAutoDisplayNameFunction','sheets-pivot.cellDateGroupDisplay.hourMinute','update','_sheetsPivotDataSourceModel','@univerjs/engine-formula','_sheetsPivotTableAdaptorModel','_initLocale','RenameField','unionPivotViewRange','InsertSheetUndoMutationFactory','getTargetByPivotId','unshift','filterInfo','existing','sheets-pivot.cellDateGroupDisplay.year','getMatrixValue','amd','MAX_SAFE_INTEGER','headerMap','_subjectFieldsCollectionChange','getPivotTableInfo','253385rRkGsq','values','Filter','number','removePivotTable','sheet.mutation.send-pivot-config-local','_ensurePivotTableMatrixInfo','updateFieldSourceInfo','realDeleteValue','getSortInfo','_featureCalculationManagerService','_initClearSelectionCommandInterceptor','string','dataFieldId','setSubtotalType','rangeType','colInfo','name','minDate','uniqueDataFieldName','@univerjs/rpc','add','UniverSheetsPivotTablePlugin','_sheetsSelectionsService','collections','sheet.mutation.get-pivot-data-local','ReleaseType','getPivotItemRenderInfoCache','getTargetByPivotTableId','interceptor','Month','stdDev','filter','_host','find','sheet.mutation.update-pivot-table-source-range','DependentOn','_ensureViewDataMap','sheets-pivot.dateGroup.date','colStyle','_sheetsPivotTableService','register','sheetName','onQueryStart','AddPivotTableCommand','_pivotRenderInfoCache','Rectangle','type','Minute','updateRenderCache','setTextInfo','UpdatePivotFieldSettingCommand','ResetPivotTable','SheetsPivotRPCService','has','395640iFelRC','StdDevp\x20of\x20','rgb(240,241,243)','areaInfo','sheets-pivot.grandTotal','_subjectCollectionChange','sheets-pivot.dateGroup.quarter','format','setRangeKeyMap','IUndoRedoService','PivotTableChangeTypeEnum','PivotDisplayDataType','fieldsCollectionChange$','getFieldCountByArea','UpdateFieldPositionMutation','toJSON','getDirtyInfo','getMonth','level','originTargetInfo','getIndexesByPathStr','setPivotInitCompleted','removePivotField','interceptCommand','getPivotTableRangeInfo','sheets-pivot.cellDateGroupDisplay.minute','parse','\x20-\x20','setSourceName','isDateGroupField','SetPivotValueFilterCommand','versions','sheet.mutation.update-date-group','updatePivotTableRangeInfo','#e6ebfa','setSortInfo','sheets-pivot.cellDateGroupDisplay.date','options','refreshData','Delete','PivotTableOperationEnum','handleMoveRange','cellValue','remove','_updatePivotTableInstanceCache','Set','subUnitId','undos','getSubUnitPivotConfigs','NotFunction','sheet.command.pivot-drill-down','Add','SetOptions','concat','textInfo','stdDevp','deleteField','length','sheet.mutation.remove-pivot-field','ErrorType','removeCollections','rgb(255,255,255)','sheet.mutation.send-init-pivot-text-local','_init','@univerjs-pro/license','sheets-pivot.dateGroup.monthDate','sheets-pivot.cellDateGroupDisplay.yearMonthDate','PivotFilterTypeEnum','SetPivotPositionMutation','_exclusiveRangeService','paths','node','query','IExclusiveRangeService','sheets-pivot.columnName','Column','object','Div0','redos','UNIVER_SHEET','generateNewSheetName','registerCallbackWithEvent','getSourceName','InsertSheetCommand','sequenceExecute','rowInfo','width','sheet.command.set-pivot-value-filter','PositionType','SetFieldFormat','_initGlobalComputed','SetPivotTableConfig','displayName','updateRangeKeyMap','subscribe','setPivotSetting','foreach','triggerDirtyFeature','isFeatureAuthorizedWithinTime','PivotMultipleValueId','workbook\x20is\x20not\x20found','fetchThroughAsyncInterceptors','Inject','deleteDataField','DIV_BY_ZERO','disposableCollection','sheets-pivot.varName','LifecycleService','_getAutoName','getRangeStartEndInfo','getValuePosition','updateViewData','product','_sheetInterceptorService','sourceName','PivotDataFieldDataTypeEnum','from','sheet.mutation.set-pivot-filter','refreshDataField','toStringTag','setPivotTable','pivotTableIndexConfig','sheets-pivot.varpName','PivotCallbackEnum','@univerjs-pro/engine-pivot','sheets-pivot.emptyPivot.column','iterateFieldByArea','Expand','9KPRqJX','_dataFieldManagerCollection','RefRangeService','dataRangeInfo','#f4f4f5','varp','fieldId','FieldsCollection','sheets-pivot.productName','includes','_refRangeHandle','startRow','@univerjs/engine-render','Plugin','SetValuePivotFilter','_resourceManagerService','_queryingMap','StdDev\x20of\x20','sheet.command.reset-pivot-fields-config','iterateFieldDim','New','sheets-pivot.cellDateGroupDisplay.yearQuarter','Subject','startCollectChangeset','sheet.command.update-pivot-value-position','resetPivotTable','YearMonth','addRecord','collectionConfig','NotName','initDataRanges','createInterceptorKey','getIntersects','RemoveSheetCommand','getDataFieldItemInfo','IActiveDirtyManagerService','isValue','viewData$','_initRegisterCommand','getFullYear','addFieldWithSourceId','valuePosition','STRING','PivotViewCellValueTypeEnum','Panel','Row','floor','updateAllDisplayName','matrix','setName','getMatrix','AddPivotField','onStarting','SetPivotFilter','sheet.mutation.set-pivot-sort-info','reduce','Count\x20of\x20','getDataFieldByTableId','getInterceptPoints','SetPivotCollapse','fetchThroughInterceptors','updateConfigCache','clearRenderCache','fields','rangeCache','getSubtotal','BadReference','return\x20','Total','reset','registerPluginResource','getFieldPositionInfoById','getPivotInfoByLicense','IUniverInstanceService','RemoveColMutation','MovePivotTableCommand','#e6ebfb','Range','contains','pivotMutationGenerate','removeDataField','generateRandomId','function','setPivotFilter','sheets-pivot.cellDateGroupDisplay.quarter','UniverLicensePlugin','resetArea','COMMAND','count','getFieldFormat','error','_refRangeService','_injector','getCollection','604sySpOx','getRangeData','generateHexNumber','Date','generateSetRangeValueMutations','createLabelField','MIN_SAFE_INTEGER','InsertRowMutation','Module','getSheets','numfmt','getFilterFieldIdByIndex','RemoveSheetMutation','charCodeAt','sheet.command.add-pivot-table-with-config','createAsyncInterceptorKey','1650hFdllC','batch','Subtotal','Varp\x20of\x20','entries','SetRangeValuesUndoMutationFactory','getCurrentUnitForType','SetWorksheetColWidthMutation','hasOwnProperty','valueIndex','updateDirtyPivotTable','intercept','_globalSubject','getDataFieldId','size','AsyncInterceptorManager','isText','updateValuePosition','cellToRange','rowCount','message','removeField','_subjectViewChange','sheets-pivot.maxName','push','IFeatureCalculationManagerService','sheet.mutation.pivot-update-value-position','some','sheet.command.add-pivot-field','_initPivotTextInfo','setDirty','asyncInterceptor','SetPivotSetting','getCurrentSelections','_globalComputingSrv','forValue','splice','setValuePivotFilter','defineProperty','getSubUnitPivotMatrix','prefix','endRow','getViewData','AddField','sheet.command.set-pivot-field-setting','#1d32e9','isBottomTotal','getFieldDataType','setConfig','Year','set','ICommandService','getDate','getLastCol','addField','1557670gORnLy','substring','dataFieldManagerConfig','pivotTableConfigs','setPivotCollapse','executeCommand','AddPivotFieldMutation','date','#b2b2b2','sheets-pivot.dateGroup.year','sheets.tabs.sheet','getStyles','_collectionConfigModel','iterateField','getSheetBySheetId','CellValueType','#eceeff','call','asObservable','UniverSheets','getPivotTableModelConfig','configVersion$','Value','getHeaderMapItem','targetCellInfo','dataStream','keys','addExclusiveRange','leftOffset','ClearSelectionAllCommand','_updateModelCache','@univerjs/sheets','getOriginFieldId','data','LocaleService','panel','stringify','getDataFieldByDataFieldId','setFieldFormat','sheets-pivot.value','sheets-pivot.stdDevpName','MovePivotFieldCommand','5610192mZQxxM','InsertColMutation','removeValueFilterInfoByValueFieldId','filterFields','Max\x20of\x20','ManualFilter','_createExclusiveRange','getTextSize','_initPivotDataGetListener','SheetsPivotDataSourceModel','formJSON','LS_CONFIG_KEY','sum','refreshGroupField','get','getMatrixFromRunTimeData','sheet.mutation.set-pivot-position','subtotal','_viewData$','RemoveField','NO_COMMERCIAL','sheets-pivot.averageName','token','isEmpty','getEmptyPivotRanges','adjustSheetCellData','getRefRangeMutationsByMoveRange','info','YearQuarter','getColumnCount','getPivotTableMatrixInfo','RANGE_TYPE','27udWCeG','range','applyChangeSet','maxDate','UniverProLicense','getNoUsedDataFieldIds','578152koCCNZ','_viewData','tuple','disposeWithMe','generateMutationsByRanges','markDirty','Disposable','RemovePivotField','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','UpdatePivotSource','collection','sheets-pivot.stdDevName','_localeService','pivotTableId','unshiftString','_collectionChange$','_getPivotAppliedRanges','getRangeKey','isBaseGroupField','sheets-pivot.emptyPivot.filter','isColMultiMeasure','_config','_initDataSendListener','Existing','MUTATION','sheet.command.move-pivot-table','NotNumber','pbt','_ensurePivotTableRangeInfo','updateConfig','SheetsPivotTableAdaptorModel','_requestResolvers','updateDataFieldsCollection','setPivotTableConfig','PivotCellStyleTypeEnum','sheets-pivot.minName','_initConfig','setPivotSort','SetPivotCollapseCommand','registerSyncingMutations','col','dispose','getRowCount','addPivotTableWithConfig','_commandService','getFieldInfo','document','getFieldById','_activeDirtyManagerService','getPivotTableCellData','SetPivotSort','_configVersion$','endCollectChangeset','dataFields','getUpdateRangeDeleteIds','PivotSubtotalTypeEnum','sheet.operation.pivot-table-view-formula-mark-dirty','SheetInterceptorService','_configService','CustomCommandExecutionError','getFieldIds','setValue','BLANK_ROW_COUNT','setDisplayName','setRange','NORMAL','_deletePivotTableInstanceCache','getInsertRowColMutations','FORCE_STRING','_univerInstanceService','getOwnPropertyDescriptor','valueFilter','removeSourceRangeChange','blank','deepClone','colRanges','getSheetCommandTarget','getValueFilterInfos','getRangeKeyList','Min\x20of\x20','_pivotInitCompleted$','sheets-pivot.dateGroup.yearQuarter','DataSyncPrimaryController','Average\x20of\x20','getTypeOfUnitDisposed$','InsertSheetMutation','result','forRow','bind','_ensurePivotItemRenderValueMatrixCache','_pivotRenderValueMatrixCache','AddPivotTable','sheets-pivot.dateGroup.minute','sortInfo'];_0x4277=function(){return _0x4255e7;};return _0x4277();}
|