@univerjs-pro/engine-formula 0.15.4 → 0.15.5
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/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/license/encrypted-func.d.ts +1 -1
- package/lib/types/license/reverse-mapping.d.ts +41 -41
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4394(_0x54ab58,_0x54dde6){_0x54ab58=_0x54ab58-0x90;const _0x462cab=_0x462c();let _0x43940a=_0x462cab[_0x54ab58];return _0x43940a;}(function(_0x4fce84,_0x3df794){const _0x3493b4=_0x4394,_0x38bfc7=_0x4fce84();while(!![]){try{const _0x2e81e9=-parseInt(_0x3493b4(0x112))/0x1*(parseInt(_0x3493b4(0xd5))/0x2)+-parseInt(_0x3493b4(0x10b))/0x3+parseInt(_0x3493b4(0x131))/0x4*(parseInt(_0x3493b4(0x14a))/0x5)+-parseInt(_0x3493b4(0x122))/0x6+parseInt(_0x3493b4(0x17d))/0x7+parseInt(_0x3493b4(0x117))/0x8+parseInt(_0x3493b4(0x195))/0x9*(-parseInt(_0x3493b4(0xd4))/0xa);if(_0x2e81e9===_0x3df794)break;else _0x38bfc7['push'](_0x38bfc7['shift']());}catch(_0x39d2dc){_0x38bfc7['push'](_0x38bfc7['shift']());}}}(_0x462c,0x978c3),function(_0x2094e0,_0x54b1cb){const _0x5f21a8=_0x4394;typeof exports==_0x5f21a8(0xae)&&typeof module<'u'?_0x54b1cb(exports,require('@univerjs/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0x5f21a8(0x111)&&define[_0x5f21a8(0x15c)]?define([_0x5f21a8(0x105),_0x5f21a8(0xee),_0x5f21a8(0xe5),_0x5f21a8(0x137)],_0x54b1cb):(_0x2094e0=typeof globalThis<'u'?globalThis:_0x2094e0||self,_0x54b1cb(_0x2094e0['UniverProEngineFormula']={},_0x2094e0['UniverEngineFormula'],_0x2094e0[_0x5f21a8(0xc1)],_0x2094e0[_0x5f21a8(0xea)]));}(this,function(_0x305b8d,_0xf65b16,_0x68c09b,_0x368c08){'use strict';const _0x29bc89=_0x4394;var _0x3884ca=Object[_0x29bc89(0x155)],_0xc8b394=(_0xdf63aa,_0x5a26c2,_0x117ea7)=>_0x5a26c2 in _0xdf63aa?_0x3884ca(_0xdf63aa,_0x5a26c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x117ea7}):_0xdf63aa[_0x5a26c2]=_0x117ea7,_0x55d84e=(_0x180533,_0x676278,_0x370fb1)=>_0xc8b394(_0x180533,typeof _0x676278!=_0x29bc89(0x15e)?_0x676278+'':_0x676278,_0x370fb1);class _0x5c3850 extends _0xf65b16[_0x29bc89(0xa2)]{constructor(){const _0x54c271=_0x29bc89;super(...arguments),_0x55d84e(this,'_hasNewExcelFunction',!0x1),_0x55d84e(this,_0x54c271(0x19f),new Set()),_0x55d84e(this,_0x54c271(0x100),_0x54c271(0xc4)),_0x55d84e(this,_0x54c271(0x151),_0x54c271(0xa0)),_0x55d84e(this,_0x54c271(0x124),'');}[_0x29bc89(0x184)](){const _0x1c7252=_0x29bc89;this[_0x1c7252(0x100)]='_xlpm.',this[_0x1c7252(0x151)]=_0x1c7252(0xa0);}[_0x29bc89(0xc3)](){const _0x56a51c=_0x29bc89;this[_0x56a51c(0x100)]='',this[_0x56a51c(0x151)]='';}[_0x29bc89(0xb4)](_0x1bb677,_0xbb132e){const _0x5ed964=_0x29bc89,_0x4639d9=this['treeBuilder'](_0x1bb677,!0x1);if(!_0x4639d9||_0x4639d9===_0xf65b16[_0x5ed964(0x106)]['VALUE']||Array[_0x5ed964(0x9e)](_0x4639d9))return null;const _0x5802d3=[];return this['_hasNewExcelFunction']=!0x1,this[_0x5ed964(0x17a)](_0x4639d9,_0x5802d3,_0xbb132e),this[_0x5ed964(0xd6)]?'='+_0x5802d3[_0x5ed964(0xa1)](''):null;}[_0x29bc89(0x17a)](_0x1f883d,_0x1cd616,_0x357174){const _0x593e4c=_0x29bc89,_0x530e93=_0x1f883d['getToken'](),_0x11a66e=_0x530e93[_0x593e4c(0xad)](),_0x16752e=_0x11a66e['toUpperCase'](),_0x31a2ec=this['_clearFunctionString'](_0x16752e),_0x1e9edc=_0x357174(_0x31a2ec);let _0x377d5e=0x0;_0x530e93===_0xf65b16[_0x593e4c(0xcf)]?_0x377d5e=0x3:_0x530e93===_0xf65b16[_0x593e4c(0x118)]?_0x377d5e=0x4:_0x530e93===_0xf65b16[_0x593e4c(0x199)]?_0x377d5e=0x5:_0xf65b16[_0x593e4c(0x10e)][_0x593e4c(0xb5)](_0x31a2ec)?(_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x151)]+_0x11a66e),this[_0x593e4c(0xd6)]=!0x0):_0x16752e===_0xf65b16[_0x593e4c(0x11b)]?(_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x151)]+_0x11a66e),this[_0x593e4c(0xd6)]=!0x0,_0x377d5e=0x2):_0x16752e===_0xf65b16[_0x593e4c(0xd9)]?(_0x1cd616['push'](''+this[_0x593e4c(0x151)]+_0x11a66e),this[_0x593e4c(0xd6)]=!0x0,_0x377d5e=0x1):_0x16752e===_0xf65b16[_0x593e4c(0xfd)][_0x593e4c(0xf8)]?_0x377d5e=0x8:_0xf65b16[_0x593e4c(0xcc)][_0x593e4c(0xb5)](_0x16752e)?_0x377d5e=0x7:_0x16752e===_0xf65b16[_0x593e4c(0x13c)][_0x593e4c(0x156)]?(this[_0x593e4c(0x139)](_0x1f883d)&&(_0x377d5e=0x9),_0x1cd616[_0x593e4c(0x98)](_0x530e93)):(_0x1cd616[_0x593e4c(0x98)](_0x530e93),_0x377d5e=0xa),_0x1e9edc?(_0x377d5e!==0x2&&_0x377d5e!==0x1&&(_0x377d5e=0x6),_0x1cd616['push']('(')):_0x377d5e===0x9&&_0x1cd616[_0x593e4c(0x98)]('(');const _0x432970=_0x1f883d[_0x593e4c(0xcd)](),_0x47f1e7=_0x432970[_0x593e4c(0x12d)];if(_0x377d5e===0x2){const _0x4e472b=_0x432970[0x0];let _0x389895=0x0;_0x4e472b instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x4e472b[_0x593e4c(0xc5)]()===_0xf65b16[_0x593e4c(0x199)]&&(_0x389895=0x1);for(let _0x54a4b7=_0x389895;_0x54a4b7<_0x47f1e7-0x1;_0x54a4b7++){const _0x54a13d=_0x432970[_0x54a4b7];if(_0x54a13d instanceof _0xf65b16['LexerNode']){const _0x367b69=_0x54a13d[_0x593e4c(0xcd)]()[0x0];typeof _0x367b69=='string'&&(this[_0x593e4c(0x19f)][_0x593e4c(0xb5)](_0x367b69)&&console[_0x593e4c(0x12a)](_0x593e4c(0xaa)+_0x367b69+_0x593e4c(0x19a)),this[_0x593e4c(0x19f)]['add'](_0x367b69),_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x100)]+_0x367b69),this[_0x593e4c(0xd6)]=!0x0);}_0x1cd616['push'](',');}this[_0x593e4c(0x16e)](_0x432970[_0x47f1e7-0x1],_0x1cd616,_0x357174),_0x389895===0x1&&(_0x1cd616[_0x593e4c(0x98)](')'),_0x1cd616[_0x593e4c(0x98)]('('),this['_generateNewFunctionString'](_0x4e472b,_0x1cd616,_0x357174)),_0x1cd616[_0x593e4c(0x98)](')');return;}else{if(_0x377d5e===0x1){for(let _0x14a5c1=0x0;_0x14a5c1<_0x47f1e7-0x1;_0x14a5c1++){const _0x10f1ef=_0x432970[_0x14a5c1];if(_0x10f1ef instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x14a5c1%0x2===0x0){const _0x46897d=_0x10f1ef['getChildren']()[0x0];if(typeof _0x46897d=='string'){this[_0x593e4c(0x19f)][_0x593e4c(0xb5)](_0x46897d)&&console[_0x593e4c(0x12a)](_0x593e4c(0x192)+_0x46897d+_0x593e4c(0x19a)),this[_0x593e4c(0x19f)][_0x593e4c(0x11e)](_0x46897d),_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x100)]+_0x46897d),this[_0x593e4c(0xd6)]=!0x0,_0x1cd616['push'](',');continue;}}if(this[_0x593e4c(0x16e)](_0x10f1ef,_0x1cd616,_0x357174),_0x10f1ef instanceof _0xf65b16[_0x593e4c(0x18d)]){const _0x5be894=_0x432970[_0x14a5c1+0x1];_0x5be894&&_0x5be894 instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x1cd616[_0x593e4c(0x98)](',');}}this[_0x593e4c(0x16e)](_0x432970[_0x47f1e7-0x1],_0x1cd616,_0x357174),_0x1cd616['push'](')');return;}else{if(_0x377d5e===0x8){const _0x534bee=_0x432970[0x0],_0x134bf0=_0x432970[0x1];this['_handleNewFunctionChild'](_0x534bee,_0x1cd616,_0x357174),_0x1cd616[_0x593e4c(0x98)](_0x530e93),this[_0x593e4c(0x16e)](_0x134bf0,_0x1cd616,_0x357174);return;}}}for(let _0x3c57a3=0x0;_0x3c57a3<_0x47f1e7;_0x3c57a3++){const _0x10766e=_0x432970[_0x3c57a3];if(this[_0x593e4c(0x16e)](_0x10766e,_0x1cd616,_0x357174),_0x10766e instanceof _0xf65b16[_0x593e4c(0x18d)]){const _0x2311bc=_0x432970[_0x3c57a3+0x1];_0x2311bc&&_0x2311bc instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x1cd616[_0x593e4c(0x98)](',');}}_0x377d5e===0x7&&_0x1cd616[_0x593e4c(0x98)](_0x530e93),(_0x1e9edc||_0x377d5e===0x9)&&_0x1cd616[_0x593e4c(0x98)](')');}[_0x29bc89(0x16e)](_0x1d194a,_0x20d84c,_0x5a45f2){const _0x4c7ae5=_0x29bc89;_0x1d194a instanceof _0xf65b16[_0x4c7ae5(0x18d)]?this[_0x4c7ae5(0x17a)](_0x1d194a,_0x20d84c,_0x5a45f2):this[_0x4c7ae5(0x19f)]['has'](_0x1d194a)?(_0x20d84c[_0x4c7ae5(0x98)](''+this[_0x4c7ae5(0x100)]+_0x1d194a),this[_0x4c7ae5(0xd6)]=!0x0):_0x20d84c[_0x4c7ae5(0x98)](_0x1d194a);}[_0x29bc89(0x121)](_0x41398b){const _0x1b0ada=_0x29bc89;let _0x3b3c27=_0x41398b['trim']();if(!_0x3b3c27)return _0x3b3c27;const _0x49fb7b=_0x3b3c27[0x0];if((_0x49fb7b===_0xf65b16[_0x1b0ada(0x13c)]['AT']||_0x49fb7b===_0xf65b16[_0x1b0ada(0x13c)]['MINUS']||_0x49fb7b===_0xf65b16[_0x1b0ada(0x13c)][_0x1b0ada(0x108)])&&(_0x3b3c27=_0x3b3c27[_0x1b0ada(0x136)](0x1)),!_0x3b3c27)return _0x3b3c27;const _0x10733f=_0x3b3c27[_0x3b3c27[_0x1b0ada(0x12d)]-0x1];return _0xf65b16[_0x1b0ada(0xcc)][_0x1b0ada(0xb5)](_0x10733f)&&(_0x3b3c27=_0x3b3c27['slice'](0x0,-0x1)),_0x3b3c27;}[_0x29bc89(0x139)](_0x1e4b42){const _0x138d3c=_0x29bc89,_0x45e6e9=_0x1e4b42[_0x138d3c(0xcd)]()[0x0];if(!_0x45e6e9||!(_0x45e6e9 instanceof _0xf65b16[_0x138d3c(0x18d)])||_0x1e4b42[_0x138d3c(0xcd)]()[_0x138d3c(0x12d)]>0x1)return!0x1;const _0x492acf=_0x45e6e9['getChildren'](),_0x17a477=_0x492acf[_0x138d3c(0x12d)];if(_0x17a477===0x1)return!0x1;for(let _0xd6b87b=0x0;_0xd6b87b<_0x17a477;_0xd6b87b++){const _0x477704=_0x492acf[_0xd6b87b];if(!(_0x477704 instanceof _0xf65b16[_0x138d3c(0x18d)])&&_0xf65b16['OPERATOR_TOKEN_SET'][_0x138d3c(0xb5)](_0x477704))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x10da07,_0x3f7fa3,_0x9ed8a2,_0x37bb6f,_0x252603){const _0x375e7b=_0x29bc89,_0x37e9d2=this[_0x375e7b(0x175)](_0x10da07,!0x1);if(!_0x37e9d2||_0x37e9d2===_0xf65b16['ErrorType'][_0x375e7b(0xc0)]||Array[_0x375e7b(0x9e)](_0x37e9d2))return null;this['_clearPrefix'](),this[_0x375e7b(0x124)]=_0x3f7fa3;const _0x2f5a41=this[_0x375e7b(0x152)](_0x37e9d2,_0x9ed8a2,_0x37bb6f,_0x252603);return this['_currentUnitId']='',this['_resetPrefix'](),_0x2f5a41;}[_0x29bc89(0x152)](_0x51d542,_0x9a10c8,_0x2308ee,_0x2de345){const _0x2c4a51=_0x29bc89,_0x4804ca={'value':'','children':[],'startIndex':0x0};let _0x32d8ba=_0x51d542;if(_0x32d8ba instanceof _0xf65b16[_0x2c4a51(0x18d)]&&(_0x32d8ba[_0x2c4a51(0xc5)]()===_0xf65b16[_0x2c4a51(0xcf)]||_0x32d8ba[_0x2c4a51(0xc5)]()===_0xf65b16[_0x2c4a51(0x118)])&&_0x32d8ba[_0x2c4a51(0xcd)]()[_0x2c4a51(0x12d)]===0x1&&(_0x32d8ba=_0x32d8ba[_0x2c4a51(0xcd)]()[0x0]),!(_0x32d8ba instanceof _0xf65b16['LexerNode']))return this['_handleTextNodeForExprTree'](_0x32d8ba,_0x2308ee,_0x2de345);const _0x16e881=_0x32d8ba[_0x2c4a51(0xcd)](),_0x5082d9=_0x16e881[_0x2c4a51(0x12d)],_0x4b44bb=[];this['_generateNewFunctionString'](_0x32d8ba,_0x4b44bb,_0x9a10c8),_0x4804ca[_0x2c4a51(0x9a)]=_0x4b44bb['join'](''),_0x4804ca[_0x2c4a51(0x120)]=_0x32d8ba[_0x2c4a51(0xfb)]();const _0x548a28=this[_0x2c4a51(0xd2)](_0x32d8ba);if(_0x548a28===0x2){const _0x160bdc=_0x16e881[0x0];if(_0x160bdc instanceof _0xf65b16[_0x2c4a51(0x18d)]){if(_0x160bdc[_0x2c4a51(0xc5)]()[_0x2c4a51(0xad)]()!==_0xf65b16[_0x2c4a51(0x199)])return _0x4804ca;this[_0x2c4a51(0x9c)](_0x160bdc,_0x4804ca,_0x9a10c8,_0x2308ee,_0x2de345);}return _0x4804ca;}else{if(_0x548a28===0x1){for(let _0x302f9e=0x0;_0x302f9e<_0x5082d9-0x1;_0x302f9e++){const _0x595cbc=_0x16e881[_0x302f9e];if(_0x595cbc instanceof _0xf65b16[_0x2c4a51(0x18d)]&&_0x302f9e%0x2===0x1){const _0x53840c=_0x595cbc[_0x2c4a51(0xcd)]();if(_0x53840c[_0x2c4a51(0x12d)]===0x1&&!(_0x53840c[0x0]instanceof _0xf65b16['LexerNode']))continue;const _0x4e0118=this['_generateExprTree'](_0x595cbc,_0x9a10c8,_0x2308ee,_0x2de345);_0x4e0118&&_0x4804ca[_0x2c4a51(0xfe)][_0x2c4a51(0x98)](_0x4e0118);}}return _0x4804ca;}else{if(_0x548a28===0x8){const _0x5f538a=_0x16e881[0x0];if(_0x5f538a instanceof _0xf65b16[_0x2c4a51(0x18d)]){const _0x110e69=_0x5f538a[_0x2c4a51(0xcd)]()[0x0];_0x110e69 instanceof _0xf65b16['LexerNode']&&(_0x4804ca[_0x2c4a51(0x120)]=_0x110e69['getStartIndex']());}if(this[_0x2c4a51(0x10d)](_0x32d8ba))return _0x4804ca;}else{if(_0x548a28===0x7){const _0x162942=_0x16e881[0x0];if(_0x162942 instanceof _0xf65b16[_0x2c4a51(0x18d)]){const _0x492e66=_0x162942['getChildren']()[0x0];_0x492e66 instanceof _0xf65b16['LexerNode']&&(_0x4804ca[_0x2c4a51(0x120)]=_0x492e66[_0x2c4a51(0xfb)]());}}}}}return this[_0x2c4a51(0x13d)](_0x16e881,_0x548a28,_0x4804ca,_0x9a10c8,_0x2308ee,_0x2de345),_0x4804ca;}[_0x29bc89(0x13d)](_0x4012b2,_0x77adcd,_0x3ec95b,_0x2eb5a5,_0x2d95f5,_0x2500ad){const _0x1c7091=_0x29bc89;for(let _0x1eb71c=0x0;_0x1eb71c<_0x4012b2[_0x1c7091(0x12d)];_0x1eb71c++){let _0xae6041=_0x4012b2[_0x1eb71c];if(!(_0xae6041 instanceof _0xf65b16[_0x1c7091(0x18d)])){const _0x5e1635=this[_0x1c7091(0x11f)](_0xae6041,_0x2d95f5,_0x2500ad);_0x5e1635&&_0x3ec95b['children'][_0x1c7091(0x98)](_0x5e1635);continue;}const _0x4af480=_0xae6041[_0x1c7091(0xcd)]();if(_0x4af480[_0x1c7091(0x12d)]===0x1&&!(_0x4af480[0x0]instanceof _0xf65b16[_0x1c7091(0x18d)])){const _0x394813=_0x4af480[0x0];if(!_0x2d95f5(this[_0x1c7091(0x124)],_0x394813)&&!this[_0x1c7091(0x12b)](_0x394813,_0x2500ad)&&!_0xf65b16[_0x1c7091(0x11c)](_0x394813))continue;}if(_0x77adcd===0x8){const _0x20bf0e=_0x4af480[0x0];if(_0x20bf0e instanceof _0xf65b16[_0x1c7091(0x18d)]){const _0x42a219=_0x20bf0e[_0x1c7091(0xc5)]()['trim']();if(_0xf65b16['isReferenceString'](_0x42a219))continue;_0xae6041=_0x20bf0e;}}const _0x10815a=this[_0x1c7091(0x152)](_0xae6041,_0x2eb5a5,_0x2d95f5,_0x2500ad);_0x10815a&&_0x3ec95b[_0x1c7091(0xfe)]['push'](_0x10815a);}}[_0x29bc89(0x10d)](_0x58a57e){const _0x5b9cd7=_0x29bc89,_0x356edd=_0x58a57e[_0x5b9cd7(0xcd)]();if(_0x356edd[_0x5b9cd7(0x12d)]<0x2)return!0x1;const _0x3f2cf1=_0x356edd[0x0],_0xb09f45=_0x356edd[0x1];if(!(_0x3f2cf1 instanceof _0xf65b16[_0x5b9cd7(0x18d)])||!(_0xb09f45 instanceof _0xf65b16['LexerNode']))return!0x1;const _0x2a48ba=_0x3f2cf1['getChildren']()[0x0],_0x1a6d07=_0xb09f45[_0x5b9cd7(0xcd)]()[0x0];if(!(_0x2a48ba instanceof _0xf65b16[_0x5b9cd7(0x18d)])||!(_0x1a6d07 instanceof _0xf65b16[_0x5b9cd7(0x18d)]))return!0x1;const _0x167407=_0x2a48ba[_0x5b9cd7(0xc5)]()[_0x5b9cd7(0xad)](),_0x2add43=_0x1a6d07[_0x5b9cd7(0xc5)]()[_0x5b9cd7(0xad)]();return!!_0xf65b16[_0x5b9cd7(0x11c)](''+_0x167407+_0xf65b16[_0x5b9cd7(0xfd)][_0x5b9cd7(0xf8)]+_0x2add43);}[_0x29bc89(0x11f)](_0x37d89e,_0x1dec58,_0x5bce85){const _0x282c50=_0x29bc89,_0x3ac587=_0x37d89e[_0x282c50(0xad)]();return _0x3ac587['startsWith']('{')&&_0x3ac587[_0x282c50(0x178)]('}')||_0x1dec58(this[_0x282c50(0x124)],_0x3ac587)||this[_0x282c50(0x12b)](_0x3ac587,_0x5bce85)||_0xf65b16['isReferenceString'](_0x3ac587)?{'value':_0x3ac587,'children':[],'startIndex':-0x1}:null;}[_0x29bc89(0x12b)](_0x245ea1,_0xec2309){const _0x2b5043=_0x29bc89,{tableName:_0x375ebd}=_0xf65b16[_0x2b5043(0xdb)](_0x245ea1);return _0xec2309(this[_0x2b5043(0x124)],_0x375ebd)?_0x375ebd:null;}[_0x29bc89(0x9c)](_0x18e57c,_0x1e9f78,_0x509a08,_0x55d1c4,_0x32f2aa){const _0x2589fa=_0x29bc89,_0x2ee953=_0x18e57c[_0x2589fa(0xcd)]();for(let _0x25fb66=0x0;_0x25fb66<_0x2ee953[_0x2589fa(0x12d)];_0x25fb66++){const _0x3824b9=_0x2ee953[_0x25fb66];if(!(_0x3824b9 instanceof _0xf65b16[_0x2589fa(0x18d)]))continue;const _0x514e13=_0x3824b9[_0x2589fa(0xcd)]();if(_0x514e13['length']===0x1&&!(_0x514e13[0x0]instanceof _0xf65b16[_0x2589fa(0x18d)]))continue;const _0x8896c=this[_0x2589fa(0x152)](_0x3824b9,_0x509a08,_0x55d1c4,_0x32f2aa);_0x8896c&&_0x1e9f78[_0x2589fa(0xfe)][_0x2589fa(0x98)](_0x8896c);}}['_getCurNodeTypeForExprTree'](_0x255299){const _0x453b63=_0x29bc89,_0x12cfd5=_0x255299[_0x453b63(0xc5)](),_0x5c8587=_0x12cfd5[_0x453b63(0xad)]()['toUpperCase']();let _0x3fc838=0x0;return _0x12cfd5===_0xf65b16[_0x453b63(0xcf)]?_0x3fc838=0x3:_0x12cfd5===_0xf65b16['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x3fc838=0x4:_0x12cfd5===_0xf65b16['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x3fc838=0x5:_0x5c8587===_0xf65b16[_0x453b63(0x11b)]?_0x3fc838=0x2:_0x5c8587===_0xf65b16['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x3fc838=0x1:_0x5c8587===_0xf65b16[_0x453b63(0xfd)][_0x453b63(0xf8)]?_0x3fc838=0x8:_0xf65b16[_0x453b63(0xcc)][_0x453b63(0xb5)](_0x5c8587)?_0x3fc838=0x7:_0x5c8587===_0xf65b16[_0x453b63(0x13c)][_0x453b63(0x156)]?this['_checkAddBracketForMinus'](_0x255299)&&(_0x3fc838=0x9):_0x3fc838=0xa,_0x3fc838;}}class _0x36933d extends _0xf65b16[_0x29bc89(0xe3)]{constructor(){super(...arguments),_0x55d84e(this,'_dependencyTreeCache',new Map());}[_0x29bc89(0xdf)](){const _0x1d752a=_0x29bc89;super['dispose'](),this[_0x1d752a(0x153)][_0x1d752a(0x149)]();}async[_0x29bc89(0xb6)](_0x1a4963=!0x1){const _0x2f7f06=_0x29bc89;this[_0x2f7f06(0xca)]();const _0x321687=this[_0x2f7f06(0x1a1)][_0x2f7f06(0x92)](),_0x4019d1=this[_0x2f7f06(0x141)][_0x2f7f06(0x16b)](),_0x11c4c6=this[_0x2f7f06(0x1a1)][_0x2f7f06(0xef)]();_0x11c4c6!=null&&Object[_0x2f7f06(0x160)](_0x11c4c6)[_0x2f7f06(0x13b)](_0x36323e=>{const _0xc53642=_0x2f7f06;_0x36323e!=null&&Object[_0xc53642(0x160)](_0x11c4c6[_0x36323e])[_0xc53642(0x13b)](_0x1198da=>{const _0x2625a1=_0xc53642;_0x1198da!=null&&(this['_dependencyManagerService'][_0x2625a1(0x166)](_0x36323e,_0x1198da),this[_0x2625a1(0x19d)][_0x2625a1(0x177)](_0x36323e,_0x1198da),this[_0x2625a1(0x19d)][_0x2625a1(0x13e)](_0x36323e,_0x1198da));});});const _0xbd47bf=this['_currentConfigService'][_0x2f7f06(0x18f)]();await this[_0x2f7f06(0x168)](_0x321687,_0x4019d1,_0xbd47bf),this[_0x2f7f06(0x19d)][_0x2f7f06(0x16d)]();const _0x581947=this['_getUpdateTreeListAndMakeDependency'](),_0xec4fbd=this[_0x2f7f06(0x19e)](_0x581947);return this[_0x2f7f06(0x17e)](_0xec4fbd)&&this[_0x2f7f06(0xba)][_0x2f7f06(0xe0)](),_0x1a4963&&this[_0x2f7f06(0xba)][_0x2f7f06(0x18c)](this[_0x2f7f06(0x135)](Array[_0x2f7f06(0x134)](this[_0x2f7f06(0x153)][_0x2f7f06(0x126)]()))),this[_0x2f7f06(0x153)][_0x2f7f06(0x149)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2f7f06(0x149)](),this[_0x2f7f06(0x19d)][_0x2f7f06(0x14d)](),this[_0x2f7f06(0xba)][_0x2f7f06(0xfc)](),Promise[_0x2f7f06(0x132)](_0xec4fbd);}[_0x29bc89(0x114)](_0x5a406b,_0x1fa526){const _0x2ddc9f=_0x29bc89,_0x8e0e1=[_0x5a406b];for(;_0x8e0e1['length']>0x0;){const _0x3392e2=_0x8e0e1[_0x8e0e1[_0x2ddc9f(0x12d)]-0x1];if((_0x1fa526[_0x2ddc9f(0x10f)](_0x3392e2)||0x0)===0x0){_0x1fa526[_0x2ddc9f(0xf1)](_0x3392e2,0x1);const _0x2b3100=this[_0x2ddc9f(0x153)]['get'](_0x3392e2);if(_0x2b3100==null){_0x1fa526[_0x2ddc9f(0xf1)](_0x3392e2,0x2),_0x8e0e1[_0x2ddc9f(0xc6)]();continue;}const _0x4c6cb5=this[_0x2ddc9f(0x19d)][_0x2ddc9f(0xb8)](_0x2b3100[_0x2ddc9f(0x9d)]());for(const _0x360c0d of _0x4c6cb5){const _0x8dc962=_0x1fa526[_0x2ddc9f(0x10f)](_0x360c0d)||0x0;if(_0x8dc962===0x1)return!0x0;_0x8dc962===0x0&&_0x8e0e1[_0x2ddc9f(0x98)](_0x360c0d);}}else _0x1fa526['set'](_0x3392e2,0x2),_0x8e0e1[_0x2ddc9f(0xc6)]();}return!0x1;}[_0x29bc89(0x17e)](_0x11d248){const _0x143d42=_0x29bc89,_0x319113=new Map();for(const _0x5566a4 of _0x11d248)if(!_0x319113['has'](_0x5566a4[_0x143d42(0xd7)])&&this[_0x143d42(0x114)](_0x5566a4[_0x143d42(0xd7)],_0x319113))return!0x0;return _0x319113[_0x143d42(0x149)](),!0x1;}[_0x29bc89(0xe9)](_0x4a3884,_0xf03ad4,_0x53dd88){const _0x366fca=_0x29bc89,{unitId:_0x186d0,subUnitId:_0x381cfc,dependencyRanges:_0xdcf757,getDirtyData:_0x2a7780}=_0x53dd88,_0x293e1c=_0xf03ad4||_0xf65b16[_0x366fca(0x109)](this[_0x366fca(0x19d)]),_0x4045e3=new _0xf65b16[(_0x366fca(0x133))](_0x293e1c);_0x4045e3[_0x366fca(0x14c)]=_0x186d0,_0x4045e3[_0x366fca(0xec)]=_0x381cfc,_0x4045e3[_0x366fca(0x13a)]=_0xdcf757,_0x4045e3[_0x366fca(0xf9)]=_0x2a7780;const _0x3e6505=_0x2a7780(this['_currentConfigService']['getDirtyData'](),this['_runtimeService']['getAllRuntimeData']()),_0x420f6b=this[_0x366fca(0x13f)](_0x3e6505[_0x366fca(0x173)]);return _0x4045e3[_0x366fca(0xf6)]=_0x420f6b,_0x4045e3[_0x366fca(0x93)]=_0x4a3884,_0x4045e3[_0x366fca(0xf5)]=_0xf65b16[_0x366fca(0x19b)][_0x366fca(0xe2)],this[_0x366fca(0x19d)][_0x366fca(0x18b)](_0x186d0,_0x381cfc,_0x4a3884,_0x4045e3),this[_0x366fca(0x153)][_0x366fca(0xf1)](_0x4045e3[_0x366fca(0xd7)],_0x4045e3),this['_dependencyManagerService'][_0x366fca(0x193)](_0x53dd88[_0x366fca(0x14c)],_0x53dd88[_0x366fca(0xec)],_0x4a3884)&&(_0x4045e3[_0x366fca(0x99)]=!0x0),_0x4045e3;}[_0x29bc89(0x154)](_0x35ed06,_0x4c7347,_0x2f3877){const _0x480448=_0x29bc89;var _0x12b660;for(const _0x135672 of _0x4c7347){const _0x2f1c4c=_0x35ed06[_0x135672];if(_0x2f1c4c==null)continue;const _0x329adc=Object['keys'](_0x2f1c4c);for(const _0x4fe794 of _0x329adc){const _0x239bf4=_0x2f1c4c[_0x4fe794];if(_0x239bf4==null)continue;const _0x5d622d=Object[_0x480448(0x160)](_0x239bf4);for(const _0x21d0b1 of _0x5d622d){const _0x43a372=this[_0x480448(0x19d)][_0x480448(0xd1)](_0x21d0b1),_0x304aaa=_0x239bf4[_0x21d0b1],{f:_0x4269e2,ranges:_0x56b1f3}=_0x304aaa;let _0xe2680c=!0x1;_0x43a372&&(_0xe2680c=!0x0);const {firstRow:_0x250a99,firstColumn:_0x1ced5d}=this[_0x480448(0xcb)](_0x56b1f3),_0x43ade8=this['_dependencyManagerService'][_0x480448(0x119)](_0x135672,_0x4fe794,_0x21d0b1),_0x201e2d=(_0x12b660=_0x43ade8==null?void 0x0:_0x43ade8[_0x480448(0x165)](0x0,0x0))!=null?_0x12b660:_0xf65b16[_0x480448(0x109)](this[_0x480448(0x19d)]),_0x1a36da=new _0xf65b16[(_0x480448(0x133))](_0x201e2d);for(let _0x2f3119=0x0;_0x2f3119<_0x56b1f3[_0x480448(0x12d)];_0x2f3119++){const _0x2967c6=_0x56b1f3[_0x2f3119],{startRow:_0xa1e6d7,startColumn:_0x518fb5,endRow:_0x47d556,endColumn:_0x13bc6b}=_0x2967c6;for(let _0x5d0a22=_0xa1e6d7;_0x5d0a22<=_0x47d556;_0x5d0a22++)for(let _0x5cb008=_0x518fb5;_0x5cb008<=_0x13bc6b;_0x5cb008++){const _0x230a50=_0x5cb008-_0x1ced5d,_0x4835c4=_0x5d0a22-_0x250a99;if(_0x230a50===0x0&&_0x4835c4===0x0){_0x1a36da[_0x480448(0xbf)]=_0x4269e2,_0x1a36da[_0x480448(0x14c)]=_0x135672,_0x1a36da[_0x480448(0xec)]=_0x4fe794,_0x1a36da['formulaId']=_0x21d0b1,_0x1a36da[_0x480448(0xf5)]=_0xf65b16[_0x480448(0x19b)][_0x480448(0xfa)],_0x1a36da['isCache']=_0xe2680c,_0x2f3877[_0x480448(0x98)](_0x1a36da),this['_dependencyTreeCache'][_0x480448(0xf1)](_0x1a36da[_0x480448(0xd7)],_0x1a36da),this['_dependencyManagerService'][_0x480448(0x11a)](_0x135672,_0x4fe794,_0x21d0b1,_0x1a36da),this['_dependencyManagerService'][_0x480448(0xeb)](_0x1a36da);continue;}const _0x39f573=new _0xf65b16[(_0x480448(0x174))]();_0x39f573[_0x480448(0xd7)]=(_0x43ade8==null?void 0x0:_0x43ade8[_0x480448(0x165)](_0x230a50,_0x4835c4))||_0xf65b16['generateRandomDependencyTreeId'](this[_0x480448(0x19d)]),_0x39f573['refTree']=_0x1a36da,_0x39f573[_0x480448(0x197)]=_0x230a50,_0x39f573[_0x480448(0x163)]=_0x4835c4,_0x39f573['isCache']=_0xe2680c,_0x39f573[_0x480448(0xf5)]=_0xf65b16[_0x480448(0x19b)][_0x480448(0xfa)],this[_0x480448(0x19d)]['addOtherFormulaDependency'](_0x135672,_0x4fe794,_0x21d0b1,_0x39f573),this['_dependencyManagerService'][_0x480448(0xeb)](_0x39f573),_0x2f3877[_0x480448(0x98)](_0x39f573),this[_0x480448(0x153)][_0x480448(0xf1)](_0x39f573['treeId'],_0x39f573);}}this[_0x480448(0x19d)][_0x480448(0x113)](_0x21d0b1);}}}}[_0x29bc89(0x17b)](_0x5c154d,_0x430d10,_0x1ff354,_0x17debc){const _0x159d16=_0x29bc89;for(const _0x36bfa9 of _0x5c154d){const _0x319dd1=_0x430d10[_0x36bfa9];if(_0x319dd1==null)continue;const _0x10b958=Object[_0x159d16(0x160)](_0x319dd1);for(const _0x2421c6 of _0x10b958){const _0x4ea762=new _0x368c08['ObjectMatrix'](_0x319dd1[_0x2421c6]||{}),_0x3b03ba=new Map();_0x4ea762[_0x159d16(0x15a)]((_0x4807f6,_0x4704bd,_0x596cd6)=>{const _0x135e64=_0x159d16;if(_0x596cd6==null)return!0x0;const {x:_0x1bb2a4=0x0,y:_0x3583ab=0x0,si:_0x559843}=_0x596cd6;if(!(_0x1bb2a4===0x0&&_0x3583ab===0x0&&_0x559843!=null))return!0x0;const _0x41d386=this[_0x135e64(0x9f)](_0x36bfa9,_0x2421c6,_0x4807f6,_0x4704bd,_0x1ff354,_0x596cd6),_0x403e52=this['_dependencyManagerService'][_0x135e64(0xdc)](_0x36bfa9,_0x2421c6,_0x4807f6,_0x4704bd);_0x403e52!=null?_0x41d386['treeId']=_0x403e52:(this[_0x135e64(0x19d)][_0x135e64(0xd3)](_0x36bfa9,_0x2421c6,_0x4807f6,_0x4704bd,_0x41d386),this[_0x135e64(0x19d)]['addFormulaDependencyByDefinedName'](_0x41d386)),_0x3b03ba[_0x135e64(0xf1)](_0x559843,_0x41d386),_0x17debc[_0x135e64(0x98)](_0x41d386),this[_0x135e64(0x153)][_0x135e64(0xf1)](_0x41d386['treeId'],_0x41d386);}),_0x4ea762[_0x159d16(0x15a)]((_0x32f8de,_0x3b8ca9,_0xdae524)=>{const _0x1cd729=_0x159d16;if(_0xdae524==null)return!0x0;const {x:_0x54171f=0x0,y:_0x5698c2=0x0,si:_0x46a5b0}=_0xdae524;if(_0x54171f===0x0&&_0x5698c2===0x0&&_0x46a5b0!=null)return!0x0;let _0x34a1cc;if(_0x46a5b0&&_0x3b03ba[_0x1cd729(0xb5)](_0x46a5b0)){const _0x5eb13b=_0x3b03ba[_0x1cd729(0x10f)](_0x46a5b0);_0x34a1cc=this[_0x1cd729(0x11d)](_0x5eb13b,_0xdae524);}else _0x34a1cc=this[_0x1cd729(0x9f)](_0x36bfa9,_0x2421c6,_0x32f8de,_0x3b8ca9,_0x1ff354,_0xdae524);const _0x51988c=this['_dependencyManagerService']['getFormulaDependency'](_0x36bfa9,_0x2421c6,_0x32f8de,_0x3b8ca9);_0x51988c!=null?_0x34a1cc['treeId']=_0x51988c:(this[_0x1cd729(0x19d)][_0x1cd729(0xd3)](_0x36bfa9,_0x2421c6,_0x32f8de,_0x3b8ca9,_0x34a1cc),this[_0x1cd729(0x19d)][_0x1cd729(0xeb)](_0x34a1cc)),_0x17debc[_0x1cd729(0x98)](_0x34a1cc),this['_dependencyTreeCache']['set'](_0x34a1cc[_0x1cd729(0xd7)],_0x34a1cc);}),_0x3b03ba['clear']();}}}[_0x29bc89(0x9f)](_0x215423,_0x1319bf,_0x35224b,_0x55bc04,_0x1dd61c,_0x5f14f2){const _0x2d1d99=_0x29bc89,{f:_0x5f2a7a,x:_0x3ce3f8=0x0,y:_0x4ab40a=0x0}=_0x5f14f2,_0x4a53bd=new _0xf65b16['FormulaDependencyTree'](_0xf65b16[_0x2d1d99(0x109)](this['_dependencyManagerService'])),_0x4fb012=_0x1dd61c[_0x215423][_0x1319bf];return _0x4a53bd[_0x2d1d99(0xbf)]=_0x5f2a7a,_0x4a53bd[_0x2d1d99(0x14c)]=_0x215423,_0x4a53bd[_0x2d1d99(0xec)]=_0x1319bf,_0x4a53bd[_0x2d1d99(0x167)]=_0x35224b,_0x4a53bd[_0x2d1d99(0x14b)]=_0x55bc04,_0x4a53bd[_0x2d1d99(0x95)]=_0x4fb012['rowCount'],_0x4a53bd[_0x2d1d99(0x16a)]=_0x4fb012[_0x2d1d99(0x16a)],_0x4a53bd;}[_0x29bc89(0xf4)](){const _0x5d3f7a=_0x29bc89,_0x4d9432=[],_0x91a053=new Set(),_0x224f97=this[_0x5d3f7a(0x1a1)][_0x5d3f7a(0xe7)](),_0x3cfb04=this['_currentConfigService'][_0x5d3f7a(0x10c)](),_0x323eeb=this[_0x5d3f7a(0x19d)]['searchDependency'](_0x3cfb04),_0x321b80=this[_0x5d3f7a(0xe6)][_0x5d3f7a(0xf0)](_0x3cfb04);for(const _0x5b273d of _0x321b80)_0x323eeb[_0x5d3f7a(0x11e)](_0x5b273d);for(const [_0xd870e1,_0x6fb6]of this[_0x5d3f7a(0x153)])(_0x224f97||_0x6fb6[_0x5d3f7a(0x158)]||_0x6fb6[_0x5d3f7a(0xbb)](this['_currentConfigService']['getDirtyNameMap']())||_0x323eeb[_0x5d3f7a(0xb5)](_0xd870e1)&&!_0x6fb6[_0x5d3f7a(0x150)](this[_0x5d3f7a(0x1a1)][_0x5d3f7a(0x18e)]()))&&!_0x91a053[_0x5d3f7a(0xb5)](_0xd870e1)&&(_0x4d9432[_0x5d3f7a(0x98)](_0x6fb6),_0x91a053[_0x5d3f7a(0x11e)](_0xd870e1));for(const [_0x3c9969,_0x45ed4d]of this[_0x5d3f7a(0x153)])_0x45ed4d[_0x5d3f7a(0x157)]||(_0x45ed4d[_0x5d3f7a(0x13a)]['length']=0x0);return _0x4d9432;}['_getTreeById'](_0xf8aa70){const _0x44b850=_0x29bc89;return this[_0x44b850(0x153)][_0x44b850(0x10f)](_0xf8aa70);}['_getTreeNode'](_0x109f23){const _0x55d5bd=_0x29bc89;return _0xf65b16[_0x55d5bd(0x102)](_0x109f23[_0x55d5bd(0x14c)],_0x109f23['formula'],this[_0x55d5bd(0x123)],this[_0x55d5bd(0xa3)],this[_0x55d5bd(0x1a1)]);}*[_0x29bc89(0x10a)](_0x23b407,_0x55b313){const _0x2162a3=_0x29bc89,_0x535bc8=_0x23b407,_0x32f130=new Set();for(;_0x535bc8[_0x2162a3(0x12d)]>0x0;){const _0x5a3829=_0x535bc8[_0x2162a3(0xc6)]();if(_0x32f130[_0x2162a3(0x149)](),_0x5a3829===void 0x0||_0x5a3829[_0x2162a3(0xb3)]())continue;if(_0x5a3829[_0x2162a3(0xa4)]()){yield _0x5a3829,_0x5a3829[_0x2162a3(0x96)](),_0x55b313[_0x2162a3(0x11e)](_0x5a3829[_0x2162a3(0xd7)]);continue;}const _0x2bd732=this[_0x2162a3(0x19d)][_0x2162a3(0xb8)](_0x5a3829[_0x2162a3(0x9d)](),_0x55b313),_0x224192=this[_0x2162a3(0xe6)][_0x2162a3(0xf0)](_0x5a3829[_0x2162a3(0x9d)](),_0x55b313);for(const _0x30cd2e of _0x224192)_0x2bd732[_0x2162a3(0x11e)](_0x30cd2e);for(const _0x4b0cb3 of _0x2bd732){const _0x1bfb10=this[_0x2162a3(0x153)][_0x2162a3(0x10f)](_0x4b0cb3);if(!_0x1bfb10){console['error'](_0x2162a3(0x103),_0x4b0cb3);continue;}_0x1bfb10[_0x2162a3(0xa4)]()||_0x5a3829['isSkip']()||_0x32f130['add'](_0x1bfb10);}if(_0x2bd732[_0x2162a3(0x149)](),_0x32f130[_0x2162a3(0xb1)]===0x0)yield _0x5a3829,_0x5a3829[_0x2162a3(0x96)](),_0x55b313['add'](_0x5a3829[_0x2162a3(0xd7)]);else{_0x5a3829[_0x2162a3(0xce)](),_0x535bc8[_0x2162a3(0x98)](_0x5a3829);for(const _0xccac40 of _0x32f130)_0x535bc8[_0x2162a3(0x98)](_0xccac40);}}_0x535bc8[_0x2162a3(0x12d)]=0x0,_0x32f130[_0x2162a3(0x149)]();}[_0x29bc89(0x19e)](_0x4fd29e){const _0x5a3302=_0x29bc89,_0x119275=[],_0x50dbb0=new Set();for(const _0x533aba of this['_traverse'](_0x4fd29e,_0x50dbb0))_0x119275[_0x5a3302(0x98)](_0x533aba);return _0x119275;}async[_0x29bc89(0xb2)](){const _0x32dd44=_0x29bc89;return await this[_0x32dd44(0x16c)](),Array[_0x32dd44(0x134)](this['_dependencyTreeCache']['values']());}[_0x29bc89(0xf2)](_0x298c2b){const _0x1b5138=_0x29bc89;return this['_dependencyManagerService'][_0x1b5138(0xb8)](_0x298c2b[_0x1b5138(0x9d)]());}[_0x29bc89(0x194)](_0x384fab){const _0x18af6e=_0x29bc89,_0x4e895a=new Set(),_0x289a42=_0x384fab[_0x18af6e(0x13a)];for(const [_0x1c85ba,_0x2547c0]of this[_0x18af6e(0x153)])for(const _0x3ece63 of _0x289a42){const _0x1ffe54=_0x3ece63[_0x18af6e(0x14c)],_0x1a160a=_0x3ece63['sheetId'];if(_0x2547c0['unitId']!==_0x1ffe54||_0x2547c0[_0x18af6e(0xec)]!==_0x1a160a)continue;const _0x5742da=_0x3ece63[_0x18af6e(0x162)];if(_0x2547c0[_0x18af6e(0x127)](_0x5742da)){_0x4e895a['add'](_0x1c85ba);break;}}return _0x4e895a;}[_0x29bc89(0xf7)](){const _0x1b2592=_0x29bc89;this[_0x1b2592(0x19d)][_0x1b2592(0x16d)]();}[_0x29bc89(0x17c)](){const _0x1787f8=_0x29bc89;this[_0x1787f8(0x142)][_0x1787f8(0x149)](),this['_dependencyTreeCache']['clear'](),this[_0x1787f8(0x19d)][_0x1787f8(0x14d)]();}}const _0x4d2de1=_0x29bc89(0xa7),_0x1e18b5={0x0:'z',0x1:'6',0x2:'x',0x3:'N',0x4:'L',0x5:'1',0x6:'W',0x7:'J',0x8:'9',0x9:'R','L':'0','V':'2','I':'3','M':'4','s':'5','C':'7','S':'8','q':'a','a':'b','x':'c','A':'d','K':'e','B':'f','o':'g','F':'h','J':'i','X':'j','j':'k','\x20':'l','h':'m','i':'n','m':'o','p':'p','w':'q','E':'r','g':'s','R':'t','f':'u','P':'v','u':'w','y':'y','U':'A','b':'B','Z':'C','v':'D','G':'E','T':'F','H':'G','c':'H','n':'I','N':'K','d':'M','e':'O','r':'P','W':'Q','k':'S','Q':'T','Y':'U','D':'V','z':'X','l':'Y','O':'Z','t':'\x20'};class _0x41cd79 extends _0xf65b16[_0x29bc89(0xe1)]{async[_0x29bc89(0xe4)](_0x2e94b6=!0x1){const _0x56791a=_0x29bc89;_0x2e94b6?this['_runtimeService'][_0x56791a(0x97)](_0xf65b16['FormulaExecuteStageType'][_0x56791a(0x143)]):this[_0x56791a(0xba)]['setFormulaExecuteStage'](_0xf65b16[_0x56791a(0x115)][_0x56791a(0xa8)]),this[_0x56791a(0x101)][_0x56791a(0x187)](this[_0x56791a(0xba)][_0x56791a(0xb0)]());const _0x357399=await this[_0x56791a(0xf3)][_0x56791a(0xb6)](this[_0x56791a(0x9b)]),_0x3eece0=this[_0x56791a(0x182)];_0x2e94b6?(this[_0x56791a(0xba)][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)][_0x56791a(0x12c)]),this['_runtimeService']['setTotalArrayFormulasToCalculate'](_0x357399['length'])):(this['_runtimeService'][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)][_0x56791a(0x180)]),this[_0x56791a(0xba)][_0x56791a(0xc8)](_0x357399['length'])),this[_0x56791a(0x101)][_0x56791a(0x187)](this[_0x56791a(0xba)][_0x56791a(0xb0)]());let _0x2bb0c7=[];const _0x1d803e=this['_configService'][_0x56791a(0x189)](_0xf65b16[_0x56791a(0xb7)]),_0x33b106=(_0x1d803e==null?void 0x0:_0x1d803e[_0x56791a(0x91)])||_0xf65b16[_0x56791a(0xac)];let _0x28c86c=0x0;const _0x3df3b8=_0x357399[_0x56791a(0x12d)];for(;_0x357399[_0x56791a(0x12d)]>0x0;){const _0x869d9c=_0x357399[_0x56791a(0xc6)](),_0x5a409a=_0xf65b16[_0x56791a(0x102)](_0x869d9c[_0x56791a(0x14c)],_0x869d9c['formula'],this['_lexer'],this[_0x56791a(0xa3)],this[_0x56791a(0x1a1)]),_0x1a88ba={'node':_0x5a409a,'refOffsetX':_0x869d9c['refOffsetX'],'refOffsetY':_0x869d9c['refOffsetY']},_0x3d4dd5=_0x869d9c['getDirtyData'];if(_0x28c86c%_0x33b106===0x0&&(await new Promise(_0x49a9d6=>{const _0x55a666=_0x56791a,_0x507125=_0x368c08[_0x55a666(0xaf)](_0x49a9d6);_0x2bb0c7['push'](_0x507125);}),_0x2e94b6?(this[_0x56791a(0xba)]['setFormulaExecuteStage'](_0xf65b16[_0x56791a(0x115)][_0x56791a(0xab)]),this[_0x56791a(0xba)]['setCompletedArrayFormulasCount'](_0x28c86c+0x1)):(this['_runtimeService'][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)][_0x56791a(0x129)]),this[_0x56791a(0xba)]['setCompletedFormulasCount'](_0x28c86c+0x1)),this['_executionInProgressListener$'][_0x56791a(0x187)](this['_runtimeService'][_0x56791a(0xb0)]()),this[_0x56791a(0xba)][_0x56791a(0x14e)]()||_0x1a88ba==null&&_0x3d4dd5==null)){this[_0x56791a(0xba)][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)]['IDLE']),this[_0x56791a(0xba)][_0x56791a(0x170)](),this['_executionCompleteListener$'][_0x56791a(0x187)](this[_0x56791a(0xba)][_0x56791a(0xda)]());return;}this['_runtimeService']['setCurrent'](_0x869d9c['row'],_0x869d9c['column'],_0x869d9c[_0x56791a(0x95)],_0x869d9c[_0x56791a(0x16a)],_0x869d9c[_0x56791a(0xec)],_0x869d9c[_0x56791a(0x14c)]);let _0x5c9d92;if(_0x3d4dd5!=null&&_0x869d9c[_0x56791a(0x93)]!=null){const {runtimeCellData:_0x53fd97,dirtyRanges:_0x1a2e76}=_0x3d4dd5(this['_currentConfigService']['getDirtyData'](),this[_0x56791a(0xba)][_0x56791a(0xda)]());this[_0x56791a(0xba)][_0x56791a(0x169)](_0x869d9c[_0x56791a(0x93)],_0x53fd97),this['_runtimeService']['setRuntimeFeatureRange'](_0x869d9c[_0x56791a(0x93)],_0x1a2e76);}else _0x1a88ba!=null&&(_0x3eece0[_0x56791a(0x144)](_0x1a88ba['node'])?_0x5c9d92=await _0x3eece0[_0x56791a(0x104)](_0x1a88ba):_0x5c9d92=_0x3eece0[_0x56791a(0xc7)](_0x1a88ba),_0x869d9c['formulaId']!=null?this['_runtimeService'][_0x56791a(0x159)](_0x869d9c[_0x56791a(0x94)],_0x869d9c[_0x56791a(0x197)],_0x869d9c[_0x56791a(0x163)],_0x5c9d92):this[_0x56791a(0xba)][_0x56791a(0xd8)](_0x5c9d92));_0x5a409a['resetCalculationState'](),_0x28c86c++;}return _0x2bb0c7[_0x56791a(0x13b)](_0x443d2e=>_0x443d2e()),_0x2bb0c7=[],_0x3df3b8>0x0?this[_0x56791a(0xba)][_0x56791a(0x140)]():_0x2e94b6||this[_0x56791a(0xba)][_0x56791a(0x164)](),this['_runtimeService'][_0x56791a(0xda)]();}}class _0x2d635f extends _0xf65b16[_0x29bc89(0x185)]{constructor(){const _0x2bba08=_0x29bc89;super(...arguments),_0x55d84e(this,_0x2bba08(0x14f),new Map()),_0x55d84e(this,_0x2bba08(0xe8),new _0x368c08[(_0x2bba08(0xa6))](!0x0));}[_0x29bc89(0x107)](){const _0x49f9a4=_0x29bc89;this['_otherFormulaData'][_0x49f9a4(0x149)](),this[_0x49f9a4(0x171)][_0x49f9a4(0x149)](),this[_0x49f9a4(0x15b)][_0x49f9a4(0x149)](),this[_0x49f9a4(0xe8)]['clear'](),this[_0x49f9a4(0x14f)]['clear'](),this[_0x49f9a4(0xa5)](),this['_otherFormulaDataMainData'][_0x49f9a4(0x149)]();}[_0x29bc89(0x11a)](_0x122846,_0x3826f4,_0x5253b1,_0x5d4af9){const _0x5a0719=_0x29bc89;this[_0x5a0719(0xbc)][_0x5a0719(0xb5)](_0x122846)||this[_0x5a0719(0xbc)][_0x5a0719(0xf1)](_0x122846,new Map());const _0x2ce12a=this[_0x5a0719(0xbc)]['get'](_0x122846);_0x2ce12a['has'](_0x3826f4)||_0x2ce12a[_0x5a0719(0xf1)](_0x3826f4,new Map());const _0x3cf5a0=_0x2ce12a[_0x5a0719(0x10f)](_0x3826f4);_0x3cf5a0[_0x5a0719(0xb5)](_0x5253b1)||_0x3cf5a0['set'](_0x5253b1,new _0x368c08[(_0x5a0719(0xb9))]()),_0x3cf5a0[_0x5a0719(0x10f)](_0x5253b1)[_0x5a0719(0xd0)](_0x5d4af9[_0x5a0719(0x197)],_0x5d4af9[_0x5a0719(0x163)],_0x5d4af9[_0x5a0719(0xd7)]);}[_0x29bc89(0xbd)](_0x10aadd,_0xf0981c,_0xe31143){const _0x20251d=_0x29bc89,_0xf575a7=this[_0x20251d(0xbc)][_0x20251d(0x10f)](_0x10aadd);if(_0xf575a7&&_0xf575a7['has'](_0xf0981c)){const _0xe5e629=_0xf575a7[_0x20251d(0x10f)](_0xf0981c);_0xe31143[_0x20251d(0x13b)](_0x2bfa24=>{const _0x164ad2=_0x20251d,_0x3e349a=_0xe5e629[_0x164ad2(0x10f)](_0x2bfa24);_0x3e349a!=null&&(_0x3e349a[_0x164ad2(0x15a)]((_0x4728e1,_0x1fb5e1,_0x28c798)=>{const _0x594e28=_0x164ad2;this[_0x594e28(0x179)](_0x28c798),this[_0x594e28(0x12e)](_0x28c798);}),_0xe5e629['delete'](_0x2bfa24),this[_0x164ad2(0x18a)][_0x164ad2(0x128)](_0x2bfa24));}),_0xe5e629['size']===0x0&&_0xf575a7[_0x20251d(0x128)](_0xf0981c),_0xf575a7[_0x20251d(0xb1)]===0x0&&this['_otherFormulaData'][_0x20251d(0x128)](_0x10aadd);}}[_0x29bc89(0x166)](_0x4f5f87,_0x2054d5){const _0x5bd323=_0x29bc89,_0x50c623=this[_0x5bd323(0xbc)][_0x5bd323(0x10f)](_0x4f5f87);if(_0x2054d5&&_0x50c623&&_0x50c623['has'](_0x2054d5)){const _0x168e2c=_0x50c623['get'](_0x2054d5);this[_0x5bd323(0x138)](_0x4f5f87,_0x2054d5);for(const _0x207280 of _0x168e2c[_0x5bd323(0x160)]()){const _0x32cfac=_0x168e2c[_0x5bd323(0x10f)](_0x207280);_0x32cfac!=null&&(_0x32cfac[_0x5bd323(0x15a)]((_0x2cff4e,_0x35fc42,_0x5a5e63)=>{const _0x226f2f=_0x5bd323;this[_0x226f2f(0x14f)][_0x226f2f(0x10f)](_0x5a5e63)&&this[_0x226f2f(0x12e)](_0x5a5e63);}),this[_0x5bd323(0x18a)][_0x5bd323(0x128)](_0x207280));}_0x168e2c[_0x5bd323(0x149)]();}else{if(_0x50c623){for(const _0x1fc0f9 of _0x50c623[_0x5bd323(0x160)]()){const _0x110d5e=_0x50c623[_0x5bd323(0x10f)](_0x1fc0f9);this[_0x5bd323(0x138)](_0x4f5f87,_0x1fc0f9);for(const _0x2319b4 of _0x110d5e[_0x5bd323(0x160)]()){const _0x4f3e14=_0x110d5e['get'](_0x2319b4);_0x4f3e14!=null&&(_0x4f3e14['forValue']((_0x921031,_0x2b1dad,_0x1f079f)=>{const _0x350069=_0x5bd323;this[_0x350069(0x14f)]['get'](_0x1f079f)&&this[_0x350069(0x12e)](_0x1f079f);}),this[_0x5bd323(0x18a)][_0x5bd323(0x128)](_0x2319b4));}}this['_otherFormulaData'][_0x5bd323(0x128)](_0x4f5f87);}}}[_0x29bc89(0x18b)](_0x3aa55b,_0x15d993,_0x20f2db,_0x5b4360){const _0x3c1b48=_0x29bc89;this['_featureFormulaData'][_0x3c1b48(0xb5)](_0x3aa55b)||this[_0x3c1b48(0x171)]['set'](_0x3aa55b,new Map());const _0x21d3cf=this[_0x3c1b48(0x171)]['get'](_0x3aa55b);_0x21d3cf[_0x3c1b48(0xb5)](_0x15d993)||_0x21d3cf['set'](_0x15d993,new Map()),_0x21d3cf[_0x3c1b48(0x10f)](_0x15d993)[_0x3c1b48(0xf1)](_0x20f2db,_0x5b4360[_0x3c1b48(0xd7)]);}[_0x29bc89(0x125)](_0x5c530d,_0x1855a9,_0x42bbca){const _0x24e522=_0x29bc89,_0x2a0dfc=this['_featureFormulaData'][_0x24e522(0x10f)](_0x5c530d);if(_0x2a0dfc&&_0x2a0dfc['has'](_0x1855a9)){const _0x179625=_0x2a0dfc['get'](_0x1855a9);_0x42bbca[_0x24e522(0x13b)](_0x4ba9bc=>{const _0x1e16f7=_0x24e522,_0x4aff57=_0x179625[_0x1e16f7(0x10f)](_0x4ba9bc);_0x4aff57!=null&&(this['_removeDependencyRTreeCache'](_0x4aff57),_0x179625['delete'](_0x4ba9bc),this[_0x1e16f7(0x12e)](_0x4aff57));});}}['clearFeatureFormulaDependency'](_0x2d3e5d,_0x9fe898){const _0x251a1a=_0x29bc89,_0x146bfe=this['_featureFormulaData'][_0x251a1a(0x10f)](_0x2d3e5d);if(_0x9fe898&&_0x146bfe&&_0x146bfe['has'](_0x9fe898)){const _0x4be644=_0x146bfe[_0x251a1a(0x10f)](_0x9fe898);this[_0x251a1a(0x138)](_0x2d3e5d,_0x9fe898),_0x4be644['forEach'](_0x1d164e=>{_0x1d164e!=null&&this['_removeAllTreeMap'](_0x1d164e);}),_0x4be644['clear']();}else _0x146bfe&&(_0x146bfe[_0x251a1a(0x13b)]((_0x1ac00e,_0xfc642d)=>{const _0x46fb6c=_0x251a1a;this[_0x46fb6c(0x138)](_0x2d3e5d,_0xfc642d),_0x1ac00e[_0x46fb6c(0x13b)](_0x305ab7=>{_0x305ab7!=null&&this['_removeAllTreeMap'](_0x305ab7);});}),this[_0x251a1a(0x171)][_0x251a1a(0x128)](_0x2d3e5d));}['addFormulaDependency'](_0x560a82,_0x13f4cf,_0xf5a9c5,_0x55ab2e,_0x2606d0){const _0x4c095e=_0x29bc89;this[_0x4c095e(0x15b)][_0x4c095e(0xb5)](_0x560a82)||this['_formulaData'][_0x4c095e(0xf1)](_0x560a82,new Map());const _0x58dbaa=this[_0x4c095e(0x15b)][_0x4c095e(0x10f)](_0x560a82);_0x58dbaa[_0x4c095e(0xb5)](_0x13f4cf)||_0x58dbaa['set'](_0x13f4cf,new _0x368c08['ObjectMatrix']()),_0x58dbaa[_0x4c095e(0x10f)](_0x13f4cf)[_0x4c095e(0xd0)](_0xf5a9c5,_0x55ab2e,_0x2606d0[_0x4c095e(0xd7)]);}[_0x29bc89(0x145)](_0x428c6c,_0x386a76,_0x463a2d,_0x338d23){const _0x47dba5=_0x29bc89,_0x1a8196=this['_formulaData'][_0x47dba5(0x10f)](_0x428c6c);if(_0x1a8196&&_0x1a8196[_0x47dba5(0xb5)](_0x386a76)){const _0x435a75=_0x1a8196[_0x47dba5(0x10f)](_0x386a76),_0xc509f=_0x435a75[_0x47dba5(0x165)](_0x463a2d,_0x338d23);if(_0xc509f==null)return;this[_0x47dba5(0x179)](_0xc509f),_0x435a75[_0x47dba5(0x1a0)](_0x463a2d,_0x338d23),this[_0x47dba5(0x12e)](_0xc509f);}}[_0x29bc89(0x13e)](_0x44149b,_0x2b7744){const _0x125f1c=_0x29bc89,_0x1a3d4b=this['_formulaData'][_0x125f1c(0x10f)](_0x44149b);if(_0x2b7744&&_0x1a3d4b&&_0x1a3d4b[_0x125f1c(0xb5)](_0x2b7744)){const _0x4957c4=_0x1a3d4b['get'](_0x2b7744);this[_0x125f1c(0x138)](_0x44149b,_0x2b7744),_0x4957c4[_0x125f1c(0x15a)]((_0x11733a,_0x405278,_0x3086ca)=>{const _0x3dc805=_0x125f1c;if(_0x3086ca==null)return!0x0;this[_0x3dc805(0x12e)](_0x3086ca);}),_0x4957c4[_0x125f1c(0x107)]();}else _0x1a3d4b&&(_0x1a3d4b[_0x125f1c(0x13b)]((_0x24e9b2,_0x335391)=>{const _0x1c01ba=_0x125f1c;this[_0x1c01ba(0x138)](_0x44149b,_0x335391),_0x24e9b2[_0x1c01ba(0x15a)]((_0x3bba66,_0x2e56a9,_0x5caf5c)=>{const _0xef5ab=_0x1c01ba;if(_0x5caf5c==null)return!0x0;this[_0xef5ab(0x12e)](_0x5caf5c);});}),this[_0x125f1c(0x15b)][_0x125f1c(0x128)](_0x44149b));}[_0x29bc89(0x179)](_0x2f5876){const _0x1d4db5=_0x29bc89;if(_0x2f5876==null)return;const _0x50c7d1=this[_0x1d4db5(0x14f)][_0x1d4db5(0x10f)](_0x2f5876);if(_0x50c7d1){const _0x1dc4e4=[];for(const [_0xc7ba45,_0x25af98]of _0x50c7d1)for(const [_0x2e341d,_0x3ddd19]of _0x25af98)_0x1dc4e4[_0x1d4db5(0x98)]({'unitId':_0xc7ba45,'sheetId':_0x2e341d,'range':_0x3ddd19,'id':_0x2f5876});this[_0x1d4db5(0xe8)][_0x1d4db5(0x16f)](_0x1dc4e4);}}[_0x29bc89(0xc9)](_0x976797,_0x39c4e5){const _0x29948a=_0x29bc89,_0x43e287=this[_0x29948a(0x17f)][_0x29948a(0x10f)](_0x976797);if(_0x43e287){const _0x45a7ef=_0x43e287['get'](_0x39c4e5);if(_0x45a7ef){for(const _0x584cfa of _0x45a7ef)this['_removeDependencyRTreeCache'](_0x584cfa),this['_removeAllTreeMap'](_0x584cfa);_0x45a7ef[_0x29948a(0x149)]();}}}[_0x29bc89(0x16d)](){const _0x1b6368=_0x29bc89;this[_0x1b6368(0xe8)]['openKdTree']();}['closeKdTree'](){const _0x1c987e=_0x29bc89;this[_0x1c987e(0xe8)]['closeKdTree']();}[_0x29bc89(0x12e)](_0x17d5d9){const _0x31cdcf=_0x29bc89;_0x17d5d9!=null&&this[_0x31cdcf(0x14f)][_0x31cdcf(0x128)](_0x17d5d9);}['_addAllTreeMap'](_0x5ec00c){const _0x5a6fef=_0x29bc89;var _0x4b83ef,_0x59791c;const _0x315c5f=_0x5ec00c[_0x5a6fef(0x13a)];let _0x5c18de=this[_0x5a6fef(0x14f)][_0x5a6fef(0x10f)](_0x5ec00c[_0x5a6fef(0xd7)]);for(let _0x8488a5=0x0;_0x8488a5<_0x315c5f[_0x5a6fef(0x12d)];_0x8488a5++){const _0x471cb0=_0x315c5f[_0x8488a5];let {unitId:_0xfc70ff,sheetId:_0x9ef6c6,range:_0x4d0f75}=_0x471cb0;_0x5c18de||(_0x5c18de=new Map(),this[_0x5a6fef(0x14f)][_0x5a6fef(0xf1)](_0x5ec00c[_0x5a6fef(0xd7)],_0x5c18de)),_0x5c18de[_0x5a6fef(0xb5)](_0xfc70ff)||_0x5c18de['set'](_0xfc70ff,new Map());const _0x2be520=(_0x4b83ef=_0x5c18de==null?void 0x0:_0x5c18de['get'](_0xfc70ff))==null?void 0x0:_0x4b83ef[_0x5a6fef(0x10f)](_0x9ef6c6);_0x2be520&&(_0x4d0f75={'startRow':Math[_0x5a6fef(0x15f)](_0x4d0f75[_0x5a6fef(0x196)],_0x2be520[_0x5a6fef(0x196)]),'startColumn':Math[_0x5a6fef(0x15f)](_0x4d0f75[_0x5a6fef(0x19c)],_0x2be520['startColumn']),'endRow':Math['max'](_0x4d0f75[_0x5a6fef(0x172)],_0x2be520[_0x5a6fef(0x172)]),'endColumn':Math[_0x5a6fef(0xc2)](_0x4d0f75[_0x5a6fef(0x90)],_0x2be520[_0x5a6fef(0x90)])}),(_0x59791c=_0x5c18de[_0x5a6fef(0x10f)](_0xfc70ff))==null||_0x59791c[_0x5a6fef(0xf1)](_0x9ef6c6,_0x4d0f75);}}}var _0x3cb81b=Object[_0x29bc89(0x130)],_0x32e5b9=(_0x23c12d,_0x49fe9f,_0x22ed61,_0x3a1461)=>{for(var _0x1e49ad=_0x3a1461>0x1?void 0x0:_0x3a1461?_0x3cb81b(_0x49fe9f,_0x22ed61):_0x49fe9f,_0x3b44d1=_0x23c12d['length']-0x1,_0x2f31dd;_0x3b44d1>=0x0;_0x3b44d1--)(_0x2f31dd=_0x23c12d[_0x3b44d1])&&(_0x1e49ad=_0x2f31dd(_0x1e49ad)||_0x1e49ad);return _0x1e49ad;};const _0x56975f=Number['parseInt'](0x697db262);_0x305b8d[_0x29bc89(0x116)]=class extends _0xf65b16[_0x29bc89(0x183)]{[_0x29bc89(0xdd)](){const _0x3c4b3d=_0x29bc89;var _0x444adb,_0x21b38e;this[_0x3c4b3d(0xed)]()?(this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)]([_0xf65b16[_0x3c4b3d(0xa2)],{'useClass':_0x5c3850}]),(_0x444adb=this[_0x3c4b3d(0x146)])!=null&&_0x444adb['notExecuteFormula']||[[_0xf65b16[_0x3c4b3d(0x110)],{'useClass':_0x41cd79}],[_0xf65b16[_0x3c4b3d(0x190)],{'useClass':_0x2d635f}],[_0xf65b16[_0x3c4b3d(0x181)],{'useClass':_0x36933d}]][_0x3c4b3d(0x13b)](_0x4fec35=>this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)](_0x4fec35))):(this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)]([_0xf65b16['LexerTreeBuilder'],{'useClass':_0xf65b16[_0x3c4b3d(0xa2)]}]),(_0x21b38e=this[_0x3c4b3d(0x146)])!=null&&_0x21b38e[_0x3c4b3d(0xa9)]||[[_0xf65b16[_0x3c4b3d(0x110)],{'useClass':_0xf65b16[_0x3c4b3d(0xe1)]}],[_0xf65b16[_0x3c4b3d(0x190)],{'useClass':_0xf65b16[_0x3c4b3d(0xde)]}],[_0xf65b16[_0x3c4b3d(0x181)],{'useClass':_0xf65b16['FormulaDependencyGenerator']}]][_0x3c4b3d(0x13b)](_0x247f28=>this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)](_0x247f28)));}[_0x29bc89(0xed)](){const _0x4ca5af=_0x29bc89;var _0x3b3413;const _0x5d762a=(_0x3b3413=this[_0x4ca5af(0x161)][_0x4ca5af(0x189)](_0x68c09b[_0x4ca5af(0x191)]))!=null?_0x3b3413:{},{ls:_0x58526c,pbk:_0x5095ae}=_0x5d762a;if(!_0x58526c||!_0x5095ae)return!0x1;const _0x1f5c6f=_0x68c09b[_0x4ca5af(0x12f)](_0x4d2de1,_0x1e18b5),_0x23ec0f=new Function('return\x20'+_0x1f5c6f)()(_0x58526c,_0x5095ae),_0x206102=_0x23ec0f[_0x4ca5af(0x176)];return _0x23ec0f['valid']&&_0x68c09b[_0x4ca5af(0x147)](_0x206102,'sf',_0x56975f)?_0x68c09b['getSheetFeatureLimit'](_0x206102,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x305b8d[_0x29bc89(0x116)]=_0x32e5b9([_0x368c08['DependentOn'](_0x68c09b[_0x29bc89(0x188)])],_0x305b8d['UniverProFormulaEnginePlugin']),_0x305b8d['LexerTreeProBuilder']=_0x5c3850,Object[_0x29bc89(0x160)](_0xf65b16)['forEach'](_0x194bb6=>{const _0x8871f7=_0x29bc89;_0x194bb6!==_0x8871f7(0x186)&&!Object[_0x8871f7(0x198)][_0x8871f7(0xbe)]['call'](_0x305b8d,_0x194bb6)&&Object[_0x8871f7(0x155)](_0x305b8d,_0x194bb6,{'enumerable':!0x0,'get':()=>_0xf65b16[_0x194bb6]});}),Object[_0x29bc89(0x155)](_0x305b8d,Symbol[_0x29bc89(0x15d)],{'value':_0x29bc89(0x148)});}));function _0x462c(){const _0x721669=['_getUpdateTreeListAndMakeDependency','type','featureDirtyRanges','_startFormulaDependencyTreeModel','COLON','getDirtyData','OTHER_FORMULA','getStartIndex','clearArrayObjectCache','matchToken','children','_injector','_xlpmPrefix','_executionInProgressListener$','generateAstNode','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','executeAsync','exports','ErrorType','reset','PLUS','generateRandomDependencyTreeId','_traverse','597483bANFqH','getDirtyRanges','_checkColonNodeForExprTree','NEW_EXCEL_FUNCTIONS','get','ICalculateFormulaService','function','4YfOQEv','addOtherFormulaDependencyMainData','_isCyclicUtilMap','FormulaExecuteStageType','UniverProFormulaEnginePlugin','6090688QgosHo','DEFAULT_TOKEN_TYPE_PARAMETER','getOtherFormulaDependency','addOtherFormulaDependency','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','isReferenceString','_createVirtualFDtree','add','_handleTextNodeForExprTree','startIndex','_clearFunctionString','2905134imMaBc','_lexer','_currentUnitId','removeFeatureFormulaDependency','values','inRangeData','delete','CURRENTLY_CALCULATING','error','_getTableNameFromStructuredRef','START_CALCULATION_ARRAY_FORMULA','length','_removeAllTreeMap','unshiftString','getOwnPropertyDescriptor','1593552YGJnsx','resolve','FormulaDependencyTree','from','_getAllDependencyJson','slice','@univerjs/core','_removeDependencyRTreeCacheById','_checkAddBracketForMinus','rangeList','forEach','prefixToken','_handleChildrenForExprTree','clearFormulaDependency','_convertDirtyRangesToUnitRange','markedAsSuccessfullyExecuted','_otherFormulaManagerService','_formulaDependencyTreeModel','START_DEPENDENCY_ARRAY_FORMULA','checkAsyncNode','removeFormulaDependency','_config','isFeatureAuthorizedWithinTime','Module','clear','15CzfsgT','column','unitId','closeKdTree','isStopExecution','_allTreeMap','isExcludeRange','_xlfnPrefix','_generateExprTree','_dependencyTreeCache','_registerOtherFormulas','defineProperty','MINUS','isVirtual','isDirty','setRuntimeOtherData','forValue','_formulaData','amd','toStringTag','symbol','min','keys','_configService','range','refOffsetY','markedAsNoFunctionsExecuted','getValue','clearOtherFormulaDependency','row','_generateTreeList','setRuntimeFeatureCellData','columnCount','getOtherFormulaData','_initializeGenerateTreeList','openKdTree','_handleNewFunctionChild','bulkRemove','markedAsStopFunctionsExecuted','_featureFormulaData','endRow','dirtyRanges','FormulaDependencyTreeVirtual','treeBuilder','message','clearFeatureFormulaDependency','endsWith','_removeDependencyRTreeCache','_generateNewFunctionString','_registerFormulas','_endFormulaDependencyTreeModel','4527271IsuEWO','_checkIsCycleDependency','_definedNameMap','START_CALCULATION','IFormulaDependencyGenerator','_interpreter','UniverFormulaEnginePlugin','_resetPrefix','DependencyManagerBaseService','default','next','UniverLicensePlugin','getConfig','_otherFormulaDataMainData','addFeatureFormulaDependency','setDependencyTreeModelData','LexerNode','getExcludedRange','getUnitData','IDependencyManagerService','LS_CONFIG_KEY','Let\x20variable\x20name\x20\x22','getFeatureFormulaDependency','_getDependencyTreeChildrenIds','36IZEyZr','startRow','refOffsetX','prototype','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','\x22\x20is\x20duplicated.','FormulaDependencyTreeType','startColumn','_dependencyManagerService','_calculateRunList','_lambdaFunctionParameterSet','realDeleteValue','_currentConfigService','endColumn','intervalCount','getFormulaData','featureId','formulaId','rowCount','setSkip','setFormulaExecuteStage','push','isCache','value','_isCalculateTreeModel','_handleLambdaForExprTree','toRTreeItem','isArray','_createFDtree','_xlfn.','join','LexerTreeBuilder','_astTreeBuilder','isAdded','_restDependencyTreeId','RTree','/*tKg\x20JiR-AJgqa\x20KtpEKBKE-RKhp\x20qRKt*/BfixRJmitAKxEypRJmi(\x20JxKigK,tpfa\x20JxNKy)t{ttttREyt{ttttttttxmigRt\x20JxKigKniBmrqERUEEqyt=t\x20JxKigK.gp\x20JR(\x27-\x27);ttttttttxmigRtmEJoJidKggqoKt=t7ke3.pqEgK(qRma(\x20JxKigKniBmrqERUEEqy[V]));ttttttttJBt(!mEJoJidKggqoK.fA)t{ttttttttttttmEJoJidKggqoK.fAt=t3fhaKE(\x20JxKigKniBmrqERUEEqy[M]);tttttttt}ttttttttxmigRtJg6mEjKEt=tRypKmBt6mEjKEH\x20maq\x20kxmpKt!==t\x27fiAKBJiKA\x27t&&tgK\x20BtJigRqixKmBt6mEjKEH\x20maq\x20kxmpK;ttttttttxmigRtJgbEmugKEt=tRypKmBtuJiAmut!==t\x27fiAKBJiKA\x27t&&tRypKmBtuJiAmu.\x20mxqRJmit!==t\x27fiAKBJiKA\x27;ttttttttxmigRtxmiRK2Rt=tJg6mEjKEt?tgK\x20Bt:t(JgbEmugKEt?tuJiAmut:to\x20maq\x20QFJg);ttttttttxmigRthKggqoK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[V]);ttttttttxmigRthKggqoKt=txmiRK2R.__cK2__.gREJioJBy(hKggqoK6mEA);ttttttttxmigRtgJoiqRfEK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[I]);ttttttttxmigRtgJoiqRfEKt=txmiRK2R.__cK2__.gREJioJBy(gJoiqRfEK6mEA);ttttttttxmigRtgJoiDq\x20JAt=txmiRK2R.__PKEJBy__(gJoiqRfEK,thKggqoK,tpfa\x20JxNKy);ttttttttxmigRtAmhqJit=tmEJoJidKggqoK.Ah;ttttttttBfixRJmitJgvmhqJidqRxFJio(pqRRKEi,tFmgR)t{ttttttttttttJBt(pqRRKEit===tFmgR)tEKRfEitREfK;ttttttttttttJBt(pqRRKEi.gRqERg6JRF(\x27*.\x27))t{ttttttttttttttttxmigRtgfBBJ2t=tpqRRKEi.g\x20JxK(V);ttttttttttttttttJBt(gfBBJ2t&&tgfBBJ2t===tFmgR)t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}ttttttttttttttttJBt(gfBBJ2t&&t!FmgR.gRqERg6JRF(\x27.\x27)t&&tFmgR.KiAg6JRF(\x27.\x27t+tgfBBJ2))t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}tttttttttttt}ttttttttttttEKRfEitBq\x20gK;tttttttt}tttttttt\x20KRtAmhqJiDq\x20JAt=tBq\x20gK;ttttttttJBt(JgbEmugKE)t{ttttttttttttAmhqJiDq\x20JAt=t(AmhqJit&&tAmhqJi.\x20KioRF)t?tAmhqJi.gmhK((AhnRKh)t=>tJgvmhqJidqRxFJio(AhnRKh,t\x20mxqRJmi.FmgRiqhK))t:tREfK;ttttttttttttJBt(\x20mxqRJmi.FmgRiqhKt===t\x27\x20mxq\x20FmgR\x27)t{ttttttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttttttt}tttttttt}tK\x20gKt{ttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttt}ttttttttxmigRtPq\x20JAt=tgJoiDq\x20JAt&&tAmhqJiDq\x20JA;ttttttttEKRfEit{ttttttttttttPq\x20JA,tttttttttttthKggqoK:tmEJoJidKggqoK,tttttttt};tttt}txqRxFt(KEEmE)t{ttttttttEKRfEit{ttttttttttttPq\x20JA:tBq\x20gK,tttttttttttthKggqoK:t{},tttttttt};tttt}}','START_DEPENDENCY','notExecuteFormula','Lambda\x20parameter\x20name\x20\x22','CURRENTLY_CALCULATING_ARRAY_FORMULA','DEFAULT_INTERVAL_COUNT','trim','object','requestImmediateMacroTask','getRuntimeState','size','_getAllTreeList','isSkip','getNewFormulaWithPrefix','has','generate','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','searchDependency','ObjectMatrix','_runtimeService','dependencySheetName','_otherFormulaData','removeOtherFormulaDependency','hasOwnProperty','formula','VALUE','UniverProLicense','max','_clearPrefix','_xlpm.','getToken','pop','execute','setTotalFormulasToCalculate','removeFormulaDependencyByDefinedName','_updateRangeFlatten','_getFirstCellOfRange','SUFFIX_TOKEN_SET','getChildren','setAdded','DEFAULT_TOKEN_TYPE_ROOT','setValue','hasOtherFormulaDataMainData','_getCurNodeTypeForExprTree','addFormulaDependency','266370vjCSoS','596308SZqhlL','_hasNewExcelFunction','treeId','setRuntimeData','DEFAULT_TOKEN_LET_FUNCTION_NAME','getAllRuntimeData','splitTableStructuredRef','getFormulaDependency','_initializeWithOverride','DependencyManagerService','dispose','enableCycleDependency','CalculateFormulaService','FEATURE_FORMULA','FormulaDependencyGenerator','_apply','@univerjs-pro/license','_dependencyRTreeCacheForAddressFunction','isForceCalculate','_dependencyRTreeCache','_getFeatureFormulaTree','UniverCore','addFormulaDependencyByDefinedName','subUnitId','_initLicenseValid','@univerjs/engine-formula','getClearDependencyTreeCache','bulkSearch','set','_getDependencyTreeParenIds','_formulaDependencyGenerator'];_0x462c=function(){return _0x721669;};return _0x462c();}
|
|
1
|
+
(function(_0x1f9547,_0x35a704){const _0x3a3710=_0x289c,_0x29a947=_0x1f9547();while(!![]){try{const _0x26567a=parseInt(_0x3a3710(0x26e))/0x1*(parseInt(_0x3a3710(0x1c9))/0x2)+parseInt(_0x3a3710(0x241))/0x3*(parseInt(_0x3a3710(0x20f))/0x4)+parseInt(_0x3a3710(0x1d1))/0x5+parseInt(_0x3a3710(0x2b3))/0x6+parseInt(_0x3a3710(0x27d))/0x7+-parseInt(_0x3a3710(0x295))/0x8+parseInt(_0x3a3710(0x2c5))/0x9*(-parseInt(_0x3a3710(0x26f))/0xa);if(_0x26567a===_0x35a704)break;else _0x29a947['push'](_0x29a947['shift']());}catch(_0x489709){_0x29a947['push'](_0x29a947['shift']());}}}(_0x4967,0x38b6d),function(_0x124dd4,_0x356be9){const _0x2d66a4=_0x289c;typeof exports==_0x2d66a4(0x1d4)&&typeof module<'u'?_0x356be9(exports,require('@univerjs/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0x2d66a4(0x2a1)&&define[_0x2d66a4(0x29c)]?define(['exports',_0x2d66a4(0x2c4),_0x2d66a4(0x2a2),_0x2d66a4(0x221)],_0x356be9):(_0x124dd4=typeof globalThis<'u'?globalThis:_0x124dd4||self,_0x356be9(_0x124dd4[_0x2d66a4(0x297)]={},_0x124dd4[_0x2d66a4(0x236)],_0x124dd4[_0x2d66a4(0x205)],_0x124dd4['UniverCore']));}(this,function(_0x2279d4,_0x309d58,_0x194d65,_0x4b6aff){'use strict';const _0x32f0cc=_0x289c;var _0x2d47f0=Object[_0x32f0cc(0x1e9)],_0x45da93=(_0x1498e0,_0x2cd126,_0x1df3ef)=>_0x2cd126 in _0x1498e0?_0x2d47f0(_0x1498e0,_0x2cd126,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1df3ef}):_0x1498e0[_0x2cd126]=_0x1df3ef,_0x3c4b89=(_0x464f4a,_0x4c2554,_0x3e12bb)=>_0x45da93(_0x464f4a,typeof _0x4c2554!='symbol'?_0x4c2554+'':_0x4c2554,_0x3e12bb);class _0x8ed480 extends _0x309d58[_0x32f0cc(0x245)]{constructor(){const _0x330769=_0x32f0cc;super(...arguments),_0x3c4b89(this,_0x330769(0x2ae),!0x1),_0x3c4b89(this,'_lambdaFunctionParameterSet',new Set()),_0x3c4b89(this,_0x330769(0x25f),_0x330769(0x1f5)),_0x3c4b89(this,_0x330769(0x286),_0x330769(0x23e)),_0x3c4b89(this,'_currentUnitId','');}[_0x32f0cc(0x1f2)](){const _0x336489=_0x32f0cc;this[_0x336489(0x25f)]='_xlpm.',this['_xlfnPrefix']=_0x336489(0x23e);}['_clearPrefix'](){this['_xlpmPrefix']='',this['_xlfnPrefix']='';}[_0x32f0cc(0x255)](_0x26cf43,_0x4891e0){const _0x28bc4f=_0x32f0cc,_0x5b6a13=this[_0x28bc4f(0x280)](_0x26cf43,!0x1);if(!_0x5b6a13||_0x5b6a13===_0x309d58['ErrorType']['VALUE']||Array[_0x28bc4f(0x248)](_0x5b6a13))return null;const _0x9a28f1=[];return this[_0x28bc4f(0x2ae)]=!0x1,this[_0x28bc4f(0x27b)](_0x5b6a13,_0x9a28f1,_0x4891e0),this['_hasNewExcelFunction']?'='+_0x9a28f1[_0x28bc4f(0x2b2)](''):null;}['_generateNewFunctionString'](_0x75c3f3,_0x46b7c7,_0xf740ce){const _0x15be24=_0x32f0cc,_0x10e036=_0x75c3f3[_0x15be24(0x25e)](),_0x1fcdc5=_0x10e036['trim'](),_0x2080a1=_0x1fcdc5[_0x15be24(0x29f)](),_0xf7d0c3=this[_0x15be24(0x296)](_0x2080a1),_0x3bfe84=_0xf740ce(_0xf7d0c3);let _0x5687e7=0x0;_0x10e036===_0x309d58[_0x15be24(0x1eb)]?_0x5687e7=0x3:_0x10e036===_0x309d58[_0x15be24(0x219)]?_0x5687e7=0x4:_0x10e036===_0x309d58[_0x15be24(0x2b7)]?_0x5687e7=0x5:_0x309d58[_0x15be24(0x290)]['has'](_0xf7d0c3)?(_0x46b7c7['push'](''+this[_0x15be24(0x286)]+_0x1fcdc5),this[_0x15be24(0x2ae)]=!0x0):_0x2080a1===_0x309d58[_0x15be24(0x2b0)]?(_0x46b7c7['push'](''+this[_0x15be24(0x286)]+_0x1fcdc5),this[_0x15be24(0x2ae)]=!0x0,_0x5687e7=0x2):_0x2080a1===_0x309d58[_0x15be24(0x20c)]?(_0x46b7c7[_0x15be24(0x2c1)](''+this['_xlfnPrefix']+_0x1fcdc5),this[_0x15be24(0x2ae)]=!0x0,_0x5687e7=0x1):_0x2080a1===_0x309d58[_0x15be24(0x1ca)][_0x15be24(0x22f)]?_0x5687e7=0x8:_0x309d58[_0x15be24(0x2bd)]['has'](_0x2080a1)?_0x5687e7=0x7:_0x2080a1===_0x309d58['prefixToken']['MINUS']?(this[_0x15be24(0x228)](_0x75c3f3)&&(_0x5687e7=0x9),_0x46b7c7[_0x15be24(0x2c1)](_0x10e036)):(_0x46b7c7[_0x15be24(0x2c1)](_0x10e036),_0x5687e7=0xa),_0x3bfe84?(_0x5687e7!==0x2&&_0x5687e7!==0x1&&(_0x5687e7=0x6),_0x46b7c7['push']('(')):_0x5687e7===0x9&&_0x46b7c7[_0x15be24(0x2c1)]('(');const _0x1bc312=_0x75c3f3[_0x15be24(0x2bb)](),_0x4e9c2d=_0x1bc312[_0x15be24(0x20b)];if(_0x5687e7===0x2){const _0x45d6fb=_0x1bc312[0x0];let _0x1e1d72=0x0;_0x45d6fb instanceof _0x309d58[_0x15be24(0x254)]&&_0x45d6fb[_0x15be24(0x25e)]()===_0x309d58[_0x15be24(0x2b7)]&&(_0x1e1d72=0x1);for(let _0x436c2c=_0x1e1d72;_0x436c2c<_0x4e9c2d-0x1;_0x436c2c++){const _0x1362a7=_0x1bc312[_0x436c2c];if(_0x1362a7 instanceof _0x309d58[_0x15be24(0x254)]){const _0x32b9b6=_0x1362a7[_0x15be24(0x2bb)]()[0x0];typeof _0x32b9b6==_0x15be24(0x299)&&(this[_0x15be24(0x2b1)][_0x15be24(0x1ec)](_0x32b9b6)&&console['error']('Lambda\x20parameter\x20name\x20\x22'+_0x32b9b6+_0x15be24(0x2a9)),this[_0x15be24(0x2b1)][_0x15be24(0x207)](_0x32b9b6),_0x46b7c7[_0x15be24(0x2c1)](''+this['_xlpmPrefix']+_0x32b9b6),this[_0x15be24(0x2ae)]=!0x0);}_0x46b7c7[_0x15be24(0x2c1)](',');}this[_0x15be24(0x223)](_0x1bc312[_0x4e9c2d-0x1],_0x46b7c7,_0xf740ce),_0x1e1d72===0x1&&(_0x46b7c7[_0x15be24(0x2c1)](')'),_0x46b7c7[_0x15be24(0x2c1)]('('),this[_0x15be24(0x27b)](_0x45d6fb,_0x46b7c7,_0xf740ce)),_0x46b7c7['push'](')');return;}else{if(_0x5687e7===0x1){for(let _0x953333=0x0;_0x953333<_0x4e9c2d-0x1;_0x953333++){const _0x4abef5=_0x1bc312[_0x953333];if(_0x4abef5 instanceof _0x309d58[_0x15be24(0x254)]&&_0x953333%0x2===0x0){const _0xbcc3d5=_0x4abef5[_0x15be24(0x2bb)]()[0x0];if(typeof _0xbcc3d5==_0x15be24(0x299)){this['_lambdaFunctionParameterSet'][_0x15be24(0x1ec)](_0xbcc3d5)&&console['error'](_0x15be24(0x2ba)+_0xbcc3d5+_0x15be24(0x2a9)),this[_0x15be24(0x2b1)][_0x15be24(0x207)](_0xbcc3d5),_0x46b7c7[_0x15be24(0x2c1)](''+this[_0x15be24(0x25f)]+_0xbcc3d5),this[_0x15be24(0x2ae)]=!0x0,_0x46b7c7[_0x15be24(0x2c1)](',');continue;}}if(this['_handleNewFunctionChild'](_0x4abef5,_0x46b7c7,_0xf740ce),_0x4abef5 instanceof _0x309d58[_0x15be24(0x254)]){const _0x1443a8=_0x1bc312[_0x953333+0x1];_0x1443a8&&_0x1443a8 instanceof _0x309d58[_0x15be24(0x254)]&&_0x46b7c7[_0x15be24(0x2c1)](',');}}this[_0x15be24(0x223)](_0x1bc312[_0x4e9c2d-0x1],_0x46b7c7,_0xf740ce),_0x46b7c7['push'](')');return;}else{if(_0x5687e7===0x8){const _0x4b3013=_0x1bc312[0x0],_0x88f917=_0x1bc312[0x1];this['_handleNewFunctionChild'](_0x4b3013,_0x46b7c7,_0xf740ce),_0x46b7c7[_0x15be24(0x2c1)](_0x10e036),this['_handleNewFunctionChild'](_0x88f917,_0x46b7c7,_0xf740ce);return;}}}for(let _0x4ecab0=0x0;_0x4ecab0<_0x4e9c2d;_0x4ecab0++){const _0x352fb2=_0x1bc312[_0x4ecab0];if(this['_handleNewFunctionChild'](_0x352fb2,_0x46b7c7,_0xf740ce),_0x352fb2 instanceof _0x309d58[_0x15be24(0x254)]){const _0x245a5a=_0x1bc312[_0x4ecab0+0x1];_0x245a5a&&_0x245a5a instanceof _0x309d58[_0x15be24(0x254)]&&_0x46b7c7[_0x15be24(0x2c1)](',');}}_0x5687e7===0x7&&_0x46b7c7[_0x15be24(0x2c1)](_0x10e036),(_0x3bfe84||_0x5687e7===0x9)&&_0x46b7c7[_0x15be24(0x2c1)](')');}['_handleNewFunctionChild'](_0x4efc7d,_0x2d2b6a,_0x385dd6){const _0x2e48db=_0x32f0cc;_0x4efc7d instanceof _0x309d58[_0x2e48db(0x254)]?this[_0x2e48db(0x27b)](_0x4efc7d,_0x2d2b6a,_0x385dd6):this[_0x2e48db(0x2b1)][_0x2e48db(0x1ec)](_0x4efc7d)?(_0x2d2b6a[_0x2e48db(0x2c1)](''+this[_0x2e48db(0x25f)]+_0x4efc7d),this[_0x2e48db(0x2ae)]=!0x0):_0x2d2b6a[_0x2e48db(0x2c1)](_0x4efc7d);}['_clearFunctionString'](_0x142658){const _0xbda8f=_0x32f0cc;let _0x330293=_0x142658[_0xbda8f(0x2c2)]();if(!_0x330293)return _0x330293;const _0x22c053=_0x330293[0x0];if((_0x22c053===_0x309d58[_0xbda8f(0x298)]['AT']||_0x22c053===_0x309d58[_0xbda8f(0x298)]['MINUS']||_0x22c053===_0x309d58[_0xbda8f(0x298)][_0xbda8f(0x1d0)])&&(_0x330293=_0x330293['slice'](0x1)),!_0x330293)return _0x330293;const _0x441b19=_0x330293[_0x330293[_0xbda8f(0x20b)]-0x1];return _0x309d58[_0xbda8f(0x2bd)][_0xbda8f(0x1ec)](_0x441b19)&&(_0x330293=_0x330293[_0xbda8f(0x266)](0x0,-0x1)),_0x330293;}[_0x32f0cc(0x228)](_0x16bae9){const _0x41045a=_0x32f0cc,_0x5dd8ae=_0x16bae9['getChildren']()[0x0];if(!_0x5dd8ae||!(_0x5dd8ae instanceof _0x309d58[_0x41045a(0x254)])||_0x16bae9[_0x41045a(0x2bb)]()['length']>0x1)return!0x1;const _0x311170=_0x5dd8ae['getChildren'](),_0x36b73f=_0x311170['length'];if(_0x36b73f===0x1)return!0x1;for(let _0x4b4ab6=0x0;_0x4b4ab6<_0x36b73f;_0x4b4ab6++){const _0x5075e8=_0x311170[_0x4b4ab6];if(!(_0x5075e8 instanceof _0x309d58['LexerNode'])&&_0x309d58[_0x41045a(0x270)][_0x41045a(0x1ec)](_0x5075e8))return!0x0;}return!0x1;}[_0x32f0cc(0x24a)](_0x50dffb,_0x364baf,_0x18e967,_0x5b4256,_0x38be6f){const _0x46b343=_0x32f0cc,_0x394d54=this[_0x46b343(0x280)](_0x50dffb,!0x1);if(!_0x394d54||_0x394d54===_0x309d58[_0x46b343(0x291)]['VALUE']||Array['isArray'](_0x394d54))return null;this[_0x46b343(0x278)](),this[_0x46b343(0x21c)]=_0x364baf;const _0x44c155=this[_0x46b343(0x2ab)](_0x394d54,_0x18e967,_0x5b4256,_0x38be6f);return this[_0x46b343(0x21c)]='',this[_0x46b343(0x1f2)](),_0x44c155;}['_generateExprTree'](_0xc250fb,_0x1c7ed4,_0x234728,_0x31e263){const _0x3c629f=_0x32f0cc,_0x35faab={'value':'','children':[],'startIndex':0x0};let _0x4ba1fe=_0xc250fb;if(_0x4ba1fe instanceof _0x309d58[_0x3c629f(0x254)]&&(_0x4ba1fe['getToken']()===_0x309d58['DEFAULT_TOKEN_TYPE_ROOT']||_0x4ba1fe['getToken']()===_0x309d58[_0x3c629f(0x219)])&&_0x4ba1fe[_0x3c629f(0x2bb)]()[_0x3c629f(0x20b)]===0x1&&(_0x4ba1fe=_0x4ba1fe[_0x3c629f(0x2bb)]()[0x0]),!(_0x4ba1fe instanceof _0x309d58[_0x3c629f(0x254)]))return this[_0x3c629f(0x1ff)](_0x4ba1fe,_0x234728,_0x31e263);const _0x44570a=_0x4ba1fe[_0x3c629f(0x2bb)](),_0x280b1c=_0x44570a[_0x3c629f(0x20b)],_0x3114ae=[];this[_0x3c629f(0x27b)](_0x4ba1fe,_0x3114ae,_0x1c7ed4),_0x35faab[_0x3c629f(0x276)]=_0x3114ae[_0x3c629f(0x2b2)](''),_0x35faab['startIndex']=_0x4ba1fe[_0x3c629f(0x1ee)]();const _0x17b494=this[_0x3c629f(0x224)](_0x4ba1fe);if(_0x17b494===0x2){const _0x1d12f5=_0x44570a[0x0];if(_0x1d12f5 instanceof _0x309d58[_0x3c629f(0x254)]){if(_0x1d12f5[_0x3c629f(0x25e)]()[_0x3c629f(0x2c2)]()!==_0x309d58[_0x3c629f(0x2b7)])return _0x35faab;this[_0x3c629f(0x1e5)](_0x1d12f5,_0x35faab,_0x1c7ed4,_0x234728,_0x31e263);}return _0x35faab;}else{if(_0x17b494===0x1){for(let _0x2e4914=0x0;_0x2e4914<_0x280b1c-0x1;_0x2e4914++){const _0x37a521=_0x44570a[_0x2e4914];if(_0x37a521 instanceof _0x309d58[_0x3c629f(0x254)]&&_0x2e4914%0x2===0x1){const _0x398a32=_0x37a521[_0x3c629f(0x2bb)]();if(_0x398a32[_0x3c629f(0x20b)]===0x1&&!(_0x398a32[0x0]instanceof _0x309d58[_0x3c629f(0x254)]))continue;const _0x405af2=this[_0x3c629f(0x2ab)](_0x37a521,_0x1c7ed4,_0x234728,_0x31e263);_0x405af2&&_0x35faab[_0x3c629f(0x222)][_0x3c629f(0x2c1)](_0x405af2);}}return _0x35faab;}else{if(_0x17b494===0x8){const _0x474269=_0x44570a[0x0];if(_0x474269 instanceof _0x309d58[_0x3c629f(0x254)]){const _0x3cc499=_0x474269[_0x3c629f(0x2bb)]()[0x0];_0x3cc499 instanceof _0x309d58[_0x3c629f(0x254)]&&(_0x35faab[_0x3c629f(0x285)]=_0x3cc499[_0x3c629f(0x1ee)]());}if(this[_0x3c629f(0x1c6)](_0x4ba1fe))return _0x35faab;}else{if(_0x17b494===0x7){const _0x469c1c=_0x44570a[0x0];if(_0x469c1c instanceof _0x309d58[_0x3c629f(0x254)]){const _0x34b3d1=_0x469c1c[_0x3c629f(0x2bb)]()[0x0];_0x34b3d1 instanceof _0x309d58[_0x3c629f(0x254)]&&(_0x35faab[_0x3c629f(0x285)]=_0x34b3d1[_0x3c629f(0x1ee)]());}}}}}return this[_0x3c629f(0x1d9)](_0x44570a,_0x17b494,_0x35faab,_0x1c7ed4,_0x234728,_0x31e263),_0x35faab;}[_0x32f0cc(0x1d9)](_0x2160a6,_0x595011,_0x1c43f0,_0x5c00fb,_0x467a89,_0x5e34cf){const _0x2d9f0e=_0x32f0cc;for(let _0x10209d=0x0;_0x10209d<_0x2160a6[_0x2d9f0e(0x20b)];_0x10209d++){let _0x5e9b54=_0x2160a6[_0x10209d];if(!(_0x5e9b54 instanceof _0x309d58[_0x2d9f0e(0x254)])){const _0x10aa30=this[_0x2d9f0e(0x1ff)](_0x5e9b54,_0x467a89,_0x5e34cf);_0x10aa30&&_0x1c43f0['children']['push'](_0x10aa30);continue;}const _0x533f38=_0x5e9b54[_0x2d9f0e(0x2bb)]();if(_0x533f38[_0x2d9f0e(0x20b)]===0x1&&!(_0x533f38[0x0]instanceof _0x309d58[_0x2d9f0e(0x254)])){const _0x149e74=_0x533f38[0x0];if(!_0x467a89(this[_0x2d9f0e(0x21c)],_0x149e74)&&!this[_0x2d9f0e(0x2a3)](_0x149e74,_0x5e34cf)&&!_0x309d58[_0x2d9f0e(0x28d)](_0x149e74))continue;}if(_0x595011===0x8){const _0x4110fc=_0x533f38[0x0];if(_0x4110fc instanceof _0x309d58[_0x2d9f0e(0x254)]){const _0x2ea349=_0x4110fc[_0x2d9f0e(0x25e)]()[_0x2d9f0e(0x2c2)]();if(_0x309d58[_0x2d9f0e(0x28d)](_0x2ea349))continue;_0x5e9b54=_0x4110fc;}}const _0x58de50=this[_0x2d9f0e(0x2ab)](_0x5e9b54,_0x5c00fb,_0x467a89,_0x5e34cf);_0x58de50&&_0x1c43f0[_0x2d9f0e(0x222)][_0x2d9f0e(0x2c1)](_0x58de50);}}[_0x32f0cc(0x1c6)](_0x529215){const _0x27a446=_0x32f0cc,_0x1ab73b=_0x529215[_0x27a446(0x2bb)]();if(_0x1ab73b[_0x27a446(0x20b)]<0x2)return!0x1;const _0xbab58d=_0x1ab73b[0x0],_0x1541df=_0x1ab73b[0x1];if(!(_0xbab58d instanceof _0x309d58[_0x27a446(0x254)])||!(_0x1541df instanceof _0x309d58[_0x27a446(0x254)]))return!0x1;const _0x435d20=_0xbab58d[_0x27a446(0x2bb)]()[0x0],_0x1c7599=_0x1541df[_0x27a446(0x2bb)]()[0x0];if(!(_0x435d20 instanceof _0x309d58[_0x27a446(0x254)])||!(_0x1c7599 instanceof _0x309d58[_0x27a446(0x254)]))return!0x1;const _0x5540a9=_0x435d20['getToken']()[_0x27a446(0x2c2)](),_0x4506f3=_0x1c7599[_0x27a446(0x25e)]()['trim']();return!!_0x309d58[_0x27a446(0x28d)](''+_0x5540a9+_0x309d58[_0x27a446(0x1ca)][_0x27a446(0x22f)]+_0x4506f3);}[_0x32f0cc(0x1ff)](_0x57f10a,_0x22e6a6,_0x5791a5){const _0x996ee6=_0x32f0cc,_0x6c860b=_0x57f10a['trim']();return _0x6c860b[_0x996ee6(0x28f)]('{')&&_0x6c860b['endsWith']('}')||_0x22e6a6(this[_0x996ee6(0x21c)],_0x6c860b)||this[_0x996ee6(0x2a3)](_0x6c860b,_0x5791a5)||_0x309d58['isReferenceString'](_0x6c860b)?{'value':_0x6c860b,'children':[],'startIndex':-0x1}:null;}[_0x32f0cc(0x2a3)](_0x247c59,_0x476978){const _0x5381b8=_0x32f0cc,{tableName:_0x1cfc4b}=_0x309d58[_0x5381b8(0x1e4)](_0x247c59);return _0x476978(this[_0x5381b8(0x21c)],_0x1cfc4b)?_0x1cfc4b:null;}[_0x32f0cc(0x1e5)](_0x5aa869,_0x1387bf,_0x58e7dc,_0x451fc3,_0xb6b150){const _0x3347c4=_0x32f0cc,_0x4f8cf7=_0x5aa869['getChildren']();for(let _0x4e650a=0x0;_0x4e650a<_0x4f8cf7['length'];_0x4e650a++){const _0x428bf7=_0x4f8cf7[_0x4e650a];if(!(_0x428bf7 instanceof _0x309d58['LexerNode']))continue;const _0x5d519f=_0x428bf7['getChildren']();if(_0x5d519f['length']===0x1&&!(_0x5d519f[0x0]instanceof _0x309d58[_0x3347c4(0x254)]))continue;const _0x23a3ca=this['_generateExprTree'](_0x428bf7,_0x58e7dc,_0x451fc3,_0xb6b150);_0x23a3ca&&_0x1387bf[_0x3347c4(0x222)][_0x3347c4(0x2c1)](_0x23a3ca);}}[_0x32f0cc(0x224)](_0x46b032){const _0x4c822f=_0x32f0cc,_0x514883=_0x46b032['getToken'](),_0x59c165=_0x514883[_0x4c822f(0x2c2)]()['toUpperCase']();let _0x530215=0x0;return _0x514883===_0x309d58[_0x4c822f(0x1eb)]?_0x530215=0x3:_0x514883===_0x309d58[_0x4c822f(0x219)]?_0x530215=0x4:_0x514883===_0x309d58[_0x4c822f(0x2b7)]?_0x530215=0x5:_0x59c165===_0x309d58[_0x4c822f(0x2b0)]?_0x530215=0x2:_0x59c165===_0x309d58[_0x4c822f(0x20c)]?_0x530215=0x1:_0x59c165===_0x309d58[_0x4c822f(0x1ca)]['COLON']?_0x530215=0x8:_0x309d58[_0x4c822f(0x2bd)][_0x4c822f(0x1ec)](_0x59c165)?_0x530215=0x7:_0x59c165===_0x309d58[_0x4c822f(0x298)][_0x4c822f(0x22e)]?this[_0x4c822f(0x228)](_0x46b032)&&(_0x530215=0x9):_0x530215=0xa,_0x530215;}}class _0x5c3e95 extends _0x309d58[_0x32f0cc(0x2b5)]{constructor(){super(...arguments),_0x3c4b89(this,'_dependencyTreeCache',new Map());}[_0x32f0cc(0x1cc)](){const _0x36998d=_0x32f0cc;super[_0x36998d(0x1cc)](),this[_0x36998d(0x24e)][_0x36998d(0x2c6)]();}async['generate'](_0x3b9ce7=!0x1){const _0x1ca353=_0x32f0cc;this[_0x1ca353(0x256)]();const _0x1d481a=this[_0x1ca353(0x200)][_0x1ca353(0x2b8)](),_0x2bc284=this['_otherFormulaManagerService'][_0x1ca353(0x23c)](),_0x763cf3=this[_0x1ca353(0x200)][_0x1ca353(0x1cd)]();_0x763cf3!=null&&Object['keys'](_0x763cf3)[_0x1ca353(0x26a)](_0x1782d3=>{const _0xc13522=_0x1ca353;_0x1782d3!=null&&Object[_0xc13522(0x27a)](_0x763cf3[_0x1782d3])[_0xc13522(0x26a)](_0x46ab21=>{const _0x43f136=_0xc13522;_0x46ab21!=null&&(this['_dependencyManagerService'][_0x43f136(0x204)](_0x1782d3,_0x46ab21),this['_dependencyManagerService'][_0x43f136(0x29d)](_0x1782d3,_0x46ab21),this[_0x43f136(0x1c2)][_0x43f136(0x289)](_0x1782d3,_0x46ab21));});});const _0x5cc1de=this[_0x1ca353(0x200)][_0x1ca353(0x1d7)]();await this[_0x1ca353(0x268)](_0x1d481a,_0x2bc284,_0x5cc1de),this[_0x1ca353(0x1c2)][_0x1ca353(0x26c)]();const _0x1455c3=this['_getUpdateTreeListAndMakeDependency'](),_0x2f6504=this[_0x1ca353(0x1fc)](_0x1455c3);return this[_0x1ca353(0x1e3)](_0x2f6504)&&this[_0x1ca353(0x238)][_0x1ca353(0x208)](),_0x3b9ce7&&this[_0x1ca353(0x238)][_0x1ca353(0x2a6)](this[_0x1ca353(0x279)](Array['from'](this['_dependencyTreeCache']['values']()))),this[_0x1ca353(0x24e)]['clear'](),this[_0x1ca353(0x29a)][_0x1ca353(0x2c6)](),this[_0x1ca353(0x1c2)][_0x1ca353(0x242)](),this[_0x1ca353(0x238)][_0x1ca353(0x21b)](),Promise['resolve'](_0x2f6504);}[_0x32f0cc(0x211)](_0x53f518,_0x7dfd28){const _0x16a6cb=_0x32f0cc,_0x3ab11=[_0x53f518];for(;_0x3ab11[_0x16a6cb(0x20b)]>0x0;){const _0x5238e0=_0x3ab11[_0x3ab11[_0x16a6cb(0x20b)]-0x1];if((_0x7dfd28[_0x16a6cb(0x263)](_0x5238e0)||0x0)===0x0){_0x7dfd28[_0x16a6cb(0x2cb)](_0x5238e0,0x1);const _0x217a31=this[_0x16a6cb(0x24e)][_0x16a6cb(0x263)](_0x5238e0);if(_0x217a31==null){_0x7dfd28[_0x16a6cb(0x2cb)](_0x5238e0,0x2),_0x3ab11['pop']();continue;}const _0x5c1888=this[_0x16a6cb(0x1c2)]['searchDependency'](_0x217a31[_0x16a6cb(0x1dd)]());for(const _0x51b387 of _0x5c1888){const _0x328116=_0x7dfd28[_0x16a6cb(0x263)](_0x51b387)||0x0;if(_0x328116===0x1)return!0x0;_0x328116===0x0&&_0x3ab11[_0x16a6cb(0x2c1)](_0x51b387);}}else _0x7dfd28['set'](_0x5238e0,0x2),_0x3ab11[_0x16a6cb(0x1e2)]();}return!0x1;}[_0x32f0cc(0x1e3)](_0x4765e4){const _0x34ea4d=_0x32f0cc,_0x41c09f=new Map();for(const _0x1f2050 of _0x4765e4)if(!_0x41c09f[_0x34ea4d(0x1ec)](_0x1f2050[_0x34ea4d(0x271)])&&this['_isCyclicUtilMap'](_0x1f2050['treeId'],_0x41c09f))return!0x0;return _0x41c09f['clear'](),!0x1;}['_getFeatureFormulaTree'](_0xaddcaf,_0x5e4c30,_0x1f982b){const _0x3217fb=_0x32f0cc,{unitId:_0x5bee7a,subUnitId:_0x5f5d4a,dependencyRanges:_0x560d6d,getDirtyData:_0x27b05b}=_0x1f982b,_0x439629=_0x5e4c30||_0x309d58[_0x3217fb(0x209)](this['_dependencyManagerService']),_0x3dabe8=new _0x309d58[(_0x3217fb(0x1c4))](_0x439629);_0x3dabe8[_0x3217fb(0x23a)]=_0x5bee7a,_0x3dabe8[_0x3217fb(0x21a)]=_0x5f5d4a,_0x3dabe8[_0x3217fb(0x29e)]=_0x560d6d,_0x3dabe8[_0x3217fb(0x21e)]=_0x27b05b;const _0x37a945=_0x27b05b(this[_0x3217fb(0x200)][_0x3217fb(0x21e)](),this['_runtimeService'][_0x3217fb(0x2aa)]()),_0x3c9aae=this[_0x3217fb(0x27e)](_0x37a945['dirtyRanges']);return _0x3dabe8[_0x3217fb(0x2c3)]=_0x3c9aae,_0x3dabe8[_0x3217fb(0x27f)]=_0xaddcaf,_0x3dabe8[_0x3217fb(0x201)]=_0x309d58['FormulaDependencyTreeType'][_0x3217fb(0x20a)],this[_0x3217fb(0x1c2)]['addFeatureFormulaDependency'](_0x5bee7a,_0x5f5d4a,_0xaddcaf,_0x3dabe8),this['_dependencyTreeCache'][_0x3217fb(0x2cb)](_0x3dabe8[_0x3217fb(0x271)],_0x3dabe8),this['_dependencyManagerService'][_0x3217fb(0x240)](_0x1f982b[_0x3217fb(0x23a)],_0x1f982b[_0x3217fb(0x21a)],_0xaddcaf)&&(_0x3dabe8[_0x3217fb(0x25b)]=!0x0),_0x3dabe8;}[_0x32f0cc(0x1ea)](_0x15992b,_0x43e894,_0x5f2cd9){const _0x56e6fb=_0x32f0cc;var _0x431753;for(const _0x1aefeb of _0x43e894){const _0x4f7294=_0x15992b[_0x1aefeb];if(_0x4f7294==null)continue;const _0x3c7da4=Object[_0x56e6fb(0x27a)](_0x4f7294);for(const _0xedb877 of _0x3c7da4){const _0x2647b1=_0x4f7294[_0xedb877];if(_0x2647b1==null)continue;const _0x46e27f=Object[_0x56e6fb(0x27a)](_0x2647b1);for(const _0x45a747 of _0x46e27f){const _0x12f602=this[_0x56e6fb(0x1c2)]['hasOtherFormulaDataMainData'](_0x45a747),_0x47f630=_0x2647b1[_0x45a747],{f:_0x10528a,ranges:_0x4371e7}=_0x47f630;let _0x5ac264=!0x1;_0x12f602&&(_0x5ac264=!0x0);const {firstRow:_0x18ee35,firstColumn:_0x488f4e}=this['_getFirstCellOfRange'](_0x4371e7),_0xb15081=this[_0x56e6fb(0x1c2)][_0x56e6fb(0x27c)](_0x1aefeb,_0xedb877,_0x45a747),_0x34fbbe=(_0x431753=_0xb15081==null?void 0x0:_0xb15081['getValue'](0x0,0x0))!=null?_0x431753:_0x309d58[_0x56e6fb(0x209)](this[_0x56e6fb(0x1c2)]),_0x4a0abe=new _0x309d58[(_0x56e6fb(0x1c4))](_0x34fbbe);for(let _0x345408=0x0;_0x345408<_0x4371e7[_0x56e6fb(0x20b)];_0x345408++){const _0x2e8284=_0x4371e7[_0x345408],{startRow:_0x547731,startColumn:_0x1fb397,endRow:_0x3923a6,endColumn:_0x2c7043}=_0x2e8284;for(let _0x2f5e9b=_0x547731;_0x2f5e9b<=_0x3923a6;_0x2f5e9b++)for(let _0x5d950a=_0x1fb397;_0x5d950a<=_0x2c7043;_0x5d950a++){const _0x960255=_0x5d950a-_0x488f4e,_0x2430b9=_0x2f5e9b-_0x18ee35;if(_0x960255===0x0&&_0x2430b9===0x0){_0x4a0abe['formula']=_0x10528a,_0x4a0abe[_0x56e6fb(0x23a)]=_0x1aefeb,_0x4a0abe[_0x56e6fb(0x21a)]=_0xedb877,_0x4a0abe[_0x56e6fb(0x244)]=_0x45a747,_0x4a0abe[_0x56e6fb(0x201)]=_0x309d58['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x4a0abe[_0x56e6fb(0x25b)]=_0x5ac264,_0x5f2cd9[_0x56e6fb(0x2c1)](_0x4a0abe),this[_0x56e6fb(0x24e)][_0x56e6fb(0x2cb)](_0x4a0abe[_0x56e6fb(0x271)],_0x4a0abe),this[_0x56e6fb(0x1c2)][_0x56e6fb(0x283)](_0x1aefeb,_0xedb877,_0x45a747,_0x4a0abe),this[_0x56e6fb(0x1c2)][_0x56e6fb(0x24b)](_0x4a0abe);continue;}const _0x5db6b3=new _0x309d58[(_0x56e6fb(0x25c))]();_0x5db6b3[_0x56e6fb(0x271)]=(_0xb15081==null?void 0x0:_0xb15081[_0x56e6fb(0x1f1)](_0x960255,_0x2430b9))||_0x309d58[_0x56e6fb(0x209)](this[_0x56e6fb(0x1c2)]),_0x5db6b3[_0x56e6fb(0x282)]=_0x4a0abe,_0x5db6b3[_0x56e6fb(0x261)]=_0x960255,_0x5db6b3[_0x56e6fb(0x260)]=_0x2430b9,_0x5db6b3[_0x56e6fb(0x25b)]=_0x5ac264,_0x5db6b3[_0x56e6fb(0x201)]=_0x309d58[_0x56e6fb(0x1e0)][_0x56e6fb(0x2bf)],this[_0x56e6fb(0x1c2)][_0x56e6fb(0x283)](_0x1aefeb,_0xedb877,_0x45a747,_0x5db6b3),this[_0x56e6fb(0x1c2)][_0x56e6fb(0x24b)](_0x5db6b3),_0x5f2cd9[_0x56e6fb(0x2c1)](_0x5db6b3),this[_0x56e6fb(0x24e)][_0x56e6fb(0x2cb)](_0x5db6b3[_0x56e6fb(0x271)],_0x5db6b3);}}this[_0x56e6fb(0x1c2)]['addOtherFormulaDependencyMainData'](_0x45a747);}}}}[_0x32f0cc(0x1f4)](_0x1a444b,_0x5e1ebd,_0x159ead,_0x3853a7){const _0xbddfa=_0x32f0cc;for(const _0x4b89b8 of _0x1a444b){const _0x322b46=_0x5e1ebd[_0x4b89b8];if(_0x322b46==null)continue;const _0x590a49=Object[_0xbddfa(0x27a)](_0x322b46);for(const _0x2ff9f5 of _0x590a49){const _0x29bf15=new _0x4b6aff['ObjectMatrix'](_0x322b46[_0x2ff9f5]||{}),_0x1b60b7=new Map();_0x29bf15[_0xbddfa(0x1de)]((_0x504fff,_0x3a8dde,_0x5d5d69)=>{const _0x2e21e8=_0xbddfa;if(_0x5d5d69==null)return!0x0;const {x:_0x422e9a=0x0,y:_0x5cc40f=0x0,si:_0xbeee9e}=_0x5d5d69;if(!(_0x422e9a===0x0&&_0x5cc40f===0x0&&_0xbeee9e!=null))return!0x0;const _0x447df3=this[_0x2e21e8(0x229)](_0x4b89b8,_0x2ff9f5,_0x504fff,_0x3a8dde,_0x159ead,_0x5d5d69),_0x3c14dc=this[_0x2e21e8(0x1c2)]['getFormulaDependency'](_0x4b89b8,_0x2ff9f5,_0x504fff,_0x3a8dde);_0x3c14dc!=null?_0x447df3['treeId']=_0x3c14dc:(this['_dependencyManagerService'][_0x2e21e8(0x22a)](_0x4b89b8,_0x2ff9f5,_0x504fff,_0x3a8dde,_0x447df3),this[_0x2e21e8(0x1c2)][_0x2e21e8(0x24b)](_0x447df3)),_0x1b60b7[_0x2e21e8(0x2cb)](_0xbeee9e,_0x447df3),_0x3853a7[_0x2e21e8(0x2c1)](_0x447df3),this[_0x2e21e8(0x24e)][_0x2e21e8(0x2cb)](_0x447df3[_0x2e21e8(0x271)],_0x447df3);}),_0x29bf15[_0xbddfa(0x1de)]((_0xf49162,_0x1445ab,_0x4cf4e6)=>{const _0x288ce0=_0xbddfa;if(_0x4cf4e6==null)return!0x0;const {x:_0x1f92cb=0x0,y:_0x29c8a7=0x0,si:_0x48e81a}=_0x4cf4e6;if(_0x1f92cb===0x0&&_0x29c8a7===0x0&&_0x48e81a!=null)return!0x0;let _0x3f5ab9;if(_0x48e81a&&_0x1b60b7[_0x288ce0(0x1ec)](_0x48e81a)){const _0x88558f=_0x1b60b7[_0x288ce0(0x263)](_0x48e81a);_0x3f5ab9=this[_0x288ce0(0x22c)](_0x88558f,_0x4cf4e6);}else _0x3f5ab9=this[_0x288ce0(0x229)](_0x4b89b8,_0x2ff9f5,_0xf49162,_0x1445ab,_0x159ead,_0x4cf4e6);const _0x33e486=this[_0x288ce0(0x1c2)][_0x288ce0(0x1f3)](_0x4b89b8,_0x2ff9f5,_0xf49162,_0x1445ab);_0x33e486!=null?_0x3f5ab9[_0x288ce0(0x271)]=_0x33e486:(this['_dependencyManagerService']['addFormulaDependency'](_0x4b89b8,_0x2ff9f5,_0xf49162,_0x1445ab,_0x3f5ab9),this[_0x288ce0(0x1c2)]['addFormulaDependencyByDefinedName'](_0x3f5ab9)),_0x3853a7[_0x288ce0(0x2c1)](_0x3f5ab9),this[_0x288ce0(0x24e)]['set'](_0x3f5ab9['treeId'],_0x3f5ab9);}),_0x1b60b7[_0xbddfa(0x2c6)]();}}}[_0x32f0cc(0x229)](_0x106feb,_0x3771e0,_0x4788a0,_0x4c546c,_0x3a88b1,_0x32a9a7){const _0x4d374f=_0x32f0cc,{f:_0x4b885e,x:_0x482d75=0x0,y:_0x58965d=0x0}=_0x32a9a7,_0x340012=new _0x309d58[(_0x4d374f(0x1c4))](_0x309d58[_0x4d374f(0x209)](this[_0x4d374f(0x1c2)])),_0x113548=_0x3a88b1[_0x106feb][_0x3771e0];return _0x340012[_0x4d374f(0x1d6)]=_0x4b885e,_0x340012[_0x4d374f(0x23a)]=_0x106feb,_0x340012[_0x4d374f(0x21a)]=_0x3771e0,_0x340012[_0x4d374f(0x246)]=_0x4788a0,_0x340012[_0x4d374f(0x2ad)]=_0x4c546c,_0x340012[_0x4d374f(0x265)]=_0x113548[_0x4d374f(0x265)],_0x340012[_0x4d374f(0x272)]=_0x113548['columnCount'],_0x340012;}[_0x32f0cc(0x294)](){const _0x4c9e15=_0x32f0cc,_0x10a302=[],_0x1d701c=new Set(),_0x57178f=this[_0x4c9e15(0x200)][_0x4c9e15(0x24f)](),_0x5c5374=this['_currentConfigService'][_0x4c9e15(0x227)](),_0x420379=this[_0x4c9e15(0x1c2)]['searchDependency'](_0x5c5374),_0x186768=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x5c5374);for(const _0x7dc058 of _0x186768)_0x420379['add'](_0x7dc058);for(const [_0x39ea8d,_0x1c605f]of this[_0x4c9e15(0x24e)])(_0x57178f||_0x1c605f[_0x4c9e15(0x277)]||_0x1c605f[_0x4c9e15(0x218)](this[_0x4c9e15(0x200)]['getDirtyNameMap']())||_0x420379[_0x4c9e15(0x1ec)](_0x39ea8d)&&!_0x1c605f[_0x4c9e15(0x274)](this['_currentConfigService'][_0x4c9e15(0x281)]()))&&!_0x1d701c['has'](_0x39ea8d)&&(_0x10a302[_0x4c9e15(0x2c1)](_0x1c605f),_0x1d701c[_0x4c9e15(0x207)](_0x39ea8d));for(const [_0xde8e3b,_0x3c43bd]of this[_0x4c9e15(0x24e)])_0x3c43bd[_0x4c9e15(0x237)]||(_0x3c43bd[_0x4c9e15(0x29e)][_0x4c9e15(0x20b)]=0x0);return _0x10a302;}[_0x32f0cc(0x252)](_0x3d9469){const _0x1325ee=_0x32f0cc;return this[_0x1325ee(0x24e)]['get'](_0x3d9469);}[_0x32f0cc(0x234)](_0x1554ac){const _0x7009a6=_0x32f0cc;return _0x309d58[_0x7009a6(0x2a8)](_0x1554ac['unitId'],_0x1554ac[_0x7009a6(0x1d6)],this['_lexer'],this[_0x7009a6(0x233)],this[_0x7009a6(0x200)]);}*[_0x32f0cc(0x273)](_0x43354e,_0x4c6867){const _0x2eb230=_0x32f0cc,_0x3adf4d=_0x43354e,_0x319c5e=new Set();for(;_0x3adf4d[_0x2eb230(0x20b)]>0x0;){const _0x5858ea=_0x3adf4d[_0x2eb230(0x1e2)]();if(_0x319c5e['clear'](),_0x5858ea===void 0x0||_0x5858ea[_0x2eb230(0x1e1)]())continue;if(_0x5858ea['isAdded']()){yield _0x5858ea,_0x5858ea[_0x2eb230(0x206)](),_0x4c6867[_0x2eb230(0x207)](_0x5858ea[_0x2eb230(0x271)]);continue;}const _0x5a9872=this[_0x2eb230(0x1c2)][_0x2eb230(0x1cb)](_0x5858ea[_0x2eb230(0x1dd)](),_0x4c6867),_0x52f88b=this[_0x2eb230(0x29a)][_0x2eb230(0x29b)](_0x5858ea[_0x2eb230(0x1dd)](),_0x4c6867);for(const _0x29cf91 of _0x52f88b)_0x5a9872[_0x2eb230(0x207)](_0x29cf91);for(const _0x22f4f4 of _0x5a9872){const _0x53161a=this[_0x2eb230(0x24e)][_0x2eb230(0x263)](_0x22f4f4);if(!_0x53161a){console[_0x2eb230(0x2ca)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x22f4f4);continue;}_0x53161a['isAdded']()||_0x5858ea['isSkip']()||_0x319c5e[_0x2eb230(0x207)](_0x53161a);}if(_0x5a9872[_0x2eb230(0x2c6)](),_0x319c5e[_0x2eb230(0x1e7)]===0x0)yield _0x5858ea,_0x5858ea[_0x2eb230(0x206)](),_0x4c6867[_0x2eb230(0x207)](_0x5858ea[_0x2eb230(0x271)]);else{_0x5858ea[_0x2eb230(0x287)](),_0x3adf4d[_0x2eb230(0x2c1)](_0x5858ea);for(const _0x5982be of _0x319c5e)_0x3adf4d[_0x2eb230(0x2c1)](_0x5982be);}}_0x3adf4d[_0x2eb230(0x20b)]=0x0,_0x319c5e['clear']();}[_0x32f0cc(0x1fc)](_0x33e9dc){const _0x506d01=_0x32f0cc,_0x371589=[],_0xa37d7b=new Set();for(const _0x2cb0d0 of this[_0x506d01(0x273)](_0x33e9dc,_0xa37d7b))_0x371589[_0x506d01(0x2c1)](_0x2cb0d0);return _0x371589;}async[_0x32f0cc(0x1f9)](){const _0x308d50=_0x32f0cc;return await this['_initializeGenerateTreeList'](),Array['from'](this[_0x308d50(0x24e)][_0x308d50(0x28b)]());}[_0x32f0cc(0x2c0)](_0x214097){const _0x43e18b=_0x32f0cc;return this['_dependencyManagerService'][_0x43e18b(0x1cb)](_0x214097[_0x43e18b(0x1dd)]());}[_0x32f0cc(0x247)](_0x9915c6){const _0x5de514=_0x32f0cc,_0x199c55=new Set(),_0x43ed88=_0x9915c6['rangeList'];for(const [_0x51f101,_0x4da7c7]of this[_0x5de514(0x24e)])for(const _0x3026d3 of _0x43ed88){const _0x45413e=_0x3026d3[_0x5de514(0x23a)],_0xa591ec=_0x3026d3[_0x5de514(0x1d5)];if(_0x4da7c7[_0x5de514(0x23a)]!==_0x45413e||_0x4da7c7[_0x5de514(0x21a)]!==_0xa591ec)continue;const _0x566c78=_0x3026d3[_0x5de514(0x1c8)];if(_0x4da7c7[_0x5de514(0x22d)](_0x566c78)){_0x199c55[_0x5de514(0x207)](_0x51f101);break;}}return _0x199c55;}[_0x32f0cc(0x23b)](){const _0x48b97d=_0x32f0cc;this[_0x48b97d(0x1c2)][_0x48b97d(0x26c)]();}['_endFormulaDependencyTreeModel'](){const _0x2c059b=_0x32f0cc;this[_0x2c059b(0x264)]['clear'](),this[_0x2c059b(0x24e)][_0x2c059b(0x2c6)](),this[_0x2c059b(0x1c2)][_0x2c059b(0x242)]();}}const _0x567fca=_0x32f0cc(0x20d),_0x5cc737={0x0:'c',0x1:'g',0x2:'u',0x3:'T',0x4:'X',0x5:'e',0x6:'y',0x7:'6',0x8:'B',0x9:'W','a':'0','w':'1','K':'2','l':'3','A':'4','B':'5','\x20':'7','P':'8','Z':'9','d':'a','c':'b','N':'d','L':'f','I':'h','V':'i','Q':'j','E':'k','p':'l','X':'m','W':'n','T':'o','m':'p','t':'q','C':'r','r':'s','i':'t','R':'v','O':'w','H':'x','o':'z','J':'A','x':'C','u':'D','D':'E','h':'F','b':'G','s':'H','j':'I','v':'J','Y':'K','g':'L','S':'M','U':'N','e':'O','k':'P','G':'Q','y':'R','q':'S','z':'U','M':'V','f':'Y','n':'Z','F':'\x20'};class _0x3ccca3 extends _0x309d58['CalculateFormulaService']{async[_0x32f0cc(0x250)](_0x45e85a=!0x1){const _0x785633=_0x32f0cc;_0x45e85a?this['_runtimeService'][_0x785633(0x1fa)](_0x309d58[_0x785633(0x1f0)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x785633(0x238)][_0x785633(0x1fa)](_0x309d58[_0x785633(0x1f0)][_0x785633(0x2af)]),this[_0x785633(0x202)]['next'](this[_0x785633(0x238)][_0x785633(0x230)]());const _0x15b84a=await this[_0x785633(0x1fb)]['generate'](this[_0x785633(0x262)]),_0x4d4d5b=this['_interpreter'];_0x45e85a?(this[_0x785633(0x238)]['setFormulaExecuteStage'](_0x309d58['FormulaExecuteStageType'][_0x785633(0x251)]),this['_runtimeService'][_0x785633(0x1dc)](_0x15b84a['length'])):(this[_0x785633(0x238)][_0x785633(0x1fa)](_0x309d58[_0x785633(0x1f0)][_0x785633(0x28e)]),this[_0x785633(0x238)][_0x785633(0x1fe)](_0x15b84a[_0x785633(0x20b)])),this['_executionInProgressListener$'][_0x785633(0x25a)](this[_0x785633(0x238)][_0x785633(0x230)]());let _0x8606ac=[];const _0x162259=this[_0x785633(0x20e)]['getConfig'](_0x309d58[_0x785633(0x232)]),_0x123beb=(_0x162259==null?void 0x0:_0x162259[_0x785633(0x215)])||_0x309d58['DEFAULT_INTERVAL_COUNT'];let _0x10fa5d=0x0;const _0x5354e0=_0x15b84a[_0x785633(0x20b)];for(;_0x15b84a[_0x785633(0x20b)]>0x0;){const _0x1cccbd=_0x15b84a[_0x785633(0x1e2)](),_0x2598d1=_0x309d58[_0x785633(0x2a8)](_0x1cccbd[_0x785633(0x23a)],_0x1cccbd[_0x785633(0x1d6)],this[_0x785633(0x1db)],this[_0x785633(0x233)],this[_0x785633(0x200)]),_0x22f4ef={'node':_0x2598d1,'refOffsetX':_0x1cccbd[_0x785633(0x261)],'refOffsetY':_0x1cccbd[_0x785633(0x260)]},_0x4781c8=_0x1cccbd[_0x785633(0x21e)];if(_0x10fa5d%_0x123beb===0x0&&(await new Promise(_0x4d30c3=>{const _0x157d96=_0x785633,_0x565567=_0x4b6aff[_0x157d96(0x217)](_0x4d30c3);_0x8606ac[_0x157d96(0x2c1)](_0x565567);}),_0x45e85a?(this[_0x785633(0x238)][_0x785633(0x1fa)](_0x309d58['FormulaExecuteStageType'][_0x785633(0x226)]),this[_0x785633(0x238)][_0x785633(0x22b)](_0x10fa5d+0x1)):(this['_runtimeService'][_0x785633(0x1fa)](_0x309d58[_0x785633(0x1f0)]['CURRENTLY_CALCULATING']),this[_0x785633(0x238)]['setCompletedFormulasCount'](_0x10fa5d+0x1)),this['_executionInProgressListener$'][_0x785633(0x25a)](this['_runtimeService']['getRuntimeState']()),this[_0x785633(0x238)]['isStopExecution']()||_0x22f4ef==null&&_0x4781c8==null)){this[_0x785633(0x238)][_0x785633(0x1fa)](_0x309d58[_0x785633(0x1f0)][_0x785633(0x25d)]),this[_0x785633(0x238)][_0x785633(0x210)](),this[_0x785633(0x216)][_0x785633(0x25a)](this[_0x785633(0x238)][_0x785633(0x2aa)]());return;}this['_runtimeService']['setCurrent'](_0x1cccbd[_0x785633(0x246)],_0x1cccbd['column'],_0x1cccbd[_0x785633(0x265)],_0x1cccbd[_0x785633(0x272)],_0x1cccbd['subUnitId'],_0x1cccbd[_0x785633(0x23a)]);let _0x1e2fad;if(_0x4781c8!=null&&_0x1cccbd[_0x785633(0x27f)]!=null){const {runtimeCellData:_0x4eefd7,dirtyRanges:_0x44156d}=_0x4781c8(this['_currentConfigService'][_0x785633(0x21e)](),this[_0x785633(0x238)][_0x785633(0x2aa)]());this['_runtimeService'][_0x785633(0x214)](_0x1cccbd[_0x785633(0x27f)],_0x4eefd7),this[_0x785633(0x238)][_0x785633(0x2a0)](_0x1cccbd[_0x785633(0x27f)],_0x44156d);}else _0x22f4ef!=null&&(_0x4d4d5b[_0x785633(0x2bc)](_0x22f4ef[_0x785633(0x1c5)])?_0x1e2fad=await _0x4d4d5b[_0x785633(0x292)](_0x22f4ef):_0x1e2fad=_0x4d4d5b[_0x785633(0x284)](_0x22f4ef),_0x1cccbd['formulaId']!=null?this['_runtimeService'][_0x785633(0x1e6)](_0x1cccbd[_0x785633(0x244)],_0x1cccbd['refOffsetX'],_0x1cccbd[_0x785633(0x260)],_0x1e2fad):this[_0x785633(0x238)]['setRuntimeData'](_0x1e2fad));_0x2598d1[_0x785633(0x231)](),_0x10fa5d++;}return _0x8606ac[_0x785633(0x26a)](_0x1c8c88=>_0x1c8c88()),_0x8606ac=[],_0x5354e0>0x0?this['_runtimeService'][_0x785633(0x21f)]():_0x45e85a||this['_runtimeService'][_0x785633(0x2c8)](),this[_0x785633(0x238)][_0x785633(0x2aa)]();}}class _0x465b2e extends _0x309d58[_0x32f0cc(0x293)]{constructor(){const _0x4f9a35=_0x32f0cc;super(...arguments),_0x3c4b89(this,_0x4f9a35(0x2c9),new Map()),_0x3c4b89(this,_0x4f9a35(0x235),new _0x4b6aff[(_0x4f9a35(0x2b6))](!0x0));}[_0x32f0cc(0x1d3)](){const _0x27daf8=_0x32f0cc;this[_0x27daf8(0x1ef)][_0x27daf8(0x2c6)](),this['_featureFormulaData'][_0x27daf8(0x2c6)](),this[_0x27daf8(0x1da)]['clear'](),this[_0x27daf8(0x235)][_0x27daf8(0x2c6)](),this[_0x27daf8(0x2c9)][_0x27daf8(0x2c6)](),this[_0x27daf8(0x2c7)](),this[_0x27daf8(0x239)][_0x27daf8(0x2c6)]();}[_0x32f0cc(0x283)](_0x8e1f97,_0x1f2682,_0x3d6496,_0x362f9d){const _0x28e797=_0x32f0cc;this['_otherFormulaData'][_0x28e797(0x1ec)](_0x8e1f97)||this[_0x28e797(0x1ef)][_0x28e797(0x2cb)](_0x8e1f97,new Map());const _0x15caf3=this[_0x28e797(0x1ef)][_0x28e797(0x263)](_0x8e1f97);_0x15caf3['has'](_0x1f2682)||_0x15caf3['set'](_0x1f2682,new Map());const _0x46e494=_0x15caf3[_0x28e797(0x263)](_0x1f2682);_0x46e494[_0x28e797(0x1ec)](_0x3d6496)||_0x46e494[_0x28e797(0x2cb)](_0x3d6496,new _0x4b6aff[(_0x28e797(0x259))]()),_0x46e494[_0x28e797(0x263)](_0x3d6496)['setValue'](_0x362f9d[_0x28e797(0x261)],_0x362f9d[_0x28e797(0x260)],_0x362f9d[_0x28e797(0x271)]);}[_0x32f0cc(0x1cf)](_0x5af670,_0x5ce8f7,_0x2143eb){const _0x29d462=_0x32f0cc,_0x325f24=this[_0x29d462(0x1ef)]['get'](_0x5af670);if(_0x325f24&&_0x325f24[_0x29d462(0x1ec)](_0x5ce8f7)){const _0x16b6a4=_0x325f24[_0x29d462(0x263)](_0x5ce8f7);_0x2143eb[_0x29d462(0x26a)](_0x2793fc=>{const _0x16b436=_0x29d462,_0x324e9=_0x16b6a4[_0x16b436(0x263)](_0x2793fc);_0x324e9!=null&&(_0x324e9[_0x16b436(0x1de)]((_0x5e201e,_0x436b31,_0x475ff3)=>{const _0x1ef9e8=_0x16b436;this[_0x1ef9e8(0x23f)](_0x475ff3),this['_removeAllTreeMap'](_0x475ff3);}),_0x16b6a4[_0x16b436(0x28a)](_0x2793fc),this[_0x16b436(0x239)][_0x16b436(0x28a)](_0x2793fc));}),_0x16b6a4[_0x29d462(0x1e7)]===0x0&&_0x325f24['delete'](_0x5ce8f7),_0x325f24[_0x29d462(0x1e7)]===0x0&&this[_0x29d462(0x1ef)][_0x29d462(0x28a)](_0x5af670);}}[_0x32f0cc(0x204)](_0x5ab578,_0x189bda){const _0xe3beab=_0x32f0cc,_0x2db3c7=this[_0xe3beab(0x1ef)][_0xe3beab(0x263)](_0x5ab578);if(_0x189bda&&_0x2db3c7&&_0x2db3c7['has'](_0x189bda)){const _0x42e1e2=_0x2db3c7[_0xe3beab(0x263)](_0x189bda);this[_0xe3beab(0x249)](_0x5ab578,_0x189bda);for(const _0xcb0d69 of _0x42e1e2[_0xe3beab(0x27a)]()){const _0x584b48=_0x42e1e2[_0xe3beab(0x263)](_0xcb0d69);_0x584b48!=null&&(_0x584b48['forValue']((_0x27ad99,_0x8fb28e,_0x57c748)=>{const _0x408dc5=_0xe3beab;this['_allTreeMap'][_0x408dc5(0x263)](_0x57c748)&&this['_removeAllTreeMap'](_0x57c748);}),this['_otherFormulaDataMainData'][_0xe3beab(0x28a)](_0xcb0d69));}_0x42e1e2[_0xe3beab(0x2c6)]();}else{if(_0x2db3c7){for(const _0x54ba25 of _0x2db3c7[_0xe3beab(0x27a)]()){const _0x5539c9=_0x2db3c7[_0xe3beab(0x263)](_0x54ba25);this[_0xe3beab(0x249)](_0x5ab578,_0x54ba25);for(const _0xc69a35 of _0x5539c9[_0xe3beab(0x27a)]()){const _0x4029d0=_0x5539c9[_0xe3beab(0x263)](_0xc69a35);_0x4029d0!=null&&(_0x4029d0[_0xe3beab(0x1de)]((_0x1b25ec,_0x1f6b6b,_0x5eff68)=>{const _0x52de90=_0xe3beab;this[_0x52de90(0x2c9)][_0x52de90(0x263)](_0x5eff68)&&this['_removeAllTreeMap'](_0x5eff68);}),this[_0xe3beab(0x239)]['delete'](_0xc69a35));}}this[_0xe3beab(0x1ef)][_0xe3beab(0x28a)](_0x5ab578);}}}['addFeatureFormulaDependency'](_0x43b1fb,_0x492159,_0x127c5e,_0x494240){const _0x558c9=_0x32f0cc;this[_0x558c9(0x2a7)]['has'](_0x43b1fb)||this[_0x558c9(0x2a7)][_0x558c9(0x2cb)](_0x43b1fb,new Map());const _0x55b749=this[_0x558c9(0x2a7)]['get'](_0x43b1fb);_0x55b749[_0x558c9(0x1ec)](_0x492159)||_0x55b749[_0x558c9(0x2cb)](_0x492159,new Map()),_0x55b749['get'](_0x492159)['set'](_0x127c5e,_0x494240['treeId']);}[_0x32f0cc(0x1c3)](_0x21bf2e,_0x4899e8,_0x19e221){const _0xde8b37=_0x32f0cc,_0xa78174=this[_0xde8b37(0x2a7)][_0xde8b37(0x263)](_0x21bf2e);if(_0xa78174&&_0xa78174[_0xde8b37(0x1ec)](_0x4899e8)){const _0x459a6f=_0xa78174[_0xde8b37(0x263)](_0x4899e8);_0x19e221['forEach'](_0x24092b=>{const _0x4358aa=_0xde8b37,_0x3a5af4=_0x459a6f[_0x4358aa(0x263)](_0x24092b);_0x3a5af4!=null&&(this['_removeDependencyRTreeCache'](_0x3a5af4),_0x459a6f[_0x4358aa(0x28a)](_0x24092b),this['_removeAllTreeMap'](_0x3a5af4));});}}[_0x32f0cc(0x29d)](_0x2defce,_0x1c06bd){const _0x818f66=_0x32f0cc,_0x228702=this[_0x818f66(0x2a7)][_0x818f66(0x263)](_0x2defce);if(_0x1c06bd&&_0x228702&&_0x228702[_0x818f66(0x1ec)](_0x1c06bd)){const _0x5630c8=_0x228702[_0x818f66(0x263)](_0x1c06bd);this[_0x818f66(0x249)](_0x2defce,_0x1c06bd),_0x5630c8[_0x818f66(0x26a)](_0x5a774f=>{const _0x49cb1a=_0x818f66;_0x5a774f!=null&&this[_0x49cb1a(0x2b9)](_0x5a774f);}),_0x5630c8[_0x818f66(0x2c6)]();}else _0x228702&&(_0x228702[_0x818f66(0x26a)]((_0x5b6f32,_0x54b9fb)=>{const _0x3f0eb3=_0x818f66;this[_0x3f0eb3(0x249)](_0x2defce,_0x54b9fb),_0x5b6f32[_0x3f0eb3(0x26a)](_0x3964dd=>{const _0x46ba13=_0x3f0eb3;_0x3964dd!=null&&this[_0x46ba13(0x2b9)](_0x3964dd);});}),this['_featureFormulaData'][_0x818f66(0x28a)](_0x2defce));}[_0x32f0cc(0x22a)](_0x249728,_0x3c7edb,_0x489bc0,_0x2c38b,_0x333d8d){const _0x4f2f96=_0x32f0cc;this[_0x4f2f96(0x1da)]['has'](_0x249728)||this[_0x4f2f96(0x1da)]['set'](_0x249728,new Map());const _0x3bf4ac=this['_formulaData'][_0x4f2f96(0x263)](_0x249728);_0x3bf4ac['has'](_0x3c7edb)||_0x3bf4ac[_0x4f2f96(0x2cb)](_0x3c7edb,new _0x4b6aff['ObjectMatrix']()),_0x3bf4ac[_0x4f2f96(0x263)](_0x3c7edb)[_0x4f2f96(0x21d)](_0x489bc0,_0x2c38b,_0x333d8d[_0x4f2f96(0x271)]);}[_0x32f0cc(0x275)](_0x25d2ce,_0x20ab71,_0x418af6,_0x5cab43){const _0x1140f9=_0x32f0cc,_0x302ced=this['_formulaData']['get'](_0x25d2ce);if(_0x302ced&&_0x302ced['has'](_0x20ab71)){const _0x504d6e=_0x302ced['get'](_0x20ab71),_0x46d407=_0x504d6e[_0x1140f9(0x1f1)](_0x418af6,_0x5cab43);if(_0x46d407==null)return;this[_0x1140f9(0x23f)](_0x46d407),_0x504d6e[_0x1140f9(0x26d)](_0x418af6,_0x5cab43),this[_0x1140f9(0x2b9)](_0x46d407);}}[_0x32f0cc(0x289)](_0x3d3806,_0x54b5f4){const _0x3d1a43=_0x32f0cc,_0x13a018=this[_0x3d1a43(0x1da)]['get'](_0x3d3806);if(_0x54b5f4&&_0x13a018&&_0x13a018['has'](_0x54b5f4)){const _0x849612=_0x13a018['get'](_0x54b5f4);this['_removeDependencyRTreeCacheById'](_0x3d3806,_0x54b5f4),_0x849612[_0x3d1a43(0x1de)]((_0x2433e4,_0x5703c9,_0x461012)=>{const _0x1cd562=_0x3d1a43;if(_0x461012==null)return!0x0;this[_0x1cd562(0x2b9)](_0x461012);}),_0x849612['reset']();}else _0x13a018&&(_0x13a018[_0x3d1a43(0x26a)]((_0x22eb4e,_0xdff60)=>{const _0x17689b=_0x3d1a43;this['_removeDependencyRTreeCacheById'](_0x3d3806,_0xdff60),_0x22eb4e[_0x17689b(0x1de)]((_0x20a5f9,_0x505ba3,_0xc01647)=>{const _0x560327=_0x17689b;if(_0xc01647==null)return!0x0;this[_0x560327(0x2b9)](_0xc01647);});}),this[_0x3d1a43(0x1da)]['delete'](_0x3d3806));}[_0x32f0cc(0x23f)](_0x17f9c9){const _0x53de6d=_0x32f0cc;if(_0x17f9c9==null)return;const _0x32b28e=this[_0x53de6d(0x2c9)][_0x53de6d(0x263)](_0x17f9c9);if(_0x32b28e){const _0x270c52=[];for(const [_0xa94708,_0x271cf4]of _0x32b28e)for(const [_0x4dead2,_0x549728]of _0x271cf4)_0x270c52[_0x53de6d(0x2c1)]({'unitId':_0xa94708,'sheetId':_0x4dead2,'range':_0x549728,'id':_0x17f9c9});this[_0x53de6d(0x235)]['bulkRemove'](_0x270c52);}}[_0x32f0cc(0x2ac)](_0x13471f,_0x3dd323){const _0x3dbcca=_0x32f0cc,_0x3f7d2f=this['_definedNameMap']['get'](_0x13471f);if(_0x3f7d2f){const _0x18b3e7=_0x3f7d2f[_0x3dbcca(0x263)](_0x3dd323);if(_0x18b3e7){for(const _0x424db7 of _0x18b3e7)this['_removeDependencyRTreeCache'](_0x424db7),this[_0x3dbcca(0x2b9)](_0x424db7);_0x18b3e7[_0x3dbcca(0x2c6)]();}}}[_0x32f0cc(0x26c)](){const _0x25f419=_0x32f0cc;this[_0x25f419(0x235)]['openKdTree']();}['closeKdTree'](){const _0x11241f=_0x32f0cc;this['_dependencyRTreeCache'][_0x11241f(0x242)]();}[_0x32f0cc(0x2b9)](_0x70c2d4){const _0x5710ec=_0x32f0cc;_0x70c2d4!=null&&this[_0x5710ec(0x2c9)]['delete'](_0x70c2d4);}['_addAllTreeMap'](_0x1c0d17){const _0x1454c4=_0x32f0cc;var _0x261527,_0xf8fb56;const _0x5a33fd=_0x1c0d17[_0x1454c4(0x29e)];let _0x2d88f3=this[_0x1454c4(0x2c9)]['get'](_0x1c0d17['treeId']);for(let _0x145a59=0x0;_0x145a59<_0x5a33fd[_0x1454c4(0x20b)];_0x145a59++){const _0x36734d=_0x5a33fd[_0x145a59];let {unitId:_0x54a78c,sheetId:_0x1af30a,range:_0x8b25d}=_0x36734d;_0x2d88f3||(_0x2d88f3=new Map(),this[_0x1454c4(0x2c9)]['set'](_0x1c0d17[_0x1454c4(0x271)],_0x2d88f3)),_0x2d88f3[_0x1454c4(0x1ec)](_0x54a78c)||_0x2d88f3[_0x1454c4(0x2cb)](_0x54a78c,new Map());const _0x344d86=(_0x261527=_0x2d88f3==null?void 0x0:_0x2d88f3['get'](_0x54a78c))==null?void 0x0:_0x261527['get'](_0x1af30a);_0x344d86&&(_0x8b25d={'startRow':Math[_0x1454c4(0x213)](_0x8b25d[_0x1454c4(0x212)],_0x344d86[_0x1454c4(0x212)]),'startColumn':Math[_0x1454c4(0x213)](_0x8b25d[_0x1454c4(0x269)],_0x344d86['startColumn']),'endRow':Math[_0x1454c4(0x1ce)](_0x8b25d[_0x1454c4(0x2be)],_0x344d86[_0x1454c4(0x2be)]),'endColumn':Math[_0x1454c4(0x1ce)](_0x8b25d[_0x1454c4(0x1c7)],_0x344d86[_0x1454c4(0x1c7)])}),(_0xf8fb56=_0x2d88f3[_0x1454c4(0x263)](_0x54a78c))==null||_0xf8fb56['set'](_0x1af30a,_0x8b25d);}}}var _0x499cbe=Object[_0x32f0cc(0x253)],_0x2668bb=(_0x10eecc,_0x5ece2a,_0x422509,_0x143318)=>{const _0x519cdf=_0x32f0cc;for(var _0x542f4a=_0x143318>0x1?void 0x0:_0x143318?_0x499cbe(_0x5ece2a,_0x422509):_0x5ece2a,_0x5a590c=_0x10eecc[_0x519cdf(0x20b)]-0x1,_0x5d0af6;_0x5a590c>=0x0;_0x5a590c--)(_0x5d0af6=_0x10eecc[_0x5a590c])&&(_0x542f4a=_0x5d0af6(_0x542f4a)||_0x542f4a);return _0x542f4a;};const _0x41720a=Number[_0x32f0cc(0x257)](0x698c3418);_0x2279d4[_0x32f0cc(0x26b)]=class extends _0x309d58[_0x32f0cc(0x1f7)]{[_0x32f0cc(0x28c)](){const _0x23efa1=_0x32f0cc;var _0x2781b0,_0x2d139f;this[_0x23efa1(0x203)]()?(this[_0x23efa1(0x1ed)][_0x23efa1(0x207)]([_0x309d58[_0x23efa1(0x245)],{'useClass':_0x8ed480}]),(_0x2781b0=this[_0x23efa1(0x1e8)])!=null&&_0x2781b0[_0x23efa1(0x23d)]||[[_0x309d58[_0x23efa1(0x288)],{'useClass':_0x3ccca3}],[_0x309d58[_0x23efa1(0x1f6)],{'useClass':_0x465b2e}],[_0x309d58['IFormulaDependencyGenerator'],{'useClass':_0x5c3e95}]][_0x23efa1(0x26a)](_0x467fff=>this[_0x23efa1(0x1ed)][_0x23efa1(0x207)](_0x467fff))):(this[_0x23efa1(0x1ed)][_0x23efa1(0x207)]([_0x309d58[_0x23efa1(0x245)],{'useClass':_0x309d58['LexerTreeBuilder']}]),(_0x2d139f=this['_config'])!=null&&_0x2d139f['notExecuteFormula']||[[_0x309d58[_0x23efa1(0x288)],{'useClass':_0x309d58[_0x23efa1(0x2a5)]}],[_0x309d58[_0x23efa1(0x1f6)],{'useClass':_0x309d58['DependencyManagerService']}],[_0x309d58[_0x23efa1(0x1d8)],{'useClass':_0x309d58[_0x23efa1(0x2b5)]}]][_0x23efa1(0x26a)](_0x33c82f=>this[_0x23efa1(0x1ed)][_0x23efa1(0x207)](_0x33c82f)));}[_0x32f0cc(0x203)](){const _0x4f4166=_0x32f0cc;var _0x3f6866;const _0x20c59f=(_0x3f6866=this['_configService'][_0x4f4166(0x243)](_0x194d65['LS_CONFIG_KEY']))!=null?_0x3f6866:{},{ls:_0x528f74,pbk:_0xcd7680}=_0x20c59f;if(!_0x528f74||!_0xcd7680)return!0x1;const _0x385d2f=_0x194d65[_0x4f4166(0x1df)](_0x567fca,_0x5cc737),_0x4be59e=new Function('return\x20'+_0x385d2f)()(_0x528f74,_0xcd7680),_0x43165e=_0x4be59e[_0x4f4166(0x225)];return _0x4be59e['valid']&&_0x194d65[_0x4f4166(0x24d)](_0x43165e,'sf',_0x41720a)?_0x194d65[_0x4f4166(0x1fd)](_0x43165e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x2279d4[_0x32f0cc(0x26b)]=_0x2668bb([_0x4b6aff[_0x32f0cc(0x2b4)](_0x194d65[_0x32f0cc(0x1d2)])],_0x2279d4[_0x32f0cc(0x26b)]),_0x2279d4[_0x32f0cc(0x24c)]=_0x8ed480,Object[_0x32f0cc(0x27a)](_0x309d58)[_0x32f0cc(0x26a)](_0x4f464d=>{const _0x383103=_0x32f0cc;_0x4f464d!==_0x383103(0x220)&&!Object[_0x383103(0x2a4)][_0x383103(0x1f8)][_0x383103(0x258)](_0x2279d4,_0x4f464d)&&Object[_0x383103(0x1e9)](_0x2279d4,_0x4f464d,{'enumerable':!0x0,'get':()=>_0x309d58[_0x4f464d]});}),Object[_0x32f0cc(0x1e9)](_0x2279d4,Symbol[_0x32f0cc(0x267)],{'value':'Module'});}));function _0x289c(_0x8dc929,_0x5968f0){_0x8dc929=_0x8dc929-0x1c2;const _0x49676b=_0x4967();let _0x289cd5=_0x49676b[_0x8dc929];return _0x289cd5;}function _0x4967(){const _0x59ba0e=['setRuntimeFeatureCellData','intervalCount','_executionCompleteListener$','requestImmediateMacroTask','dependencySheetName','DEFAULT_TOKEN_TYPE_PARAMETER','subUnitId','clearArrayObjectCache','_currentUnitId','setValue','getDirtyData','markedAsSuccessfullyExecuted','default','@univerjs/core','children','_handleNewFunctionChild','_getCurNodeTypeForExprTree','message','CURRENTLY_CALCULATING_ARRAY_FORMULA','getDirtyRanges','_checkAddBracketForMinus','_createFDtree','addFormulaDependency','setCompletedArrayFormulasCount','_createVirtualFDtree','inRangeData','MINUS','COLON','getRuntimeState','resetCalculationState','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_astTreeBuilder','_getTreeNode','_dependencyRTreeCache','UniverEngineFormula','isVirtual','_runtimeService','_otherFormulaDataMainData','unitId','_startFormulaDependencyTreeModel','getOtherFormulaData','notExecuteFormula','_xlfn.','_removeDependencyRTreeCache','getFeatureFormulaDependency','21FMwXdF','closeKdTree','getConfig','formulaId','LexerTreeBuilder','row','_getDependencyTreeChildrenIds','isArray','_removeDependencyRTreeCacheById','getFormulaExprTree','addFormulaDependencyByDefinedName','LexerTreeProBuilder','isFeatureAuthorizedWithinTime','_dependencyTreeCache','isForceCalculate','_apply','START_CALCULATION_ARRAY_FORMULA','_getTreeById','getOwnPropertyDescriptor','LexerNode','getNewFormulaWithPrefix','_updateRangeFlatten','parseInt','call','ObjectMatrix','next','isCache','FormulaDependencyTreeVirtual','IDLE','getToken','_xlpmPrefix','refOffsetY','refOffsetX','_isCalculateTreeModel','get','_formulaDependencyTreeModel','rowCount','slice','toStringTag','_generateTreeList','startColumn','forEach','UniverProFormulaEnginePlugin','openKdTree','realDeleteValue','31381RzSASm','3216790PXMfaR','OPERATOR_TOKEN_SET','treeId','columnCount','_traverse','isExcludeRange','removeFormulaDependency','value','isDirty','_clearPrefix','_getAllDependencyJson','keys','_generateNewFunctionString','getOtherFormulaDependency','377748xaldzm','_convertDirtyRangesToUnitRange','featureId','treeBuilder','getExcludedRange','refTree','addOtherFormulaDependency','execute','startIndex','_xlfnPrefix','setAdded','ICalculateFormulaService','clearFormulaDependency','delete','values','_initializeWithOverride','isReferenceString','START_CALCULATION','startsWith','NEW_EXCEL_FUNCTIONS','ErrorType','executeAsync','DependencyManagerBaseService','_getUpdateTreeListAndMakeDependency','2700912dqQDDd','_clearFunctionString','UniverProEngineFormula','prefixToken','string','_dependencyRTreeCacheForAddressFunction','bulkSearch','amd','clearFeatureFormulaDependency','rangeList','toUpperCase','setRuntimeFeatureRange','function','@univerjs-pro/license','_getTableNameFromStructuredRef','prototype','CalculateFormulaService','setDependencyTreeModelData','_featureFormulaData','generateAstNode','\x22\x20is\x20duplicated.','getAllRuntimeData','_generateExprTree','removeFormulaDependencyByDefinedName','column','_hasNewExcelFunction','START_DEPENDENCY','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_lambdaFunctionParameterSet','join','2340558gGGnbp','DependentOn','FormulaDependencyGenerator','RTree','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','getFormulaData','_removeAllTreeMap','Let\x20variable\x20name\x20\x22','getChildren','checkAsyncNode','SUFFIX_TOKEN_SET','endRow','OTHER_FORMULA','_getDependencyTreeParenIds','push','trim','featureDirtyRanges','@univerjs/engine-formula','18aDPIgf','clear','_restDependencyTreeId','markedAsNoFunctionsExecuted','_allTreeMap','error','set','_dependencyManagerService','removeFeatureFormulaDependency','FormulaDependencyTree','node','_checkColonNodeForExprTree','endColumn','range','22SyJMYe','matchToken','searchDependency','dispose','getClearDependencyTreeCache','max','removeOtherFormulaDependency','PLUS','726390vrUEAO','UniverLicensePlugin','reset','object','sheetId','formula','getUnitData','IFormulaDependencyGenerator','_handleChildrenForExprTree','_formulaData','_lexer','setTotalArrayFormulasToCalculate','toRTreeItem','forValue','unshiftString','FormulaDependencyTreeType','isSkip','pop','_checkIsCycleDependency','splitTableStructuredRef','_handleLambdaForExprTree','setRuntimeOtherData','size','_config','defineProperty','_registerOtherFormulas','DEFAULT_TOKEN_TYPE_ROOT','has','_injector','getStartIndex','_otherFormulaData','FormulaExecuteStageType','getValue','_resetPrefix','getFormulaDependency','_registerFormulas','_xlpm.','IDependencyManagerService','UniverFormulaEnginePlugin','hasOwnProperty','_getAllTreeList','setFormulaExecuteStage','_formulaDependencyGenerator','_calculateRunList','getSheetFeatureLimit','setTotalFormulasToCalculate','_handleTextNodeForExprTree','_currentConfigService','type','_executionInProgressListener$','_initLicenseValid','clearOtherFormulaDependency','UniverProLicense','setSkip','add','enableCycleDependency','generateRandomDependencyTreeId','FEATURE_FORMULA','length','DEFAULT_TOKEN_LET_FUNCTION_NAME','/*F5rpVWi-NVrdcp5FmC5L5C-i5Xmpdi5F*/L2W0iVTWFN50C6miVTW(pV05Wr5,Fm2cpV0Y56)F{FFFFiC6F{FFFFFFFF0TWriFpV05Wr5jWLTkdCiJCCd6F=FpV05Wr5.rmpVi(\x27-\x27);FFFFFFFF0TWriFTCV1VWS5rrd15F=FvqeU.mdCr5(diTc(pV05Wr5jWLTkdCiJCCd6[K]));FFFFFFFFVLF(!TCV1VWS5rrd15.2N)F{FFFFFFFFFFFFTCV1VWS5rrd15.2NF=FU2Xc5C(pV05Wr5jWLTkdCiJCCd6[A]);FFFFFFFF}FFFFFFFF0TWriFVr9TCE5CF=Fi6m5TLF9TCE5CbpTcdpq0Tm5F!==F\x272WN5LVW5N\x27F&&Fr5pLFVWridW05TLF9TCE5CbpTcdpq0Tm5;FFFFFFFF0TWriFVr8CTOr5CF=Fi6m5TLFOVWNTOF!==F\x272WN5LVW5N\x27F&&Fi6m5TLFOVWNTO.pT0diVTWF!==F\x272WN5LVW5N\x27;FFFFFFFF0TWriF0TWi5HiF=FVr9TCE5CF?Fr5pLF:F(Vr8CTOr5CF?FOVWNTOF:F1pTcdp3IVr);FFFFFFFF0TWriFX5rrd159TCNF=F0TWi5Hi.__8dr57A__.mdCr5(pV05Wr5jWLTkdCiJCCd6[K]);FFFFFFFF0TWriFX5rrd15F=F0TWi5Hi.__s5H__.riCVW1VL6(X5rrd159TCN);FFFFFFFF0TWriFrV1Wdi2C59TCNF=F0TWi5Hi.__8dr57A__.mdCr5(pV05Wr5jWLTkdCiJCCd6[l]);FFFFFFFF0TWriFrV1Wdi2C5F=F0TWi5Hi.__s5H__.riCVW1VL6(rV1Wdi2C59TCN);FFFFFFFF0TWriFrV1WMdpVNF=F0TWi5Hi.__R5CVL6__(rV1Wdi2C5,FX5rrd15,Fm2cpV0Y56);FFFFFFFF0TWriFNTXdVWF=FTCV1VWS5rrd15.NX;FFFFFFFFL2W0iVTWFVruTXdVWSdi0IVW1(mdii5CW,FITri)F{FFFFFFFFFFFFVLF(mdii5CWF===FITri)FC5i2CWFiC25;FFFFFFFFFFFFVLF(mdii5CW.ridCir9ViI(\x27*.\x27))F{FFFFFFFFFFFFFFFF0TWriFr2LLVHF=Fmdii5CW.rpV05(K);FFFFFFFFFFFFFFFFVLF(r2LLVHF&&Fr2LLVHF===FITri)F{FFFFFFFFFFFFFFFFFFFFC5i2CWFiC25;FFFFFFFFFFFFFFFF}FFFFFFFFFFFFFFFFVLF(r2LLVHF&&F!ITri.ridCir9ViI(\x27.\x27)F&&FITri.5WNr9ViI(\x27.\x27F+Fr2LLVH))F{FFFFFFFFFFFFFFFFFFFFC5i2CWFiC25;FFFFFFFFFFFFFFFF}FFFFFFFFFFFF}FFFFFFFFFFFFC5i2CWFLdpr5;FFFFFFFF}FFFFFFFFp5iFNTXdVWMdpVNF=FLdpr5;FFFFFFFFVLF(Vr8CTOr5C)F{FFFFFFFFFFFFNTXdVWMdpVNF=F(NTXdVWF&&FNTXdVW.p5W1iI)F?FNTXdVW.rTX5((NXji5X)F=>FVruTXdVWSdi0IVW1(NXji5X,FpT0diVTW.ITriWdX5))F:FiC25;FFFFFFFFFFFFVLF(pT0diVTW.ITriWdX5F===F\x27pT0dpITri\x27)F{FFFFFFFFFFFFFFFFNTXdVWMdpVNF=FiC25;FFFFFFFFFFFF}FFFFFFFF}F5pr5F{FFFFFFFFFFFFNTXdVWMdpVNF=FiC25;FFFFFFFF}FFFFFFFF0TWriFRdpVNF=FrV1WMdpVNF&&FNTXdVWMdpVN;FFFFFFFFC5i2CWF{FFFFFFFFFFFFRdpVN,FFFFFFFFFFFFX5rrd15:FTCV1VWS5rrd15,FFFFFFFF};FFFF}F0di0IF(5CCTC)F{FFFFFFFFC5i2CWF{FFFFFFFFFFFFRdpVN:FLdpr5,FFFFFFFFFFFFX5rrd15:F{},FFFFFFFF};FFFF}}','_configService','159284PuaEoQ','markedAsStopFunctionsExecuted','_isCyclicUtilMap','startRow','min'];_0x4967=function(){return _0x59ba0e;};return _0x4967();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs
|
|
62
|
-
"@univerjs/
|
|
60
|
+
"@univerjs-pro/license": "0.15.5",
|
|
61
|
+
"@univerjs/core": "0.15.5",
|
|
62
|
+
"@univerjs/engine-formula": "0.15.5"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|
|
66
66
|
"typescript": "^5.9.3",
|
|
67
67
|
"vite": "^7.3.1",
|
|
68
68
|
"vitest": "^4.0.18",
|
|
69
|
-
"@univerjs-infra/shared": "0.15.
|
|
69
|
+
"@univerjs-infra/shared": "0.15.5"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|