@univerjs-pro/sheets-pivot 0.15.2 → 0.15.3-insiders.20260131-cbd5fac

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 (61) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -0
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/license/encrypted-func.d.ts +1 -0
  44. package/lib/types/locale/sk-SK.d.ts +3 -0
  45. package/lib/umd/facade.js +1 -1
  46. package/lib/umd/index.js +1 -1
  47. package/lib/umd/locale/ca-ES.js +1 -1
  48. package/lib/umd/locale/en-US.js +1 -1
  49. package/lib/umd/locale/es-ES.js +1 -1
  50. package/lib/umd/locale/fa-IR.js +1 -1
  51. package/lib/umd/locale/fr-FR.js +1 -1
  52. package/lib/umd/locale/ja-JP.js +1 -1
  53. package/lib/umd/locale/ko-KR.js +1 -1
  54. package/lib/umd/locale/ru-RU.js +1 -1
  55. package/lib/umd/locale/sk-SK.js +1 -0
  56. package/lib/umd/locale/vi-VN.js +1 -1
  57. package/lib/umd/locale/zh-CN.js +1 -1
  58. package/lib/umd/locale/zh-TW.js +1 -1
  59. package/package.json +11 -11
  60. package/lib/types/controllers/const.d.ts +0 -1
  61. package/lib/types/{common/const.d.ts → license/reverse-mapping.d.ts} +41 -41
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2da491,_0x4648db){const _0x57ee87=_0x4f25,_0x4a593a=_0x2da491();while(!![]){try{const _0x11031b=parseInt(_0x57ee87(0x4aa))/0x1*(-parseInt(_0x57ee87(0x2d1))/0x2)+-parseInt(_0x57ee87(0x20f))/0x3+parseInt(_0x57ee87(0x383))/0x4+-parseInt(_0x57ee87(0x1be))/0x5*(parseInt(_0x57ee87(0x2f4))/0x6)+parseInt(_0x57ee87(0x317))/0x7+-parseInt(_0x57ee87(0x2df))/0x8*(-parseInt(_0x57ee87(0x302))/0x9)+-parseInt(_0x57ee87(0x2ff))/0xa*(-parseInt(_0x57ee87(0x22a))/0xb);if(_0x11031b===_0x4648db)break;else _0x4a593a['push'](_0x4a593a['shift']());}catch(_0x15312b){_0x4a593a['push'](_0x4a593a['shift']());}}}(_0x2e2d,0xb73db),function(_0x1f4d62,_0x384f1d){const _0x1dc596=_0x4f25;typeof exports==_0x1dc596(0x2c3)&&typeof module<'u'?_0x384f1d(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==_0x1dc596(0x1ff)&&define[_0x1dc596(0x3c6)]?define(['exports','@univerjs-pro/engine-pivot',_0x1dc596(0x421),_0x1dc596(0x396),_0x1dc596(0x40f),_0x1dc596(0x46c),_0x1dc596(0x255),_0x1dc596(0x451),_0x1dc596(0x2b0),_0x1dc596(0x27b)],_0x384f1d):(_0x1f4d62=typeof globalThis<'u'?globalThis:_0x1f4d62||self,_0x384f1d(_0x1f4d62[_0x1dc596(0x1af)]={},_0x1f4d62[_0x1dc596(0x47b)],_0x1f4d62[_0x1dc596(0x39b)],_0x1f4d62['UniverEngineFormula'],_0x1f4d62[_0x1dc596(0x30f)],_0x1f4d62['rxjs'],_0x1f4d62[_0x1dc596(0x462)],_0x1f4d62['UniverSheetsFilter'],_0x1f4d62['UniverRpc'],_0x1f4d62[_0x1dc596(0x359)]));}(this,function(_0x590b76,_0x294c18,_0x5c6728,_0x36260d,_0x102fa6,_0x5ade5d,_0x10eb30,_0x254ff3,_0x5a9ee6,_0x59b0da){'use strict';const _0x45d80e=_0x4f25;var _0x2c1bee=Object[_0x45d80e(0x444)],_0x1dfe33=(_0xffe5d1,_0x4091c6,_0x4cd1bd)=>_0x4091c6 in _0xffe5d1?_0x2c1bee(_0xffe5d1,_0x4091c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cd1bd}):_0xffe5d1[_0x4091c6]=_0x4cd1bd,_0x1a448b=(_0x47851e,_0x44992f,_0x77aee8)=>_0x1dfe33(_0x47851e,typeof _0x44992f!=_0x45d80e(0x1ee)?_0x44992f+'':_0x44992f,_0x77aee8);const _0x120aab=Number[_0x45d80e(0x367)](0x696b3fdb),_0xd521c3=0x10,_0x1defd2=0x1,_0x1bf6a3=_0x45d80e(0x4b3),_0x1414fc=0x1,_0x76ceab=_0x45d80e(0x1c9),_0xc802f9=_0x45d80e(0x322),_0xfefd49=_0x45d80e(0x3fb),_0x249b2a=_0x45d80e(0x1d0),_0x1150bb=_0x45d80e(0x1d0),_0x491626=_0x45d80e(0x22c),_0x1ba408='#1d32e9',_0x96fac6='#FFFFFF',_0x3124bc=_0x45d80e(0x260),_0x5afb58='#1d32e9',_0x8b9766='#FFFFFF',_0x2c37d6='#e6ebfb',_0x135085=0xe,_0x451db9=0x6;var _0x425ca6=(_0x2f571a=>(_0x2f571a['Existing']=_0x45d80e(0x3ac),_0x2f571a[_0x45d80e(0x43a)]='new',_0x2f571a))(_0x425ca6||{});const _0x490b5d={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x1cff88=0x1e,_0x249823={'b':{'s':0x1,'cl':{'rgb':_0xfefd49}},'l':{'s':0x1,'cl':{'rgb':_0xfefd49}},'r':{'s':0x1,'cl':{'rgb':_0xfefd49}},'t':{'s':0x1,'cl':{'rgb':_0xfefd49}}},_0x3400c2={'bg':{'rgb':_0x76ceab},'ht':0x2,'vt':0x2,'tb':0x1},_0x259f13={'bg':{'rgb':_0xc802f9},'ht':0x2,'vt':0x2,'tb':0x1},_0x570805={'rowStyle':{'bg':{'rgb':_0x2c37d6},'bd':_0x249823,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5afb58},'bd':null,'cl':{'rgb':_0x8b9766},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x249823,'bg':{'rgb':_0x3124bc},'vt':0x2},'cornerStyle':{'bd':_0x249823,'bg':{'rgb':_0x491626},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x249823,'bg':{'rgb':_0x249b2a},'vt':0x2},'leafStyle':{'bd':_0x249823,'bg':{'rgb':_0x1150bb},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1ba408},'cl':{'rgb':_0x96fac6},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x249823,'vt':0x2}};function _0x3aaee8(_0xa5f042,_0xc1a66c,_0x4c09eb){const _0x195803=_0x45d80e,_0x2771a6=_0xa5f042[_0x195803(0x3bb)](_0x5c6728[_0x195803(0x1b0)]),_0x31a99f=_0x4c09eb['split']('_');switch(_0xc1a66c){case _0x294c18[_0x195803(0x2a5)][_0x195803(0x1cb)]:return _0x2771a6['t'](_0x195803(0x389),..._0x31a99f);case _0x294c18[_0x195803(0x2a5)]['Minute']:return _0x2771a6['t'](_0x195803(0x226),..._0x31a99f);case _0x294c18[_0x195803(0x2a5)]['Hour']:return _0x2771a6['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x31a99f);case _0x294c18[_0x195803(0x2a5)][_0x195803(0x39d)]:return _0x2771a6['t'](_0x195803(0x419),..._0x31a99f);case _0x294c18[_0x195803(0x2a5)]['Date']:return _0x2771a6['t'](_0x195803(0x329),..._0x31a99f);case _0x294c18[_0x195803(0x2a5)][_0x195803(0x432)]:return _0x2771a6['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x31a99f);case _0x294c18['PivotDateGroupFieldDateTypeEnum'][_0x195803(0x2f3)]:return _0x2771a6['t'](_0x195803(0x469),..._0x31a99f);case _0x294c18[_0x195803(0x2a5)][_0x195803(0x227)]:return _0x2771a6['t'](_0x195803(0x283),..._0x31a99f);case _0x294c18[_0x195803(0x2a5)][_0x195803(0x3be)]:return _0x2771a6['t'](_0x195803(0x382),..._0x31a99f);case _0x294c18[_0x195803(0x2a5)][_0x195803(0x22d)]:return _0x2771a6['t'](_0x195803(0x299),..._0x31a99f);}return'';}const _0x1f833f=(_0x3ae176,_0x23885a,_0x3cee85,_0x316023)=>{const _0x1da188=_0x45d80e;let _0x1f7a4d;const _0x20be91=_0x3ae176[_0x1da188(0x3bb)](_0x5c6728[_0x1da188(0x1dc)])['getCurrentUnitForType'](_0x5c6728[_0x1da188(0x420)][_0x1da188(0x3f6)]);if(!_0x20be91)return null;const _0x59f204=_0x20be91[_0x1da188(0x2c0)]();let _0x9359a0;if(_0x3cee85&&(_0x9359a0=_0x59f204['setValue'](_0x3cee85)),_0x23885a!=null&&_0x23885a['v']||(_0x23885a==null?void 0x0:_0x23885a['v'])===0x0){_0x1f7a4d||(_0x1f7a4d={});const _0x200928=_0x549717(_0x23885a['v']);typeof _0x200928==_0x1da188(0x3d6)?_0x1f7a4d['t']=_0x5c6728[_0x1da188(0x2ee)][_0x1da188(0x1ba)]:typeof _0x200928==_0x1da188(0x2b7)&&(_0x1f7a4d['t']=_0x5c6728[_0x1da188(0x2ee)][_0x1da188(0x316)]),_0x1f7a4d['v']=_0x200928;}if((_0x23885a!=null&&_0x23885a['i']||(_0x23885a==null?void 0x0:_0x23885a['i'])===0x0)&&(_0x1f7a4d||(_0x1f7a4d={}),_0x1f7a4d['fi']=_0x23885a['i']),_0x23885a!=null&&_0x23885a['s']&&(_0x1f7a4d||(_0x1f7a4d={}),_0x1f7a4d[_0x1da188(0x3ea)]=_0x23885a['s']),_0x3cee85&&(_0x1f7a4d||(_0x1f7a4d={}),_0x1f7a4d['s']=_0x9359a0),_0x316023&&_0x1f7a4d!=null&&_0x1f7a4d['v']&&_0x1f7a4d[_0x1da188(0x3ea)]!==_0x294c18[_0x1da188(0x265)]['GrandTotal']&&_0x1f7a4d[_0x1da188(0x3ea)]!==_0x294c18['PivotCellStyleTypeEnum'][_0x1da188(0x4bf)]){const _0x4662ca=String(_0x1f7a4d['v']),{dateType:_0x56588a}=_0x316023;_0x1f7a4d['v']=_0x3aaee8(_0x3ae176,_0x56588a,_0x4662ca),_0x1f7a4d['t']=_0x5c6728[_0x1da188(0x2ee)][_0x1da188(0x316)];}return _0x1f7a4d;},_0x15ac8e=(_0x32def0,_0x979806,_0xdf7075,_0x9855dc)=>{const _0x4ad843=_0x45d80e;var _0x3b9f14,_0xdb0d99,_0x18bf59,_0x599d93,_0x2d5162,_0x5f15c5,_0x78fcf8,_0x5e863c,_0x4b194e,_0x56d300,_0x17b8aa,_0x56e30b,_0x424872,_0x3e9977;const _0x5b4406=_0xdf7075[_0x4ad843(0x309)],{cornerView:_0x4152fc,rowView:_0x5163cf,colView:_0x5d29b1,dataView:_0x68275d,pageView:_0xa767e6,formatMap:_0x478f47,groupInfo:_0x3c476b}=_0x979806,{row:_0x40f4ff,col:_0x10e6b4}=_0x5b4406,_0x178779=new _0x5c6728['ObjectMatrix'](),_0x2075f6={},_0x741331={},_0x45e6f1={},_0x3af833={},_0x401879={};let _0x23c2e7=_0x40f4ff,_0x575796=_0x10e6b4;Object[_0x4ad843(0x413)](_0xa767e6[_0x4ad843(0x3d5)])['forEach'](_0x524c44=>{const _0x31e670=_0x4ad843;Object[_0x31e670(0x413)](_0xa767e6[_0x31e670(0x3d5)][Number(_0x524c44)])[_0x31e670(0x1d9)](_0x11b78f=>{const _0x45e395=_0x31e670,_0x404c11={..._0xa767e6[_0x45e395(0x3d5)][Number(_0x524c44)][Number(_0x11b78f)]};_0x178779[_0x45e395(0x33e)](Number(_0x524c44)+_0x23c2e7,Number(_0x11b78f)+_0x575796,_0x1f833f(_0x32def0,_0x404c11,_0x570805['pageStyle']));});});const _0x28ce32=Object[_0x4ad843(0x413)](_0xa767e6[_0x4ad843(0x3d5)])[_0x4ad843(0x1ac)];_0x23c2e7+=_0x28ce32+(_0x28ce32?_0x1414fc:0x0);const _0x1ecc16=_0x4152fc[_0x4ad843(0x2a6)](),_0x69257c=_0x4152fc[_0x4ad843(0x3b0)]();for(let _0x568a23=0x0;_0x568a23<_0x1ecc16;_0x568a23++)for(let _0x4ca96d=0x0;_0x4ca96d<_0x69257c;_0x4ca96d++){const _0x5753f0={...(_0xdb0d99=(_0x3b9f14=_0x4152fc[_0x4ad843(0x3d5)])==null?void 0x0:_0x3b9f14[_0x568a23])==null?void 0x0:_0xdb0d99[_0x4ca96d]};_0x5753f0&&(_0x18bf59=_0x5163cf['headerMap'][_0x4ca96d])!=null&&_0x18bf59[_0x4ad843(0x1d6)]&&_0x4ca96d===_0x69257c-0x1&&_0x568a23===_0x1ecc16-0x1&&(_0x5753f0['v']=''+_0x9855dc[_0x4ad843(0x305)]),_0x178779[_0x4ad843(0x33e)](_0x568a23+_0x23c2e7,_0x4ca96d+_0x575796,_0x1f833f(_0x32def0,_0x5753f0,_0x570805[_0x4ad843(0x3e7)]));}for(let _0x5257f6=0x0;_0x5257f6<_0x4152fc[_0x4ad843(0x411)][_0x4ad843(0x1ac)];_0x5257f6++)_0x4152fc[_0x4ad843(0x411)][_0x5257f6]&&(_0x45e6f1[''+(_0x5257f6+_0x575796)]=_0x4152fc[_0x4ad843(0x411)][_0x5257f6]);_0x575796+=_0x69257c;const _0x423547=_0x5d29b1[_0x4ad843(0x26b)],_0x5519df=_0x5d29b1['getLastRow']()>=0x0?_0x5d29b1[_0x4ad843(0x1c0)]()+0x1:0x0,_0xbb5a4a=_0x5d29b1[_0x4ad843(0x289)]()>=0x0?_0x5d29b1['getLastCol']()+0x1:0x0;for(let _0x25573b=0x0;_0x25573b<_0xbb5a4a;_0x25573b++){for(let _0x44ad04=0x0;_0x44ad04<_0x5519df;_0x44ad04++){const _0x4770cd={...(_0x2d5162=(_0x599d93=_0x5d29b1['data'])==null?void 0x0:_0x599d93[_0x44ad04])==null?void 0x0:_0x2d5162[_0x25573b]},_0x30f845=(_0x5f15c5=_0x423547[_0x44ad04])==null?void 0x0:_0x5f15c5[_0x4ad843(0x1d7)],_0x2a3b65=_0x478f47[_0x30f845],_0x1457c7=_0x3c476b[_0x30f845];_0x4770cd&&(_0x4770cd['v']=_0x1634bf(_0x4770cd,_0x44ad04===0x0&&((_0x78fcf8=_0x5d29b1['getHeaderMapItem'](_0x25573b+0x1))==null?void 0x0:_0x78fcf8[_0x4ad843(0x1d6)]),_0x2a3b65,_0x9855dc));let _0x5007e1;_0x2a3b65?_0x5007e1={..._0x570805[_0x4ad843(0x433)],'n':{'pattern':_0x2a3b65}}:_0x5007e1={..._0x570805[_0x4ad843(0x433)]},_0x178779[_0x4ad843(0x33e)](_0x44ad04+_0x23c2e7,_0x25573b+_0x575796,_0x1f833f(_0x32def0,_0x4770cd,_0x5007e1,_0x1457c7));}_0x5d29b1[_0x4ad843(0x411)][_0x25573b]&&(_0x741331[''+(_0x25573b+_0x575796)]=_0x5d29b1['info'][_0x25573b]),_0x5d29b1['headerMap'][_0x25573b+0x1]&&(_0x401879[''+(_0x25573b+_0x23c2e7+0x1)]=_0x5d29b1['headerMap'][_0x25573b+0x1]);}_0x23c2e7+=_0x1ecc16;const _0x47dced=_0x5163cf[_0x4ad843(0x26b)],_0x5314c5=_0x5163cf['getLastRow']()>=0x0?_0x5163cf[_0x4ad843(0x1c0)]()+0x1:0x0,_0x32896f=_0x5163cf['getLastCol']()>=0x0?_0x5163cf[_0x4ad843(0x289)]()+0x1:0x0;for(let _0x1365c7=0x0;_0x1365c7<_0x5314c5;_0x1365c7++){for(let _0x52b75d=0x0;_0x52b75d<_0x32896f;_0x52b75d++){const _0x2a7b1e={...(_0x4b194e=(_0x5e863c=_0x5163cf[_0x4ad843(0x3d5)])==null?void 0x0:_0x5e863c[_0x1365c7])==null?void 0x0:_0x4b194e[_0x52b75d]},_0x52d74b=(_0x56d300=_0x47dced[_0x52b75d])==null?void 0x0:_0x56d300['tableFieldId'],_0x5c2f64=_0x478f47[_0x52d74b],_0xcfad5b=_0x3c476b[_0x52d74b];_0x2a7b1e&&(_0x2a7b1e['v']=_0x1634bf(_0x2a7b1e,!0x1,_0x5c2f64,_0x9855dc));let _0x255027;_0x5163cf[_0x4ad843(0x411)][_0x1365c7][_0x4ad843(0x1c2)]===_0x5163cf[_0x4ad843(0x3b0)]()?_0x255027=_0x570805['leafStyle']:_0x5163cf[_0x4ad843(0x411)][_0x1365c7][_0x4ad843(0x293)]?_0x255027=_0x5163cf[_0x4ad843(0x411)][_0x1365c7][_0x4ad843(0x1c2)]===0x0?_0x570805[_0x4ad843(0x2bb)]:_0x570805[_0x4ad843(0x46f)]:_0x255027=_0x570805['rowStyle'],_0x5c2f64&&(_0x255027={..._0x255027,'n':{'pattern':_0x5c2f64}}),_0x178779[_0x4ad843(0x33e)](_0x1365c7+_0x23c2e7,_0x52b75d+_0x10e6b4,_0x1f833f(_0x32def0,_0x2a7b1e,_0x255027,_0xcfad5b));}_0x5163cf[_0x4ad843(0x411)][_0x1365c7]&&(_0x2075f6[''+(_0x1365c7+_0x23c2e7)]=_0x5163cf[_0x4ad843(0x411)][_0x1365c7]),_0x5163cf[_0x4ad843(0x26b)][_0x1365c7]&&(_0x3af833[''+(_0x1365c7+_0x10e6b4)]=_0x5163cf[_0x4ad843(0x26b)][_0x1365c7]);}const _0x27a210=_0x68275d[_0x4ad843(0x2a6)](),_0x4355a5=_0x68275d[_0x4ad843(0x3b0)]();for(let _0x2471f2=0x0;_0x2471f2<_0x27a210;_0x2471f2++)for(let _0x29c586=0x0;_0x29c586<_0x4355a5;_0x29c586++){const _0x813068={...(_0x56e30b=(_0x17b8aa=_0x68275d[_0x4ad843(0x3d5)])==null?void 0x0:_0x17b8aa[_0x2471f2])==null?void 0x0:_0x56e30b[_0x29c586]};let _0xfbdda7;_0x5163cf[_0x4ad843(0x411)][_0x2471f2][_0x4ad843(0x293)]?_0xfbdda7=_0x5163cf[_0x4ad843(0x411)][_0x2471f2][_0x4ad843(0x1c2)]===0x0?_0x570805['grandTotal']:_0x570805['subTotalStyle']:_0xfbdda7=_0x570805[_0x4ad843(0x1ea)];const _0x2e533c=_0x5163cf[_0x4ad843(0x411)][_0x2471f2][_0x4ad843(0x1bd)],_0x22ce59=_0x5d29b1['info'][_0x29c586][_0x4ad843(0x1bd)],_0x489789=Math['max'](_0x2e533c,_0x22ce59),_0x558d21=_0xdf7075[_0x4ad843(0x491)]['valueFields']['concat']();let _0x39fb8b='';_0x489789<0x0?_0x39fb8b=(_0x424872=_0x558d21[0x0])!=null?_0x424872:'':_0x39fb8b=(_0x3e9977=_0x558d21[_0x489789])!=null?_0x3e9977:'';const _0x4a0ece=_0x478f47[_0x39fb8b];_0x4a0ece&&(_0xfbdda7={..._0xfbdda7,'n':{'pattern':_0x4a0ece}}),_0x178779[_0x4ad843(0x33e)](_0x2471f2+_0x23c2e7,_0x29c586+_0x575796,_0x1f833f(_0x32def0,_0x813068,_0xfbdda7));}return{'valueMatrix':_0x178779,'rowInfo':_0x2075f6,'colInfo':_0x741331,'cornerInfo':_0x45e6f1,'rowHeaderMap':_0x3af833,'colHeaderMap':_0x401879};};function _0x1634bf(_0x890872,_0x14a6c5,_0xc9140,_0x494ad4){const _0x4c97f3=_0x45d80e;let _0x55d814=_0x890872['v'];_0x14a6c5&&(_0x55d814=''+_0x494ad4[_0x4c97f3(0x305)]);const _0x5a1b14=_0x890872['t']&&(_0x890872['t']&_0x294c18[_0x4c97f3(0x286)][_0x4c97f3(0x497)])>0x0;_0x5a1b14&&(_0x55d814=''+_0x494ad4[_0x4c97f3(0x201)]);const _0xf0aa7e=_0x890872['t']&&(_0x890872['t']&_0x294c18[_0x4c97f3(0x286)][_0x4c97f3(0x437)])>0x0;if(_0xf0aa7e&&(_0x55d814=''+_0x494ad4[_0x4c97f3(0x1f5)]),_0x890872['s']===_0x294c18[_0x4c97f3(0x265)][_0x4c97f3(0x4bf)]){let _0x46919d=_0x55d814,_0x51e3ed='';_0x294c18[_0x4c97f3(0x45e)](_0x55d814)&&(_0x46919d=_0x55d814[_0x4c97f3(0x42d)],_0x51e3ed=_0x55d814[_0x4c97f3(0x3f5)]);const _0x30a1fe=_0xc9140&&!_0x5a1b14&&!_0xf0aa7e?_0x5c6728[_0x4c97f3(0x343)][_0x4c97f3(0x443)](_0xc9140,Number(_0x46919d)):_0x46919d;_0x51e3ed?_0x55d814=_0x30a1fe+'\x20'+_0x51e3ed:_0x55d814=_0x30a1fe+'\x20'+_0x494ad4[_0x4c97f3(0x1e0)];}else _0x890872['s']===_0x294c18[_0x4c97f3(0x265)][_0x4c97f3(0x48c)]&&(_0x55d814=_0x55d814+'\x20'+_0x494ad4[_0x4c97f3(0x295)]);return _0x55d814;}function _0x549717(_0x20c06e){const _0xce50fa=_0x45d80e;if(_0x294c18[_0xce50fa(0x4a9)](_0x20c06e)){const {errorType:_0x2b8ff2}=_0x20c06e;switch(_0x2b8ff2){case _0x294c18[_0xce50fa(0x1ae)][_0xce50fa(0x240)]:return _0x36260d[_0xce50fa(0x41a)]['DIV_BY_ZERO'];case _0x294c18[_0xce50fa(0x1ae)]['NotNumber']:return _0x36260d['ErrorType'][_0xce50fa(0x1b8)];case _0x294c18[_0xce50fa(0x1ae)][_0xce50fa(0x33d)]:return _0x36260d[_0xce50fa(0x41a)][_0xce50fa(0x298)];case _0x294c18[_0xce50fa(0x1ae)][_0xce50fa(0x2e9)]:return _0x36260d[_0xce50fa(0x41a)][_0xce50fa(0x298)];case _0x294c18[_0xce50fa(0x1ae)][_0xce50fa(0x2fe)]:return _0x36260d['ErrorType'][_0xce50fa(0x1db)];}}return _0x20c06e;}function _0x4a28b0(_0x1bb621,_0xafcf15,_0x1af3ad=!0x1,_0x3a159b=!0x1){const _0x7170b3=_0x45d80e,{data:_0x1fb3f7}=_0xafcf15,_0x5cb2ec=_0xafcf15[_0x7170b3(0x2a6)](),_0x9f0390=_0xafcf15[_0x7170b3(0x3b0)]();if(_0x5cb2ec<=0x0||_0x9f0390<=0x0)return[];const _0xa6fa8c=_0xafcf15[_0x7170b3(0x289)](),_0x491a18=_0xafcf15[_0x7170b3(0x1c0)](),_0x3da094=_0x3a159b?_0x491a18>=0x0?_0x491a18+0x1:0x0:_0x5cb2ec,_0x11dfac=_0x3a159b?_0xa6fa8c>=0x0?_0xa6fa8c+0x1:0x0:_0x9f0390,{row:_0x16e436,col:_0x4b0669}=_0x1bb621,_0x23f64d=_0x16e436,_0x39dedc=_0x4b0669;if(_0x1af3ad){const _0x4f26a1=[];for(const [_0x52a63f,_0x495b2a]of Object[_0x7170b3(0x333)](_0x1fb3f7))for(const [_0x1a8ad4,_0x25eea6]of Object[_0x7170b3(0x333)](_0x495b2a))_0x4f26a1[_0x7170b3(0x267)](_0x5c6728[_0x7170b3(0x3fd)](_0x23f64d+Number(_0x52a63f),_0x39dedc+Number(_0x1a8ad4)));return _0x4f26a1;}else{const _0x338731=_0x3a159b?_0x3da094>0x0?0x1:0x0:0x1,_0xe93f1e=_0x3a159b?_0x11dfac>0x0?0x1:0x0:0x1,_0x76e726=_0x16e436+_0x3da094-_0x338731,_0x4d9785=_0x4b0669+_0x11dfac-_0xe93f1e;return[{'startRow':_0x23f64d,'startColumn':_0x39dedc,'endRow':_0x76e726,'endColumn':_0x4d9785}];}}const _0x2fa52c='SHEET_PIVOT_IN_MAIN_THREAD',_0x573dd1='SHEET_PIVOT_EXCLUSIVE_ID';var _0x5b28b3=(_0x5cd09d=>(_0x5cd09d[_0x45d80e(0x214)]=_0x45d80e(0x3a3),_0x5cd09d[_0x45d80e(0x388)]='panel',_0x5cd09d['AddPivotField']='addPivotField',_0x5cd09d[_0x45d80e(0x464)]=_0x45d80e(0x464),_0x5cd09d[_0x45d80e(0x320)]='addPivotTable',_0x5cd09d[_0x45d80e(0x2a2)]=_0x45d80e(0x4a2),_0x5cd09d[_0x45d80e(0x461)]=_0x45d80e(0x259),_0x5cd09d[_0x45d80e(0x3cf)]=_0x45d80e(0x35f),_0x5cd09d['SetPivotFilter']=_0x45d80e(0x1ef),_0x5cd09d['SetPivotSort']=_0x45d80e(0x28b),_0x5cd09d[_0x45d80e(0x1fb)]=_0x45d80e(0x3d8),_0x5cd09d[_0x45d80e(0x2e5)]='updatePivotSource',_0x5cd09d[_0x45d80e(0x1dd)]='updateValuePosition',_0x5cd09d['DrillDown']='drillDown',_0x5cd09d[_0x45d80e(0x331)]='setValuePivotFilter',_0x5cd09d[_0x45d80e(0x250)]=_0x45d80e(0x2cd),_0x5cd09d['ResetPivotTable']=_0x45d80e(0x4bb),_0x5cd09d))(_0x5b28b3||{});const _0xa42408={'sheets-pivot.blankValue':_0x45d80e(0x330),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x45d80e(0x28e),'sheets-pivot.grandTotalText':_0x45d80e(0x415),'sheets-pivot.valueText':_0x45d80e(0x230),'sheets-pivot.averageName':_0x45d80e(0x266),'sheets-pivot.countName':_0x45d80e(0x412),'sheets-pivot.countNumsName':_0x45d80e(0x412),'sheets-pivot.maxName':_0x45d80e(0x3b6),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x45d80e(0x4a3),'sheets-pivot.sumName':_0x45d80e(0x1fc),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x45d80e(0x3e6),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x45d80e(0x415),'sheets-pivot.value':'value','sheets-pivot.blank':_0x45d80e(0x497),'sheets-pivot.other':_0x45d80e(0x437),'sheets-pivot.emptyPivot.filter':_0x45d80e(0x214),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x45d80e(0x2f8),'sheets-pivot.emptyPivot.values':'Values'},_0x10ac0e={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x201e9f=_0x5c6728['createAsyncInterceptorKey'](_0x45d80e(0x47a)),_0x2cffc4=_0x5c6728['createInterceptorKey'](_0x45d80e(0x34a));var _0xc0c401=(_0x3d7758=>(_0x3d7758[_0x45d80e(0x256)]=_0x45d80e(0x256),_0x3d7758[_0x45d80e(0x26d)]=_0x45d80e(0x26d),_0x3d7758[_0x45d80e(0x30c)]=_0x45d80e(0x30c),_0x3d7758))(_0xc0c401||{}),_0xee3020=(_0x212e8a=>(_0x212e8a[_0x45d80e(0x1c1)]='add',_0x212e8a[_0x45d80e(0x1d3)]='set',_0x212e8a[_0x45d80e(0x1fd)]=_0x45d80e(0x26d),_0x212e8a))(_0xee3020||{});const _0x54487c={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x3b1),'handler':()=>!0x0},_0x506111={'type':_0x5c6728['CommandType'][_0x45d80e(0x374)],'id':_0x45d80e(0x323),'handler':()=>!0x0},_0x10e31e={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x4c0bcd={'type':_0x5c6728[_0x45d80e(0x33c)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x54c4b5={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x2377e6=Object[_0x45d80e(0x2c1)],_0xf95b81=(_0xdc6f3f,_0x317fa7,_0x732e57,_0x43dd66)=>{const _0x2fb6b3=_0x45d80e;for(var _0x2aa843=_0x43dd66>0x1?void 0x0:_0x43dd66?_0x2377e6(_0x317fa7,_0x732e57):_0x317fa7,_0x4358c2=_0xdc6f3f[_0x2fb6b3(0x1ac)]-0x1,_0x1d66ba;_0x4358c2>=0x0;_0x4358c2--)(_0x1d66ba=_0xdc6f3f[_0x4358c2])&&(_0x2aa843=_0x1d66ba(_0x2aa843)||_0x2aa843);return _0x2aa843;},_0x1e3052=(_0x5ad9dd,_0x45064a)=>(_0x17851a,_0x251a7b)=>_0x45064a(_0x17851a,_0x251a7b,_0x5ad9dd);_0x590b76['SheetsPivotRPCService']=class extends _0x5c6728[_0x45d80e(0x272)]{constructor(_0x9233ff){const _0x502d5e=_0x45d80e;super(),_0x1a448b(this,_0x502d5e(0x3bd),new Map()),this['_commandService']=_0x9233ff;}[_0x45d80e(0x41e)](_0x863eb){const _0x436b57=_0x45d80e,{version:_0x40dabe}=_0x863eb,_0x4d543c=this[_0x436b57(0x3bd)]['get'](_0x40dabe);_0x4d543c&&(_0x4d543c(_0x863eb),this['_requestResolvers'][_0x436b57(0x26d)](_0x40dabe));}[_0x45d80e(0x37a)](_0x6f3c2b){return new Promise((_0x30eed6,_0x5b4b25)=>{const _0x22880d=_0x4f25,_0x4fecdc=this['_generateUniqueVersion']();this['_requestResolvers'][_0x22880d(0x3f4)](_0x4fecdc,_0x30eed6),this['_commandService'][_0x22880d(0x326)](_0x54487c['id'],{'version':_0x4fecdc,..._0x6f3c2b},{'onlyLocal':!0x0});});}[_0x45d80e(0x44c)](){const _0x4afd4c=_0x45d80e;return Math[_0x4afd4c(0x297)]()['toString'](0x24)[_0x4afd4c(0x1f2)](0x2,0x10);}},_0x590b76[_0x45d80e(0x2b6)]=_0xf95b81([_0x1e3052(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728['ICommandService']))],_0x590b76[_0x45d80e(0x2b6)]);const _0x5ba245={0x0:'C',0x1:'u',0x2:'y',0x3:'i',0x4:'I',0x5:'p',0x6:'1',0x7:'w',0x8:'g',0x9:'4','p':'0','w':'2','D':'3','Z':'5','A':'6','P':'7','z':'8','E':'9','m':'a','l':'b','j':'c','V':'d','s':'e','u':'f','S':'h','r':'j','F':'k','M':'l','c':'m','O':'n','N':'o','b':'q','Y':'r','q':'s','v':'t','d':'v','Q':'x','h':'z','L':'A','I':'B','k':'D','n':'E','H':'F','f':'G','K':'H','y':'J','a':'K','U':'L','J':'M','i':'N','C':'O','t':'P','T':'Q','B':'R','W':'S','X':'T','x':'U','R':'V','e':'W','o':'X','G':'Y','g':'Z','\x20':'\x20'},_0x57c23c=_0x45d80e(0x4ab),_0x2f1e90=_0x47252e=>{const _0x53c2b1=_0x45d80e;var _0x27a6d2;return((_0x27a6d2=_0x47252e['body'])==null?void 0x0:_0x27a6d2[_0x53c2b1(0x21f)][_0x53c2b1(0x47c)](/\r\n$/,''))||'';};class _0x36e148 extends _0x294c18[_0x45d80e(0x2ac)]{constructor(_0x4325cd,_0x417f05){const _0x5f192f=_0x45d80e;super(),_0x1a448b(this,_0x5f192f(0x23a),{}),_0x1a448b(this,_0x5f192f(0x43c)),_0x1a448b(this,'_host'),(this[_0x5f192f(0x43c)]=_0x417f05,this[_0x5f192f(0x2b4)]=_0x4325cd);}['initDataRanges'](){const _0xd32ce0=_0x45d80e;for(const _0x30b5b9 in this[_0xd32ce0(0x229)]){const _0x43a0c2=this[_0xd32ce0(0x229)][_0x30b5b9],_0x2569c9=_0x43a0c2[_0xd32ce0(0x3cb)]();this['rangeKeyMap'][_0x2569c9]=_0x43a0c2['getId']();}}['getAutoDisplayNameFunction'](){const _0x2b533b=_0x45d80e,_0x481492=this[_0x2b533b(0x2b4)];return _0x2e147e[_0x2b533b(0x4c5)](_0x481492);}[_0x45d80e(0x3f0)](_0x459fa0){const _0x36cc40=_0x45d80e,_0x3d1783=this[_0x36cc40(0x229)][_0x459fa0][_0x36cc40(0x2ce)];delete this[_0x36cc40(0x229)][_0x459fa0],delete this[_0x36cc40(0x23a)][_0x3d1783];}[_0x45d80e(0x4b5)](_0x9dd53e){const _0x3fc949=_0x45d80e;this[_0x3fc949(0x229)][_0x9dd53e[_0x3fc949(0x246)]()]=_0x9dd53e;}[_0x45d80e(0x319)](_0x9faa65){const _0xba19cf=_0x45d80e;var _0x31fc57,_0xf43f6b;const _0x1b2748=this['_host'][_0xba19cf(0x306)](_0x9faa65);if(_0x1b2748){const {unitId:_0x41fcb3,subUnitId:_0x2d7d57}=_0x1b2748,_0x3d0163=(_0x31fc57=this[_0xba19cf(0x2b4)][_0xba19cf(0x4a8)](_0x41fcb3,_0x2d7d57,_0x9faa65))==null?void 0x0:_0x31fc57['sourceRangeInfo'];this[_0xba19cf(0x2b4)][_0xba19cf(0x26a)]({'token':_0x9faa65,'type':_0xc0c401['delete'],'dataRangeInfo':_0x3d0163});}(_0xf43f6b=this['getCollection'](_0x9faa65))==null||_0xf43f6b[_0xba19cf(0x1e2)](),delete this[_0xba19cf(0x397)][_0x9faa65];}[_0x45d80e(0x3cb)](_0x1f7796,_0x4e63bc){const {sheetName:_0x46d146,unitId:_0x399222,range:_0x2d77e8}=_0x1f7796,{startRow:_0x2e90ae,endRow:_0x38e8f8}=_0x2d77e8;return _0x36260d['serializeRangeWithSpreadsheet'](_0x399222,_0x46d146,{'startRow':_0x2e90ae,'endRow':_0x38e8f8,'startColumn':_0x4e63bc,'endColumn':_0x4e63bc});}[_0x45d80e(0x3ab)](_0x2b96ab){const _0x31c687=_0x45d80e;return this[_0x31c687(0x229)][this[_0x31c687(0x23a)][_0x2b96ab]];}[_0x45d80e(0x222)](_0x3b8f79,_0x4d641a){const _0x2b54eb=_0x45d80e;this[_0x2b54eb(0x23a)][_0x3b8f79]=_0x4d641a;}['updateRangeKeyMap'](_0x338afa,_0x2e67c8){const _0x999c33=_0x45d80e;this[_0x999c33(0x23a)][_0x2e67c8]=this[_0x999c33(0x23a)][_0x338afa],delete this[_0x999c33(0x23a)][_0x338afa];}[_0x45d80e(0x2d3)](_0x54be42,_0x5ec109,_0x217c30,_0x54f28c){const _0x39613c=_0x45d80e,_0x312aa3=new _0x294c18['FieldsCollection'](this);_0x312aa3['fromJSON'](_0x5ec109);const _0x32d2fc=[];let _0x29361d=0x0;for(const _0xfd9d94 of _0x312aa3['fieldIds']){const _0x251674=this[_0x39613c(0x3cb)](_0x217c30,_0x29361d),_0x1039e4=this[_0x39613c(0x229)][_0xfd9d94];_0x1039e4&&(_0x1039e4[_0x39613c(0x2ce)]=_0x251674,this[_0x39613c(0x222)](_0x251674,_0xfd9d94),_0x32d2fc[_0x39613c(0x267)]({'index':_0x29361d,'dataField':_0x1039e4})),_0x29361d++;}return this['addCollection'](_0x54be42,_0x312aa3,_0x217c30,_0x54f28c),{'collection':_0x312aa3,'updateDataFieldList':_0x32d2fc};}[_0x45d80e(0x49e)](_0x372252,_0x302d84){const _0x4dead6=_0x45d80e;return _0x372252[_0x4dead6(0x41c)]===_0x5c6728[_0x4dead6(0x278)][_0x4dead6(0x46b)]?{'startRow':0x0,'startColumn':_0x372252[_0x4dead6(0x381)],'endRow':_0x302d84[_0x4dead6(0x2a6)]()-0x1,'endColumn':_0x372252[_0x4dead6(0x30a)]}:{'startRow':_0x372252['startRow'],'startColumn':_0x372252[_0x4dead6(0x381)],'endRow':_0x372252[_0x4dead6(0x307)],'endColumn':_0x372252[_0x4dead6(0x30a)]};}[_0x45d80e(0x45b)](_0x25a844){const _0x5b2c56=_0x45d80e,{sheetName:_0x231668,range:_0x2ae2fb}=_0x25a844,_0x15701b=this[_0x5b2c56(0x43c)]['getCurrentUnitForType'](_0x5c6728['UniverInstanceType'][_0x5b2c56(0x3f6)]),_0x2b2bf8=_0x15701b[_0x5b2c56(0x439)](_0x231668),_0x16548=_0x2b2bf8[_0x5b2c56(0x1c8)](),{startColumn:_0x120a11,startRow:_0x5c49fd,endColumn:_0x1304dd}=this[_0x5b2c56(0x49e)](_0x2ae2fb,_0x2b2bf8),_0x3c30ce=_0x15701b[_0x5b2c56(0x2c0)](),_0x2111fb=new _0x294c18['FieldsCollection'](this);_0x2111fb[_0x5b2c56(0x3aa)](_0x25a844);const _0x553fe3=[],_0x5d62ef={};for(let _0xe8910d=_0x120a11;_0xe8910d<=_0x1304dd;_0xe8910d++){const _0x36a9b3=_0x16548[_0x5b2c56(0x394)](_0x5c49fd,_0xe8910d),_0x4df3d6=this[_0x5b2c56(0x3cb)](_0x25a844,_0xe8910d),_0x5a9eb6=this['getDataFieldByRangeKey'](_0x4df3d6);if(_0x5a9eb6)_0x2111fb['addField'](_0x5a9eb6[_0x5b2c56(0x246)](),_0x5a9eb6[_0x5b2c56(0x2ad)]());else{const _0x564264=this[_0x5b2c56(0x2bd)]();let _0x5f5471=this[_0x5b2c56(0x220)](_0x36a9b3,_0x3c30ce,_0x5d62ef);_0x294c18[_0x5b2c56(0x3c4)](_0x5f5471)&&(_0x5f5471=_0x5c6728[_0x5b2c56(0x343)][_0x5b2c56(0x443)](_0x5f5471['f'],Number(_0x5f5471['v'])));const _0x5af45c=this[_0x5b2c56(0x335)](_0x5f5471,_0xe8910d),_0x3d0117=new _0x294c18[(_0x5b2c56(0x2a7))](_0x564264,_0x5af45c,_0x294c18[_0x5b2c56(0x480)](0x3));_0x3d0117[_0x5b2c56(0x2ce)]=_0x4df3d6,this[_0x5b2c56(0x229)][_0x564264]=_0x3d0117,_0x2111fb['addField'](_0x564264,_0x5af45c),_0x553fe3[_0x5b2c56(0x267)]({'index':_0xe8910d,'dataField':_0x3d0117});}}return{'updateDataFieldList':_0x553fe3,'collection':_0x2111fb};}[_0x45d80e(0x29f)](_0x3dd037){const _0x3fd66d=_0x45d80e;return this[_0x3fd66d(0x2b4)][_0x3fd66d(0x350)]()['sheets-pivot.columnName']+'\x20'+_0x5c6728[_0x3fd66d(0x49f)](_0x3dd037);}[_0x45d80e(0x335)](_0x3001dc,_0x3991e6){const _0x119e5e=_0x45d80e;return _0x3001dc==null||_0x3001dc===''?this[_0x119e5e(0x29f)](_0x3991e6):String(_0x3001dc);}['getCollection'](_0x1fba60){return this['collections'][_0x1fba60];}[_0x45d80e(0x31b)](_0x4180f5,_0x4c306b,_0x4818bf,_0x121b80){const _0x263205=_0x45d80e;this['collections'][_0x4180f5]=_0x4c306b,_0x4c306b[_0x263205(0x3aa)](_0x4818bf),this[_0x263205(0x2b4)][_0x263205(0x26a)]({'token':_0x4180f5,'type':_0xc0c401[_0x263205(0x256)],'dataRangeInfo':_0x4818bf,'targetCellInfo':_0x121b80});}['handleMoveRange'](_0x26fe61,_0x212df9){const _0x56a5c0=_0x45d80e,_0x27631b=this[_0x56a5c0(0x1c6)](_0x26fe61),_0x40b8d0=_0x27631b['getFieldIds']();let _0x253ee0=0x0;for(const _0x2c0f61 of _0x40b8d0){const _0x5d431a=_0x27631b[_0x56a5c0(0x3a5)](_0x2c0f61),_0x4bb7af=this['getRangeKey'](_0x212df9,_0x253ee0);this[_0x56a5c0(0x280)](_0x5d431a['rangeKey'],_0x4bb7af),_0x253ee0++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x2432f2,_0x4e488c){const _0x3a4587=_0x45d80e;if(this['getCollection'](_0x2432f2)){const _0x10a22f=this[_0x3a4587(0x384)](_0x4e488c),_0xcc6812=[];for(const _0x1a00b8 of _0x10a22f)this[_0x3a4587(0x23a)][_0x1a00b8]!==void 0x0&&_0xcc6812['push'](this[_0x3a4587(0x23a)][_0x1a00b8]);const _0x4a0408=this[_0x3a4587(0x43b)](_0x2432f2),_0x4e22ab=[],_0x4ece1c=new Set(_0xcc6812);for(const _0x1f2727 of _0x4a0408)_0x4ece1c[_0x3a4587(0x4af)](_0x1f2727)||_0x4e22ab[_0x3a4587(0x267)](_0x1f2727);return _0x4e22ab;}}[_0x45d80e(0x2ba)](_0x53d70c,_0x25d3cd,_0x33b1d1,_0x4276be,_0x28bf8d){const _0x5b56fc=_0x45d80e;return _0x25d3cd&&_0x25d3cd[_0x5b56fc(0x394)](_0x4276be,_0x28bf8d)?_0x25d3cd[_0x5b56fc(0x394)](_0x4276be,_0x28bf8d):_0x33b1d1&&_0x33b1d1['getValue'](_0x4276be,_0x28bf8d)?_0x33b1d1[_0x5b56fc(0x394)](_0x4276be,_0x28bf8d):_0x53d70c[_0x5b56fc(0x394)](_0x4276be,_0x28bf8d);}['refreshDataField'](_0x43b358,_0x608f29,_0x79282,_0x4b9724){const _0x236c90=_0x45d80e,_0x3b9b43=this[_0x236c90(0x229)][_0x43b358];if(!_0x3b9b43)return;const {subUnitId:_0x21afc4,range:_0x119e20,unitId:_0x264c4a}=_0x608f29,_0x30631c=this[_0x236c90(0x43c)][_0x236c90(0x38c)](_0x264c4a);if(!_0x30631c){console[_0x236c90(0x1f1)](_0x236c90(0x2d8));return;}const _0x26132a=_0x30631c[_0x236c90(0x380)](_0x21afc4),_0x2229a4=_0x26132a[_0x236c90(0x1c8)](),{arrayFormulaCellDataMatrix:_0x13c67,unitDataMatrix:_0x1fecaa}=_0x4b9724||{},{startRow:_0x3f6852,startColumn:_0x465a82,endRow:_0x3ae454}=this[_0x236c90(0x49e)](_0x119e20,_0x26132a);_0x3b9b43[_0x236c90(0x34d)]();const _0x453ff2=_0x30631c[_0x236c90(0x2c0)](),_0x40f694={},_0x2c1247=this[_0x236c90(0x2ba)](_0x2229a4,_0x13c67,_0x1fecaa,_0x3f6852,_0x465a82+_0x79282);let _0x1f59f4=this[_0x236c90(0x220)](_0x2c1247,_0x453ff2,_0x40f694);_0x294c18['isDateValue'](_0x1f59f4)&&(_0x1f59f4=_0x5c6728['numfmt'][_0x236c90(0x443)](_0x1f59f4['f'],Number(_0x1f59f4['v'])));const _0x2507af=this['uniqueDataFieldName'](_0x1f59f4,_0x465a82+_0x79282);_0x3b9b43['setName'](_0x2507af);for(let _0x2d349e=_0x3f6852+0x1;_0x2d349e<=_0x3ae454;_0x2d349e++){const _0x512a00=this[_0x236c90(0x2ba)](_0x2229a4,_0x13c67,_0x1fecaa,_0x2d349e,_0x465a82+_0x79282);_0x3b9b43[_0x236c90(0x48f)](this[_0x236c90(0x220)](_0x512a00,_0x453ff2,_0x40f694),_0x2d349e-0x1-_0x3f6852);}}['refreshData'](_0x1c0db1,_0x25a4f3,_0x20f48a){const _0x90156c=_0x45d80e,{subUnitId:_0x17f070,range:_0x2820fc,unitId:_0x46aaf3}=_0x20f48a,_0x35e92f=this[_0x90156c(0x43c)][_0x90156c(0x38c)](_0x46aaf3);if(!_0x35e92f){console[_0x90156c(0x1f1)](_0x90156c(0x2d8));return;}const _0x587a66=_0x35e92f[_0x90156c(0x380)](_0x17f070),_0x2df0a7=_0x587a66[_0x90156c(0x1c8)](),{startRow:_0x56889d,startColumn:_0x6dc572,endRow:_0x1df6e9}=this['getRangeStartEndInfo'](_0x2820fc,_0x587a66),_0x1d9128=_0x35e92f[_0x90156c(0x2c0)](),_0x1f10a0={};for(const {dataField:_0x4a4a1d,index:_0x15272c}of _0x25a4f3){_0x4a4a1d['reset']();const _0x7b2862=this[_0x90156c(0x2ba)](_0x2df0a7,void 0x0,void 0x0,_0x56889d,_0x6dc572+_0x15272c);let _0x1f2cdf=this['adjustSheetCellData'](_0x7b2862,_0x1d9128,_0x1f10a0);_0x294c18[_0x90156c(0x3c4)](_0x1f2cdf)&&(_0x1f2cdf=_0x5c6728[_0x90156c(0x343)][_0x90156c(0x443)](_0x1f2cdf['f'],Number(_0x1f2cdf['v'])));const _0x156301=this[_0x90156c(0x335)](_0x1f2cdf,_0x6dc572+_0x15272c);_0x4a4a1d[_0x90156c(0x1ab)](_0x156301);}_0x1c0db1[_0x90156c(0x364)]();for(let _0x54522d=_0x56889d+0x1;_0x54522d<=_0x1df6e9;_0x54522d++)for(const {index:_0x195a6b,dataField:_0x5a82f5}of _0x25a4f3){const _0x1f06e4=_0x2df0a7[_0x90156c(0x394)](_0x54522d,_0x6dc572+_0x195a6b);_0x5a82f5[_0x90156c(0x48f)](this[_0x90156c(0x220)](_0x1f06e4,_0x1d9128,_0x1f10a0),_0x54522d-0x1-_0x56889d);}_0x1c0db1[_0x90156c(0x4c1)](_0x1df6e9-_0x56889d);}['getRangeKeyList'](_0x4a8569){const _0x25c875=_0x45d80e,{range:_0x17d446}=_0x4a8569,{startColumn:_0x44bbc1,endColumn:_0x44ad26}=_0x17d446,_0x4f5ae9=[];for(let _0x2a6162=_0x44bbc1;_0x2a6162<=_0x44ad26;_0x2a6162++)_0x4f5ae9[_0x25c875(0x267)](this['getRangeKey'](_0x4a8569,_0x2a6162));return _0x4f5ae9;}[_0x45d80e(0x220)](_0x348e09,_0x4a62e9,_0x46c3cc){const _0x3f6972=_0x45d80e;if(_0x348e09){const {s:_0x103ddd,v:_0x7497cf,t:_0x4cadee,p:_0x44cbfd}=_0x348e09;if(_0x44cbfd)return _0x2f1e90(_0x44cbfd);const _0x39d7e6=_0x4a62e9['get'](_0x103ddd);if(_0x39d7e6&&_0x4cadee===_0x5c6728[_0x3f6972(0x2ee)][_0x3f6972(0x1ba)]&&_0x39d7e6['n']){const {pattern:_0x1d66cc}=_0x39d7e6['n'];_0x46c3cc[_0x1d66cc]||(_0x46c3cc[_0x1d66cc]=_0x5c6728['numfmt'][_0x3f6972(0x475)](_0x1d66cc));const _0xac6143=_0x46c3cc[_0x1d66cc],_0x4e324e=_0xac6143[_0x3f6972(0x370)];if(_0xac6143['isText'])return String(_0x7497cf);if(_0x4e324e)return{'v':_0x7497cf,'f':_0x1d66cc};}if(_0x4cadee===_0x5c6728[_0x3f6972(0x2ee)][_0x3f6972(0x1ba)])return Number(_0x7497cf);if(_0x4cadee===_0x5c6728[_0x3f6972(0x2ee)]['STRING']||_0x4cadee===_0x5c6728[_0x3f6972(0x2ee)][_0x3f6972(0x42a)])return String(_0x7497cf);if(_0x4cadee===void 0x0){const _0x409495=Number(_0x7497cf);if(!Number[_0x3f6972(0x32a)](_0x409495)&&String(_0x409495)===_0x7497cf)return _0x409495;}return _0x7497cf!=null?_0x7497cf:null;}else return null;}['getRangeData'](_0x4f947e){const _0x3dc9e9=_0x45d80e,{sheetName:_0x5b4825,range:_0x5480b4,unitId:_0x1d149a}=_0x4f947e,_0x247579=this[_0x3dc9e9(0x43c)][_0x3dc9e9(0x38c)](_0x1d149a);if(!_0x247579)return console['error'](_0x3dc9e9(0x2d8)),{'header':[],'data':[]};const _0x104b3e=_0x247579[_0x3dc9e9(0x439)](_0x5b4825),_0x4cb5b3=_0x104b3e[_0x3dc9e9(0x1c8)](),{startRow:_0x3e6654,startColumn:_0x4702e5,endRow:_0x33855f,endColumn:_0xaf8abe}=this['getRangeStartEndInfo'](_0x5480b4,_0x104b3e),_0x139161=_0x247579[_0x3dc9e9(0x2c0)](),_0x36ee90=[],_0x404f14=[],_0x531980={};for(let _0x4c1b5b=_0x3e6654;_0x4c1b5b<=_0x33855f;_0x4c1b5b++){const _0x21a2e3=[];for(let _0x74ece1=_0x4702e5;_0x74ece1<=_0xaf8abe;_0x74ece1++){const _0x809862=_0x4cb5b3[_0x3dc9e9(0x394)](_0x4c1b5b,_0x74ece1);_0x4c1b5b===_0x3e6654?_0x36ee90['push'](_0x809862==null?null:String(_0x809862['v'])):_0x21a2e3[_0x3dc9e9(0x267)](this[_0x3dc9e9(0x220)](_0x809862,_0x139161,_0x531980));}_0x404f14[_0x3dc9e9(0x267)](_0x21a2e3);}return{'header':_0x36ee90,'data':_0x404f14};}[_0x45d80e(0x238)](){const _0x40be3a=_0x45d80e;return super[_0x40be3a(0x238)]();}['fromJSON'](_0x1383ef){const _0x2a9bd7=_0x45d80e;super[_0x2a9bd7(0x1e5)](_0x1383ef),this['initDataRanges']();}[_0x45d80e(0x1e2)](){const _0x1ee3e3=_0x45d80e;super[_0x1ee3e3(0x1e2)](),this['rangeKeyMap']={},this[_0x1ee3e3(0x2b4)]=null;}}const _0x53831c=_0x16b840=>{const _0x1a801e=_0x45d80e,{targetCellInfo:_0x499519}=_0x16b840,{matrixCache:_0x177cc9,rangesCache:_0x5d925c}=_0xdead30({'filter':_0x1a801e(0x214),'row':_0x1a801e(0x24f),'column':_0x1a801e(0x2f8),'values':'Values'},_0x499519),_0x26d8c2=new _0x5c6728['ObjectMatrix']();return _0x177cc9['forValue']((_0x18251c,_0x5f20d9,_0x365fdd)=>{const _0x2aa464=_0x1a801e;_0x26d8c2[_0x2aa464(0x33e)](_0x18251c,_0x5f20d9,_0x365fdd);}),{'matrix':_0x26d8c2,'rangesCache':_0x5d925c};},_0x37ae5b=_0x1aabb4=>{const _0xe229a9=_0x45d80e;let _0x379b70;if(_0x1aabb4!=null&&_0x1aabb4['v']||(_0x1aabb4==null?void 0x0:_0x1aabb4['v'])===0x0){_0x379b70||(_0x379b70={});const _0x2facc7=_0x549717(_0x1aabb4['v']);typeof _0x2facc7=='number'?_0x379b70['t']=_0x5c6728['CellValueType'][_0xe229a9(0x1ba)]:typeof _0x2facc7==_0xe229a9(0x2b7)&&(_0x379b70['t']=_0x5c6728['CellValueType'][_0xe229a9(0x316)]),_0x379b70['v']=_0x2facc7;}return _0x379b70;},_0x75b4b9=(_0x132429,_0x43a4bf,_0x318f14)=>{const _0x329e48=_0x45d80e;var _0x186c8f,_0x220dab,_0x5a04eb,_0x7becf4,_0x2aa02f,_0x11393f,_0x2023ed,_0x29a589,_0x2977bf,_0x922bfa,_0xaf3510,_0x332916;const {cornerView:_0x338783,rowView:_0x334a70,colView:_0x4682a8,dataView:_0x5db8b5,pageView:_0x53ce36,formatMap:_0x348964}=_0x132429,{row:_0x2a2dd8,col:_0x12da3c}=_0x43a4bf,_0x12b17f=new _0x5c6728[(_0x329e48(0x45c))]();let _0x89d75b=_0x2a2dd8,_0x474276=_0x12da3c;Object['keys'](_0x53ce36[_0x329e48(0x3d5)])[_0x329e48(0x1d9)](_0xe67740=>{const _0x14bf46=_0x329e48;Object[_0x14bf46(0x413)](_0x53ce36[_0x14bf46(0x3d5)][Number(_0xe67740)])[_0x14bf46(0x1d9)](_0x27706e=>{const _0x22edc1=_0x14bf46,_0x24af27={..._0x53ce36[_0x22edc1(0x3d5)][Number(_0xe67740)][Number(_0x27706e)]};_0x12b17f[_0x22edc1(0x33e)](Number(_0xe67740)+_0x89d75b,Number(_0x27706e)+_0x474276,_0x37ae5b(_0x24af27));});});const _0xc6a771=Object[_0x329e48(0x413)](_0x53ce36['data'])[_0x329e48(0x1ac)];_0x89d75b+=_0xc6a771+(_0xc6a771?_0x1414fc:0x0);const _0x3021de=_0x338783['getRowCount'](),_0xd9b5f9=_0x338783['getColCount']();for(let _0x5e2016=0x0;_0x5e2016<_0x3021de;_0x5e2016++)for(let _0x527b8e=0x0;_0x527b8e<_0xd9b5f9;_0x527b8e++){const _0xf48ce9={...(_0x220dab=(_0x186c8f=_0x338783['data'])==null?void 0x0:_0x186c8f[_0x5e2016])==null?void 0x0:_0x220dab[_0x527b8e]};_0xf48ce9&&(_0x5a04eb=_0x334a70['headerMap'][_0x527b8e])!=null&&_0x5a04eb[_0x329e48(0x1d6)]&&_0x527b8e===_0xd9b5f9-0x1&&_0x5e2016===_0x3021de-0x1&&(_0xf48ce9['v']=''+_0x318f14['sheets-pivot.value']),_0x12b17f[_0x329e48(0x33e)](_0x5e2016+_0x89d75b,_0x527b8e+_0x474276,_0x37ae5b(_0xf48ce9));}_0x474276+=_0xd9b5f9;const _0x9b6238=_0x4682a8['headerMap'],_0x42b9b1=_0x4682a8['getLastRow']()>=0x0?_0x4682a8[_0x329e48(0x1c0)]()+0x1:0x0,_0x4d33ed=_0x4682a8[_0x329e48(0x289)]()>=0x0?_0x4682a8['getLastCol']()+0x1:0x0;for(let _0x2114fd=0x0;_0x2114fd<_0x4d33ed;_0x2114fd++)for(let _0x4ce63d=0x0;_0x4ce63d<_0x42b9b1;_0x4ce63d++){const _0x13e7cf={...(_0x2aa02f=(_0x7becf4=_0x4682a8[_0x329e48(0x3d5)])==null?void 0x0:_0x7becf4[_0x2114fd])==null?void 0x0:_0x2aa02f[_0x4ce63d]},_0xcb03d6=(_0x11393f=_0x9b6238[_0x2114fd])==null?void 0x0:_0x11393f[_0x329e48(0x1d7)],_0x5f2c27=_0x348964[_0xcb03d6];_0x13e7cf&&(_0x13e7cf['v']=_0x1634bf(_0x13e7cf,_0x2114fd===0x0&&((_0x2023ed=_0x4682a8[_0x329e48(0x2a4)](_0x4ce63d+0x1))==null?void 0x0:_0x2023ed[_0x329e48(0x1d6)]),_0x5f2c27,_0x318f14)),_0x12b17f[_0x329e48(0x33e)](_0x2114fd+_0x89d75b,_0x4ce63d+_0x474276,_0x37ae5b(_0x13e7cf));}_0x89d75b+=_0x3021de;const _0x12b56c=_0x334a70[_0x329e48(0x26b)],_0x9d727e=_0x334a70[_0x329e48(0x1c0)]()>=0x0?_0x334a70['getLastRow']()+0x1:0x0,_0x426162=_0x334a70[_0x329e48(0x289)]()>=0x0?_0x334a70[_0x329e48(0x289)]()+0x1:0x0;for(let _0x2155d8=0x0;_0x2155d8<_0x9d727e;_0x2155d8++)for(let _0x274c48=0x0;_0x274c48<_0x426162;_0x274c48++){const _0x374d3f={...(_0x2977bf=(_0x29a589=_0x334a70['data'])==null?void 0x0:_0x29a589[_0x2155d8])==null?void 0x0:_0x2977bf[_0x274c48]},_0x5df361=(_0x922bfa=_0x12b56c[_0x274c48])==null?void 0x0:_0x922bfa[_0x329e48(0x1d7)],_0x563d98=_0x348964[_0x5df361];_0x374d3f&&(_0x374d3f['v']=_0x1634bf(_0x374d3f,!0x1,_0x563d98,_0x318f14)),_0x12b17f[_0x329e48(0x33e)](_0x2155d8+_0x89d75b,_0x274c48+_0x12da3c,_0x37ae5b(_0x374d3f));}const _0x32230f=_0x5db8b5[_0x329e48(0x2a6)](),_0x48d61f=_0x5db8b5[_0x329e48(0x3b0)]();for(let _0x2bc2ca=0x0;_0x2bc2ca<_0x32230f;_0x2bc2ca++)for(let _0x375114=0x0;_0x375114<_0x48d61f;_0x375114++){const _0x548094={...(_0x332916=(_0xaf3510=_0x5db8b5[_0x329e48(0x3d5)])==null?void 0x0:_0xaf3510[_0x2bc2ca])==null?void 0x0:_0x332916[_0x375114]};_0x12b17f[_0x329e48(0x33e)](_0x2bc2ca+_0x89d75b,_0x375114+_0x474276,_0x37ae5b(_0x548094));}return _0x12b17f;},_0x2cde29=_0x322c3f=>{const _0xcbcf4e=_0x45d80e,{view:_0x4f8d4e,targetCellInfo:_0x5619f1,isEmpty:_0x5c2571,textInfo:_0x31b272}=_0x322c3f;if(_0x5c2571)return _0x53831c(_0x322c3f);const {pageView:_0x261ddf,cornerView:_0x157fff,rowView:_0x16245c,colView:_0x1d845c,dataView:_0x11f717}=_0x4f8d4e,_0x37cee8=_0x4a28b0(_0x5619f1,_0x261ddf,!0x0),_0x3bbae6=_0x261ddf[_0xcbcf4e(0x28f)]>=0x0?_0x261ddf['lastRow']+0x1:0x0,_0x3f54e8=_0x157fff['getRowCount'](),_0x303835=_0x157fff[_0xcbcf4e(0x3b0)](),_0x4c22b5=_0x37cee8[_0xcbcf4e(0x1ac)]>0x0?_0x1414fc:0x0,_0x32241f=_0x4a28b0({'row':_0x5619f1[_0xcbcf4e(0x3da)]+_0x3bbae6+_0x4c22b5,'col':_0x5619f1[_0xcbcf4e(0x2e6)]},_0x157fff,!0x1,!0x1),_0x27d7c5=_0x4a28b0({'row':_0x5619f1[_0xcbcf4e(0x3da)]+_0x3bbae6+_0x4c22b5+_0x3f54e8,'col':_0x5619f1[_0xcbcf4e(0x2e6)]},_0x16245c,!0x1,!0x0),_0x53f722=_0x4a28b0({'row':_0x5619f1[_0xcbcf4e(0x3da)]+_0x3bbae6+_0x4c22b5,'col':_0x5619f1[_0xcbcf4e(0x2e6)]+_0x303835},_0x1d845c,!0x1,!0x0),_0x5d554b=_0x4a28b0({'row':_0x5619f1['row']+_0x3bbae6+_0x4c22b5+_0x3f54e8,'col':_0x5619f1[_0xcbcf4e(0x2e6)]+_0x303835},_0x11f717,!0x1,!0x1),_0x41984f={'rowRanges':_0x27d7c5,'colRanges':_0x53f722,'cornerRanges':_0x32241f,'dataRanges':_0x5d554b,'pageRanges':_0x37cee8};return{'matrix':_0x75b4b9(_0x4f8d4e,_0x5619f1,_0x31b272),'rangesCache':_0x41984f};};var _0x331512=Object['getOwnPropertyDescriptor'],_0x8c0810=(_0x2adbde,_0x52aaf3,_0x22eb88,_0x432d63)=>{const _0x4255dc=_0x45d80e;for(var _0x3f7970=_0x432d63>0x1?void 0x0:_0x432d63?_0x331512(_0x52aaf3,_0x22eb88):_0x52aaf3,_0x14d519=_0x2adbde[_0x4255dc(0x1ac)]-0x1,_0x28408a;_0x14d519>=0x0;_0x14d519--)(_0x28408a=_0x2adbde[_0x14d519])&&(_0x3f7970=_0x28408a(_0x3f7970)||_0x3f7970);return _0x3f7970;},_0x59bf21=(_0x33e15f,_0x344aba)=>(_0x5850b3,_0x136a02)=>_0x344aba(_0x5850b3,_0x136a02,_0x33e15f);_0x590b76[_0x45d80e(0x3c1)]=class extends _0x5c6728[_0x45d80e(0x272)]{constructor(_0x5ab3e2,_0x21d30c,_0x9dd871,_0x16a2a7,_0x3f6d4b){const _0x4e164c=_0x45d80e;super(),_0x1a448b(this,_0x4e164c(0x2bf),new Map()),_0x1a448b(this,_0x4e164c(0x1b9),new Map()),_0x1a448b(this,'_viewData',new Map()),_0x1a448b(this,_0x4e164c(0x49a)),_0x1a448b(this,_0x4e164c(0x285),new _0x5ade5d[(_0x4e164c(0x379))]()),_0x1a448b(this,'collectionChange$',this[_0x4e164c(0x285)]['asObservable']()),_0x1a448b(this,_0x4e164c(0x1da),new _0x5ade5d[(_0x4e164c(0x379))]()),_0x1a448b(this,_0x4e164c(0x31d),this['_viewData$'][_0x4e164c(0x429)]()),_0x1a448b(this,_0x4e164c(0x1ca),new _0x5ade5d[(_0x4e164c(0x379))]()),_0x1a448b(this,_0x4e164c(0x22b),this[_0x4e164c(0x1ca)][_0x4e164c(0x429)]()),_0x1a448b(this,_0x4e164c(0x2c5),new Map()),_0x1a448b(this,_0x4e164c(0x20d),[]),_0x1a448b(this,_0x4e164c(0x44b),new Map()),(this['_injector']=_0x5ab3e2,this['_univerInstanceService']=_0x21d30c,this['_lifecycleService']=_0x9dd871,this['_commandService']=_0x16a2a7,this['_resourceManagerService']=_0x3f6d4b,this['_initSnapshot']());}[_0x45d80e(0x350)](){const _0x81f4f0=_0x45d80e;return this[_0x81f4f0(0x49a)]?this[_0x81f4f0(0x49a)]:_0xa42408;}[_0x45d80e(0x241)](_0x473f15){const _0x29294c=_0x45d80e;this[_0x29294c(0x49a)]=_0x473f15;}[_0x45d80e(0x456)](_0xf01316){const _0x26ddee=_0x45d80e;var _0x27aff0;const {from:_0x980579,to:_0x4e5f53,unitId:_0x23235e,fromRange:_0x379225,toRange:_0x8844fc}=_0xf01316;if(_0x980579&&_0x4e5f53){const _0x1b5b17=this['getDataFieldManager'](_0x23235e),_0x29e9d5=this[_0x26ddee(0x2bf)][_0x26ddee(0x3bb)](_0x23235e),_0x21a134=(_0x27aff0=this[_0x26ddee(0x43c)][_0x26ddee(0x38c)](_0x23235e))==null?void 0x0:_0x27aff0[_0x26ddee(0x380)](_0x4e5f53[_0x26ddee(0x1cf)]);if(!_0x29e9d5||!_0x21a134)return;const _0x31eb23=_0x21a134==null?void 0x0:_0x21a134[_0x26ddee(0x2ad)]();for(const [_0x30a2e7,_0x3b0bdf]of _0x29e9d5['entries']())for(const [_0x426d53,_0x560060]of _0x3b0bdf[_0x26ddee(0x333)]()){const {sourceRangeInfo:_0x35e7b6}=_0x560060;if(_0x35e7b6[_0x26ddee(0x46d)]===_0x23235e&&_0x35e7b6[_0x26ddee(0x1cf)]===_0x980579[_0x26ddee(0x1cf)]&&_0x5c6728[_0x26ddee(0x453)][_0x26ddee(0x39a)](_0x379225,_0x35e7b6[_0x26ddee(0x20b)])){const _0x49e6b3={'row':_0x35e7b6['range'][_0x26ddee(0x4b6)]-_0x379225[_0x26ddee(0x4b6)],'col':_0x35e7b6['range'][_0x26ddee(0x381)]-_0x379225['startColumn']},_0x57e7b8={'unitId':_0x23235e,'subUnitId':_0x4e5f53[_0x26ddee(0x1cf)],'sheetName':_0x31eb23,'range':{'startRow':_0x8844fc['startRow']+_0x49e6b3[_0x26ddee(0x3da)],'endRow':_0x8844fc[_0x26ddee(0x4b6)]+_0x49e6b3[_0x26ddee(0x3da)]+_0x35e7b6[_0x26ddee(0x20b)]['endRow']-_0x35e7b6['range'][_0x26ddee(0x4b6)],'startColumn':_0x8844fc[_0x26ddee(0x381)]+_0x49e6b3['col'],'endColumn':_0x8844fc[_0x26ddee(0x381)]+_0x49e6b3[_0x26ddee(0x2e6)]+_0x35e7b6[_0x26ddee(0x20b)][_0x26ddee(0x30a)]-_0x35e7b6['range']['startColumn']}};_0x1b5b17[_0x26ddee(0x456)](_0x426d53,_0x57e7b8);const _0x46a9cd={..._0x560060,'sourceRangeInfo':_0x57e7b8};this[_0x26ddee(0x426)](_0x23235e,_0x4e5f53[_0x26ddee(0x1cf)],_0x426d53,_0x46a9cd),this[_0x26ddee(0x26a)]({'unitId':_0x23235e,'token':_0x426d53,'type':_0xc0c401[_0x26ddee(0x30c)],'oldSourceRangeInfo':_0x35e7b6,'dataRangeInfo':_0x57e7b8,'targetCellInfo':_0x560060['targetCellInfo']}),this['updateConfig']({'unitId':_0x23235e,'subUnitId':_0x4e5f53[_0x26ddee(0x1cf)],'oldSubUnitId':_0x30a2e7,'pivotTableId':_0x426d53,'pivotTableConfig':_0x46a9cd,'collectionConfig':_0x1b5b17['toJSON']()});}}}}[_0x45d80e(0x26a)](_0x5a4ab7){const _0x24c875=_0x45d80e;this['_collectionChange$'][_0x24c875(0x25f)](_0x5a4ab7);}[_0x45d80e(0x24e)](_0x4c20ce){const _0x4d5eee=_0x45d80e;let _0x55c296=this[_0x4d5eee(0x2c5)]['get'](_0x4c20ce);return _0x55c296||(_0x55c296=new _0x36e148(this,this[_0x4d5eee(0x43c)]),this[_0x4d5eee(0x2c5)][_0x4d5eee(0x3f4)](_0x4c20ce,_0x55c296)),_0x55c296;}['getCollection'](_0x1d9082,_0xe8ed63){const _0x3c7d0c=_0x45d80e;return this[_0x3c7d0c(0x24e)](_0x1d9082)[_0x3c7d0c(0x397)][_0xe8ed63];}['getUpdateRangeDeleteIds'](_0x27c086,_0x208403,_0x5e8405){const _0x5c8af5=_0x45d80e;return this[_0x5c8af5(0x24e)](_0x27c086)[_0x5c8af5(0x2e2)](_0x208403,_0x5e8405);}[_0x45d80e(0x3e2)](_0x5a6bd6,_0x28ed66){const _0x33717e=_0x45d80e;let _0x32cd10=this[_0x33717e(0x2bf)][_0x33717e(0x3bb)](_0x5a6bd6);_0x32cd10||(_0x32cd10=new Map(),this[_0x33717e(0x2bf)]['set'](_0x5a6bd6,_0x32cd10));let _0x1a6dc0=_0x32cd10[_0x33717e(0x3bb)](_0x28ed66);return _0x1a6dc0||(_0x1a6dc0=new Map(),_0x32cd10[_0x33717e(0x3f4)](_0x28ed66,_0x1a6dc0)),_0x1a6dc0;}[_0x45d80e(0x426)](_0x336d63,_0x31ac9e,_0x3515e4,_0x4c7cfd){const _0x360371=_0x45d80e;this[_0x360371(0x3e2)](_0x336d63,_0x31ac9e)[_0x360371(0x3f4)](_0x3515e4,_0x4c7cfd);}[_0x45d80e(0x30b)](_0x542eb7,_0x49d574,_0x4cedc0){const _0x3de966=_0x45d80e;var _0x23e86f,_0x3c36d7,_0x29b5ae,_0x275775;(_0x3c36d7=(_0x23e86f=this[_0x3de966(0x2bf)]['get'](_0x542eb7))==null?void 0x0:_0x23e86f[_0x3de966(0x3bb)](_0x49d574))!=null&&_0x3c36d7[_0x3de966(0x3bb)](_0x4cedc0)&&((_0x275775=(_0x29b5ae=this['_model'][_0x3de966(0x3bb)](_0x542eb7))==null?void 0x0:_0x29b5ae[_0x3de966(0x3bb)](_0x49d574))==null||_0x275775[_0x3de966(0x26d)](_0x4cedc0));}['_updatePivotTableInstanceCache'](_0x289c27,_0x1bc0fb){const _0x58dabc=_0x45d80e;this[_0x58dabc(0x1b9)][_0x58dabc(0x3f4)](_0x289c27,_0x1bc0fb);}[_0x45d80e(0x2e4)](_0x53ec09){const _0x37a509=_0x45d80e;this[_0x37a509(0x1b9)]['delete'](_0x53ec09);}[_0x45d80e(0x474)](_0x3b4d1c,_0x586d80){const _0x3c855d=_0x45d80e;let _0x5e5ab5=this['_viewData'][_0x3c855d(0x3bb)](_0x3b4d1c);_0x5e5ab5||(_0x5e5ab5=new Map(),this['_viewData']['set'](_0x3b4d1c,_0x5e5ab5));let _0x5c1238=_0x5e5ab5[_0x3c855d(0x3bb)](_0x586d80);return _0x5c1238||(_0x5c1238=new Map(),_0x5e5ab5['set'](_0x586d80,_0x5c1238)),_0x5c1238;}[_0x45d80e(0x310)](_0x44b953){const _0x162607=_0x45d80e,{unitId:_0xb033cf,subUnitId:_0x26861a,pivotTableId:_0x402a86,pivotTableConfig:_0x10b759,collectionConfig:_0x481426}=_0x44b953,_0x43efc3={'unitId':_0xb033cf,'subUnitId':_0x26861a,'oldSubUnitId':_0x26861a,'pivotTableId':_0x402a86,'pivotTableConfig':_0x10b759,'collectionConfig':_0x481426};this['_commandService'][_0x162607(0x326)](_0x4c0bcd['id'],_0x43efc3,{'onlyLocal':!0x0});}[_0x45d80e(0x372)](_0x54bc8b,_0x5578fd,_0x89f85d,_0x36b832,_0xe5e35e,_0x47e53d,_0x4bf632,_0x2c8639=!0x1){const _0x246206=_0x45d80e;var _0x15b6db;this[_0x246206(0x218)]['executeCommand'](_0x10e31e['id'],{'single':{'unitId':_0x54bc8b,'subUnitId':_0x5578fd,'type':_0x89f85d,'pivotTableId':_0x36b832,'view':_0xe5e35e,'pivotConfig':_0x47e53d},'collectionConfig':{[_0x54bc8b]:_0x4bf632}},{'onlyLocal':!0x0});const _0x5e8cba=!!((_0x15b6db=this[_0x246206(0x3f7)](_0x36b832))!=null&&_0x15b6db[_0x246206(0x338)]()),_0x4ed457=this[_0x246206(0x4a8)](_0x54bc8b,_0x5578fd,_0x36b832);_0x4ed457&&this['updateViewData']({'view':_0xe5e35e,'pivotTableId':_0x36b832,'textInfo':this[_0x246206(0x350)](),'isEmpty':_0x5e8cba,'targetCellInfo':_0x4ed457[_0x246206(0x309)]},_0x2c8639);}[_0x45d80e(0x209)](_0x51e99b,_0x449d05){const _0x4d0a76=_0x45d80e,{targetCellInfo:_0x29bd61,pivotTableId:_0x1b6f3a}=_0x51e99b,{unitId:_0x2f3867,subUnitId:_0x44b12b}=_0x29bd61,_0x36c41a=this[_0x4d0a76(0x474)](_0x2f3867,_0x44b12b),_0x38d873=_0x36c41a[_0x4d0a76(0x3bb)](_0x1b6f3a);let _0x3b22d7,_0x5e0a4b;_0x38d873&&(_0x3b22d7=_0x38d873[_0x4d0a76(0x4c2)],_0x5e0a4b=_0x38d873[_0x4d0a76(0x2a9)]);const {rangesCache:_0x5e958c,matrix:_0x138b3d}=_0x2cde29(_0x51e99b);_0x36c41a[_0x4d0a76(0x3f4)](_0x1b6f3a,{'rangeCache':_0x5e958c,'matrix':_0x138b3d,'oldMatrix':_0x5e0a4b,'oldRangeCache':_0x3b22d7}),_0x449d05||this[_0x4d0a76(0x1da)]['next']({'unitId':_0x2f3867,'subUnitId':_0x44b12b,'pivotTableId':_0x1b6f3a});}['addPivotTable'](_0x2de8d4,_0x16cf8f,_0xc6925b,_0x1d5a31,_0x3edeba){const _0x227079=_0x45d80e;this['_updateModelCache'](_0x2de8d4,_0x16cf8f,_0xc6925b,_0x3edeba),this[_0x227079(0x450)](_0xc6925b,_0x1d5a31);}[_0x45d80e(0x1e9)](_0x54d108,_0x510e25,_0x88c2df){const _0x560811=_0x45d80e,_0x19c410=this[_0x560811(0x24e)](_0x54d108);_0x19c410['getNoUsedDataFieldIds'](_0x88c2df)[_0x560811(0x1d9)](_0x8af60=>{_0x19c410['deleteDataField'](_0x8af60);}),this[_0x560811(0x35a)](_0x54d108,_0x88c2df),this['_deleteModelCache'](_0x54d108,_0x510e25,_0x88c2df),this[_0x560811(0x2e4)](_0x88c2df);}['setPivotTable'](_0xb2cb22,_0x11a924,_0x54077c,_0x1b3a0f){const _0x22fa06=_0x45d80e;this[_0x22fa06(0x426)](_0xb2cb22,_0x11a924,_0x54077c,_0x1b3a0f);}['getPivotTableConfig'](_0x334467,_0x404360,_0x343e76){const _0x23633c=_0x45d80e;var _0x54c432,_0x22dd90;const _0x5a8828=(_0x22dd90=(_0x54c432=this[_0x23633c(0x2bf)][_0x23633c(0x3bb)](_0x334467))==null?void 0x0:_0x54c432[_0x23633c(0x3bb)](_0x404360))==null?void 0x0:_0x22dd90['get'](_0x343e76);if(_0x5a8828)return _0x5a8828;}['getPivotTableModelConfig'](_0x2ec6d2,_0x4be9b9,_0x285340){const _0x29501d=_0x45d80e;var _0x4769ba,_0x42acba;const _0x5232f9=(_0x42acba=(_0x4769ba=this[_0x29501d(0x2bf)][_0x29501d(0x3bb)](_0x2ec6d2))==null?void 0x0:_0x4769ba[_0x29501d(0x3bb)](_0x4be9b9))==null?void 0x0:_0x42acba[_0x29501d(0x3bb)](_0x285340);if(_0x5232f9)return _0x5232f9['fieldsConfig'];}['getPivotTableInstance'](_0x3fe7da){const _0x16a844=_0x45d80e;return this['_pivotTableInstanceCache'][_0x16a844(0x3bb)](_0x3fe7da);}[_0x45d80e(0x253)](_0x424aea){const _0x96932f=_0x45d80e;this['_model']['delete'](_0x424aea);const _0x3f2b8b=this['_dataFieldManagerCollection'][_0x96932f(0x3bb)](_0x424aea);_0x3f2b8b&&(_0x3f2b8b[_0x96932f(0x1e2)](),this[_0x96932f(0x2c5)]['delete'](_0x424aea)),this['_viewData'][_0x96932f(0x26d)](_0x424aea),this[_0x96932f(0x20d)][_0x96932f(0x1d9)](_0x5c7973=>{const _0x15234e=_0x96932f;_0x5c7973[_0x15234e(0x253)](_0x424aea);});}['addCollectionByJSON'](_0x36b374,_0x4ac15a,_0x286d1a,_0x5c61e5){const _0x4c34d5=_0x45d80e;return this[_0x4c34d5(0x24e)](_0x286d1a[_0x4c34d5(0x46d)])[_0x4c34d5(0x2d3)](_0x36b374,_0x4ac15a,_0x286d1a,_0x5c61e5);}[_0x45d80e(0x45b)](_0x2f5718){const _0x4102b6=_0x45d80e;return this['getDataFieldManager'](_0x2f5718[_0x4102b6(0x46d)])['createCollectionWithDataRange'](_0x2f5718);}[_0x45d80e(0x20a)](_0x38b456,_0x3a531e,_0x1fe965){const _0x2730db=_0x45d80e;this[_0x2730db(0x24e)](_0x1fe965[_0x2730db(0x46d)])[_0x2730db(0x20a)](_0x38b456,_0x3a531e,_0x1fe965);}[_0x45d80e(0x35c)](_0x48b630,_0x3ad1fb){const _0x2366b5=_0x45d80e;this[_0x2366b5(0x24e)](_0x48b630)[_0x2366b5(0x3f0)](_0x3ad1fb);}[_0x45d80e(0x35a)](_0x24d809,_0x22596f){const _0x4c9dbc=_0x45d80e;this[_0x4c9dbc(0x24e)](_0x24d809)[_0x4c9dbc(0x319)](_0x22596f);}[_0x45d80e(0x38a)](_0x1dc58e,_0x287b10){const _0x32becc=_0x45d80e;var _0x863855;return(_0x863855=this[_0x32becc(0x2bf)][_0x32becc(0x3bb)](_0x1dc58e))==null?void 0x0:_0x863855[_0x32becc(0x3bb)](_0x287b10);}[_0x45d80e(0x306)](_0x4e537e){const _0x57616e=_0x45d80e;for(const [_0x6aafae,_0xc3a20c]of this[_0x57616e(0x2bf)]['entries']())for(const [_0x2fce6f,_0x7d4e68]of _0xc3a20c[_0x57616e(0x333)]())if(_0x7d4e68[_0x57616e(0x4af)](_0x4e537e))return{'unitId':_0x6aafae,'subUnitId':_0x2fce6f};return null;}[_0x45d80e(0x36e)](_0xefffd4,_0x1f340f,_0x5a3bf0,_0x5b5d07){const _0x2618a9=_0x45d80e,_0x5e4ad3=this[_0x2618a9(0x474)](_0xefffd4,_0x1f340f);_0x5b5d07?_0x5e4ad3[_0x2618a9(0x3f4)](_0x5a3bf0,_0x5b5d07):_0x5e4ad3[_0x2618a9(0x26d)](_0x5a3bf0),this[_0x2618a9(0x1da)][_0x2618a9(0x25f)]({'unitId':_0xefffd4,'subUnitId':_0x1f340f,'pivotTableId':_0x5a3bf0});}[_0x45d80e(0x1e2)](){const _0x1e24c6=_0x45d80e;super[_0x1e24c6(0x1e2)](),this[_0x1e24c6(0x2bf)][_0x1e24c6(0x31e)](),this[_0x1e24c6(0x1b9)][_0x1e24c6(0x31e)](),this['_viewData']['clear'](),this[_0x1e24c6(0x285)][_0x1e24c6(0x403)](),this[_0x1e24c6(0x1da)][_0x1e24c6(0x403)](),this[_0x1e24c6(0x1ca)][_0x1e24c6(0x403)](),this[_0x1e24c6(0x2c5)]['forEach'](_0xadd97c=>_0xadd97c[_0x1e24c6(0x1e2)]()),this[_0x1e24c6(0x2c5)][_0x1e24c6(0x31e)]();}['getViewData'](_0x140e1f,_0x1c6ad0,_0x48be4c){const _0xa94e8c=_0x45d80e;var _0x21c360,_0x15bf0a;const _0x2de26a=(_0x15bf0a=(_0x21c360=this[_0xa94e8c(0x1e7)]['get'](_0x140e1f))==null?void 0x0:_0x21c360[_0xa94e8c(0x3bb)](_0x1c6ad0))==null?void 0x0:_0x15bf0a[_0xa94e8c(0x3bb)](_0x48be4c);return _0x2de26a||null;}['addDirtyPivotTable'](_0x3d554d){const _0x545082=_0x45d80e;this[_0x545082(0x2e7)](_0x3d554d);}[_0x45d80e(0x2e7)](_0x30439e){const _0x5e73b8=_0x45d80e,{token:_0x585602,unitId:_0x2c4b07,subUnitId:_0x15ab23}=_0x30439e,_0x5d300d=_0x2c4b07+'-'+_0x15ab23+'-'+_0x585602;this[_0x5e73b8(0x44b)][_0x5e73b8(0x3bb)](_0x5d300d)&&clearTimeout(this[_0x5e73b8(0x44b)][_0x5e73b8(0x3bb)](_0x5d300d));const _0x46b39a=setTimeout(()=>{const _0x585179=_0x5e73b8;this[_0x585179(0x215)](_0x30439e),this[_0x585179(0x44b)][_0x585179(0x26d)](_0x5d300d);},_0x1cff88);this[_0x5e73b8(0x44b)][_0x5e73b8(0x3f4)](_0x5d300d,_0x46b39a);}[_0x45d80e(0x215)](_0x3864c4){const _0x4b8621=_0x45d80e,{unitId:_0x1d81be,subUnitId:_0x25bd42,token:_0x1ccf07,type:_0x56ffe9,pivotConfig:_0x435e16}=_0x3864c4,_0x1dbedc=this[_0x4b8621(0x3f7)](_0x1ccf07),_0x149af0=_0x1dbedc==null?void 0x0:_0x1dbedc[_0x4b8621(0x251)](),_0x58faa1=_0x435e16!=null?_0x435e16:this[_0x4b8621(0x4a8)](_0x1d81be,_0x25bd42,_0x1ccf07);_0x58faa1&&(_0x58faa1['isEmpty']=!!(_0x1dbedc!=null&&_0x1dbedc[_0x4b8621(0x338)]())),(_0x149af0||_0x56ffe9===_0xee3020[_0x4b8621(0x1fd)])&&this[_0x4b8621(0x372)](_0x1d81be,_0x25bd42,_0x56ffe9,_0x1ccf07,_0x149af0,_0x58faa1,this[_0x4b8621(0x24e)](_0x1d81be)[_0x4b8621(0x238)]());}['toJSON'](_0x2a10d5){const _0x51d873=_0x45d80e,_0x3f7b55={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x51d873(0x24e)](_0x2a10d5)&&(_0x3f7b55[_0x51d873(0x49d)][_0x2a10d5]=this[_0x51d873(0x24e)](_0x2a10d5)[_0x51d873(0x238)]()),this[_0x51d873(0x2bf)][_0x51d873(0x3bb)](_0x2a10d5)){_0x3f7b55[_0x51d873(0x1e8)][_0x2a10d5]={};const _0x5f08c0=this['_model'][_0x51d873(0x3bb)](_0x2a10d5);_0x5f08c0!=null&&_0x5f08c0[_0x51d873(0x28d)]&&[..._0x5f08c0[_0x51d873(0x413)]()]['forEach'](_0x3cc0e9=>{const _0x3dbb70=_0x51d873,_0xc70de2=_0x5f08c0[_0x3dbb70(0x3bb)](_0x3cc0e9);_0xc70de2!=null&&_0xc70de2[_0x3dbb70(0x28d)]&&(_0x3f7b55[_0x3dbb70(0x1e8)][_0x2a10d5][_0x3cc0e9]={},[..._0xc70de2[_0x3dbb70(0x413)]()][_0x3dbb70(0x1d9)](_0x437aab=>{const _0x1349cb=_0x3dbb70,_0x53cdca=_0xc70de2['get'](_0x437aab);_0x53cdca&&(_0x3f7b55[_0x1349cb(0x1e8)][_0x2a10d5][_0x3cc0e9][_0x437aab]=_0x53cdca);}));});}return _0x3f7b55;}[_0x45d80e(0x1e5)](_0x1bc81d){const _0x230c4=_0x45d80e;var _0x13ce80;const {dataFieldManagerConfig:_0x1036e5,pivotTableConfigs:_0x469705}=_0x1bc81d;_0x1036e5&&Object[_0x230c4(0x413)](_0x1036e5)[_0x230c4(0x1d9)](_0x2e3d71=>{const _0x337942=_0x230c4;this[_0x337942(0x24e)](_0x2e3d71)['fromJSON'](_0x1036e5[_0x2e3d71]);});const _0x4976bb=[];if(_0x469705){const _0x54684c=(_0x13ce80=this[_0x230c4(0x1b5)][_0x230c4(0x3bb)](_0x5c6728['IConfigService'])[_0x230c4(0x499)](_0x10eb30[_0x230c4(0x3e1)]))!=null?_0x13ce80:{},{ls:_0x41145d,pbk:_0x40e34a}=_0x54684c,_0x2abfcd=_0x1cc9f1(_0x1defd2,_0x41145d,_0x40e34a)[_0x230c4(0x292)];Object[_0x230c4(0x413)](_0x469705)[_0x230c4(0x1d9)](_0x522a91=>{const _0x4c94c9=_0x230c4;let _0x40e900=0x0;const _0x497d76=_0x469705[_0x522a91];Object[_0x4c94c9(0x413)](_0x497d76)['forEach'](_0x497487=>{const _0x2acf28=_0x4c94c9,_0x134eb8=_0x497d76[_0x497487];Object[_0x2acf28(0x413)](_0x134eb8)[_0x2acf28(0x1d9)](_0x482100=>{const _0x5f1393=_0x2acf28,_0x14124f=_0x134eb8[_0x482100];if(_0x14124f){if(_0x40e900>=_0x2abfcd)return;_0x40e900++;const _0xe39d8b=this[_0x5f1393(0x24e)](_0x522a91),_0x227153=_0xe39d8b[_0x5f1393(0x397)][_0x482100],_0x3ccd2d=_0x227153[_0x5f1393(0x3d4)]();let _0x9bbabd=0x0;const _0x158139=[];for(const _0x1b07c8 of _0x3ccd2d){const _0x18ae81=_0x227153[_0x5f1393(0x3a5)](_0x1b07c8);if(_0x294c18[_0x5f1393(0x435)](_0x18ae81)){const _0x51209f=_0x18ae81[_0x5f1393(0x4a1)](),_0x47981a=_0x227153[_0x5f1393(0x3a5)](_0x51209f);_0x47981a&&_0x158139[_0x5f1393(0x267)]([_0x18ae81,_0x47981a]);continue;}_0xe39d8b[_0x5f1393(0x279)](_0x1b07c8,_0x14124f[_0x5f1393(0x38f)],_0x9bbabd),_0x9bbabd++;}_0x158139[_0x5f1393(0x1d9)](([_0x472a58,_0x5cefe8])=>{const _0x5359b2=_0x5f1393;_0x472a58[_0x5359b2(0x477)](_0x5cefe8);});const _0x17ea39=new _0x294c18[(_0x5f1393(0x425))](_0x227153);_0x17ea39[_0x5f1393(0x1e5)](_0x14124f[_0x5f1393(0x491)]),this[_0x5f1393(0x354)](_0x522a91,_0x497487,_0x482100,_0x17ea39,_0x14124f);const _0x12bcea=_0x17ea39[_0x5f1393(0x251)]();_0x4976bb[_0x5f1393(0x267)]({'unitId':_0x522a91,'subUnitId':_0x497487,'pivotTableId':_0x482100,'view':_0x12bcea[_0x5f1393(0x238)](),'pivotConfig':_0x14124f,'type':_0xee3020[_0x5f1393(0x1c1)]});const _0x19cfe7=!!_0x17ea39['isEmpty'](),_0x27c2a7={'view':_0x12bcea,'pivotTableId':_0x482100,'textInfo':this['getTextInfo'](),'isEmpty':_0x19cfe7,'targetCellInfo':_0x14124f[_0x5f1393(0x309)]};this[_0x5f1393(0x209)](_0x27c2a7,!0x1);}});});});}_0x1036e5&&Object['keys'](_0x1036e5)[_0x230c4(0x1d9)](_0x389f50=>{const _0x861d0a=_0x230c4,_0x341969=this[_0x861d0a(0x24e)](_0x389f50);this['_fieldsCollectionChange$'][_0x861d0a(0x25f)](_0x341969[_0x861d0a(0x397)]);}),this['_commandService']['executeCommand'](_0x10e31e['id'],{'batch':_0x4976bb,'collectionConfig':_0x1036e5},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x28fe2f=_0x45d80e;this['disposeWithMe'](this['_resourceManagerService'][_0x28fe2f(0x25c)]({'toJson':_0xefa574=>JSON['stringify'](this[_0x28fe2f(0x238)](_0xefa574)),'parseJson':_0x520dfe=>{const _0x3d464c=_0x28fe2f;if(!_0x520dfe)return{};try{return JSON[_0x3d464c(0x3cc)](_0x520dfe);}catch{return{};}},'businesses':[_0x5c6728[_0x28fe2f(0x420)]['UNIVER_SHEET']],'pluginName':_0x1bf6a3,'onLoad':(_0x5d4b35,_0xd92309)=>{const _0x5a0c4e=_0x28fe2f;this[_0x5a0c4e(0x1e5)](_0xd92309);},'onUnLoad':_0x3a8d9f=>{const _0x301541=_0x28fe2f;this[_0x301541(0x253)](_0x3a8d9f);}}));}},_0x590b76[_0x45d80e(0x3c1)]=_0x8c0810([_0x59bf21(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x4a7)])),_0x59bf21(0x1,_0x5c6728[_0x45d80e(0x1dc)]),_0x59bf21(0x2,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x3b4)])),_0x59bf21(0x3,_0x5c6728[_0x45d80e(0x211)]),_0x59bf21(0x4,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x365)]))],_0x590b76[_0x45d80e(0x3c1)]);const _0x17f583={0x0:{0x0:{'v':_0x45d80e(0x3a3),'s':_0x3400c2}},0x2:{0x1:{'v':'','s':_0x3400c2},0x2:{'v':'','s':_0x3400c2},0x3:{'v':_0x45d80e(0x434),'s':_0x3400c2},0x4:{'v':'','s':_0x3400c2},0x5:{'v':'','s':_0x3400c2}},0x3:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0x4:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0x5:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0x6:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0x7:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0x8:{0x0:{'v':_0x45d80e(0x3da),'s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':_0x45d80e(0x1b3),'s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0x9:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0xa:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0xb:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0xc:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}},0xd:{0x0:{'v':'','s':_0x3400c2},0x1:{'v':'','s':_0x259f13},0x2:{'v':'','s':_0x259f13},0x3:{'v':'','s':_0x259f13},0x4:{'v':'','s':_0x259f13},0x5:{'v':'','s':_0x259f13}}},_0x126ba1={'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':[]},_0xdead30=(_0x153f98,_0x35deff)=>{const _0x3b5f26=_0x45d80e,_0x3f508d=new _0x5c6728[(_0x3b5f26(0x45c))](),_0x192c21=new _0x5c6728[(_0x3b5f26(0x45c))](_0x17f583),{row:_0x51bcc1,col:_0x1d45ad}=_0x35deff;_0x192c21['forValue']((_0x127422,_0x5961cc,_0x12931b)=>{const _0x30385c=_0x3b5f26;let _0x38ddc8='';_0x12931b['v']===_0x30385c(0x3a3)?_0x38ddc8=_0x153f98['filter']:_0x12931b['v']==='row'?_0x38ddc8=_0x153f98[_0x30385c(0x3da)]:_0x12931b['v']==='column'?_0x38ddc8=_0x153f98['column']:_0x12931b['v']===_0x30385c(0x1b3)&&(_0x38ddc8=_0x153f98[_0x30385c(0x1b3)]),_0x3f508d[_0x30385c(0x33e)](_0x127422+_0x51bcc1,_0x5961cc+_0x1d45ad,{..._0x12931b,'v':_0x38ddc8});});const _0x5cd8ba=_0x5c6728[_0x3b5f26(0x2e1)][_0x3b5f26(0x2f7)](_0x126ba1);return Object[_0x3b5f26(0x413)](_0x126ba1)[_0x3b5f26(0x1d9)](_0xfc42d7=>{const _0x5eb135=_0x3b5f26;_0x5cd8ba[_0xfc42d7]=_0x126ba1[_0xfc42d7][_0x5eb135(0x442)](_0x4f5583=>({..._0x4f5583,'startRow':_0x4f5583['startRow']+_0x51bcc1,'endRow':_0x4f5583[_0x5eb135(0x307)]+_0x51bcc1,'startColumn':_0x4f5583['startColumn']+_0x1d45ad,'endColumn':_0x4f5583[_0x5eb135(0x30a)]+_0x1d45ad}));}),{'matrixCache':_0x3f508d,'rangesCache':_0x5cd8ba};};function _0x2e147e(_0x49c055,_0x17eaf9){const _0x5d9a05=_0x45d80e;let _0x9e9fea='';const _0xb0db2f=this[_0x5d9a05(0x350)]();switch(_0x17eaf9){case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x362)]:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x1d8)]+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x292)]:_0x9e9fea=_0xb0db2f['sheets-pivot.countName']+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x1de)]:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x2e3)]+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x438)]:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x27a)]+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x1ce)]:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x487)]+_0x49c055;break;case _0x294c18['PivotSubtotalTypeEnum']['product']:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x352)]+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)]['stdDev']:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x33f)]+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x4b9)]:_0x9e9fea=_0xb0db2f['sheets-pivot.stdDevpName']+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x455)]:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x4a6)]+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x2f1)]:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x3f9)]+_0x49c055;break;case _0x294c18[_0x5d9a05(0x324)][_0x5d9a05(0x43e)]:_0x9e9fea=_0xb0db2f[_0x5d9a05(0x43f)]+_0x49c055;break;default:_0x9e9fea=_0x49c055;break;}return _0x9e9fea;}function _0x25cb58(_0x215eae,_0x5808f3,_0x517f88,_0x54e7dc,_0x282486){const _0x116092=_0x45d80e;var _0xcdde20,_0x50dc0b,_0x8ecdeb,_0x1554fc,_0x237833;const _0x54c8ce=_0x5c6728[_0x116092(0x3fd)](_0x215eae,_0x5808f3),{rangesInfo:_0x54a058,areaInfo:_0x493232,headerMap:_0x433b9d}=_0x282486;if(!_0x54a058||!_0x493232||!_0x433b9d)return;const _0x1db8a5=Object[_0x116092(0x413)](_0x54a058)[_0x116092(0x1bc)](_0x1a4481=>_0x54a058[_0x1a4481][_0x116092(0x46e)](_0xf1179c=>_0x5c6728[_0x116092(0x453)][_0x116092(0x39a)](_0xf1179c,_0x54c8ce))),_0xd3d545=_0x493232;let _0x168611,_0x368e2e,_0x4623d2;if(_0x1db8a5===_0x116092(0x35d))_0x168611=(_0xcdde20=_0xd3d545==null?void 0x0:_0xd3d545['rowInfo'])==null?void 0x0:_0xcdde20[_0x215eae],_0x368e2e=(_0x50dc0b=_0x433b9d==null?void 0x0:_0x433b9d[_0x116092(0x48a)])==null?void 0x0:_0x50dc0b[_0x5808f3],_0x4623d2=_0x368e2e==null?void 0x0:_0x368e2e[_0x116092(0x1d7)];else{if(_0x1db8a5===_0x116092(0x303))_0x168611=(_0x8ecdeb=_0xd3d545==null?void 0x0:_0xd3d545[_0x116092(0x257)])==null?void 0x0:_0x8ecdeb[_0x5808f3],_0x368e2e=(_0x1554fc=_0x433b9d[_0x116092(0x1f3)])==null?void 0x0:_0x1554fc[_0x215eae+0x1+_0x5808f3-_0x54a058['colRanges'][0x0]['startColumn']],_0x4623d2=_0x368e2e==null?void 0x0:_0x368e2e[_0x116092(0x1d7)];else{if(_0x1db8a5==='cornerRanges')_0x168611=(_0x237833=_0xd3d545==null?void 0x0:_0xd3d545[_0x116092(0x470)])==null?void 0x0:_0x237833[_0x5808f3],_0x4623d2=_0x168611==null?void 0x0:_0x168611[_0x116092(0x1d7)];else{if(_0x1db8a5===_0x116092(0x2f6)){const _0x458912=_0x517f88==null?void 0x0:_0x517f88['fi'];_0x458912!==void 0x0&&(_0x4623d2=_0x54e7dc[_0x116092(0x407)](_0x458912));}}}}return{'filterId':_0x4623d2,'info':_0x168611,'data':_0x517f88,'headerInfo':_0x368e2e};}function _0x2e7cbe(_0x297d48,_0x13175a,_0xf328bd){const _0xa1272d=_0x45d80e,_0x31ccc7=_0x297d48[_0xa1272d(0x2b3)],_0x7f293c=_0x31ccc7[_0xa1272d(0x3d4)](),_0x116056=new Set();_0x297d48[_0xa1272d(0x249)](_0x588aae=>{const _0x26129b=_0xa1272d;_0x116056[_0x26129b(0x256)](_0x588aae[_0x26129b(0x2dc)]);});const _0x143cca=_0x7f293c[_0xa1272d(0x442)](_0xdcdc0d=>{const _0x459c1c=_0xa1272d,_0x1a3a10=_0x31ccc7[_0x459c1c(0x3a5)](_0xdcdc0d);return{'checked':_0x116056[_0x459c1c(0x4af)](_0xdcdc0d),'dataFieldId':_0x1a3a10['id'],'id':_0x1a3a10['id'],'name':_0x31ccc7[_0x459c1c(0x3f2)](_0x1a3a10['id']),'type':_0x1a3a10[_0x459c1c(0x38e)](),'pivotTableId':_0x13175a};}),_0x9d45a8=[];_0x297d48['iterateFieldByArea'](_0x294c18[_0xa1272d(0x277)]['Row'],_0x3ac7d5=>{const _0x20b9a5=_0xa1272d;_0x9d45a8[_0x20b9a5(0x267)]({'dataFieldId':_0x3ac7d5['dataFieldId'],'tableFieldId':_0x3ac7d5[_0x20b9a5(0x246)](),'displayName':_0x3ac7d5['getDisplayName']()});});const _0x883546=[];_0x297d48[_0xa1272d(0x1e3)](_0x294c18[_0xa1272d(0x277)][_0xa1272d(0x2f8)],_0x171a38=>{const _0x383be7=_0xa1272d;_0x883546[_0x383be7(0x267)]({'dataFieldId':_0x171a38['dataFieldId'],'tableFieldId':_0x171a38[_0x383be7(0x246)](),'displayName':_0x171a38['getDisplayName']()});});const _0x1f1993=[];if(_0x297d48[_0xa1272d(0x1e3)](_0x294c18[_0xa1272d(0x277)][_0xa1272d(0x230)],_0x28ed18=>{const _0x175069=_0xa1272d;_0x1f1993[_0x175069(0x267)]({'dataFieldId':_0x28ed18['dataFieldId'],'tableFieldId':_0x28ed18[_0x175069(0x246)](),'displayName':_0x28ed18[_0x175069(0x3f2)](),'format':_0x28ed18['getFormat'](),'subTotalType':_0x28ed18[_0x175069(0x494)]()});}),_0x1f1993[_0xa1272d(0x1ac)]>0x1){const _0x3b3414=_0x297d48[_0xa1272d(0x3a7)]();(_0x297d48['isColMultiMeasure']()?_0x883546:_0x9d45a8)[_0xa1272d(0x216)](_0x3b3414,0x0,{'dataFieldId':'','tableFieldId':_0xa1272d(0x49c),'displayName':_0xa1272d(0x23c)});}const _0x223d14=[];_0x297d48[_0xa1272d(0x1e3)](_0x294c18[_0xa1272d(0x277)]['Filter'],_0x415466=>{const _0x18fd10=_0xa1272d;_0x223d14[_0x18fd10(0x267)]({'dataFieldId':_0x415466[_0x18fd10(0x2dc)],'tableFieldId':_0x415466[_0x18fd10(0x246)](),'displayName':_0x415466[_0x18fd10(0x3f2)]()});});const _0x46c576=_0xf328bd['sourceRangeInfo'];return{'sourceList':_0x143cca,'sourceRange':_0x46c576,'rowFields':_0x9d45a8,'columnFields':_0x883546,'valueFields':_0x1f1993,'filterFields':_0x223d14,'positionInfo':_0xf328bd[_0xa1272d(0x309)]};}function _0x27fe1b(_0x40044d,_0x1ba1fc,_0x1d3c40='',_0x446c20={}){const _0x248903=_0x45d80e,_0x10a374=_0x40044d['get'](_0x5c6728[_0x248903(0x1b0)]);for(const _0x23dceb in _0x1ba1fc)if(Object[_0x248903(0x258)]['hasOwnProperty'][_0x248903(0x2d7)](_0x1ba1fc,_0x23dceb)){const _0x174b95=_0x1d3c40?_0x1d3c40+'.'+_0x23dceb:_0x23dceb;typeof _0x1ba1fc[_0x23dceb]==_0x248903(0x2c3)&&_0x1ba1fc[_0x23dceb]!==null&&!Array[_0x248903(0x4ad)](_0x1ba1fc[_0x23dceb])?_0x27fe1b(_0x40044d,_0x1ba1fc[_0x23dceb],_0x174b95,_0x446c20):_0x446c20[_0x174b95]=_0x10a374['t'](_0x174b95);}return _0x446c20;}const _0x150053=_0x2949fe=>{const _0x52b0b7=_0x45d80e;if(!_0x2949fe)return[];const {rowRanges:_0x412fd8,colRanges:_0x3d1f99,cornerRanges:_0x58e795,dataRanges:_0xb7a41d,pageRanges:_0x36cc6c}=_0x2949fe,_0x20d900=[..._0x3d1f99,..._0x412fd8,..._0xb7a41d,..._0x58e795][_0x52b0b7(0x3a3)](_0x41df2c=>_0x41df2c[_0x52b0b7(0x4b6)]>=0x0&&_0x41df2c[_0x52b0b7(0x381)]>=0x0&&_0x41df2c['endRow']>=0x0&&_0x41df2c['endColumn']>=0x0);let _0x2ef3f8=Number[_0x52b0b7(0x44e)],_0x34f3cc=Number[_0x52b0b7(0x36d)],_0x3224a8=Number[_0x52b0b7(0x44e)],_0x16087c=Number[_0x52b0b7(0x36d)];for(let _0x4afd35=0x0;_0x4afd35<_0x20d900[_0x52b0b7(0x1ac)];_0x4afd35++)_0x2ef3f8=Math[_0x52b0b7(0x1ce)](_0x2ef3f8,_0x20d900[_0x4afd35][_0x52b0b7(0x4b6)]),_0x34f3cc=Math[_0x52b0b7(0x438)](_0x34f3cc,_0x20d900[_0x4afd35][_0x52b0b7(0x307)]),_0x3224a8=Math[_0x52b0b7(0x1ce)](_0x3224a8,_0x20d900[_0x4afd35][_0x52b0b7(0x381)]),_0x16087c=Math[_0x52b0b7(0x438)](_0x16087c,_0x20d900[_0x4afd35][_0x52b0b7(0x30a)]);return[..._0x36cc6c,{'startRow':_0x2ef3f8,'endRow':_0x34f3cc,'startColumn':_0x3224a8,'endColumn':_0x16087c}];};function _0x1ac321(_0x5efd40,_0x4bae48){const _0x58d335=_0x45d80e,_0x468a2a=_0x4bae48['params'][_0x58d335(0x235)],{pivotTableId:_0x59bf26,unitId:_0x3ede06,subUnitId:_0x46daeb}=_0x4bae48;if(!_0x468a2a)return;const _0x1d2990=_0x5efd40[_0x58d335(0x3bb)](_0x590b76[_0x58d335(0x3c1)]),_0x23bdf2=_0x1d2990[_0x58d335(0x3f7)](_0x59bf26),_0x9d9da6=_0x1d2990[_0x58d335(0x4a8)](_0x3ede06,_0x46daeb,_0x59bf26);if(!_0x23bdf2||!_0x9d9da6)return;const _0x18628c=_0x23bdf2[_0x58d335(0x334)](_0x468a2a[_0x58d335(0x2ef)]);if(!(_0x18628c!=null&&_0x18628c[_0x58d335(0x1ac)]))return;const _0x4bab9f=_0x9d9da6[_0x58d335(0x38f)],{unitId:_0x30335e,subUnitId:_0xe4796a,range:_0x437283}=_0x4bab9f;let _0x6fbbad=0x0;const _0x37779f=_0x23bdf2[_0x58d335(0x2b3)][_0x58d335(0x3d4)]()['reduce']((_0x16a8bc,_0x1bd649)=>{const _0x125b36=_0x58d335;var _0x2788f1;const _0xa5abf4=(_0x2788f1=_0x23bdf2[_0x125b36(0x3bc)](_0x1bd649))==null?void 0x0:_0x2788f1[_0x125b36(0x498)]();return _0xa5abf4&&(_0x16a8bc[String(_0x6fbbad)]=_0xa5abf4),_0x6fbbad++,_0x16a8bc;},{});return{'indexes':_0x18628c,'range':_0x437283,'sourceUnitId':_0x30335e,'sourceSubUnitId':_0xe4796a,'formatMap':_0x37779f};}function _0xa28249(_0x450f20,_0x6999c3){const _0x28c07b=_0x45d80e;if(!_0x450f20||!_0x6999c3)return!0x0;const _0x60a782=_0x10eb30[_0x28c07b(0x471)](_0x57c23c,_0x5ba245),_0x5163d4=new Function(_0x28c07b(0x3a2)+_0x60a782)()(_0x450f20,_0x6999c3)[_0x28c07b(0x2ea)],_0x424a80=_0x10eb30['isFeatureAuthorizedWithinTime'](_0x5163d4,'sf',_0x120aab);return!((_0x5163d4==null?void 0x0:_0x5163d4['rt'])===_0x10eb30['ReleaseType'][_0x28c07b(0x478)]&&!_0x424a80);}function _0x1cc9f1(_0x4cbf13,_0x55be1e,_0x160c21){const _0x5994f6=_0x45d80e,_0x1f7104={'count':_0x4cbf13,'timeValid':!0x1};if(!_0x55be1e||!_0x160c21)return _0x1f7104;const _0x5eb963=_0x10eb30['unshiftString'](_0x57c23c,_0x5ba245),_0x4df863=new Function('return\x20'+_0x5eb963)()(_0x55be1e,_0x160c21);if(_0x4df863!=null&&_0x4df863[_0x5994f6(0x314)]){const _0x566543=_0x4df863[_0x5994f6(0x2ea)],_0x2d45ed=_0x10eb30[_0x5994f6(0x371)](_0x566543,'sf',_0x120aab);return{'count':_0x10eb30['getSheetFeatureLimit'](_0x566543,_0x2d45ed,'ptn',_0x4cbf13,_0x4cbf13,0x0),'timeValid':_0x2d45ed};}return _0x1f7104;}function _0x3866c8(_0x26471a,_0x486482,_0x54d53d,_0x15ad96){const _0x4a126b=_0x45d80e,_0x3205dc={'subUnitId':_0x54d53d,'unitId':_0x486482,'cellValue':_0x102fa6[_0x4a126b(0x2f0)](_0x15ad96)},_0x24e48a=_0x102fa6[_0x4a126b(0x304)](_0x26471a,_0x3205dc);let _0x47e9f3=!0x1;return new _0x5c6728[(_0x4a126b(0x45c))](_0x24e48a[_0x4a126b(0x284)])[_0x4a126b(0x37b)]((_0x52fabd,_0xbdc5c7,_0x4b432f)=>{const _0xb5ac86=_0x4a126b;if(!_0x47e9f3&&_0x4b432f&&(_0x4b432f[_0xb5ac86(0x2af)]||_0x4b432f['f']||_0x4b432f['p']||_0x4b432f['s']||_0x4b432f['si']||_0x4b432f['t']||_0x4b432f['v']))return _0x47e9f3=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x102fa6[_0x4a126b(0x3d7)]['id'],'params':_0x24e48a},'setRangeValueRedoMutation':{'id':_0x102fa6[_0x4a126b(0x3d7)]['id'],'params':_0x3205dc},'shouldClear':_0x47e9f3};}function _0x5ea6b0(_0x2e4711){const {row:_0xbcb78b,col:_0x1ee1b2}=_0x2e4711,_0x4f21a7={'startRow':_0xbcb78b,'endRow':_0xbcb78b,'startColumn':_0x1ee1b2,'endColumn':_0x1ee1b2},_0x45765a={'startRow':_0xbcb78b+0x2,'endRow':_0xbcb78b+0xe,'startColumn':_0x1ee1b2,'endColumn':_0x1ee1b2+0x6};return[_0x4f21a7,_0x45765a];}function _0x3db602(_0x7cfd3f,_0x5b9a95,_0x1f5fbd){const _0x3045a9=_0x45d80e,{cornerView:_0x2479aa,rowView:_0x3bbe53,colView:_0x4afa9d,pageView:_0x58a466}=_0x7cfd3f,{row:_0x4ade13,col:_0x19a949}=_0x5b9a95;if(_0x1f5fbd)return{'rowCount':_0x135085+_0x4ade13,'colCount':_0x451db9+_0x19a949};const _0x597bd4=_0x58a466[_0x3045a9(0x28f)]>-0x1?_0x58a466[_0x3045a9(0x28f)]+0x1:0x0,_0x1c9ab4=_0x58a466[_0x3045a9(0x358)]>-0x1?_0x58a466['lastCol']:0x0,_0x3ca893=_0x4ade13+_0x597bd4+(_0x597bd4?0x1:0x0)+_0x2479aa[_0x3045a9(0x254)]+_0x3bbe53[_0x3045a9(0x254)],_0x18e5c7=_0x19a949+_0x1c9ab4,_0x42ae7b=_0x19a949+_0x2479aa[_0x3045a9(0x37e)]+_0x4afa9d[_0x3045a9(0x37e)],_0x403834=Math['max'](_0x18e5c7,_0x42ae7b);return{'rowCount':_0x3ca893,'colCount':_0x403834};}function _0x210c45(_0x4bd56c,_0x3f6feb,_0x2c45e2,_0x2a5b71){const _0x6a3c84=_0x45d80e,{row:_0x21c89c,col:_0x498552,unitId:_0x357e3c,subUnitId:_0x4bb199}=_0x2c45e2,_0x276df9=_0x3db602(_0x3f6feb,{'row':_0x21c89c,'col':_0x498552},_0x2a5b71),_0x157d4c=_0x4bd56c['get'](_0x5c6728[_0x6a3c84(0x1dc)]),_0x394c6f=_0x102fa6['getSheetCommandTarget'](_0x157d4c,{'unitId':_0x357e3c,'subUnitId':_0x4bb199}),_0x33495f=[],_0xf26912=[];if(!_0x394c6f)return{'undos':_0xf26912,'redos':_0x33495f};const {worksheet:_0x54fc05}=_0x394c6f,_0x58853b=_0x54fc05[_0x6a3c84(0x2a6)](),_0x103c5c=_0x54fc05['getColumnCount']();return _0x58853b<_0x276df9[_0x6a3c84(0x254)]&&(_0x33495f[_0x6a3c84(0x267)]({'id':_0x102fa6[_0x6a3c84(0x4b4)]['id'],'params':{'unitId':_0x357e3c,'subUnitId':_0x4bb199,'range':{'startRow':_0x58853b,'endRow':_0x276df9['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x103c5c-0x1}}}),_0xf26912['push']({'id':_0x102fa6[_0x6a3c84(0x373)]['id'],'params':{'unitId':_0x357e3c,'subUnitId':_0x4bb199,'range':{'startRow':_0x58853b,'endRow':_0x276df9['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x103c5c-0x1}}})),_0x103c5c<_0x276df9[_0x6a3c84(0x37e)]&&(_0x33495f[_0x6a3c84(0x267)]({'id':_0x102fa6[_0x6a3c84(0x398)]['id'],'params':{'unitId':_0x357e3c,'subUnitId':_0x4bb199,'range':{'startRow':0x0,'endRow':_0x58853b-0x1,'startColumn':_0x103c5c,'endColumn':_0x276df9[_0x6a3c84(0x37e)]-0x1}}}),_0xf26912['push']({'id':_0x102fa6['RemoveColMutation']['id'],'params':{'unitId':_0x357e3c,'subUnitId':_0x4bb199,'range':{'startRow':0x0,'endRow':_0x58853b-0x1,'startColumn':_0x103c5c,'endColumn':_0x276df9[_0x6a3c84(0x37e)]-0x1}}})),{'undos':_0xf26912,'redos':_0x33495f};}function _0x2e3d79(_0xccf7bd){const _0x3f5ed7=_0x45d80e;let _0x45c25b=0x0;for(let _0x4b0c8c=0x0;_0x4b0c8c<_0xccf7bd[_0x3f5ed7(0x1ac)];_0x4b0c8c++){const _0x322f7e=_0xccf7bd[_0x3f5ed7(0x25b)](_0x4b0c8c);_0x322f7e>=0x4e00&&_0x322f7e<=0x9fff||_0x322f7e>=0x3000&&_0x322f7e<=0x303f||_0x322f7e>=0xff00&&_0x322f7e<=0xffef?_0x45c25b+=0x2:_0x45c25b+=0x1;}return _0x45c25b;}function _0x2633ba(_0x53cbf6,_0x5d4b4b,_0x41573e,_0x2ffd5c){const _0x33179e=_0x45d80e;var _0x1c87fe,_0x5cad70,_0x505a3b,_0x3c016f;const {rowCount:_0xaef3d0,colCount:_0x350c81,headerMap:_0xc6ac12}=_0x53cbf6,_0x17ba8e=0x64,_0x563a8d=Math[_0x33179e(0x1ce)](_0xaef3d0,_0x17ba8e),_0x1a7f1b=Math['min'](_0x350c81,_0x17ba8e);let _0x5b859a='',_0xe473a0=0x0;for(let _0x24a83a=0x0;_0x24a83a<_0x563a8d;_0x24a83a++)for(let _0x5a344b=0x0;_0x5a344b<_0x1a7f1b;_0x5a344b++){const _0x693590={...(_0x5cad70=(_0x1c87fe=_0x53cbf6[_0x33179e(0x3d5)])==null?void 0x0:_0x1c87fe[_0x24a83a])==null?void 0x0:_0x5cad70[_0x5a344b]},_0x11077e=(_0x505a3b=_0xc6ac12[_0x24a83a])==null?void 0x0:_0x505a3b[_0x33179e(0x1d7)],_0x11c559=_0x2ffd5c[_0x11077e];let _0x584555=_0x53cbf6[_0x33179e(0x394)](_0x24a83a,_0x5a344b);if(_0x693590){const _0x1ef5b7=_0x41573e?_0x5a344b===0x0&&((_0x3c016f=_0x53cbf6[_0x33179e(0x2a4)](_0x5a344b+0x1))==null?void 0x0:_0x3c016f[_0x33179e(0x1d6)]):!0x1;_0x584555=_0x1634bf(_0x693590,_0x1ef5b7,_0x11c559,_0x5d4b4b);}if(_0x584555!==void 0x0){const _0x555c17=_0x2e3d79(String(_0x584555));_0xe473a0<_0x555c17&&(_0x5b859a=String(_0x584555),_0xe473a0=_0x555c17);}}return _0x5b859a;}function _0x4154ef(_0x34baa2){const _0x501c15=_0x45d80e,{rowCount:_0x1214b3,colCount:_0x242b27}=_0x34baa2;let _0x384a94='',_0x5c9377=0x0;for(let _0x4a4842=_0x1214b3-0x1;_0x4a4842>0x0&&_0x4a4842>_0x1214b3-0x3;_0x4a4842--)for(let _0x186d7c=0x0;_0x186d7c<_0x242b27;_0x186d7c++){const _0x3428a4=_0x34baa2[_0x501c15(0x394)](_0x4a4842,_0x186d7c);if(_0x3428a4!==void 0x0){const _0x264a53=String(_0x3428a4)[_0x501c15(0x1ac)];_0x5c9377<_0x264a53&&(_0x384a94=String(_0x3428a4),_0x5c9377=_0x264a53);}}return _0x384a94;}function _0x2cfb80(_0x5f1ecf){const _0x238d18=_0x45d80e,{rowCount:_0x449ecc,colCount:_0x1ee521}=_0x5f1ecf;let _0x7b4637='',_0x5bce73=0x0;for(let _0xb661d1=0x0;_0xb661d1<_0x449ecc;_0xb661d1++)for(let _0x3ae5ef=0x0;_0x3ae5ef<_0x1ee521;_0x3ae5ef++){const _0x3eaa03=_0x5f1ecf[_0x238d18(0x394)](_0xb661d1,_0x3ae5ef);if(_0x3eaa03!==void 0x0){const _0x422d29=String(_0x3eaa03)[_0x238d18(0x1ac)];_0x5bce73<_0x422d29&&(_0x7b4637=String(_0x3eaa03),_0x5bce73=_0x422d29);}}return _0x7b4637;}function _0x10192f(_0x42d1b1,_0x206d92){const _0x162bfc=_0x45d80e,{rowFields:_0xccc3c4,columnFields:_0x5e9726,valueFields:_0x35ffd5,filterFields:_0x123af1,dimension:_0x3c898a,measure:_0x417ba2}=_0x206d92;for(const _0x32ed75 of _0xccc3c4){const _0xc0caa6=_0x3c898a[_0x32ed75];_0xc0caa6&&_0x42d1b1[_0x162bfc(0x3bc)](_0xc0caa6[_0x162bfc(0x2dc)])&&(_0x42d1b1[_0x162bfc(0x32b)](_0xc0caa6[_0x162bfc(0x2dc)],_0x294c18[_0x162bfc(0x277)]['Row'],void 0x0,_0x32ed75),_0xc0caa6['displayName']&&_0x42d1b1[_0x162bfc(0x2a0)](_0xc0caa6['id'],_0xc0caa6[_0x162bfc(0x472)]),_0xc0caa6[_0x162bfc(0x1fa)]&&_0x42d1b1[_0x162bfc(0x414)](_0xc0caa6['id'],_0xc0caa6['sortInfo']),_0xc0caa6['filterInfo']&&_0x42d1b1[_0x162bfc(0x4ac)](_0xc0caa6['id'],_0xc0caa6[_0x162bfc(0x391)]));}for(const _0x4ae50a of _0x5e9726){const _0x2b1d73=_0x3c898a[_0x4ae50a];_0x2b1d73&&_0x42d1b1[_0x162bfc(0x3bc)](_0x2b1d73[_0x162bfc(0x2dc)])&&(_0x42d1b1[_0x162bfc(0x32b)](_0x2b1d73['dataFieldId'],_0x294c18[_0x162bfc(0x277)][_0x162bfc(0x2f8)],void 0x0,_0x4ae50a),_0x2b1d73[_0x162bfc(0x1fa)]&&_0x42d1b1[_0x162bfc(0x414)](_0x2b1d73['id'],_0x2b1d73[_0x162bfc(0x1fa)]),_0x2b1d73['filterInfo']&&_0x42d1b1[_0x162bfc(0x4ac)](_0x2b1d73['id'],_0x2b1d73[_0x162bfc(0x391)]),_0x2b1d73[_0x162bfc(0x472)]&&_0x42d1b1['renameField'](_0x2b1d73['id'],_0x2b1d73[_0x162bfc(0x472)]));}for(const _0x1accc8 of _0x123af1){const _0x25b1b9=_0x3c898a[_0x1accc8];_0x25b1b9&&_0x42d1b1[_0x162bfc(0x3bc)](_0x25b1b9[_0x162bfc(0x2dc)])&&(_0x42d1b1[_0x162bfc(0x32b)](_0x25b1b9[_0x162bfc(0x2dc)],_0x294c18[_0x162bfc(0x277)][_0x162bfc(0x214)],void 0x0,_0x1accc8),_0x25b1b9[_0x162bfc(0x1fa)]&&_0x42d1b1[_0x162bfc(0x414)](_0x25b1b9['id'],_0x25b1b9[_0x162bfc(0x1fa)]),_0x25b1b9[_0x162bfc(0x391)]&&_0x42d1b1['setLabelFilterInfo'](_0x25b1b9['id'],_0x25b1b9[_0x162bfc(0x391)]),_0x25b1b9[_0x162bfc(0x472)]&&_0x42d1b1[_0x162bfc(0x2a0)](_0x25b1b9['id'],_0x25b1b9[_0x162bfc(0x472)]));}for(const _0x1d0329 of _0x35ffd5){const _0x80db89=_0x417ba2[_0x1d0329];_0x80db89&&_0x42d1b1[_0x162bfc(0x3bc)](_0x80db89['dataFieldId'])&&(_0x42d1b1[_0x162bfc(0x32b)](_0x80db89['dataFieldId'],_0x294c18[_0x162bfc(0x277)][_0x162bfc(0x230)],void 0x0,_0x1d0329),_0x80db89[_0x162bfc(0x2cf)]!==void 0x0&&_0x42d1b1[_0x162bfc(0x264)](_0x1d0329,_0x80db89[_0x162bfc(0x2cf)]),_0x80db89[_0x162bfc(0x443)]&&_0x42d1b1[_0x162bfc(0x1cd)](_0x1d0329,_0x80db89[_0x162bfc(0x443)]),_0x80db89[_0x162bfc(0x472)]&&_0x42d1b1['renameField'](_0x80db89['id'],_0x80db89[_0x162bfc(0x472)]));}const _0x23f890=_0x206d92[_0x162bfc(0x1c7)];for(const {fieldId:_0x7739a1,filterInfo:_0x18a4a9}of _0x23f890)_0x42d1b1[_0x162bfc(0x33b)](_0x7739a1,_0x18a4a9);}function _0x12ce6c(_0x3fb38c,_0x3c78c9){const _0x4fb2a4=_0x45d80e,_0x362cc0=[];_0x3c78c9===_0x294c18[_0x4fb2a4(0x277)][_0x4fb2a4(0x24f)]&&_0x3fb38c[_0x4fb2a4(0x1e3)](_0x294c18[_0x4fb2a4(0x277)][_0x4fb2a4(0x24f)],_0xf710f0=>{const _0x4537cf=_0x4fb2a4;_0x362cc0[_0x4537cf(0x267)](_0xf710f0[_0x4537cf(0x246)]());}),_0x3c78c9===_0x294c18[_0x4fb2a4(0x277)][_0x4fb2a4(0x2f8)]&&_0x3fb38c[_0x4fb2a4(0x1e3)](_0x294c18['PivotTableFiledAreaEnum']['Column'],_0xb721a0=>{const _0xe05bf6=_0x4fb2a4;_0x362cc0[_0xe05bf6(0x267)](_0xb721a0[_0xe05bf6(0x246)]());}),_0x3c78c9===_0x294c18['PivotTableFiledAreaEnum']['Filter']&&_0x3fb38c[_0x4fb2a4(0x1e3)](_0x294c18[_0x4fb2a4(0x277)][_0x4fb2a4(0x214)],_0x168080=>{const _0x52ee43=_0x4fb2a4;_0x362cc0['push'](_0x168080[_0x52ee43(0x246)]());}),_0x3c78c9===_0x294c18[_0x4fb2a4(0x277)][_0x4fb2a4(0x230)]&&_0x3fb38c[_0x4fb2a4(0x1e3)](_0x294c18[_0x4fb2a4(0x277)][_0x4fb2a4(0x230)],_0xcfa83a=>{const _0x13b61e=_0x4fb2a4;_0x362cc0[_0x13b61e(0x267)](_0xcfa83a['getId']());}),_0x3c78c9===void 0x0&&_0x3fb38c['iterateField'](_0x12d2d9=>{const _0x329268=_0x4fb2a4;_0x362cc0[_0x329268(0x267)](_0x12d2d9['getId']());});const _0x41838b=_0x362cc0[_0x4fb2a4(0x1ac)];for(let _0x47542d=_0x41838b-0x1;_0x47542d>=0x0;_0x47542d--)_0x3fb38c[_0x4fb2a4(0x1f8)](_0x362cc0[_0x47542d]);const _0x547650=_0x3fb38c['getValueFilterInfos']();for(const _0x571c66 in _0x547650)_0x3fb38c[_0x4fb2a4(0x2b9)](_0x571c66);}function _0xaa800e(_0x43ad57,_0x1e5120){const _0x425bb4=_0x45d80e,_0x3d9cd6=new Date(_0x294c18['excelDateToUnixMilliseconds'](_0x1e5120)),_0x4376e0=new Date(_0x294c18[_0x425bb4(0x40d)](_0x43ad57)),_0x15f949=_0x3d9cd6['getFullYear'](),_0x96b07f=_0x4376e0[_0x425bb4(0x288)](),_0x59266a=_0x3d9cd6[_0x425bb4(0x25d)](),_0x313a7d=_0x4376e0[_0x425bb4(0x25d)](),_0x327532=_0x3d9cd6[_0x425bb4(0x3f1)](),_0x481631=_0x4376e0[_0x425bb4(0x3f1)](),_0x2c676f=_0x15f949===_0x96b07f,_0x8ea989=_0x2c676f&&_0x59266a===_0x313a7d;return _0x2c676f&&_0x8ea989&&!(_0x8ea989&&_0x327532===_0x481631)?_0x294c18[_0x425bb4(0x2a5)][_0x425bb4(0x3be)]:_0x2c676f&&!_0x8ea989?_0x294c18[_0x425bb4(0x2a5)][_0x425bb4(0x227)]:_0x294c18['PivotDateGroupFieldDateTypeEnum'][_0x425bb4(0x1cb)];}function _0x351f17(_0x4d3bd3,_0x273cf9){const _0x143ccd=_0x45d80e,_0x2d59c5=_0x4d3bd3[_0x143ccd(0x3bb)](_0x590b76['SheetsPivotDataSourceModel'])['getTextInfo']();let _0x23dc97='';switch(_0x273cf9){case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x3be)]:_0x23dc97=_0x2d59c5[_0x143ccd(0x26e)];break;case _0x294c18[_0x143ccd(0x2a5)]['YearMonth']:_0x23dc97=_0x2d59c5[_0x143ccd(0x38b)];break;case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x1cb)]:_0x23dc97=_0x2d59c5[_0x143ccd(0x40a)];break;case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x432)]:_0x23dc97=_0x2d59c5['sheets-pivot.dateGroup.month'];break;case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x2f3)]:_0x23dc97=_0x2d59c5[_0x143ccd(0x357)];break;case _0x294c18['PivotDateGroupFieldDateTypeEnum'][_0x143ccd(0x29d)]:_0x23dc97=_0x2d59c5[_0x143ccd(0x376)];break;case _0x294c18[_0x143ccd(0x2a5)]['HourMinute']:_0x23dc97=_0x2d59c5[_0x143ccd(0x34e)];break;case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x269)]:_0x23dc97=_0x2d59c5[_0x143ccd(0x2aa)];break;case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x349)]:_0x23dc97=_0x2d59c5['sheets-pivot.dateGroup.minute'];break;case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x31a)]:_0x23dc97=_0x2d59c5[_0x143ccd(0x236)];break;case _0x294c18[_0x143ccd(0x2a5)][_0x143ccd(0x22d)]:_0x23dc97=_0x2d59c5[_0x143ccd(0x1d2)];break;default:_0x23dc97='';break;}return _0x23dc97;}const _0x10997a=_0x45d80e(0x29b),_0x18d9fc={};var _0x518fc8=Object['getOwnPropertyDescriptor'],_0x13cbc7=(_0x46c922,_0x563a8a,_0x380183,_0x4b3e0e)=>{const _0x52de82=_0x45d80e;for(var _0x2ad3f4=_0x4b3e0e>0x1?void 0x0:_0x4b3e0e?_0x518fc8(_0x563a8a,_0x380183):_0x563a8a,_0x5212a7=_0x46c922[_0x52de82(0x1ac)]-0x1,_0x28a208;_0x5212a7>=0x0;_0x5212a7--)(_0x28a208=_0x46c922[_0x5212a7])&&(_0x2ad3f4=_0x28a208(_0x2ad3f4)||_0x2ad3f4);return _0x2ad3f4;},_0x236cfe=(_0x16254d,_0x1dfbb4)=>(_0x37cc85,_0x2ccffc)=>_0x1dfbb4(_0x37cc85,_0x2ccffc,_0x16254d);_0x590b76['SheetsPivotTableConfigModel']=class extends _0x5c6728[_0x45d80e(0x272)]{constructor(_0x2bf8a5,_0x53c115,_0x4fa700,_0x6cd425,_0x2767db){const _0x1de36c=_0x45d80e;super(),_0x1a448b(this,_0x1de36c(0x2bf),new Map()),_0x1a448b(this,_0x1de36c(0x237),new Map()),_0x1a448b(this,_0x1de36c(0x459),new Map()),_0x1a448b(this,'_pivotTableMatrixInfo',new Map()),_0x1a448b(this,'_configVersion$',new _0x5ade5d[(_0x1de36c(0x379))]()),_0x1a448b(this,_0x1de36c(0x294),new _0x5ade5d['Subject']()),_0x1a448b(this,_0x1de36c(0x261),this['_pivotInitCompleted$'][_0x1de36c(0x429)]()),_0x1a448b(this,_0x1de36c(0x1f6),new _0x5ade5d[(_0x1de36c(0x379))]()),_0x1a448b(this,_0x1de36c(0x495),this[_0x1de36c(0x1f6)][_0x1de36c(0x429)]()),_0x1a448b(this,_0x1de36c(0x49a),{}),_0x1a448b(this,_0x1de36c(0x2fb),this[_0x1de36c(0x368)][_0x1de36c(0x429)]()),(this[_0x1de36c(0x1b5)]=_0x2bf8a5,this['_commandService']=_0x53c115,this[_0x1de36c(0x43c)]=_0x4fa700,this['_resourceManagerService']=_0x6cd425,this[_0x1de36c(0x3c7)]=_0x2767db,this[_0x1de36c(0x490)](),this[_0x1de36c(0x3ca)]());const _0x4bda1d=this[_0x1de36c(0x3c7)]['getConfig'](_0x10997a);(_0x4bda1d==null?void 0x0:_0x4bda1d[_0x1de36c(0x3ed)])===!0x0&&this[_0x1de36c(0x234)]();}[_0x45d80e(0x3ca)](){const _0x301ccb=_0x45d80e;this['disposeWithMe'](this[_0x301ccb(0x43c)]['getTypeOfUnitDisposed$'](_0x5c6728[_0x301ccb(0x420)][_0x301ccb(0x3f6)])[_0x301ccb(0x2ca)](_0x1d15a9=>{const _0x67eb6a=_0x301ccb;this[_0x67eb6a(0x253)](_0x1d15a9[_0x67eb6a(0x4c6)]());}));}[_0x45d80e(0x441)](){const _0x178cfd=_0x45d80e;this[_0x178cfd(0x294)]['next'](!0x0);}['_initLocale'](){const _0x575f9f=_0x45d80e,_0x3214e2=_0x27fe1b(this['_injector'],_0x490b5d,'',{});this[_0x575f9f(0x49a)]=_0x3214e2,this[_0x575f9f(0x218)][_0x575f9f(0x326)](_0x54c4b5['id'],{'textInfo':_0x3214e2},{'onlyLocal':!0x0});}[_0x45d80e(0x350)](){const _0x34698e=_0x45d80e;return this[_0x34698e(0x49a)];}[_0x45d80e(0x308)](_0x25b075,_0x4edf06,_0x4af83a,_0x2153c5,_0x2fc56f){const _0x1db9a6=_0x45d80e;this[_0x1db9a6(0x203)](_0x25b075,_0x4edf06,_0x4af83a,_0x2153c5),this[_0x1db9a6(0x42c)](_0x25b075,_0x4edf06,_0x4af83a,_0x2fc56f);}[_0x45d80e(0x4a8)](_0x11e717,_0x3f3630,_0x5d3772){const _0xd8b43a=_0x45d80e;var _0x49c99c;const _0x4c9f89=(_0x49c99c=this[_0xd8b43a(0x2bf)][_0xd8b43a(0x3bb)](_0x11e717))==null?void 0x0:_0x49c99c[_0xd8b43a(0x3bb)](_0x3f3630);if(_0x4c9f89)return _0x4c9f89['get'](_0x5d3772);}[_0x45d80e(0x3b7)](_0x1d79c9,_0x1bbaab){const _0x2b445e=_0x45d80e,_0x1f81e5=this['_model']['get'](_0x1d79c9);if(_0x1f81e5){for(const [_0x294ff4,_0x5b88ef]of _0x1f81e5[_0x2b445e(0x333)]())for(const [_0xc2b7be,_0x274b82]of _0x5b88ef[_0x2b445e(0x333)]())if(_0xc2b7be===_0x1bbaab)return _0x274b82[_0x2b445e(0x309)];}}[_0x45d80e(0x306)](_0x36a178,_0xbd4992,_0x2df19b){const _0x5a1fe1=_0x45d80e,_0x528441=this[_0x5a1fe1(0x4a8)](_0x36a178,_0xbd4992,_0x2df19b);return _0x528441==null?void 0x0:_0x528441[_0x5a1fe1(0x309)];}['getSubUnitPivotConfigs'](_0x3d3be4,_0x36b6c2){const _0x3c1149=_0x45d80e;var _0x546bdc;return(_0x546bdc=this[_0x3c1149(0x2bf)][_0x3c1149(0x3bb)](_0x3d3be4))==null?void 0x0:_0x546bdc['get'](_0x36b6c2);}[_0x45d80e(0x315)](_0x19f31b,_0x55740e,_0x872e4f,_0x20d980){const _0x522c7c=_0x45d80e,_0x48c09c=this[_0x522c7c(0x3e2)](_0x19f31b,_0x55740e);_0x20d980?_0x48c09c[_0x522c7c(0x3f4)](_0x872e4f,_0x20d980):_0x48c09c[_0x522c7c(0x26d)](_0x872e4f),this[_0x522c7c(0x1f6)][_0x522c7c(0x25f)]({'unitId':_0x19f31b,'subUnitId':_0x55740e,'pivotTableId':_0x872e4f,'pivotTableConfig':_0x20d980});}[_0x45d80e(0x1c6)](_0x2cee51,_0x5d3ad4){const _0x4c4cee=_0x45d80e;var _0x5540b1;return(_0x5540b1=this[_0x4c4cee(0x237)][_0x4c4cee(0x3bb)](_0x2cee51))==null?void 0x0:_0x5540b1[_0x4c4cee(0x397)][_0x5d3ad4];}[_0x45d80e(0x32e)](_0x4caf29,_0x447cf3){this['_collectionConfigModel']['set'](_0x4caf29,_0x447cf3),this['_configVersion$']['next'](Math['random']());}[_0x45d80e(0x3e2)](_0x194469,_0x237533){const _0x56df36=_0x45d80e;let _0x59825b=this[_0x56df36(0x2bf)][_0x56df36(0x3bb)](_0x194469);_0x59825b||(_0x59825b=new Map(),this[_0x56df36(0x2bf)][_0x56df36(0x3f4)](_0x194469,_0x59825b));let _0x1c0423=_0x59825b[_0x56df36(0x3bb)](_0x237533);return _0x1c0423||(_0x1c0423=new Map(),_0x59825b[_0x56df36(0x3f4)](_0x237533,_0x1c0423)),_0x1c0423;}['_ensurePivotTableRangeInfo'](_0x16b98e,_0x48a77f){const _0x3d9565=_0x45d80e;let _0x2bfe75=this[_0x3d9565(0x459)][_0x3d9565(0x3bb)](_0x16b98e);_0x2bfe75||(_0x2bfe75=new Map(),this[_0x3d9565(0x459)][_0x3d9565(0x3f4)](_0x16b98e,_0x2bfe75));let _0x56dd98=_0x2bfe75['get'](_0x48a77f);return _0x56dd98||(_0x56dd98=new Map(),_0x2bfe75[_0x3d9565(0x3f4)](_0x48a77f,_0x56dd98)),_0x56dd98;}[_0x45d80e(0x24a)](_0x810221,_0x229cc4){const _0x28099f=_0x45d80e;let _0x9f76df=this[_0x28099f(0x3ba)]['get'](_0x810221);_0x9f76df||(_0x9f76df=new Map(),this[_0x28099f(0x3ba)]['set'](_0x810221,_0x9f76df));let _0x24f981=_0x9f76df[_0x28099f(0x3bb)](_0x229cc4);return _0x24f981||(_0x24f981=new Map(),_0x9f76df[_0x28099f(0x3f4)](_0x229cc4,_0x24f981)),_0x24f981;}[_0x45d80e(0x42c)](_0x225cce,_0x3a679c,_0x801411,_0x26acab){const _0x1eb9dc=_0x45d80e;var _0x443b95;const _0x444915=this['_ensurePivotTableRangeInfo'](_0x225cce,_0x3a679c),_0x48079=(_0x443b95=_0x444915[_0x1eb9dc(0x3bb)](_0x801411))==null?void 0x0:_0x443b95[_0x1eb9dc(0x3f3)];_0x444915[_0x1eb9dc(0x3f4)](_0x801411,{'oldRangeInfo':_0x48079,'rangeInfo':_0x26acab});}[_0x45d80e(0x203)](_0x1f5da2,_0x109b78,_0x400c1b,_0x4d4a5b){const _0x555096=_0x45d80e;var _0x2da2d9;const _0x2f4251=this['_ensurePivotTableMatrixInfo'](_0x1f5da2,_0x109b78),_0x135237=(_0x2da2d9=_0x2f4251[_0x555096(0x3bb)](_0x400c1b))==null?void 0x0:_0x2da2d9[_0x555096(0x28a)];_0x2f4251['set'](_0x400c1b,{'oldMatrix':_0x135237,'matrix':_0x4d4a5b});}[_0x45d80e(0x428)](_0x546bd3,_0x24976c,_0x2641e7){const _0x4a7245=_0x45d80e;var _0xd57443,_0x112631;return(_0x112631=(_0xd57443=this['_pivotTableRangeInfo'][_0x4a7245(0x3bb)](_0x546bd3))==null?void 0x0:_0xd57443[_0x4a7245(0x3bb)](_0x24976c))==null?void 0x0:_0x112631['get'](_0x2641e7);}[_0x45d80e(0x207)](_0x1de596,_0x4f57d0,_0x4bc11d){const _0x587b04=_0x45d80e;var _0x19b693,_0x31ee27;return(_0x31ee27=(_0x19b693=this['_pivotTableMatrixInfo']['get'](_0x1de596))==null?void 0x0:_0x19b693[_0x587b04(0x3bb)](_0x4f57d0))==null?void 0x0:_0x31ee27[_0x587b04(0x3bb)](_0x4bc11d);}[_0x45d80e(0x253)](_0x169c19){const _0x1c42a4=_0x45d80e;this[_0x1c42a4(0x2bf)][_0x1c42a4(0x26d)](_0x169c19),this[_0x1c42a4(0x237)][_0x1c42a4(0x26d)](_0x169c19);}[_0x45d80e(0x1fe)](_0x37b29f){const _0x26656d=_0x45d80e,_0xe8024f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x26656d(0x237)]['get'](_0x37b29f)&&(_0xe8024f[_0x26656d(0x49d)][_0x37b29f]=this[_0x26656d(0x237)][_0x26656d(0x3bb)](_0x37b29f)),this[_0x26656d(0x2bf)][_0x26656d(0x3bb)](_0x37b29f)){_0xe8024f[_0x26656d(0x1e8)][_0x37b29f]={};const _0xf30cb8=this['_model']['get'](_0x37b29f);_0xf30cb8!=null&&_0xf30cb8['size']&&[..._0xf30cb8['keys']()][_0x26656d(0x1d9)](_0x1ff020=>{const _0x4458f7=_0x26656d,_0x4f7c20=_0xf30cb8['get'](_0x1ff020);_0x4f7c20!=null&&_0x4f7c20[_0x4458f7(0x28d)]&&(_0xe8024f[_0x4458f7(0x1e8)][_0x37b29f][_0x1ff020]={},[..._0x4f7c20[_0x4458f7(0x413)]()][_0x4458f7(0x1d9)](_0x4714c5=>{const _0x3bf33d=_0x4458f7,_0x17f962=_0x4f7c20[_0x3bf33d(0x3bb)](_0x4714c5);_0x17f962&&(_0xe8024f['pivotTableConfigs'][_0x37b29f][_0x1ff020][_0x4714c5]=_0x17f962);}));});}return _0xe8024f;}[_0x45d80e(0x234)](){const _0x2ee339=_0x45d80e;this[_0x2ee339(0x401)](this[_0x2ee339(0x1df)]['registerPluginResource']({'toJson':_0x38dec3=>JSON[_0x2ee339(0x337)](this[_0x2ee339(0x1fe)](_0x38dec3)),'parseJson':_0x584f71=>({}),'businesses':[_0x5c6728['UniverInstanceType'][_0x2ee339(0x3f6)]],'pluginName':_0x1bf6a3,'onLoad':(_0x47436d,_0x1cb97d)=>{},'onUnLoad':_0x539fc3=>{const _0x43f02d=_0x2ee339;this[_0x43f02d(0x253)](_0x539fc3);}}));}},_0x590b76[_0x45d80e(0x313)]=_0x13cbc7([_0x236cfe(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x4a7)])),_0x236cfe(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728['ICommandService'])),_0x236cfe(0x2,_0x5c6728['Inject'](_0x5c6728['IUniverInstanceService'])),_0x236cfe(0x3,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728['IResourceManagerService'])),_0x236cfe(0x4,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728['IConfigService']))],_0x590b76[_0x45d80e(0x313)]);var _0x182106=Object[_0x45d80e(0x2c1)],_0x244d9e=(_0x34ab56,_0x2195f3,_0x3870c4,_0x5a327f)=>{const _0x3cd5f4=_0x45d80e;for(var _0x3c65d4=_0x5a327f>0x1?void 0x0:_0x5a327f?_0x182106(_0x2195f3,_0x3870c4):_0x2195f3,_0xc365ee=_0x34ab56[_0x3cd5f4(0x1ac)]-0x1,_0x222131;_0xc365ee>=0x0;_0xc365ee--)(_0x222131=_0x34ab56[_0xc365ee])&&(_0x3c65d4=_0x222131(_0x3c65d4)||_0x3c65d4);return _0x3c65d4;},_0x56f370=(_0x2d487,_0x2a11a4)=>(_0x4aa4b0,_0x305cd2)=>_0x2a11a4(_0x4aa4b0,_0x305cd2,_0x2d487);_0x590b76[_0x45d80e(0x49b)]=class extends _0x5c6728['Disposable']{constructor(_0x485e67,_0x5f3f24,_0x3d36d5,_0x2f41e6,_0x490d14){const _0x28d0ae=_0x45d80e;super(),_0x1a448b(this,_0x28d0ae(0x263),new Map()),_0x1a448b(this,_0x28d0ae(0x3e5),new Map()),_0x1a448b(this,'_markDirty$',new _0x5ade5d[(_0x28d0ae(0x379))]()),_0x1a448b(this,_0x28d0ae(0x4b7),this[_0x28d0ae(0x2eb)][_0x28d0ae(0x429)]()),_0x1a448b(this,_0x28d0ae(0x3de),new _0x5ade5d[(_0x28d0ae(0x379))]()),_0x1a448b(this,_0x28d0ae(0x2cb),this[_0x28d0ae(0x3de)][_0x28d0ae(0x429)]()),_0x1a448b(this,_0x28d0ae(0x49a)),(this[_0x28d0ae(0x339)]=_0x485e67,this['_injector']=_0x5f3f24,this[_0x28d0ae(0x2c7)]=_0x3d36d5,this[_0x28d0ae(0x43c)]=_0x2f41e6,this['_exclusiveRangeService']=_0x490d14,this[_0x28d0ae(0x490)](),this[_0x28d0ae(0x3ca)]());}[_0x45d80e(0x3ca)](){const _0x99b383=_0x45d80e;this[_0x99b383(0x401)](this[_0x99b383(0x43c)][_0x99b383(0x4ae)](_0x5c6728[_0x99b383(0x420)][_0x99b383(0x3f6)])[_0x99b383(0x2ca)](_0x384086=>{const _0x5d9ce2=_0x99b383;this[_0x5d9ce2(0x253)](_0x384086[_0x5d9ce2(0x4c6)]());}));}[_0x45d80e(0x490)](){const _0x278173=_0x45d80e;this[_0x278173(0x49a)]=_0x27fe1b(this[_0x278173(0x1b5)],_0x490b5d,'',{});}[_0x45d80e(0x243)](_0x52b3b7){const _0x2152bd=_0x45d80e,{view:_0x4ba816,unitId:_0x1152b5,subUnitId:_0x1c9d6f,pivotTableId:_0x4480d3,type:_0x689678}=_0x52b3b7,_0x31ac13=this[_0x2152bd(0x2c7)][_0x2152bd(0x4a8)](_0x1152b5,_0x1c9d6f,_0x4480d3);if(!_0x4ba816||!_0x31ac13||_0x689678===_0xee3020[_0x2152bd(0x1fd)])return;const {pageView:_0x4f301b,cornerView:_0x223816,rowView:_0x1c578a,colView:_0x18132d,dataView:_0x35bac2}=_0x4ba816,_0x25c0ed=_0x31ac13[_0x2152bd(0x309)],_0x50b786=_0x31ac13[_0x2152bd(0x338)],_0x2ec015=this[_0x2152bd(0x486)](_0x1152b5,_0x1c9d6f),_0xf5b80f=this[_0x2152bd(0x42b)](_0x1152b5,_0x1c9d6f,_0x4480d3);if(_0x50b786)return this[_0x2152bd(0x493)](_0x52b3b7,_0x2ec015,_0x25c0ed,_0xf5b80f);{const _0x58a13e=_0x4a28b0(_0x25c0ed,_0x4f301b,!0x0),_0x198d86=_0x4f301b[_0x2152bd(0x28f)]>=0x0?_0x4f301b[_0x2152bd(0x28f)]+0x1:0x0,_0x5d54d3=_0x223816['getRowCount'](),_0x1d4b54=_0x223816[_0x2152bd(0x3b0)](),_0x481c6c=_0x58a13e[_0x2152bd(0x1ac)]>0x0?_0x1414fc:0x0,_0x4e0a26=_0x4a28b0({'row':_0x25c0ed[_0x2152bd(0x3da)]+_0x198d86+_0x481c6c,'col':_0x25c0ed[_0x2152bd(0x2e6)]},_0x223816,!0x1,!0x1),_0x24a540=_0x4a28b0({'row':_0x25c0ed[_0x2152bd(0x3da)]+_0x198d86+_0x481c6c+_0x5d54d3,'col':_0x25c0ed[_0x2152bd(0x2e6)]},_0x1c578a,!0x1,!0x0),_0x5d638c=_0x4a28b0({'row':_0x25c0ed[_0x2152bd(0x3da)]+_0x198d86+_0x481c6c,'col':_0x25c0ed[_0x2152bd(0x2e6)]+_0x1d4b54},_0x18132d,!0x1,!0x0),_0x33a292=_0x4a28b0({'row':_0x25c0ed[_0x2152bd(0x3da)]+_0x198d86+_0x481c6c+_0x5d54d3,'col':_0x25c0ed[_0x2152bd(0x2e6)]+_0x1d4b54},_0x35bac2,!0x1,!0x1);_0xf5b80f[_0x2152bd(0x275)]={'rowRanges':_0x24a540,'colRanges':_0x5d638c,'cornerRanges':_0x4e0a26,'dataRanges':_0x33a292,'pageRanges':_0x58a13e};const _0x4189e8=_0x15ac8e(this[_0x2152bd(0x1b5)],_0x4ba816,_0x31ac13,this['_textInfo']),{valueMatrix:_0x2c10da,rowInfo:_0x21c705,colInfo:_0xd0b216,cornerInfo:_0x328da3,rowHeaderMap:_0x53ebda,colHeaderMap:_0x23164d}=_0x4189e8;return _0xf5b80f[_0x2152bd(0x489)]={'rowInfo':_0x21c705,'colInfo':_0xd0b216,'cornerInfo':_0x328da3},_0xf5b80f[_0x2152bd(0x26b)]={'rowHeaderMap':_0x53ebda,'colHeaderMap':_0x23164d},_0x2c10da['forEach']((_0x2561a6,_0x5a69ee)=>{const _0x4704b0=_0x2152bd;Object['keys'](_0x5a69ee)[_0x4704b0(0x1d9)](_0x463e6c=>{const _0x1edbff=_0x4704b0,_0x1a658b=+_0x463e6c,_0x899a5a=_0x2c10da[_0x1edbff(0x394)](_0x2561a6,_0x1a658b);_0x2ec015[_0x1edbff(0x33e)](_0x2561a6,_0x1a658b,_0x899a5a);});}),this[_0x2152bd(0x3de)]['next']({'unitId':_0x1152b5,'subUnitId':_0x1c9d6f,'valueMatrix':_0x2ec015,'rangesCache':_0xf5b80f[_0x2152bd(0x275)],'pivotTableId':_0x4480d3,'type':_0x52b3b7['type']}),this[_0x2152bd(0x2c7)][_0x2152bd(0x308)](_0x1152b5,_0x1c9d6f,_0x4480d3,_0x2ec015,_0xf5b80f[_0x2152bd(0x275)]),this[_0x2152bd(0x252)]['addExclusiveRange'](_0x1152b5,_0x1c9d6f,_0x573dd1,this[_0x2152bd(0x2ec)](_0xf5b80f[_0x2152bd(0x275)],_0x4480d3)),{'rangeCache':_0xf5b80f['rangesInfo'],'matrix':_0x2ec015};}}['_updateRenderEmptyCache'](_0x54986b,_0x2781db,_0x33a776,_0x404473){const _0x1b87a3=_0x45d80e,_0x45fd6d=this[_0x1b87a3(0x339)]['t'],{unitId:_0x104b51,subUnitId:_0x13ac0b,pivotTableId:_0x23bf27}=_0x54986b,_0x3a4893={'filter':_0x45fd6d(_0x1b87a3(0x3e9)),'row':_0x45fd6d(_0x1b87a3(0x274)),'column':_0x45fd6d('sheets-pivot.emptyPivot.column'),'values':_0x45fd6d(_0x1b87a3(0x1c4))},{matrixCache:_0x5da564,rangesCache:_0x1cd9da}=_0xdead30(_0x3a4893,_0x33a776);return _0x5da564[_0x1b87a3(0x37b)]((_0x3fcbed,_0x2705c0,_0x432590)=>{const _0x258750=_0x1b87a3;_0x2781db[_0x258750(0x33e)](_0x3fcbed,_0x2705c0,_0x432590);}),_0x404473[_0x1b87a3(0x275)]=_0x1cd9da,this['_viewUpdate$'][_0x1b87a3(0x25f)]({'unitId':_0x104b51,'subUnitId':_0x13ac0b,'valueMatrix':_0x2781db,'rangesCache':_0x1cd9da,'pivotTableId':_0x23bf27,'type':_0x54986b['type'],'isEmpty':!0x0}),this[_0x1b87a3(0x2c7)][_0x1b87a3(0x308)](_0x104b51,_0x13ac0b,_0x23bf27,_0x2781db,_0x1cd9da),this[_0x1b87a3(0x252)][_0x1b87a3(0x41d)](_0x104b51,_0x13ac0b,_0x573dd1,this[_0x1b87a3(0x2ec)](_0x1cd9da,_0x23bf27)),{'rangeCache':_0x404473[_0x1b87a3(0x275)],'matrix':_0x2781db};}['_createExclusiveRange'](_0x4b73ef,_0x45d74b){const _0x89904=[],_0x399b7b=_0x150053(_0x4b73ef);for(const _0x455360 of _0x399b7b)_0x89904['push']({'groupId':_0x45d74b,'range':_0x455360});return _0x89904;}[_0x45d80e(0x4c0)](_0x249a6a){const _0x5a4627=_0x45d80e;var _0x1dad3a,_0x2d77da,_0x2d11c1,_0x18ea34;const {pivotTableId:_0x2d81e0,unitId:_0x23a811,subUnitId:_0x31523a}=_0x249a6a;if(!_0x2d81e0||!_0x23a811||!_0x31523a)return;const _0xef860=this[_0x5a4627(0x486)](_0x23a811,_0x31523a),_0x4520b9=(_0x2d77da=(_0x1dad3a=this[_0x5a4627(0x263)][_0x5a4627(0x3bb)](_0x23a811))==null?void 0x0:_0x1dad3a['get'](_0x31523a))==null?void 0x0:_0x2d77da['get'](_0x2d81e0);if(_0x4520b9!=null&&_0x4520b9[_0x5a4627(0x275)]){for(const _0x53db8b of Object[_0x5a4627(0x413)](_0x4520b9[_0x5a4627(0x275)]))_0x4520b9[_0x5a4627(0x275)][_0x53db8b][_0x5a4627(0x1d9)](_0xe0235c=>{const _0x8b2cd1=_0x5a4627;for(let _0x7afe1c=_0xe0235c[_0x8b2cd1(0x4b6)];_0x7afe1c<=_0xe0235c[_0x8b2cd1(0x307)];_0x7afe1c++)for(let _0x45e4f4=_0xe0235c[_0x8b2cd1(0x381)];_0x45e4f4<=_0xe0235c[_0x8b2cd1(0x30a)];_0x45e4f4++)_0xef860[_0x8b2cd1(0x488)](_0x7afe1c,_0x45e4f4);});}_0x4520b9&&((_0x18ea34=(_0x2d11c1=this[_0x5a4627(0x263)][_0x5a4627(0x3bb)](_0x23a811))==null?void 0x0:_0x2d11c1['get'](_0x31523a))==null||_0x18ea34[_0x5a4627(0x26d)](_0x2d81e0)),this[_0x5a4627(0x3de)]['next']({'unitId':_0x23a811,'subUnitId':_0x31523a,'valueMatrix':_0xef860,'pivotTableId':_0x2d81e0,'rangesCache':void 0x0,'type':_0x249a6a[_0x5a4627(0x463)]}),this[_0x5a4627(0x252)][_0x5a4627(0x332)](_0x23a811,_0x31523a,_0x573dd1,_0x2d81e0);}[_0x45d80e(0x42b)](_0x451a90,_0x1a60fb,_0x406107){const _0x58b5cd=_0x45d80e;var _0x32015c,_0x3b29ef,_0x3dd80,_0x5ce1a2,_0x3c5bcb,_0xb3cb66;return this[_0x58b5cd(0x263)]['has'](_0x451a90)||this[_0x58b5cd(0x263)][_0x58b5cd(0x3f4)](_0x451a90,new Map()),(_0x32015c=this['_pivotRenderInfoCache']['get'](_0x451a90))!=null&&_0x32015c[_0x58b5cd(0x4af)](_0x1a60fb)||(_0x3b29ef=this[_0x58b5cd(0x263)][_0x58b5cd(0x3bb)](_0x451a90))==null||_0x3b29ef[_0x58b5cd(0x3f4)](_0x1a60fb,new Map()),(_0x5ce1a2=(_0x3dd80=this['_pivotRenderInfoCache'][_0x58b5cd(0x3bb)](_0x451a90))==null?void 0x0:_0x3dd80[_0x58b5cd(0x3bb)](_0x1a60fb))!=null&&_0x5ce1a2[_0x58b5cd(0x4af)](_0x406107)||(_0xb3cb66=(_0x3c5bcb=this['_pivotRenderInfoCache'][_0x58b5cd(0x3bb)](_0x451a90))==null?void 0x0:_0x3c5bcb['get'](_0x1a60fb))==null||_0xb3cb66[_0x58b5cd(0x3f4)](_0x406107,{}),this[_0x58b5cd(0x263)][_0x58b5cd(0x3bb)](_0x451a90)[_0x58b5cd(0x3bb)](_0x1a60fb)[_0x58b5cd(0x3bb)](_0x406107);}['_ensurePivotItemRenderValueMatrixCache'](_0x1dcac2,_0x11da65){const _0x3e0c79=_0x45d80e;var _0x423185,_0x29230e;return this[_0x3e0c79(0x3e5)]['has'](_0x1dcac2)||this[_0x3e0c79(0x3e5)][_0x3e0c79(0x3f4)](_0x1dcac2,new Map()),(_0x423185=this[_0x3e0c79(0x3e5)][_0x3e0c79(0x3bb)](_0x1dcac2))!=null&&_0x423185[_0x3e0c79(0x4af)](_0x11da65)||(_0x29230e=this['_pivotRenderValueMatrixCache'][_0x3e0c79(0x3bb)](_0x1dcac2))==null||_0x29230e['set'](_0x11da65,new _0x5c6728[(_0x3e0c79(0x45c))]()),this[_0x3e0c79(0x3e5)][_0x3e0c79(0x3bb)](_0x1dcac2)['get'](_0x11da65);}[_0x45d80e(0x1b4)](_0x13024e,_0x524ae7,_0x59ea36,_0xef2958){const _0x52f001=_0x45d80e;var _0x3dafd4,_0x1e6025;const _0x1905af=(_0x1e6025=(_0x3dafd4=this[_0x52f001(0x3e5)][_0x52f001(0x3bb)](_0x13024e))==null?void 0x0:_0x3dafd4[_0x52f001(0x3bb)](_0x524ae7))==null?void 0x0:_0x1e6025[_0x52f001(0x394)](_0x59ea36,_0xef2958);if(_0x1905af!=null)return _0x1905af;}['getPivotTableIdByCell'](_0x5117f6,_0x142242,_0x4bb431,_0x469e25){const _0x1b77ee=_0x45d80e;var _0x197e2e;const _0x3b4984=_0x5c6728[_0x1b77ee(0x3fd)](_0x4bb431,_0x469e25),_0x3bab8b=(_0x197e2e=this[_0x1b77ee(0x263)][_0x1b77ee(0x3bb)](_0x5117f6))==null?void 0x0:_0x197e2e['get'](_0x142242);return _0x3bab8b?Array['from'](_0x3bab8b['keys']())[_0x1b77ee(0x1bc)](_0x30bd90=>{const _0x429784=_0x1b77ee,_0x31e7ec=_0x3bab8b['get'](_0x30bd90),_0x3b023e=_0x31e7ec==null?void 0x0:_0x31e7ec[_0x429784(0x275)];return _0x3b023e?Object['keys'](_0x3b023e)['some'](_0x410ac6=>_0x3b023e[_0x410ac6]['some'](_0x20f20b=>_0x5c6728[_0x429784(0x453)][_0x429784(0x39a)](_0x20f20b,_0x3b4984))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x45590e,_0x5c322e,_0x5252ff){const _0x3dae=_0x45d80e;var _0x5040ba;const _0x404aef=(_0x5040ba=this[_0x3dae(0x263)]['get'](_0x45590e))==null?void 0x0:_0x5040ba['get'](_0x5c322e),_0x460deb=[];return _0x404aef&&Array[_0x3dae(0x200)](_0x404aef['keys']())[_0x3dae(0x1d9)](_0xce57e0=>{const _0x484319=_0x3dae,_0x35abb7=_0x404aef['get'](_0xce57e0),_0x1458f7=_0x35abb7==null?void 0x0:_0x35abb7[_0x484319(0x275)];if(_0x1458f7)for(const _0x1f47f9 of Object[_0x484319(0x1b3)](_0x1458f7)){let _0x22faf4=!0x1;for(const _0x4f8d08 of _0x1f47f9)if(_0x5c6728[_0x484319(0x453)]['intersects'](_0x4f8d08,_0x5252ff)){_0x460deb[_0x484319(0x267)](_0xce57e0),_0x22faf4=!0x0;break;}if(_0x22faf4)break;}}),_0x460deb;}[_0x45d80e(0x311)](_0x20ebc1,_0x545998){const _0x918d64=_0x45d80e;var _0x51a550,_0x30439d;return(_0x30439d=(_0x51a550=this['_pivotRenderValueMatrixCache'][_0x918d64(0x3bb)](_0x20ebc1))==null?void 0x0:_0x51a550[_0x918d64(0x3bb)](_0x545998))!=null?_0x30439d:new _0x5c6728[(_0x918d64(0x45c))]();}[_0x45d80e(0x2b1)](_0x4822b4,_0x5827f6){const _0x57be8a=_0x45d80e;var _0x17e286;return(_0x17e286=this[_0x57be8a(0x263)][_0x57be8a(0x3bb)](_0x4822b4))==null?void 0x0:_0x17e286['get'](_0x5827f6);}[_0x45d80e(0x2e0)](_0x575bb6,_0x3c768c,_0x53afb5){const _0x2a9fa3=_0x45d80e;var _0x482d90,_0x28bf18;return(_0x28bf18=(_0x482d90=this['_pivotRenderInfoCache'][_0x2a9fa3(0x3bb)](_0x575bb6))==null?void 0x0:_0x482d90['get'](_0x3c768c))==null?void 0x0:_0x28bf18[_0x2a9fa3(0x3bb)](_0x53afb5);}[_0x45d80e(0x253)](_0x1fa6b1){const _0x2e5a6d=_0x45d80e;this[_0x2e5a6d(0x263)][_0x2e5a6d(0x26d)](_0x1fa6b1),this[_0x2e5a6d(0x3e5)][_0x2e5a6d(0x26d)](_0x1fa6b1);}['markDirty'](_0x1a5b5b,_0x14401e){const _0x4588ae=_0x45d80e;this[_0x4588ae(0x2eb)][_0x4588ae(0x25f)]({'unitId':_0x1a5b5b,'subUnitId':_0x14401e});}},_0x590b76['SheetsPivotTableAdaptorModel']=_0x244d9e([_0x56f370(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x1b0)])),_0x56f370(0x1,_0x5c6728['Inject'](_0x5c6728[_0x45d80e(0x4a7)])),_0x56f370(0x2,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x313)])),_0x56f370(0x3,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x1dc)])),_0x56f370(0x4,_0x5c6728[_0x45d80e(0x4b1)](_0x102fa6[_0x45d80e(0x32f)]))],_0x590b76[_0x45d80e(0x49b)]);var _0x9ae55a=Object[_0x45d80e(0x2c1)],_0x202c37=(_0x20379f,_0x35dab9,_0x3b855f,_0x4c29f3)=>{const _0x17c92f=_0x45d80e;for(var _0x3e1992=_0x4c29f3>0x1?void 0x0:_0x4c29f3?_0x9ae55a(_0x35dab9,_0x3b855f):_0x35dab9,_0x35b42e=_0x20379f[_0x17c92f(0x1ac)]-0x1,_0x7fc367;_0x35b42e>=0x0;_0x35b42e--)(_0x7fc367=_0x20379f[_0x35b42e])&&(_0x3e1992=_0x7fc367(_0x3e1992)||_0x3e1992);return _0x3e1992;},_0x249a77=(_0x2d7a3b,_0x5cb559)=>(_0x5a95ed,_0x1493d6)=>_0x5cb559(_0x5a95ed,_0x1493d6,_0x2d7a3b);_0x590b76['SheetsPivotTableService']=class extends _0x5c6728[_0x45d80e(0x272)]{constructor(_0x1ba97a,_0x31a1b1){const _0x407ba0=_0x45d80e;super(),_0x1a448b(this,_0x407ba0(0x481),new _0x5c6728[(_0x407ba0(0x2b2))]({'PIVOT_PERFORM_CHECK':_0x201e9f})),_0x1a448b(this,_0x407ba0(0x4bc),new _0x5c6728[(_0x407ba0(0x210))]({'PIVOT_MUTATION_GENERATE':_0x2cffc4})),(this[_0x407ba0(0x45f)]=_0x1ba97a,this['_sheetsPivotTableAdaptorModel']=_0x31a1b1,this[_0x407ba0(0x1ec)]());}[_0x45d80e(0x1ec)](){const _0x1f0abd=_0x45d80e;this[_0x1f0abd(0x404)]();}[_0x45d80e(0x33a)](_0x5347e6){const _0x246b94=_0x45d80e;return this['asyncInterceptor'][_0x246b94(0x436)](_0x201e9f)(!0x1,_0x5347e6);}[_0x45d80e(0x404)](){const _0x44b8a4=_0x45d80e;this['disposeWithMe'](this[_0x44b8a4(0x45f)]['intercept'](_0x102fa6[_0x44b8a4(0x27d)][_0x44b8a4(0x448)],{'priority':0xc8,'effect':_0x5c6728[_0x44b8a4(0x402)][_0x44b8a4(0x230)]|_0x5c6728[_0x44b8a4(0x402)][_0x44b8a4(0x223)],'handler':(_0x2a0b44,_0x1c88d1,_0x34f052)=>{const _0x41d025=_0x44b8a4,{row:_0x5df8b4,col:_0x181d76,unitId:_0x3438c5,subUnitId:_0x6bd747,workbook:_0x449578}=_0x1c88d1,_0x391ad1=this[_0x41d025(0x262)][_0x41d025(0x1b4)](_0x3438c5,_0x6bd747,_0x5df8b4,_0x181d76);if(!_0x391ad1)return _0x34f052(_0x2a0b44);const _0x1c15f5={..._0x2a0b44};(_0x391ad1['v']||_0x391ad1['v']===0x0)&&(_0x1c15f5['v']=_0x391ad1['v']),_0x391ad1['t']&&(_0x1c15f5['t']=_0x391ad1['t']);const _0xe16c39=(typeof(_0x2a0b44==null?void 0x0:_0x2a0b44['s'])==_0x41d025(0x2b7)?_0x449578[_0x41d025(0x2c0)]()['get'](_0x2a0b44==null?void 0x0:_0x2a0b44['s']):_0x2a0b44==null?void 0x0:_0x2a0b44['s'])||{},_0x4219cb=_0x449578[_0x41d025(0x2c0)]()[_0x41d025(0x3bb)](_0x391ad1['s']),_0x3c16be={..._0x4219cb,..._0xe16c39};_0x4219cb!=null&&_0x4219cb['n']&&(_0x3c16be['n']=_0x4219cb['n']);const _0x11a45e=_0x449578['getStyles']()[_0x41d025(0x33e)](_0x3c16be);return _0x1c15f5['s']=_0x11a45e,(_0x391ad1['pbt']===_0x294c18['PivotCellStyleTypeEnum'][_0x41d025(0x37d)]||_0x391ad1['pbt']===_0x294c18[_0x41d025(0x265)]['Expand'])&&(_0x1c15f5[_0x41d025(0x20e)]={},_0x1c15f5['fontRenderExtension'][_0x41d025(0x32c)]=_0xd521c3),_0x34f052(_0x1c15f5);}}));}},_0x590b76[_0x45d80e(0x41b)]=_0x202c37([_0x249a77(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x102fa6[_0x45d80e(0x2dd)])),_0x249a77(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x49b)]))],_0x590b76[_0x45d80e(0x41b)]);const _0x3cac90={'id':_0x45d80e(0x2be),'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'handler':(_0x2a4eaa,_0xffa239)=>{const _0x50b587=_0x45d80e;if(!_0xffa239)return!0x1;if(!!_0x2a4eaa[_0x50b587(0x3bb)](_0x5c6728[_0x50b587(0x44f)])[_0x50b587(0x499)](_0x2fa52c))return!0x0;const {pivotTableId:_0xc18787,fieldJSON:_0x115613,unitId:_0x22ee7f,subUnitId:_0x5a8518}=_0xffa239;let _0xcf2944;const {dataFieldType:_0x27f62c,id:_0x10a034,name:_0x5333d6,hexCode:_0x34f847,originalFieldId:_0x259feb}=_0x115613;if(_0x27f62c===_0x294c18['PivotDataFieldTypeEnum'][_0x50b587(0x24b)]&&(_0xcf2944=new _0x294c18[(_0x50b587(0x2f2))](_0x10a034,_0x5333d6,_0x34f847,_0x259feb)),!_0xcf2944)return!0x1;const _0x81ffe6=_0x2a4eaa['get'](_0x590b76[_0x50b587(0x3c1)]),_0x240ad4=_0x81ffe6[_0x50b587(0x24e)](_0x22ee7f),_0x5af424=_0x240ad4[_0x50b587(0x1c6)](_0xc18787);_0x240ad4[_0x50b587(0x4b5)](_0xcf2944),_0x5af424[_0x50b587(0x392)](_0xcf2944[_0x50b587(0x246)](),_0xcf2944[_0x50b587(0x2ad)]());const _0x48ffab=_0x5af424['getFieldById'](_0xcf2944[_0x50b587(0x4a1)]());_0x48ffab&&_0xcf2944['refreshGroupField'](_0x48ffab);const _0x521e48=_0x81ffe6[_0x50b587(0x4a8)](_0x22ee7f,_0x5a8518,_0xc18787);return _0x81ffe6[_0x50b587(0x418)]({'unitId':_0x22ee7f,'subUnitId':_0x5a8518,'token':_0xc18787,'type':_0xee3020[_0x50b587(0x1d3)],'pivotConfig':_0x521e48}),!0x0;}},_0xe54f70={'id':_0x45d80e(0x378),'type':_0x5c6728[_0x45d80e(0x33c)]['MUTATION'],'handler':(_0x40d9f8,_0x53bec9)=>{const _0x41bda3=_0x45d80e;if(!_0x53bec9)return!0x1;if(!!_0x40d9f8['get'](_0x5c6728[_0x41bda3(0x44f)])['getConfig'](_0x2fa52c))return!0x0;const {pivotTableId:_0x5acd48,dataFieldId:_0x37cf12,unitId:_0x2edde4,subUnitId:_0x4fdb97}=_0x53bec9,_0x41d744=_0x40d9f8[_0x41bda3(0x3bb)](_0x590b76[_0x41bda3(0x3c1)]),_0x1d65b7=_0x41d744[_0x41bda3(0x24e)](_0x2edde4);_0x1d65b7[_0x41bda3(0x1c6)](_0x5acd48)[_0x41bda3(0x409)](_0x37cf12);let _0x49a5a0=!0x0;for(const _0x38050e in _0x1d65b7[_0x41bda3(0x397)])if(_0x1d65b7['collections'][_0x38050e][_0x41bda3(0x3d4)]()[_0x41bda3(0x4ba)](_0x37cf12)){_0x49a5a0=!0x1;break;}_0x49a5a0&&_0x1d65b7[_0x41bda3(0x3f0)](_0x37cf12);const _0x385a12=_0x41d744[_0x41bda3(0x4a8)](_0x2edde4,_0x4fdb97,_0x5acd48);return _0x41d744[_0x41bda3(0x418)]({'unitId':_0x2edde4,'subUnitId':_0x4fdb97,'token':_0x5acd48,'type':_0xee3020[_0x41bda3(0x1d3)],'pivotConfig':_0x385a12}),!0x0;}};function _0xb44aad(_0x52baf0,_0x2be008){const _0x5d3f08=_0x45d80e;switch(_0x2be008){case _0x294c18[_0x5d3f08(0x277)][_0x5d3f08(0x230)]:return _0x52baf0[_0x5d3f08(0x34b)];case _0x294c18[_0x5d3f08(0x277)]['Filter']:return _0x52baf0[_0x5d3f08(0x296)];case _0x294c18[_0x5d3f08(0x277)][_0x5d3f08(0x24f)]:return _0x52baf0[_0x5d3f08(0x3e8)];case _0x294c18[_0x5d3f08(0x277)][_0x5d3f08(0x2f8)]:return _0x52baf0[_0x5d3f08(0x3ff)];default:return[];}}function _0x5f33c6(_0x267cc4,_0xedf9d1){const _0x248ba4=_0x45d80e;return _0x267cc4[_0x248ba4(0x239)][_0xedf9d1]||_0x267cc4[_0x248ba4(0x242)][_0xedf9d1];}function _0x3bee94(_0x30702d,_0x17d35c){const _0xbd22fc=_0x45d80e,{area:_0x19b96e,fieldJson:_0x315af5,index:_0x40669e}=_0x17d35c;_0x19b96e===_0x294c18[_0xbd22fc(0x277)][_0xbd22fc(0x230)]?_0x30702d[_0xbd22fc(0x239)][_0x315af5['id']]=_0x315af5:_0x30702d['dimension'][_0x315af5['id']]=_0x315af5,_0xb44aad(_0x30702d,_0x19b96e)['splice'](_0x40669e,0x0,_0x315af5['id']);}function _0x3c7c3d(_0xeb4a6c,_0xd0d627){const _0x1ef148=_0x45d80e,{area:_0x2cb3e0,fieldId:_0x2289de,index:_0x12107e}=_0xd0d627;_0x2cb3e0===_0x294c18['PivotTableFiledAreaEnum'][_0x1ef148(0x230)]?delete _0xeb4a6c['measure'][_0x2289de]:delete _0xeb4a6c[_0x1ef148(0x242)][_0x2289de],_0xb44aad(_0xeb4a6c,_0x2cb3e0)[_0x1ef148(0x216)](_0x12107e,0x1);}function _0x362c8d(_0x31c8d3,_0x2e705a){const {fieldId:_0x2cb4e4,name:_0x647a1c}=_0x2e705a,_0x1f5ad4=_0x5f33c6(_0x31c8d3,_0x2cb4e4);_0x1f5ad4&&(_0x1f5ad4['displayName']=_0x647a1c);}function _0x31aee6(_0x1e205,_0x42aec9){const _0x1dcece=_0x45d80e,{fieldId:_0x1b143b,collapse:_0x40580f,item:_0x417206}=_0x42aec9;_0x417206!==void 0x0?(_0x1e205[_0x1dcece(0x3c5)][_0x1b143b]=_0x1e205['collapseInfo'][_0x1b143b]||{},_0x1e205[_0x1dcece(0x3c5)][_0x1b143b][_0x417206]=_0x40580f):_0x1e205[_0x1dcece(0x3c5)][_0x1b143b]=_0x40580f;}function _0x53cd0c(_0x540d0d,_0x2e3617){const _0x3bc3f5=_0x45d80e,{fieldId:_0x23cdbe,format:_0x11bc97}=_0x2e3617,_0x21c176=_0x5f33c6(_0x540d0d,_0x23cdbe);_0x21c176&&(_0x21c176[_0x3bc3f5(0x443)]=_0x11bc97);}function _0x3f7c54(_0x16dc7e,_0x4c51f8){const _0x113912=_0x45d80e,{fieldId:_0x203608,filterInfo:_0x4a4fec}=_0x4c51f8,_0x537a7c=_0x5f33c6(_0x16dc7e,_0x203608);_0x537a7c&&(_0x537a7c[_0x113912(0x391)]=_0x4a4fec);}function _0x176ddb(_0x5c4fc3,_0x48915){const _0x5c6e3e=_0x45d80e,{fieldId:_0x1cdf86,filterInfo:_0x307df0}=_0x48915,_0x1cb469=_0x5c4fc3[_0x5c6e3e(0x1c7)]['filter'](_0x3e9b38=>_0x3e9b38[_0x5c6e3e(0x3dc)]!==_0x1cdf86);_0x307df0&&_0x1cb469[_0x5c6e3e(0x267)]({'fieldId':_0x1cdf86,'filterInfo':_0x307df0}),_0x5c4fc3[_0x5c6e3e(0x1c7)]=_0x1cb469;}function _0x25b724(_0x49c8c3,_0xc223ae){const _0x9134a9=_0x45d80e,{fieldId:_0x185d18,subtotalType:_0x53e99a}=_0xc223ae,_0x1af604=_0x5f33c6(_0x49c8c3,_0x185d18);_0x1af604&&(_0x1af604[_0x9134a9(0x2cf)]=_0x53e99a);}function _0x2580b2(_0x223209,_0x4b5c0e){const _0x49cf2a=_0x45d80e,{fieldId:_0x3d4b90,oldArea:_0x394ef0,area:_0x1ea2ad,oldIndex:_0x11885b,index:_0x28d6ee}=_0x4b5c0e,_0x3aa993=_0x394ef0!==_0x294c18[_0x49cf2a(0x277)][_0x49cf2a(0x230)]&&_0x1ea2ad===_0x294c18['PivotTableFiledAreaEnum'][_0x49cf2a(0x230)],_0x4e21d8=_0x394ef0===_0x294c18[_0x49cf2a(0x277)][_0x49cf2a(0x230)]&&_0x1ea2ad!==_0x294c18['PivotTableFiledAreaEnum'][_0x49cf2a(0x230)];if(_0x3aa993||_0x4e21d8){const _0x4ac6c5=_0x5f33c6(_0x223209,_0x3d4b90);_0x4ac6c5&&(_0x3aa993?(delete _0x223209[_0x49cf2a(0x242)][_0x3d4b90],_0x223209[_0x49cf2a(0x239)][_0x3d4b90]=_0x4ac6c5):(delete _0x223209[_0x49cf2a(0x239)][_0x3d4b90],_0x223209['dimension'][_0x3d4b90]=_0x4ac6c5));}const _0x148a1b=_0xb44aad(_0x223209,_0x394ef0),_0x17829b=_0xb44aad(_0x223209,_0x1ea2ad);_0x148a1b['splice'](_0x11885b,0x1),_0x17829b[_0x49cf2a(0x216)](_0x28d6ee,0x0,_0x3d4b90);}function _0x2dd877(_0x50953a,_0x1b85f1){const _0x48652d=_0x45d80e,{valuePosition:_0x3ab8b0,index:_0x99d307}=_0x1b85f1;_0x50953a[_0x48652d(0x4c3)]=_0x3ab8b0,_0x50953a[_0x48652d(0x1bd)]=_0x99d307;}function _0x5cd5c9(_0xc74820,_0x544a48){const _0x3b2568=_0x45d80e,{tableFieldId:_0x5391e7,sourceName:_0x68afa,dataFieldId:_0xaa057}=_0x544a48,_0x194740=_0x5f33c6(_0xc74820,_0x5391e7);_0x194740&&(_0x194740[_0x3b2568(0x3af)]=_0x68afa,_0x194740[_0x3b2568(0x2dc)]=_0xaa057);}function _0x41fcf3(_0x4f0efd,_0xd09c9b){const {fieldId:_0x38a5d2,sortInfo:_0x3671eb}=_0xd09c9b,_0x457a54=_0x5f33c6(_0x4f0efd,_0x38a5d2);_0x457a54&&(_0x457a54['sortInfo']=_0x3671eb);}function _0xa797ec(_0x461b34,_0x561b01){const _0x176f64=_0x45d80e,{options:_0x63de4e}=_0x561b01;_0x461b34[_0x176f64(0x363)]={..._0x461b34[_0x176f64(0x363)],..._0x63de4e};}const _0x494f38={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x36f),'handler'(_0x429e1d,_0x516ab5){const _0x343457=_0x45d80e;if(!_0x516ab5)return!0x1;if(!!_0x429e1d['get'](_0x5c6728[_0x343457(0x44f)])[_0x343457(0x499)](_0x2fa52c))return!0x0;const _0x2daae3=_0x429e1d[_0x343457(0x3bb)](_0x590b76[_0x343457(0x3c1)]),{pivotTableId:_0x360b78,fieldJson:_0x4720a2,area:_0x5a3e51,index:_0x56b5ef,unitId:_0x28069f,subUnitId:_0x43efe7}=_0x516ab5,_0x6cc247=_0x2daae3['getPivotTableInstance'](_0x360b78);if(!_0x6cc247)return!0x1;let _0x3a2643;_0x5a3e51===_0x294c18[_0x343457(0x277)][_0x343457(0x230)]?_0x3a2643=_0x294c18[_0x343457(0x3a6)](_0x4720a2):_0x3a2643=_0x294c18[_0x343457(0x1ed)](_0x4720a2),_0x6cc247['addField'](_0x3a2643,_0x5a3e51,_0x56b5ef);const _0x3a8ff7=_0x2daae3[_0x343457(0x39c)](_0x28069f,_0x43efe7,_0x360b78);_0x3bee94(_0x3a8ff7,_0x516ab5);const _0x151957=_0x2daae3['getPivotTableConfig'](_0x28069f,_0x43efe7,_0x360b78);return _0x2daae3[_0x343457(0x418)]({'unitId':_0x28069f,'subUnitId':_0x43efe7,'token':_0x360b78,'type':_0xee3020[_0x343457(0x1d3)],'pivotConfig':_0x151957}),!0x0;}},_0x52e383={'type':_0x5c6728['CommandType'][_0x45d80e(0x374)],'id':_0x45d80e(0x3ce),'handler'(_0x4d985b,_0x5e0ea5){const _0x236cda=_0x45d80e;if(!_0x5e0ea5)return!0x1;if(!!_0x4d985b[_0x236cda(0x3bb)](_0x5c6728[_0x236cda(0x44f)])['getConfig'](_0x2fa52c))return!0x0;const _0x4351fe=_0x4d985b[_0x236cda(0x3bb)](_0x590b76[_0x236cda(0x3c1)]),{pivotTableId:_0x474fa1,fieldId:_0x41f20d,unitId:_0xe5a7c,subUnitId:_0x3d4c5a}=_0x5e0ea5,_0x1e6af5=_0x4351fe[_0x236cda(0x3f7)](_0x474fa1);if(!_0x1e6af5)return!0x1;_0x1e6af5[_0x236cda(0x1f8)](_0x41f20d);const _0x3d5fe8=_0x4351fe[_0x236cda(0x39c)](_0xe5a7c,_0x3d4c5a,_0x474fa1);_0x3c7c3d(_0x3d5fe8,_0x5e0ea5);const _0x465f78=_0x4351fe['getPivotTableConfig'](_0xe5a7c,_0x3d4c5a,_0x474fa1);return _0x4351fe[_0x236cda(0x418)]({'unitId':_0xe5a7c,'subUnitId':_0x3d4c5a,'token':_0x474fa1,'type':_0xee3020[_0x236cda(0x1d3)],'pivotConfig':_0x465f78}),!0x0;}},_0x4d2ccc={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x446),'handler'(_0x4a5e81,_0x2a114b){const _0x2f2f2=_0x45d80e;if(!_0x2a114b)return!0x1;if(!!_0x4a5e81[_0x2f2f2(0x3bb)](_0x5c6728[_0x2f2f2(0x44f)])['getConfig'](_0x2fa52c))return!0x0;const _0x508d39=_0x4a5e81[_0x2f2f2(0x3bb)](_0x590b76[_0x2f2f2(0x3c1)]),{unitId:_0x4e6224,subUnitId:_0xad5145,pivotTableId:_0x27afe8,fieldId:_0x36b4de,name:_0x509214}=_0x2a114b,_0x22b338=_0x508d39[_0x2f2f2(0x3f7)](_0x27afe8);if(!_0x22b338)return!0x1;_0x22b338['renameField'](_0x36b4de,_0x509214);const _0x13e6eb=_0x508d39['getPivotTableModelConfig'](_0x4e6224,_0xad5145,_0x27afe8);return _0x362c8d(_0x13e6eb,_0x2a114b),_0x508d39[_0x2f2f2(0x418)]({'unitId':_0x4e6224,'subUnitId':_0xad5145,'token':_0x27afe8,'type':_0xee3020[_0x2f2f2(0x1d3)]}),!0x0;}},_0x449695={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x1cc45e,_0x280430){const _0x11cf75=_0x45d80e;if(!_0x280430)return!0x1;if(!!_0x1cc45e[_0x11cf75(0x3bb)](_0x5c6728[_0x11cf75(0x44f)])[_0x11cf75(0x499)](_0x2fa52c))return!0x0;const _0x20dddc=_0x1cc45e[_0x11cf75(0x3bb)](_0x590b76[_0x11cf75(0x3c1)]),{unitId:_0x236864,subUnitId:_0x5e9230,pivotTableId:_0x403035,fieldId:_0x186474,collapse:_0x4f1b92,item:_0x1ac6f2}=_0x280430,_0x333b28=_0x20dddc[_0x11cf75(0x3f7)](_0x403035);if(!_0x333b28)return!0x1;_0x333b28[_0x11cf75(0x20c)](_0x186474,_0x4f1b92,_0x1ac6f2);const _0x55d50a=_0x20dddc['getPivotTableModelConfig'](_0x236864,_0x5e9230,_0x403035);return _0x31aee6(_0x55d50a,_0x280430),_0x20dddc[_0x11cf75(0x418)]({'unitId':_0x236864,'subUnitId':_0x5e9230,'token':_0x403035,'type':_0xee3020[_0x11cf75(0x1d3)]}),!0x0;}},_0x2031ca={'type':_0x5c6728['CommandType'][_0x45d80e(0x374)],'id':_0x45d80e(0x482),'handler'(_0x2e85bc,_0x369603){const _0x2f16cd=_0x45d80e;if(!_0x369603)return!0x1;if(!!_0x2e85bc[_0x2f16cd(0x3bb)](_0x5c6728[_0x2f16cd(0x44f)])[_0x2f16cd(0x499)](_0x2fa52c))return!0x0;const _0x39192e=_0x2e85bc[_0x2f16cd(0x3bb)](_0x590b76[_0x2f16cd(0x3c1)]),{unitId:_0x9e0d67,subUnitId:_0x1ebf42,pivotTableId:_0x3dddaa,fieldId:_0x1d34e3,format:_0x3f21a1}=_0x369603,_0xb13fe8=_0x39192e['getPivotTableInstance'](_0x3dddaa);if(!_0xb13fe8)return!0x1;_0xb13fe8['setFieldFormat'](_0x1d34e3,_0x3f21a1);const _0x41e93a=_0x39192e['getPivotTableModelConfig'](_0x9e0d67,_0x1ebf42,_0x3dddaa);return _0x53cd0c(_0x41e93a,_0x369603),_0x39192e[_0x2f16cd(0x418)]({'unitId':_0x9e0d67,'subUnitId':_0x1ebf42,'token':_0x3dddaa,'type':_0xee3020[_0x2f16cd(0x1d3)]}),!0x0;}},_0x49e54f={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x301),'handler'(_0x319c44,_0x2a1177){const _0x42b7f1=_0x45d80e;if(!_0x2a1177)return!0x1;if(!!_0x319c44[_0x42b7f1(0x3bb)](_0x5c6728[_0x42b7f1(0x44f)])[_0x42b7f1(0x499)](_0x2fa52c))return!0x0;const _0x2ab5c7=_0x319c44[_0x42b7f1(0x3bb)](_0x590b76[_0x42b7f1(0x3c1)]),{unitId:_0x72c7e1,subUnitId:_0x114651,pivotTableId:_0x58ea51,fieldId:_0x1064b2,filterInfo:_0x310989}=_0x2a1177,_0x559b92=_0x2ab5c7['getPivotTableInstance'](_0x58ea51);if(!_0x559b92)return!0x1;_0x559b92[_0x42b7f1(0x4ac)](_0x1064b2,_0x310989);const _0xeebe52=_0x2ab5c7[_0x42b7f1(0x39c)](_0x72c7e1,_0x114651,_0x58ea51);return _0x3f7c54(_0xeebe52,_0x2a1177),_0x2ab5c7[_0x42b7f1(0x418)]({'unitId':_0x72c7e1,'subUnitId':_0x114651,'token':_0x58ea51,'type':_0xee3020['Set']}),!0x0;}},_0x3a2a26={'type':_0x5c6728['CommandType'][_0x45d80e(0x374)],'id':_0x45d80e(0x361),'handler'(_0x3b6b28,_0x409ebf){const _0x38a54e=_0x45d80e;if(!_0x409ebf)return!0x1;if(!!_0x3b6b28[_0x38a54e(0x3bb)](_0x5c6728[_0x38a54e(0x44f)])[_0x38a54e(0x499)](_0x2fa52c))return!0x0;const _0x3178f1=_0x3b6b28[_0x38a54e(0x3bb)](_0x590b76[_0x38a54e(0x3c1)]),{unitId:_0xf271b6,subUnitId:_0x5c4b89,pivotTableId:_0x122f7f,options:_0x3f5f0d}=_0x409ebf,_0x6cb20d=_0x3178f1[_0x38a54e(0x3f7)](_0x122f7f);if(!_0x6cb20d)return!0x1;_0x6cb20d[_0x38a54e(0x3fe)](_0x3f5f0d);const _0x27537=_0x3178f1['getPivotTableModelConfig'](_0xf271b6,_0x5c4b89,_0x122f7f);return _0xa797ec(_0x27537,_0x409ebf),_0x3178f1[_0x38a54e(0x418)]({'unitId':_0xf271b6,'subUnitId':_0x5c4b89,'token':_0x122f7f,'type':_0xee3020[_0x38a54e(0x1d3)]}),!0x0;}},_0x4225a1={'type':_0x5c6728[_0x45d80e(0x33c)]['MUTATION'],'id':_0x45d80e(0x21c),'handler'(_0x5b5fca,_0x2ad786){const _0x549607=_0x45d80e;if(!_0x2ad786)return!0x1;if(!!_0x5b5fca[_0x549607(0x3bb)](_0x5c6728[_0x549607(0x44f)])[_0x549607(0x499)](_0x2fa52c))return!0x0;const _0xe1f669=_0x5b5fca[_0x549607(0x3bb)](_0x590b76['SheetsPivotDataSourceModel']),{unitId:_0x39473d,subUnitId:_0x475c1a,pivotTableId:_0x5af0a6,sortInfo:_0x5ce87c,fieldId:_0x28be16}=_0x2ad786,_0x500d79=_0xe1f669[_0x549607(0x3f7)](_0x5af0a6);if(!_0x500d79)return!0x1;_0x500d79['setSortInfo'](_0x28be16,_0x5ce87c);const _0x190a2e=_0xe1f669[_0x549607(0x39c)](_0x39473d,_0x475c1a,_0x5af0a6);return _0x41fcf3(_0x190a2e,_0x2ad786),_0xe1f669[_0x549607(0x418)]({'unitId':_0x39473d,'subUnitId':_0x475c1a,'token':_0x5af0a6,'type':_0xee3020['Set']}),!0x0;}},_0x2669e4={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x4ff133,_0x3b6acc){const _0x575842=_0x45d80e;if(!_0x3b6acc)return!0x1;if(!!_0x4ff133['get'](_0x5c6728[_0x575842(0x44f)])[_0x575842(0x499)](_0x2fa52c))return!0x0;const _0x1c9710=_0x4ff133[_0x575842(0x3bb)](_0x590b76['SheetsPivotDataSourceModel']),{unitId:_0x87e6af,subUnitId:_0x1e1550,pivotTableId:_0x2508f3,fieldId:_0x347d39,subtotalType:_0x502ad7}=_0x3b6acc,_0x5cf493=_0x1c9710[_0x575842(0x3f7)](_0x2508f3);if(!_0x5cf493)return!0x1;_0x5cf493[_0x575842(0x264)](_0x347d39,_0x502ad7);const _0x393eed=_0x1c9710['getPivotTableModelConfig'](_0x87e6af,_0x1e1550,_0x2508f3);return _0x25b724(_0x393eed,_0x3b6acc),_0x1c9710[_0x575842(0x418)]({'unitId':_0x87e6af,'subUnitId':_0x1e1550,'token':_0x2508f3,'type':_0xee3020[_0x575842(0x1d3)]}),!0x0;}},_0x597456={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x19891c,_0x32a35b){const _0x160150=_0x45d80e;if(!_0x32a35b)return!0x1;if(!!_0x19891c[_0x160150(0x3bb)](_0x5c6728[_0x160150(0x44f)])['getConfig'](_0x2fa52c))return!0x0;const _0x1cdb23=_0x19891c['get'](_0x590b76[_0x160150(0x3c1)]),{unitId:_0x576a70,subUnitId:_0x488cc3,pivotTableId:_0x4dc334,fieldId:_0x1daadc,filterInfo:_0x4edd9e}=_0x32a35b,_0x1f0709=_0x1cdb23[_0x160150(0x3f7)](_0x4dc334);if(!_0x1f0709)return!0x1;_0x1f0709[_0x160150(0x33b)](_0x1daadc,_0x4edd9e);const _0x44e146=_0x1cdb23[_0x160150(0x39c)](_0x576a70,_0x488cc3,_0x4dc334);return _0x176ddb(_0x44e146,_0x32a35b),_0x1cdb23['addDirtyPivotTable']({'unitId':_0x576a70,'subUnitId':_0x488cc3,'token':_0x4dc334,'type':_0xee3020[_0x160150(0x1d3)]}),!0x0;}},_0x4fe61d={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x1eb),'handler'(_0x5021b4,_0x433fe7){const _0x54fe4d=_0x45d80e;if(!_0x433fe7)return!0x1;if(!!_0x5021b4[_0x54fe4d(0x3bb)](_0x5c6728[_0x54fe4d(0x44f)])[_0x54fe4d(0x499)](_0x2fa52c))return!0x0;const _0x1f7c90=_0x5021b4[_0x54fe4d(0x3bb)](_0x590b76[_0x54fe4d(0x3c1)]),{unitId:_0x450bca,subUnitId:_0x1a4895,pivotTableId:_0x4dfe94,area:_0x1b5ec2,index:_0xdd97b6,fieldId:_0x39b6c0}=_0x433fe7,_0x5c1efd=_0x1f7c90[_0x54fe4d(0x3f7)](_0x4dfe94);if(!_0x5c1efd)return!0x1;_0x5c1efd[_0x54fe4d(0x346)](_0x39b6c0,_0x1b5ec2,_0xdd97b6);const _0x5bceb9=_0x1f7c90['getPivotTableModelConfig'](_0x450bca,_0x1a4895,_0x4dfe94);return _0x2580b2(_0x5bceb9,_0x433fe7),_0x1f7c90[_0x54fe4d(0x418)]({'unitId':_0x450bca,'subUnitId':_0x1a4895,'token':_0x4dfe94,'type':_0xee3020[_0x54fe4d(0x1d3)]}),!0x0;}},_0x279edb={'type':_0x5c6728[_0x45d80e(0x33c)]['MUTATION'],'id':_0x45d80e(0x405),'handler'(_0x4960ba,_0xbc062e){const _0x5d779a=_0x45d80e;if(!_0xbc062e)return!0x1;if(!!_0x4960ba[_0x5d779a(0x3bb)](_0x5c6728[_0x5d779a(0x44f)])['getConfig'](_0x2fa52c))return!0x0;const _0x2aff64=_0x4960ba[_0x5d779a(0x3bb)](_0x590b76[_0x5d779a(0x3c1)]),{unitId:_0x784830,subUnitId:_0x5476fe,pivotTableId:_0x24190b,sourceName:_0x2a0899,dataFieldId:_0xb88d56,tableFieldId:_0x386fb8}=_0xbc062e,_0x5ae30e=_0x2aff64[_0x5d779a(0x3f7)](_0x24190b);if(!_0x5ae30e)return!0x1;_0x5ae30e[_0x5d779a(0x26f)](_0x386fb8,_0x2a0899,_0xb88d56);const _0xce5e38=_0x2aff64[_0x5d779a(0x39c)](_0x784830,_0x5476fe,_0x24190b);return _0x5cd5c9(_0xce5e38,_0xbc062e),_0x2aff64[_0x5d779a(0x418)]({'unitId':_0x784830,'subUnitId':_0x5476fe,'token':_0x24190b,'type':_0xee3020[_0x5d779a(0x1d3)]}),!0x0;}},_0x8a9793={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x2db),'handler'(_0xc638c4,_0x515148){const _0x2e8450=_0x45d80e;if(!_0x515148)return!0x1;if(!!_0xc638c4['get'](_0x5c6728[_0x2e8450(0x44f)])[_0x2e8450(0x499)](_0x2fa52c))return!0x0;const _0x535cb8=_0xc638c4[_0x2e8450(0x3bb)](_0x590b76[_0x2e8450(0x3c1)]),{unitId:_0x4c11e5,subUnitId:_0x52215a,pivotTableId:_0x4dec69,valuePosition:_0x18c413,index:_0x215b82}=_0x515148,_0x23fef3=_0x535cb8[_0x2e8450(0x3f7)](_0x4dec69);if(!_0x23fef3)return!0x1;_0x23fef3['updateValuePosition'](_0x18c413,_0x215b82);const _0x4268e9=_0x535cb8[_0x2e8450(0x39c)](_0x4c11e5,_0x52215a,_0x4dec69);return _0x2dd877(_0x4268e9,_0x515148),_0x535cb8['addDirtyPivotTable']({'unitId':_0x4c11e5,'subUnitId':_0x52215a,'token':_0x4dec69,'type':_0xee3020['Set']}),!0x0;}};function _0x58ce14(_0x241c98,_0x45042a,_0x1b9ed1){const _0x297797=_0x45d80e,{pivotTableId:_0x375538,unitId:_0x330cd8,subUnitId:_0x39e390}=_0x45042a,_0x33880b=[],_0x269908=[];for(const _0x3dda93 of _0x1b9ed1)switch(_0x3dda93[_0x297797(0x463)]){case _0x294c18[_0x297797(0x336)][_0x297797(0x406)]:{const {fieldJson:_0x1214fb,area:_0xa2259f,index:_0x2f0210}=_0x3dda93,_0x42c52e={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldJson':_0x1214fb,'area':_0xa2259f,'index':_0x2f0210},_0x45303a={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x1214fb['id'],'area':_0xa2259f,'index':_0x2f0210};_0x33880b[_0x297797(0x267)]({'id':_0x494f38['id'],'params':_0x42c52e}),_0x269908[_0x297797(0x45a)]({'id':_0x52e383['id'],'params':_0x45303a});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x24d)]:{const {fieldId:_0x3c7ac8,newSubtotalType:_0x1d3e76,oldSubtotalType:_0x2a94ee}=_0x3dda93,_0x359c35={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x3c7ac8,'subtotalType':_0x1d3e76};_0x33880b[_0x297797(0x267)]({'id':_0x2669e4['id'],'params':_0x359c35});const _0x3030e9={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x3c7ac8,'subtotalType':_0x2a94ee};_0x269908[_0x297797(0x45a)]({'id':_0x2669e4['id'],'params':_0x3030e9});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x2c9)]:{const {fieldId:_0x398b88,fieldJson:_0x137160,area:_0x16283c,index:_0x13382a}=_0x3dda93,_0x1b44c1={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x398b88,'index':_0x13382a,'area':_0x16283c};_0x33880b[_0x297797(0x267)]({'id':_0x52e383['id'],'params':_0x1b44c1});const _0x3746cf={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldJson':_0x137160,'area':_0x16283c,'index':_0x13382a};_0x269908[_0x297797(0x45a)]({'id':_0x494f38['id'],'params':_0x3746cf});}break;case _0x294c18['PivotTableChangeTypeEnum'][_0x297797(0x408)]:{const {fieldId:_0x4a7e4a,oldName:_0x37af0c,newName:_0x214ec8}=_0x3dda93,_0xa8940d={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x4a7e4a,'name':_0x214ec8};_0x33880b[_0x297797(0x267)]({'id':_0x4d2ccc['id'],'params':_0xa8940d});const _0x18ff6b={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x4a7e4a,'name':_0x37af0c};_0x269908[_0x297797(0x45a)]({'id':_0x4d2ccc['id'],'params':_0x18ff6b});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x35e)]:{const {fieldId:_0x43d6d7,oldFilterInfo:_0x40c248,newFilterInfo:_0x42943e}=_0x3dda93,_0x4e0580={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x43d6d7,'filterInfo':_0x42943e};_0x33880b[_0x297797(0x267)]({'id':_0x49e54f['id'],'params':_0x4e0580});const _0x2b82a3={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x43d6d7,'filterInfo':_0x40c248};_0x269908[_0x297797(0x45a)]({'id':_0x49e54f['id'],'params':_0x2b82a3});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x3e0)]:{const {fieldId:_0x5c0658,oldSortInfo:_0x5581b1,newSortInfo:_0x518ce4}=_0x3dda93,_0x154a0e={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x5c0658,'sortInfo':_0x518ce4};_0x33880b[_0x297797(0x267)]({'id':_0x4225a1['id'],'params':_0x154a0e});const _0x3183ed={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x5c0658,'sortInfo':_0x5581b1};_0x269908['unshift']({'id':_0x4225a1['id'],'params':_0x3183ed});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x399)]:{const {oldOptions:_0x27263e,newOptions:_0x51b455}=_0x3dda93,_0x5d249d={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'options':_0x51b455};_0x33880b[_0x297797(0x267)]({'id':_0x3a2a26['id'],'params':_0x5d249d});const _0x57640d={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'options':_0x27263e};_0x269908[_0x297797(0x45a)]({'id':_0x3a2a26['id'],'params':_0x57640d});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x3b3)]:{const {oldArea:_0x328f22,newArea:_0x26b970,oldIndex:_0x1328d2,newIndex:_0x309a05,fieldId:_0x423c3b}=_0x3dda93,_0x3290f1={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x423c3b,'area':_0x26b970,'index':_0x309a05,'oldArea':_0x328f22,'oldIndex':_0x1328d2};_0x33880b[_0x297797(0x267)]({'id':_0x4fe61d['id'],'params':_0x3290f1});const _0x2c85aa={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x423c3b,'area':_0x328f22,'index':_0x1328d2,'oldArea':_0x26b970,'oldIndex':_0x309a05};_0x269908[_0x297797(0x45a)]({'id':_0x4fe61d['id'],'params':_0x2c85aa});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x1dd)]:{const {oldValuePosition:_0x2a1976,newValuePosition:_0x253cb2,oldIndex:_0x26e247,newIndex:_0x2b4f7c}=_0x3dda93,_0x277694={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'valuePosition':_0x253cb2,'index':_0x2b4f7c};_0x33880b[_0x297797(0x267)]({'id':_0x8a9793['id'],'params':_0x277694});const _0xc9ebb7={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'valuePosition':_0x2a1976,'index':_0x26e247};_0x269908[_0x297797(0x45a)]({'id':_0x8a9793['id'],'params':_0xc9ebb7});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x2da)]:{const {fieldId:_0x3bfd95,collapse:_0x3d263f,item:_0x4d2a09}=_0x3dda93,_0x1b99b0={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x3bfd95,'collapse':_0x3d263f,'item':_0x4d2a09};_0x33880b['push']({'id':_0x449695['id'],'params':_0x1b99b0});const _0x452e63={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x3bfd95,'collapse':!_0x3d263f,'item':_0x4d2a09};_0x269908[_0x297797(0x45a)]({'id':_0x449695['id'],'params':_0x452e63});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x3d3)]:{const {newFormat:_0x477c66,oldFormat:_0x402692,fieldId:_0x13ea55}=_0x3dda93,_0x1cf137={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x13ea55,'format':_0x477c66};_0x33880b[_0x297797(0x267)]({'id':_0x2031ca['id'],'params':_0x1cf137});const _0x52e51a={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x13ea55,'format':_0x402692};_0x269908[_0x297797(0x45a)]({'id':_0x2031ca['id'],'params':_0x52e51a});}break;case _0x294c18[_0x297797(0x336)]['UpdateSource']:{const {tableFieldId:_0x124298,oldSourceName:_0x566689,newSourceName:_0x303e75,oldDataFieldId:_0x420e18,newDataFieldId:_0x568d13}=_0x3dda93,_0x1a8da={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'tableFieldId':_0x124298,'sourceName':_0x303e75,'dataFieldId':_0x568d13};_0x33880b[_0x297797(0x267)]({'id':_0x279edb['id'],'params':_0x1a8da});const _0x1ce32e={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'tableFieldId':_0x124298,'sourceName':_0x566689,'dataFieldId':_0x420e18};_0x269908[_0x297797(0x45a)]({'id':_0x279edb['id'],'params':_0x1ce32e});}break;case _0x294c18[_0x297797(0x336)][_0x297797(0x485)]:{const {fieldId:_0x48f73d,filterInfo:_0x5608bf,oldFilterInfo:_0xd0d50e}=_0x3dda93,_0x25c1db={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x48f73d,'filterInfo':_0x5608bf};_0x33880b[_0x297797(0x267)]({'id':_0x597456['id'],'params':_0x25c1db});const _0x54e02c={'unitId':_0x330cd8,'subUnitId':_0x39e390,'pivotTableId':_0x375538,'fieldId':_0x48f73d,'filterInfo':_0xd0d50e};_0x269908[_0x297797(0x45a)]({'id':_0x597456['id'],'params':_0x54e02c});}}return{'redos':_0x33880b,'undos':_0x269908};}function _0x2c15a5(_0x49e998,_0x6e14a1){const _0x4a17c2=_0x45d80e;var _0x32f444;const _0x425079=_0x49e998[_0x4a17c2(0x3bb)](_0x590b76['SheetsPivotTableService']),{cellInfo:_0x257e5b,view:_0x26fd6b,isEmpty:_0x1382bb}=_0x6e14a1;return(_0x32f444=_0x425079['interceptor'][_0x4a17c2(0x247)](_0x2cffc4)(_0x10ac0e,{'cellInfo':_0x257e5b,'view':_0x26fd6b,'isEmpty':_0x1382bb}))!=null?_0x32f444:_0x10ac0e;}const _0x39da5b={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x2fd)],'id':_0x45d80e(0x1f9),async 'handler'(_0x10b631,_0xb78489){const _0xd08540=_0x45d80e;if(!_0xb78489)return!0x1;const _0x4d1b6f=_0x10b631[_0xd08540(0x3bb)](_0x5c6728[_0xd08540(0x211)]),_0x5d994c=_0x10b631[_0xd08540(0x3bb)](_0x590b76[_0xd08540(0x2b6)]),_0x328159=_0x10b631[_0xd08540(0x3bb)](_0x5c6728['IUndoRedoService']),{pivotTableId:_0x38d5f2,dataFieldId:_0x581316,fieldArea:_0x268cdf,index:_0x145df6,unitId:_0x3f91f8,subUnitId:_0x56060b}=_0xb78489,_0x37b04b=(await _0x5d994c['getPivotDisplayConfig']({'unitId':_0x3f91f8,'subUnitId':_0x56060b,'pivotTableId':_0x38d5f2,'params':{'type':_0x5b28b3[_0xd08540(0x3ad)],'addPivotField':{'dataFieldId':_0x581316,'fieldArea':_0x268cdf,'index':_0x145df6}}}))['result'][_0xd08540(0x231)];if(!_0x37b04b)return!0x1;const {view:_0x5b0396,changesets:_0x528ddd,isEmpty:_0x491059,pivotTableConfig:_0x5a7f71,shouldBeAddedGroupJSON:_0x4b52e5}=_0x37b04b,_0x797f8c=_0x5a7f71['targetCellInfo'],_0x691015=new _0x294c18[(_0xd08540(0x42e))]();_0x691015[_0xd08540(0x23d)](_0x5b0396);const _0x2261a8={'cellInfo':_0x797f8c,'view':_0x691015,'isEmpty':_0x491059};if(!await _0x10b631[_0xd08540(0x3bb)](_0x590b76[_0xd08540(0x41b)])['asyncInterceptor'][_0xd08540(0x436)](_0x201e9f)(!0x0,_0x2261a8))return!0x1;const _0x18a9fc=_0x210c45(_0x10b631,_0x691015,_0x797f8c,_0x491059),_0x2c8377=_0x2c15a5(_0x10b631,_0x2261a8),{undos:_0x4266cd,redos:_0xcf30cb}=_0x58ce14(_0x4d1b6f,{'pivotTableId':_0x38d5f2,'unitId':_0x3f91f8,'subUnitId':_0x56060b},_0x528ddd);return _0x4b52e5&&(_0xcf30cb['unshift']({'id':_0x3cac90['id'],'params':{'pivotTableId':_0x38d5f2,'fieldJSON':_0x4b52e5,'unitId':_0x3f91f8,'subUnitId':_0x56060b}}),_0x4266cd[_0xd08540(0x267)]({'id':_0xe54f70['id'],'params':{'pivotTableId':_0x38d5f2,'dataFieldId':_0x4b52e5['id'],'unitId':_0x3f91f8,'subUnitId':_0x56060b}})),_0x5c6728[_0xd08540(0x1d4)]([..._0x18a9fc[_0xd08540(0x32d)],..._0x2c8377[_0xd08540(0x32d)],..._0xcf30cb],_0x4d1b6f),_0x328159[_0xd08540(0x281)]({'unitID':_0x3f91f8,'redoMutations':[..._0x18a9fc['redos'],..._0x2c8377[_0xd08540(0x32d)],..._0xcf30cb],'undoMutations':[..._0x18a9fc[_0xd08540(0x454)],..._0x2c8377[_0xd08540(0x454)],..._0x4266cd]}),!0x0;}},_0x2ba1d8=()=>typeof process<'u'&&process[_0x45d80e(0x26c)]!=null&&process[_0x45d80e(0x26c)]['node']!=null,_0x3f5b80={'type':_0x5c6728['CommandType']['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x2077b5,_0x1b13ec){const _0x165b9f=_0x45d80e;var _0x24d856;if(!_0x1b13ec)return!0x1;const _0x1f5a25=_0x2077b5[_0x165b9f(0x3bb)](_0x5c6728['IConfigService']);if(!!_0x1f5a25['getConfig'](_0x2fa52c))return!0x0;const _0x13f86b=_0x2077b5['get'](_0x5c6728[_0x165b9f(0x1dc)]),_0x245ddc=_0x2077b5[_0x165b9f(0x3bb)](_0x590b76[_0x165b9f(0x3c1)]),{pivotTableId:_0x3d3de7,pivotTableConfig:_0x55bdf4,collectionConfig:_0xc53ab6,unitId:_0x789578,subUnitId:_0x1c68b0}=_0x1b13ec,{sourceRangeInfo:_0x46c156,fieldsConfig:_0x238cf2,targetCellInfo:_0x1a37a7}=_0x55bdf4,_0x494aa9=_0x13f86b[_0x165b9f(0x38c)](_0x789578);if(!_0x494aa9||!_0x494aa9['getSheetBySheetId'](_0x1c68b0))return!0x1;if(!_0x2ba1d8()){let _0x3394ce=0x0;_0x494aa9[_0x165b9f(0x484)]()[_0x165b9f(0x1d9)](_0x322a00=>{const _0x3db714=_0x165b9f;var _0xea5144,_0x346c4e;_0x3394ce+=(_0x346c4e=(_0xea5144=_0x245ddc[_0x3db714(0x38a)](_0x789578,_0x322a00[_0x3db714(0x2a8)]()))==null?void 0x0:_0xea5144['size'])!=null?_0x346c4e:0x0;});const _0x5a3819=(_0x24d856=_0x1f5a25['getConfig'](_0x10eb30[_0x165b9f(0x3e1)]))!=null?_0x24d856:{},{ls:_0x370049,pbk:_0x431432}=_0x5a3819;if(!_0xa28249(_0x370049,_0x431432))throw new _0x5c6728[(_0x165b9f(0x1bf))](_0x165b9f(0x48b));const _0xad4d2d=_0x1cc9f1(_0x1defd2,_0x370049,_0x431432)[_0x165b9f(0x292)];if(_0x3394ce>=_0xad4d2d)throw new _0x5c6728[(_0x165b9f(0x1bf))](_0x165b9f(0x48b));}if(!_0xc53ab6||!_0x238cf2)return!0x1;const {collection:_0x23a63e,updateDataFieldList:_0xd07438}=_0x245ddc[_0x165b9f(0x2d3)](_0x3d3de7,_0xc53ab6,_0x46c156,_0x1a37a7);_0x245ddc['refreshData'](_0x23a63e,_0xd07438,_0x46c156);const _0x5c0e0f=new _0x294c18[(_0x165b9f(0x425))](_0x23a63e,void 0x0,_0x3d3de7);_0x5c0e0f[_0x165b9f(0x1e5)](_0x238cf2);const _0x157003=JSON['parse'](JSON[_0x165b9f(0x337)](_0x55bdf4));return _0x245ddc[_0x165b9f(0x354)](_0x789578,_0x1c68b0,_0x3d3de7,_0x5c0e0f,_0x157003),_0x245ddc[_0x165b9f(0x418)]({'unitId':_0x789578,'subUnitId':_0x1c68b0,'token':_0x3d3de7,'type':_0xee3020['Add'],'pivotConfig':_0x157003}),!0x0;}},_0x5763e3={'type':_0x5c6728['CommandType'][_0x45d80e(0x2fd)],'id':_0x45d80e(0x341),async 'handler'(_0x5b21d3,_0xc26334){const _0x540aa4=_0x45d80e;if(!_0xc26334)return!0x1;const {sourceDataInfo:_0xba59ae,pivotTableConfig:_0x106d11}=_0xc26334;if(!_0xba59ae||!_0x106d11)return!0x1;const {unitId:_0x227dd2,subUnitId:_0x34ca83,range:_0x23ef94}=_0xba59ae,_0x4824ec=_0x5b21d3[_0x540aa4(0x3bb)](_0x5c6728[_0x540aa4(0x1dc)]),_0x227b10=_0x5b21d3[_0x540aa4(0x3bb)](_0x590b76[_0x540aa4(0x2b6)]),_0x4e75a9=_0x5b21d3['get'](_0x5c6728[_0x540aa4(0x1b0)]),_0x2bf854=_0x5b21d3[_0x540aa4(0x3bb)](_0x5c6728[_0x540aa4(0x211)]),_0x5a0139=_0x4824ec[_0x540aa4(0x38c)](_0x227dd2);if(!_0x5a0139)return!0x1;const _0x9f71=_0x5a0139[_0x540aa4(0x380)](_0x34ca83);if(!_0x9f71)return!0x1;const _0x3fe247=_0x294c18[_0x540aa4(0x480)](0x8),_0xa55b15=_0x23ef94||{'startRow':0x0,'startColumn':0x0,'endRow':_0x9f71[_0x540aa4(0x2a6)]()-0x1,'endColumn':_0x9f71[_0x540aa4(0x3d2)]()-0x1};_0xa55b15['rangeType']=_0x5c6728[_0x540aa4(0x278)][_0x540aa4(0x417)];const _0x22a749=(await _0x227b10[_0x540aa4(0x37a)]({'unitId':_0x227dd2,'subUnitId':_0x34ca83,'pivotTableId':_0x3fe247,'params':{'type':_0x5b28b3[_0x540aa4(0x464)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x227dd2,'sheetName':_0x9f71[_0x540aa4(0x2ad)](),'subUnitId':_0x34ca83,'range':_0xa55b15},'pivotTableId':_0x3fe247,'pivotTableIndexConfig':_0x106d11}}}))[_0x540aa4(0x2ae)]['addPivotTableWithConfig'];if(!_0x22a749)return!0x1;const {isEmpty:_0x108e70,fieldsConfig:_0x4f56bd,collectionConfig:_0x492359,changesets:_0xd499a2}=_0x22a749,_0x25c21c=_0x5a0139[_0x540aa4(0x484)]()[_0x540aa4(0x1ac)],_0x21cb96=_0x5c6728[_0x540aa4(0x204)]({'rowCount':_0x9f71['getRowCount']()-0x1,'columnCount':_0x9f71[_0x540aa4(0x3d2)]()-0x1});_0x21cb96['id']=_0x5c6728[_0x540aa4(0x2c8)](),_0x21cb96[_0x540aa4(0x37f)]=_0x5a0139[_0x540aa4(0x1e6)](''+_0x4e75a9['t'](_0x540aa4(0x2ab)));const _0x461a12={'index':_0x25c21c,'sheet':_0x21cb96,'unitId':_0x227dd2},{redos:_0x22aae0}=_0x58ce14(_0x2bf854,{'pivotTableId':_0x3fe247,'unitId':_0x227dd2,'subUnitId':_0x21cb96['id']},_0xd499a2),_0x57b858=[{'id':_0x102fa6[_0x540aa4(0x27c)]['id'],'params':_0x461a12},{'id':_0x3f5b80['id'],'params':{'unitId':_0x227dd2,'subUnitId':_0x21cb96['id'],'pivotTableId':_0x3fe247,'pivotTableConfig':{'isEmpty':_0x108e70,'fieldsConfig':_0x4f56bd,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x227dd2,'subUnitId':_0x21cb96['id']},'sourceRangeInfo':{'subUnitId':_0x34ca83,'unitId':_0x227dd2,'range':_0xa55b15,'sheetName':_0x9f71[_0x540aa4(0x2ad)]()}},'collectionConfig':_0x492359}},..._0x22aae0];return _0x5c6728['sequenceExecute'](_0x57b858,_0x2bf854),!0x0;}},_0x190182={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x263fea,_0x29abe9){const _0x97f266=_0x45d80e;if(!_0x29abe9)return!0x1;if(!!_0x263fea[_0x97f266(0x3bb)](_0x5c6728[_0x97f266(0x44f)])['getConfig'](_0x2fa52c))return!0x0;const {pivotTableId:_0xde2d8c,unitId:_0x734f0c,subUnitId:_0x248a79}=_0x29abe9,_0x556841=_0x263fea['get'](_0x590b76[_0x97f266(0x3c1)]);return _0x556841[_0x97f266(0x4a8)](_0x734f0c,_0x248a79,_0xde2d8c)?(_0x556841[_0x97f266(0x418)]({'unitId':_0x734f0c,'subUnitId':_0x248a79,'token':_0xde2d8c,'type':_0xee3020[_0x97f266(0x1fd)]}),_0x556841['removePivotTable'](_0x734f0c,_0x248a79,_0xde2d8c),!0x0):!0x1;}},_0x283684={'type':_0x5c6728['CommandType']['COMMAND'],'id':_0x45d80e(0x28c),async 'handler'(_0x3b5194,_0xae0ecc){const _0x181b74=_0x45d80e;var _0x5aef39,_0x40b042;const _0x541deb=_0x3b5194['get'](_0x5c6728[_0x181b74(0x211)]),_0x31df5e=_0x3b5194[_0x181b74(0x3bb)](_0x5c6728[_0x181b74(0x1dc)]),_0x553444=_0x3b5194['get'](_0x5c6728[_0x181b74(0x1b0)]),_0x49ca76=_0x3b5194[_0x181b74(0x3bb)](_0x590b76['SheetsPivotRPCService']),_0x1f8277=_0x3b5194[_0x181b74(0x3bb)](_0x5c6728[_0x181b74(0x1f7)]),_0x5ab42e=_0x3b5194[_0x181b74(0x3bb)](_0x590b76[_0x181b74(0x313)]),_0x5868ac=_0x3b5194[_0x181b74(0x3bb)](_0x5c6728[_0x181b74(0x44f)]);if(!_0xae0ecc)return!0x1;const {pivotTableConfig:_0x1f0e45,positionType:_0x39358c}=_0xae0ecc,{targetCellInfo:_0x3b2d5e,sourceRangeInfo:_0x4526fc}=_0x1f0e45,{unitId:_0x57414d,subUnitId:_0x1c173a}=_0x3b2d5e,_0x408690=_0x31df5e[_0x181b74(0x38c)](_0x57414d);if(!_0x408690)return!0x1;let _0x5b831c=0x0;_0x408690[_0x181b74(0x484)]()[_0x181b74(0x1d9)](_0x43e66e=>{const _0xcaa26f=_0x181b74;var _0x472a2b,_0x4bae0c;_0x5b831c+=(_0x4bae0c=(_0x472a2b=_0x5ab42e[_0xcaa26f(0x38a)](_0x57414d,_0x43e66e[_0xcaa26f(0x2a8)]()))==null?void 0x0:_0x472a2b[_0xcaa26f(0x28d)])!=null?_0x4bae0c:0x0;});const _0x10534c=(_0x5aef39=_0x5868ac[_0x181b74(0x499)](_0x10eb30[_0x181b74(0x3e1)]))!=null?_0x5aef39:{},{ls:_0x403ca4,pbk:_0x9fe4d}=_0x10534c;if(!_0xa28249(_0x403ca4,_0x9fe4d))return!0x1;const _0xcc4cf7=_0x1cc9f1(_0x1defd2,_0x403ca4,_0x9fe4d)[_0x181b74(0x292)];if(_0x5b831c>=_0xcc4cf7)return!0x1;const _0x393810=_0xae0ecc['pivotTableId']||_0x294c18[_0x181b74(0x480)](0x8),_0x11df0a=(await _0x49ca76[_0x181b74(0x37a)]({'unitId':_0x57414d,'subUnitId':_0x1c173a,'pivotTableId':_0x393810,'params':{'type':_0x5b28b3[_0x181b74(0x320)],'addPivotTable':{'sourceRangeInfo':_0x4526fc,'pivotTableId':_0x393810}}}))[_0x181b74(0x2ae)]['addPivotTable'];if(!_0x11df0a)return!0x1;const {view:_0x273c4f,isEmpty:_0x7e1210,fieldsConfig:_0x4166be,collectionConfig:_0x377dce}=_0x11df0a,_0x1342e8=[],_0x2f869=[];if(_0x39358c===_0x425ca6[_0x181b74(0x43a)]){const _0x235868=_0x408690[_0x181b74(0x484)]()[_0x181b74(0x1ac)],_0x3d0a36=_0x5c6728[_0x181b74(0x204)]({});_0x3d0a36['id']=_0x1f0e45[_0x181b74(0x309)][_0x181b74(0x1cf)],_0x3d0a36[_0x181b74(0x37f)]=(_0x40b042=_0x1f0e45['targetCellInfo'][_0x181b74(0x465)])!=null?_0x40b042:_0x408690['generateNewSheetName'](''+_0x553444['t'](_0x181b74(0x2ab)));const _0x112939={'index':_0x235868,'sheet':_0x3d0a36,'unitId':_0x57414d},_0x4126fd=_0x102fa6[_0x181b74(0x347)](_0x3b5194,_0x112939);_0x1342e8[_0x181b74(0x267)]({'id':_0x102fa6[_0x181b74(0x345)]['id'],'params':_0x4126fd}),_0x2f869[_0x181b74(0x267)]({'id':_0x102fa6['InsertSheetMutation']['id'],'params':_0x112939});}else{if(!_0x408690[_0x181b74(0x380)](_0x1c173a))return!0x1;const _0x2362d3=_0x210c45(_0x3b5194,new _0x294c18[(_0x181b74(0x42e))](),_0x3b2d5e,!0x0);_0x2f869[_0x181b74(0x267)](..._0x2362d3[_0x181b74(0x32d)]),_0x1342e8['push'](..._0x2362d3[_0x181b74(0x454)]);const _0x574dba={'cellInfo':_0x3b2d5e,'view':_0x273c4f,'isEmpty':_0x7e1210};if(!await _0x3b5194[_0x181b74(0x3bb)](_0x590b76['SheetsPivotTableService'])[_0x181b74(0x481)][_0x181b74(0x436)](_0x201e9f)(!0x0,_0x574dba))return!0x1;const _0x5c306f=_0x2c15a5(_0x3b5194,_0x574dba);_0x2f869[_0x181b74(0x267)](..._0x5c306f[_0x181b74(0x32d)]),_0x1342e8[_0x181b74(0x267)](..._0x5c306f['undos']);}return _0x2f869[_0x181b74(0x267)]({'id':_0x3f5b80['id'],'params':{'unitId':_0x3b2d5e['unitId'],'subUnitId':_0x3b2d5e[_0x181b74(0x1cf)],'pivotTableId':_0x393810,'pivotTableConfig':{'targetCellInfo':_0x3b2d5e,'sourceRangeInfo':_0x4526fc,'fieldsConfig':_0x4166be},'collectionConfig':_0x377dce}}),_0x1342e8['unshift']({'id':_0x190182['id'],'params':{'unitId':_0x57414d,'subUnitId':_0x1c173a,'pivotTableId':_0x393810}}),_0x5c6728['sequenceExecute'](_0x2f869,_0x541deb)&&_0x1f8277[_0x181b74(0x281)]({'unitID':_0x57414d,'undoMutations':_0x1342e8,'redoMutations':_0x2f869}),!0x0;}},_0x2c5588={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x2fd)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x30d03e,_0x38e60e){const _0x50cd4b=_0x45d80e;if(!_0x38e60e)return!0x1;const _0x3b055f=_0x30d03e[_0x50cd4b(0x3bb)](_0x5c6728[_0x50cd4b(0x211)]),_0x54e510=_0x30d03e[_0x50cd4b(0x3bb)](_0x590b76[_0x50cd4b(0x2b6)]),_0x3cb075=_0x30d03e[_0x50cd4b(0x3bb)](_0x5c6728[_0x50cd4b(0x1f7)]),{pivotTableId:_0x1ce7c9,fieldId:_0x44b3b6,area:_0x1befd5,index:_0x2c2324,unitId:_0x5e2cf7,subUnitId:_0x543ee6}=_0x38e60e,_0x165042=(await _0x54e510[_0x50cd4b(0x37a)]({'unitId':_0x5e2cf7,'subUnitId':_0x543ee6,'pivotTableId':_0x1ce7c9,'params':{'type':_0x5b28b3[_0x50cd4b(0x2a2)],'movePivotField':{'fieldId':_0x44b3b6,'area':_0x1befd5,'index':_0x2c2324}}}))[_0x50cd4b(0x2ae)][_0x50cd4b(0x4a2)];if(!_0x165042)return!0x1;const {changesets:_0x5995d7,view:_0x4aa49a,isEmpty:_0x9748d4,pivotTableConfig:_0x48cf58}=_0x165042,_0x39495c=_0x48cf58['targetCellInfo'],_0x4a3996=new _0x294c18[(_0x50cd4b(0x42e))]();_0x4a3996[_0x50cd4b(0x23d)](_0x4aa49a);const _0x5ae5e6={'cellInfo':_0x39495c,'view':_0x4a3996,'isEmpty':_0x9748d4};if(!await _0x30d03e['get'](_0x590b76[_0x50cd4b(0x41b)])[_0x50cd4b(0x481)][_0x50cd4b(0x436)](_0x201e9f)(!0x0,_0x5ae5e6))return!0x1;const _0x13aa67=_0x210c45(_0x30d03e,_0x4a3996,_0x39495c,_0x9748d4),_0x4b5c7d=_0x2c15a5(_0x30d03e,_0x5ae5e6),{redos:_0xb7b45e,undos:_0x2f3faf}=_0x58ce14(_0x3b055f,{'pivotTableId':_0x1ce7c9,'unitId':_0x5e2cf7,'subUnitId':_0x543ee6},_0x5995d7);return _0x5c6728[_0x50cd4b(0x1d4)]([..._0x13aa67[_0x50cd4b(0x32d)],..._0x4b5c7d[_0x50cd4b(0x32d)],..._0xb7b45e],_0x3b055f),_0x3cb075[_0x50cd4b(0x281)]({'unitID':_0x5e2cf7,'redoMutations':[..._0x13aa67[_0x50cd4b(0x32d)],..._0x4b5c7d[_0x50cd4b(0x32d)],..._0xb7b45e],'undoMutations':[..._0x13aa67[_0x50cd4b(0x454)],..._0x4b5c7d[_0x50cd4b(0x454)],..._0x2f3faf]}),!0x0;}},_0x49af41={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x3a1),'handler'(_0x225ba3,_0x4fd2d5){const _0x435893=_0x45d80e;if(!_0x4fd2d5)return!0x1;if(!!_0x225ba3[_0x435893(0x3bb)](_0x5c6728[_0x435893(0x44f)])['getConfig'](_0x2fa52c))return!0x0;const {pivotTableId:_0xb684fd,targetCellPosition:_0x40a883,unitId:_0x5a1a34,subUnitId:_0xaf1d20}=_0x4fd2d5,_0x2d423c=_0x225ba3[_0x435893(0x3bb)](_0x590b76[_0x435893(0x3c1)]);if(!_0x2d423c[_0x435893(0x3f7)](_0x4fd2d5[_0x435893(0x416)]))return!0x1;const _0x5ea2cc=_0x2d423c[_0x435893(0x306)](_0xb684fd);if(!_0x5ea2cc)return!0x1;const _0x3b96c0=_0x2d423c[_0x435893(0x1c6)](_0x5ea2cc[_0x435893(0x46d)],_0x4fd2d5[_0x435893(0x416)]);if(!_0x3b96c0)return!0x1;const _0x24d583=_0x2d423c[_0x435893(0x4a8)](_0x5ea2cc[_0x435893(0x46d)],_0x5ea2cc[_0x435893(0x1cf)],_0xb684fd);if(!_0x24d583)return!0x1;const _0x4642b0=_0x5c6728[_0x435893(0x2e1)][_0x435893(0x2f7)](_0x24d583);_0x4642b0[_0x435893(0x309)]={'unitId':_0x5a1a34,'subUnitId':_0xaf1d20,'row':_0x40a883[_0x435893(0x3da)],'col':_0x40a883[_0x435893(0x2e6)]};const _0x4ca1f7=_0x3b96c0[_0x435893(0x238)]();if(_0x5ea2cc[_0x435893(0x1cf)]===_0xaf1d20&&_0x5ea2cc[_0x435893(0x46d)]===_0x5a1a34)_0x2d423c[_0x435893(0x44d)](_0x5a1a34,_0xaf1d20,_0xb684fd,_0x4642b0),_0x2d423c[_0x435893(0x418)]({'unitId':_0x5a1a34,'subUnitId':_0xaf1d20,'token':_0xb684fd,'type':_0xee3020[_0x435893(0x1d3)]});else{_0x2d423c[_0x435893(0x418)]({'unitId':_0x5ea2cc[_0x435893(0x46d)],'subUnitId':_0x5ea2cc[_0x435893(0x1cf)],'token':_0xb684fd,'type':_0xee3020[_0x435893(0x1fd)]}),_0x2d423c[_0x435893(0x1e9)](_0x5ea2cc['unitId'],_0x5ea2cc[_0x435893(0x1cf)],_0xb684fd);const _0x4ffb4c=_0x2d423c[_0x435893(0x2d3)](_0xb684fd,_0x4ca1f7,_0x24d583['sourceRangeInfo'],_0x4642b0[_0x435893(0x309)]),_0x2cd4ec=new _0x294c18['PivotTable'](_0x4ffb4c[_0x435893(0x468)],void 0x0,_0xb684fd);_0x2cd4ec[_0x435893(0x1e5)](_0x4642b0[_0x435893(0x491)]),_0x2d423c[_0x435893(0x354)](_0x5a1a34,_0xaf1d20,_0xb684fd,_0x2cd4ec,_0x4642b0),_0x2d423c[_0x435893(0x418)]({'unitId':_0x5a1a34,'subUnitId':_0xaf1d20,'token':_0xb684fd,'type':_0xee3020[_0x435893(0x1c1)],'pivotConfig':_0x4642b0});}return!0x0;}},_0x51d86e={'type':_0x5c6728['CommandType']['COMMAND'],'id':_0x45d80e(0x4a4),'handler':(_0x354446,_0x2e00ef)=>{const _0x4edb58=_0x45d80e;if(!_0x2e00ef)return!0x1;const _0x44988b=_0x102fa6['getSheetCommandTarget'](_0x354446[_0x4edb58(0x3bb)](_0x5c6728[_0x4edb58(0x1dc)]),{'unitId':_0x2e00ef[_0x4edb58(0x309)]['unitId'],'subUnitId':_0x2e00ef['targetCellInfo'][_0x4edb58(0x1cf)]});if(!_0x44988b)throw new Error(_0x4edb58(0x3ae));const _0x4cf345=_0x354446[_0x4edb58(0x3bb)](_0x590b76['SheetsPivotTableConfigModel'])['getPivotTableConfig'](_0x2e00ef[_0x4edb58(0x3c8)][_0x4edb58(0x46d)],_0x2e00ef[_0x4edb58(0x3c8)][_0x4edb58(0x1cf)],_0x2e00ef[_0x4edb58(0x416)]);if(!_0x4cf345)return!0x1;const _0x5144de=_0x354446[_0x4edb58(0x3bb)](_0x5c6728['ICommandService']),_0x3e3710=_0x354446[_0x4edb58(0x3bb)](_0x5c6728[_0x4edb58(0x1f7)]),{unitId:_0x15fed3,subUnitId:_0x36b9d1,worksheet:_0x2ffab1}=_0x44988b,_0x3286c4=_0x2ffab1[_0x4edb58(0x2a6)](),_0x404c61=_0x2ffab1['getColumnCount']();if(_0x2e00ef['targetCellInfo'][_0x4edb58(0x3da)]>_0x3286c4||_0x2e00ef['targetCellInfo'][_0x4edb58(0x2e6)]>_0x404c61)throw new Error(_0x4edb58(0x2cc));const _0x5af4ba=[{'id':_0x49af41['id'],'params':{'unitId':_0x15fed3,'subUnitId':_0x2e00ef['targetCellInfo']['subUnitId'],'pivotTableId':_0x2e00ef[_0x4edb58(0x416)],'targetCellPosition':{'row':_0x2e00ef[_0x4edb58(0x309)][_0x4edb58(0x3da)],'col':_0x2e00ef[_0x4edb58(0x309)][_0x4edb58(0x2e6)]}}}],_0x50453c=[{'id':_0x49af41['id'],'params':{'unitId':_0x15fed3,'subUnitId':_0x36b9d1,'pivotTableId':_0x2e00ef['pivotTableId'],'targetCellPosition':{'row':_0x4cf345[_0x4edb58(0x309)][_0x4edb58(0x3da)],'col':_0x4cf345['targetCellInfo'][_0x4edb58(0x2e6)]}}}];return _0x5c6728[_0x4edb58(0x1d4)](_0x5af4ba,_0x5144de)&&_0x3e3710[_0x4edb58(0x281)]({'unitID':_0x15fed3,'undoMutations':_0x50453c,'redoMutations':_0x5af4ba}),!0x0;}},_0x43e8e2={'type':_0x5c6728['CommandType'][_0x45d80e(0x2fd)],'id':_0x45d80e(0x1b1),async 'handler'(_0x113a40,_0x472531){const _0x1d1eef=_0x45d80e;var _0x40e83b;if(!_0x472531)return!0x1;const _0x59417b=_0x113a40['get'](_0x5c6728[_0x1d1eef(0x1dc)]),_0x1f43b4=_0x102fa6[_0x1d1eef(0x2f9)](_0x59417b);if(!_0x1f43b4)return!0x1;const {unitId:_0x452f50,subUnitId:_0x124fd4,workbook:_0x4b683d}=_0x1f43b4,{row:_0x4e0cf0,col:_0x3a9901}=_0x472531,_0x1ecfc8=_0x113a40[_0x1d1eef(0x3bb)](_0x590b76['SheetsPivotTableAdaptorModel']),_0x106f56=_0x1ecfc8['getPivotTableIdByCell'](_0x452f50,_0x124fd4,_0x4e0cf0,_0x3a9901);if(!_0x106f56)return!0x1;const _0x41881f=(_0x40e83b=_0x1ecfc8[_0x1d1eef(0x2e0)](_0x452f50,_0x124fd4,_0x106f56))==null?void 0x0:_0x40e83b[_0x1d1eef(0x489)];if(!_0x41881f)return!0x1;const _0x5beb32=_0x113a40['get'](_0x590b76[_0x1d1eef(0x313)])['getPivotTableConfig'](_0x452f50,_0x124fd4,_0x106f56);if(!_0x5beb32)return!0x1;const {rowInfo:_0x3044f5,colInfo:_0x347946}=_0x41881f,_0x2fa309=_0x3044f5[_0x4e0cf0][_0x1d1eef(0x206)],_0x394df5=_0x347946[_0x3a9901][_0x1d1eef(0x206)],_0x32744d=_0x3044f5[_0x4e0cf0][_0x1d1eef(0x1c2)],_0x93d750=_0x347946[_0x3a9901][_0x1d1eef(0x1c2)],_0x2ed86a=_0x2fa309[_0x1d1eef(0x3a0)](_0x394df5),_0x1782a3=_0x5beb32['fieldsConfig']['rowFields']['slice'](0x0,_0x32744d),_0x3d069a=_0x5beb32[_0x1d1eef(0x491)][_0x1d1eef(0x3ff)]['slice'](0x0,_0x93d750),_0x5cd04f=_0x1782a3[_0x1d1eef(0x3a0)](_0x3d069a),_0x5b9726=_0x2ed86a['map']((_0x3c501c,_0x1e7339)=>[_0x3c501c,_0x5cd04f[_0x1e7339]]),_0x4a1ca4=(await _0x113a40['get'](_0x590b76[_0x1d1eef(0x2b6)])['getPivotDisplayConfig']({'unitId':_0x452f50,'subUnitId':_0x124fd4,'pivotTableId':_0x106f56,'params':{'type':_0x5b28b3[_0x1d1eef(0x3bf)],'drillDown':{'tuple':_0x5b9726}}}))[_0x1d1eef(0x2ae)][_0x1d1eef(0x235)];if(!_0x4a1ca4)return!0x1;const {indexes:_0x2958dd,range:_0x4d0a74,sourceUnitId:_0x5bf3c2,sourceSubUnitId:_0x4f8cce,formatMap:_0x3c4148}=_0x4a1ca4,{startRow:_0x286d43,endRow:_0x2db221,startColumn:_0x581d9d,endColumn:_0x195196}=_0x4d0a74,_0xbdbe32=new _0x5c6728[(_0x1d1eef(0x45c))](),_0x2aead0=_0x2db221-_0x286d43,_0x477133=_0x195196-_0x581d9d,_0x4358f5={},_0x5d0cc3=_0x102fa6[_0x1d1eef(0x2f9)](_0x59417b,{'unitId':_0x5bf3c2,'subUnitId':_0x4f8cce});if(!_0x5d0cc3)return!0x1;const _0x373969=_0x570805[_0x1d1eef(0x433)],_0x3cc64b=_0x570805[_0x1d1eef(0x46f)],_0x4ac818=_0x570805[_0x1d1eef(0x46f)],_0x220fb6=_0x4b683d['getStyles']()[_0x1d1eef(0x33e)](_0x373969),_0x3c1619=_0x4b683d[_0x1d1eef(0x2c0)]()[_0x1d1eef(0x33e)](_0x3cc64b),_0x5e6aef=_0x4b683d[_0x1d1eef(0x2c0)]()['setValue'](_0x4ac818),{worksheet:_0x2e65e5}=_0x5d0cc3;let _0x3b4d76=0x0;const _0x44a50=0x1;_0x2958dd[_0x1d1eef(0x1d9)](_0x50fe48=>{const _0xecc827=_0x1d1eef;for(let _0x43bad7=0x0;_0x43bad7<=_0x195196-_0x581d9d;_0x43bad7++)_0xbdbe32[_0xecc827(0x33e)](_0x3b4d76,_0x43bad7,_0x2e65e5[_0xecc827(0x427)](_0x50fe48+_0x4d0a74['startRow']+_0x44a50,_0x43bad7));_0x3b4d76++;});for(let _0x571236=_0x581d9d;_0x571236<=_0x195196;_0x571236++){const _0x91486a=_0x2e65e5['getCellRaw'](_0x286d43,_0x571236);_0x4358f5[_0x286d43]||(_0x4358f5[_0x286d43]={}),_0x4358f5[_0x286d43][_0x571236]={..._0x91486a,'s':_0x220fb6};}let _0x348b08=0x1;const _0x21832f={},_0x26461c={};_0xbdbe32[_0x1d1eef(0x390)]((_0x367b3a,_0x15b59d)=>{_0x15b59d['forEach'](_0x51a079=>{const _0x87b44e=_0x4f25,_0x30fbce=_0xbdbe32['getValue'](_0x367b3a,_0x51a079);if(_0x4358f5[_0x348b08]||(_0x4358f5[_0x348b08]={}),_0x4358f5[_0x348b08][_0x51a079]={..._0x30fbce,'s':_0x348b08%0x2===0x0?_0x5e6aef:_0x3c1619},_0x3c4148[_0x51a079]&&_0x367b3a>=0x0){const _0x36d5cd=_0x348b08%0x2===0x0;let _0x30f985=_0x36d5cd?_0x26461c[_0x51a079]:_0x21832f[_0x51a079];_0x30f985||(_0x30f985=_0x4b683d['getStyles']()[_0x87b44e(0x33e)]({..._0x36d5cd?_0x4ac818:_0x3cc64b,'n':{'pattern':_0x3c4148[_0x51a079]}}),_0x36d5cd?_0x26461c[_0x51a079]=_0x30f985:_0x21832f[_0x51a079]=_0x30f985),_0x4358f5[_0x348b08][_0x51a079]['s']=_0x30f985;}}),_0x348b08++;});const _0x53c232=new _0x5c6728[(_0x1d1eef(0x45c))](_0x4358f5),_0x308fb1={};_0x53c232[_0x1d1eef(0x37b)]((_0xc12be3,_0x464f85,_0x304bfc)=>{_0x308fb1[_0xc12be3]||(_0x308fb1[_0xc12be3]={}),_0x308fb1[_0xc12be3][_0x464f85]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5590c5=[],_0x3d9ef0=[],_0x57b8c2=_0x4b683d['getSheets']()[_0x1d1eef(0x1ac)],_0x5aeb66=_0x5c6728[_0x1d1eef(0x204)]({'rowCount':Math[_0x1d1eef(0x438)](_0x5c6728[_0x1d1eef(0x3f8)],_0x2aead0+0xa),'columnCount':Math[_0x1d1eef(0x438)](_0x5c6728[_0x1d1eef(0x36a)],_0x477133+0x5)}),_0x3cb542=_0x113a40[_0x1d1eef(0x3bb)](_0x5c6728[_0x1d1eef(0x1b0)]);_0x5aeb66['id']=_0x5c6728['generateRandomId'](),_0x5aeb66[_0x1d1eef(0x37f)]=_0x4b683d[_0x1d1eef(0x1e6)](''+_0x3cb542['t'](_0x1d1eef(0x2ab)));const _0x443a5f={'index':_0x57b8c2,'sheet':_0x5aeb66,'unitId':_0x452f50},_0x2ce39c=_0x102fa6['InsertSheetUndoMutationFactory'](_0x113a40,_0x443a5f);_0x3d9ef0[_0x1d1eef(0x267)]({'id':_0x102fa6[_0x1d1eef(0x369)]['id'],'params':_0x443a5f}),_0x5590c5[_0x1d1eef(0x267)]({'id':_0x102fa6[_0x1d1eef(0x345)]['id'],'params':_0x2ce39c}),_0x3d9ef0[_0x1d1eef(0x267)]({'id':_0x102fa6[_0x1d1eef(0x3d7)]['id'],'params':{'unitId':_0x452f50,'subUnitId':_0x5aeb66['id'],'cellValue':_0x4358f5}}),_0x5590c5['unshift']({'id':_0x102fa6[_0x1d1eef(0x3d7)]['id'],'params':{'unitId':_0x452f50,'subUnitId':_0x5aeb66['id'],'cellValue':_0x308fb1}});const _0x28a6c4={'startRow':0x0,'startColumn':0x0,'endRow':_0x348b08-0x1,'endColumn':_0x195196};_0x3d9ef0[_0x1d1eef(0x267)]({'id':_0x254ff3[_0x1d1eef(0x48e)]['id'],'params':{'unitId':_0x452f50,'subUnitId':_0x5aeb66['id'],'range':_0x28a6c4}}),_0x5590c5[_0x1d1eef(0x45a)]({'id':_0x254ff3[_0x1d1eef(0x4a5)]['id'],'params':{'unitId':_0x452f50,'subUnitId':_0x5aeb66['id']}});const _0x8ec91c=_0x113a40[_0x1d1eef(0x3bb)](_0x5c6728[_0x1d1eef(0x211)]);return _0x5c6728['sequenceExecute'](_0x3d9ef0,_0x8ec91c)&&_0x113a40[_0x1d1eef(0x3bb)](_0x5c6728[_0x1d1eef(0x1f7)])[_0x1d1eef(0x281)]({'unitID':_0x452f50,'undoMutations':_0x5590c5,'redoMutations':_0x3d9ef0}),!0x0;}},_0x3fa3df={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x2fd)],'id':_0x45d80e(0x276),async 'handler'(_0x3d90b7,_0x52a200){const _0x1dbb28=_0x45d80e;if(!_0x52a200)return!0x1;const _0x21b2af=_0x3d90b7['get'](_0x5c6728[_0x1dbb28(0x211)]),_0x151a48=_0x3d90b7[_0x1dbb28(0x3bb)](_0x590b76[_0x1dbb28(0x2b6)]),_0x3d48f8=_0x3d90b7[_0x1dbb28(0x3bb)](_0x5c6728[_0x1dbb28(0x1f7)]),{pivotTableId:_0x9e2a19,fieldIds:_0x3f7d27,unitId:_0x4b6eca,subUnitId:_0x1f451a}=_0x52a200,_0x244165=(await _0x151a48[_0x1dbb28(0x37a)]({'unitId':_0x4b6eca,'subUnitId':_0x1f451a,'pivotTableId':_0x9e2a19,'params':{'type':_0x5b28b3[_0x1dbb28(0x461)],'removePivotField':{'fieldIds':_0x3f7d27}}}))[_0x1dbb28(0x2ae)][_0x1dbb28(0x259)];if(!_0x244165)return!0x1;const {view:_0x4b1c04,changesets:_0x4b7f92,isEmpty:_0x22a4af,pivotTableConfig:_0x5e043d}=_0x244165,_0x1093e8=_0x5e043d[_0x1dbb28(0x309)],_0x32c20b=new _0x294c18[(_0x1dbb28(0x42e))]();_0x32c20b[_0x1dbb28(0x23d)](_0x4b1c04);const _0x56168f={'cellInfo':_0x1093e8,'view':_0x32c20b,'isEmpty':_0x22a4af};if(!await _0x3d90b7[_0x1dbb28(0x3bb)](_0x590b76[_0x1dbb28(0x41b)])[_0x1dbb28(0x481)][_0x1dbb28(0x436)](_0x201e9f)(!0x0,_0x56168f))return!0x1;const _0x35843f=_0x210c45(_0x3d90b7,_0x32c20b,_0x1093e8,_0x22a4af),_0x517f63=_0x2c15a5(_0x3d90b7,_0x56168f),{redos:_0x3d689f,undos:_0x3fefeb}=_0x58ce14(_0x21b2af,{'pivotTableId':_0x9e2a19,'unitId':_0x4b6eca,'subUnitId':_0x1f451a},_0x4b7f92);return _0x5c6728[_0x1dbb28(0x1d4)]([..._0x35843f[_0x1dbb28(0x32d)],..._0x517f63[_0x1dbb28(0x32d)],..._0x3d689f],_0x21b2af),_0x3d48f8[_0x1dbb28(0x281)]({'unitID':_0x4b6eca,'redoMutations':[..._0x35843f['redos'],..._0x517f63[_0x1dbb28(0x32d)],..._0x3d689f],'undoMutations':[..._0x35843f['undos'],..._0x517f63['undos'],..._0x3fefeb]}),!0x0;}},_0x1b0bc9={'type':_0x5c6728[_0x45d80e(0x33c)]['COMMAND'],'id':_0x45d80e(0x23e),async 'handler'(_0x3422b4,_0x2483d6){const _0x42a209=_0x45d80e;if(!_0x2483d6)return!0x1;const _0x1bad45=_0x3422b4[_0x42a209(0x3bb)](_0x5c6728[_0x42a209(0x211)]),_0x3c2b4f=_0x3422b4[_0x42a209(0x3bb)](_0x5c6728[_0x42a209(0x1f7)]),_0x3cac88=_0x3422b4['get'](_0x590b76[_0x42a209(0x2b6)]),{resetArea:_0x32425e,pivotTableId:_0x250b72,unitId:_0x1cd8d8,subUnitId:_0x1f07e9}=_0x2483d6,_0x59bc1=(await _0x3cac88[_0x42a209(0x37a)]({'unitId':_0x1cd8d8,'subUnitId':_0x1f07e9,'pivotTableId':_0x250b72,'params':{'type':_0x5b28b3[_0x42a209(0x40e)],'resetPivotTable':{'pivotTableId':_0x250b72,'resetArea':_0x32425e}}}))[_0x42a209(0x2ae)]['resetPivotTable'];if(!_0x59bc1)return!0x1;const {changesets:_0x4bfff6}=_0x59bc1,{redos:_0x280d48,undos:_0xb994ec}=_0x58ce14(_0x1bad45,{'pivotTableId':_0x250b72,'unitId':_0x1cd8d8,'subUnitId':_0x1f07e9},_0x4bfff6);return _0x5c6728[_0x42a209(0x1d4)](_0x280d48,_0x1bad45),_0x3c2b4f['pushUndoRedo']({'unitID':_0x1cd8d8,'redoMutations':_0x280d48,'undoMutations':_0xb994ec}),!0x0;}},_0x2d10bb={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x2fd)],'id':_0x45d80e(0x43d),async 'handler'(_0x5d2bb2,_0x4759b5){const _0x5ac286=_0x45d80e,_0x1f8e07=_0x5d2bb2[_0x5ac286(0x3bb)](_0x5c6728[_0x5ac286(0x211)]),_0x28aca7=_0x5d2bb2[_0x5ac286(0x3bb)](_0x590b76[_0x5ac286(0x2b6)]),_0x78facb=_0x5d2bb2['get'](_0x590b76[_0x5ac286(0x49b)]),_0x598b8d=_0x5d2bb2[_0x5ac286(0x3bb)](_0x5c6728[_0x5ac286(0x1dc)]),_0x439aa6=_0x5d2bb2[_0x5ac286(0x3bb)](_0x5c6728['LocaleService']),_0x21ed32=_0x5d2bb2['get'](_0x5c6728[_0x5ac286(0x1f7)]);if(!_0x4759b5)return!0x1;const {unitId:_0x58d84a,subUnitId:_0x5055f6,row:_0xa2e37f,col:_0x3ede3f,collapse:_0x282206}=_0x4759b5,_0x639fce=_0x598b8d[_0x5ac286(0x38c)](_0x58d84a);if(!_0x639fce||!_0x639fce[_0x5ac286(0x380)](_0x5055f6))return!0x1;const _0xf0650c=_0x78facb[_0x5ac286(0x3db)](_0x58d84a,_0x5055f6,_0xa2e37f,_0x3ede3f);if(!_0xf0650c)return!0x1;const _0x21e822=_0x78facb[_0x5ac286(0x2e0)](_0x58d84a,_0x5055f6,_0xf0650c);if(!_0x21e822)return!0x1;const _0x225c6c=_0x5c6728[_0x5ac286(0x3fd)](_0xa2e37f,_0x3ede3f),{rangesInfo:_0x388bcf,areaInfo:_0x26f1a7,headerMap:_0x48f12f}=_0x21e822;if(!_0x388bcf||!_0x26f1a7||!_0x48f12f)return!0x1;const _0x55b548=Object[_0x5ac286(0x413)](_0x388bcf)[_0x5ac286(0x1bc)](_0x2fece8=>_0x388bcf[_0x2fece8][_0x5ac286(0x46e)](_0xff54f1=>_0x5c6728[_0x5ac286(0x453)][_0x5ac286(0x39a)](_0xff54f1,_0x225c6c)));let _0x368d06;_0x55b548===_0x5ac286(0x35d)?_0x368d06=_0x48f12f[_0x5ac286(0x48a)][_0x3ede3f]:_0x55b548===_0x5ac286(0x303)&&(_0x368d06=_0x48f12f[_0x5ac286(0x1f3)][_0xa2e37f]);const _0x2a19a7=_0x368d06==null?void 0x0:_0x368d06['tableFieldId'],_0x9d3b2d=_0x78facb[_0x5ac286(0x1b4)](_0x58d84a,_0x5055f6,_0xa2e37f,_0x3ede3f);let _0x33850a=_0x9d3b2d==null?void 0x0:_0x9d3b2d['v'];if(_0x33850a===_0x439aa6['t'](_0x5ac286(0x201))&&(_0x33850a=_0x294c18[_0x5ac286(0x2a1)][_0x5ac286(0x3dd)]),_0x33850a==null||!_0xf0650c||!_0x2a19a7)return!0x1;const _0x3ce89a=await _0x28aca7['getPivotDisplayConfig']({'unitId':_0x58d84a,'subUnitId':_0x5055f6,'pivotTableId':_0xf0650c,'params':{'type':_0x5b28b3[_0x5ac286(0x3cf)],'setPivotCollapse':{'tableFieldId':_0x2a19a7,'collapse':_0x282206,'item':_0x33850a}}}),_0x39e07b=_0x3ce89a==null?void 0x0:_0x3ce89a[_0x5ac286(0x2ae)][_0x5ac286(0x35f)];if(!_0x39e07b)return!0x1;const {view:_0x288932,pivotTableConfig:_0x49b951,isEmpty:_0x55fd87,changesets:_0x20391f}=_0x39e07b,_0x3aa08b=new _0x294c18[(_0x5ac286(0x42e))]();_0x3aa08b[_0x5ac286(0x23d)](_0x288932);const _0x473ad6=_0x49b951[_0x5ac286(0x309)],_0x23b1f3={'cellInfo':_0x473ad6,'view':_0x3aa08b,'isEmpty':_0x55fd87};if(!await _0x5d2bb2[_0x5ac286(0x3bb)](_0x590b76[_0x5ac286(0x41b)])[_0x5ac286(0x481)][_0x5ac286(0x436)](_0x201e9f)(!0x0,_0x23b1f3))return!0x1;const _0x59840d=_0x210c45(_0x5d2bb2,_0x3aa08b,_0x473ad6,_0x55fd87),_0x399e5a=_0x2c15a5(_0x5d2bb2,_0x23b1f3),{redos:_0xaf967e,undos:_0x493d88}=_0x58ce14(_0x1f8e07,{'pivotTableId':_0xf0650c,'unitId':_0x58d84a,'subUnitId':_0x5055f6},_0x20391f);return _0x5c6728[_0x5ac286(0x1d4)]([..._0x59840d[_0x5ac286(0x32d)],..._0x399e5a[_0x5ac286(0x32d)],..._0xaf967e],_0x1f8e07),_0x21ed32['pushUndoRedo']({'unitID':_0x58d84a,'redoMutations':[..._0x59840d['redos'],..._0x399e5a[_0x5ac286(0x32d)],..._0xaf967e],'undoMutations':[..._0x59840d[_0x5ac286(0x454)],..._0x399e5a[_0x5ac286(0x454)],..._0x493d88]}),!0x0;}},_0x2b004b={'type':_0x5c6728['CommandType']['COMMAND'],'id':_0x45d80e(0x3c2),async 'handler'(_0x28c765,_0x1ca070){const _0x3fcfe7=_0x45d80e;if(!_0x1ca070)return!0x1;const _0x576d4b=_0x28c765[_0x3fcfe7(0x3bb)](_0x5c6728[_0x3fcfe7(0x211)]),_0x5c763e=_0x28c765[_0x3fcfe7(0x3bb)](_0x5c6728[_0x3fcfe7(0x1f7)]),_0x5d31c9=_0x28c765[_0x3fcfe7(0x3bb)](_0x590b76[_0x3fcfe7(0x2b6)]),{pivotTableConfig:_0xbbf5a1,pivotTableId:_0x2d035d,unitId:_0x3abb84,subUnitId:_0x3a3c63}=_0x1ca070,_0x161ae8=(await _0x5d31c9[_0x3fcfe7(0x37a)]({'unitId':_0x3abb84,'subUnitId':_0x3a3c63,'pivotTableId':_0x2d035d,'params':{'type':_0x5b28b3[_0x3fcfe7(0x250)],'setPivotTableConfig':{'pivotTableId':_0x2d035d,'pivotTableConfig':_0xbbf5a1}}}))[_0x3fcfe7(0x2ae)][_0x3fcfe7(0x2cd)];if(!_0x161ae8)return!0x1;const {changesets:_0x37839c}=_0x161ae8,{redos:_0x561cc1,undos:_0x4b4292}=_0x58ce14(_0x576d4b,{'pivotTableId':_0x2d035d,'unitId':_0x3abb84,'subUnitId':_0x3a3c63},_0x37839c);return _0x5c6728[_0x3fcfe7(0x1d4)](_0x561cc1,_0x576d4b),_0x5c763e['pushUndoRedo']({'unitID':_0x3abb84,'redoMutations':_0x561cc1,'undoMutations':_0x4b4292}),!0x0;}},_0x1bccdc={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x2fd)],'id':_0x45d80e(0x3cd),async 'handler'(_0x341fec,_0x38a642){const _0x5cc48b=_0x45d80e;if(!_0x38a642)return!0x1;const _0x5ac454=_0x341fec[_0x5cc48b(0x3bb)](_0x5c6728[_0x5cc48b(0x211)]),{pivotTableId:_0x2a3cc1,tableFieldId:_0x47fd65,items:_0xcea616,unitId:_0x31d976,subUnitId:_0x211512,isAll:_0x1d68d9}=_0x38a642,_0x198754=_0x341fec[_0x5cc48b(0x3bb)](_0x590b76[_0x5cc48b(0x2b6)]),_0x351f7f=_0x341fec[_0x5cc48b(0x3bb)](_0x5c6728[_0x5cc48b(0x1f7)]),_0xb7c511=(await _0x198754['getPivotDisplayConfig']({'unitId':_0x31d976,'subUnitId':_0x211512,'pivotTableId':_0x2a3cc1,'params':{'type':_0x5b28b3[_0x5cc48b(0x1b7)],'setPivotFilter':{'tableFieldId':_0x47fd65,'items':_0xcea616,'isAll':_0x1d68d9}}}))['result']['setPivotFilter'];if(!_0xb7c511)return!0x1;const {changesets:_0x3947e6,pivotTableConfig:_0x2735c7,isEmpty:_0x303cc8,view:_0x161d1f}=_0xb7c511,_0x37b1a4=_0x2735c7['targetCellInfo'],_0x50afd6=new _0x294c18[(_0x5cc48b(0x42e))]();_0x50afd6[_0x5cc48b(0x23d)](_0x161d1f);const _0x1cef49={'cellInfo':_0x37b1a4,'view':_0x50afd6,'isEmpty':_0x303cc8};if(!await _0x341fec['get'](_0x590b76[_0x5cc48b(0x41b)])[_0x5cc48b(0x481)][_0x5cc48b(0x436)](_0x201e9f)(!0x0,_0x1cef49))return!0x1;const _0x1c8c75=_0x210c45(_0x341fec,_0x50afd6,_0x37b1a4,_0x303cc8),_0x3b7fd8=_0x2c15a5(_0x341fec,_0x1cef49),{undos:_0x4e47f0,redos:_0x25e868}=_0x58ce14(_0x5ac454,{'pivotTableId':_0x2a3cc1,'unitId':_0x31d976,'subUnitId':_0x211512},_0x3947e6);return _0x5c6728[_0x5cc48b(0x1d4)]([..._0x1c8c75[_0x5cc48b(0x32d)],..._0x3b7fd8[_0x5cc48b(0x32d)],..._0x25e868],_0x5ac454),_0x351f7f['pushUndoRedo']({'unitID':_0x31d976,'redoMutations':[..._0x1c8c75[_0x5cc48b(0x32d)],..._0x3b7fd8['redos'],..._0x25e868],'undoMutations':[..._0x1c8c75['undos'],..._0x3b7fd8['undos'],..._0x4e47f0]}),!0x0;}},_0x334421={'type':_0x5c6728['CommandType']['COMMAND'],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x193e4e,_0x4292b7){const _0x30a983=_0x45d80e;if(!_0x4292b7)return!0x1;const _0xa2c07c=_0x193e4e[_0x30a983(0x3bb)](_0x5c6728['ICommandService']),_0x8b0f7e=_0x193e4e[_0x30a983(0x3bb)](_0x5c6728[_0x30a983(0x1f7)]),_0x8c5de1=_0x193e4e[_0x30a983(0x3bb)](_0x590b76['SheetsPivotRPCService']),{info:_0x12cf3f,tableFieldId:_0x414057,pivotTableId:_0x4b180c,unitId:_0xb3ca1e,subUnitId:_0x5c560c}=_0x4292b7,_0x5b5d63=(await _0x8c5de1['getPivotDisplayConfig']({'unitId':_0xb3ca1e,'subUnitId':_0x5c560c,'pivotTableId':_0x4b180c,'params':{'type':_0x5b28b3[_0x30a983(0x2d5)],'setPivotSort':{'tableFieldId':_0x414057,'info':_0x12cf3f}}}))['result'][_0x30a983(0x28b)];if(!_0x5b5d63)return!0x1;const {changesets:_0x87a92f}=_0x5b5d63,{redos:_0x11d4d7,undos:_0x324e8c}=_0x58ce14(_0xa2c07c,{'pivotTableId':_0x4b180c,'unitId':_0xb3ca1e,'subUnitId':_0x5c560c},_0x87a92f);return _0x5c6728[_0x30a983(0x1d4)](_0x11d4d7,_0xa2c07c),_0x8b0f7e['pushUndoRedo']({'unitID':_0xb3ca1e,'redoMutations':_0x11d4d7,'undoMutations':_0x324e8c}),!0x0;}},_0x366995={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x2fd)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x1c65da,_0x4b1866){const _0xc3663d=_0x45d80e;if(!_0x4b1866)return!0x1;const _0x532f37=_0x1c65da[_0xc3663d(0x3bb)](_0x5c6728[_0xc3663d(0x211)]),{pivotTableId:_0x21a18a,fieldId:_0x472def,valueFilterInfo:_0x501782,unitId:_0x414a63,subUnitId:_0x4ad924}=_0x4b1866,_0x2c93ca=_0x1c65da[_0xc3663d(0x3bb)](_0x590b76[_0xc3663d(0x2b6)]),_0x6fee72=_0x1c65da['get'](_0x5c6728[_0xc3663d(0x1f7)]),_0x34a1fb=(await _0x2c93ca[_0xc3663d(0x37a)]({'unitId':_0x414a63,'subUnitId':_0x4ad924,'pivotTableId':_0x21a18a,'params':{'type':_0x5b28b3[_0xc3663d(0x331)],'setValuePivotFilter':{'tableFieldId':_0x472def,'filterInfo':_0x501782}}}))[_0xc3663d(0x2ae)][_0xc3663d(0x245)];if(!_0x34a1fb)return!0x1;const {changesets:_0x42e368,pivotTableConfig:_0x44fa49,isEmpty:_0x4b1aac,view:_0x13f3bf}=_0x34a1fb,_0x364f60=_0x44fa49['targetCellInfo'],_0x567b99=new _0x294c18[(_0xc3663d(0x42e))]();_0x567b99[_0xc3663d(0x23d)](_0x13f3bf);const _0x103fbc={'cellInfo':_0x364f60,'view':_0x567b99,'isEmpty':_0x4b1aac};if(!await _0x1c65da[_0xc3663d(0x3bb)](_0x590b76[_0xc3663d(0x41b)])['asyncInterceptor'][_0xc3663d(0x436)](_0x201e9f)(!0x0,_0x103fbc))return!0x1;const _0x1f70ac=_0x210c45(_0x1c65da,_0x567b99,_0x364f60,_0x4b1aac),_0x2b4153=_0x2c15a5(_0x1c65da,_0x103fbc),{undos:_0x50bf13,redos:_0x2737a1}=_0x58ce14(_0x532f37,{'pivotTableId':_0x21a18a,'unitId':_0x414a63,'subUnitId':_0x4ad924},_0x42e368);return _0x5c6728['sequenceExecute']([..._0x1f70ac[_0xc3663d(0x32d)],..._0x2b4153[_0xc3663d(0x32d)],..._0x2737a1],_0x532f37),_0x6fee72[_0xc3663d(0x281)]({'unitID':_0x414a63,'redoMutations':[..._0x1f70ac['redos'],..._0x2b4153[_0xc3663d(0x32d)],..._0x2737a1],'undoMutations':[..._0x1f70ac[_0xc3663d(0x454)],..._0x2b4153[_0xc3663d(0x454)],..._0x50bf13]}),!0x0;}},_0x46d470={'id':'sheet.mutation.update-date-group','type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'handler':(_0x55151d,_0x3f56dd)=>{const _0x2e00a9=_0x45d80e;if(!_0x3f56dd)return!0x1;if(!!_0x55151d[_0x2e00a9(0x3bb)](_0x5c6728[_0x2e00a9(0x44f)])[_0x2e00a9(0x499)](_0x2fa52c))return!0x0;const {unitId:_0x5906d8,subUnitId:_0x2f4a84,pivotTableId:_0x4be10e,tableFieldId:_0x263801,dateType:_0x3a8f36}=_0x3f56dd,_0x1ee744=_0x55151d[_0x2e00a9(0x3bb)](_0x590b76['SheetsPivotDataSourceModel']),_0x4ead86=_0x1ee744[_0x2e00a9(0x3f7)](_0x4be10e);if(!_0x4ead86)return!0x1;const _0x419536=_0x4ead86[_0x2e00a9(0x3ec)](_0x263801);if(!_0x419536)return!0x1;const _0x5237c2=_0x419536[_0x2e00a9(0x4a1)](),_0x32b655=_0x4ead86[_0x2e00a9(0x3bc)](_0x5237c2),_0x501acd=(_0x32b655==null?void 0x0:_0x32b655[_0x2e00a9(0x2ad)]())+'\x20'+_0x351f17(_0x55151d,_0x3a8f36);_0x1ee744['getCollection'](_0x5906d8,_0x4be10e)[_0x2e00a9(0x23f)](_0x419536['id'],_0x501acd);const _0x380d33=_0x4ead86[_0x2e00a9(0x476)](_0x263801);if(!_0x380d33)return!0x1;_0x4ead86[_0x2e00a9(0x2a0)](_0x380d33['getId'](),_0x501acd),_0x419536[_0x2e00a9(0x24c)](_0x3a8f36);const _0xcc76f4=_0x1ee744['getPivotTableConfig'](_0x5906d8,_0x2f4a84,_0x4be10e);return _0x1ee744[_0x2e00a9(0x418)]({'unitId':_0x5906d8,'subUnitId':_0x2f4a84,'token':_0x4be10e,'type':_0xee3020[_0x2e00a9(0x1d3)],'pivotConfig':_0xcc76f4}),!0x0;}},_0x4be152={'id':'sheet.command.update-date-group','type':_0x5c6728[_0x45d80e(0x33c)]['COMMAND'],'handler':(_0x2bf5c5,_0xa59e89)=>{const _0x2605ac=_0x45d80e;if(!_0xa59e89)return!0x1;const _0x2877db=_0x2bf5c5[_0x2605ac(0x3bb)](_0x5c6728[_0x2605ac(0x1f7)]),{unitId:_0x22c589,subUnitId:_0x26741c,pivotTableId:_0x4de141,tableFieldId:_0x669a54}=_0xa59e89,_0xf9d12f=[],_0x23a9ab=[],_0x4e34a5=_0x2bf5c5[_0x2605ac(0x3bb)](_0x590b76[_0x2605ac(0x313)]),_0x543cbd=_0x4e34a5[_0x2605ac(0x1c6)](_0x22c589,_0x4de141),_0x828ade=_0x4e34a5[_0x2605ac(0x4a8)](_0x22c589,_0x26741c,_0x4de141);if(!(_0x828ade!=null&&_0x828ade['fieldsConfig'][_0x2605ac(0x242)]))return!0x1;const _0x46fe59=Object['values'](_0x828ade[_0x2605ac(0x491)][_0x2605ac(0x242)])[_0x2605ac(0x1bc)](_0x181c5e=>_0x181c5e['id']===_0x669a54);if(!_0x46fe59)return!0x1;const _0x41c0ef=_0x46fe59[_0x2605ac(0x2dc)];if(!(_0x543cbd!=null&&_0x543cbd[_0x2605ac(0x3df)]))return!0x1;const _0x2866ec=Object['values'](_0x543cbd==null?void 0x0:_0x543cbd[_0x2605ac(0x3df)])[_0x2605ac(0x1bc)](_0x5c9ac2=>_0x5c9ac2['id']===_0x41c0ef);if(!_0x2866ec)return!0x1;_0x294c18[_0x2605ac(0x440)](_0x2866ec)&&_0xf9d12f[_0x2605ac(0x267)]({'id':_0x46d470['id'],'params':{..._0xa59e89,'dateType':_0x2866ec[_0x2605ac(0x219)]}}),_0x23a9ab[_0x2605ac(0x267)]({'id':_0x46d470['id'],'params':{..._0xa59e89}});const _0x54d1ed=_0x2bf5c5[_0x2605ac(0x3bb)](_0x5c6728[_0x2605ac(0x211)]);return _0x5c6728[_0x2605ac(0x1d4)](_0x23a9ab,_0x54d1ed)&&_0x2877db[_0x2605ac(0x281)]({'unitID':_0x22c589,'undoMutations':_0xf9d12f,'redoMutations':_0x23a9ab}),!0x0;}},_0x283ba3={'type':_0x5c6728[_0x45d80e(0x33c)]['COMMAND'],'id':_0x45d80e(0x2b5),async 'handler'(_0x432718,_0x8dbfcd){const _0x193454=_0x45d80e;if(!_0x8dbfcd)return!0x1;const _0x52a474=_0x432718['get'](_0x5c6728[_0x193454(0x211)]),_0x240c56=_0x432718[_0x193454(0x3bb)](_0x5c6728[_0x193454(0x1f7)]),_0x106f9c=_0x432718[_0x193454(0x3bb)](_0x590b76['SheetsPivotRPCService']),{displayName:_0x157819,subtotalType:_0x1fcf5b,format:_0x371f80,tableFieldId:_0x29c8a4,pivotTableId:_0x42f569,unitId:_0x4b765f,subUnitId:_0x26d022}=_0x8dbfcd,_0x3200ab=(await _0x106f9c['getPivotDisplayConfig']({'unitId':_0x4b765f,'subUnitId':_0x26d022,'pivotTableId':_0x42f569,'params':{'type':_0x5b28b3[_0x193454(0x1fb)],'setPivotSetting':{'tableFieldId':_0x29c8a4,'displayName':_0x157819,'subtotalType':_0x1fcf5b,'format':_0x371f80}}}))[_0x193454(0x2ae)][_0x193454(0x3d8)];if(!_0x3200ab)return!0x1;const {changesets:_0x172a52,view:_0x180e3d,pivotTableConfig:_0x3b08ca,isEmpty:_0x15bbd3}=_0x3200ab,_0x464674=_0x3b08ca[_0x193454(0x309)],_0x2338c0=new _0x294c18[(_0x193454(0x42e))]();_0x2338c0[_0x193454(0x23d)](_0x180e3d);const _0x533819={'cellInfo':_0x464674,'view':_0x2338c0,'isEmpty':_0x15bbd3};if(!await _0x432718[_0x193454(0x3bb)](_0x590b76[_0x193454(0x41b)])[_0x193454(0x481)][_0x193454(0x436)](_0x201e9f)(!0x0,_0x533819))return!0x1;const _0x29c181=_0x210c45(_0x432718,_0x2338c0,_0x464674,_0x15bbd3),_0x4810fb=_0x2c15a5(_0x432718,_0x533819),{undos:_0x2fcfc4,redos:_0x4c2df4}=_0x58ce14(_0x52a474,{'pivotTableId':_0x42f569,'unitId':_0x4b765f,'subUnitId':_0x26d022},_0x172a52);return _0x5c6728[_0x193454(0x1d4)]([..._0x29c181[_0x193454(0x32d)],..._0x4810fb[_0x193454(0x32d)],..._0x4c2df4],_0x52a474),_0x240c56[_0x193454(0x281)]({'unitID':_0x4b765f,'redoMutations':[..._0x29c181[_0x193454(0x32d)],..._0x4810fb['redos'],..._0x4c2df4],'undoMutations':[..._0x29c181[_0x193454(0x454)],..._0x4810fb[_0x193454(0x454)],..._0x2fcfc4]}),!0x0;}},_0x281f4b={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x225),'handler'(_0x4da939,_0x246902){const _0x1c51e0=_0x45d80e;if(!_0x246902)return!0x1;if(!!_0x4da939[_0x1c51e0(0x3bb)](_0x5c6728[_0x1c51e0(0x44f)])[_0x1c51e0(0x499)](_0x2fa52c))return!0x0;const _0xa03e0b=_0x4da939[_0x1c51e0(0x3bb)](_0x590b76[_0x1c51e0(0x3c1)]),{pivotTableId:_0x36a2f2,deleteIds:_0x310932,collectionJSON:_0x25092d,dataRangeInfo:_0x461cad,unitId:_0x5c9293,subUnitId:_0x14cd66}=_0x246902,_0x38f232=_0xa03e0b[_0x1c51e0(0x3f7)](_0x36a2f2),_0x254c89=_0xa03e0b['getPivotTableConfig'](_0x5c9293,_0x14cd66,_0x36a2f2);if(!_0x38f232||!_0x254c89)return!0x1;const {collection:_0x5871f5,updateDataFieldList:_0x43a4e5}=_0xa03e0b['addCollectionByJSON'](_0x36a2f2,_0x25092d,_0x461cad,_0x254c89[_0x1c51e0(0x309)]);_0xa03e0b[_0x1c51e0(0x20a)](_0x5871f5,_0x43a4e5,_0x461cad),_0x38f232[_0x1c51e0(0x34c)](_0x5871f5);for(const _0x4ff131 of _0x310932)_0xa03e0b[_0x1c51e0(0x35c)](_0x461cad[_0x1c51e0(0x46d)],_0x4ff131);const _0x31d8e6=_0xa03e0b[_0x1c51e0(0x4a8)](_0x5c9293,_0x14cd66,_0x36a2f2);return _0x31d8e6['sourceRangeInfo']=JSON[_0x1c51e0(0x3cc)](JSON[_0x1c51e0(0x337)](_0x461cad)),_0xa03e0b[_0x1c51e0(0x418)]({'unitId':_0x5c9293,'subUnitId':_0x14cd66,'token':_0x36a2f2,'type':_0xee3020[_0x1c51e0(0x1d3)]}),!0x0;}},_0x1df321={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x2fd)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x304123,_0x620145){const _0x168648=_0x45d80e,_0x5851f7=_0x304123[_0x168648(0x3bb)](_0x5c6728[_0x168648(0x211)]),_0x3b22a8=_0x304123[_0x168648(0x3bb)](_0x590b76[_0x168648(0x2b6)]),_0x380c42=_0x304123[_0x168648(0x3bb)](_0x5c6728[_0x168648(0x1f7)]);if(!_0x620145)return!0x1;const {token:_0x533d51,dataRangeInfo:_0x3ade1e,unitId:_0x596423,subUnitId:_0x4091ad}=_0x620145,_0x39b86b=[],_0x44ac30=[],_0x494efd=(await _0x3b22a8[_0x168648(0x37a)]({'unitId':_0x596423,'subUnitId':_0x4091ad,'pivotTableId':_0x533d51,'params':{'type':_0x5b28b3[_0x168648(0x2e5)],'updatePivotSource':{'dataRangeInfo':_0x3ade1e,'unitId':_0x596423,'subUnitId':_0x4091ad}}}))['result'][_0x168648(0x233)];if(!_0x494efd)return!0x1;const {changesets:_0x42fe8b,deleteIds:_0x4565ad,collectionConfig:_0x4bf3bf,oldCollectionConfig:_0xcb2c08,view:_0x5d5c00,isEmpty:_0x2bd88d,pivotTableConfig:_0x233f3c}=_0x494efd;_0x44ac30[_0x168648(0x267)]({'id':_0x281f4b['id'],'params':{'pivotTableId':_0x533d51,'deleteIds':_0x4565ad,'collectionJSON':_0x4bf3bf,'dataRangeInfo':_0x3ade1e,'unitId':_0x596423,'subUnitId':_0x4091ad}}),_0x39b86b[_0x168648(0x45a)]({'id':_0x281f4b['id'],'params':{'pivotTableId':_0x533d51,'deleteIds':[],'collectionJSON':_0xcb2c08,'dataRangeInfo':_0x233f3c[_0x168648(0x38f)],'unitId':_0x596423,'subUnitId':_0x4091ad}});const _0x15c7c5=_0x233f3c[_0x168648(0x309)],_0x22da91=new _0x294c18[(_0x168648(0x42e))]();_0x22da91[_0x168648(0x23d)](_0x5d5c00);const _0x1bfc72={'cellInfo':_0x15c7c5,'view':_0x22da91,'isEmpty':_0x2bd88d};if(!await _0x304123[_0x168648(0x3bb)](_0x590b76[_0x168648(0x41b)])[_0x168648(0x481)][_0x168648(0x436)](_0x201e9f)(!0x0,_0x1bfc72))return!0x1;const _0x1771d8=_0x210c45(_0x304123,_0x22da91,_0x15c7c5,_0x2bd88d),_0x569a07=_0x2c15a5(_0x304123,_0x1bfc72),{undos:_0x472a4d,redos:_0x91ebe2}=_0x58ce14(_0x5851f7,{'pivotTableId':_0x533d51,'unitId':_0x596423,'subUnitId':_0x4091ad},_0x42fe8b);return _0x5c6728[_0x168648(0x1d4)]([..._0x1771d8[_0x168648(0x32d)],..._0x569a07[_0x168648(0x32d)],..._0x44ac30,..._0x472a4d],_0x5851f7),_0x380c42[_0x168648(0x281)]({'unitID':_0x596423,'redoMutations':[..._0x1771d8[_0x168648(0x32d)],..._0x569a07[_0x168648(0x32d)],..._0x44ac30,..._0x472a4d],'undoMutations':[..._0x1771d8[_0x168648(0x454)],..._0x569a07[_0x168648(0x454)],..._0x39b86b,..._0x91ebe2]}),!0x0;}},_0x3cb8bd={'type':_0x5c6728['CommandType'][_0x45d80e(0x2fd)],'id':_0x45d80e(0x2fa),async 'handler'(_0x20cf58,_0xa380a){const _0x379f54=_0x45d80e;if(!_0xa380a)return!0x1;const _0x573730=_0x20cf58[_0x379f54(0x3bb)](_0x5c6728[_0x379f54(0x211)]),_0xae7de0=_0x20cf58[_0x379f54(0x3bb)](_0x590b76[_0x379f54(0x2b6)]),_0x4417a8=_0x20cf58[_0x379f54(0x3bb)](_0x5c6728['IUniverInstanceService']),_0x59a1cc=_0x20cf58[_0x379f54(0x3bb)](_0x5c6728[_0x379f54(0x1f7)]),{pivotTableId:_0x2ebdb2,position:_0x22bbe8,index:_0x3a20b9}=_0xa380a,_0x33a1ff=_0x102fa6['getSheetCommandTarget'](_0x4417a8);if(!_0x33a1ff)return!0x1;const {unitId:_0x411033,subUnitId:_0x1b13f4}=_0x33a1ff,_0x34b7c5=(await _0xae7de0[_0x379f54(0x37a)]({'unitId':_0x411033,'subUnitId':_0x1b13f4,'pivotTableId':_0x2ebdb2,'params':{'type':_0x5b28b3[_0x379f54(0x1dd)],'updateValuePosition':{'position':_0x22bbe8,'index':_0x3a20b9}}}))[_0x379f54(0x2ae)][_0x379f54(0x496)];if(!_0x34b7c5)return!0x1;const {changesets:_0x584868,view:_0x590930,isEmpty:_0x523ed3,pivotTableConfig:_0x38f9d2}=_0x34b7c5,_0x3ae046=_0x38f9d2[_0x379f54(0x309)],_0x5511ee=new _0x294c18['PivotView']();_0x5511ee['formJSON'](_0x590930);const _0x3c7102=_0x20cf58[_0x379f54(0x3bb)](_0x590b76['SheetsPivotTableService']),_0x190821={'cellInfo':_0x3ae046,'view':_0x5511ee,'isEmpty':_0x523ed3};if(!await _0x3c7102[_0x379f54(0x481)][_0x379f54(0x436)](_0x201e9f)(!0x0,_0x190821))return!0x1;const _0x51ea4b=_0x210c45(_0x20cf58,_0x5511ee,_0x3ae046,_0x523ed3),_0x538085=_0x2c15a5(_0x20cf58,_0x190821),{undos:_0xcc5c90,redos:_0x387f11}=_0x58ce14(_0x573730,{'pivotTableId':_0x2ebdb2,'unitId':_0x411033,'subUnitId':_0x1b13f4},_0x584868);return _0x5c6728[_0x379f54(0x1d4)]([..._0x51ea4b[_0x379f54(0x32d)],..._0x538085['redos'],..._0x387f11],_0x573730),_0x59a1cc[_0x379f54(0x281)]({'unitID':_0x411033,'redoMutations':[..._0x51ea4b[_0x379f54(0x32d)],..._0x538085[_0x379f54(0x32d)],..._0x387f11],'undoMutations':[..._0x51ea4b['undos'],..._0x538085[_0x379f54(0x454)],..._0xcc5c90]}),!0x0;}},_0x231cfb={'type':_0x5c6728[_0x45d80e(0x33c)][_0x45d80e(0x374)],'id':_0x45d80e(0x273),'handler'(){return!0x0;}};var _0x5a04e1=Object[_0x45d80e(0x2c1)],_0x43f469=(_0x287c52,_0x206d90,_0x4e458c,_0x4e6b65)=>{for(var _0x299531=_0x4e6b65>0x1?void 0x0:_0x4e6b65?_0x5a04e1(_0x206d90,_0x4e458c):_0x206d90,_0x3ed960=_0x287c52['length']-0x1,_0x4a8fc2;_0x3ed960>=0x0;_0x3ed960--)(_0x4a8fc2=_0x287c52[_0x3ed960])&&(_0x299531=_0x4a8fc2(_0x299531)||_0x299531);return _0x299531;},_0x242f24=(_0x45d342,_0x6450a5)=>(_0xc5d5ca,_0x1d19c9)=>_0x6450a5(_0xc5d5ca,_0x1d19c9,_0x45d342);const _0x5d23c9=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x31e584=(_0x2cbb02,_0x36b9dd,_0xefeadc)=>{const _0x126ae0=_0x45d80e,_0x250d46=_0x2cbb02[_0x126ae0(0x2b3)];_0x2cbb02[_0x126ae0(0x29e)](_0x182066=>{const _0x46bf67=_0x126ae0,_0x1a67f6=_0x182066[_0x46bf67(0x246)](),_0x55f602=_0x182066[_0x46bf67(0x1b6)](),_0x1b0b52=_0x182066[_0x46bf67(0x282)](),_0x55c95a=_0x182066[_0x46bf67(0x3f2)]();_0x36b9dd[_0x55f602]&&_0x36b9dd[_0x55f602]===_0x55c95a&&_0x1b0b52===_0x55c95a&&(_0x2cbb02[_0x46bf67(0x2a0)](_0x1a67f6,_0x250d46['getDisplayName'](_0x55f602)),_0x182066[_0x46bf67(0x22f)](_0x250d46['getDisplayName'](_0x55f602)));}),_0x2cbb02[_0x126ae0(0x1e3)](_0x294c18[_0x126ae0(0x277)][_0x126ae0(0x230)],_0x251233=>{const _0x4b9b9b=_0x126ae0,_0x32a774=_0x251233['getId'](),_0x4bc67b=_0x251233[_0x4b9b9b(0x1b6)](),_0x56f4a5=_0x251233[_0x4b9b9b(0x282)](),_0x18a06c=_0x251233[_0x4b9b9b(0x3f2)](),_0x4386a0=_0x251233[_0x4b9b9b(0x494)](),_0x322260=_0xefeadc(_0x56f4a5,_0x4386a0);_0x36b9dd[_0x4bc67b]&&_0x36b9dd[_0x4bc67b]===_0x56f4a5&&_0x322260===_0x18a06c&&(_0x2cbb02[_0x4b9b9b(0x2a0)](_0x32a774,_0xefeadc(_0x250d46[_0x4b9b9b(0x3f2)](_0x4bc67b),_0x4386a0)),_0x251233[_0x4b9b9b(0x22f)](_0x250d46[_0x4b9b9b(0x3f2)](_0x4bc67b)));});},_0x212b84=(_0x200cb6,_0x1762f8,_0x4e73d1)=>{const _0x54d67f=_0x45d80e;var _0xdec745,_0x532fe3;const {arrayFormulaCellData:_0x18311d,unitData:_0x1dc404}=_0x1762f8,{unitId:_0x4292b2,subUnitId:_0x36d787}=_0x4e73d1,_0x25f013=_0x4e73d1[_0x54d67f(0x20b)],{startColumn:_0x3c061d,endColumn:_0x313d2}=_0x25f013,_0x22b4bf=(_0xdec745=_0x18311d==null?void 0x0:_0x18311d[_0x4292b2])==null?void 0x0:_0xdec745[_0x36d787],_0x2acd31=(_0x532fe3=_0x1dc404==null?void 0x0:_0x1dc404[_0x4292b2])==null?void 0x0:_0x532fe3[_0x36d787],_0x5044c5=new Set(),_0x2d2118=_0x313d2-_0x3c061d+0x1,{dirtyRanges:_0x23f1f1}=_0x200cb6;if(_0x23f1f1)for(const {range:_0x8bc675,sheetId:_0x2b681a,unitId:_0x109827}of _0x23f1f1){if(_0x2b681a!==_0x36d787||_0x4292b2!==_0x109827)continue;const _0x72855f=_0x5c6728[_0x54d67f(0x453)][_0x54d67f(0x3ef)](_0x8bc675,_0x25f013);if(_0x72855f){const {startColumn:_0x148f4a,endColumn:_0xb43c5f}=_0x72855f;for(let _0x475eeb=_0x148f4a;_0x475eeb<=_0xb43c5f;_0x475eeb++)_0x5044c5[_0x54d67f(0x256)](_0x475eeb);}}if(_0x5044c5[_0x54d67f(0x28d)]===_0x2d2118||_0x5044c5['size']===_0x2d2118)return Array[_0x54d67f(0x200)](_0x5044c5);if(_0x2acd31){const _0x176825=_0x2acd31[_0x54d67f(0x290)](),_0x136d72=Object[_0x54d67f(0x413)](_0x176825);for(const _0x101b24 of _0x136d72){const _0x6756f6=Number(_0x101b24),_0x4ccb00=_0x176825[_0x6756f6];if(_0x5044c5[_0x54d67f(0x28d)]===_0x2d2118)break;for(const _0x1e3ab6 in _0x4ccb00){const _0x3aa643=Number(_0x1e3ab6);_0x3aa643<_0x3c061d||_0x3aa643>_0x313d2||_0x5044c5['add'](_0x3aa643);}}}if(_0x22b4bf){const _0xf057c1=_0x22b4bf[_0x54d67f(0x290)](),_0x3e6415=Object[_0x54d67f(0x413)](_0xf057c1);for(const _0x3b87f9 of _0x3e6415){const _0x7b87d5=Number(_0x3b87f9),_0x4baf68=_0xf057c1[_0x7b87d5];if(_0x5044c5['size']===_0x2d2118)break;for(const _0x1a16d5 in _0x4baf68){const _0x16440d=Number(_0x1a16d5);_0x16440d<_0x3c061d||_0x16440d>_0x313d2||_0x5044c5[_0x54d67f(0x256)](_0x16440d);}}}return Array['from'](_0x5044c5);},_0x54c73d=_0x3c7f2e=>{const _0x354669=_0x45d80e,_0x23747d=new Set(),_0x3a01e4=[];for(const _0x1daf5f of _0x3c7f2e){const _0x492d92=_0x1daf5f[_0x354669(0x4b6)]+','+_0x1daf5f[_0x354669(0x307)]+','+_0x1daf5f[_0x354669(0x381)]+','+_0x1daf5f[_0x354669(0x30a)];_0x23747d[_0x354669(0x4af)](_0x492d92)||(_0x23747d[_0x354669(0x256)](_0x492d92),_0x3a01e4[_0x354669(0x267)](_0x1daf5f));}return _0x3a01e4;};let _0x3fbeaf=class extends _0x5c6728[_0x45d80e(0x272)]{constructor(_0x5615f3,_0x4262a5,_0x433287,_0x2d9d11,_0xdabfa4){const _0x2df58f=_0x45d80e;super(),_0x1a448b(this,_0x2df58f(0x2fc),new _0x5ade5d['BehaviorSubject'](!0x0)),_0x1a448b(this,'_globalComputedStartHelpFunc',_0x10b50b=>{const _0x212f0f=_0x2df58f;this[_0x212f0f(0x2fc)]['next'](!0x1);}),_0x1a448b(this,_0x2df58f(0x366),_0x279d12=>{const _0x2c3303=_0x2df58f;this[_0x2c3303(0x2fc)][_0x2c3303(0x25f)](!0x0);}),(this[_0x2df58f(0x31f)]=_0x5615f3,this['_featureCalculationManagerService']=_0x4262a5,this[_0x2df58f(0x218)]=_0x433287,this[_0x2df58f(0x424)]=_0x2d9d11,this['_injector']=_0xdabfa4,this[_0x2df58f(0x1ec)](),this[_0x2df58f(0x300)]());}[_0x45d80e(0x1ec)](){const _0xc16453=_0x45d80e;this[_0xc16453(0x452)](),this[_0xc16453(0x430)](),this['_initPivotTextInfo'](),this[_0xc16453(0x45d)]();}[_0x45d80e(0x2d4)](){const _0x46a5f1=_0x45d80e;this[_0x46a5f1(0x424)]['pushComputingStatusSubject'](this[_0x46a5f1(0x2fc)]),_0x294c18[_0x46a5f1(0x425)]['registerCallbackWithEvent'](_0x294c18[_0x46a5f1(0x328)][_0x46a5f1(0x29a)],this[_0x46a5f1(0x21a)]),_0x294c18['PivotTable']['registerCallbackWithEvent'](_0x294c18[_0x46a5f1(0x328)][_0x46a5f1(0x457)],this[_0x46a5f1(0x366)]);}[_0x45d80e(0x300)](){const _0x5343a8=_0x45d80e;this[_0x5343a8(0x401)](this[_0x5343a8(0x218)][_0x5343a8(0x1bb)](_0x19c48c=>{const _0x3d46fb=_0x5343a8;_0x19c48c['id']===_0x102fa6[_0x3d46fb(0x2d2)]['id']&&this['_sheetsPivotDataSourceModel']['handleMoveRange'](_0x19c48c[_0x3d46fb(0x42f)]);})),this[_0x5343a8(0x401)](this[_0x5343a8(0x218)][_0x5343a8(0x1bb)](_0x58c925=>{const _0x5e1f02=_0x5343a8;if(_0x58c925['id']!==_0x54487c['id'])return;const _0x4dcee0=_0x58c925[_0x5e1f02(0x42f)],{unitId:_0x117ef1,subUnitId:_0x22a9e6,pivotTableId:_0x3d8fec}=_0x4dcee0,_0x4490d9=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x463)],_0x2244e7={};switch(_0x4490d9){case _0x5b28b3['Filter']:{const _0x28fc7d=_0x4dcee0[_0x5e1f02(0x42f)]['filter'];if(!_0x28fc7d)return;const {row:_0x56aa6d,col:_0x3de5b2,cellData:_0x5d8be2,pivotItemRenderInfoCache:_0x2bd3f9,tableFieldId:_0x5eed25}=_0x28fc7d,_0x358f76=this[_0x5e1f02(0x31f)]['getPivotTableInstance'](_0x4dcee0[_0x5e1f02(0x416)]);if(!_0x358f76||!_0x2bd3f9)return;if(_0x5eed25){const _0x12962a=_0x358f76[_0x5e1f02(0x3ec)](_0x5eed25);if(!_0x12962a)return;_0x2244e7['filter']={..._0x358f76[_0x5e1f02(0x46a)](_0x12962a),'tableFieldId':_0x5eed25,'pivotTableId':_0x4dcee0[_0x5e1f02(0x416)],'filterInfo':_0x358f76[_0x5e1f02(0x39f)](_0x5eed25),'sortInfo':_0x358f76['getSortInfo'](_0x5eed25),'format':_0x358f76['getFieldFormat'](_0x5eed25)};}else{const _0x105b40=_0x25cb58(_0x56aa6d,_0x3de5b2,_0x5d8be2,_0x358f76,_0x2bd3f9),_0x5a8938=_0x105b40==null?void 0x0:_0x105b40['filterId'];if(!_0x5a8938)return;const _0xb69d93=_0x358f76[_0x5e1f02(0x3ec)](_0x5a8938);if(!_0xb69d93)return;_0x2244e7[_0x5e1f02(0x3a3)]={..._0x358f76[_0x5e1f02(0x46a)](_0xb69d93),'tableFieldId':_0x5a8938,'pivotTableId':_0x4dcee0[_0x5e1f02(0x416)],'filterInfo':_0x358f76['getFilterInfo'](_0x5a8938),'sortInfo':_0x358f76[_0x5e1f02(0x35b)](_0x5a8938),'format':_0x358f76[_0x5e1f02(0x41f)](_0x5a8938)};}}break;case _0x5b28b3[_0x5e1f02(0x388)]:{const _0xfd06bc=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x40b)];if(!_0xfd06bc)return;const {pivotTableId:_0x5ee217}=_0xfd06bc,_0x5bb658=this[_0x5e1f02(0x31f)][_0x5e1f02(0x3f7)](_0x5ee217);if(!_0x5bb658)return;const _0x57709c=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x5ee217),_0x3546f1=_0x2e7cbe(_0x5bb658,_0x5ee217,_0x57709c);_0x2244e7[_0x5e1f02(0x40b)]=_0x3546f1;}break;case _0x5b28b3[_0x5e1f02(0x3ad)]:{const _0x20229b=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x3f7)](_0x3d8fec),_0x1acef8=this[_0x5e1f02(0x31f)][_0x5e1f02(0x24e)](_0x117ef1),_0xd6f69d=_0x1acef8[_0x5e1f02(0x1c6)](_0x3d8fec);let _0x429bcf=null;const _0x4dcad1=this[_0x5e1f02(0x31f)][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec),_0x3b3a13=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x231)];if(!_0x20229b||!_0x4dcad1||!_0x3b3a13)return!0x1;const {dataFieldId:_0x1d983b,fieldArea:_0x2dbcb8,index:_0x112ebe}=_0x3b3a13;_0x20229b[_0x5e1f02(0x291)]();const _0x5b5cf3=_0x20229b[_0x5e1f02(0x32b)](_0x1d983b,_0x2dbcb8,_0x112ebe);if(_0x5b5cf3&&_0x2dbcb8===_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x230)]){const _0xea58e0=_0x5b5cf3[_0x5e1f02(0x246)](),_0x231877=_0x20229b['getDataFieldByTableId'](_0xea58e0);if(_0x231877){const _0x4fd1f5=_0x231877==null?void 0x0:_0x231877[_0x5e1f02(0x38e)]();_0x20229b[_0x5e1f02(0x264)](_0x5b5cf3['getId'](),_0x4fd1f5===_0x294c18[_0x5e1f02(0x3b5)]['number']?_0x294c18['PivotSubtotalTypeEnum'][_0x5e1f02(0x455)]:_0x294c18[_0x5e1f02(0x324)]['count']);}const _0xc3c8f0=_0x20229b[_0x5e1f02(0x3a7)](),_0x28be4d=_0x20229b[_0x5e1f02(0x244)](),_0x1a9f73=_0x20229b[_0x5e1f02(0x27e)](_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x230)]);if(_0xc3c8f0===-0x1&&_0x1a9f73>0x1){const _0x598a01=_0x28be4d===_0x294c18[_0x5e1f02(0x2b8)][_0x5e1f02(0x4b0)]?_0x294c18['PivotTableValuePositionEnum']['Column']:_0x28be4d,_0x488e0a=_0x598a01===_0x294c18['PivotTableValuePositionEnum'][_0x5e1f02(0x24f)]?_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x24f)]:_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x2f8)];_0x20229b[_0x5e1f02(0x496)](_0x598a01,_0x20229b[_0x5e1f02(0x27e)](_0x488e0a));}}else{if(_0x5b5cf3&&(_0x2dbcb8===_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x24f)]||_0x2dbcb8===_0x294c18['PivotTableFiledAreaEnum'][_0x5e1f02(0x2f8)])){const _0x2c750b=_0x5b5cf3[_0x5e1f02(0x246)](),_0x3c25f0=_0x20229b[_0x5e1f02(0x3ec)](_0x2c750b);if(_0x3c25f0&&(_0x3c25f0==null?void 0x0:_0x3c25f0['getFieldDataType']())===_0x294c18[_0x5e1f02(0x3b5)][_0x5e1f02(0x2ed)]){const _0x5367fd=_0x3c25f0[_0x5e1f02(0x498)]();if(_0x5367fd&&_0x20229b[_0x5e1f02(0x1cd)](_0x5b5cf3[_0x5e1f02(0x246)](),_0x5367fd),!_0xd6f69d['getFieldIds']()['some'](_0x32c0b2=>{const _0x5768ff=_0x5e1f02,_0x38da8a=_0xd6f69d[_0x5768ff(0x3a5)](_0x32c0b2);return _0x294c18['isDateGroupField'](_0x38da8a)?_0x38da8a[_0x5768ff(0x447)]()[_0x5768ff(0x205)]===_0x1d983b:!0x1;})){const _0x31694d=_0x1acef8['createDataFieldId'](),_0x29273c=_0xaa800e(_0x3c25f0['maxDate'],_0x3c25f0[_0x5e1f02(0x375)]),_0x57e4f5=_0x3c25f0[_0x5e1f02(0x2ad)]()+'\x20-\x20'+_0x351f17(this[_0x5e1f02(0x1b5)],_0x29273c),_0x37d3ed=new _0x294c18['DateGroupField'](_0x31694d,_0x57e4f5,_0x294c18[_0x5e1f02(0x480)](0x3),_0x3c25f0[_0x5e1f02(0x246)](),_0x29273c);_0x1acef8['addDataFieldWithoutUnitInfo'](_0x37d3ed),_0xd6f69d[_0x5e1f02(0x392)](_0x31694d,_0x57e4f5),_0x20229b[_0x5e1f02(0x32b)](_0x31694d,_0x2dbcb8,(_0x112ebe!=null?_0x112ebe:0x0)+0x1),_0x429bcf=_0x37d3ed;}}}}const _0x3e235c=_0x20229b[_0x5e1f02(0x338)](),_0x5755a4=_0x20229b['query']()['toJSON']();let _0x4770f0;if(_0x429bcf){_0x4770f0=_0x429bcf['toJSON']();const _0x3435f4=_0x429bcf[_0x5e1f02(0x246)]();_0xd6f69d[_0x5e1f02(0x409)](_0x3435f4);let _0x22e343=!0x0;for(const _0x290972 in _0x1acef8[_0x5e1f02(0x397)])if(_0x1acef8[_0x5e1f02(0x397)][_0x290972][_0x5e1f02(0x3d4)]()[_0x5e1f02(0x4ba)](_0x3435f4)){_0x22e343=!0x1;break;}_0x22e343&&_0x1acef8[_0x5e1f02(0x3f0)](_0x3435f4);}const _0x4373e8=_0x20229b['endCollectChangeset']();_0x2244e7[_0x5e1f02(0x231)]={'view':_0x5755a4,'changesets':_0x4373e8,'isEmpty':_0x3e235c,'pivotTableConfig':_0x4dcad1,'shouldBeAddedGroupJSON':_0x4770f0};}break;case _0x5b28b3[_0x5e1f02(0x320)]:{const _0x490fdb=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x354)];if(!_0x490fdb)return;const _0x53d1fb=_0x490fdb[_0x5e1f02(0x38f)],_0x19a2ee=_0x490fdb[_0x5e1f02(0x416)],{collection:_0xa9d4eb}=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x45b)]({'unitId':_0x53d1fb['unitId'],'sheetName':_0x53d1fb[_0x5e1f02(0x465)],'subUnitId':_0x53d1fb[_0x5e1f02(0x1cf)],'range':_0x53d1fb[_0x5e1f02(0x20b)]}),_0x3b59fe=new _0x294c18[(_0x5e1f02(0x425))](_0xa9d4eb,void 0x0,_0x19a2ee),_0x54689a=_0x3b59fe[_0x5e1f02(0x251)](),_0x533ef8=_0x3b59fe[_0x5e1f02(0x238)](),_0x157a4d=_0xa9d4eb['toJSON']();_0x2244e7[_0x5e1f02(0x354)]={'view':_0x54689a,'fieldsConfig':_0x533ef8,'collectionConfig':_0x157a4d,'isEmpty':_0x3b59fe[_0x5e1f02(0x338)]()};}break;case _0x5b28b3['MovePivotField']:{const _0x1d155f=_0x4dcee0['params'][_0x5e1f02(0x4a2)];if(!_0x1d155f)return;const {fieldId:_0x177170,area:_0x484421,index:_0x518a30}=_0x1d155f,_0x27b372=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x27b372)return;const _0x4e55fe=this[_0x5e1f02(0x31f)]['getPivotTableInstance'](_0x3d8fec);if(!_0x4e55fe)return;_0x4e55fe[_0x5e1f02(0x291)]();const {area:_0x3a6ffd,index:_0x401473}=_0x4e55fe[_0x5e1f02(0x248)](_0x177170);if(_0x4e55fe['updateFieldPosition'](_0x177170,_0x484421,_0x518a30),_0x484421===_0x294c18['PivotTableFiledAreaEnum'][_0x5e1f02(0x230)]&&_0x4e55fe['getTableFieldById'](_0x177170)['getSubtotal']()===void 0x0){const _0x1a6cf6=_0x4e55fe[_0x5e1f02(0x476)](_0x177170);if(_0x1a6cf6&&_0x1a6cf6['getSubtotal']()===void 0x0){const _0xc132dc=_0x4e55fe['getDataFieldByTableId'](_0x177170);if(_0xc132dc){const _0x59f6db=_0xc132dc==null?void 0x0:_0xc132dc[_0x5e1f02(0x38e)]();_0x4e55fe[_0x5e1f02(0x264)](_0x177170,_0x59f6db===_0x294c18[_0x5e1f02(0x3b5)][_0x5e1f02(0x3d6)]?_0x294c18[_0x5e1f02(0x324)][_0x5e1f02(0x455)]:_0x294c18[_0x5e1f02(0x324)][_0x5e1f02(0x292)]);}}}const _0x5337d7=_0x4e55fe['getValuePosition'](),_0x3c5735=_0x4e55fe[_0x5e1f02(0x3a7)](),_0xbabd96=_0x4e55fe['getFieldCountByArea'](_0x294c18['PivotTableFiledAreaEnum']['Value'])>0x1;if(_0xbabd96&&_0x3a6ffd===_0x484421&&(_0x484421===_0x294c18[_0x5e1f02(0x277)]['Row']&&_0x5337d7===_0x294c18[_0x5e1f02(0x2b8)]['Row']||_0x484421===_0x294c18['PivotTableFiledAreaEnum']['Column']&&_0x5337d7===_0x294c18[_0x5e1f02(0x2b8)]['Column'])){let _0x245471=_0x3c5735;_0x401473<=_0x3c5735&&_0x245471--,_0x518a30<=_0x3c5735&&_0x245471++,_0x4e55fe['updateValuePosition'](_0x5337d7,_0x245471);}else _0xbabd96&&(_0x3a6ffd===_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x24f)]&&_0x5337d7===_0x294c18[_0x5e1f02(0x2b8)]['Row']||_0x3a6ffd===_0x294c18['PivotTableFiledAreaEnum']['Column']&&_0x5337d7===_0x294c18[_0x5e1f02(0x2b8)][_0x5e1f02(0x2f8)])&&_0x3c5735>=_0x401473&&_0x4e55fe[_0x5e1f02(0x496)](_0x5337d7,_0x3c5735-0x1),_0xbabd96&&(_0x484421===_0x294c18['PivotTableFiledAreaEnum']['Row']&&_0x5337d7===_0x294c18[_0x5e1f02(0x2b8)][_0x5e1f02(0x24f)]||_0x484421===_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x2f8)]&&_0x5337d7===_0x294c18[_0x5e1f02(0x2b8)][_0x5e1f02(0x2f8)])&&_0x3c5735>=_0x518a30&&_0x4e55fe[_0x5e1f02(0x496)](_0x5337d7,_0x3c5735+0x1);const _0x281819=_0x4e55fe['query'](),_0x3a09d1=_0x4e55fe[_0x5e1f02(0x338)](),_0x3219b0=_0x4e55fe[_0x5e1f02(0x385)]();_0x2244e7[_0x5e1f02(0x4a2)]={'view':_0x281819['toJSON'](),'changesets':_0x3219b0,'isEmpty':_0x3a09d1,'pivotTableConfig':_0x27b372};}break;case _0x5b28b3['RemovePivotField']:{const _0x3eace3=_0x4dcee0[_0x5e1f02(0x42f)]['removePivotField'];if(!_0x3eace3)return;const _0x2d209c=_0x3eace3[_0x5e1f02(0x321)],_0x5aa353=this[_0x5e1f02(0x31f)][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x5aa353)return!0x1;const _0x10d627=this[_0x5e1f02(0x31f)]['getPivotTableInstance'](_0x3d8fec);if(!_0x10d627)return!0x1;_0x10d627['startCollectChangeset']();for(const _0x2145f3 of _0x2d209c){const {area:_0x582e0a}=_0x10d627[_0x5e1f02(0x248)](_0x2145f3);_0x582e0a===_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x230)]&&_0x10d627[_0x5e1f02(0x3b9)](_0x2145f3),(_0x582e0a===_0x294c18['PivotTableFiledAreaEnum'][_0x5e1f02(0x24f)]||_0x582e0a===_0x294c18['PivotTableFiledAreaEnum'][_0x5e1f02(0x2f8)])&&_0x10d627[_0x5e1f02(0x2b9)](_0x2145f3),_0x10d627['removeField'](_0x2145f3);}const _0x20ac49=_0x10d627[_0x5e1f02(0x338)](),_0x1bde37=_0x10d627[_0x5e1f02(0x251)]()[_0x5e1f02(0x238)](),_0x30d1aa=_0x10d627['endCollectChangeset']();_0x2244e7['removePivotField']={'changesets':_0x30d1aa,'pivotTableConfig':_0x5aa353,'isEmpty':_0x20ac49,'view':_0x1bde37};}break;case _0x5b28b3['SetPivotFilter']:{const _0x4c51e4=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x1ef)];if(!_0x4c51e4)return;const {tableFieldId:_0x55f548,items:_0x523caf,isAll:_0x1a2596}=_0x4c51e4,_0x2dcc64=this[_0x5e1f02(0x31f)][_0x5e1f02(0x3f7)](_0x3d8fec),_0x32ea0c=this[_0x5e1f02(0x31f)][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x2dcc64||!_0x32ea0c)return;_0x2dcc64[_0x5e1f02(0x291)](),_0x2dcc64['setLabelFilterInfo'](_0x55f548,{'type':_0x294c18[_0x5e1f02(0x353)][_0x5e1f02(0x268)],'list':_0x523caf,'isAll':_0x1a2596});const _0x17bbe7=_0x2dcc64[_0x5e1f02(0x338)](),_0x273b39=_0x2dcc64[_0x5e1f02(0x251)]()['toJSON'](),_0x25549a=_0x2dcc64[_0x5e1f02(0x385)]();_0x2244e7[_0x5e1f02(0x1ef)]={'view':_0x273b39,'changesets':_0x25549a,'isEmpty':_0x17bbe7,'pivotTableConfig':_0x32ea0c};}break;case _0x5b28b3[_0x5e1f02(0x331)]:{const _0x1f23e9=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x245)];if(!_0x1f23e9)return;const {tableFieldId:_0x489bfd,filterInfo:_0x5a2904}=_0x1f23e9,_0x4ce0de=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x3d8fec),_0x371e53=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x4ce0de||!_0x371e53)return;_0x4ce0de[_0x5e1f02(0x291)](),_0x4ce0de[_0x5e1f02(0x33b)](_0x489bfd,_0x5a2904);const _0xd0e01e=_0x4ce0de['isEmpty'](),_0xd5129c=_0x4ce0de[_0x5e1f02(0x251)]()[_0x5e1f02(0x238)](),_0x35cdb8=_0x4ce0de[_0x5e1f02(0x385)]();_0x2244e7[_0x5e1f02(0x245)]={'view':_0xd5129c,'changesets':_0x35cdb8,'isEmpty':_0xd0e01e,'pivotTableConfig':_0x371e53};}break;case _0x5b28b3[_0x5e1f02(0x2d5)]:{const _0x5b4790=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x28b)];if(!_0x5b4790)return;const {tableFieldId:_0x5c3230,info:_0x5a1452}=_0x5b4790,_0x550ec3=this[_0x5e1f02(0x31f)][_0x5e1f02(0x3f7)](_0x3d8fec),_0x28a0f3=this[_0x5e1f02(0x31f)]['getPivotTableConfig'](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x550ec3||!_0x28a0f3)return;_0x550ec3['startCollectChangeset'](),_0x550ec3[_0x5e1f02(0x414)](_0x5c3230,_0x5a1452);const _0x596858=_0x550ec3[_0x5e1f02(0x338)](),_0x197ef5=_0x550ec3['query']()[_0x5e1f02(0x238)](),_0x148a33=_0x550ec3[_0x5e1f02(0x385)]();_0x2244e7['setPivotSort']={'view':_0x197ef5,'changesets':_0x148a33,'isEmpty':_0x596858,'pivotTableConfig':_0x28a0f3};}break;case _0x5b28b3[_0x5e1f02(0x1fb)]:{const _0x304703=_0x4dcee0['params'][_0x5e1f02(0x3d8)];if(!_0x304703)return;const {tableFieldId:_0x2b66bf,displayName:_0x379318,subtotalType:_0x4c7dfb,format:_0x417d8c}=_0x304703,_0x43ec5b=this[_0x5e1f02(0x31f)][_0x5e1f02(0x3f7)](_0x3d8fec),_0x4a656c=this[_0x5e1f02(0x31f)][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x43ec5b||!_0x4a656c)return;_0x43ec5b[_0x5e1f02(0x291)](),_0x379318!==void 0x0&&_0x43ec5b[_0x5e1f02(0x2a0)](_0x2b66bf,_0x379318),_0x4c7dfb!==void 0x0&&_0x43ec5b[_0x5e1f02(0x264)](_0x2b66bf,_0x4c7dfb),_0x417d8c!==void 0x0&&_0x43ec5b[_0x5e1f02(0x1cd)](_0x2b66bf,_0x417d8c);const _0x55a18f=_0x43ec5b['isEmpty'](),_0x3588f9=_0x43ec5b[_0x5e1f02(0x251)]()['toJSON'](),_0x20d20c=_0x43ec5b['endCollectChangeset']();_0x2244e7[_0x5e1f02(0x3d8)]={'changesets':_0x20d20c,'pivotTableConfig':_0x4a656c,'isEmpty':_0x55a18f,'view':_0x3588f9};}break;case _0x5b28b3[_0x5e1f02(0x2e5)]:{const _0x1cce5b=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x233)];if(!_0x1cce5b)return;const {dataRangeInfo:_0x3da5f0,unitId:_0x4a39ba,subUnitId:_0x56f780}=_0x1cce5b,_0x1645e9=this[_0x5e1f02(0x31f)][_0x5e1f02(0x4a8)](_0x4a39ba,_0x56f780,_0x3d8fec),_0x2810e1=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x3f7)](_0x3d8fec);if(!this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x1c6)](_0x4a39ba,_0x3d8fec)||!_0x2810e1||!_0x1645e9)return;const _0x5ddffe=this[_0x5e1f02(0x31f)][_0x5e1f02(0x2e2)](_0x4a39ba,_0x3d8fec,_0x3da5f0),_0x13ffbf=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x1c6)](_0x4a39ba,_0x3d8fec)[_0x5e1f02(0x238)](),{collection:_0x23c65}=this[_0x5e1f02(0x31f)][_0x5e1f02(0x45b)]({'unitId':_0x3da5f0['unitId'],'sheetName':_0x3da5f0['sheetName'],'subUnitId':_0x3da5f0[_0x5e1f02(0x1cf)],'range':_0x3da5f0[_0x5e1f02(0x20b)]}),_0x8bbc7a=_0x23c65[_0x5e1f02(0x238)]();_0x2810e1[_0x5e1f02(0x291)]();const _0x95f2f3=this[_0x5e1f02(0x31f)][_0x5e1f02(0x24e)](_0x4a39ba)[_0x5e1f02(0x38d)]()||_0x294c18[_0x5e1f02(0x386)];_0x2810e1[_0x5e1f02(0x249)](_0x1ccf38=>{const _0x1ec731=_0x5e1f02,_0x487f8f=_0x1ccf38[_0x1ec731(0x1b6)]();if(!_0x23c65[_0x1ec731(0x3fa)](_0x487f8f)){const _0x42a11f=_0x23c65[_0x1ec731(0x40c)](_0x1ccf38[_0x1ec731(0x282)]());if(_0x42a11f){_0x2810e1[_0x1ec731(0x26f)](_0x1ccf38[_0x1ec731(0x246)](),_0x42a11f['getName'](),_0x42a11f['getId']());const {area:_0xfe5f33}=_0x2810e1[_0x1ec731(0x248)](_0x1ccf38[_0x1ec731(0x246)]());let _0x14bccd=_0x1ccf38['getSourceName']();const _0x2089d9=_0x1ccf38[_0x1ec731(0x3f2)]();if(_0xfe5f33===_0x294c18[_0x1ec731(0x277)][_0x1ec731(0x230)]){const _0x57ab0d=_0x1ccf38['getSubtotal']();_0x14bccd=_0x95f2f3(_0x42a11f[_0x1ec731(0x2ad)](),_0x57ab0d);}_0x2089d9!==_0x14bccd&&_0x2810e1['renameField'](_0x1ccf38[_0x1ec731(0x246)](),_0x14bccd);}else _0x2810e1[_0x1ec731(0x1f8)](_0x1ccf38[_0x1ec731(0x246)]());}});const _0x417b08=_0x2810e1['isEmpty'](),_0x708b47=_0x2810e1['query']()[_0x5e1f02(0x238)](),_0x9b22cd=_0x2810e1[_0x5e1f02(0x385)]();_0x2244e7['updatePivotSource']={'view':_0x708b47,'changesets':_0x9b22cd,'isEmpty':_0x417b08,'pivotTableConfig':_0x1645e9,'collectionConfig':_0x8bbc7a,'oldCollectionConfig':_0x13ffbf,'deleteIds':_0x5ddffe};}break;case _0x5b28b3[_0x5e1f02(0x1dd)]:{const _0x45a117=_0x4dcee0['params'][_0x5e1f02(0x496)];if(!_0x45a117)return;const {position:_0x1ad0ee,index:_0x1eb1a1}=_0x45a117,_0xad3655=this[_0x5e1f02(0x31f)][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0xad3655)return!0x1;const _0x18d01d=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x3f7)](_0x3d8fec);if(!_0x18d01d)return!0x1;_0x18d01d['startCollectChangeset'](),_0x18d01d[_0x5e1f02(0x496)](_0x1ad0ee,_0x1eb1a1);const _0x2a3aec=_0x18d01d[_0x5e1f02(0x338)](),_0xb29e0e=_0x18d01d[_0x5e1f02(0x251)]()[_0x5e1f02(0x238)](),_0x1e130=_0x18d01d[_0x5e1f02(0x385)]();_0x2244e7[_0x5e1f02(0x496)]={'changesets':_0x1e130,'pivotTableConfig':_0xad3655,'isEmpty':_0x2a3aec,'view':_0xb29e0e};}break;case _0x5b28b3['SetPivotCollapse']:{const _0x3f3f62=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x35f)];if(!_0x3f3f62)return;const {tableFieldId:_0x422e50,collapse:_0x3cc7d,item:_0x1b5a8f}=_0x3f3f62,_0x1a3d62=this[_0x5e1f02(0x31f)]['getPivotTableInstance'](_0x3d8fec),_0x3a81e9=this['_sheetsPivotDataSourceModel'][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x1a3d62||!_0x3a81e9)return;_0x1a3d62[_0x5e1f02(0x291)](),_0x1a3d62['setCollapse'](_0x422e50,_0x3cc7d,_0x1b5a8f);const _0x589fd2=_0x1a3d62[_0x5e1f02(0x338)](),_0x585311=_0x1a3d62[_0x5e1f02(0x251)]()[_0x5e1f02(0x238)](),_0x3a0995=_0x1a3d62[_0x5e1f02(0x385)]();_0x2244e7[_0x5e1f02(0x35f)]={'view':_0x585311,'isEmpty':_0x589fd2,'pivotTableConfig':_0x3a81e9,'changesets':_0x3a0995};}break;case _0x5b28b3[_0x5e1f02(0x250)]:{const _0x447422=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x2cd)];if(!_0x447422)return;const {pivotTableConfig:_0x17c720}=_0x447422,_0xa9b57d=this[_0x5e1f02(0x31f)][_0x5e1f02(0x3f7)](_0x3d8fec),_0x1cd3db=this[_0x5e1f02(0x31f)]['getPivotTableConfig'](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0xa9b57d||!_0x1cd3db)return;_0xa9b57d[_0x5e1f02(0x291)](),_0x10192f(_0xa9b57d,_0x17c720);const _0x45b713=_0xa9b57d[_0x5e1f02(0x338)](),_0x25dcb9=_0xa9b57d[_0x5e1f02(0x251)]()[_0x5e1f02(0x238)](),_0x21cb1a=_0xa9b57d[_0x5e1f02(0x385)]();_0x2244e7[_0x5e1f02(0x2cd)]={'view':_0x25dcb9,'isEmpty':_0x45b713,'pivotTableConfig':{..._0x1cd3db,'fieldsConfig':_0xa9b57d[_0x5e1f02(0x238)]()},'changesets':_0x21cb1a};}break;case _0x5b28b3['ResetPivotTable']:{const _0x3f5734=_0x4dcee0[_0x5e1f02(0x42f)][_0x5e1f02(0x4bb)];if(!_0x3f5734)return;const _0x258e49=this[_0x5e1f02(0x31f)][_0x5e1f02(0x3f7)](_0x3d8fec),_0x30a55c=this[_0x5e1f02(0x31f)][_0x5e1f02(0x4a8)](_0x117ef1,_0x22a9e6,_0x3d8fec);if(!_0x258e49||!_0x30a55c)return;_0x258e49[_0x5e1f02(0x291)](),_0x12ce6c(_0x258e49,_0x3f5734[_0x5e1f02(0x445)]);const _0x229771=_0x258e49['query']()[_0x5e1f02(0x238)](),_0x2cb994=_0x258e49[_0x5e1f02(0x385)]();_0x2244e7['resetPivotTable']={'view':_0x229771,'isEmpty':!0x0,'pivotTableConfig':{..._0x30a55c,'fieldsConfig':_0x258e49[_0x5e1f02(0x238)]()},'changesets':_0x2cb994};}break;case _0x5b28b3[_0x5e1f02(0x464)]:{const _0x51ae41=_0x4dcee0[_0x5e1f02(0x42f)]['addPivotTableWithConfig'];if(!_0x51ae41)return;const _0x18f47b=_0x51ae41[_0x5e1f02(0x38f)],_0x43cc38=_0x51ae41[_0x5e1f02(0x416)],{collection:_0x3e8bdc}=this[_0x5e1f02(0x31f)][_0x5e1f02(0x45b)]({'unitId':_0x18f47b[_0x5e1f02(0x46d)],'sheetName':_0x18f47b['sheetName'],'subUnitId':_0x18f47b[_0x5e1f02(0x1cf)],'range':_0x18f47b[_0x5e1f02(0x20b)]}),_0x1f0fe3=new _0x294c18['PivotTable'](_0x3e8bdc,void 0x0,_0x43cc38),_0x359b25=_0x3e8bdc[_0x5e1f02(0x3d4)](),{rows:_0x22c4d4,columns:_0x5a739a,filters:_0x56c941,values:_0x39dab9}=_0x51ae41[_0x5e1f02(0x387)];_0x1f0fe3['startCollectChangeset']();for(const {field:_0x13ec7e,selectedItems:_0x57baa5}of _0x22c4d4||[]){const _0x14f769=_0x359b25[_0x13ec7e];if(_0x14f769){const _0x45bcde=_0x1f0fe3[_0x5e1f02(0x32b)](_0x14f769,_0x294c18['PivotTableFiledAreaEnum'][_0x5e1f02(0x24f)]);_0x57baa5&&_0x45bcde&&_0x1f0fe3['setLabelFilterInfo'](_0x45bcde[_0x5e1f02(0x246)](),{'type':_0x294c18['PivotFilterTypeEnum'][_0x5e1f02(0x268)],'list':_0x57baa5,'isAll':!0x1});}}for(const {field:_0x3be3fa,selectedItems:_0x162679}of _0x5a739a||[]){const _0x408bd1=_0x359b25[_0x3be3fa];if(_0x408bd1){const _0x4fb082=_0x1f0fe3[_0x5e1f02(0x32b)](_0x408bd1,_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x2f8)]);_0x162679&&_0x4fb082&&_0x1f0fe3[_0x5e1f02(0x4ac)](_0x4fb082[_0x5e1f02(0x246)](),{'type':_0x294c18[_0x5e1f02(0x353)]['ManualFilter'],'list':_0x162679,'isAll':!0x1});}}for(const {field:_0x464969,selectedItems:_0x4a8d06}of _0x56c941||[]){const _0x4649c5=_0x359b25[_0x464969];if(_0x4649c5){const _0x38b6e2=_0x1f0fe3['addFieldWithSourceId'](_0x4649c5,_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x214)]);_0x4a8d06&&_0x38b6e2&&_0x1f0fe3['setLabelFilterInfo'](_0x38b6e2[_0x5e1f02(0x246)](),{'type':_0x294c18['PivotFilterTypeEnum'][_0x5e1f02(0x268)],'list':_0x4a8d06,'isAll':!0x1});}}for(const {field:_0x42ae7c,subTotalType:_0x58e12f,formatString:_0x360f1b}of _0x39dab9||[]){const _0x3c61f5=_0x3e8bdc[_0x5e1f02(0x3a5)](_0x359b25[_0x42ae7c]);if(!_0x3c61f5)continue;const _0x552a9a=_0x359b25[_0x42ae7c];if(_0x552a9a){const _0x113ecd=_0x1f0fe3[_0x5e1f02(0x32b)](_0x552a9a,_0x294c18[_0x5e1f02(0x277)][_0x5e1f02(0x230)]);if(_0x113ecd){if(_0x58e12f!==void 0x0){_0x1f0fe3[_0x5e1f02(0x264)](_0x113ecd[_0x5e1f02(0x246)](),_0x58e12f);const _0x24e337=this[_0x5e1f02(0x31f)][_0x5e1f02(0x24e)](_0x18f47b[_0x5e1f02(0x46d)])['getAutoDisplayNameFunction']()||_0x294c18[_0x5e1f02(0x386)],_0x45cd73=_0x3e8bdc['getDisplayName'](_0x552a9a),_0x1ab701=_0x24e337(_0x45cd73,_0x58e12f);_0x1f0fe3[_0x5e1f02(0x2a0)](_0x113ecd[_0x5e1f02(0x246)](),_0x1ab701);}else{if(_0x3c61f5){const _0x5bbbaa=_0x3c61f5==null?void 0x0:_0x3c61f5[_0x5e1f02(0x38e)]();_0x1f0fe3[_0x5e1f02(0x264)](_0x113ecd['getId'](),_0x5bbbaa===_0x294c18['PivotDataFieldDataTypeEnum'][_0x5e1f02(0x3d6)]?_0x294c18[_0x5e1f02(0x324)][_0x5e1f02(0x455)]:_0x294c18[_0x5e1f02(0x324)][_0x5e1f02(0x292)]);}}_0x360f1b&&_0x1f0fe3[_0x5e1f02(0x1cd)](_0x113ecd[_0x5e1f02(0x246)](),_0x360f1b);}}}const _0x4a3ee1=_0x1f0fe3[_0x5e1f02(0x251)](),_0x43bd86=_0x1f0fe3['toJSON'](),_0x477cb2=_0x1f0fe3[_0x5e1f02(0x338)](),_0x37dc7d=_0x1f0fe3[_0x5e1f02(0x385)](),_0x10b921=_0x3e8bdc[_0x5e1f02(0x238)]();_0x2244e7[_0x5e1f02(0x466)]={'view':_0x4a3ee1,'fieldsConfig':_0x43bd86,'collectionConfig':_0x10b921,'isEmpty':_0x477cb2,'changesets':_0x37dc7d};}break;case _0x5b28b3[_0x5e1f02(0x3bf)]:{const _0x62089a=_0x1ac321(this[_0x5e1f02(0x1b5)],_0x4dcee0);if(!_0x62089a)return;const {range:_0x4bad04,sourceSubUnitId:_0x3eb571,sourceUnitId:_0x11135b,formatMap:_0x137752,indexes:_0x5d4284}=_0x62089a;_0x2244e7[_0x5e1f02(0x235)]={'range':_0x4bad04,'sourceSubUnitId':_0x3eb571,'sourceUnitId':_0x11135b,'formatMap':_0x137752,'indexes':_0x5d4284};}break;}this['_commandService']['executeCommand'](_0x506111['id'],{'version':_0x4dcee0['version'],'result':_0x2244e7},{'onlyLocal':!0x0});}));}[_0x45d80e(0x4c4)](){const _0x47eb36=_0x45d80e;this[_0x47eb36(0x401)](this[_0x47eb36(0x218)][_0x47eb36(0x1bb)](_0x11a4a6=>{const _0xb79b54=_0x47eb36;if(_0x11a4a6['id']!==_0x54c4b5['id'])return;const _0x345484=_0x11a4a6['params'];return this[_0xb79b54(0x31f)][_0xb79b54(0x241)](_0x345484[_0xb79b54(0x4be)]),!0x0;}));}['_subjectCollectionChange'](){const _0xdca7b9=_0x45d80e;this['_sheetsPivotDataSourceModel'][_0xdca7b9(0x410)][_0xdca7b9(0x2ca)](_0x4394a5=>{const _0x141a72=_0xdca7b9;switch(_0x4394a5[_0x141a72(0x463)]){case _0xc0c401[_0x141a72(0x256)]:_0x4394a5[_0x141a72(0x47d)]&&_0x4394a5['targetCellInfo']&&this[_0x141a72(0x2c6)](_0x4394a5['token'],_0x4394a5[_0x141a72(0x47d)],_0x4394a5[_0x141a72(0x309)]);break;case _0xc0c401[_0x141a72(0x26d)]:{const {unitId:_0x4ca695,subUnitId:_0x457610,token:_0x3df270}=_0x4394a5;_0x4ca695&&_0x457610&&_0x3df270&&this[_0x141a72(0x37c)](_0x4ca695,_0x457610,_0x3df270);}break;case _0xc0c401['update']:{const {token:_0x4fcf42,oldSourceRangeInfo:_0x56024a,dataRangeInfo:_0x1e38fe,targetCellInfo:_0x52eec1}=_0x4394a5,{unitId:_0x561081,subUnitId:_0x4e70ac}=_0x56024a||{};_0x561081&&_0x4e70ac&&_0x4fcf42&&this[_0x141a72(0x37c)](_0x561081,_0x4e70ac,_0x4fcf42),_0x1e38fe&&_0x52eec1&&this[_0x141a72(0x2c6)](_0x4fcf42,_0x1e38fe,_0x52eec1);}break;}});}['_subjectFieldsCollectionChange'](){const _0x7c9d48=_0x45d80e;this[_0x7c9d48(0x31f)][_0x7c9d48(0x22b)]['subscribe'](_0x2fa560=>{const _0x12fed6=_0x7c9d48;Object[_0x12fed6(0x413)](_0x2fa560)[_0x12fed6(0x1d9)](_0x5163ff=>{const _0x31a645=_0x12fed6,_0x39b2e1=this[_0x31a645(0x31f)]['getTargetByPivotId'](_0x5163ff);if(_0x39b2e1){const _0x5db96b=this[_0x31a645(0x31f)][_0x31a645(0x4a8)](_0x39b2e1==null?void 0x0:_0x39b2e1[_0x31a645(0x46d)],_0x39b2e1==null?void 0x0:_0x39b2e1[_0x31a645(0x1cf)],_0x5163ff);_0x5db96b&&(this[_0x31a645(0x2c6)](_0x5163ff,_0x5db96b['sourceRangeInfo'],_0x5db96b[_0x31a645(0x309)]),this[_0x31a645(0x27f)]([{'unitId':_0x39b2e1[_0x31a645(0x46d)],'subUnitId':_0x39b2e1[_0x31a645(0x1cf)],'token':_0x5163ff}]));}});});}[_0x45d80e(0x430)](){const _0xf5821d=_0x45d80e;this['_sheetsPivotDataSourceModel'][_0xf5821d(0x31d)][_0xf5821d(0x2ca)](_0x40e1ea=>{const {unitId:_0x2c0de7,subUnitId:_0x488a99,pivotTableId:_0x4c26b1}=_0x40e1ea;_0x2c0de7&&_0x488a99&&_0x4c26b1&&this['triggerDirtyFeature']([{'unitId':_0x2c0de7,'subUnitId':_0x488a99,'token':_0x4c26b1}]);});}[_0x45d80e(0x27f)](_0x4892ef){const _0x3f0966=_0x45d80e,_0x2070c3={};_0x4892ef[_0x3f0966(0x1d9)](_0x5b025c=>{var _0x33a13a,_0x87ad51;const {unitId:_0x881895,subUnitId:_0xd9f5e3,token:_0x920217}=_0x5b025c;_0x2070c3[_0x881895]=(_0x33a13a=_0x2070c3[_0x881895])!=null?_0x33a13a:{},_0x2070c3[_0x881895][_0xd9f5e3]=(_0x87ad51=_0x2070c3[_0x881895][_0xd9f5e3])!=null?_0x87ad51:{},_0x2070c3[_0x881895][_0xd9f5e3][_0x920217]=!0x0;}),this['_commandService']['executeCommand'](_0x231cfb['id'],_0x2070c3);}[_0x45d80e(0x37c)](_0x56ac5d,_0x603b4,_0x11a219){const _0xb19cfc=_0x45d80e;this[_0xb19cfc(0x449)][_0xb19cfc(0x344)](_0x56ac5d,_0x603b4,[_0x11a219]);}[_0x45d80e(0x2c6)](_0x374025,_0x5488b2,_0x4f6439){const _0x45bcf5=_0x45d80e,{unitId:_0x2e997e,subUnitId:_0x5eb088}=_0x5488b2;this[_0x45bcf5(0x449)][_0x45bcf5(0x4af)](_0x4f6439[_0x45bcf5(0x46d)],_0x4f6439[_0x45bcf5(0x1cf)],_0x374025)&&this[_0x45bcf5(0x37c)](_0x2e997e,_0x5eb088,_0x374025);const _0x1365ea={'sheetId':_0x5eb088,..._0x5488b2};this[_0x45bcf5(0x449)][_0x45bcf5(0x3a4)](_0x4f6439[_0x45bcf5(0x46d)],_0x4f6439['subUnitId'],_0x374025,{'unitId':_0x4f6439[_0x45bcf5(0x46d)],'subUnitId':_0x4f6439[_0x45bcf5(0x1cf)],'dependencyRanges':[_0x1365ea],'getDirtyData':(_0x35007a,_0x24a040)=>{const _0x369d6d=_0x45bcf5,_0x509edf=this['_sheetsPivotDataSourceModel'],_0x263fe4=_0x509edf['getTargetByPivotId'](_0x374025);if(!_0x263fe4)return _0x5d23c9();const {unitId:_0x27bad1,subUnitId:_0x3cd408}=_0x263fe4,_0x17b91e=_0x212b84(_0x35007a,_0x24a040,_0x5488b2);if(_0x17b91e[_0x369d6d(0x1ac)]>0x0){const _0x726ca=_0x509edf[_0x369d6d(0x1c6)](_0x2e997e,_0x374025),_0x1c036b=_0x726ca['getFieldIds'](),_0xb27eff=this[_0x369d6d(0x1e1)](_0x5488b2[_0x369d6d(0x46d)],_0x5488b2[_0x369d6d(0x1cf)],_0x24a040),_0x333d2a={},_0x20ccd2=this[_0x369d6d(0x31f)][_0x369d6d(0x24e)](_0x27bad1)[_0x369d6d(0x38d)]()||_0x294c18[_0x369d6d(0x386)],_0x274920=[];for(const _0x40ba2f of _0x17b91e){const _0x10f5aa=_0x40ba2f-(_0x5488b2['range'][_0x369d6d(0x381)]||0x0),_0x22614b=_0x1c036b[_0x10f5aa];_0x274920[_0x369d6d(0x267)](_0x22614b),_0x333d2a[_0x22614b]=_0x726ca[_0x369d6d(0x3a5)](_0x22614b)[_0x369d6d(0x2ad)](),_0x509edf[_0x369d6d(0x24e)](_0x2e997e)[_0x369d6d(0x279)](_0x22614b,_0x5488b2,_0x10f5aa,_0xb27eff);}_0x726ca[_0x369d6d(0x1f4)](_0x274920)[_0x369d6d(0x1d9)](_0x47a36b=>{const _0x16a292=_0x369d6d,[_0x3c075f,_0x40585d]=_0x47a36b,_0x19b05e=_0x726ca[_0x16a292(0x3a5)](_0x3c075f),_0x345a96=_0x726ca[_0x16a292(0x3a5)](_0x40585d);_0x19b05e&&_0x345a96&&_0x19b05e[_0x16a292(0x477)](_0x345a96);}),_0x726ca['updateAllDisplayName']();const _0x1be697=_0x509edf[_0x369d6d(0x3f7)](_0x374025);if(_0x1be697){_0x31e584(_0x1be697,_0x333d2a,_0x20ccd2),_0x1be697[_0x369d6d(0x377)](!0x0);const _0x2662d4=_0x1be697['query'](),_0x40182d=_0x509edf[_0x369d6d(0x4a8)](_0x27bad1,_0x3cd408,_0x374025),_0x5c1830=_0x509edf[_0x369d6d(0x24e)](_0x2e997e)[_0x369d6d(0x238)]();_0x509edf['updateView'](_0x27bad1,_0x3cd408,_0xee3020[_0x369d6d(0x1d3)],_0x374025,_0x2662d4,_0x40182d,_0x5c1830,!0x0);}}return this[_0x369d6d(0x3e4)](_0x27bad1,_0x3cd408,_0x374025);}});}['getMatrixFromRunTimeData'](_0x22e464,_0x55de6f,_0x53ab65){var _0x240e5a,_0x2e27c1;const {arrayFormulaCellData:_0x56569f,unitData:_0x38bc0e}=_0x53ab65,_0x3fcf67=(_0x240e5a=_0x56569f==null?void 0x0:_0x56569f[_0x22e464])==null?void 0x0:_0x240e5a[_0x55de6f],_0x5b89d3=(_0x2e27c1=_0x38bc0e==null?void 0x0:_0x38bc0e[_0x22e464])==null?void 0x0:_0x2e27c1[_0x55de6f];return{'arrayFormulaCellDataMatrix':_0x3fcf67,'unitDataMatrix':_0x5b89d3};}[_0x45d80e(0x3e4)](_0x4f07e5,_0x1e16e3,_0x468539){const _0x21ede1=_0x45d80e,_0x46084b=this[_0x21ede1(0x31f)][_0x21ede1(0x21e)](_0x4f07e5,_0x1e16e3,_0x468539),_0x2d1bb2=[],_0x4a7ee6=new _0x5c6728['ObjectMatrix']();if(_0x46084b){const {rangeCache:_0x5d3a63,matrix:_0x3563ff,oldRangeCache:_0x283436,oldMatrix:_0xca3709}=_0x46084b,_0x79df96=_0x150053(_0x283436),_0x302c1d=_0x150053(_0x5d3a63);_0x2d1bb2[_0x21ede1(0x267)](..._0x302c1d,..._0x79df96),_0xca3709&&_0x283436&&_0x79df96[_0x21ede1(0x1d9)](_0x1eb34b=>{const _0x5cc6e9=_0x21ede1;for(let _0x145c75=_0x1eb34b[_0x5cc6e9(0x4b6)];_0x145c75<=_0x1eb34b[_0x5cc6e9(0x307)];_0x145c75++)for(let _0x4fa27d=_0x1eb34b[_0x5cc6e9(0x381)];_0x4fa27d<=_0x1eb34b[_0x5cc6e9(0x30a)];_0x4fa27d++)_0x4a7ee6[_0x5cc6e9(0x488)](_0x145c75,_0x4fa27d);}),_0x3563ff&&_0x302c1d&&_0x302c1d['forEach'](_0x284002=>{const _0xf59f71=_0x21ede1;for(let _0x50c1cf=_0x284002[_0xf59f71(0x4b6)];_0x50c1cf<=_0x284002['endRow'];_0x50c1cf++)for(let _0x724430=_0x284002[_0xf59f71(0x381)];_0x724430<=_0x284002[_0xf59f71(0x30a)];_0x724430++)_0x4a7ee6[_0xf59f71(0x33e)](_0x50c1cf,_0x724430,_0x3563ff[_0xf59f71(0x394)](_0x50c1cf,_0x724430));});}const _0x423823={};return _0x423823[_0x4f07e5]={[_0x1e16e3]:_0x54c73d(_0x2d1bb2)},{'runtimeCellData':{[_0x4f07e5]:{[_0x1e16e3]:_0x4a7ee6}},'dirtyRanges':_0x423823};}[_0x45d80e(0x1e2)](){}};_0x3fbeaf=_0x43f469([_0x242f24(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x3c1)])),_0x242f24(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x36260d[_0x45d80e(0x22e)])),_0x242f24(0x2,_0x5c6728['Inject'](_0x5c6728['ICommandService'])),_0x242f24(0x3,_0x5c6728['Inject'](_0x36260d['GlobalComputingStatusService'])),_0x242f24(0x4,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728['Injector']))],_0x3fbeaf);var _0x125c6f=Object['getOwnPropertyDescriptor'],_0x424b10=(_0x517147,_0x1792ca,_0x4b032f,_0x4c47f7)=>{for(var _0x14ed09=_0x4c47f7>0x1?void 0x0:_0x4c47f7?_0x125c6f(_0x1792ca,_0x4b032f):_0x1792ca,_0x1bfd69=_0x517147['length']-0x1,_0x1a8eba;_0x1bfd69>=0x0;_0x1bfd69--)(_0x1a8eba=_0x517147[_0x1bfd69])&&(_0x14ed09=_0x1a8eba(_0x14ed09)||_0x14ed09);return _0x14ed09;},_0x596e6d=(_0x1bd388,_0x4c6dbe)=>(_0x2051b4,_0x4bfb66)=>_0x4c6dbe(_0x2051b4,_0x4bfb66,_0x1bd388);let _0xe3d64c=class extends _0x5c6728[_0x45d80e(0x272)]{constructor(_0x3965a1,_0x5e03d8,_0x189692,_0x1f6a10){const _0x1b1f28=_0x45d80e;super(),_0x1a448b(this,_0x1b1f28(0x3b2),new _0x5c6728[(_0x1b1f28(0x3b8))]()),(this['_univerInstanceService']=_0x3965a1,this[_0x1b1f28(0x45f)]=_0x5e03d8,this[_0x1b1f28(0x21d)]=_0x189692,this[_0x1b1f28(0x2c7)]=_0x1f6a10,this[_0x1b1f28(0x3d1)]());}[_0x45d80e(0x3d1)](){const _0x132947=_0x45d80e;this[_0x132947(0x401)](this[_0x132947(0x45f)][_0x132947(0x467)]({'getMutations':_0x5e3654=>{const _0x43ca52=_0x132947;if(_0x5e3654['id']===_0x102fa6[_0x43ca52(0x25a)]['id']||_0x5e3654['id']===_0x102fa6[_0x43ca52(0x492)]['id']){const _0x18ab6c=[],_0xded8a6=[],_0x14c6dd=this['_sheetsSelectionsService']['getCurrentSelections']()[_0x43ca52(0x442)](_0x325373=>_0x325373[_0x43ca52(0x20b)]),_0x510ff3=_0x102fa6[_0x43ca52(0x2f9)](this['_univerInstanceService'],_0x5e3654[_0x43ca52(0x42f)]);if(!_0x510ff3)return{'redos':[],'undos':[]};const {unitId:_0x346841,subUnitId:_0x4df7df}=_0x510ff3,_0x2645a8={},_0x50d341=this[_0x43ca52(0x2c7)]['getSubUnitPivotConfigs'](_0x346841,_0x4df7df);if(_0x50d341!=null&&_0x50d341['size'])for(const [_0x52a7d,_0x4dd49a]of _0x50d341){const {unitId:_0x57ceab,subUnitId:_0xcf763c,row:_0x62ede1,col:_0x124c0f}=_0x4dd49a[_0x43ca52(0x309)];_0x57ceab===_0x510ff3[_0x43ca52(0x46d)]&&_0xcf763c===_0x510ff3[_0x43ca52(0x1cf)]&&(_0x2645a8[_0x62ede1+'-'+_0x124c0f]=_0x52a7d);}return _0x14c6dd&&_0x510ff3&&_0x14c6dd[_0x43ca52(0x1d9)](_0x5a3eda=>{const _0x2bfe76=_0x43ca52;_0x5c6728[_0x2bfe76(0x312)][_0x2bfe76(0x431)](_0x5a3eda,(_0x1a3721,_0x87b27f)=>{const _0x22915a=_0x2bfe76,_0x50c96a=_0x1a3721+'-'+_0x87b27f;if(_0x2645a8[_0x50c96a]){const _0x4532e1=_0x2645a8[_0x50c96a];_0x18ab6c[_0x22915a(0x267)]({'id':_0x190182['id'],'params':{'unitId':_0x346841,'subUnitId':_0x4df7df,'pivotTableId':_0x4532e1}});const _0x1f2b41=this[_0x22915a(0x2c7)][_0x22915a(0x1c6)](_0x346841,_0x4532e1),_0x4b8782=this[_0x22915a(0x2c7)][_0x22915a(0x4a8)](_0x346841,_0x4df7df,_0x4532e1);_0xded8a6[_0x22915a(0x267)]({'id':_0x3f5b80['id'],'params':{'unitId':_0x346841,'subUnitId':_0x4df7df,'pivotTableId':_0x4532e1,'pivotTableConfig':_0x4b8782,'collectionConfig':_0x1f2b41}});}});}),{'redos':_0x18ab6c,'undos':_0xded8a6};}return{'redos':[],'undos':[]};}}));}};_0xe3d64c=_0x424b10([_0x596e6d(0x0,_0x5c6728[_0x45d80e(0x1dc)]),_0x596e6d(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x102fa6[_0x45d80e(0x2dd)])),_0x596e6d(0x2,_0x5c6728['Inject'](_0x102fa6[_0x45d80e(0x224)])),_0x596e6d(0x3,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x313)]))],_0xe3d64c);var _0x89588f=Object[_0x45d80e(0x2c1)],_0x212649=(_0x546ee8,_0x2f3d40,_0x5c34ea,_0x372eae)=>{const _0x308c12=_0x45d80e;for(var _0x145aee=_0x372eae>0x1?void 0x0:_0x372eae?_0x89588f(_0x2f3d40,_0x5c34ea):_0x2f3d40,_0x1e2948=_0x546ee8[_0x308c12(0x1ac)]-0x1,_0x28d7e2;_0x1e2948>=0x0;_0x1e2948--)(_0x28d7e2=_0x546ee8[_0x1e2948])&&(_0x145aee=_0x28d7e2(_0x145aee)||_0x145aee);return _0x145aee;},_0x25bc86=(_0x1676ef,_0x27a604)=>(_0x56f548,_0x16d095)=>_0x27a604(_0x56f548,_0x16d095,_0x1676ef);let _0x680c9b=class extends _0x5c6728[_0x45d80e(0x272)]{constructor(_0x16e2aa,_0x50aa1a,_0x5adf00,_0x477ab9,_0x25739d){const _0x5277b0=_0x45d80e;super(),this[_0x5277b0(0x45f)]=_0x16e2aa,this[_0x5277b0(0x1b5)]=_0x50aa1a,this[_0x5277b0(0x43c)]=_0x5adf00,this['_sheetsPivotTableConfigModel']=_0x477ab9,this[_0x5277b0(0x3c9)]=_0x25739d,this['_initCommandInterceptListener']();}[_0x45d80e(0x1f0)](_0x44a002,_0x1573b7,_0x1652f2){const _0x18d424=_0x45d80e,{pageView:_0x423cda,cornerView:_0x2acdd3,rowView:_0x6fb711,colView:_0x331a89,dataView:_0x311956}=_0x1573b7,_0x167b89=_0x44a002;let _0x3971e5;if(_0x1652f2)_0x3971e5=[..._0x5ea6b0(_0x167b89)];else{const _0xfce78d=_0x4a28b0(_0x167b89,_0x423cda,!0x0),_0x5536b5=_0x423cda[_0x18d424(0x28f)]>=0x0?_0x423cda['lastRow']+0x1:0x0,_0x59b0b0=_0x2acdd3['rowCount'],_0x19b0cf=_0x2acdd3[_0x18d424(0x37e)],_0x3bc3bb=_0xfce78d['length']>0x0?_0x1414fc:0x0,_0x1b962c=_0x4a28b0({'row':_0x167b89[_0x18d424(0x3da)]+_0x5536b5+_0x3bc3bb,'col':_0x167b89['col']},_0x2acdd3,!0x1,!0x1),_0xa1728d=_0x4a28b0({'row':_0x167b89[_0x18d424(0x3da)]+_0x5536b5+_0x3bc3bb+_0x59b0b0,'col':_0x167b89[_0x18d424(0x2e6)]},_0x6fb711,!0x1,!0x0),_0x424a4e=_0x4a28b0({'row':_0x167b89['row']+_0x5536b5+_0x3bc3bb,'col':_0x167b89[_0x18d424(0x2e6)]+_0x19b0cf},_0x331a89,!0x1,!0x0),_0x74d102=_0x4a28b0({'row':_0x167b89['row']+_0x5536b5+_0x3bc3bb+_0x59b0b0,'col':_0x167b89[_0x18d424(0x2e6)]+_0x19b0cf},_0x311956,!0x1,!0x0);_0x3971e5=[..._0xfce78d,..._0x1b962c,..._0xa1728d,..._0x424a4e,..._0x74d102];}return _0x3971e5;}[_0x45d80e(0x2f5)](){const _0x5bbd3a=_0x45d80e;this[_0x5bbd3a(0x401)](this['_sheetsPivotTableService'][_0x5bbd3a(0x4bc)][_0x5bbd3a(0x271)](this[_0x5bbd3a(0x3c9)][_0x5bbd3a(0x4bc)][_0x5bbd3a(0x483)]()[_0x5bbd3a(0x393)],{'handler':(_0x624ccf,_0x2caaed)=>{const _0x2c1bf4=_0x5bbd3a,{cellInfo:_0xa22073,view:_0x498271,isEmpty:_0x5d8ec2}=_0x2caaed,_0x2ddb46=_0xa22073,{unitId:_0x4a9545,subUnitId:_0x406a32}=_0x2ddb46,_0x1695c1=this['_getPivotAppliedRanges'](_0xa22073,_0x498271,_0x5d8ec2),_0x3164fe=this['_sheetInterceptorService'][_0x2c1bf4(0x3fc)]({'unitId':_0x4a9545,'subUnitId':_0x406a32,'ranges':_0x1695c1}),_0x22b8e6=_0x3866c8(this[_0x2c1bf4(0x1b5)],_0x4a9545,_0x406a32,_0x1695c1);_0x22b8e6['shouldClear']&&(_0x3164fe['redos']['push'](_0x22b8e6[_0x2c1bf4(0x212)]),_0x3164fe['undos'][_0x2c1bf4(0x267)](_0x22b8e6[_0x2c1bf4(0x4b8)]));const _0x3306a0=this[_0x2c1bf4(0x2d0)](_0x498271,_0xa22073);return _0x3164fe['redos']['push'](..._0x3306a0['redos']),_0x3164fe['undos']['push'](..._0x3306a0[_0x2c1bf4(0x454)]),{'redos':_0x3164fe[_0x2c1bf4(0x32d)],'undos':_0x3164fe[_0x2c1bf4(0x454)]};}}));}['getAutoFitColumnsMutations'](_0x36aaf7,_0x1dad0f){const _0x2f87c7=_0x45d80e,{col:_0x1f9cf2,unitId:_0xa5b94b,subUnitId:_0xd90cd5}=_0x1dad0f,_0x57bee1=[],_0x510f8d=[],_0x126710=_0x102fa6[_0x2f87c7(0x2f9)](this['_univerInstanceService'],{'unitId':_0xa5b94b,'subUnitId':_0xd90cd5});if(!_0x1dad0f||!_0x36aaf7||!_0x126710)return{'undos':_0x510f8d,'redos':_0x57bee1};const _0x57a9d8=this[_0x2f87c7(0x2c7)][_0x2f87c7(0x350)](),{colView:_0xa5090,dataView:_0x4369b1,cornerView:_0x75e379,rowView:_0x3567dc,formatMap:_0x5d64cc}=_0x36aaf7,_0x3e61e8=_0x2633ba(_0xa5090,_0x57a9d8,!0x0,_0x5d64cc),_0x339e82=_0x2633ba(_0x3567dc,_0x57a9d8,!0x1,_0x5d64cc),_0x4b4291=_0x4154ef(_0x4369b1),_0x504764=_0x2cfb80(_0x75e379),{worksheet:_0x4cc8de}=_0x126710;if(typeof window<'u'&&window[_0x2f87c7(0x2d6)]){const _0x31f1db=_0x59b0da[_0x2f87c7(0x351)]({..._0x570805[_0x2f87c7(0x433)]}),_0x10cd6a=_0x59b0da[_0x2f87c7(0x2a3)][_0x2f87c7(0x31c)](_0x3e61e8,_0x31f1db)[_0x2f87c7(0x3a9)]+0x10,_0xd84975=_0x59b0da[_0x2f87c7(0x2a3)][_0x2f87c7(0x31c)](_0x4b4291,_0x31f1db)[_0x2f87c7(0x3a9)],_0xec403=Math[_0x2f87c7(0x348)](Math[_0x2f87c7(0x438)](_0x10cd6a,_0xd84975))+0x10,_0x3ecad7=Math['floor'](_0x59b0da[_0x2f87c7(0x2a3)]['getTextSize'](_0x339e82,_0x31f1db)[_0x2f87c7(0x3a9)]),_0x46c908=Math[_0x2f87c7(0x348)](_0x59b0da[_0x2f87c7(0x2a3)]['getTextSize'](_0x504764,_0x31f1db)[_0x2f87c7(0x3a9)]),_0x58f39c=Math[_0x2f87c7(0x438)](_0x3ecad7,_0x46c908,0x28)+0xc,_0x1454b2=_0xa5090['colCount']+_0x75e379[_0x2f87c7(0x37e)],_0x216622={},_0x3cbf3f={};for(let _0x516b46=_0x1f9cf2;_0x516b46<_0x1f9cf2+_0x1454b2;_0x516b46++){const _0x2c7b7b=_0x4cc8de['getColumnWidth'](_0x516b46);_0x216622[_0x516b46]=_0x2c7b7b,_0x516b46-_0x1f9cf2<_0x75e379['colCount']?_0x3cbf3f[_0x516b46-_0x1f9cf2]=_0x58f39c:_0x3cbf3f[_0x516b46-_0x1f9cf2]=_0xec403;}_0x57bee1[_0x2f87c7(0x267)]({'id':_0x102fa6[_0x2f87c7(0x208)]['id'],'params':{'subUnitId':_0xd90cd5,'unitId':_0xa5b94b,'ranges':[{'startColumn':_0x1f9cf2,'endColumn':_0x1f9cf2+_0x1454b2-0x1,'startRow':0x0,'endRow':_0x4cc8de[_0x2f87c7(0x2a6)]()-0x1}],'colWidth':_0x3cbf3f}}),_0x510f8d[_0x2f87c7(0x267)]({'id':_0x102fa6[_0x2f87c7(0x208)]['id'],'params':{'subUnitId':_0xd90cd5,'unitId':_0xa5b94b,'ranges':[{'startColumn':_0x1f9cf2,'endColumn':_0x1f9cf2+_0x1454b2-0x1,'startRow':0x0,'endRow':_0x4cc8de[_0x2f87c7(0x2a6)]()-0x1}],'colWidth':_0x216622}});}return{'undos':_0x510f8d,'redos':_0x57bee1};}};_0x680c9b=_0x212649([_0x25bc86(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x102fa6[_0x45d80e(0x2dd)])),_0x25bc86(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x4a7)])),_0x25bc86(0x2,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x1dc)])),_0x25bc86(0x3,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x313)])),_0x25bc86(0x4,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x41b)]))],_0x680c9b);var _0x2a74b3=Object[_0x45d80e(0x2c1)],_0x2fe9a1=(_0x2cd1ce,_0x43a13d,_0x466d9e,_0x5e9916)=>{const _0x31f19d=_0x45d80e;for(var _0x50cbc8=_0x5e9916>0x1?void 0x0:_0x5e9916?_0x2a74b3(_0x43a13d,_0x466d9e):_0x43a13d,_0x35b1a6=_0x2cd1ce[_0x31f19d(0x1ac)]-0x1,_0x8d114c;_0x35b1a6>=0x0;_0x35b1a6--)(_0x8d114c=_0x2cd1ce[_0x35b1a6])&&(_0x50cbc8=_0x8d114c(_0x50cbc8)||_0x50cbc8);return _0x50cbc8;},_0x424831=(_0x27ceca,_0x5e9bcb)=>(_0x2e8951,_0x41f836)=>_0x5e9bcb(_0x2e8951,_0x41f836,_0x27ceca);let _0x2e0e5d=class extends _0x5c6728['Disposable']{constructor(_0x1f7a9e,_0x540c42,_0xefaa56,_0x53b59a,_0x4d6c9a,_0x4ad68b,_0x497486){const _0x50f043=_0x45d80e;super(),_0x1a448b(this,_0x50f043(0x3b2),new _0x5c6728[(_0x50f043(0x3b8))]()),(this[_0x50f043(0x1b5)]=_0x1f7a9e,this['_refRangeService']=_0x540c42,this['_commandService']=_0xefaa56,this[_0x50f043(0x43c)]=_0x53b59a,this[_0x50f043(0x2c7)]=_0x4d6c9a,this[_0x50f043(0x262)]=_0x4ad68b,this['_sheetInterceptorService']=_0x497486,this[_0x50f043(0x232)]());}[_0x45d80e(0x232)](){const _0x2be1e2=_0x45d80e,_0x33f871=(_0x20654b,_0x2aff90)=>{const _0x48c896=_0x4f25,_0x359f3f=this[_0x48c896(0x43c)][_0x48c896(0x217)](_0x5c6728[_0x48c896(0x420)]['UNIVER_SHEET']);if(!_0x359f3f||!(_0x359f3f==null?void 0x0:_0x359f3f[_0x48c896(0x380)](_0x2aff90)))return;this[_0x48c896(0x3b2)][_0x48c896(0x1e2)]();const _0x2d6588=_0x810aa1=>this[_0x48c896(0x270)](_0x810aa1,_0x20654b,_0x2aff90),_0x2ec4f0=this[_0x48c896(0x2c7)][_0x48c896(0x38a)](_0x20654b,_0x2aff90);if(!(_0x2ec4f0!=null&&_0x2ec4f0[_0x48c896(0x28d)]))return;Array[_0x48c896(0x200)](_0x2ec4f0['values']())['map'](_0x2c12f0=>{const {row:_0x24f1cc,col:_0x2a4d49}=_0x2c12f0['targetCellInfo'];return _0x5c6728['cellToRange'](_0x24f1cc,_0x2a4d49);})[_0x48c896(0x1d9)](_0x2488af=>{const _0x1f6e56=_0x48c896;this[_0x1f6e56(0x3b2)][_0x1f6e56(0x256)](this['_refRangeService']['registerRefRange'](_0x2488af,_0x2d6588,_0x20654b,_0x2aff90));});},_0x2c9343=()=>{const _0x29fcf7=_0x4f25,_0x4d6750=this[_0x29fcf7(0x43c)][_0x29fcf7(0x217)](_0x5c6728[_0x29fcf7(0x420)][_0x29fcf7(0x3f6)]);if(_0x4d6750){const _0x656d46=_0x4d6750[_0x29fcf7(0x228)]();if(!_0x656d46)return;_0x33f871(_0x4d6750[_0x29fcf7(0x4c6)](),_0x656d46['getSheetId']());}};this[_0x2be1e2(0x401)](this[_0x2be1e2(0x218)][_0x2be1e2(0x1bb)](_0x467263=>{const _0x156e5d=_0x2be1e2;if(_0x467263['id']===_0x102fa6[_0x156e5d(0x3c0)]['id']){const _0x4066dd=_0x467263[_0x156e5d(0x42f)],_0x1a8467=_0x4066dd[_0x156e5d(0x1cf)],_0x29f496=_0x4066dd[_0x156e5d(0x46d)];if(!_0x1a8467||!_0x29f496)return;_0x33f871(_0x29f496,_0x1a8467);}})),this['disposeWithMe'](this[_0x2be1e2(0x2c7)][_0x2be1e2(0x261)][_0x2be1e2(0x2ca)](_0x45bc62=>{_0x45bc62&&_0x2c9343();})),this[_0x2be1e2(0x401)](this[_0x2be1e2(0x2c7)][_0x2be1e2(0x495)][_0x2be1e2(0x2ca)](_0x229164=>{const _0x144630=_0x2be1e2,_0x1f575b=_0x102fa6[_0x144630(0x2f9)](this[_0x144630(0x43c)],{'unitId':_0x229164[_0x144630(0x46d)],'subUnitId':_0x229164[_0x144630(0x1cf)]});if(!_0x1f575b)return;const {unitId:_0x156ab3,subUnitId:_0x3e8990}=_0x1f575b,{unitId:_0x190acd,subUnitId:_0x15adfa}=_0x229164;_0x156ab3!==_0x190acd||_0x3e8990!==_0x15adfa||_0x33f871(_0x156ab3,_0x3e8990);})),_0x2c9343();}['_refRangeHandle'](_0x2ec246,_0x1732e8,_0x4844dc){return _0x2ec246['id']===_0x102fa6['MoveRangeCommand']['id']?this['getRefRangeMutationsByMoveRange'](_0x2ec246['params'],_0x1732e8,_0x4844dc):{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x2381c0,_0x299ee6,_0x79287e){const _0x23c7cc=_0x45d80e,{fromRange:_0x356778,toRange:_0x223dea}=_0x2381c0,_0x1d0210=[],_0x33f88a=[],_0x6c2c79=_0x102fa6[_0x23c7cc(0x2f9)](this[_0x23c7cc(0x43c)]);if(!_0x6c2c79)return{'undos':_0x33f88a,'redos':_0x1d0210};if(_0x299ee6!==_0x6c2c79[_0x23c7cc(0x46d)]||_0x79287e!==_0x6c2c79[_0x23c7cc(0x1cf)])return{'undos':_0x33f88a,'redos':_0x1d0210};const _0x596149=this[_0x23c7cc(0x2c7)]['getSubUnitPivotConfigs'](_0x299ee6,_0x79287e);if(_0x596149!=null&&_0x596149['size'])for(const [_0x2a4412,_0x49f65f]of _0x596149){const {unitId:_0x22239c,subUnitId:_0x4b4060,row:_0x233df4,col:_0x9f0312}=_0x49f65f[_0x23c7cc(0x309)];if(_0x22239c===_0x6c2c79[_0x23c7cc(0x46d)]&&_0x4b4060===_0x6c2c79[_0x23c7cc(0x1cf)]){const _0x5087d6=_0x5c6728[_0x23c7cc(0x3fd)](_0x233df4,_0x9f0312);if(_0x5c6728['Rectangle'][_0x23c7cc(0x4bd)](_0x5087d6,_0x356778)){const _0x871f3=_0x233df4-_0x356778['startRow'],_0x429586=_0x9f0312-_0x356778[_0x23c7cc(0x381)],_0x1df6e4={'row':_0x223dea[_0x23c7cc(0x4b6)]+_0x871f3,'col':_0x223dea[_0x23c7cc(0x381)]+_0x429586};_0x1d0210[_0x23c7cc(0x267)]({'id':_0x49af41['id'],'params':{'unitId':_0x22239c,'subUnitId':_0x4b4060,'pivotTableId':_0x2a4412,'targetCellPosition':_0x1df6e4}}),_0x33f88a['push']({'id':_0x49af41['id'],'params':{'unitId':_0x22239c,'subUnitId':_0x4b4060,'pivotTableId':_0x2a4412,'targetCellPosition':{'row':_0x233df4,'col':_0x9f0312}}});const _0x216db4=_0x1df6e4[_0x23c7cc(0x3da)]-_0x233df4,_0x125948=_0x1df6e4[_0x23c7cc(0x2e6)]-_0x9f0312,_0xdeab8e=[],_0x5a5923=this[_0x23c7cc(0x262)]['getPivotItemRenderInfoCache'](_0x22239c,_0x4b4060,_0x2a4412),_0x42de40=_0x5a5923==null?void 0x0:_0x5a5923[_0x23c7cc(0x275)];if(_0x42de40){Object[_0x23c7cc(0x413)](_0x42de40)['forEach'](_0x48e7e4=>{const _0x1b912f=_0x23c7cc;_0x42de40[_0x48e7e4][_0x1b912f(0x1d9)](_0x1ed9d0=>{const _0x15a139=_0x1b912f,_0x969d7={..._0x1ed9d0};_0x969d7[_0x15a139(0x4b6)]=_0x1ed9d0[_0x15a139(0x4b6)]+_0x216db4,_0x969d7[_0x15a139(0x307)]=_0x1ed9d0[_0x15a139(0x307)]+_0x216db4,_0x969d7['startColumn']=_0x1ed9d0[_0x15a139(0x381)]+_0x125948,_0x969d7[_0x15a139(0x30a)]=_0x1ed9d0[_0x15a139(0x30a)]+_0x125948,_0xdeab8e[_0x15a139(0x267)](_0x969d7);});});const _0x22e402=this[_0x23c7cc(0x45f)][_0x23c7cc(0x3fc)]({'unitId':_0x22239c,'subUnitId':_0x4b4060,'ranges':_0xdeab8e});_0x1d0210[_0x23c7cc(0x267)](..._0x22e402[_0x23c7cc(0x32d)]),_0x33f88a['push'](..._0x22e402[_0x23c7cc(0x454)]);const _0x2be388=_0x3866c8(this[_0x23c7cc(0x1b5)],_0x22239c,_0x4b4060,_0xdeab8e);_0x2be388['shouldClear']&&(_0x1d0210[_0x23c7cc(0x267)](_0x2be388[_0x23c7cc(0x212)]),_0x33f88a[_0x23c7cc(0x267)](_0x2be388[_0x23c7cc(0x4b8)]));}}}}return{'redos':_0x1d0210,'undos':_0x33f88a};}};_0x2e0e5d=_0x2fe9a1([_0x424831(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x4a7)])),_0x424831(0x1,_0x5c6728['Inject'](_0x102fa6['RefRangeService'])),_0x424831(0x2,_0x5c6728[_0x45d80e(0x211)]),_0x424831(0x3,_0x5c6728[_0x45d80e(0x1dc)]),_0x424831(0x4,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x313)])),_0x424831(0x5,_0x5c6728['Inject'](_0x590b76[_0x45d80e(0x49b)])),_0x424831(0x6,_0x5c6728[_0x45d80e(0x4b1)](_0x102fa6['SheetInterceptorService']))],_0x2e0e5d);var _0x1272f2=Object[_0x45d80e(0x2c1)],_0x35d65e=(_0x14056a,_0x1a1b59,_0x295307,_0x4527b5)=>{const _0x5daa67=_0x45d80e;for(var _0x30d1af=_0x4527b5>0x1?void 0x0:_0x4527b5?_0x1272f2(_0x1a1b59,_0x295307):_0x1a1b59,_0x206177=_0x14056a[_0x5daa67(0x1ac)]-0x1,_0x54eb66;_0x206177>=0x0;_0x206177--)(_0x54eb66=_0x14056a[_0x206177])&&(_0x30d1af=_0x54eb66(_0x30d1af)||_0x30d1af);return _0x30d1af;},_0x5dfdb3=(_0x1ef5be,_0x2e9505)=>(_0x201f6d,_0x256820)=>_0x2e9505(_0x201f6d,_0x256820,_0x1ef5be);let _0xf93973=class extends _0x5c6728['Disposable']{constructor(_0x4b4c5e,_0x25f6d0){const _0x4cfec0=_0x45d80e;super(),this[_0x4cfec0(0x45f)]=_0x4b4c5e,this['_sheetsPivotTableConfigModel']=_0x25f6d0,this['_initRemoveSheetCommandInterceptor']();}['_initRemoveSheetCommandInterceptor'](){const _0x4d3199=_0x45d80e;this[_0x4d3199(0x401)](this[_0x4d3199(0x45f)][_0x4d3199(0x467)]({'getMutations':_0x7fbac9=>{const _0x441128=_0x4d3199;if(_0x7fbac9['id']===_0x102fa6[_0x441128(0x2d9)]['id']){const _0xe4918e=[],_0x1c4eb3=[],_0x53d5da=_0x7fbac9[_0x441128(0x42f)],{unitId:_0x593a26,subUnitId:_0x5cc537}=_0x53d5da;if(!_0x593a26||!_0x5cc537)return{'undos':_0x1c4eb3,'redos':_0xe4918e};const _0x4a4df9=this[_0x441128(0x2c7)][_0x441128(0x38a)](_0x593a26,_0x5cc537);if(_0x4a4df9!=null&&_0x4a4df9[_0x441128(0x28d)])for(const [_0x23a45c,_0x2237e0]of _0x4a4df9){_0xe4918e['push']({'id':_0x190182['id'],'params':{'unitId':_0x593a26,'subUnitId':_0x5cc537,'pivotTableId':_0x23a45c}});const _0x12f8eb={...this[_0x441128(0x2c7)][_0x441128(0x1c6)](_0x593a26,_0x23a45c)};_0x1c4eb3[_0x441128(0x267)]({'id':_0x3f5b80['id'],'params':{'unitId':_0x593a26,'subUnitId':_0x5cc537,'pivotTableId':_0x23a45c,'pivotTableConfig':_0x2237e0,'collectionConfig':_0x12f8eb}});}return{'redos':_0xe4918e,'undos':_0x1c4eb3};}return{'redos':[],'undos':[]};}}));}};_0xf93973=_0x35d65e([_0x5dfdb3(0x0,_0x5c6728[_0x45d80e(0x4b1)](_0x102fa6[_0x45d80e(0x2dd)])),_0x5dfdb3(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76['SheetsPivotTableConfigModel']))],_0xf93973);var _0x19e775=Object[_0x45d80e(0x2c1)],_0x18022b=(_0x48c191,_0x50a07c,_0x159484,_0x40735e)=>{const _0x550081=_0x45d80e;for(var _0x20be76=_0x40735e>0x1?void 0x0:_0x40735e?_0x19e775(_0x50a07c,_0x159484):_0x50a07c,_0x9ee5bd=_0x48c191[_0x550081(0x1ac)]-0x1,_0x23118b;_0x9ee5bd>=0x0;_0x9ee5bd--)(_0x23118b=_0x48c191[_0x9ee5bd])&&(_0x20be76=_0x23118b(_0x20be76)||_0x20be76);return _0x20be76;},_0x56aaa6=(_0x460f85,_0x19fbde)=>(_0x39c904,_0xff9d59)=>_0x19fbde(_0x39c904,_0xff9d59,_0x460f85);let _0x13cb47=class extends _0x5c6728['Disposable']{constructor(_0xa31fdf,_0x4b3864,_0x2a56cf,_0x447d7e,_0x34a6ba,_0x1b3896){const _0x1eacfb=_0x45d80e;super(),this['_commandService']=_0xa31fdf,this[_0x1eacfb(0x318)]=_0x4b3864,this[_0x1eacfb(0x262)]=_0x2a56cf,this[_0x1eacfb(0x2c7)]=_0x447d7e,this[_0x1eacfb(0x43c)]=_0x34a6ba,this[_0x1eacfb(0x458)]=_0x1b3896,this['_initDataSendListener'](),this[_0x1eacfb(0x460)]();}[_0x45d80e(0x3eb)](){const _0x3b911c=_0x45d80e;this[_0x3b911c(0x401)](this['_commandService'][_0x3b911c(0x1bb)](_0x1fc1dd=>{const _0x3814c6=_0x3b911c;if(_0x1fc1dd['id']!==_0x506111['id'])return;const _0x586e2e=_0x1fc1dd[_0x3814c6(0x42f)];this[_0x3814c6(0x318)][_0x3814c6(0x41e)](_0x586e2e);})),this[_0x3b911c(0x401)](this['_commandService'][_0x3b911c(0x1bb)](_0x23b015=>{const _0x28f144=_0x3b911c;if(_0x23b015['id']===_0x4c0bcd['id']){const _0x8d602d=_0x23b015[_0x28f144(0x42f)];if(_0x8d602d){const {unitId:_0x2ec578,subUnitId:_0x17b587,oldSubUnitId:_0x49a080,pivotTableId:_0x215508,pivotTableConfig:_0x50f9f7,collectionConfig:_0x8ad852}=_0x8d602d;this['_sheetsPivotTableConfigModel'][_0x28f144(0x315)](_0x2ec578,_0x49a080,_0x8d602d[_0x28f144(0x416)],null),this[_0x28f144(0x2c7)][_0x28f144(0x315)](_0x2ec578,_0x17b587,_0x215508,_0x50f9f7),this['_sheetsPivotTableConfigModel'][_0x28f144(0x32e)](_0x2ec578,_0x8ad852);}}})),this[_0x3b911c(0x401)](this[_0x3b911c(0x218)]['onCommandExecuted'](_0x33d97a=>{const _0x58fcaa=_0x3b911c;if(_0x33d97a['id']!==_0x10e31e['id'])return;const _0x34b03f=_0x102fa6[_0x58fcaa(0x2f9)](this[_0x58fcaa(0x43c)]);if(!_0x34b03f)return;const {unitId:_0x5604cb,subUnitId:_0x2a76ca}=_0x34b03f,_0x51714a=_0x33d97a['params'];if(_0x51714a['collectionConfig']&&Object[_0x58fcaa(0x413)](_0x51714a[_0x58fcaa(0x2de)])['forEach'](_0x24f02e=>{const _0x26ac25=_0x58fcaa;var _0x4eb79d;(_0x4eb79d=_0x51714a[_0x26ac25(0x2de)])!=null&&_0x4eb79d[_0x24f02e]&&this['_sheetsPivotTableConfigModel'][_0x26ac25(0x32e)](_0x24f02e,_0x51714a[_0x26ac25(0x2de)][_0x24f02e]);}),_0x51714a[_0x58fcaa(0x4b2)]){const _0x37f9d4=_0x51714a[_0x58fcaa(0x4b2)],{unitId:_0x2027d5,subUnitId:_0x3200aa,view:_0x38ce1e,pivotTableId:_0x54d729,type:_0x9b558d,pivotConfig:_0x30c69d}=_0x37f9d4;if(_0x9b558d===_0xee3020[_0x58fcaa(0x1fd)])this[_0x58fcaa(0x262)][_0x58fcaa(0x4c0)]({'unitId':_0x2027d5,'subUnitId':_0x3200aa,'pivotTableId':_0x54d729,'type':_0x9b558d}),this[_0x58fcaa(0x2c7)][_0x58fcaa(0x315)](_0x2027d5,_0x3200aa,_0x54d729,null);else{const _0x37b50b=new _0x294c18[(_0x58fcaa(0x42e))]();_0x37b50b['formJSON'](_0x38ce1e),this['_sheetsPivotTableConfigModel'][_0x58fcaa(0x315)](_0x2027d5,_0x3200aa,_0x54d729,_0x30c69d),this[_0x58fcaa(0x262)][_0x58fcaa(0x4c0)]({'unitId':_0x2027d5,'subUnitId':_0x3200aa,'pivotTableId':_0x54d729,'type':_0x9b558d,'view':_0x37b50b}),this[_0x58fcaa(0x262)][_0x58fcaa(0x243)]({'unitId':_0x2027d5,'subUnitId':_0x3200aa,'view':_0x37b50b,'pivotTableId':_0x54d729,'type':_0x9b558d});}}else _0x51714a[_0x58fcaa(0x356)]&&(_0x51714a[_0x58fcaa(0x356)][_0x58fcaa(0x1d9)](_0x794cf9=>{const _0x7e0d9f=_0x58fcaa,{unitId:_0x3a9ba1,subUnitId:_0x137162,view:_0x296162,pivotTableId:_0x51cb77,type:_0x224fe7,pivotConfig:_0x1afd17}=_0x794cf9,_0xebf587=new _0x294c18[(_0x7e0d9f(0x42e))]();_0xebf587[_0x7e0d9f(0x23d)](_0x296162),this[_0x7e0d9f(0x2c7)][_0x7e0d9f(0x315)](_0x3a9ba1,_0x137162,_0x51cb77,_0x1afd17),this[_0x7e0d9f(0x262)][_0x7e0d9f(0x243)]({'unitId':_0x3a9ba1,'subUnitId':_0x137162,'view':_0xebf587,'pivotTableId':_0x51cb77,'type':_0x224fe7});}),this[_0x58fcaa(0x2c7)][_0x58fcaa(0x441)]());this[_0x58fcaa(0x262)]['markDirty'](_0x5604cb,_0x2a76ca);}));}[_0x45d80e(0x460)](){this['_activeDirtyManagerService']['register'](_0x231cfb['id'],{'commandId':_0x231cfb['id'],'getDirtyData'(_0x34eea7){const _0x49e80c=_0x4f25;return{'dirtyUnitFeatureMap':_0x34eea7[_0x49e80c(0x42f)]};}});}};_0x13cb47=_0x18022b([_0x56aaa6(0x0,_0x5c6728['Inject'](_0x5c6728['ICommandService'])),_0x56aaa6(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76['SheetsPivotRPCService'])),_0x56aaa6(0x2,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76['SheetsPivotTableAdaptorModel'])),_0x56aaa6(0x3,_0x5c6728[_0x45d80e(0x4b1)](_0x590b76[_0x45d80e(0x313)])),_0x56aaa6(0x4,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x1dc)])),_0x56aaa6(0x5,_0x36260d[_0x45d80e(0x3ee)])],_0x13cb47);var _0x2508e2=Object[_0x45d80e(0x444)],_0x52b8f3=Object['getOwnPropertyDescriptor'],_0x42fef3=(_0x43c2b4,_0x363eff,_0x35b601)=>_0x363eff in _0x43c2b4?_0x2508e2(_0x43c2b4,_0x363eff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35b601}):_0x43c2b4[_0x363eff]=_0x35b601,_0x191ba7=(_0x2000f6,_0x354e3,_0xc9f62f,_0x3bf18d)=>{for(var _0x2a9eb5=_0x3bf18d>0x1?void 0x0:_0x3bf18d?_0x52b8f3(_0x354e3,_0xc9f62f):_0x354e3,_0x3d0982=_0x2000f6['length']-0x1,_0x291403;_0x3d0982>=0x0;_0x3d0982--)(_0x291403=_0x2000f6[_0x3d0982])&&(_0x2a9eb5=_0x291403(_0x2a9eb5)||_0x2a9eb5);return _0x2a9eb5;},_0x4c58f9=(_0x516857,_0x3cb37f)=>(_0x4d7b1e,_0x24dd7e)=>_0x3cb37f(_0x4d7b1e,_0x24dd7e,_0x516857),_0xa2f344=(_0x1b22fc,_0x1c0fbd,_0x24d7d5)=>_0x42fef3(_0x1b22fc,typeof _0x1c0fbd!='symbol'?_0x1c0fbd+'':_0x1c0fbd,_0x24d7d5);_0x590b76[_0x45d80e(0x44a)]=class extends _0x5c6728[_0x45d80e(0x423)]{constructor(_0x52bcb5=_0x18d9fc,_0x52c916,_0x391224,_0x21de57,_0x57c269){const _0x2e17ee=_0x45d80e;super(),this[_0x2e17ee(0x1d1)]=_0x52bcb5,this[_0x2e17ee(0x1b5)]=_0x52c916,this['_commandService']=_0x391224,this[_0x2e17ee(0x3c7)]=_0x21de57,this[_0x2e17ee(0x327)]=_0x57c269;const {..._0x370301}=_0x5c6728['merge']({},_0x18d9fc,this['_config']);this[_0x2e17ee(0x3c7)][_0x2e17ee(0x21b)](_0x10997a,_0x370301),this[_0x2e17ee(0x221)](),this[_0x2e17ee(0x23b)]();}[_0x45d80e(0x23b)](){const _0x45d112=_0x45d80e;var _0x48308b;const _0x1e6151=(_0x48308b=this[_0x45d112(0x1d1)])==null?void 0x0:_0x48308b[_0x45d112(0x3ed)];this[_0x45d112(0x3c7)][_0x45d112(0x21b)](_0x2fa52c,_0x1e6151===!0x0);}['onStarting'](){const _0x25ce8f=_0x45d80e;var _0x27e597;let _0x5ee603=[];const _0xe9f02e=(_0x27e597=this[_0x25ce8f(0x1d1)])==null?void 0x0:_0x27e597['notExecuteFormula'];_0xe9f02e===!0x0?_0x5ee603=[[_0x590b76[_0x25ce8f(0x41b)]],[_0x590b76[_0x25ce8f(0x2b6)]],[_0x13cb47],[_0x590b76[_0x25ce8f(0x49b)]],[_0x590b76['SheetsPivotTableConfigModel']],[_0xf93973],[_0xe3d64c],[_0x2e0e5d],[_0x680c9b]]:_0xe9f02e===!0x1?_0x5ee603=[[_0x590b76[_0x25ce8f(0x3c1)]],[_0x3fbeaf]]:_0xe9f02e===void 0x0&&(_0x5ee603=[[_0x590b76[_0x25ce8f(0x3c1)]],[_0x3fbeaf],[_0x590b76['SheetsPivotTableService']],[_0x590b76[_0x25ce8f(0x2b6)]],[_0x13cb47],[_0x590b76[_0x25ce8f(0x49b)]],[_0x590b76[_0x25ce8f(0x313)]],[_0xf93973],[_0xe3d64c],[_0x2e0e5d],[_0x680c9b]]),_0x5ee603[_0x25ce8f(0x1d9)](_0xe632f4=>this[_0x25ce8f(0x1b5)][_0x25ce8f(0x256)](_0xe632f4)),[_0x3fbeaf,_0x13cb47,_0x590b76[_0x25ce8f(0x41b)],_0xe3d64c,_0xf93973,_0x2e0e5d,_0x680c9b]['forEach'](_0x2708cf=>{const _0x327031=_0x25ce8f;this[_0x327031(0x1b5)][_0x327031(0x4af)](_0x2708cf)&&this[_0x327031(0x1b5)][_0x327031(0x3bb)](_0x2708cf);});}[_0x45d80e(0x221)](){const _0x583eaa=_0x45d80e;[_0x5763e3,_0x283684,_0x39da5b,_0x2c5588,_0x3fa3df,_0x3cb8bd,_0x4be152,_0x2d10bb,_0x334421,_0x1bccdc,_0x283ba3,_0x1df321,_0x51d86e,_0x43e8e2,_0x3f5b80,_0x46d470,_0x190182,_0x494f38,_0x3cac90,_0xe54f70,_0x49e54f,_0x52e383,_0x4d2ccc,_0x449695,_0x4225a1,_0x3a2a26,_0x49af41,_0x54487c,_0x506111,_0x10e31e,_0x4fe61d,_0x8a9793,_0x2669e4,_0x2031ca,_0x54c4b5,_0x281f4b,_0x279edb,_0x231cfb,_0x4c0bcd,_0x366995,_0x597456,_0x2b004b,_0x1b0bc9][_0x583eaa(0x1d9)](_0x2aa5c7=>{const _0x2fc471=_0x583eaa;var _0x187740;(_0x187740=this['_dataSyncPrimaryController'])==null||_0x187740[_0x2fc471(0x1ad)](_0x2aa5c7),this[_0x2fc471(0x218)][_0x2fc471(0x325)](_0x2aa5c7);});}},_0xa2f344(_0x590b76['UniverSheetsPivotTablePlugin'],_0x45d80e(0x47e),_0x1bf6a3),_0xa2f344(_0x590b76[_0x45d80e(0x44a)],_0x45d80e(0x463),_0x5c6728[_0x45d80e(0x420)][_0x45d80e(0x3f6)]),_0x590b76['UniverSheetsPivotTablePlugin']=_0x191ba7([_0x5c6728['DependentOn'](_0x10eb30['UniverLicensePlugin']),_0x4c58f9(0x1,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x4a7)])),_0x4c58f9(0x2,_0x5c6728[_0x45d80e(0x4b1)](_0x5c6728[_0x45d80e(0x211)])),_0x4c58f9(0x3,_0x5c6728[_0x45d80e(0x44f)]),_0x4c58f9(0x4,_0x5c6728[_0x45d80e(0x395)](_0x5a9ee6[_0x45d80e(0x1c5)]))],_0x590b76[_0x45d80e(0x44a)]),_0x590b76[_0x45d80e(0x1b2)]=_0x39da5b,_0x590b76[_0x45d80e(0x30e)]=_0x494f38,_0x590b76['AddPivotTableCommand']=_0x283684,_0x590b76[_0x45d80e(0x1cc)]=_0x3f5b80,_0x590b76[_0x45d80e(0x1c3)]=_0x5763e3,_0x590b76[_0x45d80e(0x355)]=_0x1414fc,_0x590b76[_0x45d80e(0x3c3)]=_0x1defd2,_0x590b76[_0x45d80e(0x1d5)]=_0x2c5588,_0x590b76['MovePivotTableCommand']=_0x51d86e,_0x590b76['PivotDisplayDataType']=_0x5b28b3,_0x590b76[_0x45d80e(0x30d)]=_0x43e8e2,_0x590b76[_0x45d80e(0x2e8)]=_0xee3020,_0x590b76[_0x45d80e(0x3d0)]=_0x231cfb,_0x590b76['PositionType']=_0x425ca6,_0x590b76['RemovePivotFieldCommand']=_0x3fa3df,_0x590b76[_0x45d80e(0x213)]=_0x52e383,_0x590b76['RemovePivotTableMutation']=_0x190182,_0x590b76[_0x45d80e(0x360)]=_0x4d2ccc,_0x590b76[_0x45d80e(0x473)]=_0x1b0bc9,_0x590b76[_0x45d80e(0x3d9)]=_0x10997a,_0x590b76['SHEET_PIVOT_TABLE_PLUGIN']=_0x1bf6a3,_0x590b76[_0x45d80e(0x34f)]=_0x2d10bb,_0x590b76[_0x45d80e(0x2c4)]=_0x449695,_0x590b76['SetPivotFieldFormatMutation']=_0x2031ca,_0x590b76[_0x45d80e(0x29c)]=_0x2b004b,_0x590b76[_0x45d80e(0x36c)]=_0x1bccdc,_0x590b76[_0x45d80e(0x36b)]=_0x49e54f,_0x590b76[_0x45d80e(0x342)]=_0x3a2a26,_0x590b76[_0x45d80e(0x400)]=_0x49af41,_0x590b76[_0x45d80e(0x39e)]=_0x334421,_0x590b76['SetPivotSortMutation']=_0x4225a1,_0x590b76[_0x45d80e(0x202)]=_0x2669e4,_0x590b76[_0x45d80e(0x1e4)]=_0x366995,_0x590b76[_0x45d80e(0x25e)]=_0x597456,_0x590b76[_0x45d80e(0x340)]=_0x4be152,_0x590b76['UpdateFieldPositionMutation']=_0x4fe61d,_0x590b76['UpdatePivotFieldSettingCommand']=_0x283ba3,_0x590b76[_0x45d80e(0x2bc)]=_0x279edb,_0x590b76[_0x45d80e(0x47f)]=_0x1df321,_0x590b76[_0x45d80e(0x287)]=_0x281f4b,_0x590b76[_0x45d80e(0x48d)]=_0x3cb8bd,_0x590b76['UpdateValuePositionMutation']=_0x8a9793,_0x590b76['applyChangeSet']=_0x58ce14,_0x590b76['canUsePivot']=_0xa28249,_0x590b76[_0x45d80e(0x422)]=_0x570805,_0x590b76['generateSetRangeValueMutations']=_0x3866c8,_0x590b76[_0x45d80e(0x4a0)]=_0x4a28b0,_0x590b76[_0x45d80e(0x3a8)]=_0x5ea6b0,_0x590b76['getFieldListByArea']=_0xb44aad,_0x590b76[_0x45d80e(0x3e3)]=_0x210c45,_0x590b76[_0x45d80e(0x2c2)]=_0x25cb58,_0x590b76['getPivotInfoByLicense']=_0x1cc9f1,_0x590b76[_0x45d80e(0x479)]=_0x2e7cbe,_0x590b76['transFromCellValue']=_0x1634bf,_0x590b76['unionPivotViewRange']=_0x150053,Object[_0x45d80e(0x444)](_0x590b76,Symbol['toStringTag'],{'value':'Module'});}));function _0x4f25(_0x371558,_0x2e70b0){_0x371558=_0x371558-0x1ab;const _0x2e2d22=_0x2e2d();let _0x4f251a=_0x2e2d22[_0x371558];return _0x4f251a;}function _0x2e2d(){const _0x51d234=['excelDateToUnixMilliseconds','ResetPivotTable','@univerjs/sheets','collectionChange$','info','Count\x20of\x20','keys','setSortInfo','Grand\x20Total','pivotTableId','NORMAL','addDirtyPivotTable','sheets-pivot.cellDateGroupDisplay.hourMinute','ErrorType','SheetsPivotTableService','rangeType','addExclusiveRange','handleAsyncResponse','getFieldFormat','UniverInstanceType','@univerjs/core','defaultThemeStyle','Plugin','_globalComputingSrv','PivotTable','_updateModelCache','getCellRaw','getPivotTableRangeInfo','asObservable','FORCE_STRING','_ensurePivotItemRenderInfoCache','updatePivotTableRangeInfo','prefix','PivotView','params','_subjectViewChange','foreach','Month','colStyle','column','isBaseGroupField','fetchThroughAsyncInterceptors','other','max','getSheetBySheetName','New','getNoUsedDataFieldIds','_univerInstanceService','sheet.command.set-pivot-collapse','varp','sheets-pivot.varpName','isDateGroupFieldJSON','setPivotInitCompleted','map','format','defineProperty','resetArea','sheet.mutation.rename-pivot-field','getFieldInfo','CELL_CONTENT','_featureCalculationManagerService','UniverSheetsPivotTablePlugin','_queryingMap','_generateUniqueVersion','setPivotTable','MAX_SAFE_INTEGER','IConfigService','_updatePivotTableInstanceCache','@univerjs/sheets-filter','_subjectCollectionChange','Rectangle','undos','sum','handleMoveRange','onQueryEnd','_activeDirtyManagerService','_pivotTableRangeInfo','unshift','createCollectionWithDataRange','ObjectMatrix','_subjectFieldsCollectionChange','isPrefixValue','_sheetInterceptorService','registerDirtyService','RemovePivotField','UniverProLicense','type','AddPivotTableWithConfig','sheetName','addPivotTableWithConfig','interceptCommand','collection','sheets-pivot.cellDateGroupDisplay.quarter','getDataFieldItemInfo','COLUMN','rxjs','unitId','some','subTotalStyle','cornerInfo','unshiftString','displayName','ResetPivotFieldsConfigCommand','_ensureViewDataMap','getFormatInfo','getTableFieldById','refreshGroupField','NO_COMMERCIAL','getPivotTableInfo','pivotPerformCheck','UniverProEnginePivot','replace','dataRangeInfo','pluginName','UpdatePivotTableSourceRangeCommand','generateHexNumber','asyncInterceptor','sheet.mutation.set-pivot-format','getInterceptPoints','getSheets','SetValueFilter','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.minName','realDeleteValue','areaInfo','rowHeaderMap','limit\x20pivot','GrandTotal','UpdatePivotValuePositionCommand','SetSheetsFilterRangeMutation','addRecord','_initLocale','fieldsConfig','ClearSelectionAllCommand','_updateRenderEmptyCache','getSubtotal','pivotConfigChange$','updateValuePosition','blank','getformat','getConfig','_textInfo','SheetsPivotTableAdaptorModel','PivotMultipleValueId','dataFieldManagerConfig','getRangeStartEndInfo','numberToABC','getAdjustRangesPosition','getOriginFieldId','movePivotField','StdDevp\x20of\x20','sheet.command.move-pivot-table','RemoveSheetsFilterMutation','sheets-pivot.sumName','Injector','getPivotTableConfig','isErrorValue','16KvkKtL','/*\x20sqM3Ov-V3qmlMs\x205YsusY-vsc5Mmvs\x20*/u1Ojv3NO\x20VsjY25v3NO(M3jsOqs,\x2051lM3jas2)\x20{\x20\x20\x20\x20vY2\x20{\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20M3jsOqs4OuNtmYvLYYm2\x20=\x20M3jsOqs.q5M3v(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20NY383OJsqqm8s\x20=\x20yWCi.5mYqs(mvNl(M3jsOqs4OuNtmYvLYYm2[w]));\x20\x20\x20\x20\x20\x20\x20\x203u\x20(!NY383OJsqqm8s.1V)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NY383OJsqqm8s.1V\x20=\x20i1clsY(M3jsOqs4OuNtmYvLYYm2[9]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x203qeNYFsY\x20=\x20v25sNu\x20eNYFsYfMNlmMWjN5s\x20!==\x20\x271OVsu3OsV\x27\x20&&\x20qsMu\x203OqvmOjsNu\x20eNYFsYfMNlmMWjN5s;\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x203qIYN7qsY\x20=\x20v25sNu\x2073OVN7\x20!==\x20\x271OVsu3OsV\x27\x20&&\x20v25sNu\x2073OVN7.MNjmv3NO\x20!==\x20\x271OVsu3OsV\x27;\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20jNOvsQv\x20=\x203qeNYFsY\x20?\x20qsMu\x20:\x20(3qIYN7qsY\x20?\x2073OVN7\x20:\x208MNlmMXS3q);\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20csqqm8seNYV\x20=\x20jNOvsQv.__ImqsA9__.5mYqs(M3jsOqs4OuNtmYvLYYm2[w]);\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20csqqm8s\x20=\x20jNOvsQv.__KsQ__.qvY3O83u2(csqqm8seNYV);\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20q38Omv1YseNYV\x20=\x20jNOvsQv.__ImqsA9__.5mYqs(M3jsOqs4OuNtmYvLYYm2[D]);\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20q38Omv1Ys\x20=\x20jNOvsQv.__KsQ__.qvY3O83u2(q38Omv1YseNYV);\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20q38ORmM3V\x20=\x20jNOvsQv.__dsY3u2__(q38Omv1Ys,\x20csqqm8s,\x2051lM3jas2);\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20VNcm3O\x20=\x20NY383OJsqqm8s.Vc;\x20\x20\x20\x20\x20\x20\x20\x20u1Ojv3NO\x203qkNcm3OJmvjS3O8(5mvvsYO,\x20SNqv)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203u\x20(5mvvsYO\x20===\x20SNqv)\x20Ysv1YO\x20vY1s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203u\x20(5mvvsYO.qvmYvqe3vS(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20q1uu3Q\x20=\x205mvvsYO.qM3js(w);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203u\x20(q1uu3Q\x20&&\x20q1uu3Q\x20===\x20SNqv)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ysv1YO\x20vY1s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203u\x20(q1uu3Q\x20&&\x20!SNqv.qvmYvqe3vS(\x27.\x27)\x20&&\x20SNqv.sOVqe3vS(\x27.\x27\x20+\x20q1uu3Q))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ysv1YO\x20vY1s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ysv1YO\x20umMqs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Msv\x20VNcm3ORmM3V\x20=\x20umMqs;\x20\x20\x20\x20\x20\x20\x20\x203u\x20(3qIYN7qsY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VNcm3ORmM3V\x20=\x20(VNcm3O\x20&&\x20VNcm3O.MsO8vS)\x20?\x20VNcm3O.qNcs((Vc4vsc)\x20=>\x203qkNcm3OJmvjS3O8(Vc4vsc,\x20MNjmv3NO.SNqvOmcs))\x20:\x20vY1s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203u\x20(MNjmv3NO.SNqvOmcs\x20===\x20\x27MNjmMSNqv\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VNcm3ORmM3V\x20=\x20vY1s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20sMqs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VNcm3ORmM3V\x20=\x20vY1s;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jNOqv\x20dmM3V\x20=\x20q38ORmM3V\x20&&\x20VNcm3ORmM3V;\x20\x20\x20\x20\x20\x20\x20\x20Ysv1YO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dmM3V,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20csqqm8s:\x20NY383OJsqqm8s,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20jmvjS\x20(sYYNY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Ysv1YO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dmM3V:\x20umMqs,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20csqqm8s:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','setLabelFilterInfo','isArray','getTypeOfUnitDisposed$','has','None','Inject','single','SHEET_PIVOT_TABLE_PLUGIN','InsertRowMutation','addDataFieldWithoutUnitInfo','startRow','markDirty$','setRangeValueUndoMutation','stdDevp','includes','resetPivotTable','interceptor','intersects','textInfo','Subtotal','clearRenderCache','setDataRecordCount','rangeCache','valuePosition','_initPivotTextInfo','bind','getUnitId','setName','length','registerSyncingMutations','PivotErrorTypeEnum','UniverProSheetsPivot','LocaleService','sheet.command.pivot-drill-down','AddPivotFieldCommand','values','getPivotTableCellData','_injector','getDataFieldId','SetPivotFilter','NUM','_pivotTableInstanceCache','NUMBER','onCommandExecuted','find','valueIndex','1500Bxuwpx','CustomCommandExecutionError','getLastRow','Add','level','AddPivotTableWithConfigCommand','sheets-pivot.emptyPivot.values','DataSyncPrimaryController','getCollection','valueFilter','getCellMatrix','rgb(240,241,243)','_fieldsCollectionChange$','Year','AddPivotTableMutation','setFieldFormat','min','subUnitId','#f4f4f5','_config','sheets-pivot.dateGroup.yearQuarter','Set','sequenceExecute','MovePivotFieldCommand','isValue','tableFieldId','sheets-pivot.averageName','forEach','_viewData$','REF','IUniverInstanceService','UpdateValuePosition','countNums','_resourceManagerService','sheets-pivot.subTotal','getMatrixFromRunTimeData','dispose','iterateFieldByArea','SetPivotValueFilterCommand','fromJSON','generateNewSheetName','_viewData','pivotTableConfigs','removePivotTable','dataStyle','sheet.mutation.pivot-update-field-position','_init','createLabelField','symbol','setPivotFilter','_getPivotAppliedRanges','error','substring','colHeaderMap','getGroupFieldsInfoByIds','sheets-pivot.other','_pivotConfigChange$','IUndoRedoService','removeField','sheet.command.add-pivot-field','sortInfo','SetPivotSetting','Sum\x20of\x20','Delete','_toJSON','function','from','sheets-pivot.blank','SetPivotSubtotalTypeMutation','updatePivotTableMatrixInfo','mergeWorksheetSnapshotWithDefault','originalFieldId','paths','getPivotTableMatrixInfo','SetWorksheetColWidthMutation','updateViewData','refreshData','range','setCollapse','needSameDeleteModel','fontRenderExtension','1572459JtCOMR','InterceptorManager','ICommandService','setRangeValueRedoMutation','RemovePivotFieldMutation','Filter','queryDirtyPivotTable','splice','getCurrentUnitForType','_commandService','dateType','_globalComputedStartHelpFunc','setConfig','sheet.mutation.set-pivot-sort-info','_sheetsSelectionsService','getViewData','dataStream','adjustSheetCellData','_initRegisterCommand','setRangeKeyMap','Style','SheetsSelectionsService','sheet.mutation.update-pivot-table-source-range','sheets-pivot.cellDateGroupDisplay.minute','YearMonth','getActiveSheet','dataFields','9586159KERArA','fieldsCollectionChange$','#eceeff','YearQuarter','IFeatureCalculationManagerService','setSourceName','Value','addPivotField','_onRefRangeChange','updatePivotSource','_initSnapshot','drillDown','sheets-pivot.dateGroup.monthDate','_collectionConfigModel','toJSON','measure','rangeKeyMap','_initConfig','ΣValue','formJSON','sheet.command.reset-pivot-fields-config','setDisplayName','Div0','setTextInfo','dimension','updateRenderCache','getValuePosition','setValuePivotFilter','getId','fetchThroughInterceptors','getFieldPositionInfoById','iterateField','_ensurePivotTableMatrixInfo','dateGroupField','setDateType','SetSubtotalType','getDataFieldManager','Row','SetPivotTableConfig','query','_exclusiveRangeService','deleteUnitId','rowCount','@univerjs-pro/license','add','colInfo','prototype','removePivotField','ClearSelectionContentCommand','charCodeAt','registerPluginResource','getMonth','SetPivotValueFilterMutation','next','#e6ebfa','pivotInitCompleted$','_sheetsPivotTableAdaptorModel','_pivotRenderInfoCache','setSubtotalType','PivotCellStyleTypeEnum','Average\x20of\x20','push','ManualFilter','Hour','broadcastCollectionChange','headerMap','versions','delete','sheets-pivot.dateGroup.yearMonthDate','updateFieldSourceInfo','_refRangeHandle','intercept','Disposable','sheet.operation.pivot-table-view-formula-mark-dirty','sheets-pivot.emptyPivot.row','rangesInfo','sheet.command.remove-pivot-field','PivotTableFiledAreaEnum','RANGE_TYPE','refreshDataField','sheets-pivot.maxName','@univerjs/engine-render','InsertSheetCommand','INTERCEPTOR_POINT','getFieldCountByArea','triggerDirtyFeature','updateRangeKeyMap','pushUndoRedo','getSourceName','sheets-pivot.cellDateGroupDisplay.yearMonth','cellValue','_collectionChange$','PivotViewCellValueTypeEnum','UpdatePivotTableSourceRangeMutation','getFullYear','getLastCol','oldMatrix','setPivotSort','sheet.command.add-pivot-table','size','Total','lastRow','getMatrix','startCollectChangeset','count','isBottomTotal','_pivotInitCompleted$','sheets-pivot.grandTotal','filterFields','random','NAME','sheets-pivot.cellDateGroupDisplay.yearQuarter','onQueryStart','sheets-pivot.config','SetPivotFieldsConfigCommand','Date','iterateFieldDim','_getAutoName','renameField','GlobalConfig','MovePivotField','FontCache','getHeaderMapItem','PivotDateGroupFieldDateTypeEnum','getRowCount','DataField','getSheetId','matrix','sheets-pivot.dateGroup.hour','sheets.tabs.sheet','DataFieldManager','getName','result','custom','@univerjs/rpc','getSubUnitPivotRenderCache','AsyncInterceptorManager','dataFieldsCollection','_host','sheet.command.set-pivot-field-setting','SheetsPivotRPCService','string','PivotTableValuePositionEnum','removeValueFilterInfo','getMatrixValue','grandTotal','UpdatePivotFieldSourceInfoMutation','createDataFieldId','sheet.mutation.add-group-collection','_model','getStyles','getOwnPropertyDescriptor','getPivotCellInfo','object','SetPivotCollapseMutation','_dataFieldManagerCollection','handleSourceRangeChange','_sheetsPivotTableConfigModel','generateRandomId','RemoveField','subscribe','viewUpdate$','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','setPivotTableConfig','rangeKey','subtotal','getAutoFitColumnsMutations','155014rsVKQg','MoveRangeMutation','addCollectionByJSON','_initGlobalComputed','SetPivotSort','document','call','workbook\x20is\x20not\x20found','RemoveSheetCommand','SetCollapse','sheet.mutation.pivot-update-value-position','dataFieldId','SheetInterceptorService','collectionConfig','8ojdPfO','getPivotItemRenderInfoCache','Tools','getUpdateRangeDeleteIds','sheets-pivot.countNumsName','_deletePivotTableInstanceCache','UpdatePivotSource','col','updateDirtyPivotTable','PivotTableOperationEnum','NotName','message','_markDirty$','_createExclusiveRange','date','CellValueType','tuple','generateNullCell','var','DateGroupField','Quarter','9090eteZUi','_initCommandInterceptListener','pageRanges','deepClone','Column','getSheetCommandTarget','sheet.command.update-pivot-value-position','configVersion$','_globalSubject','COMMAND','BadReference','10IdVkJG','_initPivotDataGetListener','sheet.mutation.set-pivot-filter','187641yDhllB','colRanges','SetRangeValuesUndoMutationFactory','sheets-pivot.value','getTargetByPivotId','endRow','updateViewInfo','targetCellInfo','endColumn','_deleteModelCache','update','PivotDrillDownCommand','AddPivotFieldMutation','UniverSheets','updateConfig','getSubUnitPivotMatrix','Range','SheetsPivotTableConfigModel','valid','updateConfigCache','STRING','7836542tlmYqy','_sheetsPivotRpcService','removeCollectionImp','MonthDate','addCollection','getTextSize','viewData$','clear','_sheetsPivotDataSourceModel','AddPivotTable','fieldIds','rgb(255,255,255)','sheet.mutation.send-pivot-data-local','PivotSubtotalTypeEnum','registerCommand','executeCommand','_dataSyncPrimaryController','PivotCallbackEnum','sheets-pivot.cellDateGroupDisplay.date','isNaN','addFieldWithSourceId','leftOffset','redos','updateCollectionConfig','IExclusiveRangeService','(Blank)','SetValuePivotFilter','clearExclusiveRangesByGroupId','entries','getIndexesByPathStr','uniqueDataFieldName','PivotTableChangeTypeEnum','stringify','isEmpty','_localeService','getPivotPerformCheck','setValueFilterInfo','CommandType','NotFunction','setValue','sheets-pivot.stdDevName','UpdateDateGroupCommand','sheet.command.add-pivot-table-with-config','SetPivotOptionMutation','numfmt','remove','RemoveSheetMutation','updateFieldPosition','InsertSheetUndoMutationFactory','floor','Minute','pivotMutationGenerate','valueFields','updateDataFieldsCollection','reset','sheets-pivot.dateGroup.hourMinute','SetPivotCollapseCommand','getTextInfo','getFontStyleString','sheets-pivot.productName','PivotFilterTypeEnum','addPivotTable','BLANK_ROW_COUNT','batch','sheets-pivot.dateGroup.quarter','lastCol','UniverEngineRender','removeCollections','getSortInfo','removeDataField','rowRanges','SetFilterInfo','setPivotCollapse','RenamePivotFieldMutation','sheet.mutation.set-pivot-option','average','options','updateAllDisplayName','IResourceManagerService','_globalComputedEndHelpFunc','parseInt','_configVersion$','InsertSheetMutation','DEFAULT_WORKSHEET_COLUMN_COUNT','SetPivotFilterMutation','SetPivotFilterCommand','MIN_SAFE_INTEGER','sideEffectUpdateWorkerCache','sheet.mutation.add-pivot-field','isDate','isFeatureAuthorizedWithinTime','updateView','RemoveRowMutation','MUTATION','minDate','sheets-pivot.dateGroup.date','setDirty','sheet.mutation.remove-group-collection','Subject','getPivotDisplayConfig','forValue','removeSourceRangeChange','Collapse','colCount','name','getSheetBySheetId','startColumn','sheets-pivot.cellDateGroupDisplay.yearMonthDate','3829984lswwpq','getRangeKeyList','endCollectChangeset','getAutoDisplayName','pivotTableIndexConfig','Panel','sheets-pivot.cellDateGroupDisplay.year','getSubUnitPivotConfigs','sheets-pivot.dateGroup.yearMonth','getUnit','getAutoDisplayNameFunction','getFieldDataType','sourceRangeInfo','forRow','filterInfo','addField','PIVOT_MUTATION_GENERATE','getValue','Optional','@univerjs/engine-formula','collections','InsertColMutation','SetOptions','contains','UniverCore','getPivotTableModelConfig','HourMinute','SetPivotSortCommand','getFilterInfo','concat','sheet.mutation.set-pivot-position','return\x20','filter','register','getFieldById','createValueField','getValueIndex','getEmptyPivotRanges','width','setRange','getDataFieldByRangeKey','existing','AddPivotField','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sourceName','getColCount','sheet.mutation.get-pivot-data-local','disposableCollection','UpdateFieldPosition','LifecycleService','PivotDataFieldDataTypeEnum','Max\x20of\x20','getTargetByPivotTableId','DisposableCollection','removeValueFilterInfoByValueFieldId','_pivotTableMatrixInfo','get','getDataFieldByDataFieldId','_requestResolvers','YearMonthDate','DrillDown','SetWorksheetActiveOperation','SheetsPivotDataSourceModel','sheet.command.set-pivot-fields-config','DEFAULT_PIVOT_NUMBER','isDateValue','collapseInfo','amd','_configService','originTargetInfo','_sheetsPivotTableService','_initUnitDisposed','getRangeKey','parse','sheet.command.set-pivot-filter','sheet.mutation.remove-pivot-field','SetPivotCollapse','PivotTableViewDirtyMarkOperation','_initClearSelectionCommandInterceptor','getColumnCount','SetFieldFormat','getFieldIds','data','number','SetRangeValuesMutation','setPivotSetting','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','row','getPivotTableIdByCell','fieldId','BLANK_PLACEHOLDER','_viewUpdate$','fields','SetSortInfo','LS_CONFIG_KEY','_ensurePivotMap','getInsertRowColMutations','getDirtyInfo','_pivotRenderValueMatrixCache','Varp\x20of\x20','cornerStyle','rowFields','sheets-pivot.emptyPivot.filter','pbt','_initDataSendListener','getDataFieldByTableId','notExecuteFormula','IActiveDirtyManagerService','getIntersects','deleteDataField','getDate','getDisplayName','oldRangeInfo','set','value','UNIVER_SHEET','getPivotTableInstance','DEFAULT_WORKSHEET_ROW_COUNT','sheets-pivot.varName','hasField','#b2b2b2','generateMutationsByRanges','cellToRange','setOptions','columnFields','SetPivotPositionMutation','disposeWithMe','InterceptorEffectEnum','complete','_initViewModelBySheetInterceptor','sheet.mutation.pivot-update-field-source-info','AddField','getFilterFieldIdByIndex','RenameField','deleteField','sheets-pivot.dateGroup.year','panel','getDataFieldBySourceName'];_0x2e2d=function(){return _0x51d234;};return _0x2e2d();}
1
+ function _0x223d(_0x50087c,_0x597489){_0x50087c=_0x50087c-0x1be;const _0x2c0af6=_0x2c0a();let _0x223db7=_0x2c0af6[_0x50087c];return _0x223db7;}(function(_0xa78b,_0x4dc59b){const _0x1a9122=_0x223d,_0x2850fc=_0xa78b();while(!![]){try{const _0x29c868=parseInt(_0x1a9122(0x373))/0x1+-parseInt(_0x1a9122(0x346))/0x2+parseInt(_0x1a9122(0x47a))/0x3*(parseInt(_0x1a9122(0x46c))/0x4)+-parseInt(_0x1a9122(0x2ad))/0x5+-parseInt(_0x1a9122(0x496))/0x6+parseInt(_0x1a9122(0x36b))/0x7*(-parseInt(_0x1a9122(0x3a4))/0x8)+parseInt(_0x1a9122(0x1d1))/0x9;if(_0x29c868===_0x4dc59b)break;else _0x2850fc['push'](_0x2850fc['shift']());}catch(_0x13c1da){_0x2850fc['push'](_0x2850fc['shift']());}}}(_0x2c0a,0x95154),function(_0x18074e,_0x1798e4){const _0x53b180=_0x223d;typeof exports==_0x53b180(0x414)&&typeof module<'u'?_0x1798e4(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==_0x53b180(0x271)&&define[_0x53b180(0x4ae)]?define([_0x53b180(0x33e),_0x53b180(0x476),'@univerjs/core',_0x53b180(0x419),_0x53b180(0x2f2),_0x53b180(0x297),_0x53b180(0x372),_0x53b180(0x24f),_0x53b180(0x257),_0x53b180(0x2dd)],_0x1798e4):(_0x18074e=typeof globalThis<'u'?globalThis:_0x18074e||self,_0x1798e4(_0x18074e[_0x53b180(0x3e8)]={},_0x18074e[_0x53b180(0x1d4)],_0x18074e[_0x53b180(0x408)],_0x18074e[_0x53b180(0x2e8)],_0x18074e[_0x53b180(0x1bf)],_0x18074e['rxjs'],_0x18074e[_0x53b180(0x3d9)],_0x18074e[_0x53b180(0x1ea)],_0x18074e[_0x53b180(0x422)],_0x18074e[_0x53b180(0x35e)]));}(this,function(_0x39b78f,_0x469b30,_0x434acf,_0x347eab,_0x24346e,_0x8b6274,_0x28d1ac,_0x2c7393,_0x9169ae,_0x598413){'use strict';const _0x582ad3=_0x223d;var _0x170cd4=Object['defineProperty'],_0x340cca=(_0x12f262,_0x4d634d,_0x34f90c)=>_0x4d634d in _0x12f262?_0x170cd4(_0x12f262,_0x4d634d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34f90c}):_0x12f262[_0x4d634d]=_0x34f90c,_0x25f656=(_0x56092b,_0x11f81a,_0x481bf3)=>_0x340cca(_0x56092b,typeof _0x11f81a!=_0x582ad3(0x38c)?_0x11f81a+'':_0x11f81a,_0x481bf3);const _0x27ec60=Number[_0x582ad3(0x2f9)](0x697da48f),_0x3f9926=0x10,_0x50bdbf=0x1,_0x552bab=_0x582ad3(0x322),_0x2445e6=0x1,_0x90ff1c=_0x582ad3(0x2ee),_0x5b6826='rgb(255,255,255)',_0x158146=_0x582ad3(0x2f4),_0x14343a=_0x582ad3(0x29e),_0x3b9b38=_0x582ad3(0x29e),_0x78e3df='#eceeff',_0x42cccd=_0x582ad3(0x458),_0x531a2f='#FFFFFF',_0x346bf4=_0x582ad3(0x436),_0x55b6dd=_0x582ad3(0x458),_0x35d86c=_0x582ad3(0x219),_0x5a6dbc='#e6ebfb',_0x23dd38=0xe,_0x5f53eb=0x6;var _0x2099c6=(_0x2e82db=>(_0x2e82db['Existing']=_0x582ad3(0x201),_0x2e82db[_0x582ad3(0x369)]=_0x582ad3(0x272),_0x2e82db))(_0x2099c6||{});const _0xf93cb4={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x4dacd5=0x1e,_0x24872a={'b':{'s':0x1,'cl':{'rgb':_0x158146}},'l':{'s':0x1,'cl':{'rgb':_0x158146}},'r':{'s':0x1,'cl':{'rgb':_0x158146}},'t':{'s':0x1,'cl':{'rgb':_0x158146}}},_0x44d87a={'bg':{'rgb':_0x90ff1c},'ht':0x2,'vt':0x2,'tb':0x1},_0x1d96b8={'bg':{'rgb':_0x5b6826},'ht':0x2,'vt':0x2,'tb':0x1},_0x2fe106={'rowStyle':{'bg':{'rgb':_0x5a6dbc},'bd':_0x24872a,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x55b6dd},'bd':null,'cl':{'rgb':_0x35d86c},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x24872a,'bg':{'rgb':_0x346bf4},'vt':0x2},'cornerStyle':{'bd':_0x24872a,'bg':{'rgb':_0x78e3df},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x24872a,'bg':{'rgb':_0x14343a},'vt':0x2},'leafStyle':{'bd':_0x24872a,'bg':{'rgb':_0x3b9b38},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x42cccd},'cl':{'rgb':_0x531a2f},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x24872a,'vt':0x2}};function _0x44de8e(_0x190f25,_0x149de3,_0x4c3d61){const _0x284ada=_0x582ad3,_0x1879dc=_0x190f25['get'](_0x434acf[_0x284ada(0x3c7)]),_0xd8a748=_0x4c3d61[_0x284ada(0x34c)]('_');switch(_0x149de3){case _0x469b30[_0x284ada(0x302)][_0x284ada(0x316)]:return _0x1879dc['t']('sheets-pivot.cellDateGroupDisplay.year',..._0xd8a748);case _0x469b30[_0x284ada(0x302)]['Minute']:return _0x1879dc['t'](_0x284ada(0x1eb),..._0xd8a748);case _0x469b30[_0x284ada(0x302)]['Hour']:return _0x1879dc['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0xd8a748);case _0x469b30[_0x284ada(0x302)][_0x284ada(0x4c4)]:return _0x1879dc['t'](_0x284ada(0x334),..._0xd8a748);case _0x469b30['PivotDateGroupFieldDateTypeEnum'][_0x284ada(0x231)]:return _0x1879dc['t']('sheets-pivot.cellDateGroupDisplay.date',..._0xd8a748);case _0x469b30[_0x284ada(0x302)]['Month']:return _0x1879dc['t'](_0x284ada(0x3dd),..._0xd8a748);case _0x469b30[_0x284ada(0x302)]['Quarter']:return _0x1879dc['t'](_0x284ada(0x239),..._0xd8a748);case _0x469b30[_0x284ada(0x302)]['YearMonth']:return _0x1879dc['t'](_0x284ada(0x39e),..._0xd8a748);case _0x469b30['PivotDateGroupFieldDateTypeEnum'][_0x284ada(0x443)]:return _0x1879dc['t'](_0x284ada(0x2e0),..._0xd8a748);case _0x469b30['PivotDateGroupFieldDateTypeEnum'][_0x284ada(0x482)]:return _0x1879dc['t'](_0x284ada(0x2a1),..._0xd8a748);}return'';}const _0x31ff70=(_0xe2651c,_0x57882c,_0x53767c,_0x1e17c2)=>{const _0x2190b2=_0x582ad3;let _0x3d671f;const _0x398d6a=_0xe2651c[_0x2190b2(0x313)](_0x434acf['IUniverInstanceService'])['getCurrentUnitForType'](_0x434acf[_0x2190b2(0x4c7)]['UNIVER_SHEET']);if(!_0x398d6a)return null;const _0x27c869=_0x398d6a[_0x2190b2(0x3b3)]();let _0x39f7dc;if(_0x53767c&&(_0x39f7dc=_0x27c869[_0x2190b2(0x263)](_0x53767c)),_0x57882c!=null&&_0x57882c['v']||(_0x57882c==null?void 0x0:_0x57882c['v'])===0x0){_0x3d671f||(_0x3d671f={});const _0x2c5b6d=_0x4cf3bf(_0x57882c['v']);typeof _0x2c5b6d==_0x2190b2(0x259)?_0x3d671f['t']=_0x434acf[_0x2190b2(0x3f5)]['NUMBER']:typeof _0x2c5b6d==_0x2190b2(0x266)&&(_0x3d671f['t']=_0x434acf[_0x2190b2(0x3f5)][_0x2190b2(0x43b)]),_0x3d671f['v']=_0x2c5b6d;}if((_0x57882c!=null&&_0x57882c['i']||(_0x57882c==null?void 0x0:_0x57882c['i'])===0x0)&&(_0x3d671f||(_0x3d671f={}),_0x3d671f['fi']=_0x57882c['i']),_0x57882c!=null&&_0x57882c['s']&&(_0x3d671f||(_0x3d671f={}),_0x3d671f[_0x2190b2(0x3b5)]=_0x57882c['s']),_0x53767c&&(_0x3d671f||(_0x3d671f={}),_0x3d671f['s']=_0x39f7dc),_0x1e17c2&&_0x3d671f!=null&&_0x3d671f['v']&&_0x3d671f[_0x2190b2(0x3b5)]!==_0x469b30[_0x2190b2(0x1be)]['GrandTotal']&&_0x3d671f['pbt']!==_0x469b30['PivotCellStyleTypeEnum'][_0x2190b2(0x4b3)]){const _0x5397d2=String(_0x3d671f['v']),{dateType:_0x186c6d}=_0x1e17c2;_0x3d671f['v']=_0x44de8e(_0xe2651c,_0x186c6d,_0x5397d2),_0x3d671f['t']=_0x434acf['CellValueType'][_0x2190b2(0x43b)];}return _0x3d671f;},_0x18be2b=(_0x256e3b,_0x5168ba,_0x5f54f9,_0x406fac)=>{const _0x4dd60d=_0x582ad3;var _0x2d744f,_0x4bb419,_0x3dcd20,_0x3a6f4c,_0x13f7f8,_0x393b5b,_0x32f1fe,_0xbe70ce,_0x365d79,_0x33a1e4,_0x11e8a9,_0x3b4007,_0x348d6e,_0x2e2e81;const _0x2cd504=_0x5f54f9[_0x4dd60d(0x481)],{cornerView:_0x250dc8,rowView:_0x269b16,colView:_0x4a7aa1,dataView:_0x391d54,pageView:_0x465607,formatMap:_0x3571f3,groupInfo:_0x1743b0}=_0x5168ba,{row:_0x503a3d,col:_0x5e8682}=_0x2cd504,_0x1d46b2=new _0x434acf[(_0x4dd60d(0x3e3))](),_0x4edbf4={},_0x4c95aa={},_0x1f6695={},_0x3b59cb={},_0x1a3534={};let _0x1a1707=_0x503a3d,_0x205473=_0x5e8682;Object[_0x4dd60d(0x25a)](_0x465607[_0x4dd60d(0x3e0)])[_0x4dd60d(0x363)](_0x52d915=>{const _0x5d25cc=_0x4dd60d;Object[_0x5d25cc(0x25a)](_0x465607[_0x5d25cc(0x3e0)][Number(_0x52d915)])[_0x5d25cc(0x363)](_0x22a9bd=>{const _0x1dd8f3=_0x5d25cc,_0x5fc73={..._0x465607[_0x1dd8f3(0x3e0)][Number(_0x52d915)][Number(_0x22a9bd)]};_0x1d46b2[_0x1dd8f3(0x263)](Number(_0x52d915)+_0x1a1707,Number(_0x22a9bd)+_0x205473,_0x31ff70(_0x256e3b,_0x5fc73,_0x2fe106[_0x1dd8f3(0x43a)]));});});const _0x15409b=Object[_0x4dd60d(0x25a)](_0x465607['data'])[_0x4dd60d(0x29c)];_0x1a1707+=_0x15409b+(_0x15409b?_0x2445e6:0x0);const _0x178e6a=_0x250dc8[_0x4dd60d(0x238)](),_0x3aba6e=_0x250dc8['getColCount']();for(let _0x5e95b8=0x0;_0x5e95b8<_0x178e6a;_0x5e95b8++)for(let _0x1a7eb3=0x0;_0x1a7eb3<_0x3aba6e;_0x1a7eb3++){const _0xfa959b={...(_0x4bb419=(_0x2d744f=_0x250dc8[_0x4dd60d(0x3e0)])==null?void 0x0:_0x2d744f[_0x5e95b8])==null?void 0x0:_0x4bb419[_0x1a7eb3]};_0xfa959b&&(_0x3dcd20=_0x269b16[_0x4dd60d(0x3ef)][_0x1a7eb3])!=null&&_0x3dcd20[_0x4dd60d(0x329)]&&_0x1a7eb3===_0x3aba6e-0x1&&_0x5e95b8===_0x178e6a-0x1&&(_0xfa959b['v']=''+_0x406fac[_0x4dd60d(0x2a7)]),_0x1d46b2['setValue'](_0x5e95b8+_0x1a1707,_0x1a7eb3+_0x205473,_0x31ff70(_0x256e3b,_0xfa959b,_0x2fe106[_0x4dd60d(0x4bb)]));}for(let _0x1af993=0x0;_0x1af993<_0x250dc8[_0x4dd60d(0x2fc)][_0x4dd60d(0x29c)];_0x1af993++)_0x250dc8[_0x4dd60d(0x2fc)][_0x1af993]&&(_0x1f6695[''+(_0x1af993+_0x205473)]=_0x250dc8[_0x4dd60d(0x2fc)][_0x1af993]);_0x205473+=_0x3aba6e;const _0x3007c5=_0x4a7aa1[_0x4dd60d(0x3ef)],_0x28dcd4=_0x4a7aa1[_0x4dd60d(0x4ca)]()>=0x0?_0x4a7aa1[_0x4dd60d(0x4ca)]()+0x1:0x0,_0x357151=_0x4a7aa1[_0x4dd60d(0x1ee)]()>=0x0?_0x4a7aa1[_0x4dd60d(0x1ee)]()+0x1:0x0;for(let _0x21429b=0x0;_0x21429b<_0x357151;_0x21429b++){for(let _0x99f393=0x0;_0x99f393<_0x28dcd4;_0x99f393++){const _0x29e8ac={...(_0x13f7f8=(_0x3a6f4c=_0x4a7aa1[_0x4dd60d(0x3e0)])==null?void 0x0:_0x3a6f4c[_0x99f393])==null?void 0x0:_0x13f7f8[_0x21429b]},_0x35d56d=(_0x393b5b=_0x3007c5[_0x99f393])==null?void 0x0:_0x393b5b[_0x4dd60d(0x348)],_0x5b91d8=_0x3571f3[_0x35d56d],_0x31ab68=_0x1743b0[_0x35d56d];_0x29e8ac&&(_0x29e8ac['v']=_0x2891c2(_0x29e8ac,_0x99f393===0x0&&((_0x32f1fe=_0x4a7aa1[_0x4dd60d(0x34f)](_0x21429b+0x1))==null?void 0x0:_0x32f1fe[_0x4dd60d(0x329)]),_0x5b91d8,_0x406fac));let _0x5e0bf7;_0x5b91d8?_0x5e0bf7={..._0x2fe106[_0x4dd60d(0x4b7)],'n':{'pattern':_0x5b91d8}}:_0x5e0bf7={..._0x2fe106['colStyle']},_0x1d46b2[_0x4dd60d(0x263)](_0x99f393+_0x1a1707,_0x21429b+_0x205473,_0x31ff70(_0x256e3b,_0x29e8ac,_0x5e0bf7,_0x31ab68));}_0x4a7aa1[_0x4dd60d(0x2fc)][_0x21429b]&&(_0x4c95aa[''+(_0x21429b+_0x205473)]=_0x4a7aa1[_0x4dd60d(0x2fc)][_0x21429b]),_0x4a7aa1[_0x4dd60d(0x3ef)][_0x21429b+0x1]&&(_0x1a3534[''+(_0x21429b+_0x1a1707+0x1)]=_0x4a7aa1['headerMap'][_0x21429b+0x1]);}_0x1a1707+=_0x178e6a;const _0x246fbe=_0x269b16[_0x4dd60d(0x3ef)],_0x4a8d44=_0x269b16[_0x4dd60d(0x4ca)]()>=0x0?_0x269b16[_0x4dd60d(0x4ca)]()+0x1:0x0,_0x4d87c8=_0x269b16['getLastCol']()>=0x0?_0x269b16[_0x4dd60d(0x1ee)]()+0x1:0x0;for(let _0x51d3fa=0x0;_0x51d3fa<_0x4a8d44;_0x51d3fa++){for(let _0x472e4e=0x0;_0x472e4e<_0x4d87c8;_0x472e4e++){const _0x8a7cd3={...(_0x365d79=(_0xbe70ce=_0x269b16[_0x4dd60d(0x3e0)])==null?void 0x0:_0xbe70ce[_0x51d3fa])==null?void 0x0:_0x365d79[_0x472e4e]},_0x4f9b90=(_0x33a1e4=_0x246fbe[_0x472e4e])==null?void 0x0:_0x33a1e4['tableFieldId'],_0x5bc1d1=_0x3571f3[_0x4f9b90],_0x13213e=_0x1743b0[_0x4f9b90];_0x8a7cd3&&(_0x8a7cd3['v']=_0x2891c2(_0x8a7cd3,!0x1,_0x5bc1d1,_0x406fac));let _0x183e25;_0x269b16[_0x4dd60d(0x2fc)][_0x51d3fa]['level']===_0x269b16['getColCount']()?_0x183e25=_0x2fe106['leafStyle']:_0x269b16[_0x4dd60d(0x2fc)][_0x51d3fa][_0x4dd60d(0x2e4)]?_0x183e25=_0x269b16[_0x4dd60d(0x2fc)][_0x51d3fa][_0x4dd60d(0x40f)]===0x0?_0x2fe106[_0x4dd60d(0x1c9)]:_0x2fe106[_0x4dd60d(0x485)]:_0x183e25=_0x2fe106['rowStyle'],_0x5bc1d1&&(_0x183e25={..._0x183e25,'n':{'pattern':_0x5bc1d1}}),_0x1d46b2[_0x4dd60d(0x263)](_0x51d3fa+_0x1a1707,_0x472e4e+_0x5e8682,_0x31ff70(_0x256e3b,_0x8a7cd3,_0x183e25,_0x13213e));}_0x269b16[_0x4dd60d(0x2fc)][_0x51d3fa]&&(_0x4edbf4[''+(_0x51d3fa+_0x1a1707)]=_0x269b16[_0x4dd60d(0x2fc)][_0x51d3fa]),_0x269b16[_0x4dd60d(0x3ef)][_0x51d3fa]&&(_0x3b59cb[''+(_0x51d3fa+_0x5e8682)]=_0x269b16[_0x4dd60d(0x3ef)][_0x51d3fa]);}const _0x4b8e26=_0x391d54['getRowCount'](),_0x25b39f=_0x391d54[_0x4dd60d(0x22d)]();for(let _0x21a4c0=0x0;_0x21a4c0<_0x4b8e26;_0x21a4c0++)for(let _0x243fa2=0x0;_0x243fa2<_0x25b39f;_0x243fa2++){const _0x4baa1e={...(_0x3b4007=(_0x11e8a9=_0x391d54[_0x4dd60d(0x3e0)])==null?void 0x0:_0x11e8a9[_0x21a4c0])==null?void 0x0:_0x3b4007[_0x243fa2]};let _0x549e8e;_0x269b16[_0x4dd60d(0x2fc)][_0x21a4c0]['isBottomTotal']?_0x549e8e=_0x269b16[_0x4dd60d(0x2fc)][_0x21a4c0][_0x4dd60d(0x40f)]===0x0?_0x2fe106['grandTotal']:_0x2fe106[_0x4dd60d(0x485)]:_0x549e8e=_0x2fe106[_0x4dd60d(0x21d)];const _0x14ed0c=_0x269b16[_0x4dd60d(0x2fc)][_0x21a4c0]['valueIndex'],_0x100b8b=_0x4a7aa1['info'][_0x243fa2]['valueIndex'],_0x2fd16c=Math[_0x4dd60d(0x365)](_0x14ed0c,_0x100b8b),_0x44397f=_0x5f54f9['fieldsConfig'][_0x4dd60d(0x318)]['concat']();let _0x33858d='';_0x2fd16c<0x0?_0x33858d=(_0x348d6e=_0x44397f[0x0])!=null?_0x348d6e:'':_0x33858d=(_0x2e2e81=_0x44397f[_0x2fd16c])!=null?_0x2e2e81:'';const _0x15f137=_0x3571f3[_0x33858d];_0x15f137&&(_0x549e8e={..._0x549e8e,'n':{'pattern':_0x15f137}}),_0x1d46b2[_0x4dd60d(0x263)](_0x21a4c0+_0x1a1707,_0x243fa2+_0x205473,_0x31ff70(_0x256e3b,_0x4baa1e,_0x549e8e));}return{'valueMatrix':_0x1d46b2,'rowInfo':_0x4edbf4,'colInfo':_0x4c95aa,'cornerInfo':_0x1f6695,'rowHeaderMap':_0x3b59cb,'colHeaderMap':_0x1a3534};};function _0x2891c2(_0x4d44b6,_0x7fde3c,_0x21dca3,_0x56e76d){const _0x444acc=_0x582ad3;let _0x575cc2=_0x4d44b6['v'];_0x7fde3c&&(_0x575cc2=''+_0x56e76d[_0x444acc(0x2a7)]);const _0x10f62a=_0x4d44b6['t']&&(_0x4d44b6['t']&_0x469b30[_0x444acc(0x3b1)][_0x444acc(0x456)])>0x0;_0x10f62a&&(_0x575cc2=''+_0x56e76d['sheets-pivot.blank']);const _0x54bd84=_0x4d44b6['t']&&(_0x4d44b6['t']&_0x469b30[_0x444acc(0x3b1)][_0x444acc(0x4a4)])>0x0;if(_0x54bd84&&(_0x575cc2=''+_0x56e76d['sheets-pivot.other']),_0x4d44b6['s']===_0x469b30['PivotCellStyleTypeEnum'][_0x444acc(0x4b3)]){let _0xdbe2ee=_0x575cc2,_0x2f8f74='';_0x469b30[_0x444acc(0x2dc)](_0x575cc2)&&(_0xdbe2ee=_0x575cc2['prefix'],_0x2f8f74=_0x575cc2[_0x444acc(0x1c4)]);const _0x321114=_0x21dca3&&!_0x10f62a&&!_0x54bd84?_0x434acf[_0x444acc(0x1fe)][_0x444acc(0x4cf)](_0x21dca3,Number(_0xdbe2ee)):_0xdbe2ee;_0x2f8f74?_0x575cc2=_0x321114+'\x20'+_0x2f8f74:_0x575cc2=_0x321114+'\x20'+_0x56e76d[_0x444acc(0x218)];}else _0x4d44b6['s']===_0x469b30[_0x444acc(0x1be)][_0x444acc(0x20f)]&&(_0x575cc2=_0x575cc2+'\x20'+_0x56e76d[_0x444acc(0x327)]);return _0x575cc2;}function _0x4cf3bf(_0x2de1ff){const _0x4f95fe=_0x582ad3;if(_0x469b30[_0x4f95fe(0x395)](_0x2de1ff)){const {errorType:_0x435a0c}=_0x2de1ff;switch(_0x435a0c){case _0x469b30[_0x4f95fe(0x2ff)]['Div0']:return _0x347eab['ErrorType'][_0x4f95fe(0x326)];case _0x469b30['PivotErrorTypeEnum'][_0x4f95fe(0x34d)]:return _0x347eab[_0x4f95fe(0x38a)][_0x4f95fe(0x494)];case _0x469b30[_0x4f95fe(0x2ff)]['NotFunction']:return _0x347eab[_0x4f95fe(0x38a)][_0x4f95fe(0x33f)];case _0x469b30[_0x4f95fe(0x2ff)][_0x4f95fe(0x364)]:return _0x347eab[_0x4f95fe(0x38a)][_0x4f95fe(0x33f)];case _0x469b30[_0x4f95fe(0x2ff)][_0x4f95fe(0x1ed)]:return _0x347eab[_0x4f95fe(0x38a)][_0x4f95fe(0x1e8)];}}return _0x2de1ff;}function _0x4858ca(_0x3165ff,_0x45ad69,_0x29bf69=!0x1,_0xfd3d90=!0x1){const _0x4f3e36=_0x582ad3,{data:_0x44e957}=_0x45ad69,_0x443642=_0x45ad69['getRowCount'](),_0x39b61d=_0x45ad69[_0x4f3e36(0x22d)]();if(_0x443642<=0x0||_0x39b61d<=0x0)return[];const _0x12d222=_0x45ad69['getLastCol'](),_0x262785=_0x45ad69[_0x4f3e36(0x4ca)](),_0xc44e07=_0xfd3d90?_0x262785>=0x0?_0x262785+0x1:0x0:_0x443642,_0x56059d=_0xfd3d90?_0x12d222>=0x0?_0x12d222+0x1:0x0:_0x39b61d,{row:_0x5ff308,col:_0x17f1da}=_0x3165ff,_0x51b801=_0x5ff308,_0x37d166=_0x17f1da;if(_0x29bf69){const _0x5d4421=[];for(const [_0x8d3e3,_0x1f1332]of Object[_0x4f3e36(0x46a)](_0x44e957))for(const [_0x493d89,_0x4a02b5]of Object[_0x4f3e36(0x46a)](_0x1f1332))_0x5d4421[_0x4f3e36(0x248)](_0x434acf[_0x4f3e36(0x3ec)](_0x51b801+Number(_0x8d3e3),_0x37d166+Number(_0x493d89)));return _0x5d4421;}else{const _0xc7fa4f=_0xfd3d90?_0xc44e07>0x0?0x1:0x0:0x1,_0x5711b9=_0xfd3d90?_0x56059d>0x0?0x1:0x0:0x1,_0x18f358=_0x5ff308+_0xc44e07-_0xc7fa4f,_0xc3c759=_0x17f1da+_0x56059d-_0x5711b9;return[{'startRow':_0x51b801,'startColumn':_0x37d166,'endRow':_0x18f358,'endColumn':_0xc3c759}];}}const _0x4f33fa=_0x582ad3(0x38f),_0x178305=_0x582ad3(0x320);var _0x4396e3=(_0x56f584=>(_0x56f584[_0x582ad3(0x24c)]=_0x582ad3(0x3bf),_0x56f584['Panel']='panel',_0x56f584[_0x582ad3(0x1e5)]=_0x582ad3(0x479),_0x56f584[_0x582ad3(0x256)]='AddPivotTableWithConfig',_0x56f584[_0x582ad3(0x1dd)]=_0x582ad3(0x3b9),_0x56f584[_0x582ad3(0x431)]=_0x582ad3(0x3e9),_0x56f584['RemovePivotField']='removePivotField',_0x56f584[_0x582ad3(0x3fd)]='setPivotCollapse',_0x56f584[_0x582ad3(0x4b2)]=_0x582ad3(0x361),_0x56f584[_0x582ad3(0x362)]=_0x582ad3(0x4bd),_0x56f584[_0x582ad3(0x1ce)]='setPivotSetting',_0x56f584['UpdatePivotSource']=_0x582ad3(0x347),_0x56f584[_0x582ad3(0x489)]=_0x582ad3(0x370),_0x56f584[_0x582ad3(0x340)]=_0x582ad3(0x382),_0x56f584['SetValuePivotFilter']=_0x582ad3(0x467),_0x56f584[_0x582ad3(0x208)]='setPivotTableConfig',_0x56f584[_0x582ad3(0x4ab)]=_0x582ad3(0x24d),_0x56f584))(_0x4396e3||{});const _0x5bd290={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x582ad3(0x1d5),'sheets-pivot.subTotalText':_0x582ad3(0x2d1),'sheets-pivot.grandTotalText':_0x582ad3(0x3ad),'sheets-pivot.valueText':_0x582ad3(0x215),'sheets-pivot.averageName':_0x582ad3(0x308),'sheets-pivot.countName':_0x582ad3(0x392),'sheets-pivot.countNumsName':_0x582ad3(0x392),'sheets-pivot.maxName':_0x582ad3(0x4c3),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x582ad3(0x1ec),'sheets-pivot.stdDevpName':_0x582ad3(0x35c),'sheets-pivot.sumName':_0x582ad3(0x39a),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x582ad3(0x3bc),'sheets-pivot.subTotal':_0x582ad3(0x4b3),'sheets-pivot.grandTotal':_0x582ad3(0x3ad),'sheets-pivot.value':_0x582ad3(0x1c4),'sheets-pivot.blank':_0x582ad3(0x456),'sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':_0x582ad3(0x24c),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x582ad3(0x412),'sheets-pivot.emptyPivot.values':_0x582ad3(0x430)},_0x3e3e2a={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x277499=_0x434acf[_0x582ad3(0x424)]('pivotPerformCheck'),_0x1325ed=_0x434acf[_0x582ad3(0x449)](_0x582ad3(0x21b));var _0x2f7cb0=(_0x1e31b7=>(_0x1e31b7[_0x582ad3(0x41a)]='add',_0x1e31b7[_0x582ad3(0x4ba)]=_0x582ad3(0x4ba),_0x1e31b7[_0x582ad3(0x35a)]='update',_0x1e31b7))(_0x2f7cb0||{}),_0x106039=(_0x2c4958=>(_0x2c4958['Add']=_0x582ad3(0x41a),_0x2c4958[_0x582ad3(0x4af)]=_0x582ad3(0x312),_0x2c4958['Delete']='delete',_0x2c4958))(_0x106039||{});const _0x296d8e={'type':_0x434acf['CommandType'][_0x582ad3(0x2d3)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x27f8cd={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':_0x582ad3(0x47e),'handler':()=>!0x0},_0x319e9a={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':_0x582ad3(0x27c),'handler':()=>!0x0},_0x189960={'type':_0x434acf['CommandType'][_0x582ad3(0x2d3)],'id':_0x582ad3(0x42b),'handler':()=>!0x0},_0x49d53f={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':_0x582ad3(0x380),'handler':()=>!0x0};var _0x2b09fa=Object['getOwnPropertyDescriptor'],_0x3652f7=(_0x4fe65c,_0x1fa204,_0x500bcd,_0x4607ba)=>{const _0x30594e=_0x582ad3;for(var _0x53c9fc=_0x4607ba>0x1?void 0x0:_0x4607ba?_0x2b09fa(_0x1fa204,_0x500bcd):_0x1fa204,_0x4ee557=_0x4fe65c[_0x30594e(0x29c)]-0x1,_0x499a62;_0x4ee557>=0x0;_0x4ee557--)(_0x499a62=_0x4fe65c[_0x4ee557])&&(_0x53c9fc=_0x499a62(_0x53c9fc)||_0x53c9fc);return _0x53c9fc;},_0x56e622=(_0x34f1e1,_0x33b5d8)=>(_0x31c84c,_0x5d305f)=>_0x33b5d8(_0x31c84c,_0x5d305f,_0x34f1e1);_0x39b78f[_0x582ad3(0x280)]=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x4c931e){const _0x6b2b72=_0x582ad3;super(),_0x25f656(this,_0x6b2b72(0x4c9),new Map()),this[_0x6b2b72(0x47c)]=_0x4c931e;}[_0x582ad3(0x2e1)](_0x4ecd05){const _0x40a466=_0x582ad3,{version:_0x11b13d}=_0x4ecd05,_0x5dc6f6=this[_0x40a466(0x4c9)][_0x40a466(0x313)](_0x11b13d);_0x5dc6f6&&(_0x5dc6f6(_0x4ecd05),this[_0x40a466(0x4c9)][_0x40a466(0x4ba)](_0x11b13d));}[_0x582ad3(0x3f6)](_0x1abf3a){return new Promise((_0x1d479e,_0x1f531b)=>{const _0x5e74cf=_0x223d,_0x36c34b=this[_0x5e74cf(0x3c0)]();this[_0x5e74cf(0x4c9)][_0x5e74cf(0x312)](_0x36c34b,_0x1d479e),this['_commandService']['executeCommand'](_0x296d8e['id'],{'version':_0x36c34b,..._0x1abf3a},{'onlyLocal':!0x0});});}[_0x582ad3(0x3c0)](){const _0x456292=_0x582ad3;return Math[_0x456292(0x4ce)]()['toString'](0x24)[_0x456292(0x3a3)](0x2,0x10);}},_0x39b78f[_0x582ad3(0x280)]=_0x3652f7([_0x56e622(0x0,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x388)]))],_0x39b78f[_0x582ad3(0x280)]);const _0x1ce2bf=_0x582ad3(0x3a1),_0x3df7ea={0x0:'G',0x1:'D',0x2:'Y',0x3:'p',0x4:'l',0x5:'T',0x6:'A',0x7:'y',0x8:'4',0x9:'V','Z':'0','v':'1','K':'2','R':'3','L':'5','m':'6','y':'7','t':'8','E':'9','H':'a','z':'b','n':'c','G':'d','g':'e','f':'f','T':'g','c':'h','J':'i','B':'j','b':'k','W':'m','U':'n','d':'o','s':'q','S':'r','u':'s','O':'t','N':'u','M':'v','\x20':'w','q':'x','X':'z','Q':'B','w':'C','i':'E','l':'F','V':'H','j':'I','A':'J','I':'K','p':'L','e':'M','Y':'N','o':'O','r':'P','P':'Q','C':'R','k':'S','a':'U','h':'W','x':'X','F':'Z','D':'\x20'},_0x54366b=_0x3fdef5=>{const _0x4871ec=_0x582ad3;var _0x45edff;return((_0x45edff=_0x3fdef5[_0x4871ec(0x2ac)])==null?void 0x0:_0x45edff[_0x4871ec(0x3fc)]['replace'](/\r\n$/,''))||'';};class _0x5e92fb extends _0x469b30[_0x582ad3(0x350)]{constructor(_0x337f79,_0x5166ac){const _0x55ad8e=_0x582ad3;super(),_0x25f656(this,_0x55ad8e(0x270),{}),_0x25f656(this,_0x55ad8e(0x3b4)),_0x25f656(this,'_host'),(this[_0x55ad8e(0x3b4)]=_0x5166ac,this[_0x55ad8e(0x4b8)]=_0x337f79);}[_0x582ad3(0x37d)](){const _0x5a3343=_0x582ad3;for(const _0x351c3c in this[_0x5a3343(0x1c3)]){const _0x4ead45=this[_0x5a3343(0x1c3)][_0x351c3c],_0xb2db60=_0x4ead45[_0x5a3343(0x1ff)]();this['rangeKeyMap'][_0xb2db60]=_0x4ead45[_0x5a3343(0x2b6)]();}}[_0x582ad3(0x2ce)](){const _0x24ec9a=_0x582ad3,_0x9bb862=this[_0x24ec9a(0x4b8)];return _0xbc617b[_0x24ec9a(0x240)](_0x9bb862);}[_0x582ad3(0x3f9)](_0x485d18){const _0x11f665=_0x582ad3,_0x570c3b=this[_0x11f665(0x1c3)][_0x485d18][_0x11f665(0x49f)];delete this[_0x11f665(0x1c3)][_0x485d18],delete this[_0x11f665(0x270)][_0x570c3b];}[_0x582ad3(0x497)](_0x703c99){const _0x26ac77=_0x582ad3;this['dataFields'][_0x703c99[_0x26ac77(0x2b6)]()]=_0x703c99;}['removeCollectionImp'](_0x133f46){const _0x5b34f3=_0x582ad3;var _0x370176,_0x1b4b41;const _0x77cc42=this[_0x5b34f3(0x4b8)][_0x5b34f3(0x2b1)](_0x133f46);if(_0x77cc42){const {unitId:_0x557f3e,subUnitId:_0x56c7ad}=_0x77cc42,_0x2d2480=(_0x370176=this[_0x5b34f3(0x4b8)][_0x5b34f3(0x1e7)](_0x557f3e,_0x56c7ad,_0x133f46))==null?void 0x0:_0x370176['sourceRangeInfo'];this[_0x5b34f3(0x4b8)][_0x5b34f3(0x474)]({'token':_0x133f46,'type':_0x2f7cb0[_0x5b34f3(0x4ba)],'dataRangeInfo':_0x2d2480});}(_0x1b4b41=this['getCollection'](_0x133f46))==null||_0x1b4b41['dispose'](),delete this[_0x5b34f3(0x23c)][_0x133f46];}[_0x582ad3(0x1ff)](_0x310591,_0x56a117){const {sheetName:_0x496f9e,unitId:_0x48b952,range:_0x327c1c}=_0x310591,{startRow:_0x4fe311,endRow:_0x1c0b1d}=_0x327c1c;return _0x347eab['serializeRangeWithSpreadsheet'](_0x48b952,_0x496f9e,{'startRow':_0x4fe311,'endRow':_0x1c0b1d,'startColumn':_0x56a117,'endColumn':_0x56a117});}['getDataFieldByRangeKey'](_0x1c31f2){const _0x2345e3=_0x582ad3;return this[_0x2345e3(0x1c3)][this[_0x2345e3(0x270)][_0x1c31f2]];}[_0x582ad3(0x488)](_0x4c7b25,_0x1bfc34){const _0x16163f=_0x582ad3;this[_0x16163f(0x270)][_0x4c7b25]=_0x1bfc34;}['updateRangeKeyMap'](_0x141906,_0x56c0b6){const _0x1ac19e=_0x582ad3;this[_0x1ac19e(0x270)][_0x56c0b6]=this['rangeKeyMap'][_0x141906],delete this[_0x1ac19e(0x270)][_0x141906];}[_0x582ad3(0x4d0)](_0x2ddd3e,_0x543a0c,_0x4ed783,_0x465065){const _0x3179fc=_0x582ad3,_0x455302=new _0x469b30['FieldsCollection'](this);_0x455302[_0x3179fc(0x324)](_0x543a0c);const _0x25b014=[];let _0x4c9b64=0x0;for(const _0x4ed896 of _0x455302[_0x3179fc(0x2b3)]){const _0xa488fc=this['getRangeKey'](_0x4ed783,_0x4c9b64),_0x3a065c=this[_0x3179fc(0x1c3)][_0x4ed896];_0x3a065c&&(_0x3a065c['rangeKey']=_0xa488fc,this[_0x3179fc(0x488)](_0xa488fc,_0x4ed896),_0x25b014[_0x3179fc(0x248)]({'index':_0x4c9b64,'dataField':_0x3a065c})),_0x4c9b64++;}return this[_0x3179fc(0x360)](_0x2ddd3e,_0x455302,_0x4ed783,_0x465065),{'collection':_0x455302,'updateDataFieldList':_0x25b014};}['getRangeStartEndInfo'](_0x2ecac6,_0x43c4ac){const _0x2d206a=_0x582ad3;return _0x2ecac6[_0x2d206a(0x281)]===_0x434acf['RANGE_TYPE'][_0x2d206a(0x2f0)]?{'startRow':0x0,'startColumn':_0x2ecac6[_0x2d206a(0x457)],'endRow':_0x43c4ac[_0x2d206a(0x238)]()-0x1,'endColumn':_0x2ecac6[_0x2d206a(0x2cc)]}:{'startRow':_0x2ecac6[_0x2d206a(0x40b)],'startColumn':_0x2ecac6[_0x2d206a(0x457)],'endRow':_0x2ecac6[_0x2d206a(0x1e3)],'endColumn':_0x2ecac6[_0x2d206a(0x2cc)]};}[_0x582ad3(0x425)](_0x585413){const _0x2e517e=_0x582ad3,{sheetName:_0x205fcb,range:_0x3fac92}=_0x585413,_0x17f9d4=this['_univerInstanceService'][_0x2e517e(0x32f)](_0x434acf['UniverInstanceType'][_0x2e517e(0x24a)]),_0x4fa08e=_0x17f9d4[_0x2e517e(0x31a)](_0x205fcb),_0x279b4c=_0x4fa08e['getCellMatrix'](),{startColumn:_0x5ea997,startRow:_0x4ba2ca,endColumn:_0x2ce39b}=this['getRangeStartEndInfo'](_0x3fac92,_0x4fa08e),_0x396c6d=_0x17f9d4[_0x2e517e(0x3b3)](),_0x31aa49=new _0x469b30['FieldsCollection'](this);_0x31aa49[_0x2e517e(0x47f)](_0x585413);const _0x2dff0f=[],_0x272500={};for(let _0x5d37e6=_0x5ea997;_0x5d37e6<=_0x2ce39b;_0x5d37e6++){const _0x575bc9=_0x279b4c[_0x2e517e(0x3f8)](_0x4ba2ca,_0x5d37e6),_0x4d1827=this['getRangeKey'](_0x585413,_0x5d37e6),_0x24ec82=this[_0x2e517e(0x49a)](_0x4d1827);if(_0x24ec82)_0x31aa49[_0x2e517e(0x4b9)](_0x24ec82[_0x2e517e(0x2b6)](),_0x24ec82[_0x2e517e(0x261)]());else{const _0x3a3756=this[_0x2e517e(0x44a)]();let _0x529d16=this[_0x2e517e(0x4a8)](_0x575bc9,_0x396c6d,_0x272500);_0x469b30[_0x2e517e(0x25f)](_0x529d16)&&(_0x529d16=_0x434acf['numfmt'][_0x2e517e(0x4cf)](_0x529d16['f'],Number(_0x529d16['v'])));const _0x4b6bf3=this[_0x2e517e(0x274)](_0x529d16,_0x5d37e6),_0x2d9bcd=new _0x469b30[(_0x2e517e(0x3de))](_0x3a3756,_0x4b6bf3,_0x469b30[_0x2e517e(0x20a)](0x3));_0x2d9bcd['rangeKey']=_0x4d1827,this[_0x2e517e(0x1c3)][_0x3a3756]=_0x2d9bcd,_0x31aa49['addField'](_0x3a3756,_0x4b6bf3),_0x2dff0f[_0x2e517e(0x248)]({'index':_0x5d37e6,'dataField':_0x2d9bcd});}}return{'updateDataFieldList':_0x2dff0f,'collection':_0x31aa49};}[_0x582ad3(0x409)](_0x4239b3){const _0x1d18f3=_0x582ad3;return this['_host'][_0x1d18f3(0x303)]()[_0x1d18f3(0x1dc)]+'\x20'+_0x434acf[_0x1d18f3(0x310)](_0x4239b3);}['uniqueDataFieldName'](_0x2a9b4a,_0x3614b8){return _0x2a9b4a==null||_0x2a9b4a===''?this['_getAutoName'](_0x3614b8):String(_0x2a9b4a);}[_0x582ad3(0x33d)](_0x57f03e){const _0x197baf=_0x582ad3;return this[_0x197baf(0x23c)][_0x57f03e];}[_0x582ad3(0x360)](_0x50485f,_0x4974ee,_0x1ae5c3,_0x2bba20){const _0x458e82=_0x582ad3;this[_0x458e82(0x23c)][_0x50485f]=_0x4974ee,_0x4974ee[_0x458e82(0x47f)](_0x1ae5c3),this[_0x458e82(0x4b8)]['broadcastCollectionChange']({'token':_0x50485f,'type':_0x2f7cb0[_0x458e82(0x41a)],'dataRangeInfo':_0x1ae5c3,'targetCellInfo':_0x2bba20});}['handleMoveRange'](_0x2ca95a,_0x15b737){const _0x16dca6=_0x582ad3,_0x36ed25=this[_0x16dca6(0x33d)](_0x2ca95a),_0x2ff164=_0x36ed25[_0x16dca6(0x337)]();let _0x456fdd=0x0;for(const _0x9edbad of _0x2ff164){const _0x4113e0=_0x36ed25[_0x16dca6(0x298)](_0x9edbad),_0xcb58a3=this[_0x16dca6(0x1ff)](_0x15b737,_0x456fdd);this[_0x16dca6(0x204)](_0x4113e0[_0x16dca6(0x49f)],_0xcb58a3),_0x456fdd++;}}[_0x582ad3(0x34b)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x582ad3(0x1d2)](_0x2105f4,_0x321a3a){const _0x2085ec=_0x582ad3;if(this[_0x2085ec(0x33d)](_0x2105f4)){const _0x82ab2c=this['getRangeKeyList'](_0x321a3a),_0x552fa9=[];for(const _0x37a71b of _0x82ab2c)this['rangeKeyMap'][_0x37a71b]!==void 0x0&&_0x552fa9[_0x2085ec(0x248)](this[_0x2085ec(0x270)][_0x37a71b]);const _0x482a76=this[_0x2085ec(0x20c)](_0x2105f4),_0xee334f=[],_0x38363f=new Set(_0x552fa9);for(const _0x4880f0 of _0x482a76)_0x38363f[_0x2085ec(0x426)](_0x4880f0)||_0xee334f[_0x2085ec(0x248)](_0x4880f0);return _0xee334f;}}['getMatrixValue'](_0x506326,_0x52bb2b,_0x1605ca,_0x357c67,_0x1afef9){const _0xb1bdf6=_0x582ad3;return _0x52bb2b&&_0x52bb2b[_0xb1bdf6(0x3f8)](_0x357c67,_0x1afef9)?_0x52bb2b['getValue'](_0x357c67,_0x1afef9):_0x1605ca&&_0x1605ca['getValue'](_0x357c67,_0x1afef9)?_0x1605ca[_0xb1bdf6(0x3f8)](_0x357c67,_0x1afef9):_0x506326[_0xb1bdf6(0x3f8)](_0x357c67,_0x1afef9);}[_0x582ad3(0x1c8)](_0x1f37eb,_0x20d430,_0x1663de,_0x4d3996){const _0xe3c5f0=_0x582ad3,_0x214161=this[_0xe3c5f0(0x1c3)][_0x1f37eb];if(!_0x214161)return;const {subUnitId:_0x55846b,range:_0x5398d2,unitId:_0x1898b0}=_0x20d430,_0x2802fe=this['_univerInstanceService'][_0xe3c5f0(0x3be)](_0x1898b0);if(!_0x2802fe){console[_0xe3c5f0(0x2d0)](_0xe3c5f0(0x332));return;}const _0x169eab=_0x2802fe[_0xe3c5f0(0x366)](_0x55846b),_0x540ad7=_0x169eab[_0xe3c5f0(0x405)](),{arrayFormulaCellDataMatrix:_0x3f5cdd,unitDataMatrix:_0x3c3054}=_0x4d3996||{},{startRow:_0x27f7e9,startColumn:_0x378449,endRow:_0x4385b3}=this[_0xe3c5f0(0x42c)](_0x5398d2,_0x169eab);_0x214161[_0xe3c5f0(0x2b9)]();const _0x126acb=_0x2802fe[_0xe3c5f0(0x3b3)](),_0x4aa3c2={},_0x1da172=this[_0xe3c5f0(0x390)](_0x540ad7,_0x3f5cdd,_0x3c3054,_0x27f7e9,_0x378449+_0x1663de);let _0x5cded0=this['adjustSheetCellData'](_0x1da172,_0x126acb,_0x4aa3c2);_0x469b30[_0xe3c5f0(0x25f)](_0x5cded0)&&(_0x5cded0=_0x434acf[_0xe3c5f0(0x1fe)][_0xe3c5f0(0x4cf)](_0x5cded0['f'],Number(_0x5cded0['v'])));const _0x56a9fa=this[_0xe3c5f0(0x274)](_0x5cded0,_0x378449+_0x1663de);_0x214161[_0xe3c5f0(0x3cc)](_0x56a9fa);for(let _0x4a7bfe=_0x27f7e9+0x1;_0x4a7bfe<=_0x4385b3;_0x4a7bfe++){const _0x35210d=this['getMatrixValue'](_0x540ad7,_0x3f5cdd,_0x3c3054,_0x4a7bfe,_0x378449+_0x1663de);_0x214161[_0xe3c5f0(0x227)](this[_0xe3c5f0(0x4a8)](_0x35210d,_0x126acb,_0x4aa3c2),_0x4a7bfe-0x1-_0x27f7e9);}}[_0x582ad3(0x29d)](_0x2c67e1,_0x5eedfa,_0x851396){const _0x111e22=_0x582ad3,{subUnitId:_0x23bc32,range:_0x1792e9,unitId:_0x4db064}=_0x851396,_0x34cd65=this[_0x111e22(0x3b4)][_0x111e22(0x3be)](_0x4db064);if(!_0x34cd65){console[_0x111e22(0x2d0)](_0x111e22(0x332));return;}const _0x301ecc=_0x34cd65[_0x111e22(0x366)](_0x23bc32),_0x14a9dd=_0x301ecc[_0x111e22(0x405)](),{startRow:_0x1d7be2,startColumn:_0x349206,endRow:_0x4d30e3}=this['getRangeStartEndInfo'](_0x1792e9,_0x301ecc),_0x576dff=_0x34cd65[_0x111e22(0x3b3)](),_0x7e86ce={};for(const {dataField:_0x3a068b,index:_0x2da06e}of _0x5eedfa){_0x3a068b[_0x111e22(0x2b9)]();const _0x15211a=this[_0x111e22(0x390)](_0x14a9dd,void 0x0,void 0x0,_0x1d7be2,_0x349206+_0x2da06e);let _0x9ac123=this[_0x111e22(0x4a8)](_0x15211a,_0x576dff,_0x7e86ce);_0x469b30[_0x111e22(0x25f)](_0x9ac123)&&(_0x9ac123=_0x434acf[_0x111e22(0x1fe)][_0x111e22(0x4cf)](_0x9ac123['f'],Number(_0x9ac123['v'])));const _0x3f444d=this['uniqueDataFieldName'](_0x9ac123,_0x349206+_0x2da06e);_0x3a068b['setName'](_0x3f444d);}_0x2c67e1[_0x111e22(0x44b)]();for(let _0x15eac7=_0x1d7be2+0x1;_0x15eac7<=_0x4d30e3;_0x15eac7++)for(const {index:_0x59231b,dataField:_0x3af049}of _0x5eedfa){const _0x234b74=_0x14a9dd[_0x111e22(0x3f8)](_0x15eac7,_0x349206+_0x59231b);_0x3af049[_0x111e22(0x227)](this[_0x111e22(0x4a8)](_0x234b74,_0x576dff,_0x7e86ce),_0x15eac7-0x1-_0x1d7be2);}_0x2c67e1[_0x111e22(0x30e)](_0x4d30e3-_0x1d7be2);}[_0x582ad3(0x1de)](_0x449ee9){const _0x13f75f=_0x582ad3,{range:_0x137c8e}=_0x449ee9,{startColumn:_0x49d097,endColumn:_0x44f05d}=_0x137c8e,_0x25d2dd=[];for(let _0x1cd467=_0x49d097;_0x1cd467<=_0x44f05d;_0x1cd467++)_0x25d2dd[_0x13f75f(0x248)](this['getRangeKey'](_0x449ee9,_0x1cd467));return _0x25d2dd;}[_0x582ad3(0x4a8)](_0x34a3fd,_0x1c66a9,_0x1f9cfb){const _0x2fd38e=_0x582ad3;if(_0x34a3fd){const {s:_0x4b1cc2,v:_0x29ce73,t:_0x2f1185,p:_0x55b521}=_0x34a3fd;if(_0x55b521)return _0x54366b(_0x55b521);const _0x435b28=_0x1c66a9[_0x2fd38e(0x313)](_0x4b1cc2);if(_0x435b28&&_0x2f1185===_0x434acf['CellValueType'][_0x2fd38e(0x28a)]&&_0x435b28['n']){const {pattern:_0x345778}=_0x435b28['n'];_0x1f9cfb[_0x345778]||(_0x1f9cfb[_0x345778]=_0x434acf[_0x2fd38e(0x1fe)]['getFormatInfo'](_0x345778));const _0x4c1b0b=_0x1f9cfb[_0x345778],_0x3c3552=_0x4c1b0b[_0x2fd38e(0x393)];if(_0x4c1b0b[_0x2fd38e(0x48f)])return String(_0x29ce73);if(_0x3c3552)return{'v':_0x29ce73,'f':_0x345778};}if(_0x2f1185===_0x434acf[_0x2fd38e(0x3f5)][_0x2fd38e(0x28a)])return Number(_0x29ce73);if(_0x2f1185===_0x434acf[_0x2fd38e(0x3f5)]['STRING']||_0x2f1185===_0x434acf['CellValueType'][_0x2fd38e(0x4c0)])return String(_0x29ce73);if(_0x2f1185===void 0x0){const _0x5964d4=Number(_0x29ce73);if(!Number[_0x2fd38e(0x3e6)](_0x5964d4)&&String(_0x5964d4)===_0x29ce73)return _0x5964d4;}return _0x29ce73!=null?_0x29ce73:null;}else return null;}[_0x582ad3(0x41b)](_0x30927e){const _0x3ca05b=_0x582ad3,{sheetName:_0x4b031a,range:_0x3d2e7a,unitId:_0xce271}=_0x30927e,_0x250fe9=this[_0x3ca05b(0x3b4)][_0x3ca05b(0x3be)](_0xce271);if(!_0x250fe9)return console[_0x3ca05b(0x2d0)](_0x3ca05b(0x332)),{'header':[],'data':[]};const _0x9cc3a9=_0x250fe9[_0x3ca05b(0x31a)](_0x4b031a),_0x553ee4=_0x9cc3a9[_0x3ca05b(0x405)](),{startRow:_0x530cea,startColumn:_0x13a172,endRow:_0xefb76b,endColumn:_0x202d7b}=this[_0x3ca05b(0x42c)](_0x3d2e7a,_0x9cc3a9),_0xd63b08=_0x250fe9[_0x3ca05b(0x3b3)](),_0x36d41a=[],_0x534aa9=[],_0x24ef74={};for(let _0x1bfad8=_0x530cea;_0x1bfad8<=_0xefb76b;_0x1bfad8++){const _0x55a88c=[];for(let _0x5b95d3=_0x13a172;_0x5b95d3<=_0x202d7b;_0x5b95d3++){const _0xf6c5d8=_0x553ee4['getValue'](_0x1bfad8,_0x5b95d3);_0x1bfad8===_0x530cea?_0x36d41a[_0x3ca05b(0x248)](_0xf6c5d8==null?null:String(_0xf6c5d8['v'])):_0x55a88c[_0x3ca05b(0x248)](this[_0x3ca05b(0x4a8)](_0xf6c5d8,_0xd63b08,_0x24ef74));}_0x534aa9[_0x3ca05b(0x248)](_0x55a88c);}return{'header':_0x36d41a,'data':_0x534aa9};}['toJSON'](){return super['toJSON']();}[_0x582ad3(0x324)](_0x476a3f){const _0x424d4c=_0x582ad3;super['fromJSON'](_0x476a3f),this[_0x424d4c(0x37d)]();}[_0x582ad3(0x3e2)](){const _0x5d49b4=_0x582ad3;super[_0x5d49b4(0x3e2)](),this[_0x5d49b4(0x270)]={},this['_host']=null;}}const _0x2cd765=_0x55094b=>{const _0x5895cb=_0x582ad3,{targetCellInfo:_0x5e7be1}=_0x55094b,{matrixCache:_0x3b1fc6,rangesCache:_0x45f89b}=_0x37622f({'filter':'Filter','row':_0x5895cb(0x492),'column':_0x5895cb(0x412),'values':_0x5895cb(0x430)},_0x5e7be1),_0x41c71e=new _0x434acf['ObjectMatrix']();return _0x3b1fc6[_0x5895cb(0x304)]((_0x2b501d,_0x18fbba,_0x58e7fa)=>{const _0x25e0bf=_0x5895cb;_0x41c71e[_0x25e0bf(0x263)](_0x2b501d,_0x18fbba,_0x58e7fa);}),{'matrix':_0x41c71e,'rangesCache':_0x45f89b};},_0xea8026=_0x248d4d=>{const _0x4b39fa=_0x582ad3;let _0xaffca3;if(_0x248d4d!=null&&_0x248d4d['v']||(_0x248d4d==null?void 0x0:_0x248d4d['v'])===0x0){_0xaffca3||(_0xaffca3={});const _0x95ba90=_0x4cf3bf(_0x248d4d['v']);typeof _0x95ba90==_0x4b39fa(0x259)?_0xaffca3['t']=_0x434acf[_0x4b39fa(0x3f5)]['NUMBER']:typeof _0x95ba90==_0x4b39fa(0x266)&&(_0xaffca3['t']=_0x434acf[_0x4b39fa(0x3f5)][_0x4b39fa(0x43b)]),_0xaffca3['v']=_0x95ba90;}return _0xaffca3;},_0x1155fa=(_0x54e5bd,_0x5773c5,_0x1f3a39)=>{const _0x5b4a45=_0x582ad3;var _0x5e1a5e,_0x5c2f9e,_0x449154,_0x3bbd77,_0x5e2052,_0x1680a4,_0x539d07,_0x2cd124,_0x398f8d,_0x24ca69,_0x388246,_0x39f1ba;const {cornerView:_0x5b2941,rowView:_0x25ec89,colView:_0x18c254,dataView:_0xc79f95,pageView:_0x460e65,formatMap:_0x3969f7}=_0x54e5bd,{row:_0x13a513,col:_0x4fcd79}=_0x5773c5,_0x314ea9=new _0x434acf[(_0x5b4a45(0x3e3))]();let _0x56358c=_0x13a513,_0x549a8c=_0x4fcd79;Object['keys'](_0x460e65[_0x5b4a45(0x3e0)])[_0x5b4a45(0x363)](_0x22275f=>{const _0x11db64=_0x5b4a45;Object[_0x11db64(0x25a)](_0x460e65[_0x11db64(0x3e0)][Number(_0x22275f)])[_0x11db64(0x363)](_0x3c5dcf=>{const _0x91ea61=_0x11db64,_0x4fbe6f={..._0x460e65[_0x91ea61(0x3e0)][Number(_0x22275f)][Number(_0x3c5dcf)]};_0x314ea9[_0x91ea61(0x263)](Number(_0x22275f)+_0x56358c,Number(_0x3c5dcf)+_0x549a8c,_0xea8026(_0x4fbe6f));});});const _0x486535=Object['keys'](_0x460e65[_0x5b4a45(0x3e0)])[_0x5b4a45(0x29c)];_0x56358c+=_0x486535+(_0x486535?_0x2445e6:0x0);const _0x2ff434=_0x5b2941[_0x5b4a45(0x238)](),_0x46dfda=_0x5b2941[_0x5b4a45(0x22d)]();for(let _0x350de6=0x0;_0x350de6<_0x2ff434;_0x350de6++)for(let _0x280fd1=0x0;_0x280fd1<_0x46dfda;_0x280fd1++){const _0x1ea250={...(_0x5c2f9e=(_0x5e1a5e=_0x5b2941['data'])==null?void 0x0:_0x5e1a5e[_0x350de6])==null?void 0x0:_0x5c2f9e[_0x280fd1]};_0x1ea250&&(_0x449154=_0x25ec89[_0x5b4a45(0x3ef)][_0x280fd1])!=null&&_0x449154['isValue']&&_0x280fd1===_0x46dfda-0x1&&_0x350de6===_0x2ff434-0x1&&(_0x1ea250['v']=''+_0x1f3a39['sheets-pivot.value']),_0x314ea9[_0x5b4a45(0x263)](_0x350de6+_0x56358c,_0x280fd1+_0x549a8c,_0xea8026(_0x1ea250));}_0x549a8c+=_0x46dfda;const _0x5b1b2d=_0x18c254[_0x5b4a45(0x3ef)],_0x171507=_0x18c254[_0x5b4a45(0x4ca)]()>=0x0?_0x18c254[_0x5b4a45(0x4ca)]()+0x1:0x0,_0x6f0e46=_0x18c254[_0x5b4a45(0x1ee)]()>=0x0?_0x18c254[_0x5b4a45(0x1ee)]()+0x1:0x0;for(let _0x421c20=0x0;_0x421c20<_0x6f0e46;_0x421c20++)for(let _0x230484=0x0;_0x230484<_0x171507;_0x230484++){const _0x403f06={...(_0x5e2052=(_0x3bbd77=_0x18c254[_0x5b4a45(0x3e0)])==null?void 0x0:_0x3bbd77[_0x421c20])==null?void 0x0:_0x5e2052[_0x230484]},_0x58356d=(_0x1680a4=_0x5b1b2d[_0x421c20])==null?void 0x0:_0x1680a4[_0x5b4a45(0x348)],_0xe45c27=_0x3969f7[_0x58356d];_0x403f06&&(_0x403f06['v']=_0x2891c2(_0x403f06,_0x421c20===0x0&&((_0x539d07=_0x18c254['getHeaderMapItem'](_0x230484+0x1))==null?void 0x0:_0x539d07['isValue']),_0xe45c27,_0x1f3a39)),_0x314ea9[_0x5b4a45(0x263)](_0x421c20+_0x56358c,_0x230484+_0x549a8c,_0xea8026(_0x403f06));}_0x56358c+=_0x2ff434;const _0x4aba96=_0x25ec89[_0x5b4a45(0x3ef)],_0x4f2de4=_0x25ec89[_0x5b4a45(0x4ca)]()>=0x0?_0x25ec89['getLastRow']()+0x1:0x0,_0x351eca=_0x25ec89[_0x5b4a45(0x1ee)]()>=0x0?_0x25ec89[_0x5b4a45(0x1ee)]()+0x1:0x0;for(let _0x23506d=0x0;_0x23506d<_0x4f2de4;_0x23506d++)for(let _0x1a100a=0x0;_0x1a100a<_0x351eca;_0x1a100a++){const _0x532abf={...(_0x398f8d=(_0x2cd124=_0x25ec89[_0x5b4a45(0x3e0)])==null?void 0x0:_0x2cd124[_0x23506d])==null?void 0x0:_0x398f8d[_0x1a100a]},_0x2f9129=(_0x24ca69=_0x4aba96[_0x1a100a])==null?void 0x0:_0x24ca69[_0x5b4a45(0x348)],_0x5ddf62=_0x3969f7[_0x2f9129];_0x532abf&&(_0x532abf['v']=_0x2891c2(_0x532abf,!0x1,_0x5ddf62,_0x1f3a39)),_0x314ea9[_0x5b4a45(0x263)](_0x23506d+_0x56358c,_0x1a100a+_0x4fcd79,_0xea8026(_0x532abf));}const _0x17cfdd=_0xc79f95[_0x5b4a45(0x238)](),_0x5857f5=_0xc79f95['getColCount']();for(let _0x9bee0b=0x0;_0x9bee0b<_0x17cfdd;_0x9bee0b++)for(let _0xd95f44=0x0;_0xd95f44<_0x5857f5;_0xd95f44++){const _0xd226f9={...(_0x39f1ba=(_0x388246=_0xc79f95['data'])==null?void 0x0:_0x388246[_0x9bee0b])==null?void 0x0:_0x39f1ba[_0xd95f44]};_0x314ea9[_0x5b4a45(0x263)](_0x9bee0b+_0x56358c,_0xd95f44+_0x549a8c,_0xea8026(_0xd226f9));}return _0x314ea9;},_0x4d5444=_0x4a9179=>{const _0x176fe8=_0x582ad3,{view:_0x206eb1,targetCellInfo:_0x8a7204,isEmpty:_0x337092,textInfo:_0x2a53e1}=_0x4a9179;if(_0x337092)return _0x2cd765(_0x4a9179);const {pageView:_0x534fac,cornerView:_0x1fa828,rowView:_0x2bb9e6,colView:_0x14c55e,dataView:_0x4b10fc}=_0x206eb1,_0xb8c0cc=_0x4858ca(_0x8a7204,_0x534fac,!0x0),_0x3995b7=_0x534fac[_0x176fe8(0x2f8)]>=0x0?_0x534fac[_0x176fe8(0x2f8)]+0x1:0x0,_0x54cdf1=_0x1fa828['getRowCount'](),_0x1e07d8=_0x1fa828[_0x176fe8(0x22d)](),_0x1de479=_0xb8c0cc[_0x176fe8(0x29c)]>0x0?_0x2445e6:0x0,_0x54c795=_0x4858ca({'row':_0x8a7204[_0x176fe8(0x1e1)]+_0x3995b7+_0x1de479,'col':_0x8a7204[_0x176fe8(0x444)]},_0x1fa828,!0x1,!0x1),_0x1fb6c1=_0x4858ca({'row':_0x8a7204[_0x176fe8(0x1e1)]+_0x3995b7+_0x1de479+_0x54cdf1,'col':_0x8a7204[_0x176fe8(0x444)]},_0x2bb9e6,!0x1,!0x0),_0x3ff63d=_0x4858ca({'row':_0x8a7204['row']+_0x3995b7+_0x1de479,'col':_0x8a7204['col']+_0x1e07d8},_0x14c55e,!0x1,!0x0),_0x5e21fa=_0x4858ca({'row':_0x8a7204[_0x176fe8(0x1e1)]+_0x3995b7+_0x1de479+_0x54cdf1,'col':_0x8a7204[_0x176fe8(0x444)]+_0x1e07d8},_0x4b10fc,!0x1,!0x1),_0x15ae6d={'rowRanges':_0x1fb6c1,'colRanges':_0x3ff63d,'cornerRanges':_0x54c795,'dataRanges':_0x5e21fa,'pageRanges':_0xb8c0cc};return{'matrix':_0x1155fa(_0x206eb1,_0x8a7204,_0x2a53e1),'rangesCache':_0x15ae6d};};var _0x58c18b=Object[_0x582ad3(0x1fb)],_0x25b4ba=(_0x466e2c,_0x3145ed,_0x3502dd,_0x1a3d65)=>{const _0xee8f37=_0x582ad3;for(var _0x83ba1c=_0x1a3d65>0x1?void 0x0:_0x1a3d65?_0x58c18b(_0x3145ed,_0x3502dd):_0x3145ed,_0xa1cc83=_0x466e2c[_0xee8f37(0x29c)]-0x1,_0x376d9b;_0xa1cc83>=0x0;_0xa1cc83--)(_0x376d9b=_0x466e2c[_0xa1cc83])&&(_0x83ba1c=_0x376d9b(_0x83ba1c)||_0x83ba1c);return _0x83ba1c;},_0x389e9b=(_0x3a0b2a,_0x449aa3)=>(_0x221563,_0x34300e)=>_0x449aa3(_0x221563,_0x34300e,_0x3a0b2a);_0x39b78f[_0x582ad3(0x486)]=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x2f309c,_0x3dee13,_0xfb4b1a,_0x51cf39,_0x3e7eb2){const _0x1f3369=_0x582ad3;super(),_0x25f656(this,_0x1f3369(0x49c),new Map()),_0x25f656(this,_0x1f3369(0x2c3),new Map()),_0x25f656(this,_0x1f3369(0x2b5),new Map()),_0x25f656(this,'_textInfo'),_0x25f656(this,_0x1f3369(0x2c4),new _0x8b6274[(_0x1f3369(0x2b2))]()),_0x25f656(this,_0x1f3369(0x381),this[_0x1f3369(0x2c4)][_0x1f3369(0x460)]()),_0x25f656(this,_0x1f3369(0x2a2),new _0x8b6274['Subject']()),_0x25f656(this,'viewData$',this[_0x1f3369(0x2a2)][_0x1f3369(0x460)]()),_0x25f656(this,_0x1f3369(0x445),new _0x8b6274[(_0x1f3369(0x2b2))]()),_0x25f656(this,_0x1f3369(0x389),this[_0x1f3369(0x445)][_0x1f3369(0x460)]()),_0x25f656(this,_0x1f3369(0x459),new Map()),_0x25f656(this,_0x1f3369(0x1f1),[]),_0x25f656(this,_0x1f3369(0x3fb),new Map()),(this[_0x1f3369(0x1cf)]=_0x2f309c,this['_univerInstanceService']=_0x3dee13,this['_lifecycleService']=_0xfb4b1a,this[_0x1f3369(0x47c)]=_0x51cf39,this['_resourceManagerService']=_0x3e7eb2,this[_0x1f3369(0x411)]());}[_0x582ad3(0x303)](){const _0x324c5c=_0x582ad3;return this[_0x324c5c(0x1ef)]?this[_0x324c5c(0x1ef)]:_0x5bd290;}[_0x582ad3(0x35b)](_0x4ca4e7){const _0x5b95d7=_0x582ad3;this[_0x5b95d7(0x1ef)]=_0x4ca4e7;}[_0x582ad3(0x27a)](_0x53dd68){const _0x246bf8=_0x582ad3;var _0x47ba78;const {from:_0x56ec5a,to:_0x4ff11b,unitId:_0x213438,fromRange:_0xffcb80,toRange:_0x5f0cf3}=_0x53dd68;if(_0x56ec5a&&_0x4ff11b){const _0x5526da=this[_0x246bf8(0x43c)](_0x213438),_0x1ea5be=this[_0x246bf8(0x49c)]['get'](_0x213438),_0x458764=(_0x47ba78=this[_0x246bf8(0x3b4)][_0x246bf8(0x3be)](_0x213438))==null?void 0x0:_0x47ba78[_0x246bf8(0x366)](_0x4ff11b['subUnitId']);if(!_0x1ea5be||!_0x458764)return;const _0x470d9f=_0x458764==null?void 0x0:_0x458764[_0x246bf8(0x261)]();for(const [_0x329bdc,_0x510cac]of _0x1ea5be[_0x246bf8(0x46a)]())for(const [_0x2e9381,_0x333d82]of _0x510cac['entries']()){const {sourceRangeInfo:_0x5a01ec}=_0x333d82;if(_0x5a01ec[_0x246bf8(0x253)]===_0x213438&&_0x5a01ec[_0x246bf8(0x31b)]===_0x56ec5a[_0x246bf8(0x31b)]&&_0x434acf[_0x246bf8(0x221)][_0x246bf8(0x379)](_0xffcb80,_0x5a01ec[_0x246bf8(0x45e)])){const _0x3cf49c={'row':_0x5a01ec[_0x246bf8(0x45e)][_0x246bf8(0x40b)]-_0xffcb80[_0x246bf8(0x40b)],'col':_0x5a01ec[_0x246bf8(0x45e)]['startColumn']-_0xffcb80['startColumn']},_0x1212c5={'unitId':_0x213438,'subUnitId':_0x4ff11b[_0x246bf8(0x31b)],'sheetName':_0x470d9f,'range':{'startRow':_0x5f0cf3[_0x246bf8(0x40b)]+_0x3cf49c['row'],'endRow':_0x5f0cf3[_0x246bf8(0x40b)]+_0x3cf49c['row']+_0x5a01ec['range'][_0x246bf8(0x1e3)]-_0x5a01ec[_0x246bf8(0x45e)]['startRow'],'startColumn':_0x5f0cf3[_0x246bf8(0x457)]+_0x3cf49c[_0x246bf8(0x444)],'endColumn':_0x5f0cf3[_0x246bf8(0x457)]+_0x3cf49c[_0x246bf8(0x444)]+_0x5a01ec[_0x246bf8(0x45e)]['endColumn']-_0x5a01ec[_0x246bf8(0x45e)][_0x246bf8(0x457)]}};_0x5526da['handleMoveRange'](_0x2e9381,_0x1212c5);const _0x47db09={..._0x333d82,'sourceRangeInfo':_0x1212c5};this[_0x246bf8(0x27d)](_0x213438,_0x4ff11b['subUnitId'],_0x2e9381,_0x47db09),this['broadcastCollectionChange']({'unitId':_0x213438,'token':_0x2e9381,'type':_0x2f7cb0[_0x246bf8(0x35a)],'oldSourceRangeInfo':_0x5a01ec,'dataRangeInfo':_0x1212c5,'targetCellInfo':_0x333d82[_0x246bf8(0x481)]}),this[_0x246bf8(0x330)]({'unitId':_0x213438,'subUnitId':_0x4ff11b[_0x246bf8(0x31b)],'oldSubUnitId':_0x329bdc,'pivotTableId':_0x2e9381,'pivotTableConfig':_0x47db09,'collectionConfig':_0x5526da['toJSON']()});}}}}[_0x582ad3(0x474)](_0x216e99){const _0x57b2d6=_0x582ad3;this['_collectionChange$'][_0x57b2d6(0x2da)](_0x216e99);}[_0x582ad3(0x43c)](_0x20d240){const _0x31234f=_0x582ad3;let _0x5bffbb=this[_0x31234f(0x459)]['get'](_0x20d240);return _0x5bffbb||(_0x5bffbb=new _0x5e92fb(this,this[_0x31234f(0x3b4)]),this[_0x31234f(0x459)]['set'](_0x20d240,_0x5bffbb)),_0x5bffbb;}[_0x582ad3(0x33d)](_0x1a6950,_0x4c9eac){const _0x45e521=_0x582ad3;return this['getDataFieldManager'](_0x1a6950)[_0x45e521(0x23c)][_0x4c9eac];}[_0x582ad3(0x1d2)](_0x498ac9,_0x4da923,_0x1cd296){const _0x26c1d0=_0x582ad3;return this[_0x26c1d0(0x43c)](_0x498ac9)[_0x26c1d0(0x1d2)](_0x4da923,_0x1cd296);}[_0x582ad3(0x448)](_0x2f6c78,_0xde23e2){const _0x39aeeb=_0x582ad3;let _0x5ac85b=this['_model'][_0x39aeeb(0x313)](_0x2f6c78);_0x5ac85b||(_0x5ac85b=new Map(),this[_0x39aeeb(0x49c)][_0x39aeeb(0x312)](_0x2f6c78,_0x5ac85b));let _0x1846f4=_0x5ac85b[_0x39aeeb(0x313)](_0xde23e2);return _0x1846f4||(_0x1846f4=new Map(),_0x5ac85b[_0x39aeeb(0x312)](_0xde23e2,_0x1846f4)),_0x1846f4;}[_0x582ad3(0x27d)](_0x169016,_0xd9d999,_0x34c2f4,_0x196967){const _0x83c5dc=_0x582ad3;this['_ensurePivotMap'](_0x169016,_0xd9d999)[_0x83c5dc(0x312)](_0x34c2f4,_0x196967);}['_deleteModelCache'](_0x801e59,_0x15004b,_0x18443d){const _0x4c67cf=_0x582ad3;var _0x3088fb,_0x2ef4f4,_0x1a74a9,_0x2960aa;(_0x2ef4f4=(_0x3088fb=this[_0x4c67cf(0x49c)][_0x4c67cf(0x313)](_0x801e59))==null?void 0x0:_0x3088fb['get'](_0x15004b))!=null&&_0x2ef4f4[_0x4c67cf(0x313)](_0x18443d)&&((_0x2960aa=(_0x1a74a9=this[_0x4c67cf(0x49c)][_0x4c67cf(0x313)](_0x801e59))==null?void 0x0:_0x1a74a9[_0x4c67cf(0x313)](_0x15004b))==null||_0x2960aa[_0x4c67cf(0x4ba)](_0x18443d));}[_0x582ad3(0x268)](_0x49a664,_0x16d5ab){const _0x3f6197=_0x582ad3;this[_0x3f6197(0x2c3)][_0x3f6197(0x312)](_0x49a664,_0x16d5ab);}[_0x582ad3(0x4c6)](_0x3c8c07){const _0x36fc6e=_0x582ad3;this[_0x36fc6e(0x2c3)][_0x36fc6e(0x4ba)](_0x3c8c07);}[_0x582ad3(0x437)](_0x121806,_0x2edbe5){const _0x25a1db=_0x582ad3;let _0x219d6b=this[_0x25a1db(0x2b5)][_0x25a1db(0x313)](_0x121806);_0x219d6b||(_0x219d6b=new Map(),this[_0x25a1db(0x2b5)][_0x25a1db(0x312)](_0x121806,_0x219d6b));let _0x367f79=_0x219d6b[_0x25a1db(0x313)](_0x2edbe5);return _0x367f79||(_0x367f79=new Map(),_0x219d6b[_0x25a1db(0x312)](_0x2edbe5,_0x367f79)),_0x367f79;}['updateConfig'](_0x3c2862){const _0x692c58=_0x582ad3,{unitId:_0x277d5c,subUnitId:_0x1b50ef,pivotTableId:_0x43ab31,pivotTableConfig:_0x19c0f4,collectionConfig:_0x4027ea}=_0x3c2862,_0x534ac0={'unitId':_0x277d5c,'subUnitId':_0x1b50ef,'oldSubUnitId':_0x1b50ef,'pivotTableId':_0x43ab31,'pivotTableConfig':_0x19c0f4,'collectionConfig':_0x4027ea};this['_commandService'][_0x692c58(0x3a6)](_0x189960['id'],_0x534ac0,{'onlyLocal':!0x0});}[_0x582ad3(0x30f)](_0x81237b,_0x30263e,_0x4c1854,_0x39e889,_0x4d7fa1,_0x5bf02e,_0x4c2909,_0x34653a=!0x1){const _0x3e5c25=_0x582ad3;var _0x5b43e8;this[_0x3e5c25(0x47c)]['executeCommand'](_0x319e9a['id'],{'single':{'unitId':_0x81237b,'subUnitId':_0x30263e,'type':_0x4c1854,'pivotTableId':_0x39e889,'view':_0x4d7fa1,'pivotConfig':_0x5bf02e},'collectionConfig':{[_0x81237b]:_0x4c2909}},{'onlyLocal':!0x0});const _0x1f5b47=!!((_0x5b43e8=this[_0x3e5c25(0x2d6)](_0x39e889))!=null&&_0x5b43e8['isEmpty']()),_0x3d7c1a=this[_0x3e5c25(0x1e7)](_0x81237b,_0x30263e,_0x39e889);_0x3d7c1a&&this[_0x3e5c25(0x416)]({'view':_0x4d7fa1,'pivotTableId':_0x39e889,'textInfo':this[_0x3e5c25(0x303)](),'isEmpty':_0x1f5b47,'targetCellInfo':_0x3d7c1a['targetCellInfo']},_0x34653a);}[_0x582ad3(0x416)](_0x5e637b,_0x99b3c0){const _0x14b75c=_0x582ad3,{targetCellInfo:_0x1c9d7c,pivotTableId:_0x2cc63e}=_0x5e637b,{unitId:_0x12a448,subUnitId:_0x47a20e}=_0x1c9d7c,_0x178fda=this[_0x14b75c(0x437)](_0x12a448,_0x47a20e),_0x41be8d=_0x178fda[_0x14b75c(0x313)](_0x2cc63e);let _0x5d4ce9,_0x171481;_0x41be8d&&(_0x5d4ce9=_0x41be8d[_0x14b75c(0x2e3)],_0x171481=_0x41be8d[_0x14b75c(0x249)]);const {rangesCache:_0x2266df,matrix:_0x270435}=_0x4d5444(_0x5e637b);_0x178fda[_0x14b75c(0x312)](_0x2cc63e,{'rangeCache':_0x2266df,'matrix':_0x270435,'oldMatrix':_0x171481,'oldRangeCache':_0x5d4ce9}),_0x99b3c0||this[_0x14b75c(0x2a2)][_0x14b75c(0x2da)]({'unitId':_0x12a448,'subUnitId':_0x47a20e,'pivotTableId':_0x2cc63e});}[_0x582ad3(0x3b9)](_0xa7d9e3,_0x43d59b,_0xbaaa03,_0x3b0fc9,_0x43131c){const _0x203985=_0x582ad3;this[_0x203985(0x27d)](_0xa7d9e3,_0x43d59b,_0xbaaa03,_0x43131c),this['_updatePivotTableInstanceCache'](_0xbaaa03,_0x3b0fc9);}['removePivotTable'](_0x38fd05,_0x25fa67,_0x233a13){const _0x5668cf=_0x582ad3,_0x5f1c79=this[_0x5668cf(0x43c)](_0x38fd05);_0x5f1c79[_0x5668cf(0x20c)](_0x233a13)[_0x5668cf(0x363)](_0x49688f=>{_0x5f1c79['deleteDataField'](_0x49688f);}),this[_0x5668cf(0x3f0)](_0x38fd05,_0x233a13),this[_0x5668cf(0x4c1)](_0x38fd05,_0x25fa67,_0x233a13),this[_0x5668cf(0x4c6)](_0x233a13);}[_0x582ad3(0x398)](_0xb5d7a3,_0x380ad5,_0x27446b,_0x1d282d){this['_updateModelCache'](_0xb5d7a3,_0x380ad5,_0x27446b,_0x1d282d);}[_0x582ad3(0x1e7)](_0x28e204,_0x131298,_0x3ba252){const _0x391543=_0x582ad3;var _0x423406,_0x3ecc4f;const _0x582292=(_0x3ecc4f=(_0x423406=this['_model']['get'](_0x28e204))==null?void 0x0:_0x423406[_0x391543(0x313)](_0x131298))==null?void 0x0:_0x3ecc4f[_0x391543(0x313)](_0x3ba252);if(_0x582292)return _0x582292;}[_0x582ad3(0x435)](_0x510f20,_0x5c804b,_0x21dbac){const _0x4f2510=_0x582ad3;var _0x1c0f99,_0x2f913c;const _0x36ef88=(_0x2f913c=(_0x1c0f99=this['_model'][_0x4f2510(0x313)](_0x510f20))==null?void 0x0:_0x1c0f99[_0x4f2510(0x313)](_0x5c804b))==null?void 0x0:_0x2f913c[_0x4f2510(0x313)](_0x21dbac);if(_0x36ef88)return _0x36ef88['fieldsConfig'];}[_0x582ad3(0x2d6)](_0x29290f){const _0x67cdfc=_0x582ad3;return this[_0x67cdfc(0x2c3)][_0x67cdfc(0x313)](_0x29290f);}[_0x582ad3(0x355)](_0x46ad08){const _0x54d556=_0x582ad3;this[_0x54d556(0x49c)][_0x54d556(0x4ba)](_0x46ad08);const _0x235fb8=this['_dataFieldManagerCollection']['get'](_0x46ad08);_0x235fb8&&(_0x235fb8[_0x54d556(0x3e2)](),this[_0x54d556(0x459)][_0x54d556(0x4ba)](_0x46ad08)),this[_0x54d556(0x2b5)][_0x54d556(0x4ba)](_0x46ad08),this['needSameDeleteModel']['forEach'](_0x1c2e67=>{const _0x90abaa=_0x54d556;_0x1c2e67[_0x90abaa(0x355)](_0x46ad08);});}[_0x582ad3(0x4d0)](_0x446679,_0x3ac905,_0x354a57,_0x418966){const _0x2ed945=_0x582ad3;return this[_0x2ed945(0x43c)](_0x354a57[_0x2ed945(0x253)])[_0x2ed945(0x4d0)](_0x446679,_0x3ac905,_0x354a57,_0x418966);}['createCollectionWithDataRange'](_0x43a2e1){const _0x2a118d=_0x582ad3;return this['getDataFieldManager'](_0x43a2e1[_0x2a118d(0x253)])[_0x2a118d(0x425)](_0x43a2e1);}[_0x582ad3(0x29d)](_0x1a5be0,_0x401f7e,_0x588137){const _0x15b1e3=_0x582ad3;this[_0x15b1e3(0x43c)](_0x588137[_0x15b1e3(0x253)])['refreshData'](_0x1a5be0,_0x401f7e,_0x588137);}[_0x582ad3(0x1c1)](_0x2fe702,_0x1cc984){const _0x1150ea=_0x582ad3;this[_0x1150ea(0x43c)](_0x2fe702)['deleteDataField'](_0x1cc984);}[_0x582ad3(0x3f0)](_0x4cca2f,_0x48ab08){const _0x268a84=_0x582ad3;this[_0x268a84(0x43c)](_0x4cca2f)[_0x268a84(0x493)](_0x48ab08);}[_0x582ad3(0x49b)](_0x2a688e,_0x4b9dbe){const _0x323de2=_0x582ad3;var _0x112c58;return(_0x112c58=this[_0x323de2(0x49c)][_0x323de2(0x313)](_0x2a688e))==null?void 0x0:_0x112c58[_0x323de2(0x313)](_0x4b9dbe);}['getTargetByPivotId'](_0xbd2eac){const _0x4fb64f=_0x582ad3;for(const [_0x97da88,_0x2f1121]of this[_0x4fb64f(0x49c)][_0x4fb64f(0x46a)]())for(const [_0x278e4a,_0x1623dd]of _0x2f1121['entries']())if(_0x1623dd[_0x4fb64f(0x426)](_0xbd2eac))return{'unitId':_0x97da88,'subUnitId':_0x278e4a};return null;}[_0x582ad3(0x376)](_0x512e70,_0x5db6ed,_0x271a85,_0x3f36df){const _0x40c55e=_0x582ad3,_0x5770ef=this[_0x40c55e(0x437)](_0x512e70,_0x5db6ed);_0x3f36df?_0x5770ef[_0x40c55e(0x312)](_0x271a85,_0x3f36df):_0x5770ef[_0x40c55e(0x4ba)](_0x271a85),this[_0x40c55e(0x2a2)][_0x40c55e(0x2da)]({'unitId':_0x512e70,'subUnitId':_0x5db6ed,'pivotTableId':_0x271a85});}['dispose'](){const _0x2372a5=_0x582ad3;super[_0x2372a5(0x3e2)](),this['_model'][_0x2372a5(0x40a)](),this[_0x2372a5(0x2c3)][_0x2372a5(0x40a)](),this[_0x2372a5(0x2b5)][_0x2372a5(0x40a)](),this[_0x2372a5(0x2c4)][_0x2372a5(0x225)](),this[_0x2372a5(0x2a2)]['complete'](),this[_0x2372a5(0x445)][_0x2372a5(0x225)](),this[_0x2372a5(0x459)][_0x2372a5(0x363)](_0x2da5bb=>_0x2da5bb[_0x2372a5(0x3e2)]()),this['_dataFieldManagerCollection']['clear']();}[_0x582ad3(0x2db)](_0x3add97,_0x262bcb,_0x449e19){const _0x39c164=_0x582ad3;var _0x5ca648,_0x1a4f27;const _0x824b7e=(_0x1a4f27=(_0x5ca648=this[_0x39c164(0x2b5)][_0x39c164(0x313)](_0x3add97))==null?void 0x0:_0x5ca648[_0x39c164(0x313)](_0x262bcb))==null?void 0x0:_0x1a4f27[_0x39c164(0x313)](_0x449e19);return _0x824b7e||null;}['addDirtyPivotTable'](_0x174949){const _0x47dfb1=_0x582ad3;this[_0x47dfb1(0x413)](_0x174949);}[_0x582ad3(0x413)](_0x5e6f2f){const _0x215b81=_0x582ad3,{token:_0x1c24e1,unitId:_0x2d913e,subUnitId:_0x4dfbd9}=_0x5e6f2f,_0x1b56d0=_0x2d913e+'-'+_0x4dfbd9+'-'+_0x1c24e1;this[_0x215b81(0x3fb)][_0x215b81(0x313)](_0x1b56d0)&&clearTimeout(this[_0x215b81(0x3fb)][_0x215b81(0x313)](_0x1b56d0));const _0x5a10b6=setTimeout(()=>{const _0x5e5ecf=_0x215b81;this[_0x5e5ecf(0x309)](_0x5e6f2f),this['_queryingMap'][_0x5e5ecf(0x4ba)](_0x1b56d0);},_0x4dacd5);this[_0x215b81(0x3fb)][_0x215b81(0x312)](_0x1b56d0,_0x5a10b6);}['queryDirtyPivotTable'](_0x41dde1){const _0x316843=_0x582ad3,{unitId:_0x486b16,subUnitId:_0x263962,token:_0x48310c,type:_0x32e682,pivotConfig:_0x58fb41}=_0x41dde1,_0x2f0eee=this[_0x316843(0x2d6)](_0x48310c),_0x252503=_0x2f0eee==null?void 0x0:_0x2f0eee[_0x316843(0x220)](),_0x337397=_0x58fb41!=null?_0x58fb41:this[_0x316843(0x1e7)](_0x486b16,_0x263962,_0x48310c);_0x337397&&(_0x337397['isEmpty']=!!(_0x2f0eee!=null&&_0x2f0eee[_0x316843(0x325)]())),(_0x252503||_0x32e682===_0x106039[_0x316843(0x306)])&&this['updateView'](_0x486b16,_0x263962,_0x32e682,_0x48310c,_0x252503,_0x337397,this[_0x316843(0x43c)](_0x486b16)[_0x316843(0x37b)]());}[_0x582ad3(0x37b)](_0xb037f5){const _0x5976af=_0x582ad3,_0x36a0f8={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5976af(0x43c)](_0xb037f5)&&(_0x36a0f8[_0x5976af(0x4cb)][_0xb037f5]=this[_0x5976af(0x43c)](_0xb037f5)[_0x5976af(0x37b)]()),this[_0x5976af(0x49c)]['get'](_0xb037f5)){_0x36a0f8['pivotTableConfigs'][_0xb037f5]={};const _0x4926c6=this['_model'][_0x5976af(0x313)](_0xb037f5);_0x4926c6!=null&&_0x4926c6['size']&&[..._0x4926c6[_0x5976af(0x25a)]()][_0x5976af(0x363)](_0x3d587a=>{const _0x5540ee=_0x5976af,_0x46f10f=_0x4926c6[_0x5540ee(0x313)](_0x3d587a);_0x46f10f!=null&&_0x46f10f[_0x5540ee(0x28b)]&&(_0x36a0f8[_0x5540ee(0x403)][_0xb037f5][_0x3d587a]={},[..._0x46f10f[_0x5540ee(0x25a)]()][_0x5540ee(0x363)](_0x17a1fb=>{const _0x4c87a2=_0x5540ee,_0x574b6f=_0x46f10f[_0x4c87a2(0x313)](_0x17a1fb);_0x574b6f&&(_0x36a0f8[_0x4c87a2(0x403)][_0xb037f5][_0x3d587a][_0x17a1fb]=_0x574b6f);}));});}return _0x36a0f8;}['fromJSON'](_0x301c90){const _0x2d17fc=_0x582ad3;var _0x585232;const {dataFieldManagerConfig:_0xabbd9c,pivotTableConfigs:_0x276816}=_0x301c90;_0xabbd9c&&Object[_0x2d17fc(0x25a)](_0xabbd9c)[_0x2d17fc(0x363)](_0x195d3c=>{const _0x3e3260=_0x2d17fc;this[_0x3e3260(0x43c)](_0x195d3c)[_0x3e3260(0x324)](_0xabbd9c[_0x195d3c]);});const _0x4370d8=[];if(_0x276816){const _0x18b6f4=(_0x585232=this[_0x2d17fc(0x1cf)][_0x2d17fc(0x313)](_0x434acf[_0x2d17fc(0x2fe)])[_0x2d17fc(0x452)](_0x28d1ac[_0x2d17fc(0x461)]))!=null?_0x585232:{},{ls:_0x17ffa9,pbk:_0x4f280d}=_0x18b6f4,_0x4d6a84=_0x3a3421(_0x50bdbf,_0x17ffa9,_0x4f280d)[_0x2d17fc(0x39c)];Object[_0x2d17fc(0x25a)](_0x276816)[_0x2d17fc(0x363)](_0x9082c=>{const _0x36da12=_0x2d17fc;let _0x1df100=0x0;const _0x3fc672=_0x276816[_0x9082c];Object[_0x36da12(0x25a)](_0x3fc672)[_0x36da12(0x363)](_0x21447a=>{const _0x1c9164=_0x36da12,_0x5d08e1=_0x3fc672[_0x21447a];Object[_0x1c9164(0x25a)](_0x5d08e1)[_0x1c9164(0x363)](_0x132b79=>{const _0x105967=_0x1c9164,_0x2a8eb7=_0x5d08e1[_0x132b79];if(_0x2a8eb7){if(_0x1df100>=_0x4d6a84)return;_0x1df100++;const _0x27f598=this[_0x105967(0x43c)](_0x9082c),_0x510f7f=_0x27f598[_0x105967(0x23c)][_0x132b79],_0x27e260=_0x510f7f[_0x105967(0x337)]();let _0x4a9503=0x0;const _0x28f387=[];for(const _0xc47bcc of _0x27e260){const _0x486bac=_0x510f7f[_0x105967(0x298)](_0xc47bcc);if(_0x469b30[_0x105967(0x48e)](_0x486bac)){const _0x3bdff2=_0x486bac[_0x105967(0x384)](),_0xc89259=_0x510f7f[_0x105967(0x298)](_0x3bdff2);_0xc89259&&_0x28f387[_0x105967(0x248)]([_0x486bac,_0xc89259]);continue;}_0x27f598[_0x105967(0x1c8)](_0xc47bcc,_0x2a8eb7[_0x105967(0x471)],_0x4a9503),_0x4a9503++;}_0x28f387[_0x105967(0x363)](([_0x558625,_0x2b8825])=>{const _0x3026bf=_0x105967;_0x558625[_0x3026bf(0x37a)](_0x2b8825);});const _0x126d22=new _0x469b30[(_0x105967(0x3d5))](_0x510f7f);_0x126d22[_0x105967(0x324)](_0x2a8eb7[_0x105967(0x1f7)]),this[_0x105967(0x3b9)](_0x9082c,_0x21447a,_0x132b79,_0x126d22,_0x2a8eb7);const _0x5ee6f8=_0x126d22[_0x105967(0x220)]();_0x4370d8[_0x105967(0x248)]({'unitId':_0x9082c,'subUnitId':_0x21447a,'pivotTableId':_0x132b79,'view':_0x5ee6f8[_0x105967(0x37b)](),'pivotConfig':_0x2a8eb7,'type':_0x106039[_0x105967(0x397)]});const _0x5d0f55=!!_0x126d22['isEmpty'](),_0x3ee9cd={'view':_0x5ee6f8,'pivotTableId':_0x132b79,'textInfo':this['getTextInfo'](),'isEmpty':_0x5d0f55,'targetCellInfo':_0x2a8eb7[_0x105967(0x481)]};this[_0x105967(0x416)](_0x3ee9cd,!0x1);}});});});}_0xabbd9c&&Object[_0x2d17fc(0x25a)](_0xabbd9c)[_0x2d17fc(0x363)](_0xd384af=>{const _0x2be26b=_0x2d17fc,_0x97fa49=this[_0x2be26b(0x43c)](_0xd384af);this[_0x2be26b(0x445)][_0x2be26b(0x2da)](_0x97fa49['collections']);}),this['_commandService'][_0x2d17fc(0x3a6)](_0x319e9a['id'],{'batch':_0x4370d8,'collectionConfig':_0xabbd9c},{'onlyLocal':!0x0});}[_0x582ad3(0x411)](){const _0x10d848=_0x582ad3;this['disposeWithMe'](this[_0x10d848(0x415)][_0x10d848(0x1fa)]({'toJson':_0x2e423b=>JSON['stringify'](this['toJSON'](_0x2e423b)),'parseJson':_0xb2e5d5=>{if(!_0xb2e5d5)return{};try{return JSON['parse'](_0xb2e5d5);}catch{return{};}},'businesses':[_0x434acf[_0x10d848(0x4c7)][_0x10d848(0x24a)]],'pluginName':_0x552bab,'onLoad':(_0x3ddbda,_0xf8fd23)=>{const _0x23c717=_0x10d848;this[_0x23c717(0x324)](_0xf8fd23);},'onUnLoad':_0x59cda8=>{const _0x2df090=_0x10d848;this[_0x2df090(0x355)](_0x59cda8);}}));}},_0x39b78f[_0x582ad3(0x486)]=_0x25b4ba([_0x389e9b(0x0,_0x434acf['Inject'](_0x434acf['Injector'])),_0x389e9b(0x1,_0x434acf[_0x582ad3(0x2e5)]),_0x389e9b(0x2,_0x434acf[_0x582ad3(0x3bd)](_0x434acf['LifecycleService'])),_0x389e9b(0x3,_0x434acf[_0x582ad3(0x388)]),_0x389e9b(0x4,_0x434acf[_0x582ad3(0x3bd)](_0x434acf['IResourceManagerService']))],_0x39b78f['SheetsPivotDataSourceModel']);const _0x25c7c9={0x0:{0x0:{'v':_0x582ad3(0x3bf),'s':_0x44d87a}},0x2:{0x1:{'v':'','s':_0x44d87a},0x2:{'v':'','s':_0x44d87a},0x3:{'v':_0x582ad3(0x2a6),'s':_0x44d87a},0x4:{'v':'','s':_0x44d87a},0x5:{'v':'','s':_0x44d87a}},0x3:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0x4:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0x5:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0x6:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0x7:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0x8:{0x0:{'v':'row','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':_0x582ad3(0x495),'s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0x9:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0xa:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0xb:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0xc:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}},0xd:{0x0:{'v':'','s':_0x44d87a},0x1:{'v':'','s':_0x1d96b8},0x2:{'v':'','s':_0x1d96b8},0x3:{'v':'','s':_0x1d96b8},0x4:{'v':'','s':_0x1d96b8},0x5:{'v':'','s':_0x1d96b8}}},_0x53d891={'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':[]},_0x37622f=(_0x4b444a,_0x537bf5)=>{const _0x5d4e19=_0x582ad3,_0x3c7054=new _0x434acf['ObjectMatrix'](),_0x3d4d4e=new _0x434acf['ObjectMatrix'](_0x25c7c9),{row:_0x2a32d9,col:_0x3cc6fd}=_0x537bf5;_0x3d4d4e[_0x5d4e19(0x304)]((_0x50f0c3,_0x4694d0,_0x1d8978)=>{const _0x22b57b=_0x5d4e19;let _0x5a9db1='';_0x1d8978['v']===_0x22b57b(0x3bf)?_0x5a9db1=_0x4b444a['filter']:_0x1d8978['v']==='row'?_0x5a9db1=_0x4b444a[_0x22b57b(0x1e1)]:_0x1d8978['v']===_0x22b57b(0x2a6)?_0x5a9db1=_0x4b444a['column']:_0x1d8978['v']===_0x22b57b(0x495)&&(_0x5a9db1=_0x4b444a[_0x22b57b(0x495)]),_0x3c7054[_0x22b57b(0x263)](_0x50f0c3+_0x2a32d9,_0x4694d0+_0x3cc6fd,{..._0x1d8978,'v':_0x5a9db1});});const _0x1fdef2=_0x434acf['Tools']['deepClone'](_0x53d891);return Object[_0x5d4e19(0x25a)](_0x53d891)[_0x5d4e19(0x363)](_0x55d9ec=>{const _0x2d6f69=_0x5d4e19;_0x1fdef2[_0x55d9ec]=_0x53d891[_0x55d9ec][_0x2d6f69(0x3f2)](_0x492d30=>({..._0x492d30,'startRow':_0x492d30[_0x2d6f69(0x40b)]+_0x2a32d9,'endRow':_0x492d30[_0x2d6f69(0x1e3)]+_0x2a32d9,'startColumn':_0x492d30[_0x2d6f69(0x457)]+_0x3cc6fd,'endColumn':_0x492d30[_0x2d6f69(0x2cc)]+_0x3cc6fd}));}),{'matrixCache':_0x3c7054,'rangesCache':_0x1fdef2};};function _0xbc617b(_0x2d86dd,_0x3dd8a1){const _0x2ae02f=_0x582ad3;let _0x1a71c3='';const _0x154fdd=this['getTextInfo']();switch(_0x3dd8a1){case _0x469b30['PivotSubtotalTypeEnum'][_0x2ae02f(0x47b)]:_0x1a71c3=_0x154fdd[_0x2ae02f(0x487)]+_0x2d86dd;break;case _0x469b30['PivotSubtotalTypeEnum'][_0x2ae02f(0x39c)]:_0x1a71c3=_0x154fdd[_0x2ae02f(0x2b7)]+_0x2d86dd;break;case _0x469b30[_0x2ae02f(0x264)][_0x2ae02f(0x26f)]:_0x1a71c3=_0x154fdd[_0x2ae02f(0x399)]+_0x2d86dd;break;case _0x469b30['PivotSubtotalTypeEnum'][_0x2ae02f(0x365)]:_0x1a71c3=_0x154fdd['sheets-pivot.maxName']+_0x2d86dd;break;case _0x469b30['PivotSubtotalTypeEnum']['min']:_0x1a71c3=_0x154fdd['sheets-pivot.minName']+_0x2d86dd;break;case _0x469b30[_0x2ae02f(0x264)][_0x2ae02f(0x3fe)]:_0x1a71c3=_0x154fdd[_0x2ae02f(0x2ca)]+_0x2d86dd;break;case _0x469b30[_0x2ae02f(0x264)][_0x2ae02f(0x441)]:_0x1a71c3=_0x154fdd[_0x2ae02f(0x230)]+_0x2d86dd;break;case _0x469b30['PivotSubtotalTypeEnum'][_0x2ae02f(0x473)]:_0x1a71c3=_0x154fdd[_0x2ae02f(0x301)]+_0x2d86dd;break;case _0x469b30[_0x2ae02f(0x264)]['sum']:_0x1a71c3=_0x154fdd['sheets-pivot.sumName']+_0x2d86dd;break;case _0x469b30['PivotSubtotalTypeEnum']['var']:_0x1a71c3=_0x154fdd['sheets-pivot.varName']+_0x2d86dd;break;case _0x469b30['PivotSubtotalTypeEnum'][_0x2ae02f(0x4b5)]:_0x1a71c3=_0x154fdd[_0x2ae02f(0x3d1)]+_0x2d86dd;break;default:_0x1a71c3=_0x2d86dd;break;}return _0x1a71c3;}function _0x3f6f1b(_0xba17bd,_0x2542e5,_0x2ffd0c,_0x2c693b,_0x293198){const _0x2724be=_0x582ad3;var _0x10f71e,_0x54e44d,_0x57d781,_0xeb32c1,_0x5b88a7;const _0x5e56a7=_0x434acf[_0x2724be(0x3ec)](_0xba17bd,_0x2542e5),{rangesInfo:_0x1c2122,areaInfo:_0x5b707e,headerMap:_0x173694}=_0x293198;if(!_0x1c2122||!_0x5b707e||!_0x173694)return;const _0x2a56d8=Object['keys'](_0x1c2122)[_0x2724be(0x4aa)](_0x599492=>_0x1c2122[_0x599492]['some'](_0x2b12f7=>_0x434acf[_0x2724be(0x221)]['contains'](_0x2b12f7,_0x5e56a7))),_0x37f58b=_0x5b707e;let _0x17b529,_0xeeb52a,_0x38773d;if(_0x2a56d8===_0x2724be(0x45a))_0x17b529=(_0x10f71e=_0x37f58b==null?void 0x0:_0x37f58b['rowInfo'])==null?void 0x0:_0x10f71e[_0xba17bd],_0xeeb52a=(_0x54e44d=_0x173694==null?void 0x0:_0x173694[_0x2724be(0x41d)])==null?void 0x0:_0x54e44d[_0x2542e5],_0x38773d=_0xeeb52a==null?void 0x0:_0xeeb52a[_0x2724be(0x348)];else{if(_0x2a56d8===_0x2724be(0x434))_0x17b529=(_0x57d781=_0x37f58b==null?void 0x0:_0x37f58b[_0x2724be(0x383)])==null?void 0x0:_0x57d781[_0x2542e5],_0xeeb52a=(_0xeb32c1=_0x173694[_0x2724be(0x2eb)])==null?void 0x0:_0xeb32c1[_0xba17bd+0x1+_0x2542e5-_0x1c2122[_0x2724be(0x434)][0x0][_0x2724be(0x457)]],_0x38773d=_0xeeb52a==null?void 0x0:_0xeeb52a['tableFieldId'];else{if(_0x2a56d8===_0x2724be(0x48c))_0x17b529=(_0x5b88a7=_0x37f58b==null?void 0x0:_0x37f58b[_0x2724be(0x45d)])==null?void 0x0:_0x5b88a7[_0x2542e5],_0x38773d=_0x17b529==null?void 0x0:_0x17b529[_0x2724be(0x348)];else{if(_0x2a56d8===_0x2724be(0x237)){const _0x4a03c9=_0x2ffd0c==null?void 0x0:_0x2ffd0c['fi'];_0x4a03c9!==void 0x0&&(_0x38773d=_0x2c693b['getFilterFieldIdByIndex'](_0x4a03c9));}}}}return{'filterId':_0x38773d,'info':_0x17b529,'data':_0x2ffd0c,'headerInfo':_0xeeb52a};}function _0x2dbc29(_0x5945ac,_0x1d8a27,_0x49e2bb){const _0x32dd2c=_0x582ad3,_0x48f53d=_0x5945ac[_0x32dd2c(0x45f)],_0x22c03a=_0x48f53d[_0x32dd2c(0x337)](),_0x36344f=new Set();_0x5945ac[_0x32dd2c(0x1f0)](_0x31f35d=>{const _0x464b70=_0x32dd2c;_0x36344f[_0x464b70(0x41a)](_0x31f35d[_0x464b70(0x37c)]);});const _0x23cbb0=_0x22c03a[_0x32dd2c(0x3f2)](_0x571e34=>{const _0x165147=_0x32dd2c,_0x119ea8=_0x48f53d['getFieldById'](_0x571e34);return{'checked':_0x36344f['has'](_0x571e34),'dataFieldId':_0x119ea8['id'],'id':_0x119ea8['id'],'name':_0x48f53d[_0x165147(0x275)](_0x119ea8['id']),'type':_0x119ea8[_0x165147(0x2cd)](),'pivotTableId':_0x1d8a27};}),_0x3182d1=[];_0x5945ac['iterateFieldByArea'](_0x469b30[_0x32dd2c(0x4c5)][_0x32dd2c(0x492)],_0x2d3a1e=>{const _0x2d7081=_0x32dd2c;_0x3182d1['push']({'dataFieldId':_0x2d3a1e[_0x2d7081(0x37c)],'tableFieldId':_0x2d3a1e[_0x2d7081(0x2b6)](),'displayName':_0x2d3a1e['getDisplayName']()});});const _0x24755b=[];_0x5945ac['iterateFieldByArea'](_0x469b30[_0x32dd2c(0x4c5)][_0x32dd2c(0x412)],_0x29fbec=>{const _0x3d9739=_0x32dd2c;_0x24755b['push']({'dataFieldId':_0x29fbec[_0x3d9739(0x37c)],'tableFieldId':_0x29fbec['getId'](),'displayName':_0x29fbec[_0x3d9739(0x275)]()});});const _0x1cbb48=[];if(_0x5945ac[_0x32dd2c(0x291)](_0x469b30[_0x32dd2c(0x4c5)]['Value'],_0x166e73=>{const _0x2c6778=_0x32dd2c;_0x1cbb48[_0x2c6778(0x248)]({'dataFieldId':_0x166e73[_0x2c6778(0x37c)],'tableFieldId':_0x166e73['getId'](),'displayName':_0x166e73[_0x2c6778(0x275)](),'format':_0x166e73[_0x2c6778(0x432)](),'subTotalType':_0x166e73[_0x2c6778(0x37e)]()});}),_0x1cbb48[_0x32dd2c(0x29c)]>0x1){const _0x476bb6=_0x5945ac['getValueIndex']();(_0x5945ac[_0x32dd2c(0x2be)]()?_0x24755b:_0x3182d1)[_0x32dd2c(0x2a9)](_0x476bb6,0x0,{'dataFieldId':'','tableFieldId':_0x32dd2c(0x46d),'displayName':'ΣValue'});}const _0x165bd4=[];_0x5945ac[_0x32dd2c(0x291)](_0x469b30[_0x32dd2c(0x4c5)][_0x32dd2c(0x24c)],_0x42640c=>{const _0x103c60=_0x32dd2c;_0x165bd4[_0x103c60(0x248)]({'dataFieldId':_0x42640c[_0x103c60(0x37c)],'tableFieldId':_0x42640c[_0x103c60(0x2b6)](),'displayName':_0x42640c[_0x103c60(0x275)]()});});const _0x2792ad=_0x49e2bb[_0x32dd2c(0x471)];return{'sourceList':_0x23cbb0,'sourceRange':_0x2792ad,'rowFields':_0x3182d1,'columnFields':_0x24755b,'valueFields':_0x1cbb48,'filterFields':_0x165bd4,'positionInfo':_0x49e2bb['targetCellInfo']};}function _0xbde085(_0x5e0e07,_0x2745ba,_0x23381d='',_0x3870a3={}){const _0x16e05c=_0x582ad3,_0x132155=_0x5e0e07['get'](_0x434acf[_0x16e05c(0x3c7)]);for(const _0x4e6f79 in _0x2745ba)if(Object[_0x16e05c(0x3d2)]['hasOwnProperty'][_0x16e05c(0x314)](_0x2745ba,_0x4e6f79)){const _0x40f303=_0x23381d?_0x23381d+'.'+_0x4e6f79:_0x4e6f79;typeof _0x2745ba[_0x4e6f79]=='object'&&_0x2745ba[_0x4e6f79]!==null&&!Array['isArray'](_0x2745ba[_0x4e6f79])?_0xbde085(_0x5e0e07,_0x2745ba[_0x4e6f79],_0x40f303,_0x3870a3):_0x3870a3[_0x40f303]=_0x132155['t'](_0x40f303);}return _0x3870a3;}const _0x101e39=_0x5c7550=>{const _0x581145=_0x582ad3;if(!_0x5c7550)return[];const {rowRanges:_0x11c26f,colRanges:_0x42ac69,cornerRanges:_0x160165,dataRanges:_0xf082f,pageRanges:_0x1ea4d7}=_0x5c7550,_0x525e8c=[..._0x42ac69,..._0x11c26f,..._0xf082f,..._0x160165][_0x581145(0x3bf)](_0x3b76d6=>_0x3b76d6[_0x581145(0x40b)]>=0x0&&_0x3b76d6[_0x581145(0x457)]>=0x0&&_0x3b76d6[_0x581145(0x1e3)]>=0x0&&_0x3b76d6['endColumn']>=0x0);let _0x483718=Number[_0x581145(0x3ee)],_0x1aed73=Number[_0x581145(0x343)],_0x16f2cf=Number[_0x581145(0x3ee)],_0x19cbf1=Number[_0x581145(0x343)];for(let _0x27efb0=0x0;_0x27efb0<_0x525e8c[_0x581145(0x29c)];_0x27efb0++)_0x483718=Math[_0x581145(0x23b)](_0x483718,_0x525e8c[_0x27efb0][_0x581145(0x40b)]),_0x1aed73=Math[_0x581145(0x365)](_0x1aed73,_0x525e8c[_0x27efb0][_0x581145(0x1e3)]),_0x16f2cf=Math[_0x581145(0x23b)](_0x16f2cf,_0x525e8c[_0x27efb0]['startColumn']),_0x19cbf1=Math[_0x581145(0x365)](_0x19cbf1,_0x525e8c[_0x27efb0]['endColumn']);return[..._0x1ea4d7,{'startRow':_0x483718,'endRow':_0x1aed73,'startColumn':_0x16f2cf,'endColumn':_0x19cbf1}];};function _0x466887(_0x232f10,_0x3d6577){const _0x47789d=_0x582ad3,_0x5f512d=_0x3d6577[_0x47789d(0x36d)][_0x47789d(0x382)],{pivotTableId:_0x2c19fc,unitId:_0x545578,subUnitId:_0x3572d7}=_0x3d6577;if(!_0x5f512d)return;const _0x2f0afb=_0x232f10[_0x47789d(0x313)](_0x39b78f[_0x47789d(0x486)]),_0x24bd48=_0x2f0afb['getPivotTableInstance'](_0x2c19fc),_0x479d03=_0x2f0afb[_0x47789d(0x1e7)](_0x545578,_0x3572d7,_0x2c19fc);if(!_0x24bd48||!_0x479d03)return;const _0x295d47=_0x24bd48['getIndexesByPathStr'](_0x5f512d['tuple']);if(!(_0x295d47!=null&&_0x295d47[_0x47789d(0x29c)]))return;const _0x48fe60=_0x479d03[_0x47789d(0x471)],{unitId:_0x1be70a,subUnitId:_0x10044a,range:_0x191d03}=_0x48fe60;let _0x1dcc51=0x0;const _0x2d1259=_0x24bd48[_0x47789d(0x45f)][_0x47789d(0x337)]()['reduce']((_0x3b6112,_0x30d56b)=>{const _0x115163=_0x47789d;var _0x43034d;const _0x2d9cbf=(_0x43034d=_0x24bd48[_0x115163(0x27e)](_0x30d56b))==null?void 0x0:_0x43034d['getformat']();return _0x2d9cbf&&(_0x3b6112[String(_0x1dcc51)]=_0x2d9cbf),_0x1dcc51++,_0x3b6112;},{});return{'indexes':_0x295d47,'range':_0x191d03,'sourceUnitId':_0x1be70a,'sourceSubUnitId':_0x10044a,'formatMap':_0x2d1259};}function _0x3f1a1b(_0x2dcc5e,_0x5d2721){const _0x55447b=_0x582ad3;if(!_0x2dcc5e||!_0x5d2721)return!0x0;const _0xbc04d=_0x28d1ac['unshiftString'](_0x1ce2bf,_0x3df7ea),_0x1efb04=new Function(_0x55447b(0x3a8)+_0xbc04d)()(_0x2dcc5e,_0x5d2721)[_0x55447b(0x3a9)],_0x48ee53=_0x28d1ac[_0x55447b(0x387)](_0x1efb04,'sf',_0x27ec60);return!((_0x1efb04==null?void 0x0:_0x1efb04['rt'])===_0x28d1ac['ReleaseType'][_0x55447b(0x200)]&&!_0x48ee53);}function _0x3a3421(_0x1edca3,_0x105579,_0x5aa697){const _0x285ca9=_0x582ad3,_0x779296={'count':_0x1edca3,'timeValid':!0x1};if(!_0x105579||!_0x5aa697)return _0x779296;const _0x443863=_0x28d1ac[_0x285ca9(0x420)](_0x1ce2bf,_0x3df7ea),_0xd040b4=new Function(_0x285ca9(0x3a8)+_0x443863)()(_0x105579,_0x5aa697);if(_0xd040b4!=null&&_0xd040b4[_0x285ca9(0x2bd)]){const _0x4cb2e9=_0xd040b4[_0x285ca9(0x3a9)],_0x43b345=_0x28d1ac[_0x285ca9(0x387)](_0x4cb2e9,'sf',_0x27ec60);return{'count':_0x28d1ac['getSheetFeatureLimit'](_0x4cb2e9,_0x43b345,_0x285ca9(0x229),_0x1edca3,_0x1edca3,0x0),'timeValid':_0x43b345};}return _0x779296;}function _0xce47c6(_0x5bae74,_0x3be9ab,_0x3c3d5e,_0x11eccf){const _0x1538a8=_0x582ad3,_0x49179a={'subUnitId':_0x3c3d5e,'unitId':_0x3be9ab,'cellValue':_0x24346e['generateNullCell'](_0x11eccf)},_0x56c83a=_0x24346e['SetRangeValuesUndoMutationFactory'](_0x5bae74,_0x49179a);let _0x216de3=!0x1;return new _0x434acf[(_0x1538a8(0x3e3))](_0x56c83a[_0x1538a8(0x254)])['forValue']((_0x3319cb,_0x3aab5e,_0x1c989c)=>{const _0x328950=_0x1538a8;if(!_0x216de3&&_0x1c989c&&(_0x1c989c[_0x328950(0x22c)]||_0x1c989c['f']||_0x1c989c['p']||_0x1c989c['s']||_0x1c989c['si']||_0x1c989c['t']||_0x1c989c['v']))return _0x216de3=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x24346e[_0x1538a8(0x32b)]['id'],'params':_0x56c83a},'setRangeValueRedoMutation':{'id':_0x24346e['SetRangeValuesMutation']['id'],'params':_0x49179a},'shouldClear':_0x216de3};}function _0x366075(_0x44f859){const {row:_0x553044,col:_0x277a5f}=_0x44f859,_0xf91218={'startRow':_0x553044,'endRow':_0x553044,'startColumn':_0x277a5f,'endColumn':_0x277a5f},_0x247af3={'startRow':_0x553044+0x2,'endRow':_0x553044+0xe,'startColumn':_0x277a5f,'endColumn':_0x277a5f+0x6};return[_0xf91218,_0x247af3];}function _0x22d87d(_0x49ffd7,_0x413ab1,_0x4cd45f){const _0x30f589=_0x582ad3,{cornerView:_0x77212f,rowView:_0x5878a3,colView:_0x45a72a,pageView:_0x3e94f8}=_0x49ffd7,{row:_0x10169a,col:_0x310385}=_0x413ab1;if(_0x4cd45f)return{'rowCount':_0x23dd38+_0x10169a,'colCount':_0x5f53eb+_0x310385};const _0x24c576=_0x3e94f8[_0x30f589(0x2f8)]>-0x1?_0x3e94f8[_0x30f589(0x2f8)]+0x1:0x0,_0x3981fc=_0x3e94f8[_0x30f589(0x3fa)]>-0x1?_0x3e94f8[_0x30f589(0x3fa)]:0x0,_0x3549d8=_0x10169a+_0x24c576+(_0x24c576?0x1:0x0)+_0x77212f[_0x30f589(0x28f)]+_0x5878a3['rowCount'],_0x372b26=_0x310385+_0x3981fc,_0x825ac3=_0x310385+_0x77212f[_0x30f589(0x317)]+_0x45a72a[_0x30f589(0x317)],_0x3b4e51=Math[_0x30f589(0x365)](_0x372b26,_0x825ac3);return{'rowCount':_0x3549d8,'colCount':_0x3b4e51};}function _0x38b5cd(_0x5dd857,_0x39b0d5,_0x30f500,_0x154008){const _0x303476=_0x582ad3,{row:_0x6f2dd6,col:_0xf49a5e,unitId:_0x282109,subUnitId:_0x54eaf3}=_0x30f500,_0x562a5f=_0x22d87d(_0x39b0d5,{'row':_0x6f2dd6,'col':_0xf49a5e},_0x154008),_0x8caae6=_0x5dd857[_0x303476(0x313)](_0x434acf[_0x303476(0x2e5)]),_0x1e2bc7=_0x24346e[_0x303476(0x48a)](_0x8caae6,{'unitId':_0x282109,'subUnitId':_0x54eaf3}),_0x3387f1=[],_0x37e8da=[];if(!_0x1e2bc7)return{'undos':_0x37e8da,'redos':_0x3387f1};const {worksheet:_0x52cbde}=_0x1e2bc7,_0x125107=_0x52cbde['getRowCount'](),_0x1d1704=_0x52cbde[_0x303476(0x286)]();return _0x125107<_0x562a5f[_0x303476(0x28f)]&&(_0x3387f1['push']({'id':_0x24346e[_0x303476(0x3b7)]['id'],'params':{'unitId':_0x282109,'subUnitId':_0x54eaf3,'range':{'startRow':_0x125107,'endRow':_0x562a5f[_0x303476(0x28f)]-0x1,'startColumn':0x0,'endColumn':_0x1d1704-0x1}}}),_0x37e8da[_0x303476(0x248)]({'id':_0x24346e[_0x303476(0x466)]['id'],'params':{'unitId':_0x282109,'subUnitId':_0x54eaf3,'range':{'startRow':_0x125107,'endRow':_0x562a5f[_0x303476(0x28f)]-0x1,'startColumn':0x0,'endColumn':_0x1d1704-0x1}}})),_0x1d1704<_0x562a5f[_0x303476(0x317)]&&(_0x3387f1[_0x303476(0x248)]({'id':_0x24346e[_0x303476(0x1d7)]['id'],'params':{'unitId':_0x282109,'subUnitId':_0x54eaf3,'range':{'startRow':0x0,'endRow':_0x125107-0x1,'startColumn':_0x1d1704,'endColumn':_0x562a5f[_0x303476(0x317)]-0x1}}}),_0x37e8da[_0x303476(0x248)]({'id':_0x24346e[_0x303476(0x255)]['id'],'params':{'unitId':_0x282109,'subUnitId':_0x54eaf3,'range':{'startRow':0x0,'endRow':_0x125107-0x1,'startColumn':_0x1d1704,'endColumn':_0x562a5f[_0x303476(0x317)]-0x1}}})),{'undos':_0x37e8da,'redos':_0x3387f1};}function _0x3f2ef5(_0x89f56c){const _0x303760=_0x582ad3;let _0x50c585=0x0;for(let _0x7fdbbf=0x0;_0x7fdbbf<_0x89f56c[_0x303760(0x29c)];_0x7fdbbf++){const _0x2a0a11=_0x89f56c['charCodeAt'](_0x7fdbbf);_0x2a0a11>=0x4e00&&_0x2a0a11<=0x9fff||_0x2a0a11>=0x3000&&_0x2a0a11<=0x303f||_0x2a0a11>=0xff00&&_0x2a0a11<=0xffef?_0x50c585+=0x2:_0x50c585+=0x1;}return _0x50c585;}function _0xce99f8(_0x2bdd01,_0x17f9e8,_0x2c87bc,_0x53139c){const _0x58abf=_0x582ad3;var _0x50e184,_0x28ccc9,_0x1f9441,_0x2d890;const {rowCount:_0x10af9b,colCount:_0xe56917,headerMap:_0x2f64ca}=_0x2bdd01,_0x44d239=0x64,_0x1fb7ee=Math[_0x58abf(0x23b)](_0x10af9b,_0x44d239),_0x41422c=Math[_0x58abf(0x23b)](_0xe56917,_0x44d239);let _0x56d03e='',_0x28d919=0x0;for(let _0x5d20ae=0x0;_0x5d20ae<_0x1fb7ee;_0x5d20ae++)for(let _0x503c13=0x0;_0x503c13<_0x41422c;_0x503c13++){const _0x45d7c6={...(_0x28ccc9=(_0x50e184=_0x2bdd01['data'])==null?void 0x0:_0x50e184[_0x5d20ae])==null?void 0x0:_0x28ccc9[_0x503c13]},_0x25053a=(_0x1f9441=_0x2f64ca[_0x5d20ae])==null?void 0x0:_0x1f9441['tableFieldId'],_0x94119b=_0x53139c[_0x25053a];let _0x478f6e=_0x2bdd01[_0x58abf(0x3f8)](_0x5d20ae,_0x503c13);if(_0x45d7c6){const _0x36bed9=_0x2c87bc?_0x503c13===0x0&&((_0x2d890=_0x2bdd01['getHeaderMapItem'](_0x503c13+0x1))==null?void 0x0:_0x2d890[_0x58abf(0x329)]):!0x1;_0x478f6e=_0x2891c2(_0x45d7c6,_0x36bed9,_0x94119b,_0x17f9e8);}if(_0x478f6e!==void 0x0){const _0x38fe9b=_0x3f2ef5(String(_0x478f6e));_0x28d919<_0x38fe9b&&(_0x56d03e=String(_0x478f6e),_0x28d919=_0x38fe9b);}}return _0x56d03e;}function _0x31fd55(_0x199276){const _0x2d8073=_0x582ad3,{rowCount:_0x258b66,colCount:_0x4c3846}=_0x199276;let _0xc37e09='',_0x213598=0x0;for(let _0x23cb7d=_0x258b66-0x1;_0x23cb7d>0x0&&_0x23cb7d>_0x258b66-0x3;_0x23cb7d--)for(let _0x23a2c1=0x0;_0x23a2c1<_0x4c3846;_0x23a2c1++){const _0x3350f4=_0x199276[_0x2d8073(0x3f8)](_0x23cb7d,_0x23a2c1);if(_0x3350f4!==void 0x0){const _0x7eb35a=String(_0x3350f4)[_0x2d8073(0x29c)];_0x213598<_0x7eb35a&&(_0xc37e09=String(_0x3350f4),_0x213598=_0x7eb35a);}}return _0xc37e09;}function _0x3e7c85(_0x2f6d66){const _0x1b034b=_0x582ad3,{rowCount:_0x37064c,colCount:_0x76600}=_0x2f6d66;let _0x373eb8='',_0x492358=0x0;for(let _0x15b59a=0x0;_0x15b59a<_0x37064c;_0x15b59a++)for(let _0xc285b1=0x0;_0xc285b1<_0x76600;_0xc285b1++){const _0x3e010b=_0x2f6d66['getValue'](_0x15b59a,_0xc285b1);if(_0x3e010b!==void 0x0){const _0x1b01b1=String(_0x3e010b)[_0x1b034b(0x29c)];_0x492358<_0x1b01b1&&(_0x373eb8=String(_0x3e010b),_0x492358=_0x1b01b1);}}return _0x373eb8;}function _0x31a939(_0xaa5e83,_0x480cbb){const _0x72d51a=_0x582ad3,{rowFields:_0x48b261,columnFields:_0x4a61db,valueFields:_0x5eb66d,filterFields:_0xda54ab,dimension:_0x1a716c,measure:_0x179532}=_0x480cbb;for(const _0x1c6f1b of _0x48b261){const _0x53424a=_0x1a716c[_0x1c6f1b];_0x53424a&&_0xaa5e83[_0x72d51a(0x27e)](_0x53424a[_0x72d51a(0x37c)])&&(_0xaa5e83[_0x72d51a(0x4a9)](_0x53424a[_0x72d51a(0x37c)],_0x469b30[_0x72d51a(0x4c5)][_0x72d51a(0x492)],void 0x0,_0x1c6f1b),_0x53424a[_0x72d51a(0x3df)]&&_0xaa5e83[_0x72d51a(0x1e9)](_0x53424a['id'],_0x53424a[_0x72d51a(0x3df)]),_0x53424a[_0x72d51a(0x44d)]&&_0xaa5e83[_0x72d51a(0x43e)](_0x53424a['id'],_0x53424a['sortInfo']),_0x53424a[_0x72d51a(0x4b6)]&&_0xaa5e83[_0x72d51a(0x23a)](_0x53424a['id'],_0x53424a[_0x72d51a(0x4b6)]));}for(const _0x41622f of _0x4a61db){const _0x41bcff=_0x1a716c[_0x41622f];_0x41bcff&&_0xaa5e83[_0x72d51a(0x27e)](_0x41bcff[_0x72d51a(0x37c)])&&(_0xaa5e83[_0x72d51a(0x4a9)](_0x41bcff[_0x72d51a(0x37c)],_0x469b30[_0x72d51a(0x4c5)]['Column'],void 0x0,_0x41622f),_0x41bcff[_0x72d51a(0x44d)]&&_0xaa5e83[_0x72d51a(0x43e)](_0x41bcff['id'],_0x41bcff[_0x72d51a(0x44d)]),_0x41bcff[_0x72d51a(0x4b6)]&&_0xaa5e83[_0x72d51a(0x23a)](_0x41bcff['id'],_0x41bcff[_0x72d51a(0x4b6)]),_0x41bcff[_0x72d51a(0x3df)]&&_0xaa5e83['renameField'](_0x41bcff['id'],_0x41bcff[_0x72d51a(0x3df)]));}for(const _0x84a741 of _0xda54ab){const _0x2801c1=_0x1a716c[_0x84a741];_0x2801c1&&_0xaa5e83['getDataFieldByDataFieldId'](_0x2801c1[_0x72d51a(0x37c)])&&(_0xaa5e83['addFieldWithSourceId'](_0x2801c1[_0x72d51a(0x37c)],_0x469b30[_0x72d51a(0x4c5)][_0x72d51a(0x24c)],void 0x0,_0x84a741),_0x2801c1['sortInfo']&&_0xaa5e83[_0x72d51a(0x43e)](_0x2801c1['id'],_0x2801c1[_0x72d51a(0x44d)]),_0x2801c1[_0x72d51a(0x4b6)]&&_0xaa5e83['setLabelFilterInfo'](_0x2801c1['id'],_0x2801c1['filterInfo']),_0x2801c1['displayName']&&_0xaa5e83[_0x72d51a(0x1e9)](_0x2801c1['id'],_0x2801c1[_0x72d51a(0x3df)]));}for(const _0x1099bc of _0x5eb66d){const _0x206f81=_0x179532[_0x1099bc];_0x206f81&&_0xaa5e83['getDataFieldByDataFieldId'](_0x206f81[_0x72d51a(0x37c)])&&(_0xaa5e83[_0x72d51a(0x4a9)](_0x206f81[_0x72d51a(0x37c)],_0x469b30[_0x72d51a(0x4c5)][_0x72d51a(0x215)],void 0x0,_0x1099bc),_0x206f81[_0x72d51a(0x3c6)]!==void 0x0&&_0xaa5e83[_0x72d51a(0x338)](_0x1099bc,_0x206f81[_0x72d51a(0x3c6)]),_0x206f81['format']&&_0xaa5e83['setFieldFormat'](_0x1099bc,_0x206f81[_0x72d51a(0x4cf)]),_0x206f81[_0x72d51a(0x3df)]&&_0xaa5e83[_0x72d51a(0x1e9)](_0x206f81['id'],_0x206f81[_0x72d51a(0x3df)]));}const _0x5bea89=_0x480cbb[_0x72d51a(0x3c5)];for(const {fieldId:_0x17e3c3,filterInfo:_0x2c9bea}of _0x5bea89)_0xaa5e83[_0x72d51a(0x354)](_0x17e3c3,_0x2c9bea);}function _0x41fbf7(_0x4472d5,_0x433cd5){const _0x27f828=_0x582ad3,_0x3b7ffb=[];_0x433cd5===_0x469b30['PivotTableFiledAreaEnum'][_0x27f828(0x492)]&&_0x4472d5[_0x27f828(0x291)](_0x469b30[_0x27f828(0x4c5)][_0x27f828(0x492)],_0x293861=>{const _0x534717=_0x27f828;_0x3b7ffb[_0x534717(0x248)](_0x293861['getId']());}),_0x433cd5===_0x469b30['PivotTableFiledAreaEnum'][_0x27f828(0x412)]&&_0x4472d5['iterateFieldByArea'](_0x469b30[_0x27f828(0x4c5)][_0x27f828(0x412)],_0x364202=>{const _0x57af75=_0x27f828;_0x3b7ffb[_0x57af75(0x248)](_0x364202[_0x57af75(0x2b6)]());}),_0x433cd5===_0x469b30['PivotTableFiledAreaEnum'][_0x27f828(0x24c)]&&_0x4472d5[_0x27f828(0x291)](_0x469b30[_0x27f828(0x4c5)][_0x27f828(0x24c)],_0x5a2389=>{const _0x40e5b0=_0x27f828;_0x3b7ffb[_0x40e5b0(0x248)](_0x5a2389[_0x40e5b0(0x2b6)]());}),_0x433cd5===_0x469b30['PivotTableFiledAreaEnum'][_0x27f828(0x215)]&&_0x4472d5['iterateFieldByArea'](_0x469b30[_0x27f828(0x4c5)][_0x27f828(0x215)],_0x2a37a2=>{const _0x221f94=_0x27f828;_0x3b7ffb[_0x221f94(0x248)](_0x2a37a2[_0x221f94(0x2b6)]());}),_0x433cd5===void 0x0&&_0x4472d5['iterateField'](_0x56dff3=>{const _0x467451=_0x27f828;_0x3b7ffb[_0x467451(0x248)](_0x56dff3[_0x467451(0x2b6)]());});const _0x4c29e8=_0x3b7ffb[_0x27f828(0x29c)];for(let _0x2e05dc=_0x4c29e8-0x1;_0x2e05dc>=0x0;_0x2e05dc--)_0x4472d5[_0x27f828(0x1cb)](_0x3b7ffb[_0x2e05dc]);const _0x1a984c=_0x4472d5[_0x27f828(0x214)]();for(const _0x370ef3 in _0x1a984c)_0x4472d5[_0x27f828(0x290)](_0x370ef3);}function _0x35e8e7(_0x483538,_0x3fb9d3){const _0x23aded=_0x582ad3,_0x5b09de=new Date(_0x469b30[_0x23aded(0x3f7)](_0x3fb9d3)),_0x247a7b=new Date(_0x469b30[_0x23aded(0x3f7)](_0x483538)),_0x4923c0=_0x5b09de[_0x23aded(0x224)](),_0x170807=_0x247a7b['getFullYear'](),_0x4a7973=_0x5b09de[_0x23aded(0x3ac)](),_0x177aac=_0x247a7b['getMonth'](),_0xbb36ab=_0x5b09de[_0x23aded(0x391)](),_0x1223e0=_0x247a7b['getDate'](),_0x407130=_0x4923c0===_0x170807,_0x17db36=_0x407130&&_0x4a7973===_0x177aac;return _0x407130&&_0x17db36&&!(_0x17db36&&_0xbb36ab===_0x1223e0)?_0x469b30[_0x23aded(0x302)]['YearMonthDate']:_0x407130&&!_0x17db36?_0x469b30[_0x23aded(0x302)][_0x23aded(0x483)]:_0x469b30['PivotDateGroupFieldDateTypeEnum'][_0x23aded(0x316)];}function _0x280a22(_0x465ffc,_0x290208){const _0x2a31e1=_0x582ad3,_0x76ce7=_0x465ffc[_0x2a31e1(0x313)](_0x39b78f['SheetsPivotDataSourceModel'])['getTextInfo']();let _0x5a4d6a='';switch(_0x290208){case _0x469b30[_0x2a31e1(0x302)]['YearMonthDate']:_0x5a4d6a=_0x76ce7['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x469b30[_0x2a31e1(0x302)]['YearMonth']:_0x5a4d6a=_0x76ce7['sheets-pivot.dateGroup.yearMonth'];break;case _0x469b30['PivotDateGroupFieldDateTypeEnum'][_0x2a31e1(0x316)]:_0x5a4d6a=_0x76ce7['sheets-pivot.dateGroup.year'];break;case _0x469b30[_0x2a31e1(0x302)][_0x2a31e1(0x22f)]:_0x5a4d6a=_0x76ce7['sheets-pivot.dateGroup.month'];break;case _0x469b30[_0x2a31e1(0x302)][_0x2a31e1(0x2c5)]:_0x5a4d6a=_0x76ce7[_0x2a31e1(0x24e)];break;case _0x469b30[_0x2a31e1(0x302)][_0x2a31e1(0x231)]:_0x5a4d6a=_0x76ce7['sheets-pivot.dateGroup.date'];break;case _0x469b30[_0x2a31e1(0x302)]['HourMinute']:_0x5a4d6a=_0x76ce7[_0x2a31e1(0x2ea)];break;case _0x469b30[_0x2a31e1(0x302)][_0x2a31e1(0x1d9)]:_0x5a4d6a=_0x76ce7[_0x2a31e1(0x3dc)];break;case _0x469b30['PivotDateGroupFieldDateTypeEnum']['Minute']:_0x5a4d6a=_0x76ce7[_0x2a31e1(0x385)];break;case _0x469b30[_0x2a31e1(0x302)][_0x2a31e1(0x2a0)]:_0x5a4d6a=_0x76ce7['sheets-pivot.dateGroup.monthDate'];break;case _0x469b30[_0x2a31e1(0x302)][_0x2a31e1(0x482)]:_0x5a4d6a=_0x76ce7['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x5a4d6a='';break;}return _0x5a4d6a;}const _0x2ede01=_0x582ad3(0x2cf),_0x52330a={};var _0x1eba8f=Object[_0x582ad3(0x1fb)],_0x20489a=(_0x4392a7,_0x55f07d,_0x587dfd,_0x130913)=>{const _0x203a20=_0x582ad3;for(var _0x92c509=_0x130913>0x1?void 0x0:_0x130913?_0x1eba8f(_0x55f07d,_0x587dfd):_0x55f07d,_0x3c3b52=_0x4392a7[_0x203a20(0x29c)]-0x1,_0x104983;_0x3c3b52>=0x0;_0x3c3b52--)(_0x104983=_0x4392a7[_0x3c3b52])&&(_0x92c509=_0x104983(_0x92c509)||_0x92c509);return _0x92c509;},_0x1b14ec=(_0x42fc3f,_0x3083fd)=>(_0x483bfa,_0x507e12)=>_0x3083fd(_0x483bfa,_0x507e12,_0x42fc3f);_0x39b78f['SheetsPivotTableConfigModel']=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x3e9cb0,_0x1ebd0a,_0x355b23,_0x5cd4ea,_0x4805a3){const _0x58e8ec=_0x582ad3;super(),_0x25f656(this,'_model',new Map()),_0x25f656(this,'_collectionConfigModel',new Map()),_0x25f656(this,_0x58e8ec(0x44f),new Map()),_0x25f656(this,'_pivotTableMatrixInfo',new Map()),_0x25f656(this,'_configVersion$',new _0x8b6274[(_0x58e8ec(0x2b2))]()),_0x25f656(this,_0x58e8ec(0x4a2),new _0x8b6274['Subject']()),_0x25f656(this,_0x58e8ec(0x1ca),this[_0x58e8ec(0x4a2)]['asObservable']()),_0x25f656(this,_0x58e8ec(0x46f),new _0x8b6274['Subject']()),_0x25f656(this,_0x58e8ec(0x464),this[_0x58e8ec(0x46f)][_0x58e8ec(0x460)]()),_0x25f656(this,_0x58e8ec(0x1ef),{}),_0x25f656(this,_0x58e8ec(0x38b),this[_0x58e8ec(0x307)]['asObservable']()),(this[_0x58e8ec(0x1cf)]=_0x3e9cb0,this[_0x58e8ec(0x47c)]=_0x1ebd0a,this[_0x58e8ec(0x3b4)]=_0x355b23,this['_resourceManagerService']=_0x5cd4ea,this[_0x58e8ec(0x2b0)]=_0x4805a3,this[_0x58e8ec(0x335)](),this[_0x58e8ec(0x440)]());const _0x5a16b9=this[_0x58e8ec(0x2b0)][_0x58e8ec(0x452)](_0x2ede01);(_0x5a16b9==null?void 0x0:_0x5a16b9[_0x58e8ec(0x20b)])===!0x0&&this[_0x58e8ec(0x411)]();}['_initUnitDisposed'](){const _0x462456=_0x582ad3;this[_0x462456(0x4cd)](this[_0x462456(0x3b4)][_0x462456(0x4a0)](_0x434acf['UniverInstanceType'][_0x462456(0x24a)])[_0x462456(0x2d7)](_0x1431e9=>{this['deleteUnitId'](_0x1431e9['getUnitId']());}));}[_0x582ad3(0x203)](){const _0x51aab8=_0x582ad3;this[_0x51aab8(0x4a2)][_0x51aab8(0x2da)](!0x0);}['_initLocale'](){const _0x4a7bc4=_0x582ad3,_0x4cac03=_0xbde085(this[_0x4a7bc4(0x1cf)],_0xf93cb4,'',{});this[_0x4a7bc4(0x1ef)]=_0x4cac03,this[_0x4a7bc4(0x47c)][_0x4a7bc4(0x3a6)](_0x49d53f['id'],{'textInfo':_0x4cac03},{'onlyLocal':!0x0});}[_0x582ad3(0x303)](){const _0x19da6c=_0x582ad3;return this[_0x19da6c(0x1ef)];}[_0x582ad3(0x3f4)](_0x3168a1,_0x4ec859,_0x346177,_0x4fc8c4,_0x3f0253){const _0x82e8b1=_0x582ad3;this['updatePivotTableMatrixInfo'](_0x3168a1,_0x4ec859,_0x346177,_0x4fc8c4),this[_0x82e8b1(0x34a)](_0x3168a1,_0x4ec859,_0x346177,_0x3f0253);}['getPivotTableConfig'](_0x531bcd,_0x3d953b,_0x2a2e45){const _0x1943f0=_0x582ad3;var _0x30868b;const _0x1818a8=(_0x30868b=this[_0x1943f0(0x49c)][_0x1943f0(0x313)](_0x531bcd))==null?void 0x0:_0x30868b[_0x1943f0(0x313)](_0x3d953b);if(_0x1818a8)return _0x1818a8[_0x1943f0(0x313)](_0x2a2e45);}[_0x582ad3(0x25b)](_0x15d185,_0x26609b){const _0x107d17=_0x582ad3,_0x13d47e=this[_0x107d17(0x49c)][_0x107d17(0x313)](_0x15d185);if(_0x13d47e){for(const [_0x1a58fb,_0x58a987]of _0x13d47e['entries']())for(const [_0x3e6b8c,_0x5d351e]of _0x58a987[_0x107d17(0x46a)]())if(_0x3e6b8c===_0x26609b)return _0x5d351e[_0x107d17(0x481)];}}[_0x582ad3(0x2b1)](_0x408d78,_0x368c9e,_0x220a54){const _0x3efa7a=_0x582ad3,_0x4151c0=this[_0x3efa7a(0x1e7)](_0x408d78,_0x368c9e,_0x220a54);return _0x4151c0==null?void 0x0:_0x4151c0[_0x3efa7a(0x481)];}[_0x582ad3(0x49b)](_0x4411e7,_0x45c198){const _0x3f7fc0=_0x582ad3;var _0xc96985;return(_0xc96985=this[_0x3f7fc0(0x49c)][_0x3f7fc0(0x313)](_0x4411e7))==null?void 0x0:_0xc96985[_0x3f7fc0(0x313)](_0x45c198);}[_0x582ad3(0x401)](_0x57785b,_0x23671a,_0x5ca9bf,_0x1f3d73){const _0x23d6bf=_0x582ad3,_0x53d003=this[_0x23d6bf(0x448)](_0x57785b,_0x23671a);_0x1f3d73?_0x53d003[_0x23d6bf(0x312)](_0x5ca9bf,_0x1f3d73):_0x53d003[_0x23d6bf(0x4ba)](_0x5ca9bf),this[_0x23d6bf(0x46f)][_0x23d6bf(0x2da)]({'unitId':_0x57785b,'subUnitId':_0x23671a,'pivotTableId':_0x5ca9bf,'pivotTableConfig':_0x1f3d73});}['getCollection'](_0x1752df,_0x481aa4){const _0xf548f6=_0x582ad3;var _0x1c3e08;return(_0x1c3e08=this[_0xf548f6(0x32e)][_0xf548f6(0x313)](_0x1752df))==null?void 0x0:_0x1c3e08[_0xf548f6(0x23c)][_0x481aa4];}['updateCollectionConfig'](_0x4bc485,_0x5afc48){const _0x80b579=_0x582ad3;this[_0x80b579(0x32e)][_0x80b579(0x312)](_0x4bc485,_0x5afc48),this[_0x80b579(0x307)][_0x80b579(0x2da)](Math[_0x80b579(0x4ce)]());}[_0x582ad3(0x448)](_0x5ac388,_0x111fbc){const _0x1ebf71=_0x582ad3;let _0x1d5805=this[_0x1ebf71(0x49c)][_0x1ebf71(0x313)](_0x5ac388);_0x1d5805||(_0x1d5805=new Map(),this['_model'][_0x1ebf71(0x312)](_0x5ac388,_0x1d5805));let _0xe59ae1=_0x1d5805[_0x1ebf71(0x313)](_0x111fbc);return _0xe59ae1||(_0xe59ae1=new Map(),_0x1d5805[_0x1ebf71(0x312)](_0x111fbc,_0xe59ae1)),_0xe59ae1;}['_ensurePivotTableRangeInfo'](_0x3bbc7e,_0xd64349){const _0x5543d3=_0x582ad3;let _0x5764a5=this[_0x5543d3(0x44f)]['get'](_0x3bbc7e);_0x5764a5||(_0x5764a5=new Map(),this[_0x5543d3(0x44f)][_0x5543d3(0x312)](_0x3bbc7e,_0x5764a5));let _0x466340=_0x5764a5[_0x5543d3(0x313)](_0xd64349);return _0x466340||(_0x466340=new Map(),_0x5764a5[_0x5543d3(0x312)](_0xd64349,_0x466340)),_0x466340;}['_ensurePivotTableMatrixInfo'](_0xaf00b,_0xf086f3){const _0x14230c=_0x582ad3;let _0x386c35=this[_0x14230c(0x232)][_0x14230c(0x313)](_0xaf00b);_0x386c35||(_0x386c35=new Map(),this[_0x14230c(0x232)][_0x14230c(0x312)](_0xaf00b,_0x386c35));let _0x46a342=_0x386c35['get'](_0xf086f3);return _0x46a342||(_0x46a342=new Map(),_0x386c35[_0x14230c(0x312)](_0xf086f3,_0x46a342)),_0x46a342;}[_0x582ad3(0x34a)](_0x9006f3,_0x36d2ed,_0x5721cf,_0x3f5077){const _0x5dc77f=_0x582ad3;var _0x2b8e5d;const _0x40db52=this['_ensurePivotTableRangeInfo'](_0x9006f3,_0x36d2ed),_0x442e28=(_0x2b8e5d=_0x40db52[_0x5dc77f(0x313)](_0x5721cf))==null?void 0x0:_0x2b8e5d[_0x5dc77f(0x1f2)];_0x40db52[_0x5dc77f(0x312)](_0x5721cf,{'oldRangeInfo':_0x442e28,'rangeInfo':_0x3f5077});}[_0x582ad3(0x3a0)](_0x7d124b,_0x12ed48,_0x1a408d,_0xca952b){const _0x34aad4=_0x582ad3;var _0x42e190;const _0x4ed8f0=this[_0x34aad4(0x2a5)](_0x7d124b,_0x12ed48),_0x100e60=(_0x42e190=_0x4ed8f0['get'](_0x1a408d))==null?void 0x0:_0x42e190[_0x34aad4(0x402)];_0x4ed8f0['set'](_0x1a408d,{'oldMatrix':_0x100e60,'matrix':_0xca952b});}[_0x582ad3(0x32a)](_0x2548f2,_0x585a96,_0xf11874){const _0x3307f3=_0x582ad3;var _0x22dcde,_0x384427;return(_0x384427=(_0x22dcde=this[_0x3307f3(0x44f)][_0x3307f3(0x313)](_0x2548f2))==null?void 0x0:_0x22dcde[_0x3307f3(0x313)](_0x585a96))==null?void 0x0:_0x384427[_0x3307f3(0x313)](_0xf11874);}['getPivotTableMatrixInfo'](_0x1d91ff,_0x595568,_0xb49f73){const _0x5aa0bb=_0x582ad3;var _0x59c467,_0x4f65bd;return(_0x4f65bd=(_0x59c467=this[_0x5aa0bb(0x232)][_0x5aa0bb(0x313)](_0x1d91ff))==null?void 0x0:_0x59c467[_0x5aa0bb(0x313)](_0x595568))==null?void 0x0:_0x4f65bd[_0x5aa0bb(0x313)](_0xb49f73);}[_0x582ad3(0x355)](_0x7b2b5a){const _0x3c0d5f=_0x582ad3;this[_0x3c0d5f(0x49c)][_0x3c0d5f(0x4ba)](_0x7b2b5a),this[_0x3c0d5f(0x32e)][_0x3c0d5f(0x4ba)](_0x7b2b5a);}[_0x582ad3(0x1e0)](_0x456f3){const _0x2e9945=_0x582ad3,_0xa38a33={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2e9945(0x32e)][_0x2e9945(0x313)](_0x456f3)&&(_0xa38a33[_0x2e9945(0x4cb)][_0x456f3]=this[_0x2e9945(0x32e)][_0x2e9945(0x313)](_0x456f3)),this['_model'][_0x2e9945(0x313)](_0x456f3)){_0xa38a33[_0x2e9945(0x403)][_0x456f3]={};const _0x275899=this[_0x2e9945(0x49c)]['get'](_0x456f3);_0x275899!=null&&_0x275899[_0x2e9945(0x28b)]&&[..._0x275899[_0x2e9945(0x25a)]()][_0x2e9945(0x363)](_0x541f3f=>{const _0x239f56=_0x2e9945,_0x280ae8=_0x275899[_0x239f56(0x313)](_0x541f3f);_0x280ae8!=null&&_0x280ae8[_0x239f56(0x28b)]&&(_0xa38a33[_0x239f56(0x403)][_0x456f3][_0x541f3f]={},[..._0x280ae8[_0x239f56(0x25a)]()][_0x239f56(0x363)](_0x226368=>{const _0xb2a8e3=_0x239f56,_0x321058=_0x280ae8[_0xb2a8e3(0x313)](_0x226368);_0x321058&&(_0xa38a33['pivotTableConfigs'][_0x456f3][_0x541f3f][_0x226368]=_0x321058);}));});}return _0xa38a33;}[_0x582ad3(0x411)](){const _0x521030=_0x582ad3;this[_0x521030(0x4cd)](this[_0x521030(0x415)][_0x521030(0x1fa)]({'toJson':_0x116eb4=>JSON[_0x521030(0x2e6)](this[_0x521030(0x1e0)](_0x116eb4)),'parseJson':_0x15d92d=>({}),'businesses':[_0x434acf['UniverInstanceType'][_0x521030(0x24a)]],'pluginName':_0x552bab,'onLoad':(_0x4bbbde,_0x56d00a)=>{},'onUnLoad':_0xcdbdc0=>{this['deleteUnitId'](_0xcdbdc0);}}));}},_0x39b78f[_0x582ad3(0x20e)]=_0x20489a([_0x1b14ec(0x0,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x32d)])),_0x1b14ec(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x434acf['ICommandService'])),_0x1b14ec(0x2,_0x434acf[_0x582ad3(0x3bd)](_0x434acf['IUniverInstanceService'])),_0x1b14ec(0x3,_0x434acf['Inject'](_0x434acf[_0x582ad3(0x36a)])),_0x1b14ec(0x4,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x2fe)]))],_0x39b78f[_0x582ad3(0x20e)]);var _0x3949f9=Object[_0x582ad3(0x1fb)],_0x245cb5=(_0x445fc5,_0xc574b3,_0xbbc355,_0x3f9c15)=>{const _0x1af711=_0x582ad3;for(var _0x5ee218=_0x3f9c15>0x1?void 0x0:_0x3f9c15?_0x3949f9(_0xc574b3,_0xbbc355):_0xc574b3,_0x36bbf0=_0x445fc5[_0x1af711(0x29c)]-0x1,_0x5da6af;_0x36bbf0>=0x0;_0x36bbf0--)(_0x5da6af=_0x445fc5[_0x36bbf0])&&(_0x5ee218=_0x5da6af(_0x5ee218)||_0x5ee218);return _0x5ee218;},_0x113ac4=(_0x3f188e,_0x3762bf)=>(_0x4a4c04,_0x48bb03)=>_0x3762bf(_0x4a4c04,_0x48bb03,_0x3f188e);_0x39b78f[_0x582ad3(0x2c9)]=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x5d4374,_0xb0de7e,_0x4a3928,_0x2e3888,_0xf66542){const _0x4e495b=_0x582ad3;super(),_0x25f656(this,_0x4e495b(0x4bc),new Map()),_0x25f656(this,_0x4e495b(0x3a5),new Map()),_0x25f656(this,_0x4e495b(0x20d),new _0x8b6274[(_0x4e495b(0x2b2))]()),_0x25f656(this,'markDirty$',this[_0x4e495b(0x20d)][_0x4e495b(0x460)]()),_0x25f656(this,'_viewUpdate$',new _0x8b6274['Subject']()),_0x25f656(this,'viewUpdate$',this['_viewUpdate$']['asObservable']()),_0x25f656(this,'_textInfo'),(this[_0x4e495b(0x244)]=_0x5d4374,this[_0x4e495b(0x1cf)]=_0xb0de7e,this[_0x4e495b(0x3a7)]=_0x4a3928,this[_0x4e495b(0x3b4)]=_0x2e3888,this[_0x4e495b(0x345)]=_0xf66542,this['_initLocale'](),this['_initUnitDisposed']());}[_0x582ad3(0x440)](){const _0x4560d7=_0x582ad3;this[_0x4560d7(0x4cd)](this[_0x4560d7(0x3b4)]['getTypeOfUnitDisposed$'](_0x434acf[_0x4560d7(0x4c7)]['UNIVER_SHEET'])[_0x4560d7(0x2d7)](_0x52c35a=>{const _0x304192=_0x4560d7;this['deleteUnitId'](_0x52c35a[_0x304192(0x294)]());}));}[_0x582ad3(0x335)](){const _0x30b8b5=_0x582ad3;this['_textInfo']=_0xbde085(this[_0x30b8b5(0x1cf)],_0xf93cb4,'',{});}[_0x582ad3(0x429)](_0x5942f9){const _0x565794=_0x582ad3,{view:_0x49ac87,unitId:_0x426546,subUnitId:_0x2da667,pivotTableId:_0x44240c,type:_0x154ae2}=_0x5942f9,_0x5bf792=this[_0x565794(0x3a7)][_0x565794(0x1e7)](_0x426546,_0x2da667,_0x44240c);if(!_0x49ac87||!_0x5bf792||_0x154ae2===_0x106039[_0x565794(0x306)])return;const {pageView:_0x302f68,cornerView:_0x3280bc,rowView:_0x59ebad,colView:_0x504e2b,dataView:_0x5afd2f}=_0x49ac87,_0x1d18dd=_0x5bf792['targetCellInfo'],_0x19ca4e=_0x5bf792[_0x565794(0x325)],_0x9c168d=this[_0x565794(0x1e4)](_0x426546,_0x2da667),_0x49a7dc=this[_0x565794(0x3f3)](_0x426546,_0x2da667,_0x44240c);if(_0x19ca4e)return this[_0x565794(0x2a8)](_0x5942f9,_0x9c168d,_0x1d18dd,_0x49a7dc);{const _0x4602ac=_0x4858ca(_0x1d18dd,_0x302f68,!0x0),_0x536136=_0x302f68[_0x565794(0x2f8)]>=0x0?_0x302f68[_0x565794(0x2f8)]+0x1:0x0,_0x43dab6=_0x3280bc['getRowCount'](),_0x46f3eb=_0x3280bc[_0x565794(0x22d)](),_0x314feb=_0x4602ac[_0x565794(0x29c)]>0x0?_0x2445e6:0x0,_0x33febe=_0x4858ca({'row':_0x1d18dd[_0x565794(0x1e1)]+_0x536136+_0x314feb,'col':_0x1d18dd[_0x565794(0x444)]},_0x3280bc,!0x1,!0x1),_0x5c43c5=_0x4858ca({'row':_0x1d18dd[_0x565794(0x1e1)]+_0x536136+_0x314feb+_0x43dab6,'col':_0x1d18dd['col']},_0x59ebad,!0x1,!0x0),_0x13f1d4=_0x4858ca({'row':_0x1d18dd[_0x565794(0x1e1)]+_0x536136+_0x314feb,'col':_0x1d18dd[_0x565794(0x444)]+_0x46f3eb},_0x504e2b,!0x1,!0x0),_0x31975e=_0x4858ca({'row':_0x1d18dd[_0x565794(0x1e1)]+_0x536136+_0x314feb+_0x43dab6,'col':_0x1d18dd[_0x565794(0x444)]+_0x46f3eb},_0x5afd2f,!0x1,!0x1);_0x49a7dc[_0x565794(0x484)]={'rowRanges':_0x5c43c5,'colRanges':_0x13f1d4,'cornerRanges':_0x33febe,'dataRanges':_0x31975e,'pageRanges':_0x4602ac};const _0x2e76a3=_0x18be2b(this[_0x565794(0x1cf)],_0x49ac87,_0x5bf792,this[_0x565794(0x1ef)]),{valueMatrix:_0x27a0e6,rowInfo:_0x55eb05,colInfo:_0x57ba44,cornerInfo:_0x4161ff,rowHeaderMap:_0x13077b,colHeaderMap:_0x3c8e8a}=_0x2e76a3;return _0x49a7dc[_0x565794(0x2f7)]={'rowInfo':_0x55eb05,'colInfo':_0x57ba44,'cornerInfo':_0x4161ff},_0x49a7dc['headerMap']={'rowHeaderMap':_0x13077b,'colHeaderMap':_0x3c8e8a},_0x27a0e6[_0x565794(0x363)]((_0x5a78b1,_0x146382)=>{const _0x1fa6fe=_0x565794;Object[_0x1fa6fe(0x25a)](_0x146382)[_0x1fa6fe(0x363)](_0x4c0a28=>{const _0x3930c3=_0x1fa6fe,_0x1af788=+_0x4c0a28,_0xade2ef=_0x27a0e6['getValue'](_0x5a78b1,_0x1af788);_0x9c168d[_0x3930c3(0x263)](_0x5a78b1,_0x1af788,_0xade2ef);});}),this[_0x565794(0x288)][_0x565794(0x2da)]({'unitId':_0x426546,'subUnitId':_0x2da667,'valueMatrix':_0x9c168d,'rangesCache':_0x49a7dc['rangesInfo'],'pivotTableId':_0x44240c,'type':_0x5942f9['type']}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x426546,_0x2da667,_0x44240c,_0x9c168d,_0x49a7dc[_0x565794(0x484)]),this[_0x565794(0x345)]['addExclusiveRange'](_0x426546,_0x2da667,_0x178305,this[_0x565794(0x477)](_0x49a7dc[_0x565794(0x484)],_0x44240c)),{'rangeCache':_0x49a7dc[_0x565794(0x484)],'matrix':_0x9c168d};}}['_updateRenderEmptyCache'](_0x3d80e5,_0x11183f,_0x55c05e,_0x39ac07){const _0x59204d=_0x582ad3,_0x343440=this[_0x59204d(0x244)]['t'],{unitId:_0x5aab71,subUnitId:_0x5d108f,pivotTableId:_0x2faba6}=_0x3d80e5,_0x51a3b2={'filter':_0x343440(_0x59204d(0x284)),'row':_0x343440('sheets-pivot.emptyPivot.row'),'column':_0x343440(_0x59204d(0x3c4)),'values':_0x343440(_0x59204d(0x34e))},{matrixCache:_0x4ac156,rangesCache:_0x313482}=_0x37622f(_0x51a3b2,_0x55c05e);return _0x4ac156[_0x59204d(0x304)]((_0x232931,_0xa1dbde,_0x5c10db)=>{const _0x39c165=_0x59204d;_0x11183f[_0x39c165(0x263)](_0x232931,_0xa1dbde,_0x5c10db);}),_0x39ac07[_0x59204d(0x484)]=_0x313482,this['_viewUpdate$'][_0x59204d(0x2da)]({'unitId':_0x5aab71,'subUnitId':_0x5d108f,'valueMatrix':_0x11183f,'rangesCache':_0x313482,'pivotTableId':_0x2faba6,'type':_0x3d80e5[_0x59204d(0x1da)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x59204d(0x3f4)](_0x5aab71,_0x5d108f,_0x2faba6,_0x11183f,_0x313482),this[_0x59204d(0x345)][_0x59204d(0x442)](_0x5aab71,_0x5d108f,_0x178305,this[_0x59204d(0x477)](_0x313482,_0x2faba6)),{'rangeCache':_0x39ac07[_0x59204d(0x484)],'matrix':_0x11183f};}['_createExclusiveRange'](_0x1ccb79,_0x1c32a1){const _0x41c227=_0x582ad3,_0x4d9871=[],_0x179782=_0x101e39(_0x1ccb79);for(const _0xa9e547 of _0x179782)_0x4d9871[_0x41c227(0x248)]({'groupId':_0x1c32a1,'range':_0xa9e547});return _0x4d9871;}[_0x582ad3(0x3b6)](_0x3614c2){const _0x4d5801=_0x582ad3;var _0x4747cb,_0x1cedff,_0xa0c9e3,_0x3d2ae0;const {pivotTableId:_0x113f93,unitId:_0xce6536,subUnitId:_0x575440}=_0x3614c2;if(!_0x113f93||!_0xce6536||!_0x575440)return;const _0x4c31f6=this[_0x4d5801(0x1e4)](_0xce6536,_0x575440),_0xd3b52a=(_0x1cedff=(_0x4747cb=this[_0x4d5801(0x4bc)][_0x4d5801(0x313)](_0xce6536))==null?void 0x0:_0x4747cb[_0x4d5801(0x313)](_0x575440))==null?void 0x0:_0x1cedff[_0x4d5801(0x313)](_0x113f93);if(_0xd3b52a!=null&&_0xd3b52a[_0x4d5801(0x484)]){for(const _0x5ebda4 of Object[_0x4d5801(0x25a)](_0xd3b52a[_0x4d5801(0x484)]))_0xd3b52a[_0x4d5801(0x484)][_0x5ebda4][_0x4d5801(0x363)](_0x37e675=>{const _0x7fb59d=_0x4d5801;for(let _0x36ce60=_0x37e675['startRow'];_0x36ce60<=_0x37e675[_0x7fb59d(0x1e3)];_0x36ce60++)for(let _0x2d9405=_0x37e675[_0x7fb59d(0x457)];_0x2d9405<=_0x37e675['endColumn'];_0x2d9405++)_0x4c31f6['realDeleteValue'](_0x36ce60,_0x2d9405);});}_0xd3b52a&&((_0x3d2ae0=(_0xa0c9e3=this[_0x4d5801(0x4bc)][_0x4d5801(0x313)](_0xce6536))==null?void 0x0:_0xa0c9e3['get'](_0x575440))==null||_0x3d2ae0[_0x4d5801(0x4ba)](_0x113f93)),this['_viewUpdate$'][_0x4d5801(0x2da)]({'unitId':_0xce6536,'subUnitId':_0x575440,'valueMatrix':_0x4c31f6,'pivotTableId':_0x113f93,'rangesCache':void 0x0,'type':_0x3614c2[_0x4d5801(0x1da)]}),this[_0x4d5801(0x345)]['clearExclusiveRangesByGroupId'](_0xce6536,_0x575440,_0x178305,_0x113f93);}['_ensurePivotItemRenderInfoCache'](_0x2588ea,_0x256975,_0x5747b0){const _0x3a017b=_0x582ad3;var _0x2b9db3,_0x1d71a0,_0x4e0437,_0x5915e8,_0x2f176e,_0x3a7e24;return this['_pivotRenderInfoCache'][_0x3a017b(0x426)](_0x2588ea)||this['_pivotRenderInfoCache']['set'](_0x2588ea,new Map()),(_0x2b9db3=this[_0x3a017b(0x4bc)][_0x3a017b(0x313)](_0x2588ea))!=null&&_0x2b9db3[_0x3a017b(0x426)](_0x256975)||(_0x1d71a0=this[_0x3a017b(0x4bc)]['get'](_0x2588ea))==null||_0x1d71a0['set'](_0x256975,new Map()),(_0x5915e8=(_0x4e0437=this[_0x3a017b(0x4bc)][_0x3a017b(0x313)](_0x2588ea))==null?void 0x0:_0x4e0437[_0x3a017b(0x313)](_0x256975))!=null&&_0x5915e8['has'](_0x5747b0)||(_0x3a7e24=(_0x2f176e=this[_0x3a017b(0x4bc)]['get'](_0x2588ea))==null?void 0x0:_0x2f176e[_0x3a017b(0x313)](_0x256975))==null||_0x3a7e24[_0x3a017b(0x312)](_0x5747b0,{}),this[_0x3a017b(0x4bc)][_0x3a017b(0x313)](_0x2588ea)[_0x3a017b(0x313)](_0x256975)[_0x3a017b(0x313)](_0x5747b0);}[_0x582ad3(0x1e4)](_0x5871e9,_0x56b428){const _0x3aad2b=_0x582ad3;var _0x19df87,_0x44e97e;return this[_0x3aad2b(0x3a5)][_0x3aad2b(0x426)](_0x5871e9)||this[_0x3aad2b(0x3a5)][_0x3aad2b(0x312)](_0x5871e9,new Map()),(_0x19df87=this['_pivotRenderValueMatrixCache'][_0x3aad2b(0x313)](_0x5871e9))!=null&&_0x19df87[_0x3aad2b(0x426)](_0x56b428)||(_0x44e97e=this['_pivotRenderValueMatrixCache'][_0x3aad2b(0x313)](_0x5871e9))==null||_0x44e97e[_0x3aad2b(0x312)](_0x56b428,new _0x434acf[(_0x3aad2b(0x3e3))]()),this[_0x3aad2b(0x3a5)][_0x3aad2b(0x313)](_0x5871e9)[_0x3aad2b(0x313)](_0x56b428);}[_0x582ad3(0x48b)](_0x58a6c7,_0x5fd549,_0x16216a,_0xffaa52){const _0x588c69=_0x582ad3;var _0x587223,_0x46b67c;const _0x47e2d0=(_0x46b67c=(_0x587223=this['_pivotRenderValueMatrixCache'][_0x588c69(0x313)](_0x58a6c7))==null?void 0x0:_0x587223[_0x588c69(0x313)](_0x5fd549))==null?void 0x0:_0x46b67c[_0x588c69(0x3f8)](_0x16216a,_0xffaa52);if(_0x47e2d0!=null)return _0x47e2d0;}['getPivotTableIdByCell'](_0x10200f,_0x174588,_0x536368,_0x1c796c){const _0x4cb0a9=_0x582ad3;var _0xff2ae5;const _0x27c0ec=_0x434acf['cellToRange'](_0x536368,_0x1c796c),_0x2523dd=(_0xff2ae5=this['_pivotRenderInfoCache'][_0x4cb0a9(0x313)](_0x10200f))==null?void 0x0:_0xff2ae5[_0x4cb0a9(0x313)](_0x174588);return _0x2523dd?Array['from'](_0x2523dd[_0x4cb0a9(0x25a)]())[_0x4cb0a9(0x4aa)](_0x2c4c60=>{const _0x30e8d9=_0x4cb0a9,_0x1deaa3=_0x2523dd[_0x30e8d9(0x313)](_0x2c4c60),_0x9f0b2=_0x1deaa3==null?void 0x0:_0x1deaa3['rangesInfo'];return _0x9f0b2?Object[_0x30e8d9(0x25a)](_0x9f0b2)[_0x30e8d9(0x3f1)](_0x55d4f6=>_0x9f0b2[_0x55d4f6][_0x30e8d9(0x3f1)](_0x15fffa=>_0x434acf[_0x30e8d9(0x221)][_0x30e8d9(0x379)](_0x15fffa,_0x27c0ec))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x55139c,_0x362707,_0x175d63){const _0x2b568e=_0x582ad3;var _0x1ba7fb;const _0x2e18c9=(_0x1ba7fb=this[_0x2b568e(0x4bc)][_0x2b568e(0x313)](_0x55139c))==null?void 0x0:_0x1ba7fb[_0x2b568e(0x313)](_0x362707),_0x40f8cc=[];return _0x2e18c9&&Array[_0x2b568e(0x243)](_0x2e18c9['keys']())[_0x2b568e(0x363)](_0x24527d=>{const _0x322c24=_0x2b568e,_0x76b7ba=_0x2e18c9[_0x322c24(0x313)](_0x24527d),_0x2002f6=_0x76b7ba==null?void 0x0:_0x76b7ba[_0x322c24(0x484)];if(_0x2002f6)for(const _0x3a0285 of Object[_0x322c24(0x495)](_0x2002f6)){let _0x2dae70=!0x1;for(const _0x3944d3 of _0x3a0285)if(_0x434acf[_0x322c24(0x221)][_0x322c24(0x2d5)](_0x3944d3,_0x175d63)){_0x40f8cc[_0x322c24(0x248)](_0x24527d),_0x2dae70=!0x0;break;}if(_0x2dae70)break;}}),_0x40f8cc;}['getSubUnitPivotMatrix'](_0x355289,_0x2383a9){const _0x5c91d4=_0x582ad3;var _0x1ab646,_0x2915a7;return(_0x2915a7=(_0x1ab646=this['_pivotRenderValueMatrixCache'][_0x5c91d4(0x313)](_0x355289))==null?void 0x0:_0x1ab646[_0x5c91d4(0x313)](_0x2383a9))!=null?_0x2915a7:new _0x434acf[(_0x5c91d4(0x3e3))]();}[_0x582ad3(0x43f)](_0x3d5981,_0x44ff84){var _0x25d3d8;return(_0x25d3d8=this['_pivotRenderInfoCache']['get'](_0x3d5981))==null?void 0x0:_0x25d3d8['get'](_0x44ff84);}['getPivotItemRenderInfoCache'](_0x3d5d79,_0x30cff6,_0x314c2f){var _0x12ba3d,_0xe9b34a;return(_0xe9b34a=(_0x12ba3d=this['_pivotRenderInfoCache']['get'](_0x3d5d79))==null?void 0x0:_0x12ba3d['get'](_0x30cff6))==null?void 0x0:_0xe9b34a['get'](_0x314c2f);}[_0x582ad3(0x355)](_0x52b50e){const _0x3b941e=_0x582ad3;this[_0x3b941e(0x4bc)][_0x3b941e(0x4ba)](_0x52b50e),this[_0x3b941e(0x3a5)]['delete'](_0x52b50e);}[_0x582ad3(0x3db)](_0x319292,_0x2c6066){this['_markDirty$']['next']({'unitId':_0x319292,'subUnitId':_0x2c6066});}},_0x39b78f['SheetsPivotTableAdaptorModel']=_0x245cb5([_0x113ac4(0x0,_0x434acf['Inject'](_0x434acf[_0x582ad3(0x3c7)])),_0x113ac4(0x1,_0x434acf['Inject'](_0x434acf[_0x582ad3(0x32d)])),_0x113ac4(0x2,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x20e)])),_0x113ac4(0x3,_0x434acf['Inject'](_0x434acf['IUniverInstanceService'])),_0x113ac4(0x4,_0x434acf['Inject'](_0x24346e[_0x582ad3(0x344)]))],_0x39b78f[_0x582ad3(0x2c9)]);var _0x1cf796=Object[_0x582ad3(0x1fb)],_0x3a1dc9=(_0x5580fa,_0x1e3aa6,_0x5350ff,_0x2cfd5d)=>{const _0x574232=_0x582ad3;for(var _0x258da9=_0x2cfd5d>0x1?void 0x0:_0x2cfd5d?_0x1cf796(_0x1e3aa6,_0x5350ff):_0x1e3aa6,_0x1c702f=_0x5580fa[_0x574232(0x29c)]-0x1,_0x2d8f6f;_0x1c702f>=0x0;_0x1c702f--)(_0x2d8f6f=_0x5580fa[_0x1c702f])&&(_0x258da9=_0x2d8f6f(_0x258da9)||_0x258da9);return _0x258da9;},_0x177e30=(_0x308bc9,_0x171db6)=>(_0x4bb37b,_0x513e13)=>_0x171db6(_0x4bb37b,_0x513e13,_0x308bc9);_0x39b78f[_0x582ad3(0x40e)]=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x7f6e93,_0x5ac1fe){const _0x4c1be4=_0x582ad3;super(),_0x25f656(this,'asyncInterceptor',new _0x434acf[(_0x4c1be4(0x205))]({'PIVOT_PERFORM_CHECK':_0x277499})),_0x25f656(this,_0x4c1be4(0x277),new _0x434acf[(_0x4c1be4(0x342))]({'PIVOT_MUTATION_GENERATE':_0x1325ed})),(this[_0x4c1be4(0x1f8)]=_0x7f6e93,this[_0x4c1be4(0x368)]=_0x5ac1fe,this[_0x4c1be4(0x490)]());}[_0x582ad3(0x490)](){const _0x18d4bc=_0x582ad3;this[_0x18d4bc(0x352)]();}['getPivotPerformCheck'](_0x30d115){const _0x39d7e4=_0x582ad3;return this[_0x39d7e4(0x3aa)][_0x39d7e4(0x28c)](_0x277499)(!0x1,_0x30d115);}['_initViewModelBySheetInterceptor'](){const _0x453047=_0x582ad3;this[_0x453047(0x4cd)](this[_0x453047(0x1f8)][_0x453047(0x262)](_0x24346e['INTERCEPTOR_POINT'][_0x453047(0x472)],{'priority':0xc8,'effect':_0x434acf['InterceptorEffectEnum']['Value']|_0x434acf['InterceptorEffectEnum'][_0x453047(0x32c)],'handler':(_0x4162f1,_0x3d65c5,_0x2e35ff)=>{const _0x5e3924=_0x453047,{row:_0x3fbd09,col:_0x3c9c3d,unitId:_0x46ad84,subUnitId:_0x4e1bda,workbook:_0x713cf1}=_0x3d65c5,_0xaf933b=this[_0x5e3924(0x368)]['getPivotTableCellData'](_0x46ad84,_0x4e1bda,_0x3fbd09,_0x3c9c3d);if(!_0xaf933b)return _0x2e35ff(_0x4162f1);const _0xb5b3a3={..._0x4162f1};(_0xaf933b['v']||_0xaf933b['v']===0x0)&&(_0xb5b3a3['v']=_0xaf933b['v']),_0xaf933b['t']&&(_0xb5b3a3['t']=_0xaf933b['t']);const _0x416df7=(typeof(_0x4162f1==null?void 0x0:_0x4162f1['s'])=='string'?_0x713cf1[_0x5e3924(0x3b3)]()[_0x5e3924(0x313)](_0x4162f1==null?void 0x0:_0x4162f1['s']):_0x4162f1==null?void 0x0:_0x4162f1['s'])||{},_0x2c6343=_0x713cf1[_0x5e3924(0x3b3)]()['get'](_0xaf933b['s']),_0x253b95={..._0x2c6343,..._0x416df7};_0x2c6343!=null&&_0x2c6343['n']&&(_0x253b95['n']=_0x2c6343['n']);const _0xbbaed4=_0x713cf1[_0x5e3924(0x3b3)]()[_0x5e3924(0x263)](_0x253b95);return _0xb5b3a3['s']=_0xbbaed4,(_0xaf933b[_0x5e3924(0x3b5)]===_0x469b30[_0x5e3924(0x1be)]['Collapse']||_0xaf933b['pbt']===_0x469b30[_0x5e3924(0x1be)][_0x5e3924(0x394)])&&(_0xb5b3a3[_0x5e3924(0x455)]={},_0xb5b3a3['fontRenderExtension'][_0x5e3924(0x31e)]=_0x3f9926),_0x2e35ff(_0xb5b3a3);}}));}},_0x39b78f[_0x582ad3(0x40e)]=_0x3a1dc9([_0x177e30(0x0,_0x434acf['Inject'](_0x24346e[_0x582ad3(0x447)])),_0x177e30(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x2c9)]))],_0x39b78f[_0x582ad3(0x40e)]);const _0x2b30ca={'id':'sheet.mutation.add-group-collection','type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'handler':(_0x558f48,_0x8372f8)=>{const _0x2e7dbd=_0x582ad3;if(!_0x8372f8)return!0x1;if(!!_0x558f48[_0x2e7dbd(0x313)](_0x434acf[_0x2e7dbd(0x2fe)])['getConfig'](_0x4f33fa))return!0x0;const {pivotTableId:_0x51feda,fieldJSON:_0x3888db,unitId:_0x59fc03,subUnitId:_0x566790}=_0x8372f8;let _0x5d45e3;const {dataFieldType:_0x13be53,id:_0x20b33d,name:_0x3b4ca1,hexCode:_0x2583fc,originalFieldId:_0x1b997f}=_0x3888db;if(_0x13be53===_0x469b30[_0x2e7dbd(0x1df)][_0x2e7dbd(0x311)]&&(_0x5d45e3=new _0x469b30['DateGroupField'](_0x20b33d,_0x3b4ca1,_0x2583fc,_0x1b997f)),!_0x5d45e3)return!0x1;const _0x2f6073=_0x558f48[_0x2e7dbd(0x313)](_0x39b78f[_0x2e7dbd(0x486)]),_0x420ff7=_0x2f6073[_0x2e7dbd(0x43c)](_0x59fc03),_0xbd81c6=_0x420ff7['getCollection'](_0x51feda);_0x420ff7[_0x2e7dbd(0x497)](_0x5d45e3),_0xbd81c6[_0x2e7dbd(0x4b9)](_0x5d45e3[_0x2e7dbd(0x2b6)](),_0x5d45e3[_0x2e7dbd(0x261)]());const _0x4123bf=_0xbd81c6[_0x2e7dbd(0x298)](_0x5d45e3[_0x2e7dbd(0x384)]());_0x4123bf&&_0x5d45e3[_0x2e7dbd(0x37a)](_0x4123bf);const _0x2e6dc7=_0x2f6073[_0x2e7dbd(0x1e7)](_0x59fc03,_0x566790,_0x51feda);return _0x2f6073['addDirtyPivotTable']({'unitId':_0x59fc03,'subUnitId':_0x566790,'token':_0x51feda,'type':_0x106039[_0x2e7dbd(0x4af)],'pivotConfig':_0x2e6dc7}),!0x0;}},_0x429cd1={'id':'sheet.mutation.remove-group-collection','type':_0x434acf['CommandType'][_0x582ad3(0x2d3)],'handler':(_0x8b5f95,_0x2fc2ac)=>{const _0x507cc0=_0x582ad3;if(!_0x2fc2ac)return!0x1;if(!!_0x8b5f95[_0x507cc0(0x313)](_0x434acf[_0x507cc0(0x2fe)])['getConfig'](_0x4f33fa))return!0x0;const {pivotTableId:_0x5a1f49,dataFieldId:_0x4a1900,unitId:_0x2ecfff,subUnitId:_0x2b27c6}=_0x2fc2ac,_0x31fe89=_0x8b5f95[_0x507cc0(0x313)](_0x39b78f['SheetsPivotDataSourceModel']),_0x2f4471=_0x31fe89[_0x507cc0(0x43c)](_0x2ecfff);_0x2f4471[_0x507cc0(0x33d)](_0x5a1f49)['deleteField'](_0x4a1900);let _0x3d52a5=!0x0;for(const _0x1c1bce in _0x2f4471[_0x507cc0(0x23c)])if(_0x2f4471[_0x507cc0(0x23c)][_0x1c1bce][_0x507cc0(0x337)]()[_0x507cc0(0x1d0)](_0x4a1900)){_0x3d52a5=!0x1;break;}_0x3d52a5&&_0x2f4471[_0x507cc0(0x3f9)](_0x4a1900);const _0x140d95=_0x31fe89[_0x507cc0(0x1e7)](_0x2ecfff,_0x2b27c6,_0x5a1f49);return _0x31fe89[_0x507cc0(0x273)]({'unitId':_0x2ecfff,'subUnitId':_0x2b27c6,'token':_0x5a1f49,'type':_0x106039[_0x507cc0(0x4af)],'pivotConfig':_0x140d95}),!0x0;}};function _0x33a2e4(_0x2220df,_0x29e2ce){const _0x8e3d5=_0x582ad3;switch(_0x29e2ce){case _0x469b30[_0x8e3d5(0x4c5)][_0x8e3d5(0x215)]:return _0x2220df['valueFields'];case _0x469b30['PivotTableFiledAreaEnum']['Filter']:return _0x2220df[_0x8e3d5(0x433)];case _0x469b30['PivotTableFiledAreaEnum'][_0x8e3d5(0x492)]:return _0x2220df[_0x8e3d5(0x353)];case _0x469b30['PivotTableFiledAreaEnum'][_0x8e3d5(0x412)]:return _0x2220df[_0x8e3d5(0x258)];default:return[];}}function _0x597c7c(_0x5b65d8,_0xc65dd8){const _0x1a0504=_0x582ad3;return _0x5b65d8['measure'][_0xc65dd8]||_0x5b65d8[_0x1a0504(0x377)][_0xc65dd8];}function _0x369fea(_0x5804f3,_0x306fb0){const _0x34ac55=_0x582ad3,{area:_0x214224,fieldJson:_0x5a7179,index:_0x1b6d4d}=_0x306fb0;_0x214224===_0x469b30[_0x34ac55(0x4c5)][_0x34ac55(0x215)]?_0x5804f3['measure'][_0x5a7179['id']]=_0x5a7179:_0x5804f3[_0x34ac55(0x377)][_0x5a7179['id']]=_0x5a7179,_0x33a2e4(_0x5804f3,_0x214224)[_0x34ac55(0x2a9)](_0x1b6d4d,0x0,_0x5a7179['id']);}function _0x1c018b(_0xa33124,_0x361516){const _0x1fd3e2=_0x582ad3,{area:_0x2a3bd7,fieldId:_0x48cb00,index:_0x42c9d1}=_0x361516;_0x2a3bd7===_0x469b30['PivotTableFiledAreaEnum']['Value']?delete _0xa33124['measure'][_0x48cb00]:delete _0xa33124[_0x1fd3e2(0x377)][_0x48cb00],_0x33a2e4(_0xa33124,_0x2a3bd7)[_0x1fd3e2(0x2a9)](_0x42c9d1,0x1);}function _0x494f06(_0x5e806b,_0x1c4668){const _0x2852e7=_0x582ad3,{fieldId:_0x4912d5,name:_0x44e427}=_0x1c4668,_0x472fcc=_0x597c7c(_0x5e806b,_0x4912d5);_0x472fcc&&(_0x472fcc[_0x2852e7(0x3df)]=_0x44e427);}function _0x41448b(_0x5a819e,_0x390c76){const _0x4477c7=_0x582ad3,{fieldId:_0x3263c7,collapse:_0x24d64b,item:_0x582a87}=_0x390c76;_0x582a87!==void 0x0?(_0x5a819e['collapseInfo'][_0x3263c7]=_0x5a819e[_0x4477c7(0x202)][_0x3263c7]||{},_0x5a819e[_0x4477c7(0x202)][_0x3263c7][_0x582a87]=_0x24d64b):_0x5a819e[_0x4477c7(0x202)][_0x3263c7]=_0x24d64b;}function _0x305776(_0x4d8262,_0x374d93){const {fieldId:_0x115efe,format:_0x57c777}=_0x374d93,_0x867dde=_0x597c7c(_0x4d8262,_0x115efe);_0x867dde&&(_0x867dde['format']=_0x57c777);}function _0x5813e2(_0x5270b1,_0x1f3e72){const _0x27954e=_0x582ad3,{fieldId:_0xe26f8f,filterInfo:_0x490ec6}=_0x1f3e72,_0x38d114=_0x597c7c(_0x5270b1,_0xe26f8f);_0x38d114&&(_0x38d114[_0x27954e(0x4b6)]=_0x490ec6);}function _0x31d384(_0x41a6c5,_0x5e18ed){const _0x2fcd33=_0x582ad3,{fieldId:_0x274008,filterInfo:_0x4ba350}=_0x5e18ed,_0x3dcc91=_0x41a6c5[_0x2fcd33(0x3c5)]['filter'](_0xc1cff6=>_0xc1cff6['fieldId']!==_0x274008);_0x4ba350&&_0x3dcc91[_0x2fcd33(0x248)]({'fieldId':_0x274008,'filterInfo':_0x4ba350}),_0x41a6c5[_0x2fcd33(0x3c5)]=_0x3dcc91;}function _0x2e2962(_0x5c1c93,_0x589550){const _0x1acb19=_0x582ad3,{fieldId:_0x2b839d,subtotalType:_0x273a8c}=_0x589550,_0x5b95cb=_0x597c7c(_0x5c1c93,_0x2b839d);_0x5b95cb&&(_0x5b95cb[_0x1acb19(0x3c6)]=_0x273a8c);}function _0x16f64b(_0x3b0679,_0x4dbf72){const _0x11aa38=_0x582ad3,{fieldId:_0x2ad6df,oldArea:_0x5e275e,area:_0x12f6f6,oldIndex:_0x5cbc65,index:_0x598356}=_0x4dbf72,_0x53b8cd=_0x5e275e!==_0x469b30[_0x11aa38(0x4c5)]['Value']&&_0x12f6f6===_0x469b30[_0x11aa38(0x4c5)][_0x11aa38(0x215)],_0x3b3145=_0x5e275e===_0x469b30[_0x11aa38(0x4c5)]['Value']&&_0x12f6f6!==_0x469b30[_0x11aa38(0x4c5)][_0x11aa38(0x215)];if(_0x53b8cd||_0x3b3145){const _0x577842=_0x597c7c(_0x3b0679,_0x2ad6df);_0x577842&&(_0x53b8cd?(delete _0x3b0679[_0x11aa38(0x377)][_0x2ad6df],_0x3b0679[_0x11aa38(0x41e)][_0x2ad6df]=_0x577842):(delete _0x3b0679[_0x11aa38(0x41e)][_0x2ad6df],_0x3b0679['dimension'][_0x2ad6df]=_0x577842));}const _0x501c15=_0x33a2e4(_0x3b0679,_0x5e275e),_0x2a075f=_0x33a2e4(_0x3b0679,_0x12f6f6);_0x501c15[_0x11aa38(0x2a9)](_0x5cbc65,0x1),_0x2a075f[_0x11aa38(0x2a9)](_0x598356,0x0,_0x2ad6df);}function _0x96849c(_0x29e534,_0x30df27){const _0x25f9e8=_0x582ad3,{valuePosition:_0x4c3123,index:_0x3ee6e8}=_0x30df27;_0x29e534['valuePosition']=_0x4c3123,_0x29e534[_0x25f9e8(0x1f5)]=_0x3ee6e8;}function _0x45405a(_0x3af5d9,_0x5ed566){const _0xa1ac3e=_0x582ad3,{tableFieldId:_0xacec65,sourceName:_0x34eecc,dataFieldId:_0x19a38e}=_0x5ed566,_0x1032d5=_0x597c7c(_0x3af5d9,_0xacec65);_0x1032d5&&(_0x1032d5[_0xa1ac3e(0x269)]=_0x34eecc,_0x1032d5['dataFieldId']=_0x19a38e);}function _0xd3a5d2(_0x13a10a,_0x3235b2){const _0x39bad3=_0x582ad3,{fieldId:_0x2a0e03,sortInfo:_0x5872b0}=_0x3235b2,_0x456f25=_0x597c7c(_0x13a10a,_0x2a0e03);_0x456f25&&(_0x456f25[_0x39bad3(0x44d)]=_0x5872b0);}function _0x1d0beb(_0x5a3df,_0x565f20){const _0x1d0598=_0x582ad3,{options:_0x11b205}=_0x565f20;_0x5a3df[_0x1d0598(0x295)]={..._0x5a3df[_0x1d0598(0x295)],..._0x11b205};}const _0x4a0768={'type':_0x434acf['CommandType']['MUTATION'],'id':_0x582ad3(0x4d2),'handler'(_0x5a14ef,_0x3caafd){const _0x5bb0f7=_0x582ad3;if(!_0x3caafd)return!0x1;if(!!_0x5a14ef[_0x5bb0f7(0x313)](_0x434acf['IConfigService'])['getConfig'](_0x4f33fa))return!0x0;const _0x30dba1=_0x5a14ef[_0x5bb0f7(0x313)](_0x39b78f[_0x5bb0f7(0x486)]),{pivotTableId:_0x11651a,fieldJson:_0x5bdd8b,area:_0x3200f8,index:_0x1f806b,unitId:_0x5da809,subUnitId:_0x37b23d}=_0x3caafd,_0x338126=_0x30dba1['getPivotTableInstance'](_0x11651a);if(!_0x338126)return!0x1;let _0xaa45a0;_0x3200f8===_0x469b30[_0x5bb0f7(0x4c5)][_0x5bb0f7(0x215)]?_0xaa45a0=_0x469b30[_0x5bb0f7(0x1fd)](_0x5bdd8b):_0xaa45a0=_0x469b30[_0x5bb0f7(0x499)](_0x5bdd8b),_0x338126[_0x5bb0f7(0x4b9)](_0xaa45a0,_0x3200f8,_0x1f806b);const _0x379370=_0x30dba1[_0x5bb0f7(0x435)](_0x5da809,_0x37b23d,_0x11651a);_0x369fea(_0x379370,_0x3caafd);const _0xc5b9a4=_0x30dba1[_0x5bb0f7(0x1e7)](_0x5da809,_0x37b23d,_0x11651a);return _0x30dba1[_0x5bb0f7(0x273)]({'unitId':_0x5da809,'subUnitId':_0x37b23d,'token':_0x11651a,'type':_0x106039[_0x5bb0f7(0x4af)],'pivotConfig':_0xc5b9a4}),!0x0;}},_0x340e09={'type':_0x434acf[_0x582ad3(0x31d)]['MUTATION'],'id':_0x582ad3(0x367),'handler'(_0x12d97b,_0x467e0a){const _0xb28b5e=_0x582ad3;if(!_0x467e0a)return!0x1;if(!!_0x12d97b[_0xb28b5e(0x313)](_0x434acf[_0xb28b5e(0x2fe)])[_0xb28b5e(0x452)](_0x4f33fa))return!0x0;const _0x4a0edb=_0x12d97b[_0xb28b5e(0x313)](_0x39b78f[_0xb28b5e(0x486)]),{pivotTableId:_0x5e3a5a,fieldId:_0x544181,unitId:_0x3d2323,subUnitId:_0x2432d6}=_0x467e0a,_0x280ecb=_0x4a0edb[_0xb28b5e(0x2d6)](_0x5e3a5a);if(!_0x280ecb)return!0x1;_0x280ecb['removeField'](_0x544181);const _0x3f3931=_0x4a0edb[_0xb28b5e(0x435)](_0x3d2323,_0x2432d6,_0x5e3a5a);_0x1c018b(_0x3f3931,_0x467e0a);const _0x18eaea=_0x4a0edb[_0xb28b5e(0x1e7)](_0x3d2323,_0x2432d6,_0x5e3a5a);return _0x4a0edb['addDirtyPivotTable']({'unitId':_0x3d2323,'subUnitId':_0x2432d6,'token':_0x5e3a5a,'type':_0x106039[_0xb28b5e(0x4af)],'pivotConfig':_0x18eaea}),!0x0;}},_0x54be86={'type':_0x434acf['CommandType'][_0x582ad3(0x2d3)],'id':_0x582ad3(0x222),'handler'(_0x26e85d,_0x17cee8){const _0x5d2555=_0x582ad3;if(!_0x17cee8)return!0x1;if(!!_0x26e85d[_0x5d2555(0x313)](_0x434acf[_0x5d2555(0x2fe)])[_0x5d2555(0x452)](_0x4f33fa))return!0x0;const _0x54515d=_0x26e85d[_0x5d2555(0x313)](_0x39b78f[_0x5d2555(0x486)]),{unitId:_0x195a8f,subUnitId:_0x1b4f91,pivotTableId:_0x532433,fieldId:_0x115b16,name:_0xb44dd5}=_0x17cee8,_0x190885=_0x54515d['getPivotTableInstance'](_0x532433);if(!_0x190885)return!0x1;_0x190885['renameField'](_0x115b16,_0xb44dd5);const _0x5e8bdb=_0x54515d[_0x5d2555(0x435)](_0x195a8f,_0x1b4f91,_0x532433);return _0x494f06(_0x5e8bdb,_0x17cee8),_0x54515d[_0x5d2555(0x273)]({'unitId':_0x195a8f,'subUnitId':_0x1b4f91,'token':_0x532433,'type':_0x106039['Set']}),!0x0;}},_0x4d9c89={'type':_0x434acf[_0x582ad3(0x31d)]['MUTATION'],'id':_0x582ad3(0x37f),'handler'(_0x3e089a,_0x4465fb){const _0x2350d4=_0x582ad3;if(!_0x4465fb)return!0x1;if(!!_0x3e089a[_0x2350d4(0x313)](_0x434acf['IConfigService'])[_0x2350d4(0x452)](_0x4f33fa))return!0x0;const _0x5917d0=_0x3e089a['get'](_0x39b78f[_0x2350d4(0x486)]),{unitId:_0x113bb9,subUnitId:_0x13ebf2,pivotTableId:_0x12574f,fieldId:_0x5b4470,collapse:_0x5b6599,item:_0x25ef63}=_0x4465fb,_0x2a0e7d=_0x5917d0[_0x2350d4(0x2d6)](_0x12574f);if(!_0x2a0e7d)return!0x1;_0x2a0e7d['setCollapse'](_0x5b4470,_0x5b6599,_0x25ef63);const _0x1727c3=_0x5917d0[_0x2350d4(0x435)](_0x113bb9,_0x13ebf2,_0x12574f);return _0x41448b(_0x1727c3,_0x4465fb),_0x5917d0[_0x2350d4(0x273)]({'unitId':_0x113bb9,'subUnitId':_0x13ebf2,'token':_0x12574f,'type':_0x106039[_0x2350d4(0x4af)]}),!0x0;}},_0x14bd8f={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':_0x582ad3(0x475),'handler'(_0x1ab0b1,_0x1a4356){const _0x1e85d3=_0x582ad3;if(!_0x1a4356)return!0x1;if(!!_0x1ab0b1[_0x1e85d3(0x313)](_0x434acf['IConfigService'])['getConfig'](_0x4f33fa))return!0x0;const _0x3612ed=_0x1ab0b1[_0x1e85d3(0x313)](_0x39b78f[_0x1e85d3(0x486)]),{unitId:_0x25cb84,subUnitId:_0x2c2a65,pivotTableId:_0x21fd49,fieldId:_0x41c2b5,format:_0x2f6c82}=_0x1a4356,_0xaf2e39=_0x3612ed['getPivotTableInstance'](_0x21fd49);if(!_0xaf2e39)return!0x1;_0xaf2e39[_0x1e85d3(0x213)](_0x41c2b5,_0x2f6c82);const _0x2be0fc=_0x3612ed[_0x1e85d3(0x435)](_0x25cb84,_0x2c2a65,_0x21fd49);return _0x305776(_0x2be0fc,_0x1a4356),_0x3612ed[_0x1e85d3(0x273)]({'unitId':_0x25cb84,'subUnitId':_0x2c2a65,'token':_0x21fd49,'type':_0x106039[_0x1e85d3(0x4af)]}),!0x0;}},_0xa867de={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':_0x582ad3(0x23d),'handler'(_0x299565,_0x3b22f6){const _0x4eb660=_0x582ad3;if(!_0x3b22f6)return!0x1;if(!!_0x299565[_0x4eb660(0x313)](_0x434acf[_0x4eb660(0x2fe)])['getConfig'](_0x4f33fa))return!0x0;const _0x4849be=_0x299565[_0x4eb660(0x313)](_0x39b78f['SheetsPivotDataSourceModel']),{unitId:_0x18b7f9,subUnitId:_0x2cd6db,pivotTableId:_0x55f4e9,fieldId:_0x1aefa4,filterInfo:_0xccc573}=_0x3b22f6,_0x570c48=_0x4849be[_0x4eb660(0x2d6)](_0x55f4e9);if(!_0x570c48)return!0x1;_0x570c48[_0x4eb660(0x23a)](_0x1aefa4,_0xccc573);const _0x33fb22=_0x4849be['getPivotTableModelConfig'](_0x18b7f9,_0x2cd6db,_0x55f4e9);return _0x5813e2(_0x33fb22,_0x3b22f6),_0x4849be['addDirtyPivotTable']({'unitId':_0x18b7f9,'subUnitId':_0x2cd6db,'token':_0x55f4e9,'type':_0x106039['Set']}),!0x0;}},_0x33be6f={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':_0x582ad3(0x3ca),'handler'(_0x489549,_0x48cfb9){const _0x52d476=_0x582ad3;if(!_0x48cfb9)return!0x1;if(!!_0x489549['get'](_0x434acf['IConfigService'])[_0x52d476(0x452)](_0x4f33fa))return!0x0;const _0xfac7fc=_0x489549['get'](_0x39b78f[_0x52d476(0x486)]),{unitId:_0x7a7151,subUnitId:_0x292116,pivotTableId:_0x11964e,options:_0x334e3f}=_0x48cfb9,_0x250750=_0xfac7fc[_0x52d476(0x2d6)](_0x11964e);if(!_0x250750)return!0x1;_0x250750['setOptions'](_0x334e3f);const _0x5dd015=_0xfac7fc['getPivotTableModelConfig'](_0x7a7151,_0x292116,_0x11964e);return _0x1d0beb(_0x5dd015,_0x48cfb9),_0xfac7fc[_0x52d476(0x273)]({'unitId':_0x7a7151,'subUnitId':_0x292116,'token':_0x11964e,'type':_0x106039['Set']}),!0x0;}},_0x59edf3={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x17b139,_0x5003c3){const _0x569f1d=_0x582ad3;if(!_0x5003c3)return!0x1;if(!!_0x17b139[_0x569f1d(0x313)](_0x434acf['IConfigService'])[_0x569f1d(0x452)](_0x4f33fa))return!0x0;const _0x343dae=_0x17b139[_0x569f1d(0x313)](_0x39b78f[_0x569f1d(0x486)]),{unitId:_0x23742f,subUnitId:_0x59fce7,pivotTableId:_0x4ad1d1,sortInfo:_0x5806f8,fieldId:_0x138437}=_0x5003c3,_0x311dd0=_0x343dae[_0x569f1d(0x2d6)](_0x4ad1d1);if(!_0x311dd0)return!0x1;_0x311dd0[_0x569f1d(0x43e)](_0x138437,_0x5806f8);const _0x47b361=_0x343dae[_0x569f1d(0x435)](_0x23742f,_0x59fce7,_0x4ad1d1);return _0xd3a5d2(_0x47b361,_0x5003c3),_0x343dae[_0x569f1d(0x273)]({'unitId':_0x23742f,'subUnitId':_0x59fce7,'token':_0x4ad1d1,'type':_0x106039['Set']}),!0x0;}},_0x1a74ba={'type':_0x434acf['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x3d39d,_0xef9d75){const _0x3b4586=_0x582ad3;if(!_0xef9d75)return!0x1;if(!!_0x3d39d[_0x3b4586(0x313)](_0x434acf[_0x3b4586(0x2fe)])[_0x3b4586(0x452)](_0x4f33fa))return!0x0;const _0x58b75c=_0x3d39d[_0x3b4586(0x313)](_0x39b78f[_0x3b4586(0x486)]),{unitId:_0x3266cf,subUnitId:_0x372ed3,pivotTableId:_0xbaa736,fieldId:_0xdec758,subtotalType:_0x279cab}=_0xef9d75,_0x1de0c5=_0x58b75c['getPivotTableInstance'](_0xbaa736);if(!_0x1de0c5)return!0x1;_0x1de0c5[_0x3b4586(0x338)](_0xdec758,_0x279cab);const _0x4b5b67=_0x58b75c[_0x3b4586(0x435)](_0x3266cf,_0x372ed3,_0xbaa736);return _0x2e2962(_0x4b5b67,_0xef9d75),_0x58b75c[_0x3b4586(0x273)]({'unitId':_0x3266cf,'subUnitId':_0x372ed3,'token':_0xbaa736,'type':_0x106039[_0x3b4586(0x4af)]}),!0x0;}},_0x49397d={'type':_0x434acf[_0x582ad3(0x31d)]['MUTATION'],'id':_0x582ad3(0x349),'handler'(_0x1cc4b6,_0x31f257){const _0x28f579=_0x582ad3;if(!_0x31f257)return!0x1;if(!!_0x1cc4b6[_0x28f579(0x313)](_0x434acf[_0x28f579(0x2fe)])[_0x28f579(0x452)](_0x4f33fa))return!0x0;const _0x1cb745=_0x1cc4b6[_0x28f579(0x313)](_0x39b78f[_0x28f579(0x486)]),{unitId:_0x4ea8c6,subUnitId:_0x24e4fe,pivotTableId:_0x360b5a,fieldId:_0x38cd63,filterInfo:_0x18d64a}=_0x31f257,_0x94209f=_0x1cb745[_0x28f579(0x2d6)](_0x360b5a);if(!_0x94209f)return!0x1;_0x94209f['setValueFilterInfo'](_0x38cd63,_0x18d64a);const _0x40c8bc=_0x1cb745[_0x28f579(0x435)](_0x4ea8c6,_0x24e4fe,_0x360b5a);return _0x31d384(_0x40c8bc,_0x31f257),_0x1cb745[_0x28f579(0x273)]({'unitId':_0x4ea8c6,'subUnitId':_0x24e4fe,'token':_0x360b5a,'type':_0x106039['Set']}),!0x0;}},_0x205030={'type':_0x434acf['CommandType'][_0x582ad3(0x2d3)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x2a941c,_0x505204){const _0x52cff4=_0x582ad3;if(!_0x505204)return!0x1;if(!!_0x2a941c[_0x52cff4(0x313)](_0x434acf[_0x52cff4(0x2fe)])[_0x52cff4(0x452)](_0x4f33fa))return!0x0;const _0x40c50c=_0x2a941c[_0x52cff4(0x313)](_0x39b78f[_0x52cff4(0x486)]),{unitId:_0x4756c0,subUnitId:_0x26ca8f,pivotTableId:_0x34c555,area:_0x299b3e,index:_0x19fa7b,fieldId:_0x201afe}=_0x505204,_0x203a81=_0x40c50c[_0x52cff4(0x2d6)](_0x34c555);if(!_0x203a81)return!0x1;_0x203a81['updateFieldPosition'](_0x201afe,_0x299b3e,_0x19fa7b);const _0x398b6a=_0x40c50c[_0x52cff4(0x435)](_0x4756c0,_0x26ca8f,_0x34c555);return _0x16f64b(_0x398b6a,_0x505204),_0x40c50c[_0x52cff4(0x273)]({'unitId':_0x4756c0,'subUnitId':_0x26ca8f,'token':_0x34c555,'type':_0x106039[_0x52cff4(0x4af)]}),!0x0;}},_0x33526f={'type':_0x434acf[_0x582ad3(0x31d)]['MUTATION'],'id':_0x582ad3(0x4c8),'handler'(_0x23b428,_0x14a9a0){const _0xfdfa3f=_0x582ad3;if(!_0x14a9a0)return!0x1;if(!!_0x23b428[_0xfdfa3f(0x313)](_0x434acf[_0xfdfa3f(0x2fe)])[_0xfdfa3f(0x452)](_0x4f33fa))return!0x0;const _0x2d0b03=_0x23b428['get'](_0x39b78f[_0xfdfa3f(0x486)]),{unitId:_0x6c2478,subUnitId:_0x32aeaf,pivotTableId:_0x2de04c,sourceName:_0x1d776e,dataFieldId:_0x124cbc,tableFieldId:_0x5e12f5}=_0x14a9a0,_0x345d0d=_0x2d0b03[_0xfdfa3f(0x2d6)](_0x2de04c);if(!_0x345d0d)return!0x1;_0x345d0d[_0xfdfa3f(0x427)](_0x5e12f5,_0x1d776e,_0x124cbc);const _0x50d1af=_0x2d0b03['getPivotTableModelConfig'](_0x6c2478,_0x32aeaf,_0x2de04c);return _0x45405a(_0x50d1af,_0x14a9a0),_0x2d0b03['addDirtyPivotTable']({'unitId':_0x6c2478,'subUnitId':_0x32aeaf,'token':_0x2de04c,'type':_0x106039['Set']}),!0x0;}},_0x107e68={'type':_0x434acf[_0x582ad3(0x31d)]['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x58e976,_0x30f7be){const _0x34c7e4=_0x582ad3;if(!_0x30f7be)return!0x1;if(!!_0x58e976[_0x34c7e4(0x313)](_0x434acf[_0x34c7e4(0x2fe)])[_0x34c7e4(0x452)](_0x4f33fa))return!0x0;const _0x89545=_0x58e976[_0x34c7e4(0x313)](_0x39b78f[_0x34c7e4(0x486)]),{unitId:_0x13f4f0,subUnitId:_0x2b9c70,pivotTableId:_0x2fa7fc,valuePosition:_0x1d3497,index:_0x1130a7}=_0x30f7be,_0x326e35=_0x89545[_0x34c7e4(0x2d6)](_0x2fa7fc);if(!_0x326e35)return!0x1;_0x326e35[_0x34c7e4(0x370)](_0x1d3497,_0x1130a7);const _0x3a9c7c=_0x89545['getPivotTableModelConfig'](_0x13f4f0,_0x2b9c70,_0x2fa7fc);return _0x96849c(_0x3a9c7c,_0x30f7be),_0x89545[_0x34c7e4(0x273)]({'unitId':_0x13f4f0,'subUnitId':_0x2b9c70,'token':_0x2fa7fc,'type':_0x106039[_0x34c7e4(0x4af)]}),!0x0;}};function _0x22d700(_0x2271bb,_0x26d1a5,_0x43d296){const _0x34ec14=_0x582ad3,{pivotTableId:_0x154b47,unitId:_0x835b85,subUnitId:_0x2b8867}=_0x26d1a5,_0x463c28=[],_0x8eec64=[];for(const _0x3986c4 of _0x43d296)switch(_0x3986c4[_0x34ec14(0x1da)]){case _0x469b30[_0x34ec14(0x2aa)][_0x34ec14(0x26a)]:{const {fieldJson:_0xb88dd7,area:_0xf5f557,index:_0x2ccb2b}=_0x3986c4,_0x5492b8={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldJson':_0xb88dd7,'area':_0xf5f557,'index':_0x2ccb2b},_0x27aec4={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0xb88dd7['id'],'area':_0xf5f557,'index':_0x2ccb2b};_0x463c28[_0x34ec14(0x248)]({'id':_0x4a0768['id'],'params':_0x5492b8}),_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x340e09['id'],'params':_0x27aec4});}break;case _0x469b30[_0x34ec14(0x2aa)][_0x34ec14(0x49e)]:{const {fieldId:_0x4a3fb0,newSubtotalType:_0x5b73b8,oldSubtotalType:_0xdae0fb}=_0x3986c4,_0xe09359={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x4a3fb0,'subtotalType':_0x5b73b8};_0x463c28[_0x34ec14(0x248)]({'id':_0x1a74ba['id'],'params':_0xe09359});const _0x2b5e68={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x4a3fb0,'subtotalType':_0xdae0fb};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x1a74ba['id'],'params':_0x2b5e68});}break;case _0x469b30[_0x34ec14(0x2aa)][_0x34ec14(0x211)]:{const {fieldId:_0x8f784a,fieldJson:_0x58baae,area:_0x5631c3,index:_0x260df3}=_0x3986c4,_0xe2c5f9={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x8f784a,'index':_0x260df3,'area':_0x5631c3};_0x463c28[_0x34ec14(0x248)]({'id':_0x340e09['id'],'params':_0xe2c5f9});const _0x4d3d62={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldJson':_0x58baae,'area':_0x5631c3,'index':_0x260df3};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x4a0768['id'],'params':_0x4d3d62});}break;case _0x469b30['PivotTableChangeTypeEnum'][_0x34ec14(0x26c)]:{const {fieldId:_0x290dc3,oldName:_0x4e86ab,newName:_0x7bfeae}=_0x3986c4,_0x355ecb={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x290dc3,'name':_0x7bfeae};_0x463c28[_0x34ec14(0x248)]({'id':_0x54be86['id'],'params':_0x355ecb});const _0x1996b9={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x290dc3,'name':_0x4e86ab};_0x8eec64['unshift']({'id':_0x54be86['id'],'params':_0x1996b9});}break;case _0x469b30[_0x34ec14(0x2aa)][_0x34ec14(0x234)]:{const {fieldId:_0x322983,oldFilterInfo:_0x534fa2,newFilterInfo:_0x118976}=_0x3986c4,_0x3368bc={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x322983,'filterInfo':_0x118976};_0x463c28[_0x34ec14(0x248)]({'id':_0xa867de['id'],'params':_0x3368bc});const _0x3c2b5d={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x322983,'filterInfo':_0x534fa2};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0xa867de['id'],'params':_0x3c2b5d});}break;case _0x469b30['PivotTableChangeTypeEnum'][_0x34ec14(0x289)]:{const {fieldId:_0x4d16d9,oldSortInfo:_0x51bafd,newSortInfo:_0x1696fa}=_0x3986c4,_0x29c80f={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x4d16d9,'sortInfo':_0x1696fa};_0x463c28[_0x34ec14(0x248)]({'id':_0x59edf3['id'],'params':_0x29c80f});const _0x3c8d00={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x4d16d9,'sortInfo':_0x51bafd};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x59edf3['id'],'params':_0x3c8d00});}break;case _0x469b30['PivotTableChangeTypeEnum'][_0x34ec14(0x2d8)]:{const {oldOptions:_0x2fc6eb,newOptions:_0xc529a3}=_0x3986c4,_0x5b8205={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'options':_0xc529a3};_0x463c28[_0x34ec14(0x248)]({'id':_0x33be6f['id'],'params':_0x5b8205});const _0xf110a3={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'options':_0x2fc6eb};_0x8eec64['unshift']({'id':_0x33be6f['id'],'params':_0xf110a3});}break;case _0x469b30['PivotTableChangeTypeEnum'][_0x34ec14(0x30a)]:{const {oldArea:_0x47cc1b,newArea:_0x17a0ab,oldIndex:_0x9dc085,newIndex:_0x3fe864,fieldId:_0x268530}=_0x3986c4,_0x9d33fc={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x268530,'area':_0x17a0ab,'index':_0x3fe864,'oldArea':_0x47cc1b,'oldIndex':_0x9dc085};_0x463c28[_0x34ec14(0x248)]({'id':_0x205030['id'],'params':_0x9d33fc});const _0x2da924={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x268530,'area':_0x47cc1b,'index':_0x9dc085,'oldArea':_0x17a0ab,'oldIndex':_0x3fe864};_0x8eec64['unshift']({'id':_0x205030['id'],'params':_0x2da924});}break;case _0x469b30['PivotTableChangeTypeEnum'][_0x34ec14(0x489)]:{const {oldValuePosition:_0x55e822,newValuePosition:_0x1c7c24,oldIndex:_0x2ee991,newIndex:_0x1ce9a1}=_0x3986c4,_0x32281e={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'valuePosition':_0x1c7c24,'index':_0x1ce9a1};_0x463c28[_0x34ec14(0x248)]({'id':_0x107e68['id'],'params':_0x32281e});const _0x1a5bef={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'valuePosition':_0x55e822,'index':_0x2ee991};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x107e68['id'],'params':_0x1a5bef});}break;case _0x469b30['PivotTableChangeTypeEnum'][_0x34ec14(0x2bb)]:{const {fieldId:_0x5914a5,collapse:_0x40a40d,item:_0x208310}=_0x3986c4,_0x2a4fd1={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x5914a5,'collapse':_0x40a40d,'item':_0x208310};_0x463c28[_0x34ec14(0x248)]({'id':_0x4d9c89['id'],'params':_0x2a4fd1});const _0x30fe0e={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x5914a5,'collapse':!_0x40a40d,'item':_0x208310};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x4d9c89['id'],'params':_0x30fe0e});}break;case _0x469b30[_0x34ec14(0x2aa)][_0x34ec14(0x3ed)]:{const {newFormat:_0x5cabb4,oldFormat:_0x596079,fieldId:_0x527d9d}=_0x3986c4,_0x771b1a={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x527d9d,'format':_0x5cabb4};_0x463c28['push']({'id':_0x14bd8f['id'],'params':_0x771b1a});const _0x193d0f={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x527d9d,'format':_0x596079};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x14bd8f['id'],'params':_0x193d0f});}break;case _0x469b30['PivotTableChangeTypeEnum'][_0x34ec14(0x233)]:{const {tableFieldId:_0x5b38e1,oldSourceName:_0x40d72e,newSourceName:_0x2bbec2,oldDataFieldId:_0x451430,newDataFieldId:_0x5bc436}=_0x3986c4,_0x56d48b={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'tableFieldId':_0x5b38e1,'sourceName':_0x2bbec2,'dataFieldId':_0x5bc436};_0x463c28['push']({'id':_0x33526f['id'],'params':_0x56d48b});const _0x177d2a={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'tableFieldId':_0x5b38e1,'sourceName':_0x40d72e,'dataFieldId':_0x451430};_0x8eec64[_0x34ec14(0x3ab)]({'id':_0x33526f['id'],'params':_0x177d2a});}break;case _0x469b30[_0x34ec14(0x2aa)][_0x34ec14(0x23e)]:{const {fieldId:_0x3dc683,filterInfo:_0x1580d1,oldFilterInfo:_0x479fb7}=_0x3986c4,_0x5dcf86={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x3dc683,'filterInfo':_0x1580d1};_0x463c28[_0x34ec14(0x248)]({'id':_0x49397d['id'],'params':_0x5dcf86});const _0x2d87a9={'unitId':_0x835b85,'subUnitId':_0x2b8867,'pivotTableId':_0x154b47,'fieldId':_0x3dc683,'filterInfo':_0x479fb7};_0x8eec64['unshift']({'id':_0x49397d['id'],'params':_0x2d87a9});}}return{'redos':_0x463c28,'undos':_0x8eec64};}function _0x575c16(_0x4a0d2a,_0x4cab64){const _0x532ec0=_0x582ad3;var _0x20bc9f;const _0x4cde79=_0x4a0d2a[_0x532ec0(0x313)](_0x39b78f[_0x532ec0(0x40e)]),{cellInfo:_0x44bb52,view:_0x305a1e,isEmpty:_0x42b270}=_0x4cab64;return(_0x20bc9f=_0x4cde79['interceptor']['fetchThroughInterceptors'](_0x1325ed)(_0x3e3e2a,{'cellInfo':_0x44bb52,'view':_0x305a1e,'isEmpty':_0x42b270}))!=null?_0x20bc9f:_0x3e3e2a;}const _0xfecc09={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':_0x582ad3(0x357),async 'handler'(_0x40d293,_0x4cf376){const _0x3d7dbb=_0x582ad3;if(!_0x4cf376)return!0x1;const _0xe84bf5=_0x40d293[_0x3d7dbb(0x313)](_0x434acf['ICommandService']),_0x59b424=_0x40d293['get'](_0x39b78f['SheetsPivotRPCService']),_0x3ec1e4=_0x40d293[_0x3d7dbb(0x313)](_0x434acf[_0x3d7dbb(0x285)]),{pivotTableId:_0x4ce50b,dataFieldId:_0x24d6c0,fieldArea:_0x48fe40,index:_0x4ab7c9,unitId:_0x39bbfc,subUnitId:_0x29116a}=_0x4cf376,_0x44ae4d=(await _0x59b424[_0x3d7dbb(0x3f6)]({'unitId':_0x39bbfc,'subUnitId':_0x29116a,'pivotTableId':_0x4ce50b,'params':{'type':_0x4396e3[_0x3d7dbb(0x1e5)],'addPivotField':{'dataFieldId':_0x24d6c0,'fieldArea':_0x48fe40,'index':_0x4ab7c9}}}))[_0x3d7dbb(0x3d0)][_0x3d7dbb(0x479)];if(!_0x44ae4d)return!0x1;const {view:_0x25f0fa,changesets:_0x25c774,isEmpty:_0x43fb1d,pivotTableConfig:_0x2a228d,shouldBeAddedGroupJSON:_0x1608cd}=_0x44ae4d,_0x4afd6b=_0x2a228d['targetCellInfo'],_0x52f3cb=new _0x469b30[(_0x3d7dbb(0x46e))]();_0x52f3cb[_0x3d7dbb(0x2bc)](_0x25f0fa);const _0x2af296={'cellInfo':_0x4afd6b,'view':_0x52f3cb,'isEmpty':_0x43fb1d};if(!await _0x40d293[_0x3d7dbb(0x313)](_0x39b78f[_0x3d7dbb(0x40e)])[_0x3d7dbb(0x3aa)]['fetchThroughAsyncInterceptors'](_0x277499)(!0x0,_0x2af296))return!0x1;const _0x243d39=_0x38b5cd(_0x40d293,_0x52f3cb,_0x4afd6b,_0x43fb1d),_0x2fe069=_0x575c16(_0x40d293,_0x2af296),{undos:_0x1db740,redos:_0x229b8a}=_0x22d700(_0xe84bf5,{'pivotTableId':_0x4ce50b,'unitId':_0x39bbfc,'subUnitId':_0x29116a},_0x25c774);return _0x1608cd&&(_0x229b8a['unshift']({'id':_0x2b30ca['id'],'params':{'pivotTableId':_0x4ce50b,'fieldJSON':_0x1608cd,'unitId':_0x39bbfc,'subUnitId':_0x29116a}}),_0x1db740[_0x3d7dbb(0x248)]({'id':_0x429cd1['id'],'params':{'pivotTableId':_0x4ce50b,'dataFieldId':_0x1608cd['id'],'unitId':_0x39bbfc,'subUnitId':_0x29116a}})),_0x434acf[_0x3d7dbb(0x4bf)]([..._0x243d39[_0x3d7dbb(0x41c)],..._0x2fe069[_0x3d7dbb(0x41c)],..._0x229b8a],_0xe84bf5),_0x3ec1e4[_0x3d7dbb(0x1f9)]({'unitID':_0x39bbfc,'redoMutations':[..._0x243d39['redos'],..._0x2fe069[_0x3d7dbb(0x41c)],..._0x229b8a],'undoMutations':[..._0x243d39['undos'],..._0x2fe069[_0x3d7dbb(0x1f3)],..._0x1db740]}),!0x0;}},_0x5a46=()=>typeof process<'u'&&process[_0x582ad3(0x1cd)]!=null&&process[_0x582ad3(0x1cd)]['node']!=null,_0x4fc1e3={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'id':'sheet.mutation.add-pivot-table','handler'(_0x370c7a,_0x1e0673){const _0x29fb49=_0x582ad3;var _0x5613b2;if(!_0x1e0673)return!0x1;const _0x401da7=_0x370c7a[_0x29fb49(0x313)](_0x434acf[_0x29fb49(0x2fe)]);if(!!_0x401da7['getConfig'](_0x4f33fa))return!0x0;const _0xbd8f05=_0x370c7a['get'](_0x434acf[_0x29fb49(0x2e5)]),_0x5b0d91=_0x370c7a[_0x29fb49(0x313)](_0x39b78f[_0x29fb49(0x486)]),{pivotTableId:_0x12ef6d,pivotTableConfig:_0xa6f51e,collectionConfig:_0x48a6d2,unitId:_0x2bef7d,subUnitId:_0x39d0a3}=_0x1e0673,{sourceRangeInfo:_0x45d8b6,fieldsConfig:_0x9e2331,targetCellInfo:_0x3f13ab}=_0xa6f51e,_0x4accaa=_0xbd8f05['getUnit'](_0x2bef7d);if(!_0x4accaa||!_0x4accaa[_0x29fb49(0x366)](_0x39d0a3))return!0x1;if(!_0x5a46()){let _0x4ee04e=0x0;_0x4accaa[_0x29fb49(0x22e)]()[_0x29fb49(0x363)](_0x1821a2=>{const _0x32d96f=_0x29fb49;var _0x12596d,_0x157604;_0x4ee04e+=(_0x157604=(_0x12596d=_0x5b0d91['getSubUnitPivotConfigs'](_0x2bef7d,_0x1821a2[_0x32d96f(0x2a3)]()))==null?void 0x0:_0x12596d['size'])!=null?_0x157604:0x0;});const _0x2e6028=(_0x5613b2=_0x401da7[_0x29fb49(0x452)](_0x28d1ac['LS_CONFIG_KEY']))!=null?_0x5613b2:{},{ls:_0x467e74,pbk:_0x1c37ec}=_0x2e6028;if(!_0x3f1a1b(_0x467e74,_0x1c37ec))throw new _0x434acf[(_0x29fb49(0x359))]('limit\x20pivot');const _0x406651=_0x3a3421(_0x50bdbf,_0x467e74,_0x1c37ec)[_0x29fb49(0x39c)];if(_0x4ee04e>=_0x406651)throw new _0x434acf['CustomCommandExecutionError'](_0x29fb49(0x28e));}if(!_0x48a6d2||!_0x9e2331)return!0x1;const {collection:_0x493026,updateDataFieldList:_0x522226}=_0x5b0d91[_0x29fb49(0x4d0)](_0x12ef6d,_0x48a6d2,_0x45d8b6,_0x3f13ab);_0x5b0d91[_0x29fb49(0x29d)](_0x493026,_0x522226,_0x45d8b6);const _0x281bcc=new _0x469b30[(_0x29fb49(0x3d5))](_0x493026,void 0x0,_0x12ef6d);_0x281bcc['fromJSON'](_0x9e2331);const _0x114952=JSON[_0x29fb49(0x44e)](JSON[_0x29fb49(0x2e6)](_0xa6f51e));return _0x5b0d91[_0x29fb49(0x3b9)](_0x2bef7d,_0x39d0a3,_0x12ef6d,_0x281bcc,_0x114952),_0x5b0d91[_0x29fb49(0x273)]({'unitId':_0x2bef7d,'subUnitId':_0x39d0a3,'token':_0x12ef6d,'type':_0x106039[_0x29fb49(0x397)],'pivotConfig':_0x114952}),!0x0;}},_0x15f67a={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x418194,_0x3faa0c){const _0x366b26=_0x582ad3;if(!_0x3faa0c)return!0x1;const {sourceDataInfo:_0x53ad0f,pivotTableConfig:_0x38acdb}=_0x3faa0c;if(!_0x53ad0f||!_0x38acdb)return!0x1;const {unitId:_0x2ce423,subUnitId:_0x1e4a72,range:_0x2897b6}=_0x53ad0f,_0x572448=_0x418194['get'](_0x434acf[_0x366b26(0x2e5)]),_0x34b624=_0x418194[_0x366b26(0x313)](_0x39b78f[_0x366b26(0x280)]),_0x24026f=_0x418194[_0x366b26(0x313)](_0x434acf['LocaleService']),_0x196ece=_0x418194[_0x366b26(0x313)](_0x434acf['ICommandService']),_0x11c66d=_0x572448[_0x366b26(0x3be)](_0x2ce423);if(!_0x11c66d)return!0x1;const _0x288ce9=_0x11c66d[_0x366b26(0x366)](_0x1e4a72);if(!_0x288ce9)return!0x1;const _0x353949=_0x469b30['generateHexNumber'](0x8),_0x29dfcd=_0x2897b6||{'startRow':0x0,'startColumn':0x0,'endRow':_0x288ce9[_0x366b26(0x238)]()-0x1,'endColumn':_0x288ce9[_0x366b26(0x286)]()-0x1};_0x29dfcd[_0x366b26(0x281)]=_0x434acf[_0x366b26(0x3da)]['NORMAL'];const _0x4223e2=(await _0x34b624['getPivotDisplayConfig']({'unitId':_0x2ce423,'subUnitId':_0x1e4a72,'pivotTableId':_0x353949,'params':{'type':_0x4396e3[_0x366b26(0x256)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2ce423,'sheetName':_0x288ce9[_0x366b26(0x261)](),'subUnitId':_0x1e4a72,'range':_0x29dfcd},'pivotTableId':_0x353949,'pivotTableIndexConfig':_0x38acdb}}}))[_0x366b26(0x3d0)][_0x366b26(0x3c2)];if(!_0x4223e2)return!0x1;const {isEmpty:_0x179363,fieldsConfig:_0xbe1f3c,collectionConfig:_0x38f1e9,changesets:_0x1fef24}=_0x4223e2,_0x4a4ad0=_0x11c66d['getSheets']()['length'],_0x55b80d=_0x434acf[_0x366b26(0x2df)]({'rowCount':_0x288ce9[_0x366b26(0x238)]()-0x1,'columnCount':_0x288ce9['getColumnCount']()-0x1});_0x55b80d['id']=_0x434acf['generateRandomId'](),_0x55b80d['name']=_0x11c66d[_0x366b26(0x2e7)](''+_0x24026f['t'](_0x366b26(0x378)));const _0x4271a9={'index':_0x4a4ad0,'sheet':_0x55b80d,'unitId':_0x2ce423},{redos:_0x65483}=_0x22d700(_0x196ece,{'pivotTableId':_0x353949,'unitId':_0x2ce423,'subUnitId':_0x55b80d['id']},_0x1fef24),_0x57b0d4=[{'id':_0x24346e['InsertSheetCommand']['id'],'params':_0x4271a9},{'id':_0x4fc1e3['id'],'params':{'unitId':_0x2ce423,'subUnitId':_0x55b80d['id'],'pivotTableId':_0x353949,'pivotTableConfig':{'isEmpty':_0x179363,'fieldsConfig':_0xbe1f3c,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2ce423,'subUnitId':_0x55b80d['id']},'sourceRangeInfo':{'subUnitId':_0x1e4a72,'unitId':_0x2ce423,'range':_0x29dfcd,'sheetName':_0x288ce9[_0x366b26(0x261)]()}},'collectionConfig':_0x38f1e9}},..._0x65483];return _0x434acf['sequenceExecute'](_0x57b0d4,_0x196ece),!0x0;}},_0x37c84d={'type':_0x434acf['CommandType'][_0x582ad3(0x2d3)],'id':_0x582ad3(0x453),'handler'(_0x34910d,_0x133ad8){const _0x9d7b12=_0x582ad3;if(!_0x133ad8)return!0x1;if(!!_0x34910d[_0x9d7b12(0x313)](_0x434acf[_0x9d7b12(0x2fe)])[_0x9d7b12(0x452)](_0x4f33fa))return!0x0;const {pivotTableId:_0x528efb,unitId:_0x3d605f,subUnitId:_0x653af6}=_0x133ad8,_0x23dbee=_0x34910d[_0x9d7b12(0x313)](_0x39b78f['SheetsPivotDataSourceModel']);return _0x23dbee[_0x9d7b12(0x1e7)](_0x3d605f,_0x653af6,_0x528efb)?(_0x23dbee[_0x9d7b12(0x273)]({'unitId':_0x3d605f,'subUnitId':_0x653af6,'token':_0x528efb,'type':_0x106039['Delete']}),_0x23dbee[_0x9d7b12(0x1d6)](_0x3d605f,_0x653af6,_0x528efb),!0x0):!0x1;}},_0x5c791b={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x1f91d8,_0x1b19c1){const _0x4a2b39=_0x582ad3;var _0xd4e340,_0x4a72c2;const _0x30ee87=_0x1f91d8[_0x4a2b39(0x313)](_0x434acf[_0x4a2b39(0x388)]),_0x3dedeb=_0x1f91d8[_0x4a2b39(0x313)](_0x434acf[_0x4a2b39(0x2e5)]),_0x105bc7=_0x1f91d8['get'](_0x434acf[_0x4a2b39(0x3c7)]),_0x39b4f1=_0x1f91d8[_0x4a2b39(0x313)](_0x39b78f['SheetsPivotRPCService']),_0x59726a=_0x1f91d8[_0x4a2b39(0x313)](_0x434acf[_0x4a2b39(0x285)]),_0x26a299=_0x1f91d8[_0x4a2b39(0x313)](_0x39b78f[_0x4a2b39(0x20e)]),_0x28958a=_0x1f91d8[_0x4a2b39(0x313)](_0x434acf[_0x4a2b39(0x2fe)]);if(!_0x1b19c1)return!0x1;const {pivotTableConfig:_0x14c0c7,positionType:_0x2368f9}=_0x1b19c1,{targetCellInfo:_0x299b2f,sourceRangeInfo:_0x331f3c}=_0x14c0c7,{unitId:_0x31efa6,subUnitId:_0x4f36da}=_0x299b2f,_0x5c8138=_0x3dedeb[_0x4a2b39(0x3be)](_0x31efa6);if(!_0x5c8138)return!0x1;let _0x171e55=0x0;_0x5c8138['getSheets']()[_0x4a2b39(0x363)](_0x1678aa=>{const _0x5cf483=_0x4a2b39;var _0x429239,_0x49cb1f;_0x171e55+=(_0x49cb1f=(_0x429239=_0x26a299[_0x5cf483(0x49b)](_0x31efa6,_0x1678aa['getSheetId']()))==null?void 0x0:_0x429239[_0x5cf483(0x28b)])!=null?_0x49cb1f:0x0;});const _0x32039f=(_0xd4e340=_0x28958a[_0x4a2b39(0x452)](_0x28d1ac[_0x4a2b39(0x461)]))!=null?_0xd4e340:{},{ls:_0x4f3e3d,pbk:_0x4c6fc5}=_0x32039f;if(!_0x3f1a1b(_0x4f3e3d,_0x4c6fc5))return!0x1;const _0x253437=_0x3a3421(_0x50bdbf,_0x4f3e3d,_0x4c6fc5)['count'];if(_0x171e55>=_0x253437)return!0x1;const _0x231c5e=_0x1b19c1[_0x4a2b39(0x406)]||_0x469b30[_0x4a2b39(0x20a)](0x8),_0x4ee960=(await _0x39b4f1[_0x4a2b39(0x3f6)]({'unitId':_0x31efa6,'subUnitId':_0x4f36da,'pivotTableId':_0x231c5e,'params':{'type':_0x4396e3[_0x4a2b39(0x1dd)],'addPivotTable':{'sourceRangeInfo':_0x331f3c,'pivotTableId':_0x231c5e}}}))[_0x4a2b39(0x3d0)][_0x4a2b39(0x3b9)];if(!_0x4ee960)return!0x1;const {view:_0x186468,isEmpty:_0x5552bb,fieldsConfig:_0x48a463,collectionConfig:_0x7eb78f}=_0x4ee960,_0x2778a3=[],_0x4c81f8=[];if(_0x2368f9===_0x2099c6[_0x4a2b39(0x369)]){const _0xc80d=_0x5c8138[_0x4a2b39(0x22e)]()[_0x4a2b39(0x29c)],_0x8d4aa=_0x434acf[_0x4a2b39(0x2df)]({});_0x8d4aa['id']=_0x14c0c7[_0x4a2b39(0x481)][_0x4a2b39(0x31b)],_0x8d4aa['name']=(_0x4a72c2=_0x14c0c7['targetCellInfo'][_0x4a2b39(0x4a1)])!=null?_0x4a72c2:_0x5c8138['generateNewSheetName'](''+_0x105bc7['t'](_0x4a2b39(0x378)));const _0x2606de={'index':_0xc80d,'sheet':_0x8d4aa,'unitId':_0x31efa6},_0x50bbb3=_0x24346e['InsertSheetUndoMutationFactory'](_0x1f91d8,_0x2606de);_0x2778a3[_0x4a2b39(0x248)]({'id':_0x24346e[_0x4a2b39(0x1c7)]['id'],'params':_0x50bbb3}),_0x4c81f8[_0x4a2b39(0x248)]({'id':_0x24346e['InsertSheetMutation']['id'],'params':_0x2606de});}else{if(!_0x5c8138[_0x4a2b39(0x366)](_0x4f36da))return!0x1;const _0x4b239e=_0x38b5cd(_0x1f91d8,new _0x469b30[(_0x4a2b39(0x46e))](),_0x299b2f,!0x0);_0x4c81f8['push'](..._0x4b239e[_0x4a2b39(0x41c)]),_0x2778a3['push'](..._0x4b239e[_0x4a2b39(0x1f3)]);const _0x5c82b0={'cellInfo':_0x299b2f,'view':_0x186468,'isEmpty':_0x5552bb};if(!await _0x1f91d8[_0x4a2b39(0x313)](_0x39b78f['SheetsPivotTableService'])['asyncInterceptor'][_0x4a2b39(0x28c)](_0x277499)(!0x0,_0x5c82b0))return!0x1;const _0x588c7f=_0x575c16(_0x1f91d8,_0x5c82b0);_0x4c81f8[_0x4a2b39(0x248)](..._0x588c7f[_0x4a2b39(0x41c)]),_0x2778a3[_0x4a2b39(0x248)](..._0x588c7f[_0x4a2b39(0x1f3)]);}return _0x4c81f8['push']({'id':_0x4fc1e3['id'],'params':{'unitId':_0x299b2f['unitId'],'subUnitId':_0x299b2f[_0x4a2b39(0x31b)],'pivotTableId':_0x231c5e,'pivotTableConfig':{'targetCellInfo':_0x299b2f,'sourceRangeInfo':_0x331f3c,'fieldsConfig':_0x48a463},'collectionConfig':_0x7eb78f}}),_0x2778a3[_0x4a2b39(0x3ab)]({'id':_0x37c84d['id'],'params':{'unitId':_0x31efa6,'subUnitId':_0x4f36da,'pivotTableId':_0x231c5e}}),_0x434acf[_0x4a2b39(0x4bf)](_0x4c81f8,_0x30ee87)&&_0x59726a[_0x4a2b39(0x1f9)]({'unitID':_0x31efa6,'undoMutations':_0x2778a3,'redoMutations':_0x4c81f8}),!0x0;}},_0x304972={'type':_0x434acf['CommandType'][_0x582ad3(0x28d)],'id':_0x582ad3(0x2c6),async 'handler'(_0x4d796c,_0x40dd3c){const _0x293d70=_0x582ad3;if(!_0x40dd3c)return!0x1;const _0x1bcdcb=_0x4d796c[_0x293d70(0x313)](_0x434acf['ICommandService']),_0xde0eee=_0x4d796c[_0x293d70(0x313)](_0x39b78f['SheetsPivotRPCService']),_0x554bb7=_0x4d796c['get'](_0x434acf[_0x293d70(0x285)]),{pivotTableId:_0x576804,fieldId:_0x25a25f,area:_0x2206ef,index:_0x49ad7c,unitId:_0x227bf5,subUnitId:_0x576bce}=_0x40dd3c,_0x21f033=(await _0xde0eee[_0x293d70(0x3f6)]({'unitId':_0x227bf5,'subUnitId':_0x576bce,'pivotTableId':_0x576804,'params':{'type':_0x4396e3['MovePivotField'],'movePivotField':{'fieldId':_0x25a25f,'area':_0x2206ef,'index':_0x49ad7c}}}))[_0x293d70(0x3d0)][_0x293d70(0x3e9)];if(!_0x21f033)return!0x1;const {changesets:_0x3801b1,view:_0x491c6e,isEmpty:_0x28fb0f,pivotTableConfig:_0x5c02b7}=_0x21f033,_0x49f8bd=_0x5c02b7[_0x293d70(0x481)],_0xcbdce2=new _0x469b30['PivotView']();_0xcbdce2[_0x293d70(0x2bc)](_0x491c6e);const _0xcf6183={'cellInfo':_0x49f8bd,'view':_0xcbdce2,'isEmpty':_0x28fb0f};if(!await _0x4d796c[_0x293d70(0x313)](_0x39b78f[_0x293d70(0x40e)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x277499)(!0x0,_0xcf6183))return!0x1;const _0x2cfc3=_0x38b5cd(_0x4d796c,_0xcbdce2,_0x49f8bd,_0x28fb0f),_0x1b7622=_0x575c16(_0x4d796c,_0xcf6183),{redos:_0x28c1ae,undos:_0x50dc65}=_0x22d700(_0x1bcdcb,{'pivotTableId':_0x576804,'unitId':_0x227bf5,'subUnitId':_0x576bce},_0x3801b1);return _0x434acf[_0x293d70(0x4bf)]([..._0x2cfc3[_0x293d70(0x41c)],..._0x1b7622['redos'],..._0x28c1ae],_0x1bcdcb),_0x554bb7[_0x293d70(0x1f9)]({'unitID':_0x227bf5,'redoMutations':[..._0x2cfc3[_0x293d70(0x41c)],..._0x1b7622[_0x293d70(0x41c)],..._0x28c1ae],'undoMutations':[..._0x2cfc3['undos'],..._0x1b7622['undos'],..._0x50dc65]}),!0x0;}},_0x237291={'type':_0x434acf['CommandType']['MUTATION'],'id':_0x582ad3(0x3eb),'handler'(_0x5d01ce,_0x77ea6e){const _0x24a81d=_0x582ad3;if(!_0x77ea6e)return!0x1;if(!!_0x5d01ce[_0x24a81d(0x313)](_0x434acf[_0x24a81d(0x2fe)])[_0x24a81d(0x452)](_0x4f33fa))return!0x0;const {pivotTableId:_0x21c375,targetCellPosition:_0x29830d,unitId:_0x108623,subUnitId:_0x400c43}=_0x77ea6e,_0x2fb55b=_0x5d01ce[_0x24a81d(0x313)](_0x39b78f['SheetsPivotDataSourceModel']);if(!_0x2fb55b['getPivotTableInstance'](_0x77ea6e[_0x24a81d(0x406)]))return!0x1;const _0x3ba738=_0x2fb55b[_0x24a81d(0x2b1)](_0x21c375);if(!_0x3ba738)return!0x1;const _0x36f1c5=_0x2fb55b[_0x24a81d(0x33d)](_0x3ba738[_0x24a81d(0x253)],_0x77ea6e[_0x24a81d(0x406)]);if(!_0x36f1c5)return!0x1;const _0x50f830=_0x2fb55b[_0x24a81d(0x1e7)](_0x3ba738[_0x24a81d(0x253)],_0x3ba738['subUnitId'],_0x21c375);if(!_0x50f830)return!0x1;const _0x2fdc65=_0x434acf[_0x24a81d(0x278)]['deepClone'](_0x50f830);_0x2fdc65[_0x24a81d(0x481)]={'unitId':_0x108623,'subUnitId':_0x400c43,'row':_0x29830d[_0x24a81d(0x1e1)],'col':_0x29830d['col']};const _0x4ae014=_0x36f1c5[_0x24a81d(0x37b)]();if(_0x3ba738[_0x24a81d(0x31b)]===_0x400c43&&_0x3ba738['unitId']===_0x108623)_0x2fb55b['setPivotTable'](_0x108623,_0x400c43,_0x21c375,_0x2fdc65),_0x2fb55b['addDirtyPivotTable']({'unitId':_0x108623,'subUnitId':_0x400c43,'token':_0x21c375,'type':_0x106039[_0x24a81d(0x4af)]});else{_0x2fb55b[_0x24a81d(0x273)]({'unitId':_0x3ba738[_0x24a81d(0x253)],'subUnitId':_0x3ba738['subUnitId'],'token':_0x21c375,'type':_0x106039[_0x24a81d(0x306)]}),_0x2fb55b[_0x24a81d(0x1d6)](_0x3ba738[_0x24a81d(0x253)],_0x3ba738['subUnitId'],_0x21c375);const _0x29f1f0=_0x2fb55b[_0x24a81d(0x4d0)](_0x21c375,_0x4ae014,_0x50f830['sourceRangeInfo'],_0x2fdc65[_0x24a81d(0x481)]),_0x242bca=new _0x469b30[(_0x24a81d(0x3d5))](_0x29f1f0[_0x24a81d(0x36c)],void 0x0,_0x21c375);_0x242bca[_0x24a81d(0x324)](_0x2fdc65['fieldsConfig']),_0x2fb55b['addPivotTable'](_0x108623,_0x400c43,_0x21c375,_0x242bca,_0x2fdc65),_0x2fb55b[_0x24a81d(0x273)]({'unitId':_0x108623,'subUnitId':_0x400c43,'token':_0x21c375,'type':_0x106039['Add'],'pivotConfig':_0x2fdc65});}return!0x0;}},_0x43e64c={'type':_0x434acf['CommandType'][_0x582ad3(0x28d)],'id':_0x582ad3(0x2d9),'handler':(_0x2fd9f4,_0x43abc8)=>{const _0x2cdb7b=_0x582ad3;if(!_0x43abc8)return!0x1;const _0x53c2e5=_0x24346e[_0x2cdb7b(0x48a)](_0x2fd9f4['get'](_0x434acf[_0x2cdb7b(0x2e5)]),{'unitId':_0x43abc8[_0x2cdb7b(0x481)][_0x2cdb7b(0x253)],'subUnitId':_0x43abc8[_0x2cdb7b(0x481)]['subUnitId']});if(!_0x53c2e5)throw new Error(_0x2cdb7b(0x4a7));const _0x4ad6a8=_0x2fd9f4[_0x2cdb7b(0x313)](_0x39b78f['SheetsPivotTableConfigModel'])[_0x2cdb7b(0x1e7)](_0x43abc8[_0x2cdb7b(0x210)][_0x2cdb7b(0x253)],_0x43abc8[_0x2cdb7b(0x210)][_0x2cdb7b(0x31b)],_0x43abc8['pivotTableId']);if(!_0x4ad6a8)return!0x1;const _0xb12787=_0x2fd9f4['get'](_0x434acf[_0x2cdb7b(0x388)]),_0x4a5ea2=_0x2fd9f4[_0x2cdb7b(0x313)](_0x434acf['IUndoRedoService']),{unitId:_0x1d51b4,subUnitId:_0x477599,worksheet:_0x5d9982}=_0x53c2e5,_0x32827f=_0x5d9982[_0x2cdb7b(0x238)](),_0x3e20c3=_0x5d9982[_0x2cdb7b(0x286)]();if(_0x43abc8[_0x2cdb7b(0x481)][_0x2cdb7b(0x1e1)]>_0x32827f||_0x43abc8[_0x2cdb7b(0x481)]['col']>_0x3e20c3)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x568c5e=[{'id':_0x237291['id'],'params':{'unitId':_0x1d51b4,'subUnitId':_0x43abc8[_0x2cdb7b(0x481)]['subUnitId'],'pivotTableId':_0x43abc8[_0x2cdb7b(0x406)],'targetCellPosition':{'row':_0x43abc8[_0x2cdb7b(0x481)]['row'],'col':_0x43abc8[_0x2cdb7b(0x481)][_0x2cdb7b(0x444)]}}}],_0x40b7f9=[{'id':_0x237291['id'],'params':{'unitId':_0x1d51b4,'subUnitId':_0x477599,'pivotTableId':_0x43abc8[_0x2cdb7b(0x406)],'targetCellPosition':{'row':_0x4ad6a8[_0x2cdb7b(0x481)][_0x2cdb7b(0x1e1)],'col':_0x4ad6a8['targetCellInfo'][_0x2cdb7b(0x444)]}}}];return _0x434acf['sequenceExecute'](_0x568c5e,_0xb12787)&&_0x4a5ea2[_0x2cdb7b(0x1f9)]({'unitID':_0x1d51b4,'undoMutations':_0x40b7f9,'redoMutations':_0x568c5e}),!0x0;}},_0x23061b={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':_0x582ad3(0x30c),async 'handler'(_0xadf63e,_0x2d2b79){const _0x2b2a65=_0x582ad3;var _0x3f2eea;if(!_0x2d2b79)return!0x1;const _0x2b9e87=_0xadf63e[_0x2b2a65(0x313)](_0x434acf[_0x2b2a65(0x2e5)]),_0x1866e5=_0x24346e[_0x2b2a65(0x48a)](_0x2b9e87);if(!_0x1866e5)return!0x1;const {unitId:_0x304e7d,subUnitId:_0x28d980,workbook:_0x2da454}=_0x1866e5,{row:_0x17bf09,col:_0x422f76}=_0x2d2b79,_0x5e9bc3=_0xadf63e[_0x2b2a65(0x313)](_0x39b78f[_0x2b2a65(0x2c9)]),_0x1c9965=_0x5e9bc3[_0x2b2a65(0x36f)](_0x304e7d,_0x28d980,_0x17bf09,_0x422f76);if(!_0x1c9965)return!0x1;const _0x189493=(_0x3f2eea=_0x5e9bc3[_0x2b2a65(0x22b)](_0x304e7d,_0x28d980,_0x1c9965))==null?void 0x0:_0x3f2eea[_0x2b2a65(0x2f7)];if(!_0x189493)return!0x1;const _0x5c76d1=_0xadf63e[_0x2b2a65(0x313)](_0x39b78f[_0x2b2a65(0x20e)])[_0x2b2a65(0x1e7)](_0x304e7d,_0x28d980,_0x1c9965);if(!_0x5c76d1)return!0x1;const {rowInfo:_0x1bc8f8,colInfo:_0x55dbb6}=_0x189493,_0x1b475a=_0x1bc8f8[_0x17bf09]['paths'],_0x384aba=_0x55dbb6[_0x422f76]['paths'],_0x5c8aed=_0x1bc8f8[_0x17bf09][_0x2b2a65(0x40f)],_0x249427=_0x55dbb6[_0x422f76][_0x2b2a65(0x40f)],_0x17adc6=_0x1b475a[_0x2b2a65(0x4cc)](_0x384aba),_0x56a051=_0x5c76d1['fieldsConfig'][_0x2b2a65(0x353)][_0x2b2a65(0x438)](0x0,_0x5c8aed),_0x333ffb=_0x5c76d1[_0x2b2a65(0x1f7)][_0x2b2a65(0x258)]['slice'](0x0,_0x249427),_0x58fb5d=_0x56a051['concat'](_0x333ffb),_0x3e7eb0=_0x17adc6[_0x2b2a65(0x3f2)]((_0x406dcf,_0x5e2328)=>[_0x406dcf,_0x58fb5d[_0x5e2328]]),_0x159a7f=(await _0xadf63e[_0x2b2a65(0x313)](_0x39b78f['SheetsPivotRPCService'])['getPivotDisplayConfig']({'unitId':_0x304e7d,'subUnitId':_0x28d980,'pivotTableId':_0x1c9965,'params':{'type':_0x4396e3['DrillDown'],'drillDown':{'tuple':_0x3e7eb0}}}))[_0x2b2a65(0x3d0)]['drillDown'];if(!_0x159a7f)return!0x1;const {indexes:_0x42afa9,range:_0x1cf9f8,sourceUnitId:_0xc2c19b,sourceSubUnitId:_0x1e296e,formatMap:_0x347d39}=_0x159a7f,{startRow:_0x3606ec,endRow:_0x2ad118,startColumn:_0x2ed1ec,endColumn:_0xc0ed5a}=_0x1cf9f8,_0x53b46a=new _0x434acf[(_0x2b2a65(0x3e3))](),_0x4706e9=_0x2ad118-_0x3606ec,_0x1893d8=_0xc0ed5a-_0x2ed1ec,_0x498c85={},_0xf9ca1c=_0x24346e['getSheetCommandTarget'](_0x2b9e87,{'unitId':_0xc2c19b,'subUnitId':_0x1e296e});if(!_0xf9ca1c)return!0x1;const _0x36f37e=_0x2fe106[_0x2b2a65(0x4b7)],_0x34143d=_0x2fe106[_0x2b2a65(0x485)],_0x560ed4=_0x2fe106[_0x2b2a65(0x485)],_0x4ace6a=_0x2da454['getStyles']()['setValue'](_0x36f37e),_0x411752=_0x2da454['getStyles']()[_0x2b2a65(0x263)](_0x34143d),_0x223929=_0x2da454['getStyles']()[_0x2b2a65(0x263)](_0x560ed4),{worksheet:_0x114c46}=_0xf9ca1c;let _0x44a482=0x0;const _0x5a1fd5=0x1;_0x42afa9[_0x2b2a65(0x363)](_0x29bc31=>{const _0x1702bf=_0x2b2a65;for(let _0x4fa7cc=0x0;_0x4fa7cc<=_0xc0ed5a-_0x2ed1ec;_0x4fa7cc++)_0x53b46a['setValue'](_0x44a482,_0x4fa7cc,_0x114c46[_0x1702bf(0x2ef)](_0x29bc31+_0x1cf9f8[_0x1702bf(0x40b)]+_0x5a1fd5,_0x4fa7cc));_0x44a482++;});for(let _0x3063cb=_0x2ed1ec;_0x3063cb<=_0xc0ed5a;_0x3063cb++){const _0x16ed28=_0x114c46[_0x2b2a65(0x2ef)](_0x3606ec,_0x3063cb);_0x498c85[_0x3606ec]||(_0x498c85[_0x3606ec]={}),_0x498c85[_0x3606ec][_0x3063cb]={..._0x16ed28,'s':_0x4ace6a};}let _0x43c12b=0x1;const _0x128686={},_0x461c03={};_0x53b46a[_0x2b2a65(0x42e)]((_0x25862f,_0x10d5ae)=>{const _0x1aab52=_0x2b2a65;_0x10d5ae[_0x1aab52(0x363)](_0x37f297=>{const _0x1043e5=_0x1aab52,_0x5ee28d=_0x53b46a[_0x1043e5(0x3f8)](_0x25862f,_0x37f297);if(_0x498c85[_0x43c12b]||(_0x498c85[_0x43c12b]={}),_0x498c85[_0x43c12b][_0x37f297]={..._0x5ee28d,'s':_0x43c12b%0x2===0x0?_0x223929:_0x411752},_0x347d39[_0x37f297]&&_0x25862f>=0x0){const _0x2dd135=_0x43c12b%0x2===0x0;let _0x5e7919=_0x2dd135?_0x461c03[_0x37f297]:_0x128686[_0x37f297];_0x5e7919||(_0x5e7919=_0x2da454[_0x1043e5(0x3b3)]()['setValue']({..._0x2dd135?_0x560ed4:_0x34143d,'n':{'pattern':_0x347d39[_0x37f297]}}),_0x2dd135?_0x461c03[_0x37f297]=_0x5e7919:_0x128686[_0x37f297]=_0x5e7919),_0x498c85[_0x43c12b][_0x37f297]['s']=_0x5e7919;}}),_0x43c12b++;});const _0x1e8237=new _0x434acf[(_0x2b2a65(0x3e3))](_0x498c85),_0x54df85={};_0x1e8237[_0x2b2a65(0x304)]((_0x5ac5bb,_0x382c4b,_0x41b43b)=>{_0x54df85[_0x5ac5bb]||(_0x54df85[_0x5ac5bb]={}),_0x54df85[_0x5ac5bb][_0x382c4b]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3638d0=[],_0x619255=[],_0x260f6d=_0x2da454[_0x2b2a65(0x22e)]()[_0x2b2a65(0x29c)],_0xd667e1=_0x434acf[_0x2b2a65(0x2df)]({'rowCount':Math[_0x2b2a65(0x365)](_0x434acf[_0x2b2a65(0x439)],_0x4706e9+0xa),'columnCount':Math[_0x2b2a65(0x365)](_0x434acf[_0x2b2a65(0x336)],_0x1893d8+0x5)}),_0x91163a=_0xadf63e[_0x2b2a65(0x313)](_0x434acf['LocaleService']);_0xd667e1['id']=_0x434acf['generateRandomId'](),_0xd667e1['name']=_0x2da454['generateNewSheetName'](''+_0x91163a['t'](_0x2b2a65(0x378)));const _0x4273e5={'index':_0x260f6d,'sheet':_0xd667e1,'unitId':_0x304e7d},_0x41c735=_0x24346e[_0x2b2a65(0x374)](_0xadf63e,_0x4273e5);_0x619255[_0x2b2a65(0x248)]({'id':_0x24346e[_0x2b2a65(0x328)]['id'],'params':_0x4273e5}),_0x3638d0[_0x2b2a65(0x248)]({'id':_0x24346e['RemoveSheetMutation']['id'],'params':_0x41c735}),_0x619255[_0x2b2a65(0x248)]({'id':_0x24346e[_0x2b2a65(0x32b)]['id'],'params':{'unitId':_0x304e7d,'subUnitId':_0xd667e1['id'],'cellValue':_0x498c85}}),_0x3638d0[_0x2b2a65(0x3ab)]({'id':_0x24346e['SetRangeValuesMutation']['id'],'params':{'unitId':_0x304e7d,'subUnitId':_0xd667e1['id'],'cellValue':_0x54df85}});const _0x42e739={'startRow':0x0,'startColumn':0x0,'endRow':_0x43c12b-0x1,'endColumn':_0xc0ed5a};_0x619255[_0x2b2a65(0x248)]({'id':_0x2c7393[_0x2b2a65(0x282)]['id'],'params':{'unitId':_0x304e7d,'subUnitId':_0xd667e1['id'],'range':_0x42e739}}),_0x3638d0[_0x2b2a65(0x3ab)]({'id':_0x2c7393['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x304e7d,'subUnitId':_0xd667e1['id']}});const _0x61f692=_0xadf63e[_0x2b2a65(0x313)](_0x434acf['ICommandService']);return _0x434acf['sequenceExecute'](_0x619255,_0x61f692)&&_0xadf63e['get'](_0x434acf[_0x2b2a65(0x285)])['pushUndoRedo']({'unitID':_0x304e7d,'undoMutations':_0x3638d0,'redoMutations':_0x619255}),!0x0;}},_0x2559b5={'type':_0x434acf['CommandType'][_0x582ad3(0x28d)],'id':_0x582ad3(0x451),async 'handler'(_0x5c1c2f,_0xfb0bff){const _0x36188f=_0x582ad3;if(!_0xfb0bff)return!0x1;const _0x49c7a4=_0x5c1c2f['get'](_0x434acf[_0x36188f(0x388)]),_0x139def=_0x5c1c2f[_0x36188f(0x313)](_0x39b78f['SheetsPivotRPCService']),_0x30e9fe=_0x5c1c2f[_0x36188f(0x313)](_0x434acf[_0x36188f(0x285)]),{pivotTableId:_0x59957b,fieldIds:_0x5c2b32,unitId:_0x25a0ff,subUnitId:_0x126744}=_0xfb0bff,_0x380032=(await _0x139def['getPivotDisplayConfig']({'unitId':_0x25a0ff,'subUnitId':_0x126744,'pivotTableId':_0x59957b,'params':{'type':_0x4396e3[_0x36188f(0x38d)],'removePivotField':{'fieldIds':_0x5c2b32}}}))[_0x36188f(0x3d0)][_0x36188f(0x252)];if(!_0x380032)return!0x1;const {view:_0x272c3a,changesets:_0x2abb58,isEmpty:_0x5f2b22,pivotTableConfig:_0x7188aa}=_0x380032,_0x449b62=_0x7188aa['targetCellInfo'],_0x4124ea=new _0x469b30[(_0x36188f(0x46e))]();_0x4124ea['formJSON'](_0x272c3a);const _0xaccb05={'cellInfo':_0x449b62,'view':_0x4124ea,'isEmpty':_0x5f2b22};if(!await _0x5c1c2f[_0x36188f(0x313)](_0x39b78f[_0x36188f(0x40e)])[_0x36188f(0x3aa)][_0x36188f(0x28c)](_0x277499)(!0x0,_0xaccb05))return!0x1;const _0x1aa5c9=_0x38b5cd(_0x5c1c2f,_0x4124ea,_0x449b62,_0x5f2b22),_0x40f33f=_0x575c16(_0x5c1c2f,_0xaccb05),{redos:_0x38569a,undos:_0xd5466e}=_0x22d700(_0x49c7a4,{'pivotTableId':_0x59957b,'unitId':_0x25a0ff,'subUnitId':_0x126744},_0x2abb58);return _0x434acf[_0x36188f(0x4bf)]([..._0x1aa5c9[_0x36188f(0x41c)],..._0x40f33f[_0x36188f(0x41c)],..._0x38569a],_0x49c7a4),_0x30e9fe['pushUndoRedo']({'unitID':_0x25a0ff,'redoMutations':[..._0x1aa5c9['redos'],..._0x40f33f[_0x36188f(0x41c)],..._0x38569a],'undoMutations':[..._0x1aa5c9[_0x36188f(0x1f3)],..._0x40f33f[_0x36188f(0x1f3)],..._0xd5466e]}),!0x0;}},_0x346d32={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x854494,_0x205990){const _0x5ad656=_0x582ad3;if(!_0x205990)return!0x1;const _0x2d4883=_0x854494[_0x5ad656(0x313)](_0x434acf[_0x5ad656(0x388)]),_0x46b53f=_0x854494['get'](_0x434acf['IUndoRedoService']),_0x50bfbe=_0x854494[_0x5ad656(0x313)](_0x39b78f[_0x5ad656(0x280)]),{resetArea:_0x3b876d,pivotTableId:_0x1b29de,unitId:_0x1e2063,subUnitId:_0x187881}=_0x205990,_0x3ddadf=(await _0x50bfbe[_0x5ad656(0x3f6)]({'unitId':_0x1e2063,'subUnitId':_0x187881,'pivotTableId':_0x1b29de,'params':{'type':_0x4396e3[_0x5ad656(0x4ab)],'resetPivotTable':{'pivotTableId':_0x1b29de,'resetArea':_0x3b876d}}}))[_0x5ad656(0x3d0)][_0x5ad656(0x24d)];if(!_0x3ddadf)return!0x1;const {changesets:_0x438c94}=_0x3ddadf,{redos:_0x4c6d03,undos:_0xe01ea6}=_0x22d700(_0x2d4883,{'pivotTableId':_0x1b29de,'unitId':_0x1e2063,'subUnitId':_0x187881},_0x438c94);return _0x434acf[_0x5ad656(0x4bf)](_0x4c6d03,_0x2d4883),_0x46b53f[_0x5ad656(0x1f9)]({'unitID':_0x1e2063,'redoMutations':_0x4c6d03,'undoMutations':_0xe01ea6}),!0x0;}},_0x1525ea={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':_0x582ad3(0x30d),async 'handler'(_0x5e3601,_0x5f4b32){const _0x2628eb=_0x582ad3,_0x462ff3=_0x5e3601[_0x2628eb(0x313)](_0x434acf[_0x2628eb(0x388)]),_0x54eca8=_0x5e3601[_0x2628eb(0x313)](_0x39b78f[_0x2628eb(0x280)]),_0x244c10=_0x5e3601[_0x2628eb(0x313)](_0x39b78f[_0x2628eb(0x2c9)]),_0x5861b5=_0x5e3601[_0x2628eb(0x313)](_0x434acf['IUniverInstanceService']),_0x23e98c=_0x5e3601['get'](_0x434acf['LocaleService']),_0x3111be=_0x5e3601[_0x2628eb(0x313)](_0x434acf[_0x2628eb(0x285)]);if(!_0x5f4b32)return!0x1;const {unitId:_0x379691,subUnitId:_0x3972d1,row:_0x380c15,col:_0x1d90f9,collapse:_0x26ed88}=_0x5f4b32,_0xa6ea9=_0x5861b5['getUnit'](_0x379691);if(!_0xa6ea9||!_0xa6ea9[_0x2628eb(0x366)](_0x3972d1))return!0x1;const _0x2305d3=_0x244c10[_0x2628eb(0x36f)](_0x379691,_0x3972d1,_0x380c15,_0x1d90f9);if(!_0x2305d3)return!0x1;const _0x3dd934=_0x244c10[_0x2628eb(0x22b)](_0x379691,_0x3972d1,_0x2305d3);if(!_0x3dd934)return!0x1;const _0x3e7586=_0x434acf[_0x2628eb(0x3ec)](_0x380c15,_0x1d90f9),{rangesInfo:_0x29adb8,areaInfo:_0xb01504,headerMap:_0x5f3c73}=_0x3dd934;if(!_0x29adb8||!_0xb01504||!_0x5f3c73)return!0x1;const _0x53bd56=Object[_0x2628eb(0x25a)](_0x29adb8)['find'](_0x2167b7=>_0x29adb8[_0x2167b7][_0x2628eb(0x3f1)](_0x2ee01f=>_0x434acf['Rectangle'][_0x2628eb(0x379)](_0x2ee01f,_0x3e7586)));let _0x32b997;_0x53bd56==='rowRanges'?_0x32b997=_0x5f3c73[_0x2628eb(0x41d)][_0x1d90f9]:_0x53bd56===_0x2628eb(0x434)&&(_0x32b997=_0x5f3c73[_0x2628eb(0x2eb)][_0x380c15]);const _0x84972a=_0x32b997==null?void 0x0:_0x32b997[_0x2628eb(0x348)],_0x4f583c=_0x244c10[_0x2628eb(0x48b)](_0x379691,_0x3972d1,_0x380c15,_0x1d90f9);let _0x3ea928=_0x4f583c==null?void 0x0:_0x4f583c['v'];if(_0x3ea928===_0x23e98c['t']('sheets-pivot.blank')&&(_0x3ea928=_0x469b30[_0x2628eb(0x3d4)]['BLANK_PLACEHOLDER']),_0x3ea928==null||!_0x2305d3||!_0x84972a)return!0x1;const _0x49e073=await _0x54eca8[_0x2628eb(0x3f6)]({'unitId':_0x379691,'subUnitId':_0x3972d1,'pivotTableId':_0x2305d3,'params':{'type':_0x4396e3[_0x2628eb(0x3fd)],'setPivotCollapse':{'tableFieldId':_0x84972a,'collapse':_0x26ed88,'item':_0x3ea928}}}),_0x43177c=_0x49e073==null?void 0x0:_0x49e073['result'][_0x2628eb(0x3ea)];if(!_0x43177c)return!0x1;const {view:_0x1d6884,pivotTableConfig:_0x5a793c,isEmpty:_0x2ab5f4,changesets:_0x496aa8}=_0x43177c,_0xe92284=new _0x469b30['PivotView']();_0xe92284[_0x2628eb(0x2bc)](_0x1d6884);const _0x5d8a0e=_0x5a793c[_0x2628eb(0x481)],_0x4102f9={'cellInfo':_0x5d8a0e,'view':_0xe92284,'isEmpty':_0x2ab5f4};if(!await _0x5e3601[_0x2628eb(0x313)](_0x39b78f[_0x2628eb(0x40e)])['asyncInterceptor'][_0x2628eb(0x28c)](_0x277499)(!0x0,_0x4102f9))return!0x1;const _0x365e62=_0x38b5cd(_0x5e3601,_0xe92284,_0x5d8a0e,_0x2ab5f4),_0x2bc16a=_0x575c16(_0x5e3601,_0x4102f9),{redos:_0x44abf6,undos:_0x1634b5}=_0x22d700(_0x462ff3,{'pivotTableId':_0x2305d3,'unitId':_0x379691,'subUnitId':_0x3972d1},_0x496aa8);return _0x434acf[_0x2628eb(0x4bf)]([..._0x365e62[_0x2628eb(0x41c)],..._0x2bc16a['redos'],..._0x44abf6],_0x462ff3),_0x3111be['pushUndoRedo']({'unitID':_0x379691,'redoMutations':[..._0x365e62[_0x2628eb(0x41c)],..._0x2bc16a[_0x2628eb(0x41c)],..._0x44abf6],'undoMutations':[..._0x365e62[_0x2628eb(0x1f3)],..._0x2bc16a[_0x2628eb(0x1f3)],..._0x1634b5]}),!0x0;}},_0x289d0e={'type':_0x434acf['CommandType'][_0x582ad3(0x28d)],'id':_0x582ad3(0x410),async 'handler'(_0x542e41,_0x29f7f1){const _0x5037ab=_0x582ad3;if(!_0x29f7f1)return!0x1;const _0x5ed2b6=_0x542e41[_0x5037ab(0x313)](_0x434acf[_0x5037ab(0x388)]),_0x1d05e1=_0x542e41[_0x5037ab(0x313)](_0x434acf[_0x5037ab(0x285)]),_0x46d5c9=_0x542e41[_0x5037ab(0x313)](_0x39b78f[_0x5037ab(0x280)]),{pivotTableConfig:_0x56196b,pivotTableId:_0x23a0ef,unitId:_0x57d425,subUnitId:_0x3685f8}=_0x29f7f1,_0x4c5642=(await _0x46d5c9['getPivotDisplayConfig']({'unitId':_0x57d425,'subUnitId':_0x3685f8,'pivotTableId':_0x23a0ef,'params':{'type':_0x4396e3['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x23a0ef,'pivotTableConfig':_0x56196b}}}))[_0x5037ab(0x3d0)]['setPivotTableConfig'];if(!_0x4c5642)return!0x1;const {changesets:_0x4ad8da}=_0x4c5642,{redos:_0x2cb690,undos:_0x4419bb}=_0x22d700(_0x5ed2b6,{'pivotTableId':_0x23a0ef,'unitId':_0x57d425,'subUnitId':_0x3685f8},_0x4ad8da);return _0x434acf[_0x5037ab(0x4bf)](_0x2cb690,_0x5ed2b6),_0x1d05e1[_0x5037ab(0x1f9)]({'unitID':_0x57d425,'redoMutations':_0x2cb690,'undoMutations':_0x4419bb}),!0x0;}},_0x53f00c={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':_0x582ad3(0x386),async 'handler'(_0x451343,_0x3a760b){const _0x3e3611=_0x582ad3;if(!_0x3a760b)return!0x1;const _0x460596=_0x451343[_0x3e3611(0x313)](_0x434acf[_0x3e3611(0x388)]),{pivotTableId:_0x5d7f6d,tableFieldId:_0x323f92,items:_0x1bdd73,unitId:_0x1d9dc6,subUnitId:_0x18a33b,isAll:_0x2ef41e}=_0x3a760b,_0x4cf069=_0x451343[_0x3e3611(0x313)](_0x39b78f[_0x3e3611(0x280)]),_0x1102b1=_0x451343['get'](_0x434acf[_0x3e3611(0x285)]),_0x49cd8f=(await _0x4cf069[_0x3e3611(0x3f6)]({'unitId':_0x1d9dc6,'subUnitId':_0x18a33b,'pivotTableId':_0x5d7f6d,'params':{'type':_0x4396e3[_0x3e3611(0x4b2)],'setPivotFilter':{'tableFieldId':_0x323f92,'items':_0x1bdd73,'isAll':_0x2ef41e}}}))['result'][_0x3e3611(0x361)];if(!_0x49cd8f)return!0x1;const {changesets:_0x224c28,pivotTableConfig:_0x5ddd9a,isEmpty:_0x37e109,view:_0xde6f73}=_0x49cd8f,_0x2f65f2=_0x5ddd9a[_0x3e3611(0x481)],_0x11df52=new _0x469b30['PivotView']();_0x11df52['formJSON'](_0xde6f73);const _0x331a8b={'cellInfo':_0x2f65f2,'view':_0x11df52,'isEmpty':_0x37e109};if(!await _0x451343['get'](_0x39b78f[_0x3e3611(0x40e)])[_0x3e3611(0x3aa)][_0x3e3611(0x28c)](_0x277499)(!0x0,_0x331a8b))return!0x1;const _0x2f7d45=_0x38b5cd(_0x451343,_0x11df52,_0x2f65f2,_0x37e109),_0x38bb86=_0x575c16(_0x451343,_0x331a8b),{undos:_0x515114,redos:_0x2725e7}=_0x22d700(_0x460596,{'pivotTableId':_0x5d7f6d,'unitId':_0x1d9dc6,'subUnitId':_0x18a33b},_0x224c28);return _0x434acf[_0x3e3611(0x4bf)]([..._0x2f7d45[_0x3e3611(0x41c)],..._0x38bb86['redos'],..._0x2725e7],_0x460596),_0x1102b1[_0x3e3611(0x1f9)]({'unitID':_0x1d9dc6,'redoMutations':[..._0x2f7d45[_0x3e3611(0x41c)],..._0x38bb86[_0x3e3611(0x41c)],..._0x2725e7],'undoMutations':[..._0x2f7d45[_0x3e3611(0x1f3)],..._0x38bb86[_0x3e3611(0x1f3)],..._0x515114]}),!0x0;}},_0x53f224={'type':_0x434acf[_0x582ad3(0x31d)]['COMMAND'],'id':_0x582ad3(0x2d4),async 'handler'(_0x1b10fd,_0x20bb03){const _0xf136b=_0x582ad3;if(!_0x20bb03)return!0x1;const _0x15875e=_0x1b10fd[_0xf136b(0x313)](_0x434acf[_0xf136b(0x388)]),_0x5560e8=_0x1b10fd[_0xf136b(0x313)](_0x434acf[_0xf136b(0x285)]),_0x18f539=_0x1b10fd[_0xf136b(0x313)](_0x39b78f[_0xf136b(0x280)]),{info:_0x573fe9,tableFieldId:_0x2d2123,pivotTableId:_0x214acb,unitId:_0x18eb30,subUnitId:_0x536d71}=_0x20bb03,_0x4ee104=(await _0x18f539[_0xf136b(0x3f6)]({'unitId':_0x18eb30,'subUnitId':_0x536d71,'pivotTableId':_0x214acb,'params':{'type':_0x4396e3[_0xf136b(0x362)],'setPivotSort':{'tableFieldId':_0x2d2123,'info':_0x573fe9}}}))[_0xf136b(0x3d0)]['setPivotSort'];if(!_0x4ee104)return!0x1;const {changesets:_0x4554a3}=_0x4ee104,{redos:_0x3cb94e,undos:_0x15d7b2}=_0x22d700(_0x15875e,{'pivotTableId':_0x214acb,'unitId':_0x18eb30,'subUnitId':_0x536d71},_0x4554a3);return _0x434acf[_0xf136b(0x4bf)](_0x3cb94e,_0x15875e),_0x5560e8[_0xf136b(0x1f9)]({'unitID':_0x18eb30,'redoMutations':_0x3cb94e,'undoMutations':_0x15d7b2}),!0x0;}},_0x292ed6={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x5f2641,_0x413d40){const _0x2237f6=_0x582ad3;if(!_0x413d40)return!0x1;const _0x28384f=_0x5f2641['get'](_0x434acf[_0x2237f6(0x388)]),{pivotTableId:_0x537941,fieldId:_0xee4f58,valueFilterInfo:_0x914ca1,unitId:_0x141ed8,subUnitId:_0x38ebb8}=_0x413d40,_0x13f251=_0x5f2641[_0x2237f6(0x313)](_0x39b78f[_0x2237f6(0x280)]),_0x8342fb=_0x5f2641[_0x2237f6(0x313)](_0x434acf[_0x2237f6(0x285)]),_0x30b5dc=(await _0x13f251[_0x2237f6(0x3f6)]({'unitId':_0x141ed8,'subUnitId':_0x38ebb8,'pivotTableId':_0x537941,'params':{'type':_0x4396e3[_0x2237f6(0x21f)],'setValuePivotFilter':{'tableFieldId':_0xee4f58,'filterInfo':_0x914ca1}}}))['result'][_0x2237f6(0x467)];if(!_0x30b5dc)return!0x1;const {changesets:_0x29fa71,pivotTableConfig:_0x541b53,isEmpty:_0x32ad7d,view:_0x196e9d}=_0x30b5dc,_0x110af8=_0x541b53[_0x2237f6(0x481)],_0xbd1a8=new _0x469b30['PivotView']();_0xbd1a8['formJSON'](_0x196e9d);const _0x243bea={'cellInfo':_0x110af8,'view':_0xbd1a8,'isEmpty':_0x32ad7d};if(!await _0x5f2641[_0x2237f6(0x313)](_0x39b78f[_0x2237f6(0x40e)])[_0x2237f6(0x3aa)][_0x2237f6(0x28c)](_0x277499)(!0x0,_0x243bea))return!0x1;const _0x28f18c=_0x38b5cd(_0x5f2641,_0xbd1a8,_0x110af8,_0x32ad7d),_0x29ba68=_0x575c16(_0x5f2641,_0x243bea),{undos:_0x21c1da,redos:_0x2eb863}=_0x22d700(_0x28384f,{'pivotTableId':_0x537941,'unitId':_0x141ed8,'subUnitId':_0x38ebb8},_0x29fa71);return _0x434acf[_0x2237f6(0x4bf)]([..._0x28f18c[_0x2237f6(0x41c)],..._0x29ba68[_0x2237f6(0x41c)],..._0x2eb863],_0x28384f),_0x8342fb[_0x2237f6(0x1f9)]({'unitID':_0x141ed8,'redoMutations':[..._0x28f18c[_0x2237f6(0x41c)],..._0x29ba68[_0x2237f6(0x41c)],..._0x2eb863],'undoMutations':[..._0x28f18c[_0x2237f6(0x1f3)],..._0x29ba68['undos'],..._0x21c1da]}),!0x0;}},_0x2ddba6={'id':_0x582ad3(0x35d),'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x2d3)],'handler':(_0x260710,_0x12dbc8)=>{const _0x210f20=_0x582ad3;if(!_0x12dbc8)return!0x1;if(!!_0x260710[_0x210f20(0x313)](_0x434acf['IConfigService'])[_0x210f20(0x452)](_0x4f33fa))return!0x0;const {unitId:_0x171a0d,subUnitId:_0x4df97e,pivotTableId:_0x5d102a,tableFieldId:_0x1d236a,dateType:_0x51c855}=_0x12dbc8,_0x37a5d2=_0x260710[_0x210f20(0x313)](_0x39b78f[_0x210f20(0x486)]),_0x55d8c3=_0x37a5d2[_0x210f20(0x2d6)](_0x5d102a);if(!_0x55d8c3)return!0x1;const _0x123a62=_0x55d8c3[_0x210f20(0x283)](_0x1d236a);if(!_0x123a62)return!0x1;const _0x1e404e=_0x123a62['getOriginFieldId'](),_0x10302f=_0x55d8c3['getDataFieldByDataFieldId'](_0x1e404e),_0x4643c2=(_0x10302f==null?void 0x0:_0x10302f[_0x210f20(0x261)]())+'\x20'+_0x280a22(_0x260710,_0x51c855);_0x37a5d2['getCollection'](_0x171a0d,_0x5d102a)['setDisplayName'](_0x123a62['id'],_0x4643c2);const _0x51b7d4=_0x55d8c3[_0x210f20(0x39b)](_0x1d236a);if(!_0x51b7d4)return!0x1;_0x55d8c3[_0x210f20(0x1e9)](_0x51b7d4[_0x210f20(0x2b6)](),_0x4643c2),_0x123a62[_0x210f20(0x2af)](_0x51c855);const _0x1651c5=_0x37a5d2[_0x210f20(0x1e7)](_0x171a0d,_0x4df97e,_0x5d102a);return _0x37a5d2[_0x210f20(0x273)]({'unitId':_0x171a0d,'subUnitId':_0x4df97e,'token':_0x5d102a,'type':_0x106039[_0x210f20(0x4af)],'pivotConfig':_0x1651c5}),!0x0;}},_0x4d5c36={'id':_0x582ad3(0x31f),'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'handler':(_0x4d5404,_0x5df9e7)=>{const _0x19b92b=_0x582ad3;if(!_0x5df9e7)return!0x1;const _0x53284c=_0x4d5404[_0x19b92b(0x313)](_0x434acf['IUndoRedoService']),{unitId:_0x16a467,subUnitId:_0xbf9cec,pivotTableId:_0x425c41,tableFieldId:_0x51dc46}=_0x5df9e7,_0x30c18f=[],_0x4e6325=[],_0x21924b=_0x4d5404['get'](_0x39b78f['SheetsPivotTableConfigModel']),_0x334f15=_0x21924b[_0x19b92b(0x33d)](_0x16a467,_0x425c41),_0x2119c5=_0x21924b[_0x19b92b(0x1e7)](_0x16a467,_0xbf9cec,_0x425c41);if(!(_0x2119c5!=null&&_0x2119c5['fieldsConfig'][_0x19b92b(0x377)]))return!0x1;const _0x592881=Object['values'](_0x2119c5[_0x19b92b(0x1f7)][_0x19b92b(0x377)])[_0x19b92b(0x4aa)](_0x5c3346=>_0x5c3346['id']===_0x51dc46);if(!_0x592881)return!0x1;const _0x374b8c=_0x592881[_0x19b92b(0x37c)];if(!(_0x334f15!=null&&_0x334f15[_0x19b92b(0x3ce)]))return!0x1;const _0xd19425=Object['values'](_0x334f15==null?void 0x0:_0x334f15[_0x19b92b(0x3ce)])[_0x19b92b(0x4aa)](_0x5ca332=>_0x5ca332['id']===_0x374b8c);if(!_0xd19425)return!0x1;_0x469b30[_0x19b92b(0x3d7)](_0xd19425)&&_0x30c18f['push']({'id':_0x2ddba6['id'],'params':{..._0x5df9e7,'dateType':_0xd19425['dateType']}}),_0x4e6325[_0x19b92b(0x248)]({'id':_0x2ddba6['id'],'params':{..._0x5df9e7}});const _0x385330=_0x4d5404[_0x19b92b(0x313)](_0x434acf['ICommandService']);return _0x434acf['sequenceExecute'](_0x4e6325,_0x385330)&&_0x53284c[_0x19b92b(0x1f9)]({'unitID':_0x16a467,'undoMutations':_0x30c18f,'redoMutations':_0x4e6325}),!0x0;}},_0x46f41e={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':_0x582ad3(0x2c7),async 'handler'(_0x2b0a08,_0x3eef47){const _0x31ad71=_0x582ad3;if(!_0x3eef47)return!0x1;const _0x4809f9=_0x2b0a08[_0x31ad71(0x313)](_0x434acf[_0x31ad71(0x388)]),_0x46c7ee=_0x2b0a08[_0x31ad71(0x313)](_0x434acf[_0x31ad71(0x285)]),_0x21b1f9=_0x2b0a08[_0x31ad71(0x313)](_0x39b78f['SheetsPivotRPCService']),{displayName:_0x133879,subtotalType:_0x2100ca,format:_0x5e136a,tableFieldId:_0x123be0,pivotTableId:_0x4ad6ea,unitId:_0x4e09e8,subUnitId:_0x3f3bdd}=_0x3eef47,_0x13e049=(await _0x21b1f9[_0x31ad71(0x3f6)]({'unitId':_0x4e09e8,'subUnitId':_0x3f3bdd,'pivotTableId':_0x4ad6ea,'params':{'type':_0x4396e3[_0x31ad71(0x1ce)],'setPivotSetting':{'tableFieldId':_0x123be0,'displayName':_0x133879,'subtotalType':_0x2100ca,'format':_0x5e136a}}}))[_0x31ad71(0x3d0)][_0x31ad71(0x480)];if(!_0x13e049)return!0x1;const {changesets:_0x29c321,view:_0x46a632,pivotTableConfig:_0x4f45ab,isEmpty:_0x35dae7}=_0x13e049,_0x592050=_0x4f45ab[_0x31ad71(0x481)],_0x265525=new _0x469b30[(_0x31ad71(0x46e))]();_0x265525[_0x31ad71(0x2bc)](_0x46a632);const _0x4c0379={'cellInfo':_0x592050,'view':_0x265525,'isEmpty':_0x35dae7};if(!await _0x2b0a08['get'](_0x39b78f[_0x31ad71(0x40e)])['asyncInterceptor'][_0x31ad71(0x28c)](_0x277499)(!0x0,_0x4c0379))return!0x1;const _0x336ea8=_0x38b5cd(_0x2b0a08,_0x265525,_0x592050,_0x35dae7),_0x2998e6=_0x575c16(_0x2b0a08,_0x4c0379),{undos:_0x5807bc,redos:_0x514e53}=_0x22d700(_0x4809f9,{'pivotTableId':_0x4ad6ea,'unitId':_0x4e09e8,'subUnitId':_0x3f3bdd},_0x29c321);return _0x434acf[_0x31ad71(0x4bf)]([..._0x336ea8[_0x31ad71(0x41c)],..._0x2998e6[_0x31ad71(0x41c)],..._0x514e53],_0x4809f9),_0x46c7ee[_0x31ad71(0x1f9)]({'unitID':_0x4e09e8,'redoMutations':[..._0x336ea8[_0x31ad71(0x41c)],..._0x2998e6[_0x31ad71(0x41c)],..._0x514e53],'undoMutations':[..._0x336ea8[_0x31ad71(0x1f3)],..._0x2998e6[_0x31ad71(0x1f3)],..._0x5807bc]}),!0x0;}},_0x573750={'type':_0x434acf[_0x582ad3(0x31d)]['MUTATION'],'id':_0x582ad3(0x1d3),'handler'(_0x50c54a,_0xe6c2a4){const _0x9ab7b0=_0x582ad3;if(!_0xe6c2a4)return!0x1;if(!!_0x50c54a['get'](_0x434acf['IConfigService'])[_0x9ab7b0(0x452)](_0x4f33fa))return!0x0;const _0x11089d=_0x50c54a['get'](_0x39b78f[_0x9ab7b0(0x486)]),{pivotTableId:_0x1cecc9,deleteIds:_0x300f17,collectionJSON:_0x11a4cc,dataRangeInfo:_0x7ea2ed,unitId:_0x5115de,subUnitId:_0x54bb5a}=_0xe6c2a4,_0x132f79=_0x11089d[_0x9ab7b0(0x2d6)](_0x1cecc9),_0x34d8a7=_0x11089d['getPivotTableConfig'](_0x5115de,_0x54bb5a,_0x1cecc9);if(!_0x132f79||!_0x34d8a7)return!0x1;const {collection:_0x503bc4,updateDataFieldList:_0x27e7ce}=_0x11089d[_0x9ab7b0(0x4d0)](_0x1cecc9,_0x11a4cc,_0x7ea2ed,_0x34d8a7[_0x9ab7b0(0x481)]);_0x11089d['refreshData'](_0x503bc4,_0x27e7ce,_0x7ea2ed),_0x132f79[_0x9ab7b0(0x245)](_0x503bc4);for(const _0x189e94 of _0x300f17)_0x11089d[_0x9ab7b0(0x1c1)](_0x7ea2ed[_0x9ab7b0(0x253)],_0x189e94);const _0x3e5a55=_0x11089d['getPivotTableConfig'](_0x5115de,_0x54bb5a,_0x1cecc9);return _0x3e5a55[_0x9ab7b0(0x471)]=JSON[_0x9ab7b0(0x44e)](JSON[_0x9ab7b0(0x2e6)](_0x7ea2ed)),_0x11089d[_0x9ab7b0(0x273)]({'unitId':_0x5115de,'subUnitId':_0x54bb5a,'token':_0x1cecc9,'type':_0x106039[_0x9ab7b0(0x4af)]}),!0x0;}},_0x30ddb3={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':_0x582ad3(0x319),async 'handler'(_0xc5b3fa,_0x3bf89d){const _0x12094f=_0x582ad3,_0x51171a=_0xc5b3fa['get'](_0x434acf[_0x12094f(0x388)]),_0x57bac7=_0xc5b3fa[_0x12094f(0x313)](_0x39b78f['SheetsPivotRPCService']),_0x5d896f=_0xc5b3fa[_0x12094f(0x313)](_0x434acf[_0x12094f(0x285)]);if(!_0x3bf89d)return!0x1;const {token:_0x331915,dataRangeInfo:_0x4b47e7,unitId:_0x141442,subUnitId:_0x33cba9}=_0x3bf89d,_0x1f5f85=[],_0xc1b5f8=[],_0x2c53d7=(await _0x57bac7[_0x12094f(0x3f6)]({'unitId':_0x141442,'subUnitId':_0x33cba9,'pivotTableId':_0x331915,'params':{'type':_0x4396e3['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x4b47e7,'unitId':_0x141442,'subUnitId':_0x33cba9}}}))[_0x12094f(0x3d0)][_0x12094f(0x347)];if(!_0x2c53d7)return!0x1;const {changesets:_0x17084f,deleteIds:_0x4678cd,collectionConfig:_0x570fea,oldCollectionConfig:_0x1bef88,view:_0x12aafa,isEmpty:_0x4b1861,pivotTableConfig:_0x5d249a}=_0x2c53d7;_0xc1b5f8[_0x12094f(0x248)]({'id':_0x573750['id'],'params':{'pivotTableId':_0x331915,'deleteIds':_0x4678cd,'collectionJSON':_0x570fea,'dataRangeInfo':_0x4b47e7,'unitId':_0x141442,'subUnitId':_0x33cba9}}),_0x1f5f85['unshift']({'id':_0x573750['id'],'params':{'pivotTableId':_0x331915,'deleteIds':[],'collectionJSON':_0x1bef88,'dataRangeInfo':_0x5d249a['sourceRangeInfo'],'unitId':_0x141442,'subUnitId':_0x33cba9}});const _0x5d7857=_0x5d249a[_0x12094f(0x481)],_0x4e7d40=new _0x469b30[(_0x12094f(0x46e))]();_0x4e7d40['formJSON'](_0x12aafa);const _0x5d51c9={'cellInfo':_0x5d7857,'view':_0x4e7d40,'isEmpty':_0x4b1861};if(!await _0xc5b3fa[_0x12094f(0x313)](_0x39b78f['SheetsPivotTableService'])[_0x12094f(0x3aa)][_0x12094f(0x28c)](_0x277499)(!0x0,_0x5d51c9))return!0x1;const _0x4c35f1=_0x38b5cd(_0xc5b3fa,_0x4e7d40,_0x5d7857,_0x4b1861),_0x30510c=_0x575c16(_0xc5b3fa,_0x5d51c9),{undos:_0x1556de,redos:_0x267ab4}=_0x22d700(_0x51171a,{'pivotTableId':_0x331915,'unitId':_0x141442,'subUnitId':_0x33cba9},_0x17084f);return _0x434acf[_0x12094f(0x4bf)]([..._0x4c35f1[_0x12094f(0x41c)],..._0x30510c['redos'],..._0xc1b5f8,..._0x1556de],_0x51171a),_0x5d896f['pushUndoRedo']({'unitID':_0x141442,'redoMutations':[..._0x4c35f1[_0x12094f(0x41c)],..._0x30510c[_0x12094f(0x41c)],..._0xc1b5f8,..._0x1556de],'undoMutations':[..._0x4c35f1[_0x12094f(0x1f3)],..._0x30510c[_0x12094f(0x1f3)],..._0x1f5f85,..._0x267ab4]}),!0x0;}},_0x56a89a={'type':_0x434acf[_0x582ad3(0x31d)][_0x582ad3(0x28d)],'id':_0x582ad3(0x470),async 'handler'(_0x4865c5,_0x1ce34d){const _0x115fcd=_0x582ad3;if(!_0x1ce34d)return!0x1;const _0x1d4683=_0x4865c5[_0x115fcd(0x313)](_0x434acf[_0x115fcd(0x388)]),_0x23359a=_0x4865c5[_0x115fcd(0x313)](_0x39b78f['SheetsPivotRPCService']),_0x4120cb=_0x4865c5['get'](_0x434acf[_0x115fcd(0x2e5)]),_0x445fbb=_0x4865c5[_0x115fcd(0x313)](_0x434acf[_0x115fcd(0x285)]),{pivotTableId:_0xb98000,position:_0x2c06a8,index:_0x4defed}=_0x1ce34d,_0x18844a=_0x24346e[_0x115fcd(0x48a)](_0x4120cb);if(!_0x18844a)return!0x1;const {unitId:_0x180ae1,subUnitId:_0x43cb0e}=_0x18844a,_0x532c8c=(await _0x23359a[_0x115fcd(0x3f6)]({'unitId':_0x180ae1,'subUnitId':_0x43cb0e,'pivotTableId':_0xb98000,'params':{'type':_0x4396e3[_0x115fcd(0x489)],'updateValuePosition':{'position':_0x2c06a8,'index':_0x4defed}}}))[_0x115fcd(0x3d0)][_0x115fcd(0x370)];if(!_0x532c8c)return!0x1;const {changesets:_0xf866e5,view:_0x25dc7c,isEmpty:_0x537ece,pivotTableConfig:_0x31864b}=_0x532c8c,_0x3ee7bc=_0x31864b[_0x115fcd(0x481)],_0x27ad74=new _0x469b30[(_0x115fcd(0x46e))]();_0x27ad74[_0x115fcd(0x2bc)](_0x25dc7c);const _0xb88d85=_0x4865c5[_0x115fcd(0x313)](_0x39b78f[_0x115fcd(0x40e)]),_0x29acc3={'cellInfo':_0x3ee7bc,'view':_0x27ad74,'isEmpty':_0x537ece};if(!await _0xb88d85[_0x115fcd(0x3aa)][_0x115fcd(0x28c)](_0x277499)(!0x0,_0x29acc3))return!0x1;const _0x34a229=_0x38b5cd(_0x4865c5,_0x27ad74,_0x3ee7bc,_0x537ece),_0x5e4f0a=_0x575c16(_0x4865c5,_0x29acc3),{undos:_0x2df101,redos:_0x36c305}=_0x22d700(_0x1d4683,{'pivotTableId':_0xb98000,'unitId':_0x180ae1,'subUnitId':_0x43cb0e},_0xf866e5);return _0x434acf[_0x115fcd(0x4bf)]([..._0x34a229[_0x115fcd(0x41c)],..._0x5e4f0a['redos'],..._0x36c305],_0x1d4683),_0x445fbb[_0x115fcd(0x1f9)]({'unitID':_0x180ae1,'redoMutations':[..._0x34a229[_0x115fcd(0x41c)],..._0x5e4f0a['redos'],..._0x36c305],'undoMutations':[..._0x34a229[_0x115fcd(0x1f3)],..._0x5e4f0a[_0x115fcd(0x1f3)],..._0x2df101]}),!0x0;}},_0x284bfd={'type':_0x434acf['CommandType']['MUTATION'],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x49165b=Object['getOwnPropertyDescriptor'],_0x130db3=(_0x5f0fee,_0x29b7d4,_0x2d6cca,_0x127038)=>{for(var _0x1fc6b6=_0x127038>0x1?void 0x0:_0x127038?_0x49165b(_0x29b7d4,_0x2d6cca):_0x29b7d4,_0x37ff80=_0x5f0fee['length']-0x1,_0x2affa7;_0x37ff80>=0x0;_0x37ff80--)(_0x2affa7=_0x5f0fee[_0x37ff80])&&(_0x1fc6b6=_0x2affa7(_0x1fc6b6)||_0x1fc6b6);return _0x1fc6b6;},_0x563474=(_0x3d46a2,_0x1dce02)=>(_0x18c4ab,_0x3deb01)=>_0x1dce02(_0x18c4ab,_0x3deb01,_0x3d46a2);const _0xda03c3=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4231b3=(_0x432c75,_0x2b6fa5,_0x33830c)=>{const _0x296ff4=_0x582ad3,_0xf4a812=_0x432c75[_0x296ff4(0x45f)];_0x432c75['iterateFieldDim'](_0x1f10e3=>{const _0x286e28=_0x296ff4,_0x4f4913=_0x1f10e3[_0x286e28(0x2b6)](),_0x1dabf7=_0x1f10e3['getDataFieldId'](),_0x195cc3=_0x1f10e3['getSourceName'](),_0x14c96c=_0x1f10e3[_0x286e28(0x275)]();_0x2b6fa5[_0x1dabf7]&&_0x2b6fa5[_0x1dabf7]===_0x14c96c&&_0x195cc3===_0x14c96c&&(_0x432c75[_0x286e28(0x1e9)](_0x4f4913,_0xf4a812[_0x286e28(0x275)](_0x1dabf7)),_0x1f10e3[_0x286e28(0x423)](_0xf4a812[_0x286e28(0x275)](_0x1dabf7)));}),_0x432c75[_0x296ff4(0x291)](_0x469b30[_0x296ff4(0x4c5)][_0x296ff4(0x215)],_0x369d18=>{const _0x53cb83=_0x296ff4,_0x1c1fc5=_0x369d18[_0x53cb83(0x2b6)](),_0x40ae02=_0x369d18[_0x53cb83(0x3ba)](),_0x3b7230=_0x369d18[_0x53cb83(0x299)](),_0x4477b0=_0x369d18[_0x53cb83(0x275)](),_0x3c6eb0=_0x369d18['getSubtotal'](),_0x42aee1=_0x33830c(_0x3b7230,_0x3c6eb0);_0x2b6fa5[_0x40ae02]&&_0x2b6fa5[_0x40ae02]===_0x3b7230&&_0x42aee1===_0x4477b0&&(_0x432c75[_0x53cb83(0x1e9)](_0x1c1fc5,_0x33830c(_0xf4a812[_0x53cb83(0x275)](_0x40ae02),_0x3c6eb0)),_0x369d18['setSourceName'](_0xf4a812[_0x53cb83(0x275)](_0x40ae02)));});},_0x3d2c6a=(_0x23fc94,_0xbd8dae,_0x11d4d6)=>{const _0x411439=_0x582ad3;var _0x1a7d79,_0x4de87d;const {arrayFormulaCellData:_0x19b9ed,unitData:_0x400942}=_0xbd8dae,{unitId:_0x32ad73,subUnitId:_0x44b911}=_0x11d4d6,_0x552126=_0x11d4d6[_0x411439(0x45e)],{startColumn:_0x2be966,endColumn:_0x13d35b}=_0x552126,_0x331054=(_0x1a7d79=_0x19b9ed==null?void 0x0:_0x19b9ed[_0x32ad73])==null?void 0x0:_0x1a7d79[_0x44b911],_0x38a5ca=(_0x4de87d=_0x400942==null?void 0x0:_0x400942[_0x32ad73])==null?void 0x0:_0x4de87d[_0x44b911],_0x15b5ab=new Set(),_0x5dda96=_0x13d35b-_0x2be966+0x1,{dirtyRanges:_0x28fa4a}=_0x23fc94;if(_0x28fa4a)for(const {range:_0x76f9e5,sheetId:_0x5f24ce,unitId:_0x4eea0d}of _0x28fa4a){if(_0x5f24ce!==_0x44b911||_0x32ad73!==_0x4eea0d)continue;const _0x32fcca=_0x434acf['Rectangle'][_0x411439(0x33b)](_0x76f9e5,_0x552126);if(_0x32fcca){const {startColumn:_0x495285,endColumn:_0x219c51}=_0x32fcca;for(let _0x5bb51b=_0x495285;_0x5bb51b<=_0x219c51;_0x5bb51b++)_0x15b5ab[_0x411439(0x41a)](_0x5bb51b);}}if(_0x15b5ab['size']===_0x5dda96||_0x15b5ab[_0x411439(0x28b)]===_0x5dda96)return Array['from'](_0x15b5ab);if(_0x38a5ca){const _0x4ac35b=_0x38a5ca['getMatrix'](),_0x2166ba=Object[_0x411439(0x25a)](_0x4ac35b);for(const _0x518509 of _0x2166ba){const _0x3aea8=Number(_0x518509),_0x2c314d=_0x4ac35b[_0x3aea8];if(_0x15b5ab[_0x411439(0x28b)]===_0x5dda96)break;for(const _0x3df57e in _0x2c314d){const _0x4ab955=Number(_0x3df57e);_0x4ab955<_0x2be966||_0x4ab955>_0x13d35b||_0x15b5ab[_0x411439(0x41a)](_0x4ab955);}}}if(_0x331054){const _0x346390=_0x331054[_0x411439(0x3d8)](),_0x474ca6=Object[_0x411439(0x25a)](_0x346390);for(const _0x4877bf of _0x474ca6){const _0x317a42=Number(_0x4877bf),_0x4812f2=_0x346390[_0x317a42];if(_0x15b5ab[_0x411439(0x28b)]===_0x5dda96)break;for(const _0x496ca0 in _0x4812f2){const _0x49f3fc=Number(_0x496ca0);_0x49f3fc<_0x2be966||_0x49f3fc>_0x13d35b||_0x15b5ab[_0x411439(0x41a)](_0x49f3fc);}}}return Array[_0x411439(0x243)](_0x15b5ab);},_0x13cb9e=_0x110ed2=>{const _0x238fc4=_0x582ad3,_0x28798d=new Set(),_0xf1d2a0=[];for(const _0x1c5875 of _0x110ed2){const _0x583251=_0x1c5875[_0x238fc4(0x40b)]+','+_0x1c5875[_0x238fc4(0x1e3)]+','+_0x1c5875[_0x238fc4(0x457)]+','+_0x1c5875[_0x238fc4(0x2cc)];_0x28798d[_0x238fc4(0x426)](_0x583251)||(_0x28798d['add'](_0x583251),_0xf1d2a0[_0x238fc4(0x248)](_0x1c5875));}return _0xf1d2a0;};let _0x16d5f0=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x40f610,_0x1a0a4a,_0x143505,_0x34b75d,_0x58c303){const _0x2f252a=_0x582ad3;super(),_0x25f656(this,_0x2f252a(0x36e),new _0x8b6274[(_0x2f252a(0x39f))](!0x0)),_0x25f656(this,_0x2f252a(0x498),_0x31dbbf=>{const _0x4d90ac=_0x2f252a;this[_0x4d90ac(0x36e)][_0x4d90ac(0x2da)](!0x1);}),_0x25f656(this,'_globalComputedEndHelpFunc',_0x4df6c4=>{const _0x1c247e=_0x2f252a;this[_0x1c247e(0x36e)]['next'](!0x0);}),(this[_0x2f252a(0x216)]=_0x40f610,this['_featureCalculationManagerService']=_0x1a0a4a,this[_0x2f252a(0x47c)]=_0x143505,this[_0x2f252a(0x463)]=_0x34b75d,this['_injector']=_0x58c303,this[_0x2f252a(0x490)](),this[_0x2f252a(0x27b)]());}[_0x582ad3(0x490)](){const _0x2b1592=_0x582ad3;this[_0x2b1592(0x356)](),this[_0x2b1592(0x331)](),this[_0x2b1592(0x49d)](),this[_0x2b1592(0x40c)]();}[_0x582ad3(0x2c8)](){const _0xcacd70=_0x582ad3;this['_globalComputingSrv'][_0xcacd70(0x209)](this[_0xcacd70(0x36e)]),_0x469b30[_0xcacd70(0x3d5)][_0xcacd70(0x287)](_0x469b30['PivotCallbackEnum'][_0xcacd70(0x417)],this[_0xcacd70(0x498)]),_0x469b30[_0xcacd70(0x3d5)][_0xcacd70(0x287)](_0x469b30['PivotCallbackEnum'][_0xcacd70(0x462)],this[_0xcacd70(0x3cd)]);}['_initPivotDataGetListener'](){const _0x39568a=_0x582ad3;this[_0x39568a(0x4cd)](this['_commandService']['onCommandExecuted'](_0x10a87a=>{const _0x2d41e0=_0x39568a;_0x10a87a['id']===_0x24346e[_0x2d41e0(0x321)]['id']&&this[_0x2d41e0(0x216)][_0x2d41e0(0x27a)](_0x10a87a['params']);})),this[_0x39568a(0x4cd)](this[_0x39568a(0x47c)][_0x39568a(0x38e)](_0x18a3aa=>{const _0x56c8f5=_0x39568a;if(_0x18a3aa['id']!==_0x296d8e['id'])return;const _0x2be6d3=_0x18a3aa[_0x56c8f5(0x36d)],{unitId:_0x460c17,subUnitId:_0x320f9a,pivotTableId:_0x2d9d81}=_0x2be6d3,_0x1029bb=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x1da)],_0x2c893f={};switch(_0x1029bb){case _0x4396e3[_0x56c8f5(0x24c)]:{const _0x2f4162=_0x2be6d3['params'][_0x56c8f5(0x3bf)];if(!_0x2f4162)return;const {row:_0x559223,col:_0x777e6,cellData:_0x514782,pivotItemRenderInfoCache:_0x466df8,tableFieldId:_0x1d25ff}=_0x2f4162,_0xbbd713=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2be6d3[_0x56c8f5(0x406)]);if(!_0xbbd713||!_0x466df8)return;if(_0x1d25ff){const _0xc447c0=_0xbbd713[_0x56c8f5(0x283)](_0x1d25ff);if(!_0xc447c0)return;_0x2c893f[_0x56c8f5(0x3bf)]={..._0xbbd713[_0x56c8f5(0x3e5)](_0xc447c0),'tableFieldId':_0x1d25ff,'pivotTableId':_0x2be6d3[_0x56c8f5(0x406)],'filterInfo':_0xbbd713['getFilterInfo'](_0x1d25ff),'sortInfo':_0xbbd713['getSortInfo'](_0x1d25ff),'format':_0xbbd713[_0x56c8f5(0x4be)](_0x1d25ff)};}else{const _0x374cc9=_0x3f6f1b(_0x559223,_0x777e6,_0x514782,_0xbbd713,_0x466df8),_0x245903=_0x374cc9==null?void 0x0:_0x374cc9[_0x56c8f5(0x1db)];if(!_0x245903)return;const _0x1c104d=_0xbbd713[_0x56c8f5(0x283)](_0x245903);if(!_0x1c104d)return;_0x2c893f[_0x56c8f5(0x3bf)]={..._0xbbd713[_0x56c8f5(0x3e5)](_0x1c104d),'tableFieldId':_0x245903,'pivotTableId':_0x2be6d3[_0x56c8f5(0x406)],'filterInfo':_0xbbd713['getFilterInfo'](_0x245903),'sortInfo':_0xbbd713[_0x56c8f5(0x1c0)](_0x245903),'format':_0xbbd713[_0x56c8f5(0x4be)](_0x245903)};}}break;case _0x4396e3[_0x56c8f5(0x45b)]:{const _0x3ce944=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x22a)];if(!_0x3ce944)return;const {pivotTableId:_0x2f0672}=_0x3ce944,_0x20a2b4=this[_0x56c8f5(0x216)]['getPivotTableInstance'](_0x2f0672);if(!_0x20a2b4)return;const _0x384710=this[_0x56c8f5(0x216)]['getPivotTableConfig'](_0x460c17,_0x320f9a,_0x2f0672),_0x5e0896=_0x2dbc29(_0x20a2b4,_0x2f0672,_0x384710);_0x2c893f['panel']=_0x5e0896;}break;case _0x4396e3['AddPivotField']:{const _0x2d6f70=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2d9d81),_0x74664f=this[_0x56c8f5(0x216)][_0x56c8f5(0x43c)](_0x460c17),_0x50d873=_0x74664f[_0x56c8f5(0x33d)](_0x2d9d81);let _0x11569f=null;const _0x107baf=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81),_0x153bbd=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x479)];if(!_0x2d6f70||!_0x107baf||!_0x153bbd)return!0x1;const {dataFieldId:_0x20907e,fieldArea:_0x146715,index:_0x5c865b}=_0x153bbd;_0x2d6f70[_0x56c8f5(0x491)]();const _0x4db940=_0x2d6f70[_0x56c8f5(0x4a9)](_0x20907e,_0x146715,_0x5c865b);if(_0x4db940&&_0x146715===_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x215)]){const _0x1a51ce=_0x4db940[_0x56c8f5(0x2b6)](),_0x30e0cf=_0x2d6f70[_0x56c8f5(0x283)](_0x1a51ce);if(_0x30e0cf){const _0x52a751=_0x30e0cf==null?void 0x0:_0x30e0cf['getFieldDataType']();_0x2d6f70[_0x56c8f5(0x338)](_0x4db940[_0x56c8f5(0x2b6)](),_0x52a751===_0x469b30[_0x56c8f5(0x44c)][_0x56c8f5(0x259)]?_0x469b30[_0x56c8f5(0x264)][_0x56c8f5(0x45c)]:_0x469b30[_0x56c8f5(0x264)][_0x56c8f5(0x39c)]);}const _0x44e7b3=_0x2d6f70[_0x56c8f5(0x3b2)](),_0x3c2e83=_0x2d6f70[_0x56c8f5(0x292)](),_0x9e8668=_0x2d6f70[_0x56c8f5(0x1c2)](_0x469b30[_0x56c8f5(0x4c5)]['Value']);if(_0x44e7b3===-0x1&&_0x9e8668>0x1){const _0x28b563=_0x3c2e83===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x1f6)]?_0x469b30['PivotTableValuePositionEnum'][_0x56c8f5(0x412)]:_0x3c2e83,_0x25a668=_0x28b563===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x492)]?_0x469b30[_0x56c8f5(0x4c5)]['Row']:_0x469b30[_0x56c8f5(0x4c5)]['Column'];_0x2d6f70['updateValuePosition'](_0x28b563,_0x2d6f70[_0x56c8f5(0x1c2)](_0x25a668));}}else{if(_0x4db940&&(_0x146715===_0x469b30['PivotTableFiledAreaEnum'][_0x56c8f5(0x492)]||_0x146715===_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x412)])){const _0x3b2401=_0x4db940['getId'](),_0x12460f=_0x2d6f70[_0x56c8f5(0x283)](_0x3b2401);if(_0x12460f&&(_0x12460f==null?void 0x0:_0x12460f[_0x56c8f5(0x2cd)]())===_0x469b30['PivotDataFieldDataTypeEnum'][_0x56c8f5(0x235)]){const _0x46aea8=_0x12460f[_0x56c8f5(0x21c)]();if(_0x46aea8&&_0x2d6f70['setFieldFormat'](_0x4db940[_0x56c8f5(0x2b6)](),_0x46aea8),!_0x50d873[_0x56c8f5(0x337)]()[_0x56c8f5(0x3f1)](_0xe91bcd=>{const _0x4690c0=_0x56c8f5,_0x1c04f9=_0x50d873[_0x4690c0(0x298)](_0xe91bcd);return _0x469b30[_0x4690c0(0x1e2)](_0x1c04f9)?_0x1c04f9[_0x4690c0(0x4c2)]()[_0x4690c0(0x2f5)]===_0x20907e:!0x1;})){const _0x7e2488=_0x74664f[_0x56c8f5(0x44a)](),_0x264d90=_0x35e8e7(_0x12460f[_0x56c8f5(0x446)],_0x12460f[_0x56c8f5(0x228)]),_0x32621b=_0x12460f[_0x56c8f5(0x261)]()+_0x56c8f5(0x4ac)+_0x280a22(this[_0x56c8f5(0x1cf)],_0x264d90),_0x3bd96c=new _0x469b30[(_0x56c8f5(0x206))](_0x7e2488,_0x32621b,_0x469b30[_0x56c8f5(0x20a)](0x3),_0x12460f[_0x56c8f5(0x2b6)](),_0x264d90);_0x74664f[_0x56c8f5(0x497)](_0x3bd96c),_0x50d873['addField'](_0x7e2488,_0x32621b),_0x2d6f70[_0x56c8f5(0x4a9)](_0x7e2488,_0x146715,(_0x5c865b!=null?_0x5c865b:0x0)+0x1),_0x11569f=_0x3bd96c;}}}}const _0xa6ca14=_0x2d6f70[_0x56c8f5(0x325)](),_0xec002b=_0x2d6f70[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)]();let _0x1631c0;if(_0x11569f){_0x1631c0=_0x11569f['toJSON']();const _0x14d282=_0x11569f[_0x56c8f5(0x2b6)]();_0x50d873[_0x56c8f5(0x4b1)](_0x14d282);let _0x26420b=!0x0;for(const _0x201f83 in _0x74664f[_0x56c8f5(0x23c)])if(_0x74664f[_0x56c8f5(0x23c)][_0x201f83]['getFieldIds']()[_0x56c8f5(0x1d0)](_0x14d282)){_0x26420b=!0x1;break;}_0x26420b&&_0x74664f[_0x56c8f5(0x3f9)](_0x14d282);}const _0x365212=_0x2d6f70['endCollectChangeset']();_0x2c893f[_0x56c8f5(0x479)]={'view':_0xec002b,'changesets':_0x365212,'isEmpty':_0xa6ca14,'pivotTableConfig':_0x107baf,'shouldBeAddedGroupJSON':_0x1631c0};}break;case _0x4396e3['AddPivotTable']:{const _0xb4fd24=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x3b9)];if(!_0xb4fd24)return;const _0x50a407=_0xb4fd24[_0x56c8f5(0x471)],_0x3167f6=_0xb4fd24[_0x56c8f5(0x406)],{collection:_0x2ad1cb}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x50a407[_0x56c8f5(0x253)],'sheetName':_0x50a407[_0x56c8f5(0x4a1)],'subUnitId':_0x50a407[_0x56c8f5(0x31b)],'range':_0x50a407[_0x56c8f5(0x45e)]}),_0x1428ea=new _0x469b30[(_0x56c8f5(0x3d5))](_0x2ad1cb,void 0x0,_0x3167f6),_0x20a2a6=_0x1428ea['query'](),_0x5cd7fd=_0x1428ea[_0x56c8f5(0x37b)](),_0x4fb09c=_0x2ad1cb[_0x56c8f5(0x37b)]();_0x2c893f['addPivotTable']={'view':_0x20a2a6,'fieldsConfig':_0x5cd7fd,'collectionConfig':_0x4fb09c,'isEmpty':_0x1428ea[_0x56c8f5(0x325)]()};}break;case _0x4396e3[_0x56c8f5(0x431)]:{const _0x463df3=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x3e9)];if(!_0x463df3)return;const {fieldId:_0x2263dc,area:_0x4f5e3e,index:_0x4cfaa5}=_0x463df3,_0x6c1f66=this['_sheetsPivotDataSourceModel'][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x6c1f66)return;const _0x524586=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2d9d81);if(!_0x524586)return;_0x524586[_0x56c8f5(0x491)]();const {area:_0x1fdc9d,index:_0x31f1b8}=_0x524586[_0x56c8f5(0x4d1)](_0x2263dc);if(_0x524586['updateFieldPosition'](_0x2263dc,_0x4f5e3e,_0x4cfaa5),_0x4f5e3e===_0x469b30[_0x56c8f5(0x4c5)]['Value']&&_0x524586[_0x56c8f5(0x39b)](_0x2263dc)[_0x56c8f5(0x37e)]()===void 0x0){const _0x4443bd=_0x524586[_0x56c8f5(0x39b)](_0x2263dc);if(_0x4443bd&&_0x4443bd[_0x56c8f5(0x37e)]()===void 0x0){const _0x3291d6=_0x524586['getDataFieldByTableId'](_0x2263dc);if(_0x3291d6){const _0x50f38f=_0x3291d6==null?void 0x0:_0x3291d6[_0x56c8f5(0x2cd)]();_0x524586[_0x56c8f5(0x338)](_0x2263dc,_0x50f38f===_0x469b30[_0x56c8f5(0x44c)][_0x56c8f5(0x259)]?_0x469b30[_0x56c8f5(0x264)][_0x56c8f5(0x45c)]:_0x469b30[_0x56c8f5(0x264)][_0x56c8f5(0x39c)]);}}}const _0x56170f=_0x524586[_0x56c8f5(0x292)](),_0x4003c8=_0x524586[_0x56c8f5(0x3b2)](),_0x3604a7=_0x524586[_0x56c8f5(0x1c2)](_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x215)])>0x1;if(_0x3604a7&&_0x1fdc9d===_0x4f5e3e&&(_0x4f5e3e===_0x469b30[_0x56c8f5(0x4c5)]['Row']&&_0x56170f===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x492)]||_0x4f5e3e===_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x412)]&&_0x56170f===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x412)])){let _0x5cf5e5=_0x4003c8;_0x31f1b8<=_0x4003c8&&_0x5cf5e5--,_0x4cfaa5<=_0x4003c8&&_0x5cf5e5++,_0x524586[_0x56c8f5(0x370)](_0x56170f,_0x5cf5e5);}else _0x3604a7&&(_0x1fdc9d===_0x469b30['PivotTableFiledAreaEnum'][_0x56c8f5(0x492)]&&_0x56170f===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x492)]||_0x1fdc9d===_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x412)]&&_0x56170f===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x412)])&&_0x4003c8>=_0x31f1b8&&_0x524586[_0x56c8f5(0x370)](_0x56170f,_0x4003c8-0x1),_0x3604a7&&(_0x4f5e3e===_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x492)]&&_0x56170f===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x492)]||_0x4f5e3e===_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x412)]&&_0x56170f===_0x469b30[_0x56c8f5(0x30b)][_0x56c8f5(0x412)])&&_0x4003c8>=_0x4cfaa5&&_0x524586['updateValuePosition'](_0x56170f,_0x4003c8+0x1);const _0x2440c9=_0x524586['query'](),_0x1d627b=_0x524586[_0x56c8f5(0x325)](),_0x316252=_0x524586[_0x56c8f5(0x4a3)]();_0x2c893f[_0x56c8f5(0x3e9)]={'view':_0x2440c9[_0x56c8f5(0x37b)](),'changesets':_0x316252,'isEmpty':_0x1d627b,'pivotTableConfig':_0x6c1f66};}break;case _0x4396e3[_0x56c8f5(0x38d)]:{const _0x2c3d65=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x252)];if(!_0x2c3d65)return;const _0x502f00=_0x2c3d65[_0x56c8f5(0x2b3)],_0x7da7d0=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x7da7d0)return!0x1;const _0x205f56=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2d9d81);if(!_0x205f56)return!0x1;_0x205f56['startCollectChangeset']();for(const _0x2c3378 of _0x502f00){const {area:_0x4e3151}=_0x205f56[_0x56c8f5(0x4d1)](_0x2c3378);_0x4e3151===_0x469b30[_0x56c8f5(0x4c5)]['Value']&&_0x205f56['removeValueFilterInfoByValueFieldId'](_0x2c3378),(_0x4e3151===_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x492)]||_0x4e3151===_0x469b30['PivotTableFiledAreaEnum'][_0x56c8f5(0x412)])&&_0x205f56[_0x56c8f5(0x290)](_0x2c3378),_0x205f56['removeField'](_0x2c3378);}const _0x331c4f=_0x205f56[_0x56c8f5(0x325)](),_0x3d6f27=_0x205f56[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)](),_0x4dd422=_0x205f56[_0x56c8f5(0x4a3)]();_0x2c893f[_0x56c8f5(0x252)]={'changesets':_0x4dd422,'pivotTableConfig':_0x7da7d0,'isEmpty':_0x331c4f,'view':_0x3d6f27};}break;case _0x4396e3['SetPivotFilter']:{const _0x849569=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x361)];if(!_0x849569)return;const {tableFieldId:_0x42e0d3,items:_0x1e4fae,isAll:_0x172fc0}=_0x849569,_0x40c66a=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2d9d81),_0x41f88a=this[_0x56c8f5(0x216)]['getPivotTableConfig'](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x40c66a||!_0x41f88a)return;_0x40c66a[_0x56c8f5(0x491)](),_0x40c66a[_0x56c8f5(0x23a)](_0x42e0d3,{'type':_0x469b30[_0x56c8f5(0x279)][_0x56c8f5(0x2c0)],'list':_0x1e4fae,'isAll':_0x172fc0});const _0x333b0b=_0x40c66a[_0x56c8f5(0x325)](),_0x55b22e=_0x40c66a[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)](),_0x1a88cb=_0x40c66a[_0x56c8f5(0x4a3)]();_0x2c893f[_0x56c8f5(0x361)]={'view':_0x55b22e,'changesets':_0x1a88cb,'isEmpty':_0x333b0b,'pivotTableConfig':_0x41f88a};}break;case _0x4396e3['SetValuePivotFilter']:{const _0x51e301=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x467)];if(!_0x51e301)return;const {tableFieldId:_0x9a1b7b,filterInfo:_0x430ab7}=_0x51e301,_0x2a75ec=this[_0x56c8f5(0x216)]['getPivotTableInstance'](_0x2d9d81),_0x6c0fcb=this['_sheetsPivotDataSourceModel'][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x2a75ec||!_0x6c0fcb)return;_0x2a75ec[_0x56c8f5(0x491)](),_0x2a75ec[_0x56c8f5(0x354)](_0x9a1b7b,_0x430ab7);const _0x591c5b=_0x2a75ec[_0x56c8f5(0x325)](),_0xf63a4d=_0x2a75ec[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)](),_0x2493ad=_0x2a75ec['endCollectChangeset']();_0x2c893f[_0x56c8f5(0x467)]={'view':_0xf63a4d,'changesets':_0x2493ad,'isEmpty':_0x591c5b,'pivotTableConfig':_0x6c0fcb};}break;case _0x4396e3[_0x56c8f5(0x362)]:{const _0x5d9d5c=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x4bd)];if(!_0x5d9d5c)return;const {tableFieldId:_0xc968c3,info:_0x2498ac}=_0x5d9d5c,_0x3196e5=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2d9d81),_0x24e3f8=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x3196e5||!_0x24e3f8)return;_0x3196e5[_0x56c8f5(0x491)](),_0x3196e5['setSortInfo'](_0xc968c3,_0x2498ac);const _0x561cc3=_0x3196e5[_0x56c8f5(0x325)](),_0x55dad9=_0x3196e5[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)](),_0x2b390a=_0x3196e5['endCollectChangeset']();_0x2c893f['setPivotSort']={'view':_0x55dad9,'changesets':_0x2b390a,'isEmpty':_0x561cc3,'pivotTableConfig':_0x24e3f8};}break;case _0x4396e3[_0x56c8f5(0x1ce)]:{const _0x22bb62=_0x2be6d3['params'][_0x56c8f5(0x480)];if(!_0x22bb62)return;const {tableFieldId:_0x16051f,displayName:_0x2c35a9,subtotalType:_0x2c6b11,format:_0x5d76ff}=_0x22bb62,_0x4ebc17=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2d9d81),_0x31146e=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x4ebc17||!_0x31146e)return;_0x4ebc17['startCollectChangeset'](),_0x2c35a9!==void 0x0&&_0x4ebc17[_0x56c8f5(0x1e9)](_0x16051f,_0x2c35a9),_0x2c6b11!==void 0x0&&_0x4ebc17['setSubtotalType'](_0x16051f,_0x2c6b11),_0x5d76ff!==void 0x0&&_0x4ebc17[_0x56c8f5(0x213)](_0x16051f,_0x5d76ff);const _0x3a7cd3=_0x4ebc17[_0x56c8f5(0x325)](),_0x3b3c60=_0x4ebc17[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)](),_0x10edea=_0x4ebc17[_0x56c8f5(0x4a3)]();_0x2c893f[_0x56c8f5(0x480)]={'changesets':_0x10edea,'pivotTableConfig':_0x31146e,'isEmpty':_0x3a7cd3,'view':_0x3b3c60};}break;case _0x4396e3[_0x56c8f5(0x251)]:{const _0x5928a0=_0x2be6d3[_0x56c8f5(0x36d)]['updatePivotSource'];if(!_0x5928a0)return;const {dataRangeInfo:_0x562af9,unitId:_0x4a92a8,subUnitId:_0x417080}=_0x5928a0,_0x5b7450=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x4a92a8,_0x417080,_0x2d9d81),_0x40107e=this['_sheetsPivotDataSourceModel'][_0x56c8f5(0x2d6)](_0x2d9d81);if(!this[_0x56c8f5(0x216)][_0x56c8f5(0x33d)](_0x4a92a8,_0x2d9d81)||!_0x40107e||!_0x5b7450)return;const _0x3cc4d6=this[_0x56c8f5(0x216)][_0x56c8f5(0x1d2)](_0x4a92a8,_0x2d9d81,_0x562af9),_0x305bb8=this[_0x56c8f5(0x216)][_0x56c8f5(0x33d)](_0x4a92a8,_0x2d9d81)[_0x56c8f5(0x37b)](),{collection:_0x27f613}=this[_0x56c8f5(0x216)][_0x56c8f5(0x425)]({'unitId':_0x562af9[_0x56c8f5(0x253)],'sheetName':_0x562af9[_0x56c8f5(0x4a1)],'subUnitId':_0x562af9[_0x56c8f5(0x31b)],'range':_0x562af9[_0x56c8f5(0x45e)]}),_0x5bb53a=_0x27f613[_0x56c8f5(0x37b)]();_0x40107e[_0x56c8f5(0x491)]();const _0x18c8b7=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x4a92a8)[_0x56c8f5(0x2ce)]()||_0x469b30['getAutoDisplayName'];_0x40107e[_0x56c8f5(0x1f0)](_0x2c62e4=>{const _0x3ad975=_0x56c8f5,_0x1fefef=_0x2c62e4[_0x3ad975(0x3ba)]();if(!_0x27f613[_0x3ad975(0x351)](_0x1fefef)){const _0x4bacb3=_0x27f613[_0x3ad975(0x29a)](_0x2c62e4[_0x3ad975(0x299)]());if(_0x4bacb3){_0x40107e[_0x3ad975(0x427)](_0x2c62e4[_0x3ad975(0x2b6)](),_0x4bacb3[_0x3ad975(0x261)](),_0x4bacb3[_0x3ad975(0x2b6)]());const {area:_0x235703}=_0x40107e['getFieldPositionInfoById'](_0x2c62e4[_0x3ad975(0x2b6)]());let _0x427d40=_0x2c62e4[_0x3ad975(0x299)]();const _0x4fccfd=_0x2c62e4[_0x3ad975(0x275)]();if(_0x235703===_0x469b30['PivotTableFiledAreaEnum'][_0x3ad975(0x215)]){const _0x2f8377=_0x2c62e4[_0x3ad975(0x37e)]();_0x427d40=_0x18c8b7(_0x4bacb3[_0x3ad975(0x261)](),_0x2f8377);}_0x4fccfd!==_0x427d40&&_0x40107e[_0x3ad975(0x1e9)](_0x2c62e4['getId'](),_0x427d40);}else _0x40107e[_0x3ad975(0x1cb)](_0x2c62e4[_0x3ad975(0x2b6)]());}});const _0x33edcb=_0x40107e[_0x56c8f5(0x325)](),_0x494cfb=_0x40107e['query']()[_0x56c8f5(0x37b)](),_0x244c6e=_0x40107e['endCollectChangeset']();_0x2c893f[_0x56c8f5(0x347)]={'view':_0x494cfb,'changesets':_0x244c6e,'isEmpty':_0x33edcb,'pivotTableConfig':_0x5b7450,'collectionConfig':_0x5bb53a,'oldCollectionConfig':_0x305bb8,'deleteIds':_0x3cc4d6};}break;case _0x4396e3[_0x56c8f5(0x489)]:{const _0x415503=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x370)];if(!_0x415503)return;const {position:_0x3e8ed7,index:_0x3be9eb}=_0x415503,_0x2d9098=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x2d9098)return!0x1;const _0x459cb1=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2d9d81);if(!_0x459cb1)return!0x1;_0x459cb1[_0x56c8f5(0x491)](),_0x459cb1[_0x56c8f5(0x370)](_0x3e8ed7,_0x3be9eb);const _0x210b02=_0x459cb1[_0x56c8f5(0x325)](),_0x3559a2=_0x459cb1[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)](),_0x411545=_0x459cb1[_0x56c8f5(0x4a3)]();_0x2c893f[_0x56c8f5(0x370)]={'changesets':_0x411545,'pivotTableConfig':_0x2d9098,'isEmpty':_0x210b02,'view':_0x3559a2};}break;case _0x4396e3[_0x56c8f5(0x3fd)]:{const _0x185754=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x3ea)];if(!_0x185754)return;const {tableFieldId:_0xc09e80,collapse:_0x3ca3d8,item:_0x30552b}=_0x185754,_0x2a6fd5=this['_sheetsPivotDataSourceModel'][_0x56c8f5(0x2d6)](_0x2d9d81),_0x3121ed=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x2a6fd5||!_0x3121ed)return;_0x2a6fd5[_0x56c8f5(0x491)](),_0x2a6fd5[_0x56c8f5(0x39d)](_0xc09e80,_0x3ca3d8,_0x30552b);const _0x3c7c39=_0x2a6fd5[_0x56c8f5(0x325)](),_0x230f16=_0x2a6fd5[_0x56c8f5(0x220)]()['toJSON'](),_0x48efcd=_0x2a6fd5['endCollectChangeset']();_0x2c893f[_0x56c8f5(0x3ea)]={'view':_0x230f16,'isEmpty':_0x3c7c39,'pivotTableConfig':_0x3121ed,'changesets':_0x48efcd};}break;case _0x4396e3[_0x56c8f5(0x208)]:{const _0x2fa177=_0x2be6d3['params']['setPivotTableConfig'];if(!_0x2fa177)return;const {pivotTableConfig:_0x24827b}=_0x2fa177,_0x1c75f8=this['_sheetsPivotDataSourceModel'][_0x56c8f5(0x2d6)](_0x2d9d81),_0x20e972=this[_0x56c8f5(0x216)][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x1c75f8||!_0x20e972)return;_0x1c75f8['startCollectChangeset'](),_0x31a939(_0x1c75f8,_0x24827b);const _0x2ed872=_0x1c75f8[_0x56c8f5(0x325)](),_0x7d192b=_0x1c75f8['query']()['toJSON'](),_0x50d2da=_0x1c75f8[_0x56c8f5(0x4a3)]();_0x2c893f[_0x56c8f5(0x250)]={'view':_0x7d192b,'isEmpty':_0x2ed872,'pivotTableConfig':{..._0x20e972,'fieldsConfig':_0x1c75f8[_0x56c8f5(0x37b)]()},'changesets':_0x50d2da};}break;case _0x4396e3['ResetPivotTable']:{const _0x573e3a=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x24d)];if(!_0x573e3a)return;const _0x5b0c56=this[_0x56c8f5(0x216)][_0x56c8f5(0x2d6)](_0x2d9d81),_0x2f2381=this['_sheetsPivotDataSourceModel'][_0x56c8f5(0x1e7)](_0x460c17,_0x320f9a,_0x2d9d81);if(!_0x5b0c56||!_0x2f2381)return;_0x5b0c56[_0x56c8f5(0x491)](),_0x41fbf7(_0x5b0c56,_0x573e3a[_0x56c8f5(0x2ed)]);const _0x3ac993=_0x5b0c56[_0x56c8f5(0x220)]()[_0x56c8f5(0x37b)](),_0x4360ee=_0x5b0c56[_0x56c8f5(0x4a3)]();_0x2c893f[_0x56c8f5(0x24d)]={'view':_0x3ac993,'isEmpty':!0x0,'pivotTableConfig':{..._0x2f2381,'fieldsConfig':_0x5b0c56['toJSON']()},'changesets':_0x4360ee};}break;case _0x4396e3[_0x56c8f5(0x256)]:{const _0x33b4db=_0x2be6d3[_0x56c8f5(0x36d)][_0x56c8f5(0x3c2)];if(!_0x33b4db)return;const _0x32753c=_0x33b4db[_0x56c8f5(0x471)],_0x27541b=_0x33b4db['pivotTableId'],{collection:_0x3704d1}=this[_0x56c8f5(0x216)][_0x56c8f5(0x425)]({'unitId':_0x32753c[_0x56c8f5(0x253)],'sheetName':_0x32753c['sheetName'],'subUnitId':_0x32753c[_0x56c8f5(0x31b)],'range':_0x32753c['range']}),_0x10debf=new _0x469b30[(_0x56c8f5(0x3d5))](_0x3704d1,void 0x0,_0x27541b),_0x593a8b=_0x3704d1[_0x56c8f5(0x337)](),{rows:_0xb0d971,columns:_0x197dbf,filters:_0x5f36d0,values:_0x33da31}=_0x33b4db[_0x56c8f5(0x371)];_0x10debf[_0x56c8f5(0x491)]();for(const {field:_0x3a7da7,selectedItems:_0x271b2c}of _0xb0d971||[]){const _0x6db313=_0x593a8b[_0x3a7da7];if(_0x6db313){const _0x229ee2=_0x10debf[_0x56c8f5(0x4a9)](_0x6db313,_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x492)]);_0x271b2c&&_0x229ee2&&_0x10debf[_0x56c8f5(0x23a)](_0x229ee2['getId'](),{'type':_0x469b30[_0x56c8f5(0x279)][_0x56c8f5(0x2c0)],'list':_0x271b2c,'isAll':!0x1});}}for(const {field:_0x5be667,selectedItems:_0x49ea9d}of _0x197dbf||[]){const _0x95f483=_0x593a8b[_0x5be667];if(_0x95f483){const _0x4d7ba3=_0x10debf[_0x56c8f5(0x4a9)](_0x95f483,_0x469b30[_0x56c8f5(0x4c5)]['Column']);_0x49ea9d&&_0x4d7ba3&&_0x10debf[_0x56c8f5(0x23a)](_0x4d7ba3[_0x56c8f5(0x2b6)](),{'type':_0x469b30[_0x56c8f5(0x279)][_0x56c8f5(0x2c0)],'list':_0x49ea9d,'isAll':!0x1});}}for(const {field:_0x3120ba,selectedItems:_0x8f2b25}of _0x5f36d0||[]){const _0x548a5f=_0x593a8b[_0x3120ba];if(_0x548a5f){const _0xe7724d=_0x10debf[_0x56c8f5(0x4a9)](_0x548a5f,_0x469b30[_0x56c8f5(0x4c5)]['Filter']);_0x8f2b25&&_0xe7724d&&_0x10debf[_0x56c8f5(0x23a)](_0xe7724d[_0x56c8f5(0x2b6)](),{'type':_0x469b30[_0x56c8f5(0x279)][_0x56c8f5(0x2c0)],'list':_0x8f2b25,'isAll':!0x1});}}for(const {field:_0x58a452,subTotalType:_0x8871ea,formatString:_0x36396d}of _0x33da31||[]){const _0x42bfb6=_0x3704d1['getFieldById'](_0x593a8b[_0x58a452]);if(!_0x42bfb6)continue;const _0x24dec5=_0x593a8b[_0x58a452];if(_0x24dec5){const _0x17282f=_0x10debf[_0x56c8f5(0x4a9)](_0x24dec5,_0x469b30[_0x56c8f5(0x4c5)][_0x56c8f5(0x215)]);if(_0x17282f){if(_0x8871ea!==void 0x0){_0x10debf[_0x56c8f5(0x338)](_0x17282f['getId'](),_0x8871ea);const _0x51b0be=this[_0x56c8f5(0x216)][_0x56c8f5(0x43c)](_0x32753c[_0x56c8f5(0x253)])[_0x56c8f5(0x2ce)]()||_0x469b30['getAutoDisplayName'],_0x863826=_0x3704d1[_0x56c8f5(0x275)](_0x24dec5),_0x34f346=_0x51b0be(_0x863826,_0x8871ea);_0x10debf['renameField'](_0x17282f[_0x56c8f5(0x2b6)](),_0x34f346);}else{if(_0x42bfb6){const _0xbb72d8=_0x42bfb6==null?void 0x0:_0x42bfb6['getFieldDataType']();_0x10debf['setSubtotalType'](_0x17282f['getId'](),_0xbb72d8===_0x469b30[_0x56c8f5(0x44c)][_0x56c8f5(0x259)]?_0x469b30[_0x56c8f5(0x264)][_0x56c8f5(0x45c)]:_0x469b30[_0x56c8f5(0x264)][_0x56c8f5(0x39c)]);}}_0x36396d&&_0x10debf['setFieldFormat'](_0x17282f['getId'](),_0x36396d);}}}const _0x2c5a0b=_0x10debf['query'](),_0x488e45=_0x10debf[_0x56c8f5(0x37b)](),_0x3b3886=_0x10debf[_0x56c8f5(0x325)](),_0x38102d=_0x10debf[_0x56c8f5(0x4a3)](),_0x5c8617=_0x3704d1[_0x56c8f5(0x37b)]();_0x2c893f[_0x56c8f5(0x3c2)]={'view':_0x2c5a0b,'fieldsConfig':_0x488e45,'collectionConfig':_0x5c8617,'isEmpty':_0x3b3886,'changesets':_0x38102d};}break;case _0x4396e3[_0x56c8f5(0x340)]:{const _0x3789fb=_0x466887(this[_0x56c8f5(0x1cf)],_0x2be6d3);if(!_0x3789fb)return;const {range:_0x105b6f,sourceSubUnitId:_0x2aa17f,sourceUnitId:_0x51525d,formatMap:_0x4cff11,indexes:_0x1ac61c}=_0x3789fb;_0x2c893f[_0x56c8f5(0x382)]={'range':_0x105b6f,'sourceSubUnitId':_0x2aa17f,'sourceUnitId':_0x51525d,'formatMap':_0x4cff11,'indexes':_0x1ac61c};}break;}this[_0x56c8f5(0x47c)][_0x56c8f5(0x3a6)](_0x27f8cd['id'],{'version':_0x2be6d3[_0x56c8f5(0x217)],'result':_0x2c893f},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x3d7ae5=_0x582ad3;this[_0x3d7ae5(0x4cd)](this[_0x3d7ae5(0x47c)][_0x3d7ae5(0x38e)](_0x57afd1=>{const _0xf729cd=_0x3d7ae5;if(_0x57afd1['id']!==_0x49d53f['id'])return;const _0x4a7af5=_0x57afd1['params'];return this[_0xf729cd(0x216)][_0xf729cd(0x35b)](_0x4a7af5[_0xf729cd(0x478)]),!0x0;}));}[_0x582ad3(0x356)](){const _0x3d1342=_0x582ad3;this[_0x3d1342(0x216)]['collectionChange$'][_0x3d1342(0x2d7)](_0x5b2e84=>{const _0x2a278d=_0x3d1342;switch(_0x5b2e84[_0x2a278d(0x1da)]){case _0x2f7cb0['add']:_0x5b2e84[_0x2a278d(0x2fa)]&&_0x5b2e84[_0x2a278d(0x481)]&&this[_0x2a278d(0x3b8)](_0x5b2e84[_0x2a278d(0x465)],_0x5b2e84[_0x2a278d(0x2fa)],_0x5b2e84['targetCellInfo']);break;case _0x2f7cb0[_0x2a278d(0x4ba)]:{const {unitId:_0x1a3187,subUnitId:_0xfb4d24,token:_0x4889e5}=_0x5b2e84;_0x1a3187&&_0xfb4d24&&_0x4889e5&&this[_0x2a278d(0x1d8)](_0x1a3187,_0xfb4d24,_0x4889e5);}break;case _0x2f7cb0['update']:{const {token:_0x4057f6,oldSourceRangeInfo:_0x453596,dataRangeInfo:_0x274e53,targetCellInfo:_0x29eb7b}=_0x5b2e84,{unitId:_0x5518f9,subUnitId:_0x1070e5}=_0x453596||{};_0x5518f9&&_0x1070e5&&_0x4057f6&&this[_0x2a278d(0x1d8)](_0x5518f9,_0x1070e5,_0x4057f6),_0x274e53&&_0x29eb7b&&this[_0x2a278d(0x3b8)](_0x4057f6,_0x274e53,_0x29eb7b);}break;}});}['_subjectFieldsCollectionChange'](){const _0x4f2e45=_0x582ad3;this[_0x4f2e45(0x216)][_0x4f2e45(0x389)][_0x4f2e45(0x2d7)](_0x56afd6=>{const _0x51ebc4=_0x4f2e45;Object[_0x51ebc4(0x25a)](_0x56afd6)[_0x51ebc4(0x363)](_0x2b963c=>{const _0x5ae537=_0x51ebc4,_0x1f39d6=this[_0x5ae537(0x216)][_0x5ae537(0x2b1)](_0x2b963c);if(_0x1f39d6){const _0xf8c601=this[_0x5ae537(0x216)][_0x5ae537(0x1e7)](_0x1f39d6==null?void 0x0:_0x1f39d6[_0x5ae537(0x253)],_0x1f39d6==null?void 0x0:_0x1f39d6[_0x5ae537(0x31b)],_0x2b963c);_0xf8c601&&(this[_0x5ae537(0x3b8)](_0x2b963c,_0xf8c601[_0x5ae537(0x471)],_0xf8c601[_0x5ae537(0x481)]),this['triggerDirtyFeature']([{'unitId':_0x1f39d6['unitId'],'subUnitId':_0x1f39d6[_0x5ae537(0x31b)],'token':_0x2b963c}]));}});});}[_0x582ad3(0x331)](){const _0x46c89b=_0x582ad3;this[_0x46c89b(0x216)]['viewData$'][_0x46c89b(0x2d7)](_0x3d3dfd=>{const _0x4d8c87=_0x46c89b,{unitId:_0x367278,subUnitId:_0x471da9,pivotTableId:_0x4c7c8d}=_0x3d3dfd;_0x367278&&_0x471da9&&_0x4c7c8d&&this[_0x4d8c87(0x4b4)]([{'unitId':_0x367278,'subUnitId':_0x471da9,'token':_0x4c7c8d}]);});}[_0x582ad3(0x4b4)](_0x306d18){const _0x2da38c=_0x582ad3,_0x7f5136={};_0x306d18[_0x2da38c(0x363)](_0x19fc71=>{var _0x26c3c8,_0x4d779b;const {unitId:_0xfb92e4,subUnitId:_0x1ea23e,token:_0x29a250}=_0x19fc71;_0x7f5136[_0xfb92e4]=(_0x26c3c8=_0x7f5136[_0xfb92e4])!=null?_0x26c3c8:{},_0x7f5136[_0xfb92e4][_0x1ea23e]=(_0x4d779b=_0x7f5136[_0xfb92e4][_0x1ea23e])!=null?_0x4d779b:{},_0x7f5136[_0xfb92e4][_0x1ea23e][_0x29a250]=!0x0;}),this[_0x2da38c(0x47c)][_0x2da38c(0x3a6)](_0x284bfd['id'],_0x7f5136);}[_0x582ad3(0x1d8)](_0x1cd1a4,_0x45bf65,_0x2ad612){const _0x39a5a9=_0x582ad3;this[_0x39a5a9(0x29f)]['remove'](_0x1cd1a4,_0x45bf65,[_0x2ad612]);}['handleSourceRangeChange'](_0x2a5a76,_0x3d70b7,_0x51128f){const _0x2db7a2=_0x582ad3,{unitId:_0x1ddecc,subUnitId:_0x2a78cf}=_0x3d70b7;this[_0x2db7a2(0x29f)][_0x2db7a2(0x426)](_0x51128f[_0x2db7a2(0x253)],_0x51128f[_0x2db7a2(0x31b)],_0x2a5a76)&&this[_0x2db7a2(0x1d8)](_0x1ddecc,_0x2a78cf,_0x2a5a76);const _0x40f9c3={'sheetId':_0x2a78cf,..._0x3d70b7};this['_featureCalculationManagerService'][_0x2db7a2(0x236)](_0x51128f[_0x2db7a2(0x253)],_0x51128f[_0x2db7a2(0x31b)],_0x2a5a76,{'unitId':_0x51128f['unitId'],'subUnitId':_0x51128f[_0x2db7a2(0x31b)],'dependencyRanges':[_0x40f9c3],'getDirtyData':(_0x24a888,_0x330978)=>{const _0x406d47=_0x2db7a2,_0x50b015=this['_sheetsPivotDataSourceModel'],_0x38b30c=_0x50b015[_0x406d47(0x2b1)](_0x2a5a76);if(!_0x38b30c)return _0xda03c3();const {unitId:_0x5ba027,subUnitId:_0x8639c4}=_0x38b30c,_0x57237d=_0x3d2c6a(_0x24a888,_0x330978,_0x3d70b7);if(_0x57237d[_0x406d47(0x29c)]>0x0){const _0x9111b8=_0x50b015[_0x406d47(0x33d)](_0x1ddecc,_0x2a5a76),_0x143899=_0x9111b8['getFieldIds'](),_0x2bcb0a=this['getMatrixFromRunTimeData'](_0x3d70b7[_0x406d47(0x253)],_0x3d70b7['subUnitId'],_0x330978),_0x5887d4={},_0x251e9a=this['_sheetsPivotDataSourceModel'][_0x406d47(0x43c)](_0x5ba027)[_0x406d47(0x2ce)]()||_0x469b30[_0x406d47(0x2bf)],_0x57835a=[];for(const _0x572a87 of _0x57237d){const _0x11cf7a=_0x572a87-(_0x3d70b7[_0x406d47(0x45e)][_0x406d47(0x457)]||0x0),_0x506af9=_0x143899[_0x11cf7a];_0x57835a[_0x406d47(0x248)](_0x506af9),_0x5887d4[_0x506af9]=_0x9111b8[_0x406d47(0x298)](_0x506af9)[_0x406d47(0x261)](),_0x50b015[_0x406d47(0x43c)](_0x1ddecc)[_0x406d47(0x1c8)](_0x506af9,_0x3d70b7,_0x11cf7a,_0x2bcb0a);}_0x9111b8[_0x406d47(0x241)](_0x57835a)['forEach'](_0x25c2b2=>{const _0x442801=_0x406d47,[_0x418e44,_0xabfdf]=_0x25c2b2,_0x1a6549=_0x9111b8['getFieldById'](_0x418e44),_0x25454f=_0x9111b8['getFieldById'](_0xabfdf);_0x1a6549&&_0x25454f&&_0x1a6549[_0x442801(0x37a)](_0x25454f);}),_0x9111b8[_0x406d47(0x44b)]();const _0x46c1a6=_0x50b015[_0x406d47(0x2d6)](_0x2a5a76);if(_0x46c1a6){_0x4231b3(_0x46c1a6,_0x5887d4,_0x251e9a),_0x46c1a6[_0x406d47(0x242)](!0x0);const _0x4f5f5e=_0x46c1a6[_0x406d47(0x220)](),_0x2154e6=_0x50b015[_0x406d47(0x1e7)](_0x5ba027,_0x8639c4,_0x2a5a76),_0x3cfc9a=_0x50b015[_0x406d47(0x43c)](_0x1ddecc)[_0x406d47(0x37b)]();_0x50b015[_0x406d47(0x30f)](_0x5ba027,_0x8639c4,_0x106039[_0x406d47(0x4af)],_0x2a5a76,_0x4f5f5e,_0x2154e6,_0x3cfc9a,!0x0);}}return this['getDirtyInfo'](_0x5ba027,_0x8639c4,_0x2a5a76);}});}[_0x582ad3(0x46b)](_0x3f8575,_0x1a18b2,_0x4c9a12){var _0x34bd68,_0x519de7;const {arrayFormulaCellData:_0x48dbde,unitData:_0x4ee4ec}=_0x4c9a12,_0x3fa871=(_0x34bd68=_0x48dbde==null?void 0x0:_0x48dbde[_0x3f8575])==null?void 0x0:_0x34bd68[_0x1a18b2],_0xba1c1=(_0x519de7=_0x4ee4ec==null?void 0x0:_0x4ee4ec[_0x3f8575])==null?void 0x0:_0x519de7[_0x1a18b2];return{'arrayFormulaCellDataMatrix':_0x3fa871,'unitDataMatrix':_0xba1c1};}[_0x582ad3(0x2f3)](_0x1eb993,_0x4fa8fb,_0x35a4c3){const _0x40ed96=_0x582ad3,_0x17963a=this[_0x40ed96(0x216)][_0x40ed96(0x2db)](_0x1eb993,_0x4fa8fb,_0x35a4c3),_0x4244c2=[],_0x5c737f=new _0x434acf[(_0x40ed96(0x3e3))]();if(_0x17963a){const {rangeCache:_0xd7ccc,matrix:_0x27baff,oldRangeCache:_0x16be22,oldMatrix:_0x29f491}=_0x17963a,_0x24f2a7=_0x101e39(_0x16be22),_0x369d2b=_0x101e39(_0xd7ccc);_0x4244c2[_0x40ed96(0x248)](..._0x369d2b,..._0x24f2a7),_0x29f491&&_0x16be22&&_0x24f2a7[_0x40ed96(0x363)](_0x1f13f7=>{const _0x9a9ad=_0x40ed96;for(let _0x262e99=_0x1f13f7[_0x9a9ad(0x40b)];_0x262e99<=_0x1f13f7[_0x9a9ad(0x1e3)];_0x262e99++)for(let _0x2afc1f=_0x1f13f7[_0x9a9ad(0x457)];_0x2afc1f<=_0x1f13f7[_0x9a9ad(0x2cc)];_0x2afc1f++)_0x5c737f[_0x9a9ad(0x3e4)](_0x262e99,_0x2afc1f);}),_0x27baff&&_0x369d2b&&_0x369d2b[_0x40ed96(0x363)](_0x5a2bd1=>{const _0x4e8887=_0x40ed96;for(let _0x90183b=_0x5a2bd1[_0x4e8887(0x40b)];_0x90183b<=_0x5a2bd1[_0x4e8887(0x1e3)];_0x90183b++)for(let _0x51fe70=_0x5a2bd1[_0x4e8887(0x457)];_0x51fe70<=_0x5a2bd1['endColumn'];_0x51fe70++)_0x5c737f['setValue'](_0x90183b,_0x51fe70,_0x27baff[_0x4e8887(0x3f8)](_0x90183b,_0x51fe70));});}const _0x29f6a5={};return _0x29f6a5[_0x1eb993]={[_0x4fa8fb]:_0x13cb9e(_0x4244c2)},{'runtimeCellData':{[_0x1eb993]:{[_0x4fa8fb]:_0x5c737f}},'dirtyRanges':_0x29f6a5};}['dispose'](){}};_0x16d5f0=_0x130db3([_0x563474(0x0,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x486)])),_0x563474(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x347eab[_0x582ad3(0x2fd)])),_0x563474(0x2,_0x434acf[_0x582ad3(0x3bd)](_0x434acf['ICommandService'])),_0x563474(0x3,_0x434acf[_0x582ad3(0x3bd)](_0x347eab['GlobalComputingStatusService'])),_0x563474(0x4,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x32d)]))],_0x16d5f0);var _0x459bc2=Object[_0x582ad3(0x1fb)],_0x5d9da1=(_0x20ae8,_0x350889,_0x2e5e2a,_0x279248)=>{const _0x34f140=_0x582ad3;for(var _0x467a5a=_0x279248>0x1?void 0x0:_0x279248?_0x459bc2(_0x350889,_0x2e5e2a):_0x350889,_0x3e1b3c=_0x20ae8[_0x34f140(0x29c)]-0x1,_0x2cc48a;_0x3e1b3c>=0x0;_0x3e1b3c--)(_0x2cc48a=_0x20ae8[_0x3e1b3c])&&(_0x467a5a=_0x2cc48a(_0x467a5a)||_0x467a5a);return _0x467a5a;},_0x56805b=(_0x18f891,_0xb49ea8)=>(_0x2086e8,_0x47a3bd)=>_0xb49ea8(_0x2086e8,_0x47a3bd,_0x18f891);let _0x26341c=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x282c2a,_0x247fee,_0x4e04d1,_0x515ba0){const _0x463b4d=_0x582ad3;super(),_0x25f656(this,_0x463b4d(0x41f),new _0x434acf[(_0x463b4d(0x3b0))]()),(this['_univerInstanceService']=_0x282c2a,this['_sheetInterceptorService']=_0x247fee,this[_0x463b4d(0x246)]=_0x4e04d1,this[_0x463b4d(0x3a7)]=_0x515ba0,this[_0x463b4d(0x323)]());}[_0x582ad3(0x323)](){const _0x443883=_0x582ad3;this['disposeWithMe'](this[_0x443883(0x1f8)]['interceptCommand']({'getMutations':_0x118ccc=>{const _0x9c7351=_0x443883;if(_0x118ccc['id']===_0x24346e[_0x9c7351(0x47d)]['id']||_0x118ccc['id']===_0x24346e[_0x9c7351(0x2ec)]['id']){const _0x4d6734=[],_0x1b937a=[],_0x373f68=this['_sheetsSelectionsService']['getCurrentSelections']()['map'](_0x3b2457=>_0x3b2457[_0x9c7351(0x45e)]),_0x13d02a=_0x24346e[_0x9c7351(0x48a)](this[_0x9c7351(0x3b4)],_0x118ccc[_0x9c7351(0x36d)]);if(!_0x13d02a)return{'redos':[],'undos':[]};const {unitId:_0x52c5e0,subUnitId:_0x3f2ed8}=_0x13d02a,_0xf31a2b={},_0x1ff91d=this['_sheetsPivotTableConfigModel'][_0x9c7351(0x49b)](_0x52c5e0,_0x3f2ed8);if(_0x1ff91d!=null&&_0x1ff91d['size'])for(const [_0x2fb758,_0x200f95]of _0x1ff91d){const {unitId:_0x25849e,subUnitId:_0x483a21,row:_0x364b79,col:_0x28c442}=_0x200f95[_0x9c7351(0x481)];_0x25849e===_0x13d02a[_0x9c7351(0x253)]&&_0x483a21===_0x13d02a['subUnitId']&&(_0xf31a2b[_0x364b79+'-'+_0x28c442]=_0x2fb758);}return _0x373f68&&_0x13d02a&&_0x373f68[_0x9c7351(0x363)](_0x1c81a4=>{const _0x3716ba=_0x9c7351;_0x434acf[_0x3716ba(0x450)][_0x3716ba(0x296)](_0x1c81a4,(_0x522297,_0x53b171)=>{const _0x2717b4=_0x3716ba,_0xaa2494=_0x522297+'-'+_0x53b171;if(_0xf31a2b[_0xaa2494]){const _0x4f5827=_0xf31a2b[_0xaa2494];_0x4d6734[_0x2717b4(0x248)]({'id':_0x37c84d['id'],'params':{'unitId':_0x52c5e0,'subUnitId':_0x3f2ed8,'pivotTableId':_0x4f5827}});const _0xe25248=this[_0x2717b4(0x3a7)]['getCollection'](_0x52c5e0,_0x4f5827),_0x3e8be4=this[_0x2717b4(0x3a7)][_0x2717b4(0x1e7)](_0x52c5e0,_0x3f2ed8,_0x4f5827);_0x1b937a[_0x2717b4(0x248)]({'id':_0x4fc1e3['id'],'params':{'unitId':_0x52c5e0,'subUnitId':_0x3f2ed8,'pivotTableId':_0x4f5827,'pivotTableConfig':_0x3e8be4,'collectionConfig':_0xe25248}});}});}),{'redos':_0x4d6734,'undos':_0x1b937a};}return{'redos':[],'undos':[]};}}));}};_0x26341c=_0x5d9da1([_0x56805b(0x0,_0x434acf[_0x582ad3(0x2e5)]),_0x56805b(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x24346e[_0x582ad3(0x447)])),_0x56805b(0x2,_0x434acf['Inject'](_0x24346e[_0x582ad3(0x3ff)])),_0x56805b(0x3,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x20e)]))],_0x26341c);var _0x675813=Object[_0x582ad3(0x1fb)],_0x28eb4b=(_0x9744a0,_0x152998,_0x4ee5e3,_0x5c6748)=>{const _0x369c8c=_0x582ad3;for(var _0x393424=_0x5c6748>0x1?void 0x0:_0x5c6748?_0x675813(_0x152998,_0x4ee5e3):_0x152998,_0xf42bd9=_0x9744a0[_0x369c8c(0x29c)]-0x1,_0x4056a3;_0xf42bd9>=0x0;_0xf42bd9--)(_0x4056a3=_0x9744a0[_0xf42bd9])&&(_0x393424=_0x4056a3(_0x393424)||_0x393424);return _0x393424;},_0x9e46b8=(_0x2a3222,_0x662cc0)=>(_0x11294e,_0x21cf2f)=>_0x662cc0(_0x11294e,_0x21cf2f,_0x2a3222);let _0x32dab1=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x152511,_0x66ccfe,_0x3ed6cb,_0x1deb2b,_0x2bfb7f){const _0x67a5d9=_0x582ad3;super(),this['_sheetInterceptorService']=_0x152511,this[_0x67a5d9(0x1cf)]=_0x66ccfe,this[_0x67a5d9(0x3b4)]=_0x3ed6cb,this[_0x67a5d9(0x3a7)]=_0x1deb2b,this[_0x67a5d9(0x25e)]=_0x2bfb7f,this[_0x67a5d9(0x25d)]();}[_0x582ad3(0x4a6)](_0x2c9227,_0x5d4202,_0x3c7947){const _0x4ac5dc=_0x582ad3,{pageView:_0x1d4f5c,cornerView:_0x6120c5,rowView:_0x4fdf7f,colView:_0xaad4a8,dataView:_0x36ec84}=_0x5d4202,_0x599cca=_0x2c9227;let _0x4f86f9;if(_0x3c7947)_0x4f86f9=[..._0x366075(_0x599cca)];else{const _0x45742b=_0x4858ca(_0x599cca,_0x1d4f5c,!0x0),_0x21a66d=_0x1d4f5c['lastRow']>=0x0?_0x1d4f5c[_0x4ac5dc(0x2f8)]+0x1:0x0,_0x3bfcc7=_0x6120c5[_0x4ac5dc(0x28f)],_0x161640=_0x6120c5[_0x4ac5dc(0x317)],_0x3c0a46=_0x45742b[_0x4ac5dc(0x29c)]>0x0?_0x2445e6:0x0,_0x510672=_0x4858ca({'row':_0x599cca[_0x4ac5dc(0x1e1)]+_0x21a66d+_0x3c0a46,'col':_0x599cca[_0x4ac5dc(0x444)]},_0x6120c5,!0x1,!0x1),_0x43df7d=_0x4858ca({'row':_0x599cca[_0x4ac5dc(0x1e1)]+_0x21a66d+_0x3c0a46+_0x3bfcc7,'col':_0x599cca[_0x4ac5dc(0x444)]},_0x4fdf7f,!0x1,!0x0),_0x4a9f33=_0x4858ca({'row':_0x599cca['row']+_0x21a66d+_0x3c0a46,'col':_0x599cca[_0x4ac5dc(0x444)]+_0x161640},_0xaad4a8,!0x1,!0x0),_0x2bc06c=_0x4858ca({'row':_0x599cca['row']+_0x21a66d+_0x3c0a46+_0x3bfcc7,'col':_0x599cca[_0x4ac5dc(0x444)]+_0x161640},_0x36ec84,!0x1,!0x0);_0x4f86f9=[..._0x45742b,..._0x510672,..._0x43df7d,..._0x4a9f33,..._0x2bc06c];}return _0x4f86f9;}['_initCommandInterceptListener'](){const _0x58da05=_0x582ad3;this[_0x58da05(0x4cd)](this[_0x58da05(0x25e)]['interceptor']['intercept'](this[_0x58da05(0x25e)][_0x58da05(0x277)][_0x58da05(0x305)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x2b22bc,_0x3d90e1)=>{const _0x2575fc=_0x58da05,{cellInfo:_0x478019,view:_0x47bdaf,isEmpty:_0x454b8c}=_0x3d90e1,_0x2df482=_0x478019,{unitId:_0x15e09c,subUnitId:_0x55d55b}=_0x2df482,_0x5caa6d=this[_0x2575fc(0x4a6)](_0x478019,_0x47bdaf,_0x454b8c),_0x2ee9fc=this['_sheetInterceptorService'][_0x2575fc(0x3e7)]({'unitId':_0x15e09c,'subUnitId':_0x55d55b,'ranges':_0x5caa6d}),_0xe02902=_0xce47c6(this['_injector'],_0x15e09c,_0x55d55b,_0x5caa6d);_0xe02902[_0x2575fc(0x315)]&&(_0x2ee9fc[_0x2575fc(0x41c)][_0x2575fc(0x248)](_0xe02902['setRangeValueRedoMutation']),_0x2ee9fc['undos'][_0x2575fc(0x248)](_0xe02902['setRangeValueUndoMutation']));const _0x23ad5f=this[_0x2575fc(0x407)](_0x47bdaf,_0x478019);return _0x2ee9fc[_0x2575fc(0x41c)]['push'](..._0x23ad5f[_0x2575fc(0x41c)]),_0x2ee9fc[_0x2575fc(0x1f3)][_0x2575fc(0x248)](..._0x23ad5f[_0x2575fc(0x1f3)]),{'redos':_0x2ee9fc['redos'],'undos':_0x2ee9fc['undos']};}}));}['getAutoFitColumnsMutations'](_0xd6bb1d,_0x442ce){const _0x26701e=_0x582ad3,{col:_0x23e522,unitId:_0x1c6359,subUnitId:_0x110cd3}=_0x442ce,_0x5c856b=[],_0x2d1ad6=[],_0x4d9c0e=_0x24346e['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x1c6359,'subUnitId':_0x110cd3});if(!_0x442ce||!_0xd6bb1d||!_0x4d9c0e)return{'undos':_0x2d1ad6,'redos':_0x5c856b};const _0x1c671f=this['_sheetsPivotTableConfigModel'][_0x26701e(0x303)](),{colView:_0x59660b,dataView:_0x198306,cornerView:_0x4242e2,rowView:_0x2dbfa2,formatMap:_0x4b2ca4}=_0xd6bb1d,_0x1c3033=_0xce99f8(_0x59660b,_0x1c671f,!0x0,_0x4b2ca4),_0x175ecc=_0xce99f8(_0x2dbfa2,_0x1c671f,!0x1,_0x4b2ca4),_0x2d7eaa=_0x31fd55(_0x198306),_0x446380=_0x3e7c85(_0x4242e2),{worksheet:_0x487230}=_0x4d9c0e;if(typeof window<'u'&&window[_0x26701e(0x23f)]){const _0x5d0f95=_0x598413[_0x26701e(0x267)]({..._0x2fe106[_0x26701e(0x4b7)]}),_0x10d798=_0x598413[_0x26701e(0x1e6)][_0x26701e(0x31c)](_0x1c3033,_0x5d0f95)[_0x26701e(0x1fc)]+0x10,_0x5dbb2b=_0x598413[_0x26701e(0x1e6)][_0x26701e(0x31c)](_0x2d7eaa,_0x5d0f95)[_0x26701e(0x1fc)],_0xe3e37a=Math[_0x26701e(0x43d)](Math['max'](_0x10d798,_0x5dbb2b))+0x10,_0x2be4f2=Math['floor'](_0x598413[_0x26701e(0x1e6)][_0x26701e(0x31c)](_0x175ecc,_0x5d0f95)[_0x26701e(0x1fc)]),_0x3731bf=Math[_0x26701e(0x43d)](_0x598413[_0x26701e(0x1e6)][_0x26701e(0x31c)](_0x446380,_0x5d0f95)[_0x26701e(0x1fc)]),_0x9aa591=Math[_0x26701e(0x365)](_0x2be4f2,_0x3731bf,0x28)+0xc,_0x541e68=_0x59660b[_0x26701e(0x317)]+_0x4242e2[_0x26701e(0x317)],_0x591c25={},_0x390dd4={};for(let _0x56a123=_0x23e522;_0x56a123<_0x23e522+_0x541e68;_0x56a123++){const _0x22432d=_0x487230[_0x26701e(0x4ad)](_0x56a123);_0x591c25[_0x56a123]=_0x22432d,_0x56a123-_0x23e522<_0x4242e2[_0x26701e(0x317)]?_0x390dd4[_0x56a123-_0x23e522]=_0x9aa591:_0x390dd4[_0x56a123-_0x23e522]=_0xe3e37a;}_0x5c856b[_0x26701e(0x248)]({'id':_0x24346e['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x110cd3,'unitId':_0x1c6359,'ranges':[{'startColumn':_0x23e522,'endColumn':_0x23e522+_0x541e68-0x1,'startRow':0x0,'endRow':_0x487230[_0x26701e(0x238)]()-0x1}],'colWidth':_0x390dd4}}),_0x2d1ad6[_0x26701e(0x248)]({'id':_0x24346e[_0x26701e(0x4a5)]['id'],'params':{'subUnitId':_0x110cd3,'unitId':_0x1c6359,'ranges':[{'startColumn':_0x23e522,'endColumn':_0x23e522+_0x541e68-0x1,'startRow':0x0,'endRow':_0x487230[_0x26701e(0x238)]()-0x1}],'colWidth':_0x591c25}});}return{'undos':_0x2d1ad6,'redos':_0x5c856b};}};_0x32dab1=_0x28eb4b([_0x9e46b8(0x0,_0x434acf[_0x582ad3(0x3bd)](_0x24346e[_0x582ad3(0x447)])),_0x9e46b8(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x32d)])),_0x9e46b8(0x2,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x2e5)])),_0x9e46b8(0x3,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f['SheetsPivotTableConfigModel'])),_0x9e46b8(0x4,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x40e)]))],_0x32dab1);var _0x2f34cc=Object[_0x582ad3(0x1fb)],_0xc8ff16=(_0x72af30,_0x2ad500,_0x47b8d6,_0x24818e)=>{const _0x516cad=_0x582ad3;for(var _0x364d43=_0x24818e>0x1?void 0x0:_0x24818e?_0x2f34cc(_0x2ad500,_0x47b8d6):_0x2ad500,_0xac96c9=_0x72af30[_0x516cad(0x29c)]-0x1,_0x166ead;_0xac96c9>=0x0;_0xac96c9--)(_0x166ead=_0x72af30[_0xac96c9])&&(_0x364d43=_0x166ead(_0x364d43)||_0x364d43);return _0x364d43;},_0x4a3e28=(_0x3db3a7,_0x1339a7)=>(_0x5404e1,_0x437021)=>_0x1339a7(_0x5404e1,_0x437021,_0x3db3a7);let _0x1c991d=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x1acc47,_0xcccdbc,_0x504245,_0x1da7d6,_0x351195,_0x2e8905,_0x2c2e1a){const _0x4d4493=_0x582ad3;super(),_0x25f656(this,_0x4d4493(0x41f),new _0x434acf[(_0x4d4493(0x3b0))]()),(this[_0x4d4493(0x1cf)]=_0x1acc47,this[_0x4d4493(0x212)]=_0xcccdbc,this['_commandService']=_0x504245,this['_univerInstanceService']=_0x1da7d6,this[_0x4d4493(0x3a7)]=_0x351195,this[_0x4d4493(0x368)]=_0x2e8905,this[_0x4d4493(0x1f8)]=_0x2c2e1a,this[_0x4d4493(0x3d6)]());}[_0x582ad3(0x3d6)](){const _0x1fd839=_0x582ad3,_0x2ac9ae=(_0x3f7c36,_0x15de4f)=>{const _0x85faf=_0x223d,_0x1b6038=this[_0x85faf(0x3b4)][_0x85faf(0x32f)](_0x434acf[_0x85faf(0x4c7)][_0x85faf(0x24a)]);if(!_0x1b6038||!(_0x1b6038==null?void 0x0:_0x1b6038[_0x85faf(0x366)](_0x15de4f)))return;this[_0x85faf(0x41f)][_0x85faf(0x3e2)]();const _0x57117d=_0x516d66=>this[_0x85faf(0x26b)](_0x516d66,_0x3f7c36,_0x15de4f),_0x4a1b8c=this['_sheetsPivotTableConfigModel'][_0x85faf(0x49b)](_0x3f7c36,_0x15de4f);if(!(_0x4a1b8c!=null&&_0x4a1b8c['size']))return;Array['from'](_0x4a1b8c['values']())[_0x85faf(0x3f2)](_0x38ad5f=>{const {row:_0x43107c,col:_0x21ca1b}=_0x38ad5f['targetCellInfo'];return _0x434acf['cellToRange'](_0x43107c,_0x21ca1b);})[_0x85faf(0x363)](_0x30b0e5=>{const _0x476b07=_0x85faf;this[_0x476b07(0x41f)]['add'](this[_0x476b07(0x212)]['registerRefRange'](_0x30b0e5,_0x57117d,_0x3f7c36,_0x15de4f));});},_0x469977=()=>{const _0x4dd2e0=_0x223d,_0xaf14aa=this[_0x4dd2e0(0x3b4)][_0x4dd2e0(0x32f)](_0x434acf[_0x4dd2e0(0x4c7)][_0x4dd2e0(0x24a)]);if(_0xaf14aa){const _0x2f0966=_0xaf14aa['getActiveSheet']();if(!_0x2f0966)return;_0x2ac9ae(_0xaf14aa[_0x4dd2e0(0x294)](),_0x2f0966['getSheetId']());}};this[_0x1fd839(0x4cd)](this['_commandService'][_0x1fd839(0x38e)](_0xcc0111=>{const _0x4599e4=_0x1fd839;if(_0xcc0111['id']===_0x24346e[_0x4599e4(0x339)]['id']){const _0x34f7db=_0xcc0111[_0x4599e4(0x36d)],_0x2b48da=_0x34f7db['subUnitId'],_0xcf6036=_0x34f7db[_0x4599e4(0x253)];if(!_0x2b48da||!_0xcf6036)return;_0x2ac9ae(_0xcf6036,_0x2b48da);}})),this[_0x1fd839(0x4cd)](this[_0x1fd839(0x3a7)]['pivotInitCompleted$']['subscribe'](_0x189ae4=>{_0x189ae4&&_0x469977();})),this[_0x1fd839(0x4cd)](this[_0x1fd839(0x3a7)][_0x1fd839(0x464)][_0x1fd839(0x2d7)](_0x4e553e=>{const _0x1a5eaa=_0x1fd839,_0x25013c=_0x24346e[_0x1a5eaa(0x48a)](this[_0x1a5eaa(0x3b4)],{'unitId':_0x4e553e[_0x1a5eaa(0x253)],'subUnitId':_0x4e553e[_0x1a5eaa(0x31b)]});if(!_0x25013c)return;const {unitId:_0x48b02e,subUnitId:_0x120064}=_0x25013c,{unitId:_0x120519,subUnitId:_0x31f25b}=_0x4e553e;_0x48b02e!==_0x120519||_0x120064!==_0x31f25b||_0x2ac9ae(_0x48b02e,_0x120064);})),_0x469977();}['_refRangeHandle'](_0xa53996,_0x1cf45d,_0x90f58c){const _0x1bc54c=_0x582ad3;return _0xa53996['id']===_0x24346e[_0x1bc54c(0x2a4)]['id']?this[_0x1bc54c(0x1f4)](_0xa53996[_0x1bc54c(0x36d)],_0x1cf45d,_0x90f58c):{'redos':[],'undos':[]};}[_0x582ad3(0x1f4)](_0x50bd8d,_0x11f270,_0x2634cc){const _0x3d7a89=_0x582ad3,{fromRange:_0x2f1887,toRange:_0x53a6e8}=_0x50bd8d,_0x42a46b=[],_0x5af761=[],_0x3d2729=_0x24346e['getSheetCommandTarget'](this[_0x3d7a89(0x3b4)]);if(!_0x3d2729)return{'undos':_0x5af761,'redos':_0x42a46b};if(_0x11f270!==_0x3d2729[_0x3d7a89(0x253)]||_0x2634cc!==_0x3d2729['subUnitId'])return{'undos':_0x5af761,'redos':_0x42a46b};const _0x2d29e4=this[_0x3d7a89(0x3a7)][_0x3d7a89(0x49b)](_0x11f270,_0x2634cc);if(_0x2d29e4!=null&&_0x2d29e4['size'])for(const [_0x2b76fd,_0x403d7b]of _0x2d29e4){const {unitId:_0x622eec,subUnitId:_0x1ed883,row:_0x5593a9,col:_0x1b0cd5}=_0x403d7b['targetCellInfo'];if(_0x622eec===_0x3d2729[_0x3d7a89(0x253)]&&_0x1ed883===_0x3d2729['subUnitId']){const _0x1e7e75=_0x434acf['cellToRange'](_0x5593a9,_0x1b0cd5);if(_0x434acf[_0x3d7a89(0x221)]['intersects'](_0x1e7e75,_0x2f1887)){const _0x134dbe=_0x5593a9-_0x2f1887[_0x3d7a89(0x40b)],_0x47af3d=_0x1b0cd5-_0x2f1887[_0x3d7a89(0x457)],_0x476e03={'row':_0x53a6e8[_0x3d7a89(0x40b)]+_0x134dbe,'col':_0x53a6e8[_0x3d7a89(0x457)]+_0x47af3d};_0x42a46b['push']({'id':_0x237291['id'],'params':{'unitId':_0x622eec,'subUnitId':_0x1ed883,'pivotTableId':_0x2b76fd,'targetCellPosition':_0x476e03}}),_0x5af761[_0x3d7a89(0x248)]({'id':_0x237291['id'],'params':{'unitId':_0x622eec,'subUnitId':_0x1ed883,'pivotTableId':_0x2b76fd,'targetCellPosition':{'row':_0x5593a9,'col':_0x1b0cd5}}});const _0x599111=_0x476e03[_0x3d7a89(0x1e1)]-_0x5593a9,_0x4720ff=_0x476e03[_0x3d7a89(0x444)]-_0x1b0cd5,_0x5ad435=[],_0x13a94b=this[_0x3d7a89(0x368)][_0x3d7a89(0x22b)](_0x622eec,_0x1ed883,_0x2b76fd),_0x5e4b67=_0x13a94b==null?void 0x0:_0x13a94b[_0x3d7a89(0x484)];if(_0x5e4b67){Object[_0x3d7a89(0x25a)](_0x5e4b67)[_0x3d7a89(0x363)](_0x4be4ef=>{const _0x18d8ea=_0x3d7a89;_0x5e4b67[_0x4be4ef][_0x18d8ea(0x363)](_0x2cef6e=>{const _0x25d93c=_0x18d8ea,_0x146631={..._0x2cef6e};_0x146631[_0x25d93c(0x40b)]=_0x2cef6e[_0x25d93c(0x40b)]+_0x599111,_0x146631[_0x25d93c(0x1e3)]=_0x2cef6e[_0x25d93c(0x1e3)]+_0x599111,_0x146631['startColumn']=_0x2cef6e[_0x25d93c(0x457)]+_0x4720ff,_0x146631[_0x25d93c(0x2cc)]=_0x2cef6e[_0x25d93c(0x2cc)]+_0x4720ff,_0x5ad435['push'](_0x146631);});});const _0xee9e9=this[_0x3d7a89(0x1f8)][_0x3d7a89(0x3e7)]({'unitId':_0x622eec,'subUnitId':_0x1ed883,'ranges':_0x5ad435});_0x42a46b[_0x3d7a89(0x248)](..._0xee9e9[_0x3d7a89(0x41c)]),_0x5af761[_0x3d7a89(0x248)](..._0xee9e9[_0x3d7a89(0x1f3)]);const _0x5e2e3=_0xce47c6(this[_0x3d7a89(0x1cf)],_0x622eec,_0x1ed883,_0x5ad435);_0x5e2e3[_0x3d7a89(0x315)]&&(_0x42a46b[_0x3d7a89(0x248)](_0x5e2e3['setRangeValueRedoMutation']),_0x5af761[_0x3d7a89(0x248)](_0x5e2e3[_0x3d7a89(0x418)]));}}}}return{'redos':_0x42a46b,'undos':_0x5af761};}};_0x1c991d=_0xc8ff16([_0x4a3e28(0x0,_0x434acf[_0x582ad3(0x3bd)](_0x434acf['Injector'])),_0x4a3e28(0x1,_0x434acf['Inject'](_0x24346e['RefRangeService'])),_0x4a3e28(0x2,_0x434acf['ICommandService']),_0x4a3e28(0x3,_0x434acf[_0x582ad3(0x2e5)]),_0x4a3e28(0x4,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x20e)])),_0x4a3e28(0x5,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f['SheetsPivotTableAdaptorModel'])),_0x4a3e28(0x6,_0x434acf['Inject'](_0x24346e['SheetInterceptorService']))],_0x1c991d);var _0x35e43c=Object[_0x582ad3(0x1fb)],_0x1b1018=(_0x4e5b54,_0x19047f,_0x7d137f,_0xfd6207)=>{const _0x494541=_0x582ad3;for(var _0x3bb814=_0xfd6207>0x1?void 0x0:_0xfd6207?_0x35e43c(_0x19047f,_0x7d137f):_0x19047f,_0x35e095=_0x4e5b54[_0x494541(0x29c)]-0x1,_0x2b2553;_0x35e095>=0x0;_0x35e095--)(_0x2b2553=_0x4e5b54[_0x35e095])&&(_0x3bb814=_0x2b2553(_0x3bb814)||_0x3bb814);return _0x3bb814;},_0x1f45d2=(_0x5ce119,_0x5421a9)=>(_0x49b012,_0x5392ad)=>_0x5421a9(_0x49b012,_0x5392ad,_0x5ce119);let _0x30f92d=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x945dcd,_0x328079){const _0xfd2796=_0x582ad3;super(),this['_sheetInterceptorService']=_0x945dcd,this[_0xfd2796(0x3a7)]=_0x328079,this[_0xfd2796(0x2b4)]();}[_0x582ad3(0x2b4)](){const _0x284442=_0x582ad3;this[_0x284442(0x4cd)](this[_0x284442(0x1f8)][_0x284442(0x33a)]({'getMutations':_0x4f2de5=>{const _0x5639a7=_0x284442;if(_0x4f2de5['id']===_0x24346e[_0x5639a7(0x21e)]['id']){const _0x504c51=[],_0x11efaf=[],_0x2129ed=_0x4f2de5[_0x5639a7(0x36d)],{unitId:_0x4602fc,subUnitId:_0xcc87f7}=_0x2129ed;if(!_0x4602fc||!_0xcc87f7)return{'undos':_0x11efaf,'redos':_0x504c51};const _0x5ca22b=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x4602fc,_0xcc87f7);if(_0x5ca22b!=null&&_0x5ca22b[_0x5639a7(0x28b)])for(const [_0x301f7f,_0x12bce5]of _0x5ca22b){_0x504c51[_0x5639a7(0x248)]({'id':_0x37c84d['id'],'params':{'unitId':_0x4602fc,'subUnitId':_0xcc87f7,'pivotTableId':_0x301f7f}});const _0x5883fd={...this[_0x5639a7(0x3a7)][_0x5639a7(0x33d)](_0x4602fc,_0x301f7f)};_0x11efaf[_0x5639a7(0x248)]({'id':_0x4fc1e3['id'],'params':{'unitId':_0x4602fc,'subUnitId':_0xcc87f7,'pivotTableId':_0x301f7f,'pivotTableConfig':_0x12bce5,'collectionConfig':_0x5883fd}});}return{'redos':_0x504c51,'undos':_0x11efaf};}return{'redos':[],'undos':[]};}}));}};_0x30f92d=_0x1b1018([_0x1f45d2(0x0,_0x434acf[_0x582ad3(0x3bd)](_0x24346e[_0x582ad3(0x447)])),_0x1f45d2(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x20e)]))],_0x30f92d);var _0x54c633=Object[_0x582ad3(0x1fb)],_0x34b75b=(_0x4e3f8d,_0x435401,_0x48f461,_0x5ccda2)=>{const _0x226507=_0x582ad3;for(var _0x4703a5=_0x5ccda2>0x1?void 0x0:_0x5ccda2?_0x54c633(_0x435401,_0x48f461):_0x435401,_0xcfee29=_0x4e3f8d[_0x226507(0x29c)]-0x1,_0x114253;_0xcfee29>=0x0;_0xcfee29--)(_0x114253=_0x4e3f8d[_0xcfee29])&&(_0x4703a5=_0x114253(_0x4703a5)||_0x4703a5);return _0x4703a5;},_0xb6cb7a=(_0x230041,_0xe4a063)=>(_0x3de804,_0x4e4561)=>_0xe4a063(_0x3de804,_0x4e4561,_0x230041);let _0x234baa=class extends _0x434acf[_0x582ad3(0x48d)]{constructor(_0x4fb701,_0x2445d3,_0x2bf957,_0x41acf7,_0xc7e5d0,_0xd2dc53){const _0xd62602=_0x582ad3;super(),this[_0xd62602(0x47c)]=_0x4fb701,this[_0xd62602(0x29b)]=_0x2445d3,this[_0xd62602(0x368)]=_0x2bf957,this[_0xd62602(0x3a7)]=_0x41acf7,this[_0xd62602(0x3b4)]=_0xc7e5d0,this['_activeDirtyManagerService']=_0xd2dc53,this[_0xd62602(0x3c9)](),this[_0xd62602(0x2ba)]();}[_0x582ad3(0x3c9)](){const _0xd0ceb6=_0x582ad3;this['disposeWithMe'](this['_commandService'][_0xd0ceb6(0x38e)](_0x43dd13=>{const _0x23665a=_0xd0ceb6;if(_0x43dd13['id']!==_0x27f8cd['id'])return;const _0x42fc08=_0x43dd13[_0x23665a(0x36d)];this['_sheetsPivotRpcService']['handleAsyncResponse'](_0x42fc08);})),this[_0xd0ceb6(0x4cd)](this[_0xd0ceb6(0x47c)][_0xd0ceb6(0x38e)](_0x5ba1a4=>{const _0x3b7918=_0xd0ceb6;if(_0x5ba1a4['id']===_0x189960['id']){const _0x21f7db=_0x5ba1a4['params'];if(_0x21f7db){const {unitId:_0x26ba66,subUnitId:_0xe41ff4,oldSubUnitId:_0x32841d,pivotTableId:_0x53afd7,pivotTableConfig:_0x47a00b,collectionConfig:_0x44a9e1}=_0x21f7db;this[_0x3b7918(0x3a7)][_0x3b7918(0x401)](_0x26ba66,_0x32841d,_0x21f7db['pivotTableId'],null),this[_0x3b7918(0x3a7)][_0x3b7918(0x401)](_0x26ba66,_0xe41ff4,_0x53afd7,_0x47a00b),this[_0x3b7918(0x3a7)]['updateCollectionConfig'](_0x26ba66,_0x44a9e1);}}})),this[_0xd0ceb6(0x4cd)](this[_0xd0ceb6(0x47c)][_0xd0ceb6(0x38e)](_0x506c48=>{const _0x1af0fb=_0xd0ceb6;if(_0x506c48['id']!==_0x319e9a['id'])return;const _0x167aed=_0x24346e[_0x1af0fb(0x48a)](this[_0x1af0fb(0x3b4)]);if(!_0x167aed)return;const {unitId:_0x412b99,subUnitId:_0x4edcdf}=_0x167aed,_0x4e238c=_0x506c48['params'];if(_0x4e238c['collectionConfig']&&Object['keys'](_0x4e238c[_0x1af0fb(0x300)])[_0x1af0fb(0x363)](_0x44c347=>{const _0x1a9226=_0x1af0fb;var _0x527aac;(_0x527aac=_0x4e238c['collectionConfig'])!=null&&_0x527aac[_0x44c347]&&this[_0x1a9226(0x3a7)][_0x1a9226(0x27f)](_0x44c347,_0x4e238c[_0x1a9226(0x300)][_0x44c347]);}),_0x4e238c[_0x1af0fb(0x293)]){const _0x1ba7fc=_0x4e238c[_0x1af0fb(0x293)],{unitId:_0x7749b3,subUnitId:_0x1cf8b0,view:_0x7a8064,pivotTableId:_0x97a6e8,type:_0x33181e,pivotConfig:_0x38152c}=_0x1ba7fc;if(_0x33181e===_0x106039[_0x1af0fb(0x306)])this[_0x1af0fb(0x368)][_0x1af0fb(0x3b6)]({'unitId':_0x7749b3,'subUnitId':_0x1cf8b0,'pivotTableId':_0x97a6e8,'type':_0x33181e}),this[_0x1af0fb(0x3a7)][_0x1af0fb(0x401)](_0x7749b3,_0x1cf8b0,_0x97a6e8,null);else{const _0x18b7a1=new _0x469b30[(_0x1af0fb(0x46e))]();_0x18b7a1[_0x1af0fb(0x2bc)](_0x7a8064),this[_0x1af0fb(0x3a7)][_0x1af0fb(0x401)](_0x7749b3,_0x1cf8b0,_0x97a6e8,_0x38152c),this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x7749b3,'subUnitId':_0x1cf8b0,'pivotTableId':_0x97a6e8,'type':_0x33181e,'view':_0x18b7a1}),this[_0x1af0fb(0x368)][_0x1af0fb(0x429)]({'unitId':_0x7749b3,'subUnitId':_0x1cf8b0,'view':_0x18b7a1,'pivotTableId':_0x97a6e8,'type':_0x33181e});}}else _0x4e238c[_0x1af0fb(0x2f6)]&&(_0x4e238c[_0x1af0fb(0x2f6)][_0x1af0fb(0x363)](_0x1a8661=>{const _0x5b02ab=_0x1af0fb,{unitId:_0x375e8c,subUnitId:_0x495830,view:_0x23fc2d,pivotTableId:_0x4684dc,type:_0x61923f,pivotConfig:_0x5436f5}=_0x1a8661,_0x78a115=new _0x469b30[(_0x5b02ab(0x46e))]();_0x78a115[_0x5b02ab(0x2bc)](_0x23fc2d),this[_0x5b02ab(0x3a7)][_0x5b02ab(0x401)](_0x375e8c,_0x495830,_0x4684dc,_0x5436f5),this[_0x5b02ab(0x368)][_0x5b02ab(0x429)]({'unitId':_0x375e8c,'subUnitId':_0x495830,'view':_0x78a115,'pivotTableId':_0x4684dc,'type':_0x61923f});}),this[_0x1af0fb(0x3a7)][_0x1af0fb(0x203)]());this[_0x1af0fb(0x368)][_0x1af0fb(0x3db)](_0x412b99,_0x4edcdf);}));}['registerDirtyService'](){const _0x202162=_0x582ad3;this[_0x202162(0x2de)]['register'](_0x284bfd['id'],{'commandId':_0x284bfd['id'],'getDirtyData'(_0x3035a9){const _0x3892a6=_0x202162;return{'dirtyUnitFeatureMap':_0x3035a9[_0x3892a6(0x36d)]};}});}};_0x234baa=_0x34b75b([_0xb6cb7a(0x0,_0x434acf['Inject'](_0x434acf['ICommandService'])),_0xb6cb7a(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x39b78f[_0x582ad3(0x280)])),_0xb6cb7a(0x2,_0x434acf['Inject'](_0x39b78f[_0x582ad3(0x2c9)])),_0xb6cb7a(0x3,_0x434acf['Inject'](_0x39b78f[_0x582ad3(0x20e)])),_0xb6cb7a(0x4,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x2e5)])),_0xb6cb7a(0x5,_0x347eab[_0x582ad3(0x247)])],_0x234baa);var _0x100d01=Object[_0x582ad3(0x25c)],_0x1adce2=Object[_0x582ad3(0x1fb)],_0x398fc9=(_0x19feb3,_0x229c6a,_0x981c2d)=>_0x229c6a in _0x19feb3?_0x100d01(_0x19feb3,_0x229c6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x981c2d}):_0x19feb3[_0x229c6a]=_0x981c2d,_0x116631=(_0x434a32,_0x22324a,_0xc84ea8,_0x3b3be9)=>{const _0x53c780=_0x582ad3;for(var _0x37b190=_0x3b3be9>0x1?void 0x0:_0x3b3be9?_0x1adce2(_0x22324a,_0xc84ea8):_0x22324a,_0x2e305b=_0x434a32[_0x53c780(0x29c)]-0x1,_0x4b953d;_0x2e305b>=0x0;_0x2e305b--)(_0x4b953d=_0x434a32[_0x2e305b])&&(_0x37b190=_0x4b953d(_0x37b190)||_0x37b190);return _0x37b190;},_0x4b8c74=(_0x5f001e,_0xa9d482)=>(_0x44b27b,_0x5a27c6)=>_0xa9d482(_0x44b27b,_0x5a27c6,_0x5f001e),_0x466add=(_0x523926,_0x45c52b,_0x31658c)=>_0x398fc9(_0x523926,typeof _0x45c52b!=_0x582ad3(0x38c)?_0x45c52b+'':_0x45c52b,_0x31658c);_0x39b78f[_0x582ad3(0x333)]=class extends _0x434acf[_0x582ad3(0x33c)]{constructor(_0xe51ee1=_0x52330a,_0x646139,_0x2783ca,_0x5bda26,_0x4bed4b){const _0x1ff24a=_0x582ad3;super(),this['_config']=_0xe51ee1,this[_0x1ff24a(0x1cf)]=_0x646139,this[_0x1ff24a(0x47c)]=_0x2783ca,this[_0x1ff24a(0x2b0)]=_0x5bda26,this[_0x1ff24a(0x468)]=_0x4bed4b;const {..._0x5ea839}=_0x434acf[_0x1ff24a(0x260)]({},_0x52330a,this['_config']);this[_0x1ff24a(0x2b0)][_0x1ff24a(0x276)](_0x2ede01,_0x5ea839),this[_0x1ff24a(0x3ae)](),this[_0x1ff24a(0x24b)]();}[_0x582ad3(0x24b)](){const _0x355277=_0x582ad3;var _0x41357c;const _0x27e9b7=(_0x41357c=this[_0x355277(0x3bb)])==null?void 0x0:_0x41357c[_0x355277(0x20b)];this[_0x355277(0x2b0)][_0x355277(0x276)](_0x4f33fa,_0x27e9b7===!0x0);}[_0x582ad3(0x207)](){const _0x12772d=_0x582ad3;var _0x37ecda;let _0x5b72ed=[];const _0x15cc7b=(_0x37ecda=this[_0x12772d(0x3bb)])==null?void 0x0:_0x37ecda[_0x12772d(0x20b)];_0x15cc7b===!0x0?_0x5b72ed=[[_0x39b78f[_0x12772d(0x40e)]],[_0x39b78f[_0x12772d(0x280)]],[_0x234baa],[_0x39b78f[_0x12772d(0x2c9)]],[_0x39b78f[_0x12772d(0x20e)]],[_0x30f92d],[_0x26341c],[_0x1c991d],[_0x32dab1]]:_0x15cc7b===!0x1?_0x5b72ed=[[_0x39b78f[_0x12772d(0x486)]],[_0x16d5f0]]:_0x15cc7b===void 0x0&&(_0x5b72ed=[[_0x39b78f[_0x12772d(0x486)]],[_0x16d5f0],[_0x39b78f[_0x12772d(0x40e)]],[_0x39b78f[_0x12772d(0x280)]],[_0x234baa],[_0x39b78f[_0x12772d(0x2c9)]],[_0x39b78f['SheetsPivotTableConfigModel']],[_0x30f92d],[_0x26341c],[_0x1c991d],[_0x32dab1]]),_0x5b72ed['forEach'](_0x3b3c75=>this['_injector'][_0x12772d(0x41a)](_0x3b3c75)),[_0x16d5f0,_0x234baa,_0x39b78f['SheetsPivotTableService'],_0x26341c,_0x30f92d,_0x1c991d,_0x32dab1]['forEach'](_0x104c04=>{const _0x4da4dd=_0x12772d;this['_injector'][_0x4da4dd(0x426)](_0x104c04)&&this['_injector'][_0x4da4dd(0x313)](_0x104c04);});}[_0x582ad3(0x3ae)](){const _0x4349b9=_0x582ad3;[_0x15f67a,_0x5c791b,_0xfecc09,_0x304972,_0x2559b5,_0x56a89a,_0x4d5c36,_0x1525ea,_0x53f224,_0x53f00c,_0x46f41e,_0x30ddb3,_0x43e64c,_0x23061b,_0x4fc1e3,_0x2ddba6,_0x37c84d,_0x4a0768,_0x2b30ca,_0x429cd1,_0xa867de,_0x340e09,_0x54be86,_0x4d9c89,_0x59edf3,_0x33be6f,_0x237291,_0x296d8e,_0x27f8cd,_0x319e9a,_0x205030,_0x107e68,_0x1a74ba,_0x14bd8f,_0x49d53f,_0x573750,_0x33526f,_0x284bfd,_0x189960,_0x292ed6,_0x49397d,_0x289d0e,_0x346d32][_0x4349b9(0x363)](_0x363eb0=>{const _0x2662ce=_0x4349b9;var _0x14e5cc;(_0x14e5cc=this[_0x2662ce(0x468)])==null||_0x14e5cc['registerSyncingMutations'](_0x363eb0),this[_0x2662ce(0x47c)]['registerCommand'](_0x363eb0);});}},_0x466add(_0x39b78f[_0x582ad3(0x333)],'pluginName',_0x552bab),_0x466add(_0x39b78f[_0x582ad3(0x333)],_0x582ad3(0x1da),_0x434acf[_0x582ad3(0x4c7)]['UNIVER_SHEET']),_0x39b78f[_0x582ad3(0x333)]=_0x116631([_0x434acf[_0x582ad3(0x2d2)](_0x28d1ac[_0x582ad3(0x42d)]),_0x4b8c74(0x1,_0x434acf[_0x582ad3(0x3bd)](_0x434acf[_0x582ad3(0x32d)])),_0x4b8c74(0x2,_0x434acf['Inject'](_0x434acf[_0x582ad3(0x388)])),_0x4b8c74(0x3,_0x434acf[_0x582ad3(0x2fe)]),_0x4b8c74(0x4,_0x434acf[_0x582ad3(0x454)](_0x9169ae[_0x582ad3(0x1c6)]))],_0x39b78f[_0x582ad3(0x333)]),_0x39b78f[_0x582ad3(0x2cb)]=_0xfecc09,_0x39b78f[_0x582ad3(0x1cc)]=_0x4a0768,_0x39b78f['AddPivotTableCommand']=_0x5c791b,_0x39b78f[_0x582ad3(0x2e2)]=_0x4fc1e3,_0x39b78f[_0x582ad3(0x226)]=_0x15f67a,_0x39b78f[_0x582ad3(0x2e9)]=_0x2445e6,_0x39b78f[_0x582ad3(0x2ae)]=_0x50bdbf,_0x39b78f['MovePivotFieldCommand']=_0x304972,_0x39b78f[_0x582ad3(0x404)]=_0x43e64c,_0x39b78f[_0x582ad3(0x3d3)]=_0x4396e3,_0x39b78f[_0x582ad3(0x223)]=_0x23061b,_0x39b78f['PivotTableOperationEnum']=_0x106039,_0x39b78f['PivotTableViewDirtyMarkOperation']=_0x284bfd,_0x39b78f[_0x582ad3(0x3e1)]=_0x2099c6,_0x39b78f[_0x582ad3(0x42f)]=_0x2559b5,_0x39b78f[_0x582ad3(0x428)]=_0x340e09,_0x39b78f['RemovePivotTableMutation']=_0x37c84d,_0x39b78f[_0x582ad3(0x3c3)]=_0x54be86,_0x39b78f[_0x582ad3(0x3c8)]=_0x346d32,_0x39b78f[_0x582ad3(0x469)]=_0x2ede01,_0x39b78f[_0x582ad3(0x322)]=_0x552bab,_0x39b78f['SetPivotCollapseCommand']=_0x1525ea,_0x39b78f[_0x582ad3(0x2f1)]=_0x4d9c89,_0x39b78f[_0x582ad3(0x3af)]=_0x14bd8f,_0x39b78f[_0x582ad3(0x341)]=_0x289d0e,_0x39b78f['SetPivotFilterCommand']=_0x53f00c,_0x39b78f['SetPivotFilterMutation']=_0xa867de,_0x39b78f['SetPivotOptionMutation']=_0x33be6f,_0x39b78f[_0x582ad3(0x21a)]=_0x237291,_0x39b78f['SetPivotSortCommand']=_0x53f224,_0x39b78f[_0x582ad3(0x2fb)]=_0x59edf3,_0x39b78f['SetPivotSubtotalTypeMutation']=_0x1a74ba,_0x39b78f[_0x582ad3(0x3cb)]=_0x292ed6,_0x39b78f['SetPivotValueFilterMutation']=_0x49397d,_0x39b78f[_0x582ad3(0x42a)]=_0x4d5c36,_0x39b78f[_0x582ad3(0x358)]=_0x205030,_0x39b78f[_0x582ad3(0x396)]=_0x46f41e,_0x39b78f[_0x582ad3(0x35f)]=_0x33526f,_0x39b78f[_0x582ad3(0x375)]=_0x30ddb3,_0x39b78f[_0x582ad3(0x3a2)]=_0x573750,_0x39b78f[_0x582ad3(0x3c1)]=_0x56a89a,_0x39b78f['UpdateValuePositionMutation']=_0x107e68,_0x39b78f[_0x582ad3(0x2c2)]=_0x22d700,_0x39b78f[_0x582ad3(0x265)]=_0x3f1a1b,_0x39b78f[_0x582ad3(0x421)]=_0x2fe106,_0x39b78f[_0x582ad3(0x3cf)]=_0xce47c6,_0x39b78f[_0x582ad3(0x2c1)]=_0x4858ca,_0x39b78f[_0x582ad3(0x26e)]=_0x366075,_0x39b78f[_0x582ad3(0x400)]=_0x33a2e4,_0x39b78f[_0x582ad3(0x2b8)]=_0x38b5cd,_0x39b78f[_0x582ad3(0x2ab)]=_0x3f6f1b,_0x39b78f['getPivotInfoByLicense']=_0x3a3421,_0x39b78f[_0x582ad3(0x40d)]=_0x2dbc29,_0x39b78f[_0x582ad3(0x26d)]=_0x2891c2,_0x39b78f[_0x582ad3(0x1c5)]=_0x101e39,Object[_0x582ad3(0x25c)](_0x39b78f,Symbol['toStringTag'],{'value':_0x582ad3(0x4b0)});}));function _0x2c0a(){const _0x205983=['updatePivotTableMatrixInfo','/*Dgu4JUO-GJuHz4gD3SgfgS-OgW34HOgD*/fNUnOJdUDGgnS73OJdU(4JngUug,D3Nz4JnIg7)D{DDDDOS7D{DDDDDDDDndUuOD4JngUugjUfdrHSO6SSH7D=D4JngUug.u34JO(\x27-\x27);DDDDDDDDndUuODdSJTJUeguuHTgD=DAkoY.3HSug(HOdz(4JngUugjUfdrHSO6SSH7[K]));DDDDDDDDJfD(!dSJTJUeguuHTg.NG)D{DDDDDDDDDDDDdSJTJUeguuHTg.NGD=DYNWzgS(4JngUugjUfdrHSO6SSH7[8]);DDDDDDDD}DDDDDDDDndUuODJuhdSbgSD=DO73gdfDhdSbgS04dzH4knd3gD!==D\x27NUGgfJUgG\x27D&&Dug4fDJUuOHUngdfDhdSbgS04dzH4knd3g;DDDDDDDDndUuODJuQSd\x20ugSD=DO73gdfD\x20JUGd\x20D!==D\x27NUGgfJUgG\x27D&&DO73gdfD\x20JUGd\x20.4dnHOJdUD!==D\x27NUGgfJUgG\x27;DDDDDDDDndUuODndUOgqOD=DJuhdSbgSD?Dug4fD:D(JuQSd\x20ugSD?D\x20JUGd\x20D:DT4dzH45cJu);DDDDDDDDndUuODWguuHTghdSGD=DndUOgqO.__QHugm8__.3HSug(4JngUugjUfdrHSO6SSH7[K]);DDDDDDDDndUuODWguuHTgD=DndUOgqO.__Vgq__.uOSJUTJf7(WguuHTghdSG);DDDDDDDDndUuODuJTUHONSghdSGD=DndUOgqO.__QHugm8__.3HSug(4JngUugjUfdrHSO6SSH7[R]);DDDDDDDDndUuODuJTUHONSgD=DndUOgqO.__Vgq__.uOSJUTJf7(uJTUHONSghdSG);DDDDDDDDndUuODuJTU9H4JGD=DndUOgqO.__MgSJf7__(uJTUHONSg,DWguuHTg,D3Nz4JnIg7);DDDDDDDDndUuODGdWHJUD=DdSJTJUeguuHTg.GW;DDDDDDDDfNUnOJdUDJu1dWHJUeHOncJUT(3HOOgSU,DcduO)D{DDDDDDDDDDDDJfD(3HOOgSUD===DcduO)DSgONSUDOSNg;DDDDDDDDDDDDJfD(3HOOgSU.uOHSOuhJOc(\x27*.\x27))D{DDDDDDDDDDDDDDDDndUuODuNffJqD=D3HOOgSU.u4Jng(K);DDDDDDDDDDDDDDDDJfD(uNffJqD&&DuNffJqD===DcduO)D{DDDDDDDDDDDDDDDDDDDDSgONSUDOSNg;DDDDDDDDDDDDDDDD}DDDDDDDDDDDDDDDDJfD(uNffJqD&&D!cduO.uOHSOuhJOc(\x27.\x27)D&&DcduO.gUGuhJOc(\x27.\x27D+DuNffJq))D{DDDDDDDDDDDDDDDDDDDDSgONSUDOSNg;DDDDDDDDDDDDDDDD}DDDDDDDDDDDD}DDDDDDDDDDDDSgONSUDfH4ug;DDDDDDDD}DDDDDDDD4gODGdWHJU9H4JGD=DfH4ug;DDDDDDDDJfD(JuQSd\x20ugS)D{DDDDDDDDDDDDGdWHJU9H4JGD=D(GdWHJUD&&DGdWHJU.4gUTOc)D?DGdWHJU.udWg((GWjOgW)D=>DJu1dWHJUeHOncJUT(GWjOgW,D4dnHOJdU.cduOUHWg))D:DOSNg;DDDDDDDDDDDDJfD(4dnHOJdU.cduOUHWgD===D\x274dnH4cduO\x27)D{DDDDDDDDDDDDDDDDGdWHJU9H4JGD=DOSNg;DDDDDDDDDDDD}DDDDDDDD}Dg4ugD{DDDDDDDDDDDDGdWHJU9H4JGD=DOSNg;DDDDDDDD}DDDDDDDDndUuODMH4JGD=DuJTU9H4JGD&&DGdWHJU9H4JG;DDDDDDDDSgONSUD{DDDDDDDDDDDDMH4JG,DDDDDDDDDDDDWguuHTg:DdSJTJUeguuHTg,DDDDDDDD};DDDD}DnHOncD(gSSdS)D{DDDDDDDDSgONSUD{DDDDDDDDDDDDMH4JG:DfH4ug,DDDDDDDDDDDDWguuHTg:D{},DDDDDDDD};DDDD}}','UpdatePivotTableSourceRangeMutation','substring','1173056CBHvHK','_pivotRenderValueMatrixCache','executeCommand','_sheetsPivotTableConfigModel','return\x20','message','asyncInterceptor','unshift','getMonth','Grand\x20Total','_initRegisterCommand','SetPivotFieldFormatMutation','DisposableCollection','PivotViewCellValueTypeEnum','getValueIndex','getStyles','_univerInstanceService','pbt','clearRenderCache','InsertRowMutation','handleSourceRangeChange','addPivotTable','getDataFieldId','_config','Varp\x20of\x20','Inject','getUnit','filter','_generateUniqueVersion','UpdatePivotValuePositionCommand','addPivotTableWithConfig','RenamePivotFieldMutation','sheets-pivot.emptyPivot.column','valueFilter','subtotal','LocaleService','ResetPivotFieldsConfigCommand','_initDataSendListener','sheet.mutation.set-pivot-option','SetPivotValueFilterCommand','setName','_globalComputedEndHelpFunc','fields','generateSetRangeValueMutations','result','sheets-pivot.varpName','prototype','PivotDisplayDataType','GlobalConfig','PivotTable','_onRefRangeChange','isDateGroupFieldJSON','getMatrix','UniverProLicense','RANGE_TYPE','markDirty','sheets-pivot.dateGroup.hour','sheets-pivot.cellDateGroupDisplay.month','DataField','displayName','data','PositionType','dispose','ObjectMatrix','realDeleteValue','getDataFieldItemInfo','isNaN','generateMutationsByRanges','UniverProSheetsPivot','movePivotField','setPivotCollapse','sheet.mutation.set-pivot-position','cellToRange','SetFieldFormat','MAX_SAFE_INTEGER','headerMap','removeCollections','some','map','_ensurePivotItemRenderInfoCache','updateViewInfo','CellValueType','getPivotDisplayConfig','excelDateToUnixMilliseconds','getValue','deleteDataField','lastCol','_queryingMap','dataStream','SetPivotCollapse','product','SheetsSelectionsService','getFieldListByArea','updateConfigCache','oldMatrix','pivotTableConfigs','MovePivotTableCommand','getCellMatrix','pivotTableId','getAutoFitColumnsMutations','UniverCore','_getAutoName','clear','startRow','_subjectFieldsCollectionChange','getPivotTableInfo','SheetsPivotTableService','level','sheet.command.set-pivot-fields-config','_initSnapshot','Column','updateDirtyPivotTable','object','_resourceManagerService','updateViewData','onQueryStart','setRangeValueUndoMutation','@univerjs/engine-formula','add','getRangeData','redos','rowHeaderMap','measure','disposableCollection','unshiftString','defaultThemeStyle','UniverRpc','setSourceName','createAsyncInterceptorKey','createCollectionWithDataRange','has','updateFieldSourceInfo','RemovePivotFieldMutation','updateRenderCache','UpdateDateGroupCommand','sheet.mutation.send-pivot-config-local','getRangeStartEndInfo','UniverLicensePlugin','forRow','RemovePivotFieldCommand','Values','MovePivotField','getFormat','filterFields','colRanges','getPivotTableModelConfig','#e6ebfa','_ensureViewDataMap','slice','DEFAULT_WORKSHEET_ROW_COUNT','pageStyle','STRING','getDataFieldManager','floor','setSortInfo','getSubUnitPivotRenderCache','_initUnitDisposed','stdDev','addExclusiveRange','YearMonthDate','col','_fieldsCollectionChange$','maxDate','SheetInterceptorService','_ensurePivotMap','createInterceptorKey','createDataFieldId','updateAllDisplayName','PivotDataFieldDataTypeEnum','sortInfo','parse','_pivotTableRangeInfo','Range','sheet.command.remove-pivot-field','getConfig','sheet.mutation.remove-pivot-table','Optional','fontRenderExtension','blank','startColumn','#1d32e9','_dataFieldManagerCollection','rowRanges','Panel','sum','cornerInfo','range','dataFieldsCollection','asObservable','LS_CONFIG_KEY','onQueryEnd','_globalComputingSrv','pivotConfigChange$','token','RemoveRowMutation','setValuePivotFilter','_dataSyncPrimaryController','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','entries','getMatrixFromRunTimeData','72ZEcINV','PivotMultipleValueId','PivotView','_pivotConfigChange$','sheet.command.update-pivot-value-position','sourceRangeInfo','CELL_CONTENT','stdDevp','broadcastCollectionChange','sheet.mutation.set-pivot-format','@univerjs-pro/engine-pivot','_createExclusiveRange','textInfo','addPivotField','5877YzWqJw','average','_commandService','ClearSelectionContentCommand','sheet.mutation.send-pivot-data-local','setRange','setPivotSetting','targetCellInfo','YearQuarter','YearMonth','rangesInfo','subTotalStyle','SheetsPivotDataSourceModel','sheets-pivot.averageName','setRangeKeyMap','UpdateValuePosition','getSheetCommandTarget','getPivotTableCellData','cornerRanges','Disposable','isBaseGroupField','isText','_init','startCollectChangeset','Row','removeCollectionImp','NUM','values','4487676OAroGP','addDataFieldWithoutUnitInfo','_globalComputedStartHelpFunc','createLabelField','getDataFieldByRangeKey','getSubUnitPivotConfigs','_model','_initPivotTextInfo','SetSubtotalType','rangeKey','getTypeOfUnitDisposed$','sheetName','_pivotInitCompleted$','endCollectChangeset','other','SetWorksheetColWidthMutation','_getPivotAppliedRanges','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','adjustSheetCellData','addFieldWithSourceId','find','ResetPivotTable','\x20-\x20','getColumnWidth','amd','Set','Module','deleteField','SetPivotFilter','Subtotal','triggerDirtyFeature','varp','filterInfo','colStyle','_host','addField','delete','cornerStyle','_pivotRenderInfoCache','setPivotSort','getFieldFormat','sequenceExecute','FORCE_STRING','_deleteModelCache','getFieldInfo','Max\x20of\x20','HourMinute','PivotTableFiledAreaEnum','_deletePivotTableInstanceCache','UniverInstanceType','sheet.mutation.pivot-update-field-source-info','_requestResolvers','getLastRow','dataFieldManagerConfig','concat','disposeWithMe','random','format','addCollectionByJSON','getFieldPositionInfoById','sheet.mutation.add-pivot-field','PivotCellStyleTypeEnum','UniverSheets','getSortInfo','removeDataField','getFieldCountByArea','dataFields','value','unionPivotViewRange','DataSyncPrimaryController','RemoveSheetMutation','refreshDataField','grandTotal','pivotInitCompleted$','removeField','AddPivotFieldMutation','versions','SetPivotSetting','_injector','includes','13679523iWBydw','getUpdateRangeDeleteIds','sheet.mutation.update-pivot-table-source-range','UniverProEnginePivot','Column\x20','removePivotTable','InsertColMutation','removeSourceRangeChange','Hour','type','filterId','sheets-pivot.columnName','AddPivotTable','getRangeKeyList','PivotDataFieldTypeEnum','_toJSON','row','isDateGroupField','endRow','_ensurePivotItemRenderValueMatrixCache','AddPivotField','FontCache','getPivotTableConfig','REF','renameField','UniverSheetsFilter','sheets-pivot.cellDateGroupDisplay.minute','StdDev\x20of\x20','BadReference','getLastCol','_textInfo','iterateField','needSameDeleteModel','oldRangeInfo','undos','getRefRangeMutationsByMoveRange','valueIndex','None','fieldsConfig','_sheetInterceptorService','pushUndoRedo','registerPluginResource','getOwnPropertyDescriptor','width','createValueField','numfmt','getRangeKey','NO_COMMERCIAL','existing','collapseInfo','setPivotInitCompleted','updateRangeKeyMap','AsyncInterceptorManager','DateGroupField','onStarting','SetPivotTableConfig','pushComputingStatusSubject','generateHexNumber','notExecuteFormula','getNoUsedDataFieldIds','_markDirty$','SheetsPivotTableConfigModel','GrandTotal','originTargetInfo','RemoveField','_refRangeService','setFieldFormat','getValueFilterInfos','Value','_sheetsPivotDataSourceModel','version','sheets-pivot.subTotal','#FFFFFF','SetPivotPositionMutation','pivotMutationGenerate','getformat','dataStyle','RemoveSheetCommand','SetValuePivotFilter','query','Rectangle','sheet.mutation.rename-pivot-field','PivotDrillDownCommand','getFullYear','complete','AddPivotTableWithConfigCommand','addRecord','minDate','ptn','panel','getPivotItemRenderInfoCache','custom','getColCount','getSheets','Month','sheets-pivot.stdDevName','Date','_pivotTableMatrixInfo','UpdateSource','SetFilterInfo','date','register','pageRanges','getRowCount','sheets-pivot.cellDateGroupDisplay.quarter','setLabelFilterInfo','min','collections','sheet.mutation.set-pivot-filter','SetValueFilter','document','bind','getGroupFieldsInfoByIds','setDirty','from','_localeService','updateDataFieldsCollection','_sheetsSelectionsService','IActiveDirtyManagerService','push','matrix','UNIVER_SHEET','_initConfig','Filter','resetPivotTable','sheets-pivot.dateGroup.quarter','@univerjs/sheets-filter','setPivotTableConfig','UpdatePivotSource','removePivotField','unitId','cellValue','RemoveColMutation','AddPivotTableWithConfig','@univerjs/rpc','columnFields','number','keys','getTargetByPivotTableId','defineProperty','_initCommandInterceptListener','_sheetsPivotTableService','isDateValue','merge','getName','intercept','setValue','PivotSubtotalTypeEnum','canUsePivot','string','getFontStyleString','_updatePivotTableInstanceCache','sourceName','AddField','_refRangeHandle','RenameField','transFromCellValue','getEmptyPivotRanges','countNums','rangeKeyMap','function','new','addDirtyPivotTable','uniqueDataFieldName','getDisplayName','setConfig','interceptor','Tools','PivotFilterTypeEnum','handleMoveRange','_initPivotDataGetListener','sheet.mutation.send-pivot-view-local','_updateModelCache','getDataFieldByDataFieldId','updateCollectionConfig','SheetsPivotRPCService','rangeType','SetSheetsFilterRangeMutation','getDataFieldByTableId','sheets-pivot.emptyPivot.filter','IUndoRedoService','getColumnCount','registerCallbackWithEvent','_viewUpdate$','SetSortInfo','NUMBER','size','fetchThroughAsyncInterceptors','COMMAND','limit\x20pivot','rowCount','removeValueFilterInfo','iterateFieldByArea','getValuePosition','single','getUnitId','options','foreach','rxjs','getFieldById','getSourceName','getDataFieldBySourceName','_sheetsPivotRpcService','length','refreshData','#f4f4f5','_featureCalculationManagerService','MonthDate','sheets-pivot.cellDateGroupDisplay.yearQuarter','_viewData$','getSheetId','MoveRangeCommand','_ensurePivotTableMatrixInfo','column','sheets-pivot.value','_updateRenderEmptyCache','splice','PivotTableChangeTypeEnum','getPivotCellInfo','body','3265100HKHrZT','DEFAULT_PIVOT_NUMBER','setDateType','_configService','getTargetByPivotId','Subject','fieldIds','_initRemoveSheetCommandInterceptor','_viewData','getId','sheets-pivot.countName','getInsertRowColMutations','reset','registerDirtyService','SetCollapse','formJSON','valid','isColMultiMeasure','getAutoDisplayName','ManualFilter','getAdjustRangesPosition','applyChangeSet','_pivotTableInstanceCache','_collectionChange$','Quarter','sheet.command.move-pivot-field','sheet.command.set-pivot-field-setting','_initGlobalComputed','SheetsPivotTableAdaptorModel','sheets-pivot.productName','AddPivotFieldCommand','endColumn','getFieldDataType','getAutoDisplayNameFunction','sheets-pivot.config','error','Total','DependentOn','MUTATION','sheet.command.set-pivot-sort','intersects','getPivotTableInstance','subscribe','SetOptions','sheet.command.move-pivot-table','next','getViewData','isPrefixValue','@univerjs/engine-render','_activeDirtyManagerService','mergeWorksheetSnapshotWithDefault','sheets-pivot.cellDateGroupDisplay.yearMonthDate','handleAsyncResponse','AddPivotTableMutation','rangeCache','isBottomTotal','IUniverInstanceService','stringify','generateNewSheetName','UniverEngineFormula','BLANK_ROW_COUNT','sheets-pivot.dateGroup.hourMinute','colHeaderMap','ClearSelectionAllCommand','resetArea','rgb(240,241,243)','getCellRaw','COLUMN','SetPivotCollapseMutation','@univerjs/sheets','getDirtyInfo','#b2b2b2','originalFieldId','batch','areaInfo','lastRow','parseInt','dataRangeInfo','SetPivotSortMutation','info','IFeatureCalculationManagerService','IConfigService','PivotErrorTypeEnum','collectionConfig','sheets-pivot.stdDevpName','PivotDateGroupFieldDateTypeEnum','getTextInfo','forValue','getInterceptPoints','Delete','_configVersion$','Average\x20of\x20','queryDirtyPivotTable','UpdateFieldPosition','PivotTableValuePositionEnum','sheet.command.pivot-drill-down','sheet.command.set-pivot-collapse','setDataRecordCount','updateView','numberToABC','dateGroupField','set','get','call','shouldClear','Year','colCount','valueFields','sheet.command.update-pivot-table-source-range','getSheetBySheetName','subUnitId','getTextSize','CommandType','leftOffset','sheet.command.update-date-group','SHEET_PIVOT_EXCLUSIVE_ID','MoveRangeMutation','SHEET_PIVOT_TABLE_PLUGIN','_initClearSelectionCommandInterceptor','fromJSON','isEmpty','DIV_BY_ZERO','sheets-pivot.grandTotal','InsertSheetMutation','isValue','getPivotTableRangeInfo','SetRangeValuesMutation','Style','Injector','_collectionConfigModel','getCurrentUnitForType','updateConfig','_subjectViewChange','workbook\x20is\x20not\x20found','UniverSheetsPivotTablePlugin','sheets-pivot.cellDateGroupDisplay.hourMinute','_initLocale','DEFAULT_WORKSHEET_COLUMN_COUNT','getFieldIds','setSubtotalType','SetWorksheetActiveOperation','interceptCommand','getIntersects','Plugin','getCollection','exports','NAME','DrillDown','SetPivotFieldsConfigCommand','InterceptorManager','MIN_SAFE_INTEGER','IExclusiveRangeService','_exclusiveRangeService','751126RQOKwh','updatePivotSource','tableFieldId','sheet.mutation.set-pivot-value-filter','updatePivotTableRangeInfo','getPivotDirtyViewInfo','split','NotNumber','sheets-pivot.emptyPivot.values','getHeaderMapItem','DataFieldManager','hasField','_initViewModelBySheetInterceptor','rowFields','setValueFilterInfo','deleteUnitId','_subjectCollectionChange','sheet.command.add-pivot-field','UpdateFieldPositionMutation','CustomCommandExecutionError','update','setTextInfo','StdDevp\x20of\x20','sheet.mutation.update-date-group','UniverEngineRender','UpdatePivotFieldSourceInfoMutation','addCollection','setPivotFilter','SetPivotSort','forEach','NotName','max','getSheetBySheetId','sheet.mutation.remove-pivot-field','_sheetsPivotTableAdaptorModel','New','IResourceManagerService','7SkRAvp','collection','params','_globalSubject','getPivotTableIdByCell','updateValuePosition','pivotTableIndexConfig','@univerjs-pro/license','978596hwLdxt','InsertSheetUndoMutationFactory','UpdatePivotTableSourceRangeCommand','sideEffectUpdateWorkerCache','dimension','sheets.tabs.sheet','contains','refreshGroupField','toJSON','dataFieldId','initDataRanges','getSubtotal','sheet.mutation.set-pivot-collapse','sheet.mutation.send-init-pivot-text-local','collectionChange$','drillDown','colInfo','getOriginFieldId','sheets-pivot.dateGroup.minute','sheet.command.set-pivot-filter','isFeatureAuthorizedWithinTime','ICommandService','fieldsCollectionChange$','ErrorType','configVersion$','symbol','RemovePivotField','onCommandExecuted','SHEET_PIVOT_IN_MAIN_THREAD','getMatrixValue','getDate','Count\x20of\x20','isDate','Expand','isErrorValue','UpdatePivotFieldSettingCommand','Add','setPivotTable','sheets-pivot.countNumsName','Sum\x20of\x20','getTableFieldById','count','setCollapse','sheets-pivot.cellDateGroupDisplay.yearMonth','BehaviorSubject'];_0x2c0a=function(){return _0x205983;};return _0x2c0a();}