@univerjs-pro/sheets-pivot 0.10.13 → 0.10.14-nightly.202511070628

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.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +40 -40
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +11 -11
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3d5060,_0x50b257){const _0x4da5c2=_0x3343,_0x209643=_0x3d5060();while(!![]){try{const _0x22f6c5=-parseInt(_0x4da5c2(0x220))/0x1*(parseInt(_0x4da5c2(0x376))/0x2)+-parseInt(_0x4da5c2(0x2d8))/0x3*(-parseInt(_0x4da5c2(0x222))/0x4)+-parseInt(_0x4da5c2(0x227))/0x5*(parseInt(_0x4da5c2(0x279))/0x6)+parseInt(_0x4da5c2(0x302))/0x7+-parseInt(_0x4da5c2(0x3f4))/0x8+parseInt(_0x4da5c2(0x288))/0x9*(-parseInt(_0x4da5c2(0x38e))/0xa)+-parseInt(_0x4da5c2(0x239))/0xb*(-parseInt(_0x4da5c2(0x2ce))/0xc);if(_0x22f6c5===_0x50b257)break;else _0x209643['push'](_0x209643['shift']());}catch(_0x490e7e){_0x209643['push'](_0x209643['shift']());}}}(_0x4e05,0xb6316),function(_0x4765b3,_0x2cfb58){const _0x2024ba=_0x3343;typeof exports=='object'&&typeof module<'u'?_0x2cfb58(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x2024ba(0x335)&&define[_0x2024ba(0x341)]?define([_0x2024ba(0x2e8),_0x2024ba(0x1c6),_0x2024ba(0x1ff),_0x2024ba(0x1e5),_0x2024ba(0x3a7),_0x2024ba(0x462),_0x2024ba(0x1e7),_0x2024ba(0x287),_0x2024ba(0x38c),_0x2024ba(0x2f2)],_0x2cfb58):(_0x4765b3=typeof globalThis<'u'?globalThis:_0x4765b3||self,_0x2cfb58(_0x4765b3[_0x2024ba(0x2b8)]={},_0x4765b3[_0x2024ba(0x2f1)],_0x4765b3['UniverCore'],_0x4765b3[_0x2024ba(0x26a)],_0x4765b3[_0x2024ba(0x3d0)],_0x4765b3[_0x2024ba(0x462)],_0x4765b3['UniverProLicense'],_0x4765b3[_0x2024ba(0x1f2)],_0x4765b3[_0x2024ba(0x340)],_0x4765b3[_0x2024ba(0x3b2)]));}(this,function(_0x28dbf0,_0x2444f4,_0x5cf8ff,_0x1683c2,_0x3d008a,_0x12702c,_0x556295,_0x1074c0,_0x224436,_0xcb82fe){'use strict';const _0x217abe=_0x3343;var _0x3daf8b=Object[_0x217abe(0x2a7)],_0x55c373=(_0x760e3d,_0x23ffea,_0x56bfef)=>_0x23ffea in _0x760e3d?_0x3daf8b(_0x760e3d,_0x23ffea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56bfef}):_0x760e3d[_0x23ffea]=_0x56bfef,_0x4cbd74=(_0x364284,_0x398d9b,_0x1196c8)=>_0x55c373(_0x364284,typeof _0x398d9b!=_0x217abe(0x229)?_0x398d9b+'':_0x398d9b,_0x1196c8);const _0x28d6a7=Number['parseInt'](0x68fcbdc5),_0x1c52de=0x10,_0x45e71b=0x1,_0x5690d9=_0x217abe(0x331),_0x491659=0x1,_0x40cc01='rgb(240,241,243)',_0xd91a59=_0x217abe(0x35c),_0xc28f5e='#b2b2b2',_0xbc889d='#f4f4f5',_0x4902ae='#f4f4f5',_0x35f028=_0x217abe(0x164),_0x58e641=_0x217abe(0x359),_0x257964=_0x217abe(0x3c1),_0x51f0f2='#e6ebfa',_0x2970e1='#1d32e9',_0x133a31='#FFFFFF',_0x57a124='#e6ebfb',_0x3a4d69=0xe,_0x19b256=0x6;var _0x59cdf6=(_0x385a22=>(_0x385a22[_0x217abe(0x15a)]=_0x217abe(0x2fd),_0x385a22['New']=_0x217abe(0x2d7),_0x385a22))(_0x59cdf6||{});const _0x1eacb1={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x356658=0x1e,_0x2f2c49={'b':{'s':0x1,'cl':{'rgb':_0xc28f5e}},'l':{'s':0x1,'cl':{'rgb':_0xc28f5e}},'r':{'s':0x1,'cl':{'rgb':_0xc28f5e}},'t':{'s':0x1,'cl':{'rgb':_0xc28f5e}}},_0x1d17ab={'bg':{'rgb':_0x40cc01},'ht':0x2,'vt':0x2,'tb':0x1},_0x1f5220={'bg':{'rgb':_0xd91a59},'ht':0x2,'vt':0x2,'tb':0x1},_0x564739={'rowStyle':{'bg':{'rgb':_0x57a124},'bd':_0x2f2c49,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2970e1},'bd':null,'cl':{'rgb':_0x133a31},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x2f2c49,'bg':{'rgb':_0x51f0f2},'vt':0x2},'cornerStyle':{'bd':_0x2f2c49,'bg':{'rgb':_0x35f028},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x2f2c49,'bg':{'rgb':_0xbc889d},'vt':0x2},'leafStyle':{'bd':_0x2f2c49,'bg':{'rgb':_0x4902ae},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x58e641},'cl':{'rgb':_0x257964},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x2f2c49,'vt':0x2}};function _0x15efc1(_0x169752,_0x22ebbd,_0x5cf32e){const _0x2ff187=_0x217abe,_0x1e08f4=_0x169752['get'](_0x5cf8ff[_0x2ff187(0x28e)]),_0x2371ed=_0x5cf32e[_0x2ff187(0x31e)]('_');switch(_0x22ebbd){case _0x2444f4[_0x2ff187(0x261)][_0x2ff187(0x27a)]:return _0x1e08f4['t'](_0x2ff187(0x2a8),..._0x2371ed);case _0x2444f4[_0x2ff187(0x261)][_0x2ff187(0x412)]:return _0x1e08f4['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x2371ed);case _0x2444f4['PivotDateGroupFieldDateTypeEnum'][_0x2ff187(0x1c3)]:return _0x1e08f4['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x2371ed);case _0x2444f4['PivotDateGroupFieldDateTypeEnum']['HourMinute']:return _0x1e08f4['t'](_0x2ff187(0x2e7),..._0x2371ed);case _0x2444f4['PivotDateGroupFieldDateTypeEnum'][_0x2ff187(0x218)]:return _0x1e08f4['t'](_0x2ff187(0x1f1),..._0x2371ed);case _0x2444f4[_0x2ff187(0x261)][_0x2ff187(0x28b)]:return _0x1e08f4['t'](_0x2ff187(0x18d),..._0x2371ed);case _0x2444f4[_0x2ff187(0x261)]['Quarter']:return _0x1e08f4['t'](_0x2ff187(0x384),..._0x2371ed);case _0x2444f4[_0x2ff187(0x261)][_0x2ff187(0x1aa)]:return _0x1e08f4['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x2371ed);case _0x2444f4[_0x2ff187(0x261)][_0x2ff187(0x407)]:return _0x1e08f4['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x2371ed);case _0x2444f4['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:return _0x1e08f4['t'](_0x2ff187(0x28c),..._0x2371ed);}return'';}const _0x359990=(_0x23fd89,_0x385eb7,_0x39dbd6,_0x508ef9)=>{const _0x2d17f5=_0x217abe;let _0x1f8d26;const _0x26b1d8=_0x23fd89[_0x2d17f5(0x191)](_0x5cf8ff[_0x2d17f5(0x198)])['getCurrentUnitForType'](_0x5cf8ff[_0x2d17f5(0x32d)]['UNIVER_SHEET']);if(!_0x26b1d8)return null;const _0x1ddf30=_0x26b1d8[_0x2d17f5(0x42f)]();let _0x3f90b5;if(_0x39dbd6&&(_0x3f90b5=_0x1ddf30[_0x2d17f5(0x364)](_0x39dbd6)),_0x385eb7!=null&&_0x385eb7['v']||(_0x385eb7==null?void 0x0:_0x385eb7['v'])===0x0){_0x1f8d26||(_0x1f8d26={});const _0x4d0355=_0x3d9aa9(_0x385eb7['v']);typeof _0x4d0355==_0x2d17f5(0x207)?_0x1f8d26['t']=_0x5cf8ff[_0x2d17f5(0x3ff)][_0x2d17f5(0x224)]:typeof _0x4d0355=='string'&&(_0x1f8d26['t']=_0x5cf8ff[_0x2d17f5(0x3ff)]['STRING']),_0x1f8d26['v']=_0x4d0355;}if((_0x385eb7!=null&&_0x385eb7['i']||(_0x385eb7==null?void 0x0:_0x385eb7['i'])===0x0)&&(_0x1f8d26||(_0x1f8d26={}),_0x1f8d26['fi']=_0x385eb7['i']),_0x385eb7!=null&&_0x385eb7['s']&&(_0x1f8d26||(_0x1f8d26={}),_0x1f8d26['pbt']=_0x385eb7['s']),_0x39dbd6&&(_0x1f8d26||(_0x1f8d26={}),_0x1f8d26['s']=_0x3f90b5),_0x508ef9&&_0x1f8d26!=null&&_0x1f8d26['v']&&_0x1f8d26[_0x2d17f5(0x192)]!==_0x2444f4[_0x2d17f5(0x34e)]['GrandTotal']&&_0x1f8d26[_0x2d17f5(0x192)]!==_0x2444f4[_0x2d17f5(0x34e)][_0x2d17f5(0x204)]){const _0x5cbaba=String(_0x1f8d26['v']),{dateType:_0x57fe71}=_0x508ef9;_0x1f8d26['v']=_0x15efc1(_0x23fd89,_0x57fe71,_0x5cbaba),_0x1f8d26['t']=_0x5cf8ff['CellValueType'][_0x2d17f5(0x457)];}return _0x1f8d26;},_0x1b0d96=(_0x2e1e82,_0x5b5b22,_0x57e8d7,_0x14da70)=>{const _0x32662a=_0x217abe;var _0x562519,_0x18a18d,_0x3cea68,_0x24b377,_0x29c6ac,_0x3deb73,_0x3b5668,_0x55c356,_0x1e3a66,_0x2dde28,_0x44e27f,_0x51820d,_0x54a431,_0x4dc371;const _0x135948=_0x57e8d7['targetCellInfo'],{cornerView:_0x48af17,rowView:_0x2fb309,colView:_0x3a3bca,dataView:_0x14ff50,pageView:_0x138171,formatMap:_0x29cc96,groupInfo:_0x56b663}=_0x5b5b22,{row:_0x1ca602,col:_0x3cb89a}=_0x135948,_0x20be21=new _0x5cf8ff[(_0x32662a(0x27d))](),_0x152039={},_0x368941={},_0x486e95={},_0x1e7011={},_0x3e5a29={};let _0x574e14=_0x1ca602,_0x5cc369=_0x3cb89a;Object[_0x32662a(0x16c)](_0x138171[_0x32662a(0x179)])[_0x32662a(0x22c)](_0x27da75=>{const _0x53c91c=_0x32662a;Object[_0x53c91c(0x16c)](_0x138171[_0x53c91c(0x179)][Number(_0x27da75)])[_0x53c91c(0x22c)](_0x4d123d=>{const _0x5808c8=_0x53c91c,_0x1ac559={..._0x138171[_0x5808c8(0x179)][Number(_0x27da75)][Number(_0x4d123d)]};_0x20be21[_0x5808c8(0x364)](Number(_0x27da75)+_0x574e14,Number(_0x4d123d)+_0x5cc369,_0x359990(_0x2e1e82,_0x1ac559,_0x564739[_0x5808c8(0x1f9)]));});});const _0x4f5119=Object['keys'](_0x138171[_0x32662a(0x179)])[_0x32662a(0x31a)];_0x574e14+=_0x4f5119+(_0x4f5119?_0x491659:0x0);const _0x45aa78=_0x48af17[_0x32662a(0x1a4)](),_0x1587bf=_0x48af17[_0x32662a(0x299)]();for(let _0x3e000b=0x0;_0x3e000b<_0x45aa78;_0x3e000b++)for(let _0x4c978b=0x0;_0x4c978b<_0x1587bf;_0x4c978b++){const _0x5e80da={...(_0x18a18d=(_0x562519=_0x48af17[_0x32662a(0x179)])==null?void 0x0:_0x562519[_0x3e000b])==null?void 0x0:_0x18a18d[_0x4c978b]};_0x5e80da&&((_0x3cea68=_0x2fb309['headerMap'][_0x4c978b])!=null&&_0x3cea68['isValue'])&&_0x4c978b===_0x1587bf-0x1&&_0x3e000b===_0x45aa78-0x1&&(_0x5e80da['v']=''+_0x14da70['sheets-pivot.value']),_0x20be21['setValue'](_0x3e000b+_0x574e14,_0x4c978b+_0x5cc369,_0x359990(_0x2e1e82,_0x5e80da,_0x564739['cornerStyle']));}for(let _0x548551=0x0;_0x548551<_0x48af17[_0x32662a(0x3cc)][_0x32662a(0x31a)];_0x548551++)_0x48af17['info'][_0x548551]&&(_0x486e95[''+(_0x548551+_0x5cc369)]=_0x48af17[_0x32662a(0x3cc)][_0x548551]);_0x5cc369+=_0x1587bf;const _0x4a05cd=_0x3a3bca['headerMap'],_0x1a7890=_0x3a3bca[_0x32662a(0x1bb)]()>=0x0?_0x3a3bca[_0x32662a(0x1bb)]()+0x1:0x0,_0x46d3b0=_0x3a3bca[_0x32662a(0x46b)]()>=0x0?_0x3a3bca[_0x32662a(0x46b)]()+0x1:0x0;for(let _0x492cab=0x0;_0x492cab<_0x46d3b0;_0x492cab++){for(let _0x40e67e=0x0;_0x40e67e<_0x1a7890;_0x40e67e++){const _0x5c7555={...(_0x29c6ac=(_0x24b377=_0x3a3bca[_0x32662a(0x179)])==null?void 0x0:_0x24b377[_0x40e67e])==null?void 0x0:_0x29c6ac[_0x492cab]},_0xb15509=(_0x3deb73=_0x4a05cd[_0x40e67e])==null?void 0x0:_0x3deb73['tableFieldId'],_0x524990=_0x29cc96[_0xb15509],_0x2495b8=_0x56b663[_0xb15509];_0x5c7555&&(_0x5c7555['v']=_0x462fdf(_0x5c7555,_0x40e67e===0x0&&((_0x3b5668=_0x3a3bca[_0x32662a(0x1c8)](_0x492cab+0x1))==null?void 0x0:_0x3b5668[_0x32662a(0x2ad)]),_0x524990,_0x14da70));let _0x5eae74;_0x524990?_0x5eae74={..._0x564739[_0x32662a(0x1d6)],'n':{'pattern':_0x524990}}:_0x5eae74={..._0x564739[_0x32662a(0x1d6)]},_0x20be21[_0x32662a(0x364)](_0x40e67e+_0x574e14,_0x492cab+_0x5cc369,_0x359990(_0x2e1e82,_0x5c7555,_0x5eae74,_0x2495b8));}_0x3a3bca[_0x32662a(0x3cc)][_0x492cab]&&(_0x368941[''+(_0x492cab+_0x5cc369)]=_0x3a3bca[_0x32662a(0x3cc)][_0x492cab]),_0x3a3bca[_0x32662a(0x387)][_0x492cab+0x1]&&(_0x3e5a29[''+(_0x492cab+_0x574e14+0x1)]=_0x3a3bca[_0x32662a(0x387)][_0x492cab+0x1]);}_0x574e14+=_0x45aa78;const _0x51fb57=_0x2fb309[_0x32662a(0x387)],_0xa7cc19=_0x2fb309[_0x32662a(0x1bb)]()>=0x0?_0x2fb309[_0x32662a(0x1bb)]()+0x1:0x0,_0x39bf06=_0x2fb309[_0x32662a(0x46b)]()>=0x0?_0x2fb309[_0x32662a(0x46b)]()+0x1:0x0;for(let _0x1ea2f1=0x0;_0x1ea2f1<_0xa7cc19;_0x1ea2f1++){for(let _0x317bca=0x0;_0x317bca<_0x39bf06;_0x317bca++){const _0x3e6413={...(_0x1e3a66=(_0x55c356=_0x2fb309[_0x32662a(0x179)])==null?void 0x0:_0x55c356[_0x1ea2f1])==null?void 0x0:_0x1e3a66[_0x317bca]},_0x30bbcd=(_0x2dde28=_0x51fb57[_0x317bca])==null?void 0x0:_0x2dde28[_0x32662a(0x18c)],_0xdb292d=_0x29cc96[_0x30bbcd],_0x156c5c=_0x56b663[_0x30bbcd];_0x3e6413&&(_0x3e6413['v']=_0x462fdf(_0x3e6413,!0x1,_0xdb292d,_0x14da70));let _0x2535c9;_0x2fb309[_0x32662a(0x3cc)][_0x1ea2f1][_0x32662a(0x402)]===_0x2fb309['getColCount']()?_0x2535c9=_0x564739[_0x32662a(0x391)]:_0x2fb309['info'][_0x1ea2f1]['isBottomTotal']?_0x2535c9=_0x2fb309[_0x32662a(0x3cc)][_0x1ea2f1]['level']===0x0?_0x564739[_0x32662a(0x285)]:_0x564739[_0x32662a(0x268)]:_0x2535c9=_0x564739[_0x32662a(0x367)],_0xdb292d&&(_0x2535c9={..._0x2535c9,'n':{'pattern':_0xdb292d}}),_0x20be21['setValue'](_0x1ea2f1+_0x574e14,_0x317bca+_0x3cb89a,_0x359990(_0x2e1e82,_0x3e6413,_0x2535c9,_0x156c5c));}_0x2fb309[_0x32662a(0x3cc)][_0x1ea2f1]&&(_0x152039[''+(_0x1ea2f1+_0x574e14)]=_0x2fb309[_0x32662a(0x3cc)][_0x1ea2f1]),_0x2fb309[_0x32662a(0x387)][_0x1ea2f1]&&(_0x1e7011[''+(_0x1ea2f1+_0x3cb89a)]=_0x2fb309['headerMap'][_0x1ea2f1]);}const _0x3b60b0=_0x14ff50[_0x32662a(0x1a4)](),_0x3b9d58=_0x14ff50[_0x32662a(0x299)]();for(let _0x1610ad=0x0;_0x1610ad<_0x3b60b0;_0x1610ad++)for(let _0x5e7ba4=0x0;_0x5e7ba4<_0x3b9d58;_0x5e7ba4++){const _0x39624e={...(_0x51820d=(_0x44e27f=_0x14ff50[_0x32662a(0x179)])==null?void 0x0:_0x44e27f[_0x1610ad])==null?void 0x0:_0x51820d[_0x5e7ba4]};let _0x1655e8;_0x2fb309[_0x32662a(0x3cc)][_0x1610ad][_0x32662a(0x1a1)]?_0x1655e8=_0x2fb309['info'][_0x1610ad]['level']===0x0?_0x564739['grandTotal']:_0x564739[_0x32662a(0x268)]:_0x1655e8=_0x564739['dataStyle'];const _0x729c6e=_0x2fb309[_0x32662a(0x3cc)][_0x1610ad][_0x32662a(0x201)],_0x3eda8c=_0x3a3bca[_0x32662a(0x3cc)][_0x5e7ba4][_0x32662a(0x201)],_0x31b9ec=Math['max'](_0x729c6e,_0x3eda8c),_0x3b129b=_0x57e8d7[_0x32662a(0x24f)][_0x32662a(0x22a)][_0x32662a(0x1a0)]();let _0x3839bf='';_0x31b9ec<0x0?_0x3839bf=(_0x54a431=_0x3b129b[0x0])!=null?_0x54a431:'':_0x3839bf=(_0x4dc371=_0x3b129b[_0x31b9ec])!=null?_0x4dc371:'';const _0x2ce46f=_0x29cc96[_0x3839bf];_0x2ce46f&&(_0x1655e8={..._0x1655e8,'n':{'pattern':_0x2ce46f}}),_0x20be21[_0x32662a(0x364)](_0x1610ad+_0x574e14,_0x5e7ba4+_0x5cc369,_0x359990(_0x2e1e82,_0x39624e,_0x1655e8));}return{'valueMatrix':_0x20be21,'rowInfo':_0x152039,'colInfo':_0x368941,'cornerInfo':_0x486e95,'rowHeaderMap':_0x1e7011,'colHeaderMap':_0x3e5a29};};function _0x462fdf(_0x5e2a55,_0x2fe7c3,_0x3a8edf,_0x5a3529){const _0x3c7f74=_0x217abe;let _0xfc17db=_0x5e2a55['v'];_0x2fe7c3&&(_0xfc17db=''+_0x5a3529[_0x3c7f74(0x46d)]);const _0x1dfd1b=_0x5e2a55['t']&&(_0x5e2a55['t']&_0x2444f4[_0x3c7f74(0x212)][_0x3c7f74(0x36e)])>0x0;_0x1dfd1b&&(_0xfc17db=''+_0x5a3529['sheets-pivot.blank']);const _0x5778ab=_0x5e2a55['t']&&(_0x5e2a55['t']&_0x2444f4[_0x3c7f74(0x212)][_0x3c7f74(0x336)])>0x0;if(_0x5778ab&&(_0xfc17db=''+_0x5a3529[_0x3c7f74(0x2c7)]),_0x5e2a55['s']===_0x2444f4[_0x3c7f74(0x34e)][_0x3c7f74(0x204)]){let _0x4f414e=_0xfc17db,_0x55991d='';_0x2444f4[_0x3c7f74(0x2ed)](_0xfc17db)&&(_0x4f414e=_0xfc17db['prefix'],_0x55991d=_0xfc17db[_0x3c7f74(0x2dd)]);const _0x2bbbd7=_0x3a8edf&&!_0x1dfd1b&&!_0x5778ab?_0x5cf8ff[_0x3c7f74(0x1cc)][_0x3c7f74(0x1e8)](_0x3a8edf,Number(_0x4f414e)):_0x4f414e;_0x55991d?_0xfc17db=_0x2bbbd7+'\x20'+_0x55991d:_0xfc17db=_0x2bbbd7+'\x20'+_0x5a3529[_0x3c7f74(0x337)];}else _0x5e2a55['s']===_0x2444f4[_0x3c7f74(0x34e)][_0x3c7f74(0x430)]&&(_0xfc17db=_0xfc17db+'\x20'+_0x5a3529[_0x3c7f74(0x233)]);return _0xfc17db;}function _0x3d9aa9(_0x3a43ed){const _0x5201f3=_0x217abe;if(_0x2444f4['isErrorValue'](_0x3a43ed)){const {errorType:_0x1b0af1}=_0x3a43ed;switch(_0x1b0af1){case _0x2444f4['PivotErrorTypeEnum'][_0x5201f3(0x43f)]:return _0x1683c2[_0x5201f3(0x1b9)][_0x5201f3(0x21e)];case _0x2444f4[_0x5201f3(0x2e3)][_0x5201f3(0x2e0)]:return _0x1683c2[_0x5201f3(0x1b9)]['NUM'];case _0x2444f4[_0x5201f3(0x2e3)]['NotFunction']:return _0x1683c2['ErrorType'][_0x5201f3(0x1c2)];case _0x2444f4['PivotErrorTypeEnum']['NotName']:return _0x1683c2['ErrorType']['NAME'];case _0x2444f4['PivotErrorTypeEnum'][_0x5201f3(0x300)]:return _0x1683c2[_0x5201f3(0x1b9)][_0x5201f3(0x298)];}}return _0x3a43ed;}function _0x3e0b54(_0x56f68c,_0x526fb7,_0x4f0879=!0x1,_0x10b4a8=!0x1){const _0x1da69a=_0x217abe,{data:_0x274b16}=_0x526fb7,_0x5b9e2a=_0x526fb7[_0x1da69a(0x1a4)](),_0x38a857=_0x526fb7[_0x1da69a(0x299)]();if(_0x5b9e2a<=0x0||_0x38a857<=0x0)return[];const _0x5a88d7=_0x526fb7['getLastCol'](),_0x6f2408=_0x526fb7['getLastRow'](),_0x6ff388=_0x10b4a8?_0x6f2408>=0x0?_0x6f2408+0x1:0x0:_0x5b9e2a,_0x22f280=_0x10b4a8?_0x5a88d7>=0x0?_0x5a88d7+0x1:0x0:_0x38a857,{row:_0x5b0220,col:_0x46675a}=_0x56f68c,_0x3cd1e4=_0x5b0220,_0x1d0cba=_0x46675a;if(_0x4f0879){const _0x1f121b=[];for(const [_0xee715,_0x44f95c]of Object[_0x1da69a(0x3ca)](_0x274b16))for(const [_0xc010c4,_0x4b9891]of Object['entries'](_0x44f95c))_0x1f121b['push'](_0x5cf8ff[_0x1da69a(0x396)](_0x3cd1e4+Number(_0xee715),_0x1d0cba+Number(_0xc010c4)));return _0x1f121b;}else{const _0x12233a=_0x10b4a8?_0x6ff388>0x0?0x1:0x0:0x1,_0x2cc395=_0x10b4a8?_0x22f280>0x0?0x1:0x0:0x1,_0x4e4b4e=_0x5b0220+_0x6ff388-_0x12233a,_0x12c7af=_0x46675a+_0x22f280-_0x2cc395;return[{'startRow':_0x3cd1e4,'startColumn':_0x1d0cba,'endRow':_0x4e4b4e,'endColumn':_0x12c7af}];}}const _0x243383='SHEET_PIVOT_IN_MAIN_THREAD',_0x4b224b=_0x217abe(0x281);var _0x5b1b05=(_0x3827bc=>(_0x3827bc[_0x217abe(0x419)]='filter',_0x3827bc['Panel']=_0x217abe(0x3ed),_0x3827bc['AddPivotField']=_0x217abe(0x234),_0x3827bc[_0x217abe(0x241)]='AddPivotTableWithConfig',_0x3827bc[_0x217abe(0x202)]=_0x217abe(0x348),_0x3827bc['MovePivotField']=_0x217abe(0x20d),_0x3827bc[_0x217abe(0x32a)]=_0x217abe(0x1e1),_0x3827bc[_0x217abe(0x2d4)]='setPivotCollapse',_0x3827bc[_0x217abe(0x1b4)]='setPivotFilter',_0x3827bc[_0x217abe(0x448)]=_0x217abe(0x1cd),_0x3827bc[_0x217abe(0x399)]=_0x217abe(0x242),_0x3827bc[_0x217abe(0x3fb)]=_0x217abe(0x39a),_0x3827bc[_0x217abe(0x1b5)]='updateValuePosition',_0x3827bc['DrillDown']=_0x217abe(0x1ef),_0x3827bc[_0x217abe(0x424)]='setValuePivotFilter',_0x3827bc[_0x217abe(0x40e)]=_0x217abe(0x22f),_0x3827bc[_0x217abe(0x41b)]='resetPivotTable',_0x3827bc))(_0x5b1b05||{});const _0x56a7da={'sheets-pivot.blankValue':_0x217abe(0x17d),'sheets-pivot.columnName':_0x217abe(0x2cd),'sheets-pivot.subTotalText':_0x217abe(0x1e6),'sheets-pivot.grandTotalText':_0x217abe(0x3e5),'sheets-pivot.valueText':_0x217abe(0x1e4),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x217abe(0x187),'sheets-pivot.countNumsName':_0x217abe(0x187),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x217abe(0x1e2),'sheets-pivot.varpName':_0x217abe(0x41f),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x217abe(0x2dd),'sheets-pivot.blank':'blank','sheets-pivot.other':_0x217abe(0x336),'sheets-pivot.emptyPivot.filter':_0x217abe(0x419),'sheets-pivot.emptyPivot.row':_0x217abe(0x413),'sheets-pivot.emptyPivot.column':_0x217abe(0x2e2),'sheets-pivot.emptyPivot.values':_0x217abe(0x41e)},_0x9615d7={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x42699f=_0x5cf8ff[_0x217abe(0x460)](_0x217abe(0x2f7)),_0x744bc6=_0x5cf8ff[_0x217abe(0x311)]('pivotMutationGenerate');var _0x1a94bb=(_0x4dcdfa=>(_0x4dcdfa['add']=_0x217abe(0x219),_0x4dcdfa['delete']=_0x217abe(0x168),_0x4dcdfa['update']=_0x217abe(0x1fd),_0x4dcdfa))(_0x1a94bb||{}),_0x5da69e=(_0x59f0cc=>(_0x59f0cc['Add']=_0x217abe(0x219),_0x59f0cc[_0x217abe(0x45d)]=_0x217abe(0x444),_0x59f0cc[_0x217abe(0x284)]=_0x217abe(0x168),_0x59f0cc))(_0x5da69e||{});const _0x4d48bb={'type':_0x5cf8ff['CommandType']['MUTATION'],'id':_0x217abe(0x378),'handler':()=>!0x0},_0x5d5a76={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x344),'handler':()=>!0x0},_0x572c85={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x37b),'handler':()=>!0x0},_0x3db269={'type':_0x5cf8ff['CommandType']['MUTATION'],'id':_0x217abe(0x465),'handler':()=>!0x0},_0x5d77fb={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x24b),'handler':()=>!0x0};var _0x26d219=Object[_0x217abe(0x17a)],_0x3dc8cb=(_0x443384,_0x24c38c,_0x5f212d,_0x401f37)=>{for(var _0x24e695=_0x401f37>0x1?void 0x0:_0x401f37?_0x26d219(_0x24c38c,_0x5f212d):_0x24c38c,_0xba37ea=_0x443384['length']-0x1,_0x436891;_0xba37ea>=0x0;_0xba37ea--)(_0x436891=_0x443384[_0xba37ea])&&(_0x24e695=_0x436891(_0x24e695)||_0x24e695);return _0x24e695;},_0x23a758=(_0x4290a0,_0x3db6d8)=>(_0x168fd8,_0x36d4e3)=>_0x3db6d8(_0x168fd8,_0x36d4e3,_0x4290a0);_0x28dbf0[_0x217abe(0x1c9)]=class extends _0x5cf8ff['Disposable']{constructor(_0x2fd554){const _0xf65f54=_0x217abe;super(),_0x4cbd74(this,'_requestResolvers',new Map()),this[_0xf65f54(0x36f)]=_0x2fd554;}[_0x217abe(0x466)](_0x5b29fb){const _0xb16088=_0x217abe,{version:_0x52713b}=_0x5b29fb,_0x37837a=this[_0xb16088(0x171)][_0xb16088(0x191)](_0x52713b);_0x37837a&&(_0x37837a(_0x5b29fb),this['_requestResolvers'][_0xb16088(0x168)](_0x52713b));}[_0x217abe(0x338)](_0x10953a){return new Promise((_0x2c4121,_0x34c182)=>{const _0x233053=_0x3343,_0x110507=this[_0x233053(0x31f)]();this[_0x233053(0x171)][_0x233053(0x444)](_0x110507,_0x2c4121),this[_0x233053(0x36f)][_0x233053(0x355)](_0x4d48bb['id'],{'version':_0x110507,..._0x10953a},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x51fbd2=_0x217abe;return Math['random']()['toString'](0x24)[_0x51fbd2(0x2f0)](0x2,0x10);}},_0x28dbf0[_0x217abe(0x1c9)]=_0x3dc8cb([_0x23a758(0x0,_0x5cf8ff['Inject'](_0x5cf8ff[_0x217abe(0x20e)]))],_0x28dbf0[_0x217abe(0x1c9)]);const _0x34e601={0x0:'R',0x1:'b',0x2:'3',0x3:'W',0x4:'K',0x5:'B',0x6:'z',0x7:'A',0x8:'F',0x9:'v','D':'0','W':'1','G':'2','v':'4','s':'5','Y':'6','C':'7','S':'8','O':'9','g':'a','d':'c','J':'d','X':'e','n':'f','p':'g','c':'h','f':'i','H':'j','B':'k','l':'l','t':'m','V':'n','I':'o','Z':'p','m':'q','y':'r','F':'s','a':'t','R':'u','Q':'w','b':'x','N':'y','P':'C','E':'D','L':'E','h':'G','r':'H','q':'I','j':'J','K':'L','U':'M','M':'N','u':'O','T':'P','i':'Q','x':'S','o':'T','A':'U','e':'V','w':'X','z':'Y','k':'Z'},_0x37a490='nRVdafIV\x20JXdyNZafIV(lfdXVFX,\x20ZR1lfd4XN)\x20{\x20\x20\x20\x20ayN\x20{\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20lfdXVFXqVnITgya7yygN\x20=\x20lfdXVFX.FZlfa(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20IyfpfVUXFFgpX\x20=\x20jxuM.ZgyFX(gaI1(lfdXVFXqVnITgya7yygN[G]));\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(!IyfpfVUXFFgpX.RJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IyfpfVUXFFgpX.RJ\x20=\x20MRt1Xy(lfdXVFXqVnITgya7yygN[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20fF3IyBXy\x20=\x20aNZXIn\x203IyBXyhlI1glxdIZX\x20!==\x20\x27RVJXnfVXJ\x27\x20&&\x20FXln\x20fVFagVdXIn\x203IyBXyhlI1glxdIZX;\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20dIVaXba\x20=\x20fF3IyBXy\x20?\x20FXln\x20:\x20QfVJIQ;\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20tXFFgpX3IyJ\x20=\x20dIVaXba.__5gFXYv__.ZgyFX(lfdXVFXqVnITgya7yygN[G]);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20tXFFgpX\x20=\x20dIVaXba.__rXb__.FayfVpfnN(tXFFgpX3IyJ);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20FfpVgaRyX3IyJ\x20=\x20dIVaXba.__5gFXYv__.ZgyFX(lfdXVFXqVnITgya7yygN[2]);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20FfpVgaRyX\x20=\x20dIVaXba.__rXb__.FayfVpfnN(FfpVgaRyX3IyJ);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20FfpVeglfJ\x20=\x20dIVaXba.__9XyfnN__(FfpVgaRyX,\x20tXFFgpX,\x20ZR1lfd4XN);\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20JItgfV\x20=\x20IyfpfVUXFFgpX.Jt;\x20\x20\x20\x20\x20\x20\x20\x20nRVdafIV\x20fFEItgfVUgadcfVp(ITgaaXyV,\x20IrIFa)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20ZgaaXyV\x20=\x20ITgaaXyV.yXZlgdX(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20cIFa\x20=\x20IrIFa.yXZlgdX(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20ZgaaXyVTgyaF\x20=\x20ZgaaXyV.FZlfa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20cIFaTgyaF\x20=\x20cIFa.FZlfa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(!ZgaaXyV.fVdlRJXF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20ZgaaXyV\x20===\x20cIFa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(ZgaaXyVTgyaF.lXVpac\x20<\x20G\x20||\x20ZgaaXyVTgyaF[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20nglFX;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20ZgaaXyVxRnnfb\x20=\x20ZgaaXyVTgyaF.FlfdX(W).HIfV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x20cIFaxRnnfb\x20=\x20cIFaTgyaF.FlfdX(-ZgaaXyVTgyaF.lXVpac\x20+\x20W).HIfV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20ZgaaXyVxRnnfb\x20===\x20cIFaxRnnfb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lXa\x20JItgfVeglfJ\x20=\x20(JItgfV\x20&&\x20JItgfV.lXVpac)\x20?\x20JItgfV.FItX((JtqaXt)\x20=>\x20fFEItgfVUgadcfVp(JtqaXt,\x20lIdgafIV.cIFaVgtX))\x20:\x20ayRX;\x20\x20\x20\x20\x20\x20\x20\x20fn\x20(lIdgafIV.cIFaVgtX\x20===\x20\x27lIdglcIFa\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JItgfVeglfJ\x20=\x20ayRX;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dIVFa\x209glfJ\x20=\x20FfpVeglfJ\x20&&\x20JItgfVeglfJ;\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209glfJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tXFFgpX:\x20IyfpfVUXFFgpX,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dgadc\x20(XyyIy)\x20{\x20\x20\x20\x20\x20\x20\x20\x20yXaRyV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209glfJ:\x20nglFX,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tXFFgpX:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x3e9d55=_0x31eb87=>{const _0x2d1830=_0x217abe;var _0x41631c;return((_0x41631c=_0x31eb87[_0x2d1830(0x15c)])==null?void 0x0:_0x41631c[_0x2d1830(0x31b)][_0x2d1830(0x3bb)](/\r\n$/,''))||'';};class _0x47d88b extends _0x2444f4['DataFieldManager']{constructor(_0x586678,_0x50e5f1){const _0x1b9978=_0x217abe;super(),_0x4cbd74(this,_0x1b9978(0x34d),{}),_0x4cbd74(this,'_univerInstanceService'),_0x4cbd74(this,_0x1b9978(0x36a)),(this[_0x1b9978(0x172)]=_0x50e5f1,this['_host']=_0x586678);}[_0x217abe(0x215)](){const _0x1bf16e=_0x217abe;for(const _0xe9a3a9 in this['dataFields']){const _0x484708=this[_0x1bf16e(0x385)][_0xe9a3a9],_0x333df0=_0x484708[_0x1bf16e(0x304)]();this[_0x1bf16e(0x34d)][_0x333df0]=_0x484708[_0x1bf16e(0x30c)]();}}[_0x217abe(0x177)](){const _0x402289=_0x217abe,_0x231656=this[_0x402289(0x36a)];return _0x320f90[_0x402289(0x393)](_0x231656);}['deleteDataField'](_0x3869d6){const _0x2a6780=_0x217abe,_0x817537=this[_0x2a6780(0x385)][_0x3869d6][_0x2a6780(0x2c3)];delete this[_0x2a6780(0x385)][_0x3869d6],delete this[_0x2a6780(0x34d)][_0x817537];}[_0x217abe(0x1be)](_0x545339){const _0x21d2d6=_0x217abe;this['dataFields'][_0x545339[_0x21d2d6(0x30c)]()]=_0x545339;}['removeCollectionImp'](_0x2a71ca){const _0x439c84=_0x217abe;var _0x54c9b0,_0xedcb6b;const _0x9d5c50=this[_0x439c84(0x36a)][_0x439c84(0x183)](_0x2a71ca);if(_0x9d5c50){const {unitId:_0x5f4fc4,subUnitId:_0x3f86cd}=_0x9d5c50,_0x294fff=(_0x54c9b0=this[_0x439c84(0x36a)]['getPivotTableConfig'](_0x5f4fc4,_0x3f86cd,_0x2a71ca))==null?void 0x0:_0x54c9b0[_0x439c84(0x434)];this[_0x439c84(0x36a)]['broadcastCollectionChange']({'token':_0x2a71ca,'type':_0x1a94bb[_0x439c84(0x168)],'dataRangeInfo':_0x294fff});}(_0xedcb6b=this['getCollection'](_0x2a71ca))==null||_0xedcb6b[_0x439c84(0x3f3)](),delete this[_0x439c84(0x2bb)][_0x2a71ca];}[_0x217abe(0x304)](_0x2537db,_0x2907a6){const {sheetName:_0x15b524,unitId:_0x573b1a,range:_0x3eaa2e}=_0x2537db,{startRow:_0x39be6a,endRow:_0x3183bb}=_0x3eaa2e;return _0x1683c2['serializeRangeWithSpreadsheet'](_0x573b1a,_0x15b524,{'startRow':_0x39be6a,'endRow':_0x3183bb,'startColumn':_0x2907a6,'endColumn':_0x2907a6});}[_0x217abe(0x18b)](_0x2b5693){const _0x639248=_0x217abe;return this[_0x639248(0x385)][this[_0x639248(0x34d)][_0x2b5693]];}[_0x217abe(0x28d)](_0xfb3c98,_0x5d2772){const _0x1572cd=_0x217abe;this[_0x1572cd(0x34d)][_0xfb3c98]=_0x5d2772;}[_0x217abe(0x21a)](_0x33df09,_0x5bd294){const _0x5c7f08=_0x217abe;this[_0x5c7f08(0x34d)][_0x5bd294]=this[_0x5c7f08(0x34d)][_0x33df09],delete this[_0x5c7f08(0x34d)][_0x33df09];}['addCollectionByJSON'](_0x3b0b3d,_0x260a21,_0x1ceffd,_0x36ecdc){const _0x637e05=_0x217abe,_0x171154=new _0x2444f4[(_0x637e05(0x1a5))](this);_0x171154[_0x637e05(0x163)](_0x260a21);const _0x47404d=[];let _0x25278a=0x0;for(const _0xed3405 of _0x171154['fieldIds']){const _0x489871=this[_0x637e05(0x304)](_0x1ceffd,_0x25278a),_0x22ccfd=this[_0x637e05(0x385)][_0xed3405];_0x22ccfd&&(_0x22ccfd['rangeKey']=_0x489871,this[_0x637e05(0x28d)](_0x489871,_0xed3405),_0x47404d['push']({'index':_0x25278a,'dataField':_0x22ccfd})),_0x25278a++;}return this[_0x637e05(0x247)](_0x3b0b3d,_0x171154,_0x1ceffd,_0x36ecdc),{'collection':_0x171154,'updateDataFieldList':_0x47404d};}[_0x217abe(0x2c5)](_0x289efd,_0x537825){const _0x343b22=_0x217abe;return _0x289efd['rangeType']===_0x5cf8ff[_0x343b22(0x3b4)][_0x343b22(0x1c4)]?{'startRow':0x0,'startColumn':_0x289efd[_0x343b22(0x38b)],'endRow':_0x537825[_0x343b22(0x1a4)]()-0x1,'endColumn':_0x289efd['endColumn']}:{'startRow':_0x289efd['startRow'],'startColumn':_0x289efd[_0x343b22(0x38b)],'endRow':_0x289efd[_0x343b22(0x46c)],'endColumn':_0x289efd['endColumn']};}[_0x217abe(0x189)](_0x585302){const _0xfd8946=_0x217abe,{sheetName:_0x50ba55,range:_0x29628c}=_0x585302,_0x3b1b34=this[_0xfd8946(0x172)][_0xfd8946(0x425)](_0x5cf8ff[_0xfd8946(0x32d)]['UNIVER_SHEET']),_0x55b6bf=_0x3b1b34[_0xfd8946(0x442)](_0x50ba55),_0x17449b=_0x55b6bf['getCellMatrix'](),{startColumn:_0x58088c,startRow:_0x9d73c4,endColumn:_0x56d4fc}=this[_0xfd8946(0x2c5)](_0x29628c,_0x55b6bf),_0x184b87=_0x3b1b34[_0xfd8946(0x42f)](),_0x10af3d=new _0x2444f4[(_0xfd8946(0x1a5))](this);_0x10af3d[_0xfd8946(0x3c0)](_0x585302);const _0x4e274f=[],_0x2693c5={};for(let _0x4e5213=_0x58088c;_0x4e5213<=_0x56d4fc;_0x4e5213++){const _0x3a4731=_0x17449b[_0xfd8946(0x2bd)](_0x9d73c4,_0x4e5213),_0x113116=this[_0xfd8946(0x304)](_0x585302,_0x4e5213),_0x852e22=this[_0xfd8946(0x18b)](_0x113116);if(_0x852e22)_0x10af3d[_0xfd8946(0x29e)](_0x852e22['getId'](),_0x852e22[_0xfd8946(0x2e5)]());else{const _0x3c6d61=this[_0xfd8946(0x2cb)]();let _0x1a2f3f=this[_0xfd8946(0x1b7)](_0x3a4731,_0x184b87,_0x2693c5);_0x2444f4[_0xfd8946(0x263)](_0x1a2f3f)&&(_0x1a2f3f=_0x5cf8ff[_0xfd8946(0x1cc)][_0xfd8946(0x1e8)](_0x1a2f3f['f'],Number(_0x1a2f3f['v'])));const _0xac46ed=this[_0xfd8946(0x291)](_0x1a2f3f,_0x4e5213),_0x1ac05c=new _0x2444f4[(_0xfd8946(0x2a3))](_0x3c6d61,_0xac46ed,_0x2444f4[_0xfd8946(0x1d2)](0x3));_0x1ac05c['rangeKey']=_0x113116,this[_0xfd8946(0x385)][_0x3c6d61]=_0x1ac05c,_0x10af3d[_0xfd8946(0x29e)](_0x3c6d61,_0xac46ed),_0x4e274f['push']({'index':_0x4e5213,'dataField':_0x1ac05c});}}return{'updateDataFieldList':_0x4e274f,'collection':_0x10af3d};}[_0x217abe(0x213)](_0x2b3451){const _0x5046f7=_0x217abe;return this[_0x5046f7(0x36a)][_0x5046f7(0x41a)]()[_0x5046f7(0x373)]+'\x20'+_0x5cf8ff[_0x5046f7(0x225)](_0x2b3451);}[_0x217abe(0x291)](_0x4f38a7,_0x14cd14){const _0x6c8de9=_0x217abe;return _0x4f38a7==null||_0x4f38a7===''?this[_0x6c8de9(0x213)](_0x14cd14):String(_0x4f38a7);}[_0x217abe(0x371)](_0x4b1a69){const _0x1d3ec4=_0x217abe;return this[_0x1d3ec4(0x2bb)][_0x4b1a69];}[_0x217abe(0x247)](_0x4ab788,_0x176b8d,_0x4a467c,_0x1b3413){const _0x3d72d5=_0x217abe;this[_0x3d72d5(0x2bb)][_0x4ab788]=_0x176b8d,_0x176b8d[_0x3d72d5(0x3c0)](_0x4a467c),this[_0x3d72d5(0x36a)][_0x3d72d5(0x44e)]({'token':_0x4ab788,'type':_0x1a94bb[_0x3d72d5(0x219)],'dataRangeInfo':_0x4a467c,'targetCellInfo':_0x1b3413});}[_0x217abe(0x432)](_0xf2c399,_0x4d655a){const _0x51db59=_0x217abe,_0x5cb254=this[_0x51db59(0x371)](_0xf2c399),_0x1bce4a=_0x5cb254[_0x51db59(0x3af)]();let _0x55f0d4=0x0;for(const _0x3594de of _0x1bce4a){const _0x20f420=_0x5cb254[_0x51db59(0x426)](_0x3594de),_0x56b7e2=this[_0x51db59(0x304)](_0x4d655a,_0x55f0d4);this['updateRangeKeyMap'](_0x20f420[_0x51db59(0x2c3)],_0x56b7e2),_0x55f0d4++;}}[_0x217abe(0x37c)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x3e4f77,_0x430e2f){const _0x2e6083=_0x217abe;if(this['getCollection'](_0x3e4f77)){const _0x4214dc=this[_0x2e6083(0x1d3)](_0x430e2f),_0xecade2=[];for(const _0x3e5682 of _0x4214dc)this[_0x2e6083(0x34d)][_0x3e5682]!==void 0x0&&_0xecade2[_0x2e6083(0x3d3)](this[_0x2e6083(0x34d)][_0x3e5682]);const _0x47d70c=this[_0x2e6083(0x27b)](_0x3e4f77),_0x171350=[],_0x218c0c=new Set(_0xecade2);for(const _0x21ef02 of _0x47d70c)_0x218c0c['has'](_0x21ef02)||_0x171350[_0x2e6083(0x3d3)](_0x21ef02);return _0x171350;}}[_0x217abe(0x221)](_0x97b72d,_0x3f9567,_0xa482b4,_0x3b8424,_0x52d3cb){const _0x3f3207=_0x217abe;return _0x3f9567&&_0x3f9567[_0x3f3207(0x2bd)](_0x3b8424,_0x52d3cb)?_0x3f9567[_0x3f3207(0x2bd)](_0x3b8424,_0x52d3cb):_0xa482b4&&_0xa482b4[_0x3f3207(0x2bd)](_0x3b8424,_0x52d3cb)?_0xa482b4[_0x3f3207(0x2bd)](_0x3b8424,_0x52d3cb):_0x97b72d[_0x3f3207(0x2bd)](_0x3b8424,_0x52d3cb);}[_0x217abe(0x2c6)](_0x551397,_0x3af911,_0x3a3576,_0x5ec4fc){const _0x4f9512=_0x217abe,_0x30dcca=this[_0x4f9512(0x385)][_0x551397];if(!_0x30dcca)return;const {subUnitId:_0x40d870,range:_0x3e7b98,unitId:_0x3a99b6}=_0x3af911,_0x37dfe9=this[_0x4f9512(0x172)][_0x4f9512(0x3da)](_0x3a99b6);if(!_0x37dfe9){console['error'](_0x4f9512(0x3a9));return;}const _0x452b8b=_0x37dfe9[_0x4f9512(0x3db)](_0x40d870),_0x579d07=_0x452b8b[_0x4f9512(0x2fa)](),{arrayFormulaCellDataMatrix:_0x48ab6d,unitDataMatrix:_0x15ae38}=_0x5ec4fc||{},{startRow:_0x125ea0,startColumn:_0x371b43,endRow:_0x2b5b4c}=this[_0x4f9512(0x2c5)](_0x3e7b98,_0x452b8b);_0x30dcca[_0x4f9512(0x34c)]();const _0x7c8c02=_0x37dfe9[_0x4f9512(0x42f)](),_0x419eb5={},_0x32bc0c=this[_0x4f9512(0x221)](_0x579d07,_0x48ab6d,_0x15ae38,_0x125ea0,_0x371b43+_0x3a3576);let _0x2d384e=this[_0x4f9512(0x1b7)](_0x32bc0c,_0x7c8c02,_0x419eb5);_0x2444f4[_0x4f9512(0x263)](_0x2d384e)&&(_0x2d384e=_0x5cf8ff['numfmt']['format'](_0x2d384e['f'],Number(_0x2d384e['v'])));const _0x4ab88f=this[_0x4f9512(0x291)](_0x2d384e,_0x371b43+_0x3a3576);_0x30dcca[_0x4f9512(0x3ae)](_0x4ab88f);for(let _0x4d2b83=_0x125ea0+0x1;_0x4d2b83<=_0x2b5b4c;_0x4d2b83++){const _0x128d63=this[_0x4f9512(0x221)](_0x579d07,_0x48ab6d,_0x15ae38,_0x4d2b83,_0x371b43+_0x3a3576);_0x30dcca[_0x4f9512(0x3ce)](this[_0x4f9512(0x1b7)](_0x128d63,_0x7c8c02,_0x419eb5),_0x4d2b83-0x1-_0x125ea0);}}[_0x217abe(0x286)](_0x40c131,_0x41cd78,_0x45c051){const _0x5b941d=_0x217abe,{subUnitId:_0x31af36,range:_0x3446f1,unitId:_0x3d3986}=_0x45c051,_0x4f2558=this[_0x5b941d(0x172)]['getUnit'](_0x3d3986);if(!_0x4f2558){console[_0x5b941d(0x1c0)](_0x5b941d(0x3a9));return;}const _0x2ace01=_0x4f2558[_0x5b941d(0x3db)](_0x31af36),_0x32ee6b=_0x2ace01[_0x5b941d(0x2fa)](),{startRow:_0x844ac3,startColumn:_0x37796c,endRow:_0x3b7188}=this[_0x5b941d(0x2c5)](_0x3446f1,_0x2ace01),_0x38cc5f=_0x4f2558['getStyles'](),_0x5b2ddc={};for(const {dataField:_0x56b4d5,index:_0x3845b6}of _0x41cd78){_0x56b4d5[_0x5b941d(0x34c)]();const _0x2be0bd=this[_0x5b941d(0x221)](_0x32ee6b,void 0x0,void 0x0,_0x844ac3,_0x37796c+_0x3845b6);let _0x3529ef=this[_0x5b941d(0x1b7)](_0x2be0bd,_0x38cc5f,_0x5b2ddc);_0x2444f4[_0x5b941d(0x263)](_0x3529ef)&&(_0x3529ef=_0x5cf8ff[_0x5b941d(0x1cc)][_0x5b941d(0x1e8)](_0x3529ef['f'],Number(_0x3529ef['v'])));const _0x3add5b=this['uniqueDataFieldName'](_0x3529ef,_0x37796c+_0x3845b6);_0x56b4d5[_0x5b941d(0x3ae)](_0x3add5b);}_0x40c131[_0x5b941d(0x356)]();for(let _0xd49a6e=_0x844ac3+0x1;_0xd49a6e<=_0x3b7188;_0xd49a6e++)for(const {index:_0x2e0760,dataField:_0x34bf15}of _0x41cd78){const _0x2970d6=_0x32ee6b[_0x5b941d(0x2bd)](_0xd49a6e,_0x37796c+_0x2e0760);_0x34bf15[_0x5b941d(0x3ce)](this[_0x5b941d(0x1b7)](_0x2970d6,_0x38cc5f,_0x5b2ddc),_0xd49a6e-0x1-_0x844ac3);}_0x40c131[_0x5b941d(0x185)](_0x3b7188-_0x844ac3);}['getRangeKeyList'](_0x4ac1b5){const _0x32f886=_0x217abe,{range:_0x49fb39}=_0x4ac1b5,{startColumn:_0x5554f5,endColumn:_0x1c0785}=_0x49fb39,_0x56e4e4=[];for(let _0x2fd7e3=_0x5554f5;_0x2fd7e3<=_0x1c0785;_0x2fd7e3++)_0x56e4e4[_0x32f886(0x3d3)](this[_0x32f886(0x304)](_0x4ac1b5,_0x2fd7e3));return _0x56e4e4;}[_0x217abe(0x1b7)](_0x3f4226,_0x250136,_0x402d38){const _0x451131=_0x217abe;if(_0x3f4226){const {s:_0x3a0940,v:_0x4b0fc2,t:_0x38ca63,p:_0x32ed45}=_0x3f4226;if(_0x32ed45)return _0x3e9d55(_0x32ed45);const _0x17b5d6=_0x250136[_0x451131(0x191)](_0x3a0940);if(_0x17b5d6&&_0x38ca63===_0x5cf8ff[_0x451131(0x3ff)][_0x451131(0x224)]&&_0x17b5d6['n']){const {pattern:_0x1c0edc}=_0x17b5d6['n'];_0x402d38[_0x1c0edc]||(_0x402d38[_0x1c0edc]=_0x5cf8ff[_0x451131(0x1cc)][_0x451131(0x38a)](_0x1c0edc));const _0x544f57=_0x402d38[_0x1c0edc],_0x29359e=_0x544f57[_0x451131(0x2bf)];if(_0x544f57[_0x451131(0x313)])return String(_0x4b0fc2);if(_0x29359e)return{'v':_0x4b0fc2,'f':_0x1c0edc};}if(_0x38ca63===_0x5cf8ff[_0x451131(0x3ff)][_0x451131(0x224)])return Number(_0x4b0fc2);if(_0x38ca63===_0x5cf8ff[_0x451131(0x3ff)][_0x451131(0x457)]||_0x38ca63===_0x5cf8ff[_0x451131(0x3ff)][_0x451131(0x409)])return String(_0x4b0fc2);if(_0x38ca63===void 0x0){const _0x11433a=Number(_0x4b0fc2);if(!Number[_0x451131(0x29a)](_0x11433a)&&String(_0x11433a)===_0x4b0fc2)return _0x11433a;}return _0x4b0fc2!=null?_0x4b0fc2:null;}else return null;}[_0x217abe(0x1af)](_0x5c197f){const _0x283ecf=_0x217abe,{sheetName:_0x1efe5a,range:_0xeef58,unitId:_0x32b378}=_0x5c197f,_0x3e208d=this[_0x283ecf(0x172)][_0x283ecf(0x3da)](_0x32b378);if(!_0x3e208d)return console[_0x283ecf(0x1c0)](_0x283ecf(0x3a9)),{'header':[],'data':[]};const _0x213cb0=_0x3e208d[_0x283ecf(0x442)](_0x1efe5a),_0x3dd126=_0x213cb0[_0x283ecf(0x2fa)](),{startRow:_0x511042,startColumn:_0xbad573,endRow:_0x506c95,endColumn:_0x2850f6}=this[_0x283ecf(0x2c5)](_0xeef58,_0x213cb0),_0x266a55=_0x3e208d['getStyles'](),_0x103564=[],_0x2d58a8=[],_0x3ec562={};for(let _0xe85ae8=_0x511042;_0xe85ae8<=_0x506c95;_0xe85ae8++){const _0x4d66ef=[];for(let _0x5098f9=_0xbad573;_0x5098f9<=_0x2850f6;_0x5098f9++){const _0x1a79e5=_0x3dd126[_0x283ecf(0x2bd)](_0xe85ae8,_0x5098f9);_0xe85ae8===_0x511042?_0x103564['push'](_0x1a79e5==null?null:String(_0x1a79e5['v'])):_0x4d66ef[_0x283ecf(0x3d3)](this[_0x283ecf(0x1b7)](_0x1a79e5,_0x266a55,_0x3ec562));}_0x2d58a8[_0x283ecf(0x3d3)](_0x4d66ef);}return{'header':_0x103564,'data':_0x2d58a8};}['toJSON'](){const _0x23b73b=_0x217abe;return super[_0x23b73b(0x327)]();}[_0x217abe(0x163)](_0x272d96){const _0x7686e5=_0x217abe;super[_0x7686e5(0x163)](_0x272d96),this['initDataRanges']();}[_0x217abe(0x3f3)](){const _0xcc785d=_0x217abe;super['dispose'](),this[_0xcc785d(0x34d)]={},this[_0xcc785d(0x36a)]=null;}}const _0xd13469=_0x5c2431=>{const _0x21f2d2=_0x217abe,{targetCellInfo:_0x1a0ccb}=_0x5c2431,{matrixCache:_0x5825ed,rangesCache:_0x4d3f57}=_0x399209({'filter':_0x21f2d2(0x419),'row':'Row','column':'Column','values':_0x21f2d2(0x41e)},_0x1a0ccb),_0x4e9699=new _0x5cf8ff[(_0x21f2d2(0x27d))]();return _0x5825ed[_0x21f2d2(0x470)]((_0xfa6071,_0x460a12,_0x591304)=>{const _0x50e876=_0x21f2d2;_0x4e9699[_0x50e876(0x364)](_0xfa6071,_0x460a12,_0x591304);}),{'matrix':_0x4e9699,'rangesCache':_0x4d3f57};},_0x4fea35=_0x4b9daf=>{const _0x194c3d=_0x217abe;let _0x346a60;if(_0x4b9daf!=null&&_0x4b9daf['v']||(_0x4b9daf==null?void 0x0:_0x4b9daf['v'])===0x0){_0x346a60||(_0x346a60={});const _0x20af2c=_0x3d9aa9(_0x4b9daf['v']);typeof _0x20af2c==_0x194c3d(0x207)?_0x346a60['t']=_0x5cf8ff[_0x194c3d(0x3ff)][_0x194c3d(0x224)]:typeof _0x20af2c==_0x194c3d(0x211)&&(_0x346a60['t']=_0x5cf8ff[_0x194c3d(0x3ff)][_0x194c3d(0x457)]),_0x346a60['v']=_0x20af2c;}return _0x346a60;},_0x11982d=(_0x53ff6a,_0x19708c,_0x13d9d2)=>{const _0xb94c40=_0x217abe;var _0x2c0ca7,_0x494343,_0x213278,_0x544e77,_0x5ebc28,_0x2d00bb,_0x483220,_0x56ef5c,_0x3e76df,_0x3cbfa0,_0x15b06f,_0x2a09ac;const {cornerView:_0x3480b2,rowView:_0x42704c,colView:_0x19562b,dataView:_0x3ba71c,pageView:_0x444f80,formatMap:_0x12b860}=_0x53ff6a,{row:_0x16f2e6,col:_0x124d73}=_0x19708c,_0x2e2106=new _0x5cf8ff[(_0xb94c40(0x27d))]();let _0x5d9d79=_0x16f2e6,_0xdc0a5e=_0x124d73;Object['keys'](_0x444f80['data'])['forEach'](_0x37a9a=>{const _0x36a924=_0xb94c40;Object['keys'](_0x444f80[_0x36a924(0x179)][Number(_0x37a9a)])['forEach'](_0x4cbb98=>{const _0x2b14a3=_0x36a924,_0x13d39e={..._0x444f80[_0x2b14a3(0x179)][Number(_0x37a9a)][Number(_0x4cbb98)]};_0x2e2106[_0x2b14a3(0x364)](Number(_0x37a9a)+_0x5d9d79,Number(_0x4cbb98)+_0xdc0a5e,_0x4fea35(_0x13d39e));});});const _0x47a430=Object[_0xb94c40(0x16c)](_0x444f80[_0xb94c40(0x179)])[_0xb94c40(0x31a)];_0x5d9d79+=_0x47a430+(_0x47a430?_0x491659:0x0);const _0x58776d=_0x3480b2[_0xb94c40(0x1a4)](),_0x402d7a=_0x3480b2[_0xb94c40(0x299)]();for(let _0x53c8db=0x0;_0x53c8db<_0x58776d;_0x53c8db++)for(let _0x5c57a3=0x0;_0x5c57a3<_0x402d7a;_0x5c57a3++){const _0x3a6be8={...(_0x494343=(_0x2c0ca7=_0x3480b2[_0xb94c40(0x179)])==null?void 0x0:_0x2c0ca7[_0x53c8db])==null?void 0x0:_0x494343[_0x5c57a3]};_0x3a6be8&&((_0x213278=_0x42704c[_0xb94c40(0x387)][_0x5c57a3])!=null&&_0x213278[_0xb94c40(0x2ad)])&&_0x5c57a3===_0x402d7a-0x1&&_0x53c8db===_0x58776d-0x1&&(_0x3a6be8['v']=''+_0x13d9d2[_0xb94c40(0x46d)]),_0x2e2106[_0xb94c40(0x364)](_0x53c8db+_0x5d9d79,_0x5c57a3+_0xdc0a5e,_0x4fea35(_0x3a6be8));}_0xdc0a5e+=_0x402d7a;const _0x58ab2e=_0x19562b[_0xb94c40(0x387)],_0x27106a=_0x19562b[_0xb94c40(0x1bb)]()>=0x0?_0x19562b['getLastRow']()+0x1:0x0,_0xf7578a=_0x19562b['getLastCol']()>=0x0?_0x19562b[_0xb94c40(0x46b)]()+0x1:0x0;for(let _0x573afb=0x0;_0x573afb<_0xf7578a;_0x573afb++)for(let _0x4b0c2f=0x0;_0x4b0c2f<_0x27106a;_0x4b0c2f++){const _0x54d9fd={...(_0x5ebc28=(_0x544e77=_0x19562b[_0xb94c40(0x179)])==null?void 0x0:_0x544e77[_0x573afb])==null?void 0x0:_0x5ebc28[_0x4b0c2f]},_0xb986e5=(_0x2d00bb=_0x58ab2e[_0x573afb])==null?void 0x0:_0x2d00bb['tableFieldId'],_0x1ca80f=_0x12b860[_0xb986e5];_0x54d9fd&&(_0x54d9fd['v']=_0x462fdf(_0x54d9fd,_0x573afb===0x0&&((_0x483220=_0x19562b[_0xb94c40(0x1c8)](_0x4b0c2f+0x1))==null?void 0x0:_0x483220[_0xb94c40(0x2ad)]),_0x1ca80f,_0x13d9d2)),_0x2e2106['setValue'](_0x573afb+_0x5d9d79,_0x4b0c2f+_0xdc0a5e,_0x4fea35(_0x54d9fd));}_0x5d9d79+=_0x58776d;const _0x284209=_0x42704c['headerMap'],_0x1b156d=_0x42704c[_0xb94c40(0x1bb)]()>=0x0?_0x42704c[_0xb94c40(0x1bb)]()+0x1:0x0,_0x597a52=_0x42704c[_0xb94c40(0x46b)]()>=0x0?_0x42704c[_0xb94c40(0x46b)]()+0x1:0x0;for(let _0x50bf65=0x0;_0x50bf65<_0x1b156d;_0x50bf65++)for(let _0x53c747=0x0;_0x53c747<_0x597a52;_0x53c747++){const _0x24a4d9={...(_0x3e76df=(_0x56ef5c=_0x42704c['data'])==null?void 0x0:_0x56ef5c[_0x50bf65])==null?void 0x0:_0x3e76df[_0x53c747]},_0x968528=(_0x3cbfa0=_0x284209[_0x53c747])==null?void 0x0:_0x3cbfa0[_0xb94c40(0x18c)],_0x35ff51=_0x12b860[_0x968528];_0x24a4d9&&(_0x24a4d9['v']=_0x462fdf(_0x24a4d9,!0x1,_0x35ff51,_0x13d9d2)),_0x2e2106[_0xb94c40(0x364)](_0x50bf65+_0x5d9d79,_0x53c747+_0x124d73,_0x4fea35(_0x24a4d9));}const _0x42f339=_0x3ba71c[_0xb94c40(0x1a4)](),_0x19e5cf=_0x3ba71c[_0xb94c40(0x299)]();for(let _0x49ec6b=0x0;_0x49ec6b<_0x42f339;_0x49ec6b++)for(let _0x5314c3=0x0;_0x5314c3<_0x19e5cf;_0x5314c3++){const _0x5d1fcd={...(_0x2a09ac=(_0x15b06f=_0x3ba71c[_0xb94c40(0x179)])==null?void 0x0:_0x15b06f[_0x49ec6b])==null?void 0x0:_0x2a09ac[_0x5314c3]};_0x2e2106[_0xb94c40(0x364)](_0x49ec6b+_0x5d9d79,_0x5314c3+_0xdc0a5e,_0x4fea35(_0x5d1fcd));}return _0x2e2106;},_0x5917c4=_0x823a56=>{const _0xf98546=_0x217abe,{view:_0x413bcd,targetCellInfo:_0x5819d4,isEmpty:_0x431a18,textInfo:_0x2b82bc}=_0x823a56;if(_0x431a18)return _0xd13469(_0x823a56);const {pageView:_0x1a3b65,cornerView:_0x4cd0d0,rowView:_0x3f0b71,colView:_0x1aead5,dataView:_0x1b37e4}=_0x413bcd,_0x5b36fc=_0x3e0b54(_0x5819d4,_0x1a3b65,!0x0),_0x370c1c=_0x1a3b65[_0xf98546(0x178)]>=0x0?_0x1a3b65[_0xf98546(0x178)]+0x1:0x0,_0x195e6b=_0x4cd0d0[_0xf98546(0x1a4)](),_0x34f550=_0x4cd0d0['getColCount'](),_0x216e9f=_0x5b36fc[_0xf98546(0x31a)]>0x0?_0x491659:0x0,_0x16a588=_0x3e0b54({'row':_0x5819d4['row']+_0x370c1c+_0x216e9f,'col':_0x5819d4[_0xf98546(0x1b1)]},_0x4cd0d0,!0x1,!0x1),_0xaa43c7=_0x3e0b54({'row':_0x5819d4[_0xf98546(0x2aa)]+_0x370c1c+_0x216e9f+_0x195e6b,'col':_0x5819d4[_0xf98546(0x1b1)]},_0x3f0b71,!0x1,!0x0),_0x5af26d=_0x3e0b54({'row':_0x5819d4[_0xf98546(0x2aa)]+_0x370c1c+_0x216e9f,'col':_0x5819d4[_0xf98546(0x1b1)]+_0x34f550},_0x1aead5,!0x1,!0x0),_0x5b0eed=_0x3e0b54({'row':_0x5819d4[_0xf98546(0x2aa)]+_0x370c1c+_0x216e9f+_0x195e6b,'col':_0x5819d4[_0xf98546(0x1b1)]+_0x34f550},_0x1b37e4,!0x1,!0x1),_0x392504={'rowRanges':_0xaa43c7,'colRanges':_0x5af26d,'cornerRanges':_0x16a588,'dataRanges':_0x5b0eed,'pageRanges':_0x5b36fc};return{'matrix':_0x11982d(_0x413bcd,_0x5819d4,_0x2b82bc),'rangesCache':_0x392504};};var _0x522630=Object[_0x217abe(0x17a)],_0xee9e41=(_0x54416b,_0x20df8d,_0x2be42c,_0xe31b44)=>{const _0xf6cd76=_0x217abe;for(var _0x13e761=_0xe31b44>0x1?void 0x0:_0xe31b44?_0x522630(_0x20df8d,_0x2be42c):_0x20df8d,_0x13aaf0=_0x54416b[_0xf6cd76(0x31a)]-0x1,_0xf99d71;_0x13aaf0>=0x0;_0x13aaf0--)(_0xf99d71=_0x54416b[_0x13aaf0])&&(_0x13e761=_0xf99d71(_0x13e761)||_0x13e761);return _0x13e761;},_0x12ccff=(_0x5a9704,_0x17f2e5)=>(_0x33aed2,_0x53b251)=>_0x17f2e5(_0x33aed2,_0x53b251,_0x5a9704);_0x28dbf0[_0x217abe(0x3f2)]=class extends _0x5cf8ff[_0x217abe(0x374)]{constructor(_0x69adf8,_0x346c08,_0x5b8a78,_0x1b9ac6,_0x1bfec7){const _0x3b7f9c=_0x217abe;super(),_0x4cbd74(this,_0x3b7f9c(0x22b),new Map()),_0x4cbd74(this,_0x3b7f9c(0x383),new Map()),_0x4cbd74(this,'_viewData',new Map()),_0x4cbd74(this,'_textInfo'),_0x4cbd74(this,'_collectionChange$',new _0x12702c[(_0x3b7f9c(0x1fb))]()),_0x4cbd74(this,_0x3b7f9c(0x1bc),this[_0x3b7f9c(0x2f8)][_0x3b7f9c(0x29b)]()),_0x4cbd74(this,_0x3b7f9c(0x2d3),new _0x12702c[(_0x3b7f9c(0x1fb))]()),_0x4cbd74(this,_0x3b7f9c(0x3e7),this[_0x3b7f9c(0x2d3)][_0x3b7f9c(0x29b)]()),_0x4cbd74(this,_0x3b7f9c(0x362),new _0x12702c[(_0x3b7f9c(0x1fb))]()),_0x4cbd74(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x3b7f9c(0x29b)]()),_0x4cbd74(this,_0x3b7f9c(0x41c),new Map()),_0x4cbd74(this,'needSameDeleteModel',[]),_0x4cbd74(this,_0x3b7f9c(0x2f9),new Map()),(this['_injector']=_0x69adf8,this[_0x3b7f9c(0x172)]=_0x346c08,this[_0x3b7f9c(0x35e)]=_0x5b8a78,this[_0x3b7f9c(0x36f)]=_0x1b9ac6,this[_0x3b7f9c(0x167)]=_0x1bfec7,this[_0x3b7f9c(0x40a)]());}[_0x217abe(0x41a)](){const _0x44d45b=_0x217abe;return this[_0x44d45b(0x438)]?this[_0x44d45b(0x438)]:_0x56a7da;}[_0x217abe(0x3b0)](_0x5ba689){const _0xaf1202=_0x217abe;this[_0xaf1202(0x438)]=_0x5ba689;}[_0x217abe(0x432)](_0x51ea75){const _0x208efe=_0x217abe;var _0x1422e7;const {from:_0x4d8dd3,to:_0x4ab9d0,unitId:_0x6114c7,fromRange:_0x5b0524,toRange:_0x57b935}=_0x51ea75;if(_0x4d8dd3&&_0x4ab9d0){const _0x484715=this[_0x208efe(0x33e)](_0x6114c7),_0x1c7d3b=this[_0x208efe(0x22b)][_0x208efe(0x191)](_0x6114c7),_0x26607e=(_0x1422e7=this[_0x208efe(0x172)][_0x208efe(0x3da)](_0x6114c7))==null?void 0x0:_0x1422e7['getSheetBySheetId'](_0x4ab9d0['subUnitId']);if(!_0x1c7d3b||!_0x26607e)return;const _0x6b999a=_0x26607e==null?void 0x0:_0x26607e[_0x208efe(0x2e5)]();for(const [_0x35e685,_0x4de367]of _0x1c7d3b['entries']())for(const [_0x25156d,_0x205ca9]of _0x4de367[_0x208efe(0x3ca)]()){const {sourceRangeInfo:_0x4c482f}=_0x205ca9;if(_0x4c482f[_0x208efe(0x26d)]===_0x6114c7&&_0x4c482f[_0x208efe(0x1d0)]===_0x4d8dd3['subUnitId']&&_0x5cf8ff['Rectangle']['contains'](_0x5b0524,_0x4c482f['range'])){const _0x4441b9={'row':_0x4c482f[_0x208efe(0x42e)][_0x208efe(0x1f3)]-_0x5b0524[_0x208efe(0x1f3)],'col':_0x4c482f[_0x208efe(0x42e)][_0x208efe(0x38b)]-_0x5b0524[_0x208efe(0x38b)]},_0x44a247={'unitId':_0x6114c7,'subUnitId':_0x4ab9d0[_0x208efe(0x1d0)],'sheetName':_0x6b999a,'range':{'startRow':_0x57b935[_0x208efe(0x1f3)]+_0x4441b9[_0x208efe(0x2aa)],'endRow':_0x57b935[_0x208efe(0x1f3)]+_0x4441b9[_0x208efe(0x2aa)]+_0x4c482f[_0x208efe(0x42e)]['endRow']-_0x4c482f[_0x208efe(0x42e)][_0x208efe(0x1f3)],'startColumn':_0x57b935[_0x208efe(0x38b)]+_0x4441b9[_0x208efe(0x1b1)],'endColumn':_0x57b935[_0x208efe(0x38b)]+_0x4441b9[_0x208efe(0x1b1)]+_0x4c482f[_0x208efe(0x42e)][_0x208efe(0x3ab)]-_0x4c482f[_0x208efe(0x42e)][_0x208efe(0x38b)]}};_0x484715[_0x208efe(0x432)](_0x25156d,_0x44a247);const _0x40a7f8={..._0x205ca9,'sourceRangeInfo':_0x44a247};this['_updateModelCache'](_0x6114c7,_0x4ab9d0[_0x208efe(0x1d0)],_0x25156d,_0x40a7f8),this[_0x208efe(0x44e)]({'unitId':_0x6114c7,'token':_0x25156d,'type':_0x1a94bb[_0x208efe(0x1fd)],'oldSourceRangeInfo':_0x4c482f,'dataRangeInfo':_0x44a247,'targetCellInfo':_0x205ca9[_0x208efe(0x25b)]}),this[_0x208efe(0x193)]({'unitId':_0x6114c7,'subUnitId':_0x4ab9d0[_0x208efe(0x1d0)],'oldSubUnitId':_0x35e685,'pivotTableId':_0x25156d,'pivotTableConfig':_0x40a7f8,'collectionConfig':_0x484715[_0x208efe(0x327)]()});}}}}[_0x217abe(0x44e)](_0x398244){const _0x3a603b=_0x217abe;this[_0x3a603b(0x2f8)][_0x3a603b(0x377)](_0x398244);}[_0x217abe(0x33e)](_0x518412){const _0x348f4e=_0x217abe;let _0x51f9b2=this['_dataFieldManagerCollection'][_0x348f4e(0x191)](_0x518412);return _0x51f9b2||(_0x51f9b2=new _0x47d88b(this,this['_univerInstanceService']),this['_dataFieldManagerCollection'][_0x348f4e(0x444)](_0x518412,_0x51f9b2)),_0x51f9b2;}['getCollection'](_0x2ad442,_0x5290bb){const _0x1b7f0f=_0x217abe;return this['getDataFieldManager'](_0x2ad442)[_0x1b7f0f(0x2bb)][_0x5290bb];}[_0x217abe(0x317)](_0x26789a,_0x54c5ef,_0x504ed8){const _0x4556d0=_0x217abe;return this[_0x4556d0(0x33e)](_0x26789a)[_0x4556d0(0x317)](_0x54c5ef,_0x504ed8);}['_ensurePivotMap'](_0x1958d5,_0x4377e5){const _0x2e1a7a=_0x217abe;let _0x1f515f=this[_0x2e1a7a(0x22b)][_0x2e1a7a(0x191)](_0x1958d5);_0x1f515f||(_0x1f515f=new Map(),this[_0x2e1a7a(0x22b)]['set'](_0x1958d5,_0x1f515f));let _0x3c0cad=_0x1f515f[_0x2e1a7a(0x191)](_0x4377e5);return _0x3c0cad||(_0x3c0cad=new Map(),_0x1f515f[_0x2e1a7a(0x444)](_0x4377e5,_0x3c0cad)),_0x3c0cad;}['_updateModelCache'](_0x345617,_0x577941,_0x2cad14,_0x550b5e){const _0x2df079=_0x217abe;this[_0x2df079(0x29d)](_0x345617,_0x577941)[_0x2df079(0x444)](_0x2cad14,_0x550b5e);}[_0x217abe(0x347)](_0x4b7be2,_0x5e297c,_0x429638){const _0x5f2082=_0x217abe;var _0x34af49,_0x22b178,_0xe5d782,_0x26d84b;((_0x22b178=(_0x34af49=this['_model'][_0x5f2082(0x191)](_0x4b7be2))==null?void 0x0:_0x34af49[_0x5f2082(0x191)](_0x5e297c))==null?void 0x0:_0x22b178[_0x5f2082(0x191)](_0x429638))&&((_0x26d84b=(_0xe5d782=this[_0x5f2082(0x22b)][_0x5f2082(0x191)](_0x4b7be2))==null?void 0x0:_0xe5d782['get'](_0x5e297c))==null||_0x26d84b[_0x5f2082(0x168)](_0x429638));}[_0x217abe(0x333)](_0x11cbff,_0x585d56){const _0x101260=_0x217abe;this[_0x101260(0x383)][_0x101260(0x444)](_0x11cbff,_0x585d56);}[_0x217abe(0x24e)](_0x1e5374){const _0x21e055=_0x217abe;this[_0x21e055(0x383)]['delete'](_0x1e5374);}['_ensureViewDataMap'](_0x5b6f21,_0x24ff2f){const _0x68151a=_0x217abe;let _0x3b583b=this['_viewData']['get'](_0x5b6f21);_0x3b583b||(_0x3b583b=new Map(),this['_viewData']['set'](_0x5b6f21,_0x3b583b));let _0x3d0702=_0x3b583b[_0x68151a(0x191)](_0x24ff2f);return _0x3d0702||(_0x3d0702=new Map(),_0x3b583b[_0x68151a(0x444)](_0x24ff2f,_0x3d0702)),_0x3d0702;}[_0x217abe(0x193)](_0x57b0e7){const _0x11db21=_0x217abe,{unitId:_0x1fb072,subUnitId:_0x264808,pivotTableId:_0x7ca921,pivotTableConfig:_0x828840,collectionConfig:_0x13949f}=_0x57b0e7,_0x3ffdbf={'unitId':_0x1fb072,'subUnitId':_0x264808,'oldSubUnitId':_0x264808,'pivotTableId':_0x7ca921,'pivotTableConfig':_0x828840,'collectionConfig':_0x13949f};this[_0x11db21(0x36f)][_0x11db21(0x355)](_0x3db269['id'],_0x3ffdbf,{'onlyLocal':!0x0});}[_0x217abe(0x2b6)](_0x435f63,_0x31fe04,_0x200b78,_0x16dd7e,_0x360c8e,_0x219aa4,_0x57636e,_0x4bbb4b=!0x1){const _0x10e138=_0x217abe;var _0x5a8bb3;this['_commandService']['executeCommand'](_0x572c85['id'],{'single':{'unitId':_0x435f63,'subUnitId':_0x31fe04,'type':_0x200b78,'pivotTableId':_0x16dd7e,'view':_0x360c8e,'pivotConfig':_0x219aa4},'collectionConfig':{[_0x435f63]:_0x57636e}},{'onlyLocal':!0x0});const _0x1ee0fa=!!((_0x5a8bb3=this[_0x10e138(0x45b)](_0x16dd7e))!=null&&_0x5a8bb3[_0x10e138(0x447)]()),_0x501024=this[_0x10e138(0x19a)](_0x435f63,_0x31fe04,_0x16dd7e);_0x501024&&this['updateViewData']({'view':_0x360c8e,'pivotTableId':_0x16dd7e,'textInfo':this[_0x10e138(0x41a)](),'isEmpty':_0x1ee0fa,'targetCellInfo':_0x501024['targetCellInfo']},_0x4bbb4b);}[_0x217abe(0x314)](_0x2f2706,_0x43546b){const _0x105d4e=_0x217abe,{targetCellInfo:_0xf862f2,pivotTableId:_0x3a2997}=_0x2f2706,{unitId:_0x2ce617,subUnitId:_0x3386b8}=_0xf862f2,_0x33f06b=this[_0x105d4e(0x19c)](_0x2ce617,_0x3386b8),_0x10781f=_0x33f06b['get'](_0x3a2997);let _0x46ce49,_0x113bbe;_0x10781f&&(_0x46ce49=_0x10781f[_0x105d4e(0x1ca)],_0x113bbe=_0x10781f[_0x105d4e(0x3e4)]);const {rangesCache:_0x25cd4a,matrix:_0x2f39ed}=_0x5917c4(_0x2f2706);_0x33f06b['set'](_0x3a2997,{'rangeCache':_0x25cd4a,'matrix':_0x2f39ed,'oldMatrix':_0x113bbe,'oldRangeCache':_0x46ce49}),_0x43546b||this[_0x105d4e(0x2d3)][_0x105d4e(0x377)]({'unitId':_0x2ce617,'subUnitId':_0x3386b8,'pivotTableId':_0x3a2997});}[_0x217abe(0x348)](_0x417c30,_0x1dbc0d,_0x14f422,_0x5f31d2,_0x50893b){const _0x425d81=_0x217abe;this['_updateModelCache'](_0x417c30,_0x1dbc0d,_0x14f422,_0x50893b),this[_0x425d81(0x333)](_0x14f422,_0x5f31d2);}[_0x217abe(0x380)](_0x362d10,_0x136425,_0x38893f){const _0x5eff2c=_0x217abe,_0x4a2e24=this[_0x5eff2c(0x33e)](_0x362d10);_0x4a2e24[_0x5eff2c(0x27b)](_0x38893f)[_0x5eff2c(0x22c)](_0x415a77=>{_0x4a2e24['deleteDataField'](_0x415a77);}),this[_0x5eff2c(0x3d1)](_0x362d10,_0x38893f),this[_0x5eff2c(0x347)](_0x362d10,_0x136425,_0x38893f),this[_0x5eff2c(0x24e)](_0x38893f);}[_0x217abe(0x176)](_0x3ad7d9,_0x1bd173,_0x323766,_0x3f1325){const _0x54ed69=_0x217abe;this[_0x54ed69(0x3d7)](_0x3ad7d9,_0x1bd173,_0x323766,_0x3f1325);}[_0x217abe(0x19a)](_0x505b77,_0x20c59a,_0x5d1d5f){const _0x4fa222=_0x217abe;var _0x5dda35,_0x72c45d;const _0x27438c=(_0x72c45d=(_0x5dda35=this[_0x4fa222(0x22b)]['get'](_0x505b77))==null?void 0x0:_0x5dda35[_0x4fa222(0x191)](_0x20c59a))==null?void 0x0:_0x72c45d[_0x4fa222(0x191)](_0x5d1d5f);if(_0x27438c)return _0x27438c;}[_0x217abe(0x267)](_0x3d2c9b,_0x2e9ab5,_0x4467a2){const _0x47713c=_0x217abe;var _0x231e37,_0x474c1a;const _0x1059a2=(_0x474c1a=(_0x231e37=this['_model'][_0x47713c(0x191)](_0x3d2c9b))==null?void 0x0:_0x231e37[_0x47713c(0x191)](_0x2e9ab5))==null?void 0x0:_0x474c1a[_0x47713c(0x191)](_0x4467a2);if(_0x1059a2)return _0x1059a2[_0x47713c(0x24f)];}[_0x217abe(0x45b)](_0x1d2d7c){const _0xf9f9c9=_0x217abe;return this['_pivotTableInstanceCache'][_0xf9f9c9(0x191)](_0x1d2d7c);}[_0x217abe(0x392)](_0x412b85){const _0x22b171=_0x217abe;this[_0x22b171(0x22b)][_0x22b171(0x168)](_0x412b85);const _0x2f4181=this[_0x22b171(0x41c)][_0x22b171(0x191)](_0x412b85);_0x2f4181&&(_0x2f4181[_0x22b171(0x3f3)](),this['_dataFieldManagerCollection'][_0x22b171(0x168)](_0x412b85)),this[_0x22b171(0x3fa)][_0x22b171(0x168)](_0x412b85),this['needSameDeleteModel'][_0x22b171(0x22c)](_0x15a30c=>{const _0x1962f6=_0x22b171;_0x15a30c[_0x1962f6(0x392)](_0x412b85);});}['addCollectionByJSON'](_0x59b364,_0x1e8495,_0xaf2cb2,_0x100fc0){const _0x2e32b8=_0x217abe;return this[_0x2e32b8(0x33e)](_0xaf2cb2[_0x2e32b8(0x26d)])['addCollectionByJSON'](_0x59b364,_0x1e8495,_0xaf2cb2,_0x100fc0);}[_0x217abe(0x189)](_0x5033ae){const _0x5ee560=_0x217abe;return this['getDataFieldManager'](_0x5033ae[_0x5ee560(0x26d)])[_0x5ee560(0x189)](_0x5033ae);}[_0x217abe(0x286)](_0x4b5b19,_0x3f4b37,_0x3e80f9){const _0x4d4797=_0x217abe;this[_0x4d4797(0x33e)](_0x3e80f9['unitId'])[_0x4d4797(0x286)](_0x4b5b19,_0x3f4b37,_0x3e80f9);}[_0x217abe(0x17c)](_0x32c9a7,_0x21f0fb){const _0x2bffed=_0x217abe;this[_0x2bffed(0x33e)](_0x32c9a7)[_0x2bffed(0x375)](_0x21f0fb);}[_0x217abe(0x3d1)](_0x45060f,_0x5ccac2){const _0x4e39e9=_0x217abe;this[_0x4e39e9(0x33e)](_0x45060f)['removeCollectionImp'](_0x5ccac2);}[_0x217abe(0x456)](_0x514d5f,_0x563286){const _0x29004d=_0x217abe;var _0x129228;return(_0x129228=this[_0x29004d(0x22b)][_0x29004d(0x191)](_0x514d5f))==null?void 0x0:_0x129228[_0x29004d(0x191)](_0x563286);}[_0x217abe(0x183)](_0x54fbcc){const _0x6f536e=_0x217abe;for(const [_0x2821af,_0x2fc76c]of this[_0x6f536e(0x22b)]['entries']())for(const [_0x76f7b2,_0x28c377]of _0x2fc76c[_0x6f536e(0x3ca)]())if(_0x28c377['has'](_0x54fbcc))return{'unitId':_0x2821af,'subUnitId':_0x76f7b2};return null;}[_0x217abe(0x3c6)](_0x47aace,_0x2f55b9,_0x74783f,_0x3ca522){const _0x19f281=_0x217abe,_0x161c08=this['_ensureViewDataMap'](_0x47aace,_0x2f55b9);_0x3ca522?_0x161c08['set'](_0x74783f,_0x3ca522):_0x161c08[_0x19f281(0x168)](_0x74783f),this[_0x19f281(0x2d3)][_0x19f281(0x377)]({'unitId':_0x47aace,'subUnitId':_0x2f55b9,'pivotTableId':_0x74783f});}[_0x217abe(0x3f3)](){const _0xc98bcc=_0x217abe;super[_0xc98bcc(0x3f3)]();}[_0x217abe(0x420)](_0x2b1d34,_0x2119ae,_0x4e9892){const _0x6b8f64=_0x217abe;var _0x4e5c0c,_0x15351f;const _0x1397fa=(_0x15351f=(_0x4e5c0c=this[_0x6b8f64(0x3fa)][_0x6b8f64(0x191)](_0x2b1d34))==null?void 0x0:_0x4e5c0c[_0x6b8f64(0x191)](_0x2119ae))==null?void 0x0:_0x15351f[_0x6b8f64(0x191)](_0x4e9892);return _0x1397fa||null;}['addDirtyPivotTable'](_0x3b7c28){const _0x4df899=_0x217abe;this[_0x4df899(0x323)](_0x3b7c28);}[_0x217abe(0x323)](_0x34525c){const _0x4ff844=_0x217abe,{token:_0x59c921,unitId:_0x814332,subUnitId:_0x58c66d}=_0x34525c,_0x27a90e=_0x814332+'-'+_0x58c66d+'-'+_0x59c921;this[_0x4ff844(0x2f9)]['get'](_0x27a90e)&&clearTimeout(this[_0x4ff844(0x2f9)][_0x4ff844(0x191)](_0x27a90e));const _0x41cd1e=setTimeout(()=>{const _0x43eddc=_0x4ff844;this[_0x43eddc(0x1ce)](_0x34525c),this[_0x43eddc(0x2f9)][_0x43eddc(0x168)](_0x27a90e);},_0x356658);this[_0x4ff844(0x2f9)][_0x4ff844(0x444)](_0x27a90e,_0x41cd1e);}['queryDirtyPivotTable'](_0x53a6df){const _0x23389e=_0x217abe,{unitId:_0x100687,subUnitId:_0x4e0899,token:_0x473dd0,type:_0x19235e,pivotConfig:_0x3da41e}=_0x53a6df,_0x5d1e87=this[_0x23389e(0x45b)](_0x473dd0),_0x33ac30=_0x5d1e87==null?void 0x0:_0x5d1e87[_0x23389e(0x33a)](),_0x3d3c1c=_0x3da41e!=null?_0x3da41e:this[_0x23389e(0x19a)](_0x100687,_0x4e0899,_0x473dd0);_0x3d3c1c&&(_0x3d3c1c['isEmpty']=!!(_0x5d1e87!=null&&_0x5d1e87[_0x23389e(0x447)]())),(_0x33ac30||_0x19235e===_0x5da69e[_0x23389e(0x284)])&&this[_0x23389e(0x2b6)](_0x100687,_0x4e0899,_0x19235e,_0x473dd0,_0x33ac30,_0x3d3c1c,this[_0x23389e(0x33e)](_0x100687)[_0x23389e(0x327)]());}['toJSON'](_0x5c4a88){const _0x551c7b=_0x217abe,_0x67db30={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x551c7b(0x33e)](_0x5c4a88)&&(_0x67db30['dataFieldManagerConfig'][_0x5c4a88]=this[_0x551c7b(0x33e)](_0x5c4a88)[_0x551c7b(0x327)]()),this['_model'][_0x551c7b(0x191)](_0x5c4a88)){_0x67db30['pivotTableConfigs'][_0x5c4a88]={};const _0x305149=this[_0x551c7b(0x22b)][_0x551c7b(0x191)](_0x5c4a88);_0x305149!=null&&_0x305149['size']&&[..._0x305149['keys']()][_0x551c7b(0x22c)](_0xa562b1=>{const _0x561ec9=_0x551c7b,_0xf5a94f=_0x305149[_0x561ec9(0x191)](_0xa562b1);_0xf5a94f!=null&&_0xf5a94f[_0x561ec9(0x1da)]&&(_0x67db30[_0x561ec9(0x33d)][_0x5c4a88][_0xa562b1]={},[..._0xf5a94f['keys']()][_0x561ec9(0x22c)](_0x539d40=>{const _0x4af83c=_0x561ec9,_0x5edce3=_0xf5a94f[_0x4af83c(0x191)](_0x539d40);_0x5edce3&&(_0x67db30[_0x4af83c(0x33d)][_0x5c4a88][_0xa562b1][_0x539d40]=_0x5edce3);}));});}return _0x67db30;}[_0x217abe(0x163)](_0x380f67){const _0x2a7ede=_0x217abe;var _0x5e7f9f;const {dataFieldManagerConfig:_0x3b7dfc,pivotTableConfigs:_0x54e633}=_0x380f67;_0x3b7dfc&&Object[_0x2a7ede(0x16c)](_0x3b7dfc)[_0x2a7ede(0x22c)](_0x527b02=>{const _0x4345f7=_0x2a7ede;this[_0x4345f7(0x33e)](_0x527b02)[_0x4345f7(0x163)](_0x3b7dfc[_0x527b02]);});const _0x23deb5=[];if(_0x54e633){const _0xe8a6cf=(_0x5e7f9f=this[_0x2a7ede(0x43c)][_0x2a7ede(0x191)](_0x5cf8ff[_0x2a7ede(0x1b0)])['getConfig'](_0x556295['LS_CONFIG_KEY']))!=null?_0x5e7f9f:{},{ls:_0x249153,pbk:_0x5d9602}=_0xe8a6cf,_0x600269=_0x1d765d(_0x45e71b,_0x249153,_0x5d9602)['count'];Object[_0x2a7ede(0x16c)](_0x54e633)['forEach'](_0x53ffab=>{const _0x4c7019=_0x2a7ede;let _0x2bb731=0x0;const _0x34564d=_0x54e633[_0x53ffab];Object['keys'](_0x34564d)[_0x4c7019(0x22c)](_0x291a90=>{const _0x32ca2d=_0x4c7019,_0x1e1433=_0x34564d[_0x291a90];Object[_0x32ca2d(0x16c)](_0x1e1433)[_0x32ca2d(0x22c)](_0x3b5afc=>{const _0xd1313d=_0x32ca2d,_0x38e3bd=_0x1e1433[_0x3b5afc];if(_0x38e3bd){if(_0x2bb731>=_0x600269)return;_0x2bb731++;const _0x132990=this[_0xd1313d(0x33e)](_0x53ffab),_0x364ddc=_0x132990[_0xd1313d(0x2bb)][_0x3b5afc],_0x310340=_0x364ddc['getFieldIds']();let _0x4ea7aa=0x0;const _0x2432ad=[];for(const _0x51559f of _0x310340){const _0x297f96=_0x364ddc['getFieldById'](_0x51559f);if(_0x2444f4['isBaseGroupField'](_0x297f96)){const _0x3c3e5e=_0x297f96[_0xd1313d(0x441)](),_0x1ded78=_0x364ddc[_0xd1313d(0x426)](_0x3c3e5e);_0x1ded78&&_0x2432ad['push']([_0x297f96,_0x1ded78]);continue;}_0x132990['refreshDataField'](_0x51559f,_0x38e3bd[_0xd1313d(0x434)],_0x4ea7aa),_0x4ea7aa++;}_0x2432ad[_0xd1313d(0x22c)](([_0x571569,_0x5e1b30])=>{const _0x46f1d7=_0xd1313d;_0x571569[_0x46f1d7(0x472)](_0x5e1b30);});const _0x7c1dcf=new _0x2444f4[(_0xd1313d(0x2cc))](_0x364ddc);_0x7c1dcf['fromJSON'](_0x38e3bd[_0xd1313d(0x24f)]),this[_0xd1313d(0x348)](_0x53ffab,_0x291a90,_0x3b5afc,_0x7c1dcf,_0x38e3bd);const _0x30c45d=_0x7c1dcf[_0xd1313d(0x33a)]();_0x23deb5[_0xd1313d(0x3d3)]({'unitId':_0x53ffab,'subUnitId':_0x291a90,'pivotTableId':_0x3b5afc,'view':_0x30c45d[_0xd1313d(0x327)](),'pivotConfig':_0x38e3bd,'type':_0x5da69e[_0xd1313d(0x3e3)]});const _0x4c0b6b=!!_0x7c1dcf['isEmpty'](),_0x17857f={'view':_0x30c45d,'pivotTableId':_0x3b5afc,'textInfo':this[_0xd1313d(0x41a)](),'isEmpty':_0x4c0b6b,'targetCellInfo':_0x38e3bd[_0xd1313d(0x25b)]};this[_0xd1313d(0x314)](_0x17857f,!0x1);}});});});}_0x3b7dfc&&Object[_0x2a7ede(0x16c)](_0x3b7dfc)[_0x2a7ede(0x22c)](_0x5b01ac=>{const _0x1ebeca=_0x2a7ede,_0x17da7c=this['getDataFieldManager'](_0x5b01ac);this[_0x1ebeca(0x362)][_0x1ebeca(0x377)](_0x17da7c['collections']);}),this['_commandService'][_0x2a7ede(0x355)](_0x572c85['id'],{'batch':_0x23deb5,'collectionConfig':_0x3b7dfc},{'onlyLocal':!0x0});}[_0x217abe(0x40a)](){const _0xd2de83=_0x217abe;this['disposeWithMe'](this['_resourceManagerService'][_0xd2de83(0x1fc)]({'toJson':_0x6730ea=>JSON[_0xd2de83(0x210)](this[_0xd2de83(0x327)](_0x6730ea)),'parseJson':_0x1c8683=>{const _0x4b2f65=_0xd2de83;if(!_0x1c8683)return{};try{return JSON[_0x4b2f65(0x1a9)](_0x1c8683);}catch{return{};}},'businesses':[_0x5cf8ff[_0xd2de83(0x32d)]['UNIVER_SHEET']],'pluginName':_0x5690d9,'onLoad':(_0x3e0fbe,_0x2f6b9a)=>{this['fromJSON'](_0x2f6b9a);},'onUnLoad':_0x1c0c3d=>{this['deleteUnitId'](_0x1c0c3d);}}));}},_0x28dbf0[_0x217abe(0x3f2)]=_0xee9e41([_0x12ccff(0x0,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x3e6)])),_0x12ccff(0x1,_0x5cf8ff[_0x217abe(0x198)]),_0x12ccff(0x2,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x32c)])),_0x12ccff(0x3,_0x5cf8ff['ICommandService']),_0x12ccff(0x4,_0x5cf8ff['Inject'](_0x5cf8ff['IResourceManagerService']))],_0x28dbf0[_0x217abe(0x3f2)]);const _0x5d984c={0x0:{0x0:{'v':'filter','s':_0x1d17ab}},0x2:{0x1:{'v':'','s':_0x1d17ab},0x2:{'v':'','s':_0x1d17ab},0x3:{'v':_0x217abe(0x260),'s':_0x1d17ab},0x4:{'v':'','s':_0x1d17ab},0x5:{'v':'','s':_0x1d17ab}},0x3:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0x4:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0x5:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0x6:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0x7:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0x8:{0x0:{'v':_0x217abe(0x2aa),'s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':_0x217abe(0x258),'s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0x9:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0xa:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0xb:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0xc:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}},0xd:{0x0:{'v':'','s':_0x1d17ab},0x1:{'v':'','s':_0x1f5220},0x2:{'v':'','s':_0x1f5220},0x3:{'v':'','s':_0x1f5220},0x4:{'v':'','s':_0x1f5220},0x5:{'v':'','s':_0x1f5220}}},_0x19e5c9={'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':[]},_0x399209=(_0x3d5415,_0x2d5c8e)=>{const _0x182c3a=_0x217abe,_0x3c09fa=new _0x5cf8ff[(_0x182c3a(0x27d))](),_0x3aab82=new _0x5cf8ff[(_0x182c3a(0x27d))](_0x5d984c),{row:_0x2a58be,col:_0x114def}=_0x2d5c8e;_0x3aab82[_0x182c3a(0x470)]((_0x4e512e,_0x2e5b11,_0x2a04a5)=>{const _0x3b9e51=_0x182c3a;let _0x25e0f5='';_0x2a04a5['v']==='filter'?_0x25e0f5=_0x3d5415[_0x3b9e51(0x372)]:_0x2a04a5['v']===_0x3b9e51(0x2aa)?_0x25e0f5=_0x3d5415[_0x3b9e51(0x2aa)]:_0x2a04a5['v']===_0x3b9e51(0x260)?_0x25e0f5=_0x3d5415[_0x3b9e51(0x260)]:_0x2a04a5['v']===_0x3b9e51(0x258)&&(_0x25e0f5=_0x3d5415['values']),_0x3c09fa[_0x3b9e51(0x364)](_0x4e512e+_0x2a58be,_0x2e5b11+_0x114def,{..._0x2a04a5,'v':_0x25e0f5});});const _0x8a19d2=_0x5cf8ff['Tools'][_0x182c3a(0x1dc)](_0x19e5c9);return Object['keys'](_0x19e5c9)[_0x182c3a(0x22c)](_0x5de9c7=>{const _0x5005c7=_0x182c3a;_0x8a19d2[_0x5de9c7]=_0x19e5c9[_0x5de9c7][_0x5005c7(0x44b)](_0x4e47fc=>({..._0x4e47fc,'startRow':_0x4e47fc[_0x5005c7(0x1f3)]+_0x2a58be,'endRow':_0x4e47fc[_0x5005c7(0x46c)]+_0x2a58be,'startColumn':_0x4e47fc['startColumn']+_0x114def,'endColumn':_0x4e47fc['endColumn']+_0x114def}));}),{'matrixCache':_0x3c09fa,'rangesCache':_0x8a19d2};};function _0x320f90(_0x41bdf7,_0x6c5b1d){const _0x3be116=_0x217abe;let _0x41818c='';const _0x3c36db=this[_0x3be116(0x41a)]();switch(_0x6c5b1d){case _0x2444f4['PivotSubtotalTypeEnum'][_0x3be116(0x166)]:_0x41818c=_0x3c36db['sheets-pivot.averageName']+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)][_0x3be116(0x200)]:_0x41818c=_0x3c36db[_0x3be116(0x1bf)]+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)]['countNums']:_0x41818c=_0x3c36db[_0x3be116(0x36b)]+_0x41bdf7;break;case _0x2444f4['PivotSubtotalTypeEnum']['max']:_0x41818c=_0x3c36db[_0x3be116(0x388)]+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)]['min']:_0x41818c=_0x3c36db[_0x3be116(0x43b)]+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)][_0x3be116(0x321)]:_0x41818c=_0x3c36db['sheets-pivot.productName']+_0x41bdf7;break;case _0x2444f4['PivotSubtotalTypeEnum'][_0x3be116(0x173)]:_0x41818c=_0x3c36db[_0x3be116(0x2da)]+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)][_0x3be116(0x274)]:_0x41818c=_0x3c36db[_0x3be116(0x35d)]+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)][_0x3be116(0x3aa)]:_0x41818c=_0x3c36db[_0x3be116(0x25e)]+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)][_0x3be116(0x30f)]:_0x41818c=_0x3c36db[_0x3be116(0x32f)]+_0x41bdf7;break;case _0x2444f4[_0x3be116(0x34b)][_0x3be116(0x305)]:_0x41818c=_0x3c36db['sheets-pivot.varpName']+_0x41bdf7;break;default:_0x41818c=_0x41bdf7;break;}return _0x41818c;}function _0x42016b(_0x3e6c79,_0x48d23f,_0xca58e4,_0x42c8eb,_0x379f4a){const _0x6ee194=_0x217abe;var _0x4df6f6,_0x584e9c,_0x36a24b,_0x25f533,_0x11852a;const _0x4fcdc3=_0x5cf8ff[_0x6ee194(0x396)](_0x3e6c79,_0x48d23f),{rangesInfo:_0xcd8bda,areaInfo:_0x15ca65,headerMap:_0x275693}=_0x379f4a;if(!_0xcd8bda||!_0x15ca65||!_0x275693)return;const _0x531421=Object['keys'](_0xcd8bda)[_0x6ee194(0x3a6)](_0x40d2af=>_0xcd8bda[_0x40d2af]['some'](_0x403cab=>_0x5cf8ff[_0x6ee194(0x1d8)][_0x6ee194(0x381)](_0x403cab,_0x4fcdc3))),_0x1dc532=_0x15ca65;let _0x1f94f4,_0x3e8a85,_0x48bfe8;if(_0x531421===_0x6ee194(0x2b0))_0x1f94f4=(_0x4df6f6=_0x1dc532==null?void 0x0:_0x1dc532[_0x6ee194(0x361)])==null?void 0x0:_0x4df6f6[_0x3e6c79],_0x3e8a85=(_0x584e9c=_0x275693==null?void 0x0:_0x275693[_0x6ee194(0x34f)])==null?void 0x0:_0x584e9c[_0x48d23f],_0x48bfe8=_0x3e8a85==null?void 0x0:_0x3e8a85[_0x6ee194(0x18c)];else{if(_0x531421==='colRanges')_0x1f94f4=(_0x36a24b=_0x1dc532==null?void 0x0:_0x1dc532[_0x6ee194(0x205)])==null?void 0x0:_0x36a24b[_0x48d23f],_0x3e8a85=(_0x25f533=_0x275693[_0x6ee194(0x262)])==null?void 0x0:_0x25f533[_0x3e6c79+0x1+_0x48d23f-_0xcd8bda[_0x6ee194(0x253)][0x0][_0x6ee194(0x38b)]],_0x48bfe8=_0x3e8a85==null?void 0x0:_0x3e8a85[_0x6ee194(0x18c)];else{if(_0x531421==='cornerRanges')_0x1f94f4=(_0x11852a=_0x1dc532==null?void 0x0:_0x1dc532[_0x6ee194(0x433)])==null?void 0x0:_0x11852a[_0x48d23f],_0x48bfe8=_0x1f94f4==null?void 0x0:_0x1f94f4[_0x6ee194(0x18c)];else{if(_0x531421===_0x6ee194(0x414)){const _0xc96a55=_0xca58e4==null?void 0x0:_0xca58e4['fi'];_0xc96a55!==void 0x0&&(_0x48bfe8=_0x42c8eb[_0x6ee194(0x25c)](_0xc96a55));}}}}return{'filterId':_0x48bfe8,'info':_0x1f94f4,'data':_0xca58e4,'headerInfo':_0x3e8a85};}function _0xa37ac2(_0x62943f,_0x2b50c7,_0x1ac46f){const _0x5ea371=_0x217abe,_0x1abc52=_0x62943f[_0x5ea371(0x41d)],_0xc40d47=_0x1abc52[_0x5ea371(0x3af)](),_0x304d4d=new Set();_0x62943f[_0x5ea371(0x421)](_0xdd07a6=>{const _0x2095ed=_0x5ea371;_0x304d4d[_0x2095ed(0x219)](_0xdd07a6[_0x2095ed(0x312)]);});const _0x54e813=_0xc40d47['map'](_0xed5529=>{const _0xaa3d33=_0x5ea371,_0x34e560=_0x1abc52[_0xaa3d33(0x426)](_0xed5529);return{'checked':_0x304d4d[_0xaa3d33(0x2fb)](_0xed5529),'dataFieldId':_0x34e560['id'],'id':_0x34e560['id'],'name':_0x1abc52['getDisplayName'](_0x34e560['id']),'type':_0x34e560[_0xaa3d33(0x3b7)](),'pivotTableId':_0x2b50c7};}),_0x211f82=[];_0x62943f[_0x5ea371(0x25f)](_0x2444f4['PivotTableFiledAreaEnum']['Row'],_0x209d82=>{const _0x3692e5=_0x5ea371;_0x211f82[_0x3692e5(0x3d3)]({'dataFieldId':_0x209d82['dataFieldId'],'tableFieldId':_0x209d82[_0x3692e5(0x30c)](),'displayName':_0x209d82[_0x3692e5(0x405)]()});});const _0x492d92=[];_0x62943f[_0x5ea371(0x25f)](_0x2444f4['PivotTableFiledAreaEnum'][_0x5ea371(0x2e2)],_0x4e5e8b=>{const _0x23acd0=_0x5ea371;_0x492d92['push']({'dataFieldId':_0x4e5e8b['dataFieldId'],'tableFieldId':_0x4e5e8b[_0x23acd0(0x30c)](),'displayName':_0x4e5e8b[_0x23acd0(0x405)]()});});const _0x1a5d09=[];if(_0x62943f['iterateFieldByArea'](_0x2444f4[_0x5ea371(0x270)][_0x5ea371(0x1e4)],_0x5b1f10=>{const _0x1e66df=_0x5ea371;_0x1a5d09[_0x1e66df(0x3d3)]({'dataFieldId':_0x5b1f10[_0x1e66df(0x312)],'tableFieldId':_0x5b1f10[_0x1e66df(0x30c)](),'displayName':_0x5b1f10[_0x1e66df(0x405)](),'format':_0x5b1f10[_0x1e66df(0x216)](),'subTotalType':_0x5b1f10[_0x1e66df(0x43e)]()});}),_0x1a5d09['length']>0x1){const _0x1a446c=_0x62943f[_0x5ea371(0x40f)]();(_0x62943f['isColMultiMeasure']()?_0x492d92:_0x211f82)[_0x5ea371(0x3c8)](_0x1a446c,0x0,{'dataFieldId':'','tableFieldId':_0x5ea371(0x423),'displayName':'ΣValue'});}const _0x441572=[];_0x62943f[_0x5ea371(0x25f)](_0x2444f4[_0x5ea371(0x270)][_0x5ea371(0x419)],_0x2e2c64=>{const _0x5631e1=_0x5ea371;_0x441572[_0x5631e1(0x3d3)]({'dataFieldId':_0x2e2c64[_0x5631e1(0x312)],'tableFieldId':_0x2e2c64['getId'](),'displayName':_0x2e2c64[_0x5631e1(0x405)]()});});const _0x4aa62c=_0x1ac46f[_0x5ea371(0x434)];return{'sourceList':_0x54e813,'sourceRange':_0x4aa62c,'rowFields':_0x211f82,'columnFields':_0x492d92,'valueFields':_0x1a5d09,'filterFields':_0x441572,'positionInfo':_0x1ac46f[_0x5ea371(0x25b)]};}function _0x3b5642(_0x56f914,_0x41575e,_0x5d06a2='',_0x31cb30={}){const _0x5d2028=_0x217abe,_0x19f9a1=_0x56f914[_0x5d2028(0x191)](_0x5cf8ff[_0x5d2028(0x28e)]);for(const _0x430f19 in _0x41575e)if(Object['prototype'][_0x5d2028(0x2d0)][_0x5d2028(0x297)](_0x41575e,_0x430f19)){const _0x331dc6=_0x5d06a2?_0x5d06a2+'.'+_0x430f19:_0x430f19;typeof _0x41575e[_0x430f19]==_0x5d2028(0x3b3)&&_0x41575e[_0x430f19]!==null&&!Array[_0x5d2028(0x15d)](_0x41575e[_0x430f19])?_0x3b5642(_0x56f914,_0x41575e[_0x430f19],_0x331dc6,_0x31cb30):_0x31cb30[_0x331dc6]=_0x19f9a1['t'](_0x331dc6);}return _0x31cb30;}const _0x54f967=_0x87405f=>{const _0x552a2b=_0x217abe;if(!_0x87405f)return[];const {rowRanges:_0x4ec441,colRanges:_0x8d9d4b,cornerRanges:_0x42d5a6,dataRanges:_0xbbaaa4,pageRanges:_0x776915}=_0x87405f,_0xff3123=[..._0x8d9d4b,..._0x4ec441,..._0xbbaaa4,..._0x42d5a6][_0x552a2b(0x372)](_0xca1a81=>_0xca1a81[_0x552a2b(0x1f3)]>=0x0&&_0xca1a81[_0x552a2b(0x38b)]>=0x0&&_0xca1a81['endRow']>=0x0&&_0xca1a81[_0x552a2b(0x3ab)]>=0x0);let _0x1a98bf=Number[_0x552a2b(0x468)],_0x40ad29=Number[_0x552a2b(0x473)],_0x2b88f9=Number['MAX_SAFE_INTEGER'],_0x5732d6=Number[_0x552a2b(0x473)];for(let _0x358ff8=0x0;_0x358ff8<_0xff3123[_0x552a2b(0x31a)];_0x358ff8++)_0x1a98bf=Math[_0x552a2b(0x3c9)](_0x1a98bf,_0xff3123[_0x358ff8][_0x552a2b(0x1f3)]),_0x40ad29=Math[_0x552a2b(0x3bc)](_0x40ad29,_0xff3123[_0x358ff8]['endRow']),_0x2b88f9=Math[_0x552a2b(0x3c9)](_0x2b88f9,_0xff3123[_0x358ff8][_0x552a2b(0x38b)]),_0x5732d6=Math[_0x552a2b(0x3bc)](_0x5732d6,_0xff3123[_0x358ff8]['endColumn']);return[..._0x776915,{'startRow':_0x1a98bf,'endRow':_0x40ad29,'startColumn':_0x2b88f9,'endColumn':_0x5732d6}];};function _0x3a5a93(_0x274a6c,_0x4d02c5){const _0x12537a=_0x217abe,_0xd787ff=_0x4d02c5[_0x12537a(0x1b8)][_0x12537a(0x1ef)],{pivotTableId:_0x3bf4ce,unitId:_0x31a800,subUnitId:_0x3651b9}=_0x4d02c5;if(!_0xd787ff)return;const _0xe7d8e1=_0x274a6c[_0x12537a(0x191)](_0x28dbf0['SheetsPivotDataSourceModel']),_0x362f46=_0xe7d8e1['getPivotTableInstance'](_0x3bf4ce),_0x16b990=_0xe7d8e1['getPivotTableConfig'](_0x31a800,_0x3651b9,_0x3bf4ce);if(!_0x362f46||!_0x16b990)return;const _0x4eb02a=_0x362f46[_0x12537a(0x20f)](_0xd787ff[_0x12537a(0x439)]);if(!(_0x4eb02a!=null&&_0x4eb02a[_0x12537a(0x31a)]))return;const _0x523867=_0x16b990['sourceRangeInfo'],{unitId:_0x8c7ef4,subUnitId:_0x54acba,range:_0x18d72e}=_0x523867;let _0x2e1ce2=0x0;const _0x1f5858=_0x362f46[_0x12537a(0x41d)]['getFieldIds']()[_0x12537a(0x196)]((_0x57022a,_0x45ee2f)=>{const _0x3687c4=_0x12537a;var _0x1ac423;const _0x43d5de=(_0x1ac423=_0x362f46[_0x3687c4(0x27e)](_0x45ee2f))==null?void 0x0:_0x1ac423[_0x3687c4(0x3c2)]();return _0x43d5de&&(_0x57022a[String(_0x2e1ce2)]=_0x43d5de),_0x2e1ce2++,_0x57022a;},{});return{'indexes':_0x4eb02a,'range':_0x18d72e,'sourceUnitId':_0x8c7ef4,'sourceSubUnitId':_0x54acba,'formatMap':_0x1f5858};}function _0x4842f8(_0x4d247a,_0x5d252b){const _0x128de3=_0x217abe;if(!_0x4d247a||!_0x5d252b)return!0x0;const _0x20c1ef=_0x556295[_0x128de3(0x223)](_0x37a490,_0x34e601),_0x5234b8=new Function(_0x128de3(0x237)+_0x20c1ef)()(_0x4d247a,_0x5d252b)['message'],_0x25cdb7=_0x556295[_0x128de3(0x29f)](_0x5234b8,'sf',_0x28d6a7);return!((_0x5234b8==null?void 0x0:_0x5234b8['rt'])===_0x556295[_0x128de3(0x249)][_0x128de3(0x40c)]&&!_0x25cdb7);}function _0x1d765d(_0x46b690,_0x2892bc,_0xce09ed){const _0x5c6072=_0x217abe,_0x50bc2c={'count':_0x46b690,'timeValid':!0x1};if(!_0x2892bc||!_0xce09ed)return _0x50bc2c;const _0x2f9aeb=_0x556295[_0x5c6072(0x223)](_0x37a490,_0x34e601),_0x2481e3=new Function(_0x5c6072(0x237)+_0x2f9aeb)()(_0x2892bc,_0xce09ed);if(_0x2481e3!=null&&_0x2481e3['valid']){const _0xfe4386=_0x2481e3[_0x5c6072(0x19e)],_0x455ad8=_0x556295[_0x5c6072(0x29f)](_0xfe4386,'sf',_0x28d6a7);return{'count':_0x556295[_0x5c6072(0x2d9)](_0xfe4386,_0x455ad8,'ptn',_0x46b690,_0x46b690,0x0),'timeValid':_0x455ad8};}return _0x50bc2c;}function _0x5450c0(_0x44146b,_0x37ee81,_0x32d085,_0x19616c){const _0x5c3793=_0x217abe,_0x111959={'subUnitId':_0x32d085,'unitId':_0x37ee81,'cellValue':_0x3d008a[_0x5c3793(0x2bc)](_0x19616c)},_0x3d7a5a=_0x3d008a[_0x5c3793(0x2f4)](_0x44146b,_0x111959);let _0x46f8be=!0x1;return new _0x5cf8ff['ObjectMatrix'](_0x3d7a5a['cellValue'])[_0x5c3793(0x470)]((_0x3d6ea9,_0xfef9b1,_0x203b91)=>{const _0x5a4faf=_0x5c3793;if(!_0x46f8be&&_0x203b91&&(_0x203b91[_0x5a4faf(0x417)]||_0x203b91['f']||_0x203b91['p']||_0x203b91['s']||_0x203b91['si']||_0x203b91['t']||_0x203b91['v']))return _0x46f8be=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3d008a[_0x5c3793(0x2ea)]['id'],'params':_0x3d7a5a},'setRangeValueRedoMutation':{'id':_0x3d008a['SetRangeValuesMutation']['id'],'params':_0x111959},'shouldClear':_0x46f8be};}function _0x1d91b2(_0x3aa7c3){const {row:_0x536431,col:_0x565e52}=_0x3aa7c3,_0x53c212={'startRow':_0x536431,'endRow':_0x536431,'startColumn':_0x565e52,'endColumn':_0x565e52},_0x373a18={'startRow':_0x536431+0x2,'endRow':_0x536431+0xe,'startColumn':_0x565e52,'endColumn':_0x565e52+0x6};return[_0x53c212,_0x373a18];}function _0x49031a(_0xb3c748,_0x425a8e,_0x509179){const _0x2b0c4f=_0x217abe,{cornerView:_0x5d8a53,rowView:_0x973c29,colView:_0x434480,pageView:_0x2d1817}=_0xb3c748,{row:_0x2cf6dc,col:_0x1959fd}=_0x425a8e;if(_0x509179)return{'rowCount':_0x3a4d69+_0x2cf6dc,'colCount':_0x19b256+_0x1959fd};const _0x2ff216=_0x2d1817['lastRow']>-0x1?_0x2d1817[_0x2b0c4f(0x178)]+0x1:0x0,_0x18903e=_0x2d1817[_0x2b0c4f(0x3a8)]>-0x1?_0x2d1817[_0x2b0c4f(0x3a8)]:0x0,_0x25e253=_0x2cf6dc+_0x2ff216+(_0x2ff216?0x1:0x0)+_0x5d8a53[_0x2b0c4f(0x2eb)]+_0x973c29[_0x2b0c4f(0x2eb)],_0x1209d1=_0x1959fd+_0x18903e,_0x2d287f=_0x1959fd+_0x5d8a53[_0x2b0c4f(0x3d2)]+_0x434480[_0x2b0c4f(0x3d2)],_0x4d4802=Math[_0x2b0c4f(0x3bc)](_0x1209d1,_0x2d287f);return{'rowCount':_0x25e253,'colCount':_0x4d4802};}function _0x39b7a0(_0x15ac2d,_0x2fdfc0,_0x58172f,_0x9234cf){const _0x266e3a=_0x217abe,{row:_0x2a35b7,col:_0x47bd4f,unitId:_0x3c5e65,subUnitId:_0x1e450f}=_0x58172f,_0x740ae8=_0x49031a(_0x2fdfc0,{'row':_0x2a35b7,'col':_0x47bd4f},_0x9234cf),_0x556cd1=_0x15ac2d[_0x266e3a(0x191)](_0x5cf8ff['IUniverInstanceService']),_0x65863e=_0x3d008a['getSheetCommandTarget'](_0x556cd1,{'unitId':_0x3c5e65,'subUnitId':_0x1e450f}),_0x46286a=[],_0x24bd34=[];if(!_0x65863e)return{'undos':_0x24bd34,'redos':_0x46286a};const {worksheet:_0x111b62}=_0x65863e,_0x2e93a0=_0x111b62[_0x266e3a(0x1a4)](),_0x2754c7=_0x111b62['getColumnCount']();return _0x2e93a0<_0x740ae8[_0x266e3a(0x2eb)]&&(_0x46286a['push']({'id':_0x3d008a[_0x266e3a(0x2b2)]['id'],'params':{'unitId':_0x3c5e65,'subUnitId':_0x1e450f,'range':{'startRow':_0x2e93a0,'endRow':_0x740ae8[_0x266e3a(0x2eb)]-0x1,'startColumn':0x0,'endColumn':_0x2754c7-0x1}}}),_0x24bd34[_0x266e3a(0x3d3)]({'id':_0x3d008a[_0x266e3a(0x3fd)]['id'],'params':{'unitId':_0x3c5e65,'subUnitId':_0x1e450f,'range':{'startRow':_0x2e93a0,'endRow':_0x740ae8[_0x266e3a(0x2eb)]-0x1,'startColumn':0x0,'endColumn':_0x2754c7-0x1}}})),_0x2754c7<_0x740ae8[_0x266e3a(0x3d2)]&&(_0x46286a[_0x266e3a(0x3d3)]({'id':_0x3d008a[_0x266e3a(0x3a3)]['id'],'params':{'unitId':_0x3c5e65,'subUnitId':_0x1e450f,'range':{'startRow':0x0,'endRow':_0x2e93a0-0x1,'startColumn':_0x2754c7,'endColumn':_0x740ae8[_0x266e3a(0x3d2)]-0x1}}}),_0x24bd34[_0x266e3a(0x3d3)]({'id':_0x3d008a[_0x266e3a(0x3b5)]['id'],'params':{'unitId':_0x3c5e65,'subUnitId':_0x1e450f,'range':{'startRow':0x0,'endRow':_0x2e93a0-0x1,'startColumn':_0x2754c7,'endColumn':_0x740ae8[_0x266e3a(0x3d2)]-0x1}}})),{'undos':_0x24bd34,'redos':_0x46286a};}function _0x236cc8(_0x10d6d6){const _0x1f6b4e=_0x217abe;let _0x6ad025=0x0;for(let _0xedd5df=0x0;_0xedd5df<_0x10d6d6['length'];_0xedd5df++){const _0x316995=_0x10d6d6[_0x1f6b4e(0x186)](_0xedd5df);_0x316995>=0x4e00&&_0x316995<=0x9fff||_0x316995>=0x3000&&_0x316995<=0x303f||_0x316995>=0xff00&&_0x316995<=0xffef?_0x6ad025+=0x2:_0x6ad025+=0x1;}return _0x6ad025;}function _0xb3be21(_0x47c017,_0x4bacfb,_0x5b5f58,_0x512d04){const _0x345efc=_0x217abe;var _0x4f4733,_0x46ea70,_0x1b9e89,_0x1b7ba7;const {rowCount:_0x2e2757,colCount:_0x3adadd,headerMap:_0x322b1c}=_0x47c017,_0x5cacc2=0x64,_0x226037=Math[_0x345efc(0x3c9)](_0x2e2757,_0x5cacc2),_0x7adbf8=Math['min'](_0x3adadd,_0x5cacc2);let _0x32a31c='',_0x2c5962=0x0;for(let _0xb063ec=0x0;_0xb063ec<_0x226037;_0xb063ec++)for(let _0x41acec=0x0;_0x41acec<_0x7adbf8;_0x41acec++){const _0x3599b9={...(_0x46ea70=(_0x4f4733=_0x47c017[_0x345efc(0x179)])==null?void 0x0:_0x4f4733[_0xb063ec])==null?void 0x0:_0x46ea70[_0x41acec]},_0x71c0d1=(_0x1b9e89=_0x322b1c[_0xb063ec])==null?void 0x0:_0x1b9e89[_0x345efc(0x18c)],_0x59b546=_0x512d04[_0x71c0d1];let _0x2cbb5e=_0x47c017[_0x345efc(0x2bd)](_0xb063ec,_0x41acec);if(_0x3599b9){const _0x4afd14=_0x5b5f58?_0x41acec===0x0&&((_0x1b7ba7=_0x47c017[_0x345efc(0x1c8)](_0x41acec+0x1))==null?void 0x0:_0x1b7ba7[_0x345efc(0x2ad)]):!0x1;_0x2cbb5e=_0x462fdf(_0x3599b9,_0x4afd14,_0x59b546,_0x4bacfb);}if(_0x2cbb5e!==void 0x0){const _0x534736=_0x236cc8(String(_0x2cbb5e));_0x2c5962<_0x534736&&(_0x32a31c=String(_0x2cbb5e),_0x2c5962=_0x534736);}}return _0x32a31c;}function _0x53688f(_0xcc0ea5){const _0x28dfe3=_0x217abe,{rowCount:_0x48ccf9,colCount:_0x578032}=_0xcc0ea5;let _0x201b0a='',_0x1d2da7=0x0;for(let _0x4ab32a=_0x48ccf9-0x1;_0x4ab32a>0x0&&_0x4ab32a>_0x48ccf9-0x3;_0x4ab32a--)for(let _0xed776=0x0;_0xed776<_0x578032;_0xed776++){const _0x29fb60=_0xcc0ea5[_0x28dfe3(0x2bd)](_0x4ab32a,_0xed776);if(_0x29fb60!==void 0x0){const _0xd5565a=String(_0x29fb60)[_0x28dfe3(0x31a)];_0x1d2da7<_0xd5565a&&(_0x201b0a=String(_0x29fb60),_0x1d2da7=_0xd5565a);}}return _0x201b0a;}function _0x42755e(_0x383690){const _0x4b409a=_0x217abe,{rowCount:_0x1f82b9,colCount:_0x5df665}=_0x383690;let _0x18d819='',_0x5137f6=0x0;for(let _0x2860f3=0x0;_0x2860f3<_0x1f82b9;_0x2860f3++)for(let _0x130c2e=0x0;_0x130c2e<_0x5df665;_0x130c2e++){const _0x11a1cf=_0x383690[_0x4b409a(0x2bd)](_0x2860f3,_0x130c2e);if(_0x11a1cf!==void 0x0){const _0x8e57b6=String(_0x11a1cf)[_0x4b409a(0x31a)];_0x5137f6<_0x8e57b6&&(_0x18d819=String(_0x11a1cf),_0x5137f6=_0x8e57b6);}}return _0x18d819;}function _0x43799f(_0x212a96,_0x4597d7){const _0x2bf2bc=_0x217abe,{rowFields:_0x2bf323,columnFields:_0x28ed75,valueFields:_0x3feac4,filterFields:_0x2a4ab7,dimension:_0x46ecf4,measure:_0x5368e2}=_0x4597d7;for(const _0x5e679c of _0x2bf323){const _0x3fe073=_0x46ecf4[_0x5e679c];_0x3fe073&&_0x212a96[_0x2bf2bc(0x27e)](_0x3fe073[_0x2bf2bc(0x312)])&&(_0x212a96[_0x2bf2bc(0x2a6)](_0x3fe073[_0x2bf2bc(0x312)],_0x2444f4[_0x2bf2bc(0x270)][_0x2bf2bc(0x413)],void 0x0,_0x5e679c),_0x3fe073[_0x2bf2bc(0x3bf)]&&_0x212a96['renameField'](_0x3fe073['id'],_0x3fe073[_0x2bf2bc(0x3bf)]),_0x3fe073[_0x2bf2bc(0x16d)]&&_0x212a96[_0x2bf2bc(0x32e)](_0x3fe073['id'],_0x3fe073['sortInfo']),_0x3fe073[_0x2bf2bc(0x16f)]&&_0x212a96[_0x2bf2bc(0x289)](_0x3fe073['id'],_0x3fe073[_0x2bf2bc(0x16f)]));}for(const _0x6184cc of _0x28ed75){const _0x291544=_0x46ecf4[_0x6184cc];_0x291544&&_0x212a96[_0x2bf2bc(0x27e)](_0x291544[_0x2bf2bc(0x312)])&&(_0x212a96[_0x2bf2bc(0x2a6)](_0x291544[_0x2bf2bc(0x312)],_0x2444f4[_0x2bf2bc(0x270)]['Column'],void 0x0,_0x6184cc),_0x291544[_0x2bf2bc(0x16d)]&&_0x212a96[_0x2bf2bc(0x32e)](_0x291544['id'],_0x291544[_0x2bf2bc(0x16d)]),_0x291544[_0x2bf2bc(0x16f)]&&_0x212a96[_0x2bf2bc(0x289)](_0x291544['id'],_0x291544['filterInfo']),_0x291544['displayName']&&_0x212a96[_0x2bf2bc(0x1db)](_0x291544['id'],_0x291544[_0x2bf2bc(0x3bf)]));}for(const _0x4afcc1 of _0x2a4ab7){const _0x25b926=_0x46ecf4[_0x4afcc1];_0x25b926&&_0x212a96['getDataFieldByDataFieldId'](_0x25b926[_0x2bf2bc(0x312)])&&(_0x212a96[_0x2bf2bc(0x2a6)](_0x25b926[_0x2bf2bc(0x312)],_0x2444f4[_0x2bf2bc(0x270)][_0x2bf2bc(0x419)],void 0x0,_0x4afcc1),_0x25b926[_0x2bf2bc(0x16d)]&&_0x212a96['setSortInfo'](_0x25b926['id'],_0x25b926['sortInfo']),_0x25b926[_0x2bf2bc(0x16f)]&&_0x212a96[_0x2bf2bc(0x289)](_0x25b926['id'],_0x25b926[_0x2bf2bc(0x16f)]),_0x25b926['displayName']&&_0x212a96['renameField'](_0x25b926['id'],_0x25b926['displayName']));}for(const _0x6d04c of _0x3feac4){const _0x2d9cac=_0x5368e2[_0x6d04c];_0x2d9cac&&_0x212a96[_0x2bf2bc(0x27e)](_0x2d9cac[_0x2bf2bc(0x312)])&&(_0x212a96[_0x2bf2bc(0x2a6)](_0x2d9cac[_0x2bf2bc(0x312)],_0x2444f4['PivotTableFiledAreaEnum'][_0x2bf2bc(0x1e4)],void 0x0,_0x6d04c),_0x2d9cac[_0x2bf2bc(0x44d)]!==void 0x0&&_0x212a96['setSubtotalType'](_0x6d04c,_0x2d9cac[_0x2bf2bc(0x44d)]),_0x2d9cac[_0x2bf2bc(0x1e8)]&&_0x212a96[_0x2bf2bc(0x3e8)](_0x6d04c,_0x2d9cac[_0x2bf2bc(0x1e8)]),_0x2d9cac[_0x2bf2bc(0x3bf)]&&_0x212a96[_0x2bf2bc(0x1db)](_0x2d9cac['id'],_0x2d9cac[_0x2bf2bc(0x3bf)]));}const _0x2e069b=_0x4597d7[_0x2bf2bc(0x269)];for(const {fieldId:_0x568ed1,filterInfo:_0x1e08a5}of _0x2e069b)_0x212a96[_0x2bf2bc(0x45a)](_0x568ed1,_0x1e08a5);}function _0x1b5341(_0x4bf2ca,_0xdc664a){const _0x452004=_0x217abe,_0x505540=[];_0xdc664a===_0x2444f4[_0x452004(0x270)]['Row']&&_0x4bf2ca[_0x452004(0x25f)](_0x2444f4[_0x452004(0x270)][_0x452004(0x413)],_0x48c544=>{const _0x11cd3f=_0x452004;_0x505540[_0x11cd3f(0x3d3)](_0x48c544[_0x11cd3f(0x30c)]());}),_0xdc664a===_0x2444f4['PivotTableFiledAreaEnum'][_0x452004(0x2e2)]&&_0x4bf2ca[_0x452004(0x25f)](_0x2444f4[_0x452004(0x270)][_0x452004(0x2e2)],_0x47501d=>{const _0x2f8e53=_0x452004;_0x505540[_0x2f8e53(0x3d3)](_0x47501d[_0x2f8e53(0x30c)]());}),_0xdc664a===_0x2444f4['PivotTableFiledAreaEnum'][_0x452004(0x419)]&&_0x4bf2ca[_0x452004(0x25f)](_0x2444f4[_0x452004(0x270)][_0x452004(0x419)],_0x5610ee=>{const _0x103a4e=_0x452004;_0x505540[_0x103a4e(0x3d3)](_0x5610ee[_0x103a4e(0x30c)]());}),_0xdc664a===_0x2444f4[_0x452004(0x270)]['Value']&&_0x4bf2ca['iterateFieldByArea'](_0x2444f4[_0x452004(0x270)]['Value'],_0x3e6866=>{const _0x440adf=_0x452004;_0x505540[_0x440adf(0x3d3)](_0x3e6866[_0x440adf(0x30c)]());}),_0xdc664a===void 0x0&&_0x4bf2ca[_0x452004(0x421)](_0x32c9a2=>{const _0x2d929b=_0x452004;_0x505540[_0x2d929b(0x3d3)](_0x32c9a2[_0x2d929b(0x30c)]());});const _0x30e9f5=_0x505540[_0x452004(0x31a)];for(let _0x2dddaa=_0x30e9f5-0x1;_0x2dddaa>=0x0;_0x2dddaa--)_0x4bf2ca[_0x452004(0x2db)](_0x505540[_0x2dddaa]);const _0x360dd1=_0x4bf2ca['getValueFilterInfos']();for(const _0x5cb596 in _0x360dd1)_0x4bf2ca[_0x452004(0x206)](_0x5cb596);}function _0x59d383(_0x2ddd1e,_0x530adc){const _0x44a65b=_0x217abe,_0x579179=new Date(_0x2444f4[_0x44a65b(0x24a)](_0x530adc)),_0x525dac=new Date(_0x2444f4[_0x44a65b(0x24a)](_0x2ddd1e)),_0x43b877=_0x579179[_0x44a65b(0x1e3)](),_0x59c25d=_0x525dac[_0x44a65b(0x1e3)](),_0x28a2fe=_0x579179['getMonth'](),_0x49e7f7=_0x525dac[_0x44a65b(0x395)](),_0x163586=_0x579179[_0x44a65b(0x351)](),_0x2f5fbc=_0x525dac[_0x44a65b(0x351)](),_0x3c70f3=_0x43b877===_0x59c25d,_0x3158d9=_0x3c70f3&&_0x28a2fe===_0x49e7f7;return _0x3c70f3&&_0x3158d9&&!(_0x3158d9&&_0x163586===_0x2f5fbc)?_0x2444f4[_0x44a65b(0x261)][_0x44a65b(0x407)]:_0x3c70f3&&!_0x3158d9?_0x2444f4['PivotDateGroupFieldDateTypeEnum'][_0x44a65b(0x1aa)]:_0x2444f4[_0x44a65b(0x261)][_0x44a65b(0x27a)];}function _0xdfdb9a(_0x5a9fc8,_0xb52448){const _0x278edd=_0x217abe,_0x2ec794=_0x5a9fc8[_0x278edd(0x191)](_0x28dbf0[_0x278edd(0x3f2)])[_0x278edd(0x41a)]();let _0x5cdd5b='';switch(_0xb52448){case _0x2444f4[_0x278edd(0x261)][_0x278edd(0x407)]:_0x5cdd5b=_0x2ec794[_0x278edd(0x20a)];break;case _0x2444f4['PivotDateGroupFieldDateTypeEnum'][_0x278edd(0x1aa)]:_0x5cdd5b=_0x2ec794[_0x278edd(0x250)];break;case _0x2444f4[_0x278edd(0x261)][_0x278edd(0x27a)]:_0x5cdd5b=_0x2ec794['sheets-pivot.dateGroup.year'];break;case _0x2444f4[_0x278edd(0x261)]['Month']:_0x5cdd5b=_0x2ec794['sheets-pivot.dateGroup.month'];break;case _0x2444f4[_0x278edd(0x261)]['Quarter']:_0x5cdd5b=_0x2ec794['sheets-pivot.dateGroup.quarter'];break;case _0x2444f4[_0x278edd(0x261)][_0x278edd(0x218)]:_0x5cdd5b=_0x2ec794[_0x278edd(0x2d1)];break;case _0x2444f4['PivotDateGroupFieldDateTypeEnum']['HourMinute']:_0x5cdd5b=_0x2ec794[_0x278edd(0x1f6)];break;case _0x2444f4[_0x278edd(0x261)][_0x278edd(0x1c3)]:_0x5cdd5b=_0x2ec794[_0x278edd(0x1b3)];break;case _0x2444f4[_0x278edd(0x261)][_0x278edd(0x412)]:_0x5cdd5b=_0x2ec794[_0x278edd(0x203)];break;case _0x2444f4[_0x278edd(0x261)][_0x278edd(0x40b)]:_0x5cdd5b=_0x2ec794[_0x278edd(0x21c)];break;case _0x2444f4[_0x278edd(0x261)][_0x278edd(0x1a3)]:_0x5cdd5b=_0x2ec794[_0x278edd(0x32b)];break;default:_0x5cdd5b='';break;}return _0x5cdd5b;}const _0x1919ce='sheets-pivot.config',_0x123fd7={};var _0x31132e=Object[_0x217abe(0x17a)],_0x5e1a77=(_0x2c1c57,_0x253df3,_0x169b94,_0x55118a)=>{const _0x32e43d=_0x217abe;for(var _0x5a139a=_0x55118a>0x1?void 0x0:_0x55118a?_0x31132e(_0x253df3,_0x169b94):_0x253df3,_0x3d7fc1=_0x2c1c57[_0x32e43d(0x31a)]-0x1,_0x2d6332;_0x3d7fc1>=0x0;_0x3d7fc1--)(_0x2d6332=_0x2c1c57[_0x3d7fc1])&&(_0x5a139a=_0x2d6332(_0x5a139a)||_0x5a139a);return _0x5a139a;},_0x5adb9d=(_0x78e187,_0x2c4faa)=>(_0x3e4760,_0x2ace49)=>_0x2c4faa(_0x3e4760,_0x2ace49,_0x78e187);_0x28dbf0[_0x217abe(0x390)]=class extends _0x5cf8ff[_0x217abe(0x374)]{constructor(_0x5b0ea6,_0x5ac854,_0x558f16,_0x30198f,_0x3a73a4){const _0x45e5ce=_0x217abe;super(),_0x4cbd74(this,'_model',new Map()),_0x4cbd74(this,'_collectionConfigModel',new Map()),_0x4cbd74(this,_0x45e5ce(0x303),new Map()),_0x4cbd74(this,_0x45e5ce(0x1ad),new Map()),_0x4cbd74(this,'_configVersion$',new _0x12702c[(_0x45e5ce(0x1fb))]()),_0x4cbd74(this,_0x45e5ce(0x243),new _0x12702c['Subject']()),_0x4cbd74(this,_0x45e5ce(0x418),this[_0x45e5ce(0x243)]['asObservable']()),_0x4cbd74(this,_0x45e5ce(0x3ba),new _0x12702c[(_0x45e5ce(0x1fb))]()),_0x4cbd74(this,'pivotConfigChange$',this[_0x45e5ce(0x3ba)][_0x45e5ce(0x29b)]()),_0x4cbd74(this,_0x45e5ce(0x438),{}),_0x4cbd74(this,'configVersion$',this['_configVersion$']['asObservable']()),(this[_0x45e5ce(0x43c)]=_0x5b0ea6,this[_0x45e5ce(0x36f)]=_0x5ac854,this[_0x45e5ce(0x172)]=_0x558f16,this['_resourceManagerService']=_0x30198f,this[_0x45e5ce(0x1bd)]=_0x3a73a4,this[_0x45e5ce(0x3f0)](),this[_0x45e5ce(0x307)]());const _0xddaac5=this[_0x45e5ce(0x1bd)][_0x45e5ce(0x2ec)](_0x1919ce);(_0xddaac5==null?void 0x0:_0xddaac5[_0x45e5ce(0x2c8)])===!0x0&&this[_0x45e5ce(0x40a)]();}[_0x217abe(0x307)](){const _0x21158e=_0x217abe;this['disposeWithMe'](this[_0x21158e(0x172)][_0x21158e(0x326)](_0x5cf8ff[_0x21158e(0x32d)][_0x21158e(0x36c)])[_0x21158e(0x1de)](_0x499184=>{const _0x2792f8=_0x21158e;this[_0x2792f8(0x392)](_0x499184['getUnitId']());}));}[_0x217abe(0x26c)](){const _0x4f21f2=_0x217abe;this[_0x4f21f2(0x243)]['next'](!0x0);}[_0x217abe(0x3f0)](){const _0x460ffd=_0x217abe,_0x400db0=_0x3b5642(this[_0x460ffd(0x43c)],_0x1eacb1,'',{});this[_0x460ffd(0x438)]=_0x400db0,this[_0x460ffd(0x36f)][_0x460ffd(0x355)](_0x5d77fb['id'],{'textInfo':_0x400db0},{'onlyLocal':!0x0});}[_0x217abe(0x41a)](){const _0x121cc6=_0x217abe;return this[_0x121cc6(0x438)];}[_0x217abe(0x169)](_0x528c54,_0x4268b4,_0x1c1080,_0xfeae59,_0x3c1f37){const _0x24dcb6=_0x217abe;this[_0x24dcb6(0x160)](_0x528c54,_0x4268b4,_0x1c1080,_0xfeae59),this[_0x24dcb6(0x20c)](_0x528c54,_0x4268b4,_0x1c1080,_0x3c1f37);}[_0x217abe(0x19a)](_0xdd66fb,_0x4e1fff,_0x44be86){const _0x3cc364=_0x217abe;var _0x38e568;const _0x4aff6f=(_0x38e568=this[_0x3cc364(0x22b)][_0x3cc364(0x191)](_0xdd66fb))==null?void 0x0:_0x38e568['get'](_0x4e1fff);if(_0x4aff6f)return _0x4aff6f[_0x3cc364(0x191)](_0x44be86);}['getTargetByPivotTableId'](_0x432c39,_0x19ca78){const _0x469f00=_0x217abe,_0x3eb280=this[_0x469f00(0x22b)][_0x469f00(0x191)](_0x432c39);if(_0x3eb280){for(const [_0x3fe592,_0xb98056]of _0x3eb280['entries']())for(const [_0x463e64,_0x5c1530]of _0xb98056[_0x469f00(0x3ca)]())if(_0x463e64===_0x19ca78)return _0x5c1530['targetCellInfo'];}}[_0x217abe(0x183)](_0x4ba403,_0x341fc4,_0x47e62c){const _0x54b3fb=_0x217abe,_0x5f0faf=this['getPivotTableConfig'](_0x4ba403,_0x341fc4,_0x47e62c);return _0x5f0faf==null?void 0x0:_0x5f0faf[_0x54b3fb(0x25b)];}[_0x217abe(0x456)](_0x181a02,_0x106030){const _0x3fad85=_0x217abe;var _0x200110;return(_0x200110=this[_0x3fad85(0x22b)][_0x3fad85(0x191)](_0x181a02))==null?void 0x0:_0x200110[_0x3fad85(0x191)](_0x106030);}[_0x217abe(0x19b)](_0x33f6ac,_0x339992,_0x5072a5,_0x44ea17){const _0x181232=_0x217abe,_0x2e3a78=this[_0x181232(0x29d)](_0x33f6ac,_0x339992);_0x44ea17?_0x2e3a78[_0x181232(0x444)](_0x5072a5,_0x44ea17):_0x2e3a78[_0x181232(0x168)](_0x5072a5),this['_pivotConfigChange$'][_0x181232(0x377)]({'unitId':_0x33f6ac,'subUnitId':_0x339992,'pivotTableId':_0x5072a5,'pivotTableConfig':_0x44ea17});}[_0x217abe(0x371)](_0x1373ec,_0x1d97e9){const _0x2f8e42=_0x217abe;var _0x5a1ed0;return(_0x5a1ed0=this[_0x2f8e42(0x1f4)]['get'](_0x1373ec))==null?void 0x0:_0x5a1ed0[_0x2f8e42(0x2bb)][_0x1d97e9];}[_0x217abe(0x471)](_0x3b7ba4,_0x192ad6){const _0x3040f0=_0x217abe;this[_0x3040f0(0x1f4)][_0x3040f0(0x444)](_0x3b7ba4,_0x192ad6),this[_0x3040f0(0x2ba)][_0x3040f0(0x377)](Math[_0x3040f0(0x37d)]());}[_0x217abe(0x29d)](_0x10110e,_0x2fb9fe){const _0x49f4b7=_0x217abe;let _0x5e42f6=this['_model'][_0x49f4b7(0x191)](_0x10110e);_0x5e42f6||(_0x5e42f6=new Map(),this['_model'][_0x49f4b7(0x444)](_0x10110e,_0x5e42f6));let _0x97a0e6=_0x5e42f6['get'](_0x2fb9fe);return _0x97a0e6||(_0x97a0e6=new Map(),_0x5e42f6['set'](_0x2fb9fe,_0x97a0e6)),_0x97a0e6;}[_0x217abe(0x406)](_0x59ba9f,_0x1955ce){const _0x3e3f75=_0x217abe;let _0x14f078=this[_0x3e3f75(0x303)][_0x3e3f75(0x191)](_0x59ba9f);_0x14f078||(_0x14f078=new Map(),this['_pivotTableRangeInfo'][_0x3e3f75(0x444)](_0x59ba9f,_0x14f078));let _0x438374=_0x14f078['get'](_0x1955ce);return _0x438374||(_0x438374=new Map(),_0x14f078[_0x3e3f75(0x444)](_0x1955ce,_0x438374)),_0x438374;}[_0x217abe(0x294)](_0x2bc296,_0x589775){const _0x4f4065=_0x217abe;let _0x3ae079=this[_0x4f4065(0x1ad)]['get'](_0x2bc296);_0x3ae079||(_0x3ae079=new Map(),this[_0x4f4065(0x1ad)][_0x4f4065(0x444)](_0x2bc296,_0x3ae079));let _0x72332e=_0x3ae079[_0x4f4065(0x191)](_0x589775);return _0x72332e||(_0x72332e=new Map(),_0x3ae079['set'](_0x589775,_0x72332e)),_0x72332e;}[_0x217abe(0x20c)](_0x33010a,_0x50190e,_0x2545ee,_0x290b39){const _0x442a6e=_0x217abe;var _0x4f6f3f;const _0x5d960f=this[_0x442a6e(0x406)](_0x33010a,_0x50190e),_0x13d8ac=(_0x4f6f3f=_0x5d960f[_0x442a6e(0x191)](_0x2545ee))==null?void 0x0:_0x4f6f3f[_0x442a6e(0x352)];_0x5d960f[_0x442a6e(0x444)](_0x2545ee,{'oldRangeInfo':_0x13d8ac,'rangeInfo':_0x290b39});}['updatePivotTableMatrixInfo'](_0x1c0a2,_0x139afd,_0x5bed4d,_0x3e7f7b){const _0x4ef99c=_0x217abe;var _0x368cf8;const _0x14ab26=this[_0x4ef99c(0x294)](_0x1c0a2,_0x139afd),_0x3d4cb3=(_0x368cf8=_0x14ab26[_0x4ef99c(0x191)](_0x5bed4d))==null?void 0x0:_0x368cf8[_0x4ef99c(0x23f)];_0x14ab26[_0x4ef99c(0x444)](_0x5bed4d,{'oldMatrix':_0x3d4cb3,'matrix':_0x3e7f7b});}[_0x217abe(0x2de)](_0x1d084c,_0x4be67f,_0xf20322){const _0x933c5a=_0x217abe;var _0x243113,_0x17d306;return(_0x17d306=(_0x243113=this['_pivotTableRangeInfo'][_0x933c5a(0x191)](_0x1d084c))==null?void 0x0:_0x243113[_0x933c5a(0x191)](_0x4be67f))==null?void 0x0:_0x17d306[_0x933c5a(0x191)](_0xf20322);}[_0x217abe(0x1fe)](_0x4900f3,_0x1c75f9,_0x22d319){const _0x45bfa6=_0x217abe;var _0x477c2c,_0xb22964;return(_0xb22964=(_0x477c2c=this[_0x45bfa6(0x1ad)]['get'](_0x4900f3))==null?void 0x0:_0x477c2c['get'](_0x1c75f9))==null?void 0x0:_0xb22964[_0x45bfa6(0x191)](_0x22d319);}['deleteUnitId'](_0x4e6a12){const _0x3ed2d3=_0x217abe;this[_0x3ed2d3(0x22b)][_0x3ed2d3(0x168)](_0x4e6a12),this[_0x3ed2d3(0x1f4)][_0x3ed2d3(0x168)](_0x4e6a12);}['_toJSON'](_0x3f32f6){const _0x3d946b=_0x217abe,_0x4e2a34={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x3d946b(0x191)](_0x3f32f6)&&(_0x4e2a34[_0x3d946b(0x3cf)][_0x3f32f6]=this['_collectionConfigModel'][_0x3d946b(0x191)](_0x3f32f6)),this[_0x3d946b(0x22b)][_0x3d946b(0x191)](_0x3f32f6)){_0x4e2a34[_0x3d946b(0x33d)][_0x3f32f6]={};const _0x52b3fe=this[_0x3d946b(0x22b)][_0x3d946b(0x191)](_0x3f32f6);_0x52b3fe!=null&&_0x52b3fe['size']&&[..._0x52b3fe[_0x3d946b(0x16c)]()][_0x3d946b(0x22c)](_0x3ed07c=>{const _0x1d7e69=_0x3d946b,_0x205744=_0x52b3fe['get'](_0x3ed07c);_0x205744!=null&&_0x205744[_0x1d7e69(0x1da)]&&(_0x4e2a34[_0x1d7e69(0x33d)][_0x3f32f6][_0x3ed07c]={},[..._0x205744['keys']()][_0x1d7e69(0x22c)](_0xe9e92c=>{const _0x39a855=_0x1d7e69,_0x3d9eca=_0x205744[_0x39a855(0x191)](_0xe9e92c);_0x3d9eca&&(_0x4e2a34[_0x39a855(0x33d)][_0x3f32f6][_0x3ed07c][_0xe9e92c]=_0x3d9eca);}));});}return _0x4e2a34;}[_0x217abe(0x40a)](){const _0x4cf4db=_0x217abe;this[_0x4cf4db(0x3e2)](this[_0x4cf4db(0x167)]['registerPluginResource']({'toJson':_0x4d7970=>JSON[_0x4cf4db(0x210)](this[_0x4cf4db(0x264)](_0x4d7970)),'parseJson':_0x1780cc=>({}),'businesses':[_0x5cf8ff['UniverInstanceType'][_0x4cf4db(0x36c)]],'pluginName':_0x5690d9,'onLoad':(_0x43e21a,_0x500ea1)=>{},'onUnLoad':_0xe3f66c=>{const _0x37fc62=_0x4cf4db;this[_0x37fc62(0x392)](_0xe3f66c);}}));}},_0x28dbf0[_0x217abe(0x390)]=_0x5e1a77([_0x5adb9d(0x0,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x3e6)])),_0x5adb9d(0x1,_0x5cf8ff['Inject'](_0x5cf8ff[_0x217abe(0x20e)])),_0x5adb9d(0x2,_0x5cf8ff['Inject'](_0x5cf8ff[_0x217abe(0x198)])),_0x5adb9d(0x3,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff['IResourceManagerService'])),_0x5adb9d(0x4,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x1b0)]))],_0x28dbf0[_0x217abe(0x390)]);var _0x1362ce=Object[_0x217abe(0x17a)],_0x3a8a53=(_0x35eb3c,_0x704388,_0x2c2156,_0x5de6c3)=>{const _0x50094b=_0x217abe;for(var _0xd71f35=_0x5de6c3>0x1?void 0x0:_0x5de6c3?_0x1362ce(_0x704388,_0x2c2156):_0x704388,_0x4e2245=_0x35eb3c[_0x50094b(0x31a)]-0x1,_0xd61db1;_0x4e2245>=0x0;_0x4e2245--)(_0xd61db1=_0x35eb3c[_0x4e2245])&&(_0xd71f35=_0xd61db1(_0xd71f35)||_0xd71f35);return _0xd71f35;},_0x4ddfa9=(_0x1617cf,_0x2526f1)=>(_0x392e5c,_0x356a22)=>_0x2526f1(_0x392e5c,_0x356a22,_0x1617cf);_0x28dbf0[_0x217abe(0x3eb)]=class extends _0x5cf8ff[_0x217abe(0x374)]{constructor(_0x4c5f44,_0x54e2b0,_0x1b0b5a,_0x3692ba,_0x5392c2){const _0x4ed9e7=_0x217abe;super(),_0x4cbd74(this,_0x4ed9e7(0x3d4),new Map()),_0x4cbd74(this,_0x4ed9e7(0x437),new Map()),_0x4cbd74(this,_0x4ed9e7(0x228),new _0x12702c[(_0x4ed9e7(0x1fb))]()),_0x4cbd74(this,_0x4ed9e7(0x3dd),this[_0x4ed9e7(0x228)][_0x4ed9e7(0x29b)]()),_0x4cbd74(this,_0x4ed9e7(0x19d),new _0x12702c['Subject']()),_0x4cbd74(this,'viewUpdate$',this[_0x4ed9e7(0x19d)][_0x4ed9e7(0x29b)]()),_0x4cbd74(this,_0x4ed9e7(0x438)),(this[_0x4ed9e7(0x346)]=_0x4c5f44,this[_0x4ed9e7(0x43c)]=_0x54e2b0,this[_0x4ed9e7(0x296)]=_0x1b0b5a,this[_0x4ed9e7(0x172)]=_0x3692ba,this[_0x4ed9e7(0x170)]=_0x5392c2,this[_0x4ed9e7(0x3f0)](),this[_0x4ed9e7(0x307)]());}['_initUnitDisposed'](){const _0x5195e3=_0x217abe;this[_0x5195e3(0x3e2)](this[_0x5195e3(0x172)][_0x5195e3(0x326)](_0x5cf8ff[_0x5195e3(0x32d)][_0x5195e3(0x36c)])[_0x5195e3(0x1de)](_0x4015b0=>{const _0x28911f=_0x5195e3;this[_0x28911f(0x392)](_0x4015b0[_0x28911f(0x443)]());}));}[_0x217abe(0x3f0)](){const _0x14f4b9=_0x217abe;this['_textInfo']=_0x3b5642(this[_0x14f4b9(0x43c)],_0x1eacb1,'',{});}['updateRenderCache'](_0x1be13e){const _0x7093cc=_0x217abe,{view:_0xa77fc,unitId:_0x576daa,subUnitId:_0x1e1ba8,pivotTableId:_0x5cb5ad,type:_0x1188b6}=_0x1be13e,_0x56f619=this[_0x7093cc(0x296)][_0x7093cc(0x19a)](_0x576daa,_0x1e1ba8,_0x5cb5ad);if(!_0xa77fc||!_0x56f619||_0x1188b6===_0x5da69e['Delete'])return;const {pageView:_0x69628d,cornerView:_0x410e8a,rowView:_0x5adbb3,colView:_0x2e85c3,dataView:_0x464a9b}=_0xa77fc,_0x2eec36=_0x56f619[_0x7093cc(0x25b)],_0x3e1efe=_0x56f619[_0x7093cc(0x447)],_0x26f659=this['_ensurePivotItemRenderValueMatrixCache'](_0x576daa,_0x1e1ba8),_0x45dac0=this[_0x7093cc(0x43a)](_0x576daa,_0x1e1ba8,_0x5cb5ad);if(_0x3e1efe)return this[_0x7093cc(0x197)](_0x1be13e,_0x26f659,_0x2eec36,_0x45dac0);{const _0x3e403b=_0x3e0b54(_0x2eec36,_0x69628d,!0x0),_0x1d6ca0=_0x69628d['lastRow']>=0x0?_0x69628d['lastRow']+0x1:0x0,_0x149cfe=_0x410e8a['getRowCount'](),_0x24b87f=_0x410e8a[_0x7093cc(0x299)](),_0x5611dc=_0x3e403b['length']>0x0?_0x491659:0x0,_0x10f53a=_0x3e0b54({'row':_0x2eec36[_0x7093cc(0x2aa)]+_0x1d6ca0+_0x5611dc,'col':_0x2eec36[_0x7093cc(0x1b1)]},_0x410e8a,!0x1,!0x1),_0x342d76=_0x3e0b54({'row':_0x2eec36[_0x7093cc(0x2aa)]+_0x1d6ca0+_0x5611dc+_0x149cfe,'col':_0x2eec36[_0x7093cc(0x1b1)]},_0x5adbb3,!0x1,!0x0),_0x1b0f0f=_0x3e0b54({'row':_0x2eec36['row']+_0x1d6ca0+_0x5611dc,'col':_0x2eec36[_0x7093cc(0x1b1)]+_0x24b87f},_0x2e85c3,!0x1,!0x0),_0x47b93d=_0x3e0b54({'row':_0x2eec36[_0x7093cc(0x2aa)]+_0x1d6ca0+_0x5611dc+_0x149cfe,'col':_0x2eec36[_0x7093cc(0x1b1)]+_0x24b87f},_0x464a9b,!0x1,!0x1);_0x45dac0[_0x7093cc(0x1dd)]={'rowRanges':_0x342d76,'colRanges':_0x1b0f0f,'cornerRanges':_0x10f53a,'dataRanges':_0x47b93d,'pageRanges':_0x3e403b};const _0xd51fc7=_0x1b0d96(this[_0x7093cc(0x43c)],_0xa77fc,_0x56f619,this[_0x7093cc(0x438)]),{valueMatrix:_0x41ecfd,rowInfo:_0x2afd44,colInfo:_0x570ad4,cornerInfo:_0xedd2e7,rowHeaderMap:_0x33d668,colHeaderMap:_0x1327c8}=_0xd51fc7;return _0x45dac0[_0x7093cc(0x416)]={'rowInfo':_0x2afd44,'colInfo':_0x570ad4,'cornerInfo':_0xedd2e7},_0x45dac0['headerMap']={'rowHeaderMap':_0x33d668,'colHeaderMap':_0x1327c8},_0x41ecfd[_0x7093cc(0x22c)]((_0x1c25c8,_0x4bf73e)=>{const _0x4417b6=_0x7093cc;Object[_0x4417b6(0x16c)](_0x4bf73e)[_0x4417b6(0x22c)](_0x399c1a=>{const _0x21c3b8=_0x4417b6,_0x220238=+_0x399c1a,_0x2b1af8=_0x41ecfd[_0x21c3b8(0x2bd)](_0x1c25c8,_0x220238);_0x26f659['setValue'](_0x1c25c8,_0x220238,_0x2b1af8);});}),this[_0x7093cc(0x19d)][_0x7093cc(0x377)]({'unitId':_0x576daa,'subUnitId':_0x1e1ba8,'valueMatrix':_0x26f659,'rangesCache':_0x45dac0[_0x7093cc(0x1dd)],'pivotTableId':_0x5cb5ad,'type':_0x1be13e[_0x7093cc(0x2a1)]}),this[_0x7093cc(0x296)][_0x7093cc(0x169)](_0x576daa,_0x1e1ba8,_0x5cb5ad,_0x26f659,_0x45dac0[_0x7093cc(0x1dd)]),this[_0x7093cc(0x170)][_0x7093cc(0x1b6)](_0x576daa,_0x1e1ba8,_0x4b224b,this[_0x7093cc(0x20b)](_0x45dac0[_0x7093cc(0x1dd)],_0x5cb5ad)),{'rangeCache':_0x45dac0['rangesInfo'],'matrix':_0x26f659};}}[_0x217abe(0x197)](_0x257310,_0x3ce0a6,_0x14fb0f,_0x22a31f){const _0x656057=_0x217abe,_0x2e12cd=this[_0x656057(0x346)]['t'],{unitId:_0x3f8622,subUnitId:_0x2efae8,pivotTableId:_0x359503}=_0x257310,_0x430ea9={'filter':_0x2e12cd('sheets-pivot.emptyPivot.filter'),'row':_0x2e12cd(_0x656057(0x463)),'column':_0x2e12cd(_0x656057(0x318)),'values':_0x2e12cd(_0x656057(0x24c))},{matrixCache:_0x5a6ef8,rangesCache:_0x5c2e40}=_0x399209(_0x430ea9,_0x14fb0f);return _0x5a6ef8['forValue']((_0x41956f,_0x3ada85,_0x538962)=>{_0x3ce0a6['setValue'](_0x41956f,_0x3ada85,_0x538962);}),_0x22a31f[_0x656057(0x1dd)]=_0x5c2e40,this['_viewUpdate$'][_0x656057(0x377)]({'unitId':_0x3f8622,'subUnitId':_0x2efae8,'valueMatrix':_0x3ce0a6,'rangesCache':_0x5c2e40,'pivotTableId':_0x359503,'type':_0x257310['type'],'isEmpty':!0x0}),this[_0x656057(0x296)][_0x656057(0x169)](_0x3f8622,_0x2efae8,_0x359503,_0x3ce0a6,_0x5c2e40),this[_0x656057(0x170)][_0x656057(0x1b6)](_0x3f8622,_0x2efae8,_0x4b224b,this['_createExclusiveRange'](_0x5c2e40,_0x359503)),{'rangeCache':_0x22a31f[_0x656057(0x1dd)],'matrix':_0x3ce0a6};}[_0x217abe(0x20b)](_0x2868cf,_0x36ca15){const _0x4b0ab2=_0x217abe,_0x5138fd=[],_0x12944e=_0x54f967(_0x2868cf);for(const _0x2c7f76 of _0x12944e)_0x5138fd[_0x4b0ab2(0x3d3)]({'groupId':_0x36ca15,'range':_0x2c7f76});return _0x5138fd;}[_0x217abe(0x16b)](_0x1708fc){const _0x54b660=_0x217abe;var _0xcc0d1f,_0x4907fa,_0x38b1ed,_0x1a624d;const {pivotTableId:_0x1b42f0,unitId:_0x920d9,subUnitId:_0x54c4f6}=_0x1708fc;if(!_0x1b42f0||!_0x920d9||!_0x54c4f6)return;const _0x39d8ff=this[_0x54b660(0x2c2)](_0x920d9,_0x54c4f6),_0x5f0059=(_0x4907fa=(_0xcc0d1f=this[_0x54b660(0x3d4)][_0x54b660(0x191)](_0x920d9))==null?void 0x0:_0xcc0d1f['get'](_0x54c4f6))==null?void 0x0:_0x4907fa[_0x54b660(0x191)](_0x1b42f0);if(_0x5f0059!=null&&_0x5f0059[_0x54b660(0x1dd)]){for(const _0x5cec3f of Object[_0x54b660(0x16c)](_0x5f0059['rangesInfo']))_0x5f0059[_0x54b660(0x1dd)][_0x5cec3f][_0x54b660(0x22c)](_0x31b16b=>{const _0x172ed3=_0x54b660;for(let _0x3ca291=_0x31b16b[_0x172ed3(0x1f3)];_0x3ca291<=_0x31b16b[_0x172ed3(0x46c)];_0x3ca291++)for(let _0x21ddd8=_0x31b16b[_0x172ed3(0x38b)];_0x21ddd8<=_0x31b16b[_0x172ed3(0x3ab)];_0x21ddd8++)_0x39d8ff[_0x172ed3(0x1df)](_0x3ca291,_0x21ddd8);});}_0x5f0059&&((_0x1a624d=(_0x38b1ed=this[_0x54b660(0x3d4)][_0x54b660(0x191)](_0x920d9))==null?void 0x0:_0x38b1ed[_0x54b660(0x191)](_0x54c4f6))==null||_0x1a624d[_0x54b660(0x168)](_0x1b42f0)),this['_viewUpdate$']['next']({'unitId':_0x920d9,'subUnitId':_0x54c4f6,'valueMatrix':_0x39d8ff,'pivotTableId':_0x1b42f0,'rangesCache':void 0x0,'type':_0x1708fc[_0x54b660(0x2a1)]}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x920d9,_0x54c4f6,_0x4b224b,_0x1b42f0);}['_ensurePivotItemRenderInfoCache'](_0x5a9540,_0x2b5cc2,_0x21fec8){const _0x4f2c76=_0x217abe;var _0x172d4c,_0x1d2ba7,_0x5be282,_0x141ea0,_0x3011c8,_0xacc0b9;return this[_0x4f2c76(0x3d4)][_0x4f2c76(0x2fb)](_0x5a9540)||this[_0x4f2c76(0x3d4)][_0x4f2c76(0x444)](_0x5a9540,new Map()),(_0x172d4c=this[_0x4f2c76(0x3d4)][_0x4f2c76(0x191)](_0x5a9540))!=null&&_0x172d4c[_0x4f2c76(0x2fb)](_0x2b5cc2)||(_0x1d2ba7=this['_pivotRenderInfoCache'][_0x4f2c76(0x191)](_0x5a9540))==null||_0x1d2ba7['set'](_0x2b5cc2,new Map()),(_0x141ea0=(_0x5be282=this['_pivotRenderInfoCache']['get'](_0x5a9540))==null?void 0x0:_0x5be282[_0x4f2c76(0x191)](_0x2b5cc2))!=null&&_0x141ea0[_0x4f2c76(0x2fb)](_0x21fec8)||(_0xacc0b9=(_0x3011c8=this[_0x4f2c76(0x3d4)][_0x4f2c76(0x191)](_0x5a9540))==null?void 0x0:_0x3011c8[_0x4f2c76(0x191)](_0x2b5cc2))==null||_0xacc0b9['set'](_0x21fec8,{}),this[_0x4f2c76(0x3d4)][_0x4f2c76(0x191)](_0x5a9540)[_0x4f2c76(0x191)](_0x2b5cc2)[_0x4f2c76(0x191)](_0x21fec8);}[_0x217abe(0x2c2)](_0x408eec,_0x113a85){const _0x22ac89=_0x217abe;var _0x5bb6d9,_0x1f6a33;return this[_0x22ac89(0x437)][_0x22ac89(0x2fb)](_0x408eec)||this[_0x22ac89(0x437)][_0x22ac89(0x444)](_0x408eec,new Map()),(_0x5bb6d9=this[_0x22ac89(0x437)]['get'](_0x408eec))!=null&&_0x5bb6d9[_0x22ac89(0x2fb)](_0x113a85)||(_0x1f6a33=this[_0x22ac89(0x437)][_0x22ac89(0x191)](_0x408eec))==null||_0x1f6a33['set'](_0x113a85,new _0x5cf8ff[(_0x22ac89(0x27d))]()),this['_pivotRenderValueMatrixCache'][_0x22ac89(0x191)](_0x408eec)[_0x22ac89(0x191)](_0x113a85);}[_0x217abe(0x436)](_0x4fef73,_0x3c8b09,_0xa270b2,_0x1f6571){const _0x560316=_0x217abe;var _0xa29fd8,_0x158c1f;const _0x4ac047=(_0x158c1f=(_0xa29fd8=this[_0x560316(0x437)]['get'](_0x4fef73))==null?void 0x0:_0xa29fd8[_0x560316(0x191)](_0x3c8b09))==null?void 0x0:_0x158c1f[_0x560316(0x2bd)](_0xa270b2,_0x1f6571);if(_0x4ac047!=null)return _0x4ac047;}['getPivotTableIdByCell'](_0x4a66d8,_0x1d7572,_0x36291e,_0x5324d8){const _0x53bef3=_0x217abe;var _0x575cdb;const _0x24c80c=_0x5cf8ff[_0x53bef3(0x396)](_0x36291e,_0x5324d8),_0x1c46b4=(_0x575cdb=this[_0x53bef3(0x3d4)][_0x53bef3(0x191)](_0x4a66d8))==null?void 0x0:_0x575cdb[_0x53bef3(0x191)](_0x1d7572);return _0x1c46b4?Array[_0x53bef3(0x440)](_0x1c46b4['keys']())[_0x53bef3(0x3a6)](_0x39be3f=>{const _0xa62946=_0x53bef3,_0x4f52f9=_0x1c46b4['get'](_0x39be3f),_0x517832=_0x4f52f9==null?void 0x0:_0x4f52f9['rangesInfo'];return _0x517832?Object[_0xa62946(0x16c)](_0x517832)['some'](_0xe15935=>_0x517832[_0xe15935][_0xa62946(0x3ad)](_0x401607=>_0x5cf8ff['Rectangle']['contains'](_0x401607,_0x24c80c))):!0x1;}):void 0x0;}[_0x217abe(0x39b)](_0x3cacc8,_0x15dbd6,_0x150032){const _0x764d68=_0x217abe;var _0x4a65bb;const _0x1ce9d7=(_0x4a65bb=this[_0x764d68(0x3d4)]['get'](_0x3cacc8))==null?void 0x0:_0x4a65bb['get'](_0x15dbd6),_0x284a1d=[];return _0x1ce9d7&&Array['from'](_0x1ce9d7['keys']())[_0x764d68(0x22c)](_0x6f1b7a=>{const _0x2b5dd8=_0x764d68,_0x43ed0b=_0x1ce9d7['get'](_0x6f1b7a),_0x43333c=_0x43ed0b==null?void 0x0:_0x43ed0b[_0x2b5dd8(0x1dd)];if(_0x43333c)for(const _0x395f98 of Object[_0x2b5dd8(0x258)](_0x43333c)){let _0x5ea4c8=!0x1;for(const _0x2b4866 of _0x395f98)if(_0x5cf8ff[_0x2b5dd8(0x1d8)][_0x2b5dd8(0x2ab)](_0x2b4866,_0x150032)){_0x284a1d[_0x2b5dd8(0x3d3)](_0x6f1b7a),_0x5ea4c8=!0x0;break;}if(_0x5ea4c8)break;}}),_0x284a1d;}[_0x217abe(0x2ca)](_0x5ef383,_0x25488a){const _0x3753e5=_0x217abe;var _0x44d98c,_0x38ba5c;return(_0x38ba5c=(_0x44d98c=this[_0x3753e5(0x437)]['get'](_0x5ef383))==null?void 0x0:_0x44d98c[_0x3753e5(0x191)](_0x25488a))!=null?_0x38ba5c:new _0x5cf8ff['ObjectMatrix']();}[_0x217abe(0x248)](_0x1702f1,_0x45a61d){const _0x24f3be=_0x217abe;var _0xa6fb5a;return(_0xa6fb5a=this[_0x24f3be(0x3d4)][_0x24f3be(0x191)](_0x1702f1))==null?void 0x0:_0xa6fb5a['get'](_0x45a61d);}['getPivotItemRenderInfoCache'](_0xe8b75d,_0x4cb8d1,_0x3fbc29){const _0x5ab368=_0x217abe;var _0x39a65b,_0x5b5a6e;return(_0x5b5a6e=(_0x39a65b=this[_0x5ab368(0x3d4)]['get'](_0xe8b75d))==null?void 0x0:_0x39a65b[_0x5ab368(0x191)](_0x4cb8d1))==null?void 0x0:_0x5b5a6e[_0x5ab368(0x191)](_0x3fbc29);}[_0x217abe(0x392)](_0x184b8e){const _0x29b8e2=_0x217abe;this[_0x29b8e2(0x3d4)][_0x29b8e2(0x168)](_0x184b8e),this[_0x29b8e2(0x437)][_0x29b8e2(0x168)](_0x184b8e);}[_0x217abe(0x1c7)](_0x58875e,_0x461a04){const _0x1fd411=_0x217abe;this[_0x1fd411(0x228)][_0x1fd411(0x377)]({'unitId':_0x58875e,'subUnitId':_0x461a04});}},_0x28dbf0[_0x217abe(0x3eb)]=_0x3a8a53([_0x4ddfa9(0x0,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x28e)])),_0x4ddfa9(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff['Injector'])),_0x4ddfa9(0x2,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x390)])),_0x4ddfa9(0x3,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x198)])),_0x4ddfa9(0x4,_0x5cf8ff[_0x217abe(0x306)](_0x3d008a[_0x217abe(0x1e9)]))],_0x28dbf0['SheetsPivotTableAdaptorModel']);var _0x2dab21=Object[_0x217abe(0x17a)],_0x1ba280=(_0xfccf17,_0x4de2c3,_0x20d686,_0xdedbdd)=>{const _0x4747ab=_0x217abe;for(var _0x527263=_0xdedbdd>0x1?void 0x0:_0xdedbdd?_0x2dab21(_0x4de2c3,_0x20d686):_0x4de2c3,_0x549ecb=_0xfccf17[_0x4747ab(0x31a)]-0x1,_0x1f94e9;_0x549ecb>=0x0;_0x549ecb--)(_0x1f94e9=_0xfccf17[_0x549ecb])&&(_0x527263=_0x1f94e9(_0x527263)||_0x527263);return _0x527263;},_0x1b2507=(_0x3ac775,_0x49d1a2)=>(_0x3b2e2f,_0x2d562)=>_0x49d1a2(_0x3b2e2f,_0x2d562,_0x3ac775);_0x28dbf0[_0x217abe(0x368)]=class extends _0x5cf8ff['Disposable']{constructor(_0x56f5bc,_0x324fa1){const _0x47f340=_0x217abe;super(),_0x4cbd74(this,'asyncInterceptor',new _0x5cf8ff[(_0x47f340(0x42a))]({'PIVOT_PERFORM_CHECK':_0x42699f})),_0x4cbd74(this,'interceptor',new _0x5cf8ff[(_0x47f340(0x3b1))]({'PIVOT_MUTATION_GENERATE':_0x744bc6})),(this['_sheetInterceptorService']=_0x56f5bc,this[_0x47f340(0x2e9)]=_0x324fa1,this['_init']());}[_0x217abe(0x37a)](){this['_initViewModelBySheetInterceptor']();}[_0x217abe(0x1a7)](_0x41f86c){const _0xffdff2=_0x217abe;return this[_0xffdff2(0x342)][_0xffdff2(0x1d1)](_0x42699f)(!0x1,_0x41f86c);}[_0x217abe(0x1ac)](){const _0x4bcc67=_0x217abe;this['disposeWithMe'](this[_0x4bcc67(0x292)][_0x4bcc67(0x345)](_0x3d008a[_0x4bcc67(0x310)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x5cf8ff[_0x4bcc67(0x1eb)][_0x4bcc67(0x1e4)]|_0x5cf8ff[_0x4bcc67(0x1eb)]['Style'],'handler':(_0x2de823,_0x55da9b,_0x4498b6)=>{const _0x44da9e=_0x4bcc67,{row:_0x519d6d,col:_0x3f79b0,unitId:_0x5a15b0,subUnitId:_0x1a41ee,workbook:_0x519f8f}=_0x55da9b,_0x3af120=this[_0x44da9e(0x2e9)][_0x44da9e(0x436)](_0x5a15b0,_0x1a41ee,_0x519d6d,_0x3f79b0);if(!_0x3af120)return _0x4498b6(_0x2de823);const _0xdd0e0a={..._0x2de823};(_0x3af120['v']||_0x3af120['v']===0x0)&&(_0xdd0e0a['v']=_0x3af120['v']),_0x3af120['t']&&(_0xdd0e0a['t']=_0x3af120['t']);const _0x6f2f31=(typeof(_0x2de823==null?void 0x0:_0x2de823['s'])==_0x44da9e(0x211)?_0x519f8f[_0x44da9e(0x42f)]()[_0x44da9e(0x191)](_0x2de823==null?void 0x0:_0x2de823['s']):_0x2de823==null?void 0x0:_0x2de823['s'])||{},_0x22ddbb=_0x519f8f['getStyles']()[_0x44da9e(0x191)](_0x3af120['s']),_0x202eee={..._0x22ddbb,..._0x6f2f31};_0x22ddbb!=null&&_0x22ddbb['n']&&(_0x202eee['n']=_0x22ddbb['n']);const _0x3a4c6b=_0x519f8f[_0x44da9e(0x42f)]()[_0x44da9e(0x364)](_0x202eee);return _0xdd0e0a['s']=_0x3a4c6b,(_0x3af120[_0x44da9e(0x192)]===_0x2444f4[_0x44da9e(0x34e)][_0x44da9e(0x308)]||_0x3af120[_0x44da9e(0x192)]===_0x2444f4[_0x44da9e(0x34e)]['Expand'])&&(_0xdd0e0a['fontRenderExtension']={},_0xdd0e0a['fontRenderExtension'][_0x44da9e(0x17e)]=_0x1c52de),_0x4498b6(_0xdd0e0a);}}));}},_0x28dbf0[_0x217abe(0x368)]=_0x1ba280([_0x1b2507(0x0,_0x5cf8ff['Inject'](_0x3d008a['SheetInterceptorService'])),_0x1b2507(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x3eb)]))],_0x28dbf0[_0x217abe(0x368)]);const _0x49b05c={'id':_0x217abe(0x2f6),'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'handler':(_0x39f53b,_0x2f1890)=>{const _0x5f3e8a=_0x217abe;if(!_0x2f1890)return!0x1;if(!!_0x39f53b[_0x5f3e8a(0x191)](_0x5cf8ff[_0x5f3e8a(0x1b0)])[_0x5f3e8a(0x2ec)](_0x243383))return!0x0;const {pivotTableId:_0x36b38b,fieldJSON:_0x1afaa4,unitId:_0x4ebeac,subUnitId:_0x3d2f23}=_0x2f1890;let _0x1ff88d;const {dataFieldType:_0x103723,id:_0x136871,name:_0x4b21b9,hexCode:_0x404f87,originalFieldId:_0x18344a}=_0x1afaa4;if(_0x103723===_0x2444f4[_0x5f3e8a(0x38f)]['dateGroupField']&&(_0x1ff88d=new _0x2444f4[(_0x5f3e8a(0x389))](_0x136871,_0x4b21b9,_0x404f87,_0x18344a)),!_0x1ff88d)return!0x1;const _0x5da02a=_0x39f53b['get'](_0x28dbf0['SheetsPivotDataSourceModel']),_0x3f606f=_0x5da02a[_0x5f3e8a(0x33e)](_0x4ebeac),_0x210093=_0x3f606f[_0x5f3e8a(0x371)](_0x36b38b);_0x3f606f[_0x5f3e8a(0x1be)](_0x1ff88d),_0x210093[_0x5f3e8a(0x29e)](_0x1ff88d['getId'](),_0x1ff88d[_0x5f3e8a(0x2e5)]());const _0x2cfc6b=_0x210093[_0x5f3e8a(0x426)](_0x1ff88d[_0x5f3e8a(0x441)]());_0x2cfc6b&&_0x1ff88d[_0x5f3e8a(0x472)](_0x2cfc6b);const _0x70ae99=_0x5da02a[_0x5f3e8a(0x19a)](_0x4ebeac,_0x3d2f23,_0x36b38b);return _0x5da02a[_0x5f3e8a(0x235)]({'unitId':_0x4ebeac,'subUnitId':_0x3d2f23,'token':_0x36b38b,'type':_0x5da69e[_0x5f3e8a(0x45d)],'pivotConfig':_0x70ae99}),!0x0;}},_0x266174={'id':'sheet.mutation.remove-group-collection','type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'handler':(_0x22f05a,_0x5a8511)=>{const _0x41e709=_0x217abe;if(!_0x5a8511)return!0x1;if(!!_0x22f05a[_0x41e709(0x191)](_0x5cf8ff[_0x41e709(0x1b0)])[_0x41e709(0x2ec)](_0x243383))return!0x0;const {pivotTableId:_0x5655d8,dataFieldId:_0x3e44a6,unitId:_0x9126d3,subUnitId:_0x497d34}=_0x5a8511,_0x24098a=_0x22f05a['get'](_0x28dbf0[_0x41e709(0x3f2)]),_0x3dd546=_0x24098a['getDataFieldManager'](_0x9126d3);_0x3dd546[_0x41e709(0x371)](_0x5655d8)[_0x41e709(0x230)](_0x3e44a6);let _0x2d2187=!0x0;for(const _0x44ffe2 in _0x3dd546[_0x41e709(0x2bb)])if(_0x3dd546['collections'][_0x44ffe2][_0x41e709(0x3af)]()['includes'](_0x3e44a6)){_0x2d2187=!0x1;break;}_0x2d2187&&_0x3dd546[_0x41e709(0x375)](_0x3e44a6);const _0x396973=_0x24098a[_0x41e709(0x19a)](_0x9126d3,_0x497d34,_0x5655d8);return _0x24098a[_0x41e709(0x235)]({'unitId':_0x9126d3,'subUnitId':_0x497d34,'token':_0x5655d8,'type':_0x5da69e[_0x41e709(0x45d)],'pivotConfig':_0x396973}),!0x0;}};function _0x1a03de(_0x5db34a,_0x167bfc){const _0x3b32b6=_0x217abe;switch(_0x167bfc){case _0x2444f4[_0x3b32b6(0x270)][_0x3b32b6(0x1e4)]:return _0x5db34a[_0x3b32b6(0x22a)];case _0x2444f4[_0x3b32b6(0x270)][_0x3b32b6(0x419)]:return _0x5db34a[_0x3b32b6(0x39e)];case _0x2444f4[_0x3b32b6(0x270)][_0x3b32b6(0x413)]:return _0x5db34a['rowFields'];case _0x2444f4[_0x3b32b6(0x270)]['Column']:return _0x5db34a[_0x3b32b6(0x21b)];default:return[];}}function _0x231ef5(_0x21d991,_0x52f661){const _0x419095=_0x217abe;return _0x21d991[_0x419095(0x1e0)][_0x52f661]||_0x21d991[_0x419095(0x15e)][_0x52f661];}function _0x3fff95(_0x294ce8,_0x2187e7){const _0x251b02=_0x217abe,{area:_0x4cc9cf,fieldJson:_0x327133,index:_0x18f6e1}=_0x2187e7;_0x4cc9cf===_0x2444f4[_0x251b02(0x270)]['Value']?_0x294ce8['measure'][_0x327133['id']]=_0x327133:_0x294ce8[_0x251b02(0x15e)][_0x327133['id']]=_0x327133,_0x1a03de(_0x294ce8,_0x4cc9cf)[_0x251b02(0x3c8)](_0x18f6e1,0x0,_0x327133['id']);}function _0x541eef(_0x531901,_0x3a60a2){const _0x436c00=_0x217abe,{area:_0x438627,fieldId:_0x214651,index:_0x400fcf}=_0x3a60a2;_0x438627===_0x2444f4[_0x436c00(0x270)][_0x436c00(0x1e4)]?delete _0x531901[_0x436c00(0x1e0)][_0x214651]:delete _0x531901[_0x436c00(0x15e)][_0x214651],_0x1a03de(_0x531901,_0x438627)['splice'](_0x400fcf,0x1);}function _0x3a61d2(_0x2799d7,_0x4993a4){const _0x857196=_0x217abe,{fieldId:_0x3aeac9,name:_0x34b8b4}=_0x4993a4,_0x20066f=_0x231ef5(_0x2799d7,_0x3aeac9);_0x20066f&&(_0x20066f[_0x857196(0x3bf)]=_0x34b8b4);}function _0x4ef933(_0x1f1b94,_0x26acb3){const _0xd622e=_0x217abe,{fieldId:_0x2b7fdb,collapse:_0x5063f1,item:_0x4b4315}=_0x26acb3;_0x4b4315!==void 0x0?(_0x1f1b94[_0xd622e(0x174)][_0x2b7fdb]=_0x1f1b94['collapseInfo'][_0x2b7fdb]||{},_0x1f1b94['collapseInfo'][_0x2b7fdb][_0x4b4315]=_0x5063f1):_0x1f1b94[_0xd622e(0x174)][_0x2b7fdb]=_0x5063f1;}function _0x199ee6(_0xedbe66,_0x1508bb){const _0x150c25=_0x217abe,{fieldId:_0x186b48,format:_0x27476d}=_0x1508bb,_0x25bf3c=_0x231ef5(_0xedbe66,_0x186b48);_0x25bf3c&&(_0x25bf3c[_0x150c25(0x1e8)]=_0x27476d);}function _0x1ffc14(_0x3bff14,_0x3c940d){const {fieldId:_0x4a4d7f,filterInfo:_0x12b6d9}=_0x3c940d,_0x45da1f=_0x231ef5(_0x3bff14,_0x4a4d7f);_0x45da1f&&(_0x45da1f['filterInfo']=_0x12b6d9);}function _0x50c200(_0xa5c516,_0x3d52d7){const _0xda36c2=_0x217abe,{fieldId:_0x4efa9b,filterInfo:_0x1b691f}=_0x3d52d7,_0x34870a=_0xa5c516[_0xda36c2(0x269)][_0xda36c2(0x372)](_0x478ab5=>_0x478ab5[_0xda36c2(0x379)]!==_0x4efa9b);_0x1b691f&&_0x34870a[_0xda36c2(0x3d3)]({'fieldId':_0x4efa9b,'filterInfo':_0x1b691f}),_0xa5c516['valueFilter']=_0x34870a;}function _0x1350c8(_0x878615,_0x5585b3){const {fieldId:_0x308fe7,subtotalType:_0x4647ec}=_0x5585b3,_0x50d78f=_0x231ef5(_0x878615,_0x308fe7);_0x50d78f&&(_0x50d78f['subtotal']=_0x4647ec);}function _0x353fcc(_0x112a2e,_0x4f70e3){const _0x704e46=_0x217abe,{fieldId:_0x39a13b,oldArea:_0x333c77,area:_0x569471,oldIndex:_0x45ad64,index:_0x104777}=_0x4f70e3,_0x3c6754=_0x333c77!==_0x2444f4['PivotTableFiledAreaEnum'][_0x704e46(0x1e4)]&&_0x569471===_0x2444f4['PivotTableFiledAreaEnum']['Value'],_0x1f9229=_0x333c77===_0x2444f4[_0x704e46(0x270)]['Value']&&_0x569471!==_0x2444f4['PivotTableFiledAreaEnum'][_0x704e46(0x1e4)];if(_0x3c6754||_0x1f9229){const _0x5acc70=_0x231ef5(_0x112a2e,_0x39a13b);_0x5acc70&&(_0x3c6754?(delete _0x112a2e[_0x704e46(0x15e)][_0x39a13b],_0x112a2e[_0x704e46(0x1e0)][_0x39a13b]=_0x5acc70):(delete _0x112a2e[_0x704e46(0x1e0)][_0x39a13b],_0x112a2e[_0x704e46(0x15e)][_0x39a13b]=_0x5acc70));}const _0x1c4088=_0x1a03de(_0x112a2e,_0x333c77),_0x1d1cfa=_0x1a03de(_0x112a2e,_0x569471);_0x1c4088[_0x704e46(0x3c8)](_0x45ad64,0x1),_0x1d1cfa[_0x704e46(0x3c8)](_0x104777,0x0,_0x39a13b);}function _0x311d49(_0x20d79d,_0x603a1f){const _0x30d6f5=_0x217abe,{valuePosition:_0x1c4125,index:_0x8a322e}=_0x603a1f;_0x20d79d['valuePosition']=_0x1c4125,_0x20d79d[_0x30d6f5(0x201)]=_0x8a322e;}function _0x15436f(_0x309812,_0x3e4bd2){const _0x55307a=_0x217abe,{tableFieldId:_0x2485ee,sourceName:_0xfa8282,dataFieldId:_0x598eb6}=_0x3e4bd2,_0x1b809f=_0x231ef5(_0x309812,_0x2485ee);_0x1b809f&&(_0x1b809f[_0x55307a(0x2a9)]=_0xfa8282,_0x1b809f[_0x55307a(0x312)]=_0x598eb6);}function _0x6b1350(_0xfb3299,_0x30c38a){const _0x42c9cf=_0x217abe,{fieldId:_0x455a3c,sortInfo:_0x212e44}=_0x30c38a,_0x3e1bc6=_0x231ef5(_0xfb3299,_0x455a3c);_0x3e1bc6&&(_0x3e1bc6[_0x42c9cf(0x16d)]=_0x212e44);}function _0x16b022(_0x416c3e,_0x409354){const _0x5239c9=_0x217abe,{options:_0x5e860d}=_0x409354;_0x416c3e['options']={..._0x416c3e[_0x5239c9(0x408)],..._0x5e860d};}const _0xeed0a6={'type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'id':_0x217abe(0x398),'handler'(_0x427a10,_0x40d67b){const _0xfcd6cb=_0x217abe;if(!_0x40d67b)return!0x1;if(!!_0x427a10['get'](_0x5cf8ff['IConfigService'])[_0xfcd6cb(0x2ec)](_0x243383))return!0x0;const _0x1a4847=_0x427a10[_0xfcd6cb(0x191)](_0x28dbf0['SheetsPivotDataSourceModel']),{pivotTableId:_0x4679cf,fieldJson:_0x166b36,area:_0x3421fb,index:_0x242b87,unitId:_0x255e82,subUnitId:_0x1dffaa}=_0x40d67b,_0x1d2d1d=_0x1a4847[_0xfcd6cb(0x45b)](_0x4679cf);if(!_0x1d2d1d)return!0x1;let _0x53b2fc;_0x3421fb===_0x2444f4[_0xfcd6cb(0x270)][_0xfcd6cb(0x1e4)]?_0x53b2fc=_0x2444f4['createValueField'](_0x166b36):_0x53b2fc=_0x2444f4['createLabelField'](_0x166b36),_0x1d2d1d[_0xfcd6cb(0x29e)](_0x53b2fc,_0x3421fb,_0x242b87);const _0x14b8b1=_0x1a4847['getPivotTableModelConfig'](_0x255e82,_0x1dffaa,_0x4679cf);_0x3fff95(_0x14b8b1,_0x40d67b);const _0x2dd601=_0x1a4847[_0xfcd6cb(0x19a)](_0x255e82,_0x1dffaa,_0x4679cf);return _0x1a4847['addDirtyPivotTable']({'unitId':_0x255e82,'subUnitId':_0x1dffaa,'token':_0x4679cf,'type':_0x5da69e[_0xfcd6cb(0x45d)],'pivotConfig':_0x2dd601}),!0x0;}},_0x369aad={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x240996,_0x44f797){const _0x2da38c=_0x217abe;if(!_0x44f797)return!0x1;if(!!_0x240996[_0x2da38c(0x191)](_0x5cf8ff[_0x2da38c(0x1b0)])[_0x2da38c(0x2ec)](_0x243383))return!0x0;const _0x2a6689=_0x240996['get'](_0x28dbf0['SheetsPivotDataSourceModel']),{pivotTableId:_0x4a3561,fieldId:_0x8455c8,unitId:_0x39f743,subUnitId:_0x2e2ccf}=_0x44f797,_0x5018ae=_0x2a6689['getPivotTableInstance'](_0x4a3561);if(!_0x5018ae)return!0x1;_0x5018ae['removeField'](_0x8455c8);const _0x5d7a8b=_0x2a6689[_0x2da38c(0x267)](_0x39f743,_0x2e2ccf,_0x4a3561);_0x541eef(_0x5d7a8b,_0x44f797);const _0x18f799=_0x2a6689['getPivotTableConfig'](_0x39f743,_0x2e2ccf,_0x4a3561);return _0x2a6689[_0x2da38c(0x235)]({'unitId':_0x39f743,'subUnitId':_0x2e2ccf,'token':_0x4a3561,'type':_0x5da69e[_0x2da38c(0x45d)],'pivotConfig':_0x18f799}),!0x0;}},_0x22cb31={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x23b),'handler'(_0x4d386b,_0x1c1fca){const _0x5496e4=_0x217abe;if(!_0x1c1fca)return!0x1;if(!!_0x4d386b[_0x5496e4(0x191)](_0x5cf8ff[_0x5496e4(0x1b0)])[_0x5496e4(0x2ec)](_0x243383))return!0x0;const _0x1c0e01=_0x4d386b[_0x5496e4(0x191)](_0x28dbf0[_0x5496e4(0x3f2)]),{unitId:_0x3751ff,subUnitId:_0x5a2dca,pivotTableId:_0x227cc9,fieldId:_0x2c092f,name:_0x580203}=_0x1c1fca,_0x5bfe35=_0x1c0e01[_0x5496e4(0x45b)](_0x227cc9);if(!_0x5bfe35)return!0x1;_0x5bfe35[_0x5496e4(0x1db)](_0x2c092f,_0x580203);const _0x5d9032=_0x1c0e01[_0x5496e4(0x267)](_0x3751ff,_0x5a2dca,_0x227cc9);return _0x3a61d2(_0x5d9032,_0x1c1fca),_0x1c0e01[_0x5496e4(0x235)]({'unitId':_0x3751ff,'subUnitId':_0x5a2dca,'token':_0x227cc9,'type':_0x5da69e[_0x5496e4(0x45d)]}),!0x0;}},_0x3ffb58={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x16a),'handler'(_0x250ade,_0x4abbc2){const _0x2af5c1=_0x217abe;if(!_0x4abbc2)return!0x1;if(!!_0x250ade[_0x2af5c1(0x191)](_0x5cf8ff[_0x2af5c1(0x1b0)])[_0x2af5c1(0x2ec)](_0x243383))return!0x0;const _0x9f3677=_0x250ade[_0x2af5c1(0x191)](_0x28dbf0['SheetsPivotDataSourceModel']),{unitId:_0xb4c08b,subUnitId:_0x34c5e9,pivotTableId:_0x119d2f,fieldId:_0x343982,collapse:_0x44504b,item:_0x2ca60d}=_0x4abbc2,_0x3d22ed=_0x9f3677[_0x2af5c1(0x45b)](_0x119d2f);if(!_0x3d22ed)return!0x1;_0x3d22ed[_0x2af5c1(0x266)](_0x343982,_0x44504b,_0x2ca60d);const _0x47ae3b=_0x9f3677[_0x2af5c1(0x267)](_0xb4c08b,_0x34c5e9,_0x119d2f);return _0x4ef933(_0x47ae3b,_0x4abbc2),_0x9f3677[_0x2af5c1(0x235)]({'unitId':_0xb4c08b,'subUnitId':_0x34c5e9,'token':_0x119d2f,'type':_0x5da69e[_0x2af5c1(0x45d)]}),!0x0;}},_0x2b7b2c={'type':_0x5cf8ff[_0x217abe(0x3ee)]['MUTATION'],'id':'sheet.mutation.set-pivot-format','handler'(_0x2ae8c1,_0x249bae){const _0x1caf74=_0x217abe;if(!_0x249bae)return!0x1;if(!!_0x2ae8c1['get'](_0x5cf8ff['IConfigService'])[_0x1caf74(0x2ec)](_0x243383))return!0x0;const _0x52c1c0=_0x2ae8c1[_0x1caf74(0x191)](_0x28dbf0['SheetsPivotDataSourceModel']),{unitId:_0x520383,subUnitId:_0x307937,pivotTableId:_0x477240,fieldId:_0x4466a4,format:_0x2cf2b1}=_0x249bae,_0x2aeb52=_0x52c1c0[_0x1caf74(0x45b)](_0x477240);if(!_0x2aeb52)return!0x1;_0x2aeb52[_0x1caf74(0x3e8)](_0x4466a4,_0x2cf2b1);const _0x2eecee=_0x52c1c0[_0x1caf74(0x267)](_0x520383,_0x307937,_0x477240);return _0x199ee6(_0x2eecee,_0x249bae),_0x52c1c0['addDirtyPivotTable']({'unitId':_0x520383,'subUnitId':_0x307937,'token':_0x477240,'type':_0x5da69e[_0x1caf74(0x45d)]}),!0x0;}},_0x599b06={'type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'id':_0x217abe(0x2e1),'handler'(_0x44a10b,_0x1c12f6){const _0x57b2aa=_0x217abe;if(!_0x1c12f6)return!0x1;if(!!_0x44a10b[_0x57b2aa(0x191)](_0x5cf8ff[_0x57b2aa(0x1b0)])['getConfig'](_0x243383))return!0x0;const _0x82f3ff=_0x44a10b[_0x57b2aa(0x191)](_0x28dbf0['SheetsPivotDataSourceModel']),{unitId:_0xaa39e9,subUnitId:_0x1e600f,pivotTableId:_0x3be5cc,fieldId:_0x2c8adb,filterInfo:_0x1e521b}=_0x1c12f6,_0x452346=_0x82f3ff[_0x57b2aa(0x45b)](_0x3be5cc);if(!_0x452346)return!0x1;_0x452346[_0x57b2aa(0x289)](_0x2c8adb,_0x1e521b);const _0x4764d9=_0x82f3ff[_0x57b2aa(0x267)](_0xaa39e9,_0x1e600f,_0x3be5cc);return _0x1ffc14(_0x4764d9,_0x1c12f6),_0x82f3ff[_0x57b2aa(0x235)]({'unitId':_0xaa39e9,'subUnitId':_0x1e600f,'token':_0x3be5cc,'type':_0x5da69e[_0x57b2aa(0x45d)]}),!0x0;}},_0xbcc3cc={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':'sheet.mutation.set-pivot-option','handler'(_0x479689,_0xe58434){const _0x16889a=_0x217abe;if(!_0xe58434)return!0x1;if(!!_0x479689[_0x16889a(0x191)](_0x5cf8ff[_0x16889a(0x1b0)])[_0x16889a(0x2ec)](_0x243383))return!0x0;const _0x3bec83=_0x479689[_0x16889a(0x191)](_0x28dbf0[_0x16889a(0x3f2)]),{unitId:_0x553c27,subUnitId:_0x17c252,pivotTableId:_0x1f0441,options:_0x30392b}=_0xe58434,_0x5a57c2=_0x3bec83[_0x16889a(0x45b)](_0x1f0441);if(!_0x5a57c2)return!0x1;_0x5a57c2[_0x16889a(0x30b)](_0x30392b);const _0x311739=_0x3bec83[_0x16889a(0x267)](_0x553c27,_0x17c252,_0x1f0441);return _0x16b022(_0x311739,_0xe58434),_0x3bec83[_0x16889a(0x235)]({'unitId':_0x553c27,'subUnitId':_0x17c252,'token':_0x1f0441,'type':_0x5da69e['Set']}),!0x0;}},_0x426986={'type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'id':_0x217abe(0x397),'handler'(_0x17ecd3,_0x210e1f){const _0x54d9f2=_0x217abe;if(!_0x210e1f)return!0x1;if(!!_0x17ecd3['get'](_0x5cf8ff[_0x54d9f2(0x1b0)])[_0x54d9f2(0x2ec)](_0x243383))return!0x0;const _0x341e16=_0x17ecd3['get'](_0x28dbf0['SheetsPivotDataSourceModel']),{unitId:_0x4e2252,subUnitId:_0x483652,pivotTableId:_0x225d0a,sortInfo:_0xb85749,fieldId:_0x329b06}=_0x210e1f,_0x576c08=_0x341e16[_0x54d9f2(0x45b)](_0x225d0a);if(!_0x576c08)return!0x1;_0x576c08[_0x54d9f2(0x32e)](_0x329b06,_0xb85749);const _0x3e0046=_0x341e16[_0x54d9f2(0x267)](_0x4e2252,_0x483652,_0x225d0a);return _0x6b1350(_0x3e0046,_0x210e1f),_0x341e16[_0x54d9f2(0x235)]({'unitId':_0x4e2252,'subUnitId':_0x483652,'token':_0x225d0a,'type':_0x5da69e[_0x54d9f2(0x45d)]}),!0x0;}},_0x35c653={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x332),'handler'(_0x21458b,_0x94bf72){const _0x1338d1=_0x217abe;if(!_0x94bf72)return!0x1;if(!!_0x21458b[_0x1338d1(0x191)](_0x5cf8ff[_0x1338d1(0x1b0)])[_0x1338d1(0x2ec)](_0x243383))return!0x0;const _0x1ee35f=_0x21458b[_0x1338d1(0x191)](_0x28dbf0[_0x1338d1(0x3f2)]),{unitId:_0x3c0b3f,subUnitId:_0x28449f,pivotTableId:_0x4421ad,fieldId:_0x5e7fae,subtotalType:_0x54c3bc}=_0x94bf72,_0x2b4c9a=_0x1ee35f[_0x1338d1(0x45b)](_0x4421ad);if(!_0x2b4c9a)return!0x1;_0x2b4c9a[_0x1338d1(0x370)](_0x5e7fae,_0x54c3bc);const _0x19c4d7=_0x1ee35f[_0x1338d1(0x267)](_0x3c0b3f,_0x28449f,_0x4421ad);return _0x1350c8(_0x19c4d7,_0x94bf72),_0x1ee35f[_0x1338d1(0x235)]({'unitId':_0x3c0b3f,'subUnitId':_0x28449f,'token':_0x4421ad,'type':_0x5da69e[_0x1338d1(0x45d)]}),!0x0;}},_0x569b93={'type':_0x5cf8ff[_0x217abe(0x3ee)]['MUTATION'],'id':_0x217abe(0x3c5),'handler'(_0x35ec0a,_0x4ac030){const _0x7339db=_0x217abe;if(!_0x4ac030)return!0x1;if(!!_0x35ec0a['get'](_0x5cf8ff[_0x7339db(0x1b0)])[_0x7339db(0x2ec)](_0x243383))return!0x0;const _0x1bda05=_0x35ec0a[_0x7339db(0x191)](_0x28dbf0[_0x7339db(0x3f2)]),{unitId:_0x1ee3dd,subUnitId:_0x97213c,pivotTableId:_0x5b86ea,fieldId:_0x2bb05f,filterInfo:_0x37fa61}=_0x4ac030,_0x18af6a=_0x1bda05[_0x7339db(0x45b)](_0x5b86ea);if(!_0x18af6a)return!0x1;_0x18af6a[_0x7339db(0x45a)](_0x2bb05f,_0x37fa61);const _0x1694c7=_0x1bda05[_0x7339db(0x267)](_0x1ee3dd,_0x97213c,_0x5b86ea);return _0x50c200(_0x1694c7,_0x4ac030),_0x1bda05['addDirtyPivotTable']({'unitId':_0x1ee3dd,'subUnitId':_0x97213c,'token':_0x5b86ea,'type':_0x5da69e['Set']}),!0x0;}},_0x50bc5e={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x411),'handler'(_0x11f03e,_0x2d8470){const _0x3cd7d3=_0x217abe;if(!_0x2d8470)return!0x1;if(!!_0x11f03e[_0x3cd7d3(0x191)](_0x5cf8ff[_0x3cd7d3(0x1b0)])[_0x3cd7d3(0x2ec)](_0x243383))return!0x0;const _0x1c6aea=_0x11f03e[_0x3cd7d3(0x191)](_0x28dbf0[_0x3cd7d3(0x3f2)]),{unitId:_0x55e71c,subUnitId:_0x13cd05,pivotTableId:_0x512bf3,area:_0x11cda8,index:_0x4d8714,fieldId:_0x424b41}=_0x2d8470,_0x58e538=_0x1c6aea[_0x3cd7d3(0x45b)](_0x512bf3);if(!_0x58e538)return!0x1;_0x58e538[_0x3cd7d3(0x1ea)](_0x424b41,_0x11cda8,_0x4d8714);const _0x34b420=_0x1c6aea[_0x3cd7d3(0x267)](_0x55e71c,_0x13cd05,_0x512bf3);return _0x353fcc(_0x34b420,_0x2d8470),_0x1c6aea[_0x3cd7d3(0x235)]({'unitId':_0x55e71c,'subUnitId':_0x13cd05,'token':_0x512bf3,'type':_0x5da69e[_0x3cd7d3(0x45d)]}),!0x0;}},_0x2f22f7={'type':_0x5cf8ff[_0x217abe(0x3ee)]['MUTATION'],'id':_0x217abe(0x22d),'handler'(_0x3c0acb,_0x4d51af){const _0xcad53c=_0x217abe;if(!_0x4d51af)return!0x1;if(!!_0x3c0acb[_0xcad53c(0x191)](_0x5cf8ff[_0xcad53c(0x1b0)])[_0xcad53c(0x2ec)](_0x243383))return!0x0;const _0x3271cc=_0x3c0acb['get'](_0x28dbf0[_0xcad53c(0x3f2)]),{unitId:_0x296991,subUnitId:_0x52dbbc,pivotTableId:_0xf2a0ae,sourceName:_0x166526,dataFieldId:_0x5c2f0f,tableFieldId:_0x51d748}=_0x4d51af,_0x27e6f3=_0x3271cc['getPivotTableInstance'](_0xf2a0ae);if(!_0x27e6f3)return!0x1;_0x27e6f3[_0xcad53c(0x3fc)](_0x51d748,_0x166526,_0x5c2f0f);const _0xf9f9b7=_0x3271cc[_0xcad53c(0x267)](_0x296991,_0x52dbbc,_0xf2a0ae);return _0x15436f(_0xf9f9b7,_0x4d51af),_0x3271cc['addDirtyPivotTable']({'unitId':_0x296991,'subUnitId':_0x52dbbc,'token':_0xf2a0ae,'type':_0x5da69e[_0xcad53c(0x45d)]}),!0x0;}},_0x3951ca={'type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'id':_0x217abe(0x2c0),'handler'(_0x16f1b5,_0x140b68){const _0x5b261f=_0x217abe;if(!_0x140b68)return!0x1;if(!!_0x16f1b5['get'](_0x5cf8ff[_0x5b261f(0x1b0)])['getConfig'](_0x243383))return!0x0;const _0x167bab=_0x16f1b5[_0x5b261f(0x191)](_0x28dbf0[_0x5b261f(0x3f2)]),{unitId:_0x25de4f,subUnitId:_0x1fff2b,pivotTableId:_0x301390,valuePosition:_0x4159a5,index:_0x284726}=_0x140b68,_0xf9ce6d=_0x167bab[_0x5b261f(0x45b)](_0x301390);if(!_0xf9ce6d)return!0x1;_0xf9ce6d[_0x5b261f(0x2ef)](_0x4159a5,_0x284726);const _0x58347e=_0x167bab['getPivotTableModelConfig'](_0x25de4f,_0x1fff2b,_0x301390);return _0x311d49(_0x58347e,_0x140b68),_0x167bab['addDirtyPivotTable']({'unitId':_0x25de4f,'subUnitId':_0x1fff2b,'token':_0x301390,'type':_0x5da69e[_0x5b261f(0x45d)]}),!0x0;}};function _0x45171b(_0x5ddd0b,_0x3e0765,_0x2dc571){const _0x2431da=_0x217abe,{pivotTableId:_0x1e88bd,unitId:_0x5674b9,subUnitId:_0x2b8a57}=_0x3e0765,_0x202843=[],_0x118ca1=[];for(const _0x122e7b of _0x2dc571)switch(_0x122e7b[_0x2431da(0x2a1)]){case _0x2444f4[_0x2431da(0x450)]['AddField']:{const {fieldJson:_0x6dd6be,area:_0x348988,index:_0x25d8ea}=_0x122e7b,_0xae6153={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldJson':_0x6dd6be,'area':_0x348988,'index':_0x25d8ea},_0x150c2d={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x6dd6be['id'],'area':_0x348988,'index':_0x25d8ea};_0x202843[_0x2431da(0x3d3)]({'id':_0xeed0a6['id'],'params':_0xae6153}),_0x118ca1['unshift']({'id':_0x369aad['id'],'params':_0x150c2d});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x386)]:{const {fieldId:_0x57bc11,newSubtotalType:_0x49bf25,oldSubtotalType:_0x48bc8b}=_0x122e7b,_0x3072f3={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x57bc11,'subtotalType':_0x49bf25};_0x202843['push']({'id':_0x35c653['id'],'params':_0x3072f3});const _0x26a1b8={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x57bc11,'subtotalType':_0x48bc8b};_0x118ca1[_0x2431da(0x3f9)]({'id':_0x35c653['id'],'params':_0x26a1b8});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x293)]:{const {fieldId:_0x7e1333,fieldJson:_0x1fa7df,area:_0x354d0f,index:_0x37a032}=_0x122e7b,_0x5319c3={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x7e1333,'index':_0x37a032,'area':_0x354d0f};_0x202843['push']({'id':_0x369aad['id'],'params':_0x5319c3});const _0x4b8ef0={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldJson':_0x1fa7df,'area':_0x354d0f,'index':_0x37a032};_0x118ca1[_0x2431da(0x3f9)]({'id':_0xeed0a6['id'],'params':_0x4b8ef0});}break;case _0x2444f4['PivotTableChangeTypeEnum'][_0x2431da(0x1ba)]:{const {fieldId:_0x2bb429,oldName:_0x965c59,newName:_0x30b86e}=_0x122e7b,_0x148170={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x2bb429,'name':_0x30b86e};_0x202843[_0x2431da(0x3d3)]({'id':_0x22cb31['id'],'params':_0x148170});const _0x41b633={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x2bb429,'name':_0x965c59};_0x118ca1[_0x2431da(0x3f9)]({'id':_0x22cb31['id'],'params':_0x41b633});}break;case _0x2444f4['PivotTableChangeTypeEnum'][_0x2431da(0x23a)]:{const {fieldId:_0x581205,oldFilterInfo:_0x57699d,newFilterInfo:_0x1c88a3}=_0x122e7b,_0x543b99={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x581205,'filterInfo':_0x1c88a3};_0x202843['push']({'id':_0x599b06['id'],'params':_0x543b99});const _0x108023={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x581205,'filterInfo':_0x57699d};_0x118ca1[_0x2431da(0x3f9)]({'id':_0x599b06['id'],'params':_0x108023});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x382)]:{const {fieldId:_0x8af270,oldSortInfo:_0x4453a5,newSortInfo:_0x548994}=_0x122e7b,_0x26db4f={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x8af270,'sortInfo':_0x548994};_0x202843[_0x2431da(0x3d3)]({'id':_0x426986['id'],'params':_0x26db4f});const _0x23ac9f={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x8af270,'sortInfo':_0x4453a5};_0x118ca1['unshift']({'id':_0x426986['id'],'params':_0x23ac9f});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x42d)]:{const {oldOptions:_0x2266a5,newOptions:_0x4404ba}=_0x122e7b,_0x2d2ba5={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'options':_0x4404ba};_0x202843[_0x2431da(0x3d3)]({'id':_0xbcc3cc['id'],'params':_0x2d2ba5});const _0x3d1238={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'options':_0x2266a5};_0x118ca1['unshift']({'id':_0xbcc3cc['id'],'params':_0x3d1238});}break;case _0x2444f4[_0x2431da(0x450)]['UpdateFieldPosition']:{const {oldArea:_0x30c293,newArea:_0x345234,oldIndex:_0x1a5457,newIndex:_0x14beb0,fieldId:_0xe51e8e}=_0x122e7b,_0x55e504={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0xe51e8e,'area':_0x345234,'index':_0x14beb0,'oldArea':_0x30c293,'oldIndex':_0x1a5457};_0x202843['push']({'id':_0x50bc5e['id'],'params':_0x55e504});const _0x236194={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0xe51e8e,'area':_0x30c293,'index':_0x1a5457,'oldArea':_0x345234,'oldIndex':_0x14beb0};_0x118ca1['unshift']({'id':_0x50bc5e['id'],'params':_0x236194});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x1b5)]:{const {oldValuePosition:_0x3917e3,newValuePosition:_0x3e25fe,oldIndex:_0x552a18,newIndex:_0x59b74f}=_0x122e7b,_0x1bc174={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'valuePosition':_0x3e25fe,'index':_0x59b74f};_0x202843[_0x2431da(0x3d3)]({'id':_0x3951ca['id'],'params':_0x1bc174});const _0x9a1f8={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'valuePosition':_0x3917e3,'index':_0x552a18};_0x118ca1[_0x2431da(0x3f9)]({'id':_0x3951ca['id'],'params':_0x9a1f8});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x451)]:{const {fieldId:_0x580210,collapse:_0x30e4cf,item:_0xe45d28}=_0x122e7b,_0xdbe2ae={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x580210,'collapse':_0x30e4cf,'item':_0xe45d28};_0x202843[_0x2431da(0x3d3)]({'id':_0x3ffb58['id'],'params':_0xdbe2ae});const _0x15b3d1={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x580210,'collapse':!_0x30e4cf,'item':_0xe45d28};_0x118ca1[_0x2431da(0x3f9)]({'id':_0x3ffb58['id'],'params':_0x15b3d1});}break;case _0x2444f4[_0x2431da(0x450)]['SetFieldFormat']:{const {newFormat:_0x10f350,oldFormat:_0x52f3c2,fieldId:_0x4ca9ca}=_0x122e7b,_0x390eb9={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x4ca9ca,'format':_0x10f350};_0x202843[_0x2431da(0x3d3)]({'id':_0x2b7b2c['id'],'params':_0x390eb9});const _0x31abe6={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x4ca9ca,'format':_0x52f3c2};_0x118ca1[_0x2431da(0x3f9)]({'id':_0x2b7b2c['id'],'params':_0x31abe6});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x316)]:{const {tableFieldId:_0x99c24d,oldSourceName:_0x26c693,newSourceName:_0x23e573,oldDataFieldId:_0x27e1b2,newDataFieldId:_0x531566}=_0x122e7b,_0x3eefc6={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'tableFieldId':_0x99c24d,'sourceName':_0x23e573,'dataFieldId':_0x531566};_0x202843['push']({'id':_0x2f22f7['id'],'params':_0x3eefc6});const _0x6180a7={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'tableFieldId':_0x99c24d,'sourceName':_0x26c693,'dataFieldId':_0x27e1b2};_0x118ca1['unshift']({'id':_0x2f22f7['id'],'params':_0x6180a7});}break;case _0x2444f4[_0x2431da(0x450)][_0x2431da(0x3ac)]:{const {fieldId:_0x3ba3cc,filterInfo:_0x525703,oldFilterInfo:_0x5f0073}=_0x122e7b,_0x145ab8={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x3ba3cc,'filterInfo':_0x525703};_0x202843[_0x2431da(0x3d3)]({'id':_0x569b93['id'],'params':_0x145ab8});const _0x12123d={'unitId':_0x5674b9,'subUnitId':_0x2b8a57,'pivotTableId':_0x1e88bd,'fieldId':_0x3ba3cc,'filterInfo':_0x5f0073};_0x118ca1['unshift']({'id':_0x569b93['id'],'params':_0x12123d});}}return{'redos':_0x202843,'undos':_0x118ca1};}function _0x453490(_0x2cb0a8,_0x382be9){const _0x4d1a3d=_0x217abe;var _0x1f9b9a;const _0x549b7d=_0x2cb0a8['get'](_0x28dbf0['SheetsPivotTableService']),{cellInfo:_0x2479d9,view:_0x22bd86,isEmpty:_0x1f3abd}=_0x382be9;return(_0x1f9b9a=_0x549b7d['interceptor'][_0x4d1a3d(0x46e)](_0x744bc6)(_0x9615d7,{'cellInfo':_0x2479d9,'view':_0x22bd86,'isEmpty':_0x1f3abd}))!=null?_0x1f9b9a:_0x9615d7;}const _0x361035={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':_0x217abe(0x365),async 'handler'(_0x27e4b4,_0x545aed){const _0xc87900=_0x217abe;if(!_0x545aed)return!0x1;const _0x428150=_0x27e4b4[_0xc87900(0x191)](_0x5cf8ff['ICommandService']),_0x48f2ff=_0x27e4b4[_0xc87900(0x191)](_0x28dbf0['SheetsPivotRPCService']),_0x28a6ef=_0x27e4b4[_0xc87900(0x191)](_0x5cf8ff['IUndoRedoService']),{pivotTableId:_0x1aeaf1,dataFieldId:_0x2920d1,fieldArea:_0x13e170,index:_0x207af9,unitId:_0x14661c,subUnitId:_0x567c9e}=_0x545aed,_0x14ba35=(await _0x48f2ff[_0xc87900(0x338)]({'unitId':_0x14661c,'subUnitId':_0x567c9e,'pivotTableId':_0x1aeaf1,'params':{'type':_0x5b1b05[_0xc87900(0x26b)],'addPivotField':{'dataFieldId':_0x2920d1,'fieldArea':_0x13e170,'index':_0x207af9}}}))[_0xc87900(0x401)][_0xc87900(0x234)];if(!_0x14ba35)return!0x1;const {view:_0x4bde7d,changesets:_0x576676,isEmpty:_0x12753b,pivotTableConfig:_0x4c3d66,shouldBeAddedGroupJSON:_0x37eea8}=_0x14ba35,_0x38911d=_0x4c3d66['targetCellInfo'],_0x45e427=new _0x2444f4[(_0xc87900(0x2d2))]();_0x45e427[_0xc87900(0x3e9)](_0x4bde7d);const _0x3109f1={'cellInfo':_0x38911d,'view':_0x45e427,'isEmpty':_0x12753b};if(!await _0x27e4b4[_0xc87900(0x191)](_0x28dbf0[_0xc87900(0x368)])[_0xc87900(0x342)][_0xc87900(0x1d1)](_0x42699f)(!0x0,_0x3109f1))return!0x1;const _0x4002f3=_0x39b7a0(_0x27e4b4,_0x45e427,_0x38911d,_0x12753b),_0x340270=_0x453490(_0x27e4b4,_0x3109f1),{undos:_0x152613,redos:_0x3260b1}=_0x45171b(_0x428150,{'pivotTableId':_0x1aeaf1,'unitId':_0x14661c,'subUnitId':_0x567c9e},_0x576676);return _0x37eea8&&(_0x3260b1[_0xc87900(0x3f9)]({'id':_0x49b05c['id'],'params':{'pivotTableId':_0x1aeaf1,'fieldJSON':_0x37eea8,'unitId':_0x14661c,'subUnitId':_0x567c9e}}),_0x152613[_0xc87900(0x3d3)]({'id':_0x266174['id'],'params':{'pivotTableId':_0x1aeaf1,'dataFieldId':_0x37eea8['id'],'unitId':_0x14661c,'subUnitId':_0x567c9e}})),_0x5cf8ff[_0xc87900(0x33f)]([..._0x4002f3[_0xc87900(0x3ea)],..._0x340270[_0xc87900(0x3ea)],..._0x3260b1],_0x428150),_0x28a6ef[_0xc87900(0x30d)]({'unitID':_0x14661c,'redoMutations':[..._0x4002f3['redos'],..._0x340270[_0xc87900(0x3ea)],..._0x3260b1],'undoMutations':[..._0x4002f3['undos'],..._0x340270['undos'],..._0x152613]}),!0x0;}},_0x16cea4=()=>typeof process<'u'&&process[_0x217abe(0x27f)]!=null&&process[_0x217abe(0x27f)][_0x217abe(0x1fa)]!=null,_0x55ee20={'type':_0x5cf8ff['CommandType']['MUTATION'],'id':_0x217abe(0x2fc),'handler'(_0x52f2d8,_0x32dcd4){const _0x552096=_0x217abe;var _0x1ca91e;if(!_0x32dcd4)return!0x1;const _0x3a527b=_0x52f2d8['get'](_0x5cf8ff['IConfigService']);if(!!_0x3a527b[_0x552096(0x2ec)](_0x243383))return!0x0;const _0x5af968=_0x52f2d8[_0x552096(0x191)](_0x5cf8ff[_0x552096(0x198)]),_0x17e25f=_0x52f2d8[_0x552096(0x191)](_0x28dbf0[_0x552096(0x3f2)]),{pivotTableId:_0x1d860a,pivotTableConfig:_0x2786ca,collectionConfig:_0x4cb72e,unitId:_0x1487d0,subUnitId:_0x46cbd0}=_0x32dcd4,{sourceRangeInfo:_0x6232ad,fieldsConfig:_0x5efc0f,targetCellInfo:_0x4403da}=_0x2786ca,_0x3797ed=_0x5af968['getUnit'](_0x1487d0);if(!_0x3797ed||!_0x3797ed[_0x552096(0x3db)](_0x46cbd0))return!0x1;if(!_0x16cea4()){let _0x47ae47=0x0;_0x3797ed[_0x552096(0x400)]()['forEach'](_0x2db953=>{const _0x10665a=_0x552096;var _0x30a8e8,_0x196089;_0x47ae47+=(_0x196089=(_0x30a8e8=_0x17e25f[_0x10665a(0x456)](_0x1487d0,_0x2db953[_0x10665a(0x404)]()))==null?void 0x0:_0x30a8e8[_0x10665a(0x1da)])!=null?_0x196089:0x0;});const _0x33f2de=(_0x1ca91e=_0x3a527b[_0x552096(0x2ec)](_0x556295[_0x552096(0x181)]))!=null?_0x1ca91e:{},{ls:_0x2a85a3,pbk:_0x4b93cd}=_0x33f2de;if(!_0x4842f8(_0x2a85a3,_0x4b93cd))throw new _0x5cf8ff[(_0x552096(0x349))](_0x552096(0x252));const _0xbb9bd4=_0x1d765d(_0x45e71b,_0x2a85a3,_0x4b93cd)[_0x552096(0x200)];if(_0x47ae47>=_0xbb9bd4)throw new _0x5cf8ff[(_0x552096(0x349))](_0x552096(0x252));}if(!_0x4cb72e||!_0x5efc0f)return!0x1;const {collection:_0x3b6e2f,updateDataFieldList:_0x49440c}=_0x17e25f['addCollectionByJSON'](_0x1d860a,_0x4cb72e,_0x6232ad,_0x4403da);_0x17e25f[_0x552096(0x286)](_0x3b6e2f,_0x49440c,_0x6232ad);const _0x5c559e=new _0x2444f4[(_0x552096(0x2cc))](_0x3b6e2f,void 0x0,_0x1d860a);_0x5c559e['fromJSON'](_0x5efc0f);const _0x3b0202=JSON[_0x552096(0x1a9)](JSON['stringify'](_0x2786ca));return _0x17e25f['addPivotTable'](_0x1487d0,_0x46cbd0,_0x1d860a,_0x5c559e,_0x3b0202),_0x17e25f[_0x552096(0x235)]({'unitId':_0x1487d0,'subUnitId':_0x46cbd0,'token':_0x1d860a,'type':_0x5da69e['Add'],'pivotConfig':_0x3b0202}),!0x0;}},_0x5f00d2={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x22dc9c,_0x3d162c){const _0x595581=_0x217abe;if(!_0x3d162c)return!0x1;const {sourceDataInfo:_0x391b26,pivotTableConfig:_0x145b3b}=_0x3d162c;if(!_0x391b26||!_0x145b3b)return!0x1;const {unitId:_0x37f622,subUnitId:_0x3be4f6,range:_0x16fb62}=_0x391b26,_0x477de2=_0x22dc9c[_0x595581(0x191)](_0x5cf8ff[_0x595581(0x198)]),_0x4c4a00=_0x22dc9c[_0x595581(0x191)](_0x28dbf0['SheetsPivotRPCService']),_0x3bddd7=_0x22dc9c[_0x595581(0x191)](_0x5cf8ff[_0x595581(0x28e)]),_0x4cbe28=_0x22dc9c[_0x595581(0x191)](_0x5cf8ff[_0x595581(0x20e)]),_0x193dfb=_0x477de2[_0x595581(0x3da)](_0x37f622);if(!_0x193dfb)return!0x1;const _0x112a98=_0x193dfb[_0x595581(0x3db)](_0x3be4f6);if(!_0x112a98)return!0x1;const _0x1ac00c=_0x2444f4['generateHexNumber'](0x8),_0x2f719d=_0x16fb62||{'startRow':0x0,'startColumn':0x0,'endRow':_0x112a98[_0x595581(0x1a4)]()-0x1,'endColumn':_0x112a98[_0x595581(0x3b8)]()-0x1};_0x2f719d[_0x595581(0x182)]=_0x5cf8ff['RANGE_TYPE']['NORMAL'];const _0x43e16a=(await _0x4c4a00[_0x595581(0x338)]({'unitId':_0x37f622,'subUnitId':_0x3be4f6,'pivotTableId':_0x1ac00c,'params':{'type':_0x5b1b05['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x37f622,'sheetName':_0x112a98['getName'](),'subUnitId':_0x3be4f6,'range':_0x2f719d},'pivotTableId':_0x1ac00c,'pivotTableIndexConfig':_0x145b3b}}}))[_0x595581(0x401)][_0x595581(0x358)];if(!_0x43e16a)return!0x1;const {isEmpty:_0x1feb47,fieldsConfig:_0x16061e,collectionConfig:_0xb88f0b,changesets:_0x35e662}=_0x43e16a,_0x194b44=_0x193dfb[_0x595581(0x400)]()[_0x595581(0x31a)],_0x3395a7=_0x5cf8ff['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x112a98[_0x595581(0x1a4)]()-0x1,'columnCount':_0x112a98[_0x595581(0x3b8)]()-0x1});_0x3395a7['id']=_0x5cf8ff[_0x595581(0x445)](),_0x3395a7[_0x595581(0x455)]=_0x193dfb[_0x595581(0x3be)](''+_0x3bddd7['t'](_0x595581(0x429)));const _0x40f7eb={'index':_0x194b44,'sheet':_0x3395a7,'unitId':_0x37f622},{redos:_0x2590f4}=_0x45171b(_0x4cbe28,{'pivotTableId':_0x1ac00c,'unitId':_0x37f622,'subUnitId':_0x3395a7['id']},_0x35e662),_0x12b031=[{'id':_0x3d008a[_0x595581(0x1c1)]['id'],'params':_0x40f7eb},{'id':_0x55ee20['id'],'params':{'unitId':_0x37f622,'subUnitId':_0x3395a7['id'],'pivotTableId':_0x1ac00c,'pivotTableConfig':{'isEmpty':_0x1feb47,'fieldsConfig':_0x16061e,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x37f622,'subUnitId':_0x3395a7['id']},'sourceRangeInfo':{'subUnitId':_0x3be4f6,'unitId':_0x37f622,'range':_0x2f719d,'sheetName':_0x112a98['getName']()}},'collectionConfig':_0xb88f0b}},..._0x2590f4];return _0x5cf8ff[_0x595581(0x33f)](_0x12b031,_0x4cbe28),!0x0;}},_0x5a7c3a={'type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x52566e,_0x35abcc){const _0x3f2bbf=_0x217abe;if(!_0x35abcc)return!0x1;if(!!_0x52566e[_0x3f2bbf(0x191)](_0x5cf8ff[_0x3f2bbf(0x1b0)])[_0x3f2bbf(0x2ec)](_0x243383))return!0x0;const {pivotTableId:_0xdad0b2,unitId:_0x2b6dd2,subUnitId:_0x10ce12}=_0x35abcc,_0x23b6ea=_0x52566e[_0x3f2bbf(0x191)](_0x28dbf0[_0x3f2bbf(0x3f2)]);return _0x23b6ea[_0x3f2bbf(0x19a)](_0x2b6dd2,_0x10ce12,_0xdad0b2)?(_0x23b6ea[_0x3f2bbf(0x235)]({'unitId':_0x2b6dd2,'subUnitId':_0x10ce12,'token':_0xdad0b2,'type':_0x5da69e[_0x3f2bbf(0x284)]}),_0x23b6ea[_0x3f2bbf(0x380)](_0x2b6dd2,_0x10ce12,_0xdad0b2),!0x0):!0x1;}},_0x4d02a6={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':_0x217abe(0x194),async 'handler'(_0x311a16,_0x4beb17){const _0x5da844=_0x217abe;var _0x455e33,_0x41ca71;const _0x5cfc56=_0x311a16[_0x5da844(0x191)](_0x5cf8ff['ICommandService']),_0x4267d7=_0x311a16[_0x5da844(0x191)](_0x5cf8ff[_0x5da844(0x198)]),_0xff551f=_0x311a16['get'](_0x5cf8ff[_0x5da844(0x28e)]),_0x148de5=_0x311a16[_0x5da844(0x191)](_0x28dbf0[_0x5da844(0x1c9)]),_0x478d73=_0x311a16['get'](_0x5cf8ff[_0x5da844(0x158)]),_0x415f70=_0x311a16[_0x5da844(0x191)](_0x28dbf0['SheetsPivotTableConfigModel']),_0x4173fd=_0x311a16[_0x5da844(0x191)](_0x5cf8ff[_0x5da844(0x1b0)]);if(!_0x4beb17)return!0x1;const {pivotTableConfig:_0x4006a2,positionType:_0xbe5843}=_0x4beb17,{targetCellInfo:_0x31ef83,sourceRangeInfo:_0x4b426b}=_0x4006a2,{unitId:_0x38bf2d,subUnitId:_0x359188}=_0x31ef83,_0x1d1760=_0x4267d7[_0x5da844(0x3da)](_0x38bf2d);if(!_0x1d1760)return!0x1;let _0x215594=0x0;_0x1d1760['getSheets']()[_0x5da844(0x22c)](_0x2c34b5=>{const _0x1fb0fb=_0x5da844;var _0x368769,_0x504f8f;_0x215594+=(_0x504f8f=(_0x368769=_0x415f70[_0x1fb0fb(0x456)](_0x38bf2d,_0x2c34b5[_0x1fb0fb(0x404)]()))==null?void 0x0:_0x368769['size'])!=null?_0x504f8f:0x0;});const _0x32e9c1=(_0x455e33=_0x4173fd['getConfig'](_0x556295[_0x5da844(0x181)]))!=null?_0x455e33:{},{ls:_0xc7c5d,pbk:_0x5a4cb4}=_0x32e9c1;if(!_0x4842f8(_0xc7c5d,_0x5a4cb4))return!0x1;const _0x504649=_0x1d765d(_0x45e71b,_0xc7c5d,_0x5a4cb4)[_0x5da844(0x200)];if(_0x215594>=_0x504649)return!0x1;const _0x5b42cd=_0x4beb17[_0x5da844(0x40d)]||_0x2444f4[_0x5da844(0x1d2)](0x8),_0x2b86ad=(await _0x148de5[_0x5da844(0x338)]({'unitId':_0x38bf2d,'subUnitId':_0x359188,'pivotTableId':_0x5b42cd,'params':{'type':_0x5b1b05[_0x5da844(0x202)],'addPivotTable':{'sourceRangeInfo':_0x4b426b,'pivotTableId':_0x5b42cd}}}))['result']['addPivotTable'];if(!_0x2b86ad)return!0x1;const {view:_0x4bd4c3,isEmpty:_0x51ea7f,fieldsConfig:_0x2832f0,collectionConfig:_0x20b95b}=_0x2b86ad,_0x3dde61=[],_0x1de95f=[];if(_0xbe5843===_0x59cdf6[_0x5da844(0x19f)]){const _0xa5d06c=_0x1d1760[_0x5da844(0x400)]()[_0x5da844(0x31a)],_0x408367=_0x5cf8ff[_0x5da844(0x363)]({});_0x408367['id']=_0x4006a2[_0x5da844(0x25b)][_0x5da844(0x1d0)],_0x408367[_0x5da844(0x455)]=(_0x41ca71=_0x4006a2[_0x5da844(0x25b)][_0x5da844(0x328)])!=null?_0x41ca71:_0x1d1760[_0x5da844(0x3be)](''+_0xff551f['t']('sheets.tabs.sheet'));const _0x37479a={'index':_0xa5d06c,'sheet':_0x408367,'unitId':_0x38bf2d},_0x5ed1a5=_0x3d008a['InsertSheetUndoMutationFactory'](_0x311a16,_0x37479a);_0x3dde61[_0x5da844(0x3d3)]({'id':_0x3d008a[_0x5da844(0x37e)]['id'],'params':_0x5ed1a5}),_0x1de95f[_0x5da844(0x3d3)]({'id':_0x3d008a[_0x5da844(0x165)]['id'],'params':_0x37479a});}else{if(!_0x1d1760[_0x5da844(0x3db)](_0x359188))return!0x1;const _0x20d47c=_0x39b7a0(_0x311a16,new _0x2444f4['PivotView'](),_0x31ef83,!0x0);_0x1de95f[_0x5da844(0x3d3)](..._0x20d47c[_0x5da844(0x3ea)]),_0x3dde61[_0x5da844(0x3d3)](..._0x20d47c[_0x5da844(0x3c3)]);const _0x23ed52={'cellInfo':_0x31ef83,'view':_0x4bd4c3,'isEmpty':_0x51ea7f};if(!await _0x311a16[_0x5da844(0x191)](_0x28dbf0[_0x5da844(0x368)])[_0x5da844(0x342)]['fetchThroughAsyncInterceptors'](_0x42699f)(!0x0,_0x23ed52))return!0x1;const _0x1bcda1=_0x453490(_0x311a16,_0x23ed52);_0x1de95f[_0x5da844(0x3d3)](..._0x1bcda1[_0x5da844(0x3ea)]),_0x3dde61['push'](..._0x1bcda1['undos']);}return _0x1de95f[_0x5da844(0x3d3)]({'id':_0x55ee20['id'],'params':{'unitId':_0x31ef83[_0x5da844(0x26d)],'subUnitId':_0x31ef83['subUnitId'],'pivotTableId':_0x5b42cd,'pivotTableConfig':{'targetCellInfo':_0x31ef83,'sourceRangeInfo':_0x4b426b,'fieldsConfig':_0x2832f0},'collectionConfig':_0x20b95b}}),_0x3dde61[_0x5da844(0x3f9)]({'id':_0x5a7c3a['id'],'params':{'unitId':_0x38bf2d,'subUnitId':_0x359188,'pivotTableId':_0x5b42cd}}),_0x5cf8ff['sequenceExecute'](_0x1de95f,_0x5cfc56)&&_0x478d73[_0x5da844(0x30d)]({'unitID':_0x38bf2d,'undoMutations':_0x3dde61,'redoMutations':_0x1de95f}),!0x0;}},_0x2f4a42={'type':_0x5cf8ff[_0x217abe(0x3ee)]['COMMAND'],'id':_0x217abe(0x2f3),async 'handler'(_0x2805a1,_0x4f272a){const _0x3b0ef4=_0x217abe;if(!_0x4f272a)return!0x1;const _0xf671dc=_0x2805a1[_0x3b0ef4(0x191)](_0x5cf8ff['ICommandService']),_0xf007c2=_0x2805a1[_0x3b0ef4(0x191)](_0x28dbf0['SheetsPivotRPCService']),_0x71da80=_0x2805a1[_0x3b0ef4(0x191)](_0x5cf8ff[_0x3b0ef4(0x158)]),{pivotTableId:_0x26d367,fieldId:_0x272b13,area:_0xc56fa8,index:_0x3889c7,unitId:_0xaabb98,subUnitId:_0x450242}=_0x4f272a,_0x5b54f1=(await _0xf007c2[_0x3b0ef4(0x338)]({'unitId':_0xaabb98,'subUnitId':_0x450242,'pivotTableId':_0x26d367,'params':{'type':_0x5b1b05[_0x3b0ef4(0x21f)],'movePivotField':{'fieldId':_0x272b13,'area':_0xc56fa8,'index':_0x3889c7}}}))[_0x3b0ef4(0x401)][_0x3b0ef4(0x20d)];if(!_0x5b54f1)return!0x1;const {changesets:_0x127f74,view:_0x51032e,isEmpty:_0x45a3d6,pivotTableConfig:_0x2e7c7f}=_0x5b54f1,_0x126922=_0x2e7c7f['targetCellInfo'],_0x301633=new _0x2444f4[(_0x3b0ef4(0x2d2))]();_0x301633[_0x3b0ef4(0x3e9)](_0x51032e);const _0x44cf6a={'cellInfo':_0x126922,'view':_0x301633,'isEmpty':_0x45a3d6};if(!await _0x2805a1['get'](_0x28dbf0['SheetsPivotTableService'])[_0x3b0ef4(0x342)][_0x3b0ef4(0x1d1)](_0x42699f)(!0x0,_0x44cf6a))return!0x1;const _0x26ee60=_0x39b7a0(_0x2805a1,_0x301633,_0x126922,_0x45a3d6),_0x34e038=_0x453490(_0x2805a1,_0x44cf6a),{redos:_0x5ce396,undos:_0x2499d0}=_0x45171b(_0xf671dc,{'pivotTableId':_0x26d367,'unitId':_0xaabb98,'subUnitId':_0x450242},_0x127f74);return _0x5cf8ff[_0x3b0ef4(0x33f)]([..._0x26ee60['redos'],..._0x34e038[_0x3b0ef4(0x3ea)],..._0x5ce396],_0xf671dc),_0x71da80[_0x3b0ef4(0x30d)]({'unitID':_0xaabb98,'redoMutations':[..._0x26ee60[_0x3b0ef4(0x3ea)],..._0x34e038[_0x3b0ef4(0x3ea)],..._0x5ce396],'undoMutations':[..._0x26ee60[_0x3b0ef4(0x3c3)],..._0x34e038[_0x3b0ef4(0x3c3)],..._0x2499d0]}),!0x0;}},_0x7a70ac={'type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'id':_0x217abe(0x366),'handler'(_0x3b72f1,_0x59e1b9){const _0x45927d=_0x217abe;if(!_0x59e1b9)return!0x1;if(!!_0x3b72f1['get'](_0x5cf8ff['IConfigService'])[_0x45927d(0x2ec)](_0x243383))return!0x0;const {pivotTableId:_0x353324,targetCellPosition:_0x497963,unitId:_0x36185e,subUnitId:_0x1c95fd}=_0x59e1b9,_0x5c4b70=_0x3b72f1[_0x45927d(0x191)](_0x28dbf0[_0x45927d(0x3f2)]);if(!_0x5c4b70[_0x45927d(0x45b)](_0x59e1b9[_0x45927d(0x40d)]))return!0x1;const _0x5cf278=_0x5c4b70[_0x45927d(0x183)](_0x353324);if(!_0x5cf278)return!0x1;const _0x28e405=_0x5c4b70[_0x45927d(0x371)](_0x5cf278['unitId'],_0x59e1b9[_0x45927d(0x40d)]);if(!_0x28e405)return!0x1;const _0x252cd9=_0x5c4b70['getPivotTableConfig'](_0x5cf278[_0x45927d(0x26d)],_0x5cf278['subUnitId'],_0x353324);if(!_0x252cd9)return!0x1;const _0x2ca2d5=_0x5cf8ff[_0x45927d(0x2c1)][_0x45927d(0x1dc)](_0x252cd9);_0x2ca2d5['targetCellInfo']={'unitId':_0x36185e,'subUnitId':_0x1c95fd,'row':_0x497963[_0x45927d(0x2aa)],'col':_0x497963['col']};const _0xc22e5a=_0x28e405[_0x45927d(0x327)]();if(_0x5cf278[_0x45927d(0x1d0)]===_0x1c95fd&&_0x5cf278[_0x45927d(0x26d)]===_0x36185e)_0x5c4b70['setPivotTable'](_0x36185e,_0x1c95fd,_0x353324,_0x2ca2d5),_0x5c4b70[_0x45927d(0x235)]({'unitId':_0x36185e,'subUnitId':_0x1c95fd,'token':_0x353324,'type':_0x5da69e[_0x45927d(0x45d)]});else{_0x5c4b70['addDirtyPivotTable']({'unitId':_0x5cf278['unitId'],'subUnitId':_0x5cf278[_0x45927d(0x1d0)],'token':_0x353324,'type':_0x5da69e[_0x45927d(0x284)]}),_0x5c4b70[_0x45927d(0x380)](_0x5cf278['unitId'],_0x5cf278[_0x45927d(0x1d0)],_0x353324);const _0x4a1995=_0x5c4b70[_0x45927d(0x44c)](_0x353324,_0xc22e5a,_0x252cd9[_0x45927d(0x434)],_0x2ca2d5[_0x45927d(0x25b)]),_0xf9fdd6=new _0x2444f4[(_0x45927d(0x2cc))](_0x4a1995[_0x45927d(0x30a)],void 0x0,_0x353324);_0xf9fdd6['fromJSON'](_0x2ca2d5[_0x45927d(0x24f)]),_0x5c4b70[_0x45927d(0x348)](_0x36185e,_0x1c95fd,_0x353324,_0xf9fdd6,_0x2ca2d5),_0x5c4b70[_0x45927d(0x235)]({'unitId':_0x36185e,'subUnitId':_0x1c95fd,'token':_0x353324,'type':_0x5da69e[_0x45927d(0x3e3)],'pivotConfig':_0x2ca2d5});}return!0x0;}},_0x1d14e1={'type':_0x5cf8ff['CommandType'][_0x217abe(0x26f)],'id':_0x217abe(0x2ee),'handler':(_0x28917b,_0x582257)=>{const _0x513398=_0x217abe,_0x16d936=_0x28917b[_0x513398(0x191)](_0x5cf8ff[_0x513398(0x20e)]),_0xeb6ad1=_0x28917b[_0x513398(0x191)](_0x5cf8ff[_0x513398(0x158)]),_0x3fdfba=_0x28917b['get'](_0x28dbf0[_0x513398(0x390)]),_0x38feda=_0x28917b[_0x513398(0x191)](_0x5cf8ff['IUniverInstanceService']);if(!_0x582257)return!0x1;const _0x3f2f60=_0x3d008a[_0x513398(0x1cb)](_0x38feda);if(!_0x3f2f60)return!0x1;const {unitId:_0x1eece0,subUnitId:_0x387250,workbook:_0x54fe02}=_0x3f2f60,_0x36cab4=_0x3fdfba[_0x513398(0x19a)](_0x582257['originTargetInfo'][_0x513398(0x26d)],_0x582257['originTargetInfo'][_0x513398(0x1d0)],_0x582257[_0x513398(0x40d)]);if(!_0x36cab4)return!0x1;const _0x111ad7=_0x54fe02[_0x513398(0x3db)](_0x582257[_0x513398(0x25b)][_0x513398(0x1d0)]);if(!_0x111ad7)throw new Error(_0x513398(0x301));const _0x2f1077=_0x111ad7['getRowCount'](),_0x38870b=_0x111ad7[_0x513398(0x3b8)]();if(_0x582257['targetCellInfo'][_0x513398(0x2aa)]>_0x2f1077||_0x582257[_0x513398(0x25b)][_0x513398(0x1b1)]>_0x38870b)throw new Error(_0x513398(0x1ab));const _0xd40a5c=[{'id':_0x7a70ac['id'],'params':{'unitId':_0x1eece0,'subUnitId':_0x582257[_0x513398(0x25b)][_0x513398(0x1d0)],'pivotTableId':_0x582257['pivotTableId'],'targetCellPosition':{'row':_0x582257['targetCellInfo'][_0x513398(0x2aa)],'col':_0x582257[_0x513398(0x25b)][_0x513398(0x1b1)]}}}],_0x71f20c=[{'id':_0x7a70ac['id'],'params':{'unitId':_0x1eece0,'subUnitId':_0x387250,'pivotTableId':_0x582257[_0x513398(0x40d)],'targetCellPosition':{'row':_0x36cab4[_0x513398(0x25b)][_0x513398(0x2aa)],'col':_0x36cab4[_0x513398(0x25b)][_0x513398(0x1b1)]}}}];return _0x5cf8ff[_0x513398(0x33f)](_0xd40a5c,_0x16d936)&&_0xeb6ad1[_0x513398(0x30d)]({'unitID':_0x1eece0,'undoMutations':_0x71f20c,'redoMutations':_0xd40a5c}),!0x0;}},_0x27f768={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':_0x217abe(0x3d6),async 'handler'(_0xda0f4e,_0x50373b){const _0x152d00=_0x217abe;var _0x311f7e;if(!_0x50373b)return!0x1;const _0x1ca912=_0xda0f4e[_0x152d00(0x191)](_0x5cf8ff['IUniverInstanceService']),_0x4a1a4a=_0x3d008a[_0x152d00(0x1cb)](_0x1ca912);if(!_0x4a1a4a)return!0x1;const {unitId:_0x1cc73a,subUnitId:_0x21b60e,workbook:_0x294620}=_0x4a1a4a,{row:_0x272612,col:_0x59173e}=_0x50373b,_0x58d051=_0xda0f4e[_0x152d00(0x191)](_0x28dbf0[_0x152d00(0x3eb)]),_0x241a33=_0x58d051[_0x152d00(0x3c7)](_0x1cc73a,_0x21b60e,_0x272612,_0x59173e);if(!_0x241a33)return!0x1;const _0x4afc18=(_0x311f7e=_0x58d051['getPivotItemRenderInfoCache'](_0x1cc73a,_0x21b60e,_0x241a33))==null?void 0x0:_0x311f7e[_0x152d00(0x416)];if(!_0x4afc18)return!0x1;const _0x424fa9=_0xda0f4e[_0x152d00(0x191)](_0x28dbf0['SheetsPivotTableConfigModel'])['getPivotTableConfig'](_0x1cc73a,_0x21b60e,_0x241a33);if(!_0x424fa9)return!0x1;const {rowInfo:_0x1441f5,colInfo:_0x51385e}=_0x4afc18,_0x5140ad=_0x1441f5[_0x272612][_0x152d00(0x334)],_0x1d3940=_0x51385e[_0x59173e]['paths'],_0x3ba790=_0x1441f5[_0x272612][_0x152d00(0x402)],_0x2efd17=_0x51385e[_0x59173e][_0x152d00(0x402)],_0x3a91c7=_0x5140ad['concat'](_0x1d3940),_0x118fe4=_0x424fa9[_0x152d00(0x24f)][_0x152d00(0x44a)][_0x152d00(0x2cf)](0x0,_0x3ba790),_0x905e43=_0x424fa9[_0x152d00(0x24f)][_0x152d00(0x21b)][_0x152d00(0x2cf)](0x0,_0x2efd17),_0x7f9c93=_0x118fe4[_0x152d00(0x1a0)](_0x905e43),_0x48eb20=_0x3a91c7['map']((_0x2e8908,_0x16ae13)=>[_0x2e8908,_0x7f9c93[_0x16ae13]]),_0x177b7e=(await _0xda0f4e[_0x152d00(0x191)](_0x28dbf0[_0x152d00(0x1c9)])['getPivotDisplayConfig']({'unitId':_0x1cc73a,'subUnitId':_0x21b60e,'pivotTableId':_0x241a33,'params':{'type':_0x5b1b05[_0x152d00(0x3d5)],'drillDown':{'tuple':_0x48eb20}}}))[_0x152d00(0x401)]['drillDown'];if(!_0x177b7e)return!0x1;const {indexes:_0x4a2efc,range:_0x5be6d2,sourceUnitId:_0x59e921,sourceSubUnitId:_0x1bee70,formatMap:_0x1c57f5}=_0x177b7e,{startRow:_0x45279a,endRow:_0xde06fe,startColumn:_0x142cc7,endColumn:_0xcf3b3a}=_0x5be6d2,_0x166245=new _0x5cf8ff['ObjectMatrix'](),_0x7e4b82=_0xde06fe-_0x45279a,_0x1893d8=_0xcf3b3a-_0x142cc7,_0x1cb330={},_0x361695=_0x3d008a[_0x152d00(0x1cb)](_0x1ca912,{'unitId':_0x59e921,'subUnitId':_0x1bee70});if(!_0x361695)return!0x1;const _0x4f83e1=_0x564739[_0x152d00(0x1d6)],_0xabb4fc=_0x564739[_0x152d00(0x268)],_0x47aa47=_0x564739[_0x152d00(0x268)],_0x503221=_0x294620['getStyles']()[_0x152d00(0x364)](_0x4f83e1),_0x384914=_0x294620[_0x152d00(0x42f)]()['setValue'](_0xabb4fc),_0x5ebb45=_0x294620[_0x152d00(0x42f)]()[_0x152d00(0x364)](_0x47aa47),{worksheet:_0x50e4a9}=_0x361695;let _0x882f97=0x0;const _0x59d3a0=0x1;_0x4a2efc[_0x152d00(0x22c)](_0x565f27=>{const _0x2e044a=_0x152d00;for(let _0x418913=0x0;_0x418913<=_0xcf3b3a-_0x142cc7;_0x418913++)_0x166245[_0x2e044a(0x364)](_0x882f97,_0x418913,_0x50e4a9['getCellRaw'](_0x565f27+_0x5be6d2[_0x2e044a(0x1f3)]+_0x59d3a0,_0x418913));_0x882f97++;});for(let _0x27b2f5=_0x142cc7;_0x27b2f5<=_0xcf3b3a;_0x27b2f5++){const _0x4010f3=_0x50e4a9['getCellRaw'](_0x45279a,_0x27b2f5);_0x1cb330[_0x45279a]||(_0x1cb330[_0x45279a]={}),_0x1cb330[_0x45279a][_0x27b2f5]={..._0x4010f3,'s':_0x503221};}let _0x1ce366=0x1;const _0x13c4af={},_0x3b53b2={};_0x166245[_0x152d00(0x175)]((_0x4b8b02,_0x52cff5)=>{const _0x44d5af=_0x152d00;_0x52cff5[_0x44d5af(0x22c)](_0x1cbc9d=>{const _0x290866=_0x44d5af,_0x554c4f=_0x166245[_0x290866(0x2bd)](_0x4b8b02,_0x1cbc9d);if(_0x1cb330[_0x1ce366]||(_0x1cb330[_0x1ce366]={}),_0x1cb330[_0x1ce366][_0x1cbc9d]={..._0x554c4f,'s':_0x1ce366%0x2===0x0?_0x5ebb45:_0x384914},_0x1c57f5[_0x1cbc9d]&&_0x4b8b02>=0x0){const _0x5b6e52=_0x1ce366%0x2===0x0;let _0x122295=_0x5b6e52?_0x3b53b2[_0x1cbc9d]:_0x13c4af[_0x1cbc9d];_0x122295||(_0x122295=_0x294620['getStyles']()[_0x290866(0x364)]({..._0x5b6e52?_0x47aa47:_0xabb4fc,'n':{'pattern':_0x1c57f5[_0x1cbc9d]}}),_0x5b6e52?_0x3b53b2[_0x1cbc9d]=_0x122295:_0x13c4af[_0x1cbc9d]=_0x122295),_0x1cb330[_0x1ce366][_0x1cbc9d]['s']=_0x122295;}}),_0x1ce366++;});const _0x5e5128=new _0x5cf8ff[(_0x152d00(0x27d))](_0x1cb330),_0x5eccd9={};_0x5e5128[_0x152d00(0x470)]((_0x1f4383,_0x179ae9,_0x39f9b8)=>{_0x5eccd9[_0x1f4383]||(_0x5eccd9[_0x1f4383]={}),_0x5eccd9[_0x1f4383][_0x179ae9]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x11c48b=[],_0x4797a2=[],_0x21272c=_0x294620['getSheets']()['length'],_0x9dd4a6=_0x5cf8ff[_0x152d00(0x363)]({'rowCount':Math[_0x152d00(0x3bc)](_0x5cf8ff[_0x152d00(0x17b)],_0x7e4b82+0xa),'columnCount':Math[_0x152d00(0x3bc)](_0x5cf8ff[_0x152d00(0x238)],_0x1893d8+0x5)}),_0x174880=_0xda0f4e[_0x152d00(0x191)](_0x5cf8ff['LocaleService']);_0x9dd4a6['id']=_0x5cf8ff['generateRandomId'](),_0x9dd4a6[_0x152d00(0x455)]=_0x294620['generateNewSheetName'](''+_0x174880['t'](_0x152d00(0x429)));const _0x3986f9={'index':_0x21272c,'sheet':_0x9dd4a6,'unitId':_0x1cc73a},_0x161098=_0x3d008a[_0x152d00(0x39f)](_0xda0f4e,_0x3986f9);_0x4797a2[_0x152d00(0x3d3)]({'id':_0x3d008a[_0x152d00(0x165)]['id'],'params':_0x3986f9}),_0x11c48b['push']({'id':_0x3d008a[_0x152d00(0x37e)]['id'],'params':_0x161098}),_0x4797a2[_0x152d00(0x3d3)]({'id':_0x3d008a[_0x152d00(0x2ea)]['id'],'params':{'unitId':_0x1cc73a,'subUnitId':_0x9dd4a6['id'],'cellValue':_0x1cb330}}),_0x11c48b[_0x152d00(0x3f9)]({'id':_0x3d008a['SetRangeValuesMutation']['id'],'params':{'unitId':_0x1cc73a,'subUnitId':_0x9dd4a6['id'],'cellValue':_0x5eccd9}});const _0xbab867={'startRow':0x0,'startColumn':0x0,'endRow':_0x1ce366-0x1,'endColumn':_0xcf3b3a};_0x4797a2[_0x152d00(0x3d3)]({'id':_0x1074c0[_0x152d00(0x33b)]['id'],'params':{'unitId':_0x1cc73a,'subUnitId':_0x9dd4a6['id'],'range':_0xbab867}}),_0x11c48b[_0x152d00(0x3f9)]({'id':_0x1074c0[_0x152d00(0x1d5)]['id'],'params':{'unitId':_0x1cc73a,'subUnitId':_0x9dd4a6['id']}});const _0x11adfd=_0xda0f4e['get'](_0x5cf8ff['ICommandService']);return _0x5cf8ff[_0x152d00(0x33f)](_0x4797a2,_0x11adfd)&&_0xda0f4e[_0x152d00(0x191)](_0x5cf8ff[_0x152d00(0x158)])[_0x152d00(0x30d)]({'unitID':_0x1cc73a,'undoMutations':_0x11c48b,'redoMutations':_0x4797a2}),!0x0;}},_0x2f77da={'type':_0x5cf8ff['CommandType'][_0x217abe(0x26f)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x126567,_0x3801a0){const _0x1d516e=_0x217abe;if(!_0x3801a0)return!0x1;const _0x1205d5=_0x126567[_0x1d516e(0x191)](_0x5cf8ff[_0x1d516e(0x20e)]),_0x4cfd35=_0x126567['get'](_0x28dbf0['SheetsPivotRPCService']),_0x3384d7=_0x126567[_0x1d516e(0x191)](_0x5cf8ff[_0x1d516e(0x158)]),{pivotTableId:_0x3c1206,fieldIds:_0x4ca30b,unitId:_0x236546,subUnitId:_0x535a43}=_0x3801a0,_0x2318cf=(await _0x4cfd35[_0x1d516e(0x338)]({'unitId':_0x236546,'subUnitId':_0x535a43,'pivotTableId':_0x3c1206,'params':{'type':_0x5b1b05[_0x1d516e(0x32a)],'removePivotField':{'fieldIds':_0x4ca30b}}}))[_0x1d516e(0x401)]['removePivotField'];if(!_0x2318cf)return!0x1;const {view:_0x2e47c2,changesets:_0x4e69f7,isEmpty:_0x297105,pivotTableConfig:_0x57dfda}=_0x2318cf,_0x14b24e=_0x57dfda[_0x1d516e(0x25b)],_0x58b223=new _0x2444f4[(_0x1d516e(0x2d2))]();_0x58b223[_0x1d516e(0x3e9)](_0x2e47c2);const _0x17487e={'cellInfo':_0x14b24e,'view':_0x58b223,'isEmpty':_0x297105};if(!await _0x126567[_0x1d516e(0x191)](_0x28dbf0[_0x1d516e(0x368)])[_0x1d516e(0x342)]['fetchThroughAsyncInterceptors'](_0x42699f)(!0x0,_0x17487e))return!0x1;const _0x3ac28b=_0x39b7a0(_0x126567,_0x58b223,_0x14b24e,_0x297105),_0x24d8c4=_0x453490(_0x126567,_0x17487e),{redos:_0x5e7c47,undos:_0x13613f}=_0x45171b(_0x1205d5,{'pivotTableId':_0x3c1206,'unitId':_0x236546,'subUnitId':_0x535a43},_0x4e69f7);return _0x5cf8ff['sequenceExecute']([..._0x3ac28b[_0x1d516e(0x3ea)],..._0x24d8c4[_0x1d516e(0x3ea)],..._0x5e7c47],_0x1205d5),_0x3384d7[_0x1d516e(0x30d)]({'unitID':_0x236546,'redoMutations':[..._0x3ac28b['redos'],..._0x24d8c4['redos'],..._0x5e7c47],'undoMutations':[..._0x3ac28b[_0x1d516e(0x3c3)],..._0x24d8c4[_0x1d516e(0x3c3)],..._0x13613f]}),!0x0;}},_0x15803c={'type':_0x5cf8ff['CommandType'][_0x217abe(0x26f)],'id':_0x217abe(0x453),async 'handler'(_0x148bac,_0x89653f){const _0x31ac36=_0x217abe;if(!_0x89653f)return!0x1;const _0x38cae8=_0x148bac[_0x31ac36(0x191)](_0x5cf8ff[_0x31ac36(0x20e)]),_0x5f47b0=_0x148bac[_0x31ac36(0x191)](_0x5cf8ff['IUndoRedoService']),_0x474f07=_0x148bac[_0x31ac36(0x191)](_0x28dbf0['SheetsPivotRPCService']),{resetArea:_0x14a0ca,pivotTableId:_0xd7aa77,unitId:_0x207d65,subUnitId:_0x5c625e}=_0x89653f,_0xe881f8=(await _0x474f07[_0x31ac36(0x338)]({'unitId':_0x207d65,'subUnitId':_0x5c625e,'pivotTableId':_0xd7aa77,'params':{'type':_0x5b1b05['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0xd7aa77,'resetArea':_0x14a0ca}}}))[_0x31ac36(0x401)][_0x31ac36(0x217)];if(!_0xe881f8)return!0x1;const {changesets:_0x30addf}=_0xe881f8,{redos:_0x3b5de7,undos:_0xc51f13}=_0x45171b(_0x38cae8,{'pivotTableId':_0xd7aa77,'unitId':_0x207d65,'subUnitId':_0x5c625e},_0x30addf);return _0x5cf8ff['sequenceExecute'](_0x3b5de7,_0x38cae8),_0x5f47b0[_0x31ac36(0x30d)]({'unitID':_0x207d65,'redoMutations':_0x3b5de7,'undoMutations':_0xc51f13}),!0x0;}},_0xaf7849={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':_0x217abe(0x353),async 'handler'(_0x2b6619,_0x1b78b4){const _0x7196c7=_0x217abe,_0x50c1c5=_0x2b6619[_0x7196c7(0x191)](_0x5cf8ff['ICommandService']),_0x5d9c93=_0x2b6619[_0x7196c7(0x191)](_0x28dbf0[_0x7196c7(0x1c9)]),_0x5a47bc=_0x2b6619[_0x7196c7(0x191)](_0x28dbf0[_0x7196c7(0x3eb)]),_0x30fa7d=_0x2b6619['get'](_0x5cf8ff[_0x7196c7(0x198)]),_0x16d1c6=_0x2b6619[_0x7196c7(0x191)](_0x5cf8ff[_0x7196c7(0x28e)]),_0x38cabc=_0x2b6619[_0x7196c7(0x191)](_0x5cf8ff[_0x7196c7(0x158)]);if(!_0x1b78b4)return!0x1;const {unitId:_0x26587f,subUnitId:_0x42c345,row:_0x5c7317,col:_0x3689ea,collapse:_0x2e0759}=_0x1b78b4,_0x27a9d0=_0x30fa7d['getUnit'](_0x26587f);if(!_0x27a9d0||!_0x27a9d0[_0x7196c7(0x3db)](_0x42c345))return!0x1;const _0x29aa7d=_0x5a47bc['getPivotTableIdByCell'](_0x26587f,_0x42c345,_0x5c7317,_0x3689ea);if(!_0x29aa7d)return!0x1;const _0x4798e2=_0x5a47bc['getPivotItemRenderInfoCache'](_0x26587f,_0x42c345,_0x29aa7d);if(!_0x4798e2)return!0x1;const _0x30a098=_0x5cf8ff[_0x7196c7(0x396)](_0x5c7317,_0x3689ea),{rangesInfo:_0x2ae301,areaInfo:_0x1bc32f,headerMap:_0x46bb72}=_0x4798e2;if(!_0x2ae301||!_0x1bc32f||!_0x46bb72)return!0x1;const _0x512796=Object['keys'](_0x2ae301)[_0x7196c7(0x3a6)](_0x428ffe=>_0x2ae301[_0x428ffe][_0x7196c7(0x3ad)](_0x17caed=>_0x5cf8ff[_0x7196c7(0x1d8)][_0x7196c7(0x381)](_0x17caed,_0x30a098)));let _0x59c8b6;_0x512796===_0x7196c7(0x2b0)?_0x59c8b6=_0x46bb72[_0x7196c7(0x34f)][_0x3689ea]:_0x512796===_0x7196c7(0x253)&&(_0x59c8b6=_0x46bb72['colHeaderMap'][_0x5c7317]);const _0xa524f2=_0x59c8b6==null?void 0x0:_0x59c8b6['tableFieldId'],_0x2d94c2=_0x5a47bc[_0x7196c7(0x436)](_0x26587f,_0x42c345,_0x5c7317,_0x3689ea);let _0x2e7813=_0x2d94c2==null?void 0x0:_0x2d94c2['v'];if(_0x2e7813===_0x16d1c6['t'](_0x7196c7(0x161))&&(_0x2e7813=_0x2444f4['GlobalConfig'][_0x7196c7(0x35b)]),_0x2e7813==null||!_0x29aa7d||!_0xa524f2)return!0x1;const _0xa3f1b6=await _0x5d9c93[_0x7196c7(0x338)]({'unitId':_0x26587f,'subUnitId':_0x42c345,'pivotTableId':_0x29aa7d,'params':{'type':_0x5b1b05[_0x7196c7(0x2d4)],'setPivotCollapse':{'tableFieldId':_0xa524f2,'collapse':_0x2e0759,'item':_0x2e7813}}}),_0x43d686=_0xa3f1b6==null?void 0x0:_0xa3f1b6[_0x7196c7(0x401)][_0x7196c7(0x39c)];if(!_0x43d686)return!0x1;const {view:_0x3cb6e3,pivotTableConfig:_0x257ea1,isEmpty:_0x4502af,changesets:_0x43fbf3}=_0x43d686,_0x217c5d=new _0x2444f4[(_0x7196c7(0x2d2))]();_0x217c5d[_0x7196c7(0x3e9)](_0x3cb6e3);const _0x310a7a=_0x257ea1['targetCellInfo'],_0x234513={'cellInfo':_0x310a7a,'view':_0x217c5d,'isEmpty':_0x4502af};if(!await _0x2b6619[_0x7196c7(0x191)](_0x28dbf0[_0x7196c7(0x368)])[_0x7196c7(0x342)][_0x7196c7(0x1d1)](_0x42699f)(!0x0,_0x234513))return!0x1;const _0x1a9627=_0x39b7a0(_0x2b6619,_0x217c5d,_0x310a7a,_0x4502af),_0x4ec54f=_0x453490(_0x2b6619,_0x234513),{redos:_0x1c84ef,undos:_0xf90959}=_0x45171b(_0x50c1c5,{'pivotTableId':_0x29aa7d,'unitId':_0x26587f,'subUnitId':_0x42c345},_0x43fbf3);return _0x5cf8ff[_0x7196c7(0x33f)]([..._0x1a9627[_0x7196c7(0x3ea)],..._0x4ec54f[_0x7196c7(0x3ea)],..._0x1c84ef],_0x50c1c5),_0x38cabc[_0x7196c7(0x30d)]({'unitID':_0x26587f,'redoMutations':[..._0x1a9627[_0x7196c7(0x3ea)],..._0x4ec54f[_0x7196c7(0x3ea)],..._0x1c84ef],'undoMutations':[..._0x1a9627[_0x7196c7(0x3c3)],..._0x4ec54f[_0x7196c7(0x3c3)],..._0xf90959]}),!0x0;}},_0x3f7d9a={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':_0x217abe(0x435),async 'handler'(_0x534df7,_0x5e75f0){const _0x2903db=_0x217abe;if(!_0x5e75f0)return!0x1;const _0x573402=_0x534df7[_0x2903db(0x191)](_0x5cf8ff['ICommandService']),_0x3f15f3=_0x534df7[_0x2903db(0x191)](_0x5cf8ff[_0x2903db(0x158)]),_0x279c49=_0x534df7[_0x2903db(0x191)](_0x28dbf0['SheetsPivotRPCService']),{pivotTableConfig:_0x43da0e,pivotTableId:_0x1cc231,unitId:_0x269624,subUnitId:_0x3b3793}=_0x5e75f0,_0x230dab=(await _0x279c49['getPivotDisplayConfig']({'unitId':_0x269624,'subUnitId':_0x3b3793,'pivotTableId':_0x1cc231,'params':{'type':_0x5b1b05[_0x2903db(0x40e)],'setPivotTableConfig':{'pivotTableId':_0x1cc231,'pivotTableConfig':_0x43da0e}}}))['result'][_0x2903db(0x22f)];if(!_0x230dab)return!0x1;const {changesets:_0x733193}=_0x230dab,{redos:_0x289ac5,undos:_0x57230c}=_0x45171b(_0x573402,{'pivotTableId':_0x1cc231,'unitId':_0x269624,'subUnitId':_0x3b3793},_0x733193);return _0x5cf8ff[_0x2903db(0x33f)](_0x289ac5,_0x573402),_0x3f15f3[_0x2903db(0x30d)]({'unitID':_0x269624,'redoMutations':_0x289ac5,'undoMutations':_0x57230c}),!0x0;}},_0xacc2d7={'type':_0x5cf8ff[_0x217abe(0x3ee)]['COMMAND'],'id':_0x217abe(0x350),async 'handler'(_0x1f696e,_0x3a81e5){const _0x263ba0=_0x217abe;if(!_0x3a81e5)return!0x1;const _0x8223e2=_0x1f696e[_0x263ba0(0x191)](_0x5cf8ff[_0x263ba0(0x20e)]),{pivotTableId:_0x45a066,tableFieldId:_0x1fb81c,items:_0x4a2e4f,unitId:_0x2c21ff,subUnitId:_0x4451de,isAll:_0x49ee2e}=_0x3a81e5,_0x56dd8a=_0x1f696e[_0x263ba0(0x191)](_0x28dbf0[_0x263ba0(0x1c9)]),_0x31c726=_0x1f696e[_0x263ba0(0x191)](_0x5cf8ff[_0x263ba0(0x158)]),_0x3b7926=(await _0x56dd8a[_0x263ba0(0x338)]({'unitId':_0x2c21ff,'subUnitId':_0x4451de,'pivotTableId':_0x45a066,'params':{'type':_0x5b1b05[_0x263ba0(0x1b4)],'setPivotFilter':{'tableFieldId':_0x1fb81c,'items':_0x4a2e4f,'isAll':_0x49ee2e}}}))[_0x263ba0(0x401)][_0x263ba0(0x2b3)];if(!_0x3b7926)return!0x1;const {changesets:_0x2122ef,pivotTableConfig:_0x2054db,isEmpty:_0x1883b4,view:_0xae1d8e}=_0x3b7926,_0x55f049=_0x2054db[_0x263ba0(0x25b)],_0x5629f8=new _0x2444f4[(_0x263ba0(0x2d2))]();_0x5629f8[_0x263ba0(0x3e9)](_0xae1d8e);const _0x201ff2={'cellInfo':_0x55f049,'view':_0x5629f8,'isEmpty':_0x1883b4};if(!await _0x1f696e[_0x263ba0(0x191)](_0x28dbf0['SheetsPivotTableService'])['asyncInterceptor'][_0x263ba0(0x1d1)](_0x42699f)(!0x0,_0x201ff2))return!0x1;const _0x542468=_0x39b7a0(_0x1f696e,_0x5629f8,_0x55f049,_0x1883b4),_0x2e51c5=_0x453490(_0x1f696e,_0x201ff2),{undos:_0x5ddfc5,redos:_0x5aa944}=_0x45171b(_0x8223e2,{'pivotTableId':_0x45a066,'unitId':_0x2c21ff,'subUnitId':_0x4451de},_0x2122ef);return _0x5cf8ff[_0x263ba0(0x33f)]([..._0x542468[_0x263ba0(0x3ea)],..._0x2e51c5[_0x263ba0(0x3ea)],..._0x5aa944],_0x8223e2),_0x31c726[_0x263ba0(0x30d)]({'unitID':_0x2c21ff,'redoMutations':[..._0x542468[_0x263ba0(0x3ea)],..._0x2e51c5[_0x263ba0(0x3ea)],..._0x5aa944],'undoMutations':[..._0x542468['undos'],..._0x2e51c5[_0x263ba0(0x3c3)],..._0x5ddfc5]}),!0x0;}},_0x1e3a37={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x57d9b0,_0x2d11c8){const _0x3e26c0=_0x217abe;if(!_0x2d11c8)return!0x1;const _0x1c8b14=_0x57d9b0[_0x3e26c0(0x191)](_0x5cf8ff[_0x3e26c0(0x20e)]),_0xae293c=_0x57d9b0[_0x3e26c0(0x191)](_0x5cf8ff['IUndoRedoService']),_0xe39903=_0x57d9b0['get'](_0x28dbf0[_0x3e26c0(0x1c9)]),{info:_0x388dac,tableFieldId:_0xee076a,pivotTableId:_0x5107ed,unitId:_0x3e80d2,subUnitId:_0x44291b}=_0x2d11c8,_0x583c75=(await _0xe39903[_0x3e26c0(0x338)]({'unitId':_0x3e80d2,'subUnitId':_0x44291b,'pivotTableId':_0x5107ed,'params':{'type':_0x5b1b05[_0x3e26c0(0x448)],'setPivotSort':{'tableFieldId':_0xee076a,'info':_0x388dac}}}))[_0x3e26c0(0x401)]['setPivotSort'];if(!_0x583c75)return!0x1;const {changesets:_0x4fd621}=_0x583c75,{redos:_0x33a4b5,undos:_0x3d20ee}=_0x45171b(_0x1c8b14,{'pivotTableId':_0x5107ed,'unitId':_0x3e80d2,'subUnitId':_0x44291b},_0x4fd621);return _0x5cf8ff[_0x3e26c0(0x33f)](_0x33a4b5,_0x1c8b14),_0xae293c[_0x3e26c0(0x30d)]({'unitID':_0x3e80d2,'redoMutations':_0x33a4b5,'undoMutations':_0x3d20ee}),!0x0;}},_0x26a432={'type':_0x5cf8ff['CommandType'][_0x217abe(0x26f)],'id':_0x217abe(0x278),async 'handler'(_0x303d50,_0x43d888){const _0x2b2b61=_0x217abe;if(!_0x43d888)return!0x1;const _0x3fe35d=_0x303d50[_0x2b2b61(0x191)](_0x5cf8ff['ICommandService']),{pivotTableId:_0x276e77,fieldId:_0x14e093,valueFilterInfo:_0x43634d,unitId:_0x2df7ea,subUnitId:_0x56df48}=_0x43d888,_0x26e763=_0x303d50[_0x2b2b61(0x191)](_0x28dbf0[_0x2b2b61(0x1c9)]),_0x2a4473=_0x303d50[_0x2b2b61(0x191)](_0x5cf8ff[_0x2b2b61(0x158)]),_0x50d3cb=(await _0x26e763[_0x2b2b61(0x338)]({'unitId':_0x2df7ea,'subUnitId':_0x56df48,'pivotTableId':_0x276e77,'params':{'type':_0x5b1b05[_0x2b2b61(0x424)],'setValuePivotFilter':{'tableFieldId':_0x14e093,'filterInfo':_0x43634d}}}))[_0x2b2b61(0x401)][_0x2b2b61(0x31d)];if(!_0x50d3cb)return!0x1;const {changesets:_0x2024c8,pivotTableConfig:_0x56279c,isEmpty:_0x17515a,view:_0x5b00ef}=_0x50d3cb,_0x8f651f=_0x56279c['targetCellInfo'],_0x5947b8=new _0x2444f4['PivotView']();_0x5947b8[_0x2b2b61(0x3e9)](_0x5b00ef);const _0x360034={'cellInfo':_0x8f651f,'view':_0x5947b8,'isEmpty':_0x17515a};if(!await _0x303d50[_0x2b2b61(0x191)](_0x28dbf0[_0x2b2b61(0x368)])[_0x2b2b61(0x342)][_0x2b2b61(0x1d1)](_0x42699f)(!0x0,_0x360034))return!0x1;const _0xc6d53e=_0x39b7a0(_0x303d50,_0x5947b8,_0x8f651f,_0x17515a),_0x4a4ee2=_0x453490(_0x303d50,_0x360034),{undos:_0x8cb6c1,redos:_0x4abd73}=_0x45171b(_0x3fe35d,{'pivotTableId':_0x276e77,'unitId':_0x2df7ea,'subUnitId':_0x56df48},_0x2024c8);return _0x5cf8ff[_0x2b2b61(0x33f)]([..._0xc6d53e['redos'],..._0x4a4ee2[_0x2b2b61(0x3ea)],..._0x4abd73],_0x3fe35d),_0x2a4473['pushUndoRedo']({'unitID':_0x2df7ea,'redoMutations':[..._0xc6d53e[_0x2b2b61(0x3ea)],..._0x4a4ee2[_0x2b2b61(0x3ea)],..._0x4abd73],'undoMutations':[..._0xc6d53e[_0x2b2b61(0x3c3)],..._0x4a4ee2['undos'],..._0x8cb6c1]}),!0x0;}},_0x4cad42={'id':_0x217abe(0x3a0),'type':_0x5cf8ff['CommandType'][_0x217abe(0x240)],'handler':(_0x397b97,_0x117241)=>{const _0x5140ed=_0x217abe;if(!_0x117241)return!0x1;if(!!_0x397b97['get'](_0x5cf8ff[_0x5140ed(0x1b0)])[_0x5140ed(0x2ec)](_0x243383))return!0x0;const {unitId:_0x388497,subUnitId:_0x34141e,pivotTableId:_0x10bd20,tableFieldId:_0x4bae27,dateType:_0x2ef777}=_0x117241,_0x25752d=_0x397b97[_0x5140ed(0x191)](_0x28dbf0[_0x5140ed(0x3f2)]),_0x2de217=_0x25752d['getPivotTableInstance'](_0x10bd20);if(!_0x2de217)return!0x1;const _0xbf52e4=_0x2de217['getDataFieldByTableId'](_0x4bae27);if(!_0xbf52e4)return!0x1;const _0x42725c=_0xbf52e4[_0x5140ed(0x441)](),_0x4ba6bb=_0x2de217[_0x5140ed(0x27e)](_0x42725c),_0x31ad76=(_0x4ba6bb==null?void 0x0:_0x4ba6bb[_0x5140ed(0x2e5)]())+'\x20'+_0xdfdb9a(_0x397b97,_0x2ef777);_0x25752d['getCollection'](_0x388497,_0x10bd20)[_0x5140ed(0x469)](_0xbf52e4['id'],_0x31ad76);const _0x39cbc3=_0x2de217[_0x5140ed(0x330)](_0x4bae27);if(!_0x39cbc3)return!0x1;_0x2de217[_0x5140ed(0x1db)](_0x39cbc3[_0x5140ed(0x30c)](),_0x31ad76),_0xbf52e4[_0x5140ed(0x3bd)](_0x2ef777);const _0x40852b=_0x25752d[_0x5140ed(0x19a)](_0x388497,_0x34141e,_0x10bd20);return _0x25752d['addDirtyPivotTable']({'unitId':_0x388497,'subUnitId':_0x34141e,'token':_0x10bd20,'type':_0x5da69e[_0x5140ed(0x45d)],'pivotConfig':_0x40852b}),!0x0;}},_0x536085={'id':_0x217abe(0x290),'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'handler':(_0x48eb44,_0x2b8bdc)=>{const _0x407a57=_0x217abe;if(!_0x2b8bdc)return!0x1;const _0x124d05=_0x48eb44[_0x407a57(0x191)](_0x5cf8ff[_0x407a57(0x158)]),{unitId:_0x50a028,subUnitId:_0x22b16b,pivotTableId:_0x526c21,tableFieldId:_0xcbd86d}=_0x2b8bdc,_0x550f93=[],_0x90f93e=[],_0x1073e1=_0x48eb44[_0x407a57(0x191)](_0x28dbf0[_0x407a57(0x390)]),_0x21df04=_0x1073e1[_0x407a57(0x371)](_0x50a028,_0x526c21),_0xc4893a=_0x1073e1[_0x407a57(0x19a)](_0x50a028,_0x22b16b,_0x526c21);if(!(_0xc4893a!=null&&_0xc4893a[_0x407a57(0x24f)][_0x407a57(0x15e)]))return!0x1;const _0x53f6e6=Object[_0x407a57(0x258)](_0xc4893a[_0x407a57(0x24f)][_0x407a57(0x15e)])[_0x407a57(0x3a6)](_0x288f61=>_0x288f61['id']===_0xcbd86d);if(!_0x53f6e6)return!0x1;const _0x3b56be=_0x53f6e6['dataFieldId'];if(!(_0x21df04!=null&&_0x21df04[_0x407a57(0x357)]))return!0x1;const _0x22bfa0=Object[_0x407a57(0x258)](_0x21df04==null?void 0x0:_0x21df04[_0x407a57(0x357)])[_0x407a57(0x3a6)](_0x2ddd63=>_0x2ddd63['id']===_0x3b56be);if(!_0x22bfa0)return!0x1;_0x2444f4['isDateGroupFieldJSON'](_0x22bfa0)&&_0x550f93[_0x407a57(0x3d3)]({'id':_0x4cad42['id'],'params':{..._0x2b8bdc,'dateType':_0x22bfa0[_0x407a57(0x410)]}}),_0x90f93e[_0x407a57(0x3d3)]({'id':_0x4cad42['id'],'params':{..._0x2b8bdc}});const _0x57ffb7=_0x48eb44[_0x407a57(0x191)](_0x5cf8ff[_0x407a57(0x20e)]);return _0x5cf8ff[_0x407a57(0x33f)](_0x90f93e,_0x57ffb7)&&_0x124d05[_0x407a57(0x30d)]({'unitID':_0x50a028,'undoMutations':_0x550f93,'redoMutations':_0x90f93e}),!0x0;}},_0x417def={'type':_0x5cf8ff['CommandType']['COMMAND'],'id':_0x217abe(0x315),async 'handler'(_0x44ab79,_0x58f2b3){const _0x5e4e51=_0x217abe;if(!_0x58f2b3)return!0x1;const _0x2305db=_0x44ab79[_0x5e4e51(0x191)](_0x5cf8ff[_0x5e4e51(0x20e)]),_0x4fb156=_0x44ab79[_0x5e4e51(0x191)](_0x5cf8ff[_0x5e4e51(0x158)]),_0x368589=_0x44ab79['get'](_0x28dbf0[_0x5e4e51(0x1c9)]),{displayName:_0x2e029e,subtotalType:_0x3cd152,format:_0x3d84d0,tableFieldId:_0x45a27a,pivotTableId:_0x46aa9b,unitId:_0x56f403,subUnitId:_0x511e58}=_0x58f2b3,_0x34087b=(await _0x368589['getPivotDisplayConfig']({'unitId':_0x56f403,'subUnitId':_0x511e58,'pivotTableId':_0x46aa9b,'params':{'type':_0x5b1b05[_0x5e4e51(0x399)],'setPivotSetting':{'tableFieldId':_0x45a27a,'displayName':_0x2e029e,'subtotalType':_0x3cd152,'format':_0x3d84d0}}}))[_0x5e4e51(0x401)][_0x5e4e51(0x242)];if(!_0x34087b)return!0x1;const {changesets:_0x52981f,view:_0x17697b,pivotTableConfig:_0x52727a,isEmpty:_0x24c9a7}=_0x34087b,_0x53b73b=_0x52727a[_0x5e4e51(0x25b)],_0x54bb43=new _0x2444f4[(_0x5e4e51(0x2d2))]();_0x54bb43[_0x5e4e51(0x3e9)](_0x17697b);const _0x4aea98={'cellInfo':_0x53b73b,'view':_0x54bb43,'isEmpty':_0x24c9a7};if(!await _0x44ab79['get'](_0x28dbf0['SheetsPivotTableService'])[_0x5e4e51(0x342)][_0x5e4e51(0x1d1)](_0x42699f)(!0x0,_0x4aea98))return!0x1;const _0x32801a=_0x39b7a0(_0x44ab79,_0x54bb43,_0x53b73b,_0x24c9a7),_0x530b64=_0x453490(_0x44ab79,_0x4aea98),{undos:_0x528f88,redos:_0x14066c}=_0x45171b(_0x2305db,{'pivotTableId':_0x46aa9b,'unitId':_0x56f403,'subUnitId':_0x511e58},_0x52981f);return _0x5cf8ff[_0x5e4e51(0x33f)]([..._0x32801a[_0x5e4e51(0x3ea)],..._0x530b64['redos'],..._0x14066c],_0x2305db),_0x4fb156['pushUndoRedo']({'unitID':_0x56f403,'redoMutations':[..._0x32801a[_0x5e4e51(0x3ea)],..._0x530b64['redos'],..._0x14066c],'undoMutations':[..._0x32801a[_0x5e4e51(0x3c3)],..._0x530b64[_0x5e4e51(0x3c3)],..._0x528f88]}),!0x0;}},_0x4763a0={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x240)],'id':_0x217abe(0x28a),'handler'(_0x5e3cd6,_0x4d6488){const _0x1545a6=_0x217abe;if(!_0x4d6488)return!0x1;if(!!_0x5e3cd6[_0x1545a6(0x191)](_0x5cf8ff[_0x1545a6(0x1b0)])[_0x1545a6(0x2ec)](_0x243383))return!0x0;const _0x58e68d=_0x5e3cd6[_0x1545a6(0x191)](_0x28dbf0[_0x1545a6(0x3f2)]),{pivotTableId:_0x3a2297,deleteIds:_0xd0b08c,collectionJSON:_0x1a6a90,dataRangeInfo:_0x57cd14,unitId:_0x58d006,subUnitId:_0x520514}=_0x4d6488,_0x14ab7d=_0x58e68d[_0x1545a6(0x45b)](_0x3a2297),_0x5e4596=_0x58e68d[_0x1545a6(0x19a)](_0x58d006,_0x520514,_0x3a2297);if(!_0x14ab7d||!_0x5e4596)return!0x1;const {collection:_0x49e000,updateDataFieldList:_0x418a29}=_0x58e68d[_0x1545a6(0x44c)](_0x3a2297,_0x1a6a90,_0x57cd14,_0x5e4596[_0x1545a6(0x25b)]);_0x58e68d['refreshData'](_0x49e000,_0x418a29,_0x57cd14),_0x14ab7d[_0x1545a6(0x1c5)](_0x49e000);for(const _0x2d4fd4 of _0xd0b08c)_0x58e68d[_0x1545a6(0x17c)](_0x57cd14[_0x1545a6(0x26d)],_0x2d4fd4);const _0x565fa9=_0x58e68d[_0x1545a6(0x19a)](_0x58d006,_0x520514,_0x3a2297);return _0x565fa9[_0x1545a6(0x434)]=JSON[_0x1545a6(0x1a9)](JSON[_0x1545a6(0x210)](_0x57cd14)),_0x58e68d[_0x1545a6(0x235)]({'unitId':_0x58d006,'subUnitId':_0x520514,'token':_0x3a2297,'type':_0x5da69e[_0x1545a6(0x45d)]}),!0x0;}},_0x550533={'type':_0x5cf8ff['CommandType'][_0x217abe(0x26f)],'id':_0x217abe(0x3cb),async 'handler'(_0x5d53c1,_0x36809b){const _0x5d34a4=_0x217abe,_0x3a764f=_0x5d53c1[_0x5d34a4(0x191)](_0x5cf8ff[_0x5d34a4(0x20e)]),_0x3a034e=_0x5d53c1[_0x5d34a4(0x191)](_0x28dbf0[_0x5d34a4(0x1c9)]),_0xdd7578=_0x5d53c1['get'](_0x5cf8ff[_0x5d34a4(0x158)]);if(!_0x36809b)return!0x1;const {token:_0x24f362,dataRangeInfo:_0xccc944,unitId:_0x240808,subUnitId:_0x50f648}=_0x36809b,_0x5edcaa=[],_0x2b6b2d=[],_0x4d729f=(await _0x3a034e[_0x5d34a4(0x338)]({'unitId':_0x240808,'subUnitId':_0x50f648,'pivotTableId':_0x24f362,'params':{'type':_0x5b1b05[_0x5d34a4(0x3fb)],'updatePivotSource':{'dataRangeInfo':_0xccc944,'unitId':_0x240808,'subUnitId':_0x50f648}}}))[_0x5d34a4(0x401)][_0x5d34a4(0x39a)];if(!_0x4d729f)return!0x1;const {changesets:_0x1b79ac,deleteIds:_0x473c73,collectionConfig:_0x322bff,oldCollectionConfig:_0x3b85f6,view:_0x53e3ca,isEmpty:_0x32ad26,pivotTableConfig:_0xce7f6d}=_0x4d729f;_0x2b6b2d[_0x5d34a4(0x3d3)]({'id':_0x4763a0['id'],'params':{'pivotTableId':_0x24f362,'deleteIds':_0x473c73,'collectionJSON':_0x322bff,'dataRangeInfo':_0xccc944,'unitId':_0x240808,'subUnitId':_0x50f648}}),_0x5edcaa['unshift']({'id':_0x4763a0['id'],'params':{'pivotTableId':_0x24f362,'deleteIds':[],'collectionJSON':_0x3b85f6,'dataRangeInfo':_0xce7f6d[_0x5d34a4(0x434)],'unitId':_0x240808,'subUnitId':_0x50f648}});const _0x15a4b1=_0xce7f6d[_0x5d34a4(0x25b)],_0x305466=new _0x2444f4['PivotView']();_0x305466[_0x5d34a4(0x3e9)](_0x53e3ca);const _0x398c13={'cellInfo':_0x15a4b1,'view':_0x305466,'isEmpty':_0x32ad26};if(!await _0x5d53c1[_0x5d34a4(0x191)](_0x28dbf0[_0x5d34a4(0x368)])[_0x5d34a4(0x342)][_0x5d34a4(0x1d1)](_0x42699f)(!0x0,_0x398c13))return!0x1;const _0x286a30=_0x39b7a0(_0x5d53c1,_0x305466,_0x15a4b1,_0x32ad26),_0x2a7141=_0x453490(_0x5d53c1,_0x398c13),{undos:_0x4199f2,redos:_0x49948c}=_0x45171b(_0x3a764f,{'pivotTableId':_0x24f362,'unitId':_0x240808,'subUnitId':_0x50f648},_0x1b79ac);return _0x5cf8ff[_0x5d34a4(0x33f)]([..._0x286a30[_0x5d34a4(0x3ea)],..._0x2a7141[_0x5d34a4(0x3ea)],..._0x2b6b2d,..._0x4199f2],_0x3a764f),_0xdd7578['pushUndoRedo']({'unitID':_0x240808,'redoMutations':[..._0x286a30[_0x5d34a4(0x3ea)],..._0x2a7141[_0x5d34a4(0x3ea)],..._0x2b6b2d,..._0x4199f2],'undoMutations':[..._0x286a30[_0x5d34a4(0x3c3)],..._0x2a7141[_0x5d34a4(0x3c3)],..._0x5edcaa,..._0x49948c]}),!0x0;}},_0x5564c0={'type':_0x5cf8ff[_0x217abe(0x3ee)][_0x217abe(0x26f)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x15c9c2,_0x182bdf){const _0x5a670f=_0x217abe;if(!_0x182bdf)return!0x1;const _0x8cd0be=_0x15c9c2[_0x5a670f(0x191)](_0x5cf8ff[_0x5a670f(0x20e)]),_0x1e74ab=_0x15c9c2['get'](_0x28dbf0[_0x5a670f(0x1c9)]),_0x486365=_0x15c9c2[_0x5a670f(0x191)](_0x5cf8ff[_0x5a670f(0x198)]),_0x27f225=_0x15c9c2['get'](_0x5cf8ff[_0x5a670f(0x158)]),{pivotTableId:_0x34a7d5,position:_0x47b6c9,index:_0x2a49dc}=_0x182bdf,_0x4eab00=_0x3d008a[_0x5a670f(0x1cb)](_0x486365);if(!_0x4eab00)return!0x1;const {unitId:_0x25485f,subUnitId:_0x4df058}=_0x4eab00,_0x4aa727=(await _0x1e74ab[_0x5a670f(0x338)]({'unitId':_0x25485f,'subUnitId':_0x4df058,'pivotTableId':_0x34a7d5,'params':{'type':_0x5b1b05[_0x5a670f(0x1b5)],'updateValuePosition':{'position':_0x47b6c9,'index':_0x2a49dc}}}))[_0x5a670f(0x401)][_0x5a670f(0x2ef)];if(!_0x4aa727)return!0x1;const {changesets:_0x17df17,view:_0x595365,isEmpty:_0x2fb120,pivotTableConfig:_0x4245e6}=_0x4aa727,_0xeb35d8=_0x4245e6[_0x5a670f(0x25b)],_0x11718c=new _0x2444f4[(_0x5a670f(0x2d2))]();_0x11718c[_0x5a670f(0x3e9)](_0x595365);const _0x3a3673=_0x15c9c2[_0x5a670f(0x191)](_0x28dbf0[_0x5a670f(0x368)]),_0x48c9d2={'cellInfo':_0xeb35d8,'view':_0x11718c,'isEmpty':_0x2fb120};if(!await _0x3a3673[_0x5a670f(0x342)]['fetchThroughAsyncInterceptors'](_0x42699f)(!0x0,_0x48c9d2))return!0x1;const _0x466c52=_0x39b7a0(_0x15c9c2,_0x11718c,_0xeb35d8,_0x2fb120),_0x209b43=_0x453490(_0x15c9c2,_0x48c9d2),{undos:_0x42a562,redos:_0x547d44}=_0x45171b(_0x8cd0be,{'pivotTableId':_0x34a7d5,'unitId':_0x25485f,'subUnitId':_0x4df058},_0x17df17);return _0x5cf8ff['sequenceExecute']([..._0x466c52[_0x5a670f(0x3ea)],..._0x209b43[_0x5a670f(0x3ea)],..._0x547d44],_0x8cd0be),_0x27f225[_0x5a670f(0x30d)]({'unitID':_0x25485f,'redoMutations':[..._0x466c52[_0x5a670f(0x3ea)],..._0x209b43[_0x5a670f(0x3ea)],..._0x547d44],'undoMutations':[..._0x466c52[_0x5a670f(0x3c3)],..._0x209b43[_0x5a670f(0x3c3)],..._0x42a562]}),!0x0;}},_0x2fc9ea={'type':_0x5cf8ff[_0x217abe(0x3ee)]['MUTATION'],'id':_0x217abe(0x458),'handler'(){return!0x0;}};var _0x12a387=Object[_0x217abe(0x17a)],_0x4ddbe5=(_0x597cfe,_0x33808d,_0x5ef83e,_0x303570)=>{const _0x43c1a5=_0x217abe;for(var _0x44eaa3=_0x303570>0x1?void 0x0:_0x303570?_0x12a387(_0x33808d,_0x5ef83e):_0x33808d,_0x3efe59=_0x597cfe[_0x43c1a5(0x31a)]-0x1,_0x5112c1;_0x3efe59>=0x0;_0x3efe59--)(_0x5112c1=_0x597cfe[_0x3efe59])&&(_0x44eaa3=_0x5112c1(_0x44eaa3)||_0x44eaa3);return _0x44eaa3;},_0x1cafcc=(_0xeed40b,_0xf512f5)=>(_0x23382d,_0x27acbf)=>_0xf512f5(_0x23382d,_0x27acbf,_0xeed40b);const _0x13c210=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4811e8=(_0x3efa64,_0x5bd3cf,_0x444710)=>{const _0x4839b0=_0x217abe,_0x2a0f28=_0x3efa64[_0x4839b0(0x41d)];_0x3efa64[_0x4839b0(0x3b6)](_0xcc9348=>{const _0x352a52=_0x4839b0,_0x3e3c4b=_0xcc9348['getId'](),_0x3042e6=_0xcc9348['getDataFieldId'](),_0x4eb046=_0xcc9348[_0x352a52(0x209)](),_0x1a01a2=_0xcc9348[_0x352a52(0x405)]();_0x5bd3cf[_0x3042e6]&&_0x5bd3cf[_0x3042e6]===_0x1a01a2&&_0x4eb046===_0x1a01a2&&(_0x3efa64[_0x352a52(0x1db)](_0x3e3c4b,_0x2a0f28[_0x352a52(0x405)](_0x3042e6)),_0xcc9348[_0x352a52(0x282)](_0x2a0f28['getDisplayName'](_0x3042e6)));}),_0x3efa64[_0x4839b0(0x25f)](_0x2444f4[_0x4839b0(0x270)][_0x4839b0(0x1e4)],_0x5c6fee=>{const _0x5998ac=_0x4839b0,_0x5c313c=_0x5c6fee[_0x5998ac(0x30c)](),_0x519dc9=_0x5c6fee[_0x5998ac(0x2ae)](),_0x340a65=_0x5c6fee[_0x5998ac(0x209)](),_0x4e116b=_0x5c6fee[_0x5998ac(0x405)](),_0x24e714=_0x5c6fee[_0x5998ac(0x43e)](),_0x59f640=_0x444710(_0x340a65,_0x24e714);_0x5bd3cf[_0x519dc9]&&_0x5bd3cf[_0x519dc9]===_0x340a65&&_0x59f640===_0x4e116b&&(_0x3efa64['renameField'](_0x5c313c,_0x444710(_0x2a0f28['getDisplayName'](_0x519dc9),_0x24e714)),_0x5c6fee[_0x5998ac(0x282)](_0x2a0f28[_0x5998ac(0x405)](_0x519dc9)));});},_0x1ed8b2=(_0x51db09,_0x333e8a,_0x5d59d2)=>{const _0x3d7828=_0x217abe;var _0x12a377,_0x4640ad;const {arrayFormulaCellData:_0x310b18,unitData:_0x333244}=_0x333e8a,{unitId:_0x50bf39,subUnitId:_0x8a62df}=_0x5d59d2,_0x318e01=_0x5d59d2['range'],{startColumn:_0x17ac0b,endColumn:_0x270c23}=_0x318e01,_0x5b52a8=(_0x12a377=_0x310b18==null?void 0x0:_0x310b18[_0x50bf39])==null?void 0x0:_0x12a377[_0x8a62df],_0x43e057=(_0x4640ad=_0x333244==null?void 0x0:_0x333244[_0x50bf39])==null?void 0x0:_0x4640ad[_0x8a62df],_0x53a10e=new Set(),_0x572907=_0x270c23-_0x17ac0b+0x1,{dirtyRanges:_0x3d03c6}=_0x51db09;if(_0x3d03c6)for(const {range:_0x28eea1,sheetId:_0x299df7,unitId:_0x50cf42}of _0x3d03c6){if(_0x299df7!==_0x8a62df||_0x50bf39!==_0x50cf42)continue;const _0xd5c24b=_0x5cf8ff['Rectangle'][_0x3d7828(0x45f)](_0x28eea1,_0x318e01);if(_0xd5c24b){const {startColumn:_0x256f0e,endColumn:_0xfb94a7}=_0xd5c24b;for(let _0x15fd4c=_0x256f0e;_0x15fd4c<=_0xfb94a7;_0x15fd4c++)_0x53a10e['add'](_0x15fd4c);}}if(_0x53a10e[_0x3d7828(0x1da)]===_0x572907||_0x53a10e[_0x3d7828(0x1da)]===_0x572907)return Array[_0x3d7828(0x440)](_0x53a10e);if(_0x43e057){const _0xc0507=_0x43e057[_0x3d7828(0x2a0)](),_0x516544=Object[_0x3d7828(0x16c)](_0xc0507);for(const _0x21cbe1 of _0x516544){const _0xa27b66=Number(_0x21cbe1),_0x227da8=_0xc0507[_0xa27b66];if(_0x53a10e[_0x3d7828(0x1da)]===_0x572907)break;for(const _0x4a3c45 in _0x227da8){const _0x3a49fc=Number(_0x4a3c45);_0x3a49fc<_0x17ac0b||_0x3a49fc>_0x270c23||_0x53a10e[_0x3d7828(0x219)](_0x3a49fc);}}}if(_0x5b52a8){const _0x1d25fa=_0x5b52a8[_0x3d7828(0x2a0)](),_0x4b3fa2=Object[_0x3d7828(0x16c)](_0x1d25fa);for(const _0x394682 of _0x4b3fa2){const _0x27fb2a=Number(_0x394682),_0x8c4210=_0x1d25fa[_0x27fb2a];if(_0x53a10e['size']===_0x572907)break;for(const _0x21fc96 in _0x8c4210){const _0x30c9c0=Number(_0x21fc96);_0x30c9c0<_0x17ac0b||_0x30c9c0>_0x270c23||_0x53a10e[_0x3d7828(0x219)](_0x30c9c0);}}}return Array[_0x3d7828(0x440)](_0x53a10e);},_0x1aeae4=_0x223c8d=>{const _0x38c891=_0x217abe,_0x22b2db=new Set(),_0x1379e3=[];for(const _0x559481 of _0x223c8d){const _0x58c0f7=_0x559481[_0x38c891(0x1f3)]+','+_0x559481[_0x38c891(0x46c)]+','+_0x559481['startColumn']+','+_0x559481[_0x38c891(0x3ab)];_0x22b2db[_0x38c891(0x2fb)](_0x58c0f7)||(_0x22b2db[_0x38c891(0x219)](_0x58c0f7),_0x1379e3[_0x38c891(0x3d3)](_0x559481));}return _0x1379e3;};let _0x1903dc=class extends _0x5cf8ff['Disposable']{constructor(_0x3a9f35,_0x528444,_0x23f0cc,_0x5cc380,_0x281432){const _0x3ee5b8=_0x217abe;super(),_0x4cbd74(this,_0x3ee5b8(0x226),new _0x12702c['BehaviorSubject'](!0x0)),_0x4cbd74(this,_0x3ee5b8(0x2c4),_0x418933=>{const _0x4d2ccf=_0x3ee5b8;this['_globalSubject'][_0x4d2ccf(0x377)](!0x1);}),_0x4cbd74(this,_0x3ee5b8(0x2e4),_0x4b3825=>{const _0x5039bd=_0x3ee5b8;this[_0x5039bd(0x226)]['next'](!0x0);}),(this[_0x3ee5b8(0x27c)]=_0x3a9f35,this[_0x3ee5b8(0x3a2)]=_0x528444,this[_0x3ee5b8(0x36f)]=_0x23f0cc,this[_0x3ee5b8(0x184)]=_0x5cc380,this[_0x3ee5b8(0x43c)]=_0x281432,this[_0x3ee5b8(0x37a)](),this['_initPivotDataGetListener']());}[_0x217abe(0x37a)](){const _0x14be06=_0x217abe;this[_0x14be06(0x2b5)](),this[_0x14be06(0x459)](),this[_0x14be06(0x324)](),this['_subjectFieldsCollectionChange']();}[_0x217abe(0x275)](){const _0x23fe88=_0x217abe;this[_0x23fe88(0x184)][_0x23fe88(0x427)](this[_0x23fe88(0x226)]),_0x2444f4[_0x23fe88(0x2cc)][_0x23fe88(0x2ac)](_0x2444f4[_0x23fe88(0x17f)][_0x23fe88(0x3cd)],this[_0x23fe88(0x2c4)]),_0x2444f4[_0x23fe88(0x2cc)][_0x23fe88(0x2ac)](_0x2444f4['PivotCallbackEnum'][_0x23fe88(0x446)],this[_0x23fe88(0x2e4)]);}[_0x217abe(0x403)](){const _0x3fc27f=_0x217abe;this[_0x3fc27f(0x3e2)](this[_0x3fc27f(0x36f)][_0x3fc27f(0x259)](_0x55793e=>{const _0x2a439a=_0x3fc27f;_0x55793e['id']===_0x3d008a[_0x2a439a(0x3df)]['id']&&this[_0x2a439a(0x27c)][_0x2a439a(0x432)](_0x55793e[_0x2a439a(0x1b8)]);})),this[_0x3fc27f(0x3e2)](this[_0x3fc27f(0x36f)][_0x3fc27f(0x259)](_0x47b9c9=>{const _0x3ec03b=_0x3fc27f;if(_0x47b9c9['id']!==_0x4d48bb['id'])return;const _0x15e3c9=_0x47b9c9[_0x3ec03b(0x1b8)],{unitId:_0x359852,subUnitId:_0x380a33,pivotTableId:_0x138af4}=_0x15e3c9,_0x2394cd=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x2a1)],_0xda0283={};switch(_0x2394cd){case _0x5b1b05[_0x3ec03b(0x419)]:{const _0x43f5bd=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x372)];if(!_0x43f5bd)return;const {row:_0x307717,col:_0x4adeca,cellData:_0x34a51b,pivotItemRenderInfoCache:_0x45e8a6,tableFieldId:_0x5cb50c}=_0x43f5bd,_0x489729=this[_0x3ec03b(0x27c)][_0x3ec03b(0x45b)](_0x15e3c9[_0x3ec03b(0x40d)]);if(!_0x489729||!_0x45e8a6)return;if(_0x5cb50c){const _0x43bc0b=_0x489729[_0x3ec03b(0x256)](_0x5cb50c);if(!_0x43bc0b)return;_0xda0283['filter']={..._0x489729['getDataFieldItemInfo'](_0x43bc0b),'tableFieldId':_0x5cb50c,'pivotTableId':_0x15e3c9[_0x3ec03b(0x40d)],'filterInfo':_0x489729[_0x3ec03b(0x214)](_0x5cb50c),'sortInfo':_0x489729[_0x3ec03b(0x2a4)](_0x5cb50c),'format':_0x489729['getFieldFormat'](_0x5cb50c)};}else{const _0x565e17=_0x42016b(_0x307717,_0x4adeca,_0x34a51b,_0x489729,_0x45e8a6),_0x110f18=_0x565e17==null?void 0x0:_0x565e17[_0x3ec03b(0x271)];if(!_0x110f18)return;const _0x3c4392=_0x489729[_0x3ec03b(0x256)](_0x110f18);if(!_0x3c4392)return;_0xda0283['filter']={..._0x489729[_0x3ec03b(0x246)](_0x3c4392),'tableFieldId':_0x110f18,'pivotTableId':_0x15e3c9[_0x3ec03b(0x40d)],'filterInfo':_0x489729[_0x3ec03b(0x214)](_0x110f18),'sortInfo':_0x489729[_0x3ec03b(0x2a4)](_0x110f18),'format':_0x489729['getFieldFormat'](_0x110f18)};}}break;case _0x5b1b05[_0x3ec03b(0x1f0)]:{const _0x7f6c62=_0x15e3c9['params'][_0x3ec03b(0x3ed)];if(!_0x7f6c62)return;const {pivotTableId:_0x57c31}=_0x7f6c62,_0x41624c=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x45b)](_0x57c31);if(!_0x41624c)return;const _0x25d239=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x57c31),_0x7be2e7=_0xa37ac2(_0x41624c,_0x57c31,_0x25d239);_0xda0283[_0x3ec03b(0x3ed)]=_0x7be2e7;}break;case _0x5b1b05['AddPivotField']:{const _0x9bc29a=this[_0x3ec03b(0x27c)][_0x3ec03b(0x45b)](_0x138af4),_0x255b95=this[_0x3ec03b(0x27c)][_0x3ec03b(0x33e)](_0x359852),_0x39f7ff=_0x255b95[_0x3ec03b(0x371)](_0x138af4);let _0x1fcbc7=null;const _0x573b67=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4),_0x2b6065=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x234)];if(!_0x9bc29a||!_0x573b67||!_0x2b6065)return!0x1;const {dataFieldId:_0x291b25,fieldArea:_0x26dac1,index:_0x254341}=_0x2b6065;_0x9bc29a['startCollectChangeset']();const _0x2d849=_0x9bc29a[_0x3ec03b(0x2a6)](_0x291b25,_0x26dac1,_0x254341);if(_0x2d849&&_0x26dac1===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x1e4)]){const _0x2588bf=_0x2d849[_0x3ec03b(0x30c)](),_0x11352c=_0x9bc29a[_0x3ec03b(0x256)](_0x2588bf);if(_0x11352c){const _0x3d14bb=_0x11352c==null?void 0x0:_0x11352c[_0x3ec03b(0x3b7)]();_0x9bc29a[_0x3ec03b(0x370)](_0x2d849[_0x3ec03b(0x30c)](),_0x3d14bb===_0x2444f4[_0x3ec03b(0x46f)][_0x3ec03b(0x207)]?_0x2444f4[_0x3ec03b(0x34b)][_0x3ec03b(0x3aa)]:_0x2444f4[_0x3ec03b(0x34b)][_0x3ec03b(0x200)]);}const _0x3f5833=_0x9bc29a[_0x3ec03b(0x40f)](),_0x458506=_0x9bc29a[_0x3ec03b(0x38d)](),_0x178128=_0x9bc29a['getFieldCountByArea'](_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x1e4)]);if(_0x3f5833===-0x1&&_0x178128>0x1){const _0x299508=_0x458506===_0x2444f4[_0x3ec03b(0x2df)][_0x3ec03b(0x232)]?_0x2444f4[_0x3ec03b(0x2df)][_0x3ec03b(0x2e2)]:_0x458506,_0x551500=_0x299508===_0x2444f4[_0x3ec03b(0x2df)][_0x3ec03b(0x413)]?_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x413)]:_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x2e2)];_0x9bc29a[_0x3ec03b(0x2ef)](_0x299508,_0x9bc29a[_0x3ec03b(0x21d)](_0x551500));}}else{if(_0x2d849&&(_0x26dac1===_0x2444f4['PivotTableFiledAreaEnum'][_0x3ec03b(0x413)]||_0x26dac1===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x2e2)])){const _0x318df2=_0x2d849['getId'](),_0x4391fe=_0x9bc29a[_0x3ec03b(0x256)](_0x318df2);if(_0x4391fe&&(_0x4391fe==null?void 0x0:_0x4391fe['getFieldDataType']())===_0x2444f4[_0x3ec03b(0x46f)][_0x3ec03b(0x45c)]){const _0x4cc87a=_0x4391fe[_0x3ec03b(0x3c2)]();if(_0x4cc87a&&_0x9bc29a[_0x3ec03b(0x3e8)](_0x2d849[_0x3ec03b(0x30c)](),_0x4cc87a),!_0x39f7ff['getFieldIds']()[_0x3ec03b(0x3ad)](_0x276de4=>{const _0x3bae09=_0x3ec03b,_0x2fc6da=_0x39f7ff[_0x3bae09(0x426)](_0x276de4);return _0x2444f4[_0x3bae09(0x2b4)](_0x2fc6da)?_0x2fc6da[_0x3bae09(0x15f)]()[_0x3bae09(0x3f1)]===_0x291b25:!0x1;})){const _0x46b5ec=_0x255b95[_0x3ec03b(0x2cb)](),_0x487062=_0x59d383(_0x4391fe[_0x3ec03b(0x360)],_0x4391fe[_0x3ec03b(0x3b9)]),_0x1adbbe=_0x4391fe['getName']()+_0x3ec03b(0x2b1)+_0xdfdb9a(this[_0x3ec03b(0x43c)],_0x487062),_0x3a569d=new _0x2444f4[(_0x3ec03b(0x389))](_0x46b5ec,_0x1adbbe,_0x2444f4[_0x3ec03b(0x1d2)](0x3),_0x4391fe[_0x3ec03b(0x30c)](),_0x487062);_0x255b95[_0x3ec03b(0x1be)](_0x3a569d),_0x39f7ff[_0x3ec03b(0x29e)](_0x46b5ec,_0x1adbbe),_0x9bc29a[_0x3ec03b(0x2a6)](_0x46b5ec,_0x26dac1,(_0x254341!=null?_0x254341:0x0)+0x1),_0x1fcbc7=_0x3a569d;}}}}const _0x44f026=_0x9bc29a[_0x3ec03b(0x447)](),_0x18aa29=_0x9bc29a[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)]();let _0x120e61;if(_0x1fcbc7){_0x120e61=_0x1fcbc7[_0x3ec03b(0x327)]();const _0x16e6ca=_0x1fcbc7[_0x3ec03b(0x30c)]();_0x39f7ff[_0x3ec03b(0x230)](_0x16e6ca);let _0x53097a=!0x0;for(const _0x393a95 in _0x255b95[_0x3ec03b(0x2bb)])if(_0x255b95[_0x3ec03b(0x2bb)][_0x393a95][_0x3ec03b(0x3af)]()['includes'](_0x16e6ca)){_0x53097a=!0x1;break;}_0x53097a&&_0x255b95[_0x3ec03b(0x375)](_0x16e6ca);}const _0x58c4b2=_0x9bc29a[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x234)]={'view':_0x18aa29,'changesets':_0x58c4b2,'isEmpty':_0x44f026,'pivotTableConfig':_0x573b67,'shouldBeAddedGroupJSON':_0x120e61};}break;case _0x5b1b05[_0x3ec03b(0x202)]:{const _0x757a42=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x348)];if(!_0x757a42)return;const _0x302dc6=_0x757a42[_0x3ec03b(0x434)],_0x245541=_0x757a42[_0x3ec03b(0x40d)],{collection:_0x23d077}=this[_0x3ec03b(0x27c)][_0x3ec03b(0x189)]({'unitId':_0x302dc6['unitId'],'sheetName':_0x302dc6[_0x3ec03b(0x328)],'subUnitId':_0x302dc6[_0x3ec03b(0x1d0)],'range':_0x302dc6[_0x3ec03b(0x42e)]}),_0x44dbc6=new _0x2444f4[(_0x3ec03b(0x2cc))](_0x23d077,void 0x0,_0x245541),_0x3a25c3=_0x44dbc6[_0x3ec03b(0x33a)](),_0x49946e=_0x44dbc6['toJSON'](),_0x2a9f1f=_0x23d077[_0x3ec03b(0x327)]();_0xda0283['addPivotTable']={'view':_0x3a25c3,'fieldsConfig':_0x49946e,'collectionConfig':_0x2a9f1f,'isEmpty':_0x44dbc6[_0x3ec03b(0x447)]()};}break;case _0x5b1b05[_0x3ec03b(0x21f)]:{const _0x794c98=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x20d)];if(!_0x794c98)return;const {fieldId:_0x3686cf,area:_0x5ee2cd,index:_0x36d60d}=_0x794c98,_0x4dd245=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x4dd245)return;const _0x46effd=this[_0x3ec03b(0x27c)][_0x3ec03b(0x45b)](_0x138af4);if(!_0x46effd)return;_0x46effd[_0x3ec03b(0x25d)]();const {area:_0xfedcd0,index:_0x1755d5}=_0x46effd[_0x3ec03b(0x33c)](_0x3686cf);if(_0x46effd[_0x3ec03b(0x1ea)](_0x3686cf,_0x5ee2cd,_0x36d60d),_0x5ee2cd===_0x2444f4['PivotTableFiledAreaEnum'][_0x3ec03b(0x1e4)]&&_0x46effd[_0x3ec03b(0x330)](_0x3686cf)[_0x3ec03b(0x43e)]()===void 0x0){const _0x1fb7a7=_0x46effd[_0x3ec03b(0x330)](_0x3686cf);if(_0x1fb7a7&&_0x1fb7a7['getSubtotal']()===void 0x0){const _0x59461b=_0x46effd[_0x3ec03b(0x256)](_0x3686cf);if(_0x59461b){const _0x2dfbfd=_0x59461b==null?void 0x0:_0x59461b[_0x3ec03b(0x3b7)]();_0x46effd['setSubtotalType'](_0x3686cf,_0x2dfbfd===_0x2444f4['PivotDataFieldDataTypeEnum'][_0x3ec03b(0x207)]?_0x2444f4['PivotSubtotalTypeEnum'][_0x3ec03b(0x3aa)]:_0x2444f4['PivotSubtotalTypeEnum'][_0x3ec03b(0x200)]);}}}const _0x477075=_0x46effd['getValuePosition'](),_0x476cbe=_0x46effd[_0x3ec03b(0x40f)](),_0x3b3cf7=_0x46effd[_0x3ec03b(0x21d)](_0x2444f4['PivotTableFiledAreaEnum'][_0x3ec03b(0x1e4)])>0x1;if(_0x3b3cf7&&_0xfedcd0===_0x5ee2cd&&(_0x5ee2cd===_0x2444f4[_0x3ec03b(0x270)]['Row']&&_0x477075===_0x2444f4[_0x3ec03b(0x2df)][_0x3ec03b(0x413)]||_0x5ee2cd===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x2e2)]&&_0x477075===_0x2444f4[_0x3ec03b(0x2df)][_0x3ec03b(0x2e2)])){let _0x200e7c=_0x476cbe;_0x1755d5<=_0x476cbe&&_0x200e7c--,_0x36d60d<=_0x476cbe&&_0x200e7c++,_0x46effd['updateValuePosition'](_0x477075,_0x200e7c);}else _0x3b3cf7&&(_0xfedcd0===_0x2444f4['PivotTableFiledAreaEnum'][_0x3ec03b(0x413)]&&_0x477075===_0x2444f4['PivotTableValuePositionEnum'][_0x3ec03b(0x413)]||_0xfedcd0===_0x2444f4['PivotTableFiledAreaEnum'][_0x3ec03b(0x2e2)]&&_0x477075===_0x2444f4[_0x3ec03b(0x2df)][_0x3ec03b(0x2e2)])&&_0x476cbe>=_0x1755d5&&_0x46effd[_0x3ec03b(0x2ef)](_0x477075,_0x476cbe-0x1),_0x3b3cf7&&(_0x5ee2cd===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x413)]&&_0x477075===_0x2444f4[_0x3ec03b(0x2df)]['Row']||_0x5ee2cd===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x2e2)]&&_0x477075===_0x2444f4['PivotTableValuePositionEnum'][_0x3ec03b(0x2e2)])&&_0x476cbe>=_0x36d60d&&_0x46effd['updateValuePosition'](_0x477075,_0x476cbe+0x1);const _0x1e26a1=_0x46effd['query'](),_0x392f7f=_0x46effd['isEmpty'](),_0x56004e=_0x46effd[_0x3ec03b(0x15b)]();_0xda0283['movePivotField']={'view':_0x1e26a1[_0x3ec03b(0x327)](),'changesets':_0x56004e,'isEmpty':_0x392f7f,'pivotTableConfig':_0x4dd245};}break;case _0x5b1b05[_0x3ec03b(0x32a)]:{const _0x50d7ad=_0x15e3c9[_0x3ec03b(0x1b8)]['removePivotField'];if(!_0x50d7ad)return;const _0x154de9=_0x50d7ad[_0x3ec03b(0x431)],_0x3fee7b=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x3fee7b)return!0x1;const _0x24c9ab=this[_0x3ec03b(0x27c)]['getPivotTableInstance'](_0x138af4);if(!_0x24c9ab)return!0x1;_0x24c9ab[_0x3ec03b(0x25d)]();for(const _0x50dab3 of _0x154de9){const {area:_0x3f557a}=_0x24c9ab['getFieldPositionInfoById'](_0x50dab3);_0x3f557a===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x1e4)]&&_0x24c9ab['removeValueFilterInfoByValueFieldId'](_0x50dab3),(_0x3f557a===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x413)]||_0x3f557a===_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x2e2)])&&_0x24c9ab[_0x3ec03b(0x206)](_0x50dab3),_0x24c9ab[_0x3ec03b(0x2db)](_0x50dab3);}const _0x38846d=_0x24c9ab['isEmpty'](),_0x2dfd59=_0x24c9ab['query']()['toJSON'](),_0x790ebe=_0x24c9ab[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x1e1)]={'changesets':_0x790ebe,'pivotTableConfig':_0x3fee7b,'isEmpty':_0x38846d,'view':_0x2dfd59};}break;case _0x5b1b05[_0x3ec03b(0x1b4)]:{const _0x3c602b=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x2b3)];if(!_0x3c602b)return;const {tableFieldId:_0x494ad4,items:_0x1d352c,isAll:_0x5241ae}=_0x3c602b,_0x20e008=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x138af4),_0x353a76=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x20e008||!_0x353a76)return;_0x20e008[_0x3ec03b(0x25d)](),_0x20e008[_0x3ec03b(0x289)](_0x494ad4,{'type':_0x2444f4[_0x3ec03b(0x276)][_0x3ec03b(0x277)],'list':_0x1d352c,'isAll':_0x5241ae});const _0x3641ab=_0x20e008[_0x3ec03b(0x447)](),_0x5a6c70=_0x20e008[_0x3ec03b(0x33a)]()['toJSON'](),_0x52344a=_0x20e008[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x2b3)]={'view':_0x5a6c70,'changesets':_0x52344a,'isEmpty':_0x3641ab,'pivotTableConfig':_0x353a76};}break;case _0x5b1b05[_0x3ec03b(0x424)]:{const _0xd7d567=_0x15e3c9[_0x3ec03b(0x1b8)]['setValuePivotFilter'];if(!_0xd7d567)return;const {tableFieldId:_0x2f21ff,filterInfo:_0x19bb5c}=_0xd7d567,_0x47038b=this[_0x3ec03b(0x27c)][_0x3ec03b(0x45b)](_0x138af4),_0x535fac=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x47038b||!_0x535fac)return;_0x47038b['startCollectChangeset'](),_0x47038b[_0x3ec03b(0x45a)](_0x2f21ff,_0x19bb5c);const _0x375d9f=_0x47038b['isEmpty'](),_0x5bd5b0=_0x47038b[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)](),_0x39c15f=_0x47038b['endCollectChangeset']();_0xda0283[_0x3ec03b(0x31d)]={'view':_0x5bd5b0,'changesets':_0x39c15f,'isEmpty':_0x375d9f,'pivotTableConfig':_0x535fac};}break;case _0x5b1b05[_0x3ec03b(0x448)]:{const _0x48dae8=_0x15e3c9['params'][_0x3ec03b(0x1cd)];if(!_0x48dae8)return;const {tableFieldId:_0x37a20d,info:_0x9c26ba}=_0x48dae8,_0x2703cf=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x45b)](_0x138af4),_0x31f406=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x2703cf||!_0x31f406)return;_0x2703cf[_0x3ec03b(0x25d)](),_0x2703cf[_0x3ec03b(0x32e)](_0x37a20d,_0x9c26ba);const _0x15f9d7=_0x2703cf[_0x3ec03b(0x447)](),_0xca8f2d=_0x2703cf[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)](),_0x430bf3=_0x2703cf[_0x3ec03b(0x15b)]();_0xda0283['setPivotSort']={'view':_0xca8f2d,'changesets':_0x430bf3,'isEmpty':_0x15f9d7,'pivotTableConfig':_0x31f406};}break;case _0x5b1b05[_0x3ec03b(0x399)]:{const _0x481941=_0x15e3c9[_0x3ec03b(0x1b8)]['setPivotSetting'];if(!_0x481941)return;const {tableFieldId:_0x3b43d6,displayName:_0x1f6c47,subtotalType:_0x5b3616,format:_0x3ff312}=_0x481941,_0x5e5cf8=this[_0x3ec03b(0x27c)]['getPivotTableInstance'](_0x138af4),_0x1e826c=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x5e5cf8||!_0x1e826c)return;_0x5e5cf8[_0x3ec03b(0x25d)](),_0x1f6c47!==void 0x0&&_0x5e5cf8[_0x3ec03b(0x1db)](_0x3b43d6,_0x1f6c47),_0x5b3616!==void 0x0&&_0x5e5cf8[_0x3ec03b(0x370)](_0x3b43d6,_0x5b3616),_0x3ff312!==void 0x0&&_0x5e5cf8['setFieldFormat'](_0x3b43d6,_0x3ff312);const _0x375534=_0x5e5cf8[_0x3ec03b(0x447)](),_0x19f1dc=_0x5e5cf8[_0x3ec03b(0x33a)]()['toJSON'](),_0x32a2e8=_0x5e5cf8[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x242)]={'changesets':_0x32a2e8,'pivotTableConfig':_0x1e826c,'isEmpty':_0x375534,'view':_0x19f1dc};}break;case _0x5b1b05['UpdatePivotSource']:{const _0x30cafd=_0x15e3c9['params'][_0x3ec03b(0x39a)];if(!_0x30cafd)return;const {dataRangeInfo:_0x736563,unitId:_0x563e31,subUnitId:_0x4818b9}=_0x30cafd,_0x1e80b2=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x563e31,_0x4818b9,_0x138af4),_0x113bd7=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x45b)](_0x138af4);if(!this[_0x3ec03b(0x27c)][_0x3ec03b(0x371)](_0x563e31,_0x138af4)||!_0x113bd7||!_0x1e80b2)return;const _0x2b1090=this[_0x3ec03b(0x27c)]['getUpdateRangeDeleteIds'](_0x563e31,_0x138af4,_0x736563),_0x239082=this[_0x3ec03b(0x27c)][_0x3ec03b(0x371)](_0x563e31,_0x138af4)[_0x3ec03b(0x327)](),{collection:_0x196456}=this[_0x3ec03b(0x27c)]['createCollectionWithDataRange']({'unitId':_0x736563['unitId'],'sheetName':_0x736563['sheetName'],'subUnitId':_0x736563[_0x3ec03b(0x1d0)],'range':_0x736563[_0x3ec03b(0x42e)]}),_0x2bfd29=_0x196456[_0x3ec03b(0x327)]();_0x113bd7[_0x3ec03b(0x25d)]();const _0x5b8c73=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x563e31)[_0x3ec03b(0x177)]()||_0x2444f4[_0x3ec03b(0x1d7)];_0x113bd7['iterateField'](_0x3f44a0=>{const _0x645a7d=_0x3ec03b,_0x453ef0=_0x3f44a0[_0x645a7d(0x2ae)]();if(!_0x196456[_0x645a7d(0x39d)](_0x453ef0)){const _0x2ea6e3=_0x196456[_0x645a7d(0x199)](_0x3f44a0['getSourceName']());if(_0x2ea6e3){_0x113bd7['updateFieldSourceInfo'](_0x3f44a0[_0x645a7d(0x30c)](),_0x2ea6e3[_0x645a7d(0x2e5)](),_0x2ea6e3[_0x645a7d(0x30c)]());const {area:_0x520cd8}=_0x113bd7[_0x645a7d(0x33c)](_0x3f44a0[_0x645a7d(0x30c)]());let _0x9c237c=_0x3f44a0[_0x645a7d(0x209)]();const _0x3f47b5=_0x3f44a0[_0x645a7d(0x405)]();if(_0x520cd8===_0x2444f4[_0x645a7d(0x270)]['Value']){const _0x340c4d=_0x3f44a0[_0x645a7d(0x43e)]();_0x9c237c=_0x5b8c73(_0x2ea6e3['getName'](),_0x340c4d);}_0x3f47b5!==_0x9c237c&&_0x113bd7['renameField'](_0x3f44a0[_0x645a7d(0x30c)](),_0x9c237c);}else _0x113bd7[_0x645a7d(0x2db)](_0x3f44a0['getId']());}});const _0x422f04=_0x113bd7[_0x3ec03b(0x447)](),_0x3c2ee0=_0x113bd7[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)](),_0x3e4c89=_0x113bd7[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x39a)]={'view':_0x3c2ee0,'changesets':_0x3e4c89,'isEmpty':_0x422f04,'pivotTableConfig':_0x1e80b2,'collectionConfig':_0x2bfd29,'oldCollectionConfig':_0x239082,'deleteIds':_0x2b1090};}break;case _0x5b1b05['UpdateValuePosition']:{const _0x4fcaa1=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x2ef)];if(!_0x4fcaa1)return;const {position:_0x1069db,index:_0x219def}=_0x4fcaa1,_0xe8bfab=this[_0x3ec03b(0x27c)]['getPivotTableConfig'](_0x359852,_0x380a33,_0x138af4);if(!_0xe8bfab)return!0x1;const _0x121234=this[_0x3ec03b(0x27c)][_0x3ec03b(0x45b)](_0x138af4);if(!_0x121234)return!0x1;_0x121234[_0x3ec03b(0x25d)](),_0x121234['updateValuePosition'](_0x1069db,_0x219def);const _0x7efa52=_0x121234[_0x3ec03b(0x447)](),_0xb6d1be=_0x121234[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)](),_0x4e8f0e=_0x121234[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x2ef)]={'changesets':_0x4e8f0e,'pivotTableConfig':_0xe8bfab,'isEmpty':_0x7efa52,'view':_0xb6d1be};}break;case _0x5b1b05[_0x3ec03b(0x2d4)]:{const _0x2728d4=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x39c)];if(!_0x2728d4)return;const {tableFieldId:_0x39fa01,collapse:_0x35df17,item:_0x5980e2}=_0x2728d4,_0x48932e=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x45b)](_0x138af4),_0x4502d1=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x48932e||!_0x4502d1)return;_0x48932e['startCollectChangeset'](),_0x48932e['setCollapse'](_0x39fa01,_0x35df17,_0x5980e2);const _0x292e61=_0x48932e['isEmpty'](),_0x5a3686=_0x48932e[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)](),_0x5d7173=_0x48932e[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x39c)]={'view':_0x5a3686,'isEmpty':_0x292e61,'pivotTableConfig':_0x4502d1,'changesets':_0x5d7173};}break;case _0x5b1b05[_0x3ec03b(0x40e)]:{const _0x3fe42d=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x22f)];if(!_0x3fe42d)return;const {pivotTableConfig:_0x1da069}=_0x3fe42d,_0x72bddb=this[_0x3ec03b(0x27c)][_0x3ec03b(0x45b)](_0x138af4),_0x11f40c=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x72bddb||!_0x11f40c)return;_0x72bddb[_0x3ec03b(0x25d)](),_0x43799f(_0x72bddb,_0x1da069);const _0x6eccfe=_0x72bddb[_0x3ec03b(0x447)](),_0x4d59a8=_0x72bddb[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)](),_0x4602e9=_0x72bddb[_0x3ec03b(0x15b)]();_0xda0283[_0x3ec03b(0x22f)]={'view':_0x4d59a8,'isEmpty':_0x6eccfe,'pivotTableConfig':{..._0x11f40c,'fieldsConfig':_0x72bddb[_0x3ec03b(0x327)]()},'changesets':_0x4602e9};}break;case _0x5b1b05['ResetPivotTable']:{const _0x238bdf=_0x15e3c9[_0x3ec03b(0x1b8)][_0x3ec03b(0x217)];if(!_0x238bdf)return;const _0x125a3d=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x45b)](_0x138af4),_0x361722=this[_0x3ec03b(0x27c)][_0x3ec03b(0x19a)](_0x359852,_0x380a33,_0x138af4);if(!_0x125a3d||!_0x361722)return;_0x125a3d[_0x3ec03b(0x25d)](),_0x1b5341(_0x125a3d,_0x238bdf[_0x3ec03b(0x1ee)]);const _0x558375=_0x125a3d[_0x3ec03b(0x33a)]()[_0x3ec03b(0x327)](),_0x514060=_0x125a3d['endCollectChangeset']();_0xda0283[_0x3ec03b(0x217)]={'view':_0x558375,'isEmpty':!0x0,'pivotTableConfig':{..._0x361722,'fieldsConfig':_0x125a3d[_0x3ec03b(0x327)]()},'changesets':_0x514060};}break;case _0x5b1b05['AddPivotTableWithConfig']:{const _0x505bc5=_0x15e3c9[_0x3ec03b(0x1b8)]['addPivotTableWithConfig'];if(!_0x505bc5)return;const _0x5f58f0=_0x505bc5[_0x3ec03b(0x434)],_0x2042e4=_0x505bc5['pivotTableId'],{collection:_0xe3ec7}=this[_0x3ec03b(0x27c)][_0x3ec03b(0x189)]({'unitId':_0x5f58f0[_0x3ec03b(0x26d)],'sheetName':_0x5f58f0[_0x3ec03b(0x328)],'subUnitId':_0x5f58f0['subUnitId'],'range':_0x5f58f0[_0x3ec03b(0x42e)]}),_0xae41b5=new _0x2444f4[(_0x3ec03b(0x2cc))](_0xe3ec7,void 0x0,_0x2042e4),_0x5e0940=_0xe3ec7['getFieldIds'](),{rows:_0x484162,columns:_0x4d6ae7,filters:_0x3e5b31,values:_0x5a3477}=_0x505bc5[_0x3ec03b(0x2ff)];_0xae41b5[_0x3ec03b(0x25d)]();for(const {field:_0x31ccf2,selectedItems:_0x1bc02a}of _0x484162||[]){const _0x3506ef=_0x5e0940[_0x31ccf2];if(_0x3506ef){const _0x2a0361=_0xae41b5[_0x3ec03b(0x2a6)](_0x3506ef,_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x413)]);_0x1bc02a&&_0x2a0361&&_0xae41b5[_0x3ec03b(0x289)](_0x2a0361[_0x3ec03b(0x30c)](),{'type':_0x2444f4[_0x3ec03b(0x276)]['ManualFilter'],'list':_0x1bc02a,'isAll':!0x1});}}for(const {field:_0x387681,selectedItems:_0x2bd9ac}of _0x4d6ae7||[]){const _0x3f682b=_0x5e0940[_0x387681];if(_0x3f682b){const _0x55e958=_0xae41b5[_0x3ec03b(0x2a6)](_0x3f682b,_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x2e2)]);_0x2bd9ac&&_0x55e958&&_0xae41b5[_0x3ec03b(0x289)](_0x55e958[_0x3ec03b(0x30c)](),{'type':_0x2444f4[_0x3ec03b(0x276)]['ManualFilter'],'list':_0x2bd9ac,'isAll':!0x1});}}for(const {field:_0x15ba45,selectedItems:_0x271422}of _0x3e5b31||[]){const _0x2d89c7=_0x5e0940[_0x15ba45];if(_0x2d89c7){const _0x4a94b5=_0xae41b5[_0x3ec03b(0x2a6)](_0x2d89c7,_0x2444f4[_0x3ec03b(0x270)][_0x3ec03b(0x419)]);_0x271422&&_0x4a94b5&&_0xae41b5[_0x3ec03b(0x289)](_0x4a94b5[_0x3ec03b(0x30c)](),{'type':_0x2444f4[_0x3ec03b(0x276)][_0x3ec03b(0x277)],'list':_0x271422,'isAll':!0x1});}}for(const {field:_0x4c4013,subTotalType:_0x49eb7c,formatString:_0x364377}of _0x5a3477||[]){const _0xc78e66=_0xe3ec7[_0x3ec03b(0x426)](_0x5e0940[_0x4c4013]);if(!_0xc78e66)continue;const _0x3a1923=_0x5e0940[_0x4c4013];if(_0x3a1923){const _0x443454=_0xae41b5[_0x3ec03b(0x2a6)](_0x3a1923,_0x2444f4['PivotTableFiledAreaEnum'][_0x3ec03b(0x1e4)]);if(_0x443454){if(_0x49eb7c!==void 0x0){_0xae41b5[_0x3ec03b(0x370)](_0x443454[_0x3ec03b(0x30c)](),_0x49eb7c);const _0x56f60e=this['_sheetsPivotDataSourceModel'][_0x3ec03b(0x33e)](_0x5f58f0['unitId'])[_0x3ec03b(0x177)]()||_0x2444f4[_0x3ec03b(0x1d7)],_0x5a1a78=_0xe3ec7[_0x3ec03b(0x405)](_0x3a1923),_0x44ff18=_0x56f60e(_0x5a1a78,_0x49eb7c);_0xae41b5[_0x3ec03b(0x1db)](_0x443454['getId'](),_0x44ff18);}else{if(_0xc78e66){const _0x22d7ae=_0xc78e66==null?void 0x0:_0xc78e66[_0x3ec03b(0x3b7)]();_0xae41b5[_0x3ec03b(0x370)](_0x443454[_0x3ec03b(0x30c)](),_0x22d7ae===_0x2444f4[_0x3ec03b(0x46f)][_0x3ec03b(0x207)]?_0x2444f4[_0x3ec03b(0x34b)][_0x3ec03b(0x3aa)]:_0x2444f4[_0x3ec03b(0x34b)][_0x3ec03b(0x200)]);}}_0x364377&&_0xae41b5[_0x3ec03b(0x3e8)](_0x443454[_0x3ec03b(0x30c)](),_0x364377);}}}const _0x506b86=_0xae41b5[_0x3ec03b(0x33a)](),_0x1b1d09=_0xae41b5[_0x3ec03b(0x327)](),_0x27772c=_0xae41b5[_0x3ec03b(0x447)](),_0x34574a=_0xae41b5['endCollectChangeset'](),_0x14ad48=_0xe3ec7[_0x3ec03b(0x327)]();_0xda0283[_0x3ec03b(0x358)]={'view':_0x506b86,'fieldsConfig':_0x1b1d09,'collectionConfig':_0x14ad48,'isEmpty':_0x27772c,'changesets':_0x34574a};}break;case _0x5b1b05[_0x3ec03b(0x3d5)]:{const _0x24a7f=_0x3a5a93(this['_injector'],_0x15e3c9);if(!_0x24a7f)return;const {range:_0x5dc9e6,sourceSubUnitId:_0x292cbf,sourceUnitId:_0x41c208,formatMap:_0x3e0851,indexes:_0x19b276}=_0x24a7f;_0xda0283[_0x3ec03b(0x1ef)]={'range':_0x5dc9e6,'sourceSubUnitId':_0x292cbf,'sourceUnitId':_0x41c208,'formatMap':_0x3e0851,'indexes':_0x19b276};}break;}this[_0x3ec03b(0x36f)][_0x3ec03b(0x355)](_0x5d5a76['id'],{'version':_0x15e3c9[_0x3ec03b(0x1f7)],'result':_0xda0283},{'onlyLocal':!0x0});}));}[_0x217abe(0x324)](){const _0x26dc89=_0x217abe;this[_0x26dc89(0x3e2)](this[_0x26dc89(0x36f)][_0x26dc89(0x259)](_0xee6c7b=>{const _0xd43159=_0x26dc89;if(_0xee6c7b['id']!==_0x5d77fb['id'])return;const _0xe9e6ea=_0xee6c7b[_0xd43159(0x1b8)];return this['_sheetsPivotDataSourceModel'][_0xd43159(0x3b0)](_0xe9e6ea[_0xd43159(0x254)]),!0x0;}));}[_0x217abe(0x2b5)](){const _0x14d885=_0x217abe;this[_0x14d885(0x27c)][_0x14d885(0x1bc)][_0x14d885(0x1de)](_0x3b4f1b=>{const _0x44a792=_0x14d885;switch(_0x3b4f1b['type']){case _0x1a94bb[_0x44a792(0x219)]:_0x3b4f1b[_0x44a792(0x295)]&&_0x3b4f1b['targetCellInfo']&&this[_0x44a792(0x43d)](_0x3b4f1b[_0x44a792(0x26e)],_0x3b4f1b[_0x44a792(0x295)],_0x3b4f1b[_0x44a792(0x25b)]);break;case _0x1a94bb[_0x44a792(0x168)]:{const {unitId:_0x4ad56a,subUnitId:_0x26e83d,token:_0x131036}=_0x3b4f1b;_0x4ad56a&&_0x26e83d&&_0x131036&&this['removeSourceRangeChange'](_0x4ad56a,_0x26e83d,_0x131036);}break;case _0x1a94bb[_0x44a792(0x1fd)]:{const {token:_0x5c6532,oldSourceRangeInfo:_0x86dcfe,dataRangeInfo:_0x563fdc,targetCellInfo:_0xaec8cf}=_0x3b4f1b,{unitId:_0x15ca9b,subUnitId:_0x196133}=_0x86dcfe||{};_0x15ca9b&&_0x196133&&_0x5c6532&&this[_0x44a792(0x1ed)](_0x15ca9b,_0x196133,_0x5c6532),_0x563fdc&&_0xaec8cf&&this[_0x44a792(0x43d)](_0x5c6532,_0x563fdc,_0xaec8cf);}break;}});}[_0x217abe(0x283)](){const _0x16e481=_0x217abe;this['_sheetsPivotDataSourceModel'][_0x16e481(0x3e0)][_0x16e481(0x1de)](_0x3f746a=>{const _0x55f18e=_0x16e481;Object[_0x55f18e(0x16c)](_0x3f746a)['forEach'](_0x33ea9a=>{const _0x54d616=_0x55f18e,_0xff106c=this['_sheetsPivotDataSourceModel'][_0x54d616(0x183)](_0x33ea9a);if(_0xff106c){const _0x371057=this[_0x54d616(0x27c)][_0x54d616(0x19a)](_0xff106c==null?void 0x0:_0xff106c[_0x54d616(0x26d)],_0xff106c==null?void 0x0:_0xff106c[_0x54d616(0x1d0)],_0x33ea9a);_0x371057&&(this[_0x54d616(0x43d)](_0x33ea9a,_0x371057[_0x54d616(0x434)],_0x371057[_0x54d616(0x25b)]),this[_0x54d616(0x23d)]([{'unitId':_0xff106c[_0x54d616(0x26d)],'subUnitId':_0xff106c['subUnitId'],'token':_0x33ea9a}]));}});});}[_0x217abe(0x459)](){const _0xf62e41=_0x217abe;this['_sheetsPivotDataSourceModel']['viewData$'][_0xf62e41(0x1de)](_0x47f550=>{const {unitId:_0x513ecf,subUnitId:_0x56078c,pivotTableId:_0x5cb342}=_0x47f550;_0x513ecf&&_0x56078c&&_0x5cb342&&this['triggerDirtyFeature']([{'unitId':_0x513ecf,'subUnitId':_0x56078c,'token':_0x5cb342}]);});}[_0x217abe(0x23d)](_0x48b67e){const _0x395991=_0x217abe,_0x1c6407={};_0x48b67e[_0x395991(0x22c)](_0x5be141=>{var _0x2abf92,_0x5d23b9;const {unitId:_0x5d77b,subUnitId:_0x16df1c,token:_0x13e6d4}=_0x5be141;_0x1c6407[_0x5d77b]=(_0x2abf92=_0x1c6407[_0x5d77b])!=null?_0x2abf92:{},_0x1c6407[_0x5d77b][_0x16df1c]=(_0x5d23b9=_0x1c6407[_0x5d77b][_0x16df1c])!=null?_0x5d23b9:{},_0x1c6407[_0x5d77b][_0x16df1c][_0x13e6d4]=!0x0;}),this[_0x395991(0x36f)][_0x395991(0x355)](_0x2fc9ea['id'],_0x1c6407);}[_0x217abe(0x1ed)](_0x458ed3,_0x302718,_0xbba46){const _0x5322da=_0x217abe;this[_0x5322da(0x3a2)][_0x5322da(0x190)](_0x458ed3,_0x302718,[_0xbba46]);}[_0x217abe(0x43d)](_0x1bf7b0,_0x4eb8e1,_0x300077){const _0x393c2d=_0x217abe,{unitId:_0x4a2068,subUnitId:_0xd75b2f}=_0x4eb8e1;this[_0x393c2d(0x3a2)][_0x393c2d(0x2fb)](_0x300077[_0x393c2d(0x26d)],_0x300077[_0x393c2d(0x1d0)],_0x1bf7b0)&&this[_0x393c2d(0x1ed)](_0x4a2068,_0xd75b2f,_0x1bf7b0);const _0x34a162={'sheetId':_0xd75b2f,..._0x4eb8e1};this[_0x393c2d(0x3a2)][_0x393c2d(0x16e)](_0x300077[_0x393c2d(0x26d)],_0x300077[_0x393c2d(0x1d0)],_0x1bf7b0,{'unitId':_0x300077['unitId'],'subUnitId':_0x300077['subUnitId'],'dependencyRanges':[_0x34a162],'getDirtyData':(_0x356eaf,_0x208f54)=>{const _0x294f09=_0x393c2d,_0x297a4e=this[_0x294f09(0x27c)],_0x1b854d=_0x297a4e[_0x294f09(0x183)](_0x1bf7b0);if(!_0x1b854d)return _0x13c210();const {unitId:_0x2b4b28,subUnitId:_0x490d1c}=_0x1b854d,_0x310889=_0x1ed8b2(_0x356eaf,_0x208f54,_0x4eb8e1);if(_0x310889['length']>0x0){const _0x207533=_0x297a4e[_0x294f09(0x371)](_0x4a2068,_0x1bf7b0),_0x1966d8=_0x207533['getFieldIds'](),_0xe10afe=this['getMatrixFromRunTimeData'](_0x4eb8e1['unitId'],_0x4eb8e1['subUnitId'],_0x208f54),_0xae4d29={},_0x47b04b=this['_sheetsPivotDataSourceModel'][_0x294f09(0x33e)](_0x2b4b28)[_0x294f09(0x177)]()||_0x2444f4[_0x294f09(0x1d7)],_0x7031ed=[];for(const _0x4eba05 of _0x310889){const _0x4e91b8=_0x4eba05-(_0x4eb8e1[_0x294f09(0x42e)]['startColumn']||0x0),_0x335ec0=_0x1966d8[_0x4e91b8];_0x7031ed[_0x294f09(0x3d3)](_0x335ec0),_0xae4d29[_0x335ec0]=_0x207533['getFieldById'](_0x335ec0)[_0x294f09(0x2e5)](),_0x297a4e['getDataFieldManager'](_0x4a2068)[_0x294f09(0x2c6)](_0x335ec0,_0x4eb8e1,_0x4e91b8,_0xe10afe);}_0x207533['getGroupFieldsInfoByIds'](_0x7031ed)['forEach'](_0x321d43=>{const _0x12fcf4=_0x294f09,[_0x37bd80,_0x15eeb0]=_0x321d43,_0x1c6679=_0x207533[_0x12fcf4(0x426)](_0x37bd80),_0x10da7b=_0x207533[_0x12fcf4(0x426)](_0x15eeb0);_0x1c6679&&_0x10da7b&&_0x1c6679[_0x12fcf4(0x472)](_0x10da7b);}),_0x207533[_0x294f09(0x356)]();const _0x36584d=_0x297a4e[_0x294f09(0x45b)](_0x1bf7b0);if(_0x36584d){_0x4811e8(_0x36584d,_0xae4d29,_0x47b04b),_0x36584d['setDirty'](!0x0);const _0x449267=_0x36584d['query'](),_0x23d467=_0x297a4e[_0x294f09(0x19a)](_0x2b4b28,_0x490d1c,_0x1bf7b0),_0x20bd9b=_0x297a4e[_0x294f09(0x33e)](_0x4a2068)[_0x294f09(0x327)]();_0x297a4e[_0x294f09(0x2b6)](_0x2b4b28,_0x490d1c,_0x5da69e['Set'],_0x1bf7b0,_0x449267,_0x23d467,_0x20bd9b,!0x0);}}return this[_0x294f09(0x42c)](_0x2b4b28,_0x490d1c,_0x1bf7b0);}});}[_0x217abe(0x422)](_0x2576e2,_0x160b90,_0x3b2e13){var _0x1a2e86,_0x32a3f5;const {arrayFormulaCellData:_0x3f2bd1,unitData:_0x59d79f}=_0x3b2e13,_0x3dae54=(_0x1a2e86=_0x3f2bd1==null?void 0x0:_0x3f2bd1[_0x2576e2])==null?void 0x0:_0x1a2e86[_0x160b90],_0x31508a=(_0x32a3f5=_0x59d79f==null?void 0x0:_0x59d79f[_0x2576e2])==null?void 0x0:_0x32a3f5[_0x160b90];return{'arrayFormulaCellDataMatrix':_0x3dae54,'unitDataMatrix':_0x31508a};}[_0x217abe(0x42c)](_0x447fe0,_0x355d8f,_0x3a2a74){const _0x19c88a=_0x217abe,_0x51bbcb=this[_0x19c88a(0x27c)]['getViewData'](_0x447fe0,_0x355d8f,_0x3a2a74),_0x254966=[],_0xa33aaf=new _0x5cf8ff['ObjectMatrix']();if(_0x51bbcb){const {rangeCache:_0x4576e6,matrix:_0x33ad9c,oldRangeCache:_0x3aa127,oldMatrix:_0x3a3611}=_0x51bbcb,_0x360f98=_0x54f967(_0x3aa127),_0x41f1ea=_0x54f967(_0x4576e6);_0x254966[_0x19c88a(0x3d3)](..._0x41f1ea,..._0x360f98),_0x3a3611&&_0x3aa127&&_0x360f98['forEach'](_0x20883e=>{const _0x29e892=_0x19c88a;for(let _0x163fed=_0x20883e[_0x29e892(0x1f3)];_0x163fed<=_0x20883e[_0x29e892(0x46c)];_0x163fed++)for(let _0x2eac84=_0x20883e['startColumn'];_0x2eac84<=_0x20883e[_0x29e892(0x3ab)];_0x2eac84++)_0xa33aaf[_0x29e892(0x1df)](_0x163fed,_0x2eac84);}),_0x33ad9c&&_0x41f1ea&&_0x41f1ea[_0x19c88a(0x22c)](_0x294cb7=>{const _0x1c14c6=_0x19c88a;for(let _0x54f944=_0x294cb7[_0x1c14c6(0x1f3)];_0x54f944<=_0x294cb7[_0x1c14c6(0x46c)];_0x54f944++)for(let _0x5e3166=_0x294cb7[_0x1c14c6(0x38b)];_0x5e3166<=_0x294cb7['endColumn'];_0x5e3166++)_0xa33aaf[_0x1c14c6(0x364)](_0x54f944,_0x5e3166,_0x33ad9c[_0x1c14c6(0x2bd)](_0x54f944,_0x5e3166));});}const _0x226833={};return _0x226833[_0x447fe0]={[_0x355d8f]:_0x1aeae4(_0x254966)},{'runtimeCellData':{[_0x447fe0]:{[_0x355d8f]:_0xa33aaf}},'dirtyRanges':_0x226833};}['dispose'](){}};_0x1903dc=_0x4ddbe5([_0x1cafcc(0x0,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x3f2)])),_0x1cafcc(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x1683c2[_0x217abe(0x180)])),_0x1cafcc(0x2,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x20e)])),_0x1cafcc(0x3,_0x5cf8ff[_0x217abe(0x306)](_0x1683c2[_0x217abe(0x2b9)])),_0x1cafcc(0x4,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x3e6)]))],_0x1903dc);var _0x1fb3df=Object[_0x217abe(0x17a)],_0x123f42=(_0x2fe87a,_0x2e6316,_0xbaf03a,_0x1407a5)=>{const _0x298bbb=_0x217abe;for(var _0x215e73=_0x1407a5>0x1?void 0x0:_0x1407a5?_0x1fb3df(_0x2e6316,_0xbaf03a):_0x2e6316,_0x5ccd17=_0x2fe87a[_0x298bbb(0x31a)]-0x1,_0x2c9e5f;_0x5ccd17>=0x0;_0x5ccd17--)(_0x2c9e5f=_0x2fe87a[_0x5ccd17])&&(_0x215e73=_0x2c9e5f(_0x215e73)||_0x215e73);return _0x215e73;},_0x2e4488=(_0xaa5005,_0x51a60e)=>(_0x51081d,_0x51185d)=>_0x51a60e(_0x51081d,_0x51185d,_0xaa5005);let _0x57699a=class extends _0x5cf8ff[_0x217abe(0x374)]{constructor(_0x3bff1d,_0x45fc9a,_0x490b05,_0x149816){const _0x20cadc=_0x217abe;super(),_0x4cbd74(this,_0x20cadc(0x208),new _0x5cf8ff[(_0x20cadc(0x2a5))]()),(this[_0x20cadc(0x172)]=_0x3bff1d,this[_0x20cadc(0x292)]=_0x45fc9a,this[_0x20cadc(0x3a4)]=_0x490b05,this[_0x20cadc(0x296)]=_0x149816,this[_0x20cadc(0x1f8)]());}[_0x217abe(0x1f8)](){const _0x1c7303=_0x217abe;this[_0x1c7303(0x3e2)](this[_0x1c7303(0x292)][_0x1c7303(0x329)]({'getMutations':_0x42ce24=>{const _0x233511=_0x1c7303;if(_0x42ce24['id']===_0x3d008a[_0x233511(0x28f)]['id']||_0x42ce24['id']===_0x3d008a['ClearSelectionAllCommand']['id']){const _0x16b064=[],_0x3090a9=[],_0x52862b=this[_0x233511(0x3a4)][_0x233511(0x3d9)]()[_0x233511(0x44b)](_0x269090=>_0x269090[_0x233511(0x42e)]),_0x383555=_0x3d008a['getSheetCommandTarget'](this[_0x233511(0x172)]);if(!_0x383555)return{'redos':[],'undos':[]};const {unitId:_0x2d0ff7,subUnitId:_0x37a99d}=_0x383555,_0x19f8d6={},_0x15dab8=this['_sheetsPivotTableConfigModel'][_0x233511(0x456)](_0x2d0ff7,_0x37a99d);if(_0x15dab8!=null&&_0x15dab8[_0x233511(0x1da)])for(const [_0x4945f8,_0x443c88]of _0x15dab8){const {unitId:_0x3f3c62,subUnitId:_0x5b7757,row:_0x3b253e,col:_0x37caf2}=_0x443c88['targetCellInfo'];_0x3f3c62===_0x383555[_0x233511(0x26d)]&&_0x5b7757===_0x383555[_0x233511(0x1d0)]&&(_0x19f8d6[_0x3b253e+'-'+_0x37caf2]=_0x4945f8);}return _0x52862b&&_0x383555&&_0x52862b['forEach'](_0x3b4103=>{const _0x2b76b3=_0x233511;_0x5cf8ff[_0x2b76b3(0x273)][_0x2b76b3(0x18a)](_0x3b4103,(_0x29b258,_0x188c05)=>{const _0x23c7eb=_0x2b76b3,_0x217466=_0x29b258+'-'+_0x188c05;if(_0x19f8d6[_0x217466]){const _0x44ce8d=_0x19f8d6[_0x217466];_0x16b064[_0x23c7eb(0x3d3)]({'id':_0x5a7c3a['id'],'params':{'unitId':_0x2d0ff7,'subUnitId':_0x37a99d,'pivotTableId':_0x44ce8d}});const _0x5379a0=this[_0x23c7eb(0x296)][_0x23c7eb(0x371)](_0x2d0ff7,_0x44ce8d),_0x1e60f6=this[_0x23c7eb(0x296)]['getPivotTableConfig'](_0x2d0ff7,_0x37a99d,_0x44ce8d);_0x3090a9[_0x23c7eb(0x3d3)]({'id':_0x55ee20['id'],'params':{'unitId':_0x2d0ff7,'subUnitId':_0x37a99d,'pivotTableId':_0x44ce8d,'pivotTableConfig':_0x1e60f6,'collectionConfig':_0x5379a0}});}});}),{'redos':_0x16b064,'undos':_0x3090a9};}return{'redos':[],'undos':[]};}}));}};_0x57699a=_0x123f42([_0x2e4488(0x0,_0x5cf8ff['IUniverInstanceService']),_0x2e4488(0x1,_0x5cf8ff['Inject'](_0x3d008a['SheetInterceptorService'])),_0x2e4488(0x2,_0x5cf8ff[_0x217abe(0x306)](_0x3d008a[_0x217abe(0x1a6)])),_0x2e4488(0x3,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x390)]))],_0x57699a);var _0x1d4158=Object[_0x217abe(0x17a)],_0x3f1875=(_0x596985,_0x2de179,_0x105335,_0x4dedfb)=>{const _0x796a2d=_0x217abe;for(var _0x89e63a=_0x4dedfb>0x1?void 0x0:_0x4dedfb?_0x1d4158(_0x2de179,_0x105335):_0x2de179,_0x6299b2=_0x596985[_0x796a2d(0x31a)]-0x1,_0x35ddf4;_0x6299b2>=0x0;_0x6299b2--)(_0x35ddf4=_0x596985[_0x6299b2])&&(_0x89e63a=_0x35ddf4(_0x89e63a)||_0x89e63a);return _0x89e63a;},_0x48f2e3=(_0x1d61bf,_0xb766a8)=>(_0x11f508,_0x5aa613)=>_0xb766a8(_0x11f508,_0x5aa613,_0x1d61bf);let _0x16c7a6=class extends _0x5cf8ff['Disposable']{constructor(_0x2e01f8,_0x51e24f,_0x169b9d,_0x3c3015,_0x162b1b){const _0x3b719f=_0x217abe;super(),this[_0x3b719f(0x292)]=_0x2e01f8,this[_0x3b719f(0x43c)]=_0x51e24f,this[_0x3b719f(0x172)]=_0x169b9d,this[_0x3b719f(0x296)]=_0x3c3015,this['_sheetsPivotTableService']=_0x162b1b,this[_0x3b719f(0x257)]();}[_0x217abe(0x2be)](_0x375766,_0x744f53,_0x3df070){const _0x148c25=_0x217abe,{pageView:_0x50c54f,cornerView:_0x10a4f6,rowView:_0x365d33,colView:_0x3d29f3,dataView:_0x5a642c}=_0x744f53,_0x58f295=_0x375766;let _0x55881f;if(_0x3df070)_0x55881f=[..._0x1d91b2(_0x58f295)];else{const _0x20dbd1=_0x3e0b54(_0x58f295,_0x50c54f,!0x0),_0x4f15d1=_0x50c54f['lastRow']>=0x0?_0x50c54f[_0x148c25(0x178)]+0x1:0x0,_0x494e54=_0x10a4f6[_0x148c25(0x2eb)],_0x1ccdd3=_0x10a4f6[_0x148c25(0x3d2)],_0x47e6e6=_0x20dbd1['length']>0x0?_0x491659:0x0,_0x5a5c7b=_0x3e0b54({'row':_0x58f295[_0x148c25(0x2aa)]+_0x4f15d1+_0x47e6e6,'col':_0x58f295[_0x148c25(0x1b1)]},_0x10a4f6,!0x1,!0x1),_0x5e5234=_0x3e0b54({'row':_0x58f295['row']+_0x4f15d1+_0x47e6e6+_0x494e54,'col':_0x58f295['col']},_0x365d33,!0x1,!0x0),_0x43b207=_0x3e0b54({'row':_0x58f295[_0x148c25(0x2aa)]+_0x4f15d1+_0x47e6e6,'col':_0x58f295[_0x148c25(0x1b1)]+_0x1ccdd3},_0x3d29f3,!0x1,!0x0),_0x1569bc=_0x3e0b54({'row':_0x58f295['row']+_0x4f15d1+_0x47e6e6+_0x494e54,'col':_0x58f295[_0x148c25(0x1b1)]+_0x1ccdd3},_0x5a642c,!0x1,!0x0);_0x55881f=[..._0x20dbd1,..._0x5a5c7b,..._0x5e5234,..._0x43b207,..._0x1569bc];}return _0x55881f;}[_0x217abe(0x257)](){const _0x4b31b4=_0x217abe;this['disposeWithMe'](this[_0x4b31b4(0x195)]['interceptor']['intercept'](this[_0x4b31b4(0x195)]['interceptor'][_0x4b31b4(0x428)]()[_0x4b31b4(0x309)],{'handler':(_0x242c6e,_0x176ecc)=>{const _0x499aef=_0x4b31b4,{cellInfo:_0xce6591,view:_0x3bd009,isEmpty:_0x1aee10}=_0x176ecc,_0x18e9ab=_0xce6591,{unitId:_0x5eb277,subUnitId:_0x1ee10b}=_0x18e9ab,_0x2764d0=this[_0x499aef(0x2be)](_0xce6591,_0x3bd009,_0x1aee10),_0x25ac61=this[_0x499aef(0x292)]['generateMutationsByRanges']({'unitId':_0x5eb277,'subUnitId':_0x1ee10b,'ranges':_0x2764d0}),_0x4ca179=_0x5450c0(this[_0x499aef(0x43c)],_0x5eb277,_0x1ee10b,_0x2764d0);_0x4ca179[_0x499aef(0x1b2)]&&(_0x25ac61[_0x499aef(0x3ea)][_0x499aef(0x3d3)](_0x4ca179['setRangeValueRedoMutation']),_0x25ac61[_0x499aef(0x3c3)][_0x499aef(0x3d3)](_0x4ca179[_0x499aef(0x35f)]));const _0x462d76=this[_0x499aef(0x3f5)](_0x3bd009,_0xce6591);return _0x25ac61[_0x499aef(0x3ea)][_0x499aef(0x3d3)](..._0x462d76['redos']),_0x25ac61[_0x499aef(0x3c3)][_0x499aef(0x3d3)](..._0x462d76[_0x499aef(0x3c3)]),{'redos':_0x25ac61[_0x499aef(0x3ea)],'undos':_0x25ac61[_0x499aef(0x3c3)]};}}));}[_0x217abe(0x3f5)](_0x19d2d7,_0x4b2078){const _0x11ef71=_0x217abe,{col:_0x116f5c,unitId:_0x41858c,subUnitId:_0x10fdae}=_0x4b2078,_0x2075d8=[],_0x36b398=[],_0x59a0ed=_0x3d008a[_0x11ef71(0x1cb)](this[_0x11ef71(0x172)],{'unitId':_0x41858c,'subUnitId':_0x10fdae});if(!_0x4b2078||!_0x19d2d7||!_0x59a0ed)return{'undos':_0x36b398,'redos':_0x2075d8};const _0x3f9b54=this[_0x11ef71(0x296)][_0x11ef71(0x41a)](),{colView:_0x55fea5,dataView:_0x58ffee,cornerView:_0x59f07e,rowView:_0x5be34d,formatMap:_0xc7edb2}=_0x19d2d7,_0x354ac4=_0xb3be21(_0x55fea5,_0x3f9b54,!0x0,_0xc7edb2),_0x43875a=_0xb3be21(_0x5be34d,_0x3f9b54,!0x1,_0xc7edb2),_0x58a454=_0x53688f(_0x58ffee),_0x29e524=_0x42755e(_0x59f07e),{worksheet:_0x4d7b73}=_0x59a0ed;if(typeof window<'u'&&window[_0x11ef71(0x280)]){const _0x54b886=_0xcb82fe[_0x11ef71(0x3f7)]({..._0x564739['colStyle']}),_0x5ebeb8=_0xcb82fe[_0x11ef71(0x35a)]['getTextSize'](_0x354ac4,_0x54b886)['width']+0x10,_0x4184fd=_0xcb82fe['FontCache'][_0x11ef71(0x42b)](_0x58a454,_0x54b886)[_0x11ef71(0x244)],_0x1b1408=Math[_0x11ef71(0x464)](Math[_0x11ef71(0x3bc)](_0x5ebeb8,_0x4184fd))+0x10,_0x10726b=Math[_0x11ef71(0x464)](_0xcb82fe[_0x11ef71(0x35a)][_0x11ef71(0x42b)](_0x43875a,_0x54b886)[_0x11ef71(0x244)]),_0xd5549d=Math[_0x11ef71(0x464)](_0xcb82fe[_0x11ef71(0x35a)][_0x11ef71(0x42b)](_0x29e524,_0x54b886)[_0x11ef71(0x244)]),_0x452a97=Math[_0x11ef71(0x3bc)](_0x10726b,_0xd5549d,0x28)+0xc,_0x2ededc=_0x55fea5['colCount']+_0x59f07e[_0x11ef71(0x3d2)],_0x47fec2={},_0x4f5f14={};for(let _0x1bd7ce=_0x116f5c;_0x1bd7ce<_0x116f5c+_0x2ededc;_0x1bd7ce++){const _0x475de1=_0x4d7b73[_0x11ef71(0x37f)](_0x1bd7ce);_0x47fec2[_0x1bd7ce]=_0x475de1,_0x1bd7ce-_0x116f5c<_0x59f07e[_0x11ef71(0x3d2)]?_0x4f5f14[_0x1bd7ce-_0x116f5c]=_0x452a97:_0x4f5f14[_0x1bd7ce-_0x116f5c]=_0x1b1408;}_0x2075d8[_0x11ef71(0x3d3)]({'id':_0x3d008a['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x10fdae,'unitId':_0x41858c,'ranges':[{'startColumn':_0x116f5c,'endColumn':_0x116f5c+_0x2ededc-0x1,'startRow':0x0,'endRow':_0x4d7b73[_0x11ef71(0x1a4)]()-0x1}],'colWidth':_0x4f5f14}}),_0x36b398[_0x11ef71(0x3d3)]({'id':_0x3d008a[_0x11ef71(0x3dc)]['id'],'params':{'subUnitId':_0x10fdae,'unitId':_0x41858c,'ranges':[{'startColumn':_0x116f5c,'endColumn':_0x116f5c+_0x2ededc-0x1,'startRow':0x0,'endRow':_0x4d7b73['getRowCount']()-0x1}],'colWidth':_0x47fec2}});}return{'undos':_0x36b398,'redos':_0x2075d8};}};_0x16c7a6=_0x3f1875([_0x48f2e3(0x0,_0x5cf8ff[_0x217abe(0x306)](_0x3d008a[_0x217abe(0x2af)])),_0x48f2e3(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x3e6)])),_0x48f2e3(0x2,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x198)])),_0x48f2e3(0x3,_0x5cf8ff['Inject'](_0x28dbf0['SheetsPivotTableConfigModel'])),_0x48f2e3(0x4,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x368)]))],_0x16c7a6);var _0x41de8b=Object[_0x217abe(0x17a)],_0x263b92=(_0x3279fc,_0x190650,_0x54d3b0,_0x4143f9)=>{const _0x3c695d=_0x217abe;for(var _0x910604=_0x4143f9>0x1?void 0x0:_0x4143f9?_0x41de8b(_0x190650,_0x54d3b0):_0x190650,_0xb6d6fb=_0x3279fc[_0x3c695d(0x31a)]-0x1,_0x12befb;_0xb6d6fb>=0x0;_0xb6d6fb--)(_0x12befb=_0x3279fc[_0xb6d6fb])&&(_0x910604=_0x12befb(_0x910604)||_0x910604);return _0x910604;},_0x4885f6=(_0x285b97,_0x503af7)=>(_0x1d1537,_0x4772e8)=>_0x503af7(_0x1d1537,_0x4772e8,_0x285b97);let _0xca9d6c=class extends _0x5cf8ff['Disposable']{constructor(_0x11309e,_0x2bfe99,_0x372d2b,_0x3352cb,_0xe4903f,_0x587080,_0x45eb2d){const _0x25c781=_0x217abe;super(),_0x4cbd74(this,_0x25c781(0x208),new _0x5cf8ff['DisposableCollection']()),(this[_0x25c781(0x43c)]=_0x11309e,this[_0x25c781(0x45e)]=_0x2bfe99,this[_0x25c781(0x36f)]=_0x372d2b,this['_univerInstanceService']=_0x3352cb,this[_0x25c781(0x296)]=_0xe4903f,this[_0x25c781(0x2e9)]=_0x587080,this[_0x25c781(0x292)]=_0x45eb2d,this['_onRefRangeChange']());}[_0x217abe(0x231)](){const _0x5c66d1=_0x217abe,_0x4eb0cc=(_0x185477,_0x23d778)=>{const _0x22aead=_0x3343,_0x3dd65a=this[_0x22aead(0x172)][_0x22aead(0x425)](_0x5cf8ff['UniverInstanceType'][_0x22aead(0x36c)]);if(!_0x3dd65a||!(_0x3dd65a==null?void 0x0:_0x3dd65a[_0x22aead(0x3db)](_0x23d778)))return;this[_0x22aead(0x208)]['dispose']();const _0x15b9e0=_0xe63350=>this[_0x22aead(0x449)](_0xe63350,_0x185477,_0x23d778),_0x251581=this[_0x22aead(0x296)][_0x22aead(0x456)](_0x185477,_0x23d778);if(!(_0x251581!=null&&_0x251581[_0x22aead(0x1da)]))return;Array[_0x22aead(0x440)](_0x251581['values']())['map'](_0x52e3a6=>{const _0xa67417=_0x22aead,{row:_0x50ed8b,col:_0x5426ec}=_0x52e3a6['targetCellInfo'];return _0x5cf8ff[_0xa67417(0x396)](_0x50ed8b,_0x5426ec);})[_0x22aead(0x22c)](_0xf65562=>{const _0x37fb79=_0x22aead;this[_0x37fb79(0x208)][_0x37fb79(0x219)](this[_0x37fb79(0x45e)][_0x37fb79(0x1ae)](_0xf65562,_0x15b9e0,_0x185477,_0x23d778));});},_0x242cb9=()=>{const _0x43507d=_0x3343,_0x16c740=this[_0x43507d(0x172)]['getCurrentUnitForType'](_0x5cf8ff[_0x43507d(0x32d)][_0x43507d(0x36c)]);if(_0x16c740){const _0x1736a7=_0x16c740['getActiveSheet']();if(!_0x1736a7)return;_0x4eb0cc(_0x16c740['getUnitId'](),_0x1736a7[_0x43507d(0x404)]());}};this[_0x5c66d1(0x3e2)](this[_0x5c66d1(0x36f)][_0x5c66d1(0x259)](_0x37ca22=>{const _0x1a6c46=_0x5c66d1;if(_0x37ca22['id']===_0x3d008a[_0x1a6c46(0x18f)]['id']){const _0xa9c028=_0x37ca22[_0x1a6c46(0x1b8)],_0x400e91=_0xa9c028[_0x1a6c46(0x1d0)],_0x1f7178=_0xa9c028['unitId'];if(!_0x400e91||!_0x1f7178)return;_0x4eb0cc(_0x1f7178,_0x400e91);}})),this[_0x5c66d1(0x3e2)](this['_sheetsPivotTableConfigModel'][_0x5c66d1(0x418)]['subscribe'](_0x5af45e=>{_0x5af45e&&_0x242cb9();})),this[_0x5c66d1(0x3e2)](this[_0x5c66d1(0x296)]['pivotConfigChange$'][_0x5c66d1(0x1de)](_0x1f07ef=>{const _0x23ca9f=_0x5c66d1,_0xbb8806=_0x3d008a[_0x23ca9f(0x1cb)](this[_0x23ca9f(0x172)]);if(!_0xbb8806)return;const {unitId:_0x3df8d2,subUnitId:_0x1e39e3}=_0xbb8806,{unitId:_0x264758,subUnitId:_0x46d072}=_0x1f07ef;_0x3df8d2!==_0x264758||_0x1e39e3!==_0x46d072||_0x4eb0cc(_0x3df8d2,_0x1e39e3);})),_0x242cb9();}[_0x217abe(0x449)](_0x5a5af5,_0x4e367c,_0x8520e5){const _0x36d536=_0x217abe;switch(_0x5a5af5['id']){case _0x3d008a[_0x36d536(0x251)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x5a5af5[_0x36d536(0x1b8)],_0x4e367c,_0x8520e5);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x3a2410,_0x5570ac,_0x508c88){const _0x5e29b6=_0x217abe,{fromRange:_0x262b31,toRange:_0x1332aa}=_0x3a2410,_0x589472=[],_0x4f3ec4=[],_0x234c72=_0x3d008a[_0x5e29b6(0x1cb)](this[_0x5e29b6(0x172)]);if(!_0x234c72)return{'undos':_0x4f3ec4,'redos':_0x589472};if(_0x5570ac!==_0x234c72[_0x5e29b6(0x26d)]||_0x508c88!==_0x234c72[_0x5e29b6(0x1d0)])return{'undos':_0x4f3ec4,'redos':_0x589472};const _0x4fd00d=this[_0x5e29b6(0x296)][_0x5e29b6(0x456)](_0x5570ac,_0x508c88);if(_0x4fd00d!=null&&_0x4fd00d['size'])for(const [_0x4a99f5,_0xb2186f]of _0x4fd00d){const {unitId:_0x1fdb75,subUnitId:_0x46bbd8,row:_0x7ee53c,col:_0x1c1fb9}=_0xb2186f[_0x5e29b6(0x25b)];if(_0x1fdb75===_0x234c72['unitId']&&_0x46bbd8===_0x234c72[_0x5e29b6(0x1d0)]){const _0x40fc7d=_0x5cf8ff[_0x5e29b6(0x396)](_0x7ee53c,_0x1c1fb9);if(_0x5cf8ff[_0x5e29b6(0x1d8)][_0x5e29b6(0x2ab)](_0x40fc7d,_0x262b31)){const _0x505e08=_0x7ee53c-_0x262b31[_0x5e29b6(0x1f3)],_0x34f999=_0x1c1fb9-_0x262b31[_0x5e29b6(0x38b)],_0xf3695e={'row':_0x1332aa['startRow']+_0x505e08,'col':_0x1332aa['startColumn']+_0x34f999};_0x589472[_0x5e29b6(0x3d3)]({'id':_0x7a70ac['id'],'params':{'unitId':_0x1fdb75,'subUnitId':_0x46bbd8,'pivotTableId':_0x4a99f5,'targetCellPosition':_0xf3695e}}),_0x4f3ec4['push']({'id':_0x7a70ac['id'],'params':{'unitId':_0x1fdb75,'subUnitId':_0x46bbd8,'pivotTableId':_0x4a99f5,'targetCellPosition':{'row':_0x7ee53c,'col':_0x1c1fb9}}});const _0x10cdde=_0xf3695e[_0x5e29b6(0x2aa)]-_0x7ee53c,_0x4ec3f3=_0xf3695e[_0x5e29b6(0x1b1)]-_0x1c1fb9,_0x45bd24=[],_0x1499c7=this['_sheetsPivotTableAdaptorModel'][_0x5e29b6(0x2d6)](_0x1fdb75,_0x46bbd8,_0x4a99f5),_0x12909e=_0x1499c7==null?void 0x0:_0x1499c7[_0x5e29b6(0x1dd)];if(_0x12909e){Object['keys'](_0x12909e)[_0x5e29b6(0x22c)](_0x45b0d9=>{const _0x15827e=_0x5e29b6;_0x12909e[_0x45b0d9][_0x15827e(0x22c)](_0x14d033=>{const _0x5af618=_0x15827e,_0x52bbbe={..._0x14d033};_0x52bbbe[_0x5af618(0x1f3)]=_0x14d033['startRow']+_0x10cdde,_0x52bbbe['endRow']=_0x14d033[_0x5af618(0x46c)]+_0x10cdde,_0x52bbbe['startColumn']=_0x14d033[_0x5af618(0x38b)]+_0x4ec3f3,_0x52bbbe['endColumn']=_0x14d033['endColumn']+_0x4ec3f3,_0x45bd24[_0x5af618(0x3d3)](_0x52bbbe);});});const _0x56f5ee=this['_sheetInterceptorService'][_0x5e29b6(0x3e1)]({'unitId':_0x1fdb75,'subUnitId':_0x46bbd8,'ranges':_0x45bd24});_0x589472[_0x5e29b6(0x3d3)](..._0x56f5ee[_0x5e29b6(0x3ea)]),_0x4f3ec4[_0x5e29b6(0x3d3)](..._0x56f5ee[_0x5e29b6(0x3c3)]);const _0x4cd35e=_0x5450c0(this[_0x5e29b6(0x43c)],_0x1fdb75,_0x46bbd8,_0x45bd24);_0x4cd35e[_0x5e29b6(0x1b2)]&&(_0x589472['push'](_0x4cd35e[_0x5e29b6(0x3f6)]),_0x4f3ec4['push'](_0x4cd35e[_0x5e29b6(0x35f)]));}}}}return{'redos':_0x589472,'undos':_0x4f3ec4};}};_0xca9d6c=_0x263b92([_0x4885f6(0x0,_0x5cf8ff['Inject'](_0x5cf8ff[_0x217abe(0x3e6)])),_0x4885f6(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x3d008a['RefRangeService'])),_0x4885f6(0x2,_0x5cf8ff['ICommandService']),_0x4885f6(0x3,_0x5cf8ff[_0x217abe(0x198)]),_0x4885f6(0x4,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x390)])),_0x4885f6(0x5,_0x5cf8ff['Inject'](_0x28dbf0['SheetsPivotTableAdaptorModel'])),_0x4885f6(0x6,_0x5cf8ff[_0x217abe(0x306)](_0x3d008a[_0x217abe(0x2af)]))],_0xca9d6c);var _0x303d91=Object[_0x217abe(0x17a)],_0x4d36ce=(_0x4831a2,_0x4e8f0d,_0x2d21ed,_0x16d61a)=>{for(var _0x3baaf3=_0x16d61a>0x1?void 0x0:_0x16d61a?_0x303d91(_0x4e8f0d,_0x2d21ed):_0x4e8f0d,_0x2e67c1=_0x4831a2['length']-0x1,_0x5d660c;_0x2e67c1>=0x0;_0x2e67c1--)(_0x5d660c=_0x4831a2[_0x2e67c1])&&(_0x3baaf3=_0x5d660c(_0x3baaf3)||_0x3baaf3);return _0x3baaf3;},_0x3d8196=(_0x46adec,_0xdbc32b)=>(_0x4d0622,_0x520ebf)=>_0xdbc32b(_0x4d0622,_0x520ebf,_0x46adec);let _0x52de26=class extends _0x5cf8ff[_0x217abe(0x374)]{constructor(_0x1f2964,_0x3f9e1f){const _0x14cddc=_0x217abe;super(),this[_0x14cddc(0x292)]=_0x1f2964,this[_0x14cddc(0x296)]=_0x3f9e1f,this[_0x14cddc(0x3a5)]();}[_0x217abe(0x3a5)](){const _0x23b497=_0x217abe;this[_0x23b497(0x3e2)](this['_sheetInterceptorService'][_0x23b497(0x329)]({'getMutations':_0x525200=>{const _0x5c40d6=_0x23b497;if(_0x525200['id']===_0x3d008a[_0x5c40d6(0x2a2)]['id']){const _0x34674f=[],_0x2b0b0d=[],_0x6e8712=_0x525200[_0x5c40d6(0x1b8)],{unitId:_0xde7b90,subUnitId:_0x559463}=_0x6e8712;if(!_0xde7b90||!_0x559463)return{'undos':_0x2b0b0d,'redos':_0x34674f};const _0x276760=this[_0x5c40d6(0x296)][_0x5c40d6(0x456)](_0xde7b90,_0x559463);if(_0x276760!=null&&_0x276760[_0x5c40d6(0x1da)])for(const [_0x36a15c,_0x464178]of _0x276760){_0x34674f[_0x5c40d6(0x3d3)]({'id':_0x5a7c3a['id'],'params':{'unitId':_0xde7b90,'subUnitId':_0x559463,'pivotTableId':_0x36a15c}});const _0x419d09={...this[_0x5c40d6(0x296)][_0x5c40d6(0x371)](_0xde7b90,_0x36a15c)};_0x2b0b0d[_0x5c40d6(0x3d3)]({'id':_0x55ee20['id'],'params':{'unitId':_0xde7b90,'subUnitId':_0x559463,'pivotTableId':_0x36a15c,'pivotTableConfig':_0x464178,'collectionConfig':_0x419d09}});}return{'redos':_0x34674f,'undos':_0x2b0b0d};}return{'redos':[],'undos':[]};}}));}};_0x52de26=_0x4d36ce([_0x3d8196(0x0,_0x5cf8ff[_0x217abe(0x306)](_0x3d008a[_0x217abe(0x2af)])),_0x3d8196(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0['SheetsPivotTableConfigModel']))],_0x52de26);var _0x1e325f=Object['getOwnPropertyDescriptor'],_0x438c2f=(_0x486fc6,_0x52af6d,_0x42db3b,_0x50c947)=>{const _0x44cefd=_0x217abe;for(var _0x515f37=_0x50c947>0x1?void 0x0:_0x50c947?_0x1e325f(_0x52af6d,_0x42db3b):_0x52af6d,_0x5810f0=_0x486fc6[_0x44cefd(0x31a)]-0x1,_0x2b104a;_0x5810f0>=0x0;_0x5810f0--)(_0x2b104a=_0x486fc6[_0x5810f0])&&(_0x515f37=_0x2b104a(_0x515f37)||_0x515f37);return _0x515f37;},_0x4a974d=(_0x4a43c1,_0x333d58)=>(_0x2ab73c,_0x435dab)=>_0x333d58(_0x2ab73c,_0x435dab,_0x4a43c1);let _0x1c7bef=class extends _0x5cf8ff[_0x217abe(0x374)]{constructor(_0x2d4bda,_0x5c8e2f,_0x121c5e,_0x3abb25,_0x547d25,_0x45ad4d){const _0x244f01=_0x217abe;super(),this[_0x244f01(0x36f)]=_0x2d4bda,this['_sheetsPivotRpcService']=_0x5c8e2f,this['_sheetsPivotTableAdaptorModel']=_0x121c5e,this[_0x244f01(0x296)]=_0x3abb25,this[_0x244f01(0x172)]=_0x547d25,this[_0x244f01(0x461)]=_0x45ad4d,this[_0x244f01(0x467)](),this[_0x244f01(0x322)]();}['_initDataSendListener'](){const _0x159c9f=_0x217abe;this[_0x159c9f(0x3e2)](this['_commandService']['onCommandExecuted'](_0x3c4dc3=>{const _0xb86ee6=_0x159c9f;if(_0x3c4dc3['id']!==_0x5d5a76['id'])return;const _0x35dffa=_0x3c4dc3[_0xb86ee6(0x1b8)];this['_sheetsPivotRpcService'][_0xb86ee6(0x466)](_0x35dffa);})),this[_0x159c9f(0x3e2)](this[_0x159c9f(0x36f)][_0x159c9f(0x259)](_0x5e118a=>{const _0x113564=_0x159c9f;if(_0x5e118a['id']===_0x3db269['id']){const _0x5daf64=_0x5e118a[_0x113564(0x1b8)];if(_0x5daf64){const {unitId:_0x15f76c,subUnitId:_0x5e76f7,oldSubUnitId:_0x59b5cc,pivotTableId:_0x5676fa,pivotTableConfig:_0x4c440f,collectionConfig:_0x30cb9f}=_0x5daf64;this[_0x113564(0x296)][_0x113564(0x19b)](_0x15f76c,_0x59b5cc,_0x5daf64['pivotTableId'],null),this[_0x113564(0x296)][_0x113564(0x19b)](_0x15f76c,_0x5e76f7,_0x5676fa,_0x4c440f),this[_0x113564(0x296)][_0x113564(0x471)](_0x15f76c,_0x30cb9f);}}})),this[_0x159c9f(0x3e2)](this[_0x159c9f(0x36f)][_0x159c9f(0x259)](_0x2fcfc3=>{const _0x3b9aa2=_0x159c9f;if(_0x2fcfc3['id']!==_0x572c85['id'])return;const _0x411306=_0x3d008a[_0x3b9aa2(0x1cb)](this[_0x3b9aa2(0x172)]);if(!_0x411306)return;const {unitId:_0x56532b,subUnitId:_0x254a69}=_0x411306,_0x4664de=_0x2fcfc3[_0x3b9aa2(0x1b8)];if(_0x4664de[_0x3b9aa2(0x2e6)]&&Object[_0x3b9aa2(0x16c)](_0x4664de[_0x3b9aa2(0x2e6)])[_0x3b9aa2(0x22c)](_0x5c0584=>{const _0xd74a80=_0x3b9aa2;var _0x59ac9d;(_0x59ac9d=_0x4664de[_0xd74a80(0x2e6)])!=null&&_0x59ac9d[_0x5c0584]&&this[_0xd74a80(0x296)][_0xd74a80(0x471)](_0x5c0584,_0x4664de[_0xd74a80(0x2e6)][_0x5c0584]);}),_0x4664de[_0x3b9aa2(0x245)]){const _0x149a06=_0x4664de[_0x3b9aa2(0x245)],{unitId:_0x233a09,subUnitId:_0xf42a32,view:_0x52452b,pivotTableId:_0x1020f4,type:_0x268750,pivotConfig:_0x1f0a7c}=_0x149a06;if(_0x268750===_0x5da69e[_0x3b9aa2(0x284)])this[_0x3b9aa2(0x2e9)][_0x3b9aa2(0x16b)]({'unitId':_0x233a09,'subUnitId':_0xf42a32,'pivotTableId':_0x1020f4,'type':_0x268750}),this[_0x3b9aa2(0x296)][_0x3b9aa2(0x19b)](_0x233a09,_0xf42a32,_0x1020f4,null);else{const _0x4265f4=new _0x2444f4[(_0x3b9aa2(0x2d2))]();_0x4265f4[_0x3b9aa2(0x3e9)](_0x52452b),this[_0x3b9aa2(0x296)]['updateConfigCache'](_0x233a09,_0xf42a32,_0x1020f4,_0x1f0a7c),this[_0x3b9aa2(0x2e9)][_0x3b9aa2(0x16b)]({'unitId':_0x233a09,'subUnitId':_0xf42a32,'pivotTableId':_0x1020f4,'type':_0x268750,'view':_0x4265f4}),this[_0x3b9aa2(0x2e9)][_0x3b9aa2(0x1d9)]({'unitId':_0x233a09,'subUnitId':_0xf42a32,'view':_0x4265f4,'pivotTableId':_0x1020f4,'type':_0x268750});}}else _0x4664de['batch']&&(_0x4664de[_0x3b9aa2(0x162)][_0x3b9aa2(0x22c)](_0xc4d27d=>{const _0x19bead=_0x3b9aa2,{unitId:_0x5362ce,subUnitId:_0x3ca2ff,view:_0x49c1e9,pivotTableId:_0x36667f,type:_0x56d851,pivotConfig:_0x59a3ec}=_0xc4d27d,_0x25f9c5=new _0x2444f4[(_0x19bead(0x2d2))]();_0x25f9c5['formJSON'](_0x49c1e9),this[_0x19bead(0x296)]['updateConfigCache'](_0x5362ce,_0x3ca2ff,_0x36667f,_0x59a3ec),this[_0x19bead(0x2e9)]['updateRenderCache']({'unitId':_0x5362ce,'subUnitId':_0x3ca2ff,'view':_0x25f9c5,'pivotTableId':_0x36667f,'type':_0x56d851});}),this['_sheetsPivotTableConfigModel'][_0x3b9aa2(0x26c)]());this['_sheetsPivotTableAdaptorModel'][_0x3b9aa2(0x1c7)](_0x56532b,_0x254a69);}));}[_0x217abe(0x322)](){const _0x2bf750=_0x217abe;this[_0x2bf750(0x461)][_0x2bf750(0x16e)](_0x2fc9ea['id'],{'commandId':_0x2fc9ea['id'],'getDirtyData'(_0x7afdd9){const _0x17e969=_0x2bf750;return{'dirtyUnitFeatureMap':_0x7afdd9[_0x17e969(0x1b8)]};}});}};_0x1c7bef=_0x438c2f([_0x4a974d(0x0,_0x5cf8ff['Inject'](_0x5cf8ff['ICommandService'])),_0x4a974d(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x1c9)])),_0x4a974d(0x2,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0[_0x217abe(0x3eb)])),_0x4a974d(0x3,_0x5cf8ff[_0x217abe(0x306)](_0x28dbf0['SheetsPivotTableConfigModel'])),_0x4a974d(0x4,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x198)])),_0x4a974d(0x5,_0x1683c2['IActiveDirtyManagerService'])],_0x1c7bef);var _0x46c44f=Object[_0x217abe(0x2a7)],_0x35afd3=Object[_0x217abe(0x17a)],_0x2f7e88=(_0x1308c6,_0x61700f,_0x18ce5f)=>_0x61700f in _0x1308c6?_0x46c44f(_0x1308c6,_0x61700f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18ce5f}):_0x1308c6[_0x61700f]=_0x18ce5f,_0x4942ff=(_0x5966df,_0x398cf9,_0x41fd80,_0x205211)=>{const _0x5dcb44=_0x217abe;for(var _0x305e50=_0x205211>0x1?void 0x0:_0x205211?_0x35afd3(_0x398cf9,_0x41fd80):_0x398cf9,_0x50f7a6=_0x5966df[_0x5dcb44(0x31a)]-0x1,_0x317f12;_0x50f7a6>=0x0;_0x50f7a6--)(_0x317f12=_0x5966df[_0x50f7a6])&&(_0x305e50=_0x317f12(_0x305e50)||_0x305e50);return _0x305e50;},_0x4dcc88=(_0x31e817,_0x210475)=>(_0x348299,_0x5be685)=>_0x210475(_0x348299,_0x5be685,_0x31e817),_0x4a077e=(_0x265b6b,_0x310f1b,_0x3f9e0a)=>_0x2f7e88(_0x265b6b,typeof _0x310f1b!=_0x217abe(0x229)?_0x310f1b+'':_0x310f1b,_0x3f9e0a);_0x28dbf0[_0x217abe(0x3ef)]=class extends _0x5cf8ff[_0x217abe(0x23e)]{constructor(_0x5c642f=_0x123fd7,_0x527a35,_0x46d49e,_0x8ca9e4,_0x503705){const _0x2fe25d=_0x217abe;super(),this[_0x2fe25d(0x3ec)]=_0x5c642f,this[_0x2fe25d(0x43c)]=_0x527a35,this['_commandService']=_0x46d49e,this[_0x2fe25d(0x1bd)]=_0x8ca9e4,this[_0x2fe25d(0x3a1)]=_0x503705;const {..._0x570b7e}=_0x5cf8ff['merge']({},_0x123fd7,this[_0x2fe25d(0x3ec)]);this['_configService'][_0x2fe25d(0x2fe)](_0x1919ce,_0x570b7e),this['_initRegisterCommand'](),this['_initConfig']();}[_0x217abe(0x369)](){const _0x3256a2=_0x217abe;var _0x2eccd6;const _0x5615fd=(_0x2eccd6=this[_0x3256a2(0x3ec)])==null?void 0x0:_0x2eccd6[_0x3256a2(0x2c8)];this[_0x3256a2(0x1bd)][_0x3256a2(0x2fe)](_0x243383,_0x5615fd===!0x0);}[_0x217abe(0x188)](){const _0x720df4=_0x217abe;var _0x32362a;let _0x81c1d4=[];const _0x416e9f=(_0x32362a=this[_0x720df4(0x3ec)])==null?void 0x0:_0x32362a[_0x720df4(0x2c8)];_0x416e9f===!0x0?_0x81c1d4=[[_0x28dbf0[_0x720df4(0x368)]],[_0x28dbf0['SheetsPivotRPCService']],[_0x1c7bef],[_0x28dbf0[_0x720df4(0x3eb)]],[_0x28dbf0['SheetsPivotTableConfigModel']],[_0x52de26],[_0x57699a],[_0xca9d6c],[_0x16c7a6]]:_0x416e9f===!0x1?_0x81c1d4=[[_0x28dbf0[_0x720df4(0x3f2)]],[_0x1903dc]]:_0x416e9f===void 0x0&&(_0x81c1d4=[[_0x28dbf0['SheetsPivotDataSourceModel']],[_0x1903dc],[_0x28dbf0['SheetsPivotTableService']],[_0x28dbf0[_0x720df4(0x1c9)]],[_0x1c7bef],[_0x28dbf0['SheetsPivotTableAdaptorModel']],[_0x28dbf0[_0x720df4(0x390)]],[_0x52de26],[_0x57699a],[_0xca9d6c],[_0x16c7a6]]),_0x81c1d4['forEach'](_0x4bba5c=>this[_0x720df4(0x43c)]['add'](_0x4bba5c)),[_0x1903dc,_0x1c7bef,_0x28dbf0['SheetsPivotTableService'],_0x57699a,_0x52de26,_0xca9d6c,_0x16c7a6][_0x720df4(0x22c)](_0x44f703=>{const _0x4ced3e=_0x720df4;this[_0x4ced3e(0x43c)][_0x4ced3e(0x2fb)](_0x44f703)&&this['_injector'][_0x4ced3e(0x191)](_0x44f703);});}['_initRegisterCommand'](){[_0x5f00d2,_0x4d02a6,_0x361035,_0x2f4a42,_0x2f77da,_0x5564c0,_0x536085,_0xaf7849,_0x1e3a37,_0xacc2d7,_0x417def,_0x550533,_0x1d14e1,_0x27f768,_0x55ee20,_0x4cad42,_0x5a7c3a,_0xeed0a6,_0x49b05c,_0x266174,_0x599b06,_0x369aad,_0x22cb31,_0x3ffb58,_0x426986,_0xbcc3cc,_0x7a70ac,_0x4d48bb,_0x5d5a76,_0x572c85,_0x50bc5e,_0x3951ca,_0x35c653,_0x2b7b2c,_0x5d77fb,_0x4763a0,_0x2f22f7,_0x2fc9ea,_0x3db269,_0x26a432,_0x569b93,_0x3f7d9a,_0x15803c]['forEach'](_0x34d36=>{const _0x5b8739=_0x3343;var _0x5f549d;(_0x5f549d=this[_0x5b8739(0x3a1)])==null||_0x5f549d[_0x5b8739(0x22e)](_0x34d36),this[_0x5b8739(0x36f)][_0x5b8739(0x31c)](_0x34d36);});}},_0x4a077e(_0x28dbf0[_0x217abe(0x3ef)],'pluginName',_0x5690d9),_0x4a077e(_0x28dbf0[_0x217abe(0x3ef)],'type',_0x5cf8ff[_0x217abe(0x32d)]['UNIVER_SHEET']),_0x28dbf0[_0x217abe(0x3ef)]=_0x4942ff([_0x5cf8ff['DependentOn'](_0x556295['UniverLicensePlugin']),_0x4dcc88(0x1,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff['Injector'])),_0x4dcc88(0x2,_0x5cf8ff[_0x217abe(0x306)](_0x5cf8ff[_0x217abe(0x20e)])),_0x4dcc88(0x3,_0x5cf8ff[_0x217abe(0x1b0)]),_0x4dcc88(0x4,_0x5cf8ff[_0x217abe(0x1ec)](_0x224436[_0x217abe(0x29c)]))],_0x28dbf0[_0x217abe(0x3ef)]),_0x28dbf0[_0x217abe(0x2d5)]=_0x361035,_0x28dbf0[_0x217abe(0x3de)]=_0xeed0a6,_0x28dbf0[_0x217abe(0x1d4)]=_0x4d02a6,_0x28dbf0[_0x217abe(0x3c4)]=_0x55ee20,_0x28dbf0['AddPivotTableWithConfigCommand']=_0x5f00d2,_0x28dbf0['BLANK_ROW_COUNT']=_0x491659,_0x28dbf0[_0x217abe(0x25a)]=_0x45e71b,_0x28dbf0['MovePivotFieldCommand']=_0x2f4a42,_0x28dbf0[_0x217abe(0x415)]=_0x1d14e1,_0x28dbf0[_0x217abe(0x265)]=_0x5b1b05,_0x28dbf0[_0x217abe(0x236)]=_0x27f768,_0x28dbf0['PivotTableOperationEnum']=_0x5da69e,_0x28dbf0['PivotTableViewDirtyMarkOperation']=_0x2fc9ea,_0x28dbf0['PositionType']=_0x59cdf6,_0x28dbf0[_0x217abe(0x1a2)]=_0x2f77da,_0x28dbf0[_0x217abe(0x18e)]=_0x369aad,_0x28dbf0[_0x217abe(0x320)]=_0x5a7c3a,_0x28dbf0[_0x217abe(0x319)]=_0x22cb31,_0x28dbf0[_0x217abe(0x3f8)]=_0x15803c,_0x28dbf0[_0x217abe(0x159)]=_0x1919ce,_0x28dbf0[_0x217abe(0x331)]=_0x5690d9,_0x28dbf0['SetPivotCollapseCommand']=_0xaf7849,_0x28dbf0[_0x217abe(0x454)]=_0x3ffb58,_0x28dbf0[_0x217abe(0x354)]=_0x2b7b2c,_0x28dbf0[_0x217abe(0x46a)]=_0x3f7d9a,_0x28dbf0['SetPivotFilterCommand']=_0xacc2d7,_0x28dbf0['SetPivotFilterMutation']=_0x599b06,_0x28dbf0[_0x217abe(0x452)]=_0xbcc3cc,_0x28dbf0['SetPivotPositionMutation']=_0x7a70ac,_0x28dbf0[_0x217abe(0x1f5)]=_0x1e3a37,_0x28dbf0[_0x217abe(0x325)]=_0x426986,_0x28dbf0[_0x217abe(0x24d)]=_0x35c653,_0x28dbf0[_0x217abe(0x34a)]=_0x26a432,_0x28dbf0[_0x217abe(0x2f5)]=_0x569b93,_0x28dbf0[_0x217abe(0x23c)]=_0x536085,_0x28dbf0[_0x217abe(0x339)]=_0x50bc5e,_0x28dbf0['UpdatePivotFieldSettingCommand']=_0x417def,_0x28dbf0['UpdatePivotFieldSourceInfoMutation']=_0x2f22f7,_0x28dbf0[_0x217abe(0x394)]=_0x550533,_0x28dbf0[_0x217abe(0x3d8)]=_0x4763a0,_0x28dbf0[_0x217abe(0x36d)]=_0x5564c0,_0x28dbf0[_0x217abe(0x1a8)]=_0x3951ca,_0x28dbf0['applyChangeSet']=_0x45171b,_0x28dbf0[_0x217abe(0x2dc)]=_0x4842f8,_0x28dbf0[_0x217abe(0x2c9)]=_0x564739,_0x28dbf0['generateSetRangeValueMutations']=_0x5450c0,_0x28dbf0[_0x217abe(0x255)]=_0x3e0b54,_0x28dbf0['getEmptyPivotRanges']=_0x1d91b2,_0x28dbf0[_0x217abe(0x343)]=_0x1a03de,_0x28dbf0['getInsertRowColMutations']=_0x39b7a0,_0x28dbf0[_0x217abe(0x2b7)]=_0x42016b,_0x28dbf0[_0x217abe(0x3fe)]=_0x1d765d,_0x28dbf0['getPivotTableInfo']=_0xa37ac2,_0x28dbf0[_0x217abe(0x44f)]=_0x462fdf,_0x28dbf0[_0x217abe(0x1cf)]=_0x54f967,Object['defineProperty'](_0x28dbf0,Symbol[_0x217abe(0x272)],{'value':_0x217abe(0x30e)});}));function _0x3343(_0x3bfc27,_0x212018){const _0x4e05d5=_0x4e05();return _0x3343=function(_0x33438b,_0x4c7656){_0x33438b=_0x33438b-0x158;let _0xcf0467=_0x4e05d5[_0x33438b];return _0xcf0467;},_0x3343(_0x3bfc27,_0x212018);}function _0x4e05(){const _0x1c9299=['isFeatureAuthorizedWithinTime','getMatrix','type','RemoveSheetCommand','DataField','getSortInfo','DisposableCollection','addFieldWithSourceId','defineProperty','sheets-pivot.cellDateGroupDisplay.year','sourceName','row','intersects','registerCallbackWithEvent','isValue','getDataFieldId','SheetInterceptorService','rowRanges','\x20-\x20','InsertRowMutation','setPivotFilter','isDateGroupField','_subjectCollectionChange','updateView','getPivotCellInfo','UniverProSheetsPivot','GlobalComputingStatusService','_configVersion$','collections','generateNullCell','getValue','_getPivotAppliedRanges','isDate','sheet.mutation.pivot-update-value-position','Tools','_ensurePivotItemRenderValueMatrixCache','rangeKey','_globalComputedStartHelpFunc','getRangeStartEndInfo','refreshDataField','sheets-pivot.other','notExecuteFormula','defaultThemeStyle','getSubUnitPivotMatrix','createDataFieldId','PivotTable','Column\x20','27285804GHOocj','slice','hasOwnProperty','sheets-pivot.dateGroup.date','PivotView','_viewData$','SetPivotCollapse','AddPivotFieldCommand','getPivotItemRenderInfoCache','new','3CNosDL','getSheetFeatureLimit','sheets-pivot.stdDevName','removeField','canUsePivot','value','getPivotTableRangeInfo','PivotTableValuePositionEnum','NotNumber','sheet.mutation.set-pivot-filter','Column','PivotErrorTypeEnum','_globalComputedEndHelpFunc','getName','collectionConfig','sheets-pivot.cellDateGroupDisplay.hourMinute','exports','_sheetsPivotTableAdaptorModel','SetRangeValuesMutation','rowCount','getConfig','isPrefixValue','sheet.command.move-pivot-table','updateValuePosition','substring','UniverProEnginePivot','@univerjs/engine-render','sheet.command.move-pivot-field','SetRangeValuesUndoMutationFactory','SetPivotValueFilterMutation','sheet.mutation.add-group-collection','pivotPerformCheck','_collectionChange$','_queryingMap','getCellMatrix','has','sheet.mutation.add-pivot-table','existing','setConfig','pivotTableIndexConfig','BadReference','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','8443386yytIKe','_pivotTableRangeInfo','getRangeKey','varp','Inject','_initUnitDisposed','Collapse','PIVOT_MUTATION_GENERATE','collection','setOptions','getId','pushUndoRedo','Module','var','INTERCEPTOR_POINT','createInterceptorKey','dataFieldId','isText','updateViewData','sheet.command.set-pivot-field-setting','UpdateSource','getUpdateRangeDeleteIds','sheets-pivot.emptyPivot.column','RenamePivotFieldMutation','length','dataStream','registerCommand','setValuePivotFilter','split','_generateUniqueVersion','RemovePivotTableMutation','product','registerDirtyService','updateDirtyPivotTable','_initPivotTextInfo','SetPivotSortMutation','getTypeOfUnitDisposed$','toJSON','sheetName','interceptCommand','RemovePivotField','sheets-pivot.dateGroup.yearQuarter','LifecycleService','UniverInstanceType','setSortInfo','sheets-pivot.varName','getTableFieldById','SHEET_PIVOT_TABLE_PLUGIN','sheet.mutation.set-pivot-field-subtotal-type','_updatePivotTableInstanceCache','paths','function','other','sheets-pivot.subTotal','getPivotDisplayConfig','UpdateFieldPositionMutation','query','SetSheetsFilterRangeMutation','getFieldPositionInfoById','pivotTableConfigs','getDataFieldManager','sequenceExecute','UniverRpc','amd','asyncInterceptor','getFieldListByArea','sheet.mutation.send-pivot-data-local','intercept','_localeService','_deleteModelCache','addPivotTable','CustomCommandExecutionError','SetPivotValueFilterCommand','PivotSubtotalTypeEnum','reset','rangeKeyMap','PivotCellStyleTypeEnum','rowHeaderMap','sheet.command.set-pivot-filter','getDate','oldRangeInfo','sheet.command.set-pivot-collapse','SetPivotFieldFormatMutation','executeCommand','updateAllDisplayName','fields','addPivotTableWithConfig','#1d32e9','FontCache','BLANK_PLACEHOLDER','rgb(255,255,255)','sheets-pivot.stdDevpName','_lifecycleService','setRangeValueUndoMutation','maxDate','rowInfo','_fieldsCollectionChange$','mergeWorksheetSnapshotWithDefault','setValue','sheet.command.add-pivot-field','sheet.mutation.set-pivot-position','rowStyle','SheetsPivotTableService','_initConfig','_host','sheets-pivot.countNumsName','UNIVER_SHEET','UpdatePivotValuePositionCommand','blank','_commandService','setSubtotalType','getCollection','filter','sheets-pivot.columnName','Disposable','deleteDataField','2cNabHd','next','sheet.mutation.get-pivot-data-local','fieldId','_init','sheet.mutation.send-pivot-view-local','getPivotDirtyViewInfo','random','RemoveSheetMutation','getColumnWidth','removePivotTable','contains','SetSortInfo','_pivotTableInstanceCache','sheets-pivot.cellDateGroupDisplay.quarter','dataFields','SetSubtotalType','headerMap','sheets-pivot.maxName','DateGroupField','getFormatInfo','startColumn','@univerjs/rpc','getValuePosition','10760IFWsls','PivotDataFieldTypeEnum','SheetsPivotTableConfigModel','leafStyle','deleteUnitId','bind','UpdatePivotTableSourceRangeCommand','getMonth','cellToRange','sheet.mutation.set-pivot-sort-info','sheet.mutation.add-pivot-field','SetPivotSetting','updatePivotSource','getIntersectsPivotTable','setPivotCollapse','hasField','filterFields','InsertSheetUndoMutationFactory','sheet.mutation.update-date-group','_dataSyncPrimaryController','_featureCalculationManagerService','InsertColMutation','_sheetsSelectionsService','_initRemoveSheetCommandInterceptor','find','@univerjs/sheets','lastCol','workbook\x20is\x20not\x20found','sum','endColumn','SetValueFilter','some','setName','getFieldIds','setTextInfo','InterceptorManager','UniverEngineRender','object','RANGE_TYPE','RemoveColMutation','iterateFieldDim','getFieldDataType','getColumnCount','minDate','_pivotConfigChange$','replace','max','setDateType','generateNewSheetName','displayName','setRange','#FFFFFF','getformat','undos','AddPivotTableMutation','sheet.mutation.set-pivot-value-filter','sideEffectUpdateWorkerCache','getPivotTableIdByCell','splice','min','entries','sheet.command.update-pivot-table-source-range','info','onQueryStart','addRecord','dataFieldManagerConfig','UniverSheets','removeCollections','colCount','push','_pivotRenderInfoCache','DrillDown','sheet.command.pivot-drill-down','_updateModelCache','UpdatePivotTableSourceRangeMutation','getCurrentSelections','getUnit','getSheetBySheetId','SetWorksheetColWidthMutation','markDirty$','AddPivotFieldMutation','MoveRangeMutation','fieldsCollectionChange$','generateMutationsByRanges','disposeWithMe','Add','matrix','Grand\x20Total','Injector','viewData$','setFieldFormat','formJSON','redos','SheetsPivotTableAdaptorModel','_config','panel','CommandType','UniverSheetsPivotTablePlugin','_initLocale','originalFieldId','SheetsPivotDataSourceModel','dispose','8593000pgOhFK','getAutoFitColumnsMutations','setRangeValueRedoMutation','getFontStyleString','ResetPivotFieldsConfigCommand','unshift','_viewData','UpdatePivotSource','updateFieldSourceInfo','RemoveRowMutation','getPivotInfoByLicense','CellValueType','getSheets','result','level','_initPivotDataGetListener','getSheetId','getDisplayName','_ensurePivotTableRangeInfo','YearMonthDate','options','FORCE_STRING','_initSnapshot','MonthDate','NO_COMMERCIAL','pivotTableId','SetPivotTableConfig','getValueIndex','dateType','sheet.mutation.pivot-update-field-position','Minute','Row','pageRanges','MovePivotTableCommand','areaInfo','custom','pivotInitCompleted$','Filter','getTextInfo','ResetPivotTable','_dataFieldManagerCollection','dataFieldsCollection','Values','Varp\x20of\x20','getViewData','iterateField','getMatrixFromRunTimeData','PivotMultipleValueId','SetValuePivotFilter','getCurrentUnitForType','getFieldById','pushComputingStatusSubject','getInterceptPoints','sheets.tabs.sheet','AsyncInterceptorManager','getTextSize','getDirtyInfo','SetOptions','range','getStyles','GrandTotal','fieldIds','handleMoveRange','cornerInfo','sourceRangeInfo','sheet.command.set-pivot-fields-config','getPivotTableCellData','_pivotRenderValueMatrixCache','_textInfo','tuple','_ensurePivotItemRenderInfoCache','sheets-pivot.minName','_injector','handleSourceRangeChange','getSubtotal','Div0','from','getOriginFieldId','getSheetBySheetName','getUnitId','set','generateRandomId','onQueryEnd','isEmpty','SetPivotSort','_refRangeHandle','rowFields','map','addCollectionByJSON','subtotal','broadcastCollectionChange','transFromCellValue','PivotTableChangeTypeEnum','SetCollapse','SetPivotOptionMutation','sheet.command.reset-pivot-fields-config','SetPivotCollapseMutation','name','getSubUnitPivotConfigs','STRING','sheet.operation.pivot-table-view-formula-mark-dirty','_subjectViewChange','setValueFilterInfo','getPivotTableInstance','date','Set','_refRangeService','getIntersects','createAsyncInterceptorKey','_activeDirtyManagerService','rxjs','sheets-pivot.emptyPivot.row','floor','sheet.mutation.send-pivot-config-local','handleAsyncResponse','_initDataSendListener','MAX_SAFE_INTEGER','setDisplayName','SetPivotFieldsConfigCommand','getLastCol','endRow','sheets-pivot.value','fetchThroughInterceptors','PivotDataFieldDataTypeEnum','forValue','updateCollectionConfig','refreshGroupField','MIN_SAFE_INTEGER','IUndoRedoService','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','Existing','endCollectChangeset','body','isArray','dimension','getFieldInfo','updatePivotTableMatrixInfo','sheets-pivot.blank','batch','fromJSON','#eceeff','InsertSheetMutation','average','_resourceManagerService','delete','updateViewInfo','sheet.mutation.set-pivot-collapse','clearRenderCache','keys','sortInfo','register','filterInfo','_exclusiveRangeService','_requestResolvers','_univerInstanceService','stdDev','collapseInfo','forRow','setPivotTable','getAutoDisplayNameFunction','lastRow','data','getOwnPropertyDescriptor','DEFAULT_WORKSHEET_ROW_COUNT','removeDataField','(Blank)','leftOffset','PivotCallbackEnum','IFeatureCalculationManagerService','LS_CONFIG_KEY','rangeType','getTargetByPivotId','_globalComputingSrv','setDataRecordCount','charCodeAt','Count\x20of\x20','onStarting','createCollectionWithDataRange','foreach','getDataFieldByRangeKey','tableFieldId','sheets-pivot.cellDateGroupDisplay.month','RemovePivotFieldMutation','SetWorksheetActiveOperation','remove','get','pbt','updateConfig','sheet.command.add-pivot-table','_sheetsPivotTableService','reduce','_updateRenderEmptyCache','IUniverInstanceService','getDataFieldBySourceName','getPivotTableConfig','updateConfigCache','_ensureViewDataMap','_viewUpdate$','message','New','concat','isBottomTotal','RemovePivotFieldCommand','YearQuarter','getRowCount','FieldsCollection','SheetsSelectionsService','getPivotPerformCheck','UpdateValuePositionMutation','parse','YearMonth','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_initViewModelBySheetInterceptor','_pivotTableMatrixInfo','registerRefRange','getRangeData','IConfigService','col','shouldClear','sheets-pivot.dateGroup.hour','SetPivotFilter','UpdateValuePosition','addExclusiveRange','adjustSheetCellData','params','ErrorType','RenameField','getLastRow','collectionChange$','_configService','addDataFieldWithoutUnitInfo','sheets-pivot.countName','error','InsertSheetCommand','NAME','Hour','COLUMN','updateDataFieldsCollection','@univerjs-pro/engine-pivot','markDirty','getHeaderMapItem','SheetsPivotRPCService','rangeCache','getSheetCommandTarget','numfmt','setPivotSort','queryDirtyPivotTable','unionPivotViewRange','subUnitId','fetchThroughAsyncInterceptors','generateHexNumber','getRangeKeyList','AddPivotTableCommand','RemoveSheetsFilterMutation','colStyle','getAutoDisplayName','Rectangle','updateRenderCache','size','renameField','deepClone','rangesInfo','subscribe','realDeleteValue','measure','removePivotField','Var\x20of\x20','getFullYear','Value','@univerjs/engine-formula','Total','@univerjs-pro/license','format','IExclusiveRangeService','updateFieldPosition','InterceptorEffectEnum','Optional','removeSourceRangeChange','resetArea','drillDown','Panel','sheets-pivot.cellDateGroupDisplay.date','UniverSheetsFilter','startRow','_collectionConfigModel','SetPivotSortCommand','sheets-pivot.dateGroup.hourMinute','version','_initClearSelectionCommandInterceptor','pageStyle','node','Subject','registerPluginResource','update','getPivotTableMatrixInfo','@univerjs/core','count','valueIndex','AddPivotTable','sheets-pivot.dateGroup.minute','Subtotal','colInfo','removeValueFilterInfo','number','disposableCollection','getSourceName','sheets-pivot.dateGroup.yearMonthDate','_createExclusiveRange','updatePivotTableRangeInfo','movePivotField','ICommandService','getIndexesByPathStr','stringify','string','PivotViewCellValueTypeEnum','_getAutoName','getFilterInfo','initDataRanges','getFormat','resetPivotTable','Date','add','updateRangeKeyMap','columnFields','sheets-pivot.dateGroup.monthDate','getFieldCountByArea','DIV_BY_ZERO','MovePivotField','1153456jaEwCp','getMatrixValue','3159284iePtWt','unshiftString','NUMBER','numberToABC','_globalSubject','5rrEwOf','_markDirty$','symbol','valueFields','_model','forEach','sheet.mutation.pivot-update-field-source-info','registerSyncingMutations','setPivotTableConfig','deleteField','_onRefRangeChange','None','sheets-pivot.grandTotal','addPivotField','addDirtyPivotTable','PivotDrillDownCommand','return\x20','DEFAULT_WORKSHEET_COLUMN_COUNT','11lOJwQM','SetFilterInfo','sheet.mutation.rename-pivot-field','UpdateDateGroupCommand','triggerDirtyFeature','Plugin','oldMatrix','MUTATION','AddPivotTableWithConfig','setPivotSetting','_pivotInitCompleted$','width','single','getDataFieldItemInfo','addCollection','getSubUnitPivotRenderCache','ReleaseType','excelDateToUnixMilliseconds','sheet.mutation.send-init-pivot-text-local','sheets-pivot.emptyPivot.values','SetPivotSubtotalTypeMutation','_deletePivotTableInstanceCache','fieldsConfig','sheets-pivot.dateGroup.yearMonth','MoveRangeCommand','limit\x20pivot','colRanges','textInfo','getAdjustRangesPosition','getDataFieldByTableId','_initCommandInterceptListener','values','onCommandExecuted','DEFAULT_PIVOT_NUMBER','targetCellInfo','getFilterFieldIdByIndex','startCollectChangeset','sheets-pivot.sumName','iterateFieldByArea','column','PivotDateGroupFieldDateTypeEnum','colHeaderMap','isDateValue','_toJSON','PivotDisplayDataType','setCollapse','getPivotTableModelConfig','subTotalStyle','valueFilter','UniverEngineFormula','AddPivotField','setPivotInitCompleted','unitId','token','COMMAND','PivotTableFiledAreaEnum','filterId','toStringTag','Range','stdDevp','_initGlobalComputed','PivotFilterTypeEnum','ManualFilter','sheet.command.set-pivot-value-filter','5032158PJgHuG','Year','getNoUsedDataFieldIds','_sheetsPivotDataSourceModel','ObjectMatrix','getDataFieldByDataFieldId','versions','document','SHEET_PIVOT_EXCLUSIVE_ID','setSourceName','_subjectFieldsCollectionChange','Delete','grandTotal','refreshData','@univerjs/sheets-filter','3825xOQQHe','setLabelFilterInfo','sheet.mutation.update-pivot-table-source-range','Month','sheets-pivot.cellDateGroupDisplay.yearQuarter','setRangeKeyMap','LocaleService','ClearSelectionContentCommand','sheet.command.update-date-group','uniqueDataFieldName','_sheetInterceptorService','RemoveField','_ensurePivotTableMatrixInfo','dataRangeInfo','_sheetsPivotTableConfigModel','call','REF','getColCount','isNaN','asObservable','DataSyncPrimaryController','_ensurePivotMap','addField'];_0x4e05=function(){return _0x1c9299;};return _0x4e05();}
1
+ function _0x33f8(_0x51a2ef,_0x2182c6){const _0xfab3d9=_0xfab3();return _0x33f8=function(_0x33f830,_0x57cd5b){_0x33f830=_0x33f830-0x1d4;let _0x28358d=_0xfab3d9[_0x33f830];return _0x28358d;},_0x33f8(_0x51a2ef,_0x2182c6);}(function(_0x3073dc,_0x5eaaab){const _0xcb992a=_0x33f8,_0x7e27b9=_0x3073dc();while(!![]){try{const _0x32e324=parseInt(_0xcb992a(0x29f))/0x1*(parseInt(_0xcb992a(0x4cd))/0x2)+parseInt(_0xcb992a(0x37c))/0x3*(-parseInt(_0xcb992a(0x409))/0x4)+-parseInt(_0xcb992a(0x4b5))/0x5*(-parseInt(_0xcb992a(0x4ce))/0x6)+parseInt(_0xcb992a(0x3a3))/0x7+-parseInt(_0xcb992a(0x301))/0x8+-parseInt(_0xcb992a(0x3bf))/0x9+parseInt(_0xcb992a(0x41e))/0xa;if(_0x32e324===_0x5eaaab)break;else _0x7e27b9['push'](_0x7e27b9['shift']());}catch(_0x29d50d){_0x7e27b9['push'](_0x7e27b9['shift']());}}}(_0xfab3,0x71760),function(_0x1e9514,_0x1fdead){const _0x375a08=_0x33f8;typeof exports==_0x375a08(0x3b0)&&typeof module<'u'?_0x1fdead(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x375a08(0x49f)&&define[_0x375a08(0x399)]?define([_0x375a08(0x2de),'@univerjs-pro/engine-pivot',_0x375a08(0x23f),_0x375a08(0x4e9),_0x375a08(0x3c6),_0x375a08(0x4ba),_0x375a08(0x42d),_0x375a08(0x4c3),'@univerjs/rpc','@univerjs/engine-render'],_0x1fdead):(_0x1e9514=typeof globalThis<'u'?globalThis:_0x1e9514||self,_0x1fdead(_0x1e9514[_0x375a08(0x313)]={},_0x1e9514['UniverProEnginePivot'],_0x1e9514[_0x375a08(0x432)],_0x1e9514['UniverEngineFormula'],_0x1e9514[_0x375a08(0x383)],_0x1e9514[_0x375a08(0x4ba)],_0x1e9514[_0x375a08(0x312)],_0x1e9514[_0x375a08(0x2ec)],_0x1e9514[_0x375a08(0x216)],_0x1e9514['UniverEngineRender']));}(this,function(_0xd0af73,_0x33417a,_0x2fa876,_0x196a8d,_0x30840c,_0x2504f7,_0x4baa44,_0x537f85,_0x52ef50,_0x488639){'use strict';const _0x32a484=_0x33f8;var _0x463884=Object[_0x32a484(0x207)],_0xde213=(_0x3f08df,_0x3b319b,_0x5a579e)=>_0x3b319b in _0x3f08df?_0x463884(_0x3f08df,_0x3b319b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a579e}):_0x3f08df[_0x3b319b]=_0x5a579e,_0x25ab16=(_0x5741ce,_0x199992,_0x71ea15)=>_0xde213(_0x5741ce,typeof _0x199992!='symbol'?_0x199992+'':_0x199992,_0x71ea15);const _0x3e9237=Number[_0x32a484(0x39d)](0x690d91f9),_0x472598=0x10,_0x1c1f87=0x1,_0x1a68df=_0x32a484(0x436),_0x4814ba=0x1,_0x9edab3=_0x32a484(0x470),_0x5491ec=_0x32a484(0x243),_0x15b1d6=_0x32a484(0x2d8),_0x35c132=_0x32a484(0x3a2),_0x464f24=_0x32a484(0x3a2),_0x50e96d=_0x32a484(0x226),_0x268b6=_0x32a484(0x4e5),_0x3a87f4=_0x32a484(0x32f),_0x2a6af7=_0x32a484(0x2a5),_0x423dfe='#1d32e9',_0x30a4de=_0x32a484(0x32f),_0x3896ca='#e6ebfb',_0x4716f3=0xe,_0x287724=0x6;var _0x323c52=(_0x57226f=>(_0x57226f[_0x32a484(0x289)]=_0x32a484(0x3aa),_0x57226f[_0x32a484(0x200)]=_0x32a484(0x282),_0x57226f))(_0x323c52||{});const _0x5be2b9={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x3b3d22=0x1e,_0x3cee8={'b':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'l':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'r':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'t':{'s':0x1,'cl':{'rgb':_0x15b1d6}}},_0x395c60={'bg':{'rgb':_0x9edab3},'ht':0x2,'vt':0x2,'tb':0x1},_0x3dc219={'bg':{'rgb':_0x5491ec},'ht':0x2,'vt':0x2,'tb':0x1},_0x226288={'rowStyle':{'bg':{'rgb':_0x3896ca},'bd':_0x3cee8,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x423dfe},'bd':null,'cl':{'rgb':_0x30a4de},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x2a6af7},'vt':0x2},'cornerStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x50e96d},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x35c132},'vt':0x2},'leafStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x464f24},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x268b6},'cl':{'rgb':_0x3a87f4},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3cee8,'vt':0x2}};function _0x3247ef(_0xaae0a8,_0x3f6322,_0x17d8e6){const _0x407116=_0x32a484,_0x1d93c0=_0xaae0a8[_0x407116(0x3fc)](_0x2fa876[_0x407116(0x3d2)]),_0x2c001f=_0x17d8e6['split']('_');switch(_0x3f6322){case _0x33417a[_0x407116(0x486)][_0x407116(0x491)]:return _0x1d93c0['t'](_0x407116(0x2dc),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x28d)]:return _0x1d93c0['t'](_0x407116(0x1ed),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x4eb)]:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x2c001f);case _0x33417a[_0x407116(0x486)]['HourMinute']:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x2c001f);case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x407116(0x3d1)]:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x47d)]:return _0x1d93c0['t'](_0x407116(0x291),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x34e)]:return _0x1d93c0['t'](_0x407116(0x462),..._0x2c001f);case _0x33417a[_0x407116(0x486)]['YearMonth']:return _0x1d93c0['t'](_0x407116(0x3f4),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x3e3)]:return _0x1d93c0['t'](_0x407116(0x227),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x43c)]:return _0x1d93c0['t'](_0x407116(0x242),..._0x2c001f);}return'';}const _0x3428b9=(_0x12a913,_0xeced2b,_0x40d8a2,_0x5c2426)=>{const _0x3747bc=_0x32a484;let _0x1fbb92;const _0x6bc6c8=_0x12a913[_0x3747bc(0x3fc)](_0x2fa876[_0x3747bc(0x361)])['getCurrentUnitForType'](_0x2fa876['UniverInstanceType'][_0x3747bc(0x28a)]);if(!_0x6bc6c8)return null;const _0x4842c6=_0x6bc6c8[_0x3747bc(0x2bb)]();let _0x440372;if(_0x40d8a2&&(_0x440372=_0x4842c6[_0x3747bc(0x280)](_0x40d8a2)),_0xeced2b!=null&&_0xeced2b['v']||(_0xeced2b==null?void 0x0:_0xeced2b['v'])===0x0){_0x1fbb92||(_0x1fbb92={});const _0x2e5c89=_0xa7cb16(_0xeced2b['v']);typeof _0x2e5c89==_0x3747bc(0x309)?_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)][_0x3747bc(0x2b6)]:typeof _0x2e5c89=='string'&&(_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)]['STRING']),_0x1fbb92['v']=_0x2e5c89;}if((_0xeced2b!=null&&_0xeced2b['i']||(_0xeced2b==null?void 0x0:_0xeced2b['i'])===0x0)&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92['fi']=_0xeced2b['i']),_0xeced2b!=null&&_0xeced2b['s']&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92[_0x3747bc(0x22e)]=_0xeced2b['s']),_0x40d8a2&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92['s']=_0x440372),_0x5c2426&&_0x1fbb92!=null&&_0x1fbb92['v']&&_0x1fbb92['pbt']!==_0x33417a[_0x3747bc(0x307)][_0x3747bc(0x43e)]&&_0x1fbb92[_0x3747bc(0x22e)]!==_0x33417a[_0x3747bc(0x307)]['Subtotal']){const _0x15a184=String(_0x1fbb92['v']),{dateType:_0x299c99}=_0x5c2426;_0x1fbb92['v']=_0x3247ef(_0x12a913,_0x299c99,_0x15a184),_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)][_0x3747bc(0x494)];}return _0x1fbb92;},_0x204472=(_0x1d82ef,_0x17e385,_0x231a35,_0x55933e)=>{const _0x473aba=_0x32a484;var _0x397882,_0x23cdf0,_0x23fa4c,_0x294bc7,_0x4fa67e,_0x5cf7f9,_0x44cde0,_0x44cda9,_0x506500,_0x2bebe7,_0x4c9a86,_0x3e00e4,_0x5b9336,_0x1276c4;const _0x538d10=_0x231a35[_0x473aba(0x412)],{cornerView:_0x43a6f1,rowView:_0x1b8310,colView:_0xc494b,dataView:_0x18ea80,pageView:_0x5f03b5,formatMap:_0x8aa481,groupInfo:_0x56d0b3}=_0x17e385,{row:_0xedebb4,col:_0x2d0af6}=_0x538d10,_0x43fff2=new _0x2fa876[(_0x473aba(0x48a))](),_0x46fefd={},_0x52fb57={},_0xebc3f9={},_0x4a7357={},_0x2a6391={};let _0x4e46ac=_0xedebb4,_0x5a9beb=_0x2d0af6;Object[_0x473aba(0x31e)](_0x5f03b5[_0x473aba(0x484)])[_0x473aba(0x4c2)](_0x16311f=>{const _0x43ed6c=_0x473aba;Object[_0x43ed6c(0x31e)](_0x5f03b5[_0x43ed6c(0x484)][Number(_0x16311f)])[_0x43ed6c(0x4c2)](_0x30e364=>{const _0x3d38e1=_0x43ed6c,_0x2d4474={..._0x5f03b5[_0x3d38e1(0x484)][Number(_0x16311f)][Number(_0x30e364)]};_0x43fff2['setValue'](Number(_0x16311f)+_0x4e46ac,Number(_0x30e364)+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x2d4474,_0x226288[_0x3d38e1(0x456)]));});});const _0x3d1140=Object[_0x473aba(0x31e)](_0x5f03b5[_0x473aba(0x484)])[_0x473aba(0x249)];_0x4e46ac+=_0x3d1140+(_0x3d1140?_0x4814ba:0x0);const _0x15ebcb=_0x43a6f1['getRowCount'](),_0x56d6d3=_0x43a6f1[_0x473aba(0x4c4)]();for(let _0x53d594=0x0;_0x53d594<_0x15ebcb;_0x53d594++)for(let _0x8f8e75=0x0;_0x8f8e75<_0x56d6d3;_0x8f8e75++){const _0x2516a8={...(_0x23cdf0=(_0x397882=_0x43a6f1[_0x473aba(0x484)])==null?void 0x0:_0x397882[_0x53d594])==null?void 0x0:_0x23cdf0[_0x8f8e75]};_0x2516a8&&((_0x23fa4c=_0x1b8310[_0x473aba(0x302)][_0x8f8e75])!=null&&_0x23fa4c[_0x473aba(0x3de)])&&_0x8f8e75===_0x56d6d3-0x1&&_0x53d594===_0x15ebcb-0x1&&(_0x2516a8['v']=''+_0x55933e[_0x473aba(0x483)]),_0x43fff2[_0x473aba(0x280)](_0x53d594+_0x4e46ac,_0x8f8e75+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x2516a8,_0x226288[_0x473aba(0x4df)]));}for(let _0x6a9ec6=0x0;_0x6a9ec6<_0x43a6f1[_0x473aba(0x45f)]['length'];_0x6a9ec6++)_0x43a6f1[_0x473aba(0x45f)][_0x6a9ec6]&&(_0xebc3f9[''+(_0x6a9ec6+_0x5a9beb)]=_0x43a6f1[_0x473aba(0x45f)][_0x6a9ec6]);_0x5a9beb+=_0x56d6d3;const _0x3cd360=_0xc494b[_0x473aba(0x302)],_0xd0a4e7=_0xc494b[_0x473aba(0x364)]()>=0x0?_0xc494b[_0x473aba(0x364)]()+0x1:0x0,_0xcccf6c=_0xc494b[_0x473aba(0x27b)]()>=0x0?_0xc494b[_0x473aba(0x27b)]()+0x1:0x0;for(let _0x5b2eb2=0x0;_0x5b2eb2<_0xcccf6c;_0x5b2eb2++){for(let _0x2ca88a=0x0;_0x2ca88a<_0xd0a4e7;_0x2ca88a++){const _0x27ee88={...(_0x4fa67e=(_0x294bc7=_0xc494b[_0x473aba(0x484)])==null?void 0x0:_0x294bc7[_0x2ca88a])==null?void 0x0:_0x4fa67e[_0x5b2eb2]},_0x188413=(_0x5cf7f9=_0x3cd360[_0x2ca88a])==null?void 0x0:_0x5cf7f9[_0x473aba(0x407)],_0x633ae8=_0x8aa481[_0x188413],_0x266fdb=_0x56d0b3[_0x188413];_0x27ee88&&(_0x27ee88['v']=_0x27d4ee(_0x27ee88,_0x2ca88a===0x0&&((_0x44cde0=_0xc494b['getHeaderMapItem'](_0x5b2eb2+0x1))==null?void 0x0:_0x44cde0['isValue']),_0x633ae8,_0x55933e));let _0x578972;_0x633ae8?_0x578972={..._0x226288[_0x473aba(0x4c9)],'n':{'pattern':_0x633ae8}}:_0x578972={..._0x226288[_0x473aba(0x4c9)]},_0x43fff2[_0x473aba(0x280)](_0x2ca88a+_0x4e46ac,_0x5b2eb2+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x27ee88,_0x578972,_0x266fdb));}_0xc494b[_0x473aba(0x45f)][_0x5b2eb2]&&(_0x52fb57[''+(_0x5b2eb2+_0x5a9beb)]=_0xc494b[_0x473aba(0x45f)][_0x5b2eb2]),_0xc494b[_0x473aba(0x302)][_0x5b2eb2+0x1]&&(_0x2a6391[''+(_0x5b2eb2+_0x4e46ac+0x1)]=_0xc494b['headerMap'][_0x5b2eb2+0x1]);}_0x4e46ac+=_0x15ebcb;const _0x5f46d5=_0x1b8310[_0x473aba(0x302)],_0x359dcc=_0x1b8310['getLastRow']()>=0x0?_0x1b8310['getLastRow']()+0x1:0x0,_0x10f46b=_0x1b8310['getLastCol']()>=0x0?_0x1b8310['getLastCol']()+0x1:0x0;for(let _0x23f878=0x0;_0x23f878<_0x359dcc;_0x23f878++){for(let _0x1c7e95=0x0;_0x1c7e95<_0x10f46b;_0x1c7e95++){const _0x542479={...(_0x506500=(_0x44cda9=_0x1b8310[_0x473aba(0x484)])==null?void 0x0:_0x44cda9[_0x23f878])==null?void 0x0:_0x506500[_0x1c7e95]},_0x4d358e=(_0x2bebe7=_0x5f46d5[_0x1c7e95])==null?void 0x0:_0x2bebe7['tableFieldId'],_0x2218df=_0x8aa481[_0x4d358e],_0x524719=_0x56d0b3[_0x4d358e];_0x542479&&(_0x542479['v']=_0x27d4ee(_0x542479,!0x1,_0x2218df,_0x55933e));let _0x36326e;_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x1e8)]===_0x1b8310['getColCount']()?_0x36326e=_0x226288[_0x473aba(0x4d5)]:_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x46c)]?_0x36326e=_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x1e8)]===0x0?_0x226288[_0x473aba(0x4ac)]:_0x226288['subTotalStyle']:_0x36326e=_0x226288['rowStyle'],_0x2218df&&(_0x36326e={..._0x36326e,'n':{'pattern':_0x2218df}}),_0x43fff2[_0x473aba(0x280)](_0x23f878+_0x4e46ac,_0x1c7e95+_0x2d0af6,_0x3428b9(_0x1d82ef,_0x542479,_0x36326e,_0x524719));}_0x1b8310['info'][_0x23f878]&&(_0x46fefd[''+(_0x23f878+_0x4e46ac)]=_0x1b8310[_0x473aba(0x45f)][_0x23f878]),_0x1b8310[_0x473aba(0x302)][_0x23f878]&&(_0x4a7357[''+(_0x23f878+_0x2d0af6)]=_0x1b8310['headerMap'][_0x23f878]);}const _0x4fadff=_0x18ea80[_0x473aba(0x4b4)](),_0x245441=_0x18ea80[_0x473aba(0x4c4)]();for(let _0x952912=0x0;_0x952912<_0x4fadff;_0x952912++)for(let _0x3d6dcd=0x0;_0x3d6dcd<_0x245441;_0x3d6dcd++){const _0x4b0ba7={...(_0x3e00e4=(_0x4c9a86=_0x18ea80[_0x473aba(0x484)])==null?void 0x0:_0x4c9a86[_0x952912])==null?void 0x0:_0x3e00e4[_0x3d6dcd]};let _0x193fa7;_0x1b8310[_0x473aba(0x45f)][_0x952912]['isBottomTotal']?_0x193fa7=_0x1b8310[_0x473aba(0x45f)][_0x952912]['level']===0x0?_0x226288[_0x473aba(0x4ac)]:_0x226288['subTotalStyle']:_0x193fa7=_0x226288[_0x473aba(0x3ac)];const _0x170b4=_0x1b8310[_0x473aba(0x45f)][_0x952912]['valueIndex'],_0x573432=_0xc494b[_0x473aba(0x45f)][_0x3d6dcd]['valueIndex'],_0x300523=Math[_0x473aba(0x1f9)](_0x170b4,_0x573432),_0x1e7254=_0x231a35[_0x473aba(0x481)][_0x473aba(0x414)][_0x473aba(0x398)]();let _0x41c0ee='';_0x300523<0x0?_0x41c0ee=(_0x5b9336=_0x1e7254[0x0])!=null?_0x5b9336:'':_0x41c0ee=(_0x1276c4=_0x1e7254[_0x300523])!=null?_0x1276c4:'';const _0x51121f=_0x8aa481[_0x41c0ee];_0x51121f&&(_0x193fa7={..._0x193fa7,'n':{'pattern':_0x51121f}}),_0x43fff2[_0x473aba(0x280)](_0x952912+_0x4e46ac,_0x3d6dcd+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x4b0ba7,_0x193fa7));}return{'valueMatrix':_0x43fff2,'rowInfo':_0x46fefd,'colInfo':_0x52fb57,'cornerInfo':_0xebc3f9,'rowHeaderMap':_0x4a7357,'colHeaderMap':_0x2a6391};};function _0x27d4ee(_0x176e3c,_0x2c55c8,_0x152074,_0x195bdd){const _0x9c98df=_0x32a484;let _0x9955b2=_0x176e3c['v'];_0x2c55c8&&(_0x9955b2=''+_0x195bdd[_0x9c98df(0x483)]);const _0x36432b=_0x176e3c['t']&&(_0x176e3c['t']&_0x33417a[_0x9c98df(0x44b)][_0x9c98df(0x23b)])>0x0;_0x36432b&&(_0x9955b2=''+_0x195bdd['sheets-pivot.blank']);const _0x5c4926=_0x176e3c['t']&&(_0x176e3c['t']&_0x33417a['PivotViewCellValueTypeEnum'][_0x9c98df(0x30b)])>0x0;if(_0x5c4926&&(_0x9955b2=''+_0x195bdd[_0x9c98df(0x457)]),_0x176e3c['s']===_0x33417a['PivotCellStyleTypeEnum'][_0x9c98df(0x39b)]){let _0x55068a=_0x9955b2,_0x41eb93='';_0x33417a['isPrefixValue'](_0x9955b2)&&(_0x55068a=_0x9955b2[_0x9c98df(0x438)],_0x41eb93=_0x9955b2[_0x9c98df(0x28c)]);const _0x172aa7=_0x152074&&!_0x36432b&&!_0x5c4926?_0x2fa876[_0x9c98df(0x2c5)]['format'](_0x152074,Number(_0x55068a)):_0x55068a;_0x41eb93?_0x9955b2=_0x172aa7+'\x20'+_0x41eb93:_0x9955b2=_0x172aa7+'\x20'+_0x195bdd['sheets-pivot.subTotal'];}else _0x176e3c['s']===_0x33417a['PivotCellStyleTypeEnum']['GrandTotal']&&(_0x9955b2=_0x9955b2+'\x20'+_0x195bdd[_0x9c98df(0x2aa)]);return _0x9955b2;}function _0xa7cb16(_0x5ca8a6){const _0x5000a0=_0x32a484;if(_0x33417a[_0x5000a0(0x2f9)](_0x5ca8a6)){const {errorType:_0x4ee98e}=_0x5ca8a6;switch(_0x4ee98e){case _0x33417a[_0x5000a0(0x2f4)][_0x5000a0(0x449)]:return _0x196a8d[_0x5000a0(0x1d7)][_0x5000a0(0x46a)];case _0x33417a[_0x5000a0(0x2f4)]['NotNumber']:return _0x196a8d[_0x5000a0(0x1d7)]['NUM'];case _0x33417a['PivotErrorTypeEnum'][_0x5000a0(0x40f)]:return _0x196a8d['ErrorType'][_0x5000a0(0x480)];case _0x33417a[_0x5000a0(0x2f4)]['NotName']:return _0x196a8d['ErrorType'][_0x5000a0(0x480)];case _0x33417a[_0x5000a0(0x2f4)][_0x5000a0(0x3c8)]:return _0x196a8d[_0x5000a0(0x1d7)][_0x5000a0(0x458)];}}return _0x5ca8a6;}function _0x47957b(_0x1f0b62,_0x590203,_0x4d1e5e=!0x1,_0x4d9776=!0x1){const _0xe9c216=_0x32a484,{data:_0x70d8fb}=_0x590203,_0x2de9ff=_0x590203[_0xe9c216(0x4b4)](),_0x576b3b=_0x590203['getColCount']();if(_0x2de9ff<=0x0||_0x576b3b<=0x0)return[];const _0x434be8=_0x590203[_0xe9c216(0x27b)](),_0x2bf908=_0x590203[_0xe9c216(0x364)](),_0x205a86=_0x4d9776?_0x2bf908>=0x0?_0x2bf908+0x1:0x0:_0x2de9ff,_0x20a19d=_0x4d9776?_0x434be8>=0x0?_0x434be8+0x1:0x0:_0x576b3b,{row:_0x1ec0e8,col:_0x1e8e9d}=_0x1f0b62,_0x28657a=_0x1ec0e8,_0x39c7e2=_0x1e8e9d;if(_0x4d1e5e){const _0x380f91=[];for(const [_0x422d5d,_0xb12bec]of Object[_0xe9c216(0x408)](_0x70d8fb))for(const [_0x1a2298,_0x3ae7af]of Object[_0xe9c216(0x408)](_0xb12bec))_0x380f91[_0xe9c216(0x296)](_0x2fa876['cellToRange'](_0x28657a+Number(_0x422d5d),_0x39c7e2+Number(_0x1a2298)));return _0x380f91;}else{const _0x45855f=_0x4d9776?_0x205a86>0x0?0x1:0x0:0x1,_0x552e04=_0x4d9776?_0x20a19d>0x0?0x1:0x0:0x1,_0x51162a=_0x1ec0e8+_0x205a86-_0x45855f,_0x64481f=_0x1e8e9d+_0x20a19d-_0x552e04;return[{'startRow':_0x28657a,'startColumn':_0x39c7e2,'endRow':_0x51162a,'endColumn':_0x64481f}];}}const _0x51f97f=_0x32a484(0x388),_0x5f27fb=_0x32a484(0x346);var _0x1ce851=(_0x73fb2e=>(_0x73fb2e[_0x32a484(0x3d0)]=_0x32a484(0x2c6),_0x73fb2e[_0x32a484(0x261)]=_0x32a484(0x260),_0x73fb2e[_0x32a484(0x357)]=_0x32a484(0x385),_0x73fb2e[_0x32a484(0x241)]=_0x32a484(0x241),_0x73fb2e[_0x32a484(0x3d5)]='addPivotTable',_0x73fb2e[_0x32a484(0x397)]=_0x32a484(0x3b1),_0x73fb2e[_0x32a484(0x339)]=_0x32a484(0x45b),_0x73fb2e['SetPivotCollapse']=_0x32a484(0x353),_0x73fb2e[_0x32a484(0x1e6)]=_0x32a484(0x38e),_0x73fb2e[_0x32a484(0x4d3)]=_0x32a484(0x20c),_0x73fb2e[_0x32a484(0x3a0)]=_0x32a484(0x23d),_0x73fb2e['UpdatePivotSource']='updatePivotSource',_0x73fb2e[_0x32a484(0x3ba)]=_0x32a484(0x34c),_0x73fb2e[_0x32a484(0x33d)]=_0x32a484(0x442),_0x73fb2e[_0x32a484(0x220)]='setValuePivotFilter',_0x73fb2e[_0x32a484(0x2e3)]='setPivotTableConfig',_0x73fb2e[_0x32a484(0x2fc)]=_0x32a484(0x344),_0x73fb2e))(_0x1ce851||{});const _0x46fdd4={'sheets-pivot.blankValue':_0x32a484(0x4db),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x32a484(0x358),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x32a484(0x4a5),'sheets-pivot.averageName':_0x32a484(0x40e),'sheets-pivot.countName':_0x32a484(0x394),'sheets-pivot.countNumsName':_0x32a484(0x394),'sheets-pivot.maxName':_0x32a484(0x1dd),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x32a484(0x1ef),'sheets-pivot.stdDevName':_0x32a484(0x29b),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x32a484(0x46b),'sheets-pivot.varName':_0x32a484(0x2be),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x32a484(0x39b),'sheets-pivot.grandTotal':_0x32a484(0x4bf),'sheets-pivot.value':_0x32a484(0x28c),'sheets-pivot.blank':'blank','sheets-pivot.other':_0x32a484(0x30b),'sheets-pivot.emptyPivot.filter':_0x32a484(0x3d0),'sheets-pivot.emptyPivot.row':_0x32a484(0x349),'sheets-pivot.emptyPivot.column':_0x32a484(0x1d6),'sheets-pivot.emptyPivot.values':_0x32a484(0x3c4)},_0x47aadf={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x1d5a00=_0x2fa876[_0x32a484(0x316)]('pivotPerformCheck'),_0x1a7dbe=_0x2fa876[_0x32a484(0x24b)](_0x32a484(0x463));var _0xf2a767=(_0x531585=>(_0x531585['add']=_0x32a484(0x308),_0x531585['delete']=_0x32a484(0x3a9),_0x531585[_0x32a484(0x2bf)]=_0x32a484(0x2bf),_0x531585))(_0xf2a767||{}),_0x477731=(_0x2884de=>(_0x2884de[_0x32a484(0x401)]=_0x32a484(0x308),_0x2884de[_0x32a484(0x47a)]=_0x32a484(0x268),_0x2884de[_0x32a484(0x3df)]=_0x32a484(0x3a9),_0x2884de))(_0x477731||{});const _0x12d10f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x212),'handler':()=>!0x0},_0x195cb7={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x26c),'handler':()=>!0x0},_0x444296={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x4e8),'handler':()=>!0x0},_0x38a7b1={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2ce),'handler':()=>!0x0},_0x3e71e4={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x49b),'handler':()=>!0x0};var _0xeafe12=Object[_0x32a484(0x48e)],_0x1c9a36=(_0x1e70c8,_0x18385c,_0x99b65e,_0x30fa2c)=>{for(var _0x2feae6=_0x30fa2c>0x1?void 0x0:_0x30fa2c?_0xeafe12(_0x18385c,_0x99b65e):_0x18385c,_0x4194cb=_0x1e70c8['length']-0x1,_0x499017;_0x4194cb>=0x0;_0x4194cb--)(_0x499017=_0x1e70c8[_0x4194cb])&&(_0x2feae6=_0x499017(_0x2feae6)||_0x2feae6);return _0x2feae6;},_0x1edf2a=(_0x4b63a5,_0x1f3e94)=>(_0x56b641,_0x1f0228)=>_0x1f3e94(_0x56b641,_0x1f0228,_0x4b63a5);_0xd0af73[_0x32a484(0x3af)]=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0xb38941){const _0x1f1c46=_0x32a484;super(),_0x25ab16(this,_0x1f1c46(0x2e7),new Map()),this[_0x1f1c46(0x4cf)]=_0xb38941;}[_0x32a484(0x482)](_0x68fda6){const _0x4fa7ed=_0x32a484,{version:_0x266f03}=_0x68fda6,_0x2c9994=this[_0x4fa7ed(0x2e7)][_0x4fa7ed(0x3fc)](_0x266f03);_0x2c9994&&(_0x2c9994(_0x68fda6),this[_0x4fa7ed(0x2e7)][_0x4fa7ed(0x3a9)](_0x266f03));}[_0x32a484(0x263)](_0x2d6123){return new Promise((_0x2ab207,_0x43d58e)=>{const _0x136647=_0x33f8,_0x230363=this[_0x136647(0x342)]();this['_requestResolvers'][_0x136647(0x268)](_0x230363,_0x2ab207),this[_0x136647(0x4cf)][_0x136647(0x24f)](_0x12d10f['id'],{'version':_0x230363,..._0x2d6123},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x539f8c=_0x32a484;return Math[_0x539f8c(0x2a3)]()[_0x539f8c(0x2cf)](0x24)[_0x539f8c(0x2f5)](0x2,0x10);}},_0xd0af73[_0x32a484(0x3af)]=_0x1c9a36([_0x1edf2a(0x0,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x41b)]))],_0xd0af73[_0x32a484(0x3af)]);const _0x271cb0={0x0:'q',0x1:'F',0x2:'0',0x3:'c',0x4:'9',0x5:'8',0x6:'y',0x7:'O',0x8:'4',0x9:'u','p':'1','c':'2','s':'3','z':'5','U':'6','B':'7','D':'a','O':'b','g':'d','F':'e','h':'f','w':'g','q':'h','b':'i','X':'j','v':'k','H':'l','P':'m','x':'n','t':'o','J':'p','T':'r','C':'s','K':'t','I':'v','u':'w','Y':'x','a':'z','N':'A','S':'B','d':'C','V':'D','M':'E','k':'G','r':'H','A':'I','m':'J','G':'K','Z':'L','f':'M','R':'N','n':'P','e':'Q','i':'R','E':'S','j':'T','L':'U','l':'V','y':'W','Q':'X','o':'Y','W':'Z'},_0x434851=_0x32a484(0x4b0),_0x97a458=_0xd3c348=>{const _0xb4b383=_0x32a484;var _0x5f2c0b;return((_0x5f2c0b=_0xd3c348[_0xb4b383(0x34f)])==null?void 0x0:_0x5f2c0b['dataStream'][_0xb4b383(0x4b9)](/\r\n$/,''))||'';};class _0xc8ac62 extends _0x33417a[_0x32a484(0x37a)]{constructor(_0x19a18a,_0x3e9e4b){const _0x19ce57=_0x32a484;super(),_0x25ab16(this,_0x19ce57(0x4d7),{}),_0x25ab16(this,_0x19ce57(0x4d0)),_0x25ab16(this,'_host'),(this[_0x19ce57(0x4d0)]=_0x3e9e4b,this[_0x19ce57(0x3ef)]=_0x19a18a);}['initDataRanges'](){const _0xb1de03=_0x32a484;for(const _0x485037 in this[_0xb1de03(0x23c)]){const _0x461547=this[_0xb1de03(0x23c)][_0x485037],_0x5e6471=_0x461547['getRangeKey']();this[_0xb1de03(0x4d7)][_0x5e6471]=_0x461547['getId']();}}['getAutoDisplayNameFunction'](){const _0x49cf04=_0x32a484,_0x542358=this[_0x49cf04(0x3ef)];return _0x232a20[_0x49cf04(0x286)](_0x542358);}[_0x32a484(0x240)](_0x52f9eb){const _0x232580=_0x32a484,_0x1f2728=this['dataFields'][_0x52f9eb][_0x232580(0x2d7)];delete this[_0x232580(0x23c)][_0x52f9eb],delete this[_0x232580(0x4d7)][_0x1f2728];}[_0x32a484(0x355)](_0x5cb229){this['dataFields'][_0x5cb229['getId']()]=_0x5cb229;}['removeCollectionImp'](_0x53c8cd){const _0x1c825e=_0x32a484;var _0x17740a,_0x4cb5dd;const _0x4590ed=this[_0x1c825e(0x3ef)][_0x1c825e(0x4aa)](_0x53c8cd);if(_0x4590ed){const {unitId:_0x106e88,subUnitId:_0x5513d0}=_0x4590ed,_0x483239=(_0x17740a=this[_0x1c825e(0x3ef)]['getPivotTableConfig'](_0x106e88,_0x5513d0,_0x53c8cd))==null?void 0x0:_0x17740a['sourceRangeInfo'];this['_host'][_0x1c825e(0x217)]({'token':_0x53c8cd,'type':_0xf2a767[_0x1c825e(0x3a9)],'dataRangeInfo':_0x483239});}(_0x4cb5dd=this[_0x1c825e(0x336)](_0x53c8cd))==null||_0x4cb5dd['dispose'](),delete this[_0x1c825e(0x4e2)][_0x53c8cd];}['getRangeKey'](_0x4d4b8b,_0x542f29){const _0x59d669=_0x32a484,{sheetName:_0x3afa6d,unitId:_0x29153c,range:_0x39eafb}=_0x4d4b8b,{startRow:_0xc0f350,endRow:_0x3b85ac}=_0x39eafb;return _0x196a8d[_0x59d669(0x278)](_0x29153c,_0x3afa6d,{'startRow':_0xc0f350,'endRow':_0x3b85ac,'startColumn':_0x542f29,'endColumn':_0x542f29});}[_0x32a484(0x3e1)](_0x1c28f3){const _0x5c948b=_0x32a484;return this[_0x5c948b(0x23c)][this[_0x5c948b(0x4d7)][_0x1c28f3]];}['setRangeKeyMap'](_0x4ef967,_0xdf2395){const _0x270f0d=_0x32a484;this[_0x270f0d(0x4d7)][_0x4ef967]=_0xdf2395;}[_0x32a484(0x27e)](_0x10d605,_0x1ac18b){const _0x3b86b9=_0x32a484;this['rangeKeyMap'][_0x1ac18b]=this[_0x3b86b9(0x4d7)][_0x10d605],delete this[_0x3b86b9(0x4d7)][_0x10d605];}[_0x32a484(0x20b)](_0x545d17,_0xd5fcd9,_0x3c3743,_0x8e167a){const _0x2e44bb=_0x32a484,_0x45fcbe=new _0x33417a[(_0x2e44bb(0x4dc))](this);_0x45fcbe['fromJSON'](_0xd5fcd9);const _0x183e67=[];let _0x50839e=0x0;for(const _0x35088c of _0x45fcbe[_0x2e44bb(0x3c1)]){const _0x29cc9=this[_0x2e44bb(0x2e5)](_0x3c3743,_0x50839e),_0x43631d=this[_0x2e44bb(0x23c)][_0x35088c];_0x43631d&&(_0x43631d['rangeKey']=_0x29cc9,this[_0x2e44bb(0x356)](_0x29cc9,_0x35088c),_0x183e67['push']({'index':_0x50839e,'dataField':_0x43631d})),_0x50839e++;}return this[_0x2e44bb(0x3c7)](_0x545d17,_0x45fcbe,_0x3c3743,_0x8e167a),{'collection':_0x45fcbe,'updateDataFieldList':_0x183e67};}['getRangeStartEndInfo'](_0x42e2e3,_0x48e796){const _0x1e1c6d=_0x32a484;return _0x42e2e3[_0x1e1c6d(0x26d)]===_0x2fa876['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0x42e2e3[_0x1e1c6d(0x3e4)],'endRow':_0x48e796[_0x1e1c6d(0x4b4)]()-0x1,'endColumn':_0x42e2e3['endColumn']}:{'startRow':_0x42e2e3[_0x1e1c6d(0x340)],'startColumn':_0x42e2e3['startColumn'],'endRow':_0x42e2e3[_0x1e1c6d(0x2d0)],'endColumn':_0x42e2e3['endColumn']};}['createCollectionWithDataRange'](_0x3bc81c){const _0x30a29c=_0x32a484,{sheetName:_0x497b6b,range:_0x188561}=_0x3bc81c,_0x124ea7=this[_0x30a29c(0x4d0)][_0x30a29c(0x347)](_0x2fa876[_0x30a29c(0x376)][_0x30a29c(0x28a)]),_0x4fed34=_0x124ea7[_0x30a29c(0x2cd)](_0x497b6b),_0x179def=_0x4fed34[_0x30a29c(0x3ea)](),{startColumn:_0x4bba26,startRow:_0x15bd9b,endColumn:_0x1ebae4}=this[_0x30a29c(0x34b)](_0x188561,_0x4fed34),_0xd117d3=_0x124ea7[_0x30a29c(0x2bb)](),_0x383a69=new _0x33417a[(_0x30a29c(0x4dc))](this);_0x383a69['setRange'](_0x3bc81c);const _0x2886c1=[],_0x308eed={};for(let _0xaec7a6=_0x4bba26;_0xaec7a6<=_0x1ebae4;_0xaec7a6++){const _0x563de6=_0x179def[_0x30a29c(0x250)](_0x15bd9b,_0xaec7a6),_0xfaf877=this[_0x30a29c(0x2e5)](_0x3bc81c,_0xaec7a6),_0x328f98=this[_0x30a29c(0x3e1)](_0xfaf877);if(_0x328f98)_0x383a69[_0x30a29c(0x4e7)](_0x328f98[_0x30a29c(0x244)](),_0x328f98[_0x30a29c(0x22d)]());else{const _0x379be8=this[_0x30a29c(0x354)]();let _0x5b0c34=this[_0x30a29c(0x48f)](_0x563de6,_0xd117d3,_0x308eed);_0x33417a[_0x30a29c(0x3b5)](_0x5b0c34)&&(_0x5b0c34=_0x2fa876['numfmt'][_0x30a29c(0x201)](_0x5b0c34['f'],Number(_0x5b0c34['v'])));const _0x335140=this[_0x30a29c(0x222)](_0x5b0c34,_0xaec7a6),_0x2e6de9=new _0x33417a[(_0x30a29c(0x31b))](_0x379be8,_0x335140,_0x33417a[_0x30a29c(0x35b)](0x3));_0x2e6de9[_0x30a29c(0x2d7)]=_0xfaf877,this[_0x30a29c(0x23c)][_0x379be8]=_0x2e6de9,_0x383a69[_0x30a29c(0x4e7)](_0x379be8,_0x335140),_0x2886c1['push']({'index':_0xaec7a6,'dataField':_0x2e6de9});}}return{'updateDataFieldList':_0x2886c1,'collection':_0x383a69};}['_getAutoName'](_0x45e094){const _0x3508a4=_0x32a484;return this[_0x3508a4(0x3ef)][_0x3508a4(0x32e)]()[_0x3508a4(0x310)]+'\x20'+_0x2fa876['numberToABC'](_0x45e094);}[_0x32a484(0x222)](_0x2f791a,_0x49e339){const _0x304185=_0x32a484;return _0x2f791a==null||_0x2f791a===''?this[_0x304185(0x31c)](_0x49e339):String(_0x2f791a);}[_0x32a484(0x336)](_0x5b601e){const _0x5d074c=_0x32a484;return this[_0x5d074c(0x4e2)][_0x5b601e];}[_0x32a484(0x3c7)](_0x13e5e5,_0x5267c1,_0x1abf1d,_0x13a494){const _0x26ede0=_0x32a484;this['collections'][_0x13e5e5]=_0x5267c1,_0x5267c1[_0x26ede0(0x419)](_0x1abf1d),this[_0x26ede0(0x3ef)]['broadcastCollectionChange']({'token':_0x13e5e5,'type':_0xf2a767[_0x26ede0(0x308)],'dataRangeInfo':_0x1abf1d,'targetCellInfo':_0x13a494});}[_0x32a484(0x382)](_0x3def2c,_0x2b0d79){const _0x3add47=_0x32a484,_0x160fdc=this[_0x3add47(0x336)](_0x3def2c),_0x47bb4d=_0x160fdc[_0x3add47(0x29d)]();let _0x1ff716=0x0;for(const _0x362231 of _0x47bb4d){const _0x36fbcc=_0x160fdc[_0x3add47(0x4a9)](_0x362231),_0x1393a2=this[_0x3add47(0x2e5)](_0x2b0d79,_0x1ff716);this['updateRangeKeyMap'](_0x36fbcc[_0x3add47(0x2d7)],_0x1393a2),_0x1ff716++;}}[_0x32a484(0x2d9)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x22d72e,_0x330c44){const _0x3f812a=_0x32a484;if(this[_0x3f812a(0x336)](_0x22d72e)){const _0x40ccb9=this['getRangeKeyList'](_0x330c44),_0x1ef811=[];for(const _0x1633ee of _0x40ccb9)this[_0x3f812a(0x4d7)][_0x1633ee]!==void 0x0&&_0x1ef811['push'](this[_0x3f812a(0x4d7)][_0x1633ee]);const _0x43b440=this[_0x3f812a(0x465)](_0x22d72e),_0x447227=[],_0x3f659f=new Set(_0x1ef811);for(const _0x11701e of _0x43b440)_0x3f659f[_0x3f812a(0x290)](_0x11701e)||_0x447227[_0x3f812a(0x296)](_0x11701e);return _0x447227;}}['getMatrixValue'](_0x2efa73,_0x2dedd1,_0x2cbaea,_0x9bc1e,_0x16ac04){const _0x4d1b85=_0x32a484;return _0x2dedd1&&_0x2dedd1[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04)?_0x2dedd1['getValue'](_0x9bc1e,_0x16ac04):_0x2cbaea&&_0x2cbaea['getValue'](_0x9bc1e,_0x16ac04)?_0x2cbaea[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04):_0x2efa73[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04);}[_0x32a484(0x40a)](_0x2c73,_0x40c6e2,_0x7d5f60,_0x3b3852){const _0x3dca3a=_0x32a484,_0x583857=this[_0x3dca3a(0x23c)][_0x2c73];if(!_0x583857)return;const {subUnitId:_0x28117c,range:_0x497fc6,unitId:_0x593f6f}=_0x40c6e2,_0x1fb8ad=this[_0x3dca3a(0x4d0)][_0x3dca3a(0x1e4)](_0x593f6f);if(!_0x1fb8ad){console[_0x3dca3a(0x3ae)]('workbook\x20is\x20not\x20found');return;}const _0x162935=_0x1fb8ad[_0x3dca3a(0x493)](_0x28117c),_0x37dba3=_0x162935[_0x3dca3a(0x3ea)](),{arrayFormulaCellDataMatrix:_0x136300,unitDataMatrix:_0x5351d0}=_0x3b3852||{},{startRow:_0x5747df,startColumn:_0x7061fa,endRow:_0x1bd098}=this[_0x3dca3a(0x34b)](_0x497fc6,_0x162935);_0x583857[_0x3dca3a(0x325)]();const _0x5a8d8e=_0x1fb8ad['getStyles'](),_0x1a25a4={},_0x484aff=this['getMatrixValue'](_0x37dba3,_0x136300,_0x5351d0,_0x5747df,_0x7061fa+_0x7d5f60);let _0x4b3a88=this[_0x3dca3a(0x48f)](_0x484aff,_0x5a8d8e,_0x1a25a4);_0x33417a[_0x3dca3a(0x3b5)](_0x4b3a88)&&(_0x4b3a88=_0x2fa876[_0x3dca3a(0x2c5)][_0x3dca3a(0x201)](_0x4b3a88['f'],Number(_0x4b3a88['v'])));const _0xa65653=this[_0x3dca3a(0x222)](_0x4b3a88,_0x7061fa+_0x7d5f60);_0x583857[_0x3dca3a(0x271)](_0xa65653);for(let _0xeaabdf=_0x5747df+0x1;_0xeaabdf<=_0x1bd098;_0xeaabdf++){const _0x41bec4=this['getMatrixValue'](_0x37dba3,_0x136300,_0x5351d0,_0xeaabdf,_0x7061fa+_0x7d5f60);_0x583857[_0x3dca3a(0x254)](this[_0x3dca3a(0x48f)](_0x41bec4,_0x5a8d8e,_0x1a25a4),_0xeaabdf-0x1-_0x5747df);}}[_0x32a484(0x381)](_0x3f3033,_0x419a81,_0x297d36){const _0x58e612=_0x32a484,{subUnitId:_0x63502,range:_0xbd8ea1,unitId:_0xd3d37b}=_0x297d36,_0x315343=this[_0x58e612(0x4d0)][_0x58e612(0x1e4)](_0xd3d37b);if(!_0x315343){console[_0x58e612(0x3ae)](_0x58e612(0x48b));return;}const _0x1ac7ee=_0x315343[_0x58e612(0x493)](_0x63502),_0x1c31be=_0x1ac7ee[_0x58e612(0x3ea)](),{startRow:_0x19d8af,startColumn:_0x248610,endRow:_0x3d634a}=this['getRangeStartEndInfo'](_0xbd8ea1,_0x1ac7ee),_0x3d39c1=_0x315343[_0x58e612(0x2bb)](),_0x49029d={};for(const {dataField:_0x18d3ed,index:_0x295931}of _0x419a81){_0x18d3ed[_0x58e612(0x325)]();const _0x2a6720=this['getMatrixValue'](_0x1c31be,void 0x0,void 0x0,_0x19d8af,_0x248610+_0x295931);let _0x36f583=this[_0x58e612(0x48f)](_0x2a6720,_0x3d39c1,_0x49029d);_0x33417a['isDateValue'](_0x36f583)&&(_0x36f583=_0x2fa876[_0x58e612(0x2c5)][_0x58e612(0x201)](_0x36f583['f'],Number(_0x36f583['v'])));const _0x11f833=this[_0x58e612(0x222)](_0x36f583,_0x248610+_0x295931);_0x18d3ed[_0x58e612(0x271)](_0x11f833);}_0x3f3033['updateAllDisplayName']();for(let _0x1ecdbf=_0x19d8af+0x1;_0x1ecdbf<=_0x3d634a;_0x1ecdbf++)for(const {index:_0x140906,dataField:_0x1aa502}of _0x419a81){const _0x7226e1=_0x1c31be[_0x58e612(0x250)](_0x1ecdbf,_0x248610+_0x140906);_0x1aa502['addRecord'](this[_0x58e612(0x48f)](_0x7226e1,_0x3d39c1,_0x49029d),_0x1ecdbf-0x1-_0x19d8af);}_0x3f3033[_0x58e612(0x45d)](_0x3d634a-_0x19d8af);}[_0x32a484(0x2cb)](_0xff2e6a){const _0x524b30=_0x32a484,{range:_0x311ff6}=_0xff2e6a,{startColumn:_0xa1b4c7,endColumn:_0x40f40b}=_0x311ff6,_0x2c1b4d=[];for(let _0x22e2d7=_0xa1b4c7;_0x22e2d7<=_0x40f40b;_0x22e2d7++)_0x2c1b4d[_0x524b30(0x296)](this['getRangeKey'](_0xff2e6a,_0x22e2d7));return _0x2c1b4d;}[_0x32a484(0x48f)](_0x123d77,_0x430722,_0x1c92c6){const _0x2616a2=_0x32a484;if(_0x123d77){const {s:_0x41e1c4,v:_0x4c1a7c,t:_0x58e41a,p:_0x4636fd}=_0x123d77;if(_0x4636fd)return _0x97a458(_0x4636fd);const _0x45d789=_0x430722[_0x2616a2(0x3fc)](_0x41e1c4);if(_0x45d789&&_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x2b6)]&&_0x45d789['n']){const {pattern:_0x978694}=_0x45d789['n'];_0x1c92c6[_0x978694]||(_0x1c92c6[_0x978694]=_0x2fa876[_0x2616a2(0x2c5)]['getFormatInfo'](_0x978694));const _0x188b4b=_0x1c92c6[_0x978694],_0x26084c=_0x188b4b[_0x2616a2(0x4ed)];if(_0x188b4b[_0x2616a2(0x384)])return String(_0x4c1a7c);if(_0x26084c)return{'v':_0x4c1a7c,'f':_0x978694};}if(_0x58e41a===_0x2fa876['CellValueType'][_0x2616a2(0x2b6)])return Number(_0x4c1a7c);if(_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x494)]||_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x4e1)])return String(_0x4c1a7c);if(_0x58e41a===void 0x0){const _0x275063=Number(_0x4c1a7c);if(!Number[_0x2616a2(0x3a7)](_0x275063)&&String(_0x275063)===_0x4c1a7c)return _0x275063;}return _0x4c1a7c!=null?_0x4c1a7c:null;}else return null;}[_0x32a484(0x265)](_0x422107){const _0x52784d=_0x32a484,{sheetName:_0x41ee88,range:_0x663f13,unitId:_0x19756b}=_0x422107,_0x477968=this[_0x52784d(0x4d0)]['getUnit'](_0x19756b);if(!_0x477968)return console[_0x52784d(0x3ae)](_0x52784d(0x48b)),{'header':[],'data':[]};const _0x2c6fbb=_0x477968['getSheetBySheetName'](_0x41ee88),_0x116ca5=_0x2c6fbb['getCellMatrix'](),{startRow:_0x2667c8,startColumn:_0x3a1f68,endRow:_0x1f0d61,endColumn:_0x105b82}=this[_0x52784d(0x34b)](_0x663f13,_0x2c6fbb),_0x47588c=_0x477968['getStyles'](),_0x285fcf=[],_0x33ba5d=[],_0x333dea={};for(let _0x1effe8=_0x2667c8;_0x1effe8<=_0x1f0d61;_0x1effe8++){const _0x5402bf=[];for(let _0x4e952e=_0x3a1f68;_0x4e952e<=_0x105b82;_0x4e952e++){const _0x24309f=_0x116ca5[_0x52784d(0x250)](_0x1effe8,_0x4e952e);_0x1effe8===_0x2667c8?_0x285fcf['push'](_0x24309f==null?null:String(_0x24309f['v'])):_0x5402bf[_0x52784d(0x296)](this['adjustSheetCellData'](_0x24309f,_0x47588c,_0x333dea));}_0x33ba5d[_0x52784d(0x296)](_0x5402bf);}return{'header':_0x285fcf,'data':_0x33ba5d};}[_0x32a484(0x4ab)](){const _0xe6b41=_0x32a484;return super[_0xe6b41(0x4ab)]();}[_0x32a484(0x232)](_0x1155b7){const _0x9d27e6=_0x32a484;super[_0x9d27e6(0x232)](_0x1155b7),this[_0x9d27e6(0x43a)]();}[_0x32a484(0x366)](){const _0x1fe5fb=_0x32a484;super[_0x1fe5fb(0x366)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x6cdb14=_0x1a345d=>{const _0x2563ef=_0x32a484,{targetCellInfo:_0x9ed6f4}=_0x1a345d,{matrixCache:_0xe5eef5,rangesCache:_0xdf976}=_0x170d7b({'filter':_0x2563ef(0x3d0),'row':'Row','column':'Column','values':_0x2563ef(0x3c4)},_0x9ed6f4),_0x4ce1af=new _0x2fa876[(_0x2563ef(0x48a))]();return _0xe5eef5['forValue']((_0x105b33,_0x4b2e09,_0x136268)=>{_0x4ce1af['setValue'](_0x105b33,_0x4b2e09,_0x136268);}),{'matrix':_0x4ce1af,'rangesCache':_0xdf976};},_0x527b53=_0x3e81fd=>{const _0x4f6685=_0x32a484;let _0x403c1f;if(_0x3e81fd!=null&&_0x3e81fd['v']||(_0x3e81fd==null?void 0x0:_0x3e81fd['v'])===0x0){_0x403c1f||(_0x403c1f={});const _0x436532=_0xa7cb16(_0x3e81fd['v']);typeof _0x436532=='number'?_0x403c1f['t']=_0x2fa876[_0x4f6685(0x393)]['NUMBER']:typeof _0x436532=='string'&&(_0x403c1f['t']=_0x2fa876['CellValueType'][_0x4f6685(0x494)]),_0x403c1f['v']=_0x436532;}return _0x403c1f;},_0x8249ad=(_0x7337b4,_0x300992,_0x1b3214)=>{const _0x1fda9e=_0x32a484;var _0x2b2e6f,_0x10ca32,_0x287a90,_0x2ae74b,_0x3cd930,_0x263432,_0x506cc7,_0xa6b6f2,_0x4a1230,_0x520655,_0x292504,_0x278cdb;const {cornerView:_0x2dfccf,rowView:_0x53c1aa,colView:_0x48a909,dataView:_0x417884,pageView:_0x209ee1,formatMap:_0x373ce4}=_0x7337b4,{row:_0x278ee0,col:_0x1ded91}=_0x300992,_0x2e16ab=new _0x2fa876['ObjectMatrix']();let _0x498c57=_0x278ee0,_0x1fbffe=_0x1ded91;Object['keys'](_0x209ee1[_0x1fda9e(0x484)])[_0x1fda9e(0x4c2)](_0x5b524b=>{const _0x1d9865=_0x1fda9e;Object[_0x1d9865(0x31e)](_0x209ee1[_0x1d9865(0x484)][Number(_0x5b524b)])['forEach'](_0x39359a=>{const _0x14ab09=_0x1d9865,_0x5b2547={..._0x209ee1[_0x14ab09(0x484)][Number(_0x5b524b)][Number(_0x39359a)]};_0x2e16ab['setValue'](Number(_0x5b524b)+_0x498c57,Number(_0x39359a)+_0x1fbffe,_0x527b53(_0x5b2547));});});const _0x3511e0=Object[_0x1fda9e(0x31e)](_0x209ee1[_0x1fda9e(0x484)])['length'];_0x498c57+=_0x3511e0+(_0x3511e0?_0x4814ba:0x0);const _0x2d8efc=_0x2dfccf[_0x1fda9e(0x4b4)](),_0x5d6569=_0x2dfccf[_0x1fda9e(0x4c4)]();for(let _0x4a6272=0x0;_0x4a6272<_0x2d8efc;_0x4a6272++)for(let _0x68f591=0x0;_0x68f591<_0x5d6569;_0x68f591++){const _0x33a47e={...(_0x10ca32=(_0x2b2e6f=_0x2dfccf[_0x1fda9e(0x484)])==null?void 0x0:_0x2b2e6f[_0x4a6272])==null?void 0x0:_0x10ca32[_0x68f591]};_0x33a47e&&((_0x287a90=_0x53c1aa[_0x1fda9e(0x302)][_0x68f591])!=null&&_0x287a90[_0x1fda9e(0x3de)])&&_0x68f591===_0x5d6569-0x1&&_0x4a6272===_0x2d8efc-0x1&&(_0x33a47e['v']=''+_0x1b3214[_0x1fda9e(0x483)]),_0x2e16ab[_0x1fda9e(0x280)](_0x4a6272+_0x498c57,_0x68f591+_0x1fbffe,_0x527b53(_0x33a47e));}_0x1fbffe+=_0x5d6569;const _0x13b917=_0x48a909[_0x1fda9e(0x302)],_0x5f3bba=_0x48a909[_0x1fda9e(0x364)]()>=0x0?_0x48a909['getLastRow']()+0x1:0x0,_0x128e6b=_0x48a909[_0x1fda9e(0x27b)]()>=0x0?_0x48a909[_0x1fda9e(0x27b)]()+0x1:0x0;for(let _0x4d14fe=0x0;_0x4d14fe<_0x128e6b;_0x4d14fe++)for(let _0x1f42bf=0x0;_0x1f42bf<_0x5f3bba;_0x1f42bf++){const _0x29fed4={...(_0x3cd930=(_0x2ae74b=_0x48a909[_0x1fda9e(0x484)])==null?void 0x0:_0x2ae74b[_0x4d14fe])==null?void 0x0:_0x3cd930[_0x1f42bf]},_0x54410b=(_0x263432=_0x13b917[_0x4d14fe])==null?void 0x0:_0x263432[_0x1fda9e(0x407)],_0x26000c=_0x373ce4[_0x54410b];_0x29fed4&&(_0x29fed4['v']=_0x27d4ee(_0x29fed4,_0x4d14fe===0x0&&((_0x506cc7=_0x48a909[_0x1fda9e(0x25b)](_0x1f42bf+0x1))==null?void 0x0:_0x506cc7[_0x1fda9e(0x3de)]),_0x26000c,_0x1b3214)),_0x2e16ab['setValue'](_0x4d14fe+_0x498c57,_0x1f42bf+_0x1fbffe,_0x527b53(_0x29fed4));}_0x498c57+=_0x2d8efc;const _0x2a0f8c=_0x53c1aa[_0x1fda9e(0x302)],_0x1a1513=_0x53c1aa[_0x1fda9e(0x364)]()>=0x0?_0x53c1aa[_0x1fda9e(0x364)]()+0x1:0x0,_0x4a9218=_0x53c1aa[_0x1fda9e(0x27b)]()>=0x0?_0x53c1aa['getLastCol']()+0x1:0x0;for(let _0x3e8a4c=0x0;_0x3e8a4c<_0x1a1513;_0x3e8a4c++)for(let _0x57489a=0x0;_0x57489a<_0x4a9218;_0x57489a++){const _0x1459df={...(_0x4a1230=(_0xa6b6f2=_0x53c1aa[_0x1fda9e(0x484)])==null?void 0x0:_0xa6b6f2[_0x3e8a4c])==null?void 0x0:_0x4a1230[_0x57489a]},_0x2b3743=(_0x520655=_0x2a0f8c[_0x57489a])==null?void 0x0:_0x520655[_0x1fda9e(0x407)],_0x20ad65=_0x373ce4[_0x2b3743];_0x1459df&&(_0x1459df['v']=_0x27d4ee(_0x1459df,!0x1,_0x20ad65,_0x1b3214)),_0x2e16ab[_0x1fda9e(0x280)](_0x3e8a4c+_0x498c57,_0x57489a+_0x1ded91,_0x527b53(_0x1459df));}const _0x3e7e6f=_0x417884[_0x1fda9e(0x4b4)](),_0xe32f8a=_0x417884['getColCount']();for(let _0x233a9f=0x0;_0x233a9f<_0x3e7e6f;_0x233a9f++)for(let _0x22cc90=0x0;_0x22cc90<_0xe32f8a;_0x22cc90++){const _0x15557f={...(_0x278cdb=(_0x292504=_0x417884[_0x1fda9e(0x484)])==null?void 0x0:_0x292504[_0x233a9f])==null?void 0x0:_0x278cdb[_0x22cc90]};_0x2e16ab[_0x1fda9e(0x280)](_0x233a9f+_0x498c57,_0x22cc90+_0x1fbffe,_0x527b53(_0x15557f));}return _0x2e16ab;},_0x3250d4=_0xbdb0ae=>{const _0x2a0203=_0x32a484,{view:_0x40769b,targetCellInfo:_0x14cb3e,isEmpty:_0x641d18,textInfo:_0x1d6f34}=_0xbdb0ae;if(_0x641d18)return _0x6cdb14(_0xbdb0ae);const {pageView:_0x27dda2,cornerView:_0x470ae8,rowView:_0x2cd3f3,colView:_0x1d6a6e,dataView:_0x27acd6}=_0x40769b,_0x6e7542=_0x47957b(_0x14cb3e,_0x27dda2,!0x0),_0x5ee4cf=_0x27dda2[_0x2a0203(0x427)]>=0x0?_0x27dda2[_0x2a0203(0x427)]+0x1:0x0,_0x582cae=_0x470ae8['getRowCount'](),_0x1cfffb=_0x470ae8[_0x2a0203(0x4c4)](),_0x51065a=_0x6e7542['length']>0x0?_0x4814ba:0x0,_0x5bebb2=_0x47957b({'row':_0x14cb3e['row']+_0x5ee4cf+_0x51065a,'col':_0x14cb3e[_0x2a0203(0x38d)]},_0x470ae8,!0x1,!0x1),_0x59c2a9=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a+_0x582cae,'col':_0x14cb3e[_0x2a0203(0x38d)]},_0x2cd3f3,!0x1,!0x0),_0x258888=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a,'col':_0x14cb3e[_0x2a0203(0x38d)]+_0x1cfffb},_0x1d6a6e,!0x1,!0x0),_0x35441e=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a+_0x582cae,'col':_0x14cb3e[_0x2a0203(0x38d)]+_0x1cfffb},_0x27acd6,!0x1,!0x1),_0x12c41a={'rowRanges':_0x59c2a9,'colRanges':_0x258888,'cornerRanges':_0x5bebb2,'dataRanges':_0x35441e,'pageRanges':_0x6e7542};return{'matrix':_0x8249ad(_0x40769b,_0x14cb3e,_0x1d6f34),'rangesCache':_0x12c41a};};var _0x3bd245=Object[_0x32a484(0x48e)],_0x118bd2=(_0x17bbcf,_0x5056dc,_0x5139e0,_0xa47823)=>{const _0x241635=_0x32a484;for(var _0x1484be=_0xa47823>0x1?void 0x0:_0xa47823?_0x3bd245(_0x5056dc,_0x5139e0):_0x5056dc,_0x312dee=_0x17bbcf[_0x241635(0x249)]-0x1,_0xaa9b;_0x312dee>=0x0;_0x312dee--)(_0xaa9b=_0x17bbcf[_0x312dee])&&(_0x1484be=_0xaa9b(_0x1484be)||_0x1484be);return _0x1484be;},_0x2025cf=(_0x25cace,_0x4c6d90)=>(_0x2d3b7d,_0x1e2a08)=>_0x4c6d90(_0x2d3b7d,_0x1e2a08,_0x25cace);_0xd0af73['SheetsPivotDataSourceModel']=class extends _0x2fa876['Disposable']{constructor(_0x49bcc5,_0x1d61df,_0x2642e3,_0x32ae9f,_0x3cd7d4){const _0x52f309=_0x32a484;super(),_0x25ab16(this,_0x52f309(0x2e6),new Map()),_0x25ab16(this,_0x52f309(0x36f),new Map()),_0x25ab16(this,_0x52f309(0x1d8),new Map()),_0x25ab16(this,_0x52f309(0x1dc)),_0x25ab16(this,_0x52f309(0x498),new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,'collectionChange$',this[_0x52f309(0x498)][_0x52f309(0x411)]()),_0x25ab16(this,'_viewData$',new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,_0x52f309(0x4b1),this[_0x52f309(0x455)][_0x52f309(0x411)]()),_0x25ab16(this,_0x52f309(0x429),new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,_0x52f309(0x363),this[_0x52f309(0x429)][_0x52f309(0x411)]()),_0x25ab16(this,_0x52f309(0x262),new Map()),_0x25ab16(this,'needSameDeleteModel',[]),_0x25ab16(this,_0x52f309(0x35f),new Map()),(this[_0x52f309(0x42f)]=_0x49bcc5,this['_univerInstanceService']=_0x1d61df,this[_0x52f309(0x208)]=_0x2642e3,this['_commandService']=_0x32ae9f,this[_0x52f309(0x4ae)]=_0x3cd7d4,this[_0x52f309(0x2e8)]());}['getTextInfo'](){return this['_textInfo']?this['_textInfo']:_0x46fdd4;}['setTextInfo'](_0x266522){const _0x4702d8=_0x32a484;this[_0x4702d8(0x1dc)]=_0x266522;}['handleMoveRange'](_0x396d1c){const _0x49d398=_0x32a484;var _0x46c066;const {from:_0x25c2a8,to:_0x55879e,unitId:_0x461a00,fromRange:_0x12f6b1,toRange:_0x4b1b1a}=_0x396d1c;if(_0x25c2a8&&_0x55879e){const _0x5bf1f1=this[_0x49d398(0x4b6)](_0x461a00),_0x2a16f3=this[_0x49d398(0x2e6)][_0x49d398(0x3fc)](_0x461a00),_0x198ac9=(_0x46c066=this['_univerInstanceService'][_0x49d398(0x1e4)](_0x461a00))==null?void 0x0:_0x46c066[_0x49d398(0x493)](_0x55879e[_0x49d398(0x2fa)]);if(!_0x2a16f3||!_0x198ac9)return;const _0x19f71b=_0x198ac9==null?void 0x0:_0x198ac9[_0x49d398(0x22d)]();for(const [_0x403882,_0x56d3d4]of _0x2a16f3[_0x49d398(0x408)]())for(const [_0x2bc10e,_0x13df96]of _0x56d3d4[_0x49d398(0x408)]()){const {sourceRangeInfo:_0x148e49}=_0x13df96;if(_0x148e49[_0x49d398(0x211)]===_0x461a00&&_0x148e49['subUnitId']===_0x25c2a8['subUnitId']&&_0x2fa876[_0x49d398(0x3b2)][_0x49d398(0x24d)](_0x12f6b1,_0x148e49[_0x49d398(0x1f6)])){const _0x267b9d={'row':_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x340)]-_0x12f6b1[_0x49d398(0x340)],'col':_0x148e49[_0x49d398(0x1f6)]['startColumn']-_0x12f6b1[_0x49d398(0x3e4)]},_0x59cf01={'unitId':_0x461a00,'subUnitId':_0x55879e[_0x49d398(0x2fa)],'sheetName':_0x19f71b,'range':{'startRow':_0x4b1b1a[_0x49d398(0x340)]+_0x267b9d['row'],'endRow':_0x4b1b1a[_0x49d398(0x340)]+_0x267b9d['row']+_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x2d0)]-_0x148e49['range'][_0x49d398(0x340)],'startColumn':_0x4b1b1a[_0x49d398(0x3e4)]+_0x267b9d[_0x49d398(0x38d)],'endColumn':_0x4b1b1a['startColumn']+_0x267b9d[_0x49d398(0x38d)]+_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x315)]-_0x148e49['range'][_0x49d398(0x3e4)]}};_0x5bf1f1[_0x49d398(0x382)](_0x2bc10e,_0x59cf01);const _0x1a6d29={..._0x13df96,'sourceRangeInfo':_0x59cf01};this[_0x49d398(0x4e4)](_0x461a00,_0x55879e['subUnitId'],_0x2bc10e,_0x1a6d29),this[_0x49d398(0x217)]({'unitId':_0x461a00,'token':_0x2bc10e,'type':_0xf2a767[_0x49d398(0x2bf)],'oldSourceRangeInfo':_0x148e49,'dataRangeInfo':_0x59cf01,'targetCellInfo':_0x13df96[_0x49d398(0x412)]}),this[_0x49d398(0x1fb)]({'unitId':_0x461a00,'subUnitId':_0x55879e[_0x49d398(0x2fa)],'oldSubUnitId':_0x403882,'pivotTableId':_0x2bc10e,'pivotTableConfig':_0x1a6d29,'collectionConfig':_0x5bf1f1['toJSON']()});}}}}[_0x32a484(0x217)](_0x2b4d02){const _0x4a8ea9=_0x32a484;this[_0x4a8ea9(0x498)][_0x4a8ea9(0x451)](_0x2b4d02);}[_0x32a484(0x4b6)](_0x3f8b1d){const _0x2af4e2=_0x32a484;let _0x21b93a=this[_0x2af4e2(0x262)][_0x2af4e2(0x3fc)](_0x3f8b1d);return _0x21b93a||(_0x21b93a=new _0xc8ac62(this,this['_univerInstanceService']),this[_0x2af4e2(0x262)][_0x2af4e2(0x268)](_0x3f8b1d,_0x21b93a)),_0x21b93a;}['getCollection'](_0x1bedf6,_0x733703){const _0x46ee97=_0x32a484;return this[_0x46ee97(0x4b6)](_0x1bedf6)[_0x46ee97(0x4e2)][_0x733703];}[_0x32a484(0x368)](_0x5a5ff3,_0x28d609,_0x417b2b){const _0x24f3bf=_0x32a484;return this[_0x24f3bf(0x4b6)](_0x5a5ff3)[_0x24f3bf(0x368)](_0x28d609,_0x417b2b);}[_0x32a484(0x1e0)](_0x21a3b9,_0x436b53){const _0x5a6200=_0x32a484;let _0x5f5cbc=this['_model'][_0x5a6200(0x3fc)](_0x21a3b9);_0x5f5cbc||(_0x5f5cbc=new Map(),this['_model'][_0x5a6200(0x268)](_0x21a3b9,_0x5f5cbc));let _0x3598ab=_0x5f5cbc[_0x5a6200(0x3fc)](_0x436b53);return _0x3598ab||(_0x3598ab=new Map(),_0x5f5cbc[_0x5a6200(0x268)](_0x436b53,_0x3598ab)),_0x3598ab;}[_0x32a484(0x4e4)](_0x464fe7,_0x3bd6b9,_0x50b7e7,_0x3df664){const _0x2e9e87=_0x32a484;this[_0x2e9e87(0x1e0)](_0x464fe7,_0x3bd6b9)[_0x2e9e87(0x268)](_0x50b7e7,_0x3df664);}[_0x32a484(0x324)](_0x140b00,_0x42d9ba,_0x10d99d){const _0x65b81f=_0x32a484;var _0x1de08b,_0x2372c9,_0x2b2f07,_0xbdf00e;((_0x2372c9=(_0x1de08b=this[_0x65b81f(0x2e6)]['get'](_0x140b00))==null?void 0x0:_0x1de08b['get'](_0x42d9ba))==null?void 0x0:_0x2372c9[_0x65b81f(0x3fc)](_0x10d99d))&&((_0xbdf00e=(_0x2b2f07=this['_model']['get'](_0x140b00))==null?void 0x0:_0x2b2f07[_0x65b81f(0x3fc)](_0x42d9ba))==null||_0xbdf00e[_0x65b81f(0x3a9)](_0x10d99d));}['_updatePivotTableInstanceCache'](_0x37b01d,_0x4d539e){const _0x251838=_0x32a484;this[_0x251838(0x36f)][_0x251838(0x268)](_0x37b01d,_0x4d539e);}['_deletePivotTableInstanceCache'](_0x3523f8){const _0x2dbf8f=_0x32a484;this['_pivotTableInstanceCache'][_0x2dbf8f(0x3a9)](_0x3523f8);}['_ensureViewDataMap'](_0x361a41,_0x4161ed){const _0x32a370=_0x32a484;let _0x100a7e=this[_0x32a370(0x1d8)][_0x32a370(0x3fc)](_0x361a41);_0x100a7e||(_0x100a7e=new Map(),this[_0x32a370(0x1d8)][_0x32a370(0x268)](_0x361a41,_0x100a7e));let _0x496199=_0x100a7e[_0x32a370(0x3fc)](_0x4161ed);return _0x496199||(_0x496199=new Map(),_0x100a7e['set'](_0x4161ed,_0x496199)),_0x496199;}[_0x32a484(0x1fb)](_0xccbe40){const _0x2d73c0=_0x32a484,{unitId:_0x262963,subUnitId:_0x534369,pivotTableId:_0x2e6602,pivotTableConfig:_0x48f510,collectionConfig:_0x4d0ad2}=_0xccbe40,_0x4600b9={'unitId':_0x262963,'subUnitId':_0x534369,'oldSubUnitId':_0x534369,'pivotTableId':_0x2e6602,'pivotTableConfig':_0x48f510,'collectionConfig':_0x4d0ad2};this[_0x2d73c0(0x4cf)]['executeCommand'](_0x38a7b1['id'],_0x4600b9,{'onlyLocal':!0x0});}['updateView'](_0x484f8b,_0x173a59,_0x188ced,_0x1bdd80,_0x2def53,_0x143ff5,_0x19dddf,_0x365acf=!0x1){const _0x2f5ab5=_0x32a484;var _0x4dd6c0;this[_0x2f5ab5(0x4cf)][_0x2f5ab5(0x24f)](_0x444296['id'],{'single':{'unitId':_0x484f8b,'subUnitId':_0x173a59,'type':_0x188ced,'pivotTableId':_0x1bdd80,'view':_0x2def53,'pivotConfig':_0x143ff5},'collectionConfig':{[_0x484f8b]:_0x19dddf}},{'onlyLocal':!0x0});const _0x471ee2=!!((_0x4dd6c0=this[_0x2f5ab5(0x47b)](_0x1bdd80))!=null&&_0x4dd6c0[_0x2f5ab5(0x3fa)]()),_0x239874=this['getPivotTableConfig'](_0x484f8b,_0x173a59,_0x1bdd80);_0x239874&&this[_0x2f5ab5(0x320)]({'view':_0x2def53,'pivotTableId':_0x1bdd80,'textInfo':this[_0x2f5ab5(0x32e)](),'isEmpty':_0x471ee2,'targetCellInfo':_0x239874[_0x2f5ab5(0x412)]},_0x365acf);}[_0x32a484(0x320)](_0x413ed0,_0x440fe0){const _0x4a9eb9=_0x32a484,{targetCellInfo:_0x872c5b,pivotTableId:_0x307b31}=_0x413ed0,{unitId:_0x332f40,subUnitId:_0x17c2a4}=_0x872c5b,_0x596ad6=this[_0x4a9eb9(0x2a7)](_0x332f40,_0x17c2a4),_0x4844b7=_0x596ad6['get'](_0x307b31);let _0x1e622a,_0x2b58ff;_0x4844b7&&(_0x1e622a=_0x4844b7[_0x4a9eb9(0x49e)],_0x2b58ff=_0x4844b7[_0x4a9eb9(0x371)]);const {rangesCache:_0x294deb,matrix:_0xea51ab}=_0x3250d4(_0x413ed0);_0x596ad6[_0x4a9eb9(0x268)](_0x307b31,{'rangeCache':_0x294deb,'matrix':_0xea51ab,'oldMatrix':_0x2b58ff,'oldRangeCache':_0x1e622a}),_0x440fe0||this['_viewData$']['next']({'unitId':_0x332f40,'subUnitId':_0x17c2a4,'pivotTableId':_0x307b31});}[_0x32a484(0x30f)](_0x2e4a27,_0x5ddb0f,_0x315f64,_0x4747f6,_0x4f42fc){const _0xed4a97=_0x32a484;this[_0xed4a97(0x4e4)](_0x2e4a27,_0x5ddb0f,_0x315f64,_0x4f42fc),this[_0xed4a97(0x1f5)](_0x315f64,_0x4747f6);}['removePivotTable'](_0x10eb10,_0xdec7e4,_0x5c7bc2){const _0x17b38f=_0x32a484,_0x33620f=this[_0x17b38f(0x4b6)](_0x10eb10);_0x33620f[_0x17b38f(0x465)](_0x5c7bc2)[_0x17b38f(0x4c2)](_0x55cc1b=>{_0x33620f['deleteDataField'](_0x55cc1b);}),this[_0x17b38f(0x1fc)](_0x10eb10,_0x5c7bc2),this['_deleteModelCache'](_0x10eb10,_0xdec7e4,_0x5c7bc2),this['_deletePivotTableInstanceCache'](_0x5c7bc2);}[_0x32a484(0x292)](_0x10c927,_0x5f5547,_0x400a93,_0x47a38f){const _0x3205da=_0x32a484;this[_0x3205da(0x4e4)](_0x10c927,_0x5f5547,_0x400a93,_0x47a38f);}['getPivotTableConfig'](_0x37d7f4,_0x3c2a7a,_0x1fc0c8){const _0x377879=_0x32a484;var _0xc7f46e,_0x51221c;const _0x177140=(_0x51221c=(_0xc7f46e=this['_model'][_0x377879(0x3fc)](_0x37d7f4))==null?void 0x0:_0xc7f46e[_0x377879(0x3fc)](_0x3c2a7a))==null?void 0x0:_0x51221c[_0x377879(0x3fc)](_0x1fc0c8);if(_0x177140)return _0x177140;}['getPivotTableModelConfig'](_0x41c6dd,_0x195b82,_0xa098ee){const _0x4f9dc3=_0x32a484;var _0x26f44e,_0x1479b;const _0x54c852=(_0x1479b=(_0x26f44e=this['_model']['get'](_0x41c6dd))==null?void 0x0:_0x26f44e['get'](_0x195b82))==null?void 0x0:_0x1479b[_0x4f9dc3(0x3fc)](_0xa098ee);if(_0x54c852)return _0x54c852[_0x4f9dc3(0x481)];}[_0x32a484(0x47b)](_0x52077b){const _0x1f6bed=_0x32a484;return this[_0x1f6bed(0x36f)]['get'](_0x52077b);}[_0x32a484(0x4d8)](_0x27d8d1){const _0x10e31e=_0x32a484;this[_0x10e31e(0x2e6)][_0x10e31e(0x3a9)](_0x27d8d1);const _0x3b44b8=this[_0x10e31e(0x262)][_0x10e31e(0x3fc)](_0x27d8d1);_0x3b44b8&&(_0x3b44b8['dispose'](),this['_dataFieldManagerCollection']['delete'](_0x27d8d1)),this['_viewData']['delete'](_0x27d8d1),this[_0x10e31e(0x40d)][_0x10e31e(0x4c2)](_0xa6547d=>{const _0x4e60bc=_0x10e31e;_0xa6547d[_0x4e60bc(0x4d8)](_0x27d8d1);});}[_0x32a484(0x20b)](_0x15450e,_0x37f0b9,_0x2fcc60,_0x3f28a8){const _0x5f0231=_0x32a484;return this[_0x5f0231(0x4b6)](_0x2fcc60[_0x5f0231(0x211)])[_0x5f0231(0x20b)](_0x15450e,_0x37f0b9,_0x2fcc60,_0x3f28a8);}['createCollectionWithDataRange'](_0x5ad065){const _0x36fd0b=_0x32a484;return this[_0x36fd0b(0x4b6)](_0x5ad065['unitId'])[_0x36fd0b(0x2af)](_0x5ad065);}[_0x32a484(0x381)](_0x3a3e92,_0x55e8d2,_0xd739e4){const _0x409978=_0x32a484;this[_0x409978(0x4b6)](_0xd739e4[_0x409978(0x211)])[_0x409978(0x381)](_0x3a3e92,_0x55e8d2,_0xd739e4);}[_0x32a484(0x319)](_0x4e2830,_0x590a1a){const _0x508fae=_0x32a484;this[_0x508fae(0x4b6)](_0x4e2830)[_0x508fae(0x240)](_0x590a1a);}[_0x32a484(0x1fc)](_0x366aae,_0xd24c46){const _0x54fa0a=_0x32a484;this['getDataFieldManager'](_0x366aae)[_0x54fa0a(0x35c)](_0xd24c46);}[_0x32a484(0x40b)](_0x1d68a3,_0x3ebfcf){const _0x5c7c23=_0x32a484;var _0x76809a;return(_0x76809a=this[_0x5c7c23(0x2e6)][_0x5c7c23(0x3fc)](_0x1d68a3))==null?void 0x0:_0x76809a[_0x5c7c23(0x3fc)](_0x3ebfcf);}[_0x32a484(0x4aa)](_0x42ca40){const _0x3cdf1b=_0x32a484;for(const [_0x8bc00d,_0x4e0da0]of this[_0x3cdf1b(0x2e6)][_0x3cdf1b(0x408)]())for(const [_0x4b9417,_0x1caea8]of _0x4e0da0[_0x3cdf1b(0x408)]())if(_0x1caea8[_0x3cdf1b(0x290)](_0x42ca40))return{'unitId':_0x8bc00d,'subUnitId':_0x4b9417};return null;}['sideEffectUpdateWorkerCache'](_0x26d926,_0x17be9d,_0x1cd055,_0x1c5e35){const _0x3fe6d7=_0x32a484,_0x25bf4c=this[_0x3fe6d7(0x2a7)](_0x26d926,_0x17be9d);_0x1c5e35?_0x25bf4c['set'](_0x1cd055,_0x1c5e35):_0x25bf4c['delete'](_0x1cd055),this[_0x3fe6d7(0x455)]['next']({'unitId':_0x26d926,'subUnitId':_0x17be9d,'pivotTableId':_0x1cd055});}['dispose'](){const _0x135474=_0x32a484;super[_0x135474(0x366)]();}[_0x32a484(0x469)](_0x540787,_0x4ed1df,_0x5bc4d6){const _0x33aec5=_0x32a484;var _0x448863,_0x273028;const _0x9c9fb=(_0x273028=(_0x448863=this[_0x33aec5(0x1d8)]['get'](_0x540787))==null?void 0x0:_0x448863[_0x33aec5(0x3fc)](_0x4ed1df))==null?void 0x0:_0x273028[_0x33aec5(0x3fc)](_0x5bc4d6);return _0x9c9fb||null;}[_0x32a484(0x272)](_0x14d398){const _0x4dd5b1=_0x32a484;this[_0x4dd5b1(0x3e9)](_0x14d398);}['updateDirtyPivotTable'](_0x55ecef){const _0x2c758d=_0x32a484,{token:_0x4aa72b,unitId:_0xd78bed,subUnitId:_0x253b4f}=_0x55ecef,_0x33025b=_0xd78bed+'-'+_0x253b4f+'-'+_0x4aa72b;this[_0x2c758d(0x35f)]['get'](_0x33025b)&&clearTimeout(this['_queryingMap'][_0x2c758d(0x3fc)](_0x33025b));const _0x1fde46=setTimeout(()=>{const _0x168edb=_0x2c758d;this[_0x168edb(0x4cb)](_0x55ecef),this[_0x168edb(0x35f)][_0x168edb(0x3a9)](_0x33025b);},_0x3b3d22);this[_0x2c758d(0x35f)][_0x2c758d(0x268)](_0x33025b,_0x1fde46);}[_0x32a484(0x4cb)](_0x4792c2){const _0x57ed93=_0x32a484,{unitId:_0x3df796,subUnitId:_0x28605d,token:_0x331f25,type:_0x4d2d2a,pivotConfig:_0xf8eafb}=_0x4792c2,_0x295744=this[_0x57ed93(0x47b)](_0x331f25),_0x1e77fd=_0x295744==null?void 0x0:_0x295744[_0x57ed93(0x341)](),_0x4fe423=_0xf8eafb!=null?_0xf8eafb:this[_0x57ed93(0x2e9)](_0x3df796,_0x28605d,_0x331f25);_0x4fe423&&(_0x4fe423['isEmpty']=!!(_0x295744!=null&&_0x295744['isEmpty']())),(_0x1e77fd||_0x4d2d2a===_0x477731['Delete'])&&this[_0x57ed93(0x239)](_0x3df796,_0x28605d,_0x4d2d2a,_0x331f25,_0x1e77fd,_0x4fe423,this[_0x57ed93(0x4b6)](_0x3df796)['toJSON']());}[_0x32a484(0x4ab)](_0x25207a){const _0x281e00=_0x32a484,_0x201d09={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x281e00(0x4b6)](_0x25207a)&&(_0x201d09[_0x281e00(0x300)][_0x25207a]=this[_0x281e00(0x4b6)](_0x25207a)[_0x281e00(0x4ab)]()),this[_0x281e00(0x2e6)][_0x281e00(0x3fc)](_0x25207a)){_0x201d09[_0x281e00(0x2fd)][_0x25207a]={};const _0x438f3a=this['_model'][_0x281e00(0x3fc)](_0x25207a);_0x438f3a!=null&&_0x438f3a[_0x281e00(0x40c)]&&[..._0x438f3a['keys']()]['forEach'](_0x4d97d9=>{const _0x12f84c=_0x281e00,_0x1f676=_0x438f3a[_0x12f84c(0x3fc)](_0x4d97d9);_0x1f676!=null&&_0x1f676[_0x12f84c(0x40c)]&&(_0x201d09[_0x12f84c(0x2fd)][_0x25207a][_0x4d97d9]={},[..._0x1f676[_0x12f84c(0x31e)]()][_0x12f84c(0x4c2)](_0x45792c=>{const _0x1dcd6f=_0x12f84c,_0x141177=_0x1f676[_0x1dcd6f(0x3fc)](_0x45792c);_0x141177&&(_0x201d09['pivotTableConfigs'][_0x25207a][_0x4d97d9][_0x45792c]=_0x141177);}));});}return _0x201d09;}[_0x32a484(0x232)](_0x554c2b){const _0x494a4b=_0x32a484;var _0x4f0a40;const {dataFieldManagerConfig:_0x36c561,pivotTableConfigs:_0x23285e}=_0x554c2b;_0x36c561&&Object['keys'](_0x36c561)[_0x494a4b(0x4c2)](_0x36134e=>{const _0x20ee81=_0x494a4b;this[_0x20ee81(0x4b6)](_0x36134e)[_0x20ee81(0x232)](_0x36c561[_0x36134e]);});const _0x1a9a35=[];if(_0x23285e){const _0x287a54=(_0x4f0a40=this[_0x494a4b(0x42f)][_0x494a4b(0x3fc)](_0x2fa876['IConfigService'])['getConfig'](_0x4baa44[_0x494a4b(0x3fe)]))!=null?_0x4f0a40:{},{ls:_0x2eecd1,pbk:_0x1642ee}=_0x287a54,_0x484d78=_0x2d207d(_0x1c1f87,_0x2eecd1,_0x1642ee)[_0x494a4b(0x3cd)];Object[_0x494a4b(0x31e)](_0x23285e)[_0x494a4b(0x4c2)](_0x50112c=>{const _0x159790=_0x494a4b;let _0x5de08b=0x0;const _0x52148f=_0x23285e[_0x50112c];Object[_0x159790(0x31e)](_0x52148f)[_0x159790(0x4c2)](_0x152b5c=>{const _0x3fd61d=_0x159790,_0x577c5b=_0x52148f[_0x152b5c];Object[_0x3fd61d(0x31e)](_0x577c5b)[_0x3fd61d(0x4c2)](_0x1183c0=>{const _0xa16c68=_0x3fd61d,_0x1eb733=_0x577c5b[_0x1183c0];if(_0x1eb733){if(_0x5de08b>=_0x484d78)return;_0x5de08b++;const _0x43e699=this[_0xa16c68(0x4b6)](_0x50112c),_0x4dddcf=_0x43e699[_0xa16c68(0x4e2)][_0x1183c0],_0x316247=_0x4dddcf[_0xa16c68(0x29d)]();let _0x22477a=0x0;const _0x362087=[];for(const _0x446358 of _0x316247){const _0x47f764=_0x4dddcf[_0xa16c68(0x4a9)](_0x446358);if(_0x33417a[_0xa16c68(0x372)](_0x47f764)){const _0x3d8b2d=_0x47f764[_0xa16c68(0x45a)](),_0x5a3036=_0x4dddcf[_0xa16c68(0x4a9)](_0x3d8b2d);_0x5a3036&&_0x362087[_0xa16c68(0x296)]([_0x47f764,_0x5a3036]);continue;}_0x43e699['refreshDataField'](_0x446358,_0x1eb733[_0xa16c68(0x218)],_0x22477a),_0x22477a++;}_0x362087[_0xa16c68(0x4c2)](([_0x415cc6,_0x2138ee])=>{const _0x1b09c5=_0xa16c68;_0x415cc6[_0x1b09c5(0x4bb)](_0x2138ee);});const _0x51e4a7=new _0x33417a[(_0xa16c68(0x28e))](_0x4dddcf);_0x51e4a7[_0xa16c68(0x232)](_0x1eb733['fieldsConfig']),this[_0xa16c68(0x30f)](_0x50112c,_0x152b5c,_0x1183c0,_0x51e4a7,_0x1eb733);const _0x33c918=_0x51e4a7[_0xa16c68(0x341)]();_0x1a9a35[_0xa16c68(0x296)]({'unitId':_0x50112c,'subUnitId':_0x152b5c,'pivotTableId':_0x1183c0,'view':_0x33c918['toJSON'](),'pivotConfig':_0x1eb733,'type':_0x477731[_0xa16c68(0x401)]});const _0x45dadd=!!_0x51e4a7['isEmpty'](),_0x3de820={'view':_0x33c918,'pivotTableId':_0x1183c0,'textInfo':this[_0xa16c68(0x32e)](),'isEmpty':_0x45dadd,'targetCellInfo':_0x1eb733[_0xa16c68(0x412)]};this[_0xa16c68(0x320)](_0x3de820,!0x1);}});});});}_0x36c561&&Object[_0x494a4b(0x31e)](_0x36c561)['forEach'](_0x221f9c=>{const _0x28ad37=_0x494a4b,_0x4504e8=this[_0x28ad37(0x4b6)](_0x221f9c);this[_0x28ad37(0x429)][_0x28ad37(0x451)](_0x4504e8[_0x28ad37(0x4e2)]);}),this[_0x494a4b(0x4cf)][_0x494a4b(0x24f)](_0x444296['id'],{'batch':_0x1a9a35,'collectionConfig':_0x36c561},{'onlyLocal':!0x0});}[_0x32a484(0x2e8)](){const _0x45e9ab=_0x32a484;this['disposeWithMe'](this['_resourceManagerService'][_0x45e9ab(0x230)]({'toJson':_0x482201=>JSON[_0x45e9ab(0x277)](this[_0x45e9ab(0x4ab)](_0x482201)),'parseJson':_0x2c27bb=>{const _0x184612=_0x45e9ab;if(!_0x2c27bb)return{};try{return JSON[_0x184612(0x496)](_0x2c27bb);}catch{return{};}},'businesses':[_0x2fa876['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x1a68df,'onLoad':(_0x236109,_0x38f78b)=>{this['fromJSON'](_0x38f78b);},'onUnLoad':_0x17662b=>{const _0x456c81=_0x45e9ab;this[_0x456c81(0x4d8)](_0x17662b);}}));}},_0xd0af73[_0x32a484(0x255)]=_0x118bd2([_0x2025cf(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x2025cf(0x1,_0x2fa876['IUniverInstanceService']),_0x2025cf(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x479)])),_0x2025cf(0x3,_0x2fa876[_0x32a484(0x41b)]),_0x2025cf(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x2da)]))],_0xd0af73['SheetsPivotDataSourceModel']);const _0x275b40={0x0:{0x0:{'v':'filter','s':_0x395c60}},0x2:{0x1:{'v':'','s':_0x395c60},0x2:{'v':'','s':_0x395c60},0x3:{'v':_0x32a484(0x425),'s':_0x395c60},0x4:{'v':'','s':_0x395c60},0x5:{'v':'','s':_0x395c60}},0x3:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x4:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x5:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x6:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x7:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x8:{0x0:{'v':'row','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'values','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x9:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xa:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xb:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xc:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xd:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}}},_0x540dbd={'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':[]},_0x170d7b=(_0x52dcf5,_0xbe6812)=>{const _0x44a73c=_0x32a484,_0x3a8370=new _0x2fa876[(_0x44a73c(0x48a))](),_0x32badd=new _0x2fa876[(_0x44a73c(0x48a))](_0x275b40),{row:_0x157556,col:_0x5552eb}=_0xbe6812;_0x32badd['forValue']((_0x279d98,_0x291513,_0x4308df)=>{const _0x111b5d=_0x44a73c;let _0x1569eb='';_0x4308df['v']===_0x111b5d(0x2c6)?_0x1569eb=_0x52dcf5[_0x111b5d(0x2c6)]:_0x4308df['v']===_0x111b5d(0x213)?_0x1569eb=_0x52dcf5['row']:_0x4308df['v']===_0x111b5d(0x425)?_0x1569eb=_0x52dcf5[_0x111b5d(0x425)]:_0x4308df['v']===_0x111b5d(0x1e7)&&(_0x1569eb=_0x52dcf5['values']),_0x3a8370['setValue'](_0x279d98+_0x157556,_0x291513+_0x5552eb,{..._0x4308df,'v':_0x1569eb});});const _0x2f4a19=_0x2fa876['Tools'][_0x44a73c(0x2a4)](_0x540dbd);return Object[_0x44a73c(0x31e)](_0x540dbd)[_0x44a73c(0x4c2)](_0x5eff36=>{const _0x21edb1=_0x44a73c;_0x2f4a19[_0x5eff36]=_0x540dbd[_0x5eff36][_0x21edb1(0x2a0)](_0x1653b2=>({..._0x1653b2,'startRow':_0x1653b2[_0x21edb1(0x340)]+_0x157556,'endRow':_0x1653b2[_0x21edb1(0x2d0)]+_0x157556,'startColumn':_0x1653b2['startColumn']+_0x5552eb,'endColumn':_0x1653b2[_0x21edb1(0x315)]+_0x5552eb}));}),{'matrixCache':_0x3a8370,'rangesCache':_0x2f4a19};};function _0x232a20(_0x31a50e,_0x1fb248){const _0x55e699=_0x32a484;let _0x338617='';const _0x4bd380=this[_0x55e699(0x32e)]();switch(_0x1fb248){case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x3ff)]:_0x338617=_0x4bd380[_0x55e699(0x2ad)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x3cd)]:_0x338617=_0x4bd380['sheets-pivot.countName']+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x2b1)]:_0x338617=_0x4bd380[_0x55e699(0x38c)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x1f9)]:_0x338617=_0x4bd380['sheets-pivot.maxName']+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x20e)]:_0x338617=_0x4bd380[_0x55e699(0x1ea)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)]['product']:_0x338617=_0x4bd380[_0x55e699(0x270)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)]['stdDev']:_0x338617=_0x4bd380[_0x55e699(0x3ab)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x37d)]:_0x338617=_0x4bd380[_0x55e699(0x402)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x1e9)]:_0x338617=_0x4bd380[_0x55e699(0x417)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x269)]:_0x338617=_0x4bd380[_0x55e699(0x380)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x1d5)]:_0x338617=_0x4bd380[_0x55e699(0x362)]+_0x31a50e;break;default:_0x338617=_0x31a50e;break;}return _0x338617;}function _0x5894c7(_0x1c3f69,_0x2b9884,_0x489a6d,_0xdea5ac,_0x557ebc){const _0x1f68c1=_0x32a484;var _0x4eaa9a,_0x3f3f35,_0x30d5b1,_0x394a70,_0x5d4851;const _0x2cbb8a=_0x2fa876['cellToRange'](_0x1c3f69,_0x2b9884),{rangesInfo:_0x541bbe,areaInfo:_0x4e4948,headerMap:_0x5a4abc}=_0x557ebc;if(!_0x541bbe||!_0x4e4948||!_0x5a4abc)return;const _0x3f6a0a=Object[_0x1f68c1(0x31e)](_0x541bbe)['find'](_0x50b6a8=>_0x541bbe[_0x50b6a8][_0x1f68c1(0x26a)](_0x3c5441=>_0x2fa876[_0x1f68c1(0x3b2)][_0x1f68c1(0x24d)](_0x3c5441,_0x2cbb8a))),_0x4c60c1=_0x4e4948;let _0x5b7475,_0x4fc4f8,_0x5f094d;if(_0x3f6a0a===_0x1f68c1(0x22a))_0x5b7475=(_0x4eaa9a=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x276)])==null?void 0x0:_0x4eaa9a[_0x1c3f69],_0x4fc4f8=(_0x3f3f35=_0x5a4abc==null?void 0x0:_0x5a4abc['rowHeaderMap'])==null?void 0x0:_0x3f3f35[_0x2b9884],_0x5f094d=_0x4fc4f8==null?void 0x0:_0x4fc4f8[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x237))_0x5b7475=(_0x30d5b1=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x1eb)])==null?void 0x0:_0x30d5b1[_0x2b9884],_0x4fc4f8=(_0x394a70=_0x5a4abc[_0x1f68c1(0x22c)])==null?void 0x0:_0x394a70[_0x1c3f69+0x1+_0x2b9884-_0x541bbe['colRanges'][0x0]['startColumn']],_0x5f094d=_0x4fc4f8==null?void 0x0:_0x4fc4f8[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x3f5))_0x5b7475=(_0x5d4851=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x459)])==null?void 0x0:_0x5d4851[_0x2b9884],_0x5f094d=_0x5b7475==null?void 0x0:_0x5b7475[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x31f)){const _0x58583d=_0x489a6d==null?void 0x0:_0x489a6d['fi'];_0x58583d!==void 0x0&&(_0x5f094d=_0xdea5ac[_0x1f68c1(0x3c5)](_0x58583d));}}}}return{'filterId':_0x5f094d,'info':_0x5b7475,'data':_0x489a6d,'headerInfo':_0x4fc4f8};}function _0x4dd84c(_0x57c9c2,_0x2a343e,_0x59a4ce){const _0x358a07=_0x32a484,_0x34d269=_0x57c9c2['dataFieldsCollection'],_0x4bf365=_0x34d269[_0x358a07(0x29d)](),_0x391efe=new Set();_0x57c9c2[_0x358a07(0x293)](_0x56b9dc=>{const _0xf5ec3a=_0x358a07;_0x391efe['add'](_0x56b9dc[_0xf5ec3a(0x422)]);});const _0x4064fc=_0x4bf365[_0x358a07(0x2a0)](_0x160c51=>{const _0x345810=_0x358a07,_0x6ab287=_0x34d269[_0x345810(0x4a9)](_0x160c51);return{'checked':_0x391efe[_0x345810(0x290)](_0x160c51),'dataFieldId':_0x6ab287['id'],'id':_0x6ab287['id'],'name':_0x34d269['getDisplayName'](_0x6ab287['id']),'type':_0x6ab287[_0x345810(0x2b4)](),'pivotTableId':_0x2a343e};}),_0x4ce6b8=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x349)],_0x1beb3f=>{const _0x16f761=_0x358a07;_0x4ce6b8['push']({'dataFieldId':_0x1beb3f['dataFieldId'],'tableFieldId':_0x1beb3f[_0x16f761(0x244)](),'displayName':_0x1beb3f[_0x16f761(0x2b3)]()});});const _0x106848=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x1d6)],_0x105dca=>{const _0x52c837=_0x358a07;_0x106848[_0x52c837(0x296)]({'dataFieldId':_0x105dca['dataFieldId'],'tableFieldId':_0x105dca[_0x52c837(0x244)](),'displayName':_0x105dca[_0x52c837(0x2b3)]()});});const _0x3869e7=[];if(_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x4a5)],_0x53cb74=>{const _0x5ec751=_0x358a07;_0x3869e7['push']({'dataFieldId':_0x53cb74[_0x5ec751(0x422)],'tableFieldId':_0x53cb74[_0x5ec751(0x244)](),'displayName':_0x53cb74[_0x5ec751(0x2b3)](),'format':_0x53cb74[_0x5ec751(0x1ec)](),'subTotalType':_0x53cb74[_0x5ec751(0x423)]()});}),_0x3869e7[_0x358a07(0x249)]>0x1){const _0x3e1457=_0x57c9c2[_0x358a07(0x1df)]();(_0x57c9c2['isColMultiMeasure']()?_0x106848:_0x4ce6b8)['splice'](_0x3e1457,0x0,{'dataFieldId':'','tableFieldId':_0x358a07(0x2f8),'displayName':_0x358a07(0x445)});}const _0x32d5a2=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a['PivotTableFiledAreaEnum'][_0x358a07(0x3d0)],_0x1cbd20=>{const _0x7bc76b=_0x358a07;_0x32d5a2['push']({'dataFieldId':_0x1cbd20[_0x7bc76b(0x422)],'tableFieldId':_0x1cbd20[_0x7bc76b(0x244)](),'displayName':_0x1cbd20[_0x7bc76b(0x2b3)]()});});const _0x3ebf48=_0x59a4ce[_0x358a07(0x218)];return{'sourceList':_0x4064fc,'sourceRange':_0x3ebf48,'rowFields':_0x4ce6b8,'columnFields':_0x106848,'valueFields':_0x3869e7,'filterFields':_0x32d5a2,'positionInfo':_0x59a4ce['targetCellInfo']};}function _0x463464(_0x4f031d,_0x3e35ba,_0x132ee8='',_0x149022={}){const _0xffc07a=_0x32a484,_0x2f7e6e=_0x4f031d[_0xffc07a(0x3fc)](_0x2fa876[_0xffc07a(0x3d2)]);for(const _0x485941 in _0x3e35ba)if(Object[_0xffc07a(0x2a6)]['hasOwnProperty'][_0xffc07a(0x4b8)](_0x3e35ba,_0x485941)){const _0x1bd6a9=_0x132ee8?_0x132ee8+'.'+_0x485941:_0x485941;typeof _0x3e35ba[_0x485941]=='object'&&_0x3e35ba[_0x485941]!==null&&!Array[_0xffc07a(0x435)](_0x3e35ba[_0x485941])?_0x463464(_0x4f031d,_0x3e35ba[_0x485941],_0x1bd6a9,_0x149022):_0x149022[_0x1bd6a9]=_0x2f7e6e['t'](_0x1bd6a9);}return _0x149022;}const _0x3fcd7b=_0x1a0161=>{const _0x329945=_0x32a484;if(!_0x1a0161)return[];const {rowRanges:_0x396828,colRanges:_0x3c2f30,cornerRanges:_0x2468da,dataRanges:_0x18c91d,pageRanges:_0x130131}=_0x1a0161,_0x30e98e=[..._0x3c2f30,..._0x396828,..._0x18c91d,..._0x2468da]['filter'](_0x787ffd=>_0x787ffd[_0x329945(0x340)]>=0x0&&_0x787ffd[_0x329945(0x3e4)]>=0x0&&_0x787ffd[_0x329945(0x2d0)]>=0x0&&_0x787ffd[_0x329945(0x315)]>=0x0);let _0x2a7168=Number[_0x329945(0x258)],_0x393958=Number[_0x329945(0x45e)],_0x2e0d44=Number[_0x329945(0x258)],_0x3d7ea7=Number[_0x329945(0x45e)];for(let _0x35854a=0x0;_0x35854a<_0x30e98e[_0x329945(0x249)];_0x35854a++)_0x2a7168=Math[_0x329945(0x20e)](_0x2a7168,_0x30e98e[_0x35854a][_0x329945(0x340)]),_0x393958=Math[_0x329945(0x1f9)](_0x393958,_0x30e98e[_0x35854a]['endRow']),_0x2e0d44=Math[_0x329945(0x20e)](_0x2e0d44,_0x30e98e[_0x35854a]['startColumn']),_0x3d7ea7=Math[_0x329945(0x1f9)](_0x3d7ea7,_0x30e98e[_0x35854a][_0x329945(0x315)]);return[..._0x130131,{'startRow':_0x2a7168,'endRow':_0x393958,'startColumn':_0x2e0d44,'endColumn':_0x3d7ea7}];};function _0x7fbd45(_0x38572a,_0x1bd4cb){const _0x4ab03f=_0x32a484,_0xdd9909=_0x1bd4cb[_0x4ab03f(0x3ca)][_0x4ab03f(0x442)],{pivotTableId:_0x503a77,unitId:_0x3595b7,subUnitId:_0x43cd11}=_0x1bd4cb;if(!_0xdd9909)return;const _0x43fe48=_0x38572a[_0x4ab03f(0x3fc)](_0xd0af73[_0x4ab03f(0x255)]),_0xe4fee8=_0x43fe48[_0x4ab03f(0x47b)](_0x503a77),_0x17b371=_0x43fe48['getPivotTableConfig'](_0x3595b7,_0x43cd11,_0x503a77);if(!_0xe4fee8||!_0x17b371)return;const _0x28a134=_0xe4fee8[_0x4ab03f(0x4b2)](_0xdd9909[_0x4ab03f(0x43b)]);if(!(_0x28a134!=null&&_0x28a134[_0x4ab03f(0x249)]))return;const _0x41057b=_0x17b371['sourceRangeInfo'],{unitId:_0x29da9b,subUnitId:_0x782bd7,range:_0x874959}=_0x41057b;let _0x378736=0x0;const _0x1506c6=_0xe4fee8[_0x4ab03f(0x360)]['getFieldIds']()['reduce']((_0x28cbed,_0x30169a)=>{const _0x4bccd8=_0x4ab03f;var _0x3a2b3d;const _0xb7716f=(_0x3a2b3d=_0xe4fee8['getDataFieldByDataFieldId'](_0x30169a))==null?void 0x0:_0x3a2b3d[_0x4bccd8(0x233)]();return _0xb7716f&&(_0x28cbed[String(_0x378736)]=_0xb7716f),_0x378736++,_0x28cbed;},{});return{'indexes':_0x28a134,'range':_0x874959,'sourceUnitId':_0x29da9b,'sourceSubUnitId':_0x782bd7,'formatMap':_0x1506c6};}function _0x63db07(_0x4e8094,_0x472ff7){const _0x414861=_0x32a484;if(!_0x4e8094||!_0x472ff7)return!0x0;const _0x5984f9=_0x4baa44[_0x414861(0x3ad)](_0x434851,_0x271cb0),_0x3c59eb=new Function('return\x20'+_0x5984f9)()(_0x4e8094,_0x472ff7)[_0x414861(0x20d)],_0x4575ff=_0x4baa44[_0x414861(0x1fe)](_0x3c59eb,'sf',_0x3e9237);return!((_0x3c59eb==null?void 0x0:_0x3c59eb['rt'])===_0x4baa44[_0x414861(0x337)][_0x414861(0x4d1)]&&!_0x4575ff);}function _0x2d207d(_0x11d96d,_0x35c0d5,_0x3bf4a7){const _0x31421c=_0x32a484,_0x1eedb3={'count':_0x11d96d,'timeValid':!0x1};if(!_0x35c0d5||!_0x3bf4a7)return _0x1eedb3;const _0x26e7af=_0x4baa44[_0x31421c(0x3ad)](_0x434851,_0x271cb0),_0x3fd94a=new Function(_0x31421c(0x47c)+_0x26e7af)()(_0x35c0d5,_0x3bf4a7);if(_0x3fd94a!=null&&_0x3fd94a[_0x31421c(0x450)]){const _0x120dfa=_0x3fd94a['message'],_0x2bbf38=_0x4baa44['isFeatureAuthorizedWithinTime'](_0x120dfa,'sf',_0x3e9237);return{'count':_0x4baa44[_0x31421c(0x477)](_0x120dfa,_0x2bbf38,_0x31421c(0x3b3),_0x11d96d,_0x11d96d,0x0),'timeValid':_0x2bbf38};}return _0x1eedb3;}function _0x10af34(_0x52b90f,_0x894027,_0x21970b,_0x19b327){const _0x468b52=_0x32a484,_0x342566={'subUnitId':_0x21970b,'unitId':_0x894027,'cellValue':_0x30840c[_0x468b52(0x3e8)](_0x19b327)},_0x12c9fb=_0x30840c[_0x468b52(0x274)](_0x52b90f,_0x342566);let _0x21ee8b=!0x1;return new _0x2fa876['ObjectMatrix'](_0x12c9fb['cellValue'])['forValue']((_0x98e52e,_0x120fbd,_0x450ca0)=>{const _0x363f5e=_0x468b52;if(!_0x21ee8b&&_0x450ca0&&(_0x450ca0[_0x363f5e(0x202)]||_0x450ca0['f']||_0x450ca0['p']||_0x450ca0['s']||_0x450ca0['si']||_0x450ca0['t']||_0x450ca0['v']))return _0x21ee8b=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x30840c[_0x468b52(0x35d)]['id'],'params':_0x12c9fb},'setRangeValueRedoMutation':{'id':_0x30840c['SetRangeValuesMutation']['id'],'params':_0x342566},'shouldClear':_0x21ee8b};}function _0xee0526(_0x3af62f){const {row:_0x18363c,col:_0x323111}=_0x3af62f,_0x4063a9={'startRow':_0x18363c,'endRow':_0x18363c,'startColumn':_0x323111,'endColumn':_0x323111},_0x5a4d04={'startRow':_0x18363c+0x2,'endRow':_0x18363c+0xe,'startColumn':_0x323111,'endColumn':_0x323111+0x6};return[_0x4063a9,_0x5a4d04];}function _0x32fd11(_0x13ac77,_0x5db7b9,_0xf08344){const _0x3e1137=_0x32a484,{cornerView:_0x8f8005,rowView:_0x3e8ec9,colView:_0x1abeb4,pageView:_0x11ccf4}=_0x13ac77,{row:_0x2c3c5f,col:_0xc38a11}=_0x5db7b9;if(_0xf08344)return{'rowCount':_0x4716f3+_0x2c3c5f,'colCount':_0x287724+_0xc38a11};const _0xfe5604=_0x11ccf4[_0x3e1137(0x427)]>-0x1?_0x11ccf4[_0x3e1137(0x427)]+0x1:0x0,_0x51f862=_0x11ccf4[_0x3e1137(0x3f3)]>-0x1?_0x11ccf4[_0x3e1137(0x3f3)]:0x0,_0x1a7dbb=_0x2c3c5f+_0xfe5604+(_0xfe5604?0x1:0x0)+_0x8f8005[_0x3e1137(0x3c9)]+_0x3e8ec9['rowCount'],_0x45badd=_0xc38a11+_0x51f862,_0x4c186f=_0xc38a11+_0x8f8005[_0x3e1137(0x295)]+_0x1abeb4[_0x3e1137(0x295)],_0x5b5f50=Math['max'](_0x45badd,_0x4c186f);return{'rowCount':_0x1a7dbb,'colCount':_0x5b5f50};}function _0x36c3d6(_0x3dee46,_0x5cf352,_0x1831d2,_0x476194){const _0x1c6f82=_0x32a484,{row:_0x253f05,col:_0x3a1f47,unitId:_0x26cd2b,subUnitId:_0x61900}=_0x1831d2,_0x350350=_0x32fd11(_0x5cf352,{'row':_0x253f05,'col':_0x3a1f47},_0x476194),_0x4106b8=_0x3dee46[_0x1c6f82(0x3fc)](_0x2fa876[_0x1c6f82(0x361)]),_0x24074b=_0x30840c[_0x1c6f82(0x279)](_0x4106b8,{'unitId':_0x26cd2b,'subUnitId':_0x61900}),_0x149598=[],_0x15f4f0=[];if(!_0x24074b)return{'undos':_0x15f4f0,'redos':_0x149598};const {worksheet:_0x47c12e}=_0x24074b,_0x15bf82=_0x47c12e[_0x1c6f82(0x4b4)](),_0x1a18fd=_0x47c12e[_0x1c6f82(0x485)]();return _0x15bf82<_0x350350[_0x1c6f82(0x3c9)]&&(_0x149598['push']({'id':_0x30840c['InsertRowMutation']['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':_0x15bf82,'endRow':_0x350350[_0x1c6f82(0x3c9)]-0x1,'startColumn':0x0,'endColumn':_0x1a18fd-0x1}}}),_0x15f4f0[_0x1c6f82(0x296)]({'id':_0x30840c[_0x1c6f82(0x434)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':_0x15bf82,'endRow':_0x350350['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x1a18fd-0x1}}})),_0x1a18fd<_0x350350[_0x1c6f82(0x295)]&&(_0x149598['push']({'id':_0x30840c[_0x1c6f82(0x4c5)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':0x0,'endRow':_0x15bf82-0x1,'startColumn':_0x1a18fd,'endColumn':_0x350350[_0x1c6f82(0x295)]-0x1}}}),_0x15f4f0[_0x1c6f82(0x296)]({'id':_0x30840c[_0x1c6f82(0x35a)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':0x0,'endRow':_0x15bf82-0x1,'startColumn':_0x1a18fd,'endColumn':_0x350350[_0x1c6f82(0x295)]-0x1}}})),{'undos':_0x15f4f0,'redos':_0x149598};}function _0x34bbc2(_0x4b632b){const _0x553802=_0x32a484;let _0x574caa=0x0;for(let _0x4913cf=0x0;_0x4913cf<_0x4b632b[_0x553802(0x249)];_0x4913cf++){const _0x54c0c7=_0x4b632b[_0x553802(0x285)](_0x4913cf);_0x54c0c7>=0x4e00&&_0x54c0c7<=0x9fff||_0x54c0c7>=0x3000&&_0x54c0c7<=0x303f||_0x54c0c7>=0xff00&&_0x54c0c7<=0xffef?_0x574caa+=0x2:_0x574caa+=0x1;}return _0x574caa;}function _0x2326eb(_0x58a56d,_0x57b1cb,_0x15ab44,_0x3283d3){const _0xe0b058=_0x32a484;var _0x348287,_0x189640,_0x2cb4ad,_0x462016;const {rowCount:_0x383469,colCount:_0x3fbb3e,headerMap:_0x480d5c}=_0x58a56d,_0x19fbd1=0x64,_0x1e5d51=Math[_0xe0b058(0x20e)](_0x383469,_0x19fbd1),_0x4e44fb=Math[_0xe0b058(0x20e)](_0x3fbb3e,_0x19fbd1);let _0x15eed8='',_0x422ef6=0x0;for(let _0x8132a3=0x0;_0x8132a3<_0x1e5d51;_0x8132a3++)for(let _0x1c94ff=0x0;_0x1c94ff<_0x4e44fb;_0x1c94ff++){const _0x59ff3f={...(_0x189640=(_0x348287=_0x58a56d[_0xe0b058(0x484)])==null?void 0x0:_0x348287[_0x8132a3])==null?void 0x0:_0x189640[_0x1c94ff]},_0x504510=(_0x2cb4ad=_0x480d5c[_0x8132a3])==null?void 0x0:_0x2cb4ad['tableFieldId'],_0x5d93b7=_0x3283d3[_0x504510];let _0x2d7797=_0x58a56d[_0xe0b058(0x250)](_0x8132a3,_0x1c94ff);if(_0x59ff3f){const _0x2a15f1=_0x15ab44?_0x1c94ff===0x0&&((_0x462016=_0x58a56d[_0xe0b058(0x25b)](_0x1c94ff+0x1))==null?void 0x0:_0x462016['isValue']):!0x1;_0x2d7797=_0x27d4ee(_0x59ff3f,_0x2a15f1,_0x5d93b7,_0x57b1cb);}if(_0x2d7797!==void 0x0){const _0x3eb2f0=_0x34bbc2(String(_0x2d7797));_0x422ef6<_0x3eb2f0&&(_0x15eed8=String(_0x2d7797),_0x422ef6=_0x3eb2f0);}}return _0x15eed8;}function _0x478f19(_0x5d6143){const _0x449113=_0x32a484,{rowCount:_0x2004b0,colCount:_0x3b1f62}=_0x5d6143;let _0x14a4f0='',_0x541b35=0x0;for(let _0x40107e=_0x2004b0-0x1;_0x40107e>0x0&&_0x40107e>_0x2004b0-0x3;_0x40107e--)for(let _0x17cd75=0x0;_0x17cd75<_0x3b1f62;_0x17cd75++){const _0x23db44=_0x5d6143[_0x449113(0x250)](_0x40107e,_0x17cd75);if(_0x23db44!==void 0x0){const _0x30f1ce=String(_0x23db44)[_0x449113(0x249)];_0x541b35<_0x30f1ce&&(_0x14a4f0=String(_0x23db44),_0x541b35=_0x30f1ce);}}return _0x14a4f0;}function _0xe3e6b3(_0x3229d2){const _0x1f9c9f=_0x32a484,{rowCount:_0x44d611,colCount:_0x57e25e}=_0x3229d2;let _0x446d50='',_0x5b7556=0x0;for(let _0x23eddd=0x0;_0x23eddd<_0x44d611;_0x23eddd++)for(let _0x247f8f=0x0;_0x247f8f<_0x57e25e;_0x247f8f++){const _0x2031c4=_0x3229d2[_0x1f9c9f(0x250)](_0x23eddd,_0x247f8f);if(_0x2031c4!==void 0x0){const _0x9c2f4=String(_0x2031c4)[_0x1f9c9f(0x249)];_0x5b7556<_0x9c2f4&&(_0x446d50=String(_0x2031c4),_0x5b7556=_0x9c2f4);}}return _0x446d50;}function _0x284d0a(_0x5c74bc,_0x300d86){const _0x4fe2da=_0x32a484,{rowFields:_0x2209da,columnFields:_0x24682a,valueFields:_0x3bfd82,filterFields:_0x35a2c2,dimension:_0x1f3f86,measure:_0x1ea63e}=_0x300d86;for(const _0x363f4d of _0x2209da){const _0x437643=_0x1f3f86[_0x363f4d];_0x437643&&_0x5c74bc[_0x4fe2da(0x44c)](_0x437643['dataFieldId'])&&(_0x5c74bc[_0x4fe2da(0x229)](_0x437643[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)]['Row'],void 0x0,_0x363f4d),_0x437643[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x437643['id'],_0x437643['displayName']),_0x437643[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x437643['id'],_0x437643['sortInfo']),_0x437643[_0x4fe2da(0x2f2)]&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x437643['id'],_0x437643[_0x4fe2da(0x2f2)]));}for(const _0x114078 of _0x24682a){const _0x1b68d4=_0x1f3f86[_0x114078];_0x1b68d4&&_0x5c74bc[_0x4fe2da(0x44c)](_0x1b68d4[_0x4fe2da(0x422)])&&(_0x5c74bc['addFieldWithSourceId'](_0x1b68d4[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)][_0x4fe2da(0x1d6)],void 0x0,_0x114078),_0x1b68d4[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x21b)]),_0x1b68d4[_0x4fe2da(0x2f2)]&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x2f2)]),_0x1b68d4[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x44f)]));}for(const _0x4ed69c of _0x35a2c2){const _0x535c68=_0x1f3f86[_0x4ed69c];_0x535c68&&_0x5c74bc[_0x4fe2da(0x44c)](_0x535c68['dataFieldId'])&&(_0x5c74bc[_0x4fe2da(0x229)](_0x535c68[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)][_0x4fe2da(0x3d0)],void 0x0,_0x4ed69c),_0x535c68[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x535c68['id'],_0x535c68[_0x4fe2da(0x21b)]),_0x535c68['filterInfo']&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x535c68['id'],_0x535c68['filterInfo']),_0x535c68[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x535c68['id'],_0x535c68['displayName']));}for(const _0x2e66b5 of _0x3bfd82){const _0x3bc1cc=_0x1ea63e[_0x2e66b5];_0x3bc1cc&&_0x5c74bc[_0x4fe2da(0x44c)](_0x3bc1cc[_0x4fe2da(0x422)])&&(_0x5c74bc['addFieldWithSourceId'](_0x3bc1cc[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)]['Value'],void 0x0,_0x2e66b5),_0x3bc1cc[_0x4fe2da(0x343)]!==void 0x0&&_0x5c74bc[_0x4fe2da(0x253)](_0x2e66b5,_0x3bc1cc[_0x4fe2da(0x343)]),_0x3bc1cc['format']&&_0x5c74bc[_0x4fe2da(0x30a)](_0x2e66b5,_0x3bc1cc[_0x4fe2da(0x201)]),_0x3bc1cc[_0x4fe2da(0x44f)]&&_0x5c74bc['renameField'](_0x3bc1cc['id'],_0x3bc1cc['displayName']));}const _0x3a6a60=_0x300d86[_0x4fe2da(0x4a7)];for(const {fieldId:_0x484f49,filterInfo:_0x2479db}of _0x3a6a60)_0x5c74bc[_0x4fe2da(0x24a)](_0x484f49,_0x2479db);}function _0x3e6b18(_0x2b8107,_0x36bb4a){const _0x13ee5a=_0x32a484,_0x42ec26=[];_0x36bb4a===_0x33417a[_0x13ee5a(0x321)]['Row']&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x349)],_0x4c124f=>{const _0x5c7e56=_0x13ee5a;_0x42ec26[_0x5c7e56(0x296)](_0x4c124f[_0x5c7e56(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x1d6)]&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)]['Column'],_0x37136c=>{const _0x59700a=_0x13ee5a;_0x42ec26[_0x59700a(0x296)](_0x37136c[_0x59700a(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x3d0)]&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)]['Filter'],_0x105108=>{const _0x3c8263=_0x13ee5a;_0x42ec26[_0x3c8263(0x296)](_0x105108[_0x3c8263(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x4a5)]&&_0x2b8107['iterateFieldByArea'](_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x4a5)],_0x17587e=>{const _0x14912f=_0x13ee5a;_0x42ec26[_0x14912f(0x296)](_0x17587e[_0x14912f(0x244)]());}),_0x36bb4a===void 0x0&&_0x2b8107[_0x13ee5a(0x293)](_0x363d6e=>{const _0x3fb930=_0x13ee5a;_0x42ec26[_0x3fb930(0x296)](_0x363d6e[_0x3fb930(0x244)]());});const _0x19b566=_0x42ec26[_0x13ee5a(0x249)];for(let _0x10db2d=_0x19b566-0x1;_0x10db2d>=0x0;_0x10db2d--)_0x2b8107[_0x13ee5a(0x3f8)](_0x42ec26[_0x10db2d]);const _0x3a7eb5=_0x2b8107[_0x13ee5a(0x284)]();for(const _0x3b5786 in _0x3a7eb5)_0x2b8107[_0x13ee5a(0x428)](_0x3b5786);}function _0x4a1bfb(_0x1a00d0,_0x4fd6b4){const _0x1f1be8=_0x32a484,_0x47f9b4=new Date(_0x33417a['excelDateToUnixMilliseconds'](_0x4fd6b4)),_0x320da1=new Date(_0x33417a['excelDateToUnixMilliseconds'](_0x1a00d0)),_0x5dcf78=_0x47f9b4[_0x1f1be8(0x203)](),_0x4fb82a=_0x320da1[_0x1f1be8(0x203)](),_0x2da135=_0x47f9b4[_0x1f1be8(0x4af)](),_0x10ff94=_0x320da1['getMonth'](),_0x4cea55=_0x47f9b4[_0x1f1be8(0x236)](),_0x3bb642=_0x320da1[_0x1f1be8(0x236)](),_0x365b27=_0x5dcf78===_0x4fb82a,_0x2189ae=_0x365b27&&_0x2da135===_0x10ff94;return _0x365b27&&_0x2189ae&&!(_0x2189ae&&_0x4cea55===_0x3bb642)?_0x33417a[_0x1f1be8(0x486)]['YearMonthDate']:_0x365b27&&!_0x2189ae?_0x33417a[_0x1f1be8(0x486)][_0x1f1be8(0x29a)]:_0x33417a[_0x1f1be8(0x486)]['Year'];}function _0x2cd99e(_0x1ac3b3,_0x38c4e9){const _0x247c7b=_0x32a484,_0x30a86d=_0x1ac3b3[_0x247c7b(0x3fc)](_0xd0af73[_0x247c7b(0x255)])[_0x247c7b(0x32e)]();let _0x6b425b='';switch(_0x38c4e9){case _0x33417a[_0x247c7b(0x486)]['YearMonthDate']:_0x6b425b=_0x30a86d[_0x247c7b(0x374)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x29a)]:_0x6b425b=_0x30a86d[_0x247c7b(0x29e)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x491)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.year'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x47d)]:_0x6b425b=_0x30a86d[_0x247c7b(0x413)];break;case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x247c7b(0x34e)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.quarter'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x3d1)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.date'];break;case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x247c7b(0x3b9)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.hourMinute'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x4eb)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.hour'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x28d)]:_0x6b425b=_0x30a86d[_0x247c7b(0x2c3)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x2f1)]:_0x6b425b=_0x30a86d[_0x247c7b(0x2b5)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x43c)]:_0x6b425b=_0x30a86d[_0x247c7b(0x37f)];break;default:_0x6b425b='';break;}return _0x6b425b;}const _0x2d6051='sheets-pivot.config',_0x876202={};var _0x43d85b=Object['getOwnPropertyDescriptor'],_0x26d4cd=(_0x264266,_0xb6eb46,_0x84dbf4,_0x27e699)=>{const _0x4e0559=_0x32a484;for(var _0x343cb9=_0x27e699>0x1?void 0x0:_0x27e699?_0x43d85b(_0xb6eb46,_0x84dbf4):_0xb6eb46,_0x54c52f=_0x264266[_0x4e0559(0x249)]-0x1,_0x4d961a;_0x54c52f>=0x0;_0x54c52f--)(_0x4d961a=_0x264266[_0x54c52f])&&(_0x343cb9=_0x4d961a(_0x343cb9)||_0x343cb9);return _0x343cb9;},_0x195460=(_0x4b16e1,_0x4b153a)=>(_0x34bd9b,_0x2332ac)=>_0x4b153a(_0x34bd9b,_0x2332ac,_0x4b16e1);_0xd0af73[_0x32a484(0x32b)]=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x4f76e1,_0x32b7d8,_0xd21d5a,_0x2c5731,_0x522a09){const _0x2d4b1f=_0x32a484;super(),_0x25ab16(this,_0x2d4b1f(0x2e6),new Map()),_0x25ab16(this,_0x2d4b1f(0x256),new Map()),_0x25ab16(this,_0x2d4b1f(0x3b4),new Map()),_0x25ab16(this,_0x2d4b1f(0x2d6),new Map()),_0x25ab16(this,_0x2d4b1f(0x3ce),new _0x2504f7['Subject']()),_0x25ab16(this,_0x2d4b1f(0x46d),new _0x2504f7[(_0x2d4b1f(0x25a))]()),_0x25ab16(this,_0x2d4b1f(0x31d),this[_0x2d4b1f(0x46d)]['asObservable']()),_0x25ab16(this,_0x2d4b1f(0x231),new _0x2504f7[(_0x2d4b1f(0x25a))]()),_0x25ab16(this,_0x2d4b1f(0x369),this[_0x2d4b1f(0x231)][_0x2d4b1f(0x411)]()),_0x25ab16(this,_0x2d4b1f(0x1dc),{}),_0x25ab16(this,'configVersion$',this[_0x2d4b1f(0x3ce)][_0x2d4b1f(0x411)]()),(this[_0x2d4b1f(0x42f)]=_0x4f76e1,this[_0x2d4b1f(0x4cf)]=_0x32b7d8,this[_0x2d4b1f(0x4d0)]=_0xd21d5a,this[_0x2d4b1f(0x4ae)]=_0x2c5731,this[_0x2d4b1f(0x3bd)]=_0x522a09,this[_0x2d4b1f(0x29c)](),this[_0x2d4b1f(0x3bb)]());const _0x16a4ec=this['_configService'][_0x2d4b1f(0x28b)](_0x2d6051);(_0x16a4ec==null?void 0x0:_0x16a4ec['notExecuteFormula'])===!0x0&&this[_0x2d4b1f(0x2e8)]();}['_initUnitDisposed'](){const _0x460b9f=_0x32a484;this[_0x460b9f(0x327)](this[_0x460b9f(0x4d0)][_0x460b9f(0x466)](_0x2fa876[_0x460b9f(0x376)][_0x460b9f(0x28a)])[_0x460b9f(0x332)](_0x56cdc3=>{this['deleteUnitId'](_0x56cdc3['getUnitId']());}));}['setPivotInitCompleted'](){const _0x50d301=_0x32a484;this['_pivotInitCompleted$'][_0x50d301(0x451)](!0x0);}[_0x32a484(0x29c)](){const _0x90598c=_0x32a484,_0x5ed22d=_0x463464(this[_0x90598c(0x42f)],_0x5be2b9,'',{});this[_0x90598c(0x1dc)]=_0x5ed22d,this[_0x90598c(0x4cf)]['executeCommand'](_0x3e71e4['id'],{'textInfo':_0x5ed22d},{'onlyLocal':!0x0});}[_0x32a484(0x32e)](){const _0x1830df=_0x32a484;return this[_0x1830df(0x1dc)];}['updateViewInfo'](_0x100b7a,_0x2a6628,_0x25f304,_0x4a794b,_0x5bc39a){const _0x2abe2c=_0x32a484;this[_0x2abe2c(0x41c)](_0x100b7a,_0x2a6628,_0x25f304,_0x4a794b),this[_0x2abe2c(0x257)](_0x100b7a,_0x2a6628,_0x25f304,_0x5bc39a);}['getPivotTableConfig'](_0xba15e8,_0x1e5d0d,_0x32ba2a){const _0x160a5e=_0x32a484;var _0x58bb49;const _0x58930d=(_0x58bb49=this[_0x160a5e(0x2e6)]['get'](_0xba15e8))==null?void 0x0:_0x58bb49[_0x160a5e(0x3fc)](_0x1e5d0d);if(_0x58930d)return _0x58930d[_0x160a5e(0x3fc)](_0x32ba2a);}[_0x32a484(0x2c0)](_0x57fa19,_0x1cfaf2){const _0x45b410=_0x32a484,_0x39887f=this[_0x45b410(0x2e6)][_0x45b410(0x3fc)](_0x57fa19);if(_0x39887f){for(const [_0x2f91d9,_0x508540]of _0x39887f[_0x45b410(0x408)]())for(const [_0x4dac3c,_0x4b34ab]of _0x508540[_0x45b410(0x408)]())if(_0x4dac3c===_0x1cfaf2)return _0x4b34ab[_0x45b410(0x412)];}}[_0x32a484(0x4aa)](_0x45adc0,_0x33ce12,_0x294a78){const _0x21f3b2=_0x32a484,_0x3cc86d=this[_0x21f3b2(0x2e9)](_0x45adc0,_0x33ce12,_0x294a78);return _0x3cc86d==null?void 0x0:_0x3cc86d[_0x21f3b2(0x412)];}[_0x32a484(0x40b)](_0x1d3ada,_0x158419){const _0x3a83b8=_0x32a484;var _0x2fd7f9;return(_0x2fd7f9=this[_0x3a83b8(0x2e6)][_0x3a83b8(0x3fc)](_0x1d3ada))==null?void 0x0:_0x2fd7f9[_0x3a83b8(0x3fc)](_0x158419);}[_0x32a484(0x3a5)](_0x41d781,_0x2858c9,_0x14d8d3,_0xc49c46){const _0x55e873=_0x32a484,_0x363005=this[_0x55e873(0x1e0)](_0x41d781,_0x2858c9);_0xc49c46?_0x363005['set'](_0x14d8d3,_0xc49c46):_0x363005[_0x55e873(0x3a9)](_0x14d8d3),this['_pivotConfigChange$']['next']({'unitId':_0x41d781,'subUnitId':_0x2858c9,'pivotTableId':_0x14d8d3,'pivotTableConfig':_0xc49c46});}[_0x32a484(0x336)](_0xa98072,_0x5e5a9f){const _0x154b5e=_0x32a484;var _0x3499e9;return(_0x3499e9=this['_collectionConfigModel'][_0x154b5e(0x3fc)](_0xa98072))==null?void 0x0:_0x3499e9[_0x154b5e(0x4e2)][_0x5e5a9f];}['updateCollectionConfig'](_0x3691e6,_0x2a4bf9){const _0x728f7b=_0x32a484;this[_0x728f7b(0x256)][_0x728f7b(0x268)](_0x3691e6,_0x2a4bf9),this[_0x728f7b(0x3ce)][_0x728f7b(0x451)](Math[_0x728f7b(0x2a3)]());}[_0x32a484(0x1e0)](_0x5e4e70,_0x2b321c){const _0x3a24e3=_0x32a484;let _0x31dc32=this[_0x3a24e3(0x2e6)][_0x3a24e3(0x3fc)](_0x5e4e70);_0x31dc32||(_0x31dc32=new Map(),this['_model'][_0x3a24e3(0x268)](_0x5e4e70,_0x31dc32));let _0x439a12=_0x31dc32[_0x3a24e3(0x3fc)](_0x2b321c);return _0x439a12||(_0x439a12=new Map(),_0x31dc32[_0x3a24e3(0x268)](_0x2b321c,_0x439a12)),_0x439a12;}[_0x32a484(0x1d4)](_0x4e4acf,_0x3447bc){const _0x442527=_0x32a484;let _0x5cfe37=this[_0x442527(0x3b4)]['get'](_0x4e4acf);_0x5cfe37||(_0x5cfe37=new Map(),this[_0x442527(0x3b4)][_0x442527(0x268)](_0x4e4acf,_0x5cfe37));let _0x315f26=_0x5cfe37['get'](_0x3447bc);return _0x315f26||(_0x315f26=new Map(),_0x5cfe37[_0x442527(0x268)](_0x3447bc,_0x315f26)),_0x315f26;}[_0x32a484(0x359)](_0x28b099,_0x1b4e02){const _0x1b01e2=_0x32a484;let _0x8e621=this[_0x1b01e2(0x2d6)][_0x1b01e2(0x3fc)](_0x28b099);_0x8e621||(_0x8e621=new Map(),this[_0x1b01e2(0x2d6)][_0x1b01e2(0x268)](_0x28b099,_0x8e621));let _0x1e2e30=_0x8e621[_0x1b01e2(0x3fc)](_0x1b4e02);return _0x1e2e30||(_0x1e2e30=new Map(),_0x8e621[_0x1b01e2(0x268)](_0x1b4e02,_0x1e2e30)),_0x1e2e30;}['updatePivotTableRangeInfo'](_0x17d2bf,_0x421f3f,_0x364fd5,_0x409346){const _0x478aec=_0x32a484;var _0x4fe565;const _0x5df683=this[_0x478aec(0x1d4)](_0x17d2bf,_0x421f3f),_0x24d02c=(_0x4fe565=_0x5df683[_0x478aec(0x3fc)](_0x364fd5))==null?void 0x0:_0x4fe565[_0x478aec(0x27d)];_0x5df683[_0x478aec(0x268)](_0x364fd5,{'oldRangeInfo':_0x24d02c,'rangeInfo':_0x409346});}[_0x32a484(0x41c)](_0x37e741,_0x52f75e,_0x3a5915,_0x168f07){const _0x4cbc89=_0x32a484;var _0x4bce3c;const _0x3aef79=this[_0x4cbc89(0x359)](_0x37e741,_0x52f75e),_0x32b312=(_0x4bce3c=_0x3aef79[_0x4cbc89(0x3fc)](_0x3a5915))==null?void 0x0:_0x4bce3c[_0x4cbc89(0x389)];_0x3aef79[_0x4cbc89(0x268)](_0x3a5915,{'oldMatrix':_0x32b312,'matrix':_0x168f07});}[_0x32a484(0x392)](_0x547440,_0x4eccc5,_0x2729ce){const _0x1d08a8=_0x32a484;var _0x541377,_0x3b5ece;return(_0x3b5ece=(_0x541377=this[_0x1d08a8(0x3b4)][_0x1d08a8(0x3fc)](_0x547440))==null?void 0x0:_0x541377[_0x1d08a8(0x3fc)](_0x4eccc5))==null?void 0x0:_0x3b5ece['get'](_0x2729ce);}[_0x32a484(0x370)](_0x4adca0,_0x20c813,_0x1619e2){const _0x1771d1=_0x32a484;var _0x5d8527,_0x9db02e;return(_0x9db02e=(_0x5d8527=this['_pivotTableMatrixInfo'][_0x1771d1(0x3fc)](_0x4adca0))==null?void 0x0:_0x5d8527[_0x1771d1(0x3fc)](_0x20c813))==null?void 0x0:_0x9db02e[_0x1771d1(0x3fc)](_0x1619e2);}['deleteUnitId'](_0x1392fb){const _0x1dfdae=_0x32a484;this['_model'][_0x1dfdae(0x3a9)](_0x1392fb),this[_0x1dfdae(0x256)][_0x1dfdae(0x3a9)](_0x1392fb);}['_toJSON'](_0x2c91f2){const _0x86ecdc=_0x32a484,_0x1b998d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x86ecdc(0x256)][_0x86ecdc(0x3fc)](_0x2c91f2)&&(_0x1b998d['dataFieldManagerConfig'][_0x2c91f2]=this['_collectionConfigModel']['get'](_0x2c91f2)),this[_0x86ecdc(0x2e6)]['get'](_0x2c91f2)){_0x1b998d[_0x86ecdc(0x2fd)][_0x2c91f2]={};const _0x502a20=this[_0x86ecdc(0x2e6)][_0x86ecdc(0x3fc)](_0x2c91f2);_0x502a20!=null&&_0x502a20[_0x86ecdc(0x40c)]&&[..._0x502a20[_0x86ecdc(0x31e)]()]['forEach'](_0x275ac3=>{const _0x4b5172=_0x86ecdc,_0x44f4de=_0x502a20[_0x4b5172(0x3fc)](_0x275ac3);_0x44f4de!=null&&_0x44f4de[_0x4b5172(0x40c)]&&(_0x1b998d[_0x4b5172(0x2fd)][_0x2c91f2][_0x275ac3]={},[..._0x44f4de['keys']()]['forEach'](_0x219402=>{const _0x33a171=_0x4b5172,_0x4561fe=_0x44f4de[_0x33a171(0x3fc)](_0x219402);_0x4561fe&&(_0x1b998d[_0x33a171(0x2fd)][_0x2c91f2][_0x275ac3][_0x219402]=_0x4561fe);}));});}return _0x1b998d;}['_initSnapshot'](){const _0x5c1944=_0x32a484;this[_0x5c1944(0x327)](this['_resourceManagerService'][_0x5c1944(0x230)]({'toJson':_0x382dd9=>JSON[_0x5c1944(0x277)](this[_0x5c1944(0x209)](_0x382dd9)),'parseJson':_0x10fad5=>({}),'businesses':[_0x2fa876[_0x5c1944(0x376)]['UNIVER_SHEET']],'pluginName':_0x1a68df,'onLoad':(_0x5f22df,_0x16a131)=>{},'onUnLoad':_0x1bb7c6=>{const _0x501fbd=_0x5c1944;this[_0x501fbd(0x4d8)](_0x1bb7c6);}}));}},_0xd0af73[_0x32a484(0x32b)]=_0x26d4cd([_0x195460(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x195460(0x1,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x41b)])),_0x195460(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x195460(0x3,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x2da)])),_0x195460(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x3da)]))],_0xd0af73[_0x32a484(0x32b)]);var _0x2e19a9=Object['getOwnPropertyDescriptor'],_0x43542f=(_0x344f1a,_0x427b1b,_0x211e93,_0x5013a9)=>{for(var _0xe41297=_0x5013a9>0x1?void 0x0:_0x5013a9?_0x2e19a9(_0x427b1b,_0x211e93):_0x427b1b,_0x517bab=_0x344f1a['length']-0x1,_0x5b6644;_0x517bab>=0x0;_0x517bab--)(_0x5b6644=_0x344f1a[_0x517bab])&&(_0xe41297=_0x5b6644(_0xe41297)||_0xe41297);return _0xe41297;},_0x4e86f7=(_0x5e4222,_0x31b354)=>(_0x66730f,_0x18bd79)=>_0x31b354(_0x66730f,_0x18bd79,_0x5e4222);_0xd0af73['SheetsPivotTableAdaptorModel']=class extends _0x2fa876['Disposable']{constructor(_0x2f1294,_0x139029,_0x6af11c,_0xd3f1be,_0xa07f0e){const _0x58f39e=_0x32a484;super(),_0x25ab16(this,_0x58f39e(0x430),new Map()),_0x25ab16(this,_0x58f39e(0x41a),new Map()),_0x25ab16(this,_0x58f39e(0x378),new _0x2504f7[(_0x58f39e(0x25a))]()),_0x25ab16(this,'markDirty$',this[_0x58f39e(0x378)][_0x58f39e(0x411)]()),_0x25ab16(this,_0x58f39e(0x4ea),new _0x2504f7[(_0x58f39e(0x25a))]()),_0x25ab16(this,'viewUpdate$',this['_viewUpdate$'][_0x58f39e(0x411)]()),_0x25ab16(this,_0x58f39e(0x1dc)),(this[_0x58f39e(0x495)]=_0x2f1294,this[_0x58f39e(0x42f)]=_0x139029,this[_0x58f39e(0x287)]=_0x6af11c,this[_0x58f39e(0x4d0)]=_0xd3f1be,this['_exclusiveRangeService']=_0xa07f0e,this['_initLocale'](),this[_0x58f39e(0x3bb)]());}[_0x32a484(0x3bb)](){const _0xa20a67=_0x32a484;this[_0xa20a67(0x327)](this[_0xa20a67(0x4d0)][_0xa20a67(0x466)](_0x2fa876['UniverInstanceType'][_0xa20a67(0x28a)])[_0xa20a67(0x332)](_0x3cb723=>{const _0x4de1a3=_0xa20a67;this[_0x4de1a3(0x4d8)](_0x3cb723['getUnitId']());}));}[_0x32a484(0x29c)](){const _0x4867b1=_0x32a484;this[_0x4867b1(0x1dc)]=_0x463464(this[_0x4867b1(0x42f)],_0x5be2b9,'',{});}[_0x32a484(0x492)](_0x1a2683){const _0x28d02f=_0x32a484,{view:_0x3db897,unitId:_0xd995c4,subUnitId:_0x592605,pivotTableId:_0xdfa9d7,type:_0x44c3c9}=_0x1a2683,_0x116e84=this[_0x28d02f(0x287)]['getPivotTableConfig'](_0xd995c4,_0x592605,_0xdfa9d7);if(!_0x3db897||!_0x116e84||_0x44c3c9===_0x477731[_0x28d02f(0x3df)])return;const {pageView:_0x1ff4e1,cornerView:_0x32f8c8,rowView:_0x2e3477,colView:_0x3a3e40,dataView:_0x2c9a00}=_0x3db897,_0x202aa4=_0x116e84[_0x28d02f(0x412)],_0x334124=_0x116e84['isEmpty'],_0x1a8fcf=this[_0x28d02f(0x37e)](_0xd995c4,_0x592605),_0x556fa0=this[_0x28d02f(0x3a1)](_0xd995c4,_0x592605,_0xdfa9d7);if(_0x334124)return this[_0x28d02f(0x26b)](_0x1a2683,_0x1a8fcf,_0x202aa4,_0x556fa0);{const _0x56a803=_0x47957b(_0x202aa4,_0x1ff4e1,!0x0),_0x248527=_0x1ff4e1[_0x28d02f(0x427)]>=0x0?_0x1ff4e1[_0x28d02f(0x427)]+0x1:0x0,_0xd1a847=_0x32f8c8[_0x28d02f(0x4b4)](),_0x4232fa=_0x32f8c8[_0x28d02f(0x4c4)](),_0x447746=_0x56a803[_0x28d02f(0x249)]>0x0?_0x4814ba:0x0,_0x34e613=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746,'col':_0x202aa4['col']},_0x32f8c8,!0x1,!0x1),_0x6710b0=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746+_0xd1a847,'col':_0x202aa4[_0x28d02f(0x38d)]},_0x2e3477,!0x1,!0x0),_0x72d043=_0x47957b({'row':_0x202aa4['row']+_0x248527+_0x447746,'col':_0x202aa4[_0x28d02f(0x38d)]+_0x4232fa},_0x3a3e40,!0x1,!0x0),_0x448641=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746+_0xd1a847,'col':_0x202aa4[_0x28d02f(0x38d)]+_0x4232fa},_0x2c9a00,!0x1,!0x1);_0x556fa0[_0x28d02f(0x38f)]={'rowRanges':_0x6710b0,'colRanges':_0x72d043,'cornerRanges':_0x34e613,'dataRanges':_0x448641,'pageRanges':_0x56a803};const _0xfa1cec=_0x204472(this[_0x28d02f(0x42f)],_0x3db897,_0x116e84,this[_0x28d02f(0x1dc)]),{valueMatrix:_0x461cc8,rowInfo:_0x5d8a8e,colInfo:_0x4be70d,cornerInfo:_0x57dd69,rowHeaderMap:_0x327bc1,colHeaderMap:_0xb0308a}=_0xfa1cec;return _0x556fa0[_0x28d02f(0x206)]={'rowInfo':_0x5d8a8e,'colInfo':_0x4be70d,'cornerInfo':_0x57dd69},_0x556fa0[_0x28d02f(0x302)]={'rowHeaderMap':_0x327bc1,'colHeaderMap':_0xb0308a},_0x461cc8[_0x28d02f(0x4c2)]((_0x15714d,_0xab7709)=>{const _0x3d3fbd=_0x28d02f;Object[_0x3d3fbd(0x31e)](_0xab7709)['forEach'](_0x58642d=>{const _0x303c04=_0x3d3fbd,_0x4524fd=+_0x58642d,_0x177bbc=_0x461cc8[_0x303c04(0x250)](_0x15714d,_0x4524fd);_0x1a8fcf['setValue'](_0x15714d,_0x4524fd,_0x177bbc);});}),this['_viewUpdate$']['next']({'unitId':_0xd995c4,'subUnitId':_0x592605,'valueMatrix':_0x1a8fcf,'rangesCache':_0x556fa0[_0x28d02f(0x38f)],'pivotTableId':_0xdfa9d7,'type':_0x1a2683[_0x28d02f(0x38a)]}),this['_sheetsPivotTableConfigModel'][_0x28d02f(0x228)](_0xd995c4,_0x592605,_0xdfa9d7,_0x1a8fcf,_0x556fa0[_0x28d02f(0x38f)]),this[_0x28d02f(0x38b)]['addExclusiveRange'](_0xd995c4,_0x592605,_0x5f27fb,this[_0x28d02f(0x36c)](_0x556fa0[_0x28d02f(0x38f)],_0xdfa9d7)),{'rangeCache':_0x556fa0[_0x28d02f(0x38f)],'matrix':_0x1a8fcf};}}[_0x32a484(0x26b)](_0x24e66f,_0x30a077,_0x3fc507,_0x2ff681){const _0x3367f2=_0x32a484,_0x20be13=this[_0x3367f2(0x495)]['t'],{unitId:_0x42c19f,subUnitId:_0x11bdf0,pivotTableId:_0x432942}=_0x24e66f,_0x5d5206={'filter':_0x20be13('sheets-pivot.emptyPivot.filter'),'row':_0x20be13(_0x3367f2(0x3f6)),'column':_0x20be13(_0x3367f2(0x1fd)),'values':_0x20be13(_0x3367f2(0x21c))},{matrixCache:_0x1a5db4,rangesCache:_0x156ec4}=_0x170d7b(_0x5d5206,_0x3fc507);return _0x1a5db4[_0x3367f2(0x3ed)]((_0x109c45,_0x35f4d0,_0x60219d)=>{const _0x5165c3=_0x3367f2;_0x30a077[_0x5165c3(0x280)](_0x109c45,_0x35f4d0,_0x60219d);}),_0x2ff681[_0x3367f2(0x38f)]=_0x156ec4,this['_viewUpdate$'][_0x3367f2(0x451)]({'unitId':_0x42c19f,'subUnitId':_0x11bdf0,'valueMatrix':_0x30a077,'rangesCache':_0x156ec4,'pivotTableId':_0x432942,'type':_0x24e66f[_0x3367f2(0x38a)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x3367f2(0x228)](_0x42c19f,_0x11bdf0,_0x432942,_0x30a077,_0x156ec4),this['_exclusiveRangeService'][_0x3367f2(0x3ee)](_0x42c19f,_0x11bdf0,_0x5f27fb,this[_0x3367f2(0x36c)](_0x156ec4,_0x432942)),{'rangeCache':_0x2ff681[_0x3367f2(0x38f)],'matrix':_0x30a077};}[_0x32a484(0x36c)](_0x10b91d,_0x5db78e){const _0x4ba889=_0x32a484,_0x68ade6=[],_0x4bb3c8=_0x3fcd7b(_0x10b91d);for(const _0x1ab0d1 of _0x4bb3c8)_0x68ade6[_0x4ba889(0x296)]({'groupId':_0x5db78e,'range':_0x1ab0d1});return _0x68ade6;}['clearRenderCache'](_0x31dd54){const _0x12c62c=_0x32a484;var _0x148660,_0xbc2028,_0x37e204,_0x5fc4eb;const {pivotTableId:_0x167af9,unitId:_0x4478c1,subUnitId:_0x3fada0}=_0x31dd54;if(!_0x167af9||!_0x4478c1||!_0x3fada0)return;const _0x5454ac=this[_0x12c62c(0x37e)](_0x4478c1,_0x3fada0),_0x4cc00c=(_0xbc2028=(_0x148660=this[_0x12c62c(0x430)]['get'](_0x4478c1))==null?void 0x0:_0x148660[_0x12c62c(0x3fc)](_0x3fada0))==null?void 0x0:_0xbc2028[_0x12c62c(0x3fc)](_0x167af9);if(_0x4cc00c!=null&&_0x4cc00c['rangesInfo']){for(const _0x5132f5 of Object[_0x12c62c(0x31e)](_0x4cc00c[_0x12c62c(0x38f)]))_0x4cc00c[_0x12c62c(0x38f)][_0x5132f5][_0x12c62c(0x4c2)](_0xfa9dae=>{const _0x1fa3ca=_0x12c62c;for(let _0x5a9220=_0xfa9dae[_0x1fa3ca(0x340)];_0x5a9220<=_0xfa9dae[_0x1fa3ca(0x2d0)];_0x5a9220++)for(let _0x2d47f0=_0xfa9dae['startColumn'];_0x2d47f0<=_0xfa9dae[_0x1fa3ca(0x315)];_0x2d47f0++)_0x5454ac[_0x1fa3ca(0x2bd)](_0x5a9220,_0x2d47f0);});}_0x4cc00c&&((_0x5fc4eb=(_0x37e204=this['_pivotRenderInfoCache'][_0x12c62c(0x3fc)](_0x4478c1))==null?void 0x0:_0x37e204[_0x12c62c(0x3fc)](_0x3fada0))==null||_0x5fc4eb[_0x12c62c(0x3a9)](_0x167af9)),this['_viewUpdate$'][_0x12c62c(0x451)]({'unitId':_0x4478c1,'subUnitId':_0x3fada0,'valueMatrix':_0x5454ac,'pivotTableId':_0x167af9,'rangesCache':void 0x0,'type':_0x31dd54[_0x12c62c(0x38a)]}),this[_0x12c62c(0x38b)]['clearExclusiveRangesByGroupId'](_0x4478c1,_0x3fada0,_0x5f27fb,_0x167af9);}[_0x32a484(0x3a1)](_0x4faac4,_0x5edf8b,_0x6e019e){const _0x39dd5a=_0x32a484;var _0x444315,_0x5ab87e,_0x1e30a3,_0x248c04,_0x5ca4e6,_0x181421;return this['_pivotRenderInfoCache'][_0x39dd5a(0x290)](_0x4faac4)||this[_0x39dd5a(0x430)][_0x39dd5a(0x268)](_0x4faac4,new Map()),(_0x444315=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))!=null&&_0x444315[_0x39dd5a(0x290)](_0x5edf8b)||(_0x5ab87e=this['_pivotRenderInfoCache'][_0x39dd5a(0x3fc)](_0x4faac4))==null||_0x5ab87e[_0x39dd5a(0x268)](_0x5edf8b,new Map()),(_0x248c04=(_0x1e30a3=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))==null?void 0x0:_0x1e30a3['get'](_0x5edf8b))!=null&&_0x248c04['has'](_0x6e019e)||(_0x181421=(_0x5ca4e6=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))==null?void 0x0:_0x5ca4e6[_0x39dd5a(0x3fc)](_0x5edf8b))==null||_0x181421[_0x39dd5a(0x268)](_0x6e019e,{}),this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4)[_0x39dd5a(0x3fc)](_0x5edf8b)[_0x39dd5a(0x3fc)](_0x6e019e);}[_0x32a484(0x37e)](_0xc15388,_0x1eed30){const _0x59297a=_0x32a484;var _0x8d2fb5,_0x3e4ab8;return this['_pivotRenderValueMatrixCache'][_0x59297a(0x290)](_0xc15388)||this['_pivotRenderValueMatrixCache'][_0x59297a(0x268)](_0xc15388,new Map()),(_0x8d2fb5=this[_0x59297a(0x41a)][_0x59297a(0x3fc)](_0xc15388))!=null&&_0x8d2fb5[_0x59297a(0x290)](_0x1eed30)||(_0x3e4ab8=this['_pivotRenderValueMatrixCache']['get'](_0xc15388))==null||_0x3e4ab8[_0x59297a(0x268)](_0x1eed30,new _0x2fa876[(_0x59297a(0x48a))]()),this[_0x59297a(0x41a)][_0x59297a(0x3fc)](_0xc15388)['get'](_0x1eed30);}[_0x32a484(0x311)](_0x400445,_0xb4cdcd,_0x595157,_0x4669fe){const _0x4c2a7b=_0x32a484;var _0x1235fa,_0x103199;const _0x4f7c37=(_0x103199=(_0x1235fa=this['_pivotRenderValueMatrixCache'][_0x4c2a7b(0x3fc)](_0x400445))==null?void 0x0:_0x1235fa[_0x4c2a7b(0x3fc)](_0xb4cdcd))==null?void 0x0:_0x103199[_0x4c2a7b(0x250)](_0x595157,_0x4669fe);if(_0x4f7c37!=null)return _0x4f7c37;}[_0x32a484(0x2d4)](_0x536e4e,_0x224886,_0x1ede33,_0x5a690f){const _0x44ed9b=_0x32a484;var _0x2cd630;const _0x37da1a=_0x2fa876[_0x44ed9b(0x4bd)](_0x1ede33,_0x5a690f),_0x5eaad2=(_0x2cd630=this[_0x44ed9b(0x430)][_0x44ed9b(0x3fc)](_0x536e4e))==null?void 0x0:_0x2cd630[_0x44ed9b(0x3fc)](_0x224886);return _0x5eaad2?Array['from'](_0x5eaad2[_0x44ed9b(0x31e)]())[_0x44ed9b(0x475)](_0x55bd1d=>{const _0x137208=_0x44ed9b,_0x433d2c=_0x5eaad2[_0x137208(0x3fc)](_0x55bd1d),_0x27a154=_0x433d2c==null?void 0x0:_0x433d2c['rangesInfo'];return _0x27a154?Object[_0x137208(0x31e)](_0x27a154)[_0x137208(0x26a)](_0x174cb4=>_0x27a154[_0x174cb4][_0x137208(0x26a)](_0x2421df=>_0x2fa876[_0x137208(0x3b2)][_0x137208(0x24d)](_0x2421df,_0x37da1a))):!0x1;}):void 0x0;}[_0x32a484(0x246)](_0x1d45b2,_0x1fabfa,_0x5c1864){const _0x1c7c20=_0x32a484;var _0x8464ba;const _0x2295d1=(_0x8464ba=this[_0x1c7c20(0x430)][_0x1c7c20(0x3fc)](_0x1d45b2))==null?void 0x0:_0x8464ba[_0x1c7c20(0x3fc)](_0x1fabfa),_0x445b10=[];return _0x2295d1&&Array[_0x1c7c20(0x25f)](_0x2295d1['keys']())['forEach'](_0x65101a=>{const _0x2eff8d=_0x1c7c20,_0x4ea4c1=_0x2295d1['get'](_0x65101a),_0xf7fa92=_0x4ea4c1==null?void 0x0:_0x4ea4c1['rangesInfo'];if(_0xf7fa92)for(const _0x4d8432 of Object[_0x2eff8d(0x1e7)](_0xf7fa92)){let _0x30cce5=!0x1;for(const _0x5eb333 of _0x4d8432)if(_0x2fa876[_0x2eff8d(0x3b2)]['intersects'](_0x5eb333,_0x5c1864)){_0x445b10[_0x2eff8d(0x296)](_0x65101a),_0x30cce5=!0x0;break;}if(_0x30cce5)break;}}),_0x445b10;}['getSubUnitPivotMatrix'](_0x3571a9,_0x27c52e){const _0x368fc6=_0x32a484;var _0x532670,_0xe817c9;return(_0xe817c9=(_0x532670=this['_pivotRenderValueMatrixCache'][_0x368fc6(0x3fc)](_0x3571a9))==null?void 0x0:_0x532670['get'](_0x27c52e))!=null?_0xe817c9:new _0x2fa876[(_0x368fc6(0x48a))]();}[_0x32a484(0x431)](_0x2e323d,_0x1f98b4){const _0x27ae1b=_0x32a484;var _0x35bfd6;return(_0x35bfd6=this[_0x27ae1b(0x430)][_0x27ae1b(0x3fc)](_0x2e323d))==null?void 0x0:_0x35bfd6[_0x27ae1b(0x3fc)](_0x1f98b4);}[_0x32a484(0x2d5)](_0x5b07a1,_0x3ef2e4,_0x6ce80d){const _0xb5a6ba=_0x32a484;var _0x1691dd,_0xfdedbe;return(_0xfdedbe=(_0x1691dd=this[_0xb5a6ba(0x430)][_0xb5a6ba(0x3fc)](_0x5b07a1))==null?void 0x0:_0x1691dd[_0xb5a6ba(0x3fc)](_0x3ef2e4))==null?void 0x0:_0xfdedbe[_0xb5a6ba(0x3fc)](_0x6ce80d);}[_0x32a484(0x4d8)](_0x18940c){const _0x2a4afd=_0x32a484;this['_pivotRenderInfoCache']['delete'](_0x18940c),this['_pivotRenderValueMatrixCache'][_0x2a4afd(0x3a9)](_0x18940c);}[_0x32a484(0x464)](_0x49bc17,_0x5ad592){const _0x59fcd2=_0x32a484;this['_markDirty$'][_0x59fcd2(0x451)]({'unitId':_0x49bc17,'subUnitId':_0x5ad592});}},_0xd0af73['SheetsPivotTableAdaptorModel']=_0x43542f([_0x4e86f7(0x0,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x3d2)])),_0x4e86f7(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x4e86f7(0x2,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x4e86f7(0x3,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x4e86f7(0x4,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x3d8)]))],_0xd0af73[_0x32a484(0x404)]);var _0x137580=Object[_0x32a484(0x48e)],_0x2d9d4a=(_0xa50690,_0x31629c,_0xd43ef5,_0x4ce253)=>{const _0x5ed6c3=_0x32a484;for(var _0x196ea9=_0x4ce253>0x1?void 0x0:_0x4ce253?_0x137580(_0x31629c,_0xd43ef5):_0x31629c,_0x99ddc6=_0xa50690[_0x5ed6c3(0x249)]-0x1,_0x362d89;_0x99ddc6>=0x0;_0x99ddc6--)(_0x362d89=_0xa50690[_0x99ddc6])&&(_0x196ea9=_0x362d89(_0x196ea9)||_0x196ea9);return _0x196ea9;},_0x4ff0fb=(_0x399551,_0x604895)=>(_0x319b0f,_0x537527)=>_0x604895(_0x319b0f,_0x537527,_0x399551);_0xd0af73['SheetsPivotTableService']=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x36d102,_0x4a7028){const _0x4294d8=_0x32a484;super(),_0x25ab16(this,'asyncInterceptor',new _0x2fa876[(_0x4294d8(0x2ab))]({'PIVOT_PERFORM_CHECK':_0x1d5a00})),_0x25ab16(this,'interceptor',new _0x2fa876['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x1a7dbe})),(this[_0x4294d8(0x46e)]=_0x36d102,this[_0x4294d8(0x24c)]=_0x4a7028,this[_0x4294d8(0x44a)]());}[_0x32a484(0x44a)](){const _0x36b639=_0x32a484;this[_0x36b639(0x4b7)]();}[_0x32a484(0x333)](_0x6a0e4e){const _0x227b06=_0x32a484;return this[_0x227b06(0x4ca)][_0x227b06(0x323)](_0x1d5a00)(!0x1,_0x6a0e4e);}['_initViewModelBySheetInterceptor'](){const _0xb31be1=_0x32a484;this['disposeWithMe'](this[_0xb31be1(0x46e)][_0xb31be1(0x4a0)](_0x30840c[_0xb31be1(0x2a8)][_0xb31be1(0x219)],{'priority':0xc8,'effect':_0x2fa876[_0xb31be1(0x3fd)][_0xb31be1(0x4a5)]|_0x2fa876[_0xb31be1(0x3fd)]['Style'],'handler':(_0x60ad4,_0x1dfebf,_0x11220c)=>{const _0x43821b=_0xb31be1,{row:_0x26e20d,col:_0x3b38d4,unitId:_0xa11f88,subUnitId:_0x3707af,workbook:_0x32882f}=_0x1dfebf,_0x369e32=this[_0x43821b(0x24c)][_0x43821b(0x311)](_0xa11f88,_0x3707af,_0x26e20d,_0x3b38d4);if(!_0x369e32)return _0x11220c(_0x60ad4);const _0x21bef6={..._0x60ad4};(_0x369e32['v']||_0x369e32['v']===0x0)&&(_0x21bef6['v']=_0x369e32['v']),_0x369e32['t']&&(_0x21bef6['t']=_0x369e32['t']);const _0x58bc75=(typeof(_0x60ad4==null?void 0x0:_0x60ad4['s'])==_0x43821b(0x373)?_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x3fc)](_0x60ad4==null?void 0x0:_0x60ad4['s']):_0x60ad4==null?void 0x0:_0x60ad4['s'])||{},_0x2e2723=_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x3fc)](_0x369e32['s']),_0x4423c2={..._0x2e2723,..._0x58bc75};_0x2e2723!=null&&_0x2e2723['n']&&(_0x4423c2['n']=_0x2e2723['n']);const _0x50c6e1=_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x280)](_0x4423c2);return _0x21bef6['s']=_0x50c6e1,(_0x369e32[_0x43821b(0x22e)]===_0x33417a[_0x43821b(0x307)]['Collapse']||_0x369e32[_0x43821b(0x22e)]===_0x33417a['PivotCellStyleTypeEnum'][_0x43821b(0x4e3)])&&(_0x21bef6[_0x43821b(0x27c)]={},_0x21bef6['fontRenderExtension'][_0x43821b(0x2c1)]=_0x472598),_0x11220c(_0x21bef6);}}));}},_0xd0af73[_0x32a484(0x21f)]=_0x2d9d4a([_0x4ff0fb(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0x4ff0fb(0x1,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x404)]))],_0xd0af73[_0x32a484(0x21f)]);const _0x1b9e99={'id':_0x32a484(0x2ef),'type':_0x2fa876['CommandType']['MUTATION'],'handler':(_0x14642e,_0x3e9f82)=>{const _0x3e37f3=_0x32a484;if(!_0x3e9f82)return!0x1;if(!!_0x14642e[_0x3e37f3(0x3fc)](_0x2fa876[_0x3e37f3(0x3da)])['getConfig'](_0x51f97f))return!0x0;const {pivotTableId:_0x289011,fieldJSON:_0x12b8da,unitId:_0x4b7966,subUnitId:_0x2ece8b}=_0x3e9f82;let _0x4f1625;const {dataFieldType:_0x3a903e,id:_0x12703b,name:_0x3935eb,hexCode:_0x39b393,originalFieldId:_0x44e13b}=_0x12b8da;if(_0x3a903e===_0x33417a[_0x3e37f3(0x264)][_0x3e37f3(0x2c8)]&&(_0x4f1625=new _0x33417a[(_0x3e37f3(0x1e2))](_0x12703b,_0x3935eb,_0x39b393,_0x44e13b)),!_0x4f1625)return!0x1;const _0x3994e3=_0x14642e[_0x3e37f3(0x3fc)](_0xd0af73['SheetsPivotDataSourceModel']),_0xe2f823=_0x3994e3[_0x3e37f3(0x4b6)](_0x4b7966),_0x505e31=_0xe2f823[_0x3e37f3(0x336)](_0x289011);_0xe2f823[_0x3e37f3(0x355)](_0x4f1625),_0x505e31[_0x3e37f3(0x4e7)](_0x4f1625[_0x3e37f3(0x244)](),_0x4f1625['getName']());const _0x3872b1=_0x505e31['getFieldById'](_0x4f1625['getOriginFieldId']());_0x3872b1&&_0x4f1625['refreshGroupField'](_0x3872b1);const _0x2e80f2=_0x3994e3[_0x3e37f3(0x2e9)](_0x4b7966,_0x2ece8b,_0x289011);return _0x3994e3[_0x3e37f3(0x272)]({'unitId':_0x4b7966,'subUnitId':_0x2ece8b,'token':_0x289011,'type':_0x477731[_0x3e37f3(0x47a)],'pivotConfig':_0x2e80f2}),!0x0;}},_0xf85d51={'id':_0x32a484(0x1ee),'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'handler':(_0x32745e,_0xcf462f)=>{const _0x4fed99=_0x32a484;if(!_0xcf462f)return!0x1;if(!!_0x32745e[_0x4fed99(0x3fc)](_0x2fa876['IConfigService'])[_0x4fed99(0x28b)](_0x51f97f))return!0x0;const {pivotTableId:_0xf28a3e,dataFieldId:_0x51f106,unitId:_0x3c7032,subUnitId:_0x7df6}=_0xcf462f,_0x327b80=_0x32745e[_0x4fed99(0x3fc)](_0xd0af73[_0x4fed99(0x255)]),_0x51594b=_0x327b80['getDataFieldManager'](_0x3c7032);_0x51594b['getCollection'](_0xf28a3e)[_0x4fed99(0x3c3)](_0x51f106);let _0x21ec03=!0x0;for(const _0x3c96a0 in _0x51594b['collections'])if(_0x51594b[_0x4fed99(0x4e2)][_0x3c96a0][_0x4fed99(0x29d)]()[_0x4fed99(0x2a1)](_0x51f106)){_0x21ec03=!0x1;break;}_0x21ec03&&_0x51594b[_0x4fed99(0x240)](_0x51f106);const _0x163922=_0x327b80[_0x4fed99(0x2e9)](_0x3c7032,_0x7df6,_0xf28a3e);return _0x327b80[_0x4fed99(0x272)]({'unitId':_0x3c7032,'subUnitId':_0x7df6,'token':_0xf28a3e,'type':_0x477731[_0x4fed99(0x47a)],'pivotConfig':_0x163922}),!0x0;}};function _0x19b65e(_0x39b397,_0x4c5d1d){const _0x4bae04=_0x32a484;switch(_0x4c5d1d){case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x4a5)]:return _0x39b397[_0x4bae04(0x414)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x3d0)]:return _0x39b397[_0x4bae04(0x426)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x349)]:return _0x39b397[_0x4bae04(0x3e2)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x1d6)]:return _0x39b397['columnFields'];default:return[];}}function _0x549ff9(_0x2ccbee,_0x290f96){const _0x188afd=_0x32a484;return _0x2ccbee[_0x188afd(0x4ec)][_0x290f96]||_0x2ccbee[_0x188afd(0x4be)][_0x290f96];}function _0x51944e(_0x345479,_0x1da18b){const _0x3b1b3d=_0x32a484,{area:_0x266a37,fieldJson:_0x4b274b,index:_0x472884}=_0x1da18b;_0x266a37===_0x33417a['PivotTableFiledAreaEnum'][_0x3b1b3d(0x4a5)]?_0x345479[_0x3b1b3d(0x4ec)][_0x4b274b['id']]=_0x4b274b:_0x345479[_0x3b1b3d(0x4be)][_0x4b274b['id']]=_0x4b274b,_0x19b65e(_0x345479,_0x266a37)['splice'](_0x472884,0x0,_0x4b274b['id']);}function _0xe9c4ff(_0xfe7fe1,_0x2ee158){const _0x36e193=_0x32a484,{area:_0x21c5bc,fieldId:_0x18ad3a,index:_0x4a3fe6}=_0x2ee158;_0x21c5bc===_0x33417a[_0x36e193(0x321)][_0x36e193(0x4a5)]?delete _0xfe7fe1[_0x36e193(0x4ec)][_0x18ad3a]:delete _0xfe7fe1[_0x36e193(0x4be)][_0x18ad3a],_0x19b65e(_0xfe7fe1,_0x21c5bc)[_0x36e193(0x2bc)](_0x4a3fe6,0x1);}function _0x79155f(_0x5a3072,_0xdb61b){const _0x4b3850=_0x32a484,{fieldId:_0x3d1bb7,name:_0x12b17d}=_0xdb61b,_0x47eb20=_0x549ff9(_0x5a3072,_0x3d1bb7);_0x47eb20&&(_0x47eb20[_0x4b3850(0x44f)]=_0x12b17d);}function _0x25a491(_0xfe70f2,_0x8bebd9){const _0x40548d=_0x32a484,{fieldId:_0xf73e87,collapse:_0x2813b2,item:_0x5d59ba}=_0x8bebd9;_0x5d59ba!==void 0x0?(_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]=_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]||{},_0xfe70f2[_0x40548d(0x33f)][_0xf73e87][_0x5d59ba]=_0x2813b2):_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]=_0x2813b2;}function _0x4d0632(_0x27649b,_0x58040d){const {fieldId:_0x4e8d54,format:_0x2cf9ef}=_0x58040d,_0xd6cc35=_0x549ff9(_0x27649b,_0x4e8d54);_0xd6cc35&&(_0xd6cc35['format']=_0x2cf9ef);}function _0x2f53ac(_0xc93458,_0x40d6a4){const _0xc5e181=_0x32a484,{fieldId:_0xcb5f39,filterInfo:_0x24cbca}=_0x40d6a4,_0x15dcd7=_0x549ff9(_0xc93458,_0xcb5f39);_0x15dcd7&&(_0x15dcd7[_0xc5e181(0x2f2)]=_0x24cbca);}function _0xc103f7(_0xe27a4d,_0x1522f0){const _0x58c658=_0x32a484,{fieldId:_0x3e0fa2,filterInfo:_0x3ba595}=_0x1522f0,_0x2834b0=_0xe27a4d[_0x58c658(0x4a7)][_0x58c658(0x2c6)](_0x1dfd1c=>_0x1dfd1c[_0x58c658(0x3db)]!==_0x3e0fa2);_0x3ba595&&_0x2834b0[_0x58c658(0x296)]({'fieldId':_0x3e0fa2,'filterInfo':_0x3ba595}),_0xe27a4d[_0x58c658(0x4a7)]=_0x2834b0;}function _0x428772(_0x5c4cbc,_0x485b36){const _0x47bdf4=_0x32a484,{fieldId:_0x144be8,subtotalType:_0x522045}=_0x485b36,_0xf8a630=_0x549ff9(_0x5c4cbc,_0x144be8);_0xf8a630&&(_0xf8a630[_0x47bdf4(0x343)]=_0x522045);}function _0x39acee(_0x385f68,_0x3c6fbe){const _0xdc9140=_0x32a484,{fieldId:_0x25a1b8,oldArea:_0x2c265c,area:_0x33db9a,oldIndex:_0x3f32f6,index:_0x57aa14}=_0x3c6fbe,_0x14eb18=_0x2c265c!==_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)]&&_0x33db9a===_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)],_0x4abf91=_0x2c265c===_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)]&&_0x33db9a!==_0x33417a['PivotTableFiledAreaEnum'][_0xdc9140(0x4a5)];if(_0x14eb18||_0x4abf91){const _0x445e05=_0x549ff9(_0x385f68,_0x25a1b8);_0x445e05&&(_0x14eb18?(delete _0x385f68[_0xdc9140(0x4be)][_0x25a1b8],_0x385f68[_0xdc9140(0x4ec)][_0x25a1b8]=_0x445e05):(delete _0x385f68[_0xdc9140(0x4ec)][_0x25a1b8],_0x385f68[_0xdc9140(0x4be)][_0x25a1b8]=_0x445e05));}const _0x341ec0=_0x19b65e(_0x385f68,_0x2c265c),_0x470c47=_0x19b65e(_0x385f68,_0x33db9a);_0x341ec0[_0xdc9140(0x2bc)](_0x3f32f6,0x1),_0x470c47['splice'](_0x57aa14,0x0,_0x25a1b8);}function _0x2f8102(_0x4b50af,_0x3c1145){const _0x28f566=_0x32a484,{valuePosition:_0x25b201,index:_0xe4c037}=_0x3c1145;_0x4b50af[_0x28f566(0x3d6)]=_0x25b201,_0x4b50af[_0x28f566(0x4d4)]=_0xe4c037;}function _0x4a7475(_0x5e565c,_0x8abb54){const _0x443d50=_0x32a484,{tableFieldId:_0x3adb43,sourceName:_0x31bac7,dataFieldId:_0x5a3658}=_0x8abb54,_0x2fdc02=_0x549ff9(_0x5e565c,_0x3adb43);_0x2fdc02&&(_0x2fdc02[_0x443d50(0x3d9)]=_0x31bac7,_0x2fdc02[_0x443d50(0x422)]=_0x5a3658);}function _0x30b600(_0x422a27,_0x3d0233){const _0x40e918=_0x32a484,{fieldId:_0x32097c,sortInfo:_0x2f4908}=_0x3d0233,_0x3a7764=_0x549ff9(_0x422a27,_0x32097c);_0x3a7764&&(_0x3a7764[_0x40e918(0x21b)]=_0x2f4908);}function _0x1cc998(_0x129fe4,_0x39fd95){const _0x53517e=_0x32a484,{options:_0x331269}=_0x39fd95;_0x129fe4[_0x53517e(0x377)]={..._0x129fe4[_0x53517e(0x377)],..._0x331269};}const _0x2b9c30={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2b9),'handler'(_0x31df95,_0x392c10){const _0x362634=_0x32a484;if(!_0x392c10)return!0x1;if(!!_0x31df95[_0x362634(0x3fc)](_0x2fa876[_0x362634(0x3da)])[_0x362634(0x28b)](_0x51f97f))return!0x0;const _0x26cbd5=_0x31df95[_0x362634(0x3fc)](_0xd0af73[_0x362634(0x255)]),{pivotTableId:_0x52d83e,fieldJson:_0x47254e,area:_0x5d5f60,index:_0x54a51,unitId:_0x2eee30,subUnitId:_0x21043b}=_0x392c10,_0x381087=_0x26cbd5[_0x362634(0x47b)](_0x52d83e);if(!_0x381087)return!0x1;let _0x4db89b;_0x5d5f60===_0x33417a[_0x362634(0x321)][_0x362634(0x4a5)]?_0x4db89b=_0x33417a['createValueField'](_0x47254e):_0x4db89b=_0x33417a[_0x362634(0x3cf)](_0x47254e),_0x381087[_0x362634(0x4e7)](_0x4db89b,_0x5d5f60,_0x54a51);const _0x7f024=_0x26cbd5[_0x362634(0x28f)](_0x2eee30,_0x21043b,_0x52d83e);_0x51944e(_0x7f024,_0x392c10);const _0x2169a5=_0x26cbd5[_0x362634(0x2e9)](_0x2eee30,_0x21043b,_0x52d83e);return _0x26cbd5[_0x362634(0x272)]({'unitId':_0x2eee30,'subUnitId':_0x21043b,'token':_0x52d83e,'type':_0x477731['Set'],'pivotConfig':_0x2169a5}),!0x0;}},_0xabb6f3={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x51ef23,_0x42b756){const _0x1428e8=_0x32a484;if(!_0x42b756)return!0x1;if(!!_0x51ef23[_0x1428e8(0x3fc)](_0x2fa876[_0x1428e8(0x3da)])[_0x1428e8(0x28b)](_0x51f97f))return!0x0;const _0x39ff00=_0x51ef23[_0x1428e8(0x3fc)](_0xd0af73[_0x1428e8(0x255)]),{pivotTableId:_0x4b75c6,fieldId:_0x5a718d,unitId:_0x15aae0,subUnitId:_0x2f43c5}=_0x42b756,_0x2d8b5e=_0x39ff00[_0x1428e8(0x47b)](_0x4b75c6);if(!_0x2d8b5e)return!0x1;_0x2d8b5e[_0x1428e8(0x3f8)](_0x5a718d);const _0x224eca=_0x39ff00[_0x1428e8(0x28f)](_0x15aae0,_0x2f43c5,_0x4b75c6);_0xe9c4ff(_0x224eca,_0x42b756);const _0x3f0417=_0x39ff00[_0x1428e8(0x2e9)](_0x15aae0,_0x2f43c5,_0x4b75c6);return _0x39ff00[_0x1428e8(0x272)]({'unitId':_0x15aae0,'subUnitId':_0x2f43c5,'token':_0x4b75c6,'type':_0x477731[_0x1428e8(0x47a)],'pivotConfig':_0x3f0417}),!0x0;}},_0x5cf91e={'type':_0x2fa876['CommandType']['MUTATION'],'id':_0x32a484(0x297),'handler'(_0xe045f3,_0x1042aa){const _0x39ed16=_0x32a484;if(!_0x1042aa)return!0x1;if(!!_0xe045f3[_0x39ed16(0x3fc)](_0x2fa876[_0x39ed16(0x3da)])[_0x39ed16(0x28b)](_0x51f97f))return!0x0;const _0x32fd92=_0xe045f3[_0x39ed16(0x3fc)](_0xd0af73[_0x39ed16(0x255)]),{unitId:_0xfa81ca,subUnitId:_0xbe485b,pivotTableId:_0x1747ea,fieldId:_0x56d29c,name:_0x56c5f7}=_0x1042aa,_0x3e2812=_0x32fd92['getPivotTableInstance'](_0x1747ea);if(!_0x3e2812)return!0x1;_0x3e2812['renameField'](_0x56d29c,_0x56c5f7);const _0x3b5966=_0x32fd92[_0x39ed16(0x28f)](_0xfa81ca,_0xbe485b,_0x1747ea);return _0x79155f(_0x3b5966,_0x1042aa),_0x32fd92['addDirtyPivotTable']({'unitId':_0xfa81ca,'subUnitId':_0xbe485b,'token':_0x1747ea,'type':_0x477731[_0x39ed16(0x47a)]}),!0x0;}},_0x20aabe={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x306),'handler'(_0x52888c,_0x4892c9){const _0x37523c=_0x32a484;if(!_0x4892c9)return!0x1;if(!!_0x52888c['get'](_0x2fa876['IConfigService'])['getConfig'](_0x51f97f))return!0x0;const _0x2c04c5=_0x52888c[_0x37523c(0x3fc)](_0xd0af73[_0x37523c(0x255)]),{unitId:_0x28176a,subUnitId:_0x5ee665,pivotTableId:_0x732346,fieldId:_0x494099,collapse:_0x38797d,item:_0x361639}=_0x4892c9,_0x21c8be=_0x2c04c5[_0x37523c(0x47b)](_0x732346);if(!_0x21c8be)return!0x1;_0x21c8be[_0x37523c(0x27a)](_0x494099,_0x38797d,_0x361639);const _0x207b62=_0x2c04c5[_0x37523c(0x28f)](_0x28176a,_0x5ee665,_0x732346);return _0x25a491(_0x207b62,_0x4892c9),_0x2c04c5['addDirtyPivotTable']({'unitId':_0x28176a,'subUnitId':_0x5ee665,'token':_0x732346,'type':_0x477731['Set']}),!0x0;}},_0x149f91={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':'sheet.mutation.set-pivot-format','handler'(_0x363164,_0x44eea2){const _0xe6fb3a=_0x32a484;if(!_0x44eea2)return!0x1;if(!!_0x363164[_0xe6fb3a(0x3fc)](_0x2fa876['IConfigService'])[_0xe6fb3a(0x28b)](_0x51f97f))return!0x0;const _0x5eff9c=_0x363164[_0xe6fb3a(0x3fc)](_0xd0af73[_0xe6fb3a(0x255)]),{unitId:_0x245290,subUnitId:_0xc2ba24,pivotTableId:_0x291990,fieldId:_0x1d50d3,format:_0xe9aac7}=_0x44eea2,_0x4bf49a=_0x5eff9c[_0xe6fb3a(0x47b)](_0x291990);if(!_0x4bf49a)return!0x1;_0x4bf49a[_0xe6fb3a(0x30a)](_0x1d50d3,_0xe9aac7);const _0xa47634=_0x5eff9c[_0xe6fb3a(0x28f)](_0x245290,_0xc2ba24,_0x291990);return _0x4d0632(_0xa47634,_0x44eea2),_0x5eff9c['addDirtyPivotTable']({'unitId':_0x245290,'subUnitId':_0xc2ba24,'token':_0x291990,'type':_0x477731['Set']}),!0x0;}},_0x540b6c={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2a9),'handler'(_0x60d651,_0x2f5dd4){const _0x5830eb=_0x32a484;if(!_0x2f5dd4)return!0x1;if(!!_0x60d651[_0x5830eb(0x3fc)](_0x2fa876[_0x5830eb(0x3da)])['getConfig'](_0x51f97f))return!0x0;const _0x2d7c34=_0x60d651[_0x5830eb(0x3fc)](_0xd0af73[_0x5830eb(0x255)]),{unitId:_0x53fe9f,subUnitId:_0x17bbb5,pivotTableId:_0x253ab5,fieldId:_0x25e8f4,filterInfo:_0x37165f}=_0x2f5dd4,_0x174a98=_0x2d7c34[_0x5830eb(0x47b)](_0x253ab5);if(!_0x174a98)return!0x1;_0x174a98['setLabelFilterInfo'](_0x25e8f4,_0x37165f);const _0x184777=_0x2d7c34['getPivotTableModelConfig'](_0x53fe9f,_0x17bbb5,_0x253ab5);return _0x2f53ac(_0x184777,_0x2f5dd4),_0x2d7c34[_0x5830eb(0x272)]({'unitId':_0x53fe9f,'subUnitId':_0x17bbb5,'token':_0x253ab5,'type':_0x477731['Set']}),!0x0;}},_0x3e8bcd={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x444),'handler'(_0x14a8f1,_0x166376){const _0x3222e2=_0x32a484;if(!_0x166376)return!0x1;if(!!_0x14a8f1[_0x3222e2(0x3fc)](_0x2fa876[_0x3222e2(0x3da)])['getConfig'](_0x51f97f))return!0x0;const _0x7d3d7d=_0x14a8f1[_0x3222e2(0x3fc)](_0xd0af73[_0x3222e2(0x255)]),{unitId:_0x50a838,subUnitId:_0xa6a9e2,pivotTableId:_0x48e424,options:_0xe0b81c}=_0x166376,_0x12c11a=_0x7d3d7d[_0x3222e2(0x47b)](_0x48e424);if(!_0x12c11a)return!0x1;_0x12c11a[_0x3222e2(0x32a)](_0xe0b81c);const _0x1d0768=_0x7d3d7d[_0x3222e2(0x28f)](_0x50a838,_0xa6a9e2,_0x48e424);return _0x1cc998(_0x1d0768,_0x166376),_0x7d3d7d[_0x3222e2(0x272)]({'unitId':_0x50a838,'subUnitId':_0xa6a9e2,'token':_0x48e424,'type':_0x477731['Set']}),!0x0;}},_0x3b5bf2={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x4a4),'handler'(_0x574d85,_0x2d4748){const _0x368e23=_0x32a484;if(!_0x2d4748)return!0x1;if(!!_0x574d85['get'](_0x2fa876['IConfigService'])['getConfig'](_0x51f97f))return!0x0;const _0x367752=_0x574d85[_0x368e23(0x3fc)](_0xd0af73[_0x368e23(0x255)]),{unitId:_0x188830,subUnitId:_0x530943,pivotTableId:_0x95abfe,sortInfo:_0x10aa3d,fieldId:_0x386d01}=_0x2d4748,_0x309c1e=_0x367752[_0x368e23(0x47b)](_0x95abfe);if(!_0x309c1e)return!0x1;_0x309c1e[_0x368e23(0x234)](_0x386d01,_0x10aa3d);const _0x302ac7=_0x367752[_0x368e23(0x28f)](_0x188830,_0x530943,_0x95abfe);return _0x30b600(_0x302ac7,_0x2d4748),_0x367752[_0x368e23(0x272)]({'unitId':_0x188830,'subUnitId':_0x530943,'token':_0x95abfe,'type':_0x477731['Set']}),!0x0;}},_0x549329={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x30c),'handler'(_0x2d87de,_0x1c4a6b){const _0xeeb16c=_0x32a484;if(!_0x1c4a6b)return!0x1;if(!!_0x2d87de['get'](_0x2fa876[_0xeeb16c(0x3da)])[_0xeeb16c(0x28b)](_0x51f97f))return!0x0;const _0x15d51c=_0x2d87de['get'](_0xd0af73[_0xeeb16c(0x255)]),{unitId:_0x127815,subUnitId:_0xb63fd1,pivotTableId:_0x4c2b86,fieldId:_0x294ede,subtotalType:_0x5e458f}=_0x1c4a6b,_0x5794cb=_0x15d51c[_0xeeb16c(0x47b)](_0x4c2b86);if(!_0x5794cb)return!0x1;_0x5794cb[_0xeeb16c(0x253)](_0x294ede,_0x5e458f);const _0x4f95a9=_0x15d51c[_0xeeb16c(0x28f)](_0x127815,_0xb63fd1,_0x4c2b86);return _0x428772(_0x4f95a9,_0x1c4a6b),_0x15d51c[_0xeeb16c(0x272)]({'unitId':_0x127815,'subUnitId':_0xb63fd1,'token':_0x4c2b86,'type':_0x477731[_0xeeb16c(0x47a)]}),!0x0;}},_0xa23cd8={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x433),'handler'(_0x23e20e,_0x5d8cf7){const _0x1ae715=_0x32a484;if(!_0x5d8cf7)return!0x1;if(!!_0x23e20e[_0x1ae715(0x3fc)](_0x2fa876['IConfigService'])[_0x1ae715(0x28b)](_0x51f97f))return!0x0;const _0x2f162b=_0x23e20e[_0x1ae715(0x3fc)](_0xd0af73[_0x1ae715(0x255)]),{unitId:_0x484d6e,subUnitId:_0x50b11b,pivotTableId:_0x7e0c52,fieldId:_0x4c8c40,filterInfo:_0x3733ea}=_0x5d8cf7,_0x1dbcbf=_0x2f162b['getPivotTableInstance'](_0x7e0c52);if(!_0x1dbcbf)return!0x1;_0x1dbcbf[_0x1ae715(0x24a)](_0x4c8c40,_0x3733ea);const _0x35474d=_0x2f162b[_0x1ae715(0x28f)](_0x484d6e,_0x50b11b,_0x7e0c52);return _0xc103f7(_0x35474d,_0x5d8cf7),_0x2f162b[_0x1ae715(0x272)]({'unitId':_0x484d6e,'subUnitId':_0x50b11b,'token':_0x7e0c52,'type':_0x477731[_0x1ae715(0x47a)]}),!0x0;}},_0x29c946={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x305),'handler'(_0x3c5408,_0x135c96){const _0x5a3278=_0x32a484;if(!_0x135c96)return!0x1;if(!!_0x3c5408[_0x5a3278(0x3fc)](_0x2fa876[_0x5a3278(0x3da)])[_0x5a3278(0x28b)](_0x51f97f))return!0x0;const _0x179546=_0x3c5408[_0x5a3278(0x3fc)](_0xd0af73[_0x5a3278(0x255)]),{unitId:_0xda1ee1,subUnitId:_0x2ec183,pivotTableId:_0x5306fe,area:_0x268e0a,index:_0x48ef25,fieldId:_0x52c0e1}=_0x135c96,_0x89e49a=_0x179546[_0x5a3278(0x47b)](_0x5306fe);if(!_0x89e49a)return!0x1;_0x89e49a['updateFieldPosition'](_0x52c0e1,_0x268e0a,_0x48ef25);const _0x18c61a=_0x179546[_0x5a3278(0x28f)](_0xda1ee1,_0x2ec183,_0x5306fe);return _0x39acee(_0x18c61a,_0x135c96),_0x179546[_0x5a3278(0x272)]({'unitId':_0xda1ee1,'subUnitId':_0x2ec183,'token':_0x5306fe,'type':_0x477731[_0x5a3278(0x47a)]}),!0x0;}},_0x10d193={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x205),'handler'(_0x2f2056,_0x4509fa){const _0x99e95c=_0x32a484;if(!_0x4509fa)return!0x1;if(!!_0x2f2056[_0x99e95c(0x3fc)](_0x2fa876[_0x99e95c(0x3da)])[_0x99e95c(0x28b)](_0x51f97f))return!0x0;const _0x1db580=_0x2f2056[_0x99e95c(0x3fc)](_0xd0af73[_0x99e95c(0x255)]),{unitId:_0x4b0f6a,subUnitId:_0x329b53,pivotTableId:_0x2ff90e,sourceName:_0x34a219,dataFieldId:_0x4d37ac,tableFieldId:_0x5271dd}=_0x4509fa,_0x474b36=_0x1db580[_0x99e95c(0x47b)](_0x2ff90e);if(!_0x474b36)return!0x1;_0x474b36[_0x99e95c(0x47e)](_0x5271dd,_0x34a219,_0x4d37ac);const _0x374dcb=_0x1db580[_0x99e95c(0x28f)](_0x4b0f6a,_0x329b53,_0x2ff90e);return _0x4a7475(_0x374dcb,_0x4509fa),_0x1db580[_0x99e95c(0x272)]({'unitId':_0x4b0f6a,'subUnitId':_0x329b53,'token':_0x2ff90e,'type':_0x477731[_0x99e95c(0x47a)]}),!0x0;}},_0x16697b={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x424),'handler'(_0x50e0d2,_0xcb3a79){const _0x7ca2ce=_0x32a484;if(!_0xcb3a79)return!0x1;if(!!_0x50e0d2['get'](_0x2fa876[_0x7ca2ce(0x3da)])[_0x7ca2ce(0x28b)](_0x51f97f))return!0x0;const _0x39abdb=_0x50e0d2[_0x7ca2ce(0x3fc)](_0xd0af73[_0x7ca2ce(0x255)]),{unitId:_0x23a9c8,subUnitId:_0x4bca5b,pivotTableId:_0xb5b007,valuePosition:_0x1819bb,index:_0x1ca4b8}=_0xcb3a79,_0x9f191c=_0x39abdb['getPivotTableInstance'](_0xb5b007);if(!_0x9f191c)return!0x1;_0x9f191c['updateValuePosition'](_0x1819bb,_0x1ca4b8);const _0x3d1081=_0x39abdb[_0x7ca2ce(0x28f)](_0x23a9c8,_0x4bca5b,_0xb5b007);return _0x2f8102(_0x3d1081,_0xcb3a79),_0x39abdb[_0x7ca2ce(0x272)]({'unitId':_0x23a9c8,'subUnitId':_0x4bca5b,'token':_0xb5b007,'type':_0x477731[_0x7ca2ce(0x47a)]}),!0x0;}};function _0x5706b0(_0xe21220,_0x389e9b,_0x2dd852){const _0x5b4b70=_0x32a484,{pivotTableId:_0x2726e4,unitId:_0x467001,subUnitId:_0x21612b}=_0x389e9b,_0x550374=[],_0x13b75b=[];for(const _0x78b001 of _0x2dd852)switch(_0x78b001[_0x5b4b70(0x38a)]){case _0x33417a[_0x5b4b70(0x439)]['AddField']:{const {fieldJson:_0x27f1bf,area:_0x2a4800,index:_0x155bd2}=_0x78b001,_0x21d286={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldJson':_0x27f1bf,'area':_0x2a4800,'index':_0x155bd2},_0x1bd063={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x27f1bf['id'],'area':_0x2a4800,'index':_0x155bd2};_0x550374[_0x5b4b70(0x296)]({'id':_0x2b9c30['id'],'params':_0x21d286}),_0x13b75b[_0x5b4b70(0x41d)]({'id':_0xabb6f3['id'],'params':_0x1bd063});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x224)]:{const {fieldId:_0x555a2e,newSubtotalType:_0xc0d85,oldSubtotalType:_0x2c8613}=_0x78b001,_0x356bfe={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x555a2e,'subtotalType':_0xc0d85};_0x550374[_0x5b4b70(0x296)]({'id':_0x549329['id'],'params':_0x356bfe});const _0x2418e9={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x555a2e,'subtotalType':_0x2c8613};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x549329['id'],'params':_0x2418e9});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x23e)]:{const {fieldId:_0x152d91,fieldJson:_0x3312a0,area:_0x1a2cec,index:_0x4d71f8}=_0x78b001,_0x40e9ce={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x152d91,'index':_0x4d71f8,'area':_0x1a2cec};_0x550374['push']({'id':_0xabb6f3['id'],'params':_0x40e9ce});const _0x2e9003={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldJson':_0x3312a0,'area':_0x1a2cec,'index':_0x4d71f8};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x2b9c30['id'],'params':_0x2e9003});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3e0)]:{const {fieldId:_0x5a08c2,oldName:_0x11bd06,newName:_0x5d39c7}=_0x78b001,_0x2684f2={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x5a08c2,'name':_0x5d39c7};_0x550374[_0x5b4b70(0x296)]({'id':_0x5cf91e['id'],'params':_0x2684f2});const _0x4f1026={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x5a08c2,'name':_0x11bd06};_0x13b75b['unshift']({'id':_0x5cf91e['id'],'params':_0x4f1026});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x33c)]:{const {fieldId:_0x33a86f,oldFilterInfo:_0x24d06f,newFilterInfo:_0x28a26d}=_0x78b001,_0x577997={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x33a86f,'filterInfo':_0x28a26d};_0x550374[_0x5b4b70(0x296)]({'id':_0x540b6c['id'],'params':_0x577997});const _0x24c2e6={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x33a86f,'filterInfo':_0x24d06f};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x540b6c['id'],'params':_0x24c2e6});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x3ec)]:{const {fieldId:_0x23edf3,oldSortInfo:_0x276286,newSortInfo:_0x1effa4}=_0x78b001,_0x2beb49={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x23edf3,'sortInfo':_0x1effa4};_0x550374[_0x5b4b70(0x296)]({'id':_0x3b5bf2['id'],'params':_0x2beb49});const _0x54c7f3={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x23edf3,'sortInfo':_0x276286};_0x13b75b['unshift']({'id':_0x3b5bf2['id'],'params':_0x54c7f3});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x2d1)]:{const {oldOptions:_0x2b1f5a,newOptions:_0x3f5a03}=_0x78b001,_0x1397be={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'options':_0x3f5a03};_0x550374['push']({'id':_0x3e8bcd['id'],'params':_0x1397be});const _0x135536={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'options':_0x2b1f5a};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x3e8bcd['id'],'params':_0x135536});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x26e)]:{const {oldArea:_0x772d6a,newArea:_0x4120fa,oldIndex:_0x4a5973,newIndex:_0x5ae22c,fieldId:_0x3f06ec}=_0x78b001,_0x5efd04={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x3f06ec,'area':_0x4120fa,'index':_0x5ae22c,'oldArea':_0x772d6a,'oldIndex':_0x4a5973};_0x550374[_0x5b4b70(0x296)]({'id':_0x29c946['id'],'params':_0x5efd04});const _0x1173a6={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x3f06ec,'area':_0x772d6a,'index':_0x4a5973,'oldArea':_0x4120fa,'oldIndex':_0x5ae22c};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x29c946['id'],'params':_0x1173a6});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3ba)]:{const {oldValuePosition:_0x509c4b,newValuePosition:_0x27c00e,oldIndex:_0x3b973a,newIndex:_0x2ba5e8}=_0x78b001,_0x14aa36={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'valuePosition':_0x27c00e,'index':_0x2ba5e8};_0x550374['push']({'id':_0x16697b['id'],'params':_0x14aa36});const _0x176ccc={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'valuePosition':_0x509c4b,'index':_0x3b973a};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x16697b['id'],'params':_0x176ccc});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x273)]:{const {fieldId:_0x37e93a,collapse:_0x2d63d5,item:_0x236e8f}=_0x78b001,_0x24ec69={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x37e93a,'collapse':_0x2d63d5,'item':_0x236e8f};_0x550374[_0x5b4b70(0x296)]({'id':_0x20aabe['id'],'params':_0x24ec69});const _0x4e6f7d={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x37e93a,'collapse':!_0x2d63d5,'item':_0x236e8f};_0x13b75b['unshift']({'id':_0x20aabe['id'],'params':_0x4e6f7d});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x2ee)]:{const {newFormat:_0x26ed9f,oldFormat:_0x500e1c,fieldId:_0x53d12e}=_0x78b001,_0x221e55={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x53d12e,'format':_0x26ed9f};_0x550374[_0x5b4b70(0x296)]({'id':_0x149f91['id'],'params':_0x221e55});const _0x40843f={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x53d12e,'format':_0x500e1c};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x149f91['id'],'params':_0x40843f});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x42c)]:{const {tableFieldId:_0xbfa243,oldSourceName:_0x3e084c,newSourceName:_0xd5efa1,oldDataFieldId:_0xf74637,newDataFieldId:_0x410afa}=_0x78b001,_0x5d8091={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'tableFieldId':_0xbfa243,'sourceName':_0xd5efa1,'dataFieldId':_0x410afa};_0x550374['push']({'id':_0x10d193['id'],'params':_0x5d8091});const _0x3208ea={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'tableFieldId':_0xbfa243,'sourceName':_0x3e084c,'dataFieldId':_0xf74637};_0x13b75b['unshift']({'id':_0x10d193['id'],'params':_0x3208ea});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3f9)]:{const {fieldId:_0xad3e3e,filterInfo:_0x30091b,oldFilterInfo:_0x3b2718}=_0x78b001,_0x323961={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0xad3e3e,'filterInfo':_0x30091b};_0x550374[_0x5b4b70(0x296)]({'id':_0xa23cd8['id'],'params':_0x323961});const _0x28a1a4={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0xad3e3e,'filterInfo':_0x3b2718};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0xa23cd8['id'],'params':_0x28a1a4});}}return{'redos':_0x550374,'undos':_0x13b75b};}function _0x460318(_0xe10290,_0x4452e4){const _0x5aca1d=_0x32a484;var _0x518d64;const _0x55197a=_0xe10290['get'](_0xd0af73[_0x5aca1d(0x21f)]),{cellInfo:_0x3988f9,view:_0xa77f2d,isEmpty:_0x134470}=_0x4452e4;return(_0x518d64=_0x55197a['interceptor'][_0x5aca1d(0x247)](_0x1a7dbe)(_0x47aadf,{'cellInfo':_0x3988f9,'view':_0xa77f2d,'isEmpty':_0x134470}))!=null?_0x518d64:_0x47aadf;}const _0x2d335d={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2d3),async 'handler'(_0x80ec7f,_0x769914){const _0x4bea60=_0x32a484;if(!_0x769914)return!0x1;const _0x3b6d6b=_0x80ec7f['get'](_0x2fa876[_0x4bea60(0x41b)]),_0x21a7fb=_0x80ec7f[_0x4bea60(0x3fc)](_0xd0af73[_0x4bea60(0x3af)]),_0x5f5593=_0x80ec7f[_0x4bea60(0x3fc)](_0x2fa876[_0x4bea60(0x3bc)]),{pivotTableId:_0x35c68b,dataFieldId:_0x4cdc3f,fieldArea:_0x353eac,index:_0x23d4a3,unitId:_0x1102ea,subUnitId:_0x1d366c}=_0x769914,_0x70ccc3=(await _0x21a7fb[_0x4bea60(0x263)]({'unitId':_0x1102ea,'subUnitId':_0x1d366c,'pivotTableId':_0x35c68b,'params':{'type':_0x1ce851[_0x4bea60(0x357)],'addPivotField':{'dataFieldId':_0x4cdc3f,'fieldArea':_0x353eac,'index':_0x23d4a3}}}))[_0x4bea60(0x210)][_0x4bea60(0x385)];if(!_0x70ccc3)return!0x1;const {view:_0x14000c,changesets:_0x3fcdb2,isEmpty:_0x3abdee,pivotTableConfig:_0x1e67fe,shouldBeAddedGroupJSON:_0x20fe91}=_0x70ccc3,_0x44aa1b=_0x1e67fe[_0x4bea60(0x412)],_0x753fd9=new _0x33417a[(_0x4bea60(0x22b))]();_0x753fd9[_0x4bea60(0x298)](_0x14000c);const _0x2ca09a={'cellInfo':_0x44aa1b,'view':_0x753fd9,'isEmpty':_0x3abdee};if(!await _0x80ec7f['get'](_0xd0af73[_0x4bea60(0x21f)])[_0x4bea60(0x4ca)][_0x4bea60(0x323)](_0x1d5a00)(!0x0,_0x2ca09a))return!0x1;const _0x2ccee6=_0x36c3d6(_0x80ec7f,_0x753fd9,_0x44aa1b,_0x3abdee),_0x4954df=_0x460318(_0x80ec7f,_0x2ca09a),{undos:_0x22fc41,redos:_0xb3b3a7}=_0x5706b0(_0x3b6d6b,{'pivotTableId':_0x35c68b,'unitId':_0x1102ea,'subUnitId':_0x1d366c},_0x3fcdb2);return _0x20fe91&&(_0xb3b3a7[_0x4bea60(0x41d)]({'id':_0x1b9e99['id'],'params':{'pivotTableId':_0x35c68b,'fieldJSON':_0x20fe91,'unitId':_0x1102ea,'subUnitId':_0x1d366c}}),_0x22fc41['push']({'id':_0xf85d51['id'],'params':{'pivotTableId':_0x35c68b,'dataFieldId':_0x20fe91['id'],'unitId':_0x1102ea,'subUnitId':_0x1d366c}})),_0x2fa876[_0x4bea60(0x3e6)]([..._0x2ccee6['redos'],..._0x4954df['redos'],..._0xb3b3a7],_0x3b6d6b),_0x5f5593['pushUndoRedo']({'unitID':_0x1102ea,'redoMutations':[..._0x2ccee6['redos'],..._0x4954df[_0x4bea60(0x390)],..._0xb3b3a7],'undoMutations':[..._0x2ccee6[_0x4bea60(0x443)],..._0x4954df[_0x4bea60(0x443)],..._0x22fc41]}),!0x0;}},_0x4eaa1d=()=>typeof process<'u'&&process[_0x32a484(0x1f3)]!=null&&process['versions'][_0x32a484(0x46f)]!=null,_0x22c246={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x37b),'handler'(_0x380944,_0x1c2db8){const _0xca3b10=_0x32a484;var _0x576193;if(!_0x1c2db8)return!0x1;const _0x35e7cb=_0x380944['get'](_0x2fa876[_0xca3b10(0x3da)]);if(!!_0x35e7cb[_0xca3b10(0x28b)](_0x51f97f))return!0x0;const _0x2e8b8c=_0x380944[_0xca3b10(0x3fc)](_0x2fa876[_0xca3b10(0x361)]),_0x53f69b=_0x380944[_0xca3b10(0x3fc)](_0xd0af73[_0xca3b10(0x255)]),{pivotTableId:_0x76a9a2,pivotTableConfig:_0xdb9854,collectionConfig:_0x5039aa,unitId:_0x98f669,subUnitId:_0x4e30db}=_0x1c2db8,{sourceRangeInfo:_0x24939b,fieldsConfig:_0x406d5a,targetCellInfo:_0xa4d29}=_0xdb9854,_0x58242b=_0x2e8b8c[_0xca3b10(0x1e4)](_0x98f669);if(!_0x58242b||!_0x58242b[_0xca3b10(0x493)](_0x4e30db))return!0x1;if(!_0x4eaa1d()){let _0x3156f3=0x0;_0x58242b[_0xca3b10(0x36a)]()['forEach'](_0x42c49a=>{const _0x46ce3c=_0xca3b10;var _0x3ecc34,_0x109133;_0x3156f3+=(_0x109133=(_0x3ecc34=_0x53f69b[_0x46ce3c(0x40b)](_0x98f669,_0x42c49a['getSheetId']()))==null?void 0x0:_0x3ecc34[_0x46ce3c(0x40c)])!=null?_0x109133:0x0;});const _0x22b07d=(_0x576193=_0x35e7cb['getConfig'](_0x4baa44[_0xca3b10(0x3fe)]))!=null?_0x576193:{},{ls:_0x4968e1,pbk:_0x200e21}=_0x22b07d;if(!_0x63db07(_0x4968e1,_0x200e21))throw new _0x2fa876[(_0xca3b10(0x3cc))]('limit\x20pivot');const _0x2a5634=_0x2d207d(_0x1c1f87,_0x4968e1,_0x200e21)[_0xca3b10(0x3cd)];if(_0x3156f3>=_0x2a5634)throw new _0x2fa876['CustomCommandExecutionError'](_0xca3b10(0x2ea));}if(!_0x5039aa||!_0x406d5a)return!0x1;const {collection:_0x1d2d18,updateDataFieldList:_0x4bb30e}=_0x53f69b[_0xca3b10(0x20b)](_0x76a9a2,_0x5039aa,_0x24939b,_0xa4d29);_0x53f69b[_0xca3b10(0x381)](_0x1d2d18,_0x4bb30e,_0x24939b);const _0x56c14e=new _0x33417a[(_0xca3b10(0x28e))](_0x1d2d18,void 0x0,_0x76a9a2);_0x56c14e[_0xca3b10(0x232)](_0x406d5a);const _0x57e162=JSON[_0xca3b10(0x496)](JSON[_0xca3b10(0x277)](_0xdb9854));return _0x53f69b[_0xca3b10(0x30f)](_0x98f669,_0x4e30db,_0x76a9a2,_0x56c14e,_0x57e162),_0x53f69b[_0xca3b10(0x272)]({'unitId':_0x98f669,'subUnitId':_0x4e30db,'token':_0x76a9a2,'type':_0x477731[_0xca3b10(0x401)],'pivotConfig':_0x57e162}),!0x0;}},_0x500188={'type':_0x2fa876['CommandType'][_0x32a484(0x387)],'id':_0x32a484(0x345),async 'handler'(_0x448444,_0x36f871){const _0xf29954=_0x32a484;if(!_0x36f871)return!0x1;const {sourceDataInfo:_0xdaa46e,pivotTableConfig:_0x595f87}=_0x36f871;if(!_0xdaa46e||!_0x595f87)return!0x1;const {unitId:_0x9ec546,subUnitId:_0x2434c2,range:_0x3bfed0}=_0xdaa46e,_0x216aaa=_0x448444[_0xf29954(0x3fc)](_0x2fa876[_0xf29954(0x361)]),_0x39a7a6=_0x448444[_0xf29954(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x4df87a=_0x448444[_0xf29954(0x3fc)](_0x2fa876[_0xf29954(0x3d2)]),_0x1af6bf=_0x448444['get'](_0x2fa876[_0xf29954(0x41b)]),_0x4e5564=_0x216aaa[_0xf29954(0x1e4)](_0x9ec546);if(!_0x4e5564)return!0x1;const _0xa86e98=_0x4e5564[_0xf29954(0x493)](_0x2434c2);if(!_0xa86e98)return!0x1;const _0x2a49c5=_0x33417a[_0xf29954(0x35b)](0x8),_0x2fec39=_0x3bfed0||{'startRow':0x0,'startColumn':0x0,'endRow':_0xa86e98[_0xf29954(0x4b4)]()-0x1,'endColumn':_0xa86e98['getColumnCount']()-0x1};_0x2fec39[_0xf29954(0x26d)]=_0x2fa876[_0xf29954(0x410)][_0xf29954(0x395)];const _0x40e25e=(await _0x39a7a6[_0xf29954(0x263)]({'unitId':_0x9ec546,'subUnitId':_0x2434c2,'pivotTableId':_0x2a49c5,'params':{'type':_0x1ce851['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x9ec546,'sheetName':_0xa86e98[_0xf29954(0x22d)](),'subUnitId':_0x2434c2,'range':_0x2fec39},'pivotTableId':_0x2a49c5,'pivotTableIndexConfig':_0x595f87}}}))[_0xf29954(0x210)][_0xf29954(0x1f2)];if(!_0x40e25e)return!0x1;const {isEmpty:_0x43748e,fieldsConfig:_0x2d24a1,collectionConfig:_0x4eaeda,changesets:_0x2d7541}=_0x40e25e,_0x5a7803=_0x4e5564[_0xf29954(0x36a)]()['length'],_0x15df0a=_0x2fa876['mergeWorksheetSnapshotWithDefault']({'rowCount':_0xa86e98[_0xf29954(0x4b4)]()-0x1,'columnCount':_0xa86e98[_0xf29954(0x485)]()-0x1});_0x15df0a['id']=_0x2fa876[_0xf29954(0x39c)](),_0x15df0a[_0xf29954(0x4d2)]=_0x4e5564[_0xf29954(0x238)](''+_0x4df87a['t']('sheets.tabs.sheet'));const _0x2fb2dd={'index':_0x5a7803,'sheet':_0x15df0a,'unitId':_0x9ec546},{redos:_0x1109fa}=_0x5706b0(_0x1af6bf,{'pivotTableId':_0x2a49c5,'unitId':_0x9ec546,'subUnitId':_0x15df0a['id']},_0x2d7541),_0x520a78=[{'id':_0x30840c['InsertSheetCommand']['id'],'params':_0x2fb2dd},{'id':_0x22c246['id'],'params':{'unitId':_0x9ec546,'subUnitId':_0x15df0a['id'],'pivotTableId':_0x2a49c5,'pivotTableConfig':{'isEmpty':_0x43748e,'fieldsConfig':_0x2d24a1,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x9ec546,'subUnitId':_0x15df0a['id']},'sourceRangeInfo':{'subUnitId':_0x2434c2,'unitId':_0x9ec546,'range':_0x2fec39,'sheetName':_0xa86e98[_0xf29954(0x22d)]()}},'collectionConfig':_0x4eaeda}},..._0x1109fa];return _0x2fa876['sequenceExecute'](_0x520a78,_0x1af6bf),!0x0;}},_0xe28166={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x519a46,_0x1d503f){const _0x3e12c9=_0x32a484;if(!_0x1d503f)return!0x1;if(!!_0x519a46[_0x3e12c9(0x3fc)](_0x2fa876[_0x3e12c9(0x3da)])[_0x3e12c9(0x28b)](_0x51f97f))return!0x0;const {pivotTableId:_0x4faae4,unitId:_0x19231e,subUnitId:_0x39276b}=_0x1d503f,_0x48a40d=_0x519a46[_0x3e12c9(0x3fc)](_0xd0af73[_0x3e12c9(0x255)]);return _0x48a40d[_0x3e12c9(0x2e9)](_0x19231e,_0x39276b,_0x4faae4)?(_0x48a40d['addDirtyPivotTable']({'unitId':_0x19231e,'subUnitId':_0x39276b,'token':_0x4faae4,'type':_0x477731[_0x3e12c9(0x3df)]}),_0x48a40d['removePivotTable'](_0x19231e,_0x39276b,_0x4faae4),!0x0):!0x1;}},_0x15728c={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x350),async 'handler'(_0x519aad,_0x323595){const _0x7f8e38=_0x32a484;var _0x686da5,_0x47a09f;const _0x5f50ad=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x41b)]),_0x2473c4=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876['IUniverInstanceService']),_0x43e36e=_0x519aad['get'](_0x2fa876[_0x7f8e38(0x3d2)]),_0xa7b1c8=_0x519aad[_0x7f8e38(0x3fc)](_0xd0af73[_0x7f8e38(0x3af)]),_0x4b039e=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x3bc)]),_0x5a8f55=_0x519aad['get'](_0xd0af73['SheetsPivotTableConfigModel']),_0x32d905=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x3da)]);if(!_0x323595)return!0x1;const {pivotTableConfig:_0x455dca,positionType:_0x10aa00}=_0x323595,{targetCellInfo:_0x1c7360,sourceRangeInfo:_0x2cd4b2}=_0x455dca,{unitId:_0xf9bd07,subUnitId:_0x336c23}=_0x1c7360,_0x34a69a=_0x2473c4[_0x7f8e38(0x1e4)](_0xf9bd07);if(!_0x34a69a)return!0x1;let _0x217982=0x0;_0x34a69a[_0x7f8e38(0x36a)]()[_0x7f8e38(0x4c2)](_0x5af7e7=>{const _0x562e37=_0x7f8e38;var _0x2e60c1,_0x58c537;_0x217982+=(_0x58c537=(_0x2e60c1=_0x5a8f55['getSubUnitPivotConfigs'](_0xf9bd07,_0x5af7e7[_0x562e37(0x2ca)]()))==null?void 0x0:_0x2e60c1[_0x562e37(0x40c)])!=null?_0x58c537:0x0;});const _0x3555f0=(_0x686da5=_0x32d905['getConfig'](_0x4baa44['LS_CONFIG_KEY']))!=null?_0x686da5:{},{ls:_0x15da86,pbk:_0x231520}=_0x3555f0;if(!_0x63db07(_0x15da86,_0x231520))return!0x1;const _0x109002=_0x2d207d(_0x1c1f87,_0x15da86,_0x231520)[_0x7f8e38(0x3cd)];if(_0x217982>=_0x109002)return!0x1;const _0x2f866c=_0x323595[_0x7f8e38(0x3eb)]||_0x33417a[_0x7f8e38(0x35b)](0x8),_0x2b2b6d=(await _0xa7b1c8['getPivotDisplayConfig']({'unitId':_0xf9bd07,'subUnitId':_0x336c23,'pivotTableId':_0x2f866c,'params':{'type':_0x1ce851['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x2cd4b2,'pivotTableId':_0x2f866c}}}))[_0x7f8e38(0x210)][_0x7f8e38(0x30f)];if(!_0x2b2b6d)return!0x1;const {view:_0x50ed83,isEmpty:_0x5d9dde,fieldsConfig:_0x1751f8,collectionConfig:_0x2b3d78}=_0x2b2b6d,_0x108441=[],_0x56801e=[];if(_0x10aa00===_0x323c52[_0x7f8e38(0x200)]){const _0x1adca4=_0x34a69a[_0x7f8e38(0x36a)]()[_0x7f8e38(0x249)],_0x165176=_0x2fa876[_0x7f8e38(0x460)]({});_0x165176['id']=_0x455dca['targetCellInfo'][_0x7f8e38(0x2fa)],_0x165176[_0x7f8e38(0x4d2)]=(_0x47a09f=_0x455dca['targetCellInfo'][_0x7f8e38(0x329)])!=null?_0x47a09f:_0x34a69a[_0x7f8e38(0x238)](''+_0x43e36e['t'](_0x7f8e38(0x499)));const _0x261444={'index':_0x1adca4,'sheet':_0x165176,'unitId':_0xf9bd07},_0x32fd69=_0x30840c[_0x7f8e38(0x1e1)](_0x519aad,_0x261444);_0x108441['push']({'id':_0x30840c[_0x7f8e38(0x22f)]['id'],'params':_0x32fd69}),_0x56801e['push']({'id':_0x30840c[_0x7f8e38(0x3dd)]['id'],'params':_0x261444});}else{if(!_0x34a69a[_0x7f8e38(0x493)](_0x336c23))return!0x1;const _0x183c64=_0x36c3d6(_0x519aad,new _0x33417a[(_0x7f8e38(0x22b))](),_0x1c7360,!0x0);_0x56801e[_0x7f8e38(0x296)](..._0x183c64[_0x7f8e38(0x390)]),_0x108441['push'](..._0x183c64[_0x7f8e38(0x443)]);const _0x33d1a3={'cellInfo':_0x1c7360,'view':_0x50ed83,'isEmpty':_0x5d9dde};if(!await _0x519aad['get'](_0xd0af73['SheetsPivotTableService'])[_0x7f8e38(0x4ca)][_0x7f8e38(0x323)](_0x1d5a00)(!0x0,_0x33d1a3))return!0x1;const _0x84993b=_0x460318(_0x519aad,_0x33d1a3);_0x56801e[_0x7f8e38(0x296)](..._0x84993b[_0x7f8e38(0x390)]),_0x108441[_0x7f8e38(0x296)](..._0x84993b['undos']);}return _0x56801e[_0x7f8e38(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x1c7360[_0x7f8e38(0x211)],'subUnitId':_0x1c7360[_0x7f8e38(0x2fa)],'pivotTableId':_0x2f866c,'pivotTableConfig':{'targetCellInfo':_0x1c7360,'sourceRangeInfo':_0x2cd4b2,'fieldsConfig':_0x1751f8},'collectionConfig':_0x2b3d78}}),_0x108441[_0x7f8e38(0x41d)]({'id':_0xe28166['id'],'params':{'unitId':_0xf9bd07,'subUnitId':_0x336c23,'pivotTableId':_0x2f866c}}),_0x2fa876['sequenceExecute'](_0x56801e,_0x5f50ad)&&_0x4b039e['pushUndoRedo']({'unitID':_0xf9bd07,'undoMutations':_0x108441,'redoMutations':_0x56801e}),!0x0;}},_0x4cb5ef={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x301b4f,_0x5a00c8){const _0x37d955=_0x32a484;if(!_0x5a00c8)return!0x1;const _0x3be481=_0x301b4f[_0x37d955(0x3fc)](_0x2fa876[_0x37d955(0x41b)]),_0x54b70f=_0x301b4f[_0x37d955(0x3fc)](_0xd0af73[_0x37d955(0x3af)]),_0x310181=_0x301b4f[_0x37d955(0x3fc)](_0x2fa876[_0x37d955(0x3bc)]),{pivotTableId:_0x24f9da,fieldId:_0xe624e6,area:_0x3dcf8c,index:_0x2a9a57,unitId:_0xdec28b,subUnitId:_0x393322}=_0x5a00c8,_0x57a159=(await _0x54b70f[_0x37d955(0x263)]({'unitId':_0xdec28b,'subUnitId':_0x393322,'pivotTableId':_0x24f9da,'params':{'type':_0x1ce851['MovePivotField'],'movePivotField':{'fieldId':_0xe624e6,'area':_0x3dcf8c,'index':_0x2a9a57}}}))[_0x37d955(0x210)]['movePivotField'];if(!_0x57a159)return!0x1;const {changesets:_0x39537f,view:_0xea9c27,isEmpty:_0x201296,pivotTableConfig:_0x54e3ad}=_0x57a159,_0x13160c=_0x54e3ad[_0x37d955(0x412)],_0x2a3125=new _0x33417a[(_0x37d955(0x22b))]();_0x2a3125[_0x37d955(0x298)](_0xea9c27);const _0x5acc94={'cellInfo':_0x13160c,'view':_0x2a3125,'isEmpty':_0x201296};if(!await _0x301b4f[_0x37d955(0x3fc)](_0xd0af73[_0x37d955(0x21f)])[_0x37d955(0x4ca)][_0x37d955(0x323)](_0x1d5a00)(!0x0,_0x5acc94))return!0x1;const _0x3a4635=_0x36c3d6(_0x301b4f,_0x2a3125,_0x13160c,_0x201296),_0x3d63a5=_0x460318(_0x301b4f,_0x5acc94),{redos:_0x5241aa,undos:_0x2ef86d}=_0x5706b0(_0x3be481,{'pivotTableId':_0x24f9da,'unitId':_0xdec28b,'subUnitId':_0x393322},_0x39537f);return _0x2fa876[_0x37d955(0x3e6)]([..._0x3a4635[_0x37d955(0x390)],..._0x3d63a5[_0x37d955(0x390)],..._0x5241aa],_0x3be481),_0x310181['pushUndoRedo']({'unitID':_0xdec28b,'redoMutations':[..._0x3a4635[_0x37d955(0x390)],..._0x3d63a5[_0x37d955(0x390)],..._0x5241aa],'undoMutations':[..._0x3a4635[_0x37d955(0x443)],..._0x3d63a5[_0x37d955(0x443)],..._0x2ef86d]}),!0x0;}},_0x1de3f8={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.set-pivot-position','handler'(_0x25f2b0,_0x348915){const _0x542f5e=_0x32a484;if(!_0x348915)return!0x1;if(!!_0x25f2b0[_0x542f5e(0x3fc)](_0x2fa876[_0x542f5e(0x3da)])['getConfig'](_0x51f97f))return!0x0;const {pivotTableId:_0x21c511,targetCellPosition:_0x44df3d,unitId:_0x1d8b23,subUnitId:_0x25996b}=_0x348915,_0x1e3213=_0x25f2b0['get'](_0xd0af73['SheetsPivotDataSourceModel']);if(!_0x1e3213[_0x542f5e(0x47b)](_0x348915[_0x542f5e(0x3eb)]))return!0x1;const _0x29df57=_0x1e3213[_0x542f5e(0x4aa)](_0x21c511);if(!_0x29df57)return!0x1;const _0x2d92e0=_0x1e3213[_0x542f5e(0x336)](_0x29df57[_0x542f5e(0x211)],_0x348915[_0x542f5e(0x3eb)]);if(!_0x2d92e0)return!0x1;const _0x357e31=_0x1e3213[_0x542f5e(0x2e9)](_0x29df57[_0x542f5e(0x211)],_0x29df57['subUnitId'],_0x21c511);if(!_0x357e31)return!0x1;const _0x16cc13=_0x2fa876[_0x542f5e(0x3f2)][_0x542f5e(0x2a4)](_0x357e31);_0x16cc13[_0x542f5e(0x412)]={'unitId':_0x1d8b23,'subUnitId':_0x25996b,'row':_0x44df3d[_0x542f5e(0x213)],'col':_0x44df3d[_0x542f5e(0x38d)]};const _0x2da778=_0x2d92e0[_0x542f5e(0x4ab)]();if(_0x29df57[_0x542f5e(0x2fa)]===_0x25996b&&_0x29df57[_0x542f5e(0x211)]===_0x1d8b23)_0x1e3213[_0x542f5e(0x292)](_0x1d8b23,_0x25996b,_0x21c511,_0x16cc13),_0x1e3213['addDirtyPivotTable']({'unitId':_0x1d8b23,'subUnitId':_0x25996b,'token':_0x21c511,'type':_0x477731[_0x542f5e(0x47a)]});else{_0x1e3213[_0x542f5e(0x272)]({'unitId':_0x29df57['unitId'],'subUnitId':_0x29df57[_0x542f5e(0x2fa)],'token':_0x21c511,'type':_0x477731[_0x542f5e(0x3df)]}),_0x1e3213['removePivotTable'](_0x29df57['unitId'],_0x29df57['subUnitId'],_0x21c511);const _0x5c9b8a=_0x1e3213[_0x542f5e(0x20b)](_0x21c511,_0x2da778,_0x357e31[_0x542f5e(0x218)],_0x16cc13[_0x542f5e(0x412)]),_0x3cd725=new _0x33417a[(_0x542f5e(0x28e))](_0x5c9b8a[_0x542f5e(0x473)],void 0x0,_0x21c511);_0x3cd725['fromJSON'](_0x16cc13[_0x542f5e(0x481)]),_0x1e3213[_0x542f5e(0x30f)](_0x1d8b23,_0x25996b,_0x21c511,_0x3cd725,_0x16cc13),_0x1e3213[_0x542f5e(0x272)]({'unitId':_0x1d8b23,'subUnitId':_0x25996b,'token':_0x21c511,'type':_0x477731['Add'],'pivotConfig':_0x16cc13});}return!0x0;}},_0x35a97c={'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'id':_0x32a484(0x3a8),'handler':(_0xd19893,_0x5542df)=>{const _0x346f52=_0x32a484,_0x48dd01=_0xd19893[_0x346f52(0x3fc)](_0x2fa876[_0x346f52(0x41b)]),_0x131a51=_0xd19893[_0x346f52(0x3fc)](_0x2fa876['IUndoRedoService']),_0x52f08f=_0xd19893[_0x346f52(0x3fc)](_0xd0af73[_0x346f52(0x32b)]),_0x3efa9f=_0xd19893[_0x346f52(0x3fc)](_0x2fa876[_0x346f52(0x361)]);if(!_0x5542df)return!0x1;const _0x41cbaf=_0x30840c[_0x346f52(0x279)](_0x3efa9f);if(!_0x41cbaf)return!0x1;const {unitId:_0x54a176,subUnitId:_0x31061e,workbook:_0xdba168}=_0x41cbaf,_0x57f944=_0x52f08f[_0x346f52(0x2e9)](_0x5542df[_0x346f52(0x367)][_0x346f52(0x211)],_0x5542df['originTargetInfo'][_0x346f52(0x2fa)],_0x5542df[_0x346f52(0x3eb)]);if(!_0x57f944)return!0x1;const _0x25dba2=_0xdba168['getSheetBySheetId'](_0x5542df['targetCellInfo']['subUnitId']);if(!_0x25dba2)throw new Error(_0x346f52(0x21d));const _0x43575d=_0x25dba2[_0x346f52(0x4b4)](),_0x50f0f2=_0x25dba2[_0x346f52(0x485)]();if(_0x5542df[_0x346f52(0x412)][_0x346f52(0x213)]>_0x43575d||_0x5542df[_0x346f52(0x412)][_0x346f52(0x38d)]>_0x50f0f2)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0xd84057=[{'id':_0x1de3f8['id'],'params':{'unitId':_0x54a176,'subUnitId':_0x5542df[_0x346f52(0x412)][_0x346f52(0x2fa)],'pivotTableId':_0x5542df[_0x346f52(0x3eb)],'targetCellPosition':{'row':_0x5542df[_0x346f52(0x412)][_0x346f52(0x213)],'col':_0x5542df[_0x346f52(0x412)][_0x346f52(0x38d)]}}}],_0x493592=[{'id':_0x1de3f8['id'],'params':{'unitId':_0x54a176,'subUnitId':_0x31061e,'pivotTableId':_0x5542df['pivotTableId'],'targetCellPosition':{'row':_0x57f944[_0x346f52(0x412)]['row'],'col':_0x57f944[_0x346f52(0x412)]['col']}}}];return _0x2fa876[_0x346f52(0x3e6)](_0xd84057,_0x48dd01)&&_0x131a51['pushUndoRedo']({'unitID':_0x54a176,'undoMutations':_0x493592,'redoMutations':_0xd84057}),!0x0;}},_0x3c4350={'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'id':_0x32a484(0x24e),async 'handler'(_0x582c60,_0x17408f){const _0x3ecfdb=_0x32a484;var _0x681d73;if(!_0x17408f)return!0x1;const _0x401b6a=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x361)]),_0x5dc106=_0x30840c[_0x3ecfdb(0x279)](_0x401b6a);if(!_0x5dc106)return!0x1;const {unitId:_0x510fe1,subUnitId:_0x136661,workbook:_0x42c976}=_0x5dc106,{row:_0x3ff266,col:_0x423fa8}=_0x17408f,_0x21cd09=_0x582c60[_0x3ecfdb(0x3fc)](_0xd0af73[_0x3ecfdb(0x404)]),_0x2b1235=_0x21cd09[_0x3ecfdb(0x2d4)](_0x510fe1,_0x136661,_0x3ff266,_0x423fa8);if(!_0x2b1235)return!0x1;const _0x4766bd=(_0x681d73=_0x21cd09[_0x3ecfdb(0x2d5)](_0x510fe1,_0x136661,_0x2b1235))==null?void 0x0:_0x681d73[_0x3ecfdb(0x206)];if(!_0x4766bd)return!0x1;const _0x50d3ba=_0x582c60[_0x3ecfdb(0x3fc)](_0xd0af73[_0x3ecfdb(0x32b)])[_0x3ecfdb(0x2e9)](_0x510fe1,_0x136661,_0x2b1235);if(!_0x50d3ba)return!0x1;const {rowInfo:_0x2c04f0,colInfo:_0x180e0c}=_0x4766bd,_0x5df3d1=_0x2c04f0[_0x3ff266]['paths'],_0x9cfa61=_0x180e0c[_0x423fa8][_0x3ecfdb(0x266)],_0x5db77e=_0x2c04f0[_0x3ff266][_0x3ecfdb(0x1e8)],_0x110118=_0x180e0c[_0x423fa8][_0x3ecfdb(0x1e8)],_0x42c941=_0x5df3d1[_0x3ecfdb(0x398)](_0x9cfa61),_0x32dcca=_0x50d3ba[_0x3ecfdb(0x481)][_0x3ecfdb(0x3e2)][_0x3ecfdb(0x1f8)](0x0,_0x5db77e),_0x4f4970=_0x50d3ba['fieldsConfig'][_0x3ecfdb(0x2f7)][_0x3ecfdb(0x1f8)](0x0,_0x110118),_0x55f2e6=_0x32dcca['concat'](_0x4f4970),_0x222c1a=_0x42c941[_0x3ecfdb(0x2a0)]((_0x3676d9,_0x22331e)=>[_0x3676d9,_0x55f2e6[_0x22331e]]),_0x135d47=(await _0x582c60['get'](_0xd0af73[_0x3ecfdb(0x3af)])[_0x3ecfdb(0x263)]({'unitId':_0x510fe1,'subUnitId':_0x136661,'pivotTableId':_0x2b1235,'params':{'type':_0x1ce851['DrillDown'],'drillDown':{'tuple':_0x222c1a}}}))[_0x3ecfdb(0x210)]['drillDown'];if(!_0x135d47)return!0x1;const {indexes:_0x5d44cd,range:_0x3bfcf8,sourceUnitId:_0x161cba,sourceSubUnitId:_0xce802f,formatMap:_0x4069bd}=_0x135d47,{startRow:_0x5a6cbc,endRow:_0x27664b,startColumn:_0x3db454,endColumn:_0x3b5bf3}=_0x3bfcf8,_0x1ad1b4=new _0x2fa876[(_0x3ecfdb(0x48a))](),_0x2e59dc=_0x27664b-_0x5a6cbc,_0xf7e3f2=_0x3b5bf3-_0x3db454,_0x844e39={},_0x4ebd59=_0x30840c[_0x3ecfdb(0x279)](_0x401b6a,{'unitId':_0x161cba,'subUnitId':_0xce802f});if(!_0x4ebd59)return!0x1;const _0x22f0d7=_0x226288[_0x3ecfdb(0x4c9)],_0x44ec23=_0x226288[_0x3ecfdb(0x23a)],_0x42c86e=_0x226288[_0x3ecfdb(0x23a)],_0x41758a=_0x42c976['getStyles']()[_0x3ecfdb(0x280)](_0x22f0d7),_0x48f928=_0x42c976[_0x3ecfdb(0x2bb)]()[_0x3ecfdb(0x280)](_0x44ec23),_0x4406c4=_0x42c976[_0x3ecfdb(0x2bb)]()[_0x3ecfdb(0x280)](_0x42c86e),{worksheet:_0x2467e0}=_0x4ebd59;let _0x4402cb=0x0;const _0x4b3123=0x1;_0x5d44cd['forEach'](_0x2d2c88=>{const _0x58381f=_0x3ecfdb;for(let _0x12e3a2=0x0;_0x12e3a2<=_0x3b5bf3-_0x3db454;_0x12e3a2++)_0x1ad1b4['setValue'](_0x4402cb,_0x12e3a2,_0x2467e0['getCellRaw'](_0x2d2c88+_0x3bfcf8[_0x58381f(0x340)]+_0x4b3123,_0x12e3a2));_0x4402cb++;});for(let _0x48db9d=_0x3db454;_0x48db9d<=_0x3b5bf3;_0x48db9d++){const _0x35437a=_0x2467e0[_0x3ecfdb(0x3d7)](_0x5a6cbc,_0x48db9d);_0x844e39[_0x5a6cbc]||(_0x844e39[_0x5a6cbc]={}),_0x844e39[_0x5a6cbc][_0x48db9d]={..._0x35437a,'s':_0x41758a};}let _0xe734ba=0x1;const _0x124522={},_0x494bb4={};_0x1ad1b4[_0x3ecfdb(0x2d2)]((_0x895028,_0xc25018)=>{const _0x23e6b9=_0x3ecfdb;_0xc25018[_0x23e6b9(0x4c2)](_0x5cd19b=>{const _0x273bfe=_0x23e6b9,_0x15987d=_0x1ad1b4[_0x273bfe(0x250)](_0x895028,_0x5cd19b);if(_0x844e39[_0xe734ba]||(_0x844e39[_0xe734ba]={}),_0x844e39[_0xe734ba][_0x5cd19b]={..._0x15987d,'s':_0xe734ba%0x2===0x0?_0x4406c4:_0x48f928},_0x4069bd[_0x5cd19b]&&_0x895028>=0x0){const _0xc9f770=_0xe734ba%0x2===0x0;let _0x368e66=_0xc9f770?_0x494bb4[_0x5cd19b]:_0x124522[_0x5cd19b];_0x368e66||(_0x368e66=_0x42c976[_0x273bfe(0x2bb)]()['setValue']({..._0xc9f770?_0x42c86e:_0x44ec23,'n':{'pattern':_0x4069bd[_0x5cd19b]}}),_0xc9f770?_0x494bb4[_0x5cd19b]=_0x368e66:_0x124522[_0x5cd19b]=_0x368e66),_0x844e39[_0xe734ba][_0x5cd19b]['s']=_0x368e66;}}),_0xe734ba++;});const _0x3f5002=new _0x2fa876['ObjectMatrix'](_0x844e39),_0x20d2bc={};_0x3f5002[_0x3ecfdb(0x3ed)]((_0x1c79a7,_0x519f38,_0x5e3730)=>{_0x20d2bc[_0x1c79a7]||(_0x20d2bc[_0x1c79a7]={}),_0x20d2bc[_0x1c79a7][_0x519f38]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x17b4a8=[],_0xcb2a2b=[],_0x448563=_0x42c976[_0x3ecfdb(0x36a)]()[_0x3ecfdb(0x249)],_0x5a4409=_0x2fa876['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x3ecfdb(0x1f9)](_0x2fa876['DEFAULT_WORKSHEET_ROW_COUNT'],_0x2e59dc+0xa),'columnCount':Math['max'](_0x2fa876[_0x3ecfdb(0x39e)],_0xf7e3f2+0x5)}),_0x1a6162=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x3d2)]);_0x5a4409['id']=_0x2fa876[_0x3ecfdb(0x39c)](),_0x5a4409[_0x3ecfdb(0x4d2)]=_0x42c976[_0x3ecfdb(0x238)](''+_0x1a6162['t'](_0x3ecfdb(0x499)));const _0x400930={'index':_0x448563,'sheet':_0x5a4409,'unitId':_0x510fe1},_0x1e2a53=_0x30840c[_0x3ecfdb(0x1e1)](_0x582c60,_0x400930);_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x30840c['InsertSheetMutation']['id'],'params':_0x400930}),_0x17b4a8[_0x3ecfdb(0x296)]({'id':_0x30840c[_0x3ecfdb(0x22f)]['id'],'params':_0x1e2a53}),_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x30840c['SetRangeValuesMutation']['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'cellValue':_0x844e39}}),_0x17b4a8[_0x3ecfdb(0x41d)]({'id':_0x30840c[_0x3ecfdb(0x35d)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'cellValue':_0x20d2bc}});const _0x45267e={'startRow':0x0,'startColumn':0x0,'endRow':_0xe734ba-0x1,'endColumn':_0x3b5bf3};_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x537f85[_0x3ecfdb(0x294)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'range':_0x45267e}}),_0x17b4a8[_0x3ecfdb(0x41d)]({'id':_0x537f85[_0x3ecfdb(0x488)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id']}});const _0x464a53=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x41b)]);return _0x2fa876[_0x3ecfdb(0x3e6)](_0xcb2a2b,_0x464a53)&&_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x3bc)])[_0x3ecfdb(0x34d)]({'unitID':_0x510fe1,'undoMutations':_0x17b4a8,'redoMutations':_0xcb2a2b}),!0x0;}},_0x429f9b={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2e4),async 'handler'(_0x59a7a0,_0x587d40){const _0x182adb=_0x32a484;if(!_0x587d40)return!0x1;const _0x7696ad=_0x59a7a0[_0x182adb(0x3fc)](_0x2fa876[_0x182adb(0x41b)]),_0x5dd685=_0x59a7a0[_0x182adb(0x3fc)](_0xd0af73[_0x182adb(0x3af)]),_0xffcea0=_0x59a7a0[_0x182adb(0x3fc)](_0x2fa876['IUndoRedoService']),{pivotTableId:_0x12ffef,fieldIds:_0x610655,unitId:_0xd68cc3,subUnitId:_0x1a93b1}=_0x587d40,_0x150825=(await _0x5dd685[_0x182adb(0x263)]({'unitId':_0xd68cc3,'subUnitId':_0x1a93b1,'pivotTableId':_0x12ffef,'params':{'type':_0x1ce851[_0x182adb(0x339)],'removePivotField':{'fieldIds':_0x610655}}}))[_0x182adb(0x210)][_0x182adb(0x45b)];if(!_0x150825)return!0x1;const {view:_0x5db67f,changesets:_0x5a952d,isEmpty:_0x5a294b,pivotTableConfig:_0x1e9345}=_0x150825,_0x507e4d=_0x1e9345[_0x182adb(0x412)],_0x354b18=new _0x33417a[(_0x182adb(0x22b))]();_0x354b18[_0x182adb(0x298)](_0x5db67f);const _0x2cc2d3={'cellInfo':_0x507e4d,'view':_0x354b18,'isEmpty':_0x5a294b};if(!await _0x59a7a0[_0x182adb(0x3fc)](_0xd0af73[_0x182adb(0x21f)])[_0x182adb(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x2cc2d3))return!0x1;const _0x26bda5=_0x36c3d6(_0x59a7a0,_0x354b18,_0x507e4d,_0x5a294b),_0x7219e9=_0x460318(_0x59a7a0,_0x2cc2d3),{redos:_0x5b21c6,undos:_0x23ee07}=_0x5706b0(_0x7696ad,{'pivotTableId':_0x12ffef,'unitId':_0xd68cc3,'subUnitId':_0x1a93b1},_0x5a952d);return _0x2fa876[_0x182adb(0x3e6)]([..._0x26bda5[_0x182adb(0x390)],..._0x7219e9['redos'],..._0x5b21c6],_0x7696ad),_0xffcea0[_0x182adb(0x34d)]({'unitID':_0xd68cc3,'redoMutations':[..._0x26bda5[_0x182adb(0x390)],..._0x7219e9['redos'],..._0x5b21c6],'undoMutations':[..._0x26bda5[_0x182adb(0x443)],..._0x7219e9[_0x182adb(0x443)],..._0x23ee07]}),!0x0;}},_0x34b67e={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x49a),async 'handler'(_0x9c9118,_0x35dad9){const _0x367a0a=_0x32a484;if(!_0x35dad9)return!0x1;const _0x2d1e49=_0x9c9118['get'](_0x2fa876[_0x367a0a(0x41b)]),_0x3b4ede=_0x9c9118[_0x367a0a(0x3fc)](_0x2fa876[_0x367a0a(0x3bc)]),_0x451668=_0x9c9118[_0x367a0a(0x3fc)](_0xd0af73[_0x367a0a(0x3af)]),{resetArea:_0x5b1099,pivotTableId:_0x1b737c,unitId:_0x4461fb,subUnitId:_0xedddfc}=_0x35dad9,_0x2e9514=(await _0x451668['getPivotDisplayConfig']({'unitId':_0x4461fb,'subUnitId':_0xedddfc,'pivotTableId':_0x1b737c,'params':{'type':_0x1ce851['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x1b737c,'resetArea':_0x5b1099}}}))[_0x367a0a(0x210)][_0x367a0a(0x344)];if(!_0x2e9514)return!0x1;const {changesets:_0x165f3c}=_0x2e9514,{redos:_0x4481c5,undos:_0x12b26e}=_0x5706b0(_0x2d1e49,{'pivotTableId':_0x1b737c,'unitId':_0x4461fb,'subUnitId':_0xedddfc},_0x165f3c);return _0x2fa876[_0x367a0a(0x3e6)](_0x4481c5,_0x2d1e49),_0x3b4ede[_0x367a0a(0x34d)]({'unitID':_0x4461fb,'redoMutations':_0x4481c5,'undoMutations':_0x12b26e}),!0x0;}},_0xef2bc4={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x1da),async 'handler'(_0x2ce761,_0xce4285){const _0x231acc=_0x32a484,_0x351ce4=_0x2ce761['get'](_0x2fa876['ICommandService']),_0x2b032c=_0x2ce761['get'](_0xd0af73['SheetsPivotRPCService']),_0x232ea0=_0x2ce761[_0x231acc(0x3fc)](_0xd0af73[_0x231acc(0x404)]),_0x175aca=_0x2ce761['get'](_0x2fa876[_0x231acc(0x361)]),_0x877dd5=_0x2ce761[_0x231acc(0x3fc)](_0x2fa876[_0x231acc(0x3d2)]),_0x13fc35=_0x2ce761['get'](_0x2fa876[_0x231acc(0x3bc)]);if(!_0xce4285)return!0x1;const {unitId:_0xcee7d,subUnitId:_0x193c43,row:_0x5ea88f,col:_0xe80b72,collapse:_0x25cced}=_0xce4285,_0x441818=_0x175aca['getUnit'](_0xcee7d);if(!_0x441818||!_0x441818[_0x231acc(0x493)](_0x193c43))return!0x1;const _0x3f1144=_0x232ea0[_0x231acc(0x2d4)](_0xcee7d,_0x193c43,_0x5ea88f,_0xe80b72);if(!_0x3f1144)return!0x1;const _0x22ec0d=_0x232ea0['getPivotItemRenderInfoCache'](_0xcee7d,_0x193c43,_0x3f1144);if(!_0x22ec0d)return!0x1;const _0x3b91ee=_0x2fa876[_0x231acc(0x4bd)](_0x5ea88f,_0xe80b72),{rangesInfo:_0x4c69a0,areaInfo:_0x23746a,headerMap:_0x3158ae}=_0x22ec0d;if(!_0x4c69a0||!_0x23746a||!_0x3158ae)return!0x1;const _0x1be61d=Object['keys'](_0x4c69a0)[_0x231acc(0x475)](_0x1de42e=>_0x4c69a0[_0x1de42e][_0x231acc(0x26a)](_0x3f79e9=>_0x2fa876[_0x231acc(0x3b2)]['contains'](_0x3f79e9,_0x3b91ee)));let _0x2bd35c;_0x1be61d===_0x231acc(0x22a)?_0x2bd35c=_0x3158ae[_0x231acc(0x35e)][_0xe80b72]:_0x1be61d===_0x231acc(0x237)&&(_0x2bd35c=_0x3158ae[_0x231acc(0x22c)][_0x5ea88f]);const _0x4df3a3=_0x2bd35c==null?void 0x0:_0x2bd35c[_0x231acc(0x407)],_0x5edde0=_0x232ea0['getPivotTableCellData'](_0xcee7d,_0x193c43,_0x5ea88f,_0xe80b72);let _0x1b5307=_0x5edde0==null?void 0x0:_0x5edde0['v'];if(_0x1b5307===_0x877dd5['t'](_0x231acc(0x318))&&(_0x1b5307=_0x33417a[_0x231acc(0x497)]['BLANK_PLACEHOLDER']),_0x1b5307==null||!_0x3f1144||!_0x4df3a3)return!0x1;const _0x204e7c=await _0x2b032c['getPivotDisplayConfig']({'unitId':_0xcee7d,'subUnitId':_0x193c43,'pivotTableId':_0x3f1144,'params':{'type':_0x1ce851[_0x231acc(0x4c0)],'setPivotCollapse':{'tableFieldId':_0x4df3a3,'collapse':_0x25cced,'item':_0x1b5307}}}),_0x519ad0=_0x204e7c==null?void 0x0:_0x204e7c['result'][_0x231acc(0x353)];if(!_0x519ad0)return!0x1;const {view:_0x4135ce,pivotTableConfig:_0x47ebf3,isEmpty:_0x268047,changesets:_0x4b0518}=_0x519ad0,_0x44dd70=new _0x33417a['PivotView']();_0x44dd70[_0x231acc(0x298)](_0x4135ce);const _0x462594=_0x47ebf3[_0x231acc(0x412)],_0x5eb461={'cellInfo':_0x462594,'view':_0x44dd70,'isEmpty':_0x268047};if(!await _0x2ce761[_0x231acc(0x3fc)](_0xd0af73['SheetsPivotTableService'])[_0x231acc(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x5eb461))return!0x1;const _0x3a81ca=_0x36c3d6(_0x2ce761,_0x44dd70,_0x462594,_0x268047),_0x2edcb5=_0x460318(_0x2ce761,_0x5eb461),{redos:_0x5ae2f7,undos:_0x5e0e87}=_0x5706b0(_0x351ce4,{'pivotTableId':_0x3f1144,'unitId':_0xcee7d,'subUnitId':_0x193c43},_0x4b0518);return _0x2fa876[_0x231acc(0x3e6)]([..._0x3a81ca[_0x231acc(0x390)],..._0x2edcb5[_0x231acc(0x390)],..._0x5ae2f7],_0x351ce4),_0x13fc35[_0x231acc(0x34d)]({'unitID':_0xcee7d,'redoMutations':[..._0x3a81ca[_0x231acc(0x390)],..._0x2edcb5['redos'],..._0x5ae2f7],'undoMutations':[..._0x3a81ca['undos'],..._0x2edcb5[_0x231acc(0x443)],..._0x5e0e87]}),!0x0;}},_0x260d7f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x3b7),async 'handler'(_0x18d159,_0x2b9077){const _0x203d7e=_0x32a484;if(!_0x2b9077)return!0x1;const _0x192401=_0x18d159[_0x203d7e(0x3fc)](_0x2fa876['ICommandService']),_0x8f9b27=_0x18d159[_0x203d7e(0x3fc)](_0x2fa876[_0x203d7e(0x3bc)]),_0x4b7a6c=_0x18d159[_0x203d7e(0x3fc)](_0xd0af73['SheetsPivotRPCService']),{pivotTableConfig:_0x19b5cb,pivotTableId:_0x4c409,unitId:_0x385441,subUnitId:_0x29fc29}=_0x2b9077,_0x1bfada=(await _0x4b7a6c['getPivotDisplayConfig']({'unitId':_0x385441,'subUnitId':_0x29fc29,'pivotTableId':_0x4c409,'params':{'type':_0x1ce851[_0x203d7e(0x2e3)],'setPivotTableConfig':{'pivotTableId':_0x4c409,'pivotTableConfig':_0x19b5cb}}}))[_0x203d7e(0x210)][_0x203d7e(0x4a2)];if(!_0x1bfada)return!0x1;const {changesets:_0x1cbf18}=_0x1bfada,{redos:_0x268c43,undos:_0x26ac0b}=_0x5706b0(_0x192401,{'pivotTableId':_0x4c409,'unitId':_0x385441,'subUnitId':_0x29fc29},_0x1cbf18);return _0x2fa876['sequenceExecute'](_0x268c43,_0x192401),_0x8f9b27[_0x203d7e(0x34d)]({'unitID':_0x385441,'redoMutations':_0x268c43,'undoMutations':_0x26ac0b}),!0x0;}},_0x10b4bf={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x20f),async 'handler'(_0x559fe2,_0x81ffe6){const _0x1a90d7=_0x32a484;if(!_0x81ffe6)return!0x1;const _0x31465f=_0x559fe2[_0x1a90d7(0x3fc)](_0x2fa876['ICommandService']),{pivotTableId:_0x262c2d,tableFieldId:_0x4da7a,items:_0x32b4fc,unitId:_0x5de94e,subUnitId:_0x1dec16,isAll:_0x15ac01}=_0x81ffe6,_0x32b672=_0x559fe2[_0x1a90d7(0x3fc)](_0xd0af73[_0x1a90d7(0x3af)]),_0x2434d7=_0x559fe2[_0x1a90d7(0x3fc)](_0x2fa876[_0x1a90d7(0x3bc)]),_0x18b194=(await _0x32b672['getPivotDisplayConfig']({'unitId':_0x5de94e,'subUnitId':_0x1dec16,'pivotTableId':_0x262c2d,'params':{'type':_0x1ce851[_0x1a90d7(0x1e6)],'setPivotFilter':{'tableFieldId':_0x4da7a,'items':_0x32b4fc,'isAll':_0x15ac01}}}))[_0x1a90d7(0x210)][_0x1a90d7(0x38e)];if(!_0x18b194)return!0x1;const {changesets:_0x18e742,pivotTableConfig:_0x233cbd,isEmpty:_0x3258a0,view:_0x541497}=_0x18b194,_0x3cc9a2=_0x233cbd[_0x1a90d7(0x412)],_0xa095a=new _0x33417a[(_0x1a90d7(0x22b))]();_0xa095a[_0x1a90d7(0x298)](_0x541497);const _0xf9d475={'cellInfo':_0x3cc9a2,'view':_0xa095a,'isEmpty':_0x3258a0};if(!await _0x559fe2['get'](_0xd0af73[_0x1a90d7(0x21f)])[_0x1a90d7(0x4ca)][_0x1a90d7(0x323)](_0x1d5a00)(!0x0,_0xf9d475))return!0x1;const _0x1d13b1=_0x36c3d6(_0x559fe2,_0xa095a,_0x3cc9a2,_0x3258a0),_0x1490eb=_0x460318(_0x559fe2,_0xf9d475),{undos:_0x4b44fb,redos:_0x3800c8}=_0x5706b0(_0x31465f,{'pivotTableId':_0x262c2d,'unitId':_0x5de94e,'subUnitId':_0x1dec16},_0x18e742);return _0x2fa876[_0x1a90d7(0x3e6)]([..._0x1d13b1[_0x1a90d7(0x390)],..._0x1490eb[_0x1a90d7(0x390)],..._0x3800c8],_0x31465f),_0x2434d7[_0x1a90d7(0x34d)]({'unitID':_0x5de94e,'redoMutations':[..._0x1d13b1[_0x1a90d7(0x390)],..._0x1490eb[_0x1a90d7(0x390)],..._0x3800c8],'undoMutations':[..._0x1d13b1[_0x1a90d7(0x443)],..._0x1490eb[_0x1a90d7(0x443)],..._0x4b44fb]}),!0x0;}},_0x559985={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2f0),async 'handler'(_0x16a6c0,_0x1ed5f8){const _0x412ee3=_0x32a484;if(!_0x1ed5f8)return!0x1;const _0x1ec79c=_0x16a6c0[_0x412ee3(0x3fc)](_0x2fa876[_0x412ee3(0x41b)]),_0x3c4262=_0x16a6c0['get'](_0x2fa876[_0x412ee3(0x3bc)]),_0x49449f=_0x16a6c0[_0x412ee3(0x3fc)](_0xd0af73['SheetsPivotRPCService']),{info:_0xefd97b,tableFieldId:_0x5bbe70,pivotTableId:_0x4af18d,unitId:_0x3a0486,subUnitId:_0x5c8aed}=_0x1ed5f8,_0x2cb03a=(await _0x49449f[_0x412ee3(0x263)]({'unitId':_0x3a0486,'subUnitId':_0x5c8aed,'pivotTableId':_0x4af18d,'params':{'type':_0x1ce851[_0x412ee3(0x4d3)],'setPivotSort':{'tableFieldId':_0x5bbe70,'info':_0xefd97b}}}))[_0x412ee3(0x210)][_0x412ee3(0x20c)];if(!_0x2cb03a)return!0x1;const {changesets:_0x4479b5}=_0x2cb03a,{redos:_0x23e4e4,undos:_0x307cde}=_0x5706b0(_0x1ec79c,{'pivotTableId':_0x4af18d,'unitId':_0x3a0486,'subUnitId':_0x5c8aed},_0x4479b5);return _0x2fa876['sequenceExecute'](_0x23e4e4,_0x1ec79c),_0x3c4262[_0x412ee3(0x34d)]({'unitID':_0x3a0486,'redoMutations':_0x23e4e4,'undoMutations':_0x307cde}),!0x0;}},_0x29b10f={'type':_0x2fa876['CommandType'][_0x32a484(0x387)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x2cfed5,_0x48fd08){const _0x20c848=_0x32a484;if(!_0x48fd08)return!0x1;const _0x2a06be=_0x2cfed5[_0x20c848(0x3fc)](_0x2fa876[_0x20c848(0x41b)]),{pivotTableId:_0x288f39,fieldId:_0x209304,valueFilterInfo:_0xff0a3d,unitId:_0x165565,subUnitId:_0xde2ea6}=_0x48fd08,_0x4852d4=_0x2cfed5[_0x20c848(0x3fc)](_0xd0af73[_0x20c848(0x3af)]),_0x25765b=_0x2cfed5[_0x20c848(0x3fc)](_0x2fa876['IUndoRedoService']),_0x58a0a7=(await _0x4852d4[_0x20c848(0x263)]({'unitId':_0x165565,'subUnitId':_0xde2ea6,'pivotTableId':_0x288f39,'params':{'type':_0x1ce851['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x209304,'filterInfo':_0xff0a3d}}}))[_0x20c848(0x210)][_0x20c848(0x454)];if(!_0x58a0a7)return!0x1;const {changesets:_0x1e6b3e,pivotTableConfig:_0xdad23,isEmpty:_0x2fd19d,view:_0x1500e9}=_0x58a0a7,_0x5179b4=_0xdad23[_0x20c848(0x412)],_0x5b57d7=new _0x33417a['PivotView']();_0x5b57d7[_0x20c848(0x298)](_0x1500e9);const _0x29fc58={'cellInfo':_0x5179b4,'view':_0x5b57d7,'isEmpty':_0x2fd19d};if(!await _0x2cfed5[_0x20c848(0x3fc)](_0xd0af73[_0x20c848(0x21f)])[_0x20c848(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x29fc58))return!0x1;const _0x2b4756=_0x36c3d6(_0x2cfed5,_0x5b57d7,_0x5179b4,_0x2fd19d),_0x3a148b=_0x460318(_0x2cfed5,_0x29fc58),{undos:_0x21ba73,redos:_0x35c62e}=_0x5706b0(_0x2a06be,{'pivotTableId':_0x288f39,'unitId':_0x165565,'subUnitId':_0xde2ea6},_0x1e6b3e);return _0x2fa876[_0x20c848(0x3e6)]([..._0x2b4756['redos'],..._0x3a148b['redos'],..._0x35c62e],_0x2a06be),_0x25765b[_0x20c848(0x34d)]({'unitID':_0x165565,'redoMutations':[..._0x2b4756['redos'],..._0x3a148b[_0x20c848(0x390)],..._0x35c62e],'undoMutations':[..._0x2b4756['undos'],..._0x3a148b[_0x20c848(0x443)],..._0x21ba73]}),!0x0;}},_0x502ff1={'id':_0x32a484(0x403),'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'handler':(_0x580482,_0x5cda2c)=>{const _0x5598b3=_0x32a484;if(!_0x5cda2c)return!0x1;if(!!_0x580482['get'](_0x2fa876[_0x5598b3(0x3da)])[_0x5598b3(0x28b)](_0x51f97f))return!0x0;const {unitId:_0x58ffe8,subUnitId:_0x24746f,pivotTableId:_0x29ccb7,tableFieldId:_0x4bb25e,dateType:_0x5829c5}=_0x5cda2c,_0x85df7d=_0x580482['get'](_0xd0af73[_0x5598b3(0x255)]),_0x360c9e=_0x85df7d['getPivotTableInstance'](_0x29ccb7);if(!_0x360c9e)return!0x1;const _0x363382=_0x360c9e[_0x5598b3(0x2dd)](_0x4bb25e);if(!_0x363382)return!0x1;const _0x1c8f8f=_0x363382[_0x5598b3(0x45a)](),_0xb9b16=_0x360c9e[_0x5598b3(0x44c)](_0x1c8f8f),_0x49da1a=(_0xb9b16==null?void 0x0:_0xb9b16[_0x5598b3(0x22d)]())+'\x20'+_0x2cd99e(_0x580482,_0x5829c5);_0x85df7d[_0x5598b3(0x336)](_0x58ffe8,_0x29ccb7)[_0x5598b3(0x251)](_0x363382['id'],_0x49da1a);const _0x4b1f6e=_0x360c9e['getTableFieldById'](_0x4bb25e);if(!_0x4b1f6e)return!0x1;_0x360c9e['renameField'](_0x4b1f6e[_0x5598b3(0x244)](),_0x49da1a),_0x363382[_0x5598b3(0x27f)](_0x5829c5);const _0x3e0648=_0x85df7d[_0x5598b3(0x2e9)](_0x58ffe8,_0x24746f,_0x29ccb7);return _0x85df7d[_0x5598b3(0x272)]({'unitId':_0x58ffe8,'subUnitId':_0x24746f,'token':_0x29ccb7,'type':_0x477731[_0x5598b3(0x47a)],'pivotConfig':_0x3e0648}),!0x0;}},_0x51b8e0={'id':_0x32a484(0x396),'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'handler':(_0x31bfbe,_0x1ee481)=>{const _0x5c4cc4=_0x32a484;if(!_0x1ee481)return!0x1;const _0x18bf66=_0x31bfbe[_0x5c4cc4(0x3fc)](_0x2fa876['IUndoRedoService']),{unitId:_0xd38685,subUnitId:_0x33fd80,pivotTableId:_0x47ac1e,tableFieldId:_0x2f2f30}=_0x1ee481,_0x2601e4=[],_0x539ab1=[],_0x4a4005=_0x31bfbe['get'](_0xd0af73[_0x5c4cc4(0x32b)]),_0x3bc569=_0x4a4005[_0x5c4cc4(0x336)](_0xd38685,_0x47ac1e),_0x497683=_0x4a4005[_0x5c4cc4(0x2e9)](_0xd38685,_0x33fd80,_0x47ac1e);if(!(_0x497683!=null&&_0x497683[_0x5c4cc4(0x481)][_0x5c4cc4(0x4be)]))return!0x1;const _0x2b0c76=Object[_0x5c4cc4(0x1e7)](_0x497683[_0x5c4cc4(0x481)][_0x5c4cc4(0x4be)])['find'](_0x1b28a6=>_0x1b28a6['id']===_0x2f2f30);if(!_0x2b0c76)return!0x1;const _0xd92a91=_0x2b0c76['dataFieldId'];if(!(_0x3bc569!=null&&_0x3bc569[_0x5c4cc4(0x4d9)]))return!0x1;const _0x64f0cd=Object[_0x5c4cc4(0x1e7)](_0x3bc569==null?void 0x0:_0x3bc569[_0x5c4cc4(0x4d9)])[_0x5c4cc4(0x475)](_0x3e434c=>_0x3e434c['id']===_0xd92a91);if(!_0x64f0cd)return!0x1;_0x33417a[_0x5c4cc4(0x33e)](_0x64f0cd)&&_0x2601e4[_0x5c4cc4(0x296)]({'id':_0x502ff1['id'],'params':{..._0x1ee481,'dateType':_0x64f0cd['dateType']}}),_0x539ab1[_0x5c4cc4(0x296)]({'id':_0x502ff1['id'],'params':{..._0x1ee481}});const _0x1a1bcf=_0x31bfbe[_0x5c4cc4(0x3fc)](_0x2fa876[_0x5c4cc4(0x41b)]);return _0x2fa876['sequenceExecute'](_0x539ab1,_0x1a1bcf)&&_0x18bf66['pushUndoRedo']({'unitID':_0xd38685,'undoMutations':_0x2601e4,'redoMutations':_0x539ab1}),!0x0;}},_0x1a8f8f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x345dec,_0x75fb46){const _0x36eb61=_0x32a484;if(!_0x75fb46)return!0x1;const _0x3cf0dc=_0x345dec[_0x36eb61(0x3fc)](_0x2fa876[_0x36eb61(0x41b)]),_0x1de494=_0x345dec[_0x36eb61(0x3fc)](_0x2fa876['IUndoRedoService']),_0x1f0338=_0x345dec[_0x36eb61(0x3fc)](_0xd0af73[_0x36eb61(0x3af)]),{displayName:_0x3d658a,subtotalType:_0x57cede,format:_0x3fe912,tableFieldId:_0x1efd5e,pivotTableId:_0x52a49b,unitId:_0x5d741c,subUnitId:_0x146446}=_0x75fb46,_0x1bf710=(await _0x1f0338[_0x36eb61(0x263)]({'unitId':_0x5d741c,'subUnitId':_0x146446,'pivotTableId':_0x52a49b,'params':{'type':_0x1ce851[_0x36eb61(0x3a0)],'setPivotSetting':{'tableFieldId':_0x1efd5e,'displayName':_0x3d658a,'subtotalType':_0x57cede,'format':_0x3fe912}}}))[_0x36eb61(0x210)][_0x36eb61(0x23d)];if(!_0x1bf710)return!0x1;const {changesets:_0x5a89fd,view:_0x118e54,pivotTableConfig:_0xea4059,isEmpty:_0x4b681b}=_0x1bf710,_0x3d207c=_0xea4059[_0x36eb61(0x412)],_0x30e006=new _0x33417a['PivotView']();_0x30e006[_0x36eb61(0x298)](_0x118e54);const _0x3847ae={'cellInfo':_0x3d207c,'view':_0x30e006,'isEmpty':_0x4b681b};if(!await _0x345dec[_0x36eb61(0x3fc)](_0xd0af73[_0x36eb61(0x21f)])[_0x36eb61(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x3847ae))return!0x1;const _0x31402b=_0x36c3d6(_0x345dec,_0x30e006,_0x3d207c,_0x4b681b),_0x556f7c=_0x460318(_0x345dec,_0x3847ae),{undos:_0x209d92,redos:_0x218acd}=_0x5706b0(_0x3cf0dc,{'pivotTableId':_0x52a49b,'unitId':_0x5d741c,'subUnitId':_0x146446},_0x5a89fd);return _0x2fa876[_0x36eb61(0x3e6)]([..._0x31402b[_0x36eb61(0x390)],..._0x556f7c[_0x36eb61(0x390)],..._0x218acd],_0x3cf0dc),_0x1de494[_0x36eb61(0x34d)]({'unitID':_0x5d741c,'redoMutations':[..._0x31402b[_0x36eb61(0x390)],..._0x556f7c['redos'],..._0x218acd],'undoMutations':[..._0x31402b[_0x36eb61(0x443)],..._0x556f7c['undos'],..._0x209d92]}),!0x0;}},_0x22cd86={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x514639,_0x3a3fb8){const _0x376ca0=_0x32a484;if(!_0x3a3fb8)return!0x1;if(!!_0x514639[_0x376ca0(0x3fc)](_0x2fa876[_0x376ca0(0x3da)])[_0x376ca0(0x28b)](_0x51f97f))return!0x0;const _0x1c526d=_0x514639[_0x376ca0(0x3fc)](_0xd0af73[_0x376ca0(0x255)]),{pivotTableId:_0x375356,deleteIds:_0x24e984,collectionJSON:_0x59914a,dataRangeInfo:_0x42e146,unitId:_0xad5ec8,subUnitId:_0x1c98a0}=_0x3a3fb8,_0x1932ea=_0x1c526d[_0x376ca0(0x47b)](_0x375356),_0x4bb0e4=_0x1c526d[_0x376ca0(0x2e9)](_0xad5ec8,_0x1c98a0,_0x375356);if(!_0x1932ea||!_0x4bb0e4)return!0x1;const {collection:_0x55bcad,updateDataFieldList:_0x238b8f}=_0x1c526d[_0x376ca0(0x20b)](_0x375356,_0x59914a,_0x42e146,_0x4bb0e4['targetCellInfo']);_0x1c526d[_0x376ca0(0x381)](_0x55bcad,_0x238b8f,_0x42e146),_0x1932ea[_0x376ca0(0x328)](_0x55bcad);for(const _0x2c1582 of _0x24e984)_0x1c526d['removeDataField'](_0x42e146[_0x376ca0(0x211)],_0x2c1582);const _0x340076=_0x1c526d[_0x376ca0(0x2e9)](_0xad5ec8,_0x1c98a0,_0x375356);return _0x340076['sourceRangeInfo']=JSON[_0x376ca0(0x496)](JSON['stringify'](_0x42e146)),_0x1c526d[_0x376ca0(0x272)]({'unitId':_0xad5ec8,'subUnitId':_0x1c98a0,'token':_0x375356,'type':_0x477731['Set']}),!0x0;}},_0xe923e7={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x310bdd,_0x3242eb){const _0x55c85d=_0x32a484,_0x27f7c5=_0x310bdd[_0x55c85d(0x3fc)](_0x2fa876[_0x55c85d(0x41b)]),_0x44101f=_0x310bdd[_0x55c85d(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x51d89b=_0x310bdd[_0x55c85d(0x3fc)](_0x2fa876[_0x55c85d(0x3bc)]);if(!_0x3242eb)return!0x1;const {token:_0x37235f,dataRangeInfo:_0xe7362a,unitId:_0x1fcc41,subUnitId:_0x9e0248}=_0x3242eb,_0x4de8d4=[],_0x4608df=[],_0x549834=(await _0x44101f[_0x55c85d(0x263)]({'unitId':_0x1fcc41,'subUnitId':_0x9e0248,'pivotTableId':_0x37235f,'params':{'type':_0x1ce851[_0x55c85d(0x379)],'updatePivotSource':{'dataRangeInfo':_0xe7362a,'unitId':_0x1fcc41,'subUnitId':_0x9e0248}}}))[_0x55c85d(0x210)][_0x55c85d(0x4b3)];if(!_0x549834)return!0x1;const {changesets:_0x46ef5f,deleteIds:_0x438b49,collectionConfig:_0x4b2d92,oldCollectionConfig:_0x2d1578,view:_0x42be54,isEmpty:_0x46781c,pivotTableConfig:_0x22e001}=_0x549834;_0x4608df['push']({'id':_0x22cd86['id'],'params':{'pivotTableId':_0x37235f,'deleteIds':_0x438b49,'collectionJSON':_0x4b2d92,'dataRangeInfo':_0xe7362a,'unitId':_0x1fcc41,'subUnitId':_0x9e0248}}),_0x4de8d4[_0x55c85d(0x41d)]({'id':_0x22cd86['id'],'params':{'pivotTableId':_0x37235f,'deleteIds':[],'collectionJSON':_0x2d1578,'dataRangeInfo':_0x22e001[_0x55c85d(0x218)],'unitId':_0x1fcc41,'subUnitId':_0x9e0248}});const _0x417bba=_0x22e001[_0x55c85d(0x412)],_0x247a16=new _0x33417a[(_0x55c85d(0x22b))]();_0x247a16[_0x55c85d(0x298)](_0x42be54);const _0x40bae2={'cellInfo':_0x417bba,'view':_0x247a16,'isEmpty':_0x46781c};if(!await _0x310bdd[_0x55c85d(0x3fc)](_0xd0af73[_0x55c85d(0x21f)])[_0x55c85d(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x40bae2))return!0x1;const _0x188c3d=_0x36c3d6(_0x310bdd,_0x247a16,_0x417bba,_0x46781c),_0x3dcd67=_0x460318(_0x310bdd,_0x40bae2),{undos:_0x37f031,redos:_0x3d53c6}=_0x5706b0(_0x27f7c5,{'pivotTableId':_0x37235f,'unitId':_0x1fcc41,'subUnitId':_0x9e0248},_0x46ef5f);return _0x2fa876[_0x55c85d(0x3e6)]([..._0x188c3d['redos'],..._0x3dcd67[_0x55c85d(0x390)],..._0x4608df,..._0x37f031],_0x27f7c5),_0x51d89b[_0x55c85d(0x34d)]({'unitID':_0x1fcc41,'redoMutations':[..._0x188c3d['redos'],..._0x3dcd67[_0x55c85d(0x390)],..._0x4608df,..._0x37f031],'undoMutations':[..._0x188c3d[_0x55c85d(0x443)],..._0x3dcd67[_0x55c85d(0x443)],..._0x4de8d4,..._0x3d53c6]}),!0x0;}},_0x114525={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0xcdb550,_0x370871){const _0x5be0bb=_0x32a484;if(!_0x370871)return!0x1;const _0x2aff73=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x41b)]),_0x52e539=_0xcdb550[_0x5be0bb(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x123fbe=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x361)]),_0x3432be=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x3bc)]),{pivotTableId:_0x5767eb,position:_0x3a7235,index:_0x5d2f7b}=_0x370871,_0x48d4e9=_0x30840c[_0x5be0bb(0x279)](_0x123fbe);if(!_0x48d4e9)return!0x1;const {unitId:_0x5c498b,subUnitId:_0x3b5a3f}=_0x48d4e9,_0x31d9ba=(await _0x52e539[_0x5be0bb(0x263)]({'unitId':_0x5c498b,'subUnitId':_0x3b5a3f,'pivotTableId':_0x5767eb,'params':{'type':_0x1ce851[_0x5be0bb(0x3ba)],'updateValuePosition':{'position':_0x3a7235,'index':_0x5d2f7b}}}))['result']['updateValuePosition'];if(!_0x31d9ba)return!0x1;const {changesets:_0x3b0b12,view:_0x1e9e25,isEmpty:_0x135367,pivotTableConfig:_0x31f014}=_0x31d9ba,_0x4f6d57=_0x31f014[_0x5be0bb(0x412)],_0x385ce2=new _0x33417a[(_0x5be0bb(0x22b))]();_0x385ce2[_0x5be0bb(0x298)](_0x1e9e25);const _0x48fd6f=_0xcdb550[_0x5be0bb(0x3fc)](_0xd0af73[_0x5be0bb(0x21f)]),_0x3e4365={'cellInfo':_0x4f6d57,'view':_0x385ce2,'isEmpty':_0x135367};if(!await _0x48fd6f[_0x5be0bb(0x4ca)][_0x5be0bb(0x323)](_0x1d5a00)(!0x0,_0x3e4365))return!0x1;const _0x1241c0=_0x36c3d6(_0xcdb550,_0x385ce2,_0x4f6d57,_0x135367),_0x1e24c5=_0x460318(_0xcdb550,_0x3e4365),{undos:_0x2f5be8,redos:_0x37f2ff}=_0x5706b0(_0x2aff73,{'pivotTableId':_0x5767eb,'unitId':_0x5c498b,'subUnitId':_0x3b5a3f},_0x3b0b12);return _0x2fa876['sequenceExecute']([..._0x1241c0[_0x5be0bb(0x390)],..._0x1e24c5[_0x5be0bb(0x390)],..._0x37f2ff],_0x2aff73),_0x3432be[_0x5be0bb(0x34d)]({'unitID':_0x5c498b,'redoMutations':[..._0x1241c0['redos'],..._0x1e24c5[_0x5be0bb(0x390)],..._0x37f2ff],'undoMutations':[..._0x1241c0[_0x5be0bb(0x443)],..._0x1e24c5[_0x5be0bb(0x443)],..._0x2f5be8]}),!0x0;}},_0x322618={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x20a),'handler'(){return!0x0;}};var _0xbd034b=Object['getOwnPropertyDescriptor'],_0x38a2a6=(_0x5e027f,_0x519395,_0x1e670c,_0xb19f69)=>{for(var _0x1659ee=_0xb19f69>0x1?void 0x0:_0xb19f69?_0xbd034b(_0x519395,_0x1e670c):_0x519395,_0x3d1612=_0x5e027f['length']-0x1,_0x3aee4d;_0x3d1612>=0x0;_0x3d1612--)(_0x3aee4d=_0x5e027f[_0x3d1612])&&(_0x1659ee=_0x3aee4d(_0x1659ee)||_0x1659ee);return _0x1659ee;},_0x3a96ca=(_0x277d81,_0x5efa38)=>(_0x3dedbb,_0x5c2f85)=>_0x5efa38(_0x3dedbb,_0x5c2f85,_0x277d81);const _0x3ea56b=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x6d510f=(_0x5913e3,_0x54a860,_0x563e7b)=>{const _0x3d5f03=_0x32a484,_0x10e2a1=_0x5913e3[_0x3d5f03(0x360)];_0x5913e3[_0x3d5f03(0x21e)](_0x2fd760=>{const _0x16c7f2=_0x3d5f03,_0x2c96d9=_0x2fd760['getId'](),_0x290ac1=_0x2fd760[_0x16c7f2(0x49c)](),_0x525d25=_0x2fd760[_0x16c7f2(0x441)](),_0x26dc1d=_0x2fd760[_0x16c7f2(0x2b3)]();_0x54a860[_0x290ac1]&&_0x54a860[_0x290ac1]===_0x26dc1d&&_0x525d25===_0x26dc1d&&(_0x5913e3[_0x16c7f2(0x39f)](_0x2c96d9,_0x10e2a1[_0x16c7f2(0x2b3)](_0x290ac1)),_0x2fd760[_0x16c7f2(0x4a1)](_0x10e2a1[_0x16c7f2(0x2b3)](_0x290ac1)));}),_0x5913e3[_0x3d5f03(0x1f4)](_0x33417a['PivotTableFiledAreaEnum'][_0x3d5f03(0x4a5)],_0x3cac10=>{const _0x47eff1=_0x3d5f03,_0x151cda=_0x3cac10[_0x47eff1(0x244)](),_0x9ab90=_0x3cac10[_0x47eff1(0x49c)](),_0x3b596e=_0x3cac10[_0x47eff1(0x441)](),_0x863afc=_0x3cac10[_0x47eff1(0x2b3)](),_0x1ac43b=_0x3cac10[_0x47eff1(0x423)](),_0x46e615=_0x563e7b(_0x3b596e,_0x1ac43b);_0x54a860[_0x9ab90]&&_0x54a860[_0x9ab90]===_0x3b596e&&_0x46e615===_0x863afc&&(_0x5913e3[_0x47eff1(0x39f)](_0x151cda,_0x563e7b(_0x10e2a1[_0x47eff1(0x2b3)](_0x9ab90),_0x1ac43b)),_0x3cac10[_0x47eff1(0x4a1)](_0x10e2a1[_0x47eff1(0x2b3)](_0x9ab90)));});},_0x54b4b2=(_0x39ed1e,_0x57d90d,_0x53387d)=>{const _0x111a90=_0x32a484;var _0x324ce4,_0x2b4252;const {arrayFormulaCellData:_0x4f32bf,unitData:_0x577d3d}=_0x57d90d,{unitId:_0x5c4b6e,subUnitId:_0x49227f}=_0x53387d,_0x2f4d61=_0x53387d[_0x111a90(0x1f6)],{startColumn:_0x37e0ef,endColumn:_0x515466}=_0x2f4d61,_0x3b6d0e=(_0x324ce4=_0x4f32bf==null?void 0x0:_0x4f32bf[_0x5c4b6e])==null?void 0x0:_0x324ce4[_0x49227f],_0x2b0ed3=(_0x2b4252=_0x577d3d==null?void 0x0:_0x577d3d[_0x5c4b6e])==null?void 0x0:_0x2b4252[_0x49227f],_0x13098d=new Set(),_0x5080f5=_0x515466-_0x37e0ef+0x1,{dirtyRanges:_0x5a4ab7}=_0x39ed1e;if(_0x5a4ab7)for(const {range:_0x24d35d,sheetId:_0x3b8a15,unitId:_0x77f51e}of _0x5a4ab7){if(_0x3b8a15!==_0x49227f||_0x5c4b6e!==_0x77f51e)continue;const _0x488345=_0x2fa876[_0x111a90(0x3b2)][_0x111a90(0x3c0)](_0x24d35d,_0x2f4d61);if(_0x488345){const {startColumn:_0x49ec77,endColumn:_0x516418}=_0x488345;for(let _0x3087eb=_0x49ec77;_0x3087eb<=_0x516418;_0x3087eb++)_0x13098d[_0x111a90(0x308)](_0x3087eb);}}if(_0x13098d[_0x111a90(0x40c)]===_0x5080f5||_0x13098d[_0x111a90(0x40c)]===_0x5080f5)return Array[_0x111a90(0x25f)](_0x13098d);if(_0x2b0ed3){const _0x37e234=_0x2b0ed3[_0x111a90(0x204)](),_0x433b26=Object[_0x111a90(0x31e)](_0x37e234);for(const _0x2c50b1 of _0x433b26){const _0x208328=Number(_0x2c50b1),_0x22aee7=_0x37e234[_0x208328];if(_0x13098d['size']===_0x5080f5)break;for(const _0x1162f4 in _0x22aee7){const _0x3f09a5=Number(_0x1162f4);_0x3f09a5<_0x37e0ef||_0x3f09a5>_0x515466||_0x13098d[_0x111a90(0x308)](_0x3f09a5);}}}if(_0x3b6d0e){const _0x133c3e=_0x3b6d0e['getMatrix'](),_0x4a390d=Object[_0x111a90(0x31e)](_0x133c3e);for(const _0x3015ea of _0x4a390d){const _0x159499=Number(_0x3015ea),_0x41f5a6=_0x133c3e[_0x159499];if(_0x13098d[_0x111a90(0x40c)]===_0x5080f5)break;for(const _0x10f269 in _0x41f5a6){const _0x2349ff=Number(_0x10f269);_0x2349ff<_0x37e0ef||_0x2349ff>_0x515466||_0x13098d[_0x111a90(0x308)](_0x2349ff);}}}return Array[_0x111a90(0x25f)](_0x13098d);},_0x3efc09=_0x551efe=>{const _0x2a6629=_0x32a484,_0x45d5bd=new Set(),_0x386407=[];for(const _0x280927 of _0x551efe){const _0x4a0369=_0x280927[_0x2a6629(0x340)]+','+_0x280927[_0x2a6629(0x2d0)]+','+_0x280927['startColumn']+','+_0x280927[_0x2a6629(0x315)];_0x45d5bd[_0x2a6629(0x290)](_0x4a0369)||(_0x45d5bd[_0x2a6629(0x308)](_0x4a0369),_0x386407[_0x2a6629(0x296)](_0x280927));}return _0x386407;};let _0x5da108=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x3a3554,_0x5e3ef8,_0x52adfe,_0x33ddd9,_0x4454a3){const _0x28c2d3=_0x32a484;super(),_0x25ab16(this,'_globalSubject',new _0x2504f7['BehaviorSubject'](!0x0)),_0x25ab16(this,'_globalComputedStartHelpFunc',_0x4cf116=>{const _0x3ef958=_0x33f8;this['_globalSubject'][_0x3ef958(0x451)](!0x1);}),_0x25ab16(this,_0x28c2d3(0x476),_0x2fa2d3=>{const _0x5c9c5b=_0x28c2d3;this[_0x5c9c5b(0x489)]['next'](!0x0);}),(this[_0x28c2d3(0x34a)]=_0x3a3554,this[_0x28c2d3(0x303)]=_0x5e3ef8,this[_0x28c2d3(0x4cf)]=_0x52adfe,this[_0x28c2d3(0x416)]=_0x33ddd9,this[_0x28c2d3(0x42f)]=_0x4454a3,this[_0x28c2d3(0x44a)](),this[_0x28c2d3(0x4da)]());}[_0x32a484(0x44a)](){const _0x324f22=_0x32a484;this[_0x324f22(0x2b8)](),this[_0x324f22(0x352)](),this['_initPivotTextInfo'](),this['_subjectFieldsCollectionChange']();}['_initGlobalComputed'](){const _0x4e5117=_0x32a484;this[_0x4e5117(0x416)][_0x4e5117(0x235)](this['_globalSubject']),_0x33417a[_0x4e5117(0x28e)][_0x4e5117(0x330)](_0x33417a['PivotCallbackEnum']['onQueryStart'],this[_0x4e5117(0x48d)]),_0x33417a[_0x4e5117(0x28e)][_0x4e5117(0x330)](_0x33417a['PivotCallbackEnum'][_0x4e5117(0x33b)],this[_0x4e5117(0x476)]);}[_0x32a484(0x4da)](){const _0x4df3ac=_0x32a484;this[_0x4df3ac(0x327)](this['_commandService'][_0x4df3ac(0x448)](_0x3a8309=>{const _0x36e7e8=_0x4df3ac;_0x3a8309['id']===_0x30840c['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x36e7e8(0x382)](_0x3a8309['params']);})),this[_0x4df3ac(0x327)](this[_0x4df3ac(0x4cf)]['onCommandExecuted'](_0x1492f3=>{const _0x5b2ef6=_0x4df3ac;if(_0x1492f3['id']!==_0x12d10f['id'])return;const _0xe04d98=_0x1492f3[_0x5b2ef6(0x3ca)],{unitId:_0x3e4a3b,subUnitId:_0x4f49e7,pivotTableId:_0x4ee510}=_0xe04d98,_0x35c1a7=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x38a)],_0x38e6c4={};switch(_0x35c1a7){case _0x1ce851[_0x5b2ef6(0x3d0)]:{const _0x349f93=_0xe04d98['params'][_0x5b2ef6(0x2c6)];if(!_0x349f93)return;const {row:_0x2e63e3,col:_0x3c73a5,cellData:_0x22c417,pivotItemRenderInfoCache:_0x16d319,tableFieldId:_0x7a8e28}=_0x349f93,_0x1c767a=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0xe04d98[_0x5b2ef6(0x3eb)]);if(!_0x1c767a||!_0x16d319)return;if(_0x7a8e28){const _0xe50a46=_0x1c767a[_0x5b2ef6(0x2dd)](_0x7a8e28);if(!_0xe50a46)return;_0x38e6c4['filter']={..._0x1c767a[_0x5b2ef6(0x452)](_0xe50a46),'tableFieldId':_0x7a8e28,'pivotTableId':_0xe04d98[_0x5b2ef6(0x3eb)],'filterInfo':_0x1c767a[_0x5b2ef6(0x2cc)](_0x7a8e28),'sortInfo':_0x1c767a[_0x5b2ef6(0x467)](_0x7a8e28),'format':_0x1c767a[_0x5b2ef6(0x299)](_0x7a8e28)};}else{const _0x4c0cc4=_0x5894c7(_0x2e63e3,_0x3c73a5,_0x22c417,_0x1c767a,_0x16d319),_0x1d4ddb=_0x4c0cc4==null?void 0x0:_0x4c0cc4['filterId'];if(!_0x1d4ddb)return;const _0x25b20d=_0x1c767a[_0x5b2ef6(0x2dd)](_0x1d4ddb);if(!_0x25b20d)return;_0x38e6c4['filter']={..._0x1c767a['getDataFieldItemInfo'](_0x25b20d),'tableFieldId':_0x1d4ddb,'pivotTableId':_0xe04d98['pivotTableId'],'filterInfo':_0x1c767a[_0x5b2ef6(0x2cc)](_0x1d4ddb),'sortInfo':_0x1c767a[_0x5b2ef6(0x467)](_0x1d4ddb),'format':_0x1c767a[_0x5b2ef6(0x299)](_0x1d4ddb)};}}break;case _0x1ce851['Panel']:{const _0x3e4d99=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x260)];if(!_0x3e4d99)return;const {pivotTableId:_0x5904d5}=_0x3e4d99,_0x17dbb9=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x5904d5);if(!_0x17dbb9)return;const _0x5b1c94=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x5904d5),_0xcf31b3=_0x4dd84c(_0x17dbb9,_0x5904d5,_0x5b1c94);_0x38e6c4[_0x5b2ef6(0x260)]=_0xcf31b3;}break;case _0x1ce851[_0x5b2ef6(0x357)]:{const _0x44654c=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x1b2404=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x3e4a3b),_0x2a848a=_0x1b2404['getCollection'](_0x4ee510);let _0x34c60a=null;const _0x342bf3=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510),_0x4f2794=_0xe04d98[_0x5b2ef6(0x3ca)]['addPivotField'];if(!_0x44654c||!_0x342bf3||!_0x4f2794)return!0x1;const {dataFieldId:_0x99340d,fieldArea:_0x711a34,index:_0x26d101}=_0x4f2794;_0x44654c['startCollectChangeset']();const _0x2bb496=_0x44654c[_0x5b2ef6(0x229)](_0x99340d,_0x711a34,_0x26d101);if(_0x2bb496&&_0x711a34===_0x33417a[_0x5b2ef6(0x321)]['Value']){const _0x180874=_0x2bb496['getId'](),_0x231d1c=_0x44654c[_0x5b2ef6(0x2dd)](_0x180874);if(_0x231d1c){const _0x307fbc=_0x231d1c==null?void 0x0:_0x231d1c[_0x5b2ef6(0x2b4)]();_0x44654c[_0x5b2ef6(0x253)](_0x2bb496['getId'](),_0x307fbc===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a[_0x5b2ef6(0x4bc)][_0x5b2ef6(0x1e9)]:_0x33417a[_0x5b2ef6(0x4bc)]['count']);}const _0xa6cf4c=_0x44654c[_0x5b2ef6(0x1df)](),_0xc9435c=_0x44654c[_0x5b2ef6(0x468)](),_0x273093=_0x44654c[_0x5b2ef6(0x4a8)](_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x4a5)]);if(_0xa6cf4c===-0x1&&_0x273093>0x1){const _0x39201f=_0xc9435c===_0x33417a[_0x5b2ef6(0x314)]['None']?_0x33417a['PivotTableValuePositionEnum']['Column']:_0xc9435c,_0x20abf8=_0x39201f===_0x33417a['PivotTableValuePositionEnum'][_0x5b2ef6(0x349)]?_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]:_0x33417a[_0x5b2ef6(0x321)]['Column'];_0x44654c['updateValuePosition'](_0x39201f,_0x44654c['getFieldCountByArea'](_0x20abf8));}}else{if(_0x2bb496&&(_0x711a34===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]||_0x711a34===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x1d6)])){const _0x1f2580=_0x2bb496['getId'](),_0x3607cd=_0x44654c[_0x5b2ef6(0x2dd)](_0x1f2580);if(_0x3607cd&&(_0x3607cd==null?void 0x0:_0x3607cd['getFieldDataType']())===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x437)]){const _0x79cafc=_0x3607cd['getformat']();if(_0x79cafc&&_0x44654c[_0x5b2ef6(0x30a)](_0x2bb496[_0x5b2ef6(0x244)](),_0x79cafc),!_0x2a848a['getFieldIds']()[_0x5b2ef6(0x26a)](_0x45af1f=>{const _0x14c92a=_0x5b2ef6,_0x50ad76=_0x2a848a[_0x14c92a(0x4a9)](_0x45af1f);return _0x33417a[_0x14c92a(0x326)](_0x50ad76)?_0x50ad76[_0x14c92a(0x4c7)]()[_0x14c92a(0x335)]===_0x99340d:!0x1;})){const _0x586b95=_0x1b2404['createDataFieldId'](),_0x53c018=_0x4a1bfb(_0x3607cd['maxDate'],_0x3607cd[_0x5b2ef6(0x1de)]),_0x3d1510=_0x3607cd[_0x5b2ef6(0x22d)]()+_0x5b2ef6(0x400)+_0x2cd99e(this[_0x5b2ef6(0x42f)],_0x53c018),_0x3e5b7c=new _0x33417a[(_0x5b2ef6(0x1e2))](_0x586b95,_0x3d1510,_0x33417a['generateHexNumber'](0x3),_0x3607cd[_0x5b2ef6(0x244)](),_0x53c018);_0x1b2404[_0x5b2ef6(0x355)](_0x3e5b7c),_0x2a848a[_0x5b2ef6(0x4e7)](_0x586b95,_0x3d1510),_0x44654c['addFieldWithSourceId'](_0x586b95,_0x711a34,(_0x26d101!=null?_0x26d101:0x0)+0x1),_0x34c60a=_0x3e5b7c;}}}}const _0x25f564=_0x44654c[_0x5b2ef6(0x3fa)](),_0x492011=_0x44654c[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)]();let _0x457f05;if(_0x34c60a){_0x457f05=_0x34c60a[_0x5b2ef6(0x4ab)]();const _0x2282fb=_0x34c60a['getId']();_0x2a848a[_0x5b2ef6(0x3c3)](_0x2282fb);let _0xf23e25=!0x0;for(const _0x4b5958 in _0x1b2404['collections'])if(_0x1b2404[_0x5b2ef6(0x4e2)][_0x4b5958][_0x5b2ef6(0x29d)]()[_0x5b2ef6(0x2a1)](_0x2282fb)){_0xf23e25=!0x1;break;}_0xf23e25&&_0x1b2404['deleteDataField'](_0x2282fb);}const _0xc581e4=_0x44654c[_0x5b2ef6(0x2ae)]();_0x38e6c4['addPivotField']={'view':_0x492011,'changesets':_0xc581e4,'isEmpty':_0x25f564,'pivotTableConfig':_0x342bf3,'shouldBeAddedGroupJSON':_0x457f05};}break;case _0x1ce851[_0x5b2ef6(0x3d5)]:{const _0x55391f=_0xe04d98['params'][_0x5b2ef6(0x30f)];if(!_0x55391f)return;const _0x59e34e=_0x55391f['sourceRangeInfo'],_0x449327=_0x55391f[_0x5b2ef6(0x3eb)],{collection:_0x22b6c5}=this[_0x5b2ef6(0x34a)]['createCollectionWithDataRange']({'unitId':_0x59e34e['unitId'],'sheetName':_0x59e34e[_0x5b2ef6(0x329)],'subUnitId':_0x59e34e[_0x5b2ef6(0x2fa)],'range':_0x59e34e[_0x5b2ef6(0x1f6)]}),_0x4e566a=new _0x33417a[(_0x5b2ef6(0x28e))](_0x22b6c5,void 0x0,_0x449327),_0x123557=_0x4e566a[_0x5b2ef6(0x341)](),_0x409314=_0x4e566a['toJSON'](),_0x13fe02=_0x22b6c5[_0x5b2ef6(0x4ab)]();_0x38e6c4[_0x5b2ef6(0x30f)]={'view':_0x123557,'fieldsConfig':_0x409314,'collectionConfig':_0x13fe02,'isEmpty':_0x4e566a[_0x5b2ef6(0x3fa)]()};}break;case _0x1ce851['MovePivotField']:{const _0x5be9ed=_0xe04d98['params'][_0x5b2ef6(0x3b1)];if(!_0x5be9ed)return;const {fieldId:_0x1c22ac,area:_0x58761e,index:_0x2fe57c}=_0x5be9ed,_0x47395f=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x47395f)return;const _0x312d6f=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x312d6f)return;_0x312d6f[_0x5b2ef6(0x4c1)]();const {area:_0x38cf48,index:_0xc0ca54}=_0x312d6f[_0x5b2ef6(0x3d3)](_0x1c22ac);if(_0x312d6f[_0x5b2ef6(0x252)](_0x1c22ac,_0x58761e,_0x2fe57c),_0x58761e===_0x33417a[_0x5b2ef6(0x321)]['Value']&&_0x312d6f[_0x5b2ef6(0x447)](_0x1c22ac)['getSubtotal']()===void 0x0){const _0x439fe7=_0x312d6f[_0x5b2ef6(0x447)](_0x1c22ac);if(_0x439fe7&&_0x439fe7[_0x5b2ef6(0x423)]()===void 0x0){const _0x4c2f22=_0x312d6f[_0x5b2ef6(0x2dd)](_0x1c22ac);if(_0x4c2f22){const _0x581bcd=_0x4c2f22==null?void 0x0:_0x4c2f22[_0x5b2ef6(0x2b4)]();_0x312d6f[_0x5b2ef6(0x253)](_0x1c22ac,_0x581bcd===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a[_0x5b2ef6(0x4bc)][_0x5b2ef6(0x1e9)]:_0x33417a[_0x5b2ef6(0x4bc)]['count']);}}}const _0x3d2392=_0x312d6f[_0x5b2ef6(0x468)](),_0x19ba2a=_0x312d6f[_0x5b2ef6(0x1df)](),_0x5f0ed9=_0x312d6f[_0x5b2ef6(0x4a8)](_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x4a5)])>0x1;if(_0x5f0ed9&&_0x38cf48===_0x58761e&&(_0x58761e===_0x33417a[_0x5b2ef6(0x321)]['Row']&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x349)]||_0x58761e===_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)]['Column'])){let _0xb16860=_0x19ba2a;_0xc0ca54<=_0x19ba2a&&_0xb16860--,_0x2fe57c<=_0x19ba2a&&_0xb16860++,_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0xb16860);}else _0x5f0ed9&&(_0x38cf48===_0x33417a[_0x5b2ef6(0x321)]['Row']&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x349)]||_0x38cf48===_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x1d6)])&&_0x19ba2a>=_0xc0ca54&&_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0x19ba2a-0x1),_0x5f0ed9&&(_0x58761e===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]&&_0x3d2392===_0x33417a['PivotTableValuePositionEnum'][_0x5b2ef6(0x349)]||_0x58761e===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x1d6)])&&_0x19ba2a>=_0x2fe57c&&_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0x19ba2a+0x1);const _0x5ac673=_0x312d6f['query'](),_0x44407b=_0x312d6f[_0x5b2ef6(0x3fa)](),_0x233c56=_0x312d6f[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x3b1)]={'view':_0x5ac673[_0x5b2ef6(0x4ab)](),'changesets':_0x233c56,'isEmpty':_0x44407b,'pivotTableConfig':_0x47395f};}break;case _0x1ce851[_0x5b2ef6(0x339)]:{const _0x5938e5=_0xe04d98[_0x5b2ef6(0x3ca)]['removePivotField'];if(!_0x5938e5)return;const _0x2d93e9=_0x5938e5[_0x5b2ef6(0x3c1)],_0x204945=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x204945)return!0x1;const _0x4f9ea6=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x4f9ea6)return!0x1;_0x4f9ea6['startCollectChangeset']();for(const _0x383dac of _0x2d93e9){const {area:_0x5b1788}=_0x4f9ea6[_0x5b2ef6(0x3d3)](_0x383dac);_0x5b1788===_0x33417a[_0x5b2ef6(0x321)]['Value']&&_0x4f9ea6[_0x5b2ef6(0x322)](_0x383dac),(_0x5b1788===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]||_0x5b1788===_0x33417a[_0x5b2ef6(0x321)]['Column'])&&_0x4f9ea6[_0x5b2ef6(0x428)](_0x383dac),_0x4f9ea6[_0x5b2ef6(0x3f8)](_0x383dac);}const _0x2305d2=_0x4f9ea6[_0x5b2ef6(0x3fa)](),_0x183d34=_0x4f9ea6[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x35a4cf=_0x4f9ea6[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x45b)]={'changesets':_0x35a4cf,'pivotTableConfig':_0x204945,'isEmpty':_0x2305d2,'view':_0x183d34};}break;case _0x1ce851[_0x5b2ef6(0x1e6)]:{const _0x21c55a=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x38e)];if(!_0x21c55a)return;const {tableFieldId:_0x44bdde,items:_0x39c320,isAll:_0x5be0b1}=_0x21c55a,_0x126620=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x262b1d=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x126620||!_0x262b1d)return;_0x126620[_0x5b2ef6(0x4c1)](),_0x126620['setLabelFilterInfo'](_0x44bdde,{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x39c320,'isAll':_0x5be0b1});const _0x2c8de6=_0x126620['isEmpty'](),_0x2e46cc=_0x126620[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x354c7f=_0x126620['endCollectChangeset']();_0x38e6c4['setPivotFilter']={'view':_0x2e46cc,'changesets':_0x354c7f,'isEmpty':_0x2c8de6,'pivotTableConfig':_0x262b1d};}break;case _0x1ce851[_0x5b2ef6(0x220)]:{const _0xb0dec0=_0xe04d98[_0x5b2ef6(0x3ca)]['setValuePivotFilter'];if(!_0xb0dec0)return;const {tableFieldId:_0x1fce6d,filterInfo:_0x11fc46}=_0xb0dec0,_0x4bd61d=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4ee510),_0x53c911=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x4bd61d||!_0x53c911)return;_0x4bd61d[_0x5b2ef6(0x4c1)](),_0x4bd61d[_0x5b2ef6(0x24a)](_0x1fce6d,_0x11fc46);const _0x48bf04=_0x4bd61d['isEmpty'](),_0x153da0=_0x4bd61d[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x3ba658=_0x4bd61d[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x454)]={'view':_0x153da0,'changesets':_0x3ba658,'isEmpty':_0x48bf04,'pivotTableConfig':_0x53c911};}break;case _0x1ce851['SetPivotSort']:{const _0x5cdd6d=_0xe04d98[_0x5b2ef6(0x3ca)]['setPivotSort'];if(!_0x5cdd6d)return;const {tableFieldId:_0x5e8651,info:_0x5b90b5}=_0x5cdd6d,_0x14bf74=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x51be70=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x14bf74||!_0x51be70)return;_0x14bf74[_0x5b2ef6(0x4c1)](),_0x14bf74['setSortInfo'](_0x5e8651,_0x5b90b5);const _0x3282e4=_0x14bf74[_0x5b2ef6(0x3fa)](),_0x1afbf7=_0x14bf74[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x1accf1=_0x14bf74[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotSort']={'view':_0x1afbf7,'changesets':_0x1accf1,'isEmpty':_0x3282e4,'pivotTableConfig':_0x51be70};}break;case _0x1ce851[_0x5b2ef6(0x3a0)]:{const _0x3bc5fe=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x23d)];if(!_0x3bc5fe)return;const {tableFieldId:_0x2feaf9,displayName:_0x44c3c2,subtotalType:_0x4639df,format:_0x1bbd6e}=_0x3bc5fe,_0x37e9a6=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510),_0x5ce824=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x37e9a6||!_0x5ce824)return;_0x37e9a6['startCollectChangeset'](),_0x44c3c2!==void 0x0&&_0x37e9a6['renameField'](_0x2feaf9,_0x44c3c2),_0x4639df!==void 0x0&&_0x37e9a6[_0x5b2ef6(0x253)](_0x2feaf9,_0x4639df),_0x1bbd6e!==void 0x0&&_0x37e9a6[_0x5b2ef6(0x30a)](_0x2feaf9,_0x1bbd6e);const _0x395f7b=_0x37e9a6[_0x5b2ef6(0x3fa)](),_0x502dbf=_0x37e9a6[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0xf2506d=_0x37e9a6['endCollectChangeset']();_0x38e6c4[_0x5b2ef6(0x23d)]={'changesets':_0xf2506d,'pivotTableConfig':_0x5ce824,'isEmpty':_0x395f7b,'view':_0x502dbf};}break;case _0x1ce851[_0x5b2ef6(0x379)]:{const _0x2020ef=_0xe04d98[_0x5b2ef6(0x3ca)]['updatePivotSource'];if(!_0x2020ef)return;const {dataRangeInfo:_0x232674,unitId:_0x204858,subUnitId:_0x4a95c0}=_0x2020ef,_0x47b6a6=this['_sheetsPivotDataSourceModel'][_0x5b2ef6(0x2e9)](_0x204858,_0x4a95c0,_0x4ee510),_0x4db347=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510);if(!this[_0x5b2ef6(0x34a)]['getCollection'](_0x204858,_0x4ee510)||!_0x4db347||!_0x47b6a6)return;const _0x30240c=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x368)](_0x204858,_0x4ee510,_0x232674),_0x424d24=this['_sheetsPivotDataSourceModel']['getCollection'](_0x204858,_0x4ee510)[_0x5b2ef6(0x4ab)](),{collection:_0x3e7065}=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2af)]({'unitId':_0x232674[_0x5b2ef6(0x211)],'sheetName':_0x232674[_0x5b2ef6(0x329)],'subUnitId':_0x232674['subUnitId'],'range':_0x232674['range']}),_0x4e87cf=_0x3e7065[_0x5b2ef6(0x4ab)]();_0x4db347[_0x5b2ef6(0x4c1)]();const _0x25c036=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x204858)[_0x5b2ef6(0x2a2)]()||_0x33417a['getAutoDisplayName'];_0x4db347['iterateField'](_0x29de93=>{const _0x3d47c0=_0x5b2ef6,_0xc9498c=_0x29de93[_0x3d47c0(0x49c)]();if(!_0x3e7065['hasField'](_0xc9498c)){const _0x5f421b=_0x3e7065[_0x3d47c0(0x4c6)](_0x29de93['getSourceName']());if(_0x5f421b){_0x4db347[_0x3d47c0(0x47e)](_0x29de93[_0x3d47c0(0x244)](),_0x5f421b[_0x3d47c0(0x22d)](),_0x5f421b[_0x3d47c0(0x244)]());const {area:_0x13473b}=_0x4db347[_0x3d47c0(0x3d3)](_0x29de93[_0x3d47c0(0x244)]());let _0x58a887=_0x29de93[_0x3d47c0(0x441)]();const _0x2f5d6a=_0x29de93['getDisplayName']();if(_0x13473b===_0x33417a['PivotTableFiledAreaEnum'][_0x3d47c0(0x4a5)]){const _0x5886a3=_0x29de93['getSubtotal']();_0x58a887=_0x25c036(_0x5f421b[_0x3d47c0(0x22d)](),_0x5886a3);}_0x2f5d6a!==_0x58a887&&_0x4db347[_0x3d47c0(0x39f)](_0x29de93[_0x3d47c0(0x244)](),_0x58a887);}else _0x4db347[_0x3d47c0(0x3f8)](_0x29de93['getId']());}});const _0xf4ab99=_0x4db347[_0x5b2ef6(0x3fa)](),_0x4e5bd1=_0x4db347['query']()['toJSON'](),_0x318614=_0x4db347[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x4b3)]={'view':_0x4e5bd1,'changesets':_0x318614,'isEmpty':_0xf4ab99,'pivotTableConfig':_0x47b6a6,'collectionConfig':_0x4e87cf,'oldCollectionConfig':_0x424d24,'deleteIds':_0x30240c};}break;case _0x1ce851[_0x5b2ef6(0x3ba)]:{const _0x135bf3=_0xe04d98['params'][_0x5b2ef6(0x34c)];if(!_0x135bf3)return;const {position:_0x4c96e2,index:_0xd0bd32}=_0x135bf3,_0x35e12a=this['_sheetsPivotDataSourceModel'][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x35e12a)return!0x1;const _0x415c69=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x415c69)return!0x1;_0x415c69[_0x5b2ef6(0x4c1)](),_0x415c69[_0x5b2ef6(0x34c)](_0x4c96e2,_0xd0bd32);const _0x5712ae=_0x415c69[_0x5b2ef6(0x3fa)](),_0x423e84=_0x415c69[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x5a01e8=_0x415c69[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x34c)]={'changesets':_0x5a01e8,'pivotTableConfig':_0x35e12a,'isEmpty':_0x5712ae,'view':_0x423e84};}break;case _0x1ce851['SetPivotCollapse']:{const _0x1574d3=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x353)];if(!_0x1574d3)return;const {tableFieldId:_0x44d3da,collapse:_0x17c31a,item:_0x24a88e}=_0x1574d3,_0x188ae1=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510),_0xf0aee=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x188ae1||!_0xf0aee)return;_0x188ae1[_0x5b2ef6(0x4c1)](),_0x188ae1['setCollapse'](_0x44d3da,_0x17c31a,_0x24a88e);const _0x939c21=_0x188ae1[_0x5b2ef6(0x3fa)](),_0x10fc0a=_0x188ae1[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x584211=_0x188ae1[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotCollapse']={'view':_0x10fc0a,'isEmpty':_0x939c21,'pivotTableConfig':_0xf0aee,'changesets':_0x584211};}break;case _0x1ce851[_0x5b2ef6(0x2e3)]:{const _0x467a68=_0xe04d98[_0x5b2ef6(0x3ca)]['setPivotTableConfig'];if(!_0x467a68)return;const {pivotTableConfig:_0x57893b}=_0x467a68,_0x3e5370=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x357e66=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x3e5370||!_0x357e66)return;_0x3e5370[_0x5b2ef6(0x4c1)](),_0x284d0a(_0x3e5370,_0x57893b);const _0x509258=_0x3e5370['isEmpty'](),_0x594d70=_0x3e5370['query']()[_0x5b2ef6(0x4ab)](),_0xd627c5=_0x3e5370[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotTableConfig']={'view':_0x594d70,'isEmpty':_0x509258,'pivotTableConfig':{..._0x357e66,'fieldsConfig':_0x3e5370[_0x5b2ef6(0x4ab)]()},'changesets':_0xd627c5};}break;case _0x1ce851['ResetPivotTable']:{const _0x385b9f=_0xe04d98[_0x5b2ef6(0x3ca)]['resetPivotTable'];if(!_0x385b9f)return;const _0x4a6160=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x34e1b2=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x4a6160||!_0x34e1b2)return;_0x4a6160[_0x5b2ef6(0x4c1)](),_0x3e6b18(_0x4a6160,_0x385b9f['resetArea']);const _0x2a6d84=_0x4a6160[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x3f27a6=_0x4a6160[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x344)]={'view':_0x2a6d84,'isEmpty':!0x0,'pivotTableConfig':{..._0x34e1b2,'fieldsConfig':_0x4a6160[_0x5b2ef6(0x4ab)]()},'changesets':_0x3f27a6};}break;case _0x1ce851[_0x5b2ef6(0x241)]:{const _0x3fd3c2=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x1f2)];if(!_0x3fd3c2)return;const _0x1c97c5=_0x3fd3c2[_0x5b2ef6(0x218)],_0x2d33c9=_0x3fd3c2['pivotTableId'],{collection:_0x2de59e}=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2af)]({'unitId':_0x1c97c5[_0x5b2ef6(0x211)],'sheetName':_0x1c97c5[_0x5b2ef6(0x329)],'subUnitId':_0x1c97c5[_0x5b2ef6(0x2fa)],'range':_0x1c97c5['range']}),_0xdb54f8=new _0x33417a[(_0x5b2ef6(0x28e))](_0x2de59e,void 0x0,_0x2d33c9),_0x25491f=_0x2de59e[_0x5b2ef6(0x29d)](),{rows:_0x1e4887,columns:_0x3b6cbb,filters:_0x492112,values:_0x33282f}=_0x3fd3c2[_0x5b2ef6(0x3d4)];_0xdb54f8['startCollectChangeset']();for(const {field:_0x451e91,selectedItems:_0x25656e}of _0x1e4887||[]){const _0x326218=_0x25491f[_0x451e91];if(_0x326218){const _0x22666f=_0xdb54f8[_0x5b2ef6(0x229)](_0x326218,_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]);_0x25656e&&_0x22666f&&_0xdb54f8[_0x5b2ef6(0x2c2)](_0x22666f[_0x5b2ef6(0x244)](),{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x25656e,'isAll':!0x1});}}for(const {field:_0x2506e7,selectedItems:_0x380bdf}of _0x3b6cbb||[]){const _0x377b38=_0x25491f[_0x2506e7];if(_0x377b38){const _0x111239=_0xdb54f8[_0x5b2ef6(0x229)](_0x377b38,_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]);_0x380bdf&&_0x111239&&_0xdb54f8['setLabelFilterInfo'](_0x111239[_0x5b2ef6(0x244)](),{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x380bdf,'isAll':!0x1});}}for(const {field:_0x1b606d,selectedItems:_0x272410}of _0x492112||[]){const _0x31ab69=_0x25491f[_0x1b606d];if(_0x31ab69){const _0x3a7305=_0xdb54f8['addFieldWithSourceId'](_0x31ab69,_0x33417a[_0x5b2ef6(0x321)]['Filter']);_0x272410&&_0x3a7305&&_0xdb54f8[_0x5b2ef6(0x2c2)](_0x3a7305[_0x5b2ef6(0x244)](),{'type':_0x33417a['PivotFilterTypeEnum'][_0x5b2ef6(0x2fb)],'list':_0x272410,'isAll':!0x1});}}for(const {field:_0xc52265,subTotalType:_0x288ef9,formatString:_0x4c5650}of _0x33282f||[]){const _0x463e35=_0x2de59e[_0x5b2ef6(0x4a9)](_0x25491f[_0xc52265]);if(!_0x463e35)continue;const _0x5f1893=_0x25491f[_0xc52265];if(_0x5f1893){const _0x283b51=_0xdb54f8['addFieldWithSourceId'](_0x5f1893,_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x4a5)]);if(_0x283b51){if(_0x288ef9!==void 0x0){_0xdb54f8[_0x5b2ef6(0x253)](_0x283b51[_0x5b2ef6(0x244)](),_0x288ef9);const _0x3c947b=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x1c97c5[_0x5b2ef6(0x211)])[_0x5b2ef6(0x2a2)]()||_0x33417a[_0x5b2ef6(0x26f)],_0x2f8398=_0x2de59e[_0x5b2ef6(0x2b3)](_0x5f1893),_0x2f6604=_0x3c947b(_0x2f8398,_0x288ef9);_0xdb54f8[_0x5b2ef6(0x39f)](_0x283b51[_0x5b2ef6(0x244)](),_0x2f6604);}else{if(_0x463e35){const _0x31d17b=_0x463e35==null?void 0x0:_0x463e35[_0x5b2ef6(0x2b4)]();_0xdb54f8['setSubtotalType'](_0x283b51[_0x5b2ef6(0x244)](),_0x31d17b===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a['PivotSubtotalTypeEnum'][_0x5b2ef6(0x1e9)]:_0x33417a['PivotSubtotalTypeEnum'][_0x5b2ef6(0x3cd)]);}}_0x4c5650&&_0xdb54f8[_0x5b2ef6(0x30a)](_0x283b51['getId'](),_0x4c5650);}}}const _0xfece6e=_0xdb54f8['query'](),_0x5429b8=_0xdb54f8['toJSON'](),_0x1a78fe=_0xdb54f8['isEmpty'](),_0x14d165=_0xdb54f8[_0x5b2ef6(0x2ae)](),_0x121612=_0x2de59e['toJSON']();_0x38e6c4[_0x5b2ef6(0x1f2)]={'view':_0xfece6e,'fieldsConfig':_0x5429b8,'collectionConfig':_0x121612,'isEmpty':_0x1a78fe,'changesets':_0x14d165};}break;case _0x1ce851['DrillDown']:{const _0x32cb47=_0x7fbd45(this['_injector'],_0xe04d98);if(!_0x32cb47)return;const {range:_0x1c884b,sourceSubUnitId:_0x1958db,sourceUnitId:_0x5e6ffe,formatMap:_0x207b95,indexes:_0x31a213}=_0x32cb47;_0x38e6c4[_0x5b2ef6(0x442)]={'range':_0x1c884b,'sourceSubUnitId':_0x1958db,'sourceUnitId':_0x5e6ffe,'formatMap':_0x207b95,'indexes':_0x31a213};}break;}this['_commandService'][_0x5b2ef6(0x24f)](_0x195cb7['id'],{'version':_0xe04d98[_0x5b2ef6(0x48c)],'result':_0x38e6c4},{'onlyLocal':!0x0});}));}[_0x32a484(0x248)](){const _0x1e0fbc=_0x32a484;this[_0x1e0fbc(0x327)](this[_0x1e0fbc(0x4cf)][_0x1e0fbc(0x448)](_0x39cbde=>{const _0x12c879=_0x1e0fbc;if(_0x39cbde['id']!==_0x3e71e4['id'])return;const _0x2eaa21=_0x39cbde[_0x12c879(0x3ca)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x2eaa21[_0x12c879(0x334)]),!0x0;}));}[_0x32a484(0x2b8)](){const _0x23f142=_0x32a484;this[_0x23f142(0x34a)]['collectionChange$']['subscribe'](_0xd559e5=>{const _0x4d9951=_0x23f142;switch(_0xd559e5[_0x4d9951(0x38a)]){case _0xf2a767[_0x4d9951(0x308)]:_0xd559e5[_0x4d9951(0x221)]&&_0xd559e5['targetCellInfo']&&this[_0x4d9951(0x4e6)](_0xd559e5[_0x4d9951(0x3a6)],_0xd559e5[_0x4d9951(0x221)],_0xd559e5['targetCellInfo']);break;case _0xf2a767[_0x4d9951(0x3a9)]:{const {unitId:_0x5db763,subUnitId:_0x4a364e,token:_0x2dcbc5}=_0xd559e5;_0x5db763&&_0x4a364e&&_0x2dcbc5&&this[_0x4d9951(0x2f3)](_0x5db763,_0x4a364e,_0x2dcbc5);}break;case _0xf2a767['update']:{const {token:_0x431104,oldSourceRangeInfo:_0x2fd601,dataRangeInfo:_0x42bab9,targetCellInfo:_0x12c5df}=_0xd559e5,{unitId:_0x3b506c,subUnitId:_0x1f6973}=_0x2fd601||{};_0x3b506c&&_0x1f6973&&_0x431104&&this[_0x4d9951(0x2f3)](_0x3b506c,_0x1f6973,_0x431104),_0x42bab9&&_0x12c5df&&this[_0x4d9951(0x4e6)](_0x431104,_0x42bab9,_0x12c5df);}break;}});}[_0x32a484(0x4d6)](){const _0x1a2a2c=_0x32a484;this['_sheetsPivotDataSourceModel'][_0x1a2a2c(0x363)][_0x1a2a2c(0x332)](_0x3e9982=>{const _0x24ac16=_0x1a2a2c;Object[_0x24ac16(0x31e)](_0x3e9982)['forEach'](_0x231ec8=>{const _0x4371e0=_0x24ac16,_0x5e6150=this[_0x4371e0(0x34a)][_0x4371e0(0x4aa)](_0x231ec8);if(_0x5e6150){const _0xb6f2ca=this['_sheetsPivotDataSourceModel'][_0x4371e0(0x2e9)](_0x5e6150==null?void 0x0:_0x5e6150[_0x4371e0(0x211)],_0x5e6150==null?void 0x0:_0x5e6150['subUnitId'],_0x231ec8);_0xb6f2ca&&(this[_0x4371e0(0x4e6)](_0x231ec8,_0xb6f2ca[_0x4371e0(0x218)],_0xb6f2ca['targetCellInfo']),this[_0x4371e0(0x3cb)]([{'unitId':_0x5e6150[_0x4371e0(0x211)],'subUnitId':_0x5e6150['subUnitId'],'token':_0x231ec8}]));}});});}[_0x32a484(0x352)](){const _0x27f2a8=_0x32a484;this[_0x27f2a8(0x34a)][_0x27f2a8(0x4b1)][_0x27f2a8(0x332)](_0x1fce11=>{const {unitId:_0x596e0e,subUnitId:_0x1d70ab,pivotTableId:_0x1fe827}=_0x1fce11;_0x596e0e&&_0x1d70ab&&_0x1fe827&&this['triggerDirtyFeature']([{'unitId':_0x596e0e,'subUnitId':_0x1d70ab,'token':_0x1fe827}]);});}[_0x32a484(0x3cb)](_0x5e7152){const _0xfa5a1d=_0x32a484,_0x3f9f7f={};_0x5e7152[_0xfa5a1d(0x4c2)](_0x1d3dc9=>{var _0x3fabf5,_0x177a6f;const {unitId:_0x18e4d5,subUnitId:_0x390f33,token:_0x3b8ac5}=_0x1d3dc9;_0x3f9f7f[_0x18e4d5]=(_0x3fabf5=_0x3f9f7f[_0x18e4d5])!=null?_0x3fabf5:{},_0x3f9f7f[_0x18e4d5][_0x390f33]=(_0x177a6f=_0x3f9f7f[_0x18e4d5][_0x390f33])!=null?_0x177a6f:{},_0x3f9f7f[_0x18e4d5][_0x390f33][_0x3b8ac5]=!0x0;}),this[_0xfa5a1d(0x4cf)][_0xfa5a1d(0x24f)](_0x322618['id'],_0x3f9f7f);}[_0x32a484(0x2f3)](_0x3aaf9d,_0x1239ff,_0x4e0bbd){this['_featureCalculationManagerService']['remove'](_0x3aaf9d,_0x1239ff,[_0x4e0bbd]);}['handleSourceRangeChange'](_0x5ae715,_0x31840b,_0x115a6c){const _0x57d63c=_0x32a484,{unitId:_0x2b5109,subUnitId:_0xf1874f}=_0x31840b;this['_featureCalculationManagerService'][_0x57d63c(0x290)](_0x115a6c[_0x57d63c(0x211)],_0x115a6c[_0x57d63c(0x2fa)],_0x5ae715)&&this[_0x57d63c(0x2f3)](_0x2b5109,_0xf1874f,_0x5ae715);const _0x3f069b={'sheetId':_0xf1874f,..._0x31840b};this['_featureCalculationManagerService'][_0x57d63c(0x43f)](_0x115a6c['unitId'],_0x115a6c['subUnitId'],_0x5ae715,{'unitId':_0x115a6c['unitId'],'subUnitId':_0x115a6c['subUnitId'],'dependencyRanges':[_0x3f069b],'getDirtyData':(_0x2543c3,_0x1c6207)=>{const _0x523c20=_0x57d63c,_0x41d31f=this['_sheetsPivotDataSourceModel'],_0x22550a=_0x41d31f[_0x523c20(0x4aa)](_0x5ae715);if(!_0x22550a)return _0x3ea56b();const {unitId:_0x1dd068,subUnitId:_0xa60613}=_0x22550a,_0x2d37fc=_0x54b4b2(_0x2543c3,_0x1c6207,_0x31840b);if(_0x2d37fc['length']>0x0){const _0x3855b7=_0x41d31f[_0x523c20(0x336)](_0x2b5109,_0x5ae715),_0x2efc9d=_0x3855b7['getFieldIds'](),_0x2d0a90=this['getMatrixFromRunTimeData'](_0x31840b[_0x523c20(0x211)],_0x31840b[_0x523c20(0x2fa)],_0x1c6207),_0x2b42c9={},_0x27ae63=this[_0x523c20(0x34a)]['getDataFieldManager'](_0x1dd068)[_0x523c20(0x2a2)]()||_0x33417a['getAutoDisplayName'],_0xd00743=[];for(const _0x277288 of _0x2d37fc){const _0x41598e=_0x277288-(_0x31840b['range'][_0x523c20(0x3e4)]||0x0),_0x3e69f5=_0x2efc9d[_0x41598e];_0xd00743[_0x523c20(0x296)](_0x3e69f5),_0x2b42c9[_0x3e69f5]=_0x3855b7[_0x523c20(0x4a9)](_0x3e69f5)[_0x523c20(0x22d)](),_0x41d31f[_0x523c20(0x4b6)](_0x2b5109)[_0x523c20(0x40a)](_0x3e69f5,_0x31840b,_0x41598e,_0x2d0a90);}_0x3855b7[_0x523c20(0x1ff)](_0xd00743)[_0x523c20(0x4c2)](_0x9ac8db=>{const _0x45d27d=_0x523c20,[_0x30591b,_0x4530e1]=_0x9ac8db,_0x267e70=_0x3855b7[_0x45d27d(0x4a9)](_0x30591b),_0x2b5e69=_0x3855b7[_0x45d27d(0x4a9)](_0x4530e1);_0x267e70&&_0x2b5e69&&_0x267e70[_0x45d27d(0x4bb)](_0x2b5e69);}),_0x3855b7[_0x523c20(0x440)]();const _0x1a6158=_0x41d31f[_0x523c20(0x47b)](_0x5ae715);if(_0x1a6158){_0x6d510f(_0x1a6158,_0x2b42c9,_0x27ae63),_0x1a6158[_0x523c20(0x453)](!0x0);const _0x560ee7=_0x1a6158[_0x523c20(0x341)](),_0x32970f=_0x41d31f[_0x523c20(0x2e9)](_0x1dd068,_0xa60613,_0x5ae715),_0xa97125=_0x41d31f[_0x523c20(0x4b6)](_0x2b5109)[_0x523c20(0x4ab)]();_0x41d31f['updateView'](_0x1dd068,_0xa60613,_0x477731[_0x523c20(0x47a)],_0x5ae715,_0x560ee7,_0x32970f,_0xa97125,!0x0);}}return this[_0x523c20(0x1e5)](_0x1dd068,_0xa60613,_0x5ae715);}});}['getMatrixFromRunTimeData'](_0x364708,_0x2a47cc,_0x20ecdb){var _0x65e4c6,_0x3b6744;const {arrayFormulaCellData:_0x4ecaa5,unitData:_0x32f989}=_0x20ecdb,_0x30d21f=(_0x65e4c6=_0x4ecaa5==null?void 0x0:_0x4ecaa5[_0x364708])==null?void 0x0:_0x65e4c6[_0x2a47cc],_0x17b9a3=(_0x3b6744=_0x32f989==null?void 0x0:_0x32f989[_0x364708])==null?void 0x0:_0x3b6744[_0x2a47cc];return{'arrayFormulaCellDataMatrix':_0x30d21f,'unitDataMatrix':_0x17b9a3};}[_0x32a484(0x1e5)](_0x782aaf,_0x447b8b,_0x309bce){const _0x389fd4=_0x32a484,_0x14cbf4=this[_0x389fd4(0x34a)][_0x389fd4(0x469)](_0x782aaf,_0x447b8b,_0x309bce),_0x4f341c=[],_0x4abbec=new _0x2fa876[(_0x389fd4(0x48a))]();if(_0x14cbf4){const {rangeCache:_0x3f72c1,matrix:_0x38fb80,oldRangeCache:_0x2fa2c9,oldMatrix:_0x577b4b}=_0x14cbf4,_0x5c558d=_0x3fcd7b(_0x2fa2c9),_0x1e1821=_0x3fcd7b(_0x3f72c1);_0x4f341c['push'](..._0x1e1821,..._0x5c558d),_0x577b4b&&_0x2fa2c9&&_0x5c558d[_0x389fd4(0x4c2)](_0x59fab3=>{const _0x265eaa=_0x389fd4;for(let _0x237e23=_0x59fab3[_0x265eaa(0x340)];_0x237e23<=_0x59fab3['endRow'];_0x237e23++)for(let _0x157879=_0x59fab3[_0x265eaa(0x3e4)];_0x157879<=_0x59fab3[_0x265eaa(0x315)];_0x157879++)_0x4abbec[_0x265eaa(0x2bd)](_0x237e23,_0x157879);}),_0x38fb80&&_0x1e1821&&_0x1e1821['forEach'](_0x2668bc=>{const _0x3c1440=_0x389fd4;for(let _0xc2cb30=_0x2668bc[_0x3c1440(0x340)];_0xc2cb30<=_0x2668bc[_0x3c1440(0x2d0)];_0xc2cb30++)for(let _0x35357b=_0x2668bc['startColumn'];_0x35357b<=_0x2668bc[_0x3c1440(0x315)];_0x35357b++)_0x4abbec['setValue'](_0xc2cb30,_0x35357b,_0x38fb80['getValue'](_0xc2cb30,_0x35357b));});}const _0x5477ad={};return _0x5477ad[_0x782aaf]={[_0x447b8b]:_0x3efc09(_0x4f341c)},{'runtimeCellData':{[_0x782aaf]:{[_0x447b8b]:_0x4abbec}},'dirtyRanges':_0x5477ad};}['dispose'](){}};_0x5da108=_0x38a2a6([_0x3a96ca(0x0,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x255)])),_0x3a96ca(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x196a8d['IFeatureCalculationManagerService'])),_0x3a96ca(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['ICommandService'])),_0x3a96ca(0x3,_0x2fa876[_0x32a484(0x4a3)](_0x196a8d['GlobalComputingStatusService'])),_0x3a96ca(0x4,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x304)]))],_0x5da108);var _0x283970=Object['getOwnPropertyDescriptor'],_0x501cc4=(_0x56df08,_0x17caf3,_0x283fb7,_0x4e54de)=>{const _0x4f3e5e=_0x32a484;for(var _0x163ca3=_0x4e54de>0x1?void 0x0:_0x4e54de?_0x283970(_0x17caf3,_0x283fb7):_0x17caf3,_0xa925d5=_0x56df08[_0x4f3e5e(0x249)]-0x1,_0x37e33b;_0xa925d5>=0x0;_0xa925d5--)(_0x37e33b=_0x56df08[_0xa925d5])&&(_0x163ca3=_0x37e33b(_0x163ca3)||_0x163ca3);return _0x163ca3;},_0xd110aa=(_0x2879ef,_0x53b5f9)=>(_0x1a6c6e,_0x4ada6d)=>_0x53b5f9(_0x1a6c6e,_0x4ada6d,_0x2879ef);let _0x59d811=class extends _0x2fa876['Disposable']{constructor(_0x214660,_0x58b584,_0x495468,_0xca31d4){const _0x1199a5=_0x32a484;super(),_0x25ab16(this,'disposableCollection',new _0x2fa876['DisposableCollection']()),(this[_0x1199a5(0x4d0)]=_0x214660,this['_sheetInterceptorService']=_0x58b584,this[_0x1199a5(0x317)]=_0x495468,this[_0x1199a5(0x287)]=_0xca31d4,this['_initClearSelectionCommandInterceptor']());}[_0x32a484(0x49d)](){const _0x1476ae=_0x32a484;this[_0x1476ae(0x327)](this[_0x1476ae(0x46e)]['interceptCommand']({'getMutations':_0x29568e=>{const _0xc9e83d=_0x1476ae;if(_0x29568e['id']===_0x30840c['ClearSelectionContentCommand']['id']||_0x29568e['id']===_0x30840c['ClearSelectionAllCommand']['id']){const _0x2e742e=[],_0x4411e8=[],_0x31392a=this[_0xc9e83d(0x317)][_0xc9e83d(0x25d)]()[_0xc9e83d(0x2a0)](_0x3dd2d0=>_0x3dd2d0[_0xc9e83d(0x1f6)]),_0x1cea6d=_0x30840c[_0xc9e83d(0x279)](this['_univerInstanceService']);if(!_0x1cea6d)return{'redos':[],'undos':[]};const {unitId:_0x161543,subUnitId:_0xa2305e}=_0x1cea6d,_0x132737={},_0x2b6334=this[_0xc9e83d(0x287)][_0xc9e83d(0x40b)](_0x161543,_0xa2305e);if(_0x2b6334!=null&&_0x2b6334[_0xc9e83d(0x40c)])for(const [_0x3d9f10,_0x3ad5c7]of _0x2b6334){const {unitId:_0x2b230c,subUnitId:_0x5f42d2,row:_0x264899,col:_0x316e2c}=_0x3ad5c7['targetCellInfo'];_0x2b230c===_0x1cea6d[_0xc9e83d(0x211)]&&_0x5f42d2===_0x1cea6d[_0xc9e83d(0x2fa)]&&(_0x132737[_0x264899+'-'+_0x316e2c]=_0x3d9f10);}return _0x31392a&&_0x1cea6d&&_0x31392a[_0xc9e83d(0x4c2)](_0x51e3fe=>{const _0x37ae31=_0xc9e83d;_0x2fa876[_0x37ae31(0x33a)][_0x37ae31(0x2b2)](_0x51e3fe,(_0x11391c,_0x3010f1)=>{const _0x5f0a13=_0x37ae31,_0x58ce34=_0x11391c+'-'+_0x3010f1;if(_0x132737[_0x58ce34]){const _0x40a16b=_0x132737[_0x58ce34];_0x2e742e['push']({'id':_0xe28166['id'],'params':{'unitId':_0x161543,'subUnitId':_0xa2305e,'pivotTableId':_0x40a16b}});const _0x12f3d8=this[_0x5f0a13(0x287)]['getCollection'](_0x161543,_0x40a16b),_0x5d76c5=this[_0x5f0a13(0x287)][_0x5f0a13(0x2e9)](_0x161543,_0xa2305e,_0x40a16b);_0x4411e8[_0x5f0a13(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x161543,'subUnitId':_0xa2305e,'pivotTableId':_0x40a16b,'pivotTableConfig':_0x5d76c5,'collectionConfig':_0x12f3d8}});}});}),{'redos':_0x2e742e,'undos':_0x4411e8};}return{'redos':[],'undos':[]};}}));}};_0x59d811=_0x501cc4([_0xd110aa(0x0,_0x2fa876['IUniverInstanceService']),_0xd110aa(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0xd110aa(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x30840c['SheetsSelectionsService'])),_0xd110aa(0x3,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)]))],_0x59d811);var _0x1e3d57=Object['getOwnPropertyDescriptor'],_0x49bdaa=(_0x4ec7b1,_0x1029c5,_0x508770,_0x393ea1)=>{const _0xef1801=_0x32a484;for(var _0x2244ea=_0x393ea1>0x1?void 0x0:_0x393ea1?_0x1e3d57(_0x1029c5,_0x508770):_0x1029c5,_0x1c93b8=_0x4ec7b1[_0xef1801(0x249)]-0x1,_0x431629;_0x1c93b8>=0x0;_0x1c93b8--)(_0x431629=_0x4ec7b1[_0x1c93b8])&&(_0x2244ea=_0x431629(_0x2244ea)||_0x2244ea);return _0x2244ea;},_0x506c87=(_0xb5ec0a,_0x16e7c5)=>(_0x38f414,_0x10062a)=>_0x16e7c5(_0x38f414,_0x10062a,_0xb5ec0a);let _0x2626a1=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0xbc6039,_0x1970c3,_0x3602ce,_0x4a4881,_0x26c107){const _0x3f54b9=_0x32a484;super(),this['_sheetInterceptorService']=_0xbc6039,this[_0x3f54b9(0x42f)]=_0x1970c3,this['_univerInstanceService']=_0x3602ce,this[_0x3f54b9(0x287)]=_0x4a4881,this['_sheetsPivotTableService']=_0x26c107,this[_0x3f54b9(0x42e)]();}[_0x32a484(0x2b0)](_0x5415fb,_0x40553f,_0x27287e){const _0x522fa3=_0x32a484,{pageView:_0x5dd1b2,cornerView:_0x4ecfce,rowView:_0x5cffa2,colView:_0x3d0828,dataView:_0x462744}=_0x40553f,_0x3d0416=_0x5415fb;let _0xf40887;if(_0x27287e)_0xf40887=[..._0xee0526(_0x3d0416)];else{const _0xd36b4f=_0x47957b(_0x3d0416,_0x5dd1b2,!0x0),_0x5cefe9=_0x5dd1b2[_0x522fa3(0x427)]>=0x0?_0x5dd1b2[_0x522fa3(0x427)]+0x1:0x0,_0x50ef97=_0x4ecfce[_0x522fa3(0x3c9)],_0x122769=_0x4ecfce[_0x522fa3(0x295)],_0x21ee10=_0xd36b4f[_0x522fa3(0x249)]>0x0?_0x4814ba:0x0,_0x1bd089=_0x47957b({'row':_0x3d0416[_0x522fa3(0x213)]+_0x5cefe9+_0x21ee10,'col':_0x3d0416[_0x522fa3(0x38d)]},_0x4ecfce,!0x1,!0x1),_0x560d7d=_0x47957b({'row':_0x3d0416[_0x522fa3(0x213)]+_0x5cefe9+_0x21ee10+_0x50ef97,'col':_0x3d0416[_0x522fa3(0x38d)]},_0x5cffa2,!0x1,!0x0),_0x440d01=_0x47957b({'row':_0x3d0416['row']+_0x5cefe9+_0x21ee10,'col':_0x3d0416['col']+_0x122769},_0x3d0828,!0x1,!0x0),_0x1a7639=_0x47957b({'row':_0x3d0416['row']+_0x5cefe9+_0x21ee10+_0x50ef97,'col':_0x3d0416[_0x522fa3(0x38d)]+_0x122769},_0x462744,!0x1,!0x0);_0xf40887=[..._0xd36b4f,..._0x1bd089,..._0x560d7d,..._0x440d01,..._0x1a7639];}return _0xf40887;}[_0x32a484(0x42e)](){const _0x33dad1=_0x32a484;this[_0x33dad1(0x327)](this[_0x33dad1(0x21a)]['interceptor'][_0x33dad1(0x4a0)](this[_0x33dad1(0x21a)][_0x33dad1(0x44e)][_0x33dad1(0x2e1)]()[_0x33dad1(0x415)],{'handler':(_0x15f17e,_0x1894cd)=>{const _0x42f0c6=_0x33dad1,{cellInfo:_0x29077f,view:_0x58afa9,isEmpty:_0x593b64}=_0x1894cd,_0x95fbcf=_0x29077f,{unitId:_0x6fb303,subUnitId:_0xb9da18}=_0x95fbcf,_0x3d522f=this[_0x42f0c6(0x2b0)](_0x29077f,_0x58afa9,_0x593b64),_0x29ba06=this[_0x42f0c6(0x46e)][_0x42f0c6(0x2ac)]({'unitId':_0x6fb303,'subUnitId':_0xb9da18,'ranges':_0x3d522f}),_0x3cc5f1=_0x10af34(this[_0x42f0c6(0x42f)],_0x6fb303,_0xb9da18,_0x3d522f);_0x3cc5f1[_0x42f0c6(0x3b8)]&&(_0x29ba06[_0x42f0c6(0x390)]['push'](_0x3cc5f1[_0x42f0c6(0x3a4)]),_0x29ba06[_0x42f0c6(0x443)][_0x42f0c6(0x296)](_0x3cc5f1[_0x42f0c6(0x32d)]));const _0x560297=this[_0x42f0c6(0x1fa)](_0x58afa9,_0x29077f);return _0x29ba06[_0x42f0c6(0x390)][_0x42f0c6(0x296)](..._0x560297[_0x42f0c6(0x390)]),_0x29ba06[_0x42f0c6(0x443)][_0x42f0c6(0x296)](..._0x560297[_0x42f0c6(0x443)]),{'redos':_0x29ba06[_0x42f0c6(0x390)],'undos':_0x29ba06['undos']};}}));}[_0x32a484(0x1fa)](_0x160f26,_0x56ec4b){const _0x59081e=_0x32a484,{col:_0x36e183,unitId:_0x49c10e,subUnitId:_0x41c25e}=_0x56ec4b,_0x537280=[],_0x50619b=[],_0x2a78c6=_0x30840c['getSheetCommandTarget'](this[_0x59081e(0x4d0)],{'unitId':_0x49c10e,'subUnitId':_0x41c25e});if(!_0x56ec4b||!_0x160f26||!_0x2a78c6)return{'undos':_0x50619b,'redos':_0x537280};const _0x2b792c=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0x2800cf,dataView:_0x50a223,cornerView:_0x51efa8,rowView:_0x85c8a9,formatMap:_0x1259ee}=_0x160f26,_0x1f0318=_0x2326eb(_0x2800cf,_0x2b792c,!0x0,_0x1259ee),_0x520711=_0x2326eb(_0x85c8a9,_0x2b792c,!0x1,_0x1259ee),_0x218cf1=_0x478f19(_0x50a223),_0x5551d1=_0xe3e6b3(_0x51efa8),{worksheet:_0x4f6547}=_0x2a78c6;if(typeof window<'u'&&window[_0x59081e(0x2c7)]){const _0x8e2b0e=_0x488639['getFontStyleString']({..._0x226288[_0x59081e(0x4c9)]}),_0x3db2d4=_0x488639['FontCache'][_0x59081e(0x42a)](_0x1f0318,_0x8e2b0e)[_0x59081e(0x471)]+0x10,_0xf5c9d2=_0x488639[_0x59081e(0x214)][_0x59081e(0x42a)](_0x218cf1,_0x8e2b0e)['width'],_0x401a22=Math[_0x59081e(0x4a6)](Math['max'](_0x3db2d4,_0xf5c9d2))+0x10,_0x4f2ff1=Math[_0x59081e(0x4a6)](_0x488639[_0x59081e(0x214)]['getTextSize'](_0x520711,_0x8e2b0e)['width']),_0x52f72b=Math[_0x59081e(0x4a6)](_0x488639[_0x59081e(0x214)][_0x59081e(0x42a)](_0x5551d1,_0x8e2b0e)[_0x59081e(0x471)]),_0x200900=Math['max'](_0x4f2ff1,_0x52f72b,0x28)+0xc,_0x5a0b00=_0x2800cf[_0x59081e(0x295)]+_0x51efa8[_0x59081e(0x295)],_0x16bb4f={},_0x2ddc95={};for(let _0x4f73ce=_0x36e183;_0x4f73ce<_0x36e183+_0x5a0b00;_0x4f73ce++){const _0x1803ff=_0x4f6547['getColumnWidth'](_0x4f73ce);_0x16bb4f[_0x4f73ce]=_0x1803ff,_0x4f73ce-_0x36e183<_0x51efa8[_0x59081e(0x295)]?_0x2ddc95[_0x4f73ce-_0x36e183]=_0x200900:_0x2ddc95[_0x4f73ce-_0x36e183]=_0x401a22;}_0x537280[_0x59081e(0x296)]({'id':_0x30840c['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x41c25e,'unitId':_0x49c10e,'ranges':[{'startColumn':_0x36e183,'endColumn':_0x36e183+_0x5a0b00-0x1,'startRow':0x0,'endRow':_0x4f6547[_0x59081e(0x4b4)]()-0x1}],'colWidth':_0x2ddc95}}),_0x50619b[_0x59081e(0x296)]({'id':_0x30840c[_0x59081e(0x421)]['id'],'params':{'subUnitId':_0x41c25e,'unitId':_0x49c10e,'ranges':[{'startColumn':_0x36e183,'endColumn':_0x36e183+_0x5a0b00-0x1,'startRow':0x0,'endRow':_0x4f6547['getRowCount']()-0x1}],'colWidth':_0x16bb4f}});}return{'undos':_0x50619b,'redos':_0x537280};}};_0x2626a1=_0x49bdaa([_0x506c87(0x0,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x3f1)])),_0x506c87(0x1,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x304)])),_0x506c87(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['IUniverInstanceService'])),_0x506c87(0x3,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x32b)])),_0x506c87(0x4,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x21f)]))],_0x2626a1);var _0x2c2e30=Object['getOwnPropertyDescriptor'],_0x2f1c57=(_0x420449,_0x349140,_0x33802d,_0x7ee9c8)=>{for(var _0x5830fb=_0x7ee9c8>0x1?void 0x0:_0x7ee9c8?_0x2c2e30(_0x349140,_0x33802d):_0x349140,_0x128993=_0x420449['length']-0x1,_0x5c515f;_0x128993>=0x0;_0x128993--)(_0x5c515f=_0x420449[_0x128993])&&(_0x5830fb=_0x5c515f(_0x5830fb)||_0x5830fb);return _0x5830fb;},_0x32f550=(_0x59e95e,_0x41a801)=>(_0x9007cc,_0x5123df)=>_0x41a801(_0x9007cc,_0x5123df,_0x59e95e);let _0x27855c=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x58c350,_0x413b91,_0x19dfa4,_0x1275c6,_0x350089,_0x2ddf77,_0x492148){const _0x360dab=_0x32a484;super(),_0x25ab16(this,_0x360dab(0x4ad),new _0x2fa876['DisposableCollection']()),(this[_0x360dab(0x42f)]=_0x58c350,this['_refRangeService']=_0x413b91,this[_0x360dab(0x4cf)]=_0x19dfa4,this[_0x360dab(0x4d0)]=_0x1275c6,this[_0x360dab(0x287)]=_0x350089,this['_sheetsPivotTableAdaptorModel']=_0x2ddf77,this['_sheetInterceptorService']=_0x492148,this[_0x360dab(0x223)]());}[_0x32a484(0x223)](){const _0x3dcdf9=_0x32a484,_0x5259a1=(_0x5445de,_0x5a51da)=>{const _0x12f9cb=_0x33f8,_0x41bd20=this[_0x12f9cb(0x4d0)]['getCurrentUnitForType'](_0x2fa876['UniverInstanceType'][_0x12f9cb(0x28a)]);if(!_0x41bd20||!(_0x41bd20==null?void 0x0:_0x41bd20[_0x12f9cb(0x493)](_0x5a51da)))return;this[_0x12f9cb(0x4ad)][_0x12f9cb(0x366)]();const _0x1a8e08=_0x34733f=>this[_0x12f9cb(0x39a)](_0x34733f,_0x5445de,_0x5a51da),_0x41e27e=this['_sheetsPivotTableConfigModel'][_0x12f9cb(0x40b)](_0x5445de,_0x5a51da);if(!(_0x41e27e!=null&&_0x41e27e[_0x12f9cb(0x40c)]))return;Array[_0x12f9cb(0x25f)](_0x41e27e[_0x12f9cb(0x1e7)]())[_0x12f9cb(0x2a0)](_0xf98579=>{const _0x12d42f=_0x12f9cb,{row:_0x20036d,col:_0x34a7e7}=_0xf98579[_0x12d42f(0x412)];return _0x2fa876[_0x12d42f(0x4bd)](_0x20036d,_0x34a7e7);})['forEach'](_0x56990f=>{const _0x4954f0=_0x12f9cb;this[_0x4954f0(0x4ad)][_0x4954f0(0x308)](this[_0x4954f0(0x365)][_0x4954f0(0x275)](_0x56990f,_0x1a8e08,_0x5445de,_0x5a51da));});},_0x3ce013=()=>{const _0x42741d=_0x33f8,_0x4f2710=this[_0x42741d(0x4d0)][_0x42741d(0x347)](_0x2fa876['UniverInstanceType'][_0x42741d(0x28a)]);if(_0x4f2710){const _0x8d8dc9=_0x4f2710[_0x42741d(0x36e)]();if(!_0x8d8dc9)return;_0x5259a1(_0x4f2710[_0x42741d(0x472)](),_0x8d8dc9['getSheetId']());}};this[_0x3dcdf9(0x327)](this[_0x3dcdf9(0x4cf)][_0x3dcdf9(0x448)](_0x425cfd=>{const _0x4bf5af=_0x3dcdf9;if(_0x425cfd['id']===_0x30840c['SetWorksheetActiveOperation']['id']){const _0x581cae=_0x425cfd[_0x4bf5af(0x3ca)],_0xc0f4a2=_0x581cae[_0x4bf5af(0x2fa)],_0x233689=_0x581cae[_0x4bf5af(0x211)];if(!_0xc0f4a2||!_0x233689)return;_0x5259a1(_0x233689,_0xc0f4a2);}})),this[_0x3dcdf9(0x327)](this[_0x3dcdf9(0x287)]['pivotInitCompleted$'][_0x3dcdf9(0x332)](_0x228606=>{_0x228606&&_0x3ce013();})),this['disposeWithMe'](this[_0x3dcdf9(0x287)][_0x3dcdf9(0x369)][_0x3dcdf9(0x332)](_0x32f29b=>{const _0x30e25a=_0x3dcdf9,_0x23471b=_0x30840c['getSheetCommandTarget'](this[_0x30e25a(0x4d0)]);if(!_0x23471b)return;const {unitId:_0x5c908d,subUnitId:_0x2fc16e}=_0x23471b,{unitId:_0x148959,subUnitId:_0x3287dd}=_0x32f29b;_0x5c908d!==_0x148959||_0x2fc16e!==_0x3287dd||_0x5259a1(_0x5c908d,_0x2fc16e);})),_0x3ce013();}[_0x32a484(0x39a)](_0x3a124f,_0x1e18f2,_0x2eba99){const _0x2139bd=_0x32a484;switch(_0x3a124f['id']){case _0x30840c[_0x2139bd(0x351)]['id']:return this[_0x2139bd(0x2e2)](_0x3a124f[_0x2139bd(0x3ca)],_0x1e18f2,_0x2eba99);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x2a9fd6,_0x4f40c8,_0x10cf7f){const _0x52a525=_0x32a484,{fromRange:_0x5ddd27,toRange:_0x5d6c3a}=_0x2a9fd6,_0x1cc241=[],_0x276dd9=[],_0x305667=_0x30840c[_0x52a525(0x279)](this[_0x52a525(0x4d0)]);if(!_0x305667)return{'undos':_0x276dd9,'redos':_0x1cc241};if(_0x4f40c8!==_0x305667[_0x52a525(0x211)]||_0x10cf7f!==_0x305667['subUnitId'])return{'undos':_0x276dd9,'redos':_0x1cc241};const _0x52af62=this[_0x52a525(0x287)][_0x52a525(0x40b)](_0x4f40c8,_0x10cf7f);if(_0x52af62!=null&&_0x52af62[_0x52a525(0x40c)])for(const [_0x334da7,_0x2fa11f]of _0x52af62){const {unitId:_0x49e751,subUnitId:_0x227fff,row:_0x35f1c0,col:_0x3f2888}=_0x2fa11f[_0x52a525(0x412)];if(_0x49e751===_0x305667['unitId']&&_0x227fff===_0x305667[_0x52a525(0x2fa)]){const _0x1cd054=_0x2fa876[_0x52a525(0x4bd)](_0x35f1c0,_0x3f2888);if(_0x2fa876['Rectangle'][_0x52a525(0x2ed)](_0x1cd054,_0x5ddd27)){const _0x3c7af1=_0x35f1c0-_0x5ddd27[_0x52a525(0x340)],_0x52d6f7=_0x3f2888-_0x5ddd27[_0x52a525(0x3e4)],_0x4d4315={'row':_0x5d6c3a[_0x52a525(0x340)]+_0x3c7af1,'col':_0x5d6c3a[_0x52a525(0x3e4)]+_0x52d6f7};_0x1cc241[_0x52a525(0x296)]({'id':_0x1de3f8['id'],'params':{'unitId':_0x49e751,'subUnitId':_0x227fff,'pivotTableId':_0x334da7,'targetCellPosition':_0x4d4315}}),_0x276dd9[_0x52a525(0x296)]({'id':_0x1de3f8['id'],'params':{'unitId':_0x49e751,'subUnitId':_0x227fff,'pivotTableId':_0x334da7,'targetCellPosition':{'row':_0x35f1c0,'col':_0x3f2888}}});const _0x20ccfc=_0x4d4315[_0x52a525(0x213)]-_0x35f1c0,_0x55818c=_0x4d4315[_0x52a525(0x38d)]-_0x3f2888,_0x2a31f9=[],_0xc07a69=this[_0x52a525(0x24c)][_0x52a525(0x2d5)](_0x49e751,_0x227fff,_0x334da7),_0x10e5b6=_0xc07a69==null?void 0x0:_0xc07a69[_0x52a525(0x38f)];if(_0x10e5b6){Object[_0x52a525(0x31e)](_0x10e5b6)[_0x52a525(0x4c2)](_0x5a6ca8=>{const _0x373191=_0x52a525;_0x10e5b6[_0x5a6ca8][_0x373191(0x4c2)](_0x1e3a12=>{const _0x57c484=_0x373191,_0x52eb0c={..._0x1e3a12};_0x52eb0c[_0x57c484(0x340)]=_0x1e3a12[_0x57c484(0x340)]+_0x20ccfc,_0x52eb0c[_0x57c484(0x2d0)]=_0x1e3a12[_0x57c484(0x2d0)]+_0x20ccfc,_0x52eb0c[_0x57c484(0x3e4)]=_0x1e3a12[_0x57c484(0x3e4)]+_0x55818c,_0x52eb0c[_0x57c484(0x315)]=_0x1e3a12[_0x57c484(0x315)]+_0x55818c,_0x2a31f9['push'](_0x52eb0c);});});const _0x5ed8ca=this[_0x52a525(0x46e)]['generateMutationsByRanges']({'unitId':_0x49e751,'subUnitId':_0x227fff,'ranges':_0x2a31f9});_0x1cc241['push'](..._0x5ed8ca[_0x52a525(0x390)]),_0x276dd9['push'](..._0x5ed8ca[_0x52a525(0x443)]);const _0x11269e=_0x10af34(this['_injector'],_0x49e751,_0x227fff,_0x2a31f9);_0x11269e[_0x52a525(0x3b8)]&&(_0x1cc241['push'](_0x11269e[_0x52a525(0x3a4)]),_0x276dd9['push'](_0x11269e[_0x52a525(0x32d)]));}}}}return{'redos':_0x1cc241,'undos':_0x276dd9};}};_0x27855c=_0x2f1c57([_0x32f550(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['Injector'])),_0x32f550(0x1,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x25e)])),_0x32f550(0x2,_0x2fa876[_0x32a484(0x41b)]),_0x32f550(0x3,_0x2fa876[_0x32a484(0x361)]),_0x32f550(0x4,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x32f550(0x5,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x404)])),_0x32f550(0x6,_0x2fa876['Inject'](_0x30840c['SheetInterceptorService']))],_0x27855c);var _0x17babc=Object[_0x32a484(0x48e)],_0x31f278=(_0x166476,_0x49627a,_0x330d19,_0x7c322)=>{const _0x2541d3=_0x32a484;for(var _0x1a7b12=_0x7c322>0x1?void 0x0:_0x7c322?_0x17babc(_0x49627a,_0x330d19):_0x49627a,_0x3c428f=_0x166476[_0x2541d3(0x249)]-0x1,_0x2aee7f;_0x3c428f>=0x0;_0x3c428f--)(_0x2aee7f=_0x166476[_0x3c428f])&&(_0x1a7b12=_0x2aee7f(_0x1a7b12)||_0x1a7b12);return _0x1a7b12;},_0x22366b=(_0x5d5307,_0x596f9f)=>(_0x45923b,_0x85b9ca)=>_0x596f9f(_0x45923b,_0x85b9ca,_0x5d5307);let _0x4e32d3=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x76036c,_0x246eec){const _0x609f78=_0x32a484;super(),this[_0x609f78(0x46e)]=_0x76036c,this[_0x609f78(0x287)]=_0x246eec,this[_0x609f78(0x1d9)]();}[_0x32a484(0x1d9)](){const _0x475a3c=_0x32a484;this[_0x475a3c(0x327)](this[_0x475a3c(0x46e)][_0x475a3c(0x3f0)]({'getMutations':_0x59ec1d=>{const _0x1e413d=_0x475a3c;if(_0x59ec1d['id']===_0x30840c[_0x1e413d(0x25c)]['id']){const _0x3085e6=[],_0x4fcb92=[],_0x527785=_0x59ec1d['params'],{unitId:_0x410f24,subUnitId:_0x128b13}=_0x527785;if(!_0x410f24||!_0x128b13)return{'undos':_0x4fcb92,'redos':_0x3085e6};const _0x465d30=this[_0x1e413d(0x287)][_0x1e413d(0x40b)](_0x410f24,_0x128b13);if(_0x465d30!=null&&_0x465d30[_0x1e413d(0x40c)])for(const [_0x3c8fe6,_0x1e0b69]of _0x465d30){_0x3085e6[_0x1e413d(0x296)]({'id':_0xe28166['id'],'params':{'unitId':_0x410f24,'subUnitId':_0x128b13,'pivotTableId':_0x3c8fe6}});const _0x31af81={...this['_sheetsPivotTableConfigModel'][_0x1e413d(0x336)](_0x410f24,_0x3c8fe6)};_0x4fcb92[_0x1e413d(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x410f24,'subUnitId':_0x128b13,'pivotTableId':_0x3c8fe6,'pivotTableConfig':_0x1e0b69,'collectionConfig':_0x31af81}});}return{'redos':_0x3085e6,'undos':_0x4fcb92};}return{'redos':[],'undos':[]};}}));}};_0x4e32d3=_0x31f278([_0x22366b(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0x22366b(0x1,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)]))],_0x4e32d3);var _0x408ed7=Object['getOwnPropertyDescriptor'],_0x4cea7b=(_0x251b15,_0x44ff70,_0x430cc1,_0x42469c)=>{for(var _0x59c705=_0x42469c>0x1?void 0x0:_0x42469c?_0x408ed7(_0x44ff70,_0x430cc1):_0x44ff70,_0x5051bf=_0x251b15['length']-0x1,_0x34f6aa;_0x5051bf>=0x0;_0x5051bf--)(_0x34f6aa=_0x251b15[_0x5051bf])&&(_0x59c705=_0x34f6aa(_0x59c705)||_0x59c705);return _0x59c705;},_0x5322da=(_0x1bfe2,_0x3ad088)=>(_0x2d8c5f,_0x21c465)=>_0x3ad088(_0x2d8c5f,_0x21c465,_0x1bfe2);let _0xa8a020=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x299a20,_0x2af359,_0x3ed279,_0x5e2079,_0x38a48e,_0x535e5f){const _0x1c3034=_0x32a484;super(),this[_0x1c3034(0x4cf)]=_0x299a20,this[_0x1c3034(0x47f)]=_0x2af359,this[_0x1c3034(0x24c)]=_0x3ed279,this[_0x1c3034(0x287)]=_0x5e2079,this[_0x1c3034(0x4d0)]=_0x38a48e,this[_0x1c3034(0x2eb)]=_0x535e5f,this[_0x1c3034(0x461)](),this['registerDirtyService']();}[_0x32a484(0x461)](){const _0x22301d=_0x32a484;this[_0x22301d(0x327)](this['_commandService'][_0x22301d(0x448)](_0x3ae5c9=>{const _0x535234=_0x22301d;if(_0x3ae5c9['id']!==_0x195cb7['id'])return;const _0x100271=_0x3ae5c9[_0x535234(0x3ca)];this[_0x535234(0x47f)][_0x535234(0x482)](_0x100271);})),this[_0x22301d(0x327)](this[_0x22301d(0x4cf)]['onCommandExecuted'](_0x3acbfb=>{const _0x4ffcd5=_0x22301d;if(_0x3acbfb['id']===_0x38a7b1['id']){const _0x5986a3=_0x3acbfb[_0x4ffcd5(0x3ca)];if(_0x5986a3){const {unitId:_0xfca160,subUnitId:_0x21b95b,oldSubUnitId:_0x2a49d2,pivotTableId:_0x3a9975,pivotTableConfig:_0x941049,collectionConfig:_0x493465}=_0x5986a3;this['_sheetsPivotTableConfigModel'][_0x4ffcd5(0x3a5)](_0xfca160,_0x2a49d2,_0x5986a3[_0x4ffcd5(0x3eb)],null),this[_0x4ffcd5(0x287)][_0x4ffcd5(0x3a5)](_0xfca160,_0x21b95b,_0x3a9975,_0x941049),this[_0x4ffcd5(0x287)][_0x4ffcd5(0x2db)](_0xfca160,_0x493465);}}})),this[_0x22301d(0x327)](this[_0x22301d(0x4cf)][_0x22301d(0x448)](_0x59800d=>{const _0x4005f9=_0x22301d;if(_0x59800d['id']!==_0x444296['id'])return;const _0x4b14ba=_0x30840c[_0x4005f9(0x279)](this[_0x4005f9(0x4d0)]);if(!_0x4b14ba)return;const {unitId:_0x3d06fe,subUnitId:_0x33e548}=_0x4b14ba,_0x55a242=_0x59800d[_0x4005f9(0x3ca)];if(_0x55a242[_0x4005f9(0x4de)]&&Object[_0x4005f9(0x31e)](_0x55a242[_0x4005f9(0x4de)])[_0x4005f9(0x4c2)](_0x28583b=>{const _0xa6fc9a=_0x4005f9;var _0x51f175;(_0x51f175=_0x55a242['collectionConfig'])!=null&&_0x51f175[_0x28583b]&&this[_0xa6fc9a(0x287)][_0xa6fc9a(0x2db)](_0x28583b,_0x55a242[_0xa6fc9a(0x4de)][_0x28583b]);}),_0x55a242[_0x4005f9(0x4cc)]){const _0x1d8d28=_0x55a242[_0x4005f9(0x4cc)],{unitId:_0x573cc9,subUnitId:_0x573340,view:_0x25f041,pivotTableId:_0x2f40ae,type:_0x56a61a,pivotConfig:_0x1b3209}=_0x1d8d28;if(_0x56a61a===_0x477731[_0x4005f9(0x3df)])this[_0x4005f9(0x24c)][_0x4005f9(0x36d)]({'unitId':_0x573cc9,'subUnitId':_0x573340,'pivotTableId':_0x2f40ae,'type':_0x56a61a}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x573cc9,_0x573340,_0x2f40ae,null);else{const _0x39c132=new _0x33417a[(_0x4005f9(0x22b))]();_0x39c132[_0x4005f9(0x298)](_0x25f041),this[_0x4005f9(0x287)][_0x4005f9(0x3a5)](_0x573cc9,_0x573340,_0x2f40ae,_0x1b3209),this['_sheetsPivotTableAdaptorModel'][_0x4005f9(0x36d)]({'unitId':_0x573cc9,'subUnitId':_0x573340,'pivotTableId':_0x2f40ae,'type':_0x56a61a,'view':_0x39c132}),this[_0x4005f9(0x24c)]['updateRenderCache']({'unitId':_0x573cc9,'subUnitId':_0x573340,'view':_0x39c132,'pivotTableId':_0x2f40ae,'type':_0x56a61a});}}else _0x55a242[_0x4005f9(0x2ff)]&&(_0x55a242[_0x4005f9(0x2ff)]['forEach'](_0x26f5f6=>{const _0x9951b9=_0x4005f9,{unitId:_0x5bac54,subUnitId:_0x3e15eb,view:_0x3df141,pivotTableId:_0x56ba40,type:_0x56e6a4,pivotConfig:_0x534760}=_0x26f5f6,_0x440878=new _0x33417a['PivotView']();_0x440878['formJSON'](_0x3df141),this[_0x9951b9(0x287)][_0x9951b9(0x3a5)](_0x5bac54,_0x3e15eb,_0x56ba40,_0x534760),this['_sheetsPivotTableAdaptorModel'][_0x9951b9(0x492)]({'unitId':_0x5bac54,'subUnitId':_0x3e15eb,'view':_0x440878,'pivotTableId':_0x56ba40,'type':_0x56e6a4});}),this['_sheetsPivotTableConfigModel'][_0x4005f9(0x225)]());this[_0x4005f9(0x24c)]['markDirty'](_0x3d06fe,_0x33e548);}));}[_0x32a484(0x1f7)](){const _0x4f7f4e=_0x32a484;this[_0x4f7f4e(0x2eb)][_0x4f7f4e(0x43f)](_0x322618['id'],{'commandId':_0x322618['id'],'getDirtyData'(_0x10762e){const _0x3b3391=_0x4f7f4e;return{'dirtyUnitFeatureMap':_0x10762e[_0x3b3391(0x3ca)]};}});}};_0xa8a020=_0x4cea7b([_0x5322da(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x41b)])),_0x5322da(0x1,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x3af)])),_0x5322da(0x2,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x404)])),_0x5322da(0x3,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x5322da(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x5322da(0x5,_0x196a8d[_0x32a484(0x3e7)])],_0xa8a020);var _0x1d531b=Object[_0x32a484(0x207)],_0x3ac881=Object['getOwnPropertyDescriptor'],_0x3b915a=(_0x4cb243,_0x5abd59,_0x592686)=>_0x5abd59 in _0x4cb243?_0x1d531b(_0x4cb243,_0x5abd59,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x592686}):_0x4cb243[_0x5abd59]=_0x592686,_0x5cc37f=(_0x2707ca,_0x146679,_0x14fb28,_0xa219fb)=>{for(var _0x2a0063=_0xa219fb>0x1?void 0x0:_0xa219fb?_0x3ac881(_0x146679,_0x14fb28):_0x146679,_0x296a18=_0x2707ca['length']-0x1,_0x474155;_0x296a18>=0x0;_0x296a18--)(_0x474155=_0x2707ca[_0x296a18])&&(_0x2a0063=_0x474155(_0x2a0063)||_0x2a0063);return _0x2a0063;},_0x587dd9=(_0x53bc60,_0x34f171)=>(_0x3b4837,_0x4ea5e3)=>_0x34f171(_0x3b4837,_0x4ea5e3,_0x53bc60),_0x5afdc8=(_0x283526,_0x684b07,_0x1b42c3)=>_0x3b915a(_0x283526,typeof _0x684b07!=_0x32a484(0x3fb)?_0x684b07+'':_0x684b07,_0x1b42c3);_0xd0af73[_0x32a484(0x1db)]=class extends _0x2fa876[_0x32a484(0x2b7)]{constructor(_0x2d9b84=_0x876202,_0x29b9e2,_0x319750,_0x30a925,_0xb3299d){const _0x5cdef9=_0x32a484;super(),this[_0x5cdef9(0x31a)]=_0x2d9b84,this[_0x5cdef9(0x42f)]=_0x29b9e2,this[_0x5cdef9(0x4cf)]=_0x319750,this[_0x5cdef9(0x3bd)]=_0x30a925,this[_0x5cdef9(0x4c8)]=_0xb3299d;const {..._0x43522a}=_0x2fa876[_0x5cdef9(0x405)]({},_0x876202,this['_config']);this[_0x5cdef9(0x3bd)][_0x5cdef9(0x386)](_0x2d6051,_0x43522a),this['_initRegisterCommand'](),this[_0x5cdef9(0x2c4)]();}[_0x32a484(0x2c4)](){const _0x2f0cda=_0x32a484;var _0x383593;const _0x5bdc87=(_0x383593=this['_config'])==null?void 0x0:_0x383593[_0x2f0cda(0x4e0)];this[_0x2f0cda(0x3bd)]['setConfig'](_0x51f97f,_0x5bdc87===!0x0);}[_0x32a484(0x3f7)](){const _0x14f33c=_0x32a484;var _0x58cde5;let _0x346cf6=[];const _0xde7789=(_0x58cde5=this[_0x14f33c(0x31a)])==null?void 0x0:_0x58cde5[_0x14f33c(0x4e0)];_0xde7789===!0x0?_0x346cf6=[[_0xd0af73[_0x14f33c(0x21f)]],[_0xd0af73[_0x14f33c(0x3af)]],[_0xa8a020],[_0xd0af73[_0x14f33c(0x404)]],[_0xd0af73[_0x14f33c(0x32b)]],[_0x4e32d3],[_0x59d811],[_0x27855c],[_0x2626a1]]:_0xde7789===!0x1?_0x346cf6=[[_0xd0af73[_0x14f33c(0x255)]],[_0x5da108]]:_0xde7789===void 0x0&&(_0x346cf6=[[_0xd0af73[_0x14f33c(0x255)]],[_0x5da108],[_0xd0af73['SheetsPivotTableService']],[_0xd0af73[_0x14f33c(0x3af)]],[_0xa8a020],[_0xd0af73[_0x14f33c(0x404)]],[_0xd0af73[_0x14f33c(0x32b)]],[_0x4e32d3],[_0x59d811],[_0x27855c],[_0x2626a1]]),_0x346cf6[_0x14f33c(0x4c2)](_0x26913c=>this[_0x14f33c(0x42f)]['add'](_0x26913c)),[_0x5da108,_0xa8a020,_0xd0af73[_0x14f33c(0x21f)],_0x59d811,_0x4e32d3,_0x27855c,_0x2626a1][_0x14f33c(0x4c2)](_0x4b60bf=>{const _0x1389da=_0x14f33c;this['_injector'][_0x1389da(0x290)](_0x4b60bf)&&this['_injector'][_0x1389da(0x3fc)](_0x4b60bf);});}['_initRegisterCommand'](){const _0x337dcd=_0x32a484;[_0x500188,_0x15728c,_0x2d335d,_0x4cb5ef,_0x429f9b,_0x114525,_0x51b8e0,_0xef2bc4,_0x559985,_0x10b4bf,_0x1a8f8f,_0xe923e7,_0x35a97c,_0x3c4350,_0x22c246,_0x502ff1,_0xe28166,_0x2b9c30,_0x1b9e99,_0xf85d51,_0x540b6c,_0xabb6f3,_0x5cf91e,_0x20aabe,_0x3b5bf2,_0x3e8bcd,_0x1de3f8,_0x12d10f,_0x195cb7,_0x444296,_0x29c946,_0x16697b,_0x549329,_0x149f91,_0x3e71e4,_0x22cd86,_0x10d193,_0x322618,_0x38a7b1,_0x29b10f,_0xa23cd8,_0x260d7f,_0x34b67e][_0x337dcd(0x4c2)](_0x8250b2=>{const _0x4ce967=_0x337dcd;var _0x4abf5e;(_0x4abf5e=this[_0x4ce967(0x4c8)])==null||_0x4abf5e[_0x4ce967(0x267)](_0x8250b2),this['_commandService']['registerCommand'](_0x8250b2);});}},_0x5afdc8(_0xd0af73['UniverSheetsPivotTablePlugin'],_0x32a484(0x36b),_0x1a68df),_0x5afdc8(_0xd0af73[_0x32a484(0x1db)],_0x32a484(0x38a),_0x2fa876['UniverInstanceType'][_0x32a484(0x28a)]),_0xd0af73['UniverSheetsPivotTablePlugin']=_0x5cc37f([_0x2fa876[_0x32a484(0x418)](_0x4baa44['UniverLicensePlugin']),_0x587dd9(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x587dd9(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['ICommandService'])),_0x587dd9(0x3,_0x2fa876['IConfigService']),_0x587dd9(0x4,_0x2fa876['Optional'](_0x52ef50['DataSyncPrimaryController']))],_0xd0af73[_0x32a484(0x1db)]),_0xd0af73[_0x32a484(0x41f)]=_0x2d335d,_0xd0af73['AddPivotFieldMutation']=_0x2b9c30,_0xd0af73[_0x32a484(0x43d)]=_0x15728c,_0xd0af73['AddPivotTableMutation']=_0x22c246,_0xd0af73[_0x32a484(0x1e3)]=_0x500188,_0xd0af73['BLANK_ROW_COUNT']=_0x4814ba,_0xd0af73['DEFAULT_PIVOT_NUMBER']=_0x1c1f87,_0xd0af73['MovePivotFieldCommand']=_0x4cb5ef,_0xd0af73[_0x32a484(0x3dc)]=_0x35a97c,_0xd0af73[_0x32a484(0x2c9)]=_0x1ce851,_0xd0af73[_0x32a484(0x2ba)]=_0x3c4350,_0xd0af73['PivotTableOperationEnum']=_0x477731,_0xd0af73['PivotTableViewDirtyMarkOperation']=_0x322618,_0xd0af73[_0x32a484(0x2df)]=_0x323c52,_0xd0af73[_0x32a484(0x474)]=_0x429f9b,_0xd0af73['RemovePivotFieldMutation']=_0xabb6f3,_0xd0af73[_0x32a484(0x2fe)]=_0xe28166,_0xd0af73[_0x32a484(0x45c)]=_0x5cf91e,_0xd0af73[_0x32a484(0x1f0)]=_0x34b67e,_0xd0af73[_0x32a484(0x2e0)]=_0x2d6051,_0xd0af73[_0x32a484(0x436)]=_0x1a68df,_0xd0af73[_0x32a484(0x30d)]=_0xef2bc4,_0xd0af73[_0x32a484(0x281)]=_0x20aabe,_0xd0af73[_0x32a484(0x32c)]=_0x149f91,_0xd0af73['SetPivotFieldsConfigCommand']=_0x260d7f,_0xd0af73[_0x32a484(0x348)]=_0x10b4bf,_0xd0af73['SetPivotFilterMutation']=_0x540b6c,_0xd0af73['SetPivotOptionMutation']=_0x3e8bcd,_0xd0af73['SetPivotPositionMutation']=_0x1de3f8,_0xd0af73[_0x32a484(0x3b6)]=_0x559985,_0xd0af73['SetPivotSortMutation']=_0x3b5bf2,_0xd0af73[_0x32a484(0x338)]=_0x549329,_0xd0af73[_0x32a484(0x478)]=_0x29b10f,_0xd0af73[_0x32a484(0x406)]=_0xa23cd8,_0xd0af73['UpdateDateGroupCommand']=_0x51b8e0,_0xd0af73[_0x32a484(0x3e5)]=_0x29c946,_0xd0af73['UpdatePivotFieldSettingCommand']=_0x1a8f8f,_0xd0af73[_0x32a484(0x1f1)]=_0x10d193,_0xd0af73['UpdatePivotTableSourceRangeCommand']=_0xe923e7,_0xd0af73[_0x32a484(0x420)]=_0x22cd86,_0xd0af73[_0x32a484(0x42b)]=_0x114525,_0xd0af73['UpdateValuePositionMutation']=_0x16697b,_0xd0af73['applyChangeSet']=_0x5706b0,_0xd0af73[_0x32a484(0x259)]=_0x63db07,_0xd0af73[_0x32a484(0x215)]=_0x226288,_0xd0af73[_0x32a484(0x331)]=_0x10af34,_0xd0af73['getAdjustRangesPosition']=_0x47957b,_0xd0af73[_0x32a484(0x391)]=_0xee0526,_0xd0af73[_0x32a484(0x30e)]=_0x19b65e,_0xd0af73['getInsertRowColMutations']=_0x36c3d6,_0xd0af73[_0x32a484(0x44d)]=_0x5894c7,_0xd0af73[_0x32a484(0x375)]=_0x2d207d,_0xd0af73[_0x32a484(0x446)]=_0x4dd84c,_0xd0af73[_0x32a484(0x3be)]=_0x27d4ee,_0xd0af73[_0x32a484(0x487)]=_0x3fcd7b,Object[_0x32a484(0x207)](_0xd0af73,Symbol[_0x32a484(0x490)],{'value':_0x32a484(0x288)});}));function _0xfab3(){const _0x10ee1c=['getColumnCount','PivotDateGroupFieldDateTypeEnum','unionPivotViewRange','RemoveSheetsFilterMutation','_globalSubject','ObjectMatrix','workbook\x20is\x20not\x20found','version','_globalComputedStartHelpFunc','getOwnPropertyDescriptor','adjustSheetCellData','toStringTag','Year','updateRenderCache','getSheetBySheetId','STRING','_localeService','parse','GlobalConfig','_collectionChange$','sheets.tabs.sheet','sheet.command.reset-pivot-fields-config','sheet.mutation.send-init-pivot-text-local','getDataFieldId','_initClearSelectionCommandInterceptor','rangeCache','function','intercept','setSourceName','setPivotTableConfig','Inject','sheet.mutation.set-pivot-sort-info','Value','floor','valueFilter','getFieldCountByArea','getFieldById','getTargetByPivotId','toJSON','grandTotal','disposableCollection','_resourceManagerService','getMonth','h9x3Kbtx\x20gF3T6JKbtx(Hb3FxCF,\x20J9OHb3GF6)\x20{\x20\x20\x20\x20KT6\x20{\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20Hb3FxCFAxhtnDTKNTTD6\x20=\x20Hb3FxCF.CJHbK(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20tTbwbxfFCCDwF\x20=\x20mE7R.JDTCF(DKtO(Hb3FxCFAxhtnDTKNTTD6[c]));\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!tTbwbxfFCCDwF.9g)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tTbwbxfFCCDwF.9g\x20=\x20R9POFT(Hb3FxCFAxhtnDTKNTTD6[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20bCytTvFT\x20=\x20K6JFth\x20ytTvFTkHtODHE3tJF\x20!==\x20\x279xgFhbxFg\x27\x20&&\x20CFHh\x20bxCKDx3Fth\x20ytTvFTkHtODHE3tJF;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x203txKFYK\x20=\x20bCytTvFT\x20?\x20CFHh\x20:\x20ubxgtu;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[c]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(PFCCDwFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[s]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(CbwxDK9TFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxlDHbg\x20=\x203txKFYK.__IFTbh6__(CbwxDK9TF,\x20PFCCDwF,\x20J9OHb3GF6);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20gtPDbx\x20=\x20tTbwbxfFCCDwF.gP;\x20\x20\x20\x20\x20\x20\x20\x20h9x3Kbtx\x20bCVtPDbxfDK3qbxw(tnDKKFTx,\x20trtCK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTx\x20=\x20tnDKKFTx.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCK\x20=\x20trtCK.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxnDTKC\x20=\x20JDKKFTx.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKnDTKC\x20=\x20qtCK.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!JDKKFTx.bx3H9gFC(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTx\x20===\x20qtCK;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(JDKKFTxnDTKC.HFxwKq\x20<\x20c\x20||\x20JDKKFTxnDTKC[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20hDHCF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxE9hhbY\x20=\x20JDKKFTxnDTKC.CHb3F(p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKE9hhbY\x20=\x20qtCKnDTKC.CHb3F(-JDKKFTxnDTKC.HFxwKq\x20+\x20p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTxE9hhbY\x20===\x20qtCKE9hhbY;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HFK\x20gtPDbxlDHbg\x20=\x20(gtPDbx\x20&&\x20gtPDbx.HFxwKq)\x20?\x20gtPDbx.CtPF((gPAKFP)\x20=>\x20bCVtPDbxfDK3qbxw(gPAKFP,\x20Ht3DKbtx.qtCKxDPF))\x20:\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(Ht3DKbtx.qtCKxDPF\x20===\x20\x27Ht3DHqtCK\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gtPDbxlDHbg\x20=\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20IDHbg\x20=\x20CbwxlDHbg\x20&&\x20gtPDbxlDHbg;\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20tTbwbxfFCCDwF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x203DK3q\x20(FTTtT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg:\x20hDHCF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','viewData$','getIndexesByPathStr','updatePivotSource','getRowCount','978795dCpFQB','getDataFieldManager','_initViewModelBySheetInterceptor','call','replace','rxjs','refreshGroupField','PivotSubtotalTypeEnum','cellToRange','dimension','Grand\x20Total','SetPivotCollapse','startCollectChangeset','forEach','@univerjs/sheets-filter','getColCount','InsertColMutation','getDataFieldBySourceName','getFieldInfo','_dataSyncPrimaryController','colStyle','asyncInterceptor','queryDirtyPivotTable','single','2dKADib','12CHalst','_commandService','_univerInstanceService','NO_COMMERCIAL','name','SetPivotSort','valueIndex','leafStyle','_subjectFieldsCollectionChange','rangeKeyMap','deleteUnitId','fields','_initPivotDataGetListener','(Blank)','FieldsCollection','Disposable','collectionConfig','cornerStyle','notExecuteFormula','FORCE_STRING','collections','Expand','_updateModelCache','#1d32e9','handleSourceRangeChange','addField','sheet.mutation.send-pivot-view-local','@univerjs/engine-formula','_viewUpdate$','Hour','measure','isDate','_ensurePivotTableRangeInfo','varp','Column','ErrorType','_viewData','_initRemoveSheetCommandInterceptor','sheet.command.set-pivot-collapse','UniverSheetsPivotTablePlugin','_textInfo','Max\x20of\x20','minDate','getValueIndex','_ensurePivotMap','InsertSheetUndoMutationFactory','DateGroupField','AddPivotTableWithConfigCommand','getUnit','getDirtyInfo','SetPivotFilter','values','level','sum','sheets-pivot.minName','colInfo','getFormat','sheets-pivot.cellDateGroupDisplay.minute','sheet.mutation.remove-group-collection','Product\x20of\x20','ResetPivotFieldsConfigCommand','UpdatePivotFieldSourceInfoMutation','addPivotTableWithConfig','versions','iterateFieldByArea','_updatePivotTableInstanceCache','range','registerDirtyService','slice','max','getAutoFitColumnsMutations','updateConfig','removeCollections','sheets-pivot.emptyPivot.column','isFeatureAuthorizedWithinTime','getGroupFieldsInfoByIds','New','format','custom','getFullYear','getMatrix','sheet.mutation.pivot-update-field-source-info','areaInfo','defineProperty','_lifecycleService','_toJSON','sheet.operation.pivot-table-view-formula-mark-dirty','addCollectionByJSON','setPivotSort','message','min','sheet.command.set-pivot-filter','result','unitId','sheet.mutation.get-pivot-data-local','row','FontCache','defaultThemeStyle','UniverRpc','broadcastCollectionChange','sourceRangeInfo','CELL_CONTENT','_sheetsPivotTableService','sortInfo','sheets-pivot.emptyPivot.values','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','iterateFieldDim','SheetsPivotTableService','SetValuePivotFilter','dataRangeInfo','uniqueDataFieldName','_onRefRangeChange','SetSubtotalType','setPivotInitCompleted','#eceeff','sheets-pivot.cellDateGroupDisplay.yearMonthDate','updateViewInfo','addFieldWithSourceId','rowRanges','PivotView','colHeaderMap','getName','pbt','RemoveSheetMutation','registerPluginResource','_pivotConfigChange$','fromJSON','getformat','setSortInfo','pushComputingStatusSubject','getDate','colRanges','generateNewSheetName','updateView','subTotalStyle','blank','dataFields','setPivotSetting','RemoveField','@univerjs/core','deleteDataField','AddPivotTableWithConfig','sheets-pivot.cellDateGroupDisplay.yearQuarter','rgb(255,255,255)','getId','PivotFilterTypeEnum','getIntersectsPivotTable','fetchThroughInterceptors','_initPivotTextInfo','length','setValueFilterInfo','createInterceptorKey','_sheetsPivotTableAdaptorModel','contains','sheet.command.pivot-drill-down','executeCommand','getValue','setDisplayName','updateFieldPosition','setSubtotalType','addRecord','SheetsPivotDataSourceModel','_collectionConfigModel','updatePivotTableRangeInfo','MAX_SAFE_INTEGER','canUsePivot','Subject','getHeaderMapItem','RemoveSheetCommand','getCurrentSelections','RefRangeService','from','panel','Panel','_dataFieldManagerCollection','getPivotDisplayConfig','PivotDataFieldTypeEnum','getRangeData','paths','registerSyncingMutations','set','var','some','_updateRenderEmptyCache','sheet.mutation.send-pivot-data-local','rangeType','UpdateFieldPosition','getAutoDisplayName','sheets-pivot.productName','setName','addDirtyPivotTable','SetCollapse','SetRangeValuesUndoMutationFactory','registerRefRange','rowInfo','stringify','serializeRangeWithSpreadsheet','getSheetCommandTarget','setCollapse','getLastCol','fontRenderExtension','oldRangeInfo','updateRangeKeyMap','setDateType','setValue','SetPivotCollapseMutation','new','PivotDataFieldDataTypeEnum','getValueFilterInfos','charCodeAt','bind','_sheetsPivotTableConfigModel','Module','Existing','UNIVER_SHEET','getConfig','value','Minute','PivotTable','getPivotTableModelConfig','has','sheets-pivot.cellDateGroupDisplay.month','setPivotTable','iterateField','SetSheetsFilterRangeMutation','colCount','push','sheet.mutation.rename-pivot-field','formJSON','getFieldFormat','YearMonth','StdDev\x20of\x20','_initLocale','getFieldIds','sheets-pivot.dateGroup.yearMonth','598399PDzaPh','map','includes','getAutoDisplayNameFunction','random','deepClone','#e6ebfa','prototype','_ensureViewDataMap','INTERCEPTOR_POINT','sheet.mutation.set-pivot-filter','sheets-pivot.grandTotal','AsyncInterceptorManager','generateMutationsByRanges','sheets-pivot.averageName','endCollectChangeset','createCollectionWithDataRange','_getPivotAppliedRanges','countNums','foreach','getDisplayName','getFieldDataType','sheets-pivot.dateGroup.monthDate','NUMBER','Plugin','_subjectCollectionChange','sheet.mutation.add-pivot-field','PivotDrillDownCommand','getStyles','splice','realDeleteValue','Var\x20of\x20','update','getTargetByPivotTableId','leftOffset','setLabelFilterInfo','sheets-pivot.dateGroup.minute','_initConfig','numfmt','filter','document','dateGroupField','PivotDisplayDataType','getSheetId','getRangeKeyList','getFilterInfo','getSheetBySheetName','sheet.mutation.send-pivot-config-local','toString','endRow','SetOptions','forRow','sheet.command.add-pivot-field','getPivotTableIdByCell','getPivotItemRenderInfoCache','_pivotTableMatrixInfo','rangeKey','#b2b2b2','getPivotDirtyViewInfo','IResourceManagerService','updateCollectionConfig','sheets-pivot.cellDateGroupDisplay.year','getDataFieldByTableId','exports','PositionType','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','getInterceptPoints','getRefRangeMutationsByMoveRange','SetPivotTableConfig','sheet.command.remove-pivot-field','getRangeKey','_model','_requestResolvers','_initSnapshot','getPivotTableConfig','limit\x20pivot','_activeDirtyManagerService','UniverSheetsFilter','intersects','SetFieldFormat','sheet.mutation.add-group-collection','sheet.command.set-pivot-sort','MonthDate','filterInfo','removeSourceRangeChange','PivotErrorTypeEnum','substring','CommandType','columnFields','PivotMultipleValueId','isErrorValue','subUnitId','ManualFilter','ResetPivotTable','pivotTableConfigs','RemovePivotTableMutation','batch','dataFieldManagerConfig','6296072ctdZxL','headerMap','_featureCalculationManagerService','Injector','sheet.mutation.pivot-update-field-position','sheet.mutation.set-pivot-collapse','PivotCellStyleTypeEnum','add','number','setFieldFormat','other','sheet.mutation.set-pivot-field-subtotal-type','SetPivotCollapseCommand','getFieldListByArea','addPivotTable','sheets-pivot.columnName','getPivotTableCellData','UniverProLicense','UniverProSheetsPivot','PivotTableValuePositionEnum','endColumn','createAsyncInterceptorKey','_sheetsSelectionsService','sheets-pivot.blank','removeDataField','_config','DataField','_getAutoName','pivotInitCompleted$','keys','pageRanges','updateViewData','PivotTableFiledAreaEnum','removeValueFilterInfoByValueFieldId','fetchThroughAsyncInterceptors','_deleteModelCache','reset','isDateGroupField','disposeWithMe','updateDataFieldsCollection','sheetName','setOptions','SheetsPivotTableConfigModel','SetPivotFieldFormatMutation','setRangeValueUndoMutation','getTextInfo','#FFFFFF','registerCallbackWithEvent','generateSetRangeValueMutations','subscribe','getPivotPerformCheck','textInfo','originalFieldId','getCollection','ReleaseType','SetPivotSubtotalTypeMutation','RemovePivotField','Range','onQueryEnd','SetFilterInfo','DrillDown','isDateGroupFieldJSON','collapseInfo','startRow','query','_generateUniqueVersion','subtotal','resetPivotTable','sheet.command.add-pivot-table-with-config','SHEET_PIVOT_EXCLUSIVE_ID','getCurrentUnitForType','SetPivotFilterCommand','Row','_sheetsPivotDataSourceModel','getRangeStartEndInfo','updateValuePosition','pushUndoRedo','Quarter','body','sheet.command.add-pivot-table','MoveRangeCommand','_subjectViewChange','setPivotCollapse','createDataFieldId','addDataFieldWithoutUnitInfo','setRangeKeyMap','AddPivotField','Total','_ensurePivotTableMatrixInfo','RemoveColMutation','generateHexNumber','removeCollectionImp','SetRangeValuesMutation','rowHeaderMap','_queryingMap','dataFieldsCollection','IUniverInstanceService','sheets-pivot.varpName','fieldsCollectionChange$','getLastRow','_refRangeService','dispose','originTargetInfo','getUpdateRangeDeleteIds','pivotConfigChange$','getSheets','pluginName','_createExclusiveRange','clearRenderCache','getActiveSheet','_pivotTableInstanceCache','getPivotTableMatrixInfo','matrix','isBaseGroupField','string','sheets-pivot.dateGroup.yearMonthDate','getPivotInfoByLicense','UniverInstanceType','options','_markDirty$','UpdatePivotSource','DataFieldManager','sheet.mutation.add-pivot-table','3vmrSVl','stdDevp','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.dateGroup.yearQuarter','sheets-pivot.varName','refreshData','handleMoveRange','UniverSheets','isText','addPivotField','setConfig','COMMAND','SHEET_PIVOT_IN_MAIN_THREAD','oldMatrix','type','_exclusiveRangeService','sheets-pivot.countNumsName','col','setPivotFilter','rangesInfo','redos','getEmptyPivotRanges','getPivotTableRangeInfo','CellValueType','Count\x20of\x20','NORMAL','sheet.command.update-date-group','MovePivotField','concat','amd','_refRangeHandle','Subtotal','generateRandomId','parseInt','DEFAULT_WORKSHEET_COLUMN_COUNT','renameField','SetPivotSetting','_ensurePivotItemRenderInfoCache','#f4f4f5','3135769XdrOUY','setRangeValueRedoMutation','updateConfigCache','token','isNaN','sheet.command.move-pivot-table','delete','existing','sheets-pivot.stdDevName','dataStyle','unshiftString','error','SheetsPivotRPCService','object','movePivotField','Rectangle','ptn','_pivotTableRangeInfo','isDateValue','SetPivotSortCommand','sheet.command.set-pivot-fields-config','shouldClear','HourMinute','UpdateValuePosition','_initUnitDisposed','IUndoRedoService','_configService','transFromCellValue','866160XUIBRP','getIntersects','fieldIds','MUTATION','deleteField','Values','getFilterFieldIdByIndex','@univerjs/sheets','addCollection','BadReference','rowCount','params','triggerDirtyFeature','CustomCommandExecutionError','count','_configVersion$','createLabelField','Filter','Date','LocaleService','getFieldPositionInfoById','pivotTableIndexConfig','AddPivotTable','valuePosition','getCellRaw','IExclusiveRangeService','sourceName','IConfigService','fieldId','MovePivotTableCommand','InsertSheetMutation','isValue','Delete','RenameField','getDataFieldByRangeKey','rowFields','YearMonthDate','startColumn','UpdateFieldPositionMutation','sequenceExecute','IActiveDirtyManagerService','generateNullCell','updateDirtyPivotTable','getCellMatrix','pivotTableId','SetSortInfo','forValue','addExclusiveRange','_host','interceptCommand','SheetInterceptorService','Tools','lastCol','sheets-pivot.cellDateGroupDisplay.yearMonth','cornerRanges','sheets-pivot.emptyPivot.row','onStarting','removeField','SetValueFilter','isEmpty','symbol','get','InterceptorEffectEnum','LS_CONFIG_KEY','average','\x20-\x20','Add','sheets-pivot.stdDevpName','sheet.mutation.update-date-group','SheetsPivotTableAdaptorModel','merge','SetPivotValueFilterMutation','tableFieldId','entries','782972hnupWx','refreshDataField','getSubUnitPivotConfigs','size','needSameDeleteModel','Average\x20of\x20','NotFunction','RANGE_TYPE','asObservable','targetCellInfo','sheets-pivot.dateGroup.month','valueFields','PIVOT_MUTATION_GENERATE','_globalComputingSrv','sheets-pivot.sumName','DependentOn','setRange','_pivotRenderValueMatrixCache','ICommandService','updatePivotTableMatrixInfo','unshift','1058440wPeaeK','AddPivotFieldCommand','UpdatePivotTableSourceRangeMutation','SetWorksheetColWidthMutation','dataFieldId','getSubtotal','sheet.mutation.pivot-update-value-position','column','filterFields','lastRow','removeValueFilterInfo','_fieldsCollectionChange$','getTextSize','UpdatePivotValuePositionCommand','UpdateSource','@univerjs-pro/license','_initCommandInterceptListener','_injector','_pivotRenderInfoCache','getSubUnitPivotRenderCache','UniverCore','sheet.mutation.set-pivot-value-filter','RemoveRowMutation','isArray','SHEET_PIVOT_TABLE_PLUGIN','date','prefix','PivotTableChangeTypeEnum','initDataRanges','tuple','YearQuarter','AddPivotTableCommand','GrandTotal','register','updateAllDisplayName','getSourceName','drillDown','undos','sheet.mutation.set-pivot-option','ΣValue','getPivotTableInfo','getTableFieldById','onCommandExecuted','Div0','_init','PivotViewCellValueTypeEnum','getDataFieldByDataFieldId','getPivotCellInfo','interceptor','displayName','valid','next','getDataFieldItemInfo','setDirty','setValuePivotFilter','_viewData$','pageStyle','sheets-pivot.other','REF','cornerInfo','getOriginFieldId','removePivotField','RenamePivotFieldMutation','setDataRecordCount','MIN_SAFE_INTEGER','info','mergeWorksheetSnapshotWithDefault','_initDataSendListener','sheets-pivot.cellDateGroupDisplay.quarter','pivotMutationGenerate','markDirty','getNoUsedDataFieldIds','getTypeOfUnitDisposed$','getSortInfo','getValuePosition','getViewData','DIV_BY_ZERO','Sum\x20of\x20','isBottomTotal','_pivotInitCompleted$','_sheetInterceptorService','node','rgb(240,241,243)','width','getUnitId','collection','RemovePivotFieldCommand','find','_globalComputedEndHelpFunc','getSheetFeatureLimit','SetPivotValueFilterCommand','LifecycleService','Set','getPivotTableInstance','return\x20','Month','updateFieldSourceInfo','_sheetsPivotRpcService','NAME','fieldsConfig','handleAsyncResponse','sheets-pivot.value','data'];_0xfab3=function(){return _0x10ee1c;};return _0xfab3();}