@univerjs-pro/sheets-pivot 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251220-0a5ea4d

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 (55) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/common/const.d.ts +39 -39
  41. package/lib/types/controllers/const.d.ts +1 -1
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +9 -9
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3c4e90,_0x47cdba){const _0x18bf26=_0xfdbf,_0x567eb2=_0x3c4e90();while(!![]){try{const _0xfe6f3d=parseInt(_0x18bf26(0x152))/0x1*(parseInt(_0x18bf26(0x3f9))/0x2)+-parseInt(_0x18bf26(0x194))/0x3*(-parseInt(_0x18bf26(0x3af))/0x4)+parseInt(_0x18bf26(0x192))/0x5*(-parseInt(_0x18bf26(0x198))/0x6)+parseInt(_0x18bf26(0x1d4))/0x7+-parseInt(_0x18bf26(0x395))/0x8*(-parseInt(_0x18bf26(0x3fc))/0x9)+parseInt(_0x18bf26(0x32d))/0xa*(parseInt(_0x18bf26(0x1c2))/0xb)+-parseInt(_0x18bf26(0x37f))/0xc;if(_0xfe6f3d===_0x47cdba)break;else _0x567eb2['push'](_0x567eb2['shift']());}catch(_0xca9c2c){_0x567eb2['push'](_0x567eb2['shift']());}}}(_0x2ed3,0x2a8c7),function(_0x117931,_0x25b2ac){const _0x5bf72a=_0xfdbf;typeof exports==_0x5bf72a(0x260)&&typeof module<'u'?_0x25b2ac(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=='function'&&define['amd']?define([_0x5bf72a(0x3a7),_0x5bf72a(0x200),'@univerjs/core','@univerjs/engine-formula',_0x5bf72a(0x1ac),_0x5bf72a(0x3d9),'@univerjs-pro/license',_0x5bf72a(0x15f),'@univerjs/rpc',_0x5bf72a(0x2ed)],_0x25b2ac):(_0x117931=typeof globalThis<'u'?globalThis:_0x117931||self,_0x25b2ac(_0x117931['UniverProSheetsPivot']={},_0x117931[_0x5bf72a(0x3e5)],_0x117931[_0x5bf72a(0x205)],_0x117931['UniverEngineFormula'],_0x117931[_0x5bf72a(0x292)],_0x117931[_0x5bf72a(0x3d9)],_0x117931[_0x5bf72a(0x1dd)],_0x117931[_0x5bf72a(0x15e)],_0x117931['UniverRpc'],_0x117931[_0x5bf72a(0x3f0)]));}(this,function(_0x4652af,_0x42fb89,_0x5475a7,_0x38ed7b,_0x20619b,_0xfe6fd0,_0x57119e,_0x4187b0,_0x3cbf50,_0x2a2a34){'use strict';const _0x37107d=_0xfdbf;var _0xa0444f=Object[_0x37107d(0x26f)],_0x1561c1=(_0x1ffa0a,_0x4d98ac,_0x273748)=>_0x4d98ac in _0x1ffa0a?_0xa0444f(_0x1ffa0a,_0x4d98ac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x273748}):_0x1ffa0a[_0x4d98ac]=_0x273748,_0x33deac=(_0x4197b8,_0x43721d,_0x15151f)=>_0x1561c1(_0x4197b8,typeof _0x43721d!='symbol'?_0x43721d+'':_0x43721d,_0x15151f);const _0xb17d68=Number['parseInt'](0x69439c85),_0x55df66=0x10,_0x5dcb75=0x1,_0x55f144=_0x37107d(0x3cb),_0x42e754=0x1,_0x5d35e2=_0x37107d(0x29c),_0x52efc5=_0x37107d(0x316),_0x22618f='#b2b2b2',_0x141277=_0x37107d(0x339),_0x355341=_0x37107d(0x339),_0x322455=_0x37107d(0xfe),_0x3f6d66=_0x37107d(0x21b),_0x5570ac='#FFFFFF',_0x4b1221=_0x37107d(0x310),_0x4f0cdd=_0x37107d(0x21b),_0x267392='#FFFFFF',_0x506d2b='#e6ebfb',_0x5e5d68=0xe,_0x2f782f=0x6;var _0x570a84=(_0x5eb99a=>(_0x5eb99a['Existing']='existing',_0x5eb99a[_0x37107d(0x38e)]=_0x37107d(0x39b),_0x5eb99a))(_0x570a84||{});const _0x556f26={'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':''}}},_0xdee6de=0x1e,_0x1fc2a3={'b':{'s':0x1,'cl':{'rgb':_0x22618f}},'l':{'s':0x1,'cl':{'rgb':_0x22618f}},'r':{'s':0x1,'cl':{'rgb':_0x22618f}},'t':{'s':0x1,'cl':{'rgb':_0x22618f}}},_0x2d442c={'bg':{'rgb':_0x5d35e2},'ht':0x2,'vt':0x2,'tb':0x1},_0xe48601={'bg':{'rgb':_0x52efc5},'ht':0x2,'vt':0x2,'tb':0x1},_0x1659df={'rowStyle':{'bg':{'rgb':_0x506d2b},'bd':_0x1fc2a3,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x4f0cdd},'bd':null,'cl':{'rgb':_0x267392},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x4b1221},'vt':0x2},'cornerStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x322455},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x141277},'vt':0x2},'leafStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x355341},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x3f6d66},'cl':{'rgb':_0x5570ac},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1fc2a3,'vt':0x2}};function _0x26a8c7(_0x48e4d8,_0x341b62,_0x2d80ab){const _0x5abd64=_0x37107d,_0x39a913=_0x48e4d8[_0x5abd64(0xe4)](_0x5475a7[_0x5abd64(0xea)]),_0x495220=_0x2d80ab['split']('_');switch(_0x341b62){case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x1a8)]:return _0x39a913['t'](_0x5abd64(0x186),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x2f6)]:return _0x39a913['t'](_0x5abd64(0x26c),..._0x495220);case _0x42fb89[_0x5abd64(0x159)]['Hour']:return _0x39a913['t'](_0x5abd64(0x321),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x30e)]:return _0x39a913['t'](_0x5abd64(0x234),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x244)]:return _0x39a913['t'](_0x5abd64(0x22f),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x35b)]:return _0x39a913['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x109)]:return _0x39a913['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x13a)]:return _0x39a913['t'](_0x5abd64(0x276),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x394)]:return _0x39a913['t'](_0x5abd64(0x1a7),..._0x495220);case _0x42fb89[_0x5abd64(0x159)]['YearQuarter']:return _0x39a913['t'](_0x5abd64(0x2aa),..._0x495220);}return'';}const _0xdc4591=(_0x2f940e,_0x3de298,_0x1be82b,_0x4ac4b2)=>{const _0x23140b=_0x37107d;let _0xbc1262;const _0x1b014f=_0x2f940e['get'](_0x5475a7[_0x23140b(0x14d)])[_0x23140b(0x104)](_0x5475a7[_0x23140b(0x179)][_0x23140b(0x1c4)]);if(!_0x1b014f)return null;const _0x121827=_0x1b014f['getStyles']();let _0x5bae5b;if(_0x1be82b&&(_0x5bae5b=_0x121827[_0x23140b(0x331)](_0x1be82b)),_0x3de298!=null&&_0x3de298['v']||(_0x3de298==null?void 0x0:_0x3de298['v'])===0x0){_0xbc1262||(_0xbc1262={});const _0x35b5a7=_0x39d4a8(_0x3de298['v']);typeof _0x35b5a7==_0x23140b(0x14a)?_0xbc1262['t']=_0x5475a7[_0x23140b(0x1e2)][_0x23140b(0x1f3)]:typeof _0x35b5a7==_0x23140b(0x188)&&(_0xbc1262['t']=_0x5475a7[_0x23140b(0x1e2)][_0x23140b(0x2c8)]),_0xbc1262['v']=_0x35b5a7;}if((_0x3de298!=null&&_0x3de298['i']||(_0x3de298==null?void 0x0:_0x3de298['i'])===0x0)&&(_0xbc1262||(_0xbc1262={}),_0xbc1262['fi']=_0x3de298['i']),_0x3de298!=null&&_0x3de298['s']&&(_0xbc1262||(_0xbc1262={}),_0xbc1262[_0x23140b(0x1fc)]=_0x3de298['s']),_0x1be82b&&(_0xbc1262||(_0xbc1262={}),_0xbc1262['s']=_0x5bae5b),_0x4ac4b2&&_0xbc1262!=null&&_0xbc1262['v']&&_0xbc1262['pbt']!==_0x42fb89[_0x23140b(0x273)][_0x23140b(0x2bc)]&&_0xbc1262[_0x23140b(0x1fc)]!==_0x42fb89[_0x23140b(0x273)][_0x23140b(0x350)]){const _0x1fa651=String(_0xbc1262['v']),{dateType:_0x222c95}=_0x4ac4b2;_0xbc1262['v']=_0x26a8c7(_0x2f940e,_0x222c95,_0x1fa651),_0xbc1262['t']=_0x5475a7[_0x23140b(0x1e2)][_0x23140b(0x2c8)];}return _0xbc1262;},_0x5b183b=(_0x5c2e68,_0x15faf4,_0x1661c5,_0x27d01e)=>{const _0x8e82a1=_0x37107d;var _0x494524,_0x46ea0b,_0x17bad0,_0x508bfd,_0x4db5c4,_0x34e0b3,_0x2a5cd9,_0x1d6d9e,_0x24f8ac,_0x4fda44,_0xd8b19f,_0x2ff8b2,_0xca4f1f,_0x1e87a0;const _0x5e38ee=_0x1661c5[_0x8e82a1(0x258)],{cornerView:_0x846014,rowView:_0x473977,colView:_0x3554fd,dataView:_0x344f17,pageView:_0x5266e3,formatMap:_0x597421,groupInfo:_0x39556b}=_0x15faf4,{row:_0x2a339c,col:_0x4af8f9}=_0x5e38ee,_0x44f7e8=new _0x5475a7[(_0x8e82a1(0x303))](),_0x4c0fa8={},_0x4db3b7={},_0x501c96={},_0x20cc2c={},_0x2c3d92={};let _0x3254cb=_0x2a339c,_0x43d9f8=_0x4af8f9;Object[_0x8e82a1(0x33b)](_0x5266e3[_0x8e82a1(0x402)])['forEach'](_0x4e3d03=>{const _0x332ba9=_0x8e82a1;Object['keys'](_0x5266e3[_0x332ba9(0x402)][Number(_0x4e3d03)])[_0x332ba9(0x15d)](_0x484bb5=>{const _0x329365=_0x332ba9,_0x416311={..._0x5266e3[_0x329365(0x402)][Number(_0x4e3d03)][Number(_0x484bb5)]};_0x44f7e8[_0x329365(0x331)](Number(_0x4e3d03)+_0x3254cb,Number(_0x484bb5)+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x416311,_0x1659df[_0x329365(0x380)]));});});const _0x5e12de=Object['keys'](_0x5266e3[_0x8e82a1(0x402)])[_0x8e82a1(0x298)];_0x3254cb+=_0x5e12de+(_0x5e12de?_0x42e754:0x0);const _0x3166c9=_0x846014['getRowCount'](),_0x2a1c6a=_0x846014[_0x8e82a1(0x32e)]();for(let _0x25e37b=0x0;_0x25e37b<_0x3166c9;_0x25e37b++)for(let _0x5e2f84=0x0;_0x5e2f84<_0x2a1c6a;_0x5e2f84++){const _0x217a12={...(_0x46ea0b=(_0x494524=_0x846014[_0x8e82a1(0x402)])==null?void 0x0:_0x494524[_0x25e37b])==null?void 0x0:_0x46ea0b[_0x5e2f84]};_0x217a12&&((_0x17bad0=_0x473977['headerMap'][_0x5e2f84])!=null&&_0x17bad0[_0x8e82a1(0x382)])&&_0x5e2f84===_0x2a1c6a-0x1&&_0x25e37b===_0x3166c9-0x1&&(_0x217a12['v']=''+_0x27d01e['sheets-pivot.value']),_0x44f7e8[_0x8e82a1(0x331)](_0x25e37b+_0x3254cb,_0x5e2f84+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x217a12,_0x1659df[_0x8e82a1(0x284)]));}for(let _0x27e91d=0x0;_0x27e91d<_0x846014[_0x8e82a1(0x2b4)][_0x8e82a1(0x298)];_0x27e91d++)_0x846014[_0x8e82a1(0x2b4)][_0x27e91d]&&(_0x501c96[''+(_0x27e91d+_0x43d9f8)]=_0x846014[_0x8e82a1(0x2b4)][_0x27e91d]);_0x43d9f8+=_0x2a1c6a;const _0x3fde04=_0x3554fd[_0x8e82a1(0x2d9)],_0x4ff3d0=_0x3554fd[_0x8e82a1(0x11f)]()>=0x0?_0x3554fd[_0x8e82a1(0x11f)]()+0x1:0x0,_0x48258f=_0x3554fd['getLastCol']()>=0x0?_0x3554fd[_0x8e82a1(0x29d)]()+0x1:0x0;for(let _0x173e18=0x0;_0x173e18<_0x48258f;_0x173e18++){for(let _0x8cfbb4=0x0;_0x8cfbb4<_0x4ff3d0;_0x8cfbb4++){const _0x4aeae4={...(_0x4db5c4=(_0x508bfd=_0x3554fd[_0x8e82a1(0x402)])==null?void 0x0:_0x508bfd[_0x8cfbb4])==null?void 0x0:_0x4db5c4[_0x173e18]},_0x466bfd=(_0x34e0b3=_0x3fde04[_0x8cfbb4])==null?void 0x0:_0x34e0b3[_0x8e82a1(0x327)],_0x55a50b=_0x597421[_0x466bfd],_0x217661=_0x39556b[_0x466bfd];_0x4aeae4&&(_0x4aeae4['v']=_0x31fcf3(_0x4aeae4,_0x8cfbb4===0x0&&((_0x2a5cd9=_0x3554fd[_0x8e82a1(0x35d)](_0x173e18+0x1))==null?void 0x0:_0x2a5cd9['isValue']),_0x55a50b,_0x27d01e));let _0x3cde30;_0x55a50b?_0x3cde30={..._0x1659df[_0x8e82a1(0x1a3)],'n':{'pattern':_0x55a50b}}:_0x3cde30={..._0x1659df[_0x8e82a1(0x1a3)]},_0x44f7e8[_0x8e82a1(0x331)](_0x8cfbb4+_0x3254cb,_0x173e18+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x4aeae4,_0x3cde30,_0x217661));}_0x3554fd[_0x8e82a1(0x2b4)][_0x173e18]&&(_0x4db3b7[''+(_0x173e18+_0x43d9f8)]=_0x3554fd[_0x8e82a1(0x2b4)][_0x173e18]),_0x3554fd[_0x8e82a1(0x2d9)][_0x173e18+0x1]&&(_0x2c3d92[''+(_0x173e18+_0x3254cb+0x1)]=_0x3554fd[_0x8e82a1(0x2d9)][_0x173e18+0x1]);}_0x3254cb+=_0x3166c9;const _0x1b01bc=_0x473977[_0x8e82a1(0x2d9)],_0x5f246f=_0x473977[_0x8e82a1(0x11f)]()>=0x0?_0x473977['getLastRow']()+0x1:0x0,_0x1cf721=_0x473977[_0x8e82a1(0x29d)]()>=0x0?_0x473977[_0x8e82a1(0x29d)]()+0x1:0x0;for(let _0x11c6a2=0x0;_0x11c6a2<_0x5f246f;_0x11c6a2++){for(let _0x408776=0x0;_0x408776<_0x1cf721;_0x408776++){const _0x50e4d8={...(_0x24f8ac=(_0x1d6d9e=_0x473977[_0x8e82a1(0x402)])==null?void 0x0:_0x1d6d9e[_0x11c6a2])==null?void 0x0:_0x24f8ac[_0x408776]},_0x4df66d=(_0x4fda44=_0x1b01bc[_0x408776])==null?void 0x0:_0x4fda44[_0x8e82a1(0x327)],_0x557ed5=_0x597421[_0x4df66d],_0x3521da=_0x39556b[_0x4df66d];_0x50e4d8&&(_0x50e4d8['v']=_0x31fcf3(_0x50e4d8,!0x1,_0x557ed5,_0x27d01e));let _0x5f2e3d;_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2][_0x8e82a1(0x34a)]===_0x473977[_0x8e82a1(0x32e)]()?_0x5f2e3d=_0x1659df['leafStyle']:_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2][_0x8e82a1(0x3c2)]?_0x5f2e3d=_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2][_0x8e82a1(0x34a)]===0x0?_0x1659df[_0x8e82a1(0x118)]:_0x1659df[_0x8e82a1(0x388)]:_0x5f2e3d=_0x1659df[_0x8e82a1(0x1e1)],_0x557ed5&&(_0x5f2e3d={..._0x5f2e3d,'n':{'pattern':_0x557ed5}}),_0x44f7e8['setValue'](_0x11c6a2+_0x3254cb,_0x408776+_0x4af8f9,_0xdc4591(_0x5c2e68,_0x50e4d8,_0x5f2e3d,_0x3521da));}_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2]&&(_0x4c0fa8[''+(_0x11c6a2+_0x3254cb)]=_0x473977['info'][_0x11c6a2]),_0x473977[_0x8e82a1(0x2d9)][_0x11c6a2]&&(_0x20cc2c[''+(_0x11c6a2+_0x4af8f9)]=_0x473977[_0x8e82a1(0x2d9)][_0x11c6a2]);}const _0x5c61b7=_0x344f17[_0x8e82a1(0x37e)](),_0x392934=_0x344f17[_0x8e82a1(0x32e)]();for(let _0x3a5eb8=0x0;_0x3a5eb8<_0x5c61b7;_0x3a5eb8++)for(let _0x29d8dd=0x0;_0x29d8dd<_0x392934;_0x29d8dd++){const _0x34b9d7={...(_0x2ff8b2=(_0xd8b19f=_0x344f17[_0x8e82a1(0x402)])==null?void 0x0:_0xd8b19f[_0x3a5eb8])==null?void 0x0:_0x2ff8b2[_0x29d8dd]};let _0x5884dd;_0x473977[_0x8e82a1(0x2b4)][_0x3a5eb8]['isBottomTotal']?_0x5884dd=_0x473977['info'][_0x3a5eb8][_0x8e82a1(0x34a)]===0x0?_0x1659df['grandTotal']:_0x1659df[_0x8e82a1(0x388)]:_0x5884dd=_0x1659df[_0x8e82a1(0x2a8)];const _0x2b1357=_0x473977[_0x8e82a1(0x2b4)][_0x3a5eb8][_0x8e82a1(0x120)],_0x469999=_0x3554fd[_0x8e82a1(0x2b4)][_0x29d8dd]['valueIndex'],_0xb42ff1=Math[_0x8e82a1(0x23f)](_0x2b1357,_0x469999),_0x19c499=_0x1661c5[_0x8e82a1(0x311)]['valueFields'][_0x8e82a1(0x251)]();let _0x45eb50='';_0xb42ff1<0x0?_0x45eb50=(_0xca4f1f=_0x19c499[0x0])!=null?_0xca4f1f:'':_0x45eb50=(_0x1e87a0=_0x19c499[_0xb42ff1])!=null?_0x1e87a0:'';const _0x2ce975=_0x597421[_0x45eb50];_0x2ce975&&(_0x5884dd={..._0x5884dd,'n':{'pattern':_0x2ce975}}),_0x44f7e8[_0x8e82a1(0x331)](_0x3a5eb8+_0x3254cb,_0x29d8dd+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x34b9d7,_0x5884dd));}return{'valueMatrix':_0x44f7e8,'rowInfo':_0x4c0fa8,'colInfo':_0x4db3b7,'cornerInfo':_0x501c96,'rowHeaderMap':_0x20cc2c,'colHeaderMap':_0x2c3d92};};function _0x31fcf3(_0xac774c,_0x38dab0,_0xb92c17,_0x5ac431){const _0x19c60d=_0x37107d;let _0x34db44=_0xac774c['v'];_0x38dab0&&(_0x34db44=''+_0x5ac431[_0x19c60d(0x354)]);const _0x2e00b1=_0xac774c['t']&&(_0xac774c['t']&_0x42fb89[_0x19c60d(0x18f)][_0x19c60d(0x33d)])>0x0;_0x2e00b1&&(_0x34db44=''+_0x5ac431[_0x19c60d(0x289)]);const _0x5d7f35=_0xac774c['t']&&(_0xac774c['t']&_0x42fb89[_0x19c60d(0x18f)][_0x19c60d(0x25d)])>0x0;if(_0x5d7f35&&(_0x34db44=''+_0x5ac431[_0x19c60d(0x189)]),_0xac774c['s']===_0x42fb89[_0x19c60d(0x273)][_0x19c60d(0x350)]){let _0x198f7a=_0x34db44,_0x1b9e48='';_0x42fb89['isPrefixValue'](_0x34db44)&&(_0x198f7a=_0x34db44[_0x19c60d(0xf7)],_0x1b9e48=_0x34db44[_0x19c60d(0x28d)]);const _0x108fa6=_0xb92c17&&!_0x2e00b1&&!_0x5d7f35?_0x5475a7['numfmt'][_0x19c60d(0x1b7)](_0xb92c17,Number(_0x198f7a)):_0x198f7a;_0x1b9e48?_0x34db44=_0x108fa6+'\x20'+_0x1b9e48:_0x34db44=_0x108fa6+'\x20'+_0x5ac431['sheets-pivot.subTotal'];}else _0xac774c['s']===_0x42fb89['PivotCellStyleTypeEnum'][_0x19c60d(0x2bc)]&&(_0x34db44=_0x34db44+'\x20'+_0x5ac431[_0x19c60d(0x1ea)]);return _0x34db44;}function _0x39d4a8(_0x3b28d3){const _0x26460e=_0x37107d;if(_0x42fb89[_0x26460e(0x147)](_0x3b28d3)){const {errorType:_0x55d757}=_0x3b28d3;switch(_0x55d757){case _0x42fb89[_0x26460e(0x243)][_0x26460e(0x15a)]:return _0x38ed7b[_0x26460e(0xf6)][_0x26460e(0x300)];case _0x42fb89[_0x26460e(0x243)][_0x26460e(0xfc)]:return _0x38ed7b['ErrorType'][_0x26460e(0x248)];case _0x42fb89[_0x26460e(0x243)][_0x26460e(0x392)]:return _0x38ed7b[_0x26460e(0xf6)][_0x26460e(0x111)];case _0x42fb89[_0x26460e(0x243)][_0x26460e(0x1b2)]:return _0x38ed7b[_0x26460e(0xf6)]['NAME'];case _0x42fb89['PivotErrorTypeEnum'][_0x26460e(0x3c0)]:return _0x38ed7b['ErrorType']['REF'];}}return _0x3b28d3;}function _0x5c1d7f(_0x5a438a,_0xc93cce,_0x181df5=!0x1,_0x2eca4d=!0x1){const _0x2b2410=_0x37107d,{data:_0x7088ce}=_0xc93cce,_0x24cdf7=_0xc93cce[_0x2b2410(0x37e)](),_0x13a6a6=_0xc93cce[_0x2b2410(0x32e)]();if(_0x24cdf7<=0x0||_0x13a6a6<=0x0)return[];const _0xaac351=_0xc93cce[_0x2b2410(0x29d)](),_0x484a9e=_0xc93cce[_0x2b2410(0x11f)](),_0x543fdf=_0x2eca4d?_0x484a9e>=0x0?_0x484a9e+0x1:0x0:_0x24cdf7,_0x408360=_0x2eca4d?_0xaac351>=0x0?_0xaac351+0x1:0x0:_0x13a6a6,{row:_0x4223a9,col:_0xe1641e}=_0x5a438a,_0x43f5b5=_0x4223a9,_0x1c5792=_0xe1641e;if(_0x181df5){const _0x40d95b=[];for(const [_0x507f32,_0x131629]of Object[_0x2b2410(0x336)](_0x7088ce))for(const [_0x549643,_0x15b7cb]of Object[_0x2b2410(0x336)](_0x131629))_0x40d95b[_0x2b2410(0x229)](_0x5475a7[_0x2b2410(0x2f7)](_0x43f5b5+Number(_0x507f32),_0x1c5792+Number(_0x549643)));return _0x40d95b;}else{const _0x257e0a=_0x2eca4d?_0x543fdf>0x0?0x1:0x0:0x1,_0x56d4c7=_0x2eca4d?_0x408360>0x0?0x1:0x0:0x1,_0x10df05=_0x4223a9+_0x543fdf-_0x257e0a,_0x535992=_0xe1641e+_0x408360-_0x56d4c7;return[{'startRow':_0x43f5b5,'startColumn':_0x1c5792,'endRow':_0x10df05,'endColumn':_0x535992}];}}const _0x4aadc7=_0x37107d(0x17e),_0x2bc9f8=_0x37107d(0x3a3);var _0x12f3cf=(_0x303b93=>(_0x303b93['Filter']=_0x37107d(0x183),_0x303b93[_0x37107d(0x181)]='panel',_0x303b93['AddPivotField']=_0x37107d(0x1de),_0x303b93[_0x37107d(0x1f1)]='AddPivotTableWithConfig',_0x303b93[_0x37107d(0x2b6)]='addPivotTable',_0x303b93['MovePivotField']='movePivotField',_0x303b93[_0x37107d(0x240)]='removePivotField',_0x303b93[_0x37107d(0x3a6)]='setPivotCollapse',_0x303b93[_0x37107d(0x15c)]=_0x37107d(0x127),_0x303b93[_0x37107d(0x3d4)]=_0x37107d(0x2a7),_0x303b93[_0x37107d(0x2dd)]=_0x37107d(0x26a),_0x303b93[_0x37107d(0x409)]=_0x37107d(0x2ab),_0x303b93[_0x37107d(0x173)]=_0x37107d(0x30c),_0x303b93[_0x37107d(0x3f1)]='drillDown',_0x303b93[_0x37107d(0x1ec)]=_0x37107d(0x404),_0x303b93['SetPivotTableConfig']=_0x37107d(0x1d1),_0x303b93[_0x37107d(0x377)]=_0x37107d(0x115),_0x303b93))(_0x12f3cf||{});const _0x28f93c={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x37107d(0xe6),'sheets-pivot.subTotalText':_0x37107d(0x306),'sheets-pivot.grandTotalText':_0x37107d(0x1bd),'sheets-pivot.valueText':_0x37107d(0x135),'sheets-pivot.averageName':_0x37107d(0x1be),'sheets-pivot.countName':_0x37107d(0x2a3),'sheets-pivot.countNumsName':_0x37107d(0x2a3),'sheets-pivot.maxName':_0x37107d(0x32f),'sheets-pivot.minName':_0x37107d(0x2cf),'sheets-pivot.productName':_0x37107d(0x351),'sheets-pivot.stdDevName':_0x37107d(0x403),'sheets-pivot.stdDevpName':_0x37107d(0x10f),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x37107d(0x271),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x37107d(0x1bd),'sheets-pivot.value':_0x37107d(0x28d),'sheets-pivot.blank':_0x37107d(0x33d),'sheets-pivot.other':_0x37107d(0x25d),'sheets-pivot.emptyPivot.filter':_0x37107d(0x2ff),'sheets-pivot.emptyPivot.row':_0x37107d(0x1c6),'sheets-pivot.emptyPivot.column':_0x37107d(0x1bc),'sheets-pivot.emptyPivot.values':_0x37107d(0x12d)},_0x33ea83={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x510c1a=_0x5475a7[_0x37107d(0x1c0)](_0x37107d(0x33a)),_0x359ef9=_0x5475a7[_0x37107d(0x124)](_0x37107d(0x201));var _0x2863ee=(_0x57ce4d=>(_0x57ce4d['add']='add',_0x57ce4d['delete']=_0x37107d(0x27b),_0x57ce4d[_0x37107d(0x1e0)]=_0x37107d(0x1e0),_0x57ce4d))(_0x2863ee||{}),_0x5865c2=(_0x59f1ff=>(_0x59f1ff[_0x37107d(0x282)]=_0x37107d(0x105),_0x59f1ff[_0x37107d(0x1f6)]='set',_0x59f1ff[_0x37107d(0x108)]='delete',_0x59f1ff))(_0x5865c2||{});const _0x4fcc0a={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x2f8),'handler':()=>!0x0},_0x565331={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x892c58={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x326687={'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'id':_0x37107d(0x165),'handler':()=>!0x0},_0x560a95={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x59f660=Object[_0x37107d(0x141)],_0x218c3d=(_0x4b61da,_0x150a26,_0x7b276,_0x1d67a2)=>{for(var _0x31d4da=_0x1d67a2>0x1?void 0x0:_0x1d67a2?_0x59f660(_0x150a26,_0x7b276):_0x150a26,_0x4dfdd5=_0x4b61da['length']-0x1,_0x305aa3;_0x4dfdd5>=0x0;_0x4dfdd5--)(_0x305aa3=_0x4b61da[_0x4dfdd5])&&(_0x31d4da=_0x305aa3(_0x31d4da)||_0x31d4da);return _0x31d4da;},_0x4fbc3a=(_0x45cefd,_0x212ce9)=>(_0x4730e,_0x43e09b)=>_0x212ce9(_0x4730e,_0x43e09b,_0x45cefd);_0x4652af[_0x37107d(0x1d6)]=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0xdf3560){const _0x48c068=_0x37107d;super(),_0x33deac(this,_0x48c068(0x2e9),new Map()),this[_0x48c068(0x2e0)]=_0xdf3560;}[_0x37107d(0x2e7)](_0x34f6cc){const _0x1bcf07=_0x37107d,{version:_0x4a5c3a}=_0x34f6cc,_0x1ec6d5=this['_requestResolvers'][_0x1bcf07(0xe4)](_0x4a5c3a);_0x1ec6d5&&(_0x1ec6d5(_0x34f6cc),this[_0x1bcf07(0x2e9)][_0x1bcf07(0x27b)](_0x4a5c3a));}['getPivotDisplayConfig'](_0x173205){return new Promise((_0x54238c,_0x3f08ea)=>{const _0x236b9a=_0xfdbf,_0x395ca1=this[_0x236b9a(0x2af)]();this[_0x236b9a(0x2e9)]['set'](_0x395ca1,_0x54238c),this[_0x236b9a(0x2e0)][_0x236b9a(0x11a)](_0x4fcc0a['id'],{'version':_0x395ca1,..._0x173205},{'onlyLocal':!0x0});});}[_0x37107d(0x2af)](){const _0x15b63e=_0x37107d;return Math[_0x15b63e(0x405)]()[_0x15b63e(0x36d)](0x24)['substring'](0x2,0x10);}},_0x4652af[_0x37107d(0x1d6)]=_0x218c3d([_0x4fbc3a(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x3d6)]))],_0x4652af[_0x37107d(0x1d6)]);const _0x380d80={0x0:'B',0x1:'O',0x2:'K',0x3:'w',0x4:'L',0x5:'T',0x6:'Z',0x7:'7',0x8:'p',0x9:'C','S':'0','n':'1','P':'2','u':'3','D':'4','M':'5','g':'6','Q':'8','j':'9','r':'a','l':'b','H':'c','N':'d','m':'e','G':'f','y':'g','X':'h','z':'i','F':'j','f':'k','E':'l','s':'m','x':'n','p':'o','d':'q','c':'r','w':'s','J':'t','b':'u','K':'v','A':'x','R':'y','O':'z','V':'A','i':'D','T':'E','t':'F','C':'G','B':'H','h':'I','W':'J','U':'M','q':'N','Z':'P','v':'Q','L':'R','k':'S','e':'U','Y':'V','a':'W','o':'X','I':'Y'},_0x30422d=_0x37107d(0x1b8),_0x475d92=_0x51ef29=>{const _0x263ba8=_0x37107d;var _0x3c9e84;return((_0x3c9e84=_0x51ef29[_0x263ba8(0x149)])==null?void 0x0:_0x3c9e84[_0x263ba8(0xfd)][_0x263ba8(0x10d)](/\r\n$/,''))||'';};class _0x116639 extends _0x42fb89[_0x37107d(0x3cf)]{constructor(_0x2a4f11,_0x186abd){const _0x408af1=_0x37107d;super(),_0x33deac(this,_0x408af1(0x352),{}),_0x33deac(this,_0x408af1(0x2d4)),_0x33deac(this,_0x408af1(0x25e)),(this[_0x408af1(0x2d4)]=_0x186abd,this[_0x408af1(0x25e)]=_0x2a4f11);}['initDataRanges'](){const _0x5a638c=_0x37107d;for(const _0x6cb06d in this[_0x5a638c(0x254)]){const _0x3c9482=this['dataFields'][_0x6cb06d],_0x150899=_0x3c9482[_0x5a638c(0x1f8)]();this[_0x5a638c(0x352)][_0x150899]=_0x3c9482[_0x5a638c(0x193)]();}}[_0x37107d(0x16d)](){const _0x5459ec=_0x37107d,_0x10b4ce=this[_0x5459ec(0x25e)];return _0x45fa5a[_0x5459ec(0x136)](_0x10b4ce);}[_0x37107d(0x3a0)](_0x444a6d){const _0x41b200=_0x37107d,_0x1f8ab7=this[_0x41b200(0x254)][_0x444a6d]['rangeKey'];delete this[_0x41b200(0x254)][_0x444a6d],delete this['rangeKeyMap'][_0x1f8ab7];}[_0x37107d(0x36a)](_0x5f351e){this['dataFields'][_0x5f351e['getId']()]=_0x5f351e;}[_0x37107d(0x30d)](_0x212509){const _0x47551d=_0x37107d;var _0x3b76d4,_0x493c9d;const _0x15c9a8=this[_0x47551d(0x25e)][_0x47551d(0x3c7)](_0x212509);if(_0x15c9a8){const {unitId:_0x72eb8b,subUnitId:_0x5deb5c}=_0x15c9a8,_0x186678=(_0x3b76d4=this[_0x47551d(0x25e)][_0x47551d(0x36b)](_0x72eb8b,_0x5deb5c,_0x212509))==null?void 0x0:_0x3b76d4[_0x47551d(0x2fd)];this['_host'][_0x47551d(0x1b3)]({'token':_0x212509,'type':_0x2863ee[_0x47551d(0x27b)],'dataRangeInfo':_0x186678});}(_0x493c9d=this['getCollection'](_0x212509))==null||_0x493c9d[_0x47551d(0x191)](),delete this[_0x47551d(0x3b9)][_0x212509];}[_0x37107d(0x1f8)](_0x31077b,_0x206c5b){const _0x24b10b=_0x37107d,{sheetName:_0x3fa078,unitId:_0x129bd2,range:_0x27f738}=_0x31077b,{startRow:_0x5d3562,endRow:_0x516ee7}=_0x27f738;return _0x38ed7b[_0x24b10b(0x3bc)](_0x129bd2,_0x3fa078,{'startRow':_0x5d3562,'endRow':_0x516ee7,'startColumn':_0x206c5b,'endColumn':_0x206c5b});}[_0x37107d(0x1ad)](_0x1252d7){const _0x50057c=_0x37107d;return this[_0x50057c(0x254)][this[_0x50057c(0x352)][_0x1252d7]];}['setRangeKeyMap'](_0x3f83dd,_0x24111d){const _0x461861=_0x37107d;this[_0x461861(0x352)][_0x3f83dd]=_0x24111d;}[_0x37107d(0x23c)](_0x22305a,_0x14d6bf){const _0x438d71=_0x37107d;this[_0x438d71(0x352)][_0x14d6bf]=this['rangeKeyMap'][_0x22305a],delete this[_0x438d71(0x352)][_0x22305a];}['addCollectionByJSON'](_0x2c7824,_0x560a8a,_0x386fbd,_0x57a784){const _0x51cc5f=_0x37107d,_0x26ff07=new _0x42fb89[(_0x51cc5f(0x408))](this);_0x26ff07[_0x51cc5f(0x328)](_0x560a8a);const _0x35cc00=[];let _0x3de3a1=0x0;for(const _0x4d1c20 of _0x26ff07[_0x51cc5f(0x2c6)]){const _0x2599d9=this[_0x51cc5f(0x1f8)](_0x386fbd,_0x3de3a1),_0x2c40c9=this[_0x51cc5f(0x254)][_0x4d1c20];_0x2c40c9&&(_0x2c40c9['rangeKey']=_0x2599d9,this['setRangeKeyMap'](_0x2599d9,_0x4d1c20),_0x35cc00[_0x51cc5f(0x229)]({'index':_0x3de3a1,'dataField':_0x2c40c9})),_0x3de3a1++;}return this[_0x51cc5f(0x263)](_0x2c7824,_0x26ff07,_0x386fbd,_0x57a784),{'collection':_0x26ff07,'updateDataFieldList':_0x35cc00};}['getRangeStartEndInfo'](_0x54314a,_0x290c55){const _0x207fc8=_0x37107d;return _0x54314a[_0x207fc8(0x293)]===_0x5475a7[_0x207fc8(0x3eb)]['COLUMN']?{'startRow':0x0,'startColumn':_0x54314a[_0x207fc8(0x342)],'endRow':_0x290c55[_0x207fc8(0x37e)]()-0x1,'endColumn':_0x54314a[_0x207fc8(0x381)]}:{'startRow':_0x54314a[_0x207fc8(0x163)],'startColumn':_0x54314a[_0x207fc8(0x342)],'endRow':_0x54314a[_0x207fc8(0x2a0)],'endColumn':_0x54314a[_0x207fc8(0x381)]};}[_0x37107d(0x27d)](_0x2f2724){const _0x258b37=_0x37107d,{sheetName:_0x33cd6f,range:_0x45e4d0}=_0x2f2724,_0x446be4=this[_0x258b37(0x2d4)][_0x258b37(0x104)](_0x5475a7[_0x258b37(0x179)][_0x258b37(0x1c4)]),_0x1a34c3=_0x446be4[_0x258b37(0x3bf)](_0x33cd6f),_0x241a50=_0x1a34c3['getCellMatrix'](),{startColumn:_0x27be02,startRow:_0x1548fb,endColumn:_0x54b15f}=this[_0x258b37(0x25c)](_0x45e4d0,_0x1a34c3),_0x1485dc=_0x446be4[_0x258b37(0xf2)](),_0x12e329=new _0x42fb89[(_0x258b37(0x408))](this);_0x12e329[_0x258b37(0x18d)](_0x2f2724);const _0x456423=[],_0x1088af={};for(let _0x5dddf1=_0x27be02;_0x5dddf1<=_0x54b15f;_0x5dddf1++){const _0x199937=_0x241a50[_0x258b37(0x32b)](_0x1548fb,_0x5dddf1),_0x3b689d=this['getRangeKey'](_0x2f2724,_0x5dddf1),_0x52d5a7=this[_0x258b37(0x1ad)](_0x3b689d);if(_0x52d5a7)_0x12e329[_0x258b37(0x19e)](_0x52d5a7[_0x258b37(0x193)](),_0x52d5a7[_0x258b37(0x257)]());else{const _0x578bdd=this[_0x258b37(0x301)]();let _0x3f998d=this['adjustSheetCellData'](_0x199937,_0x1485dc,_0x1088af);_0x42fb89[_0x258b37(0x3a4)](_0x3f998d)&&(_0x3f998d=_0x5475a7[_0x258b37(0x35f)][_0x258b37(0x1b7)](_0x3f998d['f'],Number(_0x3f998d['v'])));const _0x289d8a=this[_0x258b37(0x359)](_0x3f998d,_0x5dddf1),_0x817e6b=new _0x42fb89[(_0x258b37(0x148))](_0x578bdd,_0x289d8a,_0x42fb89[_0x258b37(0x242)](0x3));_0x817e6b['rangeKey']=_0x3b689d,this[_0x258b37(0x254)][_0x578bdd]=_0x817e6b,_0x12e329[_0x258b37(0x19e)](_0x578bdd,_0x289d8a),_0x456423[_0x258b37(0x229)]({'index':_0x5dddf1,'dataField':_0x817e6b});}}return{'updateDataFieldList':_0x456423,'collection':_0x12e329};}[_0x37107d(0xe3)](_0x5ee4c1){const _0x4df1b6=_0x37107d;return this[_0x4df1b6(0x25e)][_0x4df1b6(0x297)]()['sheets-pivot.columnName']+'\x20'+_0x5475a7[_0x4df1b6(0x313)](_0x5ee4c1);}['uniqueDataFieldName'](_0x2d3939,_0x2bdebc){return _0x2d3939==null||_0x2d3939===''?this['_getAutoName'](_0x2bdebc):String(_0x2d3939);}[_0x37107d(0x3ad)](_0x3827be){const _0x7247ca=_0x37107d;return this[_0x7247ca(0x3b9)][_0x3827be];}['addCollection'](_0xa62670,_0x10c5d6,_0x457703,_0x397c0b){const _0x26b2cf=_0x37107d;this[_0x26b2cf(0x3b9)][_0xa62670]=_0x10c5d6,_0x10c5d6[_0x26b2cf(0x18d)](_0x457703),this[_0x26b2cf(0x25e)][_0x26b2cf(0x1b3)]({'token':_0xa62670,'type':_0x2863ee['add'],'dataRangeInfo':_0x457703,'targetCellInfo':_0x397c0b});}[_0x37107d(0xf3)](_0x36ebd0,_0x338e74){const _0x29ee6a=_0x37107d,_0x3fe351=this[_0x29ee6a(0x3ad)](_0x36ebd0),_0x17a8c5=_0x3fe351[_0x29ee6a(0x31a)]();let _0x9c4f8b=0x0;for(const _0x393639 of _0x17a8c5){const _0x125836=_0x3fe351[_0x29ee6a(0x374)](_0x393639),_0x47669c=this['getRangeKey'](_0x338e74,_0x9c4f8b);this[_0x29ee6a(0x23c)](_0x125836['rangeKey'],_0x47669c),_0x9c4f8b++;}}[_0x37107d(0x2bf)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x37107d(0x353)](_0xef1fc7,_0x20747c){const _0x1a88d6=_0x37107d;if(this[_0x1a88d6(0x3ad)](_0xef1fc7)){const _0x38e4bd=this[_0x1a88d6(0xfa)](_0x20747c),_0x42f893=[];for(const _0x465938 of _0x38e4bd)this[_0x1a88d6(0x352)][_0x465938]!==void 0x0&&_0x42f893['push'](this[_0x1a88d6(0x352)][_0x465938]);const _0x52a352=this[_0x1a88d6(0x1e3)](_0xef1fc7),_0x35ce7c=[],_0xed42aa=new Set(_0x42f893);for(const _0x5b830c of _0x52a352)_0xed42aa[_0x1a88d6(0x35c)](_0x5b830c)||_0x35ce7c[_0x1a88d6(0x229)](_0x5b830c);return _0x35ce7c;}}[_0x37107d(0x171)](_0x530cb3,_0x129091,_0x3380ef,_0x5dcf39,_0x3b328a){const _0x2b1f4e=_0x37107d;return _0x129091&&_0x129091[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a)?_0x129091[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a):_0x3380ef&&_0x3380ef['getValue'](_0x5dcf39,_0x3b328a)?_0x3380ef[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a):_0x530cb3[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a);}[_0x37107d(0x2d5)](_0x412d6c,_0x379411,_0x2f5a1e,_0x3fa5dc){const _0x5160c0=_0x37107d,_0x4dda4e=this[_0x5160c0(0x254)][_0x412d6c];if(!_0x4dda4e)return;const {subUnitId:_0x3e7e21,range:_0x1c3681,unitId:_0x278a57}=_0x379411,_0x2550f5=this[_0x5160c0(0x2d4)]['getUnit'](_0x278a57);if(!_0x2550f5){console[_0x5160c0(0x140)]('workbook\x20is\x20not\x20found');return;}const _0x2e0b88=_0x2550f5[_0x5160c0(0x153)](_0x3e7e21),_0x3cbb6d=_0x2e0b88[_0x5160c0(0x2a2)](),{arrayFormulaCellDataMatrix:_0x4e2204,unitDataMatrix:_0x101fc0}=_0x3fa5dc||{},{startRow:_0x319201,startColumn:_0x175340,endRow:_0x1ebeed}=this[_0x5160c0(0x25c)](_0x1c3681,_0x2e0b88);_0x4dda4e['reset']();const _0xd779c7=_0x2550f5['getStyles'](),_0x26d002={},_0x1027b3=this[_0x5160c0(0x171)](_0x3cbb6d,_0x4e2204,_0x101fc0,_0x319201,_0x175340+_0x2f5a1e);let _0x3f4bf7=this[_0x5160c0(0x26e)](_0x1027b3,_0xd779c7,_0x26d002);_0x42fb89[_0x5160c0(0x3a4)](_0x3f4bf7)&&(_0x3f4bf7=_0x5475a7[_0x5160c0(0x35f)]['format'](_0x3f4bf7['f'],Number(_0x3f4bf7['v'])));const _0xa7294=this[_0x5160c0(0x359)](_0x3f4bf7,_0x175340+_0x2f5a1e);_0x4dda4e[_0x5160c0(0x230)](_0xa7294);for(let _0x265ff0=_0x319201+0x1;_0x265ff0<=_0x1ebeed;_0x265ff0++){const _0x11e208=this[_0x5160c0(0x171)](_0x3cbb6d,_0x4e2204,_0x101fc0,_0x265ff0,_0x175340+_0x2f5a1e);_0x4dda4e['addRecord'](this['adjustSheetCellData'](_0x11e208,_0xd779c7,_0x26d002),_0x265ff0-0x1-_0x319201);}}[_0x37107d(0x2a6)](_0x2149b3,_0x3b0968,_0x1e776e){const _0x274d48=_0x37107d,{subUnitId:_0x4cf14b,range:_0x3fb1a1,unitId:_0x35a730}=_0x1e776e,_0x50f48b=this[_0x274d48(0x2d4)][_0x274d48(0x36f)](_0x35a730);if(!_0x50f48b){console['error'](_0x274d48(0x3b2));return;}const _0x57e441=_0x50f48b[_0x274d48(0x153)](_0x4cf14b),_0x18957c=_0x57e441[_0x274d48(0x2a2)](),{startRow:_0x4b75bb,startColumn:_0x5109bc,endRow:_0x5117e7}=this[_0x274d48(0x25c)](_0x3fb1a1,_0x57e441),_0x3445b3=_0x50f48b[_0x274d48(0xf2)](),_0x445f83={};for(const {dataField:_0x3ce0a3,index:_0x226f25}of _0x3b0968){_0x3ce0a3[_0x274d48(0x1d2)]();const _0x51b4d2=this[_0x274d48(0x171)](_0x18957c,void 0x0,void 0x0,_0x4b75bb,_0x5109bc+_0x226f25);let _0x29940c=this[_0x274d48(0x26e)](_0x51b4d2,_0x3445b3,_0x445f83);_0x42fb89['isDateValue'](_0x29940c)&&(_0x29940c=_0x5475a7['numfmt']['format'](_0x29940c['f'],Number(_0x29940c['v'])));const _0x5083fa=this['uniqueDataFieldName'](_0x29940c,_0x5109bc+_0x226f25);_0x3ce0a3[_0x274d48(0x230)](_0x5083fa);}_0x2149b3['updateAllDisplayName']();for(let _0x2dceb4=_0x4b75bb+0x1;_0x2dceb4<=_0x5117e7;_0x2dceb4++)for(const {index:_0x36c88e,dataField:_0x104416}of _0x3b0968){const _0x492872=_0x18957c[_0x274d48(0x32b)](_0x2dceb4,_0x5109bc+_0x36c88e);_0x104416[_0x274d48(0x259)](this[_0x274d48(0x26e)](_0x492872,_0x3445b3,_0x445f83),_0x2dceb4-0x1-_0x4b75bb);}_0x2149b3[_0x274d48(0x185)](_0x5117e7-_0x4b75bb);}[_0x37107d(0xfa)](_0x532309){const _0x180bfe=_0x37107d,{range:_0x68843b}=_0x532309,{startColumn:_0x3ea5d2,endColumn:_0xc58db5}=_0x68843b,_0x129d73=[];for(let _0x30706e=_0x3ea5d2;_0x30706e<=_0xc58db5;_0x30706e++)_0x129d73['push'](this[_0x180bfe(0x1f8)](_0x532309,_0x30706e));return _0x129d73;}[_0x37107d(0x26e)](_0x15c37f,_0x1b8e52,_0x4ef451){const _0x4978a1=_0x37107d;if(_0x15c37f){const {s:_0x2559a1,v:_0x197fbd,t:_0x17dbbc,p:_0x9524ef}=_0x15c37f;if(_0x9524ef)return _0x475d92(_0x9524ef);const _0x337d93=_0x1b8e52[_0x4978a1(0xe4)](_0x2559a1);if(_0x337d93&&_0x17dbbc===_0x5475a7[_0x4978a1(0x1e2)][_0x4978a1(0x1f3)]&&_0x337d93['n']){const {pattern:_0x5015fa}=_0x337d93['n'];_0x4ef451[_0x5015fa]||(_0x4ef451[_0x5015fa]=_0x5475a7[_0x4978a1(0x35f)]['getFormatInfo'](_0x5015fa));const _0x129600=_0x4ef451[_0x5015fa],_0x49c74b=_0x129600[_0x4978a1(0x369)];if(_0x129600[_0x4978a1(0x18b)])return String(_0x197fbd);if(_0x49c74b)return{'v':_0x197fbd,'f':_0x5015fa};}if(_0x17dbbc===_0x5475a7['CellValueType'][_0x4978a1(0x1f3)])return Number(_0x197fbd);if(_0x17dbbc===_0x5475a7[_0x4978a1(0x1e2)][_0x4978a1(0x2c8)]||_0x17dbbc===_0x5475a7['CellValueType'][_0x4978a1(0x2f2)])return String(_0x197fbd);if(_0x17dbbc===void 0x0){const _0x40d4a8=Number(_0x197fbd);if(!Number['isNaN'](_0x40d4a8)&&String(_0x40d4a8)===_0x197fbd)return _0x40d4a8;}return _0x197fbd!=null?_0x197fbd:null;}else return null;}['getRangeData'](_0x3c2f87){const _0x1e7fac=_0x37107d,{sheetName:_0x549c28,range:_0x3fc6e1,unitId:_0x25da9e}=_0x3c2f87,_0x3a9d2a=this[_0x1e7fac(0x2d4)][_0x1e7fac(0x36f)](_0x25da9e);if(!_0x3a9d2a)return console['error'](_0x1e7fac(0x3b2)),{'header':[],'data':[]};const _0x4ac55e=_0x3a9d2a[_0x1e7fac(0x3bf)](_0x549c28),_0x197c62=_0x4ac55e[_0x1e7fac(0x2a2)](),{startRow:_0xf20f11,startColumn:_0x5678d4,endRow:_0x173f63,endColumn:_0x2caacd}=this[_0x1e7fac(0x25c)](_0x3fc6e1,_0x4ac55e),_0x136372=_0x3a9d2a[_0x1e7fac(0xf2)](),_0x56cc81=[],_0x582b9a=[],_0x61221={};for(let _0x228f93=_0xf20f11;_0x228f93<=_0x173f63;_0x228f93++){const _0x649abb=[];for(let _0x528bca=_0x5678d4;_0x528bca<=_0x2caacd;_0x528bca++){const _0xc8b961=_0x197c62[_0x1e7fac(0x32b)](_0x228f93,_0x528bca);_0x228f93===_0xf20f11?_0x56cc81[_0x1e7fac(0x229)](_0xc8b961==null?null:String(_0xc8b961['v'])):_0x649abb[_0x1e7fac(0x229)](this[_0x1e7fac(0x26e)](_0xc8b961,_0x136372,_0x61221));}_0x582b9a[_0x1e7fac(0x229)](_0x649abb);}return{'header':_0x56cc81,'data':_0x582b9a};}[_0x37107d(0x3ef)](){const _0x21d2b3=_0x37107d;return super[_0x21d2b3(0x3ef)]();}['fromJSON'](_0x3a5258){const _0x34104a=_0x37107d;super[_0x34104a(0x328)](_0x3a5258),this[_0x34104a(0x126)]();}[_0x37107d(0x191)](){const _0x510b41=_0x37107d;super[_0x510b41(0x191)](),this[_0x510b41(0x352)]={},this[_0x510b41(0x25e)]=null;}}const _0x5f5307=_0x4c18de=>{const _0x547514=_0x37107d,{targetCellInfo:_0x154e5e}=_0x4c18de,{matrixCache:_0x203d3c,rangesCache:_0x4489f5}=_0x2c2b1c({'filter':_0x547514(0x2ff),'row':_0x547514(0x1c6),'column':_0x547514(0x1bc),'values':_0x547514(0x12d)},_0x154e5e),_0x27ac83=new _0x5475a7[(_0x547514(0x303))]();return _0x203d3c['forValue']((_0x48f196,_0x4f6285,_0x104ae7)=>{const _0x2bc9a8=_0x547514;_0x27ac83[_0x2bc9a8(0x331)](_0x48f196,_0x4f6285,_0x104ae7);}),{'matrix':_0x27ac83,'rangesCache':_0x4489f5};},_0x36486f=_0x3c2ecd=>{const _0x341bf2=_0x37107d;let _0x4844e7;if(_0x3c2ecd!=null&&_0x3c2ecd['v']||(_0x3c2ecd==null?void 0x0:_0x3c2ecd['v'])===0x0){_0x4844e7||(_0x4844e7={});const _0x18a476=_0x39d4a8(_0x3c2ecd['v']);typeof _0x18a476==_0x341bf2(0x14a)?_0x4844e7['t']=_0x5475a7[_0x341bf2(0x1e2)][_0x341bf2(0x1f3)]:typeof _0x18a476==_0x341bf2(0x188)&&(_0x4844e7['t']=_0x5475a7[_0x341bf2(0x1e2)][_0x341bf2(0x2c8)]),_0x4844e7['v']=_0x18a476;}return _0x4844e7;},_0x2dba92=(_0x57dd33,_0x21657d,_0x2b8f65)=>{const _0x3735a3=_0x37107d;var _0xb0afdc,_0x30f64f,_0x1e0f06,_0x280b99,_0xbc1bd6,_0x394f9a,_0x17b6e0,_0x4a0d8c,_0x35efa6,_0x1a6f28,_0x2ae2bd,_0x2387d3;const {cornerView:_0x3a4924,rowView:_0x10723e,colView:_0x54a0b1,dataView:_0x336a39,pageView:_0x361df1,formatMap:_0x109df1}=_0x57dd33,{row:_0x4f1b53,col:_0x483207}=_0x21657d,_0x37a82d=new _0x5475a7[(_0x3735a3(0x303))]();let _0x3e503c=_0x4f1b53,_0x2bda3e=_0x483207;Object[_0x3735a3(0x33b)](_0x361df1[_0x3735a3(0x402)])[_0x3735a3(0x15d)](_0x96a64=>{const _0x5d57be=_0x3735a3;Object[_0x5d57be(0x33b)](_0x361df1[_0x5d57be(0x402)][Number(_0x96a64)])[_0x5d57be(0x15d)](_0x5d56af=>{const _0x4b0d23=_0x5d57be,_0x713a05={..._0x361df1[_0x4b0d23(0x402)][Number(_0x96a64)][Number(_0x5d56af)]};_0x37a82d[_0x4b0d23(0x331)](Number(_0x96a64)+_0x3e503c,Number(_0x5d56af)+_0x2bda3e,_0x36486f(_0x713a05));});});const _0x50da6c=Object[_0x3735a3(0x33b)](_0x361df1[_0x3735a3(0x402)])[_0x3735a3(0x298)];_0x3e503c+=_0x50da6c+(_0x50da6c?_0x42e754:0x0);const _0x183acf=_0x3a4924['getRowCount'](),_0x19c354=_0x3a4924['getColCount']();for(let _0x51aad6=0x0;_0x51aad6<_0x183acf;_0x51aad6++)for(let _0x16c308=0x0;_0x16c308<_0x19c354;_0x16c308++){const _0x411618={...(_0x30f64f=(_0xb0afdc=_0x3a4924[_0x3735a3(0x402)])==null?void 0x0:_0xb0afdc[_0x51aad6])==null?void 0x0:_0x30f64f[_0x16c308]};_0x411618&&((_0x1e0f06=_0x10723e[_0x3735a3(0x2d9)][_0x16c308])!=null&&_0x1e0f06[_0x3735a3(0x382)])&&_0x16c308===_0x19c354-0x1&&_0x51aad6===_0x183acf-0x1&&(_0x411618['v']=''+_0x2b8f65[_0x3735a3(0x354)]),_0x37a82d[_0x3735a3(0x331)](_0x51aad6+_0x3e503c,_0x16c308+_0x2bda3e,_0x36486f(_0x411618));}_0x2bda3e+=_0x19c354;const _0x181f3a=_0x54a0b1['headerMap'],_0x4f2b0e=_0x54a0b1['getLastRow']()>=0x0?_0x54a0b1[_0x3735a3(0x11f)]()+0x1:0x0,_0x43dcf5=_0x54a0b1['getLastCol']()>=0x0?_0x54a0b1[_0x3735a3(0x29d)]()+0x1:0x0;for(let _0x55da5b=0x0;_0x55da5b<_0x43dcf5;_0x55da5b++)for(let _0x486f15=0x0;_0x486f15<_0x4f2b0e;_0x486f15++){const _0x517278={...(_0xbc1bd6=(_0x280b99=_0x54a0b1[_0x3735a3(0x402)])==null?void 0x0:_0x280b99[_0x55da5b])==null?void 0x0:_0xbc1bd6[_0x486f15]},_0x270783=(_0x394f9a=_0x181f3a[_0x55da5b])==null?void 0x0:_0x394f9a['tableFieldId'],_0x42c5e9=_0x109df1[_0x270783];_0x517278&&(_0x517278['v']=_0x31fcf3(_0x517278,_0x55da5b===0x0&&((_0x17b6e0=_0x54a0b1[_0x3735a3(0x35d)](_0x486f15+0x1))==null?void 0x0:_0x17b6e0[_0x3735a3(0x382)]),_0x42c5e9,_0x2b8f65)),_0x37a82d[_0x3735a3(0x331)](_0x55da5b+_0x3e503c,_0x486f15+_0x2bda3e,_0x36486f(_0x517278));}_0x3e503c+=_0x183acf;const _0x8a7d9e=_0x10723e['headerMap'],_0x1e113e=_0x10723e[_0x3735a3(0x11f)]()>=0x0?_0x10723e[_0x3735a3(0x11f)]()+0x1:0x0,_0x3476e9=_0x10723e['getLastCol']()>=0x0?_0x10723e['getLastCol']()+0x1:0x0;for(let _0x16ec25=0x0;_0x16ec25<_0x1e113e;_0x16ec25++)for(let _0x21c4d7=0x0;_0x21c4d7<_0x3476e9;_0x21c4d7++){const _0xb18565={...(_0x35efa6=(_0x4a0d8c=_0x10723e[_0x3735a3(0x402)])==null?void 0x0:_0x4a0d8c[_0x16ec25])==null?void 0x0:_0x35efa6[_0x21c4d7]},_0x560cd9=(_0x1a6f28=_0x8a7d9e[_0x21c4d7])==null?void 0x0:_0x1a6f28[_0x3735a3(0x327)],_0x4db53c=_0x109df1[_0x560cd9];_0xb18565&&(_0xb18565['v']=_0x31fcf3(_0xb18565,!0x1,_0x4db53c,_0x2b8f65)),_0x37a82d['setValue'](_0x16ec25+_0x3e503c,_0x21c4d7+_0x483207,_0x36486f(_0xb18565));}const _0x42c8cd=_0x336a39[_0x3735a3(0x37e)](),_0x1f1196=_0x336a39[_0x3735a3(0x32e)]();for(let _0x4100cc=0x0;_0x4100cc<_0x42c8cd;_0x4100cc++)for(let _0x341ec8=0x0;_0x341ec8<_0x1f1196;_0x341ec8++){const _0x38ee00={...(_0x2387d3=(_0x2ae2bd=_0x336a39[_0x3735a3(0x402)])==null?void 0x0:_0x2ae2bd[_0x4100cc])==null?void 0x0:_0x2387d3[_0x341ec8]};_0x37a82d[_0x3735a3(0x331)](_0x4100cc+_0x3e503c,_0x341ec8+_0x2bda3e,_0x36486f(_0x38ee00));}return _0x37a82d;},_0x348904=_0x183ba1=>{const _0x2bb328=_0x37107d,{view:_0x163206,targetCellInfo:_0x723385,isEmpty:_0x57b6d2,textInfo:_0x21d1db}=_0x183ba1;if(_0x57b6d2)return _0x5f5307(_0x183ba1);const {pageView:_0x3ddba7,cornerView:_0x16ac6b,rowView:_0x4e3769,colView:_0x3bdf66,dataView:_0x3a17eb}=_0x163206,_0x3414e5=_0x5c1d7f(_0x723385,_0x3ddba7,!0x0),_0x38aa75=_0x3ddba7['lastRow']>=0x0?_0x3ddba7[_0x2bb328(0x1ed)]+0x1:0x0,_0x48d1bb=_0x16ac6b[_0x2bb328(0x37e)](),_0x24e19f=_0x16ac6b[_0x2bb328(0x32e)](),_0x2df484=_0x3414e5[_0x2bb328(0x298)]>0x0?_0x42e754:0x0,_0x347f99=_0x5c1d7f({'row':_0x723385[_0x2bb328(0x107)]+_0x38aa75+_0x2df484,'col':_0x723385[_0x2bb328(0x182)]},_0x16ac6b,!0x1,!0x1),_0x260e0d=_0x5c1d7f({'row':_0x723385[_0x2bb328(0x107)]+_0x38aa75+_0x2df484+_0x48d1bb,'col':_0x723385[_0x2bb328(0x182)]},_0x4e3769,!0x1,!0x0),_0x197cb9=_0x5c1d7f({'row':_0x723385[_0x2bb328(0x107)]+_0x38aa75+_0x2df484,'col':_0x723385[_0x2bb328(0x182)]+_0x24e19f},_0x3bdf66,!0x1,!0x0),_0x3b6809=_0x5c1d7f({'row':_0x723385['row']+_0x38aa75+_0x2df484+_0x48d1bb,'col':_0x723385['col']+_0x24e19f},_0x3a17eb,!0x1,!0x1),_0x2f6933={'rowRanges':_0x260e0d,'colRanges':_0x197cb9,'cornerRanges':_0x347f99,'dataRanges':_0x3b6809,'pageRanges':_0x3414e5};return{'matrix':_0x2dba92(_0x163206,_0x723385,_0x21d1db),'rangesCache':_0x2f6933};};var _0x1289fd=Object['getOwnPropertyDescriptor'],_0x336354=(_0x308b99,_0x4cf05f,_0x13e625,_0x1731bf)=>{const _0x14c763=_0x37107d;for(var _0x3663f6=_0x1731bf>0x1?void 0x0:_0x1731bf?_0x1289fd(_0x4cf05f,_0x13e625):_0x4cf05f,_0x32aeb5=_0x308b99[_0x14c763(0x298)]-0x1,_0xbff524;_0x32aeb5>=0x0;_0x32aeb5--)(_0xbff524=_0x308b99[_0x32aeb5])&&(_0x3663f6=_0xbff524(_0x3663f6)||_0x3663f6);return _0x3663f6;},_0x2c1fad=(_0x16db19,_0x134e66)=>(_0x103788,_0x3f17fe)=>_0x134e66(_0x103788,_0x3f17fe,_0x16db19);_0x4652af['SheetsPivotDataSourceModel']=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x4f14bb,_0x570a9e,_0x4b7b8f,_0x5627ad,_0x204c13){const _0x126e08=_0x37107d;super(),_0x33deac(this,_0x126e08(0x27a),new Map()),_0x33deac(this,_0x126e08(0x2ad),new Map()),_0x33deac(this,_0x126e08(0x3d2),new Map()),_0x33deac(this,_0x126e08(0x302)),_0x33deac(this,_0x126e08(0x2dc),new _0xfe6fd0[(_0x126e08(0x1c8))]()),_0x33deac(this,_0x126e08(0x2de),this['_collectionChange$']['asObservable']()),_0x33deac(this,_0x126e08(0x393),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x126e08(0x228),this[_0x126e08(0x393)][_0x126e08(0x170)]()),_0x33deac(this,_0x126e08(0x238),new _0xfe6fd0[(_0x126e08(0x1c8))]()),_0x33deac(this,_0x126e08(0x3ac),this[_0x126e08(0x238)]['asObservable']()),_0x33deac(this,_0x126e08(0x246),new Map()),_0x33deac(this,_0x126e08(0x19a),[]),_0x33deac(this,_0x126e08(0x31b),new Map()),(this['_injector']=_0x4f14bb,this[_0x126e08(0x2d4)]=_0x570a9e,this[_0x126e08(0x237)]=_0x4b7b8f,this[_0x126e08(0x2e0)]=_0x5627ad,this[_0x126e08(0x3b0)]=_0x204c13,this[_0x126e08(0x1b6)]());}[_0x37107d(0x297)](){const _0xf7d6a2=_0x37107d;return this[_0xf7d6a2(0x302)]?this[_0xf7d6a2(0x302)]:_0x28f93c;}[_0x37107d(0x1c1)](_0x2d0e5c){const _0x47797b=_0x37107d;this[_0x47797b(0x302)]=_0x2d0e5c;}[_0x37107d(0xf3)](_0x49ace4){const _0xa1aae8=_0x37107d;var _0x174c89;const {from:_0x415885,to:_0x1cce53,unitId:_0x46fe40,fromRange:_0x16e42e,toRange:_0x53d7f7}=_0x49ace4;if(_0x415885&&_0x1cce53){const _0x51b174=this[_0xa1aae8(0x1aa)](_0x46fe40),_0xe8cd39=this[_0xa1aae8(0x27a)][_0xa1aae8(0xe4)](_0x46fe40),_0x4c051c=(_0x174c89=this['_univerInstanceService'][_0xa1aae8(0x36f)](_0x46fe40))==null?void 0x0:_0x174c89[_0xa1aae8(0x153)](_0x1cce53[_0xa1aae8(0x341)]);if(!_0xe8cd39||!_0x4c051c)return;const _0x33d27d=_0x4c051c==null?void 0x0:_0x4c051c[_0xa1aae8(0x257)]();for(const [_0x2c412b,_0x32d383]of _0xe8cd39[_0xa1aae8(0x336)]())for(const [_0x347e36,_0x52089e]of _0x32d383[_0xa1aae8(0x336)]()){const {sourceRangeInfo:_0x5ba93b}=_0x52089e;if(_0x5ba93b[_0xa1aae8(0x2ec)]===_0x46fe40&&_0x5ba93b[_0xa1aae8(0x341)]===_0x415885[_0xa1aae8(0x341)]&&_0x5475a7['Rectangle'][_0xa1aae8(0x3b1)](_0x16e42e,_0x5ba93b[_0xa1aae8(0x3f8)])){const _0x19ac0c={'row':_0x5ba93b[_0xa1aae8(0x3f8)][_0xa1aae8(0x163)]-_0x16e42e[_0xa1aae8(0x163)],'col':_0x5ba93b[_0xa1aae8(0x3f8)]['startColumn']-_0x16e42e['startColumn']},_0x394a7b={'unitId':_0x46fe40,'subUnitId':_0x1cce53[_0xa1aae8(0x341)],'sheetName':_0x33d27d,'range':{'startRow':_0x53d7f7[_0xa1aae8(0x163)]+_0x19ac0c['row'],'endRow':_0x53d7f7['startRow']+_0x19ac0c[_0xa1aae8(0x107)]+_0x5ba93b['range'][_0xa1aae8(0x2a0)]-_0x5ba93b['range'][_0xa1aae8(0x163)],'startColumn':_0x53d7f7[_0xa1aae8(0x342)]+_0x19ac0c['col'],'endColumn':_0x53d7f7[_0xa1aae8(0x342)]+_0x19ac0c[_0xa1aae8(0x182)]+_0x5ba93b[_0xa1aae8(0x3f8)][_0xa1aae8(0x381)]-_0x5ba93b[_0xa1aae8(0x3f8)][_0xa1aae8(0x342)]}};_0x51b174[_0xa1aae8(0xf3)](_0x347e36,_0x394a7b);const _0xdad7e7={..._0x52089e,'sourceRangeInfo':_0x394a7b};this[_0xa1aae8(0x17a)](_0x46fe40,_0x1cce53[_0xa1aae8(0x341)],_0x347e36,_0xdad7e7),this[_0xa1aae8(0x1b3)]({'unitId':_0x46fe40,'token':_0x347e36,'type':_0x2863ee['update'],'oldSourceRangeInfo':_0x5ba93b,'dataRangeInfo':_0x394a7b,'targetCellInfo':_0x52089e[_0xa1aae8(0x258)]}),this[_0xa1aae8(0x1d8)]({'unitId':_0x46fe40,'subUnitId':_0x1cce53[_0xa1aae8(0x341)],'oldSubUnitId':_0x2c412b,'pivotTableId':_0x347e36,'pivotTableConfig':_0xdad7e7,'collectionConfig':_0x51b174[_0xa1aae8(0x3ef)]()});}}}}[_0x37107d(0x1b3)](_0x1b084d){const _0x236922=_0x37107d;this['_collectionChange$'][_0x236922(0x38b)](_0x1b084d);}[_0x37107d(0x1aa)](_0x610124){const _0x41ffef=_0x37107d;let _0xcbb65c=this[_0x41ffef(0x246)]['get'](_0x610124);return _0xcbb65c||(_0xcbb65c=new _0x116639(this,this['_univerInstanceService']),this[_0x41ffef(0x246)]['set'](_0x610124,_0xcbb65c)),_0xcbb65c;}[_0x37107d(0x3ad)](_0x3ba566,_0x33b0b8){const _0x5e7f09=_0x37107d;return this[_0x5e7f09(0x1aa)](_0x3ba566)[_0x5e7f09(0x3b9)][_0x33b0b8];}['getUpdateRangeDeleteIds'](_0x3a1dba,_0x45f3b,_0x4e90e4){const _0x2dc917=_0x37107d;return this[_0x2dc917(0x1aa)](_0x3a1dba)[_0x2dc917(0x353)](_0x45f3b,_0x4e90e4);}['_ensurePivotMap'](_0x51a319,_0x472367){const _0x2c8a66=_0x37107d;let _0x235ba6=this[_0x2c8a66(0x27a)][_0x2c8a66(0xe4)](_0x51a319);_0x235ba6||(_0x235ba6=new Map(),this[_0x2c8a66(0x27a)][_0x2c8a66(0x169)](_0x51a319,_0x235ba6));let _0x4deb8d=_0x235ba6[_0x2c8a66(0xe4)](_0x472367);return _0x4deb8d||(_0x4deb8d=new Map(),_0x235ba6['set'](_0x472367,_0x4deb8d)),_0x4deb8d;}[_0x37107d(0x17a)](_0x4b4391,_0x448641,_0x5abf5f,_0x33e02d){const _0x472a46=_0x37107d;this[_0x472a46(0x18c)](_0x4b4391,_0x448641)[_0x472a46(0x169)](_0x5abf5f,_0x33e02d);}[_0x37107d(0x112)](_0x3891c0,_0x784f73,_0x4af8b5){const _0x552ab2=_0x37107d;var _0x1596bb,_0xcc8f1e,_0x45e645,_0x9e726d;((_0xcc8f1e=(_0x1596bb=this[_0x552ab2(0x27a)][_0x552ab2(0xe4)](_0x3891c0))==null?void 0x0:_0x1596bb[_0x552ab2(0xe4)](_0x784f73))==null?void 0x0:_0xcc8f1e['get'](_0x4af8b5))&&((_0x9e726d=(_0x45e645=this['_model'][_0x552ab2(0xe4)](_0x3891c0))==null?void 0x0:_0x45e645['get'](_0x784f73))==null||_0x9e726d[_0x552ab2(0x27b)](_0x4af8b5));}[_0x37107d(0x214)](_0x291e27,_0x2c7014){const _0x70ced0=_0x37107d;this[_0x70ced0(0x2ad)]['set'](_0x291e27,_0x2c7014);}[_0x37107d(0x317)](_0x171bde){const _0x3932a9=_0x37107d;this['_pivotTableInstanceCache'][_0x3932a9(0x27b)](_0x171bde);}[_0x37107d(0x24c)](_0x158272,_0x1a6b59){const _0x5ad14e=_0x37107d;let _0x2b0cce=this['_viewData'][_0x5ad14e(0xe4)](_0x158272);_0x2b0cce||(_0x2b0cce=new Map(),this[_0x5ad14e(0x3d2)]['set'](_0x158272,_0x2b0cce));let _0x35c385=_0x2b0cce[_0x5ad14e(0xe4)](_0x1a6b59);return _0x35c385||(_0x35c385=new Map(),_0x2b0cce['set'](_0x1a6b59,_0x35c385)),_0x35c385;}[_0x37107d(0x1d8)](_0x1573e4){const _0x291321=_0x37107d,{unitId:_0x203d1c,subUnitId:_0x70b16f,pivotTableId:_0x45f70c,pivotTableConfig:_0x477cf5,collectionConfig:_0x142b3c}=_0x1573e4,_0x3f07a1={'unitId':_0x203d1c,'subUnitId':_0x70b16f,'oldSubUnitId':_0x70b16f,'pivotTableId':_0x45f70c,'pivotTableConfig':_0x477cf5,'collectionConfig':_0x142b3c};this[_0x291321(0x2e0)][_0x291321(0x11a)](_0x326687['id'],_0x3f07a1,{'onlyLocal':!0x0});}[_0x37107d(0x1db)](_0x288631,_0x5bfae3,_0x4c4966,_0x47fb87,_0x29e10b,_0x24ba24,_0x58ce15,_0x3df6b6=!0x1){const _0x192782=_0x37107d;var _0x8ecba4;this[_0x192782(0x2e0)][_0x192782(0x11a)](_0x892c58['id'],{'single':{'unitId':_0x288631,'subUnitId':_0x5bfae3,'type':_0x4c4966,'pivotTableId':_0x47fb87,'view':_0x29e10b,'pivotConfig':_0x24ba24},'collectionConfig':{[_0x288631]:_0x58ce15}},{'onlyLocal':!0x0});const _0x26231e=!!((_0x8ecba4=this[_0x192782(0x266)](_0x47fb87))!=null&&_0x8ecba4[_0x192782(0x2eb)]()),_0x57d957=this[_0x192782(0x36b)](_0x288631,_0x5bfae3,_0x47fb87);_0x57d957&&this['updateViewData']({'view':_0x29e10b,'pivotTableId':_0x47fb87,'textInfo':this[_0x192782(0x297)](),'isEmpty':_0x26231e,'targetCellInfo':_0x57d957[_0x192782(0x258)]},_0x3df6b6);}[_0x37107d(0x3b3)](_0x47d800,_0x34aba9){const _0x39e650=_0x37107d,{targetCellInfo:_0x1dcc5c,pivotTableId:_0x546711}=_0x47d800,{unitId:_0x4030dc,subUnitId:_0x1f09e7}=_0x1dcc5c,_0x547f54=this[_0x39e650(0x24c)](_0x4030dc,_0x1f09e7),_0xed323=_0x547f54[_0x39e650(0xe4)](_0x546711);let _0x58d3fa,_0x385f7b;_0xed323&&(_0x58d3fa=_0xed323['rangeCache'],_0x385f7b=_0xed323[_0x39e650(0x11c)]);const {rangesCache:_0xff13ec,matrix:_0x3b8d05}=_0x348904(_0x47d800);_0x547f54[_0x39e650(0x169)](_0x546711,{'rangeCache':_0xff13ec,'matrix':_0x3b8d05,'oldMatrix':_0x385f7b,'oldRangeCache':_0x58d3fa}),_0x34aba9||this[_0x39e650(0x393)][_0x39e650(0x38b)]({'unitId':_0x4030dc,'subUnitId':_0x1f09e7,'pivotTableId':_0x546711});}[_0x37107d(0x3f6)](_0x67f913,_0x23eed4,_0x1352b1,_0x97d4fd,_0x891bc3){const _0x2c5b42=_0x37107d;this[_0x2c5b42(0x17a)](_0x67f913,_0x23eed4,_0x1352b1,_0x891bc3),this[_0x2c5b42(0x214)](_0x1352b1,_0x97d4fd);}[_0x37107d(0x340)](_0x4a00da,_0x490686,_0x210c37){const _0x445222=_0x37107d,_0x11ae38=this[_0x445222(0x1aa)](_0x4a00da);_0x11ae38[_0x445222(0x1e3)](_0x210c37)['forEach'](_0x358ada=>{const _0x60adea=_0x445222;_0x11ae38[_0x60adea(0x3a0)](_0x358ada);}),this['removeCollections'](_0x4a00da,_0x210c37),this['_deleteModelCache'](_0x4a00da,_0x490686,_0x210c37),this[_0x445222(0x317)](_0x210c37);}[_0x37107d(0x1ae)](_0x4b9fb4,_0x23e5a3,_0x2a7add,_0x115d3d){const _0x40f396=_0x37107d;this[_0x40f396(0x17a)](_0x4b9fb4,_0x23e5a3,_0x2a7add,_0x115d3d);}[_0x37107d(0x36b)](_0x45042a,_0x1efacb,_0x43d33b){const _0x5e67ac=_0x37107d;var _0x234d3d,_0x1a223f;const _0x100284=(_0x1a223f=(_0x234d3d=this[_0x5e67ac(0x27a)]['get'](_0x45042a))==null?void 0x0:_0x234d3d[_0x5e67ac(0xe4)](_0x1efacb))==null?void 0x0:_0x1a223f['get'](_0x43d33b);if(_0x100284)return _0x100284;}[_0x37107d(0x17f)](_0x383fef,_0x3c2a77,_0x143ce0){const _0x7e54d6=_0x37107d;var _0x41df5c,_0x40a8ba;const _0x4b5ee4=(_0x40a8ba=(_0x41df5c=this[_0x7e54d6(0x27a)][_0x7e54d6(0xe4)](_0x383fef))==null?void 0x0:_0x41df5c['get'](_0x3c2a77))==null?void 0x0:_0x40a8ba['get'](_0x143ce0);if(_0x4b5ee4)return _0x4b5ee4[_0x7e54d6(0x311)];}[_0x37107d(0x266)](_0x47084a){const _0x535d97=_0x37107d;return this[_0x535d97(0x2ad)][_0x535d97(0xe4)](_0x47084a);}['deleteUnitId'](_0x4d2743){const _0x15aa3a=_0x37107d;this[_0x15aa3a(0x27a)]['delete'](_0x4d2743);const _0x561b7=this[_0x15aa3a(0x246)][_0x15aa3a(0xe4)](_0x4d2743);_0x561b7&&(_0x561b7[_0x15aa3a(0x191)](),this[_0x15aa3a(0x246)][_0x15aa3a(0x27b)](_0x4d2743)),this[_0x15aa3a(0x3d2)][_0x15aa3a(0x27b)](_0x4d2743),this['needSameDeleteModel'][_0x15aa3a(0x15d)](_0x2e6ca5=>{const _0x4004e8=_0x15aa3a;_0x2e6ca5[_0x4004e8(0x13f)](_0x4d2743);});}[_0x37107d(0x345)](_0x1f2e01,_0x3932fb,_0x8baead,_0x1aafb5){const _0x45d612=_0x37107d;return this[_0x45d612(0x1aa)](_0x8baead['unitId'])[_0x45d612(0x345)](_0x1f2e01,_0x3932fb,_0x8baead,_0x1aafb5);}[_0x37107d(0x27d)](_0x570897){const _0x3e13d4=_0x37107d;return this[_0x3e13d4(0x1aa)](_0x570897[_0x3e13d4(0x2ec)])[_0x3e13d4(0x27d)](_0x570897);}[_0x37107d(0x2a6)](_0x11da89,_0x2302b9,_0x595ffe){const _0x4c33b5=_0x37107d;this[_0x4c33b5(0x1aa)](_0x595ffe['unitId'])[_0x4c33b5(0x2a6)](_0x11da89,_0x2302b9,_0x595ffe);}[_0x37107d(0x1bf)](_0x5c54ef,_0x411e52){const _0x191c6f=_0x37107d;this[_0x191c6f(0x1aa)](_0x5c54ef)[_0x191c6f(0x3a0)](_0x411e52);}[_0x37107d(0x250)](_0x458d69,_0x342eae){const _0x555544=_0x37107d;this[_0x555544(0x1aa)](_0x458d69)['removeCollectionImp'](_0x342eae);}[_0x37107d(0x3b4)](_0x53696d,_0x5485bc){const _0x39c304=_0x37107d;var _0x53b651;return(_0x53b651=this['_model'][_0x39c304(0xe4)](_0x53696d))==null?void 0x0:_0x53b651['get'](_0x5485bc);}[_0x37107d(0x3c7)](_0x5cab09){const _0x18722c=_0x37107d;for(const [_0xe0c4a6,_0x6c0ea4]of this[_0x18722c(0x27a)]['entries']())for(const [_0x1aceca,_0x462ba5]of _0x6c0ea4['entries']())if(_0x462ba5[_0x18722c(0x35c)](_0x5cab09))return{'unitId':_0xe0c4a6,'subUnitId':_0x1aceca};return null;}[_0x37107d(0x314)](_0x4133ae,_0x212ba4,_0x26eb3c,_0x2a8bef){const _0x2f783c=_0x37107d,_0x195835=this[_0x2f783c(0x24c)](_0x4133ae,_0x212ba4);_0x2a8bef?_0x195835['set'](_0x26eb3c,_0x2a8bef):_0x195835[_0x2f783c(0x27b)](_0x26eb3c),this[_0x2f783c(0x393)][_0x2f783c(0x38b)]({'unitId':_0x4133ae,'subUnitId':_0x212ba4,'pivotTableId':_0x26eb3c});}[_0x37107d(0x191)](){const _0x296eae=_0x37107d;super['dispose'](),this[_0x296eae(0x27a)][_0x296eae(0x100)](),this[_0x296eae(0x2ad)]['clear'](),this[_0x296eae(0x3d2)][_0x296eae(0x100)](),this[_0x296eae(0x2dc)][_0x296eae(0xfb)](),this[_0x296eae(0x393)]['complete'](),this[_0x296eae(0x238)][_0x296eae(0xfb)](),this[_0x296eae(0x246)]['forEach'](_0x5dd33f=>_0x5dd33f['dispose']()),this[_0x296eae(0x246)][_0x296eae(0x100)]();}[_0x37107d(0x119)](_0x170f1e,_0x4e84f0,_0x37ada6){const _0x51c5bd=_0x37107d;var _0xa93bb,_0x3b6344;const _0x11d6ee=(_0x3b6344=(_0xa93bb=this['_viewData'][_0x51c5bd(0xe4)](_0x170f1e))==null?void 0x0:_0xa93bb[_0x51c5bd(0xe4)](_0x4e84f0))==null?void 0x0:_0x3b6344[_0x51c5bd(0xe4)](_0x37ada6);return _0x11d6ee||null;}[_0x37107d(0x20a)](_0x448a6a){const _0x3e705c=_0x37107d;this[_0x3e705c(0x2a1)](_0x448a6a);}[_0x37107d(0x2a1)](_0x128830){const _0x3ea8da=_0x37107d,{token:_0x35829a,unitId:_0x390cc0,subUnitId:_0x1fc931}=_0x128830,_0x26f2d8=_0x390cc0+'-'+_0x1fc931+'-'+_0x35829a;this[_0x3ea8da(0x31b)]['get'](_0x26f2d8)&&clearTimeout(this[_0x3ea8da(0x31b)]['get'](_0x26f2d8));const _0x266f4d=setTimeout(()=>{const _0x2914d8=_0x3ea8da;this[_0x2914d8(0x168)](_0x128830),this['_queryingMap']['delete'](_0x26f2d8);},_0xdee6de);this[_0x3ea8da(0x31b)]['set'](_0x26f2d8,_0x266f4d);}['queryDirtyPivotTable'](_0x22a6a6){const _0x17e185=_0x37107d,{unitId:_0x58a650,subUnitId:_0x29effe,token:_0x1ac51b,type:_0x16a9ea,pivotConfig:_0x9ebf0a}=_0x22a6a6,_0x3338d3=this[_0x17e185(0x266)](_0x1ac51b),_0x34d86c=_0x3338d3==null?void 0x0:_0x3338d3[_0x17e185(0x20d)](),_0x35b010=_0x9ebf0a!=null?_0x9ebf0a:this[_0x17e185(0x36b)](_0x58a650,_0x29effe,_0x1ac51b);_0x35b010&&(_0x35b010[_0x17e185(0x2eb)]=!!(_0x3338d3!=null&&_0x3338d3['isEmpty']())),(_0x34d86c||_0x16a9ea===_0x5865c2[_0x17e185(0x108)])&&this[_0x17e185(0x1db)](_0x58a650,_0x29effe,_0x16a9ea,_0x1ac51b,_0x34d86c,_0x35b010,this[_0x17e185(0x1aa)](_0x58a650)[_0x17e185(0x3ef)]());}[_0x37107d(0x3ef)](_0x5297b3){const _0xd4b5a0=_0x37107d,_0xed8f06={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x5297b3)&&(_0xed8f06[_0xd4b5a0(0x158)][_0x5297b3]=this[_0xd4b5a0(0x1aa)](_0x5297b3)[_0xd4b5a0(0x3ef)]()),this[_0xd4b5a0(0x27a)]['get'](_0x5297b3)){_0xed8f06[_0xd4b5a0(0x3b5)][_0x5297b3]={};const _0xd9c7d2=this['_model']['get'](_0x5297b3);_0xd9c7d2!=null&&_0xd9c7d2[_0xd4b5a0(0x290)]&&[..._0xd9c7d2[_0xd4b5a0(0x33b)]()][_0xd4b5a0(0x15d)](_0x35cb47=>{const _0x1aead9=_0xd4b5a0,_0x3b3321=_0xd9c7d2[_0x1aead9(0xe4)](_0x35cb47);_0x3b3321!=null&&_0x3b3321[_0x1aead9(0x290)]&&(_0xed8f06[_0x1aead9(0x3b5)][_0x5297b3][_0x35cb47]={},[..._0x3b3321[_0x1aead9(0x33b)]()][_0x1aead9(0x15d)](_0x53c3e4=>{const _0x54cf18=_0x1aead9,_0xa45c8b=_0x3b3321[_0x54cf18(0xe4)](_0x53c3e4);_0xa45c8b&&(_0xed8f06['pivotTableConfigs'][_0x5297b3][_0x35cb47][_0x53c3e4]=_0xa45c8b);}));});}return _0xed8f06;}[_0x37107d(0x328)](_0x3abdb3){const _0x5da4f4=_0x37107d;var _0x5c1c67;const {dataFieldManagerConfig:_0x16d027,pivotTableConfigs:_0x1112a0}=_0x3abdb3;_0x16d027&&Object['keys'](_0x16d027)[_0x5da4f4(0x15d)](_0x30f5ba=>{const _0x3b4eaf=_0x5da4f4;this['getDataFieldManager'](_0x30f5ba)[_0x3b4eaf(0x328)](_0x16d027[_0x30f5ba]);});const _0x43bd14=[];if(_0x1112a0){const _0x48ee00=(_0x5c1c67=this[_0x5da4f4(0x21c)][_0x5da4f4(0xe4)](_0x5475a7[_0x5da4f4(0x3fb)])[_0x5da4f4(0x146)](_0x57119e[_0x5da4f4(0x348)]))!=null?_0x5c1c67:{},{ls:_0x34e4d0,pbk:_0x389b06}=_0x48ee00,_0x1c0adb=_0x16ef4f(_0x5dcb75,_0x34e4d0,_0x389b06)['count'];Object[_0x5da4f4(0x33b)](_0x1112a0)[_0x5da4f4(0x15d)](_0x381c47=>{const _0x16fc09=_0x5da4f4;let _0x2ad5a6=0x0;const _0x288a12=_0x1112a0[_0x381c47];Object[_0x16fc09(0x33b)](_0x288a12)['forEach'](_0x36aff4=>{const _0x235e63=_0x16fc09,_0x38b45d=_0x288a12[_0x36aff4];Object[_0x235e63(0x33b)](_0x38b45d)[_0x235e63(0x15d)](_0x4b5b47=>{const _0x4d5c3c=_0x235e63,_0x21645e=_0x38b45d[_0x4b5b47];if(_0x21645e){if(_0x2ad5a6>=_0x1c0adb)return;_0x2ad5a6++;const _0x28ded0=this['getDataFieldManager'](_0x381c47),_0x12fa31=_0x28ded0[_0x4d5c3c(0x3b9)][_0x4b5b47],_0x3e8c0c=_0x12fa31['getFieldIds']();let _0x6e7b07=0x0;const _0x1b2e2b=[];for(const _0x178f0f of _0x3e8c0c){const _0x213928=_0x12fa31['getFieldById'](_0x178f0f);if(_0x42fb89[_0x4d5c3c(0x2ac)](_0x213928)){const _0x47a93a=_0x213928[_0x4d5c3c(0x2c1)](),_0x443af2=_0x12fa31['getFieldById'](_0x47a93a);_0x443af2&&_0x1b2e2b[_0x4d5c3c(0x229)]([_0x213928,_0x443af2]);continue;}_0x28ded0[_0x4d5c3c(0x2d5)](_0x178f0f,_0x21645e['sourceRangeInfo'],_0x6e7b07),_0x6e7b07++;}_0x1b2e2b[_0x4d5c3c(0x15d)](([_0x17c576,_0x13c47])=>{const _0x413a2a=_0x4d5c3c;_0x17c576[_0x413a2a(0x204)](_0x13c47);});const _0x4436f3=new _0x42fb89[(_0x4d5c3c(0x151))](_0x12fa31);_0x4436f3[_0x4d5c3c(0x328)](_0x21645e[_0x4d5c3c(0x311)]),this[_0x4d5c3c(0x3f6)](_0x381c47,_0x36aff4,_0x4b5b47,_0x4436f3,_0x21645e);const _0x402af8=_0x4436f3[_0x4d5c3c(0x20d)]();_0x43bd14[_0x4d5c3c(0x229)]({'unitId':_0x381c47,'subUnitId':_0x36aff4,'pivotTableId':_0x4b5b47,'view':_0x402af8[_0x4d5c3c(0x3ef)](),'pivotConfig':_0x21645e,'type':_0x5865c2['Add']});const _0x5a66ed=!!_0x4436f3['isEmpty'](),_0x55bf3b={'view':_0x402af8,'pivotTableId':_0x4b5b47,'textInfo':this[_0x4d5c3c(0x297)](),'isEmpty':_0x5a66ed,'targetCellInfo':_0x21645e[_0x4d5c3c(0x258)]};this[_0x4d5c3c(0x3b3)](_0x55bf3b,!0x1);}});});});}_0x16d027&&Object[_0x5da4f4(0x33b)](_0x16d027)[_0x5da4f4(0x15d)](_0x1717ce=>{const _0x1ec973=_0x5da4f4,_0x370eb9=this['getDataFieldManager'](_0x1717ce);this[_0x1ec973(0x238)][_0x1ec973(0x38b)](_0x370eb9[_0x1ec973(0x3b9)]);}),this[_0x5da4f4(0x2e0)][_0x5da4f4(0x11a)](_0x892c58['id'],{'batch':_0x43bd14,'collectionConfig':_0x16d027},{'onlyLocal':!0x0});}[_0x37107d(0x1b6)](){const _0x21dcbc=_0x37107d;this[_0x21dcbc(0xe0)](this[_0x21dcbc(0x3b0)][_0x21dcbc(0x39c)]({'toJson':_0x2860f9=>JSON[_0x21dcbc(0x3c3)](this[_0x21dcbc(0x3ef)](_0x2860f9)),'parseJson':_0x5e254b=>{const _0x105444=_0x21dcbc;if(!_0x5e254b)return{};try{return JSON[_0x105444(0x102)](_0x5e254b);}catch{return{};}},'businesses':[_0x5475a7[_0x21dcbc(0x179)][_0x21dcbc(0x1c4)]],'pluginName':_0x55f144,'onLoad':(_0x58cc89,_0x2be6d8)=>{this['fromJSON'](_0x2be6d8);},'onUnLoad':_0x3d962e=>{this['deleteUnitId'](_0x3d962e);}}));}},_0x4652af['SheetsPivotDataSourceModel']=_0x336354([_0x2c1fad(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x2c1fad(0x1,_0x5475a7[_0x37107d(0x14d)]),_0x2c1fad(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x134)])),_0x2c1fad(0x3,_0x5475a7[_0x37107d(0x3d6)]),_0x2c1fad(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['IResourceManagerService']))],_0x4652af[_0x37107d(0x275)]);const _0x52de68={0x0:{0x0:{'v':_0x37107d(0x183),'s':_0x2d442c}},0x2:{0x1:{'v':'','s':_0x2d442c},0x2:{'v':'','s':_0x2d442c},0x3:{'v':'column','s':_0x2d442c},0x4:{'v':'','s':_0x2d442c},0x5:{'v':'','s':_0x2d442c}},0x3:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x4:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x5:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x6:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x7:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x8:{0x0:{'v':_0x37107d(0x107),'s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'values','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x9:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xa:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xb:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xc:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xd:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}}},_0x13b8d0={'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':[]},_0x2c2b1c=(_0x48ef88,_0x2e5723)=>{const _0x95ad0b=_0x37107d,_0x3e0fc5=new _0x5475a7[(_0x95ad0b(0x303))](),_0x21dd18=new _0x5475a7[(_0x95ad0b(0x303))](_0x52de68),{row:_0x50ca86,col:_0x4ad1ee}=_0x2e5723;_0x21dd18[_0x95ad0b(0x29e)]((_0xc85709,_0x17e718,_0x2d012c)=>{const _0x4dd122=_0x95ad0b;let _0x3c17b0='';_0x2d012c['v']===_0x4dd122(0x183)?_0x3c17b0=_0x48ef88[_0x4dd122(0x183)]:_0x2d012c['v']===_0x4dd122(0x107)?_0x3c17b0=_0x48ef88[_0x4dd122(0x107)]:_0x2d012c['v']===_0x4dd122(0x3ab)?_0x3c17b0=_0x48ef88[_0x4dd122(0x3ab)]:_0x2d012c['v']===_0x4dd122(0x24a)&&(_0x3c17b0=_0x48ef88['values']),_0x3e0fc5['setValue'](_0xc85709+_0x50ca86,_0x17e718+_0x4ad1ee,{..._0x2d012c,'v':_0x3c17b0});});const _0x401d67=_0x5475a7[_0x95ad0b(0x3e1)][_0x95ad0b(0x3f5)](_0x13b8d0);return Object[_0x95ad0b(0x33b)](_0x13b8d0)[_0x95ad0b(0x15d)](_0x37f818=>{const _0xe02847=_0x95ad0b;_0x401d67[_0x37f818]=_0x13b8d0[_0x37f818][_0xe02847(0x13c)](_0x504e04=>({..._0x504e04,'startRow':_0x504e04[_0xe02847(0x163)]+_0x50ca86,'endRow':_0x504e04[_0xe02847(0x2a0)]+_0x50ca86,'startColumn':_0x504e04[_0xe02847(0x342)]+_0x4ad1ee,'endColumn':_0x504e04[_0xe02847(0x381)]+_0x4ad1ee}));}),{'matrixCache':_0x3e0fc5,'rangesCache':_0x401d67};};function _0x45fa5a(_0x57938a,_0xe05ed7){const _0x2e55ce=_0x37107d;let _0x1f1457='';const _0x3a11c7=this[_0x2e55ce(0x297)]();switch(_0xe05ed7){case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x323)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x1b0)]+_0x57938a;break;case _0x42fb89['PivotSubtotalTypeEnum'][_0x2e55ce(0x3e0)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x2da)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x34f)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x161)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x23f)]:_0x1f1457=_0x3a11c7['sheets-pivot.maxName']+_0x57938a;break;case _0x42fb89['PivotSubtotalTypeEnum'][_0x2e55ce(0x101)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x218)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x3b6)]:_0x1f1457=_0x3a11c7['sheets-pivot.productName']+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)]['stdDev']:_0x1f1457=_0x3a11c7[_0x2e55ce(0x1e9)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x2f5)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x16c)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x137)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x315)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x38c)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x236)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x18a)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0xe8)]+_0x57938a;break;default:_0x1f1457=_0x57938a;break;}return _0x1f1457;}function _0x3d7698(_0x4fce28,_0x42c85a,_0x42fea0,_0x56c231,_0x45e7be){const _0x1cfc7d=_0x37107d;var _0x253494,_0x23d3a1,_0x4fcbb9,_0x37b364,_0x13c087;const _0x35faec=_0x5475a7[_0x1cfc7d(0x2f7)](_0x4fce28,_0x42c85a),{rangesInfo:_0x2e7384,areaInfo:_0x5f31cf,headerMap:_0x1f8abf}=_0x45e7be;if(!_0x2e7384||!_0x5f31cf||!_0x1f8abf)return;const _0x1e129d=Object[_0x1cfc7d(0x33b)](_0x2e7384)[_0x1cfc7d(0x344)](_0x2cc9da=>_0x2e7384[_0x2cc9da]['some'](_0x137807=>_0x5475a7[_0x1cfc7d(0x2b7)]['contains'](_0x137807,_0x35faec))),_0x15d7eb=_0x5f31cf;let _0x14789d,_0x581f09,_0x2f0b24;if(_0x1e129d===_0x1cfc7d(0x28a))_0x14789d=(_0x253494=_0x15d7eb==null?void 0x0:_0x15d7eb[_0x1cfc7d(0x1a1)])==null?void 0x0:_0x253494[_0x4fce28],_0x581f09=(_0x23d3a1=_0x1f8abf==null?void 0x0:_0x1f8abf[_0x1cfc7d(0x2e1)])==null?void 0x0:_0x23d3a1[_0x42c85a],_0x2f0b24=_0x581f09==null?void 0x0:_0x581f09[_0x1cfc7d(0x327)];else{if(_0x1e129d===_0x1cfc7d(0x37b))_0x14789d=(_0x4fcbb9=_0x15d7eb==null?void 0x0:_0x15d7eb[_0x1cfc7d(0x261)])==null?void 0x0:_0x4fcbb9[_0x42c85a],_0x581f09=(_0x37b364=_0x1f8abf['colHeaderMap'])==null?void 0x0:_0x37b364[_0x4fce28+0x1+_0x42c85a-_0x2e7384[_0x1cfc7d(0x37b)][0x0]['startColumn']],_0x2f0b24=_0x581f09==null?void 0x0:_0x581f09[_0x1cfc7d(0x327)];else{if(_0x1e129d===_0x1cfc7d(0x123))_0x14789d=(_0x13c087=_0x15d7eb==null?void 0x0:_0x15d7eb[_0x1cfc7d(0xe2)])==null?void 0x0:_0x13c087[_0x42c85a],_0x2f0b24=_0x14789d==null?void 0x0:_0x14789d[_0x1cfc7d(0x327)];else{if(_0x1e129d===_0x1cfc7d(0x375)){const _0x702ed8=_0x42fea0==null?void 0x0:_0x42fea0['fi'];_0x702ed8!==void 0x0&&(_0x2f0b24=_0x56c231['getFilterFieldIdByIndex'](_0x702ed8));}}}}return{'filterId':_0x2f0b24,'info':_0x14789d,'data':_0x42fea0,'headerInfo':_0x581f09};}function _0x83e56b(_0x323c6e,_0xa2c942,_0x2019ad){const _0x3ba435=_0x37107d,_0x5adb5c=_0x323c6e[_0x3ba435(0x202)],_0x5192f3=_0x5adb5c['getFieldIds'](),_0x36597c=new Set();_0x323c6e[_0x3ba435(0x1fe)](_0x3f3859=>{_0x36597c['add'](_0x3f3859['dataFieldId']);});const _0x42814f=_0x5192f3[_0x3ba435(0x13c)](_0x1aa623=>{const _0xc4f442=_0x3ba435,_0x32fdc5=_0x5adb5c[_0xc4f442(0x374)](_0x1aa623);return{'checked':_0x36597c[_0xc4f442(0x35c)](_0x1aa623),'dataFieldId':_0x32fdc5['id'],'id':_0x32fdc5['id'],'name':_0x5adb5c[_0xc4f442(0x113)](_0x32fdc5['id']),'type':_0x32fdc5[_0xc4f442(0x324)](),'pivotTableId':_0xa2c942};}),_0x1222a3=[];_0x323c6e[_0x3ba435(0x19d)](_0x42fb89[_0x3ba435(0x114)][_0x3ba435(0x1c6)],_0x1351b9=>{const _0x873186=_0x3ba435;_0x1222a3[_0x873186(0x229)]({'dataFieldId':_0x1351b9[_0x873186(0x325)],'tableFieldId':_0x1351b9['getId'](),'displayName':_0x1351b9[_0x873186(0x113)]()});});const _0x5848af=[];_0x323c6e[_0x3ba435(0x19d)](_0x42fb89[_0x3ba435(0x114)]['Column'],_0x2bb666=>{const _0x247108=_0x3ba435;_0x5848af[_0x247108(0x229)]({'dataFieldId':_0x2bb666[_0x247108(0x325)],'tableFieldId':_0x2bb666[_0x247108(0x193)](),'displayName':_0x2bb666[_0x247108(0x113)]()});});const _0x70d6ad=[];if(_0x323c6e[_0x3ba435(0x19d)](_0x42fb89['PivotTableFiledAreaEnum']['Value'],_0x3b1aaa=>{const _0x3d8e6d=_0x3ba435;_0x70d6ad[_0x3d8e6d(0x229)]({'dataFieldId':_0x3b1aaa[_0x3d8e6d(0x325)],'tableFieldId':_0x3b1aaa[_0x3d8e6d(0x193)](),'displayName':_0x3b1aaa['getDisplayName'](),'format':_0x3b1aaa[_0x3d8e6d(0x11e)](),'subTotalType':_0x3b1aaa['getSubtotal']()});}),_0x70d6ad[_0x3ba435(0x298)]>0x1){const _0x847afb=_0x323c6e[_0x3ba435(0x160)]();(_0x323c6e[_0x3ba435(0x333)]()?_0x5848af:_0x1222a3)['splice'](_0x847afb,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x3ba435(0x2d1)});}const _0x433d56=[];_0x323c6e[_0x3ba435(0x19d)](_0x42fb89[_0x3ba435(0x114)]['Filter'],_0x4cc75f=>{const _0xe1bdd9=_0x3ba435;_0x433d56[_0xe1bdd9(0x229)]({'dataFieldId':_0x4cc75f[_0xe1bdd9(0x325)],'tableFieldId':_0x4cc75f['getId'](),'displayName':_0x4cc75f['getDisplayName']()});});const _0x40af26=_0x2019ad[_0x3ba435(0x2fd)];return{'sourceList':_0x42814f,'sourceRange':_0x40af26,'rowFields':_0x1222a3,'columnFields':_0x5848af,'valueFields':_0x70d6ad,'filterFields':_0x433d56,'positionInfo':_0x2019ad[_0x3ba435(0x258)]};}function _0xc3e70d(_0x5f260a,_0x2c5ae9,_0x3c6c37='',_0x420c6a={}){const _0x45a0f6=_0x37107d,_0x36d00c=_0x5f260a[_0x45a0f6(0xe4)](_0x5475a7['LocaleService']);for(const _0x43a8a0 in _0x2c5ae9)if(Object[_0x45a0f6(0x231)]['hasOwnProperty'][_0x45a0f6(0x3d8)](_0x2c5ae9,_0x43a8a0)){const _0x37935d=_0x3c6c37?_0x3c6c37+'.'+_0x43a8a0:_0x43a8a0;typeof _0x2c5ae9[_0x43a8a0]==_0x45a0f6(0x260)&&_0x2c5ae9[_0x43a8a0]!==null&&!Array[_0x45a0f6(0x2b5)](_0x2c5ae9[_0x43a8a0])?_0xc3e70d(_0x5f260a,_0x2c5ae9[_0x43a8a0],_0x37935d,_0x420c6a):_0x420c6a[_0x37935d]=_0x36d00c['t'](_0x37935d);}return _0x420c6a;}const _0x262747=_0x409d4b=>{const _0x382bb5=_0x37107d;if(!_0x409d4b)return[];const {rowRanges:_0x3a4cd3,colRanges:_0x3d4794,cornerRanges:_0x2daa64,dataRanges:_0x1a0a3b,pageRanges:_0x5830c1}=_0x409d4b,_0x4ea2af=[..._0x3d4794,..._0x3a4cd3,..._0x1a0a3b,..._0x2daa64][_0x382bb5(0x183)](_0x2df17c=>_0x2df17c['startRow']>=0x0&&_0x2df17c[_0x382bb5(0x342)]>=0x0&&_0x2df17c[_0x382bb5(0x2a0)]>=0x0&&_0x2df17c[_0x382bb5(0x381)]>=0x0);let _0x15c369=Number[_0x382bb5(0x3f3)],_0x42681b=Number['MIN_SAFE_INTEGER'],_0x5a9953=Number[_0x382bb5(0x3f3)],_0x7539b8=Number[_0x382bb5(0x1d3)];for(let _0x32e1f4=0x0;_0x32e1f4<_0x4ea2af['length'];_0x32e1f4++)_0x15c369=Math[_0x382bb5(0x101)](_0x15c369,_0x4ea2af[_0x32e1f4][_0x382bb5(0x163)]),_0x42681b=Math[_0x382bb5(0x23f)](_0x42681b,_0x4ea2af[_0x32e1f4][_0x382bb5(0x2a0)]),_0x5a9953=Math[_0x382bb5(0x101)](_0x5a9953,_0x4ea2af[_0x32e1f4][_0x382bb5(0x342)]),_0x7539b8=Math[_0x382bb5(0x23f)](_0x7539b8,_0x4ea2af[_0x32e1f4][_0x382bb5(0x381)]);return[..._0x5830c1,{'startRow':_0x15c369,'endRow':_0x42681b,'startColumn':_0x5a9953,'endColumn':_0x7539b8}];};function _0x30b0e8(_0x13f246,_0xeb826b){const _0xeed530=_0x37107d,_0x2ee010=_0xeb826b[_0xeed530(0x132)][_0xeed530(0x28c)],{pivotTableId:_0x256afe,unitId:_0x2174a1,subUnitId:_0x310c09}=_0xeb826b;if(!_0x2ee010)return;const _0x240f07=_0x13f246['get'](_0x4652af[_0xeed530(0x275)]),_0x217744=_0x240f07[_0xeed530(0x266)](_0x256afe),_0x590c98=_0x240f07[_0xeed530(0x36b)](_0x2174a1,_0x310c09,_0x256afe);if(!_0x217744||!_0x590c98)return;const _0x1c1eee=_0x217744[_0xeed530(0x1f5)](_0x2ee010[_0xeed530(0x22c)]);if(!(_0x1c1eee!=null&&_0x1c1eee[_0xeed530(0x298)]))return;const _0x23ce3d=_0x590c98[_0xeed530(0x2fd)],{unitId:_0x32e753,subUnitId:_0x411f7d,range:_0x198cea}=_0x23ce3d;let _0x16f1ed=0x0;const _0x5c34c7=_0x217744[_0xeed530(0x202)]['getFieldIds']()[_0xeed530(0x29f)]((_0x425eff,_0x11cd8f)=>{const _0x141f00=_0xeed530;var _0x597b50;const _0xc96318=(_0x597b50=_0x217744['getDataFieldByDataFieldId'](_0x11cd8f))==null?void 0x0:_0x597b50[_0x141f00(0x1e4)]();return _0xc96318&&(_0x425eff[String(_0x16f1ed)]=_0xc96318),_0x16f1ed++,_0x425eff;},{});return{'indexes':_0x1c1eee,'range':_0x198cea,'sourceUnitId':_0x32e753,'sourceSubUnitId':_0x411f7d,'formatMap':_0x5c34c7};}function _0x57370b(_0x56a4e3,_0x8269d5){const _0x1fe321=_0x37107d;if(!_0x56a4e3||!_0x8269d5)return!0x0;const _0x4d7ca3=_0x57119e[_0x1fe321(0x216)](_0x30422d,_0x380d80),_0x592310=new Function('return\x20'+_0x4d7ca3)()(_0x56a4e3,_0x8269d5)[_0x1fe321(0x358)],_0x1cd29c=_0x57119e[_0x1fe321(0x3d5)](_0x592310,'sf',_0xb17d68);return!((_0x592310==null?void 0x0:_0x592310['rt'])===_0x57119e[_0x1fe321(0x3e7)]['NO_COMMERCIAL']&&!_0x1cd29c);}function _0x16ef4f(_0x510c6d,_0x3e6c2e,_0x713323){const _0xe227d3=_0x37107d,_0x1e9ce7={'count':_0x510c6d,'timeValid':!0x1};if(!_0x3e6c2e||!_0x713323)return _0x1e9ce7;const _0x377b46=_0x57119e[_0xe227d3(0x216)](_0x30422d,_0x380d80),_0x301089=new Function('return\x20'+_0x377b46)()(_0x3e6c2e,_0x713323);if(_0x301089!=null&&_0x301089[_0xe227d3(0x3a9)]){const _0x1707fa=_0x301089[_0xe227d3(0x358)],_0x4a1854=_0x57119e[_0xe227d3(0x3d5)](_0x1707fa,'sf',_0xb17d68);return{'count':_0x57119e['getSheetFeatureLimit'](_0x1707fa,_0x4a1854,_0xe227d3(0x213),_0x510c6d,_0x510c6d,0x0),'timeValid':_0x4a1854};}return _0x1e9ce7;}function _0x59cfb8(_0x405d2f,_0x2f1de4,_0x4ebe07,_0x50342a){const _0x2c45cc=_0x37107d,_0x68ae12={'subUnitId':_0x4ebe07,'unitId':_0x2f1de4,'cellValue':_0x20619b['generateNullCell'](_0x50342a)},_0x40e541=_0x20619b[_0x2c45cc(0x2c0)](_0x405d2f,_0x68ae12);let _0x42d051=!0x1;return new _0x5475a7[(_0x2c45cc(0x303))](_0x40e541[_0x2c45cc(0x384)])['forValue']((_0x24813,_0x43f024,_0x1528c1)=>{const _0x1dba47=_0x2c45cc;if(!_0x42d051&&_0x1528c1&&(_0x1528c1[_0x1dba47(0x206)]||_0x1528c1['f']||_0x1528c1['p']||_0x1528c1['s']||_0x1528c1['si']||_0x1528c1['t']||_0x1528c1['v']))return _0x42d051=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x20619b[_0x2c45cc(0x14c)]['id'],'params':_0x40e541},'setRangeValueRedoMutation':{'id':_0x20619b['SetRangeValuesMutation']['id'],'params':_0x68ae12},'shouldClear':_0x42d051};}function _0x55509a(_0x21a146){const {row:_0x5ea135,col:_0x1d6860}=_0x21a146,_0x102dba={'startRow':_0x5ea135,'endRow':_0x5ea135,'startColumn':_0x1d6860,'endColumn':_0x1d6860},_0x1185a1={'startRow':_0x5ea135+0x2,'endRow':_0x5ea135+0xe,'startColumn':_0x1d6860,'endColumn':_0x1d6860+0x6};return[_0x102dba,_0x1185a1];}function _0x4b701d(_0x210a06,_0x57e7c1,_0x3b8c95){const _0x2cbb8d=_0x37107d,{cornerView:_0x46bbaf,rowView:_0x31cfef,colView:_0x533d42,pageView:_0x30ccd7}=_0x210a06,{row:_0x544ee8,col:_0xd6bfa4}=_0x57e7c1;if(_0x3b8c95)return{'rowCount':_0x5e5d68+_0x544ee8,'colCount':_0x2f782f+_0xd6bfa4};const _0x4e44cb=_0x30ccd7['lastRow']>-0x1?_0x30ccd7['lastRow']+0x1:0x0,_0x52b971=_0x30ccd7[_0x2cbb8d(0x332)]>-0x1?_0x30ccd7[_0x2cbb8d(0x332)]:0x0,_0x4a311a=_0x544ee8+_0x4e44cb+(_0x4e44cb?0x1:0x0)+_0x46bbaf[_0x2cbb8d(0x2ca)]+_0x31cfef[_0x2cbb8d(0x2ca)],_0x1ae965=_0xd6bfa4+_0x52b971,_0x3e7b2a=_0xd6bfa4+_0x46bbaf[_0x2cbb8d(0x3ca)]+_0x533d42[_0x2cbb8d(0x3ca)],_0x19e0be=Math[_0x2cbb8d(0x23f)](_0x1ae965,_0x3e7b2a);return{'rowCount':_0x4a311a,'colCount':_0x19e0be};}function _0x4ba4b0(_0x323198,_0x5783ae,_0x28fb59,_0x47a8de){const _0x3e79d6=_0x37107d,{row:_0x19b503,col:_0x1c16a7,unitId:_0x4edcde,subUnitId:_0xd3ce38}=_0x28fb59,_0x3056f6=_0x4b701d(_0x5783ae,{'row':_0x19b503,'col':_0x1c16a7},_0x47a8de),_0x530ef2=_0x323198[_0x3e79d6(0xe4)](_0x5475a7[_0x3e79d6(0x14d)]),_0x3feb84=_0x20619b[_0x3e79d6(0x3fe)](_0x530ef2,{'unitId':_0x4edcde,'subUnitId':_0xd3ce38}),_0xe3f686=[],_0x23d19d=[];if(!_0x3feb84)return{'undos':_0x23d19d,'redos':_0xe3f686};const {worksheet:_0x2d5f68}=_0x3feb84,_0x42a30c=_0x2d5f68['getRowCount'](),_0x2ccbed=_0x2d5f68[_0x3e79d6(0x215)]();return _0x42a30c<_0x3056f6[_0x3e79d6(0x2ca)]&&(_0xe3f686[_0x3e79d6(0x229)]({'id':_0x20619b[_0x3e79d6(0x16e)]['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':_0x42a30c,'endRow':_0x3056f6[_0x3e79d6(0x2ca)]-0x1,'startColumn':0x0,'endColumn':_0x2ccbed-0x1}}}),_0x23d19d['push']({'id':_0x20619b[_0x3e79d6(0x283)]['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':_0x42a30c,'endRow':_0x3056f6[_0x3e79d6(0x2ca)]-0x1,'startColumn':0x0,'endColumn':_0x2ccbed-0x1}}})),_0x2ccbed<_0x3056f6[_0x3e79d6(0x3ca)]&&(_0xe3f686[_0x3e79d6(0x229)]({'id':_0x20619b['InsertColMutation']['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':0x0,'endRow':_0x42a30c-0x1,'startColumn':_0x2ccbed,'endColumn':_0x3056f6[_0x3e79d6(0x3ca)]-0x1}}}),_0x23d19d[_0x3e79d6(0x229)]({'id':_0x20619b['RemoveColMutation']['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':0x0,'endRow':_0x42a30c-0x1,'startColumn':_0x2ccbed,'endColumn':_0x3056f6[_0x3e79d6(0x3ca)]-0x1}}})),{'undos':_0x23d19d,'redos':_0xe3f686};}function _0x532024(_0x542ec8){let _0x4e6085=0x0;for(let _0x530616=0x0;_0x530616<_0x542ec8['length'];_0x530616++){const _0x4c500f=_0x542ec8['charCodeAt'](_0x530616);_0x4c500f>=0x4e00&&_0x4c500f<=0x9fff||_0x4c500f>=0x3000&&_0x4c500f<=0x303f||_0x4c500f>=0xff00&&_0x4c500f<=0xffef?_0x4e6085+=0x2:_0x4e6085+=0x1;}return _0x4e6085;}function _0x8fe89b(_0x361e05,_0x267cae,_0x378a58,_0x57e80c){const _0x43b002=_0x37107d;var _0x44d71d,_0x4b3142,_0x3baab9,_0x1f6467;const {rowCount:_0x3ed2d6,colCount:_0x571184,headerMap:_0x3737b9}=_0x361e05,_0x40d69b=0x64,_0x53f5f1=Math['min'](_0x3ed2d6,_0x40d69b),_0x5967bb=Math[_0x43b002(0x101)](_0x571184,_0x40d69b);let _0x4b2195='',_0xb5ab33=0x0;for(let _0x1ff025=0x0;_0x1ff025<_0x53f5f1;_0x1ff025++)for(let _0x3772f6=0x0;_0x3772f6<_0x5967bb;_0x3772f6++){const _0x376783={...(_0x4b3142=(_0x44d71d=_0x361e05[_0x43b002(0x402)])==null?void 0x0:_0x44d71d[_0x1ff025])==null?void 0x0:_0x4b3142[_0x3772f6]},_0x5596f5=(_0x3baab9=_0x3737b9[_0x1ff025])==null?void 0x0:_0x3baab9['tableFieldId'],_0x4ae3f5=_0x57e80c[_0x5596f5];let _0x448547=_0x361e05[_0x43b002(0x32b)](_0x1ff025,_0x3772f6);if(_0x376783){const _0x1d289c=_0x378a58?_0x3772f6===0x0&&((_0x1f6467=_0x361e05[_0x43b002(0x35d)](_0x3772f6+0x1))==null?void 0x0:_0x1f6467['isValue']):!0x1;_0x448547=_0x31fcf3(_0x376783,_0x1d289c,_0x4ae3f5,_0x267cae);}if(_0x448547!==void 0x0){const _0x1d11d3=_0x532024(String(_0x448547));_0xb5ab33<_0x1d11d3&&(_0x4b2195=String(_0x448547),_0xb5ab33=_0x1d11d3);}}return _0x4b2195;}function _0x211e08(_0xa65f86){const _0xa69bbf=_0x37107d,{rowCount:_0x17e4aa,colCount:_0x1e22c3}=_0xa65f86;let _0x5b1dfe='',_0x5cfe64=0x0;for(let _0x3843f6=_0x17e4aa-0x1;_0x3843f6>0x0&&_0x3843f6>_0x17e4aa-0x3;_0x3843f6--)for(let _0x454b0b=0x0;_0x454b0b<_0x1e22c3;_0x454b0b++){const _0x4603e4=_0xa65f86[_0xa69bbf(0x32b)](_0x3843f6,_0x454b0b);if(_0x4603e4!==void 0x0){const _0x1aefb6=String(_0x4603e4)['length'];_0x5cfe64<_0x1aefb6&&(_0x5b1dfe=String(_0x4603e4),_0x5cfe64=_0x1aefb6);}}return _0x5b1dfe;}function _0x20c960(_0x233963){const _0x447cb9=_0x37107d,{rowCount:_0x228839,colCount:_0x3f1480}=_0x233963;let _0x312793='',_0x4cb672=0x0;for(let _0x3dfa80=0x0;_0x3dfa80<_0x228839;_0x3dfa80++)for(let _0x44ccfc=0x0;_0x44ccfc<_0x3f1480;_0x44ccfc++){const _0xe821c=_0x233963[_0x447cb9(0x32b)](_0x3dfa80,_0x44ccfc);if(_0xe821c!==void 0x0){const _0x441f5d=String(_0xe821c)['length'];_0x4cb672<_0x441f5d&&(_0x312793=String(_0xe821c),_0x4cb672=_0x441f5d);}}return _0x312793;}function _0xa8b6d0(_0xeb0074,_0x1dd7a6){const _0x3b9da8=_0x37107d,{rowFields:_0x1ab642,columnFields:_0x32b28e,valueFields:_0x7411a8,filterFields:_0x26706b,dimension:_0x173e93,measure:_0x482e61}=_0x1dd7a6;for(const _0x54a8ad of _0x1ab642){const _0x5a0d3b=_0x173e93[_0x54a8ad];_0x5a0d3b&&_0xeb0074[_0x3b9da8(0x406)](_0x5a0d3b[_0x3b9da8(0x325)])&&(_0xeb0074[_0x3b9da8(0x116)](_0x5a0d3b[_0x3b9da8(0x325)],_0x42fb89[_0x3b9da8(0x114)][_0x3b9da8(0x1c6)],void 0x0,_0x54a8ad),_0x5a0d3b['displayName']&&_0xeb0074[_0x3b9da8(0x1b4)](_0x5a0d3b['id'],_0x5a0d3b[_0x3b9da8(0x18e)]),_0x5a0d3b[_0x3b9da8(0x164)]&&_0xeb0074['setSortInfo'](_0x5a0d3b['id'],_0x5a0d3b[_0x3b9da8(0x164)]),_0x5a0d3b[_0x3b9da8(0xf1)]&&_0xeb0074['setLabelFilterInfo'](_0x5a0d3b['id'],_0x5a0d3b[_0x3b9da8(0xf1)]));}for(const _0x38fa43 of _0x32b28e){const _0x2482a6=_0x173e93[_0x38fa43];_0x2482a6&&_0xeb0074[_0x3b9da8(0x406)](_0x2482a6['dataFieldId'])&&(_0xeb0074[_0x3b9da8(0x116)](_0x2482a6['dataFieldId'],_0x42fb89['PivotTableFiledAreaEnum'][_0x3b9da8(0x1bc)],void 0x0,_0x38fa43),_0x2482a6[_0x3b9da8(0x164)]&&_0xeb0074[_0x3b9da8(0x35a)](_0x2482a6['id'],_0x2482a6[_0x3b9da8(0x164)]),_0x2482a6['filterInfo']&&_0xeb0074[_0x3b9da8(0x176)](_0x2482a6['id'],_0x2482a6[_0x3b9da8(0xf1)]),_0x2482a6[_0x3b9da8(0x18e)]&&_0xeb0074[_0x3b9da8(0x1b4)](_0x2482a6['id'],_0x2482a6[_0x3b9da8(0x18e)]));}for(const _0x21913c of _0x26706b){const _0x28ccc8=_0x173e93[_0x21913c];_0x28ccc8&&_0xeb0074[_0x3b9da8(0x406)](_0x28ccc8[_0x3b9da8(0x325)])&&(_0xeb0074['addFieldWithSourceId'](_0x28ccc8[_0x3b9da8(0x325)],_0x42fb89[_0x3b9da8(0x114)][_0x3b9da8(0x2ff)],void 0x0,_0x21913c),_0x28ccc8['sortInfo']&&_0xeb0074['setSortInfo'](_0x28ccc8['id'],_0x28ccc8[_0x3b9da8(0x164)]),_0x28ccc8['filterInfo']&&_0xeb0074['setLabelFilterInfo'](_0x28ccc8['id'],_0x28ccc8[_0x3b9da8(0xf1)]),_0x28ccc8[_0x3b9da8(0x18e)]&&_0xeb0074[_0x3b9da8(0x1b4)](_0x28ccc8['id'],_0x28ccc8['displayName']));}for(const _0x2ebdbf of _0x7411a8){const _0x5828dc=_0x482e61[_0x2ebdbf];_0x5828dc&&_0xeb0074['getDataFieldByDataFieldId'](_0x5828dc[_0x3b9da8(0x325)])&&(_0xeb0074[_0x3b9da8(0x116)](_0x5828dc[_0x3b9da8(0x325)],_0x42fb89['PivotTableFiledAreaEnum'][_0x3b9da8(0x135)],void 0x0,_0x2ebdbf),_0x5828dc[_0x3b9da8(0x187)]!==void 0x0&&_0xeb0074[_0x3b9da8(0x343)](_0x2ebdbf,_0x5828dc[_0x3b9da8(0x187)]),_0x5828dc[_0x3b9da8(0x1b7)]&&_0xeb0074[_0x3b9da8(0x274)](_0x2ebdbf,_0x5828dc['format']),_0x5828dc[_0x3b9da8(0x18e)]&&_0xeb0074[_0x3b9da8(0x1b4)](_0x5828dc['id'],_0x5828dc[_0x3b9da8(0x18e)]));}const _0x2f1d07=_0x1dd7a6[_0x3b9da8(0x31d)];for(const {fieldId:_0x21c458,filterInfo:_0xb7f49e}of _0x2f1d07)_0xeb0074[_0x3b9da8(0x16f)](_0x21c458,_0xb7f49e);}function _0x297228(_0x2cda75,_0x47d05c){const _0x57d14f=_0x37107d,_0x52c66e=[];_0x47d05c===_0x42fb89['PivotTableFiledAreaEnum']['Row']&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89['PivotTableFiledAreaEnum'][_0x57d14f(0x1c6)],_0x469cbb=>{const _0x1c179a=_0x57d14f;_0x52c66e[_0x1c179a(0x229)](_0x469cbb[_0x1c179a(0x193)]());}),_0x47d05c===_0x42fb89[_0x57d14f(0x114)][_0x57d14f(0x1bc)]&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89['PivotTableFiledAreaEnum'][_0x57d14f(0x1bc)],_0x36eaeb=>{const _0x37324e=_0x57d14f;_0x52c66e[_0x37324e(0x229)](_0x36eaeb[_0x37324e(0x193)]());}),_0x47d05c===_0x42fb89[_0x57d14f(0x114)][_0x57d14f(0x2ff)]&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89[_0x57d14f(0x114)]['Filter'],_0x28baa1=>{const _0x32a6cc=_0x57d14f;_0x52c66e[_0x32a6cc(0x229)](_0x28baa1[_0x32a6cc(0x193)]());}),_0x47d05c===_0x42fb89[_0x57d14f(0x114)]['Value']&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89[_0x57d14f(0x114)][_0x57d14f(0x135)],_0x1244e8=>{const _0x6b4f8a=_0x57d14f;_0x52c66e['push'](_0x1244e8[_0x6b4f8a(0x193)]());}),_0x47d05c===void 0x0&&_0x2cda75[_0x57d14f(0x1fe)](_0x1ca7fa=>{const _0x4fc9fa=_0x57d14f;_0x52c66e[_0x4fc9fa(0x229)](_0x1ca7fa[_0x4fc9fa(0x193)]());});const _0x2e99ec=_0x52c66e[_0x57d14f(0x298)];for(let _0x2dd28e=_0x2e99ec-0x1;_0x2dd28e>=0x0;_0x2dd28e--)_0x2cda75[_0x57d14f(0x1a6)](_0x52c66e[_0x2dd28e]);const _0x5798b5=_0x2cda75[_0x57d14f(0x36c)]();for(const _0x11afc8 in _0x5798b5)_0x2cda75[_0x57d14f(0x20f)](_0x11afc8);}function _0x2b9123(_0x26cbac,_0x2d5e99){const _0x31a192=_0x37107d,_0x5728a1=new Date(_0x42fb89['excelDateToUnixMilliseconds'](_0x2d5e99)),_0x43b5f6=new Date(_0x42fb89[_0x31a192(0x128)](_0x26cbac)),_0x5697a9=_0x5728a1[_0x31a192(0x27c)](),_0x4b0884=_0x43b5f6[_0x31a192(0x27c)](),_0x16633b=_0x5728a1['getMonth'](),_0x4cc578=_0x43b5f6[_0x31a192(0x239)](),_0x5d29ea=_0x5728a1[_0x31a192(0x39e)](),_0x2934c3=_0x43b5f6['getDate'](),_0x495589=_0x5697a9===_0x4b0884,_0x480efc=_0x495589&&_0x16633b===_0x4cc578;return _0x495589&&_0x480efc&&!(_0x480efc&&_0x5d29ea===_0x2934c3)?_0x42fb89[_0x31a192(0x159)][_0x31a192(0x394)]:_0x495589&&!_0x480efc?_0x42fb89[_0x31a192(0x159)]['YearMonth']:_0x42fb89[_0x31a192(0x159)][_0x31a192(0x1a8)];}function _0x4a6f90(_0x494d45,_0x38ad99){const _0x20e7bb=_0x37107d,_0x4e78bd=_0x494d45['get'](_0x4652af[_0x20e7bb(0x275)])[_0x20e7bb(0x297)]();let _0x22c7e2='';switch(_0x38ad99){case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x394)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x1b9)];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x13a)]:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.yearMonth'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x1a8)]:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.year'];break;case _0x42fb89[_0x20e7bb(0x159)]['Month']:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.month'];break;case _0x42fb89[_0x20e7bb(0x159)]['Quarter']:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.quarter'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x244)]:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.date'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x30e)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x13b)];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x1fa)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x407)];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x2f6)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x3b8)];break;case _0x42fb89[_0x20e7bb(0x159)]['MonthDate']:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.monthDate'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x10c)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x1f7)];break;default:_0x22c7e2='';break;}return _0x22c7e2;}const _0x171bdb='sheets-pivot.config',_0x54c206={};var _0x5bba33=Object[_0x37107d(0x141)],_0x57755f=(_0x18acf4,_0x3f38e7,_0x50d5fb,_0x3494b4)=>{const _0x5e6585=_0x37107d;for(var _0x50993c=_0x3494b4>0x1?void 0x0:_0x3494b4?_0x5bba33(_0x3f38e7,_0x50d5fb):_0x3f38e7,_0x25e4b8=_0x18acf4[_0x5e6585(0x298)]-0x1,_0x2a15be;_0x25e4b8>=0x0;_0x25e4b8--)(_0x2a15be=_0x18acf4[_0x25e4b8])&&(_0x50993c=_0x2a15be(_0x50993c)||_0x50993c);return _0x50993c;},_0x3a0d4c=(_0xee0278,_0xca1010)=>(_0x50ec79,_0x1b5c7f)=>_0xca1010(_0x50ec79,_0x1b5c7f,_0xee0278);_0x4652af[_0x37107d(0x28f)]=class extends _0x5475a7['Disposable']{constructor(_0x2e6ad1,_0x415d7b,_0x45b49e,_0xab838a,_0x3dbf79){const _0x186bb9=_0x37107d;super(),_0x33deac(this,_0x186bb9(0x27a),new Map()),_0x33deac(this,_0x186bb9(0x368),new Map()),_0x33deac(this,_0x186bb9(0x16b),new Map()),_0x33deac(this,_0x186bb9(0x288),new Map()),_0x33deac(this,_0x186bb9(0x2c9),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x186bb9(0x2f3),new _0xfe6fd0[(_0x186bb9(0x1c8))]()),_0x33deac(this,'pivotInitCompleted$',this[_0x186bb9(0x2f3)][_0x186bb9(0x170)]()),_0x33deac(this,_0x186bb9(0x2d7),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x186bb9(0x1e6),this['_pivotConfigChange$'][_0x186bb9(0x170)]()),_0x33deac(this,'_textInfo',{}),_0x33deac(this,'configVersion$',this[_0x186bb9(0x2c9)][_0x186bb9(0x170)]()),(this['_injector']=_0x2e6ad1,this[_0x186bb9(0x2e0)]=_0x415d7b,this[_0x186bb9(0x2d4)]=_0x45b49e,this[_0x186bb9(0x3b0)]=_0xab838a,this[_0x186bb9(0x34d)]=_0x3dbf79,this['_initLocale'](),this['_initUnitDisposed']());const _0x33dac1=this[_0x186bb9(0x34d)]['getConfig'](_0x171bdb);(_0x33dac1==null?void 0x0:_0x33dac1[_0x186bb9(0x2db)])===!0x0&&this[_0x186bb9(0x1b6)]();}[_0x37107d(0x329)](){const _0x8130ab=_0x37107d;this['disposeWithMe'](this[_0x8130ab(0x2d4)]['getTypeOfUnitDisposed$'](_0x5475a7[_0x8130ab(0x179)][_0x8130ab(0x1c4)])[_0x8130ab(0x3a1)](_0x1c981e=>{const _0x216952=_0x8130ab;this[_0x216952(0x13f)](_0x1c981e['getUnitId']());}));}[_0x37107d(0x3ff)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x37107d(0x3b7)](){const _0x5947ef=_0x37107d,_0x220023=_0xc3e70d(this[_0x5947ef(0x21c)],_0x556f26,'',{});this[_0x5947ef(0x302)]=_0x220023,this[_0x5947ef(0x2e0)][_0x5947ef(0x11a)](_0x560a95['id'],{'textInfo':_0x220023},{'onlyLocal':!0x0});}[_0x37107d(0x297)](){const _0x3de951=_0x37107d;return this[_0x3de951(0x302)];}['updateViewInfo'](_0x1f7b8a,_0x31b5dc,_0x4cb074,_0x3c1fca,_0x23e654){this['updatePivotTableMatrixInfo'](_0x1f7b8a,_0x31b5dc,_0x4cb074,_0x3c1fca),this['updatePivotTableRangeInfo'](_0x1f7b8a,_0x31b5dc,_0x4cb074,_0x23e654);}[_0x37107d(0x36b)](_0x388c4d,_0xeeb589,_0x370ca4){const _0x77ca84=_0x37107d;var _0x1a2c8c;const _0xd5ac88=(_0x1a2c8c=this['_model'][_0x77ca84(0xe4)](_0x388c4d))==null?void 0x0:_0x1a2c8c[_0x77ca84(0xe4)](_0xeeb589);if(_0xd5ac88)return _0xd5ac88[_0x77ca84(0xe4)](_0x370ca4);}['getTargetByPivotTableId'](_0x3807c8,_0xfd0601){const _0xe29848=_0x37107d,_0x367b97=this[_0xe29848(0x27a)][_0xe29848(0xe4)](_0x3807c8);if(_0x367b97){for(const [_0x3d56d6,_0x5381d7]of _0x367b97[_0xe29848(0x336)]())for(const [_0x38e83a,_0x475f30]of _0x5381d7[_0xe29848(0x336)]())if(_0x38e83a===_0xfd0601)return _0x475f30['targetCellInfo'];}}['getTargetByPivotId'](_0x2c9c75,_0x371fa6,_0x477da5){const _0x1752a0=_0x37107d,_0x4491f6=this[_0x1752a0(0x36b)](_0x2c9c75,_0x371fa6,_0x477da5);return _0x4491f6==null?void 0x0:_0x4491f6['targetCellInfo'];}[_0x37107d(0x3b4)](_0x7f8eb0,_0x3fd8ed){const _0x58d98e=_0x37107d;var _0x1dc874;return(_0x1dc874=this[_0x58d98e(0x27a)]['get'](_0x7f8eb0))==null?void 0x0:_0x1dc874[_0x58d98e(0xe4)](_0x3fd8ed);}[_0x37107d(0x156)](_0x9e13cc,_0x30278d,_0x1ad889,_0x56a88b){const _0x5a48c3=_0x37107d,_0x3d3c7d=this[_0x5a48c3(0x18c)](_0x9e13cc,_0x30278d);_0x56a88b?_0x3d3c7d[_0x5a48c3(0x169)](_0x1ad889,_0x56a88b):_0x3d3c7d[_0x5a48c3(0x27b)](_0x1ad889),this[_0x5a48c3(0x2d7)]['next']({'unitId':_0x9e13cc,'subUnitId':_0x30278d,'pivotTableId':_0x1ad889,'pivotTableConfig':_0x56a88b});}[_0x37107d(0x3ad)](_0x19229f,_0x30779b){const _0x200f84=_0x37107d;var _0x155ec8;return(_0x155ec8=this[_0x200f84(0x368)][_0x200f84(0xe4)](_0x19229f))==null?void 0x0:_0x155ec8[_0x200f84(0x3b9)][_0x30779b];}['updateCollectionConfig'](_0x5dd128,_0x3de57a){const _0x2d48e3=_0x37107d;this[_0x2d48e3(0x368)][_0x2d48e3(0x169)](_0x5dd128,_0x3de57a),this[_0x2d48e3(0x2c9)][_0x2d48e3(0x38b)](Math['random']());}[_0x37107d(0x18c)](_0x5af4d0,_0x394e02){const _0x53ef3a=_0x37107d;let _0x5a75d1=this[_0x53ef3a(0x27a)]['get'](_0x5af4d0);_0x5a75d1||(_0x5a75d1=new Map(),this[_0x53ef3a(0x27a)][_0x53ef3a(0x169)](_0x5af4d0,_0x5a75d1));let _0x56708a=_0x5a75d1[_0x53ef3a(0xe4)](_0x394e02);return _0x56708a||(_0x56708a=new Map(),_0x5a75d1['set'](_0x394e02,_0x56708a)),_0x56708a;}[_0x37107d(0x106)](_0x363ceb,_0x249493){const _0x3a9bb2=_0x37107d;let _0x1ed2ba=this[_0x3a9bb2(0x16b)][_0x3a9bb2(0xe4)](_0x363ceb);_0x1ed2ba||(_0x1ed2ba=new Map(),this[_0x3a9bb2(0x16b)][_0x3a9bb2(0x169)](_0x363ceb,_0x1ed2ba));let _0x1f9ca8=_0x1ed2ba[_0x3a9bb2(0xe4)](_0x249493);return _0x1f9ca8||(_0x1f9ca8=new Map(),_0x1ed2ba[_0x3a9bb2(0x169)](_0x249493,_0x1f9ca8)),_0x1f9ca8;}[_0x37107d(0x2b8)](_0x58b40d,_0x4b5c4d){const _0x230330=_0x37107d;let _0x394b66=this[_0x230330(0x288)][_0x230330(0xe4)](_0x58b40d);_0x394b66||(_0x394b66=new Map(),this[_0x230330(0x288)][_0x230330(0x169)](_0x58b40d,_0x394b66));let _0x3b0c83=_0x394b66['get'](_0x4b5c4d);return _0x3b0c83||(_0x3b0c83=new Map(),_0x394b66[_0x230330(0x169)](_0x4b5c4d,_0x3b0c83)),_0x3b0c83;}[_0x37107d(0x2fe)](_0x2059cf,_0x4fad90,_0x1d871b,_0xb80c47){const _0x2cf4d0=_0x37107d;var _0x3d7db7;const _0x2d479f=this[_0x2cf4d0(0x106)](_0x2059cf,_0x4fad90),_0x8647f2=(_0x3d7db7=_0x2d479f[_0x2cf4d0(0xe4)](_0x1d871b))==null?void 0x0:_0x3d7db7['oldRangeInfo'];_0x2d479f[_0x2cf4d0(0x169)](_0x1d871b,{'oldRangeInfo':_0x8647f2,'rangeInfo':_0xb80c47});}[_0x37107d(0x389)](_0x53711a,_0x10925d,_0x38269c,_0x287afb){const _0x56505f=_0x37107d;var _0x5e6fea;const _0x22d118=this[_0x56505f(0x2b8)](_0x53711a,_0x10925d),_0x4998fe=(_0x5e6fea=_0x22d118['get'](_0x38269c))==null?void 0x0:_0x5e6fea[_0x56505f(0x291)];_0x22d118[_0x56505f(0x169)](_0x38269c,{'oldMatrix':_0x4998fe,'matrix':_0x287afb});}[_0x37107d(0x20e)](_0x1c60be,_0x31b725,_0xa1354b){const _0x1f49a1=_0x37107d;var _0x29687f,_0x12db7d;return(_0x12db7d=(_0x29687f=this[_0x1f49a1(0x16b)][_0x1f49a1(0xe4)](_0x1c60be))==null?void 0x0:_0x29687f['get'](_0x31b725))==null?void 0x0:_0x12db7d[_0x1f49a1(0xe4)](_0xa1354b);}['getPivotTableMatrixInfo'](_0xcc7194,_0x53fbb4,_0x347fab){const _0xce3e38=_0x37107d;var _0x3c6198,_0x412941;return(_0x412941=(_0x3c6198=this[_0xce3e38(0x288)][_0xce3e38(0xe4)](_0xcc7194))==null?void 0x0:_0x3c6198['get'](_0x53fbb4))==null?void 0x0:_0x412941['get'](_0x347fab);}[_0x37107d(0x13f)](_0x2d1f17){const _0x4d4da2=_0x37107d;this[_0x4d4da2(0x27a)]['delete'](_0x2d1f17),this['_collectionConfigModel'][_0x4d4da2(0x27b)](_0x2d1f17);}[_0x37107d(0x172)](_0x2aba22){const _0x440c2c=_0x37107d,_0x118677={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x440c2c(0x368)][_0x440c2c(0xe4)](_0x2aba22)&&(_0x118677[_0x440c2c(0x158)][_0x2aba22]=this[_0x440c2c(0x368)][_0x440c2c(0xe4)](_0x2aba22)),this[_0x440c2c(0x27a)]['get'](_0x2aba22)){_0x118677[_0x440c2c(0x3b5)][_0x2aba22]={};const _0x4654cd=this[_0x440c2c(0x27a)][_0x440c2c(0xe4)](_0x2aba22);_0x4654cd!=null&&_0x4654cd['size']&&[..._0x4654cd[_0x440c2c(0x33b)]()][_0x440c2c(0x15d)](_0x40351f=>{const _0x5e2b05=_0x440c2c,_0x577b57=_0x4654cd[_0x5e2b05(0xe4)](_0x40351f);_0x577b57!=null&&_0x577b57[_0x5e2b05(0x290)]&&(_0x118677[_0x5e2b05(0x3b5)][_0x2aba22][_0x40351f]={},[..._0x577b57[_0x5e2b05(0x33b)]()][_0x5e2b05(0x15d)](_0x37a7ca=>{const _0x245921=_0x5e2b05,_0x3120fe=_0x577b57[_0x245921(0xe4)](_0x37a7ca);_0x3120fe&&(_0x118677[_0x245921(0x3b5)][_0x2aba22][_0x40351f][_0x37a7ca]=_0x3120fe);}));});}return _0x118677;}[_0x37107d(0x1b6)](){const _0x4e55c2=_0x37107d;this[_0x4e55c2(0xe0)](this[_0x4e55c2(0x3b0)][_0x4e55c2(0x39c)]({'toJson':_0xa07229=>JSON['stringify'](this[_0x4e55c2(0x172)](_0xa07229)),'parseJson':_0x1d8912=>({}),'businesses':[_0x5475a7[_0x4e55c2(0x179)]['UNIVER_SHEET']],'pluginName':_0x55f144,'onLoad':(_0x39c792,_0x265da7)=>{},'onUnLoad':_0x130af5=>{const _0x5df878=_0x4e55c2;this[_0x5df878(0x13f)](_0x130af5);}}));}},_0x4652af[_0x37107d(0x28f)]=_0x57755f([_0x3a0d4c(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['Injector'])),_0x3a0d4c(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['ICommandService'])),_0x3a0d4c(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x14d)])),_0x3a0d4c(0x3,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x177)])),_0x3a0d4c(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x3fb)]))],_0x4652af[_0x37107d(0x28f)]);var _0x535b8c=Object[_0x37107d(0x141)],_0x468541=(_0x2bd628,_0x4acb0b,_0x16148f,_0x2e3b87)=>{const _0x2c9c4e=_0x37107d;for(var _0xf0b5e=_0x2e3b87>0x1?void 0x0:_0x2e3b87?_0x535b8c(_0x4acb0b,_0x16148f):_0x4acb0b,_0x45e5c2=_0x2bd628[_0x2c9c4e(0x298)]-0x1,_0x547522;_0x45e5c2>=0x0;_0x45e5c2--)(_0x547522=_0x2bd628[_0x45e5c2])&&(_0xf0b5e=_0x547522(_0xf0b5e)||_0xf0b5e);return _0xf0b5e;},_0x202a33=(_0x21e929,_0x372107)=>(_0x248fd3,_0x33ed80)=>_0x372107(_0x248fd3,_0x33ed80,_0x21e929);_0x4652af[_0x37107d(0x1d0)]=class extends _0x5475a7['Disposable']{constructor(_0x41a8da,_0x36c429,_0x1c65fd,_0x4f201b,_0x32035e){const _0x5847e5=_0x37107d;super(),_0x33deac(this,_0x5847e5(0x376),new Map()),_0x33deac(this,_0x5847e5(0x3ee),new Map()),_0x33deac(this,_0x5847e5(0xff),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x5847e5(0x1fb),this['_markDirty$'][_0x5847e5(0x170)]()),_0x33deac(this,_0x5847e5(0x304),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x5847e5(0x2e6),this[_0x5847e5(0x304)][_0x5847e5(0x170)]()),_0x33deac(this,'_textInfo'),(this['_localeService']=_0x41a8da,this[_0x5847e5(0x21c)]=_0x36c429,this[_0x5847e5(0x337)]=_0x1c65fd,this[_0x5847e5(0x2d4)]=_0x4f201b,this[_0x5847e5(0x29a)]=_0x32035e,this[_0x5847e5(0x3b7)](),this[_0x5847e5(0x329)]());}[_0x37107d(0x329)](){const _0x439277=_0x37107d;this[_0x439277(0xe0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5475a7[_0x439277(0x179)]['UNIVER_SHEET'])[_0x439277(0x3a1)](_0x48b6cf=>{const _0x3b8e1f=_0x439277;this[_0x3b8e1f(0x13f)](_0x48b6cf[_0x3b8e1f(0x3da)]());}));}[_0x37107d(0x3b7)](){this['_textInfo']=_0xc3e70d(this['_injector'],_0x556f26,'',{});}[_0x37107d(0x180)](_0x177c6f){const _0x51a15f=_0x37107d,{view:_0x46a08,unitId:_0x2b4a8b,subUnitId:_0x2ad90b,pivotTableId:_0x5d280f,type:_0x25bb7c}=_0x177c6f,_0x256036=this[_0x51a15f(0x337)][_0x51a15f(0x36b)](_0x2b4a8b,_0x2ad90b,_0x5d280f);if(!_0x46a08||!_0x256036||_0x25bb7c===_0x5865c2[_0x51a15f(0x108)])return;const {pageView:_0x5aa6c8,cornerView:_0x23ffb7,rowView:_0x14436e,colView:_0x12b1ae,dataView:_0x504927}=_0x46a08,_0x2a5e93=_0x256036[_0x51a15f(0x258)],_0x5bdc5d=_0x256036[_0x51a15f(0x2eb)],_0x5a9e09=this[_0x51a15f(0x383)](_0x2b4a8b,_0x2ad90b),_0x393a5a=this[_0x51a15f(0x364)](_0x2b4a8b,_0x2ad90b,_0x5d280f);if(_0x5bdc5d)return this[_0x51a15f(0x175)](_0x177c6f,_0x5a9e09,_0x2a5e93,_0x393a5a);{const _0x1d7249=_0x5c1d7f(_0x2a5e93,_0x5aa6c8,!0x0),_0x4e30fc=_0x5aa6c8[_0x51a15f(0x1ed)]>=0x0?_0x5aa6c8['lastRow']+0x1:0x0,_0x1fa0a2=_0x23ffb7[_0x51a15f(0x37e)](),_0x1daddf=_0x23ffb7[_0x51a15f(0x32e)](),_0x3275d0=_0x1d7249[_0x51a15f(0x298)]>0x0?_0x42e754:0x0,_0xf6cf45=_0x5c1d7f({'row':_0x2a5e93[_0x51a15f(0x107)]+_0x4e30fc+_0x3275d0,'col':_0x2a5e93[_0x51a15f(0x182)]},_0x23ffb7,!0x1,!0x1),_0xbb5f8f=_0x5c1d7f({'row':_0x2a5e93['row']+_0x4e30fc+_0x3275d0+_0x1fa0a2,'col':_0x2a5e93[_0x51a15f(0x182)]},_0x14436e,!0x1,!0x0),_0xa1d57b=_0x5c1d7f({'row':_0x2a5e93[_0x51a15f(0x107)]+_0x4e30fc+_0x3275d0,'col':_0x2a5e93[_0x51a15f(0x182)]+_0x1daddf},_0x12b1ae,!0x1,!0x0),_0x36184=_0x5c1d7f({'row':_0x2a5e93['row']+_0x4e30fc+_0x3275d0+_0x1fa0a2,'col':_0x2a5e93[_0x51a15f(0x182)]+_0x1daddf},_0x504927,!0x1,!0x1);_0x393a5a[_0x51a15f(0x3fd)]={'rowRanges':_0xbb5f8f,'colRanges':_0xa1d57b,'cornerRanges':_0xf6cf45,'dataRanges':_0x36184,'pageRanges':_0x1d7249};const _0x367451=_0x5b183b(this[_0x51a15f(0x21c)],_0x46a08,_0x256036,this[_0x51a15f(0x302)]),{valueMatrix:_0xd5ef7f,rowInfo:_0x55c27f,colInfo:_0x281696,cornerInfo:_0x59965d,rowHeaderMap:_0x9d8045,colHeaderMap:_0x2a1e3c}=_0x367451;return _0x393a5a[_0x51a15f(0x3cc)]={'rowInfo':_0x55c27f,'colInfo':_0x281696,'cornerInfo':_0x59965d},_0x393a5a[_0x51a15f(0x2d9)]={'rowHeaderMap':_0x9d8045,'colHeaderMap':_0x2a1e3c},_0xd5ef7f[_0x51a15f(0x15d)]((_0x3119be,_0x2c6adb)=>{const _0x4ecdd9=_0x51a15f;Object[_0x4ecdd9(0x33b)](_0x2c6adb)['forEach'](_0x143ec0=>{const _0x2b5049=_0x4ecdd9,_0x4bf763=+_0x143ec0,_0x63196d=_0xd5ef7f[_0x2b5049(0x32b)](_0x3119be,_0x4bf763);_0x5a9e09['setValue'](_0x3119be,_0x4bf763,_0x63196d);});}),this[_0x51a15f(0x304)][_0x51a15f(0x38b)]({'unitId':_0x2b4a8b,'subUnitId':_0x2ad90b,'valueMatrix':_0x5a9e09,'rangesCache':_0x393a5a[_0x51a15f(0x3fd)],'pivotTableId':_0x5d280f,'type':_0x177c6f[_0x51a15f(0x249)]}),this[_0x51a15f(0x337)][_0x51a15f(0x17c)](_0x2b4a8b,_0x2ad90b,_0x5d280f,_0x5a9e09,_0x393a5a[_0x51a15f(0x3fd)]),this[_0x51a15f(0x29a)]['addExclusiveRange'](_0x2b4a8b,_0x2ad90b,_0x2bc9f8,this[_0x51a15f(0x1e8)](_0x393a5a[_0x51a15f(0x3fd)],_0x5d280f)),{'rangeCache':_0x393a5a[_0x51a15f(0x3fd)],'matrix':_0x5a9e09};}}[_0x37107d(0x175)](_0x1ac1f3,_0x180636,_0x11c215,_0x4cbc1b){const _0x14388e=_0x37107d,_0xfc25cb=this[_0x14388e(0xf8)]['t'],{unitId:_0x1ff53e,subUnitId:_0x293183,pivotTableId:_0x5a2037}=_0x1ac1f3,_0x3396e9={'filter':_0xfc25cb('sheets-pivot.emptyPivot.filter'),'row':_0xfc25cb(_0x14388e(0x3d3)),'column':_0xfc25cb(_0x14388e(0x23e)),'values':_0xfc25cb(_0x14388e(0x1c5))},{matrixCache:_0x17492f,rangesCache:_0x24e1cb}=_0x2c2b1c(_0x3396e9,_0x11c215);return _0x17492f[_0x14388e(0x29e)]((_0x40d61e,_0x1e4f81,_0x502403)=>{const _0x138dbd=_0x14388e;_0x180636[_0x138dbd(0x331)](_0x40d61e,_0x1e4f81,_0x502403);}),_0x4cbc1b[_0x14388e(0x3fd)]=_0x24e1cb,this[_0x14388e(0x304)][_0x14388e(0x38b)]({'unitId':_0x1ff53e,'subUnitId':_0x293183,'valueMatrix':_0x180636,'rangesCache':_0x24e1cb,'pivotTableId':_0x5a2037,'type':_0x1ac1f3[_0x14388e(0x249)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x1ff53e,_0x293183,_0x5a2037,_0x180636,_0x24e1cb),this['_exclusiveRangeService']['addExclusiveRange'](_0x1ff53e,_0x293183,_0x2bc9f8,this[_0x14388e(0x1e8)](_0x24e1cb,_0x5a2037)),{'rangeCache':_0x4cbc1b[_0x14388e(0x3fd)],'matrix':_0x180636};}[_0x37107d(0x1e8)](_0x25f8ec,_0x519668){const _0x389762=_0x37107d,_0x4ea770=[],_0x5b5a60=_0x262747(_0x25f8ec);for(const _0x338412 of _0x5b5a60)_0x4ea770[_0x389762(0x229)]({'groupId':_0x519668,'range':_0x338412});return _0x4ea770;}[_0x37107d(0x197)](_0x3a5311){const _0x147370=_0x37107d;var _0x4e6f90,_0x340226,_0x5a4b71,_0x2f35d6;const {pivotTableId:_0x42ca32,unitId:_0x368d61,subUnitId:_0xdac325}=_0x3a5311;if(!_0x42ca32||!_0x368d61||!_0xdac325)return;const _0xf4bc2f=this['_ensurePivotItemRenderValueMatrixCache'](_0x368d61,_0xdac325),_0x4cbe00=(_0x340226=(_0x4e6f90=this[_0x147370(0x376)]['get'](_0x368d61))==null?void 0x0:_0x4e6f90['get'](_0xdac325))==null?void 0x0:_0x340226[_0x147370(0xe4)](_0x42ca32);if(_0x4cbe00!=null&&_0x4cbe00[_0x147370(0x3fd)]){for(const _0x14dfbd of Object[_0x147370(0x33b)](_0x4cbe00[_0x147370(0x3fd)]))_0x4cbe00[_0x147370(0x3fd)][_0x14dfbd]['forEach'](_0x1176dd=>{const _0x5dcce=_0x147370;for(let _0x21c575=_0x1176dd[_0x5dcce(0x163)];_0x21c575<=_0x1176dd[_0x5dcce(0x2a0)];_0x21c575++)for(let _0x182c12=_0x1176dd[_0x5dcce(0x342)];_0x182c12<=_0x1176dd[_0x5dcce(0x381)];_0x182c12++)_0xf4bc2f[_0x5dcce(0x14f)](_0x21c575,_0x182c12);});}_0x4cbe00&&((_0x2f35d6=(_0x5a4b71=this[_0x147370(0x376)][_0x147370(0xe4)](_0x368d61))==null?void 0x0:_0x5a4b71['get'](_0xdac325))==null||_0x2f35d6[_0x147370(0x27b)](_0x42ca32)),this[_0x147370(0x304)][_0x147370(0x38b)]({'unitId':_0x368d61,'subUnitId':_0xdac325,'valueMatrix':_0xf4bc2f,'pivotTableId':_0x42ca32,'rangesCache':void 0x0,'type':_0x3a5311['type']}),this[_0x147370(0x29a)]['clearExclusiveRangesByGroupId'](_0x368d61,_0xdac325,_0x2bc9f8,_0x42ca32);}[_0x37107d(0x364)](_0x39be3e,_0x3a3f06,_0x1dd454){const _0x4e9494=_0x37107d;var _0x1b9b70,_0x156438,_0x20c293,_0x8cd1a9,_0x511e73,_0x39d3af;return this[_0x4e9494(0x376)][_0x4e9494(0x35c)](_0x39be3e)||this[_0x4e9494(0x376)][_0x4e9494(0x169)](_0x39be3e,new Map()),(_0x1b9b70=this[_0x4e9494(0x376)][_0x4e9494(0xe4)](_0x39be3e))!=null&&_0x1b9b70['has'](_0x3a3f06)||(_0x156438=this['_pivotRenderInfoCache']['get'](_0x39be3e))==null||_0x156438[_0x4e9494(0x169)](_0x3a3f06,new Map()),(_0x8cd1a9=(_0x20c293=this['_pivotRenderInfoCache']['get'](_0x39be3e))==null?void 0x0:_0x20c293['get'](_0x3a3f06))!=null&&_0x8cd1a9[_0x4e9494(0x35c)](_0x1dd454)||(_0x39d3af=(_0x511e73=this[_0x4e9494(0x376)][_0x4e9494(0xe4)](_0x39be3e))==null?void 0x0:_0x511e73['get'](_0x3a3f06))==null||_0x39d3af[_0x4e9494(0x169)](_0x1dd454,{}),this[_0x4e9494(0x376)][_0x4e9494(0xe4)](_0x39be3e)[_0x4e9494(0xe4)](_0x3a3f06)[_0x4e9494(0xe4)](_0x1dd454);}[_0x37107d(0x383)](_0x196de2,_0x3a229f){const _0x508332=_0x37107d;var _0x4bb6e7,_0x49d4d0;return this['_pivotRenderValueMatrixCache'][_0x508332(0x35c)](_0x196de2)||this[_0x508332(0x3ee)][_0x508332(0x169)](_0x196de2,new Map()),(_0x4bb6e7=this[_0x508332(0x3ee)][_0x508332(0xe4)](_0x196de2))!=null&&_0x4bb6e7[_0x508332(0x35c)](_0x3a229f)||(_0x49d4d0=this[_0x508332(0x3ee)][_0x508332(0xe4)](_0x196de2))==null||_0x49d4d0[_0x508332(0x169)](_0x3a229f,new _0x5475a7[(_0x508332(0x303))]()),this[_0x508332(0x3ee)][_0x508332(0xe4)](_0x196de2)[_0x508332(0xe4)](_0x3a229f);}[_0x37107d(0x370)](_0x17d298,_0x3c2777,_0x54df51,_0x339c40){const _0x4f2842=_0x37107d;var _0x4d6850,_0x3c9304;const _0x571735=(_0x3c9304=(_0x4d6850=this[_0x4f2842(0x3ee)][_0x4f2842(0xe4)](_0x17d298))==null?void 0x0:_0x4d6850[_0x4f2842(0xe4)](_0x3c2777))==null?void 0x0:_0x3c9304['getValue'](_0x54df51,_0x339c40);if(_0x571735!=null)return _0x571735;}['getPivotTableIdByCell'](_0x23d225,_0x4b7aef,_0x2f66d0,_0x14b314){const _0x560a96=_0x37107d;var _0x2ba0ef;const _0x54eae6=_0x5475a7['cellToRange'](_0x2f66d0,_0x14b314),_0x3f0a9f=(_0x2ba0ef=this[_0x560a96(0x376)][_0x560a96(0xe4)](_0x23d225))==null?void 0x0:_0x2ba0ef[_0x560a96(0xe4)](_0x4b7aef);return _0x3f0a9f?Array[_0x560a96(0x40a)](_0x3f0a9f[_0x560a96(0x33b)]())['find'](_0x4e9eac=>{const _0x453729=_0x560a96,_0x26dd0a=_0x3f0a9f[_0x453729(0xe4)](_0x4e9eac),_0x4b6b79=_0x26dd0a==null?void 0x0:_0x26dd0a[_0x453729(0x3fd)];return _0x4b6b79?Object['keys'](_0x4b6b79)[_0x453729(0x23b)](_0x302337=>_0x4b6b79[_0x302337]['some'](_0x26a0db=>_0x5475a7[_0x453729(0x2b7)][_0x453729(0x3b1)](_0x26a0db,_0x54eae6))):!0x1;}):void 0x0;}[_0x37107d(0x142)](_0x1461d0,_0x2cc2cc,_0xfb95b9){const _0x53504f=_0x37107d;var _0xe11f48;const _0x2e6dc3=(_0xe11f48=this[_0x53504f(0x376)][_0x53504f(0xe4)](_0x1461d0))==null?void 0x0:_0xe11f48[_0x53504f(0xe4)](_0x2cc2cc),_0x109c29=[];return _0x2e6dc3&&Array['from'](_0x2e6dc3['keys']())['forEach'](_0x2a1c0f=>{const _0x200196=_0x53504f,_0x3bf1d1=_0x2e6dc3[_0x200196(0xe4)](_0x2a1c0f),_0x1ed593=_0x3bf1d1==null?void 0x0:_0x3bf1d1['rangesInfo'];if(_0x1ed593)for(const _0x104b16 of Object[_0x200196(0x24a)](_0x1ed593)){let _0x5329f1=!0x1;for(const _0x279e31 of _0x104b16)if(_0x5475a7['Rectangle'][_0x200196(0x1ca)](_0x279e31,_0xfb95b9)){_0x109c29[_0x200196(0x229)](_0x2a1c0f),_0x5329f1=!0x0;break;}if(_0x5329f1)break;}}),_0x109c29;}[_0x37107d(0x281)](_0x585f67,_0x430440){const _0x32915e=_0x37107d;var _0x146d0c,_0x4d1985;return(_0x4d1985=(_0x146d0c=this[_0x32915e(0x3ee)][_0x32915e(0xe4)](_0x585f67))==null?void 0x0:_0x146d0c['get'](_0x430440))!=null?_0x4d1985:new _0x5475a7['ObjectMatrix']();}[_0x37107d(0x347)](_0x5319a4,_0x130f9a){const _0x14bba0=_0x37107d;var _0x30a4b1;return(_0x30a4b1=this[_0x14bba0(0x376)][_0x14bba0(0xe4)](_0x5319a4))==null?void 0x0:_0x30a4b1[_0x14bba0(0xe4)](_0x130f9a);}['getPivotItemRenderInfoCache'](_0x560f8b,_0xf98da3,_0x2c2eb7){const _0x57ac97=_0x37107d;var _0x2b4f05,_0x3c6abb;return(_0x3c6abb=(_0x2b4f05=this['_pivotRenderInfoCache'][_0x57ac97(0xe4)](_0x560f8b))==null?void 0x0:_0x2b4f05[_0x57ac97(0xe4)](_0xf98da3))==null?void 0x0:_0x3c6abb[_0x57ac97(0xe4)](_0x2c2eb7);}[_0x37107d(0x13f)](_0x49bbe9){const _0x417a64=_0x37107d;this[_0x417a64(0x376)]['delete'](_0x49bbe9),this[_0x417a64(0x3ee)][_0x417a64(0x27b)](_0x49bbe9);}[_0x37107d(0x155)](_0x3cbb2c,_0x2d5b57){const _0x1b229b=_0x37107d;this[_0x1b229b(0xff)]['next']({'unitId':_0x3cbb2c,'subUnitId':_0x2d5b57});}},_0x4652af['SheetsPivotTableAdaptorModel']=_0x468541([_0x202a33(0x0,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0xea)])),_0x202a33(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x202a33(0x2,_0x5475a7['Inject'](_0x4652af[_0x37107d(0x28f)])),_0x202a33(0x3,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x14d)])),_0x202a33(0x4,_0x5475a7['Inject'](_0x20619b[_0x37107d(0x3d1)]))],_0x4652af[_0x37107d(0x1d0)]);var _0x1f3619=Object[_0x37107d(0x141)],_0x54a5db=(_0x5533c6,_0xf252a9,_0x121fd5,_0x196005)=>{const _0x1bd341=_0x37107d;for(var _0xe96865=_0x196005>0x1?void 0x0:_0x196005?_0x1f3619(_0xf252a9,_0x121fd5):_0xf252a9,_0x2267c1=_0x5533c6[_0x1bd341(0x298)]-0x1,_0x1aaccc;_0x2267c1>=0x0;_0x2267c1--)(_0x1aaccc=_0x5533c6[_0x2267c1])&&(_0xe96865=_0x1aaccc(_0xe96865)||_0xe96865);return _0xe96865;},_0x2752db=(_0x50909d,_0x16060f)=>(_0x4e9c77,_0x4c863d)=>_0x16060f(_0x4e9c77,_0x4c863d,_0x50909d);_0x4652af[_0x37107d(0x37c)]=class extends _0x5475a7['Disposable']{constructor(_0xe413dc,_0xf47101){const _0x1b828a=_0x37107d;super(),_0x33deac(this,_0x1b828a(0x2c7),new _0x5475a7[(_0x1b828a(0x122))]({'PIVOT_PERFORM_CHECK':_0x510c1a})),_0x33deac(this,_0x1b828a(0x23d),new _0x5475a7[(_0x1b828a(0x385))]({'PIVOT_MUTATION_GENERATE':_0x359ef9})),(this['_sheetInterceptorService']=_0xe413dc,this[_0x1b828a(0x2c2)]=_0xf47101,this['_init']());}[_0x37107d(0x308)](){this['_initViewModelBySheetInterceptor']();}[_0x37107d(0x1cf)](_0x1eab99){const _0x49ac27=_0x37107d;return this['asyncInterceptor'][_0x49ac27(0x3d7)](_0x510c1a)(!0x1,_0x1eab99);}[_0x37107d(0x2cd)](){const _0x44f944=_0x37107d;this[_0x44f944(0xe0)](this[_0x44f944(0x1da)][_0x44f944(0x3c4)](_0x20619b[_0x44f944(0x3e2)][_0x44f944(0x154)],{'priority':0xc8,'effect':_0x5475a7['InterceptorEffectEnum']['Value']|_0x5475a7[_0x44f944(0x366)][_0x44f944(0x178)],'handler':(_0x4f8486,_0x330ade,_0x563b56)=>{const _0x206542=_0x44f944,{row:_0x5ef271,col:_0x4e8681,unitId:_0x2fa062,subUnitId:_0x5d57ca,workbook:_0x35ee83}=_0x330ade,_0x4e1612=this[_0x206542(0x2c2)][_0x206542(0x370)](_0x2fa062,_0x5d57ca,_0x5ef271,_0x4e8681);if(!_0x4e1612)return _0x563b56(_0x4f8486);const _0xcf486e={..._0x4f8486};(_0x4e1612['v']||_0x4e1612['v']===0x0)&&(_0xcf486e['v']=_0x4e1612['v']),_0x4e1612['t']&&(_0xcf486e['t']=_0x4e1612['t']);const _0x164467=(typeof(_0x4f8486==null?void 0x0:_0x4f8486['s'])=='string'?_0x35ee83['getStyles']()['get'](_0x4f8486==null?void 0x0:_0x4f8486['s']):_0x4f8486==null?void 0x0:_0x4f8486['s'])||{},_0x46d4bb=_0x35ee83['getStyles']()[_0x206542(0xe4)](_0x4e1612['s']),_0x425971={..._0x46d4bb,..._0x164467};_0x46d4bb!=null&&_0x46d4bb['n']&&(_0x425971['n']=_0x46d4bb['n']);const _0x4167e5=_0x35ee83['getStyles']()[_0x206542(0x331)](_0x425971);return _0xcf486e['s']=_0x4167e5,(_0x4e1612[_0x206542(0x1fc)]===_0x42fb89[_0x206542(0x273)][_0x206542(0x372)]||_0x4e1612[_0x206542(0x1fc)]===_0x42fb89[_0x206542(0x273)]['Expand'])&&(_0xcf486e[_0x206542(0x13d)]={},_0xcf486e['fontRenderExtension'][_0x206542(0x1a4)]=_0x55df66),_0x563b56(_0xcf486e);}}));}},_0x4652af['SheetsPivotTableService']=_0x54a5db([_0x2752db(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x103)])),_0x2752db(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x4652af['SheetsPivotTableAdaptorModel']))],_0x4652af[_0x37107d(0x37c)]);const _0xfbeea8={'id':_0x37107d(0x1cc),'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'handler':(_0x50d8c4,_0x2b6d99)=>{const _0x14b4f0=_0x37107d;if(!_0x2b6d99)return!0x1;if(!!_0x50d8c4[_0x14b4f0(0xe4)](_0x5475a7[_0x14b4f0(0x3fb)])[_0x14b4f0(0x146)](_0x4aadc7))return!0x0;const {pivotTableId:_0x3c6c3c,fieldJSON:_0x431591,unitId:_0x4ec341,subUnitId:_0x458691}=_0x2b6d99;let _0x4ea640;const {dataFieldType:_0x2a273f,id:_0x184003,name:_0xd01b39,hexCode:_0x3f112b,originalFieldId:_0x1effeb}=_0x431591;if(_0x2a273f===_0x42fb89[_0x14b4f0(0x220)][_0x14b4f0(0x2b2)]&&(_0x4ea640=new _0x42fb89[(_0x14b4f0(0x1b1))](_0x184003,_0xd01b39,_0x3f112b,_0x1effeb)),!_0x4ea640)return!0x1;const _0x440edc=_0x50d8c4[_0x14b4f0(0xe4)](_0x4652af[_0x14b4f0(0x275)]),_0x2e9104=_0x440edc['getDataFieldManager'](_0x4ec341),_0x20a641=_0x2e9104[_0x14b4f0(0x3ad)](_0x3c6c3c);_0x2e9104['addDataFieldWithoutUnitInfo'](_0x4ea640),_0x20a641[_0x14b4f0(0x19e)](_0x4ea640[_0x14b4f0(0x193)](),_0x4ea640[_0x14b4f0(0x257)]());const _0x2a3cb2=_0x20a641['getFieldById'](_0x4ea640[_0x14b4f0(0x2c1)]());_0x2a3cb2&&_0x4ea640[_0x14b4f0(0x204)](_0x2a3cb2);const _0x5f5465=_0x440edc[_0x14b4f0(0x36b)](_0x4ec341,_0x458691,_0x3c6c3c);return _0x440edc['addDirtyPivotTable']({'unitId':_0x4ec341,'subUnitId':_0x458691,'token':_0x3c6c3c,'type':_0x5865c2[_0x14b4f0(0x1f6)],'pivotConfig':_0x5f5465}),!0x0;}},_0x29bf5c={'id':_0x37107d(0x1e5),'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'handler':(_0x44d572,_0x1f2f11)=>{const _0x5e7597=_0x37107d;if(!_0x1f2f11)return!0x1;if(!!_0x44d572[_0x5e7597(0xe4)](_0x5475a7[_0x5e7597(0x3fb)])[_0x5e7597(0x146)](_0x4aadc7))return!0x0;const {pivotTableId:_0x3f2ce8,dataFieldId:_0x5771c3,unitId:_0x570b9b,subUnitId:_0x396193}=_0x1f2f11,_0x226323=_0x44d572[_0x5e7597(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),_0x2239ae=_0x226323[_0x5e7597(0x1aa)](_0x570b9b);_0x2239ae['getCollection'](_0x3f2ce8)[_0x5e7597(0xee)](_0x5771c3);let _0x2b2c8a=!0x0;for(const _0x1718e3 in _0x2239ae[_0x5e7597(0x3b9)])if(_0x2239ae[_0x5e7597(0x3b9)][_0x1718e3][_0x5e7597(0x31a)]()[_0x5e7597(0x3c9)](_0x5771c3)){_0x2b2c8a=!0x1;break;}_0x2b2c8a&&_0x2239ae['deleteDataField'](_0x5771c3);const _0x3261b1=_0x226323[_0x5e7597(0x36b)](_0x570b9b,_0x396193,_0x3f2ce8);return _0x226323[_0x5e7597(0x20a)]({'unitId':_0x570b9b,'subUnitId':_0x396193,'token':_0x3f2ce8,'type':_0x5865c2[_0x5e7597(0x1f6)],'pivotConfig':_0x3261b1}),!0x0;}};function _0x289e40(_0x29e828,_0x76cc41){const _0x5d7d7f=_0x37107d;switch(_0x76cc41){case _0x42fb89[_0x5d7d7f(0x114)][_0x5d7d7f(0x135)]:return _0x29e828[_0x5d7d7f(0x227)];case _0x42fb89[_0x5d7d7f(0x114)][_0x5d7d7f(0x2ff)]:return _0x29e828[_0x5d7d7f(0x208)];case _0x42fb89[_0x5d7d7f(0x114)]['Row']:return _0x29e828[_0x5d7d7f(0x253)];case _0x42fb89['PivotTableFiledAreaEnum']['Column']:return _0x29e828['columnFields'];default:return[];}}function _0x3a1ca9(_0x583c55,_0x3da62d){const _0xd2295b=_0x37107d;return _0x583c55[_0xd2295b(0x3ea)][_0x3da62d]||_0x583c55[_0xd2295b(0x268)][_0x3da62d];}function _0x8f5e30(_0x25d6ad,_0x34cd57){const _0xc42e27=_0x37107d,{area:_0x52d6d6,fieldJson:_0x21ae48,index:_0x228a33}=_0x34cd57;_0x52d6d6===_0x42fb89[_0xc42e27(0x114)]['Value']?_0x25d6ad[_0xc42e27(0x3ea)][_0x21ae48['id']]=_0x21ae48:_0x25d6ad[_0xc42e27(0x268)][_0x21ae48['id']]=_0x21ae48,_0x289e40(_0x25d6ad,_0x52d6d6)[_0xc42e27(0x19c)](_0x228a33,0x0,_0x21ae48['id']);}function _0x3bc759(_0x181f44,_0x69950a){const _0x36e049=_0x37107d,{area:_0x4d1a5f,fieldId:_0x59e916,index:_0x3b9fb4}=_0x69950a;_0x4d1a5f===_0x42fb89[_0x36e049(0x114)][_0x36e049(0x135)]?delete _0x181f44[_0x36e049(0x3ea)][_0x59e916]:delete _0x181f44['dimension'][_0x59e916],_0x289e40(_0x181f44,_0x4d1a5f)['splice'](_0x3b9fb4,0x1);}function _0x32de23(_0x23c4be,_0x701c5){const _0x38d958=_0x37107d,{fieldId:_0x2149d1,name:_0xba9c06}=_0x701c5,_0x2fb8f5=_0x3a1ca9(_0x23c4be,_0x2149d1);_0x2fb8f5&&(_0x2fb8f5[_0x38d958(0x18e)]=_0xba9c06);}function _0x193234(_0x1c43f4,_0x5cd0cf){const _0xd34f27=_0x37107d,{fieldId:_0x36bbbc,collapse:_0x5600b8,item:_0x39d42e}=_0x5cd0cf;_0x39d42e!==void 0x0?(_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc]=_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc]||{},_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc][_0x39d42e]=_0x5600b8):_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc]=_0x5600b8;}function _0x10088b(_0xbcd9b2,_0x57d76e){const _0x2317a3=_0x37107d,{fieldId:_0x61bd27,format:_0x1c1b2b}=_0x57d76e,_0xc33fc9=_0x3a1ca9(_0xbcd9b2,_0x61bd27);_0xc33fc9&&(_0xc33fc9[_0x2317a3(0x1b7)]=_0x1c1b2b);}function _0x15be72(_0x5c5b3c,_0x1e027a){const _0x305c83=_0x37107d,{fieldId:_0x27004f,filterInfo:_0x4bdd1d}=_0x1e027a,_0x5a819c=_0x3a1ca9(_0x5c5b3c,_0x27004f);_0x5a819c&&(_0x5a819c[_0x305c83(0xf1)]=_0x4bdd1d);}function _0x3dec04(_0x4980af,_0x19c074){const _0x33adb3=_0x37107d,{fieldId:_0x126dbb,filterInfo:_0x26d2de}=_0x19c074,_0x378cb6=_0x4980af['valueFilter'][_0x33adb3(0x183)](_0x307689=>_0x307689[_0x33adb3(0x356)]!==_0x126dbb);_0x26d2de&&_0x378cb6[_0x33adb3(0x229)]({'fieldId':_0x126dbb,'filterInfo':_0x26d2de}),_0x4980af[_0x33adb3(0x31d)]=_0x378cb6;}function _0x4c515b(_0x57592f,_0x20d679){const {fieldId:_0x5c3839,subtotalType:_0xbfea2c}=_0x20d679,_0x421e1f=_0x3a1ca9(_0x57592f,_0x5c3839);_0x421e1f&&(_0x421e1f['subtotal']=_0xbfea2c);}function _0x5ac2bc(_0x470fb6,_0x15aaff){const _0x10ff85=_0x37107d,{fieldId:_0x2702cf,oldArea:_0x34b55e,area:_0x22166f,oldIndex:_0x5b9872,index:_0x560c10}=_0x15aaff,_0x1dc982=_0x34b55e!==_0x42fb89['PivotTableFiledAreaEnum'][_0x10ff85(0x135)]&&_0x22166f===_0x42fb89[_0x10ff85(0x114)]['Value'],_0xbcc351=_0x34b55e===_0x42fb89['PivotTableFiledAreaEnum'][_0x10ff85(0x135)]&&_0x22166f!==_0x42fb89[_0x10ff85(0x114)][_0x10ff85(0x135)];if(_0x1dc982||_0xbcc351){const _0x2c359c=_0x3a1ca9(_0x470fb6,_0x2702cf);_0x2c359c&&(_0x1dc982?(delete _0x470fb6['dimension'][_0x2702cf],_0x470fb6[_0x10ff85(0x3ea)][_0x2702cf]=_0x2c359c):(delete _0x470fb6[_0x10ff85(0x3ea)][_0x2702cf],_0x470fb6[_0x10ff85(0x268)][_0x2702cf]=_0x2c359c));}const _0x375571=_0x289e40(_0x470fb6,_0x34b55e),_0x1a411a=_0x289e40(_0x470fb6,_0x22166f);_0x375571['splice'](_0x5b9872,0x1),_0x1a411a['splice'](_0x560c10,0x0,_0x2702cf);}function _0x28bee0(_0x49a12a,_0x2f33a6){const _0x4bef19=_0x37107d,{valuePosition:_0x2e9202,index:_0xe3ed1a}=_0x2f33a6;_0x49a12a[_0x4bef19(0x1f2)]=_0x2e9202,_0x49a12a[_0x4bef19(0x120)]=_0xe3ed1a;}function _0x30d107(_0x7f8a54,_0x5e8f01){const _0x104ab7=_0x37107d,{tableFieldId:_0x5d7681,sourceName:_0x118e9d,dataFieldId:_0x2a2cf5}=_0x5e8f01,_0x1dc6bc=_0x3a1ca9(_0x7f8a54,_0x5d7681);_0x1dc6bc&&(_0x1dc6bc[_0x104ab7(0x3dc)]=_0x118e9d,_0x1dc6bc['dataFieldId']=_0x2a2cf5);}function _0xfed687(_0x23120a,_0xec7af2){const _0x259263=_0x37107d,{fieldId:_0x30e2aa,sortInfo:_0x416b26}=_0xec7af2,_0x160ffc=_0x3a1ca9(_0x23120a,_0x30e2aa);_0x160ffc&&(_0x160ffc[_0x259263(0x164)]=_0x416b26);}function _0x53a474(_0xd57dbe,_0x15fe70){const _0xa03e6=_0x37107d,{options:_0xabbff4}=_0x15fe70;_0xd57dbe[_0xa03e6(0x219)]={..._0xd57dbe[_0xa03e6(0x219)],..._0xabbff4};}const _0x5485a4={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x209),'handler'(_0x4a38ef,_0x2f4887){const _0x3fb232=_0x37107d;if(!_0x2f4887)return!0x1;if(!!_0x4a38ef['get'](_0x5475a7[_0x3fb232(0x3fb)])[_0x3fb232(0x146)](_0x4aadc7))return!0x0;const _0x30e01c=_0x4a38ef[_0x3fb232(0xe4)](_0x4652af[_0x3fb232(0x275)]),{pivotTableId:_0x144b0b,fieldJson:_0x2d6b71,area:_0x1bbe81,index:_0x1903e3,unitId:_0x5d1c99,subUnitId:_0x3f71dd}=_0x2f4887,_0x4744ca=_0x30e01c['getPivotTableInstance'](_0x144b0b);if(!_0x4744ca)return!0x1;let _0x270200;_0x1bbe81===_0x42fb89[_0x3fb232(0x114)][_0x3fb232(0x135)]?_0x270200=_0x42fb89[_0x3fb232(0x117)](_0x2d6b71):_0x270200=_0x42fb89[_0x3fb232(0x3bd)](_0x2d6b71),_0x4744ca[_0x3fb232(0x19e)](_0x270200,_0x1bbe81,_0x1903e3);const _0x2d19ba=_0x30e01c['getPivotTableModelConfig'](_0x5d1c99,_0x3f71dd,_0x144b0b);_0x8f5e30(_0x2d19ba,_0x2f4887);const _0x247ff7=_0x30e01c['getPivotTableConfig'](_0x5d1c99,_0x3f71dd,_0x144b0b);return _0x30e01c[_0x3fb232(0x20a)]({'unitId':_0x5d1c99,'subUnitId':_0x3f71dd,'token':_0x144b0b,'type':_0x5865c2[_0x3fb232(0x1f6)],'pivotConfig':_0x247ff7}),!0x0;}},_0x497dc7={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x3dd),'handler'(_0x30c22c,_0x1e3bf4){const _0x51d82d=_0x37107d;if(!_0x1e3bf4)return!0x1;if(!!_0x30c22c[_0x51d82d(0xe4)](_0x5475a7['IConfigService'])[_0x51d82d(0x146)](_0x4aadc7))return!0x0;const _0x4cbab5=_0x30c22c[_0x51d82d(0xe4)](_0x4652af[_0x51d82d(0x275)]),{pivotTableId:_0x25521d,fieldId:_0x1a69c8,unitId:_0x30865e,subUnitId:_0x16918a}=_0x1e3bf4,_0x5cd4ba=_0x4cbab5['getPivotTableInstance'](_0x25521d);if(!_0x5cd4ba)return!0x1;_0x5cd4ba[_0x51d82d(0x1a6)](_0x1a69c8);const _0x2da2da=_0x4cbab5[_0x51d82d(0x17f)](_0x30865e,_0x16918a,_0x25521d);_0x3bc759(_0x2da2da,_0x1e3bf4);const _0x24c744=_0x4cbab5[_0x51d82d(0x36b)](_0x30865e,_0x16918a,_0x25521d);return _0x4cbab5[_0x51d82d(0x20a)]({'unitId':_0x30865e,'subUnitId':_0x16918a,'token':_0x25521d,'type':_0x5865c2[_0x51d82d(0x1f6)],'pivotConfig':_0x24c744}),!0x0;}},_0x198914={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x3be),'handler'(_0x532b38,_0x252f42){const _0x41afb8=_0x37107d;if(!_0x252f42)return!0x1;if(!!_0x532b38[_0x41afb8(0xe4)](_0x5475a7['IConfigService'])[_0x41afb8(0x146)](_0x4aadc7))return!0x0;const _0x5d001e=_0x532b38['get'](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x580221,subUnitId:_0x2c556f,pivotTableId:_0x5d8bea,fieldId:_0x29424d,name:_0x4bbf16}=_0x252f42,_0x1ab96e=_0x5d001e[_0x41afb8(0x266)](_0x5d8bea);if(!_0x1ab96e)return!0x1;_0x1ab96e[_0x41afb8(0x1b4)](_0x29424d,_0x4bbf16);const _0x19a1d4=_0x5d001e[_0x41afb8(0x17f)](_0x580221,_0x2c556f,_0x5d8bea);return _0x32de23(_0x19a1d4,_0x252f42),_0x5d001e['addDirtyPivotTable']({'unitId':_0x580221,'subUnitId':_0x2c556f,'token':_0x5d8bea,'type':_0x5865c2['Set']}),!0x0;}},_0xc60e14={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x203),'handler'(_0x4fe16f,_0x5bd81e){const _0x527d26=_0x37107d;if(!_0x5bd81e)return!0x1;if(!!_0x4fe16f[_0x527d26(0xe4)](_0x5475a7[_0x527d26(0x3fb)])[_0x527d26(0x146)](_0x4aadc7))return!0x0;const _0x141a61=_0x4fe16f[_0x527d26(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x3a55de,subUnitId:_0x23ec49,pivotTableId:_0xd1b87c,fieldId:_0xa61a15,collapse:_0x1232aa,item:_0x57d5e9}=_0x5bd81e,_0x1bcea9=_0x141a61['getPivotTableInstance'](_0xd1b87c);if(!_0x1bcea9)return!0x1;_0x1bcea9[_0x527d26(0x2ef)](_0xa61a15,_0x1232aa,_0x57d5e9);const _0x5ec1ac=_0x141a61[_0x527d26(0x17f)](_0x3a55de,_0x23ec49,_0xd1b87c);return _0x193234(_0x5ec1ac,_0x5bd81e),_0x141a61[_0x527d26(0x20a)]({'unitId':_0x3a55de,'subUnitId':_0x23ec49,'token':_0xd1b87c,'type':_0x5865c2[_0x527d26(0x1f6)]}),!0x0;}},_0x40f547={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x371),'handler'(_0xbaa234,_0x2266d3){const _0x4e6bf8=_0x37107d;if(!_0x2266d3)return!0x1;if(!!_0xbaa234['get'](_0x5475a7['IConfigService'])[_0x4e6bf8(0x146)](_0x4aadc7))return!0x0;const _0x589b7f=_0xbaa234[_0x4e6bf8(0xe4)](_0x4652af[_0x4e6bf8(0x275)]),{unitId:_0x2fee8f,subUnitId:_0x12de51,pivotTableId:_0x55ae18,fieldId:_0x6bd3bd,format:_0xd52417}=_0x2266d3,_0x3d1394=_0x589b7f[_0x4e6bf8(0x266)](_0x55ae18);if(!_0x3d1394)return!0x1;_0x3d1394['setFieldFormat'](_0x6bd3bd,_0xd52417);const _0x561dac=_0x589b7f[_0x4e6bf8(0x17f)](_0x2fee8f,_0x12de51,_0x55ae18);return _0x10088b(_0x561dac,_0x2266d3),_0x589b7f[_0x4e6bf8(0x20a)]({'unitId':_0x2fee8f,'subUnitId':_0x12de51,'token':_0x55ae18,'type':_0x5865c2['Set']}),!0x0;}},_0x3d7071={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0xeb),'handler'(_0x4060ae,_0x4a3d8e){const _0xfd1b11=_0x37107d;if(!_0x4a3d8e)return!0x1;if(!!_0x4060ae['get'](_0x5475a7['IConfigService'])[_0xfd1b11(0x146)](_0x4aadc7))return!0x0;const _0x281fc0=_0x4060ae[_0xfd1b11(0xe4)](_0x4652af[_0xfd1b11(0x275)]),{unitId:_0x2b4208,subUnitId:_0x202c8d,pivotTableId:_0x53159b,fieldId:_0x164955,filterInfo:_0x4dd9cd}=_0x4a3d8e,_0x27268c=_0x281fc0[_0xfd1b11(0x266)](_0x53159b);if(!_0x27268c)return!0x1;_0x27268c[_0xfd1b11(0x176)](_0x164955,_0x4dd9cd);const _0x97b4da=_0x281fc0['getPivotTableModelConfig'](_0x2b4208,_0x202c8d,_0x53159b);return _0x15be72(_0x97b4da,_0x4a3d8e),_0x281fc0[_0xfd1b11(0x20a)]({'unitId':_0x2b4208,'subUnitId':_0x202c8d,'token':_0x53159b,'type':_0x5865c2[_0xfd1b11(0x1f6)]}),!0x0;}},_0x35183d={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0xec),'handler'(_0x2879dd,_0xf33234){const _0x4a1aac=_0x37107d;if(!_0xf33234)return!0x1;if(!!_0x2879dd[_0x4a1aac(0xe4)](_0x5475a7[_0x4a1aac(0x3fb)])[_0x4a1aac(0x146)](_0x4aadc7))return!0x0;const _0x489f42=_0x2879dd[_0x4a1aac(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x34ba9f,subUnitId:_0x3d0cff,pivotTableId:_0x2eb307,options:_0x214826}=_0xf33234,_0x320644=_0x489f42[_0x4a1aac(0x266)](_0x2eb307);if(!_0x320644)return!0x1;_0x320644[_0x4a1aac(0x386)](_0x214826);const _0x2e7cf5=_0x489f42[_0x4a1aac(0x17f)](_0x34ba9f,_0x3d0cff,_0x2eb307);return _0x53a474(_0x2e7cf5,_0xf33234),_0x489f42[_0x4a1aac(0x20a)]({'unitId':_0x34ba9f,'subUnitId':_0x3d0cff,'token':_0x2eb307,'type':_0x5865c2[_0x4a1aac(0x1f6)]}),!0x0;}},_0x536952={'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'id':_0x37107d(0x1b5),'handler'(_0xae9031,_0xdb4368){const _0x44427a=_0x37107d;if(!_0xdb4368)return!0x1;if(!!_0xae9031[_0x44427a(0xe4)](_0x5475a7[_0x44427a(0x3fb)])[_0x44427a(0x146)](_0x4aadc7))return!0x0;const _0x4f7bc0=_0xae9031[_0x44427a(0xe4)](_0x4652af[_0x44427a(0x275)]),{unitId:_0x1497b2,subUnitId:_0x10a5c8,pivotTableId:_0x538718,sortInfo:_0x484cc4,fieldId:_0x17bb7c}=_0xdb4368,_0x36c3e2=_0x4f7bc0['getPivotTableInstance'](_0x538718);if(!_0x36c3e2)return!0x1;_0x36c3e2[_0x44427a(0x35a)](_0x17bb7c,_0x484cc4);const _0xf36ae2=_0x4f7bc0[_0x44427a(0x17f)](_0x1497b2,_0x10a5c8,_0x538718);return _0xfed687(_0xf36ae2,_0xdb4368),_0x4f7bc0[_0x44427a(0x20a)]({'unitId':_0x1497b2,'subUnitId':_0x10a5c8,'token':_0x538718,'type':_0x5865c2[_0x44427a(0x1f6)]}),!0x0;}},_0x133278={'type':_0x5475a7['CommandType']['MUTATION'],'id':_0x37107d(0x305),'handler'(_0x2aff38,_0x2c3ed8){const _0x42a02d=_0x37107d;if(!_0x2c3ed8)return!0x1;if(!!_0x2aff38[_0x42a02d(0xe4)](_0x5475a7['IConfigService'])[_0x42a02d(0x146)](_0x4aadc7))return!0x0;const _0x49c93d=_0x2aff38[_0x42a02d(0xe4)](_0x4652af[_0x42a02d(0x275)]),{unitId:_0x407845,subUnitId:_0x47b576,pivotTableId:_0x32c781,fieldId:_0x144772,subtotalType:_0x398532}=_0x2c3ed8,_0x206257=_0x49c93d['getPivotTableInstance'](_0x32c781);if(!_0x206257)return!0x1;_0x206257[_0x42a02d(0x343)](_0x144772,_0x398532);const _0x4be098=_0x49c93d['getPivotTableModelConfig'](_0x407845,_0x47b576,_0x32c781);return _0x4c515b(_0x4be098,_0x2c3ed8),_0x49c93d['addDirtyPivotTable']({'unitId':_0x407845,'subUnitId':_0x47b576,'token':_0x32c781,'type':_0x5865c2[_0x42a02d(0x1f6)]}),!0x0;}},_0x5eef3d={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x1a0),'handler'(_0x1a2d6a,_0x1e70fa){const _0x352114=_0x37107d;if(!_0x1e70fa)return!0x1;if(!!_0x1a2d6a['get'](_0x5475a7[_0x352114(0x3fb)])['getConfig'](_0x4aadc7))return!0x0;const _0x262186=_0x1a2d6a[_0x352114(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x2194f4,subUnitId:_0x2c4306,pivotTableId:_0x17a666,fieldId:_0x5e36d7,filterInfo:_0xcf2d4d}=_0x1e70fa,_0xb00b06=_0x262186['getPivotTableInstance'](_0x17a666);if(!_0xb00b06)return!0x1;_0xb00b06[_0x352114(0x16f)](_0x5e36d7,_0xcf2d4d);const _0xeabd66=_0x262186[_0x352114(0x17f)](_0x2194f4,_0x2c4306,_0x17a666);return _0x3dec04(_0xeabd66,_0x1e70fa),_0x262186[_0x352114(0x20a)]({'unitId':_0x2194f4,'subUnitId':_0x2c4306,'token':_0x17a666,'type':_0x5865c2['Set']}),!0x0;}},_0x227ab8={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x2ce),'handler'(_0x5be32b,_0x508689){const _0x46f5c=_0x37107d;if(!_0x508689)return!0x1;if(!!_0x5be32b['get'](_0x5475a7[_0x46f5c(0x3fb)])[_0x46f5c(0x146)](_0x4aadc7))return!0x0;const _0x1ecb72=_0x5be32b['get'](_0x4652af[_0x46f5c(0x275)]),{unitId:_0x1b8472,subUnitId:_0x28e9c7,pivotTableId:_0x12bb87,area:_0x33ebf3,index:_0x1fc51a,fieldId:_0x206046}=_0x508689,_0x553fb7=_0x1ecb72[_0x46f5c(0x266)](_0x12bb87);if(!_0x553fb7)return!0x1;_0x553fb7[_0x46f5c(0x110)](_0x206046,_0x33ebf3,_0x1fc51a);const _0x4f40c0=_0x1ecb72[_0x46f5c(0x17f)](_0x1b8472,_0x28e9c7,_0x12bb87);return _0x5ac2bc(_0x4f40c0,_0x508689),_0x1ecb72[_0x46f5c(0x20a)]({'unitId':_0x1b8472,'subUnitId':_0x28e9c7,'token':_0x12bb87,'type':_0x5865c2[_0x46f5c(0x1f6)]}),!0x0;}},_0x3f9e27={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x16dc5a,_0x56a65a){const _0x49408d=_0x37107d;if(!_0x56a65a)return!0x1;if(!!_0x16dc5a[_0x49408d(0xe4)](_0x5475a7[_0x49408d(0x3fb)])[_0x49408d(0x146)](_0x4aadc7))return!0x0;const _0x187e4f=_0x16dc5a[_0x49408d(0xe4)](_0x4652af[_0x49408d(0x275)]),{unitId:_0x3212a4,subUnitId:_0x77afe8,pivotTableId:_0x35a89d,sourceName:_0x257e0f,dataFieldId:_0xa4a913,tableFieldId:_0x4a9b5a}=_0x56a65a,_0x561f14=_0x187e4f[_0x49408d(0x266)](_0x35a89d);if(!_0x561f14)return!0x1;_0x561f14[_0x49408d(0x299)](_0x4a9b5a,_0x257e0f,_0xa4a913);const _0x52c964=_0x187e4f[_0x49408d(0x17f)](_0x3212a4,_0x77afe8,_0x35a89d);return _0x30d107(_0x52c964,_0x56a65a),_0x187e4f[_0x49408d(0x20a)]({'unitId':_0x3212a4,'subUnitId':_0x77afe8,'token':_0x35a89d,'type':_0x5865c2[_0x49408d(0x1f6)]}),!0x0;}},_0x5a17aa={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x2434f2,_0x296578){const _0x360138=_0x37107d;if(!_0x296578)return!0x1;if(!!_0x2434f2[_0x360138(0xe4)](_0x5475a7[_0x360138(0x3fb)])[_0x360138(0x146)](_0x4aadc7))return!0x0;const _0x4172fd=_0x2434f2[_0x360138(0xe4)](_0x4652af[_0x360138(0x275)]),{unitId:_0x4af6cb,subUnitId:_0x4c85ce,pivotTableId:_0x2a2849,valuePosition:_0x1b36c4,index:_0x1fd9f4}=_0x296578,_0x1e7f50=_0x4172fd[_0x360138(0x266)](_0x2a2849);if(!_0x1e7f50)return!0x1;_0x1e7f50[_0x360138(0x30c)](_0x1b36c4,_0x1fd9f4);const _0x4e4672=_0x4172fd['getPivotTableModelConfig'](_0x4af6cb,_0x4c85ce,_0x2a2849);return _0x28bee0(_0x4e4672,_0x296578),_0x4172fd[_0x360138(0x20a)]({'unitId':_0x4af6cb,'subUnitId':_0x4c85ce,'token':_0x2a2849,'type':_0x5865c2[_0x360138(0x1f6)]}),!0x0;}};function _0x1bd7c8(_0x3e345b,_0xe5b1b3,_0x57864d){const _0x1dfcc9=_0x37107d,{pivotTableId:_0x1c64bf,unitId:_0x24d394,subUnitId:_0x48194c}=_0xe5b1b3,_0x4e900f=[],_0x192084=[];for(const _0x31d977 of _0x57864d)switch(_0x31d977[_0x1dfcc9(0x249)]){case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x391)]:{const {fieldJson:_0xc1fb32,area:_0x40d359,index:_0x3ad54e}=_0x31d977,_0x3cf009={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldJson':_0xc1fb32,'area':_0x40d359,'index':_0x3ad54e},_0x424ef9={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0xc1fb32['id'],'area':_0x40d359,'index':_0x3ad54e};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x5485a4['id'],'params':_0x3cf009}),_0x192084[_0x1dfcc9(0x34e)]({'id':_0x497dc7['id'],'params':_0x424ef9});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['SetSubtotalType']:{const {fieldId:_0x113d22,newSubtotalType:_0x2a832d,oldSubtotalType:_0x20e8d3}=_0x31d977,_0x514f3e={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x113d22,'subtotalType':_0x2a832d};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x133278['id'],'params':_0x514f3e});const _0x3d7648={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x113d22,'subtotalType':_0x20e8d3};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x133278['id'],'params':_0x3d7648});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['RemoveField']:{const {fieldId:_0x4f2fea,fieldJson:_0x11c97a,area:_0x2578b7,index:_0x4afdcc}=_0x31d977,_0x21fcea={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x4f2fea,'index':_0x4afdcc,'area':_0x2578b7};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x497dc7['id'],'params':_0x21fcea});const _0x4d4e44={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldJson':_0x11c97a,'area':_0x2578b7,'index':_0x4afdcc};_0x192084['unshift']({'id':_0x5485a4['id'],'params':_0x4d4e44});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['RenameField']:{const {fieldId:_0x2cee86,oldName:_0x1fe19,newName:_0x4beea9}=_0x31d977,_0x525c46={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x2cee86,'name':_0x4beea9};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x198914['id'],'params':_0x525c46});const _0xa32dc4={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x2cee86,'name':_0x1fe19};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x198914['id'],'params':_0xa32dc4});}break;case _0x42fb89['PivotTableChangeTypeEnum']['SetFilterInfo']:{const {fieldId:_0x519af9,oldFilterInfo:_0x158c22,newFilterInfo:_0x5b7c47}=_0x31d977,_0x1e9903={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x519af9,'filterInfo':_0x5b7c47};_0x4e900f['push']({'id':_0x3d7071['id'],'params':_0x1e9903});const _0x452f2a={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x519af9,'filterInfo':_0x158c22};_0x192084['unshift']({'id':_0x3d7071['id'],'params':_0x452f2a});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x125)]:{const {fieldId:_0x53603b,oldSortInfo:_0x3a5775,newSortInfo:_0x2cd661}=_0x31d977,_0x488678={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x53603b,'sortInfo':_0x2cd661};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x536952['id'],'params':_0x488678});const _0xfdcb23={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x53603b,'sortInfo':_0x3a5775};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x536952['id'],'params':_0xfdcb23});}break;case _0x42fb89['PivotTableChangeTypeEnum'][_0x1dfcc9(0x2b1)]:{const {oldOptions:_0x533cf8,newOptions:_0x828858}=_0x31d977,_0x40e305={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'options':_0x828858};_0x4e900f['push']({'id':_0x35183d['id'],'params':_0x40e305});const _0x459846={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'options':_0x533cf8};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x35183d['id'],'params':_0x459846});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x3e4)]:{const {oldArea:_0x16c5ce,newArea:_0x5545a8,oldIndex:_0x46bb4a,newIndex:_0x38d0bf,fieldId:_0x4a4c4d}=_0x31d977,_0x58237a={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x4a4c4d,'area':_0x5545a8,'index':_0x38d0bf,'oldArea':_0x16c5ce,'oldIndex':_0x46bb4a};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x227ab8['id'],'params':_0x58237a});const _0x528e68={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x4a4c4d,'area':_0x16c5ce,'index':_0x46bb4a,'oldArea':_0x5545a8,'oldIndex':_0x38d0bf};_0x192084['unshift']({'id':_0x227ab8['id'],'params':_0x528e68});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['UpdateValuePosition']:{const {oldValuePosition:_0x12c2b2,newValuePosition:_0x510250,oldIndex:_0x45e88a,newIndex:_0x4d3cde}=_0x31d977,_0x1237fc={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'valuePosition':_0x510250,'index':_0x4d3cde};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x5a17aa['id'],'params':_0x1237fc});const _0x2f0e37={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'valuePosition':_0x12c2b2,'index':_0x45e88a};_0x192084['unshift']({'id':_0x5a17aa['id'],'params':_0x2f0e37});}break;case _0x42fb89['PivotTableChangeTypeEnum'][_0x1dfcc9(0x2df)]:{const {fieldId:_0xb50b89,collapse:_0xb311f3,item:_0x207d16}=_0x31d977,_0x5027a2={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0xb50b89,'collapse':_0xb311f3,'item':_0x207d16};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0xc60e14['id'],'params':_0x5027a2});const _0x28eac7={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0xb50b89,'collapse':!_0xb311f3,'item':_0x207d16};_0x192084[_0x1dfcc9(0x34e)]({'id':_0xc60e14['id'],'params':_0x28eac7});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x36e)]:{const {newFormat:_0x2cd1b3,oldFormat:_0x1498fa,fieldId:_0x47302a}=_0x31d977,_0x1db1a7={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x47302a,'format':_0x2cd1b3};_0x4e900f['push']({'id':_0x40f547['id'],'params':_0x1db1a7});const _0x3f173b={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x47302a,'format':_0x1498fa};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x40f547['id'],'params':_0x3f173b});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x25f)]:{const {tableFieldId:_0x39118a,oldSourceName:_0x393302,newSourceName:_0x72ee5a,oldDataFieldId:_0x160caf,newDataFieldId:_0xcf5ed4}=_0x31d977,_0x4a713e={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'tableFieldId':_0x39118a,'sourceName':_0x72ee5a,'dataFieldId':_0xcf5ed4};_0x4e900f['push']({'id':_0x3f9e27['id'],'params':_0x4a713e});const _0x2d6a5a={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'tableFieldId':_0x39118a,'sourceName':_0x393302,'dataFieldId':_0x160caf};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x3f9e27['id'],'params':_0x2d6a5a});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['SetValueFilter']:{const {fieldId:_0x358ea4,filterInfo:_0x25be7f,oldFilterInfo:_0x196c21}=_0x31d977,_0x21cb98={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x358ea4,'filterInfo':_0x25be7f};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x5eef3d['id'],'params':_0x21cb98});const _0x271421={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x358ea4,'filterInfo':_0x196c21};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x5eef3d['id'],'params':_0x271421});}}return{'redos':_0x4e900f,'undos':_0x192084};}function _0x3b48c3(_0x52bdda,_0x14aa86){const _0x5e590e=_0x37107d;var _0x26d183;const _0x1fed07=_0x52bdda['get'](_0x4652af['SheetsPivotTableService']),{cellInfo:_0x576b41,view:_0x2badfc,isEmpty:_0x4e679e}=_0x14aa86;return(_0x26d183=_0x1fed07[_0x5e590e(0x23d)][_0x5e590e(0x223)](_0x359ef9)(_0x33ea83,{'cellInfo':_0x576b41,'view':_0x2badfc,'isEmpty':_0x4e679e}))!=null?_0x26d183:_0x33ea83;}const _0x4ee102={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x1cd),async 'handler'(_0x21c53e,_0x5861c5){const _0x53ea01=_0x37107d;if(!_0x5861c5)return!0x1;const _0x1d6f3c=_0x21c53e[_0x53ea01(0xe4)](_0x5475a7['ICommandService']),_0x3fe852=_0x21c53e[_0x53ea01(0xe4)](_0x4652af[_0x53ea01(0x1d6)]),_0x885d25=_0x21c53e[_0x53ea01(0xe4)](_0x5475a7[_0x53ea01(0x2fa)]),{pivotTableId:_0x5d5bb7,dataFieldId:_0x11d5c2,fieldArea:_0x78431a,index:_0x47d531,unitId:_0x330a54,subUnitId:_0x32049b}=_0x5861c5,_0x2185f1=(await _0x3fe852[_0x53ea01(0x24b)]({'unitId':_0x330a54,'subUnitId':_0x32049b,'pivotTableId':_0x5d5bb7,'params':{'type':_0x12f3cf[_0x53ea01(0x3aa)],'addPivotField':{'dataFieldId':_0x11d5c2,'fieldArea':_0x78431a,'index':_0x47d531}}}))[_0x53ea01(0x2d6)]['addPivotField'];if(!_0x2185f1)return!0x1;const {view:_0x5ab670,changesets:_0x3a2cd3,isEmpty:_0x6287de,pivotTableConfig:_0x2cd871,shouldBeAddedGroupJSON:_0x2e9aa5}=_0x2185f1,_0x51c3f9=_0x2cd871[_0x53ea01(0x258)],_0x53d009=new _0x42fb89[(_0x53ea01(0x2e8))]();_0x53d009[_0x53ea01(0x2a4)](_0x5ab670);const _0x5d4bfa={'cellInfo':_0x51c3f9,'view':_0x53d009,'isEmpty':_0x6287de};if(!await _0x21c53e['get'](_0x4652af[_0x53ea01(0x37c)])[_0x53ea01(0x2c7)]['fetchThroughAsyncInterceptors'](_0x510c1a)(!0x0,_0x5d4bfa))return!0x1;const _0x7034b0=_0x4ba4b0(_0x21c53e,_0x53d009,_0x51c3f9,_0x6287de),_0x191326=_0x3b48c3(_0x21c53e,_0x5d4bfa),{undos:_0x104c3b,redos:_0x1037c2}=_0x1bd7c8(_0x1d6f3c,{'pivotTableId':_0x5d5bb7,'unitId':_0x330a54,'subUnitId':_0x32049b},_0x3a2cd3);return _0x2e9aa5&&(_0x1037c2['unshift']({'id':_0xfbeea8['id'],'params':{'pivotTableId':_0x5d5bb7,'fieldJSON':_0x2e9aa5,'unitId':_0x330a54,'subUnitId':_0x32049b}}),_0x104c3b['push']({'id':_0x29bf5c['id'],'params':{'pivotTableId':_0x5d5bb7,'dataFieldId':_0x2e9aa5['id'],'unitId':_0x330a54,'subUnitId':_0x32049b}})),_0x5475a7[_0x53ea01(0x37d)]([..._0x7034b0[_0x53ea01(0x1f0)],..._0x191326[_0x53ea01(0x1f0)],..._0x1037c2],_0x1d6f3c),_0x885d25[_0x53ea01(0x318)]({'unitID':_0x330a54,'redoMutations':[..._0x7034b0[_0x53ea01(0x1f0)],..._0x191326['redos'],..._0x1037c2],'undoMutations':[..._0x7034b0[_0x53ea01(0x28b)],..._0x191326['undos'],..._0x104c3b]}),!0x0;}},_0x2ee275=()=>typeof process<'u'&&process[_0x37107d(0x26d)]!=null&&process[_0x37107d(0x26d)][_0x37107d(0x225)]!=null,_0x211495={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x338),'handler'(_0x1f70af,_0x31f0e4){const _0xadc229=_0x37107d;var _0x44e343;if(!_0x31f0e4)return!0x1;const _0x507460=_0x1f70af['get'](_0x5475a7[_0xadc229(0x3fb)]);if(!!_0x507460['getConfig'](_0x4aadc7))return!0x0;const _0x1b104e=_0x1f70af['get'](_0x5475a7['IUniverInstanceService']),_0x52e49a=_0x1f70af[_0xadc229(0xe4)](_0x4652af[_0xadc229(0x275)]),{pivotTableId:_0x13ddfc,pivotTableConfig:_0x405bbe,collectionConfig:_0x54a1e4,unitId:_0x5b300c,subUnitId:_0x3c6145}=_0x31f0e4,{sourceRangeInfo:_0x104129,fieldsConfig:_0x49f315,targetCellInfo:_0x212204}=_0x405bbe,_0x574046=_0x1b104e['getUnit'](_0x5b300c);if(!_0x574046||!_0x574046[_0xadc229(0x153)](_0x3c6145))return!0x1;if(!_0x2ee275()){let _0x16b30c=0x0;_0x574046[_0xadc229(0x2f0)]()[_0xadc229(0x15d)](_0x1f3a1c=>{const _0x223ae5=_0xadc229;var _0x71e374,_0xd7c6fd;_0x16b30c+=(_0xd7c6fd=(_0x71e374=_0x52e49a[_0x223ae5(0x3b4)](_0x5b300c,_0x1f3a1c['getSheetId']()))==null?void 0x0:_0x71e374[_0x223ae5(0x290)])!=null?_0xd7c6fd:0x0;});const _0xcc363b=(_0x44e343=_0x507460[_0xadc229(0x146)](_0x57119e[_0xadc229(0x348)]))!=null?_0x44e343:{},{ls:_0x2f1f3e,pbk:_0x5c0f1}=_0xcc363b;if(!_0x57370b(_0x2f1f3e,_0x5c0f1))throw new _0x5475a7[(_0xadc229(0x12c))]('limit\x20pivot');const _0x44c4b=_0x16ef4f(_0x5dcb75,_0x2f1f3e,_0x5c0f1)['count'];if(_0x16b30c>=_0x44c4b)throw new _0x5475a7[(_0xadc229(0x12c))](_0xadc229(0x21e));}if(!_0x54a1e4||!_0x49f315)return!0x1;const {collection:_0x1b10a9,updateDataFieldList:_0x4ca774}=_0x52e49a[_0xadc229(0x345)](_0x13ddfc,_0x54a1e4,_0x104129,_0x212204);_0x52e49a[_0xadc229(0x2a6)](_0x1b10a9,_0x4ca774,_0x104129);const _0x10cc6b=new _0x42fb89[(_0xadc229(0x151))](_0x1b10a9,void 0x0,_0x13ddfc);_0x10cc6b[_0xadc229(0x328)](_0x49f315);const _0x1625b6=JSON[_0xadc229(0x102)](JSON[_0xadc229(0x3c3)](_0x405bbe));return _0x52e49a[_0xadc229(0x3f6)](_0x5b300c,_0x3c6145,_0x13ddfc,_0x10cc6b,_0x1625b6),_0x52e49a['addDirtyPivotTable']({'unitId':_0x5b300c,'subUnitId':_0x3c6145,'token':_0x13ddfc,'type':_0x5865c2[_0xadc229(0x282)],'pivotConfig':_0x1625b6}),!0x0;}},_0x4463ea={'type':_0x5475a7[_0x37107d(0x3ce)]['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x3a0561,_0x5b8627){const _0x212fd5=_0x37107d;if(!_0x5b8627)return!0x1;const {sourceDataInfo:_0x4146b9,pivotTableConfig:_0x433c59}=_0x5b8627;if(!_0x4146b9||!_0x433c59)return!0x1;const {unitId:_0x52c931,subUnitId:_0x28ca8d,range:_0x33874d}=_0x4146b9,_0x4fde40=_0x3a0561[_0x212fd5(0xe4)](_0x5475a7[_0x212fd5(0x14d)]),_0x4f3677=_0x3a0561[_0x212fd5(0xe4)](_0x4652af[_0x212fd5(0x1d6)]),_0xa9502f=_0x3a0561[_0x212fd5(0xe4)](_0x5475a7[_0x212fd5(0xea)]),_0x59da7a=_0x3a0561[_0x212fd5(0xe4)](_0x5475a7[_0x212fd5(0x3d6)]),_0x2aeff5=_0x4fde40['getUnit'](_0x52c931);if(!_0x2aeff5)return!0x1;const _0x20a7b6=_0x2aeff5[_0x212fd5(0x153)](_0x28ca8d);if(!_0x20a7b6)return!0x1;const _0x4fa4da=_0x42fb89[_0x212fd5(0x242)](0x8),_0xd39962=_0x33874d||{'startRow':0x0,'startColumn':0x0,'endRow':_0x20a7b6[_0x212fd5(0x37e)]()-0x1,'endColumn':_0x20a7b6[_0x212fd5(0x215)]()-0x1};_0xd39962[_0x212fd5(0x293)]=_0x5475a7[_0x212fd5(0x3eb)][_0x212fd5(0x144)];const _0x49b906=(await _0x4f3677['getPivotDisplayConfig']({'unitId':_0x52c931,'subUnitId':_0x28ca8d,'pivotTableId':_0x4fa4da,'params':{'type':_0x12f3cf[_0x212fd5(0x1f1)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x52c931,'sheetName':_0x20a7b6['getName'](),'subUnitId':_0x28ca8d,'range':_0xd39962},'pivotTableId':_0x4fa4da,'pivotTableIndexConfig':_0x433c59}}}))[_0x212fd5(0x2d6)][_0x212fd5(0xe1)];if(!_0x49b906)return!0x1;const {isEmpty:_0x525c25,fieldsConfig:_0x5bb1e8,collectionConfig:_0x562133,changesets:_0x3f5567}=_0x49b906,_0x49b072=_0x2aeff5[_0x212fd5(0x2f0)]()[_0x212fd5(0x298)],_0x31d891=_0x5475a7[_0x212fd5(0x277)]({'rowCount':_0x20a7b6[_0x212fd5(0x37e)]()-0x1,'columnCount':_0x20a7b6[_0x212fd5(0x215)]()-0x1});_0x31d891['id']=_0x5475a7[_0x212fd5(0x2a9)](),_0x31d891[_0x212fd5(0x12f)]=_0x2aeff5[_0x212fd5(0x1cb)](''+_0xa9502f['t'](_0x212fd5(0x130)));const _0x1b7089={'index':_0x49b072,'sheet':_0x31d891,'unitId':_0x52c931},{redos:_0xdda2d4}=_0x1bd7c8(_0x59da7a,{'pivotTableId':_0x4fa4da,'unitId':_0x52c931,'subUnitId':_0x31d891['id']},_0x3f5567),_0x3a6420=[{'id':_0x20619b[_0x212fd5(0x166)]['id'],'params':_0x1b7089},{'id':_0x211495['id'],'params':{'unitId':_0x52c931,'subUnitId':_0x31d891['id'],'pivotTableId':_0x4fa4da,'pivotTableConfig':{'isEmpty':_0x525c25,'fieldsConfig':_0x5bb1e8,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x52c931,'subUnitId':_0x31d891['id']},'sourceRangeInfo':{'subUnitId':_0x28ca8d,'unitId':_0x52c931,'range':_0xd39962,'sheetName':_0x20a7b6[_0x212fd5(0x257)]()}},'collectionConfig':_0x562133}},..._0xdda2d4];return _0x5475a7['sequenceExecute'](_0x3a6420,_0x59da7a),!0x0;}},_0x5d03d4={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x217),'handler'(_0x384218,_0x409a07){const _0x4bf056=_0x37107d;if(!_0x409a07)return!0x1;if(!!_0x384218[_0x4bf056(0xe4)](_0x5475a7[_0x4bf056(0x3fb)])['getConfig'](_0x4aadc7))return!0x0;const {pivotTableId:_0xa33a07,unitId:_0x108200,subUnitId:_0x5b1d75}=_0x409a07,_0x385586=_0x384218['get'](_0x4652af[_0x4bf056(0x275)]);return _0x385586[_0x4bf056(0x36b)](_0x108200,_0x5b1d75,_0xa33a07)?(_0x385586[_0x4bf056(0x20a)]({'unitId':_0x108200,'subUnitId':_0x5b1d75,'token':_0xa33a07,'type':_0x5865c2[_0x4bf056(0x108)]}),_0x385586[_0x4bf056(0x340)](_0x108200,_0x5b1d75,_0xa33a07),!0x0):!0x1;}},_0x13346d={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0x2bb),async 'handler'(_0x5ea9c2,_0x4fadbb){const _0x450192=_0x37107d;var _0x5864e6,_0x1e102c;const _0x3467c9=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x3d6)]),_0x1cc4e0=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x14d)]),_0x2a9dc0=_0x5ea9c2['get'](_0x5475a7[_0x450192(0xea)]),_0x133c25=_0x5ea9c2[_0x450192(0xe4)](_0x4652af['SheetsPivotRPCService']),_0x510d02=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x2fa)]),_0x2af8e1=_0x5ea9c2['get'](_0x4652af['SheetsPivotTableConfigModel']),_0x4a362a=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x3fb)]);if(!_0x4fadbb)return!0x1;const {pivotTableConfig:_0x1d8cc3,positionType:_0x3846f7}=_0x4fadbb,{targetCellInfo:_0x61adab,sourceRangeInfo:_0x24562d}=_0x1d8cc3,{unitId:_0x2b6650,subUnitId:_0x607965}=_0x61adab,_0x5de646=_0x1cc4e0[_0x450192(0x36f)](_0x2b6650);if(!_0x5de646)return!0x1;let _0x4e631d=0x0;_0x5de646[_0x450192(0x2f0)]()[_0x450192(0x15d)](_0x15f53d=>{const _0x478622=_0x450192;var _0x1ae88f,_0x2afe21;_0x4e631d+=(_0x2afe21=(_0x1ae88f=_0x2af8e1[_0x478622(0x3b4)](_0x2b6650,_0x15f53d[_0x478622(0x38d)]()))==null?void 0x0:_0x1ae88f[_0x478622(0x290)])!=null?_0x2afe21:0x0;});const _0x443524=(_0x5864e6=_0x4a362a[_0x450192(0x146)](_0x57119e['LS_CONFIG_KEY']))!=null?_0x5864e6:{},{ls:_0x298d02,pbk:_0x1def2f}=_0x443524;if(!_0x57370b(_0x298d02,_0x1def2f))return!0x1;const _0x504313=_0x16ef4f(_0x5dcb75,_0x298d02,_0x1def2f)[_0x450192(0x3e0)];if(_0x4e631d>=_0x504313)return!0x1;const _0x206d05=_0x4fadbb[_0x450192(0x252)]||_0x42fb89[_0x450192(0x242)](0x8),_0x28a2ab=(await _0x133c25[_0x450192(0x24b)]({'unitId':_0x2b6650,'subUnitId':_0x607965,'pivotTableId':_0x206d05,'params':{'type':_0x12f3cf[_0x450192(0x2b6)],'addPivotTable':{'sourceRangeInfo':_0x24562d,'pivotTableId':_0x206d05}}}))[_0x450192(0x2d6)]['addPivotTable'];if(!_0x28a2ab)return!0x1;const {view:_0x11c89b,isEmpty:_0x179186,fieldsConfig:_0x553e17,collectionConfig:_0x17fe77}=_0x28a2ab,_0x1244f9=[],_0x29a2ae=[];if(_0x3846f7===_0x570a84[_0x450192(0x38e)]){const _0xfffe64=_0x5de646[_0x450192(0x2f0)]()['length'],_0x1bc7d6=_0x5475a7['mergeWorksheetSnapshotWithDefault']({});_0x1bc7d6['id']=_0x1d8cc3['targetCellInfo'][_0x450192(0x341)],_0x1bc7d6[_0x450192(0x12f)]=(_0x1e102c=_0x1d8cc3[_0x450192(0x258)][_0x450192(0x320)])!=null?_0x1e102c:_0x5de646['generateNewSheetName'](''+_0x2a9dc0['t'](_0x450192(0x130)));const _0x457004={'index':_0xfffe64,'sheet':_0x1bc7d6,'unitId':_0x2b6650},_0x45b9e7=_0x20619b[_0x450192(0x184)](_0x5ea9c2,_0x457004);_0x1244f9[_0x450192(0x229)]({'id':_0x20619b[_0x450192(0x294)]['id'],'params':_0x45b9e7}),_0x29a2ae['push']({'id':_0x20619b[_0x450192(0x1bb)]['id'],'params':_0x457004});}else{if(!_0x5de646[_0x450192(0x153)](_0x607965))return!0x1;const _0x13795e=_0x4ba4b0(_0x5ea9c2,new _0x42fb89[(_0x450192(0x2e8))](),_0x61adab,!0x0);_0x29a2ae['push'](..._0x13795e[_0x450192(0x1f0)]),_0x1244f9['push'](..._0x13795e['undos']);const _0x209a46={'cellInfo':_0x61adab,'view':_0x11c89b,'isEmpty':_0x179186};if(!await _0x5ea9c2[_0x450192(0xe4)](_0x4652af['SheetsPivotTableService'])[_0x450192(0x2c7)][_0x450192(0x3d7)](_0x510c1a)(!0x0,_0x209a46))return!0x1;const _0x23c856=_0x3b48c3(_0x5ea9c2,_0x209a46);_0x29a2ae['push'](..._0x23c856['redos']),_0x1244f9[_0x450192(0x229)](..._0x23c856['undos']);}return _0x29a2ae['push']({'id':_0x211495['id'],'params':{'unitId':_0x61adab[_0x450192(0x2ec)],'subUnitId':_0x61adab['subUnitId'],'pivotTableId':_0x206d05,'pivotTableConfig':{'targetCellInfo':_0x61adab,'sourceRangeInfo':_0x24562d,'fieldsConfig':_0x553e17},'collectionConfig':_0x17fe77}}),_0x1244f9['unshift']({'id':_0x5d03d4['id'],'params':{'unitId':_0x2b6650,'subUnitId':_0x607965,'pivotTableId':_0x206d05}}),_0x5475a7[_0x450192(0x37d)](_0x29a2ae,_0x3467c9)&&_0x510d02[_0x450192(0x318)]({'unitID':_0x2b6650,'undoMutations':_0x1244f9,'redoMutations':_0x29a2ae}),!0x0;}},_0x17cc00={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x265),async 'handler'(_0x56c27c,_0x23ee15){const _0x2124ec=_0x37107d;if(!_0x23ee15)return!0x1;const _0x4f8043=_0x56c27c[_0x2124ec(0xe4)](_0x5475a7[_0x2124ec(0x3d6)]),_0x3b6cac=_0x56c27c[_0x2124ec(0xe4)](_0x4652af[_0x2124ec(0x1d6)]),_0x3097af=_0x56c27c[_0x2124ec(0xe4)](_0x5475a7[_0x2124ec(0x2fa)]),{pivotTableId:_0x15de31,fieldId:_0x21cda5,area:_0x56786e,index:_0x5c0225,unitId:_0x1950b0,subUnitId:_0x51a775}=_0x23ee15,_0x691dfe=(await _0x3b6cac[_0x2124ec(0x24b)]({'unitId':_0x1950b0,'subUnitId':_0x51a775,'pivotTableId':_0x15de31,'params':{'type':_0x12f3cf[_0x2124ec(0x2c3)],'movePivotField':{'fieldId':_0x21cda5,'area':_0x56786e,'index':_0x5c0225}}}))[_0x2124ec(0x2d6)]['movePivotField'];if(!_0x691dfe)return!0x1;const {changesets:_0x47cf6e,view:_0x6e0fa6,isEmpty:_0x39f298,pivotTableConfig:_0x379800}=_0x691dfe,_0x50715b=_0x379800['targetCellInfo'],_0x1cd400=new _0x42fb89[(_0x2124ec(0x2e8))]();_0x1cd400[_0x2124ec(0x2a4)](_0x6e0fa6);const _0x324c4f={'cellInfo':_0x50715b,'view':_0x1cd400,'isEmpty':_0x39f298};if(!await _0x56c27c[_0x2124ec(0xe4)](_0x4652af[_0x2124ec(0x37c)])['asyncInterceptor'][_0x2124ec(0x3d7)](_0x510c1a)(!0x0,_0x324c4f))return!0x1;const _0x218581=_0x4ba4b0(_0x56c27c,_0x1cd400,_0x50715b,_0x39f298),_0x476d71=_0x3b48c3(_0x56c27c,_0x324c4f),{redos:_0x32a013,undos:_0x17e85a}=_0x1bd7c8(_0x4f8043,{'pivotTableId':_0x15de31,'unitId':_0x1950b0,'subUnitId':_0x51a775},_0x47cf6e);return _0x5475a7[_0x2124ec(0x37d)]([..._0x218581['redos'],..._0x476d71[_0x2124ec(0x1f0)],..._0x32a013],_0x4f8043),_0x3097af['pushUndoRedo']({'unitID':_0x1950b0,'redoMutations':[..._0x218581[_0x2124ec(0x1f0)],..._0x476d71['redos'],..._0x32a013],'undoMutations':[..._0x218581['undos'],..._0x476d71[_0x2124ec(0x28b)],..._0x17e85a]}),!0x0;}},_0x3357a9={'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'id':_0x37107d(0x367),'handler'(_0x5215d1,_0x29e220){const _0x44ea99=_0x37107d;if(!_0x29e220)return!0x1;if(!!_0x5215d1[_0x44ea99(0xe4)](_0x5475a7[_0x44ea99(0x3fb)])[_0x44ea99(0x146)](_0x4aadc7))return!0x0;const {pivotTableId:_0x444b15,targetCellPosition:_0x867c1b,unitId:_0x339993,subUnitId:_0x3d529e}=_0x29e220,_0x1995b6=_0x5215d1['get'](_0x4652af[_0x44ea99(0x275)]);if(!_0x1995b6[_0x44ea99(0x266)](_0x29e220['pivotTableId']))return!0x1;const _0x2c770d=_0x1995b6[_0x44ea99(0x3c7)](_0x444b15);if(!_0x2c770d)return!0x1;const _0x3f782e=_0x1995b6[_0x44ea99(0x3ad)](_0x2c770d['unitId'],_0x29e220[_0x44ea99(0x252)]);if(!_0x3f782e)return!0x1;const _0x358d0d=_0x1995b6[_0x44ea99(0x36b)](_0x2c770d[_0x44ea99(0x2ec)],_0x2c770d[_0x44ea99(0x341)],_0x444b15);if(!_0x358d0d)return!0x1;const _0x1760a6=_0x5475a7[_0x44ea99(0x3e1)][_0x44ea99(0x3f5)](_0x358d0d);_0x1760a6[_0x44ea99(0x258)]={'unitId':_0x339993,'subUnitId':_0x3d529e,'row':_0x867c1b['row'],'col':_0x867c1b[_0x44ea99(0x182)]};const _0x32063d=_0x3f782e[_0x44ea99(0x3ef)]();if(_0x2c770d['subUnitId']===_0x3d529e&&_0x2c770d[_0x44ea99(0x2ec)]===_0x339993)_0x1995b6[_0x44ea99(0x1ae)](_0x339993,_0x3d529e,_0x444b15,_0x1760a6),_0x1995b6[_0x44ea99(0x20a)]({'unitId':_0x339993,'subUnitId':_0x3d529e,'token':_0x444b15,'type':_0x5865c2[_0x44ea99(0x1f6)]});else{_0x1995b6[_0x44ea99(0x20a)]({'unitId':_0x2c770d[_0x44ea99(0x2ec)],'subUnitId':_0x2c770d['subUnitId'],'token':_0x444b15,'type':_0x5865c2['Delete']}),_0x1995b6[_0x44ea99(0x340)](_0x2c770d[_0x44ea99(0x2ec)],_0x2c770d[_0x44ea99(0x341)],_0x444b15);const _0x5f1e55=_0x1995b6[_0x44ea99(0x345)](_0x444b15,_0x32063d,_0x358d0d['sourceRangeInfo'],_0x1760a6[_0x44ea99(0x258)]),_0x4cd205=new _0x42fb89['PivotTable'](_0x5f1e55[_0x44ea99(0x11b)],void 0x0,_0x444b15);_0x4cd205[_0x44ea99(0x328)](_0x1760a6[_0x44ea99(0x311)]),_0x1995b6[_0x44ea99(0x3f6)](_0x339993,_0x3d529e,_0x444b15,_0x4cd205,_0x1760a6),_0x1995b6[_0x44ea99(0x20a)]({'unitId':_0x339993,'subUnitId':_0x3d529e,'token':_0x444b15,'type':_0x5865c2['Add'],'pivotConfig':_0x1760a6});}return!0x0;}},_0x2d021e={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x2ae),'handler':(_0x2fb2d5,_0x23df71)=>{const _0xaae970=_0x37107d,_0x5e0ed8=_0x2fb2d5[_0xaae970(0xe4)](_0x5475a7['ICommandService']),_0x4048d4=_0x2fb2d5['get'](_0x5475a7['IUndoRedoService']),_0x4d6d97=_0x2fb2d5['get'](_0x4652af[_0xaae970(0x28f)]),_0x1df96c=_0x2fb2d5['get'](_0x5475a7[_0xaae970(0x14d)]);if(!_0x23df71)return!0x1;const _0x4906fd=_0x20619b[_0xaae970(0x3fe)](_0x1df96c);if(!_0x4906fd)return!0x1;const {unitId:_0x283e7b,subUnitId:_0x4460fe,workbook:_0x1a20f3}=_0x4906fd,_0x10c6cb=_0x4d6d97['getPivotTableConfig'](_0x23df71[_0xaae970(0x2ba)][_0xaae970(0x2ec)],_0x23df71[_0xaae970(0x2ba)][_0xaae970(0x341)],_0x23df71[_0xaae970(0x252)]);if(!_0x10c6cb)return!0x1;const _0x12fd2c=_0x1a20f3[_0xaae970(0x153)](_0x23df71[_0xaae970(0x258)]['subUnitId']);if(!_0x12fd2c)throw new Error(_0xaae970(0x264));const _0x498109=_0x12fd2c[_0xaae970(0x37e)](),_0x5c9d87=_0x12fd2c[_0xaae970(0x215)]();if(_0x23df71[_0xaae970(0x258)]['row']>_0x498109||_0x23df71[_0xaae970(0x258)][_0xaae970(0x182)]>_0x5c9d87)throw new Error(_0xaae970(0x398));const _0x160bee=[{'id':_0x3357a9['id'],'params':{'unitId':_0x283e7b,'subUnitId':_0x23df71[_0xaae970(0x258)][_0xaae970(0x341)],'pivotTableId':_0x23df71[_0xaae970(0x252)],'targetCellPosition':{'row':_0x23df71['targetCellInfo'][_0xaae970(0x107)],'col':_0x23df71[_0xaae970(0x258)][_0xaae970(0x182)]}}}],_0x3e1c3e=[{'id':_0x3357a9['id'],'params':{'unitId':_0x283e7b,'subUnitId':_0x4460fe,'pivotTableId':_0x23df71['pivotTableId'],'targetCellPosition':{'row':_0x10c6cb[_0xaae970(0x258)]['row'],'col':_0x10c6cb['targetCellInfo'][_0xaae970(0x182)]}}}];return _0x5475a7[_0xaae970(0x37d)](_0x160bee,_0x5e0ed8)&&_0x4048d4[_0xaae970(0x318)]({'unitID':_0x283e7b,'undoMutations':_0x3e1c3e,'redoMutations':_0x160bee}),!0x0;}},_0x559eef={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0x129),async 'handler'(_0x3cb786,_0x4ef86c){const _0x519480=_0x37107d;var _0x46f352;if(!_0x4ef86c)return!0x1;const _0x4c68d9=_0x3cb786['get'](_0x5475a7[_0x519480(0x14d)]),_0x239bc3=_0x20619b['getSheetCommandTarget'](_0x4c68d9);if(!_0x239bc3)return!0x1;const {unitId:_0x5a776a,subUnitId:_0x2c653b,workbook:_0x41b581}=_0x239bc3,{row:_0xb141ca,col:_0x52ddc7}=_0x4ef86c,_0x43d586=_0x3cb786['get'](_0x4652af[_0x519480(0x1d0)]),_0x4e2e54=_0x43d586[_0x519480(0x296)](_0x5a776a,_0x2c653b,_0xb141ca,_0x52ddc7);if(!_0x4e2e54)return!0x1;const _0xbd488b=(_0x46f352=_0x43d586[_0x519480(0x121)](_0x5a776a,_0x2c653b,_0x4e2e54))==null?void 0x0:_0x46f352[_0x519480(0x3cc)];if(!_0xbd488b)return!0x1;const _0x8655fb=_0x3cb786[_0x519480(0xe4)](_0x4652af['SheetsPivotTableConfigModel'])[_0x519480(0x36b)](_0x5a776a,_0x2c653b,_0x4e2e54);if(!_0x8655fb)return!0x1;const {rowInfo:_0x517f7d,colInfo:_0x42090e}=_0xbd488b,_0xa30ead=_0x517f7d[_0xb141ca][_0x519480(0x31c)],_0x5267ae=_0x42090e[_0x52ddc7][_0x519480(0x31c)],_0x5f8ebf=_0x517f7d[_0xb141ca]['level'],_0x24e71c=_0x42090e[_0x52ddc7][_0x519480(0x34a)],_0x152192=_0xa30ead[_0x519480(0x251)](_0x5267ae),_0x3c6afc=_0x8655fb[_0x519480(0x311)]['rowFields']['slice'](0x0,_0x5f8ebf),_0x267929=_0x8655fb[_0x519480(0x311)][_0x519480(0x280)][_0x519480(0x29b)](0x0,_0x24e71c),_0x15f5d1=_0x3c6afc[_0x519480(0x251)](_0x267929),_0x2bfe87=_0x152192[_0x519480(0x13c)]((_0x5cbb6b,_0x5b8489)=>[_0x5cbb6b,_0x15f5d1[_0x5b8489]]),_0x5cb0e1=(await _0x3cb786[_0x519480(0xe4)](_0x4652af[_0x519480(0x1d6)])[_0x519480(0x24b)]({'unitId':_0x5a776a,'subUnitId':_0x2c653b,'pivotTableId':_0x4e2e54,'params':{'type':_0x12f3cf['DrillDown'],'drillDown':{'tuple':_0x2bfe87}}}))['result'][_0x519480(0x28c)];if(!_0x5cb0e1)return!0x1;const {indexes:_0x2bab4d,range:_0x54c6d6,sourceUnitId:_0x2bda1a,sourceSubUnitId:_0x28ef49,formatMap:_0x191478}=_0x5cb0e1,{startRow:_0x52d079,endRow:_0x4b8b9f,startColumn:_0x660c83,endColumn:_0x15abcd}=_0x54c6d6,_0x2abade=new _0x5475a7[(_0x519480(0x303))](),_0x3c7ef6=_0x4b8b9f-_0x52d079,_0x320681=_0x15abcd-_0x660c83,_0x373593={},_0x2033fe=_0x20619b['getSheetCommandTarget'](_0x4c68d9,{'unitId':_0x2bda1a,'subUnitId':_0x28ef49});if(!_0x2033fe)return!0x1;const _0x12999b=_0x1659df['colStyle'],_0x36f5ae=_0x1659df['subTotalStyle'],_0x22abfe=_0x1659df[_0x519480(0x388)],_0xbe79f5=_0x41b581[_0x519480(0xf2)]()[_0x519480(0x331)](_0x12999b),_0x1288d6=_0x41b581[_0x519480(0xf2)]()[_0x519480(0x331)](_0x36f5ae),_0x28cf05=_0x41b581[_0x519480(0xf2)]()[_0x519480(0x331)](_0x22abfe),{worksheet:_0xacd4fd}=_0x2033fe;let _0x3aa6ad=0x0;const _0x58bdf1=0x1;_0x2bab4d[_0x519480(0x15d)](_0x195f95=>{const _0x363038=_0x519480;for(let _0x4cf146=0x0;_0x4cf146<=_0x15abcd-_0x660c83;_0x4cf146++)_0x2abade['setValue'](_0x3aa6ad,_0x4cf146,_0xacd4fd[_0x363038(0x3df)](_0x195f95+_0x54c6d6['startRow']+_0x58bdf1,_0x4cf146));_0x3aa6ad++;});for(let _0x2e2409=_0x660c83;_0x2e2409<=_0x15abcd;_0x2e2409++){const _0x4add47=_0xacd4fd[_0x519480(0x3df)](_0x52d079,_0x2e2409);_0x373593[_0x52d079]||(_0x373593[_0x52d079]={}),_0x373593[_0x52d079][_0x2e2409]={..._0x4add47,'s':_0xbe79f5};}let _0x299cce=0x1;const _0x2a373b={},_0x19f8ef={};_0x2abade[_0x519480(0x157)]((_0x210e09,_0x311ad8)=>{const _0x274eb6=_0x519480;_0x311ad8[_0x274eb6(0x15d)](_0x2b1014=>{const _0x14e698=_0x274eb6,_0x555395=_0x2abade['getValue'](_0x210e09,_0x2b1014);if(_0x373593[_0x299cce]||(_0x373593[_0x299cce]={}),_0x373593[_0x299cce][_0x2b1014]={..._0x555395,'s':_0x299cce%0x2===0x0?_0x28cf05:_0x1288d6},_0x191478[_0x2b1014]&&_0x210e09>=0x0){const _0x365ee3=_0x299cce%0x2===0x0;let _0x5ed577=_0x365ee3?_0x19f8ef[_0x2b1014]:_0x2a373b[_0x2b1014];_0x5ed577||(_0x5ed577=_0x41b581[_0x14e698(0xf2)]()[_0x14e698(0x331)]({..._0x365ee3?_0x22abfe:_0x36f5ae,'n':{'pattern':_0x191478[_0x2b1014]}}),_0x365ee3?_0x19f8ef[_0x2b1014]=_0x5ed577:_0x2a373b[_0x2b1014]=_0x5ed577),_0x373593[_0x299cce][_0x2b1014]['s']=_0x5ed577;}}),_0x299cce++;});const _0x108fea=new _0x5475a7['ObjectMatrix'](_0x373593),_0x2cf892={};_0x108fea[_0x519480(0x29e)]((_0x33850a,_0x14835f,_0x3d7639)=>{_0x2cf892[_0x33850a]||(_0x2cf892[_0x33850a]={}),_0x2cf892[_0x33850a][_0x14835f]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xfb73fd=[],_0x35b778=[],_0x540fd8=_0x41b581[_0x519480(0x2f0)]()[_0x519480(0x298)],_0x4ab61d=_0x5475a7[_0x519480(0x277)]({'rowCount':Math['max'](_0x5475a7['DEFAULT_WORKSHEET_ROW_COUNT'],_0x3c7ef6+0xa),'columnCount':Math[_0x519480(0x23f)](_0x5475a7[_0x519480(0x131)],_0x320681+0x5)}),_0xcbe3df=_0x3cb786[_0x519480(0xe4)](_0x5475a7[_0x519480(0xea)]);_0x4ab61d['id']=_0x5475a7[_0x519480(0x2a9)](),_0x4ab61d[_0x519480(0x12f)]=_0x41b581[_0x519480(0x1cb)](''+_0xcbe3df['t'](_0x519480(0x130)));const _0xb103b1={'index':_0x540fd8,'sheet':_0x4ab61d,'unitId':_0x5a776a},_0x1b9bef=_0x20619b['InsertSheetUndoMutationFactory'](_0x3cb786,_0xb103b1);_0x35b778[_0x519480(0x229)]({'id':_0x20619b['InsertSheetMutation']['id'],'params':_0xb103b1}),_0xfb73fd[_0x519480(0x229)]({'id':_0x20619b[_0x519480(0x294)]['id'],'params':_0x1b9bef}),_0x35b778[_0x519480(0x229)]({'id':_0x20619b[_0x519480(0x14c)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id'],'cellValue':_0x373593}}),_0xfb73fd[_0x519480(0x34e)]({'id':_0x20619b[_0x519480(0x14c)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id'],'cellValue':_0x2cf892}});const _0xe59d66={'startRow':0x0,'startColumn':0x0,'endRow':_0x299cce-0x1,'endColumn':_0x15abcd};_0x35b778[_0x519480(0x229)]({'id':_0x4187b0[_0x519480(0x17d)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id'],'range':_0xe59d66}}),_0xfb73fd[_0x519480(0x34e)]({'id':_0x4187b0[_0x519480(0x25b)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id']}});const _0x339675=_0x3cb786[_0x519480(0xe4)](_0x5475a7[_0x519480(0x3d6)]);return _0x5475a7[_0x519480(0x37d)](_0x35b778,_0x339675)&&_0x3cb786['get'](_0x5475a7[_0x519480(0x2fa)])['pushUndoRedo']({'unitID':_0x5a776a,'undoMutations':_0xfb73fd,'redoMutations':_0x35b778}),!0x0;}},_0x440bc6={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x3ba),async 'handler'(_0x33462e,_0x194d49){const _0x276b14=_0x37107d;if(!_0x194d49)return!0x1;const _0x313868=_0x33462e['get'](_0x5475a7[_0x276b14(0x3d6)]),_0xbbfe6=_0x33462e[_0x276b14(0xe4)](_0x4652af['SheetsPivotRPCService']),_0x5d35bb=_0x33462e[_0x276b14(0xe4)](_0x5475a7[_0x276b14(0x2fa)]),{pivotTableId:_0x4109fa,fieldIds:_0x15702d,unitId:_0x54031a,subUnitId:_0x50dbba}=_0x194d49,_0x34a45e=(await _0xbbfe6[_0x276b14(0x24b)]({'unitId':_0x54031a,'subUnitId':_0x50dbba,'pivotTableId':_0x4109fa,'params':{'type':_0x12f3cf[_0x276b14(0x240)],'removePivotField':{'fieldIds':_0x15702d}}}))[_0x276b14(0x2d6)][_0x276b14(0x2f9)];if(!_0x34a45e)return!0x1;const {view:_0xccc659,changesets:_0x427c80,isEmpty:_0x29d4fb,pivotTableConfig:_0x3379d7}=_0x34a45e,_0x45a412=_0x3379d7[_0x276b14(0x258)],_0x437503=new _0x42fb89[(_0x276b14(0x2e8))]();_0x437503[_0x276b14(0x2a4)](_0xccc659);const _0x4883eb={'cellInfo':_0x45a412,'view':_0x437503,'isEmpty':_0x29d4fb};if(!await _0x33462e[_0x276b14(0xe4)](_0x4652af[_0x276b14(0x37c)])[_0x276b14(0x2c7)][_0x276b14(0x3d7)](_0x510c1a)(!0x0,_0x4883eb))return!0x1;const _0x49b8ac=_0x4ba4b0(_0x33462e,_0x437503,_0x45a412,_0x29d4fb),_0x450f7a=_0x3b48c3(_0x33462e,_0x4883eb),{redos:_0x217aa5,undos:_0x5d9265}=_0x1bd7c8(_0x313868,{'pivotTableId':_0x4109fa,'unitId':_0x54031a,'subUnitId':_0x50dbba},_0x427c80);return _0x5475a7[_0x276b14(0x37d)]([..._0x49b8ac[_0x276b14(0x1f0)],..._0x450f7a[_0x276b14(0x1f0)],..._0x217aa5],_0x313868),_0x5d35bb[_0x276b14(0x318)]({'unitID':_0x54031a,'redoMutations':[..._0x49b8ac[_0x276b14(0x1f0)],..._0x450f7a['redos'],..._0x217aa5],'undoMutations':[..._0x49b8ac[_0x276b14(0x28b)],..._0x450f7a[_0x276b14(0x28b)],..._0x5d9265]}),!0x0;}},_0x5d2c34={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x21a),async 'handler'(_0xed7cd0,_0x5e6ece){const _0x1a1eda=_0x37107d;if(!_0x5e6ece)return!0x1;const _0x53f4f5=_0xed7cd0[_0x1a1eda(0xe4)](_0x5475a7['ICommandService']),_0x5735a8=_0xed7cd0[_0x1a1eda(0xe4)](_0x5475a7[_0x1a1eda(0x2fa)]),_0x13d73f=_0xed7cd0[_0x1a1eda(0xe4)](_0x4652af[_0x1a1eda(0x1d6)]),{resetArea:_0x4ecb7b,pivotTableId:_0x3d1c43,unitId:_0x230c9a,subUnitId:_0x2ff7a2}=_0x5e6ece,_0x5c2af7=(await _0x13d73f[_0x1a1eda(0x24b)]({'unitId':_0x230c9a,'subUnitId':_0x2ff7a2,'pivotTableId':_0x3d1c43,'params':{'type':_0x12f3cf[_0x1a1eda(0x377)],'resetPivotTable':{'pivotTableId':_0x3d1c43,'resetArea':_0x4ecb7b}}}))[_0x1a1eda(0x2d6)][_0x1a1eda(0x115)];if(!_0x5c2af7)return!0x1;const {changesets:_0x47dbfa}=_0x5c2af7,{redos:_0x2c4ca8,undos:_0x5539a4}=_0x1bd7c8(_0x53f4f5,{'pivotTableId':_0x3d1c43,'unitId':_0x230c9a,'subUnitId':_0x2ff7a2},_0x47dbfa);return _0x5475a7[_0x1a1eda(0x37d)](_0x2c4ca8,_0x53f4f5),_0x5735a8['pushUndoRedo']({'unitID':_0x230c9a,'redoMutations':_0x2c4ca8,'undoMutations':_0x5539a4}),!0x0;}},_0x3f4116={'type':_0x5475a7[_0x37107d(0x3ce)]['COMMAND'],'id':_0x37107d(0xf5),async 'handler'(_0x59505e,_0x161013){const _0x425445=_0x37107d,_0x536321=_0x59505e[_0x425445(0xe4)](_0x5475a7['ICommandService']),_0x4db6f3=_0x59505e[_0x425445(0xe4)](_0x4652af[_0x425445(0x1d6)]),_0x218632=_0x59505e[_0x425445(0xe4)](_0x4652af['SheetsPivotTableAdaptorModel']),_0x15bed8=_0x59505e[_0x425445(0xe4)](_0x5475a7['IUniverInstanceService']),_0x34f1af=_0x59505e[_0x425445(0xe4)](_0x5475a7[_0x425445(0xea)]),_0x4eb00b=_0x59505e[_0x425445(0xe4)](_0x5475a7[_0x425445(0x2fa)]);if(!_0x161013)return!0x1;const {unitId:_0x573868,subUnitId:_0x54a235,row:_0x3d3bcd,col:_0x4195d8,collapse:_0x4330cd}=_0x161013,_0x402519=_0x15bed8['getUnit'](_0x573868);if(!_0x402519||!_0x402519[_0x425445(0x153)](_0x54a235))return!0x1;const _0x754845=_0x218632['getPivotTableIdByCell'](_0x573868,_0x54a235,_0x3d3bcd,_0x4195d8);if(!_0x754845)return!0x1;const _0x1a1717=_0x218632['getPivotItemRenderInfoCache'](_0x573868,_0x54a235,_0x754845);if(!_0x1a1717)return!0x1;const _0x89388=_0x5475a7[_0x425445(0x2f7)](_0x3d3bcd,_0x4195d8),{rangesInfo:_0x8bb71c,areaInfo:_0x32fcad,headerMap:_0x18cd6c}=_0x1a1717;if(!_0x8bb71c||!_0x32fcad||!_0x18cd6c)return!0x1;const _0xfa730c=Object[_0x425445(0x33b)](_0x8bb71c)[_0x425445(0x344)](_0x36ac5b=>_0x8bb71c[_0x36ac5b]['some'](_0x1bca24=>_0x5475a7[_0x425445(0x2b7)][_0x425445(0x3b1)](_0x1bca24,_0x89388)));let _0x1a4b26;_0xfa730c===_0x425445(0x28a)?_0x1a4b26=_0x18cd6c[_0x425445(0x2e1)][_0x4195d8]:_0xfa730c===_0x425445(0x37b)&&(_0x1a4b26=_0x18cd6c['colHeaderMap'][_0x3d3bcd]);const _0x3cd26e=_0x1a4b26==null?void 0x0:_0x1a4b26[_0x425445(0x327)],_0x4dbcd6=_0x218632['getPivotTableCellData'](_0x573868,_0x54a235,_0x3d3bcd,_0x4195d8);let _0x579844=_0x4dbcd6==null?void 0x0:_0x4dbcd6['v'];if(_0x579844===_0x34f1af['t'](_0x425445(0x289))&&(_0x579844=_0x42fb89[_0x425445(0x309)][_0x425445(0x2bd)]),_0x579844==null||!_0x754845||!_0x3cd26e)return!0x1;const _0x2fe9aa=await _0x4db6f3['getPivotDisplayConfig']({'unitId':_0x573868,'subUnitId':_0x54a235,'pivotTableId':_0x754845,'params':{'type':_0x12f3cf[_0x425445(0x3a6)],'setPivotCollapse':{'tableFieldId':_0x3cd26e,'collapse':_0x4330cd,'item':_0x579844}}}),_0x17f3d5=_0x2fe9aa==null?void 0x0:_0x2fe9aa[_0x425445(0x2d6)][_0x425445(0x2cc)];if(!_0x17f3d5)return!0x1;const {view:_0x110ffd,pivotTableConfig:_0x3c7320,isEmpty:_0x26d178,changesets:_0x56fbe3}=_0x17f3d5,_0x507550=new _0x42fb89[(_0x425445(0x2e8))]();_0x507550[_0x425445(0x2a4)](_0x110ffd);const _0x412360=_0x3c7320['targetCellInfo'],_0x2484c5={'cellInfo':_0x412360,'view':_0x507550,'isEmpty':_0x26d178};if(!await _0x59505e[_0x425445(0xe4)](_0x4652af['SheetsPivotTableService'])[_0x425445(0x2c7)][_0x425445(0x3d7)](_0x510c1a)(!0x0,_0x2484c5))return!0x1;const _0x491ecf=_0x4ba4b0(_0x59505e,_0x507550,_0x412360,_0x26d178),_0x4dca58=_0x3b48c3(_0x59505e,_0x2484c5),{redos:_0x2ee5e4,undos:_0x5cf3a3}=_0x1bd7c8(_0x536321,{'pivotTableId':_0x754845,'unitId':_0x573868,'subUnitId':_0x54a235},_0x56fbe3);return _0x5475a7[_0x425445(0x37d)]([..._0x491ecf[_0x425445(0x1f0)],..._0x4dca58['redos'],..._0x2ee5e4],_0x536321),_0x4eb00b['pushUndoRedo']({'unitID':_0x573868,'redoMutations':[..._0x491ecf[_0x425445(0x1f0)],..._0x4dca58[_0x425445(0x1f0)],..._0x2ee5e4],'undoMutations':[..._0x491ecf[_0x425445(0x28b)],..._0x4dca58[_0x425445(0x28b)],..._0x5cf3a3]}),!0x0;}},_0x96da19={'type':_0x5475a7[_0x37107d(0x3ce)]['COMMAND'],'id':_0x37107d(0x2f1),async 'handler'(_0x329c65,_0x3d51fe){const _0x415a15=_0x37107d;if(!_0x3d51fe)return!0x1;const _0x8ecfbf=_0x329c65[_0x415a15(0xe4)](_0x5475a7[_0x415a15(0x3d6)]),_0x444842=_0x329c65[_0x415a15(0xe4)](_0x5475a7[_0x415a15(0x2fa)]),_0x1b7772=_0x329c65[_0x415a15(0xe4)](_0x4652af[_0x415a15(0x1d6)]),{pivotTableConfig:_0x54295b,pivotTableId:_0x3ef211,unitId:_0x3a6ad8,subUnitId:_0x323508}=_0x3d51fe,_0x284ea9=(await _0x1b7772[_0x415a15(0x24b)]({'unitId':_0x3a6ad8,'subUnitId':_0x323508,'pivotTableId':_0x3ef211,'params':{'type':_0x12f3cf[_0x415a15(0x278)],'setPivotTableConfig':{'pivotTableId':_0x3ef211,'pivotTableConfig':_0x54295b}}}))[_0x415a15(0x2d6)][_0x415a15(0x1d1)];if(!_0x284ea9)return!0x1;const {changesets:_0xacd091}=_0x284ea9,{redos:_0x513be8,undos:_0x10bf78}=_0x1bd7c8(_0x8ecfbf,{'pivotTableId':_0x3ef211,'unitId':_0x3a6ad8,'subUnitId':_0x323508},_0xacd091);return _0x5475a7[_0x415a15(0x37d)](_0x513be8,_0x8ecfbf),_0x444842[_0x415a15(0x318)]({'unitID':_0x3a6ad8,'redoMutations':_0x513be8,'undoMutations':_0x10bf78}),!0x0;}},_0x1fe6e6={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x365),async 'handler'(_0x15ae27,_0x71c69c){const _0x3105c3=_0x37107d;if(!_0x71c69c)return!0x1;const _0x42c940=_0x15ae27[_0x3105c3(0xe4)](_0x5475a7['ICommandService']),{pivotTableId:_0x4db473,tableFieldId:_0x150768,items:_0xa080e3,unitId:_0x970a9c,subUnitId:_0x5e3e02,isAll:_0x3bd1e5}=_0x71c69c,_0x3a0335=_0x15ae27[_0x3105c3(0xe4)](_0x4652af[_0x3105c3(0x1d6)]),_0x4ff87d=_0x15ae27[_0x3105c3(0xe4)](_0x5475a7[_0x3105c3(0x2fa)]),_0x2e83fd=(await _0x3a0335[_0x3105c3(0x24b)]({'unitId':_0x970a9c,'subUnitId':_0x5e3e02,'pivotTableId':_0x4db473,'params':{'type':_0x12f3cf[_0x3105c3(0x15c)],'setPivotFilter':{'tableFieldId':_0x150768,'items':_0xa080e3,'isAll':_0x3bd1e5}}}))[_0x3105c3(0x2d6)][_0x3105c3(0x127)];if(!_0x2e83fd)return!0x1;const {changesets:_0x1b91c0,pivotTableConfig:_0x445b2e,isEmpty:_0x3bf832,view:_0x4254f2}=_0x2e83fd,_0x11eaf4=_0x445b2e[_0x3105c3(0x258)],_0x5115ed=new _0x42fb89['PivotView']();_0x5115ed[_0x3105c3(0x2a4)](_0x4254f2);const _0x57e049={'cellInfo':_0x11eaf4,'view':_0x5115ed,'isEmpty':_0x3bf832};if(!await _0x15ae27['get'](_0x4652af[_0x3105c3(0x37c)])[_0x3105c3(0x2c7)][_0x3105c3(0x3d7)](_0x510c1a)(!0x0,_0x57e049))return!0x1;const _0x2d48cf=_0x4ba4b0(_0x15ae27,_0x5115ed,_0x11eaf4,_0x3bf832),_0x38b998=_0x3b48c3(_0x15ae27,_0x57e049),{undos:_0x4ba1ab,redos:_0x568ead}=_0x1bd7c8(_0x42c940,{'pivotTableId':_0x4db473,'unitId':_0x970a9c,'subUnitId':_0x5e3e02},_0x1b91c0);return _0x5475a7[_0x3105c3(0x37d)]([..._0x2d48cf['redos'],..._0x38b998['redos'],..._0x568ead],_0x42c940),_0x4ff87d[_0x3105c3(0x318)]({'unitID':_0x970a9c,'redoMutations':[..._0x2d48cf[_0x3105c3(0x1f0)],..._0x38b998[_0x3105c3(0x1f0)],..._0x568ead],'undoMutations':[..._0x2d48cf[_0x3105c3(0x28b)],..._0x38b998['undos'],..._0x4ba1ab]}),!0x0;}},_0x555447={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0xf4),async 'handler'(_0x345db6,_0x3233fa){const _0xb8eafa=_0x37107d;if(!_0x3233fa)return!0x1;const _0x361871=_0x345db6[_0xb8eafa(0xe4)](_0x5475a7[_0xb8eafa(0x3d6)]),_0x224f52=_0x345db6[_0xb8eafa(0xe4)](_0x5475a7[_0xb8eafa(0x2fa)]),_0x4faec8=_0x345db6[_0xb8eafa(0xe4)](_0x4652af['SheetsPivotRPCService']),{info:_0x5a97d4,tableFieldId:_0x29ee84,pivotTableId:_0x3b225b,unitId:_0x4347bc,subUnitId:_0x41358c}=_0x3233fa,_0x482bbd=(await _0x4faec8['getPivotDisplayConfig']({'unitId':_0x4347bc,'subUnitId':_0x41358c,'pivotTableId':_0x3b225b,'params':{'type':_0x12f3cf[_0xb8eafa(0x3d4)],'setPivotSort':{'tableFieldId':_0x29ee84,'info':_0x5a97d4}}}))[_0xb8eafa(0x2d6)]['setPivotSort'];if(!_0x482bbd)return!0x1;const {changesets:_0x47ebc2}=_0x482bbd,{redos:_0xd61f11,undos:_0x34525a}=_0x1bd7c8(_0x361871,{'pivotTableId':_0x3b225b,'unitId':_0x4347bc,'subUnitId':_0x41358c},_0x47ebc2);return _0x5475a7[_0xb8eafa(0x37d)](_0xd61f11,_0x361871),_0x224f52[_0xb8eafa(0x318)]({'unitID':_0x4347bc,'redoMutations':_0xd61f11,'undoMutations':_0x34525a}),!0x0;}},_0x375ca0={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0x207),async 'handler'(_0x242557,_0x389a57){const _0x517eff=_0x37107d;if(!_0x389a57)return!0x1;const _0x405dd1=_0x242557[_0x517eff(0xe4)](_0x5475a7['ICommandService']),{pivotTableId:_0x554768,fieldId:_0xa9f307,valueFilterInfo:_0x166a2c,unitId:_0x2d6561,subUnitId:_0x32fa0c}=_0x389a57,_0x28e3cf=_0x242557[_0x517eff(0xe4)](_0x4652af['SheetsPivotRPCService']),_0x2e46e9=_0x242557[_0x517eff(0xe4)](_0x5475a7[_0x517eff(0x2fa)]),_0x403726=(await _0x28e3cf[_0x517eff(0x24b)]({'unitId':_0x2d6561,'subUnitId':_0x32fa0c,'pivotTableId':_0x554768,'params':{'type':_0x12f3cf[_0x517eff(0x1ec)],'setValuePivotFilter':{'tableFieldId':_0xa9f307,'filterInfo':_0x166a2c}}}))[_0x517eff(0x2d6)]['setValuePivotFilter'];if(!_0x403726)return!0x1;const {changesets:_0x8c2cfa,pivotTableConfig:_0xefecc2,isEmpty:_0x17af06,view:_0x5c3c09}=_0x403726,_0xed0006=_0xefecc2['targetCellInfo'],_0x5781f5=new _0x42fb89[(_0x517eff(0x2e8))]();_0x5781f5['formJSON'](_0x5c3c09);const _0x371a29={'cellInfo':_0xed0006,'view':_0x5781f5,'isEmpty':_0x17af06};if(!await _0x242557['get'](_0x4652af[_0x517eff(0x37c)])['asyncInterceptor'][_0x517eff(0x3d7)](_0x510c1a)(!0x0,_0x371a29))return!0x1;const _0x26b70f=_0x4ba4b0(_0x242557,_0x5781f5,_0xed0006,_0x17af06),_0x3f96d2=_0x3b48c3(_0x242557,_0x371a29),{undos:_0x42ae88,redos:_0x4d63a7}=_0x1bd7c8(_0x405dd1,{'pivotTableId':_0x554768,'unitId':_0x2d6561,'subUnitId':_0x32fa0c},_0x8c2cfa);return _0x5475a7['sequenceExecute']([..._0x26b70f[_0x517eff(0x1f0)],..._0x3f96d2[_0x517eff(0x1f0)],..._0x4d63a7],_0x405dd1),_0x2e46e9['pushUndoRedo']({'unitID':_0x2d6561,'redoMutations':[..._0x26b70f[_0x517eff(0x1f0)],..._0x3f96d2[_0x517eff(0x1f0)],..._0x4d63a7],'undoMutations':[..._0x26b70f[_0x517eff(0x28b)],..._0x3f96d2[_0x517eff(0x28b)],..._0x42ae88]}),!0x0;}},_0x44e983={'id':_0x37107d(0x1ce),'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'handler':(_0x145598,_0x3b1fca)=>{const _0x14b6fb=_0x37107d;if(!_0x3b1fca)return!0x1;if(!!_0x145598[_0x14b6fb(0xe4)](_0x5475a7[_0x14b6fb(0x3fb)])[_0x14b6fb(0x146)](_0x4aadc7))return!0x0;const {unitId:_0x3fa91d,subUnitId:_0xe243a3,pivotTableId:_0x5eb195,tableFieldId:_0x41d3f6,dateType:_0x4070f8}=_0x3b1fca,_0x54eced=_0x145598[_0x14b6fb(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),_0x38d17b=_0x54eced[_0x14b6fb(0x266)](_0x5eb195);if(!_0x38d17b)return!0x1;const _0x532c14=_0x38d17b['getDataFieldByTableId'](_0x41d3f6);if(!_0x532c14)return!0x1;const _0x471264=_0x532c14['getOriginFieldId'](),_0x3579b8=_0x38d17b['getDataFieldByDataFieldId'](_0x471264),_0x361534=(_0x3579b8==null?void 0x0:_0x3579b8['getName']())+'\x20'+_0x4a6f90(_0x145598,_0x4070f8);_0x54eced[_0x14b6fb(0x3ad)](_0x3fa91d,_0x5eb195)[_0x14b6fb(0x2e3)](_0x532c14['id'],_0x361534);const _0x43e1c0=_0x38d17b[_0x14b6fb(0x26b)](_0x41d3f6);if(!_0x43e1c0)return!0x1;_0x38d17b[_0x14b6fb(0x1b4)](_0x43e1c0[_0x14b6fb(0x193)](),_0x361534),_0x532c14[_0x14b6fb(0x3c5)](_0x4070f8);const _0x1aee1c=_0x54eced[_0x14b6fb(0x36b)](_0x3fa91d,_0xe243a3,_0x5eb195);return _0x54eced[_0x14b6fb(0x20a)]({'unitId':_0x3fa91d,'subUnitId':_0xe243a3,'token':_0x5eb195,'type':_0x5865c2[_0x14b6fb(0x1f6)],'pivotConfig':_0x1aee1c}),!0x0;}},_0x50a75e={'id':'sheet.command.update-date-group','type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'handler':(_0x21a99d,_0x192392)=>{const _0x11525f=_0x37107d;if(!_0x192392)return!0x1;const _0x29d731=_0x21a99d[_0x11525f(0xe4)](_0x5475a7['IUndoRedoService']),{unitId:_0x39ccac,subUnitId:_0x44c7fc,pivotTableId:_0x4146ec,tableFieldId:_0x54dc8c}=_0x192392,_0x355095=[],_0x28e72b=[],_0x44ddfb=_0x21a99d[_0x11525f(0xe4)](_0x4652af[_0x11525f(0x28f)]),_0x431c70=_0x44ddfb['getCollection'](_0x39ccac,_0x4146ec),_0x1540e3=_0x44ddfb['getPivotTableConfig'](_0x39ccac,_0x44c7fc,_0x4146ec);if(!(_0x1540e3!=null&&_0x1540e3[_0x11525f(0x311)]['dimension']))return!0x1;const _0x1e7687=Object[_0x11525f(0x24a)](_0x1540e3[_0x11525f(0x311)][_0x11525f(0x268)])[_0x11525f(0x344)](_0x276a79=>_0x276a79['id']===_0x54dc8c);if(!_0x1e7687)return!0x1;const _0x30bc72=_0x1e7687['dataFieldId'];if(!(_0x431c70!=null&&_0x431c70[_0x11525f(0x10a)]))return!0x1;const _0xde1edc=Object[_0x11525f(0x24a)](_0x431c70==null?void 0x0:_0x431c70['fields'])[_0x11525f(0x344)](_0x45663a=>_0x45663a['id']===_0x30bc72);if(!_0xde1edc)return!0x1;_0x42fb89[_0x11525f(0x15b)](_0xde1edc)&&_0x355095['push']({'id':_0x44e983['id'],'params':{..._0x192392,'dateType':_0xde1edc[_0x11525f(0x1c3)]}}),_0x28e72b[_0x11525f(0x229)]({'id':_0x44e983['id'],'params':{..._0x192392}});const _0x663808=_0x21a99d['get'](_0x5475a7[_0x11525f(0x3d6)]);return _0x5475a7[_0x11525f(0x37d)](_0x28e72b,_0x663808)&&_0x29d731['pushUndoRedo']({'unitID':_0x39ccac,'undoMutations':_0x355095,'redoMutations':_0x28e72b}),!0x0;}},_0x4bfb69={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x330),async 'handler'(_0x2ad296,_0x2dff80){const _0x330681=_0x37107d;if(!_0x2dff80)return!0x1;const _0x45712a=_0x2ad296['get'](_0x5475a7[_0x330681(0x3d6)]),_0x59ded0=_0x2ad296[_0x330681(0xe4)](_0x5475a7['IUndoRedoService']),_0x5916e5=_0x2ad296[_0x330681(0xe4)](_0x4652af[_0x330681(0x1d6)]),{displayName:_0x412a23,subtotalType:_0x2f4ff0,format:_0x27d867,tableFieldId:_0x28077b,pivotTableId:_0x3c4398,unitId:_0x889601,subUnitId:_0x585fb4}=_0x2dff80,_0x584198=(await _0x5916e5[_0x330681(0x24b)]({'unitId':_0x889601,'subUnitId':_0x585fb4,'pivotTableId':_0x3c4398,'params':{'type':_0x12f3cf[_0x330681(0x2dd)],'setPivotSetting':{'tableFieldId':_0x28077b,'displayName':_0x412a23,'subtotalType':_0x2f4ff0,'format':_0x27d867}}}))[_0x330681(0x2d6)]['setPivotSetting'];if(!_0x584198)return!0x1;const {changesets:_0x5aa254,view:_0x3a117b,pivotTableConfig:_0x34a573,isEmpty:_0x1d0018}=_0x584198,_0x1614bc=_0x34a573[_0x330681(0x258)],_0x557207=new _0x42fb89[(_0x330681(0x2e8))]();_0x557207[_0x330681(0x2a4)](_0x3a117b);const _0x17adfb={'cellInfo':_0x1614bc,'view':_0x557207,'isEmpty':_0x1d0018};if(!await _0x2ad296[_0x330681(0xe4)](_0x4652af[_0x330681(0x37c)])[_0x330681(0x2c7)]['fetchThroughAsyncInterceptors'](_0x510c1a)(!0x0,_0x17adfb))return!0x1;const _0x5ed2fa=_0x4ba4b0(_0x2ad296,_0x557207,_0x1614bc,_0x1d0018),_0x433459=_0x3b48c3(_0x2ad296,_0x17adfb),{undos:_0x4621f3,redos:_0x494737}=_0x1bd7c8(_0x45712a,{'pivotTableId':_0x3c4398,'unitId':_0x889601,'subUnitId':_0x585fb4},_0x5aa254);return _0x5475a7[_0x330681(0x37d)]([..._0x5ed2fa[_0x330681(0x1f0)],..._0x433459[_0x330681(0x1f0)],..._0x494737],_0x45712a),_0x59ded0[_0x330681(0x318)]({'unitID':_0x889601,'redoMutations':[..._0x5ed2fa['redos'],..._0x433459[_0x330681(0x1f0)],..._0x494737],'undoMutations':[..._0x5ed2fa[_0x330681(0x28b)],..._0x433459['undos'],..._0x4621f3]}),!0x0;}},_0xcb809c={'type':_0x5475a7['CommandType']['MUTATION'],'id':_0x37107d(0x379),'handler'(_0x22bac5,_0x422ab1){const _0x35c623=_0x37107d;if(!_0x422ab1)return!0x1;if(!!_0x22bac5[_0x35c623(0xe4)](_0x5475a7[_0x35c623(0x3fb)])['getConfig'](_0x4aadc7))return!0x0;const _0x2d9ad7=_0x22bac5['get'](_0x4652af[_0x35c623(0x275)]),{pivotTableId:_0x2860d1,deleteIds:_0x205d1f,collectionJSON:_0x3e3d2d,dataRangeInfo:_0x5834b8,unitId:_0x20082a,subUnitId:_0x373528}=_0x422ab1,_0x33f986=_0x2d9ad7[_0x35c623(0x266)](_0x2860d1),_0x3d5bf7=_0x2d9ad7[_0x35c623(0x36b)](_0x20082a,_0x373528,_0x2860d1);if(!_0x33f986||!_0x3d5bf7)return!0x1;const {collection:_0x155a0f,updateDataFieldList:_0x447fa1}=_0x2d9ad7[_0x35c623(0x345)](_0x2860d1,_0x3e3d2d,_0x5834b8,_0x3d5bf7['targetCellInfo']);_0x2d9ad7[_0x35c623(0x2a6)](_0x155a0f,_0x447fa1,_0x5834b8),_0x33f986[_0x35c623(0x361)](_0x155a0f);for(const _0x45f9d3 of _0x205d1f)_0x2d9ad7[_0x35c623(0x1bf)](_0x5834b8[_0x35c623(0x2ec)],_0x45f9d3);const _0x17b418=_0x2d9ad7['getPivotTableConfig'](_0x20082a,_0x373528,_0x2860d1);return _0x17b418['sourceRangeInfo']=JSON[_0x35c623(0x102)](JSON[_0x35c623(0x3c3)](_0x5834b8)),_0x2d9ad7[_0x35c623(0x20a)]({'unitId':_0x20082a,'subUnitId':_0x373528,'token':_0x2860d1,'type':_0x5865c2['Set']}),!0x0;}},_0x428251={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5e8763,_0x4526dd){const _0x2ac7e8=_0x37107d,_0x1bf388=_0x5e8763[_0x2ac7e8(0xe4)](_0x5475a7[_0x2ac7e8(0x3d6)]),_0x554242=_0x5e8763[_0x2ac7e8(0xe4)](_0x4652af[_0x2ac7e8(0x1d6)]),_0x926763=_0x5e8763[_0x2ac7e8(0xe4)](_0x5475a7[_0x2ac7e8(0x2fa)]);if(!_0x4526dd)return!0x1;const {token:_0x3dab09,dataRangeInfo:_0xda72a5,unitId:_0xa9dd99,subUnitId:_0x576f65}=_0x4526dd,_0x2da63b=[],_0x4ab07d=[],_0x213aa9=(await _0x554242[_0x2ac7e8(0x24b)]({'unitId':_0xa9dd99,'subUnitId':_0x576f65,'pivotTableId':_0x3dab09,'params':{'type':_0x12f3cf[_0x2ac7e8(0x409)],'updatePivotSource':{'dataRangeInfo':_0xda72a5,'unitId':_0xa9dd99,'subUnitId':_0x576f65}}}))[_0x2ac7e8(0x2d6)][_0x2ac7e8(0x2ab)];if(!_0x213aa9)return!0x1;const {changesets:_0x4293de,deleteIds:_0x4f6e80,collectionConfig:_0x293a52,oldCollectionConfig:_0x252284,view:_0x445e4b,isEmpty:_0x1e5dc8,pivotTableConfig:_0x24c373}=_0x213aa9;_0x4ab07d[_0x2ac7e8(0x229)]({'id':_0xcb809c['id'],'params':{'pivotTableId':_0x3dab09,'deleteIds':_0x4f6e80,'collectionJSON':_0x293a52,'dataRangeInfo':_0xda72a5,'unitId':_0xa9dd99,'subUnitId':_0x576f65}}),_0x2da63b[_0x2ac7e8(0x34e)]({'id':_0xcb809c['id'],'params':{'pivotTableId':_0x3dab09,'deleteIds':[],'collectionJSON':_0x252284,'dataRangeInfo':_0x24c373['sourceRangeInfo'],'unitId':_0xa9dd99,'subUnitId':_0x576f65}});const _0x2d2915=_0x24c373[_0x2ac7e8(0x258)],_0x5d499b=new _0x42fb89[(_0x2ac7e8(0x2e8))]();_0x5d499b[_0x2ac7e8(0x2a4)](_0x445e4b);const _0x1b830e={'cellInfo':_0x2d2915,'view':_0x5d499b,'isEmpty':_0x1e5dc8};if(!await _0x5e8763[_0x2ac7e8(0xe4)](_0x4652af['SheetsPivotTableService'])['asyncInterceptor'][_0x2ac7e8(0x3d7)](_0x510c1a)(!0x0,_0x1b830e))return!0x1;const _0x1eb63a=_0x4ba4b0(_0x5e8763,_0x5d499b,_0x2d2915,_0x1e5dc8),_0x462b2f=_0x3b48c3(_0x5e8763,_0x1b830e),{undos:_0x14fccb,redos:_0x4d5372}=_0x1bd7c8(_0x1bf388,{'pivotTableId':_0x3dab09,'unitId':_0xa9dd99,'subUnitId':_0x576f65},_0x4293de);return _0x5475a7[_0x2ac7e8(0x37d)]([..._0x1eb63a[_0x2ac7e8(0x1f0)],..._0x462b2f[_0x2ac7e8(0x1f0)],..._0x4ab07d,..._0x14fccb],_0x1bf388),_0x926763['pushUndoRedo']({'unitID':_0xa9dd99,'redoMutations':[..._0x1eb63a['redos'],..._0x462b2f['redos'],..._0x4ab07d,..._0x14fccb],'undoMutations':[..._0x1eb63a[_0x2ac7e8(0x28b)],..._0x462b2f[_0x2ac7e8(0x28b)],..._0x2da63b,..._0x4d5372]}),!0x0;}},_0x4711a7={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x24ead8,_0x53a57c){const _0x16b433=_0x37107d;if(!_0x53a57c)return!0x1;const _0x3f2c2c=_0x24ead8[_0x16b433(0xe4)](_0x5475a7[_0x16b433(0x3d6)]),_0x4ca66c=_0x24ead8[_0x16b433(0xe4)](_0x4652af[_0x16b433(0x1d6)]),_0x476c04=_0x24ead8[_0x16b433(0xe4)](_0x5475a7[_0x16b433(0x14d)]),_0x25606d=_0x24ead8['get'](_0x5475a7['IUndoRedoService']),{pivotTableId:_0x31018d,position:_0x3c1c3f,index:_0xe8b6b7}=_0x53a57c,_0x12c0e6=_0x20619b[_0x16b433(0x3fe)](_0x476c04);if(!_0x12c0e6)return!0x1;const {unitId:_0x5b6dd7,subUnitId:_0x5f09ab}=_0x12c0e6,_0x32e22a=(await _0x4ca66c[_0x16b433(0x24b)]({'unitId':_0x5b6dd7,'subUnitId':_0x5f09ab,'pivotTableId':_0x31018d,'params':{'type':_0x12f3cf[_0x16b433(0x173)],'updateValuePosition':{'position':_0x3c1c3f,'index':_0xe8b6b7}}}))[_0x16b433(0x2d6)]['updateValuePosition'];if(!_0x32e22a)return!0x1;const {changesets:_0x580453,view:_0x308705,isEmpty:_0x20d77a,pivotTableConfig:_0x205c2b}=_0x32e22a,_0x221eda=_0x205c2b[_0x16b433(0x258)],_0x453c86=new _0x42fb89[(_0x16b433(0x2e8))]();_0x453c86[_0x16b433(0x2a4)](_0x308705);const _0x1bb4b=_0x24ead8[_0x16b433(0xe4)](_0x4652af['SheetsPivotTableService']),_0x48a616={'cellInfo':_0x221eda,'view':_0x453c86,'isEmpty':_0x20d77a};if(!await _0x1bb4b['asyncInterceptor'][_0x16b433(0x3d7)](_0x510c1a)(!0x0,_0x48a616))return!0x1;const _0xf9ba24=_0x4ba4b0(_0x24ead8,_0x453c86,_0x221eda,_0x20d77a),_0x129f1d=_0x3b48c3(_0x24ead8,_0x48a616),{undos:_0x7f5ba8,redos:_0x1ef952}=_0x1bd7c8(_0x3f2c2c,{'pivotTableId':_0x31018d,'unitId':_0x5b6dd7,'subUnitId':_0x5f09ab},_0x580453);return _0x5475a7[_0x16b433(0x37d)]([..._0xf9ba24[_0x16b433(0x1f0)],..._0x129f1d['redos'],..._0x1ef952],_0x3f2c2c),_0x25606d[_0x16b433(0x318)]({'unitID':_0x5b6dd7,'redoMutations':[..._0xf9ba24[_0x16b433(0x1f0)],..._0x129f1d[_0x16b433(0x1f0)],..._0x1ef952],'undoMutations':[..._0xf9ba24[_0x16b433(0x28b)],..._0x129f1d[_0x16b433(0x28b)],..._0x7f5ba8]}),!0x0;}},_0x116d90={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x390),'handler'(){return!0x0;}};var _0x33bc7c=Object[_0x37107d(0x141)],_0x8ada97=(_0x386e72,_0x2a167c,_0x10b20a,_0x46b6ec)=>{const _0xf1edb=_0x37107d;for(var _0x1aafe6=_0x46b6ec>0x1?void 0x0:_0x46b6ec?_0x33bc7c(_0x2a167c,_0x10b20a):_0x2a167c,_0x191d0d=_0x386e72[_0xf1edb(0x298)]-0x1,_0x2ab311;_0x191d0d>=0x0;_0x191d0d--)(_0x2ab311=_0x386e72[_0x191d0d])&&(_0x1aafe6=_0x2ab311(_0x1aafe6)||_0x1aafe6);return _0x1aafe6;},_0x4b03f5=(_0xc1a1d9,_0x518eb0)=>(_0x273e8a,_0x2afa57)=>_0x518eb0(_0x273e8a,_0x2afa57,_0xc1a1d9);const _0x3c29de=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0xbb858d=(_0x187f69,_0x2bd668,_0x270e17)=>{const _0x41016c=_0x37107d,_0xde76a1=_0x187f69[_0x41016c(0x202)];_0x187f69[_0x41016c(0x373)](_0x2ae727=>{const _0x4033ee=_0x41016c,_0x699f98=_0x2ae727['getId'](),_0x5955b6=_0x2ae727[_0x4033ee(0x272)](),_0x1d0fac=_0x2ae727[_0x4033ee(0x2b0)](),_0x5f0776=_0x2ae727[_0x4033ee(0x113)]();_0x2bd668[_0x5955b6]&&_0x2bd668[_0x5955b6]===_0x5f0776&&_0x1d0fac===_0x5f0776&&(_0x187f69['renameField'](_0x699f98,_0xde76a1[_0x4033ee(0x113)](_0x5955b6)),_0x2ae727[_0x4033ee(0x167)](_0xde76a1[_0x4033ee(0x113)](_0x5955b6)));}),_0x187f69[_0x41016c(0x19d)](_0x42fb89[_0x41016c(0x114)]['Value'],_0x1dfe3d=>{const _0xfda683=_0x41016c,_0x57d79a=_0x1dfe3d[_0xfda683(0x193)](),_0x17fbff=_0x1dfe3d['getDataFieldId'](),_0x165532=_0x1dfe3d[_0xfda683(0x2b0)](),_0x2bb455=_0x1dfe3d[_0xfda683(0x113)](),_0x479d5e=_0x1dfe3d[_0xfda683(0x19b)](),_0x2c544f=_0x270e17(_0x165532,_0x479d5e);_0x2bd668[_0x17fbff]&&_0x2bd668[_0x17fbff]===_0x165532&&_0x2c544f===_0x2bb455&&(_0x187f69[_0xfda683(0x1b4)](_0x57d79a,_0x270e17(_0xde76a1['getDisplayName'](_0x17fbff),_0x479d5e)),_0x1dfe3d['setSourceName'](_0xde76a1['getDisplayName'](_0x17fbff)));});},_0x29639d=(_0x131443,_0x164a0d,_0x46a653)=>{const _0x2f29bb=_0x37107d;var _0x475fee,_0xdb5cc5;const {arrayFormulaCellData:_0x5918b4,unitData:_0x23974b}=_0x164a0d,{unitId:_0x4d73ac,subUnitId:_0x3c1260}=_0x46a653,_0x267dbf=_0x46a653[_0x2f29bb(0x3f8)],{startColumn:_0x502245,endColumn:_0x129644}=_0x267dbf,_0x1f35ee=(_0x475fee=_0x5918b4==null?void 0x0:_0x5918b4[_0x4d73ac])==null?void 0x0:_0x475fee[_0x3c1260],_0x59b309=(_0xdb5cc5=_0x23974b==null?void 0x0:_0x23974b[_0x4d73ac])==null?void 0x0:_0xdb5cc5[_0x3c1260],_0x1118e3=new Set(),_0x592536=_0x129644-_0x502245+0x1,{dirtyRanges:_0x467891}=_0x131443;if(_0x467891)for(const {range:_0x2eae41,sheetId:_0x101f95,unitId:_0x39fc4f}of _0x467891){if(_0x101f95!==_0x3c1260||_0x4d73ac!==_0x39fc4f)continue;const _0x4e616d=_0x5475a7[_0x2f29bb(0x2b7)][_0x2f29bb(0x307)](_0x2eae41,_0x267dbf);if(_0x4e616d){const {startColumn:_0x4571bf,endColumn:_0x44e50b}=_0x4e616d;for(let _0x4a9d33=_0x4571bf;_0x4a9d33<=_0x44e50b;_0x4a9d33++)_0x1118e3[_0x2f29bb(0x105)](_0x4a9d33);}}if(_0x1118e3['size']===_0x592536||_0x1118e3[_0x2f29bb(0x290)]===_0x592536)return Array[_0x2f29bb(0x40a)](_0x1118e3);if(_0x59b309){const _0x4ad1a8=_0x59b309['getMatrix'](),_0x42beb1=Object[_0x2f29bb(0x33b)](_0x4ad1a8);for(const _0x2c7434 of _0x42beb1){const _0x2c48f6=Number(_0x2c7434),_0x5a82af=_0x4ad1a8[_0x2c48f6];if(_0x1118e3[_0x2f29bb(0x290)]===_0x592536)break;for(const _0x2b6164 in _0x5a82af){const _0x4f3f2a=Number(_0x2b6164);_0x4f3f2a<_0x502245||_0x4f3f2a>_0x129644||_0x1118e3[_0x2f29bb(0x105)](_0x4f3f2a);}}}if(_0x1f35ee){const _0xff5550=_0x1f35ee[_0x2f29bb(0x3cd)](),_0x28e9e5=Object[_0x2f29bb(0x33b)](_0xff5550);for(const _0x187792 of _0x28e9e5){const _0x5f33b1=Number(_0x187792),_0xd9e200=_0xff5550[_0x5f33b1];if(_0x1118e3[_0x2f29bb(0x290)]===_0x592536)break;for(const _0x56128a in _0xd9e200){const _0x384701=Number(_0x56128a);_0x384701<_0x502245||_0x384701>_0x129644||_0x1118e3[_0x2f29bb(0x105)](_0x384701);}}}return Array[_0x2f29bb(0x40a)](_0x1118e3);},_0x362e19=_0x2755f5=>{const _0x243e1e=_0x37107d,_0xdfca9a=new Set(),_0x371573=[];for(const _0x3bfa61 of _0x2755f5){const _0x5793c8=_0x3bfa61[_0x243e1e(0x163)]+','+_0x3bfa61['endRow']+','+_0x3bfa61[_0x243e1e(0x342)]+','+_0x3bfa61[_0x243e1e(0x381)];_0xdfca9a[_0x243e1e(0x35c)](_0x5793c8)||(_0xdfca9a['add'](_0x5793c8),_0x371573['push'](_0x3bfa61));}return _0x371573;};let _0x446c62=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x116055,_0x528066,_0x399f95,_0x387c58,_0x3f3127){const _0x1e1e04=_0x37107d;super(),_0x33deac(this,_0x1e1e04(0x335),new _0xfe6fd0[(_0x1e1e04(0x2a5))](!0x0)),_0x33deac(this,_0x1e1e04(0x363),_0x37067e=>{const _0x13d738=_0x1e1e04;this[_0x13d738(0x335)][_0x13d738(0x38b)](!0x1);}),_0x33deac(this,_0x1e1e04(0x387),_0x4ea20d=>{const _0x9f4af1=_0x1e1e04;this[_0x9f4af1(0x335)][_0x9f4af1(0x38b)](!0x0);}),(this[_0x1e1e04(0x285)]=_0x116055,this[_0x1e1e04(0x396)]=_0x528066,this[_0x1e1e04(0x2e0)]=_0x399f95,this[_0x1e1e04(0x3a2)]=_0x387c58,this[_0x1e1e04(0x21c)]=_0x3f3127,this[_0x1e1e04(0x308)](),this[_0x1e1e04(0x2d0)]());}[_0x37107d(0x308)](){const _0x21e3ac=_0x37107d;this[_0x21e3ac(0x1e7)](),this[_0x21e3ac(0x28e)](),this['_initPivotTextInfo'](),this[_0x21e3ac(0x2e2)]();}[_0x37107d(0x378)](){const _0x2011d2=_0x37107d;this['_globalComputingSrv'][_0x2011d2(0x33e)](this[_0x2011d2(0x335)]),_0x42fb89['PivotTable'][_0x2011d2(0x362)](_0x42fb89[_0x2011d2(0x267)][_0x2011d2(0x233)],this[_0x2011d2(0x363)]),_0x42fb89[_0x2011d2(0x151)]['registerCallbackWithEvent'](_0x42fb89['PivotCallbackEnum'][_0x2011d2(0x16a)],this[_0x2011d2(0x387)]);}['_initPivotDataGetListener'](){const _0x3fbeb1=_0x37107d;this[_0x3fbeb1(0xe0)](this['_commandService'][_0x3fbeb1(0x34b)](_0x32383b=>{const _0x2bd866=_0x3fbeb1;_0x32383b['id']===_0x20619b[_0x2bd866(0x1d5)]['id']&&this[_0x2bd866(0x285)][_0x2bd866(0xf3)](_0x32383b[_0x2bd866(0x132)]);})),this[_0x3fbeb1(0xe0)](this[_0x3fbeb1(0x2e0)]['onCommandExecuted'](_0x5170e2=>{const _0x405725=_0x3fbeb1;if(_0x5170e2['id']!==_0x4fcc0a['id'])return;const _0x4ef865=_0x5170e2[_0x405725(0x132)],{unitId:_0x1ef0e9,subUnitId:_0x4b865f,pivotTableId:_0x594e4f}=_0x4ef865,_0x2dba13=_0x4ef865[_0x405725(0x132)][_0x405725(0x249)],_0x252b6e={};switch(_0x2dba13){case _0x12f3cf[_0x405725(0x2ff)]:{const _0x26397e=_0x4ef865[_0x405725(0x132)][_0x405725(0x183)];if(!_0x26397e)return;const {row:_0xa49a87,col:_0x6a1e66,cellData:_0x5c8b0a,pivotItemRenderInfoCache:_0x8815c7,tableFieldId:_0xec993}=_0x26397e,_0x3bbe4c=this['_sheetsPivotDataSourceModel'][_0x405725(0x266)](_0x4ef865[_0x405725(0x252)]);if(!_0x3bbe4c||!_0x8815c7)return;if(_0xec993){const _0x3e1c8d=_0x3bbe4c['getDataFieldByTableId'](_0xec993);if(!_0x3e1c8d)return;_0x252b6e[_0x405725(0x183)]={..._0x3bbe4c[_0x405725(0x2b9)](_0x3e1c8d),'tableFieldId':_0xec993,'pivotTableId':_0x4ef865[_0x405725(0x252)],'filterInfo':_0x3bbe4c[_0x405725(0x3e8)](_0xec993),'sortInfo':_0x3bbe4c['getSortInfo'](_0xec993),'format':_0x3bbe4c[_0x405725(0x11d)](_0xec993)};}else{const _0x43b60d=_0x3d7698(_0xa49a87,_0x6a1e66,_0x5c8b0a,_0x3bbe4c,_0x8815c7),_0x16a4b7=_0x43b60d==null?void 0x0:_0x43b60d[_0x405725(0x262)];if(!_0x16a4b7)return;const _0x3b2a1c=_0x3bbe4c['getDataFieldByTableId'](_0x16a4b7);if(!_0x3b2a1c)return;_0x252b6e['filter']={..._0x3bbe4c[_0x405725(0x2b9)](_0x3b2a1c),'tableFieldId':_0x16a4b7,'pivotTableId':_0x4ef865[_0x405725(0x252)],'filterInfo':_0x3bbe4c[_0x405725(0x3e8)](_0x16a4b7),'sortInfo':_0x3bbe4c[_0x405725(0x357)](_0x16a4b7),'format':_0x3bbe4c[_0x405725(0x11d)](_0x16a4b7)};}}break;case _0x12f3cf[_0x405725(0x181)]:{const _0x3285d3=_0x4ef865[_0x405725(0x132)][_0x405725(0x399)];if(!_0x3285d3)return;const {pivotTableId:_0x3f3919}=_0x3285d3,_0x3defdb=this[_0x405725(0x285)][_0x405725(0x266)](_0x3f3919);if(!_0x3defdb)return;const _0x193e29=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x3f3919),_0x56f89f=_0x83e56b(_0x3defdb,_0x3f3919,_0x193e29);_0x252b6e['panel']=_0x56f89f;}break;case _0x12f3cf['AddPivotField']:{const _0x4835aa=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x452b93=this[_0x405725(0x285)][_0x405725(0x1aa)](_0x1ef0e9),_0x54ed2f=_0x452b93[_0x405725(0x3ad)](_0x594e4f);let _0x91403f=null;const _0x1d3c94=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f),_0x65bd6c=_0x4ef865[_0x405725(0x132)][_0x405725(0x1de)];if(!_0x4835aa||!_0x1d3c94||!_0x65bd6c)return!0x1;const {dataFieldId:_0x5c5e75,fieldArea:_0x2b76bc,index:_0x5dfb32}=_0x65bd6c;_0x4835aa['startCollectChangeset']();const _0x599d33=_0x4835aa[_0x405725(0x116)](_0x5c5e75,_0x2b76bc,_0x5dfb32);if(_0x599d33&&_0x2b76bc===_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]){const _0x37dfd9=_0x599d33[_0x405725(0x193)](),_0x16df64=_0x4835aa[_0x405725(0x1a9)](_0x37dfd9);if(_0x16df64){const _0x2b546f=_0x16df64==null?void 0x0:_0x16df64[_0x405725(0x324)]();_0x4835aa[_0x405725(0x343)](_0x599d33[_0x405725(0x193)](),_0x2b546f===_0x42fb89['PivotDataFieldDataTypeEnum'][_0x405725(0x14a)]?_0x42fb89[_0x405725(0x1ff)][_0x405725(0x137)]:_0x42fb89[_0x405725(0x1ff)]['count']);}const _0x52892d=_0x4835aa['getValueIndex'](),_0x5ccea0=_0x4835aa[_0x405725(0x334)](),_0x8b96fc=_0x4835aa['getFieldCountByArea'](_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]);if(_0x52892d===-0x1&&_0x8b96fc>0x1){const _0xf63948=_0x5ccea0===_0x42fb89[_0x405725(0xf9)][_0x405725(0x139)]?_0x42fb89[_0x405725(0xf9)][_0x405725(0x1bc)]:_0x5ccea0,_0x35510a=_0xf63948===_0x42fb89['PivotTableValuePositionEnum'][_0x405725(0x1c6)]?_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]:_0x42fb89[_0x405725(0x114)][_0x405725(0x1bc)];_0x4835aa[_0x405725(0x30c)](_0xf63948,_0x4835aa[_0x405725(0x196)](_0x35510a));}}else{if(_0x599d33&&(_0x2b76bc===_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]||_0x2b76bc===_0x42fb89[_0x405725(0x114)][_0x405725(0x1bc)])){const _0x150cd4=_0x599d33[_0x405725(0x193)](),_0x55c5da=_0x4835aa[_0x405725(0x1a9)](_0x150cd4);if(_0x55c5da&&(_0x55c5da==null?void 0x0:_0x55c5da[_0x405725(0x324)]())===_0x42fb89[_0x405725(0x30a)][_0x405725(0x31e)]){const _0x3ce14c=_0x55c5da[_0x405725(0x1e4)]();if(_0x3ce14c&&_0x4835aa['setFieldFormat'](_0x599d33[_0x405725(0x193)](),_0x3ce14c),!_0x54ed2f[_0x405725(0x31a)]()[_0x405725(0x23b)](_0x4db19b=>{const _0x109df4=_0x405725,_0x935a3b=_0x54ed2f[_0x109df4(0x374)](_0x4db19b);return _0x42fb89[_0x109df4(0x2fb)](_0x935a3b)?_0x935a3b[_0x109df4(0x255)]()[_0x109df4(0x232)]===_0x5c5e75:!0x1;})){const _0x3e2ad2=_0x452b93[_0x405725(0x301)](),_0x421129=_0x2b9123(_0x55c5da['maxDate'],_0x55c5da[_0x405725(0x10e)]),_0x2d7eb8=_0x55c5da['getName']()+_0x405725(0x2c5)+_0x4a6f90(this[_0x405725(0x21c)],_0x421129),_0x5df8b5=new _0x42fb89['DateGroupField'](_0x3e2ad2,_0x2d7eb8,_0x42fb89['generateHexNumber'](0x3),_0x55c5da[_0x405725(0x193)](),_0x421129);_0x452b93[_0x405725(0x36a)](_0x5df8b5),_0x54ed2f[_0x405725(0x19e)](_0x3e2ad2,_0x2d7eb8),_0x4835aa[_0x405725(0x116)](_0x3e2ad2,_0x2b76bc,(_0x5dfb32!=null?_0x5dfb32:0x0)+0x1),_0x91403f=_0x5df8b5;}}}}const _0x265a0b=_0x4835aa[_0x405725(0x2eb)](),_0x1b89a7=_0x4835aa[_0x405725(0x20d)]()[_0x405725(0x3ef)]();let _0x502e92;if(_0x91403f){_0x502e92=_0x91403f['toJSON']();const _0x10ce05=_0x91403f['getId']();_0x54ed2f['deleteField'](_0x10ce05);let _0x4fcbcd=!0x0;for(const _0x2b9a9c in _0x452b93[_0x405725(0x3b9)])if(_0x452b93['collections'][_0x2b9a9c][_0x405725(0x31a)]()[_0x405725(0x3c9)](_0x10ce05)){_0x4fcbcd=!0x1;break;}_0x4fcbcd&&_0x452b93[_0x405725(0x3a0)](_0x10ce05);}const _0x11973f=_0x4835aa['endCollectChangeset']();_0x252b6e[_0x405725(0x1de)]={'view':_0x1b89a7,'changesets':_0x11973f,'isEmpty':_0x265a0b,'pivotTableConfig':_0x1d3c94,'shouldBeAddedGroupJSON':_0x502e92};}break;case _0x12f3cf[_0x405725(0x2b6)]:{const _0xfdf45=_0x4ef865[_0x405725(0x132)][_0x405725(0x3f6)];if(!_0xfdf45)return;const _0x344ae3=_0xfdf45[_0x405725(0x2fd)],_0x40cd02=_0xfdf45[_0x405725(0x252)],{collection:_0x11bab2}=this[_0x405725(0x285)]['createCollectionWithDataRange']({'unitId':_0x344ae3[_0x405725(0x2ec)],'sheetName':_0x344ae3[_0x405725(0x320)],'subUnitId':_0x344ae3[_0x405725(0x341)],'range':_0x344ae3['range']}),_0x24c866=new _0x42fb89[(_0x405725(0x151))](_0x11bab2,void 0x0,_0x40cd02),_0x330072=_0x24c866[_0x405725(0x20d)](),_0x5edea8=_0x24c866[_0x405725(0x3ef)](),_0x2aa83d=_0x11bab2['toJSON']();_0x252b6e[_0x405725(0x3f6)]={'view':_0x330072,'fieldsConfig':_0x5edea8,'collectionConfig':_0x2aa83d,'isEmpty':_0x24c866['isEmpty']()};}break;case _0x12f3cf[_0x405725(0x2c3)]:{const _0x3bb92e=_0x4ef865[_0x405725(0x132)][_0x405725(0x39a)];if(!_0x3bb92e)return;const {fieldId:_0x56dfae,area:_0x2c4254,index:_0x58fe7b}=_0x3bb92e,_0x27da46=this[_0x405725(0x285)]['getPivotTableConfig'](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x27da46)return;const _0x5c963c=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f);if(!_0x5c963c)return;_0x5c963c['startCollectChangeset']();const {area:_0x1b7398,index:_0x50aa5d}=_0x5c963c['getFieldPositionInfoById'](_0x56dfae);if(_0x5c963c[_0x405725(0x110)](_0x56dfae,_0x2c4254,_0x58fe7b),_0x2c4254===_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]&&_0x5c963c['getTableFieldById'](_0x56dfae)[_0x405725(0x19b)]()===void 0x0){const _0x17eb00=_0x5c963c['getTableFieldById'](_0x56dfae);if(_0x17eb00&&_0x17eb00[_0x405725(0x19b)]()===void 0x0){const _0x1d22c1=_0x5c963c['getDataFieldByTableId'](_0x56dfae);if(_0x1d22c1){const _0x30b50f=_0x1d22c1==null?void 0x0:_0x1d22c1[_0x405725(0x324)]();_0x5c963c[_0x405725(0x343)](_0x56dfae,_0x30b50f===_0x42fb89[_0x405725(0x30a)][_0x405725(0x14a)]?_0x42fb89[_0x405725(0x1ff)][_0x405725(0x137)]:_0x42fb89[_0x405725(0x1ff)]['count']);}}}const _0x57a1ff=_0x5c963c[_0x405725(0x334)](),_0x237418=_0x5c963c[_0x405725(0x160)](),_0x356cba=_0x5c963c[_0x405725(0x196)](_0x42fb89[_0x405725(0x114)][_0x405725(0x135)])>0x1;if(_0x356cba&&_0x1b7398===_0x2c4254&&(_0x2c4254===_0x42fb89[_0x405725(0x114)]['Row']&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Row']||_0x2c4254===_0x42fb89[_0x405725(0x114)][_0x405725(0x1bc)]&&_0x57a1ff===_0x42fb89['PivotTableValuePositionEnum']['Column'])){let _0x3d2846=_0x237418;_0x50aa5d<=_0x237418&&_0x3d2846--,_0x58fe7b<=_0x237418&&_0x3d2846++,_0x5c963c[_0x405725(0x30c)](_0x57a1ff,_0x3d2846);}else _0x356cba&&(_0x1b7398===_0x42fb89['PivotTableFiledAreaEnum']['Row']&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Row']||_0x1b7398===_0x42fb89[_0x405725(0x114)]['Column']&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Column'])&&_0x237418>=_0x50aa5d&&_0x5c963c[_0x405725(0x30c)](_0x57a1ff,_0x237418-0x1),_0x356cba&&(_0x2c4254===_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]&&_0x57a1ff===_0x42fb89['PivotTableValuePositionEnum']['Row']||_0x2c4254===_0x42fb89['PivotTableFiledAreaEnum'][_0x405725(0x1bc)]&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Column'])&&_0x237418>=_0x58fe7b&&_0x5c963c[_0x405725(0x30c)](_0x57a1ff,_0x237418+0x1);const _0x1157de=_0x5c963c[_0x405725(0x20d)](),_0x435e77=_0x5c963c[_0x405725(0x2eb)](),_0x4481dd=_0x5c963c[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x39a)]={'view':_0x1157de['toJSON'](),'changesets':_0x4481dd,'isEmpty':_0x435e77,'pivotTableConfig':_0x27da46};}break;case _0x12f3cf[_0x405725(0x240)]:{const _0x11202d=_0x4ef865[_0x405725(0x132)][_0x405725(0x2f9)];if(!_0x11202d)return;const _0x25464=_0x11202d['fieldIds'],_0x3dae04=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x3dae04)return!0x1;const _0x4663f7=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f);if(!_0x4663f7)return!0x1;_0x4663f7[_0x405725(0x1ee)]();for(const _0x318f47 of _0x25464){const {area:_0x3746f5}=_0x4663f7[_0x405725(0x190)](_0x318f47);_0x3746f5===_0x42fb89['PivotTableFiledAreaEnum'][_0x405725(0x135)]&&_0x4663f7[_0x405725(0x3a8)](_0x318f47),(_0x3746f5===_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]||_0x3746f5===_0x42fb89['PivotTableFiledAreaEnum'][_0x405725(0x1bc)])&&_0x4663f7['removeValueFilterInfo'](_0x318f47),_0x4663f7[_0x405725(0x1a6)](_0x318f47);}const _0x4ee571=_0x4663f7[_0x405725(0x2eb)](),_0x37363d=_0x4663f7[_0x405725(0x20d)]()['toJSON'](),_0x1927b8=_0x4663f7[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x2f9)]={'changesets':_0x1927b8,'pivotTableConfig':_0x3dae04,'isEmpty':_0x4ee571,'view':_0x37363d};}break;case _0x12f3cf[_0x405725(0x15c)]:{const _0x49d0de=_0x4ef865[_0x405725(0x132)][_0x405725(0x127)];if(!_0x49d0de)return;const {tableFieldId:_0x2237e1,items:_0x477b3e,isAll:_0x519d87}=_0x49d0de,_0x454bd0=this['_sheetsPivotDataSourceModel'][_0x405725(0x266)](_0x594e4f),_0x118480=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x454bd0||!_0x118480)return;_0x454bd0['startCollectChangeset'](),_0x454bd0[_0x405725(0x176)](_0x2237e1,{'type':_0x42fb89['PivotFilterTypeEnum'][_0x405725(0x27e)],'list':_0x477b3e,'isAll':_0x519d87});const _0x598709=_0x454bd0[_0x405725(0x2eb)](),_0x403dfa=_0x454bd0[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x326726=_0x454bd0[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x127)]={'view':_0x403dfa,'changesets':_0x326726,'isEmpty':_0x598709,'pivotTableConfig':_0x118480};}break;case _0x12f3cf['SetValuePivotFilter']:{const _0x1fe12a=_0x4ef865['params'][_0x405725(0x404)];if(!_0x1fe12a)return;const {tableFieldId:_0x143228,filterInfo:_0x3075b8}=_0x1fe12a,_0x178713=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x3bb59f=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x178713||!_0x3bb59f)return;_0x178713[_0x405725(0x1ee)](),_0x178713['setValueFilterInfo'](_0x143228,_0x3075b8);const _0x2dab86=_0x178713[_0x405725(0x2eb)](),_0x2d167d=_0x178713[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x1302f4=_0x178713[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x404)]={'view':_0x2d167d,'changesets':_0x1302f4,'isEmpty':_0x2dab86,'pivotTableConfig':_0x3bb59f};}break;case _0x12f3cf[_0x405725(0x3d4)]:{const _0x2845dd=_0x4ef865[_0x405725(0x132)]['setPivotSort'];if(!_0x2845dd)return;const {tableFieldId:_0xaada90,info:_0x20331d}=_0x2845dd,_0x44c7b2=this[_0x405725(0x285)]['getPivotTableInstance'](_0x594e4f),_0x43e0c0=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x44c7b2||!_0x43e0c0)return;_0x44c7b2[_0x405725(0x1ee)](),_0x44c7b2['setSortInfo'](_0xaada90,_0x20331d);const _0x414137=_0x44c7b2['isEmpty'](),_0xe5dcae=_0x44c7b2[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0xcfcfad=_0x44c7b2[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x2a7)]={'view':_0xe5dcae,'changesets':_0xcfcfad,'isEmpty':_0x414137,'pivotTableConfig':_0x43e0c0};}break;case _0x12f3cf['SetPivotSetting']:{const _0x4a813a=_0x4ef865['params'][_0x405725(0x26a)];if(!_0x4a813a)return;const {tableFieldId:_0x7ade4f,displayName:_0x29104b,subtotalType:_0x376062,format:_0x347e5f}=_0x4a813a,_0x2ab349=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x4c420f=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x2ab349||!_0x4c420f)return;_0x2ab349[_0x405725(0x1ee)](),_0x29104b!==void 0x0&&_0x2ab349['renameField'](_0x7ade4f,_0x29104b),_0x376062!==void 0x0&&_0x2ab349[_0x405725(0x343)](_0x7ade4f,_0x376062),_0x347e5f!==void 0x0&&_0x2ab349['setFieldFormat'](_0x7ade4f,_0x347e5f);const _0x2033e4=_0x2ab349[_0x405725(0x2eb)](),_0x13745a=_0x2ab349[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x1695db=_0x2ab349[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x26a)]={'changesets':_0x1695db,'pivotTableConfig':_0x4c420f,'isEmpty':_0x2033e4,'view':_0x13745a};}break;case _0x12f3cf[_0x405725(0x409)]:{const _0x26bcb4=_0x4ef865[_0x405725(0x132)][_0x405725(0x2ab)];if(!_0x26bcb4)return;const {dataRangeInfo:_0x4801ce,unitId:_0x265be0,subUnitId:_0x4f3234}=_0x26bcb4,_0x2053a1=this[_0x405725(0x285)][_0x405725(0x36b)](_0x265be0,_0x4f3234,_0x594e4f),_0xfb0e95=this[_0x405725(0x285)]['getPivotTableInstance'](_0x594e4f);if(!this[_0x405725(0x285)][_0x405725(0x3ad)](_0x265be0,_0x594e4f)||!_0xfb0e95||!_0x2053a1)return;const _0x2f80d9=this['_sheetsPivotDataSourceModel'][_0x405725(0x353)](_0x265be0,_0x594e4f,_0x4801ce),_0x3a3779=this[_0x405725(0x285)]['getCollection'](_0x265be0,_0x594e4f)[_0x405725(0x3ef)](),{collection:_0xbab973}=this[_0x405725(0x285)][_0x405725(0x27d)]({'unitId':_0x4801ce[_0x405725(0x2ec)],'sheetName':_0x4801ce[_0x405725(0x320)],'subUnitId':_0x4801ce[_0x405725(0x341)],'range':_0x4801ce[_0x405725(0x3f8)]}),_0x254fe4=_0xbab973[_0x405725(0x3ef)]();_0xfb0e95[_0x405725(0x1ee)]();const _0x1b34fb=this[_0x405725(0x285)][_0x405725(0x1aa)](_0x265be0)[_0x405725(0x16d)]()||_0x42fb89[_0x405725(0x397)];_0xfb0e95[_0x405725(0x1fe)](_0x10581a=>{const _0x33033e=_0x405725,_0x572aed=_0x10581a[_0x33033e(0x272)]();if(!_0xbab973[_0x33033e(0x199)](_0x572aed)){const _0x51fc50=_0xbab973[_0x33033e(0x245)](_0x10581a['getSourceName']());if(_0x51fc50){_0xfb0e95[_0x33033e(0x299)](_0x10581a['getId'](),_0x51fc50['getName'](),_0x51fc50[_0x33033e(0x193)]());const {area:_0xe30974}=_0xfb0e95[_0x33033e(0x190)](_0x10581a[_0x33033e(0x193)]());let _0x1a3dfe=_0x10581a[_0x33033e(0x2b0)]();const _0x19c8d2=_0x10581a[_0x33033e(0x113)]();if(_0xe30974===_0x42fb89[_0x33033e(0x114)][_0x33033e(0x135)]){const _0x1081d5=_0x10581a[_0x33033e(0x19b)]();_0x1a3dfe=_0x1b34fb(_0x51fc50[_0x33033e(0x257)](),_0x1081d5);}_0x19c8d2!==_0x1a3dfe&&_0xfb0e95[_0x33033e(0x1b4)](_0x10581a[_0x33033e(0x193)](),_0x1a3dfe);}else _0xfb0e95[_0x33033e(0x1a6)](_0x10581a['getId']());}});const _0x2d5dbb=_0xfb0e95['isEmpty'](),_0x309d0e=_0xfb0e95['query']()[_0x405725(0x3ef)](),_0x55fc12=_0xfb0e95[_0x405725(0xf0)]();_0x252b6e['updatePivotSource']={'view':_0x309d0e,'changesets':_0x55fc12,'isEmpty':_0x2d5dbb,'pivotTableConfig':_0x2053a1,'collectionConfig':_0x254fe4,'oldCollectionConfig':_0x3a3779,'deleteIds':_0x2f80d9};}break;case _0x12f3cf['UpdateValuePosition']:{const _0x3e56ba=_0x4ef865[_0x405725(0x132)][_0x405725(0x30c)];if(!_0x3e56ba)return;const {position:_0x3f07e6,index:_0x5d12bd}=_0x3e56ba,_0x1d5b3b=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x1d5b3b)return!0x1;const _0x4b985f=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f);if(!_0x4b985f)return!0x1;_0x4b985f[_0x405725(0x1ee)](),_0x4b985f['updateValuePosition'](_0x3f07e6,_0x5d12bd);const _0x3fd455=_0x4b985f[_0x405725(0x2eb)](),_0x3cdb4c=_0x4b985f[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x4851d7=_0x4b985f[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x30c)]={'changesets':_0x4851d7,'pivotTableConfig':_0x1d5b3b,'isEmpty':_0x3fd455,'view':_0x3cdb4c};}break;case _0x12f3cf[_0x405725(0x3a6)]:{const _0x598be5=_0x4ef865[_0x405725(0x132)][_0x405725(0x2cc)];if(!_0x598be5)return;const {tableFieldId:_0x3fbb50,collapse:_0x242a30,item:_0x369534}=_0x598be5,_0x43aca3=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x720e5=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x43aca3||!_0x720e5)return;_0x43aca3[_0x405725(0x1ee)](),_0x43aca3[_0x405725(0x2ef)](_0x3fbb50,_0x242a30,_0x369534);const _0xcf4000=_0x43aca3[_0x405725(0x2eb)](),_0x79c738=_0x43aca3[_0x405725(0x20d)]()['toJSON'](),_0x553f07=_0x43aca3[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x2cc)]={'view':_0x79c738,'isEmpty':_0xcf4000,'pivotTableConfig':_0x720e5,'changesets':_0x553f07};}break;case _0x12f3cf[_0x405725(0x278)]:{const _0x6e0dde=_0x4ef865[_0x405725(0x132)][_0x405725(0x1d1)];if(!_0x6e0dde)return;const {pivotTableConfig:_0x326918}=_0x6e0dde,_0x4bb1ee=this['_sheetsPivotDataSourceModel'][_0x405725(0x266)](_0x594e4f),_0x40e535=this['_sheetsPivotDataSourceModel'][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x4bb1ee||!_0x40e535)return;_0x4bb1ee[_0x405725(0x1ee)](),_0xa8b6d0(_0x4bb1ee,_0x326918);const _0x5623c6=_0x4bb1ee[_0x405725(0x2eb)](),_0x301ef7=_0x4bb1ee[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x46e39e=_0x4bb1ee[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x1d1)]={'view':_0x301ef7,'isEmpty':_0x5623c6,'pivotTableConfig':{..._0x40e535,'fieldsConfig':_0x4bb1ee[_0x405725(0x3ef)]()},'changesets':_0x46e39e};}break;case _0x12f3cf[_0x405725(0x377)]:{const _0x3f3126=_0x4ef865[_0x405725(0x132)][_0x405725(0x115)];if(!_0x3f3126)return;const _0x14eade=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x5ba1a5=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x14eade||!_0x5ba1a5)return;_0x14eade[_0x405725(0x1ee)](),_0x297228(_0x14eade,_0x3f3126[_0x405725(0x312)]);const _0x1e3a6d=_0x14eade[_0x405725(0x20d)]()['toJSON'](),_0xd2b484=_0x14eade[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x115)]={'view':_0x1e3a6d,'isEmpty':!0x0,'pivotTableConfig':{..._0x5ba1a5,'fieldsConfig':_0x14eade[_0x405725(0x3ef)]()},'changesets':_0xd2b484};}break;case _0x12f3cf[_0x405725(0x1f1)]:{const _0x3c4477=_0x4ef865[_0x405725(0x132)][_0x405725(0xe1)];if(!_0x3c4477)return;const _0x4d802b=_0x3c4477['sourceRangeInfo'],_0x34bb6f=_0x3c4477[_0x405725(0x252)],{collection:_0x3be71f}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x4d802b['unitId'],'sheetName':_0x4d802b[_0x405725(0x320)],'subUnitId':_0x4d802b[_0x405725(0x341)],'range':_0x4d802b[_0x405725(0x3f8)]}),_0x35f4fd=new _0x42fb89[(_0x405725(0x151))](_0x3be71f,void 0x0,_0x34bb6f),_0x3ad52d=_0x3be71f[_0x405725(0x31a)](),{rows:_0x1dd508,columns:_0x3b45ec,filters:_0x472d58,values:_0x1c8c85}=_0x3c4477[_0x405725(0x1d7)];_0x35f4fd['startCollectChangeset']();for(const {field:_0xba3872,selectedItems:_0x39c9e0}of _0x1dd508||[]){const _0x582a18=_0x3ad52d[_0xba3872];if(_0x582a18){const _0x5e00b0=_0x35f4fd[_0x405725(0x116)](_0x582a18,_0x42fb89[_0x405725(0x114)]['Row']);_0x39c9e0&&_0x5e00b0&&_0x35f4fd['setLabelFilterInfo'](_0x5e00b0['getId'](),{'type':_0x42fb89['PivotFilterTypeEnum']['ManualFilter'],'list':_0x39c9e0,'isAll':!0x1});}}for(const {field:_0x2207e0,selectedItems:_0x468c53}of _0x3b45ec||[]){const _0x3d585d=_0x3ad52d[_0x2207e0];if(_0x3d585d){const _0x2f771f=_0x35f4fd['addFieldWithSourceId'](_0x3d585d,_0x42fb89['PivotTableFiledAreaEnum']['Column']);_0x468c53&&_0x2f771f&&_0x35f4fd[_0x405725(0x176)](_0x2f771f[_0x405725(0x193)](),{'type':_0x42fb89[_0x405725(0x174)][_0x405725(0x27e)],'list':_0x468c53,'isAll':!0x1});}}for(const {field:_0x1079f2,selectedItems:_0x1d0d0d}of _0x472d58||[]){const _0xda1a3f=_0x3ad52d[_0x1079f2];if(_0xda1a3f){const _0x45afc2=_0x35f4fd[_0x405725(0x116)](_0xda1a3f,_0x42fb89[_0x405725(0x114)]['Filter']);_0x1d0d0d&&_0x45afc2&&_0x35f4fd[_0x405725(0x176)](_0x45afc2[_0x405725(0x193)](),{'type':_0x42fb89[_0x405725(0x174)][_0x405725(0x27e)],'list':_0x1d0d0d,'isAll':!0x1});}}for(const {field:_0x48e027,subTotalType:_0x2c5e60,formatString:_0xfed246}of _0x1c8c85||[]){const _0x505ffa=_0x3be71f[_0x405725(0x374)](_0x3ad52d[_0x48e027]);if(!_0x505ffa)continue;const _0x4e9d0e=_0x3ad52d[_0x48e027];if(_0x4e9d0e){const _0x2d4b3c=_0x35f4fd[_0x405725(0x116)](_0x4e9d0e,_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]);if(_0x2d4b3c){if(_0x2c5e60!==void 0x0){_0x35f4fd[_0x405725(0x343)](_0x2d4b3c[_0x405725(0x193)](),_0x2c5e60);const _0x1af639=this[_0x405725(0x285)][_0x405725(0x1aa)](_0x4d802b[_0x405725(0x2ec)])[_0x405725(0x16d)]()||_0x42fb89[_0x405725(0x397)],_0x3daa7c=_0x3be71f['getDisplayName'](_0x4e9d0e),_0x4f69aa=_0x1af639(_0x3daa7c,_0x2c5e60);_0x35f4fd[_0x405725(0x1b4)](_0x2d4b3c[_0x405725(0x193)](),_0x4f69aa);}else{if(_0x505ffa){const _0x3ee294=_0x505ffa==null?void 0x0:_0x505ffa[_0x405725(0x324)]();_0x35f4fd[_0x405725(0x343)](_0x2d4b3c[_0x405725(0x193)](),_0x3ee294===_0x42fb89[_0x405725(0x30a)][_0x405725(0x14a)]?_0x42fb89[_0x405725(0x1ff)][_0x405725(0x137)]:_0x42fb89[_0x405725(0x1ff)][_0x405725(0x3e0)]);}}_0xfed246&&_0x35f4fd[_0x405725(0x274)](_0x2d4b3c[_0x405725(0x193)](),_0xfed246);}}}const _0x5312fc=_0x35f4fd[_0x405725(0x20d)](),_0x23cfb3=_0x35f4fd[_0x405725(0x3ef)](),_0x5b0097=_0x35f4fd[_0x405725(0x2eb)](),_0x473f3c=_0x35f4fd[_0x405725(0xf0)](),_0x58db8b=_0x3be71f['toJSON']();_0x252b6e[_0x405725(0xe1)]={'view':_0x5312fc,'fieldsConfig':_0x23cfb3,'collectionConfig':_0x58db8b,'isEmpty':_0x5b0097,'changesets':_0x473f3c};}break;case _0x12f3cf[_0x405725(0x3f1)]:{const _0x41ec19=_0x30b0e8(this[_0x405725(0x21c)],_0x4ef865);if(!_0x41ec19)return;const {range:_0x1454fa,sourceSubUnitId:_0x110024,sourceUnitId:_0x1fbe92,formatMap:_0x50551a,indexes:_0x1287cb}=_0x41ec19;_0x252b6e[_0x405725(0x28c)]={'range':_0x1454fa,'sourceSubUnitId':_0x110024,'sourceUnitId':_0x1fbe92,'formatMap':_0x50551a,'indexes':_0x1287cb};}break;}this['_commandService'][_0x405725(0x11a)](_0x565331['id'],{'version':_0x4ef865[_0x405725(0x3ec)],'result':_0x252b6e},{'onlyLocal':!0x0});}));}[_0x37107d(0x22e)](){const _0x935ac3=_0x37107d;this[_0x935ac3(0xe0)](this['_commandService']['onCommandExecuted'](_0x322bd4=>{const _0x486e23=_0x935ac3;if(_0x322bd4['id']!==_0x560a95['id'])return;const _0x15c808=_0x322bd4[_0x486e23(0x132)];return this[_0x486e23(0x285)][_0x486e23(0x1c1)](_0x15c808[_0x486e23(0x23a)]),!0x0;}));}['_subjectCollectionChange'](){const _0x4db72a=_0x37107d;this[_0x4db72a(0x285)][_0x4db72a(0x2de)][_0x4db72a(0x3a1)](_0x4ef2d4=>{const _0x50770e=_0x4db72a;switch(_0x4ef2d4[_0x50770e(0x249)]){case _0x2863ee['add']:_0x4ef2d4[_0x50770e(0x3e6)]&&_0x4ef2d4[_0x50770e(0x258)]&&this[_0x50770e(0x346)](_0x4ef2d4[_0x50770e(0x30b)],_0x4ef2d4[_0x50770e(0x3e6)],_0x4ef2d4[_0x50770e(0x258)]);break;case _0x2863ee[_0x50770e(0x27b)]:{const {unitId:_0x3ea5b3,subUnitId:_0x3502cc,token:_0x358b75}=_0x4ef2d4;_0x3ea5b3&&_0x3502cc&&_0x358b75&&this['removeSourceRangeChange'](_0x3ea5b3,_0x3502cc,_0x358b75);}break;case _0x2863ee[_0x50770e(0x1e0)]:{const {token:_0xf574b1,oldSourceRangeInfo:_0x4a2665,dataRangeInfo:_0x51bef1,targetCellInfo:_0xc44ab4}=_0x4ef2d4,{unitId:_0x127a3c,subUnitId:_0x14c1c9}=_0x4a2665||{};_0x127a3c&&_0x14c1c9&&_0xf574b1&&this['removeSourceRangeChange'](_0x127a3c,_0x14c1c9,_0xf574b1),_0x51bef1&&_0xc44ab4&&this[_0x50770e(0x346)](_0xf574b1,_0x51bef1,_0xc44ab4);}break;}});}[_0x37107d(0x2e2)](){const _0xb1bde1=_0x37107d;this[_0xb1bde1(0x285)][_0xb1bde1(0x3ac)]['subscribe'](_0x3135e3=>{const _0x338243=_0xb1bde1;Object['keys'](_0x3135e3)[_0x338243(0x15d)](_0x48afca=>{const _0x2ad34f=_0x338243,_0x3a61c0=this[_0x2ad34f(0x285)][_0x2ad34f(0x3c7)](_0x48afca);if(_0x3a61c0){const _0x3be881=this[_0x2ad34f(0x285)][_0x2ad34f(0x36b)](_0x3a61c0==null?void 0x0:_0x3a61c0[_0x2ad34f(0x2ec)],_0x3a61c0==null?void 0x0:_0x3a61c0[_0x2ad34f(0x341)],_0x48afca);_0x3be881&&(this[_0x2ad34f(0x346)](_0x48afca,_0x3be881[_0x2ad34f(0x2fd)],_0x3be881['targetCellInfo']),this[_0x2ad34f(0x322)]([{'unitId':_0x3a61c0[_0x2ad34f(0x2ec)],'subUnitId':_0x3a61c0['subUnitId'],'token':_0x48afca}]));}});});}[_0x37107d(0x28e)](){const _0x5cc77a=_0x37107d;this[_0x5cc77a(0x285)]['viewData$']['subscribe'](_0x1b2914=>{const _0x36596c=_0x5cc77a,{unitId:_0x1b0102,subUnitId:_0xc7a9ed,pivotTableId:_0x621b5b}=_0x1b2914;_0x1b0102&&_0xc7a9ed&&_0x621b5b&&this[_0x36596c(0x322)]([{'unitId':_0x1b0102,'subUnitId':_0xc7a9ed,'token':_0x621b5b}]);});}[_0x37107d(0x322)](_0x272659){const _0x5492f2=_0x37107d,_0x12304a={};_0x272659[_0x5492f2(0x15d)](_0x26ba25=>{var _0xe777ea,_0x419c00;const {unitId:_0x40e85e,subUnitId:_0xac4809,token:_0x443c1b}=_0x26ba25;_0x12304a[_0x40e85e]=(_0xe777ea=_0x12304a[_0x40e85e])!=null?_0xe777ea:{},_0x12304a[_0x40e85e][_0xac4809]=(_0x419c00=_0x12304a[_0x40e85e][_0xac4809])!=null?_0x419c00:{},_0x12304a[_0x40e85e][_0xac4809][_0x443c1b]=!0x0;}),this[_0x5492f2(0x2e0)][_0x5492f2(0x11a)](_0x116d90['id'],_0x12304a);}['removeSourceRangeChange'](_0xc621d2,_0x5cb637,_0x28f3a0){const _0x456699=_0x37107d;this[_0x456699(0x396)]['remove'](_0xc621d2,_0x5cb637,[_0x28f3a0]);}['handleSourceRangeChange'](_0x275565,_0xc5f3d1,_0x34e436){const _0x429d66=_0x37107d,{unitId:_0x589e86,subUnitId:_0x118a32}=_0xc5f3d1;this[_0x429d66(0x396)][_0x429d66(0x35c)](_0x34e436['unitId'],_0x34e436['subUnitId'],_0x275565)&&this[_0x429d66(0x247)](_0x589e86,_0x118a32,_0x275565);const _0x3c3bad={'sheetId':_0x118a32,..._0xc5f3d1};this['_featureCalculationManagerService'][_0x429d66(0x13e)](_0x34e436[_0x429d66(0x2ec)],_0x34e436[_0x429d66(0x341)],_0x275565,{'unitId':_0x34e436['unitId'],'subUnitId':_0x34e436[_0x429d66(0x341)],'dependencyRanges':[_0x3c3bad],'getDirtyData':(_0x1e4264,_0x693cdc)=>{const _0x29583b=_0x429d66,_0x3f0e13=this['_sheetsPivotDataSourceModel'],_0x24cd11=_0x3f0e13['getTargetByPivotId'](_0x275565);if(!_0x24cd11)return _0x3c29de();const {unitId:_0x2cd25b,subUnitId:_0x34f49c}=_0x24cd11,_0x2cbf5b=_0x29639d(_0x1e4264,_0x693cdc,_0xc5f3d1);if(_0x2cbf5b[_0x29583b(0x298)]>0x0){const _0x55035a=_0x3f0e13[_0x29583b(0x3ad)](_0x589e86,_0x275565),_0x2c1485=_0x55035a[_0x29583b(0x31a)](),_0x3242fc=this[_0x29583b(0x24d)](_0xc5f3d1[_0x29583b(0x2ec)],_0xc5f3d1[_0x29583b(0x341)],_0x693cdc),_0x131a36={},_0x253d8d=this[_0x29583b(0x285)][_0x29583b(0x1aa)](_0x2cd25b)['getAutoDisplayNameFunction']()||_0x42fb89['getAutoDisplayName'],_0x2c7361=[];for(const _0x5770f2 of _0x2cbf5b){const _0x490551=_0x5770f2-(_0xc5f3d1[_0x29583b(0x3f8)]['startColumn']||0x0),_0x14031c=_0x2c1485[_0x490551];_0x2c7361[_0x29583b(0x229)](_0x14031c),_0x131a36[_0x14031c]=_0x55035a[_0x29583b(0x374)](_0x14031c)[_0x29583b(0x257)](),_0x3f0e13[_0x29583b(0x1aa)](_0x589e86)['refreshDataField'](_0x14031c,_0xc5f3d1,_0x490551,_0x3242fc);}_0x55035a[_0x29583b(0x14e)](_0x2c7361)[_0x29583b(0x15d)](_0xbfa0ed=>{const _0xa31010=_0x29583b,[_0x467065,_0x4706af]=_0xbfa0ed,_0x422881=_0x55035a[_0xa31010(0x374)](_0x467065),_0x306029=_0x55035a['getFieldById'](_0x4706af);_0x422881&&_0x306029&&_0x422881[_0xa31010(0x204)](_0x306029);}),_0x55035a[_0x29583b(0x34c)]();const _0x50c332=_0x3f0e13['getPivotTableInstance'](_0x275565);if(_0x50c332){_0xbb858d(_0x50c332,_0x131a36,_0x253d8d),_0x50c332['setDirty'](!0x0);const _0x47fa91=_0x50c332[_0x29583b(0x20d)](),_0x2fe5f1=_0x3f0e13[_0x29583b(0x36b)](_0x2cd25b,_0x34f49c,_0x275565),_0x400c33=_0x3f0e13[_0x29583b(0x1aa)](_0x589e86)[_0x29583b(0x3ef)]();_0x3f0e13[_0x29583b(0x1db)](_0x2cd25b,_0x34f49c,_0x5865c2[_0x29583b(0x1f6)],_0x275565,_0x47fa91,_0x2fe5f1,_0x400c33,!0x0);}}return this[_0x29583b(0x3a5)](_0x2cd25b,_0x34f49c,_0x275565);}});}[_0x37107d(0x24d)](_0x217d4e,_0x4a2a82,_0x2e1e29){var _0xd6e36f,_0x28319e;const {arrayFormulaCellData:_0x114b8b,unitData:_0x279c3c}=_0x2e1e29,_0x56bfac=(_0xd6e36f=_0x114b8b==null?void 0x0:_0x114b8b[_0x217d4e])==null?void 0x0:_0xd6e36f[_0x4a2a82],_0x567f18=(_0x28319e=_0x279c3c==null?void 0x0:_0x279c3c[_0x217d4e])==null?void 0x0:_0x28319e[_0x4a2a82];return{'arrayFormulaCellDataMatrix':_0x56bfac,'unitDataMatrix':_0x567f18};}['getDirtyInfo'](_0x328baf,_0x259c0b,_0x3eeab4){const _0x4948d1=_0x37107d,_0x2f9a7d=this['_sheetsPivotDataSourceModel']['getViewData'](_0x328baf,_0x259c0b,_0x3eeab4),_0x589494=[],_0x130ecc=new _0x5475a7[(_0x4948d1(0x303))]();if(_0x2f9a7d){const {rangeCache:_0x14e201,matrix:_0x35a00b,oldRangeCache:_0x109f09,oldMatrix:_0x2128d6}=_0x2f9a7d,_0x1bb178=_0x262747(_0x109f09),_0x5dc23e=_0x262747(_0x14e201);_0x589494['push'](..._0x5dc23e,..._0x1bb178),_0x2128d6&&_0x109f09&&_0x1bb178[_0x4948d1(0x15d)](_0x589b25=>{const _0x3be92f=_0x4948d1;for(let _0x3944d3=_0x589b25[_0x3be92f(0x163)];_0x3944d3<=_0x589b25['endRow'];_0x3944d3++)for(let _0x2dd57c=_0x589b25[_0x3be92f(0x342)];_0x2dd57c<=_0x589b25[_0x3be92f(0x381)];_0x2dd57c++)_0x130ecc[_0x3be92f(0x14f)](_0x3944d3,_0x2dd57c);}),_0x35a00b&&_0x5dc23e&&_0x5dc23e['forEach'](_0x46aaa4=>{const _0x4a628b=_0x4948d1;for(let _0x4888cd=_0x46aaa4['startRow'];_0x4888cd<=_0x46aaa4[_0x4a628b(0x2a0)];_0x4888cd++)for(let _0x4431d7=_0x46aaa4['startColumn'];_0x4431d7<=_0x46aaa4[_0x4a628b(0x381)];_0x4431d7++)_0x130ecc['setValue'](_0x4888cd,_0x4431d7,_0x35a00b['getValue'](_0x4888cd,_0x4431d7));});}const _0x1c4ab5={};return _0x1c4ab5[_0x328baf]={[_0x259c0b]:_0x362e19(_0x589494)},{'runtimeCellData':{[_0x328baf]:{[_0x259c0b]:_0x130ecc}},'dirtyRanges':_0x1c4ab5};}[_0x37107d(0x191)](){}};_0x446c62=_0x8ada97([_0x4b03f5(0x0,_0x5475a7['Inject'](_0x4652af['SheetsPivotDataSourceModel'])),_0x4b03f5(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x38ed7b[_0x37107d(0x20c)])),_0x4b03f5(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['ICommandService'])),_0x4b03f5(0x3,_0x5475a7[_0x37107d(0x3c8)](_0x38ed7b[_0x37107d(0x33f)])),_0x4b03f5(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['Injector']))],_0x446c62);var _0x44216f=Object[_0x37107d(0x141)],_0x5dab95=(_0x3d389a,_0x5edeaa,_0xdcb9a8,_0x402d4e)=>{const _0x4e9023=_0x37107d;for(var _0x3bf709=_0x402d4e>0x1?void 0x0:_0x402d4e?_0x44216f(_0x5edeaa,_0xdcb9a8):_0x5edeaa,_0x16d402=_0x3d389a[_0x4e9023(0x298)]-0x1,_0x1e62dc;_0x16d402>=0x0;_0x16d402--)(_0x1e62dc=_0x3d389a[_0x16d402])&&(_0x3bf709=_0x1e62dc(_0x3bf709)||_0x3bf709);return _0x3bf709;},_0x30fe95=(_0x5bb2ed,_0x3a9241)=>(_0x33e7f7,_0x34b22a)=>_0x3a9241(_0x33e7f7,_0x34b22a,_0x5bb2ed);let _0x46ea69=class extends _0x5475a7['Disposable']{constructor(_0x36283a,_0xc16099,_0xbfc03,_0x5f4729){const _0x2fb349=_0x37107d;super(),_0x33deac(this,_0x2fb349(0x349),new _0x5475a7['DisposableCollection']()),(this[_0x2fb349(0x2d4)]=_0x36283a,this['_sheetInterceptorService']=_0xc16099,this[_0x2fb349(0x2c4)]=_0xbfc03,this[_0x2fb349(0x337)]=_0x5f4729,this[_0x2fb349(0x221)]());}['_initClearSelectionCommandInterceptor'](){const _0x340563=_0x37107d;this[_0x340563(0xe0)](this[_0x340563(0x1da)][_0x340563(0xe9)]({'getMutations':_0x28a629=>{const _0x360779=_0x340563;if(_0x28a629['id']===_0x20619b[_0x360779(0x21f)]['id']||_0x28a629['id']===_0x20619b['ClearSelectionAllCommand']['id']){const _0x2d233f=[],_0x3dd730=[],_0x4f3697=this[_0x360779(0x2c4)][_0x360779(0x2e4)]()['map'](_0x164f6e=>_0x164f6e['range']),_0x3eecd0=_0x20619b['getSheetCommandTarget'](this[_0x360779(0x2d4)]);if(!_0x3eecd0)return{'redos':[],'undos':[]};const {unitId:_0x1aafbe,subUnitId:_0x559556}=_0x3eecd0,_0xf1428a={},_0x1f3606=this[_0x360779(0x337)][_0x360779(0x3b4)](_0x1aafbe,_0x559556);if(_0x1f3606!=null&&_0x1f3606['size'])for(const [_0x3063cc,_0x115124]of _0x1f3606){const {unitId:_0x136ea3,subUnitId:_0x3ae8ca,row:_0x3251e8,col:_0x68584d}=_0x115124[_0x360779(0x258)];_0x136ea3===_0x3eecd0[_0x360779(0x2ec)]&&_0x3ae8ca===_0x3eecd0[_0x360779(0x341)]&&(_0xf1428a[_0x3251e8+'-'+_0x68584d]=_0x3063cc);}return _0x4f3697&&_0x3eecd0&&_0x4f3697[_0x360779(0x15d)](_0x69c155=>{const _0x370435=_0x360779;_0x5475a7[_0x370435(0x3ae)]['foreach'](_0x69c155,(_0x21479c,_0x13e850)=>{const _0x570249=_0x370435,_0x1cbb4b=_0x21479c+'-'+_0x13e850;if(_0xf1428a[_0x1cbb4b]){const _0x481544=_0xf1428a[_0x1cbb4b];_0x2d233f[_0x570249(0x229)]({'id':_0x5d03d4['id'],'params':{'unitId':_0x1aafbe,'subUnitId':_0x559556,'pivotTableId':_0x481544}});const _0x4f1110=this[_0x570249(0x337)]['getCollection'](_0x1aafbe,_0x481544),_0x23c7c4=this[_0x570249(0x337)]['getPivotTableConfig'](_0x1aafbe,_0x559556,_0x481544);_0x3dd730[_0x570249(0x229)]({'id':_0x211495['id'],'params':{'unitId':_0x1aafbe,'subUnitId':_0x559556,'pivotTableId':_0x481544,'pivotTableConfig':_0x23c7c4,'collectionConfig':_0x4f1110}});}});}),{'redos':_0x2d233f,'undos':_0x3dd730};}return{'redos':[],'undos':[]};}}));}};_0x46ea69=_0x5dab95([_0x30fe95(0x0,_0x5475a7[_0x37107d(0x14d)]),_0x30fe95(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x103)])),_0x30fe95(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x360)])),_0x30fe95(0x3,_0x5475a7['Inject'](_0x4652af[_0x37107d(0x28f)]))],_0x46ea69);var _0x2a79f6=Object[_0x37107d(0x141)],_0x4585ea=(_0x2e444e,_0x19113e,_0x140d39,_0x1a93e1)=>{const _0x57474b=_0x37107d;for(var _0x1d14ee=_0x1a93e1>0x1?void 0x0:_0x1a93e1?_0x2a79f6(_0x19113e,_0x140d39):_0x19113e,_0x2008f9=_0x2e444e[_0x57474b(0x298)]-0x1,_0x49a8df;_0x2008f9>=0x0;_0x2008f9--)(_0x49a8df=_0x2e444e[_0x2008f9])&&(_0x1d14ee=_0x49a8df(_0x1d14ee)||_0x1d14ee);return _0x1d14ee;},_0x43093d=(_0x22069e,_0x211327)=>(_0x4efb90,_0x4197f1)=>_0x211327(_0x4efb90,_0x4197f1,_0x22069e);let _0x1905c6=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x12eca6,_0x5de357,_0x3a1dbe,_0x314bfd,_0xe4e4e9){const _0xa7c188=_0x37107d;super(),this[_0xa7c188(0x1da)]=_0x12eca6,this[_0xa7c188(0x21c)]=_0x5de357,this[_0xa7c188(0x2d4)]=_0x3a1dbe,this['_sheetsPivotTableConfigModel']=_0x314bfd,this[_0xa7c188(0x1ba)]=_0xe4e4e9,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0x281c40,_0x23c614,_0x1bc75a){const _0x3dae7=_0x37107d,{pageView:_0x25a893,cornerView:_0x4befd6,rowView:_0x561893,colView:_0x283c88,dataView:_0x1cb2aa}=_0x23c614,_0x1eb90f=_0x281c40;let _0x251884;if(_0x1bc75a)_0x251884=[..._0x55509a(_0x1eb90f)];else{const _0xdfdc15=_0x5c1d7f(_0x1eb90f,_0x25a893,!0x0),_0x4006d8=_0x25a893[_0x3dae7(0x1ed)]>=0x0?_0x25a893[_0x3dae7(0x1ed)]+0x1:0x0,_0x3ee30d=_0x4befd6['rowCount'],_0x1f9537=_0x4befd6['colCount'],_0x483bf6=_0xdfdc15['length']>0x0?_0x42e754:0x0,_0x2eb523=_0x5c1d7f({'row':_0x1eb90f[_0x3dae7(0x107)]+_0x4006d8+_0x483bf6,'col':_0x1eb90f[_0x3dae7(0x182)]},_0x4befd6,!0x1,!0x1),_0x4dc959=_0x5c1d7f({'row':_0x1eb90f[_0x3dae7(0x107)]+_0x4006d8+_0x483bf6+_0x3ee30d,'col':_0x1eb90f[_0x3dae7(0x182)]},_0x561893,!0x1,!0x0),_0x30aef9=_0x5c1d7f({'row':_0x1eb90f['row']+_0x4006d8+_0x483bf6,'col':_0x1eb90f[_0x3dae7(0x182)]+_0x1f9537},_0x283c88,!0x1,!0x0),_0x59f77f=_0x5c1d7f({'row':_0x1eb90f[_0x3dae7(0x107)]+_0x4006d8+_0x483bf6+_0x3ee30d,'col':_0x1eb90f[_0x3dae7(0x182)]+_0x1f9537},_0x1cb2aa,!0x1,!0x0);_0x251884=[..._0xdfdc15,..._0x2eb523,..._0x4dc959,..._0x30aef9,..._0x59f77f];}return _0x251884;}[_0x37107d(0x212)](){const _0x18ecb7=_0x37107d;this[_0x18ecb7(0xe0)](this[_0x18ecb7(0x1ba)][_0x18ecb7(0x23d)][_0x18ecb7(0x3c4)](this[_0x18ecb7(0x1ba)][_0x18ecb7(0x23d)]['getInterceptPoints']()[_0x18ecb7(0x12e)],{'handler':(_0x302393,_0x3fc632)=>{const _0x249bb1=_0x18ecb7,{cellInfo:_0x490bc8,view:_0x49b4b4,isEmpty:_0x47416d}=_0x3fc632,_0x522368=_0x490bc8,{unitId:_0x161aa4,subUnitId:_0x1a1671}=_0x522368,_0x469c25=this[_0x249bb1(0x3de)](_0x490bc8,_0x49b4b4,_0x47416d),_0x36bd69=this[_0x249bb1(0x1da)]['generateMutationsByRanges']({'unitId':_0x161aa4,'subUnitId':_0x1a1671,'ranges':_0x469c25}),_0x870993=_0x59cfb8(this[_0x249bb1(0x21c)],_0x161aa4,_0x1a1671,_0x469c25);_0x870993[_0x249bb1(0x326)]&&(_0x36bd69['redos'][_0x249bb1(0x229)](_0x870993['setRangeValueRedoMutation']),_0x36bd69[_0x249bb1(0x28b)][_0x249bb1(0x229)](_0x870993[_0x249bb1(0x355)]));const _0x3356d8=this[_0x249bb1(0x1df)](_0x49b4b4,_0x490bc8);return _0x36bd69[_0x249bb1(0x1f0)]['push'](..._0x3356d8[_0x249bb1(0x1f0)]),_0x36bd69['undos'][_0x249bb1(0x229)](..._0x3356d8[_0x249bb1(0x28b)]),{'redos':_0x36bd69[_0x249bb1(0x1f0)],'undos':_0x36bd69['undos']};}}));}[_0x37107d(0x1df)](_0x4790c5,_0x203d0c){const _0x5a137d=_0x37107d,{col:_0x3e21f4,unitId:_0x4db2a6,subUnitId:_0x540204}=_0x203d0c,_0x57c0d7=[],_0x471067=[],_0xd4045e=_0x20619b[_0x5a137d(0x3fe)](this[_0x5a137d(0x2d4)],{'unitId':_0x4db2a6,'subUnitId':_0x540204});if(!_0x203d0c||!_0x4790c5||!_0xd4045e)return{'undos':_0x471067,'redos':_0x57c0d7};const _0x438e83=this[_0x5a137d(0x337)][_0x5a137d(0x297)](),{colView:_0x31e960,dataView:_0x3ef1a9,cornerView:_0x18747e,rowView:_0xcc4f1,formatMap:_0xba4908}=_0x4790c5,_0x3149a2=_0x8fe89b(_0x31e960,_0x438e83,!0x0,_0xba4908),_0x10226e=_0x8fe89b(_0xcc4f1,_0x438e83,!0x1,_0xba4908),_0x14a674=_0x211e08(_0x3ef1a9),_0x360331=_0x20c960(_0x18747e),{worksheet:_0xf9aed3}=_0xd4045e;if(typeof window<'u'&&window[_0x5a137d(0x162)]){const _0x45e043=_0x2a2a34['getFontStyleString']({..._0x1659df[_0x5a137d(0x1a3)]}),_0x305d11=_0x2a2a34[_0x5a137d(0x270)][_0x5a137d(0x24f)](_0x3149a2,_0x45e043)[_0x5a137d(0x400)]+0x10,_0x4d8a20=_0x2a2a34[_0x5a137d(0x270)]['getTextSize'](_0x14a674,_0x45e043)['width'],_0x588a9c=Math['floor'](Math[_0x5a137d(0x23f)](_0x305d11,_0x4d8a20))+0x10,_0x2195a5=Math[_0x5a137d(0x3c6)](_0x2a2a34[_0x5a137d(0x270)][_0x5a137d(0x24f)](_0x10226e,_0x45e043)[_0x5a137d(0x400)]),_0x4e631e=Math[_0x5a137d(0x3c6)](_0x2a2a34['FontCache']['getTextSize'](_0x360331,_0x45e043)[_0x5a137d(0x400)]),_0x396754=Math['max'](_0x2195a5,_0x4e631e,0x28)+0xc,_0x1ec07d=_0x31e960['colCount']+_0x18747e[_0x5a137d(0x3ca)],_0x47d2a1={},_0x32c707={};for(let _0x31d1e1=_0x3e21f4;_0x31d1e1<_0x3e21f4+_0x1ec07d;_0x31d1e1++){const _0xc1df83=_0xf9aed3[_0x5a137d(0x3d0)](_0x31d1e1);_0x47d2a1[_0x31d1e1]=_0xc1df83,_0x31d1e1-_0x3e21f4<_0x18747e[_0x5a137d(0x3ca)]?_0x32c707[_0x31d1e1-_0x3e21f4]=_0x396754:_0x32c707[_0x31d1e1-_0x3e21f4]=_0x588a9c;}_0x57c0d7[_0x5a137d(0x229)]({'id':_0x20619b[_0x5a137d(0x1af)]['id'],'params':{'subUnitId':_0x540204,'unitId':_0x4db2a6,'ranges':[{'startColumn':_0x3e21f4,'endColumn':_0x3e21f4+_0x1ec07d-0x1,'startRow':0x0,'endRow':_0xf9aed3[_0x5a137d(0x37e)]()-0x1}],'colWidth':_0x32c707}}),_0x471067[_0x5a137d(0x229)]({'id':_0x20619b[_0x5a137d(0x1af)]['id'],'params':{'subUnitId':_0x540204,'unitId':_0x4db2a6,'ranges':[{'startColumn':_0x3e21f4,'endColumn':_0x3e21f4+_0x1ec07d-0x1,'startRow':0x0,'endRow':_0xf9aed3[_0x5a137d(0x37e)]()-0x1}],'colWidth':_0x47d2a1}});}return{'undos':_0x471067,'redos':_0x57c0d7};}};_0x1905c6=_0x4585ea([_0x43093d(0x0,_0x5475a7['Inject'](_0x20619b[_0x37107d(0x103)])),_0x43093d(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['Injector'])),_0x43093d(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x14d)])),_0x43093d(0x3,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)])),_0x43093d(0x4,_0x5475a7['Inject'](_0x4652af['SheetsPivotTableService']))],_0x1905c6);var _0x55f108=Object[_0x37107d(0x141)],_0x17b986=(_0x1e3517,_0x3ef6f9,_0x5bde1d,_0x15a143)=>{const _0x151037=_0x37107d;for(var _0x1cd57b=_0x15a143>0x1?void 0x0:_0x15a143?_0x55f108(_0x3ef6f9,_0x5bde1d):_0x3ef6f9,_0x4942d6=_0x1e3517[_0x151037(0x298)]-0x1,_0x7beb86;_0x4942d6>=0x0;_0x4942d6--)(_0x7beb86=_0x1e3517[_0x4942d6])&&(_0x1cd57b=_0x7beb86(_0x1cd57b)||_0x1cd57b);return _0x1cd57b;},_0x4d7229=(_0xc98e77,_0x14f804)=>(_0x1c97e0,_0x37c8aa)=>_0x14f804(_0x1c97e0,_0x37c8aa,_0xc98e77);let _0x3fb260=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x46e0c6,_0x42e232,_0x4cea6d,_0x556e1e,_0x19db3f,_0x19c7ed,_0x3d85b3){const _0x8de602=_0x37107d;super(),_0x33deac(this,'disposableCollection',new _0x5475a7[(_0x8de602(0x3ed))]()),(this['_injector']=_0x46e0c6,this[_0x8de602(0x38f)]=_0x42e232,this[_0x8de602(0x2e0)]=_0x4cea6d,this[_0x8de602(0x2d4)]=_0x556e1e,this[_0x8de602(0x337)]=_0x19db3f,this[_0x8de602(0x2c2)]=_0x19c7ed,this['_sheetInterceptorService']=_0x3d85b3,this[_0x8de602(0xef)]());}[_0x37107d(0xef)](){const _0x13485f=_0x37107d,_0x59bd1c=(_0x59f1d2,_0x528fe3)=>{const _0x4db2db=_0xfdbf,_0x40d934=this[_0x4db2db(0x2d4)][_0x4db2db(0x104)](_0x5475a7[_0x4db2db(0x179)][_0x4db2db(0x1c4)]);if(!_0x40d934||!(_0x40d934==null?void 0x0:_0x40d934[_0x4db2db(0x153)](_0x528fe3)))return;this[_0x4db2db(0x349)][_0x4db2db(0x191)]();const _0x18e22e=_0x3aa92c=>this[_0x4db2db(0x150)](_0x3aa92c,_0x59f1d2,_0x528fe3),_0xe029ab=this[_0x4db2db(0x337)][_0x4db2db(0x3b4)](_0x59f1d2,_0x528fe3);if(!(_0xe029ab!=null&&_0xe029ab['size']))return;Array[_0x4db2db(0x40a)](_0xe029ab[_0x4db2db(0x24a)]())[_0x4db2db(0x13c)](_0xc21b06=>{const _0x544967=_0x4db2db,{row:_0x3ea3d5,col:_0x5b4869}=_0xc21b06[_0x544967(0x258)];return _0x5475a7[_0x544967(0x2f7)](_0x3ea3d5,_0x5b4869);})[_0x4db2db(0x15d)](_0x24ecfa=>{const _0x4b6d46=_0x4db2db;this[_0x4b6d46(0x349)][_0x4b6d46(0x105)](this[_0x4b6d46(0x38f)]['registerRefRange'](_0x24ecfa,_0x18e22e,_0x59f1d2,_0x528fe3));});},_0x4c6102=()=>{const _0x4da00e=_0xfdbf,_0xc82593=this[_0x4da00e(0x2d4)][_0x4da00e(0x104)](_0x5475a7[_0x4da00e(0x179)][_0x4da00e(0x1c4)]);if(_0xc82593){const _0x2d05ca=_0xc82593[_0x4da00e(0x22a)]();if(!_0x2d05ca)return;_0x59bd1c(_0xc82593[_0x4da00e(0x3da)](),_0x2d05ca[_0x4da00e(0x38d)]());}};this[_0x13485f(0xe0)](this[_0x13485f(0x2e0)][_0x13485f(0x34b)](_0x49cc5f=>{const _0x56aac8=_0x13485f;if(_0x49cc5f['id']===_0x20619b['SetWorksheetActiveOperation']['id']){const _0x5045f8=_0x49cc5f[_0x56aac8(0x132)],_0x143ade=_0x5045f8[_0x56aac8(0x341)],_0x41009e=_0x5045f8[_0x56aac8(0x2ec)];if(!_0x143ade||!_0x41009e)return;_0x59bd1c(_0x41009e,_0x143ade);}})),this['disposeWithMe'](this[_0x13485f(0x337)][_0x13485f(0x39f)]['subscribe'](_0x2ae25e=>{_0x2ae25e&&_0x4c6102();})),this['disposeWithMe'](this[_0x13485f(0x337)][_0x13485f(0x1e6)][_0x13485f(0x3a1)](_0x52ec2e=>{const _0x4fb8e6=_0x13485f,_0x422f55=_0x20619b[_0x4fb8e6(0x3fe)](this['_univerInstanceService']);if(!_0x422f55)return;const {unitId:_0x47ee29,subUnitId:_0x450794}=_0x422f55,{unitId:_0xbddaf1,subUnitId:_0x4ea15f}=_0x52ec2e;_0x47ee29!==_0xbddaf1||_0x450794!==_0x4ea15f||_0x59bd1c(_0x47ee29,_0x450794);})),_0x4c6102();}[_0x37107d(0x150)](_0x56ef69,_0x3bd767,_0x56ff80){const _0x3e7f35=_0x37107d;switch(_0x56ef69['id']){case _0x20619b[_0x3e7f35(0x2d2)]['id']:return this[_0x3e7f35(0x35e)](_0x56ef69[_0x3e7f35(0x132)],_0x3bd767,_0x56ff80);}return{'redos':[],'undos':[]};}[_0x37107d(0x35e)](_0x938b83,_0xa67fa1,_0x56b138){const _0x4e89bf=_0x37107d,{fromRange:_0x3a0e08,toRange:_0x211583}=_0x938b83,_0x40c63c=[],_0x3e1e49=[],_0x2e5bfa=_0x20619b[_0x4e89bf(0x3fe)](this[_0x4e89bf(0x2d4)]);if(!_0x2e5bfa)return{'undos':_0x3e1e49,'redos':_0x40c63c};if(_0xa67fa1!==_0x2e5bfa['unitId']||_0x56b138!==_0x2e5bfa[_0x4e89bf(0x341)])return{'undos':_0x3e1e49,'redos':_0x40c63c};const _0x1a9709=this[_0x4e89bf(0x337)][_0x4e89bf(0x3b4)](_0xa67fa1,_0x56b138);if(_0x1a9709!=null&&_0x1a9709[_0x4e89bf(0x290)])for(const [_0x2ff309,_0x288400]of _0x1a9709){const {unitId:_0x4a39fd,subUnitId:_0x2cdb1b,row:_0x29db47,col:_0x1e0496}=_0x288400[_0x4e89bf(0x258)];if(_0x4a39fd===_0x2e5bfa[_0x4e89bf(0x2ec)]&&_0x2cdb1b===_0x2e5bfa['subUnitId']){const _0x40ac0a=_0x5475a7[_0x4e89bf(0x2f7)](_0x29db47,_0x1e0496);if(_0x5475a7[_0x4e89bf(0x2b7)][_0x4e89bf(0x1ca)](_0x40ac0a,_0x3a0e08)){const _0x5d9481=_0x29db47-_0x3a0e08['startRow'],_0x55a584=_0x1e0496-_0x3a0e08['startColumn'],_0x48e247={'row':_0x211583[_0x4e89bf(0x163)]+_0x5d9481,'col':_0x211583[_0x4e89bf(0x342)]+_0x55a584};_0x40c63c[_0x4e89bf(0x229)]({'id':_0x3357a9['id'],'params':{'unitId':_0x4a39fd,'subUnitId':_0x2cdb1b,'pivotTableId':_0x2ff309,'targetCellPosition':_0x48e247}}),_0x3e1e49[_0x4e89bf(0x229)]({'id':_0x3357a9['id'],'params':{'unitId':_0x4a39fd,'subUnitId':_0x2cdb1b,'pivotTableId':_0x2ff309,'targetCellPosition':{'row':_0x29db47,'col':_0x1e0496}}});const _0x18ab5b=_0x48e247[_0x4e89bf(0x107)]-_0x29db47,_0x550be6=_0x48e247[_0x4e89bf(0x182)]-_0x1e0496,_0x16c658=[],_0x2a60a6=this[_0x4e89bf(0x2c2)]['getPivotItemRenderInfoCache'](_0x4a39fd,_0x2cdb1b,_0x2ff309),_0x3b373e=_0x2a60a6==null?void 0x0:_0x2a60a6[_0x4e89bf(0x3fd)];if(_0x3b373e){Object[_0x4e89bf(0x33b)](_0x3b373e)['forEach'](_0x5bab08=>{const _0x4d9f6f=_0x4e89bf;_0x3b373e[_0x5bab08][_0x4d9f6f(0x15d)](_0x5d93a4=>{const _0x1904d7=_0x4d9f6f,_0x355e54={..._0x5d93a4};_0x355e54[_0x1904d7(0x163)]=_0x5d93a4[_0x1904d7(0x163)]+_0x18ab5b,_0x355e54['endRow']=_0x5d93a4[_0x1904d7(0x2a0)]+_0x18ab5b,_0x355e54[_0x1904d7(0x342)]=_0x5d93a4[_0x1904d7(0x342)]+_0x550be6,_0x355e54[_0x1904d7(0x381)]=_0x5d93a4[_0x1904d7(0x381)]+_0x550be6,_0x16c658['push'](_0x355e54);});});const _0x52e4a2=this['_sheetInterceptorService'][_0x4e89bf(0x20b)]({'unitId':_0x4a39fd,'subUnitId':_0x2cdb1b,'ranges':_0x16c658});_0x40c63c['push'](..._0x52e4a2['redos']),_0x3e1e49['push'](..._0x52e4a2['undos']);const _0x36fe66=_0x59cfb8(this[_0x4e89bf(0x21c)],_0x4a39fd,_0x2cdb1b,_0x16c658);_0x36fe66[_0x4e89bf(0x326)]&&(_0x40c63c[_0x4e89bf(0x229)](_0x36fe66[_0x4e89bf(0x25a)]),_0x3e1e49[_0x4e89bf(0x229)](_0x36fe66[_0x4e89bf(0x355)]));}}}}return{'redos':_0x40c63c,'undos':_0x3e1e49};}};_0x3fb260=_0x17b986([_0x4d7229(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x4d7229(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x279)])),_0x4d7229(0x2,_0x5475a7[_0x37107d(0x3d6)]),_0x4d7229(0x3,_0x5475a7[_0x37107d(0x14d)]),_0x4d7229(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)])),_0x4d7229(0x5,_0x5475a7[_0x37107d(0x3c8)](_0x4652af['SheetsPivotTableAdaptorModel'])),_0x4d7229(0x6,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x103)]))],_0x3fb260);var _0x4a3555=Object[_0x37107d(0x141)],_0x3d3b6a=(_0x40997e,_0x20c7b3,_0x4be6cd,_0x4f2fe2)=>{const _0x4c0035=_0x37107d;for(var _0x26219a=_0x4f2fe2>0x1?void 0x0:_0x4f2fe2?_0x4a3555(_0x20c7b3,_0x4be6cd):_0x20c7b3,_0x2b038d=_0x40997e[_0x4c0035(0x298)]-0x1,_0x5a4198;_0x2b038d>=0x0;_0x2b038d--)(_0x5a4198=_0x40997e[_0x2b038d])&&(_0x26219a=_0x5a4198(_0x26219a)||_0x26219a);return _0x26219a;},_0x953a65=(_0xdc994b,_0x2608d2)=>(_0x54984f,_0x586c78)=>_0x2608d2(_0x54984f,_0x586c78,_0xdc994b);let _0x19bae4=class extends _0x5475a7['Disposable']{constructor(_0x55bec3,_0x33669d){const _0x3af522=_0x37107d;super(),this[_0x3af522(0x1da)]=_0x55bec3,this[_0x3af522(0x337)]=_0x33669d,this['_initRemoveSheetCommandInterceptor']();}[_0x37107d(0x31f)](){const _0x3892d0=_0x37107d;this[_0x3892d0(0xe0)](this[_0x3892d0(0x1da)]['interceptCommand']({'getMutations':_0x2c1bfb=>{const _0xedaa4a=_0x3892d0;if(_0x2c1bfb['id']===_0x20619b[_0xedaa4a(0xe5)]['id']){const _0x432262=[],_0x41c806=[],_0x31f493=_0x2c1bfb[_0xedaa4a(0x132)],{unitId:_0x438563,subUnitId:_0x56b954}=_0x31f493;if(!_0x438563||!_0x56b954)return{'undos':_0x41c806,'redos':_0x432262};const _0x224ea0=this['_sheetsPivotTableConfigModel'][_0xedaa4a(0x3b4)](_0x438563,_0x56b954);if(_0x224ea0!=null&&_0x224ea0[_0xedaa4a(0x290)])for(const [_0x4f4aaf,_0x40ce31]of _0x224ea0){_0x432262[_0xedaa4a(0x229)]({'id':_0x5d03d4['id'],'params':{'unitId':_0x438563,'subUnitId':_0x56b954,'pivotTableId':_0x4f4aaf}});const _0x346966={...this[_0xedaa4a(0x337)][_0xedaa4a(0x3ad)](_0x438563,_0x4f4aaf)};_0x41c806[_0xedaa4a(0x229)]({'id':_0x211495['id'],'params':{'unitId':_0x438563,'subUnitId':_0x56b954,'pivotTableId':_0x4f4aaf,'pivotTableConfig':_0x40ce31,'collectionConfig':_0x346966}});}return{'redos':_0x432262,'undos':_0x41c806};}return{'redos':[],'undos':[]};}}));}};_0x19bae4=_0x3d3b6a([_0x953a65(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x20619b['SheetInterceptorService'])),_0x953a65(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)]))],_0x19bae4);var _0x249957=Object['getOwnPropertyDescriptor'],_0xa9364b=(_0x36b9fc,_0x1f1a18,_0x392a61,_0x5ac802)=>{for(var _0x2d2531=_0x5ac802>0x1?void 0x0:_0x5ac802?_0x249957(_0x1f1a18,_0x392a61):_0x1f1a18,_0x45113d=_0x36b9fc['length']-0x1,_0x23cb52;_0x45113d>=0x0;_0x45113d--)(_0x23cb52=_0x36b9fc[_0x45113d])&&(_0x2d2531=_0x23cb52(_0x2d2531)||_0x2d2531);return _0x2d2531;},_0x48e78d=(_0x48a928,_0x23e3ed)=>(_0x2cecc5,_0x4200f3)=>_0x23e3ed(_0x2cecc5,_0x4200f3,_0x48a928);let _0x229204=class extends _0x5475a7['Disposable']{constructor(_0x10f98b,_0x4050d1,_0x3e3030,_0x5e62be,_0x466f6d,_0xd2feed){const _0x48ad0b=_0x37107d;super(),this['_commandService']=_0x10f98b,this['_sheetsPivotRpcService']=_0x4050d1,this['_sheetsPivotTableAdaptorModel']=_0x3e3030,this[_0x48ad0b(0x337)]=_0x5e62be,this[_0x48ad0b(0x2d4)]=_0x466f6d,this[_0x48ad0b(0x3c1)]=_0xd2feed,this[_0x48ad0b(0x2be)](),this[_0x48ad0b(0xed)]();}[_0x37107d(0x2be)](){const _0xd6b9e3=_0x37107d;this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xa24a98=>{const _0xcf2a56=_0xfdbf;if(_0xa24a98['id']!==_0x565331['id'])return;const _0x30f83c=_0xa24a98[_0xcf2a56(0x132)];this['_sheetsPivotRpcService'][_0xcf2a56(0x2e7)](_0x30f83c);})),this['disposeWithMe'](this[_0xd6b9e3(0x2e0)]['onCommandExecuted'](_0x40572a=>{const _0x159ad5=_0xd6b9e3;if(_0x40572a['id']===_0x326687['id']){const _0x537a3c=_0x40572a[_0x159ad5(0x132)];if(_0x537a3c){const {unitId:_0x6914db,subUnitId:_0x4cdde4,oldSubUnitId:_0x1f8498,pivotTableId:_0x10d5f5,pivotTableConfig:_0x390c62,collectionConfig:_0x23eaa9}=_0x537a3c;this[_0x159ad5(0x337)][_0x159ad5(0x156)](_0x6914db,_0x1f8498,_0x537a3c['pivotTableId'],null),this[_0x159ad5(0x337)][_0x159ad5(0x156)](_0x6914db,_0x4cdde4,_0x10d5f5,_0x390c62),this[_0x159ad5(0x337)][_0x159ad5(0x3e3)](_0x6914db,_0x23eaa9);}}})),this[_0xd6b9e3(0xe0)](this['_commandService'][_0xd6b9e3(0x34b)](_0x9e6169=>{const _0x23ca5c=_0xd6b9e3;if(_0x9e6169['id']!==_0x892c58['id'])return;const _0x5309a8=_0x20619b[_0x23ca5c(0x3fe)](this[_0x23ca5c(0x2d4)]);if(!_0x5309a8)return;const {unitId:_0x5c504d,subUnitId:_0x351864}=_0x5309a8,_0x4fe8c=_0x9e6169['params'];if(_0x4fe8c['collectionConfig']&&Object[_0x23ca5c(0x33b)](_0x4fe8c[_0x23ca5c(0x2e5)])[_0x23ca5c(0x15d)](_0x518fce=>{const _0x1e9506=_0x23ca5c;var _0x52d980;(_0x52d980=_0x4fe8c[_0x1e9506(0x2e5)])!=null&&_0x52d980[_0x518fce]&&this[_0x1e9506(0x337)]['updateCollectionConfig'](_0x518fce,_0x4fe8c[_0x1e9506(0x2e5)][_0x518fce]);}),_0x4fe8c[_0x23ca5c(0x33c)]){const _0x581dae=_0x4fe8c[_0x23ca5c(0x33c)],{unitId:_0x302763,subUnitId:_0x1d1c9c,view:_0x395d5f,pivotTableId:_0x42ef38,type:_0x2accba,pivotConfig:_0x50443c}=_0x581dae;if(_0x2accba===_0x5865c2[_0x23ca5c(0x108)])this[_0x23ca5c(0x2c2)]['clearRenderCache']({'unitId':_0x302763,'subUnitId':_0x1d1c9c,'pivotTableId':_0x42ef38,'type':_0x2accba}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x302763,_0x1d1c9c,_0x42ef38,null);else{const _0x5aa038=new _0x42fb89[(_0x23ca5c(0x2e8))]();_0x5aa038[_0x23ca5c(0x2a4)](_0x395d5f),this[_0x23ca5c(0x337)][_0x23ca5c(0x156)](_0x302763,_0x1d1c9c,_0x42ef38,_0x50443c),this['_sheetsPivotTableAdaptorModel'][_0x23ca5c(0x197)]({'unitId':_0x302763,'subUnitId':_0x1d1c9c,'pivotTableId':_0x42ef38,'type':_0x2accba,'view':_0x5aa038}),this[_0x23ca5c(0x2c2)][_0x23ca5c(0x180)]({'unitId':_0x302763,'subUnitId':_0x1d1c9c,'view':_0x5aa038,'pivotTableId':_0x42ef38,'type':_0x2accba});}}else _0x4fe8c[_0x23ca5c(0x1c7)]&&(_0x4fe8c['batch'][_0x23ca5c(0x15d)](_0x53ecd0=>{const _0x576963=_0x23ca5c,{unitId:_0x3f5a75,subUnitId:_0x52ba2a,view:_0x45a326,pivotTableId:_0x37f5a5,type:_0x1050ee,pivotConfig:_0x27cd59}=_0x53ecd0,_0x289f6d=new _0x42fb89['PivotView']();_0x289f6d[_0x576963(0x2a4)](_0x45a326),this[_0x576963(0x337)][_0x576963(0x156)](_0x3f5a75,_0x52ba2a,_0x37f5a5,_0x27cd59),this[_0x576963(0x2c2)][_0x576963(0x180)]({'unitId':_0x3f5a75,'subUnitId':_0x52ba2a,'view':_0x289f6d,'pivotTableId':_0x37f5a5,'type':_0x1050ee});}),this[_0x23ca5c(0x337)][_0x23ca5c(0x3ff)]());this[_0x23ca5c(0x2c2)][_0x23ca5c(0x155)](_0x5c504d,_0x351864);}));}['registerDirtyService'](){const _0x3c1876=_0x37107d;this[_0x3c1876(0x3c1)][_0x3c1876(0x13e)](_0x116d90['id'],{'commandId':_0x116d90['id'],'getDirtyData'(_0x5eb870){return{'dirtyUnitFeatureMap':_0x5eb870['params']};}});}};_0x229204=_0xa9364b([_0x48e78d(0x0,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x3d6)])),_0x48e78d(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x4652af['SheetsPivotRPCService'])),_0x48e78d(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x1d0)])),_0x48e78d(0x3,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)])),_0x48e78d(0x4,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x14d)])),_0x48e78d(0x5,_0x38ed7b[_0x37107d(0x138)])],_0x229204);var _0x29c26c=Object[_0x37107d(0x26f)],_0x3a3ff9=Object[_0x37107d(0x141)],_0x1dd74d=(_0x4e733c,_0x32c65a,_0x29fed6)=>_0x32c65a in _0x4e733c?_0x29c26c(_0x4e733c,_0x32c65a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29fed6}):_0x4e733c[_0x32c65a]=_0x29fed6,_0x5805df=(_0x19c764,_0x1a2855,_0x50b722,_0x5e3691)=>{const _0x32cadd=_0x37107d;for(var _0x2cbc25=_0x5e3691>0x1?void 0x0:_0x5e3691?_0x3a3ff9(_0x1a2855,_0x50b722):_0x1a2855,_0x482a6c=_0x19c764[_0x32cadd(0x298)]-0x1,_0x367191;_0x482a6c>=0x0;_0x482a6c--)(_0x367191=_0x19c764[_0x482a6c])&&(_0x2cbc25=_0x367191(_0x2cbc25)||_0x2cbc25);return _0x2cbc25;},_0x1b4cdc=(_0x2082e0,_0x2f40a9)=>(_0x2da8b8,_0x29915a)=>_0x2f40a9(_0x2da8b8,_0x29915a,_0x2082e0),_0x29cb5d=(_0x3ed24c,_0x563bab,_0x541ec9)=>_0x1dd74d(_0x3ed24c,typeof _0x563bab!=_0x37107d(0x133)?_0x563bab+'':_0x563bab,_0x541ec9);_0x4652af['UniverSheetsPivotTablePlugin']=class extends _0x5475a7['Plugin']{constructor(_0x1eae13=_0x54c206,_0x3a2983,_0x38c38e,_0x47b865,_0x374d38){const _0x5324fa=_0x37107d;super(),this[_0x5324fa(0x286)]=_0x1eae13,this[_0x5324fa(0x21c)]=_0x3a2983,this[_0x5324fa(0x2e0)]=_0x38c38e,this[_0x5324fa(0x34d)]=_0x47b865,this[_0x5324fa(0x21d)]=_0x374d38;const {..._0x1ab35e}=_0x5475a7[_0x5324fa(0x226)]({},_0x54c206,this[_0x5324fa(0x286)]);this[_0x5324fa(0x34d)][_0x5324fa(0x32c)](_0x171bdb,_0x1ab35e),this['_initRegisterCommand'](),this['_initConfig']();}[_0x37107d(0x19f)](){const _0xf7ab79=_0x37107d;var _0x5590e8;const _0x415d09=(_0x5590e8=this[_0xf7ab79(0x286)])==null?void 0x0:_0x5590e8[_0xf7ab79(0x2db)];this[_0xf7ab79(0x34d)]['setConfig'](_0x4aadc7,_0x415d09===!0x0);}[_0x37107d(0x3bb)](){const _0x43d257=_0x37107d;var _0x396b9d;let _0x76a0e8=[];const _0xf963b3=(_0x396b9d=this[_0x43d257(0x286)])==null?void 0x0:_0x396b9d[_0x43d257(0x2db)];_0xf963b3===!0x0?_0x76a0e8=[[_0x4652af[_0x43d257(0x37c)]],[_0x4652af[_0x43d257(0x1d6)]],[_0x229204],[_0x4652af[_0x43d257(0x1d0)]],[_0x4652af[_0x43d257(0x28f)]],[_0x19bae4],[_0x46ea69],[_0x3fb260],[_0x1905c6]]:_0xf963b3===!0x1?_0x76a0e8=[[_0x4652af[_0x43d257(0x275)]],[_0x446c62]]:_0xf963b3===void 0x0&&(_0x76a0e8=[[_0x4652af[_0x43d257(0x275)]],[_0x446c62],[_0x4652af[_0x43d257(0x37c)]],[_0x4652af[_0x43d257(0x1d6)]],[_0x229204],[_0x4652af[_0x43d257(0x1d0)]],[_0x4652af[_0x43d257(0x28f)]],[_0x19bae4],[_0x46ea69],[_0x3fb260],[_0x1905c6]]),_0x76a0e8[_0x43d257(0x15d)](_0x32ec86=>this['_injector'][_0x43d257(0x105)](_0x32ec86)),[_0x446c62,_0x229204,_0x4652af[_0x43d257(0x37c)],_0x46ea69,_0x19bae4,_0x3fb260,_0x1905c6][_0x43d257(0x15d)](_0x1c024f=>{const _0x18f9a1=_0x43d257;this[_0x18f9a1(0x21c)][_0x18f9a1(0x35c)](_0x1c024f)&&this[_0x18f9a1(0x21c)][_0x18f9a1(0xe4)](_0x1c024f);});}[_0x37107d(0x235)](){const _0x49c3=_0x37107d;[_0x4463ea,_0x13346d,_0x4ee102,_0x17cc00,_0x440bc6,_0x4711a7,_0x50a75e,_0x3f4116,_0x555447,_0x1fe6e6,_0x4bfb69,_0x428251,_0x2d021e,_0x559eef,_0x211495,_0x44e983,_0x5d03d4,_0x5485a4,_0xfbeea8,_0x29bf5c,_0x3d7071,_0x497dc7,_0x198914,_0xc60e14,_0x536952,_0x35183d,_0x3357a9,_0x4fcc0a,_0x565331,_0x892c58,_0x227ab8,_0x5a17aa,_0x133278,_0x40f547,_0x560a95,_0xcb809c,_0x3f9e27,_0x116d90,_0x326687,_0x375ca0,_0x5eef3d,_0x96da19,_0x5d2c34][_0x49c3(0x15d)](_0x5a8968=>{const _0x4a973a=_0x49c3;var _0x124c7f;(_0x124c7f=this[_0x4a973a(0x21d)])==null||_0x124c7f[_0x4a973a(0x30f)](_0x5a8968),this[_0x4a973a(0x2e0)]['registerCommand'](_0x5a8968);});}},_0x29cb5d(_0x4652af['UniverSheetsPivotTablePlugin'],_0x37107d(0x3db),_0x55f144),_0x29cb5d(_0x4652af[_0x37107d(0x287)],_0x37107d(0x249),_0x5475a7[_0x37107d(0x179)][_0x37107d(0x1c4)]),_0x4652af['UniverSheetsPivotTablePlugin']=_0x5805df([_0x5475a7['DependentOn'](_0x57119e['UniverLicensePlugin']),_0x1b4cdc(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x1b4cdc(0x2,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x3d6)])),_0x1b4cdc(0x3,_0x5475a7[_0x37107d(0x3fb)]),_0x1b4cdc(0x4,_0x5475a7[_0x37107d(0x224)](_0x3cbf50[_0x37107d(0x2f4)]))],_0x4652af[_0x37107d(0x287)]),_0x4652af[_0x37107d(0x1fd)]=_0x4ee102,_0x4652af[_0x37107d(0x143)]=_0x5485a4,_0x4652af['AddPivotTableCommand']=_0x13346d,_0x4652af['AddPivotTableMutation']=_0x211495,_0x4652af[_0x37107d(0x1f4)]=_0x4463ea,_0x4652af[_0x37107d(0x38a)]=_0x42e754,_0x4652af[_0x37107d(0x195)]=_0x5dcb75,_0x4652af[_0x37107d(0x1a2)]=_0x17cc00,_0x4652af[_0x37107d(0x1dc)]=_0x2d021e,_0x4652af[_0x37107d(0x1eb)]=_0x12f3cf,_0x4652af[_0x37107d(0x22b)]=_0x559eef,_0x4652af['PivotTableOperationEnum']=_0x5865c2,_0x4652af[_0x37107d(0x319)]=_0x116d90,_0x4652af['PositionType']=_0x570a84,_0x4652af['RemovePivotFieldCommand']=_0x440bc6,_0x4652af[_0x37107d(0x1f9)]=_0x497dc7,_0x4652af[_0x37107d(0x3fa)]=_0x5d03d4,_0x4652af[_0x37107d(0x10b)]=_0x198914,_0x4652af[_0x37107d(0x3f7)]=_0x5d2c34,_0x4652af[_0x37107d(0x2ee)]=_0x171bdb,_0x4652af[_0x37107d(0x3cb)]=_0x55f144,_0x4652af[_0x37107d(0x3f4)]=_0x3f4116,_0x4652af[_0x37107d(0x24e)]=_0xc60e14,_0x4652af[_0x37107d(0x37a)]=_0x40f547,_0x4652af[_0x37107d(0x12b)]=_0x96da19,_0x4652af[_0x37107d(0x40b)]=_0x1fe6e6,_0x4652af[_0x37107d(0x3e9)]=_0x3d7071,_0x4652af[_0x37107d(0x22d)]=_0x35183d,_0x4652af['SetPivotPositionMutation']=_0x3357a9,_0x4652af[_0x37107d(0x3f2)]=_0x555447,_0x4652af['SetPivotSortMutation']=_0x536952,_0x4652af[_0x37107d(0x295)]=_0x133278,_0x4652af[_0x37107d(0x2cb)]=_0x375ca0,_0x4652af['SetPivotValueFilterMutation']=_0x5eef3d,_0x4652af[_0x37107d(0x12a)]=_0x50a75e,_0x4652af[_0x37107d(0x2ea)]=_0x227ab8,_0x4652af[_0x37107d(0x256)]=_0x4bfb69,_0x4652af['UpdatePivotFieldSourceInfoMutation']=_0x3f9e27,_0x4652af[_0x37107d(0xe7)]=_0x428251,_0x4652af['UpdatePivotTableSourceRangeMutation']=_0xcb809c,_0x4652af[_0x37107d(0x2fc)]=_0x4711a7,_0x4652af[_0x37107d(0x1ef)]=_0x5a17aa,_0x4652af[_0x37107d(0x1d9)]=_0x1bd7c8,_0x4652af['canUsePivot']=_0x57370b,_0x4652af[_0x37107d(0x2d3)]=_0x1659df,_0x4652af[_0x37107d(0x2d8)]=_0x59cfb8,_0x4652af['getAdjustRangesPosition']=_0x5c1d7f,_0x4652af[_0x37107d(0x1a5)]=_0x55509a,_0x4652af[_0x37107d(0x210)]=_0x289e40,_0x4652af[_0x37107d(0x211)]=_0x4ba4b0,_0x4652af[_0x37107d(0x145)]=_0x3d7698,_0x4652af[_0x37107d(0x1ab)]=_0x16ef4f,_0x4652af[_0x37107d(0x269)]=_0x83e56b,_0x4652af[_0x37107d(0x17b)]=_0x31fcf3,_0x4652af[_0x37107d(0x241)]=_0x262747,Object[_0x37107d(0x26f)](_0x4652af,Symbol[_0x37107d(0x2b3)],{'value':_0x37107d(0x14b)});}));function _0xfdbf(_0x42823a,_0x426280){_0x42823a=_0x42823a-0xe0;const _0x2ed3ec=_0x2ed3();let _0xfdbf40=_0x2ed3ec[_0x42823a];return _0xfdbf40;}function _0x2ed3(){const _0x5df85f=['has','getHeaderMapItem','getRefRangeMutationsByMoveRange','numfmt','SheetsSelectionsService','updateDataFieldsCollection','registerCallbackWithEvent','_globalComputedStartHelpFunc','_ensurePivotItemRenderInfoCache','sheet.command.set-pivot-filter','InterceptorEffectEnum','sheet.mutation.set-pivot-position','_collectionConfigModel','isDate','addDataFieldWithoutUnitInfo','getPivotTableConfig','getValueFilterInfos','toString','SetFieldFormat','getUnit','getPivotTableCellData','sheet.mutation.set-pivot-format','Collapse','iterateFieldDim','getFieldById','pageRanges','_pivotRenderInfoCache','ResetPivotTable','_initGlobalComputed','sheet.mutation.update-pivot-table-source-range','SetPivotFieldFormatMutation','colRanges','SheetsPivotTableService','sequenceExecute','getRowCount','11455668pFqtPC','pageStyle','endColumn','isValue','_ensurePivotItemRenderValueMatrixCache','cellValue','InterceptorManager','setOptions','_globalComputedEndHelpFunc','subTotalStyle','updatePivotTableMatrixInfo','BLANK_ROW_COUNT','next','var','getSheetId','New','_refRangeService','sheet.operation.pivot-table-view-formula-mark-dirty','AddField','NotFunction','_viewData$','YearMonthDate','209496AYdZHF','_featureCalculationManagerService','getAutoDisplayName','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','panel','movePivotField','new','registerPluginResource','MUTATION','getDate','pivotInitCompleted$','deleteDataField','subscribe','_globalComputingSrv','SHEET_PIVOT_EXCLUSIVE_ID','isDateValue','getDirtyInfo','SetPivotCollapse','exports','removeValueFilterInfoByValueFieldId','valid','AddPivotField','column','fieldsCollectionChange$','getCollection','Range','12iNxTUn','_resourceManagerService','contains','workbook\x20is\x20not\x20found','updateViewData','getSubUnitPivotConfigs','pivotTableConfigs','product','_initLocale','sheets-pivot.dateGroup.minute','collections','sheet.command.remove-pivot-field','onStarting','serializeRangeWithSpreadsheet','createLabelField','sheet.mutation.rename-pivot-field','getSheetBySheetName','BadReference','_activeDirtyManagerService','isBottomTotal','stringify','intercept','setDateType','floor','getTargetByPivotId','Inject','includes','colCount','SHEET_PIVOT_TABLE_PLUGIN','areaInfo','getMatrix','CommandType','DataFieldManager','getColumnWidth','IExclusiveRangeService','_viewData','sheets-pivot.emptyPivot.row','SetPivotSort','isFeatureAuthorizedWithinTime','ICommandService','fetchThroughAsyncInterceptors','call','rxjs','getUnitId','pluginName','sourceName','sheet.mutation.remove-pivot-field','_getPivotAppliedRanges','getCellRaw','count','Tools','INTERCEPTOR_POINT','updateCollectionConfig','UpdateFieldPosition','UniverProEnginePivot','dataRangeInfo','ReleaseType','getFilterInfo','SetPivotFilterMutation','measure','RANGE_TYPE','version','DisposableCollection','_pivotRenderValueMatrixCache','toJSON','UniverEngineRender','DrillDown','SetPivotSortCommand','MAX_SAFE_INTEGER','SetPivotCollapseCommand','deepClone','addPivotTable','ResetPivotFieldsConfigCommand','range','231212ePTvbM','RemovePivotTableMutation','IConfigService','90PiZZbL','rangesInfo','getSheetCommandTarget','setPivotInitCompleted','width','Disposable','data','StdDev\x20of\x20','setValuePivotFilter','random','getDataFieldByDataFieldId','sheets-pivot.dateGroup.hour','FieldsCollection','UpdatePivotSource','from','SetPivotFilterCommand','disposeWithMe','addPivotTableWithConfig','cornerInfo','_getAutoName','get','RemoveSheetCommand','Column\x20','UpdatePivotTableSourceRangeCommand','sheets-pivot.varpName','interceptCommand','LocaleService','sheet.mutation.set-pivot-filter','sheet.mutation.set-pivot-option','registerDirtyService','deleteField','_onRefRangeChange','endCollectChangeset','filterInfo','getStyles','handleMoveRange','sheet.command.set-pivot-sort','sheet.command.set-pivot-collapse','ErrorType','prefix','_localeService','PivotTableValuePositionEnum','getRangeKeyList','complete','NotNumber','dataStream','#eceeff','_markDirty$','clear','min','parse','SheetInterceptorService','getCurrentUnitForType','add','_ensurePivotTableRangeInfo','row','Delete','Quarter','fields','RenamePivotFieldMutation','YearQuarter','replace','minDate','StdDevp\x20of\x20','updateFieldPosition','NAME','_deleteModelCache','getDisplayName','PivotTableFiledAreaEnum','resetPivotTable','addFieldWithSourceId','createValueField','grandTotal','getViewData','executeCommand','collection','matrix','getFieldFormat','getFormat','getLastRow','valueIndex','getPivotItemRenderInfoCache','AsyncInterceptorManager','cornerRanges','createInterceptorKey','SetSortInfo','initDataRanges','setPivotFilter','excelDateToUnixMilliseconds','sheet.command.pivot-drill-down','UpdateDateGroupCommand','SetPivotFieldsConfigCommand','CustomCommandExecutionError','Values','PIVOT_MUTATION_GENERATE','name','sheets.tabs.sheet','DEFAULT_WORKSHEET_COLUMN_COUNT','params','symbol','LifecycleService','Value','bind','sum','IActiveDirtyManagerService','None','YearMonth','sheets-pivot.dateGroup.hourMinute','map','fontRenderExtension','register','deleteUnitId','error','getOwnPropertyDescriptor','getIntersectsPivotTable','AddPivotFieldMutation','NORMAL','getPivotCellInfo','getConfig','isErrorValue','DataField','body','number','Module','SetRangeValuesMutation','IUniverInstanceService','getGroupFieldsInfoByIds','realDeleteValue','_refRangeHandle','PivotTable','2AZYqKD','getSheetBySheetId','CELL_CONTENT','markDirty','updateConfigCache','forRow','dataFieldManagerConfig','PivotDateGroupFieldDateTypeEnum','Div0','isDateGroupFieldJSON','SetPivotFilter','forEach','UniverSheetsFilter','@univerjs/sheets-filter','getValueIndex','sheets-pivot.countNumsName','document','startRow','sortInfo','sheet.mutation.send-pivot-config-local','InsertSheetCommand','setSourceName','queryDirtyPivotTable','set','onQueryEnd','_pivotTableRangeInfo','sheets-pivot.stdDevpName','getAutoDisplayNameFunction','InsertRowMutation','setValueFilterInfo','asObservable','getMatrixValue','_toJSON','UpdateValuePosition','PivotFilterTypeEnum','_updateRenderEmptyCache','setLabelFilterInfo','IResourceManagerService','Style','UniverInstanceType','_updateModelCache','transFromCellValue','updateViewInfo','SetSheetsFilterRangeMutation','SHEET_PIVOT_IN_MAIN_THREAD','getPivotTableModelConfig','updateRenderCache','Panel','col','filter','InsertSheetUndoMutationFactory','setDataRecordCount','sheets-pivot.cellDateGroupDisplay.year','subtotal','string','sheets-pivot.other','varp','isText','_ensurePivotMap','setRange','displayName','PivotViewCellValueTypeEnum','getFieldPositionInfoById','dispose','24475skkFJo','getId','211578UAuxSe','DEFAULT_PIVOT_NUMBER','getFieldCountByArea','clearRenderCache','138BSsabK','hasField','needSameDeleteModel','getSubtotal','splice','iterateFieldByArea','addField','_initConfig','sheet.mutation.set-pivot-value-filter','rowInfo','MovePivotFieldCommand','colStyle','leftOffset','getEmptyPivotRanges','removeField','sheets-pivot.cellDateGroupDisplay.yearMonthDate','Year','getDataFieldByTableId','getDataFieldManager','getPivotInfoByLicense','@univerjs/sheets','getDataFieldByRangeKey','setPivotTable','SetWorksheetColWidthMutation','sheets-pivot.averageName','DateGroupField','NotName','broadcastCollectionChange','renameField','sheet.mutation.set-pivot-sort-info','_initSnapshot','format','GbxHJzpx\x20NmHcR8Jzpx(EzHmxwm,\x208blEzH2mR)\x20{\x20\x20\x20\x20JcR\x20{\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20EzHmxwmhxGpZrcJVccrR\x20=\x20EzHmxwm.w8EzJ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20pczyzxUmwwrym\x20=\x20Wk1q.8rcwm(rJpl(EzHmxwmhxGpZrcJVccrR[P]));\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(!pczyzxUmwwrym.bN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pczyzxUmwwrym.bN\x20=\x20qbslmc(EzHmxwmhxGpZrcJVccrR[D]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20zwapcfmc\x20=\x20JR8mpG\x20apcfmcCEplrEkHp8m\x20!==\x20\x27bxNmGzxmN\x27\x20&&\x20wmEG\x20zxwJrxHmpG\x20apcfmcCEplrEkHp8m;\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20zw0cp3wmc\x20=\x20JR8mpG\x203zxNp3\x20!==\x20\x27bxNmGzxmN\x27\x20&&\x20JR8mpG\x203zxNp3.EpHrJzpx\x20!==\x20\x27bxNmGzxmN\x27;\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20HpxJmAJ\x20=\x20zwapcfmc\x20?\x20wmEG\x20:\x20(zw0cp3wmc\x20?\x203zxNp3\x20:\x20yEplrE5Xzw);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20smwwrymapcN\x20=\x20HpxJmAJ.__0rwmgD__.8rcwm(EzHmxwmhxGpZrcJVccrR[P]);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20smwwrym\x20=\x20HpxJmAJ.__BmA__.wJczxyzGR(smwwrymapcN);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20wzyxrJbcmapcN\x20=\x20HpxJmAJ.__0rwmgD__.8rcwm(EzHmxwmhxGpZrcJVccrR[u]);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20wzyxrJbcm\x20=\x20HpxJmAJ.__BmA__.wJczxyzGR(wzyxrJbcmapcN);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20wzyxYrEzN\x20=\x20HpxJmAJ.__KmczGR__(wzyxrJbcm,\x20smwwrym,\x208blEzH2mR);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20Npsrzx\x20=\x20pczyzxUmwwrym.Ns;\x20\x20\x20\x20\x20\x20\x20\x20GbxHJzpx\x20zwipsrzxUrJHXzxy(pZrJJmcx,\x20pBpwJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x208rJJmcx\x20=\x20pZrJJmcx.cm8ErHm(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20XpwJ\x20=\x20pBpwJ.cm8ErHm(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x208rJJmcxZrcJw\x20=\x208rJJmcx.w8EzJ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20XpwJZrcJw\x20=\x20XpwJ.w8EzJ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(!8rJJmcx.zxHEbNmw(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x208rJJmcx\x20===\x20XpwJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(8rJJmcxZrcJw.EmxyJX\x20<\x20P\x20||\x208rJJmcxZrcJw[S]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x20GrEwm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x208rJJmcxkbGGzA\x20=\x208rJJmcxZrcJw.wEzHm(n).Fpzx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20XpwJkbGGzA\x20=\x20XpwJZrcJw.wEzHm(-8rJJmcxZrcJw.EmxyJX\x20+\x20n).Fpzx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x208rJJmcxkbGGzA\x20===\x20XpwJkbGGzA;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EmJ\x20NpsrzxYrEzN\x20=\x20GrEwm;\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(zw0cp3wmc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpsrzxYrEzN\x20=\x20(Npsrzx\x20&&\x20Npsrzx.EmxyJX)\x20?\x20Npsrzx.wpsm((NshJms)\x20=>\x20zwipsrzxUrJHXzxy(NshJms,\x20EpHrJzpx.XpwJxrsm))\x20:\x20Jcbm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(EpHrJzpx.XpwJxrsm\x20===\x20\x27EpHrEXpwJ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpsrzxYrEzN\x20=\x20Jcbm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20mEwm\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpsrzxYrEzN\x20=\x20Jcbm;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20KrEzN\x20=\x20wzyxYrEzN\x20&&\x20NpsrzxYrEzN;\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KrEzN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20smwwrym:\x20pczyzxUmwwrym,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20HrJHX\x20(mccpc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KrEzN:\x20GrEwm,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20smwwrym:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheets-pivot.dateGroup.yearMonthDate','_sheetsPivotTableService','InsertSheetMutation','Column','Grand\x20Total','Average\x20of\x20','removeDataField','createAsyncInterceptorKey','setTextInfo','33wntMrR','dateType','UNIVER_SHEET','sheets-pivot.emptyPivot.values','Row','batch','Subject','PivotTableChangeTypeEnum','intersects','generateNewSheetName','sheet.mutation.add-group-collection','sheet.command.add-pivot-field','sheet.mutation.update-date-group','getPivotPerformCheck','SheetsPivotTableAdaptorModel','setPivotTableConfig','reset','MIN_SAFE_INTEGER','1320956SXXJKb','MoveRangeMutation','SheetsPivotRPCService','pivotTableIndexConfig','updateConfig','applyChangeSet','_sheetInterceptorService','updateView','MovePivotTableCommand','UniverProLicense','addPivotField','getAutoFitColumnsMutations','update','rowStyle','CellValueType','getNoUsedDataFieldIds','getformat','sheet.mutation.remove-group-collection','pivotConfigChange$','_subjectCollectionChange','_createExclusiveRange','sheets-pivot.stdDevName','sheets-pivot.grandTotal','PivotDisplayDataType','SetValuePivotFilter','lastRow','startCollectChangeset','UpdateValuePositionMutation','redos','AddPivotTableWithConfig','valuePosition','NUMBER','AddPivotTableWithConfigCommand','getIndexesByPathStr','Set','sheets-pivot.dateGroup.yearQuarter','getRangeKey','RemovePivotFieldMutation','Hour','markDirty$','pbt','AddPivotFieldCommand','iterateField','PivotSubtotalTypeEnum','@univerjs-pro/engine-pivot','pivotMutationGenerate','dataFieldsCollection','sheet.mutation.set-pivot-collapse','refreshGroupField','UniverCore','custom','sheet.command.set-pivot-value-filter','filterFields','sheet.mutation.add-pivot-field','addDirtyPivotTable','generateMutationsByRanges','IFeatureCalculationManagerService','query','getPivotTableRangeInfo','removeValueFilterInfo','getFieldListByArea','getInsertRowColMutations','_initCommandInterceptListener','ptn','_updatePivotTableInstanceCache','getColumnCount','unshiftString','sheet.mutation.remove-pivot-table','sheets-pivot.minName','options','sheet.command.reset-pivot-fields-config','#1d32e9','_injector','_dataSyncPrimaryController','limit\x20pivot','ClearSelectionContentCommand','PivotDataFieldTypeEnum','_initClearSelectionCommandInterceptor','COMMAND','fetchThroughInterceptors','Optional','node','merge','valueFields','viewData$','push','getActiveSheet','PivotDrillDownCommand','tuple','SetPivotOptionMutation','_initPivotTextInfo','sheets-pivot.cellDateGroupDisplay.date','setName','prototype','originalFieldId','onQueryStart','sheets-pivot.cellDateGroupDisplay.hourMinute','_initRegisterCommand','sheets-pivot.varName','_lifecycleService','_fieldsCollectionChange$','getMonth','textInfo','some','updateRangeKeyMap','interceptor','sheets-pivot.emptyPivot.column','max','RemovePivotField','unionPivotViewRange','generateHexNumber','PivotErrorTypeEnum','Date','getDataFieldBySourceName','_dataFieldManagerCollection','removeSourceRangeChange','NUM','type','values','getPivotDisplayConfig','_ensureViewDataMap','getMatrixFromRunTimeData','SetPivotCollapseMutation','getTextSize','removeCollections','concat','pivotTableId','rowFields','dataFields','getFieldInfo','UpdatePivotFieldSettingCommand','getName','targetCellInfo','addRecord','setRangeValueRedoMutation','RemoveSheetsFilterMutation','getRangeStartEndInfo','other','_host','UpdateSource','object','colInfo','filterId','addCollection','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheet.command.move-pivot-field','getPivotTableInstance','PivotCallbackEnum','dimension','getPivotTableInfo','setPivotSetting','getTableFieldById','sheets-pivot.cellDateGroupDisplay.minute','versions','adjustSheetCellData','defineProperty','FontCache','Varp\x20of\x20','getDataFieldId','PivotCellStyleTypeEnum','setFieldFormat','SheetsPivotDataSourceModel','sheets-pivot.cellDateGroupDisplay.yearMonth','mergeWorksheetSnapshotWithDefault','SetPivotTableConfig','RefRangeService','_model','delete','getFullYear','createCollectionWithDataRange','ManualFilter','Injector','columnFields','getSubUnitPivotMatrix','Add','RemoveRowMutation','cornerStyle','_sheetsPivotDataSourceModel','_config','UniverSheetsPivotTablePlugin','_pivotTableMatrixInfo','sheets-pivot.blank','rowRanges','undos','drillDown','value','_subjectViewChange','SheetsPivotTableConfigModel','size','oldMatrix','UniverSheets','rangeType','RemoveSheetMutation','SetPivotSubtotalTypeMutation','getPivotTableIdByCell','getTextInfo','length','updateFieldSourceInfo','_exclusiveRangeService','slice','rgb(240,241,243)','getLastCol','forValue','reduce','endRow','updateDirtyPivotTable','getCellMatrix','Count\x20of\x20','formJSON','BehaviorSubject','refreshData','setPivotSort','dataStyle','generateRandomId','sheets-pivot.cellDateGroupDisplay.yearQuarter','updatePivotSource','isBaseGroupField','_pivotTableInstanceCache','sheet.command.move-pivot-table','_generateUniqueVersion','getSourceName','SetOptions','dateGroupField','toStringTag','info','isArray','AddPivotTable','Rectangle','_ensurePivotTableMatrixInfo','getDataFieldItemInfo','originTargetInfo','sheet.command.add-pivot-table','GrandTotal','BLANK_PLACEHOLDER','_initDataSendListener','getPivotDirtyViewInfo','SetRangeValuesUndoMutationFactory','getOriginFieldId','_sheetsPivotTableAdaptorModel','MovePivotField','_sheetsSelectionsService','\x20-\x20','fieldIds','asyncInterceptor','STRING','_configVersion$','rowCount','SetPivotValueFilterCommand','setPivotCollapse','_initViewModelBySheetInterceptor','sheet.mutation.pivot-update-field-position','Min\x20of\x20','_initPivotDataGetListener','ΣValue','MoveRangeCommand','defaultThemeStyle','_univerInstanceService','refreshDataField','result','_pivotConfigChange$','generateSetRangeValueMutations','headerMap','sheets-pivot.countName','notExecuteFormula','_collectionChange$','SetPivotSetting','collectionChange$','SetCollapse','_commandService','rowHeaderMap','_subjectFieldsCollectionChange','setDisplayName','getCurrentSelections','collectionConfig','viewUpdate$','handleAsyncResponse','PivotView','_requestResolvers','UpdateFieldPositionMutation','isEmpty','unitId','@univerjs/engine-render','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','setCollapse','getSheets','sheet.command.set-pivot-fields-config','FORCE_STRING','_pivotInitCompleted$','DataSyncPrimaryController','stdDevp','Minute','cellToRange','sheet.mutation.get-pivot-data-local','removePivotField','IUndoRedoService','isDateGroupField','UpdatePivotValuePositionCommand','sourceRangeInfo','updatePivotTableRangeInfo','Filter','DIV_BY_ZERO','createDataFieldId','_textInfo','ObjectMatrix','_viewUpdate$','sheet.mutation.set-pivot-field-subtotal-type','Total','getIntersects','_init','GlobalConfig','PivotDataFieldDataTypeEnum','token','updateValuePosition','removeCollectionImp','HourMinute','registerSyncingMutations','#e6ebfa','fieldsConfig','resetArea','numberToABC','sideEffectUpdateWorkerCache','sheets-pivot.sumName','rgb(255,255,255)','_deletePivotTableInstanceCache','pushUndoRedo','PivotTableViewDirtyMarkOperation','getFieldIds','_queryingMap','paths','valueFilter','date','_initRemoveSheetCommandInterceptor','sheetName','sheets-pivot.cellDateGroupDisplay.hour','triggerDirtyFeature','average','getFieldDataType','dataFieldId','shouldClear','tableFieldId','fromJSON','_initUnitDisposed','collapseInfo','getValue','setConfig','1160450yLyrUa','getColCount','Max\x20of\x20','sheet.command.set-pivot-field-setting','setValue','lastCol','isColMultiMeasure','getValuePosition','_globalSubject','entries','_sheetsPivotTableConfigModel','sheet.mutation.add-pivot-table','#f4f4f5','pivotPerformCheck','keys','single','blank','pushComputingStatusSubject','GlobalComputingStatusService','removePivotTable','subUnitId','startColumn','setSubtotalType','find','addCollectionByJSON','handleSourceRangeChange','getSubUnitPivotRenderCache','LS_CONFIG_KEY','disposableCollection','level','onCommandExecuted','updateAllDisplayName','_configService','unshift','countNums','Subtotal','Product\x20of\x20','rangeKeyMap','getUpdateRangeDeleteIds','sheets-pivot.value','setRangeValueUndoMutation','fieldId','getSortInfo','message','uniqueDataFieldName','setSortInfo','Month'];_0x2ed3=function(){return _0x5df85f;};return _0x2ed3();}
1
+ function _0x1bdb(){const _0x4ec143=['dataRangeInfo','removePivotField','valueFields','CommandType','complete','SetPivotPositionMutation','Optional','DisposableCollection','removeSourceRangeChange','getDataFieldByRangeKey','pivotTableId','NUMBER','PivotDataFieldDataTypeEnum','Module','_configService','unitId','_deleteModelCache','Quarter','adjustSheetCellData','getTextInfo','leftOffset','setValueFilterInfo','getPivotInfoByLicense','length','getMatrixValue','isDateGroupFieldJSON','data','getRowCount','UpdatePivotValuePositionCommand','reduce','getPivotDirtyViewInfo','DataField','getFullYear','Style','dimension','valid','SetPivotFilterCommand','_pivotTableInstanceCache','sheet.mutation.add-pivot-table','pageRanges','getDataFieldByTableId','getLastCol','getFieldIds','defaultThemeStyle','name','generateSetRangeValueMutations','isColMultiMeasure','registerRefRange','row','addFieldWithSourceId','colCount','SetPivotFieldFormatMutation','resetPivotTable','pivotMutationGenerate','GrandTotal','IUndoRedoService','LS_CONFIG_KEY','PivotDateGroupFieldDateTypeEnum','removePivotTable','getTextSize','UpdatePivotTableSourceRangeMutation','sheets-pivot.cellDateGroupDisplay.hour','getPivotDisplayConfig','panel','_textInfo','Existing','_onRefRangeChange','setCollapse','executeCommand','canUsePivot','getAdjustRangesPosition','setPivotSort','addExclusiveRange','_sheetsPivotDataSourceModel','asyncInterceptor','interceptCommand','_initConfig','isDateValue','_requestResolvers','applyChangeSet','RemovePivotFieldCommand','sheet.mutation.pivot-update-field-position','cornerRanges','RemovePivotField','@univerjs/sheets','sheets-pivot.cellDateGroupDisplay.hourMinute','startCollectChangeset','4YWlHaD','getDataFieldId','sequenceExecute','getPivotTableInstance','sortInfo','call','getFieldById','addPivotTableWithConfig','register','_subjectViewChange','sheet.mutation.rename-pivot-field','getPivotTableInfo','getPivotItemRenderInfoCache','collectionConfig','sheet.mutation.remove-pivot-field','Collapse','_configVersion$','SetPivotFilter','sheets-pivot.cellDateGroupDisplay.month','getSheetBySheetId','setDirty','rowHeaderMap','sheet.mutation.set-pivot-collapse','date','needSameDeleteModel','InsertSheetCommand','RemoveRowMutation','ObjectMatrix','getPivotCellInfo','_initPivotTextInfo','addCollectionByJSON','setConfig','SetFilterInfo','sheets-pivot.cellDateGroupDisplay.yearQuarter','getAutoDisplayName','_deletePivotTableInstanceCache','triggerDirtyFeature','_initCommandInterceptListener','getRangeKeyList','YearMonth','sheets-pivot.cellDateGroupDisplay.year','onQueryEnd','rowInfo','getViewData','type','sheet.command.set-pivot-sort','_initClearSelectionCommandInterceptor','col','RemoveSheetCommand','getColCount','Subtotal','removeValueFilterInfoByValueFieldId','_subjectFieldsCollectionChange','getDataFieldItemInfo','document','broadcastCollectionChange','IResourceManagerService','YearQuarter','SetPivotCollapseMutation','getMatrixFromRunTimeData','Column\x20','pluginName','excelDateToUnixMilliseconds','UpdateValuePositionMutation','_markDirty$','updateDirtyPivotTable','rangesInfo','getId','#1d32e9','_ensurePivotItemRenderValueMatrixCache','RemoveSheetsFilterMutation','RemovePivotFieldMutation','addPivotField','_featureCalculationManagerService','getFieldCountByArea','SetPivotTableConfig','updatePivotSource','createInterceptorKey','UniverProLicense','updateRangeKeyMap','sourceName','PivotCellStyleTypeEnum','rxjs','Delete','RefRangeService','Hour','sheet.command.move-pivot-table','concat','sheets-pivot.emptyPivot.column','DIV_BY_ZERO','SetFieldFormat','deleteField','getFieldPositionInfoById','SetPivotSortMutation','string','headerMap','_ensurePivotMap','getDisplayName','COLUMN','712438VflTaK','isErrorValue','_initDataSendListener','notExecuteFormula','find','6314uBTVqe','Value','limit\x20pivot','sheets-pivot.countNumsName','cellValue','#e6ebfb','pivotTableConfigs','DependentOn','colHeaderMap','_generateUniqueVersion','disposableCollection','function','sheets-pivot.stdDevName','sheet.mutation.add-group-collection','@univerjs/engine-render','symbol','Subject','handleMoveRange','SetPivotSetting','minDate','_viewData$','createAsyncInterceptorKey','addField','COMMAND','PivotFilterTypeEnum','getTargetByPivotTableId','UniverLicensePlugin','getMonth','valueFilter','updateView','Rectangle','PivotTableViewDirtyMarkOperation','_commandService','generateMutationsByRanges','@univerjs/rpc','RenamePivotFieldMutation','_getPivotAppliedRanges','getSheets','UpdateSource','getPivotTableMatrixInfo','_activeDirtyManagerService','setPivotCollapse','handleAsyncResponse','sheets-pivot.dateGroup.yearQuarter','sheets-pivot.productName','getFilterInfo','isBottomTotal','sheet.mutation.set-pivot-format','REF','10903840ccZlLd','getUnitId','createCollectionWithDataRange','sheet.command.add-pivot-table-with-config','AddPivotTable','setPivotSetting','getSheetBySheetName','_initLocale','interceptor','setDateType','NORMAL','ResetPivotTable','leafStyle','UpdateFieldPosition','getCellMatrix','#f4f4f5','sheet.mutation.get-pivot-data-local','updateRenderCache','sheet.command.pivot-drill-down','max','_initRegisterCommand','sheets-pivot.dateGroup.hour','subUnitId','Grand\x20Total','rowCount','registerPluginResource','getFormatInfo','getLastRow','SetWorksheetColWidthMutation','displayName','map','sheets-pivot.dateGroup.year','token','oldRangeInfo','valueIndex','setRange','sheet.mutation.pivot-update-value-position','getPivotTableConfig','value','getSubtotal','ptn','sheets-pivot.value','Product\x20of\x20','fieldId','rangeKey','updatePivotTableMatrixInfo','_initUnitDisposed','NotName','rgb(255,255,255)','DrillDown','UniverEngineRender','sheets-pivot.cellDateGroupDisplay.quarter','getOriginFieldId','registerCallbackWithEvent','_globalComputedEndHelpFunc','CELL_CONTENT','handleSourceRangeChange','params','_pivotTableRangeInfo','getTableFieldById','generateRandomId','exports','getformat','ClearSelectionContentCommand','sheets-pivot.cellDateGroupDisplay.yearMonth','collapseInfo','shouldClear','rgb(240,241,243)','_pivotInitCompleted$','getRefRangeMutationsByMoveRange','_dataFieldManagerCollection','MoveRangeMutation','sheet.command.add-pivot-field','PivotErrorTypeEnum','Count\x20of\x20','updateConfig','IUniverInstanceService','sheet.mutation.send-init-pivot-text-local','_init','isFeatureAuthorizedWithinTime','AddPivotTableWithConfigCommand','SheetsSelectionsService','getHeaderMapItem','size','sheet.command.set-pivot-fields-config','get','addCollection','unshift','setOptions','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','UniverCore','fromJSON','UpdateDateGroupCommand','Range','_sheetsPivotTableService','blank','_exclusiveRangeService','lastCol','getValueIndex','reset','unshiftString','sheet.command.set-pivot-value-filter','oldMatrix','_univerInstanceService','countNums','rowFields','values','getUpdateRangeDeleteIds','_host','prototype','UniverInstanceType','_globalComputedStartHelpFunc','NAME','SheetsPivotTableConfigModel','uniqueDataFieldName','SetValuePivotFilter','cornerStyle','SetPivotCollapseCommand','DateGroupField','pivotConfigChange$','updateViewInfo','getSheetCommandTarget','sheets-pivot.cellDateGroupDisplay.yearMonthDate','single','ΣValue','_sheetsPivotTableAdaptorModel','split','getValueFilterInfos','mergeWorksheetSnapshotWithDefault','PivotView','_ensurePivotTableMatrixInfo','width','_collectionConfigModel','_pivotRenderInfoCache','clearExclusiveRangesByGroupId','getSheetFeatureLimit','rangeKeyMap','isText','sheets-pivot.dateGroup.yearMonth','sheet.command.update-pivot-table-source-range','getFieldInfo','setPivotTableConfig','amd','IExclusiveRangeService','SetPivotSortCommand','setPivotFilter','realDeleteValue','refreshDataField','parseInt','addRecord','getSubUnitPivotMatrix','push','getPivotPerformCheck','#FFFFFF','#e6ebfa','_pivotTableMatrixInfo','registerDirtyService','count','iterateField','filter','disposeWithMe','generateNullCell','SetPivotSort','_viewUpdate$','sheet.mutation.send-pivot-data-local','keys','6eitWZE','UniverProSheetsPivot','SHEET_PIVOT_IN_MAIN_THREAD','stringify','updatePivotTableRangeInfo','dataFieldId','updateAllDisplayName','fields','paths','from','sourceRangeInfo','getSortInfo','pbt','@univerjs/sheets-filter','deleteUnitId','dispose','MovePivotTableCommand','setDataRecordCount','updateCollectionConfig','FieldsCollection','sheets-pivot.sumName','Minute','Add','slice','Month','sheet.mutation.remove-pivot-table','getRangeStartEndInfo','format','grandTotal','SetPivotOptionMutation','deepClone','getMatrix','_sheetsPivotRpcService','markDirty$','NUM','_collectionChange$','sheets-pivot.dateGroup.date','setFieldFormat','DataFieldManager','_updateModelCache','2422572bsMpNf','_globalSubject','isPrefixValue','add','sheet.mutation.set-pivot-option','sheets-pivot.columnName','intersects','query','sheets-pivot.emptyPivot.values','dataFieldManagerConfig','createLabelField','getPivotTableIdByCell','Panel','AsyncInterceptorManager','UniverProEnginePivot','MovePivotField','Var\x20of\x20','markDirty','onQueryStart','sheets-pivot.dateGroup.minute','_sheetInterceptorService','sheet.command.set-pivot-field-setting','error','custom','targetCellInfo','\x20-\x20','clear','_model','startColumn','fetchThroughInterceptors','includes','onCommandExecuted','_updateRenderEmptyCache','cellToRange','forValue','IConfigService','asObservable','getStyles','PivotDataFieldTypeEnum','result','sheets-pivot.varName','forEach','Values','Column','SheetsPivotTableAdaptorModel','SetPivotValueFilterMutation','1064evbdoT','merge','updateConfigCache','SetPivotValueFilterCommand','SetSubtotalType','fieldsCollectionChange$','None','Sum\x20of\x20','charCodeAt','getDataFieldBySourceName','sheets-pivot.cellDateGroupDisplay.minute','getFontStyleString','YearMonthDate','updateViewData','_dataSyncPrimaryController','sheetName','sheets-pivot.varpName','numfmt','FontCache','pushUndoRedo','_localeService','refreshData','matrix','measure','_sheetsSelectionsService','stdDevp','lastRow','PivotCallbackEnum','endColumn','floor','dataFieldsCollection','IActiveDirtyManagerService','updateFieldSourceInfo','filterId','transFromCellValue','toJSON','collectionChange$','sheet.operation.pivot-table-view-formula-mark-dirty','getRangeKey','batch','PivotTableFiledAreaEnum','sheet.command.reset-pivot-fields-config','Expand','BLANK_PLACEHOLDER','sheet.mutation.set-pivot-sort-info','setPivotInitCompleted','sheet.mutation.pivot-update-field-source-info','getUnit','PivotMultipleValueId','parse','sheets-pivot.blank','areaInfo','_createExclusiveRange','BehaviorSubject','collection','registerCommand','getSubUnitPivotRenderCache','_initPivotDataGetListener','intercept','isEmpty','SheetsPivotTableService','return\x20','registerSyncingMutations','getDataFieldByDataFieldId','UpdatePivotSource','getCellRaw','INTERCEPTOR_POINT','PivotTableValuePositionEnum','generateHexNumber','sheets-pivot.dateGroup.hourMinute','_fieldsCollectionChange$','NO_COMMERCIAL','InsertSheetMutation','getColumnCount','getTypeOfUnitDisposed$','Plugin','createValueField','Filter','SHEET_PIVOT_EXCLUSIVE_ID','collections','SHEET_PIVOT_TABLE_PLUGIN','GlobalConfig','_initGlobalComputed','PivotTable','subscribe','sheets-pivot.dateGroup.yearMonthDate','PivotTableOperationEnum','sheet.command.add-pivot-table','sheet.command.move-pivot-field','SheetInterceptorService','sheets-pivot.other','InsertSheetUndoMutationFactory','SetSheetsFilterRangeMutation','hasOwnProperty','AddPivotFieldMutation','getFormat','setRangeValueUndoMutation','colRanges','_refRangeService','some','info','workbook\x20is\x20not\x20found','fetchThroughAsyncInterceptors','column','sheet.command.set-pivot-filter','removeCollections','RANGE_TYPE','InterceptorManager','originalFieldId','setValuePivotFilter','CellValueType','_globalComputingSrv','tuple','_refRangeHandle','endCollectChangeset','getDate','remove','sheet.mutation.send-pivot-view-local','_queryingMap','InsertColMutation','dataFields','SheetsPivotDataSourceModel','originTargetInfo','rowRanges','sheet.mutation.remove-group-collection','DEFAULT_WORKSHEET_ROW_COUNT','ManualFilter','LocaleService','setRangeValueRedoMutation','RenameField','PivotDisplayDataType','other','getEmptyPivotRanges','Tools','deleteDataField','fieldIds','_toJSON','isValue','_injector','removeDataField','getDirtyInfo','_initRemoveSheetCommandInterceptor','drillDown','viewUpdate$','toStringTag','getValue','SetCollapse','PIVOT_MUTATION_GENERATE','addPivotTable','getFieldFormat','MonthDate','MAX_SAFE_INTEGER','body','_pivotRenderValueMatrixCache','getName','set','addDataFieldWithoutUnitInfo','setSubtotalType','@univerjs-pro/engine-pivot','removeField','iterateFieldByArea','sheets-pivot.minName','Disposable','SetPivotCollapse','1402655JJsoGX','getIntersects','setPivotTable','existing','setSortInfo','removeCollectionImp','sheet.mutation.update-pivot-table-source-range','Row','queryDirtyPivotTable','STRING','_initSnapshot','PivotViewCellValueTypeEnum','endRow','AddPivotField','_resourceManagerService','update','DEFAULT_PIVOT_NUMBER','sheet.mutation.update-date-group','getCollection','ErrorType','startRow','Average\x20of\x20','isBaseGroupField','Date','pivotInitCompleted$','getTargetByPivotId','getOwnPropertyDescriptor','tableFieldId','Inject','setRangeKeyMap','_viewData','movePivotField','rangeCache','fieldsConfig','Min\x20of\x20','setSourceName','defineProperty','setLabelFilterInfo','SheetsPivotRPCService','redos','UniverSheetsPivotTablePlugin','subtotal','6606693dNMLSr','sheets-pivot.subTotal','getConfig','AddPivotTableWithConfig','PivotDrillDownCommand','getCurrentSelections','#eceeff','setValue','initDataRanges','removeValueFilterInfo','Set','has','range','rangeType','options','createDataFieldId','filterInfo','sheets-pivot.emptyPivot.row','MoveRangeCommand','contains','getDataFieldManager','ICommandService','InsertRowMutation','MUTATION','_getAutoName','PivotSubtotalTypeEnum','new','AddPivotTableCommand','getPivotTableModelConfig','_sheetsPivotTableConfigModel','AddField','FORCE_STRING','sheets-pivot.countName','level','colInfo','getSubUnitPivotConfigs','getCurrentUnitForType','getAutoDisplayNameFunction','_ensureViewDataMap','random','fontRenderExtension','updateValuePosition','isDateGroupField','RemoveSheetMutation','getValuePosition','maxDate','splice','cornerInfo','sheets.tabs.sheet','CustomCommandExecutionError','getIndexesByPathStr','SetRangeValuesUndoMutationFactory','Injector','getSheetId','_subjectCollectionChange','min','ReleaseType','getRangeData','sheet.mutation.send-pivot-config-local','foreach','generateNewSheetName','HourMinute','getIntersectsPivotTable','next','entries','colStyle','getSourceName','InterceptorEffectEnum','undos','getPivotTableCellData','delete','versions','columnFields','872851PFxrbq','getFilterFieldIdByIndex','valuePosition','SetWorksheetActiveOperation','updateFieldPosition','setTextInfo','sheets-pivot.dateGroup.monthDate','substring','Varp\x20of\x20','pageStyle','_config','sum','_pivotConfigChange$','product','UNIVER_SHEET','RemoveColMutation','clearRenderCache','sheet.mutation.add-pivot-field','PivotTableChangeTypeEnum','getFieldDataType','_ensurePivotItemRenderInfoCache','formJSON','Year','sheet.command.update-pivot-value-position','addDirtyPivotTable','AddPivotFieldCommand','renameField','updateDataFieldsCollection','serializeRangeWithSpreadsheet','setName','getNoUsedDataFieldIds','getInsertRowColMutations','refreshGroupField','GlobalComputingStatusService','number','sheet.mutation.set-pivot-value-filter','subTotalStyle','UpdateValuePosition','pivotPerformCheck'];_0x1bdb=function(){return _0x4ec143;};return _0x1bdb();}function _0x1752(_0x3af277,_0x2fef55){_0x3af277=_0x3af277-0xcc;const _0x1bdb09=_0x1bdb();let _0x1752c5=_0x1bdb09[_0x3af277];return _0x1752c5;}(function(_0x349340,_0xb0ac1f){const _0x5a70b4=_0x1752,_0x2a0d83=_0x349340();while(!![]){try{const _0x31cf81=parseInt(_0x5a70b4(0x226))/0x1+parseInt(_0x5a70b4(0x307))/0x2+-parseInt(_0x5a70b4(0xe1))/0x3*(parseInt(_0x5a70b4(0x2a4))/0x4)+parseInt(_0x5a70b4(0x1b3))/0x5*(-parseInt(_0x5a70b4(0x3e3))/0x6)+-parseInt(_0x5a70b4(0x30c))/0x7*(-parseInt(_0x5a70b4(0x10f))/0x8)+-parseInt(_0x5a70b4(0x1dd))/0x9+parseInt(_0x5a70b4(0x33d))/0xa;if(_0x31cf81===_0xb0ac1f)break;else _0x2a0d83['push'](_0x2a0d83['shift']());}catch(_0x40d1dc){_0x2a0d83['push'](_0x2a0d83['shift']());}}}(_0x1bdb,0x96b48),function(_0x41b6d1,_0x55a163){const _0x20261c=_0x1752;typeof exports=='object'&&typeof module<'u'?_0x55a163(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==_0x20261c(0x317)&&define[_0x20261c(0x3cb)]?define([_0x20261c(0x37a),_0x20261c(0x1ad),'@univerjs/core','@univerjs/engine-formula',_0x20261c(0x2a1),_0x20261c(0x2f6),'@univerjs-pro/license',_0x20261c(0x3f0),_0x20261c(0x32e),_0x20261c(0x31a)],_0x55a163):(_0x41b6d1=typeof globalThis<'u'?globalThis:_0x41b6d1||self,_0x55a163(_0x41b6d1[_0x20261c(0x3e4)]={},_0x41b6d1[_0x20261c(0xef)],_0x41b6d1[_0x20261c(0x397)],_0x41b6d1['UniverEngineFormula'],_0x41b6d1['UniverSheets'],_0x41b6d1['rxjs'],_0x41b6d1[_0x20261c(0x2f2)],_0x41b6d1['UniverSheetsFilter'],_0x41b6d1['UniverRpc'],_0x41b6d1[_0x20261c(0x36f)]));}(this,function(_0x237829,_0x2d316f,_0x369ce1,_0xc627d4,_0x298fdb,_0x2c0848,_0x5b8945,_0xc31ffa,_0x247d91,_0x10fda7){'use strict';const _0x49f7c3=_0x1752;var _0x10d07b=Object['defineProperty'],_0x19fde4=(_0x5c1030,_0x5abefb,_0x2153ac)=>_0x5abefb in _0x5c1030?_0x10d07b(_0x5c1030,_0x5abefb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2153ac}):_0x5c1030[_0x5abefb]=_0x2153ac,_0x2a34b8=(_0x74609b,_0x26c6fd,_0x590779)=>_0x19fde4(_0x74609b,typeof _0x26c6fd!=_0x49f7c3(0x31b)?_0x26c6fd+'':_0x26c6fd,_0x590779);const _0x472e37=Number[_0x49f7c3(0x3d1)](0x6946533e),_0x2acfa5=0x10,_0x2b5880=0x1,_0x294572=_0x49f7c3(0x15f),_0x523b9d=0x1,_0x28f456=_0x49f7c3(0x380),_0x225987=_0x49f7c3(0x36d),_0x2b9891='#b2b2b2',_0x100021=_0x49f7c3(0x34c),_0xb9a485=_0x49f7c3(0x34c),_0x4d7a4c=_0x49f7c3(0x1e3),_0x1dc249=_0x49f7c3(0x2e8),_0x4f3d87='#FFFFFF',_0x39c1eb=_0x49f7c3(0x3d7),_0x5bd890=_0x49f7c3(0x2e8),_0x3a7e2b=_0x49f7c3(0x3d6),_0x131141=_0x49f7c3(0x311),_0x213fa6=0xe,_0x110b83=0x6;var _0x5055e3=(_0x1ffaa=>(_0x1ffaa[_0x49f7c3(0x28e)]=_0x49f7c3(0x1b6),_0x1ffaa['New']=_0x49f7c3(0x1f7),_0x1ffaa))(_0x5055e3||{});const _0x5a6c8d={'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':''}}},_0x3a6b24=0x1e,_0x1e53e5={'b':{'s':0x1,'cl':{'rgb':_0x2b9891}},'l':{'s':0x1,'cl':{'rgb':_0x2b9891}},'r':{'s':0x1,'cl':{'rgb':_0x2b9891}},'t':{'s':0x1,'cl':{'rgb':_0x2b9891}}},_0x4ae871={'bg':{'rgb':_0x28f456},'ht':0x2,'vt':0x2,'tb':0x1},_0x53c1e0={'bg':{'rgb':_0x225987},'ht':0x2,'vt':0x2,'tb':0x1},_0x47e2f1={'rowStyle':{'bg':{'rgb':_0x131141},'bd':_0x1e53e5,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5bd890},'bd':null,'cl':{'rgb':_0x3a7e2b},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0x39c1eb},'vt':0x2},'cornerStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0x4d7a4c},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0x100021},'vt':0x2},'leafStyle':{'bd':_0x1e53e5,'bg':{'rgb':_0xb9a485},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1dc249},'cl':{'rgb':_0x4f3d87},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1e53e5,'vt':0x2}};function _0x2ce820(_0x42318d,_0x5e2e96,_0x16bbf3){const _0x5376e6=_0x49f7c3,_0x43afe6=_0x42318d[_0x5376e6(0x392)](_0x369ce1[_0x5376e6(0x18e)]),_0x37a833=_0x16bbf3[_0x5376e6(0x3bb)]('_');switch(_0x5e2e96){case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x23c)]:return _0x43afe6['t'](_0x5376e6(0x2cc),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0xce)]:return _0x43afe6['t'](_0x5376e6(0x119),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x2f9)]:return _0x43afe6['t'](_0x5376e6(0x28a),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x21a)]:return _0x43afe6['t'](_0x5376e6(0x2a2),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x1ca)]:return _0x43afe6['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0xd1)]:return _0x43afe6['t'](_0x5376e6(0x2b6),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x25e)]:return _0x43afe6['t'](_0x5376e6(0x370),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x2cb)]:return _0x43afe6['t'](_0x5376e6(0x37d),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x11b)]:return _0x43afe6['t'](_0x5376e6(0x3b7),..._0x37a833);case _0x2d316f[_0x5376e6(0x286)][_0x5376e6(0x2dd)]:return _0x43afe6['t'](_0x5376e6(0x2c5),..._0x37a833);}return'';}const _0x27d01c=(_0x189a03,_0x2d1c2a,_0x22948b,_0x545d2b)=>{const _0x39b717=_0x49f7c3;let _0xb41804;const _0x343b72=_0x189a03[_0x39b717(0x392)](_0x369ce1[_0x39b717(0x389)])[_0x39b717(0x201)](_0x369ce1[_0x39b717(0x3ab)]['UNIVER_SHEET']);if(!_0x343b72)return null;const _0x25c738=_0x343b72[_0x39b717(0x106)]();let _0x13eb8e;if(_0x22948b&&(_0x13eb8e=_0x25c738['setValue'](_0x22948b)),_0x2d1c2a!=null&&_0x2d1c2a['v']||(_0x2d1c2a==null?void 0x0:_0x2d1c2a['v'])===0x0){_0xb41804||(_0xb41804={});const _0x3f057e=_0x2f79f7(_0x2d1c2a['v']);typeof _0x3f057e=='number'?_0xb41804['t']=_0x369ce1[_0x39b717(0x17d)][_0x39b717(0x258)]:typeof _0x3f057e==_0x39b717(0x302)&&(_0xb41804['t']=_0x369ce1[_0x39b717(0x17d)][_0x39b717(0x1bc)]),_0xb41804['v']=_0x3f057e;}if((_0x2d1c2a!=null&&_0x2d1c2a['i']||(_0x2d1c2a==null?void 0x0:_0x2d1c2a['i'])===0x0)&&(_0xb41804||(_0xb41804={}),_0xb41804['fi']=_0x2d1c2a['i']),_0x2d1c2a!=null&&_0x2d1c2a['s']&&(_0xb41804||(_0xb41804={}),_0xb41804[_0x39b717(0x3ef)]=_0x2d1c2a['s']),_0x22948b&&(_0xb41804||(_0xb41804={}),_0xb41804['s']=_0x13eb8e),_0x545d2b&&_0xb41804!=null&&_0xb41804['v']&&_0xb41804[_0x39b717(0x3ef)]!==_0x2d316f[_0x39b717(0x2f5)][_0x39b717(0x283)]&&_0xb41804[_0x39b717(0x3ef)]!==_0x2d316f[_0x39b717(0x2f5)][_0x39b717(0x2d6)]){const _0x21e862=String(_0xb41804['v']),{dateType:_0x1a8f7a}=_0x545d2b;_0xb41804['v']=_0x2ce820(_0x189a03,_0x1a8f7a,_0x21e862),_0xb41804['t']=_0x369ce1['CellValueType'][_0x39b717(0x1bc)];}return _0xb41804;},_0x2df028=(_0x204ab5,_0x61a771,_0x49b28f,_0x31b373)=>{const _0x44d44c=_0x49f7c3;var _0x4d71e7,_0x19b431,_0x4f3495,_0x2b5255,_0x490d0a,_0x536386,_0x24f473,_0x27efe4,_0x440111,_0x22cf77,_0xd866e8,_0x5983f9,_0x3fdcf9,_0x5c09c6;const _0x944b06=_0x49b28f[_0x44d44c(0xf9)],{cornerView:_0x3eafbb,rowView:_0x4de4ce,colView:_0x3a4250,dataView:_0x37b8c8,pageView:_0x5eeb01,formatMap:_0x24863d,groupInfo:_0xfe8ef4}=_0x61a771,{row:_0x1b92c0,col:_0x231d06}=_0x944b06,_0x38e739=new _0x369ce1['ObjectMatrix'](),_0x55b296={},_0x5b5320={},_0x302c48={},_0x8be537={},_0x1bd1d4={};let _0x3b7e45=_0x1b92c0,_0x2902fd=_0x231d06;Object[_0x44d44c(0x3e2)](_0x5eeb01[_0x44d44c(0x267)])[_0x44d44c(0x10a)](_0x32a0c8=>{const _0xc602bd=_0x44d44c;Object[_0xc602bd(0x3e2)](_0x5eeb01[_0xc602bd(0x267)][Number(_0x32a0c8)])['forEach'](_0x5054da=>{const _0x34f654=_0xc602bd,_0x4b6f83={..._0x5eeb01['data'][Number(_0x32a0c8)][Number(_0x5054da)]};_0x38e739['setValue'](Number(_0x32a0c8)+_0x3b7e45,Number(_0x5054da)+_0x2902fd,_0x27d01c(_0x204ab5,_0x4b6f83,_0x47e2f1[_0x34f654(0x22f)]));});});const _0x16bb52=Object[_0x44d44c(0x3e2)](_0x5eeb01['data'])[_0x44d44c(0x264)];_0x3b7e45+=_0x16bb52+(_0x16bb52?_0x523b9d:0x0);const _0x24b6cb=_0x3eafbb[_0x44d44c(0x268)](),_0x24f0d7=_0x3eafbb[_0x44d44c(0x2d5)]();for(let _0x4a08d9=0x0;_0x4a08d9<_0x24b6cb;_0x4a08d9++)for(let _0x37ebc1=0x0;_0x37ebc1<_0x24f0d7;_0x37ebc1++){const _0x6cba86={...(_0x19b431=(_0x4d71e7=_0x3eafbb[_0x44d44c(0x267)])==null?void 0x0:_0x4d71e7[_0x4a08d9])==null?void 0x0:_0x19b431[_0x37ebc1]};_0x6cba86&&((_0x4f3495=_0x4de4ce['headerMap'][_0x37ebc1])!=null&&_0x4f3495['isValue'])&&_0x37ebc1===_0x24f0d7-0x1&&_0x4a08d9===_0x24b6cb-0x1&&(_0x6cba86['v']=''+_0x31b373['sheets-pivot.value']),_0x38e739['setValue'](_0x4a08d9+_0x3b7e45,_0x37ebc1+_0x2902fd,_0x27d01c(_0x204ab5,_0x6cba86,_0x47e2f1[_0x44d44c(0x3b1)]));}for(let _0x2aa07f=0x0;_0x2aa07f<_0x3eafbb[_0x44d44c(0x173)][_0x44d44c(0x264)];_0x2aa07f++)_0x3eafbb['info'][_0x2aa07f]&&(_0x302c48[''+(_0x2aa07f+_0x2902fd)]=_0x3eafbb[_0x44d44c(0x173)][_0x2aa07f]);_0x2902fd+=_0x24f0d7;const _0x16c6e9=_0x3a4250['headerMap'],_0x46ea9d=_0x3a4250[_0x44d44c(0x358)]()>=0x0?_0x3a4250[_0x44d44c(0x358)]()+0x1:0x0,_0x5ca9ec=_0x3a4250[_0x44d44c(0x276)]()>=0x0?_0x3a4250[_0x44d44c(0x276)]()+0x1:0x0;for(let _0x5f4f02=0x0;_0x5f4f02<_0x5ca9ec;_0x5f4f02++){for(let _0x351e56=0x0;_0x351e56<_0x46ea9d;_0x351e56++){const _0x15466c={...(_0x490d0a=(_0x2b5255=_0x3a4250['data'])==null?void 0x0:_0x2b5255[_0x351e56])==null?void 0x0:_0x490d0a[_0x5f4f02]},_0x25c664=(_0x536386=_0x16c6e9[_0x351e56])==null?void 0x0:_0x536386['tableFieldId'],_0x5c4079=_0x24863d[_0x25c664],_0x2ce2c1=_0xfe8ef4[_0x25c664];_0x15466c&&(_0x15466c['v']=_0x5bb57f(_0x15466c,_0x351e56===0x0&&((_0x24f473=_0x3a4250[_0x44d44c(0x38f)](_0x5f4f02+0x1))==null?void 0x0:_0x24f473[_0x44d44c(0x198)]),_0x5c4079,_0x31b373));let _0x595895;_0x5c4079?_0x595895={..._0x47e2f1[_0x44d44c(0x21e)],'n':{'pattern':_0x5c4079}}:_0x595895={..._0x47e2f1[_0x44d44c(0x21e)]},_0x38e739[_0x44d44c(0x1e4)](_0x351e56+_0x3b7e45,_0x5f4f02+_0x2902fd,_0x27d01c(_0x204ab5,_0x15466c,_0x595895,_0x2ce2c1));}_0x3a4250[_0x44d44c(0x173)][_0x5f4f02]&&(_0x5b5320[''+(_0x5f4f02+_0x2902fd)]=_0x3a4250['info'][_0x5f4f02]),_0x3a4250[_0x44d44c(0x303)][_0x5f4f02+0x1]&&(_0x1bd1d4[''+(_0x5f4f02+_0x3b7e45+0x1)]=_0x3a4250[_0x44d44c(0x303)][_0x5f4f02+0x1]);}_0x3b7e45+=_0x24b6cb;const _0x467c3f=_0x4de4ce[_0x44d44c(0x303)],_0x1e9c8d=_0x4de4ce['getLastRow']()>=0x0?_0x4de4ce['getLastRow']()+0x1:0x0,_0x28f582=_0x4de4ce['getLastCol']()>=0x0?_0x4de4ce[_0x44d44c(0x276)]()+0x1:0x0;for(let _0x57aebf=0x0;_0x57aebf<_0x1e9c8d;_0x57aebf++){for(let _0x45d7f5=0x0;_0x45d7f5<_0x28f582;_0x45d7f5++){const _0x13497d={...(_0x440111=(_0x27efe4=_0x4de4ce[_0x44d44c(0x267)])==null?void 0x0:_0x27efe4[_0x57aebf])==null?void 0x0:_0x440111[_0x45d7f5]},_0x3f4ab5=(_0x22cf77=_0x467c3f[_0x45d7f5])==null?void 0x0:_0x22cf77['tableFieldId'],_0x5c1f64=_0x24863d[_0x3f4ab5],_0x507bb4=_0xfe8ef4[_0x3f4ab5];_0x13497d&&(_0x13497d['v']=_0x5bb57f(_0x13497d,!0x1,_0x5c1f64,_0x31b373));let _0x4e442e;_0x4de4ce[_0x44d44c(0x173)][_0x57aebf][_0x44d44c(0x1fe)]===_0x4de4ce['getColCount']()?_0x4e442e=_0x47e2f1[_0x44d44c(0x349)]:_0x4de4ce[_0x44d44c(0x173)][_0x57aebf][_0x44d44c(0x33a)]?_0x4e442e=_0x4de4ce['info'][_0x57aebf][_0x44d44c(0x1fe)]===0x0?_0x47e2f1[_0x44d44c(0xd5)]:_0x47e2f1['subTotalStyle']:_0x4e442e=_0x47e2f1['rowStyle'],_0x5c1f64&&(_0x4e442e={..._0x4e442e,'n':{'pattern':_0x5c1f64}}),_0x38e739[_0x44d44c(0x1e4)](_0x57aebf+_0x3b7e45,_0x45d7f5+_0x231d06,_0x27d01c(_0x204ab5,_0x13497d,_0x4e442e,_0x507bb4));}_0x4de4ce[_0x44d44c(0x173)][_0x57aebf]&&(_0x55b296[''+(_0x57aebf+_0x3b7e45)]=_0x4de4ce[_0x44d44c(0x173)][_0x57aebf]),_0x4de4ce['headerMap'][_0x57aebf]&&(_0x8be537[''+(_0x57aebf+_0x231d06)]=_0x4de4ce['headerMap'][_0x57aebf]);}const _0x28fd30=_0x37b8c8['getRowCount'](),_0x5f5739=_0x37b8c8[_0x44d44c(0x2d5)]();for(let _0x30e2d3=0x0;_0x30e2d3<_0x28fd30;_0x30e2d3++)for(let _0x3caaa5=0x0;_0x3caaa5<_0x5f5739;_0x3caaa5++){const _0x1a6e33={...(_0x5983f9=(_0xd866e8=_0x37b8c8[_0x44d44c(0x267)])==null?void 0x0:_0xd866e8[_0x30e2d3])==null?void 0x0:_0x5983f9[_0x3caaa5]};let _0x2b288c;_0x4de4ce[_0x44d44c(0x173)][_0x30e2d3][_0x44d44c(0x33a)]?_0x2b288c=_0x4de4ce[_0x44d44c(0x173)][_0x30e2d3][_0x44d44c(0x1fe)]===0x0?_0x47e2f1[_0x44d44c(0xd5)]:_0x47e2f1[_0x44d44c(0x24a)]:_0x2b288c=_0x47e2f1['dataStyle'];const _0x577ef8=_0x4de4ce[_0x44d44c(0x173)][_0x30e2d3][_0x44d44c(0x35f)],_0x27b9ee=_0x3a4250[_0x44d44c(0x173)][_0x3caaa5][_0x44d44c(0x35f)],_0x18e246=Math['max'](_0x577ef8,_0x27b9ee),_0x6411c=_0x49b28f[_0x44d44c(0x1d4)][_0x44d44c(0x24f)][_0x44d44c(0x2fb)]();let _0x288178='';_0x18e246<0x0?_0x288178=(_0x3fdcf9=_0x6411c[0x0])!=null?_0x3fdcf9:'':_0x288178=(_0x5c09c6=_0x6411c[_0x18e246])!=null?_0x5c09c6:'';const _0x2bd98f=_0x24863d[_0x288178];_0x2bd98f&&(_0x2b288c={..._0x2b288c,'n':{'pattern':_0x2bd98f}}),_0x38e739[_0x44d44c(0x1e4)](_0x30e2d3+_0x3b7e45,_0x3caaa5+_0x2902fd,_0x27d01c(_0x204ab5,_0x1a6e33,_0x2b288c));}return{'valueMatrix':_0x38e739,'rowInfo':_0x55b296,'colInfo':_0x5b5320,'cornerInfo':_0x302c48,'rowHeaderMap':_0x8be537,'colHeaderMap':_0x1bd1d4};};function _0x5bb57f(_0x29f4a6,_0x3bed26,_0x270e63,_0x36837a){const _0x554e68=_0x49f7c3;let _0x298691=_0x29f4a6['v'];_0x3bed26&&(_0x298691=''+_0x36837a['sheets-pivot.value']);const _0x568d5e=_0x29f4a6['t']&&(_0x29f4a6['t']&_0x2d316f[_0x554e68(0x1be)][_0x554e68(0x39c)])>0x0;_0x568d5e&&(_0x298691=''+_0x36837a[_0x554e68(0x141)]);const _0x2f72bf=_0x29f4a6['t']&&(_0x29f4a6['t']&_0x2d316f[_0x554e68(0x1be)][_0x554e68(0x192)])>0x0;if(_0x2f72bf&&(_0x298691=''+_0x36837a[_0x554e68(0x169)]),_0x29f4a6['s']===_0x2d316f[_0x554e68(0x2f5)][_0x554e68(0x2d6)]){let _0x4acadb=_0x298691,_0x1d0971='';_0x2d316f[_0x554e68(0xe3)](_0x298691)&&(_0x4acadb=_0x298691['prefix'],_0x1d0971=_0x298691[_0x554e68(0x363)]);const _0x51cf0d=_0x270e63&&!_0x568d5e&&!_0x2f72bf?_0x369ce1['numfmt'][_0x554e68(0xd4)](_0x270e63,Number(_0x4acadb)):_0x4acadb;_0x1d0971?_0x298691=_0x51cf0d+'\x20'+_0x1d0971:_0x298691=_0x51cf0d+'\x20'+_0x36837a[_0x554e68(0x1de)];}else _0x29f4a6['s']===_0x2d316f[_0x554e68(0x2f5)][_0x554e68(0x283)]&&(_0x298691=_0x298691+'\x20'+_0x36837a['sheets-pivot.grandTotal']);return _0x298691;}function _0x2f79f7(_0x3e39a8){const _0x23afb2=_0x49f7c3;if(_0x2d316f[_0x23afb2(0x308)](_0x3e39a8)){const {errorType:_0x4c8846}=_0x3e39a8;switch(_0x4c8846){case _0x2d316f['PivotErrorTypeEnum']['Div0']:return _0xc627d4[_0x23afb2(0x1c6)][_0x23afb2(0x2fd)];case _0x2d316f[_0x23afb2(0x386)]['NotNumber']:return _0xc627d4['ErrorType'][_0x23afb2(0xdb)];case _0x2d316f[_0x23afb2(0x386)]['NotFunction']:return _0xc627d4[_0x23afb2(0x1c6)][_0x23afb2(0x3ad)];case _0x2d316f[_0x23afb2(0x386)][_0x23afb2(0x36c)]:return _0xc627d4['ErrorType'][_0x23afb2(0x3ad)];case _0x2d316f[_0x23afb2(0x386)]['BadReference']:return _0xc627d4[_0x23afb2(0x1c6)][_0x23afb2(0x33c)];}}return _0x3e39a8;}function _0x485549(_0x2eb936,_0x325870,_0x58e114=!0x1,_0x2c9443=!0x1){const _0x8b2d59=_0x49f7c3,{data:_0xf4ca7d}=_0x325870,_0x4e14ae=_0x325870['getRowCount'](),_0x3563c4=_0x325870[_0x8b2d59(0x2d5)]();if(_0x4e14ae<=0x0||_0x3563c4<=0x0)return[];const _0x5cf29f=_0x325870[_0x8b2d59(0x276)](),_0x59809b=_0x325870['getLastRow'](),_0x28d6ae=_0x2c9443?_0x59809b>=0x0?_0x59809b+0x1:0x0:_0x4e14ae,_0x1c2fa7=_0x2c9443?_0x5cf29f>=0x0?_0x5cf29f+0x1:0x0:_0x3563c4,{row:_0x1a4b3b,col:_0x38c0d1}=_0x2eb936,_0x285bc5=_0x1a4b3b,_0x5112e3=_0x38c0d1;if(_0x58e114){const _0x17fe60=[];for(const [_0x4da873,_0x4431e7]of Object[_0x8b2d59(0x21d)](_0xf4ca7d))for(const [_0x179bb8,_0x12b0a5]of Object['entries'](_0x4431e7))_0x17fe60['push'](_0x369ce1[_0x8b2d59(0x102)](_0x285bc5+Number(_0x4da873),_0x5112e3+Number(_0x179bb8)));return _0x17fe60;}else{const _0xef6e21=_0x2c9443?_0x28d6ae>0x0?0x1:0x0:0x1,_0x20c59a=_0x2c9443?_0x1c2fa7>0x0?0x1:0x0:0x1,_0x3debfe=_0x1a4b3b+_0x28d6ae-_0xef6e21,_0x2c0c61=_0x38c0d1+_0x1c2fa7-_0x20c59a;return[{'startRow':_0x285bc5,'startColumn':_0x5112e3,'endRow':_0x3debfe,'endColumn':_0x2c0c61}];}}const _0x2884f3=_0x49f7c3(0x3e5),_0x4b1e68=_0x49f7c3(0x15d);var _0x2b63fe=(_0x59c453=>(_0x59c453[_0x49f7c3(0x15c)]='filter',_0x59c453[_0x49f7c3(0xed)]='panel',_0x59c453[_0x49f7c3(0x1c0)]=_0x49f7c3(0x2ec),_0x59c453[_0x49f7c3(0x1e0)]=_0x49f7c3(0x1e0),_0x59c453[_0x49f7c3(0x341)]=_0x49f7c3(0x1a3),_0x59c453[_0x49f7c3(0xf0)]=_0x49f7c3(0x1d2),_0x59c453[_0x49f7c3(0x2a0)]='removePivotField',_0x59c453[_0x49f7c3(0x1b2)]=_0x49f7c3(0x335),_0x59c453['SetPivotFilter']=_0x49f7c3(0x3ce),_0x59c453['SetPivotSort']=_0x49f7c3(0x294),_0x59c453[_0x49f7c3(0x31e)]=_0x49f7c3(0x342),_0x59c453[_0x49f7c3(0x14f)]=_0x49f7c3(0x2f0),_0x59c453[_0x49f7c3(0x24b)]=_0x49f7c3(0x206),_0x59c453[_0x49f7c3(0x36e)]=_0x49f7c3(0x19d),_0x59c453['SetValuePivotFilter']='setValuePivotFilter',_0x59c453[_0x49f7c3(0x2ef)]=_0x49f7c3(0x3ca),_0x59c453['ResetPivotTable']=_0x49f7c3(0x281),_0x59c453))(_0x2b63fe||{});const _0x3cc296={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x49f7c3(0x2e0),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x49f7c3(0x354),'sheets-pivot.valueText':_0x49f7c3(0x30d),'sheets-pivot.averageName':_0x49f7c3(0x1c8),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x49f7c3(0x387),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x49f7c3(0x1d5),'sheets-pivot.productName':_0x49f7c3(0x367),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x49f7c3(0x116),'sheets-pivot.varName':_0x49f7c3(0xf1),'sheets-pivot.varpName':_0x49f7c3(0x22e),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':_0x49f7c3(0x39c),'sheets-pivot.other':_0x49f7c3(0x192),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x49f7c3(0x1ba),'sheets-pivot.emptyPivot.column':_0x49f7c3(0x10c),'sheets-pivot.emptyPivot.values':_0x49f7c3(0x10b)},_0x29b80a={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2f016b=_0x369ce1[_0x49f7c3(0x321)](_0x49f7c3(0x24c)),_0x54cb75=_0x369ce1[_0x49f7c3(0x2f1)](_0x49f7c3(0x282));var _0x39e953=(_0x32903f=>(_0x32903f[_0x49f7c3(0xe4)]=_0x49f7c3(0xe4),_0x32903f[_0x49f7c3(0x223)]=_0x49f7c3(0x223),_0x32903f[_0x49f7c3(0x1c2)]=_0x49f7c3(0x1c2),_0x32903f))(_0x39e953||{}),_0x48b491=(_0x42825a=>(_0x42825a['Add']=_0x49f7c3(0xe4),_0x42825a[_0x49f7c3(0x1e7)]='set',_0x42825a[_0x49f7c3(0x2f7)]=_0x49f7c3(0x223),_0x42825a))(_0x48b491||{});const _0x1fefb9={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x34d),'handler':()=>!0x0},_0x234ed3={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x3e1),'handler':()=>!0x0},_0x48cc23={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':_0x49f7c3(0x184),'handler':()=>!0x0},_0x4c6758={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':_0x49f7c3(0x217),'handler':()=>!0x0},_0x59c387={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x38a),'handler':()=>!0x0};var _0x1bfd04=Object['getOwnPropertyDescriptor'],_0x1e589c=(_0x27e7cb,_0x3ea48e,_0x18973e,_0x4c8e67)=>{const _0x37e922=_0x49f7c3;for(var _0x2a3189=_0x4c8e67>0x1?void 0x0:_0x4c8e67?_0x1bfd04(_0x3ea48e,_0x18973e):_0x3ea48e,_0x1cf413=_0x27e7cb[_0x37e922(0x264)]-0x1,_0x30bf59;_0x1cf413>=0x0;_0x1cf413--)(_0x30bf59=_0x27e7cb[_0x1cf413])&&(_0x2a3189=_0x30bf59(_0x2a3189)||_0x2a3189);return _0x2a3189;},_0x5bed2a=(_0x578020,_0x1a4f03)=>(_0x2e60bd,_0x29f3ce)=>_0x1a4f03(_0x2e60bd,_0x29f3ce,_0x578020);_0x237829[_0x49f7c3(0x1d9)]=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x3e5917){const _0x292665=_0x49f7c3;super(),_0x2a34b8(this,_0x292665(0x29b),new Map()),this[_0x292665(0x32c)]=_0x3e5917;}[_0x49f7c3(0x336)](_0x499bfb){const _0x3a36f5=_0x49f7c3,{version:_0x410f12}=_0x499bfb,_0x45d830=this[_0x3a36f5(0x29b)][_0x3a36f5(0x392)](_0x410f12);_0x45d830&&(_0x45d830(_0x499bfb),this[_0x3a36f5(0x29b)]['delete'](_0x410f12));}[_0x49f7c3(0x28b)](_0x4fae55){return new Promise((_0x119bf1,_0x40f71c)=>{const _0x21b13c=_0x1752,_0x283e4a=this[_0x21b13c(0x315)]();this[_0x21b13c(0x29b)][_0x21b13c(0x1aa)](_0x283e4a,_0x119bf1),this[_0x21b13c(0x32c)][_0x21b13c(0x291)](_0x1fefb9['id'],{'version':_0x283e4a,..._0x4fae55},{'onlyLocal':!0x0});});}[_0x49f7c3(0x315)](){const _0x115395=_0x49f7c3;return Math[_0x115395(0x204)]()['toString'](0x24)[_0x115395(0x22d)](0x2,0x10);}},_0x237829['SheetsPivotRPCService']=_0x1e589c([_0x5bed2a(0x0,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x1f2)]))],_0x237829[_0x49f7c3(0x1d9)]);const _0x34f2f0={0x0:'P',0x1:'9',0x2:'q',0x3:'M',0x4:'b',0x5:'z',0x6:'p',0x7:'m',0x8:'r',0x9:'v','h':'0','L':'1','j':'2','d':'3','m':'4','M':'5','u':'6','F':'7','Y':'8','z':'a','e':'c','S':'d','y':'e','I':'f','G':'g','c':'h','E':'i','R':'j','X':'k','Q':'l','q':'n','W':'o','Z':'s','T':'t','s':'u','v':'w','x':'x','n':'y','N':'A','A':'B','O':'C','o':'D','r':'E','J':'F','i':'G','w':'H','P':'I','a':'J','D':'K','C':'L','g':'N','K':'O','B':'Q','t':'R','H':'S','U':'T','f':'U','p':'V','l':'W','b':'X','V':'Y','k':'Z'},_0x2d686b='/*\x20yZQEqT-SEZz4Qy\x2068yIy8-Ty76QzTy\x20*/IsqeTEWq\x20Sye8n6TEWq(QEeyqZy,\x206s4QEeDyn)\x20{\x20\x20\x20\x20T8n\x20{\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20QEeyqZyPqIW0z8TN88zn\x20=\x20QEeyqZy.Z6QET(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20W8EGEq3yZZzGy\x20=\x20aHKg.6z8Zy(zTW4(QEeyqZyPqIW0z8TN88zn[j]));\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(!W8EGEq3yZZzGy.sS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20W8EGEq3yZZzGy.sS\x20=\x20gs74y8(QEeyqZyPqIW0z8TN88zn[m]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20EZlW8Xy8\x20=\x20Tn6yWI\x20lW8Xy8iQW4zQHeW6y\x20!==\x20\x27sqSyIEqyS\x27\x20&&\x20ZyQI\x20EqZTzqeyWI\x20lW8Xy8iQW4zQHeW6y;\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20EZA8WvZy8\x20=\x20Tn6yWI\x20vEqSWv\x20!==\x20\x27sqSyIEqyS\x27\x20&&\x20Tn6yWI\x20vEqSWv.QWezTEWq\x20!==\x20\x27sqSyIEqyS\x27;\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20eWqTyxT\x20=\x20EZlW8Xy8\x20?\x20ZyQI\x20:\x20(EZA8WvZy8\x20?\x20vEqSWv\x20:\x20GQW4zQUcEZ);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x207yZZzGylW8S\x20=\x20eWqTyxT.__AzZyum__.6z8Zy(QEeyqZyPqIW0z8TN88zn[j]);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x207yZZzGy\x20=\x20eWqTyxT.__wyx__.ZT8EqGEIn(7yZZzGylW8S);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZEGqzTs8ylW8S\x20=\x20eWqTyxT.__AzZyum__.6z8Zy(QEeyqZyPqIW0z8TN88zn[d]);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZEGqzTs8y\x20=\x20eWqTyxT.__wyx__.ZT8EqGEIn(ZEGqzTs8ylW8S);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZEGqpzQES\x20=\x20eWqTyxT.__9y8EIn__(ZEGqzTs8y,\x207yZZzGy,\x206s4QEeDyn);\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20SW7zEq\x20=\x20W8EGEq3yZZzGy.S7;\x20\x20\x20\x20\x20\x20\x20\x20IsqeTEWq\x20EZoW7zEq3zTecEqG(6zTTy8q,\x20cWZT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(6zTTy8q\x20===\x20cWZT)\x208yTs8q\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(6zTTy8q.ZTz8TZlETc(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x20ZsIIEx\x20=\x206zTTy8q.ZQEey(j);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(ZsIIEx\x20&&\x20!cWZT.ZTz8TZlETc(\x27.\x27)\x20&&\x20cWZT\x20!==\x20ZsIIEx\x20&&\x20cWZT.yqSZlETc(\x27.\x27\x20+\x20ZsIIEx))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20IzQZy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QyT\x20SW7zEqpzQES\x20=\x20IzQZy;\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(EZA8WvZy8)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SW7zEqpzQES\x20=\x20(SW7zEq\x20&&\x20SW7zEq.QyqGTc)\x20?\x20SW7zEq.ZW7y((S7PTy7)\x20=>\x20EZoW7zEq3zTecEqG(S7PTy7,\x20QWezTEWq.cWZTqz7y))\x20:\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EI\x20(QWezTEWq.cWZTqz7y\x20===\x20\x27QWezQcWZT\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SW7zEqpzQES\x20=\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20yQZy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SW7zEqpzQES\x20=\x20T8sy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20eWqZT\x209zQES\x20=\x20ZEGqpzQES\x20&&\x20SW7zEqpzQES;\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209zQES,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207yZZzGy:\x20W8EGEq3yZZzGy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ezTec\x20(y88W8)\x20{\x20\x20\x20\x20\x20\x20\x20\x208yTs8q\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209zQES:\x20IzQZy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207yZZzGy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x25ea37=_0x5ea2d1=>{const _0x19e82d=_0x49f7c3;var _0x2311ca;return((_0x2311ca=_0x5ea2d1[_0x19e82d(0x1a7)])==null?void 0x0:_0x2311ca['dataStream']['replace'](/\r\n$/,''))||'';};class _0x442a76 extends _0x2d316f[_0x49f7c3(0xdf)]{constructor(_0x6f82b1,_0x6f6ae1){const _0x490cde=_0x49f7c3;super(),_0x2a34b8(this,_0x490cde(0x3c5),{}),_0x2a34b8(this,'_univerInstanceService'),_0x2a34b8(this,_0x490cde(0x3a9)),(this[_0x490cde(0x3a4)]=_0x6f6ae1,this['_host']=_0x6f82b1);}[_0x49f7c3(0x1e5)](){const _0x11a882=_0x49f7c3;for(const _0x25110c in this['dataFields']){const _0x379dc0=this[_0x11a882(0x187)][_0x25110c],_0x830b03=_0x379dc0[_0x11a882(0x135)]();this[_0x11a882(0x3c5)][_0x830b03]=_0x379dc0[_0x11a882(0x2e7)]();}}[_0x49f7c3(0x202)](){const _0x4f7a3e=this['_host'];return _0x505ded['bind'](_0x4f7a3e);}[_0x49f7c3(0x195)](_0x44166b){const _0x6fe5dc=_0x49f7c3,_0x2acdbe=this[_0x6fe5dc(0x187)][_0x44166b][_0x6fe5dc(0x369)];delete this[_0x6fe5dc(0x187)][_0x44166b],delete this[_0x6fe5dc(0x3c5)][_0x2acdbe];}[_0x49f7c3(0x1ab)](_0x5330d0){const _0x167327=_0x49f7c3;this[_0x167327(0x187)][_0x5330d0[_0x167327(0x2e7)]()]=_0x5330d0;}['removeCollectionImp'](_0x26a7d9){const _0x1ab94a=_0x49f7c3;var _0x1d676f,_0xa40b56;const _0x363a33=this[_0x1ab94a(0x3a9)][_0x1ab94a(0x1cc)](_0x26a7d9);if(_0x363a33){const {unitId:_0x46524f,subUnitId:_0x54411b}=_0x363a33,_0x8089a4=(_0x1d676f=this['_host'][_0x1ab94a(0x362)](_0x46524f,_0x54411b,_0x26a7d9))==null?void 0x0:_0x1d676f[_0x1ab94a(0x3ed)];this[_0x1ab94a(0x3a9)][_0x1ab94a(0x2db)]({'token':_0x26a7d9,'type':_0x39e953[_0x1ab94a(0x223)],'dataRangeInfo':_0x8089a4});}(_0xa40b56=this[_0x1ab94a(0x1c5)](_0x26a7d9))==null||_0xa40b56[_0x1ab94a(0x3f2)](),delete this[_0x1ab94a(0x15e)][_0x26a7d9];}[_0x49f7c3(0x135)](_0x93fb3e,_0x3056eb){const _0x22834d=_0x49f7c3,{sheetName:_0x72a853,unitId:_0x52532c,range:_0x2e0f2d}=_0x93fb3e,{startRow:_0x1d57a3,endRow:_0x556e76}=_0x2e0f2d;return _0xc627d4[_0x22834d(0x242)](_0x52532c,_0x72a853,{'startRow':_0x1d57a3,'endRow':_0x556e76,'startColumn':_0x3056eb,'endColumn':_0x3056eb});}[_0x49f7c3(0x256)](_0x3f1bc4){const _0x1f4618=_0x49f7c3;return this['dataFields'][this[_0x1f4618(0x3c5)][_0x3f1bc4]];}[_0x49f7c3(0x1d0)](_0x597502,_0xe7e7c6){const _0x3c0eb7=_0x49f7c3;this[_0x3c0eb7(0x3c5)][_0x597502]=_0xe7e7c6;}[_0x49f7c3(0x2f3)](_0x372d1e,_0x4de6ff){const _0x183ca1=_0x49f7c3;this[_0x183ca1(0x3c5)][_0x4de6ff]=this[_0x183ca1(0x3c5)][_0x372d1e],delete this[_0x183ca1(0x3c5)][_0x372d1e];}['addCollectionByJSON'](_0x1ecae0,_0x297ea9,_0x2182aa,_0x581b5e){const _0x11db77=_0x49f7c3,_0x4280df=new _0x2d316f[(_0x11db77(0xcc))](this);_0x4280df[_0x11db77(0x398)](_0x297ea9);const _0x5e04c8=[];let _0x16665c=0x0;for(const _0x1e9409 of _0x4280df[_0x11db77(0x196)]){const _0x5229f6=this[_0x11db77(0x135)](_0x2182aa,_0x16665c),_0x1e5480=this[_0x11db77(0x187)][_0x1e9409];_0x1e5480&&(_0x1e5480['rangeKey']=_0x5229f6,this[_0x11db77(0x1d0)](_0x5229f6,_0x1e9409),_0x5e04c8[_0x11db77(0x3d4)]({'index':_0x16665c,'dataField':_0x1e5480})),_0x16665c++;}return this[_0x11db77(0x393)](_0x1ecae0,_0x4280df,_0x2182aa,_0x581b5e),{'collection':_0x4280df,'updateDataFieldList':_0x5e04c8};}[_0x49f7c3(0xd3)](_0x3859b1,_0x4a6d8c){const _0x2cf7f6=_0x49f7c3;return _0x3859b1['rangeType']===_0x369ce1[_0x2cf7f6(0x179)][_0x2cf7f6(0x306)]?{'startRow':0x0,'startColumn':_0x3859b1[_0x2cf7f6(0xfd)],'endRow':_0x4a6d8c[_0x2cf7f6(0x268)]()-0x1,'endColumn':_0x3859b1[_0x2cf7f6(0x12b)]}:{'startRow':_0x3859b1[_0x2cf7f6(0x1c7)],'startColumn':_0x3859b1[_0x2cf7f6(0xfd)],'endRow':_0x3859b1[_0x2cf7f6(0x1bf)],'endColumn':_0x3859b1['endColumn']};}[_0x49f7c3(0x33f)](_0x19917d){const _0x37b840=_0x49f7c3,{sheetName:_0xae6130,range:_0x50c047}=_0x19917d,_0x3fa9de=this[_0x37b840(0x3a4)][_0x37b840(0x201)](_0x369ce1['UniverInstanceType'][_0x37b840(0x234)]),_0x4163dc=_0x3fa9de[_0x37b840(0x343)](_0xae6130),_0x142ca2=_0x4163dc[_0x37b840(0x34b)](),{startColumn:_0x45da3e,startRow:_0x50b21b,endColumn:_0x1a5f0d}=this[_0x37b840(0xd3)](_0x50c047,_0x4163dc),_0x36c1e6=_0x3fa9de[_0x37b840(0x106)](),_0x2c208c=new _0x2d316f['FieldsCollection'](this);_0x2c208c[_0x37b840(0x360)](_0x19917d);const _0x3228bc=[],_0xe7012={};for(let _0x7ff8aa=_0x45da3e;_0x7ff8aa<=_0x1a5f0d;_0x7ff8aa++){const _0x728af=_0x142ca2['getValue'](_0x50b21b,_0x7ff8aa),_0x55ea0a=this[_0x37b840(0x135)](_0x19917d,_0x7ff8aa),_0x35931f=this[_0x37b840(0x256)](_0x55ea0a);if(_0x35931f)_0x2c208c[_0x37b840(0x322)](_0x35931f[_0x37b840(0x2e7)](),_0x35931f[_0x37b840(0x1a9)]());else{const _0x5ad920=this[_0x37b840(0x1ec)]();let _0xc4606a=this['adjustSheetCellData'](_0x728af,_0x36c1e6,_0xe7012);_0x2d316f[_0x37b840(0x29a)](_0xc4606a)&&(_0xc4606a=_0x369ce1[_0x37b840(0x120)][_0x37b840(0xd4)](_0xc4606a['f'],Number(_0xc4606a['v'])));const _0x4e89bc=this[_0x37b840(0x3af)](_0xc4606a,_0x7ff8aa),_0x2b5493=new _0x2d316f[(_0x37b840(0x26c))](_0x5ad920,_0x4e89bc,_0x2d316f[_0x37b840(0x153)](0x3));_0x2b5493[_0x37b840(0x369)]=_0x55ea0a,this['dataFields'][_0x5ad920]=_0x2b5493,_0x2c208c['addField'](_0x5ad920,_0x4e89bc),_0x3228bc[_0x37b840(0x3d4)]({'index':_0x7ff8aa,'dataField':_0x2b5493});}}return{'updateDataFieldList':_0x3228bc,'collection':_0x2c208c};}[_0x49f7c3(0x1f5)](_0x5c3277){const _0x3e80cb=_0x49f7c3;return this[_0x3e80cb(0x3a9)][_0x3e80cb(0x260)]()[_0x3e80cb(0xe6)]+'\x20'+_0x369ce1['numberToABC'](_0x5c3277);}[_0x49f7c3(0x3af)](_0x41c4cf,_0x2ad861){const _0x4912d1=_0x49f7c3;return _0x41c4cf==null||_0x41c4cf===''?this[_0x4912d1(0x1f5)](_0x2ad861):String(_0x41c4cf);}[_0x49f7c3(0x1c5)](_0x59547a){const _0x1308a9=_0x49f7c3;return this[_0x1308a9(0x15e)][_0x59547a];}[_0x49f7c3(0x393)](_0x4cee99,_0x52957b,_0x4114ac,_0x596b07){const _0x125dd2=_0x49f7c3;this[_0x125dd2(0x15e)][_0x4cee99]=_0x52957b,_0x52957b[_0x125dd2(0x360)](_0x4114ac),this[_0x125dd2(0x3a9)]['broadcastCollectionChange']({'token':_0x4cee99,'type':_0x39e953['add'],'dataRangeInfo':_0x4114ac,'targetCellInfo':_0x596b07});}['handleMoveRange'](_0x318266,_0x3f94e5){const _0xbb6484=_0x49f7c3,_0x19c491=this[_0xbb6484(0x1c5)](_0x318266),_0x199c94=_0x19c491[_0xbb6484(0x277)]();let _0x4e7fa7=0x0;for(const _0x21d5e4 of _0x199c94){const _0x3a877d=_0x19c491[_0xbb6484(0x2aa)](_0x21d5e4),_0x22d79e=this['getRangeKey'](_0x3f94e5,_0x4e7fa7);this[_0xbb6484(0x2f3)](_0x3a877d[_0xbb6484(0x369)],_0x22d79e),_0x4e7fa7++;}}[_0x49f7c3(0x26b)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x4f7da7,_0x28124b){const _0x1144d3=_0x49f7c3;if(this[_0x1144d3(0x1c5)](_0x4f7da7)){const _0x42a788=this['getRangeKeyList'](_0x28124b),_0x350e5c=[];for(const _0x4ca7c4 of _0x42a788)this['rangeKeyMap'][_0x4ca7c4]!==void 0x0&&_0x350e5c['push'](this[_0x1144d3(0x3c5)][_0x4ca7c4]);const _0xed98ba=this[_0x1144d3(0x244)](_0x4f7da7),_0x30c57a=[],_0x396832=new Set(_0x350e5c);for(const _0x2e5ba2 of _0xed98ba)_0x396832[_0x1144d3(0x1e8)](_0x2e5ba2)||_0x30c57a['push'](_0x2e5ba2);return _0x30c57a;}}[_0x49f7c3(0x265)](_0x430853,_0x2dea9b,_0x499339,_0x3f1a28,_0x3e110a){const _0x41fe19=_0x49f7c3;return _0x2dea9b&&_0x2dea9b[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a)?_0x2dea9b[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a):_0x499339&&_0x499339[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a)?_0x499339[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a):_0x430853[_0x41fe19(0x1a0)](_0x3f1a28,_0x3e110a);}[_0x49f7c3(0x3d0)](_0x718369,_0x371768,_0x42b4cf,_0x6bb7ef){const _0x8aa303=_0x49f7c3,_0x12cbd1=this[_0x8aa303(0x187)][_0x718369];if(!_0x12cbd1)return;const {subUnitId:_0x395005,range:_0x3882f1,unitId:_0x53f54c}=_0x371768,_0x45b4d3=this[_0x8aa303(0x3a4)][_0x8aa303(0x13e)](_0x53f54c);if(!_0x45b4d3){console[_0x8aa303(0xf7)](_0x8aa303(0x174));return;}const _0x5085f2=_0x45b4d3[_0x8aa303(0x2b7)](_0x395005),_0x508b52=_0x5085f2[_0x8aa303(0x34b)](),{arrayFormulaCellDataMatrix:_0x586a44,unitDataMatrix:_0x19c38d}=_0x6bb7ef||{},{startRow:_0x2f842e,startColumn:_0xa74e49,endRow:_0x4e09f4}=this[_0x8aa303(0xd3)](_0x3882f1,_0x5085f2);_0x12cbd1['reset']();const _0x14c4ca=_0x45b4d3[_0x8aa303(0x106)](),_0x24507e={},_0x1c0264=this[_0x8aa303(0x265)](_0x508b52,_0x586a44,_0x19c38d,_0x2f842e,_0xa74e49+_0x42b4cf);let _0xe6712e=this[_0x8aa303(0x25f)](_0x1c0264,_0x14c4ca,_0x24507e);_0x2d316f[_0x8aa303(0x29a)](_0xe6712e)&&(_0xe6712e=_0x369ce1[_0x8aa303(0x120)]['format'](_0xe6712e['f'],Number(_0xe6712e['v'])));const _0x15aff3=this[_0x8aa303(0x3af)](_0xe6712e,_0xa74e49+_0x42b4cf);_0x12cbd1[_0x8aa303(0x243)](_0x15aff3);for(let _0x28ea7f=_0x2f842e+0x1;_0x28ea7f<=_0x4e09f4;_0x28ea7f++){const _0x5f4553=this['getMatrixValue'](_0x508b52,_0x586a44,_0x19c38d,_0x28ea7f,_0xa74e49+_0x42b4cf);_0x12cbd1[_0x8aa303(0x3d2)](this[_0x8aa303(0x25f)](_0x5f4553,_0x14c4ca,_0x24507e),_0x28ea7f-0x1-_0x2f842e);}}['refreshData'](_0x471ea7,_0x57f9bb,_0xb1a547){const _0xf4794=_0x49f7c3,{subUnitId:_0x430018,range:_0x826a8f,unitId:_0x2e4f15}=_0xb1a547,_0x3dc407=this[_0xf4794(0x3a4)][_0xf4794(0x13e)](_0x2e4f15);if(!_0x3dc407){console['error']('workbook\x20is\x20not\x20found');return;}const _0x5ef26b=_0x3dc407[_0xf4794(0x2b7)](_0x430018),_0x56bb66=_0x5ef26b[_0xf4794(0x34b)](),{startRow:_0x51f23c,startColumn:_0x5518e2,endRow:_0x17ed89}=this['getRangeStartEndInfo'](_0x826a8f,_0x5ef26b),_0x3aad99=_0x3dc407[_0xf4794(0x106)](),_0x1b01fe={};for(const {dataField:_0x432ddc,index:_0x3077a6}of _0x57f9bb){_0x432ddc[_0xf4794(0x3a0)]();const _0x3404c3=this[_0xf4794(0x265)](_0x56bb66,void 0x0,void 0x0,_0x51f23c,_0x5518e2+_0x3077a6);let _0x1e3c59=this[_0xf4794(0x25f)](_0x3404c3,_0x3aad99,_0x1b01fe);_0x2d316f[_0xf4794(0x29a)](_0x1e3c59)&&(_0x1e3c59=_0x369ce1[_0xf4794(0x120)][_0xf4794(0xd4)](_0x1e3c59['f'],Number(_0x1e3c59['v'])));const _0x2ad07d=this['uniqueDataFieldName'](_0x1e3c59,_0x5518e2+_0x3077a6);_0x432ddc[_0xf4794(0x243)](_0x2ad07d);}_0x471ea7[_0xf4794(0x3e9)]();for(let _0x1898c5=_0x51f23c+0x1;_0x1898c5<=_0x17ed89;_0x1898c5++)for(const {index:_0x4d9519,dataField:_0x339f56}of _0x57f9bb){const _0x4745c7=_0x56bb66[_0xf4794(0x1a0)](_0x1898c5,_0x5518e2+_0x4d9519);_0x339f56['addRecord'](this[_0xf4794(0x25f)](_0x4745c7,_0x3aad99,_0x1b01fe),_0x1898c5-0x1-_0x51f23c);}_0x471ea7[_0xf4794(0x3f4)](_0x17ed89-_0x51f23c);}[_0x49f7c3(0x2ca)](_0x29bd58){const _0xdbfc7b=_0x49f7c3,{range:_0xe56f47}=_0x29bd58,{startColumn:_0x4c0e33,endColumn:_0x2acabc}=_0xe56f47,_0x118be5=[];for(let _0x2338db=_0x4c0e33;_0x2338db<=_0x2acabc;_0x2338db++)_0x118be5[_0xdbfc7b(0x3d4)](this['getRangeKey'](_0x29bd58,_0x2338db));return _0x118be5;}[_0x49f7c3(0x25f)](_0x4f8816,_0x534335,_0x3ddc06){const _0x1a1eb1=_0x49f7c3;if(_0x4f8816){const {s:_0x498bf9,v:_0x30ad09,t:_0x1ce8f6,p:_0x482c9a}=_0x4f8816;if(_0x482c9a)return _0x25ea37(_0x482c9a);const _0x20a8c1=_0x534335[_0x1a1eb1(0x392)](_0x498bf9);if(_0x20a8c1&&_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x258)]&&_0x20a8c1['n']){const {pattern:_0x5d82b1}=_0x20a8c1['n'];_0x3ddc06[_0x5d82b1]||(_0x3ddc06[_0x5d82b1]=_0x369ce1[_0x1a1eb1(0x120)][_0x1a1eb1(0x357)](_0x5d82b1));const _0x39fbc6=_0x3ddc06[_0x5d82b1],_0xfaeaea=_0x39fbc6['isDate'];if(_0x39fbc6[_0x1a1eb1(0x3c6)])return String(_0x30ad09);if(_0xfaeaea)return{'v':_0x30ad09,'f':_0x5d82b1};}if(_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x258)])return Number(_0x30ad09);if(_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x1bc)]||_0x1ce8f6===_0x369ce1[_0x1a1eb1(0x17d)][_0x1a1eb1(0x1fc)])return String(_0x30ad09);if(_0x1ce8f6===void 0x0){const _0x52c5b4=Number(_0x30ad09);if(!Number['isNaN'](_0x52c5b4)&&String(_0x52c5b4)===_0x30ad09)return _0x52c5b4;}return _0x30ad09!=null?_0x30ad09:null;}else return null;}[_0x49f7c3(0x216)](_0x4ad205){const _0x5cff2a=_0x49f7c3,{sheetName:_0x50b79e,range:_0x4865f9,unitId:_0x307ad6}=_0x4ad205,_0x2aac1f=this[_0x5cff2a(0x3a4)][_0x5cff2a(0x13e)](_0x307ad6);if(!_0x2aac1f)return console['error'](_0x5cff2a(0x174)),{'header':[],'data':[]};const _0xde604d=_0x2aac1f[_0x5cff2a(0x343)](_0x50b79e),_0x1c4b04=_0xde604d['getCellMatrix'](),{startRow:_0x23f69f,startColumn:_0x7eeeda,endRow:_0x24d829,endColumn:_0xae60f1}=this[_0x5cff2a(0xd3)](_0x4865f9,_0xde604d),_0x5af974=_0x2aac1f[_0x5cff2a(0x106)](),_0x2b5cde=[],_0x45e4ef=[],_0x21ef7d={};for(let _0x914aef=_0x23f69f;_0x914aef<=_0x24d829;_0x914aef++){const _0x3fd26c=[];for(let _0x4193ea=_0x7eeeda;_0x4193ea<=_0xae60f1;_0x4193ea++){const _0x51eeec=_0x1c4b04[_0x5cff2a(0x1a0)](_0x914aef,_0x4193ea);_0x914aef===_0x23f69f?_0x2b5cde[_0x5cff2a(0x3d4)](_0x51eeec==null?null:String(_0x51eeec['v'])):_0x3fd26c[_0x5cff2a(0x3d4)](this[_0x5cff2a(0x25f)](_0x51eeec,_0x5af974,_0x21ef7d));}_0x45e4ef['push'](_0x3fd26c);}return{'header':_0x2b5cde,'data':_0x45e4ef};}[_0x49f7c3(0x132)](){const _0x1886ea=_0x49f7c3;return super[_0x1886ea(0x132)]();}[_0x49f7c3(0x398)](_0x13e939){const _0x4a6a9f=_0x49f7c3;super[_0x4a6a9f(0x398)](_0x13e939),this[_0x4a6a9f(0x1e5)]();}[_0x49f7c3(0x3f2)](){const _0x199d94=_0x49f7c3;super[_0x199d94(0x3f2)](),this[_0x199d94(0x3c5)]={},this[_0x199d94(0x3a9)]=null;}}const _0x3e0562=_0x373dc6=>{const _0x3d11f0=_0x49f7c3,{targetCellInfo:_0x22a891}=_0x373dc6,{matrixCache:_0x5cee87,rangesCache:_0x110e5b}=_0x322dd5({'filter':_0x3d11f0(0x15c),'row':_0x3d11f0(0x1ba),'column':_0x3d11f0(0x10c),'values':'Values'},_0x22a891),_0xfb3c87=new _0x369ce1[(_0x3d11f0(0x2bf))]();return _0x5cee87[_0x3d11f0(0x103)]((_0x2e9029,_0x34b29f,_0xaaf49b)=>{_0xfb3c87['setValue'](_0x2e9029,_0x34b29f,_0xaaf49b);}),{'matrix':_0xfb3c87,'rangesCache':_0x110e5b};},_0x29d601=_0xc50f8f=>{const _0x561b9b=_0x49f7c3;let _0x7bb7bc;if(_0xc50f8f!=null&&_0xc50f8f['v']||(_0xc50f8f==null?void 0x0:_0xc50f8f['v'])===0x0){_0x7bb7bc||(_0x7bb7bc={});const _0x3df7a6=_0x2f79f7(_0xc50f8f['v']);typeof _0x3df7a6=='number'?_0x7bb7bc['t']=_0x369ce1[_0x561b9b(0x17d)][_0x561b9b(0x258)]:typeof _0x3df7a6==_0x561b9b(0x302)&&(_0x7bb7bc['t']=_0x369ce1[_0x561b9b(0x17d)]['STRING']),_0x7bb7bc['v']=_0x3df7a6;}return _0x7bb7bc;},_0x5b0f11=(_0x191f8b,_0x1fbc1e,_0x3acd37)=>{const _0x443c8f=_0x49f7c3;var _0x49afc2,_0x269c83,_0x3c89aa,_0x1e6e57,_0x5188b5,_0x581732,_0x43f486,_0x303ed8,_0x5c460d,_0x303559,_0x4ed647,_0x2c7ccb;const {cornerView:_0x7b77a5,rowView:_0x4fb2d4,colView:_0x201767,dataView:_0x8f7851,pageView:_0x6aa1e7,formatMap:_0x391774}=_0x191f8b,{row:_0xc1e386,col:_0x4b0486}=_0x1fbc1e,_0x5ed028=new _0x369ce1[(_0x443c8f(0x2bf))]();let _0x35f2e4=_0xc1e386,_0xcd6104=_0x4b0486;Object[_0x443c8f(0x3e2)](_0x6aa1e7[_0x443c8f(0x267)])[_0x443c8f(0x10a)](_0x2dbf06=>{const _0x23264f=_0x443c8f;Object['keys'](_0x6aa1e7['data'][Number(_0x2dbf06)])[_0x23264f(0x10a)](_0x4db38c=>{const _0x473c63=_0x23264f,_0x191ffd={..._0x6aa1e7[_0x473c63(0x267)][Number(_0x2dbf06)][Number(_0x4db38c)]};_0x5ed028[_0x473c63(0x1e4)](Number(_0x2dbf06)+_0x35f2e4,Number(_0x4db38c)+_0xcd6104,_0x29d601(_0x191ffd));});});const _0x4be70d=Object[_0x443c8f(0x3e2)](_0x6aa1e7[_0x443c8f(0x267)])[_0x443c8f(0x264)];_0x35f2e4+=_0x4be70d+(_0x4be70d?_0x523b9d:0x0);const _0x49d945=_0x7b77a5[_0x443c8f(0x268)](),_0x5ecbf0=_0x7b77a5[_0x443c8f(0x2d5)]();for(let _0x586a0e=0x0;_0x586a0e<_0x49d945;_0x586a0e++)for(let _0x38ac52=0x0;_0x38ac52<_0x5ecbf0;_0x38ac52++){const _0x188b87={...(_0x269c83=(_0x49afc2=_0x7b77a5[_0x443c8f(0x267)])==null?void 0x0:_0x49afc2[_0x586a0e])==null?void 0x0:_0x269c83[_0x38ac52]};_0x188b87&&((_0x3c89aa=_0x4fb2d4['headerMap'][_0x38ac52])!=null&&_0x3c89aa['isValue'])&&_0x38ac52===_0x5ecbf0-0x1&&_0x586a0e===_0x49d945-0x1&&(_0x188b87['v']=''+_0x3acd37[_0x443c8f(0x366)]),_0x5ed028[_0x443c8f(0x1e4)](_0x586a0e+_0x35f2e4,_0x38ac52+_0xcd6104,_0x29d601(_0x188b87));}_0xcd6104+=_0x5ecbf0;const _0x1a7155=_0x201767[_0x443c8f(0x303)],_0x54af1d=_0x201767[_0x443c8f(0x358)]()>=0x0?_0x201767['getLastRow']()+0x1:0x0,_0x154ee9=_0x201767['getLastCol']()>=0x0?_0x201767[_0x443c8f(0x276)]()+0x1:0x0;for(let _0xcebc4a=0x0;_0xcebc4a<_0x154ee9;_0xcebc4a++)for(let _0x3f26f8=0x0;_0x3f26f8<_0x54af1d;_0x3f26f8++){const _0x3569be={...(_0x5188b5=(_0x1e6e57=_0x201767[_0x443c8f(0x267)])==null?void 0x0:_0x1e6e57[_0xcebc4a])==null?void 0x0:_0x5188b5[_0x3f26f8]},_0x10dce3=(_0x581732=_0x1a7155[_0xcebc4a])==null?void 0x0:_0x581732[_0x443c8f(0x1ce)],_0x5713c7=_0x391774[_0x10dce3];_0x3569be&&(_0x3569be['v']=_0x5bb57f(_0x3569be,_0xcebc4a===0x0&&((_0x43f486=_0x201767['getHeaderMapItem'](_0x3f26f8+0x1))==null?void 0x0:_0x43f486[_0x443c8f(0x198)]),_0x5713c7,_0x3acd37)),_0x5ed028[_0x443c8f(0x1e4)](_0xcebc4a+_0x35f2e4,_0x3f26f8+_0xcd6104,_0x29d601(_0x3569be));}_0x35f2e4+=_0x49d945;const _0x3c311b=_0x4fb2d4[_0x443c8f(0x303)],_0x1b3dcb=_0x4fb2d4[_0x443c8f(0x358)]()>=0x0?_0x4fb2d4[_0x443c8f(0x358)]()+0x1:0x0,_0x35f631=_0x4fb2d4['getLastCol']()>=0x0?_0x4fb2d4['getLastCol']()+0x1:0x0;for(let _0x46d180=0x0;_0x46d180<_0x1b3dcb;_0x46d180++)for(let _0x11d657=0x0;_0x11d657<_0x35f631;_0x11d657++){const _0x51cee7={...(_0x5c460d=(_0x303ed8=_0x4fb2d4[_0x443c8f(0x267)])==null?void 0x0:_0x303ed8[_0x46d180])==null?void 0x0:_0x5c460d[_0x11d657]},_0x316aac=(_0x303559=_0x3c311b[_0x11d657])==null?void 0x0:_0x303559[_0x443c8f(0x1ce)],_0x11451d=_0x391774[_0x316aac];_0x51cee7&&(_0x51cee7['v']=_0x5bb57f(_0x51cee7,!0x1,_0x11451d,_0x3acd37)),_0x5ed028[_0x443c8f(0x1e4)](_0x46d180+_0x35f2e4,_0x11d657+_0x4b0486,_0x29d601(_0x51cee7));}const _0x24f1af=_0x8f7851['getRowCount'](),_0x56b05b=_0x8f7851[_0x443c8f(0x2d5)]();for(let _0x44c288=0x0;_0x44c288<_0x24f1af;_0x44c288++)for(let _0x254a0a=0x0;_0x254a0a<_0x56b05b;_0x254a0a++){const _0xa05445={...(_0x2c7ccb=(_0x4ed647=_0x8f7851['data'])==null?void 0x0:_0x4ed647[_0x44c288])==null?void 0x0:_0x2c7ccb[_0x254a0a]};_0x5ed028[_0x443c8f(0x1e4)](_0x44c288+_0x35f2e4,_0x254a0a+_0xcd6104,_0x29d601(_0xa05445));}return _0x5ed028;},_0x10d1a0=_0x191ceb=>{const _0x51d2ad=_0x49f7c3,{view:_0x32b722,targetCellInfo:_0x21c6dd,isEmpty:_0x4aca77,textInfo:_0x10a279}=_0x191ceb;if(_0x4aca77)return _0x3e0562(_0x191ceb);const {pageView:_0x19f860,cornerView:_0x5a8625,rowView:_0x3b6975,colView:_0x6ca4fa,dataView:_0x32007f}=_0x32b722,_0x1d49a0=_0x485549(_0x21c6dd,_0x19f860,!0x0),_0x86fb2e=_0x19f860['lastRow']>=0x0?_0x19f860[_0x51d2ad(0x129)]+0x1:0x0,_0x3ed56b=_0x5a8625['getRowCount'](),_0x195efe=_0x5a8625[_0x51d2ad(0x2d5)](),_0xf11320=_0x1d49a0[_0x51d2ad(0x264)]>0x0?_0x523b9d:0x0,_0x2eccfb=_0x485549({'row':_0x21c6dd[_0x51d2ad(0x27d)]+_0x86fb2e+_0xf11320,'col':_0x21c6dd[_0x51d2ad(0x2d3)]},_0x5a8625,!0x1,!0x1),_0x19057e=_0x485549({'row':_0x21c6dd['row']+_0x86fb2e+_0xf11320+_0x3ed56b,'col':_0x21c6dd[_0x51d2ad(0x2d3)]},_0x3b6975,!0x1,!0x0),_0x36ef83=_0x485549({'row':_0x21c6dd[_0x51d2ad(0x27d)]+_0x86fb2e+_0xf11320,'col':_0x21c6dd[_0x51d2ad(0x2d3)]+_0x195efe},_0x6ca4fa,!0x1,!0x0),_0x483c63=_0x485549({'row':_0x21c6dd[_0x51d2ad(0x27d)]+_0x86fb2e+_0xf11320+_0x3ed56b,'col':_0x21c6dd[_0x51d2ad(0x2d3)]+_0x195efe},_0x32007f,!0x1,!0x1),_0x8bcc20={'rowRanges':_0x19057e,'colRanges':_0x36ef83,'cornerRanges':_0x2eccfb,'dataRanges':_0x483c63,'pageRanges':_0x1d49a0};return{'matrix':_0x5b0f11(_0x32b722,_0x21c6dd,_0x10a279),'rangesCache':_0x8bcc20};};var _0x3dd2e9=Object['getOwnPropertyDescriptor'],_0x52b4c1=(_0x179ae1,_0x282806,_0x59f3dc,_0x191165)=>{const _0x1f5582=_0x49f7c3;for(var _0x34f55a=_0x191165>0x1?void 0x0:_0x191165?_0x3dd2e9(_0x282806,_0x59f3dc):_0x282806,_0x2a90e1=_0x179ae1[_0x1f5582(0x264)]-0x1,_0x458549;_0x2a90e1>=0x0;_0x2a90e1--)(_0x458549=_0x179ae1[_0x2a90e1])&&(_0x34f55a=_0x458549(_0x34f55a)||_0x34f55a);return _0x34f55a;},_0x571b71=(_0x6bc388,_0x1c7cc0)=>(_0x49ca20,_0x2f8273)=>_0x1c7cc0(_0x49ca20,_0x2f8273,_0x6bc388);_0x237829[_0x49f7c3(0x188)]=class extends _0x369ce1['Disposable']{constructor(_0x285bfd,_0x3739d2,_0x55d0e9,_0x1ae26f,_0x4e0110){const _0x460422=_0x49f7c3;super(),_0x2a34b8(this,'_model',new Map()),_0x2a34b8(this,_0x460422(0x272),new Map()),_0x2a34b8(this,_0x460422(0x1d1),new Map()),_0x2a34b8(this,_0x460422(0x28d)),_0x2a34b8(this,_0x460422(0xdc),new _0x2c0848[(_0x460422(0x31c))]()),_0x2a34b8(this,_0x460422(0x133),this['_collectionChange$'][_0x460422(0x105)]()),_0x2a34b8(this,'_viewData$',new _0x2c0848['Subject']()),_0x2a34b8(this,'viewData$',this[_0x460422(0x320)][_0x460422(0x105)]()),_0x2a34b8(this,'_fieldsCollectionChange$',new _0x2c0848[(_0x460422(0x31c))]()),_0x2a34b8(this,_0x460422(0x114),this['_fieldsCollectionChange$'][_0x460422(0x105)]()),_0x2a34b8(this,_0x460422(0x383),new Map()),_0x2a34b8(this,_0x460422(0x2bc),[]),_0x2a34b8(this,'_queryingMap',new Map()),(this[_0x460422(0x199)]=_0x285bfd,this['_univerInstanceService']=_0x3739d2,this['_lifecycleService']=_0x55d0e9,this[_0x460422(0x32c)]=_0x1ae26f,this[_0x460422(0x1c1)]=_0x4e0110,this['_initSnapshot']());}[_0x49f7c3(0x260)](){const _0x16ffe7=_0x49f7c3;return this[_0x16ffe7(0x28d)]?this[_0x16ffe7(0x28d)]:_0x3cc296;}[_0x49f7c3(0x22b)](_0x3a2c38){const _0x44f57c=_0x49f7c3;this[_0x44f57c(0x28d)]=_0x3a2c38;}[_0x49f7c3(0x31d)](_0x23f627){const _0x5981c9=_0x49f7c3;var _0x28dc24;const {from:_0xb11b56,to:_0x538142,unitId:_0x3748e1,fromRange:_0x163fc2,toRange:_0xe48df7}=_0x23f627;if(_0xb11b56&&_0x538142){const _0x15acba=this[_0x5981c9(0x1f1)](_0x3748e1),_0x55aea2=this[_0x5981c9(0xfc)][_0x5981c9(0x392)](_0x3748e1),_0x49234a=(_0x28dc24=this['_univerInstanceService'][_0x5981c9(0x13e)](_0x3748e1))==null?void 0x0:_0x28dc24[_0x5981c9(0x2b7)](_0x538142[_0x5981c9(0x353)]);if(!_0x55aea2||!_0x49234a)return;const _0x2f3d81=_0x49234a==null?void 0x0:_0x49234a[_0x5981c9(0x1a9)]();for(const [_0xa1e39,_0x584e3e]of _0x55aea2[_0x5981c9(0x21d)]())for(const [_0x2b9b02,_0x2e3cb2]of _0x584e3e[_0x5981c9(0x21d)]()){const {sourceRangeInfo:_0x5ab63b}=_0x2e3cb2;if(_0x5ab63b['unitId']===_0x3748e1&&_0x5ab63b[_0x5981c9(0x353)]===_0xb11b56[_0x5981c9(0x353)]&&_0x369ce1['Rectangle'][_0x5981c9(0x1f0)](_0x163fc2,_0x5ab63b['range'])){const _0x4df26b={'row':_0x5ab63b['range'][_0x5981c9(0x1c7)]-_0x163fc2['startRow'],'col':_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0xfd)]-_0x163fc2[_0x5981c9(0xfd)]},_0x186817={'unitId':_0x3748e1,'subUnitId':_0x538142[_0x5981c9(0x353)],'sheetName':_0x2f3d81,'range':{'startRow':_0xe48df7['startRow']+_0x4df26b[_0x5981c9(0x27d)],'endRow':_0xe48df7[_0x5981c9(0x1c7)]+_0x4df26b[_0x5981c9(0x27d)]+_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0x1bf)]-_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0x1c7)],'startColumn':_0xe48df7[_0x5981c9(0xfd)]+_0x4df26b[_0x5981c9(0x2d3)],'endColumn':_0xe48df7[_0x5981c9(0xfd)]+_0x4df26b[_0x5981c9(0x2d3)]+_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0x12b)]-_0x5ab63b[_0x5981c9(0x1e9)][_0x5981c9(0xfd)]}};_0x15acba['handleMoveRange'](_0x2b9b02,_0x186817);const _0x5b9d42={..._0x2e3cb2,'sourceRangeInfo':_0x186817};this[_0x5981c9(0xe0)](_0x3748e1,_0x538142[_0x5981c9(0x353)],_0x2b9b02,_0x5b9d42),this[_0x5981c9(0x2db)]({'unitId':_0x3748e1,'token':_0x2b9b02,'type':_0x39e953[_0x5981c9(0x1c2)],'oldSourceRangeInfo':_0x5ab63b,'dataRangeInfo':_0x186817,'targetCellInfo':_0x2e3cb2[_0x5981c9(0xf9)]}),this['updateConfig']({'unitId':_0x3748e1,'subUnitId':_0x538142[_0x5981c9(0x353)],'oldSubUnitId':_0xa1e39,'pivotTableId':_0x2b9b02,'pivotTableConfig':_0x5b9d42,'collectionConfig':_0x15acba[_0x5981c9(0x132)]()});}}}}[_0x49f7c3(0x2db)](_0x172acb){const _0x573d55=_0x49f7c3;this[_0x573d55(0xdc)][_0x573d55(0x21c)](_0x172acb);}[_0x49f7c3(0x1f1)](_0x11f0ab){const _0x43b013=_0x49f7c3;let _0x33183d=this[_0x43b013(0x383)]['get'](_0x11f0ab);return _0x33183d||(_0x33183d=new _0x442a76(this,this[_0x43b013(0x3a4)]),this[_0x43b013(0x383)]['set'](_0x11f0ab,_0x33183d)),_0x33183d;}['getCollection'](_0x358c61,_0x4bfde1){const _0x2f052f=_0x49f7c3;return this[_0x2f052f(0x1f1)](_0x358c61)[_0x2f052f(0x15e)][_0x4bfde1];}[_0x49f7c3(0x3a8)](_0x869066,_0x17c071,_0x85ba78){const _0x4cefa3=_0x49f7c3;return this[_0x4cefa3(0x1f1)](_0x869066)['getUpdateRangeDeleteIds'](_0x17c071,_0x85ba78);}[_0x49f7c3(0x304)](_0x52b9e8,_0x39223f){const _0x36ab97=_0x49f7c3;let _0x39200e=this[_0x36ab97(0xfc)][_0x36ab97(0x392)](_0x52b9e8);_0x39200e||(_0x39200e=new Map(),this[_0x36ab97(0xfc)][_0x36ab97(0x1aa)](_0x52b9e8,_0x39200e));let _0x196683=_0x39200e[_0x36ab97(0x392)](_0x39223f);return _0x196683||(_0x196683=new Map(),_0x39200e[_0x36ab97(0x1aa)](_0x39223f,_0x196683)),_0x196683;}['_updateModelCache'](_0x5a9c92,_0xfcd54c,_0x49c099,_0x44aba6){const _0xa28484=_0x49f7c3;this[_0xa28484(0x304)](_0x5a9c92,_0xfcd54c)[_0xa28484(0x1aa)](_0x49c099,_0x44aba6);}[_0x49f7c3(0x25d)](_0x58bf52,_0x1e4605,_0x255670){const _0x5daf51=_0x49f7c3;var _0x2fd238,_0x358628,_0x318cef,_0x2ed76c;((_0x358628=(_0x2fd238=this['_model'][_0x5daf51(0x392)](_0x58bf52))==null?void 0x0:_0x2fd238['get'](_0x1e4605))==null?void 0x0:_0x358628['get'](_0x255670))&&((_0x2ed76c=(_0x318cef=this['_model']['get'](_0x58bf52))==null?void 0x0:_0x318cef[_0x5daf51(0x392)](_0x1e4605))==null||_0x2ed76c[_0x5daf51(0x223)](_0x255670));}['_updatePivotTableInstanceCache'](_0x5e4a02,_0x20b72f){const _0x4cfa5c=_0x49f7c3;this[_0x4cfa5c(0x272)][_0x4cfa5c(0x1aa)](_0x5e4a02,_0x20b72f);}[_0x49f7c3(0x2c7)](_0x5647ee){this['_pivotTableInstanceCache']['delete'](_0x5647ee);}[_0x49f7c3(0x203)](_0x565fcf,_0x3a5cf7){const _0x323c3c=_0x49f7c3;let _0x44f156=this[_0x323c3c(0x1d1)]['get'](_0x565fcf);_0x44f156||(_0x44f156=new Map(),this[_0x323c3c(0x1d1)]['set'](_0x565fcf,_0x44f156));let _0x1c3e2f=_0x44f156[_0x323c3c(0x392)](_0x3a5cf7);return _0x1c3e2f||(_0x1c3e2f=new Map(),_0x44f156['set'](_0x3a5cf7,_0x1c3e2f)),_0x1c3e2f;}[_0x49f7c3(0x388)](_0x57f75f){const _0x44dbc1=_0x49f7c3,{unitId:_0x545ec0,subUnitId:_0x5942d0,pivotTableId:_0x295365,pivotTableConfig:_0x306e86,collectionConfig:_0x216171}=_0x57f75f,_0x2274f8={'unitId':_0x545ec0,'subUnitId':_0x5942d0,'oldSubUnitId':_0x5942d0,'pivotTableId':_0x295365,'pivotTableConfig':_0x306e86,'collectionConfig':_0x216171};this[_0x44dbc1(0x32c)][_0x44dbc1(0x291)](_0x4c6758['id'],_0x2274f8,{'onlyLocal':!0x0});}[_0x49f7c3(0x329)](_0x2af926,_0xa70396,_0x1e2e33,_0x136f6f,_0x1eb31b,_0x357d36,_0x35129a,_0x2b6e05=!0x1){const _0x45d57f=_0x49f7c3;var _0x2160c7;this[_0x45d57f(0x32c)][_0x45d57f(0x291)](_0x48cc23['id'],{'single':{'unitId':_0x2af926,'subUnitId':_0xa70396,'type':_0x1e2e33,'pivotTableId':_0x136f6f,'view':_0x1eb31b,'pivotConfig':_0x357d36},'collectionConfig':{[_0x2af926]:_0x35129a}},{'onlyLocal':!0x0});const _0x12ab6f=!!((_0x2160c7=this['getPivotTableInstance'](_0x136f6f))!=null&&_0x2160c7[_0x45d57f(0x14a)]()),_0x6f5f3b=this[_0x45d57f(0x362)](_0x2af926,_0xa70396,_0x136f6f);_0x6f5f3b&&this[_0x45d57f(0x11c)]({'view':_0x1eb31b,'pivotTableId':_0x136f6f,'textInfo':this[_0x45d57f(0x260)](),'isEmpty':_0x12ab6f,'targetCellInfo':_0x6f5f3b[_0x45d57f(0xf9)]},_0x2b6e05);}[_0x49f7c3(0x11c)](_0x208980,_0x3073a0){const _0x2d04c7=_0x49f7c3,{targetCellInfo:_0x3bc602,pivotTableId:_0x4bb709}=_0x208980,{unitId:_0xa88988,subUnitId:_0x2b8d1d}=_0x3bc602,_0x52efc6=this[_0x2d04c7(0x203)](_0xa88988,_0x2b8d1d),_0x107af7=_0x52efc6[_0x2d04c7(0x392)](_0x4bb709);let _0x4a8c96,_0xd0d92c;_0x107af7&&(_0x4a8c96=_0x107af7[_0x2d04c7(0x1d3)],_0xd0d92c=_0x107af7[_0x2d04c7(0x125)]);const {rangesCache:_0x3c26fe,matrix:_0x5cfb0f}=_0x10d1a0(_0x208980);_0x52efc6[_0x2d04c7(0x1aa)](_0x4bb709,{'rangeCache':_0x3c26fe,'matrix':_0x5cfb0f,'oldMatrix':_0xd0d92c,'oldRangeCache':_0x4a8c96}),_0x3073a0||this[_0x2d04c7(0x320)][_0x2d04c7(0x21c)]({'unitId':_0xa88988,'subUnitId':_0x2b8d1d,'pivotTableId':_0x4bb709});}[_0x49f7c3(0x1a3)](_0x273207,_0xe4a340,_0x3479c4,_0x338cab,_0x520e3b){this['_updateModelCache'](_0x273207,_0xe4a340,_0x3479c4,_0x520e3b),this['_updatePivotTableInstanceCache'](_0x3479c4,_0x338cab);}[_0x49f7c3(0x287)](_0x9d98b5,_0x4597a5,_0x59b8dd){const _0x3273a1=_0x49f7c3,_0x62aa54=this[_0x3273a1(0x1f1)](_0x9d98b5);_0x62aa54['getNoUsedDataFieldIds'](_0x59b8dd)[_0x3273a1(0x10a)](_0x5ecee7=>{const _0x1d11cd=_0x3273a1;_0x62aa54[_0x1d11cd(0x195)](_0x5ecee7);}),this[_0x3273a1(0x178)](_0x9d98b5,_0x59b8dd),this[_0x3273a1(0x25d)](_0x9d98b5,_0x4597a5,_0x59b8dd),this[_0x3273a1(0x2c7)](_0x59b8dd);}[_0x49f7c3(0x1b5)](_0x1f703e,_0x33320,_0x99688,_0x4f4368){const _0x611d92=_0x49f7c3;this[_0x611d92(0xe0)](_0x1f703e,_0x33320,_0x99688,_0x4f4368);}[_0x49f7c3(0x362)](_0x33981f,_0x5739ac,_0x4a6a08){const _0x169969=_0x49f7c3;var _0x2beda5,_0x4a590d;const _0x565ef3=(_0x4a590d=(_0x2beda5=this[_0x169969(0xfc)][_0x169969(0x392)](_0x33981f))==null?void 0x0:_0x2beda5[_0x169969(0x392)](_0x5739ac))==null?void 0x0:_0x4a590d[_0x169969(0x392)](_0x4a6a08);if(_0x565ef3)return _0x565ef3;}[_0x49f7c3(0x1f9)](_0x8bf2de,_0x553322,_0x3e144b){const _0x354016=_0x49f7c3;var _0x1c6404,_0x218b6e;const _0x239bb2=(_0x218b6e=(_0x1c6404=this['_model'][_0x354016(0x392)](_0x8bf2de))==null?void 0x0:_0x1c6404['get'](_0x553322))==null?void 0x0:_0x218b6e[_0x354016(0x392)](_0x3e144b);if(_0x239bb2)return _0x239bb2[_0x354016(0x1d4)];}[_0x49f7c3(0x2a7)](_0xa21f52){const _0x1d84d8=_0x49f7c3;return this[_0x1d84d8(0x272)][_0x1d84d8(0x392)](_0xa21f52);}[_0x49f7c3(0x3f1)](_0x3d54b5){const _0x3527ff=_0x49f7c3;this['_model'][_0x3527ff(0x223)](_0x3d54b5);const _0x2f72f8=this[_0x3527ff(0x383)][_0x3527ff(0x392)](_0x3d54b5);_0x2f72f8&&(_0x2f72f8[_0x3527ff(0x3f2)](),this['_dataFieldManagerCollection']['delete'](_0x3d54b5)),this[_0x3527ff(0x1d1)]['delete'](_0x3d54b5),this['needSameDeleteModel'][_0x3527ff(0x10a)](_0x14995a=>{const _0x4cd3b9=_0x3527ff;_0x14995a[_0x4cd3b9(0x3f1)](_0x3d54b5);});}[_0x49f7c3(0x2c2)](_0x3a9a63,_0x44e5fa,_0x1b21c6,_0xacbf43){const _0x3167fd=_0x49f7c3;return this['getDataFieldManager'](_0x1b21c6[_0x3167fd(0x25c)])[_0x3167fd(0x2c2)](_0x3a9a63,_0x44e5fa,_0x1b21c6,_0xacbf43);}[_0x49f7c3(0x33f)](_0x23e764){const _0x2aa69b=_0x49f7c3;return this[_0x2aa69b(0x1f1)](_0x23e764[_0x2aa69b(0x25c)])['createCollectionWithDataRange'](_0x23e764);}[_0x49f7c3(0x124)](_0x1c23c9,_0x546c5a,_0x3e80a7){const _0x1deaad=_0x49f7c3;this[_0x1deaad(0x1f1)](_0x3e80a7[_0x1deaad(0x25c)])[_0x1deaad(0x124)](_0x1c23c9,_0x546c5a,_0x3e80a7);}[_0x49f7c3(0x19a)](_0x5adb65,_0x126077){const _0xc950ff=_0x49f7c3;this[_0xc950ff(0x1f1)](_0x5adb65)[_0xc950ff(0x195)](_0x126077);}[_0x49f7c3(0x178)](_0x2247bb,_0x2f5f80){const _0x13538b=_0x49f7c3;this[_0x13538b(0x1f1)](_0x2247bb)[_0x13538b(0x1b8)](_0x2f5f80);}[_0x49f7c3(0x200)](_0x3d831a,_0x307c8f){const _0x4d9d03=_0x49f7c3;var _0x5d5b97;return(_0x5d5b97=this[_0x4d9d03(0xfc)][_0x4d9d03(0x392)](_0x3d831a))==null?void 0x0:_0x5d5b97[_0x4d9d03(0x392)](_0x307c8f);}['getTargetByPivotId'](_0xabcefa){const _0x510f82=_0x49f7c3;for(const [_0x2adf56,_0x1fad3f]of this[_0x510f82(0xfc)]['entries']())for(const [_0x2be458,_0x5e9977]of _0x1fad3f[_0x510f82(0x21d)]())if(_0x5e9977[_0x510f82(0x1e8)](_0xabcefa))return{'unitId':_0x2adf56,'subUnitId':_0x2be458};return null;}['sideEffectUpdateWorkerCache'](_0x4be48,_0x1775cf,_0xc12695,_0x2f1a68){const _0xf78e4f=_0x49f7c3,_0x306c4c=this[_0xf78e4f(0x203)](_0x4be48,_0x1775cf);_0x2f1a68?_0x306c4c[_0xf78e4f(0x1aa)](_0xc12695,_0x2f1a68):_0x306c4c[_0xf78e4f(0x223)](_0xc12695),this[_0xf78e4f(0x320)][_0xf78e4f(0x21c)]({'unitId':_0x4be48,'subUnitId':_0x1775cf,'pivotTableId':_0xc12695});}[_0x49f7c3(0x3f2)](){const _0x33616e=_0x49f7c3;super['dispose'](),this[_0x33616e(0xfc)][_0x33616e(0xfb)](),this[_0x33616e(0x272)][_0x33616e(0xfb)](),this[_0x33616e(0x1d1)][_0x33616e(0xfb)](),this[_0x33616e(0xdc)][_0x33616e(0x251)](),this[_0x33616e(0x320)]['complete'](),this[_0x33616e(0x155)][_0x33616e(0x251)](),this[_0x33616e(0x383)][_0x33616e(0x10a)](_0x3b025c=>_0x3b025c[_0x33616e(0x3f2)]()),this['_dataFieldManagerCollection'][_0x33616e(0xfb)]();}[_0x49f7c3(0x2cf)](_0xaf164,_0x41de24,_0xc96e5a){const _0x1a2afa=_0x49f7c3;var _0x24fd0e,_0x519b0e;const _0x27b630=(_0x519b0e=(_0x24fd0e=this[_0x1a2afa(0x1d1)]['get'](_0xaf164))==null?void 0x0:_0x24fd0e[_0x1a2afa(0x392)](_0x41de24))==null?void 0x0:_0x519b0e[_0x1a2afa(0x392)](_0xc96e5a);return _0x27b630||null;}[_0x49f7c3(0x23e)](_0x136d27){const _0x339abf=_0x49f7c3;this[_0x339abf(0x2e5)](_0x136d27);}[_0x49f7c3(0x2e5)](_0x5ab20f){const _0x4977ce=_0x49f7c3,{token:_0x1f24d3,unitId:_0x2b9b48,subUnitId:_0x1b4ac6}=_0x5ab20f,_0x1ec515=_0x2b9b48+'-'+_0x1b4ac6+'-'+_0x1f24d3;this['_queryingMap']['get'](_0x1ec515)&&clearTimeout(this[_0x4977ce(0x185)]['get'](_0x1ec515));const _0x5dc542=setTimeout(()=>{const _0x30f46a=_0x4977ce;this[_0x30f46a(0x1bb)](_0x5ab20f),this['_queryingMap']['delete'](_0x1ec515);},_0x3a6b24);this['_queryingMap'][_0x4977ce(0x1aa)](_0x1ec515,_0x5dc542);}[_0x49f7c3(0x1bb)](_0x313f77){const _0x121c6e=_0x49f7c3,{unitId:_0x2655fa,subUnitId:_0x280482,token:_0x4a879c,type:_0x3687a1,pivotConfig:_0x44691e}=_0x313f77,_0x2d0f6c=this[_0x121c6e(0x2a7)](_0x4a879c),_0x217bed=_0x2d0f6c==null?void 0x0:_0x2d0f6c[_0x121c6e(0xe8)](),_0x531231=_0x44691e!=null?_0x44691e:this[_0x121c6e(0x362)](_0x2655fa,_0x280482,_0x4a879c);_0x531231&&(_0x531231[_0x121c6e(0x14a)]=!!(_0x2d0f6c!=null&&_0x2d0f6c[_0x121c6e(0x14a)]())),(_0x217bed||_0x3687a1===_0x48b491['Delete'])&&this[_0x121c6e(0x329)](_0x2655fa,_0x280482,_0x3687a1,_0x4a879c,_0x217bed,_0x531231,this[_0x121c6e(0x1f1)](_0x2655fa)[_0x121c6e(0x132)]());}['toJSON'](_0x30299d){const _0x2ad5ef=_0x49f7c3,_0x200191={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2ad5ef(0x1f1)](_0x30299d)&&(_0x200191[_0x2ad5ef(0xea)][_0x30299d]=this[_0x2ad5ef(0x1f1)](_0x30299d)[_0x2ad5ef(0x132)]()),this[_0x2ad5ef(0xfc)][_0x2ad5ef(0x392)](_0x30299d)){_0x200191[_0x2ad5ef(0x312)][_0x30299d]={};const _0x54f9b5=this['_model']['get'](_0x30299d);_0x54f9b5!=null&&_0x54f9b5[_0x2ad5ef(0x390)]&&[..._0x54f9b5[_0x2ad5ef(0x3e2)]()][_0x2ad5ef(0x10a)](_0x590095=>{const _0x1ee971=_0x2ad5ef,_0x1b7616=_0x54f9b5[_0x1ee971(0x392)](_0x590095);_0x1b7616!=null&&_0x1b7616['size']&&(_0x200191[_0x1ee971(0x312)][_0x30299d][_0x590095]={},[..._0x1b7616[_0x1ee971(0x3e2)]()][_0x1ee971(0x10a)](_0x187497=>{const _0x418614=_0x1ee971,_0x24e144=_0x1b7616['get'](_0x187497);_0x24e144&&(_0x200191[_0x418614(0x312)][_0x30299d][_0x590095][_0x187497]=_0x24e144);}));});}return _0x200191;}[_0x49f7c3(0x398)](_0x49394c){const _0x1ed141=_0x49f7c3;var _0x422776;const {dataFieldManagerConfig:_0x20358b,pivotTableConfigs:_0x12689f}=_0x49394c;_0x20358b&&Object[_0x1ed141(0x3e2)](_0x20358b)[_0x1ed141(0x10a)](_0x2a6101=>{const _0x3097dd=_0x1ed141;this[_0x3097dd(0x1f1)](_0x2a6101)[_0x3097dd(0x398)](_0x20358b[_0x2a6101]);});const _0x5904d6=[];if(_0x12689f){const _0x5ae4e1=(_0x422776=this['_injector']['get'](_0x369ce1[_0x1ed141(0x104)])['getConfig'](_0x5b8945[_0x1ed141(0x285)]))!=null?_0x422776:{},{ls:_0x6cfcd,pbk:_0x35326c}=_0x5ae4e1,_0x48f2f6=_0x2de071(_0x2b5880,_0x6cfcd,_0x35326c)[_0x1ed141(0x3da)];Object['keys'](_0x12689f)[_0x1ed141(0x10a)](_0x5a8d93=>{const _0xb2d48a=_0x1ed141;let _0x2e6e0b=0x0;const _0x90742e=_0x12689f[_0x5a8d93];Object[_0xb2d48a(0x3e2)](_0x90742e)[_0xb2d48a(0x10a)](_0x3feb18=>{const _0x4ca21b=_0xb2d48a,_0x413f68=_0x90742e[_0x3feb18];Object[_0x4ca21b(0x3e2)](_0x413f68)[_0x4ca21b(0x10a)](_0x3764ab=>{const _0x3f0adc=_0x4ca21b,_0xbb066f=_0x413f68[_0x3764ab];if(_0xbb066f){if(_0x2e6e0b>=_0x48f2f6)return;_0x2e6e0b++;const _0x20d3af=this[_0x3f0adc(0x1f1)](_0x5a8d93),_0x13a942=_0x20d3af[_0x3f0adc(0x15e)][_0x3764ab],_0x571be3=_0x13a942[_0x3f0adc(0x277)]();let _0x41253b=0x0;const _0x523bc6=[];for(const _0x28c4ee of _0x571be3){const _0x42a7d5=_0x13a942['getFieldById'](_0x28c4ee);if(_0x2d316f[_0x3f0adc(0x1c9)](_0x42a7d5)){const _0x2247b1=_0x42a7d5['getOriginFieldId'](),_0x4f90bd=_0x13a942['getFieldById'](_0x2247b1);_0x4f90bd&&_0x523bc6['push']([_0x42a7d5,_0x4f90bd]);continue;}_0x20d3af['refreshDataField'](_0x28c4ee,_0xbb066f[_0x3f0adc(0x3ed)],_0x41253b),_0x41253b++;}_0x523bc6['forEach'](([_0x2ae9b3,_0x457dca])=>{const _0xcfb0eb=_0x3f0adc;_0x2ae9b3[_0xcfb0eb(0x246)](_0x457dca);});const _0x336a69=new _0x2d316f['PivotTable'](_0x13a942);_0x336a69[_0x3f0adc(0x398)](_0xbb066f[_0x3f0adc(0x1d4)]),this[_0x3f0adc(0x1a3)](_0x5a8d93,_0x3feb18,_0x3764ab,_0x336a69,_0xbb066f);const _0x2bda38=_0x336a69[_0x3f0adc(0xe8)]();_0x5904d6[_0x3f0adc(0x3d4)]({'unitId':_0x5a8d93,'subUnitId':_0x3feb18,'pivotTableId':_0x3764ab,'view':_0x2bda38[_0x3f0adc(0x132)](),'pivotConfig':_0xbb066f,'type':_0x48b491[_0x3f0adc(0xcf)]});const _0x4ff2da=!!_0x336a69[_0x3f0adc(0x14a)](),_0x855aab={'view':_0x2bda38,'pivotTableId':_0x3764ab,'textInfo':this['getTextInfo'](),'isEmpty':_0x4ff2da,'targetCellInfo':_0xbb066f[_0x3f0adc(0xf9)]};this['updateViewData'](_0x855aab,!0x1);}});});});}_0x20358b&&Object['keys'](_0x20358b)['forEach'](_0x3c5111=>{const _0x248985=_0x1ed141,_0x287888=this['getDataFieldManager'](_0x3c5111);this[_0x248985(0x155)][_0x248985(0x21c)](_0x287888[_0x248985(0x15e)]);}),this[_0x1ed141(0x32c)]['executeCommand'](_0x48cc23['id'],{'batch':_0x5904d6,'collectionConfig':_0x20358b},{'onlyLocal':!0x0});}[_0x49f7c3(0x1bd)](){const _0x24bb0f=_0x49f7c3;this[_0x24bb0f(0x3dd)](this[_0x24bb0f(0x1c1)][_0x24bb0f(0x356)]({'toJson':_0x59b0c8=>JSON[_0x24bb0f(0x3e6)](this[_0x24bb0f(0x132)](_0x59b0c8)),'parseJson':_0x3a1841=>{if(!_0x3a1841)return{};try{return JSON['parse'](_0x3a1841);}catch{return{};}},'businesses':[_0x369ce1[_0x24bb0f(0x3ab)][_0x24bb0f(0x234)]],'pluginName':_0x294572,'onLoad':(_0x2eeea1,_0x401362)=>{const _0x1e8909=_0x24bb0f;this[_0x1e8909(0x398)](_0x401362);},'onUnLoad':_0x39036e=>{const _0x55f859=_0x24bb0f;this[_0x55f859(0x3f1)](_0x39036e);}}));}},_0x237829[_0x49f7c3(0x188)]=_0x52b4c1([_0x571b71(0x0,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x211)])),_0x571b71(0x1,_0x369ce1[_0x49f7c3(0x389)]),_0x571b71(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['LifecycleService'])),_0x571b71(0x3,_0x369ce1[_0x49f7c3(0x1f2)]),_0x571b71(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['IResourceManagerService']))],_0x237829[_0x49f7c3(0x188)]);const _0x529a33={0x0:{0x0:{'v':_0x49f7c3(0x3dc),'s':_0x4ae871}},0x2:{0x1:{'v':'','s':_0x4ae871},0x2:{'v':'','s':_0x4ae871},0x3:{'v':_0x49f7c3(0x176),'s':_0x4ae871},0x4:{'v':'','s':_0x4ae871},0x5:{'v':'','s':_0x4ae871}},0x3:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x4:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x5:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x6:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x7:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x8:{0x0:{'v':_0x49f7c3(0x27d),'s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':_0x49f7c3(0x3a7),'s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0x9:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xa:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xb:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xc:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}},0xd:{0x0:{'v':'','s':_0x4ae871},0x1:{'v':'','s':_0x53c1e0},0x2:{'v':'','s':_0x53c1e0},0x3:{'v':'','s':_0x53c1e0},0x4:{'v':'','s':_0x53c1e0},0x5:{'v':'','s':_0x53c1e0}}},_0xda3d04={'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':[]},_0x322dd5=(_0x9db924,_0x182cd2)=>{const _0x142445=_0x49f7c3,_0x5368ab=new _0x369ce1[(_0x142445(0x2bf))](),_0x34d29d=new _0x369ce1[(_0x142445(0x2bf))](_0x529a33),{row:_0x39f37f,col:_0x373949}=_0x182cd2;_0x34d29d[_0x142445(0x103)]((_0x5db507,_0x27d645,_0x36e5cb)=>{const _0x22a100=_0x142445;let _0x232d3d='';_0x36e5cb['v']==='filter'?_0x232d3d=_0x9db924[_0x22a100(0x3dc)]:_0x36e5cb['v']===_0x22a100(0x27d)?_0x232d3d=_0x9db924[_0x22a100(0x27d)]:_0x36e5cb['v']===_0x22a100(0x176)?_0x232d3d=_0x9db924[_0x22a100(0x176)]:_0x36e5cb['v']===_0x22a100(0x3a7)&&(_0x232d3d=_0x9db924[_0x22a100(0x3a7)]),_0x5368ab[_0x22a100(0x1e4)](_0x5db507+_0x39f37f,_0x27d645+_0x373949,{..._0x36e5cb,'v':_0x232d3d});});const _0x332ae0=_0x369ce1[_0x142445(0x194)][_0x142445(0xd7)](_0xda3d04);return Object['keys'](_0xda3d04)[_0x142445(0x10a)](_0x32f58d=>{const _0xbb87f4=_0x142445;_0x332ae0[_0x32f58d]=_0xda3d04[_0x32f58d]['map'](_0x42896b=>({..._0x42896b,'startRow':_0x42896b[_0xbb87f4(0x1c7)]+_0x39f37f,'endRow':_0x42896b[_0xbb87f4(0x1bf)]+_0x39f37f,'startColumn':_0x42896b[_0xbb87f4(0xfd)]+_0x373949,'endColumn':_0x42896b[_0xbb87f4(0x12b)]+_0x373949}));}),{'matrixCache':_0x5368ab,'rangesCache':_0x332ae0};};function _0x505ded(_0x10952b,_0xd8ddad){const _0x239c8e=_0x49f7c3;let _0x5384aa='';const _0x239c6d=this['getTextInfo']();switch(_0xd8ddad){case _0x2d316f[_0x239c8e(0x1f6)]['average']:_0x5384aa=_0x239c6d['sheets-pivot.averageName']+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['count']:_0x5384aa=_0x239c6d[_0x239c8e(0x1fd)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x3a5)]:_0x5384aa=_0x239c6d[_0x239c8e(0x30f)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x350)]:_0x5384aa=_0x239c6d['sheets-pivot.maxName']+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['min']:_0x5384aa=_0x239c6d[_0x239c8e(0x1b0)]+_0x10952b;break;case _0x2d316f['PivotSubtotalTypeEnum'][_0x239c8e(0x233)]:_0x5384aa=_0x239c6d[_0x239c8e(0x338)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['stdDev']:_0x5384aa=_0x239c6d[_0x239c8e(0x318)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x128)]:_0x5384aa=_0x239c6d['sheets-pivot.stdDevpName']+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)][_0x239c8e(0x231)]:_0x5384aa=_0x239c6d[_0x239c8e(0xcd)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['var']:_0x5384aa=_0x239c6d[_0x239c8e(0x109)]+_0x10952b;break;case _0x2d316f[_0x239c8e(0x1f6)]['varp']:_0x5384aa=_0x239c6d[_0x239c8e(0x11f)]+_0x10952b;break;default:_0x5384aa=_0x10952b;break;}return _0x5384aa;}function _0xdcd3eb(_0x10b615,_0x242fbf,_0x2bb100,_0x9e8890,_0x188e42){const _0x33c8e8=_0x49f7c3;var _0x57c571,_0x47d0ac,_0x88e444,_0xecf69a,_0x30200d;const _0x3b6049=_0x369ce1[_0x33c8e8(0x102)](_0x10b615,_0x242fbf),{rangesInfo:_0x4c8bdf,areaInfo:_0x3db4c7,headerMap:_0x159735}=_0x188e42;if(!_0x4c8bdf||!_0x3db4c7||!_0x159735)return;const _0x154cb1=Object[_0x33c8e8(0x3e2)](_0x4c8bdf)['find'](_0x48a6a3=>_0x4c8bdf[_0x48a6a3][_0x33c8e8(0x172)](_0x3fd2e5=>_0x369ce1[_0x33c8e8(0x32a)]['contains'](_0x3fd2e5,_0x3b6049))),_0x33fd64=_0x3db4c7;let _0x4c2047,_0x29d9a4,_0x536baa;if(_0x154cb1===_0x33c8e8(0x18a))_0x4c2047=(_0x57c571=_0x33fd64==null?void 0x0:_0x33fd64[_0x33c8e8(0x2ce)])==null?void 0x0:_0x57c571[_0x10b615],_0x29d9a4=(_0x47d0ac=_0x159735==null?void 0x0:_0x159735[_0x33c8e8(0x2b9)])==null?void 0x0:_0x47d0ac[_0x242fbf],_0x536baa=_0x29d9a4==null?void 0x0:_0x29d9a4[_0x33c8e8(0x1ce)];else{if(_0x154cb1===_0x33c8e8(0x170))_0x4c2047=(_0x88e444=_0x33fd64==null?void 0x0:_0x33fd64[_0x33c8e8(0x1ff)])==null?void 0x0:_0x88e444[_0x242fbf],_0x29d9a4=(_0xecf69a=_0x159735['colHeaderMap'])==null?void 0x0:_0xecf69a[_0x10b615+0x1+_0x242fbf-_0x4c8bdf[_0x33c8e8(0x170)][0x0][_0x33c8e8(0xfd)]],_0x536baa=_0x29d9a4==null?void 0x0:_0x29d9a4[_0x33c8e8(0x1ce)];else{if(_0x154cb1===_0x33c8e8(0x29f))_0x4c2047=(_0x30200d=_0x33fd64==null?void 0x0:_0x33fd64[_0x33c8e8(0x20c)])==null?void 0x0:_0x30200d[_0x242fbf],_0x536baa=_0x4c2047==null?void 0x0:_0x4c2047[_0x33c8e8(0x1ce)];else{if(_0x154cb1===_0x33c8e8(0x274)){const _0xd68727=_0x2bb100==null?void 0x0:_0x2bb100['fi'];_0xd68727!==void 0x0&&(_0x536baa=_0x9e8890[_0x33c8e8(0x227)](_0xd68727));}}}}return{'filterId':_0x536baa,'info':_0x4c2047,'data':_0x2bb100,'headerInfo':_0x29d9a4};}function _0x4d4bdc(_0x2a92f9,_0x4c6a04,_0x352aa9){const _0x2ac8ec=_0x49f7c3,_0x15e764=_0x2a92f9[_0x2ac8ec(0x12d)],_0x3ff020=_0x15e764[_0x2ac8ec(0x277)](),_0x2875a1=new Set();_0x2a92f9['iterateField'](_0x571142=>{const _0x5b15ff=_0x2ac8ec;_0x2875a1['add'](_0x571142[_0x5b15ff(0x3e8)]);});const _0x1f6fa2=_0x3ff020[_0x2ac8ec(0x35b)](_0x3c406b=>{const _0x2d6d75=_0x2ac8ec,_0x54411c=_0x15e764[_0x2d6d75(0x2aa)](_0x3c406b);return{'checked':_0x2875a1[_0x2d6d75(0x1e8)](_0x3c406b),'dataFieldId':_0x54411c['id'],'id':_0x54411c['id'],'name':_0x15e764[_0x2d6d75(0x305)](_0x54411c['id']),'type':_0x54411c[_0x2d6d75(0x239)](),'pivotTableId':_0x4c6a04};}),_0x278314=[];_0x2a92f9[_0x2ac8ec(0x1af)](_0x2d316f[_0x2ac8ec(0x137)][_0x2ac8ec(0x1ba)],_0x7316cc=>{const _0x2287ab=_0x2ac8ec;_0x278314[_0x2287ab(0x3d4)]({'dataFieldId':_0x7316cc[_0x2287ab(0x3e8)],'tableFieldId':_0x7316cc[_0x2287ab(0x2e7)](),'displayName':_0x7316cc[_0x2287ab(0x305)]()});});const _0xba9f27=[];_0x2a92f9['iterateFieldByArea'](_0x2d316f['PivotTableFiledAreaEnum'][_0x2ac8ec(0x10c)],_0x58d8a1=>{const _0x22c13b=_0x2ac8ec;_0xba9f27[_0x22c13b(0x3d4)]({'dataFieldId':_0x58d8a1['dataFieldId'],'tableFieldId':_0x58d8a1[_0x22c13b(0x2e7)](),'displayName':_0x58d8a1['getDisplayName']()});});const _0x47c186=[];if(_0x2a92f9[_0x2ac8ec(0x1af)](_0x2d316f[_0x2ac8ec(0x137)][_0x2ac8ec(0x30d)],_0x4566bf=>{const _0x2caf67=_0x2ac8ec;_0x47c186[_0x2caf67(0x3d4)]({'dataFieldId':_0x4566bf[_0x2caf67(0x3e8)],'tableFieldId':_0x4566bf[_0x2caf67(0x2e7)](),'displayName':_0x4566bf[_0x2caf67(0x305)](),'format':_0x4566bf[_0x2caf67(0x16e)](),'subTotalType':_0x4566bf[_0x2caf67(0x364)]()});}),_0x47c186[_0x2ac8ec(0x264)]>0x1){const _0x1d566a=_0x2a92f9[_0x2ac8ec(0x39f)]();(_0x2a92f9[_0x2ac8ec(0x27b)]()?_0xba9f27:_0x278314)['splice'](_0x1d566a,0x0,{'dataFieldId':'','tableFieldId':_0x2ac8ec(0x13f),'displayName':_0x2ac8ec(0x3b9)});}const _0x38e9a4=[];_0x2a92f9[_0x2ac8ec(0x1af)](_0x2d316f[_0x2ac8ec(0x137)][_0x2ac8ec(0x15c)],_0x34256f=>{const _0x434d4e=_0x2ac8ec;_0x38e9a4['push']({'dataFieldId':_0x34256f['dataFieldId'],'tableFieldId':_0x34256f[_0x434d4e(0x2e7)](),'displayName':_0x34256f[_0x434d4e(0x305)]()});});const _0x5d70e1=_0x352aa9[_0x2ac8ec(0x3ed)];return{'sourceList':_0x1f6fa2,'sourceRange':_0x5d70e1,'rowFields':_0x278314,'columnFields':_0xba9f27,'valueFields':_0x47c186,'filterFields':_0x38e9a4,'positionInfo':_0x352aa9[_0x2ac8ec(0xf9)]};}function _0x1eaaf6(_0x59dbb8,_0x19eaa7,_0x35dac1='',_0x543fd8={}){const _0x3f0a83=_0x49f7c3,_0x56798b=_0x59dbb8[_0x3f0a83(0x392)](_0x369ce1[_0x3f0a83(0x18e)]);for(const _0x2cb33c in _0x19eaa7)if(Object[_0x3f0a83(0x3aa)][_0x3f0a83(0x16c)][_0x3f0a83(0x2a9)](_0x19eaa7,_0x2cb33c)){const _0x2f10fe=_0x35dac1?_0x35dac1+'.'+_0x2cb33c:_0x2cb33c;typeof _0x19eaa7[_0x2cb33c]=='object'&&_0x19eaa7[_0x2cb33c]!==null&&!Array['isArray'](_0x19eaa7[_0x2cb33c])?_0x1eaaf6(_0x59dbb8,_0x19eaa7[_0x2cb33c],_0x2f10fe,_0x543fd8):_0x543fd8[_0x2f10fe]=_0x56798b['t'](_0x2f10fe);}return _0x543fd8;}const _0x2652bb=_0x3b89bd=>{const _0x56c12c=_0x49f7c3;if(!_0x3b89bd)return[];const {rowRanges:_0x23dd9f,colRanges:_0x3f0209,cornerRanges:_0x52f54b,dataRanges:_0x2b0779,pageRanges:_0x26d179}=_0x3b89bd,_0x4b35dc=[..._0x3f0209,..._0x23dd9f,..._0x2b0779,..._0x52f54b][_0x56c12c(0x3dc)](_0x436a75=>_0x436a75[_0x56c12c(0x1c7)]>=0x0&&_0x436a75['startColumn']>=0x0&&_0x436a75['endRow']>=0x0&&_0x436a75[_0x56c12c(0x12b)]>=0x0);let _0xfe55ba=Number[_0x56c12c(0x1a6)],_0x5e717e=Number['MIN_SAFE_INTEGER'],_0x4567c6=Number[_0x56c12c(0x1a6)],_0x2da6c3=Number['MIN_SAFE_INTEGER'];for(let _0x4018f0=0x0;_0x4018f0<_0x4b35dc[_0x56c12c(0x264)];_0x4018f0++)_0xfe55ba=Math[_0x56c12c(0x214)](_0xfe55ba,_0x4b35dc[_0x4018f0]['startRow']),_0x5e717e=Math[_0x56c12c(0x350)](_0x5e717e,_0x4b35dc[_0x4018f0][_0x56c12c(0x1bf)]),_0x4567c6=Math[_0x56c12c(0x214)](_0x4567c6,_0x4b35dc[_0x4018f0][_0x56c12c(0xfd)]),_0x2da6c3=Math[_0x56c12c(0x350)](_0x2da6c3,_0x4b35dc[_0x4018f0][_0x56c12c(0x12b)]);return[..._0x26d179,{'startRow':_0xfe55ba,'endRow':_0x5e717e,'startColumn':_0x4567c6,'endColumn':_0x2da6c3}];};function _0x450940(_0x11e9a4,_0x384545){const _0x267f20=_0x49f7c3,_0x2a0b15=_0x384545[_0x267f20(0x376)][_0x267f20(0x19d)],{pivotTableId:_0x3369b3,unitId:_0x26cd6f,subUnitId:_0x4035b9}=_0x384545;if(!_0x2a0b15)return;const _0x558b24=_0x11e9a4[_0x267f20(0x392)](_0x237829['SheetsPivotDataSourceModel']),_0x41296b=_0x558b24[_0x267f20(0x2a7)](_0x3369b3),_0xfab20=_0x558b24['getPivotTableConfig'](_0x26cd6f,_0x4035b9,_0x3369b3);if(!_0x41296b||!_0xfab20)return;const _0x50c8f2=_0x41296b[_0x267f20(0x20f)](_0x2a0b15[_0x267f20(0x17f)]);if(!(_0x50c8f2!=null&&_0x50c8f2['length']))return;const _0x599f8f=_0xfab20[_0x267f20(0x3ed)],{unitId:_0x37da6a,subUnitId:_0x2ab687,range:_0x5446f7}=_0x599f8f;let _0x1da315=0x0;const _0x3a0379=_0x41296b[_0x267f20(0x12d)][_0x267f20(0x277)]()[_0x267f20(0x26a)]((_0x4e4c51,_0x40ebff)=>{const _0xfa46dc=_0x267f20;var _0x2ed669;const _0x110a12=(_0x2ed669=_0x41296b['getDataFieldByDataFieldId'](_0x40ebff))==null?void 0x0:_0x2ed669[_0xfa46dc(0x37b)]();return _0x110a12&&(_0x4e4c51[String(_0x1da315)]=_0x110a12),_0x1da315++,_0x4e4c51;},{});return{'indexes':_0x50c8f2,'range':_0x5446f7,'sourceUnitId':_0x37da6a,'sourceSubUnitId':_0x2ab687,'formatMap':_0x3a0379};}function _0x53b1ed(_0x17f928,_0x11640b){const _0x4e12d3=_0x49f7c3;if(!_0x17f928||!_0x11640b)return!0x0;const _0x1d0aba=_0x5b8945[_0x4e12d3(0x3a1)](_0x2d686b,_0x34f2f0),_0x1942ff=new Function(_0x4e12d3(0x14c)+_0x1d0aba)()(_0x17f928,_0x11640b)['message'],_0x373b38=_0x5b8945[_0x4e12d3(0x38c)](_0x1942ff,'sf',_0x472e37);return!((_0x1942ff==null?void 0x0:_0x1942ff['rt'])===_0x5b8945[_0x4e12d3(0x215)][_0x4e12d3(0x156)]&&!_0x373b38);}function _0x2de071(_0x3a7718,_0x833cb9,_0x39420e){const _0x5e8b40=_0x49f7c3,_0x2bf360={'count':_0x3a7718,'timeValid':!0x1};if(!_0x833cb9||!_0x39420e)return _0x2bf360;const _0xee172c=_0x5b8945[_0x5e8b40(0x3a1)](_0x2d686b,_0x34f2f0),_0x4b02a8=new Function(_0x5e8b40(0x14c)+_0xee172c)()(_0x833cb9,_0x39420e);if(_0x4b02a8!=null&&_0x4b02a8[_0x5e8b40(0x270)]){const _0x7b810a=_0x4b02a8['message'],_0x522dbe=_0x5b8945[_0x5e8b40(0x38c)](_0x7b810a,'sf',_0x472e37);return{'count':_0x5b8945[_0x5e8b40(0x3c4)](_0x7b810a,_0x522dbe,_0x5e8b40(0x365),_0x3a7718,_0x3a7718,0x0),'timeValid':_0x522dbe};}return _0x2bf360;}function _0x2706e1(_0x4376dd,_0x44092c,_0x5dfb12,_0xd9994d){const _0x30de0a=_0x49f7c3,_0x2636d5={'subUnitId':_0x5dfb12,'unitId':_0x44092c,'cellValue':_0x298fdb[_0x30de0a(0x3de)](_0xd9994d)},_0x55daef=_0x298fdb[_0x30de0a(0x210)](_0x4376dd,_0x2636d5);let _0x37396a=!0x1;return new _0x369ce1[(_0x30de0a(0x2bf))](_0x55daef[_0x30de0a(0x310)])[_0x30de0a(0x103)]((_0x494465,_0x2aeceb,_0x1ae897)=>{const _0x37fc69=_0x30de0a;if(!_0x37396a&&_0x1ae897&&(_0x1ae897[_0x37fc69(0xf8)]||_0x1ae897['f']||_0x1ae897['p']||_0x1ae897['s']||_0x1ae897['si']||_0x1ae897['t']||_0x1ae897['v']))return _0x37396a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':_0x55daef},'setRangeValueRedoMutation':{'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':_0x2636d5},'shouldClear':_0x37396a};}function _0x2353cb(_0x356538){const {row:_0x5b6cb3,col:_0x167312}=_0x356538,_0x51b832={'startRow':_0x5b6cb3,'endRow':_0x5b6cb3,'startColumn':_0x167312,'endColumn':_0x167312},_0x401840={'startRow':_0x5b6cb3+0x2,'endRow':_0x5b6cb3+0xe,'startColumn':_0x167312,'endColumn':_0x167312+0x6};return[_0x51b832,_0x401840];}function _0x5c4eb3(_0x1382f0,_0x158e53,_0x2d1ff2){const _0x52ae88=_0x49f7c3,{cornerView:_0x45d87c,rowView:_0xb9aef0,colView:_0x24e58e,pageView:_0x1baaa2}=_0x1382f0,{row:_0x1f5a81,col:_0x50521e}=_0x158e53;if(_0x2d1ff2)return{'rowCount':_0x213fa6+_0x1f5a81,'colCount':_0x110b83+_0x50521e};const _0x1241ed=_0x1baaa2[_0x52ae88(0x129)]>-0x1?_0x1baaa2[_0x52ae88(0x129)]+0x1:0x0,_0x36829c=_0x1baaa2['lastCol']>-0x1?_0x1baaa2[_0x52ae88(0x39e)]:0x0,_0x58a9dc=_0x1f5a81+_0x1241ed+(_0x1241ed?0x1:0x0)+_0x45d87c[_0x52ae88(0x355)]+_0xb9aef0[_0x52ae88(0x355)],_0x390341=_0x50521e+_0x36829c,_0x2692bc=_0x50521e+_0x45d87c[_0x52ae88(0x27f)]+_0x24e58e[_0x52ae88(0x27f)],_0x48cd05=Math[_0x52ae88(0x350)](_0x390341,_0x2692bc);return{'rowCount':_0x58a9dc,'colCount':_0x48cd05};}function _0x75bbf(_0xa113f2,_0x470ad6,_0x3d5a88,_0x12a32f){const _0x505b52=_0x49f7c3,{row:_0x5379f7,col:_0x56fe94,unitId:_0x271ee2,subUnitId:_0x5062f1}=_0x3d5a88,_0x53509f=_0x5c4eb3(_0x470ad6,{'row':_0x5379f7,'col':_0x56fe94},_0x12a32f),_0x5e190a=_0xa113f2[_0x505b52(0x392)](_0x369ce1['IUniverInstanceService']),_0x1a4478=_0x298fdb[_0x505b52(0x3b6)](_0x5e190a,{'unitId':_0x271ee2,'subUnitId':_0x5062f1}),_0x3b29e8=[],_0x34bfe8=[];if(!_0x1a4478)return{'undos':_0x34bfe8,'redos':_0x3b29e8};const {worksheet:_0x549464}=_0x1a4478,_0x1eef49=_0x549464[_0x505b52(0x268)](),_0x54479b=_0x549464[_0x505b52(0x158)]();return _0x1eef49<_0x53509f[_0x505b52(0x355)]&&(_0x3b29e8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x1f3)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':_0x1eef49,'endRow':_0x53509f[_0x505b52(0x355)]-0x1,'startColumn':0x0,'endColumn':_0x54479b-0x1}}}),_0x34bfe8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x2be)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':_0x1eef49,'endRow':_0x53509f[_0x505b52(0x355)]-0x1,'startColumn':0x0,'endColumn':_0x54479b-0x1}}})),_0x54479b<_0x53509f[_0x505b52(0x27f)]&&(_0x3b29e8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x186)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':0x0,'endRow':_0x1eef49-0x1,'startColumn':_0x54479b,'endColumn':_0x53509f[_0x505b52(0x27f)]-0x1}}}),_0x34bfe8[_0x505b52(0x3d4)]({'id':_0x298fdb[_0x505b52(0x235)]['id'],'params':{'unitId':_0x271ee2,'subUnitId':_0x5062f1,'range':{'startRow':0x0,'endRow':_0x1eef49-0x1,'startColumn':_0x54479b,'endColumn':_0x53509f['colCount']-0x1}}})),{'undos':_0x34bfe8,'redos':_0x3b29e8};}function _0x4b360e(_0x2af640){const _0xd3dc8d=_0x49f7c3;let _0x26dd54=0x0;for(let _0xff8dcc=0x0;_0xff8dcc<_0x2af640[_0xd3dc8d(0x264)];_0xff8dcc++){const _0x106682=_0x2af640[_0xd3dc8d(0x117)](_0xff8dcc);_0x106682>=0x4e00&&_0x106682<=0x9fff||_0x106682>=0x3000&&_0x106682<=0x303f||_0x106682>=0xff00&&_0x106682<=0xffef?_0x26dd54+=0x2:_0x26dd54+=0x1;}return _0x26dd54;}function _0x5c5782(_0x37725f,_0x1041c5,_0x1f373e,_0xb9f48e){const _0x5290a8=_0x49f7c3;var _0x46bd6a,_0x3acaaf,_0x338235,_0x15b524;const {rowCount:_0x3acf0f,colCount:_0x43b099,headerMap:_0x553a6c}=_0x37725f,_0x1ec4db=0x64,_0x5f48fb=Math[_0x5290a8(0x214)](_0x3acf0f,_0x1ec4db),_0x47647a=Math['min'](_0x43b099,_0x1ec4db);let _0x23bea4='',_0x10a595=0x0;for(let _0x41977e=0x0;_0x41977e<_0x5f48fb;_0x41977e++)for(let _0x57bbbe=0x0;_0x57bbbe<_0x47647a;_0x57bbbe++){const _0x624c9d={...(_0x3acaaf=(_0x46bd6a=_0x37725f[_0x5290a8(0x267)])==null?void 0x0:_0x46bd6a[_0x41977e])==null?void 0x0:_0x3acaaf[_0x57bbbe]},_0x587885=(_0x338235=_0x553a6c[_0x41977e])==null?void 0x0:_0x338235[_0x5290a8(0x1ce)],_0x140833=_0xb9f48e[_0x587885];let _0x407aea=_0x37725f[_0x5290a8(0x1a0)](_0x41977e,_0x57bbbe);if(_0x624c9d){const _0x4e5052=_0x1f373e?_0x57bbbe===0x0&&((_0x15b524=_0x37725f['getHeaderMapItem'](_0x57bbbe+0x1))==null?void 0x0:_0x15b524[_0x5290a8(0x198)]):!0x1;_0x407aea=_0x5bb57f(_0x624c9d,_0x4e5052,_0x140833,_0x1041c5);}if(_0x407aea!==void 0x0){const _0x52d7cb=_0x4b360e(String(_0x407aea));_0x10a595<_0x52d7cb&&(_0x23bea4=String(_0x407aea),_0x10a595=_0x52d7cb);}}return _0x23bea4;}function _0x6e0cd3(_0x2ddacd){const _0x35abc5=_0x49f7c3,{rowCount:_0xfbc4e4,colCount:_0x8247da}=_0x2ddacd;let _0x1fc88b='',_0x44c8f1=0x0;for(let _0x3f15ba=_0xfbc4e4-0x1;_0x3f15ba>0x0&&_0x3f15ba>_0xfbc4e4-0x3;_0x3f15ba--)for(let _0x42f831=0x0;_0x42f831<_0x8247da;_0x42f831++){const _0x28a003=_0x2ddacd['getValue'](_0x3f15ba,_0x42f831);if(_0x28a003!==void 0x0){const _0x43dbcf=String(_0x28a003)[_0x35abc5(0x264)];_0x44c8f1<_0x43dbcf&&(_0x1fc88b=String(_0x28a003),_0x44c8f1=_0x43dbcf);}}return _0x1fc88b;}function _0x55b0a8(_0x1926a9){const _0x5e1765=_0x49f7c3,{rowCount:_0x6bfdc9,colCount:_0x5a8298}=_0x1926a9;let _0x2ecc62='',_0x2f7a64=0x0;for(let _0x387a35=0x0;_0x387a35<_0x6bfdc9;_0x387a35++)for(let _0x3498c3=0x0;_0x3498c3<_0x5a8298;_0x3498c3++){const _0x38a245=_0x1926a9['getValue'](_0x387a35,_0x3498c3);if(_0x38a245!==void 0x0){const _0x34081f=String(_0x38a245)[_0x5e1765(0x264)];_0x2f7a64<_0x34081f&&(_0x2ecc62=String(_0x38a245),_0x2f7a64=_0x34081f);}}return _0x2ecc62;}function _0x1acbf7(_0x32481e,_0x59817a){const _0x17f486=_0x49f7c3,{rowFields:_0x316139,columnFields:_0x29ca89,valueFields:_0xbd90d,filterFields:_0x42bab6,dimension:_0x2eddea,measure:_0x71437}=_0x59817a;for(const _0x4a35a2 of _0x316139){const _0x26d0aa=_0x2eddea[_0x4a35a2];_0x26d0aa&&_0x32481e[_0x17f486(0x14e)](_0x26d0aa[_0x17f486(0x3e8)])&&(_0x32481e[_0x17f486(0x27e)](_0x26d0aa[_0x17f486(0x3e8)],_0x2d316f[_0x17f486(0x137)][_0x17f486(0x1ba)],void 0x0,_0x4a35a2),_0x26d0aa['displayName']&&_0x32481e[_0x17f486(0x240)](_0x26d0aa['id'],_0x26d0aa[_0x17f486(0x35a)]),_0x26d0aa[_0x17f486(0x2a8)]&&_0x32481e[_0x17f486(0x1b7)](_0x26d0aa['id'],_0x26d0aa['sortInfo']),_0x26d0aa[_0x17f486(0x1ed)]&&_0x32481e[_0x17f486(0x1d8)](_0x26d0aa['id'],_0x26d0aa[_0x17f486(0x1ed)]));}for(const _0x21f3ed of _0x29ca89){const _0x1f7b0f=_0x2eddea[_0x21f3ed];_0x1f7b0f&&_0x32481e[_0x17f486(0x14e)](_0x1f7b0f[_0x17f486(0x3e8)])&&(_0x32481e[_0x17f486(0x27e)](_0x1f7b0f[_0x17f486(0x3e8)],_0x2d316f[_0x17f486(0x137)][_0x17f486(0x10c)],void 0x0,_0x21f3ed),_0x1f7b0f['sortInfo']&&_0x32481e[_0x17f486(0x1b7)](_0x1f7b0f['id'],_0x1f7b0f[_0x17f486(0x2a8)]),_0x1f7b0f['filterInfo']&&_0x32481e['setLabelFilterInfo'](_0x1f7b0f['id'],_0x1f7b0f[_0x17f486(0x1ed)]),_0x1f7b0f[_0x17f486(0x35a)]&&_0x32481e['renameField'](_0x1f7b0f['id'],_0x1f7b0f[_0x17f486(0x35a)]));}for(const _0x551415 of _0x42bab6){const _0x4a07b2=_0x2eddea[_0x551415];_0x4a07b2&&_0x32481e[_0x17f486(0x14e)](_0x4a07b2['dataFieldId'])&&(_0x32481e[_0x17f486(0x27e)](_0x4a07b2[_0x17f486(0x3e8)],_0x2d316f['PivotTableFiledAreaEnum'][_0x17f486(0x15c)],void 0x0,_0x551415),_0x4a07b2[_0x17f486(0x2a8)]&&_0x32481e[_0x17f486(0x1b7)](_0x4a07b2['id'],_0x4a07b2[_0x17f486(0x2a8)]),_0x4a07b2['filterInfo']&&_0x32481e[_0x17f486(0x1d8)](_0x4a07b2['id'],_0x4a07b2[_0x17f486(0x1ed)]),_0x4a07b2[_0x17f486(0x35a)]&&_0x32481e[_0x17f486(0x240)](_0x4a07b2['id'],_0x4a07b2['displayName']));}for(const _0x248486 of _0xbd90d){const _0x27a384=_0x71437[_0x248486];_0x27a384&&_0x32481e[_0x17f486(0x14e)](_0x27a384['dataFieldId'])&&(_0x32481e[_0x17f486(0x27e)](_0x27a384['dataFieldId'],_0x2d316f[_0x17f486(0x137)][_0x17f486(0x30d)],void 0x0,_0x248486),_0x27a384['subtotal']!==void 0x0&&_0x32481e['setSubtotalType'](_0x248486,_0x27a384[_0x17f486(0x1dc)]),_0x27a384[_0x17f486(0xd4)]&&_0x32481e[_0x17f486(0xde)](_0x248486,_0x27a384[_0x17f486(0xd4)]),_0x27a384[_0x17f486(0x35a)]&&_0x32481e['renameField'](_0x27a384['id'],_0x27a384['displayName']));}const _0x43691b=_0x59817a[_0x17f486(0x328)];for(const {fieldId:_0x4798b9,filterInfo:_0x5c5f68}of _0x43691b)_0x32481e[_0x17f486(0x262)](_0x4798b9,_0x5c5f68);}function _0x54733d(_0x426216,_0x3e7933){const _0x260d19=_0x49f7c3,_0x3e142a=[];_0x3e7933===_0x2d316f[_0x260d19(0x137)][_0x260d19(0x1ba)]&&_0x426216[_0x260d19(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x260d19(0x1ba)],_0x228621=>{const _0x20eb3b=_0x260d19;_0x3e142a['push'](_0x228621[_0x20eb3b(0x2e7)]());}),_0x3e7933===_0x2d316f['PivotTableFiledAreaEnum']['Column']&&_0x426216['iterateFieldByArea'](_0x2d316f[_0x260d19(0x137)][_0x260d19(0x10c)],_0xa07283=>{const _0x1b200e=_0x260d19;_0x3e142a[_0x1b200e(0x3d4)](_0xa07283[_0x1b200e(0x2e7)]());}),_0x3e7933===_0x2d316f[_0x260d19(0x137)]['Filter']&&_0x426216[_0x260d19(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x260d19(0x15c)],_0x4c039b=>{const _0x5b2b2c=_0x260d19;_0x3e142a['push'](_0x4c039b[_0x5b2b2c(0x2e7)]());}),_0x3e7933===_0x2d316f[_0x260d19(0x137)][_0x260d19(0x30d)]&&_0x426216[_0x260d19(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x260d19(0x30d)],_0x5bd020=>{_0x3e142a['push'](_0x5bd020['getId']());}),_0x3e7933===void 0x0&&_0x426216[_0x260d19(0x3db)](_0x439cf8=>{const _0xadc9b2=_0x260d19;_0x3e142a[_0xadc9b2(0x3d4)](_0x439cf8[_0xadc9b2(0x2e7)]());});const _0x16c15f=_0x3e142a[_0x260d19(0x264)];for(let _0x3971de=_0x16c15f-0x1;_0x3971de>=0x0;_0x3971de--)_0x426216['removeField'](_0x3e142a[_0x3971de]);const _0x21794e=_0x426216[_0x260d19(0x3bc)]();for(const _0x253582 in _0x21794e)_0x426216[_0x260d19(0x1e6)](_0x253582);}function _0x2b16d7(_0x8534c3,_0x362a75){const _0x430eaf=_0x49f7c3,_0x1bc983=new Date(_0x2d316f[_0x430eaf(0x2e2)](_0x362a75)),_0x57e5d8=new Date(_0x2d316f[_0x430eaf(0x2e2)](_0x8534c3)),_0x5802bf=_0x1bc983[_0x430eaf(0x26d)](),_0x535312=_0x57e5d8['getFullYear'](),_0x4142a4=_0x1bc983[_0x430eaf(0x327)](),_0x57ea86=_0x57e5d8[_0x430eaf(0x327)](),_0x4adddf=_0x1bc983[_0x430eaf(0x182)](),_0x3bf31c=_0x57e5d8[_0x430eaf(0x182)](),_0x31dd7e=_0x5802bf===_0x535312,_0x543b95=_0x31dd7e&&_0x4142a4===_0x57ea86;return _0x31dd7e&&_0x543b95&&!(_0x543b95&&_0x4adddf===_0x3bf31c)?_0x2d316f[_0x430eaf(0x286)][_0x430eaf(0x11b)]:_0x31dd7e&&!_0x543b95?_0x2d316f[_0x430eaf(0x286)][_0x430eaf(0x2cb)]:_0x2d316f[_0x430eaf(0x286)][_0x430eaf(0x23c)];}function _0x3b9b16(_0x1ef29c,_0x393ff2){const _0x1f0422=_0x49f7c3,_0x3d0fb1=_0x1ef29c[_0x1f0422(0x392)](_0x237829[_0x1f0422(0x188)])[_0x1f0422(0x260)]();let _0x169894='';switch(_0x393ff2){case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x11b)]:_0x169894=_0x3d0fb1[_0x1f0422(0x164)];break;case _0x2d316f[_0x1f0422(0x286)]['YearMonth']:_0x169894=_0x3d0fb1[_0x1f0422(0x3c7)];break;case _0x2d316f[_0x1f0422(0x286)]['Year']:_0x169894=_0x3d0fb1[_0x1f0422(0x35c)];break;case _0x2d316f['PivotDateGroupFieldDateTypeEnum']['Month']:_0x169894=_0x3d0fb1['sheets-pivot.dateGroup.month'];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x25e)]:_0x169894=_0x3d0fb1['sheets-pivot.dateGroup.quarter'];break;case _0x2d316f['PivotDateGroupFieldDateTypeEnum']['Date']:_0x169894=_0x3d0fb1[_0x1f0422(0xdd)];break;case _0x2d316f['PivotDateGroupFieldDateTypeEnum'][_0x1f0422(0x21a)]:_0x169894=_0x3d0fb1[_0x1f0422(0x154)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x2f9)]:_0x169894=_0x3d0fb1[_0x1f0422(0x352)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0xce)]:_0x169894=_0x3d0fb1[_0x1f0422(0xf4)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x1a5)]:_0x169894=_0x3d0fb1[_0x1f0422(0x22c)];break;case _0x2d316f[_0x1f0422(0x286)][_0x1f0422(0x2dd)]:_0x169894=_0x3d0fb1[_0x1f0422(0x337)];break;default:_0x169894='';break;}return _0x169894;}const _0x242464='sheets-pivot.config',_0x2ae668={};var _0x47c21a=Object['getOwnPropertyDescriptor'],_0x100cf4=(_0x313da0,_0x4acdb0,_0x7bf8f9,_0x3d4c62)=>{const _0x2a1d01=_0x49f7c3;for(var _0x393776=_0x3d4c62>0x1?void 0x0:_0x3d4c62?_0x47c21a(_0x4acdb0,_0x7bf8f9):_0x4acdb0,_0x56027d=_0x313da0[_0x2a1d01(0x264)]-0x1,_0x495e04;_0x56027d>=0x0;_0x56027d--)(_0x495e04=_0x313da0[_0x56027d])&&(_0x393776=_0x495e04(_0x393776)||_0x393776);return _0x393776;},_0x10251b=(_0x35540c,_0x2e9f5b)=>(_0x5662f6,_0x20a39f)=>_0x2e9f5b(_0x5662f6,_0x20a39f,_0x35540c);_0x237829[_0x49f7c3(0x3ae)]=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x2cec1e,_0x42cbee,_0x3ec782,_0x57209a,_0x43d1ed){const _0x42feb9=_0x49f7c3;super(),_0x2a34b8(this,_0x42feb9(0xfc),new Map()),_0x2a34b8(this,'_collectionConfigModel',new Map()),_0x2a34b8(this,'_pivotTableRangeInfo',new Map()),_0x2a34b8(this,_0x42feb9(0x3d8),new Map()),_0x2a34b8(this,_0x42feb9(0x2b4),new _0x2c0848[(_0x42feb9(0x31c))]()),_0x2a34b8(this,_0x42feb9(0x381),new _0x2c0848[(_0x42feb9(0x31c))]()),_0x2a34b8(this,_0x42feb9(0x1cb),this[_0x42feb9(0x381)]['asObservable']()),_0x2a34b8(this,'_pivotConfigChange$',new _0x2c0848[(_0x42feb9(0x31c))]()),_0x2a34b8(this,_0x42feb9(0x3b4),this['_pivotConfigChange$'][_0x42feb9(0x105)]()),_0x2a34b8(this,_0x42feb9(0x28d),{}),_0x2a34b8(this,'configVersion$',this[_0x42feb9(0x2b4)][_0x42feb9(0x105)]()),(this[_0x42feb9(0x199)]=_0x2cec1e,this[_0x42feb9(0x32c)]=_0x42cbee,this['_univerInstanceService']=_0x3ec782,this[_0x42feb9(0x1c1)]=_0x57209a,this[_0x42feb9(0x25b)]=_0x43d1ed,this['_initLocale'](),this['_initUnitDisposed']());const _0xf316e2=this[_0x42feb9(0x25b)][_0x42feb9(0x1df)](_0x242464);(_0xf316e2==null?void 0x0:_0xf316e2[_0x42feb9(0x30a)])===!0x0&&this[_0x42feb9(0x1bd)]();}[_0x49f7c3(0x36b)](){const _0x366907=_0x49f7c3;this[_0x366907(0x3dd)](this['_univerInstanceService'][_0x366907(0x159)](_0x369ce1[_0x366907(0x3ab)][_0x366907(0x234)])[_0x366907(0x163)](_0x481445=>{const _0x17e550=_0x366907;this[_0x17e550(0x3f1)](_0x481445[_0x17e550(0x33e)]());}));}[_0x49f7c3(0x13c)](){const _0xfac7b6=_0x49f7c3;this['_pivotInitCompleted$'][_0xfac7b6(0x21c)](!0x0);}[_0x49f7c3(0x344)](){const _0x460062=_0x49f7c3,_0x5a569e=_0x1eaaf6(this[_0x460062(0x199)],_0x5a6c8d,'',{});this[_0x460062(0x28d)]=_0x5a569e,this['_commandService']['executeCommand'](_0x59c387['id'],{'textInfo':_0x5a569e},{'onlyLocal':!0x0});}[_0x49f7c3(0x260)](){const _0x50b9b8=_0x49f7c3;return this[_0x50b9b8(0x28d)];}[_0x49f7c3(0x3b5)](_0x1a2ad9,_0xb287d,_0x1ee233,_0x223318,_0x491892){const _0x1834cf=_0x49f7c3;this[_0x1834cf(0x36a)](_0x1a2ad9,_0xb287d,_0x1ee233,_0x223318),this[_0x1834cf(0x3e7)](_0x1a2ad9,_0xb287d,_0x1ee233,_0x491892);}[_0x49f7c3(0x362)](_0x345bb1,_0x461663,_0x35137b){const _0x1ad1f2=_0x49f7c3;var _0x1ecb8f;const _0x3bd7da=(_0x1ecb8f=this[_0x1ad1f2(0xfc)][_0x1ad1f2(0x392)](_0x345bb1))==null?void 0x0:_0x1ecb8f['get'](_0x461663);if(_0x3bd7da)return _0x3bd7da['get'](_0x35137b);}[_0x49f7c3(0x325)](_0x4fb913,_0x164d4f){const _0x2a4896=_0x49f7c3,_0x29b208=this[_0x2a4896(0xfc)][_0x2a4896(0x392)](_0x4fb913);if(_0x29b208){for(const [_0x1b8f27,_0x12c694]of _0x29b208[_0x2a4896(0x21d)]())for(const [_0x4c3bdd,_0xf9fbee]of _0x12c694[_0x2a4896(0x21d)]())if(_0x4c3bdd===_0x164d4f)return _0xf9fbee[_0x2a4896(0xf9)];}}['getTargetByPivotId'](_0x44dbff,_0x215469,_0x3feabc){const _0x39d41a=_0x49f7c3,_0x41b7a9=this[_0x39d41a(0x362)](_0x44dbff,_0x215469,_0x3feabc);return _0x41b7a9==null?void 0x0:_0x41b7a9[_0x39d41a(0xf9)];}[_0x49f7c3(0x200)](_0x19dd0d,_0x3cd371){const _0x5e646a=_0x49f7c3;var _0x22aa09;return(_0x22aa09=this[_0x5e646a(0xfc)][_0x5e646a(0x392)](_0x19dd0d))==null?void 0x0:_0x22aa09[_0x5e646a(0x392)](_0x3cd371);}['updateConfigCache'](_0xa7a1e8,_0x122dbf,_0x3aae1b,_0x427393){const _0x932dda=_0x49f7c3,_0x4904af=this[_0x932dda(0x304)](_0xa7a1e8,_0x122dbf);_0x427393?_0x4904af[_0x932dda(0x1aa)](_0x3aae1b,_0x427393):_0x4904af['delete'](_0x3aae1b),this[_0x932dda(0x232)][_0x932dda(0x21c)]({'unitId':_0xa7a1e8,'subUnitId':_0x122dbf,'pivotTableId':_0x3aae1b,'pivotTableConfig':_0x427393});}['getCollection'](_0xb6b5bf,_0x127ed1){const _0x9a1d7c=_0x49f7c3;var _0x1129a8;return(_0x1129a8=this[_0x9a1d7c(0x3c1)][_0x9a1d7c(0x392)](_0xb6b5bf))==null?void 0x0:_0x1129a8[_0x9a1d7c(0x15e)][_0x127ed1];}[_0x49f7c3(0x3f5)](_0x215137,_0x5dd553){const _0x15e851=_0x49f7c3;this[_0x15e851(0x3c1)]['set'](_0x215137,_0x5dd553),this[_0x15e851(0x2b4)][_0x15e851(0x21c)](Math['random']());}['_ensurePivotMap'](_0x298847,_0x2d60f2){const _0x4bf212=_0x49f7c3;let _0xde33ea=this[_0x4bf212(0xfc)]['get'](_0x298847);_0xde33ea||(_0xde33ea=new Map(),this[_0x4bf212(0xfc)][_0x4bf212(0x1aa)](_0x298847,_0xde33ea));let _0x55af3e=_0xde33ea['get'](_0x2d60f2);return _0x55af3e||(_0x55af3e=new Map(),_0xde33ea[_0x4bf212(0x1aa)](_0x2d60f2,_0x55af3e)),_0x55af3e;}['_ensurePivotTableRangeInfo'](_0x5c4ebc,_0x4f701a){const _0x4f8172=_0x49f7c3;let _0x179e0f=this[_0x4f8172(0x377)][_0x4f8172(0x392)](_0x5c4ebc);_0x179e0f||(_0x179e0f=new Map(),this['_pivotTableRangeInfo'][_0x4f8172(0x1aa)](_0x5c4ebc,_0x179e0f));let _0x541130=_0x179e0f[_0x4f8172(0x392)](_0x4f701a);return _0x541130||(_0x541130=new Map(),_0x179e0f[_0x4f8172(0x1aa)](_0x4f701a,_0x541130)),_0x541130;}[_0x49f7c3(0x3bf)](_0x198334,_0xd35303){const _0x1e8907=_0x49f7c3;let _0x5e2286=this['_pivotTableMatrixInfo'][_0x1e8907(0x392)](_0x198334);_0x5e2286||(_0x5e2286=new Map(),this[_0x1e8907(0x3d8)][_0x1e8907(0x1aa)](_0x198334,_0x5e2286));let _0x4e57fa=_0x5e2286[_0x1e8907(0x392)](_0xd35303);return _0x4e57fa||(_0x4e57fa=new Map(),_0x5e2286[_0x1e8907(0x1aa)](_0xd35303,_0x4e57fa)),_0x4e57fa;}[_0x49f7c3(0x3e7)](_0x420b17,_0x20e44e,_0x2c8ba9,_0xbe460c){const _0x5f0bba=_0x49f7c3;var _0x1bd67e;const _0x53432b=this['_ensurePivotTableRangeInfo'](_0x420b17,_0x20e44e),_0x1685b3=(_0x1bd67e=_0x53432b[_0x5f0bba(0x392)](_0x2c8ba9))==null?void 0x0:_0x1bd67e[_0x5f0bba(0x35e)];_0x53432b[_0x5f0bba(0x1aa)](_0x2c8ba9,{'oldRangeInfo':_0x1685b3,'rangeInfo':_0xbe460c});}[_0x49f7c3(0x36a)](_0x448f7e,_0x3a8200,_0x3d74ff,_0x151483){const _0x8a9d6c=_0x49f7c3;var _0x2cbe9b;const _0x4646d5=this[_0x8a9d6c(0x3bf)](_0x448f7e,_0x3a8200),_0x327d6d=(_0x2cbe9b=_0x4646d5[_0x8a9d6c(0x392)](_0x3d74ff))==null?void 0x0:_0x2cbe9b[_0x8a9d6c(0x3a3)];_0x4646d5[_0x8a9d6c(0x1aa)](_0x3d74ff,{'oldMatrix':_0x327d6d,'matrix':_0x151483});}['getPivotTableRangeInfo'](_0x29c750,_0x49086c,_0x323be9){const _0x8a1b58=_0x49f7c3;var _0x2404f3,_0x2eaa43;return(_0x2eaa43=(_0x2404f3=this[_0x8a1b58(0x377)][_0x8a1b58(0x392)](_0x29c750))==null?void 0x0:_0x2404f3[_0x8a1b58(0x392)](_0x49086c))==null?void 0x0:_0x2eaa43[_0x8a1b58(0x392)](_0x323be9);}[_0x49f7c3(0x333)](_0x134aaa,_0x5a7711,_0x4c4dbc){const _0xc9cdca=_0x49f7c3;var _0x463f43,_0x5054b3;return(_0x5054b3=(_0x463f43=this[_0xc9cdca(0x3d8)][_0xc9cdca(0x392)](_0x134aaa))==null?void 0x0:_0x463f43[_0xc9cdca(0x392)](_0x5a7711))==null?void 0x0:_0x5054b3['get'](_0x4c4dbc);}[_0x49f7c3(0x3f1)](_0x1c0238){const _0x1142a1=_0x49f7c3;this[_0x1142a1(0xfc)][_0x1142a1(0x223)](_0x1c0238),this[_0x1142a1(0x3c1)]['delete'](_0x1c0238);}[_0x49f7c3(0x197)](_0x519f9d){const _0x5cdff9=_0x49f7c3,_0x3c6a31={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5cdff9(0x3c1)]['get'](_0x519f9d)&&(_0x3c6a31[_0x5cdff9(0xea)][_0x519f9d]=this[_0x5cdff9(0x3c1)][_0x5cdff9(0x392)](_0x519f9d)),this[_0x5cdff9(0xfc)][_0x5cdff9(0x392)](_0x519f9d)){_0x3c6a31[_0x5cdff9(0x312)][_0x519f9d]={};const _0x4e8c25=this[_0x5cdff9(0xfc)][_0x5cdff9(0x392)](_0x519f9d);_0x4e8c25!=null&&_0x4e8c25[_0x5cdff9(0x390)]&&[..._0x4e8c25[_0x5cdff9(0x3e2)]()][_0x5cdff9(0x10a)](_0x4fa333=>{const _0x2f6f46=_0x5cdff9,_0xe5002a=_0x4e8c25[_0x2f6f46(0x392)](_0x4fa333);_0xe5002a!=null&&_0xe5002a['size']&&(_0x3c6a31[_0x2f6f46(0x312)][_0x519f9d][_0x4fa333]={},[..._0xe5002a[_0x2f6f46(0x3e2)]()]['forEach'](_0x5a9364=>{const _0x6cbc75=_0x2f6f46,_0x43aeaa=_0xe5002a['get'](_0x5a9364);_0x43aeaa&&(_0x3c6a31[_0x6cbc75(0x312)][_0x519f9d][_0x4fa333][_0x5a9364]=_0x43aeaa);}));});}return _0x3c6a31;}[_0x49f7c3(0x1bd)](){const _0x2bdd87=_0x49f7c3;this[_0x2bdd87(0x3dd)](this['_resourceManagerService'][_0x2bdd87(0x356)]({'toJson':_0x34b279=>JSON[_0x2bdd87(0x3e6)](this[_0x2bdd87(0x197)](_0x34b279)),'parseJson':_0x4ea048=>({}),'businesses':[_0x369ce1[_0x2bdd87(0x3ab)][_0x2bdd87(0x234)]],'pluginName':_0x294572,'onLoad':(_0x5086b1,_0x15c19b)=>{},'onUnLoad':_0x104373=>{const _0x6a616a=_0x2bdd87;this[_0x6a616a(0x3f1)](_0x104373);}}));}},_0x237829['SheetsPivotTableConfigModel']=_0x100cf4([_0x10251b(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)])),_0x10251b(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x1f2)])),_0x10251b(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x389)])),_0x10251b(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x2dc)])),_0x10251b(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['IConfigService']))],_0x237829[_0x49f7c3(0x3ae)]);var _0x207fcb=Object[_0x49f7c3(0x1cd)],_0x4bb45c=(_0x5a3129,_0x4964c1,_0x3dc0cc,_0x5249e9)=>{for(var _0x337e31=_0x5249e9>0x1?void 0x0:_0x5249e9?_0x207fcb(_0x4964c1,_0x3dc0cc):_0x4964c1,_0x350934=_0x5a3129['length']-0x1,_0x326ac4;_0x350934>=0x0;_0x350934--)(_0x326ac4=_0x5a3129[_0x350934])&&(_0x337e31=_0x326ac4(_0x337e31)||_0x337e31);return _0x337e31;},_0x214e46=(_0x4592bd,_0x4e69a7)=>(_0x47cff5,_0x5ec825)=>_0x4e69a7(_0x47cff5,_0x5ec825,_0x4592bd);_0x237829['SheetsPivotTableAdaptorModel']=class extends _0x369ce1['Disposable']{constructor(_0x429dcb,_0x25b5b4,_0x263fb1,_0x5a70df,_0x2f8b4f){const _0x4aaddb=_0x49f7c3;super(),_0x2a34b8(this,_0x4aaddb(0x3c2),new Map()),_0x2a34b8(this,'_pivotRenderValueMatrixCache',new Map()),_0x2a34b8(this,'_markDirty$',new _0x2c0848['Subject']()),_0x2a34b8(this,_0x4aaddb(0xda),this[_0x4aaddb(0x2e4)][_0x4aaddb(0x105)]()),_0x2a34b8(this,_0x4aaddb(0x3e0),new _0x2c0848[(_0x4aaddb(0x31c))]()),_0x2a34b8(this,_0x4aaddb(0x19e),this['_viewUpdate$'][_0x4aaddb(0x105)]()),_0x2a34b8(this,_0x4aaddb(0x28d)),(this[_0x4aaddb(0x123)]=_0x429dcb,this[_0x4aaddb(0x199)]=_0x25b5b4,this[_0x4aaddb(0x1fa)]=_0x263fb1,this[_0x4aaddb(0x3a4)]=_0x5a70df,this[_0x4aaddb(0x39d)]=_0x2f8b4f,this[_0x4aaddb(0x344)](),this['_initUnitDisposed']());}[_0x49f7c3(0x36b)](){const _0x6c6970=_0x49f7c3;this['disposeWithMe'](this[_0x6c6970(0x3a4)][_0x6c6970(0x159)](_0x369ce1[_0x6c6970(0x3ab)][_0x6c6970(0x234)])[_0x6c6970(0x163)](_0x54eff3=>{const _0x2dd333=_0x6c6970;this[_0x2dd333(0x3f1)](_0x54eff3[_0x2dd333(0x33e)]());}));}[_0x49f7c3(0x344)](){const _0x3d2d62=_0x49f7c3;this[_0x3d2d62(0x28d)]=_0x1eaaf6(this[_0x3d2d62(0x199)],_0x5a6c8d,'',{});}[_0x49f7c3(0x34e)](_0x322ff4){const _0x26ca81=_0x49f7c3,{view:_0xbc3b04,unitId:_0x460802,subUnitId:_0x808198,pivotTableId:_0x1c9e91,type:_0x49c218}=_0x322ff4,_0x5442fd=this['_sheetsPivotTableConfigModel'][_0x26ca81(0x362)](_0x460802,_0x808198,_0x1c9e91);if(!_0xbc3b04||!_0x5442fd||_0x49c218===_0x48b491[_0x26ca81(0x2f7)])return;const {pageView:_0x5ea874,cornerView:_0x20fb5,rowView:_0xdeb6c2,colView:_0x273a62,dataView:_0x48fd4e}=_0xbc3b04,_0x36fb94=_0x5442fd[_0x26ca81(0xf9)],_0x1e10e8=_0x5442fd[_0x26ca81(0x14a)],_0x18c389=this[_0x26ca81(0x2e9)](_0x460802,_0x808198),_0x2d05fb=this[_0x26ca81(0x23a)](_0x460802,_0x808198,_0x1c9e91);if(_0x1e10e8)return this[_0x26ca81(0x101)](_0x322ff4,_0x18c389,_0x36fb94,_0x2d05fb);{const _0x3d5b69=_0x485549(_0x36fb94,_0x5ea874,!0x0),_0x577fcf=_0x5ea874[_0x26ca81(0x129)]>=0x0?_0x5ea874['lastRow']+0x1:0x0,_0x3e0920=_0x20fb5[_0x26ca81(0x268)](),_0x10b34a=_0x20fb5['getColCount'](),_0x22ef7f=_0x3d5b69['length']>0x0?_0x523b9d:0x0,_0x1a35a5=_0x485549({'row':_0x36fb94[_0x26ca81(0x27d)]+_0x577fcf+_0x22ef7f,'col':_0x36fb94['col']},_0x20fb5,!0x1,!0x1),_0x25df0a=_0x485549({'row':_0x36fb94['row']+_0x577fcf+_0x22ef7f+_0x3e0920,'col':_0x36fb94[_0x26ca81(0x2d3)]},_0xdeb6c2,!0x1,!0x0),_0x3711c2=_0x485549({'row':_0x36fb94[_0x26ca81(0x27d)]+_0x577fcf+_0x22ef7f,'col':_0x36fb94[_0x26ca81(0x2d3)]+_0x10b34a},_0x273a62,!0x1,!0x0),_0x3d4527=_0x485549({'row':_0x36fb94['row']+_0x577fcf+_0x22ef7f+_0x3e0920,'col':_0x36fb94[_0x26ca81(0x2d3)]+_0x10b34a},_0x48fd4e,!0x1,!0x1);_0x2d05fb[_0x26ca81(0x2e6)]={'rowRanges':_0x25df0a,'colRanges':_0x3711c2,'cornerRanges':_0x1a35a5,'dataRanges':_0x3d4527,'pageRanges':_0x3d5b69};const _0x40b8f3=_0x2df028(this[_0x26ca81(0x199)],_0xbc3b04,_0x5442fd,this[_0x26ca81(0x28d)]),{valueMatrix:_0x3b7214,rowInfo:_0x5965f9,colInfo:_0x53a49a,cornerInfo:_0x2b712f,rowHeaderMap:_0x1bce99,colHeaderMap:_0x2fab2f}=_0x40b8f3;return _0x2d05fb[_0x26ca81(0x142)]={'rowInfo':_0x5965f9,'colInfo':_0x53a49a,'cornerInfo':_0x2b712f},_0x2d05fb[_0x26ca81(0x303)]={'rowHeaderMap':_0x1bce99,'colHeaderMap':_0x2fab2f},_0x3b7214['forEach']((_0x11f41e,_0x15ce99)=>{const _0x5ad76c=_0x26ca81;Object[_0x5ad76c(0x3e2)](_0x15ce99)[_0x5ad76c(0x10a)](_0x1029a3=>{const _0xec1f88=_0x5ad76c,_0x51f891=+_0x1029a3,_0x327498=_0x3b7214['getValue'](_0x11f41e,_0x51f891);_0x18c389[_0xec1f88(0x1e4)](_0x11f41e,_0x51f891,_0x327498);});}),this[_0x26ca81(0x3e0)]['next']({'unitId':_0x460802,'subUnitId':_0x808198,'valueMatrix':_0x18c389,'rangesCache':_0x2d05fb['rangesInfo'],'pivotTableId':_0x1c9e91,'type':_0x322ff4[_0x26ca81(0x2d0)]}),this[_0x26ca81(0x1fa)][_0x26ca81(0x3b5)](_0x460802,_0x808198,_0x1c9e91,_0x18c389,_0x2d05fb[_0x26ca81(0x2e6)]),this[_0x26ca81(0x39d)][_0x26ca81(0x295)](_0x460802,_0x808198,_0x4b1e68,this['_createExclusiveRange'](_0x2d05fb['rangesInfo'],_0x1c9e91)),{'rangeCache':_0x2d05fb[_0x26ca81(0x2e6)],'matrix':_0x18c389};}}[_0x49f7c3(0x101)](_0xe7178f,_0x2bbb33,_0x2d3c3e,_0x3dd1ad){const _0x4f1476=_0x49f7c3,_0x4e84ac=this[_0x4f1476(0x123)]['t'],{unitId:_0x5cb88c,subUnitId:_0x5c5d5f,pivotTableId:_0x24d33b}=_0xe7178f,_0x234074={'filter':_0x4e84ac('sheets-pivot.emptyPivot.filter'),'row':_0x4e84ac(_0x4f1476(0x1ee)),'column':_0x4e84ac(_0x4f1476(0x2fc)),'values':_0x4e84ac(_0x4f1476(0xe9))},{matrixCache:_0x2c40e1,rangesCache:_0x317025}=_0x322dd5(_0x234074,_0x2d3c3e);return _0x2c40e1[_0x4f1476(0x103)]((_0x54733c,_0x5c6700,_0x3f4fe0)=>{const _0x7a1c13=_0x4f1476;_0x2bbb33[_0x7a1c13(0x1e4)](_0x54733c,_0x5c6700,_0x3f4fe0);}),_0x3dd1ad['rangesInfo']=_0x317025,this[_0x4f1476(0x3e0)][_0x4f1476(0x21c)]({'unitId':_0x5cb88c,'subUnitId':_0x5c5d5f,'valueMatrix':_0x2bbb33,'rangesCache':_0x317025,'pivotTableId':_0x24d33b,'type':_0xe7178f[_0x4f1476(0x2d0)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x4f1476(0x3b5)](_0x5cb88c,_0x5c5d5f,_0x24d33b,_0x2bbb33,_0x317025),this[_0x4f1476(0x39d)][_0x4f1476(0x295)](_0x5cb88c,_0x5c5d5f,_0x4b1e68,this['_createExclusiveRange'](_0x317025,_0x24d33b)),{'rangeCache':_0x3dd1ad[_0x4f1476(0x2e6)],'matrix':_0x2bbb33};}[_0x49f7c3(0x143)](_0x2bee14,_0x276507){const _0x36d843=_0x49f7c3,_0x463199=[],_0x4f6f07=_0x2652bb(_0x2bee14);for(const _0x432f64 of _0x4f6f07)_0x463199[_0x36d843(0x3d4)]({'groupId':_0x276507,'range':_0x432f64});return _0x463199;}[_0x49f7c3(0x236)](_0x344331){const _0x45ffe2=_0x49f7c3;var _0x532061,_0x5f938e,_0x306af6,_0x285c17;const {pivotTableId:_0x3a892d,unitId:_0x47461b,subUnitId:_0x552792}=_0x344331;if(!_0x3a892d||!_0x47461b||!_0x552792)return;const _0x393fc7=this['_ensurePivotItemRenderValueMatrixCache'](_0x47461b,_0x552792),_0x1922a8=(_0x5f938e=(_0x532061=this[_0x45ffe2(0x3c2)]['get'](_0x47461b))==null?void 0x0:_0x532061[_0x45ffe2(0x392)](_0x552792))==null?void 0x0:_0x5f938e[_0x45ffe2(0x392)](_0x3a892d);if(_0x1922a8!=null&&_0x1922a8[_0x45ffe2(0x2e6)]){for(const _0x1bf1b1 of Object[_0x45ffe2(0x3e2)](_0x1922a8['rangesInfo']))_0x1922a8[_0x45ffe2(0x2e6)][_0x1bf1b1][_0x45ffe2(0x10a)](_0x23b459=>{const _0xfdf12d=_0x45ffe2;for(let _0x592160=_0x23b459['startRow'];_0x592160<=_0x23b459[_0xfdf12d(0x1bf)];_0x592160++)for(let _0x29e314=_0x23b459[_0xfdf12d(0xfd)];_0x29e314<=_0x23b459[_0xfdf12d(0x12b)];_0x29e314++)_0x393fc7[_0xfdf12d(0x3cf)](_0x592160,_0x29e314);});}_0x1922a8&&((_0x285c17=(_0x306af6=this[_0x45ffe2(0x3c2)]['get'](_0x47461b))==null?void 0x0:_0x306af6[_0x45ffe2(0x392)](_0x552792))==null||_0x285c17[_0x45ffe2(0x223)](_0x3a892d)),this[_0x45ffe2(0x3e0)][_0x45ffe2(0x21c)]({'unitId':_0x47461b,'subUnitId':_0x552792,'valueMatrix':_0x393fc7,'pivotTableId':_0x3a892d,'rangesCache':void 0x0,'type':_0x344331[_0x45ffe2(0x2d0)]}),this[_0x45ffe2(0x39d)][_0x45ffe2(0x3c3)](_0x47461b,_0x552792,_0x4b1e68,_0x3a892d);}[_0x49f7c3(0x23a)](_0x1defc4,_0x2f9971,_0x988bbc){const _0x3d5889=_0x49f7c3;var _0x524472,_0x57ed24,_0x765d8d,_0x513c72,_0x1b03e8,_0x3136d1;return this['_pivotRenderInfoCache'][_0x3d5889(0x1e8)](_0x1defc4)||this[_0x3d5889(0x3c2)]['set'](_0x1defc4,new Map()),(_0x524472=this[_0x3d5889(0x3c2)][_0x3d5889(0x392)](_0x1defc4))!=null&&_0x524472[_0x3d5889(0x1e8)](_0x2f9971)||(_0x57ed24=this['_pivotRenderInfoCache'][_0x3d5889(0x392)](_0x1defc4))==null||_0x57ed24[_0x3d5889(0x1aa)](_0x2f9971,new Map()),(_0x513c72=(_0x765d8d=this[_0x3d5889(0x3c2)]['get'](_0x1defc4))==null?void 0x0:_0x765d8d[_0x3d5889(0x392)](_0x2f9971))!=null&&_0x513c72[_0x3d5889(0x1e8)](_0x988bbc)||(_0x3136d1=(_0x1b03e8=this[_0x3d5889(0x3c2)][_0x3d5889(0x392)](_0x1defc4))==null?void 0x0:_0x1b03e8[_0x3d5889(0x392)](_0x2f9971))==null||_0x3136d1[_0x3d5889(0x1aa)](_0x988bbc,{}),this[_0x3d5889(0x3c2)][_0x3d5889(0x392)](_0x1defc4)[_0x3d5889(0x392)](_0x2f9971)[_0x3d5889(0x392)](_0x988bbc);}[_0x49f7c3(0x2e9)](_0x2ef6c6,_0x65556b){const _0x2d2d2e=_0x49f7c3;var _0xea873c,_0x405721;return this[_0x2d2d2e(0x1a8)][_0x2d2d2e(0x1e8)](_0x2ef6c6)||this['_pivotRenderValueMatrixCache'][_0x2d2d2e(0x1aa)](_0x2ef6c6,new Map()),(_0xea873c=this[_0x2d2d2e(0x1a8)]['get'](_0x2ef6c6))!=null&&_0xea873c[_0x2d2d2e(0x1e8)](_0x65556b)||(_0x405721=this[_0x2d2d2e(0x1a8)][_0x2d2d2e(0x392)](_0x2ef6c6))==null||_0x405721[_0x2d2d2e(0x1aa)](_0x65556b,new _0x369ce1[(_0x2d2d2e(0x2bf))]()),this[_0x2d2d2e(0x1a8)][_0x2d2d2e(0x392)](_0x2ef6c6)['get'](_0x65556b);}[_0x49f7c3(0x222)](_0xed51fe,_0x1d41e1,_0x5abde0,_0xe8983f){const _0x3e02cd=_0x49f7c3;var _0x688b42,_0x3f4101;const _0x5e1ee5=(_0x3f4101=(_0x688b42=this[_0x3e02cd(0x1a8)]['get'](_0xed51fe))==null?void 0x0:_0x688b42[_0x3e02cd(0x392)](_0x1d41e1))==null?void 0x0:_0x3f4101[_0x3e02cd(0x1a0)](_0x5abde0,_0xe8983f);if(_0x5e1ee5!=null)return _0x5e1ee5;}[_0x49f7c3(0xec)](_0x57f56d,_0x2a32ef,_0x27ba58,_0x44beba){const _0x416b42=_0x49f7c3;var _0x14b1d8;const _0x5e518c=_0x369ce1[_0x416b42(0x102)](_0x27ba58,_0x44beba),_0x41b478=(_0x14b1d8=this[_0x416b42(0x3c2)][_0x416b42(0x392)](_0x57f56d))==null?void 0x0:_0x14b1d8['get'](_0x2a32ef);return _0x41b478?Array['from'](_0x41b478[_0x416b42(0x3e2)]())['find'](_0x15fff4=>{const _0x5d1b7c=_0x416b42,_0x5e9fad=_0x41b478[_0x5d1b7c(0x392)](_0x15fff4),_0x528f84=_0x5e9fad==null?void 0x0:_0x5e9fad[_0x5d1b7c(0x2e6)];return _0x528f84?Object[_0x5d1b7c(0x3e2)](_0x528f84)[_0x5d1b7c(0x172)](_0x38633a=>_0x528f84[_0x38633a]['some'](_0x5f0ea6=>_0x369ce1[_0x5d1b7c(0x32a)][_0x5d1b7c(0x1f0)](_0x5f0ea6,_0x5e518c))):!0x1;}):void 0x0;}[_0x49f7c3(0x21b)](_0x8982f4,_0x12ac82,_0x54d2c0){const _0x5ab480=_0x49f7c3;var _0xb4bac6;const _0x2420f4=(_0xb4bac6=this['_pivotRenderInfoCache'][_0x5ab480(0x392)](_0x8982f4))==null?void 0x0:_0xb4bac6[_0x5ab480(0x392)](_0x12ac82),_0x54871c=[];return _0x2420f4&&Array['from'](_0x2420f4['keys']())[_0x5ab480(0x10a)](_0x555d09=>{const _0x41e476=_0x5ab480,_0x383108=_0x2420f4[_0x41e476(0x392)](_0x555d09),_0x5f49c9=_0x383108==null?void 0x0:_0x383108[_0x41e476(0x2e6)];if(_0x5f49c9)for(const _0x2fb998 of Object[_0x41e476(0x3a7)](_0x5f49c9)){let _0x5678a6=!0x1;for(const _0x14b617 of _0x2fb998)if(_0x369ce1[_0x41e476(0x32a)][_0x41e476(0xe7)](_0x14b617,_0x54d2c0)){_0x54871c['push'](_0x555d09),_0x5678a6=!0x0;break;}if(_0x5678a6)break;}}),_0x54871c;}[_0x49f7c3(0x3d3)](_0xf1aa13,_0x5bd1e5){const _0x4137fe=_0x49f7c3;var _0x69690a,_0x3879df;return(_0x3879df=(_0x69690a=this[_0x4137fe(0x1a8)][_0x4137fe(0x392)](_0xf1aa13))==null?void 0x0:_0x69690a['get'](_0x5bd1e5))!=null?_0x3879df:new _0x369ce1[(_0x4137fe(0x2bf))]();}[_0x49f7c3(0x147)](_0x1177a5,_0x1bcd50){const _0x3a1ab2=_0x49f7c3;var _0x5e413b;return(_0x5e413b=this['_pivotRenderInfoCache'][_0x3a1ab2(0x392)](_0x1177a5))==null?void 0x0:_0x5e413b[_0x3a1ab2(0x392)](_0x1bcd50);}['getPivotItemRenderInfoCache'](_0x17611e,_0x175598,_0xac57f0){const _0x1bd68e=_0x49f7c3;var _0x582284,_0x2aa590;return(_0x2aa590=(_0x582284=this[_0x1bd68e(0x3c2)]['get'](_0x17611e))==null?void 0x0:_0x582284[_0x1bd68e(0x392)](_0x175598))==null?void 0x0:_0x2aa590[_0x1bd68e(0x392)](_0xac57f0);}[_0x49f7c3(0x3f1)](_0x2f51a7){const _0x37299a=_0x49f7c3;this['_pivotRenderInfoCache'][_0x37299a(0x223)](_0x2f51a7),this[_0x37299a(0x1a8)][_0x37299a(0x223)](_0x2f51a7);}[_0x49f7c3(0xf2)](_0x53e93e,_0x352287){const _0x2851ec=_0x49f7c3;this[_0x2851ec(0x2e4)][_0x2851ec(0x21c)]({'unitId':_0x53e93e,'subUnitId':_0x352287});}},_0x237829[_0x49f7c3(0x10d)]=_0x4bb45c([_0x214e46(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x18e)])),_0x214e46(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)])),_0x214e46(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829['SheetsPivotTableConfigModel'])),_0x214e46(0x3,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x389)])),_0x214e46(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x3cc)]))],_0x237829[_0x49f7c3(0x10d)]);var _0x1faaf0=Object['getOwnPropertyDescriptor'],_0x48683e=(_0x2ec09a,_0x4d48f2,_0x2db359,_0x238f3c)=>{const _0x18765d=_0x49f7c3;for(var _0x4e0d8d=_0x238f3c>0x1?void 0x0:_0x238f3c?_0x1faaf0(_0x4d48f2,_0x2db359):_0x4d48f2,_0x54283f=_0x2ec09a[_0x18765d(0x264)]-0x1,_0xc7a447;_0x54283f>=0x0;_0x54283f--)(_0xc7a447=_0x2ec09a[_0x54283f])&&(_0x4e0d8d=_0xc7a447(_0x4e0d8d)||_0x4e0d8d);return _0x4e0d8d;},_0x13463c=(_0x238741,_0x4d96b5)=>(_0x22af5a,_0x291c57)=>_0x4d96b5(_0x22af5a,_0x291c57,_0x238741);_0x237829[_0x49f7c3(0x14b)]=class extends _0x369ce1['Disposable']{constructor(_0x1bb8d0,_0x365190){const _0x57885c=_0x49f7c3;super(),_0x2a34b8(this,'asyncInterceptor',new _0x369ce1[(_0x57885c(0xee))]({'PIVOT_PERFORM_CHECK':_0x2f016b})),_0x2a34b8(this,'interceptor',new _0x369ce1[(_0x57885c(0x17a))]({'PIVOT_MUTATION_GENERATE':_0x54cb75})),(this[_0x57885c(0xf5)]=_0x1bb8d0,this[_0x57885c(0x3ba)]=_0x365190,this[_0x57885c(0x38b)]());}[_0x49f7c3(0x38b)](){this['_initViewModelBySheetInterceptor']();}[_0x49f7c3(0x3d5)](_0x4758a6){const _0x130be2=_0x49f7c3;return this['asyncInterceptor'][_0x130be2(0x175)](_0x2f016b)(!0x1,_0x4758a6);}['_initViewModelBySheetInterceptor'](){const _0x57a106=_0x49f7c3;this[_0x57a106(0x3dd)](this[_0x57a106(0xf5)][_0x57a106(0x149)](_0x298fdb[_0x57a106(0x151)][_0x57a106(0x374)],{'priority':0xc8,'effect':_0x369ce1[_0x57a106(0x220)]['Value']|_0x369ce1[_0x57a106(0x220)][_0x57a106(0x26e)],'handler':(_0x1dc212,_0x288caf,_0x13bd9f)=>{const _0x5446f1=_0x57a106,{row:_0x3d2348,col:_0x42efe,unitId:_0x3b7d5f,subUnitId:_0x38e195,workbook:_0x11deac}=_0x288caf,_0x28fd56=this['_sheetsPivotTableAdaptorModel'][_0x5446f1(0x222)](_0x3b7d5f,_0x38e195,_0x3d2348,_0x42efe);if(!_0x28fd56)return _0x13bd9f(_0x1dc212);const _0x18e218={..._0x1dc212};(_0x28fd56['v']||_0x28fd56['v']===0x0)&&(_0x18e218['v']=_0x28fd56['v']),_0x28fd56['t']&&(_0x18e218['t']=_0x28fd56['t']);const _0x1552f9=(typeof(_0x1dc212==null?void 0x0:_0x1dc212['s'])==_0x5446f1(0x302)?_0x11deac['getStyles']()[_0x5446f1(0x392)](_0x1dc212==null?void 0x0:_0x1dc212['s']):_0x1dc212==null?void 0x0:_0x1dc212['s'])||{},_0x1bef85=_0x11deac[_0x5446f1(0x106)]()[_0x5446f1(0x392)](_0x28fd56['s']),_0x507105={..._0x1bef85,..._0x1552f9};_0x1bef85!=null&&_0x1bef85['n']&&(_0x507105['n']=_0x1bef85['n']);const _0x49081b=_0x11deac['getStyles']()[_0x5446f1(0x1e4)](_0x507105);return _0x18e218['s']=_0x49081b,(_0x28fd56['pbt']===_0x2d316f[_0x5446f1(0x2f5)][_0x5446f1(0x2b3)]||_0x28fd56['pbt']===_0x2d316f['PivotCellStyleTypeEnum'][_0x5446f1(0x139)])&&(_0x18e218['fontRenderExtension']={},_0x18e218[_0x5446f1(0x205)][_0x5446f1(0x261)]=_0x2acfa5),_0x13bd9f(_0x18e218);}}));}},_0x237829[_0x49f7c3(0x14b)]=_0x48683e([_0x13463c(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x168)])),_0x13463c(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x10d)]))],_0x237829[_0x49f7c3(0x14b)]);const _0x56b84e={'id':_0x49f7c3(0x319),'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'handler':(_0x5d72bb,_0x495ce9)=>{const _0x1c983d=_0x49f7c3;if(!_0x495ce9)return!0x1;if(!!_0x5d72bb[_0x1c983d(0x392)](_0x369ce1['IConfigService'])[_0x1c983d(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x403ef3,fieldJSON:_0x1ec1cf,unitId:_0x2519e2,subUnitId:_0x58d7bc}=_0x495ce9;let _0x32c06c;const {dataFieldType:_0x90b1cb,id:_0x2faa11,name:_0x261a68,hexCode:_0x16adf9,originalFieldId:_0x1c2ab2}=_0x1ec1cf;if(_0x90b1cb===_0x2d316f[_0x1c983d(0x107)]['dateGroupField']&&(_0x32c06c=new _0x2d316f[(_0x1c983d(0x3b3))](_0x2faa11,_0x261a68,_0x16adf9,_0x1c2ab2)),!_0x32c06c)return!0x1;const _0x558fcd=_0x5d72bb['get'](_0x237829[_0x1c983d(0x188)]),_0x5e6629=_0x558fcd[_0x1c983d(0x1f1)](_0x2519e2),_0x1e9db3=_0x5e6629[_0x1c983d(0x1c5)](_0x403ef3);_0x5e6629[_0x1c983d(0x1ab)](_0x32c06c),_0x1e9db3[_0x1c983d(0x322)](_0x32c06c['getId'](),_0x32c06c[_0x1c983d(0x1a9)]());const _0x478d32=_0x1e9db3[_0x1c983d(0x2aa)](_0x32c06c[_0x1c983d(0x371)]());_0x478d32&&_0x32c06c['refreshGroupField'](_0x478d32);const _0x3adfc7=_0x558fcd[_0x1c983d(0x362)](_0x2519e2,_0x58d7bc,_0x403ef3);return _0x558fcd[_0x1c983d(0x23e)]({'unitId':_0x2519e2,'subUnitId':_0x58d7bc,'token':_0x403ef3,'type':_0x48b491['Set'],'pivotConfig':_0x3adfc7}),!0x0;}},_0x20c243={'id':_0x49f7c3(0x18b),'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'handler':(_0x1a7ead,_0x3e668d)=>{const _0x254e09=_0x49f7c3;if(!_0x3e668d)return!0x1;if(!!_0x1a7ead[_0x254e09(0x392)](_0x369ce1['IConfigService'])[_0x254e09(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x2902f8,dataFieldId:_0xc790e8,unitId:_0x5ecd0c,subUnitId:_0x26c21e}=_0x3e668d,_0x3ca0a1=_0x1a7ead[_0x254e09(0x392)](_0x237829[_0x254e09(0x188)]),_0x4a4860=_0x3ca0a1[_0x254e09(0x1f1)](_0x5ecd0c);_0x4a4860[_0x254e09(0x1c5)](_0x2902f8)['deleteField'](_0xc790e8);let _0x1de395=!0x0;for(const _0x23e0fe in _0x4a4860[_0x254e09(0x15e)])if(_0x4a4860[_0x254e09(0x15e)][_0x23e0fe][_0x254e09(0x277)]()[_0x254e09(0xff)](_0xc790e8)){_0x1de395=!0x1;break;}_0x1de395&&_0x4a4860[_0x254e09(0x195)](_0xc790e8);const _0xa50aca=_0x3ca0a1[_0x254e09(0x362)](_0x5ecd0c,_0x26c21e,_0x2902f8);return _0x3ca0a1[_0x254e09(0x23e)]({'unitId':_0x5ecd0c,'subUnitId':_0x26c21e,'token':_0x2902f8,'type':_0x48b491[_0x254e09(0x1e7)],'pivotConfig':_0xa50aca}),!0x0;}};function _0xe7c158(_0xca6ddf,_0x2596c3){const _0x3ced97=_0x49f7c3;switch(_0x2596c3){case _0x2d316f['PivotTableFiledAreaEnum'][_0x3ced97(0x30d)]:return _0xca6ddf['valueFields'];case _0x2d316f[_0x3ced97(0x137)][_0x3ced97(0x15c)]:return _0xca6ddf['filterFields'];case _0x2d316f[_0x3ced97(0x137)][_0x3ced97(0x1ba)]:return _0xca6ddf[_0x3ced97(0x3a6)];case _0x2d316f['PivotTableFiledAreaEnum'][_0x3ced97(0x10c)]:return _0xca6ddf[_0x3ced97(0x225)];default:return[];}}function _0xf6bf33(_0x211cbf,_0x374793){const _0x352806=_0x49f7c3;return _0x211cbf[_0x352806(0x126)][_0x374793]||_0x211cbf[_0x352806(0x26f)][_0x374793];}function _0x57f22f(_0x2e343c,_0x15fd58){const _0x59d6be=_0x49f7c3,{area:_0x2c4de6,fieldJson:_0x437a9a,index:_0x433adc}=_0x15fd58;_0x2c4de6===_0x2d316f[_0x59d6be(0x137)][_0x59d6be(0x30d)]?_0x2e343c[_0x59d6be(0x126)][_0x437a9a['id']]=_0x437a9a:_0x2e343c[_0x59d6be(0x26f)][_0x437a9a['id']]=_0x437a9a,_0xe7c158(_0x2e343c,_0x2c4de6)['splice'](_0x433adc,0x0,_0x437a9a['id']);}function _0x262c9e(_0x535359,_0x18aee0){const _0x5a8739=_0x49f7c3,{area:_0x22345d,fieldId:_0x49f49e,index:_0x498e15}=_0x18aee0;_0x22345d===_0x2d316f[_0x5a8739(0x137)][_0x5a8739(0x30d)]?delete _0x535359[_0x5a8739(0x126)][_0x49f49e]:delete _0x535359['dimension'][_0x49f49e],_0xe7c158(_0x535359,_0x22345d)['splice'](_0x498e15,0x1);}function _0x23f2c4(_0x51b18e,_0x361521){const _0x23a66c=_0x49f7c3,{fieldId:_0x4045a7,name:_0xfdff92}=_0x361521,_0x4ef01=_0xf6bf33(_0x51b18e,_0x4045a7);_0x4ef01&&(_0x4ef01[_0x23a66c(0x35a)]=_0xfdff92);}function _0x1e3c8d(_0x16c5b4,_0x253ceb){const _0x50d35f=_0x49f7c3,{fieldId:_0x4aae2c,collapse:_0x2e8fc,item:_0x5aacbf}=_0x253ceb;_0x5aacbf!==void 0x0?(_0x16c5b4[_0x50d35f(0x37e)][_0x4aae2c]=_0x16c5b4[_0x50d35f(0x37e)][_0x4aae2c]||{},_0x16c5b4['collapseInfo'][_0x4aae2c][_0x5aacbf]=_0x2e8fc):_0x16c5b4[_0x50d35f(0x37e)][_0x4aae2c]=_0x2e8fc;}function _0x55dc18(_0x3717f8,_0x4dc11a){const _0x1a65da=_0x49f7c3,{fieldId:_0x48dcef,format:_0x53c81a}=_0x4dc11a,_0x13d75b=_0xf6bf33(_0x3717f8,_0x48dcef);_0x13d75b&&(_0x13d75b[_0x1a65da(0xd4)]=_0x53c81a);}function _0x10440f(_0x2fa453,_0x5506c4){const _0x488475=_0x49f7c3,{fieldId:_0x5e9e41,filterInfo:_0x869317}=_0x5506c4,_0x511a3e=_0xf6bf33(_0x2fa453,_0x5e9e41);_0x511a3e&&(_0x511a3e[_0x488475(0x1ed)]=_0x869317);}function _0x43c394(_0x14cdc0,_0x42afbb){const _0x42d841=_0x49f7c3,{fieldId:_0x37cbcf,filterInfo:_0x4bb7d5}=_0x42afbb,_0x85a5d1=_0x14cdc0['valueFilter'][_0x42d841(0x3dc)](_0x4082c3=>_0x4082c3[_0x42d841(0x368)]!==_0x37cbcf);_0x4bb7d5&&_0x85a5d1[_0x42d841(0x3d4)]({'fieldId':_0x37cbcf,'filterInfo':_0x4bb7d5}),_0x14cdc0[_0x42d841(0x328)]=_0x85a5d1;}function _0x127895(_0x386b05,_0x47bc05){const _0x1a571d=_0x49f7c3,{fieldId:_0x45d758,subtotalType:_0x2e6f2c}=_0x47bc05,_0x486c49=_0xf6bf33(_0x386b05,_0x45d758);_0x486c49&&(_0x486c49[_0x1a571d(0x1dc)]=_0x2e6f2c);}function _0x4496d6(_0x5b7d18,_0x22b957){const _0x2c46de=_0x49f7c3,{fieldId:_0x52371d,oldArea:_0x77e7cf,area:_0x345710,oldIndex:_0x4df7ed,index:_0x380eb2}=_0x22b957,_0x31d3cb=_0x77e7cf!==_0x2d316f['PivotTableFiledAreaEnum']['Value']&&_0x345710===_0x2d316f[_0x2c46de(0x137)][_0x2c46de(0x30d)],_0x55fc64=_0x77e7cf===_0x2d316f[_0x2c46de(0x137)][_0x2c46de(0x30d)]&&_0x345710!==_0x2d316f[_0x2c46de(0x137)][_0x2c46de(0x30d)];if(_0x31d3cb||_0x55fc64){const _0x586397=_0xf6bf33(_0x5b7d18,_0x52371d);_0x586397&&(_0x31d3cb?(delete _0x5b7d18[_0x2c46de(0x26f)][_0x52371d],_0x5b7d18[_0x2c46de(0x126)][_0x52371d]=_0x586397):(delete _0x5b7d18['measure'][_0x52371d],_0x5b7d18[_0x2c46de(0x26f)][_0x52371d]=_0x586397));}const _0x3f83ec=_0xe7c158(_0x5b7d18,_0x77e7cf),_0x4e6950=_0xe7c158(_0x5b7d18,_0x345710);_0x3f83ec['splice'](_0x4df7ed,0x1),_0x4e6950[_0x2c46de(0x20b)](_0x380eb2,0x0,_0x52371d);}function _0x5da99e(_0x14a92f,_0x3d0f32){const _0x522fe5=_0x49f7c3,{valuePosition:_0x4341ac,index:_0x350d23}=_0x3d0f32;_0x14a92f[_0x522fe5(0x228)]=_0x4341ac,_0x14a92f[_0x522fe5(0x35f)]=_0x350d23;}function _0x436593(_0x550969,_0x6980ce){const _0xa10a32=_0x49f7c3,{tableFieldId:_0x147d64,sourceName:_0x573084,dataFieldId:_0x32ada9}=_0x6980ce,_0x108b7a=_0xf6bf33(_0x550969,_0x147d64);_0x108b7a&&(_0x108b7a[_0xa10a32(0x2f4)]=_0x573084,_0x108b7a['dataFieldId']=_0x32ada9);}function _0x212c00(_0x2a4aba,_0x40e64e){const _0x5730ed=_0x49f7c3,{fieldId:_0x11efaf,sortInfo:_0x4fd712}=_0x40e64e,_0x24e682=_0xf6bf33(_0x2a4aba,_0x11efaf);_0x24e682&&(_0x24e682[_0x5730ed(0x2a8)]=_0x4fd712);}function _0x5db07f(_0x5aa66d,_0x196b8b){const _0x5dc527=_0x49f7c3,{options:_0x36b63a}=_0x196b8b;_0x5aa66d[_0x5dc527(0x1eb)]={..._0x5aa66d[_0x5dc527(0x1eb)],..._0x36b63a};}const _0x557557={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':_0x49f7c3(0x237),'handler'(_0x2cb5dc,_0xe12204){const _0x3f87cc=_0x49f7c3;if(!_0xe12204)return!0x1;if(!!_0x2cb5dc[_0x3f87cc(0x392)](_0x369ce1['IConfigService'])[_0x3f87cc(0x1df)](_0x2884f3))return!0x0;const _0xe10929=_0x2cb5dc[_0x3f87cc(0x392)](_0x237829[_0x3f87cc(0x188)]),{pivotTableId:_0x394388,fieldJson:_0x566166,area:_0x719785,index:_0x2f24a2,unitId:_0x22ef17,subUnitId:_0x43369a}=_0xe12204,_0x4152fb=_0xe10929[_0x3f87cc(0x2a7)](_0x394388);if(!_0x4152fb)return!0x1;let _0x4fa949;_0x719785===_0x2d316f['PivotTableFiledAreaEnum'][_0x3f87cc(0x30d)]?_0x4fa949=_0x2d316f[_0x3f87cc(0x15b)](_0x566166):_0x4fa949=_0x2d316f[_0x3f87cc(0xeb)](_0x566166),_0x4152fb[_0x3f87cc(0x322)](_0x4fa949,_0x719785,_0x2f24a2);const _0xf00d57=_0xe10929[_0x3f87cc(0x1f9)](_0x22ef17,_0x43369a,_0x394388);_0x57f22f(_0xf00d57,_0xe12204);const _0x20175c=_0xe10929[_0x3f87cc(0x362)](_0x22ef17,_0x43369a,_0x394388);return _0xe10929[_0x3f87cc(0x23e)]({'unitId':_0x22ef17,'subUnitId':_0x43369a,'token':_0x394388,'type':_0x48b491[_0x3f87cc(0x1e7)],'pivotConfig':_0x20175c}),!0x0;}},_0x29944c={'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x2b2),'handler'(_0x4f9a43,_0x5ab355){const _0x409a33=_0x49f7c3;if(!_0x5ab355)return!0x1;if(!!_0x4f9a43['get'](_0x369ce1['IConfigService'])[_0x409a33(0x1df)](_0x2884f3))return!0x0;const _0x392ffe=_0x4f9a43['get'](_0x237829[_0x409a33(0x188)]),{pivotTableId:_0xf8b45e,fieldId:_0x37e01f,unitId:_0x1c57ea,subUnitId:_0x24cd5c}=_0x5ab355,_0x31e517=_0x392ffe['getPivotTableInstance'](_0xf8b45e);if(!_0x31e517)return!0x1;_0x31e517[_0x409a33(0x1ae)](_0x37e01f);const _0x5efb66=_0x392ffe[_0x409a33(0x1f9)](_0x1c57ea,_0x24cd5c,_0xf8b45e);_0x262c9e(_0x5efb66,_0x5ab355);const _0x4148cc=_0x392ffe[_0x409a33(0x362)](_0x1c57ea,_0x24cd5c,_0xf8b45e);return _0x392ffe['addDirtyPivotTable']({'unitId':_0x1c57ea,'subUnitId':_0x24cd5c,'token':_0xf8b45e,'type':_0x48b491[_0x409a33(0x1e7)],'pivotConfig':_0x4148cc}),!0x0;}},_0x592967={'type':_0x369ce1['CommandType']['MUTATION'],'id':_0x49f7c3(0x2ae),'handler'(_0x18ad78,_0x5f3e74){const _0x322601=_0x49f7c3;if(!_0x5f3e74)return!0x1;if(!!_0x18ad78['get'](_0x369ce1[_0x322601(0x104)])[_0x322601(0x1df)](_0x2884f3))return!0x0;const _0x8bcd1d=_0x18ad78[_0x322601(0x392)](_0x237829[_0x322601(0x188)]),{unitId:_0x1390d8,subUnitId:_0x32cf5d,pivotTableId:_0x2cacc9,fieldId:_0x4e1bfa,name:_0x268627}=_0x5f3e74,_0x13d4e3=_0x8bcd1d[_0x322601(0x2a7)](_0x2cacc9);if(!_0x13d4e3)return!0x1;_0x13d4e3[_0x322601(0x240)](_0x4e1bfa,_0x268627);const _0x499680=_0x8bcd1d['getPivotTableModelConfig'](_0x1390d8,_0x32cf5d,_0x2cacc9);return _0x23f2c4(_0x499680,_0x5f3e74),_0x8bcd1d[_0x322601(0x23e)]({'unitId':_0x1390d8,'subUnitId':_0x32cf5d,'token':_0x2cacc9,'type':_0x48b491[_0x322601(0x1e7)]}),!0x0;}},_0x3c230f={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x2ba),'handler'(_0x2394ef,_0x297b56){const _0x59aad1=_0x49f7c3;if(!_0x297b56)return!0x1;if(!!_0x2394ef[_0x59aad1(0x392)](_0x369ce1[_0x59aad1(0x104)])[_0x59aad1(0x1df)](_0x2884f3))return!0x0;const _0x53db14=_0x2394ef[_0x59aad1(0x392)](_0x237829[_0x59aad1(0x188)]),{unitId:_0x3329ec,subUnitId:_0x2912cd,pivotTableId:_0x37e86d,fieldId:_0x2595de,collapse:_0x4fea05,item:_0x993e4e}=_0x297b56,_0x112003=_0x53db14['getPivotTableInstance'](_0x37e86d);if(!_0x112003)return!0x1;_0x112003[_0x59aad1(0x290)](_0x2595de,_0x4fea05,_0x993e4e);const _0x4002d0=_0x53db14[_0x59aad1(0x1f9)](_0x3329ec,_0x2912cd,_0x37e86d);return _0x1e3c8d(_0x4002d0,_0x297b56),_0x53db14[_0x59aad1(0x23e)]({'unitId':_0x3329ec,'subUnitId':_0x2912cd,'token':_0x37e86d,'type':_0x48b491[_0x59aad1(0x1e7)]}),!0x0;}},_0x282d71={'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x33b),'handler'(_0x1c9cc2,_0x35971e){const _0x35f447=_0x49f7c3;if(!_0x35971e)return!0x1;if(!!_0x1c9cc2[_0x35f447(0x392)](_0x369ce1['IConfigService'])['getConfig'](_0x2884f3))return!0x0;const _0x599f9e=_0x1c9cc2['get'](_0x237829[_0x35f447(0x188)]),{unitId:_0x457ef9,subUnitId:_0x5689fe,pivotTableId:_0x3c85b4,fieldId:_0x250df9,format:_0x5a3522}=_0x35971e,_0x363acf=_0x599f9e[_0x35f447(0x2a7)](_0x3c85b4);if(!_0x363acf)return!0x1;_0x363acf[_0x35f447(0xde)](_0x250df9,_0x5a3522);const _0x4eb83a=_0x599f9e[_0x35f447(0x1f9)](_0x457ef9,_0x5689fe,_0x3c85b4);return _0x55dc18(_0x4eb83a,_0x35971e),_0x599f9e[_0x35f447(0x23e)]({'unitId':_0x457ef9,'subUnitId':_0x5689fe,'token':_0x3c85b4,'type':_0x48b491[_0x35f447(0x1e7)]}),!0x0;}},_0x21a58e={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x29abe6,_0x2fe00d){const _0x5f5b58=_0x49f7c3;if(!_0x2fe00d)return!0x1;if(!!_0x29abe6[_0x5f5b58(0x392)](_0x369ce1[_0x5f5b58(0x104)])[_0x5f5b58(0x1df)](_0x2884f3))return!0x0;const _0x2a1359=_0x29abe6[_0x5f5b58(0x392)](_0x237829[_0x5f5b58(0x188)]),{unitId:_0x4d631f,subUnitId:_0x276e8d,pivotTableId:_0x30eaf8,fieldId:_0x34a4b1,filterInfo:_0x345b6d}=_0x2fe00d,_0x21556a=_0x2a1359[_0x5f5b58(0x2a7)](_0x30eaf8);if(!_0x21556a)return!0x1;_0x21556a[_0x5f5b58(0x1d8)](_0x34a4b1,_0x345b6d);const _0x31a25e=_0x2a1359[_0x5f5b58(0x1f9)](_0x4d631f,_0x276e8d,_0x30eaf8);return _0x10440f(_0x31a25e,_0x2fe00d),_0x2a1359['addDirtyPivotTable']({'unitId':_0x4d631f,'subUnitId':_0x276e8d,'token':_0x30eaf8,'type':_0x48b491[_0x5f5b58(0x1e7)]}),!0x0;}},_0x343710={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0xe5),'handler'(_0x2a38e0,_0x44855f){const _0x3c75b0=_0x49f7c3;if(!_0x44855f)return!0x1;if(!!_0x2a38e0[_0x3c75b0(0x392)](_0x369ce1[_0x3c75b0(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x5d3974=_0x2a38e0[_0x3c75b0(0x392)](_0x237829[_0x3c75b0(0x188)]),{unitId:_0x3caaaf,subUnitId:_0xcd6d64,pivotTableId:_0x5c7632,options:_0x4e5bc1}=_0x44855f,_0x39edbe=_0x5d3974[_0x3c75b0(0x2a7)](_0x5c7632);if(!_0x39edbe)return!0x1;_0x39edbe[_0x3c75b0(0x395)](_0x4e5bc1);const _0x5af4ab=_0x5d3974[_0x3c75b0(0x1f9)](_0x3caaaf,_0xcd6d64,_0x5c7632);return _0x5db07f(_0x5af4ab,_0x44855f),_0x5d3974['addDirtyPivotTable']({'unitId':_0x3caaaf,'subUnitId':_0xcd6d64,'token':_0x5c7632,'type':_0x48b491['Set']}),!0x0;}},_0x1194ee={'type':_0x369ce1['CommandType']['MUTATION'],'id':_0x49f7c3(0x13b),'handler'(_0x5f24fe,_0xb819dc){const _0x40d9e7=_0x49f7c3;if(!_0xb819dc)return!0x1;if(!!_0x5f24fe[_0x40d9e7(0x392)](_0x369ce1[_0x40d9e7(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x16310e=_0x5f24fe[_0x40d9e7(0x392)](_0x237829[_0x40d9e7(0x188)]),{unitId:_0x5d7d6f,subUnitId:_0x454abf,pivotTableId:_0x5cdf82,sortInfo:_0x192604,fieldId:_0x44bc09}=_0xb819dc,_0xc87198=_0x16310e[_0x40d9e7(0x2a7)](_0x5cdf82);if(!_0xc87198)return!0x1;_0xc87198[_0x40d9e7(0x1b7)](_0x44bc09,_0x192604);const _0x5864d5=_0x16310e[_0x40d9e7(0x1f9)](_0x5d7d6f,_0x454abf,_0x5cdf82);return _0x212c00(_0x5864d5,_0xb819dc),_0x16310e[_0x40d9e7(0x23e)]({'unitId':_0x5d7d6f,'subUnitId':_0x454abf,'token':_0x5cdf82,'type':_0x48b491['Set']}),!0x0;}},_0xd44f4={'type':_0x369ce1[_0x49f7c3(0x250)]['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x2dc181,_0x2f9ceb){const _0x50a831=_0x49f7c3;if(!_0x2f9ceb)return!0x1;if(!!_0x2dc181[_0x50a831(0x392)](_0x369ce1['IConfigService'])[_0x50a831(0x1df)](_0x2884f3))return!0x0;const _0x4a2a7b=_0x2dc181[_0x50a831(0x392)](_0x237829[_0x50a831(0x188)]),{unitId:_0x2ca89d,subUnitId:_0x56287f,pivotTableId:_0x15a6c0,fieldId:_0x10e7d6,subtotalType:_0x18da94}=_0x2f9ceb,_0x3ed55e=_0x4a2a7b['getPivotTableInstance'](_0x15a6c0);if(!_0x3ed55e)return!0x1;_0x3ed55e[_0x50a831(0x1ac)](_0x10e7d6,_0x18da94);const _0x1aa099=_0x4a2a7b['getPivotTableModelConfig'](_0x2ca89d,_0x56287f,_0x15a6c0);return _0x127895(_0x1aa099,_0x2f9ceb),_0x4a2a7b[_0x50a831(0x23e)]({'unitId':_0x2ca89d,'subUnitId':_0x56287f,'token':_0x15a6c0,'type':_0x48b491['Set']}),!0x0;}},_0x1bae9f={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x249),'handler'(_0x3c4677,_0x1ff901){const _0x5c799d=_0x49f7c3;if(!_0x1ff901)return!0x1;if(!!_0x3c4677['get'](_0x369ce1[_0x5c799d(0x104)])[_0x5c799d(0x1df)](_0x2884f3))return!0x0;const _0x2e2d18=_0x3c4677[_0x5c799d(0x392)](_0x237829[_0x5c799d(0x188)]),{unitId:_0x3e69ff,subUnitId:_0x2b0371,pivotTableId:_0x9424cc,fieldId:_0x36bdd5,filterInfo:_0x2a3d70}=_0x1ff901,_0x5599f3=_0x2e2d18[_0x5c799d(0x2a7)](_0x9424cc);if(!_0x5599f3)return!0x1;_0x5599f3[_0x5c799d(0x262)](_0x36bdd5,_0x2a3d70);const _0x1cc8d4=_0x2e2d18['getPivotTableModelConfig'](_0x3e69ff,_0x2b0371,_0x9424cc);return _0x43c394(_0x1cc8d4,_0x1ff901),_0x2e2d18[_0x5c799d(0x23e)]({'unitId':_0x3e69ff,'subUnitId':_0x2b0371,'token':_0x9424cc,'type':_0x48b491['Set']}),!0x0;}},_0x51bde3={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x29e),'handler'(_0xa0873c,_0x2114ca){const _0x18c618=_0x49f7c3;if(!_0x2114ca)return!0x1;if(!!_0xa0873c[_0x18c618(0x392)](_0x369ce1[_0x18c618(0x104)])[_0x18c618(0x1df)](_0x2884f3))return!0x0;const _0x43487d=_0xa0873c[_0x18c618(0x392)](_0x237829['SheetsPivotDataSourceModel']),{unitId:_0x37ac46,subUnitId:_0x2b97cf,pivotTableId:_0x15ffa9,area:_0x48e4b2,index:_0x2800ee,fieldId:_0x23011d}=_0x2114ca,_0x56b54a=_0x43487d[_0x18c618(0x2a7)](_0x15ffa9);if(!_0x56b54a)return!0x1;_0x56b54a[_0x18c618(0x22a)](_0x23011d,_0x48e4b2,_0x2800ee);const _0x5671fe=_0x43487d[_0x18c618(0x1f9)](_0x37ac46,_0x2b97cf,_0x15ffa9);return _0x4496d6(_0x5671fe,_0x2114ca),_0x43487d[_0x18c618(0x23e)]({'unitId':_0x37ac46,'subUnitId':_0x2b97cf,'token':_0x15ffa9,'type':_0x48b491[_0x18c618(0x1e7)]}),!0x0;}},_0xed5085={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x13d),'handler'(_0x56c792,_0x2f9558){const _0x402fad=_0x49f7c3;if(!_0x2f9558)return!0x1;if(!!_0x56c792[_0x402fad(0x392)](_0x369ce1[_0x402fad(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x3731f0=_0x56c792[_0x402fad(0x392)](_0x237829[_0x402fad(0x188)]),{unitId:_0xd85865,subUnitId:_0x35440e,pivotTableId:_0x271ae1,sourceName:_0x4aa0a8,dataFieldId:_0xd629b3,tableFieldId:_0x19b24a}=_0x2f9558,_0x254825=_0x3731f0[_0x402fad(0x2a7)](_0x271ae1);if(!_0x254825)return!0x1;_0x254825[_0x402fad(0x12f)](_0x19b24a,_0x4aa0a8,_0xd629b3);const _0x73e19b=_0x3731f0[_0x402fad(0x1f9)](_0xd85865,_0x35440e,_0x271ae1);return _0x436593(_0x73e19b,_0x2f9558),_0x3731f0[_0x402fad(0x23e)]({'unitId':_0xd85865,'subUnitId':_0x35440e,'token':_0x271ae1,'type':_0x48b491[_0x402fad(0x1e7)]}),!0x0;}},_0xd8814e={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x361),'handler'(_0x159ce4,_0x2ff9dd){const _0x34d47e=_0x49f7c3;if(!_0x2ff9dd)return!0x1;if(!!_0x159ce4[_0x34d47e(0x392)](_0x369ce1[_0x34d47e(0x104)])['getConfig'](_0x2884f3))return!0x0;const _0x3f20c0=_0x159ce4['get'](_0x237829['SheetsPivotDataSourceModel']),{unitId:_0x396894,subUnitId:_0x5cf9a0,pivotTableId:_0x53d32c,valuePosition:_0x5a09b8,index:_0x578f67}=_0x2ff9dd,_0xa20afe=_0x3f20c0['getPivotTableInstance'](_0x53d32c);if(!_0xa20afe)return!0x1;_0xa20afe['updateValuePosition'](_0x5a09b8,_0x578f67);const _0x48c27c=_0x3f20c0[_0x34d47e(0x1f9)](_0x396894,_0x5cf9a0,_0x53d32c);return _0x5da99e(_0x48c27c,_0x2ff9dd),_0x3f20c0[_0x34d47e(0x23e)]({'unitId':_0x396894,'subUnitId':_0x5cf9a0,'token':_0x53d32c,'type':_0x48b491[_0x34d47e(0x1e7)]}),!0x0;}};function _0x52ee78(_0x13dadd,_0x9a0b43,_0x6a382f){const _0x495789=_0x49f7c3,{pivotTableId:_0x4d9704,unitId:_0x518997,subUnitId:_0x51c8ce}=_0x9a0b43,_0x12398f=[],_0x67d61e=[];for(const _0x1aaaff of _0x6a382f)switch(_0x1aaaff[_0x495789(0x2d0)]){case _0x2d316f[_0x495789(0x238)][_0x495789(0x1fb)]:{const {fieldJson:_0xa00bd1,area:_0x468400,index:_0x5daf83}=_0x1aaaff,_0x206c44={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldJson':_0xa00bd1,'area':_0x468400,'index':_0x5daf83},_0x5a806d={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0xa00bd1['id'],'area':_0x468400,'index':_0x5daf83};_0x12398f[_0x495789(0x3d4)]({'id':_0x557557['id'],'params':_0x206c44}),_0x67d61e[_0x495789(0x394)]({'id':_0x29944c['id'],'params':_0x5a806d});}break;case _0x2d316f['PivotTableChangeTypeEnum'][_0x495789(0x113)]:{const {fieldId:_0x578e1f,newSubtotalType:_0x63fde5,oldSubtotalType:_0x3f3ce5}=_0x1aaaff,_0x47da22={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x578e1f,'subtotalType':_0x63fde5};_0x12398f['push']({'id':_0xd44f4['id'],'params':_0x47da22});const _0x12bacc={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x578e1f,'subtotalType':_0x3f3ce5};_0x67d61e[_0x495789(0x394)]({'id':_0xd44f4['id'],'params':_0x12bacc});}break;case _0x2d316f[_0x495789(0x238)]['RemoveField']:{const {fieldId:_0x2a30ba,fieldJson:_0x2df1b0,area:_0x2ae532,index:_0x4e8077}=_0x1aaaff,_0x41d9fe={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x2a30ba,'index':_0x4e8077,'area':_0x2ae532};_0x12398f['push']({'id':_0x29944c['id'],'params':_0x41d9fe});const _0x4c9c99={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldJson':_0x2df1b0,'area':_0x2ae532,'index':_0x4e8077};_0x67d61e[_0x495789(0x394)]({'id':_0x557557['id'],'params':_0x4c9c99});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x190)]:{const {fieldId:_0x52e549,oldName:_0x2b236e,newName:_0x101696}=_0x1aaaff,_0x3bc63e={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x52e549,'name':_0x101696};_0x12398f['push']({'id':_0x592967['id'],'params':_0x3bc63e});const _0x3b851b={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x52e549,'name':_0x2b236e};_0x67d61e['unshift']({'id':_0x592967['id'],'params':_0x3b851b});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x2c4)]:{const {fieldId:_0x520415,oldFilterInfo:_0x439b58,newFilterInfo:_0x9ebdf7}=_0x1aaaff,_0x1f638c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x520415,'filterInfo':_0x9ebdf7};_0x12398f[_0x495789(0x3d4)]({'id':_0x21a58e['id'],'params':_0x1f638c});const _0x15f061={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x520415,'filterInfo':_0x439b58};_0x67d61e['unshift']({'id':_0x21a58e['id'],'params':_0x15f061});}break;case _0x2d316f[_0x495789(0x238)]['SetSortInfo']:{const {fieldId:_0x32969b,oldSortInfo:_0x1ce878,newSortInfo:_0x34026f}=_0x1aaaff,_0x2ebc2c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x32969b,'sortInfo':_0x34026f};_0x12398f[_0x495789(0x3d4)]({'id':_0x1194ee['id'],'params':_0x2ebc2c});const _0x2b964a={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x32969b,'sortInfo':_0x1ce878};_0x67d61e[_0x495789(0x394)]({'id':_0x1194ee['id'],'params':_0x2b964a});}break;case _0x2d316f['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x19cb20,newOptions:_0x1f771a}=_0x1aaaff,_0x4a3231={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'options':_0x1f771a};_0x12398f[_0x495789(0x3d4)]({'id':_0x343710['id'],'params':_0x4a3231});const _0x481d5e={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'options':_0x19cb20};_0x67d61e[_0x495789(0x394)]({'id':_0x343710['id'],'params':_0x481d5e});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x34a)]:{const {oldArea:_0x15cc09,newArea:_0x5349a9,oldIndex:_0xec7d82,newIndex:_0x255e0d,fieldId:_0x218b50}=_0x1aaaff,_0x159b97={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x218b50,'area':_0x5349a9,'index':_0x255e0d,'oldArea':_0x15cc09,'oldIndex':_0xec7d82};_0x12398f[_0x495789(0x3d4)]({'id':_0x51bde3['id'],'params':_0x159b97});const _0x4263ff={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x218b50,'area':_0x15cc09,'index':_0xec7d82,'oldArea':_0x5349a9,'oldIndex':_0x255e0d};_0x67d61e[_0x495789(0x394)]({'id':_0x51bde3['id'],'params':_0x4263ff});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x24b)]:{const {oldValuePosition:_0x2f9700,newValuePosition:_0x587224,oldIndex:_0x2b0f80,newIndex:_0xe16059}=_0x1aaaff,_0x192ba0={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'valuePosition':_0x587224,'index':_0xe16059};_0x12398f['push']({'id':_0xd8814e['id'],'params':_0x192ba0});const _0x3d6e79={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'valuePosition':_0x2f9700,'index':_0x2b0f80};_0x67d61e['unshift']({'id':_0xd8814e['id'],'params':_0x3d6e79});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x1a1)]:{const {fieldId:_0x15c171,collapse:_0x350342,item:_0xf5321b}=_0x1aaaff,_0x5e6e1e={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x15c171,'collapse':_0x350342,'item':_0xf5321b};_0x12398f['push']({'id':_0x3c230f['id'],'params':_0x5e6e1e});const _0x400a55={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x15c171,'collapse':!_0x350342,'item':_0xf5321b};_0x67d61e[_0x495789(0x394)]({'id':_0x3c230f['id'],'params':_0x400a55});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x2fe)]:{const {newFormat:_0x1a4d64,oldFormat:_0xb8c002,fieldId:_0x366e62}=_0x1aaaff,_0x507493={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x366e62,'format':_0x1a4d64};_0x12398f[_0x495789(0x3d4)]({'id':_0x282d71['id'],'params':_0x507493});const _0xc0e92={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x366e62,'format':_0xb8c002};_0x67d61e[_0x495789(0x394)]({'id':_0x282d71['id'],'params':_0xc0e92});}break;case _0x2d316f[_0x495789(0x238)][_0x495789(0x332)]:{const {tableFieldId:_0x3f9767,oldSourceName:_0x315b5c,newSourceName:_0x1bae2,oldDataFieldId:_0x2ce1dc,newDataFieldId:_0x3ce7fd}=_0x1aaaff,_0x2668ad={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'tableFieldId':_0x3f9767,'sourceName':_0x1bae2,'dataFieldId':_0x3ce7fd};_0x12398f[_0x495789(0x3d4)]({'id':_0xed5085['id'],'params':_0x2668ad});const _0x3eed4f={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'tableFieldId':_0x3f9767,'sourceName':_0x315b5c,'dataFieldId':_0x2ce1dc};_0x67d61e['unshift']({'id':_0xed5085['id'],'params':_0x3eed4f});}break;case _0x2d316f['PivotTableChangeTypeEnum']['SetValueFilter']:{const {fieldId:_0x3fbfc8,filterInfo:_0x5dbe29,oldFilterInfo:_0x2136f4}=_0x1aaaff,_0x19534c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x3fbfc8,'filterInfo':_0x5dbe29};_0x12398f[_0x495789(0x3d4)]({'id':_0x1bae9f['id'],'params':_0x19534c});const _0x4c117c={'unitId':_0x518997,'subUnitId':_0x51c8ce,'pivotTableId':_0x4d9704,'fieldId':_0x3fbfc8,'filterInfo':_0x2136f4};_0x67d61e[_0x495789(0x394)]({'id':_0x1bae9f['id'],'params':_0x4c117c});}}return{'redos':_0x12398f,'undos':_0x67d61e};}function _0x5eb13c(_0x23535b,_0x56bc96){const _0x5aebf9=_0x49f7c3;var _0x2988dd;const _0x1676fd=_0x23535b[_0x5aebf9(0x392)](_0x237829[_0x5aebf9(0x14b)]),{cellInfo:_0x554e9f,view:_0x2b9fe9,isEmpty:_0x1655a3}=_0x56bc96;return(_0x2988dd=_0x1676fd[_0x5aebf9(0x345)][_0x5aebf9(0xfe)](_0x54cb75)(_0x29b80a,{'cellInfo':_0x554e9f,'view':_0x2b9fe9,'isEmpty':_0x1655a3}))!=null?_0x2988dd:_0x29b80a;}const _0x58a346={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x385),async 'handler'(_0xfa19e,_0x2da2d0){const _0x7b582c=_0x49f7c3;if(!_0x2da2d0)return!0x1;const _0x54fec4=_0xfa19e['get'](_0x369ce1['ICommandService']),_0x15d488=_0xfa19e['get'](_0x237829[_0x7b582c(0x1d9)]),_0x565948=_0xfa19e[_0x7b582c(0x392)](_0x369ce1['IUndoRedoService']),{pivotTableId:_0x2701aa,dataFieldId:_0x636328,fieldArea:_0x22a640,index:_0x13584a,unitId:_0x2bb1f5,subUnitId:_0x4c93e5}=_0x2da2d0,_0x52dd88=(await _0x15d488['getPivotDisplayConfig']({'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5,'pivotTableId':_0x2701aa,'params':{'type':_0x2b63fe[_0x7b582c(0x1c0)],'addPivotField':{'dataFieldId':_0x636328,'fieldArea':_0x22a640,'index':_0x13584a}}}))['result'][_0x7b582c(0x2ec)];if(!_0x52dd88)return!0x1;const {view:_0xc998c2,changesets:_0x49ac94,isEmpty:_0xbea531,pivotTableConfig:_0x528cd5,shouldBeAddedGroupJSON:_0x1fb3af}=_0x52dd88,_0x29e754=_0x528cd5['targetCellInfo'],_0x43c64a=new _0x2d316f[(_0x7b582c(0x3be))]();_0x43c64a[_0x7b582c(0x23b)](_0xc998c2);const _0x5221d6={'cellInfo':_0x29e754,'view':_0x43c64a,'isEmpty':_0xbea531};if(!await _0xfa19e[_0x7b582c(0x392)](_0x237829[_0x7b582c(0x14b)])[_0x7b582c(0x297)][_0x7b582c(0x175)](_0x2f016b)(!0x0,_0x5221d6))return!0x1;const _0xca1a54=_0x75bbf(_0xfa19e,_0x43c64a,_0x29e754,_0xbea531),_0x237ba0=_0x5eb13c(_0xfa19e,_0x5221d6),{undos:_0x3230e4,redos:_0x275f5c}=_0x52ee78(_0x54fec4,{'pivotTableId':_0x2701aa,'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5},_0x49ac94);return _0x1fb3af&&(_0x275f5c[_0x7b582c(0x394)]({'id':_0x56b84e['id'],'params':{'pivotTableId':_0x2701aa,'fieldJSON':_0x1fb3af,'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5}}),_0x3230e4['push']({'id':_0x20c243['id'],'params':{'pivotTableId':_0x2701aa,'dataFieldId':_0x1fb3af['id'],'unitId':_0x2bb1f5,'subUnitId':_0x4c93e5}})),_0x369ce1[_0x7b582c(0x2a6)]([..._0xca1a54[_0x7b582c(0x1da)],..._0x237ba0[_0x7b582c(0x1da)],..._0x275f5c],_0x54fec4),_0x565948[_0x7b582c(0x122)]({'unitID':_0x2bb1f5,'redoMutations':[..._0xca1a54[_0x7b582c(0x1da)],..._0x237ba0[_0x7b582c(0x1da)],..._0x275f5c],'undoMutations':[..._0xca1a54[_0x7b582c(0x221)],..._0x237ba0[_0x7b582c(0x221)],..._0x3230e4]}),!0x0;}},_0xefc475=()=>typeof process<'u'&&process['versions']!=null&&process[_0x49f7c3(0x224)]['node']!=null,_0x307ba8={'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x273),'handler'(_0x5e1e0c,_0x5d3aee){const _0x59b859=_0x49f7c3;var _0x4574e4;if(!_0x5d3aee)return!0x1;const _0x3ac156=_0x5e1e0c[_0x59b859(0x392)](_0x369ce1[_0x59b859(0x104)]);if(!!_0x3ac156[_0x59b859(0x1df)](_0x2884f3))return!0x0;const _0x1f2137=_0x5e1e0c[_0x59b859(0x392)](_0x369ce1[_0x59b859(0x389)]),_0x247738=_0x5e1e0c[_0x59b859(0x392)](_0x237829['SheetsPivotDataSourceModel']),{pivotTableId:_0x47c67a,pivotTableConfig:_0x462917,collectionConfig:_0x416c8a,unitId:_0x1ad6d7,subUnitId:_0x2cf2ea}=_0x5d3aee,{sourceRangeInfo:_0x369de7,fieldsConfig:_0x33e5ce,targetCellInfo:_0x266a85}=_0x462917,_0x219a48=_0x1f2137['getUnit'](_0x1ad6d7);if(!_0x219a48||!_0x219a48[_0x59b859(0x2b7)](_0x2cf2ea))return!0x1;if(!_0xefc475()){let _0x4a7291=0x0;_0x219a48[_0x59b859(0x331)]()[_0x59b859(0x10a)](_0x2df47=>{const _0x4c17fe=_0x59b859;var _0x1e10cb,_0x307b78;_0x4a7291+=(_0x307b78=(_0x1e10cb=_0x247738[_0x4c17fe(0x200)](_0x1ad6d7,_0x2df47[_0x4c17fe(0x212)]()))==null?void 0x0:_0x1e10cb[_0x4c17fe(0x390)])!=null?_0x307b78:0x0;});const _0x47ef86=(_0x4574e4=_0x3ac156[_0x59b859(0x1df)](_0x5b8945[_0x59b859(0x285)]))!=null?_0x4574e4:{},{ls:_0x1e5d2d,pbk:_0x56ebbe}=_0x47ef86;if(!_0x53b1ed(_0x1e5d2d,_0x56ebbe))throw new _0x369ce1[(_0x59b859(0x20e))](_0x59b859(0x30e));const _0x10dfe5=_0x2de071(_0x2b5880,_0x1e5d2d,_0x56ebbe)[_0x59b859(0x3da)];if(_0x4a7291>=_0x10dfe5)throw new _0x369ce1[(_0x59b859(0x20e))]('limit\x20pivot');}if(!_0x416c8a||!_0x33e5ce)return!0x1;const {collection:_0x1f70da,updateDataFieldList:_0x48fbda}=_0x247738[_0x59b859(0x2c2)](_0x47c67a,_0x416c8a,_0x369de7,_0x266a85);_0x247738[_0x59b859(0x124)](_0x1f70da,_0x48fbda,_0x369de7);const _0x887f71=new _0x2d316f[(_0x59b859(0x162))](_0x1f70da,void 0x0,_0x47c67a);_0x887f71[_0x59b859(0x398)](_0x33e5ce);const _0x26ed17=JSON[_0x59b859(0x140)](JSON[_0x59b859(0x3e6)](_0x462917));return _0x247738[_0x59b859(0x1a3)](_0x1ad6d7,_0x2cf2ea,_0x47c67a,_0x887f71,_0x26ed17),_0x247738[_0x59b859(0x23e)]({'unitId':_0x1ad6d7,'subUnitId':_0x2cf2ea,'token':_0x47c67a,'type':_0x48b491['Add'],'pivotConfig':_0x26ed17}),!0x0;}},_0x4ae5d8={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x340),async 'handler'(_0x288e38,_0x385468){const _0x2a3496=_0x49f7c3;if(!_0x385468)return!0x1;const {sourceDataInfo:_0x1cf116,pivotTableConfig:_0x356982}=_0x385468;if(!_0x1cf116||!_0x356982)return!0x1;const {unitId:_0x10e419,subUnitId:_0x2c1249,range:_0x58dbcd}=_0x1cf116,_0x240384=_0x288e38[_0x2a3496(0x392)](_0x369ce1['IUniverInstanceService']),_0x61c17d=_0x288e38['get'](_0x237829[_0x2a3496(0x1d9)]),_0x41d184=_0x288e38[_0x2a3496(0x392)](_0x369ce1['LocaleService']),_0xa2dbfb=_0x288e38[_0x2a3496(0x392)](_0x369ce1[_0x2a3496(0x1f2)]),_0x259c33=_0x240384[_0x2a3496(0x13e)](_0x10e419);if(!_0x259c33)return!0x1;const _0x4762bf=_0x259c33[_0x2a3496(0x2b7)](_0x2c1249);if(!_0x4762bf)return!0x1;const _0x3a7dd8=_0x2d316f[_0x2a3496(0x153)](0x8),_0x5acd01=_0x58dbcd||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4762bf[_0x2a3496(0x268)]()-0x1,'endColumn':_0x4762bf[_0x2a3496(0x158)]()-0x1};_0x5acd01[_0x2a3496(0x1ea)]=_0x369ce1[_0x2a3496(0x179)][_0x2a3496(0x347)];const _0x374129=(await _0x61c17d[_0x2a3496(0x28b)]({'unitId':_0x10e419,'subUnitId':_0x2c1249,'pivotTableId':_0x3a7dd8,'params':{'type':_0x2b63fe['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x10e419,'sheetName':_0x4762bf[_0x2a3496(0x1a9)](),'subUnitId':_0x2c1249,'range':_0x5acd01},'pivotTableId':_0x3a7dd8,'pivotTableIndexConfig':_0x356982}}}))[_0x2a3496(0x108)][_0x2a3496(0x2ab)];if(!_0x374129)return!0x1;const {isEmpty:_0x4de99,fieldsConfig:_0x2c2431,collectionConfig:_0x7f5fad,changesets:_0x4b5962}=_0x374129,_0x5b72f2=_0x259c33[_0x2a3496(0x331)]()[_0x2a3496(0x264)],_0x105bdb=_0x369ce1[_0x2a3496(0x3bd)]({'rowCount':_0x4762bf[_0x2a3496(0x268)]()-0x1,'columnCount':_0x4762bf[_0x2a3496(0x158)]()-0x1});_0x105bdb['id']=_0x369ce1[_0x2a3496(0x379)](),_0x105bdb[_0x2a3496(0x279)]=_0x259c33[_0x2a3496(0x219)](''+_0x41d184['t'](_0x2a3496(0x20d)));const _0x58b1a8={'index':_0x5b72f2,'sheet':_0x105bdb,'unitId':_0x10e419},{redos:_0x26cce5}=_0x52ee78(_0xa2dbfb,{'pivotTableId':_0x3a7dd8,'unitId':_0x10e419,'subUnitId':_0x105bdb['id']},_0x4b5962),_0x2fa96e=[{'id':_0x298fdb[_0x2a3496(0x2bd)]['id'],'params':_0x58b1a8},{'id':_0x307ba8['id'],'params':{'unitId':_0x10e419,'subUnitId':_0x105bdb['id'],'pivotTableId':_0x3a7dd8,'pivotTableConfig':{'isEmpty':_0x4de99,'fieldsConfig':_0x2c2431,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x10e419,'subUnitId':_0x105bdb['id']},'sourceRangeInfo':{'subUnitId':_0x2c1249,'unitId':_0x10e419,'range':_0x5acd01,'sheetName':_0x4762bf[_0x2a3496(0x1a9)]()}},'collectionConfig':_0x7f5fad}},..._0x26cce5];return _0x369ce1['sequenceExecute'](_0x2fa96e,_0xa2dbfb),!0x0;}},_0x113373={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0xd2),'handler'(_0x49910d,_0x47493b){const _0x552334=_0x49f7c3;if(!_0x47493b)return!0x1;if(!!_0x49910d[_0x552334(0x392)](_0x369ce1[_0x552334(0x104)])[_0x552334(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x1a71b2,unitId:_0x22bccf,subUnitId:_0x246935}=_0x47493b,_0xcc3f99=_0x49910d[_0x552334(0x392)](_0x237829['SheetsPivotDataSourceModel']);return _0xcc3f99[_0x552334(0x362)](_0x22bccf,_0x246935,_0x1a71b2)?(_0xcc3f99[_0x552334(0x23e)]({'unitId':_0x22bccf,'subUnitId':_0x246935,'token':_0x1a71b2,'type':_0x48b491[_0x552334(0x2f7)]}),_0xcc3f99[_0x552334(0x287)](_0x22bccf,_0x246935,_0x1a71b2),!0x0):!0x1;}},_0x1e77bf={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x166),async 'handler'(_0x24d184,_0x4c03c7){const _0x5115ae=_0x49f7c3;var _0x4b5fae,_0x1aac4d;const _0x1a68b1=_0x24d184[_0x5115ae(0x392)](_0x369ce1['ICommandService']),_0x3cc9af=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x389)]),_0x59a24c=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x18e)]),_0x38a99d=_0x24d184[_0x5115ae(0x392)](_0x237829[_0x5115ae(0x1d9)]),_0x585c91=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x284)]),_0x11fa1c=_0x24d184['get'](_0x237829[_0x5115ae(0x3ae)]),_0x1f32d3=_0x24d184[_0x5115ae(0x392)](_0x369ce1[_0x5115ae(0x104)]);if(!_0x4c03c7)return!0x1;const {pivotTableConfig:_0x183baf,positionType:_0x2e0a49}=_0x4c03c7,{targetCellInfo:_0x14b215,sourceRangeInfo:_0x121f4f}=_0x183baf,{unitId:_0x426de6,subUnitId:_0x38cdd2}=_0x14b215,_0x52b598=_0x3cc9af[_0x5115ae(0x13e)](_0x426de6);if(!_0x52b598)return!0x1;let _0x5a4a58=0x0;_0x52b598[_0x5115ae(0x331)]()[_0x5115ae(0x10a)](_0x310bbc=>{const _0x4fd8a0=_0x5115ae;var _0x2e01fe,_0x3b874b;_0x5a4a58+=(_0x3b874b=(_0x2e01fe=_0x11fa1c[_0x4fd8a0(0x200)](_0x426de6,_0x310bbc[_0x4fd8a0(0x212)]()))==null?void 0x0:_0x2e01fe['size'])!=null?_0x3b874b:0x0;});const _0x57c6a4=(_0x4b5fae=_0x1f32d3[_0x5115ae(0x1df)](_0x5b8945[_0x5115ae(0x285)]))!=null?_0x4b5fae:{},{ls:_0x5dba23,pbk:_0x599e7f}=_0x57c6a4;if(!_0x53b1ed(_0x5dba23,_0x599e7f))return!0x1;const _0x57b5de=_0x2de071(_0x2b5880,_0x5dba23,_0x599e7f)['count'];if(_0x5a4a58>=_0x57b5de)return!0x1;const _0x213d98=_0x4c03c7[_0x5115ae(0x257)]||_0x2d316f[_0x5115ae(0x153)](0x8),_0xc66f25=(await _0x38a99d[_0x5115ae(0x28b)]({'unitId':_0x426de6,'subUnitId':_0x38cdd2,'pivotTableId':_0x213d98,'params':{'type':_0x2b63fe[_0x5115ae(0x341)],'addPivotTable':{'sourceRangeInfo':_0x121f4f,'pivotTableId':_0x213d98}}}))[_0x5115ae(0x108)]['addPivotTable'];if(!_0xc66f25)return!0x1;const {view:_0x36fb00,isEmpty:_0x779192,fieldsConfig:_0x4e7021,collectionConfig:_0x34bc50}=_0xc66f25,_0x5156af=[],_0x279c8f=[];if(_0x2e0a49===_0x5055e3['New']){const _0x175206=_0x52b598['getSheets']()[_0x5115ae(0x264)],_0x5428cc=_0x369ce1['mergeWorksheetSnapshotWithDefault']({});_0x5428cc['id']=_0x183baf[_0x5115ae(0xf9)][_0x5115ae(0x353)],_0x5428cc[_0x5115ae(0x279)]=(_0x1aac4d=_0x183baf[_0x5115ae(0xf9)][_0x5115ae(0x11e)])!=null?_0x1aac4d:_0x52b598[_0x5115ae(0x219)](''+_0x59a24c['t'](_0x5115ae(0x20d)));const _0x2978c5={'index':_0x175206,'sheet':_0x5428cc,'unitId':_0x426de6},_0x1186e0=_0x298fdb['InsertSheetUndoMutationFactory'](_0x24d184,_0x2978c5);_0x5156af[_0x5115ae(0x3d4)]({'id':_0x298fdb['RemoveSheetMutation']['id'],'params':_0x1186e0}),_0x279c8f['push']({'id':_0x298fdb[_0x5115ae(0x157)]['id'],'params':_0x2978c5});}else{if(!_0x52b598[_0x5115ae(0x2b7)](_0x38cdd2))return!0x1;const _0x2437a6=_0x75bbf(_0x24d184,new _0x2d316f['PivotView'](),_0x14b215,!0x0);_0x279c8f['push'](..._0x2437a6['redos']),_0x5156af[_0x5115ae(0x3d4)](..._0x2437a6[_0x5115ae(0x221)]);const _0x55708d={'cellInfo':_0x14b215,'view':_0x36fb00,'isEmpty':_0x779192};if(!await _0x24d184[_0x5115ae(0x392)](_0x237829[_0x5115ae(0x14b)])[_0x5115ae(0x297)]['fetchThroughAsyncInterceptors'](_0x2f016b)(!0x0,_0x55708d))return!0x1;const _0xd4d0b8=_0x5eb13c(_0x24d184,_0x55708d);_0x279c8f[_0x5115ae(0x3d4)](..._0xd4d0b8['redos']),_0x5156af[_0x5115ae(0x3d4)](..._0xd4d0b8[_0x5115ae(0x221)]);}return _0x279c8f[_0x5115ae(0x3d4)]({'id':_0x307ba8['id'],'params':{'unitId':_0x14b215[_0x5115ae(0x25c)],'subUnitId':_0x14b215[_0x5115ae(0x353)],'pivotTableId':_0x213d98,'pivotTableConfig':{'targetCellInfo':_0x14b215,'sourceRangeInfo':_0x121f4f,'fieldsConfig':_0x4e7021},'collectionConfig':_0x34bc50}}),_0x5156af['unshift']({'id':_0x113373['id'],'params':{'unitId':_0x426de6,'subUnitId':_0x38cdd2,'pivotTableId':_0x213d98}}),_0x369ce1[_0x5115ae(0x2a6)](_0x279c8f,_0x1a68b1)&&_0x585c91['pushUndoRedo']({'unitID':_0x426de6,'undoMutations':_0x5156af,'redoMutations':_0x279c8f}),!0x0;}},_0x396819={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':_0x49f7c3(0x167),async 'handler'(_0x227904,_0x1957d5){const _0x14c70e=_0x49f7c3;if(!_0x1957d5)return!0x1;const _0x1f2085=_0x227904['get'](_0x369ce1[_0x14c70e(0x1f2)]),_0x3cf6c1=_0x227904[_0x14c70e(0x392)](_0x237829[_0x14c70e(0x1d9)]),_0x497a15=_0x227904[_0x14c70e(0x392)](_0x369ce1[_0x14c70e(0x284)]),{pivotTableId:_0xbc7815,fieldId:_0x534766,area:_0x1d8145,index:_0x53d942,unitId:_0x1cb72c,subUnitId:_0x4bd863}=_0x1957d5,_0x4c122d=(await _0x3cf6c1[_0x14c70e(0x28b)]({'unitId':_0x1cb72c,'subUnitId':_0x4bd863,'pivotTableId':_0xbc7815,'params':{'type':_0x2b63fe['MovePivotField'],'movePivotField':{'fieldId':_0x534766,'area':_0x1d8145,'index':_0x53d942}}}))[_0x14c70e(0x108)]['movePivotField'];if(!_0x4c122d)return!0x1;const {changesets:_0x2796df,view:_0x132ed7,isEmpty:_0x4241b6,pivotTableConfig:_0x181ee9}=_0x4c122d,_0x4983aa=_0x181ee9[_0x14c70e(0xf9)],_0x324128=new _0x2d316f['PivotView']();_0x324128[_0x14c70e(0x23b)](_0x132ed7);const _0x666070={'cellInfo':_0x4983aa,'view':_0x324128,'isEmpty':_0x4241b6};if(!await _0x227904[_0x14c70e(0x392)](_0x237829['SheetsPivotTableService'])[_0x14c70e(0x297)][_0x14c70e(0x175)](_0x2f016b)(!0x0,_0x666070))return!0x1;const _0x24475a=_0x75bbf(_0x227904,_0x324128,_0x4983aa,_0x4241b6),_0x1fec94=_0x5eb13c(_0x227904,_0x666070),{redos:_0x513ced,undos:_0x942ce9}=_0x52ee78(_0x1f2085,{'pivotTableId':_0xbc7815,'unitId':_0x1cb72c,'subUnitId':_0x4bd863},_0x2796df);return _0x369ce1[_0x14c70e(0x2a6)]([..._0x24475a[_0x14c70e(0x1da)],..._0x1fec94['redos'],..._0x513ced],_0x1f2085),_0x497a15['pushUndoRedo']({'unitID':_0x1cb72c,'redoMutations':[..._0x24475a[_0x14c70e(0x1da)],..._0x1fec94[_0x14c70e(0x1da)],..._0x513ced],'undoMutations':[..._0x24475a['undos'],..._0x1fec94[_0x14c70e(0x221)],..._0x942ce9]}),!0x0;}},_0x4164f8={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':'sheet.mutation.set-pivot-position','handler'(_0x3a332a,_0x17a6ec){const _0xc0bbff=_0x49f7c3;if(!_0x17a6ec)return!0x1;if(!!_0x3a332a[_0xc0bbff(0x392)](_0x369ce1[_0xc0bbff(0x104)])[_0xc0bbff(0x1df)](_0x2884f3))return!0x0;const {pivotTableId:_0x55d618,targetCellPosition:_0x44aa62,unitId:_0x1589ba,subUnitId:_0x19c0dd}=_0x17a6ec,_0x4308d0=_0x3a332a[_0xc0bbff(0x392)](_0x237829[_0xc0bbff(0x188)]);if(!_0x4308d0[_0xc0bbff(0x2a7)](_0x17a6ec[_0xc0bbff(0x257)]))return!0x1;const _0x212f6e=_0x4308d0['getTargetByPivotId'](_0x55d618);if(!_0x212f6e)return!0x1;const _0x4f217e=_0x4308d0['getCollection'](_0x212f6e[_0xc0bbff(0x25c)],_0x17a6ec[_0xc0bbff(0x257)]);if(!_0x4f217e)return!0x1;const _0x2829c8=_0x4308d0[_0xc0bbff(0x362)](_0x212f6e['unitId'],_0x212f6e['subUnitId'],_0x55d618);if(!_0x2829c8)return!0x1;const _0x33ed9a=_0x369ce1[_0xc0bbff(0x194)][_0xc0bbff(0xd7)](_0x2829c8);_0x33ed9a['targetCellInfo']={'unitId':_0x1589ba,'subUnitId':_0x19c0dd,'row':_0x44aa62[_0xc0bbff(0x27d)],'col':_0x44aa62['col']};const _0x570f6a=_0x4f217e['toJSON']();if(_0x212f6e[_0xc0bbff(0x353)]===_0x19c0dd&&_0x212f6e[_0xc0bbff(0x25c)]===_0x1589ba)_0x4308d0['setPivotTable'](_0x1589ba,_0x19c0dd,_0x55d618,_0x33ed9a),_0x4308d0['addDirtyPivotTable']({'unitId':_0x1589ba,'subUnitId':_0x19c0dd,'token':_0x55d618,'type':_0x48b491[_0xc0bbff(0x1e7)]});else{_0x4308d0[_0xc0bbff(0x23e)]({'unitId':_0x212f6e['unitId'],'subUnitId':_0x212f6e[_0xc0bbff(0x353)],'token':_0x55d618,'type':_0x48b491[_0xc0bbff(0x2f7)]}),_0x4308d0[_0xc0bbff(0x287)](_0x212f6e[_0xc0bbff(0x25c)],_0x212f6e[_0xc0bbff(0x353)],_0x55d618);const _0x554c30=_0x4308d0[_0xc0bbff(0x2c2)](_0x55d618,_0x570f6a,_0x2829c8[_0xc0bbff(0x3ed)],_0x33ed9a[_0xc0bbff(0xf9)]),_0x12a093=new _0x2d316f[(_0xc0bbff(0x162))](_0x554c30[_0xc0bbff(0x145)],void 0x0,_0x55d618);_0x12a093['fromJSON'](_0x33ed9a[_0xc0bbff(0x1d4)]),_0x4308d0[_0xc0bbff(0x1a3)](_0x1589ba,_0x19c0dd,_0x55d618,_0x12a093,_0x33ed9a),_0x4308d0[_0xc0bbff(0x23e)]({'unitId':_0x1589ba,'subUnitId':_0x19c0dd,'token':_0x55d618,'type':_0x48b491['Add'],'pivotConfig':_0x33ed9a});}return!0x0;}},_0x4b7c6b={'type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'id':_0x49f7c3(0x2fa),'handler':(_0x5f6906,_0x63d831)=>{const _0x21cec1=_0x49f7c3;if(!_0x63d831)return!0x1;const _0x3e6d1f=_0x298fdb[_0x21cec1(0x3b6)](_0x5f6906[_0x21cec1(0x392)](_0x369ce1['IUniverInstanceService']),{'unitId':_0x63d831['targetCellInfo']['unitId'],'subUnitId':_0x63d831[_0x21cec1(0xf9)][_0x21cec1(0x353)]});if(!_0x3e6d1f)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x5aa681=_0x5f6906[_0x21cec1(0x392)](_0x237829[_0x21cec1(0x3ae)])[_0x21cec1(0x362)](_0x63d831[_0x21cec1(0x189)][_0x21cec1(0x25c)],_0x63d831[_0x21cec1(0x189)][_0x21cec1(0x353)],_0x63d831[_0x21cec1(0x257)]);if(!_0x5aa681)return!0x1;const _0x2c7ef0=_0x5f6906['get'](_0x369ce1[_0x21cec1(0x1f2)]),_0x558e12=_0x5f6906['get'](_0x369ce1[_0x21cec1(0x284)]),{unitId:_0x3b2486,subUnitId:_0x27a9fd,worksheet:_0x818d0d}=_0x3e6d1f,_0x1d3144=_0x818d0d[_0x21cec1(0x268)](),_0xe24ca3=_0x818d0d[_0x21cec1(0x158)]();if(_0x63d831['targetCellInfo'][_0x21cec1(0x27d)]>_0x1d3144||_0x63d831['targetCellInfo'][_0x21cec1(0x2d3)]>_0xe24ca3)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x2c0998=[{'id':_0x4164f8['id'],'params':{'unitId':_0x3b2486,'subUnitId':_0x63d831[_0x21cec1(0xf9)][_0x21cec1(0x353)],'pivotTableId':_0x63d831['pivotTableId'],'targetCellPosition':{'row':_0x63d831['targetCellInfo']['row'],'col':_0x63d831[_0x21cec1(0xf9)][_0x21cec1(0x2d3)]}}}],_0x2d6052=[{'id':_0x4164f8['id'],'params':{'unitId':_0x3b2486,'subUnitId':_0x27a9fd,'pivotTableId':_0x63d831[_0x21cec1(0x257)],'targetCellPosition':{'row':_0x5aa681['targetCellInfo'][_0x21cec1(0x27d)],'col':_0x5aa681[_0x21cec1(0xf9)][_0x21cec1(0x2d3)]}}}];return _0x369ce1[_0x21cec1(0x2a6)](_0x2c0998,_0x2c7ef0)&&_0x558e12[_0x21cec1(0x122)]({'unitID':_0x3b2486,'undoMutations':_0x2d6052,'redoMutations':_0x2c0998}),!0x0;}},_0xd040c9={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x34f),async 'handler'(_0x4633b7,_0x563034){const _0x3c9677=_0x49f7c3;var _0x5afbf0;if(!_0x563034)return!0x1;const _0xd67d18=_0x4633b7['get'](_0x369ce1[_0x3c9677(0x389)]),_0x45ada3=_0x298fdb[_0x3c9677(0x3b6)](_0xd67d18);if(!_0x45ada3)return!0x1;const {unitId:_0x49f950,subUnitId:_0x2c7f4a,workbook:_0x295fa5}=_0x45ada3,{row:_0x36b7aa,col:_0x25837e}=_0x563034,_0x51ee9c=_0x4633b7['get'](_0x237829[_0x3c9677(0x10d)]),_0x2833ac=_0x51ee9c[_0x3c9677(0xec)](_0x49f950,_0x2c7f4a,_0x36b7aa,_0x25837e);if(!_0x2833ac)return!0x1;const _0x40be84=(_0x5afbf0=_0x51ee9c[_0x3c9677(0x2b0)](_0x49f950,_0x2c7f4a,_0x2833ac))==null?void 0x0:_0x5afbf0[_0x3c9677(0x142)];if(!_0x40be84)return!0x1;const _0x5ee5e0=_0x4633b7['get'](_0x237829[_0x3c9677(0x3ae)])[_0x3c9677(0x362)](_0x49f950,_0x2c7f4a,_0x2833ac);if(!_0x5ee5e0)return!0x1;const {rowInfo:_0x3cee85,colInfo:_0xe458b4}=_0x40be84,_0x2e2e7e=_0x3cee85[_0x36b7aa][_0x3c9677(0x3eb)],_0x36d5ba=_0xe458b4[_0x25837e]['paths'],_0x435795=_0x3cee85[_0x36b7aa][_0x3c9677(0x1fe)],_0x5c50a0=_0xe458b4[_0x25837e][_0x3c9677(0x1fe)],_0x585fc1=_0x2e2e7e[_0x3c9677(0x2fb)](_0x36d5ba),_0x208508=_0x5ee5e0[_0x3c9677(0x1d4)][_0x3c9677(0x3a6)][_0x3c9677(0xd0)](0x0,_0x435795),_0x11cbe2=_0x5ee5e0['fieldsConfig'][_0x3c9677(0x225)][_0x3c9677(0xd0)](0x0,_0x5c50a0),_0x373d72=_0x208508[_0x3c9677(0x2fb)](_0x11cbe2),_0x1da93b=_0x585fc1['map']((_0x1cd546,_0x20324e)=>[_0x1cd546,_0x373d72[_0x20324e]]),_0x42f5e1=(await _0x4633b7[_0x3c9677(0x392)](_0x237829[_0x3c9677(0x1d9)])[_0x3c9677(0x28b)]({'unitId':_0x49f950,'subUnitId':_0x2c7f4a,'pivotTableId':_0x2833ac,'params':{'type':_0x2b63fe['DrillDown'],'drillDown':{'tuple':_0x1da93b}}}))[_0x3c9677(0x108)][_0x3c9677(0x19d)];if(!_0x42f5e1)return!0x1;const {indexes:_0x4a7b7d,range:_0x57787e,sourceUnitId:_0x420cd4,sourceSubUnitId:_0x4a065f,formatMap:_0x402511}=_0x42f5e1,{startRow:_0x365583,endRow:_0x10c684,startColumn:_0x2e9cef,endColumn:_0x63f85f}=_0x57787e,_0xa82e93=new _0x369ce1[(_0x3c9677(0x2bf))](),_0x1b7348=_0x10c684-_0x365583,_0x2f32d1=_0x63f85f-_0x2e9cef,_0x3336dc={},_0x3c011b=_0x298fdb[_0x3c9677(0x3b6)](_0xd67d18,{'unitId':_0x420cd4,'subUnitId':_0x4a065f});if(!_0x3c011b)return!0x1;const _0x3a17c4=_0x47e2f1[_0x3c9677(0x21e)],_0x37ecb9=_0x47e2f1[_0x3c9677(0x24a)],_0x38d332=_0x47e2f1[_0x3c9677(0x24a)],_0x3a7b5d=_0x295fa5[_0x3c9677(0x106)]()['setValue'](_0x3a17c4),_0x7c5d2e=_0x295fa5[_0x3c9677(0x106)]()[_0x3c9677(0x1e4)](_0x37ecb9),_0x1a717e=_0x295fa5[_0x3c9677(0x106)]()['setValue'](_0x38d332),{worksheet:_0x501b0a}=_0x3c011b;let _0x26925d=0x0;const _0x14f9bb=0x1;_0x4a7b7d['forEach'](_0x55310f=>{const _0x51738e=_0x3c9677;for(let _0x16ddd0=0x0;_0x16ddd0<=_0x63f85f-_0x2e9cef;_0x16ddd0++)_0xa82e93[_0x51738e(0x1e4)](_0x26925d,_0x16ddd0,_0x501b0a['getCellRaw'](_0x55310f+_0x57787e['startRow']+_0x14f9bb,_0x16ddd0));_0x26925d++;});for(let _0x160dc1=_0x2e9cef;_0x160dc1<=_0x63f85f;_0x160dc1++){const _0x5d0c16=_0x501b0a[_0x3c9677(0x150)](_0x365583,_0x160dc1);_0x3336dc[_0x365583]||(_0x3336dc[_0x365583]={}),_0x3336dc[_0x365583][_0x160dc1]={..._0x5d0c16,'s':_0x3a7b5d};}let _0x3ba1b0=0x1;const _0xbe1977={},_0xb975f5={};_0xa82e93['forRow']((_0x5d995f,_0x467e2f)=>{const _0x40e69c=_0x3c9677;_0x467e2f[_0x40e69c(0x10a)](_0x6f2e6e=>{const _0x34d278=_0x40e69c,_0x8bccd7=_0xa82e93[_0x34d278(0x1a0)](_0x5d995f,_0x6f2e6e);if(_0x3336dc[_0x3ba1b0]||(_0x3336dc[_0x3ba1b0]={}),_0x3336dc[_0x3ba1b0][_0x6f2e6e]={..._0x8bccd7,'s':_0x3ba1b0%0x2===0x0?_0x1a717e:_0x7c5d2e},_0x402511[_0x6f2e6e]&&_0x5d995f>=0x0){const _0x4b7a7a=_0x3ba1b0%0x2===0x0;let _0x3bd6c0=_0x4b7a7a?_0xb975f5[_0x6f2e6e]:_0xbe1977[_0x6f2e6e];_0x3bd6c0||(_0x3bd6c0=_0x295fa5[_0x34d278(0x106)]()[_0x34d278(0x1e4)]({..._0x4b7a7a?_0x38d332:_0x37ecb9,'n':{'pattern':_0x402511[_0x6f2e6e]}}),_0x4b7a7a?_0xb975f5[_0x6f2e6e]=_0x3bd6c0:_0xbe1977[_0x6f2e6e]=_0x3bd6c0),_0x3336dc[_0x3ba1b0][_0x6f2e6e]['s']=_0x3bd6c0;}}),_0x3ba1b0++;});const _0x45b62d=new _0x369ce1[(_0x3c9677(0x2bf))](_0x3336dc),_0x3c6da2={};_0x45b62d['forValue']((_0x4e9c06,_0x250b6b,_0x2696b7)=>{_0x3c6da2[_0x4e9c06]||(_0x3c6da2[_0x4e9c06]={}),_0x3c6da2[_0x4e9c06][_0x250b6b]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x27ed9f=[],_0x5e35b5=[],_0x1df6af=_0x295fa5[_0x3c9677(0x331)]()[_0x3c9677(0x264)],_0x46c210=_0x369ce1[_0x3c9677(0x3bd)]({'rowCount':Math[_0x3c9677(0x350)](_0x369ce1[_0x3c9677(0x18c)],_0x1b7348+0xa),'columnCount':Math['max'](_0x369ce1['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x2f32d1+0x5)}),_0x5e94be=_0x4633b7[_0x3c9677(0x392)](_0x369ce1[_0x3c9677(0x18e)]);_0x46c210['id']=_0x369ce1[_0x3c9677(0x379)](),_0x46c210[_0x3c9677(0x279)]=_0x295fa5[_0x3c9677(0x219)](''+_0x5e94be['t'](_0x3c9677(0x20d)));const _0x37c9f5={'index':_0x1df6af,'sheet':_0x46c210,'unitId':_0x49f950},_0x171698=_0x298fdb[_0x3c9677(0x16a)](_0x4633b7,_0x37c9f5);_0x5e35b5[_0x3c9677(0x3d4)]({'id':_0x298fdb[_0x3c9677(0x157)]['id'],'params':_0x37c9f5}),_0x27ed9f[_0x3c9677(0x3d4)]({'id':_0x298fdb[_0x3c9677(0x208)]['id'],'params':_0x171698}),_0x5e35b5['push']({'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id'],'cellValue':_0x3336dc}}),_0x27ed9f[_0x3c9677(0x394)]({'id':_0x298fdb['SetRangeValuesMutation']['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id'],'cellValue':_0x3c6da2}});const _0x2d2b43={'startRow':0x0,'startColumn':0x0,'endRow':_0x3ba1b0-0x1,'endColumn':_0x63f85f};_0x5e35b5[_0x3c9677(0x3d4)]({'id':_0xc31ffa[_0x3c9677(0x16b)]['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id'],'range':_0x2d2b43}}),_0x27ed9f['unshift']({'id':_0xc31ffa[_0x3c9677(0x2ea)]['id'],'params':{'unitId':_0x49f950,'subUnitId':_0x46c210['id']}});const _0x58da8d=_0x4633b7[_0x3c9677(0x392)](_0x369ce1[_0x3c9677(0x1f2)]);return _0x369ce1['sequenceExecute'](_0x5e35b5,_0x58da8d)&&_0x4633b7['get'](_0x369ce1['IUndoRedoService'])[_0x3c9677(0x122)]({'unitID':_0x49f950,'undoMutations':_0x27ed9f,'redoMutations':_0x5e35b5}),!0x0;}},_0x3c6b2d={'type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x4dad30,_0x2c85eb){const _0x3ce6ef=_0x49f7c3;if(!_0x2c85eb)return!0x1;const _0xf2e382=_0x4dad30['get'](_0x369ce1['ICommandService']),_0x1ea753=_0x4dad30[_0x3ce6ef(0x392)](_0x237829[_0x3ce6ef(0x1d9)]),_0xb42647=_0x4dad30['get'](_0x369ce1[_0x3ce6ef(0x284)]),{pivotTableId:_0xd16963,fieldIds:_0x1344c7,unitId:_0x2265d1,subUnitId:_0x41b88a}=_0x2c85eb,_0x15cdb8=(await _0x1ea753[_0x3ce6ef(0x28b)]({'unitId':_0x2265d1,'subUnitId':_0x41b88a,'pivotTableId':_0xd16963,'params':{'type':_0x2b63fe['RemovePivotField'],'removePivotField':{'fieldIds':_0x1344c7}}}))[_0x3ce6ef(0x108)][_0x3ce6ef(0x24e)];if(!_0x15cdb8)return!0x1;const {view:_0x115b54,changesets:_0x467d16,isEmpty:_0x280b44,pivotTableConfig:_0x53bf69}=_0x15cdb8,_0x3e5f14=_0x53bf69['targetCellInfo'],_0x25c38f=new _0x2d316f[(_0x3ce6ef(0x3be))]();_0x25c38f[_0x3ce6ef(0x23b)](_0x115b54);const _0x4778cc={'cellInfo':_0x3e5f14,'view':_0x25c38f,'isEmpty':_0x280b44};if(!await _0x4dad30[_0x3ce6ef(0x392)](_0x237829[_0x3ce6ef(0x14b)])[_0x3ce6ef(0x297)][_0x3ce6ef(0x175)](_0x2f016b)(!0x0,_0x4778cc))return!0x1;const _0x41c4b6=_0x75bbf(_0x4dad30,_0x25c38f,_0x3e5f14,_0x280b44),_0x47d699=_0x5eb13c(_0x4dad30,_0x4778cc),{redos:_0x5909e8,undos:_0x14ad6}=_0x52ee78(_0xf2e382,{'pivotTableId':_0xd16963,'unitId':_0x2265d1,'subUnitId':_0x41b88a},_0x467d16);return _0x369ce1[_0x3ce6ef(0x2a6)]([..._0x41c4b6[_0x3ce6ef(0x1da)],..._0x47d699[_0x3ce6ef(0x1da)],..._0x5909e8],_0xf2e382),_0xb42647[_0x3ce6ef(0x122)]({'unitID':_0x2265d1,'redoMutations':[..._0x41c4b6[_0x3ce6ef(0x1da)],..._0x47d699[_0x3ce6ef(0x1da)],..._0x5909e8],'undoMutations':[..._0x41c4b6[_0x3ce6ef(0x221)],..._0x47d699[_0x3ce6ef(0x221)],..._0x14ad6]}),!0x0;}},_0x5d942b={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x138),async 'handler'(_0x488bb3,_0x4144d1){const _0x1c4d04=_0x49f7c3;if(!_0x4144d1)return!0x1;const _0x521186=_0x488bb3[_0x1c4d04(0x392)](_0x369ce1[_0x1c4d04(0x1f2)]),_0x71b1b0=_0x488bb3[_0x1c4d04(0x392)](_0x369ce1[_0x1c4d04(0x284)]),_0x4914c4=_0x488bb3[_0x1c4d04(0x392)](_0x237829['SheetsPivotRPCService']),{resetArea:_0x3d1ba8,pivotTableId:_0x4647dc,unitId:_0x444dd6,subUnitId:_0x45d95b}=_0x4144d1,_0x27ec1f=(await _0x4914c4['getPivotDisplayConfig']({'unitId':_0x444dd6,'subUnitId':_0x45d95b,'pivotTableId':_0x4647dc,'params':{'type':_0x2b63fe[_0x1c4d04(0x348)],'resetPivotTable':{'pivotTableId':_0x4647dc,'resetArea':_0x3d1ba8}}}))[_0x1c4d04(0x108)]['resetPivotTable'];if(!_0x27ec1f)return!0x1;const {changesets:_0x79839b}=_0x27ec1f,{redos:_0x5bc3b5,undos:_0xbddad9}=_0x52ee78(_0x521186,{'pivotTableId':_0x4647dc,'unitId':_0x444dd6,'subUnitId':_0x45d95b},_0x79839b);return _0x369ce1[_0x1c4d04(0x2a6)](_0x5bc3b5,_0x521186),_0x71b1b0[_0x1c4d04(0x122)]({'unitID':_0x444dd6,'redoMutations':_0x5bc3b5,'undoMutations':_0xbddad9}),!0x0;}},_0x2c8263={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x1f2a07,_0x2f7849){const _0x5b8cd1=_0x49f7c3,_0x2384f2=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1[_0x5b8cd1(0x1f2)]),_0x5bf79d=_0x1f2a07[_0x5b8cd1(0x392)](_0x237829[_0x5b8cd1(0x1d9)]),_0x24faf3=_0x1f2a07[_0x5b8cd1(0x392)](_0x237829[_0x5b8cd1(0x10d)]),_0x577536=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1['IUniverInstanceService']),_0x566af8=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1[_0x5b8cd1(0x18e)]),_0x257961=_0x1f2a07[_0x5b8cd1(0x392)](_0x369ce1[_0x5b8cd1(0x284)]);if(!_0x2f7849)return!0x1;const {unitId:_0x35dae2,subUnitId:_0x159467,row:_0x54d96a,col:_0xdebef4,collapse:_0x557e71}=_0x2f7849,_0x5b5a90=_0x577536[_0x5b8cd1(0x13e)](_0x35dae2);if(!_0x5b5a90||!_0x5b5a90['getSheetBySheetId'](_0x159467))return!0x1;const _0x366f5f=_0x24faf3[_0x5b8cd1(0xec)](_0x35dae2,_0x159467,_0x54d96a,_0xdebef4);if(!_0x366f5f)return!0x1;const _0x2f72fe=_0x24faf3['getPivotItemRenderInfoCache'](_0x35dae2,_0x159467,_0x366f5f);if(!_0x2f72fe)return!0x1;const _0x47ce7b=_0x369ce1[_0x5b8cd1(0x102)](_0x54d96a,_0xdebef4),{rangesInfo:_0x3d2d51,areaInfo:_0x352823,headerMap:_0x149b75}=_0x2f72fe;if(!_0x3d2d51||!_0x352823||!_0x149b75)return!0x1;const _0x2d35d9=Object[_0x5b8cd1(0x3e2)](_0x3d2d51)['find'](_0x276173=>_0x3d2d51[_0x276173][_0x5b8cd1(0x172)](_0x1e1b48=>_0x369ce1[_0x5b8cd1(0x32a)][_0x5b8cd1(0x1f0)](_0x1e1b48,_0x47ce7b)));let _0x30edc9;_0x2d35d9===_0x5b8cd1(0x18a)?_0x30edc9=_0x149b75[_0x5b8cd1(0x2b9)][_0xdebef4]:_0x2d35d9==='colRanges'&&(_0x30edc9=_0x149b75[_0x5b8cd1(0x314)][_0x54d96a]);const _0x5c9282=_0x30edc9==null?void 0x0:_0x30edc9['tableFieldId'],_0x1d3ab6=_0x24faf3['getPivotTableCellData'](_0x35dae2,_0x159467,_0x54d96a,_0xdebef4);let _0x3741d1=_0x1d3ab6==null?void 0x0:_0x1d3ab6['v'];if(_0x3741d1===_0x566af8['t']('sheets-pivot.blank')&&(_0x3741d1=_0x2d316f[_0x5b8cd1(0x160)][_0x5b8cd1(0x13a)]),_0x3741d1==null||!_0x366f5f||!_0x5c9282)return!0x1;const _0x37082b=await _0x5bf79d[_0x5b8cd1(0x28b)]({'unitId':_0x35dae2,'subUnitId':_0x159467,'pivotTableId':_0x366f5f,'params':{'type':_0x2b63fe[_0x5b8cd1(0x1b2)],'setPivotCollapse':{'tableFieldId':_0x5c9282,'collapse':_0x557e71,'item':_0x3741d1}}}),_0x512b25=_0x37082b==null?void 0x0:_0x37082b[_0x5b8cd1(0x108)][_0x5b8cd1(0x335)];if(!_0x512b25)return!0x1;const {view:_0x145e4a,pivotTableConfig:_0x22a3af,isEmpty:_0x52b6c2,changesets:_0x4055cd}=_0x512b25,_0x3324e1=new _0x2d316f[(_0x5b8cd1(0x3be))]();_0x3324e1[_0x5b8cd1(0x23b)](_0x145e4a);const _0x4b2791=_0x22a3af[_0x5b8cd1(0xf9)],_0x49e385={'cellInfo':_0x4b2791,'view':_0x3324e1,'isEmpty':_0x52b6c2};if(!await _0x1f2a07[_0x5b8cd1(0x392)](_0x237829['SheetsPivotTableService'])[_0x5b8cd1(0x297)]['fetchThroughAsyncInterceptors'](_0x2f016b)(!0x0,_0x49e385))return!0x1;const _0x4b2550=_0x75bbf(_0x1f2a07,_0x3324e1,_0x4b2791,_0x52b6c2),_0x3debe2=_0x5eb13c(_0x1f2a07,_0x49e385),{redos:_0x327f13,undos:_0x595f4e}=_0x52ee78(_0x2384f2,{'pivotTableId':_0x366f5f,'unitId':_0x35dae2,'subUnitId':_0x159467},_0x4055cd);return _0x369ce1[_0x5b8cd1(0x2a6)]([..._0x4b2550[_0x5b8cd1(0x1da)],..._0x3debe2[_0x5b8cd1(0x1da)],..._0x327f13],_0x2384f2),_0x257961[_0x5b8cd1(0x122)]({'unitID':_0x35dae2,'redoMutations':[..._0x4b2550[_0x5b8cd1(0x1da)],..._0x3debe2[_0x5b8cd1(0x1da)],..._0x327f13],'undoMutations':[..._0x4b2550[_0x5b8cd1(0x221)],..._0x3debe2[_0x5b8cd1(0x221)],..._0x595f4e]}),!0x0;}},_0x3f45e7={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x391),async 'handler'(_0xc1c024,_0xe2db37){const _0x267d7e=_0x49f7c3;if(!_0xe2db37)return!0x1;const _0x242963=_0xc1c024[_0x267d7e(0x392)](_0x369ce1[_0x267d7e(0x1f2)]),_0x2d4d15=_0xc1c024[_0x267d7e(0x392)](_0x369ce1[_0x267d7e(0x284)]),_0x2d83a8=_0xc1c024[_0x267d7e(0x392)](_0x237829[_0x267d7e(0x1d9)]),{pivotTableConfig:_0x370c8f,pivotTableId:_0x5521a8,unitId:_0x1263b4,subUnitId:_0x3d3692}=_0xe2db37,_0x2d4933=(await _0x2d83a8[_0x267d7e(0x28b)]({'unitId':_0x1263b4,'subUnitId':_0x3d3692,'pivotTableId':_0x5521a8,'params':{'type':_0x2b63fe[_0x267d7e(0x2ef)],'setPivotTableConfig':{'pivotTableId':_0x5521a8,'pivotTableConfig':_0x370c8f}}}))[_0x267d7e(0x108)][_0x267d7e(0x3ca)];if(!_0x2d4933)return!0x1;const {changesets:_0x5c1ede}=_0x2d4933,{redos:_0x2e9beb,undos:_0x3577eb}=_0x52ee78(_0x242963,{'pivotTableId':_0x5521a8,'unitId':_0x1263b4,'subUnitId':_0x3d3692},_0x5c1ede);return _0x369ce1[_0x267d7e(0x2a6)](_0x2e9beb,_0x242963),_0x2d4d15[_0x267d7e(0x122)]({'unitID':_0x1263b4,'redoMutations':_0x2e9beb,'undoMutations':_0x3577eb}),!0x0;}},_0x71ad3f={'type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'id':_0x49f7c3(0x177),async 'handler'(_0x248f46,_0x4877e5){const _0x4719b3=_0x49f7c3;if(!_0x4877e5)return!0x1;const _0x415e82=_0x248f46['get'](_0x369ce1[_0x4719b3(0x1f2)]),{pivotTableId:_0x5ee4b4,tableFieldId:_0x3af62e,items:_0x12cb31,unitId:_0x495108,subUnitId:_0x3394eb,isAll:_0x1d6aa8}=_0x4877e5,_0x5f5773=_0x248f46[_0x4719b3(0x392)](_0x237829['SheetsPivotRPCService']),_0x48ab28=_0x248f46[_0x4719b3(0x392)](_0x369ce1[_0x4719b3(0x284)]),_0x9a2332=(await _0x5f5773['getPivotDisplayConfig']({'unitId':_0x495108,'subUnitId':_0x3394eb,'pivotTableId':_0x5ee4b4,'params':{'type':_0x2b63fe['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x3af62e,'items':_0x12cb31,'isAll':_0x1d6aa8}}}))[_0x4719b3(0x108)][_0x4719b3(0x3ce)];if(!_0x9a2332)return!0x1;const {changesets:_0x4b8f22,pivotTableConfig:_0x4c0568,isEmpty:_0x31badd,view:_0x33e951}=_0x9a2332,_0x3838aa=_0x4c0568[_0x4719b3(0xf9)],_0x3837b0=new _0x2d316f['PivotView']();_0x3837b0[_0x4719b3(0x23b)](_0x33e951);const _0x2ffb49={'cellInfo':_0x3838aa,'view':_0x3837b0,'isEmpty':_0x31badd};if(!await _0x248f46['get'](_0x237829[_0x4719b3(0x14b)])[_0x4719b3(0x297)][_0x4719b3(0x175)](_0x2f016b)(!0x0,_0x2ffb49))return!0x1;const _0x5826e3=_0x75bbf(_0x248f46,_0x3837b0,_0x3838aa,_0x31badd),_0x4d59e9=_0x5eb13c(_0x248f46,_0x2ffb49),{undos:_0x2c754b,redos:_0x2524b4}=_0x52ee78(_0x415e82,{'pivotTableId':_0x5ee4b4,'unitId':_0x495108,'subUnitId':_0x3394eb},_0x4b8f22);return _0x369ce1[_0x4719b3(0x2a6)]([..._0x5826e3[_0x4719b3(0x1da)],..._0x4d59e9[_0x4719b3(0x1da)],..._0x2524b4],_0x415e82),_0x48ab28[_0x4719b3(0x122)]({'unitID':_0x495108,'redoMutations':[..._0x5826e3['redos'],..._0x4d59e9[_0x4719b3(0x1da)],..._0x2524b4],'undoMutations':[..._0x5826e3[_0x4719b3(0x221)],..._0x4d59e9[_0x4719b3(0x221)],..._0x2c754b]}),!0x0;}},_0x2b8ba3={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':_0x49f7c3(0x2d1),async 'handler'(_0x132eab,_0x5e80b0){const _0x476344=_0x49f7c3;if(!_0x5e80b0)return!0x1;const _0x56fc62=_0x132eab['get'](_0x369ce1['ICommandService']),_0x59e6ad=_0x132eab[_0x476344(0x392)](_0x369ce1[_0x476344(0x284)]),_0x2a198c=_0x132eab['get'](_0x237829[_0x476344(0x1d9)]),{info:_0x58022a,tableFieldId:_0x2f8c89,pivotTableId:_0x1b18f2,unitId:_0x3f902f,subUnitId:_0x2dd7ca}=_0x5e80b0,_0x3a105d=(await _0x2a198c[_0x476344(0x28b)]({'unitId':_0x3f902f,'subUnitId':_0x2dd7ca,'pivotTableId':_0x1b18f2,'params':{'type':_0x2b63fe[_0x476344(0x3df)],'setPivotSort':{'tableFieldId':_0x2f8c89,'info':_0x58022a}}}))[_0x476344(0x108)][_0x476344(0x294)];if(!_0x3a105d)return!0x1;const {changesets:_0x1d1020}=_0x3a105d,{redos:_0x28c428,undos:_0x3f91ff}=_0x52ee78(_0x56fc62,{'pivotTableId':_0x1b18f2,'unitId':_0x3f902f,'subUnitId':_0x2dd7ca},_0x1d1020);return _0x369ce1['sequenceExecute'](_0x28c428,_0x56fc62),_0x59e6ad[_0x476344(0x122)]({'unitID':_0x3f902f,'redoMutations':_0x28c428,'undoMutations':_0x3f91ff}),!0x0;}},_0x2c3c65={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x3a2),async 'handler'(_0x5f2ee2,_0x17e9b2){const _0x15719a=_0x49f7c3;if(!_0x17e9b2)return!0x1;const _0x1ecdbc=_0x5f2ee2[_0x15719a(0x392)](_0x369ce1[_0x15719a(0x1f2)]),{pivotTableId:_0x15e993,fieldId:_0x5886fc,valueFilterInfo:_0x1b0b2e,unitId:_0x530e71,subUnitId:_0x2e546e}=_0x17e9b2,_0x455b6a=_0x5f2ee2[_0x15719a(0x392)](_0x237829[_0x15719a(0x1d9)]),_0x13929d=_0x5f2ee2[_0x15719a(0x392)](_0x369ce1[_0x15719a(0x284)]),_0x4dbffe=(await _0x455b6a[_0x15719a(0x28b)]({'unitId':_0x530e71,'subUnitId':_0x2e546e,'pivotTableId':_0x15e993,'params':{'type':_0x2b63fe['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x5886fc,'filterInfo':_0x1b0b2e}}}))[_0x15719a(0x108)][_0x15719a(0x17c)];if(!_0x4dbffe)return!0x1;const {changesets:_0x55882c,pivotTableConfig:_0x26254b,isEmpty:_0x11c164,view:_0x213fc9}=_0x4dbffe,_0x36f4cd=_0x26254b[_0x15719a(0xf9)],_0x18e2f7=new _0x2d316f[(_0x15719a(0x3be))]();_0x18e2f7[_0x15719a(0x23b)](_0x213fc9);const _0x4ceaad={'cellInfo':_0x36f4cd,'view':_0x18e2f7,'isEmpty':_0x11c164};if(!await _0x5f2ee2[_0x15719a(0x392)](_0x237829['SheetsPivotTableService'])[_0x15719a(0x297)][_0x15719a(0x175)](_0x2f016b)(!0x0,_0x4ceaad))return!0x1;const _0x54b816=_0x75bbf(_0x5f2ee2,_0x18e2f7,_0x36f4cd,_0x11c164),_0x376fd3=_0x5eb13c(_0x5f2ee2,_0x4ceaad),{undos:_0x488148,redos:_0x2d82a6}=_0x52ee78(_0x1ecdbc,{'pivotTableId':_0x15e993,'unitId':_0x530e71,'subUnitId':_0x2e546e},_0x55882c);return _0x369ce1['sequenceExecute']([..._0x54b816[_0x15719a(0x1da)],..._0x376fd3['redos'],..._0x2d82a6],_0x1ecdbc),_0x13929d[_0x15719a(0x122)]({'unitID':_0x530e71,'redoMutations':[..._0x54b816[_0x15719a(0x1da)],..._0x376fd3['redos'],..._0x2d82a6],'undoMutations':[..._0x54b816[_0x15719a(0x221)],..._0x376fd3[_0x15719a(0x221)],..._0x488148]}),!0x0;}},_0x38cd28={'id':_0x49f7c3(0x1c4),'type':_0x369ce1['CommandType'][_0x49f7c3(0x1f4)],'handler':(_0x2d1726,_0x2acbaa)=>{const _0x31d7d1=_0x49f7c3;if(!_0x2acbaa)return!0x1;if(!!_0x2d1726['get'](_0x369ce1[_0x31d7d1(0x104)])[_0x31d7d1(0x1df)](_0x2884f3))return!0x0;const {unitId:_0x31aea8,subUnitId:_0x1032db,pivotTableId:_0x1a0799,tableFieldId:_0x2ce3bc,dateType:_0x12fee1}=_0x2acbaa,_0x2fd66d=_0x2d1726[_0x31d7d1(0x392)](_0x237829['SheetsPivotDataSourceModel']),_0x159042=_0x2fd66d[_0x31d7d1(0x2a7)](_0x1a0799);if(!_0x159042)return!0x1;const _0x59efb5=_0x159042[_0x31d7d1(0x275)](_0x2ce3bc);if(!_0x59efb5)return!0x1;const _0x4d93d6=_0x59efb5[_0x31d7d1(0x371)](),_0x2e2d9c=_0x159042['getDataFieldByDataFieldId'](_0x4d93d6),_0x19e879=(_0x2e2d9c==null?void 0x0:_0x2e2d9c['getName']())+'\x20'+_0x3b9b16(_0x2d1726,_0x12fee1);_0x2fd66d[_0x31d7d1(0x1c5)](_0x31aea8,_0x1a0799)['setDisplayName'](_0x59efb5['id'],_0x19e879);const _0x258654=_0x159042['getTableFieldById'](_0x2ce3bc);if(!_0x258654)return!0x1;_0x159042[_0x31d7d1(0x240)](_0x258654['getId'](),_0x19e879),_0x59efb5[_0x31d7d1(0x346)](_0x12fee1);const _0xf351f1=_0x2fd66d[_0x31d7d1(0x362)](_0x31aea8,_0x1032db,_0x1a0799);return _0x2fd66d[_0x31d7d1(0x23e)]({'unitId':_0x31aea8,'subUnitId':_0x1032db,'token':_0x1a0799,'type':_0x48b491['Set'],'pivotConfig':_0xf351f1}),!0x0;}},_0x3c035d={'id':'sheet.command.update-date-group','type':_0x369ce1['CommandType'][_0x49f7c3(0x323)],'handler':(_0x337745,_0x3888c1)=>{const _0x213b94=_0x49f7c3;if(!_0x3888c1)return!0x1;const _0x53f215=_0x337745['get'](_0x369ce1[_0x213b94(0x284)]),{unitId:_0x3e2f07,subUnitId:_0xccc041,pivotTableId:_0x4a0a32,tableFieldId:_0x3b3e4e}=_0x3888c1,_0x20ec11=[],_0x467068=[],_0x127974=_0x337745[_0x213b94(0x392)](_0x237829[_0x213b94(0x3ae)]),_0x4b0f47=_0x127974[_0x213b94(0x1c5)](_0x3e2f07,_0x4a0a32),_0x4b9028=_0x127974['getPivotTableConfig'](_0x3e2f07,_0xccc041,_0x4a0a32);if(!(_0x4b9028!=null&&_0x4b9028['fieldsConfig'][_0x213b94(0x26f)]))return!0x1;const _0x4a389e=Object[_0x213b94(0x3a7)](_0x4b9028[_0x213b94(0x1d4)]['dimension'])[_0x213b94(0x30b)](_0x3af037=>_0x3af037['id']===_0x3b3e4e);if(!_0x4a389e)return!0x1;const _0x134e72=_0x4a389e[_0x213b94(0x3e8)];if(!(_0x4b0f47!=null&&_0x4b0f47[_0x213b94(0x3ea)]))return!0x1;const _0x49f508=Object[_0x213b94(0x3a7)](_0x4b0f47==null?void 0x0:_0x4b0f47[_0x213b94(0x3ea)])[_0x213b94(0x30b)](_0x13d97d=>_0x13d97d['id']===_0x134e72);if(!_0x49f508)return!0x1;_0x2d316f[_0x213b94(0x266)](_0x49f508)&&_0x20ec11[_0x213b94(0x3d4)]({'id':_0x38cd28['id'],'params':{..._0x3888c1,'dateType':_0x49f508['dateType']}}),_0x467068[_0x213b94(0x3d4)]({'id':_0x38cd28['id'],'params':{..._0x3888c1}});const _0x451769=_0x337745[_0x213b94(0x392)](_0x369ce1[_0x213b94(0x1f2)]);return _0x369ce1[_0x213b94(0x2a6)](_0x467068,_0x451769)&&_0x53f215['pushUndoRedo']({'unitID':_0x3e2f07,'undoMutations':_0x20ec11,'redoMutations':_0x467068}),!0x0;}},_0x3af91c={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0xf6),async 'handler'(_0x4f718f,_0x58b23f){const _0x3a633d=_0x49f7c3;if(!_0x58b23f)return!0x1;const _0x2c4a33=_0x4f718f[_0x3a633d(0x392)](_0x369ce1[_0x3a633d(0x1f2)]),_0x29cf36=_0x4f718f['get'](_0x369ce1['IUndoRedoService']),_0xca9c35=_0x4f718f[_0x3a633d(0x392)](_0x237829[_0x3a633d(0x1d9)]),{displayName:_0x9bd61c,subtotalType:_0x5bea68,format:_0x40d626,tableFieldId:_0x5d849c,pivotTableId:_0x15e93e,unitId:_0x378e0f,subUnitId:_0x1583b0}=_0x58b23f,_0x199749=(await _0xca9c35[_0x3a633d(0x28b)]({'unitId':_0x378e0f,'subUnitId':_0x1583b0,'pivotTableId':_0x15e93e,'params':{'type':_0x2b63fe[_0x3a633d(0x31e)],'setPivotSetting':{'tableFieldId':_0x5d849c,'displayName':_0x9bd61c,'subtotalType':_0x5bea68,'format':_0x40d626}}}))[_0x3a633d(0x108)][_0x3a633d(0x342)];if(!_0x199749)return!0x1;const {changesets:_0x226508,view:_0x167892,pivotTableConfig:_0x34cd18,isEmpty:_0x106b02}=_0x199749,_0x4f6779=_0x34cd18['targetCellInfo'],_0x31b7f0=new _0x2d316f[(_0x3a633d(0x3be))]();_0x31b7f0[_0x3a633d(0x23b)](_0x167892);const _0x1826ac={'cellInfo':_0x4f6779,'view':_0x31b7f0,'isEmpty':_0x106b02};if(!await _0x4f718f['get'](_0x237829[_0x3a633d(0x14b)])[_0x3a633d(0x297)][_0x3a633d(0x175)](_0x2f016b)(!0x0,_0x1826ac))return!0x1;const _0x3b305f=_0x75bbf(_0x4f718f,_0x31b7f0,_0x4f6779,_0x106b02),_0x497cc2=_0x5eb13c(_0x4f718f,_0x1826ac),{undos:_0x5e44e5,redos:_0x480776}=_0x52ee78(_0x2c4a33,{'pivotTableId':_0x15e93e,'unitId':_0x378e0f,'subUnitId':_0x1583b0},_0x226508);return _0x369ce1[_0x3a633d(0x2a6)]([..._0x3b305f['redos'],..._0x497cc2['redos'],..._0x480776],_0x2c4a33),_0x29cf36[_0x3a633d(0x122)]({'unitID':_0x378e0f,'redoMutations':[..._0x3b305f[_0x3a633d(0x1da)],..._0x497cc2[_0x3a633d(0x1da)],..._0x480776],'undoMutations':[..._0x3b305f[_0x3a633d(0x221)],..._0x497cc2['undos'],..._0x5e44e5]}),!0x0;}},_0x2e1edc={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x1f4)],'id':_0x49f7c3(0x1b9),'handler'(_0x1bd7bd,_0x585271){const _0x28a6c2=_0x49f7c3;if(!_0x585271)return!0x1;if(!!_0x1bd7bd[_0x28a6c2(0x392)](_0x369ce1[_0x28a6c2(0x104)])[_0x28a6c2(0x1df)](_0x2884f3))return!0x0;const _0x461350=_0x1bd7bd[_0x28a6c2(0x392)](_0x237829[_0x28a6c2(0x188)]),{pivotTableId:_0x13b419,deleteIds:_0x570bea,collectionJSON:_0x20c16b,dataRangeInfo:_0x5bdb4d,unitId:_0x45b0ef,subUnitId:_0x5e4e34}=_0x585271,_0x2e01f0=_0x461350['getPivotTableInstance'](_0x13b419),_0x194965=_0x461350[_0x28a6c2(0x362)](_0x45b0ef,_0x5e4e34,_0x13b419);if(!_0x2e01f0||!_0x194965)return!0x1;const {collection:_0x49204c,updateDataFieldList:_0x38eb6f}=_0x461350[_0x28a6c2(0x2c2)](_0x13b419,_0x20c16b,_0x5bdb4d,_0x194965[_0x28a6c2(0xf9)]);_0x461350[_0x28a6c2(0x124)](_0x49204c,_0x38eb6f,_0x5bdb4d),_0x2e01f0[_0x28a6c2(0x241)](_0x49204c);for(const _0xadc10e of _0x570bea)_0x461350[_0x28a6c2(0x19a)](_0x5bdb4d[_0x28a6c2(0x25c)],_0xadc10e);const _0x34b868=_0x461350['getPivotTableConfig'](_0x45b0ef,_0x5e4e34,_0x13b419);return _0x34b868[_0x28a6c2(0x3ed)]=JSON['parse'](JSON['stringify'](_0x5bdb4d)),_0x461350[_0x28a6c2(0x23e)]({'unitId':_0x45b0ef,'subUnitId':_0x5e4e34,'token':_0x13b419,'type':_0x48b491[_0x28a6c2(0x1e7)]}),!0x0;}},_0x1fd2e9={'type':_0x369ce1[_0x49f7c3(0x250)][_0x49f7c3(0x323)],'id':_0x49f7c3(0x3c8),async 'handler'(_0x504ad2,_0xc45b04){const _0x2c1a5d=_0x49f7c3,_0x8385a2=_0x504ad2[_0x2c1a5d(0x392)](_0x369ce1[_0x2c1a5d(0x1f2)]),_0x40b08f=_0x504ad2[_0x2c1a5d(0x392)](_0x237829['SheetsPivotRPCService']),_0x465d3c=_0x504ad2[_0x2c1a5d(0x392)](_0x369ce1['IUndoRedoService']);if(!_0xc45b04)return!0x1;const {token:_0x12f023,dataRangeInfo:_0x104c21,unitId:_0x31aa8b,subUnitId:_0xe53dd1}=_0xc45b04,_0xa021d6=[],_0x37b346=[],_0x8f3978=(await _0x40b08f[_0x2c1a5d(0x28b)]({'unitId':_0x31aa8b,'subUnitId':_0xe53dd1,'pivotTableId':_0x12f023,'params':{'type':_0x2b63fe[_0x2c1a5d(0x14f)],'updatePivotSource':{'dataRangeInfo':_0x104c21,'unitId':_0x31aa8b,'subUnitId':_0xe53dd1}}}))[_0x2c1a5d(0x108)]['updatePivotSource'];if(!_0x8f3978)return!0x1;const {changesets:_0x2f9574,deleteIds:_0x1bc275,collectionConfig:_0x3b3054,oldCollectionConfig:_0x373f0f,view:_0x2e52c7,isEmpty:_0x3dd2d4,pivotTableConfig:_0xb51a7a}=_0x8f3978;_0x37b346[_0x2c1a5d(0x3d4)]({'id':_0x2e1edc['id'],'params':{'pivotTableId':_0x12f023,'deleteIds':_0x1bc275,'collectionJSON':_0x3b3054,'dataRangeInfo':_0x104c21,'unitId':_0x31aa8b,'subUnitId':_0xe53dd1}}),_0xa021d6['unshift']({'id':_0x2e1edc['id'],'params':{'pivotTableId':_0x12f023,'deleteIds':[],'collectionJSON':_0x373f0f,'dataRangeInfo':_0xb51a7a[_0x2c1a5d(0x3ed)],'unitId':_0x31aa8b,'subUnitId':_0xe53dd1}});const _0x43e1f6=_0xb51a7a['targetCellInfo'],_0x26d04e=new _0x2d316f[(_0x2c1a5d(0x3be))]();_0x26d04e[_0x2c1a5d(0x23b)](_0x2e52c7);const _0x57b41c={'cellInfo':_0x43e1f6,'view':_0x26d04e,'isEmpty':_0x3dd2d4};if(!await _0x504ad2[_0x2c1a5d(0x392)](_0x237829[_0x2c1a5d(0x14b)])[_0x2c1a5d(0x297)][_0x2c1a5d(0x175)](_0x2f016b)(!0x0,_0x57b41c))return!0x1;const _0x1b821a=_0x75bbf(_0x504ad2,_0x26d04e,_0x43e1f6,_0x3dd2d4),_0x4627ca=_0x5eb13c(_0x504ad2,_0x57b41c),{undos:_0x150681,redos:_0x8099fc}=_0x52ee78(_0x8385a2,{'pivotTableId':_0x12f023,'unitId':_0x31aa8b,'subUnitId':_0xe53dd1},_0x2f9574);return _0x369ce1[_0x2c1a5d(0x2a6)]([..._0x1b821a[_0x2c1a5d(0x1da)],..._0x4627ca[_0x2c1a5d(0x1da)],..._0x37b346,..._0x150681],_0x8385a2),_0x465d3c['pushUndoRedo']({'unitID':_0x31aa8b,'redoMutations':[..._0x1b821a[_0x2c1a5d(0x1da)],..._0x4627ca[_0x2c1a5d(0x1da)],..._0x37b346,..._0x150681],'undoMutations':[..._0x1b821a[_0x2c1a5d(0x221)],..._0x4627ca[_0x2c1a5d(0x221)],..._0xa021d6,..._0x8099fc]}),!0x0;}},_0x46af38={'type':_0x369ce1[_0x49f7c3(0x250)]['COMMAND'],'id':_0x49f7c3(0x23d),async 'handler'(_0x21b0ab,_0x214b32){const _0x2d0404=_0x49f7c3;if(!_0x214b32)return!0x1;const _0x43b2e8=_0x21b0ab['get'](_0x369ce1[_0x2d0404(0x1f2)]),_0x2f6279=_0x21b0ab[_0x2d0404(0x392)](_0x237829[_0x2d0404(0x1d9)]),_0x460121=_0x21b0ab[_0x2d0404(0x392)](_0x369ce1[_0x2d0404(0x389)]),_0x1c81ed=_0x21b0ab[_0x2d0404(0x392)](_0x369ce1[_0x2d0404(0x284)]),{pivotTableId:_0x15f3ed,position:_0x2e30fe,index:_0x59ca3f}=_0x214b32,_0xf5787=_0x298fdb[_0x2d0404(0x3b6)](_0x460121);if(!_0xf5787)return!0x1;const {unitId:_0x587762,subUnitId:_0xb0970}=_0xf5787,_0x48f147=(await _0x2f6279[_0x2d0404(0x28b)]({'unitId':_0x587762,'subUnitId':_0xb0970,'pivotTableId':_0x15f3ed,'params':{'type':_0x2b63fe[_0x2d0404(0x24b)],'updateValuePosition':{'position':_0x2e30fe,'index':_0x59ca3f}}}))[_0x2d0404(0x108)][_0x2d0404(0x206)];if(!_0x48f147)return!0x1;const {changesets:_0x5f2695,view:_0x2ca8e6,isEmpty:_0x4901cf,pivotTableConfig:_0x3fe3e6}=_0x48f147,_0x217ccc=_0x3fe3e6[_0x2d0404(0xf9)],_0x47afc0=new _0x2d316f[(_0x2d0404(0x3be))]();_0x47afc0[_0x2d0404(0x23b)](_0x2ca8e6);const _0x2cef4d=_0x21b0ab[_0x2d0404(0x392)](_0x237829[_0x2d0404(0x14b)]),_0xf471c0={'cellInfo':_0x217ccc,'view':_0x47afc0,'isEmpty':_0x4901cf};if(!await _0x2cef4d['asyncInterceptor'][_0x2d0404(0x175)](_0x2f016b)(!0x0,_0xf471c0))return!0x1;const _0x2d6b71=_0x75bbf(_0x21b0ab,_0x47afc0,_0x217ccc,_0x4901cf),_0x3ffc92=_0x5eb13c(_0x21b0ab,_0xf471c0),{undos:_0x306772,redos:_0x261db0}=_0x52ee78(_0x43b2e8,{'pivotTableId':_0x15f3ed,'unitId':_0x587762,'subUnitId':_0xb0970},_0x5f2695);return _0x369ce1[_0x2d0404(0x2a6)]([..._0x2d6b71[_0x2d0404(0x1da)],..._0x3ffc92['redos'],..._0x261db0],_0x43b2e8),_0x1c81ed['pushUndoRedo']({'unitID':_0x587762,'redoMutations':[..._0x2d6b71['redos'],..._0x3ffc92['redos'],..._0x261db0],'undoMutations':[..._0x2d6b71[_0x2d0404(0x221)],..._0x3ffc92[_0x2d0404(0x221)],..._0x306772]}),!0x0;}},_0x73bcf2={'type':_0x369ce1['CommandType']['MUTATION'],'id':_0x49f7c3(0x134),'handler'(){return!0x0;}};var _0x3300b0=Object[_0x49f7c3(0x1cd)],_0x5a2172=(_0x580c91,_0x2e7ef1,_0x205425,_0x2a9335)=>{const _0x4f165e=_0x49f7c3;for(var _0x310d5c=_0x2a9335>0x1?void 0x0:_0x2a9335?_0x3300b0(_0x2e7ef1,_0x205425):_0x2e7ef1,_0xafc0dd=_0x580c91[_0x4f165e(0x264)]-0x1,_0x4f57af;_0xafc0dd>=0x0;_0xafc0dd--)(_0x4f57af=_0x580c91[_0xafc0dd])&&(_0x310d5c=_0x4f57af(_0x310d5c)||_0x310d5c);return _0x310d5c;},_0xcbfdf=(_0x1c3cc3,_0x12ad4a)=>(_0x2b7027,_0x26baba)=>_0x12ad4a(_0x2b7027,_0x26baba,_0x1c3cc3);const _0xb29720=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x37275f=(_0x3a6722,_0x562ef2,_0xe86ab4)=>{const _0x332856=_0x49f7c3,_0x281a0b=_0x3a6722[_0x332856(0x12d)];_0x3a6722['iterateFieldDim'](_0x38b724=>{const _0x4a626a=_0x332856,_0x6b4e8=_0x38b724[_0x4a626a(0x2e7)](),_0x259cd4=_0x38b724[_0x4a626a(0x2a5)](),_0x38a2c8=_0x38b724[_0x4a626a(0x21f)](),_0x59c4c2=_0x38b724['getDisplayName']();_0x562ef2[_0x259cd4]&&_0x562ef2[_0x259cd4]===_0x59c4c2&&_0x38a2c8===_0x59c4c2&&(_0x3a6722['renameField'](_0x6b4e8,_0x281a0b[_0x4a626a(0x305)](_0x259cd4)),_0x38b724[_0x4a626a(0x1d6)](_0x281a0b[_0x4a626a(0x305)](_0x259cd4)));}),_0x3a6722[_0x332856(0x1af)](_0x2d316f['PivotTableFiledAreaEnum'][_0x332856(0x30d)],_0x273f5a=>{const _0x19d9aa=_0x332856,_0x3e191b=_0x273f5a[_0x19d9aa(0x2e7)](),_0x5ac451=_0x273f5a[_0x19d9aa(0x2a5)](),_0x5d262c=_0x273f5a[_0x19d9aa(0x21f)](),_0x512508=_0x273f5a[_0x19d9aa(0x305)](),_0x4241f5=_0x273f5a['getSubtotal'](),_0x43f555=_0xe86ab4(_0x5d262c,_0x4241f5);_0x562ef2[_0x5ac451]&&_0x562ef2[_0x5ac451]===_0x5d262c&&_0x43f555===_0x512508&&(_0x3a6722[_0x19d9aa(0x240)](_0x3e191b,_0xe86ab4(_0x281a0b[_0x19d9aa(0x305)](_0x5ac451),_0x4241f5)),_0x273f5a[_0x19d9aa(0x1d6)](_0x281a0b[_0x19d9aa(0x305)](_0x5ac451)));});},_0xee356a=(_0x3db6af,_0x592001,_0x291c2a)=>{const _0x2779a2=_0x49f7c3;var _0x1ffdd8,_0x2e25ed;const {arrayFormulaCellData:_0x12ec97,unitData:_0x57f35b}=_0x592001,{unitId:_0x5bf9d5,subUnitId:_0x948f49}=_0x291c2a,_0x17f127=_0x291c2a['range'],{startColumn:_0x28dc0c,endColumn:_0x19910c}=_0x17f127,_0x2149f1=(_0x1ffdd8=_0x12ec97==null?void 0x0:_0x12ec97[_0x5bf9d5])==null?void 0x0:_0x1ffdd8[_0x948f49],_0x1a7688=(_0x2e25ed=_0x57f35b==null?void 0x0:_0x57f35b[_0x5bf9d5])==null?void 0x0:_0x2e25ed[_0x948f49],_0x385bf7=new Set(),_0x557f22=_0x19910c-_0x28dc0c+0x1,{dirtyRanges:_0x1eee99}=_0x3db6af;if(_0x1eee99)for(const {range:_0x4e9230,sheetId:_0x2b0881,unitId:_0x58d492}of _0x1eee99){if(_0x2b0881!==_0x948f49||_0x5bf9d5!==_0x58d492)continue;const _0x4c46d8=_0x369ce1['Rectangle'][_0x2779a2(0x1b4)](_0x4e9230,_0x17f127);if(_0x4c46d8){const {startColumn:_0x2ac052,endColumn:_0x5e81b0}=_0x4c46d8;for(let _0x5b9517=_0x2ac052;_0x5b9517<=_0x5e81b0;_0x5b9517++)_0x385bf7[_0x2779a2(0xe4)](_0x5b9517);}}if(_0x385bf7[_0x2779a2(0x390)]===_0x557f22||_0x385bf7[_0x2779a2(0x390)]===_0x557f22)return Array[_0x2779a2(0x3ec)](_0x385bf7);if(_0x1a7688){const _0x4aec68=_0x1a7688[_0x2779a2(0xd8)](),_0x52c5e6=Object[_0x2779a2(0x3e2)](_0x4aec68);for(const _0x3b831c of _0x52c5e6){const _0x277cb7=Number(_0x3b831c),_0x46e536=_0x4aec68[_0x277cb7];if(_0x385bf7[_0x2779a2(0x390)]===_0x557f22)break;for(const _0x188020 in _0x46e536){const _0x10b8f9=Number(_0x188020);_0x10b8f9<_0x28dc0c||_0x10b8f9>_0x19910c||_0x385bf7['add'](_0x10b8f9);}}}if(_0x2149f1){const _0x1cb51d=_0x2149f1[_0x2779a2(0xd8)](),_0x4251c7=Object[_0x2779a2(0x3e2)](_0x1cb51d);for(const _0x4dd053 of _0x4251c7){const _0x5576a2=Number(_0x4dd053),_0x270a5a=_0x1cb51d[_0x5576a2];if(_0x385bf7['size']===_0x557f22)break;for(const _0x270a80 in _0x270a5a){const _0x1bc460=Number(_0x270a80);_0x1bc460<_0x28dc0c||_0x1bc460>_0x19910c||_0x385bf7[_0x2779a2(0xe4)](_0x1bc460);}}}return Array[_0x2779a2(0x3ec)](_0x385bf7);},_0x10fa70=_0x48177b=>{const _0x4e9551=_0x49f7c3,_0x3db14e=new Set(),_0x2aedb4=[];for(const _0x193c8e of _0x48177b){const _0x3d7b18=_0x193c8e[_0x4e9551(0x1c7)]+','+_0x193c8e[_0x4e9551(0x1bf)]+','+_0x193c8e['startColumn']+','+_0x193c8e[_0x4e9551(0x12b)];_0x3db14e[_0x4e9551(0x1e8)](_0x3d7b18)||(_0x3db14e[_0x4e9551(0xe4)](_0x3d7b18),_0x2aedb4[_0x4e9551(0x3d4)](_0x193c8e));}return _0x2aedb4;};let _0xaea7e2=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x54bf64,_0x5354cd,_0xb692c3,_0x4644bd,_0x2121ce){const _0x43923f=_0x49f7c3;super(),_0x2a34b8(this,_0x43923f(0xe2),new _0x2c0848[(_0x43923f(0x144))](!0x0)),_0x2a34b8(this,_0x43923f(0x3ac),_0x511def=>{const _0xd2c07=_0x43923f;this[_0xd2c07(0xe2)][_0xd2c07(0x21c)](!0x1);}),_0x2a34b8(this,_0x43923f(0x373),_0x21b0c4=>{const _0x4a5666=_0x43923f;this[_0x4a5666(0xe2)][_0x4a5666(0x21c)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x54bf64,this[_0x43923f(0x2ed)]=_0x5354cd,this[_0x43923f(0x32c)]=_0xb692c3,this[_0x43923f(0x17e)]=_0x4644bd,this['_injector']=_0x2121ce,this[_0x43923f(0x38b)](),this[_0x43923f(0x148)]());}[_0x49f7c3(0x38b)](){const _0x5d78f7=_0x49f7c3;this[_0x5d78f7(0x213)](),this[_0x5d78f7(0x2ad)](),this[_0x5d78f7(0x2c1)](),this[_0x5d78f7(0x2d8)]();}[_0x49f7c3(0x161)](){const _0x2bc03d=_0x49f7c3;this['_globalComputingSrv']['pushComputingStatusSubject'](this[_0x2bc03d(0xe2)]),_0x2d316f[_0x2bc03d(0x162)][_0x2bc03d(0x372)](_0x2d316f[_0x2bc03d(0x12a)][_0x2bc03d(0xf3)],this['_globalComputedStartHelpFunc']),_0x2d316f[_0x2bc03d(0x162)][_0x2bc03d(0x372)](_0x2d316f[_0x2bc03d(0x12a)][_0x2bc03d(0x2cd)],this[_0x2bc03d(0x373)]);}['_initPivotDataGetListener'](){const _0x202e2e=_0x49f7c3;this[_0x202e2e(0x3dd)](this[_0x202e2e(0x32c)]['onCommandExecuted'](_0x140940=>{const _0x547b36=_0x202e2e;_0x140940['id']===_0x298fdb[_0x547b36(0x384)]['id']&&this[_0x547b36(0x296)]['handleMoveRange'](_0x140940['params']);})),this[_0x202e2e(0x3dd)](this[_0x202e2e(0x32c)][_0x202e2e(0x100)](_0x5f088d=>{const _0x21649a=_0x202e2e;if(_0x5f088d['id']!==_0x1fefb9['id'])return;const _0x2a7c7b=_0x5f088d[_0x21649a(0x376)],{unitId:_0x51d51d,subUnitId:_0x54c373,pivotTableId:_0x123378}=_0x2a7c7b,_0xb5a879=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x2d0)],_0x47ac51={};switch(_0xb5a879){case _0x2b63fe[_0x21649a(0x15c)]:{const _0x5f135b=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x3dc)];if(!_0x5f135b)return;const {row:_0x55811e,col:_0x126de2,cellData:_0x3596e7,pivotItemRenderInfoCache:_0x25c5d1,tableFieldId:_0x377e2f}=_0x5f135b,_0x235515=this[_0x21649a(0x296)][_0x21649a(0x2a7)](_0x2a7c7b[_0x21649a(0x257)]);if(!_0x235515||!_0x25c5d1)return;if(_0x377e2f){const _0x598390=_0x235515['getDataFieldByTableId'](_0x377e2f);if(!_0x598390)return;_0x47ac51[_0x21649a(0x3dc)]={..._0x235515['getDataFieldItemInfo'](_0x598390),'tableFieldId':_0x377e2f,'pivotTableId':_0x2a7c7b[_0x21649a(0x257)],'filterInfo':_0x235515[_0x21649a(0x339)](_0x377e2f),'sortInfo':_0x235515[_0x21649a(0x3ee)](_0x377e2f),'format':_0x235515['getFieldFormat'](_0x377e2f)};}else{const _0x2c9946=_0xdcd3eb(_0x55811e,_0x126de2,_0x3596e7,_0x235515,_0x25c5d1),_0xdd54e7=_0x2c9946==null?void 0x0:_0x2c9946[_0x21649a(0x130)];if(!_0xdd54e7)return;const _0x5d0baa=_0x235515[_0x21649a(0x275)](_0xdd54e7);if(!_0x5d0baa)return;_0x47ac51['filter']={..._0x235515[_0x21649a(0x2d9)](_0x5d0baa),'tableFieldId':_0xdd54e7,'pivotTableId':_0x2a7c7b[_0x21649a(0x257)],'filterInfo':_0x235515[_0x21649a(0x339)](_0xdd54e7),'sortInfo':_0x235515[_0x21649a(0x3ee)](_0xdd54e7),'format':_0x235515[_0x21649a(0x1a4)](_0xdd54e7)};}}break;case _0x2b63fe[_0x21649a(0xed)]:{const _0x313597=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x28c)];if(!_0x313597)return;const {pivotTableId:_0x1d0cdf}=_0x313597,_0x33d91a=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x1d0cdf);if(!_0x33d91a)return;const _0x2c21f0=this[_0x21649a(0x296)]['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x1d0cdf),_0x1a54bc=_0x4d4bdc(_0x33d91a,_0x1d0cdf,_0x2c21f0);_0x47ac51[_0x21649a(0x28c)]=_0x1a54bc;}break;case _0x2b63fe[_0x21649a(0x1c0)]:{const _0x55c1cd=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x4b1f91=this['_sheetsPivotDataSourceModel'][_0x21649a(0x1f1)](_0x51d51d),_0x620c98=_0x4b1f91[_0x21649a(0x1c5)](_0x123378);let _0x351713=null;const _0x4c6d3c=this['_sheetsPivotDataSourceModel'][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378),_0xaabac7=_0x2a7c7b['params'][_0x21649a(0x2ec)];if(!_0x55c1cd||!_0x4c6d3c||!_0xaabac7)return!0x1;const {dataFieldId:_0x529b9a,fieldArea:_0x55582f,index:_0x4d8c7f}=_0xaabac7;_0x55c1cd[_0x21649a(0x2a3)]();const _0x4706a1=_0x55c1cd[_0x21649a(0x27e)](_0x529b9a,_0x55582f,_0x4d8c7f);if(_0x4706a1&&_0x55582f===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x30d)]){const _0x477d76=_0x4706a1['getId'](),_0x2d2c0=_0x55c1cd[_0x21649a(0x275)](_0x477d76);if(_0x2d2c0){const _0x3ce25a=_0x2d2c0==null?void 0x0:_0x2d2c0[_0x21649a(0x239)]();_0x55c1cd[_0x21649a(0x1ac)](_0x4706a1['getId'](),_0x3ce25a===_0x2d316f[_0x21649a(0x259)][_0x21649a(0x248)]?_0x2d316f[_0x21649a(0x1f6)]['sum']:_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x3da)]);}const _0x473145=_0x55c1cd[_0x21649a(0x39f)](),_0x4046a5=_0x55c1cd[_0x21649a(0x209)](),_0x367320=_0x55c1cd[_0x21649a(0x2ee)](_0x2d316f['PivotTableFiledAreaEnum']['Value']);if(_0x473145===-0x1&&_0x367320>0x1){const _0x5dbfee=_0x4046a5===_0x2d316f[_0x21649a(0x152)][_0x21649a(0x115)]?_0x2d316f[_0x21649a(0x152)]['Column']:_0x4046a5,_0x41471f=_0x5dbfee===_0x2d316f[_0x21649a(0x152)]['Row']?_0x2d316f['PivotTableFiledAreaEnum'][_0x21649a(0x1ba)]:_0x2d316f[_0x21649a(0x137)]['Column'];_0x55c1cd[_0x21649a(0x206)](_0x5dbfee,_0x55c1cd[_0x21649a(0x2ee)](_0x41471f));}}else{if(_0x4706a1&&(_0x55582f===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x1ba)]||_0x55582f===_0x2d316f['PivotTableFiledAreaEnum'][_0x21649a(0x10c)])){const _0x1a516b=_0x4706a1[_0x21649a(0x2e7)](),_0x2a239e=_0x55c1cd[_0x21649a(0x275)](_0x1a516b);if(_0x2a239e&&(_0x2a239e==null?void 0x0:_0x2a239e[_0x21649a(0x239)]())===_0x2d316f[_0x21649a(0x259)][_0x21649a(0x2bb)]){const _0x56ccf3=_0x2a239e[_0x21649a(0x37b)]();if(_0x56ccf3&&_0x55c1cd['setFieldFormat'](_0x4706a1['getId'](),_0x56ccf3),!_0x620c98[_0x21649a(0x277)]()[_0x21649a(0x172)](_0x25fa3a=>{const _0x91f6f9=_0x21649a,_0x5f39d1=_0x620c98[_0x91f6f9(0x2aa)](_0x25fa3a);return _0x2d316f[_0x91f6f9(0x207)](_0x5f39d1)?_0x5f39d1[_0x91f6f9(0x3c9)]()[_0x91f6f9(0x17b)]===_0x529b9a:!0x1;})){const _0x1610ab=_0x4b1f91[_0x21649a(0x1ec)](),_0x3e74fa=_0x2b16d7(_0x2a239e[_0x21649a(0x20a)],_0x2a239e[_0x21649a(0x31f)]),_0x17534b=_0x2a239e[_0x21649a(0x1a9)]()+_0x21649a(0xfa)+_0x3b9b16(this['_injector'],_0x3e74fa),_0x32624a=new _0x2d316f['DateGroupField'](_0x1610ab,_0x17534b,_0x2d316f[_0x21649a(0x153)](0x3),_0x2a239e[_0x21649a(0x2e7)](),_0x3e74fa);_0x4b1f91['addDataFieldWithoutUnitInfo'](_0x32624a),_0x620c98['addField'](_0x1610ab,_0x17534b),_0x55c1cd[_0x21649a(0x27e)](_0x1610ab,_0x55582f,(_0x4d8c7f!=null?_0x4d8c7f:0x0)+0x1),_0x351713=_0x32624a;}}}}const _0x31153e=_0x55c1cd[_0x21649a(0x14a)](),_0x27142e=_0x55c1cd[_0x21649a(0xe8)]()[_0x21649a(0x132)]();let _0x1793ca;if(_0x351713){_0x1793ca=_0x351713[_0x21649a(0x132)]();const _0x335523=_0x351713[_0x21649a(0x2e7)]();_0x620c98[_0x21649a(0x2ff)](_0x335523);let _0x513fac=!0x0;for(const _0x1027f8 in _0x4b1f91[_0x21649a(0x15e)])if(_0x4b1f91[_0x21649a(0x15e)][_0x1027f8][_0x21649a(0x277)]()[_0x21649a(0xff)](_0x335523)){_0x513fac=!0x1;break;}_0x513fac&&_0x4b1f91['deleteDataField'](_0x335523);}const _0x3f241a=_0x55c1cd[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x2ec)]={'view':_0x27142e,'changesets':_0x3f241a,'isEmpty':_0x31153e,'pivotTableConfig':_0x4c6d3c,'shouldBeAddedGroupJSON':_0x1793ca};}break;case _0x2b63fe[_0x21649a(0x341)]:{const _0x283b1b=_0x2a7c7b[_0x21649a(0x376)]['addPivotTable'];if(!_0x283b1b)return;const _0x5862df=_0x283b1b[_0x21649a(0x3ed)],_0x260845=_0x283b1b[_0x21649a(0x257)],{collection:_0x9bc028}=this['_sheetsPivotDataSourceModel'][_0x21649a(0x33f)]({'unitId':_0x5862df[_0x21649a(0x25c)],'sheetName':_0x5862df['sheetName'],'subUnitId':_0x5862df[_0x21649a(0x353)],'range':_0x5862df[_0x21649a(0x1e9)]}),_0x55a62d=new _0x2d316f[(_0x21649a(0x162))](_0x9bc028,void 0x0,_0x260845),_0x463cb9=_0x55a62d[_0x21649a(0xe8)](),_0x8a6e54=_0x55a62d[_0x21649a(0x132)](),_0xf3118f=_0x9bc028[_0x21649a(0x132)]();_0x47ac51['addPivotTable']={'view':_0x463cb9,'fieldsConfig':_0x8a6e54,'collectionConfig':_0xf3118f,'isEmpty':_0x55a62d['isEmpty']()};}break;case _0x2b63fe[_0x21649a(0xf0)]:{const _0x43732e=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x1d2)];if(!_0x43732e)return;const {fieldId:_0x4e6ee2,area:_0x2bfd3e,index:_0x5622ab}=_0x43732e,_0x2a807e=this[_0x21649a(0x296)]['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x123378);if(!_0x2a807e)return;const _0x521161=this[_0x21649a(0x296)][_0x21649a(0x2a7)](_0x123378);if(!_0x521161)return;_0x521161[_0x21649a(0x2a3)]();const {area:_0x507fea,index:_0x913667}=_0x521161[_0x21649a(0x300)](_0x4e6ee2);if(_0x521161['updateFieldPosition'](_0x4e6ee2,_0x2bfd3e,_0x5622ab),_0x2bfd3e===_0x2d316f[_0x21649a(0x137)]['Value']&&_0x521161['getTableFieldById'](_0x4e6ee2)[_0x21649a(0x364)]()===void 0x0){const _0x13b559=_0x521161[_0x21649a(0x378)](_0x4e6ee2);if(_0x13b559&&_0x13b559['getSubtotal']()===void 0x0){const _0x3a1683=_0x521161[_0x21649a(0x275)](_0x4e6ee2);if(_0x3a1683){const _0x2d6b97=_0x3a1683==null?void 0x0:_0x3a1683['getFieldDataType']();_0x521161[_0x21649a(0x1ac)](_0x4e6ee2,_0x2d6b97===_0x2d316f[_0x21649a(0x259)][_0x21649a(0x248)]?_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x231)]:_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x3da)]);}}}const _0x2adfb1=_0x521161[_0x21649a(0x209)](),_0x5119bc=_0x521161[_0x21649a(0x39f)](),_0x1c182e=_0x521161[_0x21649a(0x2ee)](_0x2d316f[_0x21649a(0x137)][_0x21649a(0x30d)])>0x1;if(_0x1c182e&&_0x507fea===_0x2bfd3e&&(_0x2bfd3e===_0x2d316f[_0x21649a(0x137)]['Row']&&_0x2adfb1===_0x2d316f['PivotTableValuePositionEnum'][_0x21649a(0x1ba)]||_0x2bfd3e===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)]&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)]['Column'])){let _0xf50bcc=_0x5119bc;_0x913667<=_0x5119bc&&_0xf50bcc--,_0x5622ab<=_0x5119bc&&_0xf50bcc++,_0x521161[_0x21649a(0x206)](_0x2adfb1,_0xf50bcc);}else _0x1c182e&&(_0x507fea===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x1ba)]&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)][_0x21649a(0x1ba)]||_0x507fea===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)]&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)]['Column'])&&_0x5119bc>=_0x913667&&_0x521161['updateValuePosition'](_0x2adfb1,_0x5119bc-0x1),_0x1c182e&&(_0x2bfd3e===_0x2d316f[_0x21649a(0x137)]['Row']&&_0x2adfb1===_0x2d316f['PivotTableValuePositionEnum'][_0x21649a(0x1ba)]||_0x2bfd3e===_0x2d316f['PivotTableFiledAreaEnum']['Column']&&_0x2adfb1===_0x2d316f[_0x21649a(0x152)][_0x21649a(0x10c)])&&_0x5119bc>=_0x5622ab&&_0x521161[_0x21649a(0x206)](_0x2adfb1,_0x5119bc+0x1);const _0x27cbc0=_0x521161[_0x21649a(0xe8)](),_0x203f7c=_0x521161[_0x21649a(0x14a)](),_0x202af4=_0x521161['endCollectChangeset']();_0x47ac51['movePivotField']={'view':_0x27cbc0[_0x21649a(0x132)](),'changesets':_0x202af4,'isEmpty':_0x203f7c,'pivotTableConfig':_0x2a807e};}break;case _0x2b63fe[_0x21649a(0x2a0)]:{const _0x1e848f=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x24e)];if(!_0x1e848f)return;const _0x558cdd=_0x1e848f[_0x21649a(0x196)],_0x21ce69=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x21ce69)return!0x1;const _0x55ef87=this[_0x21649a(0x296)]['getPivotTableInstance'](_0x123378);if(!_0x55ef87)return!0x1;_0x55ef87[_0x21649a(0x2a3)]();for(const _0x14df61 of _0x558cdd){const {area:_0x51c56d}=_0x55ef87[_0x21649a(0x300)](_0x14df61);_0x51c56d===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x30d)]&&_0x55ef87[_0x21649a(0x2d7)](_0x14df61),(_0x51c56d===_0x2d316f['PivotTableFiledAreaEnum']['Row']||_0x51c56d===_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)])&&_0x55ef87[_0x21649a(0x1e6)](_0x14df61),_0x55ef87[_0x21649a(0x1ae)](_0x14df61);}const _0x524d1b=_0x55ef87['isEmpty'](),_0x1a38e7=_0x55ef87[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x45c1bc=_0x55ef87[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x24e)]={'changesets':_0x45c1bc,'pivotTableConfig':_0x21ce69,'isEmpty':_0x524d1b,'view':_0x1a38e7};}break;case _0x2b63fe[_0x21649a(0x2b5)]:{const _0x375fb4=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x3ce)];if(!_0x375fb4)return;const {tableFieldId:_0x5794d3,items:_0x200f03,isAll:_0x51a261}=_0x375fb4,_0x409cb6=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x123378),_0x46bbfa=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x409cb6||!_0x46bbfa)return;_0x409cb6[_0x21649a(0x2a3)](),_0x409cb6[_0x21649a(0x1d8)](_0x5794d3,{'type':_0x2d316f[_0x21649a(0x324)]['ManualFilter'],'list':_0x200f03,'isAll':_0x51a261});const _0x3d41d2=_0x409cb6[_0x21649a(0x14a)](),_0x43bfdc=_0x409cb6[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x262d86=_0x409cb6[_0x21649a(0x181)]();_0x47ac51['setPivotFilter']={'view':_0x43bfdc,'changesets':_0x262d86,'isEmpty':_0x3d41d2,'pivotTableConfig':_0x46bbfa};}break;case _0x2b63fe[_0x21649a(0x3b0)]:{const _0x6b1532=_0x2a7c7b[_0x21649a(0x376)]['setValuePivotFilter'];if(!_0x6b1532)return;const {tableFieldId:_0x4585d5,filterInfo:_0x11aacf}=_0x6b1532,_0x4e80d8=this[_0x21649a(0x296)]['getPivotTableInstance'](_0x123378),_0x283f32=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x4e80d8||!_0x283f32)return;_0x4e80d8[_0x21649a(0x2a3)](),_0x4e80d8[_0x21649a(0x262)](_0x4585d5,_0x11aacf);const _0x506a07=_0x4e80d8[_0x21649a(0x14a)](),_0x5925db=_0x4e80d8['query']()['toJSON'](),_0x45e07d=_0x4e80d8['endCollectChangeset']();_0x47ac51[_0x21649a(0x17c)]={'view':_0x5925db,'changesets':_0x45e07d,'isEmpty':_0x506a07,'pivotTableConfig':_0x283f32};}break;case _0x2b63fe['SetPivotSort']:{const _0x247776=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x294)];if(!_0x247776)return;const {tableFieldId:_0x411cdc,info:_0x232d93}=_0x247776,_0x4fdfce=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x8520f5=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x4fdfce||!_0x8520f5)return;_0x4fdfce['startCollectChangeset'](),_0x4fdfce[_0x21649a(0x1b7)](_0x411cdc,_0x232d93);const _0x3894bd=_0x4fdfce[_0x21649a(0x14a)](),_0xa728af=_0x4fdfce[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0xd102b6=_0x4fdfce[_0x21649a(0x181)]();_0x47ac51['setPivotSort']={'view':_0xa728af,'changesets':_0xd102b6,'isEmpty':_0x3894bd,'pivotTableConfig':_0x8520f5};}break;case _0x2b63fe['SetPivotSetting']:{const _0x370c21=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x342)];if(!_0x370c21)return;const {tableFieldId:_0x56c6ba,displayName:_0x509203,subtotalType:_0x42bbb2,format:_0x1049b7}=_0x370c21,_0x248efa=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x5ea25e=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x248efa||!_0x5ea25e)return;_0x248efa[_0x21649a(0x2a3)](),_0x509203!==void 0x0&&_0x248efa['renameField'](_0x56c6ba,_0x509203),_0x42bbb2!==void 0x0&&_0x248efa[_0x21649a(0x1ac)](_0x56c6ba,_0x42bbb2),_0x1049b7!==void 0x0&&_0x248efa[_0x21649a(0xde)](_0x56c6ba,_0x1049b7);const _0x3c2b9d=_0x248efa['isEmpty'](),_0x2146e8=_0x248efa[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x321e6c=_0x248efa[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x342)]={'changesets':_0x321e6c,'pivotTableConfig':_0x5ea25e,'isEmpty':_0x3c2b9d,'view':_0x2146e8};}break;case _0x2b63fe[_0x21649a(0x14f)]:{const _0x3f8744=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x2f0)];if(!_0x3f8744)return;const {dataRangeInfo:_0x2be032,unitId:_0x101049,subUnitId:_0x435178}=_0x3f8744,_0x40d554=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x101049,_0x435178,_0x123378),_0x361ce5=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378);if(!this[_0x21649a(0x296)][_0x21649a(0x1c5)](_0x101049,_0x123378)||!_0x361ce5||!_0x40d554)return;const _0x655008=this[_0x21649a(0x296)][_0x21649a(0x3a8)](_0x101049,_0x123378,_0x2be032),_0x9d03b7=this[_0x21649a(0x296)]['getCollection'](_0x101049,_0x123378)[_0x21649a(0x132)](),{collection:_0x52778f}=this['_sheetsPivotDataSourceModel'][_0x21649a(0x33f)]({'unitId':_0x2be032[_0x21649a(0x25c)],'sheetName':_0x2be032[_0x21649a(0x11e)],'subUnitId':_0x2be032[_0x21649a(0x353)],'range':_0x2be032[_0x21649a(0x1e9)]}),_0x4ff999=_0x52778f[_0x21649a(0x132)]();_0x361ce5['startCollectChangeset']();const _0x2e4e71=this[_0x21649a(0x296)][_0x21649a(0x1f1)](_0x101049)[_0x21649a(0x202)]()||_0x2d316f[_0x21649a(0x2c6)];_0x361ce5[_0x21649a(0x3db)](_0x48562b=>{const _0x46132b=_0x21649a,_0x18378c=_0x48562b['getDataFieldId']();if(!_0x52778f['hasField'](_0x18378c)){const _0x30f34b=_0x52778f[_0x46132b(0x118)](_0x48562b[_0x46132b(0x21f)]());if(_0x30f34b){_0x361ce5[_0x46132b(0x12f)](_0x48562b['getId'](),_0x30f34b[_0x46132b(0x1a9)](),_0x30f34b[_0x46132b(0x2e7)]());const {area:_0x40934d}=_0x361ce5['getFieldPositionInfoById'](_0x48562b[_0x46132b(0x2e7)]());let _0x37f93f=_0x48562b[_0x46132b(0x21f)]();const _0x207b0e=_0x48562b[_0x46132b(0x305)]();if(_0x40934d===_0x2d316f[_0x46132b(0x137)][_0x46132b(0x30d)]){const _0x1ea5e5=_0x48562b['getSubtotal']();_0x37f93f=_0x2e4e71(_0x30f34b[_0x46132b(0x1a9)](),_0x1ea5e5);}_0x207b0e!==_0x37f93f&&_0x361ce5[_0x46132b(0x240)](_0x48562b[_0x46132b(0x2e7)](),_0x37f93f);}else _0x361ce5[_0x46132b(0x1ae)](_0x48562b[_0x46132b(0x2e7)]());}});const _0x257cd4=_0x361ce5['isEmpty'](),_0x3132bc=_0x361ce5['query']()[_0x21649a(0x132)](),_0x91246b=_0x361ce5[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x2f0)]={'view':_0x3132bc,'changesets':_0x91246b,'isEmpty':_0x257cd4,'pivotTableConfig':_0x40d554,'collectionConfig':_0x4ff999,'oldCollectionConfig':_0x9d03b7,'deleteIds':_0x655008};}break;case _0x2b63fe[_0x21649a(0x24b)]:{const _0x3cb258=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x206)];if(!_0x3cb258)return;const {position:_0x19e760,index:_0x122e4c}=_0x3cb258,_0x16ab32=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x123378);if(!_0x16ab32)return!0x1;const _0x41fa1a=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378);if(!_0x41fa1a)return!0x1;_0x41fa1a[_0x21649a(0x2a3)](),_0x41fa1a[_0x21649a(0x206)](_0x19e760,_0x122e4c);const _0x55b947=_0x41fa1a['isEmpty'](),_0x5d0312=_0x41fa1a[_0x21649a(0xe8)]()['toJSON'](),_0x15e042=_0x41fa1a[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x206)]={'changesets':_0x15e042,'pivotTableConfig':_0x16ab32,'isEmpty':_0x55b947,'view':_0x5d0312};}break;case _0x2b63fe[_0x21649a(0x1b2)]:{const _0x394fa9=_0x2a7c7b[_0x21649a(0x376)]['setPivotCollapse'];if(!_0x394fa9)return;const {tableFieldId:_0x16a8bc,collapse:_0xc0e947,item:_0x19e438}=_0x394fa9,_0x341f97=this[_0x21649a(0x296)]['getPivotTableInstance'](_0x123378),_0x2be152=this[_0x21649a(0x296)][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x341f97||!_0x2be152)return;_0x341f97[_0x21649a(0x2a3)](),_0x341f97[_0x21649a(0x290)](_0x16a8bc,_0xc0e947,_0x19e438);const _0x4c493a=_0x341f97[_0x21649a(0x14a)](),_0x11ac77=_0x341f97[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x48c05a=_0x341f97[_0x21649a(0x181)]();_0x47ac51['setPivotCollapse']={'view':_0x11ac77,'isEmpty':_0x4c493a,'pivotTableConfig':_0x2be152,'changesets':_0x48c05a};}break;case _0x2b63fe[_0x21649a(0x2ef)]:{const _0x367558=_0x2a7c7b[_0x21649a(0x376)][_0x21649a(0x3ca)];if(!_0x367558)return;const {pivotTableConfig:_0x530c18}=_0x367558,_0x11d761=this['_sheetsPivotDataSourceModel'][_0x21649a(0x2a7)](_0x123378),_0x2dd2fc=this[_0x21649a(0x296)]['getPivotTableConfig'](_0x51d51d,_0x54c373,_0x123378);if(!_0x11d761||!_0x2dd2fc)return;_0x11d761[_0x21649a(0x2a3)](),_0x1acbf7(_0x11d761,_0x530c18);const _0x52b7cc=_0x11d761[_0x21649a(0x14a)](),_0x3a1bca=_0x11d761[_0x21649a(0xe8)]()[_0x21649a(0x132)](),_0x543897=_0x11d761[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x3ca)]={'view':_0x3a1bca,'isEmpty':_0x52b7cc,'pivotTableConfig':{..._0x2dd2fc,'fieldsConfig':_0x11d761[_0x21649a(0x132)]()},'changesets':_0x543897};}break;case _0x2b63fe[_0x21649a(0x348)]:{const _0x53dab0=_0x2a7c7b['params']['resetPivotTable'];if(!_0x53dab0)return;const _0x11e6a4=this[_0x21649a(0x296)][_0x21649a(0x2a7)](_0x123378),_0xa9dff9=this['_sheetsPivotDataSourceModel'][_0x21649a(0x362)](_0x51d51d,_0x54c373,_0x123378);if(!_0x11e6a4||!_0xa9dff9)return;_0x11e6a4[_0x21649a(0x2a3)](),_0x54733d(_0x11e6a4,_0x53dab0['resetArea']);const _0x3bc270=_0x11e6a4[_0x21649a(0xe8)]()['toJSON'](),_0x145add=_0x11e6a4[_0x21649a(0x181)]();_0x47ac51[_0x21649a(0x281)]={'view':_0x3bc270,'isEmpty':!0x0,'pivotTableConfig':{..._0xa9dff9,'fieldsConfig':_0x11e6a4['toJSON']()},'changesets':_0x145add};}break;case _0x2b63fe[_0x21649a(0x1e0)]:{const _0x361b08=_0x2a7c7b['params'][_0x21649a(0x2ab)];if(!_0x361b08)return;const _0x1e1a99=_0x361b08[_0x21649a(0x3ed)],_0x48f959=_0x361b08['pivotTableId'],{collection:_0x263824}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x1e1a99[_0x21649a(0x25c)],'sheetName':_0x1e1a99['sheetName'],'subUnitId':_0x1e1a99[_0x21649a(0x353)],'range':_0x1e1a99[_0x21649a(0x1e9)]}),_0x2ef220=new _0x2d316f['PivotTable'](_0x263824,void 0x0,_0x48f959),_0x9d73c6=_0x263824[_0x21649a(0x277)](),{rows:_0x211e6a,columns:_0x225a09,filters:_0xf7bf9b,values:_0x3ff749}=_0x361b08['pivotTableIndexConfig'];_0x2ef220[_0x21649a(0x2a3)]();for(const {field:_0x282a2e,selectedItems:_0x27cecf}of _0x211e6a||[]){const _0xe2e09e=_0x9d73c6[_0x282a2e];if(_0xe2e09e){const _0x218273=_0x2ef220[_0x21649a(0x27e)](_0xe2e09e,_0x2d316f[_0x21649a(0x137)][_0x21649a(0x1ba)]);_0x27cecf&&_0x218273&&_0x2ef220[_0x21649a(0x1d8)](_0x218273[_0x21649a(0x2e7)](),{'type':_0x2d316f['PivotFilterTypeEnum'][_0x21649a(0x18d)],'list':_0x27cecf,'isAll':!0x1});}}for(const {field:_0x295719,selectedItems:_0x279316}of _0x225a09||[]){const _0x24a6c7=_0x9d73c6[_0x295719];if(_0x24a6c7){const _0xdf9362=_0x2ef220[_0x21649a(0x27e)](_0x24a6c7,_0x2d316f[_0x21649a(0x137)][_0x21649a(0x10c)]);_0x279316&&_0xdf9362&&_0x2ef220[_0x21649a(0x1d8)](_0xdf9362[_0x21649a(0x2e7)](),{'type':_0x2d316f[_0x21649a(0x324)][_0x21649a(0x18d)],'list':_0x279316,'isAll':!0x1});}}for(const {field:_0x1bd455,selectedItems:_0x208723}of _0xf7bf9b||[]){const _0x52a6d1=_0x9d73c6[_0x1bd455];if(_0x52a6d1){const _0x1b9613=_0x2ef220[_0x21649a(0x27e)](_0x52a6d1,_0x2d316f[_0x21649a(0x137)][_0x21649a(0x15c)]);_0x208723&&_0x1b9613&&_0x2ef220[_0x21649a(0x1d8)](_0x1b9613[_0x21649a(0x2e7)](),{'type':_0x2d316f['PivotFilterTypeEnum'][_0x21649a(0x18d)],'list':_0x208723,'isAll':!0x1});}}for(const {field:_0x150513,subTotalType:_0x228787,formatString:_0x1e3d73}of _0x3ff749||[]){const _0x21963d=_0x263824[_0x21649a(0x2aa)](_0x9d73c6[_0x150513]);if(!_0x21963d)continue;const _0x294e50=_0x9d73c6[_0x150513];if(_0x294e50){const _0x479da3=_0x2ef220['addFieldWithSourceId'](_0x294e50,_0x2d316f['PivotTableFiledAreaEnum'][_0x21649a(0x30d)]);if(_0x479da3){if(_0x228787!==void 0x0){_0x2ef220[_0x21649a(0x1ac)](_0x479da3['getId'](),_0x228787);const _0x313d38=this['_sheetsPivotDataSourceModel'][_0x21649a(0x1f1)](_0x1e1a99[_0x21649a(0x25c)])[_0x21649a(0x202)]()||_0x2d316f[_0x21649a(0x2c6)],_0x5508aa=_0x263824[_0x21649a(0x305)](_0x294e50),_0x2237c9=_0x313d38(_0x5508aa,_0x228787);_0x2ef220['renameField'](_0x479da3[_0x21649a(0x2e7)](),_0x2237c9);}else{if(_0x21963d){const _0xb53c08=_0x21963d==null?void 0x0:_0x21963d['getFieldDataType']();_0x2ef220[_0x21649a(0x1ac)](_0x479da3[_0x21649a(0x2e7)](),_0xb53c08===_0x2d316f['PivotDataFieldDataTypeEnum'][_0x21649a(0x248)]?_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x231)]:_0x2d316f[_0x21649a(0x1f6)][_0x21649a(0x3da)]);}}_0x1e3d73&&_0x2ef220[_0x21649a(0xde)](_0x479da3['getId'](),_0x1e3d73);}}}const _0x4cd957=_0x2ef220[_0x21649a(0xe8)](),_0x1aee7a=_0x2ef220[_0x21649a(0x132)](),_0x6efaf0=_0x2ef220[_0x21649a(0x14a)](),_0x2ca807=_0x2ef220['endCollectChangeset'](),_0x5534ea=_0x263824['toJSON']();_0x47ac51[_0x21649a(0x2ab)]={'view':_0x4cd957,'fieldsConfig':_0x1aee7a,'collectionConfig':_0x5534ea,'isEmpty':_0x6efaf0,'changesets':_0x2ca807};}break;case _0x2b63fe[_0x21649a(0x36e)]:{const _0x41abfe=_0x450940(this[_0x21649a(0x199)],_0x2a7c7b);if(!_0x41abfe)return;const {range:_0xc513b8,sourceSubUnitId:_0x28af25,sourceUnitId:_0x20c16e,formatMap:_0x3f05cb,indexes:_0x11dfe8}=_0x41abfe;_0x47ac51[_0x21649a(0x19d)]={'range':_0xc513b8,'sourceSubUnitId':_0x28af25,'sourceUnitId':_0x20c16e,'formatMap':_0x3f05cb,'indexes':_0x11dfe8};}break;}this[_0x21649a(0x32c)][_0x21649a(0x291)](_0x234ed3['id'],{'version':_0x2a7c7b['version'],'result':_0x47ac51},{'onlyLocal':!0x0});}));}[_0x49f7c3(0x2c1)](){const _0x2d1597=_0x49f7c3;this[_0x2d1597(0x3dd)](this[_0x2d1597(0x32c)][_0x2d1597(0x100)](_0x4fe6d1=>{const _0x5c2d01=_0x2d1597;if(_0x4fe6d1['id']!==_0x59c387['id'])return;const _0x59c6a1=_0x4fe6d1[_0x5c2d01(0x376)];return this[_0x5c2d01(0x296)][_0x5c2d01(0x22b)](_0x59c6a1['textInfo']),!0x0;}));}['_subjectCollectionChange'](){const _0x965d42=_0x49f7c3;this[_0x965d42(0x296)][_0x965d42(0x133)][_0x965d42(0x163)](_0x1c7b51=>{const _0x3a0573=_0x965d42;switch(_0x1c7b51[_0x3a0573(0x2d0)]){case _0x39e953['add']:_0x1c7b51['dataRangeInfo']&&_0x1c7b51[_0x3a0573(0xf9)]&&this[_0x3a0573(0x375)](_0x1c7b51[_0x3a0573(0x35d)],_0x1c7b51[_0x3a0573(0x24d)],_0x1c7b51[_0x3a0573(0xf9)]);break;case _0x39e953[_0x3a0573(0x223)]:{const {unitId:_0x4c1131,subUnitId:_0x367e9e,token:_0x3d2b2b}=_0x1c7b51;_0x4c1131&&_0x367e9e&&_0x3d2b2b&&this['removeSourceRangeChange'](_0x4c1131,_0x367e9e,_0x3d2b2b);}break;case _0x39e953[_0x3a0573(0x1c2)]:{const {token:_0x5a822c,oldSourceRangeInfo:_0x9055f2,dataRangeInfo:_0xd3ea91,targetCellInfo:_0x2435db}=_0x1c7b51,{unitId:_0x17e075,subUnitId:_0x382d91}=_0x9055f2||{};_0x17e075&&_0x382d91&&_0x5a822c&&this[_0x3a0573(0x255)](_0x17e075,_0x382d91,_0x5a822c),_0xd3ea91&&_0x2435db&&this[_0x3a0573(0x375)](_0x5a822c,_0xd3ea91,_0x2435db);}break;}});}['_subjectFieldsCollectionChange'](){const _0x2874dc=_0x49f7c3;this[_0x2874dc(0x296)][_0x2874dc(0x114)]['subscribe'](_0x4c6a5c=>{const _0x3819e2=_0x2874dc;Object['keys'](_0x4c6a5c)[_0x3819e2(0x10a)](_0x40e2bd=>{const _0x10c71f=_0x3819e2,_0xa6276f=this[_0x10c71f(0x296)]['getTargetByPivotId'](_0x40e2bd);if(_0xa6276f){const _0x56d23b=this[_0x10c71f(0x296)][_0x10c71f(0x362)](_0xa6276f==null?void 0x0:_0xa6276f['unitId'],_0xa6276f==null?void 0x0:_0xa6276f[_0x10c71f(0x353)],_0x40e2bd);_0x56d23b&&(this[_0x10c71f(0x375)](_0x40e2bd,_0x56d23b[_0x10c71f(0x3ed)],_0x56d23b[_0x10c71f(0xf9)]),this[_0x10c71f(0x2c8)]([{'unitId':_0xa6276f['unitId'],'subUnitId':_0xa6276f[_0x10c71f(0x353)],'token':_0x40e2bd}]));}});});}[_0x49f7c3(0x2ad)](){const _0x5bae16=_0x49f7c3;this['_sheetsPivotDataSourceModel']['viewData$'][_0x5bae16(0x163)](_0x2d6e43=>{const _0x1aaf8b=_0x5bae16,{unitId:_0x385503,subUnitId:_0x4d37aa,pivotTableId:_0x16fedd}=_0x2d6e43;_0x385503&&_0x4d37aa&&_0x16fedd&&this[_0x1aaf8b(0x2c8)]([{'unitId':_0x385503,'subUnitId':_0x4d37aa,'token':_0x16fedd}]);});}[_0x49f7c3(0x2c8)](_0x25b1e5){const _0x2684d0=_0x49f7c3,_0x16bc89={};_0x25b1e5['forEach'](_0x44ac6b=>{var _0x338f39,_0x56edae;const {unitId:_0xcd7648,subUnitId:_0x1b8e17,token:_0xf4cb4b}=_0x44ac6b;_0x16bc89[_0xcd7648]=(_0x338f39=_0x16bc89[_0xcd7648])!=null?_0x338f39:{},_0x16bc89[_0xcd7648][_0x1b8e17]=(_0x56edae=_0x16bc89[_0xcd7648][_0x1b8e17])!=null?_0x56edae:{},_0x16bc89[_0xcd7648][_0x1b8e17][_0xf4cb4b]=!0x0;}),this['_commandService'][_0x2684d0(0x291)](_0x73bcf2['id'],_0x16bc89);}['removeSourceRangeChange'](_0xe1a2de,_0x1098fa,_0x51f832){const _0x4ab190=_0x49f7c3;this[_0x4ab190(0x2ed)][_0x4ab190(0x183)](_0xe1a2de,_0x1098fa,[_0x51f832]);}['handleSourceRangeChange'](_0x1e6f9,_0x11e518,_0x50f32f){const _0x5d55a6=_0x49f7c3,{unitId:_0x52b9e4,subUnitId:_0x143dd8}=_0x11e518;this[_0x5d55a6(0x2ed)][_0x5d55a6(0x1e8)](_0x50f32f[_0x5d55a6(0x25c)],_0x50f32f[_0x5d55a6(0x353)],_0x1e6f9)&&this[_0x5d55a6(0x255)](_0x52b9e4,_0x143dd8,_0x1e6f9);const _0x44dbd6={'sheetId':_0x143dd8,..._0x11e518};this[_0x5d55a6(0x2ed)][_0x5d55a6(0x2ac)](_0x50f32f[_0x5d55a6(0x25c)],_0x50f32f[_0x5d55a6(0x353)],_0x1e6f9,{'unitId':_0x50f32f[_0x5d55a6(0x25c)],'subUnitId':_0x50f32f[_0x5d55a6(0x353)],'dependencyRanges':[_0x44dbd6],'getDirtyData':(_0x51834c,_0x279ea0)=>{const _0xd9fd55=_0x5d55a6,_0x318056=this[_0xd9fd55(0x296)],_0x369aac=_0x318056[_0xd9fd55(0x1cc)](_0x1e6f9);if(!_0x369aac)return _0xb29720();const {unitId:_0x2e732d,subUnitId:_0x4238a2}=_0x369aac,_0x79f994=_0xee356a(_0x51834c,_0x279ea0,_0x11e518);if(_0x79f994[_0xd9fd55(0x264)]>0x0){const _0x3b7036=_0x318056[_0xd9fd55(0x1c5)](_0x52b9e4,_0x1e6f9),_0x1ad985=_0x3b7036['getFieldIds'](),_0x111cda=this[_0xd9fd55(0x2df)](_0x11e518['unitId'],_0x11e518[_0xd9fd55(0x353)],_0x279ea0),_0x25c7fb={},_0x48e047=this['_sheetsPivotDataSourceModel'][_0xd9fd55(0x1f1)](_0x2e732d)[_0xd9fd55(0x202)]()||_0x2d316f['getAutoDisplayName'],_0x5167bc=[];for(const _0x2088f2 of _0x79f994){const _0x5ebd29=_0x2088f2-(_0x11e518[_0xd9fd55(0x1e9)][_0xd9fd55(0xfd)]||0x0),_0x277955=_0x1ad985[_0x5ebd29];_0x5167bc[_0xd9fd55(0x3d4)](_0x277955),_0x25c7fb[_0x277955]=_0x3b7036[_0xd9fd55(0x2aa)](_0x277955)[_0xd9fd55(0x1a9)](),_0x318056[_0xd9fd55(0x1f1)](_0x52b9e4)[_0xd9fd55(0x3d0)](_0x277955,_0x11e518,_0x5ebd29,_0x111cda);}_0x3b7036['getGroupFieldsInfoByIds'](_0x5167bc)['forEach'](_0x51f643=>{const _0x5eeef1=_0xd9fd55,[_0x2c6ec3,_0x408680]=_0x51f643,_0x23580b=_0x3b7036[_0x5eeef1(0x2aa)](_0x2c6ec3),_0x140558=_0x3b7036[_0x5eeef1(0x2aa)](_0x408680);_0x23580b&&_0x140558&&_0x23580b[_0x5eeef1(0x246)](_0x140558);}),_0x3b7036[_0xd9fd55(0x3e9)]();const _0x1fe669=_0x318056[_0xd9fd55(0x2a7)](_0x1e6f9);if(_0x1fe669){_0x37275f(_0x1fe669,_0x25c7fb,_0x48e047),_0x1fe669[_0xd9fd55(0x2b8)](!0x0);const _0xe51aae=_0x1fe669[_0xd9fd55(0xe8)](),_0x4804b6=_0x318056[_0xd9fd55(0x362)](_0x2e732d,_0x4238a2,_0x1e6f9),_0x3a14db=_0x318056['getDataFieldManager'](_0x52b9e4)[_0xd9fd55(0x132)]();_0x318056[_0xd9fd55(0x329)](_0x2e732d,_0x4238a2,_0x48b491[_0xd9fd55(0x1e7)],_0x1e6f9,_0xe51aae,_0x4804b6,_0x3a14db,!0x0);}}return this[_0xd9fd55(0x19b)](_0x2e732d,_0x4238a2,_0x1e6f9);}});}[_0x49f7c3(0x2df)](_0x5f43f7,_0x64e1b5,_0x3a23d8){var _0x1bf85f,_0x427a1d;const {arrayFormulaCellData:_0x1cf8db,unitData:_0x5a9e13}=_0x3a23d8,_0x54be96=(_0x1bf85f=_0x1cf8db==null?void 0x0:_0x1cf8db[_0x5f43f7])==null?void 0x0:_0x1bf85f[_0x64e1b5],_0x245fa2=(_0x427a1d=_0x5a9e13==null?void 0x0:_0x5a9e13[_0x5f43f7])==null?void 0x0:_0x427a1d[_0x64e1b5];return{'arrayFormulaCellDataMatrix':_0x54be96,'unitDataMatrix':_0x245fa2};}[_0x49f7c3(0x19b)](_0x34832a,_0x251532,_0x3e810e){const _0x2e1c80=_0x49f7c3,_0x2e2832=this[_0x2e1c80(0x296)]['getViewData'](_0x34832a,_0x251532,_0x3e810e),_0x22e8df=[],_0x3b5d3f=new _0x369ce1[(_0x2e1c80(0x2bf))]();if(_0x2e2832){const {rangeCache:_0xd42e85,matrix:_0x279851,oldRangeCache:_0x269be0,oldMatrix:_0x455fc7}=_0x2e2832,_0x4939da=_0x2652bb(_0x269be0),_0x191588=_0x2652bb(_0xd42e85);_0x22e8df['push'](..._0x191588,..._0x4939da),_0x455fc7&&_0x269be0&&_0x4939da[_0x2e1c80(0x10a)](_0x17c068=>{const _0x7b93b1=_0x2e1c80;for(let _0x160a84=_0x17c068[_0x7b93b1(0x1c7)];_0x160a84<=_0x17c068['endRow'];_0x160a84++)for(let _0x59bdb4=_0x17c068[_0x7b93b1(0xfd)];_0x59bdb4<=_0x17c068[_0x7b93b1(0x12b)];_0x59bdb4++)_0x3b5d3f[_0x7b93b1(0x3cf)](_0x160a84,_0x59bdb4);}),_0x279851&&_0x191588&&_0x191588[_0x2e1c80(0x10a)](_0x2fc54f=>{const _0x2432f2=_0x2e1c80;for(let _0x4f369f=_0x2fc54f[_0x2432f2(0x1c7)];_0x4f369f<=_0x2fc54f['endRow'];_0x4f369f++)for(let _0x15e3c7=_0x2fc54f[_0x2432f2(0xfd)];_0x15e3c7<=_0x2fc54f[_0x2432f2(0x12b)];_0x15e3c7++)_0x3b5d3f['setValue'](_0x4f369f,_0x15e3c7,_0x279851[_0x2432f2(0x1a0)](_0x4f369f,_0x15e3c7));});}const _0x13c70c={};return _0x13c70c[_0x34832a]={[_0x251532]:_0x10fa70(_0x22e8df)},{'runtimeCellData':{[_0x34832a]:{[_0x251532]:_0x3b5d3f}},'dirtyRanges':_0x13c70c};}[_0x49f7c3(0x3f2)](){}};_0xaea7e2=_0x5a2172([_0xcbfdf(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829['SheetsPivotDataSourceModel'])),_0xcbfdf(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0xc627d4['IFeatureCalculationManagerService'])),_0xcbfdf(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x1f2)])),_0xcbfdf(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0xc627d4[_0x49f7c3(0x247)])),_0xcbfdf(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)]))],_0xaea7e2);var _0x58fd0e=Object[_0x49f7c3(0x1cd)],_0x3b9670=(_0x485d02,_0x2c316b,_0x523929,_0x177136)=>{const _0x404ecb=_0x49f7c3;for(var _0x4526f5=_0x177136>0x1?void 0x0:_0x177136?_0x58fd0e(_0x2c316b,_0x523929):_0x2c316b,_0x37a3bf=_0x485d02[_0x404ecb(0x264)]-0x1,_0xb51ad6;_0x37a3bf>=0x0;_0x37a3bf--)(_0xb51ad6=_0x485d02[_0x37a3bf])&&(_0x4526f5=_0xb51ad6(_0x4526f5)||_0x4526f5);return _0x4526f5;},_0x346071=(_0x211a0b,_0x1aadc1)=>(_0x2328ff,_0xbfb97a)=>_0x1aadc1(_0x2328ff,_0xbfb97a,_0x211a0b);let _0x4a4274=class extends _0x369ce1['Disposable']{constructor(_0x192f97,_0x2cd444,_0x3c5be0,_0x4169ba){const _0x36452b=_0x49f7c3;super(),_0x2a34b8(this,_0x36452b(0x316),new _0x369ce1[(_0x36452b(0x254))]()),(this[_0x36452b(0x3a4)]=_0x192f97,this['_sheetInterceptorService']=_0x2cd444,this[_0x36452b(0x127)]=_0x3c5be0,this[_0x36452b(0x1fa)]=_0x4169ba,this[_0x36452b(0x2d2)]());}[_0x49f7c3(0x2d2)](){const _0x1506c0=_0x49f7c3;this[_0x1506c0(0x3dd)](this['_sheetInterceptorService'][_0x1506c0(0x298)]({'getMutations':_0xe57ab5=>{const _0x89485e=_0x1506c0;if(_0xe57ab5['id']===_0x298fdb[_0x89485e(0x37c)]['id']||_0xe57ab5['id']===_0x298fdb['ClearSelectionAllCommand']['id']){const _0xb9ad0=[],_0x1d8d07=[],_0x53d75e=this[_0x89485e(0x127)][_0x89485e(0x1e2)]()[_0x89485e(0x35b)](_0x23336e=>_0x23336e[_0x89485e(0x1e9)]),_0x54f6be=_0x298fdb[_0x89485e(0x3b6)](this[_0x89485e(0x3a4)],_0xe57ab5['params']);if(!_0x54f6be)return{'redos':[],'undos':[]};const {unitId:_0x3f9727,subUnitId:_0x40decf}=_0x54f6be,_0x54ff03={},_0x20e242=this[_0x89485e(0x1fa)][_0x89485e(0x200)](_0x3f9727,_0x40decf);if(_0x20e242!=null&&_0x20e242[_0x89485e(0x390)])for(const [_0x5568a8,_0x1bbe86]of _0x20e242){const {unitId:_0x57ab66,subUnitId:_0x4ac13a,row:_0x3792ec,col:_0x29671}=_0x1bbe86[_0x89485e(0xf9)];_0x57ab66===_0x54f6be[_0x89485e(0x25c)]&&_0x4ac13a===_0x54f6be[_0x89485e(0x353)]&&(_0x54ff03[_0x3792ec+'-'+_0x29671]=_0x5568a8);}return _0x53d75e&&_0x54f6be&&_0x53d75e[_0x89485e(0x10a)](_0x79f494=>{const _0xafe334=_0x89485e;_0x369ce1[_0xafe334(0x39a)][_0xafe334(0x218)](_0x79f494,(_0xc79962,_0x6598ca)=>{const _0x3f7982=_0xafe334,_0x5c6919=_0xc79962+'-'+_0x6598ca;if(_0x54ff03[_0x5c6919]){const _0x46c325=_0x54ff03[_0x5c6919];_0xb9ad0[_0x3f7982(0x3d4)]({'id':_0x113373['id'],'params':{'unitId':_0x3f9727,'subUnitId':_0x40decf,'pivotTableId':_0x46c325}});const _0x5f0d64=this[_0x3f7982(0x1fa)][_0x3f7982(0x1c5)](_0x3f9727,_0x46c325),_0x407f3e=this[_0x3f7982(0x1fa)][_0x3f7982(0x362)](_0x3f9727,_0x40decf,_0x46c325);_0x1d8d07['push']({'id':_0x307ba8['id'],'params':{'unitId':_0x3f9727,'subUnitId':_0x40decf,'pivotTableId':_0x46c325,'pivotTableConfig':_0x407f3e,'collectionConfig':_0x5f0d64}});}});}),{'redos':_0xb9ad0,'undos':_0x1d8d07};}return{'redos':[],'undos':[]};}}));}};_0x4a4274=_0x3b9670([_0x346071(0x0,_0x369ce1[_0x49f7c3(0x389)]),_0x346071(0x1,_0x369ce1['Inject'](_0x298fdb['SheetInterceptorService'])),_0x346071(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x38e)])),_0x346071(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)]))],_0x4a4274);var _0x215c00=Object['getOwnPropertyDescriptor'],_0x49baa3=(_0x59732f,_0x1f8063,_0x4db177,_0x5d7ec2)=>{const _0x341487=_0x49f7c3;for(var _0x822517=_0x5d7ec2>0x1?void 0x0:_0x5d7ec2?_0x215c00(_0x1f8063,_0x4db177):_0x1f8063,_0x3737b2=_0x59732f[_0x341487(0x264)]-0x1,_0x116573;_0x3737b2>=0x0;_0x3737b2--)(_0x116573=_0x59732f[_0x3737b2])&&(_0x822517=_0x116573(_0x822517)||_0x822517);return _0x822517;},_0x5e47de=(_0x19a6df,_0x583d47)=>(_0x759819,_0x215a40)=>_0x583d47(_0x759819,_0x215a40,_0x19a6df);let _0x1f58f4=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x34aeee,_0x435a2a,_0xe7ab16,_0x485e1e,_0x26c32b){const _0x3ad03d=_0x49f7c3;super(),this['_sheetInterceptorService']=_0x34aeee,this[_0x3ad03d(0x199)]=_0x435a2a,this[_0x3ad03d(0x3a4)]=_0xe7ab16,this['_sheetsPivotTableConfigModel']=_0x485e1e,this[_0x3ad03d(0x39b)]=_0x26c32b,this['_initCommandInterceptListener']();}[_0x49f7c3(0x330)](_0x3bc59e,_0x33cd04,_0x2d89f1){const _0x1762f5=_0x49f7c3,{pageView:_0x5d67db,cornerView:_0x3f3e08,rowView:_0x783d52,colView:_0x2eaf75,dataView:_0x60437f}=_0x33cd04,_0x571366=_0x3bc59e;let _0x13dc83;if(_0x2d89f1)_0x13dc83=[..._0x2353cb(_0x571366)];else{const _0x5075dd=_0x485549(_0x571366,_0x5d67db,!0x0),_0x1f3691=_0x5d67db[_0x1762f5(0x129)]>=0x0?_0x5d67db[_0x1762f5(0x129)]+0x1:0x0,_0x2d0c7a=_0x3f3e08[_0x1762f5(0x355)],_0x3057e5=_0x3f3e08[_0x1762f5(0x27f)],_0x50b69a=_0x5075dd[_0x1762f5(0x264)]>0x0?_0x523b9d:0x0,_0x204562=_0x485549({'row':_0x571366['row']+_0x1f3691+_0x50b69a,'col':_0x571366[_0x1762f5(0x2d3)]},_0x3f3e08,!0x1,!0x1),_0x212ed9=_0x485549({'row':_0x571366['row']+_0x1f3691+_0x50b69a+_0x2d0c7a,'col':_0x571366['col']},_0x783d52,!0x1,!0x0),_0xde3058=_0x485549({'row':_0x571366['row']+_0x1f3691+_0x50b69a,'col':_0x571366[_0x1762f5(0x2d3)]+_0x3057e5},_0x2eaf75,!0x1,!0x0),_0x4d6da6=_0x485549({'row':_0x571366[_0x1762f5(0x27d)]+_0x1f3691+_0x50b69a+_0x2d0c7a,'col':_0x571366[_0x1762f5(0x2d3)]+_0x3057e5},_0x60437f,!0x1,!0x0);_0x13dc83=[..._0x5075dd,..._0x204562,..._0x212ed9,..._0xde3058,..._0x4d6da6];}return _0x13dc83;}[_0x49f7c3(0x2c9)](){const _0x3f95fa=_0x49f7c3;this[_0x3f95fa(0x3dd)](this[_0x3f95fa(0x39b)][_0x3f95fa(0x345)][_0x3f95fa(0x149)](this[_0x3f95fa(0x39b)]['interceptor']['getInterceptPoints']()[_0x3f95fa(0x1a2)],{'handler':(_0x1add0a,_0x1344ee)=>{const _0x188e47=_0x3f95fa,{cellInfo:_0x109fdc,view:_0x2e0b77,isEmpty:_0x154f31}=_0x1344ee,_0x43b404=_0x109fdc,{unitId:_0x5951a4,subUnitId:_0x553589}=_0x43b404,_0x2b118d=this[_0x188e47(0x330)](_0x109fdc,_0x2e0b77,_0x154f31),_0x5189fc=this[_0x188e47(0xf5)][_0x188e47(0x32d)]({'unitId':_0x5951a4,'subUnitId':_0x553589,'ranges':_0x2b118d}),_0x40c677=_0x2706e1(this[_0x188e47(0x199)],_0x5951a4,_0x553589,_0x2b118d);_0x40c677[_0x188e47(0x37f)]&&(_0x5189fc[_0x188e47(0x1da)][_0x188e47(0x3d4)](_0x40c677[_0x188e47(0x18f)]),_0x5189fc[_0x188e47(0x221)][_0x188e47(0x3d4)](_0x40c677[_0x188e47(0x16f)]));const _0x3ee6e0=this['getAutoFitColumnsMutations'](_0x2e0b77,_0x109fdc);return _0x5189fc[_0x188e47(0x1da)][_0x188e47(0x3d4)](..._0x3ee6e0['redos']),_0x5189fc[_0x188e47(0x221)][_0x188e47(0x3d4)](..._0x3ee6e0[_0x188e47(0x221)]),{'redos':_0x5189fc[_0x188e47(0x1da)],'undos':_0x5189fc[_0x188e47(0x221)]};}}));}['getAutoFitColumnsMutations'](_0x367dc7,_0x5b5a51){const _0x55ba0d=_0x49f7c3,{col:_0x25d573,unitId:_0x221be7,subUnitId:_0x3f8442}=_0x5b5a51,_0x416f5c=[],_0x11caf4=[],_0xf8db65=_0x298fdb[_0x55ba0d(0x3b6)](this[_0x55ba0d(0x3a4)],{'unitId':_0x221be7,'subUnitId':_0x3f8442});if(!_0x5b5a51||!_0x367dc7||!_0xf8db65)return{'undos':_0x11caf4,'redos':_0x416f5c};const _0x404ccc=this['_sheetsPivotTableConfigModel'][_0x55ba0d(0x260)](),{colView:_0x3d805d,dataView:_0x2063bb,cornerView:_0x5f2bc2,rowView:_0x353d6d,formatMap:_0x31f74f}=_0x367dc7,_0x1d28dd=_0x5c5782(_0x3d805d,_0x404ccc,!0x0,_0x31f74f),_0xef1c4d=_0x5c5782(_0x353d6d,_0x404ccc,!0x1,_0x31f74f),_0x21f5a3=_0x6e0cd3(_0x2063bb),_0x27f128=_0x55b0a8(_0x5f2bc2),{worksheet:_0x368f11}=_0xf8db65;if(typeof window<'u'&&window[_0x55ba0d(0x2da)]){const _0x4fe5f1=_0x10fda7[_0x55ba0d(0x11a)]({..._0x47e2f1[_0x55ba0d(0x21e)]}),_0x385614=_0x10fda7[_0x55ba0d(0x121)][_0x55ba0d(0x288)](_0x1d28dd,_0x4fe5f1)[_0x55ba0d(0x3c0)]+0x10,_0x20dd86=_0x10fda7[_0x55ba0d(0x121)]['getTextSize'](_0x21f5a3,_0x4fe5f1)[_0x55ba0d(0x3c0)],_0x28ddac=Math[_0x55ba0d(0x12c)](Math[_0x55ba0d(0x350)](_0x385614,_0x20dd86))+0x10,_0x2d6085=Math[_0x55ba0d(0x12c)](_0x10fda7[_0x55ba0d(0x121)][_0x55ba0d(0x288)](_0xef1c4d,_0x4fe5f1)[_0x55ba0d(0x3c0)]),_0x4baf38=Math[_0x55ba0d(0x12c)](_0x10fda7[_0x55ba0d(0x121)][_0x55ba0d(0x288)](_0x27f128,_0x4fe5f1)[_0x55ba0d(0x3c0)]),_0x524e91=Math['max'](_0x2d6085,_0x4baf38,0x28)+0xc,_0x4a84d1=_0x3d805d[_0x55ba0d(0x27f)]+_0x5f2bc2[_0x55ba0d(0x27f)],_0x58fcfc={},_0xc6ccd2={};for(let _0xbf353f=_0x25d573;_0xbf353f<_0x25d573+_0x4a84d1;_0xbf353f++){const _0x3ec379=_0x368f11['getColumnWidth'](_0xbf353f);_0x58fcfc[_0xbf353f]=_0x3ec379,_0xbf353f-_0x25d573<_0x5f2bc2[_0x55ba0d(0x27f)]?_0xc6ccd2[_0xbf353f-_0x25d573]=_0x524e91:_0xc6ccd2[_0xbf353f-_0x25d573]=_0x28ddac;}_0x416f5c[_0x55ba0d(0x3d4)]({'id':_0x298fdb[_0x55ba0d(0x359)]['id'],'params':{'subUnitId':_0x3f8442,'unitId':_0x221be7,'ranges':[{'startColumn':_0x25d573,'endColumn':_0x25d573+_0x4a84d1-0x1,'startRow':0x0,'endRow':_0x368f11[_0x55ba0d(0x268)]()-0x1}],'colWidth':_0xc6ccd2}}),_0x11caf4[_0x55ba0d(0x3d4)]({'id':_0x298fdb['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x3f8442,'unitId':_0x221be7,'ranges':[{'startColumn':_0x25d573,'endColumn':_0x25d573+_0x4a84d1-0x1,'startRow':0x0,'endRow':_0x368f11[_0x55ba0d(0x268)]()-0x1}],'colWidth':_0x58fcfc}});}return{'undos':_0x11caf4,'redos':_0x416f5c};}};_0x1f58f4=_0x49baa3([_0x5e47de(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb['SheetInterceptorService'])),_0x5e47de(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['Injector'])),_0x5e47de(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1['IUniverInstanceService'])),_0x5e47de(0x3,_0x369ce1['Inject'](_0x237829['SheetsPivotTableConfigModel'])),_0x5e47de(0x4,_0x369ce1['Inject'](_0x237829[_0x49f7c3(0x14b)]))],_0x1f58f4);var _0x4d5665=Object[_0x49f7c3(0x1cd)],_0x4b1f51=(_0x2cd138,_0x22d014,_0x52cce2,_0x283a9)=>{const _0x29db9b=_0x49f7c3;for(var _0xaf9d03=_0x283a9>0x1?void 0x0:_0x283a9?_0x4d5665(_0x22d014,_0x52cce2):_0x22d014,_0x6013d5=_0x2cd138[_0x29db9b(0x264)]-0x1,_0x19d904;_0x6013d5>=0x0;_0x6013d5--)(_0x19d904=_0x2cd138[_0x6013d5])&&(_0xaf9d03=_0x19d904(_0xaf9d03)||_0xaf9d03);return _0xaf9d03;},_0xb7385f=(_0xa988a5,_0x284c7d)=>(_0x2421e3,_0x5c5789)=>_0x284c7d(_0x2421e3,_0x5c5789,_0xa988a5);let _0x23a834=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x41ba83,_0x31a078,_0x4e4fc9,_0x3d774f,_0x20815a,_0x5d4cf9,_0xef520e){const _0x257cec=_0x49f7c3;super(),_0x2a34b8(this,_0x257cec(0x316),new _0x369ce1[(_0x257cec(0x254))]()),(this[_0x257cec(0x199)]=_0x41ba83,this['_refRangeService']=_0x31a078,this['_commandService']=_0x4e4fc9,this['_univerInstanceService']=_0x3d774f,this[_0x257cec(0x1fa)]=_0x20815a,this['_sheetsPivotTableAdaptorModel']=_0x5d4cf9,this[_0x257cec(0xf5)]=_0xef520e,this[_0x257cec(0x28f)]());}[_0x49f7c3(0x28f)](){const _0x25adb7=_0x49f7c3,_0x29fade=(_0x1b70e0,_0x22b317)=>{const _0x3b2105=_0x1752,_0x49ef9a=this['_univerInstanceService'][_0x3b2105(0x201)](_0x369ce1[_0x3b2105(0x3ab)][_0x3b2105(0x234)]);if(!_0x49ef9a||!(_0x49ef9a==null?void 0x0:_0x49ef9a[_0x3b2105(0x2b7)](_0x22b317)))return;this[_0x3b2105(0x316)]['dispose']();const _0x33707e=_0x30c91d=>this['_refRangeHandle'](_0x30c91d,_0x1b70e0,_0x22b317),_0x3d8f0a=this[_0x3b2105(0x1fa)][_0x3b2105(0x200)](_0x1b70e0,_0x22b317);if(!(_0x3d8f0a!=null&&_0x3d8f0a['size']))return;Array['from'](_0x3d8f0a[_0x3b2105(0x3a7)]())[_0x3b2105(0x35b)](_0x1f5b32=>{const {row:_0x41aaff,col:_0x2d5bf8}=_0x1f5b32['targetCellInfo'];return _0x369ce1['cellToRange'](_0x41aaff,_0x2d5bf8);})['forEach'](_0x562ffa=>{const _0x5d9567=_0x3b2105;this[_0x5d9567(0x316)][_0x5d9567(0xe4)](this[_0x5d9567(0x171)][_0x5d9567(0x27c)](_0x562ffa,_0x33707e,_0x1b70e0,_0x22b317));});},_0x2b6c7a=()=>{const _0x2d0097=_0x1752,_0xb79b58=this[_0x2d0097(0x3a4)]['getCurrentUnitForType'](_0x369ce1[_0x2d0097(0x3ab)]['UNIVER_SHEET']);if(_0xb79b58){const _0x13dda2=_0xb79b58['getActiveSheet']();if(!_0x13dda2)return;_0x29fade(_0xb79b58[_0x2d0097(0x33e)](),_0x13dda2[_0x2d0097(0x212)]());}};this[_0x25adb7(0x3dd)](this[_0x25adb7(0x32c)][_0x25adb7(0x100)](_0x38fa51=>{const _0x27972e=_0x25adb7;if(_0x38fa51['id']===_0x298fdb[_0x27972e(0x229)]['id']){const _0x4f9ab9=_0x38fa51[_0x27972e(0x376)],_0x4deead=_0x4f9ab9[_0x27972e(0x353)],_0x1a9f09=_0x4f9ab9[_0x27972e(0x25c)];if(!_0x4deead||!_0x1a9f09)return;_0x29fade(_0x1a9f09,_0x4deead);}})),this[_0x25adb7(0x3dd)](this[_0x25adb7(0x1fa)]['pivotInitCompleted$']['subscribe'](_0x2cfea8=>{_0x2cfea8&&_0x2b6c7a();})),this[_0x25adb7(0x3dd)](this[_0x25adb7(0x1fa)][_0x25adb7(0x3b4)][_0x25adb7(0x163)](_0x646091=>{const _0x43dd70=_0x25adb7,_0xd7c89b=_0x298fdb['getSheetCommandTarget'](this[_0x43dd70(0x3a4)],{'unitId':_0x646091[_0x43dd70(0x25c)],'subUnitId':_0x646091[_0x43dd70(0x353)]});if(!_0xd7c89b)return;const {unitId:_0x2602ad,subUnitId:_0x448feb}=_0xd7c89b,{unitId:_0x22531d,subUnitId:_0x30c37f}=_0x646091;_0x2602ad!==_0x22531d||_0x448feb!==_0x30c37f||_0x29fade(_0x2602ad,_0x448feb);})),_0x2b6c7a();}[_0x49f7c3(0x180)](_0x27b459,_0x82253c,_0x142873){const _0x5b06dc=_0x49f7c3;switch(_0x27b459['id']){case _0x298fdb[_0x5b06dc(0x1ef)]['id']:return this[_0x5b06dc(0x382)](_0x27b459['params'],_0x82253c,_0x142873);}return{'redos':[],'undos':[]};}[_0x49f7c3(0x382)](_0x57d5fc,_0xea60e0,_0x236c43){const _0x357083=_0x49f7c3,{fromRange:_0x5ab0db,toRange:_0x2a1280}=_0x57d5fc,_0xc97d36=[],_0x5641d4=[],_0x33d8b7=_0x298fdb[_0x357083(0x3b6)](this[_0x357083(0x3a4)]);if(!_0x33d8b7)return{'undos':_0x5641d4,'redos':_0xc97d36};if(_0xea60e0!==_0x33d8b7[_0x357083(0x25c)]||_0x236c43!==_0x33d8b7[_0x357083(0x353)])return{'undos':_0x5641d4,'redos':_0xc97d36};const _0x25d463=this[_0x357083(0x1fa)][_0x357083(0x200)](_0xea60e0,_0x236c43);if(_0x25d463!=null&&_0x25d463[_0x357083(0x390)])for(const [_0x4911f3,_0x2b4b47]of _0x25d463){const {unitId:_0x5a46e6,subUnitId:_0x1b5140,row:_0x9f066c,col:_0x213728}=_0x2b4b47[_0x357083(0xf9)];if(_0x5a46e6===_0x33d8b7[_0x357083(0x25c)]&&_0x1b5140===_0x33d8b7[_0x357083(0x353)]){const _0x32c30b=_0x369ce1[_0x357083(0x102)](_0x9f066c,_0x213728);if(_0x369ce1[_0x357083(0x32a)][_0x357083(0xe7)](_0x32c30b,_0x5ab0db)){const _0x547354=_0x9f066c-_0x5ab0db[_0x357083(0x1c7)],_0x5a3697=_0x213728-_0x5ab0db[_0x357083(0xfd)],_0x3e667d={'row':_0x2a1280['startRow']+_0x547354,'col':_0x2a1280['startColumn']+_0x5a3697};_0xc97d36[_0x357083(0x3d4)]({'id':_0x4164f8['id'],'params':{'unitId':_0x5a46e6,'subUnitId':_0x1b5140,'pivotTableId':_0x4911f3,'targetCellPosition':_0x3e667d}}),_0x5641d4[_0x357083(0x3d4)]({'id':_0x4164f8['id'],'params':{'unitId':_0x5a46e6,'subUnitId':_0x1b5140,'pivotTableId':_0x4911f3,'targetCellPosition':{'row':_0x9f066c,'col':_0x213728}}});const _0xa63c87=_0x3e667d[_0x357083(0x27d)]-_0x9f066c,_0x4bc599=_0x3e667d[_0x357083(0x2d3)]-_0x213728,_0x1597d7=[],_0x383450=this[_0x357083(0x3ba)][_0x357083(0x2b0)](_0x5a46e6,_0x1b5140,_0x4911f3),_0x5cd2cf=_0x383450==null?void 0x0:_0x383450[_0x357083(0x2e6)];if(_0x5cd2cf){Object[_0x357083(0x3e2)](_0x5cd2cf)[_0x357083(0x10a)](_0x4f9091=>{const _0x4584a0=_0x357083;_0x5cd2cf[_0x4f9091][_0x4584a0(0x10a)](_0x4357bc=>{const _0x161a3b=_0x4584a0,_0x474f62={..._0x4357bc};_0x474f62[_0x161a3b(0x1c7)]=_0x4357bc[_0x161a3b(0x1c7)]+_0xa63c87,_0x474f62['endRow']=_0x4357bc['endRow']+_0xa63c87,_0x474f62[_0x161a3b(0xfd)]=_0x4357bc['startColumn']+_0x4bc599,_0x474f62[_0x161a3b(0x12b)]=_0x4357bc[_0x161a3b(0x12b)]+_0x4bc599,_0x1597d7[_0x161a3b(0x3d4)](_0x474f62);});});const _0x4af18a=this[_0x357083(0xf5)][_0x357083(0x32d)]({'unitId':_0x5a46e6,'subUnitId':_0x1b5140,'ranges':_0x1597d7});_0xc97d36[_0x357083(0x3d4)](..._0x4af18a[_0x357083(0x1da)]),_0x5641d4[_0x357083(0x3d4)](..._0x4af18a[_0x357083(0x221)]);const _0x7d5297=_0x2706e1(this[_0x357083(0x199)],_0x5a46e6,_0x1b5140,_0x1597d7);_0x7d5297['shouldClear']&&(_0xc97d36[_0x357083(0x3d4)](_0x7d5297[_0x357083(0x18f)]),_0x5641d4[_0x357083(0x3d4)](_0x7d5297['setRangeValueUndoMutation']));}}}}return{'redos':_0xc97d36,'undos':_0x5641d4};}};_0x23a834=_0x4b1f51([_0xb7385f(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x211)])),_0xb7385f(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x2f8)])),_0xb7385f(0x2,_0x369ce1[_0x49f7c3(0x1f2)]),_0xb7385f(0x3,_0x369ce1[_0x49f7c3(0x389)]),_0xb7385f(0x4,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)])),_0xb7385f(0x5,_0x369ce1['Inject'](_0x237829[_0x49f7c3(0x10d)])),_0xb7385f(0x6,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x168)]))],_0x23a834);var _0x3763df=Object[_0x49f7c3(0x1cd)],_0xd3dec5=(_0x38e1d5,_0x411363,_0x2ce733,_0x3c4bc7)=>{const _0x14d13f=_0x49f7c3;for(var _0x340195=_0x3c4bc7>0x1?void 0x0:_0x3c4bc7?_0x3763df(_0x411363,_0x2ce733):_0x411363,_0x8fd7ef=_0x38e1d5[_0x14d13f(0x264)]-0x1,_0x3d7119;_0x8fd7ef>=0x0;_0x8fd7ef--)(_0x3d7119=_0x38e1d5[_0x8fd7ef])&&(_0x340195=_0x3d7119(_0x340195)||_0x340195);return _0x340195;},_0x243d87=(_0x150286,_0x447d2c)=>(_0x423293,_0x21d4b7)=>_0x447d2c(_0x423293,_0x21d4b7,_0x150286);let _0x40b147=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x4305b1,_0x5947f2){const _0x455a7a=_0x49f7c3;super(),this[_0x455a7a(0xf5)]=_0x4305b1,this[_0x455a7a(0x1fa)]=_0x5947f2,this['_initRemoveSheetCommandInterceptor']();}[_0x49f7c3(0x19c)](){const _0x44ad9=_0x49f7c3;this[_0x44ad9(0x3dd)](this['_sheetInterceptorService'][_0x44ad9(0x298)]({'getMutations':_0x466c9c=>{const _0x4165ad=_0x44ad9;if(_0x466c9c['id']===_0x298fdb[_0x4165ad(0x2d4)]['id']){const _0x283a83=[],_0x2323eb=[],_0x227f94=_0x466c9c[_0x4165ad(0x376)],{unitId:_0x57a737,subUnitId:_0x46e271}=_0x227f94;if(!_0x57a737||!_0x46e271)return{'undos':_0x2323eb,'redos':_0x283a83};const _0x4c8895=this[_0x4165ad(0x1fa)][_0x4165ad(0x200)](_0x57a737,_0x46e271);if(_0x4c8895!=null&&_0x4c8895[_0x4165ad(0x390)])for(const [_0x459b18,_0x455de9]of _0x4c8895){_0x283a83['push']({'id':_0x113373['id'],'params':{'unitId':_0x57a737,'subUnitId':_0x46e271,'pivotTableId':_0x459b18}});const _0x145b8b={...this[_0x4165ad(0x1fa)]['getCollection'](_0x57a737,_0x459b18)};_0x2323eb[_0x4165ad(0x3d4)]({'id':_0x307ba8['id'],'params':{'unitId':_0x57a737,'subUnitId':_0x46e271,'pivotTableId':_0x459b18,'pivotTableConfig':_0x455de9,'collectionConfig':_0x145b8b}});}return{'redos':_0x283a83,'undos':_0x2323eb};}return{'redos':[],'undos':[]};}}));}};_0x40b147=_0xd3dec5([_0x243d87(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x298fdb[_0x49f7c3(0x168)])),_0x243d87(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)]))],_0x40b147);var _0x11ac5a=Object[_0x49f7c3(0x1cd)],_0x2acaec=(_0x1a4f34,_0x4b82d0,_0x9eeb3b,_0x4a0286)=>{const _0x184467=_0x49f7c3;for(var _0x2656b4=_0x4a0286>0x1?void 0x0:_0x4a0286?_0x11ac5a(_0x4b82d0,_0x9eeb3b):_0x4b82d0,_0x59cf52=_0x1a4f34[_0x184467(0x264)]-0x1,_0xa4e092;_0x59cf52>=0x0;_0x59cf52--)(_0xa4e092=_0x1a4f34[_0x59cf52])&&(_0x2656b4=_0xa4e092(_0x2656b4)||_0x2656b4);return _0x2656b4;},_0x2123dc=(_0x5eee41,_0x2dccd6)=>(_0x333b57,_0x12bebd)=>_0x2dccd6(_0x333b57,_0x12bebd,_0x5eee41);let _0x70dc81=class extends _0x369ce1[_0x49f7c3(0x1b1)]{constructor(_0x53790d,_0x2317c3,_0x56e2f3,_0x14f968,_0x27eab2,_0x9e568e){const _0x58e662=_0x49f7c3;super(),this[_0x58e662(0x32c)]=_0x53790d,this['_sheetsPivotRpcService']=_0x2317c3,this[_0x58e662(0x3ba)]=_0x56e2f3,this[_0x58e662(0x1fa)]=_0x14f968,this[_0x58e662(0x3a4)]=_0x27eab2,this[_0x58e662(0x334)]=_0x9e568e,this[_0x58e662(0x309)](),this[_0x58e662(0x3d9)]();}['_initDataSendListener'](){const _0x4fee1d=_0x49f7c3;this[_0x4fee1d(0x3dd)](this['_commandService'][_0x4fee1d(0x100)](_0x55a8c8=>{const _0x300ff4=_0x4fee1d;if(_0x55a8c8['id']!==_0x234ed3['id'])return;const _0x268c48=_0x55a8c8[_0x300ff4(0x376)];this[_0x300ff4(0xd9)][_0x300ff4(0x336)](_0x268c48);})),this[_0x4fee1d(0x3dd)](this['_commandService'][_0x4fee1d(0x100)](_0x4d1d5c=>{const _0x38c1c4=_0x4fee1d;if(_0x4d1d5c['id']===_0x4c6758['id']){const _0x34986a=_0x4d1d5c[_0x38c1c4(0x376)];if(_0x34986a){const {unitId:_0x715af0,subUnitId:_0x136db0,oldSubUnitId:_0x17d1da,pivotTableId:_0x229942,pivotTableConfig:_0x792a45,collectionConfig:_0x33cd1a}=_0x34986a;this[_0x38c1c4(0x1fa)]['updateConfigCache'](_0x715af0,_0x17d1da,_0x34986a[_0x38c1c4(0x257)],null),this['_sheetsPivotTableConfigModel'][_0x38c1c4(0x111)](_0x715af0,_0x136db0,_0x229942,_0x792a45),this[_0x38c1c4(0x1fa)][_0x38c1c4(0x3f5)](_0x715af0,_0x33cd1a);}}})),this[_0x4fee1d(0x3dd)](this['_commandService'][_0x4fee1d(0x100)](_0x4b7766=>{const _0x1d3d64=_0x4fee1d;if(_0x4b7766['id']!==_0x48cc23['id'])return;const _0x258c2a=_0x298fdb['getSheetCommandTarget'](this[_0x1d3d64(0x3a4)]);if(!_0x258c2a)return;const {unitId:_0x5cfd6f,subUnitId:_0x4acec9}=_0x258c2a,_0x146772=_0x4b7766[_0x1d3d64(0x376)];if(_0x146772[_0x1d3d64(0x2b1)]&&Object[_0x1d3d64(0x3e2)](_0x146772['collectionConfig'])[_0x1d3d64(0x10a)](_0x205a1e=>{const _0x13e4bd=_0x1d3d64;var _0x9e0db2;(_0x9e0db2=_0x146772['collectionConfig'])!=null&&_0x9e0db2[_0x205a1e]&&this['_sheetsPivotTableConfigModel'][_0x13e4bd(0x3f5)](_0x205a1e,_0x146772['collectionConfig'][_0x205a1e]);}),_0x146772[_0x1d3d64(0x3b8)]){const _0x583df0=_0x146772[_0x1d3d64(0x3b8)],{unitId:_0xee43b3,subUnitId:_0x40dfe4,view:_0x1cd4bd,pivotTableId:_0x42746a,type:_0x3712a0,pivotConfig:_0x5a2dfc}=_0x583df0;if(_0x3712a0===_0x48b491[_0x1d3d64(0x2f7)])this['_sheetsPivotTableAdaptorModel'][_0x1d3d64(0x236)]({'unitId':_0xee43b3,'subUnitId':_0x40dfe4,'pivotTableId':_0x42746a,'type':_0x3712a0}),this[_0x1d3d64(0x1fa)][_0x1d3d64(0x111)](_0xee43b3,_0x40dfe4,_0x42746a,null);else{const _0x4ec8d2=new _0x2d316f['PivotView']();_0x4ec8d2[_0x1d3d64(0x23b)](_0x1cd4bd),this['_sheetsPivotTableConfigModel'][_0x1d3d64(0x111)](_0xee43b3,_0x40dfe4,_0x42746a,_0x5a2dfc),this['_sheetsPivotTableAdaptorModel'][_0x1d3d64(0x236)]({'unitId':_0xee43b3,'subUnitId':_0x40dfe4,'pivotTableId':_0x42746a,'type':_0x3712a0,'view':_0x4ec8d2}),this[_0x1d3d64(0x3ba)][_0x1d3d64(0x34e)]({'unitId':_0xee43b3,'subUnitId':_0x40dfe4,'view':_0x4ec8d2,'pivotTableId':_0x42746a,'type':_0x3712a0});}}else _0x146772[_0x1d3d64(0x136)]&&(_0x146772['batch'][_0x1d3d64(0x10a)](_0x145ea9=>{const _0x1db0eb=_0x1d3d64,{unitId:_0x133c3a,subUnitId:_0x42aeef,view:_0x199056,pivotTableId:_0x44006b,type:_0x46b3b3,pivotConfig:_0xcb9164}=_0x145ea9,_0x111a9a=new _0x2d316f[(_0x1db0eb(0x3be))]();_0x111a9a['formJSON'](_0x199056),this[_0x1db0eb(0x1fa)][_0x1db0eb(0x111)](_0x133c3a,_0x42aeef,_0x44006b,_0xcb9164),this['_sheetsPivotTableAdaptorModel'][_0x1db0eb(0x34e)]({'unitId':_0x133c3a,'subUnitId':_0x42aeef,'view':_0x111a9a,'pivotTableId':_0x44006b,'type':_0x46b3b3});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x1d3d64(0x3ba)][_0x1d3d64(0xf2)](_0x5cfd6f,_0x4acec9);}));}[_0x49f7c3(0x3d9)](){const _0x449539=_0x49f7c3;this[_0x449539(0x334)]['register'](_0x73bcf2['id'],{'commandId':_0x73bcf2['id'],'getDirtyData'(_0xbcd7be){return{'dirtyUnitFeatureMap':_0xbcd7be['params']};}});}};_0x70dc81=_0x2acaec([_0x2123dc(0x0,_0x369ce1[_0x49f7c3(0x1cf)](_0x369ce1[_0x49f7c3(0x1f2)])),_0x2123dc(0x1,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829['SheetsPivotRPCService'])),_0x2123dc(0x2,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x10d)])),_0x2123dc(0x3,_0x369ce1[_0x49f7c3(0x1cf)](_0x237829[_0x49f7c3(0x3ae)])),_0x2123dc(0x4,_0x369ce1['Inject'](_0x369ce1['IUniverInstanceService'])),_0x2123dc(0x5,_0xc627d4[_0x49f7c3(0x12e)])],_0x70dc81);var _0x4c9b62=Object[_0x49f7c3(0x1d7)],_0x19eb6e=Object['getOwnPropertyDescriptor'],_0x1b104a=(_0x54e650,_0x119241,_0x2f389e)=>_0x119241 in _0x54e650?_0x4c9b62(_0x54e650,_0x119241,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f389e}):_0x54e650[_0x119241]=_0x2f389e,_0x593f98=(_0x44ab01,_0x52c9d1,_0x3260ca,_0x59062c)=>{for(var _0x55ab75=_0x59062c>0x1?void 0x0:_0x59062c?_0x19eb6e(_0x52c9d1,_0x3260ca):_0x52c9d1,_0x29caeb=_0x44ab01['length']-0x1,_0x339667;_0x29caeb>=0x0;_0x29caeb--)(_0x339667=_0x44ab01[_0x29caeb])&&(_0x55ab75=_0x339667(_0x55ab75)||_0x55ab75);return _0x55ab75;},_0x152f50=(_0x59090e,_0x374506)=>(_0x5b9b47,_0x2e6332)=>_0x374506(_0x5b9b47,_0x2e6332,_0x59090e),_0x640e23=(_0x569ec5,_0x12104b,_0x12c582)=>_0x1b104a(_0x569ec5,typeof _0x12104b!=_0x49f7c3(0x31b)?_0x12104b+'':_0x12104b,_0x12c582);_0x237829[_0x49f7c3(0x1db)]=class extends _0x369ce1[_0x49f7c3(0x15a)]{constructor(_0x54df8f=_0x2ae668,_0x2ea94c,_0x257231,_0x25b380,_0x38be13){const _0x5aa337=_0x49f7c3;super(),this['_config']=_0x54df8f,this[_0x5aa337(0x199)]=_0x2ea94c,this['_commandService']=_0x257231,this[_0x5aa337(0x25b)]=_0x25b380,this[_0x5aa337(0x11d)]=_0x38be13;const {..._0x39ec36}=_0x369ce1[_0x5aa337(0x110)]({},_0x2ae668,this[_0x5aa337(0x230)]);this[_0x5aa337(0x25b)][_0x5aa337(0x2c3)](_0x242464,_0x39ec36),this[_0x5aa337(0x351)](),this[_0x5aa337(0x299)]();}['_initConfig'](){const _0x26aaa4=_0x49f7c3;var _0x300973;const _0x54b79b=(_0x300973=this[_0x26aaa4(0x230)])==null?void 0x0:_0x300973[_0x26aaa4(0x30a)];this[_0x26aaa4(0x25b)][_0x26aaa4(0x2c3)](_0x2884f3,_0x54b79b===!0x0);}['onStarting'](){const _0x1c8b19=_0x49f7c3;var _0x45f6d5;let _0x5f5cdb=[];const _0x3de2b8=(_0x45f6d5=this['_config'])==null?void 0x0:_0x45f6d5[_0x1c8b19(0x30a)];_0x3de2b8===!0x0?_0x5f5cdb=[[_0x237829[_0x1c8b19(0x14b)]],[_0x237829['SheetsPivotRPCService']],[_0x70dc81],[_0x237829[_0x1c8b19(0x10d)]],[_0x237829[_0x1c8b19(0x3ae)]],[_0x40b147],[_0x4a4274],[_0x23a834],[_0x1f58f4]]:_0x3de2b8===!0x1?_0x5f5cdb=[[_0x237829[_0x1c8b19(0x188)]],[_0xaea7e2]]:_0x3de2b8===void 0x0&&(_0x5f5cdb=[[_0x237829[_0x1c8b19(0x188)]],[_0xaea7e2],[_0x237829[_0x1c8b19(0x14b)]],[_0x237829[_0x1c8b19(0x1d9)]],[_0x70dc81],[_0x237829[_0x1c8b19(0x10d)]],[_0x237829[_0x1c8b19(0x3ae)]],[_0x40b147],[_0x4a4274],[_0x23a834],[_0x1f58f4]]),_0x5f5cdb[_0x1c8b19(0x10a)](_0x29f845=>this[_0x1c8b19(0x199)][_0x1c8b19(0xe4)](_0x29f845)),[_0xaea7e2,_0x70dc81,_0x237829[_0x1c8b19(0x14b)],_0x4a4274,_0x40b147,_0x23a834,_0x1f58f4][_0x1c8b19(0x10a)](_0x3d84fd=>{const _0xb4ba08=_0x1c8b19;this[_0xb4ba08(0x199)][_0xb4ba08(0x1e8)](_0x3d84fd)&&this[_0xb4ba08(0x199)][_0xb4ba08(0x392)](_0x3d84fd);});}['_initRegisterCommand'](){[_0x4ae5d8,_0x1e77bf,_0x58a346,_0x396819,_0x3c6b2d,_0x46af38,_0x3c035d,_0x2c8263,_0x2b8ba3,_0x71ad3f,_0x3af91c,_0x1fd2e9,_0x4b7c6b,_0xd040c9,_0x307ba8,_0x38cd28,_0x113373,_0x557557,_0x56b84e,_0x20c243,_0x21a58e,_0x29944c,_0x592967,_0x3c230f,_0x1194ee,_0x343710,_0x4164f8,_0x1fefb9,_0x234ed3,_0x48cc23,_0x51bde3,_0xd8814e,_0xd44f4,_0x282d71,_0x59c387,_0x2e1edc,_0xed5085,_0x73bcf2,_0x4c6758,_0x2c3c65,_0x1bae9f,_0x3f45e7,_0x5d942b]['forEach'](_0x3ef88a=>{const _0x5d2883=_0x1752;var _0x48e966;(_0x48e966=this[_0x5d2883(0x11d)])==null||_0x48e966[_0x5d2883(0x14d)](_0x3ef88a),this[_0x5d2883(0x32c)][_0x5d2883(0x146)](_0x3ef88a);});}},_0x640e23(_0x237829[_0x49f7c3(0x1db)],_0x49f7c3(0x2e1),_0x294572),_0x640e23(_0x237829[_0x49f7c3(0x1db)],_0x49f7c3(0x2d0),_0x369ce1[_0x49f7c3(0x3ab)]['UNIVER_SHEET']),_0x237829['UniverSheetsPivotTablePlugin']=_0x593f98([_0x369ce1[_0x49f7c3(0x313)](_0x5b8945[_0x49f7c3(0x326)]),_0x152f50(0x1,_0x369ce1['Inject'](_0x369ce1[_0x49f7c3(0x211)])),_0x152f50(0x2,_0x369ce1['Inject'](_0x369ce1['ICommandService'])),_0x152f50(0x3,_0x369ce1[_0x49f7c3(0x104)]),_0x152f50(0x4,_0x369ce1[_0x49f7c3(0x253)](_0x247d91['DataSyncPrimaryController']))],_0x237829[_0x49f7c3(0x1db)]),_0x237829[_0x49f7c3(0x23f)]=_0x58a346,_0x237829[_0x49f7c3(0x16d)]=_0x557557,_0x237829[_0x49f7c3(0x1f8)]=_0x1e77bf,_0x237829['AddPivotTableMutation']=_0x307ba8,_0x237829[_0x49f7c3(0x38d)]=_0x4ae5d8,_0x237829['BLANK_ROW_COUNT']=_0x523b9d,_0x237829[_0x49f7c3(0x1c3)]=_0x2b5880,_0x237829['MovePivotFieldCommand']=_0x396819,_0x237829[_0x49f7c3(0x3f3)]=_0x4b7c6b,_0x237829[_0x49f7c3(0x191)]=_0x2b63fe,_0x237829[_0x49f7c3(0x1e1)]=_0xd040c9,_0x237829[_0x49f7c3(0x165)]=_0x48b491,_0x237829[_0x49f7c3(0x32b)]=_0x73bcf2,_0x237829['PositionType']=_0x5055e3,_0x237829[_0x49f7c3(0x29d)]=_0x3c6b2d,_0x237829[_0x49f7c3(0x2eb)]=_0x29944c,_0x237829['RemovePivotTableMutation']=_0x113373,_0x237829[_0x49f7c3(0x32f)]=_0x592967,_0x237829['ResetPivotFieldsConfigCommand']=_0x5d942b,_0x237829[_0x49f7c3(0x396)]=_0x242464,_0x237829[_0x49f7c3(0x15f)]=_0x294572,_0x237829[_0x49f7c3(0x3b2)]=_0x2c8263,_0x237829[_0x49f7c3(0x2de)]=_0x3c230f,_0x237829[_0x49f7c3(0x280)]=_0x282d71,_0x237829['SetPivotFieldsConfigCommand']=_0x3f45e7,_0x237829[_0x49f7c3(0x271)]=_0x71ad3f,_0x237829['SetPivotFilterMutation']=_0x21a58e,_0x237829[_0x49f7c3(0xd6)]=_0x343710,_0x237829[_0x49f7c3(0x252)]=_0x4164f8,_0x237829[_0x49f7c3(0x3cd)]=_0x2b8ba3,_0x237829[_0x49f7c3(0x301)]=_0x1194ee,_0x237829['SetPivotSubtotalTypeMutation']=_0xd44f4,_0x237829[_0x49f7c3(0x112)]=_0x2c3c65,_0x237829[_0x49f7c3(0x10e)]=_0x1bae9f,_0x237829[_0x49f7c3(0x399)]=_0x3c035d,_0x237829['UpdateFieldPositionMutation']=_0x51bde3,_0x237829['UpdatePivotFieldSettingCommand']=_0x3af91c,_0x237829['UpdatePivotFieldSourceInfoMutation']=_0xed5085,_0x237829['UpdatePivotTableSourceRangeCommand']=_0x1fd2e9,_0x237829[_0x49f7c3(0x289)]=_0x2e1edc,_0x237829[_0x49f7c3(0x269)]=_0x46af38,_0x237829[_0x49f7c3(0x2e3)]=_0xd8814e,_0x237829[_0x49f7c3(0x29c)]=_0x52ee78,_0x237829[_0x49f7c3(0x292)]=_0x53b1ed,_0x237829[_0x49f7c3(0x278)]=_0x47e2f1,_0x237829[_0x49f7c3(0x27a)]=_0x2706e1,_0x237829[_0x49f7c3(0x293)]=_0x485549,_0x237829[_0x49f7c3(0x193)]=_0x2353cb,_0x237829['getFieldListByArea']=_0xe7c158,_0x237829[_0x49f7c3(0x245)]=_0x75bbf,_0x237829[_0x49f7c3(0x2c0)]=_0xdcd3eb,_0x237829[_0x49f7c3(0x263)]=_0x2de071,_0x237829[_0x49f7c3(0x2af)]=_0x4d4bdc,_0x237829[_0x49f7c3(0x131)]=_0x5bb57f,_0x237829['unionPivotViewRange']=_0x2652bb,Object[_0x49f7c3(0x1d7)](_0x237829,Symbol[_0x49f7c3(0x19f)],{'value':_0x49f7c3(0x25a)});}));