@univerjs-pro/sheets-pivot 0.10.12 → 0.10.13-nightly.202510290902
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2053bd,_0x306adb){const _0xf8c339=_0x416f,_0x4c8b90=_0x2053bd();while(!![]){try{const _0x448879=-parseInt(_0xf8c339(0x232))/0x1*(-parseInt(_0xf8c339(0x263))/0x2)+-parseInt(_0xf8c339(0x37c))/0x3*(-parseInt(_0xf8c339(0x3c3))/0x4)+parseInt(_0xf8c339(0x47e))/0x5+parseInt(_0xf8c339(0x2a0))/0x6+-parseInt(_0xf8c339(0x20b))/0x7+-parseInt(_0xf8c339(0x278))/0x8+-parseInt(_0xf8c339(0x42d))/0x9*(parseInt(_0xf8c339(0x304))/0xa);if(_0x448879===_0x306adb)break;else _0x4c8b90['push'](_0x4c8b90['shift']());}catch(_0x3fcb28){_0x4c8b90['push'](_0x4c8b90['shift']());}}}(_0xc1c0,0xc6dd3),function(_0x58dfd3,_0x463c29){const _0x42e809=_0x416f;typeof exports==_0x42e809(0x3ea)&&typeof module<'u'?_0x463c29(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==_0x42e809(0x371)&&define[_0x42e809(0x406)]?define([_0x42e809(0x1e7),_0x42e809(0x2cb),'@univerjs/core',_0x42e809(0x3d4),_0x42e809(0x37a),_0x42e809(0x4da),_0x42e809(0x3e6),_0x42e809(0x212),_0x42e809(0x2f9),_0x42e809(0x34f)],_0x463c29):(_0x58dfd3=typeof globalThis<'u'?globalThis:_0x58dfd3||self,_0x463c29(_0x58dfd3['UniverProSheetsPivot']={},_0x58dfd3[_0x42e809(0x484)],_0x58dfd3['UniverCore'],_0x58dfd3[_0x42e809(0x39f)],_0x58dfd3[_0x42e809(0x331)],_0x58dfd3[_0x42e809(0x4da)],_0x58dfd3[_0x42e809(0x2b2)],_0x58dfd3['UniverSheetsFilter'],_0x58dfd3[_0x42e809(0x467)],_0x58dfd3[_0x42e809(0x2c2)]));}(this,function(_0x1f8e23,_0x2aa645,_0x3500ba,_0x454f08,_0x4ed168,_0x6c47f7,_0x25d566,_0x4acbec,_0x378576,_0x1d8b82){'use strict';const _0x4d8b64=_0x416f;var _0x35d600=Object[_0x4d8b64(0x35c)],_0x340e30=(_0x367020,_0x43d212,_0x4f9fdc)=>_0x43d212 in _0x367020?_0x35d600(_0x367020,_0x43d212,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f9fdc}):_0x367020[_0x43d212]=_0x4f9fdc,_0x47b9ba=(_0x4dd21c,_0x2bfd91,_0x1350ba)=>_0x340e30(_0x4dd21c,typeof _0x2bfd91!='symbol'?_0x2bfd91+'':_0x2bfd91,_0x1350ba);const _0x99dbbb=Number[_0x4d8b64(0x2ed)](0x68f856ac),_0x51ff9b=0x10,_0x3a26ee=0x1,_0x3aabed=_0x4d8b64(0x431),_0x539291=0x1,_0x4cd131=_0x4d8b64(0x3f9),_0x103a04=_0x4d8b64(0x44f),_0x381193=_0x4d8b64(0x294),_0x2049a4='#f4f4f5',_0x2e10e2=_0x4d8b64(0x3eb),_0x2a26b3='#eceeff',_0x1bd2fb=_0x4d8b64(0x423),_0x3f8502=_0x4d8b64(0x1f4),_0x3548fd=_0x4d8b64(0x3a2),_0x49d030=_0x4d8b64(0x423),_0x446738='#FFFFFF',_0x18df70=_0x4d8b64(0x360),_0x32c77b=0xe,_0x39c98e=0x6;var _0x168dd3=(_0x12482f=>(_0x12482f['Existing']=_0x4d8b64(0x432),_0x12482f['New']=_0x4d8b64(0x22a),_0x12482f))(_0x168dd3||{});const _0x10daa6={'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':''}}},_0x5bb949=0x1e,_0x114557={'b':{'s':0x1,'cl':{'rgb':_0x381193}},'l':{'s':0x1,'cl':{'rgb':_0x381193}},'r':{'s':0x1,'cl':{'rgb':_0x381193}},'t':{'s':0x1,'cl':{'rgb':_0x381193}}},_0x240549={'bg':{'rgb':_0x4cd131},'ht':0x2,'vt':0x2,'tb':0x1},_0x465462={'bg':{'rgb':_0x103a04},'ht':0x2,'vt':0x2,'tb':0x1},_0x5a68d8={'rowStyle':{'bg':{'rgb':_0x18df70},'bd':_0x114557,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x49d030},'bd':null,'cl':{'rgb':_0x446738},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x114557,'bg':{'rgb':_0x3548fd},'vt':0x2},'cornerStyle':{'bd':_0x114557,'bg':{'rgb':_0x2a26b3},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x114557,'bg':{'rgb':_0x2049a4},'vt':0x2},'leafStyle':{'bd':_0x114557,'bg':{'rgb':_0x2e10e2},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1bd2fb},'cl':{'rgb':_0x3f8502},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x114557,'vt':0x2}};function _0x6c8394(_0x189372,_0x953f6d,_0x392979){const _0x35debc=_0x4d8b64,_0x271bec=_0x189372['get'](_0x3500ba['LocaleService']),_0x5d5530=_0x392979[_0x35debc(0x3b0)]('_');switch(_0x953f6d){case _0x2aa645[_0x35debc(0x2fc)][_0x35debc(0x341)]:return _0x271bec['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x5d5530);case _0x2aa645[_0x35debc(0x2fc)][_0x35debc(0x319)]:return _0x271bec['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x5d5530);case _0x2aa645[_0x35debc(0x2fc)][_0x35debc(0x3da)]:return _0x271bec['t'](_0x35debc(0x45d),..._0x5d5530);case _0x2aa645[_0x35debc(0x2fc)][_0x35debc(0x45a)]:return _0x271bec['t'](_0x35debc(0x202),..._0x5d5530);case _0x2aa645['PivotDateGroupFieldDateTypeEnum']['Date']:return _0x271bec['t'](_0x35debc(0x4be),..._0x5d5530);case _0x2aa645[_0x35debc(0x2fc)][_0x35debc(0x490)]:return _0x271bec['t'](_0x35debc(0x498),..._0x5d5530);case _0x2aa645['PivotDateGroupFieldDateTypeEnum'][_0x35debc(0x291)]:return _0x271bec['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x5d5530);case _0x2aa645[_0x35debc(0x2fc)]['YearMonth']:return _0x271bec['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x5d5530);case _0x2aa645['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:return _0x271bec['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x5d5530);case _0x2aa645[_0x35debc(0x2fc)][_0x35debc(0x2e5)]:return _0x271bec['t'](_0x35debc(0x288),..._0x5d5530);}return'';}const _0x46221c=(_0x4e3816,_0x1bad03,_0x58d8dd,_0x261d4b)=>{const _0x495f27=_0x4d8b64;let _0x2fb3a3;const _0x24ee6c=_0x4e3816[_0x495f27(0x445)](_0x3500ba['IUniverInstanceService'])[_0x495f27(0x2d0)](_0x3500ba[_0x495f27(0x2f0)][_0x495f27(0x42b)]);if(!_0x24ee6c)return null;const _0x113425=_0x24ee6c['getStyles']();let _0x4707ae;if(_0x58d8dd&&(_0x4707ae=_0x113425[_0x495f27(0x28c)](_0x58d8dd)),_0x1bad03!=null&&_0x1bad03['v']||(_0x1bad03==null?void 0x0:_0x1bad03['v'])===0x0){_0x2fb3a3||(_0x2fb3a3={});const _0x346b46=_0x4c8210(_0x1bad03['v']);typeof _0x346b46==_0x495f27(0x2d1)?_0x2fb3a3['t']=_0x3500ba[_0x495f27(0x2b0)][_0x495f27(0x1e9)]:typeof _0x346b46==_0x495f27(0x380)&&(_0x2fb3a3['t']=_0x3500ba['CellValueType'][_0x495f27(0x274)]),_0x2fb3a3['v']=_0x346b46;}if((_0x1bad03!=null&&_0x1bad03['i']||(_0x1bad03==null?void 0x0:_0x1bad03['i'])===0x0)&&(_0x2fb3a3||(_0x2fb3a3={}),_0x2fb3a3['fi']=_0x1bad03['i']),_0x1bad03!=null&&_0x1bad03['s']&&(_0x2fb3a3||(_0x2fb3a3={}),_0x2fb3a3[_0x495f27(0x47a)]=_0x1bad03['s']),_0x58d8dd&&(_0x2fb3a3||(_0x2fb3a3={}),_0x2fb3a3['s']=_0x4707ae),_0x261d4b&&_0x2fb3a3!=null&&_0x2fb3a3['v']&&_0x2fb3a3[_0x495f27(0x47a)]!==_0x2aa645[_0x495f27(0x4d4)][_0x495f27(0x3e0)]&&_0x2fb3a3[_0x495f27(0x47a)]!==_0x2aa645[_0x495f27(0x4d4)][_0x495f27(0x27a)]){const _0x5d86dc=String(_0x2fb3a3['v']),{dateType:_0x21ffe9}=_0x261d4b;_0x2fb3a3['v']=_0x6c8394(_0x4e3816,_0x21ffe9,_0x5d86dc),_0x2fb3a3['t']=_0x3500ba[_0x495f27(0x2b0)][_0x495f27(0x274)];}return _0x2fb3a3;},_0x47d256=(_0x50f306,_0x32e29a,_0x36c2ce,_0x5256cc)=>{const _0x52176d=_0x4d8b64;var _0x5c29e1,_0x240fe0,_0x15905c,_0x1b24bf,_0x33777d,_0x43a027,_0x6d9ea0,_0x45993b,_0x5a981e,_0x1af2b2,_0x12278e,_0x30d09d,_0x26fe6f,_0x2b11fc;const _0x5d8135=_0x36c2ce[_0x52176d(0x32a)],{cornerView:_0x2e59d8,rowView:_0x5d1328,colView:_0x71a186,dataView:_0x2cf35e,pageView:_0x1e3341,formatMap:_0x2769ab,groupInfo:_0x2be2c6}=_0x32e29a,{row:_0x5a8fd6,col:_0x10b03b}=_0x5d8135,_0x454ff1=new _0x3500ba[(_0x52176d(0x4f9))](),_0x1b8ec2={},_0x14b54f={},_0x156dda={},_0x37599c={},_0x300490={};let _0x54cd7d=_0x5a8fd6,_0x32c07f=_0x10b03b;Object[_0x52176d(0x27f)](_0x1e3341[_0x52176d(0x4ef)])[_0x52176d(0x325)](_0xf4eaca=>{const _0x4c918d=_0x52176d;Object['keys'](_0x1e3341['data'][Number(_0xf4eaca)])[_0x4c918d(0x325)](_0x40c83a=>{const _0xfc868e=_0x4c918d,_0x4bd973={..._0x1e3341['data'][Number(_0xf4eaca)][Number(_0x40c83a)]};_0x454ff1[_0xfc868e(0x28c)](Number(_0xf4eaca)+_0x54cd7d,Number(_0x40c83a)+_0x32c07f,_0x46221c(_0x50f306,_0x4bd973,_0x5a68d8['pageStyle']));});});const _0x5aa1f0=Object['keys'](_0x1e3341[_0x52176d(0x4ef)])['length'];_0x54cd7d+=_0x5aa1f0+(_0x5aa1f0?_0x539291:0x0);const _0x57e733=_0x2e59d8[_0x52176d(0x4d6)](),_0x4a0bb7=_0x2e59d8[_0x52176d(0x310)]();for(let _0x10e505=0x0;_0x10e505<_0x57e733;_0x10e505++)for(let _0x34cc67=0x0;_0x34cc67<_0x4a0bb7;_0x34cc67++){const _0x450364={...(_0x240fe0=(_0x5c29e1=_0x2e59d8[_0x52176d(0x4ef)])==null?void 0x0:_0x5c29e1[_0x10e505])==null?void 0x0:_0x240fe0[_0x34cc67]};_0x450364&&((_0x15905c=_0x5d1328[_0x52176d(0x4b3)][_0x34cc67])!=null&&_0x15905c[_0x52176d(0x238)])&&_0x34cc67===_0x4a0bb7-0x1&&_0x10e505===_0x57e733-0x1&&(_0x450364['v']=''+_0x5256cc['sheets-pivot.value']),_0x454ff1[_0x52176d(0x28c)](_0x10e505+_0x54cd7d,_0x34cc67+_0x32c07f,_0x46221c(_0x50f306,_0x450364,_0x5a68d8[_0x52176d(0x41d)]));}for(let _0x8c3e55=0x0;_0x8c3e55<_0x2e59d8[_0x52176d(0x247)][_0x52176d(0x2a7)];_0x8c3e55++)_0x2e59d8[_0x52176d(0x247)][_0x8c3e55]&&(_0x156dda[''+(_0x8c3e55+_0x32c07f)]=_0x2e59d8[_0x52176d(0x247)][_0x8c3e55]);_0x32c07f+=_0x4a0bb7;const _0x17b2b9=_0x71a186['headerMap'],_0xdccf4d=_0x71a186[_0x52176d(0x46d)]()>=0x0?_0x71a186[_0x52176d(0x46d)]()+0x1:0x0,_0x6da71e=_0x71a186[_0x52176d(0x45e)]()>=0x0?_0x71a186[_0x52176d(0x45e)]()+0x1:0x0;for(let _0x369710=0x0;_0x369710<_0x6da71e;_0x369710++){for(let _0x324bcc=0x0;_0x324bcc<_0xdccf4d;_0x324bcc++){const _0x5c69b3={...(_0x33777d=(_0x1b24bf=_0x71a186['data'])==null?void 0x0:_0x1b24bf[_0x324bcc])==null?void 0x0:_0x33777d[_0x369710]},_0x3143e7=(_0x43a027=_0x17b2b9[_0x324bcc])==null?void 0x0:_0x43a027[_0x52176d(0x34d)],_0x25e60f=_0x2769ab[_0x3143e7],_0x10496a=_0x2be2c6[_0x3143e7];_0x5c69b3&&(_0x5c69b3['v']=_0x41bfc1(_0x5c69b3,_0x324bcc===0x0&&((_0x6d9ea0=_0x71a186[_0x52176d(0x306)](_0x369710+0x1))==null?void 0x0:_0x6d9ea0[_0x52176d(0x238)]),_0x25e60f,_0x5256cc));let _0x157ad8;_0x25e60f?_0x157ad8={..._0x5a68d8[_0x52176d(0x3e5)],'n':{'pattern':_0x25e60f}}:_0x157ad8={..._0x5a68d8[_0x52176d(0x3e5)]},_0x454ff1['setValue'](_0x324bcc+_0x54cd7d,_0x369710+_0x32c07f,_0x46221c(_0x50f306,_0x5c69b3,_0x157ad8,_0x10496a));}_0x71a186[_0x52176d(0x247)][_0x369710]&&(_0x14b54f[''+(_0x369710+_0x32c07f)]=_0x71a186[_0x52176d(0x247)][_0x369710]),_0x71a186[_0x52176d(0x4b3)][_0x369710+0x1]&&(_0x300490[''+(_0x369710+_0x54cd7d+0x1)]=_0x71a186[_0x52176d(0x4b3)][_0x369710+0x1]);}_0x54cd7d+=_0x57e733;const _0x1d95ef=_0x5d1328[_0x52176d(0x4b3)],_0xd123f5=_0x5d1328[_0x52176d(0x46d)]()>=0x0?_0x5d1328[_0x52176d(0x46d)]()+0x1:0x0,_0x1c4e13=_0x5d1328[_0x52176d(0x45e)]()>=0x0?_0x5d1328[_0x52176d(0x45e)]()+0x1:0x0;for(let _0xfe8f3a=0x0;_0xfe8f3a<_0xd123f5;_0xfe8f3a++){for(let _0x13cb3a=0x0;_0x13cb3a<_0x1c4e13;_0x13cb3a++){const _0x2ad202={...(_0x5a981e=(_0x45993b=_0x5d1328['data'])==null?void 0x0:_0x45993b[_0xfe8f3a])==null?void 0x0:_0x5a981e[_0x13cb3a]},_0x59fec1=(_0x1af2b2=_0x1d95ef[_0x13cb3a])==null?void 0x0:_0x1af2b2[_0x52176d(0x34d)],_0x118aff=_0x2769ab[_0x59fec1],_0x5a8fa2=_0x2be2c6[_0x59fec1];_0x2ad202&&(_0x2ad202['v']=_0x41bfc1(_0x2ad202,!0x1,_0x118aff,_0x5256cc));let _0x259a1e;_0x5d1328[_0x52176d(0x247)][_0xfe8f3a]['level']===_0x5d1328[_0x52176d(0x310)]()?_0x259a1e=_0x5a68d8['leafStyle']:_0x5d1328['info'][_0xfe8f3a]['isBottomTotal']?_0x259a1e=_0x5d1328['info'][_0xfe8f3a][_0x52176d(0x4f4)]===0x0?_0x5a68d8['grandTotal']:_0x5a68d8[_0x52176d(0x222)]:_0x259a1e=_0x5a68d8[_0x52176d(0x4fa)],_0x118aff&&(_0x259a1e={..._0x259a1e,'n':{'pattern':_0x118aff}}),_0x454ff1[_0x52176d(0x28c)](_0xfe8f3a+_0x54cd7d,_0x13cb3a+_0x10b03b,_0x46221c(_0x50f306,_0x2ad202,_0x259a1e,_0x5a8fa2));}_0x5d1328['info'][_0xfe8f3a]&&(_0x1b8ec2[''+(_0xfe8f3a+_0x54cd7d)]=_0x5d1328[_0x52176d(0x247)][_0xfe8f3a]),_0x5d1328[_0x52176d(0x4b3)][_0xfe8f3a]&&(_0x37599c[''+(_0xfe8f3a+_0x10b03b)]=_0x5d1328['headerMap'][_0xfe8f3a]);}const _0x59009a=_0x2cf35e[_0x52176d(0x4d6)](),_0x56842e=_0x2cf35e[_0x52176d(0x310)]();for(let _0x59af56=0x0;_0x59af56<_0x59009a;_0x59af56++)for(let _0x314430=0x0;_0x314430<_0x56842e;_0x314430++){const _0x10f0b3={...(_0x30d09d=(_0x12278e=_0x2cf35e['data'])==null?void 0x0:_0x12278e[_0x59af56])==null?void 0x0:_0x30d09d[_0x314430]};let _0xc6f0ab;_0x5d1328['info'][_0x59af56][_0x52176d(0x2ec)]?_0xc6f0ab=_0x5d1328[_0x52176d(0x247)][_0x59af56][_0x52176d(0x4f4)]===0x0?_0x5a68d8['grandTotal']:_0x5a68d8[_0x52176d(0x222)]:_0xc6f0ab=_0x5a68d8[_0x52176d(0x2b7)];const _0x33b981=_0x5d1328[_0x52176d(0x247)][_0x59af56][_0x52176d(0x336)],_0x3ed095=_0x71a186[_0x52176d(0x247)][_0x314430][_0x52176d(0x336)],_0x369d27=Math[_0x52176d(0x31a)](_0x33b981,_0x3ed095),_0xc053cf=_0x36c2ce[_0x52176d(0x499)]['valueFields'][_0x52176d(0x37f)]();let _0x49b029='';_0x369d27<0x0?_0x49b029=(_0x26fe6f=_0xc053cf[0x0])!=null?_0x26fe6f:'':_0x49b029=(_0x2b11fc=_0xc053cf[_0x369d27])!=null?_0x2b11fc:'';const _0x46080b=_0x2769ab[_0x49b029];_0x46080b&&(_0xc6f0ab={..._0xc6f0ab,'n':{'pattern':_0x46080b}}),_0x454ff1[_0x52176d(0x28c)](_0x59af56+_0x54cd7d,_0x314430+_0x32c07f,_0x46221c(_0x50f306,_0x10f0b3,_0xc6f0ab));}return{'valueMatrix':_0x454ff1,'rowInfo':_0x1b8ec2,'colInfo':_0x14b54f,'cornerInfo':_0x156dda,'rowHeaderMap':_0x37599c,'colHeaderMap':_0x300490};};function _0x41bfc1(_0x363313,_0xaa20c0,_0x4a2eb1,_0x205c53){const _0x242d23=_0x4d8b64;let _0x4ce734=_0x363313['v'];_0xaa20c0&&(_0x4ce734=''+_0x205c53[_0x242d23(0x493)]);const _0x3abbea=_0x363313['t']&&(_0x363313['t']&_0x2aa645[_0x242d23(0x409)][_0x242d23(0x48c)])>0x0;_0x3abbea&&(_0x4ce734=''+_0x205c53[_0x242d23(0x1e5)]);const _0x5e41e1=_0x363313['t']&&(_0x363313['t']&_0x2aa645[_0x242d23(0x409)][_0x242d23(0x3f3)])>0x0;if(_0x5e41e1&&(_0x4ce734=''+_0x205c53[_0x242d23(0x2ac)]),_0x363313['s']===_0x2aa645[_0x242d23(0x4d4)][_0x242d23(0x27a)]){let _0x1e399b=_0x4ce734,_0x36c5e9='';_0x2aa645[_0x242d23(0x352)](_0x4ce734)&&(_0x1e399b=_0x4ce734[_0x242d23(0x2db)],_0x36c5e9=_0x4ce734['value']);const _0x2afd97=_0x4a2eb1&&!_0x3abbea&&!_0x5e41e1?_0x3500ba[_0x242d23(0x47f)][_0x242d23(0x2de)](_0x4a2eb1,Number(_0x1e399b)):_0x1e399b;_0x36c5e9?_0x4ce734=_0x2afd97+'\x20'+_0x36c5e9:_0x4ce734=_0x2afd97+'\x20'+_0x205c53[_0x242d23(0x369)];}else _0x363313['s']===_0x2aa645[_0x242d23(0x4d4)]['GrandTotal']&&(_0x4ce734=_0x4ce734+'\x20'+_0x205c53['sheets-pivot.grandTotal']);return _0x4ce734;}function _0x4c8210(_0xe630ee){const _0x463fa7=_0x4d8b64;if(_0x2aa645[_0x463fa7(0x34e)](_0xe630ee)){const {errorType:_0xa8800c}=_0xe630ee;switch(_0xa8800c){case _0x2aa645[_0x463fa7(0x28e)][_0x463fa7(0x389)]:return _0x454f08['ErrorType'][_0x463fa7(0x412)];case _0x2aa645[_0x463fa7(0x28e)]['NotNumber']:return _0x454f08[_0x463fa7(0x34c)][_0x463fa7(0x460)];case _0x2aa645[_0x463fa7(0x28e)][_0x463fa7(0x338)]:return _0x454f08['ErrorType'][_0x463fa7(0x4c2)];case _0x2aa645[_0x463fa7(0x28e)][_0x463fa7(0x49d)]:return _0x454f08[_0x463fa7(0x34c)]['NAME'];case _0x2aa645[_0x463fa7(0x28e)]['BadReference']:return _0x454f08[_0x463fa7(0x34c)]['REF'];}}return _0xe630ee;}function _0x2c1f25(_0x43cd02,_0x5754d3,_0x33ac99=!0x1,_0xb4ef3c=!0x1){const _0x4928e0=_0x4d8b64,{data:_0xe4b5d6}=_0x5754d3,_0x111f0c=_0x5754d3['getRowCount'](),_0x2837e9=_0x5754d3['getColCount']();if(_0x111f0c<=0x0||_0x2837e9<=0x0)return[];const _0x300377=_0x5754d3[_0x4928e0(0x45e)](),_0x42c26c=_0x5754d3[_0x4928e0(0x46d)](),_0x1ea955=_0xb4ef3c?_0x42c26c>=0x0?_0x42c26c+0x1:0x0:_0x111f0c,_0x5764fb=_0xb4ef3c?_0x300377>=0x0?_0x300377+0x1:0x0:_0x2837e9,{row:_0x23e7d0,col:_0x374d1a}=_0x43cd02,_0x37c812=_0x23e7d0,_0x114b64=_0x374d1a;if(_0x33ac99){const _0x2ad90b=[];for(const [_0x2e8fab,_0x3c6c6b]of Object[_0x4928e0(0x229)](_0xe4b5d6))for(const [_0x5c9e7f,_0x1f9d14]of Object[_0x4928e0(0x229)](_0x3c6c6b))_0x2ad90b['push'](_0x3500ba[_0x4928e0(0x368)](_0x37c812+Number(_0x2e8fab),_0x114b64+Number(_0x5c9e7f)));return _0x2ad90b;}else{const _0x4dd647=_0xb4ef3c?_0x1ea955>0x0?0x1:0x0:0x1,_0x1d27e4=_0xb4ef3c?_0x5764fb>0x0?0x1:0x0:0x1,_0x3047bd=_0x23e7d0+_0x1ea955-_0x4dd647,_0x3ed0df=_0x374d1a+_0x5764fb-_0x1d27e4;return[{'startRow':_0x37c812,'startColumn':_0x114b64,'endRow':_0x3047bd,'endColumn':_0x3ed0df}];}}const _0x385e31=_0x4d8b64(0x215),_0x79315d='SHEET_PIVOT_EXCLUSIVE_ID';var _0xe8beec=(_0x3d5731=>(_0x3d5731[_0x4d8b64(0x2c5)]=_0x4d8b64(0x340),_0x3d5731[_0x4d8b64(0x259)]=_0x4d8b64(0x29d),_0x3d5731[_0x4d8b64(0x433)]=_0x4d8b64(0x4ce),_0x3d5731[_0x4d8b64(0x237)]='AddPivotTableWithConfig',_0x3d5731[_0x4d8b64(0x33f)]=_0x4d8b64(0x31d),_0x3d5731[_0x4d8b64(0x1eb)]='movePivotField',_0x3d5731[_0x4d8b64(0x281)]=_0x4d8b64(0x240),_0x3d5731['SetPivotCollapse']=_0x4d8b64(0x4c5),_0x3d5731[_0x4d8b64(0x32b)]='setPivotFilter',_0x3d5731[_0x4d8b64(0x4d7)]='setPivotSort',_0x3d5731[_0x4d8b64(0x26e)]=_0x4d8b64(0x49c),_0x3d5731[_0x4d8b64(0x2e8)]=_0x4d8b64(0x225),_0x3d5731[_0x4d8b64(0x388)]=_0x4d8b64(0x230),_0x3d5731[_0x4d8b64(0x39d)]=_0x4d8b64(0x227),_0x3d5731[_0x4d8b64(0x3cf)]=_0x4d8b64(0x436),_0x3d5731[_0x4d8b64(0x39a)]=_0x4d8b64(0x2bd),_0x3d5731[_0x4d8b64(0x476)]='resetPivotTable',_0x3d5731))(_0xe8beec||{});const _0x50fd43={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x4d8b64(0x3b6),'sheets-pivot.grandTotalText':_0x4d8b64(0x4ae),'sheets-pivot.valueText':_0x4d8b64(0x375),'sheets-pivot.averageName':_0x4d8b64(0x3aa),'sheets-pivot.countName':_0x4d8b64(0x491),'sheets-pivot.countNumsName':_0x4d8b64(0x491),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x4d8b64(0x393),'sheets-pivot.productName':_0x4d8b64(0x342),'sheets-pivot.stdDevName':_0x4d8b64(0x443),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x4d8b64(0x434),'sheets-pivot.varpName':_0x4d8b64(0x320),'sheets-pivot.subTotal':_0x4d8b64(0x27a),'sheets-pivot.grandTotal':_0x4d8b64(0x4ae),'sheets-pivot.value':_0x4d8b64(0x3d5),'sheets-pivot.blank':_0x4d8b64(0x48c),'sheets-pivot.other':_0x4d8b64(0x3f3),'sheets-pivot.emptyPivot.filter':_0x4d8b64(0x2c5),'sheets-pivot.emptyPivot.row':_0x4d8b64(0x25a),'sheets-pivot.emptyPivot.column':_0x4d8b64(0x44b),'sheets-pivot.emptyPivot.values':_0x4d8b64(0x358)},_0x5d6cc9={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x45298b=_0x3500ba[_0x4d8b64(0x39e)](_0x4d8b64(0x349)),_0x245f60=_0x3500ba[_0x4d8b64(0x2c4)]('pivotMutationGenerate');var _0x750a94=(_0x10f95f=>(_0x10f95f[_0x4d8b64(0x36f)]='add',_0x10f95f[_0x4d8b64(0x408)]='delete',_0x10f95f[_0x4d8b64(0x394)]=_0x4d8b64(0x394),_0x10f95f))(_0x750a94||{}),_0x12b936=(_0x5b2489=>(_0x5b2489['Add']=_0x4d8b64(0x36f),_0x5b2489[_0x4d8b64(0x473)]=_0x4d8b64(0x279),_0x5b2489['Delete']=_0x4d8b64(0x408),_0x5b2489))(_0x12b936||{});const _0x29ca24={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x42a),'handler':()=>!0x0},_0xe7bd2c={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x355),'handler':()=>!0x0},_0x39da55={'type':_0x3500ba['CommandType'][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x485),'handler':()=>!0x0},_0x58bb3f={'type':_0x3500ba['CommandType'][_0x4d8b64(0x1f6)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0xa61830={'type':_0x3500ba['CommandType']['MUTATION'],'id':_0x4d8b64(0x44c),'handler':()=>!0x0};var _0x2e5d50=Object['getOwnPropertyDescriptor'],_0x1ebf58=(_0x49c475,_0x1339d1,_0x5912e0,_0x4dd59d)=>{for(var _0xaa987b=_0x4dd59d>0x1?void 0x0:_0x4dd59d?_0x2e5d50(_0x1339d1,_0x5912e0):_0x1339d1,_0x48deb8=_0x49c475['length']-0x1,_0x202a01;_0x48deb8>=0x0;_0x48deb8--)(_0x202a01=_0x49c475[_0x48deb8])&&(_0xaa987b=_0x202a01(_0xaa987b)||_0xaa987b);return _0xaa987b;},_0x404492=(_0x5dcbd6,_0x321b9a)=>(_0x3f5395,_0x446839)=>_0x321b9a(_0x3f5395,_0x446839,_0x5dcbd6);_0x1f8e23['SheetsPivotRPCService']=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x330628){const _0x49f5fc=_0x4d8b64;super(),_0x47b9ba(this,_0x49f5fc(0x20f),new Map()),this['_commandService']=_0x330628;}['handleAsyncResponse'](_0x5d1db7){const _0x16e94c=_0x4d8b64,{version:_0x30e99b}=_0x5d1db7,_0x3906e6=this[_0x16e94c(0x20f)][_0x16e94c(0x445)](_0x30e99b);_0x3906e6&&(_0x3906e6(_0x5d1db7),this[_0x16e94c(0x20f)][_0x16e94c(0x408)](_0x30e99b));}[_0x4d8b64(0x38f)](_0x35c8d1){return new Promise((_0x1726c6,_0x410e77)=>{const _0x111a7e=_0x416f,_0x505d1e=this['_generateUniqueVersion']();this[_0x111a7e(0x20f)][_0x111a7e(0x279)](_0x505d1e,_0x1726c6),this[_0x111a7e(0x249)]['executeCommand'](_0x29ca24['id'],{'version':_0x505d1e,..._0x35c8d1},{'onlyLocal':!0x0});});}[_0x4d8b64(0x38b)](){const _0x2ca4ac=_0x4d8b64;return Math[_0x2ca4ac(0x405)]()[_0x2ca4ac(0x3ba)](0x24)[_0x2ca4ac(0x3bc)](0x2,0x10);}},_0x1f8e23[_0x4d8b64(0x411)]=_0x1ebf58([_0x404492(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x496)]))],_0x1f8e23[_0x4d8b64(0x411)]);const _0xf8499={0x0:'u',0x1:'f',0x2:'W',0x3:'8',0x4:'z',0x5:'1',0x6:'e',0x7:'6',0x8:'F',0x9:'a','x':'0','S':'2','i':'3','g':'4','I':'5','X':'7','w':'9','C':'b','T':'c','r':'d','h':'g','f':'h','Y':'i','p':'j','J':'k','e':'l','L':'m','d':'n','O':'o','A':'p','B':'q','D':'r','H':'s','y':'t','o':'v','k':'w','l':'x','F':'y','j':'A','Q':'B','K':'C','U':'D','t':'E','W':'G','c':'H','m':'I','u':'J','N':'K','M':'L','q':'M','z':'N','n':'O','E':'P','Z':'Q','v':'R','b':'S','G':'T','s':'U','V':'V','P':'X','a':'Y','R':'Z'},_0xddf180='10dTyYOd\x20r6TDFAyYOd(eYT6dH6,\x20A0CeYTN6F)\x20{\x20\x20\x20\x20yDF\x20{\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20eYT6dH6md1OE9DyjDD9F\x20=\x20eYT6dH6.HAeYy(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20ODYhYdq6HH9h6\x20=\x20ubnz.A9DH6(9yOC(eYT6dH6md1OE9DyjDD9F[S]));\x20\x20\x20\x20\x20\x20\x20\x20Y1\x20(!ODYhYdq6HH9h6.0r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ODYhYdq6HH9h6.0r\x20=\x20z0LC6D(eYT6dH6md1OE9DyjDD9F[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20YH2ODJ6D\x20=\x20yFA6O1\x202ODJ6DWeOC9ebTOA6\x20!==\x20\x270dr61Yd6r\x27\x20&&\x20H6e1\x20YdHy9dT6O1\x202ODJ6DWeOC9ebTOA6;\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20TOdy6ly\x20=\x20YH2ODJ6D\x20?\x20H6e1\x20:\x20kYdrOk;\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20L6HH9h62ODr\x20=\x20TOdy6ly.__Q9H67g__.A9DH6(eYT6dH6md1OE9DyjDD9F[S]);\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20L6HH9h6\x20=\x20TOdy6ly.__c6l__.HyDYdhY1F(L6HH9h62ODr);\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20HYhd9y0D62ODr\x20=\x20TOdy6ly.__Q9H67g__.A9DH6(eYT6dH6md1OE9DyjDD9F[i]);\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20HYhd9y0D6\x20=\x20TOdy6ly.__c6l__.HyDYdhY1F(HYhd9y0D62ODr);\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20HYhdV9eYr\x20=\x20TOdy6ly.__o6DY1F__(HYhd9y0D6,\x20L6HH9h6,\x20A0CeYTN6F);\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20rOL9Yd\x20=\x20ODYhYdq6HH9h6.rL;\x20\x20\x20\x20\x20\x20\x20\x2010dTyYOd\x20YHUOL9Ydq9yTfYdh(OE9yy6Dd,\x20OcOHy)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20A9yy6Dd\x20=\x20OE9yy6Dd.D6Ae9T6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20fOHy\x20=\x20OcOHy.D6Ae9T6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20A9yy6DdE9DyH\x20=\x20A9yy6Dd.HAeYy(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20fOHyE9DyH\x20=\x20fOHy.HAeYy(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y1\x20(!A9yy6Dd.YdTe0r6H(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20D6y0Dd\x20A9yy6Dd\x20===\x20fOHy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y1\x20(A9yy6DdE9DyH.e6dhyf\x20<\x20S\x20||\x20A9yy6DdE9DyH[x]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20D6y0Dd\x2019eH6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20A9yy6Ddb011Yl\x20=\x20A9yy6DdE9DyH.HeYT6(5).pOYd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20fOHyb011Yl\x20=\x20fOHyE9DyH.HeYT6(-A9yy6DdE9DyH.e6dhyf\x20+\x205).pOYd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20D6y0Dd\x20A9yy6Ddb011Yl\x20===\x20fOHyb011Yl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e6y\x20rOL9YdV9eYr\x20=\x20(rOL9Yd\x20&&\x20rOL9Yd.e6dhyf)\x20?\x20rOL9Yd.HOL6((rLmy6L)\x20=>\x20YHUOL9Ydq9yTfYdh(rLmy6L,\x20eOT9yYOd.fOHyd9L6))\x20:\x20yD06;\x20\x20\x20\x20\x20\x20\x20\x20Y1\x20(eOT9yYOd.fOHyd9L6\x20===\x20\x27eOT9efOHy\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rOL9YdV9eYr\x20=\x20yD06;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TOdHy\x20o9eYr\x20=\x20HYhdV9eYr\x20&&\x20rOL9YdV9eYr;\x20\x20\x20\x20\x20\x20\x20\x20D6y0Dd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o9eYr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6HH9h6:\x20ODYhYdq6HH9h6,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20T9yTf\x20(6DDOD)\x20{\x20\x20\x20\x20\x20\x20\x20\x20D6y0Dd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o9eYr:\x2019eH6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6HH9h6:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x40cc66=_0x5361d7=>{const _0x33b29f=_0x4d8b64;var _0x3d40c1;return((_0x3d40c1=_0x5361d7[_0x33b29f(0x2ff)])==null?void 0x0:_0x3d40c1['dataStream'][_0x33b29f(0x4c8)](/\r\n$/,''))||'';};class _0x1f7ff6 extends _0x2aa645[_0x4d8b64(0x2a8)]{constructor(_0x429507,_0x22475b){const _0x37e341=_0x4d8b64;super(),_0x47b9ba(this,'rangeKeyMap',{}),_0x47b9ba(this,_0x37e341(0x49a)),_0x47b9ba(this,_0x37e341(0x3f6)),(this['_univerInstanceService']=_0x22475b,this[_0x37e341(0x3f6)]=_0x429507);}['initDataRanges'](){const _0x20bbe0=_0x4d8b64;for(const _0x1e9ad5 in this['dataFields']){const _0x3978d3=this[_0x20bbe0(0x3c2)][_0x1e9ad5],_0x198178=_0x3978d3[_0x20bbe0(0x4a4)]();this[_0x20bbe0(0x299)][_0x198178]=_0x3978d3['getId']();}}[_0x4d8b64(0x376)](){const _0x34a937=_0x4d8b64,_0x1e95bf=this[_0x34a937(0x3f6)];return _0x30f662[_0x34a937(0x3b7)](_0x1e95bf);}[_0x4d8b64(0x3b4)](_0xff81de){const _0x461b2e=_0x4d8b64,_0x2405b8=this[_0x461b2e(0x3c2)][_0xff81de]['rangeKey'];delete this[_0x461b2e(0x3c2)][_0xff81de],delete this[_0x461b2e(0x299)][_0x2405b8];}[_0x4d8b64(0x211)](_0xd43082){this['dataFields'][_0xd43082['getId']()]=_0xd43082;}[_0x4d8b64(0x224)](_0x4c9601){const _0x1dcdbf=_0x4d8b64;var _0x5001cb,_0x2ee113;const _0x31cd1f=this[_0x1dcdbf(0x3f6)][_0x1dcdbf(0x2ef)](_0x4c9601);if(_0x31cd1f){const {unitId:_0x3c58bc,subUnitId:_0x685555}=_0x31cd1f,_0x4351a5=(_0x5001cb=this[_0x1dcdbf(0x3f6)][_0x1dcdbf(0x315)](_0x3c58bc,_0x685555,_0x4c9601))==null?void 0x0:_0x5001cb[_0x1dcdbf(0x3b2)];this[_0x1dcdbf(0x3f6)][_0x1dcdbf(0x49f)]({'token':_0x4c9601,'type':_0x750a94['delete'],'dataRangeInfo':_0x4351a5});}(_0x2ee113=this[_0x1dcdbf(0x2d9)](_0x4c9601))==null||_0x2ee113[_0x1dcdbf(0x1f5)](),delete this[_0x1dcdbf(0x4db)][_0x4c9601];}[_0x4d8b64(0x4a4)](_0x463623,_0x2da2bf){const _0x16b6fa=_0x4d8b64,{sheetName:_0x21ae8c,unitId:_0x422e62,range:_0x564882}=_0x463623,{startRow:_0x5a2a3b,endRow:_0x2810f7}=_0x564882;return _0x454f08[_0x16b6fa(0x209)](_0x422e62,_0x21ae8c,{'startRow':_0x5a2a3b,'endRow':_0x2810f7,'startColumn':_0x2da2bf,'endColumn':_0x2da2bf});}['getDataFieldByRangeKey'](_0x4d0d6a){const _0x3809b4=_0x4d8b64;return this[_0x3809b4(0x3c2)][this[_0x3809b4(0x299)][_0x4d0d6a]];}[_0x4d8b64(0x1f1)](_0x88b57a,_0x5b5307){const _0xb4ac7d=_0x4d8b64;this[_0xb4ac7d(0x299)][_0x88b57a]=_0x5b5307;}[_0x4d8b64(0x346)](_0x43c042,_0x1ada39){const _0x53164f=_0x4d8b64;this[_0x53164f(0x299)][_0x1ada39]=this[_0x53164f(0x299)][_0x43c042],delete this[_0x53164f(0x299)][_0x43c042];}[_0x4d8b64(0x31f)](_0x15e80e,_0x16185d,_0x1a0047,_0x495b92){const _0x17eddb=_0x4d8b64,_0x228ae7=new _0x2aa645['FieldsCollection'](this);_0x228ae7['fromJSON'](_0x16185d);const _0x4b9c06=[];let _0x7882ad=0x0;for(const _0x177a8e of _0x228ae7['fieldIds']){const _0x3a064a=this['getRangeKey'](_0x1a0047,_0x7882ad),_0x55e29b=this[_0x17eddb(0x3c2)][_0x177a8e];_0x55e29b&&(_0x55e29b[_0x17eddb(0x2d4)]=_0x3a064a,this[_0x17eddb(0x1f1)](_0x3a064a,_0x177a8e),_0x4b9c06['push']({'index':_0x7882ad,'dataField':_0x55e29b})),_0x7882ad++;}return this[_0x17eddb(0x23e)](_0x15e80e,_0x228ae7,_0x1a0047,_0x495b92),{'collection':_0x228ae7,'updateDataFieldList':_0x4b9c06};}['getRangeStartEndInfo'](_0x537458,_0x71d9d3){const _0x3b4b23=_0x4d8b64;return _0x537458[_0x3b4b23(0x4cd)]===_0x3500ba[_0x3b4b23(0x384)][_0x3b4b23(0x296)]?{'startRow':0x0,'startColumn':_0x537458['startColumn'],'endRow':_0x71d9d3[_0x3b4b23(0x4d6)]()-0x1,'endColumn':_0x537458['endColumn']}:{'startRow':_0x537458[_0x3b4b23(0x4cb)],'startColumn':_0x537458[_0x3b4b23(0x4ca)],'endRow':_0x537458[_0x3b4b23(0x367)],'endColumn':_0x537458[_0x3b4b23(0x373)]};}[_0x4d8b64(0x403)](_0x22b181){const _0x261d12=_0x4d8b64,{sheetName:_0x49b346,range:_0x1b1afb}=_0x22b181,_0x34158e=this[_0x261d12(0x49a)]['getCurrentUnitForType'](_0x3500ba[_0x261d12(0x2f0)][_0x261d12(0x42b)]),_0x4a3254=_0x34158e['getSheetBySheetName'](_0x49b346),_0x33297b=_0x4a3254[_0x261d12(0x46a)](),{startColumn:_0xc981b9,startRow:_0x576326,endColumn:_0x401250}=this['getRangeStartEndInfo'](_0x1b1afb,_0x4a3254),_0x5b5a05=_0x34158e[_0x261d12(0x2f6)](),_0x4f61d7=new _0x2aa645[(_0x261d12(0x461))](this);_0x4f61d7['setRange'](_0x22b181);const _0x7d2df8=[],_0x4341b7={};for(let _0x584de9=_0xc981b9;_0x584de9<=_0x401250;_0x584de9++){const _0x3916b0=_0x33297b[_0x261d12(0x22b)](_0x576326,_0x584de9),_0x545d9b=this[_0x261d12(0x4a4)](_0x22b181,_0x584de9),_0x3720c7=this['getDataFieldByRangeKey'](_0x545d9b);if(_0x3720c7)_0x4f61d7['addField'](_0x3720c7[_0x261d12(0x2be)](),_0x3720c7[_0x261d12(0x3b3)]());else{const _0x37a266=this[_0x261d12(0x235)]();let _0x1e4e34=this[_0x261d12(0x37d)](_0x3916b0,_0x5b5a05,_0x4341b7);_0x2aa645['isDateValue'](_0x1e4e34)&&(_0x1e4e34=_0x3500ba[_0x261d12(0x47f)]['format'](_0x1e4e34['f'],Number(_0x1e4e34['v'])));const _0x464933=this['uniqueDataFieldName'](_0x1e4e34,_0x584de9),_0x380146=new _0x2aa645[(_0x261d12(0x4bf))](_0x37a266,_0x464933,_0x2aa645['generateHexNumber'](0x3));_0x380146[_0x261d12(0x2d4)]=_0x545d9b,this['dataFields'][_0x37a266]=_0x380146,_0x4f61d7[_0x261d12(0x46f)](_0x37a266,_0x464933),_0x7d2df8[_0x261d12(0x206)]({'index':_0x584de9,'dataField':_0x380146});}}return{'updateDataFieldList':_0x7d2df8,'collection':_0x4f61d7};}['_getAutoName'](_0x38a6e2){const _0x3a10e9=_0x4d8b64;return this['_host'][_0x3a10e9(0x4ec)]()[_0x3a10e9(0x40c)]+'\x20'+_0x3500ba[_0x3a10e9(0x4a7)](_0x38a6e2);}[_0x4d8b64(0x4f3)](_0xb597a7,_0x3fd9d9){return _0xb597a7==null||_0xb597a7===''?this['_getAutoName'](_0x3fd9d9):String(_0xb597a7);}[_0x4d8b64(0x2d9)](_0xa434b5){const _0x2f17a5=_0x4d8b64;return this[_0x2f17a5(0x4db)][_0xa434b5];}[_0x4d8b64(0x23e)](_0x3ac119,_0x2a9980,_0x5e12ca,_0x35ad79){const _0x2800b2=_0x4d8b64;this[_0x2800b2(0x4db)][_0x3ac119]=_0x2a9980,_0x2a9980[_0x2800b2(0x323)](_0x5e12ca),this['_host'][_0x2800b2(0x49f)]({'token':_0x3ac119,'type':_0x750a94[_0x2800b2(0x36f)],'dataRangeInfo':_0x5e12ca,'targetCellInfo':_0x35ad79});}[_0x4d8b64(0x335)](_0xdc373a,_0x38f425){const _0x2cd701=_0x4d8b64,_0x54b72f=this[_0x2cd701(0x2d9)](_0xdc373a),_0x1a237a=_0x54b72f[_0x2cd701(0x3cc)]();let _0x5c9b30=0x0;for(const _0x3572d7 of _0x1a237a){const _0x4e4931=_0x54b72f[_0x2cd701(0x40a)](_0x3572d7),_0x3d6492=this['getRangeKey'](_0x38f425,_0x5c9b30);this[_0x2cd701(0x346)](_0x4e4931[_0x2cd701(0x2d4)],_0x3d6492),_0x5c9b30++;}}[_0x4d8b64(0x4ab)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4d8b64(0x29b)](_0x1584d0,_0x36a7e1){const _0x5f2cb5=_0x4d8b64;if(this[_0x5f2cb5(0x2d9)](_0x1584d0)){const _0x5e834b=this[_0x5f2cb5(0x255)](_0x36a7e1),_0x393503=[];for(const _0x3e8239 of _0x5e834b)this[_0x5f2cb5(0x299)][_0x3e8239]!==void 0x0&&_0x393503['push'](this[_0x5f2cb5(0x299)][_0x3e8239]);const _0x517678=this[_0x5f2cb5(0x437)](_0x1584d0),_0x256c88=[],_0x2e507f=new Set(_0x393503);for(const _0x21cc32 of _0x517678)_0x2e507f[_0x5f2cb5(0x386)](_0x21cc32)||_0x256c88[_0x5f2cb5(0x206)](_0x21cc32);return _0x256c88;}}[_0x4d8b64(0x210)](_0x1400df,_0x3f9ea0,_0x2c6bbd,_0x316369,_0x4f1143){const _0xd07755=_0x4d8b64;return _0x3f9ea0&&_0x3f9ea0[_0xd07755(0x22b)](_0x316369,_0x4f1143)?_0x3f9ea0['getValue'](_0x316369,_0x4f1143):_0x2c6bbd&&_0x2c6bbd[_0xd07755(0x22b)](_0x316369,_0x4f1143)?_0x2c6bbd['getValue'](_0x316369,_0x4f1143):_0x1400df[_0xd07755(0x22b)](_0x316369,_0x4f1143);}[_0x4d8b64(0x354)](_0x141b66,_0x565b57,_0x4cac29,_0x5e807e){const _0x2fdaef=_0x4d8b64,_0x13d2b7=this['dataFields'][_0x141b66];if(!_0x13d2b7)return;const {subUnitId:_0x9a284c,range:_0x29399d,unitId:_0x2835a1}=_0x565b57,_0x3000ab=this[_0x2fdaef(0x49a)][_0x2fdaef(0x383)](_0x2835a1);if(!_0x3000ab){console[_0x2fdaef(0x41a)](_0x2fdaef(0x401));return;}const _0x1b01dc=_0x3000ab[_0x2fdaef(0x3fd)](_0x9a284c),_0x1986c0=_0x1b01dc[_0x2fdaef(0x46a)](),{arrayFormulaCellDataMatrix:_0xc691d,unitDataMatrix:_0x11509a}=_0x5e807e||{},{startRow:_0x14cbf9,startColumn:_0x11e100,endRow:_0x465eca}=this['getRangeStartEndInfo'](_0x29399d,_0x1b01dc);_0x13d2b7[_0x2fdaef(0x404)]();const _0x18a842=_0x3000ab[_0x2fdaef(0x2f6)](),_0xb3ba91={},_0x5018fe=this[_0x2fdaef(0x210)](_0x1986c0,_0xc691d,_0x11509a,_0x14cbf9,_0x11e100+_0x4cac29);let _0x58fdb9=this['adjustSheetCellData'](_0x5018fe,_0x18a842,_0xb3ba91);_0x2aa645[_0x2fdaef(0x270)](_0x58fdb9)&&(_0x58fdb9=_0x3500ba[_0x2fdaef(0x47f)][_0x2fdaef(0x2de)](_0x58fdb9['f'],Number(_0x58fdb9['v'])));const _0x23abd1=this[_0x2fdaef(0x4f3)](_0x58fdb9,_0x11e100+_0x4cac29);_0x13d2b7['setName'](_0x23abd1);for(let _0x11dc15=_0x14cbf9+0x1;_0x11dc15<=_0x465eca;_0x11dc15++){const _0x32d982=this['getMatrixValue'](_0x1986c0,_0xc691d,_0x11509a,_0x11dc15,_0x11e100+_0x4cac29);_0x13d2b7[_0x2fdaef(0x2a6)](this['adjustSheetCellData'](_0x32d982,_0x18a842,_0xb3ba91),_0x11dc15-0x1-_0x14cbf9);}}[_0x4d8b64(0x479)](_0x472340,_0x5ed4f3,_0x1b3f08){const _0x1d35c0=_0x4d8b64,{subUnitId:_0x565849,range:_0x2829d7,unitId:_0x113d13}=_0x1b3f08,_0x3f0eb4=this[_0x1d35c0(0x49a)][_0x1d35c0(0x383)](_0x113d13);if(!_0x3f0eb4){console[_0x1d35c0(0x41a)](_0x1d35c0(0x401));return;}const _0x175f84=_0x3f0eb4[_0x1d35c0(0x3fd)](_0x565849),_0x3ef5f0=_0x175f84['getCellMatrix'](),{startRow:_0x106a06,startColumn:_0x50cc38,endRow:_0x1753b1}=this[_0x1d35c0(0x3d2)](_0x2829d7,_0x175f84),_0x28673b=_0x3f0eb4[_0x1d35c0(0x2f6)](),_0x4c4c72={};for(const {dataField:_0x2fe30e,index:_0x354cd6}of _0x5ed4f3){_0x2fe30e[_0x1d35c0(0x404)]();const _0x31d448=this[_0x1d35c0(0x210)](_0x3ef5f0,void 0x0,void 0x0,_0x106a06,_0x50cc38+_0x354cd6);let _0x143fbe=this[_0x1d35c0(0x37d)](_0x31d448,_0x28673b,_0x4c4c72);_0x2aa645[_0x1d35c0(0x270)](_0x143fbe)&&(_0x143fbe=_0x3500ba['numfmt'][_0x1d35c0(0x2de)](_0x143fbe['f'],Number(_0x143fbe['v'])));const _0x7aeca8=this[_0x1d35c0(0x4f3)](_0x143fbe,_0x50cc38+_0x354cd6);_0x2fe30e[_0x1d35c0(0x3c0)](_0x7aeca8);}_0x472340[_0x1d35c0(0x220)]();for(let _0x2e2b7a=_0x106a06+0x1;_0x2e2b7a<=_0x1753b1;_0x2e2b7a++)for(const {index:_0x1c380d,dataField:_0x13f2d9}of _0x5ed4f3){const _0x360409=_0x3ef5f0[_0x1d35c0(0x22b)](_0x2e2b7a,_0x50cc38+_0x1c380d);_0x13f2d9[_0x1d35c0(0x2a6)](this[_0x1d35c0(0x37d)](_0x360409,_0x28673b,_0x4c4c72),_0x2e2b7a-0x1-_0x106a06);}_0x472340[_0x1d35c0(0x3e8)](_0x1753b1-_0x106a06);}[_0x4d8b64(0x255)](_0xa7e1f){const _0x3c55d0=_0x4d8b64,{range:_0x38a371}=_0xa7e1f,{startColumn:_0x20261d,endColumn:_0x2c09d2}=_0x38a371,_0x3d82fa=[];for(let _0x227439=_0x20261d;_0x227439<=_0x2c09d2;_0x227439++)_0x3d82fa[_0x3c55d0(0x206)](this[_0x3c55d0(0x4a4)](_0xa7e1f,_0x227439));return _0x3d82fa;}[_0x4d8b64(0x37d)](_0x1fba09,_0x6e2ee3,_0x16ef45){const _0xb80e3a=_0x4d8b64;if(_0x1fba09){const {s:_0x3f76ef,v:_0x2a4e0c,t:_0x1e7f57,p:_0x2d39d5}=_0x1fba09;if(_0x2d39d5)return _0x40cc66(_0x2d39d5);const _0x88d467=_0x6e2ee3['get'](_0x3f76ef);if(_0x88d467&&_0x1e7f57===_0x3500ba['CellValueType'][_0xb80e3a(0x1e9)]&&_0x88d467['n']){const {pattern:_0x136b06}=_0x88d467['n'];_0x16ef45[_0x136b06]||(_0x16ef45[_0x136b06]=_0x3500ba[_0xb80e3a(0x47f)][_0xb80e3a(0x1fc)](_0x136b06));const _0x5844d7=_0x16ef45[_0x136b06],_0x15c96b=_0x5844d7[_0xb80e3a(0x2f2)];if(_0x5844d7['isText'])return String(_0x2a4e0c);if(_0x15c96b)return{'v':_0x2a4e0c,'f':_0x136b06};}if(_0x1e7f57===_0x3500ba[_0xb80e3a(0x2b0)]['NUMBER'])return Number(_0x2a4e0c);if(_0x1e7f57===_0x3500ba[_0xb80e3a(0x2b0)][_0xb80e3a(0x274)]||_0x1e7f57===_0x3500ba[_0xb80e3a(0x2b0)][_0xb80e3a(0x407)])return String(_0x2a4e0c);if(_0x1e7f57===void 0x0){const _0x357a5a=Number(_0x2a4e0c);if(!Number[_0xb80e3a(0x21b)](_0x357a5a)&&String(_0x357a5a)===_0x2a4e0c)return _0x357a5a;}return _0x2a4e0c!=null?_0x2a4e0c:null;}else return null;}[_0x4d8b64(0x459)](_0x226a25){const _0x3c4445=_0x4d8b64,{sheetName:_0x489f33,range:_0x1c9d54,unitId:_0xa1eaa8}=_0x226a25,_0xf8cd33=this[_0x3c4445(0x49a)]['getUnit'](_0xa1eaa8);if(!_0xf8cd33)return console[_0x3c4445(0x41a)](_0x3c4445(0x401)),{'header':[],'data':[]};const _0x108738=_0xf8cd33['getSheetBySheetName'](_0x489f33),_0x100a65=_0x108738[_0x3c4445(0x46a)](),{startRow:_0xb589d2,startColumn:_0x2b5a41,endRow:_0x3ecce9,endColumn:_0xdd8ab0}=this[_0x3c4445(0x3d2)](_0x1c9d54,_0x108738),_0x1aba57=_0xf8cd33[_0x3c4445(0x2f6)](),_0x26c16f=[],_0x469379=[],_0xf1ef94={};for(let _0x19a895=_0xb589d2;_0x19a895<=_0x3ecce9;_0x19a895++){const _0x4505ec=[];for(let _0x199ae5=_0x2b5a41;_0x199ae5<=_0xdd8ab0;_0x199ae5++){const _0x387d84=_0x100a65['getValue'](_0x19a895,_0x199ae5);_0x19a895===_0xb589d2?_0x26c16f['push'](_0x387d84==null?null:String(_0x387d84['v'])):_0x4505ec[_0x3c4445(0x206)](this[_0x3c4445(0x37d)](_0x387d84,_0x1aba57,_0xf1ef94));}_0x469379[_0x3c4445(0x206)](_0x4505ec);}return{'header':_0x26c16f,'data':_0x469379};}['toJSON'](){const _0x4b589f=_0x4d8b64;return super[_0x4b589f(0x3ed)]();}[_0x4d8b64(0x3ab)](_0x5eb439){const _0x3e46b0=_0x4d8b64;super[_0x3e46b0(0x3ab)](_0x5eb439),this[_0x3e46b0(0x435)]();}[_0x4d8b64(0x1f5)](){const _0x40aa0d=_0x4d8b64;super['dispose'](),this[_0x40aa0d(0x299)]={},this[_0x40aa0d(0x3f6)]=null;}}const _0x50342a=_0x3a309e=>{const _0x356510=_0x4d8b64,{targetCellInfo:_0x1c4b55}=_0x3a309e,{matrixCache:_0x186d94,rangesCache:_0x5c1e50}=_0x190f48({'filter':_0x356510(0x2c5),'row':_0x356510(0x25a),'column':_0x356510(0x44b),'values':_0x356510(0x358)},_0x1c4b55),_0x54ab01=new _0x3500ba[(_0x356510(0x4f9))]();return _0x186d94[_0x356510(0x21a)]((_0x20d2a7,_0x5c67ab,_0x53659e)=>{_0x54ab01['setValue'](_0x20d2a7,_0x5c67ab,_0x53659e);}),{'matrix':_0x54ab01,'rangesCache':_0x5c1e50};},_0x2bff2f=_0x44bcaf=>{const _0x2011ea=_0x4d8b64;let _0x45555f;if(_0x44bcaf!=null&&_0x44bcaf['v']||(_0x44bcaf==null?void 0x0:_0x44bcaf['v'])===0x0){_0x45555f||(_0x45555f={});const _0x3d82d9=_0x4c8210(_0x44bcaf['v']);typeof _0x3d82d9==_0x2011ea(0x2d1)?_0x45555f['t']=_0x3500ba[_0x2011ea(0x2b0)][_0x2011ea(0x1e9)]:typeof _0x3d82d9==_0x2011ea(0x380)&&(_0x45555f['t']=_0x3500ba[_0x2011ea(0x2b0)][_0x2011ea(0x274)]),_0x45555f['v']=_0x3d82d9;}return _0x45555f;},_0x1133e9=(_0x539bda,_0x3d36a2,_0xc0e9e6)=>{const _0x2aa457=_0x4d8b64;var _0x522fc7,_0x419be6,_0x4bfe34,_0x449e98,_0x16378f,_0x2039ef,_0x89d3b3,_0x22f9b0,_0x930700,_0x188da6,_0x5a2163,_0x5e053f;const {cornerView:_0xdacd52,rowView:_0xb6387,colView:_0x1262a0,dataView:_0xdd16ee,pageView:_0x1e425d,formatMap:_0x2264e2}=_0x539bda,{row:_0x47e6a0,col:_0x2fb4d8}=_0x3d36a2,_0x575667=new _0x3500ba['ObjectMatrix']();let _0x4d673d=_0x47e6a0,_0x34c8fc=_0x2fb4d8;Object[_0x2aa457(0x27f)](_0x1e425d[_0x2aa457(0x4ef)])['forEach'](_0x5be9e4=>{const _0x50394f=_0x2aa457;Object[_0x50394f(0x27f)](_0x1e425d[_0x50394f(0x4ef)][Number(_0x5be9e4)])['forEach'](_0x6c82bf=>{const _0xfdd0d1={..._0x1e425d['data'][Number(_0x5be9e4)][Number(_0x6c82bf)]};_0x575667['setValue'](Number(_0x5be9e4)+_0x4d673d,Number(_0x6c82bf)+_0x34c8fc,_0x2bff2f(_0xfdd0d1));});});const _0x43fbb5=Object[_0x2aa457(0x27f)](_0x1e425d[_0x2aa457(0x4ef)])['length'];_0x4d673d+=_0x43fbb5+(_0x43fbb5?_0x539291:0x0);const _0xb9ca3=_0xdacd52['getRowCount'](),_0x3fc42f=_0xdacd52['getColCount']();for(let _0x28c666=0x0;_0x28c666<_0xb9ca3;_0x28c666++)for(let _0x19e782=0x0;_0x19e782<_0x3fc42f;_0x19e782++){const _0x57f2f3={...(_0x419be6=(_0x522fc7=_0xdacd52[_0x2aa457(0x4ef)])==null?void 0x0:_0x522fc7[_0x28c666])==null?void 0x0:_0x419be6[_0x19e782]};_0x57f2f3&&((_0x4bfe34=_0xb6387[_0x2aa457(0x4b3)][_0x19e782])!=null&&_0x4bfe34[_0x2aa457(0x238)])&&_0x19e782===_0x3fc42f-0x1&&_0x28c666===_0xb9ca3-0x1&&(_0x57f2f3['v']=''+_0xc0e9e6[_0x2aa457(0x493)]),_0x575667['setValue'](_0x28c666+_0x4d673d,_0x19e782+_0x34c8fc,_0x2bff2f(_0x57f2f3));}_0x34c8fc+=_0x3fc42f;const _0x8c4c93=_0x1262a0[_0x2aa457(0x4b3)],_0x4a04ab=_0x1262a0[_0x2aa457(0x46d)]()>=0x0?_0x1262a0['getLastRow']()+0x1:0x0,_0x9740aa=_0x1262a0[_0x2aa457(0x45e)]()>=0x0?_0x1262a0[_0x2aa457(0x45e)]()+0x1:0x0;for(let _0x5f1079=0x0;_0x5f1079<_0x9740aa;_0x5f1079++)for(let _0x5985fa=0x0;_0x5985fa<_0x4a04ab;_0x5985fa++){const _0x2b5d70={...(_0x16378f=(_0x449e98=_0x1262a0[_0x2aa457(0x4ef)])==null?void 0x0:_0x449e98[_0x5f1079])==null?void 0x0:_0x16378f[_0x5985fa]},_0xc9e2b3=(_0x2039ef=_0x8c4c93[_0x5f1079])==null?void 0x0:_0x2039ef['tableFieldId'],_0xcddcf1=_0x2264e2[_0xc9e2b3];_0x2b5d70&&(_0x2b5d70['v']=_0x41bfc1(_0x2b5d70,_0x5f1079===0x0&&((_0x89d3b3=_0x1262a0['getHeaderMapItem'](_0x5985fa+0x1))==null?void 0x0:_0x89d3b3[_0x2aa457(0x238)]),_0xcddcf1,_0xc0e9e6)),_0x575667[_0x2aa457(0x28c)](_0x5f1079+_0x4d673d,_0x5985fa+_0x34c8fc,_0x2bff2f(_0x2b5d70));}_0x4d673d+=_0xb9ca3;const _0x1972a1=_0xb6387[_0x2aa457(0x4b3)],_0x489b92=_0xb6387[_0x2aa457(0x46d)]()>=0x0?_0xb6387['getLastRow']()+0x1:0x0,_0x3ee7d9=_0xb6387['getLastCol']()>=0x0?_0xb6387[_0x2aa457(0x45e)]()+0x1:0x0;for(let _0x3e0ced=0x0;_0x3e0ced<_0x489b92;_0x3e0ced++)for(let _0x12f2e8=0x0;_0x12f2e8<_0x3ee7d9;_0x12f2e8++){const _0x91d2f6={...(_0x930700=(_0x22f9b0=_0xb6387[_0x2aa457(0x4ef)])==null?void 0x0:_0x22f9b0[_0x3e0ced])==null?void 0x0:_0x930700[_0x12f2e8]},_0x26db12=(_0x188da6=_0x1972a1[_0x12f2e8])==null?void 0x0:_0x188da6[_0x2aa457(0x34d)],_0x4dc7d9=_0x2264e2[_0x26db12];_0x91d2f6&&(_0x91d2f6['v']=_0x41bfc1(_0x91d2f6,!0x1,_0x4dc7d9,_0xc0e9e6)),_0x575667[_0x2aa457(0x28c)](_0x3e0ced+_0x4d673d,_0x12f2e8+_0x2fb4d8,_0x2bff2f(_0x91d2f6));}const _0x642da6=_0xdd16ee[_0x2aa457(0x4d6)](),_0x5d6bae=_0xdd16ee[_0x2aa457(0x310)]();for(let _0x196ef3=0x0;_0x196ef3<_0x642da6;_0x196ef3++)for(let _0x4404f3=0x0;_0x4404f3<_0x5d6bae;_0x4404f3++){const _0x555c4b={...(_0x5e053f=(_0x5a2163=_0xdd16ee[_0x2aa457(0x4ef)])==null?void 0x0:_0x5a2163[_0x196ef3])==null?void 0x0:_0x5e053f[_0x4404f3]};_0x575667['setValue'](_0x196ef3+_0x4d673d,_0x4404f3+_0x34c8fc,_0x2bff2f(_0x555c4b));}return _0x575667;},_0x460606=_0xed5e90=>{const _0x32cce8=_0x4d8b64,{view:_0x5cf239,targetCellInfo:_0x436755,isEmpty:_0x58e6c0,textInfo:_0x591e64}=_0xed5e90;if(_0x58e6c0)return _0x50342a(_0xed5e90);const {pageView:_0x3fbed3,cornerView:_0x5f3493,rowView:_0x34caa9,colView:_0x1fcaae,dataView:_0x344a34}=_0x5cf239,_0x14d2d0=_0x2c1f25(_0x436755,_0x3fbed3,!0x0),_0x3719e6=_0x3fbed3[_0x32cce8(0x256)]>=0x0?_0x3fbed3[_0x32cce8(0x256)]+0x1:0x0,_0x5f3edf=_0x5f3493[_0x32cce8(0x4d6)](),_0x5120c8=_0x5f3493['getColCount'](),_0x4cb477=_0x14d2d0['length']>0x0?_0x539291:0x0,_0xc43d6b=_0x2c1f25({'row':_0x436755['row']+_0x3719e6+_0x4cb477,'col':_0x436755['col']},_0x5f3493,!0x1,!0x1),_0x1c4799=_0x2c1f25({'row':_0x436755[_0x32cce8(0x365)]+_0x3719e6+_0x4cb477+_0x5f3edf,'col':_0x436755[_0x32cce8(0x381)]},_0x34caa9,!0x1,!0x0),_0x1de9dd=_0x2c1f25({'row':_0x436755['row']+_0x3719e6+_0x4cb477,'col':_0x436755[_0x32cce8(0x381)]+_0x5120c8},_0x1fcaae,!0x1,!0x0),_0x4a8df7=_0x2c1f25({'row':_0x436755[_0x32cce8(0x365)]+_0x3719e6+_0x4cb477+_0x5f3edf,'col':_0x436755[_0x32cce8(0x381)]+_0x5120c8},_0x344a34,!0x1,!0x1),_0x1e53fe={'rowRanges':_0x1c4799,'colRanges':_0x1de9dd,'cornerRanges':_0xc43d6b,'dataRanges':_0x4a8df7,'pageRanges':_0x14d2d0};return{'matrix':_0x1133e9(_0x5cf239,_0x436755,_0x591e64),'rangesCache':_0x1e53fe};};var _0x21631a=Object[_0x4d8b64(0x302)],_0x13dff6=(_0x287960,_0x2c42e9,_0x4a3d72,_0x48acf0)=>{for(var _0x55c6c5=_0x48acf0>0x1?void 0x0:_0x48acf0?_0x21631a(_0x2c42e9,_0x4a3d72):_0x2c42e9,_0x16c765=_0x287960['length']-0x1,_0x59a6b4;_0x16c765>=0x0;_0x16c765--)(_0x59a6b4=_0x287960[_0x16c765])&&(_0x55c6c5=_0x59a6b4(_0x55c6c5)||_0x55c6c5);return _0x55c6c5;},_0x464a07=(_0x26b4cc,_0x1c06c3)=>(_0x326ec2,_0x4927db)=>_0x1c06c3(_0x326ec2,_0x4927db,_0x26b4cc);_0x1f8e23[_0x4d8b64(0x267)]=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x4b6e61,_0x57f386,_0x29b49b,_0x36614c,_0x2ddf97){const _0x30e771=_0x4d8b64;super(),_0x47b9ba(this,_0x30e771(0x23f),new Map()),_0x47b9ba(this,_0x30e771(0x2c8),new Map()),_0x47b9ba(this,_0x30e771(0x398),new Map()),_0x47b9ba(this,_0x30e771(0x29a)),_0x47b9ba(this,_0x30e771(0x46c),new _0x6c47f7[(_0x30e771(0x471))]()),_0x47b9ba(this,'collectionChange$',this[_0x30e771(0x46c)][_0x30e771(0x44e)]()),_0x47b9ba(this,_0x30e771(0x4b2),new _0x6c47f7[(_0x30e771(0x471))]()),_0x47b9ba(this,_0x30e771(0x334),this['_viewData$'][_0x30e771(0x44e)]()),_0x47b9ba(this,_0x30e771(0x3ee),new _0x6c47f7[(_0x30e771(0x471))]()),_0x47b9ba(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x30e771(0x44e)]()),_0x47b9ba(this,_0x30e771(0x2e9),new Map()),_0x47b9ba(this,_0x30e771(0x272),[]),_0x47b9ba(this,_0x30e771(0x219),new Map()),(this[_0x30e771(0x353)]=_0x4b6e61,this[_0x30e771(0x49a)]=_0x57f386,this[_0x30e771(0x2a4)]=_0x29b49b,this[_0x30e771(0x249)]=_0x36614c,this[_0x30e771(0x36e)]=_0x2ddf97,this[_0x30e771(0x4b1)]());}[_0x4d8b64(0x4ec)](){const _0x5ce4be=_0x4d8b64;return this[_0x5ce4be(0x29a)]?this[_0x5ce4be(0x29a)]:_0x50fd43;}[_0x4d8b64(0x4dc)](_0x3a91b7){const _0x1d5cbe=_0x4d8b64;this[_0x1d5cbe(0x29a)]=_0x3a91b7;}['handleMoveRange'](_0x469a2c){const _0x100745=_0x4d8b64;var _0x3b451d;const {from:_0x3e9f66,to:_0x18dd96,unitId:_0x26a05d,fromRange:_0x616d10,toRange:_0x19a430}=_0x469a2c;if(_0x3e9f66&&_0x18dd96){const _0x577d82=this[_0x100745(0x3c8)](_0x26a05d),_0x2049a0=this[_0x100745(0x23f)][_0x100745(0x445)](_0x26a05d),_0x5402dc=(_0x3b451d=this[_0x100745(0x49a)][_0x100745(0x383)](_0x26a05d))==null?void 0x0:_0x3b451d[_0x100745(0x3fd)](_0x18dd96['subUnitId']);if(!_0x2049a0||!_0x5402dc)return;const _0x269676=_0x5402dc==null?void 0x0:_0x5402dc[_0x100745(0x3b3)]();for(const [_0x430260,_0xb83a35]of _0x2049a0['entries']())for(const [_0x424d87,_0x447e6a]of _0xb83a35[_0x100745(0x229)]()){const {sourceRangeInfo:_0x285a96}=_0x447e6a;if(_0x285a96[_0x100745(0x3e1)]===_0x26a05d&&_0x285a96[_0x100745(0x2a9)]===_0x3e9f66[_0x100745(0x2a9)]&&_0x3500ba[_0x100745(0x2c1)]['contains'](_0x616d10,_0x285a96[_0x100745(0x392)])){const _0x3d4986={'row':_0x285a96[_0x100745(0x392)][_0x100745(0x4cb)]-_0x616d10[_0x100745(0x4cb)],'col':_0x285a96[_0x100745(0x392)][_0x100745(0x4ca)]-_0x616d10[_0x100745(0x4ca)]},_0x21917b={'unitId':_0x26a05d,'subUnitId':_0x18dd96[_0x100745(0x2a9)],'sheetName':_0x269676,'range':{'startRow':_0x19a430[_0x100745(0x4cb)]+_0x3d4986[_0x100745(0x365)],'endRow':_0x19a430[_0x100745(0x4cb)]+_0x3d4986[_0x100745(0x365)]+_0x285a96[_0x100745(0x392)]['endRow']-_0x285a96['range'][_0x100745(0x4cb)],'startColumn':_0x19a430['startColumn']+_0x3d4986[_0x100745(0x381)],'endColumn':_0x19a430[_0x100745(0x4ca)]+_0x3d4986[_0x100745(0x381)]+_0x285a96[_0x100745(0x392)][_0x100745(0x373)]-_0x285a96['range'][_0x100745(0x4ca)]}};_0x577d82['handleMoveRange'](_0x424d87,_0x21917b);const _0x17471b={..._0x447e6a,'sourceRangeInfo':_0x21917b};this['_updateModelCache'](_0x26a05d,_0x18dd96['subUnitId'],_0x424d87,_0x17471b),this[_0x100745(0x49f)]({'unitId':_0x26a05d,'token':_0x424d87,'type':_0x750a94[_0x100745(0x394)],'oldSourceRangeInfo':_0x285a96,'dataRangeInfo':_0x21917b,'targetCellInfo':_0x447e6a[_0x100745(0x32a)]}),this[_0x100745(0x3a8)]({'unitId':_0x26a05d,'subUnitId':_0x18dd96[_0x100745(0x2a9)],'oldSubUnitId':_0x430260,'pivotTableId':_0x424d87,'pivotTableConfig':_0x17471b,'collectionConfig':_0x577d82[_0x100745(0x3ed)]()});}}}}[_0x4d8b64(0x49f)](_0x266979){const _0x194e01=_0x4d8b64;this[_0x194e01(0x46c)]['next'](_0x266979);}[_0x4d8b64(0x3c8)](_0x39203e){const _0x3341fd=_0x4d8b64;let _0x14b53d=this[_0x3341fd(0x2e9)][_0x3341fd(0x445)](_0x39203e);return _0x14b53d||(_0x14b53d=new _0x1f7ff6(this,this[_0x3341fd(0x49a)]),this['_dataFieldManagerCollection'][_0x3341fd(0x279)](_0x39203e,_0x14b53d)),_0x14b53d;}[_0x4d8b64(0x2d9)](_0x1f04cc,_0x4860d9){const _0x1418f1=_0x4d8b64;return this[_0x1418f1(0x3c8)](_0x1f04cc)[_0x1418f1(0x4db)][_0x4860d9];}[_0x4d8b64(0x29b)](_0x5a1b5d,_0x1b4b46,_0x2983d5){const _0xa2c9c8=_0x4d8b64;return this[_0xa2c9c8(0x3c8)](_0x5a1b5d)[_0xa2c9c8(0x29b)](_0x1b4b46,_0x2983d5);}[_0x4d8b64(0x266)](_0x210c20,_0x15c9ed){const _0x920e41=_0x4d8b64;let _0x646530=this[_0x920e41(0x23f)][_0x920e41(0x445)](_0x210c20);_0x646530||(_0x646530=new Map(),this[_0x920e41(0x23f)][_0x920e41(0x279)](_0x210c20,_0x646530));let _0x55d859=_0x646530[_0x920e41(0x445)](_0x15c9ed);return _0x55d859||(_0x55d859=new Map(),_0x646530[_0x920e41(0x279)](_0x15c9ed,_0x55d859)),_0x55d859;}[_0x4d8b64(0x1f7)](_0x383482,_0x2d4a31,_0x1a0f36,_0x1d8220){const _0x496151=_0x4d8b64;this['_ensurePivotMap'](_0x383482,_0x2d4a31)[_0x496151(0x279)](_0x1a0f36,_0x1d8220);}[_0x4d8b64(0x46b)](_0xce9572,_0xf2328,_0x516b65){const _0x2608e2=_0x4d8b64;var _0x777a5b,_0x4911b6,_0x3614a5,_0x4f8d10;((_0x4911b6=(_0x777a5b=this[_0x2608e2(0x23f)][_0x2608e2(0x445)](_0xce9572))==null?void 0x0:_0x777a5b['get'](_0xf2328))==null?void 0x0:_0x4911b6[_0x2608e2(0x445)](_0x516b65))&&((_0x4f8d10=(_0x3614a5=this[_0x2608e2(0x23f)][_0x2608e2(0x445)](_0xce9572))==null?void 0x0:_0x3614a5['get'](_0xf2328))==null||_0x4f8d10[_0x2608e2(0x408)](_0x516b65));}[_0x4d8b64(0x20d)](_0x2eea45,_0x64bd91){const _0x256211=_0x4d8b64;this[_0x256211(0x2c8)][_0x256211(0x279)](_0x2eea45,_0x64bd91);}[_0x4d8b64(0x45f)](_0x204070){const _0x3838d0=_0x4d8b64;this['_pivotTableInstanceCache'][_0x3838d0(0x408)](_0x204070);}[_0x4d8b64(0x4ad)](_0x54f9e9,_0xf2cf50){const _0x5482c9=_0x4d8b64;let _0x31896c=this[_0x5482c9(0x398)][_0x5482c9(0x445)](_0x54f9e9);_0x31896c||(_0x31896c=new Map(),this['_viewData'][_0x5482c9(0x279)](_0x54f9e9,_0x31896c));let _0x5e3ade=_0x31896c[_0x5482c9(0x445)](_0xf2cf50);return _0x5e3ade||(_0x5e3ade=new Map(),_0x31896c[_0x5482c9(0x279)](_0xf2cf50,_0x5e3ade)),_0x5e3ade;}['updateConfig'](_0x2bbe2b){const _0x12d1c8=_0x4d8b64,{unitId:_0x57d487,subUnitId:_0x240b3c,pivotTableId:_0x3125e1,pivotTableConfig:_0x21b9e5,collectionConfig:_0x25c0dd}=_0x2bbe2b,_0x161296={'unitId':_0x57d487,'subUnitId':_0x240b3c,'oldSubUnitId':_0x240b3c,'pivotTableId':_0x3125e1,'pivotTableConfig':_0x21b9e5,'collectionConfig':_0x25c0dd};this[_0x12d1c8(0x249)][_0x12d1c8(0x457)](_0x58bb3f['id'],_0x161296,{'onlyLocal':!0x0});}['updateView'](_0x258057,_0x2d22f1,_0x3d567d,_0x35207b,_0x1b1672,_0x461ea4,_0x255e5c,_0x35ff55=!0x1){const _0xf57e4f=_0x4d8b64;var _0x346746;this[_0xf57e4f(0x249)][_0xf57e4f(0x457)](_0x39da55['id'],{'single':{'unitId':_0x258057,'subUnitId':_0x2d22f1,'type':_0x3d567d,'pivotTableId':_0x35207b,'view':_0x1b1672,'pivotConfig':_0x461ea4},'collectionConfig':{[_0x258057]:_0x255e5c}},{'onlyLocal':!0x0});const _0x4fc07f=!!((_0x346746=this[_0xf57e4f(0x45b)](_0x35207b))!=null&&_0x346746[_0xf57e4f(0x233)]()),_0x56b5ed=this[_0xf57e4f(0x315)](_0x258057,_0x2d22f1,_0x35207b);_0x56b5ed&&this[_0xf57e4f(0x478)]({'view':_0x1b1672,'pivotTableId':_0x35207b,'textInfo':this[_0xf57e4f(0x4ec)](),'isEmpty':_0x4fc07f,'targetCellInfo':_0x56b5ed[_0xf57e4f(0x32a)]},_0x35ff55);}[_0x4d8b64(0x478)](_0x530355,_0x2cbc68){const _0xdce081=_0x4d8b64,{targetCellInfo:_0x484616,pivotTableId:_0x4a2fb5}=_0x530355,{unitId:_0x753b65,subUnitId:_0xc1a928}=_0x484616,_0x400c89=this[_0xdce081(0x4ad)](_0x753b65,_0xc1a928),_0x291934=_0x400c89[_0xdce081(0x445)](_0x4a2fb5);let _0x1fa134,_0x7b75ad;_0x291934&&(_0x1fa134=_0x291934['rangeCache'],_0x7b75ad=_0x291934['matrix']);const {rangesCache:_0xb91024,matrix:_0x33dfab}=_0x460606(_0x530355);_0x400c89[_0xdce081(0x279)](_0x4a2fb5,{'rangeCache':_0xb91024,'matrix':_0x33dfab,'oldMatrix':_0x7b75ad,'oldRangeCache':_0x1fa134}),_0x2cbc68||this[_0xdce081(0x4b2)]['next']({'unitId':_0x753b65,'subUnitId':_0xc1a928,'pivotTableId':_0x4a2fb5});}[_0x4d8b64(0x31d)](_0x2d5fa3,_0x48754f,_0x54689c,_0xe0b4a0,_0x198049){const _0x23cddb=_0x4d8b64;this['_updateModelCache'](_0x2d5fa3,_0x48754f,_0x54689c,_0x198049),this[_0x23cddb(0x20d)](_0x54689c,_0xe0b4a0);}['removePivotTable'](_0x3ade95,_0x520ff8,_0x5fec33){const _0x341fe2=_0x4d8b64,_0x5950ef=this[_0x341fe2(0x3c8)](_0x3ade95);_0x5950ef['getNoUsedDataFieldIds'](_0x5fec33)[_0x341fe2(0x325)](_0x5eaf01=>{const _0xbc0bb0=_0x341fe2;_0x5950ef[_0xbc0bb0(0x3b4)](_0x5eaf01);}),this[_0x341fe2(0x419)](_0x3ade95,_0x5fec33),this[_0x341fe2(0x46b)](_0x3ade95,_0x520ff8,_0x5fec33),this[_0x341fe2(0x45f)](_0x5fec33);}[_0x4d8b64(0x3a4)](_0x488a72,_0x1c3f54,_0x4d331b,_0x43d336){this['_updateModelCache'](_0x488a72,_0x1c3f54,_0x4d331b,_0x43d336);}[_0x4d8b64(0x315)](_0x2119be,_0x99290c,_0x57dca5){const _0x2d1812=_0x4d8b64;var _0x378428,_0x494626;const _0x59c0cc=(_0x494626=(_0x378428=this[_0x2d1812(0x23f)]['get'](_0x2119be))==null?void 0x0:_0x378428[_0x2d1812(0x445)](_0x99290c))==null?void 0x0:_0x494626['get'](_0x57dca5);if(_0x59c0cc)return _0x59c0cc;}[_0x4d8b64(0x414)](_0x4d5bac,_0x1b3627,_0xfe49a9){const _0x22223f=_0x4d8b64;var _0x564205,_0x51bc47;const _0x463699=(_0x51bc47=(_0x564205=this[_0x22223f(0x23f)][_0x22223f(0x445)](_0x4d5bac))==null?void 0x0:_0x564205['get'](_0x1b3627))==null?void 0x0:_0x51bc47[_0x22223f(0x445)](_0xfe49a9);if(_0x463699)return _0x463699[_0x22223f(0x499)];}[_0x4d8b64(0x45b)](_0x14dbbe){return this['_pivotTableInstanceCache']['get'](_0x14dbbe);}[_0x4d8b64(0x3db)](_0x344aeb){const _0x2d36af=_0x4d8b64;this['_model'][_0x2d36af(0x408)](_0x344aeb);const _0x44c6bb=this[_0x2d36af(0x2e9)]['get'](_0x344aeb);_0x44c6bb&&(_0x44c6bb[_0x2d36af(0x1f5)](),this[_0x2d36af(0x2e9)][_0x2d36af(0x408)](_0x344aeb)),this[_0x2d36af(0x398)]['delete'](_0x344aeb),this[_0x2d36af(0x272)]['forEach'](_0x54e02f=>{const _0x2fe8c5=_0x2d36af;_0x54e02f[_0x2fe8c5(0x3db)](_0x344aeb);});}['addCollectionByJSON'](_0x40a561,_0x549efa,_0x1c21d5,_0x48573d){const _0x7f496e=_0x4d8b64;return this[_0x7f496e(0x3c8)](_0x1c21d5['unitId'])[_0x7f496e(0x31f)](_0x40a561,_0x549efa,_0x1c21d5,_0x48573d);}['createCollectionWithDataRange'](_0x2a94a4){const _0x30383f=_0x4d8b64;return this[_0x30383f(0x3c8)](_0x2a94a4[_0x30383f(0x3e1)])['createCollectionWithDataRange'](_0x2a94a4);}['refreshData'](_0x4cf845,_0x27937e,_0x26ce4f){const _0x388115=_0x4d8b64;this['getDataFieldManager'](_0x26ce4f[_0x388115(0x3e1)])[_0x388115(0x479)](_0x4cf845,_0x27937e,_0x26ce4f);}['removeDataField'](_0x1c59b9,_0x241428){const _0x2cb390=_0x4d8b64;this[_0x2cb390(0x3c8)](_0x1c59b9)[_0x2cb390(0x3b4)](_0x241428);}[_0x4d8b64(0x419)](_0x5d0015,_0x8f5ef){const _0x2a938=_0x4d8b64;this[_0x2a938(0x3c8)](_0x5d0015)[_0x2a938(0x224)](_0x8f5ef);}[_0x4d8b64(0x3af)](_0x1c6eef,_0x3d156a){const _0x11ec7b=_0x4d8b64;var _0x552bca;return(_0x552bca=this['_model'][_0x11ec7b(0x445)](_0x1c6eef))==null?void 0x0:_0x552bca['get'](_0x3d156a);}['getTargetByPivotId'](_0x5bf463){const _0x5ba0f3=_0x4d8b64;for(const [_0x21d8cf,_0x945ed4]of this[_0x5ba0f3(0x23f)][_0x5ba0f3(0x229)]())for(const [_0x39aef0,_0x14a95f]of _0x945ed4[_0x5ba0f3(0x229)]())if(_0x14a95f[_0x5ba0f3(0x386)](_0x5bf463))return{'unitId':_0x21d8cf,'subUnitId':_0x39aef0};return null;}[_0x4d8b64(0x4aa)](_0x39faa1,_0x4f5666,_0x15a455,_0x3d5523){const _0x1ee4dc=_0x4d8b64,_0x4e0bad=this[_0x1ee4dc(0x4ad)](_0x39faa1,_0x4f5666);_0x3d5523?_0x4e0bad[_0x1ee4dc(0x279)](_0x15a455,_0x3d5523):_0x4e0bad[_0x1ee4dc(0x408)](_0x15a455),this[_0x1ee4dc(0x4b2)][_0x1ee4dc(0x35a)]({'unitId':_0x39faa1,'subUnitId':_0x4f5666,'pivotTableId':_0x15a455});}['dispose'](){const _0x2661d2=_0x4d8b64;super[_0x2661d2(0x1f5)]();}[_0x4d8b64(0x396)](_0x51c444,_0x4e166d,_0x3ae8f4){const _0x3d2024=_0x4d8b64;var _0x1d134b,_0x5f1b86;const _0x697210=(_0x5f1b86=(_0x1d134b=this['_viewData'][_0x3d2024(0x445)](_0x51c444))==null?void 0x0:_0x1d134b['get'](_0x4e166d))==null?void 0x0:_0x5f1b86[_0x3d2024(0x445)](_0x3ae8f4);return _0x697210||null;}['addDirtyPivotTable'](_0x4031e3){const _0x5c4b41=_0x4d8b64;this[_0x5c4b41(0x252)](_0x4031e3);}[_0x4d8b64(0x252)](_0x59be63){const _0x378229=_0x4d8b64,{token:_0x24b40a,unitId:_0xd2c346,subUnitId:_0x27ed0d}=_0x59be63,_0xe6db01=_0xd2c346+'-'+_0x27ed0d+'-'+_0x24b40a;this['_queryingMap'][_0x378229(0x445)](_0xe6db01)&&clearTimeout(this['_queryingMap'][_0x378229(0x445)](_0xe6db01));const _0x59ea21=setTimeout(()=>{const _0x1c6e2b=_0x378229;this[_0x1c6e2b(0x477)](_0x59be63),this[_0x1c6e2b(0x219)][_0x1c6e2b(0x408)](_0xe6db01);},_0x5bb949);this['_queryingMap'][_0x378229(0x279)](_0xe6db01,_0x59ea21);}[_0x4d8b64(0x477)](_0x1e7e4a){const _0x16b8f7=_0x4d8b64,{unitId:_0xbba500,subUnitId:_0x3c319a,token:_0x1a19e4,type:_0x2d51e0,pivotConfig:_0x30d4c3}=_0x1e7e4a,_0x214ef3=this[_0x16b8f7(0x45b)](_0x1a19e4),_0x2643eb=_0x214ef3==null?void 0x0:_0x214ef3['query'](),_0x13bd69=_0x30d4c3!=null?_0x30d4c3:this[_0x16b8f7(0x315)](_0xbba500,_0x3c319a,_0x1a19e4);_0x13bd69&&(_0x13bd69[_0x16b8f7(0x233)]=!!(_0x214ef3!=null&&_0x214ef3[_0x16b8f7(0x233)]())),(_0x2643eb||_0x2d51e0===_0x12b936[_0x16b8f7(0x2f1)])&&this[_0x16b8f7(0x30b)](_0xbba500,_0x3c319a,_0x2d51e0,_0x1a19e4,_0x2643eb,_0x13bd69,this[_0x16b8f7(0x3c8)](_0xbba500)[_0x16b8f7(0x3ed)]());}[_0x4d8b64(0x3ed)](_0x31ccbb){const _0x46d4e7=_0x4d8b64,_0x373f3a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x46d4e7(0x3c8)](_0x31ccbb)&&(_0x373f3a[_0x46d4e7(0x49b)][_0x31ccbb]=this[_0x46d4e7(0x3c8)](_0x31ccbb)[_0x46d4e7(0x3ed)]()),this[_0x46d4e7(0x23f)][_0x46d4e7(0x445)](_0x31ccbb)){_0x373f3a[_0x46d4e7(0x2b5)][_0x31ccbb]={};const _0x25ab12=this[_0x46d4e7(0x23f)][_0x46d4e7(0x445)](_0x31ccbb);_0x25ab12!=null&&_0x25ab12[_0x46d4e7(0x3c1)]&&[..._0x25ab12[_0x46d4e7(0x27f)]()]['forEach'](_0x37bb8c=>{const _0x405dfa=_0x46d4e7,_0x329011=_0x25ab12['get'](_0x37bb8c);_0x329011!=null&&_0x329011[_0x405dfa(0x3c1)]&&(_0x373f3a[_0x405dfa(0x2b5)][_0x31ccbb][_0x37bb8c]={},[..._0x329011[_0x405dfa(0x27f)]()][_0x405dfa(0x325)](_0x42aafc=>{const _0x104203=_0x405dfa,_0x393fd7=_0x329011[_0x104203(0x445)](_0x42aafc);_0x393fd7&&(_0x373f3a['pivotTableConfigs'][_0x31ccbb][_0x37bb8c][_0x42aafc]=_0x393fd7);}));});}return _0x373f3a;}[_0x4d8b64(0x3ab)](_0x5e594a){const _0xca3dc9=_0x4d8b64;var _0x324d26;const {dataFieldManagerConfig:_0x247cc7,pivotTableConfigs:_0x8d3267}=_0x5e594a;_0x247cc7&&Object['keys'](_0x247cc7)['forEach'](_0xbe0821=>{const _0x474cd7=_0x416f;this[_0x474cd7(0x3c8)](_0xbe0821)[_0x474cd7(0x3ab)](_0x247cc7[_0xbe0821]);});const _0x8304b6=[];if(_0x8d3267){const _0x103854=(_0x324d26=this['_injector'][_0xca3dc9(0x445)](_0x3500ba[_0xca3dc9(0x38d)])['getConfig'](_0x25d566[_0xca3dc9(0x2b8)]))!=null?_0x324d26:{},{ls:_0x59c606,pbk:_0x473dae}=_0x103854,_0x58cf88=_0xdf4962(_0x3a26ee,_0x59c606,_0x473dae)[_0xca3dc9(0x25c)];Object[_0xca3dc9(0x27f)](_0x8d3267)[_0xca3dc9(0x325)](_0xc903ae=>{const _0x47b596=_0xca3dc9;let _0x4170f7=0x0;const _0x27db10=_0x8d3267[_0xc903ae];Object[_0x47b596(0x27f)](_0x27db10)[_0x47b596(0x325)](_0x461b48=>{const _0x1eb190=_0x27db10[_0x461b48];Object['keys'](_0x1eb190)['forEach'](_0x2b6c02=>{const _0x48e282=_0x416f,_0x18f0f2=_0x1eb190[_0x2b6c02];if(_0x18f0f2){if(_0x4170f7>=_0x58cf88)return;_0x4170f7++;const _0x3fd9cf=this[_0x48e282(0x3c8)](_0xc903ae),_0x581ab9=_0x3fd9cf[_0x48e282(0x4db)][_0x2b6c02],_0x1a1bfb=_0x581ab9[_0x48e282(0x3cc)]();let _0x363059=0x0;const _0x28e869=[];for(const _0x3969d2 of _0x1a1bfb){const _0x57b38d=_0x581ab9[_0x48e282(0x40a)](_0x3969d2);if(_0x2aa645[_0x48e282(0x3b1)](_0x57b38d)){const _0x276af8=_0x57b38d[_0x48e282(0x289)](),_0xdf258b=_0x581ab9[_0x48e282(0x40a)](_0x276af8);_0xdf258b&&_0x28e869[_0x48e282(0x206)]([_0x57b38d,_0xdf258b]);continue;}_0x3fd9cf[_0x48e282(0x354)](_0x3969d2,_0x18f0f2['sourceRangeInfo'],_0x363059),_0x363059++;}_0x28e869[_0x48e282(0x325)](([_0x38beeb,_0x4b71f7])=>{const _0x227920=_0x48e282;_0x38beeb[_0x227920(0x446)](_0x4b71f7);});const _0x380f96=new _0x2aa645[(_0x48e282(0x236))](_0x581ab9);_0x380f96[_0x48e282(0x3ab)](_0x18f0f2[_0x48e282(0x499)]),this[_0x48e282(0x31d)](_0xc903ae,_0x461b48,_0x2b6c02,_0x380f96,_0x18f0f2);const _0x514546=_0x380f96[_0x48e282(0x3f5)]();_0x8304b6[_0x48e282(0x206)]({'unitId':_0xc903ae,'subUnitId':_0x461b48,'pivotTableId':_0x2b6c02,'view':_0x514546[_0x48e282(0x3ed)](),'pivotConfig':_0x18f0f2,'type':_0x12b936[_0x48e282(0x3bf)]});const _0x198524=!!_0x380f96[_0x48e282(0x233)](),_0x363591={'view':_0x514546,'pivotTableId':_0x2b6c02,'textInfo':this[_0x48e282(0x4ec)](),'isEmpty':_0x198524,'targetCellInfo':_0x18f0f2[_0x48e282(0x32a)]};this[_0x48e282(0x478)](_0x363591,!0x1);}});});});}_0x247cc7&&Object['keys'](_0x247cc7)[_0xca3dc9(0x325)](_0x42f69a=>{const _0x16179a=_0xca3dc9,_0x2d5a30=this[_0x16179a(0x3c8)](_0x42f69a);this['_fieldsCollectionChange$'][_0x16179a(0x35a)](_0x2d5a30[_0x16179a(0x4db)]);}),this[_0xca3dc9(0x249)]['executeCommand'](_0x39da55['id'],{'batch':_0x8304b6,'collectionConfig':_0x247cc7},{'onlyLocal':!0x0});}[_0x4d8b64(0x4b1)](){const _0x2f4bf8=_0x4d8b64;this['disposeWithMe'](this['_resourceManagerService'][_0x2f4bf8(0x1fa)]({'toJson':_0x29557d=>JSON[_0x2f4bf8(0x3c6)](this[_0x2f4bf8(0x3ed)](_0x29557d)),'parseJson':_0x3fd5ff=>{const _0x5e8b38=_0x2f4bf8;if(!_0x3fd5ff)return{};try{return JSON[_0x5e8b38(0x4eb)](_0x3fd5ff);}catch{return{};}},'businesses':[_0x3500ba[_0x2f4bf8(0x2f0)][_0x2f4bf8(0x42b)]],'pluginName':_0x3aabed,'onLoad':(_0x5cf47c,_0x6a564c)=>{this['fromJSON'](_0x6a564c);},'onUnLoad':_0x527b88=>{const _0x121b17=_0x2f4bf8;this[_0x121b17(0x3db)](_0x527b88);}}));}},_0x1f8e23[_0x4d8b64(0x267)]=_0x13dff6([_0x464a07(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x318)])),_0x464a07(0x1,_0x3500ba[_0x4d8b64(0x3c9)]),_0x464a07(0x2,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x2dd)])),_0x464a07(0x3,_0x3500ba['ICommandService']),_0x464a07(0x4,_0x3500ba['Inject'](_0x3500ba[_0x4d8b64(0x465)]))],_0x1f8e23[_0x4d8b64(0x267)]);const _0x4a07a4={0x0:{0x0:{'v':_0x4d8b64(0x340),'s':_0x240549}},0x2:{0x1:{'v':'','s':_0x240549},0x2:{'v':'','s':_0x240549},0x3:{'v':_0x4d8b64(0x2d5),'s':_0x240549},0x4:{'v':'','s':_0x240549},0x5:{'v':'','s':_0x240549}},0x3:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0x4:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0x5:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0x6:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0x7:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0x8:{0x0:{'v':_0x4d8b64(0x365),'s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'values','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0x9:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0xa:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0xb:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0xc:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}},0xd:{0x0:{'v':'','s':_0x240549},0x1:{'v':'','s':_0x465462},0x2:{'v':'','s':_0x465462},0x3:{'v':'','s':_0x465462},0x4:{'v':'','s':_0x465462},0x5:{'v':'','s':_0x465462}}},_0x53785f={'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':[]},_0x190f48=(_0x1cd1e6,_0x175ea3)=>{const _0x840d15=_0x4d8b64,_0x156990=new _0x3500ba['ObjectMatrix'](),_0x8d5d34=new _0x3500ba[(_0x840d15(0x4f9))](_0x4a07a4),{row:_0x14a45e,col:_0x1c1a69}=_0x175ea3;_0x8d5d34[_0x840d15(0x21a)]((_0xc8c5eb,_0x777336,_0x205067)=>{const _0x48dcf8=_0x840d15;let _0x2d7e75='';_0x205067['v']==='filter'?_0x2d7e75=_0x1cd1e6[_0x48dcf8(0x340)]:_0x205067['v']==='row'?_0x2d7e75=_0x1cd1e6['row']:_0x205067['v']==='column'?_0x2d7e75=_0x1cd1e6[_0x48dcf8(0x2d5)]:_0x205067['v']===_0x48dcf8(0x313)&&(_0x2d7e75=_0x1cd1e6[_0x48dcf8(0x313)]),_0x156990[_0x48dcf8(0x28c)](_0xc8c5eb+_0x14a45e,_0x777336+_0x1c1a69,{..._0x205067,'v':_0x2d7e75});});const _0x3f54ce=_0x3500ba['Tools']['deepClone'](_0x53785f);return Object[_0x840d15(0x27f)](_0x53785f)['forEach'](_0x13f3d5=>{const _0x43c65b=_0x840d15;_0x3f54ce[_0x13f3d5]=_0x53785f[_0x13f3d5]['map'](_0x10ff6f=>({..._0x10ff6f,'startRow':_0x10ff6f['startRow']+_0x14a45e,'endRow':_0x10ff6f[_0x43c65b(0x367)]+_0x14a45e,'startColumn':_0x10ff6f['startColumn']+_0x1c1a69,'endColumn':_0x10ff6f[_0x43c65b(0x373)]+_0x1c1a69}));}),{'matrixCache':_0x156990,'rangesCache':_0x3f54ce};};function _0x30f662(_0x174abd,_0x79b99c){const _0x106ffc=_0x4d8b64;let _0x3d65f0='';const _0xe34ee9=this['getTextInfo']();switch(_0x79b99c){case _0x2aa645[_0x106ffc(0x366)][_0x106ffc(0x475)]:_0x3d65f0=_0xe34ee9[_0x106ffc(0x35d)]+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)][_0x106ffc(0x25c)]:_0x3d65f0=_0xe34ee9['sheets-pivot.countName']+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)][_0x106ffc(0x2f7)]:_0x3d65f0=_0xe34ee9[_0x106ffc(0x361)]+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)]['max']:_0x3d65f0=_0xe34ee9[_0x106ffc(0x221)]+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)][_0x106ffc(0x4a3)]:_0x3d65f0=_0xe34ee9[_0x106ffc(0x2c0)]+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)][_0x106ffc(0x3f8)]:_0x3d65f0=_0xe34ee9[_0x106ffc(0x448)]+_0x174abd;break;case _0x2aa645['PivotSubtotalTypeEnum'][_0x106ffc(0x26c)]:_0x3d65f0=_0xe34ee9['sheets-pivot.stdDevName']+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)][_0x106ffc(0x36a)]:_0x3d65f0=_0xe34ee9[_0x106ffc(0x244)]+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)]['sum']:_0x3d65f0=_0xe34ee9[_0x106ffc(0x300)]+_0x174abd;break;case _0x2aa645['PivotSubtotalTypeEnum']['var']:_0x3d65f0=_0xe34ee9[_0x106ffc(0x350)]+_0x174abd;break;case _0x2aa645[_0x106ffc(0x366)][_0x106ffc(0x2fb)]:_0x3d65f0=_0xe34ee9[_0x106ffc(0x4ff)]+_0x174abd;break;default:_0x3d65f0=_0x174abd;break;}return _0x3d65f0;}function _0x3d23de(_0x535e7b,_0x258f45,_0x28c85e,_0xbbd43c,_0x56bf94){const _0x24986e=_0x4d8b64;var _0x3fa778,_0x26aad8,_0x53968d,_0x5775dc,_0x1624d1;const _0x18808e=_0x3500ba[_0x24986e(0x368)](_0x535e7b,_0x258f45),{rangesInfo:_0x3ffe65,areaInfo:_0x14e5a6,headerMap:_0x1a5571}=_0x56bf94;if(!_0x3ffe65||!_0x14e5a6||!_0x1a5571)return;const _0x36e32d=Object['keys'](_0x3ffe65)['find'](_0xed7d29=>_0x3ffe65[_0xed7d29][_0x24986e(0x246)](_0x3f070a=>_0x3500ba[_0x24986e(0x2c1)][_0x24986e(0x492)](_0x3f070a,_0x18808e))),_0x3368e9=_0x14e5a6;let _0x1d793d,_0x2c45d2,_0x538546;if(_0x36e32d==='rowRanges')_0x1d793d=(_0x3fa778=_0x3368e9==null?void 0x0:_0x3368e9[_0x24986e(0x24f)])==null?void 0x0:_0x3fa778[_0x535e7b],_0x2c45d2=(_0x26aad8=_0x1a5571==null?void 0x0:_0x1a5571['rowHeaderMap'])==null?void 0x0:_0x26aad8[_0x258f45],_0x538546=_0x2c45d2==null?void 0x0:_0x2c45d2['tableFieldId'];else{if(_0x36e32d==='colRanges')_0x1d793d=(_0x53968d=_0x3368e9==null?void 0x0:_0x3368e9['colInfo'])==null?void 0x0:_0x53968d[_0x258f45],_0x2c45d2=(_0x5775dc=_0x1a5571[_0x24986e(0x2f5)])==null?void 0x0:_0x5775dc[_0x535e7b+0x1+_0x258f45-_0x3ffe65[_0x24986e(0x48e)][0x0][_0x24986e(0x4ca)]],_0x538546=_0x2c45d2==null?void 0x0:_0x2c45d2[_0x24986e(0x34d)];else{if(_0x36e32d===_0x24986e(0x4bd))_0x1d793d=(_0x1624d1=_0x3368e9==null?void 0x0:_0x3368e9[_0x24986e(0x316)])==null?void 0x0:_0x1624d1[_0x258f45],_0x538546=_0x1d793d==null?void 0x0:_0x1d793d[_0x24986e(0x34d)];else{if(_0x36e32d===_0x24986e(0x421)){const _0x55dc5b=_0x28c85e==null?void 0x0:_0x28c85e['fi'];_0x55dc5b!==void 0x0&&(_0x538546=_0xbbd43c[_0x24986e(0x48d)](_0x55dc5b));}}}}return{'filterId':_0x538546,'info':_0x1d793d,'data':_0x28c85e,'headerInfo':_0x2c45d2};}function _0x12d15d(_0x2748f5,_0x41b83e,_0x42bd57){const _0x3c3f0b=_0x4d8b64,_0x2fe6f4=_0x2748f5['dataFieldsCollection'],_0x38c05d=_0x2fe6f4[_0x3c3f0b(0x3cc)](),_0x5080a9=new Set();_0x2748f5[_0x3c3f0b(0x251)](_0x336e03=>{const _0x453ba4=_0x3c3f0b;_0x5080a9[_0x453ba4(0x36f)](_0x336e03['dataFieldId']);});const _0x245a54=_0x38c05d[_0x3c3f0b(0x269)](_0x27e3f8=>{const _0x294504=_0x3c3f0b,_0x5e62a2=_0x2fe6f4['getFieldById'](_0x27e3f8);return{'checked':_0x5080a9[_0x294504(0x386)](_0x27e3f8),'dataFieldId':_0x5e62a2['id'],'id':_0x5e62a2['id'],'name':_0x2fe6f4['getDisplayName'](_0x5e62a2['id']),'type':_0x5e62a2[_0x294504(0x3bd)](),'pivotTableId':_0x41b83e};}),_0x377a43=[];_0x2748f5[_0x3c3f0b(0x3fb)](_0x2aa645[_0x3c3f0b(0x364)][_0x3c3f0b(0x25a)],_0x13df2a=>{const _0x1fbc19=_0x3c3f0b;_0x377a43['push']({'dataFieldId':_0x13df2a['dataFieldId'],'tableFieldId':_0x13df2a['getId'](),'displayName':_0x13df2a[_0x1fbc19(0x4bb)]()});});const _0x1b501c=[];_0x2748f5[_0x3c3f0b(0x3fb)](_0x2aa645['PivotTableFiledAreaEnum'][_0x3c3f0b(0x44b)],_0x19048b=>{const _0x41a7f7=_0x3c3f0b;_0x1b501c[_0x41a7f7(0x206)]({'dataFieldId':_0x19048b['dataFieldId'],'tableFieldId':_0x19048b[_0x41a7f7(0x2be)](),'displayName':_0x19048b['getDisplayName']()});});const _0x5d9abd=[];if(_0x2748f5[_0x3c3f0b(0x3fb)](_0x2aa645[_0x3c3f0b(0x364)]['Value'],_0x16a4bd=>{const _0x5568e9=_0x3c3f0b;_0x5d9abd[_0x5568e9(0x206)]({'dataFieldId':_0x16a4bd[_0x5568e9(0x1f8)],'tableFieldId':_0x16a4bd['getId'](),'displayName':_0x16a4bd['getDisplayName'](),'format':_0x16a4bd[_0x5568e9(0x452)](),'subTotalType':_0x16a4bd[_0x5568e9(0x413)]()});}),_0x5d9abd['length']>0x1){const _0x365331=_0x2748f5[_0x3c3f0b(0x2b3)]();(_0x2748f5[_0x3c3f0b(0x283)]()?_0x1b501c:_0x377a43)[_0x3c3f0b(0x3a6)](_0x365331,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x3c3f0b(0x262)});}const _0x432d41=[];_0x2748f5['iterateFieldByArea'](_0x2aa645['PivotTableFiledAreaEnum']['Filter'],_0x51d60=>{const _0x4ab028=_0x3c3f0b;_0x432d41['push']({'dataFieldId':_0x51d60['dataFieldId'],'tableFieldId':_0x51d60['getId'](),'displayName':_0x51d60[_0x4ab028(0x4bb)]()});});const _0x5264c2=_0x42bd57[_0x3c3f0b(0x3b2)];return{'sourceList':_0x245a54,'sourceRange':_0x5264c2,'rowFields':_0x377a43,'columnFields':_0x1b501c,'valueFields':_0x5d9abd,'filterFields':_0x432d41,'positionInfo':_0x42bd57[_0x3c3f0b(0x32a)]};}function _0x32fe0c(_0x27bf92,_0x348a83,_0x4731e3='',_0x22a6a1={}){const _0x4724ca=_0x4d8b64,_0x3b53d0=_0x27bf92['get'](_0x3500ba[_0x4724ca(0x426)]);for(const _0x3b6e03 in _0x348a83)if(Object['prototype']['hasOwnProperty']['call'](_0x348a83,_0x3b6e03)){const _0xceb087=_0x4731e3?_0x4731e3+'.'+_0x3b6e03:_0x3b6e03;typeof _0x348a83[_0x3b6e03]==_0x4724ca(0x3ea)&&_0x348a83[_0x3b6e03]!==null&&!Array[_0x4724ca(0x4cc)](_0x348a83[_0x3b6e03])?_0x32fe0c(_0x27bf92,_0x348a83[_0x3b6e03],_0xceb087,_0x22a6a1):_0x22a6a1[_0xceb087]=_0x3b53d0['t'](_0xceb087);}return _0x22a6a1;}const _0x9ad3ed=_0x14a9fd=>{const _0x2ea513=_0x4d8b64;if(!_0x14a9fd)return[];const {rowRanges:_0x5888aa,colRanges:_0x1ec020,cornerRanges:_0x47305f,dataRanges:_0x5b7d7e,pageRanges:_0x467fa8}=_0x14a9fd,_0x3ca76e=[..._0x1ec020,..._0x5888aa,..._0x5b7d7e,..._0x47305f][_0x2ea513(0x340)](_0x2beb7c=>_0x2beb7c[_0x2ea513(0x4cb)]>=0x0&&_0x2beb7c['startColumn']>=0x0&&_0x2beb7c[_0x2ea513(0x367)]>=0x0&&_0x2beb7c[_0x2ea513(0x373)]>=0x0);let _0x26b686=Number[_0x2ea513(0x25b)],_0xbea529=Number['MIN_SAFE_INTEGER'],_0x1a9b64=Number[_0x2ea513(0x25b)],_0x55f5e2=Number[_0x2ea513(0x37b)];for(let _0x2d44d2=0x0;_0x2d44d2<_0x3ca76e[_0x2ea513(0x2a7)];_0x2d44d2++)_0x26b686=Math[_0x2ea513(0x4a3)](_0x26b686,_0x3ca76e[_0x2d44d2][_0x2ea513(0x4cb)]),_0xbea529=Math[_0x2ea513(0x31a)](_0xbea529,_0x3ca76e[_0x2d44d2]['endRow']),_0x1a9b64=Math[_0x2ea513(0x4a3)](_0x1a9b64,_0x3ca76e[_0x2d44d2][_0x2ea513(0x4ca)]),_0x55f5e2=Math['max'](_0x55f5e2,_0x3ca76e[_0x2d44d2][_0x2ea513(0x373)]);return[..._0x467fa8,{'startRow':_0x26b686,'endRow':_0xbea529,'startColumn':_0x1a9b64,'endColumn':_0x55f5e2}];};function _0x2da06e(_0x4312a4,_0x5b7e80){const _0x4cf55b=_0x4d8b64,_0x5b7097=_0x5b7e80['params'][_0x4cf55b(0x227)],{pivotTableId:_0xd1094a,unitId:_0x2bd269,subUnitId:_0x5c42e1}=_0x5b7e80;if(!_0x5b7097)return;const _0x104817=_0x4312a4[_0x4cf55b(0x445)](_0x1f8e23[_0x4cf55b(0x267)]),_0x15f11e=_0x104817['getPivotTableInstance'](_0xd1094a),_0x27285b=_0x104817['getPivotTableConfig'](_0x2bd269,_0x5c42e1,_0xd1094a);if(!_0x15f11e||!_0x27285b)return;const _0x27b74e=_0x15f11e[_0x4cf55b(0x2b1)](_0x5b7097[_0x4cf55b(0x226)]);if(!(_0x27b74e!=null&&_0x27b74e[_0x4cf55b(0x2a7)]))return;const _0xc422f6=_0x27285b[_0x4cf55b(0x3b2)],{unitId:_0x4a64b8,subUnitId:_0x41d5ba,range:_0x585630}=_0xc422f6;let _0x126832=0x0;const _0x4b3e33=_0x15f11e[_0x4cf55b(0x3c4)]['getFieldIds']()[_0x4cf55b(0x31b)]((_0x1fbb6f,_0x3e3b37)=>{const _0x3b0786=_0x4cf55b;var _0x1a52db;const _0x2e836b=(_0x1a52db=_0x15f11e[_0x3b0786(0x41b)](_0x3e3b37))==null?void 0x0:_0x1a52db[_0x3b0786(0x458)]();return _0x2e836b&&(_0x1fbb6f[String(_0x126832)]=_0x2e836b),_0x126832++,_0x1fbb6f;},{});return{'indexes':_0x27b74e,'range':_0x585630,'sourceUnitId':_0x4a64b8,'sourceSubUnitId':_0x41d5ba,'formatMap':_0x4b3e33};}function _0x548a80(_0x44aaa1,_0x10e63e){const _0x18fa76=_0x4d8b64;if(!_0x44aaa1||!_0x10e63e)return!0x0;const _0x3ec137=_0x25d566[_0x18fa76(0x2c6)](_0xddf180,_0xf8499),_0x17a034=new Function('return\x20'+_0x3ec137)()(_0x44aaa1,_0x10e63e)[_0x18fa76(0x30d)],_0x436914=_0x25d566['isFeatureAuthorizedWithinTime'](_0x17a034,'sf',_0x99dbbb);return!((_0x17a034==null?void 0x0:_0x17a034['rt'])===_0x25d566[_0x18fa76(0x391)][_0x18fa76(0x3ec)]&&!_0x436914);}function _0xdf4962(_0x4cb897,_0x31ab23,_0x37aa5e){const _0x5bab70=_0x4d8b64,_0x145522={'count':_0x4cb897,'timeValid':!0x1};if(!_0x31ab23||!_0x37aa5e)return _0x145522;const _0x105e35=_0x25d566[_0x5bab70(0x2c6)](_0xddf180,_0xf8499),_0x5a222f=new Function('return\x20'+_0x105e35)()(_0x31ab23,_0x37aa5e);if(_0x5a222f!=null&&_0x5a222f[_0x5bab70(0x486)]){const _0x1a1c93=_0x5a222f['message'],_0x3abb29=_0x25d566[_0x5bab70(0x21e)](_0x1a1c93,'sf',_0x99dbbb);return{'count':_0x25d566[_0x5bab70(0x2af)](_0x1a1c93,_0x3abb29,'ptn',_0x4cb897,_0x4cb897,0x0),'timeValid':_0x3abb29};}return _0x145522;}function _0x5e4c48(_0x4a9895,_0x5d0828,_0x2b9715,_0x4c5388){const _0x3368b1=_0x4d8b64,_0x22f73c={'subUnitId':_0x2b9715,'unitId':_0x5d0828,'cellValue':_0x4ed168[_0x3368b1(0x438)](_0x4c5388)},_0x235efd=_0x4ed168[_0x3368b1(0x284)](_0x4a9895,_0x22f73c);let _0x1f65fb=!0x1;return new _0x3500ba[(_0x3368b1(0x4f9))](_0x235efd[_0x3368b1(0x4ac)])[_0x3368b1(0x21a)]((_0x26e1f9,_0x98823c,_0x11c7bf)=>{const _0x228ae6=_0x3368b1;if(!_0x1f65fb&&_0x11c7bf&&(_0x11c7bf[_0x228ae6(0x4d0)]||_0x11c7bf['f']||_0x11c7bf['p']||_0x11c7bf['s']||_0x11c7bf['si']||_0x11c7bf['t']||_0x11c7bf['v']))return _0x1f65fb=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x4ed168[_0x3368b1(0x453)]['id'],'params':_0x235efd},'setRangeValueRedoMutation':{'id':_0x4ed168[_0x3368b1(0x453)]['id'],'params':_0x22f73c},'shouldClear':_0x1f65fb};}function _0x165723(_0x57ce39){const {row:_0x5ee1bf,col:_0x3b55f1}=_0x57ce39,_0x1d3978={'startRow':_0x5ee1bf,'endRow':_0x5ee1bf,'startColumn':_0x3b55f1,'endColumn':_0x3b55f1},_0x4e3a86={'startRow':_0x5ee1bf+0x2,'endRow':_0x5ee1bf+0xe,'startColumn':_0x3b55f1,'endColumn':_0x3b55f1+0x6};return[_0x1d3978,_0x4e3a86];}function _0x4456f2(_0x1ce059,_0x11a443,_0x5b53e2){const _0x1d1278=_0x4d8b64,{cornerView:_0x460c39,rowView:_0x5de788,colView:_0x2d7b4d,pageView:_0x3e93e9}=_0x1ce059,{row:_0x93badb,col:_0x486015}=_0x11a443;if(_0x5b53e2)return{'rowCount':_0x32c77b+_0x93badb,'colCount':_0x39c98e+_0x486015};const _0x4f2541=_0x3e93e9[_0x1d1278(0x256)]>-0x1?_0x3e93e9[_0x1d1278(0x256)]+0x1:0x0,_0x472364=_0x3e93e9[_0x1d1278(0x378)]>-0x1?_0x3e93e9[_0x1d1278(0x378)]:0x0,_0x9b5147=_0x93badb+_0x4f2541+(_0x4f2541?0x1:0x0)+_0x460c39[_0x1d1278(0x420)]+_0x5de788[_0x1d1278(0x420)],_0x4ab1ce=_0x486015+_0x472364,_0x21e913=_0x486015+_0x460c39[_0x1d1278(0x34a)]+_0x2d7b4d[_0x1d1278(0x34a)],_0x570fab=Math[_0x1d1278(0x31a)](_0x4ab1ce,_0x21e913);return{'rowCount':_0x9b5147,'colCount':_0x570fab};}function _0x1888d8(_0x222d71,_0xe5660a,_0x3ef3ca,_0x5abea7){const _0x1c66ca=_0x4d8b64,{row:_0x3f5da8,col:_0x3980c3,unitId:_0xc668f6,subUnitId:_0x13c039}=_0x3ef3ca,_0x337cfd=_0x4456f2(_0xe5660a,{'row':_0x3f5da8,'col':_0x3980c3},_0x5abea7),_0x109d47=_0x222d71[_0x1c66ca(0x445)](_0x3500ba[_0x1c66ca(0x3c9)]),_0x3ed407=_0x4ed168[_0x1c66ca(0x3dc)](_0x109d47,{'unitId':_0xc668f6,'subUnitId':_0x13c039}),_0x4437b0=[],_0x14b028=[];if(!_0x3ed407)return{'undos':_0x14b028,'redos':_0x4437b0};const {worksheet:_0x1f098a}=_0x3ed407,_0x2c9bad=_0x1f098a['getRowCount'](),_0x11e8a9=_0x1f098a[_0x1c66ca(0x3f1)]();return _0x2c9bad<_0x337cfd[_0x1c66ca(0x420)]&&(_0x4437b0[_0x1c66ca(0x206)]({'id':_0x4ed168[_0x1c66ca(0x243)]['id'],'params':{'unitId':_0xc668f6,'subUnitId':_0x13c039,'range':{'startRow':_0x2c9bad,'endRow':_0x337cfd[_0x1c66ca(0x420)]-0x1,'startColumn':0x0,'endColumn':_0x11e8a9-0x1}}}),_0x14b028[_0x1c66ca(0x206)]({'id':_0x4ed168[_0x1c66ca(0x2cc)]['id'],'params':{'unitId':_0xc668f6,'subUnitId':_0x13c039,'range':{'startRow':_0x2c9bad,'endRow':_0x337cfd[_0x1c66ca(0x420)]-0x1,'startColumn':0x0,'endColumn':_0x11e8a9-0x1}}})),_0x11e8a9<_0x337cfd[_0x1c66ca(0x34a)]&&(_0x4437b0['push']({'id':_0x4ed168[_0x1c66ca(0x3e9)]['id'],'params':{'unitId':_0xc668f6,'subUnitId':_0x13c039,'range':{'startRow':0x0,'endRow':_0x2c9bad-0x1,'startColumn':_0x11e8a9,'endColumn':_0x337cfd[_0x1c66ca(0x34a)]-0x1}}}),_0x14b028[_0x1c66ca(0x206)]({'id':_0x4ed168[_0x1c66ca(0x29c)]['id'],'params':{'unitId':_0xc668f6,'subUnitId':_0x13c039,'range':{'startRow':0x0,'endRow':_0x2c9bad-0x1,'startColumn':_0x11e8a9,'endColumn':_0x337cfd[_0x1c66ca(0x34a)]-0x1}}})),{'undos':_0x14b028,'redos':_0x4437b0};}function _0x56113a(_0x3b2f46){const _0x2e986e=_0x4d8b64;let _0x26187f=0x0;for(let _0x180db0=0x0;_0x180db0<_0x3b2f46[_0x2e986e(0x2a7)];_0x180db0++){const _0x5522aa=_0x3b2f46[_0x2e986e(0x4df)](_0x180db0);_0x5522aa>=0x4e00&&_0x5522aa<=0x9fff||_0x5522aa>=0x3000&&_0x5522aa<=0x303f||_0x5522aa>=0xff00&&_0x5522aa<=0xffef?_0x26187f+=0x2:_0x26187f+=0x1;}return _0x26187f;}function _0x29737a(_0x382c2e,_0x28725a,_0x1a90eb,_0xb9977f){const _0x20f4da=_0x4d8b64;var _0x2f0211,_0x426779,_0x16efaa,_0x40bc47;const {rowCount:_0x18265a,colCount:_0x5296c7,headerMap:_0x20a2b1}=_0x382c2e,_0x3d099e=0x64,_0x4d720f=Math[_0x20f4da(0x4a3)](_0x18265a,_0x3d099e),_0x1f734b=Math[_0x20f4da(0x4a3)](_0x5296c7,_0x3d099e);let _0xadab50='',_0x585949=0x0;for(let _0x3a1ef6=0x0;_0x3a1ef6<_0x4d720f;_0x3a1ef6++)for(let _0x2460b5=0x0;_0x2460b5<_0x1f734b;_0x2460b5++){const _0x1ba770={...(_0x426779=(_0x2f0211=_0x382c2e[_0x20f4da(0x4ef)])==null?void 0x0:_0x2f0211[_0x3a1ef6])==null?void 0x0:_0x426779[_0x2460b5]},_0x524139=(_0x16efaa=_0x20a2b1[_0x3a1ef6])==null?void 0x0:_0x16efaa[_0x20f4da(0x34d)],_0x4a6940=_0xb9977f[_0x524139];let _0x6b6345=_0x382c2e[_0x20f4da(0x22b)](_0x3a1ef6,_0x2460b5);if(_0x1ba770){const _0x9d9625=_0x1a90eb?_0x2460b5===0x0&&((_0x40bc47=_0x382c2e[_0x20f4da(0x306)](_0x2460b5+0x1))==null?void 0x0:_0x40bc47[_0x20f4da(0x238)]):!0x1;_0x6b6345=_0x41bfc1(_0x1ba770,_0x9d9625,_0x4a6940,_0x28725a);}if(_0x6b6345!==void 0x0){const _0x2f3d68=_0x56113a(String(_0x6b6345));_0x585949<_0x2f3d68&&(_0xadab50=String(_0x6b6345),_0x585949=_0x2f3d68);}}return _0xadab50;}function _0x18c0b4(_0x377f08){const _0x36d485=_0x4d8b64,{rowCount:_0x25ba04,colCount:_0xd39c94}=_0x377f08;let _0x1fea16='',_0x5619ff=0x0;for(let _0x5e4209=_0x25ba04-0x1;_0x5e4209>0x0&&_0x5e4209>_0x25ba04-0x3;_0x5e4209--)for(let _0x13b13b=0x0;_0x13b13b<_0xd39c94;_0x13b13b++){const _0x41c705=_0x377f08['getValue'](_0x5e4209,_0x13b13b);if(_0x41c705!==void 0x0){const _0x50185f=String(_0x41c705)[_0x36d485(0x2a7)];_0x5619ff<_0x50185f&&(_0x1fea16=String(_0x41c705),_0x5619ff=_0x50185f);}}return _0x1fea16;}function _0x24a1a4(_0x37c1a7){const _0x2778a0=_0x4d8b64,{rowCount:_0x9a32f6,colCount:_0x3ad154}=_0x37c1a7;let _0x325fce='',_0x5debb2=0x0;for(let _0x4b1f8c=0x0;_0x4b1f8c<_0x9a32f6;_0x4b1f8c++)for(let _0x404266=0x0;_0x404266<_0x3ad154;_0x404266++){const _0x1c59ef=_0x37c1a7['getValue'](_0x4b1f8c,_0x404266);if(_0x1c59ef!==void 0x0){const _0x1163ca=String(_0x1c59ef)[_0x2778a0(0x2a7)];_0x5debb2<_0x1163ca&&(_0x325fce=String(_0x1c59ef),_0x5debb2=_0x1163ca);}}return _0x325fce;}function _0x3c148d(_0x3061bc,_0x4bf4f6){const _0x2e1187=_0x4d8b64,{rowFields:_0x2d8b6a,columnFields:_0x3a7fa9,valueFields:_0x6ae198,filterFields:_0x1e99f1,dimension:_0x1bf9ce,measure:_0x301684}=_0x4bf4f6;for(const _0xba0776 of _0x2d8b6a){const _0x5b1baf=_0x1bf9ce[_0xba0776];_0x5b1baf&&_0x3061bc[_0x2e1187(0x41b)](_0x5b1baf['dataFieldId'])&&(_0x3061bc['addFieldWithSourceId'](_0x5b1baf[_0x2e1187(0x1f8)],_0x2aa645['PivotTableFiledAreaEnum'][_0x2e1187(0x25a)],void 0x0,_0xba0776),_0x5b1baf[_0x2e1187(0x24e)]&&_0x3061bc[_0x2e1187(0x4f0)](_0x5b1baf['id'],_0x5b1baf[_0x2e1187(0x24e)]),_0x5b1baf[_0x2e1187(0x4e5)]&&_0x3061bc[_0x2e1187(0x4b8)](_0x5b1baf['id'],_0x5b1baf[_0x2e1187(0x4e5)]),_0x5b1baf[_0x2e1187(0x425)]&&_0x3061bc['setLabelFilterInfo'](_0x5b1baf['id'],_0x5b1baf[_0x2e1187(0x425)]));}for(const _0x29f4b0 of _0x3a7fa9){const _0x3e556e=_0x1bf9ce[_0x29f4b0];_0x3e556e&&_0x3061bc[_0x2e1187(0x41b)](_0x3e556e[_0x2e1187(0x1f8)])&&(_0x3061bc[_0x2e1187(0x33c)](_0x3e556e[_0x2e1187(0x1f8)],_0x2aa645[_0x2e1187(0x364)][_0x2e1187(0x44b)],void 0x0,_0x29f4b0),_0x3e556e[_0x2e1187(0x4e5)]&&_0x3061bc[_0x2e1187(0x4b8)](_0x3e556e['id'],_0x3e556e['sortInfo']),_0x3e556e[_0x2e1187(0x425)]&&_0x3061bc[_0x2e1187(0x1f2)](_0x3e556e['id'],_0x3e556e[_0x2e1187(0x425)]),_0x3e556e[_0x2e1187(0x24e)]&&_0x3061bc['renameField'](_0x3e556e['id'],_0x3e556e[_0x2e1187(0x24e)]));}for(const _0xae47d8 of _0x1e99f1){const _0xc55352=_0x1bf9ce[_0xae47d8];_0xc55352&&_0x3061bc[_0x2e1187(0x41b)](_0xc55352[_0x2e1187(0x1f8)])&&(_0x3061bc['addFieldWithSourceId'](_0xc55352[_0x2e1187(0x1f8)],_0x2aa645['PivotTableFiledAreaEnum'][_0x2e1187(0x2c5)],void 0x0,_0xae47d8),_0xc55352['sortInfo']&&_0x3061bc[_0x2e1187(0x4b8)](_0xc55352['id'],_0xc55352[_0x2e1187(0x4e5)]),_0xc55352['filterInfo']&&_0x3061bc[_0x2e1187(0x1f2)](_0xc55352['id'],_0xc55352[_0x2e1187(0x425)]),_0xc55352[_0x2e1187(0x24e)]&&_0x3061bc[_0x2e1187(0x4f0)](_0xc55352['id'],_0xc55352[_0x2e1187(0x24e)]));}for(const _0x308602 of _0x6ae198){const _0x21ac6d=_0x301684[_0x308602];_0x21ac6d&&_0x3061bc['getDataFieldByDataFieldId'](_0x21ac6d[_0x2e1187(0x1f8)])&&(_0x3061bc['addFieldWithSourceId'](_0x21ac6d[_0x2e1187(0x1f8)],_0x2aa645[_0x2e1187(0x364)][_0x2e1187(0x375)],void 0x0,_0x308602),_0x21ac6d[_0x2e1187(0x3cd)]!==void 0x0&&_0x3061bc['setSubtotalType'](_0x308602,_0x21ac6d[_0x2e1187(0x3cd)]),_0x21ac6d[_0x2e1187(0x2de)]&&_0x3061bc[_0x2e1187(0x333)](_0x308602,_0x21ac6d[_0x2e1187(0x2de)]),_0x21ac6d[_0x2e1187(0x24e)]&&_0x3061bc[_0x2e1187(0x4f0)](_0x21ac6d['id'],_0x21ac6d['displayName']));}const _0x5c1797=_0x4bf4f6['valueFilter'];for(const {fieldId:_0x54320f,filterInfo:_0x41f6d6}of _0x5c1797)_0x3061bc['setValueFilterInfo'](_0x54320f,_0x41f6d6);}function _0x5cf5f7(_0x12bb23,_0x489dc6){const _0x209135=_0x4d8b64,_0x2167e7=[];_0x489dc6===_0x2aa645[_0x209135(0x364)][_0x209135(0x25a)]&&_0x12bb23[_0x209135(0x3fb)](_0x2aa645[_0x209135(0x364)][_0x209135(0x25a)],_0x3043b2=>{const _0x41247c=_0x209135;_0x2167e7[_0x41247c(0x206)](_0x3043b2[_0x41247c(0x2be)]());}),_0x489dc6===_0x2aa645[_0x209135(0x364)][_0x209135(0x44b)]&&_0x12bb23[_0x209135(0x3fb)](_0x2aa645[_0x209135(0x364)]['Column'],_0x1e913f=>{const _0x1cd727=_0x209135;_0x2167e7[_0x1cd727(0x206)](_0x1e913f[_0x1cd727(0x2be)]());}),_0x489dc6===_0x2aa645[_0x209135(0x364)][_0x209135(0x2c5)]&&_0x12bb23[_0x209135(0x3fb)](_0x2aa645[_0x209135(0x364)]['Filter'],_0x4dfaf8=>{const _0x2e074a=_0x209135;_0x2167e7['push'](_0x4dfaf8[_0x2e074a(0x2be)]());}),_0x489dc6===_0x2aa645[_0x209135(0x364)][_0x209135(0x375)]&&_0x12bb23[_0x209135(0x3fb)](_0x2aa645[_0x209135(0x364)][_0x209135(0x375)],_0x219ac1=>{const _0x1b87f2=_0x209135;_0x2167e7[_0x1b87f2(0x206)](_0x219ac1['getId']());}),_0x489dc6===void 0x0&&_0x12bb23[_0x209135(0x251)](_0x1625a6=>{const _0x1e932c=_0x209135;_0x2167e7[_0x1e932c(0x206)](_0x1625a6[_0x1e932c(0x2be)]());});const _0x31a10a=_0x2167e7[_0x209135(0x2a7)];for(let _0x1b6b30=_0x31a10a-0x1;_0x1b6b30>=0x0;_0x1b6b30--)_0x12bb23[_0x209135(0x271)](_0x2167e7[_0x1b6b30]);const _0xf73516=_0x12bb23[_0x209135(0x4cf)]();for(const _0x6232cc in _0xf73516)_0x12bb23[_0x209135(0x4f5)](_0x6232cc);}function _0x572c40(_0x15e887,_0x573bde){const _0x4529f5=_0x4d8b64,_0xd801e4=new Date(_0x2aa645[_0x4529f5(0x49e)](_0x573bde)),_0x28f0dd=new Date(_0x2aa645[_0x4529f5(0x49e)](_0x15e887)),_0x12b999=_0xd801e4[_0x4529f5(0x2ab)](),_0x4364cc=_0x28f0dd[_0x4529f5(0x2ab)](),_0x258a57=_0xd801e4[_0x4529f5(0x273)](),_0x3a0659=_0x28f0dd[_0x4529f5(0x273)](),_0x44a369=_0xd801e4[_0x4529f5(0x311)](),_0x3362c1=_0x28f0dd['getDate'](),_0x440fa9=_0x12b999===_0x4364cc,_0x4a4f30=_0x440fa9&&_0x258a57===_0x3a0659;return _0x440fa9&&_0x4a4f30&&!(_0x4a4f30&&_0x44a369===_0x3362c1)?_0x2aa645[_0x4529f5(0x2fc)][_0x4529f5(0x286)]:_0x440fa9&&!_0x4a4f30?_0x2aa645[_0x4529f5(0x2fc)][_0x4529f5(0x3de)]:_0x2aa645[_0x4529f5(0x2fc)][_0x4529f5(0x341)];}function _0x51607e(_0xd00353,_0x1b5976){const _0x410341=_0x4d8b64,_0x1308e4=_0xd00353['get'](_0x1f8e23['SheetsPivotDataSourceModel'])[_0x410341(0x4ec)]();let _0x29e99b='';switch(_0x1b5976){case _0x2aa645[_0x410341(0x2fc)]['YearMonthDate']:_0x29e99b=_0x1308e4[_0x410341(0x22d)];break;case _0x2aa645[_0x410341(0x2fc)]['YearMonth']:_0x29e99b=_0x1308e4[_0x410341(0x30f)];break;case _0x2aa645['PivotDateGroupFieldDateTypeEnum']['Year']:_0x29e99b=_0x1308e4[_0x410341(0x362)];break;case _0x2aa645['PivotDateGroupFieldDateTypeEnum'][_0x410341(0x490)]:_0x29e99b=_0x1308e4[_0x410341(0x328)];break;case _0x2aa645[_0x410341(0x2fc)][_0x410341(0x291)]:_0x29e99b=_0x1308e4[_0x410341(0x28a)];break;case _0x2aa645[_0x410341(0x2fc)][_0x410341(0x2fa)]:_0x29e99b=_0x1308e4['sheets-pivot.dateGroup.date'];break;case _0x2aa645[_0x410341(0x2fc)]['HourMinute']:_0x29e99b=_0x1308e4['sheets-pivot.dateGroup.hourMinute'];break;case _0x2aa645[_0x410341(0x2fc)]['Hour']:_0x29e99b=_0x1308e4[_0x410341(0x4e7)];break;case _0x2aa645[_0x410341(0x2fc)][_0x410341(0x319)]:_0x29e99b=_0x1308e4[_0x410341(0x4b6)];break;case _0x2aa645['PivotDateGroupFieldDateTypeEnum']['MonthDate']:_0x29e99b=_0x1308e4[_0x410341(0x470)];break;case _0x2aa645['PivotDateGroupFieldDateTypeEnum'][_0x410341(0x2e5)]:_0x29e99b=_0x1308e4[_0x410341(0x309)];break;default:_0x29e99b='';break;}return _0x29e99b;}const _0x38a895=_0x4d8b64(0x3d7),_0x5675cf={};var _0x12540c=Object['getOwnPropertyDescriptor'],_0x1a7cd6=(_0x574315,_0x2f6729,_0xacd4f0,_0x56299b)=>{const _0x2287d1=_0x4d8b64;for(var _0x26a43e=_0x56299b>0x1?void 0x0:_0x56299b?_0x12540c(_0x2f6729,_0xacd4f0):_0x2f6729,_0x3f9f53=_0x574315[_0x2287d1(0x2a7)]-0x1,_0x348761;_0x3f9f53>=0x0;_0x3f9f53--)(_0x348761=_0x574315[_0x3f9f53])&&(_0x26a43e=_0x348761(_0x26a43e)||_0x26a43e);return _0x26a43e;},_0x2a51e5=(_0x597772,_0x3eb9c3)=>(_0x13664d,_0x31fa1a)=>_0x3eb9c3(_0x13664d,_0x31fa1a,_0x597772);_0x1f8e23[_0x4d8b64(0x2e0)]=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x19327c,_0xdce961,_0x525867,_0x1fdc55,_0x3ba857){const _0x3a281f=_0x4d8b64;super(),_0x47b9ba(this,_0x3a281f(0x23f),new Map()),_0x47b9ba(this,'_collectionConfigModel',new Map()),_0x47b9ba(this,_0x3a281f(0x3ae),new Map()),_0x47b9ba(this,_0x3a281f(0x1fe),new Map()),_0x47b9ba(this,_0x3a281f(0x2a1),new _0x6c47f7['Subject']()),_0x47b9ba(this,_0x3a281f(0x4c9),new _0x6c47f7[(_0x3a281f(0x471))]()),_0x47b9ba(this,_0x3a281f(0x26a),this[_0x3a281f(0x4c9)]['asObservable']()),_0x47b9ba(this,_0x3a281f(0x2ea),new _0x6c47f7[(_0x3a281f(0x471))]()),_0x47b9ba(this,_0x3a281f(0x359),this['_pivotConfigChange$'][_0x3a281f(0x44e)]()),_0x47b9ba(this,'_textInfo',{}),_0x47b9ba(this,'configVersion$',this[_0x3a281f(0x2a1)][_0x3a281f(0x44e)]()),(this['_injector']=_0x19327c,this[_0x3a281f(0x249)]=_0xdce961,this[_0x3a281f(0x49a)]=_0x525867,this[_0x3a281f(0x36e)]=_0x1fdc55,this[_0x3a281f(0x200)]=_0x3ba857,this[_0x3a281f(0x35f)](),this[_0x3a281f(0x30c)]());const _0x2e74c4=this[_0x3a281f(0x200)][_0x3a281f(0x4c6)](_0x38a895);(_0x2e74c4==null?void 0x0:_0x2e74c4['notExecuteFormula'])===!0x0&&this[_0x3a281f(0x4b1)]();}[_0x4d8b64(0x30c)](){const _0x597b14=_0x4d8b64;this[_0x597b14(0x344)](this[_0x597b14(0x49a)][_0x597b14(0x3f2)](_0x3500ba[_0x597b14(0x2f0)][_0x597b14(0x42b)])[_0x597b14(0x3c7)](_0x3bee20=>{const _0x4d3595=_0x597b14;this[_0x4d3595(0x3db)](_0x3bee20[_0x4d3595(0x208)]());}));}[_0x4d8b64(0x3a9)](){const _0x343563=_0x4d8b64;this['_pivotInitCompleted$'][_0x343563(0x35a)](!0x0);}[_0x4d8b64(0x35f)](){const _0x157cb7=_0x4d8b64,_0x288e2a=_0x32fe0c(this['_injector'],_0x10daa6,'',{});this[_0x157cb7(0x29a)]=_0x288e2a,this[_0x157cb7(0x249)]['executeCommand'](_0xa61830['id'],{'textInfo':_0x288e2a},{'onlyLocal':!0x0});}[_0x4d8b64(0x4ec)](){const _0x4870ea=_0x4d8b64;return this[_0x4870ea(0x29a)];}[_0x4d8b64(0x455)](_0x34dda0,_0x539aa2,_0x4ca5d8,_0x3aa35d,_0x38ac2d){const _0x30262e=_0x4d8b64;this[_0x30262e(0x3fe)](_0x34dda0,_0x539aa2,_0x4ca5d8,_0x3aa35d),this[_0x30262e(0x489)](_0x34dda0,_0x539aa2,_0x4ca5d8,_0x38ac2d);}[_0x4d8b64(0x315)](_0x2c0aa4,_0x55902b,_0x4c6659){const _0x1b1b33=_0x4d8b64;var _0x25088e;const _0x3d9dd4=(_0x25088e=this[_0x1b1b33(0x23f)][_0x1b1b33(0x445)](_0x2c0aa4))==null?void 0x0:_0x25088e[_0x1b1b33(0x445)](_0x55902b);if(_0x3d9dd4)return _0x3d9dd4[_0x1b1b33(0x445)](_0x4c6659);}[_0x4d8b64(0x345)](_0x13d6b5,_0x26b71b){const _0x5488ea=_0x4d8b64,_0x5da80c=this['_model'][_0x5488ea(0x445)](_0x13d6b5);if(_0x5da80c){for(const [_0x3bf591,_0x2c7889]of _0x5da80c[_0x5488ea(0x229)]())for(const [_0x4999bb,_0x384d36]of _0x2c7889['entries']())if(_0x4999bb===_0x26b71b)return _0x384d36[_0x5488ea(0x32a)];}}['getTargetByPivotId'](_0x1c492f,_0x4657fd,_0x173d2b){const _0x3c49e3=_0x4d8b64,_0xcdc443=this['getPivotTableConfig'](_0x1c492f,_0x4657fd,_0x173d2b);return _0xcdc443==null?void 0x0:_0xcdc443[_0x3c49e3(0x32a)];}[_0x4d8b64(0x3af)](_0x256790,_0x17851c){const _0x5cb1c6=_0x4d8b64;var _0x202db2;return(_0x202db2=this[_0x5cb1c6(0x23f)]['get'](_0x256790))==null?void 0x0:_0x202db2[_0x5cb1c6(0x445)](_0x17851c);}['updateConfigCache'](_0x3929c5,_0x149db9,_0x4b0775,_0x3a370d){const _0x5ac4d4=_0x4d8b64,_0x131e32=this[_0x5ac4d4(0x266)](_0x3929c5,_0x149db9);_0x3a370d?_0x131e32[_0x5ac4d4(0x279)](_0x4b0775,_0x3a370d):_0x131e32[_0x5ac4d4(0x408)](_0x4b0775),this[_0x5ac4d4(0x2ea)][_0x5ac4d4(0x35a)]({'unitId':_0x3929c5,'subUnitId':_0x149db9,'pivotTableId':_0x4b0775,'pivotTableConfig':_0x3a370d});}[_0x4d8b64(0x2d9)](_0x36922a,_0x393a8e){const _0x58f216=_0x4d8b64;var _0x3c724b;return(_0x3c724b=this[_0x58f216(0x422)]['get'](_0x36922a))==null?void 0x0:_0x3c724b['collections'][_0x393a8e];}[_0x4d8b64(0x2a2)](_0x202b48,_0x1e250e){const _0x2a3bec=_0x4d8b64;this[_0x2a3bec(0x422)][_0x2a3bec(0x279)](_0x202b48,_0x1e250e),this['_configVersion$']['next'](Math[_0x2a3bec(0x405)]());}['_ensurePivotMap'](_0x5b6096,_0x105050){const _0x52c7e0=_0x4d8b64;let _0x33cb88=this['_model']['get'](_0x5b6096);_0x33cb88||(_0x33cb88=new Map(),this[_0x52c7e0(0x23f)][_0x52c7e0(0x279)](_0x5b6096,_0x33cb88));let _0x2744ff=_0x33cb88[_0x52c7e0(0x445)](_0x105050);return _0x2744ff||(_0x2744ff=new Map(),_0x33cb88[_0x52c7e0(0x279)](_0x105050,_0x2744ff)),_0x2744ff;}[_0x4d8b64(0x3fa)](_0x3e120a,_0x45aae0){const _0x33507b=_0x4d8b64;let _0x2915e0=this[_0x33507b(0x3ae)][_0x33507b(0x445)](_0x3e120a);_0x2915e0||(_0x2915e0=new Map(),this[_0x33507b(0x3ae)][_0x33507b(0x279)](_0x3e120a,_0x2915e0));let _0x1883cd=_0x2915e0['get'](_0x45aae0);return _0x1883cd||(_0x1883cd=new Map(),_0x2915e0[_0x33507b(0x279)](_0x45aae0,_0x1883cd)),_0x1883cd;}[_0x4d8b64(0x1f9)](_0x5c11db,_0x49d4c3){const _0x57d95f=_0x4d8b64;let _0x444619=this['_pivotTableMatrixInfo']['get'](_0x5c11db);_0x444619||(_0x444619=new Map(),this[_0x57d95f(0x1fe)][_0x57d95f(0x279)](_0x5c11db,_0x444619));let _0x1d0c15=_0x444619[_0x57d95f(0x445)](_0x49d4c3);return _0x1d0c15||(_0x1d0c15=new Map(),_0x444619[_0x57d95f(0x279)](_0x49d4c3,_0x1d0c15)),_0x1d0c15;}[_0x4d8b64(0x489)](_0x3a9d34,_0x34531c,_0x10fd3f,_0x6b444){const _0xd43947=_0x4d8b64;var _0x1b656b;const _0x33240d=this[_0xd43947(0x3fa)](_0x3a9d34,_0x34531c),_0x842b90=(_0x1b656b=_0x33240d['get'](_0x10fd3f))==null?void 0x0:_0x1b656b[_0xd43947(0x468)];_0x33240d['set'](_0x10fd3f,{'oldRangeInfo':_0x842b90,'rangeInfo':_0x6b444});}[_0x4d8b64(0x3fe)](_0x66d03c,_0x4ceef4,_0x503111,_0x353aab){const _0x2d0875=_0x4d8b64;var _0x596c10;const _0x1390a3=this[_0x2d0875(0x1f9)](_0x66d03c,_0x4ceef4),_0x215b4d=(_0x596c10=_0x1390a3['get'](_0x503111))==null?void 0x0:_0x596c10['oldMatrix'];_0x1390a3[_0x2d0875(0x279)](_0x503111,{'oldMatrix':_0x215b4d,'matrix':_0x353aab});}[_0x4d8b64(0x36c)](_0x5af089,_0x46464f,_0x2c3b39){const _0x106064=_0x4d8b64;var _0x5ef0f2,_0xddbf48;return(_0xddbf48=(_0x5ef0f2=this['_pivotTableRangeInfo']['get'](_0x5af089))==null?void 0x0:_0x5ef0f2[_0x106064(0x445)](_0x46464f))==null?void 0x0:_0xddbf48[_0x106064(0x445)](_0x2c3b39);}[_0x4d8b64(0x2df)](_0x1a6bd3,_0x1cb7a4,_0x55af95){const _0x705171=_0x4d8b64;var _0x1e5510,_0x1a859c;return(_0x1a859c=(_0x1e5510=this[_0x705171(0x1fe)][_0x705171(0x445)](_0x1a6bd3))==null?void 0x0:_0x1e5510[_0x705171(0x445)](_0x1cb7a4))==null?void 0x0:_0x1a859c[_0x705171(0x445)](_0x55af95);}[_0x4d8b64(0x3db)](_0x7da9ee){const _0x543a7b=_0x4d8b64;this[_0x543a7b(0x23f)][_0x543a7b(0x408)](_0x7da9ee),this[_0x543a7b(0x422)][_0x543a7b(0x408)](_0x7da9ee);}[_0x4d8b64(0x301)](_0x269345){const _0x176266=_0x4d8b64,_0x1c4224={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x176266(0x445)](_0x269345)&&(_0x1c4224[_0x176266(0x49b)][_0x269345]=this[_0x176266(0x422)][_0x176266(0x445)](_0x269345)),this[_0x176266(0x23f)][_0x176266(0x445)](_0x269345)){_0x1c4224[_0x176266(0x2b5)][_0x269345]={};const _0x40f187=this[_0x176266(0x23f)]['get'](_0x269345);_0x40f187!=null&&_0x40f187[_0x176266(0x3c1)]&&[..._0x40f187[_0x176266(0x27f)]()]['forEach'](_0x4a3f79=>{const _0x37972d=_0x176266,_0x1bc891=_0x40f187[_0x37972d(0x445)](_0x4a3f79);_0x1bc891!=null&&_0x1bc891[_0x37972d(0x3c1)]&&(_0x1c4224['pivotTableConfigs'][_0x269345][_0x4a3f79]={},[..._0x1bc891[_0x37972d(0x27f)]()]['forEach'](_0x4295a6=>{const _0x491673=_0x37972d,_0x1f98a8=_0x1bc891[_0x491673(0x445)](_0x4295a6);_0x1f98a8&&(_0x1c4224[_0x491673(0x2b5)][_0x269345][_0x4a3f79][_0x4295a6]=_0x1f98a8);}));});}return _0x1c4224;}[_0x4d8b64(0x4b1)](){const _0x10fa83=_0x4d8b64;this[_0x10fa83(0x344)](this[_0x10fa83(0x36e)][_0x10fa83(0x1fa)]({'toJson':_0x327ac7=>JSON[_0x10fa83(0x3c6)](this[_0x10fa83(0x301)](_0x327ac7)),'parseJson':_0x550dfa=>({}),'businesses':[_0x3500ba[_0x10fa83(0x2f0)][_0x10fa83(0x42b)]],'pluginName':_0x3aabed,'onLoad':(_0x3db799,_0x4328f1)=>{},'onUnLoad':_0x263261=>{const _0x5ee4dc=_0x10fa83;this[_0x5ee4dc(0x3db)](_0x263261);}}));}},_0x1f8e23['SheetsPivotTableConfigModel']=_0x1a7cd6([_0x2a51e5(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x318)])),_0x2a51e5(0x1,_0x3500ba['Inject'](_0x3500ba[_0x4d8b64(0x496)])),_0x2a51e5(0x2,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x3c9)])),_0x2a51e5(0x3,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x465)])),_0x2a51e5(0x4,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x38d)]))],_0x1f8e23[_0x4d8b64(0x2e0)]);var _0x1fd466=Object[_0x4d8b64(0x302)],_0x3909be=(_0x18b9f1,_0x173dab,_0x55e038,_0x28081f)=>{for(var _0x2983e5=_0x28081f>0x1?void 0x0:_0x28081f?_0x1fd466(_0x173dab,_0x55e038):_0x173dab,_0x2bf075=_0x18b9f1['length']-0x1,_0x5a4e48;_0x2bf075>=0x0;_0x2bf075--)(_0x5a4e48=_0x18b9f1[_0x2bf075])&&(_0x2983e5=_0x5a4e48(_0x2983e5)||_0x2983e5);return _0x2983e5;},_0x30c36a=(_0x29fcfe,_0x4bc8d3)=>(_0x3cf5c3,_0xc3a950)=>_0x4bc8d3(_0x3cf5c3,_0xc3a950,_0x29fcfe);_0x1f8e23[_0x4d8b64(0x39c)]=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x2c013c,_0x560c2a,_0x160769,_0x4a6e56,_0x311f0d){const _0x583e12=_0x4d8b64;super(),_0x47b9ba(this,_0x583e12(0x33d),new Map()),_0x47b9ba(this,_0x583e12(0x2d6),new Map()),_0x47b9ba(this,_0x583e12(0x3b8),new _0x6c47f7[(_0x583e12(0x471))]()),_0x47b9ba(this,'markDirty$',this[_0x583e12(0x3b8)][_0x583e12(0x44e)]()),_0x47b9ba(this,_0x583e12(0x1ef),new _0x6c47f7[(_0x583e12(0x471))]()),_0x47b9ba(this,_0x583e12(0x416),this[_0x583e12(0x1ef)][_0x583e12(0x44e)]()),_0x47b9ba(this,_0x583e12(0x29a)),(this['_localeService']=_0x2c013c,this[_0x583e12(0x353)]=_0x560c2a,this['_sheetsPivotTableConfigModel']=_0x160769,this['_univerInstanceService']=_0x4a6e56,this['_exclusiveRangeService']=_0x311f0d,this[_0x583e12(0x35f)](),this[_0x583e12(0x30c)]());}[_0x4d8b64(0x30c)](){const _0x29e291=_0x4d8b64;this[_0x29e291(0x344)](this[_0x29e291(0x49a)][_0x29e291(0x3f2)](_0x3500ba['UniverInstanceType']['UNIVER_SHEET'])[_0x29e291(0x3c7)](_0x48cb64=>{const _0x215635=_0x29e291;this[_0x215635(0x3db)](_0x48cb64[_0x215635(0x208)]());}));}[_0x4d8b64(0x35f)](){const _0x459674=_0x4d8b64;this[_0x459674(0x29a)]=_0x32fe0c(this[_0x459674(0x353)],_0x10daa6,'',{});}[_0x4d8b64(0x1ec)](_0x2a611a){const _0xbd20a3=_0x4d8b64,{view:_0x4f3154,unitId:_0x329e49,subUnitId:_0x381265,pivotTableId:_0x488e43,type:_0x2cd797}=_0x2a611a,_0x5ee7ec=this[_0xbd20a3(0x205)][_0xbd20a3(0x315)](_0x329e49,_0x381265,_0x488e43);if(!_0x4f3154||!_0x5ee7ec||_0x2cd797===_0x12b936['Delete'])return;const {pageView:_0x50f5cc,cornerView:_0x3d9db2,rowView:_0x3c5a7f,colView:_0x49ce3b,dataView:_0x604316}=_0x4f3154,_0x50f693=_0x5ee7ec['targetCellInfo'],_0x251407=_0x5ee7ec[_0xbd20a3(0x233)],_0x55a2d6=this['_ensurePivotItemRenderValueMatrixCache'](_0x329e49,_0x381265),_0x333067=this['_ensurePivotItemRenderInfoCache'](_0x329e49,_0x381265,_0x488e43);if(_0x251407)return this['_updateRenderEmptyCache'](_0x2a611a,_0x55a2d6,_0x50f693,_0x333067);{const _0x4a5444=_0x2c1f25(_0x50f693,_0x50f5cc,!0x0),_0x3aa951=_0x50f5cc[_0xbd20a3(0x256)]>=0x0?_0x50f5cc[_0xbd20a3(0x256)]+0x1:0x0,_0x101f7b=_0x3d9db2['getRowCount'](),_0x35ef15=_0x3d9db2[_0xbd20a3(0x310)](),_0x4fefd4=_0x4a5444['length']>0x0?_0x539291:0x0,_0x5b6918=_0x2c1f25({'row':_0x50f693[_0xbd20a3(0x365)]+_0x3aa951+_0x4fefd4,'col':_0x50f693[_0xbd20a3(0x381)]},_0x3d9db2,!0x1,!0x1),_0xd08247=_0x2c1f25({'row':_0x50f693[_0xbd20a3(0x365)]+_0x3aa951+_0x4fefd4+_0x101f7b,'col':_0x50f693[_0xbd20a3(0x381)]},_0x3c5a7f,!0x1,!0x0),_0x144e4c=_0x2c1f25({'row':_0x50f693['row']+_0x3aa951+_0x4fefd4,'col':_0x50f693[_0xbd20a3(0x381)]+_0x35ef15},_0x49ce3b,!0x1,!0x0),_0x4f0350=_0x2c1f25({'row':_0x50f693['row']+_0x3aa951+_0x4fefd4+_0x101f7b,'col':_0x50f693[_0xbd20a3(0x381)]+_0x35ef15},_0x604316,!0x1,!0x1);_0x333067[_0xbd20a3(0x4c4)]={'rowRanges':_0xd08247,'colRanges':_0x144e4c,'cornerRanges':_0x5b6918,'dataRanges':_0x4f0350,'pageRanges':_0x4a5444};const _0x2e701e=_0x47d256(this[_0xbd20a3(0x353)],_0x4f3154,_0x5ee7ec,this[_0xbd20a3(0x29a)]),{valueMatrix:_0x2f8b06,rowInfo:_0x590353,colInfo:_0x20b73a,cornerInfo:_0x5adf77,rowHeaderMap:_0x154f3a,colHeaderMap:_0x1606b3}=_0x2e701e;return _0x333067[_0xbd20a3(0x32f)]={'rowInfo':_0x590353,'colInfo':_0x20b73a,'cornerInfo':_0x5adf77},_0x333067['headerMap']={'rowHeaderMap':_0x154f3a,'colHeaderMap':_0x1606b3},_0x2f8b06[_0xbd20a3(0x325)]((_0x11e194,_0x8c2df9)=>{const _0x555810=_0xbd20a3;Object[_0x555810(0x27f)](_0x8c2df9)['forEach'](_0x17fc9d=>{const _0x3938b5=_0x555810,_0x145413=+_0x17fc9d,_0x343350=_0x2f8b06[_0x3938b5(0x22b)](_0x11e194,_0x145413);_0x55a2d6[_0x3938b5(0x28c)](_0x11e194,_0x145413,_0x343350);});}),this[_0xbd20a3(0x1ef)][_0xbd20a3(0x35a)]({'unitId':_0x329e49,'subUnitId':_0x381265,'valueMatrix':_0x55a2d6,'rangesCache':_0x333067[_0xbd20a3(0x4c4)],'pivotTableId':_0x488e43,'type':_0x2a611a[_0xbd20a3(0x3cb)]}),this['_sheetsPivotTableConfigModel'][_0xbd20a3(0x455)](_0x329e49,_0x381265,_0x488e43,_0x55a2d6,_0x333067[_0xbd20a3(0x4c4)]),this[_0xbd20a3(0x2bb)][_0xbd20a3(0x298)](_0x329e49,_0x381265,_0x79315d,this[_0xbd20a3(0x4d2)](_0x333067[_0xbd20a3(0x4c4)],_0x488e43)),{'rangeCache':_0x333067[_0xbd20a3(0x4c4)],'matrix':_0x55a2d6};}}['_updateRenderEmptyCache'](_0x14a282,_0x4ae1d9,_0x4f5323,_0xb5c2c0){const _0x192ba5=_0x4d8b64,_0x4a8ff9=this['_localeService']['t'],{unitId:_0xace213,subUnitId:_0x24fb3d,pivotTableId:_0x2d9d24}=_0x14a282,_0x27b10a={'filter':_0x4a8ff9('sheets-pivot.emptyPivot.filter'),'row':_0x4a8ff9(_0x192ba5(0x3d3)),'column':_0x4a8ff9(_0x192ba5(0x214)),'values':_0x4a8ff9('sheets-pivot.emptyPivot.values')},{matrixCache:_0x4ab1a3,rangesCache:_0x56d33f}=_0x190f48(_0x27b10a,_0x4f5323);return _0x4ab1a3['forValue']((_0x571a80,_0x59aafb,_0x17165f)=>{_0x4ae1d9['setValue'](_0x571a80,_0x59aafb,_0x17165f);}),_0xb5c2c0[_0x192ba5(0x4c4)]=_0x56d33f,this[_0x192ba5(0x1ef)][_0x192ba5(0x35a)]({'unitId':_0xace213,'subUnitId':_0x24fb3d,'valueMatrix':_0x4ae1d9,'rangesCache':_0x56d33f,'pivotTableId':_0x2d9d24,'type':_0x14a282[_0x192ba5(0x3cb)],'isEmpty':!0x0}),this[_0x192ba5(0x205)][_0x192ba5(0x455)](_0xace213,_0x24fb3d,_0x2d9d24,_0x4ae1d9,_0x56d33f),this['_exclusiveRangeService']['addExclusiveRange'](_0xace213,_0x24fb3d,_0x79315d,this[_0x192ba5(0x4d2)](_0x56d33f,_0x2d9d24)),{'rangeCache':_0xb5c2c0[_0x192ba5(0x4c4)],'matrix':_0x4ae1d9};}['_createExclusiveRange'](_0x11dbf4,_0x5b1504){const _0x5f5b59=_0x4d8b64,_0x36c71c=[],_0x468a3a=_0x9ad3ed(_0x11dbf4);for(const _0xc0d9a2 of _0x468a3a)_0x36c71c[_0x5f5b59(0x206)]({'groupId':_0x5b1504,'range':_0xc0d9a2});return _0x36c71c;}[_0x4d8b64(0x3f0)](_0x12ad93){const _0x42dc0b=_0x4d8b64;var _0x202809,_0x46ffe2,_0x2526ec,_0x4b42e1;const {pivotTableId:_0x29b818,unitId:_0x865d37,subUnitId:_0x211500}=_0x12ad93;if(!_0x29b818||!_0x865d37||!_0x211500)return;const _0x5540a5=this['_ensurePivotItemRenderValueMatrixCache'](_0x865d37,_0x211500),_0x1bcbf3=(_0x46ffe2=(_0x202809=this[_0x42dc0b(0x33d)]['get'](_0x865d37))==null?void 0x0:_0x202809[_0x42dc0b(0x445)](_0x211500))==null?void 0x0:_0x46ffe2[_0x42dc0b(0x445)](_0x29b818);if(_0x1bcbf3!=null&&_0x1bcbf3['rangesInfo']){for(const _0x32305d of Object[_0x42dc0b(0x27f)](_0x1bcbf3['rangesInfo']))_0x1bcbf3['rangesInfo'][_0x32305d]['forEach'](_0x2b43c0=>{const _0x4c2555=_0x42dc0b;for(let _0x3e3ea6=_0x2b43c0[_0x4c2555(0x4cb)];_0x3e3ea6<=_0x2b43c0[_0x4c2555(0x367)];_0x3e3ea6++)for(let _0xa7d354=_0x2b43c0[_0x4c2555(0x4ca)];_0xa7d354<=_0x2b43c0['endColumn'];_0xa7d354++)_0x5540a5['realDeleteValue'](_0x3e3ea6,_0xa7d354);});}_0x1bcbf3&&((_0x4b42e1=(_0x2526ec=this[_0x42dc0b(0x33d)][_0x42dc0b(0x445)](_0x865d37))==null?void 0x0:_0x2526ec[_0x42dc0b(0x445)](_0x211500))==null||_0x4b42e1[_0x42dc0b(0x408)](_0x29b818)),this[_0x42dc0b(0x1ef)][_0x42dc0b(0x35a)]({'unitId':_0x865d37,'subUnitId':_0x211500,'valueMatrix':_0x5540a5,'pivotTableId':_0x29b818,'rangesCache':void 0x0,'type':_0x12ad93['type']}),this[_0x42dc0b(0x2bb)][_0x42dc0b(0x20e)](_0x865d37,_0x211500,_0x79315d,_0x29b818);}[_0x4d8b64(0x4a2)](_0x55e4dd,_0x39f19f,_0x1ceb95){const _0x563fd8=_0x4d8b64;var _0x29fa61,_0x4c4b42,_0x4acf2f,_0x50feb7,_0x30c849,_0x154445;return this[_0x563fd8(0x33d)][_0x563fd8(0x386)](_0x55e4dd)||this[_0x563fd8(0x33d)][_0x563fd8(0x279)](_0x55e4dd,new Map()),(_0x29fa61=this[_0x563fd8(0x33d)][_0x563fd8(0x445)](_0x55e4dd))!=null&&_0x29fa61[_0x563fd8(0x386)](_0x39f19f)||(_0x4c4b42=this[_0x563fd8(0x33d)][_0x563fd8(0x445)](_0x55e4dd))==null||_0x4c4b42[_0x563fd8(0x279)](_0x39f19f,new Map()),(_0x50feb7=(_0x4acf2f=this['_pivotRenderInfoCache'][_0x563fd8(0x445)](_0x55e4dd))==null?void 0x0:_0x4acf2f[_0x563fd8(0x445)](_0x39f19f))!=null&&_0x50feb7[_0x563fd8(0x386)](_0x1ceb95)||(_0x154445=(_0x30c849=this[_0x563fd8(0x33d)][_0x563fd8(0x445)](_0x55e4dd))==null?void 0x0:_0x30c849['get'](_0x39f19f))==null||_0x154445[_0x563fd8(0x279)](_0x1ceb95,{}),this[_0x563fd8(0x33d)][_0x563fd8(0x445)](_0x55e4dd)[_0x563fd8(0x445)](_0x39f19f)[_0x563fd8(0x445)](_0x1ceb95);}[_0x4d8b64(0x32e)](_0x342df2,_0x2f0c16){const _0x5e9723=_0x4d8b64;var _0x39520d,_0x113635;return this['_pivotRenderValueMatrixCache'][_0x5e9723(0x386)](_0x342df2)||this[_0x5e9723(0x2d6)]['set'](_0x342df2,new Map()),(_0x39520d=this[_0x5e9723(0x2d6)][_0x5e9723(0x445)](_0x342df2))!=null&&_0x39520d[_0x5e9723(0x386)](_0x2f0c16)||(_0x113635=this['_pivotRenderValueMatrixCache']['get'](_0x342df2))==null||_0x113635[_0x5e9723(0x279)](_0x2f0c16,new _0x3500ba[(_0x5e9723(0x4f9))]()),this['_pivotRenderValueMatrixCache'][_0x5e9723(0x445)](_0x342df2)['get'](_0x2f0c16);}['getPivotTableCellData'](_0x346ff5,_0x1a4c9b,_0xb8b027,_0x3789f6){const _0x2fb5d4=_0x4d8b64;var _0x476d73,_0x101682;const _0x5de517=(_0x101682=(_0x476d73=this[_0x2fb5d4(0x2d6)][_0x2fb5d4(0x445)](_0x346ff5))==null?void 0x0:_0x476d73[_0x2fb5d4(0x445)](_0x1a4c9b))==null?void 0x0:_0x101682[_0x2fb5d4(0x22b)](_0xb8b027,_0x3789f6);if(_0x5de517!=null)return _0x5de517;}['getPivotTableIdByCell'](_0x49f177,_0x3cf302,_0x42d198,_0x48af31){const _0x2f6c76=_0x4d8b64;var _0x1837b7;const _0x2d1f6d=_0x3500ba[_0x2f6c76(0x368)](_0x42d198,_0x48af31),_0x4b0677=(_0x1837b7=this[_0x2f6c76(0x33d)][_0x2f6c76(0x445)](_0x49f177))==null?void 0x0:_0x1837b7[_0x2f6c76(0x445)](_0x3cf302);return _0x4b0677?Array[_0x2f6c76(0x2bf)](_0x4b0677[_0x2f6c76(0x27f)]())['find'](_0x33d657=>{const _0x3fc3e6=_0x2f6c76,_0x3f27ea=_0x4b0677[_0x3fc3e6(0x445)](_0x33d657),_0x49a9e3=_0x3f27ea==null?void 0x0:_0x3f27ea['rangesInfo'];return _0x49a9e3?Object[_0x3fc3e6(0x27f)](_0x49a9e3)[_0x3fc3e6(0x246)](_0x3272be=>_0x49a9e3[_0x3272be][_0x3fc3e6(0x246)](_0x55198a=>_0x3500ba[_0x3fc3e6(0x2c1)][_0x3fc3e6(0x492)](_0x55198a,_0x2d1f6d))):!0x1;}):void 0x0;}[_0x4d8b64(0x2cd)](_0x64233c,_0x2e44e9,_0x39e4e1){const _0x3cb6b5=_0x4d8b64;var _0x14f134;const _0x44c1bd=(_0x14f134=this['_pivotRenderInfoCache']['get'](_0x64233c))==null?void 0x0:_0x14f134[_0x3cb6b5(0x445)](_0x2e44e9),_0x149b61=[];return _0x44c1bd&&Array[_0x3cb6b5(0x2bf)](_0x44c1bd[_0x3cb6b5(0x27f)]())[_0x3cb6b5(0x325)](_0x52ff0d=>{const _0x5c3a61=_0x3cb6b5,_0x4b2374=_0x44c1bd[_0x5c3a61(0x445)](_0x52ff0d),_0x41323c=_0x4b2374==null?void 0x0:_0x4b2374[_0x5c3a61(0x4c4)];if(_0x41323c)for(const _0x39ce7c of Object[_0x5c3a61(0x313)](_0x41323c)){let _0x4cf312=!0x1;for(const _0xedf65b of _0x39ce7c)if(_0x3500ba[_0x5c3a61(0x2c1)]['intersects'](_0xedf65b,_0x39e4e1)){_0x149b61[_0x5c3a61(0x206)](_0x52ff0d),_0x4cf312=!0x0;break;}if(_0x4cf312)break;}}),_0x149b61;}['getSubUnitPivotMatrix'](_0x404687,_0x49387c){const _0x5b04a5=_0x4d8b64;var _0x434c1b,_0x261b41;return(_0x261b41=(_0x434c1b=this[_0x5b04a5(0x2d6)][_0x5b04a5(0x445)](_0x404687))==null?void 0x0:_0x434c1b[_0x5b04a5(0x445)](_0x49387c))!=null?_0x261b41:new _0x3500ba['ObjectMatrix']();}[_0x4d8b64(0x24d)](_0x1fbb8e,_0x57082e){const _0x458be4=_0x4d8b64;var _0x2b7553;return(_0x2b7553=this['_pivotRenderInfoCache'][_0x458be4(0x445)](_0x1fbb8e))==null?void 0x0:_0x2b7553[_0x458be4(0x445)](_0x57082e);}[_0x4d8b64(0x2e7)](_0x3f801d,_0x571b37,_0x365480){const _0x1352ec=_0x4d8b64;var _0x112fd6,_0x2638c0;return(_0x2638c0=(_0x112fd6=this['_pivotRenderInfoCache'][_0x1352ec(0x445)](_0x3f801d))==null?void 0x0:_0x112fd6[_0x1352ec(0x445)](_0x571b37))==null?void 0x0:_0x2638c0[_0x1352ec(0x445)](_0x365480);}['deleteUnitId'](_0x305f01){const _0x3ccd63=_0x4d8b64;this[_0x3ccd63(0x33d)][_0x3ccd63(0x408)](_0x305f01),this[_0x3ccd63(0x2d6)][_0x3ccd63(0x408)](_0x305f01);}[_0x4d8b64(0x30a)](_0x4d705c,_0x1dade8){const _0x5581b6=_0x4d8b64;this[_0x5581b6(0x3b8)][_0x5581b6(0x35a)]({'unitId':_0x4d705c,'subUnitId':_0x1dade8});}},_0x1f8e23[_0x4d8b64(0x39c)]=_0x3909be([_0x30c36a(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba['LocaleService'])),_0x30c36a(0x1,_0x3500ba['Inject'](_0x3500ba['Injector'])),_0x30c36a(0x2,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23[_0x4d8b64(0x2e0)])),_0x30c36a(0x3,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x3c9)])),_0x30c36a(0x4,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x2b9)]))],_0x1f8e23['SheetsPivotTableAdaptorModel']);var _0x17d2a4=Object['getOwnPropertyDescriptor'],_0x5ab643=(_0x209a50,_0x181f9a,_0x17751a,_0x4185ad)=>{const _0x47d722=_0x4d8b64;for(var _0x250e2e=_0x4185ad>0x1?void 0x0:_0x4185ad?_0x17d2a4(_0x181f9a,_0x17751a):_0x181f9a,_0x131289=_0x209a50[_0x47d722(0x2a7)]-0x1,_0x8b972e;_0x131289>=0x0;_0x131289--)(_0x8b972e=_0x209a50[_0x131289])&&(_0x250e2e=_0x8b972e(_0x250e2e)||_0x250e2e);return _0x250e2e;},_0x39a299=(_0x5243b4,_0x1a63b5)=>(_0x2617f8,_0x3f5c57)=>_0x1a63b5(_0x2617f8,_0x3f5c57,_0x5243b4);_0x1f8e23[_0x4d8b64(0x41f)]=class extends _0x3500ba['Disposable']{constructor(_0x388fbe,_0x5683aa){const _0x3cebfc=_0x4d8b64;super(),_0x47b9ba(this,_0x3cebfc(0x303),new _0x3500ba[(_0x3cebfc(0x27c))]({'PIVOT_PERFORM_CHECK':_0x45298b})),_0x47b9ba(this,_0x3cebfc(0x4a5),new _0x3500ba['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x245f60})),(this[_0x3cebfc(0x3f4)]=_0x388fbe,this[_0x3cebfc(0x28f)]=_0x5683aa,this[_0x3cebfc(0x41c)]());}['_init'](){const _0x107657=_0x4d8b64;this[_0x107657(0x33e)]();}[_0x4d8b64(0x397)](_0x50647e){const _0x5eee88=_0x4d8b64;return this[_0x5eee88(0x303)][_0x5eee88(0x450)](_0x45298b)(!0x1,_0x50647e);}[_0x4d8b64(0x33e)](){const _0x5344f6=_0x4d8b64;this[_0x5344f6(0x344)](this[_0x5344f6(0x3f4)][_0x5344f6(0x322)](_0x4ed168[_0x5344f6(0x43b)][_0x5344f6(0x4a6)],{'priority':0xc8,'effect':_0x3500ba['InterceptorEffectEnum']['Value']|_0x3500ba['InterceptorEffectEnum']['Style'],'handler':(_0x57797e,_0x151b8a,_0x3949ed)=>{const _0x3ea866=_0x5344f6,{row:_0x5c860a,col:_0x2ac3a3,unitId:_0x49d59a,subUnitId:_0x53972d,workbook:_0x5a3ac9}=_0x151b8a,_0x647f1b=this[_0x3ea866(0x28f)]['getPivotTableCellData'](_0x49d59a,_0x53972d,_0x5c860a,_0x2ac3a3);if(!_0x647f1b)return _0x3949ed(_0x57797e);const _0x10a737={..._0x57797e};(_0x647f1b['v']||_0x647f1b['v']===0x0)&&(_0x10a737['v']=_0x647f1b['v']),_0x647f1b['t']&&(_0x10a737['t']=_0x647f1b['t']);const _0x6da449=(typeof(_0x57797e==null?void 0x0:_0x57797e['s'])==_0x3ea866(0x380)?_0x5a3ac9[_0x3ea866(0x2f6)]()[_0x3ea866(0x445)](_0x57797e==null?void 0x0:_0x57797e['s']):_0x57797e==null?void 0x0:_0x57797e['s'])||{},_0x2aa4e8=_0x5a3ac9[_0x3ea866(0x2f6)]()[_0x3ea866(0x445)](_0x647f1b['s']),_0x563b0d={..._0x2aa4e8,..._0x6da449};_0x2aa4e8!=null&&_0x2aa4e8['n']&&(_0x563b0d['n']=_0x2aa4e8['n']);const _0x4efd4b=_0x5a3ac9[_0x3ea866(0x2f6)]()[_0x3ea866(0x28c)](_0x563b0d);return _0x10a737['s']=_0x4efd4b,(_0x647f1b[_0x3ea866(0x47a)]===_0x2aa645[_0x3ea866(0x4d4)]['Collapse']||_0x647f1b[_0x3ea866(0x47a)]===_0x2aa645[_0x3ea866(0x4d4)]['Expand'])&&(_0x10a737[_0x3ea866(0x374)]={},_0x10a737['fontRenderExtension'][_0x3ea866(0x3d6)]=_0x51ff9b),_0x3949ed(_0x10a737);}}));}},_0x1f8e23[_0x4d8b64(0x41f)]=_0x5ab643([_0x39a299(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x2b4)])),_0x39a299(0x1,_0x3500ba['Inject'](_0x1f8e23['SheetsPivotTableAdaptorModel']))],_0x1f8e23[_0x4d8b64(0x41f)]);const _0x1e8381={'id':_0x4d8b64(0x4c3),'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'handler':(_0x547ff4,_0x2c4bcb)=>{const _0x39e5e2=_0x4d8b64;if(!_0x2c4bcb)return!0x1;if(!!_0x547ff4[_0x39e5e2(0x445)](_0x3500ba[_0x39e5e2(0x38d)])[_0x39e5e2(0x4c6)](_0x385e31))return!0x0;const {pivotTableId:_0x526a9d,fieldJSON:_0x43324e,unitId:_0xab4b62,subUnitId:_0x289cf2}=_0x2c4bcb;let _0x5864dc;const {dataFieldType:_0xcf7c2d,id:_0x2332bb,name:_0x1440b3,hexCode:_0x3a9c82,originalFieldId:_0x840dc6}=_0x43324e;if(_0xcf7c2d===_0x2aa645[_0x39e5e2(0x372)][_0x39e5e2(0x428)]&&(_0x5864dc=new _0x2aa645[(_0x39e5e2(0x43d))](_0x2332bb,_0x1440b3,_0x3a9c82,_0x840dc6)),!_0x5864dc)return!0x1;const _0x5d6544=_0x547ff4[_0x39e5e2(0x445)](_0x1f8e23[_0x39e5e2(0x267)]),_0x455684=_0x5d6544[_0x39e5e2(0x3c8)](_0xab4b62),_0x164ee9=_0x455684[_0x39e5e2(0x2d9)](_0x526a9d);_0x455684[_0x39e5e2(0x211)](_0x5864dc),_0x164ee9[_0x39e5e2(0x46f)](_0x5864dc[_0x39e5e2(0x2be)](),_0x5864dc[_0x39e5e2(0x3b3)]());const _0xfc2480=_0x164ee9[_0x39e5e2(0x40a)](_0x5864dc[_0x39e5e2(0x289)]());_0xfc2480&&_0x5864dc[_0x39e5e2(0x446)](_0xfc2480);const _0x228fc4=_0x5d6544['getPivotTableConfig'](_0xab4b62,_0x289cf2,_0x526a9d);return _0x5d6544['addDirtyPivotTable']({'unitId':_0xab4b62,'subUnitId':_0x289cf2,'token':_0x526a9d,'type':_0x12b936[_0x39e5e2(0x473)],'pivotConfig':_0x228fc4}),!0x0;}},_0x170a77={'id':_0x4d8b64(0x254),'type':_0x3500ba['CommandType'][_0x4d8b64(0x1f6)],'handler':(_0x4d666b,_0x3ea142)=>{const _0x522c81=_0x4d8b64;if(!_0x3ea142)return!0x1;if(!!_0x4d666b[_0x522c81(0x445)](_0x3500ba[_0x522c81(0x38d)])[_0x522c81(0x4c6)](_0x385e31))return!0x0;const {pivotTableId:_0x230808,dataFieldId:_0x31bf56,unitId:_0x1ff7bc,subUnitId:_0x3a88af}=_0x3ea142,_0x4faa64=_0x4d666b['get'](_0x1f8e23[_0x522c81(0x267)]),_0x1c8e8f=_0x4faa64[_0x522c81(0x3c8)](_0x1ff7bc);_0x1c8e8f[_0x522c81(0x2d9)](_0x230808)[_0x522c81(0x439)](_0x31bf56);let _0xf11655=!0x0;for(const _0x29eedb in _0x1c8e8f[_0x522c81(0x4db)])if(_0x1c8e8f[_0x522c81(0x4db)][_0x29eedb][_0x522c81(0x3cc)]()[_0x522c81(0x3e4)](_0x31bf56)){_0xf11655=!0x1;break;}_0xf11655&&_0x1c8e8f[_0x522c81(0x3b4)](_0x31bf56);const _0x1f3b28=_0x4faa64['getPivotTableConfig'](_0x1ff7bc,_0x3a88af,_0x230808);return _0x4faa64['addDirtyPivotTable']({'unitId':_0x1ff7bc,'subUnitId':_0x3a88af,'token':_0x230808,'type':_0x12b936[_0x522c81(0x473)],'pivotConfig':_0x1f3b28}),!0x0;}};function _0xad39ab(_0x197733,_0x1a8542){const _0x1a7965=_0x4d8b64;switch(_0x1a8542){case _0x2aa645[_0x1a7965(0x364)][_0x1a7965(0x375)]:return _0x197733[_0x1a7965(0x379)];case _0x2aa645[_0x1a7965(0x364)]['Filter']:return _0x197733[_0x1a7965(0x469)];case _0x2aa645['PivotTableFiledAreaEnum'][_0x1a7965(0x25a)]:return _0x197733[_0x1a7965(0x3e2)];case _0x2aa645['PivotTableFiledAreaEnum'][_0x1a7965(0x44b)]:return _0x197733[_0x1a7965(0x277)];default:return[];}}function _0x4f8662(_0xacb651,_0x4f8858){const _0x1ca36d=_0x4d8b64;return _0xacb651['measure'][_0x4f8858]||_0xacb651[_0x1ca36d(0x2ee)][_0x4f8858];}function _0x324176(_0x524259,_0x374ed1){const _0x40665b=_0x4d8b64,{area:_0x4f8424,fieldJson:_0x328d85,index:_0x5b893e}=_0x374ed1;_0x4f8424===_0x2aa645['PivotTableFiledAreaEnum'][_0x40665b(0x375)]?_0x524259[_0x40665b(0x348)][_0x328d85['id']]=_0x328d85:_0x524259['dimension'][_0x328d85['id']]=_0x328d85,_0xad39ab(_0x524259,_0x4f8424)[_0x40665b(0x3a6)](_0x5b893e,0x0,_0x328d85['id']);}function _0x52e86b(_0x20975d,_0x262252){const _0x549b36=_0x4d8b64,{area:_0x5d2d32,fieldId:_0x10c1db,index:_0x2e05f9}=_0x262252;_0x5d2d32===_0x2aa645[_0x549b36(0x364)][_0x549b36(0x375)]?delete _0x20975d['measure'][_0x10c1db]:delete _0x20975d[_0x549b36(0x2ee)][_0x10c1db],_0xad39ab(_0x20975d,_0x5d2d32)[_0x549b36(0x3a6)](_0x2e05f9,0x1);}function _0x236a00(_0x4de56f,_0x13f313){const {fieldId:_0x6119cb,name:_0x50e944}=_0x13f313,_0x4e3a11=_0x4f8662(_0x4de56f,_0x6119cb);_0x4e3a11&&(_0x4e3a11['displayName']=_0x50e944);}function _0x1af347(_0x4362cc,_0x49569f){const _0x376361=_0x4d8b64,{fieldId:_0x2e1b0e,collapse:_0x1a9483,item:_0x38427e}=_0x49569f;_0x38427e!==void 0x0?(_0x4362cc[_0x376361(0x357)][_0x2e1b0e]=_0x4362cc[_0x376361(0x357)][_0x2e1b0e]||{},_0x4362cc[_0x376361(0x357)][_0x2e1b0e][_0x38427e]=_0x1a9483):_0x4362cc[_0x376361(0x357)][_0x2e1b0e]=_0x1a9483;}function _0x58bec2(_0x255e58,_0x56ab92){const _0x45c397=_0x4d8b64,{fieldId:_0x3c98a3,format:_0x30fa01}=_0x56ab92,_0x2c0f76=_0x4f8662(_0x255e58,_0x3c98a3);_0x2c0f76&&(_0x2c0f76[_0x45c397(0x2de)]=_0x30fa01);}function _0x2cd6fc(_0x3b254b,_0x48053e){const _0x36ddc5=_0x4d8b64,{fieldId:_0x5668ef,filterInfo:_0xf40cf4}=_0x48053e,_0x589f11=_0x4f8662(_0x3b254b,_0x5668ef);_0x589f11&&(_0x589f11[_0x36ddc5(0x425)]=_0xf40cf4);}function _0x29fa77(_0x349f86,_0x1dbb11){const _0x1a1e21=_0x4d8b64,{fieldId:_0x5a7480,filterInfo:_0x2feebe}=_0x1dbb11,_0x1ab08e=_0x349f86[_0x1a1e21(0x308)][_0x1a1e21(0x340)](_0x2da6a8=>_0x2da6a8[_0x1a1e21(0x337)]!==_0x5a7480);_0x2feebe&&_0x1ab08e[_0x1a1e21(0x206)]({'fieldId':_0x5a7480,'filterInfo':_0x2feebe}),_0x349f86[_0x1a1e21(0x308)]=_0x1ab08e;}function _0x3bf3da(_0x3b80ac,_0x35ceb1){const _0x5a195e=_0x4d8b64,{fieldId:_0x3b60e5,subtotalType:_0x5554fe}=_0x35ceb1,_0x43a9c8=_0x4f8662(_0x3b80ac,_0x3b60e5);_0x43a9c8&&(_0x43a9c8[_0x5a195e(0x3cd)]=_0x5554fe);}function _0x4d7dcc(_0x47a587,_0x578a15){const _0x173842=_0x4d8b64,{fieldId:_0x46d31d,oldArea:_0x5232c4,area:_0x4c7ec9,oldIndex:_0x3465db,index:_0x366aef}=_0x578a15,_0x48816f=_0x5232c4!==_0x2aa645[_0x173842(0x364)][_0x173842(0x375)]&&_0x4c7ec9===_0x2aa645[_0x173842(0x364)][_0x173842(0x375)],_0x3cd108=_0x5232c4===_0x2aa645[_0x173842(0x364)][_0x173842(0x375)]&&_0x4c7ec9!==_0x2aa645[_0x173842(0x364)][_0x173842(0x375)];if(_0x48816f||_0x3cd108){const _0x4d6012=_0x4f8662(_0x47a587,_0x46d31d);_0x4d6012&&(_0x48816f?(delete _0x47a587['dimension'][_0x46d31d],_0x47a587['measure'][_0x46d31d]=_0x4d6012):(delete _0x47a587[_0x173842(0x348)][_0x46d31d],_0x47a587[_0x173842(0x2ee)][_0x46d31d]=_0x4d6012));}const _0x6d4d78=_0xad39ab(_0x47a587,_0x5232c4),_0x1ba66a=_0xad39ab(_0x47a587,_0x4c7ec9);_0x6d4d78[_0x173842(0x3a6)](_0x3465db,0x1),_0x1ba66a[_0x173842(0x3a6)](_0x366aef,0x0,_0x46d31d);}function _0x29b709(_0x118b61,_0x1ed0d7){const _0x32cc83=_0x4d8b64,{valuePosition:_0x1a7e3e,index:_0x1f9c14}=_0x1ed0d7;_0x118b61[_0x32cc83(0x410)]=_0x1a7e3e,_0x118b61[_0x32cc83(0x336)]=_0x1f9c14;}function _0x381fa1(_0x3c43dd,_0x12b479){const _0x11da2c=_0x4d8b64,{tableFieldId:_0x3f2a7a,sourceName:_0x4f254d,dataFieldId:_0x23d987}=_0x12b479,_0x2e0a21=_0x4f8662(_0x3c43dd,_0x3f2a7a);_0x2e0a21&&(_0x2e0a21[_0x11da2c(0x1ea)]=_0x4f254d,_0x2e0a21['dataFieldId']=_0x23d987);}function _0x4aafd7(_0x1987ac,_0xa9a3a6){const _0x215d67=_0x4d8b64,{fieldId:_0x5e86c7,sortInfo:_0x371a71}=_0xa9a3a6,_0x31402e=_0x4f8662(_0x1987ac,_0x5e86c7);_0x31402e&&(_0x31402e[_0x215d67(0x4e5)]=_0x371a71);}function _0x22490a(_0x3e71a9,_0x3f70b4){const _0x287c19=_0x4d8b64,{options:_0x3183a0}=_0x3f70b4;_0x3e71a9['options']={..._0x3e71a9[_0x287c19(0x462)],..._0x3183a0};}const _0x12b8b6={'type':_0x3500ba['CommandType'][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x48a),'handler'(_0x499581,_0x2734f5){const _0x2ff008=_0x4d8b64;if(!_0x2734f5)return!0x1;if(!!_0x499581['get'](_0x3500ba[_0x2ff008(0x38d)])[_0x2ff008(0x4c6)](_0x385e31))return!0x0;const _0x206292=_0x499581[_0x2ff008(0x445)](_0x1f8e23['SheetsPivotDataSourceModel']),{pivotTableId:_0x5f4b13,fieldJson:_0x15d5f4,area:_0x3d18c3,index:_0x3c3d37,unitId:_0x30a781,subUnitId:_0x14d592}=_0x2734f5,_0x39147b=_0x206292[_0x2ff008(0x45b)](_0x5f4b13);if(!_0x39147b)return!0x1;let _0x2d6b81;_0x3d18c3===_0x2aa645['PivotTableFiledAreaEnum'][_0x2ff008(0x375)]?_0x2d6b81=_0x2aa645[_0x2ff008(0x265)](_0x15d5f4):_0x2d6b81=_0x2aa645[_0x2ff008(0x39b)](_0x15d5f4),_0x39147b[_0x2ff008(0x46f)](_0x2d6b81,_0x3d18c3,_0x3c3d37);const _0x2be712=_0x206292[_0x2ff008(0x414)](_0x30a781,_0x14d592,_0x5f4b13);_0x324176(_0x2be712,_0x2734f5);const _0x3473f9=_0x206292[_0x2ff008(0x315)](_0x30a781,_0x14d592,_0x5f4b13);return _0x206292[_0x2ff008(0x4e2)]({'unitId':_0x30a781,'subUnitId':_0x14d592,'token':_0x5f4b13,'type':_0x12b936[_0x2ff008(0x473)],'pivotConfig':_0x3473f9}),!0x0;}},_0x1bf3e8={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x27d),'handler'(_0x292e86,_0x356836){const _0x523318=_0x4d8b64;if(!_0x356836)return!0x1;if(!!_0x292e86[_0x523318(0x445)](_0x3500ba[_0x523318(0x38d)])[_0x523318(0x4c6)](_0x385e31))return!0x0;const _0xfe0d59=_0x292e86[_0x523318(0x445)](_0x1f8e23[_0x523318(0x267)]),{pivotTableId:_0xc1488e,fieldId:_0x30becb,unitId:_0x26cdf2,subUnitId:_0x99c60c}=_0x356836,_0x37cc39=_0xfe0d59[_0x523318(0x45b)](_0xc1488e);if(!_0x37cc39)return!0x1;_0x37cc39[_0x523318(0x271)](_0x30becb);const _0x100e9a=_0xfe0d59[_0x523318(0x414)](_0x26cdf2,_0x99c60c,_0xc1488e);_0x52e86b(_0x100e9a,_0x356836);const _0x47e3e6=_0xfe0d59[_0x523318(0x315)](_0x26cdf2,_0x99c60c,_0xc1488e);return _0xfe0d59[_0x523318(0x4e2)]({'unitId':_0x26cdf2,'subUnitId':_0x99c60c,'token':_0xc1488e,'type':_0x12b936[_0x523318(0x473)],'pivotConfig':_0x47e3e6}),!0x0;}},_0x150efb={'type':_0x3500ba[_0x4d8b64(0x44a)]['MUTATION'],'id':_0x4d8b64(0x4bc),'handler'(_0x3db03e,_0x13f041){const _0x36950a=_0x4d8b64;if(!_0x13f041)return!0x1;if(!!_0x3db03e[_0x36950a(0x445)](_0x3500ba[_0x36950a(0x38d)])[_0x36950a(0x4c6)](_0x385e31))return!0x0;const _0x3d5fb9=_0x3db03e[_0x36950a(0x445)](_0x1f8e23[_0x36950a(0x267)]),{unitId:_0x28bfec,subUnitId:_0x49439b,pivotTableId:_0x59ecf4,fieldId:_0x189432,name:_0x17a59b}=_0x13f041,_0x106aaa=_0x3d5fb9[_0x36950a(0x45b)](_0x59ecf4);if(!_0x106aaa)return!0x1;_0x106aaa[_0x36950a(0x4f0)](_0x189432,_0x17a59b);const _0x70322b=_0x3d5fb9[_0x36950a(0x414)](_0x28bfec,_0x49439b,_0x59ecf4);return _0x236a00(_0x70322b,_0x13f041),_0x3d5fb9[_0x36950a(0x4e2)]({'unitId':_0x28bfec,'subUnitId':_0x49439b,'token':_0x59ecf4,'type':_0x12b936[_0x36950a(0x473)]}),!0x0;}},_0x26ad3b={'type':_0x3500ba[_0x4d8b64(0x44a)]['MUTATION'],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x21c758,_0x1f6c27){const _0x132e49=_0x4d8b64;if(!_0x1f6c27)return!0x1;if(!!_0x21c758[_0x132e49(0x445)](_0x3500ba[_0x132e49(0x38d)])[_0x132e49(0x4c6)](_0x385e31))return!0x0;const _0x7f707e=_0x21c758['get'](_0x1f8e23[_0x132e49(0x267)]),{unitId:_0x559f4e,subUnitId:_0x561641,pivotTableId:_0x2bfe5d,fieldId:_0x571a33,collapse:_0x28eb6a,item:_0x30889a}=_0x1f6c27,_0x5f5d8a=_0x7f707e['getPivotTableInstance'](_0x2bfe5d);if(!_0x5f5d8a)return!0x1;_0x5f5d8a['setCollapse'](_0x571a33,_0x28eb6a,_0x30889a);const _0x200ee4=_0x7f707e[_0x132e49(0x414)](_0x559f4e,_0x561641,_0x2bfe5d);return _0x1af347(_0x200ee4,_0x1f6c27),_0x7f707e[_0x132e49(0x4e2)]({'unitId':_0x559f4e,'subUnitId':_0x561641,'token':_0x2bfe5d,'type':_0x12b936[_0x132e49(0x473)]}),!0x0;}},_0x28307c={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x4a0),'handler'(_0x16ffb7,_0x8a6902){const _0x53716d=_0x4d8b64;if(!_0x8a6902)return!0x1;if(!!_0x16ffb7[_0x53716d(0x445)](_0x3500ba[_0x53716d(0x38d)])[_0x53716d(0x4c6)](_0x385e31))return!0x0;const _0x5d91c8=_0x16ffb7['get'](_0x1f8e23['SheetsPivotDataSourceModel']),{unitId:_0x33f073,subUnitId:_0x476710,pivotTableId:_0x1762a6,fieldId:_0x1410b8,format:_0x18608f}=_0x8a6902,_0x11b046=_0x5d91c8['getPivotTableInstance'](_0x1762a6);if(!_0x11b046)return!0x1;_0x11b046[_0x53716d(0x333)](_0x1410b8,_0x18608f);const _0x505e2f=_0x5d91c8['getPivotTableModelConfig'](_0x33f073,_0x476710,_0x1762a6);return _0x58bec2(_0x505e2f,_0x8a6902),_0x5d91c8[_0x53716d(0x4e2)]({'unitId':_0x33f073,'subUnitId':_0x476710,'token':_0x1762a6,'type':_0x12b936['Set']}),!0x0;}},_0x25d688={'type':_0x3500ba[_0x4d8b64(0x44a)]['MUTATION'],'id':_0x4d8b64(0x204),'handler'(_0x3b8442,_0x124bfd){const _0x32994e=_0x4d8b64;if(!_0x124bfd)return!0x1;if(!!_0x3b8442[_0x32994e(0x445)](_0x3500ba[_0x32994e(0x38d)])['getConfig'](_0x385e31))return!0x0;const _0x4c95c4=_0x3b8442['get'](_0x1f8e23['SheetsPivotDataSourceModel']),{unitId:_0x4b1426,subUnitId:_0x152d06,pivotTableId:_0xdda51,fieldId:_0x54e9a4,filterInfo:_0x3403ac}=_0x124bfd,_0xd850d7=_0x4c95c4[_0x32994e(0x45b)](_0xdda51);if(!_0xd850d7)return!0x1;_0xd850d7[_0x32994e(0x1f2)](_0x54e9a4,_0x3403ac);const _0x21b6d1=_0x4c95c4[_0x32994e(0x414)](_0x4b1426,_0x152d06,_0xdda51);return _0x2cd6fc(_0x21b6d1,_0x124bfd),_0x4c95c4['addDirtyPivotTable']({'unitId':_0x4b1426,'subUnitId':_0x152d06,'token':_0xdda51,'type':_0x12b936[_0x32994e(0x473)]}),!0x0;}},_0x3bee1d={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x1ed),'handler'(_0x7ad26e,_0x1271af){const _0x64f5e1=_0x4d8b64;if(!_0x1271af)return!0x1;if(!!_0x7ad26e[_0x64f5e1(0x445)](_0x3500ba[_0x64f5e1(0x38d)])['getConfig'](_0x385e31))return!0x0;const _0x5489d5=_0x7ad26e['get'](_0x1f8e23['SheetsPivotDataSourceModel']),{unitId:_0xf3d69f,subUnitId:_0x4ecc44,pivotTableId:_0x19b3b1,options:_0x540ea6}=_0x1271af,_0x1f1fd5=_0x5489d5[_0x64f5e1(0x45b)](_0x19b3b1);if(!_0x1f1fd5)return!0x1;_0x1f1fd5[_0x64f5e1(0x292)](_0x540ea6);const _0x136f7e=_0x5489d5['getPivotTableModelConfig'](_0xf3d69f,_0x4ecc44,_0x19b3b1);return _0x22490a(_0x136f7e,_0x1271af),_0x5489d5[_0x64f5e1(0x4e2)]({'unitId':_0xf3d69f,'subUnitId':_0x4ecc44,'token':_0x19b3b1,'type':_0x12b936[_0x64f5e1(0x473)]}),!0x0;}},_0x324b55={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x483),'handler'(_0x22e9f3,_0x310b9a){const _0x18e3c2=_0x4d8b64;if(!_0x310b9a)return!0x1;if(!!_0x22e9f3[_0x18e3c2(0x445)](_0x3500ba[_0x18e3c2(0x38d)])[_0x18e3c2(0x4c6)](_0x385e31))return!0x0;const _0x48cc46=_0x22e9f3['get'](_0x1f8e23[_0x18e3c2(0x267)]),{unitId:_0x23b796,subUnitId:_0x340ff3,pivotTableId:_0x1e3067,sortInfo:_0x232936,fieldId:_0xb04b06}=_0x310b9a,_0x58c59a=_0x48cc46['getPivotTableInstance'](_0x1e3067);if(!_0x58c59a)return!0x1;_0x58c59a['setSortInfo'](_0xb04b06,_0x232936);const _0x5280f8=_0x48cc46[_0x18e3c2(0x414)](_0x23b796,_0x340ff3,_0x1e3067);return _0x4aafd7(_0x5280f8,_0x310b9a),_0x48cc46[_0x18e3c2(0x4e2)]({'unitId':_0x23b796,'subUnitId':_0x340ff3,'token':_0x1e3067,'type':_0x12b936[_0x18e3c2(0x473)]}),!0x0;}},_0x5d301f={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x297),'handler'(_0x3c2200,_0x357677){const _0x301b35=_0x4d8b64;if(!_0x357677)return!0x1;if(!!_0x3c2200['get'](_0x3500ba[_0x301b35(0x38d)])['getConfig'](_0x385e31))return!0x0;const _0x33e20e=_0x3c2200[_0x301b35(0x445)](_0x1f8e23[_0x301b35(0x267)]),{unitId:_0x5f26fe,subUnitId:_0x5cd35a,pivotTableId:_0x1452eb,fieldId:_0x3a4de4,subtotalType:_0x28533a}=_0x357677,_0x5eebf9=_0x33e20e['getPivotTableInstance'](_0x1452eb);if(!_0x5eebf9)return!0x1;_0x5eebf9[_0x301b35(0x329)](_0x3a4de4,_0x28533a);const _0x442245=_0x33e20e['getPivotTableModelConfig'](_0x5f26fe,_0x5cd35a,_0x1452eb);return _0x3bf3da(_0x442245,_0x357677),_0x33e20e[_0x301b35(0x4e2)]({'unitId':_0x5f26fe,'subUnitId':_0x5cd35a,'token':_0x1452eb,'type':_0x12b936[_0x301b35(0x473)]}),!0x0;}},_0x13954b={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x1f0),'handler'(_0x517eb8,_0x279b72){const _0x149af0=_0x4d8b64;if(!_0x279b72)return!0x1;if(!!_0x517eb8[_0x149af0(0x445)](_0x3500ba[_0x149af0(0x38d)])[_0x149af0(0x4c6)](_0x385e31))return!0x0;const _0x1b93b8=_0x517eb8[_0x149af0(0x445)](_0x1f8e23[_0x149af0(0x267)]),{unitId:_0x10122e,subUnitId:_0x5c83fc,pivotTableId:_0x93fe82,fieldId:_0x2bb7b2,filterInfo:_0x536275}=_0x279b72,_0x14d162=_0x1b93b8['getPivotTableInstance'](_0x93fe82);if(!_0x14d162)return!0x1;_0x14d162[_0x149af0(0x327)](_0x2bb7b2,_0x536275);const _0x4aac29=_0x1b93b8[_0x149af0(0x414)](_0x10122e,_0x5c83fc,_0x93fe82);return _0x29fa77(_0x4aac29,_0x279b72),_0x1b93b8[_0x149af0(0x4e2)]({'unitId':_0x10122e,'subUnitId':_0x5c83fc,'token':_0x93fe82,'type':_0x12b936[_0x149af0(0x473)]}),!0x0;}},_0x66ebe8={'type':_0x3500ba['CommandType'][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x40f),'handler'(_0x53ab8f,_0x14f539){const _0x18db9e=_0x4d8b64;if(!_0x14f539)return!0x1;if(!!_0x53ab8f[_0x18db9e(0x445)](_0x3500ba['IConfigService'])[_0x18db9e(0x4c6)](_0x385e31))return!0x0;const _0x98e61d=_0x53ab8f[_0x18db9e(0x445)](_0x1f8e23[_0x18db9e(0x267)]),{unitId:_0x3ce7e7,subUnitId:_0x4ffc96,pivotTableId:_0x58acff,area:_0x4ee0d7,index:_0x46e8ab,fieldId:_0x4f469c}=_0x14f539,_0x2b7afa=_0x98e61d[_0x18db9e(0x45b)](_0x58acff);if(!_0x2b7afa)return!0x1;_0x2b7afa['updateFieldPosition'](_0x4f469c,_0x4ee0d7,_0x46e8ab);const _0x42ba62=_0x98e61d['getPivotTableModelConfig'](_0x3ce7e7,_0x4ffc96,_0x58acff);return _0x4d7dcc(_0x42ba62,_0x14f539),_0x98e61d['addDirtyPivotTable']({'unitId':_0x3ce7e7,'subUnitId':_0x4ffc96,'token':_0x58acff,'type':_0x12b936[_0x18db9e(0x473)]}),!0x0;}},_0x286e91={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x4fc),'handler'(_0x53954b,_0x43f849){const _0x33d71f=_0x4d8b64;if(!_0x43f849)return!0x1;if(!!_0x53954b[_0x33d71f(0x445)](_0x3500ba[_0x33d71f(0x38d)])[_0x33d71f(0x4c6)](_0x385e31))return!0x0;const _0x78bd2a=_0x53954b['get'](_0x1f8e23[_0x33d71f(0x267)]),{unitId:_0x38eb42,subUnitId:_0x295484,pivotTableId:_0x13bdcc,sourceName:_0x280448,dataFieldId:_0x45f737,tableFieldId:_0x4878d6}=_0x43f849,_0x32f0f8=_0x78bd2a['getPivotTableInstance'](_0x13bdcc);if(!_0x32f0f8)return!0x1;_0x32f0f8[_0x33d71f(0x33a)](_0x4878d6,_0x280448,_0x45f737);const _0x2aa462=_0x78bd2a[_0x33d71f(0x414)](_0x38eb42,_0x295484,_0x13bdcc);return _0x381fa1(_0x2aa462,_0x43f849),_0x78bd2a[_0x33d71f(0x4e2)]({'unitId':_0x38eb42,'subUnitId':_0x295484,'token':_0x13bdcc,'type':_0x12b936['Set']}),!0x0;}},_0x3eabf4={'type':_0x3500ba[_0x4d8b64(0x44a)]['MUTATION'],'id':_0x4d8b64(0x2e4),'handler'(_0x48e6b5,_0x1d9060){const _0xcd278f=_0x4d8b64;if(!_0x1d9060)return!0x1;if(!!_0x48e6b5[_0xcd278f(0x445)](_0x3500ba[_0xcd278f(0x38d)])[_0xcd278f(0x4c6)](_0x385e31))return!0x0;const _0x3fb1e6=_0x48e6b5['get'](_0x1f8e23['SheetsPivotDataSourceModel']),{unitId:_0x2111c4,subUnitId:_0x5b729b,pivotTableId:_0x48178c,valuePosition:_0x152224,index:_0xce38bc}=_0x1d9060,_0x436d17=_0x3fb1e6[_0xcd278f(0x45b)](_0x48178c);if(!_0x436d17)return!0x1;_0x436d17[_0xcd278f(0x230)](_0x152224,_0xce38bc);const _0x48f0ae=_0x3fb1e6[_0xcd278f(0x414)](_0x2111c4,_0x5b729b,_0x48178c);return _0x29b709(_0x48f0ae,_0x1d9060),_0x3fb1e6[_0xcd278f(0x4e2)]({'unitId':_0x2111c4,'subUnitId':_0x5b729b,'token':_0x48178c,'type':_0x12b936[_0xcd278f(0x473)]}),!0x0;}};function _0x57eba8(_0x17b7e3,_0xcf58a8,_0xfa6540){const _0x4159f4=_0x4d8b64,{pivotTableId:_0x29d588,unitId:_0x32c523,subUnitId:_0x56b2f3}=_0xcf58a8,_0x2b1147=[],_0x3edee2=[];for(const _0x2f0fd6 of _0xfa6540)switch(_0x2f0fd6['type']){case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x48b)]:{const {fieldJson:_0x5e98b3,area:_0x407acd,index:_0x3ae1a2}=_0x2f0fd6,_0x588824={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldJson':_0x5e98b3,'area':_0x407acd,'index':_0x3ae1a2},_0x8951a3={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x5e98b3['id'],'area':_0x407acd,'index':_0x3ae1a2};_0x2b1147[_0x4159f4(0x206)]({'id':_0x12b8b6['id'],'params':_0x588824}),_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x1bf3e8['id'],'params':_0x8951a3});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x2dc)]:{const {fieldId:_0x59b0da,newSubtotalType:_0x2d008e,oldSubtotalType:_0x37af6a}=_0x2f0fd6,_0x7463c0={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x59b0da,'subtotalType':_0x2d008e};_0x2b1147[_0x4159f4(0x206)]({'id':_0x5d301f['id'],'params':_0x7463c0});const _0xb031af={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x59b0da,'subtotalType':_0x37af6a};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x5d301f['id'],'params':_0xb031af});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x2fd)]:{const {fieldId:_0x27f1c3,fieldJson:_0x313c07,area:_0x1b55e4,index:_0x415884}=_0x2f0fd6,_0x52a76a={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x27f1c3,'index':_0x415884,'area':_0x1b55e4};_0x2b1147[_0x4159f4(0x206)]({'id':_0x1bf3e8['id'],'params':_0x52a76a});const _0x53b2e1={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldJson':_0x313c07,'area':_0x1b55e4,'index':_0x415884};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x12b8b6['id'],'params':_0x53b2e1});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x2f4)]:{const {fieldId:_0x5c5166,oldName:_0x26a7e2,newName:_0x36de82}=_0x2f0fd6,_0x3e0368={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x5c5166,'name':_0x36de82};_0x2b1147[_0x4159f4(0x206)]({'id':_0x150efb['id'],'params':_0x3e0368});const _0x12878e={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x5c5166,'name':_0x26a7e2};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x150efb['id'],'params':_0x12878e});}break;case _0x2aa645[_0x4159f4(0x218)]['SetFilterInfo']:{const {fieldId:_0x12f773,oldFilterInfo:_0xdd8d41,newFilterInfo:_0x158bbc}=_0x2f0fd6,_0x19c3f8={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x12f773,'filterInfo':_0x158bbc};_0x2b1147[_0x4159f4(0x206)]({'id':_0x25d688['id'],'params':_0x19c3f8});const _0xb233f5={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x12f773,'filterInfo':_0xdd8d41};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x25d688['id'],'params':_0xb233f5});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x480)]:{const {fieldId:_0x20770e,oldSortInfo:_0x4195f4,newSortInfo:_0x46cb5f}=_0x2f0fd6,_0x35c201={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x20770e,'sortInfo':_0x46cb5f};_0x2b1147[_0x4159f4(0x206)]({'id':_0x324b55['id'],'params':_0x35c201});const _0x50026b={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x20770e,'sortInfo':_0x4195f4};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x324b55['id'],'params':_0x50026b});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x3d0)]:{const {oldOptions:_0x16578e,newOptions:_0x27c09d}=_0x2f0fd6,_0xf9cb56={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'options':_0x27c09d};_0x2b1147[_0x4159f4(0x206)]({'id':_0x3bee1d['id'],'params':_0xf9cb56});const _0x337e46={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'options':_0x16578e};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x3bee1d['id'],'params':_0x337e46});}break;case _0x2aa645['PivotTableChangeTypeEnum'][_0x4159f4(0x356)]:{const {oldArea:_0x34d91f,newArea:_0x3e8c39,oldIndex:_0x56a543,newIndex:_0x18b8b6,fieldId:_0x5ac939}=_0x2f0fd6,_0x452f1e={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x5ac939,'area':_0x3e8c39,'index':_0x18b8b6,'oldArea':_0x34d91f,'oldIndex':_0x56a543};_0x2b1147[_0x4159f4(0x206)]({'id':_0x66ebe8['id'],'params':_0x452f1e});const _0x30a7f0={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x5ac939,'area':_0x34d91f,'index':_0x56a543,'oldArea':_0x3e8c39,'oldIndex':_0x18b8b6};_0x3edee2['unshift']({'id':_0x66ebe8['id'],'params':_0x30a7f0});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x388)]:{const {oldValuePosition:_0x37d6c5,newValuePosition:_0x248a0d,oldIndex:_0x2fc1ad,newIndex:_0x245e09}=_0x2f0fd6,_0x50c0a3={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'valuePosition':_0x248a0d,'index':_0x245e09};_0x2b1147[_0x4159f4(0x206)]({'id':_0x3eabf4['id'],'params':_0x50c0a3});const _0x327e46={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'valuePosition':_0x37d6c5,'index':_0x2fc1ad};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x3eabf4['id'],'params':_0x327e46});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x2d3)]:{const {fieldId:_0x466fe3,collapse:_0x3996ae,item:_0x45c17d}=_0x2f0fd6,_0x5a3bd2={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x466fe3,'collapse':_0x3996ae,'item':_0x45c17d};_0x2b1147[_0x4159f4(0x206)]({'id':_0x26ad3b['id'],'params':_0x5a3bd2});const _0x4c4a48={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x466fe3,'collapse':!_0x3996ae,'item':_0x45c17d};_0x3edee2['unshift']({'id':_0x26ad3b['id'],'params':_0x4c4a48});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x282)]:{const {newFormat:_0x3cf917,oldFormat:_0x18307b,fieldId:_0x417437}=_0x2f0fd6,_0x23fae6={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x417437,'format':_0x3cf917};_0x2b1147[_0x4159f4(0x206)]({'id':_0x28307c['id'],'params':_0x23fae6});const _0x3797b9={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x417437,'format':_0x18307b};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x28307c['id'],'params':_0x3797b9});}break;case _0x2aa645[_0x4159f4(0x218)][_0x4159f4(0x2ad)]:{const {tableFieldId:_0xda32da,oldSourceName:_0x348e53,newSourceName:_0x59ecba,oldDataFieldId:_0x36e831,newDataFieldId:_0x1b4c77}=_0x2f0fd6,_0x233106={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'tableFieldId':_0xda32da,'sourceName':_0x59ecba,'dataFieldId':_0x1b4c77};_0x2b1147[_0x4159f4(0x206)]({'id':_0x286e91['id'],'params':_0x233106});const _0x39c208={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'tableFieldId':_0xda32da,'sourceName':_0x348e53,'dataFieldId':_0x36e831};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x286e91['id'],'params':_0x39c208});}break;case _0x2aa645['PivotTableChangeTypeEnum']['SetValueFilter']:{const {fieldId:_0x3be259,filterInfo:_0x205475,oldFilterInfo:_0x2cf3e0}=_0x2f0fd6,_0x12c8ea={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x3be259,'filterInfo':_0x205475};_0x2b1147['push']({'id':_0x13954b['id'],'params':_0x12c8ea});const _0x450beb={'unitId':_0x32c523,'subUnitId':_0x56b2f3,'pivotTableId':_0x29d588,'fieldId':_0x3be259,'filterInfo':_0x2cf3e0};_0x3edee2[_0x4159f4(0x3bb)]({'id':_0x13954b['id'],'params':_0x450beb});}}return{'redos':_0x2b1147,'undos':_0x3edee2};}function _0xe168b8(_0x1da554,_0x4ff790){const _0x16cf15=_0x4d8b64;var _0x59ae89;const _0x5e16bb=_0x1da554['get'](_0x1f8e23[_0x16cf15(0x41f)]),{cellInfo:_0x1823fc,view:_0x119b45,isEmpty:_0x5c1f4f}=_0x4ff790;return(_0x59ae89=_0x5e16bb['interceptor']['fetchThroughInterceptors'](_0x245f60)(_0x5d6cc9,{'cellInfo':_0x1823fc,'view':_0x119b45,'isEmpty':_0x5c1f4f}))!=null?_0x59ae89:_0x5d6cc9;}const _0x4fc143={'type':_0x3500ba[_0x4d8b64(0x44a)]['COMMAND'],'id':_0x4d8b64(0x3a3),async 'handler'(_0x16178f,_0x32c447){const _0xac6ae0=_0x4d8b64;if(!_0x32c447)return!0x1;const _0x2d45f6=_0x16178f['get'](_0x3500ba[_0xac6ae0(0x496)]),_0x47e17d=_0x16178f[_0xac6ae0(0x445)](_0x1f8e23['SheetsPivotRPCService']),_0x4da15b=_0x16178f[_0xac6ae0(0x445)](_0x3500ba[_0xac6ae0(0x257)]),{pivotTableId:_0x3e33c0,dataFieldId:_0x591d03,fieldArea:_0x3577a7,index:_0x18d132,unitId:_0x241f12,subUnitId:_0x68d984}=_0x32c447,_0x14d5c5=(await _0x47e17d['getPivotDisplayConfig']({'unitId':_0x241f12,'subUnitId':_0x68d984,'pivotTableId':_0x3e33c0,'params':{'type':_0xe8beec[_0xac6ae0(0x433)],'addPivotField':{'dataFieldId':_0x591d03,'fieldArea':_0x3577a7,'index':_0x18d132}}}))['result'][_0xac6ae0(0x4ce)];if(!_0x14d5c5)return!0x1;const {view:_0x2f0e8e,changesets:_0x588460,isEmpty:_0x9abb10,pivotTableConfig:_0x5649c6,shouldBeAddedGroupJSON:_0x48be45}=_0x14d5c5,_0x5edacd=_0x5649c6[_0xac6ae0(0x32a)],_0x9460a3=new _0x2aa645[(_0xac6ae0(0x4fb))]();_0x9460a3[_0xac6ae0(0x1fb)](_0x2f0e8e);const _0x250d8e={'cellInfo':_0x5edacd,'view':_0x9460a3,'isEmpty':_0x9abb10};if(!await _0x16178f[_0xac6ae0(0x445)](_0x1f8e23[_0xac6ae0(0x41f)])[_0xac6ae0(0x303)][_0xac6ae0(0x450)](_0x45298b)(!0x0,_0x250d8e))return!0x1;const _0x39ace6=_0x1888d8(_0x16178f,_0x9460a3,_0x5edacd,_0x9abb10),_0x2a5725=_0xe168b8(_0x16178f,_0x250d8e),{undos:_0x32ae22,redos:_0x1d9dde}=_0x57eba8(_0x2d45f6,{'pivotTableId':_0x3e33c0,'unitId':_0x241f12,'subUnitId':_0x68d984},_0x588460);return _0x48be45&&(_0x1d9dde[_0xac6ae0(0x3bb)]({'id':_0x1e8381['id'],'params':{'pivotTableId':_0x3e33c0,'fieldJSON':_0x48be45,'unitId':_0x241f12,'subUnitId':_0x68d984}}),_0x32ae22[_0xac6ae0(0x206)]({'id':_0x170a77['id'],'params':{'pivotTableId':_0x3e33c0,'dataFieldId':_0x48be45['id'],'unitId':_0x241f12,'subUnitId':_0x68d984}})),_0x3500ba[_0xac6ae0(0x258)]([..._0x39ace6['redos'],..._0x2a5725[_0xac6ae0(0x21f)],..._0x1d9dde],_0x2d45f6),_0x4da15b['pushUndoRedo']({'unitID':_0x241f12,'redoMutations':[..._0x39ace6[_0xac6ae0(0x21f)],..._0x2a5725[_0xac6ae0(0x21f)],..._0x1d9dde],'undoMutations':[..._0x39ace6[_0xac6ae0(0x42f)],..._0x2a5725[_0xac6ae0(0x42f)],..._0x32ae22]}),!0x0;}},_0x4f3907=()=>typeof process<'u'&&process['versions']!=null&&process[_0x4d8b64(0x370)][_0x4d8b64(0x30e)]!=null,_0x37aa8f={'type':_0x3500ba[_0x4d8b64(0x44a)]['MUTATION'],'id':_0x4d8b64(0x295),'handler'(_0x1ff663,_0x14a08f){const _0x593fd6=_0x4d8b64;var _0x35835b;if(!_0x14a08f)return!0x1;const _0x12ef7f=_0x1ff663[_0x593fd6(0x445)](_0x3500ba[_0x593fd6(0x38d)]);if(!!_0x12ef7f[_0x593fd6(0x4c6)](_0x385e31))return!0x0;const _0x5375e6=_0x1ff663['get'](_0x3500ba[_0x593fd6(0x3c9)]),_0xa6de62=_0x1ff663[_0x593fd6(0x445)](_0x1f8e23['SheetsPivotDataSourceModel']),{pivotTableId:_0x1e9a56,pivotTableConfig:_0x409c74,collectionConfig:_0x528f20,unitId:_0x4d63b9,subUnitId:_0x27ae4a}=_0x14a08f,{sourceRangeInfo:_0xa7d88e,fieldsConfig:_0x1d1c5b,targetCellInfo:_0x2c1f64}=_0x409c74,_0x35ca69=_0x5375e6['getUnit'](_0x4d63b9);if(!_0x35ca69||!_0x35ca69[_0x593fd6(0x3fd)](_0x27ae4a))return!0x1;if(!_0x4f3907()){let _0x42af33=0x0;_0x35ca69[_0x593fd6(0x500)]()['forEach'](_0x2db4c1=>{const _0x318ef3=_0x593fd6;var _0x1d0c21,_0x58d3df;_0x42af33+=(_0x58d3df=(_0x1d0c21=_0xa6de62['getSubUnitPivotConfigs'](_0x4d63b9,_0x2db4c1[_0x318ef3(0x481)]()))==null?void 0x0:_0x1d0c21[_0x318ef3(0x3c1)])!=null?_0x58d3df:0x0;});const _0x293aca=(_0x35835b=_0x12ef7f['getConfig'](_0x25d566[_0x593fd6(0x2b8)]))!=null?_0x35835b:{},{ls:_0x1c0391,pbk:_0x39a2af}=_0x293aca;if(!_0x548a80(_0x1c0391,_0x39a2af))throw new _0x3500ba[(_0x593fd6(0x3a1))](_0x593fd6(0x2ba));const _0x3fd4b4=_0xdf4962(_0x3a26ee,_0x1c0391,_0x39a2af)[_0x593fd6(0x25c)];if(_0x42af33>=_0x3fd4b4)throw new _0x3500ba[(_0x593fd6(0x3a1))](_0x593fd6(0x2ba));}if(!_0x528f20||!_0x1d1c5b)return!0x1;const {collection:_0x590361,updateDataFieldList:_0x214d32}=_0xa6de62[_0x593fd6(0x31f)](_0x1e9a56,_0x528f20,_0xa7d88e,_0x2c1f64);_0xa6de62[_0x593fd6(0x479)](_0x590361,_0x214d32,_0xa7d88e);const _0x1a66ac=new _0x2aa645[(_0x593fd6(0x236))](_0x590361,void 0x0,_0x1e9a56);_0x1a66ac[_0x593fd6(0x3ab)](_0x1d1c5b);const _0x59d163=JSON[_0x593fd6(0x4eb)](JSON['stringify'](_0x409c74));return _0xa6de62['addPivotTable'](_0x4d63b9,_0x27ae4a,_0x1e9a56,_0x1a66ac,_0x59d163),_0xa6de62['addDirtyPivotTable']({'unitId':_0x4d63b9,'subUnitId':_0x27ae4a,'token':_0x1e9a56,'type':_0x12b936[_0x593fd6(0x3bf)],'pivotConfig':_0x59d163}),!0x0;}},_0x196563={'type':_0x3500ba[_0x4d8b64(0x44a)]['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x572b6d,_0x1da224){const _0x172c1b=_0x4d8b64;if(!_0x1da224)return!0x1;const {sourceDataInfo:_0x2417c6,pivotTableConfig:_0x37f8ee}=_0x1da224;if(!_0x2417c6||!_0x37f8ee)return!0x1;const {unitId:_0xe504ec,subUnitId:_0x1ef605,range:_0x49d6b2}=_0x2417c6,_0x21db11=_0x572b6d[_0x172c1b(0x445)](_0x3500ba[_0x172c1b(0x3c9)]),_0x3fa523=_0x572b6d[_0x172c1b(0x445)](_0x1f8e23[_0x172c1b(0x411)]),_0x380d65=_0x572b6d[_0x172c1b(0x445)](_0x3500ba['LocaleService']),_0x419729=_0x572b6d[_0x172c1b(0x445)](_0x3500ba[_0x172c1b(0x496)]),_0x7f6f75=_0x21db11[_0x172c1b(0x383)](_0xe504ec);if(!_0x7f6f75)return!0x1;const _0x53327f=_0x7f6f75[_0x172c1b(0x3fd)](_0x1ef605);if(!_0x53327f)return!0x1;const _0x50e329=_0x2aa645[_0x172c1b(0x26d)](0x8),_0x4a85e4=_0x49d6b2||{'startRow':0x0,'startColumn':0x0,'endRow':_0x53327f[_0x172c1b(0x4d6)]()-0x1,'endColumn':_0x53327f[_0x172c1b(0x3f1)]()-0x1};_0x4a85e4['rangeType']=_0x3500ba['RANGE_TYPE']['NORMAL'];const _0x46d200=(await _0x3fa523[_0x172c1b(0x38f)]({'unitId':_0xe504ec,'subUnitId':_0x1ef605,'pivotTableId':_0x50e329,'params':{'type':_0xe8beec[_0x172c1b(0x237)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0xe504ec,'sheetName':_0x53327f['getName'](),'subUnitId':_0x1ef605,'range':_0x4a85e4},'pivotTableId':_0x50e329,'pivotTableIndexConfig':_0x37f8ee}}}))[_0x172c1b(0x4dd)][_0x172c1b(0x4f1)];if(!_0x46d200)return!0x1;const {isEmpty:_0x39f84f,fieldsConfig:_0x33d40b,collectionConfig:_0x1f013e,changesets:_0x181301}=_0x46d200,_0x546b98=_0x7f6f75[_0x172c1b(0x500)]()[_0x172c1b(0x2a7)],_0x38cdc7=_0x3500ba['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x53327f[_0x172c1b(0x4d6)]()-0x1,'columnCount':_0x53327f[_0x172c1b(0x3f1)]()-0x1});_0x38cdc7['id']=_0x3500ba['generateRandomId'](),_0x38cdc7[_0x172c1b(0x2c9)]=_0x7f6f75[_0x172c1b(0x42c)](''+_0x380d65['t'](_0x172c1b(0x24b)));const _0x5623b1={'index':_0x546b98,'sheet':_0x38cdc7,'unitId':_0xe504ec},{redos:_0x1a2d0d}=_0x57eba8(_0x419729,{'pivotTableId':_0x50e329,'unitId':_0xe504ec,'subUnitId':_0x38cdc7['id']},_0x181301),_0x2e94dc=[{'id':_0x4ed168[_0x172c1b(0x33b)]['id'],'params':_0x5623b1},{'id':_0x37aa8f['id'],'params':{'unitId':_0xe504ec,'subUnitId':_0x38cdc7['id'],'pivotTableId':_0x50e329,'pivotTableConfig':{'isEmpty':_0x39f84f,'fieldsConfig':_0x33d40b,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0xe504ec,'subUnitId':_0x38cdc7['id']},'sourceRangeInfo':{'subUnitId':_0x1ef605,'unitId':_0xe504ec,'range':_0x4a85e4,'sheetName':_0x53327f['getName']()}},'collectionConfig':_0x1f013e}},..._0x1a2d0d];return _0x3500ba[_0x172c1b(0x258)](_0x2e94dc,_0x419729),!0x0;}},_0x4320a9={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x4a9),'handler'(_0xa5461e,_0x58c30a){const _0x49b7ef=_0x4d8b64;if(!_0x58c30a)return!0x1;if(!!_0xa5461e['get'](_0x3500ba[_0x49b7ef(0x38d)])['getConfig'](_0x385e31))return!0x0;const {pivotTableId:_0x4cef86,unitId:_0x517d5b,subUnitId:_0xdfb701}=_0x58c30a,_0x571057=_0xa5461e[_0x49b7ef(0x445)](_0x1f8e23['SheetsPivotDataSourceModel']);return _0x571057[_0x49b7ef(0x315)](_0x517d5b,_0xdfb701,_0x4cef86)?(_0x571057[_0x49b7ef(0x4e2)]({'unitId':_0x517d5b,'subUnitId':_0xdfb701,'token':_0x4cef86,'type':_0x12b936[_0x49b7ef(0x2f1)]}),_0x571057['removePivotTable'](_0x517d5b,_0xdfb701,_0x4cef86),!0x0):!0x1;}},_0x2a8091={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x46e),async 'handler'(_0x3e65b2,_0x40b87e){const _0x475784=_0x4d8b64;var _0x422ac4,_0x48e3db;const _0x50a2c9=_0x3e65b2[_0x475784(0x445)](_0x3500ba[_0x475784(0x496)]),_0xffb4a1=_0x3e65b2[_0x475784(0x445)](_0x3500ba['IUniverInstanceService']),_0xc878b8=_0x3e65b2[_0x475784(0x445)](_0x3500ba[_0x475784(0x426)]),_0x5f1daf=_0x3e65b2[_0x475784(0x445)](_0x1f8e23[_0x475784(0x411)]),_0x1ab0ea=_0x3e65b2[_0x475784(0x445)](_0x3500ba[_0x475784(0x257)]),_0x11f559=_0x3e65b2[_0x475784(0x445)](_0x1f8e23[_0x475784(0x2e0)]),_0x1f47a8=_0x3e65b2['get'](_0x3500ba[_0x475784(0x38d)]);if(!_0x40b87e)return!0x1;const {pivotTableConfig:_0x5cf55a,positionType:_0x48280f}=_0x40b87e,{targetCellInfo:_0x3467e1,sourceRangeInfo:_0x3c9f71}=_0x5cf55a,{unitId:_0x57f986,subUnitId:_0x2e6be6}=_0x3467e1,_0x3ef1ec=_0xffb4a1[_0x475784(0x383)](_0x57f986);if(!_0x3ef1ec)return!0x1;let _0x11c2cb=0x0;_0x3ef1ec['getSheets']()[_0x475784(0x325)](_0x32fa72=>{const _0x4f0134=_0x475784;var _0x52cfdf,_0x5e67b7;_0x11c2cb+=(_0x5e67b7=(_0x52cfdf=_0x11f559[_0x4f0134(0x3af)](_0x57f986,_0x32fa72[_0x4f0134(0x481)]()))==null?void 0x0:_0x52cfdf[_0x4f0134(0x3c1)])!=null?_0x5e67b7:0x0;});const _0x3a047d=(_0x422ac4=_0x1f47a8[_0x475784(0x4c6)](_0x25d566['LS_CONFIG_KEY']))!=null?_0x422ac4:{},{ls:_0x57f87f,pbk:_0xc4b873}=_0x3a047d;if(!_0x548a80(_0x57f87f,_0xc4b873))return!0x1;const _0x48f3df=_0xdf4962(_0x3a26ee,_0x57f87f,_0xc4b873)[_0x475784(0x25c)];if(_0x11c2cb>=_0x48f3df)return!0x1;const _0x553f68=_0x40b87e[_0x475784(0x4f6)]||_0x2aa645[_0x475784(0x26d)](0x8),_0x4aec3c=(await _0x5f1daf[_0x475784(0x38f)]({'unitId':_0x57f986,'subUnitId':_0x2e6be6,'pivotTableId':_0x553f68,'params':{'type':_0xe8beec['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x3c9f71,'pivotTableId':_0x553f68}}}))[_0x475784(0x4dd)][_0x475784(0x31d)];if(!_0x4aec3c)return!0x1;const {view:_0x3b7a00,isEmpty:_0x22e252,fieldsConfig:_0x547d61,collectionConfig:_0x257b40}=_0x4aec3c,_0x12cf88=[],_0x17d474=[];if(_0x48280f===_0x168dd3[_0x475784(0x482)]){const _0x3b3316=_0x3ef1ec['getSheets']()[_0x475784(0x2a7)],_0x126a8e=_0x3500ba[_0x475784(0x3ff)]({});_0x126a8e['id']=_0x5cf55a[_0x475784(0x32a)][_0x475784(0x2a9)],_0x126a8e[_0x475784(0x2c9)]=(_0x48e3db=_0x5cf55a[_0x475784(0x32a)]['sheetName'])!=null?_0x48e3db:_0x3ef1ec['generateNewSheetName'](''+_0xc878b8['t'](_0x475784(0x24b)));const _0x100e82={'index':_0x3b3316,'sheet':_0x126a8e,'unitId':_0x57f986},_0x585595=_0x4ed168[_0x475784(0x25e)](_0x3e65b2,_0x100e82);_0x12cf88[_0x475784(0x206)]({'id':_0x4ed168['RemoveSheetMutation']['id'],'params':_0x585595}),_0x17d474[_0x475784(0x206)]({'id':_0x4ed168[_0x475784(0x1e8)]['id'],'params':_0x100e82});}else{if(!_0x3ef1ec[_0x475784(0x3fd)](_0x2e6be6))return!0x1;const _0x3da044=_0x1888d8(_0x3e65b2,new _0x2aa645[(_0x475784(0x4fb))](),_0x3467e1,!0x0);_0x17d474[_0x475784(0x206)](..._0x3da044[_0x475784(0x21f)]),_0x12cf88[_0x475784(0x206)](..._0x3da044[_0x475784(0x42f)]);const _0x4f31d7={'cellInfo':_0x3467e1,'view':_0x3b7a00,'isEmpty':_0x22e252};if(!await _0x3e65b2[_0x475784(0x445)](_0x1f8e23[_0x475784(0x41f)])[_0x475784(0x303)][_0x475784(0x450)](_0x45298b)(!0x0,_0x4f31d7))return!0x1;const _0x5dc3b9=_0xe168b8(_0x3e65b2,_0x4f31d7);_0x17d474['push'](..._0x5dc3b9['redos']),_0x12cf88[_0x475784(0x206)](..._0x5dc3b9[_0x475784(0x42f)]);}return _0x17d474[_0x475784(0x206)]({'id':_0x37aa8f['id'],'params':{'unitId':_0x3467e1[_0x475784(0x3e1)],'subUnitId':_0x3467e1[_0x475784(0x2a9)],'pivotTableId':_0x553f68,'pivotTableConfig':{'targetCellInfo':_0x3467e1,'sourceRangeInfo':_0x3c9f71,'fieldsConfig':_0x547d61},'collectionConfig':_0x257b40}}),_0x12cf88[_0x475784(0x3bb)]({'id':_0x4320a9['id'],'params':{'unitId':_0x57f986,'subUnitId':_0x2e6be6,'pivotTableId':_0x553f68}}),_0x3500ba[_0x475784(0x258)](_0x17d474,_0x50a2c9)&&_0x1ab0ea[_0x475784(0x38c)]({'unitID':_0x57f986,'undoMutations':_0x12cf88,'redoMutations':_0x17d474}),!0x0;}},_0xdabb42={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x363),async 'handler'(_0x121825,_0x6eedb4){const _0x1727ac=_0x4d8b64;if(!_0x6eedb4)return!0x1;const _0x555902=_0x121825['get'](_0x3500ba[_0x1727ac(0x496)]),_0x5a2be1=_0x121825[_0x1727ac(0x445)](_0x1f8e23[_0x1727ac(0x411)]),_0xaea5a2=_0x121825[_0x1727ac(0x445)](_0x3500ba[_0x1727ac(0x257)]),{pivotTableId:_0x39c55e,fieldId:_0x454567,area:_0x6e47db,index:_0x41a042,unitId:_0x4f5dec,subUnitId:_0x769253}=_0x6eedb4,_0x30992b=(await _0x5a2be1[_0x1727ac(0x38f)]({'unitId':_0x4f5dec,'subUnitId':_0x769253,'pivotTableId':_0x39c55e,'params':{'type':_0xe8beec[_0x1727ac(0x1eb)],'movePivotField':{'fieldId':_0x454567,'area':_0x6e47db,'index':_0x41a042}}}))[_0x1727ac(0x4dd)][_0x1727ac(0x4e6)];if(!_0x30992b)return!0x1;const {changesets:_0x4b1110,view:_0x45cd75,isEmpty:_0x3bc7ed,pivotTableConfig:_0x4d825b}=_0x30992b,_0x456562=_0x4d825b[_0x1727ac(0x32a)],_0x9cce8c=new _0x2aa645['PivotView']();_0x9cce8c[_0x1727ac(0x1fb)](_0x45cd75);const _0x21b6b0={'cellInfo':_0x456562,'view':_0x9cce8c,'isEmpty':_0x3bc7ed};if(!await _0x121825['get'](_0x1f8e23[_0x1727ac(0x41f)])[_0x1727ac(0x303)][_0x1727ac(0x450)](_0x45298b)(!0x0,_0x21b6b0))return!0x1;const _0x2f5d0b=_0x1888d8(_0x121825,_0x9cce8c,_0x456562,_0x3bc7ed),_0x11fa7b=_0xe168b8(_0x121825,_0x21b6b0),{redos:_0x7bcd3c,undos:_0x3b12c4}=_0x57eba8(_0x555902,{'pivotTableId':_0x39c55e,'unitId':_0x4f5dec,'subUnitId':_0x769253},_0x4b1110);return _0x3500ba[_0x1727ac(0x258)]([..._0x2f5d0b['redos'],..._0x11fa7b['redos'],..._0x7bcd3c],_0x555902),_0xaea5a2[_0x1727ac(0x38c)]({'unitID':_0x4f5dec,'redoMutations':[..._0x2f5d0b[_0x1727ac(0x21f)],..._0x11fa7b[_0x1727ac(0x21f)],..._0x7bcd3c],'undoMutations':[..._0x2f5d0b[_0x1727ac(0x42f)],..._0x11fa7b[_0x1727ac(0x42f)],..._0x3b12c4]}),!0x0;}},_0x464835={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x223),'handler'(_0x3be87d,_0x1329bf){const _0x2a2fc0=_0x4d8b64;if(!_0x1329bf)return!0x1;if(!!_0x3be87d['get'](_0x3500ba[_0x2a2fc0(0x38d)])[_0x2a2fc0(0x4c6)](_0x385e31))return!0x0;const {pivotTableId:_0x448c2b,targetCellPosition:_0x28fa2f,unitId:_0x54cf94,subUnitId:_0xdd3893}=_0x1329bf,_0x38ee64=_0x3be87d[_0x2a2fc0(0x445)](_0x1f8e23[_0x2a2fc0(0x267)]);if(!_0x38ee64['getPivotTableInstance'](_0x1329bf[_0x2a2fc0(0x4f6)]))return!0x1;const _0xc28106=_0x38ee64[_0x2a2fc0(0x2ef)](_0x448c2b);if(!_0xc28106)return!0x1;const _0x416d3a=_0x38ee64[_0x2a2fc0(0x2d9)](_0xc28106[_0x2a2fc0(0x3e1)],_0x1329bf['pivotTableId']);if(!_0x416d3a)return!0x1;const _0x1fc6a8=_0x38ee64[_0x2a2fc0(0x315)](_0xc28106[_0x2a2fc0(0x3e1)],_0xc28106[_0x2a2fc0(0x2a9)],_0x448c2b);if(!_0x1fc6a8)return!0x1;const _0x591cb8=_0x3500ba[_0x2a2fc0(0x332)][_0x2a2fc0(0x36b)](_0x1fc6a8);_0x591cb8[_0x2a2fc0(0x32a)]={'unitId':_0x54cf94,'subUnitId':_0xdd3893,'row':_0x28fa2f[_0x2a2fc0(0x365)],'col':_0x28fa2f[_0x2a2fc0(0x381)]};const _0x212ebd=_0x416d3a['toJSON']();if(_0xc28106[_0x2a2fc0(0x2a9)]===_0xdd3893&&_0xc28106['unitId']===_0x54cf94)_0x38ee64['setPivotTable'](_0x54cf94,_0xdd3893,_0x448c2b,_0x591cb8),_0x38ee64[_0x2a2fc0(0x4e2)]({'unitId':_0x54cf94,'subUnitId':_0xdd3893,'token':_0x448c2b,'type':_0x12b936[_0x2a2fc0(0x473)]});else{_0x38ee64[_0x2a2fc0(0x4e2)]({'unitId':_0xc28106[_0x2a2fc0(0x3e1)],'subUnitId':_0xc28106[_0x2a2fc0(0x2a9)],'token':_0x448c2b,'type':_0x12b936[_0x2a2fc0(0x2f1)]}),_0x38ee64[_0x2a2fc0(0x1ff)](_0xc28106[_0x2a2fc0(0x3e1)],_0xc28106[_0x2a2fc0(0x2a9)],_0x448c2b);const _0xf147b0=_0x38ee64[_0x2a2fc0(0x31f)](_0x448c2b,_0x212ebd,_0x1fc6a8['sourceRangeInfo'],_0x591cb8[_0x2a2fc0(0x32a)]),_0x9d885b=new _0x2aa645[(_0x2a2fc0(0x236))](_0xf147b0[_0x2a2fc0(0x32d)],void 0x0,_0x448c2b);_0x9d885b[_0x2a2fc0(0x3ab)](_0x591cb8[_0x2a2fc0(0x499)]),_0x38ee64[_0x2a2fc0(0x31d)](_0x54cf94,_0xdd3893,_0x448c2b,_0x9d885b,_0x591cb8),_0x38ee64['addDirtyPivotTable']({'unitId':_0x54cf94,'subUnitId':_0xdd3893,'token':_0x448c2b,'type':_0x12b936[_0x2a2fc0(0x3bf)],'pivotConfig':_0x591cb8});}return!0x0;}},_0x470806={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':'sheet.command.move-pivot-table','handler':(_0x1dc5c8,_0x242353)=>{const _0x32ef56=_0x4d8b64,_0x55d700=_0x1dc5c8[_0x32ef56(0x445)](_0x3500ba['ICommandService']),_0x1a941c=_0x1dc5c8['get'](_0x3500ba[_0x32ef56(0x257)]),_0x26428b=_0x1dc5c8[_0x32ef56(0x445)](_0x1f8e23['SheetsPivotTableConfigModel']),_0x20b082=_0x1dc5c8['get'](_0x3500ba[_0x32ef56(0x3c9)]);if(!_0x242353)return!0x1;const _0x451665=_0x4ed168['getSheetCommandTarget'](_0x20b082);if(!_0x451665)return!0x1;const {unitId:_0x357969,subUnitId:_0x4eb3e0,workbook:_0x46b89b}=_0x451665,_0xd6b910=_0x26428b['getPivotTableConfig'](_0x242353[_0x32ef56(0x2da)][_0x32ef56(0x3e1)],_0x242353[_0x32ef56(0x2da)][_0x32ef56(0x2a9)],_0x242353[_0x32ef56(0x4f6)]);if(!_0xd6b910)return!0x1;const _0x28804a=_0x46b89b['getSheetBySheetId'](_0x242353['targetCellInfo'][_0x32ef56(0x2a9)]);if(!_0x28804a)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x43c7ab=_0x28804a['getRowCount'](),_0x103632=_0x28804a['getColumnCount']();if(_0x242353['targetCellInfo'][_0x32ef56(0x365)]>_0x43c7ab||_0x242353[_0x32ef56(0x32a)][_0x32ef56(0x381)]>_0x103632)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x271233=[{'id':_0x464835['id'],'params':{'unitId':_0x357969,'subUnitId':_0x242353[_0x32ef56(0x32a)][_0x32ef56(0x2a9)],'pivotTableId':_0x242353[_0x32ef56(0x4f6)],'targetCellPosition':{'row':_0x242353['targetCellInfo'][_0x32ef56(0x365)],'col':_0x242353[_0x32ef56(0x32a)][_0x32ef56(0x381)]}}}],_0x1f3361=[{'id':_0x464835['id'],'params':{'unitId':_0x357969,'subUnitId':_0x4eb3e0,'pivotTableId':_0x242353['pivotTableId'],'targetCellPosition':{'row':_0xd6b910[_0x32ef56(0x32a)]['row'],'col':_0xd6b910['targetCellInfo'][_0x32ef56(0x381)]}}}];return _0x3500ba[_0x32ef56(0x258)](_0x271233,_0x55d700)&&_0x1a941c['pushUndoRedo']({'unitID':_0x357969,'undoMutations':_0x1f3361,'redoMutations':_0x271233}),!0x0;}},_0x2b7818={'type':_0x3500ba['CommandType']['COMMAND'],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x59f128,_0x56be90){const _0x408a98=_0x4d8b64;var _0x63c7a0;if(!_0x56be90)return!0x1;const _0x299c99=_0x59f128['get'](_0x3500ba['IUniverInstanceService']),_0x60ed76=_0x4ed168['getSheetCommandTarget'](_0x299c99);if(!_0x60ed76)return!0x1;const {unitId:_0x4b7293,subUnitId:_0x195545,workbook:_0x2c359c}=_0x60ed76,{row:_0x4efd9e,col:_0x3bdf37}=_0x56be90,_0x13ceb5=_0x59f128[_0x408a98(0x445)](_0x1f8e23[_0x408a98(0x39c)]),_0x3584d0=_0x13ceb5[_0x408a98(0x442)](_0x4b7293,_0x195545,_0x4efd9e,_0x3bdf37);if(!_0x3584d0)return!0x1;const _0x1438a7=(_0x63c7a0=_0x13ceb5['getPivotItemRenderInfoCache'](_0x4b7293,_0x195545,_0x3584d0))==null?void 0x0:_0x63c7a0['areaInfo'];if(!_0x1438a7)return!0x1;const _0x4d33c8=_0x59f128[_0x408a98(0x445)](_0x1f8e23[_0x408a98(0x2e0)])['getPivotTableConfig'](_0x4b7293,_0x195545,_0x3584d0);if(!_0x4d33c8)return!0x1;const {rowInfo:_0x1352bb,colInfo:_0x14fc8b}=_0x1438a7,_0x485dde=_0x1352bb[_0x4efd9e][_0x408a98(0x34b)],_0x564c28=_0x14fc8b[_0x3bdf37][_0x408a98(0x34b)],_0x1bcd63=_0x1352bb[_0x4efd9e][_0x408a98(0x4f4)],_0x5b209e=_0x14fc8b[_0x3bdf37]['level'],_0x1e023f=_0x485dde[_0x408a98(0x37f)](_0x564c28),_0x44dce7=_0x4d33c8[_0x408a98(0x499)][_0x408a98(0x3e2)][_0x408a98(0x4e8)](0x0,_0x1bcd63),_0x14d534=_0x4d33c8[_0x408a98(0x499)]['columnFields'][_0x408a98(0x4e8)](0x0,_0x5b209e),_0x775d41=_0x44dce7[_0x408a98(0x37f)](_0x14d534),_0x4f4eb1=_0x1e023f[_0x408a98(0x269)]((_0x40342b,_0x15c4f1)=>[_0x40342b,_0x775d41[_0x15c4f1]]),_0x4dadbf=(await _0x59f128['get'](_0x1f8e23['SheetsPivotRPCService'])['getPivotDisplayConfig']({'unitId':_0x4b7293,'subUnitId':_0x195545,'pivotTableId':_0x3584d0,'params':{'type':_0xe8beec[_0x408a98(0x39d)],'drillDown':{'tuple':_0x4f4eb1}}}))[_0x408a98(0x4dd)][_0x408a98(0x227)];if(!_0x4dadbf)return!0x1;const {indexes:_0x46d383,range:_0x347b88,sourceUnitId:_0x5cac7d,sourceSubUnitId:_0x6cfd51,formatMap:_0x5b2722}=_0x4dadbf,{startRow:_0x2eb876,endRow:_0x2ed5c8,startColumn:_0x46c393,endColumn:_0x4933ce}=_0x347b88,_0x474b86=new _0x3500ba[(_0x408a98(0x4f9))](),_0x249ecf=_0x2ed5c8-_0x2eb876,_0x1cffbb=_0x4933ce-_0x46c393,_0x35ade2={},_0x412323=_0x4ed168[_0x408a98(0x3dc)](_0x299c99,{'unitId':_0x5cac7d,'subUnitId':_0x6cfd51});if(!_0x412323)return!0x1;const _0x59a38a=_0x5a68d8[_0x408a98(0x3e5)],_0x4b40b4=_0x5a68d8[_0x408a98(0x222)],_0x348966=_0x5a68d8[_0x408a98(0x222)],_0x41e4a7=_0x2c359c[_0x408a98(0x2f6)]()[_0x408a98(0x28c)](_0x59a38a),_0x15d2b0=_0x2c359c['getStyles']()[_0x408a98(0x28c)](_0x4b40b4),_0x13fc76=_0x2c359c[_0x408a98(0x2f6)]()[_0x408a98(0x28c)](_0x348966),{worksheet:_0x49a717}=_0x412323;let _0x5acc6c=0x0;const _0x582f58=0x1;_0x46d383[_0x408a98(0x325)](_0x48a2cb=>{const _0x50930d=_0x408a98;for(let _0x13901a=0x0;_0x13901a<=_0x4933ce-_0x46c393;_0x13901a++)_0x474b86[_0x50930d(0x28c)](_0x5acc6c,_0x13901a,_0x49a717[_0x50930d(0x495)](_0x48a2cb+_0x347b88['startRow']+_0x582f58,_0x13901a));_0x5acc6c++;});for(let _0x3b8023=_0x46c393;_0x3b8023<=_0x4933ce;_0x3b8023++){const _0x10fc70=_0x49a717[_0x408a98(0x495)](_0x2eb876,_0x3b8023);_0x35ade2[_0x2eb876]||(_0x35ade2[_0x2eb876]={}),_0x35ade2[_0x2eb876][_0x3b8023]={..._0x10fc70,'s':_0x41e4a7};}let _0x3ce7ad=0x1;const _0x3972ec={},_0xa57479={};_0x474b86['forRow']((_0x258467,_0x54ede7)=>{_0x54ede7['forEach'](_0x5ae22e=>{const _0x42ef7d=_0x416f,_0x1f9be7=_0x474b86[_0x42ef7d(0x22b)](_0x258467,_0x5ae22e);if(_0x35ade2[_0x3ce7ad]||(_0x35ade2[_0x3ce7ad]={}),_0x35ade2[_0x3ce7ad][_0x5ae22e]={..._0x1f9be7,'s':_0x3ce7ad%0x2===0x0?_0x13fc76:_0x15d2b0},_0x5b2722[_0x5ae22e]&&_0x258467>=0x0){const _0x151b36=_0x3ce7ad%0x2===0x0;let _0x1c1cea=_0x151b36?_0xa57479[_0x5ae22e]:_0x3972ec[_0x5ae22e];_0x1c1cea||(_0x1c1cea=_0x2c359c[_0x42ef7d(0x2f6)]()[_0x42ef7d(0x28c)]({..._0x151b36?_0x348966:_0x4b40b4,'n':{'pattern':_0x5b2722[_0x5ae22e]}}),_0x151b36?_0xa57479[_0x5ae22e]=_0x1c1cea:_0x3972ec[_0x5ae22e]=_0x1c1cea),_0x35ade2[_0x3ce7ad][_0x5ae22e]['s']=_0x1c1cea;}}),_0x3ce7ad++;});const _0xc78347=new _0x3500ba[(_0x408a98(0x4f9))](_0x35ade2),_0x3f09f7={};_0xc78347[_0x408a98(0x21a)]((_0x1ef96f,_0x963eda,_0x3980a7)=>{_0x3f09f7[_0x1ef96f]||(_0x3f09f7[_0x1ef96f]={}),_0x3f09f7[_0x1ef96f][_0x963eda]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x13a649=[],_0x322e10=[],_0x3adc93=_0x2c359c['getSheets']()[_0x408a98(0x2a7)],_0x261aeb=_0x3500ba[_0x408a98(0x3ff)]({'rowCount':Math[_0x408a98(0x31a)](_0x3500ba[_0x408a98(0x4f7)],_0x249ecf+0xa),'columnCount':Math[_0x408a98(0x31a)](_0x3500ba[_0x408a98(0x402)],_0x1cffbb+0x5)}),_0x18a9ef=_0x59f128[_0x408a98(0x445)](_0x3500ba[_0x408a98(0x426)]);_0x261aeb['id']=_0x3500ba[_0x408a98(0x22e)](),_0x261aeb[_0x408a98(0x2c9)]=_0x2c359c[_0x408a98(0x42c)](''+_0x18a9ef['t']('sheets.tabs.sheet'));const _0x2f255a={'index':_0x3adc93,'sheet':_0x261aeb,'unitId':_0x4b7293},_0x13227b=_0x4ed168[_0x408a98(0x25e)](_0x59f128,_0x2f255a);_0x322e10[_0x408a98(0x206)]({'id':_0x4ed168['InsertSheetMutation']['id'],'params':_0x2f255a}),_0x13a649[_0x408a98(0x206)]({'id':_0x4ed168[_0x408a98(0x48f)]['id'],'params':_0x13227b}),_0x322e10['push']({'id':_0x4ed168[_0x408a98(0x453)]['id'],'params':{'unitId':_0x4b7293,'subUnitId':_0x261aeb['id'],'cellValue':_0x35ade2}}),_0x13a649['unshift']({'id':_0x4ed168['SetRangeValuesMutation']['id'],'params':{'unitId':_0x4b7293,'subUnitId':_0x261aeb['id'],'cellValue':_0x3f09f7}});const _0x531a5e={'startRow':0x0,'startColumn':0x0,'endRow':_0x3ce7ad-0x1,'endColumn':_0x4933ce};_0x322e10[_0x408a98(0x206)]({'id':_0x4acbec[_0x408a98(0x31c)]['id'],'params':{'unitId':_0x4b7293,'subUnitId':_0x261aeb['id'],'range':_0x531a5e}}),_0x13a649[_0x408a98(0x3bb)]({'id':_0x4acbec[_0x408a98(0x231)]['id'],'params':{'unitId':_0x4b7293,'subUnitId':_0x261aeb['id']}});const _0x4f0aac=_0x59f128[_0x408a98(0x445)](_0x3500ba[_0x408a98(0x496)]);return _0x3500ba[_0x408a98(0x258)](_0x322e10,_0x4f0aac)&&_0x59f128[_0x408a98(0x445)](_0x3500ba[_0x408a98(0x257)])[_0x408a98(0x38c)]({'unitID':_0x4b7293,'undoMutations':_0x13a649,'redoMutations':_0x322e10}),!0x0;}},_0x2f1f09={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x4fe),async 'handler'(_0xbcfef0,_0x569b1f){const _0xd965b2=_0x4d8b64;if(!_0x569b1f)return!0x1;const _0x31872f=_0xbcfef0['get'](_0x3500ba['ICommandService']),_0x43c24c=_0xbcfef0[_0xd965b2(0x445)](_0x1f8e23['SheetsPivotRPCService']),_0x22fb2f=_0xbcfef0[_0xd965b2(0x445)](_0x3500ba[_0xd965b2(0x257)]),{pivotTableId:_0x188918,fieldIds:_0x35d793,unitId:_0x51d2ff,subUnitId:_0xc4032d}=_0x569b1f,_0x14e560=(await _0x43c24c[_0xd965b2(0x38f)]({'unitId':_0x51d2ff,'subUnitId':_0xc4032d,'pivotTableId':_0x188918,'params':{'type':_0xe8beec[_0xd965b2(0x281)],'removePivotField':{'fieldIds':_0x35d793}}}))[_0xd965b2(0x4dd)][_0xd965b2(0x240)];if(!_0x14e560)return!0x1;const {view:_0x91865e,changesets:_0x26a765,isEmpty:_0x1d71d6,pivotTableConfig:_0x144831}=_0x14e560,_0x117b90=_0x144831[_0xd965b2(0x32a)],_0xe847f1=new _0x2aa645[(_0xd965b2(0x4fb))]();_0xe847f1[_0xd965b2(0x1fb)](_0x91865e);const _0x48b895={'cellInfo':_0x117b90,'view':_0xe847f1,'isEmpty':_0x1d71d6};if(!await _0xbcfef0[_0xd965b2(0x445)](_0x1f8e23['SheetsPivotTableService'])[_0xd965b2(0x303)]['fetchThroughAsyncInterceptors'](_0x45298b)(!0x0,_0x48b895))return!0x1;const _0x5837c0=_0x1888d8(_0xbcfef0,_0xe847f1,_0x117b90,_0x1d71d6),_0x5a4d1f=_0xe168b8(_0xbcfef0,_0x48b895),{redos:_0x10f369,undos:_0x148611}=_0x57eba8(_0x31872f,{'pivotTableId':_0x188918,'unitId':_0x51d2ff,'subUnitId':_0xc4032d},_0x26a765);return _0x3500ba['sequenceExecute']([..._0x5837c0[_0xd965b2(0x21f)],..._0x5a4d1f[_0xd965b2(0x21f)],..._0x10f369],_0x31872f),_0x22fb2f[_0xd965b2(0x38c)]({'unitID':_0x51d2ff,'redoMutations':[..._0x5837c0[_0xd965b2(0x21f)],..._0x5a4d1f[_0xd965b2(0x21f)],..._0x10f369],'undoMutations':[..._0x5837c0[_0xd965b2(0x42f)],..._0x5a4d1f['undos'],..._0x148611]}),!0x0;}},_0x179310={'type':_0x3500ba['CommandType'][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x2ca),async 'handler'(_0x45130b,_0x45765c){const _0x326b99=_0x4d8b64;if(!_0x45765c)return!0x1;const _0x27b759=_0x45130b[_0x326b99(0x445)](_0x3500ba['ICommandService']),_0x1e2ca8=_0x45130b[_0x326b99(0x445)](_0x3500ba['IUndoRedoService']),_0x5aca16=_0x45130b[_0x326b99(0x445)](_0x1f8e23[_0x326b99(0x411)]),{resetArea:_0x1cf548,pivotTableId:_0x563092,unitId:_0x200d12,subUnitId:_0x5c5337}=_0x45765c,_0x4409a2=(await _0x5aca16[_0x326b99(0x38f)]({'unitId':_0x200d12,'subUnitId':_0x5c5337,'pivotTableId':_0x563092,'params':{'type':_0xe8beec[_0x326b99(0x476)],'resetPivotTable':{'pivotTableId':_0x563092,'resetArea':_0x1cf548}}}))[_0x326b99(0x4dd)]['resetPivotTable'];if(!_0x4409a2)return!0x1;const {changesets:_0x333423}=_0x4409a2,{redos:_0x4a5bd3,undos:_0x110f2c}=_0x57eba8(_0x27b759,{'pivotTableId':_0x563092,'unitId':_0x200d12,'subUnitId':_0x5c5337},_0x333423);return _0x3500ba['sequenceExecute'](_0x4a5bd3,_0x27b759),_0x1e2ca8[_0x326b99(0x38c)]({'unitID':_0x200d12,'redoMutations':_0x4a5bd3,'undoMutations':_0x110f2c}),!0x0;}},_0x435010={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x35c879,_0x2aa11e){const _0x2dc8ef=_0x4d8b64,_0x57e22a=_0x35c879[_0x2dc8ef(0x445)](_0x3500ba[_0x2dc8ef(0x496)]),_0x287dac=_0x35c879[_0x2dc8ef(0x445)](_0x1f8e23[_0x2dc8ef(0x411)]),_0x4776a4=_0x35c879[_0x2dc8ef(0x445)](_0x1f8e23[_0x2dc8ef(0x39c)]),_0x223a9f=_0x35c879[_0x2dc8ef(0x445)](_0x3500ba[_0x2dc8ef(0x3c9)]),_0x36a9e7=_0x35c879['get'](_0x3500ba[_0x2dc8ef(0x426)]),_0x3f66b1=_0x35c879[_0x2dc8ef(0x445)](_0x3500ba[_0x2dc8ef(0x257)]);if(!_0x2aa11e)return!0x1;const {unitId:_0x52bf24,subUnitId:_0x68b79d,row:_0x279e52,col:_0x2db636,collapse:_0x11e157}=_0x2aa11e,_0x60cfab=_0x223a9f[_0x2dc8ef(0x383)](_0x52bf24);if(!_0x60cfab||!_0x60cfab[_0x2dc8ef(0x3fd)](_0x68b79d))return!0x1;const _0x5c5840=_0x4776a4['getPivotTableIdByCell'](_0x52bf24,_0x68b79d,_0x279e52,_0x2db636);if(!_0x5c5840)return!0x1;const _0xdc7a42=_0x4776a4[_0x2dc8ef(0x2e7)](_0x52bf24,_0x68b79d,_0x5c5840);if(!_0xdc7a42)return!0x1;const _0x3a11bb=_0x3500ba[_0x2dc8ef(0x368)](_0x279e52,_0x2db636),{rangesInfo:_0x43648e,areaInfo:_0x5d6161,headerMap:_0x8bd0d3}=_0xdc7a42;if(!_0x43648e||!_0x5d6161||!_0x8bd0d3)return!0x1;const _0x145569=Object[_0x2dc8ef(0x27f)](_0x43648e)[_0x2dc8ef(0x4e3)](_0x17a0fe=>_0x43648e[_0x17a0fe][_0x2dc8ef(0x246)](_0x45ae19=>_0x3500ba[_0x2dc8ef(0x2c1)][_0x2dc8ef(0x492)](_0x45ae19,_0x3a11bb)));let _0x4352be;_0x145569===_0x2dc8ef(0x21c)?_0x4352be=_0x8bd0d3[_0x2dc8ef(0x4fd)][_0x2db636]:_0x145569===_0x2dc8ef(0x48e)&&(_0x4352be=_0x8bd0d3['colHeaderMap'][_0x279e52]);const _0x279100=_0x4352be==null?void 0x0:_0x4352be[_0x2dc8ef(0x34d)],_0x303eb7=_0x4776a4[_0x2dc8ef(0x29e)](_0x52bf24,_0x68b79d,_0x279e52,_0x2db636);let _0x504c1a=_0x303eb7==null?void 0x0:_0x303eb7['v'];if(_0x504c1a===_0x36a9e7['t'](_0x2dc8ef(0x1e5))&&(_0x504c1a=_0x2aa645[_0x2dc8ef(0x4f8)][_0x2dc8ef(0x250)]),_0x504c1a==null||!_0x5c5840||!_0x279100)return!0x1;const _0x1413a8=await _0x287dac['getPivotDisplayConfig']({'unitId':_0x52bf24,'subUnitId':_0x68b79d,'pivotTableId':_0x5c5840,'params':{'type':_0xe8beec[_0x2dc8ef(0x487)],'setPivotCollapse':{'tableFieldId':_0x279100,'collapse':_0x11e157,'item':_0x504c1a}}}),_0x283fa1=_0x1413a8==null?void 0x0:_0x1413a8[_0x2dc8ef(0x4dd)][_0x2dc8ef(0x4c5)];if(!_0x283fa1)return!0x1;const {view:_0x345d62,pivotTableConfig:_0x2d845c,isEmpty:_0xf0c07d,changesets:_0x5b105d}=_0x283fa1,_0xe7970a=new _0x2aa645[(_0x2dc8ef(0x4fb))]();_0xe7970a['formJSON'](_0x345d62);const _0xed2b8=_0x2d845c[_0x2dc8ef(0x32a)],_0xc93982={'cellInfo':_0xed2b8,'view':_0xe7970a,'isEmpty':_0xf0c07d};if(!await _0x35c879[_0x2dc8ef(0x445)](_0x1f8e23[_0x2dc8ef(0x41f)])[_0x2dc8ef(0x303)][_0x2dc8ef(0x450)](_0x45298b)(!0x0,_0xc93982))return!0x1;const _0x5247b4=_0x1888d8(_0x35c879,_0xe7970a,_0xed2b8,_0xf0c07d),_0x5e8f6d=_0xe168b8(_0x35c879,_0xc93982),{redos:_0x318f28,undos:_0x1d63dc}=_0x57eba8(_0x57e22a,{'pivotTableId':_0x5c5840,'unitId':_0x52bf24,'subUnitId':_0x68b79d},_0x5b105d);return _0x3500ba[_0x2dc8ef(0x258)]([..._0x5247b4[_0x2dc8ef(0x21f)],..._0x5e8f6d[_0x2dc8ef(0x21f)],..._0x318f28],_0x57e22a),_0x3f66b1[_0x2dc8ef(0x38c)]({'unitID':_0x52bf24,'redoMutations':[..._0x5247b4[_0x2dc8ef(0x21f)],..._0x5e8f6d[_0x2dc8ef(0x21f)],..._0x318f28],'undoMutations':[..._0x5247b4['undos'],..._0x5e8f6d['undos'],..._0x1d63dc]}),!0x0;}},_0x3a1bdf={'type':_0x3500ba['CommandType'][_0x4d8b64(0x4b4)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x6a80f6,_0x2f360c){const _0x56f012=_0x4d8b64;if(!_0x2f360c)return!0x1;const _0x405781=_0x6a80f6[_0x56f012(0x445)](_0x3500ba[_0x56f012(0x496)]),_0x2394be=_0x6a80f6[_0x56f012(0x445)](_0x3500ba[_0x56f012(0x257)]),_0x3fcf0c=_0x6a80f6[_0x56f012(0x445)](_0x1f8e23[_0x56f012(0x411)]),{pivotTableConfig:_0xd6acf4,pivotTableId:_0x3ba900,unitId:_0x20c398,subUnitId:_0x578a58}=_0x2f360c,_0x15b5d1=(await _0x3fcf0c[_0x56f012(0x38f)]({'unitId':_0x20c398,'subUnitId':_0x578a58,'pivotTableId':_0x3ba900,'params':{'type':_0xe8beec['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x3ba900,'pivotTableConfig':_0xd6acf4}}}))[_0x56f012(0x4dd)][_0x56f012(0x2bd)];if(!_0x15b5d1)return!0x1;const {changesets:_0x2631d2}=_0x15b5d1,{redos:_0x339720,undos:_0xddd367}=_0x57eba8(_0x405781,{'pivotTableId':_0x3ba900,'unitId':_0x20c398,'subUnitId':_0x578a58},_0x2631d2);return _0x3500ba[_0x56f012(0x258)](_0x339720,_0x405781),_0x2394be[_0x56f012(0x38c)]({'unitID':_0x20c398,'redoMutations':_0x339720,'undoMutations':_0xddd367}),!0x0;}},_0x551394={'type':_0x3500ba[_0x4d8b64(0x44a)]['COMMAND'],'id':_0x4d8b64(0x43a),async 'handler'(_0x1ee73a,_0x2d65db){const _0x382a77=_0x4d8b64;if(!_0x2d65db)return!0x1;const _0x1c5ac5=_0x1ee73a[_0x382a77(0x445)](_0x3500ba[_0x382a77(0x496)]),{pivotTableId:_0x245eb7,tableFieldId:_0x33d55c,items:_0x1a5b28,unitId:_0x122296,subUnitId:_0x12a70f,isAll:_0x10431f}=_0x2d65db,_0x17d1fd=_0x1ee73a[_0x382a77(0x445)](_0x1f8e23[_0x382a77(0x411)]),_0x3a18b7=_0x1ee73a[_0x382a77(0x445)](_0x3500ba[_0x382a77(0x257)]),_0x19cc29=(await _0x17d1fd[_0x382a77(0x38f)]({'unitId':_0x122296,'subUnitId':_0x12a70f,'pivotTableId':_0x245eb7,'params':{'type':_0xe8beec[_0x382a77(0x32b)],'setPivotFilter':{'tableFieldId':_0x33d55c,'items':_0x1a5b28,'isAll':_0x10431f}}}))[_0x382a77(0x4dd)][_0x382a77(0x382)];if(!_0x19cc29)return!0x1;const {changesets:_0x1ce417,pivotTableConfig:_0x7f3821,isEmpty:_0x9f661,view:_0x204454}=_0x19cc29,_0x38f9ae=_0x7f3821[_0x382a77(0x32a)],_0x226291=new _0x2aa645['PivotView']();_0x226291[_0x382a77(0x1fb)](_0x204454);const _0x3bad40={'cellInfo':_0x38f9ae,'view':_0x226291,'isEmpty':_0x9f661};if(!await _0x1ee73a[_0x382a77(0x445)](_0x1f8e23[_0x382a77(0x41f)])[_0x382a77(0x303)][_0x382a77(0x450)](_0x45298b)(!0x0,_0x3bad40))return!0x1;const _0x3e9e5c=_0x1888d8(_0x1ee73a,_0x226291,_0x38f9ae,_0x9f661),_0xc05f93=_0xe168b8(_0x1ee73a,_0x3bad40),{undos:_0x1cb059,redos:_0x49efbc}=_0x57eba8(_0x1c5ac5,{'pivotTableId':_0x245eb7,'unitId':_0x122296,'subUnitId':_0x12a70f},_0x1ce417);return _0x3500ba['sequenceExecute']([..._0x3e9e5c[_0x382a77(0x21f)],..._0xc05f93['redos'],..._0x49efbc],_0x1c5ac5),_0x3a18b7[_0x382a77(0x38c)]({'unitID':_0x122296,'redoMutations':[..._0x3e9e5c['redos'],..._0xc05f93[_0x382a77(0x21f)],..._0x49efbc],'undoMutations':[..._0x3e9e5c[_0x382a77(0x42f)],..._0xc05f93['undos'],..._0x1cb059]}),!0x0;}},_0x5ae5f7={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x245),async 'handler'(_0x3cc5ad,_0x525241){const _0x1cb8c0=_0x4d8b64;if(!_0x525241)return!0x1;const _0xb095aa=_0x3cc5ad[_0x1cb8c0(0x445)](_0x3500ba[_0x1cb8c0(0x496)]),_0x24dfbc=_0x3cc5ad[_0x1cb8c0(0x445)](_0x3500ba[_0x1cb8c0(0x257)]),_0x45a643=_0x3cc5ad[_0x1cb8c0(0x445)](_0x1f8e23[_0x1cb8c0(0x411)]),{info:_0x518883,tableFieldId:_0x2acefd,pivotTableId:_0x1bad27,unitId:_0x3a1dde,subUnitId:_0x3bf7da}=_0x525241,_0x134c00=(await _0x45a643[_0x1cb8c0(0x38f)]({'unitId':_0x3a1dde,'subUnitId':_0x3bf7da,'pivotTableId':_0x1bad27,'params':{'type':_0xe8beec[_0x1cb8c0(0x4d7)],'setPivotSort':{'tableFieldId':_0x2acefd,'info':_0x518883}}}))[_0x1cb8c0(0x4dd)]['setPivotSort'];if(!_0x134c00)return!0x1;const {changesets:_0x5bb7d4}=_0x134c00,{redos:_0x4a4bcf,undos:_0x256ba6}=_0x57eba8(_0xb095aa,{'pivotTableId':_0x1bad27,'unitId':_0x3a1dde,'subUnitId':_0x3bf7da},_0x5bb7d4);return _0x3500ba['sequenceExecute'](_0x4a4bcf,_0xb095aa),_0x24dfbc[_0x1cb8c0(0x38c)]({'unitID':_0x3a1dde,'redoMutations':_0x4a4bcf,'undoMutations':_0x256ba6}),!0x0;}},_0x345106={'type':_0x3500ba['CommandType'][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x23b),async 'handler'(_0x1caa0d,_0x3ae26a){const _0x4455e8=_0x4d8b64;if(!_0x3ae26a)return!0x1;const _0xd806b9=_0x1caa0d[_0x4455e8(0x445)](_0x3500ba[_0x4455e8(0x496)]),{pivotTableId:_0x36ae58,fieldId:_0x2b6d00,valueFilterInfo:_0x5b3027,unitId:_0x668b1b,subUnitId:_0x333efc}=_0x3ae26a,_0x5a3013=_0x1caa0d[_0x4455e8(0x445)](_0x1f8e23['SheetsPivotRPCService']),_0x911951=_0x1caa0d[_0x4455e8(0x445)](_0x3500ba[_0x4455e8(0x257)]),_0x42646d=(await _0x5a3013[_0x4455e8(0x38f)]({'unitId':_0x668b1b,'subUnitId':_0x333efc,'pivotTableId':_0x36ae58,'params':{'type':_0xe8beec['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x2b6d00,'filterInfo':_0x5b3027}}}))[_0x4455e8(0x4dd)][_0x4455e8(0x436)];if(!_0x42646d)return!0x1;const {changesets:_0x9471bb,pivotTableConfig:_0x42bd84,isEmpty:_0x247cf5,view:_0x5536bf}=_0x42646d,_0x1e7126=_0x42bd84[_0x4455e8(0x32a)],_0x4e3ae1=new _0x2aa645[(_0x4455e8(0x4fb))]();_0x4e3ae1['formJSON'](_0x5536bf);const _0x58e47c={'cellInfo':_0x1e7126,'view':_0x4e3ae1,'isEmpty':_0x247cf5};if(!await _0x1caa0d[_0x4455e8(0x445)](_0x1f8e23[_0x4455e8(0x41f)])[_0x4455e8(0x303)]['fetchThroughAsyncInterceptors'](_0x45298b)(!0x0,_0x58e47c))return!0x1;const _0x368035=_0x1888d8(_0x1caa0d,_0x4e3ae1,_0x1e7126,_0x247cf5),_0x25be61=_0xe168b8(_0x1caa0d,_0x58e47c),{undos:_0x33362b,redos:_0x4aca27}=_0x57eba8(_0xd806b9,{'pivotTableId':_0x36ae58,'unitId':_0x668b1b,'subUnitId':_0x333efc},_0x9471bb);return _0x3500ba[_0x4455e8(0x258)]([..._0x368035['redos'],..._0x25be61[_0x4455e8(0x21f)],..._0x4aca27],_0xd806b9),_0x911951[_0x4455e8(0x38c)]({'unitID':_0x668b1b,'redoMutations':[..._0x368035[_0x4455e8(0x21f)],..._0x25be61[_0x4455e8(0x21f)],..._0x4aca27],'undoMutations':[..._0x368035[_0x4455e8(0x42f)],..._0x25be61[_0x4455e8(0x42f)],..._0x33362b]}),!0x0;}},_0x1a1c37={'id':'sheet.mutation.update-date-group','type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'handler':(_0x18c82c,_0x442aec)=>{const _0x337c47=_0x4d8b64;if(!_0x442aec)return!0x1;if(!!_0x18c82c['get'](_0x3500ba[_0x337c47(0x38d)])[_0x337c47(0x4c6)](_0x385e31))return!0x0;const {unitId:_0x5685b8,subUnitId:_0x4bd6be,pivotTableId:_0x22ad03,tableFieldId:_0x5ddcb5,dateType:_0x2529da}=_0x442aec,_0x216957=_0x18c82c[_0x337c47(0x445)](_0x1f8e23[_0x337c47(0x267)]),_0x13fa0f=_0x216957[_0x337c47(0x45b)](_0x22ad03);if(!_0x13fa0f)return!0x1;const _0x212683=_0x13fa0f['getDataFieldByTableId'](_0x5ddcb5);if(!_0x212683)return!0x1;const _0x175cac=_0x212683[_0x337c47(0x289)](),_0x33e219=_0x13fa0f['getDataFieldByDataFieldId'](_0x175cac),_0x4e002d=(_0x33e219==null?void 0x0:_0x33e219[_0x337c47(0x3b3)]())+'\x20'+_0x51607e(_0x18c82c,_0x2529da);_0x216957[_0x337c47(0x2d9)](_0x5685b8,_0x22ad03)[_0x337c47(0x2e6)](_0x212683['id'],_0x4e002d);const _0x1e8a65=_0x13fa0f[_0x337c47(0x2aa)](_0x5ddcb5);if(!_0x1e8a65)return!0x1;_0x13fa0f['renameField'](_0x1e8a65[_0x337c47(0x2be)](),_0x4e002d),_0x212683[_0x337c47(0x43e)](_0x2529da);const _0x3d18d2=_0x216957['getPivotTableConfig'](_0x5685b8,_0x4bd6be,_0x22ad03);return _0x216957[_0x337c47(0x4e2)]({'unitId':_0x5685b8,'subUnitId':_0x4bd6be,'token':_0x22ad03,'type':_0x12b936[_0x337c47(0x473)],'pivotConfig':_0x3d18d2}),!0x0;}},_0x2dea0={'id':_0x4d8b64(0x424),'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'handler':(_0x302e1b,_0x397f86)=>{const _0x328c75=_0x4d8b64;if(!_0x397f86)return!0x1;const _0x20e494=_0x302e1b[_0x328c75(0x445)](_0x3500ba[_0x328c75(0x257)]),{unitId:_0x2e0d50,subUnitId:_0x137fa1,pivotTableId:_0x4e3369,tableFieldId:_0x10e0eb}=_0x397f86,_0x4adf6b=[],_0x96563e=[],_0x2059de=_0x302e1b['get'](_0x1f8e23[_0x328c75(0x2e0)]),_0x9605c5=_0x2059de[_0x328c75(0x2d9)](_0x2e0d50,_0x4e3369),_0x47e80b=_0x2059de[_0x328c75(0x315)](_0x2e0d50,_0x137fa1,_0x4e3369);if(!(_0x47e80b!=null&&_0x47e80b[_0x328c75(0x499)][_0x328c75(0x2ee)]))return!0x1;const _0x5b2525=Object['values'](_0x47e80b[_0x328c75(0x499)][_0x328c75(0x2ee)])['find'](_0x1ffec8=>_0x1ffec8['id']===_0x10e0eb);if(!_0x5b2525)return!0x1;const _0x1a2b36=_0x5b2525[_0x328c75(0x1f8)];if(!(_0x9605c5!=null&&_0x9605c5['fields']))return!0x1;const _0x58fa6a=Object['values'](_0x9605c5==null?void 0x0:_0x9605c5[_0x328c75(0x3ef)])['find'](_0x5dd99b=>_0x5dd99b['id']===_0x1a2b36);if(!_0x58fa6a)return!0x1;_0x2aa645['isDateGroupFieldJSON'](_0x58fa6a)&&_0x4adf6b[_0x328c75(0x206)]({'id':_0x1a1c37['id'],'params':{..._0x397f86,'dateType':_0x58fa6a['dateType']}}),_0x96563e['push']({'id':_0x1a1c37['id'],'params':{..._0x397f86}});const _0x2c17c2=_0x302e1b[_0x328c75(0x445)](_0x3500ba[_0x328c75(0x496)]);return _0x3500ba[_0x328c75(0x258)](_0x96563e,_0x2c17c2)&&_0x20e494['pushUndoRedo']({'unitID':_0x2e0d50,'undoMutations':_0x4adf6b,'redoMutations':_0x96563e}),!0x0;}},_0x1a71fd={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x312),async 'handler'(_0x4be6de,_0x3f8bb8){const _0x5c93bb=_0x4d8b64;if(!_0x3f8bb8)return!0x1;const _0x6e8f5c=_0x4be6de['get'](_0x3500ba[_0x5c93bb(0x496)]),_0x245ef5=_0x4be6de['get'](_0x3500ba[_0x5c93bb(0x257)]),_0x55a72a=_0x4be6de[_0x5c93bb(0x445)](_0x1f8e23[_0x5c93bb(0x411)]),{displayName:_0x462b94,subtotalType:_0x41e34f,format:_0x413e9f,tableFieldId:_0x184b25,pivotTableId:_0x2c0dba,unitId:_0xee7793,subUnitId:_0x58a5c0}=_0x3f8bb8,_0x23ec70=(await _0x55a72a[_0x5c93bb(0x38f)]({'unitId':_0xee7793,'subUnitId':_0x58a5c0,'pivotTableId':_0x2c0dba,'params':{'type':_0xe8beec['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x184b25,'displayName':_0x462b94,'subtotalType':_0x41e34f,'format':_0x413e9f}}}))[_0x5c93bb(0x4dd)]['setPivotSetting'];if(!_0x23ec70)return!0x1;const {changesets:_0x255c5a,view:_0x394bb0,pivotTableConfig:_0x708a6c,isEmpty:_0x491cb9}=_0x23ec70,_0x1da8ba=_0x708a6c[_0x5c93bb(0x32a)],_0x56dd67=new _0x2aa645[(_0x5c93bb(0x4fb))]();_0x56dd67[_0x5c93bb(0x1fb)](_0x394bb0);const _0x48f08f={'cellInfo':_0x1da8ba,'view':_0x56dd67,'isEmpty':_0x491cb9};if(!await _0x4be6de['get'](_0x1f8e23[_0x5c93bb(0x41f)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x45298b)(!0x0,_0x48f08f))return!0x1;const _0x22dd95=_0x1888d8(_0x4be6de,_0x56dd67,_0x1da8ba,_0x491cb9),_0x1f98a2=_0xe168b8(_0x4be6de,_0x48f08f),{undos:_0x444142,redos:_0x74a6e8}=_0x57eba8(_0x6e8f5c,{'pivotTableId':_0x2c0dba,'unitId':_0xee7793,'subUnitId':_0x58a5c0},_0x255c5a);return _0x3500ba['sequenceExecute']([..._0x22dd95[_0x5c93bb(0x21f)],..._0x1f98a2[_0x5c93bb(0x21f)],..._0x74a6e8],_0x6e8f5c),_0x245ef5[_0x5c93bb(0x38c)]({'unitID':_0xee7793,'redoMutations':[..._0x22dd95[_0x5c93bb(0x21f)],..._0x1f98a2[_0x5c93bb(0x21f)],..._0x74a6e8],'undoMutations':[..._0x22dd95[_0x5c93bb(0x42f)],..._0x1f98a2[_0x5c93bb(0x42f)],..._0x444142]}),!0x0;}},_0x66bc5e={'type':_0x3500ba['CommandType'][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x4d3),'handler'(_0x58579a,_0x376017){const _0x196581=_0x4d8b64;if(!_0x376017)return!0x1;if(!!_0x58579a['get'](_0x3500ba[_0x196581(0x38d)])['getConfig'](_0x385e31))return!0x0;const _0x563d00=_0x58579a[_0x196581(0x445)](_0x1f8e23[_0x196581(0x267)]),{pivotTableId:_0x17a192,deleteIds:_0x1bf945,collectionJSON:_0x4268a2,dataRangeInfo:_0x4e8ea5,unitId:_0x3a3475,subUnitId:_0x24289e}=_0x376017,_0x528e5a=_0x563d00[_0x196581(0x45b)](_0x17a192),_0x2dcb4b=_0x563d00[_0x196581(0x315)](_0x3a3475,_0x24289e,_0x17a192);if(!_0x528e5a||!_0x2dcb4b)return!0x1;const {collection:_0x346b8a,updateDataFieldList:_0x4026c8}=_0x563d00[_0x196581(0x31f)](_0x17a192,_0x4268a2,_0x4e8ea5,_0x2dcb4b['targetCellInfo']);_0x563d00[_0x196581(0x479)](_0x346b8a,_0x4026c8,_0x4e8ea5),_0x528e5a[_0x196581(0x4e4)](_0x346b8a);for(const _0x3b8971 of _0x1bf945)_0x563d00[_0x196581(0x275)](_0x4e8ea5[_0x196581(0x3e1)],_0x3b8971);const _0x4362d7=_0x563d00['getPivotTableConfig'](_0x3a3475,_0x24289e,_0x17a192);return _0x4362d7[_0x196581(0x3b2)]=JSON[_0x196581(0x4eb)](JSON['stringify'](_0x4e8ea5)),_0x563d00[_0x196581(0x4e2)]({'unitId':_0x3a3475,'subUnitId':_0x24289e,'token':_0x17a192,'type':_0x12b936[_0x196581(0x473)]}),!0x0;}},_0x20c7b2={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x4b4)],'id':_0x4d8b64(0x3ac),async 'handler'(_0x4085fe,_0x58a9b1){const _0x5165f6=_0x4d8b64,_0x32981d=_0x4085fe[_0x5165f6(0x445)](_0x3500ba[_0x5165f6(0x496)]),_0x361515=_0x4085fe[_0x5165f6(0x445)](_0x1f8e23[_0x5165f6(0x411)]),_0x449443=_0x4085fe[_0x5165f6(0x445)](_0x3500ba['IUndoRedoService']);if(!_0x58a9b1)return!0x1;const {token:_0x413b2a,dataRangeInfo:_0x32a2da,unitId:_0x4e55da,subUnitId:_0x9aed1d}=_0x58a9b1,_0x57eb77=[],_0xa904a=[],_0x1dc5ce=(await _0x361515['getPivotDisplayConfig']({'unitId':_0x4e55da,'subUnitId':_0x9aed1d,'pivotTableId':_0x413b2a,'params':{'type':_0xe8beec['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x32a2da,'unitId':_0x4e55da,'subUnitId':_0x9aed1d}}}))['result']['updatePivotSource'];if(!_0x1dc5ce)return!0x1;const {changesets:_0x2d3d9f,deleteIds:_0xa40ec6,collectionConfig:_0xef611d,oldCollectionConfig:_0x21136b,view:_0x1a2431,isEmpty:_0x5c0a3f,pivotTableConfig:_0x55055c}=_0x1dc5ce;_0xa904a[_0x5165f6(0x206)]({'id':_0x66bc5e['id'],'params':{'pivotTableId':_0x413b2a,'deleteIds':_0xa40ec6,'collectionJSON':_0xef611d,'dataRangeInfo':_0x32a2da,'unitId':_0x4e55da,'subUnitId':_0x9aed1d}}),_0x57eb77['unshift']({'id':_0x66bc5e['id'],'params':{'pivotTableId':_0x413b2a,'deleteIds':[],'collectionJSON':_0x21136b,'dataRangeInfo':_0x55055c['sourceRangeInfo'],'unitId':_0x4e55da,'subUnitId':_0x9aed1d}});const _0x5b67de=_0x55055c[_0x5165f6(0x32a)],_0x58dfe1=new _0x2aa645[(_0x5165f6(0x4fb))]();_0x58dfe1[_0x5165f6(0x1fb)](_0x1a2431);const _0x521d75={'cellInfo':_0x5b67de,'view':_0x58dfe1,'isEmpty':_0x5c0a3f};if(!await _0x4085fe[_0x5165f6(0x445)](_0x1f8e23[_0x5165f6(0x41f)])[_0x5165f6(0x303)][_0x5165f6(0x450)](_0x45298b)(!0x0,_0x521d75))return!0x1;const _0x196b99=_0x1888d8(_0x4085fe,_0x58dfe1,_0x5b67de,_0x5c0a3f),_0x5f4634=_0xe168b8(_0x4085fe,_0x521d75),{undos:_0x443913,redos:_0x461bb9}=_0x57eba8(_0x32981d,{'pivotTableId':_0x413b2a,'unitId':_0x4e55da,'subUnitId':_0x9aed1d},_0x2d3d9f);return _0x3500ba['sequenceExecute']([..._0x196b99[_0x5165f6(0x21f)],..._0x5f4634[_0x5165f6(0x21f)],..._0xa904a,..._0x443913],_0x32981d),_0x449443[_0x5165f6(0x38c)]({'unitID':_0x4e55da,'redoMutations':[..._0x196b99[_0x5165f6(0x21f)],..._0x5f4634['redos'],..._0xa904a,..._0x443913],'undoMutations':[..._0x196b99[_0x5165f6(0x42f)],..._0x5f4634[_0x5165f6(0x42f)],..._0x57eb77,..._0x461bb9]}),!0x0;}},_0x2d3784={'type':_0x3500ba[_0x4d8b64(0x44a)]['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x517cbe,_0x15943b){const _0x400a83=_0x4d8b64;if(!_0x15943b)return!0x1;const _0x406361=_0x517cbe[_0x400a83(0x445)](_0x3500ba[_0x400a83(0x496)]),_0x3039b4=_0x517cbe['get'](_0x1f8e23[_0x400a83(0x411)]),_0x399636=_0x517cbe[_0x400a83(0x445)](_0x3500ba['IUniverInstanceService']),_0x568b24=_0x517cbe[_0x400a83(0x445)](_0x3500ba[_0x400a83(0x257)]),{pivotTableId:_0x2bf210,position:_0x35066f,index:_0x220c1f}=_0x15943b,_0x5519f9=_0x4ed168[_0x400a83(0x3dc)](_0x399636);if(!_0x5519f9)return!0x1;const {unitId:_0x3a03a4,subUnitId:_0x496ce4}=_0x5519f9,_0x4b4ca8=(await _0x3039b4[_0x400a83(0x38f)]({'unitId':_0x3a03a4,'subUnitId':_0x496ce4,'pivotTableId':_0x2bf210,'params':{'type':_0xe8beec[_0x400a83(0x388)],'updateValuePosition':{'position':_0x35066f,'index':_0x220c1f}}}))[_0x400a83(0x4dd)][_0x400a83(0x230)];if(!_0x4b4ca8)return!0x1;const {changesets:_0x11c141,view:_0x5b1975,isEmpty:_0x345f71,pivotTableConfig:_0xe4e2f4}=_0x4b4ca8,_0x4365ce=_0xe4e2f4[_0x400a83(0x32a)],_0x1c8c85=new _0x2aa645[(_0x400a83(0x4fb))]();_0x1c8c85[_0x400a83(0x1fb)](_0x5b1975);const _0x3b97a9=_0x517cbe[_0x400a83(0x445)](_0x1f8e23['SheetsPivotTableService']),_0xc0b311={'cellInfo':_0x4365ce,'view':_0x1c8c85,'isEmpty':_0x345f71};if(!await _0x3b97a9[_0x400a83(0x303)][_0x400a83(0x450)](_0x45298b)(!0x0,_0xc0b311))return!0x1;const _0x5e90b2=_0x1888d8(_0x517cbe,_0x1c8c85,_0x4365ce,_0x345f71),_0x59f840=_0xe168b8(_0x517cbe,_0xc0b311),{undos:_0x26b416,redos:_0x56e237}=_0x57eba8(_0x406361,{'pivotTableId':_0x2bf210,'unitId':_0x3a03a4,'subUnitId':_0x496ce4},_0x11c141);return _0x3500ba['sequenceExecute']([..._0x5e90b2[_0x400a83(0x21f)],..._0x59f840[_0x400a83(0x21f)],..._0x56e237],_0x406361),_0x568b24[_0x400a83(0x38c)]({'unitID':_0x3a03a4,'redoMutations':[..._0x5e90b2['redos'],..._0x59f840[_0x400a83(0x21f)],..._0x56e237],'undoMutations':[..._0x5e90b2[_0x400a83(0x42f)],..._0x59f840[_0x400a83(0x42f)],..._0x26b416]}),!0x0;}},_0x38af22={'type':_0x3500ba[_0x4d8b64(0x44a)][_0x4d8b64(0x1f6)],'id':_0x4d8b64(0x242),'handler'(){return!0x0;}};var _0x226d43=Object[_0x4d8b64(0x302)],_0x1651c6=(_0x4ac56e,_0x2154df,_0x38d8d7,_0x5c00ff)=>{const _0x3eccb4=_0x4d8b64;for(var _0x35cb1f=_0x5c00ff>0x1?void 0x0:_0x5c00ff?_0x226d43(_0x2154df,_0x38d8d7):_0x2154df,_0x22c740=_0x4ac56e[_0x3eccb4(0x2a7)]-0x1,_0x4a15da;_0x22c740>=0x0;_0x22c740--)(_0x4a15da=_0x4ac56e[_0x22c740])&&(_0x35cb1f=_0x4a15da(_0x35cb1f)||_0x35cb1f);return _0x35cb1f;},_0x55ab2a=(_0x50ddfd,_0x1daa9d)=>(_0x86692f,_0x2a8620)=>_0x1daa9d(_0x86692f,_0x2a8620,_0x50ddfd);const _0x1613c2=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x1b3cc6=(_0x458df7,_0x4f1557,_0x1bfe33)=>{const _0x25968f=_0x4d8b64,_0x4a2875=_0x458df7[_0x25968f(0x3c4)];_0x458df7[_0x25968f(0x417)](_0x21881e=>{const _0x2fe630=_0x25968f,_0x369ffc=_0x21881e[_0x2fe630(0x2be)](),_0x59f464=_0x21881e[_0x2fe630(0x305)](),_0x410e48=_0x21881e[_0x2fe630(0x4f2)](),_0x20fa21=_0x21881e[_0x2fe630(0x4bb)]();_0x4f1557[_0x59f464]&&_0x4f1557[_0x59f464]===_0x20fa21&&_0x410e48===_0x20fa21&&(_0x458df7[_0x2fe630(0x4f0)](_0x369ffc,_0x4a2875['getDisplayName'](_0x59f464)),_0x21881e[_0x2fe630(0x4b9)](_0x4a2875[_0x2fe630(0x4bb)](_0x59f464)));}),_0x458df7[_0x25968f(0x3fb)](_0x2aa645[_0x25968f(0x364)][_0x25968f(0x375)],_0x164585=>{const _0x4066c5=_0x25968f,_0x3ca0a8=_0x164585['getId'](),_0x594c1a=_0x164585[_0x4066c5(0x305)](),_0x3d1eb5=_0x164585[_0x4066c5(0x4f2)](),_0x528d5b=_0x164585[_0x4066c5(0x4bb)](),_0x1362aa=_0x164585['getSubtotal'](),_0x1de8e6=_0x1bfe33(_0x3d1eb5,_0x1362aa);_0x4f1557[_0x594c1a]&&_0x4f1557[_0x594c1a]===_0x3d1eb5&&_0x1de8e6===_0x528d5b&&(_0x458df7[_0x4066c5(0x4f0)](_0x3ca0a8,_0x1bfe33(_0x4a2875[_0x4066c5(0x4bb)](_0x594c1a),_0x1362aa)),_0x164585[_0x4066c5(0x4b9)](_0x4a2875[_0x4066c5(0x4bb)](_0x594c1a)));});},_0x561923=(_0x102450,_0x27363c,_0xad092e)=>{const _0x51ce3d=_0x4d8b64;var _0x425c9d,_0x2d9fa7;const {arrayFormulaCellData:_0x13e816,unitData:_0x3274bd}=_0x27363c,{unitId:_0x2d47bf,subUnitId:_0x481ae7}=_0xad092e,_0x13bcaa=_0xad092e[_0x51ce3d(0x392)],{startColumn:_0x551919,endColumn:_0x2dbaf4}=_0x13bcaa,_0x34b861=(_0x425c9d=_0x13e816==null?void 0x0:_0x13e816[_0x2d47bf])==null?void 0x0:_0x425c9d[_0x481ae7],_0x4f8471=(_0x2d9fa7=_0x3274bd==null?void 0x0:_0x3274bd[_0x2d47bf])==null?void 0x0:_0x2d9fa7[_0x481ae7],_0x26ea06=new Set(),_0x32a9a4=_0x2dbaf4-_0x551919+0x1,{dirtyRanges:_0x48d696}=_0x102450;if(_0x48d696)for(const {range:_0x2a3571,sheetId:_0x975c1b,unitId:_0x4ad7fe}of _0x48d696){if(_0x975c1b!==_0x481ae7||_0x2d47bf!==_0x4ad7fe)continue;const _0x33136c=_0x3500ba[_0x51ce3d(0x2c1)][_0x51ce3d(0x201)](_0x2a3571,_0x13bcaa);if(_0x33136c){const {startColumn:_0x4831a1,endColumn:_0x542ba0}=_0x33136c;for(let _0x5a1efa=_0x4831a1;_0x5a1efa<=_0x542ba0;_0x5a1efa++)_0x26ea06['add'](_0x5a1efa);}}if(_0x26ea06[_0x51ce3d(0x3c1)]===_0x32a9a4||_0x26ea06['size']===_0x32a9a4)return Array[_0x51ce3d(0x2bf)](_0x26ea06);if(_0x4f8471){const _0x306201=_0x4f8471['getMatrix'](),_0x451c76=Object['keys'](_0x306201);for(const _0xaf9d25 of _0x451c76){const _0xb22663=Number(_0xaf9d25),_0x156694=_0x306201[_0xb22663];if(_0x26ea06[_0x51ce3d(0x3c1)]===_0x32a9a4)break;for(const _0x5ad877 in _0x156694){const _0x9f99f9=Number(_0x5ad877);_0x9f99f9<_0x551919||_0x9f99f9>_0x2dbaf4||_0x26ea06[_0x51ce3d(0x36f)](_0x9f99f9);}}}if(_0x34b861){const _0x378d9e=_0x34b861[_0x51ce3d(0x3d1)](),_0x394ce3=Object['keys'](_0x378d9e);for(const _0x59cecd of _0x394ce3){const _0x1a6452=Number(_0x59cecd),_0x5249e7=_0x378d9e[_0x1a6452];if(_0x26ea06['size']===_0x32a9a4)break;for(const _0x1f57ce in _0x5249e7){const _0xc2a456=Number(_0x1f57ce);_0xc2a456<_0x551919||_0xc2a456>_0x2dbaf4||_0x26ea06[_0x51ce3d(0x36f)](_0xc2a456);}}}return Array['from'](_0x26ea06);},_0xdfb785=_0x4a1ba1=>{const _0x3883e6=_0x4d8b64,_0x8e5284=new Set(),_0x4bbed9=[];for(const _0xc31f5c of _0x4a1ba1){const _0x46afad=_0xc31f5c[_0x3883e6(0x4cb)]+','+_0xc31f5c['endRow']+','+_0xc31f5c[_0x3883e6(0x4ca)]+','+_0xc31f5c[_0x3883e6(0x373)];_0x8e5284[_0x3883e6(0x386)](_0x46afad)||(_0x8e5284[_0x3883e6(0x36f)](_0x46afad),_0x4bbed9[_0x3883e6(0x206)](_0xc31f5c));}return _0x4bbed9;};let _0xc78de6=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x4d9998,_0x3cbc2a,_0x1b7579,_0x46cf55,_0x2c5ff6){const _0x4cb7b4=_0x4d8b64;super(),_0x47b9ba(this,_0x4cb7b4(0x216),new _0x6c47f7[(_0x4cb7b4(0x2f3))](!0x0)),_0x47b9ba(this,_0x4cb7b4(0x4c1),_0x312575=>{const _0x87df65=_0x4cb7b4;this[_0x87df65(0x216)]['next'](!0x1);}),_0x47b9ba(this,_0x4cb7b4(0x22c),_0x282b89=>{const _0x19481f=_0x4cb7b4;this[_0x19481f(0x216)][_0x19481f(0x35a)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x4d9998,this[_0x4cb7b4(0x42e)]=_0x3cbc2a,this[_0x4cb7b4(0x249)]=_0x1b7579,this['_globalComputingSrv']=_0x46cf55,this[_0x4cb7b4(0x353)]=_0x2c5ff6,this[_0x4cb7b4(0x41c)](),this['_initPivotDataGetListener']());}[_0x4d8b64(0x41c)](){const _0x5bf432=_0x4d8b64;this[_0x5bf432(0x45c)](),this['_subjectViewChange'](),this[_0x5bf432(0x207)](),this[_0x5bf432(0x25d)]();}[_0x4d8b64(0x40b)](){const _0x3ba3da=_0x4d8b64;this[_0x3ba3da(0x326)][_0x3ba3da(0x38a)](this[_0x3ba3da(0x216)]),_0x2aa645[_0x3ba3da(0x236)][_0x3ba3da(0x2e2)](_0x2aa645[_0x3ba3da(0x1f3)][_0x3ba3da(0x241)],this[_0x3ba3da(0x4c1)]),_0x2aa645['PivotTable'][_0x3ba3da(0x2e2)](_0x2aa645[_0x3ba3da(0x1f3)][_0x3ba3da(0x377)],this[_0x3ba3da(0x22c)]);}['_initPivotDataGetListener'](){const _0x319c1b=_0x4d8b64;this[_0x319c1b(0x344)](this[_0x319c1b(0x249)][_0x319c1b(0x3f7)](_0x2fa095=>{const _0x466654=_0x319c1b;_0x2fa095['id']===_0x4ed168[_0x466654(0x430)]['id']&&this[_0x466654(0x3a7)][_0x466654(0x335)](_0x2fa095[_0x466654(0x395)]);})),this['disposeWithMe'](this[_0x319c1b(0x249)][_0x319c1b(0x3f7)](_0x4d4e72=>{const _0x5367bd=_0x319c1b;if(_0x4d4e72['id']!==_0x29ca24['id'])return;const _0x1a8c6e=_0x4d4e72[_0x5367bd(0x395)],{unitId:_0x18841b,subUnitId:_0x1acd2c,pivotTableId:_0x1e701a}=_0x1a8c6e,_0x1c098c=_0x1a8c6e['params'][_0x5367bd(0x3cb)],_0x30d850={};switch(_0x1c098c){case _0xe8beec['Filter']:{const _0x5189c1=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x340)];if(!_0x5189c1)return;const {row:_0x2b11a0,col:_0x42635c,cellData:_0x2477f9,pivotItemRenderInfoCache:_0x3c00b1,tableFieldId:_0x20aaf0}=_0x5189c1,_0x5c8bcf=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1a8c6e[_0x5367bd(0x4f6)]);if(!_0x5c8bcf||!_0x3c00b1)return;if(_0x20aaf0){const _0x7fc3b4=_0x5c8bcf['getDataFieldByTableId'](_0x20aaf0);if(!_0x7fc3b4)return;_0x30d850[_0x5367bd(0x340)]={..._0x5c8bcf['getDataFieldItemInfo'](_0x7fc3b4),'tableFieldId':_0x20aaf0,'pivotTableId':_0x1a8c6e[_0x5367bd(0x4f6)],'filterInfo':_0x5c8bcf[_0x5367bd(0x35e)](_0x20aaf0),'sortInfo':_0x5c8bcf[_0x5367bd(0x4b7)](_0x20aaf0),'format':_0x5c8bcf['getFieldFormat'](_0x20aaf0)};}else{const _0x215a29=_0x3d23de(_0x2b11a0,_0x42635c,_0x2477f9,_0x5c8bcf,_0x3c00b1),_0x319e15=_0x215a29==null?void 0x0:_0x215a29[_0x5367bd(0x4a8)];if(!_0x319e15)return;const _0x9a3c31=_0x5c8bcf[_0x5367bd(0x447)](_0x319e15);if(!_0x9a3c31)return;_0x30d850[_0x5367bd(0x340)]={..._0x5c8bcf['getDataFieldItemInfo'](_0x9a3c31),'tableFieldId':_0x319e15,'pivotTableId':_0x1a8c6e[_0x5367bd(0x4f6)],'filterInfo':_0x5c8bcf[_0x5367bd(0x35e)](_0x319e15),'sortInfo':_0x5c8bcf[_0x5367bd(0x4b7)](_0x319e15),'format':_0x5c8bcf['getFieldFormat'](_0x319e15)};}}break;case _0xe8beec[_0x5367bd(0x259)]:{const _0x207313=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x29d)];if(!_0x207313)return;const {pivotTableId:_0x40dbe2}=_0x207313,_0x1b800a=this[_0x5367bd(0x3a7)]['getPivotTableInstance'](_0x40dbe2);if(!_0x1b800a)return;const _0x477429=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x40dbe2),_0x209c7a=_0x12d15d(_0x1b800a,_0x40dbe2,_0x477429);_0x30d850['panel']=_0x209c7a;}break;case _0xe8beec[_0x5367bd(0x433)]:{const _0xc44fa=this[_0x5367bd(0x3a7)]['getPivotTableInstance'](_0x1e701a),_0x39475a=this[_0x5367bd(0x3a7)][_0x5367bd(0x3c8)](_0x18841b),_0x338e31=_0x39475a[_0x5367bd(0x2d9)](_0x1e701a);let _0xa70887=null;const _0x31f168=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a),_0x40b46c=_0x1a8c6e[_0x5367bd(0x395)]['addPivotField'];if(!_0xc44fa||!_0x31f168||!_0x40b46c)return!0x1;const {dataFieldId:_0x6cc1b0,fieldArea:_0xb9adf0,index:_0x17f2ca}=_0x40b46c;_0xc44fa[_0x5367bd(0x441)]();const _0x20d3b8=_0xc44fa[_0x5367bd(0x33c)](_0x6cc1b0,_0xb9adf0,_0x17f2ca);if(_0x20d3b8&&_0xb9adf0===_0x2aa645[_0x5367bd(0x364)]['Value']){const _0x426405=_0x20d3b8['getId'](),_0x590ee6=_0xc44fa[_0x5367bd(0x447)](_0x426405);if(_0x590ee6){const _0x1f8d57=_0x590ee6==null?void 0x0:_0x590ee6[_0x5367bd(0x3bd)]();_0xc44fa[_0x5367bd(0x329)](_0x20d3b8[_0x5367bd(0x2be)](),_0x1f8d57===_0x2aa645[_0x5367bd(0x4e9)][_0x5367bd(0x2d1)]?_0x2aa645['PivotSubtotalTypeEnum'][_0x5367bd(0x4de)]:_0x2aa645['PivotSubtotalTypeEnum']['count']);}const _0x138fab=_0xc44fa['getValueIndex'](),_0x4d468b=_0xc44fa[_0x5367bd(0x472)](),_0x1ca831=_0xc44fa['getFieldCountByArea'](_0x2aa645[_0x5367bd(0x364)]['Value']);if(_0x138fab===-0x1&&_0x1ca831>0x1){const _0x51badc=_0x4d468b===_0x2aa645[_0x5367bd(0x25f)][_0x5367bd(0x2c3)]?_0x2aa645[_0x5367bd(0x25f)][_0x5367bd(0x44b)]:_0x4d468b,_0x2da8c5=_0x51badc===_0x2aa645[_0x5367bd(0x25f)][_0x5367bd(0x25a)]?_0x2aa645[_0x5367bd(0x364)]['Row']:_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x44b)];_0xc44fa[_0x5367bd(0x230)](_0x51badc,_0xc44fa[_0x5367bd(0x23d)](_0x2da8c5));}}else{if(_0x20d3b8&&(_0xb9adf0===_0x2aa645['PivotTableFiledAreaEnum']['Row']||_0xb9adf0===_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x44b)])){const _0x23fec8=_0x20d3b8['getId'](),_0x314f5e=_0xc44fa[_0x5367bd(0x447)](_0x23fec8);if(_0x314f5e&&(_0x314f5e==null?void 0x0:_0x314f5e[_0x5367bd(0x3bd)]())===_0x2aa645['PivotDataFieldDataTypeEnum'][_0x5367bd(0x253)]){const _0x2216c1=_0x314f5e[_0x5367bd(0x458)]();if(_0x2216c1&&_0xc44fa[_0x5367bd(0x333)](_0x20d3b8[_0x5367bd(0x2be)](),_0x2216c1),!_0x338e31[_0x5367bd(0x3cc)]()[_0x5367bd(0x246)](_0x54d90e=>{const _0x9794f3=_0x5367bd,_0x31965c=_0x338e31[_0x9794f3(0x40a)](_0x54d90e);return _0x2aa645[_0x9794f3(0x43c)](_0x31965c)?_0x31965c['getFieldInfo']()[_0x9794f3(0x24a)]===_0x6cc1b0:!0x1;})){const _0x4893ba=_0x39475a['createDataFieldId'](),_0x5819c4=_0x572c40(_0x314f5e[_0x5367bd(0x23a)],_0x314f5e[_0x5367bd(0x26b)]),_0x2c7487=_0x314f5e[_0x5367bd(0x3b3)]()+'\x20-\x20'+_0x51607e(this[_0x5367bd(0x353)],_0x5819c4),_0x442f11=new _0x2aa645[(_0x5367bd(0x43d))](_0x4893ba,_0x2c7487,_0x2aa645[_0x5367bd(0x26d)](0x3),_0x314f5e[_0x5367bd(0x2be)](),_0x5819c4);_0x39475a[_0x5367bd(0x211)](_0x442f11),_0x338e31[_0x5367bd(0x46f)](_0x4893ba,_0x2c7487),_0xc44fa[_0x5367bd(0x33c)](_0x4893ba,_0xb9adf0,(_0x17f2ca!=null?_0x17f2ca:0x0)+0x1),_0xa70887=_0x442f11;}}}}const _0x79aae4=_0xc44fa[_0x5367bd(0x233)](),_0x3c66b1=_0xc44fa[_0x5367bd(0x3f5)]()[_0x5367bd(0x3ed)]();let _0x429106;if(_0xa70887){_0x429106=_0xa70887[_0x5367bd(0x3ed)]();const _0x36a8bd=_0xa70887[_0x5367bd(0x2be)]();_0x338e31[_0x5367bd(0x439)](_0x36a8bd);let _0x3a3ea1=!0x0;for(const _0x46d39d in _0x39475a[_0x5367bd(0x4db)])if(_0x39475a[_0x5367bd(0x4db)][_0x46d39d]['getFieldIds']()[_0x5367bd(0x3e4)](_0x36a8bd)){_0x3a3ea1=!0x1;break;}_0x3a3ea1&&_0x39475a['deleteDataField'](_0x36a8bd);}const _0x5999c6=_0xc44fa['endCollectChangeset']();_0x30d850['addPivotField']={'view':_0x3c66b1,'changesets':_0x5999c6,'isEmpty':_0x79aae4,'pivotTableConfig':_0x31f168,'shouldBeAddedGroupJSON':_0x429106};}break;case _0xe8beec[_0x5367bd(0x33f)]:{const _0x2f5bdc=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x31d)];if(!_0x2f5bdc)return;const _0x238736=_0x2f5bdc[_0x5367bd(0x3b2)],_0x5200d3=_0x2f5bdc[_0x5367bd(0x4f6)],{collection:_0x33331d}=this[_0x5367bd(0x3a7)]['createCollectionWithDataRange']({'unitId':_0x238736[_0x5367bd(0x3e1)],'sheetName':_0x238736['sheetName'],'subUnitId':_0x238736[_0x5367bd(0x2a9)],'range':_0x238736[_0x5367bd(0x392)]}),_0x13a3ca=new _0x2aa645[(_0x5367bd(0x236))](_0x33331d,void 0x0,_0x5200d3),_0x487572=_0x13a3ca[_0x5367bd(0x3f5)](),_0x7ffc39=_0x13a3ca[_0x5367bd(0x3ed)](),_0x1935c1=_0x33331d[_0x5367bd(0x3ed)]();_0x30d850[_0x5367bd(0x31d)]={'view':_0x487572,'fieldsConfig':_0x7ffc39,'collectionConfig':_0x1935c1,'isEmpty':_0x13a3ca[_0x5367bd(0x233)]()};}break;case _0xe8beec['MovePivotField']:{const _0x326e18=_0x1a8c6e['params']['movePivotField'];if(!_0x326e18)return;const {fieldId:_0x18b413,area:_0x41342f,index:_0x48836a}=_0x326e18,_0x28b3f8=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x28b3f8)return;const _0x267f1e=this[_0x5367bd(0x3a7)]['getPivotTableInstance'](_0x1e701a);if(!_0x267f1e)return;_0x267f1e[_0x5367bd(0x441)]();const {area:_0x5d7702,index:_0x469f3c}=_0x267f1e[_0x5367bd(0x321)](_0x18b413);if(_0x267f1e['updateFieldPosition'](_0x18b413,_0x41342f,_0x48836a),_0x41342f===_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x375)]&&_0x267f1e['getTableFieldById'](_0x18b413)[_0x5367bd(0x413)]()===void 0x0){const _0x265483=_0x267f1e[_0x5367bd(0x2aa)](_0x18b413);if(_0x265483&&_0x265483[_0x5367bd(0x413)]()===void 0x0){const _0x422dc9=_0x267f1e[_0x5367bd(0x447)](_0x18b413);if(_0x422dc9){const _0x17cfdc=_0x422dc9==null?void 0x0:_0x422dc9['getFieldDataType']();_0x267f1e[_0x5367bd(0x329)](_0x18b413,_0x17cfdc===_0x2aa645[_0x5367bd(0x4e9)][_0x5367bd(0x2d1)]?_0x2aa645[_0x5367bd(0x366)]['sum']:_0x2aa645[_0x5367bd(0x366)][_0x5367bd(0x25c)]);}}}const _0x464d1e=_0x267f1e['getValuePosition'](),_0x27ef14=_0x267f1e[_0x5367bd(0x2b3)](),_0xb42523=_0x267f1e[_0x5367bd(0x23d)](_0x2aa645['PivotTableFiledAreaEnum'][_0x5367bd(0x375)])>0x1;if(_0xb42523&&_0x5d7702===_0x41342f&&(_0x41342f===_0x2aa645['PivotTableFiledAreaEnum'][_0x5367bd(0x25a)]&&_0x464d1e===_0x2aa645[_0x5367bd(0x25f)]['Row']||_0x41342f===_0x2aa645['PivotTableFiledAreaEnum']['Column']&&_0x464d1e===_0x2aa645[_0x5367bd(0x25f)]['Column'])){let _0xb59eac=_0x27ef14;_0x469f3c<=_0x27ef14&&_0xb59eac--,_0x48836a<=_0x27ef14&&_0xb59eac++,_0x267f1e['updateValuePosition'](_0x464d1e,_0xb59eac);}else _0xb42523&&(_0x5d7702===_0x2aa645[_0x5367bd(0x364)]['Row']&&_0x464d1e===_0x2aa645[_0x5367bd(0x25f)][_0x5367bd(0x25a)]||_0x5d7702===_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x44b)]&&_0x464d1e===_0x2aa645[_0x5367bd(0x25f)]['Column'])&&_0x27ef14>=_0x469f3c&&_0x267f1e[_0x5367bd(0x230)](_0x464d1e,_0x27ef14-0x1),_0xb42523&&(_0x41342f===_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x25a)]&&_0x464d1e===_0x2aa645['PivotTableValuePositionEnum']['Row']||_0x41342f===_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x44b)]&&_0x464d1e===_0x2aa645[_0x5367bd(0x25f)]['Column'])&&_0x27ef14>=_0x48836a&&_0x267f1e['updateValuePosition'](_0x464d1e,_0x27ef14+0x1);const _0x14e72a=_0x267f1e[_0x5367bd(0x3f5)](),_0x1af0d7=_0x267f1e[_0x5367bd(0x233)](),_0x163ed3=_0x267f1e[_0x5367bd(0x276)]();_0x30d850[_0x5367bd(0x4e6)]={'view':_0x14e72a[_0x5367bd(0x3ed)](),'changesets':_0x163ed3,'isEmpty':_0x1af0d7,'pivotTableConfig':_0x28b3f8};}break;case _0xe8beec[_0x5367bd(0x281)]:{const _0x25fac3=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x240)];if(!_0x25fac3)return;const _0x59146c=_0x25fac3[_0x5367bd(0x4d8)],_0x2d165c=this[_0x5367bd(0x3a7)]['getPivotTableConfig'](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x2d165c)return!0x1;const _0x7ab56a=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a);if(!_0x7ab56a)return!0x1;_0x7ab56a[_0x5367bd(0x441)]();for(const _0x1d018b of _0x59146c){const {area:_0x636cca}=_0x7ab56a[_0x5367bd(0x321)](_0x1d018b);_0x636cca===_0x2aa645['PivotTableFiledAreaEnum'][_0x5367bd(0x375)]&&_0x7ab56a[_0x5367bd(0x47c)](_0x1d018b),(_0x636cca===_0x2aa645['PivotTableFiledAreaEnum'][_0x5367bd(0x25a)]||_0x636cca===_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x44b)])&&_0x7ab56a[_0x5367bd(0x4f5)](_0x1d018b),_0x7ab56a['removeField'](_0x1d018b);}const _0x10293b=_0x7ab56a['isEmpty'](),_0x4646c2=_0x7ab56a[_0x5367bd(0x3f5)]()[_0x5367bd(0x3ed)](),_0x46b7ee=_0x7ab56a['endCollectChangeset']();_0x30d850[_0x5367bd(0x240)]={'changesets':_0x46b7ee,'pivotTableConfig':_0x2d165c,'isEmpty':_0x10293b,'view':_0x4646c2};}break;case _0xe8beec[_0x5367bd(0x32b)]:{const _0x380063=_0x1a8c6e[_0x5367bd(0x395)]['setPivotFilter'];if(!_0x380063)return;const {tableFieldId:_0x140522,items:_0x180795,isAll:_0x32a63d}=_0x380063,_0x435c0b=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x1e701a),_0x1523ec=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x435c0b||!_0x1523ec)return;_0x435c0b[_0x5367bd(0x441)](),_0x435c0b[_0x5367bd(0x1f2)](_0x140522,{'type':_0x2aa645[_0x5367bd(0x307)]['ManualFilter'],'list':_0x180795,'isAll':_0x32a63d});const _0x35954a=_0x435c0b[_0x5367bd(0x233)](),_0x4bf111=_0x435c0b['query']()[_0x5367bd(0x3ed)](),_0x1503c7=_0x435c0b[_0x5367bd(0x276)]();_0x30d850[_0x5367bd(0x382)]={'view':_0x4bf111,'changesets':_0x1503c7,'isEmpty':_0x35954a,'pivotTableConfig':_0x1523ec};}break;case _0xe8beec[_0x5367bd(0x3cf)]:{const _0x2aae9e=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x436)];if(!_0x2aae9e)return;const {tableFieldId:_0x2f668a,filterInfo:_0x35d04c}=_0x2aae9e,_0x369ac9=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a),_0x5b7075=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x369ac9||!_0x5b7075)return;_0x369ac9[_0x5367bd(0x441)](),_0x369ac9[_0x5367bd(0x327)](_0x2f668a,_0x35d04c);const _0x52f568=_0x369ac9[_0x5367bd(0x233)](),_0x317cd6=_0x369ac9[_0x5367bd(0x3f5)]()[_0x5367bd(0x3ed)](),_0x2da4a4=_0x369ac9['endCollectChangeset']();_0x30d850['setValuePivotFilter']={'view':_0x317cd6,'changesets':_0x2da4a4,'isEmpty':_0x52f568,'pivotTableConfig':_0x5b7075};}break;case _0xe8beec[_0x5367bd(0x4d7)]:{const _0x53e640=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x444)];if(!_0x53e640)return;const {tableFieldId:_0x374830,info:_0xc05815}=_0x53e640,_0xcca5ea=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a),_0x3969da=this['_sheetsPivotDataSourceModel'][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0xcca5ea||!_0x3969da)return;_0xcca5ea[_0x5367bd(0x441)](),_0xcca5ea[_0x5367bd(0x4b8)](_0x374830,_0xc05815);const _0x5d79aa=_0xcca5ea[_0x5367bd(0x233)](),_0x34a594=_0xcca5ea['query']()['toJSON'](),_0xf007cd=_0xcca5ea['endCollectChangeset']();_0x30d850[_0x5367bd(0x444)]={'view':_0x34a594,'changesets':_0xf007cd,'isEmpty':_0x5d79aa,'pivotTableConfig':_0x3969da};}break;case _0xe8beec[_0x5367bd(0x26e)]:{const _0xe49af6=_0x1a8c6e[_0x5367bd(0x395)]['setPivotSetting'];if(!_0xe49af6)return;const {tableFieldId:_0x6fb912,displayName:_0x4672cf,subtotalType:_0xa9ce13,format:_0x46c3b2}=_0xe49af6,_0x3a249e=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a),_0x741945=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x3a249e||!_0x741945)return;_0x3a249e[_0x5367bd(0x441)](),_0x4672cf!==void 0x0&&_0x3a249e[_0x5367bd(0x4f0)](_0x6fb912,_0x4672cf),_0xa9ce13!==void 0x0&&_0x3a249e[_0x5367bd(0x329)](_0x6fb912,_0xa9ce13),_0x46c3b2!==void 0x0&&_0x3a249e[_0x5367bd(0x333)](_0x6fb912,_0x46c3b2);const _0x3e8dab=_0x3a249e['isEmpty'](),_0x48b0cc=_0x3a249e[_0x5367bd(0x3f5)]()['toJSON'](),_0x5a6b86=_0x3a249e[_0x5367bd(0x276)]();_0x30d850[_0x5367bd(0x49c)]={'changesets':_0x5a6b86,'pivotTableConfig':_0x741945,'isEmpty':_0x3e8dab,'view':_0x48b0cc};}break;case _0xe8beec['UpdatePivotSource']:{const _0x29868e=_0x1a8c6e[_0x5367bd(0x395)]['updatePivotSource'];if(!_0x29868e)return;const {dataRangeInfo:_0x478408,unitId:_0x473ab9,subUnitId:_0x14e50a}=_0x29868e,_0x2a9159=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x473ab9,_0x14e50a,_0x1e701a),_0x383bc0=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a);if(!this[_0x5367bd(0x3a7)]['getCollection'](_0x473ab9,_0x1e701a)||!_0x383bc0||!_0x2a9159)return;const _0x224342=this['_sheetsPivotDataSourceModel']['getUpdateRangeDeleteIds'](_0x473ab9,_0x1e701a,_0x478408),_0x1b8bd0=this[_0x5367bd(0x3a7)][_0x5367bd(0x2d9)](_0x473ab9,_0x1e701a)['toJSON'](),{collection:_0x5730c0}=this[_0x5367bd(0x3a7)][_0x5367bd(0x403)]({'unitId':_0x478408['unitId'],'sheetName':_0x478408['sheetName'],'subUnitId':_0x478408['subUnitId'],'range':_0x478408[_0x5367bd(0x392)]}),_0x4b22e3=_0x5730c0[_0x5367bd(0x3ed)]();_0x383bc0[_0x5367bd(0x441)]();const _0x5067a4=this[_0x5367bd(0x3a7)]['getDataFieldManager'](_0x473ab9)[_0x5367bd(0x376)]()||_0x2aa645[_0x5367bd(0x3fc)];_0x383bc0[_0x5367bd(0x251)](_0xb33a05=>{const _0x5ddfed=_0x5367bd,_0x2160fa=_0xb33a05[_0x5ddfed(0x305)]();if(!_0x5730c0['hasField'](_0x2160fa)){const _0x4f0fac=_0x5730c0['getDataFieldBySourceName'](_0xb33a05['getSourceName']());if(_0x4f0fac){_0x383bc0[_0x5ddfed(0x33a)](_0xb33a05[_0x5ddfed(0x2be)](),_0x4f0fac['getName'](),_0x4f0fac[_0x5ddfed(0x2be)]());const {area:_0x1755f7}=_0x383bc0[_0x5ddfed(0x321)](_0xb33a05[_0x5ddfed(0x2be)]());let _0x5e2985=_0xb33a05[_0x5ddfed(0x4f2)]();const _0x11d0df=_0xb33a05[_0x5ddfed(0x4bb)]();if(_0x1755f7===_0x2aa645[_0x5ddfed(0x364)][_0x5ddfed(0x375)]){const _0x25c2d9=_0xb33a05[_0x5ddfed(0x413)]();_0x5e2985=_0x5067a4(_0x4f0fac['getName'](),_0x25c2d9);}_0x11d0df!==_0x5e2985&&_0x383bc0[_0x5ddfed(0x4f0)](_0xb33a05[_0x5ddfed(0x2be)](),_0x5e2985);}else _0x383bc0[_0x5ddfed(0x271)](_0xb33a05[_0x5ddfed(0x2be)]());}});const _0x341683=_0x383bc0['isEmpty'](),_0x1a34e=_0x383bc0[_0x5367bd(0x3f5)]()['toJSON'](),_0xd48c86=_0x383bc0[_0x5367bd(0x276)]();_0x30d850[_0x5367bd(0x225)]={'view':_0x1a34e,'changesets':_0xd48c86,'isEmpty':_0x341683,'pivotTableConfig':_0x2a9159,'collectionConfig':_0x4b22e3,'oldCollectionConfig':_0x1b8bd0,'deleteIds':_0x224342};}break;case _0xe8beec[_0x5367bd(0x388)]:{const _0x233332=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x230)];if(!_0x233332)return;const {position:_0x1a93bf,index:_0x51ca1d}=_0x233332,_0x5600b4=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x5600b4)return!0x1;const _0x402184=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a);if(!_0x402184)return!0x1;_0x402184['startCollectChangeset'](),_0x402184[_0x5367bd(0x230)](_0x1a93bf,_0x51ca1d);const _0x5cac95=_0x402184[_0x5367bd(0x233)](),_0x237786=_0x402184[_0x5367bd(0x3f5)]()['toJSON'](),_0x24e2f0=_0x402184['endCollectChangeset']();_0x30d850[_0x5367bd(0x230)]={'changesets':_0x24e2f0,'pivotTableConfig':_0x5600b4,'isEmpty':_0x5cac95,'view':_0x237786};}break;case _0xe8beec[_0x5367bd(0x487)]:{const _0x3ff701=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x4c5)];if(!_0x3ff701)return;const {tableFieldId:_0x862423,collapse:_0x17bb0a,item:_0x2b2c65}=_0x3ff701,_0x12a20e=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a),_0x23e401=this['_sheetsPivotDataSourceModel'][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x12a20e||!_0x23e401)return;_0x12a20e[_0x5367bd(0x441)](),_0x12a20e['setCollapse'](_0x862423,_0x17bb0a,_0x2b2c65);const _0x3b84a3=_0x12a20e[_0x5367bd(0x233)](),_0x104b83=_0x12a20e[_0x5367bd(0x3f5)]()[_0x5367bd(0x3ed)](),_0x3209b2=_0x12a20e[_0x5367bd(0x276)]();_0x30d850[_0x5367bd(0x4c5)]={'view':_0x104b83,'isEmpty':_0x3b84a3,'pivotTableConfig':_0x23e401,'changesets':_0x3209b2};}break;case _0xe8beec[_0x5367bd(0x39a)]:{const _0x545e5b=_0x1a8c6e['params'][_0x5367bd(0x2bd)];if(!_0x545e5b)return;const {pivotTableConfig:_0x22780a}=_0x545e5b,_0x47e42e=this[_0x5367bd(0x3a7)][_0x5367bd(0x45b)](_0x1e701a),_0x253775=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x47e42e||!_0x253775)return;_0x47e42e[_0x5367bd(0x441)](),_0x3c148d(_0x47e42e,_0x22780a);const _0x2ab491=_0x47e42e[_0x5367bd(0x233)](),_0x47f5bf=_0x47e42e[_0x5367bd(0x3f5)]()[_0x5367bd(0x3ed)](),_0x4e47f4=_0x47e42e[_0x5367bd(0x276)]();_0x30d850['setPivotTableConfig']={'view':_0x47f5bf,'isEmpty':_0x2ab491,'pivotTableConfig':{..._0x253775,'fieldsConfig':_0x47e42e['toJSON']()},'changesets':_0x4e47f4};}break;case _0xe8beec['ResetPivotTable']:{const _0x46ae45=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x1ee)];if(!_0x46ae45)return;const _0x487c90=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x1e701a),_0x43598e=this[_0x5367bd(0x3a7)][_0x5367bd(0x315)](_0x18841b,_0x1acd2c,_0x1e701a);if(!_0x487c90||!_0x43598e)return;_0x487c90['startCollectChangeset'](),_0x5cf5f7(_0x487c90,_0x46ae45[_0x5367bd(0x2fe)]);const _0x2023de=_0x487c90['query']()[_0x5367bd(0x3ed)](),_0x3adfd3=_0x487c90[_0x5367bd(0x276)]();_0x30d850['resetPivotTable']={'view':_0x2023de,'isEmpty':!0x0,'pivotTableConfig':{..._0x43598e,'fieldsConfig':_0x487c90['toJSON']()},'changesets':_0x3adfd3};}break;case _0xe8beec[_0x5367bd(0x237)]:{const _0x45675f=_0x1a8c6e[_0x5367bd(0x395)][_0x5367bd(0x4f1)];if(!_0x45675f)return;const _0x2eddce=_0x45675f[_0x5367bd(0x3b2)],_0x14b5d7=_0x45675f['pivotTableId'],{collection:_0xe85c0e}=this[_0x5367bd(0x3a7)][_0x5367bd(0x403)]({'unitId':_0x2eddce[_0x5367bd(0x3e1)],'sheetName':_0x2eddce['sheetName'],'subUnitId':_0x2eddce['subUnitId'],'range':_0x2eddce[_0x5367bd(0x392)]}),_0x1defd6=new _0x2aa645['PivotTable'](_0xe85c0e,void 0x0,_0x14b5d7),_0x36219f=_0xe85c0e[_0x5367bd(0x3cc)](),{rows:_0x495de7,columns:_0x206cb0,filters:_0x211c22,values:_0x250658}=_0x45675f['pivotTableIndexConfig'];_0x1defd6[_0x5367bd(0x441)]();for(const {field:_0x1f4be5,selectedItems:_0x5b3b43}of _0x495de7||[]){const _0x349541=_0x36219f[_0x1f4be5];if(_0x349541){const _0x2f0de4=_0x1defd6['addFieldWithSourceId'](_0x349541,_0x2aa645[_0x5367bd(0x364)]['Row']);_0x5b3b43&&_0x2f0de4&&_0x1defd6['setLabelFilterInfo'](_0x2f0de4[_0x5367bd(0x2be)](),{'type':_0x2aa645[_0x5367bd(0x307)][_0x5367bd(0x324)],'list':_0x5b3b43,'isAll':!0x1});}}for(const {field:_0x391f6a,selectedItems:_0x2700fc}of _0x206cb0||[]){const _0x379ce6=_0x36219f[_0x391f6a];if(_0x379ce6){const _0x9ba97a=_0x1defd6[_0x5367bd(0x33c)](_0x379ce6,_0x2aa645[_0x5367bd(0x364)][_0x5367bd(0x44b)]);_0x2700fc&&_0x9ba97a&&_0x1defd6[_0x5367bd(0x1f2)](_0x9ba97a['getId'](),{'type':_0x2aa645[_0x5367bd(0x307)][_0x5367bd(0x324)],'list':_0x2700fc,'isAll':!0x1});}}for(const {field:_0x36eeb0,selectedItems:_0x23748a}of _0x211c22||[]){const _0x5497c1=_0x36219f[_0x36eeb0];if(_0x5497c1){const _0x10e528=_0x1defd6['addFieldWithSourceId'](_0x5497c1,_0x2aa645['PivotTableFiledAreaEnum'][_0x5367bd(0x2c5)]);_0x23748a&&_0x10e528&&_0x1defd6['setLabelFilterInfo'](_0x10e528[_0x5367bd(0x2be)](),{'type':_0x2aa645[_0x5367bd(0x307)][_0x5367bd(0x324)],'list':_0x23748a,'isAll':!0x1});}}for(const {field:_0x5d18b5,subTotalType:_0x457c00,formatString:_0x138ab1}of _0x250658||[]){const _0x1219d4=_0xe85c0e[_0x5367bd(0x40a)](_0x36219f[_0x5d18b5]);if(!_0x1219d4)continue;const _0x280c0a=_0x36219f[_0x5d18b5];if(_0x280c0a){const _0x454cc6=_0x1defd6[_0x5367bd(0x33c)](_0x280c0a,_0x2aa645[_0x5367bd(0x364)]['Value']);if(_0x454cc6){if(_0x457c00!==void 0x0){_0x1defd6[_0x5367bd(0x329)](_0x454cc6[_0x5367bd(0x2be)](),_0x457c00);const _0x1057f=this['_sheetsPivotDataSourceModel'][_0x5367bd(0x3c8)](_0x2eddce[_0x5367bd(0x3e1)])[_0x5367bd(0x376)]()||_0x2aa645[_0x5367bd(0x3fc)],_0x3aa5e8=_0xe85c0e[_0x5367bd(0x4bb)](_0x280c0a),_0x2d811d=_0x1057f(_0x3aa5e8,_0x457c00);_0x1defd6['renameField'](_0x454cc6[_0x5367bd(0x2be)](),_0x2d811d);}else{if(_0x1219d4){const _0x2a8f97=_0x1219d4==null?void 0x0:_0x1219d4['getFieldDataType']();_0x1defd6[_0x5367bd(0x329)](_0x454cc6[_0x5367bd(0x2be)](),_0x2a8f97===_0x2aa645[_0x5367bd(0x4e9)][_0x5367bd(0x2d1)]?_0x2aa645['PivotSubtotalTypeEnum'][_0x5367bd(0x4de)]:_0x2aa645['PivotSubtotalTypeEnum'][_0x5367bd(0x25c)]);}}_0x138ab1&&_0x1defd6[_0x5367bd(0x333)](_0x454cc6[_0x5367bd(0x2be)](),_0x138ab1);}}}const _0x14cb2c=_0x1defd6[_0x5367bd(0x3f5)](),_0x1de64b=_0x1defd6[_0x5367bd(0x3ed)](),_0x4cb087=_0x1defd6[_0x5367bd(0x233)](),_0xc9cb64=_0x1defd6['endCollectChangeset'](),_0x4b7959=_0xe85c0e[_0x5367bd(0x3ed)]();_0x30d850[_0x5367bd(0x4f1)]={'view':_0x14cb2c,'fieldsConfig':_0x1de64b,'collectionConfig':_0x4b7959,'isEmpty':_0x4cb087,'changesets':_0xc9cb64};}break;case _0xe8beec[_0x5367bd(0x39d)]:{const _0x400a36=_0x2da06e(this[_0x5367bd(0x353)],_0x1a8c6e);if(!_0x400a36)return;const {range:_0x261916,sourceSubUnitId:_0x4b2c63,sourceUnitId:_0x3a2ca8,formatMap:_0x30bd09,indexes:_0xc204e0}=_0x400a36;_0x30d850[_0x5367bd(0x227)]={'range':_0x261916,'sourceSubUnitId':_0x4b2c63,'sourceUnitId':_0x3a2ca8,'formatMap':_0x30bd09,'indexes':_0xc204e0};}break;}this[_0x5367bd(0x249)][_0x5367bd(0x457)](_0xe7bd2c['id'],{'version':_0x1a8c6e[_0x5367bd(0x4d5)],'result':_0x30d850},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x4ad83b=_0x4d8b64;this[_0x4ad83b(0x344)](this[_0x4ad83b(0x249)]['onCommandExecuted'](_0x4f3a48=>{const _0x3d62e1=_0x4ad83b;if(_0x4f3a48['id']!==_0xa61830['id'])return;const _0x53c298=_0x4f3a48[_0x3d62e1(0x395)];return this[_0x3d62e1(0x3a7)]['setTextInfo'](_0x53c298['textInfo']),!0x0;}));}[_0x4d8b64(0x45c)](){const _0x2472f9=_0x4d8b64;this[_0x2472f9(0x3a7)][_0x2472f9(0x387)][_0x2472f9(0x3c7)](_0x156da5=>{const _0x56ee2d=_0x2472f9;switch(_0x156da5[_0x56ee2d(0x3cb)]){case _0x750a94[_0x56ee2d(0x36f)]:_0x156da5[_0x56ee2d(0x497)]&&_0x156da5[_0x56ee2d(0x32a)]&&this[_0x56ee2d(0x2d8)](_0x156da5[_0x56ee2d(0x285)],_0x156da5[_0x56ee2d(0x497)],_0x156da5[_0x56ee2d(0x32a)]);break;case _0x750a94[_0x56ee2d(0x408)]:{const {unitId:_0x417367,subUnitId:_0x3facdf,token:_0x4b5246}=_0x156da5;_0x417367&&_0x3facdf&&_0x4b5246&&this[_0x56ee2d(0x4d9)](_0x417367,_0x3facdf,_0x4b5246);}break;case _0x750a94['update']:{const {token:_0x3c3844,oldSourceRangeInfo:_0x5f15f5,dataRangeInfo:_0x4a7bdb,targetCellInfo:_0x125c35}=_0x156da5,{unitId:_0x543442,subUnitId:_0x30736b}=_0x5f15f5||{};_0x543442&&_0x30736b&&_0x3c3844&&this[_0x56ee2d(0x4d9)](_0x543442,_0x30736b,_0x3c3844),_0x4a7bdb&&_0x125c35&&this[_0x56ee2d(0x2d8)](_0x3c3844,_0x4a7bdb,_0x125c35);}break;}});}['_subjectFieldsCollectionChange'](){const _0x4e97c2=_0x4d8b64;this[_0x4e97c2(0x3a7)][_0x4e97c2(0x2e3)][_0x4e97c2(0x3c7)](_0x596fe9=>{const _0x1e7bff=_0x4e97c2;Object[_0x1e7bff(0x27f)](_0x596fe9)[_0x1e7bff(0x325)](_0x3934de=>{const _0x36149f=_0x1e7bff,_0x37dbfe=this[_0x36149f(0x3a7)]['getTargetByPivotId'](_0x3934de);if(_0x37dbfe){const _0x7f9ede=this[_0x36149f(0x3a7)]['getPivotTableConfig'](_0x37dbfe==null?void 0x0:_0x37dbfe['unitId'],_0x37dbfe==null?void 0x0:_0x37dbfe['subUnitId'],_0x3934de);_0x7f9ede&&(this[_0x36149f(0x2d8)](_0x3934de,_0x7f9ede['sourceRangeInfo'],_0x7f9ede['targetCellInfo']),this['triggerDirtyFeature']([{'unitId':_0x37dbfe['unitId'],'subUnitId':_0x37dbfe[_0x36149f(0x2a9)],'token':_0x3934de}]));}});});}[_0x4d8b64(0x2a5)](){const _0x5c6219=_0x4d8b64;this[_0x5c6219(0x3a7)][_0x5c6219(0x334)][_0x5c6219(0x3c7)](_0x3c16ca=>{const _0x2723f1=_0x5c6219,{unitId:_0x469989,subUnitId:_0x5d8424,pivotTableId:_0x43e788}=_0x3c16ca;_0x469989&&_0x5d8424&&_0x43e788&&this[_0x2723f1(0x40d)]([{'unitId':_0x469989,'subUnitId':_0x5d8424,'token':_0x43e788}]);});}['triggerDirtyFeature'](_0x45febf){const _0x19f788=_0x4d8b64,_0x27c23f={};_0x45febf[_0x19f788(0x325)](_0x5aeacb=>{var _0x1f9c7a,_0x2df917;const {unitId:_0x43e901,subUnitId:_0xb554ba,token:_0x27599b}=_0x5aeacb;_0x27c23f[_0x43e901]=(_0x1f9c7a=_0x27c23f[_0x43e901])!=null?_0x1f9c7a:{},_0x27c23f[_0x43e901][_0xb554ba]=(_0x2df917=_0x27c23f[_0x43e901][_0xb554ba])!=null?_0x2df917:{},_0x27c23f[_0x43e901][_0xb554ba][_0x27599b]=!0x0;}),this[_0x19f788(0x249)]['executeCommand'](_0x38af22['id'],_0x27c23f);}[_0x4d8b64(0x4d9)](_0x18b3eb,_0x52eeee,_0x14dfc2){const _0x29e0f0=_0x4d8b64;this[_0x29e0f0(0x42e)][_0x29e0f0(0x3be)](_0x18b3eb,_0x52eeee,[_0x14dfc2]);}[_0x4d8b64(0x2d8)](_0x132879,_0x7c3a8c,_0x6a541d){const _0x57b888=_0x4d8b64,{unitId:_0x56d8a4,subUnitId:_0x2e2b75}=_0x7c3a8c;this[_0x57b888(0x42e)][_0x57b888(0x386)](_0x6a541d['unitId'],_0x6a541d[_0x57b888(0x2a9)],_0x132879)&&this['removeSourceRangeChange'](_0x56d8a4,_0x2e2b75,_0x132879);const _0x36afea={'sheetId':_0x2e2b75,..._0x7c3a8c};this[_0x57b888(0x42e)][_0x57b888(0x40e)](_0x6a541d['unitId'],_0x6a541d[_0x57b888(0x2a9)],_0x132879,{'unitId':_0x6a541d[_0x57b888(0x3e1)],'subUnitId':_0x6a541d['subUnitId'],'dependencyRanges':[_0x36afea],'getDirtyData':(_0x2a07a8,_0x84deb7)=>{const _0x511079=_0x57b888,_0x328356=this[_0x511079(0x3a7)],_0x276028=_0x328356[_0x511079(0x2ef)](_0x132879);if(!_0x276028)return _0x1613c2();const {unitId:_0x1e893d,subUnitId:_0x1667d5}=_0x276028,_0x425a21=_0x561923(_0x2a07a8,_0x84deb7,_0x7c3a8c);if(_0x425a21['length']>0x0){const _0x4ddba8=_0x328356[_0x511079(0x2d9)](_0x56d8a4,_0x132879),_0x1c69c8=_0x4ddba8[_0x511079(0x3cc)](),_0x1fecbe=this[_0x511079(0x3e7)](_0x7c3a8c[_0x511079(0x3e1)],_0x7c3a8c[_0x511079(0x2a9)],_0x84deb7),_0x473884={},_0x2fc7a4=this[_0x511079(0x3a7)]['getDataFieldManager'](_0x1e893d)[_0x511079(0x376)]()||_0x2aa645[_0x511079(0x3fc)],_0x4be5d0=[];for(const _0x10dddd of _0x425a21){const _0x442e48=_0x10dddd-(_0x7c3a8c['range'][_0x511079(0x4ca)]||0x0),_0x4dec35=_0x1c69c8[_0x442e48];_0x4be5d0[_0x511079(0x206)](_0x4dec35),_0x473884[_0x4dec35]=_0x4ddba8[_0x511079(0x40a)](_0x4dec35)['getName'](),_0x328356[_0x511079(0x3c8)](_0x56d8a4)[_0x511079(0x354)](_0x4dec35,_0x7c3a8c,_0x442e48,_0x1fecbe);}_0x4ddba8['getGroupFieldsInfoByIds'](_0x4be5d0)[_0x511079(0x325)](_0x556536=>{const _0x5a59c9=_0x511079,[_0xeb91dc,_0x39d0d8]=_0x556536,_0x57860f=_0x4ddba8[_0x5a59c9(0x40a)](_0xeb91dc),_0x3eada9=_0x4ddba8[_0x5a59c9(0x40a)](_0x39d0d8);_0x57860f&&_0x3eada9&&_0x57860f[_0x5a59c9(0x446)](_0x3eada9);}),_0x4ddba8[_0x511079(0x220)]();const _0x48ad43=_0x328356[_0x511079(0x45b)](_0x132879);if(_0x48ad43){_0x1b3cc6(_0x48ad43,_0x473884,_0x2fc7a4),_0x48ad43[_0x511079(0x2c7)](!0x0);const _0x1ea3b2=_0x48ad43[_0x511079(0x3f5)](),_0x21309e=_0x328356['getPivotTableConfig'](_0x1e893d,_0x1667d5,_0x132879),_0x3a7d3c=_0x328356[_0x511079(0x3c8)](_0x56d8a4)[_0x511079(0x3ed)]();_0x328356[_0x511079(0x30b)](_0x1e893d,_0x1667d5,_0x12b936[_0x511079(0x473)],_0x132879,_0x1ea3b2,_0x21309e,_0x3a7d3c,!0x0);}}return this['getDirtyInfo'](_0x1e893d,_0x1667d5,_0x132879);}});}['getMatrixFromRunTimeData'](_0x401dbf,_0x1ab186,_0x2bb8b5){var _0x3902ee,_0x1e603d;const {arrayFormulaCellData:_0x2b6ddc,unitData:_0x2b543a}=_0x2bb8b5,_0x3d9279=(_0x3902ee=_0x2b6ddc==null?void 0x0:_0x2b6ddc[_0x401dbf])==null?void 0x0:_0x3902ee[_0x1ab186],_0x1e0016=(_0x1e603d=_0x2b543a==null?void 0x0:_0x2b543a[_0x401dbf])==null?void 0x0:_0x1e603d[_0x1ab186];return{'arrayFormulaCellDataMatrix':_0x3d9279,'unitDataMatrix':_0x1e0016};}['getDirtyInfo'](_0x1c58ab,_0x584ef7,_0x23cc0f){const _0x1c6963=_0x4d8b64,_0xf7ed32=this[_0x1c6963(0x3a7)][_0x1c6963(0x396)](_0x1c58ab,_0x584ef7,_0x23cc0f),_0x4e9ce1=[],_0xcb40cb=new _0x3500ba[(_0x1c6963(0x4f9))]();if(_0xf7ed32){const {rangeCache:_0x508e3b,matrix:_0x304cfc,oldRangeCache:_0x47706f,oldMatrix:_0x224dea}=_0xf7ed32,_0x14adaf=_0x9ad3ed(_0x47706f),_0x2cd957=_0x9ad3ed(_0x508e3b);_0x4e9ce1[_0x1c6963(0x206)](..._0x2cd957,..._0x14adaf),_0x224dea&&_0x47706f&&_0x14adaf[_0x1c6963(0x325)](_0x15340d=>{const _0x12a09c=_0x1c6963;for(let _0x169f3e=_0x15340d[_0x12a09c(0x4cb)];_0x169f3e<=_0x15340d[_0x12a09c(0x367)];_0x169f3e++)for(let _0x2e2c1f=_0x15340d[_0x12a09c(0x4ca)];_0x2e2c1f<=_0x15340d[_0x12a09c(0x373)];_0x2e2c1f++)_0xcb40cb[_0x12a09c(0x203)](_0x169f3e,_0x2e2c1f);}),_0x304cfc&&_0x2cd957&&_0x2cd957[_0x1c6963(0x325)](_0x3fa670=>{const _0x483ecc=_0x1c6963;for(let _0x301cf1=_0x3fa670[_0x483ecc(0x4cb)];_0x301cf1<=_0x3fa670['endRow'];_0x301cf1++)for(let _0x698de2=_0x3fa670[_0x483ecc(0x4ca)];_0x698de2<=_0x3fa670[_0x483ecc(0x373)];_0x698de2++)_0xcb40cb['setValue'](_0x301cf1,_0x698de2,_0x304cfc[_0x483ecc(0x22b)](_0x301cf1,_0x698de2));});}const _0x5cfe3f={};return _0x5cfe3f[_0x1c58ab]={[_0x584ef7]:_0xdfb785(_0x4e9ce1)},{'runtimeCellData':{[_0x1c58ab]:{[_0x584ef7]:_0xcb40cb}},'dirtyRanges':_0x5cfe3f};}[_0x4d8b64(0x1f5)](){}};_0xc78de6=_0x1651c6([_0x55ab2a(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23[_0x4d8b64(0x267)])),_0x55ab2a(0x1,_0x3500ba[_0x4d8b64(0x4b0)](_0x454f08[_0x4d8b64(0x32c)])),_0x55ab2a(0x2,_0x3500ba['Inject'](_0x3500ba[_0x4d8b64(0x496)])),_0x55ab2a(0x3,_0x3500ba['Inject'](_0x454f08[_0x4d8b64(0x2bc)])),_0x55ab2a(0x4,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x318)]))],_0xc78de6);var _0x171f9b=Object[_0x4d8b64(0x302)],_0x55d7c0=(_0x24c5fb,_0x100cb8,_0x449e56,_0x1ebb81)=>{const _0x1f8ef9=_0x4d8b64;for(var _0x3fd6af=_0x1ebb81>0x1?void 0x0:_0x1ebb81?_0x171f9b(_0x100cb8,_0x449e56):_0x100cb8,_0x201887=_0x24c5fb[_0x1f8ef9(0x2a7)]-0x1,_0x4fa1e8;_0x201887>=0x0;_0x201887--)(_0x4fa1e8=_0x24c5fb[_0x201887])&&(_0x3fd6af=_0x4fa1e8(_0x3fd6af)||_0x3fd6af);return _0x3fd6af;},_0x36e20a=(_0x52ff1d,_0x178642)=>(_0x16c9f2,_0x23c436)=>_0x178642(_0x16c9f2,_0x23c436,_0x52ff1d);let _0xbd95e6=class extends _0x3500ba['Disposable']{constructor(_0x3ec52e,_0x1baa37,_0x5ca8a0,_0x52187d){const _0x4496e2=_0x4d8b64;super(),_0x47b9ba(this,'disposableCollection',new _0x3500ba[(_0x4496e2(0x3e3))]()),(this['_univerInstanceService']=_0x3ec52e,this[_0x4496e2(0x3f4)]=_0x1baa37,this['_sheetsSelectionsService']=_0x5ca8a0,this[_0x4496e2(0x205)]=_0x52187d,this[_0x4496e2(0x463)]());}[_0x4d8b64(0x463)](){const _0x13fef9=_0x4d8b64;this[_0x13fef9(0x344)](this[_0x13fef9(0x3f4)][_0x13fef9(0x317)]({'getMutations':_0x59d082=>{const _0x217beb=_0x13fef9;if(_0x59d082['id']===_0x4ed168['ClearSelectionContentCommand']['id']||_0x59d082['id']===_0x4ed168[_0x217beb(0x3ce)]['id']){const _0x3525a6=[],_0xef1b4b=[],_0x5223aa=this[_0x217beb(0x3ca)][_0x217beb(0x47b)]()[_0x217beb(0x269)](_0x53eb09=>_0x53eb09[_0x217beb(0x392)]),_0x14bdd9=_0x4ed168[_0x217beb(0x3dc)](this[_0x217beb(0x49a)]);if(!_0x14bdd9)return{'redos':[],'undos':[]};const {unitId:_0x4f0a0b,subUnitId:_0xbe9235}=_0x14bdd9,_0x4347ba={},_0x31c054=this[_0x217beb(0x205)][_0x217beb(0x3af)](_0x4f0a0b,_0xbe9235);if(_0x31c054!=null&&_0x31c054[_0x217beb(0x3c1)])for(const [_0x293427,_0x58d9b0]of _0x31c054){const {unitId:_0x3cb906,subUnitId:_0x1de76b,row:_0x52e7a5,col:_0x5b1693}=_0x58d9b0[_0x217beb(0x32a)];_0x3cb906===_0x14bdd9[_0x217beb(0x3e1)]&&_0x1de76b===_0x14bdd9['subUnitId']&&(_0x4347ba[_0x52e7a5+'-'+_0x5b1693]=_0x293427);}return _0x5223aa&&_0x14bdd9&&_0x5223aa[_0x217beb(0x325)](_0x2c14fd=>{const _0x58df25=_0x217beb;_0x3500ba[_0x58df25(0x213)][_0x58df25(0x20a)](_0x2c14fd,(_0x228573,_0x1a656c)=>{const _0x4d5dd5=_0x58df25,_0x49ffa8=_0x228573+'-'+_0x1a656c;if(_0x4347ba[_0x49ffa8]){const _0x2bf04a=_0x4347ba[_0x49ffa8];_0x3525a6[_0x4d5dd5(0x206)]({'id':_0x4320a9['id'],'params':{'unitId':_0x4f0a0b,'subUnitId':_0xbe9235,'pivotTableId':_0x2bf04a}});const _0xb3ba42=this[_0x4d5dd5(0x205)][_0x4d5dd5(0x2d9)](_0x4f0a0b,_0x2bf04a),_0x34ddf1=this[_0x4d5dd5(0x205)]['getPivotTableConfig'](_0x4f0a0b,_0xbe9235,_0x2bf04a);_0xef1b4b[_0x4d5dd5(0x206)]({'id':_0x37aa8f['id'],'params':{'unitId':_0x4f0a0b,'subUnitId':_0xbe9235,'pivotTableId':_0x2bf04a,'pivotTableConfig':_0x34ddf1,'collectionConfig':_0xb3ba42}});}});}),{'redos':_0x3525a6,'undos':_0xef1b4b};}return{'redos':[],'undos':[]};}}));}};_0xbd95e6=_0x55d7c0([_0x36e20a(0x0,_0x3500ba[_0x4d8b64(0x3c9)]),_0x36e20a(0x1,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x2b4)])),_0x36e20a(0x2,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x454)])),_0x36e20a(0x3,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23['SheetsPivotTableConfigModel']))],_0xbd95e6);var _0xeddf6c=Object['getOwnPropertyDescriptor'],_0x18b395=(_0x26b8f0,_0x1cc00e,_0x2df4a6,_0x1d1e07)=>{for(var _0x56e1d1=_0x1d1e07>0x1?void 0x0:_0x1d1e07?_0xeddf6c(_0x1cc00e,_0x2df4a6):_0x1cc00e,_0x24fdb2=_0x26b8f0['length']-0x1,_0x1c2820;_0x24fdb2>=0x0;_0x24fdb2--)(_0x1c2820=_0x26b8f0[_0x24fdb2])&&(_0x56e1d1=_0x1c2820(_0x56e1d1)||_0x56e1d1);return _0x56e1d1;},_0x361298=(_0x12aca9,_0x15fc31)=>(_0x431fe1,_0x22ecc4)=>_0x15fc31(_0x431fe1,_0x22ecc4,_0x12aca9);let _0x16a352=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x305ab2,_0x2ad56e,_0x33a490,_0xe950dd,_0x3da91d){const _0xabeedd=_0x4d8b64;super(),this[_0xabeedd(0x3f4)]=_0x305ab2,this[_0xabeedd(0x353)]=_0x2ad56e,this['_univerInstanceService']=_0x33a490,this[_0xabeedd(0x205)]=_0xe950dd,this[_0xabeedd(0x4d1)]=_0x3da91d,this[_0xabeedd(0x418)]();}[_0x4d8b64(0x314)](_0x2ca1a3,_0x2a5add,_0x47af51){const _0x1e8403=_0x4d8b64,{pageView:_0xbf77f8,cornerView:_0x43295b,rowView:_0x52d2d7,colView:_0x4d7a16,dataView:_0x182570}=_0x2a5add,_0x3d66e8=_0x2ca1a3;let _0xf60857;if(_0x47af51)_0xf60857=[..._0x165723(_0x3d66e8)];else{const _0x46e4cc=_0x2c1f25(_0x3d66e8,_0xbf77f8,!0x0),_0x53d7cb=_0xbf77f8[_0x1e8403(0x256)]>=0x0?_0xbf77f8[_0x1e8403(0x256)]+0x1:0x0,_0x3c1df1=_0x43295b[_0x1e8403(0x420)],_0x23393c=_0x43295b['colCount'],_0x236745=_0x46e4cc[_0x1e8403(0x2a7)]>0x0?_0x539291:0x0,_0x4321fb=_0x2c1f25({'row':_0x3d66e8[_0x1e8403(0x365)]+_0x53d7cb+_0x236745,'col':_0x3d66e8[_0x1e8403(0x381)]},_0x43295b,!0x1,!0x1),_0x2e1ecd=_0x2c1f25({'row':_0x3d66e8['row']+_0x53d7cb+_0x236745+_0x3c1df1,'col':_0x3d66e8[_0x1e8403(0x381)]},_0x52d2d7,!0x1,!0x0),_0x45b13a=_0x2c1f25({'row':_0x3d66e8['row']+_0x53d7cb+_0x236745,'col':_0x3d66e8[_0x1e8403(0x381)]+_0x23393c},_0x4d7a16,!0x1,!0x0),_0x45e204=_0x2c1f25({'row':_0x3d66e8[_0x1e8403(0x365)]+_0x53d7cb+_0x236745+_0x3c1df1,'col':_0x3d66e8[_0x1e8403(0x381)]+_0x23393c},_0x182570,!0x1,!0x0);_0xf60857=[..._0x46e4cc,..._0x4321fb,..._0x2e1ecd,..._0x45b13a,..._0x45e204];}return _0xf60857;}[_0x4d8b64(0x418)](){const _0x583333=_0x4d8b64;this[_0x583333(0x344)](this[_0x583333(0x4d1)][_0x583333(0x4a5)][_0x583333(0x322)](this['_sheetsPivotTableService']['interceptor'][_0x583333(0x464)]()[_0x583333(0x351)],{'handler':(_0x5b31e7,_0x2dee0a)=>{const _0x52cd1e=_0x583333,{cellInfo:_0x5484ca,view:_0x24c157,isEmpty:_0x15963d}=_0x2dee0a,_0x349f36=_0x5484ca,{unitId:_0x54dd74,subUnitId:_0x44320e}=_0x349f36,_0x3f5dbe=this[_0x52cd1e(0x314)](_0x5484ca,_0x24c157,_0x15963d),_0x43c6b6=this[_0x52cd1e(0x3f4)][_0x52cd1e(0x4ba)]({'unitId':_0x54dd74,'subUnitId':_0x44320e,'ranges':_0x3f5dbe}),_0x30d052=_0x5e4c48(this[_0x52cd1e(0x353)],_0x54dd74,_0x44320e,_0x3f5dbe);_0x30d052[_0x52cd1e(0x347)]&&(_0x43c6b6[_0x52cd1e(0x21f)][_0x52cd1e(0x206)](_0x30d052[_0x52cd1e(0x36d)]),_0x43c6b6['undos'][_0x52cd1e(0x206)](_0x30d052[_0x52cd1e(0x3a0)]));const _0x2af49d=this[_0x52cd1e(0x330)](_0x24c157,_0x5484ca);return _0x43c6b6[_0x52cd1e(0x21f)]['push'](..._0x2af49d[_0x52cd1e(0x21f)]),_0x43c6b6['undos'][_0x52cd1e(0x206)](..._0x2af49d[_0x52cd1e(0x42f)]),{'redos':_0x43c6b6[_0x52cd1e(0x21f)],'undos':_0x43c6b6[_0x52cd1e(0x42f)]};}}));}[_0x4d8b64(0x330)](_0x87dffe,_0x1960ba){const _0x33cd99=_0x4d8b64,{col:_0x390bc0,unitId:_0x2da022,subUnitId:_0x45f079}=_0x1960ba,_0x1ce127=[],_0x463ef8=[],_0x3a8af8=_0x4ed168[_0x33cd99(0x3dc)](this[_0x33cd99(0x49a)],{'unitId':_0x2da022,'subUnitId':_0x45f079});if(!_0x1960ba||!_0x87dffe||!_0x3a8af8)return{'undos':_0x463ef8,'redos':_0x1ce127};const _0x208fee=this[_0x33cd99(0x205)]['getTextInfo'](),{colView:_0x1aeed1,dataView:_0x3f42a1,cornerView:_0x2192ac,rowView:_0x236d19,formatMap:_0x36379a}=_0x87dffe,_0x2e4648=_0x29737a(_0x1aeed1,_0x208fee,!0x0,_0x36379a),_0x4c23c7=_0x29737a(_0x236d19,_0x208fee,!0x1,_0x36379a),_0x44c60f=_0x18c0b4(_0x3f42a1),_0x1b32bf=_0x24a1a4(_0x2192ac),{worksheet:_0x333d50}=_0x3a8af8;if(typeof window<'u'&&window[_0x33cd99(0x26f)]){const _0x4eaa3e=_0x1d8b82[_0x33cd99(0x22f)]({..._0x5a68d8[_0x33cd99(0x3e5)]}),_0x4a44f3=_0x1d8b82['FontCache'][_0x33cd99(0x287)](_0x2e4648,_0x4eaa3e)[_0x33cd99(0x21d)]+0x10,_0xf37b61=_0x1d8b82['FontCache'][_0x33cd99(0x287)](_0x44c60f,_0x4eaa3e)[_0x33cd99(0x21d)],_0x3d4e97=Math[_0x33cd99(0x41e)](Math['max'](_0x4a44f3,_0xf37b61))+0x10,_0x4b4842=Math['floor'](_0x1d8b82[_0x33cd99(0x31e)][_0x33cd99(0x287)](_0x4c23c7,_0x4eaa3e)['width']),_0x1f4cd2=Math[_0x33cd99(0x41e)](_0x1d8b82[_0x33cd99(0x31e)][_0x33cd99(0x287)](_0x1b32bf,_0x4eaa3e)['width']),_0x14cd01=Math[_0x33cd99(0x31a)](_0x4b4842,_0x1f4cd2,0x28)+0xc,_0x4c2db5=_0x1aeed1[_0x33cd99(0x34a)]+_0x2192ac[_0x33cd99(0x34a)],_0x224b27={},_0x34aa58={};for(let _0x54b933=_0x390bc0;_0x54b933<_0x390bc0+_0x4c2db5;_0x54b933++){const _0x2729c1=_0x333d50[_0x33cd99(0x3d9)](_0x54b933);_0x224b27[_0x54b933]=_0x2729c1,_0x54b933-_0x390bc0<_0x2192ac[_0x33cd99(0x34a)]?_0x34aa58[_0x54b933-_0x390bc0]=_0x14cd01:_0x34aa58[_0x54b933-_0x390bc0]=_0x3d4e97;}_0x1ce127[_0x33cd99(0x206)]({'id':_0x4ed168[_0x33cd99(0x2d7)]['id'],'params':{'subUnitId':_0x45f079,'unitId':_0x2da022,'ranges':[{'startColumn':_0x390bc0,'endColumn':_0x390bc0+_0x4c2db5-0x1,'startRow':0x0,'endRow':_0x333d50[_0x33cd99(0x4d6)]()-0x1}],'colWidth':_0x34aa58}}),_0x463ef8[_0x33cd99(0x206)]({'id':_0x4ed168[_0x33cd99(0x2d7)]['id'],'params':{'subUnitId':_0x45f079,'unitId':_0x2da022,'ranges':[{'startColumn':_0x390bc0,'endColumn':_0x390bc0+_0x4c2db5-0x1,'startRow':0x0,'endRow':_0x333d50[_0x33cd99(0x4d6)]()-0x1}],'colWidth':_0x224b27}});}return{'undos':_0x463ef8,'redos':_0x1ce127};}};_0x16a352=_0x18b395([_0x361298(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x2b4)])),_0x361298(0x1,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba['Injector'])),_0x361298(0x2,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba[_0x4d8b64(0x3c9)])),_0x361298(0x3,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23[_0x4d8b64(0x2e0)])),_0x361298(0x4,_0x3500ba['Inject'](_0x1f8e23[_0x4d8b64(0x41f)]))],_0x16a352);var _0x15c749=Object['getOwnPropertyDescriptor'],_0x50a766=(_0x19bc02,_0x300935,_0x34df4d,_0x47b430)=>{const _0x287058=_0x4d8b64;for(var _0x22e441=_0x47b430>0x1?void 0x0:_0x47b430?_0x15c749(_0x300935,_0x34df4d):_0x300935,_0x207ece=_0x19bc02[_0x287058(0x2a7)]-0x1,_0x2da6c1;_0x207ece>=0x0;_0x207ece--)(_0x2da6c1=_0x19bc02[_0x207ece])&&(_0x22e441=_0x2da6c1(_0x22e441)||_0x22e441);return _0x22e441;},_0x3a9bdb=(_0x1ab247,_0xe69955)=>(_0x453767,_0x583227)=>_0xe69955(_0x453767,_0x583227,_0x1ab247);let _0x4df868=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x33d61e,_0x352cc1,_0x647de7,_0x26010e,_0xe45ba2,_0x553ab1,_0x35045b){const _0x2271ef=_0x4d8b64;super(),_0x47b9ba(this,_0x2271ef(0x248),new _0x3500ba[(_0x2271ef(0x3e3))]()),(this['_injector']=_0x33d61e,this[_0x2271ef(0x451)]=_0x352cc1,this['_commandService']=_0x647de7,this[_0x2271ef(0x49a)]=_0x26010e,this[_0x2271ef(0x205)]=_0xe45ba2,this[_0x2271ef(0x28f)]=_0x553ab1,this[_0x2271ef(0x3f4)]=_0x35045b,this[_0x2271ef(0x38e)]());}[_0x4d8b64(0x38e)](){const _0x55a473=_0x4d8b64,_0x484205=(_0x653f4c,_0x185919)=>{const _0x5c7bab=_0x416f,_0x6fb152=this[_0x5c7bab(0x49a)][_0x5c7bab(0x2d0)](_0x3500ba[_0x5c7bab(0x2f0)][_0x5c7bab(0x42b)]);if(!_0x6fb152||!(_0x6fb152==null?void 0x0:_0x6fb152[_0x5c7bab(0x3fd)](_0x185919)))return;this[_0x5c7bab(0x248)][_0x5c7bab(0x1f5)]();const _0x2ecb0c=_0x4f8cfb=>this[_0x5c7bab(0x239)](_0x4f8cfb,_0x653f4c,_0x185919),_0x83ccea=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x653f4c,_0x185919);if(!(_0x83ccea!=null&&_0x83ccea[_0x5c7bab(0x3c1)]))return;Array[_0x5c7bab(0x2bf)](_0x83ccea[_0x5c7bab(0x313)]())[_0x5c7bab(0x269)](_0x3011f8=>{const _0xaaec23=_0x5c7bab,{row:_0x54abf2,col:_0x35a41d}=_0x3011f8[_0xaaec23(0x32a)];return _0x3500ba['cellToRange'](_0x54abf2,_0x35a41d);})[_0x5c7bab(0x325)](_0x12a551=>{const _0x243a07=_0x5c7bab;this[_0x243a07(0x248)]['add'](this['_refRangeService'][_0x243a07(0x293)](_0x12a551,_0x2ecb0c,_0x653f4c,_0x185919));});},_0x4f65c2=()=>{const _0x45ec08=_0x416f,_0x3cda1a=this[_0x45ec08(0x49a)][_0x45ec08(0x2d0)](_0x3500ba[_0x45ec08(0x2f0)]['UNIVER_SHEET']);if(_0x3cda1a){const _0x2c083e=_0x3cda1a['getActiveSheet']();if(!_0x2c083e)return;_0x484205(_0x3cda1a[_0x45ec08(0x208)](),_0x2c083e[_0x45ec08(0x481)]());}};this[_0x55a473(0x344)](this[_0x55a473(0x249)]['onCommandExecuted'](_0x3c2bef=>{const _0x274a4e=_0x55a473;if(_0x3c2bef['id']===_0x4ed168[_0x274a4e(0x474)]['id']){const _0x133acb=_0x3c2bef[_0x274a4e(0x395)],_0x3815cf=_0x133acb[_0x274a4e(0x2a9)],_0x524838=_0x133acb[_0x274a4e(0x3e1)];if(!_0x3815cf||!_0x524838)return;_0x484205(_0x524838,_0x3815cf);}})),this[_0x55a473(0x344)](this[_0x55a473(0x205)][_0x55a473(0x26a)][_0x55a473(0x3c7)](_0x45589d=>{_0x45589d&&_0x4f65c2();})),this[_0x55a473(0x344)](this[_0x55a473(0x205)][_0x55a473(0x359)]['subscribe'](_0x2a1bde=>{const _0x521ad9=_0x55a473,_0x453330=_0x4ed168[_0x521ad9(0x3dc)](this[_0x521ad9(0x49a)]);if(!_0x453330)return;const {unitId:_0x70904f,subUnitId:_0x235cea}=_0x453330,{unitId:_0x1f8ff8,subUnitId:_0x32188a}=_0x2a1bde;_0x70904f!==_0x1f8ff8||_0x235cea!==_0x32188a||_0x484205(_0x70904f,_0x235cea);})),_0x4f65c2();}[_0x4d8b64(0x239)](_0x207bca,_0x7f79e6,_0x31ef70){const _0x1b5f6f=_0x4d8b64;switch(_0x207bca['id']){case _0x4ed168[_0x1b5f6f(0x390)]['id']:return this[_0x1b5f6f(0x456)](_0x207bca[_0x1b5f6f(0x395)],_0x7f79e6,_0x31ef70);}return{'redos':[],'undos':[]};}[_0x4d8b64(0x456)](_0x3e30cc,_0x23163a,_0x56b5d6){const _0x35368e=_0x4d8b64,{fromRange:_0x3ff891,toRange:_0x1c11cf}=_0x3e30cc,_0x108940=[],_0x33f164=[],_0x3b514b=_0x4ed168['getSheetCommandTarget'](this[_0x35368e(0x49a)]);if(!_0x3b514b)return{'undos':_0x33f164,'redos':_0x108940};if(_0x23163a!==_0x3b514b[_0x35368e(0x3e1)]||_0x56b5d6!==_0x3b514b[_0x35368e(0x2a9)])return{'undos':_0x33f164,'redos':_0x108940};const _0x40f593=this[_0x35368e(0x205)][_0x35368e(0x3af)](_0x23163a,_0x56b5d6);if(_0x40f593!=null&&_0x40f593[_0x35368e(0x3c1)])for(const [_0x256d52,_0x1005e0]of _0x40f593){const {unitId:_0x11780,subUnitId:_0x5d0250,row:_0x557865,col:_0x7c271d}=_0x1005e0['targetCellInfo'];if(_0x11780===_0x3b514b[_0x35368e(0x3e1)]&&_0x5d0250===_0x3b514b[_0x35368e(0x2a9)]){const _0x52a16e=_0x3500ba[_0x35368e(0x368)](_0x557865,_0x7c271d);if(_0x3500ba[_0x35368e(0x2c1)][_0x35368e(0x280)](_0x52a16e,_0x3ff891)){const _0x3ff33f=_0x557865-_0x3ff891[_0x35368e(0x4cb)],_0x15545a=_0x7c271d-_0x3ff891['startColumn'],_0x47b3a7={'row':_0x1c11cf[_0x35368e(0x4cb)]+_0x3ff33f,'col':_0x1c11cf[_0x35368e(0x4ca)]+_0x15545a};_0x108940[_0x35368e(0x206)]({'id':_0x464835['id'],'params':{'unitId':_0x11780,'subUnitId':_0x5d0250,'pivotTableId':_0x256d52,'targetCellPosition':_0x47b3a7}}),_0x33f164[_0x35368e(0x206)]({'id':_0x464835['id'],'params':{'unitId':_0x11780,'subUnitId':_0x5d0250,'pivotTableId':_0x256d52,'targetCellPosition':{'row':_0x557865,'col':_0x7c271d}}});const _0x38586c=_0x47b3a7[_0x35368e(0x365)]-_0x557865,_0x188e03=_0x47b3a7['col']-_0x7c271d,_0x2be55f=[],_0x4df02e=this[_0x35368e(0x28f)][_0x35368e(0x2e7)](_0x11780,_0x5d0250,_0x256d52),_0x12100c=_0x4df02e==null?void 0x0:_0x4df02e[_0x35368e(0x4c4)];if(_0x12100c){Object[_0x35368e(0x27f)](_0x12100c)['forEach'](_0x38335d=>{const _0x69bb45=_0x35368e;_0x12100c[_0x38335d][_0x69bb45(0x325)](_0x33c437=>{const _0x3eed02=_0x69bb45,_0x424d72={..._0x33c437};_0x424d72['startRow']=_0x33c437[_0x3eed02(0x4cb)]+_0x38586c,_0x424d72[_0x3eed02(0x367)]=_0x33c437[_0x3eed02(0x367)]+_0x38586c,_0x424d72[_0x3eed02(0x4ca)]=_0x33c437[_0x3eed02(0x4ca)]+_0x188e03,_0x424d72[_0x3eed02(0x373)]=_0x33c437[_0x3eed02(0x373)]+_0x188e03,_0x2be55f['push'](_0x424d72);});});const _0x3c5768=this[_0x35368e(0x3f4)][_0x35368e(0x4ba)]({'unitId':_0x11780,'subUnitId':_0x5d0250,'ranges':_0x2be55f});_0x108940[_0x35368e(0x206)](..._0x3c5768[_0x35368e(0x21f)]),_0x33f164[_0x35368e(0x206)](..._0x3c5768[_0x35368e(0x42f)]);const _0x19392f=_0x5e4c48(this['_injector'],_0x11780,_0x5d0250,_0x2be55f);_0x19392f[_0x35368e(0x347)]&&(_0x108940['push'](_0x19392f[_0x35368e(0x36d)]),_0x33f164[_0x35368e(0x206)](_0x19392f['setRangeValueUndoMutation']));}}}}return{'redos':_0x108940,'undos':_0x33f164};}};_0x4df868=_0x50a766([_0x3a9bdb(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba['Injector'])),_0x3a9bdb(0x1,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x217)])),_0x3a9bdb(0x2,_0x3500ba['ICommandService']),_0x3a9bdb(0x3,_0x3500ba[_0x4d8b64(0x3c9)]),_0x3a9bdb(0x4,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23['SheetsPivotTableConfigModel'])),_0x3a9bdb(0x5,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23[_0x4d8b64(0x39c)])),_0x3a9bdb(0x6,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x2b4)]))],_0x4df868);var _0x4f4092=Object[_0x4d8b64(0x302)],_0x36ec14=(_0x3c8911,_0x527c4c,_0x36d901,_0x48f4f5)=>{for(var _0x234eb2=_0x48f4f5>0x1?void 0x0:_0x48f4f5?_0x4f4092(_0x527c4c,_0x36d901):_0x527c4c,_0x226e66=_0x3c8911['length']-0x1,_0x5e166c;_0x226e66>=0x0;_0x226e66--)(_0x5e166c=_0x3c8911[_0x226e66])&&(_0x234eb2=_0x5e166c(_0x234eb2)||_0x234eb2);return _0x234eb2;},_0x584418=(_0x29cf1f,_0x43a4e5)=>(_0x1fb5cb,_0x5e6bb1)=>_0x43a4e5(_0x1fb5cb,_0x5e6bb1,_0x29cf1f);let _0x41692f=class extends _0x3500ba[_0x4d8b64(0x4af)]{constructor(_0x263fb3,_0x1578fc){const _0xe64bca=_0x4d8b64;super(),this[_0xe64bca(0x3f4)]=_0x263fb3,this[_0xe64bca(0x205)]=_0x1578fc,this[_0xe64bca(0x429)]();}['_initRemoveSheetCommandInterceptor'](){const _0xd51393=_0x4d8b64;this[_0xd51393(0x344)](this[_0xd51393(0x3f4)][_0xd51393(0x317)]({'getMutations':_0x364d4d=>{const _0x3a8cb5=_0xd51393;if(_0x364d4d['id']===_0x4ed168['RemoveSheetCommand']['id']){const _0x5a2289=[],_0x4047d4=[],_0x17acbe=_0x364d4d[_0x3a8cb5(0x395)],{unitId:_0x5256b9,subUnitId:_0x20615e}=_0x17acbe;if(!_0x5256b9||!_0x20615e)return{'undos':_0x4047d4,'redos':_0x5a2289};const _0x484a3b=this[_0x3a8cb5(0x205)][_0x3a8cb5(0x3af)](_0x5256b9,_0x20615e);if(_0x484a3b!=null&&_0x484a3b[_0x3a8cb5(0x3c1)])for(const [_0x292356,_0x1ca738]of _0x484a3b){_0x5a2289[_0x3a8cb5(0x206)]({'id':_0x4320a9['id'],'params':{'unitId':_0x5256b9,'subUnitId':_0x20615e,'pivotTableId':_0x292356}});const _0x1996fa={...this[_0x3a8cb5(0x205)][_0x3a8cb5(0x2d9)](_0x5256b9,_0x292356)};_0x4047d4['push']({'id':_0x37aa8f['id'],'params':{'unitId':_0x5256b9,'subUnitId':_0x20615e,'pivotTableId':_0x292356,'pivotTableConfig':_0x1ca738,'collectionConfig':_0x1996fa}});}return{'redos':_0x5a2289,'undos':_0x4047d4};}return{'redos':[],'undos':[]};}}));}};_0x41692f=_0x36ec14([_0x584418(0x0,_0x3500ba[_0x4d8b64(0x4b0)](_0x4ed168[_0x4d8b64(0x2b4)])),_0x584418(0x1,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23[_0x4d8b64(0x2e0)]))],_0x41692f);var _0x49c939=Object[_0x4d8b64(0x302)],_0x2039f3=(_0x47af09,_0x328ea2,_0x17195c,_0x192787)=>{for(var _0x2d0024=_0x192787>0x1?void 0x0:_0x192787?_0x49c939(_0x328ea2,_0x17195c):_0x328ea2,_0x3b3527=_0x47af09['length']-0x1,_0x30be84;_0x3b3527>=0x0;_0x3b3527--)(_0x30be84=_0x47af09[_0x3b3527])&&(_0x2d0024=_0x30be84(_0x2d0024)||_0x2d0024);return _0x2d0024;},_0x3069d9=(_0x5c06a3,_0x5cdad9)=>(_0x274473,_0x4360af)=>_0x5cdad9(_0x274473,_0x4360af,_0x5c06a3);let _0x1b8106=class extends _0x3500ba['Disposable']{constructor(_0x77538d,_0x2cb360,_0x37d811,_0xcd8cc2,_0x3922e0,_0x32664d){const _0x5249e2=_0x4d8b64;super(),this[_0x5249e2(0x249)]=_0x77538d,this[_0x5249e2(0x4ea)]=_0x2cb360,this[_0x5249e2(0x28f)]=_0x37d811,this[_0x5249e2(0x205)]=_0xcd8cc2,this[_0x5249e2(0x49a)]=_0x3922e0,this[_0x5249e2(0x4e0)]=_0x32664d,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x4d8b64(0x24c)](){const _0x47cdc3=_0x4d8b64;this[_0x47cdc3(0x344)](this[_0x47cdc3(0x249)][_0x47cdc3(0x3f7)](_0x2bce6d=>{const _0x4683a9=_0x47cdc3;if(_0x2bce6d['id']!==_0xe7bd2c['id'])return;const _0x520ee9=_0x2bce6d[_0x4683a9(0x395)];this[_0x4683a9(0x4ea)][_0x4683a9(0x29f)](_0x520ee9);})),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5184ab=>{const _0x3ef74b=_0x47cdc3;if(_0x5184ab['id']===_0x58bb3f['id']){const _0x20cf3c=_0x5184ab[_0x3ef74b(0x395)];if(_0x20cf3c){const {unitId:_0x1edea8,subUnitId:_0x3de420,oldSubUnitId:_0x3b817c,pivotTableId:_0x39f595,pivotTableConfig:_0x47e190,collectionConfig:_0x221201}=_0x20cf3c;this[_0x3ef74b(0x205)][_0x3ef74b(0x234)](_0x1edea8,_0x3b817c,_0x20cf3c[_0x3ef74b(0x4f6)],null),this[_0x3ef74b(0x205)][_0x3ef74b(0x234)](_0x1edea8,_0x3de420,_0x39f595,_0x47e190),this[_0x3ef74b(0x205)]['updateCollectionConfig'](_0x1edea8,_0x221201);}}})),this[_0x47cdc3(0x344)](this[_0x47cdc3(0x249)][_0x47cdc3(0x3f7)](_0x20e743=>{const _0x429efd=_0x47cdc3;if(_0x20e743['id']!==_0x39da55['id'])return;const _0x32b954=_0x4ed168[_0x429efd(0x3dc)](this[_0x429efd(0x49a)]);if(!_0x32b954)return;const {unitId:_0x2b1b5d,subUnitId:_0x1b9385}=_0x32b954,_0x1446d3=_0x20e743[_0x429efd(0x395)];if(_0x1446d3[_0x429efd(0x261)]&&Object[_0x429efd(0x27f)](_0x1446d3['collectionConfig'])[_0x429efd(0x325)](_0x1cf004=>{const _0x311123=_0x429efd;var _0x4ca26d;(_0x4ca26d=_0x1446d3[_0x311123(0x261)])!=null&&_0x4ca26d[_0x1cf004]&&this[_0x311123(0x205)][_0x311123(0x2a2)](_0x1cf004,_0x1446d3['collectionConfig'][_0x1cf004]);}),_0x1446d3[_0x429efd(0x3dd)]){const _0x2f3894=_0x1446d3[_0x429efd(0x3dd)],{unitId:_0x598a82,subUnitId:_0x28b321,view:_0x3b3333,pivotTableId:_0x3bcb4c,type:_0x5c59ec,pivotConfig:_0x1240b3}=_0x2f3894;if(_0x5c59ec===_0x12b936[_0x429efd(0x2f1)])this[_0x429efd(0x28f)][_0x429efd(0x3f0)]({'unitId':_0x598a82,'subUnitId':_0x28b321,'pivotTableId':_0x3bcb4c,'type':_0x5c59ec}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x598a82,_0x28b321,_0x3bcb4c,null);else{const _0x50aad7=new _0x2aa645[(_0x429efd(0x4fb))]();_0x50aad7[_0x429efd(0x1fb)](_0x3b3333),this[_0x429efd(0x205)]['updateConfigCache'](_0x598a82,_0x28b321,_0x3bcb4c,_0x1240b3),this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x598a82,'subUnitId':_0x28b321,'pivotTableId':_0x3bcb4c,'type':_0x5c59ec,'view':_0x50aad7}),this[_0x429efd(0x28f)][_0x429efd(0x1ec)]({'unitId':_0x598a82,'subUnitId':_0x28b321,'view':_0x50aad7,'pivotTableId':_0x3bcb4c,'type':_0x5c59ec});}}else _0x1446d3[_0x429efd(0x37e)]&&(_0x1446d3['batch'][_0x429efd(0x325)](_0x598fee=>{const _0x17a0b7=_0x429efd,{unitId:_0x110ded,subUnitId:_0x5d44bb,view:_0x4c67b1,pivotTableId:_0x5d9948,type:_0x82fc45,pivotConfig:_0x453725}=_0x598fee,_0x3c7405=new _0x2aa645[(_0x17a0b7(0x4fb))]();_0x3c7405[_0x17a0b7(0x1fb)](_0x4c67b1),this['_sheetsPivotTableConfigModel'][_0x17a0b7(0x234)](_0x110ded,_0x5d44bb,_0x5d9948,_0x453725),this[_0x17a0b7(0x28f)]['updateRenderCache']({'unitId':_0x110ded,'subUnitId':_0x5d44bb,'view':_0x3c7405,'pivotTableId':_0x5d9948,'type':_0x82fc45});}),this[_0x429efd(0x205)][_0x429efd(0x3a9)]());this[_0x429efd(0x28f)][_0x429efd(0x30a)](_0x2b1b5d,_0x1b9385);}));}['registerDirtyService'](){const _0x57d0cc=_0x4d8b64;this[_0x57d0cc(0x4e0)][_0x57d0cc(0x40e)](_0x38af22['id'],{'commandId':_0x38af22['id'],'getDirtyData'(_0x3335bb){const _0x50113a=_0x57d0cc;return{'dirtyUnitFeatureMap':_0x3335bb[_0x50113a(0x395)]};}});}};_0x1b8106=_0x2039f3([_0x3069d9(0x0,_0x3500ba['Inject'](_0x3500ba[_0x4d8b64(0x496)])),_0x3069d9(0x1,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23[_0x4d8b64(0x411)])),_0x3069d9(0x2,_0x3500ba['Inject'](_0x1f8e23[_0x4d8b64(0x39c)])),_0x3069d9(0x3,_0x3500ba[_0x4d8b64(0x4b0)](_0x1f8e23[_0x4d8b64(0x2e0)])),_0x3069d9(0x4,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba['IUniverInstanceService'])),_0x3069d9(0x5,_0x454f08[_0x4d8b64(0x3b5)])],_0x1b8106);var _0x49634f=Object[_0x4d8b64(0x35c)],_0x3386f7=Object[_0x4d8b64(0x302)],_0x444a9f=(_0x19ef8d,_0x7962ee,_0x2ec00f)=>_0x7962ee in _0x19ef8d?_0x49634f(_0x19ef8d,_0x7962ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ec00f}):_0x19ef8d[_0x7962ee]=_0x2ec00f,_0x266b0f=(_0x25f2f3,_0x3a39b0,_0x170156,_0x2a75d6)=>{const _0x1ac559=_0x4d8b64;for(var _0x1d2b1b=_0x2a75d6>0x1?void 0x0:_0x2a75d6?_0x3386f7(_0x3a39b0,_0x170156):_0x3a39b0,_0x10860a=_0x25f2f3[_0x1ac559(0x2a7)]-0x1,_0x25930d;_0x10860a>=0x0;_0x10860a--)(_0x25930d=_0x25f2f3[_0x10860a])&&(_0x1d2b1b=_0x25930d(_0x1d2b1b)||_0x1d2b1b);return _0x1d2b1b;},_0x3955c1=(_0x422a51,_0x474616)=>(_0x1522a5,_0x33e8ff)=>_0x474616(_0x1522a5,_0x33e8ff,_0x422a51),_0x1b96ab=(_0xd001ab,_0x33868d,_0x391b9b)=>_0x444a9f(_0xd001ab,typeof _0x33868d!='symbol'?_0x33868d+'':_0x33868d,_0x391b9b);_0x1f8e23[_0x4d8b64(0x1e6)]=class extends _0x3500ba[_0x4d8b64(0x4b5)]{constructor(_0x5ed9a9=_0x5675cf,_0x510240,_0x24e99b,_0x4093b7,_0x673d80){const _0x422584=_0x4d8b64;super(),this['_config']=_0x5ed9a9,this[_0x422584(0x353)]=_0x510240,this[_0x422584(0x249)]=_0x24e99b,this['_configService']=_0x4093b7,this['_dataSyncPrimaryController']=_0x673d80;const {..._0x288c87}=_0x3500ba[_0x422584(0x3d8)]({},_0x5675cf,this[_0x422584(0x20c)]);this[_0x422584(0x200)]['setConfig'](_0x38a895,_0x288c87),this[_0x422584(0x4c0)](),this['_initConfig']();}[_0x4d8b64(0x449)](){const _0x1ca68a=_0x4d8b64;var _0x4a7659;const _0x5a800e=(_0x4a7659=this[_0x1ca68a(0x20c)])==null?void 0x0:_0x4a7659[_0x1ca68a(0x399)];this['_configService'][_0x1ca68a(0x3df)](_0x385e31,_0x5a800e===!0x0);}[_0x4d8b64(0x427)](){const _0x27f620=_0x4d8b64;var _0x1ecd60;let _0xf10e07=[];const _0x5d7c38=(_0x1ecd60=this[_0x27f620(0x20c)])==null?void 0x0:_0x1ecd60[_0x27f620(0x399)];_0x5d7c38===!0x0?_0xf10e07=[[_0x1f8e23[_0x27f620(0x41f)]],[_0x1f8e23[_0x27f620(0x411)]],[_0x1b8106],[_0x1f8e23[_0x27f620(0x39c)]],[_0x1f8e23[_0x27f620(0x2e0)]],[_0x41692f],[_0xbd95e6],[_0x4df868],[_0x16a352]]:_0x5d7c38===!0x1?_0xf10e07=[[_0x1f8e23[_0x27f620(0x267)]],[_0xc78de6]]:_0x5d7c38===void 0x0&&(_0xf10e07=[[_0x1f8e23['SheetsPivotDataSourceModel']],[_0xc78de6],[_0x1f8e23[_0x27f620(0x41f)]],[_0x1f8e23[_0x27f620(0x411)]],[_0x1b8106],[_0x1f8e23[_0x27f620(0x39c)]],[_0x1f8e23['SheetsPivotTableConfigModel']],[_0x41692f],[_0xbd95e6],[_0x4df868],[_0x16a352]]),_0xf10e07[_0x27f620(0x325)](_0x20e888=>this['_injector'][_0x27f620(0x36f)](_0x20e888)),[_0xc78de6,_0x1b8106,_0x1f8e23[_0x27f620(0x41f)],_0xbd95e6,_0x41692f,_0x4df868,_0x16a352][_0x27f620(0x325)](_0x1e8b4e=>{const _0x2c1bfd=_0x27f620;this[_0x2c1bfd(0x353)][_0x2c1bfd(0x386)](_0x1e8b4e)&&this[_0x2c1bfd(0x353)][_0x2c1bfd(0x445)](_0x1e8b4e);});}['_initRegisterCommand'](){const _0x53e6ac=_0x4d8b64;[_0x196563,_0x2a8091,_0x4fc143,_0xdabb42,_0x2f1f09,_0x2d3784,_0x2dea0,_0x435010,_0x5ae5f7,_0x551394,_0x1a71fd,_0x20c7b2,_0x470806,_0x2b7818,_0x37aa8f,_0x1a1c37,_0x4320a9,_0x12b8b6,_0x1e8381,_0x170a77,_0x25d688,_0x1bf3e8,_0x150efb,_0x26ad3b,_0x324b55,_0x3bee1d,_0x464835,_0x29ca24,_0xe7bd2c,_0x39da55,_0x66ebe8,_0x3eabf4,_0x5d301f,_0x28307c,_0xa61830,_0x66bc5e,_0x286e91,_0x38af22,_0x58bb3f,_0x345106,_0x13954b,_0x3a1bdf,_0x179310][_0x53e6ac(0x325)](_0x18178c=>{const _0x308861=_0x53e6ac;var _0x13f703;(_0x13f703=this[_0x308861(0x43f)])==null||_0x13f703[_0x308861(0x466)](_0x18178c),this[_0x308861(0x249)][_0x308861(0x290)](_0x18178c);});}},_0x1b96ab(_0x1f8e23['UniverSheetsPivotTablePlugin'],_0x4d8b64(0x264),_0x3aabed),_0x1b96ab(_0x1f8e23['UniverSheetsPivotTablePlugin'],_0x4d8b64(0x3cb),_0x3500ba[_0x4d8b64(0x2f0)][_0x4d8b64(0x42b)]),_0x1f8e23[_0x4d8b64(0x1e6)]=_0x266b0f([_0x3500ba[_0x4d8b64(0x44d)](_0x25d566['UniverLicensePlugin']),_0x3955c1(0x1,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba['Injector'])),_0x3955c1(0x2,_0x3500ba[_0x4d8b64(0x4b0)](_0x3500ba['ICommandService'])),_0x3955c1(0x3,_0x3500ba['IConfigService']),_0x3955c1(0x4,_0x3500ba['Optional'](_0x378576['DataSyncPrimaryController']))],_0x1f8e23[_0x4d8b64(0x1e6)]),_0x1f8e23['AddPivotFieldCommand']=_0x4fc143,_0x1f8e23[_0x4d8b64(0x4ed)]=_0x12b8b6,_0x1f8e23[_0x4d8b64(0x494)]=_0x2a8091,_0x1f8e23[_0x4d8b64(0x2eb)]=_0x37aa8f,_0x1f8e23['AddPivotTableWithConfigCommand']=_0x196563,_0x1f8e23[_0x4d8b64(0x228)]=_0x539291,_0x1f8e23[_0x4d8b64(0x400)]=_0x3a26ee,_0x1f8e23[_0x4d8b64(0x47d)]=_0xdabb42,_0x1f8e23['MovePivotTableCommand']=_0x470806,_0x1f8e23['PivotDisplayDataType']=_0xe8beec,_0x1f8e23[_0x4d8b64(0x268)]=_0x2b7818,_0x1f8e23[_0x4d8b64(0x2cf)]=_0x12b936,_0x1f8e23['PivotTableViewDirtyMarkOperation']=_0x38af22,_0x1f8e23[_0x4d8b64(0x385)]=_0x168dd3,_0x1f8e23[_0x4d8b64(0x3c5)]=_0x2f1f09,_0x1f8e23[_0x4d8b64(0x28d)]=_0x1bf3e8,_0x1f8e23[_0x4d8b64(0x2f8)]=_0x4320a9,_0x1f8e23[_0x4d8b64(0x4c7)]=_0x150efb,_0x1f8e23[_0x4d8b64(0x3b9)]=_0x179310,_0x1f8e23[_0x4d8b64(0x2d2)]=_0x38a895,_0x1f8e23['SHEET_PIVOT_TABLE_PLUGIN']=_0x3aabed,_0x1f8e23[_0x4d8b64(0x2ce)]=_0x435010,_0x1f8e23[_0x4d8b64(0x23c)]=_0x26ad3b,_0x1f8e23[_0x4d8b64(0x2a3)]=_0x28307c,_0x1f8e23['SetPivotFieldsConfigCommand']=_0x3a1bdf,_0x1f8e23[_0x4d8b64(0x415)]=_0x551394,_0x1f8e23['SetPivotFilterMutation']=_0x25d688,_0x1f8e23[_0x4d8b64(0x343)]=_0x3bee1d,_0x1f8e23[_0x4d8b64(0x260)]=_0x464835,_0x1f8e23[_0x4d8b64(0x2ae)]=_0x5ae5f7,_0x1f8e23['SetPivotSortMutation']=_0x324b55,_0x1f8e23['SetPivotSubtotalTypeMutation']=_0x5d301f,_0x1f8e23['SetPivotValueFilterCommand']=_0x345106,_0x1f8e23['SetPivotValueFilterMutation']=_0x13954b,_0x1f8e23['UpdateDateGroupCommand']=_0x2dea0,_0x1f8e23[_0x4d8b64(0x28b)]=_0x66ebe8,_0x1f8e23['UpdatePivotFieldSettingCommand']=_0x1a71fd,_0x1f8e23[_0x4d8b64(0x4ee)]=_0x286e91,_0x1f8e23['UpdatePivotTableSourceRangeCommand']=_0x20c7b2,_0x1f8e23[_0x4d8b64(0x4e1)]=_0x66bc5e,_0x1f8e23['UpdatePivotValuePositionCommand']=_0x2d3784,_0x1f8e23[_0x4d8b64(0x27b)]=_0x3eabf4,_0x1f8e23['applyChangeSet']=_0x57eba8,_0x1f8e23[_0x4d8b64(0x440)]=_0x548a80,_0x1f8e23[_0x4d8b64(0x3ad)]=_0x5a68d8,_0x1f8e23[_0x4d8b64(0x339)]=_0x5e4c48,_0x1f8e23['getAdjustRangesPosition']=_0x2c1f25,_0x1f8e23[_0x4d8b64(0x2b6)]=_0x165723,_0x1f8e23['getFieldListByArea']=_0xad39ab,_0x1f8e23['getInsertRowColMutations']=_0x1888d8,_0x1f8e23[_0x4d8b64(0x35b)]=_0x3d23de,_0x1f8e23[_0x4d8b64(0x488)]=_0xdf4962,_0x1f8e23[_0x4d8b64(0x2e1)]=_0x12d15d,_0x1f8e23[_0x4d8b64(0x1fd)]=_0x41bfc1,_0x1f8e23[_0x4d8b64(0x3a5)]=_0x9ad3ed,Object[_0x4d8b64(0x35c)](_0x1f8e23,Symbol[_0x4d8b64(0x27e)],{'value':_0x4d8b64(0x4a1)});}));function _0x416f(_0x90d4d,_0x4108c1){const _0xc1c038=_0xc1c0();return _0x416f=function(_0x416f51,_0x412b47){_0x416f51=_0x416f51-0x1e5;let _0x40ff05=_0xc1c038[_0x416f51];return _0x40ff05;},_0x416f(_0x90d4d,_0x4108c1);}function _0xc1c0(){const _0x51834d=['sheet.command.update-pivot-table-source-range','defaultThemeStyle','_pivotTableRangeInfo','getSubUnitPivotConfigs','split','isBaseGroupField','sourceRangeInfo','getName','deleteDataField','IActiveDirtyManagerService','Total','bind','_markDirty$','ResetPivotFieldsConfigCommand','toString','unshift','substring','getFieldDataType','remove','Add','setName','size','dataFields','4kqkbxt','dataFieldsCollection','RemovePivotFieldCommand','stringify','subscribe','getDataFieldManager','IUniverInstanceService','_sheetsSelectionsService','type','getFieldIds','subtotal','ClearSelectionAllCommand','SetValuePivotFilter','SetOptions','getMatrix','getRangeStartEndInfo','sheets-pivot.emptyPivot.row','@univerjs/engine-formula','value','leftOffset','sheets-pivot.config','merge','getColumnWidth','Hour','deleteUnitId','getSheetCommandTarget','single','YearMonth','setConfig','GrandTotal','unitId','rowFields','DisposableCollection','includes','colStyle','@univerjs-pro/license','getMatrixFromRunTimeData','setDataRecordCount','InsertColMutation','object','#f4f4f5','NO_COMMERCIAL','toJSON','_fieldsCollectionChange$','fields','clearRenderCache','getColumnCount','getTypeOfUnitDisposed$','other','_sheetInterceptorService','query','_host','onCommandExecuted','product','rgb(240,241,243)','_ensurePivotTableRangeInfo','iterateFieldByArea','getAutoDisplayName','getSheetBySheetId','updatePivotTableMatrixInfo','mergeWorksheetSnapshotWithDefault','DEFAULT_PIVOT_NUMBER','workbook\x20is\x20not\x20found','DEFAULT_WORKSHEET_COLUMN_COUNT','createCollectionWithDataRange','reset','random','amd','FORCE_STRING','delete','PivotViewCellValueTypeEnum','getFieldById','_initGlobalComputed','sheets-pivot.columnName','triggerDirtyFeature','register','sheet.mutation.pivot-update-field-position','valuePosition','SheetsPivotRPCService','DIV_BY_ZERO','getSubtotal','getPivotTableModelConfig','SetPivotFilterCommand','viewUpdate$','iterateFieldDim','_initCommandInterceptListener','removeCollections','error','getDataFieldByDataFieldId','_init','cornerStyle','floor','SheetsPivotTableService','rowCount','pageRanges','_collectionConfigModel','#1d32e9','sheet.command.update-date-group','filterInfo','LocaleService','onStarting','dateGroupField','_initRemoveSheetCommandInterceptor','sheet.mutation.get-pivot-data-local','UNIVER_SHEET','generateNewSheetName','9EBvkqe','_featureCalculationManagerService','undos','MoveRangeMutation','SHEET_PIVOT_TABLE_PLUGIN','existing','AddPivotField','Var\x20of\x20','initDataRanges','setValuePivotFilter','getNoUsedDataFieldIds','generateNullCell','deleteField','sheet.command.set-pivot-filter','INTERCEPTOR_POINT','isDateGroupField','DateGroupField','setDateType','_dataSyncPrimaryController','canUsePivot','startCollectChangeset','getPivotTableIdByCell','StdDev\x20of\x20','setPivotSort','get','refreshGroupField','getDataFieldByTableId','sheets-pivot.productName','_initConfig','CommandType','Column','sheet.mutation.send-init-pivot-text-local','DependentOn','asObservable','rgb(255,255,255)','fetchThroughAsyncInterceptors','_refRangeService','getFormat','SetRangeValuesMutation','SheetsSelectionsService','updateViewInfo','getRefRangeMutationsByMoveRange','executeCommand','getformat','getRangeData','HourMinute','getPivotTableInstance','_subjectCollectionChange','sheets-pivot.cellDateGroupDisplay.hour','getLastCol','_deletePivotTableInstanceCache','NUM','FieldsCollection','options','_initClearSelectionCommandInterceptor','getInterceptPoints','IResourceManagerService','registerSyncingMutations','UniverRpc','oldRangeInfo','filterFields','getCellMatrix','_deleteModelCache','_collectionChange$','getLastRow','sheet.command.add-pivot-table','addField','sheets-pivot.dateGroup.monthDate','Subject','getValuePosition','Set','SetWorksheetActiveOperation','average','ResetPivotTable','queryDirtyPivotTable','updateViewData','refreshData','pbt','getCurrentSelections','removeValueFilterInfoByValueFieldId','MovePivotFieldCommand','2415690ZKbcHO','numfmt','SetSortInfo','getSheetId','New','sheet.mutation.set-pivot-sort-info','UniverProEnginePivot','sheet.mutation.send-pivot-view-local','valid','SetPivotCollapse','getPivotInfoByLicense','updatePivotTableRangeInfo','sheet.mutation.add-pivot-field','AddField','blank','getFilterFieldIdByIndex','colRanges','RemoveSheetMutation','Month','Count\x20of\x20','contains','sheets-pivot.value','AddPivotTableCommand','getCellRaw','ICommandService','dataRangeInfo','sheets-pivot.cellDateGroupDisplay.month','fieldsConfig','_univerInstanceService','dataFieldManagerConfig','setPivotSetting','NotName','excelDateToUnixMilliseconds','broadcastCollectionChange','sheet.mutation.set-pivot-format','Module','_ensurePivotItemRenderInfoCache','min','getRangeKey','interceptor','CELL_CONTENT','numberToABC','filterId','sheet.mutation.remove-pivot-table','sideEffectUpdateWorkerCache','getPivotDirtyViewInfo','cellValue','_ensureViewDataMap','Grand\x20Total','Disposable','Inject','_initSnapshot','_viewData$','headerMap','COMMAND','Plugin','sheets-pivot.dateGroup.minute','getSortInfo','setSortInfo','setSourceName','generateMutationsByRanges','getDisplayName','sheet.mutation.rename-pivot-field','cornerRanges','sheets-pivot.cellDateGroupDisplay.date','DataField','_initRegisterCommand','_globalComputedStartHelpFunc','NAME','sheet.mutation.add-group-collection','rangesInfo','setPivotCollapse','getConfig','RenamePivotFieldMutation','replace','_pivotInitCompleted$','startColumn','startRow','isArray','rangeType','addPivotField','getValueFilterInfos','custom','_sheetsPivotTableService','_createExclusiveRange','sheet.mutation.update-pivot-table-source-range','PivotCellStyleTypeEnum','version','getRowCount','SetPivotSort','fieldIds','removeSourceRangeChange','rxjs','collections','setTextInfo','result','sum','charCodeAt','_activeDirtyManagerService','UpdatePivotTableSourceRangeMutation','addDirtyPivotTable','find','updateDataFieldsCollection','sortInfo','movePivotField','sheets-pivot.dateGroup.hour','slice','PivotDataFieldDataTypeEnum','_sheetsPivotRpcService','parse','getTextInfo','AddPivotFieldMutation','UpdatePivotFieldSourceInfoMutation','data','renameField','addPivotTableWithConfig','getSourceName','uniqueDataFieldName','level','removeValueFilterInfo','pivotTableId','DEFAULT_WORKSHEET_ROW_COUNT','GlobalConfig','ObjectMatrix','rowStyle','PivotView','sheet.mutation.pivot-update-field-source-info','rowHeaderMap','sheet.command.remove-pivot-field','sheets-pivot.varpName','getSheets','sheets-pivot.blank','UniverSheetsPivotTablePlugin','exports','InsertSheetMutation','NUMBER','sourceName','MovePivotField','updateRenderCache','sheet.mutation.set-pivot-option','resetPivotTable','_viewUpdate$','sheet.mutation.set-pivot-value-filter','setRangeKeyMap','setLabelFilterInfo','PivotCallbackEnum','#FFFFFF','dispose','MUTATION','_updateModelCache','dataFieldId','_ensurePivotTableMatrixInfo','registerPluginResource','formJSON','getFormatInfo','transFromCellValue','_pivotTableMatrixInfo','removePivotTable','_configService','getIntersects','sheets-pivot.cellDateGroupDisplay.hourMinute','realDeleteValue','sheet.mutation.set-pivot-filter','_sheetsPivotTableConfigModel','push','_initPivotTextInfo','getUnitId','serializeRangeWithSpreadsheet','foreach','498638mOcHtO','_config','_updatePivotTableInstanceCache','clearExclusiveRangesByGroupId','_requestResolvers','getMatrixValue','addDataFieldWithoutUnitInfo','@univerjs/sheets-filter','Range','sheets-pivot.emptyPivot.column','SHEET_PIVOT_IN_MAIN_THREAD','_globalSubject','RefRangeService','PivotTableChangeTypeEnum','_queryingMap','forValue','isNaN','rowRanges','width','isFeatureAuthorizedWithinTime','redos','updateAllDisplayName','sheets-pivot.maxName','subTotalStyle','sheet.mutation.set-pivot-position','removeCollectionImp','updatePivotSource','tuple','drillDown','BLANK_ROW_COUNT','entries','new','getValue','_globalComputedEndHelpFunc','sheets-pivot.dateGroup.yearMonthDate','generateRandomId','getFontStyleString','updateValuePosition','RemoveSheetsFilterMutation','517iTdFrp','isEmpty','updateConfigCache','createDataFieldId','PivotTable','AddPivotTableWithConfig','isValue','_refRangeHandle','maxDate','sheet.command.set-pivot-value-filter','SetPivotCollapseMutation','getFieldCountByArea','addCollection','_model','removePivotField','onQueryStart','sheet.operation.pivot-table-view-formula-mark-dirty','InsertRowMutation','sheets-pivot.stdDevpName','sheet.command.set-pivot-sort','some','info','disposableCollection','_commandService','originalFieldId','sheets.tabs.sheet','_initDataSendListener','getSubUnitPivotRenderCache','displayName','rowInfo','BLANK_PLACEHOLDER','iterateField','updateDirtyPivotTable','date','sheet.mutation.remove-group-collection','getRangeKeyList','lastRow','IUndoRedoService','sequenceExecute','Panel','Row','MAX_SAFE_INTEGER','count','_subjectFieldsCollectionChange','InsertSheetUndoMutationFactory','PivotTableValuePositionEnum','SetPivotPositionMutation','collectionConfig','ΣValue','3130cFnhce','pluginName','createValueField','_ensurePivotMap','SheetsPivotDataSourceModel','PivotDrillDownCommand','map','pivotInitCompleted$','minDate','stdDev','generateHexNumber','SetPivotSetting','document','isDateValue','removeField','needSameDeleteModel','getMonth','STRING','removeDataField','endCollectChangeset','columnFields','12334344sQyVMj','set','Subtotal','UpdateValuePositionMutation','AsyncInterceptorManager','sheet.mutation.remove-pivot-field','toStringTag','keys','intersects','RemovePivotField','SetFieldFormat','isColMultiMeasure','SetRangeValuesUndoMutationFactory','token','YearMonthDate','getTextSize','sheets-pivot.cellDateGroupDisplay.yearQuarter','getOriginFieldId','sheets-pivot.dateGroup.quarter','UpdateFieldPositionMutation','setValue','RemovePivotFieldMutation','PivotErrorTypeEnum','_sheetsPivotTableAdaptorModel','registerCommand','Quarter','setOptions','registerRefRange','#b2b2b2','sheet.mutation.add-pivot-table','COLUMN','sheet.mutation.set-pivot-field-subtotal-type','addExclusiveRange','rangeKeyMap','_textInfo','getUpdateRangeDeleteIds','RemoveColMutation','panel','getPivotTableCellData','handleAsyncResponse','6137178SeXTeR','_configVersion$','updateCollectionConfig','SetPivotFieldFormatMutation','_lifecycleService','_subjectViewChange','addRecord','length','DataFieldManager','subUnitId','getTableFieldById','getFullYear','sheets-pivot.other','UpdateSource','SetPivotSortCommand','getSheetFeatureLimit','CellValueType','getIndexesByPathStr','UniverProLicense','getValueIndex','SheetInterceptorService','pivotTableConfigs','getEmptyPivotRanges','dataStyle','LS_CONFIG_KEY','IExclusiveRangeService','limit\x20pivot','_exclusiveRangeService','GlobalComputingStatusService','setPivotTableConfig','getId','from','sheets-pivot.minName','Rectangle','UniverEngineRender','None','createInterceptorKey','Filter','unshiftString','setDirty','_pivotTableInstanceCache','name','sheet.command.reset-pivot-fields-config','@univerjs-pro/engine-pivot','RemoveRowMutation','getIntersectsPivotTable','SetPivotCollapseCommand','PivotTableOperationEnum','getCurrentUnitForType','number','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','SetCollapse','rangeKey','column','_pivotRenderValueMatrixCache','SetWorksheetColWidthMutation','handleSourceRangeChange','getCollection','originTargetInfo','prefix','SetSubtotalType','LifecycleService','format','getPivotTableMatrixInfo','SheetsPivotTableConfigModel','getPivotTableInfo','registerCallbackWithEvent','fieldsCollectionChange$','sheet.mutation.pivot-update-value-position','YearQuarter','setDisplayName','getPivotItemRenderInfoCache','UpdatePivotSource','_dataFieldManagerCollection','_pivotConfigChange$','AddPivotTableMutation','isBottomTotal','parseInt','dimension','getTargetByPivotId','UniverInstanceType','Delete','isDate','BehaviorSubject','RenameField','colHeaderMap','getStyles','countNums','RemovePivotTableMutation','@univerjs/rpc','Date','varp','PivotDateGroupFieldDateTypeEnum','RemoveField','resetArea','body','sheets-pivot.sumName','_toJSON','getOwnPropertyDescriptor','asyncInterceptor','9492090MUyLrf','getDataFieldId','getHeaderMapItem','PivotFilterTypeEnum','valueFilter','sheets-pivot.dateGroup.yearQuarter','markDirty','updateView','_initUnitDisposed','message','node','sheets-pivot.dateGroup.yearMonth','getColCount','getDate','sheet.command.set-pivot-field-setting','values','_getPivotAppliedRanges','getPivotTableConfig','cornerInfo','interceptCommand','Injector','Minute','max','reduce','SetSheetsFilterRangeMutation','addPivotTable','FontCache','addCollectionByJSON','Varp\x20of\x20','getFieldPositionInfoById','intercept','setRange','ManualFilter','forEach','_globalComputingSrv','setValueFilterInfo','sheets-pivot.dateGroup.month','setSubtotalType','targetCellInfo','SetPivotFilter','IFeatureCalculationManagerService','collection','_ensurePivotItemRenderValueMatrixCache','areaInfo','getAutoFitColumnsMutations','UniverSheets','Tools','setFieldFormat','viewData$','handleMoveRange','valueIndex','fieldId','NotFunction','generateSetRangeValueMutations','updateFieldSourceInfo','InsertSheetCommand','addFieldWithSourceId','_pivotRenderInfoCache','_initViewModelBySheetInterceptor','AddPivotTable','filter','Year','Product\x20of\x20','SetPivotOptionMutation','disposeWithMe','getTargetByPivotTableId','updateRangeKeyMap','shouldClear','measure','pivotPerformCheck','colCount','paths','ErrorType','tableFieldId','isErrorValue','@univerjs/engine-render','sheets-pivot.varName','PIVOT_MUTATION_GENERATE','isPrefixValue','_injector','refreshDataField','sheet.mutation.send-pivot-data-local','UpdateFieldPosition','collapseInfo','Values','pivotConfigChange$','next','getPivotCellInfo','defineProperty','sheets-pivot.averageName','getFilterInfo','_initLocale','#e6ebfb','sheets-pivot.countNumsName','sheets-pivot.dateGroup.year','sheet.command.move-pivot-field','PivotTableFiledAreaEnum','row','PivotSubtotalTypeEnum','endRow','cellToRange','sheets-pivot.subTotal','stdDevp','deepClone','getPivotTableRangeInfo','setRangeValueRedoMutation','_resourceManagerService','add','versions','function','PivotDataFieldTypeEnum','endColumn','fontRenderExtension','Value','getAutoDisplayNameFunction','onQueryEnd','lastCol','valueFields','@univerjs/sheets','MIN_SAFE_INTEGER','3185031SYuEQG','adjustSheetCellData','batch','concat','string','col','setPivotFilter','getUnit','RANGE_TYPE','PositionType','has','collectionChange$','UpdateValuePosition','Div0','pushComputingStatusSubject','_generateUniqueVersion','pushUndoRedo','IConfigService','_onRefRangeChange','getPivotDisplayConfig','MoveRangeCommand','ReleaseType','range','Min\x20of\x20','update','params','getViewData','getPivotPerformCheck','_viewData','notExecuteFormula','SetPivotTableConfig','createLabelField','SheetsPivotTableAdaptorModel','DrillDown','createAsyncInterceptorKey','UniverEngineFormula','setRangeValueUndoMutation','CustomCommandExecutionError','#e6ebfa','sheet.command.add-pivot-field','setPivotTable','unionPivotViewRange','splice','_sheetsPivotDataSourceModel','updateConfig','setPivotInitCompleted','Average\x20of\x20','fromJSON'];_0xc1c0=function(){return _0x51834d;};return _0xc1c0();}
|
|
1
|
+
(function(_0x344a5d,_0x4ace8d){const _0x4d0302=_0x15e0,_0x68a41=_0x344a5d();while(!![]){try{const _0x392ebe=-parseInt(_0x4d0302(0x386))/0x1+-parseInt(_0x4d0302(0x1d0))/0x2*(-parseInt(_0x4d0302(0x97))/0x3)+-parseInt(_0x4d0302(0x168))/0x4*(parseInt(_0x4d0302(0x33a))/0x5)+parseInt(_0x4d0302(0xa6))/0x6*(-parseInt(_0x4d0302(0x21b))/0x7)+parseInt(_0x4d0302(0x91))/0x8*(-parseInt(_0x4d0302(0x9a))/0x9)+-parseInt(_0x4d0302(0x16d))/0xa+parseInt(_0x4d0302(0x138))/0xb*(parseInt(_0x4d0302(0x26d))/0xc);if(_0x392ebe===_0x4ace8d)break;else _0x68a41['push'](_0x68a41['shift']());}catch(_0x4b07f2){_0x68a41['push'](_0x68a41['shift']());}}}(_0x235c,0x4254c),function(_0x5c8495,_0x25add0){const _0x530b97=_0x15e0;typeof exports==_0x530b97(0x166)&&typeof module<'u'?_0x25add0(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==_0x530b97(0x2d8)&&define[_0x530b97(0x2d1)]?define([_0x530b97(0x1ec),'@univerjs-pro/engine-pivot',_0x530b97(0x260),_0x530b97(0x2d4),_0x530b97(0x207),_0x530b97(0x22a),_0x530b97(0x399),'@univerjs/sheets-filter',_0x530b97(0x369),_0x530b97(0x1db)],_0x25add0):(_0x5c8495=typeof globalThis<'u'?globalThis:_0x5c8495||self,_0x25add0(_0x5c8495[_0x530b97(0x25f)]={},_0x5c8495['UniverProEnginePivot'],_0x5c8495[_0x530b97(0x293)],_0x5c8495[_0x530b97(0x120)],_0x5c8495[_0x530b97(0x390)],_0x5c8495['rxjs'],_0x5c8495['UniverProLicense'],_0x5c8495[_0x530b97(0x1c5)],_0x5c8495[_0x530b97(0xc3)],_0x5c8495[_0x530b97(0x1b4)]));}(this,function(_0x2436f3,_0x57ab52,_0x2ea6dc,_0x735117,_0x54cce1,_0x367f13,_0x260b68,_0x1861b7,_0x421f9e,_0x5cd0d0){'use strict';const _0x1ce260=_0x15e0;var _0xd49c0d=Object[_0x1ce260(0x238)],_0x3c24de=(_0xdcc184,_0x376068,_0x5b108b)=>_0x376068 in _0xdcc184?_0xd49c0d(_0xdcc184,_0x376068,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b108b}):_0xdcc184[_0x376068]=_0x5b108b,_0x3b8258=(_0x460f99,_0x332d7c,_0x194221)=>_0x3c24de(_0x460f99,typeof _0x332d7c!='symbol'?_0x332d7c+'':_0x332d7c,_0x194221);const _0x4bb1ba=Number[_0x1ce260(0x35f)](0x6901d926),_0x301afc=0x10,_0x547621=0x1,_0x5cfcb5=_0x1ce260(0x302),_0x306f25=0x1,_0x347d5f=_0x1ce260(0xea),_0x1b269c=_0x1ce260(0x2bc),_0x2c968f=_0x1ce260(0x304),_0x577498=_0x1ce260(0x1eb),_0x5cc932=_0x1ce260(0x1eb),_0x4d5a76='#eceeff',_0x43ec89=_0x1ce260(0x177),_0x19adca=_0x1ce260(0x3a5),_0x463788=_0x1ce260(0xd8),_0x22b829='#1d32e9',_0x1ab17e='#FFFFFF',_0x3b936f='#e6ebfb',_0x274119=0xe,_0xe3a26c=0x6;var _0x21e3b6=(_0x45b97d=>(_0x45b97d[_0x1ce260(0x39a)]=_0x1ce260(0x13e),_0x45b97d[_0x1ce260(0xc9)]='new',_0x45b97d))(_0x21e3b6||{});const _0x277381={'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':''}}},_0x104b78=0x1e,_0x14ced6={'b':{'s':0x1,'cl':{'rgb':_0x2c968f}},'l':{'s':0x1,'cl':{'rgb':_0x2c968f}},'r':{'s':0x1,'cl':{'rgb':_0x2c968f}},'t':{'s':0x1,'cl':{'rgb':_0x2c968f}}},_0x457b03={'bg':{'rgb':_0x347d5f},'ht':0x2,'vt':0x2,'tb':0x1},_0x276fd3={'bg':{'rgb':_0x1b269c},'ht':0x2,'vt':0x2,'tb':0x1},_0x465b05={'rowStyle':{'bg':{'rgb':_0x3b936f},'bd':_0x14ced6,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x22b829},'bd':null,'cl':{'rgb':_0x1ab17e},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x14ced6,'bg':{'rgb':_0x463788},'vt':0x2},'cornerStyle':{'bd':_0x14ced6,'bg':{'rgb':_0x4d5a76},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x14ced6,'bg':{'rgb':_0x577498},'vt':0x2},'leafStyle':{'bd':_0x14ced6,'bg':{'rgb':_0x5cc932},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x43ec89},'cl':{'rgb':_0x19adca},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x14ced6,'vt':0x2}};function _0x410777(_0x488524,_0x11ac0c,_0x42fced){const _0x230ccf=_0x1ce260,_0x5cdeca=_0x488524[_0x230ccf(0x15f)](_0x2ea6dc['LocaleService']),_0x49d47f=_0x42fced[_0x230ccf(0x2e0)]('_');switch(_0x11ac0c){case _0x57ab52['PivotDateGroupFieldDateTypeEnum']['Year']:return _0x5cdeca['t'](_0x230ccf(0xfa),..._0x49d47f);case _0x57ab52['PivotDateGroupFieldDateTypeEnum']['Minute']:return _0x5cdeca['t'](_0x230ccf(0x1a2),..._0x49d47f);case _0x57ab52[_0x230ccf(0x214)][_0x230ccf(0x210)]:return _0x5cdeca['t'](_0x230ccf(0x26a),..._0x49d47f);case _0x57ab52[_0x230ccf(0x214)][_0x230ccf(0x2d0)]:return _0x5cdeca['t'](_0x230ccf(0x2df),..._0x49d47f);case _0x57ab52['PivotDateGroupFieldDateTypeEnum']['Date']:return _0x5cdeca['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x49d47f);case _0x57ab52[_0x230ccf(0x214)][_0x230ccf(0x31c)]:return _0x5cdeca['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x49d47f);case _0x57ab52[_0x230ccf(0x214)]['Quarter']:return _0x5cdeca['t'](_0x230ccf(0x38a),..._0x49d47f);case _0x57ab52['PivotDateGroupFieldDateTypeEnum']['YearMonth']:return _0x5cdeca['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x49d47f);case _0x57ab52[_0x230ccf(0x214)]['YearMonthDate']:return _0x5cdeca['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x49d47f);case _0x57ab52[_0x230ccf(0x214)][_0x230ccf(0x394)]:return _0x5cdeca['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x49d47f);}return'';}const _0x1f6523=(_0x3e4655,_0x3885c4,_0x3e2ab5,_0x3d76e2)=>{const _0x290eed=_0x1ce260;let _0xb25d48;const _0x4e70ad=_0x3e4655[_0x290eed(0x15f)](_0x2ea6dc[_0x290eed(0x2f6)])[_0x290eed(0x32d)](_0x2ea6dc['UniverInstanceType'][_0x290eed(0x3aa)]);if(!_0x4e70ad)return null;const _0x5ebca8=_0x4e70ad[_0x290eed(0x119)]();let _0x30b209;if(_0x3e2ab5&&(_0x30b209=_0x5ebca8[_0x290eed(0x2cf)](_0x3e2ab5)),_0x3885c4!=null&&_0x3885c4['v']||(_0x3885c4==null?void 0x0:_0x3885c4['v'])===0x0){_0xb25d48||(_0xb25d48={});const _0x2e28ba=_0x2ca123(_0x3885c4['v']);typeof _0x2e28ba==_0x290eed(0x29c)?_0xb25d48['t']=_0x2ea6dc[_0x290eed(0x277)]['NUMBER']:typeof _0x2e28ba=='string'&&(_0xb25d48['t']=_0x2ea6dc[_0x290eed(0x277)][_0x290eed(0x17e)]),_0xb25d48['v']=_0x2e28ba;}if((_0x3885c4!=null&&_0x3885c4['i']||(_0x3885c4==null?void 0x0:_0x3885c4['i'])===0x0)&&(_0xb25d48||(_0xb25d48={}),_0xb25d48['fi']=_0x3885c4['i']),_0x3885c4!=null&&_0x3885c4['s']&&(_0xb25d48||(_0xb25d48={}),_0xb25d48[_0x290eed(0xbe)]=_0x3885c4['s']),_0x3e2ab5&&(_0xb25d48||(_0xb25d48={}),_0xb25d48['s']=_0x30b209),_0x3d76e2&&_0xb25d48!=null&&_0xb25d48['v']&&_0xb25d48[_0x290eed(0xbe)]!==_0x57ab52[_0x290eed(0x36e)]['GrandTotal']&&_0xb25d48[_0x290eed(0xbe)]!==_0x57ab52[_0x290eed(0x36e)][_0x290eed(0x107)]){const _0x3fb852=String(_0xb25d48['v']),{dateType:_0x25892d}=_0x3d76e2;_0xb25d48['v']=_0x410777(_0x3e4655,_0x25892d,_0x3fb852),_0xb25d48['t']=_0x2ea6dc[_0x290eed(0x277)][_0x290eed(0x17e)];}return _0xb25d48;},_0x2b24b3=(_0x4e4024,_0x5129ef,_0x103a11,_0x3f4711)=>{const _0xa9267f=_0x1ce260;var _0x17101a,_0x1e55ec,_0x4a806f,_0xf4a5f6,_0x449c17,_0x313249,_0x476b2f,_0x23f548,_0x47f431,_0x45d207,_0x3873a8,_0x3baa2b,_0x1376f9,_0x324d8f;const _0x231216=_0x103a11[_0xa9267f(0x127)],{cornerView:_0x4732fb,rowView:_0x56fd6c,colView:_0x2a37fc,dataView:_0x30b65e,pageView:_0x4d95d4,formatMap:_0x3be59f,groupInfo:_0x13bc20}=_0x5129ef,{row:_0x27fbec,col:_0x154b6d}=_0x231216,_0x38be4e=new _0x2ea6dc['ObjectMatrix'](),_0x245dd9={},_0x2cafba={},_0x5f4d2f={},_0x5afd72={},_0x5602de={};let _0x45c0dc=_0x27fbec,_0x387193=_0x154b6d;Object[_0xa9267f(0x249)](_0x4d95d4[_0xa9267f(0x319)])[_0xa9267f(0xe5)](_0x4c7160=>{const _0x524259=_0xa9267f;Object[_0x524259(0x249)](_0x4d95d4[_0x524259(0x319)][Number(_0x4c7160)])[_0x524259(0xe5)](_0x5befd4=>{const _0x2cd3d0=_0x524259,_0x36bebe={..._0x4d95d4[_0x2cd3d0(0x319)][Number(_0x4c7160)][Number(_0x5befd4)]};_0x38be4e[_0x2cd3d0(0x2cf)](Number(_0x4c7160)+_0x45c0dc,Number(_0x5befd4)+_0x387193,_0x1f6523(_0x4e4024,_0x36bebe,_0x465b05[_0x2cd3d0(0x274)]));});});const _0x575e16=Object[_0xa9267f(0x249)](_0x4d95d4[_0xa9267f(0x319)])['length'];_0x45c0dc+=_0x575e16+(_0x575e16?_0x306f25:0x0);const _0x353e5e=_0x4732fb[_0xa9267f(0x1f3)](),_0x42a854=_0x4732fb[_0xa9267f(0x197)]();for(let _0x1c8daa=0x0;_0x1c8daa<_0x353e5e;_0x1c8daa++)for(let _0x2b1ec9=0x0;_0x2b1ec9<_0x42a854;_0x2b1ec9++){const _0x3946f7={...(_0x1e55ec=(_0x17101a=_0x4732fb[_0xa9267f(0x319)])==null?void 0x0:_0x17101a[_0x1c8daa])==null?void 0x0:_0x1e55ec[_0x2b1ec9]};_0x3946f7&&((_0x4a806f=_0x56fd6c[_0xa9267f(0xa8)][_0x2b1ec9])!=null&&_0x4a806f['isValue'])&&_0x2b1ec9===_0x42a854-0x1&&_0x1c8daa===_0x353e5e-0x1&&(_0x3946f7['v']=''+_0x3f4711[_0xa9267f(0x341)]),_0x38be4e[_0xa9267f(0x2cf)](_0x1c8daa+_0x45c0dc,_0x2b1ec9+_0x387193,_0x1f6523(_0x4e4024,_0x3946f7,_0x465b05[_0xa9267f(0x90)]));}for(let _0x1daa4f=0x0;_0x1daa4f<_0x4732fb['info']['length'];_0x1daa4f++)_0x4732fb[_0xa9267f(0x124)][_0x1daa4f]&&(_0x5f4d2f[''+(_0x1daa4f+_0x387193)]=_0x4732fb['info'][_0x1daa4f]);_0x387193+=_0x42a854;const _0xed0ed4=_0x2a37fc[_0xa9267f(0xa8)],_0x3dd70e=_0x2a37fc['getLastRow']()>=0x0?_0x2a37fc[_0xa9267f(0x352)]()+0x1:0x0,_0x3dc9f6=_0x2a37fc[_0xa9267f(0x211)]()>=0x0?_0x2a37fc['getLastCol']()+0x1:0x0;for(let _0x1dce01=0x0;_0x1dce01<_0x3dc9f6;_0x1dce01++){for(let _0x54504c=0x0;_0x54504c<_0x3dd70e;_0x54504c++){const _0x12c1d9={...(_0x449c17=(_0xf4a5f6=_0x2a37fc['data'])==null?void 0x0:_0xf4a5f6[_0x54504c])==null?void 0x0:_0x449c17[_0x1dce01]},_0x35e436=(_0x313249=_0xed0ed4[_0x54504c])==null?void 0x0:_0x313249[_0xa9267f(0x2ac)],_0x564468=_0x3be59f[_0x35e436],_0x5d9052=_0x13bc20[_0x35e436];_0x12c1d9&&(_0x12c1d9['v']=_0x4f6cb1(_0x12c1d9,_0x54504c===0x0&&((_0x476b2f=_0x2a37fc[_0xa9267f(0x9d)](_0x1dce01+0x1))==null?void 0x0:_0x476b2f['isValue']),_0x564468,_0x3f4711));let _0x367b12;_0x564468?_0x367b12={..._0x465b05[_0xa9267f(0x234)],'n':{'pattern':_0x564468}}:_0x367b12={..._0x465b05[_0xa9267f(0x234)]},_0x38be4e[_0xa9267f(0x2cf)](_0x54504c+_0x45c0dc,_0x1dce01+_0x387193,_0x1f6523(_0x4e4024,_0x12c1d9,_0x367b12,_0x5d9052));}_0x2a37fc['info'][_0x1dce01]&&(_0x2cafba[''+(_0x1dce01+_0x387193)]=_0x2a37fc[_0xa9267f(0x124)][_0x1dce01]),_0x2a37fc[_0xa9267f(0xa8)][_0x1dce01+0x1]&&(_0x5602de[''+(_0x1dce01+_0x45c0dc+0x1)]=_0x2a37fc[_0xa9267f(0xa8)][_0x1dce01+0x1]);}_0x45c0dc+=_0x353e5e;const _0xf09159=_0x56fd6c[_0xa9267f(0xa8)],_0x49e494=_0x56fd6c[_0xa9267f(0x352)]()>=0x0?_0x56fd6c['getLastRow']()+0x1:0x0,_0x1b9839=_0x56fd6c[_0xa9267f(0x211)]()>=0x0?_0x56fd6c[_0xa9267f(0x211)]()+0x1:0x0;for(let _0x62b168=0x0;_0x62b168<_0x49e494;_0x62b168++){for(let _0x1289a4=0x0;_0x1289a4<_0x1b9839;_0x1289a4++){const _0x41132b={...(_0x47f431=(_0x23f548=_0x56fd6c[_0xa9267f(0x319)])==null?void 0x0:_0x23f548[_0x62b168])==null?void 0x0:_0x47f431[_0x1289a4]},_0x16b445=(_0x45d207=_0xf09159[_0x1289a4])==null?void 0x0:_0x45d207[_0xa9267f(0x2ac)],_0x2b9b98=_0x3be59f[_0x16b445],_0x12b2e0=_0x13bc20[_0x16b445];_0x41132b&&(_0x41132b['v']=_0x4f6cb1(_0x41132b,!0x1,_0x2b9b98,_0x3f4711));let _0x1910b0;_0x56fd6c[_0xa9267f(0x124)][_0x62b168]['level']===_0x56fd6c[_0xa9267f(0x197)]()?_0x1910b0=_0x465b05['leafStyle']:_0x56fd6c[_0xa9267f(0x124)][_0x62b168][_0xa9267f(0x276)]?_0x1910b0=_0x56fd6c[_0xa9267f(0x124)][_0x62b168]['level']===0x0?_0x465b05[_0xa9267f(0x2ce)]:_0x465b05[_0xa9267f(0x36f)]:_0x1910b0=_0x465b05['rowStyle'],_0x2b9b98&&(_0x1910b0={..._0x1910b0,'n':{'pattern':_0x2b9b98}}),_0x38be4e[_0xa9267f(0x2cf)](_0x62b168+_0x45c0dc,_0x1289a4+_0x154b6d,_0x1f6523(_0x4e4024,_0x41132b,_0x1910b0,_0x12b2e0));}_0x56fd6c[_0xa9267f(0x124)][_0x62b168]&&(_0x245dd9[''+(_0x62b168+_0x45c0dc)]=_0x56fd6c[_0xa9267f(0x124)][_0x62b168]),_0x56fd6c['headerMap'][_0x62b168]&&(_0x5afd72[''+(_0x62b168+_0x154b6d)]=_0x56fd6c['headerMap'][_0x62b168]);}const _0x17cae7=_0x30b65e[_0xa9267f(0x1f3)](),_0x323cdd=_0x30b65e[_0xa9267f(0x197)]();for(let _0xf90f71=0x0;_0xf90f71<_0x17cae7;_0xf90f71++)for(let _0x1388eb=0x0;_0x1388eb<_0x323cdd;_0x1388eb++){const _0x34e2f4={...(_0x3baa2b=(_0x3873a8=_0x30b65e[_0xa9267f(0x319)])==null?void 0x0:_0x3873a8[_0xf90f71])==null?void 0x0:_0x3baa2b[_0x1388eb]};let _0x1372ae;_0x56fd6c[_0xa9267f(0x124)][_0xf90f71][_0xa9267f(0x276)]?_0x1372ae=_0x56fd6c[_0xa9267f(0x124)][_0xf90f71][_0xa9267f(0x26e)]===0x0?_0x465b05['grandTotal']:_0x465b05[_0xa9267f(0x36f)]:_0x1372ae=_0x465b05[_0xa9267f(0x33b)];const _0x526f2c=_0x56fd6c['info'][_0xf90f71][_0xa9267f(0x356)],_0x1219ee=_0x2a37fc[_0xa9267f(0x124)][_0x1388eb][_0xa9267f(0x356)],_0x3b97e9=Math[_0xa9267f(0x215)](_0x526f2c,_0x1219ee),_0x1124b4=_0x103a11[_0xa9267f(0x280)][_0xa9267f(0x165)][_0xa9267f(0x310)]();let _0x4a6005='';_0x3b97e9<0x0?_0x4a6005=(_0x1376f9=_0x1124b4[0x0])!=null?_0x1376f9:'':_0x4a6005=(_0x324d8f=_0x1124b4[_0x3b97e9])!=null?_0x324d8f:'';const _0x50039c=_0x3be59f[_0x4a6005];_0x50039c&&(_0x1372ae={..._0x1372ae,'n':{'pattern':_0x50039c}}),_0x38be4e['setValue'](_0xf90f71+_0x45c0dc,_0x1388eb+_0x387193,_0x1f6523(_0x4e4024,_0x34e2f4,_0x1372ae));}return{'valueMatrix':_0x38be4e,'rowInfo':_0x245dd9,'colInfo':_0x2cafba,'cornerInfo':_0x5f4d2f,'rowHeaderMap':_0x5afd72,'colHeaderMap':_0x5602de};};function _0x4f6cb1(_0x5759fe,_0x18fcf5,_0xcb4ebe,_0x31e0aa){const _0x3f33dd=_0x1ce260;let _0x569c2b=_0x5759fe['v'];_0x18fcf5&&(_0x569c2b=''+_0x31e0aa[_0x3f33dd(0x341)]);const _0x2a6f1a=_0x5759fe['t']&&(_0x5759fe['t']&_0x57ab52['PivotViewCellValueTypeEnum'][_0x3f33dd(0x198)])>0x0;_0x2a6f1a&&(_0x569c2b=''+_0x31e0aa[_0x3f33dd(0x149)]);const _0xfcfe28=_0x5759fe['t']&&(_0x5759fe['t']&_0x57ab52[_0x3f33dd(0x213)][_0x3f33dd(0xf8)])>0x0;if(_0xfcfe28&&(_0x569c2b=''+_0x31e0aa['sheets-pivot.other']),_0x5759fe['s']===_0x57ab52[_0x3f33dd(0x36e)][_0x3f33dd(0x107)]){let _0x3f42fa=_0x569c2b,_0x33c13a='';_0x57ab52[_0x3f33dd(0x231)](_0x569c2b)&&(_0x3f42fa=_0x569c2b[_0x3f33dd(0x309)],_0x33c13a=_0x569c2b[_0x3f33dd(0x262)]);const _0x4b2d06=_0xcb4ebe&&!_0x2a6f1a&&!_0xfcfe28?_0x2ea6dc[_0x3f33dd(0x17a)]['format'](_0xcb4ebe,Number(_0x3f42fa)):_0x3f42fa;_0x33c13a?_0x569c2b=_0x4b2d06+'\x20'+_0x33c13a:_0x569c2b=_0x4b2d06+'\x20'+_0x31e0aa[_0x3f33dd(0x245)];}else _0x5759fe['s']===_0x57ab52[_0x3f33dd(0x36e)]['GrandTotal']&&(_0x569c2b=_0x569c2b+'\x20'+_0x31e0aa[_0x3f33dd(0x237)]);return _0x569c2b;}function _0x2ca123(_0x4c3a37){const _0x3334f3=_0x1ce260;if(_0x57ab52[_0x3334f3(0x2c1)](_0x4c3a37)){const {errorType:_0x2f18ba}=_0x4c3a37;switch(_0x2f18ba){case _0x57ab52['PivotErrorTypeEnum'][_0x3334f3(0x8e)]:return _0x735117['ErrorType'][_0x3334f3(0x27a)];case _0x57ab52['PivotErrorTypeEnum'][_0x3334f3(0x27d)]:return _0x735117[_0x3334f3(0xb8)][_0x3334f3(0x30f)];case _0x57ab52['PivotErrorTypeEnum'][_0x3334f3(0x13c)]:return _0x735117[_0x3334f3(0xb8)][_0x3334f3(0x18a)];case _0x57ab52[_0x3334f3(0x126)][_0x3334f3(0xed)]:return _0x735117[_0x3334f3(0xb8)]['NAME'];case _0x57ab52['PivotErrorTypeEnum']['BadReference']:return _0x735117[_0x3334f3(0xb8)][_0x3334f3(0x1e1)];}}return _0x4c3a37;}function _0x216f0f(_0x312180,_0x20b6c9,_0x3c5f15=!0x1,_0x208871=!0x1){const _0x5b6919=_0x1ce260,{data:_0x5711c3}=_0x20b6c9,_0x2053c7=_0x20b6c9[_0x5b6919(0x1f3)](),_0x307fac=_0x20b6c9[_0x5b6919(0x197)]();if(_0x2053c7<=0x0||_0x307fac<=0x0)return[];const _0x3d1f4a=_0x20b6c9[_0x5b6919(0x211)](),_0x599301=_0x20b6c9['getLastRow'](),_0x161b4d=_0x208871?_0x599301>=0x0?_0x599301+0x1:0x0:_0x2053c7,_0x120bab=_0x208871?_0x3d1f4a>=0x0?_0x3d1f4a+0x1:0x0:_0x307fac,{row:_0x3b108f,col:_0x49f3fa}=_0x312180,_0x24ab65=_0x3b108f,_0x2a4769=_0x49f3fa;if(_0x3c5f15){const _0x5a1084=[];for(const [_0x401a9c,_0x20423a]of Object[_0x5b6919(0x339)](_0x5711c3))for(const [_0x5bfd64,_0x28f7c1]of Object[_0x5b6919(0x339)](_0x20423a))_0x5a1084['push'](_0x2ea6dc[_0x5b6919(0x2b8)](_0x24ab65+Number(_0x401a9c),_0x2a4769+Number(_0x5bfd64)));return _0x5a1084;}else{const _0x45e8eb=_0x208871?_0x161b4d>0x0?0x1:0x0:0x1,_0x37cf5e=_0x208871?_0x120bab>0x0?0x1:0x0:0x1,_0x366062=_0x3b108f+_0x161b4d-_0x45e8eb,_0x5b55c4=_0x49f3fa+_0x120bab-_0x37cf5e;return[{'startRow':_0x24ab65,'startColumn':_0x2a4769,'endRow':_0x366062,'endColumn':_0x5b55c4}];}}const _0x44d37f=_0x1ce260(0x286),_0x2cbf70=_0x1ce260(0x1c9);var _0x27dde0=(_0x448868=>(_0x448868[_0x1ce260(0x1a4)]=_0x1ce260(0x18e),_0x448868['Panel']=_0x1ce260(0x2f9),_0x448868[_0x1ce260(0x2bf)]=_0x1ce260(0x351),_0x448868['AddPivotTableWithConfig']=_0x1ce260(0x2ea),_0x448868[_0x1ce260(0x11e)]=_0x1ce260(0x178),_0x448868['MovePivotField']=_0x1ce260(0x39e),_0x448868[_0x1ce260(0x10d)]='removePivotField',_0x448868[_0x1ce260(0x267)]=_0x1ce260(0x23c),_0x448868[_0x1ce260(0x32c)]=_0x1ce260(0x1fd),_0x448868[_0x1ce260(0x13a)]=_0x1ce260(0x33f),_0x448868[_0x1ce260(0x147)]=_0x1ce260(0x1d4),_0x448868[_0x1ce260(0xff)]='updatePivotSource',_0x448868[_0x1ce260(0x1f4)]=_0x1ce260(0x375),_0x448868[_0x1ce260(0x269)]=_0x1ce260(0x132),_0x448868[_0x1ce260(0x92)]=_0x1ce260(0x252),_0x448868['SetPivotTableConfig']=_0x1ce260(0x14e),_0x448868[_0x1ce260(0x387)]=_0x1ce260(0xfb),_0x448868))(_0x27dde0||{});const _0x382c07={'sheets-pivot.blankValue':_0x1ce260(0x270),'sheets-pivot.columnName':_0x1ce260(0x294),'sheets-pivot.subTotalText':_0x1ce260(0xf4),'sheets-pivot.grandTotalText':_0x1ce260(0x20c),'sheets-pivot.valueText':_0x1ce260(0xe7),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x1ce260(0x303),'sheets-pivot.productName':_0x1ce260(0x1df),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x1ce260(0x31b),'sheets-pivot.sumName':_0x1ce260(0x225),'sheets-pivot.varName':_0x1ce260(0x38f),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x1ce260(0x107),'sheets-pivot.grandTotal':_0x1ce260(0x20c),'sheets-pivot.value':_0x1ce260(0x262),'sheets-pivot.blank':'blank','sheets-pivot.other':_0x1ce260(0xf8),'sheets-pivot.emptyPivot.filter':_0x1ce260(0x1a4),'sheets-pivot.emptyPivot.row':_0x1ce260(0x1cb),'sheets-pivot.emptyPivot.column':_0x1ce260(0xf3),'sheets-pivot.emptyPivot.values':'Values'},_0x3e091d={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x59935c=_0x2ea6dc[_0x1ce260(0x25e)](_0x1ce260(0x1cf)),_0x208d29=_0x2ea6dc[_0x1ce260(0x373)]('pivotMutationGenerate');var _0x5d41e0=(_0x159a9a=>(_0x159a9a['add']=_0x1ce260(0x112),_0x159a9a[_0x1ce260(0x109)]=_0x1ce260(0x109),_0x159a9a['update']='update',_0x159a9a))(_0x5d41e0||{}),_0x2b397e=(_0x1cac12=>(_0x1cac12[_0x1ce260(0x156)]='add',_0x1cac12['Set']=_0x1ce260(0x28c),_0x1cac12[_0x1ce260(0x154)]=_0x1ce260(0x109),_0x1cac12))(_0x2b397e||{});const _0x4755b2={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'id':_0x1ce260(0x20d),'handler':()=>!0x0},_0x26bb63={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x15d),'handler':()=>!0x0},_0x305035={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x2195b1={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'id':_0x1ce260(0x1f1),'handler':()=>!0x0},_0x2dd529={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x4b0ff1=Object[_0x1ce260(0x125)],_0x32122d=(_0x37a353,_0xd91ebb,_0x47c3d9,_0x31a208)=>{for(var _0x1d2f5e=_0x31a208>0x1?void 0x0:_0x31a208?_0x4b0ff1(_0xd91ebb,_0x47c3d9):_0xd91ebb,_0x5a05c6=_0x37a353['length']-0x1,_0x15fc1f;_0x5a05c6>=0x0;_0x5a05c6--)(_0x15fc1f=_0x37a353[_0x5a05c6])&&(_0x1d2f5e=_0x15fc1f(_0x1d2f5e)||_0x1d2f5e);return _0x1d2f5e;},_0x59f2fe=(_0x156d13,_0x1fdbb0)=>(_0x4397a6,_0x297794)=>_0x1fdbb0(_0x4397a6,_0x297794,_0x156d13);_0x2436f3[_0x1ce260(0x1ad)]=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x4a0fbd){const _0x196a84=_0x1ce260;super(),_0x3b8258(this,_0x196a84(0x388),new Map()),this[_0x196a84(0x307)]=_0x4a0fbd;}[_0x1ce260(0x10e)](_0x4dadb5){const _0x5a4664=_0x1ce260,{version:_0xb67d2a}=_0x4dadb5,_0x239662=this[_0x5a4664(0x388)][_0x5a4664(0x15f)](_0xb67d2a);_0x239662&&(_0x239662(_0x4dadb5),this[_0x5a4664(0x388)][_0x5a4664(0x109)](_0xb67d2a));}[_0x1ce260(0x1ac)](_0xefe04d){return new Promise((_0x381c07,_0x58ffe6)=>{const _0x2664e0=_0x15e0,_0x46addc=this[_0x2664e0(0x10f)]();this['_requestResolvers'][_0x2664e0(0x28c)](_0x46addc,_0x381c07),this['_commandService'][_0x2664e0(0x2d9)](_0x4755b2['id'],{'version':_0x46addc,..._0xefe04d},{'onlyLocal':!0x0});});}[_0x1ce260(0x10f)](){const _0x2a676d=_0x1ce260;return Math[_0x2a676d(0x3a9)]()[_0x2a676d(0x271)](0x24)[_0x2a676d(0x295)](0x2,0x10);}},_0x2436f3[_0x1ce260(0x1ad)]=_0x32122d([_0x59f2fe(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x15a)]))],_0x2436f3[_0x1ce260(0x1ad)]);const _0x15da24={0x0:'E',0x1:'y',0x2:'6',0x3:'W',0x4:'U',0x5:'H',0x6:'q',0x7:'F',0x8:'J',0x9:'1','A':'0','p':'2','T':'3','J':'4','o':'5','v':'7','x':'8','q':'9','V':'a','a':'b','O':'c','r':'d','K':'e','h':'f','g':'g','X':'h','Y':'i','b':'j','l':'k','D':'l','U':'m','c':'n','R':'o','M':'p','H':'r','z':'s','Q':'t','P':'u','k':'v','w':'w','N':'x','G':'z','I':'A','d':'B','m':'C','i':'D','f':'G','S':'I','j':'K','Z':'L','B':'M','y':'N','s':'O','F':'P','u':'Q','t':'R','L':'S','n':'T','E':'V','C':'X','W':'Y','e':'Z'},_0x45a4e5=_0x1ce260(0x36a),_0x4c3b8b=_0x5c0743=>{const _0x23d870=_0x1ce260;var _0x312d0a;return((_0x312d0a=_0x5c0743[_0x23d870(0x110)])==null?void 0x0:_0x312d0a[_0x23d870(0x145)][_0x23d870(0x160)](/\r\n$/,''))||'';};class _0x2d99c9 extends _0x57ab52[_0x1ce260(0x1b6)]{constructor(_0x55195d,_0x367b85){const _0x1a9959=_0x1ce260;super(),_0x3b8258(this,_0x1a9959(0x2ca),{}),_0x3b8258(this,_0x1a9959(0x22f)),_0x3b8258(this,_0x1a9959(0xee)),(this[_0x1a9959(0x22f)]=_0x367b85,this[_0x1a9959(0xee)]=_0x55195d);}[_0x1ce260(0x32f)](){const _0x2c5c2f=_0x1ce260;for(const _0x23fac1 in this[_0x2c5c2f(0x1e4)]){const _0x195c00=this[_0x2c5c2f(0x1e4)][_0x23fac1],_0x5d44e7=_0x195c00[_0x2c5c2f(0x172)]();this[_0x2c5c2f(0x2ca)][_0x5d44e7]=_0x195c00[_0x2c5c2f(0xb6)]();}}[_0x1ce260(0x204)](){const _0x5b417b=_0x1ce260,_0xb81010=this[_0x5b417b(0xee)];return _0x1f9465[_0x5b417b(0x380)](_0xb81010);}[_0x1ce260(0x1a6)](_0x44ff73){const _0x2f3668=_0x1ce260,_0xfd7de=this[_0x2f3668(0x1e4)][_0x44ff73][_0x2f3668(0x391)];delete this[_0x2f3668(0x1e4)][_0x44ff73],delete this['rangeKeyMap'][_0xfd7de];}['addDataFieldWithoutUnitInfo'](_0x26fe92){const _0x45e49e=_0x1ce260;this[_0x45e49e(0x1e4)][_0x26fe92[_0x45e49e(0xb6)]()]=_0x26fe92;}[_0x1ce260(0x1dd)](_0x4b0f58){const _0xd60fbc=_0x1ce260;var _0x59f7e8,_0x2a8bec;const _0x260865=this[_0xd60fbc(0xee)]['getTargetByPivotId'](_0x4b0f58);if(_0x260865){const {unitId:_0xcd525c,subUnitId:_0x407ed0}=_0x260865,_0x36c2e3=(_0x59f7e8=this['_host']['getPivotTableConfig'](_0xcd525c,_0x407ed0,_0x4b0f58))==null?void 0x0:_0x59f7e8[_0xd60fbc(0x2ba)];this[_0xd60fbc(0xee)]['broadcastCollectionChange']({'token':_0x4b0f58,'type':_0x5d41e0['delete'],'dataRangeInfo':_0x36c2e3});}(_0x2a8bec=this[_0xd60fbc(0x95)](_0x4b0f58))==null||_0x2a8bec[_0xd60fbc(0x98)](),delete this[_0xd60fbc(0x15e)][_0x4b0f58];}['getRangeKey'](_0x4dc6cc,_0x20ede4){const _0x246f70=_0x1ce260,{sheetName:_0x26e8e4,unitId:_0x1eaf72,range:_0x813e68}=_0x4dc6cc,{startRow:_0x504761,endRow:_0x401df2}=_0x813e68;return _0x735117[_0x246f70(0x140)](_0x1eaf72,_0x26e8e4,{'startRow':_0x504761,'endRow':_0x401df2,'startColumn':_0x20ede4,'endColumn':_0x20ede4});}[_0x1ce260(0x257)](_0x2f8e90){const _0x375b9b=_0x1ce260;return this[_0x375b9b(0x1e4)][this[_0x375b9b(0x2ca)][_0x2f8e90]];}[_0x1ce260(0xbd)](_0x271b2d,_0x37b0bc){const _0x818ba3=_0x1ce260;this[_0x818ba3(0x2ca)][_0x271b2d]=_0x37b0bc;}[_0x1ce260(0x173)](_0x2863db,_0x27b56d){const _0x234eed=_0x1ce260;this[_0x234eed(0x2ca)][_0x27b56d]=this[_0x234eed(0x2ca)][_0x2863db],delete this[_0x234eed(0x2ca)][_0x2863db];}[_0x1ce260(0x2e2)](_0x43ad7b,_0x37c008,_0x2d01f8,_0x13ff94){const _0x2a41cd=_0x1ce260,_0xde0dc2=new _0x57ab52['FieldsCollection'](this);_0xde0dc2[_0x2a41cd(0x18f)](_0x37c008);const _0x4d6773=[];let _0x4341f8=0x0;for(const _0x404e1c of _0xde0dc2[_0x2a41cd(0x354)]){const _0x178b9b=this[_0x2a41cd(0x172)](_0x2d01f8,_0x4341f8),_0x55b319=this[_0x2a41cd(0x1e4)][_0x404e1c];_0x55b319&&(_0x55b319[_0x2a41cd(0x391)]=_0x178b9b,this[_0x2a41cd(0xbd)](_0x178b9b,_0x404e1c),_0x4d6773['push']({'index':_0x4341f8,'dataField':_0x55b319})),_0x4341f8++;}return this[_0x2a41cd(0x169)](_0x43ad7b,_0xde0dc2,_0x2d01f8,_0x13ff94),{'collection':_0xde0dc2,'updateDataFieldList':_0x4d6773};}['getRangeStartEndInfo'](_0xb8d848,_0x5eec8d){const _0x30ae97=_0x1ce260;return _0xb8d848[_0x30ae97(0x101)]===_0x2ea6dc[_0x30ae97(0x201)]['COLUMN']?{'startRow':0x0,'startColumn':_0xb8d848[_0x30ae97(0x346)],'endRow':_0x5eec8d[_0x30ae97(0x1f3)]()-0x1,'endColumn':_0xb8d848[_0x30ae97(0x2e7)]}:{'startRow':_0xb8d848['startRow'],'startColumn':_0xb8d848[_0x30ae97(0x346)],'endRow':_0xb8d848[_0x30ae97(0x1c2)],'endColumn':_0xb8d848[_0x30ae97(0x2e7)]};}[_0x1ce260(0x1fc)](_0x40c7b4){const _0x113225=_0x1ce260,{sheetName:_0x154465,range:_0x5d1a27}=_0x40c7b4,_0x567d1a=this[_0x113225(0x22f)][_0x113225(0x32d)](_0x2ea6dc['UniverInstanceType'][_0x113225(0x3aa)]),_0x144ada=_0x567d1a[_0x113225(0xd1)](_0x154465),_0x1f9284=_0x144ada[_0x113225(0x16b)](),{startColumn:_0x3b4637,startRow:_0x5768b2,endColumn:_0x3583c6}=this[_0x113225(0x1cc)](_0x5d1a27,_0x144ada),_0x2a9e90=_0x567d1a[_0x113225(0x119)](),_0x5aa5ad=new _0x57ab52['FieldsCollection'](this);_0x5aa5ad[_0x113225(0x279)](_0x40c7b4);const _0x4f8715=[],_0x2850f6={};for(let _0x33ce97=_0x3b4637;_0x33ce97<=_0x3583c6;_0x33ce97++){const _0x2fce9e=_0x1f9284[_0x113225(0x244)](_0x5768b2,_0x33ce97),_0x302c9e=this[_0x113225(0x172)](_0x40c7b4,_0x33ce97),_0x1471ec=this[_0x113225(0x257)](_0x302c9e);if(_0x1471ec)_0x5aa5ad[_0x113225(0x11a)](_0x1471ec[_0x113225(0xb6)](),_0x1471ec[_0x113225(0x37d)]());else{const _0x18042e=this['createDataFieldId']();let _0x3f19dc=this[_0x113225(0x378)](_0x2fce9e,_0x2a9e90,_0x2850f6);_0x57ab52[_0x113225(0x2c9)](_0x3f19dc)&&(_0x3f19dc=_0x2ea6dc[_0x113225(0x17a)]['format'](_0x3f19dc['f'],Number(_0x3f19dc['v'])));const _0x1c6435=this[_0x113225(0x2d7)](_0x3f19dc,_0x33ce97),_0x1cf7b9=new _0x57ab52[(_0x113225(0xc1))](_0x18042e,_0x1c6435,_0x57ab52[_0x113225(0x3ab)](0x3));_0x1cf7b9[_0x113225(0x391)]=_0x302c9e,this['dataFields'][_0x18042e]=_0x1cf7b9,_0x5aa5ad[_0x113225(0x11a)](_0x18042e,_0x1c6435),_0x4f8715[_0x113225(0x33e)]({'index':_0x33ce97,'dataField':_0x1cf7b9});}}return{'updateDataFieldList':_0x4f8715,'collection':_0x5aa5ad};}[_0x1ce260(0x3ac)](_0x48a430){const _0x1ed18c=_0x1ce260;return this[_0x1ed18c(0xee)][_0x1ed18c(0x371)]()['sheets-pivot.columnName']+'\x20'+_0x2ea6dc['numberToABC'](_0x48a430);}[_0x1ce260(0x2d7)](_0x3e8976,_0x59b10a){const _0xd1a50a=_0x1ce260;return _0x3e8976==null||_0x3e8976===''?this[_0xd1a50a(0x3ac)](_0x59b10a):String(_0x3e8976);}[_0x1ce260(0x95)](_0x29dc48){return this['collections'][_0x29dc48];}[_0x1ce260(0x169)](_0x4ebcf1,_0x18ab81,_0x3f0879,_0x5e8320){const _0xf80da9=_0x1ce260;this['collections'][_0x4ebcf1]=_0x18ab81,_0x18ab81[_0xf80da9(0x279)](_0x3f0879),this[_0xf80da9(0xee)][_0xf80da9(0x11d)]({'token':_0x4ebcf1,'type':_0x5d41e0[_0xf80da9(0x112)],'dataRangeInfo':_0x3f0879,'targetCellInfo':_0x5e8320});}[_0x1ce260(0xf9)](_0x26f60e,_0x37e1f1){const _0x3f8c24=_0x1ce260,_0x2c5d44=this[_0x3f8c24(0x95)](_0x26f60e),_0x57e7e6=_0x2c5d44[_0x3f8c24(0x187)]();let _0x3bafaf=0x0;for(const _0x968e01 of _0x57e7e6){const _0x62dd31=_0x2c5d44['getFieldById'](_0x968e01),_0x648770=this[_0x3f8c24(0x172)](_0x37e1f1,_0x3bafaf);this['updateRangeKeyMap'](_0x62dd31[_0x3f8c24(0x391)],_0x648770),_0x3bafaf++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x1ce260(0x315)](_0x44dfa1,_0x200491){const _0xd1851c=_0x1ce260;if(this[_0xd1851c(0x95)](_0x44dfa1)){const _0x309f74=this[_0xd1851c(0xe8)](_0x200491),_0x480f23=[];for(const _0x152c39 of _0x309f74)this[_0xd1851c(0x2ca)][_0x152c39]!==void 0x0&&_0x480f23[_0xd1851c(0x33e)](this[_0xd1851c(0x2ca)][_0x152c39]);const _0x2525c3=this[_0xd1851c(0x20e)](_0x44dfa1),_0x5ea9df=[],_0x28fcb9=new Set(_0x480f23);for(const _0x489420 of _0x2525c3)_0x28fcb9[_0xd1851c(0x2e4)](_0x489420)||_0x5ea9df['push'](_0x489420);return _0x5ea9df;}}[_0x1ce260(0xb2)](_0x4bdec2,_0x47e764,_0x2af9cb,_0x464f5f,_0x13a404){const _0x54c457=_0x1ce260;return _0x47e764&&_0x47e764['getValue'](_0x464f5f,_0x13a404)?_0x47e764['getValue'](_0x464f5f,_0x13a404):_0x2af9cb&&_0x2af9cb['getValue'](_0x464f5f,_0x13a404)?_0x2af9cb['getValue'](_0x464f5f,_0x13a404):_0x4bdec2[_0x54c457(0x244)](_0x464f5f,_0x13a404);}[_0x1ce260(0xba)](_0x83cd5d,_0xf804ad,_0x25b93f,_0xcac304){const _0x281348=_0x1ce260,_0x1a20c7=this[_0x281348(0x1e4)][_0x83cd5d];if(!_0x1a20c7)return;const {subUnitId:_0x5b86bb,range:_0x11f219,unitId:_0xbebca9}=_0xf804ad,_0xa14ecd=this[_0x281348(0x22f)][_0x281348(0x2ec)](_0xbebca9);if(!_0xa14ecd){console[_0x281348(0x374)](_0x281348(0x2a4));return;}const _0x2ef0c5=_0xa14ecd[_0x281348(0x12d)](_0x5b86bb),_0x3a99ba=_0x2ef0c5[_0x281348(0x16b)](),{arrayFormulaCellDataMatrix:_0x44a9f8,unitDataMatrix:_0x5a8498}=_0xcac304||{},{startRow:_0x33cbfb,startColumn:_0x16448c,endRow:_0x3a7820}=this[_0x281348(0x1cc)](_0x11f219,_0x2ef0c5);_0x1a20c7[_0x281348(0x248)]();const _0x5c6213=_0xa14ecd[_0x281348(0x119)](),_0x125cd2={},_0x37f6e3=this['getMatrixValue'](_0x3a99ba,_0x44a9f8,_0x5a8498,_0x33cbfb,_0x16448c+_0x25b93f);let _0xbe5224=this['adjustSheetCellData'](_0x37f6e3,_0x5c6213,_0x125cd2);_0x57ab52[_0x281348(0x2c9)](_0xbe5224)&&(_0xbe5224=_0x2ea6dc[_0x281348(0x17a)]['format'](_0xbe5224['f'],Number(_0xbe5224['v'])));const _0x49a8d5=this[_0x281348(0x2d7)](_0xbe5224,_0x16448c+_0x25b93f);_0x1a20c7[_0x281348(0xb3)](_0x49a8d5);for(let _0x1c0a87=_0x33cbfb+0x1;_0x1c0a87<=_0x3a7820;_0x1c0a87++){const _0x57f52a=this['getMatrixValue'](_0x3a99ba,_0x44a9f8,_0x5a8498,_0x1c0a87,_0x16448c+_0x25b93f);_0x1a20c7[_0x281348(0x281)](this[_0x281348(0x378)](_0x57f52a,_0x5c6213,_0x125cd2),_0x1c0a87-0x1-_0x33cbfb);}}[_0x1ce260(0x264)](_0x5c6028,_0x33ee4f,_0xfcb52f){const _0x4bcc01=_0x1ce260,{subUnitId:_0x2280f8,range:_0x1b7fd2,unitId:_0x48ea2b}=_0xfcb52f,_0xe8e6bc=this[_0x4bcc01(0x22f)]['getUnit'](_0x48ea2b);if(!_0xe8e6bc){console[_0x4bcc01(0x374)]('workbook\x20is\x20not\x20found');return;}const _0x4888da=_0xe8e6bc['getSheetBySheetId'](_0x2280f8),_0x50e68e=_0x4888da[_0x4bcc01(0x16b)](),{startRow:_0x1ed47a,startColumn:_0x35aad9,endRow:_0x554083}=this['getRangeStartEndInfo'](_0x1b7fd2,_0x4888da),_0x2ba5c7=_0xe8e6bc['getStyles'](),_0x37fe4c={};for(const {dataField:_0x16f532,index:_0x54ef0b}of _0x33ee4f){_0x16f532[_0x4bcc01(0x248)]();const _0x774169=this['getMatrixValue'](_0x50e68e,void 0x0,void 0x0,_0x1ed47a,_0x35aad9+_0x54ef0b);let _0x3cf5ec=this[_0x4bcc01(0x378)](_0x774169,_0x2ba5c7,_0x37fe4c);_0x57ab52[_0x4bcc01(0x2c9)](_0x3cf5ec)&&(_0x3cf5ec=_0x2ea6dc[_0x4bcc01(0x17a)][_0x4bcc01(0x273)](_0x3cf5ec['f'],Number(_0x3cf5ec['v'])));const _0x185a1d=this['uniqueDataFieldName'](_0x3cf5ec,_0x35aad9+_0x54ef0b);_0x16f532[_0x4bcc01(0xb3)](_0x185a1d);}_0x5c6028['updateAllDisplayName']();for(let _0x1cc5a7=_0x1ed47a+0x1;_0x1cc5a7<=_0x554083;_0x1cc5a7++)for(const {index:_0x3e6d21,dataField:_0x3b2e33}of _0x33ee4f){const _0x164f0d=_0x50e68e[_0x4bcc01(0x244)](_0x1cc5a7,_0x35aad9+_0x3e6d21);_0x3b2e33[_0x4bcc01(0x281)](this[_0x4bcc01(0x378)](_0x164f0d,_0x2ba5c7,_0x37fe4c),_0x1cc5a7-0x1-_0x1ed47a);}_0x5c6028[_0x4bcc01(0x194)](_0x554083-_0x1ed47a);}[_0x1ce260(0xe8)](_0x154615){const _0x12215c=_0x1ce260,{range:_0x59cf0c}=_0x154615,{startColumn:_0x18f69f,endColumn:_0x2ee8f6}=_0x59cf0c,_0x599037=[];for(let _0x23e681=_0x18f69f;_0x23e681<=_0x2ee8f6;_0x23e681++)_0x599037[_0x12215c(0x33e)](this[_0x12215c(0x172)](_0x154615,_0x23e681));return _0x599037;}[_0x1ce260(0x378)](_0x563a04,_0x16bdc7,_0x1ea5fd){const _0x1a2e68=_0x1ce260;if(_0x563a04){const {s:_0x14ab36,v:_0xcc6b64,t:_0x449872,p:_0xdb6c22}=_0x563a04;if(_0xdb6c22)return _0x4c3b8b(_0xdb6c22);const _0x44e5fa=_0x16bdc7[_0x1a2e68(0x15f)](_0x14ab36);if(_0x44e5fa&&_0x449872===_0x2ea6dc[_0x1a2e68(0x277)]['NUMBER']&&_0x44e5fa['n']){const {pattern:_0x1c4fb7}=_0x44e5fa['n'];_0x1ea5fd[_0x1c4fb7]||(_0x1ea5fd[_0x1c4fb7]=_0x2ea6dc[_0x1a2e68(0x17a)]['getFormatInfo'](_0x1c4fb7));const _0x49f55c=_0x1ea5fd[_0x1c4fb7],_0x444b26=_0x49f55c[_0x1a2e68(0x232)];if(_0x49f55c[_0x1a2e68(0x93)])return String(_0xcc6b64);if(_0x444b26)return{'v':_0xcc6b64,'f':_0x1c4fb7};}if(_0x449872===_0x2ea6dc['CellValueType']['NUMBER'])return Number(_0xcc6b64);if(_0x449872===_0x2ea6dc[_0x1a2e68(0x277)][_0x1a2e68(0x17e)]||_0x449872===_0x2ea6dc[_0x1a2e68(0x277)]['FORCE_STRING'])return String(_0xcc6b64);if(_0x449872===void 0x0){const _0x3ed986=Number(_0xcc6b64);if(!Number[_0x1a2e68(0xc4)](_0x3ed986)&&String(_0x3ed986)===_0xcc6b64)return _0x3ed986;}return _0xcc6b64!=null?_0xcc6b64:null;}else return null;}['getRangeData'](_0x4fe51d){const _0x11ad87=_0x1ce260,{sheetName:_0x540abf,range:_0x1ab3fd,unitId:_0x5e28af}=_0x4fe51d,_0x29ed7a=this[_0x11ad87(0x22f)][_0x11ad87(0x2ec)](_0x5e28af);if(!_0x29ed7a)return console[_0x11ad87(0x374)](_0x11ad87(0x2a4)),{'header':[],'data':[]};const _0x4c11ba=_0x29ed7a['getSheetBySheetName'](_0x540abf),_0x7da6d2=_0x4c11ba['getCellMatrix'](),{startRow:_0x1b32b7,startColumn:_0xc4b12d,endRow:_0x55111a,endColumn:_0x2a2675}=this[_0x11ad87(0x1cc)](_0x1ab3fd,_0x4c11ba),_0xf83b93=_0x29ed7a[_0x11ad87(0x119)](),_0x33fbe9=[],_0x2ab706=[],_0x280e95={};for(let _0x2c15c4=_0x1b32b7;_0x2c15c4<=_0x55111a;_0x2c15c4++){const _0x3ad9f3=[];for(let _0x3b5c66=_0xc4b12d;_0x3b5c66<=_0x2a2675;_0x3b5c66++){const _0x2900b8=_0x7da6d2[_0x11ad87(0x244)](_0x2c15c4,_0x3b5c66);_0x2c15c4===_0x1b32b7?_0x33fbe9['push'](_0x2900b8==null?null:String(_0x2900b8['v'])):_0x3ad9f3[_0x11ad87(0x33e)](this[_0x11ad87(0x378)](_0x2900b8,_0xf83b93,_0x280e95));}_0x2ab706[_0x11ad87(0x33e)](_0x3ad9f3);}return{'header':_0x33fbe9,'data':_0x2ab706};}['toJSON'](){const _0xbee336=_0x1ce260;return super[_0xbee336(0x2c3)]();}['fromJSON'](_0x3c0a41){const _0x625f21=_0x1ce260;super[_0x625f21(0x18f)](_0x3c0a41),this[_0x625f21(0x32f)]();}[_0x1ce260(0x98)](){const _0x20b37a=_0x1ce260;super['dispose'](),this[_0x20b37a(0x2ca)]={},this[_0x20b37a(0xee)]=null;}}const _0x31afab=_0x9a24d4=>{const _0xa98822=_0x1ce260,{targetCellInfo:_0x4e1d1b}=_0x9a24d4,{matrixCache:_0x529694,rangesCache:_0xb2629}=_0x1dbcd0({'filter':'Filter','row':_0xa98822(0x1cb),'column':'Column','values':_0xa98822(0x17f)},_0x4e1d1b),_0x4758ec=new _0x2ea6dc['ObjectMatrix']();return _0x529694[_0xa98822(0x1c6)]((_0x1074ec,_0x596d49,_0xa1943a)=>{_0x4758ec['setValue'](_0x1074ec,_0x596d49,_0xa1943a);}),{'matrix':_0x4758ec,'rangesCache':_0xb2629};},_0x547d38=_0x75e07f=>{const _0x28f689=_0x1ce260;let _0x3adec9;if(_0x75e07f!=null&&_0x75e07f['v']||(_0x75e07f==null?void 0x0:_0x75e07f['v'])===0x0){_0x3adec9||(_0x3adec9={});const _0x1e72ed=_0x2ca123(_0x75e07f['v']);typeof _0x1e72ed==_0x28f689(0x29c)?_0x3adec9['t']=_0x2ea6dc['CellValueType'][_0x28f689(0x29a)]:typeof _0x1e72ed=='string'&&(_0x3adec9['t']=_0x2ea6dc[_0x28f689(0x277)][_0x28f689(0x17e)]),_0x3adec9['v']=_0x1e72ed;}return _0x3adec9;},_0x35753b=(_0x17faac,_0x1d9e7b,_0x40450c)=>{const _0x232e84=_0x1ce260;var _0x59fb52,_0x1262ce,_0x14f747,_0x18c393,_0x446581,_0x4b273d,_0x258ac0,_0x4592ff,_0x10eb19,_0xa2b03e,_0x31c181,_0x1907c6;const {cornerView:_0x8a6853,rowView:_0x5a0df3,colView:_0x5b7b25,dataView:_0x569713,pageView:_0x4f62e3,formatMap:_0x8603de}=_0x17faac,{row:_0x5cbec9,col:_0x41dd6a}=_0x1d9e7b,_0x5d4870=new _0x2ea6dc[(_0x232e84(0x136))]();let _0x552853=_0x5cbec9,_0x52614c=_0x41dd6a;Object[_0x232e84(0x249)](_0x4f62e3[_0x232e84(0x319)])[_0x232e84(0xe5)](_0x254389=>{const _0x375cf9=_0x232e84;Object[_0x375cf9(0x249)](_0x4f62e3[_0x375cf9(0x319)][Number(_0x254389)])['forEach'](_0x16329c=>{const _0x4d600b=_0x375cf9,_0x525b07={..._0x4f62e3[_0x4d600b(0x319)][Number(_0x254389)][Number(_0x16329c)]};_0x5d4870[_0x4d600b(0x2cf)](Number(_0x254389)+_0x552853,Number(_0x16329c)+_0x52614c,_0x547d38(_0x525b07));});});const _0x510d53=Object['keys'](_0x4f62e3['data'])['length'];_0x552853+=_0x510d53+(_0x510d53?_0x306f25:0x0);const _0x7d5dd2=_0x8a6853[_0x232e84(0x1f3)](),_0x3c2d9b=_0x8a6853[_0x232e84(0x197)]();for(let _0x2509cd=0x0;_0x2509cd<_0x7d5dd2;_0x2509cd++)for(let _0x407e44=0x0;_0x407e44<_0x3c2d9b;_0x407e44++){const _0x5ae952={...(_0x1262ce=(_0x59fb52=_0x8a6853[_0x232e84(0x319)])==null?void 0x0:_0x59fb52[_0x2509cd])==null?void 0x0:_0x1262ce[_0x407e44]};_0x5ae952&&((_0x14f747=_0x5a0df3['headerMap'][_0x407e44])!=null&&_0x14f747[_0x232e84(0xe9)])&&_0x407e44===_0x3c2d9b-0x1&&_0x2509cd===_0x7d5dd2-0x1&&(_0x5ae952['v']=''+_0x40450c[_0x232e84(0x341)]),_0x5d4870['setValue'](_0x2509cd+_0x552853,_0x407e44+_0x52614c,_0x547d38(_0x5ae952));}_0x52614c+=_0x3c2d9b;const _0x17b01d=_0x5b7b25['headerMap'],_0x2c808a=_0x5b7b25[_0x232e84(0x352)]()>=0x0?_0x5b7b25['getLastRow']()+0x1:0x0,_0x5b1cfe=_0x5b7b25['getLastCol']()>=0x0?_0x5b7b25['getLastCol']()+0x1:0x0;for(let _0x168397=0x0;_0x168397<_0x5b1cfe;_0x168397++)for(let _0x59bbd6=0x0;_0x59bbd6<_0x2c808a;_0x59bbd6++){const _0x657fe7={...(_0x446581=(_0x18c393=_0x5b7b25[_0x232e84(0x319)])==null?void 0x0:_0x18c393[_0x168397])==null?void 0x0:_0x446581[_0x59bbd6]},_0x44038d=(_0x4b273d=_0x17b01d[_0x168397])==null?void 0x0:_0x4b273d['tableFieldId'],_0x55444c=_0x8603de[_0x44038d];_0x657fe7&&(_0x657fe7['v']=_0x4f6cb1(_0x657fe7,_0x168397===0x0&&((_0x258ac0=_0x5b7b25[_0x232e84(0x9d)](_0x59bbd6+0x1))==null?void 0x0:_0x258ac0['isValue']),_0x55444c,_0x40450c)),_0x5d4870[_0x232e84(0x2cf)](_0x168397+_0x552853,_0x59bbd6+_0x52614c,_0x547d38(_0x657fe7));}_0x552853+=_0x7d5dd2;const _0x29d870=_0x5a0df3['headerMap'],_0x528265=_0x5a0df3[_0x232e84(0x352)]()>=0x0?_0x5a0df3['getLastRow']()+0x1:0x0,_0x108d51=_0x5a0df3[_0x232e84(0x211)]()>=0x0?_0x5a0df3[_0x232e84(0x211)]()+0x1:0x0;for(let _0x56c2bf=0x0;_0x56c2bf<_0x528265;_0x56c2bf++)for(let _0x4f5291=0x0;_0x4f5291<_0x108d51;_0x4f5291++){const _0xeb5bad={...(_0x10eb19=(_0x4592ff=_0x5a0df3[_0x232e84(0x319)])==null?void 0x0:_0x4592ff[_0x56c2bf])==null?void 0x0:_0x10eb19[_0x4f5291]},_0x2b5b29=(_0xa2b03e=_0x29d870[_0x4f5291])==null?void 0x0:_0xa2b03e[_0x232e84(0x2ac)],_0x3e7d96=_0x8603de[_0x2b5b29];_0xeb5bad&&(_0xeb5bad['v']=_0x4f6cb1(_0xeb5bad,!0x1,_0x3e7d96,_0x40450c)),_0x5d4870[_0x232e84(0x2cf)](_0x56c2bf+_0x552853,_0x4f5291+_0x41dd6a,_0x547d38(_0xeb5bad));}const _0x50923a=_0x569713[_0x232e84(0x1f3)](),_0x2fa1ca=_0x569713[_0x232e84(0x197)]();for(let _0x371021=0x0;_0x371021<_0x50923a;_0x371021++)for(let _0x9d3944=0x0;_0x9d3944<_0x2fa1ca;_0x9d3944++){const _0x552536={...(_0x1907c6=(_0x31c181=_0x569713[_0x232e84(0x319)])==null?void 0x0:_0x31c181[_0x371021])==null?void 0x0:_0x1907c6[_0x9d3944]};_0x5d4870['setValue'](_0x371021+_0x552853,_0x9d3944+_0x52614c,_0x547d38(_0x552536));}return _0x5d4870;},_0x397fe7=_0x3a6613=>{const _0x291692=_0x1ce260,{view:_0x2e23cc,targetCellInfo:_0x2a4d64,isEmpty:_0x3fe0d3,textInfo:_0x5462ef}=_0x3a6613;if(_0x3fe0d3)return _0x31afab(_0x3a6613);const {pageView:_0x11274b,cornerView:_0x390c55,rowView:_0x33efdd,colView:_0x520c6a,dataView:_0x58bfad}=_0x2e23cc,_0x236c50=_0x216f0f(_0x2a4d64,_0x11274b,!0x0),_0x5b297e=_0x11274b[_0x291692(0x1c1)]>=0x0?_0x11274b['lastRow']+0x1:0x0,_0x205e27=_0x390c55['getRowCount'](),_0x1d2caa=_0x390c55[_0x291692(0x197)](),_0x365869=_0x236c50['length']>0x0?_0x306f25:0x0,_0x542e31=_0x216f0f({'row':_0x2a4d64[_0x291692(0x2f1)]+_0x5b297e+_0x365869,'col':_0x2a4d64[_0x291692(0x261)]},_0x390c55,!0x1,!0x1),_0x3aa055=_0x216f0f({'row':_0x2a4d64['row']+_0x5b297e+_0x365869+_0x205e27,'col':_0x2a4d64['col']},_0x33efdd,!0x1,!0x0),_0x501fd4=_0x216f0f({'row':_0x2a4d64[_0x291692(0x2f1)]+_0x5b297e+_0x365869,'col':_0x2a4d64[_0x291692(0x261)]+_0x1d2caa},_0x520c6a,!0x1,!0x0),_0x29df25=_0x216f0f({'row':_0x2a4d64['row']+_0x5b297e+_0x365869+_0x205e27,'col':_0x2a4d64['col']+_0x1d2caa},_0x58bfad,!0x1,!0x1),_0x1b1e0e={'rowRanges':_0x3aa055,'colRanges':_0x501fd4,'cornerRanges':_0x542e31,'dataRanges':_0x29df25,'pageRanges':_0x236c50};return{'matrix':_0x35753b(_0x2e23cc,_0x2a4d64,_0x5462ef),'rangesCache':_0x1b1e0e};};var _0x113ec8=Object[_0x1ce260(0x125)],_0x4a2ae1=(_0x13d829,_0x25c553,_0x1b91c0,_0x41e62b)=>{for(var _0x4c7971=_0x41e62b>0x1?void 0x0:_0x41e62b?_0x113ec8(_0x25c553,_0x1b91c0):_0x25c553,_0x3e6d82=_0x13d829['length']-0x1,_0x2062a5;_0x3e6d82>=0x0;_0x3e6d82--)(_0x2062a5=_0x13d829[_0x3e6d82])&&(_0x4c7971=_0x2062a5(_0x4c7971)||_0x4c7971);return _0x4c7971;},_0x537135=(_0x245f69,_0x7a2b7)=>(_0x437248,_0x4aca79)=>_0x7a2b7(_0x437248,_0x4aca79,_0x245f69);_0x2436f3[_0x1ce260(0x24f)]=class extends _0x2ea6dc['Disposable']{constructor(_0x400da4,_0x3d9680,_0x43bc57,_0x5b6eb2,_0x932b1a){const _0xf46e0a=_0x1ce260;super(),_0x3b8258(this,_0xf46e0a(0x1af),new Map()),_0x3b8258(this,_0xf46e0a(0x1da),new Map()),_0x3b8258(this,_0xf46e0a(0x1bf),new Map()),_0x3b8258(this,'_textInfo'),_0x3b8258(this,_0xf46e0a(0xa9),new _0x367f13['Subject']()),_0x3b8258(this,_0xf46e0a(0x144),this['_collectionChange$'][_0xf46e0a(0x301)]()),_0x3b8258(this,'_viewData$',new _0x367f13[(_0xf46e0a(0x1b9))]()),_0x3b8258(this,_0xf46e0a(0x1d5),this[_0xf46e0a(0x397)][_0xf46e0a(0x301)]()),_0x3b8258(this,'_fieldsCollectionChange$',new _0x367f13[(_0xf46e0a(0x1b9))]()),_0x3b8258(this,_0xf46e0a(0x38e),this[_0xf46e0a(0x161)][_0xf46e0a(0x301)]()),_0x3b8258(this,'_dataFieldManagerCollection',new Map()),_0x3b8258(this,_0xf46e0a(0x266),[]),_0x3b8258(this,'_queryingMap',new Map()),(this[_0xf46e0a(0x137)]=_0x400da4,this[_0xf46e0a(0x22f)]=_0x3d9680,this['_lifecycleService']=_0x43bc57,this[_0xf46e0a(0x307)]=_0x5b6eb2,this[_0xf46e0a(0x1f7)]=_0x932b1a,this['_initSnapshot']());}[_0x1ce260(0x371)](){const _0x63d46=_0x1ce260;return this[_0x63d46(0xaa)]?this[_0x63d46(0xaa)]:_0x382c07;}['setTextInfo'](_0x5c03fe){this['_textInfo']=_0x5c03fe;}[_0x1ce260(0xf9)](_0x2ac68b){const _0x1447c6=_0x1ce260;var _0x461e7e;const {from:_0x4bd5e9,to:_0x838b2b,unitId:_0x3f3233,fromRange:_0x261058,toRange:_0x594003}=_0x2ac68b;if(_0x4bd5e9&&_0x838b2b){const _0x117c69=this['getDataFieldManager'](_0x3f3233),_0x37976a=this['_model']['get'](_0x3f3233),_0x6cf869=(_0x461e7e=this[_0x1447c6(0x22f)][_0x1447c6(0x2ec)](_0x3f3233))==null?void 0x0:_0x461e7e[_0x1447c6(0x12d)](_0x838b2b[_0x1447c6(0x2fa)]);if(!_0x37976a||!_0x6cf869)return;const _0x3c23cd=_0x6cf869==null?void 0x0:_0x6cf869[_0x1447c6(0x37d)]();for(const [_0x795ca7,_0x4bad8e]of _0x37976a[_0x1447c6(0x339)]())for(const [_0x2b0473,_0x3d4e00]of _0x4bad8e[_0x1447c6(0x339)]()){const {sourceRangeInfo:_0x56144c}=_0x3d4e00;if(_0x56144c[_0x1447c6(0x3a4)]===_0x3f3233&&_0x56144c[_0x1447c6(0x2fa)]===_0x4bd5e9[_0x1447c6(0x2fa)]&&_0x2ea6dc['Rectangle'][_0x1447c6(0xef)](_0x261058,_0x56144c['range'])){const _0x83e24f={'row':_0x56144c[_0x1447c6(0x34a)]['startRow']-_0x261058[_0x1447c6(0x348)],'col':_0x56144c[_0x1447c6(0x34a)][_0x1447c6(0x346)]-_0x261058['startColumn']},_0x5e5da6={'unitId':_0x3f3233,'subUnitId':_0x838b2b[_0x1447c6(0x2fa)],'sheetName':_0x3c23cd,'range':{'startRow':_0x594003[_0x1447c6(0x348)]+_0x83e24f[_0x1447c6(0x2f1)],'endRow':_0x594003['startRow']+_0x83e24f[_0x1447c6(0x2f1)]+_0x56144c['range']['endRow']-_0x56144c['range']['startRow'],'startColumn':_0x594003['startColumn']+_0x83e24f[_0x1447c6(0x261)],'endColumn':_0x594003[_0x1447c6(0x346)]+_0x83e24f[_0x1447c6(0x261)]+_0x56144c['range'][_0x1447c6(0x2e7)]-_0x56144c['range']['startColumn']}};_0x117c69[_0x1447c6(0xf9)](_0x2b0473,_0x5e5da6);const _0x537ffc={..._0x3d4e00,'sourceRangeInfo':_0x5e5da6};this[_0x1447c6(0x287)](_0x3f3233,_0x838b2b[_0x1447c6(0x2fa)],_0x2b0473,_0x537ffc),this['broadcastCollectionChange']({'unitId':_0x3f3233,'token':_0x2b0473,'type':_0x5d41e0[_0x1447c6(0x2b5)],'oldSourceRangeInfo':_0x56144c,'dataRangeInfo':_0x5e5da6,'targetCellInfo':_0x3d4e00[_0x1447c6(0x127)]}),this[_0x1447c6(0x1a3)]({'unitId':_0x3f3233,'subUnitId':_0x838b2b[_0x1447c6(0x2fa)],'oldSubUnitId':_0x795ca7,'pivotTableId':_0x2b0473,'pivotTableConfig':_0x537ffc,'collectionConfig':_0x117c69[_0x1447c6(0x2c3)]()});}}}}[_0x1ce260(0x11d)](_0x4e6376){const _0x334f09=_0x1ce260;this[_0x334f09(0xa9)][_0x334f09(0x37a)](_0x4e6376);}['getDataFieldManager'](_0x1b07b4){const _0x51cd54=_0x1ce260;let _0x1f0e89=this[_0x51cd54(0xd6)][_0x51cd54(0x15f)](_0x1b07b4);return _0x1f0e89||(_0x1f0e89=new _0x2d99c9(this,this[_0x51cd54(0x22f)]),this['_dataFieldManagerCollection']['set'](_0x1b07b4,_0x1f0e89)),_0x1f0e89;}['getCollection'](_0xa118a3,_0xdcb91a){const _0x5ea598=_0x1ce260;return this[_0x5ea598(0x121)](_0xa118a3)[_0x5ea598(0x15e)][_0xdcb91a];}[_0x1ce260(0x315)](_0x2cea03,_0x27d95f,_0x98a423){const _0x5299ce=_0x1ce260;return this[_0x5299ce(0x121)](_0x2cea03)[_0x5299ce(0x315)](_0x27d95f,_0x98a423);}[_0x1ce260(0x192)](_0x43f645,_0x549f78){const _0x44ed15=_0x1ce260;let _0x5e2327=this[_0x44ed15(0x1af)][_0x44ed15(0x15f)](_0x43f645);_0x5e2327||(_0x5e2327=new Map(),this[_0x44ed15(0x1af)][_0x44ed15(0x28c)](_0x43f645,_0x5e2327));let _0x2258da=_0x5e2327[_0x44ed15(0x15f)](_0x549f78);return _0x2258da||(_0x2258da=new Map(),_0x5e2327[_0x44ed15(0x28c)](_0x549f78,_0x2258da)),_0x2258da;}['_updateModelCache'](_0x2ef3b6,_0x3e38f4,_0x471a4b,_0x447993){const _0x33e238=_0x1ce260;this[_0x33e238(0x192)](_0x2ef3b6,_0x3e38f4)[_0x33e238(0x28c)](_0x471a4b,_0x447993);}[_0x1ce260(0x3b2)](_0x20876c,_0x4ac216,_0x249fcc){const _0x5de3a0=_0x1ce260;var _0x15dd71,_0x34e273,_0x98a500,_0x42178f;((_0x34e273=(_0x15dd71=this[_0x5de3a0(0x1af)][_0x5de3a0(0x15f)](_0x20876c))==null?void 0x0:_0x15dd71['get'](_0x4ac216))==null?void 0x0:_0x34e273[_0x5de3a0(0x15f)](_0x249fcc))&&((_0x42178f=(_0x98a500=this[_0x5de3a0(0x1af)][_0x5de3a0(0x15f)](_0x20876c))==null?void 0x0:_0x98a500['get'](_0x4ac216))==null||_0x42178f[_0x5de3a0(0x109)](_0x249fcc));}['_updatePivotTableInstanceCache'](_0x3f7100,_0x2fbf8a){const _0x560343=_0x1ce260;this[_0x560343(0x1da)][_0x560343(0x28c)](_0x3f7100,_0x2fbf8a);}[_0x1ce260(0x31e)](_0x338d64){const _0x3d9942=_0x1ce260;this[_0x3d9942(0x1da)]['delete'](_0x338d64);}[_0x1ce260(0x23b)](_0x14f743,_0x24c912){const _0x1be4ce=_0x1ce260;let _0x272bf8=this[_0x1be4ce(0x1bf)][_0x1be4ce(0x15f)](_0x14f743);_0x272bf8||(_0x272bf8=new Map(),this[_0x1be4ce(0x1bf)][_0x1be4ce(0x28c)](_0x14f743,_0x272bf8));let _0x4fea31=_0x272bf8['get'](_0x24c912);return _0x4fea31||(_0x4fea31=new Map(),_0x272bf8[_0x1be4ce(0x28c)](_0x24c912,_0x4fea31)),_0x4fea31;}[_0x1ce260(0x1a3)](_0x319c9c){const _0x21442b=_0x1ce260,{unitId:_0x4e6d01,subUnitId:_0x3e3e70,pivotTableId:_0xc5a506,pivotTableConfig:_0x1f17dc,collectionConfig:_0x66f3d2}=_0x319c9c,_0x7eadda={'unitId':_0x4e6d01,'subUnitId':_0x3e3e70,'oldSubUnitId':_0x3e3e70,'pivotTableId':_0xc5a506,'pivotTableConfig':_0x1f17dc,'collectionConfig':_0x66f3d2};this['_commandService'][_0x21442b(0x2d9)](_0x2195b1['id'],_0x7eadda,{'onlyLocal':!0x0});}[_0x1ce260(0xf6)](_0x5c4472,_0x477901,_0xd13957,_0x5423da,_0x3cc18a,_0x242819,_0x2af44f,_0x355ef6=!0x1){const _0x314ab6=_0x1ce260;var _0x3dd98f;this[_0x314ab6(0x307)][_0x314ab6(0x2d9)](_0x305035['id'],{'single':{'unitId':_0x5c4472,'subUnitId':_0x477901,'type':_0xd13957,'pivotTableId':_0x5423da,'view':_0x3cc18a,'pivotConfig':_0x242819},'collectionConfig':{[_0x5c4472]:_0x2af44f}},{'onlyLocal':!0x0});const _0x2f1545=!!((_0x3dd98f=this[_0x314ab6(0x376)](_0x5423da))!=null&&_0x3dd98f[_0x314ab6(0x1fe)]()),_0x3346dc=this[_0x314ab6(0x384)](_0x5c4472,_0x477901,_0x5423da);_0x3346dc&&this[_0x314ab6(0x398)]({'view':_0x3cc18a,'pivotTableId':_0x5423da,'textInfo':this[_0x314ab6(0x371)](),'isEmpty':_0x2f1545,'targetCellInfo':_0x3346dc[_0x314ab6(0x127)]},_0x355ef6);}[_0x1ce260(0x398)](_0x52b5d6,_0x2ad797){const _0x1ffa68=_0x1ce260,{targetCellInfo:_0x286079,pivotTableId:_0x3fd841}=_0x52b5d6,{unitId:_0x1fcecf,subUnitId:_0x41bce2}=_0x286079,_0x5af88d=this[_0x1ffa68(0x23b)](_0x1fcecf,_0x41bce2),_0x3f3c7d=_0x5af88d['get'](_0x3fd841);let _0x227e62,_0xc551c7;_0x3f3c7d&&(_0x227e62=_0x3f3c7d[_0x1ffa68(0x13d)],_0xc551c7=_0x3f3c7d[_0x1ffa68(0x2e6)]);const {rangesCache:_0x5f3fe0,matrix:_0x11cd77}=_0x397fe7(_0x52b5d6);_0x5af88d['set'](_0x3fd841,{'rangeCache':_0x5f3fe0,'matrix':_0x11cd77,'oldMatrix':_0xc551c7,'oldRangeCache':_0x227e62}),_0x2ad797||this[_0x1ffa68(0x397)][_0x1ffa68(0x37a)]({'unitId':_0x1fcecf,'subUnitId':_0x41bce2,'pivotTableId':_0x3fd841});}[_0x1ce260(0x178)](_0x183c88,_0x46e5b4,_0x3856d5,_0x1ed491,_0x469473){const _0x3b82e6=_0x1ce260;this[_0x3b82e6(0x287)](_0x183c88,_0x46e5b4,_0x3856d5,_0x469473),this[_0x3b82e6(0x359)](_0x3856d5,_0x1ed491);}['removePivotTable'](_0x8bacd8,_0x27e354,_0x1f10a1){const _0x29ab69=_0x1ce260,_0x26b348=this['getDataFieldManager'](_0x8bacd8);_0x26b348[_0x29ab69(0x20e)](_0x1f10a1)[_0x29ab69(0xe5)](_0x5613ed=>{const _0x5d627a=_0x29ab69;_0x26b348[_0x5d627a(0x1a6)](_0x5613ed);}),this[_0x29ab69(0x146)](_0x8bacd8,_0x1f10a1),this[_0x29ab69(0x3b2)](_0x8bacd8,_0x27e354,_0x1f10a1),this[_0x29ab69(0x31e)](_0x1f10a1);}[_0x1ce260(0x158)](_0x9833a5,_0x4b9264,_0x25d840,_0xcc712f){const _0x1c9fc4=_0x1ce260;this[_0x1c9fc4(0x287)](_0x9833a5,_0x4b9264,_0x25d840,_0xcc712f);}['getPivotTableConfig'](_0xf8f892,_0x2063e0,_0x13fa88){const _0x12dbd3=_0x1ce260;var _0x45c01d,_0xcfe5f5;const _0x3bed65=(_0xcfe5f5=(_0x45c01d=this[_0x12dbd3(0x1af)][_0x12dbd3(0x15f)](_0xf8f892))==null?void 0x0:_0x45c01d[_0x12dbd3(0x15f)](_0x2063e0))==null?void 0x0:_0xcfe5f5['get'](_0x13fa88);if(_0x3bed65)return _0x3bed65;}[_0x1ce260(0x327)](_0xf75a5a,_0x1fca9d,_0x3eedf2){const _0x12dbdb=_0x1ce260;var _0x3e527b,_0x71b9c2;const _0x29faef=(_0x71b9c2=(_0x3e527b=this['_model']['get'](_0xf75a5a))==null?void 0x0:_0x3e527b[_0x12dbdb(0x15f)](_0x1fca9d))==null?void 0x0:_0x71b9c2[_0x12dbdb(0x15f)](_0x3eedf2);if(_0x29faef)return _0x29faef[_0x12dbdb(0x280)];}['getPivotTableInstance'](_0x3dd31d){const _0x3160f6=_0x1ce260;return this[_0x3160f6(0x1da)][_0x3160f6(0x15f)](_0x3dd31d);}['deleteUnitId'](_0x14919e){const _0x16fa7c=_0x1ce260;this[_0x16fa7c(0x1af)][_0x16fa7c(0x109)](_0x14919e);const _0x43486c=this[_0x16fa7c(0xd6)][_0x16fa7c(0x15f)](_0x14919e);_0x43486c&&(_0x43486c[_0x16fa7c(0x98)](),this[_0x16fa7c(0xd6)][_0x16fa7c(0x109)](_0x14919e)),this['_viewData']['delete'](_0x14919e),this[_0x16fa7c(0x266)]['forEach'](_0x5aeb2a=>{const _0x23d55c=_0x16fa7c;_0x5aeb2a[_0x23d55c(0x99)](_0x14919e);});}[_0x1ce260(0x2e2)](_0x1f22c6,_0xafe6ed,_0x4a9ad2,_0x2fda72){const _0x266a24=_0x1ce260;return this[_0x266a24(0x121)](_0x4a9ad2['unitId'])[_0x266a24(0x2e2)](_0x1f22c6,_0xafe6ed,_0x4a9ad2,_0x2fda72);}[_0x1ce260(0x1fc)](_0x1d208f){const _0x566282=_0x1ce260;return this[_0x566282(0x121)](_0x1d208f[_0x566282(0x3a4)])['createCollectionWithDataRange'](_0x1d208f);}['refreshData'](_0x46bf4c,_0x4228f5,_0x5b1ad3){const _0x5f380a=_0x1ce260;this[_0x5f380a(0x121)](_0x5b1ad3[_0x5f380a(0x3a4)])[_0x5f380a(0x264)](_0x46bf4c,_0x4228f5,_0x5b1ad3);}['removeDataField'](_0x3ef948,_0x35b17a){const _0x11d5c7=_0x1ce260;this['getDataFieldManager'](_0x3ef948)[_0x11d5c7(0x1a6)](_0x35b17a);}[_0x1ce260(0x146)](_0x4c73f9,_0xee22b7){const _0x1f3496=_0x1ce260;this[_0x1f3496(0x121)](_0x4c73f9)[_0x1f3496(0x1dd)](_0xee22b7);}[_0x1ce260(0x323)](_0x2f816d,_0x1596f8){const _0x3febe4=_0x1ce260;var _0x4197e8;return(_0x4197e8=this[_0x3febe4(0x1af)][_0x3febe4(0x15f)](_0x2f816d))==null?void 0x0:_0x4197e8['get'](_0x1596f8);}[_0x1ce260(0x1e2)](_0x44e064){const _0x40cc16=_0x1ce260;for(const [_0x560948,_0x442472]of this[_0x40cc16(0x1af)][_0x40cc16(0x339)]())for(const [_0x460c85,_0x5a52bb]of _0x442472[_0x40cc16(0x339)]())if(_0x5a52bb[_0x40cc16(0x2e4)](_0x44e064))return{'unitId':_0x560948,'subUnitId':_0x460c85};return null;}[_0x1ce260(0xfc)](_0x4c2fb4,_0x33c6b8,_0x4327a7,_0x484293){const _0x35df47=_0x1ce260,_0x122bfb=this[_0x35df47(0x23b)](_0x4c2fb4,_0x33c6b8);_0x484293?_0x122bfb[_0x35df47(0x28c)](_0x4327a7,_0x484293):_0x122bfb[_0x35df47(0x109)](_0x4327a7),this[_0x35df47(0x397)]['next']({'unitId':_0x4c2fb4,'subUnitId':_0x33c6b8,'pivotTableId':_0x4327a7});}[_0x1ce260(0x98)](){super['dispose']();}[_0x1ce260(0x27b)](_0x9d4931,_0x58f260,_0x304638){const _0x4f24f5=_0x1ce260;var _0x261842,_0x5dc55e;const _0x753022=(_0x5dc55e=(_0x261842=this[_0x4f24f5(0x1bf)][_0x4f24f5(0x15f)](_0x9d4931))==null?void 0x0:_0x261842[_0x4f24f5(0x15f)](_0x58f260))==null?void 0x0:_0x5dc55e[_0x4f24f5(0x15f)](_0x304638);return _0x753022||null;}[_0x1ce260(0x32a)](_0x203a88){const _0x173b70=_0x1ce260;this[_0x173b70(0x379)](_0x203a88);}['updateDirtyPivotTable'](_0x279589){const _0x5dc411=_0x1ce260,{token:_0x5d99dd,unitId:_0x176a38,subUnitId:_0x1a252a}=_0x279589,_0x82be4=_0x176a38+'-'+_0x1a252a+'-'+_0x5d99dd;this[_0x5dc411(0x118)][_0x5dc411(0x15f)](_0x82be4)&&clearTimeout(this['_queryingMap']['get'](_0x82be4));const _0x6d3537=setTimeout(()=>{const _0x3d059d=_0x5dc411;this[_0x3d059d(0x153)](_0x279589),this[_0x3d059d(0x118)][_0x3d059d(0x109)](_0x82be4);},_0x104b78);this[_0x5dc411(0x118)][_0x5dc411(0x28c)](_0x82be4,_0x6d3537);}[_0x1ce260(0x153)](_0x3360fe){const _0x27c809=_0x1ce260,{unitId:_0x5bf9d8,subUnitId:_0x587ffb,token:_0x3acac7,type:_0x13b591,pivotConfig:_0x33adee}=_0x3360fe,_0x2f7010=this[_0x27c809(0x376)](_0x3acac7),_0x1b47d5=_0x2f7010==null?void 0x0:_0x2f7010[_0x27c809(0x216)](),_0x58c1d2=_0x33adee!=null?_0x33adee:this['getPivotTableConfig'](_0x5bf9d8,_0x587ffb,_0x3acac7);_0x58c1d2&&(_0x58c1d2[_0x27c809(0x1fe)]=!!(_0x2f7010!=null&&_0x2f7010['isEmpty']())),(_0x1b47d5||_0x13b591===_0x2b397e[_0x27c809(0x154)])&&this['updateView'](_0x5bf9d8,_0x587ffb,_0x13b591,_0x3acac7,_0x1b47d5,_0x58c1d2,this[_0x27c809(0x121)](_0x5bf9d8)[_0x27c809(0x2c3)]());}['toJSON'](_0x32b781){const _0x262ab8=_0x1ce260,_0x3197f0={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x262ab8(0x121)](_0x32b781)&&(_0x3197f0[_0x262ab8(0x2ad)][_0x32b781]=this[_0x262ab8(0x121)](_0x32b781)[_0x262ab8(0x2c3)]()),this[_0x262ab8(0x1af)][_0x262ab8(0x15f)](_0x32b781)){_0x3197f0['pivotTableConfigs'][_0x32b781]={};const _0x2cb225=this[_0x262ab8(0x1af)][_0x262ab8(0x15f)](_0x32b781);_0x2cb225!=null&&_0x2cb225[_0x262ab8(0x1a8)]&&[..._0x2cb225[_0x262ab8(0x249)]()][_0x262ab8(0xe5)](_0x13d19e=>{const _0x16e3f5=_0x262ab8,_0x2dc64b=_0x2cb225[_0x16e3f5(0x15f)](_0x13d19e);_0x2dc64b!=null&&_0x2dc64b[_0x16e3f5(0x1a8)]&&(_0x3197f0[_0x16e3f5(0x372)][_0x32b781][_0x13d19e]={},[..._0x2dc64b['keys']()][_0x16e3f5(0xe5)](_0x40febe=>{const _0x1deeef=_0x16e3f5,_0x3324db=_0x2dc64b[_0x1deeef(0x15f)](_0x40febe);_0x3324db&&(_0x3197f0[_0x1deeef(0x372)][_0x32b781][_0x13d19e][_0x40febe]=_0x3324db);}));});}return _0x3197f0;}['fromJSON'](_0x5a5df4){const _0x1df075=_0x1ce260;var _0x2dbd1c;const {dataFieldManagerConfig:_0x20ee11,pivotTableConfigs:_0x1d24e9}=_0x5a5df4;_0x20ee11&&Object[_0x1df075(0x249)](_0x20ee11)['forEach'](_0x467673=>{const _0x255891=_0x1df075;this['getDataFieldManager'](_0x467673)[_0x255891(0x18f)](_0x20ee11[_0x467673]);});const _0x22f79c=[];if(_0x1d24e9){const _0x5f5281=(_0x2dbd1c=this[_0x1df075(0x137)]['get'](_0x2ea6dc['IConfigService'])[_0x1df075(0x236)](_0x260b68[_0x1df075(0x183)]))!=null?_0x2dbd1c:{},{ls:_0x360d57,pbk:_0x3e087e}=_0x5f5281,_0x16a4ec=_0x2cff37(_0x547621,_0x360d57,_0x3e087e)[_0x1df075(0x250)];Object[_0x1df075(0x249)](_0x1d24e9)[_0x1df075(0xe5)](_0x280375=>{const _0x35a7f9=_0x1df075;let _0x21ee49=0x0;const _0x846469=_0x1d24e9[_0x280375];Object['keys'](_0x846469)[_0x35a7f9(0xe5)](_0x10c9a4=>{const _0x2d2cad=_0x35a7f9,_0x4d3759=_0x846469[_0x10c9a4];Object[_0x2d2cad(0x249)](_0x4d3759)[_0x2d2cad(0xe5)](_0x24e687=>{const _0x249966=_0x2d2cad,_0x2b7a59=_0x4d3759[_0x24e687];if(_0x2b7a59){if(_0x21ee49>=_0x16a4ec)return;_0x21ee49++;const _0x58729=this['getDataFieldManager'](_0x280375),_0x3242f6=_0x58729[_0x249966(0x15e)][_0x24e687],_0xacb20f=_0x3242f6[_0x249966(0x187)]();let _0x475595=0x0;const _0xfa5964=[];for(const _0x446430 of _0xacb20f){const _0x2ac962=_0x3242f6[_0x249966(0x300)](_0x446430);if(_0x57ab52[_0x249966(0xc7)](_0x2ac962)){const _0xc1f06b=_0x2ac962[_0x249966(0x220)](),_0x210751=_0x3242f6['getFieldById'](_0xc1f06b);_0x210751&&_0xfa5964[_0x249966(0x33e)]([_0x2ac962,_0x210751]);continue;}_0x58729[_0x249966(0xba)](_0x446430,_0x2b7a59[_0x249966(0x2ba)],_0x475595),_0x475595++;}_0xfa5964[_0x249966(0xe5)](([_0xe4b5f,_0x113d44])=>{const _0x1f342b=_0x249966;_0xe4b5f[_0x1f342b(0x39b)](_0x113d44);});const _0x5a460d=new _0x57ab52[(_0x249966(0x113))](_0x3242f6);_0x5a460d[_0x249966(0x18f)](_0x2b7a59[_0x249966(0x280)]),this[_0x249966(0x178)](_0x280375,_0x10c9a4,_0x24e687,_0x5a460d,_0x2b7a59);const _0x9a5d36=_0x5a460d[_0x249966(0x216)]();_0x22f79c[_0x249966(0x33e)]({'unitId':_0x280375,'subUnitId':_0x10c9a4,'pivotTableId':_0x24e687,'view':_0x9a5d36[_0x249966(0x2c3)](),'pivotConfig':_0x2b7a59,'type':_0x2b397e[_0x249966(0x156)]});const _0x308483=!!_0x5a460d['isEmpty'](),_0xff35c0={'view':_0x9a5d36,'pivotTableId':_0x24e687,'textInfo':this[_0x249966(0x371)](),'isEmpty':_0x308483,'targetCellInfo':_0x2b7a59[_0x249966(0x127)]};this['updateViewData'](_0xff35c0,!0x1);}});});});}_0x20ee11&&Object[_0x1df075(0x249)](_0x20ee11)[_0x1df075(0xe5)](_0x14f666=>{const _0x3ab2cf=_0x1df075,_0x4081aa=this['getDataFieldManager'](_0x14f666);this[_0x3ab2cf(0x161)][_0x3ab2cf(0x37a)](_0x4081aa[_0x3ab2cf(0x15e)]);}),this[_0x1df075(0x307)][_0x1df075(0x2d9)](_0x305035['id'],{'batch':_0x22f79c,'collectionConfig':_0x20ee11},{'onlyLocal':!0x0});}[_0x1ce260(0x19d)](){const _0x199a8d=_0x1ce260;this['disposeWithMe'](this['_resourceManagerService'][_0x199a8d(0x33c)]({'toJson':_0x514c51=>JSON[_0x199a8d(0x23e)](this[_0x199a8d(0x2c3)](_0x514c51)),'parseJson':_0x1d2241=>{if(!_0x1d2241)return{};try{return JSON['parse'](_0x1d2241);}catch{return{};}},'businesses':[_0x2ea6dc[_0x199a8d(0x2de)][_0x199a8d(0x3aa)]],'pluginName':_0x5cfcb5,'onLoad':(_0x3643bc,_0x22a4ec)=>{const _0x43c52a=_0x199a8d;this[_0x43c52a(0x18f)](_0x22a4ec);},'onUnLoad':_0x2e2645=>{this['deleteUnitId'](_0x2e2645);}}));}},_0x2436f3[_0x1ce260(0x24f)]=_0x4a2ae1([_0x537135(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x175)])),_0x537135(0x1,_0x2ea6dc[_0x1ce260(0x2f6)]),_0x537135(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x2fb)])),_0x537135(0x3,_0x2ea6dc[_0x1ce260(0x15a)]),_0x537135(0x4,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x2d6)]))],_0x2436f3[_0x1ce260(0x24f)]);const _0x32385d={0x0:{0x0:{'v':_0x1ce260(0x18e),'s':_0x457b03}},0x2:{0x1:{'v':'','s':_0x457b03},0x2:{'v':'','s':_0x457b03},0x3:{'v':_0x1ce260(0x38b),'s':_0x457b03},0x4:{'v':'','s':_0x457b03},0x5:{'v':'','s':_0x457b03}},0x3:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0x4:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0x5:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0x6:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0x7:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0x8:{0x0:{'v':'row','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':_0x1ce260(0x2f5),'s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0x9:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0xa:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0xb:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0xc:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}},0xd:{0x0:{'v':'','s':_0x457b03},0x1:{'v':'','s':_0x276fd3},0x2:{'v':'','s':_0x276fd3},0x3:{'v':'','s':_0x276fd3},0x4:{'v':'','s':_0x276fd3},0x5:{'v':'','s':_0x276fd3}}},_0x24967f={'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':[]},_0x1dbcd0=(_0xfa25e3,_0xa0d2c)=>{const _0xf3274e=_0x1ce260,_0x27896f=new _0x2ea6dc['ObjectMatrix'](),_0x17583a=new _0x2ea6dc[(_0xf3274e(0x136))](_0x32385d),{row:_0x59c6ca,col:_0x75f483}=_0xa0d2c;_0x17583a[_0xf3274e(0x1c6)]((_0x5e78ef,_0x246ac3,_0x4404be)=>{const _0x564cf5=_0xf3274e;let _0x309369='';_0x4404be['v']===_0x564cf5(0x18e)?_0x309369=_0xfa25e3['filter']:_0x4404be['v']===_0x564cf5(0x2f1)?_0x309369=_0xfa25e3[_0x564cf5(0x2f1)]:_0x4404be['v']==='column'?_0x309369=_0xfa25e3[_0x564cf5(0x38b)]:_0x4404be['v']==='values'&&(_0x309369=_0xfa25e3[_0x564cf5(0x2f5)]),_0x27896f[_0x564cf5(0x2cf)](_0x5e78ef+_0x59c6ca,_0x246ac3+_0x75f483,{..._0x4404be,'v':_0x309369});});const _0x10e30e=_0x2ea6dc[_0xf3274e(0x35a)][_0xf3274e(0x114)](_0x24967f);return Object['keys'](_0x24967f)['forEach'](_0x15ad8c=>{const _0x3e30d4=_0xf3274e;_0x10e30e[_0x15ad8c]=_0x24967f[_0x15ad8c]['map'](_0x3df4f0=>({..._0x3df4f0,'startRow':_0x3df4f0[_0x3e30d4(0x348)]+_0x59c6ca,'endRow':_0x3df4f0['endRow']+_0x59c6ca,'startColumn':_0x3df4f0['startColumn']+_0x75f483,'endColumn':_0x3df4f0[_0x3e30d4(0x2e7)]+_0x75f483}));}),{'matrixCache':_0x27896f,'rangesCache':_0x10e30e};};function _0x1f9465(_0x256441,_0x170f84){const _0x52ef7a=_0x1ce260;let _0x46a150='';const _0x3c7d4c=this['getTextInfo']();switch(_0x170f84){case _0x57ab52[_0x52ef7a(0x353)][_0x52ef7a(0x181)]:_0x46a150=_0x3c7d4c[_0x52ef7a(0x235)]+_0x256441;break;case _0x57ab52['PivotSubtotalTypeEnum'][_0x52ef7a(0x250)]:_0x46a150=_0x3c7d4c[_0x52ef7a(0x2a9)]+_0x256441;break;case _0x57ab52[_0x52ef7a(0x353)][_0x52ef7a(0x9e)]:_0x46a150=_0x3c7d4c[_0x52ef7a(0xcd)]+_0x256441;break;case _0x57ab52[_0x52ef7a(0x353)][_0x52ef7a(0x215)]:_0x46a150=_0x3c7d4c[_0x52ef7a(0x1ea)]+_0x256441;break;case _0x57ab52[_0x52ef7a(0x353)]['min']:_0x46a150=_0x3c7d4c['sheets-pivot.minName']+_0x256441;break;case _0x57ab52[_0x52ef7a(0x353)][_0x52ef7a(0x143)]:_0x46a150=_0x3c7d4c['sheets-pivot.productName']+_0x256441;break;case _0x57ab52[_0x52ef7a(0x353)][_0x52ef7a(0x2fe)]:_0x46a150=_0x3c7d4c['sheets-pivot.stdDevName']+_0x256441;break;case _0x57ab52['PivotSubtotalTypeEnum'][_0x52ef7a(0x1d7)]:_0x46a150=_0x3c7d4c[_0x52ef7a(0x1a7)]+_0x256441;break;case _0x57ab52['PivotSubtotalTypeEnum'][_0x52ef7a(0x340)]:_0x46a150=_0x3c7d4c[_0x52ef7a(0x2f8)]+_0x256441;break;case _0x57ab52[_0x52ef7a(0x353)][_0x52ef7a(0xde)]:_0x46a150=_0x3c7d4c[_0x52ef7a(0xd9)]+_0x256441;break;case _0x57ab52['PivotSubtotalTypeEnum'][_0x52ef7a(0x364)]:_0x46a150=_0x3c7d4c['sheets-pivot.varpName']+_0x256441;break;default:_0x46a150=_0x256441;break;}return _0x46a150;}function _0x5c24cd(_0xcc16c2,_0x146c03,_0x4c447c,_0x4e0dc5,_0x4725e2){const _0x2233c7=_0x1ce260;var _0x2cd977,_0x278642,_0x47436e,_0x293f95,_0x3a4797;const _0x3e5e31=_0x2ea6dc[_0x2233c7(0x2b8)](_0xcc16c2,_0x146c03),{rangesInfo:_0x45bc55,areaInfo:_0x4d3f3b,headerMap:_0x2790b2}=_0x4725e2;if(!_0x45bc55||!_0x4d3f3b||!_0x2790b2)return;const _0x2b898f=Object[_0x2233c7(0x249)](_0x45bc55)[_0x2233c7(0x3b1)](_0x49c2e3=>_0x45bc55[_0x49c2e3][_0x2233c7(0x1c8)](_0x1dfadd=>_0x2ea6dc['Rectangle'][_0x2233c7(0xef)](_0x1dfadd,_0x3e5e31))),_0x3afa16=_0x4d3f3b;let _0xf5d048,_0x2fab94,_0x7ed961;if(_0x2b898f===_0x2233c7(0xe4))_0xf5d048=(_0x2cd977=_0x3afa16==null?void 0x0:_0x3afa16[_0x2233c7(0x37b)])==null?void 0x0:_0x2cd977[_0xcc16c2],_0x2fab94=(_0x278642=_0x2790b2==null?void 0x0:_0x2790b2[_0x2233c7(0x317)])==null?void 0x0:_0x278642[_0x146c03],_0x7ed961=_0x2fab94==null?void 0x0:_0x2fab94[_0x2233c7(0x2ac)];else{if(_0x2b898f===_0x2233c7(0x320))_0xf5d048=(_0x47436e=_0x3afa16==null?void 0x0:_0x3afa16[_0x2233c7(0x3af)])==null?void 0x0:_0x47436e[_0x146c03],_0x2fab94=(_0x293f95=_0x2790b2[_0x2233c7(0x10b)])==null?void 0x0:_0x293f95[_0xcc16c2+0x1+_0x146c03-_0x45bc55[_0x2233c7(0x320)][0x0][_0x2233c7(0x346)]],_0x7ed961=_0x2fab94==null?void 0x0:_0x2fab94['tableFieldId'];else{if(_0x2b898f===_0x2233c7(0x1dc))_0xf5d048=(_0x3a4797=_0x3afa16==null?void 0x0:_0x3afa16[_0x2233c7(0x218)])==null?void 0x0:_0x3a4797[_0x146c03],_0x7ed961=_0xf5d048==null?void 0x0:_0xf5d048[_0x2233c7(0x2ac)];else{if(_0x2b898f===_0x2233c7(0x312)){const _0x54f5fe=_0x4c447c==null?void 0x0:_0x4c447c['fi'];_0x54f5fe!==void 0x0&&(_0x7ed961=_0x4e0dc5[_0x2233c7(0x333)](_0x54f5fe));}}}}return{'filterId':_0x7ed961,'info':_0xf5d048,'data':_0x4c447c,'headerInfo':_0x2fab94};}function _0x46065d(_0x5325ea,_0x4e371b,_0x228b99){const _0x2e2ad6=_0x1ce260,_0xb933f6=_0x5325ea[_0x2e2ad6(0x1bc)],_0x3b935f=_0xb933f6['getFieldIds'](),_0x250646=new Set();_0x5325ea[_0x2e2ad6(0x200)](_0x51fa7c=>{const _0x2d8a80=_0x2e2ad6;_0x250646[_0x2d8a80(0x112)](_0x51fa7c[_0x2d8a80(0x2bb)]);});const _0x4193ee=_0x3b935f[_0x2e2ad6(0x19c)](_0x4d6ebc=>{const _0x5e8ddd=_0x2e2ad6,_0x14a243=_0xb933f6[_0x5e8ddd(0x300)](_0x4d6ebc);return{'checked':_0x250646[_0x5e8ddd(0x2e4)](_0x4d6ebc),'dataFieldId':_0x14a243['id'],'id':_0x14a243['id'],'name':_0xb933f6['getDisplayName'](_0x14a243['id']),'type':_0x14a243[_0x5e8ddd(0x18c)](),'pivotTableId':_0x4e371b};}),_0x37eb3c=[];_0x5325ea[_0x2e2ad6(0x18b)](_0x57ab52[_0x2e2ad6(0x2b4)][_0x2e2ad6(0x1cb)],_0x1f88e7=>{const _0x2644f7=_0x2e2ad6;_0x37eb3c['push']({'dataFieldId':_0x1f88e7[_0x2644f7(0x2bb)],'tableFieldId':_0x1f88e7[_0x2644f7(0xb6)](),'displayName':_0x1f88e7[_0x2644f7(0x226)]()});});const _0x263f29=[];_0x5325ea['iterateFieldByArea'](_0x57ab52[_0x2e2ad6(0x2b4)]['Column'],_0x673867=>{const _0x113fd8=_0x2e2ad6;_0x263f29[_0x113fd8(0x33e)]({'dataFieldId':_0x673867[_0x113fd8(0x2bb)],'tableFieldId':_0x673867[_0x113fd8(0xb6)](),'displayName':_0x673867[_0x113fd8(0x226)]()});});const _0xa329d6=[];if(_0x5325ea[_0x2e2ad6(0x18b)](_0x57ab52['PivotTableFiledAreaEnum'][_0x2e2ad6(0xe7)],_0x5df57a=>{const _0x529ca6=_0x2e2ad6;_0xa329d6['push']({'dataFieldId':_0x5df57a['dataFieldId'],'tableFieldId':_0x5df57a[_0x529ca6(0xb6)](),'displayName':_0x5df57a['getDisplayName'](),'format':_0x5df57a[_0x529ca6(0x39c)](),'subTotalType':_0x5df57a[_0x529ca6(0x2da)]()});}),_0xa329d6[_0x2e2ad6(0xac)]>0x1){const _0x14f052=_0x5325ea[_0x2e2ad6(0x3a7)]();(_0x5325ea[_0x2e2ad6(0x288)]()?_0x263f29:_0x37eb3c)['splice'](_0x14f052,0x0,{'dataFieldId':'','tableFieldId':_0x2e2ad6(0x32e),'displayName':_0x2e2ad6(0x229)});}const _0x4aa306=[];_0x5325ea[_0x2e2ad6(0x18b)](_0x57ab52[_0x2e2ad6(0x2b4)]['Filter'],_0x3dcb83=>{const _0x3af736=_0x2e2ad6;_0x4aa306['push']({'dataFieldId':_0x3dcb83[_0x3af736(0x2bb)],'tableFieldId':_0x3dcb83['getId'](),'displayName':_0x3dcb83['getDisplayName']()});});const _0x45f6d9=_0x228b99['sourceRangeInfo'];return{'sourceList':_0x4193ee,'sourceRange':_0x45f6d9,'rowFields':_0x37eb3c,'columnFields':_0x263f29,'valueFields':_0xa329d6,'filterFields':_0x4aa306,'positionInfo':_0x228b99[_0x2e2ad6(0x127)]};}function _0x1f685a(_0x41c33a,_0x31dabb,_0x230310='',_0x509e62={}){const _0x586e85=_0x1ce260,_0x39527c=_0x41c33a[_0x586e85(0x15f)](_0x2ea6dc[_0x586e85(0x19f)]);for(const _0x48269b in _0x31dabb)if(Object[_0x586e85(0x255)][_0x586e85(0xd4)][_0x586e85(0x208)](_0x31dabb,_0x48269b)){const _0x4f7ad1=_0x230310?_0x230310+'.'+_0x48269b:_0x48269b;typeof _0x31dabb[_0x48269b]==_0x586e85(0x166)&&_0x31dabb[_0x48269b]!==null&&!Array['isArray'](_0x31dabb[_0x48269b])?_0x1f685a(_0x41c33a,_0x31dabb[_0x48269b],_0x4f7ad1,_0x509e62):_0x509e62[_0x4f7ad1]=_0x39527c['t'](_0x4f7ad1);}return _0x509e62;}const _0x1ed362=_0x245483=>{const _0x3d57c6=_0x1ce260;if(!_0x245483)return[];const {rowRanges:_0xc19687,colRanges:_0x4325e4,cornerRanges:_0x5ec42f,dataRanges:_0x15481d,pageRanges:_0x3c5a10}=_0x245483,_0x2a5979=[..._0x4325e4,..._0xc19687,..._0x15481d,..._0x5ec42f][_0x3d57c6(0x18e)](_0x4927d2=>_0x4927d2[_0x3d57c6(0x348)]>=0x0&&_0x4927d2[_0x3d57c6(0x346)]>=0x0&&_0x4927d2[_0x3d57c6(0x1c2)]>=0x0&&_0x4927d2[_0x3d57c6(0x2e7)]>=0x0);let _0x55cff7=Number[_0x3d57c6(0x10a)],_0x1d2554=Number[_0x3d57c6(0x13b)],_0x3b99af=Number[_0x3d57c6(0x10a)],_0x9f2f4a=Number[_0x3d57c6(0x13b)];for(let _0x21ed84=0x0;_0x21ed84<_0x2a5979[_0x3d57c6(0xac)];_0x21ed84++)_0x55cff7=Math['min'](_0x55cff7,_0x2a5979[_0x21ed84][_0x3d57c6(0x348)]),_0x1d2554=Math[_0x3d57c6(0x215)](_0x1d2554,_0x2a5979[_0x21ed84][_0x3d57c6(0x1c2)]),_0x3b99af=Math[_0x3d57c6(0xb1)](_0x3b99af,_0x2a5979[_0x21ed84][_0x3d57c6(0x346)]),_0x9f2f4a=Math['max'](_0x9f2f4a,_0x2a5979[_0x21ed84][_0x3d57c6(0x2e7)]);return[..._0x3c5a10,{'startRow':_0x55cff7,'endRow':_0x1d2554,'startColumn':_0x3b99af,'endColumn':_0x9f2f4a}];};function _0x5c0597(_0x2642de,_0x2aec57){const _0x30367e=_0x1ce260,_0x104f19=_0x2aec57[_0x30367e(0x299)][_0x30367e(0x132)],{pivotTableId:_0x4c5b66,unitId:_0x3e5584,subUnitId:_0x2e5dfe}=_0x2aec57;if(!_0x104f19)return;const _0x4c0a4b=_0x2642de[_0x30367e(0x15f)](_0x2436f3['SheetsPivotDataSourceModel']),_0xdae54b=_0x4c0a4b['getPivotTableInstance'](_0x4c5b66),_0x5a0611=_0x4c0a4b[_0x30367e(0x384)](_0x3e5584,_0x2e5dfe,_0x4c5b66);if(!_0xdae54b||!_0x5a0611)return;const _0x3424cd=_0xdae54b[_0x30367e(0x129)](_0x104f19['tuple']);if(!(_0x3424cd!=null&&_0x3424cd[_0x30367e(0xac)]))return;const _0xb2bf75=_0x5a0611['sourceRangeInfo'],{unitId:_0x4f41cb,subUnitId:_0x276182,range:_0x5e4a5c}=_0xb2bf75;let _0x453909=0x0;const _0x2433e7=_0xdae54b['dataFieldsCollection'][_0x30367e(0x187)]()[_0x30367e(0x1de)]((_0x55588e,_0x438953)=>{const _0x266d36=_0x30367e;var _0x3b9404;const _0x19ab40=(_0x3b9404=_0xdae54b[_0x266d36(0x2f3)](_0x438953))==null?void 0x0:_0x3b9404[_0x266d36(0x26b)]();return _0x19ab40&&(_0x55588e[String(_0x453909)]=_0x19ab40),_0x453909++,_0x55588e;},{});return{'indexes':_0x3424cd,'range':_0x5e4a5c,'sourceUnitId':_0x4f41cb,'sourceSubUnitId':_0x276182,'formatMap':_0x2433e7};}function _0x1bba50(_0x3c507f,_0x491e72){const _0x221079=_0x1ce260;if(!_0x3c507f||!_0x491e72)return!0x0;const _0x4d7316=_0x260b68[_0x221079(0xdc)](_0x45a4e5,_0x15da24),_0x9231ef=new Function(_0x221079(0x11c)+_0x4d7316)()(_0x3c507f,_0x491e72)[_0x221079(0x1ed)],_0x1a03e2=_0x260b68[_0x221079(0x2ab)](_0x9231ef,'sf',_0x4bb1ba);return!((_0x9231ef==null?void 0x0:_0x9231ef['rt'])===_0x260b68[_0x221079(0x3a8)]['NO_COMMERCIAL']&&!_0x1a03e2);}function _0x2cff37(_0x177636,_0x1ee83a,_0x926e89){const _0x14ef6f=_0x1ce260,_0x487963={'count':_0x177636,'timeValid':!0x1};if(!_0x1ee83a||!_0x926e89)return _0x487963;const _0x43778b=_0x260b68['unshiftString'](_0x45a4e5,_0x15da24),_0x35cd12=new Function(_0x14ef6f(0x11c)+_0x43778b)()(_0x1ee83a,_0x926e89);if(_0x35cd12!=null&&_0x35cd12[_0x14ef6f(0x148)]){const _0x5c1437=_0x35cd12[_0x14ef6f(0x1ed)],_0x21ea5b=_0x260b68[_0x14ef6f(0x2ab)](_0x5c1437,'sf',_0x4bb1ba);return{'count':_0x260b68[_0x14ef6f(0x332)](_0x5c1437,_0x21ea5b,_0x14ef6f(0x133),_0x177636,_0x177636,0x0),'timeValid':_0x21ea5b};}return _0x487963;}function _0x8e0cd9(_0x3fb61c,_0x3ff4e0,_0x28649a,_0x2c8a9c){const _0x4c8756=_0x1ce260,_0x43c10b={'subUnitId':_0x28649a,'unitId':_0x3ff4e0,'cellValue':_0x54cce1[_0x4c8756(0x1be)](_0x2c8a9c)},_0x506cd=_0x54cce1['SetRangeValuesUndoMutationFactory'](_0x3fb61c,_0x43c10b);let _0x4793d4=!0x1;return new _0x2ea6dc[(_0x4c8756(0x136))](_0x506cd[_0x4c8756(0x26f)])[_0x4c8756(0x1c6)]((_0x40a535,_0x472cbd,_0x25f4cd)=>{if(!_0x4793d4&&_0x25f4cd&&(_0x25f4cd['custom']||_0x25f4cd['f']||_0x25f4cd['p']||_0x25f4cd['s']||_0x25f4cd['si']||_0x25f4cd['t']||_0x25f4cd['v']))return _0x4793d4=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x54cce1[_0x4c8756(0x17d)]['id'],'params':_0x506cd},'setRangeValueRedoMutation':{'id':_0x54cce1[_0x4c8756(0x17d)]['id'],'params':_0x43c10b},'shouldClear':_0x4793d4};}function _0x372fc5(_0x22e1c4){const {row:_0x2c7a55,col:_0x3d6109}=_0x22e1c4,_0x33211e={'startRow':_0x2c7a55,'endRow':_0x2c7a55,'startColumn':_0x3d6109,'endColumn':_0x3d6109},_0x4adc1a={'startRow':_0x2c7a55+0x2,'endRow':_0x2c7a55+0xe,'startColumn':_0x3d6109,'endColumn':_0x3d6109+0x6};return[_0x33211e,_0x4adc1a];}function _0xcaa214(_0x133365,_0x4db859,_0x20658c){const _0x5283c4=_0x1ce260,{cornerView:_0x14c2dc,rowView:_0xae2826,colView:_0x3326a1,pageView:_0x31a563}=_0x133365,{row:_0x57ec77,col:_0x2e888b}=_0x4db859;if(_0x20658c)return{'rowCount':_0x274119+_0x57ec77,'colCount':_0xe3a26c+_0x2e888b};const _0x3f3edc=_0x31a563['lastRow']>-0x1?_0x31a563[_0x5283c4(0x1c1)]+0x1:0x0,_0x3d18dd=_0x31a563[_0x5283c4(0x243)]>-0x1?_0x31a563['lastCol']:0x0,_0x53b9ec=_0x57ec77+_0x3f3edc+(_0x3f3edc?0x1:0x0)+_0x14c2dc[_0x5283c4(0xe0)]+_0xae2826[_0x5283c4(0xe0)],_0x1eb851=_0x2e888b+_0x3d18dd,_0x380e92=_0x2e888b+_0x14c2dc[_0x5283c4(0x381)]+_0x3326a1[_0x5283c4(0x381)],_0x2eb469=Math[_0x5283c4(0x215)](_0x1eb851,_0x380e92);return{'rowCount':_0x53b9ec,'colCount':_0x2eb469};}function _0x53c4f4(_0x106ba5,_0x51af72,_0x3506fc,_0x57bc2e){const _0x3864f3=_0x1ce260,{row:_0x59a5c3,col:_0x932e77,unitId:_0x241232,subUnitId:_0x1204fc}=_0x3506fc,_0x5a06a9=_0xcaa214(_0x51af72,{'row':_0x59a5c3,'col':_0x932e77},_0x57bc2e),_0x2fd1ce=_0x106ba5[_0x3864f3(0x15f)](_0x2ea6dc[_0x3864f3(0x2f6)]),_0x393464=_0x54cce1[_0x3864f3(0x2dd)](_0x2fd1ce,{'unitId':_0x241232,'subUnitId':_0x1204fc}),_0xa2536d=[],_0x1888b1=[];if(!_0x393464)return{'undos':_0x1888b1,'redos':_0xa2536d};const {worksheet:_0x598792}=_0x393464,_0x300837=_0x598792[_0x3864f3(0x1f3)](),_0x1fdea6=_0x598792[_0x3864f3(0x297)]();return _0x300837<_0x5a06a9[_0x3864f3(0xe0)]&&(_0xa2536d['push']({'id':_0x54cce1[_0x3864f3(0x29b)]['id'],'params':{'unitId':_0x241232,'subUnitId':_0x1204fc,'range':{'startRow':_0x300837,'endRow':_0x5a06a9[_0x3864f3(0xe0)]-0x1,'startColumn':0x0,'endColumn':_0x1fdea6-0x1}}}),_0x1888b1['push']({'id':_0x54cce1[_0x3864f3(0xfd)]['id'],'params':{'unitId':_0x241232,'subUnitId':_0x1204fc,'range':{'startRow':_0x300837,'endRow':_0x5a06a9[_0x3864f3(0xe0)]-0x1,'startColumn':0x0,'endColumn':_0x1fdea6-0x1}}})),_0x1fdea6<_0x5a06a9[_0x3864f3(0x381)]&&(_0xa2536d[_0x3864f3(0x33e)]({'id':_0x54cce1[_0x3864f3(0x22e)]['id'],'params':{'unitId':_0x241232,'subUnitId':_0x1204fc,'range':{'startRow':0x0,'endRow':_0x300837-0x1,'startColumn':_0x1fdea6,'endColumn':_0x5a06a9[_0x3864f3(0x381)]-0x1}}}),_0x1888b1[_0x3864f3(0x33e)]({'id':_0x54cce1[_0x3864f3(0x24c)]['id'],'params':{'unitId':_0x241232,'subUnitId':_0x1204fc,'range':{'startRow':0x0,'endRow':_0x300837-0x1,'startColumn':_0x1fdea6,'endColumn':_0x5a06a9[_0x3864f3(0x381)]-0x1}}})),{'undos':_0x1888b1,'redos':_0xa2536d};}function _0x3cb8b0(_0x12fd62){const _0x38328f=_0x1ce260;let _0x566cea=0x0;for(let _0x29ffd1=0x0;_0x29ffd1<_0x12fd62[_0x38328f(0xac)];_0x29ffd1++){const _0x39fd42=_0x12fd62['charCodeAt'](_0x29ffd1);_0x39fd42>=0x4e00&&_0x39fd42<=0x9fff||_0x39fd42>=0x3000&&_0x39fd42<=0x303f||_0x39fd42>=0xff00&&_0x39fd42<=0xffef?_0x566cea+=0x2:_0x566cea+=0x1;}return _0x566cea;}function _0x2b4358(_0x425fe9,_0x38669e,_0x306ee2,_0x2ab99e){const _0x3b83e6=_0x1ce260;var _0x335d97,_0x3b71b8,_0x493dd5,_0x236d46;const {rowCount:_0x2ec5eb,colCount:_0x43037b,headerMap:_0x1831fe}=_0x425fe9,_0x1f1e5a=0x64,_0x133dfc=Math[_0x3b83e6(0xb1)](_0x2ec5eb,_0x1f1e5a),_0x5b98f5=Math[_0x3b83e6(0xb1)](_0x43037b,_0x1f1e5a);let _0x4752ed='',_0x76e0e7=0x0;for(let _0x5637e4=0x0;_0x5637e4<_0x133dfc;_0x5637e4++)for(let _0x18f2ee=0x0;_0x18f2ee<_0x5b98f5;_0x18f2ee++){const _0x1def27={...(_0x3b71b8=(_0x335d97=_0x425fe9['data'])==null?void 0x0:_0x335d97[_0x5637e4])==null?void 0x0:_0x3b71b8[_0x18f2ee]},_0xc8e9=(_0x493dd5=_0x1831fe[_0x5637e4])==null?void 0x0:_0x493dd5[_0x3b83e6(0x2ac)],_0x2b7c25=_0x2ab99e[_0xc8e9];let _0x5e80d6=_0x425fe9[_0x3b83e6(0x244)](_0x5637e4,_0x18f2ee);if(_0x1def27){const _0x1c6359=_0x306ee2?_0x18f2ee===0x0&&((_0x236d46=_0x425fe9[_0x3b83e6(0x9d)](_0x18f2ee+0x1))==null?void 0x0:_0x236d46[_0x3b83e6(0xe9)]):!0x1;_0x5e80d6=_0x4f6cb1(_0x1def27,_0x1c6359,_0x2b7c25,_0x38669e);}if(_0x5e80d6!==void 0x0){const _0x4aef1d=_0x3cb8b0(String(_0x5e80d6));_0x76e0e7<_0x4aef1d&&(_0x4752ed=String(_0x5e80d6),_0x76e0e7=_0x4aef1d);}}return _0x4752ed;}function _0x10493f(_0x5a50e9){const _0x1ef82f=_0x1ce260,{rowCount:_0xc23311,colCount:_0xc786b6}=_0x5a50e9;let _0x36284a='',_0x2bc621=0x0;for(let _0x1bf511=_0xc23311-0x1;_0x1bf511>0x0&&_0x1bf511>_0xc23311-0x3;_0x1bf511--)for(let _0x155aac=0x0;_0x155aac<_0xc786b6;_0x155aac++){const _0x36c50b=_0x5a50e9['getValue'](_0x1bf511,_0x155aac);if(_0x36c50b!==void 0x0){const _0x136981=String(_0x36c50b)[_0x1ef82f(0xac)];_0x2bc621<_0x136981&&(_0x36284a=String(_0x36c50b),_0x2bc621=_0x136981);}}return _0x36284a;}function _0x210b1d(_0x516dcd){const _0x164c86=_0x1ce260,{rowCount:_0x5617b6,colCount:_0x5ca06b}=_0x516dcd;let _0x466834='',_0x2f41e4=0x0;for(let _0x24f44b=0x0;_0x24f44b<_0x5617b6;_0x24f44b++)for(let _0x1c369c=0x0;_0x1c369c<_0x5ca06b;_0x1c369c++){const _0x54c980=_0x516dcd[_0x164c86(0x244)](_0x24f44b,_0x1c369c);if(_0x54c980!==void 0x0){const _0x81ea3f=String(_0x54c980)['length'];_0x2f41e4<_0x81ea3f&&(_0x466834=String(_0x54c980),_0x2f41e4=_0x81ea3f);}}return _0x466834;}function _0x543190(_0x3fddc9,_0x38174b){const _0x2e1823=_0x1ce260,{rowFields:_0xa5183e,columnFields:_0x333340,valueFields:_0x5b776e,filterFields:_0x2daa01,dimension:_0x5d9507,measure:_0x304c54}=_0x38174b;for(const _0x734512 of _0xa5183e){const _0x88f6cf=_0x5d9507[_0x734512];_0x88f6cf&&_0x3fddc9[_0x2e1823(0x2f3)](_0x88f6cf['dataFieldId'])&&(_0x3fddc9[_0x2e1823(0x2ee)](_0x88f6cf['dataFieldId'],_0x57ab52[_0x2e1823(0x2b4)]['Row'],void 0x0,_0x734512),_0x88f6cf[_0x2e1823(0x111)]&&_0x3fddc9[_0x2e1823(0x1ce)](_0x88f6cf['id'],_0x88f6cf[_0x2e1823(0x111)]),_0x88f6cf['sortInfo']&&_0x3fddc9[_0x2e1823(0x15b)](_0x88f6cf['id'],_0x88f6cf[_0x2e1823(0xf2)]),_0x88f6cf['filterInfo']&&_0x3fddc9[_0x2e1823(0x34b)](_0x88f6cf['id'],_0x88f6cf[_0x2e1823(0x298)]));}for(const _0x17fbad of _0x333340){const _0x41b343=_0x5d9507[_0x17fbad];_0x41b343&&_0x3fddc9['getDataFieldByDataFieldId'](_0x41b343[_0x2e1823(0x2bb)])&&(_0x3fddc9['addFieldWithSourceId'](_0x41b343[_0x2e1823(0x2bb)],_0x57ab52[_0x2e1823(0x2b4)][_0x2e1823(0xf3)],void 0x0,_0x17fbad),_0x41b343[_0x2e1823(0xf2)]&&_0x3fddc9['setSortInfo'](_0x41b343['id'],_0x41b343[_0x2e1823(0xf2)]),_0x41b343[_0x2e1823(0x298)]&&_0x3fddc9[_0x2e1823(0x34b)](_0x41b343['id'],_0x41b343['filterInfo']),_0x41b343[_0x2e1823(0x111)]&&_0x3fddc9['renameField'](_0x41b343['id'],_0x41b343[_0x2e1823(0x111)]));}for(const _0x230432 of _0x2daa01){const _0x5bd7dd=_0x5d9507[_0x230432];_0x5bd7dd&&_0x3fddc9[_0x2e1823(0x2f3)](_0x5bd7dd[_0x2e1823(0x2bb)])&&(_0x3fddc9['addFieldWithSourceId'](_0x5bd7dd[_0x2e1823(0x2bb)],_0x57ab52['PivotTableFiledAreaEnum']['Filter'],void 0x0,_0x230432),_0x5bd7dd[_0x2e1823(0xf2)]&&_0x3fddc9[_0x2e1823(0x15b)](_0x5bd7dd['id'],_0x5bd7dd[_0x2e1823(0xf2)]),_0x5bd7dd[_0x2e1823(0x298)]&&_0x3fddc9['setLabelFilterInfo'](_0x5bd7dd['id'],_0x5bd7dd[_0x2e1823(0x298)]),_0x5bd7dd['displayName']&&_0x3fddc9['renameField'](_0x5bd7dd['id'],_0x5bd7dd[_0x2e1823(0x111)]));}for(const _0x1041e6 of _0x5b776e){const _0x1406e9=_0x304c54[_0x1041e6];_0x1406e9&&_0x3fddc9[_0x2e1823(0x2f3)](_0x1406e9[_0x2e1823(0x2bb)])&&(_0x3fddc9['addFieldWithSourceId'](_0x1406e9[_0x2e1823(0x2bb)],_0x57ab52[_0x2e1823(0x2b4)]['Value'],void 0x0,_0x1041e6),_0x1406e9[_0x2e1823(0x2b6)]!==void 0x0&&_0x3fddc9[_0x2e1823(0x1f5)](_0x1041e6,_0x1406e9[_0x2e1823(0x2b6)]),_0x1406e9[_0x2e1823(0x273)]&&_0x3fddc9['setFieldFormat'](_0x1041e6,_0x1406e9['format']),_0x1406e9[_0x2e1823(0x111)]&&_0x3fddc9[_0x2e1823(0x1ce)](_0x1406e9['id'],_0x1406e9[_0x2e1823(0x111)]));}const _0x1fc1ac=_0x38174b[_0x2e1823(0x28f)];for(const {fieldId:_0xca6d0e,filterInfo:_0x476911}of _0x1fc1ac)_0x3fddc9[_0x2e1823(0xb4)](_0xca6d0e,_0x476911);}function _0x47f80f(_0x485d2f,_0x53bb74){const _0x13b938=_0x1ce260,_0x463042=[];_0x53bb74===_0x57ab52['PivotTableFiledAreaEnum'][_0x13b938(0x1cb)]&&_0x485d2f[_0x13b938(0x18b)](_0x57ab52[_0x13b938(0x2b4)][_0x13b938(0x1cb)],_0x22e727=>{const _0x360ed6=_0x13b938;_0x463042[_0x360ed6(0x33e)](_0x22e727[_0x360ed6(0xb6)]());}),_0x53bb74===_0x57ab52[_0x13b938(0x2b4)][_0x13b938(0xf3)]&&_0x485d2f['iterateFieldByArea'](_0x57ab52['PivotTableFiledAreaEnum'][_0x13b938(0xf3)],_0x44719d=>{const _0xde1357=_0x13b938;_0x463042[_0xde1357(0x33e)](_0x44719d[_0xde1357(0xb6)]());}),_0x53bb74===_0x57ab52[_0x13b938(0x2b4)][_0x13b938(0x1a4)]&&_0x485d2f[_0x13b938(0x18b)](_0x57ab52['PivotTableFiledAreaEnum'][_0x13b938(0x1a4)],_0x5c008c=>{const _0x25e539=_0x13b938;_0x463042[_0x25e539(0x33e)](_0x5c008c[_0x25e539(0xb6)]());}),_0x53bb74===_0x57ab52[_0x13b938(0x2b4)][_0x13b938(0xe7)]&&_0x485d2f[_0x13b938(0x18b)](_0x57ab52[_0x13b938(0x2b4)][_0x13b938(0xe7)],_0x53894e=>{const _0x2a2611=_0x13b938;_0x463042['push'](_0x53894e[_0x2a2611(0xb6)]());}),_0x53bb74===void 0x0&&_0x485d2f[_0x13b938(0x200)](_0x41b3a4=>{const _0x519a6d=_0x13b938;_0x463042['push'](_0x41b3a4[_0x519a6d(0xb6)]());});const _0x1fd82c=_0x463042[_0x13b938(0xac)];for(let _0xaf6640=_0x1fd82c-0x1;_0xaf6640>=0x0;_0xaf6640--)_0x485d2f[_0x13b938(0x123)](_0x463042[_0xaf6640]);const _0x33d7d1=_0x485d2f[_0x13b938(0x34f)]();for(const _0x285d0f in _0x33d7d1)_0x485d2f[_0x13b938(0x1ff)](_0x285d0f);}function _0x34be33(_0xc11801,_0x4706c2){const _0x36c6aa=_0x1ce260,_0x114b02=new Date(_0x57ab52[_0x36c6aa(0xe6)](_0x4706c2)),_0x231760=new Date(_0x57ab52[_0x36c6aa(0xe6)](_0xc11801)),_0x11f577=_0x114b02[_0x36c6aa(0x9b)](),_0x2c9bf7=_0x231760[_0x36c6aa(0x9b)](),_0x2cca80=_0x114b02[_0x36c6aa(0xd5)](),_0x12b81e=_0x231760[_0x36c6aa(0xd5)](),_0x38dd24=_0x114b02['getDate'](),_0x5d4889=_0x231760['getDate'](),_0x4cbd4a=_0x11f577===_0x2c9bf7,_0x5cca2d=_0x4cbd4a&&_0x2cca80===_0x12b81e;return _0x4cbd4a&&_0x5cca2d&&!(_0x5cca2d&&_0x38dd24===_0x5d4889)?_0x57ab52['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x4cbd4a&&!_0x5cca2d?_0x57ab52[_0x36c6aa(0x214)]['YearMonth']:_0x57ab52['PivotDateGroupFieldDateTypeEnum'][_0x36c6aa(0x30e)];}function _0x3fca01(_0x125d95,_0x4f3ac5){const _0x6b7798=_0x1ce260,_0xcf28eb=_0x125d95['get'](_0x2436f3[_0x6b7798(0x24f)])['getTextInfo']();let _0x29450c='';switch(_0x4f3ac5){case _0x57ab52[_0x6b7798(0x214)][_0x6b7798(0x2c6)]:_0x29450c=_0xcf28eb[_0x6b7798(0x30c)];break;case _0x57ab52[_0x6b7798(0x214)]['YearMonth']:_0x29450c=_0xcf28eb[_0x6b7798(0x219)];break;case _0x57ab52[_0x6b7798(0x214)][_0x6b7798(0x30e)]:_0x29450c=_0xcf28eb[_0x6b7798(0x389)];break;case _0x57ab52[_0x6b7798(0x214)][_0x6b7798(0x31c)]:_0x29450c=_0xcf28eb[_0x6b7798(0x2d3)];break;case _0x57ab52['PivotDateGroupFieldDateTypeEnum'][_0x6b7798(0x171)]:_0x29450c=_0xcf28eb[_0x6b7798(0x2ae)];break;case _0x57ab52[_0x6b7798(0x214)][_0x6b7798(0x26c)]:_0x29450c=_0xcf28eb['sheets-pivot.dateGroup.date'];break;case _0x57ab52['PivotDateGroupFieldDateTypeEnum']['HourMinute']:_0x29450c=_0xcf28eb[_0x6b7798(0xc8)];break;case _0x57ab52['PivotDateGroupFieldDateTypeEnum'][_0x6b7798(0x210)]:_0x29450c=_0xcf28eb[_0x6b7798(0x1ef)];break;case _0x57ab52['PivotDateGroupFieldDateTypeEnum'][_0x6b7798(0x115)]:_0x29450c=_0xcf28eb[_0x6b7798(0x25b)];break;case _0x57ab52['PivotDateGroupFieldDateTypeEnum'][_0x6b7798(0x199)]:_0x29450c=_0xcf28eb[_0x6b7798(0x2af)];break;case _0x57ab52[_0x6b7798(0x214)][_0x6b7798(0x394)]:_0x29450c=_0xcf28eb[_0x6b7798(0x2e3)];break;default:_0x29450c='';break;}return _0x29450c;}const _0x2e2cbd=_0x1ce260(0x14d),_0x281e26={};var _0x577f3d=Object[_0x1ce260(0x125)],_0x2ff37b=(_0x67258a,_0x46348d,_0x1cd564,_0x5737b4)=>{const _0x5be422=_0x1ce260;for(var _0xd5b24c=_0x5737b4>0x1?void 0x0:_0x5737b4?_0x577f3d(_0x46348d,_0x1cd564):_0x46348d,_0x31df82=_0x67258a[_0x5be422(0xac)]-0x1,_0xee5e2e;_0x31df82>=0x0;_0x31df82--)(_0xee5e2e=_0x67258a[_0x31df82])&&(_0xd5b24c=_0xee5e2e(_0xd5b24c)||_0xd5b24c);return _0xd5b24c;},_0x12d6fc=(_0x35371b,_0x5dc296)=>(_0x5ca109,_0x39ef1e)=>_0x5dc296(_0x5ca109,_0x39ef1e,_0x35371b);_0x2436f3['SheetsPivotTableConfigModel']=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x354551,_0x3ee4a8,_0x32a4f7,_0x1176f2,_0x4e4f2e){const _0x2cf7bd=_0x1ce260;super(),_0x3b8258(this,'_model',new Map()),_0x3b8258(this,_0x2cf7bd(0x311),new Map()),_0x3b8258(this,_0x2cf7bd(0x2a6),new Map()),_0x3b8258(this,_0x2cf7bd(0x155),new Map()),_0x3b8258(this,'_configVersion$',new _0x367f13['Subject']()),_0x3b8258(this,_0x2cf7bd(0x361),new _0x367f13[(_0x2cf7bd(0x1b9))]()),_0x3b8258(this,'pivotInitCompleted$',this['_pivotInitCompleted$']['asObservable']()),_0x3b8258(this,_0x2cf7bd(0x1ca),new _0x367f13[(_0x2cf7bd(0x1b9))]()),_0x3b8258(this,_0x2cf7bd(0x362),this[_0x2cf7bd(0x1ca)]['asObservable']()),_0x3b8258(this,_0x2cf7bd(0xaa),{}),_0x3b8258(this,_0x2cf7bd(0x21c),this['_configVersion$'][_0x2cf7bd(0x301)]()),(this[_0x2cf7bd(0x137)]=_0x354551,this['_commandService']=_0x3ee4a8,this[_0x2cf7bd(0x22f)]=_0x32a4f7,this[_0x2cf7bd(0x1f7)]=_0x1176f2,this[_0x2cf7bd(0x30d)]=_0x4e4f2e,this['_initLocale'](),this[_0x2cf7bd(0x1e7)]());const _0x5eecbc=this[_0x2cf7bd(0x30d)]['getConfig'](_0x2e2cbd);(_0x5eecbc==null?void 0x0:_0x5eecbc[_0x2cf7bd(0x186)])===!0x0&&this[_0x2cf7bd(0x19d)]();}[_0x1ce260(0x1e7)](){const _0x1c103d=_0x1ce260;this[_0x1c103d(0x206)](this[_0x1c103d(0x22f)][_0x1c103d(0x35c)](_0x2ea6dc[_0x1c103d(0x2de)]['UNIVER_SHEET'])[_0x1c103d(0xeb)](_0x423c28=>{const _0x44c94e=_0x1c103d;this[_0x44c94e(0x99)](_0x423c28[_0x44c94e(0x392)]());}));}[_0x1ce260(0xdb)](){const _0x3b6b99=_0x1ce260;this[_0x3b6b99(0x361)][_0x3b6b99(0x37a)](!0x0);}[_0x1ce260(0x139)](){const _0x1d3562=_0x1ce260,_0x4ffca1=_0x1f685a(this[_0x1d3562(0x137)],_0x277381,'',{});this[_0x1d3562(0xaa)]=_0x4ffca1,this[_0x1d3562(0x307)]['executeCommand'](_0x2dd529['id'],{'textInfo':_0x4ffca1},{'onlyLocal':!0x0});}['getTextInfo'](){const _0xe47e1e=_0x1ce260;return this[_0xe47e1e(0xaa)];}['updateViewInfo'](_0x214aba,_0x39bebc,_0x45485a,_0x2720f7,_0x5d7274){const _0x4d10de=_0x1ce260;this[_0x4d10de(0xd2)](_0x214aba,_0x39bebc,_0x45485a,_0x2720f7),this[_0x4d10de(0x117)](_0x214aba,_0x39bebc,_0x45485a,_0x5d7274);}[_0x1ce260(0x384)](_0x344a83,_0x10c20e,_0x1be345){const _0x4f244c=_0x1ce260;var _0x4075a7;const _0x626355=(_0x4075a7=this['_model']['get'](_0x344a83))==null?void 0x0:_0x4075a7[_0x4f244c(0x15f)](_0x10c20e);if(_0x626355)return _0x626355[_0x4f244c(0x15f)](_0x1be345);}['getTargetByPivotTableId'](_0x38a567,_0x1a2474){const _0x3f68af=_0x1ce260,_0x3d5300=this[_0x3f68af(0x1af)][_0x3f68af(0x15f)](_0x38a567);if(_0x3d5300){for(const [_0x2469e8,_0x28ace0]of _0x3d5300[_0x3f68af(0x339)]())for(const [_0x3c0b5c,_0x169178]of _0x28ace0[_0x3f68af(0x339)]())if(_0x3c0b5c===_0x1a2474)return _0x169178[_0x3f68af(0x127)];}}[_0x1ce260(0x1e2)](_0x12f8ad,_0x5810f8,_0x67d3c3){const _0x1a32c9=_0x1ce260,_0x23e173=this[_0x1a32c9(0x384)](_0x12f8ad,_0x5810f8,_0x67d3c3);return _0x23e173==null?void 0x0:_0x23e173[_0x1a32c9(0x127)];}[_0x1ce260(0x323)](_0x243439,_0x3170cf){const _0x2f1620=_0x1ce260;var _0x273524;return(_0x273524=this[_0x2f1620(0x1af)][_0x2f1620(0x15f)](_0x243439))==null?void 0x0:_0x273524[_0x2f1620(0x15f)](_0x3170cf);}['updateConfigCache'](_0x2f4957,_0xe2ff71,_0x44081a,_0x43d6ae){const _0x2d83e6=_0x1ce260,_0x272c28=this[_0x2d83e6(0x192)](_0x2f4957,_0xe2ff71);_0x43d6ae?_0x272c28[_0x2d83e6(0x28c)](_0x44081a,_0x43d6ae):_0x272c28[_0x2d83e6(0x109)](_0x44081a),this[_0x2d83e6(0x1ca)][_0x2d83e6(0x37a)]({'unitId':_0x2f4957,'subUnitId':_0xe2ff71,'pivotTableId':_0x44081a,'pivotTableConfig':_0x43d6ae});}[_0x1ce260(0x95)](_0x1a437e,_0x25482c){const _0x5dd609=_0x1ce260;var _0x39240f;return(_0x39240f=this[_0x5dd609(0x311)][_0x5dd609(0x15f)](_0x1a437e))==null?void 0x0:_0x39240f[_0x5dd609(0x15e)][_0x25482c];}[_0x1ce260(0x350)](_0x27119d,_0x1dfdf4){const _0x528a14=_0x1ce260;this[_0x528a14(0x311)]['set'](_0x27119d,_0x1dfdf4),this[_0x528a14(0x35b)][_0x528a14(0x37a)](Math[_0x528a14(0x3a9)]());}[_0x1ce260(0x192)](_0x5cc908,_0x124a1b){const _0x1f54f9=_0x1ce260;let _0x2968bc=this['_model'][_0x1f54f9(0x15f)](_0x5cc908);_0x2968bc||(_0x2968bc=new Map(),this[_0x1f54f9(0x1af)]['set'](_0x5cc908,_0x2968bc));let _0x5e2980=_0x2968bc[_0x1f54f9(0x15f)](_0x124a1b);return _0x5e2980||(_0x5e2980=new Map(),_0x2968bc[_0x1f54f9(0x28c)](_0x124a1b,_0x5e2980)),_0x5e2980;}[_0x1ce260(0xae)](_0x56d8ca,_0x55e3aa){const _0x8f75f3=_0x1ce260;let _0x43685b=this[_0x8f75f3(0x2a6)]['get'](_0x56d8ca);_0x43685b||(_0x43685b=new Map(),this[_0x8f75f3(0x2a6)][_0x8f75f3(0x28c)](_0x56d8ca,_0x43685b));let _0x432a19=_0x43685b[_0x8f75f3(0x15f)](_0x55e3aa);return _0x432a19||(_0x432a19=new Map(),_0x43685b[_0x8f75f3(0x28c)](_0x55e3aa,_0x432a19)),_0x432a19;}[_0x1ce260(0x104)](_0x4b7032,_0x3aa6f1){const _0x9b8dc5=_0x1ce260;let _0x286315=this['_pivotTableMatrixInfo']['get'](_0x4b7032);_0x286315||(_0x286315=new Map(),this['_pivotTableMatrixInfo'][_0x9b8dc5(0x28c)](_0x4b7032,_0x286315));let _0x3b8393=_0x286315[_0x9b8dc5(0x15f)](_0x3aa6f1);return _0x3b8393||(_0x3b8393=new Map(),_0x286315[_0x9b8dc5(0x28c)](_0x3aa6f1,_0x3b8393)),_0x3b8393;}['updatePivotTableRangeInfo'](_0x30a652,_0x66e4bc,_0x21aebc,_0x4f0ad1){const _0x5da062=_0x1ce260;var _0x174c3e;const _0xd4b573=this['_ensurePivotTableRangeInfo'](_0x30a652,_0x66e4bc),_0x597407=(_0x174c3e=_0xd4b573[_0x5da062(0x15f)](_0x21aebc))==null?void 0x0:_0x174c3e['oldRangeInfo'];_0xd4b573[_0x5da062(0x28c)](_0x21aebc,{'oldRangeInfo':_0x597407,'rangeInfo':_0x4f0ad1});}[_0x1ce260(0xd2)](_0x1b8464,_0x369f93,_0x16ed5a,_0x58321a){const _0x24931f=_0x1ce260;var _0x3e1380;const _0x1e8bb3=this[_0x24931f(0x104)](_0x1b8464,_0x369f93),_0x3d9d10=(_0x3e1380=_0x1e8bb3[_0x24931f(0x15f)](_0x16ed5a))==null?void 0x0:_0x3e1380['oldMatrix'];_0x1e8bb3['set'](_0x16ed5a,{'oldMatrix':_0x3d9d10,'matrix':_0x58321a});}['getPivotTableRangeInfo'](_0x1c36bd,_0x514209,_0x160ca7){const _0x2e1234=_0x1ce260;var _0x23686f,_0x531ab1;return(_0x531ab1=(_0x23686f=this['_pivotTableRangeInfo'][_0x2e1234(0x15f)](_0x1c36bd))==null?void 0x0:_0x23686f[_0x2e1234(0x15f)](_0x514209))==null?void 0x0:_0x531ab1[_0x2e1234(0x15f)](_0x160ca7);}[_0x1ce260(0x116)](_0x977757,_0x5ea1fd,_0x39b81d){const _0x1b4e00=_0x1ce260;var _0x48fefb,_0x10c4a8;return(_0x10c4a8=(_0x48fefb=this[_0x1b4e00(0x155)]['get'](_0x977757))==null?void 0x0:_0x48fefb[_0x1b4e00(0x15f)](_0x5ea1fd))==null?void 0x0:_0x10c4a8[_0x1b4e00(0x15f)](_0x39b81d);}[_0x1ce260(0x99)](_0x5cf4e1){const _0x416d35=_0x1ce260;this[_0x416d35(0x1af)][_0x416d35(0x109)](_0x5cf4e1),this[_0x416d35(0x311)][_0x416d35(0x109)](_0x5cf4e1);}[_0x1ce260(0x15c)](_0x90ab46){const _0x474c4b=_0x1ce260,_0x5e3270={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x474c4b(0x311)][_0x474c4b(0x15f)](_0x90ab46)&&(_0x5e3270[_0x474c4b(0x2ad)][_0x90ab46]=this[_0x474c4b(0x311)][_0x474c4b(0x15f)](_0x90ab46)),this['_model'][_0x474c4b(0x15f)](_0x90ab46)){_0x5e3270[_0x474c4b(0x372)][_0x90ab46]={};const _0x3caaee=this['_model'][_0x474c4b(0x15f)](_0x90ab46);_0x3caaee!=null&&_0x3caaee[_0x474c4b(0x1a8)]&&[..._0x3caaee[_0x474c4b(0x249)]()][_0x474c4b(0xe5)](_0x33495f=>{const _0x13464b=_0x474c4b,_0x3400b0=_0x3caaee['get'](_0x33495f);_0x3400b0!=null&&_0x3400b0[_0x13464b(0x1a8)]&&(_0x5e3270['pivotTableConfigs'][_0x90ab46][_0x33495f]={},[..._0x3400b0[_0x13464b(0x249)]()][_0x13464b(0xe5)](_0x316e31=>{const _0xb52aa=_0x13464b,_0x287691=_0x3400b0[_0xb52aa(0x15f)](_0x316e31);_0x287691&&(_0x5e3270[_0xb52aa(0x372)][_0x90ab46][_0x33495f][_0x316e31]=_0x287691);}));});}return _0x5e3270;}[_0x1ce260(0x19d)](){const _0xc5fccf=_0x1ce260;this[_0xc5fccf(0x206)](this['_resourceManagerService'][_0xc5fccf(0x33c)]({'toJson':_0x1ae7b9=>JSON[_0xc5fccf(0x23e)](this['_toJSON'](_0x1ae7b9)),'parseJson':_0x26b383=>({}),'businesses':[_0x2ea6dc[_0xc5fccf(0x2de)]['UNIVER_SHEET']],'pluginName':_0x5cfcb5,'onLoad':(_0x5a4d1c,_0x3a0f6b)=>{},'onUnLoad':_0x1b460a=>{const _0x4d020b=_0xc5fccf;this[_0x4d020b(0x99)](_0x1b460a);}}));}},_0x2436f3[_0x1ce260(0xc2)]=_0x2ff37b([_0x12d6fc(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x175)])),_0x12d6fc(0x1,_0x2ea6dc['Inject'](_0x2ea6dc[_0x1ce260(0x15a)])),_0x12d6fc(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x2f6)])),_0x12d6fc(0x3,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x2d6)])),_0x12d6fc(0x4,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x228)]))],_0x2436f3[_0x1ce260(0xc2)]);var _0x758815=Object[_0x1ce260(0x125)],_0x38c530=(_0x302537,_0x57ced7,_0x4b2f77,_0x12e373)=>{for(var _0x5d72a9=_0x12e373>0x1?void 0x0:_0x12e373?_0x758815(_0x57ced7,_0x4b2f77):_0x57ced7,_0x2988fc=_0x302537['length']-0x1,_0x5b0eef;_0x2988fc>=0x0;_0x2988fc--)(_0x5b0eef=_0x302537[_0x2988fc])&&(_0x5d72a9=_0x5b0eef(_0x5d72a9)||_0x5d72a9);return _0x5d72a9;},_0x235701=(_0x41739c,_0x41c8ac)=>(_0x6dfa5b,_0xb8df8)=>_0x41c8ac(_0x6dfa5b,_0xb8df8,_0x41739c);_0x2436f3['SheetsPivotTableAdaptorModel']=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x146ab5,_0x1d5b9a,_0x4aea5e,_0x13d4a2,_0x4bb12e){const _0xae1aee=_0x1ce260;super(),_0x3b8258(this,_0xae1aee(0x2b1),new Map()),_0x3b8258(this,_0xae1aee(0x130),new Map()),_0x3b8258(this,'_markDirty$',new _0x367f13['Subject']()),_0x3b8258(this,'markDirty$',this[_0xae1aee(0x202)][_0xae1aee(0x301)]()),_0x3b8258(this,_0xae1aee(0x38d),new _0x367f13[(_0xae1aee(0x1b9))]()),_0x3b8258(this,_0xae1aee(0x342),this[_0xae1aee(0x38d)]['asObservable']()),_0x3b8258(this,_0xae1aee(0xaa)),(this['_localeService']=_0x146ab5,this[_0xae1aee(0x137)]=_0x1d5b9a,this[_0xae1aee(0x128)]=_0x4aea5e,this[_0xae1aee(0x22f)]=_0x13d4a2,this[_0xae1aee(0x370)]=_0x4bb12e,this[_0xae1aee(0x139)](),this[_0xae1aee(0x1e7)]());}[_0x1ce260(0x1e7)](){const _0x35a792=_0x1ce260;this[_0x35a792(0x206)](this['_univerInstanceService'][_0x35a792(0x35c)](_0x2ea6dc['UniverInstanceType'][_0x35a792(0x3aa)])['subscribe'](_0x1bc0ba=>{const _0x2c178d=_0x35a792;this['deleteUnitId'](_0x1bc0ba[_0x2c178d(0x392)]());}));}[_0x1ce260(0x139)](){const _0x36a3ef=_0x1ce260;this[_0x36a3ef(0xaa)]=_0x1f685a(this[_0x36a3ef(0x137)],_0x277381,'',{});}[_0x1ce260(0x240)](_0x434ed4){const _0x102107=_0x1ce260,{view:_0x45c566,unitId:_0x42d35d,subUnitId:_0x558804,pivotTableId:_0x23e224,type:_0x3fe315}=_0x434ed4,_0x526666=this['_sheetsPivotTableConfigModel'][_0x102107(0x384)](_0x42d35d,_0x558804,_0x23e224);if(!_0x45c566||!_0x526666||_0x3fe315===_0x2b397e[_0x102107(0x154)])return;const {pageView:_0x5516a2,cornerView:_0xbca24e,rowView:_0x36c474,colView:_0x32ea48,dataView:_0x3cfffd}=_0x45c566,_0x37b9d5=_0x526666[_0x102107(0x127)],_0x1134ac=_0x526666['isEmpty'],_0x54e91e=this[_0x102107(0xec)](_0x42d35d,_0x558804),_0x5bcd34=this[_0x102107(0x164)](_0x42d35d,_0x558804,_0x23e224);if(_0x1134ac)return this[_0x102107(0x21d)](_0x434ed4,_0x54e91e,_0x37b9d5,_0x5bcd34);{const _0x56854e=_0x216f0f(_0x37b9d5,_0x5516a2,!0x0),_0xf3f883=_0x5516a2[_0x102107(0x1c1)]>=0x0?_0x5516a2[_0x102107(0x1c1)]+0x1:0x0,_0x17d67b=_0xbca24e['getRowCount'](),_0x337169=_0xbca24e[_0x102107(0x197)](),_0x3cbe36=_0x56854e[_0x102107(0xac)]>0x0?_0x306f25:0x0,_0x343580=_0x216f0f({'row':_0x37b9d5[_0x102107(0x2f1)]+_0xf3f883+_0x3cbe36,'col':_0x37b9d5[_0x102107(0x261)]},_0xbca24e,!0x1,!0x1),_0x327924=_0x216f0f({'row':_0x37b9d5[_0x102107(0x2f1)]+_0xf3f883+_0x3cbe36+_0x17d67b,'col':_0x37b9d5['col']},_0x36c474,!0x1,!0x0),_0xc40b08=_0x216f0f({'row':_0x37b9d5[_0x102107(0x2f1)]+_0xf3f883+_0x3cbe36,'col':_0x37b9d5[_0x102107(0x261)]+_0x337169},_0x32ea48,!0x1,!0x0),_0x54ac8d=_0x216f0f({'row':_0x37b9d5[_0x102107(0x2f1)]+_0xf3f883+_0x3cbe36+_0x17d67b,'col':_0x37b9d5[_0x102107(0x261)]+_0x337169},_0x3cfffd,!0x1,!0x1);_0x5bcd34['rangesInfo']={'rowRanges':_0x327924,'colRanges':_0xc40b08,'cornerRanges':_0x343580,'dataRanges':_0x54ac8d,'pageRanges':_0x56854e};const _0x1f8d63=_0x2b24b3(this[_0x102107(0x137)],_0x45c566,_0x526666,this[_0x102107(0xaa)]),{valueMatrix:_0x42e9dd,rowInfo:_0x35ad2d,colInfo:_0x39e774,cornerInfo:_0x4b06e7,rowHeaderMap:_0x5290f0,colHeaderMap:_0xfad292}=_0x1f8d63;return _0x5bcd34[_0x102107(0x32b)]={'rowInfo':_0x35ad2d,'colInfo':_0x39e774,'cornerInfo':_0x4b06e7},_0x5bcd34[_0x102107(0xa8)]={'rowHeaderMap':_0x5290f0,'colHeaderMap':_0xfad292},_0x42e9dd[_0x102107(0xe5)]((_0x17c162,_0x1070f1)=>{const _0x1ec61e=_0x102107;Object[_0x1ec61e(0x249)](_0x1070f1)[_0x1ec61e(0xe5)](_0x44d49a=>{const _0xc636b5=+_0x44d49a,_0x1e6388=_0x42e9dd['getValue'](_0x17c162,_0xc636b5);_0x54e91e['setValue'](_0x17c162,_0xc636b5,_0x1e6388);});}),this['_viewUpdate$'][_0x102107(0x37a)]({'unitId':_0x42d35d,'subUnitId':_0x558804,'valueMatrix':_0x54e91e,'rangesCache':_0x5bcd34[_0x102107(0x152)],'pivotTableId':_0x23e224,'type':_0x434ed4['type']}),this['_sheetsPivotTableConfigModel'][_0x102107(0xa5)](_0x42d35d,_0x558804,_0x23e224,_0x54e91e,_0x5bcd34[_0x102107(0x152)]),this[_0x102107(0x370)][_0x102107(0x24e)](_0x42d35d,_0x558804,_0x2cbf70,this[_0x102107(0x251)](_0x5bcd34[_0x102107(0x152)],_0x23e224)),{'rangeCache':_0x5bcd34['rangesInfo'],'matrix':_0x54e91e};}}[_0x1ce260(0x21d)](_0x458246,_0x316d40,_0x4763a0,_0x3f4af1){const _0x15f3e4=_0x1ce260,_0x575afe=this[_0x15f3e4(0x2ed)]['t'],{unitId:_0xf1c604,subUnitId:_0x53a011,pivotTableId:_0x3c76eb}=_0x458246,_0x37f34a={'filter':_0x575afe(_0x15f3e4(0xc0)),'row':_0x575afe(_0x15f3e4(0x3a1)),'column':_0x575afe('sheets-pivot.emptyPivot.column'),'values':_0x575afe(_0x15f3e4(0x263))},{matrixCache:_0x1bd662,rangesCache:_0x27bf42}=_0x1dbcd0(_0x37f34a,_0x4763a0);return _0x1bd662['forValue']((_0x2ec08f,_0x31f287,_0x5c706f)=>{const _0x2c3ec9=_0x15f3e4;_0x316d40[_0x2c3ec9(0x2cf)](_0x2ec08f,_0x31f287,_0x5c706f);}),_0x3f4af1[_0x15f3e4(0x152)]=_0x27bf42,this[_0x15f3e4(0x38d)][_0x15f3e4(0x37a)]({'unitId':_0xf1c604,'subUnitId':_0x53a011,'valueMatrix':_0x316d40,'rangesCache':_0x27bf42,'pivotTableId':_0x3c76eb,'type':_0x458246[_0x15f3e4(0x29d)],'isEmpty':!0x0}),this[_0x15f3e4(0x128)][_0x15f3e4(0xa5)](_0xf1c604,_0x53a011,_0x3c76eb,_0x316d40,_0x27bf42),this[_0x15f3e4(0x370)][_0x15f3e4(0x24e)](_0xf1c604,_0x53a011,_0x2cbf70,this[_0x15f3e4(0x251)](_0x27bf42,_0x3c76eb)),{'rangeCache':_0x3f4af1[_0x15f3e4(0x152)],'matrix':_0x316d40};}[_0x1ce260(0x251)](_0x1df302,_0x2c5ccb){const _0x35c24e=_0x1ce260,_0x2502c1=[],_0x393f57=_0x1ed362(_0x1df302);for(const _0x2dc570 of _0x393f57)_0x2502c1[_0x35c24e(0x33e)]({'groupId':_0x2c5ccb,'range':_0x2dc570});return _0x2502c1;}[_0x1ce260(0x31d)](_0x49f689){const _0x5809ee=_0x1ce260;var _0x4a7ad2,_0x30122e,_0x27efe1,_0x2b260e;const {pivotTableId:_0x1b79fc,unitId:_0x3c1d44,subUnitId:_0x62a45c}=_0x49f689;if(!_0x1b79fc||!_0x3c1d44||!_0x62a45c)return;const _0x52d27b=this[_0x5809ee(0xec)](_0x3c1d44,_0x62a45c),_0x3b999c=(_0x30122e=(_0x4a7ad2=this['_pivotRenderInfoCache'][_0x5809ee(0x15f)](_0x3c1d44))==null?void 0x0:_0x4a7ad2[_0x5809ee(0x15f)](_0x62a45c))==null?void 0x0:_0x30122e['get'](_0x1b79fc);if(_0x3b999c!=null&&_0x3b999c[_0x5809ee(0x152)]){for(const _0x13ad15 of Object[_0x5809ee(0x249)](_0x3b999c[_0x5809ee(0x152)]))_0x3b999c[_0x5809ee(0x152)][_0x13ad15][_0x5809ee(0xe5)](_0x4cfdb4=>{const _0x512325=_0x5809ee;for(let _0x1f82f4=_0x4cfdb4[_0x512325(0x348)];_0x1f82f4<=_0x4cfdb4[_0x512325(0x1c2)];_0x1f82f4++)for(let _0x293f3e=_0x4cfdb4['startColumn'];_0x293f3e<=_0x4cfdb4['endColumn'];_0x293f3e++)_0x52d27b[_0x512325(0x1cd)](_0x1f82f4,_0x293f3e);});}_0x3b999c&&((_0x2b260e=(_0x27efe1=this[_0x5809ee(0x2b1)][_0x5809ee(0x15f)](_0x3c1d44))==null?void 0x0:_0x27efe1['get'](_0x62a45c))==null||_0x2b260e[_0x5809ee(0x109)](_0x1b79fc)),this[_0x5809ee(0x38d)]['next']({'unitId':_0x3c1d44,'subUnitId':_0x62a45c,'valueMatrix':_0x52d27b,'pivotTableId':_0x1b79fc,'rangesCache':void 0x0,'type':_0x49f689[_0x5809ee(0x29d)]}),this['_exclusiveRangeService'][_0x5809ee(0x3b0)](_0x3c1d44,_0x62a45c,_0x2cbf70,_0x1b79fc);}[_0x1ce260(0x164)](_0x1a7947,_0x18d8b9,_0x359d1c){const _0xcfec28=_0x1ce260;var _0x5899d4,_0x539039,_0x316098,_0x18afff,_0x10ff9b,_0x1498d8;return this[_0xcfec28(0x2b1)][_0xcfec28(0x2e4)](_0x1a7947)||this[_0xcfec28(0x2b1)]['set'](_0x1a7947,new Map()),(_0x5899d4=this[_0xcfec28(0x2b1)][_0xcfec28(0x15f)](_0x1a7947))!=null&&_0x5899d4['has'](_0x18d8b9)||(_0x539039=this[_0xcfec28(0x2b1)]['get'](_0x1a7947))==null||_0x539039['set'](_0x18d8b9,new Map()),(_0x18afff=(_0x316098=this[_0xcfec28(0x2b1)][_0xcfec28(0x15f)](_0x1a7947))==null?void 0x0:_0x316098[_0xcfec28(0x15f)](_0x18d8b9))!=null&&_0x18afff[_0xcfec28(0x2e4)](_0x359d1c)||(_0x1498d8=(_0x10ff9b=this[_0xcfec28(0x2b1)]['get'](_0x1a7947))==null?void 0x0:_0x10ff9b[_0xcfec28(0x15f)](_0x18d8b9))==null||_0x1498d8[_0xcfec28(0x28c)](_0x359d1c,{}),this['_pivotRenderInfoCache'][_0xcfec28(0x15f)](_0x1a7947)[_0xcfec28(0x15f)](_0x18d8b9)[_0xcfec28(0x15f)](_0x359d1c);}[_0x1ce260(0xec)](_0x53796b,_0x3240ad){const _0x5bfba0=_0x1ce260;var _0x58dae9,_0x1c1af0;return this[_0x5bfba0(0x130)]['has'](_0x53796b)||this[_0x5bfba0(0x130)]['set'](_0x53796b,new Map()),(_0x58dae9=this[_0x5bfba0(0x130)][_0x5bfba0(0x15f)](_0x53796b))!=null&&_0x58dae9[_0x5bfba0(0x2e4)](_0x3240ad)||(_0x1c1af0=this[_0x5bfba0(0x130)][_0x5bfba0(0x15f)](_0x53796b))==null||_0x1c1af0[_0x5bfba0(0x28c)](_0x3240ad,new _0x2ea6dc[(_0x5bfba0(0x136))]()),this[_0x5bfba0(0x130)]['get'](_0x53796b)[_0x5bfba0(0x15f)](_0x3240ad);}[_0x1ce260(0x2cd)](_0x4a7d12,_0x395af2,_0x5bfde7,_0x4343c7){const _0x49a67f=_0x1ce260;var _0x3e29f7,_0x1402e0;const _0x5828ba=(_0x1402e0=(_0x3e29f7=this['_pivotRenderValueMatrixCache'][_0x49a67f(0x15f)](_0x4a7d12))==null?void 0x0:_0x3e29f7[_0x49a67f(0x15f)](_0x395af2))==null?void 0x0:_0x1402e0['getValue'](_0x5bfde7,_0x4343c7);if(_0x5828ba!=null)return _0x5828ba;}[_0x1ce260(0x103)](_0x20a04d,_0x130ec9,_0x279901,_0x12fb0e){const _0x1df3bf=_0x1ce260;var _0x4d61a8;const _0x493491=_0x2ea6dc['cellToRange'](_0x279901,_0x12fb0e),_0x29770a=(_0x4d61a8=this['_pivotRenderInfoCache'][_0x1df3bf(0x15f)](_0x20a04d))==null?void 0x0:_0x4d61a8['get'](_0x130ec9);return _0x29770a?Array['from'](_0x29770a[_0x1df3bf(0x249)]())[_0x1df3bf(0x3b1)](_0x497565=>{const _0x2bd217=_0x1df3bf,_0x2c3a75=_0x29770a[_0x2bd217(0x15f)](_0x497565),_0xf0c411=_0x2c3a75==null?void 0x0:_0x2c3a75[_0x2bd217(0x152)];return _0xf0c411?Object[_0x2bd217(0x249)](_0xf0c411)[_0x2bd217(0x1c8)](_0x3fdd7d=>_0xf0c411[_0x3fdd7d][_0x2bd217(0x1c8)](_0x53958e=>_0x2ea6dc[_0x2bd217(0x196)][_0x2bd217(0xef)](_0x53958e,_0x493491))):!0x1;}):void 0x0;}[_0x1ce260(0x35d)](_0x45f7fe,_0x436249,_0x1839fc){const _0x27d26f=_0x1ce260;var _0x5a17f9;const _0x1630e8=(_0x5a17f9=this[_0x27d26f(0x2b1)][_0x27d26f(0x15f)](_0x45f7fe))==null?void 0x0:_0x5a17f9[_0x27d26f(0x15f)](_0x436249),_0x1c0ae6=[];return _0x1630e8&&Array[_0x27d26f(0x37e)](_0x1630e8[_0x27d26f(0x249)]())['forEach'](_0x50f6c8=>{const _0x4ac0f8=_0x27d26f,_0x3c64b3=_0x1630e8[_0x4ac0f8(0x15f)](_0x50f6c8),_0x3739de=_0x3c64b3==null?void 0x0:_0x3c64b3[_0x4ac0f8(0x152)];if(_0x3739de)for(const _0x364671 of Object['values'](_0x3739de)){let _0x540577=!0x1;for(const _0x5b0a97 of _0x364671)if(_0x2ea6dc[_0x4ac0f8(0x196)][_0x4ac0f8(0x1f0)](_0x5b0a97,_0x1839fc)){_0x1c0ae6[_0x4ac0f8(0x33e)](_0x50f6c8),_0x540577=!0x0;break;}if(_0x540577)break;}}),_0x1c0ae6;}[_0x1ce260(0x33d)](_0x2aae05,_0x2ae414){const _0xaeee23=_0x1ce260;var _0x53e0b5,_0x5cf649;return(_0x5cf649=(_0x53e0b5=this[_0xaeee23(0x130)][_0xaeee23(0x15f)](_0x2aae05))==null?void 0x0:_0x53e0b5[_0xaeee23(0x15f)](_0x2ae414))!=null?_0x5cf649:new _0x2ea6dc[(_0xaeee23(0x136))]();}[_0x1ce260(0x24b)](_0x429bc6,_0x3a272d){const _0x3f92f5=_0x1ce260;var _0x3cc109;return(_0x3cc109=this[_0x3f92f5(0x2b1)][_0x3f92f5(0x15f)](_0x429bc6))==null?void 0x0:_0x3cc109['get'](_0x3a272d);}[_0x1ce260(0x36c)](_0xe956b3,_0x424a4d,_0x6d43e2){const _0x2db2cf=_0x1ce260;var _0x29a470,_0x585c6a;return(_0x585c6a=(_0x29a470=this[_0x2db2cf(0x2b1)][_0x2db2cf(0x15f)](_0xe956b3))==null?void 0x0:_0x29a470[_0x2db2cf(0x15f)](_0x424a4d))==null?void 0x0:_0x585c6a[_0x2db2cf(0x15f)](_0x6d43e2);}[_0x1ce260(0x99)](_0x56a566){const _0x1a9104=_0x1ce260;this['_pivotRenderInfoCache']['delete'](_0x56a566),this[_0x1a9104(0x130)][_0x1a9104(0x109)](_0x56a566);}[_0x1ce260(0x1d8)](_0x5e15d2,_0x48c7d1){const _0x580dc7=_0x1ce260;this[_0x580dc7(0x202)]['next']({'unitId':_0x5e15d2,'subUnitId':_0x48c7d1});}},_0x2436f3[_0x1ce260(0x190)]=_0x38c530([_0x235701(0x0,_0x2ea6dc['Inject'](_0x2ea6dc[_0x1ce260(0x19f)])),_0x235701(0x1,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x175)])),_0x235701(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3[_0x1ce260(0xc2)])),_0x235701(0x3,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x2f6)])),_0x235701(0x4,_0x2ea6dc[_0x1ce260(0x305)](_0x54cce1[_0x1ce260(0x189)]))],_0x2436f3[_0x1ce260(0x190)]);var _0x45ff70=Object['getOwnPropertyDescriptor'],_0x3da17c=(_0x1f2a14,_0x2935e2,_0x54d6a3,_0x26f38b)=>{for(var _0x21d703=_0x26f38b>0x1?void 0x0:_0x26f38b?_0x45ff70(_0x2935e2,_0x54d6a3):_0x2935e2,_0x9f8163=_0x1f2a14['length']-0x1,_0x19049a;_0x9f8163>=0x0;_0x9f8163--)(_0x19049a=_0x1f2a14[_0x9f8163])&&(_0x21d703=_0x19049a(_0x21d703)||_0x21d703);return _0x21d703;},_0x321232=(_0x39eda0,_0x1adeab)=>(_0x26d5c3,_0x5a94bb)=>_0x1adeab(_0x26d5c3,_0x5a94bb,_0x39eda0);_0x2436f3[_0x1ce260(0x358)]=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x425f2b,_0x534b8b){const _0x25e88f=_0x1ce260;super(),_0x3b8258(this,_0x25e88f(0x23d),new _0x2ea6dc['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x59935c})),_0x3b8258(this,_0x25e88f(0xcf),new _0x2ea6dc[(_0x25e88f(0x393))]({'PIVOT_MUTATION_GENERATE':_0x208d29})),(this[_0x25e88f(0x94)]=_0x425f2b,this[_0x25e88f(0x21f)]=_0x534b8b,this['_init']());}[_0x1ce260(0x100)](){const _0x507469=_0x1ce260;this[_0x507469(0x191)]();}[_0x1ce260(0x336)](_0x11e32b){const _0x202331=_0x1ce260;return this[_0x202331(0x23d)]['fetchThroughAsyncInterceptors'](_0x59935c)(!0x1,_0x11e32b);}['_initViewModelBySheetInterceptor'](){const _0x2b4955=_0x1ce260;this['disposeWithMe'](this[_0x2b4955(0x94)][_0x2b4955(0x1e9)](_0x54cce1[_0x2b4955(0x360)][_0x2b4955(0x135)],{'priority':0xc8,'effect':_0x2ea6dc['InterceptorEffectEnum'][_0x2b4955(0xe7)]|_0x2ea6dc[_0x2b4955(0x1e3)][_0x2b4955(0x16c)],'handler':(_0x31b829,_0x148f71,_0x4e7933)=>{const _0x316638=_0x2b4955,{row:_0x15872e,col:_0x463d0b,unitId:_0x2a5f4e,subUnitId:_0x5ecd53,workbook:_0x3c730d}=_0x148f71,_0x268b2e=this[_0x316638(0x21f)][_0x316638(0x2cd)](_0x2a5f4e,_0x5ecd53,_0x15872e,_0x463d0b);if(!_0x268b2e)return _0x4e7933(_0x31b829);const _0xcf2aa1={..._0x31b829};(_0x268b2e['v']||_0x268b2e['v']===0x0)&&(_0xcf2aa1['v']=_0x268b2e['v']),_0x268b2e['t']&&(_0xcf2aa1['t']=_0x268b2e['t']);const _0x33d237=(typeof(_0x31b829==null?void 0x0:_0x31b829['s'])==_0x316638(0xb0)?_0x3c730d[_0x316638(0x119)]()[_0x316638(0x15f)](_0x31b829==null?void 0x0:_0x31b829['s']):_0x31b829==null?void 0x0:_0x31b829['s'])||{},_0x3e5404=_0x3c730d[_0x316638(0x119)]()['get'](_0x268b2e['s']),_0x56922b={..._0x3e5404,..._0x33d237};_0x3e5404!=null&&_0x3e5404['n']&&(_0x56922b['n']=_0x3e5404['n']);const _0xd38501=_0x3c730d[_0x316638(0x119)]()[_0x316638(0x2cf)](_0x56922b);return _0xcf2aa1['s']=_0xd38501,(_0x268b2e['pbt']===_0x57ab52[_0x316638(0x36e)][_0x316638(0xfe)]||_0x268b2e[_0x316638(0xbe)]===_0x57ab52['PivotCellStyleTypeEnum'][_0x316638(0xa3)])&&(_0xcf2aa1['fontRenderExtension']={},_0xcf2aa1[_0x316638(0x36d)][_0x316638(0x2e1)]=_0x301afc),_0x4e7933(_0xcf2aa1);}}));}},_0x2436f3[_0x1ce260(0x358)]=_0x3da17c([_0x321232(0x0,_0x2ea6dc['Inject'](_0x54cce1[_0x1ce260(0x2c4)])),_0x321232(0x1,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3[_0x1ce260(0x190)]))],_0x2436f3['SheetsPivotTableService']);const _0x34d22b={'id':'sheet.mutation.add-group-collection','type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'handler':(_0x50f4c6,_0x10c66f)=>{const _0x54227c=_0x1ce260;if(!_0x10c66f)return!0x1;if(!!_0x50f4c6[_0x54227c(0x15f)](_0x2ea6dc[_0x54227c(0x228)])[_0x54227c(0x236)](_0x44d37f))return!0x0;const {pivotTableId:_0x3cc44b,fieldJSON:_0x25ff6b,unitId:_0x598243,subUnitId:_0x25bef3}=_0x10c66f;let _0x204495;const {dataFieldType:_0x1905dd,id:_0x5bafc5,name:_0x59ba29,hexCode:_0x147e9f,originalFieldId:_0x2786aa}=_0x25ff6b;if(_0x1905dd===_0x57ab52[_0x54227c(0x185)][_0x54227c(0x22c)]&&(_0x204495=new _0x57ab52[(_0x54227c(0x193))](_0x5bafc5,_0x59ba29,_0x147e9f,_0x2786aa)),!_0x204495)return!0x1;const _0x1e2ee9=_0x50f4c6[_0x54227c(0x15f)](_0x2436f3['SheetsPivotDataSourceModel']),_0x26f1c0=_0x1e2ee9['getDataFieldManager'](_0x598243),_0x4951ce=_0x26f1c0[_0x54227c(0x95)](_0x3cc44b);_0x26f1c0[_0x54227c(0x2fc)](_0x204495),_0x4951ce[_0x54227c(0x11a)](_0x204495[_0x54227c(0xb6)](),_0x204495[_0x54227c(0x37d)]());const _0x5bc358=_0x4951ce[_0x54227c(0x300)](_0x204495[_0x54227c(0x220)]());_0x5bc358&&_0x204495['refreshGroupField'](_0x5bc358);const _0x5847d3=_0x1e2ee9[_0x54227c(0x384)](_0x598243,_0x25bef3,_0x3cc44b);return _0x1e2ee9[_0x54227c(0x32a)]({'unitId':_0x598243,'subUnitId':_0x25bef3,'token':_0x3cc44b,'type':_0x2b397e[_0x54227c(0x2e9)],'pivotConfig':_0x5847d3}),!0x0;}},_0x4b2bb7={'id':_0x1ce260(0x1b7),'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'handler':(_0x1bc7fa,_0x52ca54)=>{const _0x1c7f07=_0x1ce260;if(!_0x52ca54)return!0x1;if(!!_0x1bc7fa[_0x1c7f07(0x15f)](_0x2ea6dc[_0x1c7f07(0x228)])[_0x1c7f07(0x236)](_0x44d37f))return!0x0;const {pivotTableId:_0x3d2cf5,dataFieldId:_0x3dafc1,unitId:_0x5d7eb7,subUnitId:_0x4cdb29}=_0x52ca54,_0x24b000=_0x1bc7fa[_0x1c7f07(0x15f)](_0x2436f3['SheetsPivotDataSourceModel']),_0x333576=_0x24b000[_0x1c7f07(0x121)](_0x5d7eb7);_0x333576[_0x1c7f07(0x95)](_0x3d2cf5)['deleteField'](_0x3dafc1);let _0x223a91=!0x0;for(const _0x300fb4 in _0x333576[_0x1c7f07(0x15e)])if(_0x333576[_0x1c7f07(0x15e)][_0x300fb4]['getFieldIds']()[_0x1c7f07(0x290)](_0x3dafc1)){_0x223a91=!0x1;break;}_0x223a91&&_0x333576[_0x1c7f07(0x1a6)](_0x3dafc1);const _0x9bb974=_0x24b000[_0x1c7f07(0x384)](_0x5d7eb7,_0x4cdb29,_0x3d2cf5);return _0x24b000[_0x1c7f07(0x32a)]({'unitId':_0x5d7eb7,'subUnitId':_0x4cdb29,'token':_0x3d2cf5,'type':_0x2b397e[_0x1c7f07(0x2e9)],'pivotConfig':_0x9bb974}),!0x0;}};function _0x264489(_0x3fd3bc,_0x3c463b){const _0x476ad9=_0x1ce260;switch(_0x3c463b){case _0x57ab52[_0x476ad9(0x2b4)]['Value']:return _0x3fd3bc[_0x476ad9(0x165)];case _0x57ab52[_0x476ad9(0x2b4)][_0x476ad9(0x1a4)]:return _0x3fd3bc[_0x476ad9(0x335)];case _0x57ab52[_0x476ad9(0x2b4)][_0x476ad9(0x1cb)]:return _0x3fd3bc[_0x476ad9(0x20a)];case _0x57ab52[_0x476ad9(0x2b4)][_0x476ad9(0xf3)]:return _0x3fd3bc[_0x476ad9(0x2fd)];default:return[];}}function _0xe810d6(_0x112fab,_0x105f53){const _0x2b3a40=_0x1ce260;return _0x112fab[_0x2b3a40(0x344)][_0x105f53]||_0x112fab[_0x2b3a40(0xaf)][_0x105f53];}function _0x3d923c(_0x3ae391,_0x239493){const _0x2845c0=_0x1ce260,{area:_0x3f469f,fieldJson:_0x37a80a,index:_0x29ac72}=_0x239493;_0x3f469f===_0x57ab52['PivotTableFiledAreaEnum'][_0x2845c0(0xe7)]?_0x3ae391[_0x2845c0(0x344)][_0x37a80a['id']]=_0x37a80a:_0x3ae391[_0x2845c0(0xaf)][_0x37a80a['id']]=_0x37a80a,_0x264489(_0x3ae391,_0x3f469f)[_0x2845c0(0x3a0)](_0x29ac72,0x0,_0x37a80a['id']);}function _0x52e18e(_0x2f75e4,_0x1233c5){const _0x4001d6=_0x1ce260,{area:_0x1ee98c,fieldId:_0x3eefed,index:_0x53c51d}=_0x1233c5;_0x1ee98c===_0x57ab52[_0x4001d6(0x2b4)][_0x4001d6(0xe7)]?delete _0x2f75e4[_0x4001d6(0x344)][_0x3eefed]:delete _0x2f75e4['dimension'][_0x3eefed],_0x264489(_0x2f75e4,_0x1ee98c)[_0x4001d6(0x3a0)](_0x53c51d,0x1);}function _0xaeffac(_0xb89f47,_0x3301a1){const _0x184b92=_0x1ce260,{fieldId:_0x481db3,name:_0x1cda81}=_0x3301a1,_0x37fe84=_0xe810d6(_0xb89f47,_0x481db3);_0x37fe84&&(_0x37fe84[_0x184b92(0x111)]=_0x1cda81);}function _0x259848(_0xdcf4f9,_0xf6931b){const _0x397ecf=_0x1ce260,{fieldId:_0x192c09,collapse:_0x2aea73,item:_0xcd17ca}=_0xf6931b;_0xcd17ca!==void 0x0?(_0xdcf4f9[_0x397ecf(0x395)][_0x192c09]=_0xdcf4f9[_0x397ecf(0x395)][_0x192c09]||{},_0xdcf4f9[_0x397ecf(0x395)][_0x192c09][_0xcd17ca]=_0x2aea73):_0xdcf4f9[_0x397ecf(0x395)][_0x192c09]=_0x2aea73;}function _0x5146c8(_0x17c949,_0x138ecb){const _0x4f9866=_0x1ce260,{fieldId:_0x175a81,format:_0x3a47d5}=_0x138ecb,_0x5d6898=_0xe810d6(_0x17c949,_0x175a81);_0x5d6898&&(_0x5d6898[_0x4f9866(0x273)]=_0x3a47d5);}function _0x49b9a8(_0x5a6e72,_0x80765d){const _0x4d25ba=_0x1ce260,{fieldId:_0x1afbd5,filterInfo:_0xb11290}=_0x80765d,_0x41b3a6=_0xe810d6(_0x5a6e72,_0x1afbd5);_0x41b3a6&&(_0x41b3a6[_0x4d25ba(0x298)]=_0xb11290);}function _0x3e5d55(_0x3e1ea8,_0x2a6703){const _0x321f02=_0x1ce260,{fieldId:_0x45f939,filterInfo:_0x3503b9}=_0x2a6703,_0x14fdcf=_0x3e1ea8[_0x321f02(0x28f)][_0x321f02(0x18e)](_0x34f5fc=>_0x34f5fc[_0x321f02(0x2a5)]!==_0x45f939);_0x3503b9&&_0x14fdcf[_0x321f02(0x33e)]({'fieldId':_0x45f939,'filterInfo':_0x3503b9}),_0x3e1ea8[_0x321f02(0x28f)]=_0x14fdcf;}function _0x40ec84(_0x429047,_0x421edd){const _0x1cdcbe=_0x1ce260,{fieldId:_0x57d3ec,subtotalType:_0x3d32fc}=_0x421edd,_0x3be819=_0xe810d6(_0x429047,_0x57d3ec);_0x3be819&&(_0x3be819[_0x1cdcbe(0x2b6)]=_0x3d32fc);}function _0x446894(_0x4c2b8a,_0x926976){const _0x2427ad=_0x1ce260,{fieldId:_0x426417,oldArea:_0x3dd3ec,area:_0x2ab3bb,oldIndex:_0x5ddcc6,index:_0xe28946}=_0x926976,_0x2bc6a1=_0x3dd3ec!==_0x57ab52[_0x2427ad(0x2b4)][_0x2427ad(0xe7)]&&_0x2ab3bb===_0x57ab52['PivotTableFiledAreaEnum'][_0x2427ad(0xe7)],_0x332f08=_0x3dd3ec===_0x57ab52[_0x2427ad(0x2b4)][_0x2427ad(0xe7)]&&_0x2ab3bb!==_0x57ab52[_0x2427ad(0x2b4)][_0x2427ad(0xe7)];if(_0x2bc6a1||_0x332f08){const _0x3c0a0c=_0xe810d6(_0x4c2b8a,_0x426417);_0x3c0a0c&&(_0x2bc6a1?(delete _0x4c2b8a['dimension'][_0x426417],_0x4c2b8a[_0x2427ad(0x344)][_0x426417]=_0x3c0a0c):(delete _0x4c2b8a[_0x2427ad(0x344)][_0x426417],_0x4c2b8a[_0x2427ad(0xaf)][_0x426417]=_0x3c0a0c));}const _0x5e4db7=_0x264489(_0x4c2b8a,_0x3dd3ec),_0x4c80fe=_0x264489(_0x4c2b8a,_0x2ab3bb);_0x5e4db7[_0x2427ad(0x3a0)](_0x5ddcc6,0x1),_0x4c80fe['splice'](_0xe28946,0x0,_0x426417);}function _0x1ac7b6(_0x534ce0,_0xa1b650){const _0x7e438e=_0x1ce260,{valuePosition:_0x399240,index:_0x62eb0d}=_0xa1b650;_0x534ce0[_0x7e438e(0x24a)]=_0x399240,_0x534ce0[_0x7e438e(0x356)]=_0x62eb0d;}function _0x5ddf97(_0x5a0063,_0x4b430b){const _0x457f3d=_0x1ce260,{tableFieldId:_0x51d52c,sourceName:_0x4a2848,dataFieldId:_0x50c026}=_0x4b430b,_0x3fb32b=_0xe810d6(_0x5a0063,_0x51d52c);_0x3fb32b&&(_0x3fb32b[_0x457f3d(0x1bb)]=_0x4a2848,_0x3fb32b[_0x457f3d(0x2bb)]=_0x50c026);}function _0xc0ed21(_0x52ba7f,_0x43cf20){const {fieldId:_0x2c5252,sortInfo:_0x58ff21}=_0x43cf20,_0x15a822=_0xe810d6(_0x52ba7f,_0x2c5252);_0x15a822&&(_0x15a822['sortInfo']=_0x58ff21);}function _0x1cca65(_0x5712d9,_0x1fb579){const _0x36e1e2=_0x1ce260,{options:_0x57e0ec}=_0x1fb579;_0x5712d9[_0x36e1e2(0x1f6)]={..._0x5712d9['options'],..._0x57e0ec};}const _0x828f={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x2ff),'handler'(_0x9f2fbe,_0xf30b1a){const _0x1e36bd=_0x1ce260;if(!_0xf30b1a)return!0x1;if(!!_0x9f2fbe[_0x1e36bd(0x15f)](_0x2ea6dc[_0x1e36bd(0x228)])[_0x1e36bd(0x236)](_0x44d37f))return!0x0;const _0x5e58b9=_0x9f2fbe['get'](_0x2436f3['SheetsPivotDataSourceModel']),{pivotTableId:_0x112fbe,fieldJson:_0x21fecc,area:_0x1cff86,index:_0x18f041,unitId:_0x49ab85,subUnitId:_0x59c5c4}=_0xf30b1a,_0x2a0f05=_0x5e58b9['getPivotTableInstance'](_0x112fbe);if(!_0x2a0f05)return!0x1;let _0x462b5f;_0x1cff86===_0x57ab52[_0x1e36bd(0x2b4)][_0x1e36bd(0xe7)]?_0x462b5f=_0x57ab52[_0x1e36bd(0x256)](_0x21fecc):_0x462b5f=_0x57ab52['createLabelField'](_0x21fecc),_0x2a0f05[_0x1e36bd(0x11a)](_0x462b5f,_0x1cff86,_0x18f041);const _0x4eff3e=_0x5e58b9[_0x1e36bd(0x327)](_0x49ab85,_0x59c5c4,_0x112fbe);_0x3d923c(_0x4eff3e,_0xf30b1a);const _0x16e872=_0x5e58b9[_0x1e36bd(0x384)](_0x49ab85,_0x59c5c4,_0x112fbe);return _0x5e58b9['addDirtyPivotTable']({'unitId':_0x49ab85,'subUnitId':_0x59c5c4,'token':_0x112fbe,'type':_0x2b397e[_0x1e36bd(0x2e9)],'pivotConfig':_0x16e872}),!0x0;}},_0x179e77={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x4ba03e,_0x5c6278){const _0x322a65=_0x1ce260;if(!_0x5c6278)return!0x1;if(!!_0x4ba03e[_0x322a65(0x15f)](_0x2ea6dc['IConfigService'])[_0x322a65(0x236)](_0x44d37f))return!0x0;const _0x2d13f6=_0x4ba03e['get'](_0x2436f3[_0x322a65(0x24f)]),{pivotTableId:_0x1cfe08,fieldId:_0xc3d711,unitId:_0x6af7a4,subUnitId:_0x599c2c}=_0x5c6278,_0x7aeeb=_0x2d13f6[_0x322a65(0x376)](_0x1cfe08);if(!_0x7aeeb)return!0x1;_0x7aeeb['removeField'](_0xc3d711);const _0x149413=_0x2d13f6['getPivotTableModelConfig'](_0x6af7a4,_0x599c2c,_0x1cfe08);_0x52e18e(_0x149413,_0x5c6278);const _0x37b024=_0x2d13f6['getPivotTableConfig'](_0x6af7a4,_0x599c2c,_0x1cfe08);return _0x2d13f6[_0x322a65(0x32a)]({'unitId':_0x6af7a4,'subUnitId':_0x599c2c,'token':_0x1cfe08,'type':_0x2b397e[_0x322a65(0x2e9)],'pivotConfig':_0x37b024}),!0x0;}},_0x14f44c={'type':_0x2ea6dc[_0x1ce260(0x2cc)]['MUTATION'],'id':_0x1ce260(0x180),'handler'(_0x512ae3,_0x43af80){const _0x16a668=_0x1ce260;if(!_0x43af80)return!0x1;if(!!_0x512ae3['get'](_0x2ea6dc[_0x16a668(0x228)])[_0x16a668(0x236)](_0x44d37f))return!0x0;const _0x57d16f=_0x512ae3[_0x16a668(0x15f)](_0x2436f3[_0x16a668(0x24f)]),{unitId:_0x436b87,subUnitId:_0x20b5b1,pivotTableId:_0x106869,fieldId:_0x52d1c0,name:_0x2aa61b}=_0x43af80,_0x2d5aa3=_0x57d16f[_0x16a668(0x376)](_0x106869);if(!_0x2d5aa3)return!0x1;_0x2d5aa3[_0x16a668(0x1ce)](_0x52d1c0,_0x2aa61b);const _0x438aec=_0x57d16f[_0x16a668(0x327)](_0x436b87,_0x20b5b1,_0x106869);return _0xaeffac(_0x438aec,_0x43af80),_0x57d16f['addDirtyPivotTable']({'unitId':_0x436b87,'subUnitId':_0x20b5b1,'token':_0x106869,'type':_0x2b397e[_0x16a668(0x2e9)]}),!0x0;}},_0x1e0965={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x2ad206,_0x4d145b){const _0x2f44f1=_0x1ce260;if(!_0x4d145b)return!0x1;if(!!_0x2ad206[_0x2f44f1(0x15f)](_0x2ea6dc[_0x2f44f1(0x228)])[_0x2f44f1(0x236)](_0x44d37f))return!0x0;const _0x22769a=_0x2ad206[_0x2f44f1(0x15f)](_0x2436f3[_0x2f44f1(0x24f)]),{unitId:_0x5440c3,subUnitId:_0x355b82,pivotTableId:_0x45523d,fieldId:_0x220c7a,collapse:_0x5eb155,item:_0x2225f8}=_0x4d145b,_0x479117=_0x22769a[_0x2f44f1(0x376)](_0x45523d);if(!_0x479117)return!0x1;_0x479117['setCollapse'](_0x220c7a,_0x5eb155,_0x2225f8);const _0x1b1248=_0x22769a[_0x2f44f1(0x327)](_0x5440c3,_0x355b82,_0x45523d);return _0x259848(_0x1b1248,_0x4d145b),_0x22769a[_0x2f44f1(0x32a)]({'unitId':_0x5440c3,'subUnitId':_0x355b82,'token':_0x45523d,'type':_0x2b397e['Set']}),!0x0;}},_0x1585d5={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x34c),'handler'(_0x47b961,_0x30fa09){const _0xff58f3=_0x1ce260;if(!_0x30fa09)return!0x1;if(!!_0x47b961[_0xff58f3(0x15f)](_0x2ea6dc['IConfigService'])[_0xff58f3(0x236)](_0x44d37f))return!0x0;const _0xa4dfed=_0x47b961[_0xff58f3(0x15f)](_0x2436f3[_0xff58f3(0x24f)]),{unitId:_0x5e2d37,subUnitId:_0x36ca9b,pivotTableId:_0x48f301,fieldId:_0x3f876b,format:_0x2ed550}=_0x30fa09,_0x43635e=_0xa4dfed['getPivotTableInstance'](_0x48f301);if(!_0x43635e)return!0x1;_0x43635e[_0xff58f3(0x167)](_0x3f876b,_0x2ed550);const _0x132c8c=_0xa4dfed['getPivotTableModelConfig'](_0x5e2d37,_0x36ca9b,_0x48f301);return _0x5146c8(_0x132c8c,_0x30fa09),_0xa4dfed['addDirtyPivotTable']({'unitId':_0x5e2d37,'subUnitId':_0x36ca9b,'token':_0x48f301,'type':_0x2b397e[_0xff58f3(0x2e9)]}),!0x0;}},_0x885462={'type':_0x2ea6dc[_0x1ce260(0x2cc)]['MUTATION'],'id':_0x1ce260(0x2b3),'handler'(_0x5b3bf2,_0x5ab943){const _0x4182a7=_0x1ce260;if(!_0x5ab943)return!0x1;if(!!_0x5b3bf2[_0x4182a7(0x15f)](_0x2ea6dc[_0x4182a7(0x228)])['getConfig'](_0x44d37f))return!0x0;const _0x39fb66=_0x5b3bf2[_0x4182a7(0x15f)](_0x2436f3[_0x4182a7(0x24f)]),{unitId:_0x5b397d,subUnitId:_0x4e270c,pivotTableId:_0x2c9538,fieldId:_0x2e26b8,filterInfo:_0x5a08e7}=_0x5ab943,_0x48d3a5=_0x39fb66['getPivotTableInstance'](_0x2c9538);if(!_0x48d3a5)return!0x1;_0x48d3a5[_0x4182a7(0x34b)](_0x2e26b8,_0x5a08e7);const _0x113453=_0x39fb66['getPivotTableModelConfig'](_0x5b397d,_0x4e270c,_0x2c9538);return _0x49b9a8(_0x113453,_0x5ab943),_0x39fb66[_0x4182a7(0x32a)]({'unitId':_0x5b397d,'subUnitId':_0x4e270c,'token':_0x2c9538,'type':_0x2b397e[_0x4182a7(0x2e9)]}),!0x0;}},_0x4bdefb={'type':_0x2ea6dc[_0x1ce260(0x2cc)]['MUTATION'],'id':_0x1ce260(0x141),'handler'(_0x1bba5c,_0x373534){const _0x42b3ea=_0x1ce260;if(!_0x373534)return!0x1;if(!!_0x1bba5c['get'](_0x2ea6dc[_0x42b3ea(0x228)])['getConfig'](_0x44d37f))return!0x0;const _0x2d199e=_0x1bba5c[_0x42b3ea(0x15f)](_0x2436f3[_0x42b3ea(0x24f)]),{unitId:_0x4fa207,subUnitId:_0x160579,pivotTableId:_0xa98021,options:_0x2f8a8e}=_0x373534,_0x587d7b=_0x2d199e[_0x42b3ea(0x376)](_0xa98021);if(!_0x587d7b)return!0x1;_0x587d7b[_0x42b3ea(0x2c8)](_0x2f8a8e);const _0x29f4fc=_0x2d199e[_0x42b3ea(0x327)](_0x4fa207,_0x160579,_0xa98021);return _0x1cca65(_0x29f4fc,_0x373534),_0x2d199e[_0x42b3ea(0x32a)]({'unitId':_0x4fa207,'subUnitId':_0x160579,'token':_0xa98021,'type':_0x2b397e[_0x42b3ea(0x2e9)]}),!0x0;}},_0x171e75={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x38c),'handler'(_0x2c6038,_0x33549d){const _0x492b2f=_0x1ce260;if(!_0x33549d)return!0x1;if(!!_0x2c6038[_0x492b2f(0x15f)](_0x2ea6dc[_0x492b2f(0x228)])[_0x492b2f(0x236)](_0x44d37f))return!0x0;const _0x2356c8=_0x2c6038[_0x492b2f(0x15f)](_0x2436f3[_0x492b2f(0x24f)]),{unitId:_0x3dfb70,subUnitId:_0x25a244,pivotTableId:_0x1c8a14,sortInfo:_0x4ce27c,fieldId:_0x59358c}=_0x33549d,_0x101be1=_0x2356c8[_0x492b2f(0x376)](_0x1c8a14);if(!_0x101be1)return!0x1;_0x101be1[_0x492b2f(0x15b)](_0x59358c,_0x4ce27c);const _0x37f6e0=_0x2356c8[_0x492b2f(0x327)](_0x3dfb70,_0x25a244,_0x1c8a14);return _0xc0ed21(_0x37f6e0,_0x33549d),_0x2356c8['addDirtyPivotTable']({'unitId':_0x3dfb70,'subUnitId':_0x25a244,'token':_0x1c8a14,'type':_0x2b397e[_0x492b2f(0x2e9)]}),!0x0;}},_0x398643={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x338),'handler'(_0x2fa6a0,_0x2cb6de){const _0x5d45f2=_0x1ce260;if(!_0x2cb6de)return!0x1;if(!!_0x2fa6a0[_0x5d45f2(0x15f)](_0x2ea6dc[_0x5d45f2(0x228)])['getConfig'](_0x44d37f))return!0x0;const _0x4e6673=_0x2fa6a0[_0x5d45f2(0x15f)](_0x2436f3[_0x5d45f2(0x24f)]),{unitId:_0x83663a,subUnitId:_0xfb20fe,pivotTableId:_0xfab11,fieldId:_0xea8dca,subtotalType:_0x348f74}=_0x2cb6de,_0x5788d6=_0x4e6673[_0x5d45f2(0x376)](_0xfab11);if(!_0x5788d6)return!0x1;_0x5788d6[_0x5d45f2(0x1f5)](_0xea8dca,_0x348f74);const _0xb3d07a=_0x4e6673['getPivotTableModelConfig'](_0x83663a,_0xfb20fe,_0xfab11);return _0x40ec84(_0xb3d07a,_0x2cb6de),_0x4e6673['addDirtyPivotTable']({'unitId':_0x83663a,'subUnitId':_0xfb20fe,'token':_0xfab11,'type':_0x2b397e['Set']}),!0x0;}},_0x5b61c6={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x3c8458,_0x3dbf13){const _0x312dd6=_0x1ce260;if(!_0x3dbf13)return!0x1;if(!!_0x3c8458[_0x312dd6(0x15f)](_0x2ea6dc[_0x312dd6(0x228)])[_0x312dd6(0x236)](_0x44d37f))return!0x0;const _0x3ddf5e=_0x3c8458[_0x312dd6(0x15f)](_0x2436f3[_0x312dd6(0x24f)]),{unitId:_0x3d944d,subUnitId:_0x3fd741,pivotTableId:_0x2b2376,fieldId:_0x3a75bf,filterInfo:_0x368ea3}=_0x3dbf13,_0x4e1874=_0x3ddf5e[_0x312dd6(0x376)](_0x2b2376);if(!_0x4e1874)return!0x1;_0x4e1874[_0x312dd6(0xb4)](_0x3a75bf,_0x368ea3);const _0x32ce13=_0x3ddf5e[_0x312dd6(0x327)](_0x3d944d,_0x3fd741,_0x2b2376);return _0x3e5d55(_0x32ce13,_0x3dbf13),_0x3ddf5e['addDirtyPivotTable']({'unitId':_0x3d944d,'subUnitId':_0x3fd741,'token':_0x2b2376,'type':_0x2b397e[_0x312dd6(0x2e9)]}),!0x0;}},_0x576746={'type':_0x2ea6dc['CommandType']['MUTATION'],'id':_0x1ce260(0xb9),'handler'(_0x10a048,_0x268fcd){const _0x4d8be4=_0x1ce260;if(!_0x268fcd)return!0x1;if(!!_0x10a048[_0x4d8be4(0x15f)](_0x2ea6dc['IConfigService'])['getConfig'](_0x44d37f))return!0x0;const _0x5b5334=_0x10a048[_0x4d8be4(0x15f)](_0x2436f3[_0x4d8be4(0x24f)]),{unitId:_0x413a7e,subUnitId:_0x517f01,pivotTableId:_0x90646f,area:_0x1abc6d,index:_0x4713ff,fieldId:_0x145ea4}=_0x268fcd,_0x30e6dd=_0x5b5334[_0x4d8be4(0x376)](_0x90646f);if(!_0x30e6dd)return!0x1;_0x30e6dd[_0x4d8be4(0x1c3)](_0x145ea4,_0x1abc6d,_0x4713ff);const _0x556fa2=_0x5b5334['getPivotTableModelConfig'](_0x413a7e,_0x517f01,_0x90646f);return _0x446894(_0x556fa2,_0x268fcd),_0x5b5334[_0x4d8be4(0x32a)]({'unitId':_0x413a7e,'subUnitId':_0x517f01,'token':_0x90646f,'type':_0x2b397e[_0x4d8be4(0x2e9)]}),!0x0;}},_0x2fc136={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x3fdd0c,_0x24078f){const _0x46d576=_0x1ce260;if(!_0x24078f)return!0x1;if(!!_0x3fdd0c[_0x46d576(0x15f)](_0x2ea6dc['IConfigService'])[_0x46d576(0x236)](_0x44d37f))return!0x0;const _0x2d5793=_0x3fdd0c[_0x46d576(0x15f)](_0x2436f3['SheetsPivotDataSourceModel']),{unitId:_0x49f09a,subUnitId:_0x1466ec,pivotTableId:_0x36a06e,sourceName:_0x10cc08,dataFieldId:_0x3aca8c,tableFieldId:_0x416be7}=_0x24078f,_0x303dea=_0x2d5793['getPivotTableInstance'](_0x36a06e);if(!_0x303dea)return!0x1;_0x303dea[_0x46d576(0x17c)](_0x416be7,_0x10cc08,_0x3aca8c);const _0x283d1a=_0x2d5793['getPivotTableModelConfig'](_0x49f09a,_0x1466ec,_0x36a06e);return _0x5ddf97(_0x283d1a,_0x24078f),_0x2d5793[_0x46d576(0x32a)]({'unitId':_0x49f09a,'subUnitId':_0x1466ec,'token':_0x36a06e,'type':_0x2b397e[_0x46d576(0x2e9)]}),!0x0;}},_0x4228c4={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x452617,_0x1757a5){const _0x166861=_0x1ce260;if(!_0x1757a5)return!0x1;if(!!_0x452617[_0x166861(0x15f)](_0x2ea6dc['IConfigService'])[_0x166861(0x236)](_0x44d37f))return!0x0;const _0x35d92a=_0x452617[_0x166861(0x15f)](_0x2436f3[_0x166861(0x24f)]),{unitId:_0x54494b,subUnitId:_0x58fdc4,pivotTableId:_0x1f664a,valuePosition:_0x3a1120,index:_0x1c9227}=_0x1757a5,_0x1eb0ca=_0x35d92a[_0x166861(0x376)](_0x1f664a);if(!_0x1eb0ca)return!0x1;_0x1eb0ca[_0x166861(0x375)](_0x3a1120,_0x1c9227);const _0x4d5d98=_0x35d92a[_0x166861(0x327)](_0x54494b,_0x58fdc4,_0x1f664a);return _0x1ac7b6(_0x4d5d98,_0x1757a5),_0x35d92a['addDirtyPivotTable']({'unitId':_0x54494b,'subUnitId':_0x58fdc4,'token':_0x1f664a,'type':_0x2b397e[_0x166861(0x2e9)]}),!0x0;}};function _0x169eff(_0x1f4fb0,_0x46a74a,_0x42141d){const _0x2431b5=_0x1ce260,{pivotTableId:_0x44fa04,unitId:_0x3fc37f,subUnitId:_0x50ca17}=_0x46a74a,_0x4ce73b=[],_0x275f49=[];for(const _0x39bc3b of _0x42141d)switch(_0x39bc3b[_0x2431b5(0x29d)]){case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x347)]:{const {fieldJson:_0x459da6,area:_0xd6d7e6,index:_0x280e91}=_0x39bc3b,_0x29701f={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldJson':_0x459da6,'area':_0xd6d7e6,'index':_0x280e91},_0x39be83={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x459da6['id'],'area':_0xd6d7e6,'index':_0x280e91};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x828f['id'],'params':_0x29701f}),_0x275f49[_0x2431b5(0x377)]({'id':_0x179e77['id'],'params':_0x39be83});}break;case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x363)]:{const {fieldId:_0x1d33bd,newSubtotalType:_0x1ee2ab,oldSubtotalType:_0x2e20a4}=_0x39bc3b,_0x2f2a3e={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x1d33bd,'subtotalType':_0x1ee2ab};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x398643['id'],'params':_0x2f2a3e});const _0x57aa71={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x1d33bd,'subtotalType':_0x2e20a4};_0x275f49['unshift']({'id':_0x398643['id'],'params':_0x57aa71});}break;case _0x57ab52[_0x2431b5(0x19b)]['RemoveField']:{const {fieldId:_0x32728b,fieldJson:_0x4684fe,area:_0x52bed1,index:_0x286cf0}=_0x39bc3b,_0x54ddca={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x32728b,'index':_0x286cf0,'area':_0x52bed1};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x179e77['id'],'params':_0x54ddca});const _0x390362={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldJson':_0x4684fe,'area':_0x52bed1,'index':_0x286cf0};_0x275f49[_0x2431b5(0x377)]({'id':_0x828f['id'],'params':_0x390362});}break;case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x385)]:{const {fieldId:_0x25f892,oldName:_0x2bb9fe,newName:_0x3e107f}=_0x39bc3b,_0x7bac31={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x25f892,'name':_0x3e107f};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x14f44c['id'],'params':_0x7bac31});const _0x9fa13a={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x25f892,'name':_0x2bb9fe};_0x275f49[_0x2431b5(0x377)]({'id':_0x14f44c['id'],'params':_0x9fa13a});}break;case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x324)]:{const {fieldId:_0x2951b2,oldFilterInfo:_0x3a7af1,newFilterInfo:_0x30f1eb}=_0x39bc3b,_0x267e23={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x2951b2,'filterInfo':_0x30f1eb};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x885462['id'],'params':_0x267e23});const _0x253252={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x2951b2,'filterInfo':_0x3a7af1};_0x275f49[_0x2431b5(0x377)]({'id':_0x885462['id'],'params':_0x253252});}break;case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x1b0)]:{const {fieldId:_0x4f3cc3,oldSortInfo:_0x268b45,newSortInfo:_0x18c2b3}=_0x39bc3b,_0x59b5e0={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x4f3cc3,'sortInfo':_0x18c2b3};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x171e75['id'],'params':_0x59b5e0});const _0x1d6ae7={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x4f3cc3,'sortInfo':_0x268b45};_0x275f49[_0x2431b5(0x377)]({'id':_0x171e75['id'],'params':_0x1d6ae7});}break;case _0x57ab52['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x312ff3,newOptions:_0x58ee1b}=_0x39bc3b,_0x378e60={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'options':_0x58ee1b};_0x4ce73b['push']({'id':_0x4bdefb['id'],'params':_0x378e60});const _0x11a962={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'options':_0x312ff3};_0x275f49[_0x2431b5(0x377)]({'id':_0x4bdefb['id'],'params':_0x11a962});}break;case _0x57ab52[_0x2431b5(0x19b)]['UpdateFieldPosition']:{const {oldArea:_0x1094d3,newArea:_0x92c734,oldIndex:_0x2fd2f4,newIndex:_0x13fd32,fieldId:_0x59f78d}=_0x39bc3b,_0x2155e9={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x59f78d,'area':_0x92c734,'index':_0x13fd32,'oldArea':_0x1094d3,'oldIndex':_0x2fd2f4};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x576746['id'],'params':_0x2155e9});const _0xc08ec2={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x59f78d,'area':_0x1094d3,'index':_0x2fd2f4,'oldArea':_0x92c734,'oldIndex':_0x13fd32};_0x275f49[_0x2431b5(0x377)]({'id':_0x576746['id'],'params':_0xc08ec2});}break;case _0x57ab52['PivotTableChangeTypeEnum'][_0x2431b5(0x1f4)]:{const {oldValuePosition:_0x442e7d,newValuePosition:_0x193f6b,oldIndex:_0x199aed,newIndex:_0x279ce8}=_0x39bc3b,_0x5641fd={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'valuePosition':_0x193f6b,'index':_0x279ce8};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x4228c4['id'],'params':_0x5641fd});const _0x3e941d={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'valuePosition':_0x442e7d,'index':_0x199aed};_0x275f49[_0x2431b5(0x377)]({'id':_0x4228c4['id'],'params':_0x3e941d});}break;case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x12c)]:{const {fieldId:_0x53da60,collapse:_0xb3a0bb,item:_0x5cae66}=_0x39bc3b,_0x5f5bad={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x53da60,'collapse':_0xb3a0bb,'item':_0x5cae66};_0x4ce73b['push']({'id':_0x1e0965['id'],'params':_0x5f5bad});const _0x321492={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x53da60,'collapse':!_0xb3a0bb,'item':_0x5cae66};_0x275f49[_0x2431b5(0x377)]({'id':_0x1e0965['id'],'params':_0x321492});}break;case _0x57ab52['PivotTableChangeTypeEnum'][_0x2431b5(0xdf)]:{const {newFormat:_0x15f480,oldFormat:_0x42ce87,fieldId:_0x204f0b}=_0x39bc3b,_0x39c85a={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x204f0b,'format':_0x15f480};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x1585d5['id'],'params':_0x39c85a});const _0x5c4c26={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x204f0b,'format':_0x42ce87};_0x275f49['unshift']({'id':_0x1585d5['id'],'params':_0x5c4c26});}break;case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x1a1)]:{const {tableFieldId:_0x3c463f,oldSourceName:_0x36d139,newSourceName:_0x1dd595,oldDataFieldId:_0x4914e9,newDataFieldId:_0x4a9a90}=_0x39bc3b,_0x66be4b={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'tableFieldId':_0x3c463f,'sourceName':_0x1dd595,'dataFieldId':_0x4a9a90};_0x4ce73b['push']({'id':_0x2fc136['id'],'params':_0x66be4b});const _0x25546d={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'tableFieldId':_0x3c463f,'sourceName':_0x36d139,'dataFieldId':_0x4914e9};_0x275f49['unshift']({'id':_0x2fc136['id'],'params':_0x25546d});}break;case _0x57ab52[_0x2431b5(0x19b)][_0x2431b5(0x34d)]:{const {fieldId:_0x2440a3,filterInfo:_0x331372,oldFilterInfo:_0x58315a}=_0x39bc3b,_0x2a1adc={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x2440a3,'filterInfo':_0x331372};_0x4ce73b[_0x2431b5(0x33e)]({'id':_0x5b61c6['id'],'params':_0x2a1adc});const _0x23aa83={'unitId':_0x3fc37f,'subUnitId':_0x50ca17,'pivotTableId':_0x44fa04,'fieldId':_0x2440a3,'filterInfo':_0x58315a};_0x275f49[_0x2431b5(0x377)]({'id':_0x5b61c6['id'],'params':_0x23aa83});}}return{'redos':_0x4ce73b,'undos':_0x275f49};}function _0x275086(_0xf5c2e8,_0x5ea950){const _0x542b8f=_0x1ce260;var _0x4aaeb8;const _0x2eaf6d=_0xf5c2e8['get'](_0x2436f3[_0x542b8f(0x358)]),{cellInfo:_0x1c0f43,view:_0xf66d26,isEmpty:_0x2a4f88}=_0x5ea950;return(_0x4aaeb8=_0x2eaf6d['interceptor'][_0x542b8f(0x357)](_0x208d29)(_0x3e091d,{'cellInfo':_0x1c0f43,'view':_0xf66d26,'isEmpty':_0x2a4f88}))!=null?_0x4aaeb8:_0x3e091d;}const _0x1952a8={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'id':_0x1ce260(0x12b),async 'handler'(_0x334bf8,_0x1816b4){const _0x4370a3=_0x1ce260;if(!_0x1816b4)return!0x1;const _0x27275b=_0x334bf8[_0x4370a3(0x15f)](_0x2ea6dc['ICommandService']),_0x2a8dc6=_0x334bf8[_0x4370a3(0x15f)](_0x2436f3['SheetsPivotRPCService']),_0x22f416=_0x334bf8[_0x4370a3(0x15f)](_0x2ea6dc[_0x4370a3(0x27e)]),{pivotTableId:_0x23f3bd,dataFieldId:_0x4654a9,fieldArea:_0x8ba092,index:_0x548fbf,unitId:_0x57caad,subUnitId:_0x36b524}=_0x1816b4,_0x70183f=(await _0x2a8dc6['getPivotDisplayConfig']({'unitId':_0x57caad,'subUnitId':_0x36b524,'pivotTableId':_0x23f3bd,'params':{'type':_0x27dde0[_0x4370a3(0x2bf)],'addPivotField':{'dataFieldId':_0x4654a9,'fieldArea':_0x8ba092,'index':_0x548fbf}}}))[_0x4370a3(0x325)][_0x4370a3(0x351)];if(!_0x70183f)return!0x1;const {view:_0x12cfd3,changesets:_0x254443,isEmpty:_0x3a04b7,pivotTableConfig:_0x379034,shouldBeAddedGroupJSON:_0x10dccf}=_0x70183f,_0x364ee6=_0x379034[_0x4370a3(0x127)],_0x1f24ba=new _0x57ab52['PivotView']();_0x1f24ba[_0x4370a3(0xc6)](_0x12cfd3);const _0x13a970={'cellInfo':_0x364ee6,'view':_0x1f24ba,'isEmpty':_0x3a04b7};if(!await _0x334bf8[_0x4370a3(0x15f)](_0x2436f3[_0x4370a3(0x358)])[_0x4370a3(0x23d)]['fetchThroughAsyncInterceptors'](_0x59935c)(!0x0,_0x13a970))return!0x1;const _0x402757=_0x53c4f4(_0x334bf8,_0x1f24ba,_0x364ee6,_0x3a04b7),_0x1c3e18=_0x275086(_0x334bf8,_0x13a970),{undos:_0x1a7f42,redos:_0x298bc2}=_0x169eff(_0x27275b,{'pivotTableId':_0x23f3bd,'unitId':_0x57caad,'subUnitId':_0x36b524},_0x254443);return _0x10dccf&&(_0x298bc2[_0x4370a3(0x377)]({'id':_0x34d22b['id'],'params':{'pivotTableId':_0x23f3bd,'fieldJSON':_0x10dccf,'unitId':_0x57caad,'subUnitId':_0x36b524}}),_0x1a7f42[_0x4370a3(0x33e)]({'id':_0x4b2bb7['id'],'params':{'pivotTableId':_0x23f3bd,'dataFieldId':_0x10dccf['id'],'unitId':_0x57caad,'subUnitId':_0x36b524}})),_0x2ea6dc['sequenceExecute']([..._0x402757[_0x4370a3(0x2f7)],..._0x1c3e18['redos'],..._0x298bc2],_0x27275b),_0x22f416[_0x4370a3(0x1b3)]({'unitID':_0x57caad,'redoMutations':[..._0x402757[_0x4370a3(0x2f7)],..._0x1c3e18[_0x4370a3(0x2f7)],..._0x298bc2],'undoMutations':[..._0x402757[_0x4370a3(0x316)],..._0x1c3e18[_0x4370a3(0x316)],..._0x1a7f42]}),!0x0;}},_0x2fe5ae=()=>typeof process<'u'&&process[_0x1ce260(0x1b8)]!=null&&process[_0x1ce260(0x1b8)][_0x1ce260(0x383)]!=null,_0xc0ae46={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x334),'handler'(_0x427960,_0x429df0){const _0x465149=_0x1ce260;var _0x15bf70;if(!_0x429df0)return!0x1;const _0x27e598=_0x427960[_0x465149(0x15f)](_0x2ea6dc['IConfigService']);if(!!_0x27e598[_0x465149(0x236)](_0x44d37f))return!0x0;const _0x251626=_0x427960[_0x465149(0x15f)](_0x2ea6dc[_0x465149(0x2f6)]),_0x5639eb=_0x427960[_0x465149(0x15f)](_0x2436f3[_0x465149(0x24f)]),{pivotTableId:_0x443291,pivotTableConfig:_0x11a502,collectionConfig:_0x3eb63b,unitId:_0x284a98,subUnitId:_0x4da1e5}=_0x429df0,{sourceRangeInfo:_0x484f09,fieldsConfig:_0x8c6ad3,targetCellInfo:_0x554826}=_0x11a502,_0x265198=_0x251626[_0x465149(0x2ec)](_0x284a98);if(!_0x265198||!_0x265198[_0x465149(0x12d)](_0x4da1e5))return!0x1;if(!_0x2fe5ae()){let _0x5b5f73=0x0;_0x265198[_0x465149(0x28a)]()[_0x465149(0xe5)](_0x4342fe=>{const _0x4e2b74=_0x465149;var _0x3e5c3b,_0x251b09;_0x5b5f73+=(_0x251b09=(_0x3e5c3b=_0x5639eb[_0x4e2b74(0x323)](_0x284a98,_0x4342fe[_0x4e2b74(0x1d1)]()))==null?void 0x0:_0x3e5c3b[_0x4e2b74(0x1a8)])!=null?_0x251b09:0x0;});const _0x3048f8=(_0x15bf70=_0x27e598['getConfig'](_0x260b68['LS_CONFIG_KEY']))!=null?_0x15bf70:{},{ls:_0x5ae225,pbk:_0x1e8eff}=_0x3048f8;if(!_0x1bba50(_0x5ae225,_0x1e8eff))throw new _0x2ea6dc['CustomCommandExecutionError']('limit\x20pivot');const _0x3ba76e=_0x2cff37(_0x547621,_0x5ae225,_0x1e8eff)[_0x465149(0x250)];if(_0x5b5f73>=_0x3ba76e)throw new _0x2ea6dc[(_0x465149(0x242))](_0x465149(0x131));}if(!_0x3eb63b||!_0x8c6ad3)return!0x1;const {collection:_0xe7931b,updateDataFieldList:_0x4957e5}=_0x5639eb[_0x465149(0x2e2)](_0x443291,_0x3eb63b,_0x484f09,_0x554826);_0x5639eb[_0x465149(0x264)](_0xe7931b,_0x4957e5,_0x484f09);const _0x270e4b=new _0x57ab52['PivotTable'](_0xe7931b,void 0x0,_0x443291);_0x270e4b[_0x465149(0x18f)](_0x8c6ad3);const _0x10eb2b=JSON[_0x465149(0x96)](JSON[_0x465149(0x23e)](_0x11a502));return _0x5639eb[_0x465149(0x178)](_0x284a98,_0x4da1e5,_0x443291,_0x270e4b,_0x10eb2b),_0x5639eb[_0x465149(0x32a)]({'unitId':_0x284a98,'subUnitId':_0x4da1e5,'token':_0x443291,'type':_0x2b397e[_0x465149(0x156)],'pivotConfig':_0x10eb2b}),!0x0;}},_0x3f97db={'type':_0x2ea6dc[_0x1ce260(0x2cc)]['COMMAND'],'id':_0x1ce260(0x9f),async 'handler'(_0x2e4482,_0x2e1225){const _0x55176f=_0x1ce260;if(!_0x2e1225)return!0x1;const {sourceDataInfo:_0x4d84de,pivotTableConfig:_0x49d36f}=_0x2e1225;if(!_0x4d84de||!_0x49d36f)return!0x1;const {unitId:_0x56fe2a,subUnitId:_0xc54a11,range:_0x122904}=_0x4d84de,_0x8d6473=_0x2e4482[_0x55176f(0x15f)](_0x2ea6dc['IUniverInstanceService']),_0x21f609=_0x2e4482[_0x55176f(0x15f)](_0x2436f3['SheetsPivotRPCService']),_0x518462=_0x2e4482[_0x55176f(0x15f)](_0x2ea6dc[_0x55176f(0x19f)]),_0x4d3039=_0x2e4482['get'](_0x2ea6dc[_0x55176f(0x15a)]),_0x54e46c=_0x8d6473[_0x55176f(0x2ec)](_0x56fe2a);if(!_0x54e46c)return!0x1;const _0x1d2543=_0x54e46c[_0x55176f(0x12d)](_0xc54a11);if(!_0x1d2543)return!0x1;const _0x91cf71=_0x57ab52[_0x55176f(0x3ab)](0x8),_0x52e796=_0x122904||{'startRow':0x0,'startColumn':0x0,'endRow':_0x1d2543['getRowCount']()-0x1,'endColumn':_0x1d2543[_0x55176f(0x297)]()-0x1};_0x52e796[_0x55176f(0x101)]=_0x2ea6dc['RANGE_TYPE'][_0x55176f(0x2be)];const _0x35f821=(await _0x21f609['getPivotDisplayConfig']({'unitId':_0x56fe2a,'subUnitId':_0xc54a11,'pivotTableId':_0x91cf71,'params':{'type':_0x27dde0[_0x55176f(0x2ea)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x56fe2a,'sheetName':_0x1d2543[_0x55176f(0x37d)](),'subUnitId':_0xc54a11,'range':_0x52e796},'pivotTableId':_0x91cf71,'pivotTableIndexConfig':_0x49d36f}}}))[_0x55176f(0x325)][_0x55176f(0x2a0)];if(!_0x35f821)return!0x1;const {isEmpty:_0x93b436,fieldsConfig:_0x409f98,collectionConfig:_0x4d53b7,changesets:_0x190567}=_0x35f821,_0x1451c0=_0x54e46c[_0x55176f(0x28a)]()[_0x55176f(0xac)],_0x2afc43=_0x2ea6dc[_0x55176f(0x1ae)]({'rowCount':_0x1d2543[_0x55176f(0x1f3)]()-0x1,'columnCount':_0x1d2543[_0x55176f(0x297)]()-0x1});_0x2afc43['id']=_0x2ea6dc[_0x55176f(0x1fa)](),_0x2afc43[_0x55176f(0x2f0)]=_0x54e46c[_0x55176f(0x2c7)](''+_0x518462['t'](_0x55176f(0x2aa)));const _0x2767a8={'index':_0x1451c0,'sheet':_0x2afc43,'unitId':_0x56fe2a},{redos:_0x1429eb}=_0x169eff(_0x4d3039,{'pivotTableId':_0x91cf71,'unitId':_0x56fe2a,'subUnitId':_0x2afc43['id']},_0x190567),_0x150e5f=[{'id':_0x54cce1[_0x55176f(0x17b)]['id'],'params':_0x2767a8},{'id':_0xc0ae46['id'],'params':{'unitId':_0x56fe2a,'subUnitId':_0x2afc43['id'],'pivotTableId':_0x91cf71,'pivotTableConfig':{'isEmpty':_0x93b436,'fieldsConfig':_0x409f98,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x56fe2a,'subUnitId':_0x2afc43['id']},'sourceRangeInfo':{'subUnitId':_0xc54a11,'unitId':_0x56fe2a,'range':_0x52e796,'sheetName':_0x1d2543[_0x55176f(0x37d)]()}},'collectionConfig':_0x4d53b7}},..._0x1429eb];return _0x2ea6dc[_0x55176f(0x330)](_0x150e5f,_0x4d3039),!0x0;}},_0x41d4a9={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x372648,_0x225734){const _0x142a15=_0x1ce260;if(!_0x225734)return!0x1;if(!!_0x372648['get'](_0x2ea6dc['IConfigService'])['getConfig'](_0x44d37f))return!0x0;const {pivotTableId:_0x32e101,unitId:_0x125f8a,subUnitId:_0x56c07c}=_0x225734,_0x48290e=_0x372648[_0x142a15(0x15f)](_0x2436f3['SheetsPivotDataSourceModel']);return _0x48290e['getPivotTableConfig'](_0x125f8a,_0x56c07c,_0x32e101)?(_0x48290e[_0x142a15(0x32a)]({'unitId':_0x125f8a,'subUnitId':_0x56c07c,'token':_0x32e101,'type':_0x2b397e[_0x142a15(0x154)]}),_0x48290e[_0x142a15(0x19e)](_0x125f8a,_0x56c07c,_0x32e101),!0x0):!0x1;}},_0x399658={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'id':_0x1ce260(0x184),async 'handler'(_0x5652f6,_0xec9861){const _0x4c762d=_0x1ce260;var _0xada5c7,_0x376ce7;const _0x1806f2=_0x5652f6[_0x4c762d(0x15f)](_0x2ea6dc[_0x4c762d(0x15a)]),_0xbbf58e=_0x5652f6['get'](_0x2ea6dc['IUniverInstanceService']),_0x33ef66=_0x5652f6[_0x4c762d(0x15f)](_0x2ea6dc[_0x4c762d(0x19f)]),_0x592924=_0x5652f6['get'](_0x2436f3['SheetsPivotRPCService']),_0xe9233f=_0x5652f6[_0x4c762d(0x15f)](_0x2ea6dc[_0x4c762d(0x27e)]),_0x4f9728=_0x5652f6[_0x4c762d(0x15f)](_0x2436f3['SheetsPivotTableConfigModel']),_0x5926ba=_0x5652f6[_0x4c762d(0x15f)](_0x2ea6dc['IConfigService']);if(!_0xec9861)return!0x1;const {pivotTableConfig:_0x3feadd,positionType:_0x27833f}=_0xec9861,{targetCellInfo:_0x37464a,sourceRangeInfo:_0xf4e2a6}=_0x3feadd,{unitId:_0x649970,subUnitId:_0x4dbba8}=_0x37464a,_0x13ae4a=_0xbbf58e[_0x4c762d(0x2ec)](_0x649970);if(!_0x13ae4a)return!0x1;let _0x19e129=0x0;_0x13ae4a['getSheets']()['forEach'](_0x4b6fd7=>{const _0x599531=_0x4c762d;var _0x3b5d50,_0x4f24e2;_0x19e129+=(_0x4f24e2=(_0x3b5d50=_0x4f9728[_0x599531(0x323)](_0x649970,_0x4b6fd7[_0x599531(0x1d1)]()))==null?void 0x0:_0x3b5d50['size'])!=null?_0x4f24e2:0x0;});const _0x22dcd6=(_0xada5c7=_0x5926ba[_0x4c762d(0x236)](_0x260b68[_0x4c762d(0x183)]))!=null?_0xada5c7:{},{ls:_0x37ff66,pbk:_0x29c16a}=_0x22dcd6;if(!_0x1bba50(_0x37ff66,_0x29c16a))return!0x1;const _0x57bb21=_0x2cff37(_0x547621,_0x37ff66,_0x29c16a)[_0x4c762d(0x250)];if(_0x19e129>=_0x57bb21)return!0x1;const _0x229b5a=_0xec9861['pivotTableId']||_0x57ab52['generateHexNumber'](0x8),_0xdbea03=(await _0x592924['getPivotDisplayConfig']({'unitId':_0x649970,'subUnitId':_0x4dbba8,'pivotTableId':_0x229b5a,'params':{'type':_0x27dde0[_0x4c762d(0x11e)],'addPivotTable':{'sourceRangeInfo':_0xf4e2a6,'pivotTableId':_0x229b5a}}}))[_0x4c762d(0x325)][_0x4c762d(0x178)];if(!_0xdbea03)return!0x1;const {view:_0x41cd99,isEmpty:_0xf7aaf9,fieldsConfig:_0xf10a7d,collectionConfig:_0x4e5b43}=_0xdbea03,_0x4d8239=[],_0x219e27=[];if(_0x27833f===_0x21e3b6[_0x4c762d(0xc9)]){const _0x4e9f00=_0x13ae4a[_0x4c762d(0x28a)]()[_0x4c762d(0xac)],_0x52a97c=_0x2ea6dc[_0x4c762d(0x1ae)]({});_0x52a97c['id']=_0x3feadd[_0x4c762d(0x127)]['subUnitId'],_0x52a97c['name']=(_0x376ce7=_0x3feadd[_0x4c762d(0x127)][_0x4c762d(0x217)])!=null?_0x376ce7:_0x13ae4a[_0x4c762d(0x2c7)](''+_0x33ef66['t'](_0x4c762d(0x2aa)));const _0x2757fb={'index':_0x4e9f00,'sheet':_0x52a97c,'unitId':_0x649970},_0x431827=_0x54cce1[_0x4c762d(0xdd)](_0x5652f6,_0x2757fb);_0x4d8239[_0x4c762d(0x33e)]({'id':_0x54cce1[_0x4c762d(0x3ae)]['id'],'params':_0x431827}),_0x219e27[_0x4c762d(0x33e)]({'id':_0x54cce1['InsertSheetMutation']['id'],'params':_0x2757fb});}else{if(!_0x13ae4a['getSheetBySheetId'](_0x4dbba8))return!0x1;const _0x4065a7=_0x53c4f4(_0x5652f6,new _0x57ab52[(_0x4c762d(0x179))](),_0x37464a,!0x0);_0x219e27[_0x4c762d(0x33e)](..._0x4065a7[_0x4c762d(0x2f7)]),_0x4d8239['push'](..._0x4065a7['undos']);const _0x51c474={'cellInfo':_0x37464a,'view':_0x41cd99,'isEmpty':_0xf7aaf9};if(!await _0x5652f6['get'](_0x2436f3[_0x4c762d(0x358)])['asyncInterceptor'][_0x4c762d(0x151)](_0x59935c)(!0x0,_0x51c474))return!0x1;const _0xfabaaf=_0x275086(_0x5652f6,_0x51c474);_0x219e27[_0x4c762d(0x33e)](..._0xfabaaf[_0x4c762d(0x2f7)]),_0x4d8239[_0x4c762d(0x33e)](..._0xfabaaf[_0x4c762d(0x316)]);}return _0x219e27['push']({'id':_0xc0ae46['id'],'params':{'unitId':_0x37464a[_0x4c762d(0x3a4)],'subUnitId':_0x37464a[_0x4c762d(0x2fa)],'pivotTableId':_0x229b5a,'pivotTableConfig':{'targetCellInfo':_0x37464a,'sourceRangeInfo':_0xf4e2a6,'fieldsConfig':_0xf10a7d},'collectionConfig':_0x4e5b43}}),_0x4d8239[_0x4c762d(0x377)]({'id':_0x41d4a9['id'],'params':{'unitId':_0x649970,'subUnitId':_0x4dbba8,'pivotTableId':_0x229b5a}}),_0x2ea6dc['sequenceExecute'](_0x219e27,_0x1806f2)&&_0xe9233f[_0x4c762d(0x1b3)]({'unitID':_0x649970,'undoMutations':_0x4d8239,'redoMutations':_0x219e27}),!0x0;}},_0x1e990a={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x37f)],'id':_0x1ce260(0xb5),async 'handler'(_0x2c3c14,_0x411b0f){const _0x30eb18=_0x1ce260;if(!_0x411b0f)return!0x1;const _0x55d882=_0x2c3c14[_0x30eb18(0x15f)](_0x2ea6dc['ICommandService']),_0x4238ad=_0x2c3c14[_0x30eb18(0x15f)](_0x2436f3['SheetsPivotRPCService']),_0x1b1541=_0x2c3c14[_0x30eb18(0x15f)](_0x2ea6dc[_0x30eb18(0x27e)]),{pivotTableId:_0x5a4d5d,fieldId:_0x4a18a7,area:_0x164119,index:_0x1f4f13,unitId:_0x208c82,subUnitId:_0x13ff9e}=_0x411b0f,_0x47250b=(await _0x4238ad[_0x30eb18(0x1ac)]({'unitId':_0x208c82,'subUnitId':_0x13ff9e,'pivotTableId':_0x5a4d5d,'params':{'type':_0x27dde0[_0x30eb18(0x16e)],'movePivotField':{'fieldId':_0x4a18a7,'area':_0x164119,'index':_0x1f4f13}}}))[_0x30eb18(0x325)][_0x30eb18(0x39e)];if(!_0x47250b)return!0x1;const {changesets:_0x2f2f7e,view:_0x27d7cb,isEmpty:_0xd393a8,pivotTableConfig:_0x4da0db}=_0x47250b,_0x2298ff=_0x4da0db[_0x30eb18(0x127)],_0x4c752e=new _0x57ab52[(_0x30eb18(0x179))]();_0x4c752e[_0x30eb18(0xc6)](_0x27d7cb);const _0x504627={'cellInfo':_0x2298ff,'view':_0x4c752e,'isEmpty':_0xd393a8};if(!await _0x2c3c14[_0x30eb18(0x15f)](_0x2436f3[_0x30eb18(0x358)])[_0x30eb18(0x23d)]['fetchThroughAsyncInterceptors'](_0x59935c)(!0x0,_0x504627))return!0x1;const _0x167fdb=_0x53c4f4(_0x2c3c14,_0x4c752e,_0x2298ff,_0xd393a8),_0x32b238=_0x275086(_0x2c3c14,_0x504627),{redos:_0x5e3cd6,undos:_0x5de9bc}=_0x169eff(_0x55d882,{'pivotTableId':_0x5a4d5d,'unitId':_0x208c82,'subUnitId':_0x13ff9e},_0x2f2f7e);return _0x2ea6dc['sequenceExecute']([..._0x167fdb[_0x30eb18(0x2f7)],..._0x32b238['redos'],..._0x5e3cd6],_0x55d882),_0x1b1541[_0x30eb18(0x1b3)]({'unitID':_0x208c82,'redoMutations':[..._0x167fdb[_0x30eb18(0x2f7)],..._0x32b238[_0x30eb18(0x2f7)],..._0x5e3cd6],'undoMutations':[..._0x167fdb['undos'],..._0x32b238['undos'],..._0x5de9bc]}),!0x0;}},_0x4f70e5={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x12e),'handler'(_0x326366,_0x2a5836){const _0x2b1cbd=_0x1ce260;if(!_0x2a5836)return!0x1;if(!!_0x326366[_0x2b1cbd(0x15f)](_0x2ea6dc['IConfigService'])[_0x2b1cbd(0x236)](_0x44d37f))return!0x0;const {pivotTableId:_0x1905be,targetCellPosition:_0x34d857,unitId:_0x3838cd,subUnitId:_0x2d4b11}=_0x2a5836,_0x348c7c=_0x326366['get'](_0x2436f3[_0x2b1cbd(0x24f)]);if(!_0x348c7c[_0x2b1cbd(0x376)](_0x2a5836[_0x2b1cbd(0xca)]))return!0x1;const _0x400051=_0x348c7c[_0x2b1cbd(0x1e2)](_0x1905be);if(!_0x400051)return!0x1;const _0x93d516=_0x348c7c[_0x2b1cbd(0x95)](_0x400051[_0x2b1cbd(0x3a4)],_0x2a5836[_0x2b1cbd(0xca)]);if(!_0x93d516)return!0x1;const _0x5c0964=_0x348c7c[_0x2b1cbd(0x384)](_0x400051[_0x2b1cbd(0x3a4)],_0x400051[_0x2b1cbd(0x2fa)],_0x1905be);if(!_0x5c0964)return!0x1;const _0x2199ff=_0x2ea6dc[_0x2b1cbd(0x35a)][_0x2b1cbd(0x114)](_0x5c0964);_0x2199ff[_0x2b1cbd(0x127)]={'unitId':_0x3838cd,'subUnitId':_0x2d4b11,'row':_0x34d857[_0x2b1cbd(0x2f1)],'col':_0x34d857[_0x2b1cbd(0x261)]};const _0x428706=_0x93d516[_0x2b1cbd(0x2c3)]();if(_0x400051[_0x2b1cbd(0x2fa)]===_0x2d4b11&&_0x400051[_0x2b1cbd(0x3a4)]===_0x3838cd)_0x348c7c[_0x2b1cbd(0x158)](_0x3838cd,_0x2d4b11,_0x1905be,_0x2199ff),_0x348c7c[_0x2b1cbd(0x32a)]({'unitId':_0x3838cd,'subUnitId':_0x2d4b11,'token':_0x1905be,'type':_0x2b397e[_0x2b1cbd(0x2e9)]});else{_0x348c7c[_0x2b1cbd(0x32a)]({'unitId':_0x400051[_0x2b1cbd(0x3a4)],'subUnitId':_0x400051[_0x2b1cbd(0x2fa)],'token':_0x1905be,'type':_0x2b397e[_0x2b1cbd(0x154)]}),_0x348c7c[_0x2b1cbd(0x19e)](_0x400051[_0x2b1cbd(0x3a4)],_0x400051[_0x2b1cbd(0x2fa)],_0x1905be);const _0x5b34c1=_0x348c7c[_0x2b1cbd(0x2e2)](_0x1905be,_0x428706,_0x5c0964['sourceRangeInfo'],_0x2199ff[_0x2b1cbd(0x127)]),_0x1e9590=new _0x57ab52[(_0x2b1cbd(0x113))](_0x5b34c1[_0x2b1cbd(0x367)],void 0x0,_0x1905be);_0x1e9590[_0x2b1cbd(0x18f)](_0x2199ff[_0x2b1cbd(0x280)]),_0x348c7c[_0x2b1cbd(0x178)](_0x3838cd,_0x2d4b11,_0x1905be,_0x1e9590,_0x2199ff),_0x348c7c[_0x2b1cbd(0x32a)]({'unitId':_0x3838cd,'subUnitId':_0x2d4b11,'token':_0x1905be,'type':_0x2b397e[_0x2b1cbd(0x156)],'pivotConfig':_0x2199ff});}return!0x0;}},_0x9d31d9={'type':_0x2ea6dc[_0x1ce260(0x2cc)]['COMMAND'],'id':_0x1ce260(0x355),'handler':(_0xc574e3,_0x4ad75c)=>{const _0x1e2b1a=_0x1ce260,_0x4c7f70=_0xc574e3[_0x1e2b1a(0x15f)](_0x2ea6dc[_0x1e2b1a(0x15a)]),_0x29e321=_0xc574e3['get'](_0x2ea6dc[_0x1e2b1a(0x27e)]),_0x317345=_0xc574e3[_0x1e2b1a(0x15f)](_0x2436f3[_0x1e2b1a(0xc2)]),_0x4575f3=_0xc574e3[_0x1e2b1a(0x15f)](_0x2ea6dc['IUniverInstanceService']);if(!_0x4ad75c)return!0x1;const _0x5a2eed=_0x54cce1[_0x1e2b1a(0x2dd)](_0x4575f3);if(!_0x5a2eed)return!0x1;const {unitId:_0x3291d2,subUnitId:_0x132dcd,workbook:_0x567b6f}=_0x5a2eed,_0x232468=_0x317345['getPivotTableConfig'](_0x4ad75c[_0x1e2b1a(0x1e8)][_0x1e2b1a(0x3a4)],_0x4ad75c['originTargetInfo']['subUnitId'],_0x4ad75c[_0x1e2b1a(0xca)]);if(!_0x232468)return!0x1;const _0x5bb75d=_0x567b6f['getSheetBySheetId'](_0x4ad75c[_0x1e2b1a(0x127)]['subUnitId']);if(!_0x5bb75d)throw new Error(_0x1e2b1a(0x1ab));const _0x4df4e6=_0x5bb75d['getRowCount'](),_0x34d805=_0x5bb75d[_0x1e2b1a(0x297)]();if(_0x4ad75c[_0x1e2b1a(0x127)][_0x1e2b1a(0x2f1)]>_0x4df4e6||_0x4ad75c['targetCellInfo']['col']>_0x34d805)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x2fe9e4=[{'id':_0x4f70e5['id'],'params':{'unitId':_0x3291d2,'subUnitId':_0x4ad75c[_0x1e2b1a(0x127)]['subUnitId'],'pivotTableId':_0x4ad75c[_0x1e2b1a(0xca)],'targetCellPosition':{'row':_0x4ad75c[_0x1e2b1a(0x127)]['row'],'col':_0x4ad75c[_0x1e2b1a(0x127)][_0x1e2b1a(0x261)]}}}],_0x4c5a81=[{'id':_0x4f70e5['id'],'params':{'unitId':_0x3291d2,'subUnitId':_0x132dcd,'pivotTableId':_0x4ad75c['pivotTableId'],'targetCellPosition':{'row':_0x232468[_0x1e2b1a(0x127)]['row'],'col':_0x232468[_0x1e2b1a(0x127)][_0x1e2b1a(0x261)]}}}];return _0x2ea6dc[_0x1e2b1a(0x330)](_0x2fe9e4,_0x4c7f70)&&_0x29e321[_0x1e2b1a(0x1b3)]({'unitID':_0x3291d2,'undoMutations':_0x4c5a81,'redoMutations':_0x2fe9e4}),!0x0;}},_0x2740dc={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3c915d,_0x212904){const _0x4c18f1=_0x1ce260;var _0x27f7db;if(!_0x212904)return!0x1;const _0x2fcbc6=_0x3c915d[_0x4c18f1(0x15f)](_0x2ea6dc['IUniverInstanceService']),_0x3a8f4a=_0x54cce1[_0x4c18f1(0x2dd)](_0x2fcbc6);if(!_0x3a8f4a)return!0x1;const {unitId:_0x3a1c8c,subUnitId:_0x29056d,workbook:_0x40fc6e}=_0x3a8f4a,{row:_0x35745f,col:_0x1f5851}=_0x212904,_0x121a77=_0x3c915d[_0x4c18f1(0x15f)](_0x2436f3[_0x4c18f1(0x190)]),_0x48b452=_0x121a77[_0x4c18f1(0x103)](_0x3a1c8c,_0x29056d,_0x35745f,_0x1f5851);if(!_0x48b452)return!0x1;const _0x371d59=(_0x27f7db=_0x121a77['getPivotItemRenderInfoCache'](_0x3a1c8c,_0x29056d,_0x48b452))==null?void 0x0:_0x27f7db[_0x4c18f1(0x32b)];if(!_0x371d59)return!0x1;const _0x3df887=_0x3c915d['get'](_0x2436f3[_0x4c18f1(0xc2)])[_0x4c18f1(0x384)](_0x3a1c8c,_0x29056d,_0x48b452);if(!_0x3df887)return!0x1;const {rowInfo:_0x33b6e8,colInfo:_0x273124}=_0x371d59,_0x3b2cf1=_0x33b6e8[_0x35745f][_0x4c18f1(0x174)],_0x40cb07=_0x273124[_0x1f5851]['paths'],_0x38e831=_0x33b6e8[_0x35745f][_0x4c18f1(0x26e)],_0x52bc59=_0x273124[_0x1f5851]['level'],_0x53e82d=_0x3b2cf1['concat'](_0x40cb07),_0x52b0da=_0x3df887[_0x4c18f1(0x280)][_0x4c18f1(0x20a)][_0x4c18f1(0x343)](0x0,_0x38e831),_0x5d634b=_0x3df887[_0x4c18f1(0x280)][_0x4c18f1(0x2fd)]['slice'](0x0,_0x52bc59),_0x153a2d=_0x52b0da[_0x4c18f1(0x310)](_0x5d634b),_0x330bba=_0x53e82d[_0x4c18f1(0x19c)]((_0x1786bd,_0x5053ff)=>[_0x1786bd,_0x153a2d[_0x5053ff]]),_0x155523=(await _0x3c915d[_0x4c18f1(0x15f)](_0x2436f3[_0x4c18f1(0x1ad)])[_0x4c18f1(0x1ac)]({'unitId':_0x3a1c8c,'subUnitId':_0x29056d,'pivotTableId':_0x48b452,'params':{'type':_0x27dde0['DrillDown'],'drillDown':{'tuple':_0x330bba}}}))[_0x4c18f1(0x325)]['drillDown'];if(!_0x155523)return!0x1;const {indexes:_0x542d72,range:_0x443b48,sourceUnitId:_0x2d4832,sourceSubUnitId:_0x1d1cee,formatMap:_0x5eda56}=_0x155523,{startRow:_0x335a4a,endRow:_0x4625ea,startColumn:_0x34e522,endColumn:_0x13262f}=_0x443b48,_0x5a016a=new _0x2ea6dc[(_0x4c18f1(0x136))](),_0x2ee699=_0x4625ea-_0x335a4a,_0x47d489=_0x13262f-_0x34e522,_0x45d979={},_0x2bdd48=_0x54cce1[_0x4c18f1(0x2dd)](_0x2fcbc6,{'unitId':_0x2d4832,'subUnitId':_0x1d1cee});if(!_0x2bdd48)return!0x1;const _0x37c900=_0x465b05[_0x4c18f1(0x234)],_0x5c44c7=_0x465b05[_0x4c18f1(0x36f)],_0x530787=_0x465b05['subTotalStyle'],_0x1c4a64=_0x40fc6e[_0x4c18f1(0x119)]()[_0x4c18f1(0x2cf)](_0x37c900),_0x18e35d=_0x40fc6e[_0x4c18f1(0x119)]()[_0x4c18f1(0x2cf)](_0x5c44c7),_0x1b3e4f=_0x40fc6e[_0x4c18f1(0x119)]()['setValue'](_0x530787),{worksheet:_0x1e4bb2}=_0x2bdd48;let _0x4e9ef2=0x0;const _0x356c24=0x1;_0x542d72[_0x4c18f1(0xe5)](_0x2baae4=>{const _0x38fe2b=_0x4c18f1;for(let _0x3094b8=0x0;_0x3094b8<=_0x13262f-_0x34e522;_0x3094b8++)_0x5a016a[_0x38fe2b(0x2cf)](_0x4e9ef2,_0x3094b8,_0x1e4bb2['getCellRaw'](_0x2baae4+_0x443b48[_0x38fe2b(0x348)]+_0x356c24,_0x3094b8));_0x4e9ef2++;});for(let _0x475c75=_0x34e522;_0x475c75<=_0x13262f;_0x475c75++){const _0x2cb47e=_0x1e4bb2[_0x4c18f1(0x39f)](_0x335a4a,_0x475c75);_0x45d979[_0x335a4a]||(_0x45d979[_0x335a4a]={}),_0x45d979[_0x335a4a][_0x475c75]={..._0x2cb47e,'s':_0x1c4a64};}let _0x3060ab=0x1;const _0x390217={},_0x5e2052={};_0x5a016a[_0x4c18f1(0x284)]((_0x407f17,_0x4ef741)=>{_0x4ef741['forEach'](_0x3d2f44=>{const _0x314834=_0x15e0,_0x36d666=_0x5a016a[_0x314834(0x244)](_0x407f17,_0x3d2f44);if(_0x45d979[_0x3060ab]||(_0x45d979[_0x3060ab]={}),_0x45d979[_0x3060ab][_0x3d2f44]={..._0x36d666,'s':_0x3060ab%0x2===0x0?_0x1b3e4f:_0x18e35d},_0x5eda56[_0x3d2f44]&&_0x407f17>=0x0){const _0x664c61=_0x3060ab%0x2===0x0;let _0x4a77c2=_0x664c61?_0x5e2052[_0x3d2f44]:_0x390217[_0x3d2f44];_0x4a77c2||(_0x4a77c2=_0x40fc6e['getStyles']()[_0x314834(0x2cf)]({..._0x664c61?_0x530787:_0x5c44c7,'n':{'pattern':_0x5eda56[_0x3d2f44]}}),_0x664c61?_0x5e2052[_0x3d2f44]=_0x4a77c2:_0x390217[_0x3d2f44]=_0x4a77c2),_0x45d979[_0x3060ab][_0x3d2f44]['s']=_0x4a77c2;}}),_0x3060ab++;});const _0xe900e4=new _0x2ea6dc[(_0x4c18f1(0x136))](_0x45d979),_0xb0023c={};_0xe900e4[_0x4c18f1(0x1c6)]((_0x4e644a,_0x20028e,_0x581dfc)=>{_0xb0023c[_0x4e644a]||(_0xb0023c[_0x4e644a]={}),_0xb0023c[_0x4e644a][_0x20028e]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1f9c22=[],_0x518e70=[],_0x5ec906=_0x40fc6e[_0x4c18f1(0x28a)]()[_0x4c18f1(0xac)],_0x41e8cb=_0x2ea6dc[_0x4c18f1(0x1ae)]({'rowCount':Math[_0x4c18f1(0x215)](_0x2ea6dc[_0x4c18f1(0x106)],_0x2ee699+0xa),'columnCount':Math['max'](_0x2ea6dc[_0x4c18f1(0x11f)],_0x47d489+0x5)}),_0x362307=_0x3c915d[_0x4c18f1(0x15f)](_0x2ea6dc['LocaleService']);_0x41e8cb['id']=_0x2ea6dc[_0x4c18f1(0x1fa)](),_0x41e8cb[_0x4c18f1(0x2f0)]=_0x40fc6e[_0x4c18f1(0x2c7)](''+_0x362307['t'](_0x4c18f1(0x2aa)));const _0x14d146={'index':_0x5ec906,'sheet':_0x41e8cb,'unitId':_0x3a1c8c},_0x11cac6=_0x54cce1[_0x4c18f1(0xdd)](_0x3c915d,_0x14d146);_0x518e70[_0x4c18f1(0x33e)]({'id':_0x54cce1['InsertSheetMutation']['id'],'params':_0x14d146}),_0x1f9c22[_0x4c18f1(0x33e)]({'id':_0x54cce1[_0x4c18f1(0x3ae)]['id'],'params':_0x11cac6}),_0x518e70[_0x4c18f1(0x33e)]({'id':_0x54cce1[_0x4c18f1(0x17d)]['id'],'params':{'unitId':_0x3a1c8c,'subUnitId':_0x41e8cb['id'],'cellValue':_0x45d979}}),_0x1f9c22[_0x4c18f1(0x377)]({'id':_0x54cce1[_0x4c18f1(0x17d)]['id'],'params':{'unitId':_0x3a1c8c,'subUnitId':_0x41e8cb['id'],'cellValue':_0xb0023c}});const _0x7c83ea={'startRow':0x0,'startColumn':0x0,'endRow':_0x3060ab-0x1,'endColumn':_0x13262f};_0x518e70[_0x4c18f1(0x33e)]({'id':_0x1861b7[_0x4c18f1(0x14c)]['id'],'params':{'unitId':_0x3a1c8c,'subUnitId':_0x41e8cb['id'],'range':_0x7c83ea}}),_0x1f9c22[_0x4c18f1(0x377)]({'id':_0x1861b7[_0x4c18f1(0x1d2)]['id'],'params':{'unitId':_0x3a1c8c,'subUnitId':_0x41e8cb['id']}});const _0xce6702=_0x3c915d[_0x4c18f1(0x15f)](_0x2ea6dc[_0x4c18f1(0x15a)]);return _0x2ea6dc[_0x4c18f1(0x330)](_0x518e70,_0xce6702)&&_0x3c915d[_0x4c18f1(0x15f)](_0x2ea6dc[_0x4c18f1(0x27e)])['pushUndoRedo']({'unitID':_0x3a1c8c,'undoMutations':_0x1f9c22,'redoMutations':_0x518e70}),!0x0;}},_0x1052f0={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x1db4e6,_0x366e4e){const _0xf1beac=_0x1ce260;if(!_0x366e4e)return!0x1;const _0xa7210f=_0x1db4e6[_0xf1beac(0x15f)](_0x2ea6dc[_0xf1beac(0x15a)]),_0x3b06a0=_0x1db4e6['get'](_0x2436f3[_0xf1beac(0x1ad)]),_0x10ce37=_0x1db4e6[_0xf1beac(0x15f)](_0x2ea6dc['IUndoRedoService']),{pivotTableId:_0x3e3f20,fieldIds:_0x1da259,unitId:_0x5c03fc,subUnitId:_0x168d15}=_0x366e4e,_0x2ed060=(await _0x3b06a0['getPivotDisplayConfig']({'unitId':_0x5c03fc,'subUnitId':_0x168d15,'pivotTableId':_0x3e3f20,'params':{'type':_0x27dde0[_0xf1beac(0x10d)],'removePivotField':{'fieldIds':_0x1da259}}}))[_0xf1beac(0x325)][_0xf1beac(0x329)];if(!_0x2ed060)return!0x1;const {view:_0x292921,changesets:_0x1396da,isEmpty:_0x5341db,pivotTableConfig:_0x4abf86}=_0x2ed060,_0x512f49=_0x4abf86[_0xf1beac(0x127)],_0x24bbd6=new _0x57ab52['PivotView']();_0x24bbd6[_0xf1beac(0xc6)](_0x292921);const _0x439cde={'cellInfo':_0x512f49,'view':_0x24bbd6,'isEmpty':_0x5341db};if(!await _0x1db4e6[_0xf1beac(0x15f)](_0x2436f3[_0xf1beac(0x358)])[_0xf1beac(0x23d)][_0xf1beac(0x151)](_0x59935c)(!0x0,_0x439cde))return!0x1;const _0x24e5ae=_0x53c4f4(_0x1db4e6,_0x24bbd6,_0x512f49,_0x5341db),_0x15809e=_0x275086(_0x1db4e6,_0x439cde),{redos:_0x3bf0ba,undos:_0x4bc8df}=_0x169eff(_0xa7210f,{'pivotTableId':_0x3e3f20,'unitId':_0x5c03fc,'subUnitId':_0x168d15},_0x1396da);return _0x2ea6dc[_0xf1beac(0x330)]([..._0x24e5ae[_0xf1beac(0x2f7)],..._0x15809e[_0xf1beac(0x2f7)],..._0x3bf0ba],_0xa7210f),_0x10ce37['pushUndoRedo']({'unitID':_0x5c03fc,'redoMutations':[..._0x24e5ae['redos'],..._0x15809e['redos'],..._0x3bf0ba],'undoMutations':[..._0x24e5ae[_0xf1beac(0x316)],..._0x15809e[_0xf1beac(0x316)],..._0x4bc8df]}),!0x0;}},_0x26837b={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x37f)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x1c5f10,_0x292185){const _0x107195=_0x1ce260;if(!_0x292185)return!0x1;const _0x37d2f8=_0x1c5f10[_0x107195(0x15f)](_0x2ea6dc[_0x107195(0x15a)]),_0xa36d15=_0x1c5f10[_0x107195(0x15f)](_0x2ea6dc['IUndoRedoService']),_0x41e5aa=_0x1c5f10[_0x107195(0x15f)](_0x2436f3[_0x107195(0x1ad)]),{resetArea:_0x29ee97,pivotTableId:_0x419b3a,unitId:_0x512f04,subUnitId:_0x1f8810}=_0x292185,_0x4f36bf=(await _0x41e5aa[_0x107195(0x1ac)]({'unitId':_0x512f04,'subUnitId':_0x1f8810,'pivotTableId':_0x419b3a,'params':{'type':_0x27dde0[_0x107195(0x387)],'resetPivotTable':{'pivotTableId':_0x419b3a,'resetArea':_0x29ee97}}}))[_0x107195(0x325)][_0x107195(0xfb)];if(!_0x4f36bf)return!0x1;const {changesets:_0x339ab2}=_0x4f36bf,{redos:_0x4c0bec,undos:_0x9bc50b}=_0x169eff(_0x37d2f8,{'pivotTableId':_0x419b3a,'unitId':_0x512f04,'subUnitId':_0x1f8810},_0x339ab2);return _0x2ea6dc[_0x107195(0x330)](_0x4c0bec,_0x37d2f8),_0xa36d15[_0x107195(0x1b3)]({'unitID':_0x512f04,'redoMutations':_0x4c0bec,'undoMutations':_0x9bc50b}),!0x0;}},_0x1ac99c={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'id':_0x1ce260(0x2f4),async 'handler'(_0x5e37cc,_0x35e26b){const _0x302d67=_0x1ce260,_0x4b888d=_0x5e37cc[_0x302d67(0x15f)](_0x2ea6dc[_0x302d67(0x15a)]),_0x8f779e=_0x5e37cc[_0x302d67(0x15f)](_0x2436f3[_0x302d67(0x1ad)]),_0x121888=_0x5e37cc[_0x302d67(0x15f)](_0x2436f3[_0x302d67(0x190)]),_0x3c2912=_0x5e37cc[_0x302d67(0x15f)](_0x2ea6dc[_0x302d67(0x2f6)]),_0xa11fe9=_0x5e37cc[_0x302d67(0x15f)](_0x2ea6dc[_0x302d67(0x19f)]),_0x1ad567=_0x5e37cc[_0x302d67(0x15f)](_0x2ea6dc[_0x302d67(0x27e)]);if(!_0x35e26b)return!0x1;const {unitId:_0x3e14a7,subUnitId:_0x2e2202,row:_0x12969d,col:_0x4a17c8,collapse:_0x16b43a}=_0x35e26b,_0x4b76cf=_0x3c2912[_0x302d67(0x2ec)](_0x3e14a7);if(!_0x4b76cf||!_0x4b76cf[_0x302d67(0x12d)](_0x2e2202))return!0x1;const _0x375925=_0x121888[_0x302d67(0x103)](_0x3e14a7,_0x2e2202,_0x12969d,_0x4a17c8);if(!_0x375925)return!0x1;const _0x113a52=_0x121888[_0x302d67(0x36c)](_0x3e14a7,_0x2e2202,_0x375925);if(!_0x113a52)return!0x1;const _0x3e4d7b=_0x2ea6dc[_0x302d67(0x2b8)](_0x12969d,_0x4a17c8),{rangesInfo:_0x376623,areaInfo:_0x22bf99,headerMap:_0x4dc8f0}=_0x113a52;if(!_0x376623||!_0x22bf99||!_0x4dc8f0)return!0x1;const _0x5ea090=Object[_0x302d67(0x249)](_0x376623)[_0x302d67(0x3b1)](_0x25c228=>_0x376623[_0x25c228][_0x302d67(0x1c8)](_0x2cd411=>_0x2ea6dc[_0x302d67(0x196)][_0x302d67(0xef)](_0x2cd411,_0x3e4d7b)));let _0x318300;_0x5ea090===_0x302d67(0xe4)?_0x318300=_0x4dc8f0[_0x302d67(0x317)][_0x4a17c8]:_0x5ea090===_0x302d67(0x320)&&(_0x318300=_0x4dc8f0[_0x302d67(0x10b)][_0x12969d]);const _0x3155ea=_0x318300==null?void 0x0:_0x318300[_0x302d67(0x2ac)],_0x585c40=_0x121888[_0x302d67(0x2cd)](_0x3e14a7,_0x2e2202,_0x12969d,_0x4a17c8);let _0x325ff2=_0x585c40==null?void 0x0:_0x585c40['v'];if(_0x325ff2===_0xa11fe9['t'](_0x302d67(0x149))&&(_0x325ff2=_0x57ab52[_0x302d67(0x278)][_0x302d67(0x105)]),_0x325ff2==null||!_0x375925||!_0x3155ea)return!0x1;const _0x169be7=await _0x8f779e[_0x302d67(0x1ac)]({'unitId':_0x3e14a7,'subUnitId':_0x2e2202,'pivotTableId':_0x375925,'params':{'type':_0x27dde0[_0x302d67(0x267)],'setPivotCollapse':{'tableFieldId':_0x3155ea,'collapse':_0x16b43a,'item':_0x325ff2}}}),_0x4bb8bb=_0x169be7==null?void 0x0:_0x169be7['result'][_0x302d67(0x23c)];if(!_0x4bb8bb)return!0x1;const {view:_0xd1c5d3,pivotTableConfig:_0x5f2a31,isEmpty:_0x4ca066,changesets:_0x12c8dd}=_0x4bb8bb,_0x3dedf5=new _0x57ab52[(_0x302d67(0x179))]();_0x3dedf5[_0x302d67(0xc6)](_0xd1c5d3);const _0x5287f8=_0x5f2a31[_0x302d67(0x127)],_0x38c5ae={'cellInfo':_0x5287f8,'view':_0x3dedf5,'isEmpty':_0x4ca066};if(!await _0x5e37cc[_0x302d67(0x15f)](_0x2436f3[_0x302d67(0x358)])[_0x302d67(0x23d)][_0x302d67(0x151)](_0x59935c)(!0x0,_0x38c5ae))return!0x1;const _0x17284d=_0x53c4f4(_0x5e37cc,_0x3dedf5,_0x5287f8,_0x4ca066),_0xc7c617=_0x275086(_0x5e37cc,_0x38c5ae),{redos:_0x53afb1,undos:_0x2550be}=_0x169eff(_0x4b888d,{'pivotTableId':_0x375925,'unitId':_0x3e14a7,'subUnitId':_0x2e2202},_0x12c8dd);return _0x2ea6dc['sequenceExecute']([..._0x17284d[_0x302d67(0x2f7)],..._0xc7c617[_0x302d67(0x2f7)],..._0x53afb1],_0x4b888d),_0x1ad567[_0x302d67(0x1b3)]({'unitID':_0x3e14a7,'redoMutations':[..._0x17284d['redos'],..._0xc7c617['redos'],..._0x53afb1],'undoMutations':[..._0x17284d[_0x302d67(0x316)],..._0xc7c617['undos'],..._0x2550be]}),!0x0;}},_0x180c8e={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x37f)],'id':_0x1ce260(0xe3),async 'handler'(_0x2bea2e,_0x35e20a){const _0x56a828=_0x1ce260;if(!_0x35e20a)return!0x1;const _0x64dfd=_0x2bea2e[_0x56a828(0x15f)](_0x2ea6dc[_0x56a828(0x15a)]),_0xd25708=_0x2bea2e[_0x56a828(0x15f)](_0x2ea6dc[_0x56a828(0x27e)]),_0x54d245=_0x2bea2e[_0x56a828(0x15f)](_0x2436f3[_0x56a828(0x1ad)]),{pivotTableConfig:_0x41cc6e,pivotTableId:_0x4a687b,unitId:_0x41118b,subUnitId:_0x6cf5be}=_0x35e20a,_0x169a0e=(await _0x54d245[_0x56a828(0x1ac)]({'unitId':_0x41118b,'subUnitId':_0x6cf5be,'pivotTableId':_0x4a687b,'params':{'type':_0x27dde0[_0x56a828(0x1bd)],'setPivotTableConfig':{'pivotTableId':_0x4a687b,'pivotTableConfig':_0x41cc6e}}}))[_0x56a828(0x325)][_0x56a828(0x14e)];if(!_0x169a0e)return!0x1;const {changesets:_0x367fbb}=_0x169a0e,{redos:_0x320a86,undos:_0x950341}=_0x169eff(_0x64dfd,{'pivotTableId':_0x4a687b,'unitId':_0x41118b,'subUnitId':_0x6cf5be},_0x367fbb);return _0x2ea6dc['sequenceExecute'](_0x320a86,_0x64dfd),_0xd25708[_0x56a828(0x1b3)]({'unitID':_0x41118b,'redoMutations':_0x320a86,'undoMutations':_0x950341}),!0x0;}},_0x273935={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x37f)],'id':_0x1ce260(0x268),async 'handler'(_0x1487f2,_0x36098c){const _0x3aea66=_0x1ce260;if(!_0x36098c)return!0x1;const _0x11df14=_0x1487f2[_0x3aea66(0x15f)](_0x2ea6dc[_0x3aea66(0x15a)]),{pivotTableId:_0x2fb476,tableFieldId:_0x370631,items:_0x3ab01d,unitId:_0x4b1a32,subUnitId:_0x1be953,isAll:_0x249325}=_0x36098c,_0x387dd9=_0x1487f2[_0x3aea66(0x15f)](_0x2436f3[_0x3aea66(0x1ad)]),_0x1b8321=_0x1487f2[_0x3aea66(0x15f)](_0x2ea6dc[_0x3aea66(0x27e)]),_0x1b20a5=(await _0x387dd9[_0x3aea66(0x1ac)]({'unitId':_0x4b1a32,'subUnitId':_0x1be953,'pivotTableId':_0x2fb476,'params':{'type':_0x27dde0[_0x3aea66(0x32c)],'setPivotFilter':{'tableFieldId':_0x370631,'items':_0x3ab01d,'isAll':_0x249325}}}))[_0x3aea66(0x325)]['setPivotFilter'];if(!_0x1b20a5)return!0x1;const {changesets:_0x56797e,pivotTableConfig:_0x2f2f14,isEmpty:_0x144e23,view:_0x44ad0c}=_0x1b20a5,_0x17fb6c=_0x2f2f14[_0x3aea66(0x127)],_0x38adc0=new _0x57ab52[(_0x3aea66(0x179))]();_0x38adc0['formJSON'](_0x44ad0c);const _0x8ffe47={'cellInfo':_0x17fb6c,'view':_0x38adc0,'isEmpty':_0x144e23};if(!await _0x1487f2[_0x3aea66(0x15f)](_0x2436f3[_0x3aea66(0x358)])[_0x3aea66(0x23d)]['fetchThroughAsyncInterceptors'](_0x59935c)(!0x0,_0x8ffe47))return!0x1;const _0x2d90ed=_0x53c4f4(_0x1487f2,_0x38adc0,_0x17fb6c,_0x144e23),_0xd9a138=_0x275086(_0x1487f2,_0x8ffe47),{undos:_0xb05662,redos:_0x1fe56e}=_0x169eff(_0x11df14,{'pivotTableId':_0x2fb476,'unitId':_0x4b1a32,'subUnitId':_0x1be953},_0x56797e);return _0x2ea6dc[_0x3aea66(0x330)]([..._0x2d90ed[_0x3aea66(0x2f7)],..._0xd9a138[_0x3aea66(0x2f7)],..._0x1fe56e],_0x11df14),_0x1b8321[_0x3aea66(0x1b3)]({'unitID':_0x4b1a32,'redoMutations':[..._0x2d90ed[_0x3aea66(0x2f7)],..._0xd9a138[_0x3aea66(0x2f7)],..._0x1fe56e],'undoMutations':[..._0x2d90ed[_0x3aea66(0x316)],..._0xd9a138[_0x3aea66(0x316)],..._0xb05662]}),!0x0;}},_0x9f75de={'type':_0x2ea6dc['CommandType']['COMMAND'],'id':_0x1ce260(0x321),async 'handler'(_0x11a884,_0x15f9b8){const _0x1a9647=_0x1ce260;if(!_0x15f9b8)return!0x1;const _0x5781ea=_0x11a884[_0x1a9647(0x15f)](_0x2ea6dc['ICommandService']),_0x1cb1d3=_0x11a884[_0x1a9647(0x15f)](_0x2ea6dc['IUndoRedoService']),_0x411e1f=_0x11a884['get'](_0x2436f3[_0x1a9647(0x1ad)]),{info:_0x2f19d3,tableFieldId:_0x3e531f,pivotTableId:_0x340285,unitId:_0x43b1aa,subUnitId:_0x220bbd}=_0x15f9b8,_0x55a1f4=(await _0x411e1f[_0x1a9647(0x1ac)]({'unitId':_0x43b1aa,'subUnitId':_0x220bbd,'pivotTableId':_0x340285,'params':{'type':_0x27dde0['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x3e531f,'info':_0x2f19d3}}}))[_0x1a9647(0x325)][_0x1a9647(0x33f)];if(!_0x55a1f4)return!0x1;const {changesets:_0x5040bf}=_0x55a1f4,{redos:_0x42000a,undos:_0x1692a8}=_0x169eff(_0x5781ea,{'pivotTableId':_0x340285,'unitId':_0x43b1aa,'subUnitId':_0x220bbd},_0x5040bf);return _0x2ea6dc[_0x1a9647(0x330)](_0x42000a,_0x5781ea),_0x1cb1d3[_0x1a9647(0x1b3)]({'unitID':_0x43b1aa,'redoMutations':_0x42000a,'undoMutations':_0x1692a8}),!0x0;}},_0x55ac5b={'type':_0x2ea6dc[_0x1ce260(0x2cc)]['COMMAND'],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x307c4f,_0x1ad314){const _0x28e590=_0x1ce260;if(!_0x1ad314)return!0x1;const _0x39b3d7=_0x307c4f[_0x28e590(0x15f)](_0x2ea6dc[_0x28e590(0x15a)]),{pivotTableId:_0x1d14ee,fieldId:_0x3f3e1c,valueFilterInfo:_0x4440d0,unitId:_0x182c1d,subUnitId:_0x57621f}=_0x1ad314,_0x38bd22=_0x307c4f[_0x28e590(0x15f)](_0x2436f3[_0x28e590(0x1ad)]),_0x1bd4bb=_0x307c4f[_0x28e590(0x15f)](_0x2ea6dc[_0x28e590(0x27e)]),_0x36df53=(await _0x38bd22[_0x28e590(0x1ac)]({'unitId':_0x182c1d,'subUnitId':_0x57621f,'pivotTableId':_0x1d14ee,'params':{'type':_0x27dde0[_0x28e590(0x92)],'setValuePivotFilter':{'tableFieldId':_0x3f3e1c,'filterInfo':_0x4440d0}}}))[_0x28e590(0x325)][_0x28e590(0x252)];if(!_0x36df53)return!0x1;const {changesets:_0x2e5342,pivotTableConfig:_0x1ab8e7,isEmpty:_0xe2e2c8,view:_0x32ac8c}=_0x36df53,_0x22297a=_0x1ab8e7[_0x28e590(0x127)],_0x59bfd9=new _0x57ab52[(_0x28e590(0x179))]();_0x59bfd9[_0x28e590(0xc6)](_0x32ac8c);const _0x50398d={'cellInfo':_0x22297a,'view':_0x59bfd9,'isEmpty':_0xe2e2c8};if(!await _0x307c4f[_0x28e590(0x15f)](_0x2436f3[_0x28e590(0x358)])[_0x28e590(0x23d)][_0x28e590(0x151)](_0x59935c)(!0x0,_0x50398d))return!0x1;const _0x143ac7=_0x53c4f4(_0x307c4f,_0x59bfd9,_0x22297a,_0xe2e2c8),_0x3c090d=_0x275086(_0x307c4f,_0x50398d),{undos:_0x2a27c1,redos:_0x144974}=_0x169eff(_0x39b3d7,{'pivotTableId':_0x1d14ee,'unitId':_0x182c1d,'subUnitId':_0x57621f},_0x2e5342);return _0x2ea6dc['sequenceExecute']([..._0x143ac7[_0x28e590(0x2f7)],..._0x3c090d[_0x28e590(0x2f7)],..._0x144974],_0x39b3d7),_0x1bd4bb[_0x28e590(0x1b3)]({'unitID':_0x182c1d,'redoMutations':[..._0x143ac7[_0x28e590(0x2f7)],..._0x3c090d[_0x28e590(0x2f7)],..._0x144974],'undoMutations':[..._0x143ac7['undos'],..._0x3c090d[_0x28e590(0x316)],..._0x2a27c1]}),!0x0;}},_0x5cf659={'id':_0x1ce260(0xa0),'type':_0x2ea6dc['CommandType'][_0x1ce260(0x3a3)],'handler':(_0x365403,_0x86e304)=>{const _0x9fbd61=_0x1ce260;if(!_0x86e304)return!0x1;if(!!_0x365403[_0x9fbd61(0x15f)](_0x2ea6dc[_0x9fbd61(0x228)])['getConfig'](_0x44d37f))return!0x0;const {unitId:_0x4a0dec,subUnitId:_0x4e262c,pivotTableId:_0x28d123,tableFieldId:_0x302059,dateType:_0x3d27a4}=_0x86e304,_0x30caf6=_0x365403[_0x9fbd61(0x15f)](_0x2436f3[_0x9fbd61(0x24f)]),_0x4b88bc=_0x30caf6[_0x9fbd61(0x376)](_0x28d123);if(!_0x4b88bc)return!0x1;const _0x4a0d48=_0x4b88bc[_0x9fbd61(0x21a)](_0x302059);if(!_0x4a0d48)return!0x1;const _0x5070db=_0x4a0d48[_0x9fbd61(0x220)](),_0x4776f0=_0x4b88bc[_0x9fbd61(0x2f3)](_0x5070db),_0x1762d2=(_0x4776f0==null?void 0x0:_0x4776f0[_0x9fbd61(0x37d)]())+'\x20'+_0x3fca01(_0x365403,_0x3d27a4);_0x30caf6[_0x9fbd61(0x95)](_0x4a0dec,_0x28d123)[_0x9fbd61(0xcb)](_0x4a0d48['id'],_0x1762d2);const _0x3088b0=_0x4b88bc[_0x9fbd61(0x223)](_0x302059);if(!_0x3088b0)return!0x1;_0x4b88bc['renameField'](_0x3088b0['getId'](),_0x1762d2),_0x4a0d48[_0x9fbd61(0xbf)](_0x3d27a4);const _0x1000a2=_0x30caf6[_0x9fbd61(0x384)](_0x4a0dec,_0x4e262c,_0x28d123);return _0x30caf6['addDirtyPivotTable']({'unitId':_0x4a0dec,'subUnitId':_0x4e262c,'token':_0x28d123,'type':_0x2b397e[_0x9fbd61(0x2e9)],'pivotConfig':_0x1000a2}),!0x0;}},_0x2018d2={'id':_0x1ce260(0x368),'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'handler':(_0x2e4fbb,_0x2675b2)=>{const _0x340b10=_0x1ce260;if(!_0x2675b2)return!0x1;const _0x2de16e=_0x2e4fbb[_0x340b10(0x15f)](_0x2ea6dc[_0x340b10(0x27e)]),{unitId:_0x2dd406,subUnitId:_0x1f37cc,pivotTableId:_0x14feab,tableFieldId:_0x1f974d}=_0x2675b2,_0x5e4c0a=[],_0x2513eb=[],_0x21f695=_0x2e4fbb[_0x340b10(0x15f)](_0x2436f3[_0x340b10(0xc2)]),_0x194eba=_0x21f695[_0x340b10(0x95)](_0x2dd406,_0x14feab),_0x44e65e=_0x21f695['getPivotTableConfig'](_0x2dd406,_0x1f37cc,_0x14feab);if(!(_0x44e65e!=null&&_0x44e65e[_0x340b10(0x280)][_0x340b10(0xaf)]))return!0x1;const _0x42789e=Object[_0x340b10(0x2f5)](_0x44e65e[_0x340b10(0x280)][_0x340b10(0xaf)])[_0x340b10(0x3b1)](_0x1ab906=>_0x1ab906['id']===_0x1f974d);if(!_0x42789e)return!0x1;const _0x2012ed=_0x42789e[_0x340b10(0x2bb)];if(!(_0x194eba!=null&&_0x194eba[_0x340b10(0x2a3)]))return!0x1;const _0xeef831=Object[_0x340b10(0x2f5)](_0x194eba==null?void 0x0:_0x194eba['fields'])[_0x340b10(0x3b1)](_0x5f0703=>_0x5f0703['id']===_0x2012ed);if(!_0xeef831)return!0x1;_0x57ab52[_0x340b10(0x1d9)](_0xeef831)&&_0x5e4c0a[_0x340b10(0x33e)]({'id':_0x5cf659['id'],'params':{..._0x2675b2,'dateType':_0xeef831['dateType']}}),_0x2513eb[_0x340b10(0x33e)]({'id':_0x5cf659['id'],'params':{..._0x2675b2}});const _0x26380e=_0x2e4fbb[_0x340b10(0x15f)](_0x2ea6dc[_0x340b10(0x15a)]);return _0x2ea6dc[_0x340b10(0x330)](_0x2513eb,_0x26380e)&&_0x2de16e[_0x340b10(0x1b3)]({'unitID':_0x2dd406,'undoMutations':_0x5e4c0a,'redoMutations':_0x2513eb}),!0x0;}},_0xb7a31a={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'id':_0x1ce260(0x23a),async 'handler'(_0x401b36,_0x2b5063){const _0xede640=_0x1ce260;if(!_0x2b5063)return!0x1;const _0x42a7b4=_0x401b36['get'](_0x2ea6dc['ICommandService']),_0x18d766=_0x401b36['get'](_0x2ea6dc[_0xede640(0x27e)]),_0x1cf917=_0x401b36[_0xede640(0x15f)](_0x2436f3[_0xede640(0x1ad)]),{displayName:_0x52dd89,subtotalType:_0x1c1884,format:_0x3137c5,tableFieldId:_0x2d3548,pivotTableId:_0x2989c5,unitId:_0x2298e0,subUnitId:_0x4bde45}=_0x2b5063,_0x5f5cb7=(await _0x1cf917[_0xede640(0x1ac)]({'unitId':_0x2298e0,'subUnitId':_0x4bde45,'pivotTableId':_0x2989c5,'params':{'type':_0x27dde0[_0xede640(0x147)],'setPivotSetting':{'tableFieldId':_0x2d3548,'displayName':_0x52dd89,'subtotalType':_0x1c1884,'format':_0x3137c5}}}))[_0xede640(0x325)][_0xede640(0x1d4)];if(!_0x5f5cb7)return!0x1;const {changesets:_0x9bc108,view:_0x3b56aa,pivotTableConfig:_0x1a23c7,isEmpty:_0x29290e}=_0x5f5cb7,_0x18c4ae=_0x1a23c7[_0xede640(0x127)],_0x1db241=new _0x57ab52[(_0xede640(0x179))]();_0x1db241['formJSON'](_0x3b56aa);const _0x12d862={'cellInfo':_0x18c4ae,'view':_0x1db241,'isEmpty':_0x29290e};if(!await _0x401b36[_0xede640(0x15f)](_0x2436f3[_0xede640(0x358)])[_0xede640(0x23d)]['fetchThroughAsyncInterceptors'](_0x59935c)(!0x0,_0x12d862))return!0x1;const _0x2dceb1=_0x53c4f4(_0x401b36,_0x1db241,_0x18c4ae,_0x29290e),_0x3803fc=_0x275086(_0x401b36,_0x12d862),{undos:_0x33a258,redos:_0x4befca}=_0x169eff(_0x42a7b4,{'pivotTableId':_0x2989c5,'unitId':_0x2298e0,'subUnitId':_0x4bde45},_0x9bc108);return _0x2ea6dc['sequenceExecute']([..._0x2dceb1[_0xede640(0x2f7)],..._0x3803fc['redos'],..._0x4befca],_0x42a7b4),_0x18d766[_0xede640(0x1b3)]({'unitID':_0x2298e0,'redoMutations':[..._0x2dceb1[_0xede640(0x2f7)],..._0x3803fc[_0xede640(0x2f7)],..._0x4befca],'undoMutations':[..._0x2dceb1[_0xede640(0x316)],..._0x3803fc[_0xede640(0x316)],..._0x33a258]}),!0x0;}},_0x51ef2d={'type':_0x2ea6dc[_0x1ce260(0x2cc)]['MUTATION'],'id':_0x1ce260(0x1c7),'handler'(_0x5270c3,_0x28f369){const _0x438d80=_0x1ce260;if(!_0x28f369)return!0x1;if(!!_0x5270c3['get'](_0x2ea6dc[_0x438d80(0x228)])[_0x438d80(0x236)](_0x44d37f))return!0x0;const _0x2849c1=_0x5270c3[_0x438d80(0x15f)](_0x2436f3[_0x438d80(0x24f)]),{pivotTableId:_0x3bb4e2,deleteIds:_0xa9828c,collectionJSON:_0x526a73,dataRangeInfo:_0xd6de6,unitId:_0xdaabdc,subUnitId:_0x53307a}=_0x28f369,_0x4e6015=_0x2849c1[_0x438d80(0x376)](_0x3bb4e2),_0x1d4df5=_0x2849c1[_0x438d80(0x384)](_0xdaabdc,_0x53307a,_0x3bb4e2);if(!_0x4e6015||!_0x1d4df5)return!0x1;const {collection:_0x6734a,updateDataFieldList:_0x1f8b4d}=_0x2849c1['addCollectionByJSON'](_0x3bb4e2,_0x526a73,_0xd6de6,_0x1d4df5['targetCellInfo']);_0x2849c1[_0x438d80(0x264)](_0x6734a,_0x1f8b4d,_0xd6de6),_0x4e6015['updateDataFieldsCollection'](_0x6734a);for(const _0x2b2329 of _0xa9828c)_0x2849c1[_0x438d80(0x247)](_0xd6de6[_0x438d80(0x3a4)],_0x2b2329);const _0x29129e=_0x2849c1[_0x438d80(0x384)](_0xdaabdc,_0x53307a,_0x3bb4e2);return _0x29129e[_0x438d80(0x2ba)]=JSON['parse'](JSON[_0x438d80(0x23e)](_0xd6de6)),_0x2849c1[_0x438d80(0x32a)]({'unitId':_0xdaabdc,'subUnitId':_0x53307a,'token':_0x3bb4e2,'type':_0x2b397e[_0x438d80(0x2e9)]}),!0x0;}},_0x17e2b1={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x37f)],'id':_0x1ce260(0x102),async 'handler'(_0x4e7726,_0x58a381){const _0x5b8034=_0x1ce260,_0x37f4d6=_0x4e7726[_0x5b8034(0x15f)](_0x2ea6dc[_0x5b8034(0x15a)]),_0x138945=_0x4e7726[_0x5b8034(0x15f)](_0x2436f3['SheetsPivotRPCService']),_0x4d3b07=_0x4e7726[_0x5b8034(0x15f)](_0x2ea6dc['IUndoRedoService']);if(!_0x58a381)return!0x1;const {token:_0x5f40ad,dataRangeInfo:_0x6e1580,unitId:_0x3fc647,subUnitId:_0xa13a58}=_0x58a381,_0x487bd7=[],_0x3967ed=[],_0x2833f5=(await _0x138945['getPivotDisplayConfig']({'unitId':_0x3fc647,'subUnitId':_0xa13a58,'pivotTableId':_0x5f40ad,'params':{'type':_0x27dde0[_0x5b8034(0xff)],'updatePivotSource':{'dataRangeInfo':_0x6e1580,'unitId':_0x3fc647,'subUnitId':_0xa13a58}}}))[_0x5b8034(0x325)]['updatePivotSource'];if(!_0x2833f5)return!0x1;const {changesets:_0x4bc331,deleteIds:_0x25f065,collectionConfig:_0x58ef46,oldCollectionConfig:_0x512893,view:_0xb000d0,isEmpty:_0x13efdd,pivotTableConfig:_0x51eab6}=_0x2833f5;_0x3967ed['push']({'id':_0x51ef2d['id'],'params':{'pivotTableId':_0x5f40ad,'deleteIds':_0x25f065,'collectionJSON':_0x58ef46,'dataRangeInfo':_0x6e1580,'unitId':_0x3fc647,'subUnitId':_0xa13a58}}),_0x487bd7['unshift']({'id':_0x51ef2d['id'],'params':{'pivotTableId':_0x5f40ad,'deleteIds':[],'collectionJSON':_0x512893,'dataRangeInfo':_0x51eab6[_0x5b8034(0x2ba)],'unitId':_0x3fc647,'subUnitId':_0xa13a58}});const _0x664b5a=_0x51eab6['targetCellInfo'],_0x45f530=new _0x57ab52[(_0x5b8034(0x179))]();_0x45f530[_0x5b8034(0xc6)](_0xb000d0);const _0x98adfa={'cellInfo':_0x664b5a,'view':_0x45f530,'isEmpty':_0x13efdd};if(!await _0x4e7726[_0x5b8034(0x15f)](_0x2436f3['SheetsPivotTableService'])[_0x5b8034(0x23d)]['fetchThroughAsyncInterceptors'](_0x59935c)(!0x0,_0x98adfa))return!0x1;const _0x575a3a=_0x53c4f4(_0x4e7726,_0x45f530,_0x664b5a,_0x13efdd),_0x7b4e66=_0x275086(_0x4e7726,_0x98adfa),{undos:_0x2aeab1,redos:_0x2db76c}=_0x169eff(_0x37f4d6,{'pivotTableId':_0x5f40ad,'unitId':_0x3fc647,'subUnitId':_0xa13a58},_0x4bc331);return _0x2ea6dc[_0x5b8034(0x330)]([..._0x575a3a[_0x5b8034(0x2f7)],..._0x7b4e66['redos'],..._0x3967ed,..._0x2aeab1],_0x37f4d6),_0x4d3b07[_0x5b8034(0x1b3)]({'unitID':_0x3fc647,'redoMutations':[..._0x575a3a['redos'],..._0x7b4e66[_0x5b8034(0x2f7)],..._0x3967ed,..._0x2aeab1],'undoMutations':[..._0x575a3a[_0x5b8034(0x316)],..._0x7b4e66['undos'],..._0x487bd7,..._0x2db76c]}),!0x0;}},_0x345a3e={'type':_0x2ea6dc['CommandType'][_0x1ce260(0x37f)],'id':_0x1ce260(0x291),async 'handler'(_0x50ecf0,_0x18ad65){const _0x69a791=_0x1ce260;if(!_0x18ad65)return!0x1;const _0x48bef0=_0x50ecf0['get'](_0x2ea6dc[_0x69a791(0x15a)]),_0x26bb54=_0x50ecf0[_0x69a791(0x15f)](_0x2436f3['SheetsPivotRPCService']),_0x163a6e=_0x50ecf0['get'](_0x2ea6dc[_0x69a791(0x2f6)]),_0x5dc601=_0x50ecf0[_0x69a791(0x15f)](_0x2ea6dc[_0x69a791(0x27e)]),{pivotTableId:_0x2fcb7b,position:_0x34e13f,index:_0x3fc86e}=_0x18ad65,_0x1d9162=_0x54cce1[_0x69a791(0x2dd)](_0x163a6e);if(!_0x1d9162)return!0x1;const {unitId:_0x11ee1c,subUnitId:_0x279b3a}=_0x1d9162,_0x2e5e22=(await _0x26bb54[_0x69a791(0x1ac)]({'unitId':_0x11ee1c,'subUnitId':_0x279b3a,'pivotTableId':_0x2fcb7b,'params':{'type':_0x27dde0[_0x69a791(0x1f4)],'updateValuePosition':{'position':_0x34e13f,'index':_0x3fc86e}}}))[_0x69a791(0x325)]['updateValuePosition'];if(!_0x2e5e22)return!0x1;const {changesets:_0x2f533d,view:_0x43cb9e,isEmpty:_0x414a68,pivotTableConfig:_0x328f0d}=_0x2e5e22,_0x1886ae=_0x328f0d[_0x69a791(0x127)],_0x40733f=new _0x57ab52[(_0x69a791(0x179))]();_0x40733f['formJSON'](_0x43cb9e);const _0x2b1e90=_0x50ecf0[_0x69a791(0x15f)](_0x2436f3[_0x69a791(0x358)]),_0x356e8c={'cellInfo':_0x1886ae,'view':_0x40733f,'isEmpty':_0x414a68};if(!await _0x2b1e90['asyncInterceptor'][_0x69a791(0x151)](_0x59935c)(!0x0,_0x356e8c))return!0x1;const _0x364a33=_0x53c4f4(_0x50ecf0,_0x40733f,_0x1886ae,_0x414a68),_0x14dca5=_0x275086(_0x50ecf0,_0x356e8c),{undos:_0x558e92,redos:_0x50bec8}=_0x169eff(_0x48bef0,{'pivotTableId':_0x2fcb7b,'unitId':_0x11ee1c,'subUnitId':_0x279b3a},_0x2f533d);return _0x2ea6dc[_0x69a791(0x330)]([..._0x364a33['redos'],..._0x14dca5[_0x69a791(0x2f7)],..._0x50bec8],_0x48bef0),_0x5dc601[_0x69a791(0x1b3)]({'unitID':_0x11ee1c,'redoMutations':[..._0x364a33[_0x69a791(0x2f7)],..._0x14dca5['redos'],..._0x50bec8],'undoMutations':[..._0x364a33[_0x69a791(0x316)],..._0x14dca5['undos'],..._0x558e92]}),!0x0;}},_0x53d8e7={'type':_0x2ea6dc[_0x1ce260(0x2cc)][_0x1ce260(0x3a3)],'id':_0x1ce260(0x2d5),'handler'(){return!0x0;}};var _0x539031=Object[_0x1ce260(0x125)],_0x31eabd=(_0x26e994,_0x4e5168,_0x453214,_0x54e355)=>{const _0x4e1c5c=_0x1ce260;for(var _0x28a8e0=_0x54e355>0x1?void 0x0:_0x54e355?_0x539031(_0x4e5168,_0x453214):_0x4e5168,_0x39bcd4=_0x26e994[_0x4e1c5c(0xac)]-0x1,_0x4f3d45;_0x39bcd4>=0x0;_0x39bcd4--)(_0x4f3d45=_0x26e994[_0x39bcd4])&&(_0x28a8e0=_0x4f3d45(_0x28a8e0)||_0x28a8e0);return _0x28a8e0;},_0x42e9da=(_0x384c65,_0x397361)=>(_0x4ffd2a,_0x165825)=>_0x397361(_0x4ffd2a,_0x165825,_0x384c65);const _0x420d3e=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x3f5b2e=(_0x1c753c,_0x117408,_0x3cac9c)=>{const _0x31c65d=_0x1ce260,_0x5c8f53=_0x1c753c[_0x31c65d(0x1bc)];_0x1c753c['iterateFieldDim'](_0x4138bf=>{const _0x457dab=_0x31c65d,_0x55b7bf=_0x4138bf[_0x457dab(0xb6)](),_0x43d27b=_0x4138bf['getDataFieldId'](),_0x362499=_0x4138bf[_0x457dab(0xd7)](),_0x395ca3=_0x4138bf[_0x457dab(0x226)]();_0x117408[_0x43d27b]&&_0x117408[_0x43d27b]===_0x395ca3&&_0x362499===_0x395ca3&&(_0x1c753c['renameField'](_0x55b7bf,_0x5c8f53[_0x457dab(0x226)](_0x43d27b)),_0x4138bf['setSourceName'](_0x5c8f53[_0x457dab(0x226)](_0x43d27b)));}),_0x1c753c[_0x31c65d(0x18b)](_0x57ab52[_0x31c65d(0x2b4)][_0x31c65d(0xe7)],_0x5d7a2e=>{const _0x4bef95=_0x31c65d,_0x137a31=_0x5d7a2e['getId'](),_0x24e309=_0x5d7a2e[_0x4bef95(0x170)](),_0x37757b=_0x5d7a2e[_0x4bef95(0xd7)](),_0x282f6=_0x5d7a2e['getDisplayName'](),_0x19e4c2=_0x5d7a2e[_0x4bef95(0x2da)](),_0x4c9563=_0x3cac9c(_0x37757b,_0x19e4c2);_0x117408[_0x24e309]&&_0x117408[_0x24e309]===_0x37757b&&_0x4c9563===_0x282f6&&(_0x1c753c[_0x4bef95(0x1ce)](_0x137a31,_0x3cac9c(_0x5c8f53[_0x4bef95(0x226)](_0x24e309),_0x19e4c2)),_0x5d7a2e[_0x4bef95(0x1b1)](_0x5c8f53[_0x4bef95(0x226)](_0x24e309)));});},_0x108f49=(_0x40cf47,_0x3beb33,_0x1c6adc)=>{const _0x38023d=_0x1ce260;var _0x1d7578,_0x5eb207;const {arrayFormulaCellData:_0x48193f,unitData:_0x4a19e8}=_0x3beb33,{unitId:_0x40e0a3,subUnitId:_0x5357ee}=_0x1c6adc,_0x55ad11=_0x1c6adc[_0x38023d(0x34a)],{startColumn:_0x41b119,endColumn:_0x2bbb9f}=_0x55ad11,_0x83036e=(_0x1d7578=_0x48193f==null?void 0x0:_0x48193f[_0x40e0a3])==null?void 0x0:_0x1d7578[_0x5357ee],_0x376ab7=(_0x5eb207=_0x4a19e8==null?void 0x0:_0x4a19e8[_0x40e0a3])==null?void 0x0:_0x5eb207[_0x5357ee],_0x1029f7=new Set(),_0x4ea7cd=_0x2bbb9f-_0x41b119+0x1,{dirtyRanges:_0x565e73}=_0x40cf47;if(_0x565e73)for(const {range:_0x324494,sheetId:_0x59e92d,unitId:_0x538d57}of _0x565e73){if(_0x59e92d!==_0x5357ee||_0x40e0a3!==_0x538d57)continue;const _0x3ac5b4=_0x2ea6dc['Rectangle'][_0x38023d(0x246)](_0x324494,_0x55ad11);if(_0x3ac5b4){const {startColumn:_0x460c24,endColumn:_0x4e397b}=_0x3ac5b4;for(let _0x54ec53=_0x460c24;_0x54ec53<=_0x4e397b;_0x54ec53++)_0x1029f7[_0x38023d(0x112)](_0x54ec53);}}if(_0x1029f7[_0x38023d(0x1a8)]===_0x4ea7cd||_0x1029f7['size']===_0x4ea7cd)return Array[_0x38023d(0x37e)](_0x1029f7);if(_0x376ab7){const _0x14febe=_0x376ab7[_0x38023d(0x142)](),_0x511a03=Object[_0x38023d(0x249)](_0x14febe);for(const _0x2f3aed of _0x511a03){const _0x13f29d=Number(_0x2f3aed),_0x12ae0e=_0x14febe[_0x13f29d];if(_0x1029f7['size']===_0x4ea7cd)break;for(const _0x2a739a in _0x12ae0e){const _0x4bc493=Number(_0x2a739a);_0x4bc493<_0x41b119||_0x4bc493>_0x2bbb9f||_0x1029f7['add'](_0x4bc493);}}}if(_0x83036e){const _0x1c70af=_0x83036e['getMatrix'](),_0x48d352=Object[_0x38023d(0x249)](_0x1c70af);for(const _0x163e78 of _0x48d352){const _0x300077=Number(_0x163e78),_0x53ca8f=_0x1c70af[_0x300077];if(_0x1029f7['size']===_0x4ea7cd)break;for(const _0x49ff2e in _0x53ca8f){const _0x1b488a=Number(_0x49ff2e);_0x1b488a<_0x41b119||_0x1b488a>_0x2bbb9f||_0x1029f7[_0x38023d(0x112)](_0x1b488a);}}}return Array[_0x38023d(0x37e)](_0x1029f7);},_0x846f88=_0xa8e369=>{const _0x4eb9b8=_0x1ce260,_0x561493=new Set(),_0x438cb6=[];for(const _0x30690e of _0xa8e369){const _0x3d8d6e=_0x30690e[_0x4eb9b8(0x348)]+','+_0x30690e[_0x4eb9b8(0x1c2)]+','+_0x30690e[_0x4eb9b8(0x346)]+','+_0x30690e[_0x4eb9b8(0x2e7)];_0x561493[_0x4eb9b8(0x2e4)](_0x3d8d6e)||(_0x561493[_0x4eb9b8(0x112)](_0x3d8d6e),_0x438cb6[_0x4eb9b8(0x33e)](_0x30690e));}return _0x438cb6;};let _0x9f975=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x2c156e,_0x550f1c,_0x240c1f,_0x4bccc6,_0x143cc3){const _0x549ab0=_0x1ce260;super(),_0x3b8258(this,'_globalSubject',new _0x367f13[(_0x549ab0(0x2c0))](!0x0)),_0x3b8258(this,_0x549ab0(0x1fb),_0xc28e60=>{this['_globalSubject']['next'](!0x1);}),_0x3b8258(this,_0x549ab0(0x3a6),_0x1e13f2=>{const _0x2a3eb6=_0x549ab0;this[_0x2a3eb6(0x337)][_0x2a3eb6(0x37a)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x2c156e,this[_0x549ab0(0xd0)]=_0x550f1c,this[_0x549ab0(0x307)]=_0x240c1f,this['_globalComputingSrv']=_0x4bccc6,this[_0x549ab0(0x137)]=_0x143cc3,this[_0x549ab0(0x100)](),this[_0x549ab0(0x222)]());}['_init'](){const _0x3f89dc=_0x1ce260;this[_0x3f89dc(0x230)](),this[_0x3f89dc(0x1a0)](),this[_0x3f89dc(0x205)](),this['_subjectFieldsCollectionChange']();}[_0x1ce260(0x159)](){const _0x29eccc=_0x1ce260;this[_0x29eccc(0x2b9)][_0x29eccc(0x20f)](this[_0x29eccc(0x337)]),_0x57ab52[_0x29eccc(0x113)][_0x29eccc(0x239)](_0x57ab52[_0x29eccc(0x157)][_0x29eccc(0x275)],this[_0x29eccc(0x1fb)]),_0x57ab52[_0x29eccc(0x113)][_0x29eccc(0x239)](_0x57ab52[_0x29eccc(0x157)]['onQueryEnd'],this['_globalComputedEndHelpFunc']);}['_initPivotDataGetListener'](){const _0x4e8d8d=_0x1ce260;this[_0x4e8d8d(0x206)](this['_commandService'][_0x4e8d8d(0x283)](_0x3081b7=>{const _0x47de90=_0x4e8d8d;_0x3081b7['id']===_0x54cce1['MoveRangeMutation']['id']&&this[_0x47de90(0xa7)][_0x47de90(0xf9)](_0x3081b7[_0x47de90(0x299)]);})),this[_0x4e8d8d(0x206)](this[_0x4e8d8d(0x307)][_0x4e8d8d(0x283)](_0x194ccd=>{const _0x21b81e=_0x4e8d8d;if(_0x194ccd['id']!==_0x4755b2['id'])return;const _0x445ac9=_0x194ccd[_0x21b81e(0x299)],{unitId:_0x201485,subUnitId:_0x21372b,pivotTableId:_0x43e154}=_0x445ac9,_0x12344a=_0x445ac9[_0x21b81e(0x299)]['type'],_0xbdb0c0={};switch(_0x12344a){case _0x27dde0[_0x21b81e(0x1a4)]:{const _0x2ec431=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0x18e)];if(!_0x2ec431)return;const {row:_0x5666a9,col:_0x2d5be3,cellData:_0x5f24c1,pivotItemRenderInfoCache:_0xfece48,tableFieldId:_0x1f7de3}=_0x2ec431,_0x418da2=this[_0x21b81e(0xa7)]['getPivotTableInstance'](_0x445ac9[_0x21b81e(0xca)]);if(!_0x418da2||!_0xfece48)return;if(_0x1f7de3){const _0x231106=_0x418da2['getDataFieldByTableId'](_0x1f7de3);if(!_0x231106)return;_0xbdb0c0[_0x21b81e(0x18e)]={..._0x418da2[_0x21b81e(0x8f)](_0x231106),'tableFieldId':_0x1f7de3,'pivotTableId':_0x445ac9[_0x21b81e(0xca)],'filterInfo':_0x418da2[_0x21b81e(0x2eb)](_0x1f7de3),'sortInfo':_0x418da2[_0x21b81e(0x2b2)](_0x1f7de3),'format':_0x418da2['getFieldFormat'](_0x1f7de3)};}else{const _0x2009fc=_0x5c24cd(_0x5666a9,_0x2d5be3,_0x5f24c1,_0x418da2,_0xfece48),_0x442efc=_0x2009fc==null?void 0x0:_0x2009fc[_0x21b81e(0x122)];if(!_0x442efc)return;const _0x125328=_0x418da2[_0x21b81e(0x21a)](_0x442efc);if(!_0x125328)return;_0xbdb0c0[_0x21b81e(0x18e)]={..._0x418da2[_0x21b81e(0x8f)](_0x125328),'tableFieldId':_0x442efc,'pivotTableId':_0x445ac9[_0x21b81e(0xca)],'filterInfo':_0x418da2['getFilterInfo'](_0x442efc),'sortInfo':_0x418da2[_0x21b81e(0x2b2)](_0x442efc),'format':_0x418da2['getFieldFormat'](_0x442efc)};}}break;case _0x27dde0['Panel']:{const _0x46ef01=_0x445ac9['params'][_0x21b81e(0x2f9)];if(!_0x46ef01)return;const {pivotTableId:_0x236a16}=_0x46ef01,_0x579c67=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x376)](_0x236a16);if(!_0x579c67)return;const _0x44cc0f=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x236a16),_0x440c7d=_0x46065d(_0x579c67,_0x236a16,_0x44cc0f);_0xbdb0c0[_0x21b81e(0x2f9)]=_0x440c7d;}break;case _0x27dde0['AddPivotField']:{const _0xa41b1a=this[_0x21b81e(0xa7)]['getPivotTableInstance'](_0x43e154),_0x18527c=this[_0x21b81e(0xa7)][_0x21b81e(0x121)](_0x201485),_0x54ea75=_0x18527c[_0x21b81e(0x95)](_0x43e154);let _0x5e85fa=null;const _0x5ad132=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154),_0x6e4e0d=_0x445ac9['params'][_0x21b81e(0x351)];if(!_0xa41b1a||!_0x5ad132||!_0x6e4e0d)return!0x1;const {dataFieldId:_0x3183c1,fieldArea:_0x5501fb,index:_0xb58b93}=_0x6e4e0d;_0xa41b1a[_0x21b81e(0xda)]();const _0x1acf8c=_0xa41b1a[_0x21b81e(0x2ee)](_0x3183c1,_0x5501fb,_0xb58b93);if(_0x1acf8c&&_0x5501fb===_0x57ab52[_0x21b81e(0x2b4)]['Value']){const _0x3591b2=_0x1acf8c[_0x21b81e(0xb6)](),_0x25fba7=_0xa41b1a[_0x21b81e(0x21a)](_0x3591b2);if(_0x25fba7){const _0x1e991c=_0x25fba7==null?void 0x0:_0x25fba7[_0x21b81e(0x18c)]();_0xa41b1a[_0x21b81e(0x1f5)](_0x1acf8c[_0x21b81e(0xb6)](),_0x1e991c===_0x57ab52['PivotDataFieldDataTypeEnum'][_0x21b81e(0x29c)]?_0x57ab52[_0x21b81e(0x353)]['sum']:_0x57ab52[_0x21b81e(0x353)][_0x21b81e(0x250)]);}const _0x2ce480=_0xa41b1a[_0x21b81e(0x3a7)](),_0x18c7b1=_0xa41b1a['getValuePosition'](),_0x4519e9=_0xa41b1a[_0x21b81e(0x318)](_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0xe7)]);if(_0x2ce480===-0x1&&_0x4519e9>0x1){const _0x292a6b=_0x18c7b1===_0x57ab52['PivotTableValuePositionEnum'][_0x21b81e(0x314)]?_0x57ab52[_0x21b81e(0x12a)][_0x21b81e(0xf3)]:_0x18c7b1,_0x2b1653=_0x292a6b===_0x57ab52['PivotTableValuePositionEnum']['Row']?_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0x1cb)]:_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0xf3)];_0xa41b1a[_0x21b81e(0x375)](_0x292a6b,_0xa41b1a['getFieldCountByArea'](_0x2b1653));}}else{if(_0x1acf8c&&(_0x5501fb===_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0x1cb)]||_0x5501fb===_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0xf3)])){const _0x5d56ed=_0x1acf8c[_0x21b81e(0xb6)](),_0x33e1c5=_0xa41b1a[_0x21b81e(0x21a)](_0x5d56ed);if(_0x33e1c5&&(_0x33e1c5==null?void 0x0:_0x33e1c5[_0x21b81e(0x18c)]())===_0x57ab52[_0x21b81e(0x11b)][_0x21b81e(0x2d2)]){const _0x4a3919=_0x33e1c5['getformat']();if(_0x4a3919&&_0xa41b1a[_0x21b81e(0x167)](_0x1acf8c[_0x21b81e(0xb6)](),_0x4a3919),!_0x54ea75[_0x21b81e(0x187)]()['some'](_0x5e2a33=>{const _0x3d3ec6=_0x21b81e,_0x290963=_0x54ea75[_0x3d3ec6(0x300)](_0x5e2a33);return _0x57ab52[_0x3d3ec6(0x36b)](_0x290963)?_0x290963['getFieldInfo']()[_0x3d3ec6(0x22d)]===_0x3183c1:!0x1;})){const _0xa4f33a=_0x18527c['createDataFieldId'](),_0x47211b=_0x34be33(_0x33e1c5[_0x21b81e(0x14f)],_0x33e1c5[_0x21b81e(0x265)]),_0x5e898=_0x33e1c5['getName']()+_0x21b81e(0x227)+_0x3fca01(this[_0x21b81e(0x137)],_0x47211b),_0xc1debf=new _0x57ab52[(_0x21b81e(0x193))](_0xa4f33a,_0x5e898,_0x57ab52['generateHexNumber'](0x3),_0x33e1c5[_0x21b81e(0xb6)](),_0x47211b);_0x18527c[_0x21b81e(0x2fc)](_0xc1debf),_0x54ea75['addField'](_0xa4f33a,_0x5e898),_0xa41b1a[_0x21b81e(0x2ee)](_0xa4f33a,_0x5501fb,(_0xb58b93!=null?_0xb58b93:0x0)+0x1),_0x5e85fa=_0xc1debf;}}}}const _0x559723=_0xa41b1a[_0x21b81e(0x1fe)](),_0x5ba0a0=_0xa41b1a[_0x21b81e(0x216)]()['toJSON']();let _0x40fc07;if(_0x5e85fa){_0x40fc07=_0x5e85fa['toJSON']();const _0x2fb435=_0x5e85fa[_0x21b81e(0xb6)]();_0x54ea75[_0x21b81e(0x1b2)](_0x2fb435);let _0x21c893=!0x0;for(const _0x78089d in _0x18527c['collections'])if(_0x18527c[_0x21b81e(0x15e)][_0x78089d][_0x21b81e(0x187)]()[_0x21b81e(0x290)](_0x2fb435)){_0x21c893=!0x1;break;}_0x21c893&&_0x18527c['deleteDataField'](_0x2fb435);}const _0x1127e0=_0xa41b1a[_0x21b81e(0x150)]();_0xbdb0c0['addPivotField']={'view':_0x5ba0a0,'changesets':_0x1127e0,'isEmpty':_0x559723,'pivotTableConfig':_0x5ad132,'shouldBeAddedGroupJSON':_0x40fc07};}break;case _0x27dde0[_0x21b81e(0x11e)]:{const _0x571654=_0x445ac9['params']['addPivotTable'];if(!_0x571654)return;const _0x433b76=_0x571654[_0x21b81e(0x2ba)],_0x5dacfe=_0x571654[_0x21b81e(0xca)],{collection:_0x573a98}=this[_0x21b81e(0xa7)]['createCollectionWithDataRange']({'unitId':_0x433b76[_0x21b81e(0x3a4)],'sheetName':_0x433b76[_0x21b81e(0x217)],'subUnitId':_0x433b76['subUnitId'],'range':_0x433b76[_0x21b81e(0x34a)]}),_0x15ba72=new _0x57ab52[(_0x21b81e(0x113))](_0x573a98,void 0x0,_0x5dacfe),_0x4c1d7b=_0x15ba72[_0x21b81e(0x216)](),_0x3f4468=_0x15ba72['toJSON'](),_0x14b58e=_0x573a98[_0x21b81e(0x2c3)]();_0xbdb0c0[_0x21b81e(0x178)]={'view':_0x4c1d7b,'fieldsConfig':_0x3f4468,'collectionConfig':_0x14b58e,'isEmpty':_0x15ba72['isEmpty']()};}break;case _0x27dde0[_0x21b81e(0x16e)]:{const _0x66422f=_0x445ac9['params'][_0x21b81e(0x39e)];if(!_0x66422f)return;const {fieldId:_0x1969de,area:_0x9575a3,index:_0x214d0d}=_0x66422f,_0x5a7ff3=this[_0x21b81e(0xa7)]['getPivotTableConfig'](_0x201485,_0x21372b,_0x43e154);if(!_0x5a7ff3)return;const _0x4eaa4b=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x376)](_0x43e154);if(!_0x4eaa4b)return;_0x4eaa4b[_0x21b81e(0xda)]();const {area:_0x58b4d8,index:_0x35d51a}=_0x4eaa4b[_0x21b81e(0x221)](_0x1969de);if(_0x4eaa4b[_0x21b81e(0x1c3)](_0x1969de,_0x9575a3,_0x214d0d),_0x9575a3===_0x57ab52[_0x21b81e(0x2b4)]['Value']&&_0x4eaa4b['getTableFieldById'](_0x1969de)[_0x21b81e(0x2da)]()===void 0x0){const _0x1b9d17=_0x4eaa4b[_0x21b81e(0x223)](_0x1969de);if(_0x1b9d17&&_0x1b9d17[_0x21b81e(0x2da)]()===void 0x0){const _0x24b711=_0x4eaa4b[_0x21b81e(0x21a)](_0x1969de);if(_0x24b711){const _0x89594a=_0x24b711==null?void 0x0:_0x24b711[_0x21b81e(0x18c)]();_0x4eaa4b[_0x21b81e(0x1f5)](_0x1969de,_0x89594a===_0x57ab52['PivotDataFieldDataTypeEnum'][_0x21b81e(0x29c)]?_0x57ab52[_0x21b81e(0x353)]['sum']:_0x57ab52[_0x21b81e(0x353)][_0x21b81e(0x250)]);}}}const _0x59d799=_0x4eaa4b[_0x21b81e(0x233)](),_0x24fc7d=_0x4eaa4b[_0x21b81e(0x3a7)](),_0xc0e5a=_0x4eaa4b[_0x21b81e(0x318)](_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0xe7)])>0x1;if(_0xc0e5a&&_0x58b4d8===_0x9575a3&&(_0x9575a3===_0x57ab52['PivotTableFiledAreaEnum'][_0x21b81e(0x1cb)]&&_0x59d799===_0x57ab52[_0x21b81e(0x12a)]['Row']||_0x9575a3===_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0xf3)]&&_0x59d799===_0x57ab52[_0x21b81e(0x12a)][_0x21b81e(0xf3)])){let _0x411aba=_0x24fc7d;_0x35d51a<=_0x24fc7d&&_0x411aba--,_0x214d0d<=_0x24fc7d&&_0x411aba++,_0x4eaa4b[_0x21b81e(0x375)](_0x59d799,_0x411aba);}else _0xc0e5a&&(_0x58b4d8===_0x57ab52['PivotTableFiledAreaEnum'][_0x21b81e(0x1cb)]&&_0x59d799===_0x57ab52[_0x21b81e(0x12a)][_0x21b81e(0x1cb)]||_0x58b4d8===_0x57ab52['PivotTableFiledAreaEnum'][_0x21b81e(0xf3)]&&_0x59d799===_0x57ab52['PivotTableValuePositionEnum'][_0x21b81e(0xf3)])&&_0x24fc7d>=_0x35d51a&&_0x4eaa4b[_0x21b81e(0x375)](_0x59d799,_0x24fc7d-0x1),_0xc0e5a&&(_0x9575a3===_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0x1cb)]&&_0x59d799===_0x57ab52['PivotTableValuePositionEnum'][_0x21b81e(0x1cb)]||_0x9575a3===_0x57ab52['PivotTableFiledAreaEnum']['Column']&&_0x59d799===_0x57ab52[_0x21b81e(0x12a)][_0x21b81e(0xf3)])&&_0x24fc7d>=_0x214d0d&&_0x4eaa4b['updateValuePosition'](_0x59d799,_0x24fc7d+0x1);const _0x471d86=_0x4eaa4b[_0x21b81e(0x216)](),_0x1c2cc6=_0x4eaa4b[_0x21b81e(0x1fe)](),_0x30378d=_0x4eaa4b[_0x21b81e(0x150)]();_0xbdb0c0['movePivotField']={'view':_0x471d86[_0x21b81e(0x2c3)](),'changesets':_0x30378d,'isEmpty':_0x1c2cc6,'pivotTableConfig':_0x5a7ff3};}break;case _0x27dde0[_0x21b81e(0x10d)]:{const _0x43d612=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0x329)];if(!_0x43d612)return;const _0x22e22b=_0x43d612[_0x21b81e(0x354)],_0x4c8528=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0x4c8528)return!0x1;const _0x17ba9b=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x43e154);if(!_0x17ba9b)return!0x1;_0x17ba9b[_0x21b81e(0xda)]();for(const _0x4f51eb of _0x22e22b){const {area:_0x2fd52a}=_0x17ba9b['getFieldPositionInfoById'](_0x4f51eb);_0x2fd52a===_0x57ab52['PivotTableFiledAreaEnum'][_0x21b81e(0xe7)]&&_0x17ba9b[_0x21b81e(0x20b)](_0x4f51eb),(_0x2fd52a===_0x57ab52['PivotTableFiledAreaEnum'][_0x21b81e(0x1cb)]||_0x2fd52a===_0x57ab52[_0x21b81e(0x2b4)]['Column'])&&_0x17ba9b['removeValueFilterInfo'](_0x4f51eb),_0x17ba9b[_0x21b81e(0x123)](_0x4f51eb);}const _0x245fba=_0x17ba9b[_0x21b81e(0x1fe)](),_0x50de00=_0x17ba9b[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0x26f210=_0x17ba9b[_0x21b81e(0x150)]();_0xbdb0c0[_0x21b81e(0x329)]={'changesets':_0x26f210,'pivotTableConfig':_0x4c8528,'isEmpty':_0x245fba,'view':_0x50de00};}break;case _0x27dde0[_0x21b81e(0x32c)]:{const _0x287a9e=_0x445ac9[_0x21b81e(0x299)]['setPivotFilter'];if(!_0x287a9e)return;const {tableFieldId:_0x2f9d19,items:_0x1ad28a,isAll:_0x4135a4}=_0x287a9e,_0x3c0293=this[_0x21b81e(0xa7)][_0x21b81e(0x376)](_0x43e154),_0x1cdfc7=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0x3c0293||!_0x1cdfc7)return;_0x3c0293[_0x21b81e(0xda)](),_0x3c0293[_0x21b81e(0x34b)](_0x2f9d19,{'type':_0x57ab52[_0x21b81e(0x34e)][_0x21b81e(0x209)],'list':_0x1ad28a,'isAll':_0x4135a4});const _0x4491ca=_0x3c0293[_0x21b81e(0x1fe)](),_0x17455e=_0x3c0293[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0xd03dd=_0x3c0293[_0x21b81e(0x150)]();_0xbdb0c0[_0x21b81e(0x1fd)]={'view':_0x17455e,'changesets':_0xd03dd,'isEmpty':_0x4491ca,'pivotTableConfig':_0x1cdfc7};}break;case _0x27dde0[_0x21b81e(0x92)]:{const _0xf1f6a7=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0x252)];if(!_0xf1f6a7)return;const {tableFieldId:_0x5d03a5,filterInfo:_0x58c3f6}=_0xf1f6a7,_0x995090=this[_0x21b81e(0xa7)][_0x21b81e(0x376)](_0x43e154),_0x24f0a2=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0x995090||!_0x24f0a2)return;_0x995090[_0x21b81e(0xda)](),_0x995090[_0x21b81e(0xb4)](_0x5d03a5,_0x58c3f6);const _0x224906=_0x995090[_0x21b81e(0x1fe)](),_0xa80c8f=_0x995090[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0x5c4761=_0x995090[_0x21b81e(0x150)]();_0xbdb0c0[_0x21b81e(0x252)]={'view':_0xa80c8f,'changesets':_0x5c4761,'isEmpty':_0x224906,'pivotTableConfig':_0x24f0a2};}break;case _0x27dde0['SetPivotSort']:{const _0xd8a629=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0x33f)];if(!_0xd8a629)return;const {tableFieldId:_0x1829b7,info:_0x3abfd2}=_0xd8a629,_0xe7028d=this[_0x21b81e(0xa7)]['getPivotTableInstance'](_0x43e154),_0x25d3c2=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0xe7028d||!_0x25d3c2)return;_0xe7028d['startCollectChangeset'](),_0xe7028d[_0x21b81e(0x15b)](_0x1829b7,_0x3abfd2);const _0x46e1da=_0xe7028d[_0x21b81e(0x1fe)](),_0x2a9367=_0xe7028d[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0x23b4a9=_0xe7028d[_0x21b81e(0x150)]();_0xbdb0c0['setPivotSort']={'view':_0x2a9367,'changesets':_0x23b4a9,'isEmpty':_0x46e1da,'pivotTableConfig':_0x25d3c2};}break;case _0x27dde0[_0x21b81e(0x147)]:{const _0x3ac469=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0x1d4)];if(!_0x3ac469)return;const {tableFieldId:_0x3d349c,displayName:_0x595c70,subtotalType:_0x4569aa,format:_0x3b3656}=_0x3ac469,_0x114eb6=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x376)](_0x43e154),_0x94a78a=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0x114eb6||!_0x94a78a)return;_0x114eb6['startCollectChangeset'](),_0x595c70!==void 0x0&&_0x114eb6['renameField'](_0x3d349c,_0x595c70),_0x4569aa!==void 0x0&&_0x114eb6[_0x21b81e(0x1f5)](_0x3d349c,_0x4569aa),_0x3b3656!==void 0x0&&_0x114eb6[_0x21b81e(0x167)](_0x3d349c,_0x3b3656);const _0xec9aa7=_0x114eb6[_0x21b81e(0x1fe)](),_0x3324ce=_0x114eb6['query']()[_0x21b81e(0x2c3)](),_0x128c29=_0x114eb6[_0x21b81e(0x150)]();_0xbdb0c0[_0x21b81e(0x1d4)]={'changesets':_0x128c29,'pivotTableConfig':_0x94a78a,'isEmpty':_0xec9aa7,'view':_0x3324ce};}break;case _0x27dde0[_0x21b81e(0xff)]:{const _0x442c69=_0x445ac9[_0x21b81e(0x299)]['updatePivotSource'];if(!_0x442c69)return;const {dataRangeInfo:_0x517433,unitId:_0x2f73e8,subUnitId:_0x235be4}=_0x442c69,_0x51ba7c=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x2f73e8,_0x235be4,_0x43e154),_0x583468=this[_0x21b81e(0xa7)]['getPivotTableInstance'](_0x43e154);if(!this[_0x21b81e(0xa7)][_0x21b81e(0x95)](_0x2f73e8,_0x43e154)||!_0x583468||!_0x51ba7c)return;const _0x369fb9=this[_0x21b81e(0xa7)][_0x21b81e(0x315)](_0x2f73e8,_0x43e154,_0x517433),_0x19759e=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x95)](_0x2f73e8,_0x43e154)['toJSON'](),{collection:_0x1bb2e7}=this[_0x21b81e(0xa7)][_0x21b81e(0x1fc)]({'unitId':_0x517433[_0x21b81e(0x3a4)],'sheetName':_0x517433[_0x21b81e(0x217)],'subUnitId':_0x517433['subUnitId'],'range':_0x517433[_0x21b81e(0x34a)]}),_0x3e8f87=_0x1bb2e7[_0x21b81e(0x2c3)]();_0x583468[_0x21b81e(0xda)]();const _0x4f4199=this[_0x21b81e(0xa7)]['getDataFieldManager'](_0x2f73e8)['getAutoDisplayNameFunction']()||_0x57ab52['getAutoDisplayName'];_0x583468[_0x21b81e(0x200)](_0xea791e=>{const _0x239de0=_0x21b81e,_0x20a1b1=_0xea791e[_0x239de0(0x170)]();if(!_0x1bb2e7[_0x239de0(0x1c4)](_0x20a1b1)){const _0x1cd0d8=_0x1bb2e7[_0x239de0(0x29f)](_0xea791e[_0x239de0(0xd7)]());if(_0x1cd0d8){_0x583468[_0x239de0(0x17c)](_0xea791e['getId'](),_0x1cd0d8['getName'](),_0x1cd0d8['getId']());const {area:_0x5daa57}=_0x583468[_0x239de0(0x221)](_0xea791e['getId']());let _0x27aa38=_0xea791e[_0x239de0(0xd7)]();const _0x592de6=_0xea791e[_0x239de0(0x226)]();if(_0x5daa57===_0x57ab52['PivotTableFiledAreaEnum'][_0x239de0(0xe7)]){const _0x59ae50=_0xea791e[_0x239de0(0x2da)]();_0x27aa38=_0x4f4199(_0x1cd0d8['getName'](),_0x59ae50);}_0x592de6!==_0x27aa38&&_0x583468[_0x239de0(0x1ce)](_0xea791e[_0x239de0(0xb6)](),_0x27aa38);}else _0x583468[_0x239de0(0x123)](_0xea791e['getId']());}});const _0x12c2cd=_0x583468[_0x21b81e(0x1fe)](),_0x42bb4f=_0x583468[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0x34802a=_0x583468[_0x21b81e(0x150)]();_0xbdb0c0['updatePivotSource']={'view':_0x42bb4f,'changesets':_0x34802a,'isEmpty':_0x12c2cd,'pivotTableConfig':_0x51ba7c,'collectionConfig':_0x3e8f87,'oldCollectionConfig':_0x19759e,'deleteIds':_0x369fb9};}break;case _0x27dde0[_0x21b81e(0x1f4)]:{const _0x2559ec=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0x375)];if(!_0x2559ec)return;const {position:_0x25dc55,index:_0x393313}=_0x2559ec,_0x4ef6dc=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0x4ef6dc)return!0x1;const _0x259154=this[_0x21b81e(0xa7)][_0x21b81e(0x376)](_0x43e154);if(!_0x259154)return!0x1;_0x259154[_0x21b81e(0xda)](),_0x259154[_0x21b81e(0x375)](_0x25dc55,_0x393313);const _0x46fef4=_0x259154[_0x21b81e(0x1fe)](),_0x3a2335=_0x259154[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0x8cc2c8=_0x259154['endCollectChangeset']();_0xbdb0c0[_0x21b81e(0x375)]={'changesets':_0x8cc2c8,'pivotTableConfig':_0x4ef6dc,'isEmpty':_0x46fef4,'view':_0x3a2335};}break;case _0x27dde0['SetPivotCollapse']:{const _0x415dcf=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0x23c)];if(!_0x415dcf)return;const {tableFieldId:_0xc16020,collapse:_0x817e6,item:_0x51df90}=_0x415dcf,_0x29d9da=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x376)](_0x43e154),_0x5d8f4c=this[_0x21b81e(0xa7)][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0x29d9da||!_0x5d8f4c)return;_0x29d9da[_0x21b81e(0xda)](),_0x29d9da[_0x21b81e(0x195)](_0xc16020,_0x817e6,_0x51df90);const _0x2ee084=_0x29d9da['isEmpty'](),_0x265d41=_0x29d9da[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0x21f71b=_0x29d9da[_0x21b81e(0x150)]();_0xbdb0c0[_0x21b81e(0x23c)]={'view':_0x265d41,'isEmpty':_0x2ee084,'pivotTableConfig':_0x5d8f4c,'changesets':_0x21f71b};}break;case _0x27dde0[_0x21b81e(0x1bd)]:{const _0x1798f6=_0x445ac9[_0x21b81e(0x299)]['setPivotTableConfig'];if(!_0x1798f6)return;const {pivotTableConfig:_0x4f8a66}=_0x1798f6,_0x158521=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x376)](_0x43e154),_0x232da6=this[_0x21b81e(0xa7)]['getPivotTableConfig'](_0x201485,_0x21372b,_0x43e154);if(!_0x158521||!_0x232da6)return;_0x158521[_0x21b81e(0xda)](),_0x543190(_0x158521,_0x4f8a66);const _0x23892a=_0x158521[_0x21b81e(0x1fe)](),_0x47c574=_0x158521[_0x21b81e(0x216)]()[_0x21b81e(0x2c3)](),_0x189da5=_0x158521['endCollectChangeset']();_0xbdb0c0[_0x21b81e(0x14e)]={'view':_0x47c574,'isEmpty':_0x23892a,'pivotTableConfig':{..._0x232da6,'fieldsConfig':_0x158521[_0x21b81e(0x2c3)]()},'changesets':_0x189da5};}break;case _0x27dde0[_0x21b81e(0x387)]:{const _0x42b7fe=_0x445ac9[_0x21b81e(0x299)][_0x21b81e(0xfb)];if(!_0x42b7fe)return;const _0x3f1def=this[_0x21b81e(0xa7)][_0x21b81e(0x376)](_0x43e154),_0x26ebef=this['_sheetsPivotDataSourceModel'][_0x21b81e(0x384)](_0x201485,_0x21372b,_0x43e154);if(!_0x3f1def||!_0x26ebef)return;_0x3f1def['startCollectChangeset'](),_0x47f80f(_0x3f1def,_0x42b7fe[_0x21b81e(0xa2)]);const _0x4c9d14=_0x3f1def['query']()['toJSON'](),_0x443e3b=_0x3f1def[_0x21b81e(0x150)]();_0xbdb0c0[_0x21b81e(0xfb)]={'view':_0x4c9d14,'isEmpty':!0x0,'pivotTableConfig':{..._0x26ebef,'fieldsConfig':_0x3f1def['toJSON']()},'changesets':_0x443e3b};}break;case _0x27dde0['AddPivotTableWithConfig']:{const _0x195136=_0x445ac9[_0x21b81e(0x299)]['addPivotTableWithConfig'];if(!_0x195136)return;const _0x5c1821=_0x195136[_0x21b81e(0x2ba)],_0x59a602=_0x195136[_0x21b81e(0xca)],{collection:_0x2cd23e}=this[_0x21b81e(0xa7)][_0x21b81e(0x1fc)]({'unitId':_0x5c1821[_0x21b81e(0x3a4)],'sheetName':_0x5c1821[_0x21b81e(0x217)],'subUnitId':_0x5c1821['subUnitId'],'range':_0x5c1821[_0x21b81e(0x34a)]}),_0x5ce3b5=new _0x57ab52[(_0x21b81e(0x113))](_0x2cd23e,void 0x0,_0x59a602),_0xb21a0f=_0x2cd23e[_0x21b81e(0x187)](),{rows:_0x32d708,columns:_0x5bbba1,filters:_0x4bc75e,values:_0x539119}=_0x195136[_0x21b81e(0xf1)];_0x5ce3b5['startCollectChangeset']();for(const {field:_0x2b2157,selectedItems:_0x5e46ab}of _0x32d708||[]){const _0x14f9ef=_0xb21a0f[_0x2b2157];if(_0x14f9ef){const _0xc326c7=_0x5ce3b5[_0x21b81e(0x2ee)](_0x14f9ef,_0x57ab52['PivotTableFiledAreaEnum']['Row']);_0x5e46ab&&_0xc326c7&&_0x5ce3b5[_0x21b81e(0x34b)](_0xc326c7[_0x21b81e(0xb6)](),{'type':_0x57ab52[_0x21b81e(0x34e)]['ManualFilter'],'list':_0x5e46ab,'isAll':!0x1});}}for(const {field:_0x2f9cab,selectedItems:_0x12d0eb}of _0x5bbba1||[]){const _0x1a0be6=_0xb21a0f[_0x2f9cab];if(_0x1a0be6){const _0x140a46=_0x5ce3b5['addFieldWithSourceId'](_0x1a0be6,_0x57ab52['PivotTableFiledAreaEnum']['Column']);_0x12d0eb&&_0x140a46&&_0x5ce3b5[_0x21b81e(0x34b)](_0x140a46[_0x21b81e(0xb6)](),{'type':_0x57ab52[_0x21b81e(0x34e)][_0x21b81e(0x209)],'list':_0x12d0eb,'isAll':!0x1});}}for(const {field:_0x26b618,selectedItems:_0x57fcfc}of _0x4bc75e||[]){const _0x5d1ba5=_0xb21a0f[_0x26b618];if(_0x5d1ba5){const _0x525a02=_0x5ce3b5[_0x21b81e(0x2ee)](_0x5d1ba5,_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0x1a4)]);_0x57fcfc&&_0x525a02&&_0x5ce3b5['setLabelFilterInfo'](_0x525a02[_0x21b81e(0xb6)](),{'type':_0x57ab52[_0x21b81e(0x34e)]['ManualFilter'],'list':_0x57fcfc,'isAll':!0x1});}}for(const {field:_0x1c6af6,subTotalType:_0x480d0c,formatString:_0x51a8e2}of _0x539119||[]){const _0x328d3b=_0x2cd23e[_0x21b81e(0x300)](_0xb21a0f[_0x1c6af6]);if(!_0x328d3b)continue;const _0x275704=_0xb21a0f[_0x1c6af6];if(_0x275704){const _0x481b7e=_0x5ce3b5[_0x21b81e(0x2ee)](_0x275704,_0x57ab52[_0x21b81e(0x2b4)][_0x21b81e(0xe7)]);if(_0x481b7e){if(_0x480d0c!==void 0x0){_0x5ce3b5[_0x21b81e(0x1f5)](_0x481b7e[_0x21b81e(0xb6)](),_0x480d0c);const _0x5dcd2b=this[_0x21b81e(0xa7)][_0x21b81e(0x121)](_0x5c1821[_0x21b81e(0x3a4)])[_0x21b81e(0x204)]()||_0x57ab52[_0x21b81e(0x1e5)],_0x98291d=_0x2cd23e[_0x21b81e(0x226)](_0x275704),_0x396a4c=_0x5dcd2b(_0x98291d,_0x480d0c);_0x5ce3b5[_0x21b81e(0x1ce)](_0x481b7e['getId'](),_0x396a4c);}else{if(_0x328d3b){const _0x1e8031=_0x328d3b==null?void 0x0:_0x328d3b[_0x21b81e(0x18c)]();_0x5ce3b5[_0x21b81e(0x1f5)](_0x481b7e[_0x21b81e(0xb6)](),_0x1e8031===_0x57ab52[_0x21b81e(0x11b)]['number']?_0x57ab52[_0x21b81e(0x353)][_0x21b81e(0x340)]:_0x57ab52[_0x21b81e(0x353)][_0x21b81e(0x250)]);}}_0x51a8e2&&_0x5ce3b5[_0x21b81e(0x167)](_0x481b7e[_0x21b81e(0xb6)](),_0x51a8e2);}}}const _0x4b6fbe=_0x5ce3b5[_0x21b81e(0x216)](),_0x1a3034=_0x5ce3b5[_0x21b81e(0x2c3)](),_0x240166=_0x5ce3b5[_0x21b81e(0x1fe)](),_0x12ec70=_0x5ce3b5[_0x21b81e(0x150)](),_0xc69e58=_0x2cd23e[_0x21b81e(0x2c3)]();_0xbdb0c0[_0x21b81e(0x2a0)]={'view':_0x4b6fbe,'fieldsConfig':_0x1a3034,'collectionConfig':_0xc69e58,'isEmpty':_0x240166,'changesets':_0x12ec70};}break;case _0x27dde0[_0x21b81e(0x269)]:{const _0x17d3ba=_0x5c0597(this['_injector'],_0x445ac9);if(!_0x17d3ba)return;const {range:_0x5db1d6,sourceSubUnitId:_0x470eed,sourceUnitId:_0x2e8286,formatMap:_0x3cc952,indexes:_0x202328}=_0x17d3ba;_0xbdb0c0['drillDown']={'range':_0x5db1d6,'sourceSubUnitId':_0x470eed,'sourceUnitId':_0x2e8286,'formatMap':_0x3cc952,'indexes':_0x202328};}break;}this[_0x21b81e(0x307)][_0x21b81e(0x2d9)](_0x26bb63['id'],{'version':_0x445ac9[_0x21b81e(0x31a)],'result':_0xbdb0c0},{'onlyLocal':!0x0});}));}[_0x1ce260(0x205)](){const _0x17e8da=_0x1ce260;this[_0x17e8da(0x206)](this['_commandService'][_0x17e8da(0x283)](_0x30fc91=>{const _0x1ac66c=_0x17e8da;if(_0x30fc91['id']!==_0x2dd529['id'])return;const _0x157c3a=_0x30fc91[_0x1ac66c(0x299)];return this[_0x1ac66c(0xa7)]['setTextInfo'](_0x157c3a[_0x1ac66c(0x9c)]),!0x0;}));}[_0x1ce260(0x230)](){const _0x61681b=_0x1ce260;this[_0x61681b(0xa7)][_0x61681b(0x144)][_0x61681b(0xeb)](_0x55b7c0=>{const _0xbc67a2=_0x61681b;switch(_0x55b7c0['type']){case _0x5d41e0['add']:_0x55b7c0['dataRangeInfo']&&_0x55b7c0[_0xbc67a2(0x127)]&&this[_0xbc67a2(0x345)](_0x55b7c0[_0xbc67a2(0x24d)],_0x55b7c0[_0xbc67a2(0xe2)],_0x55b7c0[_0xbc67a2(0x127)]);break;case _0x5d41e0['delete']:{const {unitId:_0x383efc,subUnitId:_0x330020,token:_0x17c471}=_0x55b7c0;_0x383efc&&_0x330020&&_0x17c471&&this[_0xbc67a2(0xab)](_0x383efc,_0x330020,_0x17c471);}break;case _0x5d41e0[_0xbc67a2(0x2b5)]:{const {token:_0xa973cc,oldSourceRangeInfo:_0x3377ec,dataRangeInfo:_0x48b39a,targetCellInfo:_0x4334b7}=_0x55b7c0,{unitId:_0x2ed88d,subUnitId:_0x1c80ae}=_0x3377ec||{};_0x2ed88d&&_0x1c80ae&&_0xa973cc&&this[_0xbc67a2(0xab)](_0x2ed88d,_0x1c80ae,_0xa973cc),_0x48b39a&&_0x4334b7&&this[_0xbc67a2(0x345)](_0xa973cc,_0x48b39a,_0x4334b7);}break;}});}[_0x1ce260(0x10c)](){const _0x4e8131=_0x1ce260;this[_0x4e8131(0xa7)][_0x4e8131(0x38e)][_0x4e8131(0xeb)](_0x480813=>{const _0x379a88=_0x4e8131;Object[_0x379a88(0x249)](_0x480813)[_0x379a88(0xe5)](_0x4e1a35=>{const _0x589e72=_0x379a88,_0x502d13=this[_0x589e72(0xa7)][_0x589e72(0x1e2)](_0x4e1a35);if(_0x502d13){const _0x3a2bdd=this['_sheetsPivotDataSourceModel'][_0x589e72(0x384)](_0x502d13==null?void 0x0:_0x502d13[_0x589e72(0x3a4)],_0x502d13==null?void 0x0:_0x502d13[_0x589e72(0x2fa)],_0x4e1a35);_0x3a2bdd&&(this[_0x589e72(0x345)](_0x4e1a35,_0x3a2bdd[_0x589e72(0x2ba)],_0x3a2bdd[_0x589e72(0x127)]),this[_0x589e72(0x30a)]([{'unitId':_0x502d13[_0x589e72(0x3a4)],'subUnitId':_0x502d13['subUnitId'],'token':_0x4e1a35}]));}});});}[_0x1ce260(0x1a0)](){const _0x339602=_0x1ce260;this[_0x339602(0xa7)]['viewData$']['subscribe'](_0x4d9ab9=>{const {unitId:_0x4aad98,subUnitId:_0x204127,pivotTableId:_0x597df6}=_0x4d9ab9;_0x4aad98&&_0x204127&&_0x597df6&&this['triggerDirtyFeature']([{'unitId':_0x4aad98,'subUnitId':_0x204127,'token':_0x597df6}]);});}[_0x1ce260(0x30a)](_0x5ca697){const _0x58e057=_0x1ce260,_0x1b1bde={};_0x5ca697[_0x58e057(0xe5)](_0x5006aa=>{var _0x32c90c,_0x3cdecf;const {unitId:_0x485750,subUnitId:_0x196113,token:_0xc9a9a7}=_0x5006aa;_0x1b1bde[_0x485750]=(_0x32c90c=_0x1b1bde[_0x485750])!=null?_0x32c90c:{},_0x1b1bde[_0x485750][_0x196113]=(_0x3cdecf=_0x1b1bde[_0x485750][_0x196113])!=null?_0x3cdecf:{},_0x1b1bde[_0x485750][_0x196113][_0xc9a9a7]=!0x0;}),this[_0x58e057(0x307)][_0x58e057(0x2d9)](_0x53d8e7['id'],_0x1b1bde);}['removeSourceRangeChange'](_0x2d9b11,_0x38e1b3,_0x183451){const _0x1bcd99=_0x1ce260;this[_0x1bcd99(0xd0)][_0x1bcd99(0x13f)](_0x2d9b11,_0x38e1b3,[_0x183451]);}[_0x1ce260(0x345)](_0x1f77df,_0x246b35,_0x17e747){const _0x2ccf46=_0x1ce260,{unitId:_0x33cdc0,subUnitId:_0x545eb3}=_0x246b35;this[_0x2ccf46(0xd0)]['has'](_0x17e747[_0x2ccf46(0x3a4)],_0x17e747[_0x2ccf46(0x2fa)],_0x1f77df)&&this[_0x2ccf46(0xab)](_0x33cdc0,_0x545eb3,_0x1f77df);const _0xec0b97={'sheetId':_0x545eb3,..._0x246b35};this['_featureCalculationManagerService'][_0x2ccf46(0x12f)](_0x17e747[_0x2ccf46(0x3a4)],_0x17e747[_0x2ccf46(0x2fa)],_0x1f77df,{'unitId':_0x17e747[_0x2ccf46(0x3a4)],'subUnitId':_0x17e747[_0x2ccf46(0x2fa)],'dependencyRanges':[_0xec0b97],'getDirtyData':(_0x57ee38,_0x43078c)=>{const _0x497c96=_0x2ccf46,_0x2c627b=this[_0x497c96(0xa7)],_0x17fda7=_0x2c627b[_0x497c96(0x1e2)](_0x1f77df);if(!_0x17fda7)return _0x420d3e();const {unitId:_0x32ebe8,subUnitId:_0x14f4ec}=_0x17fda7,_0x37c608=_0x108f49(_0x57ee38,_0x43078c,_0x246b35);if(_0x37c608['length']>0x0){const _0x2e5b0c=_0x2c627b['getCollection'](_0x33cdc0,_0x1f77df),_0x7da39c=_0x2e5b0c[_0x497c96(0x187)](),_0x4e472b=this[_0x497c96(0xa1)](_0x246b35[_0x497c96(0x3a4)],_0x246b35[_0x497c96(0x2fa)],_0x43078c),_0x323422={},_0x306e66=this[_0x497c96(0xa7)][_0x497c96(0x121)](_0x32ebe8)['getAutoDisplayNameFunction']()||_0x57ab52[_0x497c96(0x1e5)],_0xa6417d=[];for(const _0x802a04 of _0x37c608){const _0x514bd4=_0x802a04-(_0x246b35[_0x497c96(0x34a)][_0x497c96(0x346)]||0x0),_0x1bafa1=_0x7da39c[_0x514bd4];_0xa6417d[_0x497c96(0x33e)](_0x1bafa1),_0x323422[_0x1bafa1]=_0x2e5b0c[_0x497c96(0x300)](_0x1bafa1)[_0x497c96(0x37d)](),_0x2c627b[_0x497c96(0x121)](_0x33cdc0)[_0x497c96(0xba)](_0x1bafa1,_0x246b35,_0x514bd4,_0x4e472b);}_0x2e5b0c[_0x497c96(0x396)](_0xa6417d)[_0x497c96(0xe5)](_0x5b3d16=>{const _0x50e2e3=_0x497c96,[_0x554349,_0x587181]=_0x5b3d16,_0x17e82b=_0x2e5b0c[_0x50e2e3(0x300)](_0x554349),_0x455ba9=_0x2e5b0c[_0x50e2e3(0x300)](_0x587181);_0x17e82b&&_0x455ba9&&_0x17e82b['refreshGroupField'](_0x455ba9);}),_0x2e5b0c[_0x497c96(0x1ee)]();const _0x42d28d=_0x2c627b['getPivotTableInstance'](_0x1f77df);if(_0x42d28d){_0x3f5b2e(_0x42d28d,_0x323422,_0x306e66),_0x42d28d[_0x497c96(0x39d)](!0x0);const _0x946c24=_0x42d28d[_0x497c96(0x216)](),_0xab0fa1=_0x2c627b[_0x497c96(0x384)](_0x32ebe8,_0x14f4ec,_0x1f77df),_0x14d369=_0x2c627b[_0x497c96(0x121)](_0x33cdc0)['toJSON']();_0x2c627b['updateView'](_0x32ebe8,_0x14f4ec,_0x2b397e['Set'],_0x1f77df,_0x946c24,_0xab0fa1,_0x14d369,!0x0);}}return this['getDirtyInfo'](_0x32ebe8,_0x14f4ec,_0x1f77df);}});}[_0x1ce260(0xa1)](_0x4b06d7,_0x764d80,_0x56e24d){var _0x22f137,_0x42c209;const {arrayFormulaCellData:_0x2d356c,unitData:_0x5c53bd}=_0x56e24d,_0x141064=(_0x22f137=_0x2d356c==null?void 0x0:_0x2d356c[_0x4b06d7])==null?void 0x0:_0x22f137[_0x764d80],_0x3de7c4=(_0x42c209=_0x5c53bd==null?void 0x0:_0x5c53bd[_0x4b06d7])==null?void 0x0:_0x42c209[_0x764d80];return{'arrayFormulaCellDataMatrix':_0x141064,'unitDataMatrix':_0x3de7c4};}[_0x1ce260(0x2f2)](_0x12086c,_0x3aae8d,_0x5a860c){const _0x39c067=_0x1ce260,_0x5a689f=this[_0x39c067(0xa7)]['getViewData'](_0x12086c,_0x3aae8d,_0x5a860c),_0x1624f6=[],_0x104ea1=new _0x2ea6dc[(_0x39c067(0x136))]();if(_0x5a689f){const {rangeCache:_0x10e4ba,matrix:_0x290dda,oldRangeCache:_0x257b9a,oldMatrix:_0x2ecbd2}=_0x5a689f,_0xf03112=_0x1ed362(_0x257b9a),_0x1b3366=_0x1ed362(_0x10e4ba);_0x1624f6[_0x39c067(0x33e)](..._0x1b3366,..._0xf03112),_0x2ecbd2&&_0x257b9a&&_0xf03112[_0x39c067(0xe5)](_0x361cf0=>{const _0x5223be=_0x39c067;for(let _0x25d256=_0x361cf0['startRow'];_0x25d256<=_0x361cf0[_0x5223be(0x1c2)];_0x25d256++)for(let _0x33013b=_0x361cf0[_0x5223be(0x346)];_0x33013b<=_0x361cf0[_0x5223be(0x2e7)];_0x33013b++)_0x104ea1[_0x5223be(0x1cd)](_0x25d256,_0x33013b);}),_0x290dda&&_0x1b3366&&_0x1b3366['forEach'](_0x51bd87=>{const _0x586263=_0x39c067;for(let _0x542fd8=_0x51bd87[_0x586263(0x348)];_0x542fd8<=_0x51bd87['endRow'];_0x542fd8++)for(let _0x5979ce=_0x51bd87[_0x586263(0x346)];_0x5979ce<=_0x51bd87['endColumn'];_0x5979ce++)_0x104ea1[_0x586263(0x2cf)](_0x542fd8,_0x5979ce,_0x290dda[_0x586263(0x244)](_0x542fd8,_0x5979ce));});}const _0x451cc9={};return _0x451cc9[_0x12086c]={[_0x3aae8d]:_0x846f88(_0x1624f6)},{'runtimeCellData':{[_0x12086c]:{[_0x3aae8d]:_0x104ea1}},'dirtyRanges':_0x451cc9};}['dispose'](){}};_0x9f975=_0x31eabd([_0x42e9da(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3['SheetsPivotDataSourceModel'])),_0x42e9da(0x1,_0x2ea6dc['Inject'](_0x735117[_0x1ce260(0x2e5)])),_0x42e9da(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x15a)])),_0x42e9da(0x3,_0x2ea6dc['Inject'](_0x735117['GlobalComputingStatusService'])),_0x42e9da(0x4,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x175)]))],_0x9f975);var _0x4a46f0=Object[_0x1ce260(0x125)],_0x81d17e=(_0x4f5c6d,_0x2fa175,_0x4d4a87,_0x4cbf3a)=>{const _0x2bfc5f=_0x1ce260;for(var _0x11d478=_0x4cbf3a>0x1?void 0x0:_0x4cbf3a?_0x4a46f0(_0x2fa175,_0x4d4a87):_0x2fa175,_0x5d84a2=_0x4f5c6d[_0x2bfc5f(0xac)]-0x1,_0x10e705;_0x5d84a2>=0x0;_0x5d84a2--)(_0x10e705=_0x4f5c6d[_0x5d84a2])&&(_0x11d478=_0x10e705(_0x11d478)||_0x11d478);return _0x11d478;},_0x3600a0=(_0x5bd5a7,_0x1781eb)=>(_0x5cfe8e,_0x36df0e)=>_0x1781eb(_0x5cfe8e,_0x36df0e,_0x5bd5a7);let _0xc0d5fc=class extends _0x2ea6dc['Disposable']{constructor(_0x3f0ced,_0x383e80,_0x33e556,_0x1c467b){const _0x537aa8=_0x1ce260;super(),_0x3b8258(this,'disposableCollection',new _0x2ea6dc['DisposableCollection']()),(this[_0x537aa8(0x22f)]=_0x3f0ced,this['_sheetInterceptorService']=_0x383e80,this[_0x537aa8(0xbb)]=_0x33e556,this['_sheetsPivotTableConfigModel']=_0x1c467b,this[_0x537aa8(0xce)]());}['_initClearSelectionCommandInterceptor'](){const _0x26b7a2=_0x1ce260;this[_0x26b7a2(0x206)](this[_0x26b7a2(0x94)][_0x26b7a2(0x176)]({'getMutations':_0xd9d3a6=>{const _0x3967d7=_0x26b7a2;if(_0xd9d3a6['id']===_0x54cce1['ClearSelectionContentCommand']['id']||_0xd9d3a6['id']===_0x54cce1[_0x3967d7(0x35e)]['id']){const _0x40a277=[],_0x1f9c33=[],_0x4efe27=this[_0x3967d7(0xbb)]['getCurrentSelections']()['map'](_0x4cc863=>_0x4cc863[_0x3967d7(0x34a)]),_0x1cd82d=_0x54cce1[_0x3967d7(0x2dd)](this[_0x3967d7(0x22f)]);if(!_0x1cd82d)return{'redos':[],'undos':[]};const {unitId:_0x5ef4ce,subUnitId:_0x11feab}=_0x1cd82d,_0x42f00d={},_0x2714b7=this[_0x3967d7(0x128)][_0x3967d7(0x323)](_0x5ef4ce,_0x11feab);if(_0x2714b7!=null&&_0x2714b7['size'])for(const [_0x5ebee9,_0x1a183c]of _0x2714b7){const {unitId:_0x54dfb2,subUnitId:_0x3770fb,row:_0x5d00c0,col:_0x38352c}=_0x1a183c[_0x3967d7(0x127)];_0x54dfb2===_0x1cd82d[_0x3967d7(0x3a4)]&&_0x3770fb===_0x1cd82d[_0x3967d7(0x2fa)]&&(_0x42f00d[_0x5d00c0+'-'+_0x38352c]=_0x5ebee9);}return _0x4efe27&&_0x1cd82d&&_0x4efe27[_0x3967d7(0xe5)](_0xca3e9d=>{const _0x38f37d=_0x3967d7;_0x2ea6dc[_0x38f37d(0x30b)]['foreach'](_0xca3e9d,(_0x5442ed,_0x460a7b)=>{const _0x19b2e7=_0x38f37d,_0x503b55=_0x5442ed+'-'+_0x460a7b;if(_0x42f00d[_0x503b55]){const _0x4fce33=_0x42f00d[_0x503b55];_0x40a277[_0x19b2e7(0x33e)]({'id':_0x41d4a9['id'],'params':{'unitId':_0x5ef4ce,'subUnitId':_0x11feab,'pivotTableId':_0x4fce33}});const _0xe2a3fd=this[_0x19b2e7(0x128)][_0x19b2e7(0x95)](_0x5ef4ce,_0x4fce33),_0x218bdb=this[_0x19b2e7(0x128)]['getPivotTableConfig'](_0x5ef4ce,_0x11feab,_0x4fce33);_0x1f9c33[_0x19b2e7(0x33e)]({'id':_0xc0ae46['id'],'params':{'unitId':_0x5ef4ce,'subUnitId':_0x11feab,'pivotTableId':_0x4fce33,'pivotTableConfig':_0x218bdb,'collectionConfig':_0xe2a3fd}});}});}),{'redos':_0x40a277,'undos':_0x1f9c33};}return{'redos':[],'undos':[]};}}));}};_0xc0d5fc=_0x81d17e([_0x3600a0(0x0,_0x2ea6dc[_0x1ce260(0x2f6)]),_0x3600a0(0x1,_0x2ea6dc['Inject'](_0x54cce1[_0x1ce260(0x2c4)])),_0x3600a0(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x54cce1['SheetsSelectionsService'])),_0x3600a0(0x3,_0x2ea6dc['Inject'](_0x2436f3['SheetsPivotTableConfigModel']))],_0xc0d5fc);var _0x180c50=Object[_0x1ce260(0x125)],_0x502131=(_0x35ce68,_0x5267cd,_0x181002,_0x56c1ce)=>{const _0x5dae7d=_0x1ce260;for(var _0x17ca6d=_0x56c1ce>0x1?void 0x0:_0x56c1ce?_0x180c50(_0x5267cd,_0x181002):_0x5267cd,_0x48ff88=_0x35ce68[_0x5dae7d(0xac)]-0x1,_0x2bf674;_0x48ff88>=0x0;_0x48ff88--)(_0x2bf674=_0x35ce68[_0x48ff88])&&(_0x17ca6d=_0x2bf674(_0x17ca6d)||_0x17ca6d);return _0x17ca6d;},_0x15bfa0=(_0x136139,_0x17f571)=>(_0x420f49,_0x15a43d)=>_0x17f571(_0x420f49,_0x15a43d,_0x136139);let _0x45d21d=class extends _0x2ea6dc['Disposable']{constructor(_0x444c3b,_0x30f431,_0x1de9ea,_0x519085,_0x599a92){const _0x327955=_0x1ce260;super(),this[_0x327955(0x94)]=_0x444c3b,this[_0x327955(0x137)]=_0x30f431,this['_univerInstanceService']=_0x1de9ea,this['_sheetsPivotTableConfigModel']=_0x519085,this[_0x327955(0x28b)]=_0x599a92,this[_0x327955(0x365)]();}[_0x1ce260(0x349)](_0x457056,_0x30327c,_0x29dca9){const _0x2c298b=_0x1ce260,{pageView:_0x2445de,cornerView:_0x18bc52,rowView:_0x2edf58,colView:_0x20e366,dataView:_0x1ae6b6}=_0x30327c,_0x269cc4=_0x457056;let _0x76c469;if(_0x29dca9)_0x76c469=[..._0x372fc5(_0x269cc4)];else{const _0x1d5b57=_0x216f0f(_0x269cc4,_0x2445de,!0x0),_0x1ba08a=_0x2445de[_0x2c298b(0x1c1)]>=0x0?_0x2445de[_0x2c298b(0x1c1)]+0x1:0x0,_0xd02d47=_0x18bc52['rowCount'],_0x1cb9fb=_0x18bc52[_0x2c298b(0x381)],_0x5c9f6d=_0x1d5b57['length']>0x0?_0x306f25:0x0,_0x39b805=_0x216f0f({'row':_0x269cc4['row']+_0x1ba08a+_0x5c9f6d,'col':_0x269cc4[_0x2c298b(0x261)]},_0x18bc52,!0x1,!0x1),_0x37e883=_0x216f0f({'row':_0x269cc4[_0x2c298b(0x2f1)]+_0x1ba08a+_0x5c9f6d+_0xd02d47,'col':_0x269cc4[_0x2c298b(0x261)]},_0x2edf58,!0x1,!0x0),_0x2dd082=_0x216f0f({'row':_0x269cc4['row']+_0x1ba08a+_0x5c9f6d,'col':_0x269cc4[_0x2c298b(0x261)]+_0x1cb9fb},_0x20e366,!0x1,!0x0),_0x121471=_0x216f0f({'row':_0x269cc4['row']+_0x1ba08a+_0x5c9f6d+_0xd02d47,'col':_0x269cc4[_0x2c298b(0x261)]+_0x1cb9fb},_0x1ae6b6,!0x1,!0x0);_0x76c469=[..._0x1d5b57,..._0x39b805,..._0x37e883,..._0x2dd082,..._0x121471];}return _0x76c469;}[_0x1ce260(0x365)](){const _0x431cdd=_0x1ce260;this[_0x431cdd(0x206)](this[_0x431cdd(0x28b)]['interceptor'][_0x431cdd(0x1e9)](this[_0x431cdd(0x28b)][_0x431cdd(0xcf)][_0x431cdd(0x282)]()[_0x431cdd(0x322)],{'handler':(_0x44222e,_0x740f1)=>{const _0x1fe188=_0x431cdd,{cellInfo:_0x7901ba,view:_0xe71c71,isEmpty:_0x1c8799}=_0x740f1,_0x16935c=_0x7901ba,{unitId:_0x3485d8,subUnitId:_0x3ba6b5}=_0x16935c,_0x3fa1b3=this[_0x1fe188(0x349)](_0x7901ba,_0xe71c71,_0x1c8799),_0x17cc98=this[_0x1fe188(0x94)][_0x1fe188(0x28e)]({'unitId':_0x3485d8,'subUnitId':_0x3ba6b5,'ranges':_0x3fa1b3}),_0x494a38=_0x8e0cd9(this[_0x1fe188(0x137)],_0x3485d8,_0x3ba6b5,_0x3fa1b3);_0x494a38[_0x1fe188(0x331)]&&(_0x17cc98[_0x1fe188(0x2f7)][_0x1fe188(0x33e)](_0x494a38['setRangeValueRedoMutation']),_0x17cc98[_0x1fe188(0x316)][_0x1fe188(0x33e)](_0x494a38[_0x1fe188(0x2e8)]));const _0x30e48b=this[_0x1fe188(0x313)](_0xe71c71,_0x7901ba);return _0x17cc98[_0x1fe188(0x2f7)][_0x1fe188(0x33e)](..._0x30e48b[_0x1fe188(0x2f7)]),_0x17cc98['undos']['push'](..._0x30e48b[_0x1fe188(0x316)]),{'redos':_0x17cc98[_0x1fe188(0x2f7)],'undos':_0x17cc98[_0x1fe188(0x316)]};}}));}[_0x1ce260(0x313)](_0x580e3f,_0x51893f){const _0x9b6b61=_0x1ce260,{col:_0x17ae4c,unitId:_0x5a19ef,subUnitId:_0x51ff0a}=_0x51893f,_0x26d7e9=[],_0xd010e5=[],_0x5711af=_0x54cce1[_0x9b6b61(0x2dd)](this['_univerInstanceService'],{'unitId':_0x5a19ef,'subUnitId':_0x51ff0a});if(!_0x51893f||!_0x580e3f||!_0x5711af)return{'undos':_0xd010e5,'redos':_0x26d7e9};const _0x2f0d1d=this[_0x9b6b61(0x128)][_0x9b6b61(0x371)](),{colView:_0x766801,dataView:_0xbe9aca,cornerView:_0x2c0b1c,rowView:_0x942fee,formatMap:_0x4cbcd5}=_0x580e3f,_0x3c89dd=_0x2b4358(_0x766801,_0x2f0d1d,!0x0,_0x4cbcd5),_0x1aeef0=_0x2b4358(_0x942fee,_0x2f0d1d,!0x1,_0x4cbcd5),_0x964b8b=_0x10493f(_0xbe9aca),_0x451929=_0x210b1d(_0x2c0b1c),{worksheet:_0x482c91}=_0x5711af;if(typeof window<'u'&&window['document']){const _0x4d3dae=_0x5cd0d0[_0x9b6b61(0x23f)]({..._0x465b05[_0x9b6b61(0x234)]}),_0x3d262d=_0x5cd0d0[_0x9b6b61(0x224)]['getTextSize'](_0x3c89dd,_0x4d3dae)[_0x9b6b61(0x1f9)]+0x10,_0x227858=_0x5cd0d0[_0x9b6b61(0x224)][_0x9b6b61(0x14a)](_0x964b8b,_0x4d3dae)[_0x9b6b61(0x1f9)],_0x3026db=Math[_0x9b6b61(0x162)](Math['max'](_0x3d262d,_0x227858))+0x10,_0x1c4931=Math[_0x9b6b61(0x162)](_0x5cd0d0[_0x9b6b61(0x224)][_0x9b6b61(0x14a)](_0x1aeef0,_0x4d3dae)[_0x9b6b61(0x1f9)]),_0x4f54f0=Math['floor'](_0x5cd0d0[_0x9b6b61(0x224)]['getTextSize'](_0x451929,_0x4d3dae)['width']),_0x27b1cf=Math[_0x9b6b61(0x215)](_0x1c4931,_0x4f54f0,0x28)+0xc,_0x335a34=_0x766801[_0x9b6b61(0x381)]+_0x2c0b1c[_0x9b6b61(0x381)],_0x689d21={},_0x251f50={};for(let _0x83d439=_0x17ae4c;_0x83d439<_0x17ae4c+_0x335a34;_0x83d439++){const _0x230e44=_0x482c91[_0x9b6b61(0x2db)](_0x83d439);_0x689d21[_0x83d439]=_0x230e44,_0x83d439-_0x17ae4c<_0x2c0b1c[_0x9b6b61(0x381)]?_0x251f50[_0x83d439-_0x17ae4c]=_0x27b1cf:_0x251f50[_0x83d439-_0x17ae4c]=_0x3026db;}_0x26d7e9[_0x9b6b61(0x33e)]({'id':_0x54cce1[_0x9b6b61(0x2c5)]['id'],'params':{'subUnitId':_0x51ff0a,'unitId':_0x5a19ef,'ranges':[{'startColumn':_0x17ae4c,'endColumn':_0x17ae4c+_0x335a34-0x1,'startRow':0x0,'endRow':_0x482c91[_0x9b6b61(0x1f3)]()-0x1}],'colWidth':_0x251f50}}),_0xd010e5[_0x9b6b61(0x33e)]({'id':_0x54cce1[_0x9b6b61(0x2c5)]['id'],'params':{'subUnitId':_0x51ff0a,'unitId':_0x5a19ef,'ranges':[{'startColumn':_0x17ae4c,'endColumn':_0x17ae4c+_0x335a34-0x1,'startRow':0x0,'endRow':_0x482c91[_0x9b6b61(0x1f3)]()-0x1}],'colWidth':_0x689d21}});}return{'undos':_0xd010e5,'redos':_0x26d7e9};}};_0x45d21d=_0x502131([_0x15bfa0(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x54cce1[_0x1ce260(0x2c4)])),_0x15bfa0(0x1,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x175)])),_0x15bfa0(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc['IUniverInstanceService'])),_0x15bfa0(0x3,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3[_0x1ce260(0xc2)])),_0x15bfa0(0x4,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3[_0x1ce260(0x358)]))],_0x45d21d);var _0x289ede=Object[_0x1ce260(0x125)],_0x17c65c=(_0x4f37e9,_0x3ee0f8,_0x65d1f0,_0x2505dc)=>{const _0x558a10=_0x1ce260;for(var _0x112b4d=_0x2505dc>0x1?void 0x0:_0x2505dc?_0x289ede(_0x3ee0f8,_0x65d1f0):_0x3ee0f8,_0x4b8047=_0x4f37e9[_0x558a10(0xac)]-0x1,_0x3e1ff3;_0x4b8047>=0x0;_0x4b8047--)(_0x3e1ff3=_0x4f37e9[_0x4b8047])&&(_0x112b4d=_0x3e1ff3(_0x112b4d)||_0x112b4d);return _0x112b4d;},_0x52bc54=(_0xe5dffd,_0x4d4486)=>(_0x2653ef,_0xcef6d2)=>_0x4d4486(_0x2653ef,_0xcef6d2,_0xe5dffd);let _0x196dea=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x254944,_0x16bd7d,_0x1e5e14,_0x127fc3,_0x541cdf,_0x19cc2a,_0x391a3b){const _0x2d8ba6=_0x1ce260;super(),_0x3b8258(this,_0x2d8ba6(0x326),new _0x2ea6dc['DisposableCollection']()),(this[_0x2d8ba6(0x137)]=_0x254944,this[_0x2d8ba6(0x21e)]=_0x16bd7d,this[_0x2d8ba6(0x307)]=_0x1e5e14,this[_0x2d8ba6(0x22f)]=_0x127fc3,this['_sheetsPivotTableConfigModel']=_0x541cdf,this[_0x2d8ba6(0x21f)]=_0x19cc2a,this[_0x2d8ba6(0x94)]=_0x391a3b,this['_onRefRangeChange']());}[_0x1ce260(0x1f2)](){const _0x811ff6=_0x1ce260,_0x18aa42=(_0x36a99a,_0x400c65)=>{const _0x1edac5=_0x15e0,_0x19b9d4=this[_0x1edac5(0x22f)]['getCurrentUnitForType'](_0x2ea6dc[_0x1edac5(0x2de)][_0x1edac5(0x3aa)]);if(!_0x19b9d4||!(_0x19b9d4==null?void 0x0:_0x19b9d4[_0x1edac5(0x12d)](_0x400c65)))return;this[_0x1edac5(0x326)][_0x1edac5(0x98)]();const _0x1d0867=_0x5416de=>this[_0x1edac5(0x2c2)](_0x5416de,_0x36a99a,_0x400c65),_0x4e8bcb=this[_0x1edac5(0x128)][_0x1edac5(0x323)](_0x36a99a,_0x400c65);if(!(_0x4e8bcb!=null&&_0x4e8bcb['size']))return;Array[_0x1edac5(0x37e)](_0x4e8bcb[_0x1edac5(0x2f5)]())['map'](_0x57e075=>{const _0x4072f0=_0x1edac5,{row:_0x496117,col:_0x20b10a}=_0x57e075[_0x4072f0(0x127)];return _0x2ea6dc[_0x4072f0(0x2b8)](_0x496117,_0x20b10a);})[_0x1edac5(0xe5)](_0x5e9335=>{const _0x5e2546=_0x1edac5;this['disposableCollection'][_0x5e2546(0x112)](this[_0x5e2546(0x21e)][_0x5e2546(0xa4)](_0x5e9335,_0x1d0867,_0x36a99a,_0x400c65));});},_0xead91a=()=>{const _0x3919f9=_0x15e0,_0x8067b7=this[_0x3919f9(0x22f)]['getCurrentUnitForType'](_0x2ea6dc[_0x3919f9(0x2de)][_0x3919f9(0x3aa)]);if(_0x8067b7){const _0x3dc35a=_0x8067b7[_0x3919f9(0x27c)]();if(!_0x3dc35a)return;_0x18aa42(_0x8067b7[_0x3919f9(0x392)](),_0x3dc35a[_0x3919f9(0x1d1)]());}};this[_0x811ff6(0x206)](this['_commandService'][_0x811ff6(0x283)](_0x59fd76=>{const _0x32e950=_0x811ff6;if(_0x59fd76['id']===_0x54cce1[_0x32e950(0x18d)]['id']){const _0x59ba98=_0x59fd76[_0x32e950(0x299)],_0x9df45=_0x59ba98[_0x32e950(0x2fa)],_0x48cff0=_0x59ba98[_0x32e950(0x3a4)];if(!_0x9df45||!_0x48cff0)return;_0x18aa42(_0x48cff0,_0x9df45);}})),this[_0x811ff6(0x206)](this[_0x811ff6(0x128)][_0x811ff6(0x14b)][_0x811ff6(0xeb)](_0x352f21=>{_0x352f21&&_0xead91a();})),this[_0x811ff6(0x206)](this[_0x811ff6(0x128)]['pivotConfigChange$'][_0x811ff6(0xeb)](_0xa52c31=>{const _0x1235f7=_0x811ff6,_0x2eb0a8=_0x54cce1['getSheetCommandTarget'](this[_0x1235f7(0x22f)]);if(!_0x2eb0a8)return;const {unitId:_0x5c6303,subUnitId:_0x42d885}=_0x2eb0a8,{unitId:_0x5ef21f,subUnitId:_0x3059d1}=_0xa52c31;_0x5c6303!==_0x5ef21f||_0x42d885!==_0x3059d1||_0x18aa42(_0x5c6303,_0x42d885);})),_0xead91a();}[_0x1ce260(0x2c2)](_0x345adb,_0x1f3935,_0x37804e){const _0x4b1f90=_0x1ce260;switch(_0x345adb['id']){case _0x54cce1[_0x4b1f90(0x212)]['id']:return this[_0x4b1f90(0x285)](_0x345adb[_0x4b1f90(0x299)],_0x1f3935,_0x37804e);}return{'redos':[],'undos':[]};}[_0x1ce260(0x285)](_0x22ef16,_0x279749,_0x727541){const _0x3e751a=_0x1ce260,{fromRange:_0x229a10,toRange:_0x5d63ff}=_0x22ef16,_0x13ae34=[],_0x1f497c=[],_0xec9e20=_0x54cce1[_0x3e751a(0x2dd)](this[_0x3e751a(0x22f)]);if(!_0xec9e20)return{'undos':_0x1f497c,'redos':_0x13ae34};if(_0x279749!==_0xec9e20[_0x3e751a(0x3a4)]||_0x727541!==_0xec9e20['subUnitId'])return{'undos':_0x1f497c,'redos':_0x13ae34};const _0x25805a=this['_sheetsPivotTableConfigModel'][_0x3e751a(0x323)](_0x279749,_0x727541);if(_0x25805a!=null&&_0x25805a['size'])for(const [_0x40bc2a,_0x111c01]of _0x25805a){const {unitId:_0xd5f29f,subUnitId:_0x2aa0af,row:_0x2e9100,col:_0x4f8640}=_0x111c01[_0x3e751a(0x127)];if(_0xd5f29f===_0xec9e20[_0x3e751a(0x3a4)]&&_0x2aa0af===_0xec9e20[_0x3e751a(0x2fa)]){const _0x4cbf54=_0x2ea6dc['cellToRange'](_0x2e9100,_0x4f8640);if(_0x2ea6dc[_0x3e751a(0x196)][_0x3e751a(0x1f0)](_0x4cbf54,_0x229a10)){const _0x186f26=_0x2e9100-_0x229a10[_0x3e751a(0x348)],_0x4a59d0=_0x4f8640-_0x229a10[_0x3e751a(0x346)],_0x58a799={'row':_0x5d63ff[_0x3e751a(0x348)]+_0x186f26,'col':_0x5d63ff[_0x3e751a(0x346)]+_0x4a59d0};_0x13ae34[_0x3e751a(0x33e)]({'id':_0x4f70e5['id'],'params':{'unitId':_0xd5f29f,'subUnitId':_0x2aa0af,'pivotTableId':_0x40bc2a,'targetCellPosition':_0x58a799}}),_0x1f497c['push']({'id':_0x4f70e5['id'],'params':{'unitId':_0xd5f29f,'subUnitId':_0x2aa0af,'pivotTableId':_0x40bc2a,'targetCellPosition':{'row':_0x2e9100,'col':_0x4f8640}}});const _0x2a3aa8=_0x58a799['row']-_0x2e9100,_0x3eff17=_0x58a799[_0x3e751a(0x261)]-_0x4f8640,_0x267150=[],_0x39c6b2=this[_0x3e751a(0x21f)]['getPivotItemRenderInfoCache'](_0xd5f29f,_0x2aa0af,_0x40bc2a),_0x473892=_0x39c6b2==null?void 0x0:_0x39c6b2[_0x3e751a(0x152)];if(_0x473892){Object[_0x3e751a(0x249)](_0x473892)['forEach'](_0x12c7ab=>{const _0x351275=_0x3e751a;_0x473892[_0x12c7ab][_0x351275(0xe5)](_0x527d8e=>{const _0x4cd46a=_0x351275,_0x42be3f={..._0x527d8e};_0x42be3f[_0x4cd46a(0x348)]=_0x527d8e[_0x4cd46a(0x348)]+_0x2a3aa8,_0x42be3f[_0x4cd46a(0x1c2)]=_0x527d8e[_0x4cd46a(0x1c2)]+_0x2a3aa8,_0x42be3f['startColumn']=_0x527d8e[_0x4cd46a(0x346)]+_0x3eff17,_0x42be3f['endColumn']=_0x527d8e[_0x4cd46a(0x2e7)]+_0x3eff17,_0x267150['push'](_0x42be3f);});});const _0xa6bc0f=this[_0x3e751a(0x94)][_0x3e751a(0x28e)]({'unitId':_0xd5f29f,'subUnitId':_0x2aa0af,'ranges':_0x267150});_0x13ae34[_0x3e751a(0x33e)](..._0xa6bc0f[_0x3e751a(0x2f7)]),_0x1f497c[_0x3e751a(0x33e)](..._0xa6bc0f['undos']);const _0x5c02d2=_0x8e0cd9(this[_0x3e751a(0x137)],_0xd5f29f,_0x2aa0af,_0x267150);_0x5c02d2[_0x3e751a(0x331)]&&(_0x13ae34[_0x3e751a(0x33e)](_0x5c02d2['setRangeValueRedoMutation']),_0x1f497c['push'](_0x5c02d2[_0x3e751a(0x2e8)]));}}}}return{'redos':_0x13ae34,'undos':_0x1f497c};}};_0x196dea=_0x17c65c([_0x52bc54(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x175)])),_0x52bc54(0x1,_0x2ea6dc[_0x1ce260(0x305)](_0x54cce1[_0x1ce260(0xbc)])),_0x52bc54(0x2,_0x2ea6dc['ICommandService']),_0x52bc54(0x3,_0x2ea6dc[_0x1ce260(0x2f6)]),_0x52bc54(0x4,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3[_0x1ce260(0xc2)])),_0x52bc54(0x5,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3['SheetsPivotTableAdaptorModel'])),_0x52bc54(0x6,_0x2ea6dc['Inject'](_0x54cce1[_0x1ce260(0x2c4)]))],_0x196dea);var _0x53c6f1=Object['getOwnPropertyDescriptor'],_0x5b29d1=(_0x2512e1,_0x5d24c7,_0x198261,_0x4e18f0)=>{const _0x11549d=_0x1ce260;for(var _0x332af3=_0x4e18f0>0x1?void 0x0:_0x4e18f0?_0x53c6f1(_0x5d24c7,_0x198261):_0x5d24c7,_0x270c56=_0x2512e1[_0x11549d(0xac)]-0x1,_0x33b6c6;_0x270c56>=0x0;_0x270c56--)(_0x33b6c6=_0x2512e1[_0x270c56])&&(_0x332af3=_0x33b6c6(_0x332af3)||_0x332af3);return _0x332af3;},_0xdc7148=(_0x41a4cd,_0x3f49e7)=>(_0x2b2879,_0x974d14)=>_0x3f49e7(_0x2b2879,_0x974d14,_0x41a4cd);let _0x14d96d=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x23cdf5,_0x11ee2c){const _0x2ef176=_0x1ce260;super(),this['_sheetInterceptorService']=_0x23cdf5,this[_0x2ef176(0x128)]=_0x11ee2c,this[_0x2ef176(0x2a1)]();}[_0x1ce260(0x2a1)](){const _0x265b37=_0x1ce260;this[_0x265b37(0x206)](this[_0x265b37(0x94)][_0x265b37(0x176)]({'getMutations':_0x557e23=>{const _0x5224e5=_0x265b37;if(_0x557e23['id']===_0x54cce1[_0x5224e5(0x16f)]['id']){const _0x450d90=[],_0x1fa0bd=[],_0x230b5b=_0x557e23[_0x5224e5(0x299)],{unitId:_0x49394f,subUnitId:_0x374e9b}=_0x230b5b;if(!_0x49394f||!_0x374e9b)return{'undos':_0x1fa0bd,'redos':_0x450d90};const _0x4aebb8=this[_0x5224e5(0x128)][_0x5224e5(0x323)](_0x49394f,_0x374e9b);if(_0x4aebb8!=null&&_0x4aebb8[_0x5224e5(0x1a8)])for(const [_0x92262e,_0x5ebd87]of _0x4aebb8){_0x450d90[_0x5224e5(0x33e)]({'id':_0x41d4a9['id'],'params':{'unitId':_0x49394f,'subUnitId':_0x374e9b,'pivotTableId':_0x92262e}});const _0xf2a5dd={...this[_0x5224e5(0x128)][_0x5224e5(0x95)](_0x49394f,_0x92262e)};_0x1fa0bd['push']({'id':_0xc0ae46['id'],'params':{'unitId':_0x49394f,'subUnitId':_0x374e9b,'pivotTableId':_0x92262e,'pivotTableConfig':_0x5ebd87,'collectionConfig':_0xf2a5dd}});}return{'redos':_0x450d90,'undos':_0x1fa0bd};}return{'redos':[],'undos':[]};}}));}};_0x14d96d=_0x5b29d1([_0xdc7148(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x54cce1['SheetInterceptorService'])),_0xdc7148(0x1,_0x2ea6dc['Inject'](_0x2436f3['SheetsPivotTableConfigModel']))],_0x14d96d);var _0xc3fcd6=Object['getOwnPropertyDescriptor'],_0x105341=(_0x50dfac,_0x3ad7be,_0x5483cd,_0x1285a4)=>{const _0x5dbdb6=_0x1ce260;for(var _0x2f3d1e=_0x1285a4>0x1?void 0x0:_0x1285a4?_0xc3fcd6(_0x3ad7be,_0x5483cd):_0x3ad7be,_0x30d425=_0x50dfac[_0x5dbdb6(0xac)]-0x1,_0x4cd430;_0x30d425>=0x0;_0x30d425--)(_0x4cd430=_0x50dfac[_0x30d425])&&(_0x2f3d1e=_0x4cd430(_0x2f3d1e)||_0x2f3d1e);return _0x2f3d1e;},_0x53e908=(_0x1acb55,_0x18773e)=>(_0x3af34e,_0x28563d)=>_0x18773e(_0x3af34e,_0x28563d,_0x1acb55);let _0x1a375f=class extends _0x2ea6dc[_0x1ce260(0x306)]{constructor(_0x1da16f,_0x3aeaec,_0x327df1,_0x4aef21,_0xc8aeb0,_0x37cdf4){const _0x18d6c7=_0x1ce260;super(),this[_0x18d6c7(0x307)]=_0x1da16f,this[_0x18d6c7(0xf5)]=_0x3aeaec,this['_sheetsPivotTableAdaptorModel']=_0x327df1,this[_0x18d6c7(0x128)]=_0x4aef21,this[_0x18d6c7(0x22f)]=_0xc8aeb0,this[_0x18d6c7(0x2b0)]=_0x37cdf4,this[_0x18d6c7(0x292)](),this['registerDirtyService']();}['_initDataSendListener'](){const _0x250cb5=_0x1ce260;this[_0x250cb5(0x206)](this[_0x250cb5(0x307)][_0x250cb5(0x283)](_0x4a0712=>{const _0x51e568=_0x250cb5;if(_0x4a0712['id']!==_0x26bb63['id'])return;const _0x4a2d01=_0x4a0712[_0x51e568(0x299)];this[_0x51e568(0xf5)]['handleAsyncResponse'](_0x4a2d01);})),this[_0x250cb5(0x206)](this[_0x250cb5(0x307)][_0x250cb5(0x283)](_0x4331da=>{const _0x5dd4d3=_0x250cb5;if(_0x4331da['id']===_0x2195b1['id']){const _0x1f9c27=_0x4331da[_0x5dd4d3(0x299)];if(_0x1f9c27){const {unitId:_0x911427,subUnitId:_0x18e349,oldSubUnitId:_0x4ca9c4,pivotTableId:_0x5a0372,pivotTableConfig:_0x40115b,collectionConfig:_0x5ef259}=_0x1f9c27;this[_0x5dd4d3(0x128)][_0x5dd4d3(0x2dc)](_0x911427,_0x4ca9c4,_0x1f9c27[_0x5dd4d3(0xca)],null),this[_0x5dd4d3(0x128)]['updateConfigCache'](_0x911427,_0x18e349,_0x5a0372,_0x40115b),this[_0x5dd4d3(0x128)][_0x5dd4d3(0x350)](_0x911427,_0x5ef259);}}})),this[_0x250cb5(0x206)](this[_0x250cb5(0x307)]['onCommandExecuted'](_0x2b7586=>{const _0x283d24=_0x250cb5;if(_0x2b7586['id']!==_0x305035['id'])return;const _0x4e9fd4=_0x54cce1[_0x283d24(0x2dd)](this[_0x283d24(0x22f)]);if(!_0x4e9fd4)return;const {unitId:_0x108d39,subUnitId:_0x5459c3}=_0x4e9fd4,_0x3c8b31=_0x2b7586[_0x283d24(0x299)];if(_0x3c8b31[_0x283d24(0x2a8)]&&Object[_0x283d24(0x249)](_0x3c8b31[_0x283d24(0x2a8)])[_0x283d24(0xe5)](_0x5d0ceb=>{const _0x4128c2=_0x283d24;var _0x513887;(_0x513887=_0x3c8b31[_0x4128c2(0x2a8)])!=null&&_0x513887[_0x5d0ceb]&&this[_0x4128c2(0x128)][_0x4128c2(0x350)](_0x5d0ceb,_0x3c8b31[_0x4128c2(0x2a8)][_0x5d0ceb]);}),_0x3c8b31[_0x283d24(0x2ef)]){const _0x151066=_0x3c8b31[_0x283d24(0x2ef)],{unitId:_0x5b55f1,subUnitId:_0x5a3956,view:_0x2bfbaf,pivotTableId:_0x5e0e21,type:_0x2897bc,pivotConfig:_0x350063}=_0x151066;if(_0x2897bc===_0x2b397e[_0x283d24(0x154)])this[_0x283d24(0x21f)]['clearRenderCache']({'unitId':_0x5b55f1,'subUnitId':_0x5a3956,'pivotTableId':_0x5e0e21,'type':_0x2897bc}),this[_0x283d24(0x128)][_0x283d24(0x2dc)](_0x5b55f1,_0x5a3956,_0x5e0e21,null);else{const _0x5d88b1=new _0x57ab52[(_0x283d24(0x179))]();_0x5d88b1[_0x283d24(0xc6)](_0x2bfbaf),this[_0x283d24(0x128)][_0x283d24(0x2dc)](_0x5b55f1,_0x5a3956,_0x5e0e21,_0x350063),this[_0x283d24(0x21f)][_0x283d24(0x31d)]({'unitId':_0x5b55f1,'subUnitId':_0x5a3956,'pivotTableId':_0x5e0e21,'type':_0x2897bc,'view':_0x5d88b1}),this[_0x283d24(0x21f)]['updateRenderCache']({'unitId':_0x5b55f1,'subUnitId':_0x5a3956,'view':_0x5d88b1,'pivotTableId':_0x5e0e21,'type':_0x2897bc});}}else _0x3c8b31['batch']&&(_0x3c8b31[_0x283d24(0x1c0)]['forEach'](_0x3cbc2c=>{const _0x4956cc=_0x283d24,{unitId:_0x104057,subUnitId:_0xb2455e,view:_0x3be188,pivotTableId:_0x15f09b,type:_0x2aa39c,pivotConfig:_0xf73a0f}=_0x3cbc2c,_0x1bab9b=new _0x57ab52['PivotView']();_0x1bab9b[_0x4956cc(0xc6)](_0x3be188),this[_0x4956cc(0x128)]['updateConfigCache'](_0x104057,_0xb2455e,_0x15f09b,_0xf73a0f),this[_0x4956cc(0x21f)][_0x4956cc(0x240)]({'unitId':_0x104057,'subUnitId':_0xb2455e,'view':_0x1bab9b,'pivotTableId':_0x15f09b,'type':_0x2aa39c});}),this[_0x283d24(0x128)][_0x283d24(0xdb)]());this['_sheetsPivotTableAdaptorModel'][_0x283d24(0x1d8)](_0x108d39,_0x5459c3);}));}['registerDirtyService'](){const _0x317794=_0x1ce260;this[_0x317794(0x2b0)]['register'](_0x53d8e7['id'],{'commandId':_0x53d8e7['id'],'getDirtyData'(_0x39c75c){const _0x4938de=_0x317794;return{'dirtyUnitFeatureMap':_0x39c75c[_0x4938de(0x299)]};}});}};_0x1a375f=_0x105341([_0x53e908(0x0,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x15a)])),_0x53e908(0x1,_0x2ea6dc['Inject'](_0x2436f3[_0x1ce260(0x1ad)])),_0x53e908(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3[_0x1ce260(0x190)])),_0x53e908(0x3,_0x2ea6dc[_0x1ce260(0x305)](_0x2436f3[_0x1ce260(0xc2)])),_0x53e908(0x4,_0x2ea6dc['Inject'](_0x2ea6dc[_0x1ce260(0x2f6)])),_0x53e908(0x5,_0x735117[_0x1ce260(0x188)])],_0x1a375f);var _0x566d54=Object[_0x1ce260(0x238)],_0x41e4c2=Object[_0x1ce260(0x125)],_0x4b54d8=(_0x4fffc1,_0x46ec99,_0x3917eb)=>_0x46ec99 in _0x4fffc1?_0x566d54(_0x4fffc1,_0x46ec99,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3917eb}):_0x4fffc1[_0x46ec99]=_0x3917eb,_0x591159=(_0x23a9a0,_0x30c7fe,_0x49e940,_0xdcc3e8)=>{const _0x228fe2=_0x1ce260;for(var _0xd7022b=_0xdcc3e8>0x1?void 0x0:_0xdcc3e8?_0x41e4c2(_0x30c7fe,_0x49e940):_0x30c7fe,_0x237b30=_0x23a9a0[_0x228fe2(0xac)]-0x1,_0x49d457;_0x237b30>=0x0;_0x237b30--)(_0x49d457=_0x23a9a0[_0x237b30])&&(_0xd7022b=_0x49d457(_0xd7022b)||_0xd7022b);return _0xd7022b;},_0x53da62=(_0x7ca7f4,_0x2b727f)=>(_0x4dc14b,_0x4651f0)=>_0x2b727f(_0x4dc14b,_0x4651f0,_0x7ca7f4),_0x3a4912=(_0x574efe,_0x3d75b4,_0x422331)=>_0x4b54d8(_0x574efe,typeof _0x3d75b4!=_0x1ce260(0x259)?_0x3d75b4+'':_0x3d75b4,_0x422331);_0x2436f3[_0x1ce260(0x308)]=class extends _0x2ea6dc['Plugin']{constructor(_0x5a587d=_0x281e26,_0x355686,_0x59058b,_0x181354,_0x4e89f6){const _0x2ebf1c=_0x1ce260;super(),this[_0x2ebf1c(0xcc)]=_0x5a587d,this['_injector']=_0x355686,this[_0x2ebf1c(0x307)]=_0x59058b,this['_configService']=_0x181354,this[_0x2ebf1c(0x108)]=_0x4e89f6;const {..._0x48c383}=_0x2ea6dc['merge']({},_0x281e26,this[_0x2ebf1c(0xcc)]);this[_0x2ebf1c(0x30d)][_0x2ebf1c(0xd3)](_0x2e2cbd,_0x48c383),this['_initRegisterCommand'](),this[_0x2ebf1c(0x296)]();}[_0x1ce260(0x296)](){const _0x1c294b=_0x1ce260;var _0x3f8af0;const _0x53c64e=(_0x3f8af0=this[_0x1c294b(0xcc)])==null?void 0x0:_0x3f8af0[_0x1c294b(0x186)];this[_0x1c294b(0x30d)]['setConfig'](_0x44d37f,_0x53c64e===!0x0);}['onStarting'](){const _0x21f87d=_0x1ce260;var _0x2a5fc9;let _0x310c8c=[];const _0xb66165=(_0x2a5fc9=this['_config'])==null?void 0x0:_0x2a5fc9['notExecuteFormula'];_0xb66165===!0x0?_0x310c8c=[[_0x2436f3[_0x21f87d(0x358)]],[_0x2436f3[_0x21f87d(0x1ad)]],[_0x1a375f],[_0x2436f3[_0x21f87d(0x190)]],[_0x2436f3['SheetsPivotTableConfigModel']],[_0x14d96d],[_0xc0d5fc],[_0x196dea],[_0x45d21d]]:_0xb66165===!0x1?_0x310c8c=[[_0x2436f3[_0x21f87d(0x24f)]],[_0x9f975]]:_0xb66165===void 0x0&&(_0x310c8c=[[_0x2436f3[_0x21f87d(0x24f)]],[_0x9f975],[_0x2436f3['SheetsPivotTableService']],[_0x2436f3['SheetsPivotRPCService']],[_0x1a375f],[_0x2436f3['SheetsPivotTableAdaptorModel']],[_0x2436f3[_0x21f87d(0xc2)]],[_0x14d96d],[_0xc0d5fc],[_0x196dea],[_0x45d21d]]),_0x310c8c[_0x21f87d(0xe5)](_0x40bc78=>this[_0x21f87d(0x137)][_0x21f87d(0x112)](_0x40bc78)),[_0x9f975,_0x1a375f,_0x2436f3[_0x21f87d(0x358)],_0xc0d5fc,_0x14d96d,_0x196dea,_0x45d21d][_0x21f87d(0xe5)](_0x130c0d=>{const _0x357d2e=_0x21f87d;this[_0x357d2e(0x137)]['has'](_0x130c0d)&&this[_0x357d2e(0x137)][_0x357d2e(0x15f)](_0x130c0d);});}[_0x1ce260(0x25c)](){[_0x3f97db,_0x399658,_0x1952a8,_0x1e990a,_0x1052f0,_0x345a3e,_0x2018d2,_0x1ac99c,_0x9f75de,_0x273935,_0xb7a31a,_0x17e2b1,_0x9d31d9,_0x2740dc,_0xc0ae46,_0x5cf659,_0x41d4a9,_0x828f,_0x34d22b,_0x4b2bb7,_0x885462,_0x179e77,_0x14f44c,_0x1e0965,_0x171e75,_0x4bdefb,_0x4f70e5,_0x4755b2,_0x26bb63,_0x305035,_0x576746,_0x4228c4,_0x398643,_0x1585d5,_0x2dd529,_0x51ef2d,_0x2fc136,_0x53d8e7,_0x2195b1,_0x55ac5b,_0x5b61c6,_0x180c8e,_0x26837b]['forEach'](_0x3ecee6=>{const _0xd8f6ba=_0x15e0;var _0x2c2493;(_0x2c2493=this[_0xd8f6ba(0x108)])==null||_0x2c2493[_0xd8f6ba(0x28d)](_0x3ecee6),this['_commandService']['registerCommand'](_0x3ecee6);});}},_0x3a4912(_0x2436f3[_0x1ce260(0x308)],_0x1ce260(0x258),_0x5cfcb5),_0x3a4912(_0x2436f3[_0x1ce260(0x308)],_0x1ce260(0x29d),_0x2ea6dc[_0x1ce260(0x2de)][_0x1ce260(0x3aa)]),_0x2436f3[_0x1ce260(0x308)]=_0x591159([_0x2ea6dc[_0x1ce260(0x1d6)](_0x260b68[_0x1ce260(0xe1)]),_0x53da62(0x1,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x175)])),_0x53da62(0x2,_0x2ea6dc[_0x1ce260(0x305)](_0x2ea6dc[_0x1ce260(0x15a)])),_0x53da62(0x3,_0x2ea6dc[_0x1ce260(0x228)]),_0x53da62(0x4,_0x2ea6dc[_0x1ce260(0x1ba)](_0x421f9e['DataSyncPrimaryController']))],_0x2436f3[_0x1ce260(0x308)]),_0x2436f3[_0x1ce260(0xad)]=_0x1952a8,_0x2436f3[_0x1ce260(0x1f8)]=_0x828f,_0x2436f3[_0x1ce260(0xf0)]=_0x399658,_0x2436f3['AddPivotTableMutation']=_0xc0ae46,_0x2436f3['AddPivotTableWithConfigCommand']=_0x3f97db,_0x2436f3[_0x1ce260(0x1b5)]=_0x306f25,_0x2436f3[_0x1ce260(0x22b)]=_0x547621,_0x2436f3[_0x1ce260(0x1e0)]=_0x1e990a,_0x2436f3[_0x1ce260(0x163)]=_0x9d31d9,_0x2436f3[_0x1ce260(0x1aa)]=_0x27dde0,_0x2436f3[_0x1ce260(0xc5)]=_0x2740dc,_0x2436f3['PivotTableOperationEnum']=_0x2b397e,_0x2436f3['PivotTableViewDirtyMarkOperation']=_0x53d8e7,_0x2436f3[_0x1ce260(0x1e6)]=_0x21e3b6,_0x2436f3['RemovePivotFieldCommand']=_0x1052f0,_0x2436f3['RemovePivotFieldMutation']=_0x179e77,_0x2436f3[_0x1ce260(0x3ad)]=_0x41d4a9,_0x2436f3[_0x1ce260(0x1d3)]=_0x14f44c,_0x2436f3[_0x1ce260(0x31f)]=_0x26837b,_0x2436f3['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x2e2cbd,_0x2436f3[_0x1ce260(0x302)]=_0x5cfcb5,_0x2436f3['SetPivotCollapseCommand']=_0x1ac99c,_0x2436f3['SetPivotCollapseMutation']=_0x1e0965,_0x2436f3[_0x1ce260(0x25d)]=_0x1585d5,_0x2436f3[_0x1ce260(0x2a2)]=_0x180c8e,_0x2436f3[_0x1ce260(0x254)]=_0x273935,_0x2436f3[_0x1ce260(0x241)]=_0x885462,_0x2436f3['SetPivotOptionMutation']=_0x4bdefb,_0x2436f3['SetPivotPositionMutation']=_0x4f70e5,_0x2436f3[_0x1ce260(0x1a5)]=_0x9f75de,_0x2436f3[_0x1ce260(0x1a9)]=_0x171e75,_0x2436f3[_0x1ce260(0x182)]=_0x398643,_0x2436f3[_0x1ce260(0x328)]=_0x55ac5b,_0x2436f3[_0x1ce260(0x272)]=_0x5b61c6,_0x2436f3[_0x1ce260(0x2b7)]=_0x2018d2,_0x2436f3[_0x1ce260(0x27f)]=_0x576746,_0x2436f3[_0x1ce260(0x29e)]=_0xb7a31a,_0x2436f3[_0x1ce260(0x37c)]=_0x2fc136,_0x2436f3[_0x1ce260(0x19a)]=_0x17e2b1,_0x2436f3[_0x1ce260(0xb7)]=_0x51ef2d,_0x2436f3[_0x1ce260(0x16a)]=_0x345a3e,_0x2436f3[_0x1ce260(0x203)]=_0x4228c4,_0x2436f3['applyChangeSet']=_0x169eff,_0x2436f3[_0x1ce260(0x289)]=_0x1bba50,_0x2436f3[_0x1ce260(0x253)]=_0x465b05,_0x2436f3['generateSetRangeValueMutations']=_0x8e0cd9,_0x2436f3[_0x1ce260(0xf7)]=_0x216f0f,_0x2436f3[_0x1ce260(0x2bd)]=_0x372fc5,_0x2436f3[_0x1ce260(0x366)]=_0x264489,_0x2436f3['getInsertRowColMutations']=_0x53c4f4,_0x2436f3['getPivotCellInfo']=_0x5c24cd,_0x2436f3[_0x1ce260(0x134)]=_0x2cff37,_0x2436f3[_0x1ce260(0x382)]=_0x46065d,_0x2436f3[_0x1ce260(0x25a)]=_0x4f6cb1,_0x2436f3[_0x1ce260(0x3a2)]=_0x1ed362,Object[_0x1ce260(0x238)](_0x2436f3,Symbol[_0x1ce260(0x2cb)],{'value':_0x1ce260(0x2a7)});}));function _0x15e0(_0x48064e,_0x22dd08){const _0x235c72=_0x235c();return _0x15e0=function(_0x15e01a,_0x3b243f){_0x15e01a=_0x15e01a-0x8e;let _0x5849e5=_0x235c72[_0x15e01a];return _0x5849e5;},_0x15e0(_0x48064e,_0x22dd08);}function _0x235c(){const _0x2d4c3d=['col','value','sheets-pivot.emptyPivot.values','refreshData','minDate','needSameDeleteModel','SetPivotCollapse','sheet.command.set-pivot-filter','DrillDown','sheets-pivot.cellDateGroupDisplay.hour','getformat','Date','4188qyhXbO','level','cellValue','(Blank)','toString','SetPivotValueFilterMutation','format','pageStyle','onQueryStart','isBottomTotal','CellValueType','GlobalConfig','setRange','DIV_BY_ZERO','getViewData','getActiveSheet','NotNumber','IUndoRedoService','UpdateFieldPositionMutation','fieldsConfig','addRecord','getInterceptPoints','onCommandExecuted','forRow','getRefRangeMutationsByMoveRange','SHEET_PIVOT_IN_MAIN_THREAD','_updateModelCache','isColMultiMeasure','canUsePivot','getSheets','_sheetsPivotTableService','set','registerSyncingMutations','generateMutationsByRanges','valueFilter','includes','sheet.command.update-pivot-value-position','_initDataSendListener','UniverCore','Column\x20','substring','_initConfig','getColumnCount','filterInfo','params','NUMBER','InsertRowMutation','number','type','UpdatePivotFieldSettingCommand','getDataFieldBySourceName','addPivotTableWithConfig','_initRemoveSheetCommandInterceptor','SetPivotFieldsConfigCommand','fields','workbook\x20is\x20not\x20found','fieldId','_pivotTableRangeInfo','Module','collectionConfig','sheets-pivot.countName','sheets.tabs.sheet','isFeatureAuthorizedWithinTime','tableFieldId','dataFieldManagerConfig','sheets-pivot.dateGroup.quarter','sheets-pivot.dateGroup.monthDate','_activeDirtyManagerService','_pivotRenderInfoCache','getSortInfo','sheet.mutation.set-pivot-filter','PivotTableFiledAreaEnum','update','subtotal','UpdateDateGroupCommand','cellToRange','_globalComputingSrv','sourceRangeInfo','dataFieldId','rgb(255,255,255)','getEmptyPivotRanges','NORMAL','AddPivotField','BehaviorSubject','isErrorValue','_refRangeHandle','toJSON','SheetInterceptorService','SetWorksheetColWidthMutation','YearMonthDate','generateNewSheetName','setOptions','isDateValue','rangeKeyMap','toStringTag','CommandType','getPivotTableCellData','grandTotal','setValue','HourMinute','amd','date','sheets-pivot.dateGroup.month','@univerjs/engine-formula','sheet.operation.pivot-table-view-formula-mark-dirty','IResourceManagerService','uniqueDataFieldName','function','executeCommand','getSubtotal','getColumnWidth','updateConfigCache','getSheetCommandTarget','UniverInstanceType','sheets-pivot.cellDateGroupDisplay.hourMinute','split','leftOffset','addCollectionByJSON','sheets-pivot.dateGroup.yearQuarter','has','IFeatureCalculationManagerService','matrix','endColumn','setRangeValueUndoMutation','Set','AddPivotTableWithConfig','getFilterInfo','getUnit','_localeService','addFieldWithSourceId','single','name','row','getDirtyInfo','getDataFieldByDataFieldId','sheet.command.set-pivot-collapse','values','IUniverInstanceService','redos','sheets-pivot.sumName','panel','subUnitId','LifecycleService','addDataFieldWithoutUnitInfo','columnFields','stdDev','sheet.mutation.add-pivot-field','getFieldById','asObservable','SHEET_PIVOT_TABLE_PLUGIN','Min\x20of\x20','#b2b2b2','Inject','Disposable','_commandService','UniverSheetsPivotTablePlugin','prefix','triggerDirtyFeature','Range','sheets-pivot.dateGroup.yearMonthDate','_configService','Year','NUM','concat','_collectionConfigModel','pageRanges','getAutoFitColumnsMutations','None','getUpdateRangeDeleteIds','undos','rowHeaderMap','getFieldCountByArea','data','version','StdDevp\x20of\x20','Month','clearRenderCache','_deletePivotTableInstanceCache','ResetPivotFieldsConfigCommand','colRanges','sheet.command.set-pivot-sort','PIVOT_MUTATION_GENERATE','getSubUnitPivotConfigs','SetFilterInfo','result','disposableCollection','getPivotTableModelConfig','SetPivotValueFilterCommand','removePivotField','addDirtyPivotTable','areaInfo','SetPivotFilter','getCurrentUnitForType','PivotMultipleValueId','initDataRanges','sequenceExecute','shouldClear','getSheetFeatureLimit','getFilterFieldIdByIndex','sheet.mutation.add-pivot-table','filterFields','getPivotPerformCheck','_globalSubject','sheet.mutation.set-pivot-field-subtotal-type','entries','5WdRerZ','dataStyle','registerPluginResource','getSubUnitPivotMatrix','push','setPivotSort','sum','sheets-pivot.value','viewUpdate$','slice','measure','handleSourceRangeChange','startColumn','AddField','startRow','_getPivotAppliedRanges','range','setLabelFilterInfo','sheet.mutation.set-pivot-format','SetValueFilter','PivotFilterTypeEnum','getValueFilterInfos','updateCollectionConfig','addPivotField','getLastRow','PivotSubtotalTypeEnum','fieldIds','sheet.command.move-pivot-table','valueIndex','fetchThroughInterceptors','SheetsPivotTableService','_updatePivotTableInstanceCache','Tools','_configVersion$','getTypeOfUnitDisposed$','getIntersectsPivotTable','ClearSelectionAllCommand','parseInt','INTERCEPTOR_POINT','_pivotInitCompleted$','pivotConfigChange$','SetSubtotalType','varp','_initCommandInterceptListener','getFieldListByArea','collection','sheet.command.update-date-group','@univerjs/rpc','hPcOQYRc\x20rKOH1MQYRc(DYOKczK,\x20MPaDYOjK1)\x20{\x20\x20\x20\x20QH1\x20{\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20DYOKczKSchRFVHQIHHV1\x20=\x20DYOKczK.zMDYQ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20RHYgYcBKzzVgK\x20=\x208Lsy.MVHzK(VQRa(DYOKczKSchRFVHQIHHV1[p]));\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(!RHYgYcBKzzVgK.Pr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RHYgYcBKzzVgK.Pr\x20=\x20yPUaKH(DYOKczKSchRFVHQIHHV1[J]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20Yz3RHlKH\x20=\x20Q1MKRh\x203RHlKHfDRaVDLORMK\x20!==\x20\x27PcrKhYcKr\x27\x20&&\x20zKDh\x20YczQVcOKRh\x203RHlKHfDRaVDLORMK;\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20ORcQKNQ\x20=\x20Yz3RHlKH\x20?\x20zKDh\x20:\x20wYcrRw;\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20UKzzVgK3RHr\x20=\x20ORcQKNQ.__dVzK2J__.MVHzK(DYOKczKSchRFVHQIHHV1[p]);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20UKzzVgK\x20=\x20ORcQKNQ.__5KN__.zQHYcgYh1(UKzzVgK3RHr);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20zYgcVQPHK3RHr\x20=\x20ORcQKNQ.__dVzK2J__.MVHzK(DYOKczKSchRFVHQIHHV1[T]);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20zYgcVQPHK\x20=\x20ORcQKNQ.__5KN__.zQHYcgYh1(zYgcVQPHK3RHr);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20zYgcEVDYr\x20=\x20ORcQKNQ.__kKHYh1__(zYgcVQPHK,\x20UKzzVgK,\x20MPaDYOjK1);\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20rRUVYc\x20=\x20RHYgYcBKzzVgK.rU;\x20\x20\x20\x20\x20\x20\x20\x20hPcOQYRc\x20YziRUVYcBVQOXYcg(RFVQQKHc,\x20R5RzQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20MVQQKHc\x20=\x20RFVQQKHc.HKMDVOK(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20XRzQ\x20=\x20R5RzQ.HKMDVOK(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20MVQQKHcFVHQz\x20=\x20MVQQKHc.zMDYQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20XRzQFVHQz\x20=\x20XRzQ.zMDYQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(!MVQQKHc.YcODPrKz(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20MVQQKHc\x20===\x20XRzQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(MVQQKHcFVHQz.DKcgQX\x20<\x20p\x20||\x20MVQQKHcFVHQz[A]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20hVDzK;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20MVQQKHcLPhhYN\x20=\x20MVQQKHcFVHQz.zDYOK(9).bRYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20XRzQLPhhYN\x20=\x20XRzQFVHQz.zDYOK(-MVQQKHcFVHQz.DKcgQX\x20+\x209).bRYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20MVQQKHcLPhhYN\x20===\x20XRzQLPhhYN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DKQ\x20rRUVYcEVDYr\x20=\x20(rRUVYc\x20&&\x20rRUVYc.DKcgQX)\x20?\x20rRUVYc.zRUK((rUSQKU)\x20=>\x20YziRUVYcBVQOXYcg(rUSQKU,\x20DROVQYRc.XRzQcVUK))\x20:\x20QHPK;\x20\x20\x20\x20\x20\x20\x20\x20Yh\x20(DROVQYRc.XRzQcVUK\x20===\x20\x27DROVDXRzQ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rRUVYcEVDYr\x20=\x20QHPK;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ORczQ\x20kVDYr\x20=\x20zYgcEVDYr\x20&&\x20rRUVYcEVDYr;\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kVDYr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UKzzVgK:\x20RHYgYcBKzzVgK,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20OVQOX\x20(KHHRH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HKQPHc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kVDYr:\x20hVDzK,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UKzzVgK:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','isDateGroupField','getPivotItemRenderInfoCache','fontRenderExtension','PivotCellStyleTypeEnum','subTotalStyle','_exclusiveRangeService','getTextInfo','pivotTableConfigs','createInterceptorKey','error','updateValuePosition','getPivotTableInstance','unshift','adjustSheetCellData','updateDirtyPivotTable','next','rowInfo','UpdatePivotFieldSourceInfoMutation','getName','from','COMMAND','bind','colCount','getPivotTableInfo','node','getPivotTableConfig','RenameField','426707lgkKKp','ResetPivotTable','_requestResolvers','sheets-pivot.dateGroup.year','sheets-pivot.cellDateGroupDisplay.quarter','column','sheet.mutation.set-pivot-sort-info','_viewUpdate$','fieldsCollectionChange$','Var\x20of\x20','UniverSheets','rangeKey','getUnitId','InterceptorManager','YearQuarter','collapseInfo','getGroupFieldsInfoByIds','_viewData$','updateViewData','@univerjs-pro/license','Existing','refreshGroupField','getFormat','setDirty','movePivotField','getCellRaw','splice','sheets-pivot.emptyPivot.row','unionPivotViewRange','MUTATION','unitId','#FFFFFF','_globalComputedEndHelpFunc','getValueIndex','ReleaseType','random','UNIVER_SHEET','generateHexNumber','_getAutoName','RemovePivotTableMutation','RemoveSheetMutation','colInfo','clearExclusiveRangesByGroupId','find','_deleteModelCache','Div0','getDataFieldItemInfo','cornerStyle','14840QmntWE','SetValuePivotFilter','isText','_sheetInterceptorService','getCollection','parse','3icOrNW','dispose','deleteUnitId','306fPOCVm','getFullYear','textInfo','getHeaderMapItem','countNums','sheet.command.add-pivot-table-with-config','sheet.mutation.update-date-group','getMatrixFromRunTimeData','resetArea','Expand','registerRefRange','updateViewInfo','12AtZgOE','_sheetsPivotDataSourceModel','headerMap','_collectionChange$','_textInfo','removeSourceRangeChange','length','AddPivotFieldCommand','_ensurePivotTableRangeInfo','dimension','string','min','getMatrixValue','setName','setValueFilterInfo','sheet.command.move-pivot-field','getId','UpdatePivotTableSourceRangeMutation','ErrorType','sheet.mutation.pivot-update-field-position','refreshDataField','_sheetsSelectionsService','RefRangeService','setRangeKeyMap','pbt','setDateType','sheets-pivot.emptyPivot.filter','DataField','SheetsPivotTableConfigModel','UniverRpc','isNaN','PivotDrillDownCommand','formJSON','isBaseGroupField','sheets-pivot.dateGroup.hourMinute','New','pivotTableId','setDisplayName','_config','sheets-pivot.countNumsName','_initClearSelectionCommandInterceptor','interceptor','_featureCalculationManagerService','getSheetBySheetName','updatePivotTableMatrixInfo','setConfig','hasOwnProperty','getMonth','_dataFieldManagerCollection','getSourceName','#e6ebfa','sheets-pivot.varName','startCollectChangeset','setPivotInitCompleted','unshiftString','InsertSheetUndoMutationFactory','var','SetFieldFormat','rowCount','UniverLicensePlugin','dataRangeInfo','sheet.command.set-pivot-fields-config','rowRanges','forEach','excelDateToUnixMilliseconds','Value','getRangeKeyList','isValue','rgb(240,241,243)','subscribe','_ensurePivotItemRenderValueMatrixCache','NotName','_host','contains','AddPivotTableCommand','pivotTableIndexConfig','sortInfo','Column','Total','_sheetsPivotRpcService','updateView','getAdjustRangesPosition','other','handleMoveRange','sheets-pivot.cellDateGroupDisplay.year','resetPivotTable','sideEffectUpdateWorkerCache','RemoveRowMutation','Collapse','UpdatePivotSource','_init','rangeType','sheet.command.update-pivot-table-source-range','getPivotTableIdByCell','_ensurePivotTableMatrixInfo','BLANK_PLACEHOLDER','DEFAULT_WORKSHEET_ROW_COUNT','Subtotal','_dataSyncPrimaryController','delete','MAX_SAFE_INTEGER','colHeaderMap','_subjectFieldsCollectionChange','RemovePivotField','handleAsyncResponse','_generateUniqueVersion','body','displayName','add','PivotTable','deepClone','Minute','getPivotTableMatrixInfo','updatePivotTableRangeInfo','_queryingMap','getStyles','addField','PivotDataFieldDataTypeEnum','return\x20','broadcastCollectionChange','AddPivotTable','DEFAULT_WORKSHEET_COLUMN_COUNT','UniverEngineFormula','getDataFieldManager','filterId','removeField','info','getOwnPropertyDescriptor','PivotErrorTypeEnum','targetCellInfo','_sheetsPivotTableConfigModel','getIndexesByPathStr','PivotTableValuePositionEnum','sheet.command.add-pivot-field','SetCollapse','getSheetBySheetId','sheet.mutation.set-pivot-position','register','_pivotRenderValueMatrixCache','limit\x20pivot','drillDown','ptn','getPivotInfoByLicense','CELL_CONTENT','ObjectMatrix','_injector','40700oKpTiP','_initLocale','SetPivotSort','MIN_SAFE_INTEGER','NotFunction','rangeCache','existing','remove','serializeRangeWithSpreadsheet','sheet.mutation.set-pivot-option','getMatrix','product','collectionChange$','dataStream','removeCollections','SetPivotSetting','valid','sheets-pivot.blank','getTextSize','pivotInitCompleted$','SetSheetsFilterRangeMutation','sheets-pivot.config','setPivotTableConfig','maxDate','endCollectChangeset','fetchThroughAsyncInterceptors','rangesInfo','queryDirtyPivotTable','Delete','_pivotTableMatrixInfo','Add','PivotCallbackEnum','setPivotTable','_initGlobalComputed','ICommandService','setSortInfo','_toJSON','sheet.mutation.send-pivot-data-local','collections','get','replace','_fieldsCollectionChange$','floor','MovePivotTableCommand','_ensurePivotItemRenderInfoCache','valueFields','object','setFieldFormat','1601988OqREkP','addCollection','UpdatePivotValuePositionCommand','getCellMatrix','Style','3025850hxGNcf','MovePivotField','RemoveSheetCommand','getDataFieldId','Quarter','getRangeKey','updateRangeKeyMap','paths','Injector','interceptCommand','#1d32e9','addPivotTable','PivotView','numfmt','InsertSheetCommand','updateFieldSourceInfo','SetRangeValuesMutation','STRING','Values','sheet.mutation.rename-pivot-field','average','SetPivotSubtotalTypeMutation','LS_CONFIG_KEY','sheet.command.add-pivot-table','PivotDataFieldTypeEnum','notExecuteFormula','getFieldIds','IActiveDirtyManagerService','IExclusiveRangeService','NAME','iterateFieldByArea','getFieldDataType','SetWorksheetActiveOperation','filter','fromJSON','SheetsPivotTableAdaptorModel','_initViewModelBySheetInterceptor','_ensurePivotMap','DateGroupField','setDataRecordCount','setCollapse','Rectangle','getColCount','blank','MonthDate','UpdatePivotTableSourceRangeCommand','PivotTableChangeTypeEnum','map','_initSnapshot','removePivotTable','LocaleService','_subjectViewChange','UpdateSource','sheets-pivot.cellDateGroupDisplay.minute','updateConfig','Filter','SetPivotSortCommand','deleteDataField','sheets-pivot.stdDevpName','size','SetPivotSortMutation','PivotDisplayDataType','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getPivotDisplayConfig','SheetsPivotRPCService','mergeWorksheetSnapshotWithDefault','_model','SetSortInfo','setSourceName','deleteField','pushUndoRedo','UniverEngineRender','BLANK_ROW_COUNT','DataFieldManager','sheet.mutation.remove-group-collection','versions','Subject','Optional','sourceName','dataFieldsCollection','SetPivotTableConfig','generateNullCell','_viewData','batch','lastRow','endRow','updateFieldPosition','hasField','UniverSheetsFilter','forValue','sheet.mutation.update-pivot-table-source-range','some','SHEET_PIVOT_EXCLUSIVE_ID','_pivotConfigChange$','Row','getRangeStartEndInfo','realDeleteValue','renameField','pivotPerformCheck','629338zoRfIH','getSheetId','RemoveSheetsFilterMutation','RenamePivotFieldMutation','setPivotSetting','viewData$','DependentOn','stdDevp','markDirty','isDateGroupFieldJSON','_pivotTableInstanceCache','@univerjs/engine-render','cornerRanges','removeCollectionImp','reduce','Product\x20of\x20','MovePivotFieldCommand','REF','getTargetByPivotId','InterceptorEffectEnum','dataFields','getAutoDisplayName','PositionType','_initUnitDisposed','originTargetInfo','intercept','sheets-pivot.maxName','#f4f4f5','exports','message','updateAllDisplayName','sheets-pivot.dateGroup.hour','intersects','sheet.mutation.send-pivot-config-local','_onRefRangeChange','getRowCount','UpdateValuePosition','setSubtotalType','options','_resourceManagerService','AddPivotFieldMutation','width','generateRandomId','_globalComputedStartHelpFunc','createCollectionWithDataRange','setPivotFilter','isEmpty','removeValueFilterInfo','iterateField','RANGE_TYPE','_markDirty$','UpdateValuePositionMutation','getAutoDisplayNameFunction','_initPivotTextInfo','disposeWithMe','@univerjs/sheets','call','ManualFilter','rowFields','removeValueFilterInfoByValueFieldId','Grand\x20Total','sheet.mutation.get-pivot-data-local','getNoUsedDataFieldIds','pushComputingStatusSubject','Hour','getLastCol','MoveRangeCommand','PivotViewCellValueTypeEnum','PivotDateGroupFieldDateTypeEnum','max','query','sheetName','cornerInfo','sheets-pivot.dateGroup.yearMonth','getDataFieldByTableId','494963ITsxiI','configVersion$','_updateRenderEmptyCache','_refRangeService','_sheetsPivotTableAdaptorModel','getOriginFieldId','getFieldPositionInfoById','_initPivotDataGetListener','getTableFieldById','FontCache','Sum\x20of\x20','getDisplayName','\x20-\x20','IConfigService','ΣValue','rxjs','DEFAULT_PIVOT_NUMBER','dateGroupField','originalFieldId','InsertColMutation','_univerInstanceService','_subjectCollectionChange','isPrefixValue','isDate','getValuePosition','colStyle','sheets-pivot.averageName','getConfig','sheets-pivot.grandTotal','defineProperty','registerCallbackWithEvent','sheet.command.set-pivot-field-setting','_ensureViewDataMap','setPivotCollapse','asyncInterceptor','stringify','getFontStyleString','updateRenderCache','SetPivotFilterMutation','CustomCommandExecutionError','lastCol','getValue','sheets-pivot.subTotal','getIntersects','removeDataField','reset','keys','valuePosition','getSubUnitPivotRenderCache','RemoveColMutation','token','addExclusiveRange','SheetsPivotDataSourceModel','count','_createExclusiveRange','setValuePivotFilter','defaultThemeStyle','SetPivotFilterCommand','prototype','createValueField','getDataFieldByRangeKey','pluginName','symbol','transFromCellValue','sheets-pivot.dateGroup.minute','_initRegisterCommand','SetPivotFieldFormatMutation','createAsyncInterceptorKey','UniverProSheetsPivot','@univerjs/core'];_0x235c=function(){return _0x2d4c3d;};return _0x235c();}
|