@univerjs-pro/sheets-pivot 0.9.4 → 0.10.0-nightly.202507310307

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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +39 -39
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/types/controllers/sheets-pivot-caculate.controller.d.ts +2 -3
  40. package/lib/types/controllers/sheets-pivot-interceptor.controller.d.ts +2 -3
  41. package/lib/types/models/sheets-pivot-data-source-model.d.ts +2 -3
  42. package/lib/types/services/sheets-pivot-rpc.service.d.ts +2 -3
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.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 +11 -11
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x48de2a,_0x28ac68){const _0x4ba10c=_0xc6ae,_0x107ff0=_0x48de2a();while(!![]){try{const _0x4c7fc5=parseInt(_0x4ba10c(0x137))/0x1+parseInt(_0x4ba10c(0x31b))/0x2*(parseInt(_0x4ba10c(0x395))/0x3)+-parseInt(_0x4ba10c(0x12a))/0x4*(-parseInt(_0x4ba10c(0x15f))/0x5)+-parseInt(_0x4ba10c(0x1d5))/0x6*(parseInt(_0x4ba10c(0xda))/0x7)+parseInt(_0x4ba10c(0x384))/0x8*(parseInt(_0x4ba10c(0x30a))/0x9)+-parseInt(_0x4ba10c(0x1f3))/0xa+-parseInt(_0x4ba10c(0x131))/0xb;if(_0x4c7fc5===_0x28ac68)break;else _0x107ff0['push'](_0x107ff0['shift']());}catch(_0x500e6e){_0x107ff0['push'](_0x107ff0['shift']());}}}(_0x28fa,0xae7ab),function(_0x4870ea,_0x1bb275){const _0x2b1e85=_0xc6ae;typeof exports==_0x2b1e85(0x2ba)&&typeof module<'u'?_0x1bb275(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==_0x2b1e85(0x1ea)&&define['amd']?define([_0x2b1e85(0xc6),'@univerjs-pro/engine-pivot',_0x2b1e85(0x16b),_0x2b1e85(0x299),_0x2b1e85(0x33f),_0x2b1e85(0x1f8),_0x2b1e85(0x214),_0x2b1e85(0x1fd),_0x2b1e85(0x2af),'@univerjs/engine-render'],_0x1bb275):(_0x4870ea=typeof globalThis<'u'?globalThis:_0x4870ea||self,_0x1bb275(_0x4870ea[_0x2b1e85(0x186)]={},_0x4870ea[_0x2b1e85(0xef)],_0x4870ea[_0x2b1e85(0x2c0)],_0x4870ea['UniverEngineFormula'],_0x4870ea[_0x2b1e85(0x9f)],_0x4870ea[_0x2b1e85(0x1f8)],_0x4870ea[_0x2b1e85(0x345)],_0x4870ea[_0x2b1e85(0x357)],_0x4870ea[_0x2b1e85(0x289)],_0x4870ea['UniverEngineRender']));}(this,function(_0x89a8ec,_0x24a6f0,_0x3f1699,_0x54af29,_0x1c7b09,_0x28d43e,_0x48414d,_0x10853a,_0x59f156,_0x340edc){'use strict';const _0x43ed60=_0xc6ae;var _0x4226cb=Object['defineProperty'],_0x147b91=(_0x3a1a27,_0x51fad6,_0x3dc337)=>_0x51fad6 in _0x3a1a27?_0x4226cb(_0x3a1a27,_0x51fad6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dc337}):_0x3a1a27[_0x51fad6]=_0x3dc337,_0x575f06=(_0x5e1822,_0x2bc866,_0x98e85d)=>_0x147b91(_0x5e1822,typeof _0x2bc866!=_0x43ed60(0x11f)?_0x2bc866+'':_0x2bc866,_0x98e85d);const _0x81ded8=Number[_0x43ed60(0x1c4)](0x68835018),_0x121f60=0x10,_0x53ba46=0x1,_0x1cc3eb=_0x43ed60(0x2da),_0x4cd667=0x1,_0x151292=_0x43ed60(0xbd),_0x32c6fb=_0x43ed60(0xcb),_0x4e2624=_0x43ed60(0x2ca),_0x29e8c5='#f4f4f5',_0x2dd948=_0x43ed60(0x377),_0xb51d9b=_0x43ed60(0xd4),_0x467bb4=_0x43ed60(0x35e),_0x552eb1=_0x43ed60(0x184),_0x136aa2=_0x43ed60(0x303),_0x2443fa=_0x43ed60(0x35e),_0x12df3c='#FFFFFF',_0x4b4e7f=_0x43ed60(0x2df),_0x4cc7a2=0xe,_0x5763f3=0x6;var _0x581236=(_0x20172f=>(_0x20172f[_0x43ed60(0x13e)]='existing',_0x20172f['New']=_0x43ed60(0x278),_0x20172f))(_0x581236||{});const _0x5c6bc9={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x46d021=0x1e,_0xc5712={'b':{'s':0x1,'cl':{'rgb':_0x4e2624}},'l':{'s':0x1,'cl':{'rgb':_0x4e2624}},'r':{'s':0x1,'cl':{'rgb':_0x4e2624}},'t':{'s':0x1,'cl':{'rgb':_0x4e2624}}},_0x35fd4d={'bg':{'rgb':_0x151292},'ht':0x2,'vt':0x2,'tb':0x1},_0x5d472a={'bg':{'rgb':_0x32c6fb},'ht':0x2,'vt':0x2,'tb':0x1},_0x4939a9={'rowStyle':{'bg':{'rgb':_0x4b4e7f},'bd':_0xc5712,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2443fa},'bd':null,'cl':{'rgb':_0x12df3c},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xc5712,'bg':{'rgb':_0x136aa2},'vt':0x2},'cornerStyle':{'bd':_0xc5712,'bg':{'rgb':_0xb51d9b},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xc5712,'bg':{'rgb':_0x29e8c5},'vt':0x2},'leafStyle':{'bd':_0xc5712,'bg':{'rgb':_0x2dd948},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x467bb4},'cl':{'rgb':_0x552eb1},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xc5712,'vt':0x2}};function _0x425910(_0x2d184b,_0x52867d,_0x39867b){const _0x50579a=_0x43ed60,_0x112139=_0x2d184b[_0x50579a(0x33b)](_0x3f1699[_0x50579a(0x27e)]),_0x1973f7=_0x39867b[_0x50579a(0x1bd)]('_');switch(_0x52867d){case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0x3aa)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x105)]:return _0x112139['t'](_0x50579a(0x10e),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x29c)]:return _0x112139['t'](_0x50579a(0x3a1),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)]['HourMinute']:return _0x112139['t'](_0x50579a(0x13d),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x30e)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x1973f7);case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0xcc)]:return _0x112139['t'](_0x50579a(0x1c2),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0xa3)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x1973f7);case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0x9e)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x9b)]:return _0x112139['t'](_0x50579a(0x222),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x301)]:return _0x112139['t'](_0x50579a(0x389),..._0x1973f7);}return'';}const _0xbb2f71=(_0x4a71c2,_0xb61939,_0x148215,_0x239dac)=>{const _0x28e84a=_0x43ed60;let _0x3b319a;const _0x3af287=_0x4a71c2[_0x28e84a(0x33b)](_0x3f1699['IUniverInstanceService'])[_0x28e84a(0x2a7)](_0x3f1699[_0x28e84a(0x139)][_0x28e84a(0xfd)]);if(!_0x3af287)return null;const _0x876252=_0x3af287[_0x28e84a(0x2ce)]();let _0x5d8768;if(_0x148215&&(_0x5d8768=_0x876252[_0x28e84a(0x297)](_0x148215)),_0xb61939!=null&&_0xb61939['v']||(_0xb61939==null?void 0x0:_0xb61939['v'])===0x0){_0x3b319a||(_0x3b319a={});const _0x10e991=_0x5cb347(_0xb61939['v']);typeof _0x10e991==_0x28e84a(0x209)?_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)]['NUMBER']:typeof _0x10e991==_0x28e84a(0x38b)&&(_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)]['STRING']),_0x3b319a['v']=_0x10e991;}if((_0xb61939!=null&&_0xb61939['i']||(_0xb61939==null?void 0x0:_0xb61939['i'])===0x0)&&(_0x3b319a||(_0x3b319a={}),_0x3b319a['fi']=_0xb61939['i']),_0xb61939!=null&&_0xb61939['s']&&(_0x3b319a||(_0x3b319a={}),_0x3b319a[_0x28e84a(0xa8)]=_0xb61939['s']),_0x148215&&(_0x3b319a||(_0x3b319a={}),_0x3b319a['s']=_0x5d8768),_0x239dac&&_0x3b319a!=null&&_0x3b319a['v']&&_0x3b319a['pbt']!==_0x24a6f0[_0x28e84a(0x2c1)][_0x28e84a(0x370)]&&_0x3b319a[_0x28e84a(0xa8)]!==_0x24a6f0['PivotCellStyleTypeEnum'][_0x28e84a(0x2c3)]){const _0x142b2c=String(_0x3b319a['v']),{dateType:_0x4688a0}=_0x239dac;_0x3b319a['v']=_0x425910(_0x4a71c2,_0x4688a0,_0x142b2c),_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)][_0x28e84a(0x217)];}return _0x3b319a;},_0x21cd62=(_0x1e55f4,_0x32b657,_0x42fa38,_0x6d3983)=>{const _0x3dfb6f=_0x43ed60;var _0x3a9cbf,_0x4e8898,_0x6c2c36,_0x35a708,_0x3be51e,_0x324f14,_0x5f2571,_0x2d6557,_0x296990,_0x5cb1b7,_0x2136f,_0x4f44cc,_0x4bcdf9,_0xd0b0e0;const _0x5737c9=_0x42fa38['targetCellInfo'],{cornerView:_0x49715d,rowView:_0x4e5be7,colView:_0x466381,dataView:_0x10421f,pageView:_0x2032f8,formatMap:_0x5a832c,groupInfo:_0x2e8856}=_0x32b657,{row:_0x30f99d,col:_0x474197}=_0x5737c9,_0x401312=new _0x3f1699[(_0x3dfb6f(0x2cb))](),_0x597999={},_0x5b5f51={},_0x237657={},_0x3831ef={},_0x190715={};let _0xb0281=_0x30f99d,_0x2c6bf4=_0x474197;Object[_0x3dfb6f(0x375)](_0x2032f8[_0x3dfb6f(0x187)])['forEach'](_0x56227b=>{const _0x5a4394=_0x3dfb6f;Object[_0x5a4394(0x375)](_0x2032f8[_0x5a4394(0x187)][Number(_0x56227b)])[_0x5a4394(0x2f8)](_0x34609f=>{const _0x29a897=_0x5a4394,_0x28a1cc={..._0x2032f8[_0x29a897(0x187)][Number(_0x56227b)][Number(_0x34609f)]};_0x401312[_0x29a897(0x297)](Number(_0x56227b)+_0xb0281,Number(_0x34609f)+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x28a1cc,_0x4939a9['pageStyle']));});});const _0x9855de=Object[_0x3dfb6f(0x375)](_0x2032f8[_0x3dfb6f(0x187)])['length'];_0xb0281+=_0x9855de+(_0x9855de?_0x4cd667:0x0);const _0x1fad3d=_0x49715d[_0x3dfb6f(0x2b0)](),_0x248271=_0x49715d[_0x3dfb6f(0x12b)]();for(let _0x37f32c=0x0;_0x37f32c<_0x1fad3d;_0x37f32c++)for(let _0x5859a5=0x0;_0x5859a5<_0x248271;_0x5859a5++){const _0x58c5e9={...(_0x4e8898=(_0x3a9cbf=_0x49715d[_0x3dfb6f(0x187)])==null?void 0x0:_0x3a9cbf[_0x37f32c])==null?void 0x0:_0x4e8898[_0x5859a5]};_0x58c5e9&&((_0x6c2c36=_0x4e5be7['headerMap'][_0x5859a5])!=null&&_0x6c2c36[_0x3dfb6f(0x302)])&&_0x5859a5===_0x248271-0x1&&_0x37f32c===_0x1fad3d-0x1&&(_0x58c5e9['v']=''+_0x6d3983[_0x3dfb6f(0x373)]),_0x401312[_0x3dfb6f(0x297)](_0x37f32c+_0xb0281,_0x5859a5+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x58c5e9,_0x4939a9[_0x3dfb6f(0x312)]));}for(let _0x1d35d9=0x0;_0x1d35d9<_0x49715d[_0x3dfb6f(0xfe)]['length'];_0x1d35d9++)_0x49715d[_0x3dfb6f(0xfe)][_0x1d35d9]&&(_0x237657[''+(_0x1d35d9+_0x2c6bf4)]=_0x49715d[_0x3dfb6f(0xfe)][_0x1d35d9]);_0x2c6bf4+=_0x248271;const _0x49ca66=_0x466381['headerMap'],_0x116225=_0x466381[_0x3dfb6f(0x116)]()>=0x0?_0x466381[_0x3dfb6f(0x116)]()+0x1:0x0,_0x13b1ae=_0x466381[_0x3dfb6f(0x157)]()>=0x0?_0x466381[_0x3dfb6f(0x157)]()+0x1:0x0;for(let _0x10d172=0x0;_0x10d172<_0x13b1ae;_0x10d172++){for(let _0x45294b=0x0;_0x45294b<_0x116225;_0x45294b++){const _0x5f59af={...(_0x3be51e=(_0x35a708=_0x466381[_0x3dfb6f(0x187)])==null?void 0x0:_0x35a708[_0x45294b])==null?void 0x0:_0x3be51e[_0x10d172]},_0x154c1f=(_0x324f14=_0x49ca66[_0x45294b])==null?void 0x0:_0x324f14['tableFieldId'],_0x126b75=_0x5a832c[_0x154c1f],_0x25e181=_0x2e8856[_0x154c1f];_0x5f59af&&(_0x5f59af['v']=_0x2a897d(_0x5f59af,_0x45294b===0x0&&((_0x5f2571=_0x466381[_0x3dfb6f(0xe1)](_0x10d172+0x1))==null?void 0x0:_0x5f2571['isValue']),_0x126b75,_0x6d3983));let _0x3f8645;_0x126b75?_0x3f8645={..._0x4939a9[_0x3dfb6f(0x114)],'n':{'pattern':_0x126b75}}:_0x3f8645={..._0x4939a9[_0x3dfb6f(0x114)]},_0x401312[_0x3dfb6f(0x297)](_0x45294b+_0xb0281,_0x10d172+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x5f59af,_0x3f8645,_0x25e181));}_0x466381[_0x3dfb6f(0xfe)][_0x10d172]&&(_0x5b5f51[''+(_0x10d172+_0x2c6bf4)]=_0x466381[_0x3dfb6f(0xfe)][_0x10d172]),_0x466381[_0x3dfb6f(0xe2)][_0x10d172+0x1]&&(_0x190715[''+(_0x10d172+_0xb0281+0x1)]=_0x466381['headerMap'][_0x10d172+0x1]);}_0xb0281+=_0x1fad3d;const _0xfc0668=_0x4e5be7['headerMap'],_0x3078d0=_0x4e5be7[_0x3dfb6f(0x116)]()>=0x0?_0x4e5be7['getLastRow']()+0x1:0x0,_0x54e5e4=_0x4e5be7[_0x3dfb6f(0x157)]()>=0x0?_0x4e5be7[_0x3dfb6f(0x157)]()+0x1:0x0;for(let _0x3c47b2=0x0;_0x3c47b2<_0x3078d0;_0x3c47b2++){for(let _0x298925=0x0;_0x298925<_0x54e5e4;_0x298925++){const _0x59c880={...(_0x296990=(_0x2d6557=_0x4e5be7['data'])==null?void 0x0:_0x2d6557[_0x3c47b2])==null?void 0x0:_0x296990[_0x298925]},_0x1b64dd=(_0x5cb1b7=_0xfc0668[_0x298925])==null?void 0x0:_0x5cb1b7[_0x3dfb6f(0x2e5)],_0x373a02=_0x5a832c[_0x1b64dd],_0x352a35=_0x2e8856[_0x1b64dd];_0x59c880&&(_0x59c880['v']=_0x2a897d(_0x59c880,!0x1,_0x373a02,_0x6d3983));let _0x14f308;_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x32c)]===_0x4e5be7['getColCount']()?_0x14f308=_0x4939a9[_0x3dfb6f(0xf6)]:_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x2ad)]?_0x14f308=_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x32c)]===0x0?_0x4939a9['grandTotal']:_0x4939a9['subTotalStyle']:_0x14f308=_0x4939a9[_0x3dfb6f(0xbf)],_0x373a02&&(_0x14f308={..._0x14f308,'n':{'pattern':_0x373a02}}),_0x401312[_0x3dfb6f(0x297)](_0x3c47b2+_0xb0281,_0x298925+_0x474197,_0xbb2f71(_0x1e55f4,_0x59c880,_0x14f308,_0x352a35));}_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2]&&(_0x597999[''+(_0x3c47b2+_0xb0281)]=_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2]),_0x4e5be7[_0x3dfb6f(0xe2)][_0x3c47b2]&&(_0x3831ef[''+(_0x3c47b2+_0x474197)]=_0x4e5be7[_0x3dfb6f(0xe2)][_0x3c47b2]);}const _0x18b424=_0x10421f[_0x3dfb6f(0x2b0)](),_0x379ce2=_0x10421f[_0x3dfb6f(0x12b)]();for(let _0x15a154=0x0;_0x15a154<_0x18b424;_0x15a154++)for(let _0x3e9398=0x0;_0x3e9398<_0x379ce2;_0x3e9398++){const _0x636585={...(_0x4f44cc=(_0x2136f=_0x10421f[_0x3dfb6f(0x187)])==null?void 0x0:_0x2136f[_0x15a154])==null?void 0x0:_0x4f44cc[_0x3e9398]};let _0x2e6ee7;_0x4e5be7[_0x3dfb6f(0xfe)][_0x15a154][_0x3dfb6f(0x2ad)]?_0x2e6ee7=_0x4e5be7['info'][_0x15a154][_0x3dfb6f(0x32c)]===0x0?_0x4939a9[_0x3dfb6f(0x366)]:_0x4939a9[_0x3dfb6f(0x113)]:_0x2e6ee7=_0x4939a9[_0x3dfb6f(0xb0)];const _0x897a01=_0x4e5be7[_0x3dfb6f(0xfe)][_0x15a154][_0x3dfb6f(0x374)],_0x489f9f=_0x466381[_0x3dfb6f(0xfe)][_0x3e9398][_0x3dfb6f(0x374)],_0x164ea5=Math['max'](_0x897a01,_0x489f9f),_0x26a0cf=_0x42fa38[_0x3dfb6f(0x1d8)][_0x3dfb6f(0x16c)][_0x3dfb6f(0x1b0)]();let _0x2442b6='';_0x164ea5<0x0?_0x2442b6=(_0x4bcdf9=_0x26a0cf[0x0])!=null?_0x4bcdf9:'':_0x2442b6=(_0xd0b0e0=_0x26a0cf[_0x164ea5])!=null?_0xd0b0e0:'';const _0x508fbd=_0x5a832c[_0x2442b6];_0x508fbd&&(_0x2e6ee7={..._0x2e6ee7,'n':{'pattern':_0x508fbd}}),_0x401312[_0x3dfb6f(0x297)](_0x15a154+_0xb0281,_0x3e9398+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x636585,_0x2e6ee7));}return{'valueMatrix':_0x401312,'rowInfo':_0x597999,'colInfo':_0x5b5f51,'cornerInfo':_0x237657,'rowHeaderMap':_0x3831ef,'colHeaderMap':_0x190715};};function _0x2a897d(_0x166c5f,_0x36b81e,_0x228d8d,_0x24bb6c){const _0x48cc82=_0x43ed60;let _0x362961=_0x166c5f['v'];_0x36b81e&&(_0x362961=''+_0x24bb6c[_0x48cc82(0x373)]);const _0x4221a9=_0x166c5f['t']&&(_0x166c5f['t']&_0x24a6f0[_0x48cc82(0x1d3)][_0x48cc82(0x398)])>0x0;if(_0x4221a9&&(_0x362961=''+_0x24bb6c[_0x48cc82(0x1f9)]),_0x166c5f['s']===_0x24a6f0[_0x48cc82(0x2c1)]['Subtotal']){let _0x3f470=_0x362961,_0x2eccd8='';_0x24a6f0[_0x48cc82(0x2bb)](_0x362961)&&(_0x3f470=_0x362961[_0x48cc82(0x270)],_0x2eccd8=_0x362961[_0x48cc82(0x342)]);const _0x3a973e=_0x228d8d&&!_0x4221a9?_0x3f1699[_0x48cc82(0x1c9)][_0x48cc82(0x2ac)](_0x228d8d,Number(_0x3f470)):_0x3f470;_0x2eccd8?_0x362961=_0x3a973e+'\x20'+_0x2eccd8:_0x362961=_0x3a973e+'\x20'+_0x24bb6c[_0x48cc82(0x292)];}else _0x166c5f['s']===_0x24a6f0[_0x48cc82(0x2c1)][_0x48cc82(0x370)]&&(_0x362961=_0x362961+'\x20'+_0x24bb6c['sheets-pivot.grandTotal']);return _0x362961;}function _0x5cb347(_0x26fe27){const _0x361cfd=_0x43ed60;if(_0x24a6f0['isErrorValue'](_0x26fe27)){const {errorType:_0x36f566}=_0x26fe27;switch(_0x36f566){case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x118)]:return _0x54af29[_0x361cfd(0x1c6)][_0x361cfd(0x30d)];case _0x24a6f0['PivotErrorTypeEnum'][_0x361cfd(0x1fc)]:return _0x54af29[_0x361cfd(0x1c6)]['NUM'];case _0x24a6f0[_0x361cfd(0x2fc)]['NotFunction']:return _0x54af29['ErrorType'][_0x361cfd(0x124)];case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x319)]:return _0x54af29[_0x361cfd(0x1c6)]['NAME'];case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x30c)]:return _0x54af29[_0x361cfd(0x1c6)][_0x361cfd(0x29e)];}}return _0x26fe27;}function _0x3688e4(_0x50db0d,_0x4f5620,_0x1bce27=!0x1,_0x34d41c=!0x1){const _0x2dfb3c=_0x43ed60,{data:_0x5c7302}=_0x4f5620,_0x1a9146=_0x4f5620[_0x2dfb3c(0x2b0)](),_0x306220=_0x4f5620[_0x2dfb3c(0x12b)]();if(_0x1a9146<=0x0||_0x306220<=0x0)return[];const _0xb66fb1=_0x4f5620['getLastCol'](),_0x35717f=_0x4f5620['getLastRow'](),_0x1d353e=_0x34d41c?_0x35717f>=0x0?_0x35717f+0x1:0x0:_0x1a9146,_0x13229a=_0x34d41c?_0xb66fb1>=0x0?_0xb66fb1+0x1:0x0:_0x306220,{row:_0x396e8d,col:_0xf28010}=_0x50db0d,_0x17e1ca=_0x396e8d,_0x29daf5=_0xf28010;if(_0x1bce27){const _0x4d30de=[];for(const [_0x594734,_0x181bf5]of Object[_0x2dfb3c(0x169)](_0x5c7302))for(const [_0x1f4b6c,_0x24fd8b]of Object[_0x2dfb3c(0x169)](_0x181bf5))_0x4d30de['push'](_0x3f1699[_0x2dfb3c(0x240)](_0x17e1ca+Number(_0x594734),_0x29daf5+Number(_0x1f4b6c)));return _0x4d30de;}else{const _0x325b7b=_0x34d41c?_0x1d353e>0x0?0x1:0x0:0x1,_0x4b023f=_0x34d41c?_0x13229a>0x0?0x1:0x0:0x1,_0x2d52c5=_0x396e8d+_0x1d353e-_0x325b7b,_0x3cec75=_0xf28010+_0x13229a-_0x4b023f;return[{'startRow':_0x17e1ca,'startColumn':_0x29daf5,'endRow':_0x2d52c5,'endColumn':_0x3cec75}];}}const _0x57d9c3=_0x43ed60(0xe3),_0x2a7c6b=_0x43ed60(0x221);var _0x56b655=(_0x1e2612=>(_0x1e2612[_0x43ed60(0x385)]=_0x43ed60(0x2a3),_0x1e2612['Panel']=_0x43ed60(0xdf),_0x1e2612[_0x43ed60(0x323)]=_0x43ed60(0xbb),_0x1e2612[_0x43ed60(0x11e)]=_0x43ed60(0x11e),_0x1e2612['AddPivotTable']=_0x43ed60(0x2b2),_0x1e2612[_0x43ed60(0x26d)]=_0x43ed60(0x170),_0x1e2612['RemovePivotField']=_0x43ed60(0xa9),_0x1e2612[_0x43ed60(0x2c8)]=_0x43ed60(0x2d4),_0x1e2612[_0x43ed60(0x1a1)]=_0x43ed60(0x31d),_0x1e2612[_0x43ed60(0xcd)]=_0x43ed60(0x3a7),_0x1e2612[_0x43ed60(0x167)]=_0x43ed60(0x204),_0x1e2612['UpdatePivotSource']=_0x43ed60(0x351),_0x1e2612['UpdateValuePosition']=_0x43ed60(0x386),_0x1e2612[_0x43ed60(0x1f7)]=_0x43ed60(0x1e1),_0x1e2612[_0x43ed60(0x219)]=_0x43ed60(0xf7),_0x1e2612[_0x43ed60(0x33c)]=_0x43ed60(0x223),_0x1e2612[_0x43ed60(0x356)]=_0x43ed60(0x280),_0x1e2612))(_0x56b655||{});const _0x5de561={'sheets-pivot.blankValue':_0x43ed60(0x14a),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x43ed60(0x290),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x43ed60(0x11a),'sheets-pivot.averageName':_0x43ed60(0x229),'sheets-pivot.countName':_0x43ed60(0x3ad),'sheets-pivot.countNumsName':_0x43ed60(0x3ad),'sheets-pivot.maxName':_0x43ed60(0x17a),'sheets-pivot.minName':_0x43ed60(0x262),'sheets-pivot.productName':_0x43ed60(0x19d),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x43ed60(0x100),'sheets-pivot.sumName':_0x43ed60(0x2ef),'sheets-pivot.varName':_0x43ed60(0x226),'sheets-pivot.varpName':_0x43ed60(0x2d1),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x43ed60(0x274),'sheets-pivot.value':_0x43ed60(0x342),'sheets-pivot.blank':_0x43ed60(0x398),'sheets-pivot.emptyPivot.filter':_0x43ed60(0x385),'sheets-pivot.emptyPivot.row':_0x43ed60(0x352),'sheets-pivot.emptyPivot.column':_0x43ed60(0x14b),'sheets-pivot.emptyPivot.values':_0x43ed60(0x2bd)},_0x505667={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0xb533ef=_0x3f1699['createAsyncInterceptorKey'](_0x43ed60(0x32d)),_0x2f0e9b=_0x3f1699[_0x43ed60(0x271)](_0x43ed60(0x1e5));var _0x55be86=(_0x3cdd8a=>(_0x3cdd8a['add']=_0x43ed60(0xe9),_0x3cdd8a['delete']=_0x43ed60(0x21c),_0x3cdd8a[_0x43ed60(0x31c)]='update',_0x3cdd8a))(_0x55be86||{}),_0x1870de=(_0x42693e=>(_0x42693e[_0x43ed60(0x11b)]=_0x43ed60(0xe9),_0x42693e[_0x43ed60(0xf0)]='set',_0x42693e[_0x43ed60(0x39e)]=_0x43ed60(0x21c),_0x42693e))(_0x1870de||{});const _0x156274={0x0:'n',0x1:'5',0x2:'Q',0x3:'E',0x4:'i',0x5:'O',0x6:'0',0x7:'T',0x8:'6',0x9:'l','c':'1','S':'2','i':'3','h':'4','L':'7','j':'8','G':'9','l':'a','a':'b','C':'c','I':'d','M':'e','w':'f','V':'g','s':'h','F':'j','y':'k','K':'m','x':'o','U':'p','J':'q','H':'r','r':'s','T':'t','N':'u','f':'v','X':'w','O':'x','D':'y','k':'z','e':'A','b':'B','B':'C','Q':'D','n':'F','Y':'G','m':'H','W':'I','E':'J','P':'K','q':'L','Z':'M','o':'N','t':'P','R':'R','v':'S','u':'U','z':'V','g':'W','A':'X','p':'Y','d':'Z'},_0x1e2524='wN0CT4x0\x20IMCHDUT4x0(94CM0rM,\x20UNa94CPMD)\x20{\x20\x20\x20\x20THD\x20{\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x2094CM0rMW0wxtlHTeHHlD\x20=\x2094CM0rM.rU94T(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20xH4V40ZMrrlVM\x20=\x20Ev5o.UlHrM(lTxa(94CM0rMW0wxtlHTeHHlD[S]));\x20\x20\x20\x20\x20\x20\x20\x204w\x20(!xH4V40ZMrrlVM.NI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xH4V40ZMrrlVM.NI\x20=\x20oNKaMH(94CM0rMW0wxtlHTeHHlD[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x204rgxHyMH\x20=\x20TDUMxw\x20gxHyMHY9xal9vCxUM\x20!==\x20\x27N0IMw40MI\x27\x20&&\x20rM9w\x2040rTl0CMxw\x20gxHyMHY9xal9vCxUM;\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20Cx0TMOT\x20=\x204rgxHyMH\x20?\x20rM9w\x20:\x20X40IxX;\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20KMrrlVMgxHI\x20=\x20Cx0TMOT.__blrM8h__.UlHrM(94CM0rMW0wxtlHTeHHlD[S]);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20KMrrlVM\x20=\x20Cx0TMOT.__mMO__.rTH40V4wD(KMrrlVMgxHI);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0lTNHMgxHI\x20=\x20Cx0TMOT.__blrM8h__.UlHrM(94CM0rMW0wxtlHTeHHlD[i]);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0lTNHM\x20=\x20Cx0TMOT.__mMO__.rTH40V4wD(r4V0lTNHMgxHI);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0zl94I\x20=\x20Cx0TMOT.__fMH4wD__(r4V0lTNHM,\x20KMrrlVM,\x20UNa94CPMD);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20IxKl40\x20=\x20xH4V40ZMrrlVM.IK;\x20\x20\x20\x20\x20\x20\x20\x20wN0CT4x0\x204rQxKl40ZlTCs40V(xtlTTMH0,\x20xmxrT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0\x20=\x20xtlTTMH0.HMU9lCM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrT\x20=\x20xmxrT.HMU9lCM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0tlHTr\x20=\x20UlTTMH0.rU94T(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrTtlHTr\x20=\x20sxrT.rU94T(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204w\x20(!UlTTMH0.40C9NIMr(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20UlTTMH0\x20===\x20sxrT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204w\x20(UlTTMH0tlHTr.9M0VTs\x20<\x20S\x20||\x20UlTTMH0tlHTr[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20wl9rM;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0vNww4O\x20=\x20UlTTMH0tlHTr.r94CM(c).Fx40(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrTvNww4O\x20=\x20sxrTtlHTr.r94CM(-UlTTMH0tlHTr.9M0VTs\x20+\x20c).Fx40(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20UlTTMH0vNww4O\x20===\x20sxrTvNww4O;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209MT\x20IxKl40zl94I\x20=\x20(IxKl40\x20&&\x20IxKl40.9M0VTs)\x20?\x20IxKl40.rxKM((IKWTMK)\x20=>\x204rQxKl40ZlTCs40V(IKWTMK,\x209xClT4x0.sxrT0lKM))\x20:\x20THNM;\x20\x20\x20\x20\x20\x20\x20\x204w\x20(9xClT4x0.sxrT0lKM\x20===\x20\x279xCl9sxrT\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IxKl40zl94I\x20=\x20THNM;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20fl94I\x20=\x20r4V0zl94I\x20&&\x20IxKl40zl94I;\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fl94I,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KMrrlVM:\x20xH4V40ZMrrlVM,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ClTCs\x20(MHHxH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fl94I:\x20wl9rM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KMrrlVM:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x5cd217={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0x293),'handler':()=>!0x0},_0x193676={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x4c5ebb={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2b1),'handler':()=>!0x0},_0x3ffdcd={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x34e502={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2eb),'handler':()=>!0x0},_0x2535b1=_0x1af770=>{const _0x2077e0=_0x43ed60;var _0x397c7a;return((_0x397c7a=_0x1af770[_0x2077e0(0x36f)])==null?void 0x0:_0x397c7a[_0x2077e0(0x396)][_0x2077e0(0x197)](/\r\n$/,''))||'';};class _0x51fae1 extends _0x24a6f0['DataFieldManager']{constructor(_0x56dc80,_0x445ad7){const _0x482590=_0x43ed60;super(),_0x575f06(this,'rangeKeyMap',{}),_0x575f06(this,'_univerInstanceService'),_0x575f06(this,_0x482590(0x338)),(this['_univerInstanceService']=_0x445ad7,this[_0x482590(0x338)]=_0x56dc80);}[_0x43ed60(0x331)](){const _0x566352=_0x43ed60;for(const _0x3ef459 in this[_0x566352(0xa5)]){const _0x3997d2=this[_0x566352(0xa5)][_0x3ef459],_0x34c103=_0x3997d2[_0x566352(0xbc)]();this[_0x566352(0x339)][_0x34c103]=_0x3997d2[_0x566352(0x242)]();}}[_0x43ed60(0x1d0)](){const _0x3d469a=_0x43ed60,_0x3f6282=this[_0x3d469a(0x338)];return _0x44e045['bind'](_0x3f6282);}[_0x43ed60(0x37d)](_0x2ffde0){const _0x5833b1=_0x43ed60,_0x19422f=this[_0x5833b1(0xa5)][_0x2ffde0][_0x5833b1(0x309)];delete this['dataFields'][_0x2ffde0],delete this[_0x5833b1(0x339)][_0x19422f];}[_0x43ed60(0x37f)](_0x41c561){const _0x4c4f8a=_0x43ed60;this['dataFields'][_0x41c561[_0x4c4f8a(0x242)]()]=_0x41c561;}[_0x43ed60(0x1ba)](_0x455df1){const _0x242636=_0x43ed60;var _0x5dca1f,_0x457362;const _0x3e2dcf=this['_host'][_0x242636(0x367)](_0x455df1);if(_0x3e2dcf){const {unitId:_0x56c00e,subUnitId:_0x211d7b}=_0x3e2dcf,_0x4f74cf=(_0x5dca1f=this[_0x242636(0x338)][_0x242636(0x275)](_0x56c00e,_0x211d7b,_0x455df1))==null?void 0x0:_0x5dca1f['sourceRangeInfo'];this[_0x242636(0x338)]['broadcastCollectionChange']({'token':_0x455df1,'type':_0x55be86[_0x242636(0x21c)],'dataRangeInfo':_0x4f74cf});}(_0x457362=this[_0x242636(0x361)](_0x455df1))==null||_0x457362['dispose'](),delete this['collections'][_0x455df1];}[_0x43ed60(0xbc)](_0x37ea25,_0x1ad652){const {sheetName:_0x3ce076,unitId:_0x266e0e,range:_0x3b55a6}=_0x37ea25,{startRow:_0x3cf463,endRow:_0x123a3a}=_0x3b55a6;return _0x54af29['serializeRangeWithSpreadsheet'](_0x266e0e,_0x3ce076,{'startRow':_0x3cf463,'endRow':_0x123a3a,'startColumn':_0x1ad652,'endColumn':_0x1ad652});}['getDataFieldByRangeKey'](_0x215d61){const _0x3d91e3=_0x43ed60;return this[_0x3d91e3(0xa5)][this[_0x3d91e3(0x339)][_0x215d61]];}[_0x43ed60(0x199)](_0x4675b2,_0x48f1c9){const _0x228d3f=_0x43ed60;this[_0x228d3f(0x339)][_0x4675b2]=_0x48f1c9;}[_0x43ed60(0x1f0)](_0x4d398a,_0x802943){const _0x449be1=_0x43ed60;this['rangeKeyMap'][_0x802943]=this['rangeKeyMap'][_0x4d398a],delete this[_0x449be1(0x339)][_0x4d398a];}[_0x43ed60(0x1c3)](_0x234509,_0x4cc7e2,_0x131b77,_0x119799){const _0x3aded6=_0x43ed60,_0x1197df=new _0x24a6f0[(_0x3aded6(0x136))](this);_0x1197df['fromJSON'](_0x4cc7e2);const _0x395a09=[];let _0x11e4a3=0x0;for(const _0x4b4d59 of _0x1197df[_0x3aded6(0x33a)]){const _0x140043=this[_0x3aded6(0xbc)](_0x131b77,_0x11e4a3),_0x2e78ea=this['dataFields'][_0x4b4d59];_0x2e78ea&&(_0x2e78ea[_0x3aded6(0x309)]=_0x140043,this[_0x3aded6(0x199)](_0x140043,_0x4b4d59),_0x395a09[_0x3aded6(0x182)]({'index':_0x11e4a3,'dataField':_0x2e78ea})),_0x11e4a3++;}return this[_0x3aded6(0x16e)](_0x234509,_0x1197df,_0x131b77,_0x119799),{'collection':_0x1197df,'updateDataFieldList':_0x395a09};}[_0x43ed60(0x340)](_0xfa251f,_0x557901){const _0xc6768a=_0x43ed60;return _0xfa251f[_0xc6768a(0x215)]===_0x3f1699['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0xfa251f[_0xc6768a(0x135)],'endRow':_0x557901['getRowCount']()-0x1,'endColumn':_0xfa251f['endColumn']}:{'startRow':_0xfa251f[_0xc6768a(0x13a)],'startColumn':_0xfa251f[_0xc6768a(0x135)],'endRow':_0xfa251f[_0xc6768a(0x18b)],'endColumn':_0xfa251f['endColumn']};}[_0x43ed60(0x97)](_0x3e9175){const _0x193b8a=_0x43ed60,{sheetName:_0x8545d4,range:_0x3f0a5c}=_0x3e9175,_0xa1610d=this[_0x193b8a(0x2dc)][_0x193b8a(0x2a7)](_0x3f1699[_0x193b8a(0x139)][_0x193b8a(0xfd)]),_0x326b1a=_0xa1610d['getSheetBySheetName'](_0x8545d4),_0x242a26=_0x326b1a[_0x193b8a(0x305)](),{startColumn:_0x42380d,startRow:_0x3565f5,endColumn:_0x837b29}=this[_0x193b8a(0x340)](_0x3f0a5c,_0x326b1a),_0x240104=_0xa1610d[_0x193b8a(0x2ce)](),_0x3b2279=new _0x24a6f0[(_0x193b8a(0x136))](this);_0x3b2279[_0x193b8a(0xc1)](_0x3e9175);const _0x14cd34=[],_0x706d2e={};for(let _0x3758d8=_0x42380d;_0x3758d8<=_0x837b29;_0x3758d8++){const _0x5d36b4=_0x242a26[_0x193b8a(0x381)](_0x3565f5,_0x3758d8),_0x33f7a5=this[_0x193b8a(0xbc)](_0x3e9175,_0x3758d8),_0xbafc7e=this[_0x193b8a(0x325)](_0x33f7a5);if(_0xbafc7e)_0x3b2279[_0x193b8a(0x372)](_0xbafc7e['getId'](),_0xbafc7e[_0x193b8a(0xbe)]());else{const _0x5344d6=this[_0x193b8a(0x185)]();let _0x2bf324=this[_0x193b8a(0x147)](_0x5d36b4,_0x240104,_0x706d2e);_0x24a6f0[_0x193b8a(0x349)](_0x2bf324)&&(_0x2bf324=_0x3f1699[_0x193b8a(0x1c9)]['format'](_0x2bf324['f'],Number(_0x2bf324['v'])));const _0x217723=this['uniqueDataFieldName'](_0x2bf324,_0x3758d8),_0x51a351=new _0x24a6f0['DataField'](_0x5344d6,_0x217723,_0x24a6f0['generateHexNumber'](0x3));_0x51a351['rangeKey']=_0x33f7a5,this[_0x193b8a(0xa5)][_0x5344d6]=_0x51a351,_0x3b2279[_0x193b8a(0x372)](_0x5344d6,_0x217723),_0x14cd34[_0x193b8a(0x182)]({'index':_0x3758d8,'dataField':_0x51a351});}}return{'updateDataFieldList':_0x14cd34,'collection':_0x3b2279};}['_getAutoName'](_0x1e9199){const _0x4801f4=_0x43ed60;return this['_host'][_0x4801f4(0x1a0)]()[_0x4801f4(0xe4)]+'\x20'+_0x3f1699[_0x4801f4(0x255)](_0x1e9199);}['uniqueDataFieldName'](_0x201d63,_0x53004e){return _0x201d63==null||_0x201d63===''?this['_getAutoName'](_0x53004e):String(_0x201d63);}[_0x43ed60(0x361)](_0x4676ba){return this['collections'][_0x4676ba];}[_0x43ed60(0x16e)](_0x1d0a49,_0x55b07f,_0x52e163,_0x3defcb){const _0x5a412b=_0x43ed60;this['collections'][_0x1d0a49]=_0x55b07f,_0x55b07f[_0x5a412b(0xc1)](_0x52e163),this['_host'][_0x5a412b(0x266)]({'token':_0x1d0a49,'type':_0x55be86[_0x5a412b(0xe9)],'dataRangeInfo':_0x52e163,'targetCellInfo':_0x3defcb});}['handleMoveRange'](_0x3ca812,_0x8e203b){const _0x1ead9d=_0x43ed60,_0x26735e=this[_0x1ead9d(0x361)](_0x3ca812),_0x2d802f=_0x26735e[_0x1ead9d(0x2d8)]();let _0x561076=0x0;for(const _0x43f8ee of _0x2d802f){const _0x179c0d=_0x26735e[_0x1ead9d(0x2c7)](_0x43f8ee),_0x74382d=this[_0x1ead9d(0xbc)](_0x8e203b,_0x561076);this[_0x1ead9d(0x1f0)](_0x179c0d[_0x1ead9d(0x309)],_0x74382d),_0x561076++;}}[_0x43ed60(0x284)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x43ed60(0x2ab)](_0x23a6a1,_0x2813c9){const _0x3584ee=_0x43ed60;if(this[_0x3584ee(0x361)](_0x23a6a1)){const _0x462f53=this[_0x3584ee(0x20a)](_0x2813c9),_0x1086fe=[];for(const _0x2bf85a of _0x462f53)this[_0x3584ee(0x339)][_0x2bf85a]!==void 0x0&&_0x1086fe[_0x3584ee(0x182)](this[_0x3584ee(0x339)][_0x2bf85a]);const _0x2db6c3=this['getNoUsedDataFieldIds'](_0x23a6a1),_0x46bef5=[],_0x5f460d=new Set(_0x1086fe);for(const _0x2afa89 of _0x2db6c3)_0x5f460d[_0x3584ee(0x1d1)](_0x2afa89)||_0x46bef5[_0x3584ee(0x182)](_0x2afa89);return _0x46bef5;}}['getMatrixValue'](_0x4ae7ae,_0x20476e,_0x4b63d3,_0x177966,_0x280d7b){const _0x32a908=_0x43ed60;return _0x20476e&&_0x20476e['getValue'](_0x177966,_0x280d7b)?_0x20476e[_0x32a908(0x381)](_0x177966,_0x280d7b):_0x4b63d3&&_0x4b63d3[_0x32a908(0x381)](_0x177966,_0x280d7b)?_0x4b63d3[_0x32a908(0x381)](_0x177966,_0x280d7b):_0x4ae7ae[_0x32a908(0x381)](_0x177966,_0x280d7b);}[_0x43ed60(0xb9)](_0x499cce,_0x37f265,_0x2e4a4e,_0x45f22a){const _0x5161e3=_0x43ed60,_0xb36a39=this[_0x5161e3(0xa5)][_0x499cce];if(!_0xb36a39)return;const {subUnitId:_0x1a6910,range:_0x1bbc21,unitId:_0x342541}=_0x37f265,_0x312096=this[_0x5161e3(0x2dc)][_0x5161e3(0x35a)](_0x342541);if(!_0x312096){console[_0x5161e3(0x175)]('workbook\x20is\x20not\x20found');return;}const _0x2b2c3f=_0x312096['getSheetBySheetId'](_0x1a6910),_0x181cd6=_0x2b2c3f[_0x5161e3(0x305)](),{arrayFormulaCellDataMatrix:_0x19fa19,unitDataMatrix:_0x5788b3}=_0x45f22a||{},{startRow:_0x22b5fd,startColumn:_0xbc8665,endRow:_0x429f08}=this[_0x5161e3(0x340)](_0x1bbc21,_0x2b2c3f);_0xb36a39[_0x5161e3(0x2a5)]();const _0x4480fb=_0x312096[_0x5161e3(0x2ce)](),_0x4ca5c8={},_0x567396=this[_0x5161e3(0x38a)](_0x181cd6,_0x19fa19,_0x5788b3,_0x22b5fd,_0xbc8665+_0x2e4a4e);let _0x3edd44=this['adjustSheetCellData'](_0x567396,_0x4480fb,_0x4ca5c8);_0x24a6f0[_0x5161e3(0x349)](_0x3edd44)&&(_0x3edd44=_0x3f1699['numfmt'][_0x5161e3(0x2ac)](_0x3edd44['f'],Number(_0x3edd44['v'])));const _0x3e380d=this[_0x5161e3(0x207)](_0x3edd44,_0xbc8665+_0x2e4a4e);_0xb36a39['setName'](_0x3e380d);for(let _0x4a907b=_0x22b5fd+0x1;_0x4a907b<=_0x429f08;_0x4a907b++){const _0x4558fb=this['getMatrixValue'](_0x181cd6,_0x19fa19,_0x5788b3,_0x4a907b,_0xbc8665+_0x2e4a4e);_0xb36a39[_0x5161e3(0x260)](this[_0x5161e3(0x147)](_0x4558fb,_0x4480fb,_0x4ca5c8),_0x4a907b-0x1-_0x22b5fd);}}[_0x43ed60(0xf8)](_0x15c2fb,_0x35c2af,_0x4b600b){const _0x3e7ade=_0x43ed60,{subUnitId:_0x539637,range:_0x38c4e7,unitId:_0x4460dc}=_0x4b600b,_0x3ec7df=this[_0x3e7ade(0x2dc)][_0x3e7ade(0x35a)](_0x4460dc);if(!_0x3ec7df){console[_0x3e7ade(0x175)](_0x3e7ade(0x12d));return;}const _0x35e75b=_0x3ec7df[_0x3e7ade(0x11d)](_0x539637),_0x2c0aed=_0x35e75b[_0x3e7ade(0x305)](),{startRow:_0x2111c0,startColumn:_0x231e51,endRow:_0x21900a}=this[_0x3e7ade(0x340)](_0x38c4e7,_0x35e75b),_0x160615=_0x3ec7df[_0x3e7ade(0x2ce)](),_0x3c9f48={};for(const {dataField:_0x2499b9,index:_0x37ef19}of _0x35c2af){_0x2499b9[_0x3e7ade(0x2a5)]();const _0xe556dc=this[_0x3e7ade(0x38a)](_0x2c0aed,void 0x0,void 0x0,_0x2111c0,_0x231e51+_0x37ef19);let _0x3900ff=this[_0x3e7ade(0x147)](_0xe556dc,_0x160615,_0x3c9f48);_0x24a6f0[_0x3e7ade(0x349)](_0x3900ff)&&(_0x3900ff=_0x3f1699[_0x3e7ade(0x1c9)][_0x3e7ade(0x2ac)](_0x3900ff['f'],Number(_0x3900ff['v'])));const _0x47a66e=this['uniqueDataFieldName'](_0x3900ff,_0x231e51+_0x37ef19);_0x2499b9[_0x3e7ade(0x2b3)](_0x47a66e);}_0x15c2fb[_0x3e7ade(0xd7)]();for(let _0x15b02a=_0x2111c0+0x1;_0x15b02a<=_0x21900a;_0x15b02a++)for(const {index:_0x4353c9,dataField:_0x4ce16d}of _0x35c2af){const _0x5c41c3=_0x2c0aed['getValue'](_0x15b02a,_0x231e51+_0x4353c9);_0x4ce16d[_0x3e7ade(0x260)](this[_0x3e7ade(0x147)](_0x5c41c3,_0x160615,_0x3c9f48),_0x15b02a-0x1-_0x2111c0);}_0x15c2fb[_0x3e7ade(0x343)](_0x21900a-_0x2111c0);}[_0x43ed60(0x20a)](_0x19f8fa){const _0x36040e=_0x43ed60,{range:_0x61ea0f}=_0x19f8fa,{startColumn:_0x4c6a58,endColumn:_0x509dc5}=_0x61ea0f,_0x51015f=[];for(let _0x8b3f4b=_0x4c6a58;_0x8b3f4b<=_0x509dc5;_0x8b3f4b++)_0x51015f[_0x36040e(0x182)](this['getRangeKey'](_0x19f8fa,_0x8b3f4b));return _0x51015f;}[_0x43ed60(0x147)](_0x2b4530,_0x378f20,_0x42b79b){const _0x28fc0d=_0x43ed60;if(_0x2b4530){const {s:_0x2996b2,v:_0x2acd00,t:_0x22404c,p:_0x3be969}=_0x2b4530;if(_0x3be969)return _0x2535b1(_0x3be969);const _0x1bca41=_0x378f20[_0x28fc0d(0x33b)](_0x2996b2);if(_0x1bca41&&_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x19c)]&&_0x1bca41['n']){const {pattern:_0x1157c0}=_0x1bca41['n'];_0x42b79b[_0x1157c0]||(_0x42b79b[_0x1157c0]=_0x3f1699[_0x28fc0d(0x1c9)][_0x28fc0d(0x336)](_0x1157c0));const _0x34e625=_0x42b79b[_0x1157c0],_0x1688b9=_0x34e625['isDate'];if(_0x34e625[_0x28fc0d(0xf2)])return String(_0x2acd00);if(_0x1688b9)return{'v':_0x2acd00,'f':_0x1157c0};}if(_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x19c)])return Number(_0x2acd00);if(_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x217)]||_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x2cd)])return String(_0x2acd00);if(_0x22404c===void 0x0){const _0x6a6064=Number(_0x2acd00);if(!Number[_0x28fc0d(0x34c)](_0x6a6064)&&String(_0x6a6064)===_0x2acd00)return _0x6a6064;}return _0x2acd00!=null?_0x2acd00:null;}else return null;}[_0x43ed60(0x348)](_0x379b56){const _0x424540=_0x43ed60,{sheetName:_0x56fdda,range:_0x14dd11,unitId:_0x2190cf}=_0x379b56,_0x39f9b2=this[_0x424540(0x2dc)]['getUnit'](_0x2190cf);if(!_0x39f9b2)return console['error'](_0x424540(0x12d)),{'header':[],'data':[]};const _0x3e1eb7=_0x39f9b2[_0x424540(0xa7)](_0x56fdda),_0x396861=_0x3e1eb7[_0x424540(0x305)](),{startRow:_0x36f24e,startColumn:_0xe9e331,endRow:_0x323e25,endColumn:_0x10ee37}=this[_0x424540(0x340)](_0x14dd11,_0x3e1eb7),_0x5ee7de=_0x39f9b2[_0x424540(0x2ce)](),_0x83b06c=[],_0x18109b=[],_0x15b622={};for(let _0x52895b=_0x36f24e;_0x52895b<=_0x323e25;_0x52895b++){const _0x4d7af7=[];for(let _0x2965da=_0xe9e331;_0x2965da<=_0x10ee37;_0x2965da++){const _0x53ffcd=_0x396861[_0x424540(0x381)](_0x52895b,_0x2965da);_0x52895b===_0x36f24e?_0x83b06c[_0x424540(0x182)](_0x53ffcd==null?null:String(_0x53ffcd['v'])):_0x4d7af7['push'](this[_0x424540(0x147)](_0x53ffcd,_0x5ee7de,_0x15b622));}_0x18109b[_0x424540(0x182)](_0x4d7af7);}return{'header':_0x83b06c,'data':_0x18109b};}[_0x43ed60(0x10f)](){const _0x9b1408=_0x43ed60;return super[_0x9b1408(0x10f)]();}[_0x43ed60(0x327)](_0x14eda8){const _0x5a3263=_0x43ed60;super[_0x5a3263(0x327)](_0x14eda8),this['initDataRanges']();}[_0x43ed60(0x180)](){const _0x195035=_0x43ed60;super[_0x195035(0x180)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x542000=_0x331b7b=>{const _0x3bb1e9=_0x43ed60,{targetCellInfo:_0x281fa3}=_0x331b7b,{matrixCache:_0xec1ecb,rangesCache:_0x1f1b0d}=_0x8a4b79({'filter':_0x3bb1e9(0x385),'row':'Row','column':_0x3bb1e9(0x14b),'values':_0x3bb1e9(0x2bd)},_0x281fa3),_0x3944f4=new _0x3f1699['ObjectMatrix']();return _0xec1ecb[_0x3bb1e9(0x36d)]((_0x54d2d4,_0x4c04a1,_0x8ddd11)=>{_0x3944f4['setValue'](_0x54d2d4,_0x4c04a1,_0x8ddd11);}),{'matrix':_0x3944f4,'rangesCache':_0x1f1b0d};},_0x48c8c1=_0x28d04f=>{const _0x5818c8=_0x43ed60;let _0xb79714;if(_0x28d04f!=null&&_0x28d04f['v']||(_0x28d04f==null?void 0x0:_0x28d04f['v'])===0x0){_0xb79714||(_0xb79714={});const _0x56bb4c=_0x5cb347(_0x28d04f['v']);typeof _0x56bb4c==_0x5818c8(0x209)?_0xb79714['t']=_0x3f1699[_0x5818c8(0x130)][_0x5818c8(0x19c)]:typeof _0x56bb4c=='string'&&(_0xb79714['t']=_0x3f1699['CellValueType']['STRING']),_0xb79714['v']=_0x56bb4c;}return _0xb79714;},_0xd9e50e=(_0x43e97c,_0x50f80d,_0x219b45)=>{const _0xa15031=_0x43ed60;var _0xcb0351,_0x4eec10,_0x1a5c80,_0x50efdc,_0x22f6dd,_0x5b0218,_0x44ec73,_0x4481cb,_0x3b36bd,_0x25dc52,_0x395015,_0x90d9d3;const {cornerView:_0x91279e,rowView:_0x5f132c,colView:_0x325a14,dataView:_0x1fc2f1,pageView:_0x7f51f3,formatMap:_0x4b05ef}=_0x43e97c,{row:_0x42ccc2,col:_0x375638}=_0x50f80d,_0x497afb=new _0x3f1699[(_0xa15031(0x2cb))]();let _0x93dbdc=_0x42ccc2,_0x5ee363=_0x375638;Object[_0xa15031(0x375)](_0x7f51f3['data'])['forEach'](_0x297d83=>{const _0x1daa75=_0xa15031;Object[_0x1daa75(0x375)](_0x7f51f3[_0x1daa75(0x187)][Number(_0x297d83)])[_0x1daa75(0x2f8)](_0xf4555b=>{const _0x328a14=_0x1daa75,_0x53a43a={..._0x7f51f3[_0x328a14(0x187)][Number(_0x297d83)][Number(_0xf4555b)]};_0x497afb[_0x328a14(0x297)](Number(_0x297d83)+_0x93dbdc,Number(_0xf4555b)+_0x5ee363,_0x48c8c1(_0x53a43a));});});const _0x4c0a89=Object['keys'](_0x7f51f3[_0xa15031(0x187)])['length'];_0x93dbdc+=_0x4c0a89+(_0x4c0a89?_0x4cd667:0x0);const _0x27423f=_0x91279e[_0xa15031(0x2b0)](),_0xdadc17=_0x91279e['getColCount']();for(let _0x1ca463=0x0;_0x1ca463<_0x27423f;_0x1ca463++)for(let _0x52fdc6=0x0;_0x52fdc6<_0xdadc17;_0x52fdc6++){const _0xf23ff8={...(_0x4eec10=(_0xcb0351=_0x91279e[_0xa15031(0x187)])==null?void 0x0:_0xcb0351[_0x1ca463])==null?void 0x0:_0x4eec10[_0x52fdc6]};_0xf23ff8&&((_0x1a5c80=_0x5f132c['headerMap'][_0x52fdc6])!=null&&_0x1a5c80[_0xa15031(0x302)])&&_0x52fdc6===_0xdadc17-0x1&&_0x1ca463===_0x27423f-0x1&&(_0xf23ff8['v']=''+_0x219b45['sheets-pivot.value']),_0x497afb['setValue'](_0x1ca463+_0x93dbdc,_0x52fdc6+_0x5ee363,_0x48c8c1(_0xf23ff8));}_0x5ee363+=_0xdadc17;const _0x221818=_0x325a14[_0xa15031(0xe2)],_0x4da138=_0x325a14['getLastRow']()>=0x0?_0x325a14[_0xa15031(0x116)]()+0x1:0x0,_0x41da62=_0x325a14[_0xa15031(0x157)]()>=0x0?_0x325a14[_0xa15031(0x157)]()+0x1:0x0;for(let _0x4ab71f=0x0;_0x4ab71f<_0x41da62;_0x4ab71f++)for(let _0x46b92c=0x0;_0x46b92c<_0x4da138;_0x46b92c++){const _0x3ddb3c={...(_0x22f6dd=(_0x50efdc=_0x325a14[_0xa15031(0x187)])==null?void 0x0:_0x50efdc[_0x4ab71f])==null?void 0x0:_0x22f6dd[_0x46b92c]},_0x3c45d5=(_0x5b0218=_0x221818[_0x4ab71f])==null?void 0x0:_0x5b0218[_0xa15031(0x2e5)],_0xfba303=_0x4b05ef[_0x3c45d5];_0x3ddb3c&&(_0x3ddb3c['v']=_0x2a897d(_0x3ddb3c,_0x4ab71f===0x0&&((_0x44ec73=_0x325a14[_0xa15031(0xe1)](_0x46b92c+0x1))==null?void 0x0:_0x44ec73[_0xa15031(0x302)]),_0xfba303,_0x219b45)),_0x497afb[_0xa15031(0x297)](_0x4ab71f+_0x93dbdc,_0x46b92c+_0x5ee363,_0x48c8c1(_0x3ddb3c));}_0x93dbdc+=_0x27423f;const _0x47250a=_0x5f132c['headerMap'],_0x113317=_0x5f132c[_0xa15031(0x116)]()>=0x0?_0x5f132c[_0xa15031(0x116)]()+0x1:0x0,_0x44a798=_0x5f132c[_0xa15031(0x157)]()>=0x0?_0x5f132c[_0xa15031(0x157)]()+0x1:0x0;for(let _0x44434f=0x0;_0x44434f<_0x113317;_0x44434f++)for(let _0x5a72c3=0x0;_0x5a72c3<_0x44a798;_0x5a72c3++){const _0x2a6025={...(_0x3b36bd=(_0x4481cb=_0x5f132c[_0xa15031(0x187)])==null?void 0x0:_0x4481cb[_0x44434f])==null?void 0x0:_0x3b36bd[_0x5a72c3]},_0x34117f=(_0x25dc52=_0x47250a[_0x5a72c3])==null?void 0x0:_0x25dc52[_0xa15031(0x2e5)],_0x482785=_0x4b05ef[_0x34117f];_0x2a6025&&(_0x2a6025['v']=_0x2a897d(_0x2a6025,!0x1,_0x482785,_0x219b45)),_0x497afb[_0xa15031(0x297)](_0x44434f+_0x93dbdc,_0x5a72c3+_0x375638,_0x48c8c1(_0x2a6025));}const _0x44ab86=_0x1fc2f1[_0xa15031(0x2b0)](),_0x44d5e0=_0x1fc2f1[_0xa15031(0x12b)]();for(let _0x5b9b9f=0x0;_0x5b9b9f<_0x44ab86;_0x5b9b9f++)for(let _0x51690f=0x0;_0x51690f<_0x44d5e0;_0x51690f++){const _0x48d0ef={...(_0x90d9d3=(_0x395015=_0x1fc2f1[_0xa15031(0x187)])==null?void 0x0:_0x395015[_0x5b9b9f])==null?void 0x0:_0x90d9d3[_0x51690f]};_0x497afb[_0xa15031(0x297)](_0x5b9b9f+_0x93dbdc,_0x51690f+_0x5ee363,_0x48c8c1(_0x48d0ef));}return _0x497afb;},_0x2375c2=_0x306ce1=>{const _0x3e0633=_0x43ed60,{view:_0x27d976,targetCellInfo:_0x16a799,isEmpty:_0x2fcd50,textInfo:_0x5ee143}=_0x306ce1;if(_0x2fcd50)return _0x542000(_0x306ce1);const {pageView:_0x465a8c,cornerView:_0x32131d,rowView:_0x4220c5,colView:_0x401075,dataView:_0x404069}=_0x27d976,_0x163e2c=_0x3688e4(_0x16a799,_0x465a8c,!0x0),_0x693275=_0x465a8c['lastRow']>=0x0?_0x465a8c[_0x3e0633(0x121)]+0x1:0x0,_0x58a776=_0x32131d['getRowCount'](),_0x20402f=_0x32131d[_0x3e0633(0x12b)](),_0x5b7ac3=_0x163e2c['length']>0x0?_0x4cd667:0x0,_0x3a32bb=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3,'col':_0x16a799[_0x3e0633(0x14c)]},_0x32131d,!0x1,!0x1),_0x3034f1=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3+_0x58a776,'col':_0x16a799[_0x3e0633(0x14c)]},_0x4220c5,!0x1,!0x0),_0x1f59c6=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3,'col':_0x16a799[_0x3e0633(0x14c)]+_0x20402f},_0x401075,!0x1,!0x0),_0x2dbd67=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3+_0x58a776,'col':_0x16a799[_0x3e0633(0x14c)]+_0x20402f},_0x404069,!0x1,!0x1),_0x395e88={'rowRanges':_0x3034f1,'colRanges':_0x1f59c6,'cornerRanges':_0x3a32bb,'dataRanges':_0x2dbd67,'pageRanges':_0x163e2c};return{'matrix':_0xd9e50e(_0x27d976,_0x16a799,_0x5ee143),'rangesCache':_0x395e88};};var _0x518cd8=Object[_0x43ed60(0x269)],_0x5d57aa=(_0x41e94e,_0x252da8,_0x56a9f8,_0x39fce5)=>{for(var _0x23b13f=_0x39fce5>0x1?void 0x0:_0x39fce5?_0x518cd8(_0x252da8,_0x56a9f8):_0x252da8,_0x563b14=_0x41e94e['length']-0x1,_0x59e4b9;_0x563b14>=0x0;_0x563b14--)(_0x59e4b9=_0x41e94e[_0x563b14])&&(_0x23b13f=_0x59e4b9(_0x23b13f)||_0x23b13f);return _0x23b13f;},_0x4963f7=(_0x459a47,_0x1d9d5e)=>(_0x2cbb25,_0x983cb5)=>_0x1d9d5e(_0x2cbb25,_0x983cb5,_0x459a47);_0x89a8ec['SheetsPivotDataSourceModel']=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x307875,_0xb83a6f,_0x586a23,_0x4697ef,_0x24439f,_0x1be0f1){const _0x3be3c8=_0x43ed60;super(),_0x575f06(this,_0x3be3c8(0x268),new Map()),_0x575f06(this,_0x3be3c8(0x3a8),new Map()),_0x575f06(this,_0x3be3c8(0x34b),new Map()),_0x575f06(this,'_textInfo'),_0x575f06(this,_0x3be3c8(0x218),new _0x28d43e[(_0x3be3c8(0x1ee))]()),_0x575f06(this,'collectionChange$',this['_collectionChange$'][_0x3be3c8(0xfc)]()),_0x575f06(this,_0x3be3c8(0x285),new _0x28d43e[(_0x3be3c8(0x1ee))]()),_0x575f06(this,_0x3be3c8(0x9a),this[_0x3be3c8(0x285)][_0x3be3c8(0xfc)]()),_0x575f06(this,'_fieldsCollectionChange$',new _0x28d43e['Subject']()),_0x575f06(this,_0x3be3c8(0x387),this[_0x3be3c8(0x38d)][_0x3be3c8(0xfc)]()),_0x575f06(this,_0x3be3c8(0x1b6),new Map()),_0x575f06(this,_0x3be3c8(0xb5),[]),_0x575f06(this,_0x3be3c8(0x146),new Map()),(this[_0x3be3c8(0x2f1)]=_0x307875,this[_0x3be3c8(0x2dc)]=_0xb83a6f,this['_lifecycleService']=_0x586a23,this[_0x3be3c8(0x359)]=_0x4697ef,this[_0x3be3c8(0x399)]=_0x24439f,this[_0x3be3c8(0xe7)]=_0x1be0f1,this[_0x3be3c8(0x216)]());}[_0x43ed60(0x1a0)](){const _0x10f855=_0x43ed60;return this[_0x10f855(0x134)]?this['_textInfo']:_0x5de561;}['setTextInfo'](_0x5bed69){this['_textInfo']=_0x5bed69;}['handleMoveRange'](_0x2c57b9){const _0x32a25e=_0x43ed60;var _0x26ffa2;const {from:_0x46f90a,to:_0x930014,unitId:_0x245d9f,fromRange:_0x1dfb31,toRange:_0x521e39}=_0x2c57b9;if(_0x46f90a&&_0x930014){const _0x12ec2b=this[_0x32a25e(0x1b1)](_0x245d9f),_0x48cfbc=this[_0x32a25e(0x268)][_0x32a25e(0x33b)](_0x245d9f),_0x23bfab=(_0x26ffa2=this[_0x32a25e(0x2dc)]['getUnit'](_0x245d9f))==null?void 0x0:_0x26ffa2[_0x32a25e(0x11d)](_0x930014['subUnitId']);if(!_0x48cfbc||!_0x23bfab)return;const _0x1caf85=_0x23bfab==null?void 0x0:_0x23bfab['getName']();for(const [_0x61a2f9,_0x374b07]of _0x48cfbc[_0x32a25e(0x169)]())for(const [_0x2026ac,_0x50e98f]of _0x374b07[_0x32a25e(0x169)]()){const {sourceRangeInfo:_0x3dd4f6}=_0x50e98f;if(_0x3dd4f6[_0x32a25e(0x210)]===_0x245d9f&&_0x3dd4f6[_0x32a25e(0x15a)]===_0x46f90a[_0x32a25e(0x15a)]&&_0x3f1699[_0x32a25e(0x36b)]['contains'](_0x1dfb31,_0x3dd4f6[_0x32a25e(0x24d)])){const _0x59b74a={'row':_0x3dd4f6['range'][_0x32a25e(0x13a)]-_0x1dfb31['startRow'],'col':_0x3dd4f6['range']['startColumn']-_0x1dfb31['startColumn']},_0x324396={'unitId':_0x245d9f,'subUnitId':_0x930014[_0x32a25e(0x15a)],'sheetName':_0x1caf85,'range':{'startRow':_0x521e39['startRow']+_0x59b74a[_0x32a25e(0x329)],'endRow':_0x521e39['startRow']+_0x59b74a[_0x32a25e(0x329)]+_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x18b)]-_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x13a)],'startColumn':_0x521e39[_0x32a25e(0x135)]+_0x59b74a[_0x32a25e(0x14c)],'endColumn':_0x521e39[_0x32a25e(0x135)]+_0x59b74a[_0x32a25e(0x14c)]+_0x3dd4f6[_0x32a25e(0x24d)]['endColumn']-_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x135)]}};_0x12ec2b[_0x32a25e(0x310)](_0x2026ac,_0x324396);const _0x1d876a={..._0x50e98f,'sourceRangeInfo':_0x324396};this[_0x32a25e(0x173)](_0x245d9f,_0x930014[_0x32a25e(0x15a)],_0x2026ac,_0x1d876a),this[_0x32a25e(0x266)]({'unitId':_0x245d9f,'token':_0x2026ac,'type':_0x55be86[_0x32a25e(0x31c)],'oldSourceRangeInfo':_0x3dd4f6,'dataRangeInfo':_0x324396,'targetCellInfo':_0x50e98f[_0x32a25e(0x3a4)]}),this[_0x32a25e(0x1c1)]({'unitId':_0x245d9f,'subUnitId':_0x930014[_0x32a25e(0x15a)],'oldSubUnitId':_0x61a2f9,'pivotTableId':_0x2026ac,'pivotTableConfig':_0x1d876a,'collectionConfig':_0x12ec2b[_0x32a25e(0x10f)]()});}}}}[_0x43ed60(0x266)](_0x146fe7){const _0x5bc17e=_0x43ed60;this[_0x5bc17e(0x218)][_0x5bc17e(0x2c4)](_0x146fe7);}[_0x43ed60(0x1b1)](_0x2d42f7){const _0x2f2cb2=_0x43ed60;let _0xca5dd0=this[_0x2f2cb2(0x1b6)][_0x2f2cb2(0x33b)](_0x2d42f7);return _0xca5dd0||(_0xca5dd0=new _0x51fae1(this,this[_0x2f2cb2(0x2dc)]),this['_dataFieldManagerCollection']['set'](_0x2d42f7,_0xca5dd0)),_0xca5dd0;}['getCollection'](_0x4311b8,_0x4baad4){const _0x33c546=_0x43ed60;return this[_0x33c546(0x1b1)](_0x4311b8)[_0x33c546(0x379)][_0x4baad4];}['getUpdateRangeDeleteIds'](_0x162955,_0x556406,_0xefcb24){const _0x143f95=_0x43ed60;return this[_0x143f95(0x1b1)](_0x162955)[_0x143f95(0x2ab)](_0x556406,_0xefcb24);}['_ensurePivotMap'](_0x255ecb,_0x32bc77){const _0x19d555=_0x43ed60;let _0x180b2a=this[_0x19d555(0x268)]['get'](_0x255ecb);_0x180b2a||(_0x180b2a=new Map(),this['_model'][_0x19d555(0x273)](_0x255ecb,_0x180b2a));let _0x187bf8=_0x180b2a[_0x19d555(0x33b)](_0x32bc77);return _0x187bf8||(_0x187bf8=new Map(),_0x180b2a[_0x19d555(0x273)](_0x32bc77,_0x187bf8)),_0x187bf8;}[_0x43ed60(0x173)](_0x2e4f9b,_0xf43f7c,_0x3aff36,_0x329782){const _0x13ef79=_0x43ed60;this[_0x13ef79(0x31e)](_0x2e4f9b,_0xf43f7c)[_0x13ef79(0x273)](_0x3aff36,_0x329782);}[_0x43ed60(0xa4)](_0xeb4d41,_0xfcb602,_0x51392a){const _0x15790f=_0x43ed60;var _0x213c4b,_0xee4af0,_0x2a0a8e,_0xe8dc46;((_0xee4af0=(_0x213c4b=this[_0x15790f(0x268)]['get'](_0xeb4d41))==null?void 0x0:_0x213c4b[_0x15790f(0x33b)](_0xfcb602))==null?void 0x0:_0xee4af0['get'](_0x51392a))&&((_0xe8dc46=(_0x2a0a8e=this[_0x15790f(0x268)][_0x15790f(0x33b)](_0xeb4d41))==null?void 0x0:_0x2a0a8e[_0x15790f(0x33b)](_0xfcb602))==null||_0xe8dc46[_0x15790f(0x21c)](_0x51392a));}[_0x43ed60(0x201)](_0x48613e,_0x3440d7){this['_pivotTableInstanceCache']['set'](_0x48613e,_0x3440d7);}['_deletePivotTableInstanceCache'](_0x3af9fe){const _0x96d1dc=_0x43ed60;this[_0x96d1dc(0x3a8)]['delete'](_0x3af9fe);}[_0x43ed60(0x26e)](_0x33a4db,_0x17a17f){const _0x32e44d=_0x43ed60;let _0xbbbb94=this[_0x32e44d(0x34b)][_0x32e44d(0x33b)](_0x33a4db);_0xbbbb94||(_0xbbbb94=new Map(),this[_0x32e44d(0x34b)][_0x32e44d(0x273)](_0x33a4db,_0xbbbb94));let _0x3c7d8d=_0xbbbb94[_0x32e44d(0x33b)](_0x17a17f);return _0x3c7d8d||(_0x3c7d8d=new Map(),_0xbbbb94['set'](_0x17a17f,_0x3c7d8d)),_0x3c7d8d;}['updateConfig'](_0x148daf){const _0x5d9338=_0x43ed60,{unitId:_0x537db5,subUnitId:_0x354078,pivotTableId:_0x1ae312,pivotTableConfig:_0x5d95ed,collectionConfig:_0x12dd1e}=_0x148daf,_0x2b4441={'unitId':_0x537db5,'subUnitId':_0x354078,'oldSubUnitId':_0x354078,'pivotTableId':_0x1ae312,'pivotTableConfig':_0x5d95ed,'collectionConfig':_0x12dd1e};this[_0x5d9338(0x399)][_0x5d9338(0x294)](_0x3ffdcd['id'],_0x2b4441,{'onlyLocal':!0x0});}[_0x43ed60(0x259)](_0x5427a7,_0x5e7c0d,_0x54e30b,_0x2e3156,_0x33d9ce,_0x20ca5c,_0x249e65,_0xc868a0=!0x1){const _0x3b5cab=_0x43ed60;var _0xf97b86;this[_0x3b5cab(0x399)][_0x3b5cab(0x294)](_0x4c5ebb['id'],{'single':{'unitId':_0x5427a7,'subUnitId':_0x5e7c0d,'type':_0x54e30b,'pivotTableId':_0x2e3156,'view':_0x33d9ce,'pivotConfig':_0x20ca5c},'collectionConfig':{[_0x5427a7]:_0x249e65}},{'onlyLocal':!0x0});const _0x45d350=!!((_0xf97b86=this['getPivotTableInstance'](_0x2e3156))!=null&&_0xf97b86['isEmpty']()),_0x3b3fa2=this['getPivotTableConfig'](_0x5427a7,_0x5e7c0d,_0x2e3156);_0x3b3fa2&&this[_0x3b5cab(0x258)]({'view':_0x33d9ce,'pivotTableId':_0x2e3156,'textInfo':this[_0x3b5cab(0x1a0)](),'isEmpty':_0x45d350,'targetCellInfo':_0x3b3fa2[_0x3b5cab(0x3a4)]},_0xc868a0);}[_0x43ed60(0x258)](_0x28c0db,_0xa62dbb){const _0x2b5c2d=_0x43ed60,{targetCellInfo:_0x4ceb34,pivotTableId:_0x33b437}=_0x28c0db,{unitId:_0x51f11e,subUnitId:_0x289ef0}=_0x4ceb34,_0x4449f0=this[_0x2b5c2d(0x26e)](_0x51f11e,_0x289ef0),_0x20be22=_0x4449f0[_0x2b5c2d(0x33b)](_0x33b437);let _0x4b9049,_0x989955;_0x20be22&&(_0x4b9049=_0x20be22[_0x2b5c2d(0x1f6)],_0x989955=_0x20be22[_0x2b5c2d(0x288)]);const {rangesCache:_0x17e0f7,matrix:_0xa8b8a3}=_0x2375c2(_0x28c0db);_0x4449f0[_0x2b5c2d(0x273)](_0x33b437,{'rangeCache':_0x17e0f7,'matrix':_0xa8b8a3,'oldMatrix':_0x989955,'oldRangeCache':_0x4b9049}),_0xa62dbb||this['_viewData$']['next']({'unitId':_0x51f11e,'subUnitId':_0x289ef0,'pivotTableId':_0x33b437});}['addPivotTable'](_0x34da63,_0x4de613,_0x3de97c,_0x70c33d,_0x390a2e){const _0x1c1828=_0x43ed60;this[_0x1c1828(0x173)](_0x34da63,_0x4de613,_0x3de97c,_0x390a2e),this[_0x1c1828(0x201)](_0x3de97c,_0x70c33d);}['removePivotTable'](_0x264ca8,_0x11c7bc,_0x35cbf3){const _0x2b2a61=_0x43ed60,_0x4d3259=this[_0x2b2a61(0x1b1)](_0x264ca8);_0x4d3259['getNoUsedDataFieldIds'](_0x35cbf3)[_0x2b2a61(0x2f8)](_0x2777eb=>{const _0xcfe7fb=_0x2b2a61;_0x4d3259[_0xcfe7fb(0x37d)](_0x2777eb);}),this['removeCollections'](_0x264ca8,_0x35cbf3),this[_0x2b2a61(0xa4)](_0x264ca8,_0x11c7bc,_0x35cbf3),this[_0x2b2a61(0xd1)](_0x35cbf3);}[_0x43ed60(0x2d0)](_0x1058e8,_0x1628e8,_0x1d2f19,_0x325273){this['_updateModelCache'](_0x1058e8,_0x1628e8,_0x1d2f19,_0x325273);}[_0x43ed60(0x275)](_0x291d31,_0x22b88e,_0x36a35b){const _0x5c939f=_0x43ed60;var _0x2fa937,_0x2874d6;const _0x1cf87a=(_0x2874d6=(_0x2fa937=this[_0x5c939f(0x268)]['get'](_0x291d31))==null?void 0x0:_0x2fa937[_0x5c939f(0x33b)](_0x22b88e))==null?void 0x0:_0x2874d6['get'](_0x36a35b);if(_0x1cf87a)return _0x1cf87a;}[_0x43ed60(0x26c)](_0x29960c,_0x1beb4e,_0x521318){const _0xd6c945=_0x43ed60;var _0x345dab,_0x120e2a;const _0x22be05=(_0x120e2a=(_0x345dab=this[_0xd6c945(0x268)]['get'](_0x29960c))==null?void 0x0:_0x345dab[_0xd6c945(0x33b)](_0x1beb4e))==null?void 0x0:_0x120e2a['get'](_0x521318);if(_0x22be05)return _0x22be05['fieldsConfig'];}['getPivotTableInstance'](_0x557873){const _0xcbf850=_0x43ed60;return this[_0xcbf850(0x3a8)][_0xcbf850(0x33b)](_0x557873);}['deleteUnitId'](_0x565846){const _0x2d80d4=_0x43ed60;this[_0x2d80d4(0x268)]['delete'](_0x565846);const _0x51eef6=this['_dataFieldManagerCollection'][_0x2d80d4(0x33b)](_0x565846);_0x51eef6&&(_0x51eef6[_0x2d80d4(0x180)](),this[_0x2d80d4(0x1b6)][_0x2d80d4(0x21c)](_0x565846)),this[_0x2d80d4(0x34b)][_0x2d80d4(0x21c)](_0x565846),this[_0x2d80d4(0xb5)][_0x2d80d4(0x2f8)](_0x34bf7b=>{_0x34bf7b['deleteUnitId'](_0x565846);});}[_0x43ed60(0x1c3)](_0x858d3f,_0xf2690f,_0x31a857,_0x5ce8a7){const _0x48c7df=_0x43ed60;return this[_0x48c7df(0x1b1)](_0x31a857[_0x48c7df(0x210)])[_0x48c7df(0x1c3)](_0x858d3f,_0xf2690f,_0x31a857,_0x5ce8a7);}[_0x43ed60(0x97)](_0x13d7d0){const _0x18f177=_0x43ed60;return this[_0x18f177(0x1b1)](_0x13d7d0[_0x18f177(0x210)])['createCollectionWithDataRange'](_0x13d7d0);}[_0x43ed60(0xf8)](_0x4d65f5,_0xd639b1,_0x28c910){const _0x18f3e2=_0x43ed60;this['getDataFieldManager'](_0x28c910[_0x18f3e2(0x210)])['refreshData'](_0x4d65f5,_0xd639b1,_0x28c910);}[_0x43ed60(0x2c6)](_0x26cb86,_0x2eee0a){const _0x564f8f=_0x43ed60;this[_0x564f8f(0x1b1)](_0x26cb86)[_0x564f8f(0x37d)](_0x2eee0a);}[_0x43ed60(0x178)](_0x241264,_0x4fc60){const _0x490dfb=_0x43ed60;this[_0x490dfb(0x1b1)](_0x241264)[_0x490dfb(0x1ba)](_0x4fc60);}[_0x43ed60(0x39b)](_0x2bc0d4,_0xb9739a){const _0x2fef80=_0x43ed60;var _0x342096;return(_0x342096=this[_0x2fef80(0x268)]['get'](_0x2bc0d4))==null?void 0x0:_0x342096[_0x2fef80(0x33b)](_0xb9739a);}[_0x43ed60(0x367)](_0x261ae3){const _0x2177f5=_0x43ed60;for(const [_0x368ea5,_0x19a120]of this[_0x2177f5(0x268)][_0x2177f5(0x169)]())for(const [_0x444d65,_0x5aa0ee]of _0x19a120['entries']())if(_0x5aa0ee[_0x2177f5(0x1d1)](_0x261ae3))return{'unitId':_0x368ea5,'subUnitId':_0x444d65};return null;}[_0x43ed60(0x17e)](_0x486a97,_0x5b00ec,_0x579fa0,_0x97101f){const _0x408997=_0x43ed60,_0x2b5ef5=this['_ensureViewDataMap'](_0x486a97,_0x5b00ec);_0x97101f?_0x2b5ef5[_0x408997(0x273)](_0x579fa0,_0x97101f):_0x2b5ef5['delete'](_0x579fa0),this[_0x408997(0x285)]['next']({'unitId':_0x486a97,'subUnitId':_0x5b00ec,'pivotTableId':_0x579fa0});}[_0x43ed60(0x180)](){const _0x55524e=_0x43ed60;super[_0x55524e(0x180)]();}[_0x43ed60(0x18d)](_0x346802,_0x1003b6,_0x53b7e9){const _0x3d4ad8=_0x43ed60;var _0x23f5a9,_0x45f7b1;const _0x5623de=(_0x45f7b1=(_0x23f5a9=this['_viewData'][_0x3d4ad8(0x33b)](_0x346802))==null?void 0x0:_0x23f5a9[_0x3d4ad8(0x33b)](_0x1003b6))==null?void 0x0:_0x45f7b1[_0x3d4ad8(0x33b)](_0x53b7e9);return _0x5623de||null;}[_0x43ed60(0x232)](_0x471a0d){const _0x59630a=_0x43ed60;this[_0x59630a(0x102)](_0x471a0d);}[_0x43ed60(0x102)](_0x570303){const _0x29dda1=_0x43ed60,{token:_0x2fa039,unitId:_0x294c2c,subUnitId:_0x1347c0}=_0x570303,_0xf4aba3=_0x294c2c+'-'+_0x1347c0+'-'+_0x2fa039;this[_0x29dda1(0x146)][_0x29dda1(0x33b)](_0xf4aba3)&&clearTimeout(this[_0x29dda1(0x146)][_0x29dda1(0x33b)](_0xf4aba3));const _0x23334b=setTimeout(()=>{const _0x4e4549=_0x29dda1;this[_0x4e4549(0x337)](_0x570303),this[_0x4e4549(0x146)][_0x4e4549(0x21c)](_0xf4aba3);},_0x46d021);this[_0x29dda1(0x146)]['set'](_0xf4aba3,_0x23334b);}[_0x43ed60(0x337)](_0x3b4747){const _0x3e76a6=_0x43ed60,{unitId:_0x43838f,subUnitId:_0xab0720,token:_0x1d6a44,type:_0x5b3743,pivotConfig:_0x332d24}=_0x3b4747,_0x19490e=this['getPivotTableInstance'](_0x1d6a44),_0x57be8c=_0x19490e==null?void 0x0:_0x19490e[_0x3e76a6(0x264)](),_0x456ffe=_0x332d24!=null?_0x332d24:this[_0x3e76a6(0x275)](_0x43838f,_0xab0720,_0x1d6a44);_0x456ffe&&(_0x456ffe[_0x3e76a6(0x35c)]=!!(_0x19490e!=null&&_0x19490e[_0x3e76a6(0x35c)]())),(_0x57be8c||_0x5b3743===_0x1870de[_0x3e76a6(0x39e)])&&this['updateView'](_0x43838f,_0xab0720,_0x5b3743,_0x1d6a44,_0x57be8c,_0x456ffe,this[_0x3e76a6(0x1b1)](_0x43838f)[_0x3e76a6(0x10f)]());}[_0x43ed60(0x10f)](_0x3172fe){const _0x351e34=_0x43ed60,_0x243295={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3172fe)&&(_0x243295[_0x351e34(0x1f4)][_0x3172fe]=this[_0x351e34(0x1b1)](_0x3172fe)[_0x351e34(0x10f)]()),this[_0x351e34(0x268)][_0x351e34(0x33b)](_0x3172fe)){_0x243295[_0x351e34(0x193)][_0x3172fe]={};const _0x237417=this[_0x351e34(0x268)][_0x351e34(0x33b)](_0x3172fe);_0x237417!=null&&_0x237417[_0x351e34(0x1e8)]&&[..._0x237417[_0x351e34(0x375)]()][_0x351e34(0x2f8)](_0x1403b2=>{const _0x219582=_0x351e34,_0x3ec604=_0x237417[_0x219582(0x33b)](_0x1403b2);_0x3ec604!=null&&_0x3ec604['size']&&(_0x243295[_0x219582(0x193)][_0x3172fe][_0x1403b2]={},[..._0x3ec604[_0x219582(0x375)]()][_0x219582(0x2f8)](_0x2d79b4=>{const _0x8aacc4=_0x219582,_0x5b03b7=_0x3ec604[_0x8aacc4(0x33b)](_0x2d79b4);_0x5b03b7&&(_0x243295[_0x8aacc4(0x193)][_0x3172fe][_0x1403b2][_0x2d79b4]=_0x5b03b7);}));});}return _0x243295;}[_0x43ed60(0x327)](_0x5bd237){const _0x2f6463=_0x43ed60;var _0x213e76;const {dataFieldManagerConfig:_0x276fc3,pivotTableConfigs:_0x30c24d}=_0x5bd237;_0x276fc3&&Object[_0x2f6463(0x375)](_0x276fc3)[_0x2f6463(0x2f8)](_0x5ac74b=>{const _0x522ed5=_0x2f6463;this[_0x522ed5(0x1b1)](_0x5ac74b)[_0x522ed5(0x327)](_0x276fc3[_0x5ac74b]);});const _0x29b70d=[];if(_0x30c24d){const _0x4ec336=(_0x213e76=this[_0x2f6463(0x2f1)]['get'](_0x3f1699[_0x2f6463(0x23e)])[_0x2f6463(0x30f)](_0x48414d['LS_CONFIG_KEY']))!=null?_0x213e76:{},{ls:_0x5aaa48,pbk:_0x4cf135}=_0x4ec336,_0x2baf67=_0xa1005d(_0x53ba46,_0x5aaa48,_0x4cf135)[_0x2f6463(0x28f)];Object[_0x2f6463(0x375)](_0x30c24d)['forEach'](_0x3bc901=>{const _0x3b1d10=_0x2f6463;let _0x2ae16a=0x0;const _0x23a439=_0x30c24d[_0x3bc901];Object[_0x3b1d10(0x375)](_0x23a439)[_0x3b1d10(0x2f8)](_0x211094=>{const _0xb4919=_0x3b1d10,_0x3d96e6=_0x23a439[_0x211094];Object[_0xb4919(0x375)](_0x3d96e6)['forEach'](_0x2dac5f=>{const _0x5662af=_0xb4919,_0x540aa9=_0x3d96e6[_0x2dac5f];if(_0x540aa9){if(_0x2ae16a>=_0x2baf67)return;_0x2ae16a++;const _0x29e259=this[_0x5662af(0x1b1)](_0x3bc901),_0x1ae20f=_0x29e259[_0x5662af(0x379)][_0x2dac5f],_0x352758=_0x1ae20f[_0x5662af(0x2d8)]();let _0x517ea1=0x0;const _0x345e8d=[];for(const _0x5d8eab of _0x352758){const _0x4feec9=_0x1ae20f['getFieldById'](_0x5d8eab);if(_0x24a6f0[_0x5662af(0x156)](_0x4feec9)){const _0x3be279=_0x4feec9[_0x5662af(0x211)](),_0x45ff6a=_0x1ae20f['getFieldById'](_0x3be279);_0x45ff6a&&_0x345e8d[_0x5662af(0x182)]([_0x4feec9,_0x45ff6a]);continue;}_0x29e259['refreshDataField'](_0x5d8eab,_0x540aa9[_0x5662af(0x1af)],_0x517ea1),_0x517ea1++;}_0x345e8d['forEach'](([_0x48300f,_0x54f685])=>{const _0x2b5e72=_0x5662af;_0x48300f[_0x2b5e72(0x151)](_0x54f685);});const _0x572ba9=new _0x24a6f0[(_0x5662af(0x308))](_0x1ae20f);_0x572ba9[_0x5662af(0x327)](_0x540aa9[_0x5662af(0x1d8)]),this[_0x5662af(0x2b2)](_0x3bc901,_0x211094,_0x2dac5f,_0x572ba9,_0x540aa9);const _0x566a75=_0x572ba9[_0x5662af(0x264)]();_0x29b70d[_0x5662af(0x182)]({'unitId':_0x3bc901,'subUnitId':_0x211094,'pivotTableId':_0x2dac5f,'view':_0x566a75[_0x5662af(0x10f)](),'pivotConfig':_0x540aa9,'type':_0x1870de[_0x5662af(0x11b)]});const _0x55b331=!!_0x572ba9[_0x5662af(0x35c)](),_0x710222={'view':_0x566a75,'pivotTableId':_0x2dac5f,'textInfo':this['getTextInfo'](),'isEmpty':_0x55b331,'targetCellInfo':_0x540aa9[_0x5662af(0x3a4)]};this[_0x5662af(0x258)](_0x710222,!0x1);}});});});}_0x276fc3&&Object[_0x2f6463(0x375)](_0x276fc3)['forEach'](_0x1d6a92=>{const _0x303ab7=_0x2f6463,_0x408f86=this[_0x303ab7(0x1b1)](_0x1d6a92);this[_0x303ab7(0x38d)]['next'](_0x408f86[_0x303ab7(0x379)]);}),this[_0x2f6463(0x399)][_0x2f6463(0x294)](_0x4c5ebb['id'],{'batch':_0x29b70d,'collectionConfig':_0x276fc3},{'onlyLocal':!0x0});}[_0x43ed60(0x216)](){const _0x1ccdd1=_0x43ed60;this[_0x1ccdd1(0xaf)](this[_0x1ccdd1(0xe7)][_0x1ccdd1(0x322)]({'toJson':_0x1ad2b0=>JSON['stringify'](this[_0x1ccdd1(0x10f)](_0x1ad2b0)),'parseJson':_0x41ed5f=>{const _0x12f895=_0x1ccdd1;if(!_0x41ed5f)return{};try{return JSON[_0x12f895(0x203)](_0x41ed5f);}catch{return{};}},'businesses':[_0x3f1699[_0x1ccdd1(0x139)][_0x1ccdd1(0xfd)]],'pluginName':_0x1cc3eb,'onLoad':(_0x1208f2,_0x506191)=>{this['fromJSON'](_0x506191);},'onUnLoad':_0x338be0=>{this['deleteUnitId'](_0x338be0);}}));}},_0x89a8ec[_0x43ed60(0x1b5)]=_0x5d57aa([_0x4963f7(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x4963f7(0x1,_0x3f1699[_0x43ed60(0x1b9)]),_0x4963f7(0x2,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1e9)])),_0x4963f7(0x3,_0x3f1699[_0x43ed60(0x23e)]),_0x4963f7(0x4,_0x3f1699[_0x43ed60(0x163)]),_0x4963f7(0x5,_0x3f1699['Inject'](_0x3f1699['IResourceManagerService']))],_0x89a8ec['SheetsPivotDataSourceModel']);const _0x43d41d={0x0:{0x0:{'v':_0x43ed60(0x2a3),'s':_0x35fd4d}},0x2:{0x1:{'v':'','s':_0x35fd4d},0x2:{'v':'','s':_0x35fd4d},0x3:{'v':_0x43ed60(0x31a),'s':_0x35fd4d},0x4:{'v':'','s':_0x35fd4d},0x5:{'v':'','s':_0x35fd4d}},0x3:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x4:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x5:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x6:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x7:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x8:{0x0:{'v':_0x43ed60(0x329),'s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':_0x43ed60(0x213),'s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x9:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xa:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xb:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xc:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xd:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}}},_0x25b867={'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':[]},_0x8a4b79=(_0x280644,_0x3f2b03)=>{const _0x38cf97=_0x43ed60,_0x40dec9=new _0x3f1699[(_0x38cf97(0x2cb))](),_0x29d124=new _0x3f1699[(_0x38cf97(0x2cb))](_0x43d41d),{row:_0x36f1c1,col:_0xcf300d}=_0x3f2b03;_0x29d124[_0x38cf97(0x36d)]((_0x5bb857,_0x2ddd8a,_0x583631)=>{const _0x4fb86a=_0x38cf97;let _0x49f1d2='';_0x583631['v']===_0x4fb86a(0x2a3)?_0x49f1d2=_0x280644[_0x4fb86a(0x2a3)]:_0x583631['v']===_0x4fb86a(0x329)?_0x49f1d2=_0x280644[_0x4fb86a(0x329)]:_0x583631['v']==='column'?_0x49f1d2=_0x280644[_0x4fb86a(0x31a)]:_0x583631['v']==='values'&&(_0x49f1d2=_0x280644[_0x4fb86a(0x213)]),_0x40dec9[_0x4fb86a(0x297)](_0x5bb857+_0x36f1c1,_0x2ddd8a+_0xcf300d,{..._0x583631,'v':_0x49f1d2});});const _0x553e43=_0x3f1699[_0x38cf97(0x21b)][_0x38cf97(0xf5)](_0x25b867);return Object[_0x38cf97(0x375)](_0x25b867)[_0x38cf97(0x2f8)](_0x1f1e6a=>{const _0x3f38b0=_0x38cf97;_0x553e43[_0x1f1e6a]=_0x25b867[_0x1f1e6a][_0x3f38b0(0xca)](_0x4743e7=>({..._0x4743e7,'startRow':_0x4743e7[_0x3f38b0(0x13a)]+_0x36f1c1,'endRow':_0x4743e7['endRow']+_0x36f1c1,'startColumn':_0x4743e7[_0x3f38b0(0x135)]+_0xcf300d,'endColumn':_0x4743e7[_0x3f38b0(0x1dc)]+_0xcf300d}));}),{'matrixCache':_0x40dec9,'rangesCache':_0x553e43};};function _0x44e045(_0x30572d,_0x1f6d37){const _0x2334e5=_0x43ed60;let _0x37d017='';const _0xccba27=this[_0x2334e5(0x1a0)]();switch(_0x1f6d37){case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x166)]:_0x37d017=_0xccba27[_0x2334e5(0x1b3)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x28f)]:_0x37d017=_0xccba27['sheets-pivot.countName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x2fb)]:_0x37d017=_0xccba27[_0x2334e5(0x28c)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['max']:_0x37d017=_0xccba27[_0x2334e5(0x37b)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x2f6)]:_0x37d017=_0xccba27[_0x2334e5(0xc8)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['product']:_0x37d017=_0xccba27['sheets-pivot.productName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['stdDev']:_0x37d017=_0xccba27['sheets-pivot.stdDevName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x1a2)]:_0x37d017=_0xccba27[_0x2334e5(0x227)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x37a)]:_0x37d017=_0xccba27[_0x2334e5(0x20c)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x34a)]:_0x37d017=_0xccba27['sheets-pivot.varName']+_0x30572d;break;case _0x24a6f0['PivotSubtotalTypeEnum']['varp']:_0x37d017=_0xccba27['sheets-pivot.varpName']+_0x30572d;break;default:_0x37d017=_0x30572d;break;}return _0x37d017;}function _0x4e2eec(_0xa81f73,_0xa0fd8e,_0x54520b,_0x153fcf,_0x178358){const _0x17a0aa=_0x43ed60;var _0x3aa73b,_0x56ff3a,_0x695675,_0xb1d28a,_0xbbc59d;const _0x2e4ff2=_0x3f1699[_0x17a0aa(0x240)](_0xa81f73,_0xa0fd8e),{rangesInfo:_0xb94b35,areaInfo:_0x12527e,headerMap:_0x2b8c3e}=_0x178358;if(!_0xb94b35||!_0x12527e||!_0x2b8c3e)return;const _0x5c0847=Object[_0x17a0aa(0x375)](_0xb94b35)['find'](_0x52871d=>_0xb94b35[_0x52871d]['some'](_0x58e5b9=>_0x3f1699[_0x17a0aa(0x36b)]['contains'](_0x58e5b9,_0x2e4ff2))),_0x276c0f=_0x12527e;let _0x445dea,_0x54d2df,_0x2702d9;if(_0x5c0847===_0x17a0aa(0xeb))_0x445dea=(_0x3aa73b=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x1e3)])==null?void 0x0:_0x3aa73b[_0xa81f73],_0x54d2df=(_0x56ff3a=_0x2b8c3e==null?void 0x0:_0x2b8c3e['rowHeaderMap'])==null?void 0x0:_0x56ff3a[_0xa0fd8e],_0x2702d9=_0x54d2df==null?void 0x0:_0x54d2df['tableFieldId'];else{if(_0x5c0847===_0x17a0aa(0xd8))_0x445dea=(_0x695675=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x382)])==null?void 0x0:_0x695675[_0xa0fd8e],_0x54d2df=(_0xb1d28a=_0x2b8c3e['colHeaderMap'])==null?void 0x0:_0xb1d28a[_0xa81f73+0x1+_0xa0fd8e-_0xb94b35['colRanges'][0x0][_0x17a0aa(0x135)]],_0x2702d9=_0x54d2df==null?void 0x0:_0x54d2df[_0x17a0aa(0x2e5)];else{if(_0x5c0847==='cornerRanges')_0x445dea=(_0xbbc59d=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x1cd)])==null?void 0x0:_0xbbc59d[_0xa0fd8e],_0x2702d9=_0x445dea==null?void 0x0:_0x445dea[_0x17a0aa(0x2e5)];else{if(_0x5c0847===_0x17a0aa(0x2ae)){const _0x1c3506=_0x54520b==null?void 0x0:_0x54520b['fi'];_0x1c3506!==void 0x0&&(_0x2702d9=_0x153fcf[_0x17a0aa(0x2de)](_0x1c3506));}}}}return{'filterId':_0x2702d9,'info':_0x445dea,'data':_0x54520b,'headerInfo':_0x54d2df};}function _0x34c403(_0x4f2bd7,_0x231861,_0x100647){const _0x466e63=_0x43ed60,_0x2748d2=_0x4f2bd7[_0x466e63(0x21f)],_0x2617c7=_0x2748d2[_0x466e63(0x2d8)](),_0x54d866=new Set();_0x4f2bd7[_0x466e63(0x1f1)](_0xb1a544=>{const _0x114409=_0x466e63;_0x54d866[_0x114409(0xe9)](_0xb1a544[_0x114409(0xea)]);});const _0x2711b0=_0x2617c7[_0x466e63(0xca)](_0xfd03e0=>{const _0x36ad22=_0x466e63,_0x4f1b11=_0x2748d2[_0x36ad22(0x2c7)](_0xfd03e0);return{'checked':_0x54d866[_0x36ad22(0x1d1)](_0xfd03e0),'dataFieldId':_0x4f1b11['id'],'id':_0x4f1b11['id'],'name':_0x2748d2[_0x36ad22(0x16a)](_0x4f1b11['id']),'type':_0x4f1b11[_0x36ad22(0x165)](),'pivotTableId':_0x231861};}),_0x4395b0=[];_0x4f2bd7['iterateFieldByArea'](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x352)],_0x310869=>{const _0x12630e=_0x466e63;_0x4395b0['push']({'dataFieldId':_0x310869[_0x12630e(0xea)],'tableFieldId':_0x310869[_0x12630e(0x242)](),'displayName':_0x310869[_0x12630e(0x16a)]()});});const _0x533dee=[];_0x4f2bd7[_0x466e63(0x120)](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x14b)],_0x3ef36d=>{const _0x203cd2=_0x466e63;_0x533dee[_0x203cd2(0x182)]({'dataFieldId':_0x3ef36d['dataFieldId'],'tableFieldId':_0x3ef36d['getId'](),'displayName':_0x3ef36d['getDisplayName']()});});const _0x330420=[];if(_0x4f2bd7['iterateFieldByArea'](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x11a)],_0x1a46f7=>{const _0x5da1aa=_0x466e63;_0x330420[_0x5da1aa(0x182)]({'dataFieldId':_0x1a46f7[_0x5da1aa(0xea)],'tableFieldId':_0x1a46f7[_0x5da1aa(0x242)](),'displayName':_0x1a46f7[_0x5da1aa(0x16a)](),'format':_0x1a46f7[_0x5da1aa(0xe6)](),'subTotalType':_0x1a46f7['getSubtotal']()});}),_0x330420[_0x466e63(0x27d)]>0x1){const _0x2365d1=_0x4f2bd7['getValueIndex']();(_0x4f2bd7[_0x466e63(0x39f)]()?_0x533dee:_0x4395b0)[_0x466e63(0xd0)](_0x2365d1,0x0,{'dataFieldId':'','tableFieldId':_0x466e63(0x1e7),'displayName':_0x466e63(0x22c)});}const _0x56496e=[];_0x4f2bd7[_0x466e63(0x120)](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x385)],_0x4e09ff=>{const _0x573e4d=_0x466e63;_0x56496e[_0x573e4d(0x182)]({'dataFieldId':_0x4e09ff[_0x573e4d(0xea)],'tableFieldId':_0x4e09ff[_0x573e4d(0x242)](),'displayName':_0x4e09ff['getDisplayName']()});});const _0x44cb2e=_0x100647[_0x466e63(0x1af)];return{'sourceList':_0x2711b0,'sourceRange':_0x44cb2e,'rowFields':_0x4395b0,'columnFields':_0x533dee,'valueFields':_0x330420,'filterFields':_0x56496e,'positionInfo':_0x100647['targetCellInfo']};}function _0x59f8a5(_0x463213,_0x28beba,_0x3450e1='',_0x56d6fc={}){const _0x1c94ed=_0x43ed60,_0x3a3506=_0x463213['get'](_0x3f1699['LocaleService']);for(const _0x2d0111 in _0x28beba)if(Object[_0x1c94ed(0x1df)][_0x1c94ed(0x18c)]['call'](_0x28beba,_0x2d0111)){const _0x46a03f=_0x3450e1?_0x3450e1+'.'+_0x2d0111:_0x2d0111;typeof _0x28beba[_0x2d0111]==_0x1c94ed(0x2ba)&&_0x28beba[_0x2d0111]!==null&&!Array[_0x1c94ed(0x1ca)](_0x28beba[_0x2d0111])?_0x59f8a5(_0x463213,_0x28beba[_0x2d0111],_0x46a03f,_0x56d6fc):_0x56d6fc[_0x46a03f]=_0x3a3506['t'](_0x46a03f);}return _0x56d6fc;}const _0x3fa2d9=_0x209f71=>{const _0xd51b1a=_0x43ed60;if(!_0x209f71)return[];const {rowRanges:_0x49f43a,colRanges:_0x43a29f,cornerRanges:_0x3d03fe,dataRanges:_0xdf4489,pageRanges:_0x2ce3de}=_0x209f71,_0x4a4f30=[..._0x43a29f,..._0x49f43a,..._0xdf4489,..._0x3d03fe][_0xd51b1a(0x2a3)](_0x53aa81=>_0x53aa81[_0xd51b1a(0x13a)]>=0x0&&_0x53aa81[_0xd51b1a(0x135)]>=0x0&&_0x53aa81[_0xd51b1a(0x18b)]>=0x0&&_0x53aa81['endColumn']>=0x0);let _0x102125=Number[_0xd51b1a(0x126)],_0x4d09a2=Number[_0xd51b1a(0x1e0)],_0x10bd75=Number[_0xd51b1a(0x126)],_0x18472e=Number['MIN_SAFE_INTEGER'];for(let _0x4f654c=0x0;_0x4f654c<_0x4a4f30[_0xd51b1a(0x27d)];_0x4f654c++)_0x102125=Math[_0xd51b1a(0x2f6)](_0x102125,_0x4a4f30[_0x4f654c][_0xd51b1a(0x13a)]),_0x4d09a2=Math[_0xd51b1a(0x144)](_0x4d09a2,_0x4a4f30[_0x4f654c]['endRow']),_0x10bd75=Math['min'](_0x10bd75,_0x4a4f30[_0x4f654c][_0xd51b1a(0x135)]),_0x18472e=Math['max'](_0x18472e,_0x4a4f30[_0x4f654c][_0xd51b1a(0x1dc)]);return[..._0x2ce3de,{'startRow':_0x102125,'endRow':_0x4d09a2,'startColumn':_0x10bd75,'endColumn':_0x18472e}];};function _0x23420b(_0x2255ef,_0x3056ac){const _0x27eee5=_0x43ed60,_0x3f7c33=_0x3056ac[_0x27eee5(0x2c9)]['drillDown'],{pivotTableId:_0x598213,unitId:_0x4ea7e6,subUnitId:_0x3dcc72}=_0x3056ac;if(!_0x3f7c33)return;const _0x27922e=_0x2255ef[_0x27eee5(0x33b)](_0x89a8ec[_0x27eee5(0x1b5)]),_0x32ad15=_0x27922e[_0x27eee5(0x1bf)](_0x598213),_0x4223f0=_0x27922e[_0x27eee5(0x275)](_0x4ea7e6,_0x3dcc72,_0x598213);if(!_0x32ad15||!_0x4223f0)return;const _0x475254=_0x32ad15[_0x27eee5(0xdd)](_0x3f7c33[_0x27eee5(0x23b)]);if(!(_0x475254!=null&&_0x475254[_0x27eee5(0x27d)]))return;const _0x259190=_0x4223f0[_0x27eee5(0x1af)],{unitId:_0x29b569,subUnitId:_0x63d96b,range:_0x3fa948}=_0x259190;let _0x355647=0x0;const _0x2efc80=_0x32ad15[_0x27eee5(0x21f)][_0x27eee5(0x2d8)]()[_0x27eee5(0x115)]((_0x5b95c5,_0x3cc3a1)=>{const _0x1f11e8=_0x27eee5;var _0x55435b;const _0x256f1e=(_0x55435b=_0x32ad15['getDataFieldByDataFieldId'](_0x3cc3a1))==null?void 0x0:_0x55435b[_0x1f11e8(0x14d)]();return _0x256f1e&&(_0x5b95c5[String(_0x355647)]=_0x256f1e),_0x355647++,_0x5b95c5;},{});return{'indexes':_0x475254,'range':_0x3fa948,'sourceUnitId':_0x29b569,'sourceSubUnitId':_0x63d96b,'formatMap':_0x2efc80};}function _0x35e5f9(_0x5300b0,_0x40140a){const _0x2ef42c=_0x43ed60;if(!_0x5300b0||!_0x40140a)return!0x0;const _0x2dd3c3=_0x48414d['unshiftString'](_0x1e2524,_0x156274),_0xde00a1=new Function(_0x2ef42c(0x13b)+_0x2dd3c3)()(_0x5300b0,_0x40140a)[_0x2ef42c(0x1dd)],_0x3ef59c=_0x48414d[_0x2ef42c(0x2e2)](_0xde00a1,'sf',_0x81ded8);return!((_0xde00a1==null?void 0x0:_0xde00a1['rt'])===_0x48414d[_0x2ef42c(0xa0)]['NO_COMMERCIAL']&&!_0x3ef59c);}function _0xa1005d(_0x43afc4,_0x42af61,_0x438545){const _0x110bc3=_0x43ed60,_0x2caab7={'count':_0x43afc4,'timeValid':!0x1};if(!_0x42af61||!_0x438545)return _0x2caab7;const _0x41452f=_0x48414d[_0x110bc3(0x36e)](_0x1e2524,_0x156274),_0x43348b=new Function(_0x110bc3(0x13b)+_0x41452f)()(_0x42af61,_0x438545);if(_0x43348b!=null&&_0x43348b[_0x110bc3(0x27c)]){const _0x1e63cc=_0x43348b[_0x110bc3(0x1dd)],_0x33631a=_0x48414d[_0x110bc3(0x2e2)](_0x1e63cc,'sf',_0x81ded8);return{'count':_0x48414d[_0x110bc3(0xb8)](_0x1e63cc,_0x33631a,_0x110bc3(0x265),_0x43afc4,_0x43afc4,0x0),'timeValid':_0x33631a};}return _0x2caab7;}function _0x228cb9(_0x3eb195,_0xfc238f,_0x210312,_0x4deb01){const _0x4fc4f4=_0x43ed60,_0x5e27b0={'subUnitId':_0x210312,'unitId':_0xfc238f,'cellValue':_0x1c7b09[_0x4fc4f4(0x19f)](_0x4deb01)},_0x540e39=_0x1c7b09['SetRangeValuesUndoMutationFactory'](_0x3eb195,_0x5e27b0);let _0x2b6d01=!0x1;return new _0x3f1699[(_0x4fc4f4(0x2cb))](_0x540e39[_0x4fc4f4(0x1b7)])[_0x4fc4f4(0x36d)]((_0x4054c3,_0x204f37,_0x4f7da3)=>{const _0x3955ab=_0x4fc4f4;if(!_0x2b6d01&&_0x4f7da3&&(_0x4f7da3[_0x3955ab(0x2a8)]||_0x4f7da3['f']||_0x4f7da3['p']||_0x4f7da3['s']||_0x4f7da3['si']||_0x4f7da3['t']||_0x4f7da3['v']))return _0x2b6d01=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1c7b09[_0x4fc4f4(0x2f0)]['id'],'params':_0x540e39},'setRangeValueRedoMutation':{'id':_0x1c7b09['SetRangeValuesMutation']['id'],'params':_0x5e27b0},'shouldClear':_0x2b6d01};}function _0x51080a(_0x110cb2){const {row:_0x360b6d,col:_0x599293}=_0x110cb2,_0x3cd915={'startRow':_0x360b6d,'endRow':_0x360b6d,'startColumn':_0x599293,'endColumn':_0x599293},_0x1e4184={'startRow':_0x360b6d+0x2,'endRow':_0x360b6d+0xe,'startColumn':_0x599293,'endColumn':_0x599293+0x6};return[_0x3cd915,_0x1e4184];}function _0x38bce4(_0x472f9a,_0x1f45d2,_0xc24fd4){const _0x113f8c=_0x43ed60,{cornerView:_0x12703b,rowView:_0x1719bc,colView:_0x215cbf,pageView:_0x3aaacf}=_0x472f9a,{row:_0xa0128d,col:_0x5f22c7}=_0x1f45d2;if(_0xc24fd4)return{'rowCount':_0x4cc7a2+_0xa0128d,'colCount':_0x5763f3+_0x5f22c7};const _0x357cc6=_0x3aaacf['lastRow']>-0x1?_0x3aaacf[_0x113f8c(0x121)]+0x1:0x0,_0x4fcf48=_0x3aaacf[_0x113f8c(0x39d)]>-0x1?_0x3aaacf[_0x113f8c(0x39d)]:0x0,_0x2c0935=_0xa0128d+_0x357cc6+(_0x357cc6?0x1:0x0)+_0x12703b[_0x113f8c(0x140)]+_0x1719bc[_0x113f8c(0x140)],_0x2ad3f6=_0x5f22c7+_0x4fcf48,_0x1a086e=_0x5f22c7+_0x12703b[_0x113f8c(0x19b)]+_0x215cbf[_0x113f8c(0x19b)],_0x170dc6=Math['max'](_0x2ad3f6,_0x1a086e);return{'rowCount':_0x2c0935,'colCount':_0x170dc6};}function _0x34a7f9(_0x481ccd,_0x5193d7,_0x3ff420,_0x32fd4d){const _0x2f36d6=_0x43ed60,{row:_0x10f573,col:_0x221dfe,unitId:_0x4fced3,subUnitId:_0x1ea64f}=_0x3ff420,_0x469e39=_0x38bce4(_0x5193d7,{'row':_0x10f573,'col':_0x221dfe},_0x32fd4d),_0x5dbee9=_0x481ccd[_0x2f36d6(0x33b)](_0x3f1699['IUniverInstanceService']),_0x4d5505=_0x1c7b09['getSheetCommandTarget'](_0x5dbee9,{'unitId':_0x4fced3,'subUnitId':_0x1ea64f}),_0x5dbf98=[],_0x5798b1=[];if(!_0x4d5505)return{'undos':_0x5798b1,'redos':_0x5dbf98};const {worksheet:_0x9e608f}=_0x4d5505,_0x1f985c=_0x9e608f[_0x2f36d6(0x2b0)](),_0xbdaad0=_0x9e608f[_0x2f36d6(0x179)]();return _0x1f985c<_0x469e39['rowCount']&&(_0x5dbf98[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x142)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':_0x1f985c,'endRow':_0x469e39['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xbdaad0-0x1}}}),_0x5798b1[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x272)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':_0x1f985c,'endRow':_0x469e39[_0x2f36d6(0x140)]-0x1,'startColumn':0x0,'endColumn':_0xbdaad0-0x1}}})),_0xbdaad0<_0x469e39[_0x2f36d6(0x19b)]&&(_0x5dbf98[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0xc5)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':0x0,'endRow':_0x1f985c-0x1,'startColumn':_0xbdaad0,'endColumn':_0x469e39[_0x2f36d6(0x19b)]-0x1}}}),_0x5798b1[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x190)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':0x0,'endRow':_0x1f985c-0x1,'startColumn':_0xbdaad0,'endColumn':_0x469e39[_0x2f36d6(0x19b)]-0x1}}})),{'undos':_0x5798b1,'redos':_0x5dbf98};}function _0x2423e9(_0x1199b8){const _0x4cf48d=_0x43ed60;let _0x5c6d66=0x0;for(let _0x33d451=0x0;_0x33d451<_0x1199b8['length'];_0x33d451++){const _0x33aa8c=_0x1199b8[_0x4cf48d(0x20d)](_0x33d451);_0x33aa8c>=0x4e00&&_0x33aa8c<=0x9fff||_0x33aa8c>=0x3000&&_0x33aa8c<=0x303f||_0x33aa8c>=0xff00&&_0x33aa8c<=0xffef?_0x5c6d66+=0x2:_0x5c6d66+=0x1;}return _0x5c6d66;}function _0x40f147(_0x27c3bb,_0x46d830,_0xa2d50a,_0x46fb5d){const _0x591055=_0x43ed60;var _0x50cea0,_0x59d4eb,_0x482a4b,_0x191bb0;const {rowCount:_0x4d183f,colCount:_0x248da6,headerMap:_0x314d39}=_0x27c3bb,_0x4e42fd=0x64,_0x20b71=Math['min'](_0x4d183f,_0x4e42fd),_0x4bd70e=Math[_0x591055(0x2f6)](_0x248da6,_0x4e42fd);let _0x509e61='',_0x4f8521=0x0;for(let _0x1a6c75=0x0;_0x1a6c75<_0x20b71;_0x1a6c75++)for(let _0x23fb7b=0x0;_0x23fb7b<_0x4bd70e;_0x23fb7b++){const _0x34f2ff={...(_0x59d4eb=(_0x50cea0=_0x27c3bb[_0x591055(0x187)])==null?void 0x0:_0x50cea0[_0x1a6c75])==null?void 0x0:_0x59d4eb[_0x23fb7b]},_0x39c0be=(_0x482a4b=_0x314d39[_0x1a6c75])==null?void 0x0:_0x482a4b[_0x591055(0x2e5)],_0x17a23c=_0x46fb5d[_0x39c0be];let _0x13a0b1=_0x27c3bb[_0x591055(0x381)](_0x1a6c75,_0x23fb7b);if(_0x34f2ff){const _0x5e1cd3=_0xa2d50a?_0x23fb7b===0x0&&((_0x191bb0=_0x27c3bb[_0x591055(0xe1)](_0x23fb7b+0x1))==null?void 0x0:_0x191bb0[_0x591055(0x302)]):!0x1;_0x13a0b1=_0x2a897d(_0x34f2ff,_0x5e1cd3,_0x17a23c,_0x46d830);}if(_0x13a0b1!==void 0x0){const _0x21755d=_0x2423e9(String(_0x13a0b1));_0x4f8521<_0x21755d&&(_0x509e61=String(_0x13a0b1),_0x4f8521=_0x21755d);}}return _0x509e61;}function _0x838b47(_0x4e0d7b){const _0x276ad3=_0x43ed60,{rowCount:_0x5980e7,colCount:_0x32f340}=_0x4e0d7b;let _0x5bb96d='',_0x4dd241=0x0;for(let _0x1b48c2=_0x5980e7-0x1;_0x1b48c2>0x0&&_0x1b48c2>_0x5980e7-0x3;_0x1b48c2--)for(let _0x2435c7=0x0;_0x2435c7<_0x32f340;_0x2435c7++){const _0x45641f=_0x4e0d7b['getValue'](_0x1b48c2,_0x2435c7);if(_0x45641f!==void 0x0){const _0x522c34=String(_0x45641f)[_0x276ad3(0x27d)];_0x4dd241<_0x522c34&&(_0x5bb96d=String(_0x45641f),_0x4dd241=_0x522c34);}}return _0x5bb96d;}function _0xd435f9(_0x5e52c1){const _0x2287d4=_0x43ed60,{rowCount:_0x38215d,colCount:_0x269d1a}=_0x5e52c1;let _0x2451c2='',_0x25eb02=0x0;for(let _0x5f297a=0x0;_0x5f297a<_0x38215d;_0x5f297a++)for(let _0x5787da=0x0;_0x5787da<_0x269d1a;_0x5787da++){const _0x8d4c19=_0x5e52c1[_0x2287d4(0x381)](_0x5f297a,_0x5787da);if(_0x8d4c19!==void 0x0){const _0x150ce1=String(_0x8d4c19)[_0x2287d4(0x27d)];_0x25eb02<_0x150ce1&&(_0x2451c2=String(_0x8d4c19),_0x25eb02=_0x150ce1);}}return _0x2451c2;}function _0x44161b(_0x382327,_0xa727e1){const _0x25155d=_0x43ed60,{rowFields:_0x1f8da1,columnFields:_0xfe30b4,valueFields:_0x71691f,filterFields:_0x5cda74,dimension:_0x207ac0,measure:_0x299f99}=_0xa727e1;for(const _0x200365 of _0x1f8da1){const _0x4c8046=_0x207ac0[_0x200365];_0x4c8046&&_0x382327[_0x25155d(0x1a3)](_0x4c8046['dataFieldId'])&&(_0x382327[_0x25155d(0x34f)](_0x4c8046[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x352)],void 0x0,_0x200365),_0x4c8046[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x4c8046['id'],_0x4c8046['displayName']),_0x4c8046[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4c8046['id'],_0x4c8046['sortInfo']),_0x4c8046[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4c8046['id'],_0x4c8046[_0x25155d(0x22e)]));}for(const _0x25fcdc of _0xfe30b4){const _0x4a9ef5=_0x207ac0[_0x25fcdc];_0x4a9ef5&&_0x382327[_0x25155d(0x1a3)](_0x4a9ef5[_0x25155d(0xea)])&&(_0x382327[_0x25155d(0x34f)](_0x4a9ef5[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x14b)],void 0x0,_0x25fcdc),_0x4a9ef5[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4a9ef5['id'],_0x4a9ef5[_0x25155d(0x141)]),_0x4a9ef5[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4a9ef5['id'],_0x4a9ef5['filterInfo']),_0x4a9ef5[_0x25155d(0x106)]&&_0x382327['renameField'](_0x4a9ef5['id'],_0x4a9ef5[_0x25155d(0x106)]));}for(const _0x19a638 of _0x5cda74){const _0x4fd8b2=_0x207ac0[_0x19a638];_0x4fd8b2&&_0x382327[_0x25155d(0x1a3)](_0x4fd8b2['dataFieldId'])&&(_0x382327[_0x25155d(0x34f)](_0x4fd8b2['dataFieldId'],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x385)],void 0x0,_0x19a638),_0x4fd8b2[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x141)]),_0x4fd8b2[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x22e)]),_0x4fd8b2[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x106)]));}for(const _0xd2ffc7 of _0x71691f){const _0x552af7=_0x299f99[_0xd2ffc7];_0x552af7&&_0x382327[_0x25155d(0x1a3)](_0x552af7[_0x25155d(0xea)])&&(_0x382327[_0x25155d(0x34f)](_0x552af7[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x11a)],void 0x0,_0xd2ffc7),_0x552af7[_0x25155d(0x296)]!==void 0x0&&_0x382327[_0x25155d(0x1a9)](_0xd2ffc7,_0x552af7[_0x25155d(0x296)]),_0x552af7[_0x25155d(0x2ac)]&&_0x382327[_0x25155d(0x19a)](_0xd2ffc7,_0x552af7['format']),_0x552af7[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x552af7['id'],_0x552af7[_0x25155d(0x106)]));}const _0x381e61=_0xa727e1[_0x25155d(0x1a7)];for(const {fieldId:_0x41cfb3,filterInfo:_0x4a6e2c}of _0x381e61)_0x382327['setValueFilterInfo'](_0x41cfb3,_0x4a6e2c);}function _0x20f090(_0x3e638b,_0x17b2a7){const _0xacf560=_0x43ed60,_0x5f160e=[];_0x17b2a7===_0x24a6f0['PivotTableFiledAreaEnum']['Row']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Row'],_0x3b42eb=>{const _0x57d360=_0xacf560;_0x5f160e[_0x57d360(0x182)](_0x3b42eb[_0x57d360(0x242)]());}),_0x17b2a7===_0x24a6f0['PivotTableFiledAreaEnum']['Column']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x14b)],_0x5eb2fb=>{const _0x3a137a=_0xacf560;_0x5f160e[_0x3a137a(0x182)](_0x5eb2fb[_0x3a137a(0x242)]());}),_0x17b2a7===_0x24a6f0[_0xacf560(0x2b6)]['Filter']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x385)],_0x399f2d=>{const _0x483567=_0xacf560;_0x5f160e[_0x483567(0x182)](_0x399f2d[_0x483567(0x242)]());}),_0x17b2a7===_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x11a)]&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Value'],_0x484279=>{const _0x1cd5ff=_0xacf560;_0x5f160e[_0x1cd5ff(0x182)](_0x484279[_0x1cd5ff(0x242)]());}),_0x17b2a7===void 0x0&&_0x3e638b[_0xacf560(0x1f1)](_0x233d0d=>{const _0x537996=_0xacf560;_0x5f160e[_0x537996(0x182)](_0x233d0d[_0x537996(0x242)]());});const _0xb0ed0b=_0x5f160e[_0xacf560(0x27d)];for(let _0x519100=_0xb0ed0b-0x1;_0x519100>=0x0;_0x519100--)_0x3e638b[_0xacf560(0x32f)](_0x5f160e[_0x519100]);const _0x178426=_0x3e638b[_0xacf560(0x35b)]();for(const _0x324437 in _0x178426)_0x3e638b[_0xacf560(0x2e7)](_0x324437);}function _0x4aebca(_0x504dab,_0x8f88eb){const _0x367b80=_0x43ed60,_0x173095=new Date(_0x24a6f0[_0x367b80(0x324)](_0x8f88eb)),_0x50cb22=new Date(_0x24a6f0[_0x367b80(0x324)](_0x504dab)),_0x1866bb=_0x173095['getFullYear'](),_0x1762c8=_0x50cb22['getFullYear'](),_0x26c3d7=_0x173095['getMonth'](),_0xb59ecb=_0x50cb22['getMonth'](),_0x47858f=_0x173095[_0x367b80(0x256)](),_0x379715=_0x50cb22[_0x367b80(0x256)](),_0x54ab19=_0x1866bb===_0x1762c8,_0x2b5281=_0x54ab19&&_0x26c3d7===_0xb59ecb;return _0x54ab19&&_0x2b5281&&!(_0x2b5281&&_0x47858f===_0x379715)?_0x24a6f0['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x54ab19&&!_0x2b5281?_0x24a6f0[_0x367b80(0x354)][_0x367b80(0x9e)]:_0x24a6f0[_0x367b80(0x354)][_0x367b80(0x3aa)];}function _0xe6d46c(_0x57decc,_0x157364){const _0x49e09f=_0x43ed60,_0x1ef126=_0x57decc[_0x49e09f(0x33b)](_0x89a8ec[_0x49e09f(0x1b5)])[_0x49e09f(0x1a0)]();let _0x520042='';switch(_0x157364){case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x49e09f(0x9b)]:_0x520042=_0x1ef126[_0x49e09f(0x39a)];break;case _0x24a6f0[_0x49e09f(0x354)]['YearMonth']:_0x520042=_0x1ef126['sheets-pivot.dateGroup.yearMonth'];break;case _0x24a6f0[_0x49e09f(0x354)]['Year']:_0x520042=_0x1ef126[_0x49e09f(0xd9)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xcc)]:_0x520042=_0x1ef126[_0x49e09f(0x380)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xa3)]:_0x520042=_0x1ef126[_0x49e09f(0x160)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x30e)]:_0x520042=_0x1ef126[_0x49e09f(0x1d6)];break;case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x49e09f(0xc9)]:_0x520042=_0x1ef126[_0x49e09f(0x161)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x29c)]:_0x520042=_0x1ef126['sheets-pivot.dateGroup.hour'];break;case _0x24a6f0[_0x49e09f(0x354)]['Minute']:_0x520042=_0x1ef126[_0x49e09f(0x2b7)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xab)]:_0x520042=_0x1ef126['sheets-pivot.dateGroup.monthDate'];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x301)]:_0x520042=_0x1ef126[_0x49e09f(0x358)];break;default:_0x520042='';break;}return _0x520042;}const _0x3b7866='sheets-pivot.config',_0x548652={};var _0x29ef34=Object['getOwnPropertyDescriptor'],_0x111e6b=(_0x451b8a,_0x21f9cd,_0x17773a,_0x305bfc)=>{const _0x27263a=_0x43ed60;for(var _0x4bae4d=_0x305bfc>0x1?void 0x0:_0x305bfc?_0x29ef34(_0x21f9cd,_0x17773a):_0x21f9cd,_0x56c776=_0x451b8a[_0x27263a(0x27d)]-0x1,_0x3f9dfd;_0x56c776>=0x0;_0x56c776--)(_0x3f9dfd=_0x451b8a[_0x56c776])&&(_0x4bae4d=_0x3f9dfd(_0x4bae4d)||_0x4bae4d);return _0x4bae4d;},_0x392ba4=(_0x5a57a0,_0x57585f)=>(_0x27f857,_0x4da3cb)=>_0x57585f(_0x27f857,_0x4da3cb,_0x5a57a0);_0x89a8ec['SheetsPivotTableConfigModel']=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0xc445a3,_0x388ff7,_0x7450c9,_0x36dbb1,_0x5ca91d){const _0x204e33=_0x43ed60;super(),_0x575f06(this,_0x204e33(0x268),new Map()),_0x575f06(this,_0x204e33(0xed),new Map()),_0x575f06(this,_0x204e33(0x2c5),new Map()),_0x575f06(this,_0x204e33(0x15d),new Map()),_0x575f06(this,_0x204e33(0x313),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,_0x204e33(0x2ff),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,_0x204e33(0x1c0),this[_0x204e33(0x2ff)]['asObservable']()),_0x575f06(this,_0x204e33(0x36a),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,'pivotConfigChange$',this[_0x204e33(0x36a)][_0x204e33(0xfc)]()),_0x575f06(this,_0x204e33(0x134),{}),_0x575f06(this,_0x204e33(0x158),this[_0x204e33(0x313)][_0x204e33(0xfc)]()),(this[_0x204e33(0x2f1)]=_0xc445a3,this[_0x204e33(0x399)]=_0x388ff7,this['_univerInstanceService']=_0x7450c9,this['_resourceManagerService']=_0x36dbb1,this['_configService']=_0x5ca91d,this[_0x204e33(0x355)](),this[_0x204e33(0x129)]());const _0x4b09c3=this[_0x204e33(0x359)][_0x204e33(0x30f)](_0x3b7866);(_0x4b09c3==null?void 0x0:_0x4b09c3['notExecuteFormula'])===!0x0&&this[_0x204e33(0x216)]();}['_initUnitDisposed'](){const _0x2902f4=_0x43ed60;this[_0x2902f4(0xaf)](this[_0x2902f4(0x2dc)][_0x2902f4(0x101)](_0x3f1699['UniverInstanceType'][_0x2902f4(0xfd)])[_0x2902f4(0x3ae)](_0x8d7ab7=>{const _0x4afaee=_0x2902f4;this[_0x4afaee(0x233)](_0x8d7ab7[_0x4afaee(0x330)]());}));}[_0x43ed60(0x22a)](){const _0x496632=_0x43ed60;this[_0x496632(0x2ff)][_0x496632(0x2c4)](!0x0);}[_0x43ed60(0x355)](){const _0x51e9ba=_0x43ed60,_0x590ea7=_0x59f8a5(this['_injector'],_0x5c6bc9,'',{});this[_0x51e9ba(0x134)]=_0x590ea7,this[_0x51e9ba(0x399)][_0x51e9ba(0x294)](_0x34e502['id'],{'textInfo':_0x590ea7},{'onlyLocal':!0x0});}[_0x43ed60(0x1a0)](){const _0x19cc26=_0x43ed60;return this[_0x19cc26(0x134)];}[_0x43ed60(0x390)](_0x35b951,_0xeb32a1,_0x58804a,_0x4d2ee3,_0x15502a){const _0x205d9e=_0x43ed60;this[_0x205d9e(0x206)](_0x35b951,_0xeb32a1,_0x58804a,_0x4d2ee3),this[_0x205d9e(0x1d7)](_0x35b951,_0xeb32a1,_0x58804a,_0x15502a);}['getPivotTableConfig'](_0x51d8ac,_0x3a3e78,_0x432132){const _0x4bb959=_0x43ed60;var _0x2e13ca;const _0x133ecd=(_0x2e13ca=this[_0x4bb959(0x268)][_0x4bb959(0x33b)](_0x51d8ac))==null?void 0x0:_0x2e13ca['get'](_0x3a3e78);if(_0x133ecd)return _0x133ecd[_0x4bb959(0x33b)](_0x432132);}[_0x43ed60(0x192)](_0x2d72b4,_0x3b853d){const _0x1ead3e=_0x43ed60,_0x5534a0=this[_0x1ead3e(0x268)]['get'](_0x2d72b4);if(_0x5534a0){for(const [_0x53d396,_0x2c6843]of _0x5534a0[_0x1ead3e(0x169)]())for(const [_0x58796b,_0x251f14]of _0x2c6843[_0x1ead3e(0x169)]())if(_0x58796b===_0x3b853d)return _0x251f14['targetCellInfo'];}}[_0x43ed60(0x367)](_0xed98ab,_0x5afc86,_0x2594c2){const _0x31b7d4=_0x43ed60,_0x17f625=this[_0x31b7d4(0x275)](_0xed98ab,_0x5afc86,_0x2594c2);return _0x17f625==null?void 0x0:_0x17f625['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x1f6aa8,_0x5b7915){const _0x28c4dd=_0x43ed60;var _0x1016db;return(_0x1016db=this[_0x28c4dd(0x268)][_0x28c4dd(0x33b)](_0x1f6aa8))==null?void 0x0:_0x1016db[_0x28c4dd(0x33b)](_0x5b7915);}[_0x43ed60(0x2b5)](_0x36e52f,_0x2eaa8f,_0x3929cd,_0x345b91){const _0x4e5e9b=_0x43ed60,_0x191487=this[_0x4e5e9b(0x31e)](_0x36e52f,_0x2eaa8f);_0x345b91?_0x191487['set'](_0x3929cd,_0x345b91):_0x191487[_0x4e5e9b(0x21c)](_0x3929cd),this['_pivotConfigChange$'][_0x4e5e9b(0x2c4)]({'unitId':_0x36e52f,'subUnitId':_0x2eaa8f,'pivotTableId':_0x3929cd,'pivotTableConfig':_0x345b91});}[_0x43ed60(0x361)](_0x376711,_0x527470){const _0x1fb5c0=_0x43ed60;var _0x52d664;return(_0x52d664=this[_0x1fb5c0(0xed)][_0x1fb5c0(0x33b)](_0x376711))==null?void 0x0:_0x52d664[_0x1fb5c0(0x379)][_0x527470];}[_0x43ed60(0x32a)](_0x529ec5,_0x2c6b51){const _0x249444=_0x43ed60;this[_0x249444(0xed)][_0x249444(0x273)](_0x529ec5,_0x2c6b51),this['_configVersion$']['next'](Math['random']());}[_0x43ed60(0x31e)](_0x26f5ae,_0x4d84be){const _0x1b4dd8=_0x43ed60;let _0x175229=this[_0x1b4dd8(0x268)][_0x1b4dd8(0x33b)](_0x26f5ae);_0x175229||(_0x175229=new Map(),this[_0x1b4dd8(0x268)][_0x1b4dd8(0x273)](_0x26f5ae,_0x175229));let _0x1c4104=_0x175229[_0x1b4dd8(0x33b)](_0x4d84be);return _0x1c4104||(_0x1c4104=new Map(),_0x175229[_0x1b4dd8(0x273)](_0x4d84be,_0x1c4104)),_0x1c4104;}['_ensurePivotTableRangeInfo'](_0x19ad32,_0x28522b){const _0x530f90=_0x43ed60;let _0x706946=this[_0x530f90(0x2c5)][_0x530f90(0x33b)](_0x19ad32);_0x706946||(_0x706946=new Map(),this[_0x530f90(0x2c5)][_0x530f90(0x273)](_0x19ad32,_0x706946));let _0xd9d69a=_0x706946['get'](_0x28522b);return _0xd9d69a||(_0xd9d69a=new Map(),_0x706946[_0x530f90(0x273)](_0x28522b,_0xd9d69a)),_0xd9d69a;}[_0x43ed60(0x362)](_0xf729c9,_0x21cf30){const _0x3ab10a=_0x43ed60;let _0x14fa7a=this[_0x3ab10a(0x15d)]['get'](_0xf729c9);_0x14fa7a||(_0x14fa7a=new Map(),this[_0x3ab10a(0x15d)][_0x3ab10a(0x273)](_0xf729c9,_0x14fa7a));let _0x2bc93a=_0x14fa7a['get'](_0x21cf30);return _0x2bc93a||(_0x2bc93a=new Map(),_0x14fa7a[_0x3ab10a(0x273)](_0x21cf30,_0x2bc93a)),_0x2bc93a;}[_0x43ed60(0x1d7)](_0x8326c0,_0x1fc010,_0x444bf9,_0x248ba9){const _0x21a6fb=_0x43ed60;var _0x51f489;const _0x120f62=this[_0x21a6fb(0x2d2)](_0x8326c0,_0x1fc010),_0x283ed8=(_0x51f489=_0x120f62[_0x21a6fb(0x33b)](_0x444bf9))==null?void 0x0:_0x51f489['oldRangeInfo'];_0x120f62[_0x21a6fb(0x273)](_0x444bf9,{'oldRangeInfo':_0x283ed8,'rangeInfo':_0x248ba9});}[_0x43ed60(0x206)](_0xddbe9e,_0x5475a5,_0xd179c,_0x64f59e){const _0x416fc0=_0x43ed60;var _0x35829a;const _0x28ccb9=this['_ensurePivotTableMatrixInfo'](_0xddbe9e,_0x5475a5),_0x1e2299=(_0x35829a=_0x28ccb9[_0x416fc0(0x33b)](_0xd179c))==null?void 0x0:_0x35829a[_0x416fc0(0x19e)];_0x28ccb9['set'](_0xd179c,{'oldMatrix':_0x1e2299,'matrix':_0x64f59e});}[_0x43ed60(0x2a6)](_0x2c488c,_0x1f2e99,_0x10772d){const _0x1459a7=_0x43ed60;var _0x42b798,_0x39df19;return(_0x39df19=(_0x42b798=this[_0x1459a7(0x2c5)][_0x1459a7(0x33b)](_0x2c488c))==null?void 0x0:_0x42b798[_0x1459a7(0x33b)](_0x1f2e99))==null?void 0x0:_0x39df19['get'](_0x10772d);}[_0x43ed60(0x13f)](_0x45690f,_0x28c6fe,_0x3d86cb){const _0x2549bc=_0x43ed60;var _0x2c48eb,_0x35be8c;return(_0x35be8c=(_0x2c48eb=this['_pivotTableMatrixInfo'][_0x2549bc(0x33b)](_0x45690f))==null?void 0x0:_0x2c48eb['get'](_0x28c6fe))==null?void 0x0:_0x35be8c[_0x2549bc(0x33b)](_0x3d86cb);}[_0x43ed60(0x233)](_0x141698){const _0x3cef62=_0x43ed60;this['_model'][_0x3cef62(0x21c)](_0x141698),this['_collectionConfigModel'][_0x3cef62(0x21c)](_0x141698);}[_0x43ed60(0x1ec)](_0x529fe5){const _0x2c5444=_0x43ed60,_0x2a822a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2c5444(0xed)][_0x2c5444(0x33b)](_0x529fe5)&&(_0x2a822a[_0x2c5444(0x1f4)][_0x529fe5]=this[_0x2c5444(0xed)]['get'](_0x529fe5)),this[_0x2c5444(0x268)][_0x2c5444(0x33b)](_0x529fe5)){_0x2a822a['pivotTableConfigs'][_0x529fe5]={};const _0x5c9104=this[_0x2c5444(0x268)][_0x2c5444(0x33b)](_0x529fe5);_0x5c9104!=null&&_0x5c9104[_0x2c5444(0x1e8)]&&[..._0x5c9104['keys']()]['forEach'](_0x53503f=>{const _0x5c8e84=_0x2c5444,_0x2e0ff2=_0x5c9104['get'](_0x53503f);_0x2e0ff2!=null&&_0x2e0ff2['size']&&(_0x2a822a[_0x5c8e84(0x193)][_0x529fe5][_0x53503f]={},[..._0x2e0ff2['keys']()][_0x5c8e84(0x2f8)](_0x321861=>{const _0x501993=_0x5c8e84,_0x4cec8a=_0x2e0ff2[_0x501993(0x33b)](_0x321861);_0x4cec8a&&(_0x2a822a['pivotTableConfigs'][_0x529fe5][_0x53503f][_0x321861]=_0x4cec8a);}));});}return _0x2a822a;}[_0x43ed60(0x216)](){const _0x2fd9b7=_0x43ed60;this[_0x2fd9b7(0xaf)](this[_0x2fd9b7(0xe7)][_0x2fd9b7(0x322)]({'toJson':_0x237d35=>JSON[_0x2fd9b7(0x252)](this[_0x2fd9b7(0x1ec)](_0x237d35)),'parseJson':_0x41d369=>({}),'businesses':[_0x3f1699[_0x2fd9b7(0x139)][_0x2fd9b7(0xfd)]],'pluginName':_0x1cc3eb,'onLoad':(_0x578c07,_0x4ddc5f)=>{},'onUnLoad':_0x5033e8=>{const _0x1461ee=_0x2fd9b7;this[_0x1461ee(0x233)](_0x5033e8);}}));}},_0x89a8ec[_0x43ed60(0xb3)]=_0x111e6b([_0x392ba4(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x392ba4(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['ICommandService'])),_0x392ba4(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x1b9)])),_0x392ba4(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x230)])),_0x392ba4(0x4,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x23e)]))],_0x89a8ec['SheetsPivotTableConfigModel']);var _0x3c01cb=Object[_0x43ed60(0x269)],_0x1fc49e=(_0x367552,_0x51b856,_0x106f9c,_0x1b3d6b)=>{for(var _0x1b63a0=_0x1b3d6b>0x1?void 0x0:_0x1b3d6b?_0x3c01cb(_0x51b856,_0x106f9c):_0x51b856,_0x22a342=_0x367552['length']-0x1,_0x5366b4;_0x22a342>=0x0;_0x22a342--)(_0x5366b4=_0x367552[_0x22a342])&&(_0x1b63a0=_0x5366b4(_0x1b63a0)||_0x1b63a0);return _0x1b63a0;},_0x1a911d=(_0x4a085e,_0x446340)=>(_0x3ab5ab,_0x1efffc)=>_0x446340(_0x3ab5ab,_0x1efffc,_0x4a085e);_0x89a8ec[_0x43ed60(0x1ef)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2c2f21,_0xafd39a,_0x124168,_0x4c01f2,_0x2d2589){const _0x2a9226=_0x43ed60;super(),_0x575f06(this,_0x2a9226(0x17d),new Map()),_0x575f06(this,'_pivotRenderValueMatrixCache',new Map()),_0x575f06(this,_0x2a9226(0x34d),new _0x28d43e[(_0x2a9226(0x1ee))]()),_0x575f06(this,'markDirty$',this[_0x2a9226(0x34d)][_0x2a9226(0xfc)]()),_0x575f06(this,'_viewUpdate$',new _0x28d43e['Subject']()),_0x575f06(this,'viewUpdate$',this[_0x2a9226(0x369)]['asObservable']()),_0x575f06(this,_0x2a9226(0x134)),(this[_0x2a9226(0x1da)]=_0x2c2f21,this[_0x2a9226(0x2f1)]=_0xafd39a,this['_sheetsPivotTableConfigModel']=_0x124168,this[_0x2a9226(0x2dc)]=_0x4c01f2,this[_0x2a9226(0x35d)]=_0x2d2589,this[_0x2a9226(0x355)](),this[_0x2a9226(0x129)]());}['_initUnitDisposed'](){const _0x4c706f=_0x43ed60;this[_0x4c706f(0xaf)](this[_0x4c706f(0x2dc)][_0x4c706f(0x101)](_0x3f1699['UniverInstanceType']['UNIVER_SHEET'])[_0x4c706f(0x3ae)](_0x293346=>{const _0x2adfd8=_0x4c706f;this[_0x2adfd8(0x233)](_0x293346[_0x2adfd8(0x330)]());}));}[_0x43ed60(0x355)](){this['_textInfo']=_0x59f8a5(this['_injector'],_0x5c6bc9,'',{});}['updateRenderCache'](_0x22fd2e){const _0x2c3e8d=_0x43ed60,{view:_0x319956,unitId:_0x3c2ae8,subUnitId:_0x11faad,pivotTableId:_0x390e4c,type:_0x5df599}=_0x22fd2e,_0x21619c=this[_0x2c3e8d(0xd6)][_0x2c3e8d(0x275)](_0x3c2ae8,_0x11faad,_0x390e4c);if(!_0x319956||!_0x21619c||_0x5df599===_0x1870de[_0x2c3e8d(0x39e)])return;const {pageView:_0x1b7e2c,cornerView:_0x2c5391,rowView:_0xf3ea24,colView:_0x28078c,dataView:_0x3fb37a}=_0x319956,_0x2a4629=_0x21619c[_0x2c3e8d(0x3a4)],_0x2d613b=_0x21619c[_0x2c3e8d(0x35c)],_0x3dfb7f=this[_0x2c3e8d(0x24b)](_0x3c2ae8,_0x11faad),_0x20c301=this['_ensurePivotItemRenderInfoCache'](_0x3c2ae8,_0x11faad,_0x390e4c);if(_0x2d613b)return this[_0x2c3e8d(0x1e2)](_0x22fd2e,_0x3dfb7f,_0x2a4629,_0x20c301);{const _0x376dee=_0x3688e4(_0x2a4629,_0x1b7e2c,!0x0),_0x494c3d=_0x1b7e2c['lastRow']>=0x0?_0x1b7e2c['lastRow']+0x1:0x0,_0x1713bf=_0x2c5391[_0x2c3e8d(0x2b0)](),_0x104f92=_0x2c5391[_0x2c3e8d(0x12b)](),_0x5dab30=_0x376dee['length']>0x0?_0x4cd667:0x0,_0x10951c=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30,'col':_0x2a4629['col']},_0x2c5391,!0x1,!0x1),_0x4a7673=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30+_0x1713bf,'col':_0x2a4629[_0x2c3e8d(0x14c)]},_0xf3ea24,!0x1,!0x0),_0x54fd86=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30,'col':_0x2a4629[_0x2c3e8d(0x14c)]+_0x104f92},_0x28078c,!0x1,!0x0),_0x140770=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30+_0x1713bf,'col':_0x2a4629[_0x2c3e8d(0x14c)]+_0x104f92},_0x3fb37a,!0x1,!0x1);_0x20c301[_0x2c3e8d(0x250)]={'rowRanges':_0x4a7673,'colRanges':_0x54fd86,'cornerRanges':_0x10951c,'dataRanges':_0x140770,'pageRanges':_0x376dee};const _0x1ac22c=_0x21cd62(this[_0x2c3e8d(0x2f1)],_0x319956,_0x21619c,this['_textInfo']),{valueMatrix:_0x39867e,rowInfo:_0x5f1b95,colInfo:_0x21a293,cornerInfo:_0x5f53fa,rowHeaderMap:_0x4ca8b3,colHeaderMap:_0x4dd98a}=_0x1ac22c;return _0x20c301[_0x2c3e8d(0x155)]={'rowInfo':_0x5f1b95,'colInfo':_0x21a293,'cornerInfo':_0x5f53fa},_0x20c301[_0x2c3e8d(0xe2)]={'rowHeaderMap':_0x4ca8b3,'colHeaderMap':_0x4dd98a},_0x39867e[_0x2c3e8d(0x2f8)]((_0x5e089e,_0x45d5cf)=>{const _0x42ed2b=_0x2c3e8d;Object[_0x42ed2b(0x375)](_0x45d5cf)[_0x42ed2b(0x2f8)](_0x59f010=>{const _0xd530e8=_0x42ed2b,_0x46495a=+_0x59f010,_0x4c04e6=_0x39867e[_0xd530e8(0x381)](_0x5e089e,_0x46495a);_0x3dfb7f['setValue'](_0x5e089e,_0x46495a,_0x4c04e6);});}),this['_viewUpdate$'][_0x2c3e8d(0x2c4)]({'unitId':_0x3c2ae8,'subUnitId':_0x11faad,'valueMatrix':_0x3dfb7f,'rangesCache':_0x20c301[_0x2c3e8d(0x250)],'pivotTableId':_0x390e4c,'type':_0x22fd2e[_0x2c3e8d(0x347)]}),this[_0x2c3e8d(0xd6)][_0x2c3e8d(0x390)](_0x3c2ae8,_0x11faad,_0x390e4c,_0x3dfb7f,_0x20c301[_0x2c3e8d(0x250)]),this[_0x2c3e8d(0x35d)][_0x2c3e8d(0x371)](_0x3c2ae8,_0x11faad,_0x2a7c6b,this[_0x2c3e8d(0x148)](_0x20c301[_0x2c3e8d(0x250)],_0x390e4c)),{'rangeCache':_0x20c301[_0x2c3e8d(0x250)],'matrix':_0x3dfb7f};}}[_0x43ed60(0x1e2)](_0x372a1b,_0x361f80,_0x2c2a49,_0x5f27b3){const _0x5c007d=_0x43ed60,_0x52deca=this[_0x5c007d(0x1da)]['t'],{unitId:_0x309fe9,subUnitId:_0x5ab9a6,pivotTableId:_0x405464}=_0x372a1b,_0x1cba97={'filter':_0x52deca(_0x5c007d(0x306)),'row':_0x52deca('sheets-pivot.emptyPivot.row'),'column':_0x52deca('sheets-pivot.emptyPivot.column'),'values':_0x52deca(_0x5c007d(0xc3))},{matrixCache:_0x225016,rangesCache:_0x1b42d2}=_0x8a4b79(_0x1cba97,_0x2c2a49);return _0x225016[_0x5c007d(0x36d)]((_0x5ed95d,_0x361437,_0x2df27b)=>{const _0xdca79c=_0x5c007d;_0x361f80[_0xdca79c(0x297)](_0x5ed95d,_0x361437,_0x2df27b);}),_0x5f27b3[_0x5c007d(0x250)]=_0x1b42d2,this[_0x5c007d(0x369)]['next']({'unitId':_0x309fe9,'subUnitId':_0x5ab9a6,'valueMatrix':_0x361f80,'rangesCache':_0x1b42d2,'pivotTableId':_0x405464,'type':_0x372a1b[_0x5c007d(0x347)],'isEmpty':!0x0}),this[_0x5c007d(0xd6)][_0x5c007d(0x390)](_0x309fe9,_0x5ab9a6,_0x405464,_0x361f80,_0x1b42d2),this['_exclusiveRangeService'][_0x5c007d(0x371)](_0x309fe9,_0x5ab9a6,_0x2a7c6b,this[_0x5c007d(0x148)](_0x1b42d2,_0x405464)),{'rangeCache':_0x5f27b3[_0x5c007d(0x250)],'matrix':_0x361f80};}[_0x43ed60(0x148)](_0x1a2af4,_0x3e5fe9){const _0x2ebf1c=[],_0x46ba0f=_0x3fa2d9(_0x1a2af4);for(const _0x565c92 of _0x46ba0f)_0x2ebf1c['push']({'groupId':_0x3e5fe9,'range':_0x565c92});return _0x2ebf1c;}[_0x43ed60(0x26b)](_0x2a15c1){const _0x491487=_0x43ed60;var _0x157f9d,_0x47e446,_0x4d57f4,_0x49c4b1;const {pivotTableId:_0x1a2549,unitId:_0x4a4aab,subUnitId:_0x147f62}=_0x2a15c1;if(!_0x1a2549||!_0x4a4aab||!_0x147f62)return;const _0x3c396c=this['_ensurePivotItemRenderValueMatrixCache'](_0x4a4aab,_0x147f62),_0x5e4857=(_0x47e446=(_0x157f9d=this[_0x491487(0x17d)][_0x491487(0x33b)](_0x4a4aab))==null?void 0x0:_0x157f9d['get'](_0x147f62))==null?void 0x0:_0x47e446[_0x491487(0x33b)](_0x1a2549);if(_0x5e4857!=null&&_0x5e4857[_0x491487(0x250)]){for(const _0x2e8651 of Object[_0x491487(0x375)](_0x5e4857[_0x491487(0x250)]))_0x5e4857[_0x491487(0x250)][_0x2e8651][_0x491487(0x2f8)](_0x3075c7=>{const _0x4572d5=_0x491487;for(let _0xeb4143=_0x3075c7['startRow'];_0xeb4143<=_0x3075c7[_0x4572d5(0x18b)];_0xeb4143++)for(let _0x270563=_0x3075c7[_0x4572d5(0x135)];_0x270563<=_0x3075c7['endColumn'];_0x270563++)_0x3c396c['realDeleteValue'](_0xeb4143,_0x270563);});}_0x5e4857&&((_0x49c4b1=(_0x4d57f4=this[_0x491487(0x17d)]['get'](_0x4a4aab))==null?void 0x0:_0x4d57f4[_0x491487(0x33b)](_0x147f62))==null||_0x49c4b1[_0x491487(0x21c)](_0x1a2549)),this[_0x491487(0x369)][_0x491487(0x2c4)]({'unitId':_0x4a4aab,'subUnitId':_0x147f62,'valueMatrix':_0x3c396c,'pivotTableId':_0x1a2549,'rangesCache':void 0x0,'type':_0x2a15c1[_0x491487(0x347)]}),this[_0x491487(0x35d)][_0x491487(0x1fb)](_0x4a4aab,_0x147f62,_0x2a7c6b,_0x1a2549);}[_0x43ed60(0x2f5)](_0x5c1fc7,_0x1e3e1f,_0x246b68){const _0x63d079=_0x43ed60;var _0x169844,_0x49a1bc,_0x37c398,_0x3649c4,_0x1870da,_0x3b4666;return this[_0x63d079(0x17d)][_0x63d079(0x1d1)](_0x5c1fc7)||this[_0x63d079(0x17d)][_0x63d079(0x273)](_0x5c1fc7,new Map()),(_0x169844=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))!=null&&_0x169844['has'](_0x1e3e1f)||(_0x49a1bc=this['_pivotRenderInfoCache']['get'](_0x5c1fc7))==null||_0x49a1bc[_0x63d079(0x273)](_0x1e3e1f,new Map()),(_0x3649c4=(_0x37c398=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))==null?void 0x0:_0x37c398[_0x63d079(0x33b)](_0x1e3e1f))!=null&&_0x3649c4[_0x63d079(0x1d1)](_0x246b68)||(_0x3b4666=(_0x1870da=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))==null?void 0x0:_0x1870da[_0x63d079(0x33b)](_0x1e3e1f))==null||_0x3b4666[_0x63d079(0x273)](_0x246b68,{}),this['_pivotRenderInfoCache'][_0x63d079(0x33b)](_0x5c1fc7)['get'](_0x1e3e1f)[_0x63d079(0x33b)](_0x246b68);}[_0x43ed60(0x24b)](_0x303e80,_0x2c7b21){const _0x154881=_0x43ed60;var _0x46399f,_0x21f51d;return this[_0x154881(0x37e)][_0x154881(0x1d1)](_0x303e80)||this[_0x154881(0x37e)]['set'](_0x303e80,new Map()),(_0x46399f=this['_pivotRenderValueMatrixCache'][_0x154881(0x33b)](_0x303e80))!=null&&_0x46399f['has'](_0x2c7b21)||(_0x21f51d=this[_0x154881(0x37e)]['get'](_0x303e80))==null||_0x21f51d['set'](_0x2c7b21,new _0x3f1699[(_0x154881(0x2cb))]()),this[_0x154881(0x37e)][_0x154881(0x33b)](_0x303e80)[_0x154881(0x33b)](_0x2c7b21);}[_0x43ed60(0x224)](_0x43029e,_0x12dabd,_0x299b8f,_0x109982){const _0x2043c6=_0x43ed60;var _0x186d26,_0x2fb4b9;const _0x2c02dd=(_0x2fb4b9=(_0x186d26=this[_0x2043c6(0x37e)]['get'](_0x43029e))==null?void 0x0:_0x186d26[_0x2043c6(0x33b)](_0x12dabd))==null?void 0x0:_0x2fb4b9[_0x2043c6(0x381)](_0x299b8f,_0x109982);if(_0x2c02dd!=null)return _0x2c02dd;}[_0x43ed60(0x393)](_0x7cde2d,_0xb1d05d,_0x598c28,_0x5cd488){const _0x5c0ad1=_0x43ed60;var _0x53b89c;const _0x468d26=_0x3f1699[_0x5c0ad1(0x240)](_0x598c28,_0x5cd488),_0x466075=(_0x53b89c=this[_0x5c0ad1(0x17d)]['get'](_0x7cde2d))==null?void 0x0:_0x53b89c[_0x5c0ad1(0x33b)](_0xb1d05d);return _0x466075?Array[_0x5c0ad1(0xff)](_0x466075[_0x5c0ad1(0x375)]())[_0x5c0ad1(0xfb)](_0xbeae30=>{const _0x5c5d35=_0x5c0ad1,_0x1fb8b1=_0x466075['get'](_0xbeae30),_0x1b4473=_0x1fb8b1==null?void 0x0:_0x1fb8b1[_0x5c5d35(0x250)];return _0x1b4473?Object[_0x5c5d35(0x375)](_0x1b4473)['some'](_0x1a2096=>_0x1b4473[_0x1a2096][_0x5c5d35(0x35f)](_0x41f2cc=>_0x3f1699[_0x5c5d35(0x36b)][_0x5c5d35(0x123)](_0x41f2cc,_0x468d26))):!0x1;}):void 0x0;}[_0x43ed60(0x261)](_0x2339ef,_0x5041ca,_0x8729ba){const _0x49e538=_0x43ed60;var _0x26ad72;const _0xb00f56=(_0x26ad72=this[_0x49e538(0x17d)][_0x49e538(0x33b)](_0x2339ef))==null?void 0x0:_0x26ad72[_0x49e538(0x33b)](_0x5041ca),_0x33aec4=[];return _0xb00f56&&Array[_0x49e538(0xff)](_0xb00f56[_0x49e538(0x375)]())[_0x49e538(0x2f8)](_0x5a6241=>{const _0x3fc880=_0x49e538,_0x1c17bd=_0xb00f56[_0x3fc880(0x33b)](_0x5a6241),_0x450b34=_0x1c17bd==null?void 0x0:_0x1c17bd['rangesInfo'];if(_0x450b34)for(const _0x2870c0 of Object[_0x3fc880(0x213)](_0x450b34)){let _0x16518c=!0x1;for(const _0xc5d6f0 of _0x2870c0)if(_0x3f1699[_0x3fc880(0x36b)]['intersects'](_0xc5d6f0,_0x8729ba)){_0x33aec4[_0x3fc880(0x182)](_0x5a6241),_0x16518c=!0x0;break;}if(_0x16518c)break;}}),_0x33aec4;}[_0x43ed60(0x30b)](_0x4c7384,_0x4c8883){const _0x18ad65=_0x43ed60;var _0x17b742,_0x14fe06;return(_0x14fe06=(_0x17b742=this[_0x18ad65(0x37e)][_0x18ad65(0x33b)](_0x4c7384))==null?void 0x0:_0x17b742[_0x18ad65(0x33b)](_0x4c8883))!=null?_0x14fe06:new _0x3f1699[(_0x18ad65(0x2cb))]();}[_0x43ed60(0x154)](_0x32d147,_0x4c135a){const _0x3902e6=_0x43ed60;var _0x5d98ec;return(_0x5d98ec=this[_0x3902e6(0x17d)][_0x3902e6(0x33b)](_0x32d147))==null?void 0x0:_0x5d98ec[_0x3902e6(0x33b)](_0x4c135a);}[_0x43ed60(0x2e4)](_0x2bdf9b,_0x42a805,_0x238488){const _0x5d9fe2=_0x43ed60;var _0x5295fc,_0x327575;return(_0x327575=(_0x5295fc=this[_0x5d9fe2(0x17d)]['get'](_0x2bdf9b))==null?void 0x0:_0x5295fc[_0x5d9fe2(0x33b)](_0x42a805))==null?void 0x0:_0x327575[_0x5d9fe2(0x33b)](_0x238488);}[_0x43ed60(0x233)](_0x448ba3){const _0x24ce6e=_0x43ed60;this[_0x24ce6e(0x17d)][_0x24ce6e(0x21c)](_0x448ba3),this[_0x24ce6e(0x37e)][_0x24ce6e(0x21c)](_0x448ba3);}['markDirty'](_0x2061b2,_0x504b48){this['_markDirty$']['next']({'unitId':_0x2061b2,'subUnitId':_0x504b48});}},_0x89a8ec['SheetsPivotTableAdaptorModel']=_0x1fc49e([_0x1a911d(0x0,_0x3f1699['Inject'](_0x3f1699['LocaleService'])),_0x1a911d(0x1,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x383)])),_0x1a911d(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x1a911d(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x1a911d(0x4,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x132)]))],_0x89a8ec[_0x43ed60(0x1ef)]);var _0x3967c3=Object[_0x43ed60(0x269)],_0x1adeea=(_0x4c1b3e,_0x1605d4,_0x2f1484,_0x3b745f)=>{for(var _0x48cbf0=_0x3b745f>0x1?void 0x0:_0x3b745f?_0x3967c3(_0x1605d4,_0x2f1484):_0x1605d4,_0x2fbbdc=_0x4c1b3e['length']-0x1,_0xe88a64;_0x2fbbdc>=0x0;_0x2fbbdc--)(_0xe88a64=_0x4c1b3e[_0x2fbbdc])&&(_0x48cbf0=_0xe88a64(_0x48cbf0)||_0x48cbf0);return _0x48cbf0;},_0x4f2a49=(_0x3dc9a3,_0x2ead77)=>(_0x1dae1c,_0x2d8993)=>_0x2ead77(_0x1dae1c,_0x2d8993,_0x3dc9a3);_0x89a8ec[_0x43ed60(0xba)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x191c7e,_0xb4e1d9){const _0x33fef8=_0x43ed60;super(),_0x575f06(this,'asyncInterceptor',new _0x3f1699[(_0x33fef8(0x254))]({'PIVOT_PERFORM_CHECK':_0xb533ef})),_0x575f06(this,_0x33fef8(0x2f9),new _0x3f1699['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x2f0e9b})),(this['_sheetInterceptorService']=_0x191c7e,this[_0x33fef8(0x2cc)]=_0xb4e1d9,this[_0x33fef8(0x360)]());}[_0x43ed60(0x360)](){this['_initViewModelBySheetInterceptor']();}[_0x43ed60(0x2b4)](_0x175dec){const _0x2b0092=_0x43ed60;return this[_0x2b0092(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x1,_0x175dec);}[_0x43ed60(0x23d)](){const _0x635e23=_0x43ed60;this['disposeWithMe'](this['_sheetInterceptorService'][_0x635e23(0x188)](_0x1c7b09[_0x635e23(0x1f2)][_0x635e23(0x189)],{'priority':0xc8,'effect':_0x3f1699[_0x635e23(0x225)][_0x635e23(0x11a)]|_0x3f1699[_0x635e23(0x225)][_0x635e23(0x234)],'handler':(_0x45fe85,_0x34f4ca,_0x322dc3)=>{const _0x8b8be7=_0x635e23,{row:_0x521323,col:_0x201902,unitId:_0x2b9938,subUnitId:_0x2523aa,workbook:_0x2b07af}=_0x34f4ca,_0x4711bb=this[_0x8b8be7(0x2cc)][_0x8b8be7(0x224)](_0x2b9938,_0x2523aa,_0x521323,_0x201902);if(!_0x4711bb)return _0x322dc3(_0x45fe85);const _0x2b1650={..._0x45fe85};(_0x4711bb['v']||_0x4711bb['v']===0x0)&&(_0x2b1650['v']=_0x4711bb['v']),_0x4711bb['t']&&(_0x2b1650['t']=_0x4711bb['t']);const _0x5ef23e=(typeof(_0x45fe85==null?void 0x0:_0x45fe85['s'])==_0x8b8be7(0x38b)?_0x2b07af[_0x8b8be7(0x2ce)]()['get'](_0x45fe85==null?void 0x0:_0x45fe85['s']):_0x45fe85==null?void 0x0:_0x45fe85['s'])||{},_0x10ee08=_0x2b07af[_0x8b8be7(0x2ce)]()[_0x8b8be7(0x33b)](_0x4711bb['s']),_0x549d87={..._0x10ee08,..._0x5ef23e};_0x10ee08!=null&&_0x10ee08['n']&&(_0x549d87['n']=_0x10ee08['n']);const _0x3ac9fc=_0x2b07af[_0x8b8be7(0x2ce)]()[_0x8b8be7(0x297)](_0x549d87);return _0x2b1650['s']=_0x3ac9fc,(_0x4711bb[_0x8b8be7(0xa8)]===_0x24a6f0['PivotCellStyleTypeEnum'][_0x8b8be7(0x2db)]||_0x4711bb[_0x8b8be7(0xa8)]===_0x24a6f0[_0x8b8be7(0x2c1)][_0x8b8be7(0x39c)])&&(_0x2b1650[_0x8b8be7(0x3af)]={},_0x2b1650[_0x8b8be7(0x3af)]['leftOffset']=_0x121f60),_0x322dc3(_0x2b1650);}}));}},_0x89a8ec[_0x43ed60(0xba)]=_0x1adeea([_0x4f2a49(0x0,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x133)])),_0x4f2a49(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x1ef)]))],_0x89a8ec['SheetsPivotTableService']);function _0x10b759(_0x341db2,_0x451d17){const _0x50c3fe=_0x43ed60;switch(_0x451d17){case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x11a)]:return _0x341db2['valueFields'];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x385)]:return _0x341db2['filterFields'];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x352)]:return _0x341db2[_0x50c3fe(0x2d5)];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x14b)]:return _0x341db2[_0x50c3fe(0x2d9)];default:return[];}}function _0x27884e(_0x4b693e,_0x234c38){const _0x2a8932=_0x43ed60;return _0x4b693e[_0x2a8932(0x1ff)][_0x234c38]||_0x4b693e[_0x2a8932(0x1ab)][_0x234c38];}function _0x35d338(_0x5f1417,_0x169892){const _0x200c4d=_0x43ed60,{area:_0x28f95e,fieldJson:_0x6ea4ad,index:_0x2084fe}=_0x169892;_0x28f95e===_0x24a6f0[_0x200c4d(0x2b6)][_0x200c4d(0x11a)]?_0x5f1417[_0x200c4d(0x1ff)][_0x6ea4ad['id']]=_0x6ea4ad:_0x5f1417[_0x200c4d(0x1ab)][_0x6ea4ad['id']]=_0x6ea4ad,_0x10b759(_0x5f1417,_0x28f95e)[_0x200c4d(0xd0)](_0x2084fe,0x0,_0x6ea4ad['id']);}function _0x47202d(_0x4029fc,_0x3e05e5){const _0x72a01b=_0x43ed60,{area:_0x5cc3a0,fieldId:_0x5639b5,index:_0x39d6fe}=_0x3e05e5;_0x5cc3a0===_0x24a6f0['PivotTableFiledAreaEnum'][_0x72a01b(0x11a)]?delete _0x4029fc[_0x72a01b(0x1ff)][_0x5639b5]:delete _0x4029fc[_0x72a01b(0x1ab)][_0x5639b5],_0x10b759(_0x4029fc,_0x5cc3a0)[_0x72a01b(0xd0)](_0x39d6fe,0x1);}function _0xf2cdc1(_0x472af1,_0x14cb87){const {fieldId:_0x445387,name:_0x51552b}=_0x14cb87,_0x1c80d5=_0x27884e(_0x472af1,_0x445387);_0x1c80d5&&(_0x1c80d5['displayName']=_0x51552b);}function _0x41eed8(_0x3d5117,_0x4e4598){const _0x463e36=_0x43ed60,{fieldId:_0x4b2fa6,collapse:_0x2a715c,item:_0x16d7e4}=_0x4e4598;_0x16d7e4!==void 0x0?(_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]=_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]||{},_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6][_0x16d7e4]=_0x2a715c):_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]=_0x2a715c;}function _0x47bc72(_0x49f363,_0x126167){const _0x40be35=_0x43ed60,{fieldId:_0xe7bcb2,format:_0x12c7c5}=_0x126167,_0x1019a6=_0x27884e(_0x49f363,_0xe7bcb2);_0x1019a6&&(_0x1019a6[_0x40be35(0x2ac)]=_0x12c7c5);}function _0x575d8c(_0x55f59a,_0x8b87b5){const _0x43ac47=_0x43ed60,{fieldId:_0x1134a0,filterInfo:_0x871cca}=_0x8b87b5,_0x35f9d5=_0x27884e(_0x55f59a,_0x1134a0);_0x35f9d5&&(_0x35f9d5[_0x43ac47(0x22e)]=_0x871cca);}function _0x131fda(_0x51a736,_0x4c08ff){const _0x3d81a4=_0x43ed60,{fieldId:_0xe0062f,filterInfo:_0xcabd6e}=_0x4c08ff,_0x5068ce=_0x51a736['valueFilter'][_0x3d81a4(0x2a3)](_0x248e02=>_0x248e02[_0x3d81a4(0x196)]!==_0xe0062f);_0xcabd6e&&_0x5068ce['push']({'fieldId':_0xe0062f,'filterInfo':_0xcabd6e}),_0x51a736['valueFilter']=_0x5068ce;}function _0x11a70f(_0x58eaea,_0x4f44fd){const _0x397fad=_0x43ed60,{fieldId:_0x44c630,subtotalType:_0xb3534b}=_0x4f44fd,_0x475959=_0x27884e(_0x58eaea,_0x44c630);_0x475959&&(_0x475959[_0x397fad(0x296)]=_0xb3534b);}function _0x3a1a7d(_0xe50944,_0x158902){const _0x49e964=_0x43ed60,{fieldId:_0x1e7482,oldArea:_0x58eaa0,area:_0x58643c,oldIndex:_0x1a2994,index:_0x35e7e0}=_0x158902,_0x10bbca=_0x58eaa0!==_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)]&&_0x58643c===_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)],_0x28a924=_0x58eaa0===_0x24a6f0[_0x49e964(0x2b6)]['Value']&&_0x58643c!==_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)];if(_0x10bbca||_0x28a924){const _0x58a395=_0x27884e(_0xe50944,_0x1e7482);_0x58a395&&(_0x10bbca?(delete _0xe50944[_0x49e964(0x1ab)][_0x1e7482],_0xe50944[_0x49e964(0x1ff)][_0x1e7482]=_0x58a395):(delete _0xe50944['measure'][_0x1e7482],_0xe50944[_0x49e964(0x1ab)][_0x1e7482]=_0x58a395));}const _0x54ea36=_0x10b759(_0xe50944,_0x58eaa0),_0x27893d=_0x10b759(_0xe50944,_0x58643c);_0x54ea36[_0x49e964(0xd0)](_0x1a2994,0x1),_0x27893d[_0x49e964(0xd0)](_0x35e7e0,0x0,_0x1e7482);}function _0x3bbf67(_0x32de65,_0x242159){const _0x16b7d9=_0x43ed60,{valuePosition:_0xb9722c,index:_0x166e77}=_0x242159;_0x32de65[_0x16b7d9(0x98)]=_0xb9722c,_0x32de65[_0x16b7d9(0x374)]=_0x166e77;}function _0x4af060(_0x305409,_0x316596){const _0xa8b2b6=_0x43ed60,{tableFieldId:_0x1df4fb,sourceName:_0x569435,dataFieldId:_0x2b277c}=_0x316596,_0x3fc8ee=_0x27884e(_0x305409,_0x1df4fb);_0x3fc8ee&&(_0x3fc8ee['sourceName']=_0x569435,_0x3fc8ee[_0xa8b2b6(0xea)]=_0x2b277c);}function _0x2ad79e(_0x20ebea,_0x3c5359){const _0x39d24c=_0x43ed60,{fieldId:_0x853178,sortInfo:_0x48a3a0}=_0x3c5359,_0x41707d=_0x27884e(_0x20ebea,_0x853178);_0x41707d&&(_0x41707d[_0x39d24c(0x141)]=_0x48a3a0);}function _0x38c32f(_0x4102ce,_0x483e68){const _0x4971f9=_0x43ed60,{options:_0x471916}=_0x483e68;_0x4102ce[_0x4971f9(0x28e)]={..._0x4102ce[_0x4971f9(0x28e)],..._0x471916};}const _0x2683fb={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0xaa),'handler'(_0x44a04b,_0x59fe9c){const _0x18fffa=_0x43ed60;if(!_0x59fe9c)return!0x1;if(!!_0x44a04b[_0x18fffa(0x33b)](_0x3f1699[_0x18fffa(0x23e)])[_0x18fffa(0x30f)](_0x57d9c3))return!0x0;const _0x3cd1a9=_0x44a04b['get'](_0x89a8ec[_0x18fffa(0x1b5)]),{pivotTableId:_0x2cb395,fieldJson:_0x849b6d,area:_0x1c96b9,index:_0x4634cf,unitId:_0x490542,subUnitId:_0x570d00}=_0x59fe9c,_0x41cd8e=_0x3cd1a9['getPivotTableInstance'](_0x2cb395);if(!_0x41cd8e)return!0x1;let _0x3b1084;_0x1c96b9===_0x24a6f0[_0x18fffa(0x2b6)][_0x18fffa(0x11a)]?_0x3b1084=_0x24a6f0[_0x18fffa(0x18e)](_0x849b6d):_0x3b1084=_0x24a6f0[_0x18fffa(0x2e0)](_0x849b6d),_0x41cd8e[_0x18fffa(0x372)](_0x3b1084,_0x1c96b9,_0x4634cf);const _0x25157c=_0x3cd1a9[_0x18fffa(0x26c)](_0x490542,_0x570d00,_0x2cb395);_0x35d338(_0x25157c,_0x59fe9c);const _0x4b89cf=_0x3cd1a9['getPivotTableConfig'](_0x490542,_0x570d00,_0x2cb395);return _0x3cd1a9[_0x18fffa(0x232)]({'unitId':_0x490542,'subUnitId':_0x570d00,'token':_0x2cb395,'type':_0x1870de[_0x18fffa(0xf0)],'pivotConfig':_0x4b89cf}),!0x0;}},_0x4c4039={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x518c97,_0x2d60f2){const _0x202595=_0x43ed60;if(!_0x2d60f2)return!0x1;if(!!_0x518c97[_0x202595(0x33b)](_0x3f1699[_0x202595(0x23e)])[_0x202595(0x30f)](_0x57d9c3))return!0x0;const _0x5c11cc=_0x518c97[_0x202595(0x33b)](_0x89a8ec[_0x202595(0x1b5)]),{pivotTableId:_0x7bdca1,fieldId:_0x2eb64a,unitId:_0x3027e9,subUnitId:_0x181317}=_0x2d60f2,_0x589214=_0x5c11cc[_0x202595(0x1bf)](_0x7bdca1);if(!_0x589214)return!0x1;_0x589214[_0x202595(0x32f)](_0x2eb64a);const _0x58b2bd=_0x5c11cc[_0x202595(0x26c)](_0x3027e9,_0x181317,_0x7bdca1);_0x47202d(_0x58b2bd,_0x2d60f2);const _0x38e4ac=_0x5c11cc[_0x202595(0x275)](_0x3027e9,_0x181317,_0x7bdca1);return _0x5c11cc['addDirtyPivotTable']({'unitId':_0x3027e9,'subUnitId':_0x181317,'token':_0x7bdca1,'type':_0x1870de['Set'],'pivotConfig':_0x38e4ac}),!0x0;}},_0x33ff97={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0x14e),'handler'(_0x168d13,_0x4b3335){const _0x516393=_0x43ed60;if(!_0x4b3335)return!0x1;if(!!_0x168d13[_0x516393(0x33b)](_0x3f1699['IConfigService'])[_0x516393(0x30f)](_0x57d9c3))return!0x0;const _0x590ac2=_0x168d13[_0x516393(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x4f344a,subUnitId:_0x5acfcb,pivotTableId:_0x4d01d0,fieldId:_0x26e519,name:_0x4d4baf}=_0x4b3335,_0x2a4861=_0x590ac2[_0x516393(0x1bf)](_0x4d01d0);if(!_0x2a4861)return!0x1;_0x2a4861[_0x516393(0xb2)](_0x26e519,_0x4d4baf);const _0x5a6532=_0x590ac2[_0x516393(0x26c)](_0x4f344a,_0x5acfcb,_0x4d01d0);return _0xf2cdc1(_0x5a6532,_0x4b3335),_0x590ac2['addDirtyPivotTable']({'unitId':_0x4f344a,'subUnitId':_0x5acfcb,'token':_0x4d01d0,'type':_0x1870de[_0x516393(0xf0)]}),!0x0;}},_0x4d2e93={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x308289,_0x192eaa){const _0x12a365=_0x43ed60;if(!_0x192eaa)return!0x1;if(!!_0x308289[_0x12a365(0x33b)](_0x3f1699[_0x12a365(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x45e984=_0x308289[_0x12a365(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x55db88,subUnitId:_0x5f47b9,pivotTableId:_0x27f173,fieldId:_0x934efd,collapse:_0x1a911c,item:_0x59ec97}=_0x192eaa,_0xa69924=_0x45e984[_0x12a365(0x1bf)](_0x27f173);if(!_0xa69924)return!0x1;_0xa69924['setCollapse'](_0x934efd,_0x1a911c,_0x59ec97);const _0x4610a0=_0x45e984[_0x12a365(0x26c)](_0x55db88,_0x5f47b9,_0x27f173);return _0x41eed8(_0x4610a0,_0x192eaa),_0x45e984[_0x12a365(0x232)]({'unitId':_0x55db88,'subUnitId':_0x5f47b9,'token':_0x27f173,'type':_0x1870de['Set']}),!0x0;}},_0x574c2c={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x3ab),'handler'(_0x47615d,_0x1ecfeb){const _0x141630=_0x43ed60;if(!_0x1ecfeb)return!0x1;if(!!_0x47615d[_0x141630(0x33b)](_0x3f1699[_0x141630(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x14b921=_0x47615d[_0x141630(0x33b)](_0x89a8ec[_0x141630(0x1b5)]),{unitId:_0x49e972,subUnitId:_0x51842e,pivotTableId:_0x265973,fieldId:_0x6f0d34,format:_0x4c5ad1}=_0x1ecfeb,_0x457c90=_0x14b921['getPivotTableInstance'](_0x265973);if(!_0x457c90)return!0x1;_0x457c90['setFieldFormat'](_0x6f0d34,_0x4c5ad1);const _0x485314=_0x14b921['getPivotTableModelConfig'](_0x49e972,_0x51842e,_0x265973);return _0x47bc72(_0x485314,_0x1ecfeb),_0x14b921[_0x141630(0x232)]({'unitId':_0x49e972,'subUnitId':_0x51842e,'token':_0x265973,'type':_0x1870de[_0x141630(0xf0)]}),!0x0;}},_0x32fa40={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x1ed),'handler'(_0x1098e4,_0x532c15){const _0x2b1ed9=_0x43ed60;if(!_0x532c15)return!0x1;if(!!_0x1098e4[_0x2b1ed9(0x33b)](_0x3f1699[_0x2b1ed9(0x23e)])[_0x2b1ed9(0x30f)](_0x57d9c3))return!0x0;const _0x4fb6ac=_0x1098e4[_0x2b1ed9(0x33b)](_0x89a8ec[_0x2b1ed9(0x1b5)]),{unitId:_0xda400,subUnitId:_0x47d473,pivotTableId:_0x365081,fieldId:_0x5ceff5,filterInfo:_0x2fbdb2}=_0x532c15,_0x369c34=_0x4fb6ac[_0x2b1ed9(0x1bf)](_0x365081);if(!_0x369c34)return!0x1;_0x369c34[_0x2b1ed9(0xd5)](_0x5ceff5,_0x2fbdb2);const _0x17769c=_0x4fb6ac[_0x2b1ed9(0x26c)](_0xda400,_0x47d473,_0x365081);return _0x575d8c(_0x17769c,_0x532c15),_0x4fb6ac[_0x2b1ed9(0x232)]({'unitId':_0xda400,'subUnitId':_0x47d473,'token':_0x365081,'type':_0x1870de[_0x2b1ed9(0xf0)]}),!0x0;}},_0x1082bc={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2d7),'handler'(_0x3ed879,_0x570bd1){const _0x29972f=_0x43ed60;if(!_0x570bd1)return!0x1;if(!!_0x3ed879[_0x29972f(0x33b)](_0x3f1699[_0x29972f(0x23e)])[_0x29972f(0x30f)](_0x57d9c3))return!0x0;const _0x4ab4f9=_0x3ed879[_0x29972f(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x1a3405,subUnitId:_0x555186,pivotTableId:_0xbe9dc1,options:_0x5d0bc6}=_0x570bd1,_0x4c7782=_0x4ab4f9[_0x29972f(0x1bf)](_0xbe9dc1);if(!_0x4c7782)return!0x1;_0x4c7782[_0x29972f(0x2a4)](_0x5d0bc6);const _0x55ead7=_0x4ab4f9[_0x29972f(0x26c)](_0x1a3405,_0x555186,_0xbe9dc1);return _0x38c32f(_0x55ead7,_0x570bd1),_0x4ab4f9['addDirtyPivotTable']({'unitId':_0x1a3405,'subUnitId':_0x555186,'token':_0xbe9dc1,'type':_0x1870de['Set']}),!0x0;}},_0xdc2a8={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x10c),'handler'(_0x188978,_0x3a44fd){const _0x4a3bc7=_0x43ed60;if(!_0x3a44fd)return!0x1;if(!!_0x188978[_0x4a3bc7(0x33b)](_0x3f1699[_0x4a3bc7(0x23e)])[_0x4a3bc7(0x30f)](_0x57d9c3))return!0x0;const _0x11fade=_0x188978['get'](_0x89a8ec[_0x4a3bc7(0x1b5)]),{unitId:_0x37d5f7,subUnitId:_0x219d84,pivotTableId:_0x3c6f46,sortInfo:_0x4a74ed,fieldId:_0x3871ba}=_0x3a44fd,_0x365b7f=_0x11fade['getPivotTableInstance'](_0x3c6f46);if(!_0x365b7f)return!0x1;_0x365b7f['setSortInfo'](_0x3871ba,_0x4a74ed);const _0x3bf13b=_0x11fade[_0x4a3bc7(0x26c)](_0x37d5f7,_0x219d84,_0x3c6f46);return _0x2ad79e(_0x3bf13b,_0x3a44fd),_0x11fade[_0x4a3bc7(0x232)]({'unitId':_0x37d5f7,'subUnitId':_0x219d84,'token':_0x3c6f46,'type':_0x1870de['Set']}),!0x0;}},_0x47dd65={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x333),'handler'(_0x22f2d1,_0x317179){const _0x5ece04=_0x43ed60;if(!_0x317179)return!0x1;if(!!_0x22f2d1['get'](_0x3f1699[_0x5ece04(0x23e)])[_0x5ece04(0x30f)](_0x57d9c3))return!0x0;const _0x385ff8=_0x22f2d1[_0x5ece04(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x5ec802,subUnitId:_0x3c07bb,pivotTableId:_0x44db1f,fieldId:_0x1be5c8,subtotalType:_0x2d59fc}=_0x317179,_0x3bc300=_0x385ff8[_0x5ece04(0x1bf)](_0x44db1f);if(!_0x3bc300)return!0x1;_0x3bc300[_0x5ece04(0x1a9)](_0x1be5c8,_0x2d59fc);const _0x91aa73=_0x385ff8[_0x5ece04(0x26c)](_0x5ec802,_0x3c07bb,_0x44db1f);return _0x11a70f(_0x91aa73,_0x317179),_0x385ff8['addDirtyPivotTable']({'unitId':_0x5ec802,'subUnitId':_0x3c07bb,'token':_0x44db1f,'type':_0x1870de['Set']}),!0x0;}},_0x56fe20={'type':_0x3f1699['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x1403d8,_0x5057e8){const _0x52583a=_0x43ed60;if(!_0x5057e8)return!0x1;if(!!_0x1403d8[_0x52583a(0x33b)](_0x3f1699[_0x52583a(0x23e)])[_0x52583a(0x30f)](_0x57d9c3))return!0x0;const _0x4e8eff=_0x1403d8[_0x52583a(0x33b)](_0x89a8ec[_0x52583a(0x1b5)]),{unitId:_0x4d197e,subUnitId:_0x405b41,pivotTableId:_0x4edfb0,fieldId:_0x52906a,filterInfo:_0x314847}=_0x5057e8,_0x2cc6b2=_0x4e8eff[_0x52583a(0x1bf)](_0x4edfb0);if(!_0x2cc6b2)return!0x1;_0x2cc6b2[_0x52583a(0x2b9)](_0x52906a,_0x314847);const _0x3eb27d=_0x4e8eff['getPivotTableModelConfig'](_0x4d197e,_0x405b41,_0x4edfb0);return _0x131fda(_0x3eb27d,_0x5057e8),_0x4e8eff[_0x52583a(0x232)]({'unitId':_0x4d197e,'subUnitId':_0x405b41,'token':_0x4edfb0,'type':_0x1870de[_0x52583a(0xf0)]}),!0x0;}},_0x1389af={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x128),'handler'(_0x4ff2eb,_0x2d959b){const _0x5a13a4=_0x43ed60;if(!_0x2d959b)return!0x1;if(!!_0x4ff2eb[_0x5a13a4(0x33b)](_0x3f1699[_0x5a13a4(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x1d67f8=_0x4ff2eb['get'](_0x89a8ec[_0x5a13a4(0x1b5)]),{unitId:_0x4a808e,subUnitId:_0x261b08,pivotTableId:_0x554428,area:_0x12db79,index:_0x128cce,fieldId:_0x3900e5}=_0x2d959b,_0x12f6c4=_0x1d67f8[_0x5a13a4(0x1bf)](_0x554428);if(!_0x12f6c4)return!0x1;_0x12f6c4[_0x5a13a4(0x109)](_0x3900e5,_0x12db79,_0x128cce);const _0xbae0da=_0x1d67f8[_0x5a13a4(0x26c)](_0x4a808e,_0x261b08,_0x554428);return _0x3a1a7d(_0xbae0da,_0x2d959b),_0x1d67f8['addDirtyPivotTable']({'unitId':_0x4a808e,'subUnitId':_0x261b08,'token':_0x554428,'type':_0x1870de['Set']}),!0x0;}},_0x344faf={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x38f),'handler'(_0x21945a,_0x413c67){const _0x6e3d88=_0x43ed60;if(!_0x413c67)return!0x1;if(!!_0x21945a[_0x6e3d88(0x33b)](_0x3f1699['IConfigService'])[_0x6e3d88(0x30f)](_0x57d9c3))return!0x0;const _0x2f0cc2=_0x21945a[_0x6e3d88(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x204d82,subUnitId:_0xa41127,pivotTableId:_0x347822,sourceName:_0x4dc8c7,dataFieldId:_0x2c49be,tableFieldId:_0x5f0724}=_0x413c67,_0x3db347=_0x2f0cc2[_0x6e3d88(0x1bf)](_0x347822);if(!_0x3db347)return!0x1;_0x3db347[_0x6e3d88(0x1bc)](_0x5f0724,_0x4dc8c7,_0x2c49be);const _0x598ea0=_0x2f0cc2[_0x6e3d88(0x26c)](_0x204d82,_0xa41127,_0x347822);return _0x4af060(_0x598ea0,_0x413c67),_0x2f0cc2['addDirtyPivotTable']({'unitId':_0x204d82,'subUnitId':_0xa41127,'token':_0x347822,'type':_0x1870de['Set']}),!0x0;}},_0xad2258={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x26f),'handler'(_0x560e86,_0x524391){const _0x491d94=_0x43ed60;if(!_0x524391)return!0x1;if(!!_0x560e86[_0x491d94(0x33b)](_0x3f1699[_0x491d94(0x23e)])[_0x491d94(0x30f)](_0x57d9c3))return!0x0;const _0x3926d6=_0x560e86[_0x491d94(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x10f49a,subUnitId:_0x2f8abb,pivotTableId:_0x389f09,valuePosition:_0x2c66b2,index:_0x33120c}=_0x524391,_0x7fb1d0=_0x3926d6[_0x491d94(0x1bf)](_0x389f09);if(!_0x7fb1d0)return!0x1;_0x7fb1d0[_0x491d94(0x386)](_0x2c66b2,_0x33120c);const _0x49be1d=_0x3926d6[_0x491d94(0x26c)](_0x10f49a,_0x2f8abb,_0x389f09);return _0x3bbf67(_0x49be1d,_0x524391),_0x3926d6[_0x491d94(0x232)]({'unitId':_0x10f49a,'subUnitId':_0x2f8abb,'token':_0x389f09,'type':_0x1870de[_0x491d94(0xf0)]}),!0x0;}};function _0x122330(_0x3bbd3b,_0x3aa680,_0x561847){const _0x2e7e60=_0x43ed60,{pivotTableId:_0x22432b,unitId:_0x8e1edf,subUnitId:_0x50dae8}=_0x3aa680,_0x3d307d=[],_0x28815d=[];for(const _0x24e382 of _0x561847)switch(_0x24e382['type']){case _0x24a6f0[_0x2e7e60(0x295)]['AddField']:{const {fieldJson:_0x140c87,area:_0x283aeb,index:_0x363b63}=_0x24e382,_0x6b782c={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldJson':_0x140c87,'area':_0x283aeb,'index':_0x363b63},_0x4fa736={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x140c87['id'],'area':_0x283aeb,'index':_0x363b63};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x2683fb['id'],'params':_0x6b782c}),_0x28815d['unshift']({'id':_0x4c4039['id'],'params':_0x4fa736});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x2d3)]:{const {fieldId:_0x32fc67,newSubtotalType:_0x337eda,oldSubtotalType:_0x1e9734}=_0x24e382,_0x2a1b7b={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x32fc67,'subtotalType':_0x337eda};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x47dd65['id'],'params':_0x2a1b7b});const _0x3859ce={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x32fc67,'subtotalType':_0x1e9734};_0x28815d[_0x2e7e60(0x318)]({'id':_0x47dd65['id'],'params':_0x3859ce});}break;case _0x24a6f0['PivotTableChangeTypeEnum'][_0x2e7e60(0x200)]:{const {fieldId:_0x3f6341,fieldJson:_0x10f92f,area:_0x27bb98,index:_0x75cd4c}=_0x24e382,_0x149209={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3f6341,'index':_0x75cd4c,'area':_0x27bb98};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x4c4039['id'],'params':_0x149209});const _0x4d6ea0={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldJson':_0x10f92f,'area':_0x27bb98,'index':_0x75cd4c};_0x28815d['unshift']({'id':_0x2683fb['id'],'params':_0x4d6ea0});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x321)]:{const {fieldId:_0x3791f7,oldName:_0x41b6e6,newName:_0x548c40}=_0x24e382,_0x1261e3={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3791f7,'name':_0x548c40};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x33ff97['id'],'params':_0x1261e3});const _0x444c0c={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3791f7,'name':_0x41b6e6};_0x28815d[_0x2e7e60(0x318)]({'id':_0x33ff97['id'],'params':_0x444c0c});}break;case _0x24a6f0[_0x2e7e60(0x295)]['SetFilterInfo']:{const {fieldId:_0x440b95,oldFilterInfo:_0x49e3d2,newFilterInfo:_0x58cf08}=_0x24e382,_0x3ec973={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x440b95,'filterInfo':_0x58cf08};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x32fa40['id'],'params':_0x3ec973});const _0x3a7712={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x440b95,'filterInfo':_0x49e3d2};_0x28815d[_0x2e7e60(0x318)]({'id':_0x32fa40['id'],'params':_0x3a7712});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x2bc)]:{const {fieldId:_0x3fdf3d,oldSortInfo:_0x355b55,newSortInfo:_0x482b1d}=_0x24e382,_0x23a02d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3fdf3d,'sortInfo':_0x482b1d};_0x3d307d[_0x2e7e60(0x182)]({'id':_0xdc2a8['id'],'params':_0x23a02d});const _0x1ec93d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3fdf3d,'sortInfo':_0x355b55};_0x28815d['unshift']({'id':_0xdc2a8['id'],'params':_0x1ec93d});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x25f)]:{const {oldOptions:_0x3e2f1f,newOptions:_0x4212aa}=_0x24e382,_0x4a4774={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'options':_0x4212aa};_0x3d307d['push']({'id':_0x1082bc['id'],'params':_0x4a4774});const _0x258ef3={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'options':_0x3e2f1f};_0x28815d[_0x2e7e60(0x318)]({'id':_0x1082bc['id'],'params':_0x258ef3});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x208)]:{const {oldArea:_0x5aa979,newArea:_0x4d276a,oldIndex:_0x157bce,newIndex:_0x910235,fieldId:_0x4b5210}=_0x24e382,_0x4c4613={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x4b5210,'area':_0x4d276a,'index':_0x910235,'oldArea':_0x5aa979,'oldIndex':_0x157bce};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x1389af['id'],'params':_0x4c4613});const _0x52e795={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x4b5210,'area':_0x5aa979,'index':_0x157bce,'oldArea':_0x4d276a,'oldIndex':_0x910235};_0x28815d[_0x2e7e60(0x318)]({'id':_0x1389af['id'],'params':_0x52e795});}break;case _0x24a6f0[_0x2e7e60(0x295)]['UpdateValuePosition']:{const {oldValuePosition:_0x185b55,newValuePosition:_0x1e4969,oldIndex:_0x109352,newIndex:_0x5da059}=_0x24e382,_0x542cd4={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'valuePosition':_0x1e4969,'index':_0x5da059};_0x3d307d[_0x2e7e60(0x182)]({'id':_0xad2258['id'],'params':_0x542cd4});const _0x48fb6d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'valuePosition':_0x185b55,'index':_0x109352};_0x28815d[_0x2e7e60(0x318)]({'id':_0xad2258['id'],'params':_0x48fb6d});}break;case _0x24a6f0[_0x2e7e60(0x295)]['SetCollapse']:{const {fieldId:_0x438157,collapse:_0x36bb8d,item:_0x6afd2b}=_0x24e382,_0x52c8fb={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x438157,'collapse':_0x36bb8d,'item':_0x6afd2b};_0x3d307d['push']({'id':_0x4d2e93['id'],'params':_0x52c8fb});const _0xf5a0bb={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x438157,'collapse':!_0x36bb8d,'item':_0x6afd2b};_0x28815d[_0x2e7e60(0x318)]({'id':_0x4d2e93['id'],'params':_0xf5a0bb});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x150)]:{const {newFormat:_0x43ed64,oldFormat:_0x584585,fieldId:_0x52da6e}=_0x24e382,_0x5291f7={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x52da6e,'format':_0x43ed64};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x574c2c['id'],'params':_0x5291f7});const _0x30e663={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x52da6e,'format':_0x584585};_0x28815d['unshift']({'id':_0x574c2c['id'],'params':_0x30e663});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0xe8)]:{const {tableFieldId:_0x4d6b1f,oldSourceName:_0x8fa71e,newSourceName:_0x1506f6,oldDataFieldId:_0x52baf2,newDataFieldId:_0x551499}=_0x24e382,_0xa106ab={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'tableFieldId':_0x4d6b1f,'sourceName':_0x1506f6,'dataFieldId':_0x551499};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x344faf['id'],'params':_0xa106ab});const _0x12aae1={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'tableFieldId':_0x4d6b1f,'sourceName':_0x8fa71e,'dataFieldId':_0x52baf2};_0x28815d[_0x2e7e60(0x318)]({'id':_0x344faf['id'],'params':_0x12aae1});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x164)]:{const {fieldId:_0x58e66b,filterInfo:_0x4422ea,oldFilterInfo:_0x2e7824}=_0x24e382,_0x329b4f={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x58e66b,'filterInfo':_0x4422ea};_0x3d307d['push']({'id':_0x56fe20['id'],'params':_0x329b4f});const _0x112daa={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x58e66b,'filterInfo':_0x2e7824};_0x28815d[_0x2e7e60(0x318)]({'id':_0x56fe20['id'],'params':_0x112daa});}}return{'redos':_0x3d307d,'undos':_0x28815d};}function _0x2debb2(_0x5d4cad,_0x2ce24b){const _0x460144=_0x43ed60;var _0x32e619;const _0x5c7a28=_0x5d4cad[_0x460144(0x33b)](_0x89a8ec[_0x460144(0xba)]),{cellInfo:_0x4de9a4,view:_0x56fe46,isEmpty:_0x33c63d}=_0x2ce24b;return(_0x32e619=_0x5c7a28[_0x460144(0x2f9)][_0x460144(0x22b)](_0x2f0e9b)(_0x505667,{'cellInfo':_0x4de9a4,'view':_0x56fe46,'isEmpty':_0x33c63d}))!=null?_0x32e619:_0x505667;}const _0x3efb0f=()=>typeof process<'u'&&process[_0x43ed60(0x239)]!=null&&process[_0x43ed60(0x239)][_0x43ed60(0x2cf)]!=null,_0x158817={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x12c),'handler'(_0x1cb0a0,_0x162148){const _0x1c0520=_0x43ed60;var _0x4a49cb;if(!_0x162148)return!0x1;const _0x262808=_0x1cb0a0[_0x1c0520(0x33b)](_0x3f1699[_0x1c0520(0x23e)]);if(!!_0x262808['getConfig'](_0x57d9c3))return!0x0;const _0xe0d27c=_0x1cb0a0[_0x1c0520(0x33b)](_0x3f1699[_0x1c0520(0x1b9)]),_0x2693c0=_0x1cb0a0[_0x1c0520(0x33b)](_0x89a8ec[_0x1c0520(0x1b5)]),{pivotTableId:_0xa8e5de,pivotTableConfig:_0x59ef01,collectionConfig:_0x8da18a,unitId:_0x31d81f,subUnitId:_0x446ba8}=_0x162148,{sourceRangeInfo:_0x1553df,fieldsConfig:_0x26beda,targetCellInfo:_0x3b9e8b}=_0x59ef01,_0x4c4cf2=_0xe0d27c[_0x1c0520(0x35a)](_0x31d81f);if(!_0x4c4cf2||!_0x4c4cf2[_0x1c0520(0x11d)](_0x446ba8))return!0x1;if(!_0x3efb0f()){let _0x29f47f=0x0;_0x4c4cf2[_0x1c0520(0x2e6)]()[_0x1c0520(0x2f8)](_0x4090b9=>{const _0x4c2493=_0x1c0520;var _0x4c1195,_0x1b9592;_0x29f47f+=(_0x1b9592=(_0x4c1195=_0x2693c0['getSubUnitPivotConfigs'](_0x31d81f,_0x4090b9[_0x4c2493(0x344)]()))==null?void 0x0:_0x4c1195[_0x4c2493(0x1e8)])!=null?_0x1b9592:0x0;});const _0xbb87e9=(_0x4a49cb=_0x262808[_0x1c0520(0x30f)](_0x48414d[_0x1c0520(0x228)]))!=null?_0x4a49cb:{},{ls:_0x374f06,pbk:_0x18858}=_0xbb87e9;if(!_0x35e5f9(_0x374f06,_0x18858))throw new _0x3f1699[(_0x1c0520(0x282))](_0x1c0520(0x298));const _0x796758=_0xa1005d(_0x53ba46,_0x374f06,_0x18858)[_0x1c0520(0x28f)];if(_0x29f47f>=_0x796758)throw new _0x3f1699[(_0x1c0520(0x282))](_0x1c0520(0x298));}if(!_0x8da18a||!_0x26beda)return!0x1;const {collection:_0x34fb01,updateDataFieldList:_0x3f051e}=_0x2693c0[_0x1c0520(0x1c3)](_0xa8e5de,_0x8da18a,_0x1553df,_0x3b9e8b);_0x2693c0['refreshData'](_0x34fb01,_0x3f051e,_0x1553df);const _0x326989=new _0x24a6f0[(_0x1c0520(0x308))](_0x34fb01,void 0x0,_0xa8e5de);_0x326989[_0x1c0520(0x327)](_0x26beda);const _0x5ca5bb=JSON[_0x1c0520(0x203)](JSON[_0x1c0520(0x252)](_0x59ef01));return _0x2693c0['addPivotTable'](_0x31d81f,_0x446ba8,_0xa8e5de,_0x326989,_0x5ca5bb),_0x2693c0['addDirtyPivotTable']({'unitId':_0x31d81f,'subUnitId':_0x446ba8,'token':_0xa8e5de,'type':_0x1870de[_0x1c0520(0x11b)],'pivotConfig':_0x5ca5bb}),!0x0;}},_0x3fa252={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x315),'handler'(_0x1b5a3d,_0xd597b5){const _0x5df4e6=_0x43ed60;if(!_0xd597b5)return!0x1;if(!!_0x1b5a3d[_0x5df4e6(0x33b)](_0x3f1699['IConfigService'])[_0x5df4e6(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x114c56,unitId:_0x36892b,subUnitId:_0x342f77}=_0xd597b5,_0x24c86a=_0x1b5a3d[_0x5df4e6(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']);return _0x24c86a[_0x5df4e6(0x275)](_0x36892b,_0x342f77,_0x114c56)?(_0x24c86a['addDirtyPivotTable']({'unitId':_0x36892b,'subUnitId':_0x342f77,'token':_0x114c56,'type':_0x1870de[_0x5df4e6(0x39e)]}),_0x24c86a['removePivotTable'](_0x36892b,_0x342f77,_0x114c56),!0x0):!0x1;}},_0x118dc3={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0xfa),'handler'(_0x36aaca,_0x167431){const _0x450119=_0x43ed60;if(!_0x167431)return!0x1;if(!!_0x36aaca[_0x450119(0x33b)](_0x3f1699[_0x450119(0x23e)])[_0x450119(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x55c593,targetCellPosition:_0x925ed8,unitId:_0x5bba26,subUnitId:_0xcabdb7}=_0x167431,_0x22b900=_0x36aaca[_0x450119(0x33b)](_0x89a8ec[_0x450119(0x1b5)]);if(!_0x22b900['getPivotTableInstance'](_0x167431[_0x450119(0x281)]))return!0x1;const _0x44f510=_0x22b900['getTargetByPivotId'](_0x55c593);if(!_0x44f510)return!0x1;const _0x46d3c3=_0x22b900[_0x450119(0x361)](_0x44f510[_0x450119(0x210)],_0x167431[_0x450119(0x281)]);if(!_0x46d3c3)return!0x1;const _0x50a784=_0x22b900['getPivotTableConfig'](_0x44f510['unitId'],_0x44f510[_0x450119(0x15a)],_0x55c593);if(!_0x50a784)return!0x1;const _0x56eb2f=_0x3f1699[_0x450119(0x21b)][_0x450119(0xf5)](_0x50a784);_0x56eb2f[_0x450119(0x3a4)]={'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'row':_0x925ed8['row'],'col':_0x925ed8[_0x450119(0x14c)]};const _0x4f33c9=_0x46d3c3[_0x450119(0x10f)]();if(_0x44f510['subUnitId']===_0xcabdb7&&_0x44f510['unitId']===_0x5bba26)_0x22b900['setPivotTable'](_0x5bba26,_0xcabdb7,_0x55c593,_0x56eb2f),_0x22b900[_0x450119(0x232)]({'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'token':_0x55c593,'type':_0x1870de['Set']});else{_0x22b900[_0x450119(0x232)]({'unitId':_0x44f510['unitId'],'subUnitId':_0x44f510[_0x450119(0x15a)],'token':_0x55c593,'type':_0x1870de[_0x450119(0x39e)]}),_0x22b900['removePivotTable'](_0x44f510[_0x450119(0x210)],_0x44f510[_0x450119(0x15a)],_0x55c593);const _0x59921b=_0x22b900[_0x450119(0x1c3)](_0x55c593,_0x4f33c9,_0x50a784['sourceRangeInfo'],_0x56eb2f[_0x450119(0x3a4)]),_0x5ce531=new _0x24a6f0['PivotTable'](_0x59921b['collection'],void 0x0,_0x55c593);_0x5ce531['fromJSON'](_0x56eb2f[_0x450119(0x1d8)]),_0x22b900[_0x450119(0x2b2)](_0x5bba26,_0xcabdb7,_0x55c593,_0x5ce531,_0x56eb2f),_0x22b900[_0x450119(0x232)]({'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'token':_0x55c593,'type':_0x1870de[_0x450119(0x11b)],'pivotConfig':_0x56eb2f});}return!0x0;}},_0x100c03={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x32b),'handler'(_0x5ed09a,_0x42d42f){const _0x24feea=_0x43ed60;if(!_0x42d42f)return!0x1;if(!!_0x5ed09a[_0x24feea(0x33b)](_0x3f1699['IConfigService'])[_0x24feea(0x30f)](_0x57d9c3))return!0x0;const _0x25a34e=_0x5ed09a[_0x24feea(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{pivotTableId:_0x44fa88,deleteIds:_0x17ca99,collectionJSON:_0x53d941,dataRangeInfo:_0x1cdf32,unitId:_0x4e203f,subUnitId:_0xdc91e8}=_0x42d42f,_0x3eec08=_0x25a34e[_0x24feea(0x1bf)](_0x44fa88),_0x50ad20=_0x25a34e['getPivotTableConfig'](_0x4e203f,_0xdc91e8,_0x44fa88);if(!_0x3eec08||!_0x50ad20)return!0x1;const {collection:_0x123e1b,updateDataFieldList:_0xa42749}=_0x25a34e['addCollectionByJSON'](_0x44fa88,_0x53d941,_0x1cdf32,_0x50ad20[_0x24feea(0x3a4)]);_0x25a34e[_0x24feea(0xf8)](_0x123e1b,_0xa42749,_0x1cdf32),_0x3eec08[_0x24feea(0x320)](_0x123e1b);for(const _0x3090db of _0x17ca99)_0x25a34e['removeDataField'](_0x1cdf32[_0x24feea(0x210)],_0x3090db);const _0x508ff5=_0x25a34e['getPivotTableConfig'](_0x4e203f,_0xdc91e8,_0x44fa88);return _0x508ff5[_0x24feea(0x1af)]=JSON[_0x24feea(0x203)](JSON['stringify'](_0x1cdf32)),_0x25a34e['addDirtyPivotTable']({'unitId':_0x4e203f,'subUnitId':_0xdc91e8,'token':_0x44fa88,'type':_0x1870de[_0x24feea(0xf0)]}),!0x0;}},_0x1e4960={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x3598f3=Object['getOwnPropertyDescriptor'],_0x8c97d1=(_0x397595,_0x5483a0,_0x228dae,_0x10db56)=>{const _0x59a830=_0x43ed60;for(var _0x181c8d=_0x10db56>0x1?void 0x0:_0x10db56?_0x3598f3(_0x5483a0,_0x228dae):_0x5483a0,_0xcf8a36=_0x397595[_0x59a830(0x27d)]-0x1,_0x5191e6;_0xcf8a36>=0x0;_0xcf8a36--)(_0x5191e6=_0x397595[_0xcf8a36])&&(_0x181c8d=_0x5191e6(_0x181c8d)||_0x181c8d);return _0x181c8d;},_0x19eb5d=(_0x4ca4f6,_0x1366af)=>(_0x21d5c0,_0x1ecabb)=>_0x1366af(_0x21d5c0,_0x1ecabb,_0x4ca4f6);_0x89a8ec[_0x43ed60(0x392)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2593e3,_0x2c3f5b){const _0x213fb2=_0x43ed60;super(),_0x575f06(this,_0x213fb2(0x15c),new Map()),(this[_0x213fb2(0x2f1)]=_0x2593e3,this[_0x213fb2(0x399)]=_0x2c3f5b);}[_0x43ed60(0x2f2)](_0x515bdf){const _0x382bba=_0x43ed60,{version:_0x3d10a6}=_0x515bdf,_0x523bc3=this[_0x382bba(0x15c)][_0x382bba(0x33b)](_0x3d10a6);_0x523bc3&&(_0x523bc3(_0x515bdf),this['_requestResolvers']['delete'](_0x3d10a6));}[_0x43ed60(0x20b)](_0x463e84){return new Promise((_0x51e5ae,_0x1c45f8)=>{const _0x5c35ef=_0xc6ae,_0x567515=this[_0x5c35ef(0x3a9)]();this[_0x5c35ef(0x15c)][_0x5c35ef(0x273)](_0x567515,_0x51e5ae),this[_0x5c35ef(0x399)][_0x5c35ef(0x294)](_0x5cd217['id'],{'version':_0x567515,..._0x463e84},{'onlyLocal':!0x0});});}[_0x43ed60(0x3a9)](){const _0x2c6203=_0x43ed60;return Math['random']()['toString'](0x24)[_0x2c6203(0x122)](0x2,0x10);}},_0x89a8ec[_0x43ed60(0x392)]=_0x8c97d1([_0x19eb5d(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['Injector'])),_0x19eb5d(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['ICommandService']))],_0x89a8ec['SheetsPivotRPCService']);const _0x50e961={'id':_0x43ed60(0x177),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'handler':(_0x3458a0,_0x141ec0)=>{const _0x1dd19c=_0x43ed60;if(!_0x141ec0)return!0x1;if(!!_0x3458a0[_0x1dd19c(0x33b)](_0x3f1699[_0x1dd19c(0x23e)])[_0x1dd19c(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x1713e0,fieldJSON:_0x17177d,unitId:_0xe5be94,subUnitId:_0x100da6}=_0x141ec0,_0x11ac19=_0x24a6f0[_0x1dd19c(0x328)]['fromJSON'](_0x17177d);if(!_0x11ac19)return!0x1;const _0x1b2f0d=_0x3458a0[_0x1dd19c(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x3e0ec8=_0x1b2f0d[_0x1dd19c(0x1b1)](_0xe5be94),_0x520046=_0x3e0ec8[_0x1dd19c(0x361)](_0x1713e0);_0x3e0ec8[_0x1dd19c(0x37f)](_0x11ac19),_0x520046[_0x1dd19c(0x372)](_0x11ac19[_0x1dd19c(0x242)](),_0x11ac19[_0x1dd19c(0xbe)]());const _0x15af6b=_0x520046[_0x1dd19c(0x2c7)](_0x11ac19[_0x1dd19c(0x211)]());_0x15af6b&&_0x11ac19[_0x1dd19c(0x151)](_0x15af6b);const _0x125a75=_0x1b2f0d[_0x1dd19c(0x275)](_0xe5be94,_0x100da6,_0x1713e0);return _0x1b2f0d[_0x1dd19c(0x232)]({'unitId':_0xe5be94,'subUnitId':_0x100da6,'token':_0x1713e0,'type':_0x1870de[_0x1dd19c(0xf0)],'pivotConfig':_0x125a75}),!0x0;}},_0x3d58af={'id':_0x43ed60(0x249),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'handler':(_0xdf87f8,_0x23976f)=>{const _0x1b4250=_0x43ed60;if(!_0x23976f)return!0x1;if(!!_0xdf87f8['get'](_0x3f1699[_0x1b4250(0x23e)])[_0x1b4250(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x3ca1a4,dataFieldId:_0x2b30a2,unitId:_0x38553f,subUnitId:_0x26a16b}=_0x23976f,_0x2b407c=_0xdf87f8[_0x1b4250(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x5e8287=_0x2b407c[_0x1b4250(0x1b1)](_0x38553f);_0x5e8287['getCollection'](_0x3ca1a4)[_0x1b4250(0x172)](_0x2b30a2);let _0x5537c4=!0x0;for(const _0x2316d7 in _0x5e8287[_0x1b4250(0x379)])if(_0x5e8287[_0x1b4250(0x379)][_0x2316d7]['getFieldIds']()[_0x1b4250(0x376)](_0x2b30a2)){_0x5537c4=!0x1;break;}_0x5537c4&&_0x5e8287[_0x1b4250(0x37d)](_0x2b30a2);const _0x3c9fb4=_0x2b407c[_0x1b4250(0x275)](_0x38553f,_0x26a16b,_0x3ca1a4);return _0x2b407c['addDirtyPivotTable']({'unitId':_0x38553f,'subUnitId':_0x26a16b,'token':_0x3ca1a4,'type':_0x1870de[_0x1b4250(0xf0)],'pivotConfig':_0x3c9fb4}),!0x0;}},_0x3f11e0={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x40ea7c,_0x45f66a){const _0x583001=_0x43ed60;if(!_0x45f66a)return!0x1;const _0x214be0=_0x40ea7c[_0x583001(0x33b)](_0x3f1699[_0x583001(0x163)]),_0xe8c433=_0x40ea7c['get'](_0x89a8ec[_0x583001(0x392)]),_0x17b973=_0x40ea7c['get'](_0x3f1699['IUndoRedoService']),{pivotTableId:_0xa6dcc4,dataFieldId:_0x5ca284,fieldArea:_0x45ae13,index:_0x50df8e,unitId:_0x3b035d,subUnitId:_0xaf6609}=_0x45f66a,_0x160e6b=(await _0xe8c433[_0x583001(0x20b)]({'unitId':_0x3b035d,'subUnitId':_0xaf6609,'pivotTableId':_0xa6dcc4,'params':{'type':_0x56b655[_0x583001(0x323)],'addPivotField':{'dataFieldId':_0x5ca284,'fieldArea':_0x45ae13,'index':_0x50df8e}}}))[_0x583001(0x2fa)][_0x583001(0xbb)];if(!_0x160e6b)return!0x1;const {view:_0x11fd42,changesets:_0x20c5ef,isEmpty:_0x3ed464,pivotTableConfig:_0x2fc9fa,shouldBeAddedGroupJSON:_0x164510}=_0x160e6b,_0x15be0a=_0x2fc9fa['targetCellInfo'],_0x12bccc=new _0x24a6f0[(_0x583001(0x25b))]();_0x12bccc[_0x583001(0xd2)](_0x11fd42);const _0x1b422c={'cellInfo':_0x15be0a,'view':_0x12bccc,'isEmpty':_0x3ed464};if(!await _0x40ea7c[_0x583001(0x33b)](_0x89a8ec['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x1b422c))return!0x1;const _0x3f7146=_0x34a7f9(_0x40ea7c,_0x12bccc,_0x15be0a,_0x3ed464),_0x13bcdd=_0x2debb2(_0x40ea7c,_0x1b422c),{undos:_0x2126f2,redos:_0x23e213}=_0x122330(_0x214be0,{'pivotTableId':_0xa6dcc4,'unitId':_0x3b035d,'subUnitId':_0xaf6609},_0x20c5ef);return _0x164510&&(_0x23e213[_0x583001(0x318)]({'id':_0x50e961['id'],'params':{'pivotTableId':_0xa6dcc4,'fieldJSON':_0x164510,'unitId':_0x3b035d,'subUnitId':_0xaf6609}}),_0x2126f2[_0x583001(0x182)]({'id':_0x3d58af['id'],'params':{'pivotTableId':_0xa6dcc4,'dataFieldId':_0x164510['id'],'unitId':_0x3b035d,'subUnitId':_0xaf6609}})),_0x3f1699[_0x583001(0x22f)]([..._0x3f7146[_0x583001(0x245)],..._0x13bcdd[_0x583001(0x245)],..._0x23e213],_0x214be0),_0x17b973[_0x583001(0x368)]({'unitID':_0x3b035d,'redoMutations':[..._0x3f7146[_0x583001(0x245)],..._0x13bcdd[_0x583001(0x245)],..._0x23e213],'undoMutations':[..._0x3f7146[_0x583001(0x176)],..._0x13bcdd[_0x583001(0x176)],..._0x2126f2]}),!0x0;}},_0x2355f0={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x3a6),async 'handler'(_0x1e82f8,_0x433355){const _0x24f173=_0x43ed60;if(!_0x433355)return!0x1;const {sourceDataInfo:_0x27cf40,pivotTableConfig:_0x376e2f}=_0x433355;if(!_0x27cf40||!_0x376e2f)return!0x1;const {unitId:_0x6ac95b,subUnitId:_0x39e8b2,range:_0xde43b0}=_0x27cf40,_0x2aff3d=_0x1e82f8['get'](_0x3f1699[_0x24f173(0x1b9)]),_0x1cadbf=_0x1e82f8[_0x24f173(0x33b)](_0x89a8ec[_0x24f173(0x392)]),_0x6c0be8=_0x1e82f8[_0x24f173(0x33b)](_0x3f1699[_0x24f173(0x27e)]),_0x5c12ab=_0x1e82f8[_0x24f173(0x33b)](_0x3f1699[_0x24f173(0x163)]),_0x1c7100=_0x2aff3d[_0x24f173(0x35a)](_0x6ac95b);if(!_0x1c7100)return!0x1;const _0x5d1a2b=_0x1c7100[_0x24f173(0x11d)](_0x39e8b2);if(!_0x5d1a2b)return!0x1;const _0x489dd5=_0x24a6f0[_0x24f173(0x1c5)](0x8),_0x5e082b=_0xde43b0||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5d1a2b[_0x24f173(0x2b0)]()-0x1,'endColumn':_0x5d1a2b[_0x24f173(0x179)]()-0x1};_0x5e082b[_0x24f173(0x215)]=_0x3f1699['RANGE_TYPE'][_0x24f173(0x21a)];const _0x121a7b=(await _0x1cadbf['getPivotDisplayConfig']({'unitId':_0x6ac95b,'subUnitId':_0x39e8b2,'pivotTableId':_0x489dd5,'params':{'type':_0x56b655[_0x24f173(0x11e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x6ac95b,'sheetName':_0x5d1a2b[_0x24f173(0xbe)](),'subUnitId':_0x39e8b2,'range':_0x5e082b},'pivotTableId':_0x489dd5,'pivotTableIndexConfig':_0x376e2f}}}))[_0x24f173(0x2fa)][_0x24f173(0x2ec)];if(!_0x121a7b)return!0x1;const {isEmpty:_0x5321f1,fieldsConfig:_0x1e1aee,collectionConfig:_0x3fdf5f,changesets:_0x3a2f0e}=_0x121a7b,_0x23d179=_0x1c7100['getSheets']()[_0x24f173(0x27d)],_0x57cffd=_0x3f1699[_0x24f173(0x33e)]({'rowCount':_0x5d1a2b[_0x24f173(0x2b0)]()-0x1,'columnCount':_0x5d1a2b[_0x24f173(0x179)]()-0x1});_0x57cffd['id']=_0x3f1699['generateRandomId'](),_0x57cffd[_0x24f173(0x112)]=_0x1c7100[_0x24f173(0x28b)](''+_0x6c0be8['t']('sheets.tabs.sheet'));const _0xdb14a8={'index':_0x23d179,'sheet':_0x57cffd,'unitId':_0x6ac95b},{redos:_0x2dbafd}=_0x122330(_0x5c12ab,{'pivotTableId':_0x489dd5,'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id']},_0x3a2f0e),_0x27dac9=[{'id':_0x1c7b09[_0x24f173(0x237)]['id'],'params':_0xdb14a8},{'id':_0x158817['id'],'params':{'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id'],'pivotTableId':_0x489dd5,'pivotTableConfig':{'isEmpty':_0x5321f1,'fieldsConfig':_0x1e1aee,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id']},'sourceRangeInfo':{'subUnitId':_0x39e8b2,'unitId':_0x6ac95b,'range':_0x5e082b,'sheetName':_0x5d1a2b[_0x24f173(0xbe)]()}},'collectionConfig':_0x3fdf5f}},..._0x2dbafd];return _0x3f1699['sequenceExecute'](_0x27dac9,_0x5c12ab),!0x0;}},_0xa736a1={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0x1eb),async 'handler'(_0x6c9a7,_0x3641dd){const _0xe40016=_0x43ed60;var _0x3db6ab,_0x1f17ac;const _0x2a1f07=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x163)]),_0x104ac6=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x1b9)]),_0xbbaeba=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x27e)]),_0x15de56=_0x6c9a7[_0xe40016(0x33b)](_0x89a8ec['SheetsPivotRPCService']),_0x2c3dfd=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x2a9)]),_0x32896b=_0x6c9a7[_0xe40016(0x33b)](_0x89a8ec['SheetsPivotTableConfigModel']),_0x1699e8=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x23e)]);if(!_0x3641dd)return!0x1;const {pivotTableConfig:_0x2ec458,positionType:_0x158768}=_0x3641dd,{targetCellInfo:_0xfe3b5,sourceRangeInfo:_0x254084}=_0x2ec458,{unitId:_0x533fce,subUnitId:_0xa99d07}=_0xfe3b5,_0x5c9102=_0x104ac6['getUnit'](_0x533fce);if(!_0x5c9102)return!0x1;let _0x763a1=0x0;_0x5c9102[_0xe40016(0x2e6)]()['forEach'](_0x2eaf61=>{const _0x559447=_0xe40016;var _0x530231,_0x28968f;_0x763a1+=(_0x28968f=(_0x530231=_0x32896b[_0x559447(0x39b)](_0x533fce,_0x2eaf61[_0x559447(0x344)]()))==null?void 0x0:_0x530231[_0x559447(0x1e8)])!=null?_0x28968f:0x0;});const _0x25fdae=(_0x3db6ab=_0x1699e8[_0xe40016(0x30f)](_0x48414d[_0xe40016(0x228)]))!=null?_0x3db6ab:{},{ls:_0x1ea2b6,pbk:_0x40e257}=_0x25fdae;if(!_0x35e5f9(_0x1ea2b6,_0x40e257))return!0x1;const _0x1201ad=_0xa1005d(_0x53ba46,_0x1ea2b6,_0x40e257)[_0xe40016(0x28f)];if(_0x763a1>=_0x1201ad)return!0x1;const _0x3215d9=_0x3641dd['pivotTableId']||_0x24a6f0['generateHexNumber'](0x8),_0x239b48=(await _0x15de56[_0xe40016(0x20b)]({'unitId':_0x533fce,'subUnitId':_0xa99d07,'pivotTableId':_0x3215d9,'params':{'type':_0x56b655[_0xe40016(0x3a5)],'addPivotTable':{'sourceRangeInfo':_0x254084,'pivotTableId':_0x3215d9}}}))[_0xe40016(0x2fa)][_0xe40016(0x2b2)];if(!_0x239b48)return!0x1;const {view:_0x228c6f,isEmpty:_0x4037eb,fieldsConfig:_0x33d448,collectionConfig:_0x2d1307}=_0x239b48,_0x46907d=[],_0x1a53a6=[];if(_0x158768===_0x581236[_0xe40016(0x1a5)]){const _0x4a81f4=_0x5c9102[_0xe40016(0x2e6)]()[_0xe40016(0x27d)],_0x4d6724=_0x3f1699[_0xe40016(0x33e)]({});_0x4d6724['id']=_0x2ec458[_0xe40016(0x3a4)]['subUnitId'],_0x4d6724[_0xe40016(0x112)]=(_0x1f17ac=_0x2ec458[_0xe40016(0x3a4)]['sheetName'])!=null?_0x1f17ac:_0x5c9102['generateNewSheetName'](''+_0xbbaeba['t'](_0xe40016(0x2be)));const _0x462715={'index':_0x4a81f4,'sheet':_0x4d6724,'unitId':_0x533fce},_0x10131a=_0x1c7b09['InsertSheetUndoMutationFactory'](_0x6c9a7,_0x462715);_0x46907d[_0xe40016(0x182)]({'id':_0x1c7b09[_0xe40016(0x15b)]['id'],'params':_0x10131a}),_0x1a53a6[_0xe40016(0x182)]({'id':_0x1c7b09[_0xe40016(0x10b)]['id'],'params':_0x462715});}else{if(!_0x5c9102['getSheetBySheetId'](_0xa99d07))return!0x1;const _0xd79dd1=_0x34a7f9(_0x6c9a7,new _0x24a6f0[(_0xe40016(0x25b))](),_0xfe3b5,!0x0);_0x1a53a6[_0xe40016(0x182)](..._0xd79dd1[_0xe40016(0x245)]),_0x46907d[_0xe40016(0x182)](..._0xd79dd1[_0xe40016(0x176)]);const _0x35875d={'cellInfo':_0xfe3b5,'view':_0x228c6f,'isEmpty':_0x4037eb};if(!await _0x6c9a7['get'](_0x89a8ec[_0xe40016(0xba)])[_0xe40016(0x159)][_0xe40016(0x300)](_0xb533ef)(!0x0,_0x35875d))return!0x1;const _0x5498c1=_0x2debb2(_0x6c9a7,_0x35875d);_0x1a53a6[_0xe40016(0x182)](..._0x5498c1[_0xe40016(0x245)]),_0x46907d[_0xe40016(0x182)](..._0x5498c1[_0xe40016(0x176)]);}return _0x1a53a6[_0xe40016(0x182)]({'id':_0x158817['id'],'params':{'unitId':_0xfe3b5[_0xe40016(0x210)],'subUnitId':_0xfe3b5[_0xe40016(0x15a)],'pivotTableId':_0x3215d9,'pivotTableConfig':{'targetCellInfo':_0xfe3b5,'sourceRangeInfo':_0x254084,'fieldsConfig':_0x33d448},'collectionConfig':_0x2d1307}}),_0x46907d['unshift']({'id':_0x3fa252['id'],'params':{'unitId':_0x533fce,'subUnitId':_0xa99d07,'pivotTableId':_0x3215d9}}),_0x3f1699[_0xe40016(0x22f)](_0x1a53a6,_0x2a1f07)&&_0x2c3dfd[_0xe40016(0x368)]({'unitID':_0x533fce,'undoMutations':_0x46907d,'redoMutations':_0x1a53a6}),!0x0;}},_0x1e7f27={'type':_0x3f1699['CommandType'][_0x43ed60(0xb4)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x3611d1,_0x443472){const _0x65088=_0x43ed60;if(!_0x443472)return!0x1;const _0x105514=_0x3611d1[_0x65088(0x33b)](_0x3f1699[_0x65088(0x163)]),_0x4fd828=_0x3611d1['get'](_0x89a8ec[_0x65088(0x392)]),_0x3134b4=_0x3611d1[_0x65088(0x33b)](_0x3f1699[_0x65088(0x2a9)]),{pivotTableId:_0x3b2c77,fieldId:_0x3b2731,area:_0x352dfa,index:_0x24ec64,unitId:_0x2e7502,subUnitId:_0x1d9359}=_0x443472,_0x1c2576=(await _0x4fd828['getPivotDisplayConfig']({'unitId':_0x2e7502,'subUnitId':_0x1d9359,'pivotTableId':_0x3b2c77,'params':{'type':_0x56b655[_0x65088(0x26d)],'movePivotField':{'fieldId':_0x3b2731,'area':_0x352dfa,'index':_0x24ec64}}}))[_0x65088(0x2fa)][_0x65088(0x170)];if(!_0x1c2576)return!0x1;const {changesets:_0x22b507,view:_0x527666,isEmpty:_0x5a4d12,pivotTableConfig:_0x252aef}=_0x1c2576,_0x283e14=_0x252aef['targetCellInfo'],_0x394447=new _0x24a6f0[(_0x65088(0x25b))]();_0x394447['formJSON'](_0x527666);const _0x163431={'cellInfo':_0x283e14,'view':_0x394447,'isEmpty':_0x5a4d12};if(!await _0x3611d1[_0x65088(0x33b)](_0x89a8ec[_0x65088(0xba)])[_0x65088(0x159)][_0x65088(0x300)](_0xb533ef)(!0x0,_0x163431))return!0x1;const _0x1f240f=_0x34a7f9(_0x3611d1,_0x394447,_0x283e14,_0x5a4d12),_0x48bb82=_0x2debb2(_0x3611d1,_0x163431),{redos:_0x547e39,undos:_0x4f0ee9}=_0x122330(_0x105514,{'pivotTableId':_0x3b2c77,'unitId':_0x2e7502,'subUnitId':_0x1d9359},_0x22b507);return _0x3f1699[_0x65088(0x22f)]([..._0x1f240f[_0x65088(0x245)],..._0x48bb82[_0x65088(0x245)],..._0x547e39],_0x105514),_0x3134b4[_0x65088(0x368)]({'unitID':_0x2e7502,'redoMutations':[..._0x1f240f[_0x65088(0x245)],..._0x48bb82[_0x65088(0x245)],..._0x547e39],'undoMutations':[..._0x1f240f[_0x65088(0x176)],..._0x48bb82['undos'],..._0x4f0ee9]}),!0x0;}},_0x55ad53={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0x236),async 'handler'(_0x43511f,_0xe0d45a){const _0x2af15d=_0x43ed60;var _0x437c18;if(!_0xe0d45a)return!0x1;const _0x5c0df1=_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x1b9)]),_0x3b15b9=_0x1c7b09['getSheetCommandTarget'](_0x5c0df1);if(!_0x3b15b9)return!0x1;const {unitId:_0x5c6ed6,subUnitId:_0x394534,workbook:_0xb902c8}=_0x3b15b9,{row:_0x2457b6,col:_0x1fa6f2}=_0xe0d45a,_0x49a51c=_0x43511f[_0x2af15d(0x33b)](_0x89a8ec[_0x2af15d(0x1ef)]),_0x16449a=_0x49a51c['getPivotTableIdByCell'](_0x5c6ed6,_0x394534,_0x2457b6,_0x1fa6f2);if(!_0x16449a)return!0x1;const _0x49d85d=(_0x437c18=_0x49a51c['getPivotItemRenderInfoCache'](_0x5c6ed6,_0x394534,_0x16449a))==null?void 0x0:_0x437c18['areaInfo'];if(!_0x49d85d)return!0x1;const _0x3b07fb=_0x43511f['get'](_0x89a8ec[_0x2af15d(0xb3)])[_0x2af15d(0x275)](_0x5c6ed6,_0x394534,_0x16449a);if(!_0x3b07fb)return!0x1;const {rowInfo:_0x4576b8,colInfo:_0x25a1e7}=_0x49d85d,_0xbbe8ec=_0x4576b8[_0x2457b6][_0x2af15d(0x1a8)],_0x2238ac=_0x25a1e7[_0x1fa6f2][_0x2af15d(0x1a8)],_0x45e2cf=_0x4576b8[_0x2457b6][_0x2af15d(0x32c)],_0x143b6f=_0x25a1e7[_0x1fa6f2]['level'],_0x13bcc0=_0xbbe8ec[_0x2af15d(0x1b0)](_0x2238ac),_0x62bea8=_0x3b07fb['fieldsConfig'][_0x2af15d(0x2d5)][_0x2af15d(0x10d)](0x0,_0x45e2cf),_0x512d5e=_0x3b07fb[_0x2af15d(0x1d8)][_0x2af15d(0x2d9)]['slice'](0x0,_0x143b6f),_0x1663fc=_0x62bea8['concat'](_0x512d5e),_0x477cac=_0x13bcc0[_0x2af15d(0xca)]((_0xb5b65a,_0x2f41c1)=>[_0xb5b65a,_0x1663fc[_0x2f41c1]]),_0x3c0b8e=(await _0x43511f['get'](_0x89a8ec[_0x2af15d(0x392)])[_0x2af15d(0x20b)]({'unitId':_0x5c6ed6,'subUnitId':_0x394534,'pivotTableId':_0x16449a,'params':{'type':_0x56b655[_0x2af15d(0x1f7)],'drillDown':{'tuple':_0x477cac}}}))[_0x2af15d(0x2fa)][_0x2af15d(0x1e1)];if(!_0x3c0b8e)return!0x1;const {indexes:_0x262721,range:_0x1dbe38,sourceUnitId:_0x35c345,sourceSubUnitId:_0x48f1fa,formatMap:_0x4f2668}=_0x3c0b8e,{startRow:_0x3dda92,endRow:_0x1dee92,startColumn:_0x16365b,endColumn:_0x5ddb51}=_0x1dbe38,_0x4f17a2=new _0x3f1699[(_0x2af15d(0x2cb))](),_0x5a3715=_0x1dee92-_0x3dda92,_0x39c619=_0x5ddb51-_0x16365b,_0x48c329={},_0x2943e3=_0x1c7b09[_0x2af15d(0x11c)](_0x5c0df1,{'unitId':_0x35c345,'subUnitId':_0x48f1fa});if(!_0x2943e3)return!0x1;const _0x555729=_0x4939a9[_0x2af15d(0x114)],_0x14ecbc=_0x4939a9[_0x2af15d(0x113)],_0x54c8dc=_0x4939a9[_0x2af15d(0x113)],_0x281c55=_0xb902c8['getStyles']()[_0x2af15d(0x297)](_0x555729),_0x35a58d=_0xb902c8['getStyles']()[_0x2af15d(0x297)](_0x14ecbc),_0x589948=_0xb902c8[_0x2af15d(0x2ce)]()[_0x2af15d(0x297)](_0x54c8dc),{worksheet:_0x307871}=_0x2943e3;let _0x162a38=0x0;const _0x513073=0x1;_0x262721[_0x2af15d(0x2f8)](_0x1c34ca=>{const _0x144a9b=_0x2af15d;for(let _0x367007=0x0;_0x367007<=_0x5ddb51-_0x16365b;_0x367007++)_0x4f17a2['setValue'](_0x162a38,_0x367007,_0x307871[_0x144a9b(0x22d)](_0x1c34ca+_0x1dbe38[_0x144a9b(0x13a)]+_0x513073,_0x367007));_0x162a38++;});for(let _0x561c9f=_0x16365b;_0x561c9f<=_0x5ddb51;_0x561c9f++){const _0x4000d3=_0x307871[_0x2af15d(0x22d)](_0x3dda92,_0x561c9f);_0x48c329[_0x3dda92]||(_0x48c329[_0x3dda92]={}),_0x48c329[_0x3dda92][_0x561c9f]={..._0x4000d3,'s':_0x281c55};}let _0xfd6420=0x1;const _0x207d61={},_0x3c9794={};_0x4f17a2[_0x2af15d(0x194)]((_0x49fe12,_0x18f851)=>{_0x18f851['forEach'](_0x3b5546=>{const _0x30d9a8=_0xc6ae,_0x1b6b9c=_0x4f17a2[_0x30d9a8(0x381)](_0x49fe12,_0x3b5546);if(_0x48c329[_0xfd6420]||(_0x48c329[_0xfd6420]={}),_0x48c329[_0xfd6420][_0x3b5546]={..._0x1b6b9c,'s':_0xfd6420%0x2===0x0?_0x589948:_0x35a58d},_0x4f2668[_0x3b5546]&&_0x49fe12>=0x0){const _0x334d62=_0xfd6420%0x2===0x0;let _0x35a808=_0x334d62?_0x3c9794[_0x3b5546]:_0x207d61[_0x3b5546];_0x35a808||(_0x35a808=_0xb902c8[_0x30d9a8(0x2ce)]()[_0x30d9a8(0x297)]({..._0x334d62?_0x54c8dc:_0x14ecbc,'n':{'pattern':_0x4f2668[_0x3b5546]}}),_0x334d62?_0x3c9794[_0x3b5546]=_0x35a808:_0x207d61[_0x3b5546]=_0x35a808),_0x48c329[_0xfd6420][_0x3b5546]['s']=_0x35a808;}}),_0xfd6420++;});const _0x17b0e6=new _0x3f1699[(_0x2af15d(0x2cb))](_0x48c329),_0x47d7ca={};_0x17b0e6[_0x2af15d(0x36d)]((_0x2945d8,_0x434a56,_0x44ef1c)=>{_0x47d7ca[_0x2945d8]||(_0x47d7ca[_0x2945d8]={}),_0x47d7ca[_0x2945d8][_0x434a56]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5da2e4=[],_0x5c3759=[],_0x5efee7=_0xb902c8['getSheets']()[_0x2af15d(0x27d)],_0x16ba87=_0x3f1699[_0x2af15d(0x33e)]({'rowCount':Math[_0x2af15d(0x144)](_0x3f1699[_0x2af15d(0x111)],_0x5a3715+0xa),'columnCount':Math[_0x2af15d(0x144)](_0x3f1699[_0x2af15d(0x108)],_0x39c619+0x5)}),_0x477415=_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x27e)]);_0x16ba87['id']=_0x3f1699[_0x2af15d(0x365)](),_0x16ba87[_0x2af15d(0x112)]=_0xb902c8[_0x2af15d(0x28b)](''+_0x477415['t'](_0x2af15d(0x2be)));const _0x137429={'index':_0x5efee7,'sheet':_0x16ba87,'unitId':_0x5c6ed6},_0x152c88=_0x1c7b09[_0x2af15d(0x1fa)](_0x43511f,_0x137429);_0x5c3759[_0x2af15d(0x182)]({'id':_0x1c7b09[_0x2af15d(0x10b)]['id'],'params':_0x137429}),_0x5da2e4['push']({'id':_0x1c7b09[_0x2af15d(0x15b)]['id'],'params':_0x152c88}),_0x5c3759[_0x2af15d(0x182)]({'id':_0x1c7b09[_0x2af15d(0x2f0)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'cellValue':_0x48c329}}),_0x5da2e4[_0x2af15d(0x318)]({'id':_0x1c7b09[_0x2af15d(0x2f0)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'cellValue':_0x47d7ca}});const _0x2ae586={'startRow':0x0,'startColumn':0x0,'endRow':_0xfd6420-0x1,'endColumn':_0x5ddb51};_0x5c3759[_0x2af15d(0x182)]({'id':_0x10853a['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'range':_0x2ae586}}),_0x5da2e4[_0x2af15d(0x318)]({'id':_0x10853a[_0x2af15d(0x38c)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id']}});const _0x368855=_0x43511f['get'](_0x3f1699[_0x2af15d(0x163)]);return _0x3f1699['sequenceExecute'](_0x5c3759,_0x368855)&&_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x2a9)])[_0x2af15d(0x368)]({'unitID':_0x5c6ed6,'undoMutations':_0x5da2e4,'redoMutations':_0x5c3759}),!0x0;}},_0x59be0b={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0xee),async 'handler'(_0x1bcae5,_0x4e4009){const _0x17da98=_0x43ed60;if(!_0x4e4009)return!0x1;const _0x5e4d39=_0x1bcae5[_0x17da98(0x33b)](_0x3f1699[_0x17da98(0x163)]),_0x3ebb0c=_0x1bcae5[_0x17da98(0x33b)](_0x89a8ec[_0x17da98(0x392)]),_0x497ab0=_0x1bcae5['get'](_0x3f1699['IUndoRedoService']),{pivotTableId:_0x36bce5,fieldIds:_0x27b26a,unitId:_0xbc067a,subUnitId:_0x1ced77}=_0x4e4009,_0x59b7b4=(await _0x3ebb0c['getPivotDisplayConfig']({'unitId':_0xbc067a,'subUnitId':_0x1ced77,'pivotTableId':_0x36bce5,'params':{'type':_0x56b655[_0x17da98(0x2ed)],'removePivotField':{'fieldIds':_0x27b26a}}}))[_0x17da98(0x2fa)][_0x17da98(0xa9)];if(!_0x59b7b4)return!0x1;const {view:_0x475715,changesets:_0x2d74a9,isEmpty:_0x4083bd,pivotTableConfig:_0x5ebbc9}=_0x59b7b4,_0x3017dd=_0x5ebbc9['targetCellInfo'],_0x36734b=new _0x24a6f0['PivotView']();_0x36734b[_0x17da98(0xd2)](_0x475715);const _0x5ef79a={'cellInfo':_0x3017dd,'view':_0x36734b,'isEmpty':_0x4083bd};if(!await _0x1bcae5[_0x17da98(0x33b)](_0x89a8ec[_0x17da98(0xba)])[_0x17da98(0x159)][_0x17da98(0x300)](_0xb533ef)(!0x0,_0x5ef79a))return!0x1;const _0x16b69e=_0x34a7f9(_0x1bcae5,_0x36734b,_0x3017dd,_0x4083bd),_0x40a641=_0x2debb2(_0x1bcae5,_0x5ef79a),{redos:_0x5d29b1,undos:_0x4c91be}=_0x122330(_0x5e4d39,{'pivotTableId':_0x36bce5,'unitId':_0xbc067a,'subUnitId':_0x1ced77},_0x2d74a9);return _0x3f1699['sequenceExecute']([..._0x16b69e[_0x17da98(0x245)],..._0x40a641[_0x17da98(0x245)],..._0x5d29b1],_0x5e4d39),_0x497ab0['pushUndoRedo']({'unitID':_0xbc067a,'redoMutations':[..._0x16b69e[_0x17da98(0x245)],..._0x40a641[_0x17da98(0x245)],..._0x5d29b1],'undoMutations':[..._0x16b69e[_0x17da98(0x176)],..._0x40a641[_0x17da98(0x176)],..._0x4c91be]}),!0x0;}},_0x1e7c51={'type':_0x3f1699['CommandType'][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x4a0b8d,_0x5ccc3a){const _0x280331=_0x43ed60;var _0x2e052c;const _0x508443=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699['ICommandService']),_0x5b30ab=_0x4a0b8d['get'](_0x89a8ec[_0x280331(0x392)]),_0xa56cc9=_0x4a0b8d['get'](_0x89a8ec['SheetsPivotTableAdaptorModel']),_0x43c306=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699['IUniverInstanceService']),_0x28b6f5=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699[_0x280331(0x2a9)]);if(!_0x5ccc3a)return!0x1;const {unitId:_0x25274c,subUnitId:_0x4547dc,row:_0x3cf38a,col:_0x242be7,collapse:_0x3eabdc}=_0x5ccc3a,_0x3e203e=_0x43c306['getUnit'](_0x25274c);if(!_0x3e203e||!_0x3e203e[_0x280331(0x11d)](_0x4547dc))return!0x1;const _0x42ed1e=_0xa56cc9['getPivotTableIdByCell'](_0x25274c,_0x4547dc,_0x3cf38a,_0x242be7);if(!_0x42ed1e)return!0x1;const _0x39a052=_0xa56cc9[_0x280331(0x2e4)](_0x25274c,_0x4547dc,_0x42ed1e);if(!_0x39a052)return!0x1;const _0x10504f=_0x3f1699[_0x280331(0x240)](_0x3cf38a,_0x242be7),{rangesInfo:_0x4114ea,areaInfo:_0xcb6e4e,headerMap:_0x35fa38}=_0x39a052;if(!_0x4114ea||!_0xcb6e4e||!_0x35fa38)return!0x1;const _0x5473fe=Object[_0x280331(0x375)](_0x4114ea)[_0x280331(0xfb)](_0x3c893a=>_0x4114ea[_0x3c893a][_0x280331(0x35f)](_0xb8f87=>_0x3f1699[_0x280331(0x36b)]['contains'](_0xb8f87,_0x10504f)));let _0x9ddba1;_0x5473fe===_0x280331(0xeb)?_0x9ddba1=_0x35fa38[_0x280331(0x29b)][_0x242be7]:_0x5473fe===_0x280331(0xd8)&&(_0x9ddba1=_0x35fa38[_0x280331(0x241)][_0x3cf38a]);const _0x3cddc9=_0x9ddba1==null?void 0x0:_0x9ddba1['tableFieldId'],_0x51965f=(_0x2e052c=_0xa56cc9[_0x280331(0x224)](_0x25274c,_0x4547dc,_0x3cf38a,_0x242be7))==null?void 0x0:_0x2e052c['v'];if(_0x51965f==null||!_0x42ed1e||!_0x3cddc9)return!0x1;const _0x216ef3=await _0x5b30ab[_0x280331(0x20b)]({'unitId':_0x25274c,'subUnitId':_0x4547dc,'pivotTableId':_0x42ed1e,'params':{'type':_0x56b655['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x3cddc9,'collapse':_0x3eabdc,'item':_0x51965f}}}),_0x5ef1c8=_0x216ef3==null?void 0x0:_0x216ef3[_0x280331(0x2fa)][_0x280331(0x2d4)];if(!_0x5ef1c8)return!0x1;const {view:_0x2bdfd4,pivotTableConfig:_0x303af9,isEmpty:_0x38c73,changesets:_0x118f6e}=_0x5ef1c8,_0x470ba7=new _0x24a6f0[(_0x280331(0x25b))]();_0x470ba7[_0x280331(0xd2)](_0x2bdfd4);const _0x387cfc=_0x303af9[_0x280331(0x3a4)],_0x1e6106={'cellInfo':_0x387cfc,'view':_0x470ba7,'isEmpty':_0x38c73};if(!await _0x4a0b8d[_0x280331(0x33b)](_0x89a8ec['SheetsPivotTableService'])[_0x280331(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x1e6106))return!0x1;const _0x14266c=_0x34a7f9(_0x4a0b8d,_0x470ba7,_0x387cfc,_0x38c73),_0x5a2c78=_0x2debb2(_0x4a0b8d,_0x1e6106),{redos:_0x7bb1db,undos:_0x1cab71}=_0x122330(_0x508443,{'pivotTableId':_0x42ed1e,'unitId':_0x25274c,'subUnitId':_0x4547dc},_0x118f6e);return _0x3f1699[_0x280331(0x22f)]([..._0x14266c['redos'],..._0x5a2c78[_0x280331(0x245)],..._0x7bb1db],_0x508443),_0x28b6f5[_0x280331(0x368)]({'unitID':_0x25274c,'redoMutations':[..._0x14266c[_0x280331(0x245)],..._0x5a2c78[_0x280331(0x245)],..._0x7bb1db],'undoMutations':[..._0x14266c[_0x280331(0x176)],..._0x5a2c78[_0x280331(0x176)],..._0x1cab71]}),!0x0;}},_0x1cf9cd={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x1db),async 'handler'(_0xbfb36d,_0x4ed350){const _0x45fcd7=_0x43ed60;if(!_0x4ed350)return!0x1;const _0x1f6d11=_0xbfb36d[_0x45fcd7(0x33b)](_0x3f1699['ICommandService']),{pivotTableId:_0x1f80bd,tableFieldId:_0x234a29,items:_0x43ae92,unitId:_0x3e701a,subUnitId:_0x316ab3,isAll:_0x1c6cab}=_0x4ed350,_0x513983=_0xbfb36d[_0x45fcd7(0x33b)](_0x89a8ec[_0x45fcd7(0x392)]),_0x3f7c35=_0xbfb36d[_0x45fcd7(0x33b)](_0x3f1699['IUndoRedoService']),_0x127c9d=(await _0x513983['getPivotDisplayConfig']({'unitId':_0x3e701a,'subUnitId':_0x316ab3,'pivotTableId':_0x1f80bd,'params':{'type':_0x56b655[_0x45fcd7(0x1a1)],'setPivotFilter':{'tableFieldId':_0x234a29,'items':_0x43ae92,'isAll':_0x1c6cab}}}))['result'][_0x45fcd7(0x31d)];if(!_0x127c9d)return!0x1;const {changesets:_0x4cff45,pivotTableConfig:_0x3461fb,isEmpty:_0xca9196,view:_0x44539b}=_0x127c9d,_0x4efc7e=_0x3461fb[_0x45fcd7(0x3a4)],_0x221d04=new _0x24a6f0[(_0x45fcd7(0x25b))]();_0x221d04[_0x45fcd7(0xd2)](_0x44539b);const _0x22c266={'cellInfo':_0x4efc7e,'view':_0x221d04,'isEmpty':_0xca9196};if(!await _0xbfb36d['get'](_0x89a8ec[_0x45fcd7(0xba)])[_0x45fcd7(0x159)][_0x45fcd7(0x300)](_0xb533ef)(!0x0,_0x22c266))return!0x1;const _0x5d85b0=_0x34a7f9(_0xbfb36d,_0x221d04,_0x4efc7e,_0xca9196),_0x47cdd8=_0x2debb2(_0xbfb36d,_0x22c266),{undos:_0x116f62,redos:_0x451d76}=_0x122330(_0x1f6d11,{'pivotTableId':_0x1f80bd,'unitId':_0x3e701a,'subUnitId':_0x316ab3},_0x4cff45);return _0x3f1699[_0x45fcd7(0x22f)]([..._0x5d85b0[_0x45fcd7(0x245)],..._0x47cdd8['redos'],..._0x451d76],_0x1f6d11),_0x3f7c35['pushUndoRedo']({'unitID':_0x3e701a,'redoMutations':[..._0x5d85b0['redos'],..._0x47cdd8['redos'],..._0x451d76],'undoMutations':[..._0x5d85b0[_0x45fcd7(0x176)],..._0x47cdd8[_0x45fcd7(0x176)],..._0x116f62]}),!0x0;}},_0x4df349={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x31e955,_0x4f18bd){const _0x45dc5e=_0x43ed60;if(!_0x4f18bd)return!0x1;const _0xa96dd=_0x31e955['get'](_0x3f1699[_0x45dc5e(0x163)]),_0x4a9e49=_0x31e955[_0x45dc5e(0x33b)](_0x3f1699[_0x45dc5e(0x2a9)]),_0x5bfe0e=_0x31e955[_0x45dc5e(0x33b)](_0x89a8ec[_0x45dc5e(0x392)]),{info:_0x434fb4,tableFieldId:_0x2c6ee1,pivotTableId:_0x557295,unitId:_0x41f7ba,subUnitId:_0x1dcab3}=_0x4f18bd,_0x3f53c9=(await _0x5bfe0e[_0x45dc5e(0x20b)]({'unitId':_0x41f7ba,'subUnitId':_0x1dcab3,'pivotTableId':_0x557295,'params':{'type':_0x56b655[_0x45dc5e(0xcd)],'setPivotSort':{'tableFieldId':_0x2c6ee1,'info':_0x434fb4}}}))['result'][_0x45dc5e(0x3a7)];if(!_0x3f53c9)return!0x1;const {changesets:_0xdf2d6}=_0x3f53c9,{redos:_0x40c338,undos:_0x59e31f}=_0x122330(_0xa96dd,{'pivotTableId':_0x557295,'unitId':_0x41f7ba,'subUnitId':_0x1dcab3},_0xdf2d6);return _0x3f1699['sequenceExecute'](_0x40c338,_0xa96dd),_0x4a9e49['pushUndoRedo']({'unitID':_0x41f7ba,'redoMutations':_0x40c338,'undoMutations':_0x59e31f}),!0x0;}},_0x1d8ad2={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x276),async 'handler'(_0x3f32d0,_0x42b2f6){const _0x48230a=_0x43ed60;if(!_0x42b2f6)return!0x1;const _0x53ae5e=_0x3f32d0[_0x48230a(0x33b)](_0x3f1699[_0x48230a(0x163)]),_0x43218b=_0x3f32d0[_0x48230a(0x33b)](_0x3f1699[_0x48230a(0x2a9)]),_0x2f0091=_0x3f32d0['get'](_0x89a8ec[_0x48230a(0x392)]),{displayName:_0x7a03eb,subtotalType:_0x33ad2a,format:_0x2fb3c2,tableFieldId:_0x1769d1,pivotTableId:_0x51d286,unitId:_0x1ee6b7,subUnitId:_0x2f9336}=_0x42b2f6,_0x2a8106=(await _0x2f0091['getPivotDisplayConfig']({'unitId':_0x1ee6b7,'subUnitId':_0x2f9336,'pivotTableId':_0x51d286,'params':{'type':_0x56b655['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x1769d1,'displayName':_0x7a03eb,'subtotalType':_0x33ad2a,'format':_0x2fb3c2}}}))['result']['setPivotSetting'];if(!_0x2a8106)return!0x1;const {changesets:_0x25e534,view:_0xb61c9,pivotTableConfig:_0x1b405d,isEmpty:_0x365f4d}=_0x2a8106,_0x5a8eac=_0x1b405d[_0x48230a(0x3a4)],_0x35f15b=new _0x24a6f0[(_0x48230a(0x25b))]();_0x35f15b[_0x48230a(0xd2)](_0xb61c9);const _0x1fe061={'cellInfo':_0x5a8eac,'view':_0x35f15b,'isEmpty':_0x365f4d};if(!await _0x3f32d0[_0x48230a(0x33b)](_0x89a8ec[_0x48230a(0xba)])['asyncInterceptor'][_0x48230a(0x300)](_0xb533ef)(!0x0,_0x1fe061))return!0x1;const _0x3729c8=_0x34a7f9(_0x3f32d0,_0x35f15b,_0x5a8eac,_0x365f4d),_0xe2e27=_0x2debb2(_0x3f32d0,_0x1fe061),{undos:_0x563497,redos:_0x353cf0}=_0x122330(_0x53ae5e,{'pivotTableId':_0x51d286,'unitId':_0x1ee6b7,'subUnitId':_0x2f9336},_0x25e534);return _0x3f1699[_0x48230a(0x22f)]([..._0x3729c8[_0x48230a(0x245)],..._0xe2e27[_0x48230a(0x245)],..._0x353cf0],_0x53ae5e),_0x43218b[_0x48230a(0x368)]({'unitID':_0x1ee6b7,'redoMutations':[..._0x3729c8[_0x48230a(0x245)],..._0xe2e27[_0x48230a(0x245)],..._0x353cf0],'undoMutations':[..._0x3729c8[_0x48230a(0x176)],..._0xe2e27[_0x48230a(0x176)],..._0x563497]}),!0x0;}},_0x3c72f3={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x2aa),async 'handler'(_0xc54eda,_0x1309eb){const _0x4d860f=_0x43ed60,_0x8b10c5=_0xc54eda[_0x4d860f(0x33b)](_0x3f1699[_0x4d860f(0x163)]),_0x4563a0=_0xc54eda[_0x4d860f(0x33b)](_0x89a8ec[_0x4d860f(0x392)]),_0x2a0608=_0xc54eda[_0x4d860f(0x33b)](_0x3f1699['IUndoRedoService']);if(!_0x1309eb)return!0x1;const {token:_0x301366,dataRangeInfo:_0x537ea8,unitId:_0x380fb3,subUnitId:_0x33f31f}=_0x1309eb,_0x166dc4=[],_0x59983c=[],_0x1022b0=(await _0x4563a0[_0x4d860f(0x20b)]({'unitId':_0x380fb3,'subUnitId':_0x33f31f,'pivotTableId':_0x301366,'params':{'type':_0x56b655[_0x4d860f(0x32e)],'updatePivotSource':{'dataRangeInfo':_0x537ea8,'unitId':_0x380fb3,'subUnitId':_0x33f31f}}}))[_0x4d860f(0x2fa)]['updatePivotSource'];if(!_0x1022b0)return!0x1;const {changesets:_0xb9c765,deleteIds:_0x22edd0,collectionConfig:_0x51d634,oldCollectionConfig:_0x4cc491,view:_0x23a69f,isEmpty:_0x2957e4,pivotTableConfig:_0x3854ac}=_0x1022b0;_0x59983c[_0x4d860f(0x182)]({'id':_0x100c03['id'],'params':{'pivotTableId':_0x301366,'deleteIds':_0x22edd0,'collectionJSON':_0x51d634,'dataRangeInfo':_0x537ea8,'unitId':_0x380fb3,'subUnitId':_0x33f31f}}),_0x166dc4[_0x4d860f(0x318)]({'id':_0x100c03['id'],'params':{'pivotTableId':_0x301366,'deleteIds':[],'collectionJSON':_0x4cc491,'dataRangeInfo':_0x3854ac[_0x4d860f(0x1af)],'unitId':_0x380fb3,'subUnitId':_0x33f31f}});const _0x3f1525=_0x3854ac['targetCellInfo'],_0x3c9e4e=new _0x24a6f0['PivotView']();_0x3c9e4e[_0x4d860f(0xd2)](_0x23a69f);const _0x1ae832={'cellInfo':_0x3f1525,'view':_0x3c9e4e,'isEmpty':_0x2957e4};if(!await _0xc54eda[_0x4d860f(0x33b)](_0x89a8ec[_0x4d860f(0xba)])[_0x4d860f(0x159)][_0x4d860f(0x300)](_0xb533ef)(!0x0,_0x1ae832))return!0x1;const _0x81981d=_0x34a7f9(_0xc54eda,_0x3c9e4e,_0x3f1525,_0x2957e4),_0x40b9bd=_0x2debb2(_0xc54eda,_0x1ae832),{undos:_0x11294e,redos:_0x871029}=_0x122330(_0x8b10c5,{'pivotTableId':_0x301366,'unitId':_0x380fb3,'subUnitId':_0x33f31f},_0xb9c765);return _0x3f1699[_0x4d860f(0x22f)]([..._0x81981d[_0x4d860f(0x245)],..._0x40b9bd[_0x4d860f(0x245)],..._0x59983c,..._0x11294e],_0x8b10c5),_0x2a0608[_0x4d860f(0x368)]({'unitID':_0x380fb3,'redoMutations':[..._0x81981d[_0x4d860f(0x245)],..._0x40b9bd['redos'],..._0x59983c,..._0x11294e],'undoMutations':[..._0x81981d[_0x4d860f(0x176)],..._0x40b9bd[_0x4d860f(0x176)],..._0x166dc4,..._0x871029]}),!0x0;}},_0x3af9ef={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x3ff5a5,_0x2bce4d){const _0x5792bd=_0x43ed60;if(!_0x2bce4d)return!0x1;const _0x1b8b9d=_0x3ff5a5[_0x5792bd(0x33b)](_0x3f1699['ICommandService']),_0x557c5b=_0x3ff5a5[_0x5792bd(0x33b)](_0x89a8ec['SheetsPivotRPCService']),_0xcbb018=_0x3ff5a5[_0x5792bd(0x33b)](_0x3f1699[_0x5792bd(0x1b9)]),_0x15a43c=_0x3ff5a5['get'](_0x3f1699[_0x5792bd(0x2a9)]),{pivotTableId:_0x3d580f,position:_0x4b7fa6,index:_0x1030fb}=_0x2bce4d,_0x51fb23=_0x1c7b09[_0x5792bd(0x11c)](_0xcbb018);if(!_0x51fb23)return!0x1;const {unitId:_0x1cb5a7,subUnitId:_0x5b71ad}=_0x51fb23,_0x5bb2c4=(await _0x557c5b[_0x5792bd(0x20b)]({'unitId':_0x1cb5a7,'subUnitId':_0x5b71ad,'pivotTableId':_0x3d580f,'params':{'type':_0x56b655[_0x5792bd(0x14f)],'updateValuePosition':{'position':_0x4b7fa6,'index':_0x1030fb}}}))[_0x5792bd(0x2fa)]['updateValuePosition'];if(!_0x5bb2c4)return!0x1;const {changesets:_0x416238,view:_0x7c3773,isEmpty:_0x4ec175,pivotTableConfig:_0x19ab2d}=_0x5bb2c4,_0x543afe=_0x19ab2d['targetCellInfo'],_0x939562=new _0x24a6f0[(_0x5792bd(0x25b))]();_0x939562[_0x5792bd(0xd2)](_0x7c3773);const _0x5534e4=_0x3ff5a5[_0x5792bd(0x33b)](_0x89a8ec[_0x5792bd(0xba)]),_0x2390d1={'cellInfo':_0x543afe,'view':_0x939562,'isEmpty':_0x4ec175};if(!await _0x5534e4[_0x5792bd(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x2390d1))return!0x1;const _0x200373=_0x34a7f9(_0x3ff5a5,_0x939562,_0x543afe,_0x4ec175),_0x1e21f0=_0x2debb2(_0x3ff5a5,_0x2390d1),{undos:_0x10d84c,redos:_0x5a45fd}=_0x122330(_0x1b8b9d,{'pivotTableId':_0x3d580f,'unitId':_0x1cb5a7,'subUnitId':_0x5b71ad},_0x416238);return _0x3f1699['sequenceExecute']([..._0x200373[_0x5792bd(0x245)],..._0x1e21f0[_0x5792bd(0x245)],..._0x5a45fd],_0x1b8b9d),_0x15a43c[_0x5792bd(0x368)]({'unitID':_0x1cb5a7,'redoMutations':[..._0x200373[_0x5792bd(0x245)],..._0x1e21f0[_0x5792bd(0x245)],..._0x5a45fd],'undoMutations':[..._0x200373[_0x5792bd(0x176)],..._0x1e21f0['undos'],..._0x10d84c]}),!0x0;}},_0x30bfee={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.move-pivot-table','handler':(_0x149fca,_0x3955e8)=>{const _0xf693ef=_0x43ed60,_0x14b68c=_0x149fca[_0xf693ef(0x33b)](_0x3f1699[_0xf693ef(0x163)]),_0x20f877=_0x149fca[_0xf693ef(0x33b)](_0x3f1699['IUndoRedoService']),_0x3b0463=_0x149fca['get'](_0x89a8ec['SheetsPivotTableConfigModel']),_0x1001a4=_0x149fca[_0xf693ef(0x33b)](_0x3f1699['IUniverInstanceService']);if(!_0x3955e8)return!0x1;const _0x3d4164=_0x1c7b09[_0xf693ef(0x11c)](_0x1001a4);if(!_0x3d4164)return!0x1;const {unitId:_0x29ab51,subUnitId:_0x4bae02,workbook:_0x197671}=_0x3d4164,_0x11c803=_0x3b0463[_0xf693ef(0x275)](_0x3955e8['originTargetInfo'][_0xf693ef(0x210)],_0x3955e8['originTargetInfo'][_0xf693ef(0x15a)],_0x3955e8[_0xf693ef(0x281)]);if(!_0x11c803)return!0x1;const _0x53f993=_0x197671['getSheetBySheetId'](_0x3955e8[_0xf693ef(0x3a4)][_0xf693ef(0x15a)]);if(!_0x53f993)throw new Error(_0xf693ef(0x143));const _0x45c4b4=_0x53f993[_0xf693ef(0x2b0)](),_0x2bb8b6=_0x53f993[_0xf693ef(0x179)]();if(_0x3955e8['targetCellInfo'][_0xf693ef(0x329)]>_0x45c4b4||_0x3955e8['targetCellInfo'][_0xf693ef(0x14c)]>_0x2bb8b6)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x279237=[{'id':_0x118dc3['id'],'params':{'unitId':_0x29ab51,'subUnitId':_0x3955e8[_0xf693ef(0x3a4)]['subUnitId'],'pivotTableId':_0x3955e8[_0xf693ef(0x281)],'targetCellPosition':{'row':_0x3955e8['targetCellInfo'][_0xf693ef(0x329)],'col':_0x3955e8['targetCellInfo'][_0xf693ef(0x14c)]}}}],_0x2a59f4=[{'id':_0x118dc3['id'],'params':{'unitId':_0x29ab51,'subUnitId':_0x4bae02,'pivotTableId':_0x3955e8[_0xf693ef(0x281)],'targetCellPosition':{'row':_0x11c803[_0xf693ef(0x3a4)][_0xf693ef(0x329)],'col':_0x11c803[_0xf693ef(0x3a4)][_0xf693ef(0x14c)]}}}];return _0x3f1699[_0xf693ef(0x22f)](_0x279237,_0x14b68c)&&_0x20f877[_0xf693ef(0x368)]({'unitID':_0x29ab51,'undoMutations':_0x2a59f4,'redoMutations':_0x279237}),!0x0;}},_0x1cacdd={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x18f),async 'handler'(_0x4fbb26,_0x4240bb){const _0x32f7a2=_0x43ed60;if(!_0x4240bb)return!0x1;const _0x1ad1c0=_0x4fbb26[_0x32f7a2(0x33b)](_0x3f1699[_0x32f7a2(0x163)]),{pivotTableId:_0x9e7b1e,fieldId:_0x48d63a,valueFilterInfo:_0x30016c,unitId:_0x2389d8,subUnitId:_0x19f4c6}=_0x4240bb,_0x4ebfc2=_0x4fbb26[_0x32f7a2(0x33b)](_0x89a8ec[_0x32f7a2(0x392)]),_0x310461=_0x4fbb26['get'](_0x3f1699[_0x32f7a2(0x2a9)]),_0x4a50fe=(await _0x4ebfc2[_0x32f7a2(0x20b)]({'unitId':_0x2389d8,'subUnitId':_0x19f4c6,'pivotTableId':_0x9e7b1e,'params':{'type':_0x56b655[_0x32f7a2(0x219)],'setValuePivotFilter':{'tableFieldId':_0x48d63a,'filterInfo':_0x30016c}}}))[_0x32f7a2(0x2fa)][_0x32f7a2(0xf7)];if(!_0x4a50fe)return!0x1;const {changesets:_0x316c95,pivotTableConfig:_0x2ddd64,isEmpty:_0x5e616e,view:_0x2bf7f4}=_0x4a50fe,_0x2a2fa8=_0x2ddd64[_0x32f7a2(0x3a4)],_0x47f73f=new _0x24a6f0[(_0x32f7a2(0x25b))]();_0x47f73f[_0x32f7a2(0xd2)](_0x2bf7f4);const _0x451bf3={'cellInfo':_0x2a2fa8,'view':_0x47f73f,'isEmpty':_0x5e616e};if(!await _0x4fbb26[_0x32f7a2(0x33b)](_0x89a8ec[_0x32f7a2(0xba)])[_0x32f7a2(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x451bf3))return!0x1;const _0x5d2053=_0x34a7f9(_0x4fbb26,_0x47f73f,_0x2a2fa8,_0x5e616e),_0xd402ee=_0x2debb2(_0x4fbb26,_0x451bf3),{undos:_0x23dd9b,redos:_0x5b276c}=_0x122330(_0x1ad1c0,{'pivotTableId':_0x9e7b1e,'unitId':_0x2389d8,'subUnitId':_0x19f4c6},_0x316c95);return _0x3f1699['sequenceExecute']([..._0x5d2053[_0x32f7a2(0x245)],..._0xd402ee[_0x32f7a2(0x245)],..._0x5b276c],_0x1ad1c0),_0x310461['pushUndoRedo']({'unitID':_0x2389d8,'redoMutations':[..._0x5d2053['redos'],..._0xd402ee[_0x32f7a2(0x245)],..._0x5b276c],'undoMutations':[..._0x5d2053[_0x32f7a2(0x176)],..._0xd402ee[_0x32f7a2(0x176)],..._0x23dd9b]}),!0x0;}},_0x3c2f81={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x4377a0,_0x5c1957){const _0x29a5c8=_0x43ed60;if(!_0x5c1957)return!0x1;const _0x2efa27=_0x4377a0[_0x29a5c8(0x33b)](_0x3f1699[_0x29a5c8(0x163)]),_0x4596de=_0x4377a0[_0x29a5c8(0x33b)](_0x3f1699[_0x29a5c8(0x2a9)]),_0x33df6c=_0x4377a0[_0x29a5c8(0x33b)](_0x89a8ec['SheetsPivotRPCService']),{pivotTableConfig:_0x2e8e8a,pivotTableId:_0x25a71a,unitId:_0x1e3b8c,subUnitId:_0x30caf9}=_0x5c1957,_0x2ac20d=(await _0x33df6c[_0x29a5c8(0x20b)]({'unitId':_0x1e3b8c,'subUnitId':_0x30caf9,'pivotTableId':_0x25a71a,'params':{'type':_0x56b655[_0x29a5c8(0x33c)],'setPivotTableConfig':{'pivotTableId':_0x25a71a,'pivotTableConfig':_0x2e8e8a}}}))[_0x29a5c8(0x2fa)]['setPivotTableConfig'];if(!_0x2ac20d)return!0x1;const {changesets:_0x4364ad}=_0x2ac20d,{redos:_0xaf09ae,undos:_0x479d14}=_0x122330(_0x2efa27,{'pivotTableId':_0x25a71a,'unitId':_0x1e3b8c,'subUnitId':_0x30caf9},_0x4364ad);return _0x3f1699['sequenceExecute'](_0xaf09ae,_0x2efa27),_0x4596de[_0x29a5c8(0x368)]({'unitID':_0x1e3b8c,'redoMutations':_0xaf09ae,'undoMutations':_0x479d14}),!0x0;}},_0x4106d8={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x263),async 'handler'(_0x440bbb,_0x943f7c){const _0x11139b=_0x43ed60;if(!_0x943f7c)return!0x1;const _0x1a40f6=_0x440bbb['get'](_0x3f1699['ICommandService']),_0x4989a7=_0x440bbb[_0x11139b(0x33b)](_0x3f1699['IUndoRedoService']),_0x5b423d=_0x440bbb[_0x11139b(0x33b)](_0x89a8ec[_0x11139b(0x392)]),{resetArea:_0x4f7b84,pivotTableId:_0x4fa6d0,unitId:_0x32230a,subUnitId:_0x39813b}=_0x943f7c,_0x52f3ae=(await _0x5b423d[_0x11139b(0x20b)]({'unitId':_0x32230a,'subUnitId':_0x39813b,'pivotTableId':_0x4fa6d0,'params':{'type':_0x56b655[_0x11139b(0x356)],'resetPivotTable':{'pivotTableId':_0x4fa6d0,'resetArea':_0x4f7b84}}}))['result'][_0x11139b(0x280)];if(!_0x52f3ae)return!0x1;const {changesets:_0x51880d}=_0x52f3ae,{redos:_0x4d1377,undos:_0x121576}=_0x122330(_0x1a40f6,{'pivotTableId':_0x4fa6d0,'unitId':_0x32230a,'subUnitId':_0x39813b},_0x51880d);return _0x3f1699[_0x11139b(0x22f)](_0x4d1377,_0x1a40f6),_0x4989a7[_0x11139b(0x368)]({'unitID':_0x32230a,'redoMutations':_0x4d1377,'undoMutations':_0x121576}),!0x0;}},_0x6eb560={'id':_0x43ed60(0x346),'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'handler':(_0x34a808,_0x389591)=>{const _0x4bcbb6=_0x43ed60;if(!_0x389591)return!0x1;if(!!_0x34a808[_0x4bcbb6(0x33b)](_0x3f1699[_0x4bcbb6(0x23e)])[_0x4bcbb6(0x30f)](_0x57d9c3))return!0x0;const {unitId:_0xa29fa4,subUnitId:_0x57a7ce,pivotTableId:_0x5b0223,tableFieldId:_0xcf31e0,dateType:_0x201da5}=_0x389591,_0x5f587f=_0x34a808[_0x4bcbb6(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x16bf97=_0x5f587f[_0x4bcbb6(0x1bf)](_0x5b0223);if(!_0x16bf97)return!0x1;const _0x505c1f=_0x16bf97[_0x4bcbb6(0xad)](_0xcf31e0);if(!_0x505c1f)return!0x1;const _0x54d7d6=_0x505c1f['getOriginFieldId'](),_0x4f443b=_0x16bf97[_0x4bcbb6(0x1a3)](_0x54d7d6),_0x4bba8b=(_0x4f443b==null?void 0x0:_0x4f443b[_0x4bcbb6(0xbe)]())+'\x20'+_0xe6d46c(_0x34a808,_0x201da5);_0x5f587f[_0x4bcbb6(0x361)](_0xa29fa4,_0x5b0223)[_0x4bcbb6(0x2ea)](_0x505c1f['id'],_0x4bba8b);const _0xa5aed6=_0x16bf97[_0x4bcbb6(0x145)](_0xcf31e0);if(!_0xa5aed6)return!0x1;_0x16bf97[_0x4bcbb6(0xb2)](_0xa5aed6['getId'](),_0x4bba8b),_0x505c1f[_0x4bcbb6(0xa2)](_0x201da5);const _0x537fc6=_0x5f587f[_0x4bcbb6(0x275)](_0xa29fa4,_0x57a7ce,_0x5b0223);return _0x5f587f[_0x4bcbb6(0x232)]({'unitId':_0xa29fa4,'subUnitId':_0x57a7ce,'token':_0x5b0223,'type':_0x1870de['Set'],'pivotConfig':_0x537fc6}),!0x0;}},_0x427b3e={'id':_0x43ed60(0xae),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'handler':(_0x507c91,_0x412096)=>{const _0xe5be9e=_0x43ed60;if(!_0x412096)return!0x1;const _0x58ff26=_0x507c91[_0xe5be9e(0x33b)](_0x3f1699[_0xe5be9e(0x2a9)]),{unitId:_0x5a6f6d,subUnitId:_0x4f5dc3,pivotTableId:_0x1041e6,tableFieldId:_0x446825}=_0x412096,_0x8bacd8=[],_0x1fb97e=[],_0x46e807=_0x507c91[_0xe5be9e(0x33b)](_0x89a8ec[_0xe5be9e(0xb3)]),_0x65ef5c=_0x46e807[_0xe5be9e(0x361)](_0x5a6f6d,_0x1041e6),_0x2a7b53=_0x46e807['getPivotTableConfig'](_0x5a6f6d,_0x4f5dc3,_0x1041e6);if(!(_0x2a7b53!=null&&_0x2a7b53[_0xe5be9e(0x1d8)]['dimension']))return!0x1;const _0x2efce0=Object[_0xe5be9e(0x213)](_0x2a7b53[_0xe5be9e(0x1d8)]['dimension'])['find'](_0xd7ddb0=>_0xd7ddb0['id']===_0x446825);if(!_0x2efce0)return!0x1;const _0x3c0495=_0x2efce0[_0xe5be9e(0xea)];if(!(_0x65ef5c!=null&&_0x65ef5c[_0xe5be9e(0x99)]))return!0x1;const _0x1e0571=Object['values'](_0x65ef5c==null?void 0x0:_0x65ef5c[_0xe5be9e(0x99)])['find'](_0x26926d=>_0x26926d['id']===_0x3c0495);if(!_0x1e0571)return!0x1;_0x24a6f0[_0xe5be9e(0x17c)](_0x1e0571)&&_0x8bacd8[_0xe5be9e(0x182)]({'id':_0x6eb560['id'],'params':{..._0x412096,'dateType':_0x1e0571[_0xe5be9e(0xb7)]}}),_0x1fb97e['push']({'id':_0x6eb560['id'],'params':{..._0x412096}});const _0x933b42=_0x507c91[_0xe5be9e(0x33b)](_0x3f1699[_0xe5be9e(0x163)]);return _0x3f1699['sequenceExecute'](_0x1fb97e,_0x933b42)&&_0x58ff26[_0xe5be9e(0x368)]({'unitID':_0x5a6f6d,'undoMutations':_0x8bacd8,'redoMutations':_0x1fb97e}),!0x0;}};var _0x18ceef=Object['getOwnPropertyDescriptor'],_0x4fd81f=(_0x48969f,_0x4bd4d3,_0x4e2b5f,_0x523449)=>{const _0x1e8b82=_0x43ed60;for(var _0xf09716=_0x523449>0x1?void 0x0:_0x523449?_0x18ceef(_0x4bd4d3,_0x4e2b5f):_0x4bd4d3,_0x5d32dc=_0x48969f[_0x1e8b82(0x27d)]-0x1,_0x147fbe;_0x5d32dc>=0x0;_0x5d32dc--)(_0x147fbe=_0x48969f[_0x5d32dc])&&(_0xf09716=_0x147fbe(_0xf09716)||_0xf09716);return _0xf09716;},_0x4b20b6=(_0x2d8d26,_0x15210b)=>(_0x1ea0f5,_0xb196de)=>_0x15210b(_0x1ea0f5,_0xb196de,_0x2d8d26);const _0x231ff0=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x15a34d=(_0x5d6f21,_0x24662e,_0x363d10)=>{const _0x231d36=_0x43ed60,_0x11572b=_0x5d6f21[_0x231d36(0x21f)];_0x5d6f21['iterateFieldDim'](_0x34bc9d=>{const _0x42611a=_0x231d36,_0x386ed3=_0x34bc9d[_0x42611a(0x242)](),_0x3c27bb=_0x34bc9d[_0x42611a(0x291)](),_0x24b882=_0x34bc9d[_0x42611a(0x391)](),_0x5a7bd5=_0x34bc9d['getDisplayName']();_0x24662e[_0x3c27bb]&&_0x24662e[_0x3c27bb]===_0x5a7bd5&&_0x24b882===_0x5a7bd5&&(_0x5d6f21[_0x42611a(0xb2)](_0x386ed3,_0x11572b[_0x42611a(0x16a)](_0x3c27bb)),_0x34bc9d[_0x42611a(0x24a)](_0x11572b[_0x42611a(0x16a)](_0x3c27bb)));}),_0x5d6f21[_0x231d36(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Value'],_0xf0d76e=>{const _0x2f3bfe=_0x231d36,_0x1bdf1d=_0xf0d76e[_0x2f3bfe(0x242)](),_0x25ae14=_0xf0d76e[_0x2f3bfe(0x291)](),_0x1c0b1f=_0xf0d76e[_0x2f3bfe(0x391)](),_0x1efc87=_0xf0d76e[_0x2f3bfe(0x16a)](),_0x3a181b=_0xf0d76e[_0x2f3bfe(0x1d4)](),_0x5b773e=_0x363d10(_0x1c0b1f,_0x3a181b);_0x24662e[_0x25ae14]&&_0x24662e[_0x25ae14]===_0x1c0b1f&&_0x5b773e===_0x1efc87&&(_0x5d6f21['renameField'](_0x1bdf1d,_0x363d10(_0x11572b[_0x2f3bfe(0x16a)](_0x25ae14),_0x3a181b)),_0xf0d76e[_0x2f3bfe(0x24a)](_0x11572b['getDisplayName'](_0x25ae14)));});},_0x57cd46=(_0x45ce2a,_0x2c1c09,_0x32ea34)=>{const _0x4cfb75=_0x43ed60;var _0x229800,_0x4e271e;const {arrayFormulaCellData:_0x42703c,unitData:_0x160960}=_0x2c1c09,{unitId:_0x424e20,subUnitId:_0x49e74a}=_0x32ea34,_0x33b90a=_0x32ea34[_0x4cfb75(0x24d)],{startColumn:_0xecde9d,endColumn:_0x5cf1d0}=_0x33b90a,_0x1839d5=(_0x229800=_0x42703c==null?void 0x0:_0x42703c[_0x424e20])==null?void 0x0:_0x229800[_0x49e74a],_0x5ca936=(_0x4e271e=_0x160960==null?void 0x0:_0x160960[_0x424e20])==null?void 0x0:_0x4e271e[_0x49e74a],_0x17f9cd=new Set(),_0x2a4427=_0x5cf1d0-_0xecde9d+0x1,{dirtyRanges:_0x368649}=_0x45ce2a;if(_0x368649)for(const {range:_0xd3dc77,sheetId:_0x8ee8d1,unitId:_0x22fbb0}of _0x368649){if(_0x8ee8d1!==_0x49e74a||_0x424e20!==_0x22fbb0)continue;const _0xb54897=_0x3f1699['Rectangle'][_0x4cfb75(0x34e)](_0xd3dc77,_0x33b90a);if(_0xb54897){const {startColumn:_0x2c1da9,endColumn:_0x301e62}=_0xb54897;for(let _0x49acab=_0x2c1da9;_0x49acab<=_0x301e62;_0x49acab++)_0x17f9cd[_0x4cfb75(0xe9)](_0x49acab);}}if(_0x17f9cd['size']===_0x2a4427||_0x17f9cd[_0x4cfb75(0x1e8)]===_0x2a4427)return Array[_0x4cfb75(0xff)](_0x17f9cd);if(_0x5ca936){const _0x3db5b3=_0x5ca936['getMatrix'](),_0x1c4c6d=Object[_0x4cfb75(0x375)](_0x3db5b3);for(const _0xb11ff1 of _0x1c4c6d){const _0x32fe60=Number(_0xb11ff1),_0x297bbe=_0x3db5b3[_0x32fe60];if(_0x17f9cd['size']===_0x2a4427)break;for(const _0x287e6e in _0x297bbe){const _0x3c4ea2=Number(_0x287e6e);_0x3c4ea2<_0xecde9d||_0x3c4ea2>_0x5cf1d0||_0x17f9cd[_0x4cfb75(0xe9)](_0x3c4ea2);}}}if(_0x1839d5){const _0x1f0d96=_0x1839d5[_0x4cfb75(0x2f7)](),_0x4342e0=Object['keys'](_0x1f0d96);for(const _0x2a55d4 of _0x4342e0){const _0x5bf99a=Number(_0x2a55d4),_0x8a7e39=_0x1f0d96[_0x5bf99a];if(_0x17f9cd[_0x4cfb75(0x1e8)]===_0x2a4427)break;for(const _0x437569 in _0x8a7e39){const _0x43bdc2=Number(_0x437569);_0x43bdc2<_0xecde9d||_0x43bdc2>_0x5cf1d0||_0x17f9cd[_0x4cfb75(0xe9)](_0x43bdc2);}}}return Array['from'](_0x17f9cd);},_0x2a939d=_0x326765=>{const _0x5a40c6=_0x43ed60,_0x9a3503=new Set(),_0x5e83d0=[];for(const _0x27344d of _0x326765){const _0x7522c2=_0x27344d[_0x5a40c6(0x13a)]+','+_0x27344d[_0x5a40c6(0x18b)]+','+_0x27344d['startColumn']+','+_0x27344d[_0x5a40c6(0x1dc)];_0x9a3503[_0x5a40c6(0x1d1)](_0x7522c2)||(_0x9a3503['add'](_0x7522c2),_0x5e83d0['push'](_0x27344d));}return _0x5e83d0;};let _0x500fea=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x3cce08,_0x31908a,_0x5bad95,_0x143253,_0x919fc8,_0x3af175){const _0x586e68=_0x43ed60;super(),_0x575f06(this,'_globalSubject',new _0x28d43e[(_0x586e68(0xc2))](!0x0)),_0x575f06(this,_0x586e68(0x332),_0x367fee=>{const _0x3c7af7=_0x586e68;this[_0x3c7af7(0x15e)]['next'](!0x1);}),_0x575f06(this,'_globalComputedEndHelpFunc',_0x2dabe5=>{this['_globalSubject']['next'](!0x0);}),(this[_0x586e68(0x212)]=_0x3cce08,this[_0x586e68(0x359)]=_0x31908a,this[_0x586e68(0x1cf)]=_0x5bad95,this['_commandService']=_0x143253,this['_globalComputingSrv']=_0x919fc8,this[_0x586e68(0x2f1)]=_0x3af175,this[_0x586e68(0x360)](),this['_initPivotDataGetListener']());}['_init'](){const _0x435bc7=_0x43ed60;this['_subjectCollectionChange'](),this[_0x435bc7(0x21e)](),this[_0x435bc7(0x117)](),this[_0x435bc7(0x202)]();}['_initGlobalComputed'](){const _0x53e1e0=_0x43ed60;this['_globalComputingSrv']['pushComputingStatusSubject'](this[_0x53e1e0(0x15e)]),_0x24a6f0['PivotTable'][_0x53e1e0(0x279)](_0x24a6f0[_0x53e1e0(0x238)][_0x53e1e0(0x2f4)],this[_0x53e1e0(0x332)]),_0x24a6f0[_0x53e1e0(0x308)]['registerCallbackWithEvent'](_0x24a6f0['PivotCallbackEnum']['onQueryEnd'],this[_0x53e1e0(0xa6)]);}[_0x43ed60(0x287)](){const _0xe173dd=_0x43ed60;this[_0xe173dd(0xaf)](this['_commandService'][_0xe173dd(0x149)](_0x2c1e32=>{const _0x271669=_0xe173dd;_0x2c1e32['id']===_0x1c7b09[_0x271669(0x394)]['id']&&this[_0x271669(0x212)][_0x271669(0x310)](_0x2c1e32['params']);})),this[_0xe173dd(0xaf)](this[_0xe173dd(0x399)][_0xe173dd(0x149)](_0x52e051=>{const _0x395f52=_0xe173dd;if(_0x52e051['id']!==_0x5cd217['id'])return;const _0x907c6=_0x52e051[_0x395f52(0x2c9)],{unitId:_0x5c5f2f,subUnitId:_0x4bf8b2,pivotTableId:_0xe5d454}=_0x907c6,_0x4c37fc=_0x907c6['params']['type'],_0x4a387c={};switch(_0x4c37fc){case _0x56b655[_0x395f52(0x385)]:{const _0x242468=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2a3)];if(!_0x242468)return;const {row:_0x68a1d4,col:_0x12781f,cellData:_0x21e93b,pivotItemRenderInfoCache:_0x21eae5,tableFieldId:_0x4b7dbf}=_0x242468,_0x582a9a=this[_0x395f52(0x212)]['getPivotTableInstance'](_0x907c6[_0x395f52(0x281)]);if(!_0x582a9a||!_0x21eae5)return;if(_0x4b7dbf){const _0x4b06c1=_0x582a9a[_0x395f52(0xad)](_0x4b7dbf);if(!_0x4b06c1)return;_0x4a387c[_0x395f52(0x2a3)]={..._0x582a9a[_0x395f52(0x168)](_0x4b06c1),'tableFieldId':_0x4b7dbf,'pivotTableId':_0x907c6['pivotTableId'],'filterInfo':_0x582a9a['getFilterInfo'](_0x4b7dbf),'sortInfo':_0x582a9a['getSortInfo'](_0x4b7dbf),'format':_0x582a9a[_0x395f52(0x2fd)](_0x4b7dbf)};}else{const _0x4496c5=_0x4e2eec(_0x68a1d4,_0x12781f,_0x21e93b,_0x582a9a,_0x21eae5),_0x27b59e=_0x4496c5==null?void 0x0:_0x4496c5[_0x395f52(0x257)];if(!_0x27b59e)return;const _0xb7acbf=_0x582a9a['getDataFieldByTableId'](_0x27b59e);if(!_0xb7acbf)return;_0x4a387c[_0x395f52(0x2a3)]={..._0x582a9a['getDataFieldItemInfo'](_0xb7acbf),'tableFieldId':_0x27b59e,'pivotTableId':_0x907c6[_0x395f52(0x281)],'filterInfo':_0x582a9a[_0x395f52(0xf9)](_0x27b59e),'sortInfo':_0x582a9a[_0x395f52(0x198)](_0x27b59e),'format':_0x582a9a[_0x395f52(0x2fd)](_0x27b59e)};}}break;case _0x56b655[_0x395f52(0x110)]:{const _0xaf32e8=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xdf)];if(!_0xaf32e8)return;const {pivotTableId:_0x11eaa3}=_0xaf32e8,_0x245e8b=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0x11eaa3);if(!_0x245e8b)return;const _0x1b4565=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0x11eaa3),_0x12b7c3=_0x34c403(_0x245e8b,_0x11eaa3,_0x1b4565);_0x4a387c[_0x395f52(0xdf)]=_0x12b7c3;}break;case _0x56b655[_0x395f52(0x323)]:{const _0x58a591=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454),_0x50f83b=this['_sheetsPivotDataSourceModel'][_0x395f52(0x1b1)](_0x5c5f2f),_0x7eefd3=_0x50f83b[_0x395f52(0x361)](_0xe5d454);let _0x21dcb5=null;const _0x5bd99f=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454),_0x1b20ed=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xbb)];if(!_0x58a591||!_0x5bd99f||!_0x1b20ed)return!0x1;const {dataFieldId:_0xaa1817,fieldArea:_0x18b960,index:_0x3a3b04}=_0x1b20ed;_0x58a591[_0x395f52(0x127)]();const _0x2344c3=_0x58a591[_0x395f52(0x34f)](_0xaa1817,_0x18b960,_0x3a3b04);if(_0x2344c3&&_0x18b960===_0x24a6f0[_0x395f52(0x2b6)]['Value']){const _0x1fbc41=_0x2344c3[_0x395f52(0x242)](),_0x2292b2=_0x58a591[_0x395f52(0xad)](_0x1fbc41);if(_0x2292b2){const _0x58d678=_0x2292b2==null?void 0x0:_0x2292b2[_0x395f52(0x165)]();_0x58a591['setSubtotalType'](_0x2344c3[_0x395f52(0x242)](),_0x58d678===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x28f)]);}const _0x33f544=_0x58a591['getValueIndex'](),_0x2d1884=_0x58a591['getValuePosition'](),_0x3862ce=_0x58a591[_0x395f52(0x247)](_0x24a6f0[_0x395f52(0x2b6)]['Value']);if(_0x33f544===-0x1&&_0x3862ce>0x1){const _0x461e81=_0x2d1884===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x1e6)]?_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x14b)]:_0x2d1884,_0x77d325=_0x461e81===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]?_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]:_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)];_0x58a591[_0x395f52(0x386)](_0x461e81,_0x58a591['getFieldCountByArea'](_0x77d325));}}else{if(_0x2344c3&&(_0x18b960===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x352)]||_0x18b960===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x14b)])){const _0x3abe60=_0x2344c3['getId'](),_0x199eff=_0x58a591['getDataFieldByTableId'](_0x3abe60);if(_0x199eff&&(_0x199eff==null?void 0x0:_0x199eff[_0x395f52(0x165)]())===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x2a0)]){const _0x66577f=_0x199eff[_0x395f52(0x14d)]();if(_0x66577f&&_0x58a591[_0x395f52(0x19a)](_0x2344c3['getId'](),_0x66577f),!_0x7eefd3[_0x395f52(0x2d8)]()[_0x395f52(0x35f)](_0x5653b4=>{const _0x58d3ed=_0x395f52,_0x45473e=_0x7eefd3[_0x58d3ed(0x2c7)](_0x5653b4);return _0x24a6f0['isDateGroupField'](_0x45473e)?_0x45473e[_0x58d3ed(0x350)]()[_0x58d3ed(0x171)]===_0xaa1817:!0x1;})){const _0x556acd=_0x50f83b[_0x395f52(0x185)](),_0x54a6e3=_0x4aebca(_0x199eff['maxDate'],_0x199eff[_0x395f52(0x17f)]),_0x19caed=_0x199eff[_0x395f52(0xbe)]()+'\x20-\x20'+_0xe6d46c(this[_0x395f52(0x2f1)],_0x54a6e3),_0x12f48c=new _0x24a6f0['DateGroupField'](_0x556acd,_0x19caed,_0x24a6f0[_0x395f52(0x1c5)](0x3),_0x199eff[_0x395f52(0x242)](),_0x54a6e3);_0x50f83b[_0x395f52(0x37f)](_0x12f48c),_0x7eefd3[_0x395f52(0x372)](_0x556acd,_0x19caed),_0x58a591[_0x395f52(0x34f)](_0x556acd,_0x18b960,(_0x3a3b04!=null?_0x3a3b04:0x0)+0x1),_0x21dcb5=_0x12f48c;}}}}const _0xff8e1c=_0x58a591[_0x395f52(0x35c)](),_0x2ffb56=_0x58a591[_0x395f52(0x264)]()[_0x395f52(0x10f)]();let _0x2e3de6;if(_0x21dcb5){_0x2e3de6=_0x21dcb5['toJSON']();const _0x521637=_0x21dcb5[_0x395f52(0x242)]();_0x7eefd3['deleteField'](_0x521637);let _0xf513ee=!0x0;for(const _0x523526 in _0x50f83b[_0x395f52(0x379)])if(_0x50f83b[_0x395f52(0x379)][_0x523526][_0x395f52(0x2d8)]()[_0x395f52(0x376)](_0x521637)){_0xf513ee=!0x1;break;}_0xf513ee&&_0x50f83b['deleteDataField'](_0x521637);}const _0x469c6f=_0x58a591[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0xbb)]={'view':_0x2ffb56,'changesets':_0x469c6f,'isEmpty':_0xff8e1c,'pivotTableConfig':_0x5bd99f,'shouldBeAddedGroupJSON':_0x2e3de6};}break;case _0x56b655[_0x395f52(0x3a5)]:{const _0x427d02=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2b2)];if(!_0x427d02)return;const _0xd4f33c=_0x427d02[_0x395f52(0x1af)],_0x257908=_0x427d02[_0x395f52(0x281)],{collection:_0x1b1495}=this[_0x395f52(0x212)]['createCollectionWithDataRange']({'unitId':_0xd4f33c[_0x395f52(0x210)],'sheetName':_0xd4f33c[_0x395f52(0x248)],'subUnitId':_0xd4f33c[_0x395f52(0x15a)],'range':_0xd4f33c[_0x395f52(0x24d)]}),_0x7abaea=new _0x24a6f0[(_0x395f52(0x308))](_0x1b1495,void 0x0,_0x257908),_0x3815cc=_0x7abaea[_0x395f52(0x264)](),_0x4a357d=_0x7abaea[_0x395f52(0x10f)](),_0x4706ff=_0x1b1495[_0x395f52(0x10f)]();_0x4a387c['addPivotTable']={'view':_0x3815cc,'fieldsConfig':_0x4a357d,'collectionConfig':_0x4706ff,'isEmpty':_0x7abaea[_0x395f52(0x35c)]()};}break;case _0x56b655[_0x395f52(0x26d)]:{const _0x539584=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x170)];if(!_0x539584)return;const {fieldId:_0x2d6592,area:_0x13f372,index:_0x377a31}=_0x539584,_0x3bd2e9=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3bd2e9)return;const _0x3e78d6=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x3e78d6)return;_0x3e78d6['startCollectChangeset']();const {area:_0x1454dc,index:_0x312a2a}=_0x3e78d6[_0x395f52(0x2ee)](_0x2d6592);if(_0x3e78d6[_0x395f52(0x109)](_0x2d6592,_0x13f372,_0x377a31),_0x13f372===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x11a)]&&_0x3e78d6['getTableFieldById'](_0x2d6592)[_0x395f52(0x1d4)]()===void 0x0){const _0x16d913=_0x3e78d6['getTableFieldById'](_0x2d6592);if(_0x16d913&&_0x16d913[_0x395f52(0x1d4)]()===void 0x0){const _0x15bf60=_0x3e78d6[_0x395f52(0xad)](_0x2d6592);if(_0x15bf60){const _0x5b0956=_0x15bf60==null?void 0x0:_0x15bf60['getFieldDataType']();_0x3e78d6[_0x395f52(0x1a9)](_0x2d6592,_0x5b0956===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)]['count']);}}}const _0x15bcbb=_0x3e78d6[_0x395f52(0xde)](),_0x4a3f54=_0x3e78d6[_0x395f52(0x251)](),_0x183de4=_0x3e78d6['getFieldCountByArea'](_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x11a)])>0x1;if(_0x183de4&&_0x1454dc===_0x13f372&&(_0x13f372===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x13f372===_0x24a6f0[_0x395f52(0x2b6)]['Column']&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)]['Column'])){let _0x2fceff=_0x4a3f54;_0x312a2a<=_0x4a3f54&&_0x2fceff--,_0x377a31<=_0x4a3f54&&_0x2fceff++,_0x3e78d6[_0x395f52(0x386)](_0x15bcbb,_0x2fceff);}else _0x183de4&&(_0x1454dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x1454dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)]&&_0x15bcbb===_0x24a6f0['PivotTableValuePositionEnum'][_0x395f52(0x14b)])&&_0x4a3f54>=_0x312a2a&&_0x3e78d6[_0x395f52(0x386)](_0x15bcbb,_0x4a3f54-0x1),_0x183de4&&(_0x13f372===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x13f372===_0x24a6f0[_0x395f52(0x2b6)]['Column']&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x14b)])&&_0x4a3f54>=_0x377a31&&_0x3e78d6['updateValuePosition'](_0x15bcbb,_0x4a3f54+0x1);const _0x227a51=_0x3e78d6[_0x395f52(0x264)](),_0x3f75c4=_0x3e78d6['isEmpty'](),_0x44e52e=_0x3e78d6[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x170)]={'view':_0x227a51[_0x395f52(0x10f)](),'changesets':_0x44e52e,'isEmpty':_0x3f75c4,'pivotTableConfig':_0x3bd2e9};}break;case _0x56b655['RemovePivotField']:{const _0x24d4cd=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xa9)];if(!_0x24d4cd)return;const _0x2cde89=_0x24d4cd[_0x395f52(0x33a)],_0x4ca795=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4ca795)return!0x1;const _0x40747f=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x40747f)return!0x1;_0x40747f[_0x395f52(0x127)]();for(const _0x1c40d3 of _0x2cde89){const {area:_0x1a03dc}=_0x40747f['getFieldPositionInfoById'](_0x1c40d3);_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x11a)]&&_0x40747f[_0x395f52(0x2a1)](_0x1c40d3),(_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]||_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)])&&_0x40747f['removeValueFilterInfo'](_0x1c40d3),_0x40747f[_0x395f52(0x32f)](_0x1c40d3);}const _0x45d1a9=_0x40747f[_0x395f52(0x35c)](),_0x37ec64=_0x40747f['query']()[_0x395f52(0x10f)](),_0x43c61b=_0x40747f[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0xa9)]={'changesets':_0x43c61b,'pivotTableConfig':_0x4ca795,'isEmpty':_0x45d1a9,'view':_0x37ec64};}break;case _0x56b655['SetPivotFilter']:{const _0x3b5ab0=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x31d)];if(!_0x3b5ab0)return;const {tableFieldId:_0x41706e,items:_0xfcb099,isAll:_0x281815}=_0x3b5ab0,_0x48f5fd=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x189cdf=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x48f5fd||!_0x189cdf)return;_0x48f5fd[_0x395f52(0x127)](),_0x48f5fd[_0x395f52(0xd5)](_0x41706e,{'type':_0x24a6f0[_0x395f52(0x2fe)]['ManualFilter'],'list':_0xfcb099,'isAll':_0x281815});const _0x15935f=_0x48f5fd['isEmpty'](),_0x4315b9=_0x48f5fd[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x1cd7e2=_0x48f5fd[_0x395f52(0x21d)]();_0x4a387c['setPivotFilter']={'view':_0x4315b9,'changesets':_0x1cd7e2,'isEmpty':_0x15935f,'pivotTableConfig':_0x189cdf};}break;case _0x56b655[_0x395f52(0x219)]:{const _0x15e99d=_0x907c6[_0x395f52(0x2c9)]['setValuePivotFilter'];if(!_0x15e99d)return;const {tableFieldId:_0x366427,filterInfo:_0xec7893}=_0x15e99d,_0x487e24=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454),_0x556d7c=this[_0x395f52(0x212)]['getPivotTableConfig'](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x487e24||!_0x556d7c)return;_0x487e24[_0x395f52(0x127)](),_0x487e24[_0x395f52(0x2b9)](_0x366427,_0xec7893);const _0x1a3af0=_0x487e24[_0x395f52(0x35c)](),_0x31e956=_0x487e24[_0x395f52(0x264)]()['toJSON'](),_0x59b707=_0x487e24[_0x395f52(0x21d)]();_0x4a387c['setValuePivotFilter']={'view':_0x31e956,'changesets':_0x59b707,'isEmpty':_0x1a3af0,'pivotTableConfig':_0x556d7c};}break;case _0x56b655[_0x395f52(0xcd)]:{const _0x62211=_0x907c6[_0x395f52(0x2c9)]['setPivotSort'];if(!_0x62211)return;const {tableFieldId:_0x38eb66,info:_0x39ac18}=_0x62211,_0x3a356d=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x1fa7ef=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3a356d||!_0x1fa7ef)return;_0x3a356d[_0x395f52(0x127)](),_0x3a356d[_0x395f52(0x13c)](_0x38eb66,_0x39ac18);const _0x500db8=_0x3a356d[_0x395f52(0x35c)](),_0x929974=_0x3a356d['query']()[_0x395f52(0x10f)](),_0x4271c1=_0x3a356d['endCollectChangeset']();_0x4a387c['setPivotSort']={'view':_0x929974,'changesets':_0x4271c1,'isEmpty':_0x500db8,'pivotTableConfig':_0x1fa7ef};}break;case _0x56b655[_0x395f52(0x167)]:{const _0x49367d=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x204)];if(!_0x49367d)return;const {tableFieldId:_0x4780c6,displayName:_0x52bc1d,subtotalType:_0xf9f1f7,format:_0x3d762d}=_0x49367d,_0x4e187c=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x354361=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4e187c||!_0x354361)return;_0x4e187c[_0x395f52(0x127)](),_0x52bc1d!==void 0x0&&_0x4e187c[_0x395f52(0xb2)](_0x4780c6,_0x52bc1d),_0xf9f1f7!==void 0x0&&_0x4e187c[_0x395f52(0x1a9)](_0x4780c6,_0xf9f1f7),_0x3d762d!==void 0x0&&_0x4e187c[_0x395f52(0x19a)](_0x4780c6,_0x3d762d);const _0x18227b=_0x4e187c['isEmpty'](),_0x1c5d0a=_0x4e187c[_0x395f52(0x264)]()['toJSON'](),_0x887b0c=_0x4e187c[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x204)]={'changesets':_0x887b0c,'pivotTableConfig':_0x354361,'isEmpty':_0x18227b,'view':_0x1c5d0a};}break;case _0x56b655[_0x395f52(0x32e)]:{const _0x24008b=_0x907c6[_0x395f52(0x2c9)]['updatePivotSource'];if(!_0x24008b)return;const {dataRangeInfo:_0x37d3f5,unitId:_0x48f860,subUnitId:_0x20116e}=_0x24008b,_0x162787=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x48f860,_0x20116e,_0xe5d454),_0x33bd16=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454);if(!this['_sheetsPivotDataSourceModel'][_0x395f52(0x361)](_0x48f860,_0xe5d454)||!_0x33bd16||!_0x162787)return;const _0x1f0892=this[_0x395f52(0x212)][_0x395f52(0x2ab)](_0x48f860,_0xe5d454,_0x37d3f5),_0x28f785=this[_0x395f52(0x212)][_0x395f52(0x361)](_0x48f860,_0xe5d454)['toJSON'](),{collection:_0x4a7ca8}=this['_sheetsPivotDataSourceModel'][_0x395f52(0x97)]({'unitId':_0x37d3f5[_0x395f52(0x210)],'sheetName':_0x37d3f5['sheetName'],'subUnitId':_0x37d3f5[_0x395f52(0x15a)],'range':_0x37d3f5[_0x395f52(0x24d)]}),_0x21b7fd=_0x4a7ca8[_0x395f52(0x10f)]();_0x33bd16[_0x395f52(0x127)]();const _0x17656a=this[_0x395f52(0x212)][_0x395f52(0x1b1)](_0x48f860)[_0x395f52(0x1d0)]()||_0x24a6f0[_0x395f52(0x1cc)];_0x33bd16[_0x395f52(0x1f1)](_0x2e6d0f=>{const _0x208fc7=_0x395f52,_0x2b5631=_0x2e6d0f[_0x208fc7(0x291)]();if(!_0x4a7ca8[_0x208fc7(0x397)](_0x2b5631)){const _0x56f9ee=_0x4a7ca8[_0x208fc7(0x152)](_0x2e6d0f['getSourceName']());if(_0x56f9ee){_0x33bd16[_0x208fc7(0x1bc)](_0x2e6d0f['getId'](),_0x56f9ee['getName'](),_0x56f9ee[_0x208fc7(0x242)]());const {area:_0x3a4249}=_0x33bd16[_0x208fc7(0x2ee)](_0x2e6d0f[_0x208fc7(0x242)]());let _0x20fa3f=_0x2e6d0f[_0x208fc7(0x391)]();const _0x514acb=_0x2e6d0f['getDisplayName']();if(_0x3a4249===_0x24a6f0['PivotTableFiledAreaEnum'][_0x208fc7(0x11a)]){const _0x16a153=_0x2e6d0f['getSubtotal']();_0x20fa3f=_0x17656a(_0x56f9ee[_0x208fc7(0xbe)](),_0x16a153);}_0x514acb!==_0x20fa3f&&_0x33bd16[_0x208fc7(0xb2)](_0x2e6d0f[_0x208fc7(0x242)](),_0x20fa3f);}else _0x33bd16[_0x208fc7(0x32f)](_0x2e6d0f[_0x208fc7(0x242)]());}});const _0x1256a3=_0x33bd16[_0x395f52(0x35c)](),_0x3f6876=_0x33bd16[_0x395f52(0x264)]()['toJSON'](),_0x18cf67=_0x33bd16[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x351)]={'view':_0x3f6876,'changesets':_0x18cf67,'isEmpty':_0x1256a3,'pivotTableConfig':_0x162787,'collectionConfig':_0x21b7fd,'oldCollectionConfig':_0x28f785,'deleteIds':_0x1f0892};}break;case _0x56b655[_0x395f52(0x14f)]:{const _0x5e134a=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x386)];if(!_0x5e134a)return;const {position:_0x189db0,index:_0x39e330}=_0x5e134a,_0x955f94=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x955f94)return!0x1;const _0x326229=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x326229)return!0x1;_0x326229['startCollectChangeset'](),_0x326229[_0x395f52(0x386)](_0x189db0,_0x39e330);const _0x74636f=_0x326229[_0x395f52(0x35c)](),_0x56b43a=_0x326229[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x22a035=_0x326229[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x386)]={'changesets':_0x22a035,'pivotTableConfig':_0x955f94,'isEmpty':_0x74636f,'view':_0x56b43a};}break;case _0x56b655[_0x395f52(0x2c8)]:{const _0x10b8c4=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2d4)];if(!_0x10b8c4)return;const {tableFieldId:_0x46f9f9,collapse:_0x4027f1,item:_0x2a4788}=_0x10b8c4,_0x3d0fd9=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x2c77f5=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3d0fd9||!_0x2c77f5)return;_0x3d0fd9['startCollectChangeset'](),_0x3d0fd9[_0x395f52(0x107)](_0x46f9f9,_0x4027f1,_0x2a4788);const _0x4e1fa0=_0x3d0fd9['isEmpty'](),_0x37f49b=_0x3d0fd9[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x9280d3=_0x3d0fd9[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x2d4)]={'view':_0x37f49b,'isEmpty':_0x4e1fa0,'pivotTableConfig':_0x2c77f5,'changesets':_0x9280d3};}break;case _0x56b655[_0x395f52(0x33c)]:{const _0x25b972=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x223)];if(!_0x25b972)return;const {pivotTableConfig:_0x59777d}=_0x25b972,_0x467485=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x1b23b9=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x467485||!_0x1b23b9)return;_0x467485[_0x395f52(0x127)](),_0x44161b(_0x467485,_0x59777d);const _0x3e12ca=_0x467485[_0x395f52(0x35c)](),_0x24c866=_0x467485[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x62d708=_0x467485['endCollectChangeset']();_0x4a387c['setPivotTableConfig']={'view':_0x24c866,'isEmpty':_0x3e12ca,'pivotTableConfig':{..._0x1b23b9,'fieldsConfig':_0x467485[_0x395f52(0x10f)]()},'changesets':_0x62d708};}break;case _0x56b655[_0x395f52(0x356)]:{const _0xa2d6d1=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x280)];if(!_0xa2d6d1)return;const _0x4e66c9=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0xe5d454),_0xcb7ed6=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4e66c9||!_0xcb7ed6)return;_0x4e66c9[_0x395f52(0x127)](),_0x20f090(_0x4e66c9,_0xa2d6d1[_0x395f52(0x2e3)]);const _0x128d2e=_0x4e66c9[_0x395f52(0x264)]()['toJSON'](),_0x379ced=_0x4e66c9[_0x395f52(0x21d)]();_0x4a387c['resetPivotTable']={'view':_0x128d2e,'isEmpty':!0x0,'pivotTableConfig':{..._0xcb7ed6,'fieldsConfig':_0x4e66c9[_0x395f52(0x10f)]()},'changesets':_0x379ced};}break;case _0x56b655['AddPivotTableWithConfig']:{const _0x2aec2d=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2ec)];if(!_0x2aec2d)return;const _0x4b0c95=_0x2aec2d['sourceRangeInfo'],_0x4caf85=_0x2aec2d[_0x395f52(0x281)],{collection:_0x51a806}=this[_0x395f52(0x212)][_0x395f52(0x97)]({'unitId':_0x4b0c95[_0x395f52(0x210)],'sheetName':_0x4b0c95[_0x395f52(0x248)],'subUnitId':_0x4b0c95[_0x395f52(0x15a)],'range':_0x4b0c95[_0x395f52(0x24d)]}),_0x5babc4=new _0x24a6f0['PivotTable'](_0x51a806,void 0x0,_0x4caf85),_0x5b95d2=_0x51a806[_0x395f52(0x2d8)](),{rows:_0x3096e6,columns:_0x5e6e1d,filters:_0x521b55,values:_0x6befe2}=_0x2aec2d[_0x395f52(0x1ad)];_0x5babc4[_0x395f52(0x127)]();for(const {field:_0x2fa377,selectedItems:_0x45d645}of _0x3096e6||[]){const _0xe7419c=_0x5b95d2[_0x2fa377];if(_0xe7419c){const _0x115c8e=_0x5babc4['addFieldWithSourceId'](_0xe7419c,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]);_0x45d645&&_0x115c8e&&_0x5babc4[_0x395f52(0xd5)](_0x115c8e['getId'](),{'type':_0x24a6f0[_0x395f52(0x2fe)][_0x395f52(0x1ae)],'list':_0x45d645,'isAll':!0x1});}}for(const {field:_0x1293f7,selectedItems:_0x15157a}of _0x5e6e1d||[]){const _0x291a98=_0x5b95d2[_0x1293f7];if(_0x291a98){const _0x5db4f=_0x5babc4['addFieldWithSourceId'](_0x291a98,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)]);_0x15157a&&_0x5db4f&&_0x5babc4[_0x395f52(0xd5)](_0x5db4f[_0x395f52(0x242)](),{'type':_0x24a6f0[_0x395f52(0x2fe)]['ManualFilter'],'list':_0x15157a,'isAll':!0x1});}}for(const {field:_0x59714a,selectedItems:_0x293c8d}of _0x521b55||[]){const _0x452cc3=_0x5b95d2[_0x59714a];if(_0x452cc3){const _0x5f7a5f=_0x5babc4['addFieldWithSourceId'](_0x452cc3,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x385)]);_0x293c8d&&_0x5f7a5f&&_0x5babc4[_0x395f52(0xd5)](_0x5f7a5f['getId'](),{'type':_0x24a6f0[_0x395f52(0x2fe)][_0x395f52(0x1ae)],'list':_0x293c8d,'isAll':!0x1});}}for(const {field:_0x41c02a,subTotalType:_0x46f93f,formatString:_0x476084}of _0x6befe2||[]){const _0x293a9f=_0x51a806[_0x395f52(0x2c7)](_0x5b95d2[_0x41c02a]);if(!_0x293a9f)continue;const _0x9e6dab=_0x5b95d2[_0x41c02a];if(_0x9e6dab){const _0x746fb6=_0x5babc4[_0x395f52(0x34f)](_0x9e6dab,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x11a)]);if(_0x746fb6){if(_0x46f93f!==void 0x0){_0x5babc4[_0x395f52(0x1a9)](_0x746fb6[_0x395f52(0x242)](),_0x46f93f);const _0x291d5e=this[_0x395f52(0x212)][_0x395f52(0x1b1)](_0x4b0c95[_0x395f52(0x210)])[_0x395f52(0x1d0)]()||_0x24a6f0['getAutoDisplayName'],_0x565b60=_0x51a806[_0x395f52(0x16a)](_0x9e6dab),_0x2a0754=_0x291d5e(_0x565b60,_0x46f93f);_0x5babc4[_0x395f52(0xb2)](_0x746fb6['getId'](),_0x2a0754);}else{if(_0x293a9f){const _0x44a815=_0x293a9f==null?void 0x0:_0x293a9f[_0x395f52(0x165)]();_0x5babc4['setSubtotalType'](_0x746fb6[_0x395f52(0x242)](),_0x44a815===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x28f)]);}}_0x476084&&_0x5babc4['setFieldFormat'](_0x746fb6['getId'](),_0x476084);}}}const _0x2703c0=_0x5babc4[_0x395f52(0x264)](),_0x35fce0=_0x5babc4[_0x395f52(0x10f)](),_0x4268c6=_0x5babc4[_0x395f52(0x35c)](),_0x5292cb=_0x5babc4['endCollectChangeset'](),_0x15fae3=_0x51a806[_0x395f52(0x10f)]();_0x4a387c[_0x395f52(0x2ec)]={'view':_0x2703c0,'fieldsConfig':_0x35fce0,'collectionConfig':_0x15fae3,'isEmpty':_0x4268c6,'changesets':_0x5292cb};}break;case _0x56b655[_0x395f52(0x1f7)]:{const _0xb46658=_0x23420b(this[_0x395f52(0x2f1)],_0x907c6);if(!_0xb46658)return;const {range:_0x5ca808,sourceSubUnitId:_0x7e7b4e,sourceUnitId:_0x3f5ae6,formatMap:_0x194f00,indexes:_0x1fafea}=_0xb46658;_0x4a387c[_0x395f52(0x1e1)]={'range':_0x5ca808,'sourceSubUnitId':_0x7e7b4e,'sourceUnitId':_0x3f5ae6,'formatMap':_0x194f00,'indexes':_0x1fafea};}break;}this[_0x395f52(0x399)][_0x395f52(0x294)](_0x193676['id'],{'version':_0x907c6[_0x395f52(0x24e)],'result':_0x4a387c},{'onlyLocal':!0x0});}));}[_0x43ed60(0x117)](){const _0x4d1fb4=_0x43ed60;this[_0x4d1fb4(0xaf)](this[_0x4d1fb4(0x399)][_0x4d1fb4(0x149)](_0x5a8dbf=>{const _0x41b86a=_0x4d1fb4;if(_0x5a8dbf['id']!==_0x34e502['id'])return;const _0x11706c=_0x5a8dbf[_0x41b86a(0x2c9)];return this[_0x41b86a(0x212)][_0x41b86a(0x10a)](_0x11706c[_0x41b86a(0xf4)]),!0x0;}));}[_0x43ed60(0x1d2)](){const _0x1b3d04=_0x43ed60;this[_0x1b3d04(0x212)][_0x1b3d04(0x38e)][_0x1b3d04(0x3ae)](_0x47694e=>{const _0x3214f3=_0x1b3d04;switch(_0x47694e[_0x3214f3(0x347)]){case _0x55be86[_0x3214f3(0xe9)]:_0x47694e[_0x3214f3(0x3ac)]&&_0x47694e[_0x3214f3(0x3a4)]&&this[_0x3214f3(0xb6)](_0x47694e['token'],_0x47694e[_0x3214f3(0x3ac)],_0x47694e[_0x3214f3(0x3a4)]);break;case _0x55be86[_0x3214f3(0x21c)]:{const {unitId:_0x1d6fd5,subUnitId:_0x1d4457,token:_0x205633}=_0x47694e;_0x1d6fd5&&_0x1d4457&&_0x205633&&this['removeSourceRangeChange'](_0x1d6fd5,_0x1d4457,_0x205633);}break;case _0x55be86[_0x3214f3(0x31c)]:{const {token:_0x2ea3cb,oldSourceRangeInfo:_0x1a7e07,dataRangeInfo:_0x53604b,targetCellInfo:_0x393532}=_0x47694e,{unitId:_0x5680d4,subUnitId:_0x4fe040}=_0x1a7e07||{};_0x5680d4&&_0x4fe040&&_0x2ea3cb&&this[_0x3214f3(0x2e9)](_0x5680d4,_0x4fe040,_0x2ea3cb),_0x53604b&&_0x393532&&this[_0x3214f3(0xb6)](_0x2ea3cb,_0x53604b,_0x393532);}break;}});}['_subjectFieldsCollectionChange'](){const _0x570586=_0x43ed60;this[_0x570586(0x212)][_0x570586(0x387)][_0x570586(0x3ae)](_0x454b9e=>{const _0xedb729=_0x570586;Object[_0xedb729(0x375)](_0x454b9e)[_0xedb729(0x2f8)](_0x4e3384=>{const _0x35ae57=_0xedb729,_0x5539b0=this['_sheetsPivotDataSourceModel'][_0x35ae57(0x367)](_0x4e3384);if(_0x5539b0){const _0x59fea2=this[_0x35ae57(0x212)][_0x35ae57(0x275)](_0x5539b0==null?void 0x0:_0x5539b0[_0x35ae57(0x210)],_0x5539b0==null?void 0x0:_0x5539b0[_0x35ae57(0x15a)],_0x4e3384);_0x59fea2&&(this[_0x35ae57(0xb6)](_0x4e3384,_0x59fea2[_0x35ae57(0x1af)],_0x59fea2[_0x35ae57(0x3a4)]),this['triggerDirtyFeature']([{'unitId':_0x5539b0[_0x35ae57(0x210)],'subUnitId':_0x5539b0[_0x35ae57(0x15a)],'token':_0x4e3384}]));}});});}[_0x43ed60(0x21e)](){const _0x4725f8=_0x43ed60;this['_sheetsPivotDataSourceModel'][_0x4725f8(0x9a)][_0x4725f8(0x3ae)](_0x4f656f=>{const {unitId:_0x25800c,subUnitId:_0x106156,pivotTableId:_0x2c5e4f}=_0x4f656f;_0x25800c&&_0x106156&&_0x2c5e4f&&this['triggerDirtyFeature']([{'unitId':_0x25800c,'subUnitId':_0x106156,'token':_0x2c5e4f}]);});}[_0x43ed60(0x353)](_0x4ca572){const _0x384326=_0x43ed60,_0x509bba={};_0x4ca572['forEach'](_0x3d0948=>{var _0x29e283,_0xe83763;const {unitId:_0x514228,subUnitId:_0x28d4ec,token:_0x457244}=_0x3d0948;_0x509bba[_0x514228]=(_0x29e283=_0x509bba[_0x514228])!=null?_0x29e283:{},_0x509bba[_0x514228][_0x28d4ec]=(_0xe83763=_0x509bba[_0x514228][_0x28d4ec])!=null?_0xe83763:{},_0x509bba[_0x514228][_0x28d4ec][_0x457244]=!0x0;}),this['_commandService'][_0x384326(0x294)](_0x1e4960['id'],_0x509bba);}['removeSourceRangeChange'](_0x24a0d1,_0x5d8eb5,_0x463a52){const _0x53acbf=_0x43ed60;this[_0x53acbf(0x1cf)][_0x53acbf(0x2e1)](_0x24a0d1,_0x5d8eb5,[_0x463a52]);}['handleSourceRangeChange'](_0x1756b8,_0x423852,_0x45b694){const _0x3db828=_0x43ed60,{unitId:_0x227221,subUnitId:_0x26ce25}=_0x423852;this['_featureCalculationManagerService']['has'](_0x45b694[_0x3db828(0x210)],_0x45b694[_0x3db828(0x15a)],_0x1756b8)&&this[_0x3db828(0x2e9)](_0x227221,_0x26ce25,_0x1756b8);const _0x280730={'sheetId':_0x26ce25,..._0x423852};this[_0x3db828(0x1cf)][_0x3db828(0x244)](_0x45b694[_0x3db828(0x210)],_0x45b694[_0x3db828(0x15a)],_0x1756b8,{'unitId':_0x45b694[_0x3db828(0x210)],'subUnitId':_0x45b694[_0x3db828(0x15a)],'dependencyRanges':[_0x280730],'getDirtyData':(_0x342aa6,_0x3c1fae)=>{const _0x4e6503=_0x3db828,_0xdda439=this[_0x4e6503(0x212)],_0x1c689b=_0xdda439[_0x4e6503(0x367)](_0x1756b8);if(!_0x1c689b)return _0x231ff0();const {unitId:_0x3030f7,subUnitId:_0x254b25}=_0x1c689b,_0x52e467=_0x57cd46(_0x342aa6,_0x3c1fae,_0x423852);if(_0x52e467['length']>0x0){const _0x55038e=_0xdda439[_0x4e6503(0x361)](_0x227221,_0x1756b8),_0x2cb247=_0x55038e['getFieldIds'](),_0x431273=this[_0x4e6503(0x26a)](_0x423852[_0x4e6503(0x210)],_0x423852[_0x4e6503(0x15a)],_0x3c1fae),_0x3a6848={},_0x11084=this[_0x4e6503(0x212)][_0x4e6503(0x1b1)](_0x3030f7)[_0x4e6503(0x1d0)]()||_0x24a6f0[_0x4e6503(0x1cc)],_0x2d479a=[];for(const _0x5b3544 of _0x52e467){const _0x4a727e=_0x5b3544-(_0x423852[_0x4e6503(0x24d)][_0x4e6503(0x135)]||0x0),_0x128f43=_0x2cb247[_0x4a727e];_0x2d479a['push'](_0x128f43),_0x3a6848[_0x128f43]=_0x55038e[_0x4e6503(0x2c7)](_0x128f43)[_0x4e6503(0xbe)](),_0xdda439[_0x4e6503(0x1b1)](_0x227221)['refreshDataField'](_0x128f43,_0x423852,_0x4a727e,_0x431273);}_0x55038e[_0x4e6503(0x311)](_0x2d479a)[_0x4e6503(0x2f8)](_0x458d2f=>{const _0x19aca4=_0x4e6503,[_0xced7da,_0x344a83]=_0x458d2f,_0x1956b2=_0x55038e['getFieldById'](_0xced7da),_0x267e3b=_0x55038e[_0x19aca4(0x2c7)](_0x344a83);_0x1956b2&&_0x267e3b&&_0x1956b2[_0x19aca4(0x151)](_0x267e3b);}),_0x55038e[_0x4e6503(0xd7)]();const _0x53a5e0=_0xdda439[_0x4e6503(0x1bf)](_0x1756b8);if(_0x53a5e0){_0x15a34d(_0x53a5e0,_0x3a6848,_0x11084),_0x53a5e0['setDirty'](!0x0);const _0x4d2595=_0x53a5e0['query'](),_0x52e03d=_0xdda439[_0x4e6503(0x275)](_0x3030f7,_0x254b25,_0x1756b8),_0xdc2ab9=_0xdda439[_0x4e6503(0x1b1)](_0x227221)[_0x4e6503(0x10f)]();_0xdda439['updateView'](_0x3030f7,_0x254b25,_0x1870de['Set'],_0x1756b8,_0x4d2595,_0x52e03d,_0xdc2ab9,!0x0);}}return this[_0x4e6503(0x2bf)](_0x3030f7,_0x254b25,_0x1756b8);}});}[_0x43ed60(0x26a)](_0x21ecaa,_0x240930,_0x1489c1){var _0x4e1e5a,_0x54ce40;const {arrayFormulaCellData:_0xac3f4c,unitData:_0x3c1c14}=_0x1489c1,_0x102996=(_0x4e1e5a=_0xac3f4c==null?void 0x0:_0xac3f4c[_0x21ecaa])==null?void 0x0:_0x4e1e5a[_0x240930],_0x4b5c8c=(_0x54ce40=_0x3c1c14==null?void 0x0:_0x3c1c14[_0x21ecaa])==null?void 0x0:_0x54ce40[_0x240930];return{'arrayFormulaCellDataMatrix':_0x102996,'unitDataMatrix':_0x4b5c8c};}[_0x43ed60(0x2bf)](_0x373146,_0x33f01f,_0x1f525f){const _0x40bfae=_0x43ed60,_0x94f7c=this[_0x40bfae(0x212)][_0x40bfae(0x18d)](_0x373146,_0x33f01f,_0x1f525f),_0x261849=[],_0x4e5a3f=new _0x3f1699[(_0x40bfae(0x2cb))]();if(_0x94f7c){const {rangeCache:_0x1c00d6,matrix:_0x228a73,oldRangeCache:_0x5d5842,oldMatrix:_0x5c979c}=_0x94f7c,_0x20f0b1=_0x3fa2d9(_0x5d5842),_0x44f3d7=_0x3fa2d9(_0x1c00d6);_0x261849['push'](..._0x44f3d7,..._0x20f0b1),_0x5c979c&&_0x5d5842&&_0x20f0b1[_0x40bfae(0x2f8)](_0x594c13=>{const _0x43f064=_0x40bfae;for(let _0x2d5687=_0x594c13[_0x43f064(0x13a)];_0x2d5687<=_0x594c13['endRow'];_0x2d5687++)for(let _0x181869=_0x594c13[_0x43f064(0x135)];_0x181869<=_0x594c13[_0x43f064(0x1dc)];_0x181869++)_0x4e5a3f[_0x43f064(0x235)](_0x2d5687,_0x181869);}),_0x228a73&&_0x44f3d7&&_0x44f3d7[_0x40bfae(0x2f8)](_0x4a9042=>{const _0x2b1c0c=_0x40bfae;for(let _0x362d72=_0x4a9042[_0x2b1c0c(0x13a)];_0x362d72<=_0x4a9042[_0x2b1c0c(0x18b)];_0x362d72++)for(let _0x20b023=_0x4a9042[_0x2b1c0c(0x135)];_0x20b023<=_0x4a9042[_0x2b1c0c(0x1dc)];_0x20b023++)_0x4e5a3f[_0x2b1c0c(0x297)](_0x362d72,_0x20b023,_0x228a73[_0x2b1c0c(0x381)](_0x362d72,_0x20b023));});}const _0x43f848={};return _0x43f848[_0x373146]={[_0x33f01f]:_0x2a939d(_0x261849)},{'runtimeCellData':{[_0x373146]:{[_0x33f01f]:_0x4e5a3f}},'dirtyRanges':_0x43f848};}[_0x43ed60(0x180)](){}};_0x500fea=_0x4fd81f([_0x4b20b6(0x0,_0x3f1699['Inject'](_0x89a8ec[_0x43ed60(0x1b5)])),_0x4b20b6(0x1,_0x3f1699[_0x43ed60(0x23e)]),_0x4b20b6(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x54af29['IFeatureCalculationManagerService'])),_0x4b20b6(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x163)])),_0x4b20b6(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x54af29['GlobalComputingStatusService'])),_0x4b20b6(0x5,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x383)]))],_0x500fea);var _0x417cf7=Object[_0x43ed60(0x269)],_0x52fbc3=(_0x5498bf,_0x543dbe,_0x140de6,_0x3fd37c)=>{const _0x322684=_0x43ed60;for(var _0x31fb08=_0x3fd37c>0x1?void 0x0:_0x3fd37c?_0x417cf7(_0x543dbe,_0x140de6):_0x543dbe,_0x20e05e=_0x5498bf[_0x322684(0x27d)]-0x1,_0x157734;_0x20e05e>=0x0;_0x20e05e--)(_0x157734=_0x5498bf[_0x20e05e])&&(_0x31fb08=_0x157734(_0x31fb08)||_0x31fb08);return _0x31fb08;},_0x2a0b98=(_0x46dae8,_0x42e767)=>(_0x420f14,_0x241f8a)=>_0x42e767(_0x420f14,_0x241f8a,_0x46dae8);let _0x16f3f8=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x31f309,_0x4e6e6a,_0x1584aa,_0x3ac6e0){const _0x27ef3c=_0x43ed60;super(),_0x575f06(this,_0x27ef3c(0x29a),new _0x3f1699[(_0x27ef3c(0xa1))]()),(this['_univerInstanceService']=_0x31f309,this[_0x27ef3c(0x1c7)]=_0x4e6e6a,this[_0x27ef3c(0x1bb)]=_0x1584aa,this['_sheetsPivotTableConfigModel']=_0x3ac6e0,this[_0x27ef3c(0x246)]());}[_0x43ed60(0x246)](){const _0x39584c=_0x43ed60;this[_0x39584c(0xaf)](this['_sheetInterceptorService'][_0x39584c(0x307)]({'getMutations':_0x3da60c=>{const _0x592c7f=_0x39584c;if(_0x3da60c['id']===_0x1c7b09['ClearSelectionContentCommand']['id']||_0x3da60c['id']===_0x1c7b09['ClearSelectionAllCommand']['id']){const _0x2c9258=[],_0x5e0f30=[],_0x516d8b=this[_0x592c7f(0x1bb)][_0x592c7f(0x195)]()['map'](_0xf3020b=>_0xf3020b['range']),_0x105f7c=_0x1c7b09[_0x592c7f(0x11c)](this['_univerInstanceService']);if(!_0x105f7c)return{'redos':[],'undos':[]};const {unitId:_0x41f2fe,subUnitId:_0x1ee362}=_0x105f7c,_0x195e56={},_0x675230=this[_0x592c7f(0xd6)][_0x592c7f(0x39b)](_0x41f2fe,_0x1ee362);if(_0x675230!=null&&_0x675230['size'])for(const [_0x5d90c5,_0x581340]of _0x675230){const {unitId:_0x24832d,subUnitId:_0x4323b3,row:_0x1be074,col:_0x40e395}=_0x581340[_0x592c7f(0x3a4)];_0x24832d===_0x105f7c[_0x592c7f(0x210)]&&_0x4323b3===_0x105f7c[_0x592c7f(0x15a)]&&(_0x195e56[_0x1be074+'-'+_0x40e395]=_0x5d90c5);}return _0x516d8b&&_0x105f7c&&_0x516d8b[_0x592c7f(0x2f8)](_0x2a218b=>{const _0xbc9ea2=_0x592c7f;_0x3f1699['Range'][_0xbc9ea2(0x1aa)](_0x2a218b,(_0x3904e5,_0xee8488)=>{const _0x139168=_0xbc9ea2,_0x5d2dd8=_0x3904e5+'-'+_0xee8488;if(_0x195e56[_0x5d2dd8]){const _0x17bbce=_0x195e56[_0x5d2dd8];_0x2c9258['push']({'id':_0x3fa252['id'],'params':{'unitId':_0x41f2fe,'subUnitId':_0x1ee362,'pivotTableId':_0x17bbce}});const _0x232527=this[_0x139168(0xd6)]['getCollection'](_0x41f2fe,_0x17bbce),_0x3d8b00=this[_0x139168(0xd6)][_0x139168(0x275)](_0x41f2fe,_0x1ee362,_0x17bbce);_0x5e0f30['push']({'id':_0x158817['id'],'params':{'unitId':_0x41f2fe,'subUnitId':_0x1ee362,'pivotTableId':_0x17bbce,'pivotTableConfig':_0x3d8b00,'collectionConfig':_0x232527}});}});}),{'redos':_0x2c9258,'undos':_0x5e0f30};}return{'redos':[],'undos':[]};}}));}};_0x16f3f8=_0x52fbc3([_0x2a0b98(0x0,_0x3f1699['IUniverInstanceService']),_0x2a0b98(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09[_0x43ed60(0x133)])),_0x2a0b98(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09['SheetsSelectionsService'])),_0x2a0b98(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)]))],_0x16f3f8);var _0x536239=Object['getOwnPropertyDescriptor'],_0x4672a9=(_0x343c84,_0x44a7e4,_0x4bf06a,_0x12be58)=>{const _0x5110be=_0x43ed60;for(var _0x5c5d44=_0x12be58>0x1?void 0x0:_0x12be58?_0x536239(_0x44a7e4,_0x4bf06a):_0x44a7e4,_0x59e4ee=_0x343c84[_0x5110be(0x27d)]-0x1,_0x39bc92;_0x59e4ee>=0x0;_0x59e4ee--)(_0x39bc92=_0x343c84[_0x59e4ee])&&(_0x5c5d44=_0x39bc92(_0x5c5d44)||_0x5c5d44);return _0x5c5d44;},_0x40e43a=(_0x469605,_0x11d567)=>(_0x305202,_0x22b5e9)=>_0x11d567(_0x305202,_0x22b5e9,_0x469605);let _0x3fa19b=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x5368fa,_0x149e95,_0x3bed71,_0x380ef1,_0x46782f,_0x11070c){const _0x1ceaa1=_0x43ed60;super(),this[_0x1ceaa1(0x1da)]=_0x5368fa,this[_0x1ceaa1(0x1c7)]=_0x149e95,this[_0x1ceaa1(0x2f1)]=_0x3bed71,this[_0x1ceaa1(0x2dc)]=_0x380ef1,this[_0x1ceaa1(0xd6)]=_0x46782f,this[_0x1ceaa1(0x1a4)]=_0x11070c,this[_0x1ceaa1(0x20f)]();}[_0x43ed60(0x3a3)](_0x14686a,_0x26f22e,_0x3fdc67){const _0x4d6f56=_0x43ed60,{pageView:_0x2b75a0,cornerView:_0x7d05b,rowView:_0x59423b,colView:_0x1700c6,dataView:_0x22d523}=_0x26f22e,_0x466ae0=_0x14686a;let _0x4bcd1f;if(_0x3fdc67)_0x4bcd1f=[..._0x51080a(_0x466ae0)];else{const _0xe6e0e6=_0x3688e4(_0x466ae0,_0x2b75a0,!0x0),_0x3a09c0=_0x2b75a0[_0x4d6f56(0x121)]>=0x0?_0x2b75a0[_0x4d6f56(0x121)]+0x1:0x0,_0x3c9723=_0x7d05b[_0x4d6f56(0x140)],_0x4edb34=_0x7d05b[_0x4d6f56(0x19b)],_0x2845f3=_0xe6e0e6[_0x4d6f56(0x27d)]>0x0?_0x4cd667:0x0,_0x148c58=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3,'col':_0x466ae0['col']},_0x7d05b,!0x1,!0x1),_0x1cf204=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3+_0x3c9723,'col':_0x466ae0['col']},_0x59423b,!0x1,!0x0),_0x33431a=_0x3688e4({'row':_0x466ae0[_0x4d6f56(0x329)]+_0x3a09c0+_0x2845f3,'col':_0x466ae0['col']+_0x4edb34},_0x1700c6,!0x1,!0x0),_0x2398bb=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3+_0x3c9723,'col':_0x466ae0[_0x4d6f56(0x14c)]+_0x4edb34},_0x22d523,!0x1,!0x0);_0x4bcd1f=[..._0xe6e0e6,..._0x148c58,..._0x1cf204,..._0x33431a,..._0x2398bb];}return _0x4bcd1f;}[_0x43ed60(0x20f)](){const _0xbe9563=_0x43ed60;this['disposeWithMe'](this[_0xbe9563(0x1a4)][_0xbe9563(0x2f9)][_0xbe9563(0x188)](this[_0xbe9563(0x1a4)][_0xbe9563(0x2f9)][_0xbe9563(0x17b)]()[_0xbe9563(0x37c)],{'handler':(_0x18603d,_0x37710f)=>{const _0x2de937=_0xbe9563,{cellInfo:_0x35c635,view:_0x588dc9,isEmpty:_0x18abd0}=_0x37710f,_0x567861=_0x35c635,{unitId:_0xcb13de,subUnitId:_0xb0bc00}=_0x567861,_0x297cf0=this['_getPivotAppliedRanges'](_0x35c635,_0x588dc9,_0x18abd0),_0x488452=this[_0x2de937(0x1c7)][_0x2de937(0x1b2)]({'unitId':_0xcb13de,'subUnitId':_0xb0bc00,'ranges':_0x297cf0}),_0x35fbd8=_0x228cb9(this[_0x2de937(0x2f1)],_0xcb13de,_0xb0bc00,_0x297cf0);_0x35fbd8['shouldClear']&&(_0x488452[_0x2de937(0x245)][_0x2de937(0x182)](_0x35fbd8[_0x2de937(0xc4)]),_0x488452[_0x2de937(0x176)][_0x2de937(0x182)](_0x35fbd8[_0x2de937(0xd3)]));const _0x3f5161=this[_0x2de937(0x3a0)](_0x588dc9,_0x35c635);return _0x488452[_0x2de937(0x245)]['push'](..._0x3f5161[_0x2de937(0x245)]),_0x488452[_0x2de937(0x176)][_0x2de937(0x182)](..._0x3f5161[_0x2de937(0x176)]),{'redos':_0x488452[_0x2de937(0x245)],'undos':_0x488452[_0x2de937(0x176)]};}}));}[_0x43ed60(0x3a0)](_0x4c67d3,_0x1a5d99){const _0x38d40c=_0x43ed60,{col:_0x4cdfae,unitId:_0x634e60,subUnitId:_0x4dc39e}=_0x1a5d99,_0xfa7fba=[],_0x2f43a9=[],_0x3bc383=_0x1c7b09['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x634e60,'subUnitId':_0x4dc39e});if(!_0x1a5d99||!_0x4c67d3||!_0x3bc383)return{'undos':_0x2f43a9,'redos':_0xfa7fba};const _0x1e09cf=this['_sheetsPivotTableConfigModel'][_0x38d40c(0x1a0)](),{colView:_0x45556c,dataView:_0x3e8869,cornerView:_0xf7cf84,rowView:_0x5e6095,formatMap:_0x3ff0de}=_0x4c67d3,_0x5414d1=_0x40f147(_0x45556c,_0x1e09cf,!0x0,_0x3ff0de),_0x1336dc=_0x40f147(_0x5e6095,_0x1e09cf,!0x1,_0x3ff0de),_0x2728bd=_0x838b47(_0x3e8869),_0x4c9187=_0xd435f9(_0xf7cf84),{worksheet:_0x385c9e}=_0x3bc383;if(typeof window<'u'&&window[_0x38d40c(0x326)]){const _0x4ca632=_0x340edc['getFontStyleString']({..._0x4939a9['colStyle']}),_0x5ebe2b=_0x340edc[_0x38d40c(0x104)][_0x38d40c(0x9d)](_0x5414d1,_0x4ca632)['width']+0x10,_0x263da8=_0x340edc[_0x38d40c(0x104)]['getTextSize'](_0x2728bd,_0x4ca632)['width'],_0x2606bf=Math[_0x38d40c(0x12f)](Math[_0x38d40c(0x144)](_0x5ebe2b,_0x263da8))+0x10,_0x3ff18a=Math[_0x38d40c(0x12f)](_0x340edc['FontCache'][_0x38d40c(0x9d)](_0x1336dc,_0x4ca632)['width']),_0x238bc9=Math[_0x38d40c(0x12f)](_0x340edc[_0x38d40c(0x104)][_0x38d40c(0x9d)](_0x4c9187,_0x4ca632)[_0x38d40c(0x1d9)]),_0x3f0f1d=Math[_0x38d40c(0x144)](_0x3ff18a,_0x238bc9,0x28)+0xc,_0x517891=_0x45556c[_0x38d40c(0x19b)]+_0xf7cf84[_0x38d40c(0x19b)],_0x5e1695={},_0x5a15a5={};for(let _0x269043=_0x4cdfae;_0x269043<_0x4cdfae+_0x517891;_0x269043++){const _0x3596b4=_0x385c9e[_0x38d40c(0xf3)](_0x269043);_0x5e1695[_0x269043]=_0x3596b4,_0x269043-_0x4cdfae<_0xf7cf84['colCount']?_0x5a15a5[_0x269043-_0x4cdfae]=_0x3f0f1d:_0x5a15a5[_0x269043-_0x4cdfae]=_0x2606bf;}_0xfa7fba[_0x38d40c(0x182)]({'id':_0x1c7b09[_0x38d40c(0x341)]['id'],'params':{'subUnitId':_0x4dc39e,'unitId':_0x634e60,'ranges':[{'startColumn':_0x4cdfae,'endColumn':_0x4cdfae+_0x517891-0x1,'startRow':0x0,'endRow':_0x385c9e[_0x38d40c(0x2b0)]()-0x1}],'colWidth':_0x5a15a5}}),_0x2f43a9[_0x38d40c(0x182)]({'id':_0x1c7b09[_0x38d40c(0x341)]['id'],'params':{'subUnitId':_0x4dc39e,'unitId':_0x634e60,'ranges':[{'startColumn':_0x4cdfae,'endColumn':_0x4cdfae+_0x517891-0x1,'startRow':0x0,'endRow':_0x385c9e[_0x38d40c(0x2b0)]()-0x1}],'colWidth':_0x5e1695}});}return{'undos':_0x2f43a9,'redos':_0xfa7fba};}};_0x3fa19b=_0x4672a9([_0x40e43a(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x27e)])),_0x40e43a(0x1,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x133)])),_0x40e43a(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x40e43a(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x40e43a(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x40e43a(0x5,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xba)]))],_0x3fa19b);var _0x3a1b3f=Object[_0x43ed60(0x269)],_0x107260=(_0x20c52e,_0x376423,_0x383d69,_0x5b9476)=>{const _0x161fb0=_0x43ed60;for(var _0x43e100=_0x5b9476>0x1?void 0x0:_0x5b9476?_0x3a1b3f(_0x376423,_0x383d69):_0x376423,_0x1e54d9=_0x20c52e[_0x161fb0(0x27d)]-0x1,_0x1c9721;_0x1e54d9>=0x0;_0x1e54d9--)(_0x1c9721=_0x20c52e[_0x1e54d9])&&(_0x43e100=_0x1c9721(_0x43e100)||_0x43e100);return _0x43e100;},_0x3db426=(_0x470f5c,_0x57bc45)=>(_0x4239db,_0x6d78b8)=>_0x57bc45(_0x4239db,_0x6d78b8,_0x470f5c);let _0x14f8d7=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2f0da7,_0x567a91,_0x4ecc21,_0x53801a,_0x5b5e45,_0x15094d,_0x4afa9b){const _0x3b790b=_0x43ed60;super(),_0x575f06(this,_0x3b790b(0x29a),new _0x3f1699[(_0x3b790b(0xa1))]()),(this[_0x3b790b(0x2f1)]=_0x2f0da7,this['_refRangeService']=_0x567a91,this[_0x3b790b(0x399)]=_0x4ecc21,this[_0x3b790b(0x2dc)]=_0x53801a,this[_0x3b790b(0xd6)]=_0x5b5e45,this[_0x3b790b(0x2cc)]=_0x15094d,this[_0x3b790b(0x1c7)]=_0x4afa9b,this['_onRefRangeChange']());}[_0x43ed60(0x191)](){const _0x33d25b=_0x43ed60,_0x225a3e=(_0x2d853d,_0x28d88f)=>{const _0x3031d1=_0xc6ae,_0x535907=this[_0x3031d1(0x2dc)][_0x3031d1(0x2a7)](_0x3f1699['UniverInstanceType']['UNIVER_SHEET']);if(!_0x535907||!(_0x535907==null?void 0x0:_0x535907['getSheetBySheetId'](_0x28d88f)))return;this[_0x3031d1(0x29a)][_0x3031d1(0x180)]();const _0x55ecdb=_0x3f75c1=>this[_0x3031d1(0x2a2)](_0x3f75c1,_0x2d853d,_0x28d88f),_0x54817e=this[_0x3031d1(0xd6)]['getSubUnitPivotConfigs'](_0x2d853d,_0x28d88f);if(!(_0x54817e!=null&&_0x54817e['size']))return;Array['from'](_0x54817e[_0x3031d1(0x213)]())[_0x3031d1(0xca)](_0xeb8d09=>{const _0x3d83ea=_0x3031d1,{row:_0x444a72,col:_0x380cff}=_0xeb8d09['targetCellInfo'];return _0x3f1699[_0x3d83ea(0x240)](_0x444a72,_0x380cff);})[_0x3031d1(0x2f8)](_0x4ac555=>{const _0x2d87a5=_0x3031d1;this[_0x2d87a5(0x29a)]['add'](this[_0x2d87a5(0x12e)][_0x2d87a5(0x267)](_0x4ac555,_0x55ecdb,_0x2d853d,_0x28d88f));});},_0x565f7d=()=>{const _0x17db9e=_0xc6ae,_0xed20f5=this[_0x17db9e(0x2dc)]['getCurrentUnitForType'](_0x3f1699[_0x17db9e(0x139)][_0x17db9e(0xfd)]);if(_0xed20f5){const _0x2aff14=_0xed20f5[_0x17db9e(0x25e)]();if(!_0x2aff14)return;_0x225a3e(_0xed20f5[_0x17db9e(0x330)](),_0x2aff14[_0x17db9e(0x344)]());}};this['disposeWithMe'](this[_0x33d25b(0x399)][_0x33d25b(0x149)](_0x395fd6=>{const _0x150cfe=_0x33d25b;if(_0x395fd6['id']===_0x1c7b09[_0x150cfe(0x1ce)]['id']){const _0x37adef=_0x395fd6[_0x150cfe(0x2c9)],_0x5ddf4c=_0x37adef[_0x150cfe(0x15a)],_0x58460e=_0x37adef[_0x150cfe(0x210)];if(!_0x5ddf4c||!_0x58460e)return;_0x225a3e(_0x58460e,_0x5ddf4c);}})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$']['subscribe'](_0x34f650=>{_0x34f650&&_0x565f7d();})),this[_0x33d25b(0xaf)](this[_0x33d25b(0xd6)]['pivotConfigChange$'][_0x33d25b(0x3ae)](_0x3b8f7f=>{const _0x13c641=_0x33d25b,_0x1dc7e8=_0x1c7b09[_0x13c641(0x11c)](this['_univerInstanceService']);if(!_0x1dc7e8)return;const {unitId:_0x27a65a,subUnitId:_0x4e1d8}=_0x1dc7e8,{unitId:_0x1b679c,subUnitId:_0xbe6e43}=_0x3b8f7f;_0x27a65a!==_0x1b679c||_0x4e1d8!==_0xbe6e43||_0x225a3e(_0x27a65a,_0x4e1d8);})),_0x565f7d();}[_0x43ed60(0x2a2)](_0x385be6,_0x3b72d4,_0x39e86d){const _0x279762=_0x43ed60;switch(_0x385be6['id']){case _0x1c7b09[_0x279762(0x364)]['id']:return this[_0x279762(0x27b)](_0x385be6[_0x279762(0x2c9)],_0x3b72d4,_0x39e86d);}return{'redos':[],'undos':[]};}[_0x43ed60(0x27b)](_0x3f1d60,_0xa02e7c,_0x29943c){const _0x97737a=_0x43ed60,{fromRange:_0x2a46f5,toRange:_0x24c2ea}=_0x3f1d60,_0x5660de=[],_0x57c409=[],_0x44030e=_0x1c7b09[_0x97737a(0x11c)](this[_0x97737a(0x2dc)]);if(!_0x44030e)return{'undos':_0x57c409,'redos':_0x5660de};if(_0xa02e7c!==_0x44030e['unitId']||_0x29943c!==_0x44030e[_0x97737a(0x15a)])return{'undos':_0x57c409,'redos':_0x5660de};const _0x21181a=this[_0x97737a(0xd6)]['getSubUnitPivotConfigs'](_0xa02e7c,_0x29943c);if(_0x21181a!=null&&_0x21181a[_0x97737a(0x1e8)])for(const [_0x8ebd05,_0x28bde6]of _0x21181a){const {unitId:_0x1fd9fb,subUnitId:_0x558497,row:_0x1787b6,col:_0x41e96c}=_0x28bde6[_0x97737a(0x3a4)];if(_0x1fd9fb===_0x44030e[_0x97737a(0x210)]&&_0x558497===_0x44030e[_0x97737a(0x15a)]){const _0x3c85c1=_0x3f1699[_0x97737a(0x240)](_0x1787b6,_0x41e96c);if(_0x3f1699[_0x97737a(0x36b)]['intersects'](_0x3c85c1,_0x2a46f5)){const _0x1cda22=_0x1787b6-_0x2a46f5[_0x97737a(0x13a)],_0x431c49=_0x41e96c-_0x2a46f5[_0x97737a(0x135)],_0x5f4870={'row':_0x24c2ea[_0x97737a(0x13a)]+_0x1cda22,'col':_0x24c2ea['startColumn']+_0x431c49};_0x5660de[_0x97737a(0x182)]({'id':_0x118dc3['id'],'params':{'unitId':_0x1fd9fb,'subUnitId':_0x558497,'pivotTableId':_0x8ebd05,'targetCellPosition':_0x5f4870}}),_0x57c409[_0x97737a(0x182)]({'id':_0x118dc3['id'],'params':{'unitId':_0x1fd9fb,'subUnitId':_0x558497,'pivotTableId':_0x8ebd05,'targetCellPosition':{'row':_0x1787b6,'col':_0x41e96c}}});const _0x3b576c=_0x5f4870[_0x97737a(0x329)]-_0x1787b6,_0x1ccdf6=_0x5f4870[_0x97737a(0x14c)]-_0x41e96c,_0x548180=[],_0x418b3f=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x1fd9fb,_0x558497,_0x8ebd05),_0x124e0c=_0x418b3f==null?void 0x0:_0x418b3f[_0x97737a(0x250)];if(_0x124e0c){Object[_0x97737a(0x375)](_0x124e0c)[_0x97737a(0x2f8)](_0x26fcf6=>{const _0x476e57=_0x97737a;_0x124e0c[_0x26fcf6][_0x476e57(0x2f8)](_0x53e285=>{const _0x565f6e=_0x476e57,_0x2a2a62={..._0x53e285};_0x2a2a62['startRow']=_0x53e285['startRow']+_0x3b576c,_0x2a2a62[_0x565f6e(0x18b)]=_0x53e285['endRow']+_0x3b576c,_0x2a2a62[_0x565f6e(0x135)]=_0x53e285[_0x565f6e(0x135)]+_0x1ccdf6,_0x2a2a62[_0x565f6e(0x1dc)]=_0x53e285[_0x565f6e(0x1dc)]+_0x1ccdf6,_0x548180[_0x565f6e(0x182)](_0x2a2a62);});});const _0x29ca3c=this['_sheetInterceptorService'][_0x97737a(0x1b2)]({'unitId':_0x1fd9fb,'subUnitId':_0x558497,'ranges':_0x548180});_0x5660de[_0x97737a(0x182)](..._0x29ca3c[_0x97737a(0x245)]),_0x57c409['push'](..._0x29ca3c[_0x97737a(0x176)]);const _0x37135a=_0x228cb9(this[_0x97737a(0x2f1)],_0x1fd9fb,_0x558497,_0x548180);_0x37135a[_0x97737a(0x316)]&&(_0x5660de[_0x97737a(0x182)](_0x37135a['setRangeValueRedoMutation']),_0x57c409[_0x97737a(0x182)](_0x37135a[_0x97737a(0xd3)]));}}}}return{'redos':_0x5660de,'undos':_0x57c409};}};_0x14f8d7=_0x107260([_0x3db426(0x0,_0x3f1699['Inject'](_0x3f1699['Injector'])),_0x3db426(0x1,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x220)])),_0x3db426(0x2,_0x3f1699['ICommandService']),_0x3db426(0x3,_0x3f1699[_0x43ed60(0x1b9)]),_0x3db426(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x3db426(0x5,_0x3f1699['Inject'](_0x89a8ec[_0x43ed60(0x1ef)])),_0x3db426(0x6,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09['SheetInterceptorService']))],_0x14f8d7);var _0x433747=Object[_0x43ed60(0x269)],_0x5d37e9=(_0x3731c6,_0x3eb1da,_0x2198db,_0x475482)=>{const _0x4fd1af=_0x43ed60;for(var _0x1db35b=_0x475482>0x1?void 0x0:_0x475482?_0x433747(_0x3eb1da,_0x2198db):_0x3eb1da,_0x6bf9fa=_0x3731c6[_0x4fd1af(0x27d)]-0x1,_0x14247d;_0x6bf9fa>=0x0;_0x6bf9fa--)(_0x14247d=_0x3731c6[_0x6bf9fa])&&(_0x1db35b=_0x14247d(_0x1db35b)||_0x1db35b);return _0x1db35b;},_0x54a561=(_0x4b123d,_0x15845c)=>(_0x5510b9,_0x31f9b6)=>_0x15845c(_0x5510b9,_0x31f9b6,_0x4b123d);let _0x5885e7=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x5ed089,_0x3b6148){const _0x42f896=_0x43ed60;super(),this[_0x42f896(0x1c7)]=_0x5ed089,this[_0x42f896(0xd6)]=_0x3b6148,this[_0x42f896(0x1ac)]();}['_initRemoveSheetCommandInterceptor'](){const _0x42f2dd=_0x43ed60;this[_0x42f2dd(0xaf)](this['_sheetInterceptorService'][_0x42f2dd(0x307)]({'getMutations':_0x22c40e=>{const _0x467185=_0x42f2dd;if(_0x22c40e['id']===_0x1c7b09[_0x467185(0x2d6)]['id']){const _0x542ee0=[],_0x4acebd=[],_0x1c37da=_0x22c40e['params'],{unitId:_0x23fb15,subUnitId:_0x44794f}=_0x1c37da;if(!_0x23fb15||!_0x44794f)return{'undos':_0x4acebd,'redos':_0x542ee0};const _0x4b79ff=this[_0x467185(0xd6)]['getSubUnitPivotConfigs'](_0x23fb15,_0x44794f);if(_0x4b79ff!=null&&_0x4b79ff[_0x467185(0x1e8)])for(const [_0x56f291,_0xcecca]of _0x4b79ff){_0x542ee0[_0x467185(0x182)]({'id':_0x3fa252['id'],'params':{'unitId':_0x23fb15,'subUnitId':_0x44794f,'pivotTableId':_0x56f291}});const _0x16919d={...this[_0x467185(0xd6)][_0x467185(0x361)](_0x23fb15,_0x56f291)};_0x4acebd[_0x467185(0x182)]({'id':_0x158817['id'],'params':{'unitId':_0x23fb15,'subUnitId':_0x44794f,'pivotTableId':_0x56f291,'pivotTableConfig':_0xcecca,'collectionConfig':_0x16919d}});}return{'redos':_0x542ee0,'undos':_0x4acebd};}return{'redos':[],'undos':[]};}}));}};_0x5885e7=_0x5d37e9([_0x54a561(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09[_0x43ed60(0x133)])),_0x54a561(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec['SheetsPivotTableConfigModel']))],_0x5885e7);var _0x478b3e=Object['getOwnPropertyDescriptor'],_0x5b3cab=(_0x5e66cf,_0x2cadc0,_0x263248,_0x2b80a6)=>{for(var _0x4d8261=_0x2b80a6>0x1?void 0x0:_0x2b80a6?_0x478b3e(_0x2cadc0,_0x263248):_0x2cadc0,_0x43ec7b=_0x5e66cf['length']-0x1,_0x324e3d;_0x43ec7b>=0x0;_0x43ec7b--)(_0x324e3d=_0x5e66cf[_0x43ec7b])&&(_0x4d8261=_0x324e3d(_0x4d8261)||_0x4d8261);return _0x4d8261;},_0x843479=(_0x121c84,_0x5c0b2d)=>(_0x36c924,_0x12843c)=>_0x5c0b2d(_0x36c924,_0x12843c,_0x121c84);let _0xe8846f=class extends _0x3f1699['Disposable']{constructor(_0x264935,_0x21daf1,_0x37a39f,_0x1c2c14,_0x1b4f86,_0x52e876){const _0x44711a=_0x43ed60;super(),this['_commandService']=_0x264935,this[_0x44711a(0x314)]=_0x21daf1,this['_sheetsPivotTableAdaptorModel']=_0x37a39f,this[_0x44711a(0xd6)]=_0x1c2c14,this[_0x44711a(0x2dc)]=_0x1b4f86,this[_0x44711a(0x1b4)]=_0x52e876,this['_initDataSendListener'](),this[_0x44711a(0x286)]();}[_0x43ed60(0x125)](){const _0x270be4=_0x43ed60;this[_0x270be4(0xaf)](this['_commandService']['onCommandExecuted'](_0x4a1922=>{const _0x1a1a75=_0x270be4;if(_0x4a1922['id']!==_0x193676['id'])return;const _0x359fbc=_0x4a1922[_0x1a1a75(0x2c9)];this[_0x1a1a75(0x314)]['handleAsyncResponse'](_0x359fbc);})),this['disposeWithMe'](this[_0x270be4(0x399)][_0x270be4(0x149)](_0x51693a=>{const _0x5106b3=_0x270be4;if(_0x51693a['id']===_0x3ffdcd['id']){const _0x223ad7=_0x51693a[_0x5106b3(0x2c9)];if(_0x223ad7){const {unitId:_0x325df9,subUnitId:_0x44c989,oldSubUnitId:_0x33f19f,pivotTableId:_0x11a8b4,pivotTableConfig:_0xb408da,collectionConfig:_0x1f79c2}=_0x223ad7;this[_0x5106b3(0xd6)]['updateConfigCache'](_0x325df9,_0x33f19f,_0x223ad7[_0x5106b3(0x281)],null),this[_0x5106b3(0xd6)][_0x5106b3(0x2b5)](_0x325df9,_0x44c989,_0x11a8b4,_0xb408da),this[_0x5106b3(0xd6)][_0x5106b3(0x32a)](_0x325df9,_0x1f79c2);}}})),this[_0x270be4(0xaf)](this['_commandService']['onCommandExecuted'](_0x4a4359=>{const _0x2b02cc=_0x270be4;if(_0x4a4359['id']!==_0x4c5ebb['id'])return;const _0x57f8be=_0x1c7b09['getSheetCommandTarget'](this[_0x2b02cc(0x2dc)]);if(!_0x57f8be)return;const {unitId:_0x4f9276,subUnitId:_0x207505}=_0x57f8be,_0x1e2949=_0x4a4359[_0x2b02cc(0x2c9)];if(_0x1e2949[_0x2b02cc(0x25d)]&&Object[_0x2b02cc(0x375)](_0x1e2949[_0x2b02cc(0x25d)])['forEach'](_0x939951=>{const _0x525bfe=_0x2b02cc;var _0x520f27;(_0x520f27=_0x1e2949['collectionConfig'])!=null&&_0x520f27[_0x939951]&&this[_0x525bfe(0xd6)]['updateCollectionConfig'](_0x939951,_0x1e2949[_0x525bfe(0x25d)][_0x939951]);}),_0x1e2949[_0x2b02cc(0x28a)]){const _0x56c9d8=_0x1e2949['single'],{unitId:_0xe3d26c,subUnitId:_0x211f3e,view:_0x1f40d2,pivotTableId:_0x4200ea,type:_0x1f5823,pivotConfig:_0x2ad7a2}=_0x56c9d8;if(_0x1f5823===_0x1870de[_0x2b02cc(0x39e)])this['_sheetsPivotTableAdaptorModel'][_0x2b02cc(0x26b)]({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'pivotTableId':_0x4200ea,'type':_0x1f5823}),this[_0x2b02cc(0xd6)][_0x2b02cc(0x2b5)](_0xe3d26c,_0x211f3e,_0x4200ea,null);else{const _0x239456=new _0x24a6f0['PivotView']();_0x239456['formJSON'](_0x1f40d2),this[_0x2b02cc(0xd6)]['updateConfigCache'](_0xe3d26c,_0x211f3e,_0x4200ea,_0x2ad7a2),this[_0x2b02cc(0x2cc)]['clearRenderCache']({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'pivotTableId':_0x4200ea,'type':_0x1f5823,'view':_0x239456}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'view':_0x239456,'pivotTableId':_0x4200ea,'type':_0x1f5823});}}else _0x1e2949[_0x2b02cc(0xcf)]&&(_0x1e2949[_0x2b02cc(0xcf)][_0x2b02cc(0x2f8)](_0x10a391=>{const _0x1f5e15=_0x2b02cc,{unitId:_0x459a2c,subUnitId:_0x2a2d09,view:_0x3b53fe,pivotTableId:_0x3f6e0e,type:_0x27b286,pivotConfig:_0x407869}=_0x10a391,_0x283328=new _0x24a6f0[(_0x1f5e15(0x25b))]();_0x283328[_0x1f5e15(0xd2)](_0x3b53fe),this[_0x1f5e15(0xd6)][_0x1f5e15(0x2b5)](_0x459a2c,_0x2a2d09,_0x3f6e0e,_0x407869),this[_0x1f5e15(0x2cc)][_0x1f5e15(0x27a)]({'unitId':_0x459a2c,'subUnitId':_0x2a2d09,'view':_0x283328,'pivotTableId':_0x3f6e0e,'type':_0x27b286});}),this['_sheetsPivotTableConfigModel'][_0x2b02cc(0x22a)]());this[_0x2b02cc(0x2cc)][_0x2b02cc(0x27f)](_0x4f9276,_0x207505);}));}[_0x43ed60(0x286)](){const _0x3d2e67=_0x43ed60;this[_0x3d2e67(0x1b4)][_0x3d2e67(0x244)](_0x1e4960['id'],{'commandId':_0x1e4960['id'],'getDirtyData'(_0x17a03c){const _0x41c62c=_0x3d2e67;return{'dirtyUnitFeatureMap':_0x17a03c[_0x41c62c(0x2c9)]};}});}};_0xe8846f=_0x5b3cab([_0x843479(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x163)])),_0x843479(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x392)])),_0x843479(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x1ef)])),_0x843479(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x843479(0x4,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x843479(0x5,_0x54af29[_0x43ed60(0x23a)])],_0xe8846f);var _0x3f129a=Object['defineProperty'],_0x5c2d19=Object['getOwnPropertyDescriptor'],_0x7a59de=(_0x1c2ab4,_0x14d99f,_0x546b6c)=>_0x14d99f in _0x1c2ab4?_0x3f129a(_0x1c2ab4,_0x14d99f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x546b6c}):_0x1c2ab4[_0x14d99f]=_0x546b6c,_0x3d1c83=(_0x461ac1,_0x1233e9,_0x44bb1d,_0x2d6d17)=>{const _0x52e9e8=_0x43ed60;for(var _0x247621=_0x2d6d17>0x1?void 0x0:_0x2d6d17?_0x5c2d19(_0x1233e9,_0x44bb1d):_0x1233e9,_0xf86544=_0x461ac1[_0x52e9e8(0x27d)]-0x1,_0x4f54dc;_0xf86544>=0x0;_0xf86544--)(_0x4f54dc=_0x461ac1[_0xf86544])&&(_0x247621=_0x4f54dc(_0x247621)||_0x247621);return _0x247621;},_0x12d9d2=(_0x228008,_0x183869)=>(_0x58a769,_0x1bf990)=>_0x183869(_0x58a769,_0x1bf990,_0x228008),_0x4b7164=(_0x408133,_0x1a7024,_0x431e0a)=>_0x7a59de(_0x408133,typeof _0x1a7024!=_0x43ed60(0x11f)?_0x1a7024+'':_0x1a7024,_0x431e0a);_0x89a8ec['UniverSheetsPivotTablePlugin']=class extends _0x3f1699[_0x43ed60(0x283)]{constructor(_0x4fec6f=_0x548652,_0x123cf8,_0xee879b,_0x25373f,_0x5ad637){const _0x27de31=_0x43ed60;super(),this[_0x27de31(0x9c)]=_0x4fec6f,this[_0x27de31(0x2f1)]=_0x123cf8,this[_0x27de31(0x399)]=_0xee879b,this['_configService']=_0x25373f,this[_0x27de31(0x3a2)]=_0x5ad637;const {..._0x5cf6ab}=_0x3f1699[_0x27de31(0xe0)]({},_0x548652,this['_config']);this['_configService'][_0x27de31(0x335)](_0x3b7866,_0x5cf6ab),this['_initRegisterCommand'](),this['_initConfig']();}[_0x43ed60(0xe5)](){const _0x4479c1=_0x43ed60;var _0x15864b;const _0x57e2c6=(_0x15864b=this[_0x4479c1(0x9c)])==null?void 0x0:_0x15864b[_0x4479c1(0x18a)];this[_0x4479c1(0x359)][_0x4479c1(0x335)](_0x57d9c3,_0x57e2c6===!0x0);}[_0x43ed60(0x317)](){const _0x2c9944=_0x43ed60;var _0x2c8650;let _0xde8d34=[];const _0x14299a=(_0x2c8650=this[_0x2c9944(0x9c)])==null?void 0x0:_0x2c8650['notExecuteFormula'];_0x14299a===!0x0?_0xde8d34=[[_0x89a8ec[_0x2c9944(0xba)]],[_0x89a8ec[_0x2c9944(0x392)]],[_0xe8846f],[_0x89a8ec['SheetsPivotTableAdaptorModel']],[_0x89a8ec[_0x2c9944(0xb3)]],[_0x5885e7],[_0x16f3f8],[_0x14f8d7],[_0x3fa19b]]:_0x14299a===!0x1?_0xde8d34=[[_0x89a8ec[_0x2c9944(0x1b5)]],[_0x500fea]]:_0x14299a===void 0x0&&(_0xde8d34=[[_0x89a8ec[_0x2c9944(0x1b5)]],[_0x500fea],[_0x89a8ec[_0x2c9944(0xba)]],[_0x89a8ec[_0x2c9944(0x392)]],[_0xe8846f],[_0x89a8ec[_0x2c9944(0x1ef)]],[_0x89a8ec[_0x2c9944(0xb3)]],[_0x5885e7],[_0x16f3f8],[_0x14f8d7],[_0x3fa19b]]),_0xde8d34[_0x2c9944(0x2f8)](_0x578cbc=>this[_0x2c9944(0x2f1)][_0x2c9944(0xe9)](_0x578cbc)),[_0x500fea,_0xe8846f,_0x89a8ec['SheetsPivotTableService'],_0x16f3f8,_0x5885e7,_0x14f8d7,_0x3fa19b][_0x2c9944(0x2f8)](_0x16c239=>{const _0x3b7644=_0x2c9944;this[_0x3b7644(0x2f1)][_0x3b7644(0x1d1)](_0x16c239)&&this[_0x3b7644(0x2f1)]['get'](_0x16c239);});}[_0x43ed60(0x2e8)](){const _0x2e2b8b=_0x43ed60;[_0x2355f0,_0xa736a1,_0x3f11e0,_0x1e7f27,_0x59be0b,_0x3af9ef,_0x427b3e,_0x1e7c51,_0x4df349,_0x1cf9cd,_0x1d8ad2,_0x3c72f3,_0x30bfee,_0x55ad53,_0x158817,_0x6eb560,_0x3fa252,_0x2683fb,_0x50e961,_0x3d58af,_0x32fa40,_0x4c4039,_0x33ff97,_0x4d2e93,_0xdc2a8,_0x1082bc,_0x118dc3,_0x5cd217,_0x193676,_0x4c5ebb,_0x1389af,_0xad2258,_0x47dd65,_0x574c2c,_0x34e502,_0x100c03,_0x344faf,_0x1e4960,_0x3ffdcd,_0x1cacdd,_0x56fe20,_0x3c2f81,_0x4106d8][_0x2e2b8b(0x2f8)](_0x5d0b47=>{const _0x481a48=_0x2e2b8b;var _0x3d202e;(_0x3d202e=this[_0x481a48(0x3a2)])==null||_0x3d202e[_0x481a48(0x20e)](_0x5d0b47),this[_0x481a48(0x399)]['registerCommand'](_0x5d0b47);});}},_0x4b7164(_0x89a8ec[_0x43ed60(0x25c)],_0x43ed60(0x2dd),_0x1cc3eb),_0x4b7164(_0x89a8ec[_0x43ed60(0x25c)],_0x43ed60(0x347),_0x3f1699[_0x43ed60(0x139)]['UNIVER_SHEET']),_0x89a8ec[_0x43ed60(0x25c)]=_0x3d1c83([_0x3f1699['DependentOn'](_0x48414d['UniverLicensePlugin']),_0x12d9d2(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x12d9d2(0x2,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x163)])),_0x12d9d2(0x3,_0x3f1699[_0x43ed60(0x23e)]),_0x12d9d2(0x4,_0x3f1699[_0x43ed60(0x1fe)](_0x59f156[_0x43ed60(0x334)]))],_0x89a8ec[_0x43ed60(0x25c)]),_0x89a8ec[_0x43ed60(0x277)]=_0x3f11e0,_0x89a8ec['AddPivotFieldMutation']=_0x2683fb,_0x89a8ec[_0x43ed60(0x253)]=_0xa736a1,_0x89a8ec['AddPivotTableMutation']=_0x158817,_0x89a8ec[_0x43ed60(0x23c)]=_0x2355f0,_0x89a8ec['BLANK_ROW_COUNT']=_0x4cd667,_0x89a8ec[_0x43ed60(0xac)]=_0x53ba46,_0x89a8ec[_0x43ed60(0x205)]=_0x1e7f27,_0x89a8ec[_0x43ed60(0x31f)]=_0x30bfee,_0x89a8ec['PivotDisplayDataType']=_0x56b655,_0x89a8ec[_0x43ed60(0x363)]=_0x55ad53,_0x89a8ec['PivotTableOperationEnum']=_0x1870de,_0x89a8ec[_0x43ed60(0x243)]=_0x1e4960,_0x89a8ec[_0x43ed60(0xdb)]=_0x581236,_0x89a8ec['RemovePivotFieldCommand']=_0x59be0b,_0x89a8ec[_0x43ed60(0x103)]=_0x4c4039,_0x89a8ec[_0x43ed60(0x28d)]=_0x3fa252,_0x89a8ec[_0x43ed60(0x388)]=_0x33ff97,_0x89a8ec[_0x43ed60(0x16f)]=_0x4106d8,_0x89a8ec[_0x43ed60(0xc7)]=_0x3b7866,_0x89a8ec['SHEET_PIVOT_TABLE_PLUGIN']=_0x1cc3eb,_0x89a8ec[_0x43ed60(0x1e4)]=_0x1e7c51,_0x89a8ec[_0x43ed60(0x33d)]=_0x4d2e93,_0x89a8ec[_0x43ed60(0xc0)]=_0x574c2c,_0x89a8ec[_0x43ed60(0x181)]=_0x3c2f81,_0x89a8ec['SetPivotFilterCommand']=_0x1cf9cd,_0x89a8ec[_0x43ed60(0x183)]=_0x32fa40,_0x89a8ec[_0x43ed60(0x162)]=_0x1082bc,_0x89a8ec['SetPivotPositionMutation']=_0x118dc3,_0x89a8ec['SetPivotSortCommand']=_0x4df349,_0x89a8ec[_0x43ed60(0x16d)]=_0xdc2a8,_0x89a8ec[_0x43ed60(0x29d)]=_0x47dd65,_0x89a8ec[_0x43ed60(0x378)]=_0x1cacdd,_0x89a8ec[_0x43ed60(0x36c)]=_0x56fe20,_0x89a8ec[_0x43ed60(0x304)]=_0x427b3e,_0x89a8ec[_0x43ed60(0x174)]=_0x1389af,_0x89a8ec['UpdatePivotFieldSettingCommand']=_0x1d8ad2,_0x89a8ec[_0x43ed60(0xec)]=_0x344faf,_0x89a8ec[_0x43ed60(0xdc)]=_0x3c72f3,_0x89a8ec[_0x43ed60(0x2c2)]=_0x100c03,_0x89a8ec[_0x43ed60(0x119)]=_0x3af9ef,_0x89a8ec[_0x43ed60(0xce)]=_0xad2258,_0x89a8ec[_0x43ed60(0x1a6)]=_0x122330,_0x89a8ec['canUsePivot']=_0x35e5f9,_0x89a8ec[_0x43ed60(0x153)]=_0x4939a9,_0x89a8ec['generateSetRangeValueMutations']=_0x228cb9,_0x89a8ec[_0x43ed60(0x25a)]=_0x3688e4,_0x89a8ec[_0x43ed60(0x29f)]=_0x51080a,_0x89a8ec[_0x43ed60(0x231)]=_0x10b759,_0x89a8ec[_0x43ed60(0xf1)]=_0x34a7f9,_0x89a8ec[_0x43ed60(0x1de)]=_0x4e2eec,_0x89a8ec[_0x43ed60(0x138)]=_0xa1005d,_0x89a8ec['getPivotTableInfo']=_0x34c403,_0x89a8ec[_0x43ed60(0x1be)]=_0x2a897d,_0x89a8ec['unionPivotViewRange']=_0x3fa2d9,Object[_0x43ed60(0x2f3)](_0x89a8ec,Symbol['toStringTag'],{'value':_0x43ed60(0x1b8)});}));function _0xc6ae(_0x333181,_0xec30e1){const _0x28fa73=_0x28fa();return _0xc6ae=function(_0xc6ae32,_0x5b5215){_0xc6ae32=_0xc6ae32-0x97;let _0x18936e=_0x28fa73[_0xc6ae32];return _0x18936e;},_0xc6ae(_0x333181,_0xec30e1);}function _0x28fa(){const _0x3aacac=['_sheetsPivotTableAdaptorModel','FORCE_STRING','getStyles','node','setPivotTable','Varp\x20of\x20','_ensurePivotTableRangeInfo','SetSubtotalType','setPivotCollapse','rowFields','RemoveSheetCommand','sheet.mutation.set-pivot-option','getFieldIds','columnFields','SHEET_PIVOT_TABLE_PLUGIN','Collapse','_univerInstanceService','pluginName','getFilterFieldIdByIndex','#e6ebfb','createLabelField','remove','isFeatureAuthorizedWithinTime','resetArea','getPivotItemRenderInfoCache','tableFieldId','getSheets','removeValueFilterInfo','_initRegisterCommand','removeSourceRangeChange','setDisplayName','sheet.mutation.send-init-pivot-text-local','addPivotTableWithConfig','RemovePivotField','getFieldPositionInfoById','Sum\x20of\x20','SetRangeValuesMutation','_injector','handleAsyncResponse','defineProperty','onQueryStart','_ensurePivotItemRenderInfoCache','min','getMatrix','forEach','interceptor','result','countNums','PivotErrorTypeEnum','getFieldFormat','PivotFilterTypeEnum','_pivotInitCompleted$','fetchThroughAsyncInterceptors','YearQuarter','isValue','#e6ebfa','UpdateDateGroupCommand','getCellMatrix','sheets-pivot.emptyPivot.filter','interceptCommand','PivotTable','rangeKey','531svvHTb','getSubUnitPivotMatrix','BadReference','DIV_BY_ZERO','Date','getConfig','handleMoveRange','getGroupFieldsInfoByIds','cornerStyle','_configVersion$','_sheetsPivotRpcService','sheet.mutation.remove-pivot-table','shouldClear','onStarting','unshift','NotName','column','1839806VMMckB','update','setPivotFilter','_ensurePivotMap','MovePivotTableCommand','updateDataFieldsCollection','RenameField','registerPluginResource','AddPivotField','excelDateToUnixMilliseconds','getDataFieldByRangeKey','document','fromJSON','BaseGroupField','row','updateCollectionConfig','sheet.mutation.update-pivot-table-source-range','level','pivotPerformCheck','UpdatePivotSource','removeField','getUnitId','initDataRanges','_globalComputedStartHelpFunc','sheet.mutation.set-pivot-field-subtotal-type','DataSyncPrimaryController','setConfig','getFormatInfo','queryDirtyPivotTable','_host','rangeKeyMap','fieldIds','get','SetPivotTableConfig','SetPivotCollapseMutation','mergeWorksheetSnapshotWithDefault','@univerjs/sheets','getRangeStartEndInfo','SetWorksheetColWidthMutation','value','setDataRecordCount','getSheetId','UniverProLicense','sheet.mutation.update-date-group','type','getRangeData','isDateValue','var','_viewData','isNaN','_markDirty$','getIntersects','addFieldWithSourceId','getFieldInfo','updatePivotSource','Row','triggerDirtyFeature','PivotDateGroupFieldDateTypeEnum','_initLocale','ResetPivotTable','UniverSheetsFilter','sheets-pivot.dateGroup.yearQuarter','_configService','getUnit','getValueFilterInfos','isEmpty','_exclusiveRangeService','#1d32e9','some','_init','getCollection','_ensurePivotTableMatrixInfo','PivotDrillDownCommand','MoveRangeCommand','generateRandomId','grandTotal','getTargetByPivotId','pushUndoRedo','_viewUpdate$','_pivotConfigChange$','Rectangle','SetPivotValueFilterMutation','forValue','unshiftString','body','GrandTotal','addExclusiveRange','addField','sheets-pivot.value','valueIndex','keys','includes','#f4f4f5','SetPivotValueFilterCommand','collections','sum','sheets-pivot.maxName','PIVOT_MUTATION_GENERATE','deleteDataField','_pivotRenderValueMatrixCache','addDataFieldWithoutUnitInfo','sheets-pivot.dateGroup.month','getValue','colInfo','Injector','113512uLCxEw','Filter','updateValuePosition','fieldsCollectionChange$','RenamePivotFieldMutation','sheets-pivot.cellDateGroupDisplay.yearQuarter','getMatrixValue','string','RemoveSheetsFilterMutation','_fieldsCollectionChange$','collectionChange$','sheet.mutation.pivot-update-field-source-info','updateViewInfo','getSourceName','SheetsPivotRPCService','getPivotTableIdByCell','MoveRangeMutation','3ShRJxT','dataStream','hasField','blank','_commandService','sheets-pivot.dateGroup.yearMonthDate','getSubUnitPivotConfigs','Expand','lastCol','Delete','isColMultiMeasure','getAutoFitColumnsMutations','sheets-pivot.cellDateGroupDisplay.hour','_dataSyncPrimaryController','_getPivotAppliedRanges','targetCellInfo','AddPivotTable','sheet.command.add-pivot-table-with-config','setPivotSort','_pivotTableInstanceCache','_generateUniqueVersion','Year','sheet.mutation.set-pivot-format','dataRangeInfo','Count\x20of\x20','subscribe','fontRenderExtension','createCollectionWithDataRange','valuePosition','fields','viewData$','YearMonthDate','_config','getTextSize','YearMonth','UniverSheets','ReleaseType','DisposableCollection','setDateType','Quarter','_deleteModelCache','dataFields','_globalComputedEndHelpFunc','getSheetBySheetName','pbt','removePivotField','sheet.mutation.add-pivot-field','MonthDate','DEFAULT_PIVOT_NUMBER','getDataFieldByTableId','sheet.command.update-date-group','disposeWithMe','dataStyle','PivotTableValuePositionEnum','renameField','SheetsPivotTableConfigModel','COMMAND','needSameDeleteModel','handleSourceRangeChange','dateType','getSheetFeatureLimit','refreshDataField','SheetsPivotTableService','addPivotField','getRangeKey','rgb(240,241,243)','getName','rowStyle','SetPivotFieldFormatMutation','setRange','BehaviorSubject','sheets-pivot.emptyPivot.values','setRangeValueRedoMutation','InsertColMutation','exports','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','sheets-pivot.minName','HourMinute','map','rgb(255,255,255)','Month','SetPivotSort','UpdateValuePositionMutation','batch','splice','_deletePivotTableInstanceCache','formJSON','setRangeValueUndoMutation','#eceeff','setLabelFilterInfo','_sheetsPivotTableConfigModel','updateAllDisplayName','colRanges','sheets-pivot.dateGroup.year','221501qfCZKP','PositionType','UpdatePivotTableSourceRangeCommand','getIndexesByPathStr','getValuePosition','panel','merge','getHeaderMapItem','headerMap','SHEET_PIVOT_IN_MAIN_THREAD','sheets-pivot.columnName','_initConfig','getFormat','_resourceManagerService','UpdateSource','add','dataFieldId','rowRanges','UpdatePivotFieldSourceInfoMutation','_collectionConfigModel','sheet.command.remove-pivot-field','UniverProEnginePivot','Set','getInsertRowColMutations','isText','getColumnWidth','textInfo','deepClone','leafStyle','setValuePivotFilter','refreshData','getFilterInfo','sheet.mutation.set-pivot-position','find','asObservable','UNIVER_SHEET','info','from','StdDevp\x20of\x20','getTypeOfUnitDisposed$','updateDirtyPivotTable','RemovePivotFieldMutation','FontCache','Minute','displayName','setCollapse','DEFAULT_WORKSHEET_COLUMN_COUNT','updateFieldPosition','setTextInfo','InsertSheetMutation','sheet.mutation.set-pivot-sort-info','slice','sheets-pivot.cellDateGroupDisplay.minute','toJSON','Panel','DEFAULT_WORKSHEET_ROW_COUNT','name','subTotalStyle','colStyle','reduce','getLastRow','_initPivotTextInfo','Div0','UpdatePivotValuePositionCommand','Value','Add','getSheetCommandTarget','getSheetBySheetId','AddPivotTableWithConfig','symbol','iterateFieldByArea','lastRow','substring','contains','NAME','_initDataSendListener','MAX_SAFE_INTEGER','startCollectChangeset','sheet.mutation.pivot-update-field-position','_initUnitDisposed','184112xMuDsg','getColCount','sheet.mutation.add-pivot-table','workbook\x20is\x20not\x20found','_refRangeService','floor','CellValueType','26491872ebQuTs','IExclusiveRangeService','SheetInterceptorService','_textInfo','startColumn','FieldsCollection','1118402tQtUsZ','getPivotInfoByLicense','UniverInstanceType','startRow','return\x20','setSortInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','Existing','getPivotTableMatrixInfo','rowCount','sortInfo','InsertRowMutation','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','max','getTableFieldById','_queryingMap','adjustSheetCellData','_createExclusiveRange','onCommandExecuted','(Blank)','Column','col','getformat','sheet.mutation.rename-pivot-field','UpdateValuePosition','SetFieldFormat','refreshGroupField','getDataFieldBySourceName','defaultThemeStyle','getSubUnitPivotRenderCache','areaInfo','isBaseGroupField','getLastCol','configVersion$','asyncInterceptor','subUnitId','RemoveSheetMutation','_requestResolvers','_pivotTableMatrixInfo','_globalSubject','115zqXROW','sheets-pivot.dateGroup.quarter','sheets-pivot.dateGroup.hourMinute','SetPivotOptionMutation','ICommandService','SetValueFilter','getFieldDataType','average','SetPivotSetting','getDataFieldItemInfo','entries','getDisplayName','@univerjs/core','valueFields','SetPivotSortMutation','addCollection','ResetPivotFieldsConfigCommand','movePivotField','originalFieldId','deleteField','_updateModelCache','UpdateFieldPositionMutation','error','undos','sheet.mutation.add-group-collection','removeCollections','getColumnCount','Max\x20of\x20','getInterceptPoints','isDateGroupFieldJSON','_pivotRenderInfoCache','sideEffectUpdateWorkerCache','minDate','dispose','SetPivotFieldsConfigCommand','push','SetPivotFilterMutation','#FFFFFF','createDataFieldId','UniverProSheetsPivot','data','intercept','CELL_CONTENT','notExecuteFormula','endRow','hasOwnProperty','getViewData','createValueField','sheet.command.set-pivot-value-filter','RemoveColMutation','_onRefRangeChange','getTargetByPivotTableId','pivotTableConfigs','forRow','getCurrentSelections','fieldId','replace','getSortInfo','setRangeKeyMap','setFieldFormat','colCount','NUMBER','Product\x20of\x20','oldMatrix','generateNullCell','getTextInfo','SetPivotFilter','stdDevp','getDataFieldByDataFieldId','_sheetsPivotTableService','New','applyChangeSet','valueFilter','paths','setSubtotalType','foreach','dimension','_initRemoveSheetCommandInterceptor','pivotTableIndexConfig','ManualFilter','sourceRangeInfo','concat','getDataFieldManager','generateMutationsByRanges','sheets-pivot.averageName','_activeDirtyManagerService','SheetsPivotDataSourceModel','_dataFieldManagerCollection','cellValue','Module','IUniverInstanceService','removeCollectionImp','_sheetsSelectionsService','updateFieldSourceInfo','split','transFromCellValue','getPivotTableInstance','pivotInitCompleted$','updateConfig','sheets-pivot.cellDateGroupDisplay.month','addCollectionByJSON','parseInt','generateHexNumber','ErrorType','_sheetInterceptorService','PivotDataFieldDataTypeEnum','numfmt','isArray','CommandType','getAutoDisplayName','cornerInfo','SetWorksheetActiveOperation','_featureCalculationManagerService','getAutoDisplayNameFunction','has','_subjectCollectionChange','PivotViewCellValueTypeEnum','getSubtotal','54kpYGza','sheets-pivot.dateGroup.date','updatePivotTableRangeInfo','fieldsConfig','width','_localeService','sheet.command.set-pivot-filter','endColumn','message','getPivotCellInfo','prototype','MIN_SAFE_INTEGER','drillDown','_updateRenderEmptyCache','rowInfo','SetPivotCollapseCommand','pivotMutationGenerate','None','PivotMultipleValueId','size','LifecycleService','function','sheet.command.add-pivot-table','_toJSON','sheet.mutation.set-pivot-filter','Subject','SheetsPivotTableAdaptorModel','updateRangeKeyMap','iterateField','INTERCEPTOR_POINT','5262940QFovhQ','dataFieldManagerConfig','PivotSubtotalTypeEnum','rangeCache','DrillDown','rxjs','sheets-pivot.blank','InsertSheetUndoMutationFactory','clearExclusiveRangesByGroupId','NotNumber','@univerjs/sheets-filter','Optional','measure','RemoveField','_updatePivotTableInstanceCache','_subjectFieldsCollectionChange','parse','setPivotSetting','MovePivotFieldCommand','updatePivotTableMatrixInfo','uniqueDataFieldName','UpdateFieldPosition','number','getRangeKeyList','getPivotDisplayConfig','sheets-pivot.sumName','charCodeAt','registerSyncingMutations','_initCommandInterceptListener','unitId','getOriginFieldId','_sheetsPivotDataSourceModel','values','@univerjs-pro/license','rangeType','_initSnapshot','STRING','_collectionChange$','SetValuePivotFilter','NORMAL','Tools','delete','endCollectChangeset','_subjectViewChange','dataFieldsCollection','RefRangeService','SHEET_PIVOT_EXCLUSIVE_ID','sheets-pivot.cellDateGroupDisplay.yearMonthDate','setPivotTableConfig','getPivotTableCellData','InterceptorEffectEnum','Var\x20of\x20','sheets-pivot.stdDevpName','LS_CONFIG_KEY','Average\x20of\x20','setPivotInitCompleted','fetchThroughInterceptors','ΣValue','getCellRaw','filterInfo','sequenceExecute','IResourceManagerService','getFieldListByArea','addDirtyPivotTable','deleteUnitId','Style','realDeleteValue','sheet.command.pivot-drill-down','InsertSheetCommand','PivotCallbackEnum','versions','IActiveDirtyManagerService','tuple','AddPivotTableWithConfigCommand','_initViewModelBySheetInterceptor','IConfigService','collapseInfo','cellToRange','colHeaderMap','getId','PivotTableViewDirtyMarkOperation','register','redos','_initClearSelectionCommandInterceptor','getFieldCountByArea','sheetName','sheet.mutation.remove-group-collection','setSourceName','_ensurePivotItemRenderValueMatrixCache','MUTATION','range','version','Inject','rangesInfo','getValueIndex','stringify','AddPivotTableCommand','AsyncInterceptorManager','numberToABC','getDate','filterId','updateViewData','updateView','getAdjustRangesPosition','PivotView','UniverSheetsPivotTablePlugin','collectionConfig','getActiveSheet','SetOptions','addRecord','getIntersectsPivotTable','Min\x20of\x20','sheet.command.reset-pivot-fields-config','query','ptn','broadcastCollectionChange','registerRefRange','_model','getOwnPropertyDescriptor','getMatrixFromRunTimeData','clearRenderCache','getPivotTableModelConfig','MovePivotField','_ensureViewDataMap','sheet.mutation.pivot-update-value-position','prefix','createInterceptorKey','RemoveRowMutation','set','Grand\x20Total','getPivotTableConfig','sheet.command.set-pivot-field-setting','AddPivotFieldCommand','new','registerCallbackWithEvent','updateRenderCache','getRefRangeMutationsByMoveRange','valid','length','LocaleService','markDirty','resetPivotTable','pivotTableId','CustomCommandExecutionError','Plugin','getPivotDirtyViewInfo','_viewData$','registerDirtyService','_initPivotDataGetListener','matrix','UniverRpc','single','generateNewSheetName','sheets-pivot.countNumsName','RemovePivotTableMutation','options','count','Total','getDataFieldId','sheets-pivot.subTotal','sheet.mutation.get-pivot-data-local','executeCommand','PivotTableChangeTypeEnum','subtotal','setValue','limit\x20pivot','@univerjs/engine-formula','disposableCollection','rowHeaderMap','Hour','SetPivotSubtotalTypeMutation','REF','getEmptyPivotRanges','date','removeValueFilterInfoByValueFieldId','_refRangeHandle','filter','setOptions','reset','getPivotTableRangeInfo','getCurrentUnitForType','custom','IUndoRedoService','sheet.command.update-pivot-table-source-range','getUpdateRangeDeleteIds','format','isBottomTotal','pageRanges','@univerjs/rpc','getRowCount','sheet.mutation.send-pivot-view-local','addPivotTable','setName','getPivotPerformCheck','updateConfigCache','PivotTableFiledAreaEnum','sheets-pivot.dateGroup.minute','Disposable','setValueFilterInfo','object','isPrefixValue','SetSortInfo','Values','sheets.tabs.sheet','getDirtyInfo','UniverCore','PivotCellStyleTypeEnum','UpdatePivotTableSourceRangeMutation','Subtotal','next','_pivotTableRangeInfo','removeDataField','getFieldById','SetPivotCollapse','params','#b2b2b2','ObjectMatrix'];_0x28fa=function(){return _0x3aacac;};return _0x28fa();}
1
+ function _0x39c4(_0x23ea07,_0x1fcafd){const _0x1f094b=_0x1f09();return _0x39c4=function(_0x39c4e1,_0x4ea2ac){_0x39c4e1=_0x39c4e1-0x138;let _0x45228c=_0x1f094b[_0x39c4e1];return _0x45228c;},_0x39c4(_0x23ea07,_0x1fcafd);}(function(_0x4bb5da,_0x3cb7fd){const _0x5eb4ef=_0x39c4,_0x1d0212=_0x4bb5da();while(!![]){try{const _0x12dd95=-parseInt(_0x5eb4ef(0x44d))/0x1+-parseInt(_0x5eb4ef(0x30b))/0x2+-parseInt(_0x5eb4ef(0x412))/0x3*(parseInt(_0x5eb4ef(0x3e7))/0x4)+-parseInt(_0x5eb4ef(0x3e0))/0x5*(parseInt(_0x5eb4ef(0x3e8))/0x6)+-parseInt(_0x5eb4ef(0x29c))/0x7+parseInt(_0x5eb4ef(0x2e3))/0x8*(parseInt(_0x5eb4ef(0x190))/0x9)+parseInt(_0x5eb4ef(0x169))/0xa;if(_0x12dd95===_0x3cb7fd)break;else _0x1d0212['push'](_0x1d0212['shift']());}catch(_0x4e1ce5){_0x1d0212['push'](_0x1d0212['shift']());}}}(_0x1f09,0x55cfa),function(_0xc6e12b,_0x1a5126){const _0x306d78=_0x39c4;typeof exports==_0x306d78(0x1d8)&&typeof module<'u'?_0x1a5126(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==_0x306d78(0x226)&&define[_0x306d78(0x314)]?define(['exports',_0x306d78(0x192),'@univerjs/core',_0x306d78(0x3b2),'@univerjs/sheets',_0x306d78(0x44e),_0x306d78(0x21b),_0x306d78(0x381),_0x306d78(0x30e),'@univerjs/engine-render'],_0x1a5126):(_0xc6e12b=typeof globalThis<'u'?globalThis:_0xc6e12b||self,_0x1a5126(_0xc6e12b[_0x306d78(0x34e)]={},_0xc6e12b[_0x306d78(0x408)],_0xc6e12b[_0x306d78(0x2f7)],_0xc6e12b[_0x306d78(0x1ab)],_0xc6e12b[_0x306d78(0x3b0)],_0xc6e12b[_0x306d78(0x44e)],_0xc6e12b[_0x306d78(0x14a)],_0xc6e12b[_0x306d78(0x3c4)],_0xc6e12b[_0x306d78(0x2e6)],_0xc6e12b['UniverEngineRender']));}(this,function(_0x9f0854,_0x4180e0,_0x292aa7,_0x22473c,_0x4b8ea6,_0x3bf6b2,_0x1f0349,_0x3334ee,_0x549df3,_0x311308){'use strict';const _0x106b51=_0x39c4;var _0x2be261=Object[_0x106b51(0x454)],_0x40690c=(_0x1fa202,_0x4f85d2,_0x1172b5)=>_0x4f85d2 in _0x1fa202?_0x2be261(_0x1fa202,_0x4f85d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1172b5}):_0x1fa202[_0x4f85d2]=_0x1172b5,_0x4ac1dd=(_0x385f81,_0x4c2df2,_0x1357dc)=>_0x40690c(_0x385f81,typeof _0x4c2df2!=_0x106b51(0x2ac)?_0x4c2df2+'':_0x4c2df2,_0x1357dc);const _0x14c24f=Number[_0x106b51(0x30c)](0x688adf26),_0x69b7dc=0x10,_0x30429d=0x1,_0x4360d2=_0x106b51(0x268),_0x707193=0x1,_0x56ee4f=_0x106b51(0x261),_0x884e33=_0x106b51(0x1b0),_0x427771='#b2b2b2',_0x8400e2=_0x106b51(0x2e5),_0x10eb03=_0x106b51(0x2e5),_0x4a798c=_0x106b51(0x2d1),_0x17950f=_0x106b51(0x235),_0x256f73=_0x106b51(0x301),_0x22eb61=_0x106b51(0x18e),_0x40d1d0='#1d32e9',_0x30b7d7=_0x106b51(0x301),_0x3f5882=_0x106b51(0x3ce),_0x5f2cb7=0xe,_0x15b25a=0x6;var _0x4c0f36=(_0x376bc1=>(_0x376bc1['Existing']='existing',_0x376bc1[_0x106b51(0x3cc)]=_0x106b51(0x176),_0x376bc1))(_0x4c0f36||{});const _0x553f3a={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x571619=0x1e,_0x54dbc8={'b':{'s':0x1,'cl':{'rgb':_0x427771}},'l':{'s':0x1,'cl':{'rgb':_0x427771}},'r':{'s':0x1,'cl':{'rgb':_0x427771}},'t':{'s':0x1,'cl':{'rgb':_0x427771}}},_0x35e3b3={'bg':{'rgb':_0x56ee4f},'ht':0x2,'vt':0x2,'tb':0x1},_0x96d6c9={'bg':{'rgb':_0x884e33},'ht':0x2,'vt':0x2,'tb':0x1},_0x3cfad7={'rowStyle':{'bg':{'rgb':_0x3f5882},'bd':_0x54dbc8,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x40d1d0},'bd':null,'cl':{'rgb':_0x30b7d7},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x54dbc8,'bg':{'rgb':_0x22eb61},'vt':0x2},'cornerStyle':{'bd':_0x54dbc8,'bg':{'rgb':_0x4a798c},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x54dbc8,'bg':{'rgb':_0x8400e2},'vt':0x2},'leafStyle':{'bd':_0x54dbc8,'bg':{'rgb':_0x10eb03},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x17950f},'cl':{'rgb':_0x256f73},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x54dbc8,'vt':0x2}};function _0x3ad1c6(_0x31ccf5,_0x3d9a41,_0x1b5e36){const _0x1f0bd2=_0x106b51,_0x3ed148=_0x31ccf5[_0x1f0bd2(0x450)](_0x292aa7[_0x1f0bd2(0x2fa)]),_0x52df9d=_0x1b5e36['split']('_');switch(_0x3d9a41){case _0x4180e0['PivotDateGroupFieldDateTypeEnum'][_0x1f0bd2(0x19f)]:return _0x3ed148['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x52df9d);case _0x4180e0[_0x1f0bd2(0x26a)][_0x1f0bd2(0x3ba)]:return _0x3ed148['t'](_0x1f0bd2(0x165),..._0x52df9d);case _0x4180e0['PivotDateGroupFieldDateTypeEnum'][_0x1f0bd2(0x322)]:return _0x3ed148['t'](_0x1f0bd2(0x2b7),..._0x52df9d);case _0x4180e0[_0x1f0bd2(0x26a)]['HourMinute']:return _0x3ed148['t'](_0x1f0bd2(0x37a),..._0x52df9d);case _0x4180e0['PivotDateGroupFieldDateTypeEnum'][_0x1f0bd2(0x24a)]:return _0x3ed148['t'](_0x1f0bd2(0x230),..._0x52df9d);case _0x4180e0[_0x1f0bd2(0x26a)][_0x1f0bd2(0x333)]:return _0x3ed148['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x52df9d);case _0x4180e0[_0x1f0bd2(0x26a)][_0x1f0bd2(0x446)]:return _0x3ed148['t'](_0x1f0bd2(0x181),..._0x52df9d);case _0x4180e0[_0x1f0bd2(0x26a)]['YearMonth']:return _0x3ed148['t'](_0x1f0bd2(0x1cb),..._0x52df9d);case _0x4180e0[_0x1f0bd2(0x26a)][_0x1f0bd2(0x298)]:return _0x3ed148['t'](_0x1f0bd2(0x34d),..._0x52df9d);case _0x4180e0['PivotDateGroupFieldDateTypeEnum'][_0x1f0bd2(0x3e3)]:return _0x3ed148['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x52df9d);}return'';}const _0x17562f=(_0xc7916,_0x28569b,_0x3b8ac0,_0x45944d)=>{const _0xfdff84=_0x106b51;let _0x43d68e;const _0x1da47d=_0xc7916[_0xfdff84(0x450)](_0x292aa7[_0xfdff84(0x14b)])['getCurrentUnitForType'](_0x292aa7[_0xfdff84(0x299)][_0xfdff84(0x265)]);if(!_0x1da47d)return null;const _0x46caf8=_0x1da47d[_0xfdff84(0x1e1)]();let _0xca9f0c;if(_0x3b8ac0&&(_0xca9f0c=_0x46caf8['setValue'](_0x3b8ac0)),_0x28569b!=null&&_0x28569b['v']||(_0x28569b==null?void 0x0:_0x28569b['v'])===0x0){_0x43d68e||(_0x43d68e={});const _0x24a215=_0x1ced91(_0x28569b['v']);typeof _0x24a215=='number'?_0x43d68e['t']=_0x292aa7[_0xfdff84(0x1ef)][_0xfdff84(0x140)]:typeof _0x24a215==_0xfdff84(0x2d4)&&(_0x43d68e['t']=_0x292aa7[_0xfdff84(0x1ef)][_0xfdff84(0x241)]),_0x43d68e['v']=_0x24a215;}if((_0x28569b!=null&&_0x28569b['i']||(_0x28569b==null?void 0x0:_0x28569b['i'])===0x0)&&(_0x43d68e||(_0x43d68e={}),_0x43d68e['fi']=_0x28569b['i']),_0x28569b!=null&&_0x28569b['s']&&(_0x43d68e||(_0x43d68e={}),_0x43d68e[_0xfdff84(0x24f)]=_0x28569b['s']),_0x3b8ac0&&(_0x43d68e||(_0x43d68e={}),_0x43d68e['s']=_0xca9f0c),_0x45944d&&_0x43d68e!=null&&_0x43d68e['v']&&_0x43d68e[_0xfdff84(0x24f)]!==_0x4180e0[_0xfdff84(0x307)][_0xfdff84(0x2ce)]&&_0x43d68e[_0xfdff84(0x24f)]!==_0x4180e0[_0xfdff84(0x307)][_0xfdff84(0x228)]){const _0x11220d=String(_0x43d68e['v']),{dateType:_0xddf91c}=_0x45944d;_0x43d68e['v']=_0x3ad1c6(_0xc7916,_0xddf91c,_0x11220d),_0x43d68e['t']=_0x292aa7['CellValueType'][_0xfdff84(0x241)];}return _0x43d68e;},_0x361b41=(_0x331d91,_0x136a71,_0x137e48,_0x4ad1ef)=>{const _0x5c504e=_0x106b51;var _0x3ac4ea,_0x42a8d4,_0x3026f6,_0x197581,_0x471bb7,_0x4e8e31,_0x2dfa2b,_0x414a26,_0x5920d7,_0x26ba29,_0xbfd31e,_0x4547ec,_0x5de2d2,_0x32236e;const _0x170fd0=_0x137e48['targetCellInfo'],{cornerView:_0x2c2d8c,rowView:_0x1d7969,colView:_0x596b97,dataView:_0x2253ab,pageView:_0x29b5b8,formatMap:_0x1f4d27,groupInfo:_0x1449a}=_0x136a71,{row:_0x566445,col:_0x1cc98d}=_0x170fd0,_0x2d4f57=new _0x292aa7[(_0x5c504e(0x156))](),_0x41b9ab={},_0x1a9c7f={},_0xe5a6e6={},_0x188e85={},_0x46d593={};let _0x7e571d=_0x566445,_0x32e073=_0x1cc98d;Object[_0x5c504e(0x1de)](_0x29b5b8[_0x5c504e(0x1c1)])['forEach'](_0x168a3c=>{const _0x521be2=_0x5c504e;Object['keys'](_0x29b5b8[_0x521be2(0x1c1)][Number(_0x168a3c)])[_0x521be2(0x15b)](_0x57a168=>{const _0x300f76=_0x521be2,_0x36cd22={..._0x29b5b8[_0x300f76(0x1c1)][Number(_0x168a3c)][Number(_0x57a168)]};_0x2d4f57[_0x300f76(0x1f0)](Number(_0x168a3c)+_0x7e571d,Number(_0x57a168)+_0x32e073,_0x17562f(_0x331d91,_0x36cd22,_0x3cfad7[_0x300f76(0x2ca)]));});});const _0x76cd68=Object[_0x5c504e(0x1de)](_0x29b5b8[_0x5c504e(0x1c1)])[_0x5c504e(0x316)];_0x7e571d+=_0x76cd68+(_0x76cd68?_0x707193:0x0);const _0x3d2783=_0x2c2d8c[_0x5c504e(0x2fb)](),_0x250c37=_0x2c2d8c[_0x5c504e(0x39d)]();for(let _0x435ab3=0x0;_0x435ab3<_0x3d2783;_0x435ab3++)for(let _0x39865a=0x0;_0x39865a<_0x250c37;_0x39865a++){const _0x5b82f5={...(_0x42a8d4=(_0x3ac4ea=_0x2c2d8c['data'])==null?void 0x0:_0x3ac4ea[_0x435ab3])==null?void 0x0:_0x42a8d4[_0x39865a]};_0x5b82f5&&((_0x3026f6=_0x1d7969['headerMap'][_0x39865a])!=null&&_0x3026f6[_0x5c504e(0x328)])&&_0x39865a===_0x250c37-0x1&&_0x435ab3===_0x3d2783-0x1&&(_0x5b82f5['v']=''+_0x4ad1ef[_0x5c504e(0x432)]),_0x2d4f57[_0x5c504e(0x1f0)](_0x435ab3+_0x7e571d,_0x39865a+_0x32e073,_0x17562f(_0x331d91,_0x5b82f5,_0x3cfad7[_0x5c504e(0x36d)]));}for(let _0x4b3779=0x0;_0x4b3779<_0x2c2d8c[_0x5c504e(0x1fd)][_0x5c504e(0x316)];_0x4b3779++)_0x2c2d8c[_0x5c504e(0x1fd)][_0x4b3779]&&(_0xe5a6e6[''+(_0x4b3779+_0x32e073)]=_0x2c2d8c[_0x5c504e(0x1fd)][_0x4b3779]);_0x32e073+=_0x250c37;const _0x149df5=_0x596b97[_0x5c504e(0x189)],_0x446b0d=_0x596b97[_0x5c504e(0x2e4)]()>=0x0?_0x596b97[_0x5c504e(0x2e4)]()+0x1:0x0,_0x2df1e5=_0x596b97['getLastCol']()>=0x0?_0x596b97[_0x5c504e(0x2f2)]()+0x1:0x0;for(let _0x3bea1e=0x0;_0x3bea1e<_0x2df1e5;_0x3bea1e++){for(let _0x607eb3=0x0;_0x607eb3<_0x446b0d;_0x607eb3++){const _0x3a2b8d={...(_0x471bb7=(_0x197581=_0x596b97[_0x5c504e(0x1c1)])==null?void 0x0:_0x197581[_0x607eb3])==null?void 0x0:_0x471bb7[_0x3bea1e]},_0x54aead=(_0x4e8e31=_0x149df5[_0x607eb3])==null?void 0x0:_0x4e8e31[_0x5c504e(0x43f)],_0x2a5df5=_0x1f4d27[_0x54aead],_0x42e9a4=_0x1449a[_0x54aead];_0x3a2b8d&&(_0x3a2b8d['v']=_0x1792a5(_0x3a2b8d,_0x607eb3===0x0&&((_0x2dfa2b=_0x596b97[_0x5c504e(0x458)](_0x3bea1e+0x1))==null?void 0x0:_0x2dfa2b[_0x5c504e(0x328)]),_0x2a5df5,_0x4ad1ef));let _0x3e9899;_0x2a5df5?_0x3e9899={..._0x3cfad7['colStyle'],'n':{'pattern':_0x2a5df5}}:_0x3e9899={..._0x3cfad7['colStyle']},_0x2d4f57[_0x5c504e(0x1f0)](_0x607eb3+_0x7e571d,_0x3bea1e+_0x32e073,_0x17562f(_0x331d91,_0x3a2b8d,_0x3e9899,_0x42e9a4));}_0x596b97[_0x5c504e(0x1fd)][_0x3bea1e]&&(_0x1a9c7f[''+(_0x3bea1e+_0x32e073)]=_0x596b97[_0x5c504e(0x1fd)][_0x3bea1e]),_0x596b97[_0x5c504e(0x189)][_0x3bea1e+0x1]&&(_0x46d593[''+(_0x3bea1e+_0x7e571d+0x1)]=_0x596b97['headerMap'][_0x3bea1e+0x1]);}_0x7e571d+=_0x3d2783;const _0x4c0655=_0x1d7969[_0x5c504e(0x189)],_0x4d5247=_0x1d7969[_0x5c504e(0x2e4)]()>=0x0?_0x1d7969[_0x5c504e(0x2e4)]()+0x1:0x0,_0x4d1aa5=_0x1d7969[_0x5c504e(0x2f2)]()>=0x0?_0x1d7969[_0x5c504e(0x2f2)]()+0x1:0x0;for(let _0x878d9d=0x0;_0x878d9d<_0x4d5247;_0x878d9d++){for(let _0x319f64=0x0;_0x319f64<_0x4d1aa5;_0x319f64++){const _0x163857={...(_0x5920d7=(_0x414a26=_0x1d7969[_0x5c504e(0x1c1)])==null?void 0x0:_0x414a26[_0x878d9d])==null?void 0x0:_0x5920d7[_0x319f64]},_0x264a37=(_0x26ba29=_0x4c0655[_0x319f64])==null?void 0x0:_0x26ba29[_0x5c504e(0x43f)],_0x3c5b91=_0x1f4d27[_0x264a37],_0x2ab910=_0x1449a[_0x264a37];_0x163857&&(_0x163857['v']=_0x1792a5(_0x163857,!0x1,_0x3c5b91,_0x4ad1ef));let _0x45125b;_0x1d7969['info'][_0x878d9d][_0x5c504e(0x1c5)]===_0x1d7969[_0x5c504e(0x39d)]()?_0x45125b=_0x3cfad7[_0x5c504e(0x25d)]:_0x1d7969[_0x5c504e(0x1fd)][_0x878d9d][_0x5c504e(0x415)]?_0x45125b=_0x1d7969['info'][_0x878d9d][_0x5c504e(0x1c5)]===0x0?_0x3cfad7[_0x5c504e(0x1b3)]:_0x3cfad7['subTotalStyle']:_0x45125b=_0x3cfad7[_0x5c504e(0x3c6)],_0x3c5b91&&(_0x45125b={..._0x45125b,'n':{'pattern':_0x3c5b91}}),_0x2d4f57[_0x5c504e(0x1f0)](_0x878d9d+_0x7e571d,_0x319f64+_0x1cc98d,_0x17562f(_0x331d91,_0x163857,_0x45125b,_0x2ab910));}_0x1d7969[_0x5c504e(0x1fd)][_0x878d9d]&&(_0x41b9ab[''+(_0x878d9d+_0x7e571d)]=_0x1d7969[_0x5c504e(0x1fd)][_0x878d9d]),_0x1d7969['headerMap'][_0x878d9d]&&(_0x188e85[''+(_0x878d9d+_0x1cc98d)]=_0x1d7969['headerMap'][_0x878d9d]);}const _0x134fad=_0x2253ab[_0x5c504e(0x2fb)](),_0x35f78f=_0x2253ab['getColCount']();for(let _0x4948b3=0x0;_0x4948b3<_0x134fad;_0x4948b3++)for(let _0x504af7=0x0;_0x504af7<_0x35f78f;_0x504af7++){const _0xd02405={...(_0x4547ec=(_0xbfd31e=_0x2253ab[_0x5c504e(0x1c1)])==null?void 0x0:_0xbfd31e[_0x4948b3])==null?void 0x0:_0x4547ec[_0x504af7]};let _0x2d013b;_0x1d7969['info'][_0x4948b3][_0x5c504e(0x415)]?_0x2d013b=_0x1d7969[_0x5c504e(0x1fd)][_0x4948b3][_0x5c504e(0x1c5)]===0x0?_0x3cfad7['grandTotal']:_0x3cfad7[_0x5c504e(0x334)]:_0x2d013b=_0x3cfad7[_0x5c504e(0x279)];const _0x54f11b=_0x1d7969[_0x5c504e(0x1fd)][_0x4948b3][_0x5c504e(0x401)],_0x5ec2dd=_0x596b97[_0x5c504e(0x1fd)][_0x504af7][_0x5c504e(0x401)],_0x4535e6=Math[_0x5c504e(0x1c4)](_0x54f11b,_0x5ec2dd),_0x147456=_0x137e48[_0x5c504e(0x162)][_0x5c504e(0x2da)][_0x5c504e(0x293)]();let _0x7caefa='';_0x4535e6<0x0?_0x7caefa=(_0x5de2d2=_0x147456[0x0])!=null?_0x5de2d2:'':_0x7caefa=(_0x32236e=_0x147456[_0x4535e6])!=null?_0x32236e:'';const _0x1d4e8c=_0x1f4d27[_0x7caefa];_0x1d4e8c&&(_0x2d013b={..._0x2d013b,'n':{'pattern':_0x1d4e8c}}),_0x2d4f57[_0x5c504e(0x1f0)](_0x4948b3+_0x7e571d,_0x504af7+_0x32e073,_0x17562f(_0x331d91,_0xd02405,_0x2d013b));}return{'valueMatrix':_0x2d4f57,'rowInfo':_0x41b9ab,'colInfo':_0x1a9c7f,'cornerInfo':_0xe5a6e6,'rowHeaderMap':_0x188e85,'colHeaderMap':_0x46d593};};function _0x1792a5(_0x390450,_0x5997ba,_0x242677,_0x4b891f){const _0xe8bc56=_0x106b51;let _0x5bf470=_0x390450['v'];_0x5997ba&&(_0x5bf470=''+_0x4b891f['sheets-pivot.value']);const _0xa6c6db=_0x390450['t']&&(_0x390450['t']&_0x4180e0[_0xe8bc56(0x426)][_0xe8bc56(0x139)])>0x0;if(_0xa6c6db&&(_0x5bf470=''+_0x4b891f[_0xe8bc56(0x17a)]),_0x390450['s']===_0x4180e0['PivotCellStyleTypeEnum'][_0xe8bc56(0x228)]){let _0x45b09e=_0x5bf470,_0x38d000='';_0x4180e0[_0xe8bc56(0x1eb)](_0x5bf470)&&(_0x45b09e=_0x5bf470[_0xe8bc56(0x45a)],_0x38d000=_0x5bf470['value']);const _0x55ea88=_0x242677&&!_0xa6c6db?_0x292aa7['numfmt']['format'](_0x242677,Number(_0x45b09e)):_0x45b09e;_0x38d000?_0x5bf470=_0x55ea88+'\x20'+_0x38d000:_0x5bf470=_0x55ea88+'\x20'+_0x4b891f[_0xe8bc56(0x210)];}else _0x390450['s']===_0x4180e0['PivotCellStyleTypeEnum'][_0xe8bc56(0x2ce)]&&(_0x5bf470=_0x5bf470+'\x20'+_0x4b891f[_0xe8bc56(0x344)]);return _0x5bf470;}function _0x1ced91(_0x4ceb1d){const _0x2001d9=_0x106b51;if(_0x4180e0[_0x2001d9(0x2ec)](_0x4ceb1d)){const {errorType:_0x3bf4fa}=_0x4ceb1d;switch(_0x3bf4fa){case _0x4180e0[_0x2001d9(0x3d0)][_0x2001d9(0x44f)]:return _0x22473c[_0x2001d9(0x25b)]['DIV_BY_ZERO'];case _0x4180e0['PivotErrorTypeEnum'][_0x2001d9(0x3ec)]:return _0x22473c[_0x2001d9(0x25b)][_0x2001d9(0x2e0)];case _0x4180e0[_0x2001d9(0x3d0)]['NotFunction']:return _0x22473c[_0x2001d9(0x25b)][_0x2001d9(0x3d3)];case _0x4180e0[_0x2001d9(0x3d0)][_0x2001d9(0x3fd)]:return _0x22473c['ErrorType'][_0x2001d9(0x3d3)];case _0x4180e0['PivotErrorTypeEnum'][_0x2001d9(0x387)]:return _0x22473c[_0x2001d9(0x25b)][_0x2001d9(0x2c2)];}}return _0x4ceb1d;}function _0x4e64a4(_0x9b9607,_0x52487f,_0x2fabca=!0x1,_0x935584=!0x1){const _0xf0de11=_0x106b51,{data:_0x584725}=_0x52487f,_0x250fb5=_0x52487f['getRowCount'](),_0x15ee23=_0x52487f[_0xf0de11(0x39d)]();if(_0x250fb5<=0x0||_0x15ee23<=0x0)return[];const _0xab0a1e=_0x52487f[_0xf0de11(0x2f2)](),_0x5df8ad=_0x52487f[_0xf0de11(0x2e4)](),_0x1311d5=_0x935584?_0x5df8ad>=0x0?_0x5df8ad+0x1:0x0:_0x250fb5,_0x2847db=_0x935584?_0xab0a1e>=0x0?_0xab0a1e+0x1:0x0:_0x15ee23,{row:_0x204f98,col:_0x2f795c}=_0x9b9607,_0xdc6305=_0x204f98,_0x5d6e85=_0x2f795c;if(_0x2fabca){const _0x2578ef=[];for(const [_0x35c926,_0x3e1797]of Object[_0xf0de11(0x2ee)](_0x584725))for(const [_0x1b0ace,_0x5aa931]of Object[_0xf0de11(0x2ee)](_0x3e1797))_0x2578ef[_0xf0de11(0x3a9)](_0x292aa7[_0xf0de11(0x2c8)](_0xdc6305+Number(_0x35c926),_0x5d6e85+Number(_0x1b0ace)));return _0x2578ef;}else{const _0x471c0c=_0x935584?_0x1311d5>0x0?0x1:0x0:0x1,_0xa07238=_0x935584?_0x2847db>0x0?0x1:0x0:0x1,_0x4247f5=_0x204f98+_0x1311d5-_0x471c0c,_0x1e000f=_0x2f795c+_0x2847db-_0xa07238;return[{'startRow':_0xdc6305,'startColumn':_0x5d6e85,'endRow':_0x4247f5,'endColumn':_0x1e000f}];}}const _0xf8d0df='SHEET_PIVOT_IN_MAIN_THREAD',_0xc9ac37=_0x106b51(0x43d);var _0x971ca5=(_0x5c2038=>(_0x5c2038[_0x106b51(0x2db)]=_0x106b51(0x36a),_0x5c2038['Panel']=_0x106b51(0x447),_0x5c2038[_0x106b51(0x396)]=_0x106b51(0x13a),_0x5c2038[_0x106b51(0x1a9)]=_0x106b51(0x1a9),_0x5c2038[_0x106b51(0x439)]=_0x106b51(0x222),_0x5c2038['MovePivotField']=_0x106b51(0x194),_0x5c2038[_0x106b51(0x1d3)]=_0x106b51(0x296),_0x5c2038['SetPivotCollapse']=_0x106b51(0x291),_0x5c2038['SetPivotFilter']=_0x106b51(0x394),_0x5c2038[_0x106b51(0x35e)]=_0x106b51(0x31a),_0x5c2038[_0x106b51(0x384)]='setPivotSetting',_0x5c2038[_0x106b51(0x32d)]=_0x106b51(0x429),_0x5c2038[_0x106b51(0x3f1)]=_0x106b51(0x182),_0x5c2038['DrillDown']=_0x106b51(0x3f0),_0x5c2038[_0x106b51(0x3db)]=_0x106b51(0x2aa),_0x5c2038[_0x106b51(0x3aa)]=_0x106b51(0x1e9),_0x5c2038['ResetPivotTable']=_0x106b51(0x254),_0x5c2038))(_0x971ca5||{});const _0x47ce04={'sheets-pivot.blankValue':_0x106b51(0x17b),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x106b51(0x380),'sheets-pivot.grandTotalText':_0x106b51(0x3ca),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x106b51(0x340),'sheets-pivot.maxName':_0x106b51(0x2e8),'sheets-pivot.minName':_0x106b51(0x2bb),'sheets-pivot.productName':_0x106b51(0x2f6),'sheets-pivot.stdDevName':_0x106b51(0x398),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x106b51(0x430),'sheets-pivot.varName':_0x106b51(0x2cb),'sheets-pivot.varpName':_0x106b51(0x221),'sheets-pivot.subTotal':_0x106b51(0x228),'sheets-pivot.grandTotal':_0x106b51(0x3ca),'sheets-pivot.value':_0x106b51(0x3c7),'sheets-pivot.blank':_0x106b51(0x139),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x106b51(0x3cf),'sheets-pivot.emptyPivot.column':_0x106b51(0x385),'sheets-pivot.emptyPivot.values':'Values'},_0x32a6ce={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3130a8=_0x292aa7[_0x106b51(0x27d)]('pivotPerformCheck'),_0x4764fe=_0x292aa7[_0x106b51(0x41f)](_0x106b51(0x13f));var _0x3a0c9c=(_0x4cac3e=>(_0x4cac3e[_0x106b51(0x1e6)]=_0x106b51(0x1e6),_0x4cac3e['delete']=_0x106b51(0x14f),_0x4cac3e[_0x106b51(0x177)]=_0x106b51(0x177),_0x4cac3e))(_0x3a0c9c||{}),_0x3fdebd=(_0x25afae=>(_0x25afae['Add']='add',_0x25afae['Set']=_0x106b51(0x27a),_0x25afae['Delete']='delete',_0x25afae))(_0x3fdebd||{});const _0x15c000={0x0:'G',0x1:'n',0x2:'g',0x3:'Z',0x4:'s',0x5:'x',0x6:'0',0x7:'S',0x8:'U',0x9:'H','I':'1','R':'2','s':'3','W':'4','Z':'5','C':'6','K':'7','F':'8','T':'9','v':'a','U':'b','o':'c','e':'d','n':'e','H':'f','A':'h','G':'i','E':'j','j':'k','x':'l','N':'m','a':'o','h':'p','f':'q','z':'r','t':'t','V':'u','Y':'v','w':'w','r':'y','M':'z','X':'A','y':'B','i':'C','g':'D','p':'E','b':'F','l':'I','u':'J','m':'K','c':'L','J':'M','k':'N','P':'O','Q':'P','q':'Q','D':'R','L':'T','B':'V','d':'W','S':'X','O':'Y'},_0x36e4d4='HV1otGa1\x20enozrhtGa1(xGon14n,\x20hVUxGomnr)\x20{\x20\x20\x20\x20tzr\x20{\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20xGon14nl1HaQvztXzzvr\x20=\x20xGon14n.4hxGt(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20azG2G1Jn44v2n\x20=\x20u7Pk.hvz4n(vtaU(xGon14nl1HaQvztXzzvr[R]));\x20\x20\x20\x20\x20\x20\x20\x20GH\x20(!azG2G1Jn44v2n.Ve)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20azG2G1Jn44v2n.Ve\x20=\x20kVNUnz(xGon14nl1HaQvztXzzvr[W]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20G4dazjnz\x20=\x20trhnaH\x20dazjnz0xaUvx7oahn\x20!==\x20\x27V1enHG1ne\x27\x20&&\x204nxH\x20G14tv1onaH\x20dazjnz0xaUvx7oahn;\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20oa1tn5t\x20=\x20G4dazjnz\x20?\x204nxH\x20:\x20wG1eaw;\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20Nn44v2ndaze\x20=\x20oa1tn5t.__yv4nCW__.hvz4n(xGon14nl1HaQvztXzzvr[R]);\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20Nn44v2n\x20=\x20oa1tn5t.__9n5__.4tzG12GHr(Nn44v2ndaze);\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x204G21vtVzndaze\x20=\x20oa1tn5t.__yv4nCW__.hvz4n(xGon14nl1HaQvztXzzvr[s]);\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x204G21vtVzn\x20=\x20oa1tn5t.__9n5__.4tzG12GHr(4G21vtVzndaze);\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x204G21BvxGe\x20=\x20oa1tn5t.__YnzGHr__(4G21vtVzn,\x20Nn44v2n,\x20hVUxGomnr);\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20eaNvG1\x20=\x20azG2G1Jn44v2n.eN;\x20\x20\x20\x20\x20\x20\x20\x20HV1otGa1\x20G4gaNvG1JvtoAG12(aQvttnz1,\x20a9a4t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20hvttnz1\x20=\x20aQvttnz1.znhxvon(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20Aa4t\x20=\x20a9a4t.znhxvon(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20hvttnz1Qvzt4\x20=\x20hvttnz1.4hxGt(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20Aa4tQvzt4\x20=\x20Aa4t.4hxGt(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GH\x20(!hvttnz1.G1oxVen4(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zntVz1\x20hvttnz1\x20===\x20Aa4t;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GH\x20(hvttnz1Qvzt4.xn12tA\x20<\x20R\x20||\x20hvttnz1Qvzt4[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zntVz1\x20Hvx4n;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20hvttnz17VHHG5\x20=\x20hvttnz1Qvzt4.4xGon(I).EaG1(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20Aa4t7VHHG5\x20=\x20Aa4tQvzt4.4xGon(-hvttnz1Qvzt4.xn12tA\x20+\x20I).EaG1(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zntVz1\x20hvttnz17VHHG5\x20===\x20Aa4t7VHHG5;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xnt\x20eaNvG1BvxGe\x20=\x20(eaNvG1\x20&&\x20eaNvG1.xn12tA)\x20?\x20eaNvG1.4aNn((eNltnN)\x20=>\x20G4gaNvG1JvtoAG12(eNltnN,\x20xaovtGa1.Aa4t1vNn))\x20:\x20tzVn;\x20\x20\x20\x20\x20\x20\x20\x20GH\x20(xaovtGa1.Aa4t1vNn\x20===\x20\x27xaovxAa4t\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaNvG1BvxGe\x20=\x20tzVn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20oa14t\x20YvxGe\x20=\x204G21BvxGe\x20&&\x20eaNvG1BvxGe;\x20\x20\x20\x20\x20\x20\x20\x20zntVz1\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YvxGe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nn44v2n:\x20azG2G1Jn44v2n,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ovtoA\x20(nzzaz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zntVz1\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YvxGe:\x20Hvx4n,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nn44v2n:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x21ca76={'type':_0x292aa7[_0x106b51(0x183)]['MUTATION'],'id':_0x106b51(0x240),'handler':()=>!0x0},_0x44d66c={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x26d),'handler':()=>!0x0},_0x153636={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x3e2),'handler':()=>!0x0},_0x22a1ae={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x2ba),'handler':()=>!0x0},_0xb0b6e={'type':_0x292aa7['CommandType'][_0x106b51(0x2b9)],'id':_0x106b51(0x3d5),'handler':()=>!0x0},_0xc19e25=_0x3f4436=>{const _0x37a1af=_0x106b51;var _0x5bf4bc;return((_0x5bf4bc=_0x3f4436[_0x37a1af(0x184)])==null?void 0x0:_0x5bf4bc['dataStream'][_0x37a1af(0x187)](/\r\n$/,''))||'';};class _0x35f2db extends _0x4180e0[_0x106b51(0x41c)]{constructor(_0x25ad15,_0x57e0f9){const _0x31f87c=_0x106b51;super(),_0x4ac1dd(this,_0x31f87c(0x3bf),{}),_0x4ac1dd(this,_0x31f87c(0x22a)),_0x4ac1dd(this,'_host'),(this[_0x31f87c(0x22a)]=_0x57e0f9,this[_0x31f87c(0x14c)]=_0x25ad15);}[_0x106b51(0x318)](){const _0x20d0a1=_0x106b51;for(const _0x571bd7 in this['dataFields']){const _0x547474=this[_0x20d0a1(0x2dc)][_0x571bd7],_0x48a348=_0x547474['getRangeKey']();this[_0x20d0a1(0x3bf)][_0x48a348]=_0x547474[_0x20d0a1(0x205)]();}}[_0x106b51(0x1ae)](){const _0x2b5637=_0x106b51,_0xa2df05=this[_0x2b5637(0x14c)];return _0x2513a0[_0x2b5637(0x238)](_0xa2df05);}[_0x106b51(0x442)](_0x52db2d){const _0x5326c1=_0x106b51,_0x4fba35=this[_0x5326c1(0x2dc)][_0x52db2d][_0x5326c1(0x393)];delete this[_0x5326c1(0x2dc)][_0x52db2d],delete this['rangeKeyMap'][_0x4fba35];}['addDataFieldWithoutUnitInfo'](_0x485c53){const _0x4baa35=_0x106b51;this[_0x4baa35(0x2dc)][_0x485c53[_0x4baa35(0x205)]()]=_0x485c53;}[_0x106b51(0x2c7)](_0x31a8db){const _0x4c5387=_0x106b51;var _0x3692c5,_0x2e7e44;const _0x387851=this[_0x4c5387(0x14c)][_0x4c5387(0x352)](_0x31a8db);if(_0x387851){const {unitId:_0x4e0cc0,subUnitId:_0x8016d3}=_0x387851,_0x4038f2=(_0x3692c5=this['_host']['getPivotTableConfig'](_0x4e0cc0,_0x8016d3,_0x31a8db))==null?void 0x0:_0x3692c5[_0x4c5387(0x292)];this['_host'][_0x4c5387(0x23e)]({'token':_0x31a8db,'type':_0x3a0c9c[_0x4c5387(0x14f)],'dataRangeInfo':_0x4038f2});}(_0x2e7e44=this[_0x4c5387(0x2d0)](_0x31a8db))==null||_0x2e7e44[_0x4c5387(0x227)](),delete this[_0x4c5387(0x38f)][_0x31a8db];}[_0x106b51(0x3a2)](_0x9db2cb,_0x1ab518){const {sheetName:_0x519f37,unitId:_0x64e9cd,range:_0x4dee70}=_0x9db2cb,{startRow:_0x509c62,endRow:_0x3fb48a}=_0x4dee70;return _0x22473c['serializeRangeWithSpreadsheet'](_0x64e9cd,_0x519f37,{'startRow':_0x509c62,'endRow':_0x3fb48a,'startColumn':_0x1ab518,'endColumn':_0x1ab518});}[_0x106b51(0x20e)](_0x2f55b3){const _0x5c0d18=_0x106b51;return this['dataFields'][this[_0x5c0d18(0x3bf)][_0x2f55b3]];}['setRangeKeyMap'](_0x5995ad,_0x541830){const _0x446437=_0x106b51;this[_0x446437(0x3bf)][_0x5995ad]=_0x541830;}[_0x106b51(0x354)](_0x3a4f59,_0x5df188){const _0x2d571d=_0x106b51;this[_0x2d571d(0x3bf)][_0x5df188]=this[_0x2d571d(0x3bf)][_0x3a4f59],delete this['rangeKeyMap'][_0x3a4f59];}[_0x106b51(0x22c)](_0x2489ad,_0x1334e1,_0x4ae735,_0x4bf460){const _0x5bdc12=_0x106b51,_0x46f7dc=new _0x4180e0['FieldsCollection'](this);_0x46f7dc[_0x5bdc12(0x203)](_0x1334e1);const _0xe05f6f=[];let _0x2badaf=0x0;for(const _0x321ffe of _0x46f7dc[_0x5bdc12(0x245)]){const _0x2c78e2=this[_0x5bdc12(0x3a2)](_0x4ae735,_0x2badaf),_0x3b5717=this[_0x5bdc12(0x2dc)][_0x321ffe];_0x3b5717&&(_0x3b5717[_0x5bdc12(0x393)]=_0x2c78e2,this['setRangeKeyMap'](_0x2c78e2,_0x321ffe),_0xe05f6f['push']({'index':_0x2badaf,'dataField':_0x3b5717})),_0x2badaf++;}return this['addCollection'](_0x2489ad,_0x46f7dc,_0x4ae735,_0x4bf460),{'collection':_0x46f7dc,'updateDataFieldList':_0xe05f6f};}['getRangeStartEndInfo'](_0x490da9,_0x572656){const _0xf42a4a=_0x106b51;return _0x490da9[_0xf42a4a(0x179)]===_0x292aa7[_0xf42a4a(0x32c)][_0xf42a4a(0x21d)]?{'startRow':0x0,'startColumn':_0x490da9[_0xf42a4a(0x40c)],'endRow':_0x572656[_0xf42a4a(0x2fb)]()-0x1,'endColumn':_0x490da9[_0xf42a4a(0x42e)]}:{'startRow':_0x490da9[_0xf42a4a(0x22d)],'startColumn':_0x490da9[_0xf42a4a(0x40c)],'endRow':_0x490da9['endRow'],'endColumn':_0x490da9['endColumn']};}['createCollectionWithDataRange'](_0x17c77d){const _0x36b98d=_0x106b51,{sheetName:_0x31c91a,range:_0x418e5f}=_0x17c77d,_0x104afc=this[_0x36b98d(0x22a)][_0x36b98d(0x295)](_0x292aa7['UniverInstanceType'][_0x36b98d(0x265)]),_0x25abcd=_0x104afc[_0x36b98d(0x1fe)](_0x31c91a),_0x3c158a=_0x25abcd[_0x36b98d(0x242)](),{startColumn:_0x470cdc,startRow:_0x13c524,endColumn:_0x3edbc3}=this[_0x36b98d(0x28c)](_0x418e5f,_0x25abcd),_0x2c7b37=_0x104afc[_0x36b98d(0x1e1)](),_0x187f91=new _0x4180e0[(_0x36b98d(0x3ab))](this);_0x187f91[_0x36b98d(0x392)](_0x17c77d);const _0x104074=[],_0x381fd2={};for(let _0x1f194e=_0x470cdc;_0x1f194e<=_0x3edbc3;_0x1f194e++){const _0x535720=_0x3c158a[_0x36b98d(0x3fc)](_0x13c524,_0x1f194e),_0x1bb74c=this[_0x36b98d(0x3a2)](_0x17c77d,_0x1f194e),_0x2b1209=this[_0x36b98d(0x20e)](_0x1bb74c);if(_0x2b1209)_0x187f91['addField'](_0x2b1209[_0x36b98d(0x205)](),_0x2b1209[_0x36b98d(0x244)]());else{const _0x23e143=this[_0x36b98d(0x1d5)]();let _0x332172=this[_0x36b98d(0x1e5)](_0x535720,_0x2c7b37,_0x381fd2);_0x4180e0[_0x36b98d(0x3f8)](_0x332172)&&(_0x332172=_0x292aa7['numfmt']['format'](_0x332172['f'],Number(_0x332172['v'])));const _0x5cb76f=this[_0x36b98d(0x2ad)](_0x332172,_0x1f194e),_0x4fd1c5=new _0x4180e0['DataField'](_0x23e143,_0x5cb76f,_0x4180e0[_0x36b98d(0x40e)](0x3));_0x4fd1c5['rangeKey']=_0x1bb74c,this[_0x36b98d(0x2dc)][_0x23e143]=_0x4fd1c5,_0x187f91['addField'](_0x23e143,_0x5cb76f),_0x104074['push']({'index':_0x1f194e,'dataField':_0x4fd1c5});}}return{'updateDataFieldList':_0x104074,'collection':_0x187f91};}[_0x106b51(0x289)](_0x1efd65){const _0x3ff6b7=_0x106b51;return this[_0x3ff6b7(0x14c)]['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x292aa7[_0x3ff6b7(0x251)](_0x1efd65);}[_0x106b51(0x2ad)](_0x4b2f00,_0x50add0){const _0x543e9b=_0x106b51;return _0x4b2f00==null||_0x4b2f00===''?this[_0x543e9b(0x289)](_0x50add0):String(_0x4b2f00);}[_0x106b51(0x2d0)](_0x1b5bb9){const _0x139b23=_0x106b51;return this[_0x139b23(0x38f)][_0x1b5bb9];}[_0x106b51(0x3b5)](_0x5a0978,_0x4181ac,_0x41b750,_0x2b1197){const _0x56f683=_0x106b51;this['collections'][_0x5a0978]=_0x4181ac,_0x4181ac[_0x56f683(0x392)](_0x41b750),this[_0x56f683(0x14c)]['broadcastCollectionChange']({'token':_0x5a0978,'type':_0x3a0c9c['add'],'dataRangeInfo':_0x41b750,'targetCellInfo':_0x2b1197});}[_0x106b51(0x13d)](_0x546fe8,_0x2919ed){const _0x2251ec=_0x106b51,_0x1b5f78=this[_0x2251ec(0x2d0)](_0x546fe8),_0x3736d7=_0x1b5f78[_0x2251ec(0x1a3)]();let _0x49d748=0x0;for(const _0x483ec4 of _0x3736d7){const _0xfe9318=_0x1b5f78[_0x2251ec(0x18d)](_0x483ec4),_0x44a286=this[_0x2251ec(0x3a2)](_0x2919ed,_0x49d748);this['updateRangeKeyMap'](_0xfe9318[_0x2251ec(0x393)],_0x44a286),_0x49d748++;}}[_0x106b51(0x28a)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x106b51(0x148)](_0x4a66b1,_0x630298){const _0x133a67=_0x106b51;if(this['getCollection'](_0x4a66b1)){const _0x5ae3ae=this[_0x133a67(0x1a4)](_0x630298),_0x5c35f7=[];for(const _0x20672f of _0x5ae3ae)this[_0x133a67(0x3bf)][_0x20672f]!==void 0x0&&_0x5c35f7[_0x133a67(0x3a9)](this['rangeKeyMap'][_0x20672f]);const _0x48ebba=this[_0x133a67(0x20f)](_0x4a66b1),_0x2267f6=[],_0x110240=new Set(_0x5c35f7);for(const _0x4574e1 of _0x48ebba)_0x110240[_0x133a67(0x39c)](_0x4574e1)||_0x2267f6[_0x133a67(0x3a9)](_0x4574e1);return _0x2267f6;}}[_0x106b51(0x38c)](_0x5e3ef0,_0x286ddd,_0x654d8a,_0x1e3814,_0x6b5c43){const _0x393210=_0x106b51;return _0x286ddd&&_0x286ddd['getValue'](_0x1e3814,_0x6b5c43)?_0x286ddd[_0x393210(0x3fc)](_0x1e3814,_0x6b5c43):_0x654d8a&&_0x654d8a['getValue'](_0x1e3814,_0x6b5c43)?_0x654d8a['getValue'](_0x1e3814,_0x6b5c43):_0x5e3ef0[_0x393210(0x3fc)](_0x1e3814,_0x6b5c43);}['refreshDataField'](_0x566326,_0x45980d,_0x1b0e08,_0x6b4c69){const _0x27bc6b=_0x106b51,_0x52af6e=this[_0x27bc6b(0x2dc)][_0x566326];if(!_0x52af6e)return;const {subUnitId:_0x14a80e,range:_0xed6f6,unitId:_0x44bfe5}=_0x45980d,_0x152240=this[_0x27bc6b(0x22a)]['getUnit'](_0x44bfe5);if(!_0x152240){console[_0x27bc6b(0x249)](_0x27bc6b(0x2c4));return;}const _0x19db40=_0x152240[_0x27bc6b(0x41a)](_0x14a80e),_0x29f307=_0x19db40[_0x27bc6b(0x242)](),{arrayFormulaCellDataMatrix:_0x21a541,unitDataMatrix:_0x2d89da}=_0x6b4c69||{},{startRow:_0x2c85f5,startColumn:_0x377330,endRow:_0x10f9e5}=this[_0x27bc6b(0x28c)](_0xed6f6,_0x19db40);_0x52af6e['reset']();const _0x5828df=_0x152240['getStyles'](),_0x399e9d={},_0x411e70=this[_0x27bc6b(0x38c)](_0x29f307,_0x21a541,_0x2d89da,_0x2c85f5,_0x377330+_0x1b0e08);let _0x34a552=this[_0x27bc6b(0x1e5)](_0x411e70,_0x5828df,_0x399e9d);_0x4180e0[_0x27bc6b(0x3f8)](_0x34a552)&&(_0x34a552=_0x292aa7[_0x27bc6b(0x418)]['format'](_0x34a552['f'],Number(_0x34a552['v'])));const _0x1eeac2=this[_0x27bc6b(0x2ad)](_0x34a552,_0x377330+_0x1b0e08);_0x52af6e['setName'](_0x1eeac2);for(let _0x391beb=_0x2c85f5+0x1;_0x391beb<=_0x10f9e5;_0x391beb++){const _0x573d89=this[_0x27bc6b(0x38c)](_0x29f307,_0x21a541,_0x2d89da,_0x391beb,_0x377330+_0x1b0e08);_0x52af6e[_0x27bc6b(0x3ee)](this[_0x27bc6b(0x1e5)](_0x573d89,_0x5828df,_0x399e9d),_0x391beb-0x1-_0x2c85f5);}}[_0x106b51(0x23d)](_0x524574,_0x2120c7,_0x547ca1){const _0x3e61c1=_0x106b51,{subUnitId:_0x74130a,range:_0x53e060,unitId:_0x4e6377}=_0x547ca1,_0xbdc18=this[_0x3e61c1(0x22a)][_0x3e61c1(0x32f)](_0x4e6377);if(!_0xbdc18){console['error'](_0x3e61c1(0x2c4));return;}const _0x393e19=_0xbdc18[_0x3e61c1(0x41a)](_0x74130a),_0x550557=_0x393e19[_0x3e61c1(0x242)](),{startRow:_0x126874,startColumn:_0x545c63,endRow:_0x510f28}=this[_0x3e61c1(0x28c)](_0x53e060,_0x393e19),_0xe89ac8=_0xbdc18['getStyles'](),_0x12c1e8={};for(const {dataField:_0x13dcbe,index:_0x10d7c2}of _0x2120c7){_0x13dcbe['reset']();const _0x2dbd1a=this[_0x3e61c1(0x38c)](_0x550557,void 0x0,void 0x0,_0x126874,_0x545c63+_0x10d7c2);let _0x280ab4=this[_0x3e61c1(0x1e5)](_0x2dbd1a,_0xe89ac8,_0x12c1e8);_0x4180e0[_0x3e61c1(0x3f8)](_0x280ab4)&&(_0x280ab4=_0x292aa7[_0x3e61c1(0x418)][_0x3e61c1(0x2e9)](_0x280ab4['f'],Number(_0x280ab4['v'])));const _0x4567d3=this['uniqueDataFieldName'](_0x280ab4,_0x545c63+_0x10d7c2);_0x13dcbe[_0x3e61c1(0x17d)](_0x4567d3);}_0x524574[_0x3e61c1(0x1ac)]();for(let _0x34c4e0=_0x126874+0x1;_0x34c4e0<=_0x510f28;_0x34c4e0++)for(const {index:_0x1b5d50,dataField:_0x481de9}of _0x2120c7){const _0x498ea8=_0x550557[_0x3e61c1(0x3fc)](_0x34c4e0,_0x545c63+_0x1b5d50);_0x481de9[_0x3e61c1(0x3ee)](this[_0x3e61c1(0x1e5)](_0x498ea8,_0xe89ac8,_0x12c1e8),_0x34c4e0-0x1-_0x126874);}_0x524574['setDataRecordCount'](_0x510f28-_0x126874);}[_0x106b51(0x1a4)](_0x2fedb3){const _0x57f9fc=_0x106b51,{range:_0x4014f2}=_0x2fedb3,{startColumn:_0xe04898,endColumn:_0x1c916f}=_0x4014f2,_0x1371d5=[];for(let _0x1d9e96=_0xe04898;_0x1d9e96<=_0x1c916f;_0x1d9e96++)_0x1371d5[_0x57f9fc(0x3a9)](this[_0x57f9fc(0x3a2)](_0x2fedb3,_0x1d9e96));return _0x1371d5;}[_0x106b51(0x1e5)](_0x169dee,_0x410386,_0x1bae51){const _0x5bf271=_0x106b51;if(_0x169dee){const {s:_0x1b0fb0,v:_0x22a115,t:_0x41928f,p:_0x596724}=_0x169dee;if(_0x596724)return _0xc19e25(_0x596724);const _0x5ea2f6=_0x410386[_0x5bf271(0x450)](_0x1b0fb0);if(_0x5ea2f6&&_0x41928f===_0x292aa7[_0x5bf271(0x1ef)][_0x5bf271(0x140)]&&_0x5ea2f6['n']){const {pattern:_0x486782}=_0x5ea2f6['n'];_0x1bae51[_0x486782]||(_0x1bae51[_0x486782]=_0x292aa7[_0x5bf271(0x418)][_0x5bf271(0x256)](_0x486782));const _0x369f84=_0x1bae51[_0x486782],_0x438125=_0x369f84[_0x5bf271(0x1aa)];if(_0x369f84['isText'])return String(_0x22a115);if(_0x438125)return{'v':_0x22a115,'f':_0x486782};}if(_0x41928f===_0x292aa7['CellValueType'][_0x5bf271(0x140)])return Number(_0x22a115);if(_0x41928f===_0x292aa7[_0x5bf271(0x1ef)][_0x5bf271(0x241)]||_0x41928f===_0x292aa7[_0x5bf271(0x1ef)]['FORCE_STRING'])return String(_0x22a115);if(_0x41928f===void 0x0){const _0x290e1b=Number(_0x22a115);if(!Number[_0x5bf271(0x170)](_0x290e1b)&&String(_0x290e1b)===_0x22a115)return _0x290e1b;}return _0x22a115!=null?_0x22a115:null;}else return null;}[_0x106b51(0x350)](_0x389e2c){const _0x3f2f1e=_0x106b51,{sheetName:_0x46852b,range:_0x4486d9,unitId:_0x982d03}=_0x389e2c,_0x54c15c=this[_0x3f2f1e(0x22a)]['getUnit'](_0x982d03);if(!_0x54c15c)return console[_0x3f2f1e(0x249)](_0x3f2f1e(0x2c4)),{'header':[],'data':[]};const _0xab734b=_0x54c15c[_0x3f2f1e(0x1fe)](_0x46852b),_0x334f74=_0xab734b[_0x3f2f1e(0x242)](),{startRow:_0x1f7226,startColumn:_0x2f9a43,endRow:_0x495691,endColumn:_0x27ca6d}=this[_0x3f2f1e(0x28c)](_0x4486d9,_0xab734b),_0x4c802c=_0x54c15c['getStyles'](),_0x3f9c92=[],_0x184593=[],_0x35d7ee={};for(let _0x30f8e0=_0x1f7226;_0x30f8e0<=_0x495691;_0x30f8e0++){const _0x3c6474=[];for(let _0x43338e=_0x2f9a43;_0x43338e<=_0x27ca6d;_0x43338e++){const _0x1e2706=_0x334f74[_0x3f2f1e(0x3fc)](_0x30f8e0,_0x43338e);_0x30f8e0===_0x1f7226?_0x3f9c92[_0x3f2f1e(0x3a9)](_0x1e2706==null?null:String(_0x1e2706['v'])):_0x3c6474[_0x3f2f1e(0x3a9)](this[_0x3f2f1e(0x1e5)](_0x1e2706,_0x4c802c,_0x35d7ee));}_0x184593[_0x3f2f1e(0x3a9)](_0x3c6474);}return{'header':_0x3f9c92,'data':_0x184593};}[_0x106b51(0x35c)](){const _0x1be683=_0x106b51;return super[_0x1be683(0x35c)]();}[_0x106b51(0x203)](_0x4c8302){const _0x13e8ab=_0x106b51;super[_0x13e8ab(0x203)](_0x4c8302),this[_0x13e8ab(0x318)]();}[_0x106b51(0x227)](){const _0x3b3412=_0x106b51;super[_0x3b3412(0x227)](),this['rangeKeyMap']={},this[_0x3b3412(0x14c)]=null;}}const _0x4e8e7e=_0x562ec5=>{const _0x253277=_0x106b51,{targetCellInfo:_0x5d6f46}=_0x562ec5,{matrixCache:_0x4d5489,rangesCache:_0x4fb978}=_0x5b3d2d({'filter':'Filter','row':_0x253277(0x3cf),'column':_0x253277(0x385),'values':_0x253277(0x1e8)},_0x5d6f46),_0x19936d=new _0x292aa7[(_0x253277(0x156))]();return _0x4d5489[_0x253277(0x3e6)]((_0x47a0fa,_0x5b12da,_0xd2b0fb)=>{_0x19936d['setValue'](_0x47a0fa,_0x5b12da,_0xd2b0fb);}),{'matrix':_0x19936d,'rangesCache':_0x4fb978};},_0x311f82=_0x2b5f60=>{const _0x29c559=_0x106b51;let _0x59ee57;if(_0x2b5f60!=null&&_0x2b5f60['v']||(_0x2b5f60==null?void 0x0:_0x2b5f60['v'])===0x0){_0x59ee57||(_0x59ee57={});const _0x29eeb1=_0x1ced91(_0x2b5f60['v']);typeof _0x29eeb1==_0x29c559(0x3c3)?_0x59ee57['t']=_0x292aa7[_0x29c559(0x1ef)][_0x29c559(0x140)]:typeof _0x29eeb1==_0x29c559(0x2d4)&&(_0x59ee57['t']=_0x292aa7[_0x29c559(0x1ef)][_0x29c559(0x241)]),_0x59ee57['v']=_0x29eeb1;}return _0x59ee57;},_0x125622=(_0x41358c,_0x35a883,_0x280f44)=>{const _0x1b37fb=_0x106b51;var _0x258313,_0x1ecd8a,_0x3af151,_0x9a0a46,_0x37f881,_0x26af0a,_0x1a67bc,_0x2b539b,_0x20dba4,_0x266784,_0x4763bb,_0x540c5e;const {cornerView:_0x3af939,rowView:_0x125ed9,colView:_0x5a12f2,dataView:_0x32a8c1,pageView:_0x39a716,formatMap:_0x3abca4}=_0x41358c,{row:_0x96cf6,col:_0x22922}=_0x35a883,_0x3daf2c=new _0x292aa7[(_0x1b37fb(0x156))]();let _0x3370e6=_0x96cf6,_0x3c8223=_0x22922;Object[_0x1b37fb(0x1de)](_0x39a716[_0x1b37fb(0x1c1)])[_0x1b37fb(0x15b)](_0x594089=>{const _0x3e8384=_0x1b37fb;Object['keys'](_0x39a716[_0x3e8384(0x1c1)][Number(_0x594089)])['forEach'](_0x5456ec=>{const _0x7afc37=_0x3e8384,_0x5abb7e={..._0x39a716['data'][Number(_0x594089)][Number(_0x5456ec)]};_0x3daf2c[_0x7afc37(0x1f0)](Number(_0x594089)+_0x3370e6,Number(_0x5456ec)+_0x3c8223,_0x311f82(_0x5abb7e));});});const _0x31ae90=Object[_0x1b37fb(0x1de)](_0x39a716[_0x1b37fb(0x1c1)])[_0x1b37fb(0x316)];_0x3370e6+=_0x31ae90+(_0x31ae90?_0x707193:0x0);const _0x4ad3b5=_0x3af939[_0x1b37fb(0x2fb)](),_0x47d37c=_0x3af939['getColCount']();for(let _0x171cec=0x0;_0x171cec<_0x4ad3b5;_0x171cec++)for(let _0x5a1089=0x0;_0x5a1089<_0x47d37c;_0x5a1089++){const _0xd7eaab={...(_0x1ecd8a=(_0x258313=_0x3af939[_0x1b37fb(0x1c1)])==null?void 0x0:_0x258313[_0x171cec])==null?void 0x0:_0x1ecd8a[_0x5a1089]};_0xd7eaab&&((_0x3af151=_0x125ed9[_0x1b37fb(0x189)][_0x5a1089])!=null&&_0x3af151[_0x1b37fb(0x328)])&&_0x5a1089===_0x47d37c-0x1&&_0x171cec===_0x4ad3b5-0x1&&(_0xd7eaab['v']=''+_0x280f44[_0x1b37fb(0x432)]),_0x3daf2c['setValue'](_0x171cec+_0x3370e6,_0x5a1089+_0x3c8223,_0x311f82(_0xd7eaab));}_0x3c8223+=_0x47d37c;const _0x54d7c7=_0x5a12f2[_0x1b37fb(0x189)],_0x4fa96e=_0x5a12f2['getLastRow']()>=0x0?_0x5a12f2['getLastRow']()+0x1:0x0,_0x4763b5=_0x5a12f2['getLastCol']()>=0x0?_0x5a12f2[_0x1b37fb(0x2f2)]()+0x1:0x0;for(let _0x41c2ce=0x0;_0x41c2ce<_0x4763b5;_0x41c2ce++)for(let _0x466f26=0x0;_0x466f26<_0x4fa96e;_0x466f26++){const _0x3d119e={...(_0x37f881=(_0x9a0a46=_0x5a12f2['data'])==null?void 0x0:_0x9a0a46[_0x41c2ce])==null?void 0x0:_0x37f881[_0x466f26]},_0x48c92a=(_0x26af0a=_0x54d7c7[_0x41c2ce])==null?void 0x0:_0x26af0a[_0x1b37fb(0x43f)],_0x2d1cc0=_0x3abca4[_0x48c92a];_0x3d119e&&(_0x3d119e['v']=_0x1792a5(_0x3d119e,_0x41c2ce===0x0&&((_0x1a67bc=_0x5a12f2[_0x1b37fb(0x458)](_0x466f26+0x1))==null?void 0x0:_0x1a67bc[_0x1b37fb(0x328)]),_0x2d1cc0,_0x280f44)),_0x3daf2c[_0x1b37fb(0x1f0)](_0x41c2ce+_0x3370e6,_0x466f26+_0x3c8223,_0x311f82(_0x3d119e));}_0x3370e6+=_0x4ad3b5;const _0x533ddc=_0x125ed9['headerMap'],_0x19c027=_0x125ed9[_0x1b37fb(0x2e4)]()>=0x0?_0x125ed9['getLastRow']()+0x1:0x0,_0x18b51f=_0x125ed9[_0x1b37fb(0x2f2)]()>=0x0?_0x125ed9['getLastCol']()+0x1:0x0;for(let _0x1bfede=0x0;_0x1bfede<_0x19c027;_0x1bfede++)for(let _0x24e68b=0x0;_0x24e68b<_0x18b51f;_0x24e68b++){const _0x1260e4={...(_0x20dba4=(_0x2b539b=_0x125ed9[_0x1b37fb(0x1c1)])==null?void 0x0:_0x2b539b[_0x1bfede])==null?void 0x0:_0x20dba4[_0x24e68b]},_0x126ffd=(_0x266784=_0x533ddc[_0x24e68b])==null?void 0x0:_0x266784[_0x1b37fb(0x43f)],_0x33b000=_0x3abca4[_0x126ffd];_0x1260e4&&(_0x1260e4['v']=_0x1792a5(_0x1260e4,!0x1,_0x33b000,_0x280f44)),_0x3daf2c['setValue'](_0x1bfede+_0x3370e6,_0x24e68b+_0x22922,_0x311f82(_0x1260e4));}const _0x2b4b55=_0x32a8c1[_0x1b37fb(0x2fb)](),_0x3584b2=_0x32a8c1[_0x1b37fb(0x39d)]();for(let _0x4220a0=0x0;_0x4220a0<_0x2b4b55;_0x4220a0++)for(let _0x235d81=0x0;_0x235d81<_0x3584b2;_0x235d81++){const _0x4b1ce0={...(_0x540c5e=(_0x4763bb=_0x32a8c1[_0x1b37fb(0x1c1)])==null?void 0x0:_0x4763bb[_0x4220a0])==null?void 0x0:_0x540c5e[_0x235d81]};_0x3daf2c['setValue'](_0x4220a0+_0x3370e6,_0x235d81+_0x3c8223,_0x311f82(_0x4b1ce0));}return _0x3daf2c;},_0x4ce586=_0xae46f=>{const _0x17b8a2=_0x106b51,{view:_0xd75f3e,targetCellInfo:_0x247cb9,isEmpty:_0x2fa6fd,textInfo:_0x428b37}=_0xae46f;if(_0x2fa6fd)return _0x4e8e7e(_0xae46f);const {pageView:_0x4b180e,cornerView:_0x2fa439,rowView:_0x10e918,colView:_0x379050,dataView:_0x4e3a10}=_0xd75f3e,_0xfe25cb=_0x4e64a4(_0x247cb9,_0x4b180e,!0x0),_0x87ae0e=_0x4b180e['lastRow']>=0x0?_0x4b180e[_0x17b8a2(0x294)]+0x1:0x0,_0x474257=_0x2fa439[_0x17b8a2(0x2fb)](),_0x44065d=_0x2fa439[_0x17b8a2(0x39d)](),_0x1332ff=_0xfe25cb['length']>0x0?_0x707193:0x0,_0x3e1a95=_0x4e64a4({'row':_0x247cb9[_0x17b8a2(0x2b8)]+_0x87ae0e+_0x1332ff,'col':_0x247cb9[_0x17b8a2(0x174)]},_0x2fa439,!0x1,!0x1),_0x17265b=_0x4e64a4({'row':_0x247cb9['row']+_0x87ae0e+_0x1332ff+_0x474257,'col':_0x247cb9[_0x17b8a2(0x174)]},_0x10e918,!0x1,!0x0),_0x2752f3=_0x4e64a4({'row':_0x247cb9[_0x17b8a2(0x2b8)]+_0x87ae0e+_0x1332ff,'col':_0x247cb9[_0x17b8a2(0x174)]+_0x44065d},_0x379050,!0x1,!0x0),_0x5c0c7a=_0x4e64a4({'row':_0x247cb9[_0x17b8a2(0x2b8)]+_0x87ae0e+_0x1332ff+_0x474257,'col':_0x247cb9['col']+_0x44065d},_0x4e3a10,!0x1,!0x1),_0x33e251={'rowRanges':_0x17265b,'colRanges':_0x2752f3,'cornerRanges':_0x3e1a95,'dataRanges':_0x5c0c7a,'pageRanges':_0xfe25cb};return{'matrix':_0x125622(_0xd75f3e,_0x247cb9,_0x428b37),'rangesCache':_0x33e251};};var _0x178905=Object['getOwnPropertyDescriptor'],_0x7f4b9f=(_0xc1af88,_0x48ddaa,_0x2ea64b,_0x3c84e2)=>{const _0x320b59=_0x106b51;for(var _0x1b67c7=_0x3c84e2>0x1?void 0x0:_0x3c84e2?_0x178905(_0x48ddaa,_0x2ea64b):_0x48ddaa,_0x59b08a=_0xc1af88[_0x320b59(0x316)]-0x1,_0x12e1bb;_0x59b08a>=0x0;_0x59b08a--)(_0x12e1bb=_0xc1af88[_0x59b08a])&&(_0x1b67c7=_0x12e1bb(_0x1b67c7)||_0x1b67c7);return _0x1b67c7;},_0x2daf58=(_0xd7d5e5,_0x3c2141)=>(_0xb278b4,_0x3ee941)=>_0x3c2141(_0xb278b4,_0x3ee941,_0xd7d5e5);_0x9f0854['SheetsPivotDataSourceModel']=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x2df2d6,_0x40365a,_0x42548a,_0x12a57b,_0x28f8c4){const _0xe357b8=_0x106b51;super(),_0x4ac1dd(this,_0xe357b8(0x163),new Map()),_0x4ac1dd(this,_0xe357b8(0x2a0),new Map()),_0x4ac1dd(this,_0xe357b8(0x315),new Map()),_0x4ac1dd(this,_0xe357b8(0x2a5)),_0x4ac1dd(this,_0xe357b8(0x440),new _0x3bf6b2[(_0xe357b8(0x31f))]()),_0x4ac1dd(this,_0xe357b8(0x3be),this[_0xe357b8(0x440)][_0xe357b8(0x413)]()),_0x4ac1dd(this,_0xe357b8(0x342),new _0x3bf6b2[(_0xe357b8(0x31f))]()),_0x4ac1dd(this,_0xe357b8(0x223),this[_0xe357b8(0x342)]['asObservable']()),_0x4ac1dd(this,'_fieldsCollectionChange$',new _0x3bf6b2['Subject']()),_0x4ac1dd(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0xe357b8(0x413)]()),_0x4ac1dd(this,_0xe357b8(0x302),new Map()),_0x4ac1dd(this,_0xe357b8(0x158),[]),_0x4ac1dd(this,_0xe357b8(0x3a1),new Map()),(this[_0xe357b8(0x1cc)]=_0x2df2d6,this[_0xe357b8(0x22a)]=_0x40365a,this['_lifecycleService']=_0x42548a,this['_commandService']=_0x12a57b,this[_0xe357b8(0x25f)]=_0x28f8c4,this[_0xe357b8(0x37e)]());}[_0x106b51(0x34c)](){const _0x373c19=_0x106b51;return this['_textInfo']?this[_0x373c19(0x2a5)]:_0x47ce04;}['setTextInfo'](_0x4d35a1){const _0x44d119=_0x106b51;this[_0x44d119(0x2a5)]=_0x4d35a1;}[_0x106b51(0x13d)](_0x590b6c){const _0x27d50d=_0x106b51;var _0x5d48f0;const {from:_0x2490c8,to:_0x49ee5a,unitId:_0x3c5cb8,fromRange:_0x570fc8,toRange:_0x22cb23}=_0x590b6c;if(_0x2490c8&&_0x49ee5a){const _0x538626=this[_0x27d50d(0x252)](_0x3c5cb8),_0x4a61c3=this['_model'][_0x27d50d(0x450)](_0x3c5cb8),_0x30dba7=(_0x5d48f0=this['_univerInstanceService'][_0x27d50d(0x32f)](_0x3c5cb8))==null?void 0x0:_0x5d48f0[_0x27d50d(0x41a)](_0x49ee5a[_0x27d50d(0x402)]);if(!_0x4a61c3||!_0x30dba7)return;const _0x5b4e93=_0x30dba7==null?void 0x0:_0x30dba7[_0x27d50d(0x244)]();for(const [_0x107209,_0x14b8d9]of _0x4a61c3['entries']())for(const [_0x5d515e,_0x1639ad]of _0x14b8d9[_0x27d50d(0x2ee)]()){const {sourceRangeInfo:_0x3a6a8e}=_0x1639ad;if(_0x3a6a8e[_0x27d50d(0x2eb)]===_0x3c5cb8&&_0x3a6a8e[_0x27d50d(0x402)]===_0x2490c8[_0x27d50d(0x402)]&&_0x292aa7[_0x27d50d(0x24b)][_0x27d50d(0x19b)](_0x570fc8,_0x3a6a8e[_0x27d50d(0x407)])){const _0x44af95={'row':_0x3a6a8e['range'][_0x27d50d(0x22d)]-_0x570fc8[_0x27d50d(0x22d)],'col':_0x3a6a8e[_0x27d50d(0x407)][_0x27d50d(0x40c)]-_0x570fc8['startColumn']},_0x10241e={'unitId':_0x3c5cb8,'subUnitId':_0x49ee5a[_0x27d50d(0x402)],'sheetName':_0x5b4e93,'range':{'startRow':_0x22cb23['startRow']+_0x44af95['row'],'endRow':_0x22cb23[_0x27d50d(0x22d)]+_0x44af95['row']+_0x3a6a8e[_0x27d50d(0x407)]['endRow']-_0x3a6a8e[_0x27d50d(0x407)][_0x27d50d(0x22d)],'startColumn':_0x22cb23['startColumn']+_0x44af95[_0x27d50d(0x174)],'endColumn':_0x22cb23[_0x27d50d(0x40c)]+_0x44af95[_0x27d50d(0x174)]+_0x3a6a8e[_0x27d50d(0x407)]['endColumn']-_0x3a6a8e[_0x27d50d(0x407)]['startColumn']}};_0x538626[_0x27d50d(0x13d)](_0x5d515e,_0x10241e);const _0xd7e2cb={..._0x1639ad,'sourceRangeInfo':_0x10241e};this[_0x27d50d(0x3b7)](_0x3c5cb8,_0x49ee5a['subUnitId'],_0x5d515e,_0xd7e2cb),this['broadcastCollectionChange']({'unitId':_0x3c5cb8,'token':_0x5d515e,'type':_0x3a0c9c['update'],'oldSourceRangeInfo':_0x3a6a8e,'dataRangeInfo':_0x10241e,'targetCellInfo':_0x1639ad[_0x27d50d(0x41e)]}),this[_0x27d50d(0x17f)]({'unitId':_0x3c5cb8,'subUnitId':_0x49ee5a[_0x27d50d(0x402)],'oldSubUnitId':_0x107209,'pivotTableId':_0x5d515e,'pivotTableConfig':_0xd7e2cb,'collectionConfig':_0x538626[_0x27d50d(0x35c)]()});}}}}['broadcastCollectionChange'](_0x48af5f){const _0x280a4a=_0x106b51;this[_0x280a4a(0x440)][_0x280a4a(0x421)](_0x48af5f);}[_0x106b51(0x252)](_0x1641c0){const _0x366d00=_0x106b51;let _0x2472ac=this[_0x366d00(0x302)][_0x366d00(0x450)](_0x1641c0);return _0x2472ac||(_0x2472ac=new _0x35f2db(this,this['_univerInstanceService']),this[_0x366d00(0x302)][_0x366d00(0x27a)](_0x1641c0,_0x2472ac)),_0x2472ac;}[_0x106b51(0x2d0)](_0x39c6eb,_0x1e5ef2){const _0x4b2df5=_0x106b51;return this[_0x4b2df5(0x252)](_0x39c6eb)['collections'][_0x1e5ef2];}[_0x106b51(0x148)](_0x49bad4,_0x14be0b,_0x255a85){const _0x5ebbf9=_0x106b51;return this[_0x5ebbf9(0x252)](_0x49bad4)['getUpdateRangeDeleteIds'](_0x14be0b,_0x255a85);}[_0x106b51(0x1fa)](_0x3e27f0,_0x3276cc){const _0x37f226=_0x106b51;let _0x3f3563=this[_0x37f226(0x163)]['get'](_0x3e27f0);_0x3f3563||(_0x3f3563=new Map(),this[_0x37f226(0x163)][_0x37f226(0x27a)](_0x3e27f0,_0x3f3563));let _0x4a034c=_0x3f3563[_0x37f226(0x450)](_0x3276cc);return _0x4a034c||(_0x4a034c=new Map(),_0x3f3563['set'](_0x3276cc,_0x4a034c)),_0x4a034c;}['_updateModelCache'](_0x4ad897,_0x54caeb,_0x38824a,_0x1bde8d){const _0x514176=_0x106b51;this[_0x514176(0x1fa)](_0x4ad897,_0x54caeb)[_0x514176(0x27a)](_0x38824a,_0x1bde8d);}['_deleteModelCache'](_0x3c6ae0,_0x3c2b92,_0x4a2bdc){const _0x30a507=_0x106b51;var _0x470f7e,_0x5f4b2f,_0x587207,_0x289f60;((_0x5f4b2f=(_0x470f7e=this[_0x30a507(0x163)][_0x30a507(0x450)](_0x3c6ae0))==null?void 0x0:_0x470f7e['get'](_0x3c2b92))==null?void 0x0:_0x5f4b2f['get'](_0x4a2bdc))&&((_0x289f60=(_0x587207=this[_0x30a507(0x163)][_0x30a507(0x450)](_0x3c6ae0))==null?void 0x0:_0x587207['get'](_0x3c2b92))==null||_0x289f60[_0x30a507(0x14f)](_0x4a2bdc));}[_0x106b51(0x13e)](_0x4112a5,_0x17ea36){const _0x3421fb=_0x106b51;this[_0x3421fb(0x2a0)][_0x3421fb(0x27a)](_0x4112a5,_0x17ea36);}[_0x106b51(0x1ce)](_0x2a2d23){const _0xe0c2fe=_0x106b51;this[_0xe0c2fe(0x2a0)][_0xe0c2fe(0x14f)](_0x2a2d23);}[_0x106b51(0x2cc)](_0x584118,_0x254387){const _0x9676fe=_0x106b51;let _0x56bac7=this['_viewData']['get'](_0x584118);_0x56bac7||(_0x56bac7=new Map(),this[_0x9676fe(0x315)][_0x9676fe(0x27a)](_0x584118,_0x56bac7));let _0x1bafdc=_0x56bac7[_0x9676fe(0x450)](_0x254387);return _0x1bafdc||(_0x1bafdc=new Map(),_0x56bac7[_0x9676fe(0x27a)](_0x254387,_0x1bafdc)),_0x1bafdc;}[_0x106b51(0x17f)](_0x3f57e8){const _0x4da79d=_0x106b51,{unitId:_0x567746,subUnitId:_0x4ff0cb,pivotTableId:_0x3b9ca9,pivotTableConfig:_0x4e6880,collectionConfig:_0x4ad823}=_0x3f57e8,_0x8dd515={'unitId':_0x567746,'subUnitId':_0x4ff0cb,'oldSubUnitId':_0x4ff0cb,'pivotTableId':_0x3b9ca9,'pivotTableConfig':_0x4e6880,'collectionConfig':_0x4ad823};this[_0x4da79d(0x264)][_0x4da79d(0x347)](_0x22a1ae['id'],_0x8dd515,{'onlyLocal':!0x0});}[_0x106b51(0x2d7)](_0xa36997,_0x510998,_0x2cdf3c,_0x3ffdf5,_0x2aa047,_0x161b3d,_0x1100d9,_0x4ef10e=!0x1){const _0x435554=_0x106b51;var _0x106cd2;this[_0x435554(0x264)][_0x435554(0x347)](_0x153636['id'],{'single':{'unitId':_0xa36997,'subUnitId':_0x510998,'type':_0x2cdf3c,'pivotTableId':_0x3ffdf5,'view':_0x2aa047,'pivotConfig':_0x161b3d},'collectionConfig':{[_0xa36997]:_0x1100d9}},{'onlyLocal':!0x0});const _0x5b5bef=!!((_0x106cd2=this[_0x435554(0x303)](_0x3ffdf5))!=null&&_0x106cd2[_0x435554(0x374)]()),_0x5e3e1a=this['getPivotTableConfig'](_0xa36997,_0x510998,_0x3ffdf5);_0x5e3e1a&&this[_0x435554(0x411)]({'view':_0x2aa047,'pivotTableId':_0x3ffdf5,'textInfo':this[_0x435554(0x34c)](),'isEmpty':_0x5b5bef,'targetCellInfo':_0x5e3e1a[_0x435554(0x41e)]},_0x4ef10e);}[_0x106b51(0x411)](_0x14a579,_0x3e3ee8){const _0x462cc3=_0x106b51,{targetCellInfo:_0x19fe4a,pivotTableId:_0x19d937}=_0x14a579,{unitId:_0x4ee6ee,subUnitId:_0x609162}=_0x19fe4a,_0xeb8615=this[_0x462cc3(0x2cc)](_0x4ee6ee,_0x609162),_0x5ed983=_0xeb8615[_0x462cc3(0x450)](_0x19d937);let _0x50bd94,_0x497f56;_0x5ed983&&(_0x50bd94=_0x5ed983[_0x462cc3(0x1a1)],_0x497f56=_0x5ed983['matrix']);const {rangesCache:_0x2a090b,matrix:_0xe5055c}=_0x4ce586(_0x14a579);_0xeb8615[_0x462cc3(0x27a)](_0x19d937,{'rangeCache':_0x2a090b,'matrix':_0xe5055c,'oldMatrix':_0x497f56,'oldRangeCache':_0x50bd94}),_0x3e3ee8||this[_0x462cc3(0x342)][_0x462cc3(0x421)]({'unitId':_0x4ee6ee,'subUnitId':_0x609162,'pivotTableId':_0x19d937});}[_0x106b51(0x222)](_0x59fee4,_0x3f1eba,_0x11a870,_0x541cc1,_0x670cbe){const _0x4294d9=_0x106b51;this[_0x4294d9(0x3b7)](_0x59fee4,_0x3f1eba,_0x11a870,_0x670cbe),this['_updatePivotTableInstanceCache'](_0x11a870,_0x541cc1);}[_0x106b51(0x145)](_0x2dc85a,_0x292450,_0x14baf3){const _0x47f835=_0x106b51,_0x500c3b=this[_0x47f835(0x252)](_0x2dc85a);_0x500c3b['getNoUsedDataFieldIds'](_0x14baf3)[_0x47f835(0x15b)](_0x10db7d=>{const _0x4e76d3=_0x47f835;_0x500c3b[_0x4e76d3(0x442)](_0x10db7d);}),this['removeCollections'](_0x2dc85a,_0x14baf3),this[_0x47f835(0x14d)](_0x2dc85a,_0x292450,_0x14baf3),this[_0x47f835(0x1ce)](_0x14baf3);}[_0x106b51(0x457)](_0x542ad5,_0x2f1da0,_0x146cb8,_0x1e97c1){const _0x1ea641=_0x106b51;this[_0x1ea641(0x3b7)](_0x542ad5,_0x2f1da0,_0x146cb8,_0x1e97c1);}[_0x106b51(0x3bc)](_0x197490,_0x3cc13e,_0x15333f){const _0x2a046b=_0x106b51;var _0x1645e5,_0x1f6634;const _0x4966f0=(_0x1f6634=(_0x1645e5=this[_0x2a046b(0x163)][_0x2a046b(0x450)](_0x197490))==null?void 0x0:_0x1645e5[_0x2a046b(0x450)](_0x3cc13e))==null?void 0x0:_0x1f6634[_0x2a046b(0x450)](_0x15333f);if(_0x4966f0)return _0x4966f0;}[_0x106b51(0x2f0)](_0x19b2d1,_0x1a6d0e,_0x4428f7){const _0x4f85f8=_0x106b51;var _0x50a3a8,_0x42fd3a;const _0x3ce6be=(_0x42fd3a=(_0x50a3a8=this['_model']['get'](_0x19b2d1))==null?void 0x0:_0x50a3a8[_0x4f85f8(0x450)](_0x1a6d0e))==null?void 0x0:_0x42fd3a[_0x4f85f8(0x450)](_0x4428f7);if(_0x3ce6be)return _0x3ce6be[_0x4f85f8(0x162)];}['getPivotTableInstance'](_0x2ace84){const _0x29ac3d=_0x106b51;return this[_0x29ac3d(0x2a0)]['get'](_0x2ace84);}['deleteUnitId'](_0x2be661){const _0x2a5532=_0x106b51;this[_0x2a5532(0x163)][_0x2a5532(0x14f)](_0x2be661);const _0x148dc3=this['_dataFieldManagerCollection']['get'](_0x2be661);_0x148dc3&&(_0x148dc3[_0x2a5532(0x227)](),this[_0x2a5532(0x302)][_0x2a5532(0x14f)](_0x2be661)),this['_viewData'][_0x2a5532(0x14f)](_0x2be661),this[_0x2a5532(0x158)][_0x2a5532(0x15b)](_0x5b4874=>{const _0x50f982=_0x2a5532;_0x5b4874[_0x50f982(0x367)](_0x2be661);});}['addCollectionByJSON'](_0x41ac9b,_0x51c7b4,_0x44c26d,_0x486749){const _0x282249=_0x106b51;return this['getDataFieldManager'](_0x44c26d[_0x282249(0x2eb)])['addCollectionByJSON'](_0x41ac9b,_0x51c7b4,_0x44c26d,_0x486749);}['createCollectionWithDataRange'](_0x35c43e){const _0x1030ee=_0x106b51;return this[_0x1030ee(0x252)](_0x35c43e[_0x1030ee(0x2eb)])[_0x1030ee(0x2bc)](_0x35c43e);}[_0x106b51(0x23d)](_0x5bbd4c,_0x304ba5,_0x592368){const _0x15c4c4=_0x106b51;this['getDataFieldManager'](_0x592368['unitId'])[_0x15c4c4(0x23d)](_0x5bbd4c,_0x304ba5,_0x592368);}[_0x106b51(0x149)](_0x2b936e,_0x20d278){const _0x40b583=_0x106b51;this[_0x40b583(0x252)](_0x2b936e)[_0x40b583(0x442)](_0x20d278);}['removeCollections'](_0x27f57b,_0x2de565){const _0x38c07c=_0x106b51;this[_0x38c07c(0x252)](_0x27f57b)[_0x38c07c(0x2c7)](_0x2de565);}['getSubUnitPivotConfigs'](_0x45259a,_0x117af3){const _0x31a43f=_0x106b51;var _0x4b884d;return(_0x4b884d=this['_model'][_0x31a43f(0x450)](_0x45259a))==null?void 0x0:_0x4b884d[_0x31a43f(0x450)](_0x117af3);}[_0x106b51(0x352)](_0xa2af2b){const _0x296415=_0x106b51;for(const [_0x324b6b,_0x543669]of this[_0x296415(0x163)]['entries']())for(const [_0x4b8fe8,_0x4c40d4]of _0x543669[_0x296415(0x2ee)]())if(_0x4c40d4[_0x296415(0x39c)](_0xa2af2b))return{'unitId':_0x324b6b,'subUnitId':_0x4b8fe8};return null;}[_0x106b51(0x386)](_0x2160c2,_0x5c589d,_0x909eb3,_0x2933b7){const _0xddb0d4=_0x106b51,_0x4c65e0=this['_ensureViewDataMap'](_0x2160c2,_0x5c589d);_0x2933b7?_0x4c65e0[_0xddb0d4(0x27a)](_0x909eb3,_0x2933b7):_0x4c65e0[_0xddb0d4(0x14f)](_0x909eb3),this[_0xddb0d4(0x342)][_0xddb0d4(0x421)]({'unitId':_0x2160c2,'subUnitId':_0x5c589d,'pivotTableId':_0x909eb3});}[_0x106b51(0x227)](){const _0x4b389b=_0x106b51;super[_0x4b389b(0x227)]();}['getViewData'](_0x3270c7,_0xc82284,_0x23507b){const _0x40f4ce=_0x106b51;var _0x4ec57b,_0x12453b;const _0x53695d=(_0x12453b=(_0x4ec57b=this[_0x40f4ce(0x315)][_0x40f4ce(0x450)](_0x3270c7))==null?void 0x0:_0x4ec57b[_0x40f4ce(0x450)](_0xc82284))==null?void 0x0:_0x12453b['get'](_0x23507b);return _0x53695d||null;}[_0x106b51(0x213)](_0x338522){this['updateDirtyPivotTable'](_0x338522);}[_0x106b51(0x37d)](_0x18d604){const _0x4b1435=_0x106b51,{token:_0x5c232b,unitId:_0x522551,subUnitId:_0x213a56}=_0x18d604,_0x3665e4=_0x522551+'-'+_0x213a56+'-'+_0x5c232b;this['_queryingMap'][_0x4b1435(0x450)](_0x3665e4)&&clearTimeout(this[_0x4b1435(0x3a1)][_0x4b1435(0x450)](_0x3665e4));const _0x53a6c1=setTimeout(()=>{const _0x301d9a=_0x4b1435;this[_0x301d9a(0x2a3)](_0x18d604),this[_0x301d9a(0x3a1)][_0x301d9a(0x14f)](_0x3665e4);},_0x571619);this[_0x4b1435(0x3a1)][_0x4b1435(0x27a)](_0x3665e4,_0x53a6c1);}[_0x106b51(0x2a3)](_0x117047){const _0x31387d=_0x106b51,{unitId:_0x2d6062,subUnitId:_0x754bfc,token:_0x11a8a8,type:_0x24d801,pivotConfig:_0x550474}=_0x117047,_0x3efad4=this[_0x31387d(0x303)](_0x11a8a8),_0x4c49dd=_0x3efad4==null?void 0x0:_0x3efad4[_0x31387d(0x1a2)](),_0x2546f9=_0x550474!=null?_0x550474:this[_0x31387d(0x3bc)](_0x2d6062,_0x754bfc,_0x11a8a8);_0x2546f9&&(_0x2546f9[_0x31387d(0x374)]=!!(_0x3efad4!=null&&_0x3efad4[_0x31387d(0x374)]())),(_0x4c49dd||_0x24d801===_0x3fdebd[_0x31387d(0x1ca)])&&this[_0x31387d(0x2d7)](_0x2d6062,_0x754bfc,_0x24d801,_0x11a8a8,_0x4c49dd,_0x2546f9,this['getDataFieldManager'](_0x2d6062)[_0x31387d(0x35c)]());}[_0x106b51(0x35c)](_0x435bad){const _0x4d29a4=_0x106b51,_0x98333f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x435bad)&&(_0x98333f['dataFieldManagerConfig'][_0x435bad]=this[_0x4d29a4(0x252)](_0x435bad)[_0x4d29a4(0x35c)]()),this[_0x4d29a4(0x163)][_0x4d29a4(0x450)](_0x435bad)){_0x98333f['pivotTableConfigs'][_0x435bad]={};const _0x3b454d=this[_0x4d29a4(0x163)][_0x4d29a4(0x450)](_0x435bad);_0x3b454d!=null&&_0x3b454d['size']&&[..._0x3b454d[_0x4d29a4(0x1de)]()]['forEach'](_0x1859a7=>{const _0x5f4083=_0x4d29a4,_0x1c7a28=_0x3b454d[_0x5f4083(0x450)](_0x1859a7);_0x1c7a28!=null&&_0x1c7a28[_0x5f4083(0x390)]&&(_0x98333f[_0x5f4083(0x33d)][_0x435bad][_0x1859a7]={},[..._0x1c7a28[_0x5f4083(0x1de)]()][_0x5f4083(0x15b)](_0x5c9c79=>{const _0x426315=_0x5f4083,_0x5457ab=_0x1c7a28[_0x426315(0x450)](_0x5c9c79);_0x5457ab&&(_0x98333f[_0x426315(0x33d)][_0x435bad][_0x1859a7][_0x5c9c79]=_0x5457ab);}));});}return _0x98333f;}[_0x106b51(0x203)](_0x1b4900){const _0xe4dce0=_0x106b51;var _0x2d7c19;const {dataFieldManagerConfig:_0x38673f,pivotTableConfigs:_0x4f697f}=_0x1b4900;_0x38673f&&Object[_0xe4dce0(0x1de)](_0x38673f)[_0xe4dce0(0x15b)](_0x23a630=>{const _0x4092b7=_0xe4dce0;this[_0x4092b7(0x252)](_0x23a630)[_0x4092b7(0x203)](_0x38673f[_0x23a630]);});const _0x3aad32=[];if(_0x4f697f){const _0x3d8df1=(_0x2d7c19=this[_0xe4dce0(0x1cc)][_0xe4dce0(0x450)](_0x292aa7[_0xe4dce0(0x36b)])[_0xe4dce0(0x32e)](_0x1f0349[_0xe4dce0(0x29b)]))!=null?_0x2d7c19:{},{ls:_0x62c3e6,pbk:_0x2bcb8a}=_0x3d8df1,_0x1ff735=_0x11bb0e(_0x30429d,_0x62c3e6,_0x2bcb8a)[_0xe4dce0(0x43b)];Object[_0xe4dce0(0x1de)](_0x4f697f)[_0xe4dce0(0x15b)](_0x31564c=>{const _0x7769b9=_0xe4dce0;let _0xf50c26=0x0;const _0x505372=_0x4f697f[_0x31564c];Object['keys'](_0x505372)[_0x7769b9(0x15b)](_0x42aef1=>{const _0x8c7287=_0x7769b9,_0x2a3fbb=_0x505372[_0x42aef1];Object['keys'](_0x2a3fbb)[_0x8c7287(0x15b)](_0x13e98b=>{const _0x3833de=_0x8c7287,_0x1240af=_0x2a3fbb[_0x13e98b];if(_0x1240af){if(_0xf50c26>=_0x1ff735)return;_0xf50c26++;const _0x4c8d1a=this[_0x3833de(0x252)](_0x31564c),_0x3833a2=_0x4c8d1a[_0x3833de(0x38f)][_0x13e98b],_0x1c4d62=_0x3833a2[_0x3833de(0x1a3)]();let _0x36ff05=0x0;const _0x3215bf=[];for(const _0x460f8a of _0x1c4d62){const _0x2ac6a3=_0x3833a2[_0x3833de(0x18d)](_0x460f8a);if(_0x4180e0[_0x3833de(0x1f6)](_0x2ac6a3)){const _0x17cefd=_0x2ac6a3[_0x3833de(0x257)](),_0x1716b8=_0x3833a2['getFieldById'](_0x17cefd);_0x1716b8&&_0x3215bf[_0x3833de(0x3a9)]([_0x2ac6a3,_0x1716b8]);continue;}_0x4c8d1a[_0x3833de(0x39f)](_0x460f8a,_0x1240af[_0x3833de(0x292)],_0x36ff05),_0x36ff05++;}_0x3215bf[_0x3833de(0x15b)](([_0x4a923b,_0x2683f8])=>{const _0x348f04=_0x3833de;_0x4a923b[_0x348f04(0x154)](_0x2683f8);});const _0xf09710=new _0x4180e0[(_0x3833de(0x3b4))](_0x3833a2);_0xf09710[_0x3833de(0x203)](_0x1240af['fieldsConfig']),this[_0x3833de(0x222)](_0x31564c,_0x42aef1,_0x13e98b,_0xf09710,_0x1240af);const _0x3903a4=_0xf09710[_0x3833de(0x1a2)]();_0x3aad32[_0x3833de(0x3a9)]({'unitId':_0x31564c,'subUnitId':_0x42aef1,'pivotTableId':_0x13e98b,'view':_0x3903a4[_0x3833de(0x35c)](),'pivotConfig':_0x1240af,'type':_0x3fdebd[_0x3833de(0x14e)]});const _0x3ee69f=!!_0xf09710['isEmpty'](),_0x209049={'view':_0x3903a4,'pivotTableId':_0x13e98b,'textInfo':this[_0x3833de(0x34c)](),'isEmpty':_0x3ee69f,'targetCellInfo':_0x1240af['targetCellInfo']};this[_0x3833de(0x411)](_0x209049,!0x1);}});});});}_0x38673f&&Object[_0xe4dce0(0x1de)](_0x38673f)[_0xe4dce0(0x15b)](_0x1e8633=>{const _0x4bf082=_0xe4dce0,_0x3c208e=this[_0x4bf082(0x252)](_0x1e8633);this[_0x4bf082(0x3a5)]['next'](_0x3c208e['collections']);}),this[_0xe4dce0(0x264)][_0xe4dce0(0x347)](_0x153636['id'],{'batch':_0x3aad32,'collectionConfig':_0x38673f},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x4a439e=_0x106b51;this[_0x4a439e(0x2df)](this[_0x4a439e(0x25f)]['registerPluginResource']({'toJson':_0xa7a43=>JSON['stringify'](this[_0x4a439e(0x35c)](_0xa7a43)),'parseJson':_0x2d08e8=>{const _0x24c1cd=_0x4a439e;if(!_0x2d08e8)return{};try{return JSON[_0x24c1cd(0x2c1)](_0x2d08e8);}catch{return{};}},'businesses':[_0x292aa7[_0x4a439e(0x299)][_0x4a439e(0x265)]],'pluginName':_0x4360d2,'onLoad':(_0x145bab,_0x57bd8b)=>{const _0xa6e055=_0x4a439e;this[_0xa6e055(0x203)](_0x57bd8b);},'onUnLoad':_0x3de8de=>{const _0x6cb5f8=_0x4a439e;this[_0x6cb5f8(0x367)](_0x3de8de);}}));}},_0x9f0854[_0x106b51(0x1f2)]=_0x7f4b9f([_0x2daf58(0x0,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x2c3)])),_0x2daf58(0x1,_0x292aa7['IUniverInstanceService']),_0x2daf58(0x2,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x1ea)])),_0x2daf58(0x3,_0x292aa7[_0x106b51(0x3ff)]),_0x2daf58(0x4,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x27e)]))],_0x9f0854[_0x106b51(0x1f2)]);const _0x1ab7a1={0x0:{0x0:{'v':_0x106b51(0x36a),'s':_0x35e3b3}},0x2:{0x1:{'v':'','s':_0x35e3b3},0x2:{'v':'','s':_0x35e3b3},0x3:{'v':_0x106b51(0x31e),'s':_0x35e3b3},0x4:{'v':'','s':_0x35e3b3},0x5:{'v':'','s':_0x35e3b3}},0x3:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0x4:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0x5:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0x6:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0x7:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0x8:{0x0:{'v':_0x106b51(0x2b8),'s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':_0x106b51(0x42b),'s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0x9:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0xa:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0xb:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0xc:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}},0xd:{0x0:{'v':'','s':_0x35e3b3},0x1:{'v':'','s':_0x96d6c9},0x2:{'v':'','s':_0x96d6c9},0x3:{'v':'','s':_0x96d6c9},0x4:{'v':'','s':_0x96d6c9},0x5:{'v':'','s':_0x96d6c9}}},_0x49571c={'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':[]},_0x5b3d2d=(_0xf2fdc0,_0x4dd212)=>{const _0x506269=_0x106b51,_0x57d747=new _0x292aa7[(_0x506269(0x156))](),_0xc83bd6=new _0x292aa7['ObjectMatrix'](_0x1ab7a1),{row:_0x408ab2,col:_0x3943bf}=_0x4dd212;_0xc83bd6[_0x506269(0x3e6)]((_0x2f0ac1,_0x2f6195,_0x416cbd)=>{const _0x576315=_0x506269;let _0x501371='';_0x416cbd['v']===_0x576315(0x36a)?_0x501371=_0xf2fdc0[_0x576315(0x36a)]:_0x416cbd['v']==='row'?_0x501371=_0xf2fdc0[_0x576315(0x2b8)]:_0x416cbd['v']===_0x576315(0x31e)?_0x501371=_0xf2fdc0[_0x576315(0x31e)]:_0x416cbd['v']===_0x576315(0x42b)&&(_0x501371=_0xf2fdc0['values']),_0x57d747[_0x576315(0x1f0)](_0x2f0ac1+_0x408ab2,_0x2f6195+_0x3943bf,{..._0x416cbd,'v':_0x501371});});const _0x8fa18a=_0x292aa7[_0x506269(0x33c)][_0x506269(0x185)](_0x49571c);return Object[_0x506269(0x1de)](_0x49571c)[_0x506269(0x15b)](_0x23a693=>{const _0x16bdd0=_0x506269;_0x8fa18a[_0x23a693]=_0x49571c[_0x23a693][_0x16bdd0(0x1e0)](_0x45d358=>({..._0x45d358,'startRow':_0x45d358['startRow']+_0x408ab2,'endRow':_0x45d358['endRow']+_0x408ab2,'startColumn':_0x45d358[_0x16bdd0(0x40c)]+_0x3943bf,'endColumn':_0x45d358[_0x16bdd0(0x42e)]+_0x3943bf}));}),{'matrixCache':_0x57d747,'rangesCache':_0x8fa18a};};function _0x2513a0(_0x4dae73,_0xeae99a){const _0x103149=_0x106b51;let _0x4fdf1a='';const _0x494983=this['getTextInfo']();switch(_0xeae99a){case _0x4180e0[_0x103149(0x2d6)][_0x103149(0x1ad)]:_0x4fdf1a=_0x494983[_0x103149(0x2b2)]+_0x4dae73;break;case _0x4180e0[_0x103149(0x2d6)][_0x103149(0x43b)]:_0x4fdf1a=_0x494983['sheets-pivot.countName']+_0x4dae73;break;case _0x4180e0[_0x103149(0x2d6)][_0x103149(0x22b)]:_0x4fdf1a=_0x494983[_0x103149(0x2b4)]+_0x4dae73;break;case _0x4180e0[_0x103149(0x2d6)]['max']:_0x4fdf1a=_0x494983[_0x103149(0x259)]+_0x4dae73;break;case _0x4180e0[_0x103149(0x2d6)][_0x103149(0x370)]:_0x4fdf1a=_0x494983[_0x103149(0x399)]+_0x4dae73;break;case _0x4180e0['PivotSubtotalTypeEnum'][_0x103149(0x2b0)]:_0x4fdf1a=_0x494983[_0x103149(0x2cd)]+_0x4dae73;break;case _0x4180e0['PivotSubtotalTypeEnum']['stdDev']:_0x4fdf1a=_0x494983[_0x103149(0x38b)]+_0x4dae73;break;case _0x4180e0['PivotSubtotalTypeEnum']['stdDevp']:_0x4fdf1a=_0x494983['sheets-pivot.stdDevpName']+_0x4dae73;break;case _0x4180e0[_0x103149(0x2d6)][_0x103149(0x3fe)]:_0x4fdf1a=_0x494983[_0x103149(0x346)]+_0x4dae73;break;case _0x4180e0[_0x103149(0x2d6)][_0x103149(0x3ea)]:_0x4fdf1a=_0x494983['sheets-pivot.varName']+_0x4dae73;break;case _0x4180e0[_0x103149(0x2d6)][_0x103149(0x1fc)]:_0x4fdf1a=_0x494983[_0x103149(0x305)]+_0x4dae73;break;default:_0x4fdf1a=_0x4dae73;break;}return _0x4fdf1a;}function _0x5e5f05(_0x37b66c,_0x3764d7,_0x2ded1e,_0x248b44,_0x5150b0){const _0x52f043=_0x106b51;var _0x41310e,_0x2882dd,_0x15dbb0,_0x26ee9b,_0x1c03ef;const _0x129ab5=_0x292aa7[_0x52f043(0x2c8)](_0x37b66c,_0x3764d7),{rangesInfo:_0x2ec529,areaInfo:_0x373a72,headerMap:_0x514f76}=_0x5150b0;if(!_0x2ec529||!_0x373a72||!_0x514f76)return;const _0xef1d15=Object['keys'](_0x2ec529)[_0x52f043(0x1ff)](_0x284074=>_0x2ec529[_0x284074]['some'](_0x72ada8=>_0x292aa7[_0x52f043(0x24b)]['contains'](_0x72ada8,_0x129ab5))),_0x4dbae1=_0x373a72;let _0x896716,_0x3568c0,_0x25289e;if(_0xef1d15===_0x52f043(0x422))_0x896716=(_0x41310e=_0x4dbae1==null?void 0x0:_0x4dbae1[_0x52f043(0x2c9)])==null?void 0x0:_0x41310e[_0x37b66c],_0x3568c0=(_0x2882dd=_0x514f76==null?void 0x0:_0x514f76[_0x52f043(0x327)])==null?void 0x0:_0x2882dd[_0x3764d7],_0x25289e=_0x3568c0==null?void 0x0:_0x3568c0[_0x52f043(0x43f)];else{if(_0xef1d15===_0x52f043(0x43e))_0x896716=(_0x15dbb0=_0x4dbae1==null?void 0x0:_0x4dbae1[_0x52f043(0x212)])==null?void 0x0:_0x15dbb0[_0x3764d7],_0x3568c0=(_0x26ee9b=_0x514f76['colHeaderMap'])==null?void 0x0:_0x26ee9b[_0x37b66c+0x1+_0x3764d7-_0x2ec529[_0x52f043(0x43e)][0x0]['startColumn']],_0x25289e=_0x3568c0==null?void 0x0:_0x3568c0[_0x52f043(0x43f)];else{if(_0xef1d15===_0x52f043(0x308))_0x896716=(_0x1c03ef=_0x4dbae1==null?void 0x0:_0x4dbae1['cornerInfo'])==null?void 0x0:_0x1c03ef[_0x3764d7],_0x25289e=_0x896716==null?void 0x0:_0x896716[_0x52f043(0x43f)];else{if(_0xef1d15===_0x52f043(0x3f6)){const _0x899dee=_0x2ded1e==null?void 0x0:_0x2ded1e['fi'];_0x899dee!==void 0x0&&(_0x25289e=_0x248b44['getFilterFieldIdByIndex'](_0x899dee));}}}}return{'filterId':_0x25289e,'info':_0x896716,'data':_0x2ded1e,'headerInfo':_0x3568c0};}function _0x520d9d(_0x481d72,_0x34954f,_0x2435f9){const _0x348565=_0x106b51,_0x5a7ee9=_0x481d72[_0x348565(0x1af)],_0x826e9b=_0x5a7ee9[_0x348565(0x1a3)](),_0x4a6256=new Set();_0x481d72[_0x348565(0x373)](_0x41ed4c=>{const _0x28429d=_0x348565;_0x4a6256[_0x28429d(0x1e6)](_0x41ed4c['dataFieldId']);});const _0xb71573=_0x826e9b[_0x348565(0x1e0)](_0xb3fc54=>{const _0x5c50c3=_0x348565,_0x59907c=_0x5a7ee9[_0x5c50c3(0x18d)](_0xb3fc54);return{'checked':_0x4a6256[_0x5c50c3(0x39c)](_0xb3fc54),'dataFieldId':_0x59907c['id'],'id':_0x59907c['id'],'name':_0x5a7ee9[_0x5c50c3(0x313)](_0x59907c['id']),'type':_0x59907c[_0x5c50c3(0x2f5)](),'pivotTableId':_0x34954f};}),_0x523682=[];_0x481d72['iterateFieldByArea'](_0x4180e0['PivotTableFiledAreaEnum'][_0x348565(0x3cf)],_0x235a14=>{const _0x183452=_0x348565;_0x523682[_0x183452(0x3a9)]({'dataFieldId':_0x235a14[_0x183452(0x452)],'tableFieldId':_0x235a14['getId'](),'displayName':_0x235a14['getDisplayName']()});});const _0x591234=[];_0x481d72[_0x348565(0x236)](_0x4180e0['PivotTableFiledAreaEnum'][_0x348565(0x385)],_0x288bd1=>{const _0x1dfc3f=_0x348565;_0x591234[_0x1dfc3f(0x3a9)]({'dataFieldId':_0x288bd1['dataFieldId'],'tableFieldId':_0x288bd1[_0x1dfc3f(0x205)](),'displayName':_0x288bd1[_0x1dfc3f(0x313)]()});});const _0x207453=[];if(_0x481d72[_0x348565(0x236)](_0x4180e0['PivotTableFiledAreaEnum']['Value'],_0x20ecd0=>{const _0x58bf10=_0x348565;_0x207453[_0x58bf10(0x3a9)]({'dataFieldId':_0x20ecd0[_0x58bf10(0x452)],'tableFieldId':_0x20ecd0[_0x58bf10(0x205)](),'displayName':_0x20ecd0[_0x58bf10(0x313)](),'format':_0x20ecd0['getFormat'](),'subTotalType':_0x20ecd0['getSubtotal']()});}),_0x207453[_0x348565(0x316)]>0x1){const _0x108278=_0x481d72[_0x348565(0x188)]();(_0x481d72[_0x348565(0x376)]()?_0x591234:_0x523682)['splice'](_0x108278,0x0,{'dataFieldId':'','tableFieldId':_0x348565(0x144),'displayName':'ΣValue'});}const _0x16d96b=[];_0x481d72[_0x348565(0x236)](_0x4180e0[_0x348565(0x368)][_0x348565(0x2db)],_0x44806c=>{const _0x281eef=_0x348565;_0x16d96b[_0x281eef(0x3a9)]({'dataFieldId':_0x44806c[_0x281eef(0x452)],'tableFieldId':_0x44806c['getId'](),'displayName':_0x44806c['getDisplayName']()});});const _0xe9cf7f=_0x2435f9[_0x348565(0x292)];return{'sourceList':_0xb71573,'sourceRange':_0xe9cf7f,'rowFields':_0x523682,'columnFields':_0x591234,'valueFields':_0x207453,'filterFields':_0x16d96b,'positionInfo':_0x2435f9[_0x348565(0x41e)]};}function _0x101f20(_0x308a05,_0x1f4ea9,_0x578821='',_0x114a1b={}){const _0x8ef844=_0x106b51,_0x2ce9e7=_0x308a05[_0x8ef844(0x450)](_0x292aa7[_0x8ef844(0x2fa)]);for(const _0x2c3cca in _0x1f4ea9)if(Object[_0x8ef844(0x3e1)][_0x8ef844(0x1d4)][_0x8ef844(0x3e5)](_0x1f4ea9,_0x2c3cca)){const _0x95f40e=_0x578821?_0x578821+'.'+_0x2c3cca:_0x2c3cca;typeof _0x1f4ea9[_0x2c3cca]==_0x8ef844(0x1d8)&&_0x1f4ea9[_0x2c3cca]!==null&&!Array[_0x8ef844(0x3a4)](_0x1f4ea9[_0x2c3cca])?_0x101f20(_0x308a05,_0x1f4ea9[_0x2c3cca],_0x95f40e,_0x114a1b):_0x114a1b[_0x95f40e]=_0x2ce9e7['t'](_0x95f40e);}return _0x114a1b;}const _0xa3b11c=_0x4dc63c=>{const _0x3d00bd=_0x106b51;if(!_0x4dc63c)return[];const {rowRanges:_0x3809a9,colRanges:_0x29cfdc,cornerRanges:_0x42f4d4,dataRanges:_0x2c5c04,pageRanges:_0x1bb557}=_0x4dc63c,_0x327283=[..._0x29cfdc,..._0x3809a9,..._0x2c5c04,..._0x42f4d4][_0x3d00bd(0x36a)](_0x1c5389=>_0x1c5389[_0x3d00bd(0x22d)]>=0x0&&_0x1c5389[_0x3d00bd(0x40c)]>=0x0&&_0x1c5389['endRow']>=0x0&&_0x1c5389['endColumn']>=0x0);let _0x156a54=Number['MAX_SAFE_INTEGER'],_0x1be632=Number[_0x3d00bd(0x1bc)],_0x45f888=Number[_0x3d00bd(0x2d8)],_0x4aecf3=Number[_0x3d00bd(0x1bc)];for(let _0x119920=0x0;_0x119920<_0x327283[_0x3d00bd(0x316)];_0x119920++)_0x156a54=Math[_0x3d00bd(0x370)](_0x156a54,_0x327283[_0x119920][_0x3d00bd(0x22d)]),_0x1be632=Math[_0x3d00bd(0x1c4)](_0x1be632,_0x327283[_0x119920][_0x3d00bd(0x29f)]),_0x45f888=Math['min'](_0x45f888,_0x327283[_0x119920][_0x3d00bd(0x40c)]),_0x4aecf3=Math['max'](_0x4aecf3,_0x327283[_0x119920][_0x3d00bd(0x42e)]);return[..._0x1bb557,{'startRow':_0x156a54,'endRow':_0x1be632,'startColumn':_0x45f888,'endColumn':_0x4aecf3}];};function _0x2df1b2(_0x3541a0,_0x5eb438){const _0x420cc4=_0x106b51,_0x3af540=_0x5eb438['params']['drillDown'],{pivotTableId:_0x3047b5,unitId:_0x25237e,subUnitId:_0x3abc9f}=_0x5eb438;if(!_0x3af540)return;const _0x8d5b5b=_0x3541a0['get'](_0x9f0854['SheetsPivotDataSourceModel']),_0x22ad10=_0x8d5b5b[_0x420cc4(0x303)](_0x3047b5),_0x4f0ef5=_0x8d5b5b[_0x420cc4(0x3bc)](_0x25237e,_0x3abc9f,_0x3047b5);if(!_0x22ad10||!_0x4f0ef5)return;const _0x5754ba=_0x22ad10[_0x420cc4(0x2b5)](_0x3af540[_0x420cc4(0x20c)]);if(!(_0x5754ba!=null&&_0x5754ba[_0x420cc4(0x316)]))return;const _0x5626b2=_0x4f0ef5[_0x420cc4(0x292)],{unitId:_0x170cbb,subUnitId:_0x3931ea,range:_0x2d6e82}=_0x5626b2;let _0x45020f=0x0;const _0x4a657a=_0x22ad10[_0x420cc4(0x1af)]['getFieldIds']()[_0x420cc4(0x42d)]((_0x35fac4,_0xca0e8)=>{const _0xb298ab=_0x420cc4;var _0xe730be;const _0x200e1f=(_0xe730be=_0x22ad10['getDataFieldByDataFieldId'](_0xca0e8))==null?void 0x0:_0xe730be[_0xb298ab(0x2fe)]();return _0x200e1f&&(_0x35fac4[String(_0x45020f)]=_0x200e1f),_0x45020f++,_0x35fac4;},{});return{'indexes':_0x5754ba,'range':_0x2d6e82,'sourceUnitId':_0x170cbb,'sourceSubUnitId':_0x3931ea,'formatMap':_0x4a657a};}function _0x559421(_0x2c49bd,_0x1698dc){const _0x1ce478=_0x106b51;if(!_0x2c49bd||!_0x1698dc)return!0x0;const _0x3e0a82=_0x1f0349['unshiftString'](_0x36e4d4,_0x15c000),_0x24c0c8=new Function(_0x1ce478(0x23a)+_0x3e0a82)()(_0x2c49bd,_0x1698dc)[_0x1ce478(0x434)],_0x472bc2=_0x1f0349[_0x1ce478(0x23f)](_0x24c0c8,'sf',_0x14c24f);return!((_0x24c0c8==null?void 0x0:_0x24c0c8['rt'])===_0x1f0349[_0x1ce478(0x32b)][_0x1ce478(0x258)]&&!_0x472bc2);}function _0x11bb0e(_0x1b0457,_0x51ecd3,_0x2a891c){const _0x1b9283=_0x106b51,_0x3b0b35={'count':_0x1b0457,'timeValid':!0x1};if(!_0x51ecd3||!_0x2a891c)return _0x3b0b35;const _0x2a3830=_0x1f0349[_0x1b9283(0x147)](_0x36e4d4,_0x15c000),_0x470a59=new Function(_0x1b9283(0x23a)+_0x2a3830)()(_0x51ecd3,_0x2a891c);if(_0x470a59!=null&&_0x470a59[_0x1b9283(0x3b8)]){const _0x31befd=_0x470a59[_0x1b9283(0x434)],_0x10e83e=_0x1f0349[_0x1b9283(0x23f)](_0x31befd,'sf',_0x14c24f);return{'count':_0x1f0349['getSheetFeatureLimit'](_0x31befd,_0x10e83e,_0x1b9283(0x22e),_0x1b0457,_0x1b0457,0x0),'timeValid':_0x10e83e};}return _0x3b0b35;}function _0x2afb61(_0x936e5d,_0x36795f,_0x3b0e81,_0x68b6a7){const _0x159159=_0x106b51,_0x3cacbe={'subUnitId':_0x3b0e81,'unitId':_0x36795f,'cellValue':_0x4b8ea6[_0x159159(0x1a5)](_0x68b6a7)},_0x237333=_0x4b8ea6[_0x159159(0x337)](_0x936e5d,_0x3cacbe);let _0x16077b=!0x1;return new _0x292aa7[(_0x159159(0x156))](_0x237333[_0x159159(0x34a)])[_0x159159(0x3e6)]((_0x488854,_0x346845,_0x10620a)=>{const _0x3364c0=_0x159159;if(!_0x16077b&&_0x10620a&&(_0x10620a[_0x3364c0(0x2a6)]||_0x10620a['f']||_0x10620a['p']||_0x10620a['s']||_0x10620a['si']||_0x10620a['t']||_0x10620a['v']))return _0x16077b=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x4b8ea6[_0x159159(0x366)]['id'],'params':_0x237333},'setRangeValueRedoMutation':{'id':_0x4b8ea6[_0x159159(0x366)]['id'],'params':_0x3cacbe},'shouldClear':_0x16077b};}function _0x1df979(_0x531d10){const {row:_0x17d2ee,col:_0x554453}=_0x531d10,_0x368827={'startRow':_0x17d2ee,'endRow':_0x17d2ee,'startColumn':_0x554453,'endColumn':_0x554453},_0x389756={'startRow':_0x17d2ee+0x2,'endRow':_0x17d2ee+0xe,'startColumn':_0x554453,'endColumn':_0x554453+0x6};return[_0x368827,_0x389756];}function _0x4c744f(_0x5602d2,_0x2dbddc,_0xe4eede){const _0x5ef987=_0x106b51,{cornerView:_0x112927,rowView:_0x512769,colView:_0x4a14ce,pageView:_0x567bec}=_0x5602d2,{row:_0x109188,col:_0x286863}=_0x2dbddc;if(_0xe4eede)return{'rowCount':_0x5f2cb7+_0x109188,'colCount':_0x15b25a+_0x286863};const _0x15792e=_0x567bec[_0x5ef987(0x294)]>-0x1?_0x567bec['lastRow']+0x1:0x0,_0x26f026=_0x567bec['lastCol']>-0x1?_0x567bec[_0x5ef987(0x272)]:0x0,_0x165779=_0x109188+_0x15792e+(_0x15792e?0x1:0x0)+_0x112927['rowCount']+_0x512769[_0x5ef987(0x3f9)],_0xc852d2=_0x286863+_0x26f026,_0x28c7f6=_0x286863+_0x112927[_0x5ef987(0x2d5)]+_0x4a14ce['colCount'],_0x25efe5=Math[_0x5ef987(0x1c4)](_0xc852d2,_0x28c7f6);return{'rowCount':_0x165779,'colCount':_0x25efe5};}function _0x3ec6ee(_0x552e1a,_0x433c3a,_0x5c8b04,_0xfefaaf){const _0x1e1070=_0x106b51,{row:_0x458712,col:_0x24a228,unitId:_0x5bdc3d,subUnitId:_0x2026ee}=_0x5c8b04,_0x53aa2d=_0x4c744f(_0x433c3a,{'row':_0x458712,'col':_0x24a228},_0xfefaaf),_0x69511f=_0x552e1a[_0x1e1070(0x450)](_0x292aa7['IUniverInstanceService']),_0x1d81b7=_0x4b8ea6[_0x1e1070(0x13c)](_0x69511f,{'unitId':_0x5bdc3d,'subUnitId':_0x2026ee}),_0x49d68b=[],_0x11f853=[];if(!_0x1d81b7)return{'undos':_0x11f853,'redos':_0x49d68b};const {worksheet:_0x4b787e}=_0x1d81b7,_0x4c3dc4=_0x4b787e[_0x1e1070(0x2fb)](),_0x2f1237=_0x4b787e[_0x1e1070(0x441)]();return _0x4c3dc4<_0x53aa2d['rowCount']&&(_0x49d68b[_0x1e1070(0x3a9)]({'id':_0x4b8ea6[_0x1e1070(0x285)]['id'],'params':{'unitId':_0x5bdc3d,'subUnitId':_0x2026ee,'range':{'startRow':_0x4c3dc4,'endRow':_0x53aa2d['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x2f1237-0x1}}}),_0x11f853[_0x1e1070(0x3a9)]({'id':_0x4b8ea6[_0x1e1070(0x3d7)]['id'],'params':{'unitId':_0x5bdc3d,'subUnitId':_0x2026ee,'range':{'startRow':_0x4c3dc4,'endRow':_0x53aa2d['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x2f1237-0x1}}})),_0x2f1237<_0x53aa2d[_0x1e1070(0x2d5)]&&(_0x49d68b[_0x1e1070(0x3a9)]({'id':_0x4b8ea6['InsertColMutation']['id'],'params':{'unitId':_0x5bdc3d,'subUnitId':_0x2026ee,'range':{'startRow':0x0,'endRow':_0x4c3dc4-0x1,'startColumn':_0x2f1237,'endColumn':_0x53aa2d['colCount']-0x1}}}),_0x11f853[_0x1e1070(0x3a9)]({'id':_0x4b8ea6[_0x1e1070(0x3af)]['id'],'params':{'unitId':_0x5bdc3d,'subUnitId':_0x2026ee,'range':{'startRow':0x0,'endRow':_0x4c3dc4-0x1,'startColumn':_0x2f1237,'endColumn':_0x53aa2d[_0x1e1070(0x2d5)]-0x1}}})),{'undos':_0x11f853,'redos':_0x49d68b};}function _0x43b45d(_0x4d65ee){const _0x38bfe9=_0x106b51;let _0x448bb5=0x0;for(let _0x2f03c6=0x0;_0x2f03c6<_0x4d65ee[_0x38bfe9(0x316)];_0x2f03c6++){const _0x1446a9=_0x4d65ee['charCodeAt'](_0x2f03c6);_0x1446a9>=0x4e00&&_0x1446a9<=0x9fff||_0x1446a9>=0x3000&&_0x1446a9<=0x303f||_0x1446a9>=0xff00&&_0x1446a9<=0xffef?_0x448bb5+=0x2:_0x448bb5+=0x1;}return _0x448bb5;}function _0xcbe96d(_0x422fe6,_0x1b58ab,_0x13ae2c,_0x4dffc8){const _0x66a176=_0x106b51;var _0x496713,_0x5bab35,_0x2f146d,_0x3ef160;const {rowCount:_0xd18c2d,colCount:_0x2c851e,headerMap:_0x56c0a3}=_0x422fe6,_0x3207b0=0x64,_0x17445b=Math[_0x66a176(0x370)](_0xd18c2d,_0x3207b0),_0x3d23ff=Math['min'](_0x2c851e,_0x3207b0);let _0x17ad52='',_0x479b0d=0x0;for(let _0x4eb675=0x0;_0x4eb675<_0x17445b;_0x4eb675++)for(let _0x57c694=0x0;_0x57c694<_0x3d23ff;_0x57c694++){const _0x575c62={...(_0x5bab35=(_0x496713=_0x422fe6['data'])==null?void 0x0:_0x496713[_0x4eb675])==null?void 0x0:_0x5bab35[_0x57c694]},_0x55fc86=(_0x2f146d=_0x56c0a3[_0x4eb675])==null?void 0x0:_0x2f146d[_0x66a176(0x43f)],_0x13ae7d=_0x4dffc8[_0x55fc86];let _0x3e9511=_0x422fe6[_0x66a176(0x3fc)](_0x4eb675,_0x57c694);if(_0x575c62){const _0x5e5359=_0x13ae2c?_0x57c694===0x0&&((_0x3ef160=_0x422fe6[_0x66a176(0x458)](_0x57c694+0x1))==null?void 0x0:_0x3ef160[_0x66a176(0x328)]):!0x1;_0x3e9511=_0x1792a5(_0x575c62,_0x5e5359,_0x13ae7d,_0x1b58ab);}if(_0x3e9511!==void 0x0){const _0x41349e=_0x43b45d(String(_0x3e9511));_0x479b0d<_0x41349e&&(_0x17ad52=String(_0x3e9511),_0x479b0d=_0x41349e);}}return _0x17ad52;}function _0x265d6d(_0x132d35){const _0x4e01f9=_0x106b51,{rowCount:_0x4137d4,colCount:_0x3ff2ea}=_0x132d35;let _0xcb0f27='',_0x5a47d1=0x0;for(let _0x4326ed=_0x4137d4-0x1;_0x4326ed>0x0&&_0x4326ed>_0x4137d4-0x3;_0x4326ed--)for(let _0x32ecd9=0x0;_0x32ecd9<_0x3ff2ea;_0x32ecd9++){const _0x2c9d84=_0x132d35[_0x4e01f9(0x3fc)](_0x4326ed,_0x32ecd9);if(_0x2c9d84!==void 0x0){const _0x19cfd6=String(_0x2c9d84)[_0x4e01f9(0x316)];_0x5a47d1<_0x19cfd6&&(_0xcb0f27=String(_0x2c9d84),_0x5a47d1=_0x19cfd6);}}return _0xcb0f27;}function _0x5d45fd(_0x55e8bf){const _0xa3bb8b=_0x106b51,{rowCount:_0x4d0080,colCount:_0x21eb20}=_0x55e8bf;let _0x31d244='',_0x417935=0x0;for(let _0x2846ce=0x0;_0x2846ce<_0x4d0080;_0x2846ce++)for(let _0x4b1216=0x0;_0x4b1216<_0x21eb20;_0x4b1216++){const _0x28a466=_0x55e8bf[_0xa3bb8b(0x3fc)](_0x2846ce,_0x4b1216);if(_0x28a466!==void 0x0){const _0x2c3857=String(_0x28a466)['length'];_0x417935<_0x2c3857&&(_0x31d244=String(_0x28a466),_0x417935=_0x2c3857);}}return _0x31d244;}function _0x481dc2(_0x52ba96,_0x345efb){const _0x2d451c=_0x106b51,{rowFields:_0x51631d,columnFields:_0x511bdc,valueFields:_0x2fa3a6,filterFields:_0x52773c,dimension:_0x689183,measure:_0x1859c1}=_0x345efb;for(const _0x227eee of _0x51631d){const _0x2887ac=_0x689183[_0x227eee];_0x2887ac&&_0x52ba96[_0x2d451c(0x18a)](_0x2887ac['dataFieldId'])&&(_0x52ba96['addFieldWithSourceId'](_0x2887ac['dataFieldId'],_0x4180e0[_0x2d451c(0x368)]['Row'],void 0x0,_0x227eee),_0x2887ac[_0x2d451c(0x3eb)]&&_0x52ba96[_0x2d451c(0x339)](_0x2887ac['id'],_0x2887ac['displayName']),_0x2887ac[_0x2d451c(0x424)]&&_0x52ba96[_0x2d451c(0x1c2)](_0x2887ac['id'],_0x2887ac[_0x2d451c(0x424)]),_0x2887ac['filterInfo']&&_0x52ba96[_0x2d451c(0x2c6)](_0x2887ac['id'],_0x2887ac[_0x2d451c(0x1e3)]));}for(const _0x210b8a of _0x511bdc){const _0xe78f22=_0x689183[_0x210b8a];_0xe78f22&&_0x52ba96[_0x2d451c(0x18a)](_0xe78f22['dataFieldId'])&&(_0x52ba96[_0x2d451c(0x23c)](_0xe78f22['dataFieldId'],_0x4180e0[_0x2d451c(0x368)]['Column'],void 0x0,_0x210b8a),_0xe78f22[_0x2d451c(0x424)]&&_0x52ba96[_0x2d451c(0x1c2)](_0xe78f22['id'],_0xe78f22['sortInfo']),_0xe78f22['filterInfo']&&_0x52ba96[_0x2d451c(0x2c6)](_0xe78f22['id'],_0xe78f22['filterInfo']),_0xe78f22[_0x2d451c(0x3eb)]&&_0x52ba96[_0x2d451c(0x339)](_0xe78f22['id'],_0xe78f22[_0x2d451c(0x3eb)]));}for(const _0x4c8eb2 of _0x52773c){const _0x4b0463=_0x689183[_0x4c8eb2];_0x4b0463&&_0x52ba96[_0x2d451c(0x18a)](_0x4b0463[_0x2d451c(0x452)])&&(_0x52ba96[_0x2d451c(0x23c)](_0x4b0463['dataFieldId'],_0x4180e0[_0x2d451c(0x368)][_0x2d451c(0x2db)],void 0x0,_0x4c8eb2),_0x4b0463[_0x2d451c(0x424)]&&_0x52ba96[_0x2d451c(0x1c2)](_0x4b0463['id'],_0x4b0463[_0x2d451c(0x424)]),_0x4b0463[_0x2d451c(0x1e3)]&&_0x52ba96['setLabelFilterInfo'](_0x4b0463['id'],_0x4b0463[_0x2d451c(0x1e3)]),_0x4b0463[_0x2d451c(0x3eb)]&&_0x52ba96[_0x2d451c(0x339)](_0x4b0463['id'],_0x4b0463[_0x2d451c(0x3eb)]));}for(const _0x2c9284 of _0x2fa3a6){const _0x500035=_0x1859c1[_0x2c9284];_0x500035&&_0x52ba96[_0x2d451c(0x18a)](_0x500035['dataFieldId'])&&(_0x52ba96[_0x2d451c(0x23c)](_0x500035[_0x2d451c(0x452)],_0x4180e0[_0x2d451c(0x368)][_0x2d451c(0x3f2)],void 0x0,_0x2c9284),_0x500035[_0x2d451c(0x455)]!==void 0x0&&_0x52ba96[_0x2d451c(0x3a8)](_0x2c9284,_0x500035[_0x2d451c(0x455)]),_0x500035[_0x2d451c(0x2e9)]&&_0x52ba96[_0x2d451c(0x180)](_0x2c9284,_0x500035[_0x2d451c(0x2e9)]),_0x500035[_0x2d451c(0x3eb)]&&_0x52ba96[_0x2d451c(0x339)](_0x500035['id'],_0x500035['displayName']));}const _0xfad92f=_0x345efb[_0x2d451c(0x3c5)];for(const {fieldId:_0x12bfbf,filterInfo:_0x53341a}of _0xfad92f)_0x52ba96[_0x2d451c(0x28e)](_0x12bfbf,_0x53341a);}function _0x4ed281(_0x40bc77,_0x1664aa){const _0x501fac=_0x106b51,_0x241981=[];_0x1664aa===_0x4180e0['PivotTableFiledAreaEnum'][_0x501fac(0x3cf)]&&_0x40bc77['iterateFieldByArea'](_0x4180e0[_0x501fac(0x368)][_0x501fac(0x3cf)],_0x724563=>{const _0x33f176=_0x501fac;_0x241981['push'](_0x724563[_0x33f176(0x205)]());}),_0x1664aa===_0x4180e0[_0x501fac(0x368)][_0x501fac(0x385)]&&_0x40bc77[_0x501fac(0x236)](_0x4180e0[_0x501fac(0x368)][_0x501fac(0x385)],_0xec2ba0=>{const _0x359b91=_0x501fac;_0x241981['push'](_0xec2ba0[_0x359b91(0x205)]());}),_0x1664aa===_0x4180e0[_0x501fac(0x368)][_0x501fac(0x2db)]&&_0x40bc77[_0x501fac(0x236)](_0x4180e0[_0x501fac(0x368)]['Filter'],_0x2695dc=>{const _0x4881b0=_0x501fac;_0x241981[_0x4881b0(0x3a9)](_0x2695dc['getId']());}),_0x1664aa===_0x4180e0['PivotTableFiledAreaEnum'][_0x501fac(0x3f2)]&&_0x40bc77[_0x501fac(0x236)](_0x4180e0['PivotTableFiledAreaEnum'][_0x501fac(0x3f2)],_0x51e552=>{const _0x3edb3b=_0x501fac;_0x241981[_0x3edb3b(0x3a9)](_0x51e552[_0x3edb3b(0x205)]());}),_0x1664aa===void 0x0&&_0x40bc77[_0x501fac(0x373)](_0x35b940=>{const _0xac115d=_0x501fac;_0x241981[_0xac115d(0x3a9)](_0x35b940[_0xac115d(0x205)]());});const _0x178f49=_0x241981[_0x501fac(0x316)];for(let _0x1b9706=_0x178f49-0x1;_0x1b9706>=0x0;_0x1b9706--)_0x40bc77[_0x501fac(0x282)](_0x241981[_0x1b9706]);const _0x48402b=_0x40bc77[_0x501fac(0x3ac)]();for(const _0x426fea in _0x48402b)_0x40bc77[_0x501fac(0x2c0)](_0x426fea);}function _0x183b69(_0x138088,_0x5e518d){const _0x1e815a=_0x106b51,_0x5b9660=new Date(_0x4180e0[_0x1e815a(0x208)](_0x5e518d)),_0x390158=new Date(_0x4180e0['excelDateToUnixMilliseconds'](_0x138088)),_0x452b1d=_0x5b9660[_0x1e815a(0x400)](),_0xc6168f=_0x390158[_0x1e815a(0x400)](),_0x5ccffc=_0x5b9660[_0x1e815a(0x1c0)](),_0x38a22e=_0x390158[_0x1e815a(0x1c0)](),_0x4ceab4=_0x5b9660[_0x1e815a(0x281)](),_0x5ab4bd=_0x390158[_0x1e815a(0x281)](),_0x4325d7=_0x452b1d===_0xc6168f,_0x124fc6=_0x4325d7&&_0x5ccffc===_0x38a22e;return _0x4325d7&&_0x124fc6&&!(_0x124fc6&&_0x4ceab4===_0x5ab4bd)?_0x4180e0[_0x1e815a(0x26a)]['YearMonthDate']:_0x4325d7&&!_0x124fc6?_0x4180e0[_0x1e815a(0x26a)][_0x1e815a(0x2ef)]:_0x4180e0['PivotDateGroupFieldDateTypeEnum'][_0x1e815a(0x19f)];}function _0x49fb40(_0x1bb119,_0x1a55f6){const _0xa53629=_0x106b51,_0x410d07=_0x1bb119[_0xa53629(0x450)](_0x9f0854[_0xa53629(0x1f2)])[_0xa53629(0x34c)]();let _0x315f17='';switch(_0x1a55f6){case _0x4180e0[_0xa53629(0x26a)][_0xa53629(0x298)]:_0x315f17=_0x410d07[_0xa53629(0x1d0)];break;case _0x4180e0[_0xa53629(0x26a)]['YearMonth']:_0x315f17=_0x410d07['sheets-pivot.dateGroup.yearMonth'];break;case _0x4180e0[_0xa53629(0x26a)][_0xa53629(0x19f)]:_0x315f17=_0x410d07[_0xa53629(0x3e4)];break;case _0x4180e0[_0xa53629(0x26a)]['Month']:_0x315f17=_0x410d07[_0xa53629(0x198)];break;case _0x4180e0[_0xa53629(0x26a)][_0xa53629(0x446)]:_0x315f17=_0x410d07['sheets-pivot.dateGroup.quarter'];break;case _0x4180e0[_0xa53629(0x26a)]['Date']:_0x315f17=_0x410d07[_0xa53629(0x202)];break;case _0x4180e0[_0xa53629(0x26a)][_0xa53629(0x1b5)]:_0x315f17=_0x410d07[_0xa53629(0x19d)];break;case _0x4180e0['PivotDateGroupFieldDateTypeEnum'][_0xa53629(0x322)]:_0x315f17=_0x410d07[_0xa53629(0x21a)];break;case _0x4180e0[_0xa53629(0x26a)][_0xa53629(0x3ba)]:_0x315f17=_0x410d07['sheets-pivot.dateGroup.minute'];break;case _0x4180e0[_0xa53629(0x26a)][_0xa53629(0x225)]:_0x315f17=_0x410d07[_0xa53629(0x323)];break;case _0x4180e0[_0xa53629(0x26a)][_0xa53629(0x3e3)]:_0x315f17=_0x410d07[_0xa53629(0x436)];break;default:_0x315f17='';break;}return _0x315f17;}const _0x9046a7=_0x106b51(0x1d1),_0x54ecd7={};var _0x394b27=Object[_0x106b51(0x35b)],_0x4e82af=(_0x394cc2,_0x56361a,_0x302cfd,_0x4ac445)=>{const _0x3840f6=_0x106b51;for(var _0xb6ee53=_0x4ac445>0x1?void 0x0:_0x4ac445?_0x394b27(_0x56361a,_0x302cfd):_0x56361a,_0x4e47d4=_0x394cc2[_0x3840f6(0x316)]-0x1,_0x153ecf;_0x4e47d4>=0x0;_0x4e47d4--)(_0x153ecf=_0x394cc2[_0x4e47d4])&&(_0xb6ee53=_0x153ecf(_0xb6ee53)||_0xb6ee53);return _0xb6ee53;},_0x22cfad=(_0x1be9dd,_0x454bfc)=>(_0x178008,_0x5b8774)=>_0x454bfc(_0x178008,_0x5b8774,_0x1be9dd);_0x9f0854[_0x106b51(0x3a3)]=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x5e903a,_0x54492d,_0x2f9120,_0xbbd42b,_0x4fabc8){const _0x5323c6=_0x106b51;super(),_0x4ac1dd(this,_0x5323c6(0x163),new Map()),_0x4ac1dd(this,_0x5323c6(0x263),new Map()),_0x4ac1dd(this,_0x5323c6(0x3d1),new Map()),_0x4ac1dd(this,_0x5323c6(0x2be),new Map()),_0x4ac1dd(this,_0x5323c6(0x1b4),new _0x3bf6b2[(_0x5323c6(0x31f))]()),_0x4ac1dd(this,'_pivotInitCompleted$',new _0x3bf6b2[(_0x5323c6(0x31f))]()),_0x4ac1dd(this,'pivotInitCompleted$',this[_0x5323c6(0x30f)][_0x5323c6(0x413)]()),_0x4ac1dd(this,_0x5323c6(0x2af),new _0x3bf6b2[(_0x5323c6(0x31f))]()),_0x4ac1dd(this,_0x5323c6(0x1f1),this[_0x5323c6(0x2af)]['asObservable']()),_0x4ac1dd(this,_0x5323c6(0x2a5),{}),_0x4ac1dd(this,_0x5323c6(0x1d9),this[_0x5323c6(0x1b4)][_0x5323c6(0x413)]()),(this['_injector']=_0x5e903a,this['_commandService']=_0x54492d,this[_0x5323c6(0x22a)]=_0x2f9120,this['_resourceManagerService']=_0xbbd42b,this[_0x5323c6(0x320)]=_0x4fabc8,this[_0x5323c6(0x353)](),this['_initUnitDisposed']());const _0x392fe6=this[_0x5323c6(0x320)][_0x5323c6(0x32e)](_0x9046a7);(_0x392fe6==null?void 0x0:_0x392fe6[_0x5323c6(0x284)])===!0x0&&this[_0x5323c6(0x37e)]();}[_0x106b51(0x278)](){const _0x2e60a2=_0x106b51;this[_0x2e60a2(0x2df)](this[_0x2e60a2(0x22a)][_0x2e60a2(0x1dc)](_0x292aa7[_0x2e60a2(0x299)][_0x2e60a2(0x265)])[_0x2e60a2(0x43c)](_0x504aa9=>{const _0x1cf41e=_0x2e60a2;this[_0x1cf41e(0x367)](_0x504aa9['getUnitId']());}));}['setPivotInitCompleted'](){const _0x41e76c=_0x106b51;this[_0x41e76c(0x30f)][_0x41e76c(0x421)](!0x0);}[_0x106b51(0x353)](){const _0x275470=_0x106b51,_0x1d55c7=_0x101f20(this['_injector'],_0x553f3a,'',{});this['_textInfo']=_0x1d55c7,this[_0x275470(0x264)][_0x275470(0x347)](_0xb0b6e['id'],{'textInfo':_0x1d55c7},{'onlyLocal':!0x0});}[_0x106b51(0x34c)](){const _0x7072d3=_0x106b51;return this[_0x7072d3(0x2a5)];}[_0x106b51(0x20d)](_0x34e538,_0x484110,_0x1ba831,_0x4f67f3,_0x30b12b){const _0x30bb25=_0x106b51;this[_0x30bb25(0x389)](_0x34e538,_0x484110,_0x1ba831,_0x4f67f3),this['updatePivotTableRangeInfo'](_0x34e538,_0x484110,_0x1ba831,_0x30b12b);}[_0x106b51(0x3bc)](_0x231a25,_0x185be0,_0xebdccd){const _0x477aaa=_0x106b51;var _0x220d07;const _0x4deaae=(_0x220d07=this[_0x477aaa(0x163)]['get'](_0x231a25))==null?void 0x0:_0x220d07[_0x477aaa(0x450)](_0x185be0);if(_0x4deaae)return _0x4deaae[_0x477aaa(0x450)](_0xebdccd);}[_0x106b51(0x2dd)](_0xb919cc,_0x552523){const _0x371429=_0x106b51,_0x48c829=this[_0x371429(0x163)][_0x371429(0x450)](_0xb919cc);if(_0x48c829){for(const [_0x41b78c,_0x3ca807]of _0x48c829['entries']())for(const [_0x291ee5,_0x37ef5e]of _0x3ca807[_0x371429(0x2ee)]())if(_0x291ee5===_0x552523)return _0x37ef5e[_0x371429(0x41e)];}}[_0x106b51(0x352)](_0x5471f9,_0x54a0bf,_0x39dbc8){const _0x3f367e=_0x106b51,_0x588f76=this[_0x3f367e(0x3bc)](_0x5471f9,_0x54a0bf,_0x39dbc8);return _0x588f76==null?void 0x0:_0x588f76[_0x3f367e(0x41e)];}[_0x106b51(0x371)](_0x1559db,_0x2941c0){const _0x529c70=_0x106b51;var _0x3a53f8;return(_0x3a53f8=this[_0x529c70(0x163)][_0x529c70(0x450)](_0x1559db))==null?void 0x0:_0x3a53f8[_0x529c70(0x450)](_0x2941c0);}['updateConfigCache'](_0x140cdc,_0x25d890,_0x39cc61,_0x464c9f){const _0x34c4ea=_0x106b51,_0x3f72f3=this[_0x34c4ea(0x1fa)](_0x140cdc,_0x25d890);_0x464c9f?_0x3f72f3[_0x34c4ea(0x27a)](_0x39cc61,_0x464c9f):_0x3f72f3[_0x34c4ea(0x14f)](_0x39cc61),this['_pivotConfigChange$'][_0x34c4ea(0x421)]({'unitId':_0x140cdc,'subUnitId':_0x25d890,'pivotTableId':_0x39cc61,'pivotTableConfig':_0x464c9f});}[_0x106b51(0x2d0)](_0x4a1e1e,_0x4c0f99){const _0x21b4fe=_0x106b51;var _0x2cb0de;return(_0x2cb0de=this[_0x21b4fe(0x263)]['get'](_0x4a1e1e))==null?void 0x0:_0x2cb0de[_0x21b4fe(0x38f)][_0x4c0f99];}['updateCollectionConfig'](_0x52630f,_0x155a42){const _0x2d8eb4=_0x106b51;this[_0x2d8eb4(0x263)][_0x2d8eb4(0x27a)](_0x52630f,_0x155a42),this[_0x2d8eb4(0x1b4)][_0x2d8eb4(0x421)](Math[_0x2d8eb4(0x246)]());}[_0x106b51(0x1fa)](_0x1b73bf,_0x4caf0a){const _0x5191b3=_0x106b51;let _0x19f20a=this[_0x5191b3(0x163)]['get'](_0x1b73bf);_0x19f20a||(_0x19f20a=new Map(),this[_0x5191b3(0x163)][_0x5191b3(0x27a)](_0x1b73bf,_0x19f20a));let _0x379d43=_0x19f20a[_0x5191b3(0x450)](_0x4caf0a);return _0x379d43||(_0x379d43=new Map(),_0x19f20a['set'](_0x4caf0a,_0x379d43)),_0x379d43;}[_0x106b51(0x425)](_0x557a63,_0x50e2f9){const _0x3255fd=_0x106b51;let _0x366545=this[_0x3255fd(0x3d1)][_0x3255fd(0x450)](_0x557a63);_0x366545||(_0x366545=new Map(),this[_0x3255fd(0x3d1)][_0x3255fd(0x27a)](_0x557a63,_0x366545));let _0x4c7e2c=_0x366545[_0x3255fd(0x450)](_0x50e2f9);return _0x4c7e2c||(_0x4c7e2c=new Map(),_0x366545['set'](_0x50e2f9,_0x4c7e2c)),_0x4c7e2c;}[_0x106b51(0x403)](_0x1d58ba,_0x3affef){const _0x1de1f9=_0x106b51;let _0x396501=this[_0x1de1f9(0x2be)][_0x1de1f9(0x450)](_0x1d58ba);_0x396501||(_0x396501=new Map(),this[_0x1de1f9(0x2be)][_0x1de1f9(0x27a)](_0x1d58ba,_0x396501));let _0x3dc9be=_0x396501[_0x1de1f9(0x450)](_0x3affef);return _0x3dc9be||(_0x3dc9be=new Map(),_0x396501[_0x1de1f9(0x27a)](_0x3affef,_0x3dc9be)),_0x3dc9be;}[_0x106b51(0x3c9)](_0x17bfad,_0x226f38,_0x399c5e,_0x517f05){const _0x22dce=_0x106b51;var _0x59008e;const _0x148754=this['_ensurePivotTableRangeInfo'](_0x17bfad,_0x226f38),_0x1586e2=(_0x59008e=_0x148754[_0x22dce(0x450)](_0x399c5e))==null?void 0x0:_0x59008e['oldRangeInfo'];_0x148754[_0x22dce(0x27a)](_0x399c5e,{'oldRangeInfo':_0x1586e2,'rangeInfo':_0x517f05});}['updatePivotTableMatrixInfo'](_0x2b41bd,_0x2804cc,_0x3f5730,_0x2ef8fe){const _0xc4b499=_0x106b51;var _0xd6195a;const _0xdaaffb=this['_ensurePivotTableMatrixInfo'](_0x2b41bd,_0x2804cc),_0x40a5e2=(_0xd6195a=_0xdaaffb['get'](_0x3f5730))==null?void 0x0:_0xd6195a[_0xc4b499(0x2a9)];_0xdaaffb[_0xc4b499(0x27a)](_0x3f5730,{'oldMatrix':_0x40a5e2,'matrix':_0x2ef8fe});}[_0x106b51(0x35a)](_0x2fdfbc,_0x184639,_0x26bc87){const _0x55216a=_0x106b51;var _0x589104,_0x54e822;return(_0x54e822=(_0x589104=this['_pivotTableRangeInfo'][_0x55216a(0x450)](_0x2fdfbc))==null?void 0x0:_0x589104['get'](_0x184639))==null?void 0x0:_0x54e822[_0x55216a(0x450)](_0x26bc87);}[_0x106b51(0x41d)](_0x2ed29e,_0xcbd38a,_0x30e3c8){const _0x735ce3=_0x106b51;var _0x5ee8e0,_0x5e7e61;return(_0x5e7e61=(_0x5ee8e0=this['_pivotTableMatrixInfo'][_0x735ce3(0x450)](_0x2ed29e))==null?void 0x0:_0x5ee8e0[_0x735ce3(0x450)](_0xcbd38a))==null?void 0x0:_0x5e7e61[_0x735ce3(0x450)](_0x30e3c8);}['deleteUnitId'](_0x599a1b){const _0x1c3c9d=_0x106b51;this[_0x1c3c9d(0x163)][_0x1c3c9d(0x14f)](_0x599a1b),this['_collectionConfigModel'][_0x1c3c9d(0x14f)](_0x599a1b);}['_toJSON'](_0x46dec6){const _0x410bac=_0x106b51,_0x38322f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x410bac(0x263)]['get'](_0x46dec6)&&(_0x38322f[_0x410bac(0x3f4)][_0x46dec6]=this[_0x410bac(0x263)][_0x410bac(0x450)](_0x46dec6)),this[_0x410bac(0x163)][_0x410bac(0x450)](_0x46dec6)){_0x38322f[_0x410bac(0x33d)][_0x46dec6]={};const _0x3e168e=this['_model']['get'](_0x46dec6);_0x3e168e!=null&&_0x3e168e[_0x410bac(0x390)]&&[..._0x3e168e['keys']()][_0x410bac(0x15b)](_0x14a2ce=>{const _0x2e1a06=_0x410bac,_0x4a80d3=_0x3e168e[_0x2e1a06(0x450)](_0x14a2ce);_0x4a80d3!=null&&_0x4a80d3[_0x2e1a06(0x390)]&&(_0x38322f[_0x2e1a06(0x33d)][_0x46dec6][_0x14a2ce]={},[..._0x4a80d3['keys']()][_0x2e1a06(0x15b)](_0x4fc88b=>{const _0x413bc1=_0x2e1a06,_0x5cafaf=_0x4a80d3[_0x413bc1(0x450)](_0x4fc88b);_0x5cafaf&&(_0x38322f['pivotTableConfigs'][_0x46dec6][_0x14a2ce][_0x4fc88b]=_0x5cafaf);}));});}return _0x38322f;}[_0x106b51(0x37e)](){const _0x387b3a=_0x106b51;this[_0x387b3a(0x2df)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x208e07=>JSON[_0x387b3a(0x3df)](this[_0x387b3a(0x41b)](_0x208e07)),'parseJson':_0x5b8d99=>({}),'businesses':[_0x292aa7[_0x387b3a(0x299)][_0x387b3a(0x265)]],'pluginName':_0x4360d2,'onLoad':(_0x6cef42,_0x419978)=>{},'onUnLoad':_0x3cb6e0=>{const _0x1330f1=_0x387b3a;this[_0x1330f1(0x367)](_0x3cb6e0);}}));}},_0x9f0854[_0x106b51(0x3a3)]=_0x4e82af([_0x22cfad(0x0,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7['Injector'])),_0x22cfad(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x3ff)])),_0x22cfad(0x2,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x14b)])),_0x22cfad(0x3,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x27e)])),_0x22cfad(0x4,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x36b)]))],_0x9f0854['SheetsPivotTableConfigModel']);var _0x1ec9dc=Object[_0x106b51(0x35b)],_0x1e21b2=(_0x5c1218,_0x120432,_0x27ff3a,_0x46d0ad)=>{const _0x54b552=_0x106b51;for(var _0x4bbf16=_0x46d0ad>0x1?void 0x0:_0x46d0ad?_0x1ec9dc(_0x120432,_0x27ff3a):_0x120432,_0x1472b3=_0x5c1218[_0x54b552(0x316)]-0x1,_0x2d1693;_0x1472b3>=0x0;_0x1472b3--)(_0x2d1693=_0x5c1218[_0x1472b3])&&(_0x4bbf16=_0x2d1693(_0x4bbf16)||_0x4bbf16);return _0x4bbf16;},_0x537d08=(_0xa02aed,_0xb477ab)=>(_0x302636,_0xeb3ae1)=>_0xb477ab(_0x302636,_0xeb3ae1,_0xa02aed);_0x9f0854[_0x106b51(0x359)]=class extends _0x292aa7['Disposable']{constructor(_0x3188f2,_0x5177b3,_0x3c1d86,_0x17cde8,_0x32e5bb){const _0x41266a=_0x106b51;super(),_0x4ac1dd(this,_0x41266a(0x3cd),new Map()),_0x4ac1dd(this,_0x41266a(0x3f7),new Map()),_0x4ac1dd(this,_0x41266a(0x239),new _0x3bf6b2['Subject']()),_0x4ac1dd(this,_0x41266a(0x21e),this[_0x41266a(0x239)]['asObservable']()),_0x4ac1dd(this,_0x41266a(0x155),new _0x3bf6b2[(_0x41266a(0x31f))]()),_0x4ac1dd(this,_0x41266a(0x15e),this[_0x41266a(0x155)]['asObservable']()),_0x4ac1dd(this,_0x41266a(0x2a5)),(this['_localeService']=_0x3188f2,this[_0x41266a(0x1cc)]=_0x5177b3,this[_0x41266a(0x267)]=_0x3c1d86,this['_univerInstanceService']=_0x17cde8,this[_0x41266a(0x255)]=_0x32e5bb,this[_0x41266a(0x353)](),this['_initUnitDisposed']());}[_0x106b51(0x278)](){const _0x52bda1=_0x106b51;this['disposeWithMe'](this[_0x52bda1(0x22a)]['getTypeOfUnitDisposed$'](_0x292aa7[_0x52bda1(0x299)][_0x52bda1(0x265)])[_0x52bda1(0x43c)](_0x16364e=>{const _0x674ebf=_0x52bda1;this[_0x674ebf(0x367)](_0x16364e['getUnitId']());}));}[_0x106b51(0x353)](){const _0x5c26d8=_0x106b51;this[_0x5c26d8(0x2a5)]=_0x101f20(this[_0x5c26d8(0x1cc)],_0x553f3a,'',{});}[_0x106b51(0x311)](_0x44579a){const _0x4f38b=_0x106b51,{view:_0x4a56ce,unitId:_0x47a882,subUnitId:_0x4e888f,pivotTableId:_0x2523b4,type:_0x458754}=_0x44579a,_0x248126=this[_0x4f38b(0x267)]['getPivotTableConfig'](_0x47a882,_0x4e888f,_0x2523b4);if(!_0x4a56ce||!_0x248126||_0x458754===_0x3fdebd[_0x4f38b(0x1ca)])return;const {pageView:_0xb0f9f0,cornerView:_0x5c9df7,rowView:_0x32c09e,colView:_0x2f67fc,dataView:_0x8ea0d3}=_0x4a56ce,_0xa0ee72=_0x248126['targetCellInfo'],_0x367780=_0x248126['isEmpty'],_0x2e1872=this[_0x4f38b(0x1f4)](_0x47a882,_0x4e888f),_0x1b0aa4=this['_ensurePivotItemRenderInfoCache'](_0x47a882,_0x4e888f,_0x2523b4);if(_0x367780)return this[_0x4f38b(0x28f)](_0x44579a,_0x2e1872,_0xa0ee72,_0x1b0aa4);{const _0x374700=_0x4e64a4(_0xa0ee72,_0xb0f9f0,!0x0),_0x3d757e=_0xb0f9f0[_0x4f38b(0x294)]>=0x0?_0xb0f9f0[_0x4f38b(0x294)]+0x1:0x0,_0x4fdad6=_0x5c9df7[_0x4f38b(0x2fb)](),_0x1c17c4=_0x5c9df7['getColCount'](),_0x694dc7=_0x374700[_0x4f38b(0x316)]>0x0?_0x707193:0x0,_0x1aecf1=_0x4e64a4({'row':_0xa0ee72['row']+_0x3d757e+_0x694dc7,'col':_0xa0ee72[_0x4f38b(0x174)]},_0x5c9df7,!0x1,!0x1),_0x502bdb=_0x4e64a4({'row':_0xa0ee72[_0x4f38b(0x2b8)]+_0x3d757e+_0x694dc7+_0x4fdad6,'col':_0xa0ee72['col']},_0x32c09e,!0x1,!0x0),_0x4963b5=_0x4e64a4({'row':_0xa0ee72[_0x4f38b(0x2b8)]+_0x3d757e+_0x694dc7,'col':_0xa0ee72[_0x4f38b(0x174)]+_0x1c17c4},_0x2f67fc,!0x1,!0x0),_0x1a5c3e=_0x4e64a4({'row':_0xa0ee72[_0x4f38b(0x2b8)]+_0x3d757e+_0x694dc7+_0x4fdad6,'col':_0xa0ee72[_0x4f38b(0x174)]+_0x1c17c4},_0x8ea0d3,!0x1,!0x1);_0x1b0aa4['rangesInfo']={'rowRanges':_0x502bdb,'colRanges':_0x4963b5,'cornerRanges':_0x1aecf1,'dataRanges':_0x1a5c3e,'pageRanges':_0x374700};const _0xeea508=_0x361b41(this['_injector'],_0x4a56ce,_0x248126,this[_0x4f38b(0x2a5)]),{valueMatrix:_0x284068,rowInfo:_0x29baaa,colInfo:_0x5f986b,cornerInfo:_0x2f5726,rowHeaderMap:_0x13bce6,colHeaderMap:_0x5e510f}=_0xeea508;return _0x1b0aa4[_0x4f38b(0x275)]={'rowInfo':_0x29baaa,'colInfo':_0x5f986b,'cornerInfo':_0x2f5726},_0x1b0aa4[_0x4f38b(0x189)]={'rowHeaderMap':_0x13bce6,'colHeaderMap':_0x5e510f},_0x284068[_0x4f38b(0x15b)]((_0x177786,_0x2e53a0)=>{const _0x423726=_0x4f38b;Object[_0x423726(0x1de)](_0x2e53a0)['forEach'](_0x4c3b8c=>{const _0x5ce8d8=_0x423726,_0x241adf=+_0x4c3b8c,_0x3aef98=_0x284068[_0x5ce8d8(0x3fc)](_0x177786,_0x241adf);_0x2e1872['setValue'](_0x177786,_0x241adf,_0x3aef98);});}),this[_0x4f38b(0x155)][_0x4f38b(0x421)]({'unitId':_0x47a882,'subUnitId':_0x4e888f,'valueMatrix':_0x2e1872,'rangesCache':_0x1b0aa4[_0x4f38b(0x2ed)],'pivotTableId':_0x2523b4,'type':_0x44579a[_0x4f38b(0x35d)]}),this[_0x4f38b(0x267)][_0x4f38b(0x20d)](_0x47a882,_0x4e888f,_0x2523b4,_0x2e1872,_0x1b0aa4[_0x4f38b(0x2ed)]),this[_0x4f38b(0x255)][_0x4f38b(0x209)](_0x47a882,_0x4e888f,_0xc9ac37,this[_0x4f38b(0x3e9)](_0x1b0aa4[_0x4f38b(0x2ed)],_0x2523b4)),{'rangeCache':_0x1b0aa4['rangesInfo'],'matrix':_0x2e1872};}}[_0x106b51(0x28f)](_0x3a1834,_0x509d5d,_0x17bc05,_0x4a8b88){const _0x34f060=_0x106b51,_0xc29388=this[_0x34f060(0x35f)]['t'],{unitId:_0x1b736a,subUnitId:_0x3dd48a,pivotTableId:_0x58b744}=_0x3a1834,_0x7febc0={'filter':_0xc29388(_0x34f060(0x15c)),'row':_0xc29388('sheets-pivot.emptyPivot.row'),'column':_0xc29388(_0x34f060(0x260)),'values':_0xc29388(_0x34f060(0x200))},{matrixCache:_0x161c6e,rangesCache:_0x36a18a}=_0x5b3d2d(_0x7febc0,_0x17bc05);return _0x161c6e[_0x34f060(0x3e6)]((_0x387d3c,_0x2d6fe0,_0x319b76)=>{const _0x3b461f=_0x34f060;_0x509d5d[_0x3b461f(0x1f0)](_0x387d3c,_0x2d6fe0,_0x319b76);}),_0x4a8b88[_0x34f060(0x2ed)]=_0x36a18a,this[_0x34f060(0x155)]['next']({'unitId':_0x1b736a,'subUnitId':_0x3dd48a,'valueMatrix':_0x509d5d,'rangesCache':_0x36a18a,'pivotTableId':_0x58b744,'type':_0x3a1834['type'],'isEmpty':!0x0}),this[_0x34f060(0x267)][_0x34f060(0x20d)](_0x1b736a,_0x3dd48a,_0x58b744,_0x509d5d,_0x36a18a),this[_0x34f060(0x255)]['addExclusiveRange'](_0x1b736a,_0x3dd48a,_0xc9ac37,this[_0x34f060(0x3e9)](_0x36a18a,_0x58b744)),{'rangeCache':_0x4a8b88['rangesInfo'],'matrix':_0x509d5d};}[_0x106b51(0x3e9)](_0x2c6d0f,_0x9aedd6){const _0x5bcce5=_0x106b51,_0x37be73=[],_0x1bc7d1=_0xa3b11c(_0x2c6d0f);for(const _0x4d94a6 of _0x1bc7d1)_0x37be73[_0x5bcce5(0x3a9)]({'groupId':_0x9aedd6,'range':_0x4d94a6});return _0x37be73;}[_0x106b51(0x1dd)](_0x25be3f){const _0x638fea=_0x106b51;var _0x16fcab,_0x5ca925,_0x1644c8,_0x1ac1f9;const {pivotTableId:_0x172c11,unitId:_0x892bdb,subUnitId:_0x9a8e2a}=_0x25be3f;if(!_0x172c11||!_0x892bdb||!_0x9a8e2a)return;const _0x561901=this[_0x638fea(0x1f4)](_0x892bdb,_0x9a8e2a),_0x4f6f6b=(_0x5ca925=(_0x16fcab=this[_0x638fea(0x3cd)][_0x638fea(0x450)](_0x892bdb))==null?void 0x0:_0x16fcab[_0x638fea(0x450)](_0x9a8e2a))==null?void 0x0:_0x5ca925[_0x638fea(0x450)](_0x172c11);if(_0x4f6f6b!=null&&_0x4f6f6b[_0x638fea(0x2ed)]){for(const _0x46c1fa of Object[_0x638fea(0x1de)](_0x4f6f6b[_0x638fea(0x2ed)]))_0x4f6f6b['rangesInfo'][_0x46c1fa][_0x638fea(0x15b)](_0x135baa=>{const _0x2fc51a=_0x638fea;for(let _0x246010=_0x135baa['startRow'];_0x246010<=_0x135baa[_0x2fc51a(0x29f)];_0x246010++)for(let _0x365dbc=_0x135baa[_0x2fc51a(0x40c)];_0x365dbc<=_0x135baa['endColumn'];_0x365dbc++)_0x561901[_0x2fc51a(0x319)](_0x246010,_0x365dbc);});}_0x4f6f6b&&((_0x1ac1f9=(_0x1644c8=this[_0x638fea(0x3cd)]['get'](_0x892bdb))==null?void 0x0:_0x1644c8[_0x638fea(0x450)](_0x9a8e2a))==null||_0x1ac1f9[_0x638fea(0x14f)](_0x172c11)),this[_0x638fea(0x155)][_0x638fea(0x421)]({'unitId':_0x892bdb,'subUnitId':_0x9a8e2a,'valueMatrix':_0x561901,'pivotTableId':_0x172c11,'rangesCache':void 0x0,'type':_0x25be3f['type']}),this[_0x638fea(0x255)]['clearExclusiveRangesByGroupId'](_0x892bdb,_0x9a8e2a,_0xc9ac37,_0x172c11);}['_ensurePivotItemRenderInfoCache'](_0x567253,_0x124a07,_0x1c3560){const _0x19c6cf=_0x106b51;var _0x1783cc,_0x565b35,_0x4ee2e6,_0x3afa97,_0x48e899,_0xf5044;return this['_pivotRenderInfoCache'][_0x19c6cf(0x39c)](_0x567253)||this[_0x19c6cf(0x3cd)][_0x19c6cf(0x27a)](_0x567253,new Map()),(_0x1783cc=this[_0x19c6cf(0x3cd)][_0x19c6cf(0x450)](_0x567253))!=null&&_0x1783cc[_0x19c6cf(0x39c)](_0x124a07)||(_0x565b35=this['_pivotRenderInfoCache'][_0x19c6cf(0x450)](_0x567253))==null||_0x565b35['set'](_0x124a07,new Map()),(_0x3afa97=(_0x4ee2e6=this[_0x19c6cf(0x3cd)][_0x19c6cf(0x450)](_0x567253))==null?void 0x0:_0x4ee2e6[_0x19c6cf(0x450)](_0x124a07))!=null&&_0x3afa97[_0x19c6cf(0x39c)](_0x1c3560)||(_0xf5044=(_0x48e899=this['_pivotRenderInfoCache']['get'](_0x567253))==null?void 0x0:_0x48e899['get'](_0x124a07))==null||_0xf5044[_0x19c6cf(0x27a)](_0x1c3560,{}),this['_pivotRenderInfoCache']['get'](_0x567253)[_0x19c6cf(0x450)](_0x124a07)[_0x19c6cf(0x450)](_0x1c3560);}[_0x106b51(0x1f4)](_0x11bf0c,_0x2b37bd){const _0x3434e6=_0x106b51;var _0x1b8a9a,_0x1feaec;return this[_0x3434e6(0x3f7)]['has'](_0x11bf0c)||this[_0x3434e6(0x3f7)][_0x3434e6(0x27a)](_0x11bf0c,new Map()),(_0x1b8a9a=this[_0x3434e6(0x3f7)][_0x3434e6(0x450)](_0x11bf0c))!=null&&_0x1b8a9a[_0x3434e6(0x39c)](_0x2b37bd)||(_0x1feaec=this[_0x3434e6(0x3f7)][_0x3434e6(0x450)](_0x11bf0c))==null||_0x1feaec[_0x3434e6(0x27a)](_0x2b37bd,new _0x292aa7['ObjectMatrix']()),this[_0x3434e6(0x3f7)][_0x3434e6(0x450)](_0x11bf0c)[_0x3434e6(0x450)](_0x2b37bd);}[_0x106b51(0x17c)](_0x9d25b5,_0x957531,_0x11d241,_0xde47c9){const _0x4c68bc=_0x106b51;var _0x28f76c,_0x3e33b0;const _0x3620fe=(_0x3e33b0=(_0x28f76c=this[_0x4c68bc(0x3f7)][_0x4c68bc(0x450)](_0x9d25b5))==null?void 0x0:_0x28f76c[_0x4c68bc(0x450)](_0x957531))==null?void 0x0:_0x3e33b0[_0x4c68bc(0x3fc)](_0x11d241,_0xde47c9);if(_0x3620fe!=null)return _0x3620fe;}[_0x106b51(0x233)](_0x36e504,_0x33d1d8,_0x37aabb,_0xcdecfc){const _0x3bc9c6=_0x106b51;var _0x2cb13f;const _0x3c44f1=_0x292aa7[_0x3bc9c6(0x2c8)](_0x37aabb,_0xcdecfc),_0x39a79c=(_0x2cb13f=this[_0x3bc9c6(0x3cd)][_0x3bc9c6(0x450)](_0x36e504))==null?void 0x0:_0x2cb13f[_0x3bc9c6(0x450)](_0x33d1d8);return _0x39a79c?Array[_0x3bc9c6(0x355)](_0x39a79c['keys']())['find'](_0x58c200=>{const _0x3bb18b=_0x3bc9c6,_0x4b5732=_0x39a79c[_0x3bb18b(0x450)](_0x58c200),_0x3f9319=_0x4b5732==null?void 0x0:_0x4b5732[_0x3bb18b(0x2ed)];return _0x3f9319?Object[_0x3bb18b(0x1de)](_0x3f9319)[_0x3bb18b(0x343)](_0x5646dd=>_0x3f9319[_0x5646dd][_0x3bb18b(0x343)](_0x104094=>_0x292aa7[_0x3bb18b(0x24b)][_0x3bb18b(0x19b)](_0x104094,_0x3c44f1))):!0x1;}):void 0x0;}[_0x106b51(0x1e4)](_0x11edb0,_0xbd03fd,_0x3b3d25){const _0x2ec4fc=_0x106b51;var _0x163a0f;const _0x6afab3=(_0x163a0f=this[_0x2ec4fc(0x3cd)]['get'](_0x11edb0))==null?void 0x0:_0x163a0f['get'](_0xbd03fd),_0x117509=[];return _0x6afab3&&Array[_0x2ec4fc(0x355)](_0x6afab3[_0x2ec4fc(0x1de)]())[_0x2ec4fc(0x15b)](_0x2362d9=>{const _0x1d55a5=_0x2ec4fc,_0x4ed3e4=_0x6afab3['get'](_0x2362d9),_0x577348=_0x4ed3e4==null?void 0x0:_0x4ed3e4[_0x1d55a5(0x2ed)];if(_0x577348)for(const _0x24b3d7 of Object[_0x1d55a5(0x42b)](_0x577348)){let _0x1bbb65=!0x1;for(const _0x1a9eb3 of _0x24b3d7)if(_0x292aa7[_0x1d55a5(0x24b)]['intersects'](_0x1a9eb3,_0x3b3d25)){_0x117509['push'](_0x2362d9),_0x1bbb65=!0x0;break;}if(_0x1bbb65)break;}}),_0x117509;}['getSubUnitPivotMatrix'](_0x7f1ba9,_0x400031){const _0x3b73b3=_0x106b51;var _0x5d8614,_0x1b25e8;return(_0x1b25e8=(_0x5d8614=this[_0x3b73b3(0x3f7)][_0x3b73b3(0x450)](_0x7f1ba9))==null?void 0x0:_0x5d8614[_0x3b73b3(0x450)](_0x400031))!=null?_0x1b25e8:new _0x292aa7[(_0x3b73b3(0x156))]();}[_0x106b51(0x21c)](_0xc35298,_0x4f3ced){const _0x4aa409=_0x106b51;var _0x17fc85;return(_0x17fc85=this[_0x4aa409(0x3cd)]['get'](_0xc35298))==null?void 0x0:_0x17fc85[_0x4aa409(0x450)](_0x4f3ced);}['getPivotItemRenderInfoCache'](_0x1c257e,_0x1d16a5,_0x547c3f){const _0x5c2c16=_0x106b51;var _0xa32d64,_0x4a6d6a;return(_0x4a6d6a=(_0xa32d64=this[_0x5c2c16(0x3cd)][_0x5c2c16(0x450)](_0x1c257e))==null?void 0x0:_0xa32d64['get'](_0x1d16a5))==null?void 0x0:_0x4a6d6a[_0x5c2c16(0x450)](_0x547c3f);}[_0x106b51(0x367)](_0x37ab40){const _0x64ffd4=_0x106b51;this[_0x64ffd4(0x3cd)][_0x64ffd4(0x14f)](_0x37ab40),this['_pivotRenderValueMatrixCache']['delete'](_0x37ab40);}[_0x106b51(0x332)](_0x2ca4ec,_0x5a4689){const _0x2676f3=_0x106b51;this[_0x2676f3(0x239)]['next']({'unitId':_0x2ca4ec,'subUnitId':_0x5a4689});}},_0x9f0854[_0x106b51(0x359)]=_0x1e21b2([_0x537d08(0x0,_0x292aa7['Inject'](_0x292aa7['LocaleService'])),_0x537d08(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x2c3)])),_0x537d08(0x2,_0x292aa7[_0x106b51(0x1bf)](_0x9f0854[_0x106b51(0x3a3)])),_0x537d08(0x3,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x14b)])),_0x537d08(0x4,_0x292aa7['Inject'](_0x4b8ea6[_0x106b51(0x304)]))],_0x9f0854[_0x106b51(0x359)]);var _0x3b848a=Object[_0x106b51(0x35b)],_0x1bc97b=(_0x56f0cd,_0x189108,_0x2b5690,_0x283372)=>{for(var _0x2bcf3d=_0x283372>0x1?void 0x0:_0x283372?_0x3b848a(_0x189108,_0x2b5690):_0x189108,_0x52f2e3=_0x56f0cd['length']-0x1,_0x5bd56f;_0x52f2e3>=0x0;_0x52f2e3--)(_0x5bd56f=_0x56f0cd[_0x52f2e3])&&(_0x2bcf3d=_0x5bd56f(_0x2bcf3d)||_0x2bcf3d);return _0x2bcf3d;},_0x2b39c3=(_0x45b981,_0x379716)=>(_0x5766f8,_0x47826b)=>_0x379716(_0x5766f8,_0x47826b,_0x45b981);_0x9f0854[_0x106b51(0x409)]=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0xa04435,_0x3d59d1){const _0x527bb3=_0x106b51;super(),_0x4ac1dd(this,_0x527bb3(0x219),new _0x292aa7['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x3130a8})),_0x4ac1dd(this,_0x527bb3(0x16a),new _0x292aa7[(_0x527bb3(0x18c))]({'PIVOT_MUTATION_GENERATE':_0x4764fe})),(this[_0x527bb3(0x237)]=_0xa04435,this[_0x527bb3(0x173)]=_0x3d59d1,this[_0x527bb3(0x196)]());}[_0x106b51(0x196)](){this['_initViewModelBySheetInterceptor']();}[_0x106b51(0x24d)](_0x1f6f60){const _0x40b582=_0x106b51;return this[_0x40b582(0x219)][_0x40b582(0x204)](_0x3130a8)(!0x1,_0x1f6f60);}[_0x106b51(0x199)](){const _0x3588b9=_0x106b51;this['disposeWithMe'](this[_0x3588b9(0x237)][_0x3588b9(0x26b)](_0x4b8ea6[_0x3588b9(0x175)][_0x3588b9(0x3cb)],{'priority':0xc8,'effect':_0x292aa7[_0x3588b9(0x317)]['Value']|_0x292aa7[_0x3588b9(0x317)][_0x3588b9(0x443)],'handler':(_0x5a6d0a,_0x3fe60c,_0x157e49)=>{const _0xb874f4=_0x3588b9,{row:_0x15ae73,col:_0x1c2eca,unitId:_0xc40789,subUnitId:_0x117090,workbook:_0x55df33}=_0x3fe60c,_0x2dd545=this[_0xb874f4(0x173)][_0xb874f4(0x17c)](_0xc40789,_0x117090,_0x15ae73,_0x1c2eca);if(!_0x2dd545)return _0x157e49(_0x5a6d0a);const _0x210901={..._0x5a6d0a};(_0x2dd545['v']||_0x2dd545['v']===0x0)&&(_0x210901['v']=_0x2dd545['v']),_0x2dd545['t']&&(_0x210901['t']=_0x2dd545['t']);const _0x4a2b7d=(typeof(_0x5a6d0a==null?void 0x0:_0x5a6d0a['s'])==_0xb874f4(0x2d4)?_0x55df33[_0xb874f4(0x1e1)]()['get'](_0x5a6d0a==null?void 0x0:_0x5a6d0a['s']):_0x5a6d0a==null?void 0x0:_0x5a6d0a['s'])||{},_0x4dee51=_0x55df33['getStyles']()[_0xb874f4(0x450)](_0x2dd545['s']),_0x17d529={..._0x4dee51,..._0x4a2b7d};_0x4dee51!=null&&_0x4dee51['n']&&(_0x17d529['n']=_0x4dee51['n']);const _0x263143=_0x55df33[_0xb874f4(0x1e1)]()[_0xb874f4(0x1f0)](_0x17d529);return _0x210901['s']=_0x263143,(_0x2dd545['pbt']===_0x4180e0[_0xb874f4(0x307)][_0xb874f4(0x157)]||_0x2dd545[_0xb874f4(0x24f)]===_0x4180e0['PivotCellStyleTypeEnum'][_0xb874f4(0x218)])&&(_0x210901[_0xb874f4(0x453)]={},_0x210901[_0xb874f4(0x453)]['leftOffset']=_0x69b7dc),_0x157e49(_0x210901);}}));}},_0x9f0854[_0x106b51(0x409)]=_0x1bc97b([_0x2b39c3(0x0,_0x292aa7['Inject'](_0x4b8ea6[_0x106b51(0x358)])),_0x2b39c3(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x9f0854[_0x106b51(0x359)]))],_0x9f0854[_0x106b51(0x409)]);function _0xcb7a(_0x34119b,_0x288ac0){const _0x1edcf8=_0x106b51;switch(_0x288ac0){case _0x4180e0[_0x1edcf8(0x368)][_0x1edcf8(0x3f2)]:return _0x34119b[_0x1edcf8(0x2da)];case _0x4180e0[_0x1edcf8(0x368)]['Filter']:return _0x34119b[_0x1edcf8(0x38e)];case _0x4180e0['PivotTableFiledAreaEnum'][_0x1edcf8(0x3cf)]:return _0x34119b[_0x1edcf8(0x2f9)];case _0x4180e0[_0x1edcf8(0x368)][_0x1edcf8(0x385)]:return _0x34119b[_0x1edcf8(0x152)];default:return[];}}function _0x5c140f(_0x3ed915,_0x377495){const _0x450765=_0x106b51;return _0x3ed915[_0x450765(0x3fa)][_0x377495]||_0x3ed915[_0x450765(0x2ab)][_0x377495];}function _0x30f582(_0x39ffd4,_0x1717a){const _0x370273=_0x106b51,{area:_0x4d1096,fieldJson:_0x3010a0,index:_0x562ac7}=_0x1717a;_0x4d1096===_0x4180e0[_0x370273(0x368)][_0x370273(0x3f2)]?_0x39ffd4['measure'][_0x3010a0['id']]=_0x3010a0:_0x39ffd4['dimension'][_0x3010a0['id']]=_0x3010a0,_0xcb7a(_0x39ffd4,_0x4d1096)['splice'](_0x562ac7,0x0,_0x3010a0['id']);}function _0x482843(_0xc56158,_0x4205f9){const _0x32fce8=_0x106b51,{area:_0xdc420d,fieldId:_0x332334,index:_0x3f047a}=_0x4205f9;_0xdc420d===_0x4180e0[_0x32fce8(0x368)][_0x32fce8(0x3f2)]?delete _0xc56158[_0x32fce8(0x3fa)][_0x332334]:delete _0xc56158[_0x32fce8(0x2ab)][_0x332334],_0xcb7a(_0xc56158,_0xdc420d)[_0x32fce8(0x2b3)](_0x3f047a,0x1);}function _0x2ea660(_0x31d54b,_0x3daa5b){const _0xcd8630=_0x106b51,{fieldId:_0x1ee597,name:_0x33e979}=_0x3daa5b,_0x244b29=_0x5c140f(_0x31d54b,_0x1ee597);_0x244b29&&(_0x244b29[_0xcd8630(0x3eb)]=_0x33e979);}function _0x1c57fa(_0x5e6060,_0xb81644){const _0x182813=_0x106b51,{fieldId:_0x143442,collapse:_0x56ed7e,item:_0x31ca81}=_0xb81644;_0x31ca81!==void 0x0?(_0x5e6060[_0x182813(0x30a)][_0x143442]=_0x5e6060[_0x182813(0x30a)][_0x143442]||{},_0x5e6060['collapseInfo'][_0x143442][_0x31ca81]=_0x56ed7e):_0x5e6060['collapseInfo'][_0x143442]=_0x56ed7e;}function _0x567836(_0x523b68,_0x30f4ac){const _0x27c875=_0x106b51,{fieldId:_0x585852,format:_0x58ffa7}=_0x30f4ac,_0x12c36d=_0x5c140f(_0x523b68,_0x585852);_0x12c36d&&(_0x12c36d[_0x27c875(0x2e9)]=_0x58ffa7);}function _0x2ce874(_0x1bb024,_0x13bfdd){const {fieldId:_0x3c4daa,filterInfo:_0x26507b}=_0x13bfdd,_0x5b0ef6=_0x5c140f(_0x1bb024,_0x3c4daa);_0x5b0ef6&&(_0x5b0ef6['filterInfo']=_0x26507b);}function _0x1ef639(_0x4de4a4,_0x20e5d1){const _0x54104c=_0x106b51,{fieldId:_0x3ab294,filterInfo:_0x153e9c}=_0x20e5d1,_0x18c99f=_0x4de4a4['valueFilter'][_0x54104c(0x36a)](_0x306ff4=>_0x306ff4[_0x54104c(0x300)]!==_0x3ab294);_0x153e9c&&_0x18c99f['push']({'fieldId':_0x3ab294,'filterInfo':_0x153e9c}),_0x4de4a4['valueFilter']=_0x18c99f;}function _0x3f4ee1(_0x31aafe,_0x40ccf9){const _0xb4da04=_0x106b51,{fieldId:_0xf111c7,subtotalType:_0x34829f}=_0x40ccf9,_0x320841=_0x5c140f(_0x31aafe,_0xf111c7);_0x320841&&(_0x320841[_0xb4da04(0x455)]=_0x34829f);}function _0xec0935(_0x50b0df,_0x4fc978){const _0x52f9a4=_0x106b51,{fieldId:_0x20d85c,oldArea:_0x5df151,area:_0x3b27c4,oldIndex:_0x16d586,index:_0x442e1b}=_0x4fc978,_0x3c2df6=_0x5df151!==_0x4180e0[_0x52f9a4(0x368)][_0x52f9a4(0x3f2)]&&_0x3b27c4===_0x4180e0[_0x52f9a4(0x368)]['Value'],_0x1971e4=_0x5df151===_0x4180e0[_0x52f9a4(0x368)][_0x52f9a4(0x3f2)]&&_0x3b27c4!==_0x4180e0['PivotTableFiledAreaEnum']['Value'];if(_0x3c2df6||_0x1971e4){const _0x7d4524=_0x5c140f(_0x50b0df,_0x20d85c);_0x7d4524&&(_0x3c2df6?(delete _0x50b0df[_0x52f9a4(0x2ab)][_0x20d85c],_0x50b0df[_0x52f9a4(0x3fa)][_0x20d85c]=_0x7d4524):(delete _0x50b0df[_0x52f9a4(0x3fa)][_0x20d85c],_0x50b0df['dimension'][_0x20d85c]=_0x7d4524));}const _0x298ee3=_0xcb7a(_0x50b0df,_0x5df151),_0x37c3c7=_0xcb7a(_0x50b0df,_0x3b27c4);_0x298ee3[_0x52f9a4(0x2b3)](_0x16d586,0x1),_0x37c3c7['splice'](_0x442e1b,0x0,_0x20d85c);}function _0x58b2f0(_0x3a9526,_0xbde25){const _0x2c6bcb=_0x106b51,{valuePosition:_0x224d8b,index:_0x399bf8}=_0xbde25;_0x3a9526[_0x2c6bcb(0x3d9)]=_0x224d8b,_0x3a9526[_0x2c6bcb(0x401)]=_0x399bf8;}function _0x19cd29(_0x2577bb,_0x4eb20d){const {tableFieldId:_0x33cfc8,sourceName:_0xec08d4,dataFieldId:_0x389b9b}=_0x4eb20d,_0x42f5df=_0x5c140f(_0x2577bb,_0x33cfc8);_0x42f5df&&(_0x42f5df['sourceName']=_0xec08d4,_0x42f5df['dataFieldId']=_0x389b9b);}function _0x7fae86(_0x404cf6,_0x31ca78){const _0x4fb125=_0x106b51,{fieldId:_0x256b0b,sortInfo:_0x3a5d85}=_0x31ca78,_0x18d7ae=_0x5c140f(_0x404cf6,_0x256b0b);_0x18d7ae&&(_0x18d7ae[_0x4fb125(0x424)]=_0x3a5d85);}function _0x591876(_0x2258c1,_0x3d2d25){const _0x2f87cc=_0x106b51,{options:_0x1a6aa0}=_0x3d2d25;_0x2258c1[_0x2f87cc(0x217)]={..._0x2258c1[_0x2f87cc(0x217)],..._0x1a6aa0};}const _0x1f66e3={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x229),'handler'(_0x3c0cab,_0x12cb88){const _0x113a9b=_0x106b51;if(!_0x12cb88)return!0x1;if(!!_0x3c0cab[_0x113a9b(0x450)](_0x292aa7[_0x113a9b(0x36b)])[_0x113a9b(0x32e)](_0xf8d0df))return!0x0;const _0xe824e2=_0x3c0cab[_0x113a9b(0x450)](_0x9f0854[_0x113a9b(0x1f2)]),{pivotTableId:_0x39f60a,fieldJson:_0x3d7a3d,area:_0x149aa4,index:_0x41ea9b,unitId:_0x25f9ea,subUnitId:_0xcc13dd}=_0x12cb88,_0x5038ba=_0xe824e2[_0x113a9b(0x303)](_0x39f60a);if(!_0x5038ba)return!0x1;let _0x497db1;_0x149aa4===_0x4180e0[_0x113a9b(0x368)][_0x113a9b(0x3f2)]?_0x497db1=_0x4180e0[_0x113a9b(0x2d9)](_0x3d7a3d):_0x497db1=_0x4180e0[_0x113a9b(0x160)](_0x3d7a3d),_0x5038ba['addField'](_0x497db1,_0x149aa4,_0x41ea9b);const _0x3184f9=_0xe824e2[_0x113a9b(0x2f0)](_0x25f9ea,_0xcc13dd,_0x39f60a);_0x30f582(_0x3184f9,_0x12cb88);const _0x5265c0=_0xe824e2[_0x113a9b(0x3bc)](_0x25f9ea,_0xcc13dd,_0x39f60a);return _0xe824e2[_0x113a9b(0x213)]({'unitId':_0x25f9ea,'subUnitId':_0xcc13dd,'token':_0x39f60a,'type':_0x3fdebd[_0x113a9b(0x1ee)],'pivotConfig':_0x5265c0}),!0x0;}},_0x50722a={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x2c2991,_0x1bf5ac){const _0x13db09=_0x106b51;if(!_0x1bf5ac)return!0x1;if(!!_0x2c2991['get'](_0x292aa7[_0x13db09(0x36b)])[_0x13db09(0x32e)](_0xf8d0df))return!0x0;const _0x4f07b5=_0x2c2991[_0x13db09(0x450)](_0x9f0854[_0x13db09(0x1f2)]),{pivotTableId:_0x255936,fieldId:_0x29c217,unitId:_0x34cfd0,subUnitId:_0x1543ee}=_0x1bf5ac,_0x25ff8d=_0x4f07b5[_0x13db09(0x303)](_0x255936);if(!_0x25ff8d)return!0x1;_0x25ff8d[_0x13db09(0x282)](_0x29c217);const _0x53ce18=_0x4f07b5[_0x13db09(0x2f0)](_0x34cfd0,_0x1543ee,_0x255936);_0x482843(_0x53ce18,_0x1bf5ac);const _0x3852a4=_0x4f07b5[_0x13db09(0x3bc)](_0x34cfd0,_0x1543ee,_0x255936);return _0x4f07b5[_0x13db09(0x213)]({'unitId':_0x34cfd0,'subUnitId':_0x1543ee,'token':_0x255936,'type':_0x3fdebd['Set'],'pivotConfig':_0x3852a4}),!0x0;}},_0x324436={'type':_0x292aa7['CommandType'][_0x106b51(0x2b9)],'id':_0x106b51(0x2d2),'handler'(_0x40bc9f,_0x77faf){const _0x50891e=_0x106b51;if(!_0x77faf)return!0x1;if(!!_0x40bc9f[_0x50891e(0x450)](_0x292aa7[_0x50891e(0x36b)])[_0x50891e(0x32e)](_0xf8d0df))return!0x0;const _0x1a0250=_0x40bc9f[_0x50891e(0x450)](_0x9f0854['SheetsPivotDataSourceModel']),{unitId:_0x2cabdd,subUnitId:_0x384f09,pivotTableId:_0x380bf5,fieldId:_0x4b1ec1,name:_0x11d654}=_0x77faf,_0x35eef6=_0x1a0250[_0x50891e(0x303)](_0x380bf5);if(!_0x35eef6)return!0x1;_0x35eef6[_0x50891e(0x339)](_0x4b1ec1,_0x11d654);const _0x41ba72=_0x1a0250['getPivotTableModelConfig'](_0x2cabdd,_0x384f09,_0x380bf5);return _0x2ea660(_0x41ba72,_0x77faf),_0x1a0250['addDirtyPivotTable']({'unitId':_0x2cabdd,'subUnitId':_0x384f09,'token':_0x380bf5,'type':_0x3fdebd[_0x50891e(0x1ee)]}),!0x0;}},_0x48564e={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x2bf366,_0x391e7e){const _0x1219e0=_0x106b51;if(!_0x391e7e)return!0x1;if(!!_0x2bf366['get'](_0x292aa7['IConfigService'])[_0x1219e0(0x32e)](_0xf8d0df))return!0x0;const _0x273c58=_0x2bf366[_0x1219e0(0x450)](_0x9f0854['SheetsPivotDataSourceModel']),{unitId:_0x4227ce,subUnitId:_0x429800,pivotTableId:_0xdf2842,fieldId:_0x3f4261,collapse:_0x12b3d6,item:_0x1fda5c}=_0x391e7e,_0x526025=_0x273c58[_0x1219e0(0x303)](_0xdf2842);if(!_0x526025)return!0x1;_0x526025[_0x1219e0(0x1b7)](_0x3f4261,_0x12b3d6,_0x1fda5c);const _0x23b994=_0x273c58['getPivotTableModelConfig'](_0x4227ce,_0x429800,_0xdf2842);return _0x1c57fa(_0x23b994,_0x391e7e),_0x273c58['addDirtyPivotTable']({'unitId':_0x4227ce,'subUnitId':_0x429800,'token':_0xdf2842,'type':_0x3fdebd[_0x1219e0(0x1ee)]}),!0x0;}},_0x439bc9={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x1c7),'handler'(_0x4cb753,_0xc047db){const _0x107214=_0x106b51;if(!_0xc047db)return!0x1;if(!!_0x4cb753[_0x107214(0x450)](_0x292aa7[_0x107214(0x36b)])[_0x107214(0x32e)](_0xf8d0df))return!0x0;const _0x4bbaa7=_0x4cb753[_0x107214(0x450)](_0x9f0854['SheetsPivotDataSourceModel']),{unitId:_0x4bbe59,subUnitId:_0x3a60f0,pivotTableId:_0x30e08c,fieldId:_0x621928,format:_0x28a612}=_0xc047db,_0x5655e4=_0x4bbaa7[_0x107214(0x303)](_0x30e08c);if(!_0x5655e4)return!0x1;_0x5655e4[_0x107214(0x180)](_0x621928,_0x28a612);const _0x319e0a=_0x4bbaa7['getPivotTableModelConfig'](_0x4bbe59,_0x3a60f0,_0x30e08c);return _0x567836(_0x319e0a,_0xc047db),_0x4bbaa7[_0x107214(0x213)]({'unitId':_0x4bbe59,'subUnitId':_0x3a60f0,'token':_0x30e08c,'type':_0x3fdebd[_0x107214(0x1ee)]}),!0x0;}},_0x527046={'type':_0x292aa7[_0x106b51(0x183)]['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x3b82dd,_0x1b77ba){const _0x4e60d8=_0x106b51;if(!_0x1b77ba)return!0x1;if(!!_0x3b82dd[_0x4e60d8(0x450)](_0x292aa7['IConfigService'])['getConfig'](_0xf8d0df))return!0x0;const _0x1a03fb=_0x3b82dd[_0x4e60d8(0x450)](_0x9f0854['SheetsPivotDataSourceModel']),{unitId:_0x4c5446,subUnitId:_0x509b88,pivotTableId:_0x209548,fieldId:_0x21885d,filterInfo:_0x502128}=_0x1b77ba,_0xe4754b=_0x1a03fb[_0x4e60d8(0x303)](_0x209548);if(!_0xe4754b)return!0x1;_0xe4754b['setLabelFilterInfo'](_0x21885d,_0x502128);const _0x2dbefb=_0x1a03fb[_0x4e60d8(0x2f0)](_0x4c5446,_0x509b88,_0x209548);return _0x2ce874(_0x2dbefb,_0x1b77ba),_0x1a03fb[_0x4e60d8(0x213)]({'unitId':_0x4c5446,'subUnitId':_0x509b88,'token':_0x209548,'type':_0x3fdebd[_0x4e60d8(0x1ee)]}),!0x0;}},_0x1b753b={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':'sheet.mutation.set-pivot-option','handler'(_0x5a5d46,_0xda9c6b){const _0x533f28=_0x106b51;if(!_0xda9c6b)return!0x1;if(!!_0x5a5d46['get'](_0x292aa7[_0x533f28(0x36b)])[_0x533f28(0x32e)](_0xf8d0df))return!0x0;const _0x10e539=_0x5a5d46[_0x533f28(0x450)](_0x9f0854[_0x533f28(0x1f2)]),{unitId:_0x50c9da,subUnitId:_0x294ddc,pivotTableId:_0x2df26a,options:_0x8698b9}=_0xda9c6b,_0xdee683=_0x10e539[_0x533f28(0x303)](_0x2df26a);if(!_0xdee683)return!0x1;_0xdee683[_0x533f28(0x25a)](_0x8698b9);const _0x15db22=_0x10e539[_0x533f28(0x2f0)](_0x50c9da,_0x294ddc,_0x2df26a);return _0x591876(_0x15db22,_0xda9c6b),_0x10e539[_0x533f28(0x213)]({'unitId':_0x50c9da,'subUnitId':_0x294ddc,'token':_0x2df26a,'type':_0x3fdebd[_0x533f28(0x1ee)]}),!0x0;}},_0x501cdb={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x253),'handler'(_0xf63908,_0x137a82){const _0x5d8a3a=_0x106b51;if(!_0x137a82)return!0x1;if(!!_0xf63908['get'](_0x292aa7[_0x5d8a3a(0x36b)])['getConfig'](_0xf8d0df))return!0x0;const _0x326dc2=_0xf63908[_0x5d8a3a(0x450)](_0x9f0854[_0x5d8a3a(0x1f2)]),{unitId:_0xc5fe1d,subUnitId:_0x53794e,pivotTableId:_0x36284d,sortInfo:_0x1d30b9,fieldId:_0x3184a5}=_0x137a82,_0x52e638=_0x326dc2[_0x5d8a3a(0x303)](_0x36284d);if(!_0x52e638)return!0x1;_0x52e638['setSortInfo'](_0x3184a5,_0x1d30b9);const _0x295639=_0x326dc2[_0x5d8a3a(0x2f0)](_0xc5fe1d,_0x53794e,_0x36284d);return _0x7fae86(_0x295639,_0x137a82),_0x326dc2['addDirtyPivotTable']({'unitId':_0xc5fe1d,'subUnitId':_0x53794e,'token':_0x36284d,'type':_0x3fdebd[_0x5d8a3a(0x1ee)]}),!0x0;}},_0x90884={'type':_0x292aa7['CommandType']['MUTATION'],'id':_0x106b51(0x330),'handler'(_0x402e35,_0x11dea4){const _0x4b78e9=_0x106b51;if(!_0x11dea4)return!0x1;if(!!_0x402e35[_0x4b78e9(0x450)](_0x292aa7['IConfigService'])[_0x4b78e9(0x32e)](_0xf8d0df))return!0x0;const _0x310bfd=_0x402e35['get'](_0x9f0854[_0x4b78e9(0x1f2)]),{unitId:_0x523955,subUnitId:_0x6bfd4,pivotTableId:_0x3eb2cd,fieldId:_0x1e2a74,subtotalType:_0x98937e}=_0x11dea4,_0x31393c=_0x310bfd[_0x4b78e9(0x303)](_0x3eb2cd);if(!_0x31393c)return!0x1;_0x31393c[_0x4b78e9(0x3a8)](_0x1e2a74,_0x98937e);const _0x3304bb=_0x310bfd[_0x4b78e9(0x2f0)](_0x523955,_0x6bfd4,_0x3eb2cd);return _0x3f4ee1(_0x3304bb,_0x11dea4),_0x310bfd[_0x4b78e9(0x213)]({'unitId':_0x523955,'subUnitId':_0x6bfd4,'token':_0x3eb2cd,'type':_0x3fdebd[_0x4b78e9(0x1ee)]}),!0x0;}},_0x591e97={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x161113,_0x1f1a14){const _0x50dd4d=_0x106b51;if(!_0x1f1a14)return!0x1;if(!!_0x161113['get'](_0x292aa7['IConfigService'])[_0x50dd4d(0x32e)](_0xf8d0df))return!0x0;const _0x5542eb=_0x161113['get'](_0x9f0854[_0x50dd4d(0x1f2)]),{unitId:_0xd801c7,subUnitId:_0x105a0f,pivotTableId:_0x107d04,fieldId:_0x4c475f,filterInfo:_0x5bfd7d}=_0x1f1a14,_0x344a97=_0x5542eb[_0x50dd4d(0x303)](_0x107d04);if(!_0x344a97)return!0x1;_0x344a97[_0x50dd4d(0x28e)](_0x4c475f,_0x5bfd7d);const _0x1c0035=_0x5542eb[_0x50dd4d(0x2f0)](_0xd801c7,_0x105a0f,_0x107d04);return _0x1ef639(_0x1c0035,_0x1f1a14),_0x5542eb['addDirtyPivotTable']({'unitId':_0xd801c7,'subUnitId':_0x105a0f,'token':_0x107d04,'type':_0x3fdebd[_0x50dd4d(0x1ee)]}),!0x0;}},_0x3e77b3={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x290),'handler'(_0x49815e,_0x250608){const _0x27f0b4=_0x106b51;if(!_0x250608)return!0x1;if(!!_0x49815e[_0x27f0b4(0x450)](_0x292aa7[_0x27f0b4(0x36b)])[_0x27f0b4(0x32e)](_0xf8d0df))return!0x0;const _0x51b826=_0x49815e[_0x27f0b4(0x450)](_0x9f0854[_0x27f0b4(0x1f2)]),{unitId:_0x589afd,subUnitId:_0x213648,pivotTableId:_0x1bb960,area:_0x30c4da,index:_0x4268d8,fieldId:_0x8771ca}=_0x250608,_0x351c51=_0x51b826[_0x27f0b4(0x303)](_0x1bb960);if(!_0x351c51)return!0x1;_0x351c51[_0x27f0b4(0x274)](_0x8771ca,_0x30c4da,_0x4268d8);const _0x982546=_0x51b826['getPivotTableModelConfig'](_0x589afd,_0x213648,_0x1bb960);return _0xec0935(_0x982546,_0x250608),_0x51b826[_0x27f0b4(0x213)]({'unitId':_0x589afd,'subUnitId':_0x213648,'token':_0x1bb960,'type':_0x3fdebd[_0x27f0b4(0x1ee)]}),!0x0;}},_0x342ea4={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x55be39,_0x4d0b5b){const _0x2401fb=_0x106b51;if(!_0x4d0b5b)return!0x1;if(!!_0x55be39[_0x2401fb(0x450)](_0x292aa7['IConfigService'])[_0x2401fb(0x32e)](_0xf8d0df))return!0x0;const _0x420dcc=_0x55be39[_0x2401fb(0x450)](_0x9f0854[_0x2401fb(0x1f2)]),{unitId:_0x466a54,subUnitId:_0x5518ca,pivotTableId:_0x5d93d1,sourceName:_0x4565ea,dataFieldId:_0x416c3a,tableFieldId:_0x42f806}=_0x4d0b5b,_0x13f88c=_0x420dcc[_0x2401fb(0x303)](_0x5d93d1);if(!_0x13f88c)return!0x1;_0x13f88c[_0x2401fb(0x420)](_0x42f806,_0x4565ea,_0x416c3a);const _0x3c6ee1=_0x420dcc[_0x2401fb(0x2f0)](_0x466a54,_0x5518ca,_0x5d93d1);return _0x19cd29(_0x3c6ee1,_0x4d0b5b),_0x420dcc[_0x2401fb(0x213)]({'unitId':_0x466a54,'subUnitId':_0x5518ca,'token':_0x5d93d1,'type':_0x3fdebd[_0x2401fb(0x1ee)]}),!0x0;}},_0x2136cf={'type':_0x292aa7['CommandType'][_0x106b51(0x2b9)],'id':_0x106b51(0x37b),'handler'(_0x367b2b,_0xe01440){const _0x144b89=_0x106b51;if(!_0xe01440)return!0x1;if(!!_0x367b2b[_0x144b89(0x450)](_0x292aa7[_0x144b89(0x36b)])[_0x144b89(0x32e)](_0xf8d0df))return!0x0;const _0x5c5f53=_0x367b2b[_0x144b89(0x450)](_0x9f0854['SheetsPivotDataSourceModel']),{unitId:_0x1ea41f,subUnitId:_0x4b390f,pivotTableId:_0x26e3ff,valuePosition:_0x2da559,index:_0x496221}=_0xe01440,_0x2175b0=_0x5c5f53[_0x144b89(0x303)](_0x26e3ff);if(!_0x2175b0)return!0x1;_0x2175b0[_0x144b89(0x182)](_0x2da559,_0x496221);const _0x32b75b=_0x5c5f53[_0x144b89(0x2f0)](_0x1ea41f,_0x4b390f,_0x26e3ff);return _0x58b2f0(_0x32b75b,_0xe01440),_0x5c5f53['addDirtyPivotTable']({'unitId':_0x1ea41f,'subUnitId':_0x4b390f,'token':_0x26e3ff,'type':_0x3fdebd[_0x144b89(0x1ee)]}),!0x0;}};function _0x66b2a3(_0x4b9ad6,_0xe6c3f,_0x3f99c3){const _0x3aa39f=_0x106b51,{pivotTableId:_0x139909,unitId:_0x111cf9,subUnitId:_0x71e778}=_0xe6c3f,_0x7839a=[],_0x5bde90=[];for(const _0x57cf9f of _0x3f99c3)switch(_0x57cf9f[_0x3aa39f(0x35d)]){case _0x4180e0['PivotTableChangeTypeEnum'][_0x3aa39f(0x171)]:{const {fieldJson:_0x5a9c4d,area:_0x87cdb0,index:_0x373a63}=_0x57cf9f,_0x119986={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldJson':_0x5a9c4d,'area':_0x87cdb0,'index':_0x373a63},_0x2d2a7e={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x5a9c4d['id'],'area':_0x87cdb0,'index':_0x373a63};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x1f66e3['id'],'params':_0x119986}),_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x50722a['id'],'params':_0x2d2a7e});}break;case _0x4180e0[_0x3aa39f(0x325)][_0x3aa39f(0x391)]:{const {fieldId:_0x373aa9,newSubtotalType:_0x44ecec,oldSubtotalType:_0x276ee1}=_0x57cf9f,_0x2fca10={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x373aa9,'subtotalType':_0x44ecec};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x90884['id'],'params':_0x2fca10});const _0x556cfc={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x373aa9,'subtotalType':_0x276ee1};_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x90884['id'],'params':_0x556cfc});}break;case _0x4180e0['PivotTableChangeTypeEnum']['RemoveField']:{const {fieldId:_0x4baadf,fieldJson:_0x22916a,area:_0x263e81,index:_0x7cd4b3}=_0x57cf9f,_0x5d8753={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x4baadf,'index':_0x7cd4b3,'area':_0x263e81};_0x7839a['push']({'id':_0x50722a['id'],'params':_0x5d8753});const _0x4c2041={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldJson':_0x22916a,'area':_0x263e81,'index':_0x7cd4b3};_0x5bde90['unshift']({'id':_0x1f66e3['id'],'params':_0x4c2041});}break;case _0x4180e0[_0x3aa39f(0x325)]['RenameField']:{const {fieldId:_0x296dc4,oldName:_0x4b381c,newName:_0x40219f}=_0x57cf9f,_0x481220={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x296dc4,'name':_0x40219f};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x324436['id'],'params':_0x481220});const _0x97424a={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x296dc4,'name':_0x4b381c};_0x5bde90['unshift']({'id':_0x324436['id'],'params':_0x97424a});}break;case _0x4180e0['PivotTableChangeTypeEnum'][_0x3aa39f(0x3de)]:{const {fieldId:_0x481133,oldFilterInfo:_0x211a19,newFilterInfo:_0x205da0}=_0x57cf9f,_0x356526={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x481133,'filterInfo':_0x205da0};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x527046['id'],'params':_0x356526});const _0x1fe401={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x481133,'filterInfo':_0x211a19};_0x5bde90['unshift']({'id':_0x527046['id'],'params':_0x1fe401});}break;case _0x4180e0[_0x3aa39f(0x325)]['SetSortInfo']:{const {fieldId:_0x51d31f,oldSortInfo:_0x367a1c,newSortInfo:_0x2fe9d4}=_0x57cf9f,_0x19fa05={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x51d31f,'sortInfo':_0x2fe9d4};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x501cdb['id'],'params':_0x19fa05});const _0x4715f2={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x51d31f,'sortInfo':_0x367a1c};_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x501cdb['id'],'params':_0x4715f2});}break;case _0x4180e0[_0x3aa39f(0x325)][_0x3aa39f(0x18b)]:{const {oldOptions:_0x3fc428,newOptions:_0x307707}=_0x57cf9f,_0x1e45da={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'options':_0x307707};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x1b753b['id'],'params':_0x1e45da});const _0x2a44a2={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'options':_0x3fc428};_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x1b753b['id'],'params':_0x2a44a2});}break;case _0x4180e0[_0x3aa39f(0x325)]['UpdateFieldPosition']:{const {oldArea:_0xc3ad81,newArea:_0x186a51,oldIndex:_0x237fa1,newIndex:_0x2e6f62,fieldId:_0x299f53}=_0x57cf9f,_0x346808={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x299f53,'area':_0x186a51,'index':_0x2e6f62,'oldArea':_0xc3ad81,'oldIndex':_0x237fa1};_0x7839a['push']({'id':_0x3e77b3['id'],'params':_0x346808});const _0xbf7db5={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x299f53,'area':_0xc3ad81,'index':_0x237fa1,'oldArea':_0x186a51,'oldIndex':_0x2e6f62};_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x3e77b3['id'],'params':_0xbf7db5});}break;case _0x4180e0[_0x3aa39f(0x325)][_0x3aa39f(0x3f1)]:{const {oldValuePosition:_0x513821,newValuePosition:_0x2735de,oldIndex:_0x46e589,newIndex:_0xd43e25}=_0x57cf9f,_0x3573a6={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'valuePosition':_0x2735de,'index':_0xd43e25};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x2136cf['id'],'params':_0x3573a6});const _0x4ec306={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'valuePosition':_0x513821,'index':_0x46e589};_0x5bde90['unshift']({'id':_0x2136cf['id'],'params':_0x4ec306});}break;case _0x4180e0[_0x3aa39f(0x325)][_0x3aa39f(0x44c)]:{const {fieldId:_0x52e3cb,collapse:_0x3101ee,item:_0x5b5582}=_0x57cf9f,_0x4601ba={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x52e3cb,'collapse':_0x3101ee,'item':_0x5b5582};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x48564e['id'],'params':_0x4601ba});const _0x2fe57e={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x52e3cb,'collapse':!_0x3101ee,'item':_0x5b5582};_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x48564e['id'],'params':_0x2fe57e});}break;case _0x4180e0[_0x3aa39f(0x325)]['SetFieldFormat']:{const {newFormat:_0x4468f2,oldFormat:_0x2f4da1,fieldId:_0xacb5a4}=_0x57cf9f,_0x2cfe3f={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0xacb5a4,'format':_0x4468f2};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x439bc9['id'],'params':_0x2cfe3f});const _0xce9808={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0xacb5a4,'format':_0x2f4da1};_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x439bc9['id'],'params':_0xce9808});}break;case _0x4180e0['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x1e6b19,oldSourceName:_0x1b272b,newSourceName:_0x4e2ea4,oldDataFieldId:_0x2ed2a4,newDataFieldId:_0x1451e9}=_0x57cf9f,_0x2ec5ec={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'tableFieldId':_0x1e6b19,'sourceName':_0x4e2ea4,'dataFieldId':_0x1451e9};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x342ea4['id'],'params':_0x2ec5ec});const _0x23d9ba={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'tableFieldId':_0x1e6b19,'sourceName':_0x1b272b,'dataFieldId':_0x2ed2a4};_0x5bde90[_0x3aa39f(0x31b)]({'id':_0x342ea4['id'],'params':_0x23d9ba});}break;case _0x4180e0[_0x3aa39f(0x325)][_0x3aa39f(0x16b)]:{const {fieldId:_0x23bcad,filterInfo:_0x898d4a,oldFilterInfo:_0x2f33f0}=_0x57cf9f,_0x446fa3={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x23bcad,'filterInfo':_0x898d4a};_0x7839a[_0x3aa39f(0x3a9)]({'id':_0x591e97['id'],'params':_0x446fa3});const _0x291767={'unitId':_0x111cf9,'subUnitId':_0x71e778,'pivotTableId':_0x139909,'fieldId':_0x23bcad,'filterInfo':_0x2f33f0};_0x5bde90['unshift']({'id':_0x591e97['id'],'params':_0x291767});}}return{'redos':_0x7839a,'undos':_0x5bde90};}function _0x195b29(_0x449c15,_0x384894){const _0x50a3a6=_0x106b51;var _0x4f0fe2;const _0x31556e=_0x449c15[_0x50a3a6(0x450)](_0x9f0854['SheetsPivotTableService']),{cellInfo:_0x59e5f0,view:_0x358c9a,isEmpty:_0x9a6d93}=_0x384894;return(_0x4f0fe2=_0x31556e[_0x50a3a6(0x16a)][_0x50a3a6(0x32a)](_0x4764fe)(_0x32a6ce,{'cellInfo':_0x59e5f0,'view':_0x358c9a,'isEmpty':_0x9a6d93}))!=null?_0x4f0fe2:_0x32a6ce;}const _0x5cba2b=()=>typeof process<'u'&&process['versions']!=null&&process[_0x106b51(0x19e)]['node']!=null,_0x1e0a17={'type':_0x292aa7['CommandType']['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0xf9b8be,_0x5ec2c1){const _0x48b0f3=_0x106b51;var _0x5380ea;if(!_0x5ec2c1)return!0x1;const _0x342c9e=_0xf9b8be[_0x48b0f3(0x450)](_0x292aa7[_0x48b0f3(0x36b)]);if(!!_0x342c9e[_0x48b0f3(0x32e)](_0xf8d0df))return!0x0;const _0xb711b2=_0xf9b8be['get'](_0x292aa7[_0x48b0f3(0x14b)]),_0x11e8c4=_0xf9b8be[_0x48b0f3(0x450)](_0x9f0854[_0x48b0f3(0x1f2)]),{pivotTableId:_0x3a5b7c,pivotTableConfig:_0x3bb971,collectionConfig:_0x5f0509,unitId:_0x51ec24,subUnitId:_0x2d6bf1}=_0x5ec2c1,{sourceRangeInfo:_0x54a4bd,fieldsConfig:_0x4b2a73,targetCellInfo:_0x418c34}=_0x3bb971,_0x5ec566=_0xb711b2['getUnit'](_0x51ec24);if(!_0x5ec566||!_0x5ec566[_0x48b0f3(0x41a)](_0x2d6bf1))return!0x1;if(!_0x5cba2b()){let _0x23e5b2=0x0;_0x5ec566['getSheets']()['forEach'](_0x4f0f14=>{const _0x227039=_0x48b0f3;var _0x3e9e18,_0x57efb8;_0x23e5b2+=(_0x57efb8=(_0x3e9e18=_0x11e8c4[_0x227039(0x371)](_0x51ec24,_0x4f0f14['getSheetId']()))==null?void 0x0:_0x3e9e18[_0x227039(0x390)])!=null?_0x57efb8:0x0;});const _0x5bc728=(_0x5380ea=_0x342c9e[_0x48b0f3(0x32e)](_0x1f0349[_0x48b0f3(0x29b)]))!=null?_0x5380ea:{},{ls:_0x548bbf,pbk:_0x4a8883}=_0x5bc728;if(!_0x559421(_0x548bbf,_0x4a8883))throw new _0x292aa7[(_0x48b0f3(0x2f3))](_0x48b0f3(0x2f1));const _0x2175b5=_0x11bb0e(_0x30429d,_0x548bbf,_0x4a8883)[_0x48b0f3(0x43b)];if(_0x23e5b2>=_0x2175b5)throw new _0x292aa7[(_0x48b0f3(0x2f3))]('limit\x20pivot');}if(!_0x5f0509||!_0x4b2a73)return!0x1;const {collection:_0x527714,updateDataFieldList:_0xf8d9d4}=_0x11e8c4[_0x48b0f3(0x22c)](_0x3a5b7c,_0x5f0509,_0x54a4bd,_0x418c34);_0x11e8c4['refreshData'](_0x527714,_0xf8d9d4,_0x54a4bd);const _0x1ff7b7=new _0x4180e0['PivotTable'](_0x527714,void 0x0,_0x3a5b7c);_0x1ff7b7['fromJSON'](_0x4b2a73);const _0x32fce1=JSON[_0x48b0f3(0x2c1)](JSON[_0x48b0f3(0x3df)](_0x3bb971));return _0x11e8c4[_0x48b0f3(0x222)](_0x51ec24,_0x2d6bf1,_0x3a5b7c,_0x1ff7b7,_0x32fce1),_0x11e8c4[_0x48b0f3(0x213)]({'unitId':_0x51ec24,'subUnitId':_0x2d6bf1,'token':_0x3a5b7c,'type':_0x3fdebd[_0x48b0f3(0x14e)],'pivotConfig':_0x32fce1}),!0x0;}},_0x6e907c={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x2ea),'handler'(_0x57d2b1,_0x16b409){const _0x46e03d=_0x106b51;if(!_0x16b409)return!0x1;if(!!_0x57d2b1[_0x46e03d(0x450)](_0x292aa7[_0x46e03d(0x36b)])[_0x46e03d(0x32e)](_0xf8d0df))return!0x0;const {pivotTableId:_0x16c0ff,unitId:_0x2483f7,subUnitId:_0x42d04e}=_0x16b409,_0x3ad3ce=_0x57d2b1[_0x46e03d(0x450)](_0x9f0854[_0x46e03d(0x1f2)]);return _0x3ad3ce[_0x46e03d(0x3bc)](_0x2483f7,_0x42d04e,_0x16c0ff)?(_0x3ad3ce['addDirtyPivotTable']({'unitId':_0x2483f7,'subUnitId':_0x42d04e,'token':_0x16c0ff,'type':_0x3fdebd[_0x46e03d(0x1ca)]}),_0x3ad3ce['removePivotTable'](_0x2483f7,_0x42d04e,_0x16c0ff),!0x0):!0x1;}},_0x3c1d9a={'type':_0x292aa7['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x5002e1,_0x2b6485){const _0x306ea8=_0x106b51;if(!_0x2b6485)return!0x1;if(!!_0x5002e1[_0x306ea8(0x450)](_0x292aa7[_0x306ea8(0x36b)])['getConfig'](_0xf8d0df))return!0x0;const {pivotTableId:_0x5db5bf,targetCellPosition:_0x2bc850,unitId:_0x252b16,subUnitId:_0x1b987a}=_0x2b6485,_0x17133b=_0x5002e1[_0x306ea8(0x450)](_0x9f0854[_0x306ea8(0x1f2)]);if(!_0x17133b[_0x306ea8(0x303)](_0x2b6485[_0x306ea8(0x2e2)]))return!0x1;const _0x15c3a7=_0x17133b['getTargetByPivotId'](_0x5db5bf);if(!_0x15c3a7)return!0x1;const _0x2c759d=_0x17133b['getCollection'](_0x15c3a7['unitId'],_0x2b6485[_0x306ea8(0x2e2)]);if(!_0x2c759d)return!0x1;const _0x3f556b=_0x17133b['getPivotTableConfig'](_0x15c3a7[_0x306ea8(0x2eb)],_0x15c3a7[_0x306ea8(0x402)],_0x5db5bf);if(!_0x3f556b)return!0x1;const _0x1b9c3f=_0x292aa7[_0x306ea8(0x33c)][_0x306ea8(0x185)](_0x3f556b);_0x1b9c3f['targetCellInfo']={'unitId':_0x252b16,'subUnitId':_0x1b987a,'row':_0x2bc850[_0x306ea8(0x2b8)],'col':_0x2bc850[_0x306ea8(0x174)]};const _0x1d06fd=_0x2c759d[_0x306ea8(0x35c)]();if(_0x15c3a7[_0x306ea8(0x402)]===_0x1b987a&&_0x15c3a7[_0x306ea8(0x2eb)]===_0x252b16)_0x17133b[_0x306ea8(0x457)](_0x252b16,_0x1b987a,_0x5db5bf,_0x1b9c3f),_0x17133b[_0x306ea8(0x213)]({'unitId':_0x252b16,'subUnitId':_0x1b987a,'token':_0x5db5bf,'type':_0x3fdebd[_0x306ea8(0x1ee)]});else{_0x17133b['addDirtyPivotTable']({'unitId':_0x15c3a7['unitId'],'subUnitId':_0x15c3a7[_0x306ea8(0x402)],'token':_0x5db5bf,'type':_0x3fdebd[_0x306ea8(0x1ca)]}),_0x17133b[_0x306ea8(0x145)](_0x15c3a7[_0x306ea8(0x2eb)],_0x15c3a7[_0x306ea8(0x402)],_0x5db5bf);const _0x7527e7=_0x17133b['addCollectionByJSON'](_0x5db5bf,_0x1d06fd,_0x3f556b[_0x306ea8(0x292)],_0x1b9c3f[_0x306ea8(0x41e)]),_0x5a954e=new _0x4180e0[(_0x306ea8(0x3b4))](_0x7527e7[_0x306ea8(0x1da)],void 0x0,_0x5db5bf);_0x5a954e[_0x306ea8(0x203)](_0x1b9c3f['fieldsConfig']),_0x17133b[_0x306ea8(0x222)](_0x252b16,_0x1b987a,_0x5db5bf,_0x5a954e,_0x1b9c3f),_0x17133b[_0x306ea8(0x213)]({'unitId':_0x252b16,'subUnitId':_0x1b987a,'token':_0x5db5bf,'type':_0x3fdebd['Add'],'pivotConfig':_0x1b9c3f});}return!0x0;}},_0x1a3162={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'id':_0x106b51(0x247),'handler'(_0x5bf016,_0x20ca9a){const _0x199242=_0x106b51;if(!_0x20ca9a)return!0x1;if(!!_0x5bf016[_0x199242(0x450)](_0x292aa7[_0x199242(0x36b)])[_0x199242(0x32e)](_0xf8d0df))return!0x0;const _0x350e16=_0x5bf016[_0x199242(0x450)](_0x9f0854[_0x199242(0x1f2)]),{pivotTableId:_0x206c9d,deleteIds:_0x71d875,collectionJSON:_0x143317,dataRangeInfo:_0x2ef9ff,unitId:_0x10aa6f,subUnitId:_0x4bc01e}=_0x20ca9a,_0x2855cd=_0x350e16[_0x199242(0x303)](_0x206c9d),_0x487b2c=_0x350e16[_0x199242(0x3bc)](_0x10aa6f,_0x4bc01e,_0x206c9d);if(!_0x2855cd||!_0x487b2c)return!0x1;const {collection:_0x5e32ba,updateDataFieldList:_0x4216d3}=_0x350e16['addCollectionByJSON'](_0x206c9d,_0x143317,_0x2ef9ff,_0x487b2c['targetCellInfo']);_0x350e16[_0x199242(0x23d)](_0x5e32ba,_0x4216d3,_0x2ef9ff),_0x2855cd['updateDataFieldsCollection'](_0x5e32ba);for(const _0x3b1ece of _0x71d875)_0x350e16[_0x199242(0x149)](_0x2ef9ff['unitId'],_0x3b1ece);const _0xab60b8=_0x350e16['getPivotTableConfig'](_0x10aa6f,_0x4bc01e,_0x206c9d);return _0xab60b8[_0x199242(0x292)]=JSON[_0x199242(0x2c1)](JSON[_0x199242(0x3df)](_0x2ef9ff)),_0x350e16[_0x199242(0x213)]({'unitId':_0x10aa6f,'subUnitId':_0x4bc01e,'token':_0x206c9d,'type':_0x3fdebd[_0x199242(0x1ee)]}),!0x0;}},_0x508f1e={'type':_0x292aa7[_0x106b51(0x183)]['MUTATION'],'id':_0x106b51(0x40d),'handler'(){return!0x0;}};var _0x4d7793=Object['getOwnPropertyDescriptor'],_0x2e043e=(_0x194615,_0x1829c5,_0x34bdac,_0x58b2d7)=>{const _0x4f67a7=_0x106b51;for(var _0x32d9cb=_0x58b2d7>0x1?void 0x0:_0x58b2d7?_0x4d7793(_0x1829c5,_0x34bdac):_0x1829c5,_0x1c45eb=_0x194615[_0x4f67a7(0x316)]-0x1,_0x550daa;_0x1c45eb>=0x0;_0x1c45eb--)(_0x550daa=_0x194615[_0x1c45eb])&&(_0x32d9cb=_0x550daa(_0x32d9cb)||_0x32d9cb);return _0x32d9cb;},_0x453dff=(_0x1ab70a,_0x53855a)=>(_0x3876d1,_0xf8cc17)=>_0x53855a(_0x3876d1,_0xf8cc17,_0x1ab70a);_0x9f0854['SheetsPivotRPCService']=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x24002e){const _0x272cae=_0x106b51;super(),_0x4ac1dd(this,_0x272cae(0x2de),new Map()),this[_0x272cae(0x264)]=_0x24002e;}[_0x106b51(0x297)](_0x3c7cbd){const _0x132f3a=_0x106b51,{version:_0x246f1c}=_0x3c7cbd,_0x4b6302=this[_0x132f3a(0x2de)][_0x132f3a(0x450)](_0x246f1c);_0x4b6302&&(_0x4b6302(_0x3c7cbd),this[_0x132f3a(0x2de)][_0x132f3a(0x14f)](_0x246f1c));}[_0x106b51(0x26f)](_0x3e0f2a){return new Promise((_0x56540b,_0x41a1b6)=>{const _0x50aa72=_0x39c4,_0x4ddb2b=this[_0x50aa72(0x24c)]();this[_0x50aa72(0x2de)][_0x50aa72(0x27a)](_0x4ddb2b,_0x56540b),this[_0x50aa72(0x264)][_0x50aa72(0x347)](_0x21ca76['id'],{'version':_0x4ddb2b,..._0x3e0f2a},{'onlyLocal':!0x0});});}[_0x106b51(0x24c)](){const _0x58a621=_0x106b51;return Math[_0x58a621(0x246)]()[_0x58a621(0x1c6)](0x24)[_0x58a621(0x2a4)](0x2,0x10);}},_0x9f0854[_0x106b51(0x1ec)]=_0x2e043e([_0x453dff(0x0,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x3ff)]))],_0x9f0854[_0x106b51(0x1ec)]);const _0x172116={'id':_0x106b51(0x1a7),'type':_0x292aa7[_0x106b51(0x183)]['MUTATION'],'handler':(_0x33b8ec,_0x542efb)=>{const _0x59f867=_0x106b51;if(!_0x542efb)return!0x1;if(!!_0x33b8ec['get'](_0x292aa7[_0x59f867(0x36b)])[_0x59f867(0x32e)](_0xf8d0df))return!0x0;const {pivotTableId:_0x557d74,fieldJSON:_0xa93729,unitId:_0x44f467,subUnitId:_0x106aa3}=_0x542efb,_0x10c467=_0x4180e0[_0x59f867(0x23b)][_0x59f867(0x203)](_0xa93729);if(!_0x10c467)return!0x1;const _0x3b80f1=_0x33b8ec['get'](_0x9f0854[_0x59f867(0x1f2)]),_0x12f363=_0x3b80f1[_0x59f867(0x252)](_0x44f467),_0xb3e998=_0x12f363[_0x59f867(0x2d0)](_0x557d74);_0x12f363['addDataFieldWithoutUnitInfo'](_0x10c467),_0xb3e998[_0x59f867(0x37f)](_0x10c467[_0x59f867(0x205)](),_0x10c467[_0x59f867(0x244)]());const _0x553d41=_0xb3e998['getFieldById'](_0x10c467['getOriginFieldId']());_0x553d41&&_0x10c467[_0x59f867(0x154)](_0x553d41);const _0x52a906=_0x3b80f1[_0x59f867(0x3bc)](_0x44f467,_0x106aa3,_0x557d74);return _0x3b80f1[_0x59f867(0x213)]({'unitId':_0x44f467,'subUnitId':_0x106aa3,'token':_0x557d74,'type':_0x3fdebd[_0x59f867(0x1ee)],'pivotConfig':_0x52a906}),!0x0;}},_0x5b1c8a={'id':_0x106b51(0x211),'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'handler':(_0x453ad4,_0x2333c4)=>{const _0x51604c=_0x106b51;if(!_0x2333c4)return!0x1;if(!!_0x453ad4['get'](_0x292aa7[_0x51604c(0x36b)])[_0x51604c(0x32e)](_0xf8d0df))return!0x0;const {pivotTableId:_0x49cfc6,dataFieldId:_0x28c065,unitId:_0x1cd542,subUnitId:_0x35f061}=_0x2333c4,_0x140410=_0x453ad4[_0x51604c(0x450)](_0x9f0854[_0x51604c(0x1f2)]),_0x523152=_0x140410[_0x51604c(0x252)](_0x1cd542);_0x523152[_0x51604c(0x2d0)](_0x49cfc6)[_0x51604c(0x1a6)](_0x28c065);let _0x495962=!0x0;for(const _0x226384 in _0x523152[_0x51604c(0x38f)])if(_0x523152[_0x51604c(0x38f)][_0x226384][_0x51604c(0x1a3)]()[_0x51604c(0x201)](_0x28c065)){_0x495962=!0x1;break;}_0x495962&&_0x523152[_0x51604c(0x442)](_0x28c065);const _0x7c97af=_0x140410[_0x51604c(0x3bc)](_0x1cd542,_0x35f061,_0x49cfc6);return _0x140410['addDirtyPivotTable']({'unitId':_0x1cd542,'subUnitId':_0x35f061,'token':_0x49cfc6,'type':_0x3fdebd[_0x51604c(0x1ee)],'pivotConfig':_0x7c97af}),!0x0;}},_0x382464={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x1b1),async 'handler'(_0xe4ed26,_0xc8d354){const _0x5970f5=_0x106b51;if(!_0xc8d354)return!0x1;const _0x34c514=_0xe4ed26[_0x5970f5(0x450)](_0x292aa7[_0x5970f5(0x3ff)]),_0xf4bbc2=_0xe4ed26['get'](_0x9f0854[_0x5970f5(0x1ec)]),_0x15e17d=_0xe4ed26[_0x5970f5(0x450)](_0x292aa7[_0x5970f5(0x2b6)]),{pivotTableId:_0x2403ff,dataFieldId:_0x32107c,fieldArea:_0x5c4c23,index:_0x200f2e,unitId:_0x14469a,subUnitId:_0x4b54c5}=_0xc8d354,_0x3d0499=(await _0xf4bbc2[_0x5970f5(0x26f)]({'unitId':_0x14469a,'subUnitId':_0x4b54c5,'pivotTableId':_0x2403ff,'params':{'type':_0x971ca5[_0x5970f5(0x396)],'addPivotField':{'dataFieldId':_0x32107c,'fieldArea':_0x5c4c23,'index':_0x200f2e}}}))[_0x5970f5(0x310)][_0x5970f5(0x13a)];if(!_0x3d0499)return!0x1;const {view:_0x457ee2,changesets:_0x3b09d0,isEmpty:_0x2863b8,pivotTableConfig:_0x11d6a1,shouldBeAddedGroupJSON:_0x235b4a}=_0x3d0499,_0x5afc77=_0x11d6a1[_0x5970f5(0x41e)],_0x569576=new _0x4180e0[(_0x5970f5(0x2f8))]();_0x569576[_0x5970f5(0x42a)](_0x457ee2);const _0x283588={'cellInfo':_0x5afc77,'view':_0x569576,'isEmpty':_0x2863b8};if(!await _0xe4ed26['get'](_0x9f0854['SheetsPivotTableService'])[_0x5970f5(0x219)][_0x5970f5(0x204)](_0x3130a8)(!0x0,_0x283588))return!0x1;const _0x5c6c13=_0x3ec6ee(_0xe4ed26,_0x569576,_0x5afc77,_0x2863b8),_0x3da669=_0x195b29(_0xe4ed26,_0x283588),{undos:_0x3e557f,redos:_0x4c83f5}=_0x66b2a3(_0x34c514,{'pivotTableId':_0x2403ff,'unitId':_0x14469a,'subUnitId':_0x4b54c5},_0x3b09d0);return _0x235b4a&&(_0x4c83f5['unshift']({'id':_0x172116['id'],'params':{'pivotTableId':_0x2403ff,'fieldJSON':_0x235b4a,'unitId':_0x14469a,'subUnitId':_0x4b54c5}}),_0x3e557f[_0x5970f5(0x3a9)]({'id':_0x5b1c8a['id'],'params':{'pivotTableId':_0x2403ff,'dataFieldId':_0x235b4a['id'],'unitId':_0x14469a,'subUnitId':_0x4b54c5}})),_0x292aa7[_0x5970f5(0x2fc)]([..._0x5c6c13[_0x5970f5(0x2f4)],..._0x3da669[_0x5970f5(0x2f4)],..._0x4c83f5],_0x34c514),_0x15e17d['pushUndoRedo']({'unitID':_0x14469a,'redoMutations':[..._0x5c6c13[_0x5970f5(0x2f4)],..._0x3da669[_0x5970f5(0x2f4)],..._0x4c83f5],'undoMutations':[..._0x5c6c13[_0x5970f5(0x3b9)],..._0x3da669[_0x5970f5(0x3b9)],..._0x3e557f]}),!0x0;}},_0x43b160={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x1c8),async 'handler'(_0x52dddf,_0x4fa37a){const _0x5ea6dd=_0x106b51;if(!_0x4fa37a)return!0x1;const {sourceDataInfo:_0x3a40cf,pivotTableConfig:_0x33a8ca}=_0x4fa37a;if(!_0x3a40cf||!_0x33a8ca)return!0x1;const {unitId:_0x45666c,subUnitId:_0x3316e5,range:_0x47d6ff}=_0x3a40cf,_0x17a246=_0x52dddf[_0x5ea6dd(0x450)](_0x292aa7[_0x5ea6dd(0x14b)]),_0x24b2c5=_0x52dddf[_0x5ea6dd(0x450)](_0x9f0854[_0x5ea6dd(0x1ec)]),_0x406908=_0x52dddf['get'](_0x292aa7[_0x5ea6dd(0x2fa)]),_0x32505a=_0x52dddf[_0x5ea6dd(0x450)](_0x292aa7[_0x5ea6dd(0x3ff)]),_0x7f9342=_0x17a246[_0x5ea6dd(0x32f)](_0x45666c);if(!_0x7f9342)return!0x1;const _0x20ce35=_0x7f9342[_0x5ea6dd(0x41a)](_0x3316e5);if(!_0x20ce35)return!0x1;const _0x2352b4=_0x4180e0[_0x5ea6dd(0x40e)](0x8),_0x1ea559=_0x47d6ff||{'startRow':0x0,'startColumn':0x0,'endRow':_0x20ce35['getRowCount']()-0x1,'endColumn':_0x20ce35[_0x5ea6dd(0x441)]()-0x1};_0x1ea559[_0x5ea6dd(0x179)]=_0x292aa7[_0x5ea6dd(0x32c)][_0x5ea6dd(0x351)];const _0x515f89=(await _0x24b2c5[_0x5ea6dd(0x26f)]({'unitId':_0x45666c,'subUnitId':_0x3316e5,'pivotTableId':_0x2352b4,'params':{'type':_0x971ca5[_0x5ea6dd(0x1a9)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x45666c,'sheetName':_0x20ce35['getName'](),'subUnitId':_0x3316e5,'range':_0x1ea559},'pivotTableId':_0x2352b4,'pivotTableIndexConfig':_0x33a8ca}}}))['result'][_0x5ea6dd(0x28d)];if(!_0x515f89)return!0x1;const {isEmpty:_0x519d08,fieldsConfig:_0x313c2d,collectionConfig:_0x1b7294,changesets:_0x1d8067}=_0x515f89,_0xdd3df2=_0x7f9342[_0x5ea6dd(0x364)]()['length'],_0x29602f=_0x292aa7['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x20ce35['getRowCount']()-0x1,'columnCount':_0x20ce35[_0x5ea6dd(0x441)]()-0x1});_0x29602f['id']=_0x292aa7['generateRandomId'](),_0x29602f[_0x5ea6dd(0x3b6)]=_0x7f9342[_0x5ea6dd(0x321)](''+_0x406908['t'](_0x5ea6dd(0x20a)));const _0x1e88b0={'index':_0xdd3df2,'sheet':_0x29602f,'unitId':_0x45666c},{redos:_0x2644c7}=_0x66b2a3(_0x32505a,{'pivotTableId':_0x2352b4,'unitId':_0x45666c,'subUnitId':_0x29602f['id']},_0x1d8067),_0x530c2f=[{'id':_0x4b8ea6[_0x5ea6dd(0x3bb)]['id'],'params':_0x1e88b0},{'id':_0x1e0a17['id'],'params':{'unitId':_0x45666c,'subUnitId':_0x29602f['id'],'pivotTableId':_0x2352b4,'pivotTableConfig':{'isEmpty':_0x519d08,'fieldsConfig':_0x313c2d,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x45666c,'subUnitId':_0x29602f['id']},'sourceRangeInfo':{'subUnitId':_0x3316e5,'unitId':_0x45666c,'range':_0x1ea559,'sheetName':_0x20ce35[_0x5ea6dd(0x244)]()}},'collectionConfig':_0x1b7294}},..._0x2644c7];return _0x292aa7['sequenceExecute'](_0x530c2f,_0x32505a),!0x0;}},_0x496ff8={'type':_0x292aa7['CommandType'][_0x106b51(0x34b)],'id':_0x106b51(0x29d),async 'handler'(_0x2ec97a,_0x3dfd4e){const _0x13b3e4=_0x106b51;var _0x3d982a,_0xc5a9fd;const _0x4d51a4=_0x2ec97a[_0x13b3e4(0x450)](_0x292aa7['ICommandService']),_0x4a444e=_0x2ec97a[_0x13b3e4(0x450)](_0x292aa7[_0x13b3e4(0x14b)]),_0xcb2a=_0x2ec97a[_0x13b3e4(0x450)](_0x292aa7[_0x13b3e4(0x2fa)]),_0x4915d3=_0x2ec97a[_0x13b3e4(0x450)](_0x9f0854[_0x13b3e4(0x1ec)]),_0x56e721=_0x2ec97a[_0x13b3e4(0x450)](_0x292aa7[_0x13b3e4(0x2b6)]),_0x403b1d=_0x2ec97a[_0x13b3e4(0x450)](_0x9f0854['SheetsPivotTableConfigModel']),_0x401c20=_0x2ec97a[_0x13b3e4(0x450)](_0x292aa7[_0x13b3e4(0x36b)]);if(!_0x3dfd4e)return!0x1;const {pivotTableConfig:_0x5c868f,positionType:_0x5079c6}=_0x3dfd4e,{targetCellInfo:_0xd68998,sourceRangeInfo:_0x2e9086}=_0x5c868f,{unitId:_0x3f35e5,subUnitId:_0x135306}=_0xd68998,_0x1d27ce=_0x4a444e[_0x13b3e4(0x32f)](_0x3f35e5);if(!_0x1d27ce)return!0x1;let _0x34d9bd=0x0;_0x1d27ce[_0x13b3e4(0x364)]()[_0x13b3e4(0x15b)](_0x4e71bc=>{const _0x311fa2=_0x13b3e4;var _0xd00366,_0x4387c4;_0x34d9bd+=(_0x4387c4=(_0xd00366=_0x403b1d[_0x311fa2(0x371)](_0x3f35e5,_0x4e71bc[_0x311fa2(0x16c)]()))==null?void 0x0:_0xd00366[_0x311fa2(0x390)])!=null?_0x4387c4:0x0;});const _0x48588d=(_0x3d982a=_0x401c20[_0x13b3e4(0x32e)](_0x1f0349[_0x13b3e4(0x29b)]))!=null?_0x3d982a:{},{ls:_0xed0db2,pbk:_0x210747}=_0x48588d;if(!_0x559421(_0xed0db2,_0x210747))return!0x1;const _0x454c5d=_0x11bb0e(_0x30429d,_0xed0db2,_0x210747)['count'];if(_0x34d9bd>=_0x454c5d)return!0x1;const _0x453e4d=_0x3dfd4e['pivotTableId']||_0x4180e0['generateHexNumber'](0x8),_0x39faa3=(await _0x4915d3['getPivotDisplayConfig']({'unitId':_0x3f35e5,'subUnitId':_0x135306,'pivotTableId':_0x453e4d,'params':{'type':_0x971ca5[_0x13b3e4(0x439)],'addPivotTable':{'sourceRangeInfo':_0x2e9086,'pivotTableId':_0x453e4d}}}))['result']['addPivotTable'];if(!_0x39faa3)return!0x1;const {view:_0x103e59,isEmpty:_0x27f1ea,fieldsConfig:_0x34a8a6,collectionConfig:_0x2cb1a8}=_0x39faa3,_0x415caf=[],_0x209f77=[];if(_0x5079c6===_0x4c0f36[_0x13b3e4(0x3cc)]){const _0x3954f9=_0x1d27ce[_0x13b3e4(0x364)]()[_0x13b3e4(0x316)],_0x483eeb=_0x292aa7[_0x13b3e4(0x22f)]({});_0x483eeb['id']=_0x5c868f[_0x13b3e4(0x41e)]['subUnitId'],_0x483eeb['name']=(_0xc5a9fd=_0x5c868f['targetCellInfo']['sheetName'])!=null?_0xc5a9fd:_0x1d27ce['generateNewSheetName'](''+_0xcb2a['t']('sheets.tabs.sheet'));const _0x203585={'index':_0x3954f9,'sheet':_0x483eeb,'unitId':_0x3f35e5},_0x5aafe0=_0x4b8ea6['InsertSheetUndoMutationFactory'](_0x2ec97a,_0x203585);_0x415caf[_0x13b3e4(0x3a9)]({'id':_0x4b8ea6[_0x13b3e4(0x309)]['id'],'params':_0x5aafe0}),_0x209f77[_0x13b3e4(0x3a9)]({'id':_0x4b8ea6[_0x13b3e4(0x1db)]['id'],'params':_0x203585});}else{if(!_0x1d27ce[_0x13b3e4(0x41a)](_0x135306))return!0x1;const _0x3d15b9=_0x3ec6ee(_0x2ec97a,new _0x4180e0[(_0x13b3e4(0x2f8))](),_0xd68998,!0x0);_0x209f77[_0x13b3e4(0x3a9)](..._0x3d15b9[_0x13b3e4(0x2f4)]),_0x415caf[_0x13b3e4(0x3a9)](..._0x3d15b9[_0x13b3e4(0x3b9)]);const _0x1c83fe={'cellInfo':_0xd68998,'view':_0x103e59,'isEmpty':_0x27f1ea};if(!await _0x2ec97a[_0x13b3e4(0x450)](_0x9f0854[_0x13b3e4(0x409)])['asyncInterceptor'][_0x13b3e4(0x204)](_0x3130a8)(!0x0,_0x1c83fe))return!0x1;const _0x436d54=_0x195b29(_0x2ec97a,_0x1c83fe);_0x209f77['push'](..._0x436d54['redos']),_0x415caf['push'](..._0x436d54['undos']);}return _0x209f77['push']({'id':_0x1e0a17['id'],'params':{'unitId':_0xd68998[_0x13b3e4(0x2eb)],'subUnitId':_0xd68998[_0x13b3e4(0x402)],'pivotTableId':_0x453e4d,'pivotTableConfig':{'targetCellInfo':_0xd68998,'sourceRangeInfo':_0x2e9086,'fieldsConfig':_0x34a8a6},'collectionConfig':_0x2cb1a8}}),_0x415caf['unshift']({'id':_0x6e907c['id'],'params':{'unitId':_0x3f35e5,'subUnitId':_0x135306,'pivotTableId':_0x453e4d}}),_0x292aa7[_0x13b3e4(0x2fc)](_0x209f77,_0x4d51a4)&&_0x56e721[_0x13b3e4(0x3d2)]({'unitID':_0x3f35e5,'undoMutations':_0x415caf,'redoMutations':_0x209f77}),!0x0;}},_0x3a0663={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x25e),async 'handler'(_0xb0f53b,_0x43bec4){const _0x59e18d=_0x106b51;if(!_0x43bec4)return!0x1;const _0x420589=_0xb0f53b[_0x59e18d(0x450)](_0x292aa7[_0x59e18d(0x3ff)]),_0x1de674=_0xb0f53b[_0x59e18d(0x450)](_0x9f0854[_0x59e18d(0x1ec)]),_0x1e1804=_0xb0f53b['get'](_0x292aa7['IUndoRedoService']),{pivotTableId:_0x134370,fieldId:_0x2d59e2,area:_0x4e5a46,index:_0x293069,unitId:_0x382be2,subUnitId:_0x204647}=_0x43bec4,_0x107548=(await _0x1de674[_0x59e18d(0x26f)]({'unitId':_0x382be2,'subUnitId':_0x204647,'pivotTableId':_0x134370,'params':{'type':_0x971ca5[_0x59e18d(0x1e7)],'movePivotField':{'fieldId':_0x2d59e2,'area':_0x4e5a46,'index':_0x293069}}}))[_0x59e18d(0x310)]['movePivotField'];if(!_0x107548)return!0x1;const {changesets:_0x5d9b5e,view:_0x11e8e1,isEmpty:_0x1313be,pivotTableConfig:_0x3aea6e}=_0x107548,_0x52b5ce=_0x3aea6e[_0x59e18d(0x41e)],_0x51bbcb=new _0x4180e0[(_0x59e18d(0x2f8))]();_0x51bbcb['formJSON'](_0x11e8e1);const _0x285017={'cellInfo':_0x52b5ce,'view':_0x51bbcb,'isEmpty':_0x1313be};if(!await _0xb0f53b[_0x59e18d(0x450)](_0x9f0854[_0x59e18d(0x409)])[_0x59e18d(0x219)]['fetchThroughAsyncInterceptors'](_0x3130a8)(!0x0,_0x285017))return!0x1;const _0xc39fd4=_0x3ec6ee(_0xb0f53b,_0x51bbcb,_0x52b5ce,_0x1313be),_0x158246=_0x195b29(_0xb0f53b,_0x285017),{redos:_0x396fa8,undos:_0x20305b}=_0x66b2a3(_0x420589,{'pivotTableId':_0x134370,'unitId':_0x382be2,'subUnitId':_0x204647},_0x5d9b5e);return _0x292aa7[_0x59e18d(0x2fc)]([..._0xc39fd4[_0x59e18d(0x2f4)],..._0x158246['redos'],..._0x396fa8],_0x420589),_0x1e1804[_0x59e18d(0x3d2)]({'unitID':_0x382be2,'redoMutations':[..._0xc39fd4['redos'],..._0x158246[_0x59e18d(0x2f4)],..._0x396fa8],'undoMutations':[..._0xc39fd4[_0x59e18d(0x3b9)],..._0x158246[_0x59e18d(0x3b9)],..._0x20305b]}),!0x0;}},_0x45f72b={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3ec831,_0x19e85c){const _0x59b7fa=_0x106b51;var _0x47d233;if(!_0x19e85c)return!0x1;const _0x2615ce=_0x3ec831[_0x59b7fa(0x450)](_0x292aa7[_0x59b7fa(0x14b)]),_0x2a34ce=_0x4b8ea6[_0x59b7fa(0x13c)](_0x2615ce);if(!_0x2a34ce)return!0x1;const {unitId:_0x168dad,subUnitId:_0x5adc64,workbook:_0x298518}=_0x2a34ce,{row:_0x519a10,col:_0x253500}=_0x19e85c,_0x3ec551=_0x3ec831[_0x59b7fa(0x450)](_0x9f0854[_0x59b7fa(0x359)]),_0x58d4d5=_0x3ec551[_0x59b7fa(0x233)](_0x168dad,_0x5adc64,_0x519a10,_0x253500);if(!_0x58d4d5)return!0x1;const _0x4b9d1c=(_0x47d233=_0x3ec551['getPivotItemRenderInfoCache'](_0x168dad,_0x5adc64,_0x58d4d5))==null?void 0x0:_0x47d233[_0x59b7fa(0x275)];if(!_0x4b9d1c)return!0x1;const _0x211339=_0x3ec831['get'](_0x9f0854[_0x59b7fa(0x3a3)])[_0x59b7fa(0x3bc)](_0x168dad,_0x5adc64,_0x58d4d5);if(!_0x211339)return!0x1;const {rowInfo:_0x1aa547,colInfo:_0x578f01}=_0x4b9d1c,_0x48e35d=_0x1aa547[_0x519a10][_0x59b7fa(0x21f)],_0x307854=_0x578f01[_0x253500][_0x59b7fa(0x21f)],_0xa4be7=_0x1aa547[_0x519a10][_0x59b7fa(0x1c5)],_0x2148bd=_0x578f01[_0x253500]['level'],_0x5264c1=_0x48e35d['concat'](_0x307854),_0x10e96d=_0x211339[_0x59b7fa(0x162)][_0x59b7fa(0x2f9)][_0x59b7fa(0x459)](0x0,_0xa4be7),_0x53ad2f=_0x211339[_0x59b7fa(0x162)]['columnFields'][_0x59b7fa(0x459)](0x0,_0x2148bd),_0x1a48b0=_0x10e96d[_0x59b7fa(0x293)](_0x53ad2f),_0x46c44c=_0x5264c1['map']((_0x2b9e14,_0x591a1f)=>[_0x2b9e14,_0x1a48b0[_0x591a1f]]),_0x33722c=(await _0x3ec831[_0x59b7fa(0x450)](_0x9f0854[_0x59b7fa(0x1ec)])[_0x59b7fa(0x26f)]({'unitId':_0x168dad,'subUnitId':_0x5adc64,'pivotTableId':_0x58d4d5,'params':{'type':_0x971ca5[_0x59b7fa(0x444)],'drillDown':{'tuple':_0x46c44c}}}))[_0x59b7fa(0x310)][_0x59b7fa(0x3f0)];if(!_0x33722c)return!0x1;const {indexes:_0x5f2931,range:_0x49b07e,sourceUnitId:_0x1aece3,sourceSubUnitId:_0x59b0cf,formatMap:_0x25a6fb}=_0x33722c,{startRow:_0x9c99bb,endRow:_0x490060,startColumn:_0x22bc18,endColumn:_0x55d165}=_0x49b07e,_0x1997c8=new _0x292aa7[(_0x59b7fa(0x156))](),_0x1f21c7=_0x490060-_0x9c99bb,_0x179e54=_0x55d165-_0x22bc18,_0x16d2d5={},_0x4bc2ca=_0x4b8ea6[_0x59b7fa(0x13c)](_0x2615ce,{'unitId':_0x1aece3,'subUnitId':_0x59b0cf});if(!_0x4bc2ca)return!0x1;const _0x30c335=_0x3cfad7[_0x59b7fa(0x3fb)],_0x34a76c=_0x3cfad7[_0x59b7fa(0x334)],_0x295bc2=_0x3cfad7[_0x59b7fa(0x334)],_0x4a5cd2=_0x298518[_0x59b7fa(0x1e1)]()[_0x59b7fa(0x1f0)](_0x30c335),_0x1f59a3=_0x298518[_0x59b7fa(0x1e1)]()[_0x59b7fa(0x1f0)](_0x34a76c),_0x3ceabc=_0x298518['getStyles']()[_0x59b7fa(0x1f0)](_0x295bc2),{worksheet:_0x3cf6ff}=_0x4bc2ca;let _0x30b8cc=0x0;const _0x250203=0x1;_0x5f2931['forEach'](_0x2f3322=>{const _0x48416f=_0x59b7fa;for(let _0x4abf3e=0x0;_0x4abf3e<=_0x55d165-_0x22bc18;_0x4abf3e++)_0x1997c8[_0x48416f(0x1f0)](_0x30b8cc,_0x4abf3e,_0x3cf6ff[_0x48416f(0x280)](_0x2f3322+_0x49b07e[_0x48416f(0x22d)]+_0x250203,_0x4abf3e));_0x30b8cc++;});for(let _0x1911bf=_0x22bc18;_0x1911bf<=_0x55d165;_0x1911bf++){const _0x351832=_0x3cf6ff[_0x59b7fa(0x280)](_0x9c99bb,_0x1911bf);_0x16d2d5[_0x9c99bb]||(_0x16d2d5[_0x9c99bb]={}),_0x16d2d5[_0x9c99bb][_0x1911bf]={..._0x351832,'s':_0x4a5cd2};}let _0x461ba5=0x1;const _0x2c8f92={},_0x45dcab={};_0x1997c8[_0x59b7fa(0x414)]((_0x3f7708,_0x2a3d62)=>{const _0x588e75=_0x59b7fa;_0x2a3d62[_0x588e75(0x15b)](_0x962cf0=>{const _0x722f7f=_0x588e75,_0x17a4f4=_0x1997c8[_0x722f7f(0x3fc)](_0x3f7708,_0x962cf0);if(_0x16d2d5[_0x461ba5]||(_0x16d2d5[_0x461ba5]={}),_0x16d2d5[_0x461ba5][_0x962cf0]={..._0x17a4f4,'s':_0x461ba5%0x2===0x0?_0x3ceabc:_0x1f59a3},_0x25a6fb[_0x962cf0]&&_0x3f7708>=0x0){const _0x5176ef=_0x461ba5%0x2===0x0;let _0x1926a1=_0x5176ef?_0x45dcab[_0x962cf0]:_0x2c8f92[_0x962cf0];_0x1926a1||(_0x1926a1=_0x298518[_0x722f7f(0x1e1)]()[_0x722f7f(0x1f0)]({..._0x5176ef?_0x295bc2:_0x34a76c,'n':{'pattern':_0x25a6fb[_0x962cf0]}}),_0x5176ef?_0x45dcab[_0x962cf0]=_0x1926a1:_0x2c8f92[_0x962cf0]=_0x1926a1),_0x16d2d5[_0x461ba5][_0x962cf0]['s']=_0x1926a1;}}),_0x461ba5++;});const _0x48bc46=new _0x292aa7[(_0x59b7fa(0x156))](_0x16d2d5),_0x53192b={};_0x48bc46['forValue']((_0x58644f,_0x47d0ac,_0x4eb465)=>{_0x53192b[_0x58644f]||(_0x53192b[_0x58644f]={}),_0x53192b[_0x58644f][_0x47d0ac]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xb923cb=[],_0x1e8b79=[],_0x86ea65=_0x298518[_0x59b7fa(0x364)]()['length'],_0x11250e=_0x292aa7[_0x59b7fa(0x22f)]({'rowCount':Math[_0x59b7fa(0x1c4)](_0x292aa7[_0x59b7fa(0x1d6)],_0x1f21c7+0xa),'columnCount':Math[_0x59b7fa(0x1c4)](_0x292aa7[_0x59b7fa(0x341)],_0x179e54+0x5)}),_0x593fd3=_0x3ec831[_0x59b7fa(0x450)](_0x292aa7[_0x59b7fa(0x2fa)]);_0x11250e['id']=_0x292aa7[_0x59b7fa(0x1d7)](),_0x11250e[_0x59b7fa(0x3b6)]=_0x298518[_0x59b7fa(0x321)](''+_0x593fd3['t'](_0x59b7fa(0x20a)));const _0x9b6812={'index':_0x86ea65,'sheet':_0x11250e,'unitId':_0x168dad},_0x1111cf=_0x4b8ea6[_0x59b7fa(0x306)](_0x3ec831,_0x9b6812);_0x1e8b79[_0x59b7fa(0x3a9)]({'id':_0x4b8ea6[_0x59b7fa(0x1db)]['id'],'params':_0x9b6812}),_0xb923cb[_0x59b7fa(0x3a9)]({'id':_0x4b8ea6[_0x59b7fa(0x309)]['id'],'params':_0x1111cf}),_0x1e8b79[_0x59b7fa(0x3a9)]({'id':_0x4b8ea6[_0x59b7fa(0x366)]['id'],'params':{'unitId':_0x168dad,'subUnitId':_0x11250e['id'],'cellValue':_0x16d2d5}}),_0xb923cb['unshift']({'id':_0x4b8ea6[_0x59b7fa(0x366)]['id'],'params':{'unitId':_0x168dad,'subUnitId':_0x11250e['id'],'cellValue':_0x53192b}});const _0x3919b6={'startRow':0x0,'startColumn':0x0,'endRow':_0x461ba5-0x1,'endColumn':_0x55d165};_0x1e8b79[_0x59b7fa(0x3a9)]({'id':_0x3334ee[_0x59b7fa(0x288)]['id'],'params':{'unitId':_0x168dad,'subUnitId':_0x11250e['id'],'range':_0x3919b6}}),_0xb923cb['unshift']({'id':_0x3334ee[_0x59b7fa(0x2ff)]['id'],'params':{'unitId':_0x168dad,'subUnitId':_0x11250e['id']}});const _0x208757=_0x3ec831[_0x59b7fa(0x450)](_0x292aa7[_0x59b7fa(0x3ff)]);return _0x292aa7[_0x59b7fa(0x2fc)](_0x1e8b79,_0x208757)&&_0x3ec831['get'](_0x292aa7['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x168dad,'undoMutations':_0xb923cb,'redoMutations':_0x1e8b79}),!0x0;}},_0x2268db={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x3c0),async 'handler'(_0x535cf3,_0x4d1287){const _0x1c5704=_0x106b51;if(!_0x4d1287)return!0x1;const _0x3e1993=_0x535cf3[_0x1c5704(0x450)](_0x292aa7[_0x1c5704(0x3ff)]),_0x1db059=_0x535cf3['get'](_0x9f0854[_0x1c5704(0x1ec)]),_0x2e71c2=_0x535cf3[_0x1c5704(0x450)](_0x292aa7[_0x1c5704(0x2b6)]),{pivotTableId:_0x486582,fieldIds:_0x5f4839,unitId:_0x21d3ea,subUnitId:_0x2eb952}=_0x4d1287,_0x241796=(await _0x1db059['getPivotDisplayConfig']({'unitId':_0x21d3ea,'subUnitId':_0x2eb952,'pivotTableId':_0x486582,'params':{'type':_0x971ca5[_0x1c5704(0x1d3)],'removePivotField':{'fieldIds':_0x5f4839}}}))[_0x1c5704(0x310)]['removePivotField'];if(!_0x241796)return!0x1;const {view:_0x49f810,changesets:_0x4d9767,isEmpty:_0x4fd0cb,pivotTableConfig:_0x5f0c22}=_0x241796,_0xe42e47=_0x5f0c22['targetCellInfo'],_0x518371=new _0x4180e0[(_0x1c5704(0x2f8))]();_0x518371[_0x1c5704(0x42a)](_0x49f810);const _0x23aafb={'cellInfo':_0xe42e47,'view':_0x518371,'isEmpty':_0x4fd0cb};if(!await _0x535cf3[_0x1c5704(0x450)](_0x9f0854[_0x1c5704(0x409)])[_0x1c5704(0x219)][_0x1c5704(0x204)](_0x3130a8)(!0x0,_0x23aafb))return!0x1;const _0x21bfdc=_0x3ec6ee(_0x535cf3,_0x518371,_0xe42e47,_0x4fd0cb),_0x596281=_0x195b29(_0x535cf3,_0x23aafb),{redos:_0x15b718,undos:_0x3d8e02}=_0x66b2a3(_0x3e1993,{'pivotTableId':_0x486582,'unitId':_0x21d3ea,'subUnitId':_0x2eb952},_0x4d9767);return _0x292aa7['sequenceExecute']([..._0x21bfdc[_0x1c5704(0x2f4)],..._0x596281[_0x1c5704(0x2f4)],..._0x15b718],_0x3e1993),_0x2e71c2[_0x1c5704(0x3d2)]({'unitID':_0x21d3ea,'redoMutations':[..._0x21bfdc[_0x1c5704(0x2f4)],..._0x596281[_0x1c5704(0x2f4)],..._0x15b718],'undoMutations':[..._0x21bfdc[_0x1c5704(0x3b9)],..._0x596281[_0x1c5704(0x3b9)],..._0x3d8e02]}),!0x0;}},_0x2348bf={'type':_0x292aa7['CommandType'][_0x106b51(0x34b)],'id':_0x106b51(0x3d8),async 'handler'(_0x4f78e9,_0x3836ad){const _0x22ff00=_0x106b51;var _0x65aa38;const _0x515828=_0x4f78e9[_0x22ff00(0x450)](_0x292aa7['ICommandService']),_0x4ff278=_0x4f78e9[_0x22ff00(0x450)](_0x9f0854[_0x22ff00(0x1ec)]),_0x166d34=_0x4f78e9[_0x22ff00(0x450)](_0x9f0854[_0x22ff00(0x359)]),_0x1f38c6=_0x4f78e9['get'](_0x292aa7[_0x22ff00(0x14b)]),_0x42fa2e=_0x4f78e9[_0x22ff00(0x450)](_0x292aa7[_0x22ff00(0x2b6)]);if(!_0x3836ad)return!0x1;const {unitId:_0x346156,subUnitId:_0x1f1cf3,row:_0x2e9745,col:_0x46131e,collapse:_0x25fa72}=_0x3836ad,_0x3c4eb9=_0x1f38c6[_0x22ff00(0x32f)](_0x346156);if(!_0x3c4eb9||!_0x3c4eb9[_0x22ff00(0x41a)](_0x1f1cf3))return!0x1;const _0x532517=_0x166d34['getPivotTableIdByCell'](_0x346156,_0x1f1cf3,_0x2e9745,_0x46131e);if(!_0x532517)return!0x1;const _0x2c40de=_0x166d34[_0x22ff00(0x433)](_0x346156,_0x1f1cf3,_0x532517);if(!_0x2c40de)return!0x1;const _0x500490=_0x292aa7[_0x22ff00(0x2c8)](_0x2e9745,_0x46131e),{rangesInfo:_0x17e571,areaInfo:_0x2972ec,headerMap:_0x16a15e}=_0x2c40de;if(!_0x17e571||!_0x2972ec||!_0x16a15e)return!0x1;const _0x1db5c4=Object[_0x22ff00(0x1de)](_0x17e571)[_0x22ff00(0x1ff)](_0x36ebfb=>_0x17e571[_0x36ebfb]['some'](_0x5be477=>_0x292aa7[_0x22ff00(0x24b)][_0x22ff00(0x19b)](_0x5be477,_0x500490)));let _0x288b9f;_0x1db5c4===_0x22ff00(0x422)?_0x288b9f=_0x16a15e[_0x22ff00(0x327)][_0x46131e]:_0x1db5c4===_0x22ff00(0x43e)&&(_0x288b9f=_0x16a15e['colHeaderMap'][_0x2e9745]);const _0x3f9d66=_0x288b9f==null?void 0x0:_0x288b9f[_0x22ff00(0x43f)],_0x67cab8=(_0x65aa38=_0x166d34[_0x22ff00(0x17c)](_0x346156,_0x1f1cf3,_0x2e9745,_0x46131e))==null?void 0x0:_0x65aa38['v'];if(_0x67cab8==null||!_0x532517||!_0x3f9d66)return!0x1;const _0x2b5325=await _0x4ff278[_0x22ff00(0x26f)]({'unitId':_0x346156,'subUnitId':_0x1f1cf3,'pivotTableId':_0x532517,'params':{'type':_0x971ca5['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x3f9d66,'collapse':_0x25fa72,'item':_0x67cab8}}}),_0x30eb33=_0x2b5325==null?void 0x0:_0x2b5325[_0x22ff00(0x310)][_0x22ff00(0x291)];if(!_0x30eb33)return!0x1;const {view:_0x18c2a3,pivotTableConfig:_0x4bbd62,isEmpty:_0x44740c,changesets:_0x307935}=_0x30eb33,_0x272f92=new _0x4180e0['PivotView']();_0x272f92[_0x22ff00(0x42a)](_0x18c2a3);const _0x2a0dcd=_0x4bbd62[_0x22ff00(0x41e)],_0x4f346f={'cellInfo':_0x2a0dcd,'view':_0x272f92,'isEmpty':_0x44740c};if(!await _0x4f78e9[_0x22ff00(0x450)](_0x9f0854[_0x22ff00(0x409)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x3130a8)(!0x0,_0x4f346f))return!0x1;const _0x23a9af=_0x3ec6ee(_0x4f78e9,_0x272f92,_0x2a0dcd,_0x44740c),_0x3d45db=_0x195b29(_0x4f78e9,_0x4f346f),{redos:_0x5531b9,undos:_0x55d407}=_0x66b2a3(_0x515828,{'pivotTableId':_0x532517,'unitId':_0x346156,'subUnitId':_0x1f1cf3},_0x307935);return _0x292aa7[_0x22ff00(0x2fc)]([..._0x23a9af[_0x22ff00(0x2f4)],..._0x3d45db['redos'],..._0x5531b9],_0x515828),_0x42fa2e['pushUndoRedo']({'unitID':_0x346156,'redoMutations':[..._0x23a9af['redos'],..._0x3d45db[_0x22ff00(0x2f4)],..._0x5531b9],'undoMutations':[..._0x23a9af['undos'],..._0x3d45db[_0x22ff00(0x3b9)],..._0x55d407]}),!0x0;}},_0x5db097={'type':_0x292aa7['CommandType'][_0x106b51(0x34b)],'id':_0x106b51(0x1a0),async 'handler'(_0x5b264c,_0x5bd876){const _0x3a931a=_0x106b51;if(!_0x5bd876)return!0x1;const _0x19565f=_0x5b264c[_0x3a931a(0x450)](_0x292aa7[_0x3a931a(0x3ff)]),{pivotTableId:_0x30b1c5,tableFieldId:_0x559b48,items:_0x291744,unitId:_0x14ec84,subUnitId:_0xdbe684,isAll:_0x219b33}=_0x5bd876,_0x13de8a=_0x5b264c[_0x3a931a(0x450)](_0x9f0854[_0x3a931a(0x1ec)]),_0x1e5c77=_0x5b264c[_0x3a931a(0x450)](_0x292aa7['IUndoRedoService']),_0x46f9c6=(await _0x13de8a['getPivotDisplayConfig']({'unitId':_0x14ec84,'subUnitId':_0xdbe684,'pivotTableId':_0x30b1c5,'params':{'type':_0x971ca5[_0x3a931a(0x13b)],'setPivotFilter':{'tableFieldId':_0x559b48,'items':_0x291744,'isAll':_0x219b33}}}))[_0x3a931a(0x310)][_0x3a931a(0x394)];if(!_0x46f9c6)return!0x1;const {changesets:_0x212553,pivotTableConfig:_0xf518f,isEmpty:_0x5f1357,view:_0x57f23c}=_0x46f9c6,_0xaab5f8=_0xf518f[_0x3a931a(0x41e)],_0x60776a=new _0x4180e0[(_0x3a931a(0x2f8))]();_0x60776a['formJSON'](_0x57f23c);const _0x5964a6={'cellInfo':_0xaab5f8,'view':_0x60776a,'isEmpty':_0x5f1357};if(!await _0x5b264c[_0x3a931a(0x450)](_0x9f0854[_0x3a931a(0x409)])['asyncInterceptor'][_0x3a931a(0x204)](_0x3130a8)(!0x0,_0x5964a6))return!0x1;const _0x440966=_0x3ec6ee(_0x5b264c,_0x60776a,_0xaab5f8,_0x5f1357),_0x29b426=_0x195b29(_0x5b264c,_0x5964a6),{undos:_0x299815,redos:_0x58bf74}=_0x66b2a3(_0x19565f,{'pivotTableId':_0x30b1c5,'unitId':_0x14ec84,'subUnitId':_0xdbe684},_0x212553);return _0x292aa7[_0x3a931a(0x2fc)]([..._0x440966[_0x3a931a(0x2f4)],..._0x29b426[_0x3a931a(0x2f4)],..._0x58bf74],_0x19565f),_0x1e5c77['pushUndoRedo']({'unitID':_0x14ec84,'redoMutations':[..._0x440966['redos'],..._0x29b426[_0x3a931a(0x2f4)],..._0x58bf74],'undoMutations':[..._0x440966[_0x3a931a(0x3b9)],..._0x29b426[_0x3a931a(0x3b9)],..._0x299815]}),!0x0;}},_0xacbd1d={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x331),async 'handler'(_0x19e982,_0x2aa716){const _0x3fdd1c=_0x106b51;if(!_0x2aa716)return!0x1;const _0x142d88=_0x19e982[_0x3fdd1c(0x450)](_0x292aa7[_0x3fdd1c(0x3ff)]),_0xf0a060=_0x19e982[_0x3fdd1c(0x450)](_0x292aa7[_0x3fdd1c(0x2b6)]),_0x1dd56d=_0x19e982[_0x3fdd1c(0x450)](_0x9f0854[_0x3fdd1c(0x1ec)]),{info:_0x1fabe9,tableFieldId:_0x4b1c06,pivotTableId:_0x1ba1e7,unitId:_0xb95d28,subUnitId:_0x16d0b9}=_0x2aa716,_0x2f496c=(await _0x1dd56d[_0x3fdd1c(0x26f)]({'unitId':_0xb95d28,'subUnitId':_0x16d0b9,'pivotTableId':_0x1ba1e7,'params':{'type':_0x971ca5['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x4b1c06,'info':_0x1fabe9}}}))[_0x3fdd1c(0x310)][_0x3fdd1c(0x31a)];if(!_0x2f496c)return!0x1;const {changesets:_0x1deab1}=_0x2f496c,{redos:_0x11fb48,undos:_0x3d4067}=_0x66b2a3(_0x142d88,{'pivotTableId':_0x1ba1e7,'unitId':_0xb95d28,'subUnitId':_0x16d0b9},_0x1deab1);return _0x292aa7[_0x3fdd1c(0x2fc)](_0x11fb48,_0x142d88),_0xf0a060['pushUndoRedo']({'unitID':_0xb95d28,'redoMutations':_0x11fb48,'undoMutations':_0x3d4067}),!0x0;}},_0x459ffc={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0xc5598c,_0x4526d2){const _0x2fed28=_0x106b51;if(!_0x4526d2)return!0x1;const _0x2218ab=_0xc5598c[_0x2fed28(0x450)](_0x292aa7['ICommandService']),_0x4ab987=_0xc5598c[_0x2fed28(0x450)](_0x292aa7['IUndoRedoService']),_0x346581=_0xc5598c[_0x2fed28(0x450)](_0x9f0854[_0x2fed28(0x1ec)]),{displayName:_0x581f02,subtotalType:_0x1f15f5,format:_0x311c91,tableFieldId:_0x269dc9,pivotTableId:_0x5911e2,unitId:_0xa8c372,subUnitId:_0x5460da}=_0x4526d2,_0x39d042=(await _0x346581[_0x2fed28(0x26f)]({'unitId':_0xa8c372,'subUnitId':_0x5460da,'pivotTableId':_0x5911e2,'params':{'type':_0x971ca5[_0x2fed28(0x384)],'setPivotSetting':{'tableFieldId':_0x269dc9,'displayName':_0x581f02,'subtotalType':_0x1f15f5,'format':_0x311c91}}}))[_0x2fed28(0x310)][_0x2fed28(0x39a)];if(!_0x39d042)return!0x1;const {changesets:_0x1fbe95,view:_0x38cb95,pivotTableConfig:_0x552f20,isEmpty:_0x299e31}=_0x39d042,_0x2cf3d3=_0x552f20[_0x2fed28(0x41e)],_0x94ef83=new _0x4180e0[(_0x2fed28(0x2f8))]();_0x94ef83[_0x2fed28(0x42a)](_0x38cb95);const _0x571402={'cellInfo':_0x2cf3d3,'view':_0x94ef83,'isEmpty':_0x299e31};if(!await _0xc5598c[_0x2fed28(0x450)](_0x9f0854['SheetsPivotTableService'])['asyncInterceptor'][_0x2fed28(0x204)](_0x3130a8)(!0x0,_0x571402))return!0x1;const _0x5a7cc8=_0x3ec6ee(_0xc5598c,_0x94ef83,_0x2cf3d3,_0x299e31),_0x50fa41=_0x195b29(_0xc5598c,_0x571402),{undos:_0x58b88e,redos:_0x1d2e84}=_0x66b2a3(_0x2218ab,{'pivotTableId':_0x5911e2,'unitId':_0xa8c372,'subUnitId':_0x5460da},_0x1fbe95);return _0x292aa7[_0x2fed28(0x2fc)]([..._0x5a7cc8[_0x2fed28(0x2f4)],..._0x50fa41['redos'],..._0x1d2e84],_0x2218ab),_0x4ab987[_0x2fed28(0x3d2)]({'unitID':_0xa8c372,'redoMutations':[..._0x5a7cc8[_0x2fed28(0x2f4)],..._0x50fa41[_0x2fed28(0x2f4)],..._0x1d2e84],'undoMutations':[..._0x5a7cc8['undos'],..._0x50fa41[_0x2fed28(0x3b9)],..._0x58b88e]}),!0x0;}},_0x53fb2e={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x410),async 'handler'(_0x3784fe,_0xd180e1){const _0x23e699=_0x106b51,_0x11f638=_0x3784fe[_0x23e699(0x450)](_0x292aa7[_0x23e699(0x3ff)]),_0x24f487=_0x3784fe[_0x23e699(0x450)](_0x9f0854[_0x23e699(0x1ec)]),_0x19bedb=_0x3784fe['get'](_0x292aa7[_0x23e699(0x2b6)]);if(!_0xd180e1)return!0x1;const {token:_0x28f976,dataRangeInfo:_0x296f14,unitId:_0x2a7109,subUnitId:_0x1a2f23}=_0xd180e1,_0x328df=[],_0x319321=[],_0xe982f8=(await _0x24f487[_0x23e699(0x26f)]({'unitId':_0x2a7109,'subUnitId':_0x1a2f23,'pivotTableId':_0x28f976,'params':{'type':_0x971ca5[_0x23e699(0x32d)],'updatePivotSource':{'dataRangeInfo':_0x296f14,'unitId':_0x2a7109,'subUnitId':_0x1a2f23}}}))[_0x23e699(0x310)]['updatePivotSource'];if(!_0xe982f8)return!0x1;const {changesets:_0x29838f,deleteIds:_0x14d747,collectionConfig:_0x345a22,oldCollectionConfig:_0xd5c2cb,view:_0xdc85ae,isEmpty:_0x39d7c8,pivotTableConfig:_0x4eb8bf}=_0xe982f8;_0x319321[_0x23e699(0x3a9)]({'id':_0x1a3162['id'],'params':{'pivotTableId':_0x28f976,'deleteIds':_0x14d747,'collectionJSON':_0x345a22,'dataRangeInfo':_0x296f14,'unitId':_0x2a7109,'subUnitId':_0x1a2f23}}),_0x328df[_0x23e699(0x31b)]({'id':_0x1a3162['id'],'params':{'pivotTableId':_0x28f976,'deleteIds':[],'collectionJSON':_0xd5c2cb,'dataRangeInfo':_0x4eb8bf['sourceRangeInfo'],'unitId':_0x2a7109,'subUnitId':_0x1a2f23}});const _0x2b7453=_0x4eb8bf[_0x23e699(0x41e)],_0x7bdbf6=new _0x4180e0[(_0x23e699(0x2f8))]();_0x7bdbf6[_0x23e699(0x42a)](_0xdc85ae);const _0x10640b={'cellInfo':_0x2b7453,'view':_0x7bdbf6,'isEmpty':_0x39d7c8};if(!await _0x3784fe[_0x23e699(0x450)](_0x9f0854[_0x23e699(0x409)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x3130a8)(!0x0,_0x10640b))return!0x1;const _0x5ac142=_0x3ec6ee(_0x3784fe,_0x7bdbf6,_0x2b7453,_0x39d7c8),_0x485e13=_0x195b29(_0x3784fe,_0x10640b),{undos:_0xc344de,redos:_0x46efff}=_0x66b2a3(_0x11f638,{'pivotTableId':_0x28f976,'unitId':_0x2a7109,'subUnitId':_0x1a2f23},_0x29838f);return _0x292aa7[_0x23e699(0x2fc)]([..._0x5ac142['redos'],..._0x485e13[_0x23e699(0x2f4)],..._0x319321,..._0xc344de],_0x11f638),_0x19bedb[_0x23e699(0x3d2)]({'unitID':_0x2a7109,'redoMutations':[..._0x5ac142[_0x23e699(0x2f4)],..._0x485e13['redos'],..._0x319321,..._0xc344de],'undoMutations':[..._0x5ac142[_0x23e699(0x3b9)],..._0x485e13[_0x23e699(0x3b9)],..._0x328df,..._0x46efff]}),!0x0;}},_0x5e3908={'type':_0x292aa7['CommandType'][_0x106b51(0x34b)],'id':_0x106b51(0x27c),async 'handler'(_0x36762d,_0x26ae7c){const _0x12f54c=_0x106b51;if(!_0x26ae7c)return!0x1;const _0x11bcb8=_0x36762d['get'](_0x292aa7['ICommandService']),_0x1c5082=_0x36762d[_0x12f54c(0x450)](_0x9f0854['SheetsPivotRPCService']),_0x3540=_0x36762d[_0x12f54c(0x450)](_0x292aa7[_0x12f54c(0x14b)]),_0x1b2cb8=_0x36762d[_0x12f54c(0x450)](_0x292aa7['IUndoRedoService']),{pivotTableId:_0x3430a6,position:_0x4d2f16,index:_0x4ae805}=_0x26ae7c,_0x479f68=_0x4b8ea6[_0x12f54c(0x13c)](_0x3540);if(!_0x479f68)return!0x1;const {unitId:_0x439e7c,subUnitId:_0x575bfa}=_0x479f68,_0x387b28=(await _0x1c5082[_0x12f54c(0x26f)]({'unitId':_0x439e7c,'subUnitId':_0x575bfa,'pivotTableId':_0x3430a6,'params':{'type':_0x971ca5[_0x12f54c(0x3f1)],'updateValuePosition':{'position':_0x4d2f16,'index':_0x4ae805}}}))[_0x12f54c(0x310)]['updateValuePosition'];if(!_0x387b28)return!0x1;const {changesets:_0x12e25d,view:_0xbdd135,isEmpty:_0x30b3bb,pivotTableConfig:_0x4fe5bf}=_0x387b28,_0x2395b3=_0x4fe5bf['targetCellInfo'],_0x3d8cb4=new _0x4180e0[(_0x12f54c(0x2f8))]();_0x3d8cb4['formJSON'](_0xbdd135);const _0x3b5a2b=_0x36762d[_0x12f54c(0x450)](_0x9f0854[_0x12f54c(0x409)]),_0x322c31={'cellInfo':_0x2395b3,'view':_0x3d8cb4,'isEmpty':_0x30b3bb};if(!await _0x3b5a2b[_0x12f54c(0x219)][_0x12f54c(0x204)](_0x3130a8)(!0x0,_0x322c31))return!0x1;const _0x1ca77c=_0x3ec6ee(_0x36762d,_0x3d8cb4,_0x2395b3,_0x30b3bb),_0x4fb126=_0x195b29(_0x36762d,_0x322c31),{undos:_0xa1e6c5,redos:_0x4c3376}=_0x66b2a3(_0x11bcb8,{'pivotTableId':_0x3430a6,'unitId':_0x439e7c,'subUnitId':_0x575bfa},_0x12e25d);return _0x292aa7[_0x12f54c(0x2fc)]([..._0x1ca77c[_0x12f54c(0x2f4)],..._0x4fb126[_0x12f54c(0x2f4)],..._0x4c3376],_0x11bcb8),_0x1b2cb8['pushUndoRedo']({'unitID':_0x439e7c,'redoMutations':[..._0x1ca77c[_0x12f54c(0x2f4)],..._0x4fb126[_0x12f54c(0x2f4)],..._0x4c3376],'undoMutations':[..._0x1ca77c[_0x12f54c(0x3b9)],..._0x4fb126[_0x12f54c(0x3b9)],..._0xa1e6c5]}),!0x0;}},_0x40fa59={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x312),'handler':(_0x2de6cb,_0x3ea4d5)=>{const _0x48dc31=_0x106b51,_0x5adbb3=_0x2de6cb[_0x48dc31(0x450)](_0x292aa7['ICommandService']),_0x5cac88=_0x2de6cb[_0x48dc31(0x450)](_0x292aa7[_0x48dc31(0x2b6)]),_0x20f933=_0x2de6cb[_0x48dc31(0x450)](_0x9f0854[_0x48dc31(0x3a3)]),_0x5a45f0=_0x2de6cb[_0x48dc31(0x450)](_0x292aa7[_0x48dc31(0x14b)]);if(!_0x3ea4d5)return!0x1;const _0x4af8c9=_0x4b8ea6[_0x48dc31(0x13c)](_0x5a45f0);if(!_0x4af8c9)return!0x1;const {unitId:_0x577dab,subUnitId:_0x44d52f,workbook:_0x3cd816}=_0x4af8c9,_0x253305=_0x20f933[_0x48dc31(0x3bc)](_0x3ea4d5[_0x48dc31(0x360)][_0x48dc31(0x2eb)],_0x3ea4d5[_0x48dc31(0x360)]['subUnitId'],_0x3ea4d5[_0x48dc31(0x2e2)]);if(!_0x253305)return!0x1;const _0x2d7317=_0x3cd816['getSheetBySheetId'](_0x3ea4d5[_0x48dc31(0x41e)][_0x48dc31(0x402)]);if(!_0x2d7317)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x2a61a7=_0x2d7317['getRowCount'](),_0x4b55ca=_0x2d7317[_0x48dc31(0x441)]();if(_0x3ea4d5[_0x48dc31(0x41e)][_0x48dc31(0x2b8)]>_0x2a61a7||_0x3ea4d5[_0x48dc31(0x41e)][_0x48dc31(0x174)]>_0x4b55ca)throw new Error(_0x48dc31(0x42f));const _0x12f33e=[{'id':_0x3c1d9a['id'],'params':{'unitId':_0x577dab,'subUnitId':_0x3ea4d5[_0x48dc31(0x41e)][_0x48dc31(0x402)],'pivotTableId':_0x3ea4d5[_0x48dc31(0x2e2)],'targetCellPosition':{'row':_0x3ea4d5['targetCellInfo'][_0x48dc31(0x2b8)],'col':_0x3ea4d5[_0x48dc31(0x41e)][_0x48dc31(0x174)]}}}],_0x16d895=[{'id':_0x3c1d9a['id'],'params':{'unitId':_0x577dab,'subUnitId':_0x44d52f,'pivotTableId':_0x3ea4d5['pivotTableId'],'targetCellPosition':{'row':_0x253305[_0x48dc31(0x41e)][_0x48dc31(0x2b8)],'col':_0x253305['targetCellInfo'][_0x48dc31(0x174)]}}}];return _0x292aa7[_0x48dc31(0x2fc)](_0x12f33e,_0x5adbb3)&&_0x5cac88['pushUndoRedo']({'unitID':_0x577dab,'undoMutations':_0x16d895,'redoMutations':_0x12f33e}),!0x0;}},_0x14823f={'type':_0x292aa7['CommandType']['COMMAND'],'id':_0x106b51(0x36c),async 'handler'(_0x52f449,_0x4c9099){const _0x446bc3=_0x106b51;if(!_0x4c9099)return!0x1;const _0x4c2e11=_0x52f449[_0x446bc3(0x450)](_0x292aa7[_0x446bc3(0x3ff)]),{pivotTableId:_0x568cbe,fieldId:_0xfb9982,valueFilterInfo:_0x32d176,unitId:_0xa40fe4,subUnitId:_0x64388f}=_0x4c9099,_0x24ca24=_0x52f449[_0x446bc3(0x450)](_0x9f0854[_0x446bc3(0x1ec)]),_0x233c14=_0x52f449[_0x446bc3(0x450)](_0x292aa7['IUndoRedoService']),_0x5883d1=(await _0x24ca24[_0x446bc3(0x26f)]({'unitId':_0xa40fe4,'subUnitId':_0x64388f,'pivotTableId':_0x568cbe,'params':{'type':_0x971ca5[_0x446bc3(0x3db)],'setValuePivotFilter':{'tableFieldId':_0xfb9982,'filterInfo':_0x32d176}}}))['result']['setValuePivotFilter'];if(!_0x5883d1)return!0x1;const {changesets:_0x237211,pivotTableConfig:_0x3aba53,isEmpty:_0x4674a7,view:_0x37f04d}=_0x5883d1,_0xbfea75=_0x3aba53[_0x446bc3(0x41e)],_0x3e5c5c=new _0x4180e0['PivotView']();_0x3e5c5c[_0x446bc3(0x42a)](_0x37f04d);const _0x1027e5={'cellInfo':_0xbfea75,'view':_0x3e5c5c,'isEmpty':_0x4674a7};if(!await _0x52f449[_0x446bc3(0x450)](_0x9f0854['SheetsPivotTableService'])[_0x446bc3(0x219)]['fetchThroughAsyncInterceptors'](_0x3130a8)(!0x0,_0x1027e5))return!0x1;const _0x3150ac=_0x3ec6ee(_0x52f449,_0x3e5c5c,_0xbfea75,_0x4674a7),_0x3da76e=_0x195b29(_0x52f449,_0x1027e5),{undos:_0x4996c1,redos:_0x18ccdc}=_0x66b2a3(_0x4c2e11,{'pivotTableId':_0x568cbe,'unitId':_0xa40fe4,'subUnitId':_0x64388f},_0x237211);return _0x292aa7[_0x446bc3(0x2fc)]([..._0x3150ac[_0x446bc3(0x2f4)],..._0x3da76e[_0x446bc3(0x2f4)],..._0x18ccdc],_0x4c2e11),_0x233c14[_0x446bc3(0x3d2)]({'unitID':_0xa40fe4,'redoMutations':[..._0x3150ac[_0x446bc3(0x2f4)],..._0x3da76e[_0x446bc3(0x2f4)],..._0x18ccdc],'undoMutations':[..._0x3150ac[_0x446bc3(0x3b9)],..._0x3da76e[_0x446bc3(0x3b9)],..._0x4996c1]}),!0x0;}},_0x3c6c1e={'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'id':_0x106b51(0x44a),async 'handler'(_0x3bb270,_0x2cf7ef){const _0x5c07f1=_0x106b51;if(!_0x2cf7ef)return!0x1;const _0x295619=_0x3bb270[_0x5c07f1(0x450)](_0x292aa7[_0x5c07f1(0x3ff)]),_0xa644c4=_0x3bb270[_0x5c07f1(0x450)](_0x292aa7[_0x5c07f1(0x2b6)]),_0x19eb26=_0x3bb270[_0x5c07f1(0x450)](_0x9f0854[_0x5c07f1(0x1ec)]),{pivotTableConfig:_0x3bd2a5,pivotTableId:_0x572503,unitId:_0x330cd1,subUnitId:_0xe8617b}=_0x2cf7ef,_0x24311d=(await _0x19eb26['getPivotDisplayConfig']({'unitId':_0x330cd1,'subUnitId':_0xe8617b,'pivotTableId':_0x572503,'params':{'type':_0x971ca5['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x572503,'pivotTableConfig':_0x3bd2a5}}}))['result'][_0x5c07f1(0x1e9)];if(!_0x24311d)return!0x1;const {changesets:_0x584d17}=_0x24311d,{redos:_0x21b2fe,undos:_0x50fe28}=_0x66b2a3(_0x295619,{'pivotTableId':_0x572503,'unitId':_0x330cd1,'subUnitId':_0xe8617b},_0x584d17);return _0x292aa7[_0x5c07f1(0x2fc)](_0x21b2fe,_0x295619),_0xa644c4[_0x5c07f1(0x3d2)]({'unitID':_0x330cd1,'redoMutations':_0x21b2fe,'undoMutations':_0x50fe28}),!0x0;}},_0x1adb8e={'type':_0x292aa7[_0x106b51(0x183)]['COMMAND'],'id':_0x106b51(0x1cd),async 'handler'(_0x4f36d2,_0x57f238){const _0x39488d=_0x106b51;if(!_0x57f238)return!0x1;const _0x28d145=_0x4f36d2[_0x39488d(0x450)](_0x292aa7[_0x39488d(0x3ff)]),_0x513bca=_0x4f36d2['get'](_0x292aa7['IUndoRedoService']),_0x1dedcb=_0x4f36d2[_0x39488d(0x450)](_0x9f0854['SheetsPivotRPCService']),{resetArea:_0x5c9df4,pivotTableId:_0x1dcbd1,unitId:_0x59f530,subUnitId:_0x21ddc1}=_0x57f238,_0x5cbbde=(await _0x1dedcb[_0x39488d(0x26f)]({'unitId':_0x59f530,'subUnitId':_0x21ddc1,'pivotTableId':_0x1dcbd1,'params':{'type':_0x971ca5[_0x39488d(0x42c)],'resetPivotTable':{'pivotTableId':_0x1dcbd1,'resetArea':_0x5c9df4}}}))['result']['resetPivotTable'];if(!_0x5cbbde)return!0x1;const {changesets:_0x1cf13c}=_0x5cbbde,{redos:_0x2db20e,undos:_0x89654}=_0x66b2a3(_0x28d145,{'pivotTableId':_0x1dcbd1,'unitId':_0x59f530,'subUnitId':_0x21ddc1},_0x1cf13c);return _0x292aa7[_0x39488d(0x2fc)](_0x2db20e,_0x28d145),_0x513bca[_0x39488d(0x3d2)]({'unitID':_0x59f530,'redoMutations':_0x2db20e,'undoMutations':_0x89654}),!0x0;}},_0x5262c2={'id':_0x106b51(0x37c),'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x2b9)],'handler':(_0x308bc6,_0x47bb51)=>{const _0xb79dfc=_0x106b51;if(!_0x47bb51)return!0x1;if(!!_0x308bc6[_0xb79dfc(0x450)](_0x292aa7[_0xb79dfc(0x36b)])[_0xb79dfc(0x32e)](_0xf8d0df))return!0x0;const {unitId:_0x21181a,subUnitId:_0xed2f66,pivotTableId:_0x494fa7,tableFieldId:_0x361a69,dateType:_0x25057f}=_0x47bb51,_0x389894=_0x308bc6[_0xb79dfc(0x450)](_0x9f0854[_0xb79dfc(0x1f2)]),_0x37395d=_0x389894['getPivotTableInstance'](_0x494fa7);if(!_0x37395d)return!0x1;const _0x3cc12c=_0x37395d[_0xb79dfc(0x1f3)](_0x361a69);if(!_0x3cc12c)return!0x1;const _0x3c908f=_0x3cc12c[_0xb79dfc(0x257)](),_0x59599d=_0x37395d[_0xb79dfc(0x18a)](_0x3c908f),_0x5d467a=(_0x59599d==null?void 0x0:_0x59599d[_0xb79dfc(0x244)]())+'\x20'+_0x49fb40(_0x308bc6,_0x25057f);_0x389894[_0xb79dfc(0x2d0)](_0x21181a,_0x494fa7)['setDisplayName'](_0x3cc12c['id'],_0x5d467a);const _0x1c6920=_0x37395d[_0xb79dfc(0x383)](_0x361a69);if(!_0x1c6920)return!0x1;_0x37395d[_0xb79dfc(0x339)](_0x1c6920[_0xb79dfc(0x205)](),_0x5d467a),_0x3cc12c['setDateType'](_0x25057f);const _0x271a6f=_0x389894[_0xb79dfc(0x3bc)](_0x21181a,_0xed2f66,_0x494fa7);return _0x389894[_0xb79dfc(0x213)]({'unitId':_0x21181a,'subUnitId':_0xed2f66,'token':_0x494fa7,'type':_0x3fdebd[_0xb79dfc(0x1ee)],'pivotConfig':_0x271a6f}),!0x0;}},_0x27dacb={'id':_0x106b51(0x28b),'type':_0x292aa7[_0x106b51(0x183)][_0x106b51(0x34b)],'handler':(_0x30eb2a,_0x47e374)=>{const _0x32f71e=_0x106b51;if(!_0x47e374)return!0x1;const _0x4f9743=_0x30eb2a[_0x32f71e(0x450)](_0x292aa7[_0x32f71e(0x2b6)]),{unitId:_0x43e595,subUnitId:_0x1c37aa,pivotTableId:_0x486b46,tableFieldId:_0x432190}=_0x47e374,_0x36253b=[],_0x3b40ea=[],_0x3616b3=_0x30eb2a[_0x32f71e(0x450)](_0x9f0854[_0x32f71e(0x3a3)]),_0x3a163c=_0x3616b3[_0x32f71e(0x2d0)](_0x43e595,_0x486b46),_0x4c8a2e=_0x3616b3[_0x32f71e(0x3bc)](_0x43e595,_0x1c37aa,_0x486b46);if(!(_0x4c8a2e!=null&&_0x4c8a2e[_0x32f71e(0x162)][_0x32f71e(0x2ab)]))return!0x1;const _0xe11c8b=Object['values'](_0x4c8a2e[_0x32f71e(0x162)][_0x32f71e(0x2ab)])[_0x32f71e(0x1ff)](_0x392245=>_0x392245['id']===_0x432190);if(!_0xe11c8b)return!0x1;const _0x40cabe=_0xe11c8b[_0x32f71e(0x452)];if(!(_0x3a163c!=null&&_0x3a163c['fields']))return!0x1;const _0x3df36a=Object['values'](_0x3a163c==null?void 0x0:_0x3a163c[_0x32f71e(0x406)])['find'](_0x3b0061=>_0x3b0061['id']===_0x40cabe);if(!_0x3df36a)return!0x1;_0x4180e0[_0x32f71e(0x378)](_0x3df36a)&&_0x36253b['push']({'id':_0x5262c2['id'],'params':{..._0x47e374,'dateType':_0x3df36a[_0x32f71e(0x3b1)]}}),_0x3b40ea[_0x32f71e(0x3a9)]({'id':_0x5262c2['id'],'params':{..._0x47e374}});const _0x5ddd4a=_0x30eb2a[_0x32f71e(0x450)](_0x292aa7[_0x32f71e(0x3ff)]);return _0x292aa7['sequenceExecute'](_0x3b40ea,_0x5ddd4a)&&_0x4f9743[_0x32f71e(0x3d2)]({'unitID':_0x43e595,'undoMutations':_0x36253b,'redoMutations':_0x3b40ea}),!0x0;}};var _0x4dba18=Object[_0x106b51(0x35b)],_0xbd3a61=(_0xd626f,_0x52065c,_0x15db70,_0x22750b)=>{const _0x176f23=_0x106b51;for(var _0x2b1de4=_0x22750b>0x1?void 0x0:_0x22750b?_0x4dba18(_0x52065c,_0x15db70):_0x52065c,_0x4ef4c1=_0xd626f[_0x176f23(0x316)]-0x1,_0x55bf5b;_0x4ef4c1>=0x0;_0x4ef4c1--)(_0x55bf5b=_0xd626f[_0x4ef4c1])&&(_0x2b1de4=_0x55bf5b(_0x2b1de4)||_0x2b1de4);return _0x2b1de4;},_0x3dd0ed=(_0x378f95,_0x97a39f)=>(_0xba1cd8,_0x3c412f)=>_0x97a39f(_0xba1cd8,_0x3c412f,_0x378f95);const _0x5e23af=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x1661b4=(_0x246a31,_0x6ca13e,_0x12c873)=>{const _0x21170f=_0x106b51,_0x32900b=_0x246a31[_0x21170f(0x1af)];_0x246a31[_0x21170f(0x2e7)](_0x10adf1=>{const _0x4a3e00=_0x21170f,_0x1e8451=_0x10adf1[_0x4a3e00(0x205)](),_0xf2639d=_0x10adf1['getDataFieldId'](),_0x238e9f=_0x10adf1[_0x4a3e00(0x15a)](),_0x3bc704=_0x10adf1[_0x4a3e00(0x313)]();_0x6ca13e[_0xf2639d]&&_0x6ca13e[_0xf2639d]===_0x3bc704&&_0x238e9f===_0x3bc704&&(_0x246a31[_0x4a3e00(0x339)](_0x1e8451,_0x32900b['getDisplayName'](_0xf2639d)),_0x10adf1[_0x4a3e00(0x166)](_0x32900b[_0x4a3e00(0x313)](_0xf2639d)));}),_0x246a31[_0x21170f(0x236)](_0x4180e0[_0x21170f(0x368)][_0x21170f(0x3f2)],_0x57d49d=>{const _0x1ccaa2=_0x21170f,_0x296e0e=_0x57d49d[_0x1ccaa2(0x205)](),_0x54bda7=_0x57d49d['getDataFieldId'](),_0x4e7940=_0x57d49d['getSourceName'](),_0xb6ee8a=_0x57d49d[_0x1ccaa2(0x313)](),_0x33036c=_0x57d49d[_0x1ccaa2(0x20b)](),_0x39f000=_0x12c873(_0x4e7940,_0x33036c);_0x6ca13e[_0x54bda7]&&_0x6ca13e[_0x54bda7]===_0x4e7940&&_0x39f000===_0xb6ee8a&&(_0x246a31['renameField'](_0x296e0e,_0x12c873(_0x32900b['getDisplayName'](_0x54bda7),_0x33036c)),_0x57d49d[_0x1ccaa2(0x166)](_0x32900b[_0x1ccaa2(0x313)](_0x54bda7)));});},_0x11e798=(_0x277d00,_0x411f51,_0x33f238)=>{const _0x31c9a3=_0x106b51;var _0x489bac,_0x11a325;const {arrayFormulaCellData:_0x5af7de,unitData:_0x40f4e4}=_0x411f51,{unitId:_0x479b5e,subUnitId:_0x295582}=_0x33f238,_0x4fa9ca=_0x33f238['range'],{startColumn:_0x46c25f,endColumn:_0x2f932f}=_0x4fa9ca,_0x4eb704=(_0x489bac=_0x5af7de==null?void 0x0:_0x5af7de[_0x479b5e])==null?void 0x0:_0x489bac[_0x295582],_0x261935=(_0x11a325=_0x40f4e4==null?void 0x0:_0x40f4e4[_0x479b5e])==null?void 0x0:_0x11a325[_0x295582],_0x276c94=new Set(),_0x52883e=_0x2f932f-_0x46c25f+0x1,{dirtyRanges:_0x37ef16}=_0x277d00;if(_0x37ef16)for(const {range:_0x169e3f,sheetId:_0x336d3a,unitId:_0x4d16c1}of _0x37ef16){if(_0x336d3a!==_0x295582||_0x479b5e!==_0x4d16c1)continue;const _0xb3a901=_0x292aa7['Rectangle'][_0x31c9a3(0x283)](_0x169e3f,_0x4fa9ca);if(_0xb3a901){const {startColumn:_0x2be097,endColumn:_0x4d8d07}=_0xb3a901;for(let _0x231def=_0x2be097;_0x231def<=_0x4d8d07;_0x231def++)_0x276c94[_0x31c9a3(0x1e6)](_0x231def);}}if(_0x276c94[_0x31c9a3(0x390)]===_0x52883e||_0x276c94[_0x31c9a3(0x390)]===_0x52883e)return Array[_0x31c9a3(0x355)](_0x276c94);if(_0x261935){const _0x442b91=_0x261935[_0x31c9a3(0x365)](),_0x45da09=Object[_0x31c9a3(0x1de)](_0x442b91);for(const _0x49c547 of _0x45da09){const _0x390241=Number(_0x49c547),_0x5d9ce5=_0x442b91[_0x390241];if(_0x276c94[_0x31c9a3(0x390)]===_0x52883e)break;for(const _0x5a9d23 in _0x5d9ce5){const _0x2fcb5a=Number(_0x5a9d23);_0x2fcb5a<_0x46c25f||_0x2fcb5a>_0x2f932f||_0x276c94[_0x31c9a3(0x1e6)](_0x2fcb5a);}}}if(_0x4eb704){const _0x36b06e=_0x4eb704[_0x31c9a3(0x365)](),_0x4307de=Object[_0x31c9a3(0x1de)](_0x36b06e);for(const _0x149c37 of _0x4307de){const _0x355433=Number(_0x149c37),_0x4019d3=_0x36b06e[_0x355433];if(_0x276c94[_0x31c9a3(0x390)]===_0x52883e)break;for(const _0x201bc2 in _0x4019d3){const _0x32fbdd=Number(_0x201bc2);_0x32fbdd<_0x46c25f||_0x32fbdd>_0x2f932f||_0x276c94['add'](_0x32fbdd);}}}return Array['from'](_0x276c94);},_0x1d9a06=_0x3bf432=>{const _0xe446cf=_0x106b51,_0x52f753=new Set(),_0x2d875f=[];for(const _0x5dd931 of _0x3bf432){const _0x42a759=_0x5dd931[_0xe446cf(0x22d)]+','+_0x5dd931[_0xe446cf(0x29f)]+','+_0x5dd931[_0xe446cf(0x40c)]+','+_0x5dd931[_0xe446cf(0x42e)];_0x52f753[_0xe446cf(0x39c)](_0x42a759)||(_0x52f753['add'](_0x42a759),_0x2d875f['push'](_0x5dd931));}return _0x2d875f;};let _0x618f83=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x4d1a39,_0x154942,_0xbae946,_0x208d15,_0x49cd7b){const _0x35a9af=_0x106b51;super(),_0x4ac1dd(this,_0x35a9af(0x31c),new _0x3bf6b2['BehaviorSubject'](!0x0)),_0x4ac1dd(this,'_globalComputedStartHelpFunc',_0x507922=>{const _0x5c816a=_0x35a9af;this['_globalSubject'][_0x5c816a(0x421)](!0x1);}),_0x4ac1dd(this,'_globalComputedEndHelpFunc',_0x34ef11=>{const _0x20166e=_0x35a9af;this[_0x20166e(0x31c)][_0x20166e(0x421)](!0x0);}),(this[_0x35a9af(0x2bf)]=_0x4d1a39,this[_0x35a9af(0x1b9)]=_0x154942,this['_commandService']=_0xbae946,this[_0x35a9af(0x38a)]=_0x208d15,this['_injector']=_0x49cd7b,this['_init'](),this[_0x35a9af(0x1d2)]());}['_init'](){const _0x22fcd0=_0x106b51;this[_0x22fcd0(0x435)](),this[_0x22fcd0(0x29e)](),this['_initPivotTextInfo'](),this[_0x22fcd0(0x456)]();}[_0x106b51(0x231)](){const _0x5cc1ee=_0x106b51;this[_0x5cc1ee(0x38a)][_0x5cc1ee(0x1c9)](this[_0x5cc1ee(0x31c)]),_0x4180e0['PivotTable'][_0x5cc1ee(0x3a0)](_0x4180e0[_0x5cc1ee(0x448)][_0x5cc1ee(0x178)],this['_globalComputedStartHelpFunc']),_0x4180e0[_0x5cc1ee(0x3b4)][_0x5cc1ee(0x3a0)](_0x4180e0[_0x5cc1ee(0x448)][_0x5cc1ee(0x2a1)],this[_0x5cc1ee(0x164)]);}[_0x106b51(0x1d2)](){const _0x6825af=_0x106b51;this[_0x6825af(0x2df)](this[_0x6825af(0x264)][_0x6825af(0x428)](_0x8eda84=>{const _0x5507a1=_0x6825af;_0x8eda84['id']===_0x4b8ea6[_0x5507a1(0x1f7)]['id']&&this['_sheetsPivotDataSourceModel'][_0x5507a1(0x13d)](_0x8eda84[_0x5507a1(0x1df)]);})),this[_0x6825af(0x2df)](this[_0x6825af(0x264)]['onCommandExecuted'](_0x56a993=>{const _0x3c77a5=_0x6825af;if(_0x56a993['id']!==_0x21ca76['id'])return;const _0x2f769c=_0x56a993[_0x3c77a5(0x1df)],{unitId:_0x32e1bd,subUnitId:_0x5bae90,pivotTableId:_0x5e76dc}=_0x2f769c,_0x27a113=_0x2f769c[_0x3c77a5(0x1df)]['type'],_0x5f917c={};switch(_0x27a113){case _0x971ca5[_0x3c77a5(0x2db)]:{const _0x1e3f95=_0x2f769c['params'][_0x3c77a5(0x36a)];if(!_0x1e3f95)return;const {row:_0x4fb6ce,col:_0x1a7309,cellData:_0x37fff7,pivotItemRenderInfoCache:_0x5ea4eb,tableFieldId:_0x94ef80}=_0x1e3f95,_0x1069dc=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x303)](_0x2f769c['pivotTableId']);if(!_0x1069dc||!_0x5ea4eb)return;if(_0x94ef80){const _0x5643fb=_0x1069dc[_0x3c77a5(0x1f3)](_0x94ef80);if(!_0x5643fb)return;_0x5f917c[_0x3c77a5(0x36a)]={..._0x1069dc[_0x3c77a5(0x388)](_0x5643fb),'tableFieldId':_0x94ef80,'pivotTableId':_0x2f769c[_0x3c77a5(0x2e2)],'filterInfo':_0x1069dc[_0x3c77a5(0x438)](_0x94ef80),'sortInfo':_0x1069dc[_0x3c77a5(0x276)](_0x94ef80),'format':_0x1069dc[_0x3c77a5(0x419)](_0x94ef80)};}else{const _0x5051cb=_0x5e5f05(_0x4fb6ce,_0x1a7309,_0x37fff7,_0x1069dc,_0x5ea4eb),_0x3e4813=_0x5051cb==null?void 0x0:_0x5051cb['filterId'];if(!_0x3e4813)return;const _0xae321e=_0x1069dc[_0x3c77a5(0x1f3)](_0x3e4813);if(!_0xae321e)return;_0x5f917c[_0x3c77a5(0x36a)]={..._0x1069dc[_0x3c77a5(0x388)](_0xae321e),'tableFieldId':_0x3e4813,'pivotTableId':_0x2f769c[_0x3c77a5(0x2e2)],'filterInfo':_0x1069dc[_0x3c77a5(0x438)](_0x3e4813),'sortInfo':_0x1069dc[_0x3c77a5(0x276)](_0x3e4813),'format':_0x1069dc[_0x3c77a5(0x419)](_0x3e4813)};}}break;case _0x971ca5[_0x3c77a5(0x153)]:{const _0xad98f=_0x2f769c[_0x3c77a5(0x1df)]['panel'];if(!_0xad98f)return;const {pivotTableId:_0x1f9871}=_0xad98f,_0x287776=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x303)](_0x1f9871);if(!_0x287776)return;const _0x4ee72a=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x1f9871),_0x459cd2=_0x520d9d(_0x287776,_0x1f9871,_0x4ee72a);_0x5f917c['panel']=_0x459cd2;}break;case _0x971ca5[_0x3c77a5(0x396)]:{const _0x534381=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x303)](_0x5e76dc),_0x7e7f3=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x252)](_0x32e1bd),_0x478fb4=_0x7e7f3[_0x3c77a5(0x2d0)](_0x5e76dc);let _0x567e06=null;const _0x2c333b=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc),_0x5f1e48=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x13a)];if(!_0x534381||!_0x2c333b||!_0x5f1e48)return!0x1;const {dataFieldId:_0x3022ec,fieldArea:_0x595d63,index:_0x3e7d98}=_0x5f1e48;_0x534381[_0x3c77a5(0x3b3)]();const _0x3b0d2b=_0x534381[_0x3c77a5(0x23c)](_0x3022ec,_0x595d63,_0x3e7d98);if(_0x3b0d2b&&_0x595d63===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3f2)]){const _0x54d9b=_0x3b0d2b[_0x3c77a5(0x205)](),_0x5b1a02=_0x534381[_0x3c77a5(0x1f3)](_0x54d9b);if(_0x5b1a02){const _0xe5a56d=_0x5b1a02==null?void 0x0:_0x5b1a02[_0x3c77a5(0x2f5)]();_0x534381[_0x3c77a5(0x3a8)](_0x3b0d2b[_0x3c77a5(0x205)](),_0xe5a56d===_0x4180e0[_0x3c77a5(0x2c5)][_0x3c77a5(0x3c3)]?_0x4180e0[_0x3c77a5(0x2d6)][_0x3c77a5(0x3fe)]:_0x4180e0[_0x3c77a5(0x2d6)]['count']);}const _0x479f06=_0x534381[_0x3c77a5(0x188)](),_0x463b39=_0x534381['getValuePosition'](),_0x32d27a=_0x534381[_0x3c77a5(0x372)](_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3f2)]);if(_0x479f06===-0x1&&_0x32d27a>0x1){const _0x25842c=_0x463b39===_0x4180e0[_0x3c77a5(0x423)]['None']?_0x4180e0[_0x3c77a5(0x423)][_0x3c77a5(0x385)]:_0x463b39,_0x58be95=_0x25842c===_0x4180e0[_0x3c77a5(0x423)][_0x3c77a5(0x3cf)]?_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3cf)]:_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x385)];_0x534381[_0x3c77a5(0x182)](_0x25842c,_0x534381[_0x3c77a5(0x372)](_0x58be95));}}else{if(_0x3b0d2b&&(_0x595d63===_0x4180e0['PivotTableFiledAreaEnum'][_0x3c77a5(0x3cf)]||_0x595d63===_0x4180e0['PivotTableFiledAreaEnum'][_0x3c77a5(0x385)])){const _0x11dd77=_0x3b0d2b['getId'](),_0x5b3572=_0x534381[_0x3c77a5(0x1f3)](_0x11dd77);if(_0x5b3572&&(_0x5b3572==null?void 0x0:_0x5b3572[_0x3c77a5(0x2f5)]())===_0x4180e0[_0x3c77a5(0x2c5)][_0x3c77a5(0x168)]){const _0x2b36bb=_0x5b3572[_0x3c77a5(0x2fe)]();if(_0x2b36bb&&_0x534381[_0x3c77a5(0x180)](_0x3b0d2b[_0x3c77a5(0x205)](),_0x2b36bb),!_0x478fb4['getFieldIds']()['some'](_0xd00523=>{const _0x1f8b0e=_0x3c77a5,_0x4cfef5=_0x478fb4[_0x1f8b0e(0x18d)](_0xd00523);return _0x4180e0[_0x1f8b0e(0x40b)](_0x4cfef5)?_0x4cfef5[_0x1f8b0e(0x2e1)]()[_0x1f8b0e(0x142)]===_0x3022ec:!0x1;})){const _0x37d482=_0x7e7f3[_0x3c77a5(0x1d5)](),_0x1de5be=_0x183b69(_0x5b3572[_0x3c77a5(0x1fb)],_0x5b3572[_0x3c77a5(0x30d)]),_0x5a73b1=_0x5b3572[_0x3c77a5(0x244)]()+_0x3c77a5(0x26e)+_0x49fb40(this[_0x3c77a5(0x1cc)],_0x1de5be),_0x39d522=new _0x4180e0[(_0x3c77a5(0x2ae))](_0x37d482,_0x5a73b1,_0x4180e0[_0x3c77a5(0x40e)](0x3),_0x5b3572[_0x3c77a5(0x205)](),_0x1de5be);_0x7e7f3[_0x3c77a5(0x1f8)](_0x39d522),_0x478fb4['addField'](_0x37d482,_0x5a73b1),_0x534381['addFieldWithSourceId'](_0x37d482,_0x595d63,(_0x3e7d98!=null?_0x3e7d98:0x0)+0x1),_0x567e06=_0x39d522;}}}}const _0x52c4e4=_0x534381[_0x3c77a5(0x374)](),_0x1504d0=_0x534381[_0x3c77a5(0x1a2)]()[_0x3c77a5(0x35c)]();let _0x1e8f60;if(_0x567e06){_0x1e8f60=_0x567e06['toJSON']();const _0x3b7259=_0x567e06['getId']();_0x478fb4['deleteField'](_0x3b7259);let _0x25caaa=!0x0;for(const _0x2ac618 in _0x7e7f3[_0x3c77a5(0x38f)])if(_0x7e7f3[_0x3c77a5(0x38f)][_0x2ac618][_0x3c77a5(0x1a3)]()[_0x3c77a5(0x201)](_0x3b7259)){_0x25caaa=!0x1;break;}_0x25caaa&&_0x7e7f3[_0x3c77a5(0x442)](_0x3b7259);}const _0x2f3838=_0x534381['endCollectChangeset']();_0x5f917c[_0x3c77a5(0x13a)]={'view':_0x1504d0,'changesets':_0x2f3838,'isEmpty':_0x52c4e4,'pivotTableConfig':_0x2c333b,'shouldBeAddedGroupJSON':_0x1e8f60};}break;case _0x971ca5[_0x3c77a5(0x439)]:{const _0x4bc733=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x222)];if(!_0x4bc733)return;const _0x37c045=_0x4bc733[_0x3c77a5(0x292)],_0x49addc=_0x4bc733[_0x3c77a5(0x2e2)],{collection:_0x337aa0}=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x2bc)]({'unitId':_0x37c045[_0x3c77a5(0x2eb)],'sheetName':_0x37c045[_0x3c77a5(0x3c2)],'subUnitId':_0x37c045[_0x3c77a5(0x402)],'range':_0x37c045[_0x3c77a5(0x407)]}),_0x3ac7ed=new _0x4180e0[(_0x3c77a5(0x3b4))](_0x337aa0,void 0x0,_0x49addc),_0x265f3f=_0x3ac7ed[_0x3c77a5(0x1a2)](),_0x394c9a=_0x3ac7ed[_0x3c77a5(0x35c)](),_0x18b806=_0x337aa0['toJSON']();_0x5f917c[_0x3c77a5(0x222)]={'view':_0x265f3f,'fieldsConfig':_0x394c9a,'collectionConfig':_0x18b806,'isEmpty':_0x3ac7ed[_0x3c77a5(0x374)]()};}break;case _0x971ca5[_0x3c77a5(0x1e7)]:{const _0x28abc5=_0x2f769c['params'][_0x3c77a5(0x194)];if(!_0x28abc5)return;const {fieldId:_0xd60b62,area:_0x544036,index:_0x145682}=_0x28abc5,_0x25acb1=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x25acb1)return;const _0x506d15=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x303)](_0x5e76dc);if(!_0x506d15)return;_0x506d15[_0x3c77a5(0x3b3)]();const {area:_0x39ca1f,index:_0xfca07e}=_0x506d15['getFieldPositionInfoById'](_0xd60b62);if(_0x506d15[_0x3c77a5(0x274)](_0xd60b62,_0x544036,_0x145682),_0x544036===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3f2)]&&_0x506d15[_0x3c77a5(0x383)](_0xd60b62)['getSubtotal']()===void 0x0){const _0x4e00fe=_0x506d15['getTableFieldById'](_0xd60b62);if(_0x4e00fe&&_0x4e00fe[_0x3c77a5(0x20b)]()===void 0x0){const _0x3524f9=_0x506d15['getDataFieldByTableId'](_0xd60b62);if(_0x3524f9){const _0x25c074=_0x3524f9==null?void 0x0:_0x3524f9['getFieldDataType']();_0x506d15['setSubtotalType'](_0xd60b62,_0x25c074===_0x4180e0[_0x3c77a5(0x2c5)][_0x3c77a5(0x3c3)]?_0x4180e0[_0x3c77a5(0x2d6)]['sum']:_0x4180e0[_0x3c77a5(0x2d6)][_0x3c77a5(0x43b)]);}}}const _0x19f066=_0x506d15[_0x3c77a5(0x3a7)](),_0x36e0b9=_0x506d15[_0x3c77a5(0x188)](),_0x4ae6b0=_0x506d15[_0x3c77a5(0x372)](_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3f2)])>0x1;if(_0x4ae6b0&&_0x39ca1f===_0x544036&&(_0x544036===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3cf)]&&_0x19f066===_0x4180e0[_0x3c77a5(0x423)]['Row']||_0x544036===_0x4180e0['PivotTableFiledAreaEnum'][_0x3c77a5(0x385)]&&_0x19f066===_0x4180e0[_0x3c77a5(0x423)][_0x3c77a5(0x385)])){let _0x4966f6=_0x36e0b9;_0xfca07e<=_0x36e0b9&&_0x4966f6--,_0x145682<=_0x36e0b9&&_0x4966f6++,_0x506d15[_0x3c77a5(0x182)](_0x19f066,_0x4966f6);}else _0x4ae6b0&&(_0x39ca1f===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3cf)]&&_0x19f066===_0x4180e0[_0x3c77a5(0x423)][_0x3c77a5(0x3cf)]||_0x39ca1f===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x385)]&&_0x19f066===_0x4180e0['PivotTableValuePositionEnum'][_0x3c77a5(0x385)])&&_0x36e0b9>=_0xfca07e&&_0x506d15[_0x3c77a5(0x182)](_0x19f066,_0x36e0b9-0x1),_0x4ae6b0&&(_0x544036===_0x4180e0['PivotTableFiledAreaEnum'][_0x3c77a5(0x3cf)]&&_0x19f066===_0x4180e0[_0x3c77a5(0x423)][_0x3c77a5(0x3cf)]||_0x544036===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x385)]&&_0x19f066===_0x4180e0[_0x3c77a5(0x423)][_0x3c77a5(0x385)])&&_0x36e0b9>=_0x145682&&_0x506d15['updateValuePosition'](_0x19f066,_0x36e0b9+0x1);const _0x3ccae6=_0x506d15[_0x3c77a5(0x1a2)](),_0x5d16ec=_0x506d15[_0x3c77a5(0x374)](),_0x5d62b3=_0x506d15[_0x3c77a5(0x2cf)]();_0x5f917c[_0x3c77a5(0x194)]={'view':_0x3ccae6[_0x3c77a5(0x35c)](),'changesets':_0x5d62b3,'isEmpty':_0x5d16ec,'pivotTableConfig':_0x25acb1};}break;case _0x971ca5[_0x3c77a5(0x1d3)]:{const _0x237f25=_0x2f769c[_0x3c77a5(0x1df)]['removePivotField'];if(!_0x237f25)return;const _0x49918a=_0x237f25['fieldIds'],_0x35b1b2=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x35b1b2)return!0x1;const _0x48c8a1=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x303)](_0x5e76dc);if(!_0x48c8a1)return!0x1;_0x48c8a1['startCollectChangeset']();for(const _0x10ec8c of _0x49918a){const {area:_0x12bc24}=_0x48c8a1[_0x3c77a5(0x369)](_0x10ec8c);_0x12bc24===_0x4180e0['PivotTableFiledAreaEnum'][_0x3c77a5(0x3f2)]&&_0x48c8a1[_0x3c77a5(0x1cf)](_0x10ec8c),(_0x12bc24===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3cf)]||_0x12bc24===_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x385)])&&_0x48c8a1['removeValueFilterInfo'](_0x10ec8c),_0x48c8a1['removeField'](_0x10ec8c);}const _0x38cddd=_0x48c8a1[_0x3c77a5(0x374)](),_0x823f3a=_0x48c8a1[_0x3c77a5(0x1a2)]()[_0x3c77a5(0x35c)](),_0x508a09=_0x48c8a1[_0x3c77a5(0x2cf)]();_0x5f917c[_0x3c77a5(0x296)]={'changesets':_0x508a09,'pivotTableConfig':_0x35b1b2,'isEmpty':_0x38cddd,'view':_0x823f3a};}break;case _0x971ca5[_0x3c77a5(0x13b)]:{const _0x559e63=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x394)];if(!_0x559e63)return;const {tableFieldId:_0x12dd14,items:_0x2c3251,isAll:_0xb0e39b}=_0x559e63,_0x516b66=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x303)](_0x5e76dc),_0x487ab2=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x516b66||!_0x487ab2)return;_0x516b66[_0x3c77a5(0x3b3)](),_0x516b66[_0x3c77a5(0x2c6)](_0x12dd14,{'type':_0x4180e0[_0x3c77a5(0x206)]['ManualFilter'],'list':_0x2c3251,'isAll':_0xb0e39b});const _0x27960a=_0x516b66[_0x3c77a5(0x374)](),_0x49a6b0=_0x516b66[_0x3c77a5(0x1a2)]()[_0x3c77a5(0x35c)](),_0x48abcc=_0x516b66[_0x3c77a5(0x2cf)]();_0x5f917c['setPivotFilter']={'view':_0x49a6b0,'changesets':_0x48abcc,'isEmpty':_0x27960a,'pivotTableConfig':_0x487ab2};}break;case _0x971ca5[_0x3c77a5(0x3db)]:{const _0x9f2937=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x2aa)];if(!_0x9f2937)return;const {tableFieldId:_0x5cca93,filterInfo:_0x52e9ee}=_0x9f2937,_0x36389e=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x5e76dc),_0x5a51be=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x36389e||!_0x5a51be)return;_0x36389e[_0x3c77a5(0x3b3)](),_0x36389e['setValueFilterInfo'](_0x5cca93,_0x52e9ee);const _0x45433a=_0x36389e['isEmpty'](),_0x6c4154=_0x36389e[_0x3c77a5(0x1a2)]()[_0x3c77a5(0x35c)](),_0x8af3ab=_0x36389e[_0x3c77a5(0x2cf)]();_0x5f917c['setValuePivotFilter']={'view':_0x6c4154,'changesets':_0x8af3ab,'isEmpty':_0x45433a,'pivotTableConfig':_0x5a51be};}break;case _0x971ca5[_0x3c77a5(0x35e)]:{const _0x15e2ea=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x31a)];if(!_0x15e2ea)return;const {tableFieldId:_0xdd83b,info:_0x334619}=_0x15e2ea,_0x563965=this[_0x3c77a5(0x2bf)]['getPivotTableInstance'](_0x5e76dc),_0x10c2de=this[_0x3c77a5(0x2bf)]['getPivotTableConfig'](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x563965||!_0x10c2de)return;_0x563965[_0x3c77a5(0x3b3)](),_0x563965[_0x3c77a5(0x1c2)](_0xdd83b,_0x334619);const _0x11bf41=_0x563965[_0x3c77a5(0x374)](),_0x86ee3=_0x563965[_0x3c77a5(0x1a2)]()[_0x3c77a5(0x35c)](),_0x3bb137=_0x563965['endCollectChangeset']();_0x5f917c['setPivotSort']={'view':_0x86ee3,'changesets':_0x3bb137,'isEmpty':_0x11bf41,'pivotTableConfig':_0x10c2de};}break;case _0x971ca5[_0x3c77a5(0x384)]:{const _0x43edbe=_0x2f769c[_0x3c77a5(0x1df)]['setPivotSetting'];if(!_0x43edbe)return;const {tableFieldId:_0x207b7d,displayName:_0x40a1c9,subtotalType:_0x1940b4,format:_0x5afb47}=_0x43edbe,_0x20bfbf=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x303)](_0x5e76dc),_0x491c85=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x20bfbf||!_0x491c85)return;_0x20bfbf['startCollectChangeset'](),_0x40a1c9!==void 0x0&&_0x20bfbf[_0x3c77a5(0x339)](_0x207b7d,_0x40a1c9),_0x1940b4!==void 0x0&&_0x20bfbf[_0x3c77a5(0x3a8)](_0x207b7d,_0x1940b4),_0x5afb47!==void 0x0&&_0x20bfbf[_0x3c77a5(0x180)](_0x207b7d,_0x5afb47);const _0x1f3c5c=_0x20bfbf[_0x3c77a5(0x374)](),_0x38c6ce=_0x20bfbf[_0x3c77a5(0x1a2)]()['toJSON'](),_0x1785f9=_0x20bfbf[_0x3c77a5(0x2cf)]();_0x5f917c['setPivotSetting']={'changesets':_0x1785f9,'pivotTableConfig':_0x491c85,'isEmpty':_0x1f3c5c,'view':_0x38c6ce};}break;case _0x971ca5[_0x3c77a5(0x32d)]:{const _0x242015=_0x2f769c['params'][_0x3c77a5(0x429)];if(!_0x242015)return;const {dataRangeInfo:_0x3eaef4,unitId:_0x3dd5aa,subUnitId:_0x404690}=_0x242015,_0x22a228=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x3bc)](_0x3dd5aa,_0x404690,_0x5e76dc),_0x1a76f5=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x303)](_0x5e76dc);if(!this[_0x3c77a5(0x2bf)][_0x3c77a5(0x2d0)](_0x3dd5aa,_0x5e76dc)||!_0x1a76f5||!_0x22a228)return;const _0x442e8c=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x148)](_0x3dd5aa,_0x5e76dc,_0x3eaef4),_0x38ecfe=this[_0x3c77a5(0x2bf)]['getCollection'](_0x3dd5aa,_0x5e76dc)['toJSON'](),{collection:_0x1a9650}=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x2bc)]({'unitId':_0x3eaef4[_0x3c77a5(0x2eb)],'sheetName':_0x3eaef4['sheetName'],'subUnitId':_0x3eaef4['subUnitId'],'range':_0x3eaef4[_0x3c77a5(0x407)]}),_0x27ebfb=_0x1a9650[_0x3c77a5(0x35c)]();_0x1a76f5[_0x3c77a5(0x3b3)]();const _0x5c6869=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x252)](_0x3dd5aa)[_0x3c77a5(0x1ae)]()||_0x4180e0[_0x3c77a5(0x449)];_0x1a76f5['iterateField'](_0x3dff19=>{const _0xc9c0ed=_0x3c77a5,_0x5e20f9=_0x3dff19[_0xc9c0ed(0x345)]();if(!_0x1a9650[_0xc9c0ed(0x3c8)](_0x5e20f9)){const _0x486f7d=_0x1a9650['getDataFieldBySourceName'](_0x3dff19[_0xc9c0ed(0x15a)]());if(_0x486f7d){_0x1a76f5[_0xc9c0ed(0x420)](_0x3dff19['getId'](),_0x486f7d['getName'](),_0x486f7d[_0xc9c0ed(0x205)]());const {area:_0x14e3a5}=_0x1a76f5[_0xc9c0ed(0x369)](_0x3dff19[_0xc9c0ed(0x205)]());let _0x4fc856=_0x3dff19[_0xc9c0ed(0x15a)]();const _0x5c4d30=_0x3dff19[_0xc9c0ed(0x313)]();if(_0x14e3a5===_0x4180e0[_0xc9c0ed(0x368)][_0xc9c0ed(0x3f2)]){const _0x4cdb85=_0x3dff19['getSubtotal']();_0x4fc856=_0x5c6869(_0x486f7d[_0xc9c0ed(0x244)](),_0x4cdb85);}_0x5c4d30!==_0x4fc856&&_0x1a76f5[_0xc9c0ed(0x339)](_0x3dff19[_0xc9c0ed(0x205)](),_0x4fc856);}else _0x1a76f5['removeField'](_0x3dff19['getId']());}});const _0x146386=_0x1a76f5[_0x3c77a5(0x374)](),_0x593e39=_0x1a76f5[_0x3c77a5(0x1a2)]()['toJSON'](),_0x42647d=_0x1a76f5[_0x3c77a5(0x2cf)]();_0x5f917c[_0x3c77a5(0x429)]={'view':_0x593e39,'changesets':_0x42647d,'isEmpty':_0x146386,'pivotTableConfig':_0x22a228,'collectionConfig':_0x27ebfb,'oldCollectionConfig':_0x38ecfe,'deleteIds':_0x442e8c};}break;case _0x971ca5[_0x3c77a5(0x3f1)]:{const _0x41c885=_0x2f769c[_0x3c77a5(0x1df)]['updateValuePosition'];if(!_0x41c885)return;const {position:_0x6ba777,index:_0x495b36}=_0x41c885,_0x299993=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x299993)return!0x1;const _0xd92d09=this[_0x3c77a5(0x2bf)]['getPivotTableInstance'](_0x5e76dc);if(!_0xd92d09)return!0x1;_0xd92d09[_0x3c77a5(0x3b3)](),_0xd92d09[_0x3c77a5(0x182)](_0x6ba777,_0x495b36);const _0xc4e206=_0xd92d09[_0x3c77a5(0x374)](),_0x2175a1=_0xd92d09[_0x3c77a5(0x1a2)]()['toJSON'](),_0x1a8fcf=_0xd92d09[_0x3c77a5(0x2cf)]();_0x5f917c[_0x3c77a5(0x182)]={'changesets':_0x1a8fcf,'pivotTableConfig':_0x299993,'isEmpty':_0xc4e206,'view':_0x2175a1};}break;case _0x971ca5[_0x3c77a5(0x416)]:{const _0x27d150=_0x2f769c[_0x3c77a5(0x1df)]['setPivotCollapse'];if(!_0x27d150)return;const {tableFieldId:_0x331519,collapse:_0x438395,item:_0x5e8208}=_0x27d150,_0x4c912f=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x5e76dc),_0x1876f1=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x4c912f||!_0x1876f1)return;_0x4c912f['startCollectChangeset'](),_0x4c912f[_0x3c77a5(0x1b7)](_0x331519,_0x438395,_0x5e8208);const _0x488814=_0x4c912f[_0x3c77a5(0x374)](),_0x309b05=_0x4c912f[_0x3c77a5(0x1a2)]()['toJSON'](),_0x425c13=_0x4c912f['endCollectChangeset']();_0x5f917c[_0x3c77a5(0x291)]={'view':_0x309b05,'isEmpty':_0x488814,'pivotTableConfig':_0x1876f1,'changesets':_0x425c13};}break;case _0x971ca5[_0x3c77a5(0x3aa)]:{const _0x2aa503=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x1e9)];if(!_0x2aa503)return;const {pivotTableConfig:_0x31ce5b}=_0x2aa503,_0x1a54da=this['_sheetsPivotDataSourceModel'][_0x3c77a5(0x303)](_0x5e76dc),_0x5450de=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x1a54da||!_0x5450de)return;_0x1a54da[_0x3c77a5(0x3b3)](),_0x481dc2(_0x1a54da,_0x31ce5b);const _0x1a2b52=_0x1a54da['isEmpty'](),_0x399b2b=_0x1a54da[_0x3c77a5(0x1a2)]()[_0x3c77a5(0x35c)](),_0x4627a0=_0x1a54da[_0x3c77a5(0x2cf)]();_0x5f917c['setPivotTableConfig']={'view':_0x399b2b,'isEmpty':_0x1a2b52,'pivotTableConfig':{..._0x5450de,'fieldsConfig':_0x1a54da[_0x3c77a5(0x35c)]()},'changesets':_0x4627a0};}break;case _0x971ca5[_0x3c77a5(0x42c)]:{const _0x4843eb=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x254)];if(!_0x4843eb)return;const _0x3198e2=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x303)](_0x5e76dc),_0x1ca802=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x3bc)](_0x32e1bd,_0x5bae90,_0x5e76dc);if(!_0x3198e2||!_0x1ca802)return;_0x3198e2[_0x3c77a5(0x3b3)](),_0x4ed281(_0x3198e2,_0x4843eb[_0x3c77a5(0x195)]);const _0x22ed18=_0x3198e2[_0x3c77a5(0x1a2)]()[_0x3c77a5(0x35c)](),_0x2fcb7a=_0x3198e2[_0x3c77a5(0x2cf)]();_0x5f917c['resetPivotTable']={'view':_0x22ed18,'isEmpty':!0x0,'pivotTableConfig':{..._0x1ca802,'fieldsConfig':_0x3198e2[_0x3c77a5(0x35c)]()},'changesets':_0x2fcb7a};}break;case _0x971ca5['AddPivotTableWithConfig']:{const _0x18e187=_0x2f769c[_0x3c77a5(0x1df)][_0x3c77a5(0x28d)];if(!_0x18e187)return;const _0x2aff45=_0x18e187[_0x3c77a5(0x292)],_0x5f9473=_0x18e187[_0x3c77a5(0x2e2)],{collection:_0x31db82}=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x2bc)]({'unitId':_0x2aff45['unitId'],'sheetName':_0x2aff45[_0x3c77a5(0x3c2)],'subUnitId':_0x2aff45[_0x3c77a5(0x402)],'range':_0x2aff45[_0x3c77a5(0x407)]}),_0x3a1277=new _0x4180e0[(_0x3c77a5(0x3b4))](_0x31db82,void 0x0,_0x5f9473),_0x38ca53=_0x31db82['getFieldIds'](),{rows:_0x3fa8d3,columns:_0x3a173f,filters:_0x2ff08b,values:_0x4766b1}=_0x18e187[_0x3c77a5(0x2d3)];_0x3a1277[_0x3c77a5(0x3b3)]();for(const {field:_0xec2779,selectedItems:_0x2cf784}of _0x3fa8d3||[]){const _0x4f4278=_0x38ca53[_0xec2779];if(_0x4f4278){const _0x277707=_0x3a1277[_0x3c77a5(0x23c)](_0x4f4278,_0x4180e0[_0x3c77a5(0x368)]['Row']);_0x2cf784&&_0x277707&&_0x3a1277[_0x3c77a5(0x2c6)](_0x277707[_0x3c77a5(0x205)](),{'type':_0x4180e0['PivotFilterTypeEnum'][_0x3c77a5(0x286)],'list':_0x2cf784,'isAll':!0x1});}}for(const {field:_0x2905cd,selectedItems:_0x562ad7}of _0x3a173f||[]){const _0xb1183b=_0x38ca53[_0x2905cd];if(_0xb1183b){const _0x3d8956=_0x3a1277[_0x3c77a5(0x23c)](_0xb1183b,_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x385)]);_0x562ad7&&_0x3d8956&&_0x3a1277[_0x3c77a5(0x2c6)](_0x3d8956[_0x3c77a5(0x205)](),{'type':_0x4180e0[_0x3c77a5(0x206)][_0x3c77a5(0x286)],'list':_0x562ad7,'isAll':!0x1});}}for(const {field:_0x491449,selectedItems:_0x5704c5}of _0x2ff08b||[]){const _0x14e64c=_0x38ca53[_0x491449];if(_0x14e64c){const _0x4c14d3=_0x3a1277[_0x3c77a5(0x23c)](_0x14e64c,_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x2db)]);_0x5704c5&&_0x4c14d3&&_0x3a1277['setLabelFilterInfo'](_0x4c14d3[_0x3c77a5(0x205)](),{'type':_0x4180e0[_0x3c77a5(0x206)][_0x3c77a5(0x286)],'list':_0x5704c5,'isAll':!0x1});}}for(const {field:_0x10e305,subTotalType:_0x5310d1,formatString:_0x43d70e}of _0x4766b1||[]){const _0x341210=_0x31db82[_0x3c77a5(0x18d)](_0x38ca53[_0x10e305]);if(!_0x341210)continue;const _0xf14dc7=_0x38ca53[_0x10e305];if(_0xf14dc7){const _0x11e2d5=_0x3a1277[_0x3c77a5(0x23c)](_0xf14dc7,_0x4180e0[_0x3c77a5(0x368)][_0x3c77a5(0x3f2)]);if(_0x11e2d5){if(_0x5310d1!==void 0x0){_0x3a1277[_0x3c77a5(0x3a8)](_0x11e2d5[_0x3c77a5(0x205)](),_0x5310d1);const _0x8dee2c=this[_0x3c77a5(0x2bf)][_0x3c77a5(0x252)](_0x2aff45[_0x3c77a5(0x2eb)])[_0x3c77a5(0x1ae)]()||_0x4180e0['getAutoDisplayName'],_0xcbe934=_0x31db82[_0x3c77a5(0x313)](_0xf14dc7),_0x2aeb1b=_0x8dee2c(_0xcbe934,_0x5310d1);_0x3a1277[_0x3c77a5(0x339)](_0x11e2d5['getId'](),_0x2aeb1b);}else{if(_0x341210){const _0x1a1582=_0x341210==null?void 0x0:_0x341210[_0x3c77a5(0x2f5)]();_0x3a1277[_0x3c77a5(0x3a8)](_0x11e2d5['getId'](),_0x1a1582===_0x4180e0[_0x3c77a5(0x2c5)]['number']?_0x4180e0[_0x3c77a5(0x2d6)][_0x3c77a5(0x3fe)]:_0x4180e0[_0x3c77a5(0x2d6)][_0x3c77a5(0x43b)]);}}_0x43d70e&&_0x3a1277['setFieldFormat'](_0x11e2d5['getId'](),_0x43d70e);}}}const _0x5b88e2=_0x3a1277['query'](),_0x3579c1=_0x3a1277[_0x3c77a5(0x35c)](),_0x1b45bb=_0x3a1277[_0x3c77a5(0x374)](),_0x582460=_0x3a1277[_0x3c77a5(0x2cf)](),_0x8f974=_0x31db82[_0x3c77a5(0x35c)]();_0x5f917c[_0x3c77a5(0x28d)]={'view':_0x5b88e2,'fieldsConfig':_0x3579c1,'collectionConfig':_0x8f974,'isEmpty':_0x1b45bb,'changesets':_0x582460};}break;case _0x971ca5[_0x3c77a5(0x444)]:{const _0x541650=_0x2df1b2(this['_injector'],_0x2f769c);if(!_0x541650)return;const {range:_0x460592,sourceSubUnitId:_0x82fbf6,sourceUnitId:_0x299248,formatMap:_0x3d5282,indexes:_0x37c553}=_0x541650;_0x5f917c[_0x3c77a5(0x3f0)]={'range':_0x460592,'sourceSubUnitId':_0x82fbf6,'sourceUnitId':_0x299248,'formatMap':_0x3d5282,'indexes':_0x37c553};}break;}this[_0x3c77a5(0x264)][_0x3c77a5(0x347)](_0x44d66c['id'],{'version':_0x2f769c[_0x3c77a5(0x16f)],'result':_0x5f917c},{'onlyLocal':!0x0});}));}[_0x106b51(0x248)](){const _0x446a61=_0x106b51;this['disposeWithMe'](this[_0x446a61(0x264)][_0x446a61(0x428)](_0x5d291d=>{const _0x213081=_0x446a61;if(_0x5d291d['id']!==_0xb0b6e['id'])return;const _0x2bca5a=_0x5d291d['params'];return this[_0x213081(0x2bf)][_0x213081(0x1a8)](_0x2bca5a['textInfo']),!0x0;}));}['_subjectCollectionChange'](){const _0xfd7afb=_0x106b51;this[_0xfd7afb(0x2bf)]['collectionChange$'][_0xfd7afb(0x43c)](_0x2556cd=>{const _0x4c4e1c=_0xfd7afb;switch(_0x2556cd[_0x4c4e1c(0x35d)]){case _0x3a0c9c[_0x4c4e1c(0x1e6)]:_0x2556cd[_0x4c4e1c(0x3a6)]&&_0x2556cd['targetCellInfo']&&this[_0x4c4e1c(0x445)](_0x2556cd[_0x4c4e1c(0x27f)],_0x2556cd[_0x4c4e1c(0x3a6)],_0x2556cd[_0x4c4e1c(0x41e)]);break;case _0x3a0c9c['delete']:{const {unitId:_0x5aae7e,subUnitId:_0x4f0fe8,token:_0x87d186}=_0x2556cd;_0x5aae7e&&_0x4f0fe8&&_0x87d186&&this[_0x4c4e1c(0x1b8)](_0x5aae7e,_0x4f0fe8,_0x87d186);}break;case _0x3a0c9c[_0x4c4e1c(0x177)]:{const {token:_0x552ae9,oldSourceRangeInfo:_0x8dc037,dataRangeInfo:_0x23d336,targetCellInfo:_0x779918}=_0x2556cd,{unitId:_0x2d56b5,subUnitId:_0x5d6aa4}=_0x8dc037||{};_0x2d56b5&&_0x5d6aa4&&_0x552ae9&&this['removeSourceRangeChange'](_0x2d56b5,_0x5d6aa4,_0x552ae9),_0x23d336&&_0x779918&&this[_0x4c4e1c(0x445)](_0x552ae9,_0x23d336,_0x779918);}break;}});}[_0x106b51(0x456)](){const _0x18e9d1=_0x106b51;this[_0x18e9d1(0x2bf)]['fieldsCollectionChange$'][_0x18e9d1(0x43c)](_0x55e4a9=>{const _0x4efb85=_0x18e9d1;Object[_0x4efb85(0x1de)](_0x55e4a9)['forEach'](_0x51da7e=>{const _0x320fb3=_0x4efb85,_0xd60b73=this['_sheetsPivotDataSourceModel']['getTargetByPivotId'](_0x51da7e);if(_0xd60b73){const _0xbe557=this[_0x320fb3(0x2bf)][_0x320fb3(0x3bc)](_0xd60b73==null?void 0x0:_0xd60b73[_0x320fb3(0x2eb)],_0xd60b73==null?void 0x0:_0xd60b73[_0x320fb3(0x402)],_0x51da7e);_0xbe557&&(this[_0x320fb3(0x445)](_0x51da7e,_0xbe557['sourceRangeInfo'],_0xbe557['targetCellInfo']),this['triggerDirtyFeature']([{'unitId':_0xd60b73[_0x320fb3(0x2eb)],'subUnitId':_0xd60b73[_0x320fb3(0x402)],'token':_0x51da7e}]));}});});}['_subjectViewChange'](){const _0x457e43=_0x106b51;this[_0x457e43(0x2bf)][_0x457e43(0x223)][_0x457e43(0x43c)](_0x45c31e=>{const _0x439db0=_0x457e43,{unitId:_0x3f0dc8,subUnitId:_0x3d5748,pivotTableId:_0x7976f}=_0x45c31e;_0x3f0dc8&&_0x3d5748&&_0x7976f&&this[_0x439db0(0x1f5)]([{'unitId':_0x3f0dc8,'subUnitId':_0x3d5748,'token':_0x7976f}]);});}['triggerDirtyFeature'](_0xd445b8){const _0x105f56=_0x106b51,_0x2e462a={};_0xd445b8['forEach'](_0x54afd9=>{var _0x487333,_0x525ebf;const {unitId:_0x16e6df,subUnitId:_0x314dae,token:_0x5a9387}=_0x54afd9;_0x2e462a[_0x16e6df]=(_0x487333=_0x2e462a[_0x16e6df])!=null?_0x487333:{},_0x2e462a[_0x16e6df][_0x314dae]=(_0x525ebf=_0x2e462a[_0x16e6df][_0x314dae])!=null?_0x525ebf:{},_0x2e462a[_0x16e6df][_0x314dae][_0x5a9387]=!0x0;}),this[_0x105f56(0x264)]['executeCommand'](_0x508f1e['id'],_0x2e462a);}['removeSourceRangeChange'](_0x307a46,_0x9bd476,_0x581817){const _0x8d990e=_0x106b51;this[_0x8d990e(0x1b9)]['remove'](_0x307a46,_0x9bd476,[_0x581817]);}[_0x106b51(0x445)](_0x42e6cb,_0x21cbbb,_0x497c3c){const _0xd90ce5=_0x106b51,{unitId:_0xba4e62,subUnitId:_0x29c1f9}=_0x21cbbb;this[_0xd90ce5(0x1b9)]['has'](_0x497c3c[_0xd90ce5(0x2eb)],_0x497c3c[_0xd90ce5(0x402)],_0x42e6cb)&&this[_0xd90ce5(0x1b8)](_0xba4e62,_0x29c1f9,_0x42e6cb);const _0x49bf76={'sheetId':_0x29c1f9,..._0x21cbbb};this['_featureCalculationManagerService'][_0xd90ce5(0x270)](_0x497c3c[_0xd90ce5(0x2eb)],_0x497c3c[_0xd90ce5(0x402)],_0x42e6cb,{'unitId':_0x497c3c['unitId'],'subUnitId':_0x497c3c[_0xd90ce5(0x402)],'dependencyRanges':[_0x49bf76],'getDirtyData':(_0x51cc11,_0x33341c)=>{const _0x307dc5=_0xd90ce5,_0x5f4c64=this[_0x307dc5(0x2bf)],_0x11ff72=_0x5f4c64[_0x307dc5(0x352)](_0x42e6cb);if(!_0x11ff72)return _0x5e23af();const {unitId:_0xdd7f78,subUnitId:_0x4773c3}=_0x11ff72,_0x2aa91c=_0x11e798(_0x51cc11,_0x33341c,_0x21cbbb);if(_0x2aa91c['length']>0x0){const _0x37cc49=_0x5f4c64[_0x307dc5(0x2d0)](_0xba4e62,_0x42e6cb),_0x3caeb2=_0x37cc49[_0x307dc5(0x1a3)](),_0x2427a2=this[_0x307dc5(0x273)](_0x21cbbb['unitId'],_0x21cbbb[_0x307dc5(0x402)],_0x33341c),_0x548473={},_0x36c9cb=this[_0x307dc5(0x2bf)][_0x307dc5(0x252)](_0xdd7f78)['getAutoDisplayNameFunction']()||_0x4180e0[_0x307dc5(0x449)],_0x14f1b8=[];for(const _0x470478 of _0x2aa91c){const _0x59aac6=_0x470478-(_0x21cbbb[_0x307dc5(0x407)]['startColumn']||0x0),_0xae2d2c=_0x3caeb2[_0x59aac6];_0x14f1b8[_0x307dc5(0x3a9)](_0xae2d2c),_0x548473[_0xae2d2c]=_0x37cc49['getFieldById'](_0xae2d2c)[_0x307dc5(0x244)](),_0x5f4c64[_0x307dc5(0x252)](_0xba4e62)[_0x307dc5(0x39f)](_0xae2d2c,_0x21cbbb,_0x59aac6,_0x2427a2);}_0x37cc49['getGroupFieldsInfoByIds'](_0x14f1b8)[_0x307dc5(0x15b)](_0x207960=>{const _0xbe6675=_0x307dc5,[_0x848441,_0xf7eb46]=_0x207960,_0x20815d=_0x37cc49[_0xbe6675(0x18d)](_0x848441),_0x483a16=_0x37cc49[_0xbe6675(0x18d)](_0xf7eb46);_0x20815d&&_0x483a16&&_0x20815d[_0xbe6675(0x154)](_0x483a16);}),_0x37cc49['updateAllDisplayName']();const _0x1644ad=_0x5f4c64['getPivotTableInstance'](_0x42e6cb);if(_0x1644ad){_0x1661b4(_0x1644ad,_0x548473,_0x36c9cb),_0x1644ad[_0x307dc5(0x363)](!0x0);const _0x4c80bc=_0x1644ad[_0x307dc5(0x1a2)](),_0x5983e5=_0x5f4c64['getPivotTableConfig'](_0xdd7f78,_0x4773c3,_0x42e6cb),_0x4e6049=_0x5f4c64[_0x307dc5(0x252)](_0xba4e62)[_0x307dc5(0x35c)]();_0x5f4c64[_0x307dc5(0x2d7)](_0xdd7f78,_0x4773c3,_0x3fdebd[_0x307dc5(0x1ee)],_0x42e6cb,_0x4c80bc,_0x5983e5,_0x4e6049,!0x0);}}return this['getDirtyInfo'](_0xdd7f78,_0x4773c3,_0x42e6cb);}});}['getMatrixFromRunTimeData'](_0x130ec7,_0x28877e,_0xb71e0e){var _0x4761b9,_0x5eebf9;const {arrayFormulaCellData:_0x461d18,unitData:_0x4258fd}=_0xb71e0e,_0x5b327e=(_0x4761b9=_0x461d18==null?void 0x0:_0x461d18[_0x130ec7])==null?void 0x0:_0x4761b9[_0x28877e],_0x2e896f=(_0x5eebf9=_0x4258fd==null?void 0x0:_0x4258fd[_0x130ec7])==null?void 0x0:_0x5eebf9[_0x28877e];return{'arrayFormulaCellDataMatrix':_0x5b327e,'unitDataMatrix':_0x2e896f};}[_0x106b51(0x287)](_0x41785e,_0x5c321b,_0x32e753){const _0x4ede9e=_0x106b51,_0x1b1ba7=this[_0x4ede9e(0x2bf)][_0x4ede9e(0x36e)](_0x41785e,_0x5c321b,_0x32e753),_0x4b4a05=[],_0xcec55b=new _0x292aa7[(_0x4ede9e(0x156))]();if(_0x1b1ba7){const {rangeCache:_0x538e8a,matrix:_0x7072bc,oldRangeCache:_0x5312bd,oldMatrix:_0x328973}=_0x1b1ba7,_0x3a8087=_0xa3b11c(_0x5312bd),_0x333dd9=_0xa3b11c(_0x538e8a);_0x4b4a05[_0x4ede9e(0x3a9)](..._0x333dd9,..._0x3a8087),_0x328973&&_0x5312bd&&_0x3a8087[_0x4ede9e(0x15b)](_0x1a90d5=>{const _0x181578=_0x4ede9e;for(let _0x21fdfe=_0x1a90d5['startRow'];_0x21fdfe<=_0x1a90d5[_0x181578(0x29f)];_0x21fdfe++)for(let _0x425f03=_0x1a90d5['startColumn'];_0x425f03<=_0x1a90d5[_0x181578(0x42e)];_0x425f03++)_0xcec55b[_0x181578(0x319)](_0x21fdfe,_0x425f03);}),_0x7072bc&&_0x333dd9&&_0x333dd9[_0x4ede9e(0x15b)](_0x1989b4=>{const _0x518c8a=_0x4ede9e;for(let _0x82960d=_0x1989b4[_0x518c8a(0x22d)];_0x82960d<=_0x1989b4[_0x518c8a(0x29f)];_0x82960d++)for(let _0x5d6a1b=_0x1989b4[_0x518c8a(0x40c)];_0x5d6a1b<=_0x1989b4['endColumn'];_0x5d6a1b++)_0xcec55b[_0x518c8a(0x1f0)](_0x82960d,_0x5d6a1b,_0x7072bc['getValue'](_0x82960d,_0x5d6a1b));});}const _0x4ebb87={};return _0x4ebb87[_0x41785e]={[_0x5c321b]:_0x1d9a06(_0x4b4a05)},{'runtimeCellData':{[_0x41785e]:{[_0x5c321b]:_0xcec55b}},'dirtyRanges':_0x4ebb87};}[_0x106b51(0x227)](){}};_0x618f83=_0xbd3a61([_0x3dd0ed(0x0,_0x292aa7[_0x106b51(0x1bf)](_0x9f0854['SheetsPivotDataSourceModel'])),_0x3dd0ed(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x22473c[_0x106b51(0x159)])),_0x3dd0ed(0x2,_0x292aa7['Inject'](_0x292aa7[_0x106b51(0x3ff)])),_0x3dd0ed(0x3,_0x292aa7['Inject'](_0x22473c[_0x106b51(0x3d4)])),_0x3dd0ed(0x4,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x2c3)]))],_0x618f83);var _0x100b1a=Object[_0x106b51(0x35b)],_0x22d720=(_0x9d86bc,_0x467ecf,_0x51f391,_0x4d8616)=>{const _0x26c989=_0x106b51;for(var _0x456565=_0x4d8616>0x1?void 0x0:_0x4d8616?_0x100b1a(_0x467ecf,_0x51f391):_0x467ecf,_0x11fddb=_0x9d86bc[_0x26c989(0x316)]-0x1,_0x51820e;_0x11fddb>=0x0;_0x11fddb--)(_0x51820e=_0x9d86bc[_0x11fddb])&&(_0x456565=_0x51820e(_0x456565)||_0x456565);return _0x456565;},_0x4181ca=(_0x22ba7d,_0x503aef)=>(_0x51f951,_0x7ee7ad)=>_0x503aef(_0x51f951,_0x7ee7ad,_0x22ba7d);let _0x402289=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x468e39,_0x6775e3,_0x1214ae,_0x4e2dcd){const _0x4fbcad=_0x106b51;super(),_0x4ac1dd(this,_0x4fbcad(0x335),new _0x292aa7['DisposableCollection']()),(this['_univerInstanceService']=_0x468e39,this['_sheetInterceptorService']=_0x6775e3,this[_0x4fbcad(0x167)]=_0x1214ae,this[_0x4fbcad(0x267)]=_0x4e2dcd,this['_initClearSelectionCommandInterceptor']());}[_0x106b51(0x29a)](){const _0x54f889=_0x106b51;this['disposeWithMe'](this[_0x54f889(0x237)][_0x54f889(0x1ed)]({'getMutations':_0x1840c6=>{const _0x405323=_0x54f889;if(_0x1840c6['id']===_0x4b8ea6[_0x405323(0x232)]['id']||_0x1840c6['id']===_0x4b8ea6[_0x405323(0x2a7)]['id']){const _0x26ba9b=[],_0xce0f9d=[],_0x609dd5=this[_0x405323(0x167)]['getCurrentSelections']()[_0x405323(0x1e0)](_0x234fa3=>_0x234fa3[_0x405323(0x407)]),_0x4ceaba=_0x4b8ea6[_0x405323(0x13c)](this['_univerInstanceService']);if(!_0x4ceaba)return{'redos':[],'undos':[]};const {unitId:_0xa5b96d,subUnitId:_0x17bf93}=_0x4ceaba,_0x5480df={},_0x4a2d5e=this[_0x405323(0x267)][_0x405323(0x371)](_0xa5b96d,_0x17bf93);if(_0x4a2d5e!=null&&_0x4a2d5e[_0x405323(0x390)])for(const [_0x140445,_0x984335]of _0x4a2d5e){const {unitId:_0x10d24e,subUnitId:_0x35ef6b,row:_0x1d85cb,col:_0x19593d}=_0x984335[_0x405323(0x41e)];_0x10d24e===_0x4ceaba[_0x405323(0x2eb)]&&_0x35ef6b===_0x4ceaba[_0x405323(0x402)]&&(_0x5480df[_0x1d85cb+'-'+_0x19593d]=_0x140445);}return _0x609dd5&&_0x4ceaba&&_0x609dd5[_0x405323(0x15b)](_0x50bb66=>{const _0x5835d9=_0x405323;_0x292aa7[_0x5835d9(0x1bb)][_0x5835d9(0x38d)](_0x50bb66,(_0x4b0b3b,_0x41fdb3)=>{const _0x3f2fcb=_0x5835d9,_0x192cb6=_0x4b0b3b+'-'+_0x41fdb3;if(_0x5480df[_0x192cb6]){const _0x4228d1=_0x5480df[_0x192cb6];_0x26ba9b['push']({'id':_0x6e907c['id'],'params':{'unitId':_0xa5b96d,'subUnitId':_0x17bf93,'pivotTableId':_0x4228d1}});const _0x58002e=this[_0x3f2fcb(0x267)][_0x3f2fcb(0x2d0)](_0xa5b96d,_0x4228d1),_0x319d23=this['_sheetsPivotTableConfigModel'][_0x3f2fcb(0x3bc)](_0xa5b96d,_0x17bf93,_0x4228d1);_0xce0f9d[_0x3f2fcb(0x3a9)]({'id':_0x1e0a17['id'],'params':{'unitId':_0xa5b96d,'subUnitId':_0x17bf93,'pivotTableId':_0x4228d1,'pivotTableConfig':_0x319d23,'collectionConfig':_0x58002e}});}});}),{'redos':_0x26ba9b,'undos':_0xce0f9d};}return{'redos':[],'undos':[]};}}));}};_0x402289=_0x22d720([_0x4181ca(0x0,_0x292aa7[_0x106b51(0x14b)]),_0x4181ca(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x4b8ea6[_0x106b51(0x358)])),_0x4181ca(0x2,_0x292aa7[_0x106b51(0x1bf)](_0x4b8ea6['SheetsSelectionsService'])),_0x4181ca(0x3,_0x292aa7[_0x106b51(0x1bf)](_0x9f0854['SheetsPivotTableConfigModel']))],_0x402289);var _0x4beb02=Object[_0x106b51(0x35b)],_0x3180bc=(_0x25ced1,_0x331de8,_0x38354f,_0x59e59b)=>{for(var _0x28c1c4=_0x59e59b>0x1?void 0x0:_0x59e59b?_0x4beb02(_0x331de8,_0x38354f):_0x331de8,_0x2aa39a=_0x25ced1['length']-0x1,_0x45532b;_0x2aa39a>=0x0;_0x2aa39a--)(_0x45532b=_0x25ced1[_0x2aa39a])&&(_0x28c1c4=_0x45532b(_0x28c1c4)||_0x28c1c4);return _0x28c1c4;},_0x280983=(_0x415a95,_0x276d4e)=>(_0x2207e6,_0x1c8f24)=>_0x276d4e(_0x2207e6,_0x1c8f24,_0x415a95);let _0x34104c=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x1e282a,_0x19e05d,_0x4aad12,_0x5b7d97,_0x51dcf9){const _0x39f13a=_0x106b51;super(),this[_0x39f13a(0x237)]=_0x1e282a,this[_0x39f13a(0x1cc)]=_0x19e05d,this[_0x39f13a(0x22a)]=_0x4aad12,this[_0x39f13a(0x267)]=_0x5b7d97,this[_0x39f13a(0x1ba)]=_0x51dcf9,this['_initCommandInterceptListener']();}[_0x106b51(0x375)](_0x27d6dc,_0x40e0f4,_0x1427a9){const _0x42ee01=_0x106b51,{pageView:_0x2a7dd4,cornerView:_0x4c3c81,rowView:_0xe9af7a,colView:_0x5a9a33,dataView:_0x56cdd6}=_0x40e0f4,_0x3bf7da=_0x27d6dc;let _0x1e1849;if(_0x1427a9)_0x1e1849=[..._0x1df979(_0x3bf7da)];else{const _0x89182b=_0x4e64a4(_0x3bf7da,_0x2a7dd4,!0x0),_0xce34f3=_0x2a7dd4[_0x42ee01(0x294)]>=0x0?_0x2a7dd4[_0x42ee01(0x294)]+0x1:0x0,_0x52494c=_0x4c3c81[_0x42ee01(0x3f9)],_0x55bdce=_0x4c3c81[_0x42ee01(0x2d5)],_0x5d0dfe=_0x89182b['length']>0x0?_0x707193:0x0,_0x1a3d14=_0x4e64a4({'row':_0x3bf7da[_0x42ee01(0x2b8)]+_0xce34f3+_0x5d0dfe,'col':_0x3bf7da[_0x42ee01(0x174)]},_0x4c3c81,!0x1,!0x1),_0xbc0b0a=_0x4e64a4({'row':_0x3bf7da[_0x42ee01(0x2b8)]+_0xce34f3+_0x5d0dfe+_0x52494c,'col':_0x3bf7da['col']},_0xe9af7a,!0x1,!0x0),_0xb7fd8e=_0x4e64a4({'row':_0x3bf7da['row']+_0xce34f3+_0x5d0dfe,'col':_0x3bf7da[_0x42ee01(0x174)]+_0x55bdce},_0x5a9a33,!0x1,!0x0),_0x417fa4=_0x4e64a4({'row':_0x3bf7da[_0x42ee01(0x2b8)]+_0xce34f3+_0x5d0dfe+_0x52494c,'col':_0x3bf7da[_0x42ee01(0x174)]+_0x55bdce},_0x56cdd6,!0x1,!0x0);_0x1e1849=[..._0x89182b,..._0x1a3d14,..._0xbc0b0a,..._0xb7fd8e,..._0x417fa4];}return _0x1e1849;}[_0x106b51(0x207)](){const _0x2ebd15=_0x106b51;this[_0x2ebd15(0x2df)](this['_sheetsPivotTableService']['interceptor'][_0x2ebd15(0x26b)](this[_0x2ebd15(0x1ba)][_0x2ebd15(0x16a)][_0x2ebd15(0x17e)]()[_0x2ebd15(0x24e)],{'handler':(_0x50b35e,_0x519289)=>{const _0x1c9e53=_0x2ebd15,{cellInfo:_0x339d3a,view:_0x4a645d,isEmpty:_0x4bf075}=_0x519289,_0x5f2d8e=_0x339d3a,{unitId:_0x17724d,subUnitId:_0x297427}=_0x5f2d8e,_0x5d67b2=this['_getPivotAppliedRanges'](_0x339d3a,_0x4a645d,_0x4bf075),_0x56e22f=this['_sheetInterceptorService'][_0x1c9e53(0x36f)]({'unitId':_0x17724d,'subUnitId':_0x297427,'ranges':_0x5d67b2}),_0x24dd97=_0x2afb61(this[_0x1c9e53(0x1cc)],_0x17724d,_0x297427,_0x5d67b2);_0x24dd97[_0x1c9e53(0x15f)]&&(_0x56e22f['redos'][_0x1c9e53(0x3a9)](_0x24dd97[_0x1c9e53(0x43a)]),_0x56e22f[_0x1c9e53(0x3b9)][_0x1c9e53(0x3a9)](_0x24dd97[_0x1c9e53(0x349)]));const _0x3c12e4=this[_0x1c9e53(0x2a8)](_0x4a645d,_0x339d3a);return _0x56e22f[_0x1c9e53(0x2f4)][_0x1c9e53(0x3a9)](..._0x3c12e4[_0x1c9e53(0x2f4)]),_0x56e22f[_0x1c9e53(0x3b9)][_0x1c9e53(0x3a9)](..._0x3c12e4[_0x1c9e53(0x3b9)]),{'redos':_0x56e22f[_0x1c9e53(0x2f4)],'undos':_0x56e22f[_0x1c9e53(0x3b9)]};}}));}[_0x106b51(0x2a8)](_0x38f9df,_0x2bfa63){const _0x3f92f9=_0x106b51,{col:_0x365c57,unitId:_0x4be151,subUnitId:_0x11aa93}=_0x2bfa63,_0x34469d=[],_0x16bbf8=[],_0x2078e9=_0x4b8ea6[_0x3f92f9(0x13c)](this[_0x3f92f9(0x22a)],{'unitId':_0x4be151,'subUnitId':_0x11aa93});if(!_0x2bfa63||!_0x38f9df||!_0x2078e9)return{'undos':_0x16bbf8,'redos':_0x34469d};const _0x3bcb19=this['_sheetsPivotTableConfigModel'][_0x3f92f9(0x34c)](),{colView:_0x59c8f1,dataView:_0x5260b3,cornerView:_0x4de435,rowView:_0x20d1f7,formatMap:_0x15960c}=_0x38f9df,_0x113191=_0xcbe96d(_0x59c8f1,_0x3bcb19,!0x0,_0x15960c),_0xb0f238=_0xcbe96d(_0x20d1f7,_0x3bcb19,!0x1,_0x15960c),_0x14bd45=_0x265d6d(_0x5260b3),_0x25fe13=_0x5d45fd(_0x4de435),{worksheet:_0xc96443}=_0x2078e9;if(typeof window<'u'&&window[_0x3f92f9(0x191)]){const _0x517a37=_0x311308[_0x3f92f9(0x3f3)]({..._0x3cfad7[_0x3f92f9(0x3fb)]}),_0x196b0f=_0x311308[_0x3f92f9(0x262)][_0x3f92f9(0x338)](_0x113191,_0x517a37)[_0x3f92f9(0x193)]+0x10,_0x505c61=_0x311308[_0x3f92f9(0x262)][_0x3f92f9(0x338)](_0x14bd45,_0x517a37)[_0x3f92f9(0x193)],_0x398ca1=Math[_0x3f92f9(0x214)](Math['max'](_0x196b0f,_0x505c61))+0x10,_0x227ea4=Math[_0x3f92f9(0x214)](_0x311308[_0x3f92f9(0x262)][_0x3f92f9(0x338)](_0xb0f238,_0x517a37)['width']),_0x44a587=Math['floor'](_0x311308[_0x3f92f9(0x262)][_0x3f92f9(0x338)](_0x25fe13,_0x517a37)[_0x3f92f9(0x193)]),_0x15dcc9=Math[_0x3f92f9(0x1c4)](_0x227ea4,_0x44a587,0x28)+0xc,_0x2bf999=_0x59c8f1[_0x3f92f9(0x2d5)]+_0x4de435[_0x3f92f9(0x2d5)],_0x59082b={},_0x3be9c3={};for(let _0x4ae903=_0x365c57;_0x4ae903<_0x365c57+_0x2bf999;_0x4ae903++){const _0x31c164=_0xc96443['getColumnWidth'](_0x4ae903);_0x59082b[_0x4ae903]=_0x31c164,_0x4ae903-_0x365c57<_0x4de435[_0x3f92f9(0x2d5)]?_0x3be9c3[_0x4ae903-_0x365c57]=_0x15dcc9:_0x3be9c3[_0x4ae903-_0x365c57]=_0x398ca1;}_0x34469d[_0x3f92f9(0x3a9)]({'id':_0x4b8ea6[_0x3f92f9(0x215)]['id'],'params':{'subUnitId':_0x11aa93,'unitId':_0x4be151,'ranges':[{'startColumn':_0x365c57,'endColumn':_0x365c57+_0x2bf999-0x1,'startRow':0x0,'endRow':_0xc96443[_0x3f92f9(0x2fb)]()-0x1}],'colWidth':_0x3be9c3}}),_0x16bbf8[_0x3f92f9(0x3a9)]({'id':_0x4b8ea6[_0x3f92f9(0x215)]['id'],'params':{'subUnitId':_0x11aa93,'unitId':_0x4be151,'ranges':[{'startColumn':_0x365c57,'endColumn':_0x365c57+_0x2bf999-0x1,'startRow':0x0,'endRow':_0xc96443[_0x3f92f9(0x2fb)]()-0x1}],'colWidth':_0x59082b}});}return{'undos':_0x16bbf8,'redos':_0x34469d};}};_0x34104c=_0x3180bc([_0x280983(0x0,_0x292aa7['Inject'](_0x4b8ea6['SheetInterceptorService'])),_0x280983(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7['Injector'])),_0x280983(0x2,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7['IUniverInstanceService'])),_0x280983(0x3,_0x292aa7['Inject'](_0x9f0854[_0x106b51(0x3a3)])),_0x280983(0x4,_0x292aa7['Inject'](_0x9f0854[_0x106b51(0x409)]))],_0x34104c);var _0x215df8=Object[_0x106b51(0x35b)],_0x46cd95=(_0x43e188,_0x384c2c,_0x23e5f3,_0x5b844d)=>{const _0x580663=_0x106b51;for(var _0x2fa47c=_0x5b844d>0x1?void 0x0:_0x5b844d?_0x215df8(_0x384c2c,_0x23e5f3):_0x384c2c,_0x59cf85=_0x43e188[_0x580663(0x316)]-0x1,_0x9865a;_0x59cf85>=0x0;_0x59cf85--)(_0x9865a=_0x43e188[_0x59cf85])&&(_0x2fa47c=_0x9865a(_0x2fa47c)||_0x2fa47c);return _0x2fa47c;},_0x148543=(_0x5b9096,_0x1b86fe)=>(_0x11cc6e,_0x41b7d1)=>_0x1b86fe(_0x11cc6e,_0x41b7d1,_0x5b9096);let _0x21d322=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x1a5b56,_0x57e9b9,_0x5e1374,_0x1cd0aa,_0x29e5ea,_0xbc5b01,_0x1c4304){const _0x40a23e=_0x106b51;super(),_0x4ac1dd(this,'disposableCollection',new _0x292aa7['DisposableCollection']()),(this[_0x40a23e(0x1cc)]=_0x1a5b56,this['_refRangeService']=_0x57e9b9,this[_0x40a23e(0x264)]=_0x5e1374,this[_0x40a23e(0x22a)]=_0x1cd0aa,this[_0x40a23e(0x267)]=_0x29e5ea,this[_0x40a23e(0x173)]=_0xbc5b01,this['_sheetInterceptorService']=_0x1c4304,this['_onRefRangeChange']());}[_0x106b51(0x3c1)](){const _0x1884e8=_0x106b51,_0x50b91b=(_0x302356,_0x2b427e)=>{const _0x107777=_0x39c4,_0x3c88fb=this[_0x107777(0x22a)][_0x107777(0x295)](_0x292aa7[_0x107777(0x299)][_0x107777(0x265)]);if(!_0x3c88fb||!(_0x3c88fb==null?void 0x0:_0x3c88fb['getSheetBySheetId'](_0x2b427e)))return;this['disposableCollection'][_0x107777(0x227)]();const _0x52ca27=_0x16c529=>this[_0x107777(0x2fd)](_0x16c529,_0x302356,_0x2b427e),_0xe0f7b8=this['_sheetsPivotTableConfigModel'][_0x107777(0x371)](_0x302356,_0x2b427e);if(!(_0xe0f7b8!=null&&_0xe0f7b8[_0x107777(0x390)]))return;Array[_0x107777(0x355)](_0xe0f7b8[_0x107777(0x42b)]())[_0x107777(0x1e0)](_0x47c0dd=>{const _0x30903b=_0x107777,{row:_0x3da771,col:_0x7034a1}=_0x47c0dd[_0x30903b(0x41e)];return _0x292aa7[_0x30903b(0x2c8)](_0x3da771,_0x7034a1);})[_0x107777(0x15b)](_0x418fd3=>{const _0x5592e6=_0x107777;this[_0x5592e6(0x335)][_0x5592e6(0x1e6)](this[_0x5592e6(0x1b6)][_0x5592e6(0x138)](_0x418fd3,_0x52ca27,_0x302356,_0x2b427e));});},_0xcf03e1=()=>{const _0x54f7c8=_0x39c4,_0x4d242c=this[_0x54f7c8(0x22a)][_0x54f7c8(0x295)](_0x292aa7[_0x54f7c8(0x299)]['UNIVER_SHEET']);if(_0x4d242c){const _0x1caf50=_0x4d242c[_0x54f7c8(0x437)]();if(!_0x1caf50)return;_0x50b91b(_0x4d242c[_0x54f7c8(0x2b1)](),_0x1caf50['getSheetId']());}};this[_0x1884e8(0x2df)](this[_0x1884e8(0x264)]['onCommandExecuted'](_0x4ad430=>{const _0x3d5f18=_0x1884e8;if(_0x4ad430['id']===_0x4b8ea6[_0x3d5f18(0x250)]['id']){const _0x3c7cd2=_0x4ad430[_0x3d5f18(0x1df)],_0x243c68=_0x3c7cd2[_0x3d5f18(0x402)],_0x5e48f2=_0x3c7cd2[_0x3d5f18(0x2eb)];if(!_0x243c68||!_0x5e48f2)return;_0x50b91b(_0x5e48f2,_0x243c68);}})),this[_0x1884e8(0x2df)](this[_0x1884e8(0x267)][_0x1884e8(0x431)][_0x1884e8(0x43c)](_0x366441=>{_0x366441&&_0xcf03e1();})),this[_0x1884e8(0x2df)](this[_0x1884e8(0x267)][_0x1884e8(0x1f1)]['subscribe'](_0x47049d=>{const _0xd8fd94=_0x1884e8,_0x36d667=_0x4b8ea6['getSheetCommandTarget'](this[_0xd8fd94(0x22a)]);if(!_0x36d667)return;const {unitId:_0x5e2fe8,subUnitId:_0x5b8c8b}=_0x36d667,{unitId:_0x371cb8,subUnitId:_0x5a5403}=_0x47049d;_0x5e2fe8!==_0x371cb8||_0x5b8c8b!==_0x5a5403||_0x50b91b(_0x5e2fe8,_0x5b8c8b);})),_0xcf03e1();}[_0x106b51(0x2fd)](_0x3ffcdf,_0x291000,_0x30e264){const _0x4e5d5d=_0x106b51;switch(_0x3ffcdf['id']){case _0x4b8ea6[_0x4e5d5d(0x31d)]['id']:return this[_0x4e5d5d(0x33b)](_0x3ffcdf[_0x4e5d5d(0x1df)],_0x291000,_0x30e264);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x5b77ca,_0x1d909b,_0x5c7517){const _0x466b31=_0x106b51,{fromRange:_0x27b970,toRange:_0x2bb97e}=_0x5b77ca,_0x708de6=[],_0x32843c=[],_0x530241=_0x4b8ea6[_0x466b31(0x13c)](this[_0x466b31(0x22a)]);if(!_0x530241)return{'undos':_0x32843c,'redos':_0x708de6};if(_0x1d909b!==_0x530241['unitId']||_0x5c7517!==_0x530241[_0x466b31(0x402)])return{'undos':_0x32843c,'redos':_0x708de6};const _0x69fe59=this[_0x466b31(0x267)]['getSubUnitPivotConfigs'](_0x1d909b,_0x5c7517);if(_0x69fe59!=null&&_0x69fe59['size'])for(const [_0xa1d508,_0x525f10]of _0x69fe59){const {unitId:_0x36bd3e,subUnitId:_0x123128,row:_0x53da95,col:_0x9b5c3b}=_0x525f10['targetCellInfo'];if(_0x36bd3e===_0x530241[_0x466b31(0x2eb)]&&_0x123128===_0x530241[_0x466b31(0x402)]){const _0x4a029c=_0x292aa7['cellToRange'](_0x53da95,_0x9b5c3b);if(_0x292aa7[_0x466b31(0x24b)]['intersects'](_0x4a029c,_0x27b970)){const _0x11888a=_0x53da95-_0x27b970[_0x466b31(0x22d)],_0x3f6245=_0x9b5c3b-_0x27b970['startColumn'],_0x2183b6={'row':_0x2bb97e[_0x466b31(0x22d)]+_0x11888a,'col':_0x2bb97e[_0x466b31(0x40c)]+_0x3f6245};_0x708de6[_0x466b31(0x3a9)]({'id':_0x3c1d9a['id'],'params':{'unitId':_0x36bd3e,'subUnitId':_0x123128,'pivotTableId':_0xa1d508,'targetCellPosition':_0x2183b6}}),_0x32843c[_0x466b31(0x3a9)]({'id':_0x3c1d9a['id'],'params':{'unitId':_0x36bd3e,'subUnitId':_0x123128,'pivotTableId':_0xa1d508,'targetCellPosition':{'row':_0x53da95,'col':_0x9b5c3b}}});const _0x42349c=_0x2183b6[_0x466b31(0x2b8)]-_0x53da95,_0x3d1d3e=_0x2183b6['col']-_0x9b5c3b,_0x3f26a8=[],_0x489918=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x36bd3e,_0x123128,_0xa1d508),_0xb04460=_0x489918==null?void 0x0:_0x489918[_0x466b31(0x2ed)];if(_0xb04460){Object[_0x466b31(0x1de)](_0xb04460)['forEach'](_0x191389=>{const _0x4ab514=_0x466b31;_0xb04460[_0x191389][_0x4ab514(0x15b)](_0x25d710=>{const _0x52146a=_0x4ab514,_0x4cf05a={..._0x25d710};_0x4cf05a['startRow']=_0x25d710[_0x52146a(0x22d)]+_0x42349c,_0x4cf05a[_0x52146a(0x29f)]=_0x25d710['endRow']+_0x42349c,_0x4cf05a['startColumn']=_0x25d710['startColumn']+_0x3d1d3e,_0x4cf05a['endColumn']=_0x25d710[_0x52146a(0x42e)]+_0x3d1d3e,_0x3f26a8[_0x52146a(0x3a9)](_0x4cf05a);});});const _0x2f2cfe=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x36bd3e,'subUnitId':_0x123128,'ranges':_0x3f26a8});_0x708de6['push'](..._0x2f2cfe[_0x466b31(0x2f4)]),_0x32843c[_0x466b31(0x3a9)](..._0x2f2cfe[_0x466b31(0x3b9)]);const _0x513e3c=_0x2afb61(this[_0x466b31(0x1cc)],_0x36bd3e,_0x123128,_0x3f26a8);_0x513e3c['shouldClear']&&(_0x708de6['push'](_0x513e3c[_0x466b31(0x43a)]),_0x32843c[_0x466b31(0x3a9)](_0x513e3c[_0x466b31(0x349)]));}}}}return{'redos':_0x708de6,'undos':_0x32843c};}};_0x21d322=_0x46cd95([_0x148543(0x0,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x2c3)])),_0x148543(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x4b8ea6[_0x106b51(0x150)])),_0x148543(0x2,_0x292aa7['ICommandService']),_0x148543(0x3,_0x292aa7[_0x106b51(0x14b)]),_0x148543(0x4,_0x292aa7[_0x106b51(0x1bf)](_0x9f0854[_0x106b51(0x3a3)])),_0x148543(0x5,_0x292aa7['Inject'](_0x9f0854[_0x106b51(0x359)])),_0x148543(0x6,_0x292aa7[_0x106b51(0x1bf)](_0x4b8ea6[_0x106b51(0x358)]))],_0x21d322);var _0x37a3cf=Object[_0x106b51(0x35b)],_0x288af9=(_0x415447,_0x30b43c,_0x5b3a21,_0x2f409b)=>{const _0x42ec3d=_0x106b51;for(var _0x3b7f40=_0x2f409b>0x1?void 0x0:_0x2f409b?_0x37a3cf(_0x30b43c,_0x5b3a21):_0x30b43c,_0x1d5c46=_0x415447[_0x42ec3d(0x316)]-0x1,_0x4c049c;_0x1d5c46>=0x0;_0x1d5c46--)(_0x4c049c=_0x415447[_0x1d5c46])&&(_0x3b7f40=_0x4c049c(_0x3b7f40)||_0x3b7f40);return _0x3b7f40;},_0x41b3a7=(_0x1ddd6e,_0x5d46b8)=>(_0xe32efc,_0x2b70bd)=>_0x5d46b8(_0xe32efc,_0x2b70bd,_0x1ddd6e);let _0x3f894c=class extends _0x292aa7[_0x106b51(0x19a)]{constructor(_0x52373b,_0x1f2487){const _0x1fb0dc=_0x106b51;super(),this[_0x1fb0dc(0x237)]=_0x52373b,this[_0x1fb0dc(0x267)]=_0x1f2487,this['_initRemoveSheetCommandInterceptor']();}[_0x106b51(0x141)](){const _0x475013=_0x106b51;this[_0x475013(0x2df)](this[_0x475013(0x237)][_0x475013(0x1ed)]({'getMutations':_0x3c3a08=>{const _0x3dd7dd=_0x475013;if(_0x3c3a08['id']===_0x4b8ea6[_0x3dd7dd(0x44b)]['id']){const _0x2ca502=[],_0x206988=[],_0x481254=_0x3c3a08[_0x3dd7dd(0x1df)],{unitId:_0x4b5bd5,subUnitId:_0x102ed6}=_0x481254;if(!_0x4b5bd5||!_0x102ed6)return{'undos':_0x206988,'redos':_0x2ca502};const _0x350e4f=this[_0x3dd7dd(0x267)]['getSubUnitPivotConfigs'](_0x4b5bd5,_0x102ed6);if(_0x350e4f!=null&&_0x350e4f[_0x3dd7dd(0x390)])for(const [_0x5ae130,_0x5f2c33]of _0x350e4f){_0x2ca502[_0x3dd7dd(0x3a9)]({'id':_0x6e907c['id'],'params':{'unitId':_0x4b5bd5,'subUnitId':_0x102ed6,'pivotTableId':_0x5ae130}});const _0x5315f2={...this['_sheetsPivotTableConfigModel'][_0x3dd7dd(0x2d0)](_0x4b5bd5,_0x5ae130)};_0x206988[_0x3dd7dd(0x3a9)]({'id':_0x1e0a17['id'],'params':{'unitId':_0x4b5bd5,'subUnitId':_0x102ed6,'pivotTableId':_0x5ae130,'pivotTableConfig':_0x5f2c33,'collectionConfig':_0x5315f2}});}return{'redos':_0x2ca502,'undos':_0x206988};}return{'redos':[],'undos':[]};}}));}};_0x3f894c=_0x288af9([_0x41b3a7(0x0,_0x292aa7['Inject'](_0x4b8ea6[_0x106b51(0x358)])),_0x41b3a7(0x1,_0x292aa7['Inject'](_0x9f0854[_0x106b51(0x3a3)]))],_0x3f894c);var _0x3fe7dd=Object[_0x106b51(0x35b)],_0x4ab998=(_0x5dff2b,_0xf0d1b7,_0x524c8a,_0x5ac6d7)=>{const _0x309068=_0x106b51;for(var _0x24f1ef=_0x5ac6d7>0x1?void 0x0:_0x5ac6d7?_0x3fe7dd(_0xf0d1b7,_0x524c8a):_0xf0d1b7,_0x5aa908=_0x5dff2b[_0x309068(0x316)]-0x1,_0x25f48b;_0x5aa908>=0x0;_0x5aa908--)(_0x25f48b=_0x5dff2b[_0x5aa908])&&(_0x24f1ef=_0x25f48b(_0x24f1ef)||_0x24f1ef);return _0x24f1ef;},_0x5f2c41=(_0x1eca15,_0x5b88d3)=>(_0x2c699a,_0x38c282)=>_0x5b88d3(_0x2c699a,_0x38c282,_0x1eca15);let _0x4271c9=class extends _0x292aa7['Disposable']{constructor(_0x1a2790,_0x3f1ace,_0x2e378d,_0x38743f,_0x3dd1c5,_0x3da268){const _0x21f293=_0x106b51;super(),this[_0x21f293(0x264)]=_0x1a2790,this[_0x21f293(0x3da)]=_0x3f1ace,this[_0x21f293(0x173)]=_0x2e378d,this[_0x21f293(0x267)]=_0x38743f,this[_0x21f293(0x22a)]=_0x3dd1c5,this['_activeDirtyManagerService']=_0x3da268,this[_0x21f293(0x151)](),this[_0x21f293(0x186)]();}[_0x106b51(0x151)](){const _0x38ba3c=_0x106b51;this['disposeWithMe'](this[_0x38ba3c(0x264)][_0x38ba3c(0x428)](_0x462fbe=>{const _0x8506df=_0x38ba3c;if(_0x462fbe['id']!==_0x44d66c['id'])return;const _0x162501=_0x462fbe['params'];this[_0x8506df(0x3da)][_0x8506df(0x297)](_0x162501);})),this[_0x38ba3c(0x2df)](this[_0x38ba3c(0x264)][_0x38ba3c(0x428)](_0x9a6380=>{const _0x5bd741=_0x38ba3c;if(_0x9a6380['id']===_0x22a1ae['id']){const _0x350e6c=_0x9a6380[_0x5bd741(0x1df)];if(_0x350e6c){const {unitId:_0x34dfd6,subUnitId:_0xc49340,oldSubUnitId:_0x5617f8,pivotTableId:_0x374756,pivotTableConfig:_0x5b10c7,collectionConfig:_0x94a19b}=_0x350e6c;this[_0x5bd741(0x267)]['updateConfigCache'](_0x34dfd6,_0x5617f8,_0x350e6c[_0x5bd741(0x2e2)],null),this[_0x5bd741(0x267)]['updateConfigCache'](_0x34dfd6,_0xc49340,_0x374756,_0x5b10c7),this[_0x5bd741(0x267)]['updateCollectionConfig'](_0x34dfd6,_0x94a19b);}}})),this[_0x38ba3c(0x2df)](this['_commandService'][_0x38ba3c(0x428)](_0x4affb4=>{const _0xe9dc8d=_0x38ba3c;if(_0x4affb4['id']!==_0x153636['id'])return;const _0x1f056d=_0x4b8ea6[_0xe9dc8d(0x13c)](this['_univerInstanceService']);if(!_0x1f056d)return;const {unitId:_0x516fcf,subUnitId:_0x356094}=_0x1f056d,_0x13247a=_0x4affb4['params'];if(_0x13247a[_0xe9dc8d(0x417)]&&Object['keys'](_0x13247a[_0xe9dc8d(0x417)])[_0xe9dc8d(0x15b)](_0x1c7d64=>{const _0x47680f=_0xe9dc8d;var _0x2c0af2;(_0x2c0af2=_0x13247a[_0x47680f(0x417)])!=null&&_0x2c0af2[_0x1c7d64]&&this[_0x47680f(0x267)][_0x47680f(0x3ed)](_0x1c7d64,_0x13247a['collectionConfig'][_0x1c7d64]);}),_0x13247a[_0xe9dc8d(0x336)]){const _0x2c85ae=_0x13247a[_0xe9dc8d(0x336)],{unitId:_0x29530b,subUnitId:_0x6c246,view:_0x593b52,pivotTableId:_0x48ffb9,type:_0x15e093,pivotConfig:_0xea960}=_0x2c85ae;if(_0x15e093===_0x3fdebd['Delete'])this[_0xe9dc8d(0x173)][_0xe9dc8d(0x1dd)]({'unitId':_0x29530b,'subUnitId':_0x6c246,'pivotTableId':_0x48ffb9,'type':_0x15e093}),this[_0xe9dc8d(0x267)]['updateConfigCache'](_0x29530b,_0x6c246,_0x48ffb9,null);else{const _0x46411d=new _0x4180e0[(_0xe9dc8d(0x2f8))]();_0x46411d['formJSON'](_0x593b52),this[_0xe9dc8d(0x267)][_0xe9dc8d(0x234)](_0x29530b,_0x6c246,_0x48ffb9,_0xea960),this[_0xe9dc8d(0x173)][_0xe9dc8d(0x1dd)]({'unitId':_0x29530b,'subUnitId':_0x6c246,'pivotTableId':_0x48ffb9,'type':_0x15e093,'view':_0x46411d}),this[_0xe9dc8d(0x173)][_0xe9dc8d(0x311)]({'unitId':_0x29530b,'subUnitId':_0x6c246,'view':_0x46411d,'pivotTableId':_0x48ffb9,'type':_0x15e093});}}else _0x13247a[_0xe9dc8d(0x329)]&&(_0x13247a['batch'][_0xe9dc8d(0x15b)](_0x38c042=>{const _0x14dd43=_0xe9dc8d,{unitId:_0x425346,subUnitId:_0x532441,view:_0x3241fd,pivotTableId:_0x4c0409,type:_0x41247d,pivotConfig:_0xff477d}=_0x38c042,_0x1581bf=new _0x4180e0[(_0x14dd43(0x2f8))]();_0x1581bf[_0x14dd43(0x42a)](_0x3241fd),this[_0x14dd43(0x267)][_0x14dd43(0x234)](_0x425346,_0x532441,_0x4c0409,_0xff477d),this[_0x14dd43(0x173)][_0x14dd43(0x311)]({'unitId':_0x425346,'subUnitId':_0x532441,'view':_0x1581bf,'pivotTableId':_0x4c0409,'type':_0x41247d});}),this[_0xe9dc8d(0x267)][_0xe9dc8d(0x243)]());this[_0xe9dc8d(0x173)][_0xe9dc8d(0x332)](_0x516fcf,_0x356094);}));}[_0x106b51(0x186)](){const _0x29d737=_0x106b51;this[_0x29d737(0x382)]['register'](_0x508f1e['id'],{'commandId':_0x508f1e['id'],'getDirtyData'(_0x343fb3){const _0x5aa7bc=_0x29d737;return{'dirtyUnitFeatureMap':_0x343fb3[_0x5aa7bc(0x1df)]};}});}};_0x4271c9=_0x4ab998([_0x5f2c41(0x0,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x3ff)])),_0x5f2c41(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x9f0854[_0x106b51(0x1ec)])),_0x5f2c41(0x2,_0x292aa7[_0x106b51(0x1bf)](_0x9f0854[_0x106b51(0x359)])),_0x5f2c41(0x3,_0x292aa7['Inject'](_0x9f0854[_0x106b51(0x3a3)])),_0x5f2c41(0x4,_0x292aa7['Inject'](_0x292aa7[_0x106b51(0x14b)])),_0x5f2c41(0x5,_0x22473c['IActiveDirtyManagerService'])],_0x4271c9);var _0x3fcfc2=Object[_0x106b51(0x454)],_0x30b2f9=Object[_0x106b51(0x35b)],_0xbf5497=(_0x31b9b0,_0x45752a,_0x37cf98)=>_0x45752a in _0x31b9b0?_0x3fcfc2(_0x31b9b0,_0x45752a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37cf98}):_0x31b9b0[_0x45752a]=_0x37cf98,_0x51b5be=(_0x434d56,_0x45042c,_0x2bfa49,_0x36461b)=>{const _0x2f4c2f=_0x106b51;for(var _0x396a1c=_0x36461b>0x1?void 0x0:_0x36461b?_0x30b2f9(_0x45042c,_0x2bfa49):_0x45042c,_0x4b4fde=_0x434d56[_0x2f4c2f(0x316)]-0x1,_0x1c95c4;_0x4b4fde>=0x0;_0x4b4fde--)(_0x1c95c4=_0x434d56[_0x4b4fde])&&(_0x396a1c=_0x1c95c4(_0x396a1c)||_0x396a1c);return _0x396a1c;},_0x560274=(_0xead3d7,_0x41eab7)=>(_0x189b21,_0x3e39df)=>_0x41eab7(_0x189b21,_0x3e39df,_0xead3d7),_0x40ca53=(_0x4d0213,_0x38958a,_0x3541f1)=>_0xbf5497(_0x4d0213,typeof _0x38958a!=_0x106b51(0x2ac)?_0x38958a+'':_0x38958a,_0x3541f1);_0x9f0854['UniverSheetsPivotTablePlugin']=class extends _0x292aa7[_0x106b51(0x404)]{constructor(_0x290935=_0x54ecd7,_0x1e1e99,_0x56e1b6,_0x4d8876,_0x237e25){const _0x210e29=_0x106b51;super(),this[_0x210e29(0x33e)]=_0x290935,this['_injector']=_0x1e1e99,this[_0x210e29(0x264)]=_0x56e1b6,this[_0x210e29(0x320)]=_0x4d8876,this[_0x210e29(0x356)]=_0x237e25;const {..._0x171eab}=_0x292aa7[_0x210e29(0x324)]({},_0x54ecd7,this[_0x210e29(0x33e)]);this[_0x210e29(0x320)][_0x210e29(0x395)](_0x9046a7,_0x171eab),this[_0x210e29(0x3d6)](),this[_0x210e29(0x1e2)]();}['_initConfig'](){const _0x4b5df7=_0x106b51;var _0x96cda6;const _0x354ec5=(_0x96cda6=this[_0x4b5df7(0x33e)])==null?void 0x0:_0x96cda6[_0x4b5df7(0x284)];this[_0x4b5df7(0x320)][_0x4b5df7(0x395)](_0xf8d0df,_0x354ec5===!0x0);}[_0x106b51(0x3dd)](){const _0x3ae77c=_0x106b51;var _0x12bc1a;let _0x3ee70f=[];const _0x5bc5a5=(_0x12bc1a=this[_0x3ae77c(0x33e)])==null?void 0x0:_0x12bc1a[_0x3ae77c(0x284)];_0x5bc5a5===!0x0?_0x3ee70f=[[_0x9f0854['SheetsPivotTableService']],[_0x9f0854[_0x3ae77c(0x1ec)]],[_0x4271c9],[_0x9f0854[_0x3ae77c(0x359)]],[_0x9f0854[_0x3ae77c(0x3a3)]],[_0x3f894c],[_0x402289],[_0x21d322],[_0x34104c]]:_0x5bc5a5===!0x1?_0x3ee70f=[[_0x9f0854[_0x3ae77c(0x1f2)]],[_0x618f83]]:_0x5bc5a5===void 0x0&&(_0x3ee70f=[[_0x9f0854[_0x3ae77c(0x1f2)]],[_0x618f83],[_0x9f0854['SheetsPivotTableService']],[_0x9f0854[_0x3ae77c(0x1ec)]],[_0x4271c9],[_0x9f0854[_0x3ae77c(0x359)]],[_0x9f0854[_0x3ae77c(0x3a3)]],[_0x3f894c],[_0x402289],[_0x21d322],[_0x34104c]]),_0x3ee70f[_0x3ae77c(0x15b)](_0xd34423=>this[_0x3ae77c(0x1cc)][_0x3ae77c(0x1e6)](_0xd34423)),[_0x618f83,_0x4271c9,_0x9f0854[_0x3ae77c(0x409)],_0x402289,_0x3f894c,_0x21d322,_0x34104c][_0x3ae77c(0x15b)](_0x59a258=>{const _0x9bb304=_0x3ae77c;this[_0x9bb304(0x1cc)][_0x9bb304(0x39c)](_0x59a258)&&this[_0x9bb304(0x1cc)]['get'](_0x59a258);});}[_0x106b51(0x3d6)](){const _0x4d5be4=_0x106b51;[_0x43b160,_0x496ff8,_0x382464,_0x3a0663,_0x2268db,_0x5e3908,_0x27dacb,_0x2348bf,_0xacbd1d,_0x5db097,_0x459ffc,_0x53fb2e,_0x40fa59,_0x45f72b,_0x1e0a17,_0x5262c2,_0x6e907c,_0x1f66e3,_0x172116,_0x5b1c8a,_0x527046,_0x50722a,_0x324436,_0x48564e,_0x501cdb,_0x1b753b,_0x3c1d9a,_0x21ca76,_0x44d66c,_0x153636,_0x3e77b3,_0x2136cf,_0x90884,_0x439bc9,_0xb0b6e,_0x1a3162,_0x342ea4,_0x508f1e,_0x22a1ae,_0x14823f,_0x591e97,_0x3c6c1e,_0x1adb8e][_0x4d5be4(0x15b)](_0x50d301=>{const _0x13f2fe=_0x4d5be4;var _0x51f6a5;(_0x51f6a5=this['_dataSyncPrimaryController'])==null||_0x51f6a5[_0x13f2fe(0x18f)](_0x50d301),this[_0x13f2fe(0x264)][_0x13f2fe(0x197)](_0x50d301);});}},_0x40ca53(_0x9f0854[_0x106b51(0x40a)],_0x106b51(0x3ae),_0x4360d2),_0x40ca53(_0x9f0854[_0x106b51(0x40a)],_0x106b51(0x35d),_0x292aa7[_0x106b51(0x299)][_0x106b51(0x265)]),_0x9f0854[_0x106b51(0x40a)]=_0x51b5be([_0x292aa7[_0x106b51(0x427)](_0x1f0349[_0x106b51(0x143)]),_0x560274(0x1,_0x292aa7[_0x106b51(0x1bf)](_0x292aa7[_0x106b51(0x2c3)])),_0x560274(0x2,_0x292aa7['Inject'](_0x292aa7[_0x106b51(0x3ff)])),_0x560274(0x3,_0x292aa7[_0x106b51(0x36b)]),_0x560274(0x4,_0x292aa7[_0x106b51(0x1b2)](_0x549df3[_0x106b51(0x216)]))],_0x9f0854[_0x106b51(0x40a)]),_0x9f0854[_0x106b51(0x3dc)]=_0x382464,_0x9f0854['AddPivotFieldMutation']=_0x1f66e3,_0x9f0854[_0x106b51(0x26c)]=_0x496ff8,_0x9f0854[_0x106b51(0x172)]=_0x1e0a17,_0x9f0854[_0x106b51(0x161)]=_0x43b160,_0x9f0854['BLANK_ROW_COUNT']=_0x707193,_0x9f0854[_0x106b51(0x1f9)]=_0x30429d,_0x9f0854[_0x106b51(0x1c3)]=_0x3a0663,_0x9f0854[_0x106b51(0x33f)]=_0x40fa59,_0x9f0854['PivotDisplayDataType']=_0x971ca5,_0x9f0854[_0x106b51(0x224)]=_0x45f72b,_0x9f0854[_0x106b51(0x1be)]=_0x3fdebd,_0x9f0854[_0x106b51(0x220)]=_0x508f1e,_0x9f0854['PositionType']=_0x4c0f36,_0x9f0854['RemovePivotFieldCommand']=_0x2268db,_0x9f0854[_0x106b51(0x451)]=_0x50722a,_0x9f0854['RemovePivotTableMutation']=_0x6e907c,_0x9f0854[_0x106b51(0x271)]=_0x324436,_0x9f0854[_0x106b51(0x1bd)]=_0x1adb8e,_0x9f0854[_0x106b51(0x16d)]=_0x9046a7,_0x9f0854[_0x106b51(0x268)]=_0x4360d2,_0x9f0854[_0x106b51(0x266)]=_0x2348bf,_0x9f0854[_0x106b51(0x377)]=_0x48564e,_0x9f0854['SetPivotFieldFormatMutation']=_0x439bc9,_0x9f0854[_0x106b51(0x2a2)]=_0x3c6c1e,_0x9f0854[_0x106b51(0x3ad)]=_0x5db097,_0x9f0854['SetPivotFilterMutation']=_0x527046,_0x9f0854[_0x106b51(0x361)]=_0x1b753b,_0x9f0854[_0x106b51(0x25c)]=_0x3c1d9a,_0x9f0854[_0x106b51(0x16e)]=_0xacbd1d,_0x9f0854[_0x106b51(0x15d)]=_0x501cdb,_0x9f0854['SetPivotSubtotalTypeMutation']=_0x90884,_0x9f0854['SetPivotValueFilterCommand']=_0x14823f,_0x9f0854[_0x106b51(0x19c)]=_0x591e97,_0x9f0854[_0x106b51(0x39b)]=_0x27dacb,_0x9f0854[_0x106b51(0x3ef)]=_0x3e77b3,_0x9f0854[_0x106b51(0x362)]=_0x459ffc,_0x9f0854[_0x106b51(0x405)]=_0x342ea4,_0x9f0854[_0x106b51(0x146)]=_0x53fb2e,_0x9f0854[_0x106b51(0x27b)]=_0x1a3162,_0x9f0854['UpdatePivotValuePositionCommand']=_0x5e3908,_0x9f0854[_0x106b51(0x348)]=_0x2136cf,_0x9f0854[_0x106b51(0x3bd)]=_0x66b2a3,_0x9f0854[_0x106b51(0x2bd)]=_0x559421,_0x9f0854[_0x106b51(0x3f5)]=_0x3cfad7,_0x9f0854[_0x106b51(0x397)]=_0x2afb61,_0x9f0854[_0x106b51(0x357)]=_0x4e64a4,_0x9f0854[_0x106b51(0x326)]=_0x1df979,_0x9f0854[_0x106b51(0x277)]=_0xcb7a,_0x9f0854[_0x106b51(0x40f)]=_0x3ec6ee,_0x9f0854[_0x106b51(0x379)]=_0x5e5f05,_0x9f0854[_0x106b51(0x269)]=_0x11bb0e,_0x9f0854['getPivotTableInfo']=_0x520d9d,_0x9f0854[_0x106b51(0x33a)]=_0x1792a5,_0x9f0854['unionPivotViewRange']=_0xa3b11c,Object[_0x106b51(0x454)](_0x9f0854,Symbol[_0x106b51(0x34f)],{'value':_0x106b51(0x39e)});}));function _0x1f09(){const _0x3a4ab7=['_ensureViewDataMap','sheets-pivot.productName','GrandTotal','endCollectChangeset','getCollection','#eceeff','sheet.mutation.rename-pivot-field','pivotTableIndexConfig','string','colCount','PivotSubtotalTypeEnum','updateView','MAX_SAFE_INTEGER','createValueField','valueFields','Filter','dataFields','getTargetByPivotTableId','_requestResolvers','disposeWithMe','NUM','getFieldInfo','pivotTableId','68184brWJsn','getLastRow','#f4f4f5','UniverRpc','iterateFieldDim','Max\x20of\x20','format','sheet.mutation.remove-pivot-table','unitId','isErrorValue','rangesInfo','entries','YearMonth','getPivotTableModelConfig','limit\x20pivot','getLastCol','CustomCommandExecutionError','redos','getFieldDataType','Product\x20of\x20','UniverCore','PivotView','rowFields','LocaleService','getRowCount','sequenceExecute','_refRangeHandle','getformat','RemoveSheetsFilterMutation','fieldId','#FFFFFF','_dataFieldManagerCollection','getPivotTableInstance','IExclusiveRangeService','sheets-pivot.varpName','InsertSheetUndoMutationFactory','PivotCellStyleTypeEnum','cornerRanges','RemoveSheetMutation','collapseInfo','98040Bfoxsm','parseInt','minDate','@univerjs/rpc','_pivotInitCompleted$','result','updateRenderCache','sheet.command.move-pivot-table','getDisplayName','amd','_viewData','length','InterceptorEffectEnum','initDataRanges','realDeleteValue','setPivotSort','unshift','_globalSubject','MoveRangeCommand','column','Subject','_configService','generateNewSheetName','Hour','sheets-pivot.dateGroup.monthDate','merge','PivotTableChangeTypeEnum','getEmptyPivotRanges','rowHeaderMap','isValue','batch','fetchThroughInterceptors','ReleaseType','RANGE_TYPE','UpdatePivotSource','getConfig','getUnit','sheet.mutation.set-pivot-field-subtotal-type','sheet.command.set-pivot-sort','markDirty','Month','subTotalStyle','disposableCollection','single','SetRangeValuesUndoMutationFactory','getTextSize','renameField','transFromCellValue','getRefRangeMutationsByMoveRange','Tools','pivotTableConfigs','_config','MovePivotTableCommand','Count\x20of\x20','DEFAULT_WORKSHEET_COLUMN_COUNT','_viewData$','some','sheets-pivot.grandTotal','getDataFieldId','sheets-pivot.sumName','executeCommand','UpdateValuePositionMutation','setRangeValueUndoMutation','cellValue','COMMAND','getTextInfo','sheets-pivot.cellDateGroupDisplay.yearMonthDate','UniverProSheetsPivot','toStringTag','getRangeData','NORMAL','getTargetByPivotId','_initLocale','updateRangeKeyMap','from','_dataSyncPrimaryController','getAdjustRangesPosition','SheetInterceptorService','SheetsPivotTableAdaptorModel','getPivotTableRangeInfo','getOwnPropertyDescriptor','toJSON','type','SetPivotSort','_localeService','originTargetInfo','SetPivotOptionMutation','UpdatePivotFieldSettingCommand','setDirty','getSheets','getMatrix','SetRangeValuesMutation','deleteUnitId','PivotTableFiledAreaEnum','getFieldPositionInfoById','filter','IConfigService','sheet.command.set-pivot-value-filter','cornerStyle','getViewData','generateMutationsByRanges','min','getSubUnitPivotConfigs','getFieldCountByArea','iterateField','isEmpty','_getPivotAppliedRanges','isColMultiMeasure','SetPivotCollapseMutation','isDateGroupFieldJSON','getPivotCellInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','sheet.mutation.pivot-update-value-position','sheet.mutation.update-date-group','updateDirtyPivotTable','_initSnapshot','addField','Total','@univerjs/sheets-filter','_activeDirtyManagerService','getTableFieldById','SetPivotSetting','Column','sideEffectUpdateWorkerCache','BadReference','getDataFieldItemInfo','updatePivotTableMatrixInfo','_globalComputingSrv','sheets-pivot.stdDevName','getMatrixValue','foreach','filterFields','collections','size','SetSubtotalType','setRange','rangeKey','setPivotFilter','setConfig','AddPivotField','generateSetRangeValueMutations','StdDev\x20of\x20','sheets-pivot.minName','setPivotSetting','UpdateDateGroupCommand','has','getColCount','Module','refreshDataField','registerCallbackWithEvent','_queryingMap','getRangeKey','SheetsPivotTableConfigModel','isArray','_fieldsCollectionChange$','dataRangeInfo','getValuePosition','setSubtotalType','push','SetPivotTableConfig','FieldsCollection','getValueFilterInfos','SetPivotFilterCommand','pluginName','RemoveColMutation','UniverSheets','dateType','@univerjs/engine-formula','startCollectChangeset','PivotTable','addCollection','name','_updateModelCache','valid','undos','Minute','InsertSheetCommand','getPivotTableConfig','applyChangeSet','collectionChange$','rangeKeyMap','sheet.command.remove-pivot-field','_onRefRangeChange','sheetName','number','UniverSheetsFilter','valueFilter','rowStyle','value','hasField','updatePivotTableRangeInfo','Grand\x20Total','CELL_CONTENT','New','_pivotRenderInfoCache','#e6ebfb','Row','PivotErrorTypeEnum','_pivotTableRangeInfo','pushUndoRedo','NAME','GlobalComputingStatusService','sheet.mutation.send-init-pivot-text-local','_initRegisterCommand','RemoveRowMutation','sheet.command.set-pivot-collapse','valuePosition','_sheetsPivotRpcService','SetValuePivotFilter','AddPivotFieldCommand','onStarting','SetFilterInfo','stringify','85210pWnEcc','prototype','sheet.mutation.send-pivot-view-local','YearQuarter','sheets-pivot.dateGroup.year','call','forValue','1319656wvJCso','246aokiLg','_createExclusiveRange','var','displayName','NotNumber','updateCollectionConfig','addRecord','UpdateFieldPositionMutation','drillDown','UpdateValuePosition','Value','getFontStyleString','dataFieldManagerConfig','defaultThemeStyle','pageRanges','_pivotRenderValueMatrixCache','isDateValue','rowCount','measure','colStyle','getValue','NotName','sum','ICommandService','getFullYear','valueIndex','subUnitId','_ensurePivotTableMatrixInfo','Plugin','UpdatePivotFieldSourceInfoMutation','fields','range','UniverProEnginePivot','SheetsPivotTableService','UniverSheetsPivotTablePlugin','isDateGroupField','startColumn','sheet.operation.pivot-table-view-formula-mark-dirty','generateHexNumber','getInsertRowColMutations','sheet.command.update-pivot-table-source-range','updateViewData','3NssQFX','asObservable','forRow','isBottomTotal','SetPivotCollapse','collectionConfig','numfmt','getFieldFormat','getSheetBySheetId','_toJSON','DataFieldManager','getPivotTableMatrixInfo','targetCellInfo','createInterceptorKey','updateFieldSourceInfo','next','rowRanges','PivotTableValuePositionEnum','sortInfo','_ensurePivotTableRangeInfo','PivotViewCellValueTypeEnum','DependentOn','onCommandExecuted','updatePivotSource','formJSON','values','ResetPivotTable','reduce','endColumn','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','Sum\x20of\x20','pivotInitCompleted$','sheets-pivot.value','getPivotItemRenderInfoCache','message','_subjectCollectionChange','sheets-pivot.dateGroup.yearQuarter','getActiveSheet','getFilterInfo','AddPivotTable','setRangeValueRedoMutation','count','subscribe','SHEET_PIVOT_EXCLUSIVE_ID','colRanges','tableFieldId','_collectionChange$','getColumnCount','deleteDataField','Style','DrillDown','handleSourceRangeChange','Quarter','panel','PivotCallbackEnum','getAutoDisplayName','sheet.command.set-pivot-fields-config','RemoveSheetCommand','SetCollapse','18964AfVWJY','rxjs','Div0','get','RemovePivotFieldMutation','dataFieldId','fontRenderExtension','defineProperty','subtotal','_subjectFieldsCollectionChange','setPivotTable','getHeaderMapItem','slice','prefix','registerRefRange','blank','addPivotField','SetPivotFilter','getSheetCommandTarget','handleMoveRange','_updatePivotTableInstanceCache','pivotMutationGenerate','NUMBER','_initRemoveSheetCommandInterceptor','originalFieldId','UniverLicensePlugin','PivotMultipleValueId','removePivotTable','UpdatePivotTableSourceRangeCommand','unshiftString','getUpdateRangeDeleteIds','removeDataField','UniverProLicense','IUniverInstanceService','_host','_deleteModelCache','Add','delete','RefRangeService','_initDataSendListener','columnFields','Panel','refreshGroupField','_viewUpdate$','ObjectMatrix','Collapse','needSameDeleteModel','IFeatureCalculationManagerService','getSourceName','forEach','sheets-pivot.emptyPivot.filter','SetPivotSortMutation','viewUpdate$','shouldClear','createLabelField','AddPivotTableWithConfigCommand','fieldsConfig','_model','_globalComputedEndHelpFunc','sheets-pivot.cellDateGroupDisplay.minute','setSourceName','_sheetsSelectionsService','date','16100370hINyvl','interceptor','SetValueFilter','getSheetId','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','SetPivotSortCommand','version','isNaN','AddField','AddPivotTableMutation','_sheetsPivotTableAdaptorModel','col','INTERCEPTOR_POINT','new','update','onQueryStart','rangeType','sheets-pivot.blank','(Blank)','getPivotTableCellData','setName','getInterceptPoints','updateConfig','setFieldFormat','sheets-pivot.cellDateGroupDisplay.quarter','updateValuePosition','CommandType','body','deepClone','registerDirtyService','replace','getValueIndex','headerMap','getDataFieldByDataFieldId','SetOptions','InterceptorManager','getFieldById','#e6ebfa','registerSyncingMutations','423RRMBHa','document','@univerjs-pro/engine-pivot','width','movePivotField','resetArea','_init','registerCommand','sheets-pivot.dateGroup.month','_initViewModelBySheetInterceptor','Disposable','contains','SetPivotValueFilterMutation','sheets-pivot.dateGroup.hourMinute','versions','Year','sheet.command.set-pivot-filter','rangeCache','query','getFieldIds','getRangeKeyList','generateNullCell','deleteField','sheet.mutation.add-group-collection','setTextInfo','AddPivotTableWithConfig','isDate','UniverEngineFormula','updateAllDisplayName','average','getAutoDisplayNameFunction','dataFieldsCollection','rgb(255,255,255)','sheet.command.add-pivot-field','Optional','grandTotal','_configVersion$','HourMinute','_refRangeService','setCollapse','removeSourceRangeChange','_featureCalculationManagerService','_sheetsPivotTableService','Range','MIN_SAFE_INTEGER','ResetPivotFieldsConfigCommand','PivotTableOperationEnum','Inject','getMonth','data','setSortInfo','MovePivotFieldCommand','max','level','toString','sheet.mutation.set-pivot-format','sheet.command.add-pivot-table-with-config','pushComputingStatusSubject','Delete','sheets-pivot.cellDateGroupDisplay.yearMonth','_injector','sheet.command.reset-pivot-fields-config','_deletePivotTableInstanceCache','removeValueFilterInfoByValueFieldId','sheets-pivot.dateGroup.yearMonthDate','sheets-pivot.config','_initPivotDataGetListener','RemovePivotField','hasOwnProperty','createDataFieldId','DEFAULT_WORKSHEET_ROW_COUNT','generateRandomId','object','configVersion$','collection','InsertSheetMutation','getTypeOfUnitDisposed$','clearRenderCache','keys','params','map','getStyles','_initConfig','filterInfo','getIntersectsPivotTable','adjustSheetCellData','add','MovePivotField','Values','setPivotTableConfig','LifecycleService','isPrefixValue','SheetsPivotRPCService','interceptCommand','Set','CellValueType','setValue','pivotConfigChange$','SheetsPivotDataSourceModel','getDataFieldByTableId','_ensurePivotItemRenderValueMatrixCache','triggerDirtyFeature','isBaseGroupField','MoveRangeMutation','addDataFieldWithoutUnitInfo','DEFAULT_PIVOT_NUMBER','_ensurePivotMap','maxDate','varp','info','getSheetBySheetName','find','sheets-pivot.emptyPivot.values','includes','sheets-pivot.dateGroup.date','fromJSON','fetchThroughAsyncInterceptors','getId','PivotFilterTypeEnum','_initCommandInterceptListener','excelDateToUnixMilliseconds','addExclusiveRange','sheets.tabs.sheet','getSubtotal','tuple','updateViewInfo','getDataFieldByRangeKey','getNoUsedDataFieldIds','sheets-pivot.subTotal','sheet.mutation.remove-group-collection','colInfo','addDirtyPivotTable','floor','SetWorksheetColWidthMutation','DataSyncPrimaryController','options','Expand','asyncInterceptor','sheets-pivot.dateGroup.hour','@univerjs-pro/license','getSubUnitPivotRenderCache','COLUMN','markDirty$','paths','PivotTableViewDirtyMarkOperation','Varp\x20of\x20','addPivotTable','viewData$','PivotDrillDownCommand','MonthDate','function','dispose','Subtotal','sheet.mutation.add-pivot-field','_univerInstanceService','countNums','addCollectionByJSON','startRow','ptn','mergeWorksheetSnapshotWithDefault','sheets-pivot.cellDateGroupDisplay.date','_initGlobalComputed','ClearSelectionContentCommand','getPivotTableIdByCell','updateConfigCache','#1d32e9','iterateFieldByArea','_sheetInterceptorService','bind','_markDirty$','return\x20','BaseGroupField','addFieldWithSourceId','refreshData','broadcastCollectionChange','isFeatureAuthorizedWithinTime','sheet.mutation.get-pivot-data-local','STRING','getCellMatrix','setPivotInitCompleted','getName','fieldIds','random','sheet.mutation.update-pivot-table-source-range','_initPivotTextInfo','error','Date','Rectangle','_generateUniqueVersion','getPivotPerformCheck','PIVOT_MUTATION_GENERATE','pbt','SetWorksheetActiveOperation','numberToABC','getDataFieldManager','sheet.mutation.set-pivot-sort-info','resetPivotTable','_exclusiveRangeService','getFormatInfo','getOriginFieldId','NO_COMMERCIAL','sheets-pivot.maxName','setOptions','ErrorType','SetPivotPositionMutation','leafStyle','sheet.command.move-pivot-field','_resourceManagerService','sheets-pivot.emptyPivot.column','rgb(240,241,243)','FontCache','_collectionConfigModel','_commandService','UNIVER_SHEET','SetPivotCollapseCommand','_sheetsPivotTableConfigModel','SHEET_PIVOT_TABLE_PLUGIN','getPivotInfoByLicense','PivotDateGroupFieldDateTypeEnum','intercept','AddPivotTableCommand','sheet.mutation.send-pivot-data-local','\x20-\x20','getPivotDisplayConfig','register','RenamePivotFieldMutation','lastCol','getMatrixFromRunTimeData','updateFieldPosition','areaInfo','getSortInfo','getFieldListByArea','_initUnitDisposed','dataStyle','set','UpdatePivotTableSourceRangeMutation','sheet.command.update-pivot-value-position','createAsyncInterceptorKey','IResourceManagerService','token','getCellRaw','getDate','removeField','getIntersects','notExecuteFormula','InsertRowMutation','ManualFilter','getDirtyInfo','SetSheetsFilterRangeMutation','_getAutoName','getPivotDirtyViewInfo','sheet.command.update-date-group','getRangeStartEndInfo','addPivotTableWithConfig','setValueFilterInfo','_updateRenderEmptyCache','sheet.mutation.pivot-update-field-position','setPivotCollapse','sourceRangeInfo','concat','lastRow','getCurrentUnitForType','removePivotField','handleAsyncResponse','YearMonthDate','UniverInstanceType','_initClearSelectionCommandInterceptor','LS_CONFIG_KEY','3937612nKNcxR','sheet.command.add-pivot-table','_subjectViewChange','endRow','_pivotTableInstanceCache','onQueryEnd','SetPivotFieldsConfigCommand','queryDirtyPivotTable','substring','_textInfo','custom','ClearSelectionAllCommand','getAutoFitColumnsMutations','oldMatrix','setValuePivotFilter','dimension','symbol','uniqueDataFieldName','DateGroupField','_pivotConfigChange$','product','getUnitId','sheets-pivot.averageName','splice','sheets-pivot.countNumsName','getIndexesByPathStr','IUndoRedoService','sheets-pivot.cellDateGroupDisplay.hour','row','MUTATION','sheet.mutation.send-pivot-config-local','Min\x20of\x20','createCollectionWithDataRange','canUsePivot','_pivotTableMatrixInfo','_sheetsPivotDataSourceModel','removeValueFilterInfo','parse','REF','Injector','workbook\x20is\x20not\x20found','PivotDataFieldDataTypeEnum','setLabelFilterInfo','removeCollectionImp','cellToRange','rowInfo','pageStyle','Var\x20of\x20'];_0x1f09=function(){return _0x3a4ab7;};return _0x1f09();}